From 5cb57545448b823fcd8f49c5d52fbbf66f2b2ecd Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Mon, 17 Mar 2025 15:44:16 -0500 Subject: [PATCH 01/19] Default to notebook connected mode --- plotly/io/_base_renderers.py | 3 +-- plotly/io/_renderers.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plotly/io/_base_renderers.py b/plotly/io/_base_renderers.py index 535b2e789e2..9363fe1efd6 100644 --- a/plotly/io/_base_renderers.py +++ b/plotly/io/_base_renderers.py @@ -76,8 +76,7 @@ def to_mimebundle(self, fig_dict): class PlotlyRenderer(MimetypeRenderer): """ Renderer to display figures using the plotly mime type. This renderer is - compatible with JupyterLab (using the @jupyterlab/plotly-extension), - VSCode, and nteract. + compatible with VSCode and nteract. mime type: 'application/vnd.plotly.v1+json' """ diff --git a/plotly/io/_renderers.py b/plotly/io/_renderers.py index 55e1ab94cd9..acfbb6195d1 100644 --- a/plotly/io/_renderers.py +++ b/plotly/io/_renderers.py @@ -549,10 +549,10 @@ def show(fig, renderer=None, validate=True, **kwargs): default_renderer = "browser" # Fallback to renderer combination that will work automatically - # in the classic notebook (offline), jupyterlab, nteract, vscode, and + # in the classic notebook, jupyterlab, nteract, vscode, and # nbconvert HTML export. if not default_renderer: - default_renderer = "plotly_mimetype+notebook" + default_renderer = "plotly_mimetype+notebook_connected" else: # If ipython isn't available, try to display figures in the default # browser From e5e299438f53750521649549863beeb97a1f85c4 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Tue, 18 Mar 2025 17:18:12 -0500 Subject: [PATCH 02/19] Add back JL extension for mimerenderer ability --- js/index.ts | 82 + js/package-lock.json | 4680 ------------- js/package.json | 16 - package-lock.json | 5996 +++++++++++++++++ package.json | 26 + plotly/__init__.py | 21 + plotly/io/_renderers.py | 2 +- plotly/labextension/build_log.json | 717 ++ plotly/labextension/package.json | 30 + ...js_mimerenderer_js.55332f9c879f105c1219.js | 4161 ++++++++++++ ...imerenderer_js.55332f9c879f105c1219.js.map | 1 + .../remoteEntry.7b27ec6d46d83104dde7.js | 368 + .../remoteEntry.7b27ec6d46d83104dde7.js.map | 1 + plotly/labextension/static/style.js | 4 + pyproject.toml | 15 +- 15 files changed, 11422 insertions(+), 4698 deletions(-) create mode 100644 js/index.ts delete mode 100644 js/package-lock.json delete mode 100644 js/package.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 plotly/labextension/build_log.json create mode 100644 plotly/labextension/package.json create mode 100644 plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js create mode 100644 plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map create mode 100644 plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js create mode 100644 plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map create mode 100644 plotly/labextension/static/style.js diff --git a/js/index.ts b/js/index.ts new file mode 100644 index 00000000000..ab63035e1e9 --- /dev/null +++ b/js/index.ts @@ -0,0 +1,82 @@ +import { IRenderMime } from '@jupyterlab/rendermime-interfaces'; +import { Widget } from '@lumino/widgets'; +import Plotly from "plotly.js"; + +/** +* The default mime type for the extension. +*/ +const MIME_TYPE = 'plotly/vnd'; + + +/** +* The CSS class to add to the Plotly Widget. +*/ +const CSS_CLASS = "jp-RenderedPlotly"; + +/** +* The CSS class for a Plotly icon. +*/ +const CSS_ICON_CLASS = "jp-MaterialIcon jp-PlotlyIcon"; + +/** +* A widget for rendering mp4. +*/ +export class PlotlyMimeRenderer extends Widget implements IRenderMime.IRenderer { + private _data: any; + private _config: any; + private _plotly_layout: any; + /** + * Construct a new output widget. + */ + constructor(options: any) { + super(); + this.addClass(CSS_CLASS); + this._data = options.data; + this._config = options.config; + this._plotly_layout = options.layout; + } + + /** + * Render plotly into this widget's node. + */ + renderModel(model: IRenderMime.IMimeModel): Promise { + return new Promise((resolve, reject) => { + Plotly.react(this.node, this._data, this._plotly_layout, this._config) + }); + } +} + +/** +* A mime renderer factory for mp4 data. +*/ +export const rendererFactory: IRenderMime.IRendererFactory = { + safe: true, + mimeTypes: [MIME_TYPE], + createRenderer: options => new PlotlyMimeRenderer(options) +}; + +/** +* Extension definition. +*/ +const extension: IRenderMime.IExtension = { + id: "@jupyterlab/plotly-extension:factory", + rendererFactory, + rank: 0, + dataType: "json", + fileTypes: [ + { + name: "plotly", + mimeTypes: [MIME_TYPE], + extensions: [".plotly", ".plotly.json"], + iconClass: CSS_ICON_CLASS, + }, + ], + documentWidgetFactoryOptions: { + name: "Plotly", + primaryFileType: "plotly", + fileTypes: ["plotly", "json"], + defaultFor: ["plotly"], + }, +} + +export default extension; \ No newline at end of file diff --git a/js/package-lock.json b/js/package-lock.json deleted file mode 100644 index 11c27e62d48..00000000000 --- a/js/package-lock.json +++ /dev/null @@ -1,4680 +0,0 @@ -{ - "name": "js", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "lodash-es": "^4.17.21", - "plotly.js": "3.0.1" - }, - "devDependencies": { - "@types/plotly.js": "^2.33.4", - "esbuild": "^0.23.1", - "typescript": "^5.6.2" - } - }, - "node_modules/@choojs/findup": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", - "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", - "dependencies": { - "commander": "^2.15.1" - }, - "bin": { - "findup": "bin/findup.js" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", - "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", - "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", - "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", - "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", - "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", - "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", - "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", - "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", - "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", - "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", - "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", - "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", - "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", - "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", - "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", - "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", - "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", - "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", - "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", - "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", - "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", - "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", - "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", - "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "peer": true, - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "peer": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "peer": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "peer": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "peer": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "peer": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@mapbox/geojson-rewind": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz", - "integrity": "sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==", - "dependencies": { - "get-stream": "^6.0.1", - "minimist": "^1.2.6" - }, - "bin": { - "geojson-rewind": "geojson-rewind" - } - }, - "node_modules/@mapbox/geojson-types": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", - "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" - }, - "node_modules/@mapbox/jsonlint-lines-primitives": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", - "integrity": "sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/@mapbox/mapbox-gl-supported": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz", - "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==", - "peerDependencies": { - "mapbox-gl": ">=0.32.1 <2.0.0" - } - }, - "node_modules/@mapbox/point-geometry": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", - "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==" - }, - "node_modules/@mapbox/tiny-sdf": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz", - "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==" - }, - "node_modules/@mapbox/unitbezier": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", - "integrity": "sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==" - }, - "node_modules/@mapbox/vector-tile": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", - "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", - "dependencies": { - "@mapbox/point-geometry": "~0.1.0" - } - }, - "node_modules/@mapbox/whoots-js": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", - "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@maplibre/maplibre-gl-style-spec": { - "version": "20.4.0", - "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", - "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", - "dependencies": { - "@mapbox/jsonlint-lines-primitives": "~2.0.2", - "@mapbox/unitbezier": "^0.0.1", - "json-stringify-pretty-compact": "^4.0.0", - "minimist": "^1.2.8", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "tinyqueue": "^3.0.0" - }, - "bin": { - "gl-style-format": "dist/gl-style-format.mjs", - "gl-style-migrate": "dist/gl-style-migrate.mjs", - "gl-style-validate": "dist/gl-style-validate.mjs" - } - }, - "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/@mapbox/unitbezier": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", - "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" - }, - "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/tinyqueue": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", - "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" - }, - "node_modules/@parcel/watcher": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.0.tgz", - "integrity": "sha512-i0GV1yJnm2n3Yq1qw6QrUrd/LI9bE8WEBOTtOkpCXHHdyN3TAGgqAK/DAT05z4fq2x04cARXt2pDmjWjL92iTQ==", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "node-addon-api": "^7.0.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "@parcel/watcher-android-arm64": "2.5.0", - "@parcel/watcher-darwin-arm64": "2.5.0", - "@parcel/watcher-darwin-x64": "2.5.0", - "@parcel/watcher-freebsd-x64": "2.5.0", - "@parcel/watcher-linux-arm-glibc": "2.5.0", - "@parcel/watcher-linux-arm-musl": "2.5.0", - "@parcel/watcher-linux-arm64-glibc": "2.5.0", - "@parcel/watcher-linux-arm64-musl": "2.5.0", - "@parcel/watcher-linux-x64-glibc": "2.5.0", - "@parcel/watcher-linux-x64-musl": "2.5.0", - "@parcel/watcher-win32-arm64": "2.5.0", - "@parcel/watcher-win32-ia32": "2.5.0", - "@parcel/watcher-win32-x64": "2.5.0" - } - }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.0.tgz", - "integrity": "sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.0.tgz", - "integrity": "sha512-hyZ3TANnzGfLpRA2s/4U1kbw2ZI4qGxaRJbBH2DCSREFfubMswheh8TeiC1sGZ3z2jUf3s37P0BBlrD3sjVTUw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.0.tgz", - "integrity": "sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.0.tgz", - "integrity": "sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.0.tgz", - "integrity": "sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.0.tgz", - "integrity": "sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.0.tgz", - "integrity": "sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.0.tgz", - "integrity": "sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.0.tgz", - "integrity": "sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.0.tgz", - "integrity": "sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.0.tgz", - "integrity": "sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.0.tgz", - "integrity": "sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.0.tgz", - "integrity": "sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "optional": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@plotly/d3": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/@plotly/d3/-/d3-3.8.2.tgz", - "integrity": "sha512-wvsNmh1GYjyJfyEBPKJLTMzgf2c2bEbSIL50lmqVUi+o1NHaLPi1Lb4v7VxXXJn043BhNyrxUrWI85Q+zmjOVA==" - }, - "node_modules/@plotly/d3-sankey": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz", - "integrity": "sha512-2jdVos1N3mMp3QW0k2q1ph7Gd6j5PY1YihBrwpkFnKqO+cqtZq3AdEYUeSGXMeLsBDQYiqTVcihYfk8vr5tqhw==", - "dependencies": { - "d3-array": "1", - "d3-collection": "1", - "d3-shape": "^1.2.0" - } - }, - "node_modules/@plotly/d3-sankey-circular": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz", - "integrity": "sha512-FgBV1HEvCr3DV7RHhDsPXyryknucxtfnLwPtCKKxdolKyTFYoLX/ibEfX39iFYIL7DYbVeRtP43dbFcrHNE+KQ==", - "dependencies": { - "d3-array": "^1.2.1", - "d3-collection": "^1.0.4", - "d3-shape": "^1.2.0", - "elementary-circuits-directed-graph": "^1.0.4" - } - }, - "node_modules/@plotly/mapbox-gl": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/@plotly/mapbox-gl/-/mapbox-gl-1.13.4.tgz", - "integrity": "sha512-sR3/Pe5LqT/fhYgp4rT4aSFf1rTsxMbGiH6Hojc7PH36ny5Bn17iVFUjpzycafETURuFbLZUfjODO8LvSI+5zQ==", - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/geojson-types": "^1.0.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/mapbox-gl-supported": "^1.5.0", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^1.1.1", - "@mapbox/unitbezier": "^0.0.0", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "csscolorparser": "~1.0.3", - "earcut": "^2.2.2", - "geojson-vt": "^3.2.1", - "gl-matrix": "^3.2.1", - "grid-index": "^1.1.0", - "murmurhash-js": "^1.0.0", - "pbf": "^3.2.1", - "potpack": "^1.0.1", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "supercluster": "^7.1.0", - "tinyqueue": "^2.0.3", - "vt-pbf": "^3.1.1" - }, - "engines": { - "node": ">=6.4.0" - } - }, - "node_modules/@plotly/point-cluster": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", - "integrity": "sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw==", - "dependencies": { - "array-bounds": "^1.0.1", - "binary-search-bounds": "^2.0.4", - "clamp": "^1.0.1", - "defined": "^1.0.0", - "dtype": "^2.0.0", - "flatten-vertex-data": "^1.0.2", - "is-obj": "^1.0.1", - "math-log2": "^1.0.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0" - } - }, - "node_modules/@turf/area": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/area/-/area-7.1.0.tgz", - "integrity": "sha512-w91FEe02/mQfMPRX2pXua48scFuKJ2dSVMF2XmJ6+BJfFiCPxp95I3+Org8+ZsYv93CDNKbf0oLNEPnuQdgs2g==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/bbox": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.1.0.tgz", - "integrity": "sha512-PdWPz9tW86PD78vSZj2fiRaB8JhUHy6piSa/QXb83lucxPK+HTAdzlDQMTKj5okRCU8Ox/25IR2ep9T8NdopRA==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/centroid": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-7.1.0.tgz", - "integrity": "sha512-1Y1b2l+ZB1CZ+ITjUCsGqC4/tSjwm/R4OUfDztVqyyCq/VvezkLmTNqvXTGXgfP0GXkpv68iCfxF5M7QdM5pJQ==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/helpers": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.1.0.tgz", - "integrity": "sha512-dTeILEUVeNbaEeoZUOhxH5auv7WWlOShbx7QSd4s0T4Z0/iz90z9yaVCtZOLbU89umKotwKaJQltBNO9CzVgaQ==", - "dependencies": { - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/meta": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.1.0.tgz", - "integrity": "sha512-ZgGpWWiKz797Fe8lfRj7HKCkGR+nSJ/5aKXMyofCvLSc2PuYJs/qyyifDPWjASQQCzseJ7AlF2Pc/XQ/3XkkuA==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@types/geojson": "^7946.0.10" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@types/estree": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", - "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", - "peer": true - }, - "node_modules/@types/geojson": { - "version": "7946.0.14", - "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz", - "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==" - }, - "node_modules/@types/geojson-vt": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@types/geojson-vt/-/geojson-vt-3.2.5.tgz", - "integrity": "sha512-qDO7wqtprzlpe8FfQ//ClPV9xiuoh2nkIgiouIptON9w5jvD/fA4szvP9GBlDVdJ5dldAl0kX/sy3URbWwLx0g==", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "peer": true - }, - "node_modules/@types/less": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.6.tgz", - "integrity": "sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw==" - }, - "node_modules/@types/mapbox__point-geometry": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz", - "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==" - }, - "node_modules/@types/mapbox__vector-tile": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz", - "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==", - "dependencies": { - "@types/geojson": "*", - "@types/mapbox__point-geometry": "*", - "@types/pbf": "*" - } - }, - "node_modules/@types/node": { - "version": "22.8.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", - "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/pbf": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz", - "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==" - }, - "node_modules/@types/plotly.js": { - "version": "2.33.4", - "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-2.33.4.tgz", - "integrity": "sha512-BzAbsJTiUQyALkkYx1D31YZ9YvcU2ag3LlE/iePMo19eDPvM30cbM2EFNIcu31n39EhXj/9G7800XLA8/rfApA==", - "dev": true - }, - "node_modules/@types/sass": { - "version": "1.45.0", - "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.45.0.tgz", - "integrity": "sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==", - "deprecated": "This is a stub types definition. sass provides its own type definitions, so you do not need this installed.", - "dependencies": { - "sass": "*" - } - }, - "node_modules/@types/stylus": { - "version": "0.48.43", - "resolved": "https://registry.npmjs.org/@types/stylus/-/stylus-0.48.43.tgz", - "integrity": "sha512-72dv/zdhuyXWVHUXG2VTPEQdOG+oen95/DNFx2aMFFaY6LoITI6PwEqf5x31JF49kp2w9hvUzkNfTGBIeg61LQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/supercluster": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz", - "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", - "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", - "peer": true, - "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.6", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", - "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", - "peer": true - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", - "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", - "peer": true - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", - "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==", - "peer": true - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", - "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", - "peer": true, - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.6", - "@webassemblyjs/helper-api-error": "1.11.6", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", - "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", - "peer": true - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", - "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/wasm-gen": "1.12.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", - "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", - "peer": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", - "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", - "peer": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", - "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", - "peer": true - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", - "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/helper-wasm-section": "1.12.1", - "@webassemblyjs/wasm-gen": "1.12.1", - "@webassemblyjs/wasm-opt": "1.12.1", - "@webassemblyjs/wasm-parser": "1.12.1", - "@webassemblyjs/wast-printer": "1.12.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", - "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/ieee754": "1.11.6", - "@webassemblyjs/leb128": "1.11.6", - "@webassemblyjs/utf8": "1.11.6" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", - "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/wasm-gen": "1.12.1", - "@webassemblyjs/wasm-parser": "1.12.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", - "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-api-error": "1.11.6", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/ieee754": "1.11.6", - "@webassemblyjs/leb128": "1.11.6", - "@webassemblyjs/utf8": "1.11.6" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", - "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "peer": true - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "peer": true - }, - "node_modules/abs-svg-path": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz", - "integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==" - }, - "node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peer": true, - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/almost-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/almost-equal/-/almost-equal-1.1.0.tgz", - "integrity": "sha512-0V/PkoculFl5+0Lp47JoxUcO0xSxhIBvm+BxHdD/OgXNmdRpRHCFnKVuUoWyS9EzQP+otSGv0m9Lb4yVkQBn2A==" - }, - "node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/array-bounds": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-bounds/-/array-bounds-1.0.1.tgz", - "integrity": "sha512-8wdW3ZGk6UjMPJx/glyEt0sLzzwAE1bhToPsO1W2pbpR2gULyxe3BjSiuJFheP50T/GgODVPz2fuMUmIywt8cQ==" - }, - "node_modules/array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-normalize": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", - "integrity": "sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg==", - "dependencies": { - "array-bounds": "^1.0.0" - } - }, - "node_modules/array-range": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-range/-/array-range-1.0.1.tgz", - "integrity": "sha512-shdaI1zT3CVNL2hnx9c0JMc0ZogGaxDs5e85akgHWKYa0yVbIyp06Ind3dVkTj/uuFrzaHBOyqFzo+VV6aXgtA==" - }, - "node_modules/array-rearrange": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/array-rearrange/-/array-rearrange-2.2.2.tgz", - "integrity": "sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w==" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-arraybuffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", - "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/binary-search-bounds": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz", - "integrity": "sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==" - }, - "node_modules/bit-twiddle": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bit-twiddle/-/bit-twiddle-1.0.2.tgz", - "integrity": "sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA==" - }, - "node_modules/bitmap-sdf": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/bitmap-sdf/-/bitmap-sdf-1.0.4.tgz", - "integrity": "sha512-1G3U4n5JE6RAiALMxu0p1XmeZkTeCwGKykzsLTCqVzfSDaN6S7fKnkIkfejogz+iwqBWc0UYAIKnKHNN7pSfDg==" - }, - "node_modules/bl": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", - "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", - "dependencies": { - "readable-stream": "^2.3.5", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "optional": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "peer": true, - "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.1" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001675", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001675.tgz", - "integrity": "sha512-/wV1bQwPrkLiQMjaJF5yUMVM/VdRPOCU8QZ+PmG6uW6DvYSrNY1bpwHI/3mOcUosLaJCzYDi5o91IQB51ft6cg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "peer": true - }, - "node_modules/canvas-fit": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/canvas-fit/-/canvas-fit-1.5.0.tgz", - "integrity": "sha512-onIcjRpz69/Hx5bB5HGbYKUF2uC6QT6Gp+pfpGm3A7mPfcluSLV5v4Zu+oflDUwLdUw0rLIBhUbi0v8hM4FJQQ==", - "dependencies": { - "element-size": "^1.1.1" - } - }, - "node_modules/chokidar": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", - "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/chrome-trace-event": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", - "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", - "peer": true, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/clamp": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz", - "integrity": "sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==" - }, - "node_modules/color-alpha": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/color-alpha/-/color-alpha-1.0.4.tgz", - "integrity": "sha512-lr8/t5NPozTSqli+duAN+x+no/2WaKTeWvxhHGN+aXT6AJ8vPlzLa7UriyjWak0pSC2jHol9JgjBYnnHsGha9A==", - "dependencies": { - "color-parse": "^1.3.8" - } - }, - "node_modules/color-alpha/node_modules/color-parse": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", - "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-id": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/color-id/-/color-id-1.1.0.tgz", - "integrity": "sha512-2iRtAn6dC/6/G7bBIo0uupVrIne1NsQJvJxZOBCzQOfk7jRq97feaDZ3RdzuHakRXXnHGNwglto3pqtRx1sX0g==", - "dependencies": { - "clamp": "^1.0.1" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/color-normalize": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/color-normalize/-/color-normalize-1.5.0.tgz", - "integrity": "sha512-rUT/HDXMr6RFffrR53oX3HGWkDOP9goSAQGBkUaAYKjOE2JxozccdGyufageWDlInRAjm/jYPrf/Y38oa+7obw==", - "dependencies": { - "clamp": "^1.0.1", - "color-rgba": "^2.1.1", - "dtype": "^2.0.0" - } - }, - "node_modules/color-parse": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-2.0.0.tgz", - "integrity": "sha512-g2Z+QnWsdHLppAbrpcFWo629kLOnOPtpxYV69GCqm92gqSgyXbzlfyN3MXs0412fPBkFmiuS+rXposgBgBa6Kg==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-rgba": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-2.1.1.tgz", - "integrity": "sha512-VaX97wsqrMwLSOR6H7rU1Doa2zyVdmShabKrPEIFywLlHoibgD3QW9Dw6fSqM4+H/LfjprDNAUUW31qEQcGzNw==", - "dependencies": { - "clamp": "^1.0.1", - "color-parse": "^1.3.8", - "color-space": "^1.14.6" - } - }, - "node_modules/color-rgba/node_modules/color-parse": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", - "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-space": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/color-space/-/color-space-1.16.0.tgz", - "integrity": "sha512-A6WMiFzunQ8KEPFmj02OnnoUnqhmSaHaZ/0LVFcPTdlvm8+3aMJ5x1HRHy3bDHPkovkf4sS0f4wsVvwk71fKkg==", - "dependencies": { - "hsluv": "^0.0.3", - "mumath": "^3.3.4" - } - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "engines": [ - "node >= 0.8" - ], - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "node_modules/country-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/country-regex/-/country-regex-1.1.0.tgz", - "integrity": "sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA==" - }, - "node_modules/cross-spawn": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", - "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cross-spawn/node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/css-font": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-font/-/css-font-1.2.0.tgz", - "integrity": "sha512-V4U4Wps4dPDACJ4WpgofJ2RT5Yqwe1lEH6wlOOaIxMi0gTjdIijsc5FmxQlZ7ZZyKQkkutqqvULOp07l9c7ssA==", - "dependencies": { - "css-font-size-keywords": "^1.0.0", - "css-font-stretch-keywords": "^1.0.1", - "css-font-style-keywords": "^1.0.1", - "css-font-weight-keywords": "^1.0.0", - "css-global-keywords": "^1.0.1", - "css-system-font-keywords": "^1.0.0", - "pick-by-alias": "^1.2.0", - "string-split-by": "^1.0.0", - "unquote": "^1.1.0" - } - }, - "node_modules/css-font-size-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz", - "integrity": "sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q==" - }, - "node_modules/css-font-stretch-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz", - "integrity": "sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg==" - }, - "node_modules/css-font-style-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz", - "integrity": "sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg==" - }, - "node_modules/css-font-weight-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz", - "integrity": "sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA==" - }, - "node_modules/css-global-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-global-keywords/-/css-global-keywords-1.0.1.tgz", - "integrity": "sha512-X1xgQhkZ9n94WDwntqst5D/FKkmiU0GlJSFZSV3kLvyJ1WC5VeyoXDOuleUD+SIuH9C7W05is++0Woh0CGfKjQ==" - }, - "node_modules/css-loader": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", - "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", - "dependencies": { - "icss-utils": "^5.1.0", - "postcss": "^8.4.33", - "postcss-modules-extract-imports": "^3.1.0", - "postcss-modules-local-by-default": "^4.0.5", - "postcss-modules-scope": "^3.2.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">= 18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "@rspack/core": "0.x || 1.x", - "webpack": "^5.27.0" - }, - "peerDependenciesMeta": { - "@rspack/core": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/css-system-font-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz", - "integrity": "sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA==" - }, - "node_modules/csscolorparser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", - "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/d": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", - "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", - "dependencies": { - "es5-ext": "^0.10.64", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/d3-array": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" - }, - "node_modules/d3-collection": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", - "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" - }, - "node_modules/d3-color": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", - "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dispatch": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", - "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==" - }, - "node_modules/d3-force": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", - "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", - "dependencies": { - "d3-collection": "1", - "d3-dispatch": "1", - "d3-quadtree": "1", - "d3-timer": "1" - } - }, - "node_modules/d3-format": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", - "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" - }, - "node_modules/d3-geo": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", - "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", - "dependencies": { - "d3-array": "1" - } - }, - "node_modules/d3-geo-projection": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/d3-geo-projection/-/d3-geo-projection-2.9.0.tgz", - "integrity": "sha512-ZULvK/zBn87of5rWAfFMc9mJOipeSo57O+BBitsKIXmU4rTVAnX1kSsJkE0R+TxY8pGNoM1nbyRRE7GYHhdOEQ==", - "dependencies": { - "commander": "2", - "d3-array": "1", - "d3-geo": "^1.12.0", - "resolve": "^1.1.10" - }, - "bin": { - "geo2svg": "bin/geo2svg", - "geograticule": "bin/geograticule", - "geoproject": "bin/geoproject", - "geoquantize": "bin/geoquantize", - "geostitch": "bin/geostitch" - } - }, - "node_modules/d3-hierarchy": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", - "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" - }, - "node_modules/d3-interpolate": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", - "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", - "dependencies": { - "d3-color": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-path": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", - "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" - }, - "node_modules/d3-quadtree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", - "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==" - }, - "node_modules/d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "dependencies": { - "d3-path": "1" - } - }, - "node_modules/d3-time": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", - "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" - }, - "node_modules/d3-time-format": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", - "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", - "dependencies": { - "d3-time": "1" - } - }, - "node_modules/d3-timer": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", - "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" - }, - "node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/defined": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", - "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/detect-kerning": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-kerning/-/detect-kerning-2.1.2.tgz", - "integrity": "sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw==" - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/draw-svg-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/draw-svg-path/-/draw-svg-path-1.0.0.tgz", - "integrity": "sha512-P8j3IHxcgRMcY6sDzr0QvJDLzBnJJqpTG33UZ2Pvp8rw0apCHhJCWqYprqrXjrgHnJ6tuhP1iTJSAodPDHxwkg==", - "dependencies": { - "abs-svg-path": "~0.1.1", - "normalize-svg-path": "~0.1.0" - } - }, - "node_modules/dtype": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz", - "integrity": "sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg==", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/dup": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dup/-/dup-1.0.0.tgz", - "integrity": "sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA==" - }, - "node_modules/duplexify": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", - "dependencies": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/earcut": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", - "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==" - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, - "node_modules/electron-to-chromium": { - "version": "1.5.49", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.49.tgz", - "integrity": "sha512-ZXfs1Of8fDb6z7WEYZjXpgIRF6MEu8JdeGA0A40aZq6OQbS+eJpnnV49epZRna2DU/YsEjSQuGtQPPtvt6J65A==", - "peer": true - }, - "node_modules/element-size": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/element-size/-/element-size-1.1.1.tgz", - "integrity": "sha512-eaN+GMOq/Q+BIWy0ybsgpcYImjGIdNLyjLFJU4XsLHXYQao5jCNb36GyN6C2qwmDDYSfIBmKpPpr4VnBdLCsPQ==" - }, - "node_modules/elementary-circuits-directed-graph": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz", - "integrity": "sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ==", - "dependencies": { - "strongly-connected-components": "^1.0.1" - } - }, - "node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", - "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", - "peer": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/es-module-lexer": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", - "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", - "peer": true - }, - "node_modules/es5-ext": { - "version": "0.10.64", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", - "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", - "hasInstallScript": true, - "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "esniff": "^2.0.1", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", - "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", - "dependencies": { - "d": "^1.0.2", - "ext": "^1.7.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/es6-weak-map": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", - "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.46", - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/esbuild": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", - "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.23.1", - "@esbuild/android-arm": "0.23.1", - "@esbuild/android-arm64": "0.23.1", - "@esbuild/android-x64": "0.23.1", - "@esbuild/darwin-arm64": "0.23.1", - "@esbuild/darwin-x64": "0.23.1", - "@esbuild/freebsd-arm64": "0.23.1", - "@esbuild/freebsd-x64": "0.23.1", - "@esbuild/linux-arm": "0.23.1", - "@esbuild/linux-arm64": "0.23.1", - "@esbuild/linux-ia32": "0.23.1", - "@esbuild/linux-loong64": "0.23.1", - "@esbuild/linux-mips64el": "0.23.1", - "@esbuild/linux-ppc64": "0.23.1", - "@esbuild/linux-riscv64": "0.23.1", - "@esbuild/linux-s390x": "0.23.1", - "@esbuild/linux-x64": "0.23.1", - "@esbuild/netbsd-x64": "0.23.1", - "@esbuild/openbsd-arm64": "0.23.1", - "@esbuild/openbsd-x64": "0.23.1", - "@esbuild/sunos-x64": "0.23.1", - "@esbuild/win32-arm64": "0.23.1", - "@esbuild/win32-ia32": "0.23.1", - "@esbuild/win32-x64": "0.23.1" - } - }, - "node_modules/esbuild-style-plugin": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/esbuild-style-plugin/-/esbuild-style-plugin-1.6.3.tgz", - "integrity": "sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==", - "dependencies": { - "@types/less": "^3.0.3", - "@types/sass": "^1.43.1", - "@types/stylus": "^0.48.38", - "glob": "^10.2.2", - "postcss": "^8.4.31", - "postcss-modules": "^6.0.0" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "peer": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-scope/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "peer": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esniff": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", - "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", - "dependencies": { - "d": "^1.0.1", - "es5-ext": "^0.10.62", - "event-emitter": "^0.3.5", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "peer": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/event-emitter": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", - "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", - "dependencies": { - "d": "1", - "es5-ext": "~0.10.14" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/ext": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", - "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", - "dependencies": { - "type": "^2.7.2" - } - }, - "node_modules/falafel": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.2.5.tgz", - "integrity": "sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ==", - "dependencies": { - "acorn": "^7.1.1", - "isarray": "^2.0.1" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "peer": true - }, - "node_modules/fast-isnumeric": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz", - "integrity": "sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw==", - "dependencies": { - "is-string-blank": "^1.0.1" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "peer": true - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/flatten-vertex-data": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz", - "integrity": "sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw==", - "dependencies": { - "dtype": "^2.0.0" - } - }, - "node_modules/font-atlas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/font-atlas/-/font-atlas-2.1.0.tgz", - "integrity": "sha512-kP3AmvX+HJpW4w3d+PiPR2X6E1yvsBXt2yhuCw+yReO9F1WYhvZwx3c95DGZGwg9xYzDGrgJYa885xmVA+28Cg==", - "dependencies": { - "css-font": "^1.0.0" - } - }, - "node_modules/font-measure": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/font-measure/-/font-measure-1.2.2.tgz", - "integrity": "sha512-mRLEpdrWzKe9hbfaF3Qpr06TAjquuBVP5cHy4b3hyeNdjc9i0PO6HniGsX5vjL5OWv7+Bd++NiooNpT/s8BvIA==", - "dependencies": { - "css-font": "^1.2.0" - } - }, - "node_modules/foreground-child": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", - "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", - "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/generic-names": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-4.0.0.tgz", - "integrity": "sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==", - "dependencies": { - "loader-utils": "^3.2.0" - } - }, - "node_modules/geojson-vt": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", - "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==" - }, - "node_modules/get-canvas-context": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz", - "integrity": "sha512-LnpfLf/TNzr9zVOGiIY6aKCz8EKuXmlYNV7CM2pUjBa/B+c2I15tS7KLySep75+FuerJdmArvJLcsAXWEy2H0A==" - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gl-mat4": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gl-mat4/-/gl-mat4-1.2.0.tgz", - "integrity": "sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA==" - }, - "node_modules/gl-matrix": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz", - "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==" - }, - "node_modules/gl-text": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/gl-text/-/gl-text-1.4.0.tgz", - "integrity": "sha512-o47+XBqLCj1efmuNyCHt7/UEJmB9l66ql7pnobD6p+sgmBUdzfMZXIF0zD2+KRfpd99DJN+QXdvTFAGCKCVSmQ==", - "dependencies": { - "bit-twiddle": "^1.0.2", - "color-normalize": "^1.5.0", - "css-font": "^1.2.0", - "detect-kerning": "^2.1.2", - "es6-weak-map": "^2.0.3", - "flatten-vertex-data": "^1.0.2", - "font-atlas": "^2.1.0", - "font-measure": "^1.2.2", - "gl-util": "^3.1.2", - "is-plain-obj": "^1.1.0", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "parse-unit": "^1.0.1", - "pick-by-alias": "^1.2.0", - "regl": "^2.0.0", - "to-px": "^1.0.1", - "typedarray-pool": "^1.1.0" - } - }, - "node_modules/gl-util": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.3.tgz", - "integrity": "sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA==", - "dependencies": { - "is-browser": "^2.0.1", - "is-firefox": "^1.0.3", - "is-plain-obj": "^1.1.0", - "number-is-integer": "^1.0.1", - "object-assign": "^4.1.0", - "pick-by-alias": "^1.2.0", - "weak-map": "^1.0.5" - } - }, - "node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "peer": true - }, - "node_modules/global-prefix": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-4.0.0.tgz", - "integrity": "sha512-w0Uf9Y9/nyHinEk5vMJKRie+wa4kR5hmDbEhGGds/kG1PwGLLHKRoNMeJOyCQjjBkANlnScqgzcFwGHgmgLkVA==", - "dependencies": { - "ini": "^4.1.3", - "kind-of": "^6.0.3", - "which": "^4.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/glsl-inject-defines": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz", - "integrity": "sha512-W49jIhuDtF6w+7wCMcClk27a2hq8znvHtlGnrYkSWEr8tHe9eA2dcnohlcAmxLYBSpSSdzOkRdyPTrx9fw49+A==", - "dependencies": { - "glsl-token-inject-block": "^1.0.0", - "glsl-token-string": "^1.0.1", - "glsl-tokenizer": "^2.0.2" - } - }, - "node_modules/glsl-resolve": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/glsl-resolve/-/glsl-resolve-0.0.1.tgz", - "integrity": "sha512-xxFNsfnhZTK9NBhzJjSBGX6IOqYpvBHxxmo+4vapiljyGNCY0Bekzn0firQkQrazK59c1hYxMDxYS8MDlhw4gA==", - "dependencies": { - "resolve": "^0.6.1", - "xtend": "^2.1.2" - } - }, - "node_modules/glsl-resolve/node_modules/resolve": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-0.6.3.tgz", - "integrity": "sha512-UHBY3viPlJKf85YijDUcikKX6tmF4SokIDp518ZDVT92JNDcG5uKIthaT/owt3Sar0lwtOafsQuwrg22/v2Dwg==" - }, - "node_modules/glsl-resolve/node_modules/xtend": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.2.0.tgz", - "integrity": "sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw==", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/glsl-token-assignments": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/glsl-token-assignments/-/glsl-token-assignments-2.0.2.tgz", - "integrity": "sha512-OwXrxixCyHzzA0U2g4btSNAyB2Dx8XrztY5aVUCjRSh4/D0WoJn8Qdps7Xub3sz6zE73W3szLrmWtQ7QMpeHEQ==" - }, - "node_modules/glsl-token-defines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/glsl-token-defines/-/glsl-token-defines-1.0.0.tgz", - "integrity": "sha512-Vb5QMVeLjmOwvvOJuPNg3vnRlffscq2/qvIuTpMzuO/7s5kT+63iL6Dfo2FYLWbzuiycWpbC0/KV0biqFwHxaQ==", - "dependencies": { - "glsl-tokenizer": "^2.0.0" - } - }, - "node_modules/glsl-token-depth": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/glsl-token-depth/-/glsl-token-depth-1.1.2.tgz", - "integrity": "sha512-eQnIBLc7vFf8axF9aoi/xW37LSWd2hCQr/3sZui8aBJnksq9C7zMeUYHVJWMhFzXrBU7fgIqni4EhXVW4/krpg==" - }, - "node_modules/glsl-token-descope": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/glsl-token-descope/-/glsl-token-descope-1.0.2.tgz", - "integrity": "sha512-kS2PTWkvi/YOeicVjXGgX5j7+8N7e56srNDEHDTVZ1dcESmbmpmgrnpjPcjxJjMxh56mSXYoFdZqb90gXkGjQw==", - "dependencies": { - "glsl-token-assignments": "^2.0.0", - "glsl-token-depth": "^1.1.0", - "glsl-token-properties": "^1.0.0", - "glsl-token-scope": "^1.1.0" - } - }, - "node_modules/glsl-token-inject-block": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/glsl-token-inject-block/-/glsl-token-inject-block-1.1.0.tgz", - "integrity": "sha512-q/m+ukdUBuHCOtLhSr0uFb/qYQr4/oKrPSdIK2C4TD+qLaJvqM9wfXIF/OOBjuSA3pUoYHurVRNao6LTVVUPWA==" - }, - "node_modules/glsl-token-properties": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz", - "integrity": "sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==" - }, - "node_modules/glsl-token-scope": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/glsl-token-scope/-/glsl-token-scope-1.1.2.tgz", - "integrity": "sha512-YKyOMk1B/tz9BwYUdfDoHvMIYTGtVv2vbDSLh94PT4+f87z21FVdou1KNKgF+nECBTo0fJ20dpm0B1vZB1Q03A==" - }, - "node_modules/glsl-token-string": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/glsl-token-string/-/glsl-token-string-1.0.1.tgz", - "integrity": "sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg==" - }, - "node_modules/glsl-token-whitespace-trim": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/glsl-token-whitespace-trim/-/glsl-token-whitespace-trim-1.0.0.tgz", - "integrity": "sha512-ZJtsPut/aDaUdLUNtmBYhaCmhIjpKNg7IgZSfX5wFReMc2vnj8zok+gB/3Quqs0TsBSX/fGnqUUYZDqyuc2xLQ==" - }, - "node_modules/glsl-tokenizer": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/glsl-tokenizer/-/glsl-tokenizer-2.1.5.tgz", - "integrity": "sha512-XSZEJ/i4dmz3Pmbnpsy3cKh7cotvFlBiZnDOwnj/05EwNp2XrhQ4XKJxT7/pDt4kp4YcpRSKz8eTV7S+mwV6MA==", - "dependencies": { - "through2": "^0.6.3" - } - }, - "node_modules/glsl-tokenizer/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" - }, - "node_modules/glsl-tokenizer/node_modules/readable-stream": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "node_modules/glsl-tokenizer/node_modules/string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" - }, - "node_modules/glsl-tokenizer/node_modules/through2": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", - "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", - "dependencies": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" - } - }, - "node_modules/glslify": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.1.1.tgz", - "integrity": "sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog==", - "dependencies": { - "bl": "^2.2.1", - "concat-stream": "^1.5.2", - "duplexify": "^3.4.5", - "falafel": "^2.1.0", - "from2": "^2.3.0", - "glsl-resolve": "0.0.1", - "glsl-token-whitespace-trim": "^1.0.0", - "glslify-bundle": "^5.0.0", - "glslify-deps": "^1.2.5", - "minimist": "^1.2.5", - "resolve": "^1.1.5", - "stack-trace": "0.0.9", - "static-eval": "^2.0.5", - "through2": "^2.0.1", - "xtend": "^4.0.0" - }, - "bin": { - "glslify": "bin.js" - } - }, - "node_modules/glslify-bundle": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-5.1.1.tgz", - "integrity": "sha512-plaAOQPv62M1r3OsWf2UbjN0hUYAB7Aph5bfH58VxJZJhloRNbxOL9tl/7H71K7OLJoSJ2ZqWOKk3ttQ6wy24A==", - "dependencies": { - "glsl-inject-defines": "^1.0.1", - "glsl-token-defines": "^1.0.0", - "glsl-token-depth": "^1.1.1", - "glsl-token-descope": "^1.0.2", - "glsl-token-scope": "^1.1.1", - "glsl-token-string": "^1.0.1", - "glsl-token-whitespace-trim": "^1.0.0", - "glsl-tokenizer": "^2.0.2", - "murmurhash-js": "^1.0.0", - "shallow-copy": "0.0.1" - } - }, - "node_modules/glslify-deps": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.2.tgz", - "integrity": "sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag==", - "dependencies": { - "@choojs/findup": "^0.2.0", - "events": "^3.2.0", - "glsl-resolve": "0.0.1", - "glsl-tokenizer": "^2.0.0", - "graceful-fs": "^4.1.2", - "inherits": "^2.0.1", - "map-limit": "0.0.1", - "resolve": "^1.0.0" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/grid-index": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", - "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-hover": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-hover/-/has-hover-1.0.1.tgz", - "integrity": "sha512-0G6w7LnlcpyDzpeGUTuT0CEw05+QlMuGVk1IHNAlHrGJITGodjZu3x8BNDUMfKJSZXNB2ZAclqc1bvrd+uUpfg==", - "dependencies": { - "is-browser": "^2.0.1" - } - }, - "node_modules/has-passive-events": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-passive-events/-/has-passive-events-1.0.0.tgz", - "integrity": "sha512-2vSj6IeIsgvsRMyeQ0JaCX5Q3lX4zMn5HpoVc7MEhQ6pv8Iq9rsXjsp+E5ZwaT7T0xhMT0KmU8gtt1EFVdbJiw==", - "dependencies": { - "is-browser": "^2.0.1" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hsluv": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/hsluv/-/hsluv-0.0.3.tgz", - "integrity": "sha512-08iL2VyCRbkQKBySkSh6m8zMUa3sADAxGVWs3Z1aPcUkTJeK0ETG4Fc27tEmQBGUAXZjIsXOZqBvacuVNSC/fQ==" - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-utils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", - "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/immutable": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.2.tgz", - "integrity": "sha512-1NU7hWZDkV7hJ4PJ9dur9gTNQ4ePNPN4k9/0YhwjzykTi/+3Q5pF93YU5QoVj8BuOnhLgaY8gs0U2pj4kSYVcw==" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", - "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/is-browser": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", - "integrity": "sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ==" - }, - "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-firefox": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-firefox/-/is-firefox-1.0.3.tgz", - "integrity": "sha512-6Q9ITjvWIm0Xdqv+5U12wgOKEM2KoBw4Y926m0OFkvlCxnbG94HKAsVz8w3fWcfAS5YA2fJORXX1dLrkprCCxA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-iexplorer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-iexplorer/-/is-iexplorer-1.0.0.tgz", - "integrity": "sha512-YeLzceuwg3K6O0MLM3UyUUjKAlyULetwryFp1mHy1I5PfArK0AEqlfa+MR4gkJjcbuJXoDJCvXbyqZVf5CR2Sg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-mobile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-4.0.0.tgz", - "integrity": "sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew==" - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-string-blank": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-string-blank/-/is-string-blank-1.0.1.tgz", - "integrity": "sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==" - }, - "node_modules/is-svg-path": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz", - "integrity": "sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg==" - }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" - }, - "node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "engines": { - "node": ">=16" - } - }, - "node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "peer": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "peer": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "peer": true - }, - "node_modules/json-stringify-pretty-compact": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz", - "integrity": "sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==" - }, - "node_modules/kdbush": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz", - "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==" - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "peer": true, - "engines": { - "node": ">=6.11.5" - } - }, - "node_modules/loader-utils": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", - "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", - "engines": { - "node": ">= 12.13.0" - } - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, - "node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" - }, - "node_modules/map-limit": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/map-limit/-/map-limit-0.0.1.tgz", - "integrity": "sha512-pJpcfLPnIF/Sk3taPW21G/RQsEEirGaFpCW3oXRwH9dnFHPHNGjNyvh++rdmC2fNqEaTw2MhYJraoJWAHx8kEg==", - "dependencies": { - "once": "~1.3.0" - } - }, - "node_modules/map-limit/node_modules/once": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", - "integrity": "sha512-6vaNInhu+CHxtONf3zw3vq4SP2DOQhjBvIa3rNcG0+P7eKWlYH6Peu7rHizSloRU2EwMz6GraLieis9Ac9+p1w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/mapbox-gl": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.3.tgz", - "integrity": "sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg==", - "peer": true, - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/geojson-types": "^1.0.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/mapbox-gl-supported": "^1.5.0", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^1.1.1", - "@mapbox/unitbezier": "^0.0.0", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "csscolorparser": "~1.0.3", - "earcut": "^2.2.2", - "geojson-vt": "^3.2.1", - "gl-matrix": "^3.2.1", - "grid-index": "^1.1.0", - "murmurhash-js": "^1.0.0", - "pbf": "^3.2.1", - "potpack": "^1.0.1", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "supercluster": "^7.1.0", - "tinyqueue": "^2.0.3", - "vt-pbf": "^3.1.1" - }, - "engines": { - "node": ">=6.4.0" - } - }, - "node_modules/maplibre-gl": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", - "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^2.0.6", - "@mapbox/unitbezier": "^0.0.1", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "@maplibre/maplibre-gl-style-spec": "^20.3.1", - "@types/geojson": "^7946.0.14", - "@types/geojson-vt": "3.2.5", - "@types/mapbox__point-geometry": "^0.1.4", - "@types/mapbox__vector-tile": "^1.3.4", - "@types/pbf": "^3.0.5", - "@types/supercluster": "^7.1.3", - "earcut": "^3.0.0", - "geojson-vt": "^4.0.2", - "gl-matrix": "^3.4.3", - "global-prefix": "^4.0.0", - "kdbush": "^4.0.2", - "murmurhash-js": "^1.0.0", - "pbf": "^3.3.0", - "potpack": "^2.0.0", - "quickselect": "^3.0.0", - "supercluster": "^8.0.1", - "tinyqueue": "^3.0.0", - "vt-pbf": "^3.1.3" - }, - "engines": { - "node": ">=16.14.0", - "npm": ">=8.1.0" - }, - "funding": { - "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" - } - }, - "node_modules/maplibre-gl/node_modules/@mapbox/tiny-sdf": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz", - "integrity": "sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==" - }, - "node_modules/maplibre-gl/node_modules/@mapbox/unitbezier": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", - "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" - }, - "node_modules/maplibre-gl/node_modules/earcut": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.0.tgz", - "integrity": "sha512-41Fs7Q/PLq1SDbqjsgcY7GA42T0jvaCNGXgGtsNdvg+Yv8eIu06bxv4/PoREkZ9nMDNwnUSG9OFB9+yv8eKhDg==" - }, - "node_modules/maplibre-gl/node_modules/geojson-vt": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-4.0.2.tgz", - "integrity": "sha512-AV9ROqlNqoZEIJGfm1ncNjEXfkz2hdFlZf0qkVfmkwdKa8vj7H16YUOT81rJw1rdFhyEDlN2Tds91p/glzbl5A==" - }, - "node_modules/maplibre-gl/node_modules/potpack": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz", - "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==" - }, - "node_modules/maplibre-gl/node_modules/quickselect": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-3.0.0.tgz", - "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==" - }, - "node_modules/maplibre-gl/node_modules/supercluster": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz", - "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==", - "dependencies": { - "kdbush": "^4.0.2" - } - }, - "node_modules/maplibre-gl/node_modules/tinyqueue": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", - "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" - }, - "node_modules/math-log2": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/math-log2/-/math-log2-1.0.1.tgz", - "integrity": "sha512-9W0yGtkaMAkf74XGYVy4Dqw3YUMnTNB2eeiw9aQbUl4A3KmuCEHTt2DgAB07ENzOYAjsYSAYufkAq0Zd+jU7zA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "peer": true - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "optional": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "peer": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "peer": true, - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/mouse-change": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.4.0.tgz", - "integrity": "sha512-vpN0s+zLL2ykyyUDh+fayu9Xkor5v/zRD9jhSqjRS1cJTGS0+oakVZzNm5n19JvvEj0you+MXlYTpNxUDQUjkQ==", - "dependencies": { - "mouse-event": "^1.0.0" - } - }, - "node_modules/mouse-event": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/mouse-event/-/mouse-event-1.0.5.tgz", - "integrity": "sha512-ItUxtL2IkeSKSp9cyaX2JLUuKk2uMoxBg4bbOWVd29+CskYJR9BGsUqtXenNzKbnDshvupjUewDIYVrOB6NmGw==" - }, - "node_modules/mouse-event-offset": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mouse-event-offset/-/mouse-event-offset-3.0.2.tgz", - "integrity": "sha512-s9sqOs5B1Ykox3Xo8b3Ss2IQju4UwlW6LSR+Q5FXWpprJ5fzMLefIIItr3PH8RwzfGy6gxs/4GAmiNuZScE25w==" - }, - "node_modules/mouse-wheel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mouse-wheel/-/mouse-wheel-1.2.0.tgz", - "integrity": "sha512-+OfYBiUOCTWcTECES49neZwL5AoGkXE+lFjIvzwNCnYRlso+EnfvovcBxGoyQ0yQt806eSPjS675K0EwWknXmw==", - "dependencies": { - "right-now": "^1.0.0", - "signum": "^1.0.0", - "to-px": "^1.0.1" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/mumath": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/mumath/-/mumath-3.3.4.tgz", - "integrity": "sha512-VAFIOG6rsxoc7q/IaY3jdjmrsuX9f15KlRLYTHmixASBZkZEKC1IFqE2BC5CdhXmK6WLM1Re33z//AGmeRI6FA==", - "deprecated": "Redundant dependency in your project.", - "dependencies": { - "almost-equal": "^1.1.0" - } - }, - "node_modules/murmurhash-js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", - "integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==" - }, - "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/native-promise-only": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", - "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==" - }, - "node_modules/needle": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", - "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", - "dependencies": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - }, - "bin": { - "needle": "bin/needle" - }, - "engines": { - "node": ">= 4.4.x" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "peer": true - }, - "node_modules/next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - }, - "node_modules/node-addon-api": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", - "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", - "optional": true - }, - "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", - "peer": true - }, - "node_modules/normalize-svg-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-0.1.0.tgz", - "integrity": "sha512-1/kmYej2iedi5+ROxkRESL/pI02pkg0OBnaR4hJkSIX6+ORzepwbuUXfrdZaPjysTsJInj0Rj5NuX027+dMBvA==" - }, - "node_modules/number-is-integer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-integer/-/number-is-integer-1.0.1.tgz", - "integrity": "sha512-Dq3iuiFBkrbmuQjGFFF3zckXNCQoSD37/SdSbgcBailUx6knDvDwb5CympBgcoWHy36sfS12u74MHYkXyHq6bg==", - "dependencies": { - "is-finite": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" - }, - "node_modules/parenthesis": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.8.tgz", - "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw==" - }, - "node_modules/parse-rect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/parse-rect/-/parse-rect-1.2.0.tgz", - "integrity": "sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA==", - "dependencies": { - "pick-by-alias": "^1.2.0" - } - }, - "node_modules/parse-svg-path": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz", - "integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==" - }, - "node_modules/parse-unit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-unit/-/parse-unit-1.0.1.tgz", - "integrity": "sha512-hrqldJHokR3Qj88EIlV/kAyAi/G5R2+R56TBANxNMy0uPlYcttx0jnMW6Yx5KsKPSbC3KddM/7qQm3+0wEXKxg==" - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/pbf": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", - "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", - "dependencies": { - "ieee754": "^1.1.12", - "resolve-protobuf-schema": "^2.1.0" - }, - "bin": { - "pbf": "bin/pbf" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" - }, - "node_modules/pick-by-alias": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", - "integrity": "sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw==" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "optional": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/plotly.js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-3.0.1.tgz", - "integrity": "sha512-eWEUkqdv4sblmUQJ7xGlEA+LghzEVPJOlPBZMJuagG0CsQxlmBb+7rd0UFVig5jhRnN8PQqRQaLv6qXIjnvzgg==", - "dependencies": { - "@plotly/d3": "3.8.2", - "@plotly/d3-sankey": "0.7.2", - "@plotly/d3-sankey-circular": "0.33.1", - "@plotly/mapbox-gl": "1.13.4", - "@turf/area": "^7.1.0", - "@turf/bbox": "^7.1.0", - "@turf/centroid": "^7.1.0", - "base64-arraybuffer": "^1.0.2", - "canvas-fit": "^1.5.0", - "color-alpha": "1.0.4", - "color-normalize": "1.5.0", - "color-parse": "2.0.0", - "color-rgba": "3.0.0", - "country-regex": "^1.1.0", - "css-loader": "^7.1.2", - "d3-force": "^1.2.1", - "d3-format": "^1.4.5", - "d3-geo": "^1.12.1", - "d3-geo-projection": "^2.9.0", - "d3-hierarchy": "^1.1.9", - "d3-interpolate": "^3.0.1", - "d3-time": "^1.1.0", - "d3-time-format": "^2.2.3", - "esbuild-style-plugin": "^1.6.3", - "fast-isnumeric": "^1.1.4", - "gl-mat4": "^1.2.0", - "gl-text": "^1.4.0", - "has-hover": "^1.0.1", - "has-passive-events": "^1.0.0", - "is-mobile": "^4.0.0", - "maplibre-gl": "^4.7.1", - "mouse-change": "^1.4.0", - "mouse-event-offset": "^3.0.2", - "mouse-wheel": "^1.2.0", - "native-promise-only": "^0.8.1", - "parse-svg-path": "^0.1.2", - "point-in-polygon": "^1.1.0", - "polybooljs": "^1.2.2", - "probe-image-size": "^7.2.3", - "regl": "npm:@plotly/regl@^2.1.2", - "regl-error2d": "^2.0.12", - "regl-line2d": "^3.1.3", - "regl-scatter2d": "^3.3.1", - "regl-splom": "^1.0.14", - "strongly-connected-components": "^1.0.1", - "style-loader": "^4.0.0", - "superscript-text": "^1.0.0", - "svg-path-sdf": "^1.1.3", - "tinycolor2": "^1.4.2", - "to-px": "1.0.1", - "topojson-client": "^3.1.0", - "webgl-context": "^2.2.0", - "world-calendars": "^1.0.3" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/plotly.js/node_modules/color-rgba": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-3.0.0.tgz", - "integrity": "sha512-PPwZYkEY3M2THEHHV6Y95sGUie77S7X8v+h1r6LSAPF3/LL2xJ8duUXSrkic31Nzc4odPwHgUbiX/XuTYzQHQg==", - "dependencies": { - "color-parse": "^2.0.0", - "color-space": "^2.0.0" - } - }, - "node_modules/plotly.js/node_modules/color-space": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/color-space/-/color-space-2.3.1.tgz", - "integrity": "sha512-5DJdKYwoDji3ik/i0xSn+SiwXsfwr+1FEcCMUz2GS5speGCfGSbBMOLd84SDUBOuX8y4CvdFJmOBBJuC4wp7sQ==" - }, - "node_modules/point-in-polygon": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/point-in-polygon/-/point-in-polygon-1.1.0.tgz", - "integrity": "sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw==" - }, - "node_modules/polybooljs": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/polybooljs/-/polybooljs-1.2.2.tgz", - "integrity": "sha512-ziHW/02J0XuNuUtmidBc6GXE8YohYydp3DWPWXYsd7O721TjcmN+k6ezjdwkDqep+gnWnFY+yqZHvzElra2oCg==" - }, - "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.0", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-modules": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-6.0.1.tgz", - "integrity": "sha512-zyo2sAkVvuZFFy0gc2+4O+xar5dYlaVy/ebO24KT0ftk/iJevSNyPyQellsBLlnccwh7f6V6Y4GvuKRYToNgpQ==", - "dependencies": { - "generic-names": "^4.0.0", - "icss-utils": "^5.1.0", - "lodash.camelcase": "^4.3.0", - "postcss-modules-extract-imports": "^3.1.0", - "postcss-modules-local-by-default": "^4.0.5", - "postcss-modules-scope": "^3.2.0", - "postcss-modules-values": "^4.0.0", - "string-hash": "^1.1.3" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "node_modules/postcss-modules-extract-imports": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", - "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-local-by-default": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz", - "integrity": "sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==", - "dependencies": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-scope": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz", - "integrity": "sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==", - "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", - "dependencies": { - "icss-utils": "^5.0.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, - "node_modules/potpack": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz", - "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==" - }, - "node_modules/probe-image-size": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.3.tgz", - "integrity": "sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==", - "dependencies": { - "lodash.merge": "^4.6.2", - "needle": "^2.5.2", - "stream-parser": "~0.3.1" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/protocol-buffers-schema": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", - "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/quickselect": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", - "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" - }, - "node_modules/raf": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", - "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", - "dependencies": { - "performance-now": "^2.1.0" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "peer": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "node_modules/readable-stream/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/regl": { - "name": "@plotly/regl", - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@plotly/regl/-/regl-2.1.2.tgz", - "integrity": "sha512-Mdk+vUACbQvjd0m/1JJjOOafmkp/EpmHjISsopEz5Av44CBq7rPC05HHNbYGKVyNUF2zmEoBS/TT0pd0SPFFyw==" - }, - "node_modules/regl-error2d": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.12.tgz", - "integrity": "sha512-r7BUprZoPO9AbyqM5qlJesrSRkl+hZnVKWKsVp7YhOl/3RIpi4UDGASGJY0puQ96u5fBYw/OlqV24IGcgJ0McA==", - "dependencies": { - "array-bounds": "^1.0.1", - "color-normalize": "^1.5.0", - "flatten-vertex-data": "^1.0.2", - "object-assign": "^4.1.1", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0", - "update-diff": "^1.1.0" - } - }, - "node_modules/regl-line2d": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.1.3.tgz", - "integrity": "sha512-fkgzW+tTn4QUQLpFKsUIE0sgWdCmXAM3ctXcCgoGBZTSX5FE2A0M7aynz7nrZT5baaftLrk9te54B+MEq4QcSA==", - "dependencies": { - "array-bounds": "^1.0.1", - "array-find-index": "^1.0.2", - "array-normalize": "^1.1.4", - "color-normalize": "^1.5.0", - "earcut": "^2.1.5", - "es6-weak-map": "^2.0.3", - "flatten-vertex-data": "^1.0.2", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0" - } - }, - "node_modules/regl-scatter2d": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.3.1.tgz", - "integrity": "sha512-seOmMIVwaCwemSYz/y4WE0dbSO9svNFSqtTh5RE57I7PjGo3tcUYKtH0MTSoshcAsreoqN8HoCtnn8wfHXXfKQ==", - "dependencies": { - "@plotly/point-cluster": "^3.1.9", - "array-range": "^1.0.1", - "array-rearrange": "^2.2.2", - "clamp": "^1.0.1", - "color-id": "^1.1.0", - "color-normalize": "^1.5.0", - "color-rgba": "^2.1.1", - "flatten-vertex-data": "^1.0.2", - "glslify": "^7.0.0", - "is-iexplorer": "^1.0.0", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0", - "update-diff": "^1.1.0" - } - }, - "node_modules/regl-splom": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.14.tgz", - "integrity": "sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw==", - "dependencies": { - "array-bounds": "^1.0.1", - "array-range": "^1.0.1", - "color-alpha": "^1.0.4", - "flatten-vertex-data": "^1.0.2", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "raf": "^3.4.1", - "regl-scatter2d": "^3.2.3" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-protobuf-schema": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", - "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", - "dependencies": { - "protocol-buffers-schema": "^3.3.1" - } - }, - "node_modules/right-now": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/right-now/-/right-now-1.0.0.tgz", - "integrity": "sha512-DA8+YS+sMIVpbsuKgy+Z67L9Lxb1p05mNxRpDPNksPDEFir4vmBlUtuN9jkTGn9YMMdlBuK7XQgFiz6ws+yhSg==" - }, - "node_modules/rw": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/sass": { - "version": "1.80.7", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.7.tgz", - "integrity": "sha512-MVWvN0u5meytrSjsU7AWsbhoXi1sc58zADXFllfZzbsBT1GHjjar6JwBINYPRrkx/zqnQ6uqbQuHgE95O+C+eQ==", - "dependencies": { - "chokidar": "^4.0.0", - "immutable": "^5.0.2", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "optionalDependencies": { - "@parcel/watcher": "^2.4.1" - } - }, - "node_modules/sax": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" - }, - "node_modules/schema-utils": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", - "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", - "peer": true, - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/serialize-javascript": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", - "peer": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/shallow-copy": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", - "integrity": "sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw==" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/signum": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/signum/-/signum-1.0.0.tgz", - "integrity": "sha512-yodFGwcyt59XRh7w5W3jPcIQb3Bwi21suEfT7MAWnBX3iCdklJpgDgvGT9o04UonglZN5SNMfJFkHIR/jO8GHw==" - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "peer": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/stack-trace": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", - "integrity": "sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ==", - "engines": { - "node": "*" - } - }, - "node_modules/static-eval": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.1.tgz", - "integrity": "sha512-MgWpQ/ZjGieSVB3eOJVs4OA2LT/q1vx98KPCTTQPzq/aLr0YUXTsgryTXr4SLfR0ZfUUCiedM9n/ABeDIyy4mA==", - "dependencies": { - "escodegen": "^2.1.0" - } - }, - "node_modules/stream-parser": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", - "integrity": "sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==", - "dependencies": { - "debug": "2" - } - }, - "node_modules/stream-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/stream-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "node_modules/stream-shift": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", - "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" - }, - "node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/string-hash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz", - "integrity": "sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==" - }, - "node_modules/string-split-by": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz", - "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==", - "dependencies": { - "parenthesis": "^3.1.5" - } - }, - "node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/string-width-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/strongly-connected-components": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strongly-connected-components/-/strongly-connected-components-1.0.1.tgz", - "integrity": "sha512-i0TFx4wPcO0FwX+4RkLJi1MxmcTv90jNZgxMu9XRnMXMeFUY1VJlIoXpZunPUvUUqbCT1pg5PEkFqqpcaElNaA==" - }, - "node_modules/style-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-4.0.0.tgz", - "integrity": "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==", - "engines": { - "node": ">= 18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.27.0" - } - }, - "node_modules/supercluster": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz", - "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==", - "dependencies": { - "kdbush": "^3.0.0" - } - }, - "node_modules/supercluster/node_modules/kdbush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", - "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" - }, - "node_modules/superscript-text": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/superscript-text/-/superscript-text-1.0.0.tgz", - "integrity": "sha512-gwu8l5MtRZ6koO0icVTlmN5pm7Dhh1+Xpe9O4x6ObMAsW+3jPbW14d1DsBq1F4wiI+WOFjXF35pslgec/G8yCQ==" - }, - "node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "peer": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/svg-arc-to-cubic-bezier": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz", - "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g==" - }, - "node_modules/svg-path-bounds": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz", - "integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==", - "dependencies": { - "abs-svg-path": "^0.1.1", - "is-svg-path": "^1.0.1", - "normalize-svg-path": "^1.0.0", - "parse-svg-path": "^0.1.2" - } - }, - "node_modules/svg-path-bounds/node_modules/normalize-svg-path": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz", - "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==", - "dependencies": { - "svg-arc-to-cubic-bezier": "^3.0.0" - } - }, - "node_modules/svg-path-sdf": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/svg-path-sdf/-/svg-path-sdf-1.1.3.tgz", - "integrity": "sha512-vJJjVq/R5lSr2KLfVXVAStktfcfa1pNFjFOgyJnzZFXlO/fDZ5DmM8FpnSKKzLPfEYTVeXuVBTHF296TpxuJVg==", - "dependencies": { - "bitmap-sdf": "^1.0.0", - "draw-svg-path": "^1.0.0", - "is-svg-path": "^1.0.1", - "parse-svg-path": "^0.1.2", - "svg-path-bounds": "^1.0.1" - } - }, - "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser": { - "version": "5.36.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.36.0.tgz", - "integrity": "sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==", - "peer": true, - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "5.3.10", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", - "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", - "peer": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.20", - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.1", - "terser": "^5.26.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, - "node_modules/terser/node_modules/acorn": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "peer": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/tinycolor2": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", - "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" - }, - "node_modules/tinyqueue": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz", - "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==" - }, - "node_modules/to-float32": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.1.0.tgz", - "integrity": "sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg==" - }, - "node_modules/to-px": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.0.1.tgz", - "integrity": "sha512-2y3LjBeIZYL19e5gczp14/uRWFDtDUErJPVN3VU9a7SJO+RjGRtYR47aMN2bZgGlxvW4ZcEz2ddUPVHXcMfuXw==", - "dependencies": { - "parse-unit": "^1.0.1" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/topojson-client": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", - "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", - "dependencies": { - "commander": "2" - }, - "bin": { - "topo2geo": "bin/topo2geo", - "topomerge": "bin/topomerge", - "topoquantize": "bin/topoquantize" - } - }, - "node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" - }, - "node_modules/type": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", - "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" - }, - "node_modules/typedarray-pool": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.2.0.tgz", - "integrity": "sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==", - "dependencies": { - "bit-twiddle": "^1.0.0", - "dup": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" - }, - "node_modules/unquote": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", - "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==" - }, - "node_modules/update-browserslist-db": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", - "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "peer": true, - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/update-diff": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/update-diff/-/update-diff-1.1.0.tgz", - "integrity": "sha512-rCiBPiHxZwT4+sBhEbChzpO5hYHjm91kScWgdHf4Qeafs6Ba7MBl+d9GlGv72bcTZQO0sLmtQS1pHSWoCLtN/A==" - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "peer": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/vt-pbf": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz", - "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==", - "dependencies": { - "@mapbox/point-geometry": "0.1.0", - "@mapbox/vector-tile": "^1.3.1", - "pbf": "^3.2.1" - } - }, - "node_modules/watchpack": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", - "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", - "peer": true, - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/weak-map": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", - "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" - }, - "node_modules/webgl-context": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/webgl-context/-/webgl-context-2.2.0.tgz", - "integrity": "sha512-q/fGIivtqTT7PEoF07axFIlHNk/XCPaYpq64btnepopSWvKNFkoORlQYgqDigBIuGA1ExnFd/GnSUnBNEPQY7Q==", - "dependencies": { - "get-canvas-context": "^1.0.1" - } - }, - "node_modules/webpack": { - "version": "5.95.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.95.0.tgz", - "integrity": "sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==", - "peer": true, - "dependencies": { - "@types/estree": "^1.0.5", - "@webassemblyjs/ast": "^1.12.1", - "@webassemblyjs/wasm-edit": "^1.12.1", - "@webassemblyjs/wasm-parser": "^1.12.1", - "acorn": "^8.7.1", - "acorn-import-attributes": "^1.9.5", - "browserslist": "^4.21.10", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.1", - "es-module-lexer": "^1.2.1", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.11", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.2.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.10", - "watchpack": "^2.4.1", - "webpack-sources": "^3.2.3" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "peer": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/acorn": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "peer": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/webpack/node_modules/acorn-import-attributes": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", - "peer": true, - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^16.13.0 || >=18.0.0" - } - }, - "node_modules/world-calendars": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz", - "integrity": "sha512-sAjLZkBnsbHkHWVhrsCU5Sa/EVuf9QqgvrN8zyJ2L/F9FR9Oc6CvVK0674+PGAtmmmYQMH98tCUSO4QLQv3/TQ==", - "dependencies": { - "object-assign": "^4.1.0" - } - }, - "node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/wrap-ansi-cjs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "engines": { - "node": ">=0.4" - } - } - } -} diff --git a/js/package.json b/js/package.json deleted file mode 100644 index f7ad6a37993..00000000000 --- a/js/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "scripts": { - "build": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/package_data/widgetbundle.js widget.ts", - "watch": "npm run build -- --watch --sourcemap=inline", - "typecheck": "tsc --noEmit" - }, - "dependencies": { - "lodash-es": "^4.17.21", - "plotly.js": "3.0.1" - }, - "devDependencies": { - "@types/plotly.js": "^2.33.4", - "esbuild": "^0.23.1", - "typescript": "^5.6.2" - } -} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000000..82379219366 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5996 @@ +{ + "name": "plotly-jupyter-mime-renderer", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "plotly-jupyter-mime-renderer", + "version": "0.1.0", + "dependencies": { + "@lumino/widgets": "^1.16.0", + "lodash-es": "^4.17.21", + "plotly.js": "3.0.1" + }, + "devDependencies": { + "@jupyterlab/builder": "^4.3.6", + "@types/plotly.js": "^2.33.4", + "esbuild": "^0.23.1", + "typescript": "^5.6.2" + } + }, + "node_modules/@choojs/findup": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", + "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", + "dependencies": { + "commander": "^2.15.1" + }, + "bin": { + "findup": "bin/findup.js" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jupyterlab/builder": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@jupyterlab/builder/-/builder-4.3.6.tgz", + "integrity": "sha512-h96k18hl93G8lmGlMN0Tiu18Hz5rgsmjJu3nULPpa+U9tVgaWG61vv1e+UmzxEpMVUQ6nlNmoho29EP6gEAIaQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/application": "^2.4.1", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2", + "@lumino/widgets": "^2.5.0", + "ajv": "^8.12.0", + "commander": "^9.4.1", + "css-loader": "^6.7.1", + "duplicate-package-checker-webpack-plugin": "^3.0.0", + "fs-extra": "^10.1.0", + "glob": "~7.1.6", + "license-webpack-plugin": "^2.3.14", + "mini-css-extract-plugin": "^2.7.0", + "mini-svg-data-uri": "^1.4.4", + "path-browserify": "^1.0.0", + "process": "^0.11.10", + "source-map-loader": "~1.0.2", + "style-loader": "~3.3.1", + "supports-color": "^7.2.0", + "terser-webpack-plugin": "^5.3.7", + "webpack": "^5.76.1", + "webpack-cli": "^5.0.1", + "webpack-merge": "^5.8.0", + "worker-loader": "^3.0.2" + }, + "bin": { + "build-labextension": "lib/build-labextension.js" + } + }, + "node_modules/@jupyterlab/builder/node_modules/@lumino/widgets": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", + "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@jupyterlab/builder/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@jupyterlab/builder/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@jupyterlab/builder/node_modules/commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@jupyterlab/builder/node_modules/css-loader": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", + "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", + "dev": true, + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/@jupyterlab/builder/node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jupyterlab/builder/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/@jupyterlab/builder/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@jupyterlab/builder/node_modules/style-loader": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.4.tgz", + "integrity": "sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==", + "dev": true, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/@jupyterlab/builder/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@lumino/algorithm": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-2.0.2.tgz", + "integrity": "sha512-cI8yJ2+QK1yM5ZRU3Kuaw9fJ/64JEDZEwWWp7+U0cd/mvcZ44BGdJJ29w+tIet1QXxPAvnsUleWyQ5qm4qUouA==", + "dev": true + }, + "node_modules/@lumino/application": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@lumino/application/-/application-2.4.2.tgz", + "integrity": "sha512-fuY7zSzgl/N0gBX2HQsuXJWA05TEzNs+lcswg3sX5+clodEU7TadJIWuRP/PNHSJZODz1uz5QFvZ/lHpvj122Q==", + "dev": true, + "dependencies": { + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/widgets": "^2.6.0" + } + }, + "node_modules/@lumino/application/node_modules/@lumino/widgets": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", + "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@lumino/collections": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-2.0.2.tgz", + "integrity": "sha512-o0QmfV1D3WhAeA8GI1/YmEPaK89JtHVa764rQ5T0LdbDEwUtUDbjavHs1E/+y66tNTXz9RUJ4D2rcSb9tysYsg==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/commands": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-2.3.1.tgz", + "integrity": "sha512-DpX1kkE4PhILpvK1T4ZnaFb6UP4+YTkdZifvN3nbiomD64O2CTd+wcWIBpZMgy6MMgbVgrE8dzHxHk1EsKxNxw==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/keyboard": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@lumino/coreutils": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-2.2.0.tgz", + "integrity": "sha512-x5wnQ/GjWBayJ6vXVaUi6+Q6ETDdcUiH9eSfpRZFbgMQyyM6pi6baKqJBK2CHkCc/YbAEl6ipApTgm3KOJ/I3g==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/disposable": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-2.1.3.tgz", + "integrity": "sha512-k5KXy/+T3UItiWHY4WwQawnsJnGo3aNtP5CTRKqo4+tbTNuhc3rTSvygJlNKIbEfIZXW2EWYnwfFDozkYx95eA==", + "dev": true, + "dependencies": { + "@lumino/signaling": "^2.1.3" + } + }, + "node_modules/@lumino/domutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-2.0.2.tgz", + "integrity": "sha512-2Kp6YHaMNI1rKB0PrALvOsZBHPy2EvVVAvJLWjlCm8MpWOVETjFp0MA9QpMubT9I76aKbaI5s1o1NJyZ8Y99pQ==", + "dev": true + }, + "node_modules/@lumino/dragdrop": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-2.1.5.tgz", + "integrity": "sha512-zqwR4GakrQBKZOW6S5pj2nfrQDurOErAoe9x3HS3BKLa1AzWA+t9PD5NESOKd81NqXFHjiMirSyFkTUs6pw+uA==", + "dev": true, + "dependencies": { + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3" + } + }, + "node_modules/@lumino/keyboard": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-2.0.2.tgz", + "integrity": "sha512-icRUpvswDaFjqmAJNbQRb/aTu6Iugo6Y2oC08TiIwhQtLS9W+Ee9VofdqvbPSvCm6DkyP+DCWMuA3KXZ4V4g4g==", + "dev": true + }, + "node_modules/@lumino/messaging": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-2.0.2.tgz", + "integrity": "sha512-2sUF07cYA0f3mDil41Eh5sfBk0aGAH/mOh1I4+vyRUsKyBqp4WTUtpJFd8xVJGAntygxwnebIygkIaXXTIQvxA==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/collections": "^2.0.2" + } + }, + "node_modules/@lumino/properties": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-2.0.2.tgz", + "integrity": "sha512-b312oA3Bh97WFK8efXejYmC3DVJmvzJk72LQB7H3fXhfqS5jUWvL7MSnNmgcQvGzl9fIhDWDWjhtSTi0KGYYBg==", + "dev": true + }, + "node_modules/@lumino/signaling": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-2.1.3.tgz", + "integrity": "sha512-9Wd4iMk8F1i6pYjy65bqKuPlzQMicyL9xy1/ccS20kovPcfD074waneL/7BVe+3M8i+fGa3x2qjbWrBzOdTdNw==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/coreutils": "^2.2.0" + } + }, + "node_modules/@lumino/virtualdom": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-2.0.2.tgz", + "integrity": "sha512-HYZThOtZSoknjdXA102xpy5CiXtTFCVz45EXdWeYLx3NhuEwuAIX93QBBIhupalmtFlRg1yhdDNV40HxJ4kcXg==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/widgets": { + "version": "1.37.2", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-1.37.2.tgz", + "integrity": "sha512-NHKu1NBDo6ETBDoNrqSkornfUCwc8EFFzw6+LWBfYVxn2PIwciq2SdiJGEyNqL+0h/A9eVKb5ui5z4cwpRekmQ==", + "dependencies": { + "@lumino/algorithm": "^1.9.2", + "@lumino/commands": "^1.21.1", + "@lumino/coreutils": "^1.12.1", + "@lumino/disposable": "^1.10.4", + "@lumino/domutils": "^1.8.2", + "@lumino/dragdrop": "^1.14.5", + "@lumino/keyboard": "^1.8.2", + "@lumino/messaging": "^1.10.3", + "@lumino/properties": "^1.8.2", + "@lumino/signaling": "^1.11.1", + "@lumino/virtualdom": "^1.14.3" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/algorithm": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-1.9.2.tgz", + "integrity": "sha512-Z06lp/yuhz8CtIir3PNTGnuk7909eXt4ukJsCzChsGuot2l5Fbs96RJ/FOHgwCedaX74CtxPjXHXoszFbUA+4A==" + }, + "node_modules/@lumino/widgets/node_modules/@lumino/collections": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-1.9.3.tgz", + "integrity": "sha512-2i2Wf1xnfTgEgdyKEpqM16bcYRIhUOGCDzaVCEZACVG9R1CgYwOe3zfn71slBQOVSjjRgwYrgLXu4MBpt6YK+g==", + "dependencies": { + "@lumino/algorithm": "^1.9.2" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/commands": { + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-1.21.1.tgz", + "integrity": "sha512-d1zJmwz5bHU0BM/Rl3tRdZ7/WgXnFB0bM7x7Bf0XDlmX++jnU9k0j3mh6/5JqCGLmIApKCRwVqSaV7jPmSJlcQ==", + "dependencies": { + "@lumino/algorithm": "^1.9.2", + "@lumino/coreutils": "^1.12.1", + "@lumino/disposable": "^1.10.4", + "@lumino/domutils": "^1.8.2", + "@lumino/keyboard": "^1.8.2", + "@lumino/signaling": "^1.11.1", + "@lumino/virtualdom": "^1.14.3" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/coreutils": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-1.12.1.tgz", + "integrity": "sha512-JLu3nTHzJk9N8ohZ85u75YxemMrmDzJdNgZztfP7F7T7mxND3YVNCkJG35a6aJ7edu1sIgCjBxOvV+hv27iYvQ==", + "peerDependencies": { + "crypto": "1.0.1" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/disposable": { + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-1.10.4.tgz", + "integrity": "sha512-4ZxyYcyzUS+ZeB2KAH9oAH3w0DUUceiVr+FIZHZ2TAYGWZI/85WlqJtfm0xjwEpCwLLW1TDqJrISuZu3iMmVMA==", + "dependencies": { + "@lumino/algorithm": "^1.9.2", + "@lumino/signaling": "^1.11.1" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/domutils": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-1.8.2.tgz", + "integrity": "sha512-QIpMfkPJrs4GrWBuJf2Sn1fpyVPmvqUUAeD8xAQo8+4V5JAT0vUDLxZ9HijefMgNCi3+Bs8Z3lQwRCrz+cFP1A==" + }, + "node_modules/@lumino/widgets/node_modules/@lumino/dragdrop": { + "version": "1.14.5", + "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-1.14.5.tgz", + "integrity": "sha512-LC5xB82+xGF8hFyl716TMpV32OIMIMl+s3RU1PaqDkD6B7PkgiVk6NkJ4X9/GcEvl2igkvlGQt/3L7qxDAJNxw==", + "dependencies": { + "@lumino/coreutils": "^1.12.1", + "@lumino/disposable": "^1.10.4" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/keyboard": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-1.8.2.tgz", + "integrity": "sha512-Dy+XqQ1wXbcnuYtjys5A0pAqf4SpAFl9NY6owyIhXAo0Va7w3LYp3jgiP1xAaBAwMuUppiUAfrbjrysZuZ625g==" + }, + "node_modules/@lumino/widgets/node_modules/@lumino/messaging": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-1.10.3.tgz", + "integrity": "sha512-F/KOwMCdqvdEG8CYAJcBSadzp6aI7a47Fr60zAKGqZATSRRRV41q53iXU7HjFPqQqQIvdn9Z7J32rBEAyQAzww==", + "dependencies": { + "@lumino/algorithm": "^1.9.2", + "@lumino/collections": "^1.9.3" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/properties": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-1.8.2.tgz", + "integrity": "sha512-EkjI9Cw8R0U+xC9HxdFSu7X1tz1H1vKu20cGvJ2gU+CXlMB1DvoYJCYxCThByHZ+kURTAap4SE5x8HvKwNPbig==" + }, + "node_modules/@lumino/widgets/node_modules/@lumino/signaling": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-1.11.1.tgz", + "integrity": "sha512-YCUmgw08VoyMN5KxzqPO3KMx+cwdPv28tAN06C0K7Q/dQf+oufb1XocuhZb5selTrTmmuXeizaYxgLIQGdS1fA==", + "dependencies": { + "@lumino/algorithm": "^1.9.2", + "@lumino/properties": "^1.8.2" + } + }, + "node_modules/@lumino/widgets/node_modules/@lumino/virtualdom": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-1.14.3.tgz", + "integrity": "sha512-5joUC1yuxeXbpfbSBm/OR8Mu9HoTo6PDX0RKqzlJ9o97iml7zayFN/ynzcxScKGQAo9iaXOY8uVIvGUT8FnsGw==", + "dependencies": { + "@lumino/algorithm": "^1.9.2" + } + }, + "node_modules/@mapbox/geojson-rewind": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz", + "integrity": "sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==", + "dependencies": { + "get-stream": "^6.0.1", + "minimist": "^1.2.6" + }, + "bin": { + "geojson-rewind": "geojson-rewind" + } + }, + "node_modules/@mapbox/geojson-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", + "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" + }, + "node_modules/@mapbox/jsonlint-lines-primitives": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", + "integrity": "sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@mapbox/mapbox-gl-supported": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz", + "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==", + "peerDependencies": { + "mapbox-gl": ">=0.32.1 <2.0.0" + } + }, + "node_modules/@mapbox/point-geometry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", + "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==" + }, + "node_modules/@mapbox/tiny-sdf": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz", + "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==" + }, + "node_modules/@mapbox/unitbezier": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", + "integrity": "sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==" + }, + "node_modules/@mapbox/vector-tile": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", + "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", + "dependencies": { + "@mapbox/point-geometry": "~0.1.0" + } + }, + "node_modules/@mapbox/whoots-js": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", + "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@maplibre/maplibre-gl-style-spec": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", + "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", + "dependencies": { + "@mapbox/jsonlint-lines-primitives": "~2.0.2", + "@mapbox/unitbezier": "^0.0.1", + "json-stringify-pretty-compact": "^4.0.0", + "minimist": "^1.2.8", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "tinyqueue": "^3.0.0" + }, + "bin": { + "gl-style-format": "dist/gl-style-format.mjs", + "gl-style-migrate": "dist/gl-style-migrate.mjs", + "gl-style-validate": "dist/gl-style-validate.mjs" + } + }, + "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/@mapbox/unitbezier": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", + "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" + }, + "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/tinyqueue": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", + "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" + }, + "node_modules/@parcel/watcher": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.0.tgz", + "integrity": "sha512-i0GV1yJnm2n3Yq1qw6QrUrd/LI9bE8WEBOTtOkpCXHHdyN3TAGgqAK/DAT05z4fq2x04cARXt2pDmjWjL92iTQ==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.0", + "@parcel/watcher-darwin-arm64": "2.5.0", + "@parcel/watcher-darwin-x64": "2.5.0", + "@parcel/watcher-freebsd-x64": "2.5.0", + "@parcel/watcher-linux-arm-glibc": "2.5.0", + "@parcel/watcher-linux-arm-musl": "2.5.0", + "@parcel/watcher-linux-arm64-glibc": "2.5.0", + "@parcel/watcher-linux-arm64-musl": "2.5.0", + "@parcel/watcher-linux-x64-glibc": "2.5.0", + "@parcel/watcher-linux-x64-musl": "2.5.0", + "@parcel/watcher-win32-arm64": "2.5.0", + "@parcel/watcher-win32-ia32": "2.5.0", + "@parcel/watcher-win32-x64": "2.5.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.0.tgz", + "integrity": "sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.0.tgz", + "integrity": "sha512-hyZ3TANnzGfLpRA2s/4U1kbw2ZI4qGxaRJbBH2DCSREFfubMswheh8TeiC1sGZ3z2jUf3s37P0BBlrD3sjVTUw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.0.tgz", + "integrity": "sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.0.tgz", + "integrity": "sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.0.tgz", + "integrity": "sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.0.tgz", + "integrity": "sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.0.tgz", + "integrity": "sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.0.tgz", + "integrity": "sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.0.tgz", + "integrity": "sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.0.tgz", + "integrity": "sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.0.tgz", + "integrity": "sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.0.tgz", + "integrity": "sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.0.tgz", + "integrity": "sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@plotly/d3": { + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/@plotly/d3/-/d3-3.8.2.tgz", + "integrity": "sha512-wvsNmh1GYjyJfyEBPKJLTMzgf2c2bEbSIL50lmqVUi+o1NHaLPi1Lb4v7VxXXJn043BhNyrxUrWI85Q+zmjOVA==" + }, + "node_modules/@plotly/d3-sankey": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz", + "integrity": "sha512-2jdVos1N3mMp3QW0k2q1ph7Gd6j5PY1YihBrwpkFnKqO+cqtZq3AdEYUeSGXMeLsBDQYiqTVcihYfk8vr5tqhw==", + "dependencies": { + "d3-array": "1", + "d3-collection": "1", + "d3-shape": "^1.2.0" + } + }, + "node_modules/@plotly/d3-sankey-circular": { + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz", + "integrity": "sha512-FgBV1HEvCr3DV7RHhDsPXyryknucxtfnLwPtCKKxdolKyTFYoLX/ibEfX39iFYIL7DYbVeRtP43dbFcrHNE+KQ==", + "dependencies": { + "d3-array": "^1.2.1", + "d3-collection": "^1.0.4", + "d3-shape": "^1.2.0", + "elementary-circuits-directed-graph": "^1.0.4" + } + }, + "node_modules/@plotly/mapbox-gl": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/@plotly/mapbox-gl/-/mapbox-gl-1.13.4.tgz", + "integrity": "sha512-sR3/Pe5LqT/fhYgp4rT4aSFf1rTsxMbGiH6Hojc7PH36ny5Bn17iVFUjpzycafETURuFbLZUfjODO8LvSI+5zQ==", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/geojson-types": "^1.0.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/mapbox-gl-supported": "^1.5.0", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^1.1.1", + "@mapbox/unitbezier": "^0.0.0", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "csscolorparser": "~1.0.3", + "earcut": "^2.2.2", + "geojson-vt": "^3.2.1", + "gl-matrix": "^3.2.1", + "grid-index": "^1.1.0", + "murmurhash-js": "^1.0.0", + "pbf": "^3.2.1", + "potpack": "^1.0.1", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "supercluster": "^7.1.0", + "tinyqueue": "^2.0.3", + "vt-pbf": "^3.1.1" + }, + "engines": { + "node": ">=6.4.0" + } + }, + "node_modules/@plotly/point-cluster": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", + "integrity": "sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw==", + "dependencies": { + "array-bounds": "^1.0.1", + "binary-search-bounds": "^2.0.4", + "clamp": "^1.0.1", + "defined": "^1.0.0", + "dtype": "^2.0.0", + "flatten-vertex-data": "^1.0.2", + "is-obj": "^1.0.1", + "math-log2": "^1.0.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0" + } + }, + "node_modules/@turf/area": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@turf/area/-/area-7.1.0.tgz", + "integrity": "sha512-w91FEe02/mQfMPRX2pXua48scFuKJ2dSVMF2XmJ6+BJfFiCPxp95I3+Org8+ZsYv93CDNKbf0oLNEPnuQdgs2g==", + "dependencies": { + "@turf/helpers": "^7.1.0", + "@turf/meta": "^7.1.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.6.2" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/bbox": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.1.0.tgz", + "integrity": "sha512-PdWPz9tW86PD78vSZj2fiRaB8JhUHy6piSa/QXb83lucxPK+HTAdzlDQMTKj5okRCU8Ox/25IR2ep9T8NdopRA==", + "dependencies": { + "@turf/helpers": "^7.1.0", + "@turf/meta": "^7.1.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.6.2" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/centroid": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-7.1.0.tgz", + "integrity": "sha512-1Y1b2l+ZB1CZ+ITjUCsGqC4/tSjwm/R4OUfDztVqyyCq/VvezkLmTNqvXTGXgfP0GXkpv68iCfxF5M7QdM5pJQ==", + "dependencies": { + "@turf/helpers": "^7.1.0", + "@turf/meta": "^7.1.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.6.2" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/helpers": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.1.0.tgz", + "integrity": "sha512-dTeILEUVeNbaEeoZUOhxH5auv7WWlOShbx7QSd4s0T4Z0/iz90z9yaVCtZOLbU89umKotwKaJQltBNO9CzVgaQ==", + "dependencies": { + "@types/geojson": "^7946.0.10", + "tslib": "^2.6.2" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/meta": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.1.0.tgz", + "integrity": "sha512-ZgGpWWiKz797Fe8lfRj7HKCkGR+nSJ/5aKXMyofCvLSc2PuYJs/qyyifDPWjASQQCzseJ7AlF2Pc/XQ/3XkkuA==", + "dependencies": { + "@turf/helpers": "^7.1.0", + "@types/geojson": "^7946.0.10" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==" + }, + "node_modules/@types/geojson": { + "version": "7946.0.14", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz", + "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==" + }, + "node_modules/@types/geojson-vt": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@types/geojson-vt/-/geojson-vt-3.2.5.tgz", + "integrity": "sha512-qDO7wqtprzlpe8FfQ//ClPV9xiuoh2nkIgiouIptON9w5jvD/fA4szvP9GBlDVdJ5dldAl0kX/sy3URbWwLx0g==", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + }, + "node_modules/@types/less": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.6.tgz", + "integrity": "sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw==" + }, + "node_modules/@types/mapbox__point-geometry": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz", + "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==" + }, + "node_modules/@types/mapbox__vector-tile": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz", + "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==", + "dependencies": { + "@types/geojson": "*", + "@types/mapbox__point-geometry": "*", + "@types/pbf": "*" + } + }, + "node_modules/@types/node": { + "version": "22.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", + "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", + "dependencies": { + "undici-types": "~6.19.8" + } + }, + "node_modules/@types/pbf": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz", + "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==" + }, + "node_modules/@types/plotly.js": { + "version": "2.33.4", + "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-2.33.4.tgz", + "integrity": "sha512-BzAbsJTiUQyALkkYx1D31YZ9YvcU2ag3LlE/iePMo19eDPvM30cbM2EFNIcu31n39EhXj/9G7800XLA8/rfApA==", + "dev": true + }, + "node_modules/@types/sass": { + "version": "1.45.0", + "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.45.0.tgz", + "integrity": "sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==", + "deprecated": "This is a stub types definition. sass provides its own type definitions, so you do not need this installed.", + "dependencies": { + "sass": "*" + } + }, + "node_modules/@types/source-list-map": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.6.tgz", + "integrity": "sha512-5JcVt1u5HDmlXkwOD2nslZVllBBc7HDuOICfiZah2Z0is8M8g+ddAEawbmd3VjedfDHBzxCaXLs07QEmb7y54g==", + "dev": true + }, + "node_modules/@types/stylus": { + "version": "0.48.43", + "resolved": "https://registry.npmjs.org/@types/stylus/-/stylus-0.48.43.tgz", + "integrity": "sha512-72dv/zdhuyXWVHUXG2VTPEQdOG+oen95/DNFx2aMFFaY6LoITI6PwEqf5x31JF49kp2w9hvUzkNfTGBIeg61LQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/supercluster": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz", + "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/webpack-sources": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-0.1.12.tgz", + "integrity": "sha512-+vRVqE3LzMLLVPgZHUeI8k1YmvgEky+MOir5fQhKvFxpB8uZ0CFnGqxkRAmf8jvNhUBQzhuGZpIMNWZDeEyDIA==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/source-list-map": "*", + "source-map": "^0.6.1" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", + "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", + "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", + "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.12.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", + "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-opt": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1", + "@webassemblyjs/wast-printer": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", + "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", + "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", + "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", + "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", + "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", + "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", + "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "deprecated": "Use your platform's native atob() and btoa() methods instead", + "dev": true + }, + "node_modules/abs-svg-path": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz", + "integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==" + }, + "node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/almost-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/almost-equal/-/almost-equal-1.1.0.tgz", + "integrity": "sha512-0V/PkoculFl5+0Lp47JoxUcO0xSxhIBvm+BxHdD/OgXNmdRpRHCFnKVuUoWyS9EzQP+otSGv0m9Lb4yVkQBn2A==" + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/array-bounds": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-bounds/-/array-bounds-1.0.1.tgz", + "integrity": "sha512-8wdW3ZGk6UjMPJx/glyEt0sLzzwAE1bhToPsO1W2pbpR2gULyxe3BjSiuJFheP50T/GgODVPz2fuMUmIywt8cQ==" + }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-normalize": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", + "integrity": "sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg==", + "dependencies": { + "array-bounds": "^1.0.0" + } + }, + "node_modules/array-range": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-range/-/array-range-1.0.1.tgz", + "integrity": "sha512-shdaI1zT3CVNL2hnx9c0JMc0ZogGaxDs5e85akgHWKYa0yVbIyp06Ind3dVkTj/uuFrzaHBOyqFzo+VV6aXgtA==" + }, + "node_modules/array-rearrange": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/array-rearrange/-/array-rearrange-2.2.2.tgz", + "integrity": "sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-search-bounds": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz", + "integrity": "sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==" + }, + "node_modules/bit-twiddle": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bit-twiddle/-/bit-twiddle-1.0.2.tgz", + "integrity": "sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA==" + }, + "node_modules/bitmap-sdf": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/bitmap-sdf/-/bitmap-sdf-1.0.4.tgz", + "integrity": "sha512-1G3U4n5JE6RAiALMxu0p1XmeZkTeCwGKykzsLTCqVzfSDaN6S7fKnkIkfejogz+iwqBWc0UYAIKnKHNN7pSfDg==" + }, + "node_modules/bl": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", + "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", + "dependencies": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "optional": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001675", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001675.tgz", + "integrity": "sha512-/wV1bQwPrkLiQMjaJF5yUMVM/VdRPOCU8QZ+PmG6uW6DvYSrNY1bpwHI/3mOcUosLaJCzYDi5o91IQB51ft6cg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/canvas-fit": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/canvas-fit/-/canvas-fit-1.5.0.tgz", + "integrity": "sha512-onIcjRpz69/Hx5bB5HGbYKUF2uC6QT6Gp+pfpGm3A7mPfcluSLV5v4Zu+oflDUwLdUw0rLIBhUbi0v8hM4FJQQ==", + "dependencies": { + "element-size": "^1.1.1" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/chalk/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/chalk/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", + "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/clamp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz", + "integrity": "sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==" + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/color-alpha": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/color-alpha/-/color-alpha-1.0.4.tgz", + "integrity": "sha512-lr8/t5NPozTSqli+duAN+x+no/2WaKTeWvxhHGN+aXT6AJ8vPlzLa7UriyjWak0pSC2jHol9JgjBYnnHsGha9A==", + "dependencies": { + "color-parse": "^1.3.8" + } + }, + "node_modules/color-alpha/node_modules/color-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", + "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-id": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/color-id/-/color-id-1.1.0.tgz", + "integrity": "sha512-2iRtAn6dC/6/G7bBIo0uupVrIne1NsQJvJxZOBCzQOfk7jRq97feaDZ3RdzuHakRXXnHGNwglto3pqtRx1sX0g==", + "dependencies": { + "clamp": "^1.0.1" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-normalize": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/color-normalize/-/color-normalize-1.5.0.tgz", + "integrity": "sha512-rUT/HDXMr6RFffrR53oX3HGWkDOP9goSAQGBkUaAYKjOE2JxozccdGyufageWDlInRAjm/jYPrf/Y38oa+7obw==", + "dependencies": { + "clamp": "^1.0.1", + "color-rgba": "^2.1.1", + "dtype": "^2.0.0" + } + }, + "node_modules/color-parse": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-2.0.0.tgz", + "integrity": "sha512-g2Z+QnWsdHLppAbrpcFWo629kLOnOPtpxYV69GCqm92gqSgyXbzlfyN3MXs0412fPBkFmiuS+rXposgBgBa6Kg==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-rgba": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-2.1.1.tgz", + "integrity": "sha512-VaX97wsqrMwLSOR6H7rU1Doa2zyVdmShabKrPEIFywLlHoibgD3QW9Dw6fSqM4+H/LfjprDNAUUW31qEQcGzNw==", + "dependencies": { + "clamp": "^1.0.1", + "color-parse": "^1.3.8", + "color-space": "^1.14.6" + } + }, + "node_modules/color-rgba/node_modules/color-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", + "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-space": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/color-space/-/color-space-1.16.0.tgz", + "integrity": "sha512-A6WMiFzunQ8KEPFmj02OnnoUnqhmSaHaZ/0LVFcPTdlvm8+3aMJ5x1HRHy3bDHPkovkf4sS0f4wsVvwk71fKkg==", + "dependencies": { + "hsluv": "^0.0.3", + "mumath": "^3.3.4" + } + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/country-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/country-regex/-/country-regex-1.1.0.tgz", + "integrity": "sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA==" + }, + "node_modules/cross-spawn": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", + "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz", + "integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==", + "deprecated": "This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.", + "peer": true + }, + "node_modules/css-font": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-font/-/css-font-1.2.0.tgz", + "integrity": "sha512-V4U4Wps4dPDACJ4WpgofJ2RT5Yqwe1lEH6wlOOaIxMi0gTjdIijsc5FmxQlZ7ZZyKQkkutqqvULOp07l9c7ssA==", + "dependencies": { + "css-font-size-keywords": "^1.0.0", + "css-font-stretch-keywords": "^1.0.1", + "css-font-style-keywords": "^1.0.1", + "css-font-weight-keywords": "^1.0.0", + "css-global-keywords": "^1.0.1", + "css-system-font-keywords": "^1.0.0", + "pick-by-alias": "^1.2.0", + "string-split-by": "^1.0.0", + "unquote": "^1.1.0" + } + }, + "node_modules/css-font-size-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz", + "integrity": "sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q==" + }, + "node_modules/css-font-stretch-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz", + "integrity": "sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg==" + }, + "node_modules/css-font-style-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz", + "integrity": "sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg==" + }, + "node_modules/css-font-weight-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz", + "integrity": "sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA==" + }, + "node_modules/css-global-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-global-keywords/-/css-global-keywords-1.0.1.tgz", + "integrity": "sha512-X1xgQhkZ9n94WDwntqst5D/FKkmiU0GlJSFZSV3kLvyJ1WC5VeyoXDOuleUD+SIuH9C7W05is++0Woh0CGfKjQ==" + }, + "node_modules/css-loader": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", + "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.27.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/css-system-font-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz", + "integrity": "sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA==" + }, + "node_modules/csscolorparser": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", + "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/d": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", + "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", + "dependencies": { + "es5-ext": "^0.10.64", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/d3-array": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" + }, + "node_modules/d3-collection": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", + "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", + "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==" + }, + "node_modules/d3-force": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", + "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", + "dependencies": { + "d3-collection": "1", + "d3-dispatch": "1", + "d3-quadtree": "1", + "d3-timer": "1" + } + }, + "node_modules/d3-format": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", + "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" + }, + "node_modules/d3-geo": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", + "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", + "dependencies": { + "d3-array": "1" + } + }, + "node_modules/d3-geo-projection": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/d3-geo-projection/-/d3-geo-projection-2.9.0.tgz", + "integrity": "sha512-ZULvK/zBn87of5rWAfFMc9mJOipeSo57O+BBitsKIXmU4rTVAnX1kSsJkE0R+TxY8pGNoM1nbyRRE7GYHhdOEQ==", + "dependencies": { + "commander": "2", + "d3-array": "1", + "d3-geo": "^1.12.0", + "resolve": "^1.1.10" + }, + "bin": { + "geo2svg": "bin/geo2svg", + "geograticule": "bin/geograticule", + "geoproject": "bin/geoproject", + "geoquantize": "bin/geoquantize", + "geostitch": "bin/geostitch" + } + }, + "node_modules/d3-hierarchy": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", + "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" + }, + "node_modules/d3-quadtree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", + "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==" + }, + "node_modules/d3-shape": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", + "dependencies": { + "d3-path": "1" + } + }, + "node_modules/d3-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" + }, + "node_modules/d3-time-format": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", + "dependencies": { + "d3-time": "1" + } + }, + "node_modules/d3-timer": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/defined": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", + "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/detect-kerning": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-kerning/-/detect-kerning-2.1.2.tgz", + "integrity": "sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw==" + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/draw-svg-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/draw-svg-path/-/draw-svg-path-1.0.0.tgz", + "integrity": "sha512-P8j3IHxcgRMcY6sDzr0QvJDLzBnJJqpTG33UZ2Pvp8rw0apCHhJCWqYprqrXjrgHnJ6tuhP1iTJSAodPDHxwkg==", + "dependencies": { + "abs-svg-path": "~0.1.1", + "normalize-svg-path": "~0.1.0" + } + }, + "node_modules/dtype": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz", + "integrity": "sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/dup": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dup/-/dup-1.0.0.tgz", + "integrity": "sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA==" + }, + "node_modules/duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dependencies": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/duplicate-package-checker-webpack-plugin": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-3.0.0.tgz", + "integrity": "sha512-aO50/qPC7X2ChjRFniRiscxBLT/K01bALqfcDaf8Ih5OqQ1N4iT/Abx9Ofu3/ms446vHTm46FACIuJUmgUQcDQ==", + "dev": true, + "dependencies": { + "chalk": "^2.3.0", + "find-root": "^1.0.0", + "lodash": "^4.17.4", + "semver": "^5.4.1" + } + }, + "node_modules/duplicate-package-checker-webpack-plugin/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/earcut": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", + "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.49", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.49.tgz", + "integrity": "sha512-ZXfs1Of8fDb6z7WEYZjXpgIRF6MEu8JdeGA0A40aZq6OQbS+eJpnnV49epZRna2DU/YsEjSQuGtQPPtvt6J65A==" + }, + "node_modules/element-size": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/element-size/-/element-size-1.1.1.tgz", + "integrity": "sha512-eaN+GMOq/Q+BIWy0ybsgpcYImjGIdNLyjLFJU4XsLHXYQao5jCNb36GyN6C2qwmDDYSfIBmKpPpr4VnBdLCsPQ==" + }, + "node_modules/elementary-circuits-directed-graph": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz", + "integrity": "sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ==", + "dependencies": { + "strongly-connected-components": "^1.0.1" + } + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/envinfo": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", + "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==" + }, + "node_modules/es5-ext": { + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", + "hasInstallScript": true, + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/es6-symbol": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", + "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", + "dependencies": { + "d": "^1.0.2", + "ext": "^1.7.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/es6-weak-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", + "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/esbuild": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" + } + }, + "node_modules/esbuild-style-plugin": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/esbuild-style-plugin/-/esbuild-style-plugin-1.6.3.tgz", + "integrity": "sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==", + "dependencies": { + "@types/less": "^3.0.3", + "@types/sass": "^1.43.1", + "@types/stylus": "^0.48.38", + "glob": "^10.2.2", + "postcss": "^8.4.31", + "postcss-modules": "^6.0.0" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/ext": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "dependencies": { + "type": "^2.7.2" + } + }, + "node_modules/falafel": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.2.5.tgz", + "integrity": "sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ==", + "dependencies": { + "acorn": "^7.1.1", + "isarray": "^2.0.1" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-isnumeric": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz", + "integrity": "sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw==", + "dependencies": { + "is-string-blank": "^1.0.1" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ] + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "dev": true + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flatten-vertex-data": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz", + "integrity": "sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw==", + "dependencies": { + "dtype": "^2.0.0" + } + }, + "node_modules/font-atlas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/font-atlas/-/font-atlas-2.1.0.tgz", + "integrity": "sha512-kP3AmvX+HJpW4w3d+PiPR2X6E1yvsBXt2yhuCw+yReO9F1WYhvZwx3c95DGZGwg9xYzDGrgJYa885xmVA+28Cg==", + "dependencies": { + "css-font": "^1.0.0" + } + }, + "node_modules/font-measure": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/font-measure/-/font-measure-1.2.2.tgz", + "integrity": "sha512-mRLEpdrWzKe9hbfaF3Qpr06TAjquuBVP5cHy4b3hyeNdjc9i0PO6HniGsX5vjL5OWv7+Bd++NiooNpT/s8BvIA==", + "dependencies": { + "css-font": "^1.2.0" + } + }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generic-names": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-4.0.0.tgz", + "integrity": "sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==", + "dependencies": { + "loader-utils": "^3.2.0" + } + }, + "node_modules/geojson-vt": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", + "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==" + }, + "node_modules/get-canvas-context": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz", + "integrity": "sha512-LnpfLf/TNzr9zVOGiIY6aKCz8EKuXmlYNV7CM2pUjBa/B+c2I15tS7KLySep75+FuerJdmArvJLcsAXWEy2H0A==" + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gl-mat4": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gl-mat4/-/gl-mat4-1.2.0.tgz", + "integrity": "sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA==" + }, + "node_modules/gl-matrix": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz", + "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==" + }, + "node_modules/gl-text": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/gl-text/-/gl-text-1.4.0.tgz", + "integrity": "sha512-o47+XBqLCj1efmuNyCHt7/UEJmB9l66ql7pnobD6p+sgmBUdzfMZXIF0zD2+KRfpd99DJN+QXdvTFAGCKCVSmQ==", + "dependencies": { + "bit-twiddle": "^1.0.2", + "color-normalize": "^1.5.0", + "css-font": "^1.2.0", + "detect-kerning": "^2.1.2", + "es6-weak-map": "^2.0.3", + "flatten-vertex-data": "^1.0.2", + "font-atlas": "^2.1.0", + "font-measure": "^1.2.2", + "gl-util": "^3.1.2", + "is-plain-obj": "^1.1.0", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "parse-unit": "^1.0.1", + "pick-by-alias": "^1.2.0", + "regl": "^2.0.0", + "to-px": "^1.0.1", + "typedarray-pool": "^1.1.0" + } + }, + "node_modules/gl-util": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.3.tgz", + "integrity": "sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA==", + "dependencies": { + "is-browser": "^2.0.1", + "is-firefox": "^1.0.3", + "is-plain-obj": "^1.1.0", + "number-is-integer": "^1.0.1", + "object-assign": "^4.1.0", + "pick-by-alias": "^1.2.0", + "weak-map": "^1.0.5" + } + }, + "node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + }, + "node_modules/global-prefix": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-4.0.0.tgz", + "integrity": "sha512-w0Uf9Y9/nyHinEk5vMJKRie+wa4kR5hmDbEhGGds/kG1PwGLLHKRoNMeJOyCQjjBkANlnScqgzcFwGHgmgLkVA==", + "dependencies": { + "ini": "^4.1.3", + "kind-of": "^6.0.3", + "which": "^4.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/glsl-inject-defines": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz", + "integrity": "sha512-W49jIhuDtF6w+7wCMcClk27a2hq8znvHtlGnrYkSWEr8tHe9eA2dcnohlcAmxLYBSpSSdzOkRdyPTrx9fw49+A==", + "dependencies": { + "glsl-token-inject-block": "^1.0.0", + "glsl-token-string": "^1.0.1", + "glsl-tokenizer": "^2.0.2" + } + }, + "node_modules/glsl-resolve": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/glsl-resolve/-/glsl-resolve-0.0.1.tgz", + "integrity": "sha512-xxFNsfnhZTK9NBhzJjSBGX6IOqYpvBHxxmo+4vapiljyGNCY0Bekzn0firQkQrazK59c1hYxMDxYS8MDlhw4gA==", + "dependencies": { + "resolve": "^0.6.1", + "xtend": "^2.1.2" + } + }, + "node_modules/glsl-resolve/node_modules/resolve": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-0.6.3.tgz", + "integrity": "sha512-UHBY3viPlJKf85YijDUcikKX6tmF4SokIDp518ZDVT92JNDcG5uKIthaT/owt3Sar0lwtOafsQuwrg22/v2Dwg==" + }, + "node_modules/glsl-resolve/node_modules/xtend": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.2.0.tgz", + "integrity": "sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/glsl-token-assignments": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/glsl-token-assignments/-/glsl-token-assignments-2.0.2.tgz", + "integrity": "sha512-OwXrxixCyHzzA0U2g4btSNAyB2Dx8XrztY5aVUCjRSh4/D0WoJn8Qdps7Xub3sz6zE73W3szLrmWtQ7QMpeHEQ==" + }, + "node_modules/glsl-token-defines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/glsl-token-defines/-/glsl-token-defines-1.0.0.tgz", + "integrity": "sha512-Vb5QMVeLjmOwvvOJuPNg3vnRlffscq2/qvIuTpMzuO/7s5kT+63iL6Dfo2FYLWbzuiycWpbC0/KV0biqFwHxaQ==", + "dependencies": { + "glsl-tokenizer": "^2.0.0" + } + }, + "node_modules/glsl-token-depth": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/glsl-token-depth/-/glsl-token-depth-1.1.2.tgz", + "integrity": "sha512-eQnIBLc7vFf8axF9aoi/xW37LSWd2hCQr/3sZui8aBJnksq9C7zMeUYHVJWMhFzXrBU7fgIqni4EhXVW4/krpg==" + }, + "node_modules/glsl-token-descope": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/glsl-token-descope/-/glsl-token-descope-1.0.2.tgz", + "integrity": "sha512-kS2PTWkvi/YOeicVjXGgX5j7+8N7e56srNDEHDTVZ1dcESmbmpmgrnpjPcjxJjMxh56mSXYoFdZqb90gXkGjQw==", + "dependencies": { + "glsl-token-assignments": "^2.0.0", + "glsl-token-depth": "^1.1.0", + "glsl-token-properties": "^1.0.0", + "glsl-token-scope": "^1.1.0" + } + }, + "node_modules/glsl-token-inject-block": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/glsl-token-inject-block/-/glsl-token-inject-block-1.1.0.tgz", + "integrity": "sha512-q/m+ukdUBuHCOtLhSr0uFb/qYQr4/oKrPSdIK2C4TD+qLaJvqM9wfXIF/OOBjuSA3pUoYHurVRNao6LTVVUPWA==" + }, + "node_modules/glsl-token-properties": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz", + "integrity": "sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==" + }, + "node_modules/glsl-token-scope": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/glsl-token-scope/-/glsl-token-scope-1.1.2.tgz", + "integrity": "sha512-YKyOMk1B/tz9BwYUdfDoHvMIYTGtVv2vbDSLh94PT4+f87z21FVdou1KNKgF+nECBTo0fJ20dpm0B1vZB1Q03A==" + }, + "node_modules/glsl-token-string": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/glsl-token-string/-/glsl-token-string-1.0.1.tgz", + "integrity": "sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg==" + }, + "node_modules/glsl-token-whitespace-trim": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/glsl-token-whitespace-trim/-/glsl-token-whitespace-trim-1.0.0.tgz", + "integrity": "sha512-ZJtsPut/aDaUdLUNtmBYhaCmhIjpKNg7IgZSfX5wFReMc2vnj8zok+gB/3Quqs0TsBSX/fGnqUUYZDqyuc2xLQ==" + }, + "node_modules/glsl-tokenizer": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/glsl-tokenizer/-/glsl-tokenizer-2.1.5.tgz", + "integrity": "sha512-XSZEJ/i4dmz3Pmbnpsy3cKh7cotvFlBiZnDOwnj/05EwNp2XrhQ4XKJxT7/pDt4kp4YcpRSKz8eTV7S+mwV6MA==", + "dependencies": { + "through2": "^0.6.3" + } + }, + "node_modules/glsl-tokenizer/node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" + }, + "node_modules/glsl-tokenizer/node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/glsl-tokenizer/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + }, + "node_modules/glsl-tokenizer/node_modules/through2": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", + "dependencies": { + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + }, + "node_modules/glslify": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.1.1.tgz", + "integrity": "sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog==", + "dependencies": { + "bl": "^2.2.1", + "concat-stream": "^1.5.2", + "duplexify": "^3.4.5", + "falafel": "^2.1.0", + "from2": "^2.3.0", + "glsl-resolve": "0.0.1", + "glsl-token-whitespace-trim": "^1.0.0", + "glslify-bundle": "^5.0.0", + "glslify-deps": "^1.2.5", + "minimist": "^1.2.5", + "resolve": "^1.1.5", + "stack-trace": "0.0.9", + "static-eval": "^2.0.5", + "through2": "^2.0.1", + "xtend": "^4.0.0" + }, + "bin": { + "glslify": "bin.js" + } + }, + "node_modules/glslify-bundle": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-5.1.1.tgz", + "integrity": "sha512-plaAOQPv62M1r3OsWf2UbjN0hUYAB7Aph5bfH58VxJZJhloRNbxOL9tl/7H71K7OLJoSJ2ZqWOKk3ttQ6wy24A==", + "dependencies": { + "glsl-inject-defines": "^1.0.1", + "glsl-token-defines": "^1.0.0", + "glsl-token-depth": "^1.1.1", + "glsl-token-descope": "^1.0.2", + "glsl-token-scope": "^1.1.1", + "glsl-token-string": "^1.0.1", + "glsl-token-whitespace-trim": "^1.0.0", + "glsl-tokenizer": "^2.0.2", + "murmurhash-js": "^1.0.0", + "shallow-copy": "0.0.1" + } + }, + "node_modules/glslify-deps": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.2.tgz", + "integrity": "sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag==", + "dependencies": { + "@choojs/findup": "^0.2.0", + "events": "^3.2.0", + "glsl-resolve": "0.0.1", + "glsl-tokenizer": "^2.0.0", + "graceful-fs": "^4.1.2", + "inherits": "^2.0.1", + "map-limit": "0.0.1", + "resolve": "^1.0.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/grid-index": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", + "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-hover": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-hover/-/has-hover-1.0.1.tgz", + "integrity": "sha512-0G6w7LnlcpyDzpeGUTuT0CEw05+QlMuGVk1IHNAlHrGJITGodjZu3x8BNDUMfKJSZXNB2ZAclqc1bvrd+uUpfg==", + "dependencies": { + "is-browser": "^2.0.1" + } + }, + "node_modules/has-passive-events": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-passive-events/-/has-passive-events-1.0.0.tgz", + "integrity": "sha512-2vSj6IeIsgvsRMyeQ0JaCX5Q3lX4zMn5HpoVc7MEhQ6pv8Iq9rsXjsp+E5ZwaT7T0xhMT0KmU8gtt1EFVdbJiw==", + "dependencies": { + "is-browser": "^2.0.1" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hsluv": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/hsluv/-/hsluv-0.0.3.tgz", + "integrity": "sha512-08iL2VyCRbkQKBySkSh6m8zMUa3sADAxGVWs3Z1aPcUkTJeK0ETG4Fc27tEmQBGUAXZjIsXOZqBvacuVNSC/fQ==" + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/immutable": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.2.tgz", + "integrity": "sha512-1NU7hWZDkV7hJ4PJ9dur9gTNQ4ePNPN4k9/0YhwjzykTi/+3Q5pF93YU5QoVj8BuOnhLgaY8gs0U2pj4kSYVcw==" + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", + "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/is-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", + "integrity": "sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ==" + }, + "node_modules/is-core-module": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-firefox": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-firefox/-/is-firefox-1.0.3.tgz", + "integrity": "sha512-6Q9ITjvWIm0Xdqv+5U12wgOKEM2KoBw4Y926m0OFkvlCxnbG94HKAsVz8w3fWcfAS5YA2fJORXX1dLrkprCCxA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-iexplorer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-iexplorer/-/is-iexplorer-1.0.0.tgz", + "integrity": "sha512-YeLzceuwg3K6O0MLM3UyUUjKAlyULetwryFp1mHy1I5PfArK0AEqlfa+MR4gkJjcbuJXoDJCvXbyqZVf5CR2Sg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-mobile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-4.0.0.tgz", + "integrity": "sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew==" + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-string-blank": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-string-blank/-/is-string-blank-1.0.1.tgz", + "integrity": "sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==" + }, + "node_modules/is-svg-path": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz", + "integrity": "sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg==" + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stringify-pretty-compact": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz", + "integrity": "sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/kdbush": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz", + "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==" + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/license-webpack-plugin": { + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.3.21.tgz", + "integrity": "sha512-rVaYU9TddZN3ao8M/0PrRSCdTp2EW6VQymlgsuScld1vef0Ou7fALx3ePe83KLP3xAEDcPK5fkqUVqGBnbz1zQ==", + "dev": true, + "dependencies": { + "@types/webpack-sources": "^0.1.5", + "webpack-sources": "^1.2.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "node_modules/license-webpack-plugin/node_modules/webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dev": true, + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", + "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", + "engines": { + "node": ">= 12.13.0" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, + "node_modules/map-limit": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/map-limit/-/map-limit-0.0.1.tgz", + "integrity": "sha512-pJpcfLPnIF/Sk3taPW21G/RQsEEirGaFpCW3oXRwH9dnFHPHNGjNyvh++rdmC2fNqEaTw2MhYJraoJWAHx8kEg==", + "dependencies": { + "once": "~1.3.0" + } + }, + "node_modules/map-limit/node_modules/once": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", + "integrity": "sha512-6vaNInhu+CHxtONf3zw3vq4SP2DOQhjBvIa3rNcG0+P7eKWlYH6Peu7rHizSloRU2EwMz6GraLieis9Ac9+p1w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/mapbox-gl": { + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.3.tgz", + "integrity": "sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg==", + "peer": true, + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/geojson-types": "^1.0.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/mapbox-gl-supported": "^1.5.0", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^1.1.1", + "@mapbox/unitbezier": "^0.0.0", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "csscolorparser": "~1.0.3", + "earcut": "^2.2.2", + "geojson-vt": "^3.2.1", + "gl-matrix": "^3.2.1", + "grid-index": "^1.1.0", + "murmurhash-js": "^1.0.0", + "pbf": "^3.2.1", + "potpack": "^1.0.1", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "supercluster": "^7.1.0", + "tinyqueue": "^2.0.3", + "vt-pbf": "^3.1.1" + }, + "engines": { + "node": ">=6.4.0" + } + }, + "node_modules/maplibre-gl": { + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", + "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^2.0.6", + "@mapbox/unitbezier": "^0.0.1", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "@maplibre/maplibre-gl-style-spec": "^20.3.1", + "@types/geojson": "^7946.0.14", + "@types/geojson-vt": "3.2.5", + "@types/mapbox__point-geometry": "^0.1.4", + "@types/mapbox__vector-tile": "^1.3.4", + "@types/pbf": "^3.0.5", + "@types/supercluster": "^7.1.3", + "earcut": "^3.0.0", + "geojson-vt": "^4.0.2", + "gl-matrix": "^3.4.3", + "global-prefix": "^4.0.0", + "kdbush": "^4.0.2", + "murmurhash-js": "^1.0.0", + "pbf": "^3.3.0", + "potpack": "^2.0.0", + "quickselect": "^3.0.0", + "supercluster": "^8.0.1", + "tinyqueue": "^3.0.0", + "vt-pbf": "^3.1.3" + }, + "engines": { + "node": ">=16.14.0", + "npm": ">=8.1.0" + }, + "funding": { + "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" + } + }, + "node_modules/maplibre-gl/node_modules/@mapbox/tiny-sdf": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz", + "integrity": "sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==" + }, + "node_modules/maplibre-gl/node_modules/@mapbox/unitbezier": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", + "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" + }, + "node_modules/maplibre-gl/node_modules/earcut": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.0.tgz", + "integrity": "sha512-41Fs7Q/PLq1SDbqjsgcY7GA42T0jvaCNGXgGtsNdvg+Yv8eIu06bxv4/PoREkZ9nMDNwnUSG9OFB9+yv8eKhDg==" + }, + "node_modules/maplibre-gl/node_modules/geojson-vt": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-4.0.2.tgz", + "integrity": "sha512-AV9ROqlNqoZEIJGfm1ncNjEXfkz2hdFlZf0qkVfmkwdKa8vj7H16YUOT81rJw1rdFhyEDlN2Tds91p/glzbl5A==" + }, + "node_modules/maplibre-gl/node_modules/potpack": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz", + "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==" + }, + "node_modules/maplibre-gl/node_modules/quickselect": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-3.0.0.tgz", + "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==" + }, + "node_modules/maplibre-gl/node_modules/supercluster": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz", + "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==", + "dependencies": { + "kdbush": "^4.0.2" + } + }, + "node_modules/maplibre-gl/node_modules/tinyqueue": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", + "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" + }, + "node_modules/math-log2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-log2/-/math-log2-1.0.1.tgz", + "integrity": "sha512-9W0yGtkaMAkf74XGYVy4Dqw3YUMnTNB2eeiw9aQbUl4A3KmuCEHTt2DgAB07ENzOYAjsYSAYufkAq0Zd+jU7zA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.2.tgz", + "integrity": "sha512-GJuACcS//jtq4kCtd5ii/M0SZf7OZRH+BxdqXZHaJfb8TJiVl+NgQRPwiYt2EuqeSkNydn/7vP+bcE27C5mb9w==", + "dev": true, + "dependencies": { + "schema-utils": "^4.0.0", + "tapable": "^2.2.1" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/mini-css-extract-plugin/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", + "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true, + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, + "node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mouse-change": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.4.0.tgz", + "integrity": "sha512-vpN0s+zLL2ykyyUDh+fayu9Xkor5v/zRD9jhSqjRS1cJTGS0+oakVZzNm5n19JvvEj0you+MXlYTpNxUDQUjkQ==", + "dependencies": { + "mouse-event": "^1.0.0" + } + }, + "node_modules/mouse-event": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/mouse-event/-/mouse-event-1.0.5.tgz", + "integrity": "sha512-ItUxtL2IkeSKSp9cyaX2JLUuKk2uMoxBg4bbOWVd29+CskYJR9BGsUqtXenNzKbnDshvupjUewDIYVrOB6NmGw==" + }, + "node_modules/mouse-event-offset": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mouse-event-offset/-/mouse-event-offset-3.0.2.tgz", + "integrity": "sha512-s9sqOs5B1Ykox3Xo8b3Ss2IQju4UwlW6LSR+Q5FXWpprJ5fzMLefIIItr3PH8RwzfGy6gxs/4GAmiNuZScE25w==" + }, + "node_modules/mouse-wheel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mouse-wheel/-/mouse-wheel-1.2.0.tgz", + "integrity": "sha512-+OfYBiUOCTWcTECES49neZwL5AoGkXE+lFjIvzwNCnYRlso+EnfvovcBxGoyQ0yQt806eSPjS675K0EwWknXmw==", + "dependencies": { + "right-now": "^1.0.0", + "signum": "^1.0.0", + "to-px": "^1.0.1" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/mumath": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/mumath/-/mumath-3.3.4.tgz", + "integrity": "sha512-VAFIOG6rsxoc7q/IaY3jdjmrsuX9f15KlRLYTHmixASBZkZEKC1IFqE2BC5CdhXmK6WLM1Re33z//AGmeRI6FA==", + "deprecated": "Redundant dependency in your project.", + "dependencies": { + "almost-equal": "^1.1.0" + } + }, + "node_modules/murmurhash-js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", + "integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==" + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/native-promise-only": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", + "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==" + }, + "node_modules/needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "dependencies": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "optional": true + }, + "node_modules/node-releases": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==" + }, + "node_modules/normalize-svg-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-0.1.0.tgz", + "integrity": "sha512-1/kmYej2iedi5+ROxkRESL/pI02pkg0OBnaR4hJkSIX6+ORzepwbuUXfrdZaPjysTsJInj0Rj5NuX027+dMBvA==" + }, + "node_modules/number-is-integer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-integer/-/number-is-integer-1.0.1.tgz", + "integrity": "sha512-Dq3iuiFBkrbmuQjGFFF3zckXNCQoSD37/SdSbgcBailUx6knDvDwb5CympBgcoWHy36sfS12u74MHYkXyHq6bg==", + "dependencies": { + "is-finite": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" + }, + "node_modules/parenthesis": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.8.tgz", + "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw==" + }, + "node_modules/parse-rect": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parse-rect/-/parse-rect-1.2.0.tgz", + "integrity": "sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA==", + "dependencies": { + "pick-by-alias": "^1.2.0" + } + }, + "node_modules/parse-svg-path": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz", + "integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==" + }, + "node_modules/parse-unit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-unit/-/parse-unit-1.0.1.tgz", + "integrity": "sha512-hrqldJHokR3Qj88EIlV/kAyAi/G5R2+R56TBANxNMy0uPlYcttx0jnMW6Yx5KsKPSbC3KddM/7qQm3+0wEXKxg==" + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pbf": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", + "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", + "dependencies": { + "ieee754": "^1.1.12", + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" + }, + "node_modules/pick-by-alias": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", + "integrity": "sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw==" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "optional": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/plotly.js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-3.0.1.tgz", + "integrity": "sha512-eWEUkqdv4sblmUQJ7xGlEA+LghzEVPJOlPBZMJuagG0CsQxlmBb+7rd0UFVig5jhRnN8PQqRQaLv6qXIjnvzgg==", + "dependencies": { + "@plotly/d3": "3.8.2", + "@plotly/d3-sankey": "0.7.2", + "@plotly/d3-sankey-circular": "0.33.1", + "@plotly/mapbox-gl": "1.13.4", + "@turf/area": "^7.1.0", + "@turf/bbox": "^7.1.0", + "@turf/centroid": "^7.1.0", + "base64-arraybuffer": "^1.0.2", + "canvas-fit": "^1.5.0", + "color-alpha": "1.0.4", + "color-normalize": "1.5.0", + "color-parse": "2.0.0", + "color-rgba": "3.0.0", + "country-regex": "^1.1.0", + "css-loader": "^7.1.2", + "d3-force": "^1.2.1", + "d3-format": "^1.4.5", + "d3-geo": "^1.12.1", + "d3-geo-projection": "^2.9.0", + "d3-hierarchy": "^1.1.9", + "d3-interpolate": "^3.0.1", + "d3-time": "^1.1.0", + "d3-time-format": "^2.2.3", + "esbuild-style-plugin": "^1.6.3", + "fast-isnumeric": "^1.1.4", + "gl-mat4": "^1.2.0", + "gl-text": "^1.4.0", + "has-hover": "^1.0.1", + "has-passive-events": "^1.0.0", + "is-mobile": "^4.0.0", + "maplibre-gl": "^4.7.1", + "mouse-change": "^1.4.0", + "mouse-event-offset": "^3.0.2", + "mouse-wheel": "^1.2.0", + "native-promise-only": "^0.8.1", + "parse-svg-path": "^0.1.2", + "point-in-polygon": "^1.1.0", + "polybooljs": "^1.2.2", + "probe-image-size": "^7.2.3", + "regl": "npm:@plotly/regl@^2.1.2", + "regl-error2d": "^2.0.12", + "regl-line2d": "^3.1.3", + "regl-scatter2d": "^3.3.1", + "regl-splom": "^1.0.14", + "strongly-connected-components": "^1.0.1", + "style-loader": "^4.0.0", + "superscript-text": "^1.0.0", + "svg-path-sdf": "^1.1.3", + "tinycolor2": "^1.4.2", + "to-px": "1.0.1", + "topojson-client": "^3.1.0", + "webgl-context": "^2.2.0", + "world-calendars": "^1.0.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/plotly.js/node_modules/color-rgba": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-3.0.0.tgz", + "integrity": "sha512-PPwZYkEY3M2THEHHV6Y95sGUie77S7X8v+h1r6LSAPF3/LL2xJ8duUXSrkic31Nzc4odPwHgUbiX/XuTYzQHQg==", + "dependencies": { + "color-parse": "^2.0.0", + "color-space": "^2.0.0" + } + }, + "node_modules/plotly.js/node_modules/color-space": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/color-space/-/color-space-2.3.1.tgz", + "integrity": "sha512-5DJdKYwoDji3ik/i0xSn+SiwXsfwr+1FEcCMUz2GS5speGCfGSbBMOLd84SDUBOuX8y4CvdFJmOBBJuC4wp7sQ==" + }, + "node_modules/point-in-polygon": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/point-in-polygon/-/point-in-polygon-1.1.0.tgz", + "integrity": "sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw==" + }, + "node_modules/polybooljs": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/polybooljs/-/polybooljs-1.2.2.tgz", + "integrity": "sha512-ziHW/02J0XuNuUtmidBc6GXE8YohYydp3DWPWXYsd7O721TjcmN+k6ezjdwkDqep+gnWnFY+yqZHvzElra2oCg==" + }, + "node_modules/postcss": { + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-modules": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-6.0.1.tgz", + "integrity": "sha512-zyo2sAkVvuZFFy0gc2+4O+xar5dYlaVy/ebO24KT0ftk/iJevSNyPyQellsBLlnccwh7f6V6Y4GvuKRYToNgpQ==", + "dependencies": { + "generic-names": "^4.0.0", + "icss-utils": "^5.1.0", + "lodash.camelcase": "^4.3.0", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "string-hash": "^1.1.3" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", + "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz", + "integrity": "sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz", + "integrity": "sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==", + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/potpack": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz", + "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==" + }, + "node_modules/probe-image-size": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.3.tgz", + "integrity": "sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==", + "dependencies": { + "lodash.merge": "^4.6.2", + "needle": "^2.5.2", + "stream-parser": "~0.3.1" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/protocol-buffers-schema": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", + "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" + }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/readdirp": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", + "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/regl": { + "name": "@plotly/regl", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@plotly/regl/-/regl-2.1.2.tgz", + "integrity": "sha512-Mdk+vUACbQvjd0m/1JJjOOafmkp/EpmHjISsopEz5Av44CBq7rPC05HHNbYGKVyNUF2zmEoBS/TT0pd0SPFFyw==" + }, + "node_modules/regl-error2d": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.12.tgz", + "integrity": "sha512-r7BUprZoPO9AbyqM5qlJesrSRkl+hZnVKWKsVp7YhOl/3RIpi4UDGASGJY0puQ96u5fBYw/OlqV24IGcgJ0McA==", + "dependencies": { + "array-bounds": "^1.0.1", + "color-normalize": "^1.5.0", + "flatten-vertex-data": "^1.0.2", + "object-assign": "^4.1.1", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0", + "update-diff": "^1.1.0" + } + }, + "node_modules/regl-line2d": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.1.3.tgz", + "integrity": "sha512-fkgzW+tTn4QUQLpFKsUIE0sgWdCmXAM3ctXcCgoGBZTSX5FE2A0M7aynz7nrZT5baaftLrk9te54B+MEq4QcSA==", + "dependencies": { + "array-bounds": "^1.0.1", + "array-find-index": "^1.0.2", + "array-normalize": "^1.1.4", + "color-normalize": "^1.5.0", + "earcut": "^2.1.5", + "es6-weak-map": "^2.0.3", + "flatten-vertex-data": "^1.0.2", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0" + } + }, + "node_modules/regl-scatter2d": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.3.1.tgz", + "integrity": "sha512-seOmMIVwaCwemSYz/y4WE0dbSO9svNFSqtTh5RE57I7PjGo3tcUYKtH0MTSoshcAsreoqN8HoCtnn8wfHXXfKQ==", + "dependencies": { + "@plotly/point-cluster": "^3.1.9", + "array-range": "^1.0.1", + "array-rearrange": "^2.2.2", + "clamp": "^1.0.1", + "color-id": "^1.1.0", + "color-normalize": "^1.5.0", + "color-rgba": "^2.1.1", + "flatten-vertex-data": "^1.0.2", + "glslify": "^7.0.0", + "is-iexplorer": "^1.0.0", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0", + "update-diff": "^1.1.0" + } + }, + "node_modules/regl-splom": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.14.tgz", + "integrity": "sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw==", + "dependencies": { + "array-bounds": "^1.0.1", + "array-range": "^1.0.1", + "color-alpha": "^1.0.4", + "flatten-vertex-data": "^1.0.2", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "raf": "^3.4.1", + "regl-scatter2d": "^3.2.3" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-protobuf-schema": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", + "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", + "dependencies": { + "protocol-buffers-schema": "^3.3.1" + } + }, + "node_modules/right-now": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/right-now/-/right-now-1.0.0.tgz", + "integrity": "sha512-DA8+YS+sMIVpbsuKgy+Z67L9Lxb1p05mNxRpDPNksPDEFir4vmBlUtuN9jkTGn9YMMdlBuK7XQgFiz6ws+yhSg==" + }, + "node_modules/rw": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.80.7", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.7.tgz", + "integrity": "sha512-MVWvN0u5meytrSjsU7AWsbhoXi1sc58zADXFllfZzbsBT1GHjjar6JwBINYPRrkx/zqnQ6uqbQuHgE95O+C+eQ==", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/sax": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" + }, + "node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shallow-copy": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", + "integrity": "sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw==" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/signum": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/signum/-/signum-1.0.0.tgz", + "integrity": "sha512-yodFGwcyt59XRh7w5W3jPcIQb3Bwi21suEfT7MAWnBX3iCdklJpgDgvGT9o04UonglZN5SNMfJFkHIR/jO8GHw==" + }, + "node_modules/source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-1.0.2.tgz", + "integrity": "sha512-oX8d6ndRjN+tVyjj6PlXSyFPhDdVAPsZA30nD3/II8g4uOv8fCz0DMn5sy8KtVbDfKQxOpGwGJnK3xIW3tauDw==", + "dev": true, + "dependencies": { + "data-urls": "^2.0.0", + "iconv-lite": "^0.6.2", + "loader-utils": "^2.0.0", + "schema-utils": "^2.7.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/source-map-loader/node_modules/schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", + "integrity": "sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ==", + "engines": { + "node": "*" + } + }, + "node_modules/static-eval": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.1.tgz", + "integrity": "sha512-MgWpQ/ZjGieSVB3eOJVs4OA2LT/q1vx98KPCTTQPzq/aLr0YUXTsgryTXr4SLfR0ZfUUCiedM9n/ABeDIyy4mA==", + "dependencies": { + "escodegen": "^2.1.0" + } + }, + "node_modules/stream-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", + "integrity": "sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==", + "dependencies": { + "debug": "2" + } + }, + "node_modules/stream-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/stream-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/stream-shift": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", + "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/string-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz", + "integrity": "sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==" + }, + "node_modules/string-split-by": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz", + "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==", + "dependencies": { + "parenthesis": "^3.1.5" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/strongly-connected-components": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strongly-connected-components/-/strongly-connected-components-1.0.1.tgz", + "integrity": "sha512-i0TFx4wPcO0FwX+4RkLJi1MxmcTv90jNZgxMu9XRnMXMeFUY1VJlIoXpZunPUvUUqbCT1pg5PEkFqqpcaElNaA==" + }, + "node_modules/style-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-4.0.0.tgz", + "integrity": "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==", + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.27.0" + } + }, + "node_modules/supercluster": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz", + "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==", + "dependencies": { + "kdbush": "^3.0.0" + } + }, + "node_modules/supercluster/node_modules/kdbush": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", + "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" + }, + "node_modules/superscript-text": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/superscript-text/-/superscript-text-1.0.0.tgz", + "integrity": "sha512-gwu8l5MtRZ6koO0icVTlmN5pm7Dhh1+Xpe9O4x6ObMAsW+3jPbW14d1DsBq1F4wiI+WOFjXF35pslgec/G8yCQ==" + }, + "node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-arc-to-cubic-bezier": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz", + "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g==" + }, + "node_modules/svg-path-bounds": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz", + "integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==", + "dependencies": { + "abs-svg-path": "^0.1.1", + "is-svg-path": "^1.0.1", + "normalize-svg-path": "^1.0.0", + "parse-svg-path": "^0.1.2" + } + }, + "node_modules/svg-path-bounds/node_modules/normalize-svg-path": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz", + "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==", + "dependencies": { + "svg-arc-to-cubic-bezier": "^3.0.0" + } + }, + "node_modules/svg-path-sdf": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/svg-path-sdf/-/svg-path-sdf-1.1.3.tgz", + "integrity": "sha512-vJJjVq/R5lSr2KLfVXVAStktfcfa1pNFjFOgyJnzZFXlO/fDZ5DmM8FpnSKKzLPfEYTVeXuVBTHF296TpxuJVg==", + "dependencies": { + "bitmap-sdf": "^1.0.0", + "draw-svg-path": "^1.0.0", + "is-svg-path": "^1.0.1", + "parse-svg-path": "^0.1.2", + "svg-path-bounds": "^1.0.1" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.36.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.36.0.tgz", + "integrity": "sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.20", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.26.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser/node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" + }, + "node_modules/tinyqueue": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz", + "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==" + }, + "node_modules/to-float32": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.1.0.tgz", + "integrity": "sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg==" + }, + "node_modules/to-px": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.0.1.tgz", + "integrity": "sha512-2y3LjBeIZYL19e5gczp14/uRWFDtDUErJPVN3VU9a7SJO+RjGRtYR47aMN2bZgGlxvW4ZcEz2ddUPVHXcMfuXw==", + "dependencies": { + "parse-unit": "^1.0.1" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/topojson-client": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", + "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", + "dependencies": { + "commander": "2" + }, + "bin": { + "topo2geo": "bin/topo2geo", + "topomerge": "bin/topomerge", + "topoquantize": "bin/topoquantize" + } + }, + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tslib": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" + }, + "node_modules/type": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", + "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, + "node_modules/typedarray-pool": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.2.0.tgz", + "integrity": "sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==", + "dependencies": { + "bit-twiddle": "^1.0.0", + "dup": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", + "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unquote": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", + "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==" + }, + "node_modules/update-browserslist-db": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/update-diff": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-diff/-/update-diff-1.1.0.tgz", + "integrity": "sha512-rCiBPiHxZwT4+sBhEbChzpO5hYHjm91kScWgdHf4Qeafs6Ba7MBl+d9GlGv72bcTZQO0sLmtQS1pHSWoCLtN/A==" + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/vt-pbf": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz", + "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==", + "dependencies": { + "@mapbox/point-geometry": "0.1.0", + "@mapbox/vector-tile": "^1.3.1", + "pbf": "^3.2.1" + } + }, + "node_modules/watchpack": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/weak-map": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", + "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" + }, + "node_modules/webgl-context": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/webgl-context/-/webgl-context-2.2.0.tgz", + "integrity": "sha512-q/fGIivtqTT7PEoF07axFIlHNk/XCPaYpq64btnepopSWvKNFkoORlQYgqDigBIuGA1ExnFd/GnSUnBNEPQY7Q==", + "dependencies": { + "get-canvas-context": "^1.0.1" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, + "engines": { + "node": ">=10.4" + } + }, + "node_modules/webpack": { + "version": "5.95.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.95.0.tgz", + "integrity": "sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==", + "dependencies": { + "@types/estree": "^1.0.5", + "@webassemblyjs/ast": "^1.12.1", + "@webassemblyjs/wasm-edit": "^1.12.1", + "@webassemblyjs/wasm-parser": "^1.12.1", + "acorn": "^8.7.1", + "acorn-import-attributes": "^1.9.5", + "browserslist": "^4.21.10", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.1", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.10", + "watchpack": "^2.4.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", + "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^2.1.1", + "@webpack-cli/info": "^2.0.2", + "@webpack-cli/serve": "^2.0.5", + "colorette": "^2.0.14", + "commander": "^10.0.1", + "cross-spawn": "^7.0.3", + "envinfo": "^7.7.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/webpack-merge": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", + "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/webpack/node_modules/acorn-import-attributes": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", + "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, + "node_modules/worker-loader": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/worker-loader/-/worker-loader-3.0.8.tgz", + "integrity": "sha512-XQyQkIFeRVC7f7uRhFdNMe/iJOdO6zxAaR3EWbDp45v3mDhrTi+++oswKNxShUNjPC/1xUp5DB29YKLhFo129g==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/worker-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/world-calendars": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz", + "integrity": "sha512-sAjLZkBnsbHkHWVhrsCU5Sa/EVuf9QqgvrN8zyJ2L/F9FR9Oc6CvVK0674+PGAtmmmYQMH98tCUSO4QLQv3/TQ==", + "dependencies": { + "object-assign": "^4.1.0" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000000..c3959aeb8e4 --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "plotly-jupyter-mime-renderer", + "version": "0.1.0", + "main": "js/mimerenderer.js", + "scripts": { + "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=plotly/package_data/widgetbundle.js js/widget.ts", + "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=js/mimerenderer.js js/index.ts", + "watch": "npm run build -- --watch --sourcemap=inline", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "lodash-es": "^4.17.21", + "plotly.js": "3.0.1", + "@lumino/widgets": "^1.16.0" + }, + "devDependencies": { + "@jupyterlab/builder": "^4.3.6", + "@types/plotly.js": "^2.33.4", + "esbuild": "^0.23.1", + "typescript": "^5.6.2" + }, + "jupyterlab": { + "mimeExtension": true, + "outputDir": "plotly/labextension" + } +} diff --git a/plotly/__init__.py b/plotly/__init__.py index 024801a98bf..addb2683e6a 100644 --- a/plotly/__init__.py +++ b/plotly/__init__.py @@ -180,3 +180,24 @@ def hist_series(data_frame, **kwargs): skip += ["figsize", "bins", "legend"] new_kwargs = {k: kwargs[k] for k in kwargs if k not in skip} return histogram(data_frame, **new_kwargs) + +def _jupyter_labextension_paths(): + """Called by Jupyter Lab Server to detect if it is a valid labextension and + to install the extension. + """ + return [{ + 'src': 'labextension', + 'dest': 'jupyterlab_plotly', + }] + +# For the mime renderer extension +def _jupyter_mimetype_metadata(): + """Metadata for the mimetype extension""" + return { + "name": "plotly", + "version": __version__, + "description": "A MIME renderer extension for Jupyter Lab", + "author": "Martha Cryan", + "main": "js/mimerenderer.js", + "license": "BSD-3-Clause" + } \ No newline at end of file diff --git a/plotly/io/_renderers.py b/plotly/io/_renderers.py index acfbb6195d1..9a51a9ec6e1 100644 --- a/plotly/io/_renderers.py +++ b/plotly/io/_renderers.py @@ -552,7 +552,7 @@ def show(fig, renderer=None, validate=True, **kwargs): # in the classic notebook, jupyterlab, nteract, vscode, and # nbconvert HTML export. if not default_renderer: - default_renderer = "plotly_mimetype+notebook_connected" + default_renderer = "plotly_mimetype+notebook" else: # If ipython isn't available, try to display figures in the default # browser diff --git a/plotly/labextension/build_log.json b/plotly/labextension/build_log.json new file mode 100644 index 00000000000..d38f766285e --- /dev/null +++ b/plotly/labextension/build_log.json @@ -0,0 +1,717 @@ +[ + { + "bail": true, + "module": { + "rules": [ + { + "test": "/\\.raw\\.css$/", + "type": "asset/source" + }, + { + "test": "/(? { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ PlotlyMimeRenderer: () => (/* binding */ zw), +/* harmony export */ "default": () => (/* binding */ w7), +/* harmony export */ rendererFactory: () => (/* binding */ YO) +/* harmony export */ }); +/* provided dependency */ var process = __webpack_require__(/*! process/browser */ "./node_modules/process/browser.js"); +var SO=Object.create;var CS=Object.defineProperty;var EO=Object.getOwnPropertyDescriptor;var CO=Object.getOwnPropertyNames;var kO=Object.getPrototypeOf,LO=Object.prototype.hasOwnProperty;var kS=(Je,ze)=>()=>(ze||Je((ze={exports:{}}).exports,ze),ze.exports);var PO=(Je,ze,_e,De)=>{if(ze&&typeof ze=="object"||typeof ze=="function")for(let Mt of CO(ze))!LO.call(Je,Mt)&&Mt!==_e&&CS(Je,Mt,{get:()=>ze[Mt],enumerable:!(De=EO(ze,Mt))||De.enumerable});return Je};var dw=(Je,ze,_e)=>(_e=Je!=null?SO(kO(Je)):{},PO(ze||!Je||!Je.__esModule?CS(_e,"default",{value:Je,enumerable:!0}):_e,Je));var xw=kS((X1,US)=>{(function(Je,ze){typeof X1=="object"&&typeof US<"u"?ze(X1):typeof define=="function"&&__webpack_require__.amdO?define(["exports"],ze):(Je=typeof globalThis<"u"?globalThis:Je||self,ze(Je.lumino_coreutils={}))})(X1,function(Je){"use strict";Je.JSONExt=void 0,function(ir){ir.emptyObject=Object.freeze({}),ir.emptyArray=Object.freeze([]);function Cr(Pn){return Pn===null||typeof Pn=="boolean"||typeof Pn=="number"||typeof Pn=="string"}ir.isPrimitive=Cr;function Kr(Pn){return Array.isArray(Pn)}ir.isArray=Kr;function Qr(Pn){return!Cr(Pn)&&!Kr(Pn)}ir.isObject=Qr;function bn(Pn,Ti){if(Pn===Ti)return!0;if(Cr(Pn)||Cr(Ti))return!1;var Ei=Kr(Pn),hi=Kr(Ti);return Ei!==hi?!1:Ei&&hi?an(Pn,Ti):Jr(Pn,Ti)}ir.deepEqual=bn;function In(Pn){return Cr(Pn)?Pn:Kr(Pn)?Er(Pn):ke(Pn)}ir.deepCopy=In;function an(Pn,Ti){if(Pn===Ti)return!0;if(Pn.length!==Ti.length)return!1;for(var Ei=0,hi=Pn.length;Ei>>0),ir[Kr]=Cr&255,Cr>>>=8}Je.Random=void 0,function(ir){ir.getRandomValues=function(){var Cr=typeof window<"u"&&(window.crypto||window.msCrypto)||null;return Cr&&typeof Cr.getRandomValues=="function"?function(Qr){return Cr.getRandomValues(Qr)}:Mt}()}(Je.Random||(Je.Random={}));function jt(ir){for(var Cr=new Uint8Array(16),Kr=new Array(256),Qr=0;Qr<16;++Qr)Kr[Qr]="0"+Qr.toString(16);for(var Qr=16;Qr<256;++Qr)Kr[Qr]=Qr.toString(16);return function(){return ir(Cr),Cr[6]=64|Cr[6]&15,Cr[8]=128|Cr[8]&63,Kr[Cr[0]]+Kr[Cr[1]]+Kr[Cr[2]]+Kr[Cr[3]]+"-"+Kr[Cr[4]]+Kr[Cr[5]]+"-"+Kr[Cr[6]]+Kr[Cr[7]]+"-"+Kr[Cr[8]]+Kr[Cr[9]]+"-"+Kr[Cr[10]]+Kr[Cr[11]]+Kr[Cr[12]]+Kr[Cr[13]]+Kr[Cr[14]]+Kr[Cr[15]]}}Je.UUID=void 0,function(ir){ir.uuid4=jt(Je.Random.getRandomValues)}(Je.UUID||(Je.UUID={})),Je.MimeData=ze,Je.PromiseDelegate=_e,Je.Token=De,Object.defineProperty(Je,"__esModule",{value:!0})})});var XS=kS((WS,r_)=>{(function(Je,ze){typeof r_=="object"&&r_.exports?r_.exports=ze():Je.moduleName=ze()})(typeof self<"u"?self:WS,()=>{"use strict";var Je=(()=>{var ze=Object.create,_e=Object.defineProperty,De=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertyNames,Cr=Object.getOwnPropertySymbols,Kr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,In=(Z,H,g)=>H in Z?_e(Z,H,{enumerable:!0,configurable:!0,writable:!0,value:g}):Z[H]=g,an=(Z,H)=>{for(var g in H||(H={}))Qr.call(H,g)&&In(Z,g,H[g]);if(Cr)for(var g of Cr(H))bn.call(H,g)&&In(Z,g,H[g]);return Z},Jr=(Z,H)=>De(Z,jt(H)),Er=(Z,H)=>function(){return Z&&(H=(0,Z[ir(Z)[0]])(Z=0)),H},ke=(Z,H)=>function(){return H||(0,Z[ir(Z)[0]])((H={exports:{}}).exports,H),H.exports},Pn=(Z,H)=>{for(var g in H)_e(Z,g,{get:H[g],enumerable:!0})},Ti=(Z,H,g,x)=>{if(H&&typeof H=="object"||typeof H=="function")for(let A of ir(H))!Qr.call(Z,A)&&A!==g&&_e(Z,A,{get:()=>H[A],enumerable:!(x=Mt(H,A))||x.enumerable});return Z},Ei=(Z,H,g)=>(g=Z!=null?ze(Kr(Z)):{},Ti(H||!Z||!Z.__esModule?_e(g,"default",{value:Z,enumerable:!0}):g,Z)),hi=Z=>Ti(_e({},"__esModule",{value:!0}),Z),Xi=ke({"src/version.js"(Z){"use strict";Z.version="3.0.1"}}),ra=ke({"node_modules/native-promise-only/lib/npo.src.js"(Z,H){(function(x,A,S){A[x]=A[x]||S(),typeof H<"u"&&H.exports&&(H.exports=A[x])})("Promise",typeof window<"u"?window:Z,function(){"use strict";var x,A,S,e=Object.prototype.toString,t=typeof setImmediate<"u"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},"x",{}),x=function(_,w,M,E){return Object.defineProperty(_,w,{value:M,writable:!0,configurable:E!==!1})}}catch{x=function(w,M,E){return w[M]=E,w}}S=function(){var _,w,M;function E(m,b){this.fn=m,this.self=b,this.next=void 0}return{add:function(b,v){M=new E(b,v),w?w.next=M:_=M,w=M,M=void 0},drain:function(){var b=_;for(_=w=A=void 0;b;)b.fn.call(b.self),b=b.next}}}();function r(l,_){S.add(l,_),A||(A=t(S.drain))}function o(l){var _,w=typeof l;return l!=null&&(w=="object"||w=="function")&&(_=l.then),typeof _=="function"?_:!1}function n(){for(var l=0;l0&&r(n,w))}catch(M){s.call(new h(w),M)}}}function s(l){var _=this;_.triggered||(_.triggered=!0,_.def&&(_=_.def),_.msg=l,_.state=2,_.chain.length>0&&r(n,_))}function c(l,_,w,M){for(var E=0;E<_.length;E++)(function(b){l.resolve(_[b]).then(function(u){w(b,u)},M)})(E)}function h(l){this.def=l,this.triggered=!1}function p(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var _=new p(this);this.then=function(M,E){var m={success:typeof M=="function"?M:!0,failure:typeof E=="function"?E:!1};return m.promise=new this.constructor(function(v,u){if(typeof v!="function"||typeof u!="function")throw TypeError("Not a function");m.resolve=v,m.reject=u}),_.chain.push(m),_.state!==0&&r(n,_),m.promise},this.catch=function(M){return this.then(void 0,M)};try{l.call(void 0,function(M){a.call(_,M)},function(M){s.call(_,M)})}catch(w){s.call(_,w)}}var T=x({},"constructor",d,!1);return d.prototype=T,x(T,"__NPO__",0,!1),x(d,"resolve",function(_){var w=this;return _&&typeof _=="object"&&_.__NPO__===1?_:new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");E(_)})}),x(d,"reject",function(_){return new this(function(M,E){if(typeof M!="function"||typeof E!="function")throw TypeError("Not a function");E(_)})}),x(d,"all",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):_.length===0?w.resolve([]):new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");var b=_.length,v=Array(b),u=0;c(w,_,function(f,P){v[f]=P,++u===b&&E(v)},m)})}),x(d,"race",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");c(w,_,function(v,u){E(u)},m)})}),d})}}),_i=ke({"node_modules/@plotly/d3/d3.js"(Z,H){(function(){var g={version:"3.8.2"},x=[].slice,A=function(de){return x.call(de)},S=self.document;function e(de){return de&&(de.ownerDocument||de.document||de).documentElement}function t(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(S)try{A(S.documentElement.childNodes)[0].nodeType}catch{A=function(Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=Re[Qe];return vt}}if(Date.now||(Date.now=function(){return+new Date}),S)try{S.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,o=r.setAttribute,n=r.setAttributeNS,i=this.CSSStyleDeclaration.prototype,a=i.setProperty;r.setAttribute=function(Re,Qe){o.call(this,Re,Qe+"")},r.setAttributeNS=function(Re,Qe,vt){n.call(this,Re,Qe,vt+"")},i.setProperty=function(Re,Qe,vt){a.call(this,Re,Qe+"",vt)}}g.ascending=s;function s(de,Re){return deRe?1:de>=Re?0:NaN}g.descending=function(de,Re){return Rede?1:Re>=de?0:NaN},g.min=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}return mt},g.max=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}return mt},g.extent=function(de,Re){var Qe=-1,vt=de.length,mt,Tt,Qt;if(arguments.length===1){for(;++Qe=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt1)return Qt/(lr-1)},g.deviation=function(){var de=g.variance.apply(this,arguments);return de&&Math.sqrt(de)};function p(de){return{left:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)<0?vt=Tt+1:mt=Tt}return vt},right:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)>0?mt=Tt:vt=Tt+1}return vt}}}var d=p(s);g.bisectLeft=d.left,g.bisect=g.bisectRight=d.right,g.bisector=function(de){return p(de.length===1?function(Re,Qe){return s(de(Re),Qe)}:de)},g.shuffle=function(de,Re,Qe){(vt=arguments.length)<3&&(Qe=de.length,vt<2&&(Re=0));for(var vt=Qe-Re,mt,Tt;vt;)Tt=Math.random()*vt--|0,mt=de[vt+Re],de[vt+Re]=de[Tt+Re],de[Tt+Re]=mt;return de},g.permute=function(de,Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=de[Re[Qe]];return vt},g.pairs=function(de){for(var Re=0,Qe=de.length-1,vt,mt=de[0],Tt=new Array(Qe<0?0:Qe);Re=0;)for(Qt=de[Re],Qe=Qt.length;--Qe>=0;)Tt[--mt]=Qt[Qe];return Tt};var l=Math.abs;g.range=function(de,Re,Qe){if(arguments.length<3&&(Qe=1,arguments.length<2&&(Re=de,de=0)),(Re-de)/Qe===1/0)throw new Error("infinite range");var vt=[],mt=_(l(Qe)),Tt=-1,Qt;if(de*=mt,Re*=mt,Qe*=mt,Qe<0)for(;(Qt=de+Qe*++Tt)>Re;)vt.push(Qt/mt);else for(;(Qt=de+Qe*++Tt)=Re.length)return mt?mt.call(de,lr):vt?lr.sort(vt):lr;for(var jr=-1,Tn=lr.length,yn=Re[Br++],ti,ai,En,qn=new M,Jn;++jr=Re.length)return Dt;var Br=[],jr=Qe[lr++];return Dt.forEach(function(Tn,yn){Br.push({key:Tn,values:Qt(yn,lr)})}),jr?Br.sort(function(Tn,yn){return jr(Tn.key,yn.key)}):Br}return de.map=function(Dt,lr){return Tt(lr,Dt,0)},de.entries=function(Dt){return Qt(Tt(g.map,Dt,0),0)},de.key=function(Dt){return Re.push(Dt),de},de.sortKeys=function(Dt){return Qe[Re.length-1]=Dt,de},de.sortValues=function(Dt){return vt=Dt,de},de.rollup=function(Dt){return mt=Dt,de},de},g.set=function(de){var Re=new z;if(de)for(var Qe=0,vt=de.length;Qe=0&&(vt=de.slice(Qe+1),de=de.slice(0,Qe)),de)return arguments.length<2?this[de].on(vt):this[de].on(vt,Re);if(arguments.length===2){if(Re==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(vt,null);return this}};function W(de){var Re=[],Qe=new M;function vt(){for(var mt=Re,Tt=-1,Qt=mt.length,Dt;++Tt=0&&(Qe=de.slice(0,Re))!=="xmlns"&&(de=de.slice(Re+1)),ce.hasOwnProperty(Qe)?{space:ce[Qe],local:de}:de}},ae.attr=function(de,Re){if(arguments.length<2){if(typeof de=="string"){var Qe=this.node();return de=g.ns.qualify(de),de.local?Qe.getAttributeNS(de.space,de.local):Qe.getAttribute(de)}for(Re in de)this.each(xe(Re,de[Re]));return this}return this.each(xe(de,Re))};function xe(de,Re){de=g.ns.qualify(de);function Qe(){this.removeAttribute(de)}function vt(){this.removeAttributeNS(de.space,de.local)}function mt(){this.setAttribute(de,Re)}function Tt(){this.setAttributeNS(de.space,de.local,Re)}function Qt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttribute(de):this.setAttribute(de,lr)}function Dt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,lr)}return Re==null?de.local?vt:Qe:typeof Re=="function"?de.local?Dt:Qt:de.local?Tt:mt}function Te(de){return de.trim().replace(/\s+/g," ")}ae.classed=function(de,Re){if(arguments.length<2){if(typeof de=="string"){var Qe=this.node(),vt=(de=Ie(de)).length,mt=-1;if(Re=Qe.classList){for(;++mt=0;)(Tt=Qe[vt])&&(mt&&mt!==Tt.nextSibling&&mt.parentNode.insertBefore(Tt,mt),mt=Tt);return this},ae.sort=function(de){de=Oe.apply(this,arguments);for(var Re=-1,Qe=this.length;++Re=Re&&(Re=mt+1);!(lr=Qt[Re])&&++Re0&&(de=de.slice(0,mt));var Qt=Bt.get(de);Qt&&(de=Qt,Tt=fr);function Dt(){var jr=this[vt];jr&&(this.removeEventListener(de,jr,jr.$),delete this[vt])}function lr(){var jr=Tt(Re,A(arguments));Dt.call(this),this.addEventListener(de,this[vt]=jr,jr.$=Qe),jr._=Re}function Br(){var jr=new RegExp("^__on([^.]+)"+g.requote(de)+"$"),Tn;for(var yn in this)if(Tn=yn.match(jr)){var ti=this[yn];this.removeEventListener(Tn[1],ti,ti.$),delete this[yn]}}return mt?Re?lr:Dt:Re?N:Br}var Bt=g.map({mouseenter:"mouseover",mouseleave:"mouseout"});S&&Bt.forEach(function(de){"on"+de in S&&Bt.remove(de)});function qt(de,Re){return function(Qe){var vt=g.event;g.event=Qe,Re[0]=this.__data__;try{de.apply(this,Re)}finally{g.event=vt}}}function fr(de,Re){var Qe=qt(de,Re);return function(vt){var mt=this,Tt=vt.relatedTarget;(!Tt||Tt!==mt&&!(Tt.compareDocumentPosition(mt)&8))&&Qe.call(mt,vt)}}var ar,Rr=0;function gr(de){var Re=".dragsuppress-"+ ++Rr,Qe="click"+Re,vt=g.select(t(de)).on("touchmove"+Re,Q).on("dragstart"+Re,Q).on("selectstart"+Re,Q);if(ar==null&&(ar="onselectstart"in de?!1:O(de.style,"userSelect")),ar){var mt=e(de).style,Tt=mt[ar];mt[ar]="none"}return function(Qt){if(vt.on(Re,null),ar&&(mt[ar]=Tt),Qt){var Dt=function(){vt.on(Qe,null)};vt.on(Qe,function(){Q(),Dt()},!0),setTimeout(Dt,0)}}}g.mouse=function(de){return _t(de,le())};var br=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function _t(de,Re){Re.changedTouches&&(Re=Re.changedTouches[0]);var Qe=de.ownerSVGElement||de;if(Qe.createSVGPoint){var vt=Qe.createSVGPoint();if(br<0){var mt=t(de);if(mt.scrollX||mt.scrollY){Qe=g.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var Tt=Qe[0][0].getScreenCTM();br=!(Tt.f||Tt.e),Qe.remove()}}return br?(vt.x=Re.pageX,vt.y=Re.pageY):(vt.x=Re.clientX,vt.y=Re.clientY),vt=vt.matrixTransform(de.getScreenCTM().inverse()),[vt.x,vt.y]}var Qt=de.getBoundingClientRect();return[Re.clientX-Qt.left-de.clientLeft,Re.clientY-Qt.top-de.clientTop]}g.touch=function(de,Re,Qe){if(arguments.length<3&&(Qe=Re,Re=le().changedTouches),Re){for(var vt=0,mt=Re.length,Tt;vt0?1:de<0?-1:0}function bt(de,Re,Qe){return(Re[0]-de[0])*(Qe[1]-de[1])-(Re[1]-de[1])*(Qe[0]-de[0])}function Rt(de){return de>1?0:de<-1?Se:Math.acos(de)}function Nt(de){return de>1?we:de<-1?-we:Math.asin(de)}function Xt(de){return((de=Math.exp(de))-1/de)/2}function $t(de){return((de=Math.exp(de))+1/de)/2}function ur(de){return((de=Math.exp(2*de))-1)/(de+1)}function pn(de){return(de=Math.sin(de/2))*de}var Rn=Math.SQRT2,Nn=2,On=4;g.interpolateZoom=function(de,Re){var Qe=de[0],vt=de[1],mt=de[2],Tt=Re[0],Qt=Re[1],Dt=Re[2],lr=Tt-Qe,Br=Qt-vt,jr=lr*lr+Br*Br,Tn,yn;if(jr0&&(ua=ua.transition().duration(Qt)),ua.call(oi.event)}function io(){qn&&qn.domain(En.range().map(function(ua){return(ua-de.x)/de.k}).map(En.invert)),ci&&ci.domain(Jn.range().map(function(ua){return(ua-de.y)/de.k}).map(Jn.invert))}function oo(ua){Dt++||ua({type:"zoomstart"})}function Qo(ua){io(),ua({type:"zoom",scale:de.k,translate:[de.x,de.y]})}function uo(ua){--Dt||(ua({type:"zoomend"}),Qe=null)}function Jo(){var ua=this,wo=ai.of(ua,arguments),ys=0,Ms=g.select(t(ua)).on(Br,gu).on(jr,Fl),xl=Hn(g.mouse(ua)),Ul=gr(ua);Va.call(ua),oo(wo);function gu(){ys=1,_a(g.mouse(ua),xl),Qo(wo)}function Fl(){Ms.on(Br,null).on(jr,null),Ul(ys),uo(wo)}}function ol(){var ua=this,wo=ai.of(ua,arguments),ys={},Ms=0,xl,Ul=".zoom-"+g.event.changedTouches[0].identifier,gu="touchmove"+Ul,Fl="touchend"+Ul,vc=[],tr=g.select(ua),cn=gr(ua);xi(),oo(wo),tr.on(lr,null).on(yn,xi);function Ln(){var Oi=g.touches(ua);return xl=de.k,Oi.forEach(function(na){na.identifier in ys&&(ys[na.identifier]=Hn(na))}),Oi}function xi(){var Oi=g.event.target;g.select(Oi).on(gu,Ni).on(Fl,Fi),vc.push(Oi);for(var na=g.event.changedTouches,Ca=0,ka=na.length;Ca1){var Aa=ha[0],Ma=ha[1],ia=Aa[0]-Ma[0],wi=Aa[1]-Ma[1];Ms=ia*ia+wi*wi}}function Ni(){var Oi=g.touches(ua),na,Ca,ka,ha;Va.call(ua);for(var Xo=0,Aa=Oi.length;Xo1?1:Re,Qe=Qe<0?0:Qe>1?1:Qe,mt=Qe<=.5?Qe*(1+Re):Qe+Re-Qe*Re,vt=2*Qe-mt;function Tt(Dt){return Dt>360?Dt-=360:Dt<0&&(Dt+=360),Dt<60?vt+(mt-vt)*Dt/60:Dt<180?mt:Dt<240?vt+(mt-vt)*(240-Dt)/60:vt}function Qt(Dt){return Math.round(Tt(Dt)*255)}return new Tr(Qt(de+120),Qt(de),Qt(de-120))}g.hcl=Vt;function Vt(de,Re,Qe){return this instanceof Vt?(this.h=+de,this.c=+Re,void(this.l=+Qe)):arguments.length<2?de instanceof Vt?new Vt(de.h,de.c,de.l):de instanceof xn?gt(de.l,de.a,de.b):gt((de=gn((de=g.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Vt(de,Re,Qe)}var wr=Vt.prototype=new gi;wr.brighter=function(de){return new Vt(this.h,this.c,Math.min(100,this.l+en*(arguments.length?de:1)))},wr.darker=function(de){return new Vt(this.h,this.c,Math.max(0,this.l-en*(arguments.length?de:1)))},wr.rgb=function(){return $r(this.h,this.c,this.l).rgb()};function $r(de,Re,Qe){return isNaN(de)&&(de=0),isNaN(Re)&&(Re=0),new xn(Qe,Math.cos(de*=Le)*Re,Math.sin(de)*Re)}g.lab=xn;function xn(de,Re,Qe){return this instanceof xn?(this.l=+de,this.a=+Re,void(this.b=+Qe)):arguments.length<2?de instanceof xn?new xn(de.l,de.a,de.b):de instanceof Vt?$r(de.h,de.c,de.l):gn((de=Tr(de)).r,de.g,de.b):new xn(de,Re,Qe)}var en=18,Fn=.95047,Wn=1,ri=1.08883,Sn=xn.prototype=new gi;Sn.brighter=function(de){return new xn(Math.min(100,this.l+en*(arguments.length?de:1)),this.a,this.b)},Sn.darker=function(de){return new xn(Math.max(0,this.l-en*(arguments.length?de:1)),this.a,this.b)},Sn.rgb=function(){return ui(this.l,this.a,this.b)};function ui(de,Re,Qe){var vt=(de+16)/116,mt=vt+Re/500,Tt=vt-Qe/200;return mt=yt(mt)*Fn,vt=yt(vt)*Wn,Tt=yt(Tt)*ri,new Tr(Ir(3.2404542*mt-1.5371385*vt-.4985314*Tt),Ir(-.969266*mt+1.8760108*vt+.041556*Tt),Ir(.0556434*mt-.2040259*vt+1.0572252*Tt))}function gt(de,Re,Qe){return de>0?new Vt(Math.atan2(Qe,Re)*nt,Math.sqrt(Re*Re+Qe*Qe),de):new Vt(NaN,NaN,de)}function yt(de){return de>.206893034?de*de*de:(de-4/29)/7.787037}function Pr(de){return de>.008856?Math.pow(de,1/3):7.787037*de+4/29}function Ir(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,1/2.4)-.055))}g.rgb=Tr;function Tr(de,Re,Qe){return this instanceof Tr?(this.r=~~de,this.g=~~Re,void(this.b=~~Qe)):arguments.length<2?de instanceof Tr?new Tr(de.r,de.g,de.b):nn(""+de,Tr,Ht):new Tr(de,Re,Qe)}function Mr(de){return new Tr(de>>16,de>>8&255,de&255)}function Lr(de){return Mr(de)+""}var Ur=Tr.prototype=new gi;Ur.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var Re=this.r,Qe=this.g,vt=this.b,mt=30;return!Re&&!Qe&&!vt?new Tr(mt,mt,mt):(Re&&Re>4,vt=vt>>4|vt,mt=lr&240,mt=mt>>4|mt,Tt=lr&15,Tt=Tt<<4|Tt):de.length===7&&(vt=(lr&16711680)>>16,mt=(lr&65280)>>8,Tt=lr&255)),Re(vt,mt,Tt))}function vn(de,Re,Qe){var vt=Math.min(de/=255,Re/=255,Qe/=255),mt=Math.max(de,Re,Qe),Tt=mt-vt,Qt,Dt,lr=(mt+vt)/2;return Tt?(Dt=lr<.5?Tt/(mt+vt):Tt/(2-mt-vt),de==mt?Qt=(Re-Qe)/Tt+(Re0&&lr<1?0:Qt),new Zt(Qt,Dt,lr)}function gn(de,Re,Qe){de=kt(de),Re=kt(Re),Qe=kt(Qe);var vt=Pr((.4124564*de+.3575761*Re+.1804375*Qe)/Fn),mt=Pr((.2126729*de+.7151522*Re+.072175*Qe)/Wn),Tt=Pr((.0193339*de+.119192*Re+.9503041*Qe)/ri);return xn(116*mt-16,500*(vt-mt),200*(mt-Tt))}function kt(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function or(de){var Re=parseFloat(de);return de.charAt(de.length-1)==="%"?Math.round(Re*2.55):Re}var yr=g.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});yr.forEach(function(de,Re){yr.set(de,Mr(Re))});function on(de){return typeof de=="function"?de:function(){return de}}g.functor=on,g.xhr=An(F);function An(de){return function(Re,Qe,vt){return arguments.length===2&&typeof Qe=="function"&&(vt=Qe,Qe=null),Zn(Re,Qe,de,vt)}}function Zn(de,Re,Qe,vt){var mt={},Tt=g.dispatch("beforesend","progress","load","error"),Qt={},Dt=new XMLHttpRequest,lr=null;self.XDomainRequest&&!("withCredentials"in Dt)&&/^(http(s)?:)?\/\//.test(de)&&(Dt=new XDomainRequest),"onload"in Dt?Dt.onload=Dt.onerror=Br:Dt.onreadystatechange=function(){Dt.readyState>3&&Br()};function Br(){var jr=Dt.status,Tn;if(!jr&&wn(Dt)||jr>=200&&jr<300||jr===304){try{Tn=Qe.call(mt,Dt)}catch(yn){Tt.error.call(mt,yn);return}Tt.load.call(mt,Tn)}else Tt.error.call(mt,Dt)}return Dt.onprogress=function(jr){var Tn=g.event;g.event=jr;try{Tt.progress.call(mt,Dt)}finally{g.event=Tn}},mt.header=function(jr,Tn){return jr=(jr+"").toLowerCase(),arguments.length<2?Qt[jr]:(Tn==null?delete Qt[jr]:Qt[jr]=Tn+"",mt)},mt.mimeType=function(jr){return arguments.length?(Re=jr==null?null:jr+"",mt):Re},mt.responseType=function(jr){return arguments.length?(lr=jr,mt):lr},mt.response=function(jr){return Qe=jr,mt},["get","post"].forEach(function(jr){mt[jr]=function(){return mt.send.apply(mt,[jr].concat(A(arguments)))}}),mt.send=function(jr,Tn,yn){if(arguments.length===2&&typeof Tn=="function"&&(yn=Tn,Tn=null),Dt.open(jr,de,!0),Re!=null&&!("accept"in Qt)&&(Qt.accept=Re+",*/*"),Dt.setRequestHeader)for(var ti in Qt)Dt.setRequestHeader(ti,Qt[ti]);return Re!=null&&Dt.overrideMimeType&&Dt.overrideMimeType(Re),lr!=null&&(Dt.responseType=lr),yn!=null&&mt.on("error",yn).on("load",function(ai){yn(null,ai)}),Tt.beforesend.call(mt,Dt),Dt.send(Tn??null),mt},mt.abort=function(){return Dt.abort(),mt},g.rebind(mt,Tt,"on"),vt==null?mt:mt.get(Bn(vt))}function Bn(de){return de.length===1?function(Re,Qe){de(Re==null?Qe:null)}:de}function wn(de){var Re=de.responseType;return Re&&Re!=="text"?de.response:de.responseText}g.dsv=function(de,Re){var Qe=new RegExp('["'+de+` +]`),vt=de.charCodeAt(0);function mt(Br,jr,Tn){arguments.length<3&&(Tn=jr,jr=null);var yn=Zn(Br,Re,jr==null?Tt:Qt(jr),Tn);return yn.row=function(ti){return arguments.length?yn.response((jr=ti)==null?Tt:Qt(ti)):jr},yn}function Tt(Br){return mt.parse(Br.responseText)}function Qt(Br){return function(jr){return mt.parse(jr.responseText,Br)}}mt.parse=function(Br,jr){var Tn;return mt.parseRows(Br,function(yn,ti){if(Tn)return Tn(yn,ti-1);var ai=function(En){for(var qn={},Jn=yn.length,ci=0;ci=ai)return yn;if(ci)return ci=!1,Tn;var ta=En;if(Br.charCodeAt(ta)===34){for(var oa=ta;oa++24?(isFinite(Re)&&(clearTimeout(Ta),Ta=setTimeout(to,Re)),pi=0):(pi=1,Sa(to))}g.timer.flush=function(){yo(),Xa()};function yo(){for(var de=Date.now(),Re=Dn;Re;)de>=Re.t&&Re.c(de-Re.t)&&(Re.c=null),Re=Re.n;return de}function Xa(){for(var de,Re=Dn,Qe=1/0;Re;)Re.c?(Re.t=0;--Dt)En.push(mt[Br[Tn[Dt]][2]]);for(Dt=+ti;Dt1&&bt(de[Qe[vt-2]],de[Qe[vt-1]],de[mt])<=0;)--vt;Qe[vt++]=mt}return Qe.slice(0,vt)}function Ko(de,Re){return de[0]-Re[0]||de[1]-Re[1]}g.geom.polygon=function(de){return G(de,gs),de};var gs=g.geom.polygon.prototype=[];gs.area=function(){for(var de=-1,Re=this.length,Qe,vt=this[Re-1],mt=0;++deKe)Dt=Dt.L;else if(Qt=Re-Eo(Dt,Qe),Qt>Ke){if(!Dt.R){vt=Dt;break}Dt=Dt.R}else{Tt>-Ke?(vt=Dt.P,mt=Dt):Qt>-Ke?(vt=Dt,mt=Dt.N):vt=mt=Dt;break}var lr=fs(de);if(hs.insert(vt,lr),!(!vt&&!mt)){if(vt===mt){Uo(vt),mt=fs(vt.site),hs.insert(lr,mt),lr.edge=mt.edge=$l(vt.site,lr.site),la(vt),la(mt);return}if(!mt){lr.edge=$l(vt.site,lr.site);return}Uo(vt),Uo(mt);var Br=vt.site,jr=Br.x,Tn=Br.y,yn=de.x-jr,ti=de.y-Tn,ai=mt.site,En=ai.x-jr,qn=ai.y-Tn,Jn=2*(yn*qn-ti*En),ci=yn*yn+ti*ti,oi=En*En+qn*qn,Hn={x:(qn*ci-ti*oi)/Jn+jr,y:(yn*oi-En*ci)/Jn+Tn};Tl(mt.edge,Br,ai,Hn),lr.edge=$l(Br,de,null,Hn),mt.edge=$l(de,ai,null,Hn),la(vt),la(mt)}}function Xs(de,Re){var Qe=de.site,vt=Qe.x,mt=Qe.y,Tt=mt-Re;if(!Tt)return vt;var Qt=de.P;if(!Qt)return-1/0;Qe=Qt.site;var Dt=Qe.x,lr=Qe.y,Br=lr-Re;if(!Br)return Dt;var jr=Dt-vt,Tn=1/Tt-1/Br,yn=jr/Br;return Tn?(-yn+Math.sqrt(yn*yn-2*Tn*(jr*jr/(-2*Br)-lr+Br/2+mt-Tt/2)))/Tn+vt:(vt+Dt)/2}function Eo(de,Re){var Qe=de.N;if(Qe)return Xs(Qe,Re);var vt=de.site;return vt.y===Re?vt.x:1/0}function Ys(de){this.site=de,this.edges=[]}Ys.prototype.prepare=function(){for(var de=this.edges,Re=de.length,Qe;Re--;)Qe=de[Re].edge,(!Qe.b||!Qe.a)&&de.splice(Re,1);return de.sort(hl),de.length};function As(de){for(var Re=de[0][0],Qe=de[1][0],vt=de[0][1],mt=de[1][1],Tt,Qt,Dt,lr,Br=ns,jr=Br.length,Tn,yn,ti,ai,En,qn;jr--;)if(Tn=Br[jr],!(!Tn||!Tn.prepare()))for(ti=Tn.edges,ai=ti.length,yn=0;ynKe||l(lr-Qt)>Ke)&&(ti.splice(yn,0,new Vu(Ku(Tn.site,qn,l(Dt-Re)Ke?{x:Re,y:l(Tt-Re)Ke?{x:l(Qt-mt)Ke?{x:Qe,y:l(Tt-Qe)Ke?{x:l(Qt-vt)=-je)){var yn=lr*lr+Br*Br,ti=jr*jr+qn*qn,ai=(qn*yn-Br*ti)/Tn,En=(lr*ti-jr*yn)/Tn,qn=En+Dt,Jn=Vs.pop()||new wl;Jn.arc=de,Jn.site=mt,Jn.x=ai+Qt,Jn.y=qn+Math.sqrt(ai*ai+En*En),Jn.cy=qn,de.circle=Jn;for(var ci=null,oi=Ls._;oi;)if(Jn.y0)){if(En/=ti,ti<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=Qe-Dt,!(!ti&&En<0)){if(En/=ti,ti<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ti>0){if(En0)){if(En/=ai,ai<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=vt-lr,!(!ai&&En<0)){if(En/=ai,ai<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ai>0){if(En0&&(mt.a={x:Dt+Tn*ti,y:lr+Tn*ai}),yn<1&&(mt.b={x:Dt+yn*ti,y:lr+yn*ai}),mt}}}}}}function Ps(de){for(var Re=Yo,Qe=vo(de[0][0],de[0][1],de[1][0],de[1][1]),vt=Re.length,mt;vt--;)mt=Re[vt],(!ls(mt,de)||!Qe(mt)||l(mt.a.x-mt.b.x)=Tt)return;if(jr>yn){if(!vt)vt={x:ai,y:Qt};else if(vt.y>=Dt)return;Qe={x:ai,y:Dt}}else{if(!vt)vt={x:ai,y:Dt};else if(vt.y1)if(jr>yn){if(!vt)vt={x:(Qt-Jn)/qn,y:Qt};else if(vt.y>=Dt)return;Qe={x:(Dt-Jn)/qn,y:Dt}}else{if(!vt)vt={x:(Dt-Jn)/qn,y:Dt};else if(vt.y=Tt)return;Qe={x:Tt,y:qn*Tt+Jn}}else{if(!vt)vt={x:Tt,y:qn*Tt+Jn};else if(vt.x=jr&&Jn.x<=yn&&Jn.y>=Tn&&Jn.y<=ti?[[jr,ti],[yn,ti],[yn,Tn],[jr,Tn]]:[];ci.point=lr[En]}),Br}function Dt(lr){return lr.map(function(Br,jr){return{x:Math.round(vt(Br,jr)/Ke)*Ke,y:Math.round(mt(Br,jr)/Ke)*Ke,i:jr}})}return Qt.links=function(lr){return Ju(Dt(lr)).edges.filter(function(Br){return Br.l&&Br.r}).map(function(Br){return{source:lr[Br.l.i],target:lr[Br.r.i]}})},Qt.triangles=function(lr){var Br=[];return Ju(Dt(lr)).cells.forEach(function(jr,Tn){for(var yn=jr.site,ti=jr.edges.sort(hl),ai=-1,En=ti.length,qn,Jn,ci=ti[En-1].edge,oi=ci.l===yn?ci.r:ci.l;++aioi&&(oi=jr.x),jr.y>Hn&&(Hn=jr.y),ti.push(jr.x),ai.push(jr.y);else for(En=0;Enoi&&(oi=ta),oa>Hn&&(Hn=oa),ti.push(ta),ai.push(oa)}var _a=oi-Jn,La=Hn-ci;_a>La?Hn=ci+_a:oi=Jn+La;function io(uo,Jo,ol,tl,ml,ua,wo,ys){if(!(isNaN(ol)||isNaN(tl)))if(uo.leaf){var Ms=uo.x,xl=uo.y;if(Ms!=null)if(l(Ms-ol)+l(xl-tl)<.01)oo(uo,Jo,ol,tl,ml,ua,wo,ys);else{var Ul=uo.point;uo.x=uo.y=uo.point=null,oo(uo,Ul,Ms,xl,ml,ua,wo,ys),oo(uo,Jo,ol,tl,ml,ua,wo,ys)}else uo.x=ol,uo.y=tl,uo.point=Jo}else oo(uo,Jo,ol,tl,ml,ua,wo,ys)}function oo(uo,Jo,ol,tl,ml,ua,wo,ys){var Ms=(ml+wo)*.5,xl=(ua+ys)*.5,Ul=ol>=Ms,gu=tl>=xl,Fl=gu<<1|Ul;uo.leaf=!1,uo=uo.nodes[Fl]||(uo.nodes[Fl]=Ql()),Ul?ml=Ms:wo=Ms,gu?ua=xl:ys=xl,io(uo,Jo,ol,tl,ml,ua,wo,ys)}var Qo=Ql();if(Qo.add=function(uo){io(Qo,uo,+Tn(uo,++En),+yn(uo,En),Jn,ci,oi,Hn)},Qo.visit=function(uo){Al(uo,Qo,Jn,ci,oi,Hn)},Qo.find=function(uo){return oc(Qo,uo[0],uo[1],Jn,ci,oi,Hn)},En=-1,Re==null){for(;++EnTt||yn>Qt||ti=ta,La=Qe>=oa,io=La<<1|_a,oo=io+4;ioQe&&(Tt=Re.slice(Qe,Tt),Dt[Qt]?Dt[Qt]+=Tt:Dt[++Qt]=Tt),(vt=vt[0])===(mt=mt[0])?Dt[Qt]?Dt[Qt]+=mt:Dt[++Qt]=mt:(Dt[++Qt]=null,lr.push({i:Qt,x:Ml(vt,mt)})),Qe=sc.lastIndex;return Qe=0&&!(vt=g.interpolators[Qe](de,Re)););return vt}g.interpolators=[function(de,Re){var Qe=typeof Re;return(Qe==="string"?yr.has(Re.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Re)?gc:Zs:Re instanceof gi?gc:Array.isArray(Re)?$u:Qe==="object"&&isNaN(Re)?nl:Ml)(de,Re)}],g.interpolateArray=$u;function $u(de,Re){var Qe=[],vt=[],mt=de.length,Tt=Re.length,Qt=Math.min(de.length,Re.length),Dt;for(Dt=0;Dt=0?de.slice(0,Re):de,vt=Re>=0?de.slice(Re+1):"in";return Qe=Nh.get(Qe)||ll,vt=ds.get(vt)||F,Sh(vt(Qe.apply(null,x.call(arguments,1))))};function Sh(de){return function(Re){return Re<=0?0:Re>=1?1:de(Re)}}function Bs(de){return function(Re){return 1-de(1-Re)}}function Vo(de){return function(Re){return .5*(Re<.5?de(2*Re):2-de(2-2*Re))}}function rf(de){return de*de}function Qu(de){return de*de*de}function pu(de){if(de<=0)return 0;if(de>=1)return 1;var Re=de*de,Qe=Re*de;return 4*(de<.5?Qe:3*(de-Re)+Qe-.75)}function Df(de){return function(Re){return Math.pow(Re,de)}}function Lc(de){return 1-Math.cos(de*we)}function nf(de){return Math.pow(2,10*(de-1))}function Vl(de){return 1-Math.sqrt(1-de*de)}function Jf(de,Re){var Qe;return arguments.length<2&&(Re=.45),arguments.length?Qe=Re/He*Math.asin(1/de):(de=1,Qe=Re/4),function(vt){return 1+de*Math.pow(2,-10*vt)*Math.sin((vt-Qe)*He/Re)}}function zf(de){return de||(de=1.70158),function(Re){return Re*Re*((de+1)*Re-de)}}function wf(de){return de<1/2.75?7.5625*de*de:de<2/2.75?7.5625*(de-=1.5/2.75)*de+.75:de<2.5/2.75?7.5625*(de-=2.25/2.75)*de+.9375:7.5625*(de-=2.625/2.75)*de+.984375}g.interpolateHcl=Gc;function Gc(de,Re){de=g.hcl(de),Re=g.hcl(Re);var Qe=de.h,vt=de.c,mt=de.l,Tt=Re.h-Qe,Qt=Re.c-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.c:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return $r(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateHsl=Ff;function Ff(de,Re){de=g.hsl(de),Re=g.hsl(Re);var Qe=de.h,vt=de.s,mt=de.l,Tt=Re.h-Qe,Qt=Re.s-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.s:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return Ht(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateLab=$f;function $f(de,Re){de=g.lab(de),Re=g.lab(Re);var Qe=de.l,vt=de.a,mt=de.b,Tt=Re.l-Qe,Qt=Re.a-vt,Dt=Re.b-mt;return function(lr){return ui(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateRound=ec;function ec(de,Re){return Re-=de,function(Qe){return Math.round(de+Re*Qe)}}g.transform=function(de){var Re=S.createElementNS(g.ns.prefix.svg,"g");return(g.transform=function(Qe){if(Qe!=null){Re.setAttribute("transform",Qe);var vt=Re.transform.baseVal.consolidate()}return new Tf(vt?vt.matrix:cf)})(de)};function Tf(de){var Re=[de.a,de.b],Qe=[de.c,de.d],vt=Wc(Re),mt=Pc(Re,Qe),Tt=Wc(Pu(Qe,Re,-mt))||0;Re[0]*Qe[1]180?Re+=360:Re-de>180&&(de+=360),vt.push({i:Qe.push(Ic(Qe)+"rotate(",null,")")-2,x:Ml(de,Re)})):Re&&Qe.push(Ic(Qe)+"rotate("+Re+")")}function Eh(de,Re,Qe,vt){de!==Re?vt.push({i:Qe.push(Ic(Qe)+"skewX(",null,")")-2,x:Ml(de,Re)}):Re&&Qe.push(Ic(Qe)+"skewX("+Re+")")}function Qf(de,Re,Qe,vt){if(de[0]!==Re[0]||de[1]!==Re[1]){var mt=Qe.push(Ic(Qe)+"scale(",null,",",null,")");vt.push({i:mt-4,x:Ml(de[0],Re[0])},{i:mt-2,x:Ml(de[1],Re[1])})}else(Re[0]!==1||Re[1]!==1)&&Qe.push(Ic(Qe)+"scale("+Re+")")}function af(de,Re){var Qe=[],vt=[];return de=g.transform(de),Re=g.transform(Re),Ks(de.translate,Re.translate,Qe,vt),Of(de.rotate,Re.rotate,Qe,vt),Eh(de.skew,Re.skew,Qe,vt),Qf(de.scale,Re.scale,Qe,vt),de=Re=null,function(mt){for(var Tt=-1,Qt=vt.length,Dt;++Tt0?Tt=Hn:(Qe.c=null,Qe.t=NaN,Qe=null,Re.end({type:"end",alpha:Tt=0})):Hn>0&&(Re.start({type:"start",alpha:Tt=Hn}),Qe=qa(de.tick)),de):Tt},de.start=function(){var Hn,ta=ti.length,oa=ai.length,_a=vt[0],La=vt[1],io,oo;for(Hn=0;Hn=0;)Tt.push(jr=Br[lr]),jr.parent=Dt,jr.depth=Dt.depth+1;Qe&&(Dt.value=0),Dt.children=Br}else Qe&&(Dt.value=+Qe.call(vt,Dt,Dt.depth)||0),delete Dt.children;return lc(mt,function(Tn){var yn,ti;de&&(yn=Tn.children)&&yn.sort(de),Qe&&(ti=Tn.parent)&&(ti.value+=Tn.value)}),Qt}return vt.sort=function(mt){return arguments.length?(de=mt,vt):de},vt.children=function(mt){return arguments.length?(Re=mt,vt):Re},vt.value=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt.revalue=function(mt){return Qe&&(_c(mt,function(Tt){Tt.children&&(Tt.value=0)}),lc(mt,function(Tt){var Qt;Tt.children||(Tt.value=+Qe.call(vt,Tt,Tt.depth)||0),(Qt=Tt.parent)&&(Qt.value+=Tt.value)})),mt},vt};function Hu(de,Re){return g.rebind(de,Re,"sort","children","value"),de.nodes=de,de.links=Du,de}function _c(de,Re){for(var Qe=[de];(de=Qe.pop())!=null;)if(Re(de),(mt=de.children)&&(vt=mt.length))for(var vt,mt;--vt>=0;)Qe.push(mt[vt])}function lc(de,Re){for(var Qe=[de],vt=[];(de=Qe.pop())!=null;)if(vt.push(de),(Qt=de.children)&&(Tt=Qt.length))for(var mt=-1,Tt,Qt;++mtmt&&(mt=Dt),vt.push(Dt)}for(Qt=0;Qtvt&&(Qe=Re,vt=mt);return Qe}function ul(de){return de.reduce(sf,0)}function sf(de,Re){return de+Re[1]}g.layout.histogram=function(){var de=!0,Re=Number,Qe=hf,vt=xc;function mt(Tt,yn){for(var Dt=[],lr=Tt.map(Re,this),Br=Qe.call(this,lr,yn),jr=vt.call(this,Br,lr,yn),Tn,yn=-1,ti=lr.length,ai=jr.length-1,En=de?1:1/ti,qn;++yn0)for(yn=-1;++yn=Br[0]&&qn<=Br[1]&&(Tn=Dt[g.bisect(jr,qn,1,ai)-1],Tn.y+=En,Tn.push(Tt[yn]));return Dt}return mt.value=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.range=function(Tt){return arguments.length?(Qe=on(Tt),mt):Qe},mt.bins=function(Tt){return arguments.length?(vt=typeof Tt=="number"?function(Qt){return Gu(Qt,Tt)}:on(Tt),mt):vt},mt.frequency=function(Tt){return arguments.length?(de=!!Tt,mt):de},mt};function xc(de,Re){return Gu(de,Math.ceil(Math.log(Re.length)/Math.LN2+1))}function Gu(de,Re){for(var Qe=-1,vt=+de[0],mt=(de[1]-vt)/Re,Tt=[];++Qe<=Re;)Tt[Qe]=mt*Qe+vt;return Tt}function hf(de){return[g.min(de),g.max(de)]}g.layout.pack=function(){var de=g.layout.hierarchy().sort(uc),Re=0,Qe=[1,1],vt;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br=Qe[0],jr=Qe[1],Tn=vt==null?Math.sqrt:typeof vt=="function"?vt:function(){return vt};if(lr.x=lr.y=0,lc(lr,function(ti){ti.r=+Tn(ti.value)}),lc(lr,Uf),Re){var yn=Re*(vt?1:Math.max(2*lr.r/Br,2*lr.r/jr))/2;lc(lr,function(ti){ti.r+=yn}),lc(lr,Uf),lc(lr,function(ti){ti.r-=yn})}return cc(lr,Br/2,jr/2,vt?1:1/Math.max(2*lr.r/Br,2*lr.r/jr)),Dt}return mt.size=function(Tt){return arguments.length?(Qe=Tt,mt):Qe},mt.radius=function(Tt){return arguments.length?(vt=Tt==null||typeof Tt=="function"?Tt:+Tt,mt):vt},mt.padding=function(Tt){return arguments.length?(Re=+Tt,mt):Re},Hu(mt,de)};function uc(de,Re){return de.value-Re.value}function Zc(de,Re){var Qe=de._pack_next;de._pack_next=Re,Re._pack_prev=de,Re._pack_next=Qe,Qe._pack_prev=Re}function Nf(de,Re){de._pack_next=Re,Re._pack_prev=de}function Xl(de,Re){var Qe=Re.x-de.x,vt=Re.y-de.y,mt=de.r+Re.r;return .999*mt*mt>Qe*Qe+vt*vt}function Uf(de){if(!(Re=de.children)||!(yn=Re.length))return;var Re,Qe=1/0,vt=-1/0,mt=1/0,Tt=-1/0,Qt,Dt,lr,Br,jr,Tn,yn;function ti(Hn){Qe=Math.min(Hn.x-Hn.r,Qe),vt=Math.max(Hn.x+Hn.r,vt),mt=Math.min(Hn.y-Hn.r,mt),Tt=Math.max(Hn.y+Hn.r,Tt)}if(Re.forEach(Wu),Qt=Re[0],Qt.x=-Qt.r,Qt.y=0,ti(Qt),yn>1&&(Dt=Re[1],Dt.x=Dt.r,Dt.y=0,ti(Dt),yn>2))for(lr=Re[2],zl(Qt,Dt,lr),ti(lr),Zc(Qt,lr),Qt._pack_prev=lr,Zc(lr,Dt),Dt=Qt._pack_next,Br=3;Brqn.x&&(qn=ta),ta.depth>Jn.depth&&(Jn=ta)});var ci=Re(En,qn)/2-En.x,oi=Qe[0]/(qn.x+Re(qn,En)/2+ci),Hn=Qe[1]/(Jn.depth||1);_c(ti,function(ta){ta.x=(ta.x+ci)*oi,ta.y=ta.depth*Hn})}return yn}function Tt(jr){for(var Tn={A:null,children:[jr]},yn=[Tn],ti;(ti=yn.pop())!=null;)for(var ai=ti.children,En,qn=0,Jn=ai.length;qn0&&(rc(Yt(En,jr,yn),jr,ta),Jn+=ta,ci+=ta),oi+=En.m,Jn+=ti.m,Hn+=qn.m,ci+=ai.m;En&&!Dc(ai)&&(ai.t=En,ai.m+=oi-ci),ti&&!fc(qn)&&(qn.t=ti,qn.m+=Jn-Hn,yn=jr)}return yn}function Br(jr){jr.x*=Qe[0],jr.y=jr.depth*Qe[1]}return mt.separation=function(jr){return arguments.length?(Re=jr,mt):Re},mt.size=function(jr){return arguments.length?(vt=(Qe=jr)==null?Br:null,mt):vt?null:Qe},mt.nodeSize=function(jr){return arguments.length?(vt=(Qe=jr)==null?null:Br,mt):vt?Qe:null},Hu(mt,de)};function uu(de,Re){return de.parent==Re.parent?1:2}function fc(de){var Re=de.children;return Re.length?Re[0]:de.t}function Dc(de){var Re=de.children,Qe;return(Qe=Re.length)?Re[Qe-1]:de.t}function rc(de,Re,Qe){var vt=Qe/(Re.i-de.i);Re.c-=vt,Re.s+=Qe,de.c+=vt,Re.z+=Qe,Re.m+=Qe}function Yc(de){for(var Re=0,Qe=0,vt=de.children,mt=vt.length,Tt;--mt>=0;)Tt=vt[mt],Tt.z+=Re,Tt.m+=Re,Re+=Tt.s+(Qe+=Tt.c)}function Yt(de,Re,Qe){return de.a.parent===Re.parent?de.a:Qe}g.layout.cluster=function(){var de=g.layout.hierarchy().sort(null).value(null),Re=uu,Qe=[1,1],vt=!1;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br,jr=0;lc(lr,function(En){var qn=En.children;qn&&qn.length?(En.x=tn(qn),En.y=dr(qn)):(En.x=Br?jr+=Re(En,Br):0,En.y=0,Br=En)});var Tn=Wr(lr),yn=Cn(lr),ti=Tn.x-Re(Tn,yn)/2,ai=yn.x+Re(yn,Tn)/2;return lc(lr,vt?function(En){En.x=(En.x-lr.x)*Qe[0],En.y=(lr.y-En.y)*Qe[1]}:function(En){En.x=(En.x-ti)/(ai-ti)*Qe[0],En.y=(1-(lr.y?En.y/lr.y:1))*Qe[1]}),Dt}return mt.separation=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.size=function(Tt){return arguments.length?(vt=(Qe=Tt)==null,mt):vt?null:Qe},mt.nodeSize=function(Tt){return arguments.length?(vt=(Qe=Tt)!=null,mt):vt?Qe:null},Hu(mt,de)};function dr(de){return 1+g.max(de,function(Re){return Re.y})}function tn(de){return de.reduce(function(Re,Qe){return Re+Qe.x},0)/de.length}function Wr(de){var Re=de.children;return Re&&Re.length?Wr(Re[0]):de}function Cn(de){var Re=de.children,Qe;return Re&&(Qe=Re.length)?Cn(Re[Qe-1]):de}g.layout.treemap=function(){var de=g.layout.hierarchy(),Re=Math.round,Qe=[1,1],vt=null,mt=si,Tt=!1,Qt,Dt="squarify",lr=.5*(1+Math.sqrt(5));function Br(En,qn){for(var Jn=-1,ci=En.length,oi,Hn;++Jn0;)ci.push(Hn=oi[La-1]),ci.area+=Hn.area,Dt!=="squarify"||(oa=yn(ci,_a))<=ta?(oi.pop(),ta=oa):(ci.area-=ci.pop().area,ti(ci,_a,Jn,!1),_a=Math.min(Jn.dx,Jn.dy),ci.length=ci.area=0,ta=1/0);ci.length&&(ti(ci,_a,Jn,!0),ci.length=ci.area=0),qn.forEach(jr)}}function Tn(En){var qn=En.children;if(qn&&qn.length){var Jn=mt(En),ci=qn.slice(),oi,Hn=[];for(Br(ci,Jn.dx*Jn.dy/En.value),Hn.area=0;oi=ci.pop();)Hn.push(oi),Hn.area+=oi.area,oi.z!=null&&(ti(Hn,oi.z?Jn.dx:Jn.dy,Jn,!ci.length),Hn.length=Hn.area=0);qn.forEach(Tn)}}function yn(En,qn){for(var Jn=En.area,ci,oi=0,Hn=1/0,ta=-1,oa=En.length;++taoi&&(oi=ci));return Jn*=Jn,qn*=qn,Jn?Math.max(qn*oi*lr/Jn,Jn/(qn*Hn*lr)):1/0}function ti(En,qn,Jn,ci){var oi=-1,Hn=En.length,ta=Jn.x,oa=Jn.y,_a=qn?Re(En.area/qn):0,La;if(qn==Jn.dx){for((ci||_a>Jn.dy)&&(_a=Jn.dy);++oiJn.dx)&&(_a=Jn.dx);++oi1);return de+Re*vt*Math.sqrt(-2*Math.log(Tt)/Tt)}},logNormal:function(){var de=g.random.normal.apply(g,arguments);return function(){return Math.exp(de())}},bates:function(de){var Re=g.random.irwinHall(de);return function(){return Re()/de}},irwinHall:function(de){return function(){for(var Re=0,Qe=0;Qe2?di:aa,Br=vt?Iu:lh;return mt=lr(de,Re,Br,Qe),Tt=lr(Re,de,Br,jl),Dt}function Dt(lr){return mt(lr)}return Dt.invert=function(lr){return Tt(lr)},Dt.domain=function(lr){return arguments.length?(de=lr.map(Number),Qt()):de},Dt.range=function(lr){return arguments.length?(Re=lr,Qt()):Re},Dt.rangeRound=function(lr){return Dt.range(lr).interpolate(ec)},Dt.clamp=function(lr){return arguments.length?(vt=lr,Qt()):vt},Dt.interpolate=function(lr){return arguments.length?(Qe=lr,Qt()):Qe},Dt.ticks=function(lr){return Ao(de,lr)},Dt.tickFormat=function(lr,Br){return d3_scale_linearTickFormat(de,lr,Br)},Dt.nice=function(lr){return co(de,lr),Qt()},Dt.copy=function(){return wa(de,Re,Qe,vt)},Qt()}function po(de,Re){return g.rebind(de,Re,"range","rangeRound","interpolate","clamp")}function co(de,Re){return bi(de,zi(mo(de,Re)[2])),bi(de,zi(mo(de,Re)[2])),de}function mo(de,Re){Re==null&&(Re=10);var Qe=Di(de),vt=Qe[1]-Qe[0],mt=Math.pow(10,Math.floor(Math.log(vt/Re)/Math.LN10)),Tt=Re/vt*mt;return Tt<=.15?mt*=10:Tt<=.35?mt*=5:Tt<=.75&&(mt*=2),Qe[0]=Math.ceil(Qe[0]/mt)*mt,Qe[1]=Math.floor(Qe[1]/mt)*mt+mt*.5,Qe[2]=mt,Qe}function Ao(de,Re){return g.range.apply(g,mo(de,Re))}var xa={s:1,g:1,p:1,r:1,e:1};function Qi(de){return-Math.floor(Math.log(de)/Math.LN10+.01)}function Lo(de,Re){var Qe=Qi(Re[2]);return de in xa?Math.abs(Qe-Qi(Math.max(l(Re[0]),l(Re[1]))))+ +(de!=="e"):Qe-(de==="%")*2}g.scale.log=function(){return as(g.scale.linear().domain([0,1]),10,!0,[1,10])};function as(de,Re,Qe,vt){function mt(Dt){return(Qe?Math.log(Dt<0?0:Dt):-Math.log(Dt>0?0:-Dt))/Math.log(Re)}function Tt(Dt){return Qe?Math.pow(Re,Dt):-Math.pow(Re,-Dt)}function Qt(Dt){return de(mt(Dt))}return Qt.invert=function(Dt){return Tt(de.invert(Dt))},Qt.domain=function(Dt){return arguments.length?(Qe=Dt[0]>=0,de.domain((vt=Dt.map(Number)).map(mt)),Qt):vt},Qt.base=function(Dt){return arguments.length?(Re=+Dt,de.domain(vt.map(mt)),Qt):Re},Qt.nice=function(){var Dt=bi(vt.map(mt),Qe?Math:Ds);return de.domain(Dt),vt=Dt.map(Tt),Qt},Qt.ticks=function(){var Dt=Di(vt),lr=[],Br=Dt[0],jr=Dt[1],Tn=Math.floor(mt(Br)),yn=Math.ceil(mt(jr)),ti=Re%1?2:Re;if(isFinite(yn-Tn)){if(Qe){for(;Tn0;ai--)lr.push(Tt(Tn)*ai);for(Tn=0;lr[Tn]jr;yn--);lr=lr.slice(Tn,yn)}return lr},Qt.copy=function(){return as(de.copy(),Re,Qe,vt)},po(Qt,de)}var Ds={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};g.scale.pow=function(){return il(g.scale.linear(),1,[0,1])};function il(de,Re,Qe){var vt=Ns(Re),mt=Ns(1/Re);function Tt(Qt){return de(vt(Qt))}return Tt.invert=function(Qt){return mt(de.invert(Qt))},Tt.domain=function(Qt){return arguments.length?(de.domain((Qe=Qt.map(Number)).map(vt)),Tt):Qe},Tt.ticks=function(Qt){return Ao(Qe,Qt)},Tt.tickFormat=function(Qt,Dt){return d3_scale_linearTickFormat(Qe,Qt,Dt)},Tt.nice=function(Qt){return Tt.domain(co(Qe,Qt))},Tt.exponent=function(Qt){return arguments.length?(vt=Ns(Re=Qt),mt=Ns(1/Re),de.domain(Qe.map(vt)),Tt):Re},Tt.copy=function(){return il(de.copy(),Re,Qe)},po(Tt,de)}function Ns(de){return function(Re){return Re<0?-Math.pow(-Re,de):Math.pow(Re,de)}}g.scale.sqrt=function(){return g.scale.pow().exponent(.5)},g.scale.ordinal=function(){return el([],{t:"range",a:[[]]})};function el(de,Re){var Qe,vt,mt;function Tt(Dt){return vt[((Qe.get(Dt)||(Re.t==="range"?Qe.set(Dt,de.push(Dt)):NaN))-1)%vt.length]}function Qt(Dt,lr){return g.range(de.length).map(function(Br){return Dt+lr*Br})}return Tt.domain=function(Dt){if(!arguments.length)return de;de=[],Qe=new M;for(var lr=-1,Br=Dt.length,jr;++lr0?Qe[Tt-1]:de[0],Ttyn?0:1;if(jr=Ee)return lr(jr,ai)+(Br?lr(Br,1-ai):"")+"Z";var En,qn,Jn,ci,oi=0,Hn=0,ta,oa,_a,La,io,oo,Qo,uo,Jo=[];if((ci=(+Qt.apply(this,arguments)||0)/2)&&(Jn=vt===zu?Math.sqrt(Br*Br+jr*jr):+vt.apply(this,arguments),ai||(Hn*=-1),jr&&(Hn=Nt(Jn/jr*Math.sin(ci))),Br&&(oi=Nt(Jn/Br*Math.sin(ci)))),jr){ta=jr*Math.cos(Tn+Hn),oa=jr*Math.sin(Tn+Hn),_a=jr*Math.cos(yn-Hn),La=jr*Math.sin(yn-Hn);var ol=Math.abs(yn-Tn-2*Hn)<=Se?0:1;if(Hn&&wc(ta,oa,_a,La)===ai^ol){var tl=(Tn+yn)/2;ta=jr*Math.cos(tl),oa=jr*Math.sin(tl),_a=La=null}}else ta=oa=0;if(Br){io=Br*Math.cos(yn-oi),oo=Br*Math.sin(yn-oi),Qo=Br*Math.cos(Tn+oi),uo=Br*Math.sin(Tn+oi);var ml=Math.abs(Tn-yn+2*oi)<=Se?0:1;if(oi&&wc(io,oo,Qo,uo)===1-ai^ml){var ua=(Tn+yn)/2;io=Br*Math.cos(ua),oo=Br*Math.sin(ua),Qo=uo=null}}else io=oo=0;if(ti>Ke&&(En=Math.min(Math.abs(jr-Br)/2,+Qe.apply(this,arguments)))>.001){qn=Br0?0:1}function bo(de,Re,Qe,vt,mt){var Tt=de[0]-Re[0],Qt=de[1]-Re[1],Dt=(mt?vt:-vt)/Math.sqrt(Tt*Tt+Qt*Qt),lr=Dt*Qt,Br=-Dt*Tt,jr=de[0]+lr,Tn=de[1]+Br,yn=Re[0]+lr,ti=Re[1]+Br,ai=(jr+yn)/2,En=(Tn+ti)/2,qn=yn-jr,Jn=ti-Tn,ci=qn*qn+Jn*Jn,oi=Qe-vt,Hn=jr*ti-yn*Tn,ta=(Jn<0?-1:1)*Math.sqrt(Math.max(0,oi*oi*ci-Hn*Hn)),oa=(Hn*Jn-qn*ta)/ci,_a=(-Hn*qn-Jn*ta)/ci,La=(Hn*Jn+qn*ta)/ci,io=(-Hn*qn+Jn*ta)/ci,oo=oa-ai,Qo=_a-En,uo=La-ai,Jo=io-En;return oo*oo+Qo*Qo>uo*uo+Jo*Jo&&(oa=La,_a=io),[[oa-lr,_a-Br],[oa*Qe/oi,_a*Qe/oi]]}function Wo(){return!0}function Fc(de){var Re=Go,Qe=pa,vt=Wo,mt=dc,Tt=mt.key,Qt=.7;function Dt(lr){var Br=[],jr=[],Tn=-1,yn=lr.length,ti,ai=on(Re),En=on(Qe);function qn(){Br.push("M",mt(de(jr),Qt))}for(;++Tn1?de.join("L"):de+"Z"}function Ne(de){return de.join("L")+"Z"}function R(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],",",vt[1]];++Re1&&mt.push("H",vt[0]),mt.join("")}function ne(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],",",vt[1]];++Re1){Dt=Re[1],Tt=de[lr],lr++,vt+="C"+(mt[0]+Qt[0])+","+(mt[1]+Qt[1])+","+(Tt[0]-Dt[0])+","+(Tt[1]-Dt[1])+","+Tt[0]+","+Tt[1];for(var Br=2;Br9&&(Tt=Qe*3/Math.sqrt(Tt),Qt[Dt]=Tt*vt,Qt[Dt+1]=Tt*mt));for(Dt=-1;++Dt<=lr;)Tt=(de[Math.min(lr,Dt+1)][0]-de[Math.max(0,Dt-1)][0])/(6*(1+Qt[Dt]*Qt[Dt])),Re.push([Tt||0,Qt[Dt]*Tt||0]);return Re}function rr(de){return de.length<3?dc(de):de[0]+wt(de,It(de))}g.svg.line.radial=function(){var de=Fc(sr);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function sr(de){for(var Re,Qe=-1,vt=de.length,mt,Tt;++QeSe)+",1 "+Tn}function Br(jr,Tn,yn,ti){return"Q 0,0 "+ti}return Tt.radius=function(jr){return arguments.length?(Qe=on(jr),Tt):Qe},Tt.source=function(jr){return arguments.length?(de=on(jr),Tt):de},Tt.target=function(jr){return arguments.length?(Re=on(jr),Tt):Re},Tt.startAngle=function(jr){return arguments.length?(vt=on(jr),Tt):vt},Tt.endAngle=function(jr){return arguments.length?(mt=on(jr),Tt):mt},Tt};function _n(de){return de.radius}g.svg.diagonal=function(){var de=kr,Re=Yr,Qe=Mn;function vt(mt,Tt){var Qt=de.call(this,mt,Tt),Dt=Re.call(this,mt,Tt),lr=(Qt.y+Dt.y)/2,Br=[Qt,{x:Qt.x,y:lr},{x:Dt.x,y:lr},Dt];return Br=Br.map(Qe),"M"+Br[0]+"C"+Br[1]+" "+Br[2]+" "+Br[3]}return vt.source=function(mt){return arguments.length?(de=on(mt),vt):de},vt.target=function(mt){return arguments.length?(Re=on(mt),vt):Re},vt.projection=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt};function Mn(de){return[de.x,de.y]}g.svg.diagonal.radial=function(){var de=g.svg.diagonal(),Re=Mn,Qe=de.projection;return de.projection=function(vt){return arguments.length?Qe(Un(Re=vt)):Re},de};function Un(de){return function(){var Re=de.apply(this,arguments),Qe=Re[0],vt=Re[1]-we;return[Qe*Math.cos(vt),Qe*Math.sin(vt)]}}g.svg.symbol=function(){var de=ki,Re=li;function Qe(vt,mt){return(Zi.get(de.call(this,vt,mt))||Ci)(Re.call(this,vt,mt))}return Qe.type=function(vt){return arguments.length?(de=on(vt),Qe):de},Qe.size=function(vt){return arguments.length?(Re=on(vt),Qe):Re},Qe};function li(){return 64}function ki(){return"circle"}function Ci(de){var Re=Math.sqrt(de/Se);return"M0,"+Re+"A"+Re+","+Re+" 0 1,1 0,"+-Re+"A"+Re+","+Re+" 0 1,1 0,"+Re+"Z"}var Zi=g.map({circle:Ci,cross:function(de){var Re=Math.sqrt(de/5)/2;return"M"+-3*Re+","+-Re+"H"+-Re+"V"+-3*Re+"H"+Re+"V"+-Re+"H"+3*Re+"V"+Re+"H"+Re+"V"+3*Re+"H"+-Re+"V"+Re+"H"+-3*Re+"Z"},diamond:function(de){var Re=Math.sqrt(de/(2*ro)),Qe=Re*ro;return"M0,"+-Re+"L"+Qe+",0 0,"+Re+" "+-Qe+",0Z"},square:function(de){var Re=Math.sqrt(de)/2;return"M"+-Re+","+-Re+"L"+Re+","+-Re+" "+Re+","+Re+" "+-Re+","+Re+"Z"},"triangle-down":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return"M0,"+Qe+"L"+Re+","+-Qe+" "+-Re+","+-Qe+"Z"},"triangle-up":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return"M0,"+-Qe+"L"+Re+","+Qe+" "+-Re+","+Qe+"Z"}});g.svg.symbolTypes=Zi.keys();var ya=Math.sqrt(3),ro=Math.tan(30*Le);ae.transition=function(de){for(var Re=bs||++ts,Qe=is(de),vt=[],mt,Tt,Qt=fl||{time:Date.now(),ease:pu,delay:0,duration:250},Dt=-1,lr=this.length;++Dt0;)Tn[--ci].call(de,Jn);if(qn>=1)return Qt.event&&Qt.event.end.call(de,de.__data__,Re),--Tt.count?delete Tt[vt]:delete de[Qe],1}Qt||(Dt=mt.time,lr=qa(yn,0,Dt),Qt=Tt[vt]={tween:new M,time:Dt,timer:lr,delay:mt.delay,duration:mt.duration,ease:mt.ease,index:Re},mt=null,++Tt.count)}g.svg.axis=function(){var de=g.scale.linear(),Re=eu,Qe=6,vt=6,mt=3,Tt=[10],Qt=null,Dt;function lr(Br){Br.each(function(){var jr=g.select(this),Tn=this.__chart__||de,yn=this.__chart__=de.copy(),ti=Qt??(yn.ticks?yn.ticks.apply(yn,Tt):yn.domain()),ai=Dt??(yn.tickFormat?yn.tickFormat.apply(yn,Tt):F),En=jr.selectAll(".tick").data(ti,yn),qn=En.enter().insert("g",".domain").attr("class","tick").style("opacity",Ke),Jn=g.transition(En.exit()).style("opacity",Ke).remove(),ci=g.transition(En.order()).style("opacity",1),oi=Math.max(Qe,0)+mt,Hn,ta=Wi(yn),oa=jr.selectAll(".domain").data([0]),_a=(oa.enter().append("path").attr("class","domain"),g.transition(oa));qn.append("line"),qn.append("text");var La=qn.select("line"),io=ci.select("line"),oo=En.select("text").text(ai),Qo=qn.select("text"),uo=ci.select("text"),Jo=Re==="top"||Re==="left"?-1:1,ol,tl,ml,ua;if(Re==="bottom"||Re==="top"?(Hn=mu,ol="x",ml="y",tl="x2",ua="y2",oo.attr("dy",Jo<0?"0em":".71em").style("text-anchor","middle"),_a.attr("d","M"+ta[0]+","+Jo*vt+"V0H"+ta[1]+"V"+Jo*vt)):(Hn=El,ol="y",ml="x",tl="y2",ua="x2",oo.attr("dy",".32em").style("text-anchor",Jo<0?"end":"start"),_a.attr("d","M"+Jo*vt+","+ta[0]+"H0V"+ta[1]+"H"+Jo*vt)),La.attr(ua,Jo*Qe),Qo.attr(ml,Jo*oi),io.attr(tl,0).attr(ua,Jo*Qe),uo.attr(ol,0).attr(ml,Jo*oi),yn.rangeBand){var wo=yn,ys=wo.rangeBand()/2;Tn=yn=function(Ms){return wo(Ms)+ys}}else Tn.rangeBand?Tn=yn:Jn.call(Hn,yn,Tn);qn.call(Hn,Tn,yn),ci.call(Hn,yn,yn)})}return lr.scale=function(Br){return arguments.length?(de=Br,lr):de},lr.orient=function(Br){return arguments.length?(Re=Br in Xu?Br+"":eu,lr):Re},lr.ticks=function(){return arguments.length?(Tt=A(arguments),lr):Tt},lr.tickValues=function(Br){return arguments.length?(Qt=Br,lr):Qt},lr.tickFormat=function(Br){return arguments.length?(Dt=Br,lr):Dt},lr.tickSize=function(Br){var jr=arguments.length;return jr?(Qe=+Br,vt=+arguments[jr-1],lr):Qe},lr.innerTickSize=function(Br){return arguments.length?(Qe=+Br,lr):Qe},lr.outerTickSize=function(Br){return arguments.length?(vt=+Br,lr):vt},lr.tickPadding=function(Br){return arguments.length?(mt=+Br,lr):mt},lr.tickSubdivide=function(){return arguments.length&&lr},lr};var eu="bottom",Xu={top:1,right:1,bottom:1,left:1};function mu(de,Re,Qe){de.attr("transform",function(vt){var mt=Re(vt);return"translate("+(isFinite(mt)?mt:Qe(vt))+",0)"})}function El(de,Re,Qe){de.attr("transform",function(vt){var mt=Re(vt);return"translate(0,"+(isFinite(mt)?mt:Qe(vt))+")"})}g.svg.brush=function(){var de=se(jr,"brushstart","brush","brushend"),Re=null,Qe=null,vt=[0,0],mt=[0,0],Tt,Qt,Dt=!0,lr=!0,Br=Tc[0];function jr(En){En.each(function(){var qn=g.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",ai).on("touchstart.brush",ai),Jn=qn.selectAll(".background").data([0]);Jn.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),qn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ci=qn.selectAll(".resize").data(Br,F);ci.exit().remove(),ci.enter().append("g").attr("class",function(oa){return"resize "+oa}).style("cursor",function(oa){return fu[oa]}).append("rect").attr("x",function(oa){return/[ew]$/.test(oa)?-3:null}).attr("y",function(oa){return/^[ns]/.test(oa)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ci.style("display",jr.empty()?"none":null);var oi=g.transition(qn),Hn=g.transition(Jn),ta;Re&&(ta=Wi(Re),Hn.attr("x",ta[0]).attr("width",ta[1]-ta[0]),yn(oi)),Qe&&(ta=Wi(Qe),Hn.attr("y",ta[0]).attr("height",ta[1]-ta[0]),ti(oi)),Tn(oi)})}jr.event=function(En){En.each(function(){var qn=de.of(this,arguments),Jn={x:vt,y:mt,i:Tt,j:Qt},ci=this.__chart__||Jn;this.__chart__=Jn,bs?g.select(this).transition().each("start.brush",function(){Tt=ci.i,Qt=ci.j,vt=ci.x,mt=ci.y,qn({type:"brushstart"})}).tween("brush:brush",function(){var oi=$u(vt,Jn.x),Hn=$u(mt,Jn.y);return Tt=Qt=null,function(ta){vt=Jn.x=oi(ta),mt=Jn.y=Hn(ta),qn({type:"brush",mode:"resize"})}}).each("end.brush",function(){Tt=Jn.i,Qt=Jn.j,qn({type:"brush",mode:"resize"}),qn({type:"brushend"})}):(qn({type:"brushstart"}),qn({type:"brush",mode:"resize"}),qn({type:"brushend"}))})};function Tn(En){En.selectAll(".resize").attr("transform",function(qn){return"translate("+vt[+/e$/.test(qn)]+","+mt[+/^s/.test(qn)]+")"})}function yn(En){En.select(".extent").attr("x",vt[0]),En.selectAll(".extent,.n>rect,.s>rect").attr("width",vt[1]-vt[0])}function ti(En){En.select(".extent").attr("y",mt[0]),En.selectAll(".extent,.e>rect,.w>rect").attr("height",mt[1]-mt[0])}function ai(){var En=this,qn=g.select(g.event.target),Jn=de.of(En,arguments),ci=g.select(En),oi=qn.datum(),Hn=!/^(n|s)$/.test(oi)&&Re,ta=!/^(e|w)$/.test(oi)&&Qe,oa=qn.classed("extent"),_a=gr(En),La,io=g.mouse(En),oo,Qo=g.select(t(En)).on("keydown.brush",ol).on("keyup.brush",tl);if(g.event.changedTouches?Qo.on("touchmove.brush",ml).on("touchend.brush",wo):Qo.on("mousemove.brush",ml).on("mouseup.brush",wo),ci.interrupt().selectAll("*").interrupt(),oa)io[0]=vt[0]-io[0],io[1]=mt[0]-io[1];else if(oi){var uo=+/w$/.test(oi),Jo=+/^n/.test(oi);oo=[vt[1-uo]-io[0],mt[1-Jo]-io[1]],io[0]=vt[uo],io[1]=mt[Jo]}else g.event.altKey&&(La=io.slice());ci.style("pointer-events","none").selectAll(".resize").style("display",null),g.select("body").style("cursor",qn.style("cursor")),Jn({type:"brushstart"}),ml();function ol(){g.event.keyCode==32&&(oa||(La=null,io[0]-=vt[1],io[1]-=mt[1],oa=2),Q())}function tl(){g.event.keyCode==32&&oa==2&&(io[0]+=vt[1],io[1]+=mt[1],oa=0,Q())}function ml(){var ys=g.mouse(En),Ms=!1;oo&&(ys[0]+=oo[0],ys[1]+=oo[1]),oa||(g.event.altKey?(La||(La=[(vt[0]+vt[1])/2,(mt[0]+mt[1])/2]),io[0]=vt[+(ys[0]0))return qt;do qt.push(fr=new Date(+Lt)),Oe(Lt,Bt),ue(Lt);while(fr=Et)for(;ue(Et),!Lt(Et);)Et.setTime(Et-1)},function(Et,Bt){if(Et>=Et)if(Bt<0)for(;++Bt<=0;)for(;Oe(Et,-1),!Lt(Et););else for(;--Bt>=0;)for(;Oe(Et,1),!Lt(Et););})},rt&&(et.count=function(Lt,Et){return x.setTime(+Lt),A.setTime(+Et),ue(x),ue(A),Math.floor(rt(x,A))},et.every=function(Lt){return Lt=Math.floor(Lt),!isFinite(Lt)||!(Lt>0)?null:Lt>1?et.filter(ot?function(Et){return ot(Et)%Lt===0}:function(Et){return et.count(0,Et)%Lt===0}):et}),et}var e=S(function(){},function(ue,Oe){ue.setTime(+ue+Oe)},function(ue,Oe){return Oe-ue});e.every=function(ue){return ue=Math.floor(ue),!isFinite(ue)||!(ue>0)?null:ue>1?S(function(Oe){Oe.setTime(Math.floor(Oe/ue)*ue)},function(Oe,rt){Oe.setTime(+Oe+rt*ue)},function(Oe,rt){return(rt-Oe)/ue}):e};var t=e.range,r=1e3,o=6e4,n=36e5,i=864e5,a=6048e5,s=S(function(ue){ue.setTime(ue-ue.getMilliseconds())},function(ue,Oe){ue.setTime(+ue+Oe*r)},function(ue,Oe){return(Oe-ue)/r},function(ue){return ue.getUTCSeconds()}),c=s.range,h=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getMinutes()}),p=h.range,d=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r-ue.getMinutes()*o)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getHours()}),T=d.range,l=S(function(ue){ue.setHours(0,0,0,0)},function(ue,Oe){ue.setDate(ue.getDate()+Oe)},function(ue,Oe){return(Oe-ue-(Oe.getTimezoneOffset()-ue.getTimezoneOffset())*o)/i},function(ue){return ue.getDate()-1}),_=l.range;function w(ue){return S(function(Oe){Oe.setDate(Oe.getDate()-(Oe.getDay()+7-ue)%7),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setDate(Oe.getDate()+rt*7)},function(Oe,rt){return(rt-Oe-(rt.getTimezoneOffset()-Oe.getTimezoneOffset())*o)/a})}var M=w(0),E=w(1),m=w(2),b=w(3),v=w(4),u=w(5),y=w(6),f=M.range,P=E.range,L=m.range,z=b.range,F=v.range,B=u.range,O=y.range,I=S(function(ue){ue.setDate(1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setMonth(ue.getMonth()+Oe)},function(ue,Oe){return Oe.getMonth()-ue.getMonth()+(Oe.getFullYear()-ue.getFullYear())*12},function(ue){return ue.getMonth()}),N=I.range,U=S(function(ue){ue.setMonth(0,1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setFullYear(ue.getFullYear()+Oe)},function(ue,Oe){return Oe.getFullYear()-ue.getFullYear()},function(ue){return ue.getFullYear()});U.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setFullYear(Math.floor(Oe.getFullYear()/ue)*ue),Oe.setMonth(0,1),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setFullYear(Oe.getFullYear()+rt*ue)})};var W=U.range,Q=S(function(ue){ue.setUTCSeconds(0,0)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getUTCMinutes()}),le=Q.range,se=S(function(ue){ue.setUTCMinutes(0,0,0)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getUTCHours()}),fe=se.range,G=S(function(ue){ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCDate(ue.getUTCDate()+Oe)},function(ue,Oe){return(Oe-ue)/i},function(ue){return ue.getUTCDate()-1}),$=G.range;function J(ue){return S(function(Oe){Oe.setUTCDate(Oe.getUTCDate()-(Oe.getUTCDay()+7-ue)%7),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCDate(Oe.getUTCDate()+rt*7)},function(Oe,rt){return(rt-Oe)/a})}var X=J(0),re=J(1),ae=J(2),j=J(3),ee=J(4),ie=J(5),ce=J(6),xe=X.range,Te=re.range,Ue=ae.range,Ie=j.range,Ye=ee.range,it=ie.range,at=ce.range,tt=S(function(ue){ue.setUTCDate(1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCMonth(ue.getUTCMonth()+Oe)},function(ue,Oe){return Oe.getUTCMonth()-ue.getUTCMonth()+(Oe.getUTCFullYear()-ue.getUTCFullYear())*12},function(ue){return ue.getUTCMonth()}),ut=tt.range,Me=S(function(ue){ue.setUTCMonth(0,1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCFullYear(ue.getUTCFullYear()+Oe)},function(ue,Oe){return Oe.getUTCFullYear()-ue.getUTCFullYear()},function(ue){return ue.getUTCFullYear()});Me.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setUTCFullYear(Math.floor(Oe.getUTCFullYear()/ue)*ue),Oe.setUTCMonth(0,1),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCFullYear(Oe.getUTCFullYear()+rt*ue)})};var pe=Me.range;g.timeDay=l,g.timeDays=_,g.timeFriday=u,g.timeFridays=B,g.timeHour=d,g.timeHours=T,g.timeInterval=S,g.timeMillisecond=e,g.timeMilliseconds=t,g.timeMinute=h,g.timeMinutes=p,g.timeMonday=E,g.timeMondays=P,g.timeMonth=I,g.timeMonths=N,g.timeSaturday=y,g.timeSaturdays=O,g.timeSecond=s,g.timeSeconds=c,g.timeSunday=M,g.timeSundays=f,g.timeThursday=v,g.timeThursdays=F,g.timeTuesday=m,g.timeTuesdays=L,g.timeWednesday=b,g.timeWednesdays=z,g.timeWeek=M,g.timeWeeks=f,g.timeYear=U,g.timeYears=W,g.utcDay=G,g.utcDays=$,g.utcFriday=ie,g.utcFridays=it,g.utcHour=se,g.utcHours=fe,g.utcMillisecond=e,g.utcMilliseconds=t,g.utcMinute=Q,g.utcMinutes=le,g.utcMonday=re,g.utcMondays=Te,g.utcMonth=tt,g.utcMonths=ut,g.utcSaturday=ce,g.utcSaturdays=at,g.utcSecond=s,g.utcSeconds=c,g.utcSunday=X,g.utcSundays=xe,g.utcThursday=ee,g.utcThursdays=Ye,g.utcTuesday=ae,g.utcTuesdays=Ue,g.utcWednesday=j,g.utcWednesdays=Ie,g.utcWeek=X,g.utcWeeks=xe,g.utcYear=Me,g.utcYears=pe,Object.defineProperty(g,"__esModule",{value:!0})})}}),Ki=ke({"node_modules/d3-time-format/dist/d3-time-format.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,Ii()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){"use strict";function A(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L);return Ke.setFullYear(Be.y),Ke}return new Date(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L)}function S(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(Date.UTC(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L));return Ke.setUTCFullYear(Be.y),Ke}return new Date(Date.UTC(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L))}function e(Be,Ke,je){return{y:Be,m:Ke,d:je,H:0,M:0,S:0,L:0}}function t(Be){var Ke=Be.dateTime,je=Be.date,Se=Be.time,He=Be.periods,Ee=Be.days,we=Be.shortDays,Le=Be.months,nt=Be.shortMonths,pt=c(He),bt=h(He),Rt=c(Ee),Nt=h(Ee),Xt=c(we),$t=h(we),ur=c(Le),pn=h(Le),Rn=c(nt),Nn=h(nt),On={a:Wn,A:ri,b:Sn,B:ui,c:null,d:I,e:I,f:le,H:N,I:U,j:W,L:Q,m:se,M:fe,p:gt,q:yt,Q:Et,s:Bt,S:G,u:$,U:J,V:X,w:re,W:ae,x:null,X:null,y:j,Y:ee,Z:ie,"%":Lt},ni={a:Pr,A:Ir,b:Tr,B:Mr,c:null,d:ce,e:ce,f:Ye,H:xe,I:Te,j:Ue,L:Ie,m:it,M:at,p:Lr,q:Ur,Q:Et,s:Bt,S:tt,u:ut,U:Me,V:pe,w:ue,W:Oe,x:null,X:null,y:rt,Y:ot,Z:et,"%":Lt},zn={a:Ht,A:Vt,b:wr,B:$r,c:xn,d:v,e:v,f:z,H:y,I:y,j:u,L,m:b,M:f,p:Ft,q:m,Q:B,s:O,S:P,u:d,U:T,V:l,w:p,W:_,x:en,X:Fn,y:M,Y:w,Z:E,"%":F};On.x=Qn(je,On),On.X=Qn(Se,On),On.c=Qn(Ke,On),ni.x=Qn(je,ni),ni.X=Qn(Se,ni),ni.c=Qn(Ke,ni);function Qn(Dr,nn){return function(vn){var gn=[],kt=-1,or=0,yr=Dr.length,on,An,Zn;for(vn instanceof Date||(vn=new Date(+vn));++kt53)return null;"w"in gn||(gn.w=1),"Z"in gn?(or=S(e(gn.y,0,1)),yr=or.getUTCDay(),or=yr>4||yr===0?x.utcMonday.ceil(or):x.utcMonday(or),or=x.utcDay.offset(or,(gn.V-1)*7),gn.y=or.getUTCFullYear(),gn.m=or.getUTCMonth(),gn.d=or.getUTCDate()+(gn.w+6)%7):(or=A(e(gn.y,0,1)),yr=or.getDay(),or=yr>4||yr===0?x.timeMonday.ceil(or):x.timeMonday(or),or=x.timeDay.offset(or,(gn.V-1)*7),gn.y=or.getFullYear(),gn.m=or.getMonth(),gn.d=or.getDate()+(gn.w+6)%7)}else("W"in gn||"U"in gn)&&("w"in gn||(gn.w="u"in gn?gn.u%7:"W"in gn?1:0),yr="Z"in gn?S(e(gn.y,0,1)).getUTCDay():A(e(gn.y,0,1)).getDay(),gn.m=0,gn.d="W"in gn?(gn.w+6)%7+gn.W*7-(yr+5)%7:gn.w+gn.U*7-(yr+6)%7);return"Z"in gn?(gn.H+=gn.Z/100|0,gn.M+=gn.Z%100,S(gn)):A(gn)}}function Zt(Dr,nn,vn,gn){for(var kt=0,or=nn.length,yr=vn.length,on,An;kt=yr)return-1;if(on=nn.charCodeAt(kt++),on===37){if(on=nn.charAt(kt++),An=zn[on in r?nn.charAt(kt++):on],!An||(gn=An(Dr,vn,gn))<0)return-1}else if(on!=vn.charCodeAt(gn++))return-1}return gn}function Ft(Dr,nn,vn){var gn=pt.exec(nn.slice(vn));return gn?(Dr.p=bt[gn[0].toLowerCase()],vn+gn[0].length):-1}function Ht(Dr,nn,vn){var gn=Xt.exec(nn.slice(vn));return gn?(Dr.w=$t[gn[0].toLowerCase()],vn+gn[0].length):-1}function Vt(Dr,nn,vn){var gn=Rt.exec(nn.slice(vn));return gn?(Dr.w=Nt[gn[0].toLowerCase()],vn+gn[0].length):-1}function wr(Dr,nn,vn){var gn=Rn.exec(nn.slice(vn));return gn?(Dr.m=Nn[gn[0].toLowerCase()],vn+gn[0].length):-1}function $r(Dr,nn,vn){var gn=ur.exec(nn.slice(vn));return gn?(Dr.m=pn[gn[0].toLowerCase()],vn+gn[0].length):-1}function xn(Dr,nn,vn){return Zt(Dr,Ke,nn,vn)}function en(Dr,nn,vn){return Zt(Dr,je,nn,vn)}function Fn(Dr,nn,vn){return Zt(Dr,Se,nn,vn)}function Wn(Dr){return we[Dr.getDay()]}function ri(Dr){return Ee[Dr.getDay()]}function Sn(Dr){return nt[Dr.getMonth()]}function ui(Dr){return Le[Dr.getMonth()]}function gt(Dr){return He[+(Dr.getHours()>=12)]}function yt(Dr){return 1+~~(Dr.getMonth()/3)}function Pr(Dr){return we[Dr.getUTCDay()]}function Ir(Dr){return Ee[Dr.getUTCDay()]}function Tr(Dr){return nt[Dr.getUTCMonth()]}function Mr(Dr){return Le[Dr.getUTCMonth()]}function Lr(Dr){return He[+(Dr.getUTCHours()>=12)]}function Ur(Dr){return 1+~~(Dr.getUTCMonth()/3)}return{format:function(Dr){var nn=Qn(Dr+="",On);return nn.toString=function(){return Dr},nn},parse:function(Dr){var nn=gi(Dr+="",!1);return nn.toString=function(){return Dr},nn},utcFormat:function(Dr){var nn=Qn(Dr+="",ni);return nn.toString=function(){return Dr},nn},utcParse:function(Dr){var nn=gi(Dr+="",!0);return nn.toString=function(){return Dr},nn}}}var r={"-":"",_:" ",0:"0"},o=/^\s*\d+/,n=/^%/,i=/[\\^$*+?|[\]().{}]/g;function a(Be,Ke,je){var Se=Be<0?"-":"",He=(Se?-Be:Be)+"",Ee=He.length;return Se+(Ee68?1900:2e3),je+Se[0].length):-1}function E(Be,Ke,je){var Se=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ke.slice(je,je+6));return Se?(Be.Z=Se[1]?0:-(Se[2]+(Se[3]||"00")),je+Se[0].length):-1}function m(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+1));return Se?(Be.q=Se[0]*3-3,je+Se[0].length):-1}function b(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.m=Se[0]-1,je+Se[0].length):-1}function v(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.d=+Se[0],je+Se[0].length):-1}function u(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.m=0,Be.d=+Se[0],je+Se[0].length):-1}function y(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.H=+Se[0],je+Se[0].length):-1}function f(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.M=+Se[0],je+Se[0].length):-1}function P(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.S=+Se[0],je+Se[0].length):-1}function L(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.L=+Se[0],je+Se[0].length):-1}function z(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+6));return Se?(Be.L=Math.floor(Se[0]/1e3),je+Se[0].length):-1}function F(Be,Ke,je){var Se=n.exec(Ke.slice(je,je+1));return Se?je+Se[0].length:-1}function B(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.Q=+Se[0],je+Se[0].length):-1}function O(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.s=+Se[0],je+Se[0].length):-1}function I(Be,Ke){return a(Be.getDate(),Ke,2)}function N(Be,Ke){return a(Be.getHours(),Ke,2)}function U(Be,Ke){return a(Be.getHours()%12||12,Ke,2)}function W(Be,Ke){return a(1+x.timeDay.count(x.timeYear(Be),Be),Ke,3)}function Q(Be,Ke){return a(Be.getMilliseconds(),Ke,3)}function le(Be,Ke){return Q(Be,Ke)+"000"}function se(Be,Ke){return a(Be.getMonth()+1,Ke,2)}function fe(Be,Ke){return a(Be.getMinutes(),Ke,2)}function G(Be,Ke){return a(Be.getSeconds(),Ke,2)}function $(Be){var Ke=Be.getDay();return Ke===0?7:Ke}function J(Be,Ke){return a(x.timeSunday.count(x.timeYear(Be)-1,Be),Ke,2)}function X(Be,Ke){var je=Be.getDay();return Be=je>=4||je===0?x.timeThursday(Be):x.timeThursday.ceil(Be),a(x.timeThursday.count(x.timeYear(Be),Be)+(x.timeYear(Be).getDay()===4),Ke,2)}function re(Be){return Be.getDay()}function ae(Be,Ke){return a(x.timeMonday.count(x.timeYear(Be)-1,Be),Ke,2)}function j(Be,Ke){return a(Be.getFullYear()%100,Ke,2)}function ee(Be,Ke){return a(Be.getFullYear()%1e4,Ke,4)}function ie(Be){var Ke=Be.getTimezoneOffset();return(Ke>0?"-":(Ke*=-1,"+"))+a(Ke/60|0,"0",2)+a(Ke%60,"0",2)}function ce(Be,Ke){return a(Be.getUTCDate(),Ke,2)}function xe(Be,Ke){return a(Be.getUTCHours(),Ke,2)}function Te(Be,Ke){return a(Be.getUTCHours()%12||12,Ke,2)}function Ue(Be,Ke){return a(1+x.utcDay.count(x.utcYear(Be),Be),Ke,3)}function Ie(Be,Ke){return a(Be.getUTCMilliseconds(),Ke,3)}function Ye(Be,Ke){return Ie(Be,Ke)+"000"}function it(Be,Ke){return a(Be.getUTCMonth()+1,Ke,2)}function at(Be,Ke){return a(Be.getUTCMinutes(),Ke,2)}function tt(Be,Ke){return a(Be.getUTCSeconds(),Ke,2)}function ut(Be){var Ke=Be.getUTCDay();return Ke===0?7:Ke}function Me(Be,Ke){return a(x.utcSunday.count(x.utcYear(Be)-1,Be),Ke,2)}function pe(Be,Ke){var je=Be.getUTCDay();return Be=je>=4||je===0?x.utcThursday(Be):x.utcThursday.ceil(Be),a(x.utcThursday.count(x.utcYear(Be),Be)+(x.utcYear(Be).getUTCDay()===4),Ke,2)}function ue(Be){return Be.getUTCDay()}function Oe(Be,Ke){return a(x.utcMonday.count(x.utcYear(Be)-1,Be),Ke,2)}function rt(Be,Ke){return a(Be.getUTCFullYear()%100,Ke,2)}function ot(Be,Ke){return a(Be.getUTCFullYear()%1e4,Ke,4)}function et(){return"+0000"}function Lt(){return"%"}function Et(Be){return+Be}function Bt(Be){return Math.floor(+Be/1e3)}var qt;fr({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"]});function fr(Be){return qt=t(Be),g.timeFormat=qt.format,g.timeParse=qt.parse,g.utcFormat=qt.utcFormat,g.utcParse=qt.utcParse,qt}var ar="%Y-%m-%dT%H:%M:%S.%LZ";function Rr(Be){return Be.toISOString()}var gr=Date.prototype.toISOString?Rr:g.utcFormat(ar);function br(Be){var Ke=new Date(Be);return isNaN(Ke)?null:Ke}var _t=+new Date("2000-01-01T00:00:00.000Z")?br:g.utcParse(ar);g.isoFormat=gr,g.isoParse=_t,g.timeFormatDefaultLocale=fr,g.timeFormatLocale=t,Object.defineProperty(g,"__esModule",{value:!0})})}}),$n=ke({"node_modules/d3-format/dist/d3-format.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=typeof globalThis<"u"?globalThis:g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(b){return Math.abs(b=Math.round(b))>=1e21?b.toLocaleString("en").replace(/,/g,""):b.toString(10)}function A(b,v){if((u=(b=v?b.toExponential(v-1):b.toExponential()).indexOf("e"))<0)return null;var u,y=b.slice(0,u);return[y.length>1?y[0]+y.slice(2):y,+b.slice(u+1)]}function S(b){return b=A(Math.abs(b)),b?b[1]:NaN}function e(b,v){return function(u,y){for(var f=u.length,P=[],L=0,z=b[0],F=0;f>0&&z>0&&(F+z+1>y&&(z=Math.max(1,y-F)),P.push(u.substring(f-=z,f+z)),!((F+=z+1)>y));)z=b[L=(L+1)%b.length];return P.reverse().join(v)}}function t(b){return function(v){return v.replace(/[0-9]/g,function(u){return b[+u]})}}var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(b){if(!(v=r.exec(b)))throw new Error("invalid format: "+b);var v;return new n({fill:v[1],align:v[2],sign:v[3],symbol:v[4],zero:v[5],width:v[6],comma:v[7],precision:v[8]&&v[8].slice(1),trim:v[9],type:v[10]})}o.prototype=n.prototype;function n(b){this.fill=b.fill===void 0?" ":b.fill+"",this.align=b.align===void 0?">":b.align+"",this.sign=b.sign===void 0?"-":b.sign+"",this.symbol=b.symbol===void 0?"":b.symbol+"",this.zero=!!b.zero,this.width=b.width===void 0?void 0:+b.width,this.comma=!!b.comma,this.precision=b.precision===void 0?void 0:+b.precision,this.trim=!!b.trim,this.type=b.type===void 0?"":b.type+""}n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function i(b){e:for(var v=b.length,u=1,y=-1,f;u0&&(y=0);break}return y>0?b.slice(0,y)+b.slice(f+1):b}var a;function s(b,v){var u=A(b,v);if(!u)return b+"";var y=u[0],f=u[1],P=f-(a=Math.max(-8,Math.min(8,Math.floor(f/3)))*3)+1,L=y.length;return P===L?y:P>L?y+new Array(P-L+1).join("0"):P>0?y.slice(0,P)+"."+y.slice(P):"0."+new Array(1-P).join("0")+A(b,Math.max(0,v+P-1))[0]}function c(b,v){var u=A(b,v);if(!u)return b+"";var y=u[0],f=u[1];return f<0?"0."+new Array(-f).join("0")+y:y.length>f+1?y.slice(0,f+1)+"."+y.slice(f+1):y+new Array(f-y.length+2).join("0")}var h={"%":function(b,v){return(b*100).toFixed(v)},b:function(b){return Math.round(b).toString(2)},c:function(b){return b+""},d:x,e:function(b,v){return b.toExponential(v)},f:function(b,v){return b.toFixed(v)},g:function(b,v){return b.toPrecision(v)},o:function(b){return Math.round(b).toString(8)},p:function(b,v){return c(b*100,v)},r:c,s,X:function(b){return Math.round(b).toString(16).toUpperCase()},x:function(b){return Math.round(b).toString(16)}};function p(b){return b}var d=Array.prototype.map,T=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function l(b){var v=b.grouping===void 0||b.thousands===void 0?p:e(d.call(b.grouping,Number),b.thousands+""),u=b.currency===void 0?"":b.currency[0]+"",y=b.currency===void 0?"":b.currency[1]+"",f=b.decimal===void 0?".":b.decimal+"",P=b.numerals===void 0?p:t(d.call(b.numerals,String)),L=b.percent===void 0?"%":b.percent+"",z=b.minus===void 0?"-":b.minus+"",F=b.nan===void 0?"NaN":b.nan+"";function B(I){I=o(I);var N=I.fill,U=I.align,W=I.sign,Q=I.symbol,le=I.zero,se=I.width,fe=I.comma,G=I.precision,$=I.trim,J=I.type;J==="n"?(fe=!0,J="g"):h[J]||(G===void 0&&(G=12),$=!0,J="g"),(le||N==="0"&&U==="=")&&(le=!0,N="0",U="=");var X=Q==="$"?u:Q==="#"&&/[boxX]/.test(J)?"0"+J.toLowerCase():"",re=Q==="$"?y:/[%p]/.test(J)?L:"",ae=h[J],j=/[defgprs%]/.test(J);G=G===void 0?6:/[gprs]/.test(J)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G));function ee(ie){var ce=X,xe=re,Te,Ue,Ie;if(J==="c")xe=ae(ie)+xe,ie="";else{ie=+ie;var Ye=ie<0||1/ie<0;if(ie=isNaN(ie)?F:ae(Math.abs(ie),G),$&&(ie=i(ie)),Ye&&+ie==0&&W!=="+"&&(Ye=!1),ce=(Ye?W==="("?W:z:W==="-"||W==="("?"":W)+ce,xe=(J==="s"?T[8+a/3]:"")+xe+(Ye&&W==="("?")":""),j){for(Te=-1,Ue=ie.length;++TeIe||Ie>57){xe=(Ie===46?f+ie.slice(Te+1):ie.slice(Te))+xe,ie=ie.slice(0,Te);break}}}fe&&!le&&(ie=v(ie,1/0));var it=ce.length+ie.length+xe.length,at=it>1)+ce+ie+xe+at.slice(it);break;default:ie=at+ce+ie+xe;break}return P(ie)}return ee.toString=function(){return I+""},ee}function O(I,N){var U=B((I=o(I),I.type="f",I)),W=Math.max(-8,Math.min(8,Math.floor(S(N)/3)))*3,Q=Math.pow(10,-W),le=T[8+W/3];return function(se){return U(Q*se)+le}}return{format:B,formatPrefix:O}}var _;w({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function w(b){return _=l(b),g.format=_.format,g.formatPrefix=_.formatPrefix,_}function M(b){return Math.max(0,-S(Math.abs(b)))}function E(b,v){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(S(v)/3)))*3-S(Math.abs(b)))}function m(b,v){return b=Math.abs(b),v=Math.abs(v)-b,Math.max(0,S(v)-S(b))+1}g.FormatSpecifier=n,g.formatDefaultLocale=w,g.formatLocale=l,g.formatSpecifier=o,g.precisionFixed=M,g.precisionPrefix=E,g.precisionRound=m,Object.defineProperty(g,"__esModule",{value:!0})})}}),Kn=ke({"node_modules/is-string-blank/index.js"(Z,H){"use strict";H.exports=function(g){for(var x=g.length,A,S=0;S13)&&A!==32&&A!==133&&A!==160&&A!==5760&&A!==6158&&(A<8192||A>8205)&&A!==8232&&A!==8233&&A!==8239&&A!==8287&&A!==8288&&A!==12288&&A!==65279)return!1;return!0}}}),Yn=ke({"node_modules/fast-isnumeric/index.js"(Z,H){"use strict";var g=Kn();H.exports=function(x){var A=typeof x;if(A==="string"){var S=x;if(x=+x,x===0&&g(S))return!1}else if(A!=="number")return!1;return x-x<1}}}),Hi=ke({"src/constants/numerical.js"(Z,H){"use strict";H.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"\u2212"}}}),Vn=ke({"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=typeof globalThis<"u"?globalThis:g||self,x(g["base64-arraybuffer"]={}))})(Z,function(g){"use strict";for(var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256),S=0;S>2],a+=x[(o[n]&3)<<4|o[n+1]>>4],a+=x[(o[n+1]&15)<<2|o[n+2]>>6],a+=x[o[n+2]&63];return i%3===2?a=a.substring(0,a.length-1)+"=":i%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t=function(r){var o=r.length*.75,n=r.length,i,a=0,s,c,h,p;r[r.length-1]==="="&&(o--,r[r.length-2]==="="&&o--);var d=new ArrayBuffer(o),T=new Uint8Array(d);for(i=0;i>4,T[a++]=(c&15)<<4|h>>2,T[a++]=(h&3)<<6|p&63;return d};g.decode=t,g.encode=e,Object.defineProperty(g,"__esModule",{value:!0})})}}),Bi=ke({"src/lib/is_plain_object.js"(Z,H){"use strict";H.exports=function(x){return window&&window.process&&window.process.versions?Object.prototype.toString.call(x)==="[object Object]":Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x).hasOwnProperty("hasOwnProperty")}}}),Oa=ke({"src/lib/array.js"(Z){"use strict";var H=Vn().decode,g=Bi(),x=Array.isArray,A=ArrayBuffer,S=DataView;function e(s){return A.isView(s)&&!(s instanceof S)}Z.isTypedArray=e;function t(s){return x(s)||e(s)}Z.isArrayOrTypedArray=t;function r(s){return!t(s[0])}Z.isArray1D=r,Z.ensureArray=function(s,c){return x(s)||(s=[]),s.length=c,s};var o={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};o.uint8c=o.u1c,o.uint8=o.u1,o.int8=o.i1,o.uint16=o.u2,o.int16=o.i2,o.uint32=o.u4,o.int32=o.i4,o.float32=o.f4,o.float64=o.f8;function n(s){return s.constructor===ArrayBuffer}Z.isArrayBuffer=n,Z.decodeTypedArraySpec=function(s){var c=[],h=i(s),p=h.dtype,d=o[p];if(!d)throw new Error('Error in dtype: "'+p+'"');var T=d.BYTES_PER_ELEMENT,l=h.bdata;n(l)||(l=H(l));var _=h.shape===void 0?[l.byteLength/T]:(""+h.shape).split(",");_.reverse();var w=_.length,M,E,m=+_[0],b=T*m,v=0;if(w===1)c=new d(l);else if(w===2)for(M=+_[1],E=0;E2)return d[M]=d[M]|e,_.set(w,null);if(l){for(c=M;c0)return Math.log(A)/Math.LN10;var e=Math.log(Math.min(S[0],S[1]))/Math.LN10;return g(e)||(e=Math.log(Math.max(S[0],S[1]))/Math.LN10-6),e}}}),Sd=ke({"src/lib/relink_private.js"(Z,H){"use strict";var g=Oa().isArrayOrTypedArray,x=Bi();H.exports=function A(S,e){for(var t in e){var r=e[t],o=S[t];if(o!==r)if(t.charAt(0)==="_"||typeof r=="function"){if(t in S)continue;S[t]=r}else if(g(r)&&g(o)&&x(r[0])){if(t==="customdata"||t==="ids")continue;for(var n=Math.min(r.length,o.length),i=0;iS/2?A-Math.round(A/S)*S:A}H.exports={mod:g,modHalf:x}}}),ru=ke({"node_modules/tinycolor2/tinycolor.js"(Z,H){(function(g){var x=/^\s+/,A=/\s+$/,S=0,e=g.round,t=g.min,r=g.max,o=g.random;function n(j,ee){if(j=j||"",ee=ee||{},j instanceof n)return j;if(!(this instanceof n))return new n(j,ee);var ie=i(j);this._originalInput=j,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=e(100*this._a)/100,this._format=ee.format||ie.format,this._gradientType=ee.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ie.ok,this._tc_id=S++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},getLuminance:function(){var j=this.toRgb(),ee,ie,ce,xe,Te,Ue;return ee=j.r/255,ie=j.g/255,ce=j.b/255,ee<=.03928?xe=ee/12.92:xe=g.pow((ee+.055)/1.055,2.4),ie<=.03928?Te=ie/12.92:Te=g.pow((ie+.055)/1.055,2.4),ce<=.03928?Ue=ce/12.92:Ue=g.pow((ce+.055)/1.055,2.4),.2126*xe+.7152*Te+.0722*Ue},setAlpha:function(j){return this._a=I(j),this._roundA=e(100*this._a)/100,this},toHsv:function(){var j=h(this._r,this._g,this._b);return{h:j.h*360,s:j.s,v:j.v,a:this._a}},toHsvString:function(){var j=h(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.v*100);return this._a==1?"hsv("+ee+", "+ie+"%, "+ce+"%)":"hsva("+ee+", "+ie+"%, "+ce+"%, "+this._roundA+")"},toHsl:function(){var j=s(this._r,this._g,this._b);return{h:j.h*360,s:j.s,l:j.l,a:this._a}},toHslString:function(){var j=s(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.l*100);return this._a==1?"hsl("+ee+", "+ie+"%, "+ce+"%)":"hsla("+ee+", "+ie+"%, "+ce+"%, "+this._roundA+")"},toHex:function(j){return d(this._r,this._g,this._b,j)},toHexString:function(j){return"#"+this.toHex(j)},toHex8:function(j){return T(this._r,this._g,this._b,this._a,j)},toHex8String:function(j){return"#"+this.toHex8(j)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+e(this._r)+", "+e(this._g)+", "+e(this._b)+")":"rgba("+e(this._r)+", "+e(this._g)+", "+e(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:e(N(this._r,255)*100)+"%",g:e(N(this._g,255)*100)+"%",b:e(N(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+e(N(this._r,255)*100)+"%, "+e(N(this._g,255)*100)+"%, "+e(N(this._b,255)*100)+"%)":"rgba("+e(N(this._r,255)*100)+"%, "+e(N(this._g,255)*100)+"%, "+e(N(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:B[d(this._r,this._g,this._b,!0)]||!1},toFilter:function(j){var ee="#"+l(this._r,this._g,this._b,this._a),ie=ee,ce=this._gradientType?"GradientType = 1, ":"";if(j){var xe=n(j);ie="#"+l(xe._r,xe._g,xe._b,xe._a)}return"progid:DXImageTransform.Microsoft.gradient("+ce+"startColorstr="+ee+",endColorstr="+ie+")"},toString:function(j){var ee=!!j;j=j||this._format;var ie=!1,ce=this._a<1&&this._a>=0,xe=!ee&&ce&&(j==="hex"||j==="hex6"||j==="hex3"||j==="hex4"||j==="hex8"||j==="name");return xe?j==="name"&&this._a===0?this.toName():this.toRgbString():(j==="rgb"&&(ie=this.toRgbString()),j==="prgb"&&(ie=this.toPercentageRgbString()),(j==="hex"||j==="hex6")&&(ie=this.toHexString()),j==="hex3"&&(ie=this.toHexString(!0)),j==="hex4"&&(ie=this.toHex8String(!0)),j==="hex8"&&(ie=this.toHex8String()),j==="name"&&(ie=this.toName()),j==="hsl"&&(ie=this.toHslString()),j==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(j,ee){var ie=j.apply(null,[this].concat([].slice.call(ee)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(E,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(j,ee){return j.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(u,arguments)},monochromatic:function(){return this._applyCombination(z,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(f,arguments)}},n.fromRatio=function(j,ee){if(typeof j=="object"){var ie={};for(var ce in j)j.hasOwnProperty(ce)&&(ce==="a"?ie[ce]=j[ce]:ie[ce]=fe(j[ce]));j=ie}return n(j,ee)};function i(j){var ee={r:0,g:0,b:0},ie=1,ce=null,xe=null,Te=null,Ue=!1,Ie=!1;return typeof j=="string"&&(j=re(j)),typeof j=="object"&&(X(j.r)&&X(j.g)&&X(j.b)?(ee=a(j.r,j.g,j.b),Ue=!0,Ie=String(j.r).substr(-1)==="%"?"prgb":"rgb"):X(j.h)&&X(j.s)&&X(j.v)?(ce=fe(j.s),xe=fe(j.v),ee=p(j.h,ce,xe),Ue=!0,Ie="hsv"):X(j.h)&&X(j.s)&&X(j.l)&&(ce=fe(j.s),Te=fe(j.l),ee=c(j.h,ce,Te),Ue=!0,Ie="hsl"),j.hasOwnProperty("a")&&(ie=j.a)),ie=I(ie),{ok:Ue,format:j.format||Ie,r:t(255,r(ee.r,0)),g:t(255,r(ee.g,0)),b:t(255,r(ee.b,0)),a:ie}}function a(j,ee,ie){return{r:N(j,255)*255,g:N(ee,255)*255,b:N(ie,255)*255}}function s(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=(ce+xe)/2;if(ce==xe)Te=Ue=0;else{var Ye=ce-xe;switch(Ue=Ie>.5?Ye/(2-ce-xe):Ye/(ce+xe),ce){case j:Te=(ee-ie)/Ye+(ee1&&(tt-=1),tt<1/6?it+(at-it)*6*tt:tt<1/2?at:tt<2/3?it+(at-it)*(2/3-tt)*6:it}if(ee===0)ce=xe=Te=ie;else{var Ie=ie<.5?ie*(1+ee):ie+ee-ie*ee,Ye=2*ie-Ie;ce=Ue(Ye,Ie,j+1/3),xe=Ue(Ye,Ie,j),Te=Ue(Ye,Ie,j-1/3)}return{r:ce*255,g:xe*255,b:Te*255}}function h(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=ce,Ye=ce-xe;if(Ue=ce===0?0:Ye/ce,ce==xe)Te=0;else{switch(ce){case j:Te=(ee-ie)/Ye+(ee>1)+720)%360;--ee;)ce.h=(ce.h+xe)%360,Te.push(n(ce));return Te}function z(j,ee){ee=ee||6;for(var ie=n(j).toHsv(),ce=ie.h,xe=ie.s,Te=ie.v,Ue=[],Ie=1/ee;ee--;)Ue.push(n({h:ce,s:xe,v:Te})),Te=(Te+Ie)%1;return Ue}n.mix=function(j,ee,ie){ie=ie===0?0:ie||50;var ce=n(j).toRgb(),xe=n(ee).toRgb(),Te=ie/100,Ue={r:(xe.r-ce.r)*Te+ce.r,g:(xe.g-ce.g)*Te+ce.g,b:(xe.b-ce.b)*Te+ce.b,a:(xe.a-ce.a)*Te+ce.a};return n(Ue)},n.readability=function(j,ee){var ie=n(j),ce=n(ee);return(g.max(ie.getLuminance(),ce.getLuminance())+.05)/(g.min(ie.getLuminance(),ce.getLuminance())+.05)},n.isReadable=function(j,ee,ie){var ce=n.readability(j,ee),xe,Te;switch(Te=!1,xe=ae(ie),xe.level+xe.size){case"AAsmall":case"AAAlarge":Te=ce>=4.5;break;case"AAlarge":Te=ce>=3;break;case"AAAsmall":Te=ce>=7;break}return Te},n.mostReadable=function(j,ee,ie){var ce=null,xe=0,Te,Ue,Ie,Ye;ie=ie||{},Ue=ie.includeFallbackColors,Ie=ie.level,Ye=ie.size;for(var it=0;itxe&&(xe=Te,ce=n(ee[it]));return n.isReadable(j,ce,{level:Ie,size:Ye})||!Ue?ce:(ie.includeFallbackColors=!1,n.mostReadable(j,["#fff","#000"],ie))};var F=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=n.hexNames=O(F);function O(j){var ee={};for(var ie in j)j.hasOwnProperty(ie)&&(ee[j[ie]]=ie);return ee}function I(j){return j=parseFloat(j),(isNaN(j)||j<0||j>1)&&(j=1),j}function N(j,ee){Q(j)&&(j="100%");var ie=le(j);return j=t(ee,r(0,parseFloat(j))),ie&&(j=parseInt(j*ee,10)/100),g.abs(j-ee)<1e-6?1:j%ee/parseFloat(ee)}function U(j){return t(1,r(0,j))}function W(j){return parseInt(j,16)}function Q(j){return typeof j=="string"&&j.indexOf(".")!=-1&&parseFloat(j)===1}function le(j){return typeof j=="string"&&j.indexOf("%")!=-1}function se(j){return j.length==1?"0"+j:""+j}function fe(j){return j<=1&&(j=j*100+"%"),j}function G(j){return g.round(parseFloat(j)*255).toString(16)}function $(j){return W(j)/255}var J=function(){var j="[-\\+]?\\d+%?",ee="[-\\+]?\\d*\\.\\d+%?",ie="(?:"+ee+")|(?:"+j+")",ce="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?",xe="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?";return{CSS_UNIT:new RegExp(ie),rgb:new RegExp("rgb"+ce),rgba:new RegExp("rgba"+xe),hsl:new RegExp("hsl"+ce),hsla:new RegExp("hsla"+xe),hsv:new RegExp("hsv"+ce),hsva:new RegExp("hsva"+xe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function X(j){return!!J.CSS_UNIT.exec(j)}function re(j){j=j.replace(x,"").replace(A,"").toLowerCase();var ee=!1;if(F[j])j=F[j],ee=!0;else if(j=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ie;return(ie=J.rgb.exec(j))?{r:ie[1],g:ie[2],b:ie[3]}:(ie=J.rgba.exec(j))?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=J.hsl.exec(j))?{h:ie[1],s:ie[2],l:ie[3]}:(ie=J.hsla.exec(j))?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=J.hsv.exec(j))?{h:ie[1],s:ie[2],v:ie[3]}:(ie=J.hsva.exec(j))?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=J.hex8.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),a:$(ie[4]),format:ee?"name":"hex8"}:(ie=J.hex6.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),format:ee?"name":"hex"}:(ie=J.hex4.exec(j))?{r:W(ie[1]+""+ie[1]),g:W(ie[2]+""+ie[2]),b:W(ie[3]+""+ie[3]),a:$(ie[4]+""+ie[4]),format:ee?"name":"hex8"}:(ie=J.hex3.exec(j))?{r:W(ie[1]+""+ie[1]),g:W(ie[2]+""+ie[2]),b:W(ie[3]+""+ie[3]),format:ee?"name":"hex"}:!1}function ae(j){var ee,ie;return j=j||{level:"AA",size:"small"},ee=(j.level||"AA").toUpperCase(),ie=(j.size||"small").toLowerCase(),ee!=="AA"&&ee!=="AAA"&&(ee="AA"),ie!=="small"&&ie!=="large"&&(ie="small"),{level:ee,size:ie}}typeof H<"u"&&H.exports?H.exports=n:window.tinycolor=n})(Math)}}),To=ke({"src/lib/extend.js"(Z){"use strict";var H=Bi(),g=Array.isArray;function x(S,e){var t,r;for(t=0;t=0)))return n;if(h===3)s[h]>1&&(s[h]=1);else if(s[h]>=1)return n}var p=Math.round(s[0]*255)+", "+Math.round(s[1]*255)+", "+Math.round(s[2]*255);return c?"rgba("+p+", "+s[3]+")":"rgb("+p+")"}}}),Lp=ke({"src/constants/interactions.js"(Z,H){"use strict";H.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Ng=ke({"src/lib/regex.js"(Z){"use strict";Z.counter=function(H,g,x,A){var S=(g||"")+(x?"":"$"),e=A===!1?"":"^";return H==="xy"?new RegExp(e+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+S):new RegExp(e+H+"([2-9]|[1-9][0-9]+)?"+S)}}}),KS=ke({"src/lib/coerce.js"(Z){"use strict";var H=Yn(),g=ru(),x=To().extendFlat,A=Ol(),S=Cm(),e=eo(),t=Lp().DESELECTDIM,r=ms(),o=Ng().counter,n=_f().modHalf,i=Oa().isArrayOrTypedArray,a=Oa().isTypedArraySpec,s=Oa().decodeTypedArraySpec;Z.valObjectMeta={data_array:{coerceFunction:function(h,p,d){p.set(i(h)?h:a(h)?s(h):d)}},enumerated:{coerceFunction:function(h,p,d,T){T.coerceNumber&&(h=+h),T.values.indexOf(h)===-1?p.set(d):p.set(h)},validateFunction:function(h,p){p.coerceNumber&&(h=+h);for(var d=p.values,T=0;TT.max?p.set(d):p.set(+h)}},integer:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}a(h)&&(h=s(h)),h%1||!H(h)||T.min!==void 0&&hT.max?p.set(d):p.set(+h)}},string:{coerceFunction:function(h,p,d,T){if(typeof h!="string"){var l=typeof h=="number";T.strict===!0||!l?p.set(d):p.set(String(h))}else T.noBlank&&!h?p.set(d):p.set(h)}},color:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),g(h).isValid()?p.set(h):p.set(d)}},colorlist:{coerceFunction:function(h,p,d){function T(l){return g(l).isValid()}!Array.isArray(h)||!h.length?p.set(d):h.every(T)?p.set(h):p.set(d)}},colorscale:{coerceFunction:function(h,p,d){p.set(S.get(h,d))}},angle:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),h==="auto"?p.set("auto"):H(h)?p.set(n(+h,360)):p.set(d)}},subplotid:{coerceFunction:function(h,p,d,T){var l=T.regex||o(d);if(typeof h=="string"&&l.test(h)){p.set(h);return}p.set(d)},validateFunction:function(h,p){var d=p.dflt;return h===d?!0:typeof h!="string"?!1:!!o(d).test(h)}},flaglist:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}if(typeof h!="string"){p.set(d);return}for(var l=h.split("+"),_=0;_/g),h=0;h1){var e=["LOG:"];for(S=0;S1){var t=[];for(S=0;S"),"long")}},A.warn=function(){var S;if(g.logging>0){var e=["WARN:"];for(S=0;S0){var t=[];for(S=0;S"),"stick")}},A.error=function(){var S;if(g.logging>0){var e=["ERROR:"];for(S=0;S0){var t=[];for(S=0;S"),"stick")}}}}),n_=ke({"src/lib/noop.js"(Z,H){"use strict";H.exports=function(){}}}),Ow=ke({"src/lib/push_unique.js"(Z,H){"use strict";H.exports=function(x,A){if(A instanceof RegExp){for(var S=A.toString(),e=0;e0){for(var r=[],o=0;o=l&&F<=_?F:e}if(typeof F!="string"&&typeof F!="number")return e;F=String(F);var U=d(B),W=F.charAt(0);U&&(W==="G"||W==="g")&&(F=F.substr(1),B="");var Q=U&&B.substr(0,7)==="chinese",le=F.match(Q?h:c);if(!le)return e;var se=le[1],fe=le[3]||"1",G=Number(le[5]||1),$=Number(le[7]||0),J=Number(le[9]||0),X=Number(le[11]||0);if(U){if(se.length===2)return e;se=Number(se);var re;try{var ae=a.getComponentMethod("calendars","getCal")(B);if(Q){var j=fe.charAt(fe.length-1)==="i";fe=parseInt(fe,10),re=ae.newDate(se,ae.toMonthIndex(se,fe,j),G)}else re=ae.newDate(se,Number(fe),G)}catch{return e}return re?(re.toJD()-i)*t+$*r+J*o+X*n:e}se.length===2?se=(Number(se)+2e3-p)%100+p:se=Number(se),fe-=1;var ee=new Date(Date.UTC(2e3,fe,G,$,J));return ee.setUTCFullYear(se),ee.getUTCMonth()!==fe||ee.getUTCDate()!==G?e:ee.getTime()+X*n},l=Z.MIN_MS=Z.dateTime2ms("-9999"),_=Z.MAX_MS=Z.dateTime2ms("9999-12-31 23:59:59.9999"),Z.isDateTime=function(F,B){return Z.dateTime2ms(F,B)!==e};function w(F,B){return String(F+Math.pow(10,B)).substr(1)}var M=90*t,E=3*r,m=5*o;Z.ms2DateTime=function(F,B,O){if(typeof F!="number"||!(F>=l&&F<=_))return e;B||(B=0);var I=Math.floor(A(F+.05,1)*10),N=Math.round(F-I/10),U,W,Q,le,se,fe;if(d(O)){var G=Math.floor(N/t)+i,$=Math.floor(A(F,t));try{U=a.getComponentMethod("calendars","getCal")(O).fromJD(G).formatDate("yyyy-mm-dd")}catch{U=s("G%Y-%m-%d")(new Date(N))}if(U.charAt(0)==="-")for(;U.length<11;)U="-0"+U.substr(1);else for(;U.length<10;)U="0"+U;W=B=l+t&&F<=_-t))return e;var B=Math.floor(A(F+.05,1)*10),O=new Date(Math.round(F-B/10)),I=H("%Y-%m-%d")(O),N=O.getHours(),U=O.getMinutes(),W=O.getSeconds(),Q=O.getUTCMilliseconds()*10+B;return b(I,N,U,W,Q)};function b(F,B,O,I,N){if((B||O||I||N)&&(F+=" "+w(B,2)+":"+w(O,2),(I||N)&&(F+=":"+w(I,2),N))){for(var U=4;N%10===0;)U-=1,N/=10;F+="."+w(N,U)}return F}Z.cleanDate=function(F,B,O){if(F===e)return B;if(Z.isJSDate(F)||typeof F=="number"&&isFinite(F)){if(d(O))return x.error("JS Dates and milliseconds are incompatible with world calendars",F),B;if(F=Z.ms2DateTimeLocal(+F),!F&&B!==void 0)return B}else if(!Z.isDateTime(F,O))return x.error("unrecognized date",F),B;return F};var v=/%\d?f/g,u=/%h/g,y={1:"1",2:"1",3:"2",4:"2"};function f(F,B,O,I){F=F.replace(v,function(U){var W=Math.min(+U.charAt(1)||6,6),Q=(B/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,"")||"0";return Q});var N=new Date(Math.floor(B+.05));if(F=F.replace(u,function(){return y[O("%q")(N)]}),d(I))try{F=a.getComponentMethod("calendars","worldCalFmt")(F,B,I)}catch{return"Invalid"}return O(F)(N)}var P=[59,59.9,59.99,59.999,59.9999];function L(F,B){var O=A(F+.05,t),I=w(Math.floor(O/r),2)+":"+w(A(Math.floor(O/o),60),2);if(B!=="M"){g(B)||(B=0);var N=Math.min(A(F/n,60),P[B]),U=(100+N).toFixed(B).substr(1);B>0&&(U=U.replace(/0+$/,"").replace(/[\.]$/,"")),I+=":"+U}return I}Z.formatDate=function(F,B,O,I,N,U){if(N=d(N)&&N,!B)if(O==="y")B=U.year;else if(O==="m")B=U.month;else if(O==="d")B=U.dayMonth+` +`+U.year;else return L(F,O)+` +`+f(U.dayMonthYear,F,I,N);return f(B,F,I,N)};var z=3*t;Z.incrementMonth=function(F,B,O){O=d(O)&&O;var I=A(F,t);if(F=Math.round(F-I),O)try{var N=Math.round(F/t)+i,U=a.getComponentMethod("calendars","getCal")(O),W=U.fromJD(N);return B%12?U.add(W,B,"m"):U.add(W,B/12,"y"),(W.toJD()-i)*t+I}catch{x.error("invalid ms "+F+" in calendar "+O)}var Q=new Date(F+z);return Q.setUTCMonth(Q.getUTCMonth()+B)+I-z},Z.findExactDates=function(F,B){for(var O=0,I=0,N=0,U=0,W,Q,le=d(B)&&a.getComponentMethod("calendars","getCal")(B),se=0;se1?(i[c-1]-i[0])/(c-1):1,d,T;for(p>=0?T=a?e:t:T=a?o:r,n+=p*S*(a?-1:1)*(p>=0?1:-1);s90&&g.log("Long binary search..."),s-1};function e(n,i){return ni}function o(n,i){return n>=i}Z.sorterAsc=function(n,i){return n-i},Z.sorterDes=function(n,i){return i-n},Z.distinctVals=function(n){var i=n.slice();i.sort(Z.sorterAsc);var a;for(a=i.length-1;a>-1&&i[a]===A;a--);for(var s=i[a]-i[0]||1,c=s/(a||1)/1e4,h=[],p,d=0;d<=a;d++){var T=i[d],l=T-p;p===void 0?(h.push(T),p=T):l>c&&(s=Math.min(s,l),h.push(T),p=T)}return{vals:h,minDiff:s}},Z.roundUp=function(n,i,a){for(var s=0,c=i.length-1,h,p=0,d=a?0:1,T=a?1:0,l=a?Math.ceil:Math.floor;s0&&(s=1),a&&s)return n.sort(i)}return s?n:n.reverse()},Z.findIndexOfMin=function(n,i){i=i||x;for(var a=1/0,s,c=0;cS.length)&&(e=S.length),H(A)||(A=!1),g(S[0])){for(r=new Array(e),t=0;tx.length-1)return x[x.length-1];var S=A%1;return S*x[Math.ceil(A)]+(1-S)*x[Math.floor(A)]}}}),LE=ke({"src/lib/angles.js"(Z,H){"use strict";var g=_f(),x=g.mod,A=g.modHalf,S=Math.PI,e=2*S;function t(T){return T/180*S}function r(T){return T/S*180}function o(T){return Math.abs(T[1]-T[0])>e-1e-14}function n(T,l){return A(l-T,e)}function i(T,l){return Math.abs(n(T,l))}function a(T,l){if(o(l))return!0;var _,w;l[0]w&&(w+=e);var M=x(T,e),E=M+e;return M>=_&&M<=w||E>=_&&E<=w}function s(T,l,_,w){if(!a(l,w))return!1;var M,E;return _[0]<_[1]?(M=_[0],E=_[1]):(M=_[1],E=_[0]),T>=M&&T<=E}function c(T,l,_,w,M,E,m){M=M||0,E=E||0;var b=o([_,w]),v,u,y,f,P;b?(v=0,u=S,y=e):_1/3&&g.x<2/3},Z.isRightAnchor=function(g){return g.xanchor==="right"||g.xanchor==="auto"&&g.x>=2/3},Z.isTopAnchor=function(g){return g.yanchor==="top"||g.yanchor==="auto"&&g.y>=2/3},Z.isMiddleAnchor=function(g){return g.yanchor==="middle"||g.yanchor==="auto"&&g.y>1/3&&g.y<2/3},Z.isBottomAnchor=function(g){return g.yanchor==="bottom"||g.yanchor==="auto"&&g.y<=1/3}}}),IE=ke({"src/lib/geometry2d.js"(Z){"use strict";var H=_f().mod;Z.segmentsIntersect=g;function g(t,r,o,n,i,a,s,c){var h=o-t,p=i-t,d=s-i,T=n-r,l=a-r,_=c-a,w=h*_-d*T;if(w===0)return null;var M=(p*_-d*l)/w,E=(p*T-h*l)/w;return E<0||E>1||M<0||M>1?null:{x:t+h*M,y:r+T*M}}Z.segmentDistance=function(r,o,n,i,a,s,c,h){if(g(r,o,n,i,a,s,c,h))return 0;var p=n-r,d=i-o,T=c-a,l=h-s,_=p*p+d*d,w=T*T+l*l,M=Math.min(x(p,d,_,a-r,s-o),x(p,d,_,c-r,h-o),x(T,l,w,r-a,o-s),x(T,l,w,n-a,i-s));return Math.sqrt(M)};function x(t,r,o,n,i){var a=n*t+i*r;if(a<0)return n*n+i*i;if(a>o){var s=n-t,c=i-r;return s*s+c*c}else{var h=n*r-i*t;return h*h/o}}var A,S,e;Z.getTextLocation=function(r,o,n,i){if((r!==S||i!==e)&&(A={},S=r,e=i),A[n])return A[n];var a=r.getPointAtLength(H(n-i/2,o)),s=r.getPointAtLength(H(n+i/2,o)),c=Math.atan((s.y-a.y)/(s.x-a.x)),h=r.getPointAtLength(H(n,o)),p=(h.x*4+a.x+s.x)/6,d=(h.y*4+a.y+s.y)/6,T={x:p,y:d,theta:c};return A[n]=T,T},Z.clearLocationCache=function(){S=null},Z.getVisibleSegment=function(r,o,n){var i=o.left,a=o.right,s=o.top,c=o.bottom,h=0,p=r.getTotalLength(),d=p,T,l;function _(M){var E=r.getPointAtLength(M);M===0?T=E:M===p&&(l=E);var m=E.xa?E.x-a:0,b=E.yc?E.y-c:0;return Math.sqrt(m*m+b*b)}for(var w=_(h);w;){if(h+=w+n,h>d)return;w=_(h)}for(w=_(d);w;){if(d-=w+n,h>d)return;w=_(d)}return{min:h,max:d,len:d-h,total:p,isClosed:h===0&&d===p&&Math.abs(T.x-l.x)<.1&&Math.abs(T.y-l.y)<.1}},Z.findPointOnPath=function(r,o,n,i){i=i||{};for(var a=i.pathLength||r.getTotalLength(),s=i.tolerance||.001,c=i.iterationLimit||30,h=r.getPointAtLength(0)[n]>r.getPointAtLength(a)[n]?-1:1,p=0,d=0,T=a,l,_,w;p0?T=l:d=l,p++}return _}}}),l_=ke({"src/lib/throttle.js"(Z){"use strict";var H={};Z.throttle=function(A,S,e){var t=H[A],r=Date.now();if(!t){for(var o in H)H[o].tst.ts+S){n();return}t.timer=setTimeout(function(){n(),t.timer=null},S)},Z.done=function(x){var A=H[x];return!A||!A.timer?Promise.resolve():new Promise(function(S){var e=A.onDone;A.onDone=function(){e&&e(),S(),A.onDone=null}})},Z.clear=function(x){if(x)g(H[x]),delete H[x];else for(var A in H)Z.clear(A)};function g(x){x&&x.timer!==null&&(clearTimeout(x.timer),x.timer=null)}}}),RE=ke({"src/lib/clear_responsive.js"(Z,H){"use strict";H.exports=function(x){x._responsiveChartHandler&&(window.removeEventListener("resize",x._responsiveChartHandler),delete x._responsiveChartHandler)}}}),DE=ke({"node_modules/is-mobile/index.js"(Z,H){"use strict";H.exports=S,H.exports.isMobile=S,H.exports.default=S;var g=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,x=/CrOS/,A=/android|ipad|playbook|silk/i;function S(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;let r=g.test(t)&&!x.test(t)||!!e.tablet&&A.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}}}),zE=ke({"src/lib/preserve_drawing_buffer.js"(Z,H){"use strict";var g=Yn(),x=DE();H.exports=function(e){var t;if(e&&e.hasOwnProperty("userAgent")?t=e.userAgent:t=A(),typeof t!="string")return!0;var r=x({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!r)for(var o=t.split(" "),n=1;n-1;a--){var s=o[a];if(s.substr(0,8)==="Version/"){var c=s.substr(8).split(".")[0];if(g(c)&&(c=+c),c>=13)return!0}}}return r};function A(){var S;return typeof navigator<"u"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers["user-agent"]=="string"&&(S=S.headers["user-agent"]),S}}}),FE=ke({"src/lib/make_trace_groups.js"(Z,H){"use strict";var g=_i();H.exports=function(A,S,e){var t=A.selectAll("g."+e.replace(/\s/g,".")).data(S,function(o){return o[0].trace.uid});t.exit().remove(),t.enter().append("g").attr("class",e),t.order();var r=A.classed("rangeplot")?"nodeRangePlot3":"node3";return t.each(function(o){o[0][r]=g.select(this)}),t}}}),OE=ke({"src/lib/localize.js"(Z,H){"use strict";var g=lo();H.exports=function(A,S){for(var e=A._context.locale,t=0;t<2;t++){for(var r=A._context.locales,o=0;o<2;o++){var n=(r[e]||{}).dictionary;if(n){var i=n[S];if(i)return i}r=g.localeRegistry}var a=e.split("-")[0];if(a===e)break;e=a}return S}}}),Vw=ke({"src/lib/filter_unique.js"(Z,H){"use strict";H.exports=function(x){for(var A={},S=[],e=0,t=0;t1?(S*x+S*A)/S:x+A,t=String(e).length;if(t>16){var r=String(A).length,o=String(x).length;if(t>=o+r){var n=parseFloat(e).toPrecision(12);n.indexOf("e+")===-1&&(e=+n)}}return e}}}),UE=ke({"src/lib/clean_number.js"(Z,H){"use strict";var g=Yn(),x=Hi().BADNUM,A=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;H.exports=function(e){return typeof e=="string"&&(e=e.replace(A,"")),g(e)?Number(e):x}}}),un=ke({"src/lib/index.js"(Z,H){"use strict";var g=_i(),x=Ki().utcFormat,A=$n().format,S=Yn(),e=Hi(),t=e.FP_SAFE,r=-t,o=e.BADNUM,n=H.exports={};n.adjustFormat=function(ae){return!ae||/^\d[.]\df/.test(ae)||/[.]\d%/.test(ae)?ae:ae==="0.f"?"~f":/^\d%/.test(ae)?"~%":/^\ds/.test(ae)?"~s":!/^[~,.0$]/.test(ae)&&/[&fps]/.test(ae)?"~"+ae:ae};var i={};n.warnBadFormat=function(re){var ae=String(re);i[ae]||(i[ae]=1,n.warn('encountered bad format: "'+ae+'"'))},n.noFormat=function(re){return String(re)},n.numberFormat=function(re){var ae;try{ae=A(n.adjustFormat(re))}catch{return n.warnBadFormat(re),n.noFormat}return ae},n.nestedProperty=ms(),n.keyedContainer=Is(),n.relativeAttr=Cu(),n.isPlainObject=Bi(),n.toLogRange=Zf(),n.relinkPrivateKeys=Sd();var a=Oa();n.isArrayBuffer=a.isArrayBuffer,n.isTypedArray=a.isTypedArray,n.isArrayOrTypedArray=a.isArrayOrTypedArray,n.isArray1D=a.isArray1D,n.ensureArray=a.ensureArray,n.concat=a.concat,n.maxRowLength=a.maxRowLength,n.minRowLength=a.minRowLength;var s=_f();n.mod=s.mod,n.modHalf=s.modHalf;var c=KS();n.valObjectMeta=c.valObjectMeta,n.coerce=c.coerce,n.coerce2=c.coerce2,n.coerceFont=c.coerceFont,n.coercePattern=c.coercePattern,n.coerceHoverinfo=c.coerceHoverinfo,n.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,n.validate=c.validate;var h=CE();n.dateTime2ms=h.dateTime2ms,n.isDateTime=h.isDateTime,n.ms2DateTime=h.ms2DateTime,n.ms2DateTimeLocal=h.ms2DateTimeLocal,n.cleanDate=h.cleanDate,n.isJSDate=h.isJSDate,n.formatDate=h.formatDate,n.incrementMonth=h.incrementMonth,n.dateTick0=h.dateTick0,n.dfltRange=h.dfltRange,n.findExactDates=h.findExactDates,n.MIN_MS=h.MIN_MS,n.MAX_MS=h.MAX_MS;var p=s_();n.findBin=p.findBin,n.sorterAsc=p.sorterAsc,n.sorterDes=p.sorterDes,n.distinctVals=p.distinctVals,n.roundUp=p.roundUp,n.sort=p.sort,n.findIndexOfMin=p.findIndexOfMin,n.sortObjectKeys=Ip();var d=kE();n.aggNums=d.aggNums,n.len=d.len,n.mean=d.mean,n.geometricMean=d.geometricMean,n.median=d.median,n.midRange=d.midRange,n.variance=d.variance,n.stdev=d.stdev,n.interp=d.interp;var T=i_();n.init2dArray=T.init2dArray,n.transposeRagged=T.transposeRagged,n.dot=T.dot,n.translationMatrix=T.translationMatrix,n.rotationMatrix=T.rotationMatrix,n.rotationXYMatrix=T.rotationXYMatrix,n.apply3DTransform=T.apply3DTransform,n.apply2DTransform=T.apply2DTransform,n.apply2DTransform2=T.apply2DTransform2,n.convertCssMatrix=T.convertCssMatrix,n.inverseTransformMatrix=T.inverseTransformMatrix;var l=LE();n.deg2rad=l.deg2rad,n.rad2deg=l.rad2deg,n.angleDelta=l.angleDelta,n.angleDist=l.angleDist,n.isFullCircle=l.isFullCircle,n.isAngleInsideSector=l.isAngleInsideSector,n.isPtInsideSector=l.isPtInsideSector,n.pathArc=l.pathArc,n.pathSector=l.pathSector,n.pathAnnulus=l.pathAnnulus;var _=PE();n.isLeftAnchor=_.isLeftAnchor,n.isCenterAnchor=_.isCenterAnchor,n.isRightAnchor=_.isRightAnchor,n.isTopAnchor=_.isTopAnchor,n.isMiddleAnchor=_.isMiddleAnchor,n.isBottomAnchor=_.isBottomAnchor;var w=IE();n.segmentsIntersect=w.segmentsIntersect,n.segmentDistance=w.segmentDistance,n.getTextLocation=w.getTextLocation,n.clearLocationCache=w.clearLocationCache,n.getVisibleSegment=w.getVisibleSegment,n.findPointOnPath=w.findPointOnPath;var M=To();n.extendFlat=M.extendFlat,n.extendDeep=M.extendDeep,n.extendDeepAll=M.extendDeepAll,n.extendDeepNoArrays=M.extendDeepNoArrays;var E=Pp();n.log=E.log,n.warn=E.warn,n.error=E.error;var m=Ng();n.counterRegex=m.counter;var b=l_();n.throttle=b.throttle,n.throttleDone=b.done,n.clearThrottle=b.clear;var v=Yy();n.getGraphDiv=v.getGraphDiv,n.isPlotDiv=v.isPlotDiv,n.removeElement=v.removeElement,n.addStyleRule=v.addStyleRule,n.addRelatedStyleRule=v.addRelatedStyleRule,n.deleteRelatedStyleRule=v.deleteRelatedStyleRule,n.setStyleOnHover=v.setStyleOnHover,n.getFullTransformMatrix=v.getFullTransformMatrix,n.getElementTransformMatrix=v.getElementTransformMatrix,n.getElementAndAncestors=v.getElementAndAncestors,n.equalDomRects=v.equalDomRects,n.clearResponsive=RE(),n.preserveDrawingBuffer=zE(),n.makeTraceGroups=FE(),n._=OE(),n.notifier=Fw(),n.filterUnique=Vw(),n.filterVisible=BE(),n.pushUnique=Ow(),n.increment=NE(),n.cleanNumber=UE(),n.ensureNumber=function(ae){return S(ae)?(ae=Number(ae),ae>t||ae=ae?!1:S(re)&&re>=0&&re%1===0},n.noop=n_(),n.identity=Jy(),n.repeat=function(re,ae){for(var j=new Array(ae),ee=0;eej?Math.max(j,Math.min(ae,re)):Math.max(ae,Math.min(j,re))},n.bBoxIntersect=function(re,ae,j){return j=j||0,re.left<=ae.right+j&&ae.left<=re.right+j&&re.top<=ae.bottom+j&&ae.top<=re.bottom+j},n.simpleMap=function(re,ae,j,ee,ie){for(var ce=re.length,xe=new Array(ce),Te=0;Te=Math.pow(2,j)?ie>10?(n.warn("randstr failed uniqueness"),xe):re(ae,j,ee,(ie||0)+1):xe},n.OptionControl=function(re,ae){re||(re={}),ae||(ae="opt");var j={};return j.optionList=[],j._newoption=function(ee){ee[ae]=re,j[ee.name]=ee,j.optionList.push(ee)},j["_"+ae]=re,j},n.smooth=function(re,ae){if(ae=Math.round(ae)||0,ae<2)return re;var j=re.length,ee=2*j,ie=2*ae-1,ce=new Array(ie),xe=new Array(j),Te,Ue,Ie,Ye;for(Te=0;Te=ee&&(Ie-=ee*Math.floor(Ie/ee)),Ie<0?Ie=-1-Ie:Ie>=j&&(Ie=ee-1-Ie),Ye+=re[Ie]*ce[Ue];xe[Te]=Ye}return xe},n.syncOrAsync=function(re,ae,j){var ee,ie;function ce(){return n.syncOrAsync(re,ae,j)}for(;re.length;)if(ie=re.splice(0,1)[0],ee=ie(ae),ee&&ee.then)return ee.then(ce);return j&&j(ae)},n.stripTrailingSlash=function(re){return re.substr(-1)==="/"?re.substr(0,re.length-1):re},n.noneOrAll=function(re,ae,j){if(re){var ee=!1,ie=!0,ce,xe;for(ce=0;ce0?ie:0})},n.fillArray=function(re,ae,j,ee){if(ee=ee||n.identity,n.isArrayOrTypedArray(re))for(var ie=0;ie1?ie+xe[1]:"";if(ce&&(xe.length>1||Te.length>4||j))for(;ee.test(Te);)Te=Te.replace(ee,"$1"+ce+"$2");return Te+Ue},n.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;n.templateString=function(re,ae){var j={};return re.replace(n.TEMPLATE_STRING_REGEX,function(ee,ie){var ce;return O.test(ie)?ce=ae[ie]:(j[ie]=j[ie]||n.nestedProperty(ae,ie).get,ce=j[ie](!0)),ce!==void 0?ce:""})};var I={max:10,count:0,name:"hovertemplate"};n.hovertemplateString=function(){return se.apply(I,arguments)};var N={max:10,count:0,name:"texttemplate"};n.texttemplateString=function(){return se.apply(N,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function W(re){var ae=re.match(U);return ae?{key:ae[1],op:ae[2],number:Number(ae[3])}:{key:re,op:null,number:null}}var Q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};n.texttemplateStringForShapes=function(){return se.apply(Q,arguments)};var le=/^[:|\|]/;function se(re,ae,j){var ee=this,ie=arguments;return ae||(ae={}),re.replace(n.TEMPLATE_STRING_REGEX,function(ce,xe,Te){var Ue=xe==="xother"||xe==="yother",Ie=xe==="_xother"||xe==="_yother",Ye=xe==="_xother_"||xe==="_yother_",it=xe==="xother_"||xe==="yother_",at=Ue||Ie||it||Ye,tt=xe;(Ie||Ye)&&(tt=tt.substring(1)),(it||Ye)&&(tt=tt.substring(0,tt.length-1));var ut=null,Me=null;if(ee.parseMultDiv){var pe=W(tt);tt=pe.key,ut=pe.op,Me=pe.number}var ue;if(at){if(ue=ae[tt],ue===void 0)return""}else{var Oe,rt;for(rt=3;rt=fe&&xe<=G,Ie=Te>=fe&&Te<=G;if(Ue&&(ee=10*ee+xe-fe),Ie&&(ie=10*ie+Te-fe),!Ue||!Ie){if(ee!==ie)return ee-ie;if(xe!==Te)return xe-Te}}return ie-ee};var $=2e9;n.seedPseudoRandom=function(){$=2e9},n.pseudoRandom=function(){var re=$;return $=(69069*$+1)%4294967296,Math.abs($-re)<429496729?n.pseudoRandom():$/4294967296},n.fillText=function(re,ae,j){var ee=Array.isArray(j)?function(xe){j.push(xe)}:function(xe){j.text=xe},ie=n.extractOption(re,ae,"htx","hovertext");if(n.isValidTextValue(ie))return ee(ie);var ce=n.extractOption(re,ae,"tx","text");if(n.isValidTextValue(ce))return ee(ce)},n.isValidTextValue=function(re){return re||re===0},n.formatPercent=function(re,ae){ae=ae||0;for(var j=(Math.round(100*re*Math.pow(10,ae))*Math.pow(.1,ae)).toFixed(ae)+"%",ee=0;ee1&&(Ie=1):Ie=0,n.strTranslate(ie-Ie*(j+xe),ce-Ie*(ee+Te))+n.strScale(Ie)+(Ue?"rotate("+Ue+(ae?"":" "+j+" "+ee)+")":"")},n.setTransormAndDisplay=function(re,ae){re.attr("transform",n.getTextTransform(ae)),re.style("display",ae.scale?null:"none")},n.ensureUniformFontSize=function(re,ae){var j=n.extendFlat({},ae);return j.size=Math.max(ae.size,re._fullLayout.uniformtext.minsize||0),j},n.join2=function(re,ae,j){var ee=re.length;return ee>1?re.slice(0,-1).join(ae)+j+re[ee-1]:re.join(ae)},n.bigFont=function(re){return Math.round(1.2*re)};var J=n.getFirefoxVersion(),X=J!==null&&J<86;n.getPositionFromD3Event=function(){return X?[g.event.layerX,g.event.layerY]:[g.event.offsetX,g.event.offsetY]}}}),jE=ke({"build/plotcss.js"(){"use strict";var Z=un(),H={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(x in H)g=x.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier"),Z.addStyleRule(g,H[x]);var g,x}}),qw=ke({"node_modules/is-browser/client.js"(Z,H){H.exports=!0}}),Hw=ke({"node_modules/has-hover/index.js"(Z,H){"use strict";var g=qw(),x;typeof window.matchMedia=="function"?x=!window.matchMedia("(hover: none)").matches:x=g,H.exports=x}}),Lm=ke({"node_modules/events/events.js"(Z,H){"use strict";var g=typeof Reflect=="object"?Reflect:null,x=g&&typeof g.apply=="function"?g.apply:function(E,m,b){return Function.prototype.apply.call(E,m,b)},A;g&&typeof g.ownKeys=="function"?A=g.ownKeys:Object.getOwnPropertySymbols?A=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:A=function(E){return Object.getOwnPropertyNames(E)};function S(M){console&&console.warn&&console.warn(M)}var e=Number.isNaN||function(E){return E!==E};function t(){t.init.call(this)}H.exports=t,H.exports.once=l,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var r=10;function o(M){if(typeof M!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof M)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(M){if(typeof M!="number"||M<0||e(M))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+M+".");r=M}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||e(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this};function n(M){return M._maxListeners===void 0?t.defaultMaxListeners:M._maxListeners}t.prototype.getMaxListeners=function(){return n(this)},t.prototype.emit=function(E){for(var m=[],b=1;b0&&(y=m[0]),y instanceof Error)throw y;var f=new Error("Unhandled error."+(y?" ("+y.message+")":""));throw f.context=y,f}var P=u[E];if(P===void 0)return!1;if(typeof P=="function")x(P,this,m);else for(var L=P.length,z=p(P,L),b=0;b0&&y.length>v&&!y.warned){y.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+y.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=M,f.type=E,f.count=y.length,S(f)}return M}t.prototype.addListener=function(E,m){return i(this,E,m,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(E,m){return i(this,E,m,!0)};function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(M,E,m){var b={fired:!1,wrapFn:void 0,target:M,type:E,listener:m},v=a.bind(b);return v.listener=m,b.wrapFn=v,v}t.prototype.once=function(E,m){return o(m),this.on(E,s(this,E,m)),this},t.prototype.prependOnceListener=function(E,m){return o(m),this.prependListener(E,s(this,E,m)),this},t.prototype.removeListener=function(E,m){var b,v,u,y,f;if(o(m),v=this._events,v===void 0)return this;if(b=v[E],b===void 0)return this;if(b===m||b.listener===m)--this._eventsCount===0?this._events=Object.create(null):(delete v[E],v.removeListener&&this.emit("removeListener",E,b.listener||m));else if(typeof b!="function"){for(u=-1,y=b.length-1;y>=0;y--)if(b[y]===m||b[y].listener===m){f=b[y].listener,u=y;break}if(u<0)return this;u===0?b.shift():d(b,u),b.length===1&&(v[E]=b[0]),v.removeListener!==void 0&&this.emit("removeListener",E,f||m)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(E){var m,b,v;if(b=this._events,b===void 0)return this;if(b.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):b[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete b[E]),this;if(arguments.length===0){var u=Object.keys(b),y;for(v=0;v=0;v--)this.removeListener(E,m[v]);return this};function c(M,E,m){var b=M._events;if(b===void 0)return[];var v=b[E];return v===void 0?[]:typeof v=="function"?m?[v.listener||v]:[v]:m?T(v):p(v,v.length)}t.prototype.listeners=function(E){return c(this,E,!0)},t.prototype.rawListeners=function(E){return c(this,E,!1)},t.listenerCount=function(M,E){return typeof M.listenerCount=="function"?M.listenerCount(E):h.call(M,E)},t.prototype.listenerCount=h;function h(M){var E=this._events;if(E!==void 0){var m=E[M];if(typeof m=="function")return 1;if(m!==void 0)return m.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]};function p(M,E){for(var m=new Array(E),b=0;bx.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)},S.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},S.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},S.undo=function(t){var r,o;if(!(t.undoQueue===void 0||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=t.undoQueue.queue.length)){for(r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=I.length)return!1;if(L.dimensions===2){if(F++,z.length===F)return L;var N=z[F];if(!w(N))return!1;L=I[O][N]}else L=I[O]}else L=I}}return L}function w(L){return L===Math.round(L)&&L>=0}function M(L){var z,F;z=H.modules[L]._module,F=z.basePlotModule;var B={};B.type=null;var O=o({},x),I=o({},z.attributes);Z.crawl(I,function(W,Q,le,se,fe){a(O,fe).set(void 0),W===void 0&&a(I,fe).set(void 0)}),o(B,O),H.traceIs(L,"noOpacity")&&delete B.opacity,H.traceIs(L,"showLegend")||(delete B.showlegend,delete B.legendgroup),H.traceIs(L,"noHover")&&(delete B.hoverinfo,delete B.hoverlabel),z.selectPoints||delete B.selectedpoints,o(B,I),F.attributes&&o(B,F.attributes),B.type=L;var N={meta:z.meta||{},categories:z.categories||{},animatable:!!z.animatable,type:L,attributes:b(B)};if(z.layoutAttributes){var U={};o(U,z.layoutAttributes),N.layoutAttributes=b(U)}return z.animatable||Z.crawl(N,function(W){Z.isValObject(W)&&"anim"in W&&delete W.anim}),N}function E(){var L={},z,F;o(L,A);for(z in H.subplotsRegistry)if(F=H.subplotsRegistry[z],!!F.layoutAttributes)if(Array.isArray(F.attr))for(var B=0;B=n&&(o._input||{})._templateitemname;a&&(i=n);var s=r+"["+i+"]",c;function h(){c={},a&&(c[s]={},c[s][x]=a)}h();function p(_,w){c[_]=w}function d(_,w){a?H.nestedProperty(c[s],_).set(w):c[s+"."+_]=w}function T(){var _=c;return h(),_}function l(_,w){_&&d(_,w);var M=T();for(var E in M)H.nestedProperty(t,E).set(M[E])}return{modifyBase:p,modifyItem:d,getUpdateObj:T,applyUpdate:l}}}}),oh=ke({"src/plots/cartesian/constants.js"(Z,H){"use strict";var g=Ng().counter;H.exports={idRegex:{x:g("x","( domain)?"),y:g("y","( domain)?")},attrRegex:g("[xy]axis"),xAxisMatch:g("xaxis"),yAxisMatch:g("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"},zindexSeparator:"z"}}}),qc=ke({"src/plots/cartesian/axis_ids.js"(Z){"use strict";var H=lo(),g=oh();Z.id2name=function(S){if(!(typeof S!="string"||!S.match(g.AX_ID_PATTERN))){var e=S.split(" ")[0].substr(1);return e==="1"&&(e=""),S.charAt(0)+"axis"+e}},Z.name2id=function(S){if(S.match(g.AX_NAME_PATTERN)){var e=S.substr(5);return e==="1"&&(e=""),S.charAt(0)+e}},Z.cleanId=function(S,e,t){var r=/( domain)$/.test(S);if(!(typeof S!="string"||!S.match(g.AX_ID_PATTERN))&&!(e&&S.charAt(0)!==e)&&!(r&&!t)){var o=S.split(" ")[0].substr(1).replace(/^0+/,"");return o==="1"&&(o=""),S.charAt(0)+o+(r&&t?" domain":"")}},Z.list=function(A,S,e){var t=A._fullLayout;if(!t)return[];var r=Z.listIds(A,S),o=new Array(r.length),n;for(n=0;nt?1:-1:+(A.substr(1)||1)-+(S.substr(1)||1)},Z.ref2id=function(A){return/^[xyz]/.test(A)?A.split(" ")[0]:!1};function x(A,S){if(S&&S.length){for(var e=0;e0?".":"")+a;g.isPlainObject(s)?t(s,o,c,i+1):o(c,a,s)}})}}}),Zu=ke({"src/plots/plots.js"(Z,H){"use strict";var g=_i(),x=Ki().timeFormatLocale,A=$n().formatLocale,S=Yn(),e=Vn(),t=lo(),r=Vg(),o=yl(),n=un(),i=eo(),a=Hi().BADNUM,s=qc(),c=Rp().clearOutline,h=u_(),p=Ky(),d=Gw(),T=bh().getModuleCalcData,l=n.relinkPrivateKeys,_=n._,w=H.exports={};n.extendFlat(w,t),w.attributes=Ol(),w.attributes.type.values=w.allTypes,w.fontAttrs=Il(),w.layoutAttributes=Ug();var M=qE();w.executeAPICommand=M.executeAPICommand,w.computeAPICommandBindings=M.computeAPICommandBindings,w.manageCommandObserver=M.manageCommandObserver,w.hasSimpleAPICommandBindings=M.hasSimpleAPICommandBindings,w.redrawText=function(G){return G=n.getGraphDiv(G),new Promise(function($){setTimeout(function(){G._fullLayout&&(t.getComponentMethod("annotations","draw")(G),t.getComponentMethod("legend","draw")(G),t.getComponentMethod("colorbar","draw")(G),$(w.previousPromises(G)))},300)})},w.resize=function(G){G=n.getGraphDiv(G);var $,J=new Promise(function(X,re){(!G||n.isHidden(G))&&re(new Error("Resize must be passed a displayed plot div element.")),G._redrawTimer&&clearTimeout(G._redrawTimer),G._resolveResize&&($=G._resolveResize),G._resolveResize=X,G._redrawTimer=setTimeout(function(){if(!G.layout||G.layout.width&&G.layout.height||n.isHidden(G)){X(G);return}delete G.layout.width,delete G.layout.height;var ae=G.changed;G.autoplay=!0,t.call("relayout",G,{autosize:!0}).then(function(){G.changed=ae,G._resolveResize===X&&(delete G._resolveResize,X(G))})},100)});return $&&$(J),J},w.previousPromises=function(G){if((G._promises||[]).length)return Promise.all(G._promises).then(function(){G._promises=[]})},w.addLinks=function(G){if(!(!G._context.showLink&&!G._context.showSources)){var $=G._fullLayout,J=n.ensureSingle($._paper,"text","js-plot-link-container",function(ie){ie.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:i.defaultLine,"pointer-events":"all"}).each(function(){var ce=g.select(this);ce.append("tspan").classed("js-link-to-tool",!0),ce.append("tspan").classed("js-link-spacer",!0),ce.append("tspan").classed("js-sourcelinks",!0)})}),X=J.node(),re={y:$._paper.attr("height")-9};document.body.contains(X)&&X.getComputedTextLength()>=$.width-20?(re["text-anchor"]="start",re.x=5):(re["text-anchor"]="end",re.x=$._paper.attr("width")-7),J.attr(re);var ae=J.select(".js-link-to-tool"),j=J.select(".js-link-spacer"),ee=J.select(".js-sourcelinks");G._context.showSources&&G._context.showSources(G),G._context.showLink&&E(G,ae),j.text(ae.text()&&ee.text()?" - ":"")}};function E(G,$){$.text("");var J=$.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(G._context.linkText+" \xBB");if(G._context.sendData)J.on("click",function(){w.sendDataToCloud(G)});else{var X=window.location.pathname.split("/"),re=window.location.search;J.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+X[2].split(".")[0]+"/"+X[1]+re})}}w.sendDataToCloud=function(G){var $=(window.PLOTLYENV||{}).BASE_URL||G._context.plotlyServerURL;if($){G.emit("plotly_beforeexport");var J=g.select(G).append("div").attr("id","hiddenform").style("display","none"),X=J.append("form").attr({action:$+"/external",method:"post",target:"_blank"}),re=X.append("input").attr({type:"text",name:"data"});return re.node().value=w.graphJson(G,!1,"keepdata"),X.node().submit(),J.remove(),G.emit("plotly_afterexport"),!1}};var m=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],b=["year","month","dayMonth","dayMonthYear"];w.supplyDefaults=function(G,$){var J=$&&$.skipUpdateCalc,X=G._fullLayout||{};if(X._skipDefaults){delete X._skipDefaults;return}var re=G._fullLayout={},ae=G.layout||{},j=G._fullData||[],ee=G._fullData=[],ie=G.data||[],ce=G.calcdata||[],xe=G._context||{},Te;G._transitionData||w.createTransitionData(G),re._dfltTitle={plot:_(G,"Click to enter Plot title"),subtitle:_(G,"Click to enter Plot subtitle"),x:_(G,"Click to enter X axis title"),y:_(G,"Click to enter Y axis title"),colorbar:_(G,"Click to enter Colorscale title"),annotation:_(G,"new text")},re._traceWord=_(G,"trace");var Ue=y(G,m);if(re._mapboxAccessToken=xe.mapboxAccessToken,X._initialAutoSizeIsDone){var Ie=X.width,Ye=X.height;w.supplyLayoutGlobalDefaults(ae,re,Ue),ae.width||(re.width=Ie),ae.height||(re.height=Ye),w.sanitizeMargins(re)}else{w.supplyLayoutGlobalDefaults(ae,re,Ue);var it=!ae.width||!ae.height,at=re.autosize,tt=xe.autosizable,ut=it&&(at||tt);ut?w.plotAutoSize(G,ae,re):it&&w.sanitizeMargins(re),!at&&it&&(ae.width=re.width,ae.height=re.height)}re._d3locale=f(Ue,re.separators),re._extraFormat=y(G,b),re._initialAutoSizeIsDone=!0,re._dataLength=ie.length,re._modules=[],re._visibleModules=[],re._basePlotModules=[];var Me=re._subplots=u(),pe=re._splomAxes={x:{},y:{}},ue=re._splomSubplots={};re._splomGridDflt={},re._scatterStackOpts={},re._firstScatter={},re._alignmentOpts={},re._colorAxes={},re._requestRangeslider={},re._traceUids=v(j,ie),w.supplyDataDefaults(ie,ee,ae,re);var Oe=Object.keys(pe.x),rt=Object.keys(pe.y);if(Oe.length>1&&rt.length>1){for(t.getComponentMethod("grid","sizeDefaults")(ae,re),Te=0;Te15&&rt.length>15&&re.shapes.length===0&&re.images.length===0,w.linkSubplots(ee,re,j,X),w.cleanPlot(ee,re,j,X);var Bt=!!(X._has&&X._has("cartesian")),qt=!!(re._has&&re._has("cartesian")),fr=Bt,ar=qt;fr&&!ar?X._bgLayer.remove():ar&&!fr&&(re._shouldCreateBgLayer=!0),X._zoomlayer&&!G._dragging&&c({_fullLayout:X}),P(ee,re),l(re,X),t.getComponentMethod("colorscale","crossTraceDefaults")(ee,re),re._preGUI||(re._preGUI={}),re._tracePreGUI||(re._tracePreGUI={});var Rr=re._tracePreGUI,gr={},br;for(br in Rr)gr[br]="old";for(Te=0;Te0){var xe=1-2*ae;j=Math.round(xe*j),ee=Math.round(xe*ee)}}var Te=w.layoutAttributes.width.min,Ue=w.layoutAttributes.height.min;j1,Ye=!J.height&&Math.abs(X.height-ee)>1;(Ye||Ie)&&(Ie&&(X.width=j),Ye&&(X.height=ee)),$._initialAutoSize||($._initialAutoSize={width:j,height:ee}),w.sanitizeMargins(X)},w.supplyLayoutModuleDefaults=function(G,$,J,X){var re=t.componentsRegistry,ae=$._basePlotModules,j,ee,ie,ce=t.subplotsRegistry.cartesian;for(j in re)ie=re[j],ie.includeBasePlot&&ie.includeBasePlot(G,$);ae.length||ae.push(ce),$._has("cartesian")&&(t.getComponentMethod("grid","contentDefaults")(G,$),ce.finalizeSubplots(G,$));for(var xe in $._subplots)$._subplots[xe].sort(n.subplotSort);for(ee=0;ee1&&(J.l/=at,J.r/=at)}if(Ue){var tt=(J.t+J.b)/Ue;tt>1&&(J.t/=tt,J.b/=tt)}var ut=J.xl!==void 0?J.xl:J.x,Me=J.xr!==void 0?J.xr:J.x,pe=J.yt!==void 0?J.yt:J.y,ue=J.yb!==void 0?J.yb:J.y;Ie[$]={l:{val:ut,size:J.l+it},r:{val:Me,size:J.r+it},b:{val:ue,size:J.b+it},t:{val:pe,size:J.t+it}},Ye[$]=1}if(!X._replotting)return w.doAutoMargin(G)}};function I(G){if("_redrawFromAutoMarginCount"in G._fullLayout)return!1;var $=s.list(G,"",!0);for(var J in $)if($[J].autoshift||$[J].shift)return!0;return!1}w.doAutoMargin=function(G){var $=G._fullLayout,J=$.width,X=$.height;$._size||($._size={}),F($);var re=$._size,ae=$.margin,j={t:0,b:0,l:0,r:0},ee=n.extendFlat({},re),ie=ae.l,ce=ae.r,xe=ae.t,Te=ae.b,Ue=$._pushmargin,Ie=$._pushmarginIds,Ye=$.minreducedwidth,it=$.minreducedheight;if(ae.autoexpand!==!1){for(var at in Ue)Ie[at]||delete Ue[at];var tt=G._fullLayout._reservedMargin;for(var ut in tt)for(var Me in tt[ut]){var pe=tt[ut][Me];j[Me]=Math.max(j[Me],pe)}Ue.base={l:{val:0,size:ie},r:{val:1,size:ce},t:{val:1,size:xe},b:{val:0,size:Te}};for(var ue in j){var Oe=0;for(var rt in Ue)rt!=="base"&&S(Ue[rt][ue].size)&&(Oe=Ue[rt][ue].size>Oe?Ue[rt][ue].size:Oe);var ot=Math.max(0,ae[ue]-Oe);j[ue]=Math.max(0,j[ue]-ot)}for(var et in Ue){var Lt=Ue[et].l||{},Et=Ue[et].b||{},Bt=Lt.val,qt=Lt.size,fr=Et.val,ar=Et.size,Rr=J-j.r-j.l,gr=X-j.t-j.b;for(var br in Ue){if(S(qt)&&Ue[br].r){var _t=Ue[br].r.val,Be=Ue[br].r.size;if(_t>Bt){var Ke=(qt*_t+(Be-Rr)*Bt)/(_t-Bt),je=(Be*(1-Bt)+(qt-Rr)*(1-_t))/(_t-Bt);Ke+je>ie+ce&&(ie=Ke,ce=je)}}if(S(ar)&&Ue[br].t){var Se=Ue[br].t.val,He=Ue[br].t.size;if(Se>fr){var Ee=(ar*Se+(He-gr)*fr)/(Se-fr),we=(He*(1-fr)+(ar-gr)*(1-Se))/(Se-fr);Ee+we>Te+xe&&(Te=Ee,xe=we)}}}}}var Le=n.constrain(J-ae.l-ae.r,B,Ye),nt=n.constrain(X-ae.t-ae.b,O,it),pt=Math.max(0,J-Le),bt=Math.max(0,X-nt);if(pt){var Rt=(ie+ce)/pt;Rt>1&&(ie/=Rt,ce/=Rt)}if(bt){var Nt=(Te+xe)/bt;Nt>1&&(Te/=Nt,xe/=Nt)}if(re.l=Math.round(ie)+j.l,re.r=Math.round(ce)+j.r,re.t=Math.round(xe)+j.t,re.b=Math.round(Te)+j.b,re.p=Math.round(ae.pad),re.w=Math.round(J)-re.l-re.r,re.h=Math.round(X)-re.t-re.b,!$._replotting&&(w.didMarginChange(ee,re)||I(G))){"_redrawFromAutoMarginCount"in $?$._redrawFromAutoMarginCount++:$._redrawFromAutoMarginCount=1;var Xt=3*(1+Object.keys(Ie).length);if($._redrawFromAutoMarginCount1)return!0}return!1},w.graphJson=function(G,$,J,X,re,ae){(re&&$&&!G._fullData||re&&!$&&!G._fullLayout)&&w.supplyDefaults(G);var j=re?G._fullData:G.data,ee=re?G._fullLayout:G.layout,ie=(G._transitionData||{})._frames;function ce(Ue,Ie){if(typeof Ue=="function")return Ie?"_function_":null;if(n.isPlainObject(Ue)){var Ye={},it;return Object.keys(Ue).sort().forEach(function(Me){if(["_","["].indexOf(Me.charAt(0))===-1){if(typeof Ue[Me]=="function"){Ie&&(Ye[Me]="_function");return}if(J==="keepdata"){if(Me.substr(Me.length-3)==="src")return}else if(J==="keepstream"){if(it=Ue[Me+"src"],typeof it=="string"&&it.indexOf(":")>0&&!n.isPlainObject(Ue.stream))return}else if(J!=="keepall"&&(it=Ue[Me+"src"],typeof it=="string"&&it.indexOf(":")>0))return;Ye[Me]=ce(Ue[Me],Ie)}}),Ye}var at=Array.isArray(Ue),tt=n.isTypedArray(Ue);if((at||tt)&&Ue.dtype&&Ue.shape){var ut=Ue.bdata;return ce({dtype:Ue.dtype,shape:Ue.shape,bdata:n.isArrayBuffer(ut)?e.encode(ut):ut},Ie)}return at?Ue.map(function(Me){return ce(Me,Ie)}):tt?n.simpleMap(Ue,n.identity):n.isJSDate(Ue)?n.ms2DateTimeLocal(+Ue):Ue}var xe={data:(j||[]).map(function(Ue){var Ie=ce(Ue);return $&&delete Ie.fit,Ie})};if(!$&&(xe.layout=ce(ee),re)){var Te=ee._size;xe.layout.computed={margin:{b:Te.b,l:Te.l,r:Te.r,t:Te.t}}}return ie&&(xe.frames=ce(ie)),ae&&(xe.config=ce(G._context,!0)),X==="object"?xe:JSON.stringify(xe)},w.modifyFrames=function(G,$){var J,X,re,ae=G._transitionData._frames,j=G._transitionData._frameHash;for(J=0;J<$.length;J++)switch(X=$[J],X.type){case"replace":re=X.value;var ee=(ae[X.index]||{}).name,ie=re.name;ae[X.index]=j[ie]=re,ie!==ee&&(delete j[ee],j[ie]=re);break;case"insert":re=X.value,j[re.name]=re,ae.splice(X.index,0,re);break;case"delete":re=ae[X.index],delete j[re.name],ae.splice(X.index,1);break}return Promise.resolve()},w.computeFrame=function(G,$){var J=G._transitionData._frameHash,X,re,ae,j;if(!$)throw new Error("computeFrame must be given a string frame name");var ee=J[$.toString()];if(!ee)return!1;for(var ie=[ee],ce=[ee.name];ee.baseframe&&(ee=J[ee.baseframe.toString()])&&ce.indexOf(ee.name)===-1;)ie.push(ee),ce.push(ee.name);for(var xe={};ee=ie.pop();)if(ee.layout&&(xe.layout=w.extendLayout(xe.layout,ee.layout)),ee.data){if(xe.data||(xe.data=[]),re=ee.traces,!re)for(re=[],X=0;X0&&(G._transitioningWithDuration=!0),G._transitionData._interruptCallbacks.push(function(){X=!0}),J.redraw&&G._transitionData._interruptCallbacks.push(function(){return t.call("redraw",G)}),G._transitionData._interruptCallbacks.push(function(){G.emit("plotly_transitioninterrupted",[])});var Ue=0,Ie=0;function Ye(){return Ue++,function(){Ie++,!X&&Ie===Ue&&ee(Te)}}J.runFn(Ye),setTimeout(Ye())})}function ee(Te){if(G._transitionData)return ae(G._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(J.redraw)return t.call("redraw",G)}).then(function(){G._transitioning=!1,G._transitioningWithDuration=!1,G.emit("plotly_transitioned",[])}).then(Te)}function ie(){if(G._transitionData)return G._transitioning=!1,re(G._transitionData._interruptCallbacks)}var ce=[w.previousPromises,ie,J.prepareFn,w.rehover,w.reselect,j],xe=n.syncOrAsync(ce,G);return(!xe||!xe.then)&&(xe=Promise.resolve()),xe.then(function(){return G})}w.doCalcdata=function(G,$){var J=s.list(G),X=G._fullData,re=G._fullLayout,ae,j,ee,ie,ce=new Array(X.length),xe=(G.calcdata||[]).slice();for(G.calcdata=ce,re._numBoxes=0,re._numViolins=0,re._violinScaleGroupStats={},G._hmpixcount=0,G._hmlumcount=0,re._piecolormap={},re._sunburstcolormap={},re._treemapcolormap={},re._iciclecolormap={},re._funnelareacolormap={},ee=0;ee=0;ie--)if(ue[ie].enabled){ae._indexToPoints=ue[ie]._indexToPoints;break}j&&j.calc&&(pe=j.calc(G,ae))}(!Array.isArray(pe)||!pe[0])&&(pe=[{x:a,y:a}]),pe[0].t||(pe[0].t={}),pe[0].trace=ae,ce[ut]=pe}}for(se(J,X,re),ee=0;eeee||Ie>ie)&&(ae.style("overflow","hidden"),Te=ae.node().getBoundingClientRect(),Ue=Te.width,Ie=Te.height);var Ye=+O.attr("x"),it=+O.attr("y"),at=G||O.node().getBoundingClientRect().height,tt=-at/4;if(le[0]==="y")j.attr({transform:"rotate("+[-90,Ye,it]+")"+x(-Ue/2,tt-Ie/2)});else if(le[0]==="l")it=tt-Ie/2;else if(le[0]==="a"&&le.indexOf("atitle")!==0)Ye=0,it=tt;else{var ut=O.attr("text-anchor");Ye=Ye-Ue*(ut==="middle"?.5:ut==="end"?1:0),it=it+tt-Ie/2}ae.attr({x:Ye,y:it}),N&&N.call(O,j),fe(j)})})):se(),O};var t=/(<|<|<)/g,r=/(>|>|>)/g;function o(O){return O.replace(t,"\\lt ").replace(r,"\\gt ")}var n=[["$","$"],["\\(","\\)"]];function i(O,I,N){var U=parseInt((MathJax.version||"").split(".")[0]);if(U!==2&&U!==3){g.warn("No MathJax version:",MathJax.version);return}var W,Q,le,se,fe=function(){return Q=g.extendDeepAll({},MathJax.Hub.config),le=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:n},displayAlign:"left"})},G=function(){Q=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=n},$=function(){if(W=MathJax.Hub.config.menuSettings.renderer,W!=="SVG")return MathJax.Hub.setRenderer("SVG")},J=function(){W=MathJax.config.startup.output,W!=="svg"&&(MathJax.config.startup.output="svg")},X=function(){var ce="math-output-"+g.randstr({},64);se=H.select("body").append("div").attr({id:ce}).style({visibility:"hidden",position:"absolute","font-size":I.fontSize+"px"}).text(o(O));var xe=se.node();return U===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},re=function(){var ce=se.select(U===2?".MathJax_SVG":".MathJax"),xe=!ce.empty()&&se.select("svg").node();if(!xe)g.log("There was an error in the tex syntax.",O),N();else{var Te=xe.getBoundingClientRect(),Ue;U===2?Ue=H.select("body").select("#MathJax_SVG_glyphs"):Ue=ce.select("defs"),N(ce,Ue,Te)}se.remove()},ae=function(){if(W!=="SVG")return MathJax.Hub.setRenderer(W)},j=function(){W!=="svg"&&(MathJax.config.startup.output=W)},ee=function(){return le!==void 0&&(MathJax.Hub.processSectionDelay=le),MathJax.Hub.Config(Q)},ie=function(){MathJax.config=Q};U===2?MathJax.Hub.Queue(fe,$,X,re,ae,ee):U===3&&(G(),J(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){X(),re(),j(),ie()}))}var a={sup:"font-size:70%",sub:"font-size:70%",s:"text-decoration:line-through",u:"text-decoration:underline",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="\u200B",p=["http:","https:","mailto:","",void 0,":"],d=Z.NEWLINES=/(\r\n?|\n)/g,T=/(<[^<>]*>)/,l=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;Z.BR_TAG_ALL=//gi;var w=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,M=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,E=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,m=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function b(O,I){if(!O)return null;var N=O.match(I),U=N&&(N[3]||N[4]);return U&&f(U)}var v=/(^|;)\s*color:/;Z.plainText=function(O,I){I=I||{};for(var N=I.len!==void 0&&I.len!==-1?I.len:1/0,U=I.allowedTags!==void 0?I.allowedTags:["br"],W="...",Q=W.length,le=O.split(T),se=[],fe="",G=0,$=0;$Q?se.push(J.substr(0,j-Q)+W):se.push(J.substr(0,j));break}fe=""}}return se.join("")};var u={mu:"\u03BC",amp:"&",lt:"<",gt:">",nbsp:"\xA0",times:"\xD7",plusmn:"\xB1",deg:"\xB0"},y=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function f(O){return O.replace(y,function(I,N){var U;return N.charAt(0)==="#"?U=P(N.charAt(1)==="x"?parseInt(N.substr(2),16):parseInt(N.substr(1),10)):U=u[N],U||I})}Z.convertEntities=f;function P(O){if(!(O>1114111)){var I=String.fromCodePoint;if(I)return I(O);var N=String.fromCharCode;return O<=65535?N(O):N((O>>10)+55232,O%1024+56320)}}function L(O,I){I=I.replace(d," ");var N=!1,U=[],W,Q=-1;function le(){Q++;var Ie=document.createElementNS(A.svg,"tspan");H.select(Ie).attr({class:"line",dy:Q*S+"em"}),O.appendChild(Ie),W=Ie;var Ye=U;if(U=[{node:Ie}],Ye.length>1)for(var it=1;it.",I);return}var Ye=U.pop();Ie!==Ye.type&&g.log("Start tag <"+Ye.type+"> doesnt match end tag <"+Ie+">. Pretending it did match.",I),W=U[U.length-1].node}var $=_.test(I);$?le():(W=O,U=[{node:O}]);for(var J=I.split(T),X=0;X=0;_--,w++){var M=d[_];l[w]=[1-M[0],M[1]]}return l}function c(d,T){T=T||{};for(var l=d.domain,_=d.range,w=_.length,M=new Array(w),E=0;Ed-h?h=d-(p-d):p-d=0?_=o.colorscale.sequential:_=o.colorscale.sequentialminus,s._sync("colorscale",_)}}}}),ku=ke({"src/components/colorscale/index.js"(Z,H){"use strict";var g=Cm(),x=ad();H.exports={moduleType:"component",name:"colorscale",attributes:ou(),layoutAttributes:Ww(),supplyLayoutDefaults:HE(),handleDefaults:Kf(),crossTraceDefaults:GE(),calc:od(),scales:g.scales,defaultScale:g.defaultScale,getScale:g.get,isValidScale:g.isValid,hasColorscale:x.hasColorscale,extractOpts:x.extractOpts,extractScale:x.extractScale,flipScale:x.flipScale,makeColorScaleFunc:x.makeColorScaleFunc,makeColorScaleFuncFromTrace:x.makeColorScaleFuncFromTrace}}}),vu=ke({"src/traces/scatter/subtypes.js"(Z,H){"use strict";var g=un(),x=Oa().isTypedArraySpec;H.exports={hasLines:function(A){return A.visible&&A.mode&&A.mode.indexOf("lines")!==-1},hasMarkers:function(A){return A.visible&&(A.mode&&A.mode.indexOf("markers")!==-1||A.type==="splom")},hasText:function(A){return A.visible&&A.mode&&A.mode.indexOf("text")!==-1},isBubble:function(A){var S=A.marker;return g.isPlainObject(S)&&(g.isArrayOrTypedArray(S.size)||x(S.size))}}}}),Hg=ke({"src/traces/scatter/make_bubble_size_func.js"(Z,H){"use strict";var g=Yn();H.exports=function(A,S){S||(S=2);var e=A.marker,t=e.sizeref||1,r=e.sizemin||0,o=e.sizemode==="area"?function(n){return Math.sqrt(n/t)}:function(n){return n/t};return function(n){var i=o(n/S);return g(i)&&i>0?Math.max(i,r):0}}}}),gd=ke({"src/components/fx/helpers.js"(Z){"use strict";var H=un();Z.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},Z.isTraceInSubplots=function(t,r){if(t.type==="splom"){for(var o=t.xaxes||[],n=t.yaxes||[],i=0;i=0&&o.index2&&(r.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==g[a])return i.unshift(n),r.push(i);if(i.length0&&(pe=100,Me=Me.replace("-open","")),Me.indexOf("-dot")>0&&(pe+=200,Me=Me.replace("-dot","")),Me=l.symbolNames.indexOf(Me),Me>=0&&(Me+=pe)}return Me%100>=v||Me>=400?0:Math.floor(Math.max(Me,0))};function y(Me,pe,ue,Oe){var rt=Me%100;return l.symbolFuncs[rt](pe,ue,Oe)+(Me>=200?u:"")}var f=A("~f"),P={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};l.gradient=function(Me,pe,ue,Oe,rt,ot){var et=P[Oe];return L(Me,pe,ue,et.type,rt,ot,et.start,et.stop,!1,et.reversed)};function L(Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt){var qt=rt.length,fr;Oe==="linear"?fr={node:"linearGradient",attrs:{x1:et.x,y1:et.y,x2:Lt.x,y2:Lt.y,gradientUnits:Et?"userSpaceOnUse":"objectBoundingBox"},reversed:Bt}:Oe==="radial"&&(fr={node:"radialGradient",reversed:Bt});for(var ar=new Array(qt),Rr=0;Rr=0&&Me.i===void 0&&(Me.i=ot.i),pe.style("opacity",Oe.selectedOpacityFn?Oe.selectedOpacityFn(Me):Me.mo===void 0?et.opacity:Me.mo),Oe.ms2mrc){var Et;Me.ms==="various"||et.size==="various"?Et=3:Et=Oe.ms2mrc(Me.ms),Me.mrc=Et,Oe.selectedSizeFn&&(Et=Me.mrc=Oe.selectedSizeFn(Me));var Bt=l.symbolNumber(Me.mx||et.symbol)||0;Me.om=Bt%200>=100;var qt=ut(Me,ue),fr=ee(Me,ue);pe.attr("d",y(Bt,Et,qt,fr))}var ar=!1,Rr,gr,br;if(Me.so)br=Lt.outlierwidth,gr=Lt.outliercolor,Rr=et.outliercolor;else{var _t=(Lt||{}).width;br=(Me.mlw+1||_t+1||(Me.trace?(Me.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Me?gr=Me.mlcc=Oe.lineScale(Me.mlc):x.isArrayOrTypedArray(Lt.color)?gr=r.defaultLine:gr=Lt.color,x.isArrayOrTypedArray(et.color)&&(Rr=r.defaultLine,ar=!0),"mc"in Me?Rr=Me.mcc=Oe.markerScale(Me.mc):Rr=et.color||et.colors||"rgba(0,0,0,0)",Oe.selectedColorFn&&(Rr=Oe.selectedColorFn(Me))}if(Me.om)pe.call(r.stroke,Rr).style({"stroke-width":(br||1)+"px",fill:"none"});else{pe.style("stroke-width",(Me.isBlank?0:br)+"px");var Be=et.gradient,Ke=Me.mgt;Ke?ar=!0:Ke=Be&&Be.type,x.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],P[Ke]||(Ke=0));var je=et.pattern,Se=je&&l.getPatternAttr(je.shape,Me.i,"");if(Ke&&Ke!=="none"){var He=Me.mgc;He?ar=!0:He=Be.color;var Ee=ue.uid;ar&&(Ee+="-"+Me.i),l.gradient(pe,rt,Ee,Ke,[[0,He],[1,Rr]],"fill")}else if(Se){var we=!1,Le=je.fgcolor;!Le&&ot&&ot.color&&(Le=ot.color,we=!0);var nt=l.getPatternAttr(Le,Me.i,ot&&ot.color||null),pt=l.getPatternAttr(je.bgcolor,Me.i,null),bt=je.fgopacity,Rt=l.getPatternAttr(je.size,Me.i,8),Nt=l.getPatternAttr(je.solidity,Me.i,.3);we=we||Me.mcc||x.isArrayOrTypedArray(je.shape)||x.isArrayOrTypedArray(je.bgcolor)||x.isArrayOrTypedArray(je.fgcolor)||x.isArrayOrTypedArray(je.size)||x.isArrayOrTypedArray(je.solidity);var Xt=ue.uid;we&&(Xt+="-"+Me.i),l.pattern(pe,"point",rt,Xt,Se,Rt,Nt,Me.mcc,je.fillmode,pt,nt,bt)}else x.isArrayOrTypedArray(Rr)?r.fill(pe,Rr[Me.i]):r.fill(pe,Rr);br&&r.stroke(pe,gr)}},l.makePointStyleFns=function(Me){var pe={},ue=Me.marker;return pe.markerScale=l.tryColorscale(ue,""),pe.lineScale=l.tryColorscale(ue,"line"),t.traceIs(Me,"symbols")&&(pe.ms2mrc=p.isBubble(Me)?d(Me):function(){return(ue.size||6)/2}),Me.selectedpoints&&x.extendFlat(pe,l.makeSelectedPointStyleFns(Me)),pe},l.makeSelectedPointStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.marker||{},ot=ue.marker||{},et=Oe.marker||{},Lt=rt.opacity,Et=ot.opacity,Bt=et.opacity,qt=Et!==void 0,fr=Bt!==void 0;(x.isArrayOrTypedArray(Lt)||qt||fr)&&(pe.selectedOpacityFn=function(Se){var He=Se.mo===void 0?rt.opacity:Se.mo;return Se.selected?qt?Et:He:fr?Bt:h*He});var ar=rt.color,Rr=ot.color,gr=et.color;(Rr||gr)&&(pe.selectedColorFn=function(Se){var He=Se.mcc||ar;return Se.selected?Rr||He:gr||He});var br=rt.size,_t=ot.size,Be=et.size,Ke=_t!==void 0,je=Be!==void 0;return t.traceIs(Me,"symbols")&&(Ke||je)&&(pe.selectedSizeFn=function(Se){var He=Se.mrc||br/2;return Se.selected?Ke?_t/2:He:je?Be/2:He}),pe},l.makeSelectedTextStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.textfont||{},ot=ue.textfont||{},et=Oe.textfont||{},Lt=rt.color,Et=ot.color,Bt=et.color;return pe.selectedTextColorFn=function(qt){var fr=qt.tc||Lt;return qt.selected?Et||fr:Bt||(Et?fr:r.addOpacity(fr,h))},pe},l.selectedPointStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedPointStyleFns(pe),Oe=pe.marker||{},rt=[];ue.selectedOpacityFn&&rt.push(function(ot,et){ot.style("opacity",ue.selectedOpacityFn(et))}),ue.selectedColorFn&&rt.push(function(ot,et){r.fill(ot,ue.selectedColorFn(et))}),ue.selectedSizeFn&&rt.push(function(ot,et){var Lt=et.mx||Oe.symbol||0,Et=ue.selectedSizeFn(et);ot.attr("d",y(l.symbolNumber(Lt),Et,ut(et,pe),ee(et,pe))),et.mrc2=Et}),rt.length&&Me.each(function(ot){for(var et=g.select(this),Lt=0;Lt0?ue:0}l.textPointStyle=function(Me,pe,ue){if(Me.size()){var Oe;if(pe.selectedpoints){var rt=l.makeSelectedTextStyleFns(pe);Oe=rt.selectedTextColorFn}var ot=pe.texttemplate,et=ue._fullLayout;Me.each(function(Lt){var Et=g.select(this),Bt=ot?x.extractOption(Lt,pe,"txt","texttemplate"):x.extractOption(Lt,pe,"tx","text");if(!Bt&&Bt!==0){Et.remove();return}if(ot){var qt=pe._module.formatLabels,fr=qt?qt(Lt,pe,et):{},ar={};T(ar,pe,Lt.i);var Rr=pe._meta||{};Bt=x.texttemplateString(Bt,fr,et._d3locale,ar,Lt,Rr)}var gr=Lt.tp||pe.textposition,br=B(Lt,pe),_t=Oe?Oe(Lt):Lt.tc||pe.textfont.color;Et.call(l.font,{family:Lt.tf||pe.textfont.family,weight:Lt.tw||pe.textfont.weight,style:Lt.ty||pe.textfont.style,variant:Lt.tv||pe.textfont.variant,textcase:Lt.tC||pe.textfont.textcase,lineposition:Lt.tE||pe.textfont.lineposition,shadow:Lt.tS||pe.textfont.shadow,size:br,color:_t}).text(Bt).call(i.convertToTspans,ue).call(F,gr,br,Lt.mrc)})}},l.selectedTextStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedTextStyleFns(pe);Me.each(function(Oe){var rt=g.select(this),ot=ue.selectedTextColorFn(Oe),et=Oe.tp||pe.textposition,Lt=B(Oe,pe);r.fill(rt,ot);var Et=t.traceIs(pe,"bar-like");F(rt,et,Lt,Oe.mrc2||Oe.mrc,Et)})}};var O=.5;l.smoothopen=function(Me,pe){if(Me.length<3)return"M"+Me.join("L");var ue="M"+Me[0],Oe=[],rt;for(rt=1;rt=Et||Se>=qt&&Se<=Et)&&(He<=fr&&He>=Bt||He>=fr&&He<=Bt)&&(Me=[Se,He])}return Me}l.applyBackoff=G,l.makeTester=function(){var Me=x.ensureSingleById(g.select("body"),"svg","js-plotly-tester",function(ue){ue.attr(a.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),pe=x.ensureSingle(Me,"path","js-reference-point",function(ue){ue.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});l.tester=Me,l.testref=pe},l.savedBBoxes={};var $=0,J=1e4;l.bBox=function(Me,pe,ue){ue||(ue=X(Me));var Oe;if(ue){if(Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}else if(Me.childNodes.length===1){var rt=Me.childNodes[0];if(ue=X(rt),ue){var ot=+rt.getAttribute("x")||0,et=+rt.getAttribute("y")||0,Lt=rt.getAttribute("transform");if(!Lt){var Et=l.bBox(rt,!1,ue);return ot&&(Et.left+=ot,Et.right+=ot),et&&(Et.top+=et,Et.bottom+=et),Et}if(ue+="~"+ot+"~"+et+"~"+Lt,Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}}var Bt,qt;pe?Bt=Me:(qt=l.tester.node(),Bt=Me.cloneNode(!0),qt.appendChild(Bt)),g.select(Bt).attr("transform",null).call(i.positionText,0,0);var fr=Bt.getBoundingClientRect(),ar=l.testref.node().getBoundingClientRect();pe||qt.removeChild(Bt);var Rr={height:fr.height,width:fr.width,left:fr.left-ar.left,top:fr.top-ar.top,right:fr.right-ar.left,bottom:fr.bottom-ar.top};return $>=J&&(l.savedBBoxes={},$=0),ue&&(l.savedBBoxes[ue]=Rr),$++,x.extendFlat({},Rr)};function X(Me){var pe=Me.getAttribute("data-unformatted");if(pe!==null)return pe+Me.getAttribute("data-math")+Me.getAttribute("text-anchor")+Me.getAttribute("style")}l.setClipUrl=function(Me,pe,ue){Me.attr("clip-path",re(pe,ue))};function re(Me,pe){if(!Me)return null;var ue=pe._context,Oe=ue._exportedPlot?"":ue._baseUrl||"";return Oe?"url('"+Oe+"#"+Me+"')":"url(#"+Me+")"}l.getTranslate=function(Me){var pe=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,ue=Me.attr?"attr":"getAttribute",Oe=Me[ue]("transform")||"",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(" ")}).split(" ");return{x:+rt[0]||0,y:+rt[1]||0}},l.setTranslate=function(Me,pe,ue){var Oe=/(\btranslate\(.*?\);?)/,rt=Me.attr?"attr":"getAttribute",ot=Me.attr?"attr":"setAttribute",et=Me[rt]("transform")||"";return pe=pe||0,ue=ue||0,et=et.replace(Oe,"").trim(),et+=n(pe,ue),et=et.trim(),Me[ot]("transform",et),et},l.getScale=function(Me){var pe=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,ue=Me.attr?"attr":"getAttribute",Oe=Me[ue]("transform")||"",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(" ")}).split(" ");return{x:+rt[0]||1,y:+rt[1]||1}},l.setScale=function(Me,pe,ue){var Oe=/(\bscale\(.*?\);?)/,rt=Me.attr?"attr":"getAttribute",ot=Me.attr?"attr":"setAttribute",et=Me[rt]("transform")||"";return pe=pe||1,ue=ue||1,et=et.replace(Oe,"").trim(),et+="scale("+pe+","+ue+")",et=et.trim(),Me[ot]("transform",et),et};var ae=/\s*sc.*/;l.setPointGroupScale=function(Me,pe,ue){if(pe=pe||1,ue=ue||1,!!Me){var Oe=pe===1&&ue===1?"":"scale("+pe+","+ue+")";Me.each(function(){var rt=(this.getAttribute("transform")||"").replace(ae,"");rt+=Oe,rt=rt.trim(),this.setAttribute("transform",rt)})}};var j=/translate\([^)]*\)\s*$/;l.setTextPointsScale=function(Me,pe,ue){Me&&Me.each(function(){var Oe,rt=g.select(this),ot=rt.select("text");if(ot.node()){var et=parseFloat(ot.attr("x")||0),Lt=parseFloat(ot.attr("y")||0),Et=(rt.attr("transform")||"").match(j);pe===1&&ue===1?Oe=[]:Oe=[n(et,Lt),"scale("+pe+","+ue+")",n(-et,-Lt)],Et&&Oe.push(Et),rt.attr("transform",Oe.join(""))}})};function ee(Me,pe){var ue;return Me&&(ue=Me.mf),ue===void 0&&(ue=pe.marker&&pe.marker.standoff||0),!pe._geo&&!pe._xA?-ue:ue}l.getMarkerStandoff=ee;var ie=Math.atan2,ce=Math.cos,xe=Math.sin;function Te(Me,pe){var ue=pe[0],Oe=pe[1];return[ue*ce(Me)-Oe*xe(Me),ue*xe(Me)+Oe*ce(Me)]}var Ue,Ie,Ye,it,at,tt;function ut(Me,pe){var ue=Me.ma;ue===void 0&&(ue=pe.marker.angle,(!ue||x.isArrayOrTypedArray(ue))&&(ue=0));var Oe,rt,ot=pe.marker.angleref;if(ot==="previous"||ot==="north"){if(pe._geo){var et=pe._geo.project(Me.lonlat);Oe=et[0],rt=et[1]}else{var Lt=pe._xA,Et=pe._yA;if(Lt&&Et)Oe=Lt.c2p(Me.x),rt=Et.c2p(Me.y);else return 90}if(pe._geo){var Bt=Me.lonlat[0],qt=Me.lonlat[1],fr=pe._geo.project([Bt,qt+1e-5]),ar=pe._geo.project([Bt+1e-5,qt]),Rr=ie(ar[1]-rt,ar[0]-Oe),gr=ie(fr[1]-rt,fr[0]-Oe),br;if(ot==="north")br=ue/180*Math.PI;else if(ot==="previous"){var _t=Bt/180*Math.PI,Be=qt/180*Math.PI,Ke=Ue/180*Math.PI,je=Ie/180*Math.PI,Se=Ke-_t,He=ce(je)*xe(Se),Ee=xe(je)*ce(Be)-ce(je)*xe(Be)*ce(Se);br=-ie(He,Ee)-Math.PI,Ue=Bt,Ie=qt}var we=Te(Rr,[ce(br),0]),Le=Te(gr,[xe(br),0]);ue=ie(we[1]+Le[1],we[0]+Le[0])/Math.PI*180,ot==="previous"&&!(tt===pe.uid&&Me.i===at+1)&&(ue=null)}if(ot==="previous"&&!pe._geo)if(tt===pe.uid&&Me.i===at+1&&S(Oe)&&S(rt)){var nt=Oe-Ye,pt=rt-it,bt=pe.line&&pe.line.shape||"",Rt=bt.slice(bt.length-1);Rt==="h"&&(pt=0),Rt==="v"&&(nt=0),ue+=ie(pt,nt)/Math.PI*180+90}else ue=null}return Ye=Oe,it=rt,at=Me.i,tt=pe.uid,ue}l.getMarkerAngle=ut}}),Im=ke({"src/components/titles/index.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=$o(),o=eo(),n=Wl(),i=Lp(),a=Yf().OPPOSITE_SIDE,s=/ [XY][0-9]* /,c=1.6,h=1.6;function p(d,T,l){var _=d._fullLayout,w=l.propContainer,M=l.propName,E=l.placeholder,m=l.traceIndex,b=l.avoid||{},v=l.attributes,u=l.transform,y=l.containerGroup,f=1,P=w.title,L=(P&&P.text?P.text:"").trim(),z=!1,F=P&&P.font?P.font:{},B=F.family,O=F.size,I=F.color,N=F.weight,U=F.style,W=F.variant,Q=F.textcase,le=F.lineposition,se=F.shadow,fe=l.subtitlePropName,G=!!fe,$=l.subtitlePlaceholder,J=(w.title||{}).subtitle||{text:"",font:{}},X=J.text.trim(),re=!1,ae=1,j=J.font,ee=j.family,ie=j.size,ce=j.color,xe=j.weight,Te=j.style,Ue=j.variant,Ie=j.textcase,Ye=j.lineposition,it=j.shadow,at;M==="title.text"?at="titleText":M.indexOf("axis")!==-1?at="axisTitleText":M.indexOf("colorbar"!==-1)&&(at="colorbarTitleText");var tt=d._context.edits[at];function ut(ar,Rr){return ar===void 0||Rr===void 0?!1:ar.replace(s," % ")===Rr.replace(s," % ")}L===""?f=0:ut(L,E)&&(tt||(L=""),f=.2,z=!0),G&&(X===""?ae=0:ut(X,$)&&(tt||(X=""),ae=.2,re=!0)),l._meta?L=e.templateString(L,l._meta):_._meta&&(L=e.templateString(L,_._meta));var Me=L||X||tt,pe;y||(y=e.ensureSingle(_._infolayer,"g","g-"+T),pe=_._hColorbarMoveTitle);var ue=y.selectAll("text."+T).data(Me?[0]:[]);ue.enter().append("text"),ue.text(L).attr("class",T),ue.exit().remove();var Oe=null,rt=T+"-subtitle",ot=X||tt;if(G&&ot&&(Oe=y.selectAll("text."+rt).data(ot?[0]:[]),Oe.enter().append("text"),Oe.text(X).attr("class",rt),Oe.exit().remove()),!Me)return y;function et(ar,Rr){e.syncOrAsync([Lt,Et],{title:ar,subtitle:Rr})}function Lt(ar){var Rr=ar.title,gr=ar.subtitle,br;!u&&pe&&(u={}),u?(br="",u.rotate&&(br+="rotate("+[u.rotate,v.x,v.y]+")"),(u.offset||pe)&&(br+=t(0,(u.offset||0)-(pe||0)))):br=null,Rr.attr("transform",br);function _t(Ee){if(Ee){var we=g.select(Ee.node().parentNode).select("."+rt);if(!we.empty()){var Le=Ee.node().getBBox();if(Le.height){var nt=Le.y+Le.height+c*ie;we.attr("y",nt)}}}}if(Rr.style("opacity",f*o.opacity(I)).call(r.font,{color:o.rgb(I),size:g.round(O,2),family:B,weight:N,style:U,variant:W,textcase:Q,shadow:se,lineposition:le}).attr(v).call(n.convertToTspans,d,_t),gr){var Be=y.select("."+T+"-math-group"),Ke=Rr.node().getBBox(),je=Be.node()?Be.node().getBBox():void 0,Se=je?je.y+je.height+c*ie:Ke.y+Ke.height+h*ie,He=e.extendFlat({},v,{y:Se});gr.attr("transform",br),gr.style("opacity",ae*o.opacity(ce)).call(r.font,{color:o.rgb(ce),size:g.round(ie,2),family:ee,weight:xe,style:Te,variant:Ue,textcase:Ie,shadow:it,lineposition:Ye}).attr(He).call(n.convertToTspans,d)}return A.previousPromises(d)}function Et(ar){var Rr=ar.title,gr=g.select(Rr.node().parentNode);if(b&&b.selection&&b.side&&L){gr.attr("transform",null);var br=a[b.side],_t=b.side==="left"||b.side==="top"?-1:1,Be=x(b.pad)?b.pad:2,Ke=r.bBox(gr.node()),je={t:0,b:0,l:0,r:0},Se=d._fullLayout._reservedMargin;for(var He in Se)for(var Ee in Se[He]){var we=Se[He][Ee];je[Ee]=Math.max(je[Ee],we)}var Le={left:je.l,top:je.t,right:_.width-je.r,bottom:_.height-je.b},nt=b.maxShift||_t*(Le[b.side]-Ke[b.side]),pt=0;if(nt<0)pt=nt;else{var bt=b.offsetLeft||0,Rt=b.offsetTop||0;Ke.left-=bt,Ke.right-=bt,Ke.top-=Rt,Ke.bottom-=Rt,b.selection.each(function(){var Xt=r.bBox(this);e.bBoxIntersect(Ke,Xt,Be)&&(pt=Math.max(pt,_t*(Xt[b.side]-Ke[br])+Be))}),pt=Math.min(nt,pt),w._titleScoot=Math.abs(pt)}if(pt>0||nt<0){var Nt={left:[-pt,0],right:[pt,0],top:[0,-pt],bottom:[0,pt]}[b.side];gr.attr("transform",t(Nt[0],Nt[1]))}}}ue.call(et,Oe);function Bt(ar,Rr){ar.text(Rr).on("mouseover.opacity",function(){g.select(this).transition().duration(i.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){g.select(this).transition().duration(i.HIDE_PLACEHOLDER).style("opacity",0)})}if(tt&&(L?ue.on(".opacity",null):(Bt(ue,E),z=!0),ue.call(n.makeEditable,{gd:d}).on("edit",function(ar){m!==void 0?S.call("_guiRestyle",d,M,ar,m):S.call("_guiRelayout",d,M,ar)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(et)}).on("input",function(ar){this.text(ar||" ").call(n.positionText,v.x,v.y)}),G)){if(G&&!L){var qt=ue.node().getBBox(),fr=qt.y+qt.height+h*ie;Oe.attr("y",fr)}X?Oe.on(".opacity",null):(Bt(Oe,$),re=!0),Oe.call(n.makeEditable,{gd:d}).on("edit",function(ar){S.call("_guiRelayout",d,"title.subtitle.text",ar)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(et)}).on("input",function(ar){this.text(ar||" ").call(n.positionText,Oe.attr("x"),Oe.attr("y"))})}return ue.classed("js-placeholder",z),Oe&&Oe.classed("js-placeholder",re),y}H.exports={draw:p,SUBTITLE_PADDING_EM:h,SUBTITLE_PADDING_MATHJAX_EM:c}}}),Cv=ke({"src/plots/cartesian/set_convert.js"(Z,H){"use strict";var g=_i(),x=Ki().utcFormat,A=un(),S=A.numberFormat,e=Yn(),t=A.cleanNumber,r=A.ms2DateTime,o=A.dateTime2ms,n=A.ensureNumber,i=A.isArrayOrTypedArray,a=Hi(),s=a.FP_SAFE,c=a.BADNUM,h=a.LOG_CLIP,p=a.ONEWEEK,d=a.ONEDAY,T=a.ONEHOUR,l=a.ONEMIN,_=a.ONESEC,w=qc(),M=oh(),E=M.HOUR_PATTERN,m=M.WEEKDAY_PATTERN;function b(u){return Math.pow(10,u)}function v(u){return u!=null}H.exports=function(y,f){f=f||{};var P=y._id||"x",L=P.charAt(0);function z(X,re){if(X>0)return Math.log(X)/Math.LN10;if(X<=0&&re&&y.range&&y.range.length===2){var ae=y.range[0],j=y.range[1];return .5*(ae+j-2*h*Math.abs(ae-j))}else return c}function F(X,re,ae,j){if((j||{}).msUTC&&e(X))return+X;var ee=o(X,ae||y.calendar);if(ee===c)if(e(X)){X=+X;var ie=Math.floor(A.mod(X+.05,1)*10),ce=Math.round(X-ie/10);ee=o(new Date(ce))+ie/10}else return c;return ee}function B(X,re,ae){return r(X,re,ae||y.calendar)}function O(X){return y._categories[Math.round(X)]}function I(X){if(v(X)){if(y._categoriesMap===void 0&&(y._categoriesMap={}),y._categoriesMap[X]!==void 0)return y._categoriesMap[X];y._categories.push(typeof X=="number"?String(X):X);var re=y._categories.length-1;return y._categoriesMap[X]=re,re}return c}function N(X,re){for(var ae=new Array(re),j=0;jy.range[1]&&(ae=!ae);for(var j=ae?-1:1,ee=j*X,ie=0,ce=0;ceTe)ie=ce+1;else{ie=ee<(xe+Te)/2?ce:ce+1;break}}var Ue=y._B[ie]||0;return isFinite(Ue)?le(X,y._m2,Ue):0},G=function(X){var re=y._rangebreaks.length;if(!re)return se(X,y._m,y._b);for(var ae=0,j=0;jy._rangebreaks[j].pmax&&(ae=j+1);return se(X,y._m2,y._B[ae])}}y.c2l=y.type==="log"?z:n,y.l2c=y.type==="log"?b:n,y.l2p=fe,y.p2l=G,y.c2p=y.type==="log"?function(X,re){return fe(z(X,re))}:fe,y.p2c=y.type==="log"?function(X){return b(G(X))}:G,["linear","-"].indexOf(y.type)!==-1?(y.d2r=y.r2d=y.d2c=y.r2c=y.d2l=y.r2l=t,y.c2d=y.c2r=y.l2d=y.l2r=n,y.d2p=y.r2p=function(X){return y.l2p(t(X))},y.p2d=y.p2r=G,y.cleanPos=n):y.type==="log"?(y.d2r=y.d2l=function(X,re){return z(t(X),re)},y.r2d=y.r2c=function(X){return b(t(X))},y.d2c=y.r2l=t,y.c2d=y.l2r=n,y.c2r=z,y.l2d=b,y.d2p=function(X,re){return y.l2p(y.d2r(X,re))},y.p2d=function(X){return b(G(X))},y.r2p=function(X){return y.l2p(t(X))},y.p2r=G,y.cleanPos=n):y.type==="date"?(y.d2r=y.r2d=A.identity,y.d2c=y.r2c=y.d2l=y.r2l=F,y.c2d=y.c2r=y.l2d=y.l2r=B,y.d2p=y.r2p=function(X,re,ae){return y.l2p(F(X,0,ae))},y.p2d=y.p2r=function(X,re,ae){return B(G(X),re,ae)},y.cleanPos=function(X){return A.cleanDate(X,c,y.calendar)}):y.type==="category"?(y.d2c=y.d2l=I,y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=Q(X);return re!==void 0?re:y.fraction2r(.5)},y.l2r=y.c2r=n,y.r2l=Q,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return typeof X=="string"&&X!==""?X:n(X)}):y.type==="multicategory"&&(y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=W(X);return re!==void 0?re:y.fraction2r(.5)},y.r2c_just_indices=U,y.l2r=y.c2r=n,y.r2l=W,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return Array.isArray(X)||typeof X=="string"&&X!==""?X:n(X)},y.setupMultiCategory=function(X){var re=y._traceIndices,ae,j,ee=y._matchGroup;if(ee&&y._categories.length===0){for(var ie in ee)if(ie!==P){var ce=f[w.id2name(ie)];re=re.concat(ce._traceIndices)}}var xe=[[0,{}],[0,{}]],Te=[];for(ae=0;aece[1]&&(j[ie?0:1]=ae),j[0]===j[1]){var xe=y.l2r(re),Te=y.l2r(ae);if(re!==void 0){var Ue=xe+1;ae!==void 0&&(Ue=Math.min(Ue,Te)),j[ie?1:0]=Ue}if(ae!==void 0){var Ie=Te+1;re!==void 0&&(Ie=Math.max(Ie,xe)),j[ie?0:1]=Ie}}}},y.cleanRange=function(X,re){y._cleanRange(X,re),y.limitRange(X)},y._cleanRange=function(X,re){re||(re={}),X||(X="range");var ae=A.nestedProperty(y,X).get(),j,ee;if(y.type==="date"?ee=A.dfltRange(y.calendar):L==="y"?ee=M.DFLTRANGEY:y._name==="realaxis"?ee=[0,1]:ee=re.dfltRange||M.DFLTRANGEX,ee=ee.slice(),(y.rangemode==="tozero"||y.rangemode==="nonnegative")&&(ee[0]=0),!ae||ae.length!==2){A.nestedProperty(y,X).set(ee);return}var ie=ae[0]===null,ce=ae[1]===null;for(y.type==="date"&&!y.autorange&&(ae[0]=A.cleanDate(ae[0],c,y.calendar),ae[1]=A.cleanDate(ae[1],c,y.calendar)),j=0;j<2;j++)if(y.type==="date"){if(!A.isDateTime(ae[j],y.calendar)){y[X]=ee;break}if(y.r2l(ae[0])===y.r2l(ae[1])){var xe=A.constrain(y.r2l(ae[0]),A.MIN_MS+1e3,A.MAX_MS-1e3);ae[0]=y.l2r(xe-1e3),ae[1]=y.l2r(xe+1e3);break}}else{if(!e(ae[j]))if(!(ie||ce)&&e(ae[1-j]))ae[j]=ae[1-j]*(j?10:.1);else{y[X]=ee;break}if(ae[j]<-s?ae[j]=-s:ae[j]>s&&(ae[j]=s),ae[0]===ae[1]){var Te=Math.max(1,Math.abs(ae[0]*1e-6));ae[0]-=Te,ae[1]+=Te}}},y.setScale=function(X){var re=f._size;if(y.overlaying){var ae=w.getFromId({_fullLayout:f},y.overlaying);y.domain=ae.domain}var j=X&&y._r?"_r":"range",ee=y.calendar;y.cleanRange(j);var ie=y.r2l(y[j][0],ee),ce=y.r2l(y[j][1],ee),xe=L==="y";if(xe?(y._offset=re.t+(1-y.domain[1])*re.h,y._length=re.h*(y.domain[1]-y.domain[0]),y._m=y._length/(ie-ce),y._b=-y._m*ce):(y._offset=re.l+y.domain[0]*re.w,y._length=re.w*(y.domain[1]-y.domain[0]),y._m=y._length/(ce-ie),y._b=-y._m*ie),y._rangebreaks=[],y._lBreaks=0,y._m2=0,y._B=[],y.rangebreaks){var Te,Ue;if(y._rangebreaks=y.locateBreaks(Math.min(ie,ce),Math.max(ie,ce)),y._rangebreaks.length){for(Te=0;Tece&&(Ie=!Ie),Ie&&y._rangebreaks.reverse();var Ye=Ie?-1:1;for(y._m2=Ye*y._length/(Math.abs(ce-ie)-y._lBreaks),y._B.push(-y._m2*(xe?ce:ie)),Te=0;Teee&&(ee+=7,ieee&&(ee+=24,ie=j&&ie=j&&X=et.min&&(ueet.max&&(et.max=Oe),rt=!1)}rt&&ce.push({min:ue,max:Oe})}};for(ae=0;ae_*2}function a(h){return Math.max(1,(h-1)/1e3)}function s(h,p){for(var d=h.length,T=a(d),l=0,_=0,w={},M=0;Ml*2}function c(h){return S(h[0])&&S(h[1])}}}),lv=ke({"src/plots/cartesian/autorange.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=un(),S=Hi().FP_SAFE,e=lo(),t=$o(),r=qc(),o=r.getFromId,n=r.isLinked;H.exports={applyAutorangeOptions:y,getAutoRange:i,makePadFn:s,doAutoRange:d,findExtremes:T,concatExtremes:p};function i(f,P){var L,z,F=[],B=f._fullLayout,O=s(B,P,0),I=s(B,P,1),N=p(f,P),U=N.min,W=N.max;if(U.length===0||W.length===0)return A.simpleMap(P.range,P.r2l);var Q=U[0].val,le=W[0].val;for(L=1;L0&&(Te=re-O(ee)-I(ie),Te>ae?Ue/Te>j&&(ce=ee,xe=ie,j=Ue/Te):Ue/re>j&&(ce={val:ee.val,nopad:1},xe={val:ie.val,nopad:1},j=Ue/re));function Ie(ut,Me){return Math.max(ut,I(Me))}if(Q===le){var Ye=Q-1,it=Q+1;if(J)if(Q===0)F=[0,1];else{var at=(Q>0?W:U).reduce(Ie,0),tt=Q/(1-Math.min(.5,at/re));F=Q>0?[0,tt]:[tt,0]}else X?F=[Math.max(0,Ye),Math.max(1,it)]:F=[Ye,it]}else J?(ce.val>=0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:0,nopad:1})):X&&(ce.val-j*O(ce)<0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:1,nopad:1})),j=(xe.val-ce.val-a(P,ee.val,ie.val))/(re-O(ce)-I(xe)),F=[ce.val-j*O(ce),xe.val+j*I(xe)];return F=y(F,P),P.limitRange&&P.limitRange(),fe&&F.reverse(),A.simpleMap(F,P.l2r||Number)}function a(f,P,L){var z=0;if(f.rangebreaks)for(var F=f.locateBreaks(P,L),B=0;B0?L.ppadplus:L.ppadminus)||L.ppad||0),ee=ae((f._m>0?L.ppadminus:L.ppadplus)||L.ppad||0),ie=ae(L.vpadplus||L.vpad),ce=ae(L.vpadminus||L.vpad);if(!U){if(X=1/0,re=-1/0,N)for(Q=0;Q0&&(X=le),le>re&&le-S&&(X=le),le>re&&le=Ue;Q--)Te(Q);return{min:z,max:F,opts:L}}function l(f,P,L,z){w(f,P,L,z,E)}function _(f,P,L,z){w(f,P,L,z,m)}function w(f,P,L,z,F){for(var B=z.tozero,O=z.extrapad,I=!0,N=0;N=L&&(U.extrapad||!O)){I=!1;break}else F(P,U.val)&&U.pad<=L&&(O||!U.extrapad)&&(f.splice(N,1),N--)}if(I){var W=B&&P===0;f.push({val:P,pad:W?0:L,extrapad:W?!1:O})}}function M(f){return x(f)&&Math.abs(f)=P}function b(f,P){var L=P.autorangeoptions;return L&&L.minallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.minallowed:L&&L.clipmin!==void 0&&u(P,L.clipmin,L.clipmax)?Math.max(f,P.d2l(L.clipmin)):f}function v(f,P){var L=P.autorangeoptions;return L&&L.maxallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.maxallowed:L&&L.clipmax!==void 0&&u(P,L.clipmin,L.clipmax)?Math.min(f,P.d2l(L.clipmax)):f}function u(f,P,L){return P!==void 0&&L!==void 0?(P=f.d2l(P),L=f.d2l(L),P=N&&(B=N,L=N),O<=N&&(O=N,z=N)}}return L=b(L,P),z=v(z,P),[L,z]}}}),Ho=ke({"src/plots/cartesian/axes.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=Wl(),o=Im(),n=eo(),i=$o(),a=wh(),s=Zw(),c=Hi(),h=c.ONEMAXYEAR,p=c.ONEAVGYEAR,d=c.ONEMINYEAR,T=c.ONEMAXQUARTER,l=c.ONEAVGQUARTER,_=c.ONEMINQUARTER,w=c.ONEMAXMONTH,M=c.ONEAVGMONTH,E=c.ONEMINMONTH,m=c.ONEWEEK,b=c.ONEDAY,v=b/2,u=c.ONEHOUR,y=c.ONEMIN,f=c.ONESEC,P=c.ONEMILLI,L=c.ONEMICROSEC,z=c.MINUS_SIGN,F=c.BADNUM,B={K:"zeroline"},O={K:"gridline",L:"path"},I={K:"minor-gridline",L:"path"},N={K:"tick",L:"path"},U={K:"tick",L:"text"},W={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},Q=Yf(),le=Q.MID_SHIFT,se=Q.CAP_SHIFT,fe=Q.LINE_SPACING,G=Q.OPPOSITE_SIDE,$=3,J=H.exports={};J.setConvert=Cv();var X=Gg(),re=qc(),ae=re.idSort,j=re.isLinked;J.id2name=re.id2name,J.name2id=re.name2id,J.cleanId=re.cleanId,J.list=re.list,J.listIds=re.listIds,J.getFromId=re.getFromId,J.getFromTrace=re.getFromTrace;var ee=lv();J.getAutoRange=ee.getAutoRange,J.findExtremes=ee.findExtremes;var ie=1e-4;function ce(gt){var yt=(gt[1]-gt[0])*ie;return[gt[0]-yt,gt[1]+yt]}J.coerceRef=function(gt,yt,Pr,Ir,Tr,Mr){var Lr=Ir.charAt(Ir.length-1),Ur=Pr._fullLayout._subplots[Lr+"axis"],Dr=Ir+"ref",nn={};return Tr||(Tr=Ur[0]||(typeof Mr=="string"?Mr:Mr[0])),Mr||(Mr=Tr),Ur=Ur.concat(Ur.map(function(vn){return vn+" domain"})),nn[Dr]={valType:"enumerated",values:Ur.concat(Mr?typeof Mr=="string"?[Mr]:Mr:[]),dflt:Tr},e.coerce(gt,yt,nn,Dr)},J.getRefType=function(gt){return gt===void 0?gt:gt==="paper"?"paper":gt==="pixel"?"pixel":/( domain)$/.test(gt)?"domain":"range"},J.coercePosition=function(gt,yt,Pr,Ir,Tr,Mr){var Lr,Ur,Dr=J.getRefType(Ir);if(Dr!=="range")Lr=e.ensureNumber,Ur=Pr(Tr,Mr);else{var nn=J.getFromId(yt,Ir);Mr=nn.fraction2r(Mr),Ur=Pr(Tr,Mr),Lr=nn.cleanPos}gt[Tr]=Lr(Ur)},J.cleanPosition=function(gt,yt,Pr){var Ir=Pr==="paper"||Pr==="pixel"?e.ensureNumber:J.getFromId(yt,Pr).cleanPos;return Ir(gt)},J.redrawComponents=function(gt,yt){yt=yt||J.listIds(gt);var Pr=gt._fullLayout;function Ir(Tr,Mr,Lr,Ur){for(var Dr=S.getComponentMethod(Tr,Mr),nn={},vn=0;vn2e-6||((Pr-gt._forceTick0)/gt._minDtick%1+1.000001)%1>2e-6)&&(gt._minDtick=0))},J.saveRangeInitial=function(gt,yt){for(var Pr=J.list(gt,"",!0),Ir=!1,Tr=0;Trgn*.3||nn(Ir)||nn(Tr))){var kt=Pr.dtick/2;gt+=gt+ktLr){var Ur=Number(Pr.substr(1));Mr.exactYears>Lr&&Ur%12===0?gt=J.tickIncrement(gt,"M6","reverse")+b*1.5:Mr.exactMonths>Lr?gt=J.tickIncrement(gt,"M1","reverse")+b*15.5:gt-=v;var Dr=J.tickIncrement(gt,Pr);if(Dr<=Ir)return Dr}return gt}J.prepMinorTicks=function(gt,yt,Pr){if(!yt.minor.dtick){delete gt.dtick;var Ir=yt.dtick&&x(yt._tmin),Tr;if(Ir){var Mr=J.tickIncrement(yt._tmin,yt.dtick,!0);Tr=[yt._tmin,Mr*.99+yt._tmin*.01]}else{var Lr=e.simpleMap(yt.range,yt.r2l);Tr=[Lr[0],.8*Lr[0]+.2*Lr[1]]}if(gt.range=e.simpleMap(Tr,yt.l2r),gt._isMinor=!0,J.prepTicks(gt,Pr),Ir){var Ur=x(yt.dtick),Dr=x(gt.dtick),nn=Ur?yt.dtick:+yt.dtick.substring(1),vn=Dr?gt.dtick:+gt.dtick.substring(1);Ur&&Dr?it(nn,vn)?nn===2*m&&vn===2*b&&(gt.dtick=m):nn===2*m&&vn===3*b?gt.dtick=m:nn===m&&!(yt._input.minor||{}).nticks?gt.dtick=b:at(nn/vn,2.5)?gt.dtick=nn/2:gt.dtick=nn:String(yt.dtick).charAt(0)==="M"?Dr?gt.dtick="M1":it(nn,vn)?nn>=12&&vn===2&&(gt.dtick="M3"):gt.dtick=yt.dtick:String(gt.dtick).charAt(0)==="L"?String(yt.dtick).charAt(0)==="L"?it(nn,vn)||(gt.dtick=at(nn/vn,2.5)?yt.dtick/2:yt.dtick):gt.dtick="D1":gt.dtick==="D2"&&+yt.dtick>1&&(gt.dtick=1)}gt.range=yt.range}yt.minor._tick0Init===void 0&&(gt.tick0=yt.tick0)};function it(gt,yt){return Math.abs((gt/yt+.5)%1-.5)<.001}function at(gt,yt){return Math.abs(gt/yt-1)<.001}J.prepTicks=function(gt,yt){var Pr=e.simpleMap(gt.range,gt.r2l,void 0,void 0,yt);if(gt.tickmode==="auto"||!gt.dtick){var Ir=gt.nticks,Tr;Ir||(gt.type==="category"||gt.type==="multicategory"?(Tr=gt.tickfont?e.bigFont(gt.tickfont.size||12):15,Ir=gt._length/Tr):(Tr=gt._id.charAt(0)==="y"?40:80,Ir=e.constrain(gt._length/Tr,4,9)+1),gt._name==="radialaxis"&&(Ir*=2)),gt.minor&>.minor.tickmode!=="array"||gt.tickmode==="array"&&(Ir*=100),gt._roughDTick=Math.abs(Pr[1]-Pr[0])/Ir,J.autoTicks(gt,gt._roughDTick),gt._minDtick>0&>.dtick0?(Mr=Ir-1,Lr=Ir):(Mr=Ir,Lr=Ir);var Ur=gt[Mr].value,Dr=gt[Lr].value,nn=Math.abs(Dr-Ur),vn=Pr||nn,gn=0;vn>=d?nn>=d&&nn<=h?gn=nn:gn=p:Pr===l&&vn>=_?nn>=_&&nn<=T?gn=nn:gn=l:vn>=E?nn>=E&&nn<=w?gn=nn:gn=M:Pr===m&&vn>=m?gn=m:vn>=b?gn=b:Pr===v&&vn>=v?gn=v:Pr===u&&vn>=u&&(gn=u);var kt;gn>=nn&&(gn=nn,kt=!0);var or=Tr+gn;if(yt.rangebreaks&&gn>0){for(var yr=84,on=0,An=0;Anm&&(gn=nn)}(gn>0||Ir===0)&&(gt[Ir].periodX=Tr+gn/2)}}J.calcTicks=function(yt,Pr){for(var Ir=yt.type,Tr=yt.calendar,Mr=yt.ticklabelstep,Lr=yt.ticklabelmode==="period",Ur=yt.range[0]>yt.range[1],Dr=!yt.ticklabelindex||e.isArrayOrTypedArray(yt.ticklabelindex)?yt.ticklabelindex:[yt.ticklabelindex],nn=e.simpleMap(yt.range,yt.r2l,void 0,void 0,Pr),vn=nn[1]=(wn?0:1);Dn--){var Ui=!Dn;Dn?(yt._dtickInit=yt.dtick,yt._tick0Init=yt.tick0):(yt.minor._dtickInit=yt.minor.dtick,yt.minor._tick0Init=yt.minor.tick0);var pi=Dn?yt:e.extendFlat({},yt,yt.minor);if(Ui?J.prepMinorTicks(pi,yt,Pr):J.prepTicks(pi,Pr),pi.tickmode==="array"){Dn?(An=[],yr=Oe(yt,!Ui)):(Zn=[],on=Oe(yt,!Ui));continue}if(pi.tickmode==="sync"){An=[],yr=ue(yt);continue}var Ta=ce(nn),Sa=Ta[0],qa=Ta[1],to=x(pi.dtick),yo=Ir==="log"&&!(to||pi.dtick.charAt(0)==="L"),Xa=J.tickFirst(pi,Pr);if(Dn){if(yt._tmin=Xa,Xa=qa:pa<=qa;pa=J.tickIncrement(pa,gs,vn,Tr)){if(Dn&&cs++,pi.rangebreaks&&!vn){if(pa=kt)break}if(An.length>or||pa===Go)break;Go=pa;var Ya={value:pa};Dn?(yo&&pa!==(pa|0)&&(Ya.simpleLabel=!0),Mr>1&&cs%Mr&&(Ya.skipLabel=!0),An.push(Ya)):(Ya.minor=!0,Zn.push(Ya))}}if(!Zn||Zn.length<2)Dr=!1;else{var zo=(Zn[1].value-Zn[0].value)*(Ur?-1:1);ui(zo,yt.tickformat)||(Dr=!1)}if(!Dr)Bn=An;else{var Ka=An.concat(Zn);Lr&&An.length&&(Ka=Ka.slice(1)),Ka=Ka.sort(function(vo,Ps){return vo.value-Ps.value}).filter(function(vo,Ps,ls){return Ps===0||vo.value!==ls[Ps-1].value});var Yo=Ka.map(function(vo,Ps){return vo.minor===void 0&&!vo.skipLabel?Ps:null}).filter(function(vo){return vo!==null});Yo.forEach(function(vo){Dr.map(function(Ps){var ls=vo+Ps;ls>=0&&ls-1;Mi--){if(An[Mi].drop){An.splice(Mi,1);continue}An[Mi].value=en(An[Mi].value,yt);var Eo=yt.c2p(An[Mi].value);(Da?Xs>Eo-pl:Xskt||nokt&&(ls.periodX=kt),noTr&&ktp)yt/=p,Ir=Tr(10),gt.dtick="M"+12*fr(yt,Ir,rt);else if(Mr>M)yt/=M,gt.dtick="M"+fr(yt,1,ot);else if(Mr>b){if(gt.dtick=fr(yt,b,gt._hasDayOfWeekBreaks?[1,2,7,14]:Lt),!Pr){var Lr=J.getTickFormat(gt),Ur=gt.ticklabelmode==="period";Ur&&(gt._rawTick0=gt.tick0),/%[uVW]/.test(Lr)?gt.tick0=e.dateTick0(gt.calendar,2):gt.tick0=e.dateTick0(gt.calendar,1),Ur&&(gt._dowTick0=gt.tick0)}}else Mr>u?gt.dtick=fr(yt,u,ot):Mr>y?gt.dtick=fr(yt,y,et):Mr>f?gt.dtick=fr(yt,f,et):(Ir=Tr(10),gt.dtick=fr(yt,Ir,rt))}else if(gt.type==="log"){gt.tick0=0;var Dr=e.simpleMap(gt.range,gt.r2l);if(gt._isMinor&&(yt*=1.5),yt>.7)gt.dtick=Math.ceil(yt);else if(Math.abs(Dr[1]-Dr[0])<1){var nn=1.5*Math.abs((Dr[1]-Dr[0])/yt);yt=Math.abs(Math.pow(10,Dr[1])-Math.pow(10,Dr[0]))/nn,Ir=Tr(10),gt.dtick="L"+fr(yt,Ir,rt)}else gt.dtick=yt>.3?"D2":"D1"}else gt.type==="category"||gt.type==="multicategory"?(gt.tick0=0,gt.dtick=Math.ceil(Math.max(yt,1))):xn(gt)?(gt.tick0=0,Ir=1,gt.dtick=fr(yt,Ir,qt)):(gt.tick0=0,Ir=Tr(10),gt.dtick=fr(yt,Ir,rt));if(gt.dtick===0&&(gt.dtick=1),!x(gt.dtick)&&typeof gt.dtick!="string"){var vn=gt.dtick;throw gt.dtick=1,"ax.dtick error: "+String(vn)}};function ar(gt){var yt=gt.dtick;if(gt._tickexponent=0,!x(yt)&&typeof yt!="string"&&(yt=1),(gt.type==="category"||gt.type==="multicategory")&&(gt._tickround=null),gt.type==="date"){var Pr=gt.r2l(gt.tick0),Ir=gt.l2r(Pr).replace(/(^-|i)/g,""),Tr=Ir.length;if(String(yt).charAt(0)==="M")Tr>10||Ir.substr(5)!=="01-01"?gt._tickround="d":gt._tickround=+yt.substr(1)%12===0?"y":"m";else if(yt>=b&&Tr<=10||yt>=b*15)gt._tickround="d";else if(yt>=y&&Tr<=16||yt>=u)gt._tickround="M";else if(yt>=f&&Tr<=19||yt>=y)gt._tickround="S";else{var Mr=gt.l2r(Pr+yt).replace(/^-/,"").length;gt._tickround=Math.max(Tr,Mr)-20,gt._tickround<0&&(gt._tickround=4)}}else if(x(yt)||yt.charAt(0)==="L"){var Lr=gt.range.map(gt.r2d||Number);x(yt)||(yt=Number(yt.substr(1))),gt._tickround=2-Math.floor(Math.log(yt)/Math.LN10+.01);var Ur=Math.max(Math.abs(Lr[0]),Math.abs(Lr[1])),Dr=Math.floor(Math.log(Ur)/Math.LN10+.01),nn=gt.minexponent===void 0?3:gt.minexponent;Math.abs(Dr)>nn&&(Ee(gt.exponentformat)&&!we(Dr)?gt._tickexponent=3*Math.round((Dr-1)/3):gt._tickexponent=Dr)}else gt._tickround=null}J.tickIncrement=function(gt,yt,Pr,Ir){var Tr=Pr?-1:1;if(x(yt))return e.increment(gt,Tr*yt);var Mr=yt.charAt(0),Lr=Tr*Number(yt.substr(1));if(Mr==="M")return e.incrementMonth(gt,Lr,Ir);if(Mr==="L")return Math.log(Math.pow(10,gt)+Lr)/Math.LN10;if(Mr==="D"){var Ur=yt==="D2"?Bt:Et,Dr=gt+Tr*.01,nn=e.roundUp(e.mod(Dr,1),Ur,Pr);return Math.floor(Dr)+Math.log(g.round(Math.pow(10,nn),1))/Math.LN10}throw"unrecognized dtick "+String(yt)},J.tickFirst=function(gt,yt){var Pr=gt.r2l||Number,Ir=e.simpleMap(gt.range,Pr,void 0,void 0,yt),Tr=Ir[1]=0&&Zn<=gt._length?An:null};if(Mr&&e.isArrayOrTypedArray(gt.ticktext)){var gn=e.simpleMap(gt.range,gt.r2l),kt=(Math.abs(gn[1]-gn[0])-(gt._lBreaks||0))/1e4;for(nn=0;nn"+Ur;else{var nn=Fn(gt),vn=gt._trueSide||gt.side;(!nn&&vn==="top"||nn&&vn==="bottom")&&(Lr+="
")}yt.text=Lr}function br(gt,yt,Pr,Ir,Tr){var Mr=gt.dtick,Lr=yt.x,Ur=gt.tickformat,Dr=typeof Mr=="string"&&Mr.charAt(0);if(Tr==="never"&&(Tr=""),Ir&&Dr!=="L"&&(Mr="L3",Dr="L"),Ur||Dr==="L")yt.text=Le(Math.pow(10,Lr),gt,Tr,Ir);else if(x(Mr)||Dr==="D"&&e.mod(Lr+.01,1)<.1){var nn=Math.round(Lr),vn=Math.abs(nn),gn=gt.exponentformat;gn==="power"||Ee(gn)&&we(nn)?(nn===0?yt.text=1:nn===1?yt.text="10":yt.text="10"+(nn>1?"":z)+vn+"",yt.fontSize*=1.25):(gn==="e"||gn==="E")&&vn>2?yt.text="1"+gn+(nn>0?"+":z)+vn:(yt.text=Le(Math.pow(10,Lr),gt,"","fakehover"),Mr==="D1"&>._id.charAt(0)==="y"&&(yt.dy-=yt.fontSize/6))}else if(Dr==="D")yt.text=String(Math.round(Math.pow(10,e.mod(Lr,1)))),yt.fontSize*=.75;else throw"unrecognized dtick "+String(Mr);if(gt.dtick==="D1"){var kt=String(yt.text).charAt(0);(kt==="0"||kt==="1")&&(gt._id.charAt(0)==="y"?yt.dx-=yt.fontSize/4:(yt.dy+=yt.fontSize/2,yt.dx+=(gt.range[1]>gt.range[0]?1:-1)*yt.fontSize*(Lr<0?.5:.25)))}}function _t(gt,yt){var Pr=gt._categories[Math.round(yt.x)];Pr===void 0&&(Pr=""),yt.text=String(Pr)}function Be(gt,yt,Pr){var Ir=Math.round(yt.x),Tr=gt._categories[Ir]||[],Mr=Tr[1]===void 0?"":String(Tr[1]),Lr=Tr[0]===void 0?"":String(Tr[0]);Pr?yt.text=Lr+" - "+Mr:(yt.text=Mr,yt.text2=Lr)}function Ke(gt,yt,Pr,Ir,Tr){Tr==="never"?Tr="":gt.showexponent==="all"&&Math.abs(yt.x/gt.dtick)<1e-6&&(Tr="hide"),yt.text=Le(yt.x,gt,Tr,Ir)}function je(gt,yt,Pr,Ir,Tr){if(gt.thetaunit==="radians"&&!Pr){var Mr=yt.x/180;if(Mr===0)yt.text="0";else{var Lr=Se(Mr);if(Lr[1]>=100)yt.text=Le(e.deg2rad(yt.x),gt,Tr,Ir);else{var Ur=yt.x<0;Lr[1]===1?Lr[0]===1?yt.text="\u03C0":yt.text=Lr[0]+"\u03C0":yt.text=["",Lr[0],"","\u2044","",Lr[1],"","\u03C0"].join(""),Ur&&(yt.text=z+yt.text)}}}else yt.text=Le(yt.x,gt,Tr,Ir)}function Se(gt){function yt(Ur,Dr){return Math.abs(Ur-Dr)<=1e-6}function Pr(Ur,Dr){return yt(Dr,0)?Ur:Pr(Dr,Ur%Dr)}function Ir(Ur){for(var Dr=1;!yt(Math.round(Ur*Dr)/Dr,Ur);)Dr*=10;return Dr}var Tr=Ir(gt),Mr=gt*Tr,Lr=Math.abs(Pr(Mr,Tr));return[Math.round(Mr/Lr),Math.round(Tr/Lr)]}var He=["f","p","n","\u03BC","m","","k","M","G","T"];function Ee(gt){return gt==="SI"||gt==="B"}function we(gt){return gt>14||gt<-15}function Le(gt,yt,Pr,Ir){var Tr=gt<0,Mr=yt._tickround,Lr=Pr||yt.exponentformat||"B",Ur=yt._tickexponent,Dr=J.getTickFormat(yt),nn=yt.separatethousands;if(Ir){var vn={exponentformat:Lr,minexponent:yt.minexponent,dtick:yt.showexponent==="none"?yt.dtick:x(gt)&&Math.abs(gt)||1,range:yt.showexponent==="none"?yt.range.map(yt.r2d):[0,gt||1]};ar(vn),Mr=(Number(vn._tickround)||0)+4,Ur=vn._tickexponent,yt.hoverformat&&(Dr=yt.hoverformat)}if(Dr)return yt._numFormat(Dr)(gt).replace(/-/g,z);var gn=Math.pow(10,-Mr)/2;if(Lr==="none"&&(Ur=0),gt=Math.abs(gt),gt"+yr+"":Lr==="B"&&Ur===9?gt+="B":Ee(Lr)&&(gt+=He[Ur/3+5])}return Tr?z+gt:gt}J.getTickFormat=function(gt){var yt;function Pr(Dr){return typeof Dr!="string"?Dr:Number(Dr.replace("M",""))*M}function Ir(Dr,nn){var vn=["L","D"];if(typeof Dr==typeof nn){if(typeof Dr=="number")return Dr-nn;var gn=vn.indexOf(Dr.charAt(0)),kt=vn.indexOf(nn.charAt(0));return gn===kt?Number(Dr.replace(/(L|D)/g,""))-Number(nn.replace(/(L|D)/g,"")):gn-kt}else return typeof Dr=="number"?1:-1}function Tr(Dr,nn,vn){var gn=vn||function(yr){return yr},kt=nn[0],or=nn[1];return(!kt&&typeof kt!="number"||gn(kt)<=gn(Dr))&&(!or&&typeof or!="number"||gn(or)>=gn(Dr))}function Mr(Dr,nn){var vn=nn[0]===null,gn=nn[1]===null,kt=Ir(Dr,nn[0])>=0,or=Ir(Dr,nn[1])<=0;return(vn||kt)&&(gn||or)}var Lr,Ur;if(gt.tickformatstops&>.tickformatstops.length>0)switch(gt.type){case"date":case"linear":{for(yt=0;yt=0&&Tr.unshift(Tr.splice(vn,1).shift())}});var Ur={false:{left:0,right:0}};return e.syncOrAsync(Tr.map(function(Dr){return function(){if(Dr){var nn=J.getFromId(gt,Dr);Pr||(Pr={}),Pr.axShifts=Ur,Pr.overlayingShiftedAx=Lr;var vn=J.drawOne(gt,nn,Pr);return nn._shiftPusher&&ri(nn,nn._fullDepth||0,Ur,!0),nn._r=nn.range.slice(),nn._rl=e.simpleMap(nn._r,nn.r2l),vn}}}))},J.drawOne=function(gt,yt,Pr){Pr=Pr||{};var Ir=Pr.axShifts||{},Tr=Pr.overlayingShiftedAx||[],Mr,Lr,Ur;yt.setScale();var Dr=gt._fullLayout,nn=yt._id,vn=nn.charAt(0),gn=J.counterLetter(nn),kt=Dr._plots[yt._mainSubplot];if(!kt)return;if(yt._shiftPusher=yt.autoshift||Tr.indexOf(yt._id)!==-1||Tr.indexOf(yt.overlaying)!==-1,yt._shiftPusher&yt.anchor==="free"){var or=yt.linewidth/2||0;yt.ticks==="inside"&&(or+=yt.ticklen),ri(yt,or,Ir,!0),ri(yt,yt.shift||0,Ir,!1)}(Pr.skipTitle!==!0||yt._shift===void 0)&&(yt._shift=Sn(yt,Ir));var yr=kt[vn+"axislayer"],on=yt._mainLinePosition,An=on+=yt._shift,Zn=yt._mainMirrorPosition,Bn=yt._vals=J.calcTicks(yt),wn=[yt.mirror,An,Zn].join("_");for(Mr=0;Mr0?ls.bottom-vo:0,Ps))));var Tl=0,Vu=0;if(yt._shiftPusher&&(Tl=Math.max(Ps,ls.height>0?la==="l"?vo-ls.left:ls.right-vo:0),yt.title.text!==Dr._dfltTitle[vn]&&(Vu=(yt._titleStandoff||0)+(yt._titleScoot||0),la==="l"&&(Vu+=Rn(yt))),yt._fullDepth=Math.max(Tl,Vu)),yt.automargin){no={x:0,y:0,r:0,l:0,t:0,b:0};var Rl=[0,1],Qs=typeof yt._shift=="number"?yt._shift:0;if(vn==="x"){if(la==="b"?no[la]=yt._depth:(no[la]=yt._depth=Math.max(ls.width>0?vo-ls.top:0,Ps),Rl.reverse()),ls.width>0){var nu=ls.right-(yt._offset+yt._length);nu>0&&(no.xr=1,no.r=nu);var qu=yt._offset-ls.left;qu>0&&(no.xl=0,no.l=qu)}}else if(la==="l"?(yt._depth=Math.max(ls.height>0?vo-ls.left:0,Ps),no[la]=yt._depth-Qs):(yt._depth=Math.max(ls.height>0?ls.right-vo:0,Ps),no[la]=yt._depth+Qs,Rl.reverse()),ls.height>0){var kc=ls.bottom-(yt._offset+yt._length);kc>0&&(no.yb=0,no.b=kc);var Ju=yt._offset-ls.top;Ju>0&&(no.yt=1,no.t=Ju)}no[gn]=yt.anchor==="free"?yt.position:yt._anchorAxis.domain[Rl[0]],yt.title.text!==Dr._dfltTitle[vn]&&(no[la]+=Rn(yt)+(yt.title.standoff||0)),yt.mirror&&yt.anchor!=="free"&&($l={x:0,y:0,r:0,l:0,t:0,b:0},$l[Uo]=yt.linewidth,yt.mirror&&yt.mirror!==!0&&($l[Uo]+=Ps),yt.mirror===!0||yt.mirror==="ticks"?$l[gn]=yt._anchorAxis.domain[Rl[1]]:(yt.mirror==="all"||yt.mirror==="allticks")&&($l[gn]=[yt._counterDomainMin,yt._counterDomainMax][Rl[1]]))}wl&&(Ku=S.getComponentMethod("rangeslider","autoMarginOpts")(gt,yt)),typeof yt.automargin=="string"&&(nt(no,yt.automargin),nt($l,yt.automargin)),A.autoMargin(gt,gi(yt),no),A.autoMargin(gt,Zt(yt),$l),A.autoMargin(gt,Ft(yt),Ku)}),e.syncOrAsync(As)}};function nt(gt,yt){if(gt){var Pr=Object.keys(W).reduce(function(Ir,Tr){return yt.indexOf(Tr)!==-1&&W[Tr].forEach(function(Mr){Ir[Mr]=1}),Ir},{});Object.keys(gt).forEach(function(Ir){Pr[Ir]||(Ir.length===1?gt[Ir]=0:delete gt[Ir])})}}function pt(gt,yt){var Pr=[],Ir,Tr=function(Mr,Lr){var Ur=Mr.xbnd[Lr];Ur!==null&&Pr.push(e.extendFlat({},Mr,{x:Ur}))};if(yt.length){for(Ir=0;Irgt.range[1],Ur=gt.ticklabelposition&>.ticklabelposition.indexOf("inside")!==-1,Dr=!Ur;if(Pr){var nn=Lr?-1:1;Pr=Pr*nn}if(Ir){var vn=gt.side,gn=Ur&&(vn==="top"||vn==="left")||Dr&&(vn==="bottom"||vn==="right")?1:-1;Ir=Ir*gn}return gt._id.charAt(0)==="x"?function(kt){return t(Tr+gt._offset+gt.l2p(Xt(kt))+Pr,Mr+Ir)}:function(kt){return t(Mr+Ir,Tr+gt._offset+gt.l2p(Xt(kt))+Pr)}};function Xt(gt){return gt.periodX!==void 0?gt.periodX:gt.x}function $t(gt){var yt=gt.ticklabelposition||"",Pr=function(or){return yt.indexOf(or)!==-1},Ir=Pr("top"),Tr=Pr("left"),Mr=Pr("right"),Lr=Pr("bottom"),Ur=Pr("inside"),Dr=Lr||Tr||Ir||Mr;if(!Dr&&!Ur)return[0,0];var nn=gt.side,vn=Dr?(gt.tickwidth||0)/2:0,gn=$,kt=gt.tickfont?gt.tickfont.size:12;return(Lr||Ir)&&(vn+=kt*se,gn+=(gt.linewidth||0)/2),(Tr||Mr)&&(vn+=(gt.linewidth||0)/2,gn+=$),Ur&&nn==="top"&&(gn-=kt*(1-se)),(Tr||Ir)&&(vn=-vn),(nn==="bottom"||nn==="right")&&(gn=-gn),[Dr?vn:0,Ur?gn:0]}J.makeTickPath=function(gt,yt,Pr,Ir){Ir||(Ir={});var Tr=Ir.minor;if(Tr&&!gt.minor)return"";var Mr=Ir.len!==void 0?Ir.len:Tr?gt.minor.ticklen:gt.ticklen,Lr=gt._id.charAt(0),Ur=(gt.linewidth||1)/2;return Lr==="x"?"M0,"+(yt+Ur*Pr)+"v"+Mr*Pr:"M"+(yt+Ur*Pr)+",0h"+Mr*Pr},J.makeLabelFns=function(gt,yt,Pr){var Ir=gt.ticklabelposition||"",Tr=function(Xa){return Ir.indexOf(Xa)!==-1},Mr=Tr("top"),Lr=Tr("left"),Ur=Tr("right"),Dr=Tr("bottom"),nn=Dr||Lr||Mr||Ur,vn=Tr("inside"),gn=Ir==="inside"&>.ticks==="inside"||!vn&>.ticks==="outside"&>.tickson!=="boundaries",kt=0,or=0,yr=gn?gt.ticklen:0;if(vn?yr*=-1:nn&&(yr=0),gn&&(kt+=yr,Pr)){var on=e.deg2rad(Pr);kt=yr*Math.cos(on)+1,or=yr*Math.sin(on)}gt.showticklabels&&(gn||gt.showline)&&(kt+=.2*gt.tickfont.size),kt+=(gt.linewidth||1)/2*(vn?-1:1);var An={labelStandoff:kt,labelShift:or},Zn,Bn,wn,Dn,Ui=0,pi=gt.side,Ta=gt._id.charAt(0),Sa=gt.tickangle,qa;if(Ta==="x")qa=!vn&&pi==="bottom"||vn&&pi==="top",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=or*Dn,Bn=yt+kt*Dn,wn=qa?1:-.2,Math.abs(Sa)===90&&(vn?wn+=le:Sa===-90&&pi==="bottom"?wn=se:Sa===90&&pi==="top"?wn=le:wn=.5,Ui=le/2*(Sa/90)),An.xFn=function(Xa){return Xa.dx+Zn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*wn},An.anchorFn=function(Xa,Go){if(nn){if(Lr)return"end";if(Ur)return"start"}return!x(Go)||Go===0||Go===180?"middle":Go*Dn<0!==vn?"end":"start"},An.heightFn=function(Xa,Go,pa){return Go<-60||Go>60?-.5*pa:gt.side==="top"!==vn?-pa:0};else if(Ta==="y"){if(qa=!vn&&pi==="left"||vn&&pi==="right",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=kt,Bn=or*Dn,wn=0,!vn&&Math.abs(Sa)===90&&(Sa===-90&&pi==="left"||Sa===90&&pi==="right"?wn=se:wn=.5),vn){var to=x(Sa)?+Sa:0;if(to!==0){var yo=e.deg2rad(to);Ui=Math.abs(Math.sin(yo))*se*Dn,wn=0}}An.xFn=function(Xa){return Xa.dx+yt-(Zn+Xa.fontSize*wn)*Dn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*le},An.anchorFn=function(Xa,Go){return x(Go)&&Math.abs(Go)===90?"middle":qa?"end":"start"},An.heightFn=function(Xa,Go,pa){return gt.side==="right"&&(Go*=-1),Go<-30?-pa:Go<30?-.5*pa:0}}return An};function ur(gt){return[gt.text,gt.x,gt.axInfo,gt.font,gt.fontSize,gt.fontColor].join("_")}J.drawTicks=function(gt,yt,Pr){Pr=Pr||{};var Ir=yt._id+"tick",Tr=[].concat(yt.minor&&yt.minor.ticks?Pr.vals.filter(function(Lr){return Lr.minor&&!Lr.noTick}):[]).concat(yt.ticks?Pr.vals.filter(function(Lr){return!Lr.minor&&!Lr.noTick}):[]),Mr=Pr.layer.selectAll("path."+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().append("path").classed(Ir,1).classed("ticks",1).classed("crisp",Pr.crisp!==!1).each(function(Lr){return n.stroke(g.select(this),Lr.minor?yt.minor.tickcolor:yt.tickcolor)}).style("stroke-width",function(Lr){return i.crispRound(gt,Lr.minor?yt.minor.tickwidth:yt.tickwidth,1)+"px"}).attr("d",Pr.path).style("display",null),Wn(yt,[N]),Mr.attr("transform",Pr.transFn)},J.drawGrid=function(gt,yt,Pr){if(Pr=Pr||{},yt.tickmode!=="sync"){var Ir=yt._id+"grid",Tr=yt.minor&&yt.minor.showgrid,Mr=Tr?Pr.vals.filter(function(Zn){return Zn.minor}):[],Lr=yt.showgrid?Pr.vals.filter(function(Zn){return!Zn.minor}):[],Ur=Pr.counterAxis;if(Ur&&J.shouldShowZeroLine(gt,yt,Ur))for(var Dr=yt.tickmode==="array",nn=0;nn=0;yr--){var on=yr?kt:or;if(on){var An=on.selectAll("path."+Ir).data(yr?Lr:Mr,ur);An.exit().remove(),An.enter().append("path").classed(Ir,1).classed("crisp",Pr.crisp!==!1),An.attr("transform",Pr.transFn).attr("d",Pr.path).each(function(Zn){return n.stroke(g.select(this),Zn.minor?yt.minor.gridcolor:yt.gridcolor||"#ddd")}).style("stroke-dasharray",function(Zn){return i.dashStyle(Zn.minor?yt.minor.griddash:yt.griddash,Zn.minor?yt.minor.gridwidth:yt.gridwidth)}).style("stroke-width",function(Zn){return(Zn.minor?gn:yt._gw)+"px"}).style("display",null),typeof Pr.path=="function"&&An.attr("d",Pr.path)}}Wn(yt,[O,I])}},J.drawZeroLine=function(gt,yt,Pr){Pr=Pr||Pr;var Ir=yt._id+"zl",Tr=J.shouldShowZeroLine(gt,yt,Pr.counterAxis),Mr=Pr.layer.selectAll("path."+Ir).data(Tr?[{x:0,id:yt._id}]:[]);Mr.exit().remove(),Mr.enter().append("path").classed(Ir,1).classed("zl",1).classed("crisp",Pr.crisp!==!1).each(function(){Pr.layer.selectAll("path").sort(function(Lr,Ur){return ae(Lr.id,Ur.id)})}),Mr.attr("transform",Pr.transFn).attr("d",Pr.path).call(n.stroke,yt.zerolinecolor||n.defaultLine).style("stroke-width",i.crispRound(gt,yt.zerolinewidth,yt._gw||1)+"px").style("display",null),Wn(yt,[B])},J.drawLabels=function(gt,yt,Pr){Pr=Pr||{};var Ir=gt._fullLayout,Tr=yt._id,Mr=Pr.cls||Tr+"tick",Lr=Pr.vals.filter(function(Ya){return Ya.text}),Ur=Pr.labelFns,Dr=Pr.secondary?0:yt.tickangle,nn=(yt._prevTickAngles||{})[Mr],vn=Pr.layer.selectAll("g."+Mr).data(yt.showticklabels?Lr:[],ur),gn=[];vn.enter().append("g").classed(Mr,1).append("text").attr("text-anchor","middle").each(function(Ya){var zo=g.select(this),Ka=gt._promises.length;zo.call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya)).call(i.font,{family:Ya.font,size:Ya.fontSize,color:Ya.fontColor,weight:Ya.fontWeight,style:Ya.fontStyle,variant:Ya.fontVariant,textcase:Ya.fontTextcase,lineposition:Ya.fontLineposition,shadow:Ya.fontShadow}).text(Ya.text).call(r.convertToTspans,gt),gt._promises[Ka]?gn.push(gt._promises.pop().then(function(){kt(zo,Dr)})):kt(zo,Dr)}),Wn(yt,[U]),vn.exit().remove(),Pr.repositionOnUpdate&&vn.each(function(Ya){g.select(this).select("text").call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya))});function kt(Ya,zo){Ya.each(function(Ka){var Yo=g.select(this),ns=Yo.select(".text-math-group"),hs=Ur.anchorFn(Ka,zo),ho=Pr.transFn.call(Yo.node(),Ka)+(x(zo)&&+zo!=0?" rotate("+zo+","+Ur.xFn(Ka)+","+(Ur.yFn(Ka)-Ka.fontSize/2)+")":""),Ro=r.lineCount(Yo),Ls=fe*Ka.fontSize,Vs=Ur.heightFn(Ka,x(zo)?+zo:0,(Ro-1)*Ls);if(Vs&&(ho+=t(0,Vs)),ns.empty()){var Ws=Yo.select("text");Ws.attr({transform:ho,"text-anchor":hs}),Ws.style("opacity",1),yt._adjustTickLabelsOverflow&&yt._adjustTickLabelsOverflow()}else{var fs=i.bBox(ns.node()).width,Mi=fs*{end:-.5,start:.5}[hs];ns.attr("transform",ho+t(Mi,0))}})}yt._adjustTickLabelsOverflow=function(){var Ya=yt.ticklabeloverflow;if(!(!Ya||Ya==="allow")){var zo=Ya.indexOf("hide")!==-1,Ka=yt._id.charAt(0)==="x",Yo=0,ns=Ka?gt._fullLayout.width:gt._fullLayout.height;if(Ya.indexOf("domain")!==-1){var hs=e.simpleMap(yt.range,yt.r2l);Yo=yt.l2p(hs[0])+yt._offset,ns=yt.l2p(hs[1])+yt._offset}var ho=Math.min(Yo,ns),Ro=Math.max(Yo,ns),Ls=yt.side,Vs=1/0,Ws=-1/0;vn.each(function(pl){var Xs=g.select(this),Eo=Xs.select(".text-math-group");if(Eo.empty()){var Ys=i.bBox(Xs.node()),As=0;Ka?(Ys.right>Ro||Ys.leftRo||Ys.top+(yt.tickangle?0:pl.fontSize/4)yt["_visibleLabelMin_"+hs._id]?pl.style("display","none"):Ro.K==="tick"&&!ho&&pl.style("display",null)})})})})},kt(vn,nn+1?nn:Dr);function or(){return gn.length&&Promise.all(gn)}var yr=null;function on(){if(kt(vn,Dr),Lr.length&&yt.autotickangles&&(yt.type!=="log"||String(yt.dtick).charAt(0)!=="D")){yr=yt.autotickangles[0];var Ya=0,zo=[],Ka,Yo=1;vn.each(function(ls){Ya=Math.max(Ya,ls.fontSize);var no=yt.l2p(ls.x),$l=Qn(this),Ku=i.bBox($l.node());Yo=Math.max(Yo,r.lineCount($l)),zo.push({top:0,bottom:10,height:10,left:no-Ku.width/2,right:no+Ku.width/2+2,width:Ku.width+2})});var ns=(yt.tickson==="boundaries"||yt.showdividers)&&!Pr.secondary,hs=Lr.length,ho=Math.abs((Lr[hs-1].x-Lr[0].x)*yt._m)/(hs-1),Ro=ns?ho/2:ho,Ls=ns?yt.ticklen:Ya*1.25*Yo,Vs=Math.sqrt(Math.pow(Ro,2)+Math.pow(Ls,2)),Ws=Ro/Vs,fs=yt.autotickangles.map(function(ls){return ls*Math.PI/180}),Mi=fs.find(function(ls){return Math.abs(Math.cos(ls))<=Ws});Mi===void 0&&(Mi=fs.reduce(function(ls,no){return Math.abs(Math.cos(ls))cs*pa&&(yo=pa,Sa[Ta]=qa[Ta]=Xa[Ta])}var Ko=Math.abs(yo-to);Ko-Dn>0?(Ko-=Dn,Dn*=1+Dn/Ko):Dn=0,yt._id.charAt(0)!=="y"&&(Dn=-Dn),Sa[pi]=Bn.p2r(Bn.r2p(qa[pi])+Ui*Dn),Bn.autorange==="min"||Bn.autorange==="max reversed"?(Sa[0]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0):(Bn.autorange==="max"||Bn.autorange==="min reversed")&&(Sa[1]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0),Ir._insideTickLabelsUpdaterange[Bn._name+".range"]=Sa}var gs=e.syncOrAsync(An);return gs&&gs.then&>._promises.push(gs),gs};function pn(gt,yt,Pr){var Ir=yt._id+"divider",Tr=Pr.vals,Mr=Pr.layer.selectAll("path."+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().insert("path",":first-child").classed(Ir,1).classed("crisp",1).call(n.stroke,yt.dividercolor).style("stroke-width",i.crispRound(gt,yt.dividerwidth,1)+"px"),Mr.attr("transform",Pr.transFn).attr("d",Pr.path)}J.getPxPosition=function(gt,yt){var Pr=gt._fullLayout._size,Ir=yt._id.charAt(0),Tr=yt.side,Mr;if(yt.anchor!=="free"?Mr=yt._anchorAxis:Ir==="x"?Mr={_offset:Pr.t+(1-(yt.position||0))*Pr.h,_length:0}:Ir==="y"&&(Mr={_offset:Pr.l+(yt.position||0)*Pr.w+yt._shift,_length:0}),Tr==="top"||Tr==="left")return Mr._offset;if(Tr==="bottom"||Tr==="right")return Mr._offset+Mr._length};function Rn(gt){var yt=gt.title.font.size,Pr=(gt.title.text.match(r.BR_TAG_ALL)||[]).length;return gt.title.hasOwnProperty("standoff")?yt*(se+Pr*fe):Pr?yt*(Pr+1)*fe:yt}function Nn(gt,yt){var Pr=gt._fullLayout,Ir=yt._id,Tr=Ir.charAt(0),Mr=yt.title.font.size,Lr,Ur=(yt.title.text.match(r.BR_TAG_ALL)||[]).length;if(yt.title.hasOwnProperty("standoff"))yt.side==="bottom"||yt.side==="right"?Lr=yt._depth+yt.title.standoff+Mr*se:(yt.side==="top"||yt.side==="left")&&(Lr=yt._depth+yt.title.standoff+Mr*(le+Ur*fe));else{var Dr=Fn(yt);if(yt.type==="multicategory")Lr=yt._depth;else{var nn=1.5*Mr;Dr&&(nn=.5*Mr,yt.ticks==="outside"&&(nn+=yt.ticklen)),Lr=10+nn+(yt.linewidth?yt.linewidth-1:0)}Dr||(Tr==="x"?Lr+=yt.side==="top"?Mr*(yt.showticklabels?1:0):Mr*(yt.showticklabels?1.5:.5):Lr+=yt.side==="right"?Mr*(yt.showticklabels?1:.5):Mr*(yt.showticklabels?.5:0))}var vn=J.getPxPosition(gt,yt),gn,kt,or;Tr==="x"?(kt=yt._offset+yt._length/2,or=yt.side==="top"?vn-Lr:vn+Lr):(or=yt._offset+yt._length/2,kt=yt.side==="right"?vn+Lr:vn-Lr,gn={rotate:"-90",offset:0});var yr;if(yt.type!=="multicategory"){var on=yt._selections[yt._id+"tick"];if(yr={selection:on,side:yt.side},on&&on.node()&&on.node().parentNode){var An=i.getTranslate(on.node().parentNode);yr.offsetLeft=An.x,yr.offsetTop=An.y}yt.title.hasOwnProperty("standoff")&&(yr.pad=0)}return yt._titleStandoff=Lr,o.draw(gt,Ir+"title",{propContainer:yt,propName:yt._name+".title.text",placeholder:Pr._dfltTitle[Tr],avoid:yr,transform:gn,attributes:{x:kt,y:or,"text-anchor":"middle"}})}J.shouldShowZeroLine=function(gt,yt,Pr){var Ir=e.simpleMap(yt.range,yt.r2l);return Ir[0]*Ir[1]<=0&&yt.zeroline&&(yt.type==="linear"||yt.type==="-")&&!(yt.rangebreaks&&yt.maskBreaks(0)===F)&&(On(yt,0)||!ni(gt,yt,Pr,Ir)||zn(gt,yt))},J.clipEnds=function(gt,yt){return yt.filter(function(Pr){return On(gt,Pr.x)})};function On(gt,yt){var Pr=gt.l2p(yt);return Pr>1&&Pr1)for(Tr=1;Tr=Tr.min&>=L:/%L/.test(yt)?gt>=P:/%[SX]/.test(yt)?gt>=f:/%M/.test(yt)?gt>=y:/%[HI]/.test(yt)?gt>=u:/%p/.test(yt)?gt>=v:/%[Aadejuwx]/.test(yt)?gt>=b:/%[UVW]/.test(yt)?gt>=m:/%[Bbm]/.test(yt)?gt>=E:/%[q]/.test(yt)?gt>=_:/%[Yy]/.test(yt)?gt>=d:!0}}}),Jw=ke({"src/plots/cartesian/autorange_options_defaults.js"(Z,H){"use strict";H.exports=function(x,A,S){var e,t;if(S){var r=A==="reversed"||A==="min reversed"||A==="max reversed";e=S[r?1:0],t=S[r?0:1]}var o=x("autorangeoptions.minallowed",t===null?e:void 0),n=x("autorangeoptions.maxallowed",e===null?t:void 0);o===void 0&&x("autorangeoptions.clipmin"),n===void 0&&x("autorangeoptions.clipmax"),x("autorangeoptions.include")}}}),$w=ke({"src/plots/cartesian/range_defaults.js"(Z,H){"use strict";var g=Jw();H.exports=function(A,S,e,t){var r=S._template||{},o=S.type||r.type||"-";e("minallowed"),e("maxallowed");var n=e("range");if(!n){var i;!t.noInsiderange&&o!=="log"&&(i=e("insiderange"),i&&(i[0]===null||i[1]===null)&&(S.insiderange=!1,i=void 0),i&&(n=e("range",i)))}var a=S.getAutorangeDflt(n,t),s=e("autorange",a),c;n&&(n[0]===null&&n[1]===null||(n[0]===null||n[1]===null)&&(s==="reversed"||s===!0)||n[0]!==null&&(s==="min"||s==="max reversed")||n[1]!==null&&(s==="max"||s==="min reversed"))&&(n=void 0,delete S.range,S.autorange=!0,c=!0),c||(a=S.getAutorangeDflt(n,t),s=e("autorange",a)),s&&(g(e,s,n),(o==="linear"||o==="-")&&e("rangemode")),S.cleanRange()}}}),XE=ke({"node_modules/mouse-event-offset/index.js"(Z,H){var g={left:0,top:0};H.exports=x;function x(S,e,t){e=e||S.currentTarget||S.srcElement,Array.isArray(t)||(t=[0,0]);var r=S.clientX||0,o=S.clientY||0,n=A(e);return t[0]=r-n.left,t[1]=o-n.top,t}function A(S){return S===window||S===document||S===document.body?g:S.getBoundingClientRect()}}}),f_=ke({"node_modules/has-passive-events/index.js"(Z,H){"use strict";var g=qw();function x(){var A=!1;try{var S=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("test",null,S),window.removeEventListener("test",null,S)}catch{A=!1}return A}H.exports=g&&x()}}),ZE=ke({"src/components/dragelement/align.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){var r=(x-S)/(e-S),o=r+A/(e-S),n=(r+o)/2;return t==="left"||t==="bottom"?r:t==="center"||t==="middle"?n:t==="right"||t==="top"?o:r<2/3-n?r:o>4/3-n?o:n}}}),YE=ke({"src/components/dragelement/cursor.js"(Z,H){"use strict";var g=un(),x=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];H.exports=function(S,e,t,r){return t==="left"?S=0:t==="center"?S=1:t==="right"?S=2:S=g.constrain(Math.floor(S*3),0,2),r==="bottom"?e=0:r==="middle"?e=1:r==="top"?e=2:e=g.constrain(Math.floor(e*3),0,2),x[e][S]}}}),KE=ke({"src/components/dragelement/unhover.js"(Z,H){"use strict";var g=jg(),x=l_(),A=Yy().getGraphDiv,S=Ed(),e=H.exports={};e.wrapped=function(t,r,o){t=A(t),t._fullLayout&&x.clear(t._fullLayout._uid+S.HOVERID),e.raw(t,r,o)},e.raw=function(r,o){var n=r._fullLayout,i=r._hoverdata;o||(o={}),!(o.target&&!r._dragged&&g.triggerHandler(r,"plotly_beforehover",o)===!1)&&(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),r._hoverdata=void 0,o.target&&i&&r.emit("plotly_unhover",{event:o,points:i}))}}}),Xh=ke({"src/components/dragelement/index.js"(Z,H){"use strict";var g=XE(),x=Hw(),A=f_(),S=un().removeElement,e=oh(),t=H.exports={};t.align=ZE(),t.getCursor=YE();var r=KE();t.unhover=r.wrapped,t.unhoverRaw=r.raw,t.init=function(a){var s=a.gd,c=1,h=s._context.doubleClickDelay,p=a.element,d,T,l,_,w,M,E,m;s._mouseDownTime||(s._mouseDownTime=0),p.style.pointerEvents="all",p.onmousedown=u,A?(p._ontouchstart&&p.removeEventListener("touchstart",p._ontouchstart),p._ontouchstart=u,p.addEventListener("touchstart",u,{passive:!1})):p.ontouchstart=u;function b(P,L,z){return Math.abs(P)"u"&&typeof P.clientY>"u"&&(P.clientX=d,P.clientY=T),l=new Date().getTime(),l-s._mouseDownTimeh&&(c=Math.max(c-1,1)),s._dragged)a.doneFn&&a.doneFn();else{var L;M.target===E?L=M:(L={target:E,srcElement:E,toElement:E},Object.keys(M).concat(Object.keys(M.__proto__)).forEach(z=>{var F=M[z];!L[z]&&typeof F!="function"&&(L[z]=F)})),a.clickFn&&a.clickFn(c,L),m||E.dispatchEvent(new MouseEvent("click",P))}s._dragging=!1,s._dragged=!1}};function o(){var i=document.createElement("div");i.className="dragcover";var a=i.style;return a.position="fixed",a.left=0,a.right=0,a.top=0,a.bottom=0,a.zIndex=999999999,a.background="none",document.body.appendChild(i),i}t.coverSlip=o;function n(i){return g(i.changedTouches?i.changedTouches[0]:i,document.body)}}}),uv=ke({"src/lib/setcursor.js"(Z,H){"use strict";H.exports=function(x,A){(x.attr("class")||"").split(" ").forEach(function(S){S.indexOf("cursor-")===0&&x.classed(S,!1)}),A&&x.classed("cursor-"+A,!0)}}}),JE=ke({"src/lib/override_cursor.js"(Z,H){"use strict";var g=uv(),x="data-savedcursor",A="!!";H.exports=function(e,t){var r=e.attr(x);if(t){if(!r){for(var o=(e.attr("class")||"").split(" "),n=0;n(n==="legend"?1:0));if(P===!1&&(a[n]=void 0),!(P===!1&&!c.uirevision)&&(p("uirevision",a.uirevision),P!==!1)){p("borderwidth");var L=p("orientation"),z=p("yref"),F=p("xref"),B=L==="h",O=z==="paper",I=F==="paper",N,U,W,Q="left";B?(N=0,g.getComponentMethod("rangeslider","isVisible")(i.xaxis)?O?(U=1.1,W="bottom"):(U=1,W="top"):O?(U=-.1,W="top"):(U=0,W="bottom")):(U=1,W="auto",I?N=1.02:(N=1,Q="right")),x.coerce(c,h,{x:{valType:"number",editType:"legend",min:I?-2:0,max:I?3:1,dflt:N}},"x"),x.coerce(c,h,{y:{valType:"number",editType:"legend",min:O?-2:0,max:O?3:1,dflt:U}},"y"),p("traceorder",b),r.isGrouped(a[n])&&p("tracegroupgap"),p("entrywidth"),p("entrywidthmode"),p("indentation"),p("itemsizing"),p("itemwidth"),p("itemclick"),p("itemdoubleclick"),p("groupclick"),p("xanchor",Q),p("yanchor",W),p("valign"),x.noneOrAll(c,h,["x","y"]);var le=p("title.text");if(le){p("title.side",B?"left":"top");var se=x.extendFlat({},d,{size:x.bigFont(d.size)});x.coerceFont(p,"title.font",se)}}}}H.exports=function(i,a,s){var c,h=s.slice(),p=a.shapes;if(p)for(c=0;cP&&(f=P)}u[d][0]._groupMinRank=f,u[d][0]._preGroupSort=d}var L=function(N,U){return N[0]._groupMinRank-U[0]._groupMinRank||N[0]._preGroupSort-U[0]._preGroupSort},z=function(N,U){return N.trace.legendrank-U.trace.legendrank||N._preSort-U._preSort};for(u.forEach(function(N,U){N[0]._preGroupSort=U}),u.sort(L),d=0;d0)re=$.width;else return 0;return v?X:Math.min(re,J)};M.each(function(G){var $=g.select(this),J=A.ensureSingle($,"g","layers");J.style("opacity",G[0].trace.opacity);var X=m.indentation,re=m.valign,ae=G[0].lineHeight,j=G[0].height;if(re==="middle"&&X===0||!ae||!j)J.attr("transform",null);else{var ee={top:1,bottom:-1}[re],ie=ee*(.5*(ae-j+3))||0,ce=m.indentation;J.attr("transform",S(ce,ie))}var xe=J.selectAll("g.legendfill").data([G]);xe.enter().append("g").classed("legendfill",!0);var Te=J.selectAll("g.legendlines").data([G]);Te.enter().append("g").classed("legendlines",!0);var Ue=J.selectAll("g.legendsymbols").data([G]);Ue.enter().append("g").classed("legendsymbols",!0),Ue.selectAll("g.legendpoints").data([G]).enter().append("g").classed("legendpoints",!0)}).each(fe).each(F).each(O).each(B).each(N).each(le).each(Q).each(L).each(z).each(U).each(W);function L(G){var $=l(G),J=$.showFill,X=$.showLine,re=$.showGradientLine,ae=$.showGradientFill,j=$.anyFill,ee=$.anyLine,ie=G[0],ce=ie.trace,xe,Te,Ue=r(ce),Ie=Ue.colorscale,Ye=Ue.reversescale,it=function(Oe){if(Oe.size())if(J)e.fillGroupStyle(Oe,E,!0);else{var rt="legendfill-"+ce.uid;e.gradient(Oe,E,rt,T(Ye),Ie,"fill")}},at=function(Oe){if(Oe.size()){var rt="legendline-"+ce.uid;e.lineGroupStyle(Oe),e.gradient(Oe,E,rt,T(Ye),Ie,"stroke")}},tt=o.hasMarkers(ce)||!j?"M5,0":ee?"M5,-2":"M5,-3",ut=g.select(this),Me=ut.select(".legendfill").selectAll("path").data(J||ae?[G]:[]);if(Me.enter().append("path").classed("js-fill",!0),Me.exit().remove(),Me.attr("d",tt+"h"+u+"v6h-"+u+"z").call(it),X||re){var pe=P(void 0,ce.line,p,c);Te=A.minExtend(ce,{line:{width:pe}}),xe=[A.minExtend(ie,{trace:Te})]}var ue=ut.select(".legendlines").selectAll("path").data(X||re?[xe]:[]);ue.enter().append("path").classed("js-line",!0),ue.exit().remove(),ue.attr("d",tt+(re?"l"+u+",0.0001":"h"+u)).call(X?e.lineGroupStyle:at)}function z(G){var $=l(G),J=$.anyFill,X=$.anyLine,re=$.showLine,ae=$.showMarker,j=G[0],ee=j.trace,ie=!ae&&!X&&!J&&o.hasText(ee),ce,xe;function Te(Me,pe,ue,Oe){var rt=A.nestedProperty(ee,Me).get(),ot=A.isArrayOrTypedArray(rt)&&pe?pe(rt):rt;if(v&&ot&&Oe!==void 0&&(ot=Oe),ue){if(otue[1])return ue[1]}return ot}function Ue(Me){return j._distinct&&j.index&&Me[j.index]?Me[j.index]:Me[0]}if(ae||ie||re){var Ie={},Ye={};if(ae){Ie.mc=Te("marker.color",Ue),Ie.mx=Te("marker.symbol",Ue),Ie.mo=Te("marker.opacity",A.mean,[.2,1]),Ie.mlc=Te("marker.line.color",Ue),Ie.mlw=Te("marker.line.width",A.mean,[0,5],h),Ye.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var it=Te("marker.size",A.mean,[2,16],s);Ie.ms=it,Ye.marker.size=it}re&&(Ye.line={width:Te("line.width",Ue,[0,10],c)}),ie&&(Ie.tx="Aa",Ie.tp=Te("textposition",Ue),Ie.ts=10,Ie.tc=Te("textfont.color",Ue),Ie.tf=Te("textfont.family",Ue),Ie.tw=Te("textfont.weight",Ue),Ie.ty=Te("textfont.style",Ue),Ie.tv=Te("textfont.variant",Ue),Ie.tC=Te("textfont.textcase",Ue),Ie.tE=Te("textfont.lineposition",Ue),Ie.tS=Te("textfont.shadow",Ue)),ce=[A.minExtend(j,Ie)],xe=A.minExtend(ee,Ye),xe.selectedpoints=null,xe.texttemplate=null}var at=g.select(this).select("g.legendpoints"),tt=at.selectAll("path.scatterpts").data(ae?ce:[]);tt.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",f),tt.exit().remove(),tt.call(e.pointStyle,xe,E),ae&&(ce[0].mrc=3);var ut=at.selectAll("g.pointtext").data(ie?ce:[]);ut.enter().append("g").classed("pointtext",!0).append("text").attr("transform",f),ut.exit().remove(),ut.selectAll("text").call(e.textPointStyle,xe,E)}function F(G){var $=G[0].trace,J=$.type==="waterfall";if(G[0]._distinct&&J){var X=G[0].trace[G[0].dir].marker;return G[0].mc=X.color,G[0].mlw=X.line.width,G[0].mlc=X.line.color,I(G,this,"waterfall")}var re=[];$.visible&&J&&(re=G[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var ae=g.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(re);ae.enter().append("path").classed("legendwaterfall",!0).attr("transform",f).style("stroke-miterlimit",1),ae.exit().remove(),ae.each(function(j){var ee=g.select(this),ie=$[j[0]].marker,ce=P(void 0,ie.line,d,h);ee.attr("d",j[1]).style("stroke-width",ce+"px").call(t.fill,ie.color),ce&&ee.call(t.stroke,ie.line.color)})}function B(G){I(G,this)}function O(G){I(G,this,"funnel")}function I(G,$,J){var X=G[0].trace,re=X.marker||{},ae=re.line||{},j=re.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",ee=J?X.visible&&X.type===J:x.traceIs(X,"bar"),ie=g.select($).select("g.legendpoints").selectAll("path.legend"+J).data(ee?[G]:[]);ie.enter().append("path").classed("legend"+J,!0).attr("d",j).attr("transform",f),ie.exit().remove(),ie.each(function(ce){var xe=g.select(this),Te=ce[0],Ue=P(Te.mlw,re.line,d,h);xe.style("stroke-width",Ue+"px");var Ie=Te.mcc;if(!m._inHover&&"mc"in Te){var Ye=r(re),it=Ye.mid;it===void 0&&(it=(Ye.max+Ye.min)/2),Ie=e.tryColorscale(re,"")(it)}var at=Ie||Te.mc||re.color,tt=re.pattern,ut=tt&&e.getPatternAttr(tt.shape,0,"");if(ut){var Me=e.getPatternAttr(tt.bgcolor,0,null),pe=e.getPatternAttr(tt.fgcolor,0,null),ue=tt.fgopacity,Oe=_(tt.size,8,10),rt=_(tt.solidity,.5,1),ot="legend-"+X.uid;xe.call(e.pattern,"legend",E,ot,ut,Oe,rt,Ie,tt.fillmode,Me,pe,ue)}else xe.call(t.fill,at);Ue&&t.stroke(xe,Te.mlc||ae.color)})}function N(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendbox").data($.visible&&x.traceIs($,"box-violin")?[G]:[]);J.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",f),J.exit().remove(),J.each(function(){var X=g.select(this);if(($.boxpoints==="all"||$.points==="all")&&t.opacity($.fillcolor)===0&&t.opacity(($.line||{}).color)===0){var re=A.minExtend($,{marker:{size:v?s:A.constrain($.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});J.call(e.pointStyle,re,E)}else{var ae=P(void 0,$.line,d,h);X.style("stroke-width",ae+"px").call(t.fill,$.fillcolor),ae&&t.stroke(X,$.line.color)}})}function U(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendcandle").data($.visible&&$.type==="candlestick"?[G,G]:[]);J.enter().append("path").classed("legendcandle",!0).attr("d",function(X,re){return re?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",f).style("stroke-miterlimit",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?"increasing":"decreasing"],ee=P(void 0,j.line,d,h);ae.style("stroke-width",ee+"px").call(t.fill,j.fillcolor),ee&&t.stroke(ae,j.line.color)})}function W(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendohlc").data($.visible&&$.type==="ohlc"?[G,G]:[]);J.enter().append("path").classed("legendohlc",!0).attr("d",function(X,re){return re?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",f).style("stroke-miterlimit",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?"increasing":"decreasing"],ee=P(void 0,j.line,d,h);ae.style("fill","none").call(e.dashLine,j.line.dash,ee),ee&&t.stroke(ae,j.line.color)})}function Q(G){se(G,this,"pie")}function le(G){se(G,this,"funnelarea")}function se(G,$,J){var X=G[0],re=X.trace,ae=J?re.visible&&re.type===J:x.traceIs(re,J),j=g.select($).select("g.legendpoints").selectAll("path.legend"+J).data(ae?[G]:[]);if(j.enter().append("path").classed("legend"+J,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",f),j.exit().remove(),j.size()){var ee=re.marker||{},ie=P(i(ee.line.width,X.pts),ee.line,d,h),ce="pieLike",xe=A.minExtend(re,{marker:{line:{width:ie}}},ce),Te=A.minExtend(X,{trace:xe},ce);n(j,Te,xe,E)}}function fe(G){var $=G[0].trace,J,X=[];if($.visible)switch($.type){case"histogram2d":case"heatmap":X=[["M-15,-2V4H15V-2Z"]],J=!0;break;case"choropleth":case"choroplethmapbox":case"choroplethmap":X=[["M-6,-6V6H6V-6Z"]],J=!0;break;case"densitymapbox":case"densitymap":X=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],J="radial";break;case"cone":X=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],J=!1;break;case"streamtube":X=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],J=!1;break;case"surface":X=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],J=!0;break;case"mesh3d":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],J=!1;break;case"volume":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],J=!0;break;case"isosurface":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],J=!1;break}var re=g.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(X);re.enter().append("path").classed("legend3dandfriends",!0).attr("transform",f).style("stroke-miterlimit",1),re.exit().remove(),re.each(function(ae,j){var ee=g.select(this),ie=r($),ce=ie.colorscale,xe=ie.reversescale,Te=function(it){if(it.size()){var at="legendfill-"+$.uid;e.gradient(it,E,at,T(xe,J==="radial"),ce,"fill")}},Ue;if(ce){if(!J){var Ye=ce.length;Ue=j===0?ce[xe?Ye-1:0][1]:j===1?ce[xe?0:Ye-1][1]:ce[Math.floor((Ye-1)/2)][1]}}else{var Ie=$.vertexcolor||$.facecolor||$.color;Ue=A.isArrayOrTypedArray(Ie)?Ie[j]||Ie[0]:Ie}ee.attr("d",ae[0]),Ue?ee.call(t.fill,Ue):ee.call(Te)})}};function T(w,M){var E=M?"radial":"horizontal";return E+(w?"":"reversed")}function l(w){var M=w[0].trace,E=M.contours,m=o.hasLines(M),b=o.hasMarkers(M),v=M.visible&&M.fill&&M.fill!=="none",u=!1,y=!1;if(E){var f=E.coloring;f==="lines"?u=!0:m=f==="none"||f==="heatmap"||E.showlines,E.type==="constraint"?v=E._operation!=="=":(f==="fill"||f==="heatmap")&&(y=!0)}return{showMarker:b,showLine:m,showFill:v,showGradientLine:u,showGradientFill:y,anyLine:m||u,anyFill:v||y}}function _(w,M,E){return w&&A.isArrayOrTypedArray(w)?M:w>E?E:w}}}),n2=ke({"src/components/legend/draw.js"(Z,H){"use strict";var g=_i(),x=un(),A=Zu(),S=lo(),e=jg(),t=Xh(),r=$o(),o=eo(),n=Wl(),i=$E(),a=t2(),s=Yf(),c=s.LINE_SPACING,h=s.FROM_TL,p=s.FROM_BR,d=QE(),T=r2(),l=h_(),_=1,w=/^legend[0-9]*$/;H.exports=function(U,W){if(W)E(U,W);else{var Q=U._fullLayout,le=Q._legends,se=Q._infolayer.selectAll('[class^="legend"]');se.each(function(){var J=g.select(this),X=J.attr("class"),re=X.split(" ")[0];re.match(w)&&le.indexOf(re)===-1&&J.remove()});for(var fe=0;fe1)}var ee=Q.hiddenlabels||[];if(!G&&(!Q.showlegend||!$.length))return fe.selectAll("."+le).remove(),Q._topdefs.select("#"+se).remove(),A.autoMargin(N,le);var ie=x.ensureSingle(fe,"g",le,function(tt){G||tt.attr("pointer-events","all")}),ce=x.ensureSingleById(Q._topdefs,"clipPath",se,function(tt){tt.append("rect")}),xe=x.ensureSingle(ie,"rect","bg",function(tt){tt.attr("shape-rendering","crispEdges")});xe.call(o.stroke,W.bordercolor).call(o.fill,W.bgcolor).style("stroke-width",W.borderwidth+"px");var Te=x.ensureSingle(ie,"g","scrollbox"),Ue=W.title;W._titleWidth=0,W._titleHeight=0;var Ie;Ue.text?(Ie=x.ensureSingle(Te,"text",le+"titletext"),Ie.attr("text-anchor","start").call(r.font,Ue.font).text(Ue.text),f(Ie,Te,N,W,_)):Te.selectAll("."+le+"titletext").remove();var Ye=x.ensureSingle(ie,"rect","scrollbar",function(tt){tt.attr(a.scrollBarEnterAttrs).call(o.fill,a.scrollBarColor)}),it=Te.selectAll("g.groups").data($);it.enter().append("g").attr("class","groups"),it.exit().remove();var at=it.selectAll("g.traces").data(x.identity);at.enter().append("g").attr("class","traces"),at.exit().remove(),at.style("opacity",function(tt){var ut=tt[0].trace;return S.traceIs(ut,"pie-like")?ee.indexOf(tt[0].label)!==-1?.5:1:ut.visible==="legendonly"?.5:1}).each(function(){g.select(this).call(v,N,W)}).call(T,N,W).each(function(){G||g.select(this).call(y,N,le)}),x.syncOrAsync([A.previousPromises,function(){return z(N,it,at,W)},function(){var tt=Q._size,ut=W.borderwidth,Me=W.xref==="paper",pe=W.yref==="paper";if(Ue.text&&M(Ie,W,ut),!G){var ue,Oe;Me?ue=tt.l+tt.w*W.x-h[B(W)]*W._width:ue=Q.width*W.x-h[B(W)]*W._width,pe?Oe=tt.t+tt.h*(1-W.y)-h[O(W)]*W._effHeight:Oe=Q.height*(1-W.y)-h[O(W)]*W._effHeight;var rt=F(N,le,ue,Oe);if(rt)return;if(Q.margin.autoexpand){var ot=ue,et=Oe;ue=Me?x.constrain(ue,0,Q.width-W._width):ot,Oe=pe?x.constrain(Oe,0,Q.height-W._effHeight):et,ue!==ot&&x.log("Constrain "+le+".x to make legend fit inside graph"),Oe!==et&&x.log("Constrain "+le+".y to make legend fit inside graph")}r.setTranslate(ie,ue,Oe)}if(Ye.on(".drag",null),ie.on("wheel",null),G||W._height<=W._maxHeight||N._context.staticPlot){var Lt=W._effHeight;G&&(Lt=W._height),xe.attr({width:W._width-ut,height:Lt-ut,x:ut/2,y:ut/2}),r.setTranslate(Te,0,0),ce.select("rect").attr({width:W._width-2*ut,height:Lt-2*ut,x:ut,y:ut}),r.setClipUrl(Te,se,N),r.setRect(Ye,0,0,0,0),delete W._scrollY}else{var Et=Math.max(a.scrollBarMinHeight,W._effHeight*W._effHeight/W._height),Bt=W._effHeight-Et-2*a.scrollBarMargin,qt=W._height-W._effHeight,fr=Bt/qt,ar=Math.min(W._scrollY||0,qt);xe.attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-ut,x:ut/2,y:ut/2}),ce.select("rect").attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-2*ut,x:ut,y:ut+ar}),r.setClipUrl(Te,se,N),Se(ar,Et,fr),ie.on("wheel",function(){ar=x.constrain(W._scrollY+g.event.deltaY/Bt*qt,0,qt),Se(ar,Et,fr),ar!==0&&ar!==qt&&g.event.preventDefault()});var Rr,gr,br,_t=function(nt,pt,bt){var Rt=(bt-pt)/fr+nt;return x.constrain(Rt,0,qt)},Be=function(nt,pt,bt){var Rt=(pt-bt)/fr+nt;return x.constrain(Rt,0,qt)},Ke=g.behavior.drag().on("dragstart",function(){var nt=g.event.sourceEvent;nt.type==="touchstart"?Rr=nt.changedTouches[0].clientY:Rr=nt.clientY,br=ar}).on("drag",function(){var nt=g.event.sourceEvent;nt.buttons===2||nt.ctrlKey||(nt.type==="touchmove"?gr=nt.changedTouches[0].clientY:gr=nt.clientY,ar=_t(br,Rr,gr),Se(ar,Et,fr))});Ye.call(Ke);var je=g.behavior.drag().on("dragstart",function(){var nt=g.event.sourceEvent;nt.type==="touchstart"&&(Rr=nt.changedTouches[0].clientY,br=ar)}).on("drag",function(){var nt=g.event.sourceEvent;nt.type==="touchmove"&&(gr=nt.changedTouches[0].clientY,ar=Be(br,Rr,gr),Se(ar,Et,fr))});Te.call(je)}function Se(nt,pt,bt){W._scrollY=N._fullLayout[le]._scrollY=nt,r.setTranslate(Te,0,-nt),r.setRect(Ye,W._width,a.scrollBarMargin+nt*bt,a.scrollBarWidth,pt),ce.select("rect").attr("y",ut+nt)}if(N._context.edits.legendPosition){var He,Ee,we,Le;ie.classed("cursor-move",!0),t.init({element:ie.node(),gd:N,prepFn:function(nt){if(nt.target!==Ye.node()){var pt=r.getTranslate(ie);we=pt.x,Le=pt.y}},moveFn:function(nt,pt){if(we!==void 0&&Le!==void 0){var bt=we+nt,Rt=Le+pt;r.setTranslate(ie,bt,Rt),He=t.align(bt,W._width,tt.l,tt.l+tt.w,W.xanchor),Ee=t.align(Rt+W._height,-W._height,tt.t+tt.h,tt.t,W.yanchor)}},doneFn:function(){if(He!==void 0&&Ee!==void 0){var nt={};nt[le+".x"]=He,nt[le+".y"]=Ee,S.call("_guiRelayout",N,nt)}},clickFn:function(nt,pt){var bt=fe.selectAll("g.traces").filter(function(){var Rt=this.getBoundingClientRect();return pt.clientX>=Rt.left&&pt.clientX<=Rt.right&&pt.clientY>=Rt.top&&pt.clientY<=Rt.bottom});bt.size()>0&&b(N,ie,bt,nt,pt)}})}}],N)}}function m(N,U,W){var Q=N[0],le=Q.width,se=U.entrywidthmode,fe=Q.trace.legendwidth||U.entrywidth;return se==="fraction"?U._maxWidth*fe:W+(fe||le)}function b(N,U,W,Q,le){var se=W.data()[0][0].trace,fe={event:le,node:W.node(),curveNumber:se.index,expandedIndex:se.index,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};se._group&&(fe.group=se._group),S.traceIs(se,"pie-like")&&(fe.label=W.datum()[0].label);var G=e.triggerHandler(N,"plotly_legendclick",fe);if(Q===1){if(G===!1)return;U._clickTimeout=setTimeout(function(){N._fullLayout&&i(W,N,Q)},N._context.doubleClickDelay)}else if(Q===2){U._clickTimeout&&clearTimeout(U._clickTimeout),N._legendMouseDownTime=0;var $=e.triggerHandler(N,"plotly_legenddoubleclick",fe);$!==!1&&G!==!1&&i(W,N,Q)}}function v(N,U,W){var Q=I(W),le=N.data()[0][0],se=le.trace,fe=S.traceIs(se,"pie-like"),G=!W._inHover&&U._context.edits.legendText&&!fe,$=W._maxNameLength,J,X;le.groupTitle?(J=le.groupTitle.text,X=le.groupTitle.font):(X=W.font,W.entries?J=le.text:(J=fe?le.label:se.name,se._meta&&(J=x.templateString(J,se._meta))));var re=x.ensureSingle(N,"text",Q+"text");re.attr("text-anchor","start").call(r.font,X).text(G?u(J,$):J);var ae=W.indentation+W.itemwidth+a.itemGap*2;n.positionText(re,ae,0),G?re.call(n.makeEditable,{gd:U,text:J}).call(f,N,U,W).on("edit",function(j){this.text(u(j,$)).call(f,N,U,W);var ee=le.trace._fullInput||{},ie={};return ie.name=j,ee._isShape?S.call("_guiRelayout",U,"shapes["+se.index+"].name",ie.name):S.call("_guiRestyle",U,ie,se.index)}):f(re,N,U,W)}function u(N,U){var W=Math.max(4,U);if(N&&N.trim().length>=W/2)return N;N=N||"";for(var Q=W-N.length;Q>0;Q--)N+=" ";return N}function y(N,U,W){var Q=U._context.doubleClickDelay,le,se=1,fe=x.ensureSingle(N,"rect",W+"toggle",function(G){U._context.staticPlot||G.style("cursor","pointer").attr("pointer-events","all"),G.call(o.fill,"rgba(0,0,0,0)")});U._context.staticPlot||(fe.on("mousedown",function(){le=new Date().getTime(),le-U._legendMouseDownTimeQ&&(se=Math.max(se-1,1)),b(U,G,N,se,g.event)}}))}function f(N,U,W,Q,le){Q._inHover&&N.attr("data-notex",!0),n.convertToTspans(N,W,function(){P(U,W,Q,le)})}function P(N,U,W,Q){var le=N.data()[0][0];if(!W._inHover&&le&&!le.trace.showlegend){N.remove();return}var se=N.select("g[class*=math-group]"),fe=se.node(),G=I(W);W||(W=U._fullLayout[G]);var $=W.borderwidth,J;Q===_?J=W.title.font:le.groupTitle?J=le.groupTitle.font:J=W.font;var X=J.size*c,re,ae;if(fe){var j=r.bBox(fe);re=j.height,ae=j.width,Q===_?r.setTranslate(se,$,$+re*.75):r.setTranslate(se,0,re*.25)}else{var ee="."+G+(Q===_?"title":"")+"text",ie=N.select(ee),ce=n.lineCount(ie),xe=ie.node();if(re=X*ce,ae=xe?r.bBox(xe).width:0,Q===_)W.title.side==="left"&&(ae+=a.itemGap*2),n.positionText(ie,$+a.titlePad,$+X);else{var Te=a.itemGap*2+W.indentation+W.itemwidth;le.groupTitle&&(Te=a.itemGap,ae-=W.indentation+W.itemwidth),n.positionText(ie,Te,-X*((ce-1)/2-.3))}}Q===_?(W._titleWidth=ae,W._titleHeight=re):(le.lineHeight=X,le.height=Math.max(re,16)+3,le.width=ae)}function L(N){var U=0,W=0,Q=N.title.side;return Q&&(Q.indexOf("left")!==-1&&(U=N._titleWidth),Q.indexOf("top")!==-1&&(W=N._titleHeight)),[U,W]}function z(N,U,W,Q){var le=N._fullLayout,se=I(Q);Q||(Q=le[se]);var fe=le._size,G=l.isVertical(Q),$=l.isGrouped(Q),J=Q.entrywidthmode==="fraction",X=Q.borderwidth,re=2*X,ae=a.itemGap,j=Q.indentation+Q.itemwidth+ae*2,ee=2*(X+ae),ie=O(Q),ce=Q.y<0||Q.y===0&&ie==="top",xe=Q.y>1||Q.y===1&&ie==="bottom",Te=Q.tracegroupgap,Ue={};Q._maxHeight=Math.max(ce||xe?le.height/2:fe.h,30);var Ie=0;Q._width=0,Q._height=0;var Ye=L(Q);if(G)W.each(function(br){var _t=br[0].height;r.setTranslate(this,X+Ye[0],X+Ye[1]+Q._height+_t/2+ae),Q._height+=_t,Q._width=Math.max(Q._width,br[0].width)}),Ie=j+Q._width,Q._width+=ae+j+re,Q._height+=ee,$&&(U.each(function(br,_t){r.setTranslate(this,0,_t*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var it=B(Q),at=Q.x<0||Q.x===0&&it==="right",tt=Q.x>1||Q.x===1&&it==="left",ut=xe||ce,Me=le.width/2;Q._maxWidth=Math.max(at?ut&&it==="left"?fe.l+fe.w:Me:tt?ut&&it==="right"?fe.r+fe.w:Me:fe.w,2*j);var pe=0,ue=0;W.each(function(br){var _t=m(br,Q,j);pe=Math.max(pe,_t),ue+=_t}),Ie=null;var Oe=0;if($){var rt=0,ot=0,et=0;U.each(function(){var br=0,_t=0;g.select(this).selectAll("g.traces").each(function(Ke){var je=m(Ke,Q,j),Se=Ke[0].height;r.setTranslate(this,Ye[0],Ye[1]+X+ae+Se/2+_t),_t+=Se,br=Math.max(br,je),Ue[Ke[0].trace.legendgroup]=br});var Be=br+ae;ot>0&&Be+X+ot>Q._maxWidth?(Oe=Math.max(Oe,ot),ot=0,et+=rt+Te,rt=_t):rt=Math.max(rt,_t),r.setTranslate(this,ot,et),ot+=Be}),Q._width=Math.max(Oe,ot)+X,Q._height=et+rt+ee}else{var Lt=W.size(),Et=ue+re+(Lt-1)*ae=Q._maxWidth&&(Oe=Math.max(Oe,ar),qt=0,fr+=Bt,Q._height+=Bt,Bt=0),r.setTranslate(this,Ye[0]+X+qt,Ye[1]+X+fr+_t/2+ae),ar=qt+Be+ae,qt+=Ke,Bt=Math.max(Bt,_t)}),Et?(Q._width=qt+re,Q._height=Bt+ee):(Q._width=Math.max(Oe,ar)+re,Q._height+=Bt+ee)}}Q._width=Math.ceil(Math.max(Q._width+Ye[0],Q._titleWidth+2*(X+a.titlePad))),Q._height=Math.ceil(Math.max(Q._height+Ye[1],Q._titleHeight+2*(X+a.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Rr=N._context.edits,gr=Rr.legendText||Rr.legendPosition;W.each(function(br){var _t=g.select(this).select("."+se+"toggle"),Be=br[0].height,Ke=br[0].trace.legendgroup,je=m(br,Q,j);$&&Ke!==""&&(je=Ue[Ke]);var Se=gr?j:Ie||je;!G&&!J&&(Se+=ae/2),r.setRect(_t,0,-Be/2,Se,Be)})}function F(N,U,W,Q){var le=N._fullLayout,se=le[U],fe=B(se),G=O(se),$=se.xref==="paper",J=se.yref==="paper";N._fullLayout._reservedMargin[U]={};var X=se.y<.5?"b":"t",re=se.x<.5?"l":"r",ae={r:le.width-W,l:W+se._width,b:le.height-Q,t:Q+se._effHeight};if($&&J)return A.autoMargin(N,U,{x:se.x,y:se.y,l:se._width*h[fe],r:se._width*p[fe],b:se._effHeight*p[G],t:se._effHeight*h[G]});$?N._fullLayout._reservedMargin[U][X]=ae[X]:J||se.orientation==="v"?N._fullLayout._reservedMargin[U][re]=ae[re]:N._fullLayout._reservedMargin[U][X]=ae[X]}function B(N){return x.isRightAnchor(N)?"right":x.isCenterAnchor(N)?"center":"left"}function O(N){return x.isBottomAnchor(N)?"bottom":x.isMiddleAnchor(N)?"middle":"top"}function I(N){return N._id||"legend"}}}),i2=ke({"src/components/fx/hover.js"(Z){"use strict";var H=_i(),g=Yn(),x=ru(),A=un(),S=A.pushUnique,e=A.strTranslate,t=A.strRotate,r=jg(),o=Wl(),n=JE(),i=$o(),a=eo(),s=Xh(),c=Ho(),h=oh().zindexSeparator,p=lo(),d=gd(),T=Ed(),l=e2(),_=n2(),w=T.YANGLE,M=Math.PI*w/180,E=1/Math.sin(M),m=Math.cos(M),b=Math.sin(M),v=T.HOVERARROWSIZE,u=T.HOVERTEXTPAD,y={box:!0,ohlc:!0,violin:!0,candlestick:!0},f={scatter:!0,scattergl:!0,splom:!0};function P(j,ee){return j.distance-ee.distance}Z.hover=function(ee,ie,ce,xe){ee=A.getGraphDiv(ee);var Te=ie.target;A.throttle(ee._fullLayout._uid+T.HOVERID,T.HOVERMINTIME,function(){L(ee,ie,ce,xe,Te)})},Z.loneHover=function(ee,ie){var ce=!0;Array.isArray(ee)||(ce=!1,ee=[ee]);var xe=ie.gd,Te=X(xe),Ue=re(xe),Ie=ee.map(function(Oe){var rt=Oe._x0||Oe.x0||Oe.x||0,ot=Oe._x1||Oe.x1||Oe.x||0,et=Oe._y0||Oe.y0||Oe.y||0,Lt=Oe._y1||Oe.y1||Oe.y||0,Et=Oe.eventData;if(Et){var Bt=Math.min(rt,ot),qt=Math.max(rt,ot),fr=Math.min(et,Lt),ar=Math.max(et,Lt),Rr=Oe.trace;if(p.traceIs(Rr,"gl3d")){var gr=xe._fullLayout[Rr.scene]._scene.container,br=gr.offsetLeft,_t=gr.offsetTop;Bt+=br,qt+=br,fr+=_t,ar+=_t}Et.bbox={x0:Bt+Ue,x1:qt+Ue,y0:fr+Te,y1:ar+Te},ie.inOut_bbox&&ie.inOut_bbox.push(Et.bbox)}else Et=!1;return{color:Oe.color||a.defaultLine,x0:Oe.x0||Oe.x||0,x1:Oe.x1||Oe.x||0,y0:Oe.y0||Oe.y||0,y1:Oe.y1||Oe.y||0,xLabel:Oe.xLabel,yLabel:Oe.yLabel,zLabel:Oe.zLabel,text:Oe.text,name:Oe.name,idealAlign:Oe.idealAlign,borderColor:Oe.borderColor,fontFamily:Oe.fontFamily,fontSize:Oe.fontSize,fontColor:Oe.fontColor,fontWeight:Oe.fontWeight,fontStyle:Oe.fontStyle,fontVariant:Oe.fontVariant,nameLength:Oe.nameLength,textAlign:Oe.textAlign,trace:Oe.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:Oe.hovertemplate||!1,hovertemplateLabels:Oe.hovertemplateLabels||!1,eventData:Et}}),Ye=!1,it=B(Ie,{gd:xe,hovermode:"closest",rotateLabels:Ye,bgColor:ie.bgColor||a.background,container:H.select(ie.container),outerContainer:ie.outerContainer||ie.container}),at=it.hoverLabels,tt=5,ut=0,Me=0;at.sort(function(Oe,rt){return Oe.y0-rt.y0}).each(function(Oe,rt){var ot=Oe.y0-Oe.by/2;ot-ttqt[0]._length||ni<0||ni>fr[0]._length)return s.unhoverRaw(j,ee)}if(ee.pointerX=On+qt[0]._offset,ee.pointerY=ni+fr[0]._offset,"xval"in ee?je=d.flat(Te,ee.xval):je=d.p2c(qt,On),"yval"in ee?Se=d.flat(Te,ee.yval):Se=d.p2c(fr,ni),!g(je[0])||!g(Se[0]))return A.warn("Fx.hover failed",ee,j),s.unhoverRaw(j,ee)}var gi=1/0;function Zt(pa,cs){for(Ee=0;Ee$t&&(Be.splice(0,$t),gi=Be[0].distance),tt&&_t!==0&&Be.length===0){Xt.distance=_t,Xt.index=!1;var Ka=Le._module.hoverPoints(Xt,Rt,Nt,"closest",{hoverLayer:Ie._hoverlayer});if(Ka&&(Ka=Ka.filter(function(Ls){return Ls.spikeDistance<=_t})),Ka&&Ka.length){var Yo,ns=Ka.filter(function(Ls){return Ls.xa.showspikes&&Ls.xa.spikesnap!=="hovered data"});if(ns.length){var hs=ns[0];g(hs.x0)&&g(hs.y0)&&(Yo=Ht(hs),(!ur.vLinePoint||ur.vLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.vLinePoint=Yo))}var ho=Ka.filter(function(Ls){return Ls.ya.showspikes&&Ls.ya.spikesnap!=="hovered data"});if(ho.length){var Ro=ho[0];g(Ro.x0)&&g(Ro.y0)&&(Yo=Ht(Ro),(!ur.hLinePoint||ur.hLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.hLinePoint=Yo))}}}}}Zt();function Ft(pa,cs,Ko){for(var gs=null,Ya=1/0,zo,Ka=0;Ka0&&Math.abs(pa.distance)Pr-1;nn--)Dr(Be[nn]);Be=Mr,xn()}var vn=j._hoverdata,gn=[],kt=X(j),or=re(j);for(He=0;He1||Be.length>1)||ut==="closest"&&pn&&Be.length>1,to=a.combine(Ie.plot_bgcolor||a.background,Ie.paper_bgcolor),yo=B(Be,{gd:j,hovermode:ut,rotateLabels:qa,bgColor:to,container:Ie._hoverlayer,outerContainer:Ie._paper.node(),commonLabelOpts:Ie.hoverlabel,hoverdistance:Ie.hoverdistance}),Xa=yo.hoverLabels;if(d.isUnifiedHover(ut)||(I(Xa,qa,Ie,yo.commonLabelBoundingBox),W(Xa,qa,Ie._invScaleX,Ie._invScaleY)),xe&&xe.tagName){var Go=p.getComponentMethod("annotations","hasClickToShow")(j,gn);n(H.select(xe),Go?"pointer":"")}!xe||ce||!se(j,ee,vn)||(vn&&j.emit("plotly_unhover",{event:ee,points:vn}),j.emit("plotly_hover",{event:ee,points:j._hoverdata,xaxes:qt,yaxes:fr,xvals:je,yvals:Se}))}function z(j){return[j.trace.index,j.index,j.x0,j.y0,j.name,j.attr,j.xa?j.xa._id:"",j.ya?j.ya._id:""].join(",")}var F=/([\s\S]*)<\/extra>/;function B(j,ee){var ie=ee.gd,ce=ie._fullLayout,xe=ee.hovermode,Te=ee.rotateLabels,Ue=ee.bgColor,Ie=ee.container,Ye=ee.outerContainer,it=ee.commonLabelOpts||{};if(j.length===0)return[[]];var at=ee.fontFamily||T.HOVERFONT,tt=ee.fontSize||T.HOVERFONTSIZE,ut=ee.fontWeight||ce.font.weight,Me=ee.fontStyle||ce.font.style,pe=ee.fontVariant||ce.font.variant,ue=ee.fontTextcase||ce.font.textcase,Oe=ee.fontLineposition||ce.font.lineposition,rt=ee.fontShadow||ce.font.shadow,ot=j[0],et=ot.xa,Lt=ot.ya,Et=xe.charAt(0),Bt=Et+"Label",qt=ot[Bt];if(qt===void 0&&et.type==="multicategory")for(var fr=0;frce.width-vn&&(gn=ce.width-vn),ui.attr("d","M"+(Ur-gn)+",0L"+(Ur-gn+v)+","+nn+v+"H"+vn+"v"+nn+(u*2+Lr.height)+"H"+-vn+"V"+nn+v+"H"+(Ur-gn-v)+"Z"),Ur=gn,Ee.minX=Ur-vn,Ee.maxX=Ur+vn,et.side==="top"?(Ee.minY=Dr-(u*2+Lr.height),Ee.maxY=Dr-u):(Ee.minY=Dr+u,Ee.maxY=Dr+(u*2+Lr.height))}else{var kt,or,yr;Lt.side==="right"?(kt="start",or=1,yr="",Ur=et._offset+et._length):(kt="end",or=-1,yr="-",Ur=et._offset),Dr=Lt._offset+(ot.y0+ot.y1)/2,gt.attr("text-anchor",kt),ui.attr("d","M0,0L"+yr+v+","+v+"V"+(u+Lr.height/2)+"h"+yr+(u*2+Lr.width)+"V-"+(u+Lr.height/2)+"H"+yr+v+"V-"+v+"Z"),Ee.minY=Dr-(u+Lr.height/2),Ee.maxY=Dr+(u+Lr.height/2),Lt.side==="right"?(Ee.minX=Ur+v,Ee.maxX=Ur+v+(u*2+Lr.width)):(Ee.minX=Ur-v-(u*2+Lr.width),Ee.maxX=Ur-v);var on=Lr.height/2,An=Rr-Lr.top-on,Zn="clip"+ce._uid+"commonlabel"+Lt._id,Bn;if(Ur=0?Fn=wr:$r+ni=0?Fn=$r:xn+ni=0?Wn=Ht:Vt+zn=0?Wn=Vt:en+zn=0,(Sn.idealAlign==="top"||!Ui)&&pi?(yr-=An/2,Sn.anchor="end"):Ui?(yr+=An/2,Sn.anchor="start"):Sn.anchor="middle",Sn.crossPos=yr;else{if(Sn.pos=yr,Ui=or+on/2+Dn<=gr,pi=or-on/2-Dn>=0,(Sn.idealAlign==="left"||!Ui)&&pi)or-=on/2,Sn.anchor="end";else if(Ui)or+=on/2,Sn.anchor="start";else{Sn.anchor="middle";var Ta=Dn/2,Sa=or+Ta-gr,qa=or-Ta;Sa>0&&(or-=Sa),qa<0&&(or+=-qa)}Sn.crossPos=or}Dr.attr("text-anchor",Sn.anchor),vn&&nn.attr("text-anchor",Sn.anchor),ui.attr("transform",e(or,yr)+(Te?t(w):""))}),{hoverLabels:ri,commonLabelBoundingBox:Ee}}function O(j,ee,ie,ce,xe,Te){var Ue="",Ie="";j.nameOverride!==void 0&&(j.name=j.nameOverride),j.name&&(j.trace._meta&&(j.name=A.templateString(j.name,j.trace._meta)),Ue=G(j.name,j.nameLength));var Ye=ie.charAt(0),it=Ye==="x"?"y":"x";j.zLabel!==void 0?(j.xLabel!==void 0&&(Ie+="x: "+j.xLabel+"
"),j.yLabel!==void 0&&(Ie+="y: "+j.yLabel+"
"),j.trace.type!=="choropleth"&&j.trace.type!=="choroplethmapbox"&&j.trace.type!=="choroplethmap"&&(Ie+=(Ie?"z: ":"")+j.zLabel)):ee&&j[Ye+"Label"]===xe?Ie=j[it+"Label"]||"":j.xLabel===void 0?j.yLabel!==void 0&&j.trace.type!=="scattercarpet"&&(Ie=j.yLabel):j.yLabel===void 0?Ie=j.xLabel:Ie="("+j.xLabel+", "+j.yLabel+")",(j.text||j.text===0)&&!Array.isArray(j.text)&&(Ie+=(Ie?"
":"")+j.text),j.extraText!==void 0&&(Ie+=(Ie?"
":"")+j.extraText),Te&&Ie===""&&!j.hovertemplate&&(Ue===""&&Te.remove(),Ie=Ue);var at=j.hovertemplate||!1;if(at){var tt=j.hovertemplateLabels||j;j[Ye+"Label"]!==xe&&(tt[Ye+"other"]=tt[Ye+"Val"],tt[Ye+"otherLabel"]=tt[Ye+"Label"]),Ie=A.hovertemplateString(at,tt,ce._d3locale,j.eventData[0]||{},j.trace._meta),Ie=Ie.replace(F,function(ut,Me){return Ue=G(Me,j.nameLength),""})}return[Ie,Ue]}function I(j,ee,ie,ce){var xe=ee?"xa":"ya",Te=ee?"ya":"xa",Ue=0,Ie=1,Ye=j.size(),it=new Array(Ye),at=0,tt=ce.minX,ut=ce.maxX,Me=ce.minY,pe=ce.maxY,ue=function(je){return je*ie._invScaleX},Oe=function(je){return je*ie._invScaleY};j.each(function(je){var Se=je[xe],He=je[Te],Ee=Se._id.charAt(0)==="x",we=Se.range;at===0&&we&&we[0]>we[1]!==Ee&&(Ie=-1);var Le=0,nt=Ee?ie.width:ie.height;if(ie.hovermode==="x"||ie.hovermode==="y"){var pt=N(je,ee),bt=je.anchor,Rt=bt==="end"?-1:1,Nt,Xt;if(bt==="middle")Nt=je.crossPos+(Ee?Oe(pt.y-je.by/2):ue(je.bx/2+je.tx2width/2)),Xt=Nt+(Ee?Oe(je.by):ue(je.bx));else if(Ee)Nt=je.crossPos+Oe(v+pt.y)-Oe(je.by/2-v),Xt=Nt+Oe(je.by);else{var $t=ue(Rt*v+pt.x),ur=$t+ue(Rt*je.bx);Nt=je.crossPos+Math.min($t,ur),Xt=je.crossPos+Math.max($t,ur)}Ee?Me!==void 0&&pe!==void 0&&Math.min(Xt,pe)-Math.max(Nt,Me)>1&&(He.side==="left"?(Le=He._mainLinePosition,nt=ie.width):nt=He._mainLinePosition):tt!==void 0&&ut!==void 0&&Math.min(Xt,ut)-Math.max(Nt,tt)>1&&(He.side==="top"?(Le=He._mainLinePosition,nt=ie.height):nt=He._mainLinePosition)}it[at++]=[{datum:je,traceIndex:je.trace.index,dp:0,pos:je.pos,posref:je.posref,size:je.by*(Ee?E:1)/2,pmin:Le,pmax:nt}]}),it.sort(function(je,Se){return je[0].posref-Se[0].posref||Ie*(Se[0].traceIndex-je[0].traceIndex)});var rt,ot,et,Lt,Et,Bt,qt;function fr(je){var Se=je[0],He=je[je.length-1];if(ot=Se.pmin-Se.pos-Se.dp+Se.size,et=He.pos+He.dp+He.size-Se.pmax,ot>.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp+=ot;rt=!1}if(!(et<.01)){if(ot<-.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp-=et;rt=!1}if(rt){var Ee=0;for(Lt=0;LtSe.pmax&&Ee++;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos>Se.pmax-1&&(Bt.del=!0,Ee--);for(Lt=0;Lt=0;Et--)je[Et].dp-=et;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos+Bt.dp+Bt.size>Se.pmax&&(Bt.del=!0,Ee--)}}}for(;!rt&&Ue<=Ye;){for(Ue++,rt=!0,Lt=0;Lt.01){for(Et=Rr.length-1;Et>=0;Et--)Rr[Et].dp+=ot;for(ar.push.apply(ar,Rr),it.splice(Lt+1,1),qt=0,Et=ar.length-1;Et>=0;Et--)qt+=ar[Et].dp;for(et=qt/ar.length,Et=ar.length-1;Et>=0;Et--)ar[Et].dp-=et;rt=!1}else Lt++}it.forEach(fr)}for(Lt=it.length-1;Lt>=0;Lt--){var _t=it[Lt];for(Et=_t.length-1;Et>=0;Et--){var Be=_t[Et],Ke=Be.datum;Ke.offset=Be.dp,Ke.del=Be.del}}}function N(j,ee){var ie=0,ce=j.offset;return ee&&(ce*=-b,ie=j.offset*m),{x:ie,y:ce}}function U(j){var ee={start:1,end:-1,middle:0}[j.anchor],ie=ee*(v+u),ce=ie+ee*(j.txwidth+u),xe=j.anchor==="middle";return xe&&(ie-=j.tx2width/2,ce+=j.txwidth/2+u),{alignShift:ee,textShiftX:ie,text2ShiftX:ce}}function W(j,ee,ie,ce){var xe=function(Ue){return Ue*ie},Te=function(Ue){return Ue*ce};j.each(function(Ue){var Ie=H.select(this);if(Ue.del)return Ie.remove();var Ye=Ie.select("text.nums"),it=Ue.anchor,at=it==="end"?-1:1,tt=U(Ue),ut=N(Ue,ee),Me=ut.x,pe=ut.y,ue=it==="middle";Ie.select("path").attr("d",ue?"M-"+xe(Ue.bx/2+Ue.tx2width/2)+","+Te(pe-Ue.by/2)+"h"+xe(Ue.bx)+"v"+Te(Ue.by)+"h-"+xe(Ue.bx)+"Z":"M0,0L"+xe(at*v+Me)+","+Te(v+pe)+"v"+Te(Ue.by/2-v)+"h"+xe(at*Ue.bx)+"v-"+Te(Ue.by)+"H"+xe(at*v+Me)+"V"+Te(pe-v)+"Z");var Oe=Me+tt.textShiftX,rt=pe+Ue.ty0-Ue.by/2+u,ot=Ue.textAlign||"auto";ot!=="auto"&&(ot==="left"&&it!=="start"?(Ye.attr("text-anchor","start"),Oe=ue?-Ue.bx/2-Ue.tx2width/2+u:-Ue.bx-u):ot==="right"&&it!=="end"&&(Ye.attr("text-anchor","end"),Oe=ue?Ue.bx/2-Ue.tx2width/2-u:Ue.bx+u)),Ye.call(o.positionText,xe(Oe),Te(rt)),Ue.tx2width&&(Ie.select("text.name").call(o.positionText,xe(tt.text2ShiftX+tt.alignShift*u+Me),Te(pe+Ue.ty0-Ue.by/2+u)),Ie.select("rect").call(i.setRect,xe(tt.text2ShiftX+(tt.alignShift-1)*Ue.tx2width/2+Me),Te(pe-Ue.by/2-1),xe(Ue.tx2width),Te(Ue.by+2)))})}function Q(j,ee){var ie=j.index,ce=j.trace||{},xe=j.cd[0],Te=j.cd[ie]||{};function Ue(ut){return ut||g(ut)&&ut===0}var Ie=Array.isArray(ie)?function(ut,Me){var pe=A.castOption(xe,ie,ut);return Ue(pe)?pe:A.extractOption({},ce,"",Me)}:function(ut,Me){return A.extractOption(Te,ce,ut,Me)};function Ye(ut,Me,pe){var ue=Ie(Me,pe);Ue(ue)&&(j[ut]=ue)}if(Ye("hoverinfo","hi","hoverinfo"),Ye("bgcolor","hbg","hoverlabel.bgcolor"),Ye("borderColor","hbc","hoverlabel.bordercolor"),Ye("fontFamily","htf","hoverlabel.font.family"),Ye("fontSize","hts","hoverlabel.font.size"),Ye("fontColor","htc","hoverlabel.font.color"),Ye("fontWeight","htw","hoverlabel.font.weight"),Ye("fontStyle","hty","hoverlabel.font.style"),Ye("fontVariant","htv","hoverlabel.font.variant"),Ye("nameLength","hnl","hoverlabel.namelength"),Ye("textAlign","hta","hoverlabel.align"),j.posref=ee==="y"||ee==="closest"&&ce.orientation==="h"?j.xa._offset+(j.x0+j.x1)/2:j.ya._offset+(j.y0+j.y1)/2,j.x0=A.constrain(j.x0,0,j.xa._length),j.x1=A.constrain(j.x1,0,j.xa._length),j.y0=A.constrain(j.y0,0,j.ya._length),j.y1=A.constrain(j.y1,0,j.ya._length),j.xLabelVal!==void 0&&(j.xLabel="xLabel"in j?j.xLabel:c.hoverLabelText(j.xa,j.xLabelVal,ce.xhoverformat),j.xVal=j.xa.c2d(j.xLabelVal)),j.yLabelVal!==void 0&&(j.yLabel="yLabel"in j?j.yLabel:c.hoverLabelText(j.ya,j.yLabelVal,ce.yhoverformat),j.yVal=j.ya.c2d(j.yLabelVal)),j.zLabelVal!==void 0&&j.zLabel===void 0&&(j.zLabel=String(j.zLabelVal)),!isNaN(j.xerr)&&!(j.xa.type==="log"&&j.xerr<=0)){var it=c.tickText(j.xa,j.xa.c2l(j.xerr),"hover").text;j.xerrneg!==void 0?j.xLabel+=" +"+it+" / -"+c.tickText(j.xa,j.xa.c2l(j.xerrneg),"hover").text:j.xLabel+=" \xB1 "+it,ee==="x"&&(j.distance+=1)}if(!isNaN(j.yerr)&&!(j.ya.type==="log"&&j.yerr<=0)){var at=c.tickText(j.ya,j.ya.c2l(j.yerr),"hover").text;j.yerrneg!==void 0?j.yLabel+=" +"+at+" / -"+c.tickText(j.ya,j.ya.c2l(j.yerrneg),"hover").text:j.yLabel+=" \xB1 "+at,ee==="y"&&(j.distance+=1)}var tt=j.hoverinfo||j.trace.hoverinfo;return tt&&tt!=="all"&&(tt=Array.isArray(tt)?tt:tt.split("+"),tt.indexOf("x")===-1&&(j.xLabel=void 0),tt.indexOf("y")===-1&&(j.yLabel=void 0),tt.indexOf("z")===-1&&(j.zLabel=void 0),tt.indexOf("text")===-1&&(j.text=void 0),tt.indexOf("name")===-1&&(j.name=void 0)),j}function le(j,ee,ie){var ce=ie.container,xe=ie.fullLayout,Te=xe._size,Ue=ie.event,Ie=!!ee.hLinePoint,Ye=!!ee.vLinePoint,it,at;if(ce.selectAll(".spikeline").remove(),!!(Ye||Ie)){var tt=a.combine(xe.plot_bgcolor,xe.paper_bgcolor);if(Ie){var ut=ee.hLinePoint,Me,pe;it=ut&&ut.xa,at=ut&&ut.ya;var ue=at.spikesnap;ue==="cursor"?(Me=Ue.pointerX,pe=Ue.pointerY):(Me=it._offset+ut.x,pe=at._offset+ut.y);var Oe=x.readability(ut.color,tt)<1.5?a.contrast(tt):ut.color,rt=at.spikemode,ot=at.spikethickness,et=at.spikecolor||Oe,Lt=c.getPxPosition(j,at),Et,Bt;if(rt.indexOf("toaxis")!==-1||rt.indexOf("across")!==-1){if(rt.indexOf("toaxis")!==-1&&(Et=Lt,Bt=Me),rt.indexOf("across")!==-1){var qt=at._counterDomainMin,fr=at._counterDomainMax;at.anchor==="free"&&(qt=Math.min(qt,at.position),fr=Math.max(fr,at.position)),Et=Te.l+qt*Te.w,Bt=Te.l+fr*Te.w}ce.insert("line",":first-child").attr({x1:Et,x2:Bt,y1:pe,y2:pe,"stroke-width":ot,stroke:et,"stroke-dasharray":i.dashStyle(at.spikedash,ot)}).classed("spikeline",!0).classed("crisp",!0),ce.insert("line",":first-child").attr({x1:Et,x2:Bt,y1:pe,y2:pe,"stroke-width":ot+2,stroke:tt}).classed("spikeline",!0).classed("crisp",!0)}rt.indexOf("marker")!==-1&&ce.insert("circle",":first-child").attr({cx:Lt+(at.side!=="right"?ot:-ot),cy:pe,r:ot,fill:et}).classed("spikeline",!0)}if(Ye){var ar=ee.vLinePoint,Rr,gr;it=ar&&ar.xa,at=ar&&ar.ya;var br=it.spikesnap;br==="cursor"?(Rr=Ue.pointerX,gr=Ue.pointerY):(Rr=it._offset+ar.x,gr=at._offset+ar.y);var _t=x.readability(ar.color,tt)<1.5?a.contrast(tt):ar.color,Be=it.spikemode,Ke=it.spikethickness,je=it.spikecolor||_t,Se=c.getPxPosition(j,it),He,Ee;if(Be.indexOf("toaxis")!==-1||Be.indexOf("across")!==-1){if(Be.indexOf("toaxis")!==-1&&(He=Se,Ee=gr),Be.indexOf("across")!==-1){var we=it._counterDomainMin,Le=it._counterDomainMax;it.anchor==="free"&&(we=Math.min(we,it.position),Le=Math.max(Le,it.position)),He=Te.t+(1-Le)*Te.h,Ee=Te.t+(1-we)*Te.h}ce.insert("line",":first-child").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,"stroke-width":Ke,stroke:je,"stroke-dasharray":i.dashStyle(it.spikedash,Ke)}).classed("spikeline",!0).classed("crisp",!0),ce.insert("line",":first-child").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,"stroke-width":Ke+2,stroke:tt}).classed("spikeline",!0).classed("crisp",!0)}Be.indexOf("marker")!==-1&&ce.insert("circle",":first-child").attr({cx:Rr,cy:Se-(it.side!=="top"?Ke:-Ke),r:Ke,fill:je}).classed("spikeline",!0)}}}function se(j,ee,ie){if(!ie||ie.length!==j._hoverdata.length)return!0;for(var ce=ie.length-1;ce>=0;ce--){var xe=ie[ce],Te=j._hoverdata[ce];if(xe.curveNumber!==Te.curveNumber||String(xe.pointNumber)!==String(Te.pointNumber)||String(xe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function fe(j,ee){return!ee||ee.vLinePoint!==j._spikepoints.vLinePoint||ee.hLinePoint!==j._spikepoints.hLinePoint}function G(j,ee){return o.plainText(j||"",{len:ee,allowedTags:["br","sub","sup","b","i","em","s","u"]})}function $(j,ee){for(var ie=ee.charAt(0),ce=[],xe=[],Te=[],Ue=0;Ue"," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}}}),v_=ke({"src/components/shapes/draw_newshape/constants.js"(Z,H){"use strict";var g=32;H.exports={CIRCLE_SIDES:g,i000:0,i090:g/4,i180:g/2,i270:g/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}}}),p_=ke({"src/components/selections/helpers.js"(Z,H){"use strict";var g=un().strTranslate;function x(t,r){switch(t.type){case"log":return t.p2d(r);case"date":return t.p2r(r,0,t.calendar);default:return t.p2r(r)}}function A(t,r){switch(t.type){case"log":return t.d2p(r);case"date":return t.r2p(r,0,t.calendar);default:return t.r2p(r)}}function S(t){var r=t._id.charAt(0)==="y"?1:0;return function(o){return x(t,o[r])}}function e(t){return g(t.xaxis._offset,t.yaxis._offset)}H.exports={p2r:x,r2p:A,axValue:S,getTransform:e}}}),Op=ke({"src/components/shapes/draw_newshape/helpers.js"(Z){"use strict";var H=$y(),g=v_(),x=g.CIRCLE_SIDES,A=g.SQRT2,S=p_(),e=S.p2r,t=S.r2p,r=[0,3,4,5,6,1,2],o=[0,3,4,1,2];Z.writePaths=function(a){var s=a.length;if(!s)return"M0,0Z";for(var c="",h=0;h0&&_l&&(w="X"),w});return h>l&&(_=_.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+c)),p+_})}function S(e,t){t=t||0;var r=0;return t&&e&&(e.type==="category"||e.type==="multicategory")&&(r=(e.r2p(1)-e.r2p(0))*t),r}}}),s2=ke({"src/components/shapes/display_labels.js"(Z,H){"use strict";var g=un(),x=Ho(),A=Wl(),S=$o(),e=Op().readPaths,t=Bp(),r=t.getPathString,o=a_(),n=Yf().FROM_TL;H.exports=function(c,h,p,d){if(d.selectAll(".shape-label").remove(),!!(p.label.text||p.label.texttemplate)){var T;if(p.label.texttemplate){var l={};if(p.type!=="path"){var _=x.getFromId(c,p.xref),w=x.getFromId(c,p.yref);for(var M in o){var E=o[M](p,_,w);E!==void 0&&(l[M]=E)}}T=g.texttemplateStringForShapes(p.label.texttemplate,{},c._fullLayout._d3locale,l)}else T=p.label.text;var m={"data-index":h},b=p.label.font,v={"data-notex":1},u=d.append("g").attr(m).classed("shape-label",!0),y=u.append("text").attr(v).classed("shape-label-text",!0).text(T),f,P,L,z;if(p.path){var F=r(c,p),B=e(F,c);f=1/0,L=1/0,P=-1/0,z=-1/0;for(var O=0;O=s?d=c-p:d=p-c,-180/Math.PI*Math.atan2(d,T)}function a(s,c,h,p,d,T,l){var _=d.label.textposition,w=d.label.textangle,M=d.label.padding,E=d.type,m=Math.PI/180*T,b=Math.sin(m),v=Math.cos(m),u=d.label.xanchor,y=d.label.yanchor,f,P,L,z;if(E==="line"){_==="start"?(f=s,P=c):_==="end"?(f=h,P=p):(f=(s+h)/2,P=(c+p)/2),u==="auto"&&(_==="start"?w==="auto"?h>s?u="left":hs?u="right":hs?u="right":hs?u="left":h1&&!(tt.length===2&&tt[1][0]==="Z")&&(G===0&&(tt[0][0]="M"),f[fe]=tt,B(),O())}}function ce(tt,ut){if(tt===2){fe=+ut.srcElement.getAttribute("data-i"),G=+ut.srcElement.getAttribute("data-j");var Me=f[fe];!T(Me)&&!l(Me)&&ie()}}function xe(tt){le=[];for(var ut=0;utB&&we>O&&!Se.shiftKey?s.getCursor(Le/Ee,1-nt/we):"move";c(f,pt),Et=pt.split("-")[0]}}function ar(Se){l(y)||(I&&($=ue(P.xanchor)),N&&(J=Oe(P.yanchor)),P.type==="path"?Te=P.path:(le=I?P.x0:ue(P.x0),se=N?P.y0:Oe(P.y0),fe=I?P.x1:ue(P.x1),G=N?P.y1:Oe(P.y1)),leG?(X=se,ee="y0",re=G,ie="y1"):(X=G,ee="y1",re=se,ie="y0"),fr(Se),Be(z,P),je(f,P,y),Lt.moveFn=Et==="move"?br:_t,Lt.altKey=Se.altKey)}function Rr(){l(y)||(c(f),Ke(z),M(f,y,P),x.call("_guiRelayout",y,F.getUpdateObj()))}function gr(){l(y)||Ke(z)}function br(Se,He){if(P.type==="path"){var Ee=function(nt){return nt},we=Ee,Le=Ee;I?Q("xanchor",P.xanchor=rt($+Se)):(we=function(pt){return rt(ue(pt)+Se)},Ie&&Ie.type==="date"&&(we=p.encodeDate(we))),N?Q("yanchor",P.yanchor=ot(J+He)):(Le=function(pt){return ot(Oe(pt)+He)},it&&it.type==="date"&&(Le=p.encodeDate(Le))),Q("path",P.path=m(Te,we,Le))}else I?Q("xanchor",P.xanchor=rt($+Se)):(Q("x0",P.x0=rt(le+Se)),Q("x1",P.x1=rt(fe+Se))),N?Q("yanchor",P.yanchor=ot(J+He)):(Q("y0",P.y0=ot(se+He)),Q("y1",P.y1=ot(G+He)));f.attr("d",d(y,P)),Be(z,P),r(y,L,P,Ue)}function _t(Se,He){if(W){var Ee=function(zn){return zn},we=Ee,Le=Ee;I?Q("xanchor",P.xanchor=rt($+Se)):(we=function(Qn){return rt(ue(Qn)+Se)},Ie&&Ie.type==="date"&&(we=p.encodeDate(we))),N?Q("yanchor",P.yanchor=ot(J+He)):(Le=function(Qn){return ot(Oe(Qn)+He)},it&&it.type==="date"&&(Le=p.encodeDate(Le))),Q("path",P.path=m(Te,we,Le))}else if(U){if(Et==="resize-over-start-point"){var nt=le+Se,pt=N?se-He:se+He;Q("x0",P.x0=I?nt:rt(nt)),Q("y0",P.y0=N?pt:ot(pt))}else if(Et==="resize-over-end-point"){var bt=fe+Se,Rt=N?G-He:G+He;Q("x1",P.x1=I?bt:rt(bt)),Q("y1",P.y1=N?Rt:ot(Rt))}}else{var Nt=function(zn){return Et.indexOf(zn)!==-1},Xt=Nt("n"),$t=Nt("s"),ur=Nt("w"),pn=Nt("e"),Rn=Xt?X+He:X,Nn=$t?re+He:re,On=ur?ae+Se:ae,ni=pn?j+Se:j;N&&(Xt&&(Rn=X-He),$t&&(Nn=re-He)),(!N&&Nn-Rn>O||N&&Rn-Nn>O)&&(Q(ee,P[ee]=N?Rn:ot(Rn)),Q(ie,P[ie]=N?Nn:ot(Nn))),ni-On>B&&(Q(ce,P[ce]=I?On:rt(On)),Q(xe,P[xe]=I?ni:rt(ni)))}f.attr("d",d(y,P)),Be(z,P),r(y,L,P,Ue)}function Be(Se,He){(I||N)&&Ee();function Ee(){var we=He.type!=="path",Le=Se.selectAll(".visual-cue").data([0]),nt=1;Le.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":nt}).classed("visual-cue",!0);var pt=ue(I?He.xanchor:A.midRange(we?[He.x0,He.x1]:p.extractPathCoords(He.path,h.paramIsX))),bt=Oe(N?He.yanchor:A.midRange(we?[He.y0,He.y1]:p.extractPathCoords(He.path,h.paramIsY)));if(pt=p.roundPositionForSharpStrokeRendering(pt,nt),bt=p.roundPositionForSharpStrokeRendering(bt,nt),I&&N){var Rt="M"+(pt-1-nt)+","+(bt-1-nt)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";Le.attr("d",Rt)}else if(I){var Nt="M"+(pt-1-nt)+","+(bt-9-nt)+"v18 h2 v-18 Z";Le.attr("d",Nt)}else{var Xt="M"+(pt-9-nt)+","+(bt-1-nt)+"h18 v2 h-18 Z";Le.attr("d",Xt)}}}function Ke(Se){Se.selectAll(".visual-cue").remove()}function je(Se,He,Ee){var we=He.xref,Le=He.yref,nt=S.getFromId(Ee,we),pt=S.getFromId(Ee,Le),bt="";we!=="paper"&&!nt.autorange&&(bt+=we),Le!=="paper"&&!pt.autorange&&(bt+=Le),i.setClipUrl(Se,bt?"clip"+Ee._fullLayout._uid+bt:null,Ee)}}function m(y,f,P){return y.replace(h.segmentRE,function(L){var z=0,F=L.charAt(0),B=h.paramIsX[F],O=h.paramIsY[F],I=h.numParams[F],N=L.substr(1).replace(h.paramRE,function(U){return z>=I||(B[z]?U=f(U):O[z]&&(U=P(U)),z++),U});return F+N})}function b(y,f){if(_(y)){var P=f.node(),L=+P.getAttribute("data-index");if(L>=0){if(L===y._fullLayout._activeShapeIndex){v(y);return}y._fullLayout._activeShapeIndex=L,y._fullLayout._deactivateShape=v,T(y)}}}function v(y){if(_(y)){var f=y._fullLayout._activeShapeIndex;f>=0&&(o(y),delete y._fullLayout._activeShapeIndex,T(y))}}function u(y){if(_(y)){o(y);var f=y._fullLayout._activeShapeIndex,P=(y.layout||{}).shapes||[];if(f1?(se=["toggleHover"],fe=["resetViews"]):u?(le=["zoomInGeo","zoomOutGeo"],se=["hoverClosestGeo"],fe=["resetGeo"]):v?(se=["hoverClosest3d"],fe=["resetCameraDefault3d","resetCameraLastSave3d"]):L?(le=["zoomInMapbox","zoomOutMapbox"],se=["toggleHover"],fe=["resetViewMapbox"]):z?(le=["zoomInMap","zoomOutMap"],se=["toggleHover"],fe=["resetViewMap"]):y?se=["hoverClosestPie"]:O?(se=["hoverClosestCartesian","hoverCompareCartesian"],fe=["resetViewSankey"]):se=["toggleHover"],b&&se.push("toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"),(s(T)||N)&&(se=[]),b&&!I&&(le=["zoomIn2d","zoomOut2d","autoScale2d"],fe[0]!=="resetViews"&&(fe=["resetScale2d"])),v?G=["zoom3d","pan3d","orbitRotation","tableRotation"]:b&&!I||P?G=["zoom2d","pan2d"]:L||z||u?G=["pan2d"]:F&&(G=["zoom2d"]),a(T)&&G.push("select2d","lasso2d");var $=[],J=function(j){$.indexOf(j)===-1&&se.indexOf(j)!==-1&&$.push(j)};if(Array.isArray(E)){for(var X=[],re=0;rew?T.substr(w):l.substr(_))+M}function c(p,d){for(var T=d._size,l=T.h/T.w,_={},w=Object.keys(p),M=0;Mt*P&&!B)){for(w=0;wG&&iese&&(se=ie);var xe=(se-le)/(2*fe);u/=xe,le=m.l2r(le),se=m.l2r(se),m.range=m._input.range=U=O[1]||W[1]<=O[0])&&Q[0]I[0])return!0}return!1}function M(O){var I=O._fullLayout,N=I._size,U=N.p,W=i.list(O,"",!0),Q,le,se,fe,G,$;if(I._paperdiv.style({width:O._context.responsive&&I.autosize&&!O._context._hasZeroWidth&&!O.layout.width?"100%":I.width+"px",height:O._context.responsive&&I.autosize&&!O._context._hasZeroHeight&&!O.layout.height?"100%":I.height+"px"}).selectAll(".main-svg").call(r.setSize,I.width,I.height),O._context.setBackground(O,I.paper_bgcolor),Z.drawMainTitle(O),n.manage(O),!I._has("cartesian"))return x.previousPromises(O);function J(je,Se,He){var Ee=je._lw/2;if(je._id.charAt(0)==="x"){if(Se){if(He==="top")return Se._offset-U-Ee}else return N.t+N.h*(1-(je.position||0))+Ee%1;return Se._offset+Se._length+U+Ee}if(Se){if(He==="right")return Se._offset+Se._length+U+Ee}else return N.l+N.w*(je.position||0)+Ee%1;return Se._offset-U-Ee}for(Q=0;Q0){f(O,Q,G,fe),se.attr({x:le,y:Q,"text-anchor":U,dy:z(I.yanchor)}).call(S.positionText,le,Q);var $=(I.text.match(S.BR_TAG_ALL)||[]).length;if($){var J=a.LINE_SPACING*$+a.MID_SHIFT;I.y===0&&(J=-J),se.selectAll(".line").each(function(){var ee=+this.getAttribute("dy").slice(0,-2)-J+"em";this.setAttribute("dy",ee)})}var X=H.selectAll(".gtitle-subtitle");if(X.node()){var re=se.node().getBBox(),ae=re.y+re.height,j=ae+o.SUBTITLE_PADDING_EM*I.subtitle.font.size;X.attr({x:le,y:j,"text-anchor":U,dy:z(I.yanchor)}).call(S.positionText,le,j)}}}};function v(O,I,N,U,W){var Q=I.yref==="paper"?O._fullLayout._size.h:O._fullLayout.height,le=A.isTopAnchor(I)?U:U-W,se=N==="b"?Q-le:le;return A.isTopAnchor(I)&&N==="t"||A.isBottomAnchor(I)&&N==="b"?!1:se.5?"t":"b",le=O._fullLayout.margin[Q],se=0;return I.yref==="paper"?se=N+I.pad.t+I.pad.b:I.yref==="container"&&(se=u(Q,U,W,O._fullLayout.height,N)+I.pad.t+I.pad.b),se>le?se:0}function f(O,I,N,U){var W="title.automargin",Q=O._fullLayout.title,le=Q.y>.5?"t":"b",se={x:Q.x,y:Q.y,t:0,b:0},fe={};Q.yref==="paper"&&v(O,Q,le,I,U)?se[le]=N:Q.yref==="container"&&(fe[le]=N,O._fullLayout._reservedMargin[W]=fe),x.allowAutoMargin(O,W),x.autoMargin(O,W,se)}function P(O,I){var N=O.title,U=O._size,W=0;switch(I===d?W=N.pad.l:I===l&&(W=-N.pad.r),N.xref){case"paper":return U.l+U.w*N.x+W;case"container":default:return O.width*N.x+W}}function L(O,I){var N=O.title,U=O._size,W=0;if(I==="0em"||!I?W=-N.pad.b:I===a.CAP_SHIFT+"em"&&(W=N.pad.t),N.y==="auto")return U.t/2;switch(N.yref){case"paper":return U.t+U.h-U.h*N.y+W;case"container":default:return O.height-O.height*N.y+W}}function z(O){return O==="top"?a.CAP_SHIFT+.3+"em":O==="bottom"?"-0.3em":a.MID_SHIFT+"em"}function F(O){var I=O.title,N=T;return A.isRightAnchor(I)?N=l:A.isLeftAnchor(I)&&(N=d),N}function B(O){var I=O.title,N="0em";return A.isTopAnchor(I)?N=a.CAP_SHIFT+"em":A.isMiddleAnchor(I)&&(N=a.MID_SHIFT+"em"),N}Z.doTraceStyle=function(O){var I=O.calcdata,N=[],U;for(U=0;U=0;F--){var B=E.append("path").attr(b).style("opacity",F?.1:v).call(S.stroke,y).call(S.fill,u).call(e.dashLine,F?"solid":P,F?4+f:f);if(s(B,d,_),L){var O=t(d.layout,"selections",_);B.style({cursor:"move"});var I={element:B.node(),plotinfo:w,gd:d,editHelpers:O,isActiveSelection:!0},N=g(m,d);x(N,B,I)}else B.style("pointer-events",F?"all":"none");z[F]=B}var U=z[0],W=z[1];W.node().addEventListener("click",function(){return c(d,U)})}}function s(d,T,l){var _=l.xref+l.yref;e.setClipUrl(d,"clip"+T._fullLayout._uid+_,T)}function c(d,T){if(i(d)){var l=T.node(),_=+l.getAttribute("data-index");if(_>=0){if(_===d._fullLayout._activeSelectionIndex){p(d);return}d._fullLayout._activeSelectionIndex=_,d._fullLayout._deactivateSelection=p,n(d)}}}function h(d){if(i(d)){var T=d._fullLayout.selections.length-1;d._fullLayout._activeSelectionIndex=T,d._fullLayout._deactivateSelection=p,n(d)}}function p(d){if(i(d)){var T=d._fullLayout._activeSelectionIndex;T>=0&&(A(d),delete d._fullLayout._activeSelectionIndex,n(d))}}}}),u5=ke({"node_modules/polybooljs/lib/build-log.js"(Z,H){function g(){var x,A=0,S=!1;function e(t,r){return x.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),x}return x={list:[],segmentId:function(){return A++},checkIntersection:function(t,r){return e("check",{seg1:t,seg2:r})},segmentChop:function(t,r){return e("div_seg",{seg:t,pt:r}),e("chop",{seg:t,pt:r})},statusRemove:function(t){return e("pop_seg",{seg:t})},segmentUpdate:function(t){return e("seg_update",{seg:t})},segmentNew:function(t,r){return e("new_seg",{seg:t,primary:r})},segmentRemove:function(t){return e("rem_seg",{seg:t})},tempStatus:function(t,r,o){return e("temp_status",{seg:t,above:r,below:o})},rewind:function(t){return e("rewind",{seg:t})},status:function(t,r,o){return e("status",{seg:t,above:r,below:o})},vert:function(t){return t===S?x:(S=t,e("vert",{x:t}))},log:function(t){return typeof t!="string"&&(t=JSON.stringify(t,!1," ")),e("log",{txt:t})},reset:function(){return e("reset")},selected:function(t){return e("selected",{segs:t})},chainStart:function(t){return e("chain_start",{seg:t})},chainRemoveHead:function(t,r){return e("chain_rem_head",{index:t,pt:r})},chainRemoveTail:function(t,r){return e("chain_rem_tail",{index:t,pt:r})},chainNew:function(t,r){return e("chain_new",{pt1:t,pt2:r})},chainMatch:function(t){return e("chain_match",{index:t})},chainClose:function(t){return e("chain_close",{index:t})},chainAddHead:function(t,r){return e("chain_add_head",{index:t,pt:r})},chainAddTail:function(t,r){return e("chain_add_tail",{index:t,pt:r})},chainConnect:function(t,r){return e("chain_con",{index1:t,index2:r})},chainReverse:function(t){return e("chain_rev",{index:t})},chainJoin:function(t,r){return e("chain_join",{index1:t,index2:r})},done:function(){return e("done")}},x}H.exports=g}}),c5=ke({"node_modules/polybooljs/lib/epsilon.js"(Z,H){function g(x){typeof x!="number"&&(x=1e-10);var A={epsilon:function(S){return typeof S=="number"&&(x=S),x},pointAboveOrOnLine:function(S,e,t){var r=e[0],o=e[1],n=t[0],i=t[1],a=S[0],s=S[1];return(n-r)*(s-o)-(i-o)*(a-r)>=-x},pointBetween:function(S,e,t){var r=S[1]-e[1],o=t[0]-e[0],n=S[0]-e[0],i=t[1]-e[1],a=n*o+r*i;if(a-x)},pointsSameX:function(S,e){return Math.abs(S[0]-e[0])x!=n-r>x&&(o-s)*(r-c)/(n-c)+s-t>x&&(i=!i),o=s,n=c}return i}};return A}H.exports=g}}),f5=ke({"node_modules/polybooljs/lib/linked-list.js"(Z,H){var g={create:function(){var x={root:{root:!0,next:null},exists:function(A){return!(A===null||A===x.root)},isEmpty:function(){return x.root.next===null},getHead:function(){return x.root.next},insertBefore:function(A,S){for(var e=x.root,t=x.root.next;t!==null;){if(S(t)){A.prev=t.prev,A.next=t,t.prev.next=A,t.prev=A;return}e=t,t=t.next}e.next=A,A.prev=e,A.next=null},findTransition:function(A){for(var S=x.root,e=x.root.next;e!==null&&!A(e);)S=e,e=e.next;return{before:S===x.root?null:S,after:e,insert:function(t){return t.prev=S,t.next=e,S.next=t,e!==null&&(e.prev=t),t}}}};return x},node:function(x){return x.prev=null,x.next=null,x.remove=function(){x.prev.next=x.next,x.next&&(x.next.prev=x.prev),x.prev=null,x.next=null},x}};H.exports=g}}),h5=ke({"node_modules/polybooljs/lib/intersecter.js"(Z,H){var g=f5();function x(A,S,e){function t(T,l){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:null,below:null},otherFill:null}}function r(T,l,_){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:_.myFill.above,below:_.myFill.below},otherFill:null}}var o=g.create();function n(T,l,_,w,M,E){var m=S.pointsCompare(l,M);return m!==0?m:S.pointsSame(_,E)?0:T!==w?T?1:-1:S.pointAboveOrOnLine(_,w?M:E,w?E:M)?1:-1}function i(T,l){o.insertBefore(T,function(_){var w=n(T.isStart,T.pt,l,_.isStart,_.pt,_.other.pt);return w<0})}function a(T,l){var _=g.node({isStart:!0,pt:T.start,seg:T,primary:l,other:null,status:null});return i(_,T.end),_}function s(T,l,_){var w=g.node({isStart:!1,pt:l.end,seg:l,primary:_,other:T,status:null});T.other=w,i(w,T.pt)}function c(T,l){var _=a(T,l);return s(_,T,l),_}function h(T,l){e&&e.segmentChop(T.seg,l),T.other.remove(),T.seg.end=l,T.other.pt=l,i(T.other,T.pt)}function p(T,l){var _=r(l,T.seg.end,T.seg);return h(T,l),c(_,T.primary)}function d(T,l){var _=g.create();function w(O,I){var N=O.seg.start,U=O.seg.end,W=I.seg.start,Q=I.seg.end;return S.pointsCollinear(N,W,Q)?S.pointsCollinear(U,W,Q)||S.pointAboveOrOnLine(U,W,Q)?1:-1:S.pointAboveOrOnLine(N,W,Q)?1:-1}function M(O){return _.findTransition(function(I){var N=w(O,I.ev);return N>0})}function E(O,I){var N=O.seg,U=I.seg,W=N.start,Q=N.end,le=U.start,se=U.end;e&&e.checkIntersection(N,U);var fe=S.linesIntersect(W,Q,le,se);if(fe===!1){if(!S.pointsCollinear(W,Q,le)||S.pointsSame(W,se)||S.pointsSame(Q,le))return!1;var G=S.pointsSame(W,le),$=S.pointsSame(Q,se);if(G&&$)return I;var J=!G&&S.pointBetween(W,le,se),X=!$&&S.pointBetween(Q,le,se);if(G)return X?p(I,Q):p(O,se),I;J&&($||(X?p(I,Q):p(O,se)),p(I,W))}else fe.alongA===0&&(fe.alongB===-1?p(O,le):fe.alongB===0?p(O,fe.pt):fe.alongB===1&&p(O,se)),fe.alongB===0&&(fe.alongA===-1?p(I,W):fe.alongA===0?p(I,fe.pt):fe.alongA===1&&p(I,Q));return!1}for(var m=[];!o.isEmpty();){var b=o.getHead();if(e&&e.vert(b.pt[0]),b.isStart){let O=function(){if(y){var I=E(b,y);if(I)return I}return f?E(b,f):!1};var v=O;e&&e.segmentNew(b.seg,b.primary);var u=M(b),y=u.before?u.before.ev:null,f=u.after?u.after.ev:null;e&&e.tempStatus(b.seg,y?y.seg:!1,f?f.seg:!1);var P=O();if(P){if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,L&&(P.seg.myFill.above=!P.seg.myFill.above)}else P.seg.otherFill=b.seg.myFill;e&&e.segmentUpdate(P.seg),b.other.remove(),b.remove()}if(o.getHead()!==b){e&&e.rewind(b.seg);continue}if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,f?b.seg.myFill.below=f.seg.myFill.above:b.seg.myFill.below=T,L?b.seg.myFill.above=!b.seg.myFill.below:b.seg.myFill.above=b.seg.myFill.below}else if(b.seg.otherFill===null){var z;f?b.primary===f.primary?z=f.seg.otherFill.above:z=f.seg.myFill.above:z=b.primary?l:T,b.seg.otherFill={above:z,below:z}}e&&e.status(b.seg,y?y.seg:!1,f?f.seg:!1),b.other.status=u.insert(g.node({ev:b}))}else{var F=b.status;if(F===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(_.exists(F.prev)&&_.exists(F.next)&&E(F.prev.ev,F.next.ev),e&&e.statusRemove(F.ev.seg),F.remove(),!b.primary){var B=b.seg.myFill;b.seg.myFill=b.seg.otherFill,b.seg.otherFill=B}m.push(b.seg)}o.getHead().remove()}return e&&e.done(),m}return A?{addRegion:function(T){for(var l,_=T[T.length-1],w=0;wr!=p>r&&t<(h-s)*(r-c)/(p-c)+s;d&&(o=!o)}return o}}}),n0=ke({"src/lib/polygon.js"(Z,H){"use strict";var g=i_().dot,x=Hi().BADNUM,A=H.exports={};A.tester=function(e){var t=e.slice(),r=t[0][0],o=r,n=t[0][1],i=n,a;for((t[t.length-1][0]!==t[0][0]||t[t.length-1][1]!==t[0][1])&&t.push(t[0]),a=1;ao||M===x||Mi||_&&c(l))}function p(l,_){var w=l[0],M=l[1];if(w===x||wo||M===x||Mi)return!1;var E=t.length,m=t[0][0],b=t[0][1],v=0,u,y,f,P,L;for(u=1;uMath.max(y,m)||M>Math.max(f,b)))if(Ma||Math.abs(g(p,c))>o)return!0;return!1},A.filter=function(e,t){var r=[e[0]],o=0,n=0;function i(s){e.push(s);var c=r.length,h=o;r.splice(n+1);for(var p=h+1;p1){var a=e.pop();i(a)}return{addPt:i,raw:e,filtered:r}}}}),y5=ke({"src/components/selections/constants.js"(Z,H){"use strict";H.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:"-select"}}}),_5=ke({"src/components/selections/select.js"(Z,H){"use strict";var g=m5(),x=g5(),A=lo(),S=$o().dashStyle,e=eo(),t=Ec(),r=gd().makeEventData,o=cv(),n=o.freeMode,i=o.rectMode,a=o.drawMode,s=o.openMode,c=o.selectMode,h=Bp(),p=t0(),d=g_(),T=Rp().clearOutline,l=Op(),_=l.handleEllipse,w=l.readPaths,M=m_().newShapes,E=o2(),m=d2().activateLastSelection,b=un(),v=b.sorterAsc,u=n0(),y=l_(),f=qc().getFromId,P=e0(),L=r0().redrawReglTraces,z=y5(),F=z.MINSELECT,B=u.filter,O=u.tester,I=p_(),N=I.p2r,U=I.axValue,W=I.getTransform;function Q(Be){return Be.subplot!==void 0}function le(Be,Ke,je,Se,He){var Ee=!Q(Se),we=n(He),Le=i(He),nt=s(He),pt=a(He),bt=c(He),Rt=He==="drawline",Nt=He==="drawcircle",Xt=Rt||Nt,$t=Se.gd,ur=$t._fullLayout,pn=bt&&ur.newselection.mode==="immediate"&&Ee,Rn=ur._zoomlayer,Nn=Se.element.getBoundingClientRect(),On=Se.plotinfo,ni=W(On),zn=Ke-Nn.left,Qn=je-Nn.top;ur._calcInverseTransform($t);var gi=b.apply3DTransform(ur._invTransform)(zn,Qn);zn=gi[0],Qn=gi[1];var Zt=ur._invScaleX,Ft=ur._invScaleY,Ht=zn,Vt=Qn,wr="M"+zn+","+Qn,$r=Se.xaxes[0],xn=Se.yaxes[0],en=$r._length,Fn=xn._length,Wn=Be.altKey&&!(a(He)&&nt),ri,Sn,ui,gt,yt,Pr,Ir;X(Be,$t,Se),we&&(ri=B([[zn,Qn]],z.BENDPX));var Tr=Rn.selectAll("path.select-outline-"+On.id).data([1]),Mr=pt?ur.newshape:ur.newselection;pt&&(Se.hasText=Mr.label.text||Mr.label.texttemplate);var Lr=pt&&!nt?Mr.fillcolor:"rgba(0,0,0,0)",Ur=Mr.line.color||(Ee?e.contrast($t._fullLayout.plot_bgcolor):"#7f7f7f");Tr.enter().append("path").attr("class","select-outline select-outline-"+On.id).style({opacity:pt?Mr.opacity/2:1,"stroke-dasharray":S(Mr.line.dash,Mr.line.width),"stroke-width":Mr.line.width+"px","shape-rendering":"crispEdges"}).call(e.stroke,Ur).call(e.fill,Lr).attr("fill-rule","evenodd").classed("cursor-move",!!pt).attr("transform",ni).attr("d",wr+"Z");var Dr=Rn.append("path").attr("class","zoombox-corners").style({fill:e.background,stroke:e.defaultLine,"stroke-width":1}).attr("transform",ni).attr("d","M0,0Z");if(pt&&Se.hasText){var nn=Rn.select(".label-temp");nn.empty()&&(nn=Rn.append("g").classed("label-temp",!0).classed("select-outline",!0).style({opacity:.8}))}var vn=ur._uid+z.SELECTID,gn=[],kt=ie($t,Se.xaxes,Se.yaxes,Se.subplot);pn&&!Be.shiftKey&&(Se._clearSubplotSelections=function(){if(Ee){var yr=$r._id,on=xn._id;ot($t,yr,on,kt);for(var An=($t.layout||{}).selections||[],Zn=[],Bn=!1,wn=0;wn=0){$t._fullLayout._deactivateShape($t);return}if(!pt){var An=ur.clickmode;y.done(vn).then(function(){if(y.clear(vn),yr===2){for(Tr.remove(),yt=0;yt-1&&se(on,$t,Se.xaxes,Se.yaxes,Se.subplot,Se,Tr),An==="event"&&br($t,void 0);t.click($t,on,On.id)}).catch(b.error)}},Se.doneFn=function(){Dr.remove(),y.done(vn).then(function(){y.clear(vn),!pn&>&&Se.selectionDefs&&(gt.subtract=Wn,Se.selectionDefs.push(gt),Se.mergedPolygons.length=0,[].push.apply(Se.mergedPolygons,ui)),(pn||pt)&&j(Se,pn),Se.doneFnCompleted&&Se.doneFnCompleted(gn),bt&&br($t,Ir)}).catch(b.error)}}function se(Be,Ke,je,Se,He,Ee,we){var Le=Ke._hoverdata,nt=Ke._fullLayout,pt=nt.clickmode,bt=pt.indexOf("event")>-1,Rt=[],Nt,Xt,$t,ur,pn,Rn,Nn,On,ni,zn;if(xe(Le)){X(Be,Ke,Ee),Nt=ie(Ke,je,Se,He);var Qn=Te(Le,Nt),gi=Qn.pointNumbers.length>0;if(gi?Ie(Nt,Qn):Ye(Nt)&&(Nn=Ue(Qn))){for(we&&we.remove(),zn=0;zn=0}function ae(Be){return Be._fullLayout._activeSelectionIndex>=0}function j(Be,Ke){var je=Be.dragmode,Se=Be.plotinfo,He=Be.gd;re(He)&&He._fullLayout._deactivateShape(He),ae(He)&&He._fullLayout._deactivateSelection(He);var Ee=He._fullLayout,we=Ee._zoomlayer,Le=a(je),nt=c(je);if(Le||nt){var pt=we.selectAll(".select-outline-"+Se.id);if(pt&&He._fullLayout._outlining){var bt;Le&&(bt=M(pt,Be)),bt&&A.call("_guiRelayout",He,{shapes:bt});var Rt;nt&&!Q(Be)&&(Rt=E(pt,Be)),Rt&&(He._fullLayout._noEmitSelectedAtStart=!0,A.call("_guiRelayout",He,{selections:Rt}).then(function(){Ke&&m(He)})),He._fullLayout._outlining=!1}}Se.selection={},Se.selection.selectionDefs=Be.selectionDefs=[],Se.selection.mergedPolygons=Be.mergedPolygons=[]}function ee(Be){return Be._id}function ie(Be,Ke,je,Se){if(!Be.calcdata)return[];var He=[],Ee=Ke.map(ee),we=je.map(ee),Le,nt,pt;for(pt=0;pt0,Ee=He?Se[0]:je;return Ke.selectedpoints?Ke.selectedpoints.indexOf(Ee)>-1:!1}function Ie(Be,Ke){var je=[],Se,He,Ee,we;for(we=0;we0&&je.push(Se);if(je.length===1&&(Ee=je[0]===Ke.searchInfo,Ee&&(He=Ke.searchInfo.cd[0].trace,He.selectedpoints.length===Ke.pointNumbers.length))){for(we=0;we1||(Ke+=Se.selectedpoints.length,Ke>1)))return!1;return Ke===1}function it(Be,Ke,je){var Se;for(Se=0;Se-1&&Ke;if(!we&&Ke){var yr=Lt(Be,!0);if(yr.length){var on=yr[0].xref,An=yr[0].yref;if(on&&An){var Zn=qt(yr),Bn=ar([f(Be,on,"x"),f(Be,An,"y")]);Bn(gn,Zn)}}Be._fullLayout._noEmitSelectedAtStart?Be._fullLayout._noEmitSelectedAtStart=!1:or&&br(Be,gn),Nt._reselect=!1}if(!we&&Nt._deselect){var wn=Nt._deselect;Le=wn.xref,nt=wn.yref,rt(Le,nt,bt)||ot(Be,Le,nt,Se),or&&(gn.points.length?br(Be,gn):_t(Be)),Nt._deselect=!1}return{eventData:gn,selectionTesters:je}}function Oe(Be){var Ke=Be.calcdata;if(Ke)for(var je=0;je=0){Lr._fullLayout._deactivateShape(Lr);return}var Ur=Lr._fullLayout.clickmode;if($(Lr),Tr===2&&!Me&&Sn(),ut)Ur.indexOf("select")>-1&&v(Mr,Lr,ot,et,xe.id,bt),Ur.indexOf("event")>-1&&a.click(Lr,Mr,xe.id);else if(Tr===1&&Me){var Dr=it?ue:pe,nn=it==="s"||at==="w"?0:1,vn=Dr._name+".range["+nn+"]",gn=I(Dr,nn),kt="left",or="middle";if(Dr.fixedrange)return;it?(or=it==="n"?"top":"bottom",Dr.side==="right"&&(kt="right")):at==="e"&&(kt="right"),Lr._context.showAxisRangeEntryBoxes&&g.select(pt).call(o.makeEditable,{gd:Lr,immediate:!0,background:Lr._fullLayout.paper_bgcolor,text:String(gn),fill:Dr.tickfont?Dr.tickfont.color:"#444",horizontalAlign:kt,verticalAlign:or}).on("edit",function(yr){var on=Dr.d2r(yr);on!==void 0&&t.call("_guiRelayout",Lr,vn,on)})}}h.init(bt);var Xt,$t,ur,pn,Rn,Nn,On,ni,zn,Qn;function gi(Tr,Mr,Lr){var Ur=pt.getBoundingClientRect();Xt=Mr-Ur.left,$t=Lr-Ur.top,ce._fullLayout._calcInverseTransform(ce);var Dr=x.apply3DTransform(ce._fullLayout._invTransform)(Xt,$t);Xt=Dr[0],$t=Dr[1],ur={l:Xt,r:Xt,w:0,t:$t,b:$t,h:0},pn=ce._hmpixcount?ce._hmlumcount/ce._hmpixcount:S(ce._fullLayout.plot_bgcolor).getLuminance(),Rn="M0,0H"+Bt+"V"+qt+"H0V0",Nn=!1,On="xy",Qn=!1,ni=le(tt,pn,Lt,Et,Rn),zn=se(tt,Lt,Et)}function Zt(Tr,Mr){if(ce._transitioningWithDuration)return!1;var Lr=Math.max(0,Math.min(Bt,Ee*Tr+Xt)),Ur=Math.max(0,Math.min(qt,we*Mr+$t)),Dr=Math.abs(Lr-Xt),nn=Math.abs(Ur-$t);ur.l=Math.min(Xt,Lr),ur.r=Math.max(Xt,Lr),ur.t=Math.min($t,Ur),ur.b=Math.max($t,Ur);function vn(){On="",ur.r=ur.l,ur.t=ur.b,zn.attr("d","M0,0Z")}if(fr.isSubplotConstrained)Dr>P||nn>P?(On="xy",Dr/Bt>nn/qt?(nn=Dr*qt/Bt,$t>Ur?ur.t=$t-nn:ur.b=$t+nn):(Dr=nn*Bt/qt,Xt>Lr?ur.l=Xt-Dr:ur.r=Xt+Dr),zn.attr("d",ae(ur))):vn();else if(ar.isSubplotConstrained)if(Dr>P||nn>P){On="xy";var gn=Math.min(ur.l/Bt,(qt-ur.b)/qt),kt=Math.max(ur.r/Bt,(qt-ur.t)/qt);ur.l=gn*Bt,ur.r=kt*Bt,ur.b=(1-gn)*qt,ur.t=(1-kt)*qt,zn.attr("d",ae(ur))}else vn();else!gr||nn0){var yr;if(ar.isSubplotConstrained||!Rr&&gr.length===1){for(yr=0;yr1&&(vn.maxallowed!==void 0&&_t===(vn.range[0]1&&(gn.maxallowed!==void 0&&Be===(gn.range[0]=0?Math.min(ce,.9):1/(1/Math.max(ce,-.3)+3.222))}function Q(ce,xe,Te){return ce?ce==="nsew"?Te?"":xe==="pan"?"move":"crosshair":ce.toLowerCase()+"-resize":"pointer"}function le(ce,xe,Te,Ue,Ie){return ce.append("path").attr("class","zoombox").style({fill:xe>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",r(Te,Ue)).attr("d",Ie+"Z")}function se(ce,xe,Te){return ce.append("path").attr("class","zoombox-corners").style({fill:n.background,stroke:n.defaultLine,"stroke-width":1,opacity:0}).attr("transform",r(xe,Te)).attr("d","M0,0Z")}function fe(ce,xe,Te,Ue,Ie,Ye){ce.attr("d",Ue+"M"+Te.l+","+Te.t+"v"+Te.h+"h"+Te.w+"v-"+Te.h+"h-"+Te.w+"Z"),G(ce,xe,Ie,Ye)}function G(ce,xe,Te,Ue){Te||(ce.transition().style("fill",Ue>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),xe.transition().style("opacity",1).duration(200))}function $(ce){g.select(ce).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function J(ce){L&&ce.data&&ce._context.showTips&&(x.notifier(x._(ce,"Double-click to zoom back out"),"long"),L=!1)}function X(ce,xe){return"M"+(ce.l-.5)+","+(xe-P-.5)+"h-3v"+(2*P+1)+"h3ZM"+(ce.r+.5)+","+(xe-P-.5)+"h3v"+(2*P+1)+"h-3Z"}function re(ce,xe){return"M"+(xe-P-.5)+","+(ce.t-.5)+"v-3h"+(2*P+1)+"v3ZM"+(xe-P-.5)+","+(ce.b+.5)+"v3h"+(2*P+1)+"v-3Z"}function ae(ce){var xe=Math.floor(Math.min(ce.b-ce.t,ce.r-ce.l,P)/2);return"M"+(ce.l-3.5)+","+(ce.t-.5+xe)+"h3v"+-xe+"h"+xe+"v-3h-"+(xe+3)+"ZM"+(ce.r+3.5)+","+(ce.t-.5+xe)+"h-3v"+-xe+"h"+-xe+"v-3h"+(xe+3)+"ZM"+(ce.r+3.5)+","+(ce.b+.5-xe)+"h-3v"+xe+"h"+-xe+"v3h"+(xe+3)+"ZM"+(ce.l-3.5)+","+(ce.b+.5-xe)+"h3v"+xe+"h"+xe+"v3h-"+(xe+3)+"Z"}function j(ce,xe,Te,Ue,Ie){for(var Ye=!1,it={},at={},tt,ut,Me,pe,ue=(Ie||{}).xaHash,Oe=(Ie||{}).yaHash,rt=0;rt1&&x.warn("Full array edits are incompatible with other edits",c);var w=i[""][""];if(t(w))n.set(null);else if(Array.isArray(w))n.set(w);else return x.warn("Unrecognized full array edit value",c,w),!0;return T?!1:(h(l,_),p(o),!0)}var M=Object.keys(i).map(Number).sort(A),E=n.get(),m=E||[],b=s(_,c).get(),v=[],u=-1,y=m.length,f,P,L,z,F,B,O,I;for(f=0;fm.length-(O?0:1)){x.warn("index out of range",c,L);continue}if(B!==void 0)F.length>1&&x.warn("Insertion & removal are incompatible with edits to the same index.",c,L),t(B)?v.push(L):O?(B==="add"&&(B={}),m.splice(L,0,B),b&&b.splice(L,0,{})):x.warn("Unrecognized full object edit value",c,L,B),u===-1&&(u=L);else for(P=0;P=0;f--)m.splice(v[f],1),b&&b.splice(v[f],1);if(m.length?E||n.set(m):n.set(null),T)return!1;if(h(l,_),d!==g){var N;if(u===-1)N=M;else{for(y=Math.max(m.length,y),N=[],f=0;f=u));f++)N.push(L);for(f=u;f0&&A.log("Clearing previous rejected promises from queue."),l._promises=[]},Z.cleanLayout=function(l){var _,w;l||(l={}),l.xaxis1&&(l.xaxis||(l.xaxis=l.xaxis1),delete l.xaxis1),l.yaxis1&&(l.yaxis||(l.yaxis=l.yaxis1),delete l.yaxis1),l.scene1&&(l.scene||(l.scene=l.scene1),delete l.scene1);var M=(S.subplotsRegistry.cartesian||{}).attrRegex,E=(S.subplotsRegistry.polar||{}).attrRegex,m=(S.subplotsRegistry.ternary||{}).attrRegex,b=(S.subplotsRegistry.gl3d||{}).attrRegex,v=Object.keys(l);for(_=0;_3?(O.x=1.02,O.xanchor="left"):O.x<-2&&(O.x=-.02,O.xanchor="right"),O.y>3?(O.y=1.02,O.yanchor="bottom"):O.y<-2&&(O.y=-.02,O.yanchor="top")),l.dragmode==="rotate"&&(l.dragmode="orbit"),t.clean(l),l.template&&l.template.layout&&Z.cleanLayout(l.template.layout),l};function i(l,_){var w=l[_],M=_.charAt(0);w&&w!=="paper"&&(l[_]=r(w,M,!0))}Z.cleanData=function(l){for(var _=0;_0)return l.substr(0,_)}Z.hasParent=function(l,_){for(var w=d(_);w;){if(w in l)return!0;w=d(w)}return!1};var T=["x","y","z"];Z.clearAxisTypes=function(l,_,w){for(var M=0;M<_.length;M++)for(var E=l._fullData[M],m=0;m<3;m++){var b=o(l,E,T[m]);if(b&&b.type!=="log"){var v=b._name,u=b._id.substr(1);if(u.substr(0,5)==="scene"){if(w[u]!==void 0)continue;v=u+"."+v}var y=v+".type";w[v]===void 0&&w[y]===void 0&&A.nestedProperty(l.layout,y).set(null)}}}}}),__=ke({"src/plot_api/plot_api.js"(Z){"use strict";var H=_i(),g=Yn(),x=Hw(),A=un(),S=A.nestedProperty,e=jg(),t=VE(),r=lo(),o=Vg(),n=Zu(),i=Ho(),a=$w(),s=wh(),c=$o(),h=eo(),p=g2().initInteractions,d=zd(),T=tf().clearOutline,l=km().dfltConfig,_=T5(),w=A5(),M=r0(),E=ju(),m=oh().AX_NAME_PATTERN,b=0,v=5;function u(Se,He,Ee,we){var Le;if(Se=A.getGraphDiv(Se),e.init(Se),A.isPlainObject(He)){var nt=He;He=nt.data,Ee=nt.layout,we=nt.config,Le=nt.frames}var pt=e.triggerHandler(Se,"plotly_beforeplot",[He,Ee,we]);if(pt===!1)return Promise.reject();!He&&!Ee&&!A.isPlotDiv(Se)&&A.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",Se);function bt(){if(Le)return Z.addFrames(Se,Le)}z(Se,we),Ee||(Ee={}),H.select(Se).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(Se._promises)||(Se._promises=[]);var Rt=(Se.data||[]).length===0&&Array.isArray(He);Array.isArray(He)&&(w.cleanData(He),Rt?Se.data=He:Se.data.push.apply(Se.data,He),Se.empty=!1),(!Se.layout||Rt)&&(Se.layout=w.cleanLayout(Ee)),n.supplyDefaults(Se);var Nt=Se._fullLayout,Xt=Nt._has("cartesian");Nt._replotting=!0,(Rt||Nt._shouldCreateBgLayer)&&(je(Se),Nt._shouldCreateBgLayer&&delete Nt._shouldCreateBgLayer),c.initGradients(Se),c.initPatterns(Se),Rt&&i.saveShowSpikeInitial(Se);var $t=!Se.calcdata||Se.calcdata.length!==(Se._fullData||[]).length;$t&&n.doCalcdata(Se);for(var ur=0;ur=Se.data.length||Le<-Se.data.length)throw new Error(Ee+" must be valid indices for gd.data.");if(He.indexOf(Le,we+1)>-1||Le>=0&&He.indexOf(-Se.data.length+Le)>-1||Le<0&&He.indexOf(Se.data.length+Le)>-1)throw new Error("each index in "+Ee+" must be unique.")}}function N(Se,He,Ee){if(!Array.isArray(Se.data))throw new Error("gd.data must be an array.");if(typeof He>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(He)||(He=[He]),I(Se,He,"currentIndices"),typeof Ee<"u"&&!Array.isArray(Ee)&&(Ee=[Ee]),typeof Ee<"u"&&I(Se,Ee,"newIndices"),typeof Ee<"u"&&He.length!==Ee.length)throw new Error("current and new indices must be of equal length.")}function U(Se,He,Ee){var we,Le;if(!Array.isArray(Se.data))throw new Error("gd.data must be an array.");if(typeof He>"u")throw new Error("traces must be defined.");for(Array.isArray(He)||(He=[He]),we=0;we"u")throw new Error("indices must be an integer or array of integers");I(Se,Ee,"indices");for(var nt in He){if(!Array.isArray(He[nt])||He[nt].length!==Ee.length)throw new Error("attribute "+nt+" must be an array of length equal to indices array length");if(Le&&(!(nt in we)||!Array.isArray(we[nt])||we[nt].length!==He[nt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function Q(Se,He,Ee,we){var Le=A.isPlainObject(we),nt=[],pt,bt,Rt,Nt,Xt;Array.isArray(Ee)||(Ee=[Ee]),Ee=O(Ee,Se.data.length-1);for(var $t in He)for(var ur=0;ur=0&&Xt<$t.length?$t.splice(0,$t.length-Xt):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.prependTraces,bt,fe,arguments),pt}function G(Se,He,Ee,we){Se=A.getGraphDiv(Se);function Le(Rt,Nt,Xt){var $t,ur;if(A.isTypedArray(Rt))if(Xt<=0){var pn=new Rt.constructor(0),Rn=se(Nt,Rt);Xt<0?($t=Rn,ur=pn):($t=pn,ur=Rn)}else if($t=new Rt.constructor(Xt),ur=new Rt.constructor(Rt.length+Nt.length-Xt),Xt===Nt.length)$t.set(Nt),ur.set(Rt);else if(Xt=0&&Xt<$t.length?$t.splice(Xt,$t.length):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.extendTraces,bt,G,arguments),pt}function $(Se,He,Ee){Se=A.getGraphDiv(Se);var we=[],Le=Z.deleteTraces,nt=$,pt=[Se,we],bt=[Se,He],Rt,Nt;for(U(Se,He,Ee),Array.isArray(He)||(He=[He]),He=He.map(function(Xt){return A.extendFlat({},Xt)}),w.cleanData(He),Rt=0;Rt"u")return Nt=Z.redraw(Se),t.add(Se,Le,pt,nt,bt),Nt;Array.isArray(Ee)||(Ee=[Ee]);try{N(Se,we,Ee)}catch(Xt){throw Se.data.splice(Se.data.length-He.length,He.length),Xt}return t.startSequence(Se),t.add(Se,Le,pt,nt,bt),Nt=Z.moveTraces(Se,we,Ee),t.stopSequence(Se),Nt}function J(Se,He){Se=A.getGraphDiv(Se);var Ee=[],we=Z.addTraces,Le=J,nt=[Se,Ee,He],pt=[Se,He],bt,Rt;if(typeof He>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(He)||(He=[He]),I(Se,He,"indices"),He=O(He,Se.data.length-1),He.sort(A.sorterDes),bt=0;bt"u")for(Ee=[],Nt=0;Nt0&&typeof Vt.parts[xn]!="string";)xn--;var en=Vt.parts[xn],Fn=Vt.parts[xn-1]+"."+en,Wn=Vt.parts.slice(0,xn).join("."),ri=S(Se.layout,Wn).get(),Sn=S(we,Wn).get(),ui=Vt.get();if(wr!==void 0){ni[Ht]=wr,zn[Ht]=en==="reverse"?wr:ae(ui);var gt=o.getLayoutValObject(we,Vt.parts);if(gt&>.impliedEdits&&wr!==null)for(var yt in gt.impliedEdits)Qn(A.relativeAttr(Ht,yt),gt.impliedEdits[yt]);if(["width","height"].indexOf(Ht)!==-1)if(wr){Qn("autosize",null);var Pr=Ht==="height"?"width":"height";Qn(Pr,we[Pr])}else we[Ht]=Se._initialAutoSize[Ht];else if(Ht==="autosize")Qn("width",wr?null:we.width),Qn("height",wr?null:we.height);else if(Fn.match(Ie))Ft(Fn),S(we,Wn+"._inputRange").set(null);else if(Fn.match(Ye)){Ft(Fn),S(we,Wn+"._inputRange").set(null);var Ir=S(we,Wn).get();Ir._inputDomain&&(Ir._input.domain=Ir._inputDomain.slice())}else Fn.match(it)&&S(we,Wn+"._inputDomain").set(null);if(en==="type"){Zt=ri;var Tr=Sn.type==="linear"&&wr==="log",Mr=Sn.type==="log"&&wr==="linear";if(Tr||Mr){if(!Zt||!Zt.range)Qn(Wn+".autorange",!0);else if(Sn.autorange)Tr&&(Zt.range=Zt.range[1]>Zt.range[0]?[1,2]:[2,1]);else{var Lr=Zt.range[0],Ur=Zt.range[1];Tr?(Lr<=0&&Ur<=0&&Qn(Wn+".autorange",!0),Lr<=0?Lr=Ur/1e6:Ur<=0&&(Ur=Lr/1e6),Qn(Wn+".range[0]",Math.log(Lr)/Math.LN10),Qn(Wn+".range[1]",Math.log(Ur)/Math.LN10)):(Qn(Wn+".range[0]",Math.pow(10,Lr)),Qn(Wn+".range[1]",Math.pow(10,Ur)))}Array.isArray(we._subplots.polar)&&we._subplots.polar.length&&we[Vt.parts[0]]&&Vt.parts[1]==="radialaxis"&&delete we[Vt.parts[0]]._subplot.viewInitial["radialaxis.range"],r.getComponentMethod("annotations","convertCoords")(Se,Sn,wr,Qn),r.getComponentMethod("images","convertCoords")(Se,Sn,wr,Qn)}else Qn(Wn+".autorange",!0),Qn(Wn+".range",null);S(we,Wn+"._inputRange").set(null)}else if(en.match(m)){var Dr=S(we,Ht).get(),nn=(wr||{}).type;(!nn||nn==="-")&&(nn="linear"),r.getComponentMethod("annotations","convertCoords")(Se,Dr,nn,Qn),r.getComponentMethod("images","convertCoords")(Se,Dr,nn,Qn)}var vn=_.containerArrayMatch(Ht);if(vn){Xt=vn.array,$t=vn.index;var gn=vn.property,kt=gt||{editType:"calc"};$t!==""&&gn===""&&(_.isAddVal(wr)?zn[Ht]=null:_.isRemoveVal(wr)?zn[Ht]=(S(Ee,Xt).get()||[])[$t]:A.warn("unrecognized full object value",He)),E.update(On,kt),Nt[Xt]||(Nt[Xt]={});var or=Nt[Xt][$t];or||(or=Nt[Xt][$t]={}),or[gn]=wr,delete He[Ht]}else en==="reverse"?(ri.range?ri.range.reverse():(Qn(Wn+".autorange",!0),ri.range=[1,0]),Sn.autorange?On.calc=!0:On.plot=!0):(Ht==="dragmode"&&(wr===!1&&ui!==!1||wr!==!1&&ui===!1)||we._has("scatter-like")&&we._has("regl")&&Ht==="dragmode"&&(wr==="lasso"||wr==="select")&&!(ui==="lasso"||ui==="select")?On.plot=!0:gt?E.update(On,gt):On.calc=!0,Vt.set(wr))}}for(Xt in Nt){var yr=_.applyContainerArrayChanges(Se,nt(Ee,Xt),Nt[Xt],On,nt);yr||(On.plot=!0)}for(var on in gi){Zt=i.getFromId(Se,on);var An=Zt&&Zt._constraintGroup;if(An){On.calc=!0;for(var Zn in An)gi[Zn]||(i.getFromId(Se,Zn)._constraintShrinkable=!0)}}(tt(Se)||He.height||He.width)&&(On.plot=!0);var Bn=we.shapes;for($t=0;$t1;)if(we.pop(),Ee=S(He,we.join(".")+".uirevision").get(),Ee!==void 0)return Ee;return He.uirevision}function ot(Se,He){for(var Ee=0;Ee=Le.length?Le[0]:Le[Nt]:Le}function bt(Nt){return Array.isArray(nt)?Nt>=nt.length?nt[0]:nt[Nt]:nt}function Rt(Nt,Xt){var $t=0;return function(){if(Nt&&++$t===Xt)return Nt()}}return new Promise(function(Nt,Xt){function $t(){if(we._frameQueue.length!==0){for(;we._frameQueue.length;){var en=we._frameQueue.pop();en.onInterrupt&&en.onInterrupt()}Se.emit("plotly_animationinterrupted",[])}}function ur(en){if(en.length!==0){for(var Fn=0;Fnwe._timeToNext&&Rn()};en()}var On=0;function ni(en){return Array.isArray(Le)?On>=Le.length?en.transitionOpts=Le[On]:en.transitionOpts=Le[0]:en.transitionOpts=Le,On++,en}var zn,Qn,gi=[],Zt=He==null,Ft=Array.isArray(He),Ht=!Zt&&!Ft&&A.isPlainObject(He);if(Ht)gi.push({type:"object",data:ni(A.extendFlat({},He))});else if(Zt||["string","number"].indexOf(typeof He)!==-1)for(zn=0;zn0&&$r$r)&&xn.push(Qn);gi=xn}}gi.length>0?ur(gi):(Se.emit("plotly_animated"),Nt())})}function br(Se,He,Ee){if(Se=A.getGraphDiv(Se),He==null)return Promise.resolve();if(!A.isPlotDiv(Se))throw new Error("This element is not a Plotly plot: "+Se+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var we,Le,nt,pt,bt=Se._transitionData._frames,Rt=Se._transitionData._frameHash;if(!Array.isArray(He))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+He);var Nt=bt.length+He.length*2,Xt=[],$t={};for(we=He.length-1;we>=0;we--)if(A.isPlainObject(He[we])){var ur=He[we].name,pn=(Rt[ur]||$t[ur]||{}).name,Rn=He[we].name,Nn=Rt[pn]||$t[pn];pn&&Rn&&typeof Rn=="number"&&Nn&&bVt.index?-1:Ht.index=0;we--){if(Le=Xt[we].frame,typeof Le.name=="number"&&A.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;Rt[Le.name="frame "+Se._transitionData._counter++];);if(Rt[Le.name]){for(nt=0;nt=0;Ee--)we=He[Ee],nt.push({type:"delete",index:we}),pt.unshift({type:"insert",index:we,value:Le[we]});var bt=n.modifyFrames,Rt=n.modifyFrames,Nt=[Se,pt],Xt=[Se,nt];return t&&t.add(Se,bt,Nt,Rt,Xt),n.modifyFrames(Se,nt)}function Be(Se){Se=A.getGraphDiv(Se);var He=Se._fullLayout||{},Ee=Se._fullData||[];return n.cleanPlot([],{},Ee,He),n.purge(Se),e.purge(Se),He._container&&He._container.remove(),delete Se._context,Se}function Ke(Se){var He=Se._fullLayout,Ee=Se.getBoundingClientRect();if(!A.equalDomRects(Ee,He._lastBBox)){var we=He._invTransform=A.inverseTransformMatrix(A.getFullTransformMatrix(Se));He._invScaleX=Math.sqrt(we[0][0]*we[0][0]+we[0][1]*we[0][1]+we[0][2]*we[0][2]),He._invScaleY=Math.sqrt(we[1][0]*we[1][0]+we[1][1]*we[1][1]+we[1][2]*we[1][2]),He._lastBBox=Ee}}function je(Se){var He=H.select(Se),Ee=Se._fullLayout;if(Ee._calcInverseTransform=Ke,Ee._calcInverseTransform(Se),Ee._container=He.selectAll(".plot-container").data([0]),Ee._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0).style({width:"100%",height:"100%"}),Ee._paperdiv=Ee._container.selectAll(".svg-container").data([0]),Ee._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),Ee._glcontainer=Ee._paperdiv.selectAll(".gl-container").data([{}]),Ee._glcontainer.enter().append("div").classed("gl-container",!0),Ee._paperdiv.selectAll(".main-svg").remove(),Ee._paperdiv.select(".modebar-container").remove(),Ee._paper=Ee._paperdiv.insert("svg",":first-child").classed("main-svg",!0),Ee._toppaper=Ee._paperdiv.append("svg").classed("main-svg",!0),Ee._modebardiv=Ee._paperdiv.append("div"),delete Ee._modeBar,Ee._hoverpaper=Ee._paperdiv.append("svg").classed("main-svg",!0),!Ee._uid){var we={};H.selectAll("defs").each(function(){this.id&&(we[this.id.split("-")[1]]=1)}),Ee._uid=A.randstr(we)}Ee._paperdiv.selectAll(".main-svg").attr(d.svgAttrs),Ee._defs=Ee._paper.append("defs").attr("id","defs-"+Ee._uid),Ee._clips=Ee._defs.append("g").classed("clips",!0),Ee._topdefs=Ee._toppaper.append("defs").attr("id","topdefs-"+Ee._uid),Ee._topclips=Ee._topdefs.append("g").classed("clips",!0),Ee._bgLayer=Ee._paper.append("g").classed("bglayer",!0),Ee._draggers=Ee._paper.append("g").classed("draglayer",!0);var Le=Ee._paper.append("g").classed("layer-below",!0);Ee._imageLowerLayer=Le.append("g").classed("imagelayer",!0),Ee._shapeLowerLayer=Le.append("g").classed("shapelayer",!0),Ee._cartesianlayer=Ee._paper.append("g").classed("cartesianlayer",!0),Ee._polarlayer=Ee._paper.append("g").classed("polarlayer",!0),Ee._smithlayer=Ee._paper.append("g").classed("smithlayer",!0),Ee._ternarylayer=Ee._paper.append("g").classed("ternarylayer",!0),Ee._geolayer=Ee._paper.append("g").classed("geolayer",!0),Ee._funnelarealayer=Ee._paper.append("g").classed("funnelarealayer",!0),Ee._pielayer=Ee._paper.append("g").classed("pielayer",!0),Ee._iciclelayer=Ee._paper.append("g").classed("iciclelayer",!0),Ee._treemaplayer=Ee._paper.append("g").classed("treemaplayer",!0),Ee._sunburstlayer=Ee._paper.append("g").classed("sunburstlayer",!0),Ee._indicatorlayer=Ee._toppaper.append("g").classed("indicatorlayer",!0),Ee._glimages=Ee._paper.append("g").classed("glimages",!0);var nt=Ee._toppaper.append("g").classed("layer-above",!0);Ee._imageUpperLayer=nt.append("g").classed("imagelayer",!0),Ee._shapeUpperLayer=nt.append("g").classed("shapelayer",!0),Ee._selectionLayer=Ee._toppaper.append("g").classed("selectionlayer",!0),Ee._infolayer=Ee._toppaper.append("g").classed("infolayer",!0),Ee._menulayer=Ee._toppaper.append("g").classed("menulayer",!0),Ee._zoomlayer=Ee._toppaper.append("g").classed("zoomlayer",!0),Ee._hoverlayer=Ee._hoverpaper.append("g").classed("hoverlayer",!0),Ee._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),Se.emit("plotly_framework")}Z.animate=gr,Z.addFrames=br,Z.deleteFrames=_t,Z.addTraces=$,Z.deleteTraces=J,Z.extendTraces=fe,Z.moveTraces=X,Z.prependTraces=G,Z.newPlot=B,Z._doPlot=u,Z.purge=Be,Z.react=Bt,Z.redraw=F,Z.relayout=xe,Z.restyle=re,Z.setPlotConfig=f,Z.update=ut,Z._guiRelayout=Me(xe),Z._guiRestyle=Me(re),Z._guiUpdate=Me(ut),Z._storeDirectGUIEdit=ie}}),Jv=ke({"src/snapshot/helpers.js"(Z){"use strict";var H=lo();Z.getDelay=function(A){return A._has&&(A._has("gl3d")||A._has("mapbox")||A._has("map"))?500:0},Z.getRedrawFunc=function(A){return function(){H.getComponentMethod("colorbar","draw")(A)}},Z.encodeSVG=function(A){return"data:image/svg+xml,"+encodeURIComponent(A)},Z.encodeJSON=function(A){return"data:application/json,"+encodeURIComponent(A)};var g=window.URL||window.webkitURL;Z.createObjectURL=function(A){return g.createObjectURL(A)},Z.revokeObjectURL=function(A){return g.revokeObjectURL(A)},Z.createBlob=function(A,S){if(S==="svg")return new window.Blob([A],{type:"image/svg+xml;charset=utf-8"});if(S==="full-json")return new window.Blob([A],{type:"application/json;charset=utf-8"});var e=x(window.atob(A));return new window.Blob([e],{type:"image/"+S})},Z.octetStream=function(A){document.location.href="data:application/octet-stream"+A};function x(A){for(var S=A.length,e=new ArrayBuffer(S),t=new Uint8Array(e),r=0;r")!==-1?"":s.html(h).text()});return s.remove(),c}function i(a){return a.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")}H.exports=function(s,c,h){var p=s._fullLayout,d=p._paper,T=p._toppaper,l=p.width,_=p.height,w;d.insert("rect",":first-child").call(A.setRect,0,0,l,_).call(S.fill,p.paper_bgcolor);var M=p._basePlotModules||[];for(w=0;w1&&E.push(s("object","layout"))),x.supplyDefaults(m);for(var u=m._fullData,y=b.length,f=0;fP.length&&M.push(s("unused",E,y.concat(P.length)));var I=P.length,N=Array.isArray(O);N&&(I=Math.min(I,O.length));var U,W,Q,le,se;if(L.dimensions===2)for(W=0;WP[W].length&&M.push(s("unused",E,y.concat(W,P[W].length)));var fe=P[W].length;for(U=0;U<(N?Math.min(fe,O[W].length):fe);U++)Q=N?O[W][U]:O,le=f[W][U],se=P[W][U],g.validate(le,Q)?se!==le&&se!==+le&&M.push(s("dynamic",E,y.concat(W,U),le,se)):M.push(s("value",E,y.concat(W,U),le))}else M.push(s("array",E,y.concat(W),f[W]));else for(W=0;WF?M.push({code:"unused",traceType:f,templateCount:z,dataCount:F}):F>z&&M.push({code:"reused",traceType:f,templateCount:z,dataCount:F})}}function B(O,I){for(var N in O)if(N.charAt(0)!=="_"){var U=O[N],W=s(O,N,I);g(U)?(Array.isArray(O)&&U._template===!1&&U.templateitemname&&M.push({code:"missing",path:W,templateitemname:U.templateitemname}),B(U,W)):Array.isArray(U)&&c(U)&&B(U,W)}}if(B({data:m,layout:E},""),M.length)return M.map(h)};function c(p){for(var d=0;d=0;h--){var p=e[h];if(p.type==="scatter"&&p.xaxis===s.xaxis&&p.yaxis===s.yaxis){p.opacity=void 0;break}}}}}}}),P5=ke({"src/traces/scatter/layout_defaults.js"(Z,H){"use strict";var g=un(),x=u_();H.exports=function(A,S){function e(r,o){return g.coerce(A,S,x,r,o)}var t=S.barmode==="group";S.scattermode==="group"&&e("scattergap",t?S.bargap:.2)}}}),vv=ke({"src/plots/cartesian/align_period.js"(Z,H){"use strict";var g=Yn(),x=un(),A=x.dateTime2ms,S=x.incrementMonth,e=Hi(),t=e.ONEAVGMONTH;H.exports=function(o,n,i,a){if(n.type!=="date")return{vals:a};var s=o[i+"periodalignment"];if(!s)return{vals:a};var c=o[i+"period"],h;if(g(c)){if(c=+c,c<=0)return{vals:a}}else if(typeof c=="string"&&c.charAt(0)==="M"){var p=+c.substring(1);if(p>0&&Math.round(p)===p)h=p;else return{vals:a}}for(var d=n.calendar,T=s==="start",l=s==="end",_=o[i+"period0"],w=A(_,d)||0,M=[],E=[],m=[],b=a.length,v=0;vu;)P=S(P,-h,d);for(;P<=u;)P=S(P,h,d);f=S(P,-h,d)}else{for(y=Math.round((u-w)/c),P=w+y*c;P>u;)P-=c;for(;P<=u;)P+=c;f=P-c}M[v]=T?f:l?P:(f+P)/2,E[v]=f,m[v]=P}return{vals:M,starts:E,ends:m}}}}),Wd=ke({"src/traces/scatter/colorscale_calc.js"(Z,H){"use strict";var g=ad().hasColorscale,x=od(),A=vu();H.exports=function(e,t){A.hasLines(t)&&g(t,"line")&&x(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),A.hasMarkers(t)&&(g(t,"marker")&&x(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),g(t,"marker.line")&&x(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}}}),Lv=ke({"src/traces/scatter/arrays_to_calcdata.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){for(var e=0;eB&&f[I].gap;)I--;for(U=f[I].s,O=f.length-1;O>I;O--)f[O].s=U;for(;BN+O||!g(I))}for(var W=0;Wz[d]&&d0?e:t)/(d._m*_*(d._m>0?e:t)))),Rt*=1e3}if(Nt===A){if(l&&(Nt=d.c2p(bt.y,!0)),Nt===A)return!1;Nt*=1e3}return[Rt,Nt]}function ee(pt,bt,Rt,Nt){var Xt=Rt-pt,$t=Nt-bt,ur=.5-pt,pn=.5-bt,Rn=Xt*Xt+$t*$t,Nn=Xt*ur+$t*pn;if(Nn>0&&Nn1||Math.abs(ur.y-Rt[0][1])>1)&&(ur=[ur.x,ur.y],Nt&&Te(ur,pt)Ye||pt[1]at)return[n(pt[0],Ie,Ye),n(pt[1],it,at)]}function Lt(pt,bt){if(pt[0]===bt[0]&&(pt[0]===Ie||pt[0]===Ye)||pt[1]===bt[1]&&(pt[1]===it||pt[1]===at))return!0}function Et(pt,bt){var Rt=[],Nt=et(pt),Xt=et(bt);return Nt&&Xt&&Lt(Nt,Xt)||(Nt&&Rt.push(Nt),Xt&&Rt.push(Xt)),Rt}function Bt(pt,bt,Rt){return function(Nt,Xt){var $t=et(Nt),ur=et(Xt),pn=[];if($t&&ur&&Lt($t,ur))return pn;$t&&pn.push($t),ur&&pn.push(ur);var Rn=2*r.constrain((Nt[pt]+Xt[pt])/2,bt,Rt)-(($t||Nt)[pt]+(ur||Xt)[pt]);if(Rn){var Nn;$t&&ur?Nn=Rn>0==$t[pt]>ur[pt]?$t:ur:Nn=$t||ur,Nn[pt]+=Rn}return pn}}var qt;v==="linear"||v==="spline"?qt=ot:v==="hv"||v==="vh"?qt=Et:v==="hvh"?qt=Bt(0,Ie,Ye):v==="vhv"&&(qt=Bt(1,it,at));function fr(pt,bt){var Rt=bt[0]-pt[0],Nt=(bt[1]-pt[1])/Rt,Xt=(pt[1]*bt[0]-bt[1]*pt[0])/Rt;return Xt>0?[Nt>0?Ie:Ye,at]:[Nt>0?Ye:Ie,it]}function ar(pt){var bt=pt[0],Rt=pt[1],Nt=bt===z[F-1][0],Xt=Rt===z[F-1][1];if(!(Nt&&Xt))if(F>1){var $t=bt===z[F-2][0],ur=Rt===z[F-2][1];Nt&&(bt===Ie||bt===Ye)&&$t?ur?F--:z[F-1]=pt:Xt&&(Rt===it||Rt===at)&&ur?$t?F--:z[F-1]=pt:z[F++]=pt}else z[F++]=pt}function Rr(pt){z[F-1][0]!==pt[0]&&z[F-1][1]!==pt[1]&&ar([pe,ue]),ar(pt),Oe=null,pe=ue=0}var gr=r.isArrayOrTypedArray(E);function br(pt){if(pt&&M&&(pt.i=B,pt.d=s,pt.trace=h,pt.marker=gr?E[pt.i]:E,pt.backoff=M),ie=pt[0]/_,ce=pt[1]/w,ut=pt[0]Ye?Ye:0,Me=pt[1]at?at:0,ut||Me){if(!F)z[F++]=[ut||pt[0],Me||pt[1]];else if(Oe){var bt=qt(Oe,pt);bt.length>1&&(Rr(bt[0]),z[F++]=bt[1])}else rt=qt(z[F-1],pt)[0],z[F++]=rt;var Rt=z[F-1];ut&&Me&&(Rt[0]!==ut||Rt[1]!==Me)?(Oe&&(pe!==ut&&ue!==Me?ar(pe&&ue?fr(Oe,pt):[pe||ut,ue||Me]):pe&&ue&&ar([pe,ue])),ar([ut,Me])):pe-ut&&ue-Me&&ar([ut||pe,Me||ue]),Oe=pt,pe=ut,ue=Me}else Oe&&Rr(qt(Oe,pt)[0]),z[F++]=pt}for(B=0;Bxe(W,_t))break;I=W,J=se[0]*le[0]+se[1]*le[1],J>G?(G=J,N=W,Q=!1):J<$&&($=J,U=W,Q=!0)}if(Q?(br(N),I!==U&&br(U)):(U!==O&&br(U),I!==N&&br(N)),br(I),B>=s.length||!W)break;br(W),O=W}}Oe&&ar([pe||Oe[0],ue||Oe[1]]),f.push(z.slice(0,F))}var Be=v.slice(v.length-1);if(M&&Be!=="h"&&Be!=="v"){for(var Ke=!1,je=-1,Se=[],He=0;He=0?i=p:(i=p=h,h++),i0,v=n(p,d,T);if(M=l.selectAll("g.trace").data(v,function(y){return y[0].trace.uid}),M.enter().append("g").attr("class",function(y){return"trace scatter trace"+y[0].trace.uid}).style("stroke-miterlimit",2),M.order(),a(p,M,d),b){w&&(E=w());var u=g.transition().duration(_.duration).ease(_.easing).each("end",function(){E&&E()}).each("interrupt",function(){E&&E()});u.each(function(){l.selectAll("g.trace").each(function(y,f){s(p,f,d,y,v,this,_)})})}else M.each(function(y,f){s(p,f,d,y,v,this,_)});m&&M.exit().remove(),l.selectAll("path:not([d])").remove()};function a(h,p,d){p.each(function(T){var l=S(g.select(this),"g","fills");t.setClipUrl(l,d.layerClipId,h);var _=T[0].trace,w=[];_._ownfill&&w.push("_ownFill"),_._nexttrace&&w.push("_nextFill");var M=l.selectAll("g").data(w,e);M.enter().append("g"),M.exit().each(function(E){_[E]=null}).remove(),M.order().each(function(E){_[E]=S(g.select(this),"path","js-fill")})})}function s(h,p,d,T,l,_,w){var M=h._context.staticPlot,E;c(h,p,d,T,l);var m=!!w&&w.duration>0;function b(ar){return m?ar.transition():ar}var v=d.xaxis,u=d.yaxis,y=T[0].trace,f=y.line,P=g.select(_),L=S(P,"g","errorbars"),z=S(P,"g","lines"),F=S(P,"g","points"),B=S(P,"g","text");if(x.getComponentMethod("errorbars","plot")(h,L,d,w),y.visible!==!0)return;b(P).style("opacity",y.opacity);var O,I,N=y.fill.charAt(y.fill.length-1);N!=="x"&&N!=="y"&&(N="");var U,W;N==="y"?(U=1,W=u.c2p(0,!0)):N==="x"&&(U=0,W=v.c2p(0,!0)),T[0][d.isRangePlot?"nodeRangePlot3":"node3"]=P;var Q="",le=[],se=y._prevtrace,fe=null,G=null;se&&(Q=se._prevRevpath||"",I=se._nextFill,le=se._ownPolygons,fe=se._fillsegments,G=se._fillElement);var $,J,X="",re="",ae,j,ee,ie,ce,xe,Te=[];y._polygons=[];var Ue=[],Ie=[],Ye=A.noop;if(O=y._ownFill,r.hasLines(y)||y.fill!=="none"){I&&I.datum(T),["hv","vh","hvh","vhv"].indexOf(f.shape)!==-1?(ae=t.steps(f.shape),j=t.steps(f.shape.split("").reverse().join(""))):f.shape==="spline"?ae=j=function(ar){var Rr=ar[ar.length-1];return ar.length>1&&ar[0][0]===Rr[0]&&ar[0][1]===Rr[1]?t.smoothclosed(ar.slice(1),f.smoothing):t.smoothopen(ar,f.smoothing)}:ae=j=function(ar){return"M"+ar.join("L")},ee=function(ar){return j(ar.reverse())},Ie=o(T,{xaxis:v,yaxis:u,trace:y,connectGaps:y.connectgaps,baseTolerance:Math.max(f.width||1,3)/4,shape:f.shape,backoff:f.backoff,simplify:f.simplify,fill:y.fill}),Ue=new Array(Ie.length);var it=0;for(E=0;E=M[0]&&P.x<=M[1]&&P.y>=E[0]&&P.y<=E[1]}),u=Math.ceil(v.length/b),y=0;l.forEach(function(P,L){var z=P[0].trace;r.hasMarkers(z)&&z.marker.maxdisplayed>0&&L=Math.min(se,fe)&&d<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(h.c2p(le.x)-d);return J=Math.min(se,fe)&&T<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(p.c2p(le.y)-T);return Jre!=Ue>=re&&(ce=ee[j-1][0],xe=ee[j][0],Ue-Te&&(ie=ce+(xe-ce)*(re-Te)/(Ue-Te),G=Math.min(G,ie),$=Math.max($,ie)));return G=Math.max(G,0),$=Math.min($,h._length),{x0:G,x1:$,y0:re,y1:re}}if(_.indexOf("fills")!==-1&&c._fillElement){var U=I(c._fillElement)&&!I(c._fillExclusionElement);if(U){var W=N(c._polygons);W===null&&(W={x0:l[0],x1:l[0],y0:l[1],y1:l[1]});var Q=e.defaultLine;return e.opacity(c.fillcolor)?Q=c.fillcolor:e.opacity((c.line||{}).color)&&(Q=c.line.color),g.extendFlat(o,{distance:o.maxHoverDistance,x0:W.x0,x1:W.x1,y0:W.y0,y1:W.y1,color:Q,hovertemplate:!1}),delete o.index,c.text&&!g.isArrayOrTypedArray(c.text)?o.text=String(c.text):o.text=c.name,[o]}}}}}),$g=ke({"src/traces/scatter/select.js"(Z,H){"use strict";var g=vu();H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=[],n=e[0].trace,i,a,s,c,h=!g.hasMarkers(n)&&!g.hasText(n);if(h)return[];if(S===!1)for(i=0;i0&&(a["_"+n+"axes"]||{})[o])return a;if((a[n+"axis"]||n)===o){if(t(a,n))return a;if((a[n]||[]).length||a[n+"0"])return a}}}function e(r){return{v:"x",h:"y"}[r.orientation||"v"]}function t(r,o){var n=e(r),i=g(r,"box-violin"),a=g(r._fullInput||{},"candlestick");return i&&!a&&o===n&&r[n]===void 0&&r[n+"0"]===void 0}}}),T_=ke({"src/plots/cartesian/category_order_defaults.js"(Z,H){"use strict";var g=Oa().isTypedArraySpec;function x(A,S){var e=S.dataAttr||A._id.charAt(0),t={},r,o,n;if(S.axData)r=S.axData;else for(r=[],o=0;o0||g(o),i;n&&(i="array");var a=t("categoryorder",i),s;a==="array"&&(s=t("categoryarray")),!n&&a==="array"&&(a=e.categoryorder="trace"),a==="trace"?e._initialCategories=[]:a==="array"?e._initialCategories=s.slice():(s=x(e,r).sort(),a==="category ascending"?e._initialCategories=s:a==="category descending"&&(e._initialCategories=s.reverse()))}}}}),o0=ke({"src/plots/cartesian/line_grid_defaults.js"(Z,H){"use strict";var g=ru().mix,x=If(),A=un();H.exports=function(e,t,r,o){o=o||{};var n=o.dfltColor;function i(y,f){return A.coerce2(e,t,o.attributes,y,f)}var a=i("linecolor",n),s=i("linewidth"),c=r("showline",o.showLine||!!a||!!s);c||(delete t.linecolor,delete t.linewidth);var h=g(n,o.bgColor,o.blend||x.lightFraction).toRgbString(),p=i("gridcolor",h),d=i("gridwidth"),T=i("griddash"),l=r("showgrid",o.showGrid||!!p||!!d||!!T);if(l||(delete t.gridcolor,delete t.gridwidth,delete t.griddash),o.hasMinor){var _=g(t.gridcolor,o.bgColor,67).toRgbString(),w=i("minor.gridcolor",_),M=i("minor.gridwidth",t.gridwidth||1),E=i("minor.griddash",t.griddash||"solid"),m=r("minor.showgrid",!!w||!!M||!!E);m||(delete t.minor.gridcolor,delete t.minor.gridwidth,delete t.minor.griddash)}if(!o.noZeroLine){var b=i("zerolinecolor",n),v=i("zerolinewidth"),u=r("zeroline",o.showGrid||!!b||!!v);u||(delete t.zerolinecolor,delete t.zerolinewidth)}}}}),s0=ke({"src/plots/cartesian/axis_defaults.js"(Z,H){"use strict";var g=Yn(),x=lo(),A=un(),S=yl(),e=Oh(),t=wh(),r=Pm(),o=qg(),n=Dp(),i=zp(),a=T_(),s=o0(),c=$w(),h=Cv(),p=oh().WEEKDAY_PATTERN,d=oh().HOUR_PATTERN;H.exports=function(M,E,m,b,v){var u=b.letter,y=b.font||{},f=b.splomStash||{},P=m("visible",!b.visibleDflt),L=E._template||{},z=E.type||L.type||"-",F;if(z==="date"){var B=x.getComponentMethod("calendars","handleDefaults");B(M,E,"calendar",b.calendar),b.noTicklabelmode||(F=m("ticklabelmode"))}!b.noTicklabelindex&&(z==="date"||z==="linear")&&m("ticklabelindex");var O="";(!b.noTicklabelposition||z==="multicategory")&&(O=A.coerce(M,E,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:F==="period"?["outside","inside"]:u==="x"?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),b.noTicklabeloverflow||m("ticklabeloverflow",O.indexOf("inside")!==-1?"hide past domain":z==="category"||z==="multicategory"?"allow":"hide past div"),h(E,v),c(M,E,m,b),a(M,E,m,b),z!=="category"&&!b.noHover&&m("hoverformat");var I=m("color"),N=I!==t.color.dflt?I:y.color,U=f.label||v._dfltTitle[u];if(i(M,E,m,z,b),!P)return E;m("title.text",U),A.coerceFont(m,"title.font",y,{overrideDflt:{size:A.bigFont(y.size),color:N}}),r(M,E,m,z);var W=b.hasMinor;if(W&&(S.newContainer(E,"minor"),r(M,E,m,z,{isMinor:!0})),n(M,E,m,z,b),o(M,E,m,b),W){var Q=b.isMinor;b.isMinor=!0,o(M,E,m,b),b.isMinor=Q}s(M,E,m,{dfltColor:I,bgColor:b.bgColor,showGrid:b.showGrid,hasMinor:W,attributes:t}),W&&!E.minor.ticks&&!E.minor.showgrid&&delete E.minor,(E.showline||E.ticks)&&m("mirror");var le=z==="multicategory";if(!b.noTickson&&(z==="category"||le)&&(E.ticks||E.showgrid)){var se;le&&(se="boundaries");var fe=m("tickson",se);fe==="boundaries"&&delete E.ticklabelposition}if(le){var G=m("showdividers");G&&(m("dividercolor"),m("dividerwidth"))}if(z==="date")if(e(M,E,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:T}),!E.rangebreaks.length)delete E.rangebreaks;else{for(var $=0;$=2){var u="",y,f;if(v.length===2){for(y=0;y<2;y++)if(f=_(v[y]),f){u=p;break}}var P=m("pattern",u);if(P===p)for(y=0;y<2;y++)f=_(v[y]),f&&(M.bounds[y]=v[y]=f-1);if(P)for(y=0;y<2;y++)switch(f=v[y],P){case p:if(!g(f)){M.enabled=!1;return}if(f=+f,f!==Math.floor(f)||f<0||f>=7){M.enabled=!1;return}M.bounds[y]=v[y]=f;break;case d:if(!g(f)){M.enabled=!1;return}if(f=+f,f<0||f>24){M.enabled=!1;return}M.bounds[y]=v[y]=f;break}if(E.autorange===!1){var L=E.range;if(L[0]L[1]){M.enabled=!1;return}}else if(v[0]>L[0]&&v[1]m[1]-1/4096&&(e.domain=h),x.noneOrAll(S.domain,e.domain,h),e.tickmode==="sync"&&(e.tickmode="auto")}return t("layer"),e}}}),z5=ke({"src/plots/cartesian/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=gd().isUnifiedHover,S=a2(),e=yl(),t=Ug(),r=wh(),o=T2(),n=s0(),i=Rm(),a=A_(),s=qc(),c=s.id2name,h=s.name2id,p=oh().AX_ID_PATTERN,d=lo(),T=d.traceIs,l=d.getComponentMethod;function _(w,M,E){Array.isArray(w[M])?w[M].push(E):w[M]=[E]}H.exports=function(M,E,m){var b=E.autotypenumbers,v={},u={},y={},f={},P={},L={},z={},F={},B={},O={},I,N;for(I=0;I rect").call(S.setTranslate,0,0).call(S.setScale,1,1),E.plot.call(S.setTranslate,m._offset,b._offset).call(S.setScale,1,1);var v=E.plot.selectAll(".scatterlayer .trace");v.selectAll(".point").call(S.setPointGroupScale,1,1),v.selectAll(".textpoint").call(S.setTextPointsScale,1,1),v.call(S.hideOutsideRangePoints,E)}function c(E,m){var b=E.plotinfo,v=b.xaxis,u=b.yaxis,y=v._length,f=u._length,P=!!E.xr1,L=!!E.yr1,z=[];if(P){var F=A.simpleMap(E.xr0,v.r2l),B=A.simpleMap(E.xr1,v.r2l),O=F[1]-F[0],I=B[1]-B[0];z[0]=(F[0]*(1-m)+m*B[0]-F[0])/(F[1]-F[0])*y,z[2]=y*(1-m+m*I/O),v.range[0]=v.l2r(F[0]*(1-m)+m*B[0]),v.range[1]=v.l2r(F[1]*(1-m)+m*B[1])}else z[0]=0,z[2]=y;if(L){var N=A.simpleMap(E.yr0,u.r2l),U=A.simpleMap(E.yr1,u.r2l),W=N[1]-N[0],Q=U[1]-U[0];z[1]=(N[1]*(1-m)+m*U[1]-N[1])/(N[0]-N[1])*f,z[3]=f*(1-m+m*Q/W),u.range[0]=v.l2r(N[0]*(1-m)+m*U[0]),u.range[1]=u.l2r(N[1]*(1-m)+m*U[1])}else z[1]=0,z[3]=f;e.drawOne(r,v,{skipTitle:!0}),e.drawOne(r,u,{skipTitle:!0}),e.redrawComponents(r,[v._id,u._id]);var le=P?y/z[2]:1,se=L?f/z[3]:1,fe=P?z[0]:0,G=L?z[1]:0,$=P?z[0]/z[2]*y:0,J=L?z[1]/z[3]*f:0,X=v._offset-$,re=u._offset-J;b.clipRect.call(S.setTranslate,fe,G).call(S.setScale,1/le,1/se),b.plot.call(S.setTranslate,X,re).call(S.setScale,le,se),S.setPointGroupScale(b.zoomScalePts,1/le,1/se),S.setTextPointsScale(b.zoomScaleTxt,1/le,1/se)}var h;i&&(h=i());function p(){for(var E={},m=0;mn.duration?(p(),_=window.cancelAnimationFrame(M)):_=window.requestAnimationFrame(M)}return T=Date.now(),_=window.requestAnimationFrame(M),Promise.resolve()}}}),xf=ke({"src/plots/cartesian/index.js"(Z){"use strict";var H=_i(),g=lo(),x=un(),A=Zu(),S=$o(),e=bh().getModuleCalcData,t=qc(),r=oh(),o=zd(),n=x.ensureSingle;function i(T,l,_){return x.ensureSingle(T,l,_,function(w){w.datum(_)})}var a=r.zindexSeparator;Z.name="cartesian",Z.attr=["xaxis","yaxis"],Z.idRoot=["x","y"],Z.idRegex=r.idRegex,Z.attrRegex=r.attrRegex,Z.attributes=D5(),Z.layoutAttributes=wh(),Z.supplyLayoutDefaults=z5(),Z.transitionAxes=F5(),Z.finalizeSubplots=function(T,l){var _=l._subplots,w=_.xaxis,M=_.yaxis,E=_.cartesian,m=E,b={},v={},u,y,f;for(u=0;u0){var L=P.id;if(L.indexOf(a)!==-1)continue;L+=a+(u+1),P=x.extendFlat({},P,{id:L,plot:M._cartesianlayer.selectAll(".subplot").select("."+L)})}for(var z=[],F,B=0;B1&&(W+=a+U),N.push(b+W),m=0;m1,f=l.mainplotinfo;if(!l.mainplot||y)if(u)l.xlines=n(w,"path","xlines-above"),l.ylines=n(w,"path","ylines-above"),l.xaxislayer=n(w,"g","xaxislayer-above"),l.yaxislayer=n(w,"g","yaxislayer-above");else{if(!m){var P=n(w,"g","layer-subplot");l.shapelayer=n(P,"g","shapelayer"),l.imagelayer=n(P,"g","imagelayer"),f&&y?(l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer):(l.minorGridlayer=n(w,"g","minor-gridlayer"),l.gridlayer=n(w,"g","gridlayer"),l.zerolinelayer=n(w,"g","zerolinelayer"));var L=n(w,"g","layer-between");l.shapelayerBetween=n(L,"g","shapelayer"),l.imagelayerBetween=n(L,"g","imagelayer"),n(w,"path","xlines-below"),n(w,"path","ylines-below"),l.overlinesBelow=n(w,"g","overlines-below"),n(w,"g","xaxislayer-below"),n(w,"g","yaxislayer-below"),l.overaxesBelow=n(w,"g","overaxes-below")}l.overplot=n(w,"g","overplot"),l.plot=n(l.overplot,"g",M),m||(l.xlines=n(w,"path","xlines-above"),l.ylines=n(w,"path","ylines-above"),l.overlinesAbove=n(w,"g","overlines-above"),n(w,"g","xaxislayer-above"),n(w,"g","yaxislayer-above"),l.overaxesAbove=n(w,"g","overaxes-above"),l.xlines=w.select(".xlines-"+b),l.ylines=w.select(".ylines-"+v),l.xaxislayer=w.select(".xaxislayer-"+b),l.yaxislayer=w.select(".yaxislayer-"+v))}else{var z=f.plotgroup,F=M+"-x",B=M+"-y";l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer,n(f.overlinesBelow,"path",F),n(f.overlinesBelow,"path",B),n(f.overaxesBelow,"g",F),n(f.overaxesBelow,"g",B),l.plot=n(f.overplot,"g",M),n(f.overlinesAbove,"path",F),n(f.overlinesAbove,"path",B),n(f.overaxesAbove,"g",F),n(f.overaxesAbove,"g",B),l.xlines=z.select(".overlines-"+b).select("."+F),l.ylines=z.select(".overlines-"+v).select("."+B),l.xaxislayer=z.select(".overaxes-"+b).select("."+F),l.yaxislayer=z.select(".overaxes-"+v).select("."+B)}m||(u||(i(l.minorGridlayer,"g",l.xaxis._id),i(l.minorGridlayer,"g",l.yaxis._id),l.minorGridlayer.selectAll("g").map(function(O){return O[0]}).sort(t.idSort),i(l.gridlayer,"g",l.xaxis._id),i(l.gridlayer,"g",l.yaxis._id),l.gridlayer.selectAll("g").map(function(O){return O[0]}).sort(t.idSort)),l.xlines.style("fill","none").classed("crisp",!0),l.ylines.style("fill","none").classed("crisp",!0))}function p(T,l){if(T){var _={};T.each(function(v){var u=v[0],y=H.select(this);y.remove(),d(u,l),_[u]=!0});for(var w in l._plots)for(var M=l._plots[w],E=M.overlays||[],m=0;m=0,l=i.indexOf("end")>=0,_=c.backoff*p+a.standoff,w=h.backoff*d+a.startstandoff,M,E,m,b;if(s.nodeName==="line"){M={x:+n.attr("x1"),y:+n.attr("y1")},E={x:+n.attr("x2"),y:+n.attr("y2")};var v=M.x-E.x,u=M.y-E.y;if(m=Math.atan2(u,v),b=m+Math.PI,_&&w&&_+w>Math.sqrt(v*v+u*u)){W();return}if(_){if(_*_>v*v+u*u){W();return}var y=_*Math.cos(m),f=_*Math.sin(m);E.x+=y,E.y+=f,n.attr({x2:E.x,y2:E.y})}if(w){if(w*w>v*v+u*u){W();return}var P=w*Math.cos(m),L=w*Math.sin(m);M.x-=P,M.y-=L,n.attr({x1:M.x,y1:M.y})}}else if(s.nodeName==="path"){var z=s.getTotalLength(),F="";if(z<_+w){W();return}var B=s.getPointAtLength(0),O=s.getPointAtLength(.1);m=Math.atan2(B.y-O.y,B.x-O.x),M=s.getPointAtLength(Math.min(w,z)),F="0px,"+w+"px,";var I=s.getPointAtLength(z),N=s.getPointAtLength(z-.1);b=Math.atan2(I.y-N.y,I.x-N.x),E=s.getPointAtLength(Math.max(0,z-_));var U=F?w+_:_;F+=z-U+"px,"+z+"px",n.style("stroke-dasharray",F)}function W(){n.style("stroke-dasharray","0px,100px")}function Q(le,se,fe,G){le.path&&(le.noRotate&&(fe=0),g.select(s.parentNode).append("path").attr({class:n.attr("class"),d:le.path,transform:r(se.x,se.y)+t(fe*180/Math.PI)+e(G)}).style({fill:x.rgb(a.arrowcolor),"stroke-width":0}))}T&&Q(h,M,m,d),l&&Q(c,E,b,p)}}}),M_=ke({"src/components/annotations/draw.js"(Z,H){"use strict";var g=_i(),x=lo(),A=Zu(),S=un(),e=S.strTranslate,t=Ho(),r=eo(),o=$o(),n=Ec(),i=Wl(),a=uv(),s=Xh(),c=yl().arrayEditor,h=B5();H.exports={draw:p,drawOne:d,drawRaw:l};function p(_){var w=_._fullLayout;w._infolayer.selectAll(".annotation").remove();for(var M=0;M2/3?zn="right":zn="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[zn]}for(var rt=!1,ot=["x","y"],et=0;et1)&&(Bt===Et?(Le=qt.r2fraction(w["a"+Lt]),(Le<0||Le>1)&&(rt=!0)):rt=!0),Ke=qt._offset+qt.r2p(w[Lt]),He=.5}else{var nt=we==="domain";Lt==="x"?(Se=w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.l+u.w*Se):(Se=1-w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.t+u.h*Se),He=w.showarrow?.5:Se}if(w.showarrow){Be.head=Ke;var pt=w["a"+Lt];if(Ee=ar*Oe(.5,w.xanchor)-Rr*Oe(.5,w.yanchor),Bt===Et){var bt=t.getRefType(Bt);bt==="domain"?(Lt==="y"&&(pt=1-pt),Be.tail=qt._offset+qt._length*pt):bt==="paper"?Lt==="y"?(pt=1-pt,Be.tail=u.t+u.h*pt):Be.tail=u.l+u.w*pt:Be.tail=qt._offset+qt.r2p(pt),je=Ee}else Be.tail=Ke+pt,je=Ee+pt;Be.text=Be.tail+Ee;var Rt=v[Lt==="x"?"width":"height"];if(Et==="paper"&&(Be.head=S.constrain(Be.head,1,Rt-1)),Bt==="pixel"){var Nt=-Math.max(Be.tail-3,Be.text),Xt=Math.min(Be.tail+3,Be.text)-Rt;Nt>0?(Be.tail+=Nt,Be.text+=Nt):Xt>0&&(Be.tail-=Xt,Be.text-=Xt)}Be.tail+=_t,Be.head+=_t}else Ee=gr*Oe(He,br),je=Ee,Be.text=Ke+Ee;Be.text+=_t,Ee+=_t,je+=_t,w["_"+Lt+"padplus"]=gr/2+je,w["_"+Lt+"padminus"]=gr/2-je,w["_"+Lt+"size"]=gr,w["_"+Lt+"shift"]=Ee}if(rt){fe.remove();return}var $t=0,ur=0;if(w.align!=="left"&&($t=(ut-at)*(w.align==="center"?.5:1)),w.valign!=="top"&&(ur=(Me-tt)*(w.valign==="middle"?.5:1)),Ye)Ie.select("svg").attr({x:J+$t-1,y:J+ur}).call(o.setClipUrl,re?O:null,_);else{var pn=J+ur-it.top,Rn=J+$t-it.left;ie.call(i.positionText,Rn,pn).call(o.setClipUrl,re?O:null,_)}ae.select("rect").call(o.setRect,J,J,ut,Me),X.call(o.setRect,G/2,G/2,pe-G,ue-G),fe.call(o.setTranslate,Math.round(I.x.text-pe/2),Math.round(I.y.text-ue/2)),W.attr({transform:"rotate("+N+","+I.x.text+","+I.y.text+")"});var Nn=function(ni,zn){U.selectAll(".annotation-arrow-g").remove();var Qn=I.x.head,gi=I.y.head,Zt=I.x.tail+ni,Ft=I.y.tail+zn,Ht=I.x.text+ni,Vt=I.y.text+zn,wr=S.rotationXYMatrix(N,Ht,Vt),$r=S.apply2DTransform(wr),xn=S.apply2DTransform2(wr),en=+X.attr("width"),Fn=+X.attr("height"),Wn=Ht-.5*en,ri=Wn+en,Sn=Vt-.5*Fn,ui=Sn+Fn,gt=[[Wn,Sn,Wn,ui],[Wn,ui,ri,ui],[ri,ui,ri,Sn],[ri,Sn,Wn,Sn]].map(xn);if(!gt.reduce(function(kt,or){return kt^!!S.segmentsIntersect(Qn,gi,Qn+1e6,gi+1e6,or[0],or[1],or[2],or[3])},!1)){gt.forEach(function(kt){var or=S.segmentsIntersect(Zt,Ft,Qn,gi,kt[0],kt[1],kt[2],kt[3]);or&&(Zt=or.x,Ft=or.y)});var yt=w.arrowwidth,Pr=w.arrowcolor,Ir=w.arrowside,Tr=U.append("g").style({opacity:r.opacity(Pr)}).classed("annotation-arrow-g",!0),Mr=Tr.append("path").attr("d","M"+Zt+","+Ft+"L"+Qn+","+gi).style("stroke-width",yt+"px").call(r.stroke,r.rgb(Pr));if(h(Mr,Ir,w),y.annotationPosition&&Mr.node().parentNode&&!E){var Lr=Qn,Ur=gi;if(w.standoff){var Dr=Math.sqrt(Math.pow(Qn-Zt,2)+Math.pow(gi-Ft,2));Lr+=w.standoff*(Zt-Qn)/Dr,Ur+=w.standoff*(Ft-gi)/Dr}var nn=Tr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Zt-Lr)+","+(Ft-Ur),transform:e(Lr,Ur)}).style("stroke-width",yt+6+"px").call(r.stroke,"rgba(0,0,0,0)").call(r.fill,"rgba(0,0,0,0)"),vn,gn;s.init({element:nn.node(),gd:_,prepFn:function(){var kt=o.getTranslate(fe);vn=kt.x,gn=kt.y,m&&m.autorange&&z(m._name+".autorange",!0),b&&b.autorange&&z(b._name+".autorange",!0)},moveFn:function(kt,or){var yr=$r(vn,gn),on=yr[0]+kt,An=yr[1]+or;fe.call(o.setTranslate,on,An),F("x",T(m,kt,"x",u,w)),F("y",T(b,or,"y",u,w)),w.axref===w.xref&&F("ax",T(m,kt,"ax",u,w)),w.ayref===w.yref&&F("ay",T(b,or,"ay",u,w)),Tr.attr("transform",e(kt,or)),W.attr({transform:"rotate("+N+","+on+","+An+")"})},doneFn:function(){x.call("_guiRelayout",_,B());var kt=document.querySelector(".js-notes-box-panel");kt&&kt.redraw(kt.selectedObj)}})}}};if(w.showarrow&&Nn(0,0),Q){var On;s.init({element:fe.node(),gd:_,prepFn:function(){On=W.attr("transform")},moveFn:function(ni,zn){var Qn="pointer";if(w.showarrow)w.axref===w.xref?F("ax",T(m,ni,"ax",u,w)):F("ax",w.ax+ni),w.ayref===w.yref?F("ay",T(b,zn,"ay",u.w,w)):F("ay",w.ay+zn),Nn(ni,zn);else{if(E)return;var gi,Zt;if(m)gi=T(m,ni,"x",u,w);else{var Ft=w._xsize/u.w,Ht=w.x+(w._xshift-w.xshift)/u.w-Ft/2;gi=s.align(Ht+ni/u.w,Ft,0,1,w.xanchor)}if(b)Zt=T(b,zn,"y",u,w);else{var Vt=w._ysize/u.h,wr=w.y-(w._yshift+w.yshift)/u.h-Vt/2;Zt=s.align(wr-zn/u.h,Vt,0,1,w.yanchor)}F("x",gi),F("y",Zt),(!m||!b)&&(Qn=s.getCursor(m?.5:gi,b?.5:Zt,w.xanchor,w.yanchor))}W.attr({transform:e(ni,zn)+On}),a(fe,Qn)},clickFn:function(ni,zn){w.captureevents&&_.emit("plotly_clickannotation",se(zn))},doneFn:function(){a(fe),x.call("_guiRelayout",_,B());var ni=document.querySelector(".js-notes-box-panel");ni&&ni.redraw(ni.selectedObj)}})}}y.annotationText?ie.call(i.makeEditable,{delegate:fe,gd:_}).call(ce).on("edit",function(Te){w.text=Te,this.call(ce),F("text",Te),m&&m.autorange&&z(m._name+".autorange",!0),b&&b.autorange&&z(b._name+".autorange",!0),x.call("_guiRelayout",_,B())}):ie.call(ce)}}}),N5=ke({"src/components/annotations/click.js"(Z,H){"use strict";var g=un(),x=lo(),A=yl().arrayEditor;H.exports={hasClickToShow:S,onClick:e};function S(o,n){var i=t(o,n);return i.on.length>0||i.explicitOff.length>0}function e(o,n){var i=t(o,n),a=i.on,s=i.off.concat(i.explicitOff),c={},h=o._fullLayout.annotations,p,d;if(a.length||s.length){for(p=0;p1){a=!0;break}}a?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+n+'"]').remove():(i._pdata=x(e.glplot.cameraParams,[t.xaxis.r2l(i.x)*r[0],t.yaxis.r2l(i.y)*r[1],t.zaxis.r2l(i.z)*r[2]]),g(e.graphDiv,i,n,e.id,i._xa,i._ya))}}}}),X5=ke({"src/components/annotations3d/index.js"(Z,H){"use strict";var g=lo(),x=un();H.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:S_()}}},layoutAttributes:S_(),handleDefaults:H5(),includeBasePlot:A,convert:G5(),draw:W5()};function A(S,e){var t=g.subplotsRegistry.gl3d;if(t)for(var r=t.attrRegex,o=Object.keys(S),n=0;n0?l+p:p;return{ppad:p,ppadplus:d?w:M,ppadminus:d?M:w}}else return{ppad:p}}function o(n,i,a){var s=n._id.charAt(0)==="x"?"x":"y",c=n.type==="category"||n.type==="multicategory",h,p,d=0,T=0,l=c?n.r2c:n.d2c,_=i[s+"sizemode"]==="scaled";if(_?(h=i[s+"0"],p=i[s+"1"],c&&(d=i[s+"0shift"],T=i[s+"1shift"])):(h=i[s+"anchor"],p=i[s+"anchor"]),h!==void 0)return[l(h)+d,l(p)+T];if(i.path){var w=1/0,M=-1/0,E=i.path.match(A.segmentRE),m,b,v,u,y;for(n.type==="date"&&(l=S.decodeDate(l)),m=0;mM&&(M=y)));if(M>=w)return[w,M]}}}}),J5=ke({"src/components/shapes/index.js"(Z,H){"use strict";var g=y_();H.exports={moduleType:"component",name:"shapes",layoutAttributes:S2(),supplyLayoutDefaults:Z5(),supplyDrawNewShapeDefaults:Y5(),includeBasePlot:a0()("shapes"),calcAutorange:K5(),draw:g.draw,drawOne:g.drawOne}}}),E2=ke({"src/components/images/attributes.js"(Z,H){"use strict";var g=oh(),x=yl().templatedArray,A=i0();H.exports=x("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw"},source:{valType:"string",editType:"arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},sizex:{valType:"number",dflt:0,editType:"arraydraw"},sizey:{valType:"number",dflt:0,editType:"arraydraw"},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},x:{valType:"any",dflt:0,editType:"arraydraw"},y:{valType:"any",dflt:0,editType:"arraydraw"},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw"},xref:{valType:"enumerated",values:["paper",g.idRegex.x.toString()],dflt:"paper",editType:"arraydraw"},yref:{valType:"enumerated",values:["paper",g.idRegex.y.toString()],dflt:"paper",editType:"arraydraw"},editType:"arraydraw"})}}),$5=ke({"src/components/images/defaults.js"(Z,H){"use strict";var g=un(),x=Ho(),A=Oh(),S=E2(),e="images";H.exports=function(o,n){var i={name:e,handleItemDefaults:t};A(o,n,i)};function t(r,o,n){function i(_,w){return g.coerce(r,o,S,_,w)}var a=i("source"),s=i("visible",!!a);if(!s)return o;i("layer"),i("xanchor"),i("yanchor"),i("sizex"),i("sizey"),i("sizing"),i("opacity");for(var c={_fullLayout:n},h=["x","y"],p=0;p<2;p++){var d=h[p],T=x.coerceRef(r,o,c,d,"paper",void 0);if(T!=="paper"){var l=x.getFromId(c,T);l._imgIndices.push(o._index)}x.coercePosition(o,c,i,T,d,0)}return o}}}),Q5=ke({"src/components/images/draw.js"(Z,H){"use strict";var g=_i(),x=$o(),A=Ho(),S=qc(),e=zd();H.exports=function(r){var o=r._fullLayout,n=[],i={},a=[],s,c;for(c=0;c0);h&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),g.noneOrAll(n,i,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),g.coerceFont(s,"font",a.font),s("bgcolor",a.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function o(n,i){function a(c,h){return g.coerce(n,i,t,c,h)}var s=a("visible",n.method==="skip"||Array.isArray(n.args));s&&(a("method"),a("args"),a("args2"),a("label"),a("execute"))}}}),nC=ke({"src/components/updatemenus/scrollbox.js"(Z,H){"use strict";H.exports=e;var g=_i(),x=eo(),A=$o(),S=un();function e(t,r,o){this.gd=t,this.container=r,this.id=o,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}e.barWidth=2,e.barLength=20,e.barRadius=2,e.barPad=1,e.barColor="#808BA4",e.prototype.enable=function(r,o,n){var i=this.gd._fullLayout,a=i.width,s=i.height;this.position=r;var c=this.position.l,h=this.position.w,p=this.position.t,d=this.position.h,T=this.position.direction,l=T==="down",_=T==="left",w=T==="right",M=T==="up",E=h,m=d,b,v,u,y;!l&&!_&&!w&&!M&&(this.position.direction="down",l=!0);var f=l||M;f?(b=c,v=b+E,l?(u=p,y=Math.min(u+m,s),m=y-u):(y=p+m,u=Math.max(y-m,0),m=y-u)):(u=p,y=u+m,_?(v=c+E,b=Math.max(v-E,0),E=v-b):(b=c,v=Math.min(b+E,a),E=v-b)),this._box={l:b,t:u,w:E,h:m};var P=h>E,L=e.barLength+2*e.barPad,z=e.barWidth+2*e.barPad,F=c,B=p+d;B+z>s&&(B=s-z);var O=this.container.selectAll("rect.scrollbar-horizontal").data(P?[0]:[]);O.exit().on(".drag",null).remove(),O.enter().append("rect").classed("scrollbar-horizontal",!0).call(x.fill,e.barColor),P?(this.hbar=O.attr({rx:e.barRadius,ry:e.barRadius,x:F,y:B,width:L,height:z}),this._hbarXMin=F+L/2,this._hbarTranslateMax=E-L):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=d>m,N=e.barWidth+2*e.barPad,U=e.barLength+2*e.barPad,W=c+h,Q=p;W+N>a&&(W=a-N);var le=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);le.exit().on(".drag",null).remove(),le.enter().append("rect").classed("scrollbar-vertical",!0).call(x.fill,e.barColor),I?(this.vbar=le.attr({rx:e.barRadius,ry:e.barRadius,x:W,y:Q,width:N,height:U}),this._vbarYMin=Q+U/2,this._vbarTranslateMax=m-U):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var se=this.id,fe=b-.5,G=I?v+N+.5:v+.5,$=u-.5,J=P?y+z+.5:y+.5,X=i._topdefs.selectAll("#"+se).data(P||I?[0]:[]);if(X.exit().remove(),X.enter().append("clipPath").attr("id",se).append("rect"),P||I?(this._clipRect=X.select("rect").attr({x:Math.floor(fe),y:Math.floor($),width:Math.ceil(G)-Math.floor(fe),height:Math.ceil(J)-Math.floor($)}),this.container.call(A.setClipUrl,se,this.gd),this.bg.attr({x:c,y:p,width:h,height:d})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(A.setClipUrl,null),delete this._clipRect),P||I){var re=g.behavior.drag().on("dragstart",function(){g.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ae=g.behavior.drag().on("dragstart",function(){g.event.sourceEvent.preventDefault(),g.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));P&&this.hbar.on(".drag",null).call(ae),I&&this.vbar.on(".drag",null).call(ae)}this.setTranslate(o,n)},e.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(A.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},e.prototype._onBoxDrag=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r-=g.event.dx),this.vbar&&(o-=g.event.dy),this.setTranslate(r,o)},e.prototype._onBoxWheel=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r+=g.event.deltaY),this.vbar&&(o+=g.event.deltaY),this.setTranslate(r,o)},e.prototype._onBarDrag=function(){var r=this.translateX,o=this.translateY;if(this.hbar){var n=r+this._hbarXMin,i=n+this._hbarTranslateMax,a=S.constrain(g.event.x,n,i),s=(a-n)/(i-n),c=this.position.w-this._box.w;r=s*c}if(this.vbar){var h=o+this._vbarYMin,p=h+this._vbarTranslateMax,d=S.constrain(g.event.y,h,p),T=(d-h)/(p-h),l=this.position.h-this._box.h;o=T*l}this.setTranslate(r,o)},e.prototype.setTranslate=function(r,o){var n=this.position.w-this._box.w,i=this.position.h-this._box.h;if(r=S.constrain(r||0,0,n),o=S.constrain(o||0,0,i),this.translateX=r,this.translateY=o,this.container.call(A.setTranslate,this._box.l-this.position.l-r,this._box.t-this.position.t-o),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+r-.5),y:Math.floor(this.position.t+o-.5)}),this.hbar){var a=r/n;this.hbar.call(A.setTranslate,r+a*this._hbarTranslateMax,o)}if(this.vbar){var s=o/i;this.vbar.call(A.setTranslate,r,o+s*this._vbarTranslateMax)}}}}),iC=ke({"src/components/updatemenus/draw.js"(Z,H){"use strict";var g=_i(),x=Zu(),A=eo(),S=$o(),e=un(),t=Wl(),r=yl().arrayEditor,o=Yf().LINE_SPACING,n=E_(),i=nC();H.exports=function(L){var z=L._fullLayout,F=e.filterVisible(z[n.name]);function B(se){x.autoMargin(L,u(se))}var O=z._menulayer.selectAll("g."+n.containerClassName).data(F.length>0?[0]:[]);if(O.enter().append("g").classed(n.containerClassName,!0).style("cursor","pointer"),O.exit().each(function(){g.select(this).selectAll("g."+n.headerGroupClassName).each(B)}).remove(),F.length!==0){var I=O.selectAll("g."+n.headerGroupClassName).data(F,a);I.enter().append("g").classed(n.headerGroupClassName,!0);for(var N=e.ensureSingle(O,"g",n.dropdownButtonGroupClassName,function(se){se.style("pointer-events","all")}),U=0;U0?[0]:[]);W.enter().append("g").classed(n.containerClassName,!0).style("cursor",I?null:"ew-resize");function Q(G){G._commandObserver&&(G._commandObserver.remove(),delete G._commandObserver),x.autoMargin(O,h(G))}if(W.exit().each(function(){g.select(this).selectAll("g."+n.groupClassName).each(Q)}).remove(),U.length!==0){var le=W.selectAll("g."+n.groupClassName).data(U,d);le.enter().append("g").classed(n.groupClassName,!0),le.exit().each(Q).remove();for(var se=0;se0&&(le=le.transition().duration(O.transition.duration).ease(O.transition.easing)),le.attr("transform",t(Q-n.gripWidth*.5,O._dims.currentValueTotalHeight))}}function P(B,O){var I=B._dims;return I.inputAreaStart+n.stepInset+(I.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,O))}function L(B,O){var I=B._dims;return Math.min(1,Math.max(0,(O-n.stepInset-I.inputAreaStart)/(I.inputAreaLength-2*n.stepInset-2*I.inputAreaStart)))}function z(B,O,I){var N=I._dims,U=e.ensureSingle(B,"rect",n.railTouchRectClass,function(W){W.call(v,O,B,I).style("pointer-events","all")});U.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,n.tickOffset+I.ticklen+N.labelHeight)}).call(A.fill,I.bgcolor).attr("opacity",0),S.setTranslate(U,0,N.currentValueTotalHeight)}function F(B,O){var I=O._dims,N=I.inputAreaLength-n.railInset*2,U=e.ensureSingle(B,"rect",n.railRectClass);U.attr({width:N,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,"shape-rendering":"crispEdges"}).call(A.stroke,O.bordercolor).call(A.fill,O.bgcolor).style("stroke-width",O.borderwidth+"px"),S.setTranslate(U,n.railInset,(I.inputAreaWidth-n.railWidth)*.5+I.currentValueTotalHeight)}}}),lC=ke({"src/components/sliders/index.js"(Z,H){"use strict";var g=l0();H.exports={moduleType:"component",name:g.name,layoutAttributes:k2(),supplyLayoutDefaults:oC(),draw:sC()}}}),C_=ke({"src/components/rangeslider/attributes.js"(Z,H){"use strict";var g=If();H.exports={bgcolor:{valType:"color",dflt:g.background,editType:"plot"},bordercolor:{valType:"color",dflt:g.defaultLine,editType:"plot"},borderwidth:{valType:"integer",dflt:0,min:0,editType:"plot"},autorange:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},range:{valType:"info_array",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1}},thickness:{valType:"number",dflt:.15,min:0,max:1,editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"}}}),L2=ke({"src/components/rangeslider/oppaxis_attributes.js"(Z,H){"use strict";H.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",editType:"calc"},range:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},editType:"calc"}}}),k_=ke({"src/components/rangeslider/constants.js"(Z,H){"use strict";H.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}}}),uC=ke({"src/components/rangeslider/helpers.js"(Z){"use strict";var H=qc(),g=Wl(),x=k_(),A=Yf().LINE_SPACING,S=x.name;function e(t){var r=t&&t[S];return r&&r.visible}Z.isVisible=e,Z.makeData=function(t){for(var r=H.list({_fullLayout:t},"x",!0),o=t.margin,n=[],i=0;i=at.max)Ye=ce[it+1];else if(Ie=at.pmax)Ye=ce[it+1];else if(Ie0?v.touches[0].clientX:0}function p(v,u,y,f){if(u._context.staticPlot)return;var P=v.select("rect."+c.slideBoxClassName).node(),L=v.select("rect."+c.grabAreaMinClassName).node(),z=v.select("rect."+c.grabAreaMaxClassName).node();function F(){var B=g.event,O=B.target,I=h(B),N=I-v.node().getBoundingClientRect().left,U=f.d2p(y._rl[0]),W=f.d2p(y._rl[1]),Q=a.coverSlip();this.addEventListener("touchmove",le),this.addEventListener("touchend",se),Q.addEventListener("mousemove",le),Q.addEventListener("mouseup",se);function le(fe){var G=h(fe),$=+G-I,J,X,re;switch(O){case P:if(re="ew-resize",U+$>y._length||W+$<0)return;J=U+$,X=W+$;break;case L:if(re="col-resize",U+$>y._length)return;J=U+$,X=W;break;case z:if(re="col-resize",W+$<0)return;J=U,X=W+$;break;default:re="ew-resize",J=N,X=N+$;break}if(X0);if(_){var w=o(a,s,c);T("x",w[0]),T("y",w[1]),g.noneOrAll(i,a,["x","y"]),T("xanchor"),T("yanchor"),g.coerceFont(T,"font",s.font);var M=T("bgcolor");T("activecolor",x.contrast(M,t.lightAmount,t.darkAmount)),T("bordercolor"),T("borderwidth")}};function r(n,i,a,s){var c=s.calendar;function h(T,l){return g.coerce(n,i,e.buttons,T,l)}var p=h("visible");if(p){var d=h("step");d!=="all"&&(c&&c!=="gregorian"&&(d==="month"||d==="year")?i.stepmode="backward":h("stepmode"),h("count")),h("label")}}function o(n,i,a){for(var s=a.filter(function(d){return i[d].anchor===n._id}),c=0,h=0;h1)){delete c.grid;return}if(!T&&!l&&!_){var y=b("pattern")==="independent";y&&(T=!0)}m._hasSubplotGrid=T;var f=b("roworder"),P=f==="top to bottom",L=T?.2:.1,z=T?.3:.1,F,B;w&&c._splomGridDflt&&(F=c._splomGridDflt.xside,B=c._splomGridDflt.yside),m._domains={x:n("x",b,L,F,u),y:n("y",b,z,B,v,P)}}function n(s,c,h,p,d,T){var l=c(s+"gap",h),_=c("domain."+s);c(s+"side",p);for(var w=new Array(d),M=_[0],E=(_[1]-M)/(d-l),m=E*(1-l),b=0;b0,p=r._context.staticPlot;o.each(function(d){var T=d[0].trace,l=T.error_x||{},_=T.error_y||{},w;T.ids&&(w=function(b){return b.id});var M=S.hasMarkers(T)&&T.marker.maxdisplayed>0;!_.visible&&!l.visible&&(d=[]);var E=g.select(this).selectAll("g.errorbar").data(d,w);if(E.exit().remove(),!!d.length){l.visible||E.selectAll("path.xerror").remove(),_.visible||E.selectAll("path.yerror").remove(),E.style("opacity",1);var m=E.enter().append("g").classed("errorbar",!0);h&&m.style("opacity",0).transition().duration(i.duration).style("opacity",1),A.setClipUrl(E,n.layerClipId,r),E.each(function(b){var v=g.select(this),u=e(b,s,c);if(!(M&&!b.vis)){var y,f=v.select("path.yerror");if(_.visible&&x(u.x)&&x(u.yh)&&x(u.ys)){var P=_.width;y="M"+(u.x-P)+","+u.yh+"h"+2*P+"m-"+P+",0V"+u.ys,u.noYS||(y+="m-"+P+",0h"+2*P),a=!f.size(),a?f=v.append("path").style("vector-effect",p?"none":"non-scaling-stroke").classed("yerror",!0):h&&(f=f.transition().duration(i.duration).ease(i.easing)),f.attr("d",y)}else f.remove();var L=v.select("path.xerror");if(l.visible&&x(u.y)&&x(u.xh)&&x(u.xs)){var z=(l.copy_ystyle?_:l).width;y="M"+u.xh+","+(u.y-z)+"v"+2*z+"m0,-"+z+"H"+u.xs,u.noXS||(y+="m0,-"+z+"v"+2*z),a=!L.size(),a?L=v.append("path").style("vector-effect",p?"none":"non-scaling-stroke").classed("xerror",!0):h&&(L=L.transition().duration(i.duration).ease(i.easing)),L.attr("d",y)}else L.remove()}})}})};function e(t,r,o){var n={x:r.c2p(t.x),y:o.c2p(t.y)};return t.yh!==void 0&&(n.yh=o.c2p(t.yh),n.ys=o.c2p(t.ys),x(n.ys)||(n.noYS=!0,n.ys=o.c2p(t.ys,!0))),t.xh!==void 0&&(n.xh=r.c2p(t.xh),n.xs=r.c2p(t.xs),x(n.xs)||(n.noXS=!0,n.xs=r.c2p(t.xs,!0))),n}}}),bC=ke({"src/components/errorbars/style.js"(Z,H){"use strict";var g=_i(),x=eo();H.exports=function(S){S.each(function(e){var t=e[0].trace,r=t.error_y||{},o=t.error_x||{},n=g.select(this);n.selectAll("path.yerror").style("stroke-width",r.thickness+"px").call(x.stroke,r.color),o.copy_ystyle&&(o=r),n.selectAll("path.xerror").style("stroke-width",o.thickness+"px").call(x.stroke,o.color)})}}}),wC=ke({"src/components/errorbars/index.js"(Z,H){"use strict";var g=un(),x=ju().overrideAll,A=R2(),S={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A)};delete S.error_x.copy_zstyle,delete S.error_y.copy_zstyle,delete S.error_y.copy_ystyle;var e={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A),error_z:g.extendFlat({},A)};delete e.error_x.copy_ystyle,delete e.error_y.copy_ystyle,delete e.error_z.copy_ystyle,delete e.error_z.copy_zstyle,H.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:S,bar:S,histogram:S,scatter3d:x(e,"calc","nested"),scattergl:x(S,"calc","nested")}},supplyDefaults:yC(),calc:_C(),makeComputeError:D2(),plot:xC(),style:bC(),hoverInfo:t};function t(r,o,n){(o.error_y||{}).visible&&(n.yerr=r.yh-r.y,o.error_y.symmetric||(n.yerrneg=r.y-r.ys)),(o.error_x||{}).visible&&(n.xerr=r.xh-r.x,o.error_x.symmetric||(n.xerrneg=r.x-r.xs))}}}),TC=ke({"src/components/colorbar/constants.js"(Z,H){"use strict";H.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}}}),AC=ke({"src/components/colorbar/draw.js"(Z,H){"use strict";var g=_i(),x=ru(),A=Zu(),S=lo(),e=Ho(),t=Xh(),r=un(),o=r.strTranslate,n=To().extendFlat,i=uv(),a=$o(),s=eo(),c=Im(),h=Wl(),p=ad().flipScale,d=s0(),T=A_(),l=wh(),_=Yf(),w=_.LINE_SPACING,M=_.FROM_TL,E=_.FROM_BR,m=TC().cn;function b(L){var z=L._fullLayout,F=z._infolayer.selectAll("g."+m.colorbar).data(v(L),function(B){return B._id});F.enter().append("g").attr("class",function(B){return B._id}).classed(m.colorbar,!0),F.each(function(B){var O=g.select(this);r.ensureSingle(O,"rect",m.cbbg),r.ensureSingle(O,"g",m.cbfills),r.ensureSingle(O,"g",m.cblines),r.ensureSingle(O,"g",m.cbaxis,function(N){N.classed(m.crisp,!0)}),r.ensureSingle(O,"g",m.cbtitleunshift,function(N){N.append("g").classed(m.cbtitle,!0)}),r.ensureSingle(O,"rect",m.cboutline);var I=u(O,B,L);I&&I.then&&(L._promises||[]).push(I),L._context.edits.colorbarPosition&&y(O,B,L)}),F.exit().each(function(B){A.autoMargin(L,B._id)}).remove(),F.order()}function v(L){var z=L._fullLayout,F=L.calcdata,B=[],O,I,N,U;function W(j){return n(j,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof U.calc=="function"?U.calc(L,N,O):(O._fillgradient=I.reversescale?p(I.colorscale):I.colorscale,O._zrange=[I[U.min],I[U.max]])}for(var le=0;le1){var Be=Math.pow(10,Math.floor(Math.log(_t)/Math.LN10));gr*=Be*r.roundUp(_t/Be,[2,5,10]),(Math.abs(it.start)/it.size+1e-6)%1<2e-6&&(ar.tick0=0)}ar.dtick=gr}ar.domain=B?[qt+$/ee.h,qt+Oe-$/ee.h]:[qt+G/ee.w,qt+Oe-G/ee.w],ar.setScale(),L.attr("transform",o(Math.round(ee.l),Math.round(ee.t)));var Ke=L.select("."+m.cbtitleunshift).attr("transform",o(-Math.round(ee.l),-Math.round(ee.t))),je=ar.ticklabelposition,Se=ar.title.font.size,He=L.select("."+m.cbaxis),Ee,we=0,Le=0;function nt(Xt,$t){var ur={propContainer:ar,propName:z._propPrefix+"title",traceIndex:z._traceIndex,_meta:z._meta,placeholder:j._dfltTitle.colorbar,containerGroup:L.select("."+m.cbtitle)},pn=Xt.charAt(0)==="h"?Xt.substr(1):"h"+Xt;L.selectAll("."+pn+",."+pn+"-math-group").remove(),c.draw(F,Xt,n(ur,$t||{}))}function pt(){if(B&&Rr||!B&&!Rr){var Xt,$t;Te==="top"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt-Oe)+3+Se*.75),Te==="bottom"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt)-3-Se*.25),Te==="right"&&($t=$+ee.t+ot*X+3+Se*.75,Xt=G+ee.l+rt*qt),nt(ar._id+"title",{attributes:{x:Xt,y:$t,"text-anchor":B?"start":"middle"}})}}function bt(){if(B&&!Rr||!B&&Rr){var Xt=ar.position||0,$t=ar._offset+ar._length/2,ur,pn;if(Te==="right")pn=$t,ur=ee.l+rt*Xt+10+Se*(ar.showticklabels?1:.5);else if(ur=$t,Te==="bottom"&&(pn=ee.t+ot*Xt+10+(je.indexOf("inside")===-1?ar.tickfont.size:0)+(ar.ticks!=="intside"&&z.ticklen||0)),Te==="top"){var Rn=xe.text.split("
").length;pn=ee.t+ot*Xt+10-Me-w*Se*Rn}nt((B?"h":"v")+ar._id+"title",{avoid:{selection:g.select(F).selectAll("g."+ar._id+"tick"),side:Te,offsetTop:B?0:ee.t,offsetLeft:B?ee.l:0,maxShift:B?j.width:j.height},attributes:{x:ur,y:pn,"text-anchor":"middle"},transform:{rotate:B?-90:0,offset:0}})}}function Rt(){if(!B&&!Rr||B&&Rr){var Xt=L.select("."+m.cbtitle),$t=Xt.select("text"),ur=[-W/2,W/2],pn=Xt.select(".h"+ar._id+"title-math-group").node(),Rn=15.6;$t.node()&&(Rn=parseInt($t.node().style.fontSize,10)*w);var Nn;if(pn?(Nn=a.bBox(pn),Le=Nn.width,we=Nn.height,we>Rn&&(ur[1]-=(we-Rn)/2)):$t.node()&&!$t.classed(m.jsPlaceholder)&&(Nn=a.bBox($t.node()),Le=Nn.width,we=Nn.height),B){if(we){if(we+=5,Te==="top")ar.domain[1]-=we/ee.h,ur[1]*=-1;else{ar.domain[0]+=we/ee.h;var On=h.lineCount($t);ur[1]+=(1-On)*Rn}Xt.attr("transform",o(ur[0],ur[1])),ar.setScale()}}else Le&&(Te==="right"&&(ar.domain[0]+=(Le+Se/2)/ee.w),Xt.attr("transform",o(ur[0],ur[1])),ar.setScale())}L.selectAll("."+m.cbfills+",."+m.cblines).attr("transform",B?o(0,Math.round(ee.h*(1-ar.domain[1]))):o(Math.round(ee.w*ar.domain[0]),0)),He.attr("transform",B?o(0,Math.round(-ee.t)):o(Math.round(-ee.l),0));var ni=L.select("."+m.cbfills).selectAll("rect."+m.cbfill).attr("style","").data(tt);ni.enter().append("rect").classed(m.cbfill,!0).attr("style",""),ni.exit().remove();var zn=Ue.map(ar.c2p).map(Math.round).sort(function(Ht,Vt){return Ht-Vt});ni.each(function(Ht,Vt){var wr=[Vt===0?Ue[0]:(tt[Vt]+tt[Vt-1])/2,Vt===tt.length-1?Ue[1]:(tt[Vt]+tt[Vt+1])/2].map(ar.c2p).map(Math.round);B&&(wr[1]=r.constrain(wr[1]+(wr[1]>wr[0])?1:-1,zn[0],zn[1]));var $r=g.select(this).attr(B?"x":"y",et).attr(B?"y":"x",g.min(wr)).attr(B?"width":"height",Math.max(Me,2)).attr(B?"height":"width",Math.max(g.max(wr)-g.min(wr),2));if(z._fillgradient)a.gradient($r,F,z._id,B?"vertical":"horizontalreversed",z._fillgradient,"fill");else{var xn=Ye(Ht).replace("e-","");$r.attr("fill",x(xn).toHexString())}});var Qn=L.select("."+m.cblines).selectAll("path."+m.cbline).data(ce.color&&ce.width?ut:[]);Qn.enter().append("path").classed(m.cbline,!0),Qn.exit().remove(),Qn.each(function(Ht){var Vt=et,wr=Math.round(ar.c2p(Ht))+ce.width/2%1;g.select(this).attr("d","M"+(B?Vt+","+wr:wr+","+Vt)+(B?"h":"v")+Me).call(a.lineGroupStyle,ce.width,Ie(Ht),ce.dash)}),He.selectAll("g."+ar._id+"tick,path").remove();var gi=et+Me+(W||0)/2-(z.ticks==="outside"?1:0),Zt=e.calcTicks(ar),Ft=e.getTickSigns(ar)[2];return e.drawTicks(F,ar,{vals:ar.ticks==="inside"?e.clipEnds(ar,Zt):Zt,layer:He,path:e.makeTickPath(ar,gi,Ft),transFn:e.makeTransTickFn(ar)}),e.drawLabels(F,ar,{vals:Zt,layer:He,transFn:e.makeTransTickLabelFn(ar),labelFns:e.makeLabelFns(ar,gi)})}function Nt(){var Xt,$t=Me+W/2;je.indexOf("inside")===-1&&(Xt=a.bBox(He.node()),$t+=B?Xt.width:Xt.height),Ee=Ke.select("text");var ur=0,pn=B&&Te==="top",Rn=!B&&Te==="right",Nn=0;if(Ee.node()&&!Ee.classed(m.jsPlaceholder)){var On,ni=Ke.select(".h"+ar._id+"title-math-group").node();ni&&(B&&Rr||!B&&!Rr)?(Xt=a.bBox(ni),ur=Xt.width,On=Xt.height):(Xt=a.bBox(Ke.node()),ur=Xt.right-ee.l-(B?et:fr),On=Xt.bottom-ee.t-(B?fr:et),!B&&Te==="top"&&($t+=Xt.height,Nn=Xt.height)),Rn&&(Ee.attr("transform",o(ur/2+Se/2,0)),ur*=2),$t=Math.max($t,B?ur:On)}var zn=(B?G:$)*2+$t+Q+W/2,Qn=0;!B&&xe.text&&fe==="bottom"&&X<=0&&(Qn=zn/2,zn+=Qn,Nn+=Qn),j._hColorbarMoveTitle=Qn,j._hColorbarMoveCBTitle=Nn;var gi=Q+W,Zt=(B?et:fr)-gi/2-(B?G:0),Ft=(B?fr:et)-(B?ue:$+Nn-Qn);L.select("."+m.cbbg).attr("x",Zt).attr("y",Ft).attr(B?"width":"height",Math.max(zn-Qn,2)).attr(B?"height":"width",Math.max(ue+gi,2)).call(s.fill,le).call(s.stroke,z.bordercolor).style("stroke-width",Q);var Ht=Rn?Math.max(ur-10,0):0;L.selectAll("."+m.cboutline).attr("x",(B?et:fr+G)+Ht).attr("y",(B?fr+$-ue:et)+(pn?we:0)).attr(B?"width":"height",Math.max(Me,2)).attr(B?"height":"width",Math.max(ue-(B?2*$+we:2*G+Ht),2)).call(s.stroke,z.outlinecolor).style({fill:"none","stroke-width":W});var Vt=B?Lt*zn:0,wr=B?0:(1-Et)*zn-Nn;if(Vt=ae?ee.l-Vt:-Vt,wr=re?ee.t-wr:-wr,L.attr("transform",o(Vt,wr)),!B&&(Q||x(le).getAlpha()&&!x.equals(j.paper_bgcolor,le))){var $r=He.selectAll("text"),xn=$r[0].length,en=L.select("."+m.cbbg).node(),Fn=a.bBox(en),Wn=a.getTranslate(L),ri=2;$r.each(function(Ur,Dr){var nn=0,vn=xn-1;if(Dr===nn||Dr===vn){var gn=a.bBox(this),kt=a.getTranslate(this),or;if(Dr===vn){var yr=gn.right+kt.x,on=Fn.right+Wn.x+fr-Q-ri+J;or=on-yr,or>0&&(or=0)}else if(Dr===nn){var An=gn.left+kt.x,Zn=Fn.left+Wn.x+fr+Q+ri;or=Zn-An,or<0&&(or=0)}or&&(xn<3?this.setAttribute("transform","translate("+or+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var Sn={},ui=M[se],gt=E[se],yt=M[fe],Pr=E[fe],Ir=zn-Me;B?(I==="pixels"?(Sn.y=X,Sn.t=ue*yt,Sn.b=ue*Pr):(Sn.t=Sn.b=0,Sn.yt=X+O*yt,Sn.yb=X-O*Pr),U==="pixels"?(Sn.x=J,Sn.l=zn*ui,Sn.r=zn*gt):(Sn.l=Ir*ui,Sn.r=Ir*gt,Sn.xl=J-N*ui,Sn.xr=J+N*gt)):(I==="pixels"?(Sn.x=J,Sn.l=ue*ui,Sn.r=ue*gt):(Sn.l=Sn.r=0,Sn.xl=J+O*ui,Sn.xr=J-O*gt),U==="pixels"?(Sn.y=1-X,Sn.t=zn*yt,Sn.b=zn*Pr):(Sn.t=Ir*yt,Sn.b=Ir*Pr,Sn.yt=X-N*yt,Sn.yb=X+N*Pr));var Tr=z.y<.5?"b":"t",Mr=z.x<.5?"l":"r";F._fullLayout._reservedMargin[z._id]={};var Lr={r:j.width-Zt-Vt,l:Zt+Sn.r,b:j.height-Ft-wr,t:Ft+Sn.b};ae&&re?A.autoMargin(F,z._id,Sn):ae?F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]:re||B?F._fullLayout._reservedMargin[z._id][Mr]=Lr[Mr]:F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]}return r.syncOrAsync([A.previousPromises,pt,Rt,bt,A.previousPromises,Nt],F)}function y(L,z,F){var B=z.orientation==="v",O=F._fullLayout,I=O._size,N,U,W;t.init({element:L.node(),gd:F,prepFn:function(){N=L.attr("transform"),i(L)},moveFn:function(Q,le){L.attr("transform",N+o(Q,le)),U=t.align((B?z._uFrac:z._vFrac)+Q/I.w,B?z._thickFrac:z._lenFrac,0,1,z.xanchor),W=t.align((B?z._vFrac:1-z._uFrac)-le/I.h,B?z._lenFrac:z._thickFrac,0,1,z.yanchor);var se=t.getCursor(U,W,z.xanchor,z.yanchor);i(L,se)},doneFn:function(){if(i(L),U!==void 0&&W!==void 0){var Q={};Q[z._propPrefix+"x"]=U,Q[z._propPrefix+"y"]=W,z._traceIndex!==void 0?S.call("_guiRestyle",F,Q,z._traceIndex):S.call("_guiRelayout",F,Q)}}})}function f(L,z,F){var B=z._levels,O=[],I=[],N,U,W=B.end+B.size/100,Q=B.size,le=1.001*F[0]-.001*F[1],se=1.001*F[1]-.001*F[0];for(U=0;U<1e5&&(N=B.start+U*Q,!(Q>0?N>=W:N<=W));U++)N>le&&N0?N>=W:N<=W));U++)N>F[0]&&N-1}H.exports=function(o,n){var i,a=o.data,s=o.layout,c=S([],a),h=S({},s,e(n.tileClass)),p=o._context||{};if(n.width&&(h.width=n.width),n.height&&(h.height=n.height),n.tileClass==="thumbnail"||n.tileClass==="themes__thumb"){h.annotations=[];var d=Object.keys(h);for(i=0;i=0)return p}else if(typeof p=="string"&&(p=p.trim(),p.slice(-1)==="%"&&g(p.slice(0,-1))&&(p=+p.slice(0,-1),p>=0)))return p+"%"}function h(p,d,T,l,_,w){w=w||{};var M=w.moduleHasSelected!==!1,E=w.moduleHasUnselected!==!1,m=w.moduleHasConstrain!==!1,b=w.moduleHasCliponaxis!==!1,v=w.moduleHasTextangle!==!1,u=w.moduleHasInsideanchor!==!1,y=!!w.hasPathbar,f=Array.isArray(_)||_==="auto",P=f||_==="inside",L=f||_==="outside";if(P||L){var z=i(l,"textfont",T.font),F=x.extendFlat({},z),B=p.textfont&&p.textfont.color,O=!B;if(O&&delete F.color,i(l,"insidetextfont",F),y){var I=x.extendFlat({},z);O&&delete I.color,i(l,"pathbar.textfont",I)}L&&i(l,"outsidetextfont",z),M&&l("selected.textfont.color"),E&&l("unselected.textfont.color"),m&&l("constraintext"),b&&l("cliponaxis"),v&&l("textangle"),l("texttemplate")}P&&u&&l("insidetextanchor")}H.exports={supplyDefaults:a,crossTraceDefaults:s,handleText:h,validateCornerradius:c}}}),F2=ke({"src/traces/bar/layout_defaults.js"(Z,H){"use strict";var g=lo(),x=Ho(),A=un(),S=P_(),e=Od().validateCornerradius;H.exports=function(t,r,o){function n(M,E){return A.coerce(t,r,S,M,E)}for(var i=!1,a=!1,s=!1,c={},h=n("barmode"),p=h==="group",d=0;d0&&!c[l]&&(s=!0),c[l]=!0),T.visible&&T.type==="histogram"){var _=x.getFromId({_fullLayout:r},T[T.orientation==="v"?"xaxis":"yaxis"]);_.type!=="category"&&(a=!0)}}if(!i){delete r.barmode;return}h!=="overlay"&&n("barnorm"),n("bargap",a&&!s?0:.2),n("bargroupgap");var w=n("barcornerradius");r.barcornerradius=e(w)}}}),u0=ke({"src/traces/bar/arrays_to_calcdata.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){for(var e=0;er;if(!o)return S}return e!==void 0?e:A.dflt},Z.coerceColor=function(A,S,e){return g(S).isValid()?S:e!==void 0?e:A.dflt},Z.coerceEnumerated=function(A,S,e){return A.coerceNumber&&(S=+S),A.values.indexOf(S)!==-1?S:e!==void 0?e:A.dflt},Z.getValue=function(A,S){var e;return x(A)?S1||y.bargap===0&&y.bargroupgap===0&&!f[0].trace.marker.line.width)&&g.select(this).attr("shape-rendering","crispEdges")}),v.selectAll("g.points").each(function(f){var P=g.select(this),L=f[0].trace;c(P,L,b)}),e.getComponentMethod("errorbars","style")(v)}function c(b,v,u){A.pointStyle(b.selectAll("path"),v,u),h(b,v,u)}function h(b,v,u){b.selectAll("text").each(function(y){var f=g.select(this),P=S.ensureUniformFontSize(u,l(f,y,v,u));A.font(f,P)})}function p(b,v,u){var y=v[0].trace;y.selectedpoints?d(u,y,b):(c(u,y,b),e.getComponentMethod("errorbars","style")(u))}function d(b,v,u){A.selectedPointStyle(b.selectAll("path"),v),T(b.selectAll("text"),v,u)}function T(b,v,u){b.each(function(y){var f=g.select(this),P;if(y.selected){P=S.ensureUniformFontSize(u,l(f,y,v,u));var L=v.selected.textfont&&v.selected.textfont.color;L&&(P.color=L),A.font(f,P)}else A.selectedTextStyle(f,v)})}function l(b,v,u,y){var f=y._fullLayout.font,P=u.textfont;if(b.classed("bartext-inside")){var L=m(v,u);P=w(u,v.i,f,L)}else b.classed("bartext-outside")&&(P=M(u,v.i,f));return P}function _(b,v,u){return E(o,b.textfont,v,u)}function w(b,v,u,y){var f=_(b,v,u),P=b._input.textfont===void 0||b._input.textfont.color===void 0||Array.isArray(b.textfont.color)&&b.textfont.color[v]===void 0;return P&&(f={color:x.contrast(y),family:f.family,size:f.size,weight:f.weight,style:f.style,variant:f.variant,textcase:f.textcase,lineposition:f.lineposition,shadow:f.shadow}),E(n,b.insidetextfont,v,f)}function M(b,v,u){var y=_(b,v,u);return E(i,b.outsidetextfont,v,y)}function E(b,v,u,y){v=v||{};var f=a.getValue(v.family,u),P=a.getValue(v.size,u),L=a.getValue(v.color,u),z=a.getValue(v.weight,u),F=a.getValue(v.style,u),B=a.getValue(v.variant,u),O=a.getValue(v.textcase,u),I=a.getValue(v.lineposition,u),N=a.getValue(v.shadow,u);return{family:a.coerceString(b.family,f,y.family),size:a.coerceNumber(b.size,P,y.size),color:a.coerceColor(b.color,L,y.color),weight:a.coerceString(b.weight,z,y.weight),style:a.coerceString(b.style,F,y.style),variant:a.coerceString(b.variant,B,y.variant),textcase:a.coerceString(b.variant,O,y.textcase),lineposition:a.coerceString(b.variant,I,y.lineposition),shadow:a.coerceString(b.variant,N,y.shadow)}}function m(b,v){return v.type==="waterfall"?v[b.dir].marker.color:b.mcc||b.mc||v.marker.color}H.exports={style:s,styleTextPoints:h,styleOnSelect:p,getInsideTextFont:w,getOutsideTextFont:M,getBarColor:m,resizeText:t}}}),Bm=ke({"src/traces/bar/plot.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=un(),S=Wl(),e=eo(),t=$o(),r=lo(),o=Ho().tickText,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Yd(),c=R_(),h=Om(),p=Pv(),d=p.text,T=p.textposition,l=gd().appendArrayPointValue,_=h.TEXTPAD;function w(Q){return Q.id}function M(Q){if(Q.ids)return w}function E(Q){return(Q>0)-(Q<0)}function m(Q,le){return Q0}function y(Q,le,se,fe,G,$){var J=le.xaxis,X=le.yaxis,re=Q._fullLayout,ae=Q._context.staticPlot;G||(G={mode:re.barmode,norm:re.barmode,gap:re.bargap,groupgap:re.bargroupgap},a("bar",re));var j=A.makeTraceGroups(fe,se,"trace bars").each(function(ee){var ie=g.select(this),ce=ee[0].trace,xe=ee[0].t,Te=ce.type==="waterfall",Ue=ce.type==="funnel",Ie=ce.type==="histogram",Ye=ce.type==="bar",it=Ye||Ue,at=0;Te&&ce.connector.visible&&ce.connector.mode==="between"&&(at=ce.connector.line.width/2);var tt=ce.orientation==="h",ut=u(G),Me=A.ensureSingle(ie,"g","points"),pe=M(ce),ue=Me.selectAll("g.point").data(A.identity,pe);ue.enter().append("g").classed("point",!0),ue.exit().remove(),ue.each(function(rt,ot){var et=g.select(this),Lt=b(rt,J,X,tt),Et=Lt[0][0],Bt=Lt[0][1],qt=Lt[1][0],fr=Lt[1][1],ar=(tt?Bt-Et:fr-qt)===0;ar&&it&&c.getLineWidth(ce,rt)&&(ar=!1),ar||(ar=!x(Et)||!x(Bt)||!x(qt)||!x(fr)),rt.isBlank=ar,ar&&(tt?Bt=Et:fr=qt),at&&!ar&&(tt?(Et-=m(Et,Bt)*at,Bt+=m(Et,Bt)*at):(qt-=m(qt,fr)*at,fr+=m(qt,fr)*at));var Rr,gr;if(ce.type==="waterfall"){if(!ar){var br=ce[rt.dir].marker;Rr=br.line.width,gr=br.color}}else Rr=c.getLineWidth(ce,rt),gr=rt.mc||ce.marker.color;function _t(gi){var Zt=g.round(Rr/2%1,2);return G.gap===0&&G.groupgap===0?g.round(Math.round(gi)-Zt,2):gi}function Be(gi,Zt,Ft){return Ft&&gi===Zt?gi:Math.abs(gi-Zt)>=2?_t(gi):gi>Zt?Math.ceil(gi):Math.floor(gi)}var Ke=e.opacity(gr),je=Ke<1||Rr>.01?_t:Be;Q._context.staticPlot||(Et=je(Et,Bt,tt),Bt=je(Bt,Et,tt),qt=je(qt,fr,!tt),fr=je(fr,qt,!tt));var Se=tt?J.c2p:X.c2p,He;rt.s0>0?He=rt._sMax:rt.s0<0?He=rt._sMin:He=rt.s1>0?rt._sMax:rt._sMin;function Ee(gi,Zt){if(!gi)return 0;var Ft=Math.abs(tt?fr-qt:Bt-Et),Ht=Math.abs(tt?Bt-Et:fr-qt),Vt=je(Math.abs(Se(He,!0)-Se(0,!0))),wr=rt.hasB?Math.min(Ft/2,Ht/2):Math.min(Ft/2,Vt),$r;if(Zt==="%"){var xn=Math.min(50,gi);$r=Ft*(xn/100)}else $r=gi;return je(Math.max(Math.min($r,wr),0))}var we=Ye||Ie?Ee(xe.cornerradiusvalue,xe.cornerradiusform):0,Le,nt,pt="M"+Et+","+qt+"V"+fr+"H"+Bt+"V"+qt+"Z",bt=0;if(we&&rt.s){var Rt=E(rt.s0)===0||E(rt.s)===E(rt.s0)?rt.s1:rt.s0;if(bt=je(rt.hasB?0:Math.abs(Se(He,!0)-Se(Rt,!0))),bt0?Math.sqrt(bt*(2*we-bt)):0,Rn=Nt>0?Math.max:Math.min;Le="M"+Et+","+qt+"V"+(fr-ur*Xt)+"H"+Rn(Bt-(we-bt)*Nt,Et)+"A "+we+","+we+" 0 0 "+$t+" "+Bt+","+(fr-we*Xt-pn)+"V"+(qt+we*Xt+pn)+"A "+we+","+we+" 0 0 "+$t+" "+Rn(Bt-(we-bt)*Nt,Et)+","+(qt+ur*Xt)+"Z"}else if(rt.hasB)Le="M"+(Et+we*Nt)+","+qt+"A "+we+","+we+" 0 0 "+$t+" "+Et+","+(qt+we*Xt)+"V"+(fr-we*Xt)+"A "+we+","+we+" 0 0 "+$t+" "+(Et+we*Nt)+","+fr+"H"+(Bt-we*Nt)+"A "+we+","+we+" 0 0 "+$t+" "+Bt+","+(fr-we*Xt)+"V"+(qt+we*Xt)+"A "+we+","+we+" 0 0 "+$t+" "+(Bt-we*Nt)+","+qt+"Z";else{nt=Math.abs(fr-qt)+bt;var Nn=nt0?Math.sqrt(bt*(2*we-bt)):0,ni=Xt>0?Math.max:Math.min;Le="M"+(Et+Nn*Nt)+","+qt+"V"+ni(fr-(we-bt)*Xt,qt)+"A "+we+","+we+" 0 0 "+$t+" "+(Et+we*Nt-On)+","+fr+"H"+(Bt-we*Nt+On)+"A "+we+","+we+" 0 0 "+$t+" "+(Bt-Nn*Nt)+","+ni(fr-(we-bt)*Xt,qt)+"V"+qt+"Z"}}else Le=pt}else Le=pt;var zn=v(A.ensureSingle(et,"path"),re,G,$);if(zn.style("vector-effect",ae?"none":"non-scaling-stroke").attr("d",isNaN((Bt-Et)*(fr-qt))||ar&&Q._context.staticPlot?"M0,0Z":Le).call(t.setClipUrl,le.layerClipId,Q),!re.uniformtext.mode&&ut){var Qn=t.makePointStyleFns(ce);t.singlePointStyle(rt,zn,ce,Qn,Q)}f(Q,le,et,ee,ot,Et,Bt,qt,fr,we,bt,G,$),le.layerClipId&&t.hideOutsideRangePoint(rt,et.select("text"),J,X,ce.xcalendar,ce.ycalendar)});var Oe=ce.cliponaxis===!1;t.setClipUrl(ie,Oe?null:le.layerClipId,Q)});r.getComponentMethod("errorbars","plot")(Q,j,le,G)}function f(Q,le,se,fe,G,$,J,X,re,ae,j,ee,ie){var ce=le.xaxis,xe=le.yaxis,Te=Q._fullLayout,Ue;function Ie(nt,pt,bt){var Rt=A.ensureSingle(nt,"text").text(pt).attr({class:"bartext bartext-"+Ue,"text-anchor":"middle","data-notex":1}).call(t.font,bt).call(S.convertToTspans,Q);return Rt}var Ye=fe[0].trace,it=Ye.orientation==="h",at=I(Te,fe,G,ce,xe);Ue=N(Ye,G);var tt=ee.mode==="stack"||ee.mode==="relative",ut=fe[G],Me=!tt||ut._outmost,pe=ut.hasB,ue=ae&&ae-j>_;if(!at||Ue==="none"||(ut.isBlank||$===J||X===re)&&(Ue==="auto"||Ue==="inside")){se.select("text").remove();return}var Oe=Te.font,rt=s.getBarColor(fe[G],Ye),ot=s.getInsideTextFont(Ye,G,Oe,rt),et=s.getOutsideTextFont(Ye,G,Oe),Lt=Ye.insidetextanchor||"end",Et=se.datum();it?ce.type==="log"&&Et.s0<=0&&(ce.range[0]0&&_t>0,je;ue?pe?je=P(fr-2*ae,ar,br,_t,it)||P(fr,ar-2*ae,br,_t,it):it?je=P(fr-(ae-j),ar,br,_t,it)||P(fr,ar-2*(ae-j),br,_t,it):je=P(fr,ar-(ae-j),br,_t,it)||P(fr-2*(ae-j),ar,br,_t,it):je=P(fr,ar,br,_t,it),Ke&&je?Ue="inside":(Ue="outside",Rr.remove(),Rr=null)}else Ue="inside";if(!Rr){Be=A.ensureUniformFontSize(Q,Ue==="outside"?et:ot),Rr=Ie(se,at,Be);var Se=Rr.attr("transform");if(Rr.attr("transform",""),gr=t.bBox(Rr.node()),br=gr.width,_t=gr.height,Rr.attr("transform",Se),br<=0||_t<=0){Rr.remove();return}}var He=Ye.textangle,Ee,we;Ue==="outside"?(we=Ye.constraintext==="both"||Ye.constraintext==="outside",Ee=O($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He})):(we=Ye.constraintext==="both"||Ye.constraintext==="inside",Ee=F($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He,anchor:Lt,hasB:pe,r:ae,overhead:j})),Ee.fontSize=Be.size,i(Ye.type==="histogram"?"bar":Ye.type,Ee,Te),ut.transform=Ee;var Le=v(Rr,Te,ee,ie);A.setTransormAndDisplay(Le,Ee)}function P(Q,le,se,fe,G){if(Q<0||le<0)return!1;var $=se<=Q&&fe<=le,J=se<=le&&fe<=Q,X=G?Q>=se*(le/fe):le>=fe*(Q/se);return $||J||X}function L(Q){return Q==="auto"?0:Q}function z(Q,le){var se=Math.PI/180*le,fe=Math.abs(Math.sin(se)),G=Math.abs(Math.cos(se));return{x:Q.width*G+Q.height*fe,y:Q.width*fe+Q.height*G}}function F(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=$.anchor,j=ae==="end",ee=ae==="start",ie=$.leftToRight||0,ce=(ie+1)/2,xe=1-ce,Te=$.hasB,Ue=$.r,Ie=$.overhead,Ye=G.width,it=G.height,at=Math.abs(le-Q),tt=Math.abs(fe-se),ut=at>2*_&&tt>2*_?_:0;at-=2*ut,tt-=2*ut;var Me=L(re);re==="auto"&&!(Ye<=at&&it<=tt)&&(Ye>at||it>tt)&&(!(Ye>tt||it>at)||Ye_){var rt=B(Q,le,se,fe,pe,Ue,Ie,J,Te);ue=rt.scale,Oe=rt.pad}else ue=1,X&&(ue=Math.min(1,at/pe.x,tt/pe.y)),Oe=0;var ot=G.left*xe+G.right*ce,et=(G.top+G.bottom)/2,Lt=(Q+_)*xe+(le-_)*ce,Et=(se+fe)/2,Bt=0,qt=0;if(ee||j){var fr=(J?pe.x:pe.y)/2;Ue&&(j||Te)&&(ut+=Oe);var ar=J?m(Q,le):m(se,fe);J?ee?(Lt=Q+ar*ut,Bt=-ar*fr):(Lt=le-ar*ut,Bt=ar*fr):ee?(Et=se+ar*ut,qt=-ar*fr):(Et=fe-ar*ut,qt=ar*fr)}return{textX:ot,textY:et,targetX:Lt,targetY:Et,anchorX:Bt,anchorY:qt,scale:ue,rotate:Me}}function B(Q,le,se,fe,G,$,J,X,re){var ae=Math.max(0,Math.abs(le-Q)-2*_),j=Math.max(0,Math.abs(fe-se)-2*_),ee=$-_,ie=J?ee-Math.sqrt(ee*ee-(ee-J)*(ee-J)):ee,ce=re?ee*2:X?ee-J:2*ie,xe=re?ee*2:X?2*ie:ee-J,Te,Ue,Ie,Ye,it;return G.y/G.x>=j/(ae-ce)?Ye=j/G.y:G.y/G.x<=(j-xe)/ae?Ye=ae/G.x:!re&&X?(Te=G.x*G.x+G.y*G.y/4,Ue=-2*G.x*(ae-ee)-G.y*(j/2-ee),Ie=(ae-ee)*(ae-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):re?(Te=(G.x*G.x+G.y*G.y)/4,Ue=-G.x*(ae/2-ee)-G.y*(j/2-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):(Te=G.x*G.x/4+G.y*G.y,Ue=-G.x*(ae/2-ee)-2*G.y*(j-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j-ee)*(j-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)),Ye=Math.min(1,Ye),X?it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(j-G.y*Ye)/2)*(ee-(j-G.y*Ye)/2)))-J):it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(ae-G.x*Ye)/2)*(ee-(ae-G.x*Ye)/2)))-J),{scale:Ye,pad:it}}function O(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=G.width,j=G.height,ee=Math.abs(le-Q),ie=Math.abs(fe-se),ce;J?ce=ie>2*_?_:0:ce=ee>2*_?_:0;var xe=1;X&&(xe=J?Math.min(1,ie/j):Math.min(1,ee/ae));var Te=L(re),Ue=z(G,Te),Ie=(J?Ue.x:Ue.y)/2,Ye=(G.left+G.right)/2,it=(G.top+G.bottom)/2,at=(Q+le)/2,tt=(se+fe)/2,ut=0,Me=0,pe=J?m(le,Q):m(se,fe);return J?(at=le-pe*ce,ut=pe*Ie):(tt=fe+pe*ce,Me=-pe*Ie),{textX:Ye,textY:it,targetX:at,targetY:tt,anchorX:ut,anchorY:Me,scale:xe,rotate:Te}}function I(Q,le,se,fe,G){var $=le[0].trace,J=$.texttemplate,X;return J?X=U(Q,le,se,fe,G):$.textinfo?X=W(le,se,fe,G):X=c.getValue($.text,se),c.coerceString(d,X)}function N(Q,le){var se=c.getValue(Q.textposition,le);return c.coerceEnumerated(T,se)}function U(Q,le,se,fe,G){var $=le[0].trace,J=A.castOption($,se,"texttemplate");if(!J)return"";var X=$.type==="histogram",re=$.type==="waterfall",ae=$.type==="funnel",j=$.orientation==="h",ee,ie,ce,xe;j?(ee="y",ie=G,ce="x",xe=fe):(ee="x",ie=fe,ce="y",xe=G);function Te(ut){return o(ie,ie.c2l(ut),!0).text}function Ue(ut){return o(xe,xe.c2l(ut),!0).text}var Ie=le[se],Ye={};Ye.label=Ie.p,Ye.labelLabel=Ye[ee+"Label"]=Te(Ie.p);var it=A.castOption($,Ie.i,"text");(it===0||it)&&(Ye.text=it),Ye.value=Ie.s,Ye.valueLabel=Ye[ce+"Label"]=Ue(Ie.s);var at={};l(at,$,Ie.i),(X||at.x===void 0)&&(at.x=j?Ye.value:Ye.label),(X||at.y===void 0)&&(at.y=j?Ye.label:Ye.value),(X||at.xLabel===void 0)&&(at.xLabel=j?Ye.valueLabel:Ye.labelLabel),(X||at.yLabel===void 0)&&(at.yLabel=j?Ye.labelLabel:Ye.valueLabel),re&&(Ye.delta=+Ie.rawS||Ie.s,Ye.deltaLabel=Ue(Ye.delta),Ye.final=Ie.v,Ye.finalLabel=Ue(Ye.final),Ye.initial=Ye.final-Ye.delta,Ye.initialLabel=Ue(Ye.initial)),ae&&(Ye.value=Ie.s,Ye.valueLabel=Ue(Ye.value),Ye.percentInitial=Ie.begR,Ye.percentInitialLabel=A.formatPercent(Ie.begR),Ye.percentPrevious=Ie.difR,Ye.percentPreviousLabel=A.formatPercent(Ie.difR),Ye.percentTotal=Ie.sumR,Ye.percenTotalLabel=A.formatPercent(Ie.sumR));var tt=A.castOption($,Ie.i,"customdata");return tt&&(Ye.customdata=tt),A.texttemplateString(J,Ye,Q._d3locale,at,Ye,$._meta||{})}function W(Q,le,se,fe){var G=Q[0].trace,$=G.orientation==="h",J=G.type==="waterfall",X=G.type==="funnel";function re(tt){var ut=$?fe:se;return o(ut,tt,!0).text}function ae(tt){var ut=$?se:fe;return o(ut,+tt,!0).text}var j=G.textinfo,ee=Q[le],ie=j.split("+"),ce=[],xe,Te=function(tt){return ie.indexOf(tt)!==-1};if(Te("label")&&ce.push(re(Q[le].p)),Te("text")&&(xe=A.castOption(G,ee.i,"text"),(xe===0||xe)&&ce.push(xe)),J){var Ue=+ee.rawS||ee.s,Ie=ee.v,Ye=Ie-Ue;Te("initial")&&ce.push(ae(Ye)),Te("delta")&&ce.push(ae(Ue)),Te("final")&&ce.push(ae(Ie))}if(X){Te("value")&&ce.push(ae(ee.s));var it=0;Te("percent initial")&&it++,Te("percent previous")&&it++,Te("percent total")&&it++;var at=it>1;Te("percent initial")&&(xe=A.formatPercent(ee.begR),at&&(xe+=" of initial"),ce.push(xe)),Te("percent previous")&&(xe=A.formatPercent(ee.difR),at&&(xe+=" of previous"),ce.push(xe)),Te("percent total")&&(xe=A.formatPercent(ee.sumR),at&&(xe+=" of total"),ce.push(xe))}return ce.join("
")}H.exports={plot:y,toMoveInsideBar:F}}}),Qg=ke({"src/traces/bar/hover.js"(Z,H){"use strict";var g=Ec(),x=lo(),A=eo(),S=un().fillText,e=R_().getLineWidth,t=Ho().hoverLabelText,r=Hi().BADNUM;function o(a,s,c,h,p){var d=n(a,s,c,h,p);if(d){var T=d.cd,l=T[0].trace,_=T[d.index];return d.color=i(l,_),x.getComponentMethod("errorbars","hoverInfo")(_,l,d),[d]}}function n(a,s,c,h,p){var d=a.cd,T=d[0].trace,l=d[0].t,_=h==="closest",w=T.type==="waterfall",M=a.maxHoverDistance,E=a.maxSpikeDistance,m,b,v,u,y,f,P;T.orientation==="h"?(m=c,b=s,v="y",u="x",y=fe,f=Q):(m=s,b=c,v="x",u="y",f=fe,y=Q);var L=T[v+"period"],z=_||L;function F(xe){return O(xe,-1)}function B(xe){return O(xe,1)}function O(xe,Te){var Ue=xe.w;return xe[v]+Te*Ue/2}function I(xe){return xe[v+"End"]-xe[v+"Start"]}var N=_?F:L?function(xe){return xe.p-I(xe)/2}:function(xe){return Math.min(F(xe),xe.p-l.bardelta/2)},U=_?B:L?function(xe){return xe.p+I(xe)/2}:function(xe){return Math.max(B(xe),xe.p+l.bardelta/2)};function W(xe,Te,Ue){return p.finiteRange&&(Ue=0),g.inbox(xe-m,Te-m,Ue+Math.min(1,Math.abs(Te-xe)/P)-1)}function Q(xe){return W(N(xe),U(xe),M)}function le(xe){return W(F(xe),B(xe),E)}function se(xe){var Te=xe[u];if(w){var Ue=Math.abs(xe.rawS)||0;b>0?Te+=Ue:b<0&&(Te-=Ue)}return Te}function fe(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,M+(Ie-Te)/(Ie-Ue)-1)}function G(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,E+(Ie-Te)/(Ie-Ue)-1)}var $=a[v+"a"],J=a[u+"a"];P=Math.abs($.r2c($.range[1])-$.r2c($.range[0]));function X(xe){return(y(xe)+f(xe))/2}var re=g.getDistanceFunction(h,y,f,X);if(g.getClosest(d,re,a),a.index!==!1&&d[a.index].p!==r){z||(N=function(xe){return Math.min(F(xe),xe.p-l.bargroupwidth/2)},U=function(xe){return Math.max(B(xe),xe.p+l.bargroupwidth/2)});var ae=a.index,j=d[ae],ee=T.base?j.b+j.s:j.s;a[u+"0"]=a[u+"1"]=J.c2p(j[u],!0),a[u+"LabelVal"]=ee;var ie=l.extents[l.extents.round(j.p)];a[v+"0"]=$.c2p(_?N(j):ie[0],!0),a[v+"1"]=$.c2p(_?U(j):ie[1],!0);var ce=j.orig_p!==void 0;return a[v+"LabelVal"]=ce?j.orig_p:j.p,a.labelLabel=t($,a[v+"LabelVal"],T[v+"hoverformat"]),a.valueLabel=t(J,a[u+"LabelVal"],T[u+"hoverformat"]),a.baseLabel=t(J,j.b,T[u+"hoverformat"]),a.spikeDistance=(G(j)+le(j))/2,a[v+"Spike"]=$.c2p(j.p,!0),S(j,T,a),a.hovertemplate=T.hovertemplate,a}}function i(a,s){var c=s.mcc||a.marker.color,h=s.mlcc||a.marker.line.color,p=e(a,s);if(A.opacity(c))return c;if(A.opacity(h)&&p)return h}H.exports={hoverPoints:o,hoverOnBars:n,getTraceColor:i}}}),DC=ke({"src/traces/bar/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),S.orientation==="h"?(x.label=x.y,x.value=x.x):(x.label=x.x,x.value=x.y),x}}}),ey=ke({"src/traces/bar/select.js"(Z,H){"use strict";H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=e[0].trace,n=o.type==="funnel",i=o.orientation==="h",a=[],s;if(S===!1)for(s=0;s0?(L="v",v>0?z=Math.min(y,u):z=Math.min(u)):v>0?(L="h",z=Math.min(y)):z=0;if(!z){c.visible=!1;return}c._length=z;var N=h("orientation",L);c._hasPreCompStats?N==="v"&&v===0?(h("x0",0),h("dx",1)):N==="h"&&b===0&&(h("y0",0),h("dy",1)):N==="v"&&v===0?h("x0"):N==="h"&&b===0&&h("y0");var U=x.getComponentMethod("calendars","handleTraceDefaults");U(s,c,["x","y"],p)}function i(s,c,h,p){var d=p.prefix,T=g.coerce2(s,c,r,"marker.outliercolor"),l=h("marker.line.outliercolor"),_="outliers";c._hasPreCompStats?_="all":(T||l)&&(_="suspectedoutliers");var w=h(d+"points",_);w?(h("jitter",w==="all"?.3:0),h("pointpos",w==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",c.line.color),h("marker.line.color"),h("marker.line.width"),w==="suspectedoutliers"&&(h("marker.line.outliercolor",c.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete c.marker;var M=h("hoveron");(M==="all"||M.indexOf("points")!==-1)&&h("hovertemplate"),g.coerceSelectionMarkerOpacity(c,h)}function a(s,c){var h,p;function d(w){return g.coerce(p._input,p,r,w)}for(var T=0;Tse.uf};if(E._hasPreCompStats){var ae=E[z],j=function(ar){return L.d2c((E[ar]||[])[f])},ee=1/0,ie=-1/0;for(f=0;f=se.q1&&se.q3>=se.med){var xe=j("lowerfence");se.lf=xe!==e&&xe<=se.q1?xe:p(se,G,$);var Te=j("upperfence");se.uf=Te!==e&&Te>=se.q3?Te:d(se,G,$);var Ue=j("mean");se.mean=Ue!==e?Ue:$?S.mean(G,$):(se.q1+se.q3)/2;var Ie=j("sd");se.sd=Ue!==e&&Ie>=0?Ie:$?S.stdev(G,$,se.mean):se.q3-se.q1,se.lo=T(se),se.uo=l(se);var Ye=j("notchspan");Ye=Ye!==e&&Ye>0?Ye:_(se,$),se.ln=se.med-Ye,se.un=se.med+Ye;var it=se.lf,at=se.uf;E.boxpoints&&G.length&&(it=Math.min(it,G[0]),at=Math.max(at,G[$-1])),E.notched&&(it=Math.min(it,se.ln),at=Math.max(at,se.un)),se.min=it,se.max=at}else{S.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+se.q1,"median = "+se.med,"q3 = "+se.q3].join(` +`));var tt;se.med!==e?tt=se.med:se.q1!==e?se.q3!==e?tt=(se.q1+se.q3)/2:tt=se.q1:se.q3!==e?tt=se.q3:tt=0,se.med=tt,se.q1=se.q3=tt,se.lf=se.uf=tt,se.mean=se.sd=tt,se.ln=se.un=tt,se.min=se.max=tt}ee=Math.min(ee,se.min),ie=Math.max(ie,se.max),se.pts2=fe.filter(re),u.push(se)}}E._extremes[L._id]=x.findExtremes(L,[ee,ie],{padded:!0})}else{var ut=L.makeCalcdata(E,z),Me=o(Q,le),pe=Q.length,ue=n(pe);for(f=0;f=0&&Oe0){if(se={},se.pos=se[B]=Q[f],fe=se.pts=ue[f].sort(c),G=se[z]=fe.map(h),$=G.length,se.min=G[0],se.max=G[$-1],se.mean=S.mean(G,$),se.sd=S.stdev(G,$,se.mean)*E.sdmultiple,se.med=S.interp(G,.5),$%2&&(Lt||Et)){var Bt,qt;Lt?(Bt=G.slice(0,$/2),qt=G.slice($/2+1)):Et&&(Bt=G.slice(0,$/2+1),qt=G.slice($/2)),se.q1=S.interp(Bt,.5),se.q3=S.interp(qt,.5)}else se.q1=S.interp(G,.25),se.q3=S.interp(G,.75);se.lf=p(se,G,$),se.uf=d(se,G,$),se.lo=T(se),se.uo=l(se);var fr=_(se,$);se.ln=se.med-fr,se.un=se.med+fr,rt=Math.min(rt,se.ln),ot=Math.max(ot,se.un),se.pts2=fe.filter(re),u.push(se)}E.notched&&S.isTypedArray(ut)&&(ut=Array.from(ut)),E._extremes[L._id]=x.findExtremes(L,E.notched?ut.concat([rt,ot]):ut,{padded:!0})}return s(u,E),u.length>0?(u[0].t={num:m[y],dPos:le,posLetter:B,valLetter:z,labels:{med:t(M,"median:"),min:t(M,"min:"),q1:t(M,"q1:"),q3:t(M,"q3:"),max:t(M,"max:"),mean:E.boxmean==="sd"||E.sizemode==="sd"?t(M,"mean \xB1 \u03C3:").replace("\u03C3",E.sdmultiple===1?"\u03C3":E.sdmultiple+"\u03C3"):t(M,"mean:"),lf:t(M,"lower fence:"),uf:t(M,"upper fence:")}},m[y]++,u):[{t:{empty:!0}}]};function r(w,M,E,m){var b=M in w,v=M+"0"in w,u="d"+M in w;if(b||v&&u){var y=E.makeCalcdata(w,M),f=A(w,E,M,y).vals;return[f,y]}var P;v?P=w[M+"0"]:"name"in w&&(E.type==="category"||g(w.name)&&["linear","log"].indexOf(E.type)!==-1||S.isDateTime(w.name)&&E.type==="date")?P=w.name:P=m;for(var L=E.type==="multicategory"?E.r2c_just_indices(P):E.d2c(P,0,w[M+"calendar"]),z=w._length,F=new Array(z),B=0;B1,v=1-s[r+"gap"],u=1-s[r+"groupgap"];for(p=0;p0;if(L==="positive"?(se=z*(P?1:.5),$=G,fe=$=B):L==="negative"?(se=$=B,fe=z*(P?1:.5),J=G):(se=fe=z,$=J=G),ie){var ce=y.pointpos,xe=y.jitter,Te=y.marker.size/2,Ue=0;ce+xe>=0&&(Ue=G*(ce+xe),Ue>se?(ee=!0,ae=Te,X=Ue):Ue>$&&(ae=Te,X=se)),Ue<=se&&(X=se);var Ie=0;ce-xe<=0&&(Ie=-G*(ce-xe),Ie>fe?(ee=!0,j=Te,re=Ie):Ie>J&&(j=Te,re=fe)),Ie<=fe&&(re=fe)}else X=se,re=fe;var Ye=new Array(T.length);for(d=0;dE.lo&&(N.so=!0)}return b});M.enter().append("path").classed("point",!0),M.exit().remove(),M.call(A.translatePoints,h,p)}function n(i,a,s,c){var h=a.val,p=a.pos,d=!!p.rangebreaks,T=c.bPos,l=c.bPosPxOffset||0,_=s.boxmean||(s.meanline||{}).visible,w,M;Array.isArray(c.bdPos)?(w=c.bdPos[0],M=c.bdPos[1]):(w=c.bdPos,M=c.bdPos);var E=i.selectAll("path.mean").data(s.type==="box"&&s.boxmean||s.type==="violin"&&s.box.visible&&s.meanline.visible?x.identity:[]);E.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),E.exit().remove(),E.each(function(m){var b=p.c2l(m.pos+T,!0),v=p.l2p(b-w)+l,u=p.l2p(b+M)+l,y=d?(v+u)/2:p.l2p(b)+l,f=h.c2p(m.mean,!0),P=h.c2p(m.mean-m.sd,!0),L=h.c2p(m.mean+m.sd,!0);s.orientation==="h"?g.select(this).attr("d","M"+f+","+v+"V"+u+(_==="sd"?"m0,0L"+P+","+y+"L"+f+","+v+"L"+L+","+y+"Z":"")):g.select(this).attr("d","M"+v+","+f+"H"+u+(_==="sd"?"m0,0L"+y+","+P+"L"+v+","+f+"L"+y+","+L+"Z":""))})}H.exports={plot:t,plotBoxAndWhiskers:r,plotPoints:o,plotBoxMean:n}}}),O_=ke({"src/traces/box/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=$o();function S(t,r,o){var n=o||g.select(t).selectAll("g.trace.boxes");n.style("opacity",function(i){return i[0].trace.opacity}),n.each(function(i){var a=g.select(this),s=i[0].trace,c=s.line.width;function h(T,l,_,w){T.style("stroke-width",l+"px").call(x.stroke,_).call(x.fill,w)}var p=a.selectAll("path.box");if(s.type==="candlestick")p.each(function(T){if(!T.empty){var l=g.select(this),_=s[T.dir];h(l,_.line.width,_.line.color,_.fillcolor),l.style("opacity",s.selectedpoints&&!T.selected?.3:1)}});else{h(p,c,s.line.color,s.fillcolor),a.selectAll("path.mean").style({"stroke-width":c,"stroke-dasharray":2*c+"px,"+c+"px"}).call(x.stroke,s.line.color);var d=a.selectAll("path.point");A.pointStyle(d,s,t)}})}function e(t,r,o){var n=r[0].trace,i=o.selectAll("path.point");n.selectedpoints?A.selectedPointStyle(i,n):A.pointStyle(i,n,t)}H.exports={style:S,styleOnSelect:e}}}),B2=ke({"src/traces/box/hover.js"(Z,H){"use strict";var g=Ho(),x=un(),A=Ec(),S=eo(),e=x.fillText;function t(n,i,a,s){var c=n.cd,h=c[0].trace,p=h.hoveron,d=[],T;return p.indexOf("boxes")!==-1&&(d=d.concat(r(n,i,a,s))),p.indexOf("points")!==-1&&(T=o(n,i,a)),s==="closest"?T?[T]:d:(T&&d.push(T),d)}function r(n,i,a,s){var c=n.cd,h=n.xa,p=n.ya,d=c[0].trace,T=c[0].t,l=d.type==="violin",_,w,M,E,m,b,v,u,y,f,P,L=T.bdPos,z,F,B=T.wHover,O=function(Ie){return M.c2l(Ie.pos)+T.bPos-M.c2l(b)};l&&d.side!=="both"?(d.side==="positive"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye,Ye+B,f)},z=L,F=0),d.side==="negative"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye,f)},z=0,F=L)):(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye+B,f)},z=F=L);var I;l?I=function(Ie){return A.inbox(Ie.span[0]-m,Ie.span[1]-m,f)}:I=function(Ie){return A.inbox(Ie.min-m,Ie.max-m,f)},d.orientation==="h"?(m=i,b=a,v=I,u=y,_="y",M=p,w="x",E=h):(m=a,b=i,v=y,u=I,_="x",M=h,w="y",E=p);var N=Math.min(1,L/Math.abs(M.r2c(M.range[1])-M.r2c(M.range[0])));f=n.maxHoverDistance-N,P=n.maxSpikeDistance-N;function U(Ie){return(v(Ie)+u(Ie))/2}var W=A.getDistanceFunction(s,v,u,U);if(A.getClosest(c,W,n),n.index===!1)return[];var Q=c[n.index],le=d.line.color,se=(d.marker||{}).color;S.opacity(le)&&d.line.width?n.color=le:S.opacity(se)&&d.boxpoints?n.color=se:n.color=d.fillcolor,n[_+"0"]=M.c2p(Q.pos+T.bPos-F,!0),n[_+"1"]=M.c2p(Q.pos+T.bPos+z,!0),n[_+"LabelVal"]=Q.orig_p!==void 0?Q.orig_p:Q.pos;var fe=_+"Spike";n.spikeDistance=U(Q)*P/f,n[fe]=M.c2p(Q.pos,!0);var G=d.boxmean||d.sizemode==="sd"||(d.meanline||{}).visible,$=d.boxpoints||d.points,J=$&&G?["max","uf","q3","med","mean","q1","lf","min"]:$&&!G?["max","uf","q3","med","q1","lf","min"]:!$&&G?["max","q3","med","mean","q1","min"]:["max","q3","med","q1","min"],X=E.range[1]0&&(o=!0);for(var s=0;st){var r=t-S[x];return S[x]=t,r}}else return S[x]=t,t;return 0},max:function(x,A,S,e){var t=e[A];if(g(t))if(t=Number(t),g(S[x])){if(S[x]v&&vS){var f=u===x?1:6,P=u===x?"M12":"M1";return function(L,z){var F=T.c2d(L,x,l),B=F.indexOf("-",f);B>0&&(F=F.substr(0,B));var O=T.d2c(F,0,l);if(Or?c>S?c>x*1.1?x:c>A*1.1?A:S:c>e?e:c>t?t:r:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function a(c,h,p,d,T,l){if(d&&c>S){var _=s(h,T,l),w=s(p,T,l),M=c===x?0:1;return _[M]!==w[M]}return Math.floor(p/c)-Math.floor(h/c)>.1}function s(c,h,p){var d=h.c2d(c,x,p).split("-");return d[0]===""&&(d.unshift(),d[0]="-"+d[0]),d}}}),G2=ke({"src/traces/histogram/calc.js"(Z,H){"use strict";var g=Yn(),x=un(),A=lo(),S=Ho(),e=u0(),t=j2(),r=V2(),o=q2(),n=H2();function i(p,d){var T=[],l=[],_=d.orientation==="h",w=S.getFromId(p,_?d.yaxis:d.xaxis),M=_?"y":"x",E={x:"y",y:"x"}[M],m=d[M+"calendar"],b=d.cumulative,v,u=a(p,d,w,M),y=u[0],f=u[1],P=typeof y.size=="string",L=[],z=P?L:y,F=[],B=[],O=[],I=0,N=d.histnorm,U=d.histfunc,W=N.indexOf("density")!==-1,Q,le,se;b.enabled&&W&&(N=N.replace(/ ?density$/,""),W=!1);var fe=U==="max"||U==="min",G=fe?null:0,$=t.count,J=r[N],X=!1,re=function(pe){return w.r2c(pe,0,m)},ae;for(x.isArrayOrTypedArray(d[E])&&U!=="count"&&(ae=d[E],X=U==="avg",$=t[U]),v=re(y.start),le=re(y.end)+(v-S.tickIncrement(v,y.size,!1,m))/1e6;v=0&&se=tt;v--)if(l[v]){ut=v;break}for(v=tt;v<=ut;v++)if(g(T[v])&&g(l[v])){var Me={p:T[v],s:l[v],b:0};b.enabled||(Me.pts=O[v],ce?Me.ph0=Me.ph1=O[v].length?f[O[v][0]]:T[v]:(d._computePh=!0,Me.ph0=Ye(L[v]),Me.ph1=Ye(L[v+1],!0))),at.push(Me)}return at.length===1&&(at[0].width1=S.tickIncrement(at[0].p,y.size,!1,m)-at[0].p),e(at,d),x.isArrayOrTypedArray(d.selectedpoints)&&x.tagSelected(at,d,Ue),at}function a(p,d,T,l,_){var w=l+"bins",M=p._fullLayout,E=d["_"+l+"bingroup"],m=M._histogramBinOpts[E],b=M.barmode==="overlay",v,u,y,f,P,L,z,F=function(Ie){return T.r2c(Ie,0,f)},B=function(Ie){return T.c2r(Ie,0,f)},O=T.type==="date"?function(Ie){return Ie||Ie===0?x.cleanDate(Ie,null,f):null}:function(Ie){return g(Ie)?Number(Ie):null};function I(Ie,Ye,it){Ye[Ie+"Found"]?(Ye[Ie]=O(Ye[Ie]),Ye[Ie]===null&&(Ye[Ie]=it[Ie])):(L[Ie]=Ye[Ie]=it[Ie],x.nestedProperty(u[0],w+"."+Ie).set(it[Ie]))}if(d["_"+l+"autoBinFinished"])delete d["_"+l+"autoBinFinished"];else{u=m.traces;var N=[],U=!0,W=!1,Q=!1;for(v=0;v"u"){if(_)return[se,P,!0];se=s(p,d,T,l,w)}z=y.cumulative||{},z.enabled&&z.currentbin!=="include"&&(z.direction==="decreasing"?se.start=B(S.tickIncrement(F(se.start),se.size,!0,f)):se.end=B(S.tickIncrement(F(se.end),se.size,!1,f))),m.size=se.size,m.sizeFound||(L.size=se.size,x.nestedProperty(u[0],w+".size").set(se.size)),I("start",m,se),I("end",m,se)}P=d["_"+l+"pos0"],delete d["_"+l+"pos0"];var G=d._input[w]||{},$=x.extendFlat({},m),J=m.start,X=T.r2l(G.start),re=X!==void 0;if((m.startFound||re)&&X!==T.r2l(J)){var ae=re?X:x.aggNums(Math.min,null,P),j={type:T.type==="category"||T.type==="multicategory"?"linear":T.type,r2l:T.r2l,dtick:m.size,tick0:J,calendar:f,range:[ae,S.tickIncrement(ae,m.size,!1,f)].map(T.l2r)},ee=S.tickFirst(j);ee>T.r2l(ae)&&(ee=S.tickIncrement(ee,m.size,!0,f)),$.start=T.l2r(ee),re||x.nestedProperty(d,w+".start").set($.start)}var ie=m.end,ce=T.r2l(G.end),xe=ce!==void 0;if((m.endFound||xe)&&ce!==T.r2l(ie)){var Te=xe?ce:x.aggNums(Math.max,null,P);$.end=T.l2r(Te),xe||x.nestedProperty(d,w+".start").set($.end)}var Ue="autobin"+l;return d._input[Ue]===!1&&(d._input[w]=x.extendFlat({},d[w]||{}),delete d._input[Ue],delete d[Ue]),[$,P]}function s(p,d,T,l,_){var w=p._fullLayout,M=c(p,d),E=!1,m=1/0,b=[d],v,u,y;for(v=0;v=0;l--)E(l);else if(d==="increasing"){for(l=1;l=0;l--)p[l]+=p[l+1];T==="exclude"&&(p.push(0),p.shift())}}H.exports={calc:i,calcAllAutoBins:a}}}),jC=ke({"src/traces/histogram2d/calc.js"(Z,H){"use strict";var g=un(),x=Ho(),A=j2(),S=V2(),e=q2(),t=H2(),r=G2().calcAllAutoBins;H.exports=function(s,c){var h=x.getFromId(s,c.xaxis),p=x.getFromId(s,c.yaxis),d=c.xcalendar,T=c.ycalendar,l=function(Be){return h.r2c(Be,0,d)},_=function(Be){return p.r2c(Be,0,T)},w=function(Be){return h.c2r(Be,0,d)},M=function(Be){return p.c2r(Be,0,T)},E,m,b,v,u=r(s,c,h,"x"),y=u[0],f=u[1],P=r(s,c,p,"y"),L=P[0],z=P[1],F=c._length;f.length>F&&f.splice(F,f.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],O=[],I=[],N=typeof y.size=="string",U=typeof L.size=="string",W=[],Q=[],le=N?W:y,se=U?Q:L,fe=0,G=[],$=[],J=c.histnorm,X=c.histfunc,re=J.indexOf("density")!==-1,ae=X==="max"||X==="min",j=ae?null:0,ee=A.count,ie=S[J],ce=!1,xe=[],Te=[],Ue="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";Ue&&X!=="count"&&(ce=X==="avg",ee=A[X]);var Ie=y.size,Ye=l(y.start),it=l(y.end)+(Ye-x.tickIncrement(Ye,Ie,!1,d))/1e6;for(E=Ye;E=0&&b=0&&vx;i++)n=e(r,o,S(n));return n>x&&g.log("interp2d didn't converge quickly",n),r};function e(t,r,o){var n=0,i,a,s,c,h,p,d,T,l,_,w,M,E;for(c=0;cM&&(n=Math.max(n,Math.abs(t[a][s]-w)/(E-M))))}return n}}}),V_=ke({"src/traces/heatmap/find_empties.js"(Z,H){"use strict";var g=un().maxRowLength;H.exports=function(A){var S=[],e={},t=[],r=A[0],o=[],n=[0,0,0],i=g(A),a,s,c,h,p,d,T,l;for(s=0;s=0;p--)h=t[p],s=h[0],c=h[1],d=((e[[s-1,c]]||n)[2]+(e[[s+1,c]]||n)[2]+(e[[s,c-1]]||n)[2]+(e[[s,c+1]]||n)[2])/20,d&&(T[h]=[s,c,d],t.splice(p,1),l=!0);if(!l)throw"findEmpties iterated with no new neighbors";for(h in T)e[h]=T[h],S.push(T[h])}return S.sort(function(_,w){return w[2]-_[2]})}}}),W2=ke({"src/traces/heatmap/make_bound_array.js"(Z,H){"use strict";var g=lo(),x=un().isArrayOrTypedArray;H.exports=function(S,e,t,r,o,n){var i=[],a=g.traceIs(S,"contour"),s=g.traceIs(S,"histogram"),c,h,p,d=x(e)&&e.length>1;if(d&&!s&&n.type!=="category"){var T=e.length;if(T<=o){if(a)i=Array.from(e).slice(0,o);else if(o===1)n.type==="log"?i=[.5*e[0],2*e[0]]:i=[e[0]-.5,e[0]+.5];else if(n.type==="log"){for(i=[Math.pow(e[0],1.5)/Math.pow(e[1],.5)],p=1;p1){var J=($[$.length-1]-$[0])/($.length-1),X=Math.abs(J/100);for(F=0;F<$.length-1;F++)if(Math.abs($[F+1]-$[F]-J)>X)return!1}return!0}T._islinear=!1,l.type==="log"||_.type==="log"?E==="fast"&&I("log axis found"):N(m)?N(y)?T._islinear=!0:E==="fast"&&I("y scale is not linear"):E==="fast"&&I("x scale is not linear");var U=x.maxRowLength(z),W=T.xtype==="scaled"?"":m,Q=a(T,W,b,v,U,l),le=T.ytype==="scaled"?"":y,se=a(T,le,f,P,z.length,_);T._extremes[l._id]=A.findExtremes(l,Q),T._extremes[_._id]=A.findExtremes(_,se);var fe={x:Q,y:se,z,text:T._text||T.text,hovertext:T._hovertext||T.hovertext};if(T.xperiodalignment&&u&&(fe.orig_x=u),T.yperiodalignment&&L&&(fe.orig_y=L),W&&W.length===Q.length-1&&(fe.xCenter=W),le&&le.length===se.length-1&&(fe.yCenter=le),M&&(fe.xRanges=B.xRanges,fe.yRanges=B.yRanges,fe.pts=B.pts),w||t(d,T,{vals:z,cLetter:"z"}),w&&T.contours&&T.contours.coloring==="heatmap"){var G={type:T.type==="contour"?"heatmap":"histogram2d",xcalendar:T.xcalendar,ycalendar:T.ycalendar};fe.xfill=a(G,W,b,v,U,l),fe.yfill=a(G,le,f,P,z.length,_)}return[fe]};function c(p){for(var d=[],T=p.length,l=0;l0;)re=y.c2p(N[ie]),ie--;for(re0;)ee=f.c2p(U[ie]),ie--;ee=y._length||re<=0||j>=f._length||ee<=0;if(it){var at=L.selectAll("image").data([]);at.exit().remove(),_(L);return}var tt,ut;Te==="fast"?(tt=G,ut=fe):(tt=Ie,ut=Ye);var Me=document.createElement("canvas");Me.width=tt,Me.height=ut;var pe=Me.getContext("2d",{willReadFrequently:!0}),ue=a(F,{noNumericCheck:!0,returnArray:!0}),Oe,rt;Te==="fast"?(Oe=$?function(Dn){return G-1-Dn}:t.identity,rt=J?function(Dn){return fe-1-Dn}:t.identity):(Oe=function(Dn){return t.constrain(Math.round(y.c2p(N[Dn])-X),0,Ie)},rt=function(Dn){return t.constrain(Math.round(f.c2p(U[Dn])-j),0,Ye)});var ot=rt(0),et=[ot,ot],Lt=$?0:1,Et=J?0:1,Bt=0,qt=0,fr=0,ar=0,Rr,gr,br,_t,Be;function Ke(Dn,Ui){if(Dn!==void 0){var pi=ue(Dn);return pi[0]=Math.round(pi[0]),pi[1]=Math.round(pi[1]),pi[2]=Math.round(pi[2]),Bt+=Ui,qt+=pi[0]*Ui,fr+=pi[1]*Ui,ar+=pi[2]*Ui,pi}return[0,0,0,0]}function je(Dn,Ui,pi,Ta){var Sa=Dn[pi.bin0];if(Sa===void 0)return Ke(void 0,1);var qa=Dn[pi.bin1],to=Ui[pi.bin0],yo=Ui[pi.bin1],Xa=qa-Sa||0,Go=to-Sa||0,pa;return qa===void 0?yo===void 0?pa=0:to===void 0?pa=2*(yo-Sa):pa=(2*yo-to-Sa)*2/3:yo===void 0?to===void 0?pa=0:pa=(2*Sa-qa-to)*2/3:to===void 0?pa=(2*yo-qa-Sa)*2/3:pa=yo+Sa-qa-to,Ke(Sa+pi.frac*Xa+Ta.frac*(Go+pi.frac*pa))}if(Te!=="default"){var Se=0,He;try{He=new Uint8Array(tt*ut*4)}catch{He=new Array(tt*ut*4)}if(Te==="smooth"){var Ee=W||N,we=Q||U,Le=new Array(Ee.length),nt=new Array(we.length),pt=new Array(Ie),bt=W?M:w,Rt=Q?M:w,Nt,Xt,$t;for(ie=0;ieWn||Wn>f._length))for(ce=$r;ceSn||Sn>y._length)){var ui=o({x:ri,y:Fn},F,m._fullLayout);ui.x=ri,ui.y=Fn;var gt=z.z[ie][ce];gt===void 0?(ui.z="",ui.zLabel=""):(ui.z=gt,ui.zLabel=e.tickText(Zt,gt,"hover").text);var yt=z.text&&z.text[ie]&&z.text[ie][ce];(yt===void 0||yt===!1)&&(yt=""),ui.text=yt;var Pr=t.texttemplateString(Qn,ui,m._fullLayout._d3locale,ui,F._meta||{});if(Pr){var Ir=Pr.split("
"),Tr=Ir.length,Mr=0;for(xe=0;xe=_[0].length||P<0||P>_.length)return}else{if(g.inbox(o-T[0],o-T[T.length-1],0)>0||g.inbox(n-l[0],n-l[l.length-1],0)>0)return;if(s){var L;for(b=[2*T[0]-T[1]],L=1;L=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}}}),v0=ke({"src/traces/contour/attributes.js"(Z,H){"use strict";var g=ty(),x=Cc(),A=Sc(),S=A.axisHoverFormat,e=A.descriptionOnlyNumbers,t=ou(),r=xh().dash,o=Il(),n=To().extendFlat,i=J_(),a=i.COMPARISON_OPS2,s=i.INTERVAL_OPS,c=x.line;H.exports=n({z:g.z,x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:x.xperiod0,yperiod0:x.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,text:g.text,hovertext:g.hovertext,transpose:g.transpose,xtype:g.xtype,ytype:g.ytype,xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:g.hovertemplate,texttemplate:n({},g.texttemplate,{}),textfont:n({},g.textfont,{}),hoverongaps:g.hoverongaps,connectgaps:n({},g.connectgaps,{}),fillcolor:{valType:"color",editType:"calc"},autocontour:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"contours.start":void 0,"contours.end":void 0,"contours.size":void 0}},ncontours:{valType:"integer",dflt:15,min:1,editType:"calc"},contours:{type:{valType:"enumerated",values:["levels","constraint"],dflt:"levels",editType:"calc"},start:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},end:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},size:{valType:"number",dflt:null,min:0,editType:"plot",impliedEdits:{"^autocontour":!1}},coloring:{valType:"enumerated",values:["fill","heatmap","lines","none"],dflt:"fill",editType:"calc"},showlines:{valType:"boolean",dflt:!0,editType:"plot"},showlabels:{valType:"boolean",dflt:!1,editType:"plot"},labelfont:o({editType:"plot",colorEditType:"style"}),labelformat:{valType:"string",dflt:"",editType:"plot",description:e("contour label")},operation:{valType:"enumerated",values:[].concat(a).concat(s),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},editType:"calc",impliedEdits:{autocontour:!1}},line:{color:n({},c.color,{editType:"style+colorbars"}),width:{valType:"number",min:0,editType:"style+colorbars"},dash:r,smoothing:n({},c.smoothing,{}),editType:"plot"},zorder:x.zorder},t("",{cLetter:"z",autoColorDflt:!1,editTypeOverride:"calc"}))}}),J2=ke({"src/traces/histogram2dcontour/attributes.js"(Z,H){"use strict";var g=K_(),x=v0(),A=ou(),S=Sc().axisHoverFormat,e=To().extendFlat;H.exports=e({x:g.x,y:g.y,z:g.z,marker:g.marker,histnorm:g.histnorm,histfunc:g.histfunc,nbinsx:g.nbinsx,xbins:g.xbins,nbinsy:g.nbinsy,ybins:g.ybins,autobinx:g.autobinx,autobiny:g.autobiny,bingroup:g.bingroup,xbingroup:g.xbingroup,ybingroup:g.ybingroup,autocontour:x.autocontour,ncontours:x.ncontours,contours:x.contours,line:{color:x.line.color,width:e({},x.line.width,{dflt:.5}),dash:x.line.dash,smoothing:x.line.smoothing,editType:"plot"},xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:g.hovertemplate,texttemplate:x.texttemplate,textfont:x.textfont},A("",{cLetter:"z",editTypeOverride:"calc"}))}}),$_=ke({"src/traces/contour/contours_defaults.js"(Z,H){"use strict";H.exports=function(x,A,S,e){var t=e("contours.start"),r=e("contours.end"),o=t===!1||r===!1,n=S("contours.size"),i;o?i=A.autocontour=!0:i=S("autocontour",!1),(i||!n)&&S("ncontours")}}}),$2=ke({"src/traces/contour/label_defaults.js"(Z,H){"use strict";var g=un();H.exports=function(A,S,e,t){t||(t={});var r=A("contours.showlabels");if(r){var o=S.font;g.coerceFont(A,"contours.labelfont",o,{overrideDflt:{color:e}}),A("contours.labelformat")}t.hasHover!==!1&&A("zhoverformat")}}}),Q_=ke({"src/traces/contour/style_defaults.js"(Z,H){"use strict";var g=Kf(),x=$2();H.exports=function(S,e,t,r,o){var n=t("contours.coloring"),i,a="";n==="fill"&&(i=t("contours.showlines")),i!==!1&&(n!=="lines"&&(a=t("line.color","#000")),t("line.width",.5),t("line.dash")),n!=="none"&&(S.showlegend!==!0&&(e.showlegend=!1),e._dfltShowLegend=!1,g(S,e,r,t,{prefix:"",cLetter:"z"})),t("line.smoothing"),x(t,r,a,o)}}}),QC=ke({"src/traces/histogram2dcontour/defaults.js"(Z,H){"use strict";var g=un(),x=K2(),A=$_(),S=Q_(),e=d0(),t=J2();H.exports=function(o,n,i,a){function s(h,p){return g.coerce(o,n,t,h,p)}function c(h){return g.coerce2(o,n,t,h)}x(o,n,s,a),n.visible!==!1&&(A(o,n,s,c),S(o,n,s,a),s("xhoverformat"),s("yhoverformat"),s("hovertemplate"),n.contours&&n.contours.coloring==="heatmap"&&e(s,a))}}}),Q2=ke({"src/traces/contour/set_contours.js"(Z,H){"use strict";var g=Ho(),x=un();H.exports=function(e,t){var r=e.contours;if(e.autocontour){var o=e.zmin,n=e.zmax;(e.zauto||o===void 0)&&(o=x.aggNums(Math.min,null,t)),(e.zauto||n===void 0)&&(n=x.aggNums(Math.max,null,t));var i=A(o,n,e.ncontours);r.size=i.dtick,r.start=g.tickFirst(i),i.range.reverse(),r.end=g.tickFirst(i),r.start===o&&(r.start+=r.size),r.end===n&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),e._input.contours||(e._input.contours={}),x.extendFlat(e._input.contours,{start:r.start,end:r.end,size:r.size}),e._input.autocontour=!0}else if(r.type!=="constraint"){var a=r.start,s=r.end,c=e._input.contours;if(a>s&&(r.start=c.start=s,s=r.end=c.end=a,a=r.start),!(r.size>0)){var h;a===s?h=1:h=A(a,s,e.ncontours).dtick,c.size=r.size=h}}};function A(S,e,t){var r={type:"linear",range:[S,e]};return g.autoTicks(r,(e-S)/(t||15)),r}}}),p0=ke({"src/traces/contour/end_plus.js"(Z,H){"use strict";H.exports=function(x){return x.end+x.size/1e6}}}),e3=ke({"src/traces/contour/calc.js"(Z,H){"use strict";var g=ku(),x=q_(),A=Q2(),S=p0();H.exports=function(t,r){var o=x(t,r),n=o[0].z;A(r,n);var i=r.contours,a=g.extractOpts(r),s;if(i.coloring==="heatmap"&&a.auto&&r.autocontour===!1){var c=i.start,h=S(i),p=i.size||1,d=Math.floor((h-c)/p)+1;isFinite(p)||(p=1,d=1);var T=c-p/2,l=T+d*p;s=[T,l]}else s=n;return g.calc(t,r,{vals:s,cLetter:"z"}),o}}}),m0=ke({"src/traces/contour/constants.js"(Z,H){"use strict";H.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}}}),t3=ke({"src/traces/contour/make_crossings.js"(Z,H){"use strict";var g=m0();H.exports=function(S){var e=S[0].z,t=e.length,r=e[0].length,o=t===2||r===2,n,i,a,s,c,h,p,d,T;for(i=0;iA?0:1)+(S[0][1]>A?0:2)+(S[1][1]>A?0:4)+(S[1][0]>A?0:8);if(e===5||e===10){var t=(S[0][0]+S[0][1]+S[1][0]+S[1][1])/4;return A>t?e===5?713:1114:e===5?104:208}return e===15?0:e}}}),r3=ke({"src/traces/contour/find_all_paths.js"(Z,H){"use strict";var g=un(),x=m0();H.exports=function(n,i,a){var s,c,h,p,d;for(i=i||.01,a=a||.01,h=0;h20?(h=x.CHOOSESADDLE[h][(p[0]||p[1])<0?0:1],o.crossings[c]=x.SADDLEREMAINDER[h]):delete o.crossings[c],p=x.NEWDELTA[h],!p){g.log("Found bad marching index:",h,n,o.level);break}d.push(r(o,n,p)),n[0]+=p[0],n[1]+=p[1],c=n.join(","),A(d[d.length-1],d[d.length-2],a,s)&&d.pop();var E=p[0]&&(n[0]<0||n[0]>l-2)||p[1]&&(n[1]<0||n[1]>T-2),m=n[0]===_[0]&&n[1]===_[1]&&p[0]===w[0]&&p[1]===w[1];if(m||i&&E)break;h=o.crossings[c]}M===1e4&&g.log("Infinite loop in contour?");var b=A(d[0],d[d.length-1],a,s),v=0,u=.2*o.smoothing,y=[],f=0,P,L,z,F,B,O,I,N,U,W,Q;for(M=1;M=f;M--)if(P=y[M],P=f&&P+y[L]N&&U--,o.edgepaths[U]=Q.concat(d,W));break}G||(o.edgepaths[N]=d.concat(W))}for(N=0;N20&&n?o===208||o===1114?a=i[0]===0?1:-1:s=i[1]===0?1:-1:x.BOTTOMSTART.indexOf(o)!==-1?s=1:x.LEFTSTART.indexOf(o)!==-1?a=1:x.TOPSTART.indexOf(o)!==-1?s=-1:a=-1,[a,s]}function r(o,n,i){var a=n[0]+Math.max(i[0],0),s=n[1]+Math.max(i[1],0),c=o.z[s][a],h=o.xaxis,p=o.yaxis;if(i[1]){var d=(o.level-c)/(o.z[s][a+1]-c),T=(d!==1?(1-d)*h.c2l(o.x[a]):0)+(d!==0?d*h.c2l(o.x[a+1]):0);return[h.c2p(h.l2c(T),!0),p.c2p(o.y[s],!0),a+d,s]}else{var l=(o.level-c)/(o.z[s+1][a]-c),_=(l!==1?(1-l)*p.c2l(o.y[s]):0)+(l!==0?l*p.c2l(o.y[s+1]):0);return[h.c2p(o.x[a],!0),p.c2p(p.l2c(_),!0),a,s+l]}}}}),ek=ke({"src/traces/contour/constraint_mapping.js"(Z,H){"use strict";var g=J_(),x=Yn();H.exports={"[]":S("[]"),"][":S("]["),">":e(">"),"<":e("<"),"=":e("=")};function A(t,r){var o=Array.isArray(r),n;function i(a){return x(a)?+a:null}return g.COMPARISON_OPS2.indexOf(t)!==-1?n=i(o?r[0]:r):g.INTERVAL_OPS.indexOf(t)!==-1?n=o?[i(r[0]),i(r[1])]:[i(r),i(r)]:g.SET_OPS.indexOf(t)!==-1&&(n=o?r.map(i):[i(r)]),n}function S(t){return function(r){r=A(t,r);var o=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]);return{start:o,end:n,size:n-o}}}function e(t){return function(r){return r=A(t,r),{start:r,end:1/0,size:1/0}}}}}),n3=ke({"src/traces/contour/empty_pathinfo.js"(Z,H){"use strict";var g=un(),x=ek(),A=p0();H.exports=function(e,t,r){for(var o=e.type==="constraint"?x[e._operation](e.value):e,n=o.size,i=[],a=A(o),s=r.trace._carpetTrace,c=s?{xaxis:s.aaxis,yaxis:s.baxis,x:r.a,y:r.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y},h=o.start;h1e3){g.warn("Too many contours, clipping at 1000",e);break}return i}}}),i3=ke({"src/traces/contour/convert_to_constraints.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e,t,r,o=function(a){return a.reverse()},n=function(a){return a};switch(S){case"=":case"<":return A;case">":for(A.length!==1&&g.warn("Contour data invalid for the specified inequality operation."),t=A[0],e=0;er.level||r.starts.length&&t===r.level)}break;case"constraint":if(A.prefixBoundary=!1,A.edgepaths.length)return;var o=A.x.length,n=A.y.length,i=-1/0,a=1/0;for(e=0;e":s>i&&(A.prefixBoundary=!0);break;case"<":(si||A.starts.length&&h===a)&&(A.prefixBoundary=!0);break;case"][":c=Math.min(s[0],s[1]),h=Math.max(s[0],s[1]),ci&&(A.prefixBoundary=!0);break}break}}}}),ex=ke({"src/traces/contour/plot.js"(Z){"use strict";var H=_i(),g=un(),x=$o(),A=ku(),S=Wl(),e=Ho(),t=Cv(),r=G_(),o=t3(),n=r3(),i=n3(),a=i3(),s=a3(),c=m0(),h=c.LABELOPTIMIZER;Z.plot=function(m,b,v,u){var y=b.xaxis,f=b.yaxis;g.makeTraceGroups(u,v,"contour").each(function(P){var L=H.select(this),z=P[0],F=z.trace,B=z.x,O=z.y,I=F.contours,N=i(I,b,z),U=g.ensureSingle(L,"g","heatmapcoloring"),W=[];I.coloring==="heatmap"&&(W=[P]),r(m,b,W,U),o(N),n(N);var Q=y.c2p(B[0],!0),le=y.c2p(B[B.length-1],!0),se=f.c2p(O[0],!0),fe=f.c2p(O[O.length-1],!0),G=[[Q,fe],[le,fe],[le,se],[Q,se]],$=N;I.type==="constraint"&&($=a(N,I._operation)),p(L,G,I),d(L,$,G,I),l(L,N,m,z,I),w(L,b,m,z,G)})};function p(E,m,b){var v=g.ensureSingle(E,"g","contourbg"),u=v.selectAll("path").data(b.coloring==="fill"?[0]:[]);u.enter().append("path"),u.exit().remove(),u.attr("d","M"+m.join("L")+"Z").style("stroke","none")}function d(E,m,b,v){var u=v.coloring==="fill"||v.type==="constraint"&&v._operation!=="=",y="M"+b.join("L")+"Z";u&&s(m,v);var f=g.ensureSingle(E,"g","contourfill"),P=f.selectAll("path").data(u?m:[]);P.enter().append("path"),P.exit().remove(),P.each(function(L){var z=(L.prefixBoundary?y:"")+T(L,b);z?H.select(this).attr("d",z).style("stroke","none"):H.select(this).remove()})}function T(E,m){var b="",v=0,u=E.edgepaths.map(function(Q,le){return le}),y=!0,f,P,L,z,F,B;function O(Q){return Math.abs(Q[1]-m[0][1])<.01}function I(Q){return Math.abs(Q[1]-m[2][1])<.01}function N(Q){return Math.abs(Q[0]-m[0][0])<.01}function U(Q){return Math.abs(Q[0]-m[2][0])<.01}for(;u.length;){for(B=x.smoothopen(E.edgepaths[v],E.smoothing),b+=y?B:B.replace(/^M/,"L"),u.splice(u.indexOf(v),1),f=E.edgepaths[v][E.edgepaths[v].length-1],z=-1,L=0;L<4;L++){if(!f){g.log("Missing end?",v,E);break}for(O(f)&&!U(f)?P=m[1]:N(f)?P=m[0]:I(f)?P=m[3]:U(f)&&(P=m[2]),F=0;F=0&&(P=W,z=F):Math.abs(f[1]-P[1])<.01?Math.abs(f[1]-W[1])<.01&&(W[0]-f[0])*(P[0]-W[0])>=0&&(P=W,z=F):g.log("endpt to newendpt is not vert. or horz.",f,P,W)}if(f=P,z>=0)break;b+="L"+P}if(z===E.edgepaths.length){g.log("unclosed perimeter path");break}v=z,y=u.indexOf(v)===-1,y&&(v=u[0],b+="Z")}for(v=0;vh.MAXCOST*2)break;O&&(P/=2),f=z-P/2,L=f+P*1.5}if(B<=h.MAXCOST)return F};function _(E,m,b,v){var u=m.width/2,y=m.height/2,f=E.x,P=E.y,L=E.theta,z=Math.cos(L)*u,F=Math.sin(L)*u,B=(f>v.center?v.right-f:f-v.left)/(z+Math.abs(Math.sin(L)*y)),O=(P>v.middle?v.bottom-P:P-v.top)/(Math.abs(F)+Math.cos(L)*y);if(B<1||O<1)return 1/0;var I=h.EDGECOST*(1/(B-1)+1/(O-1));I+=h.ANGLECOST*L*L;for(var N=f-z,U=P-F,W=f+z,Q=P+F,le=0;le=w)&&(r<=_&&(r=_),o>=w&&(o=w),i=Math.floor((o-r)/n)+1,a=0),l=0;l_&&(p.unshift(_),d.unshift(d[0])),p[p.length-1]2?s.value=s.value.slice(2):s.length===0?s.value=[0,1]:s.length<2?(c=parseFloat(s.value[0]),s.value=[c,c+1]):s.value=[parseFloat(s.value[0]),parseFloat(s.value[1])]:g(s.value)&&(c=parseFloat(s.value),s.value=[c,c+1])):(a("contours.value",0),g(s.value)||(r(s.value)?s.value=parseFloat(s.value[0]):s.value=0))}}}),nk=ke({"src/traces/contour/defaults.js"(Z,H){"use strict";var g=un(),x=B_(),A=hv(),S=l3(),e=$_(),t=Q_(),r=d0(),o=v0();H.exports=function(i,a,s,c){function h(l,_){return g.coerce(i,a,o,l,_)}function p(l){return g.coerce2(i,a,o,l)}var d=x(i,a,h,c);if(!d){a.visible=!1;return}A(i,a,c,h),h("xhoverformat"),h("yhoverformat"),h("text"),h("hovertext"),h("hoverongaps"),h("hovertemplate");var T=h("contours.type")==="constraint";h("connectgaps",g.isArray1D(a.z)),T?S(i,a,h,c,s):(e(i,a,h,p),t(i,a,h,c)),a.contours&&a.contours.coloring==="heatmap"&&r(h,c),h("zorder")}}}),ik=ke({"src/traces/contour/index.js"(Z,H){"use strict";H.exports={attributes:v0(),supplyDefaults:nk(),calc:e3(),plot:ex().plot,style:tx(),colorbar:rx(),hoverPoints:s3(),moduleType:"trace",name:"contour",basePlotModule:xf(),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{}}}}),ak=ke({"lib/contour.js"(Z,H){"use strict";H.exports=ik()}}),u3=ke({"src/traces/scatterternary/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Cc(),e=Ol(),t=ou(),r=xh().dash,o=To().extendFlat,n=S.marker,i=S.line,a=n.line;H.exports={a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},c:{valType:"data_array",editType:"calc"},sum:{valType:"number",dflt:0,min:0,editType:"calc"},mode:o({},S.mode,{dflt:"markers"}),text:o({},S.text,{}),texttemplate:x({editType:"plot"},{keys:["a","b","c","text"]}),hovertext:o({},S.hovertext,{}),line:{color:i.color,width:i.width,dash:r,backoff:i.backoff,shape:o({},i.shape,{values:["linear","spline"]}),smoothing:i.smoothing,editType:"calc"},connectgaps:S.connectgaps,cliponaxis:S.cliponaxis,fill:o({},S.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:A(),marker:o({symbol:n.symbol,opacity:n.opacity,angle:n.angle,angleref:n.angleref,standoff:n.standoff,maxdisplayed:n.maxdisplayed,size:n.size,sizeref:n.sizeref,sizemin:n.sizemin,sizemode:n.sizemode,line:o({width:a.width,editType:"calc"},t("marker.line")),gradient:n.gradient,editType:"calc"},t("marker")),textfont:S.textfont,textposition:S.textposition,selected:S.selected,unselected:S.unselected,hoverinfo:o({},e.hoverinfo,{flags:["a","b","c","text","name"]}),hoveron:S.hoveron,hovertemplate:g()}}}),ok=ke({"src/traces/scatterternary/defaults.js"(Z,H){"use strict";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=u3();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}var d=p("a"),T=p("b"),l=p("c"),_;if(d?(_=d.length,T?(_=Math.min(_,T.length),l&&(_=Math.min(_,l.length))):l?_=Math.min(_,l.length):_=0):T&&l&&(_=Math.min(T.length,l.length)),!_){s.visible=!1;return}s._length=_,p("sum"),p("text"),p("hovertext"),s.hoveron!=="fills"&&p("hovertemplate");var w=_"),o.hovertemplate=h.hovertemplate,r}}}),fk=ke({"src/traces/scatterternary/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){if(A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),e[t]){var r=e[t];x.a=r.a,x.b=r.b,x.c=r.c}else x.a=A.a,x.b=A.b,x.c=A.c;return x}}}),hk=ke({"src/plots/ternary/ternary.js"(Z,H){"use strict";var g=_i(),x=ru(),A=lo(),S=un(),e=S.strTranslate,t=S._,r=eo(),o=$o(),n=Cv(),i=To().extendFlat,a=Zu(),s=Ho(),c=Xh(),h=Ec(),p=cv(),d=p.freeMode,T=p.rectMode,l=Im(),_=tf().prepSelect,w=tf().selectOnClick,M=tf().clearOutline,E=tf().clearSelectionsCache,m=oh();function b(I,N){this.id=I.id,this.graphDiv=I.graphDiv,this.init(N),this.makeFramework(N),this.updateFx(N),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}H.exports=b;var v=b.prototype;v.init=function(I){this.container=I._ternarylayer,this.defs=I._defs,this.layoutId=I._uid,this.traceHash={},this.layers={}},v.plot=function(I,N){var U=this,W=N[U.id],Q=N._size;U._hasClipOnAxisFalse=!1;for(var le=0;leu*$?(ce=$,ie=ce*u):(ie=G,ce=ie/u),xe=se*ie/G,Te=fe*ce/$,j=N.l+N.w*Q-ie/2,ee=N.t+N.h*(1-le)-ce/2,U.x0=j,U.y0=ee,U.w=ie,U.h=ce,U.sum=J,U.xaxis={type:"linear",range:[X+2*ae-J,J-X-2*re],domain:[Q-xe/2,Q+xe/2],_id:"x"},n(U.xaxis,U.graphDiv._fullLayout),U.xaxis.setScale(),U.xaxis.isPtWithinRange=function(Oe){return Oe.a>=U.aaxis.range[0]&&Oe.a<=U.aaxis.range[1]&&Oe.b>=U.baxis.range[1]&&Oe.b<=U.baxis.range[0]&&Oe.c>=U.caxis.range[1]&&Oe.c<=U.caxis.range[0]},U.yaxis={type:"linear",range:[X,J-re-ae],domain:[le-Te/2,le+Te/2],_id:"y"},n(U.yaxis,U.graphDiv._fullLayout),U.yaxis.setScale(),U.yaxis.isPtWithinRange=function(){return!0};var Ue=U.yaxis.domain[0],Ie=U.aaxis=i({},I.aaxis,{range:[X,J-re-ae],side:"left",tickangle:(+I.aaxis.tickangle||0)-30,domain:[Ue,Ue+Te*u],anchor:"free",position:0,_id:"y",_length:ie});n(Ie,U.graphDiv._fullLayout),Ie.setScale();var Ye=U.baxis=i({},I.baxis,{range:[J-X-ae,re],side:"bottom",domain:U.xaxis.domain,anchor:"free",position:0,_id:"x",_length:ie});n(Ye,U.graphDiv._fullLayout),Ye.setScale();var it=U.caxis=i({},I.caxis,{range:[J-X-re,ae],side:"right",tickangle:(+I.caxis.tickangle||0)+30,domain:[Ue,Ue+Te*u],anchor:"free",position:0,_id:"y",_length:ie});n(it,U.graphDiv._fullLayout),it.setScale();var at="M"+j+","+(ee+ce)+"h"+ie+"l-"+ie/2+",-"+ce+"Z";U.clipDef.select("path").attr("d",at),U.layers.plotbg.select("path").attr("d",at);var tt="M0,"+ce+"h"+ie+"l-"+ie/2+",-"+ce+"Z";U.clipDefRelative.select("path").attr("d",tt);var ut=e(j,ee);U.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ut),U.clipDefRelative.select("path").attr("transform",null);var Me=e(j-Ye._offset,ee+ce);U.layers.baxis.attr("transform",Me),U.layers.bgrid.attr("transform",Me);var pe=e(j+ie/2,ee)+"rotate(30)"+e(0,-Ie._offset);U.layers.aaxis.attr("transform",pe),U.layers.agrid.attr("transform",pe);var ue=e(j+ie/2,ee)+"rotate(-30)"+e(0,-it._offset);U.layers.caxis.attr("transform",ue),U.layers.cgrid.attr("transform",ue),U.drawAxes(!0),U.layers.aline.select("path").attr("d",Ie.showline?"M"+j+","+(ee+ce)+"l"+ie/2+",-"+ce:"M0,0").call(r.stroke,Ie.linecolor||"#000").style("stroke-width",(Ie.linewidth||0)+"px"),U.layers.bline.select("path").attr("d",Ye.showline?"M"+j+","+(ee+ce)+"h"+ie:"M0,0").call(r.stroke,Ye.linecolor||"#000").style("stroke-width",(Ye.linewidth||0)+"px"),U.layers.cline.select("path").attr("d",it.showline?"M"+(j+ie/2)+","+ee+"l"+ie/2+","+ce:"M0,0").call(r.stroke,it.linecolor||"#000").style("stroke-width",(it.linewidth||0)+"px"),U.graphDiv._context.staticPlot||U.initInteractions(),o.setClipUrl(U.layers.frontplot,U._hasClipOnAxisFalse?null:U.clipId,U.graphDiv)},v.drawAxes=function(I){var N=this,U=N.graphDiv,W=N.id.substr(7)+"title",Q=N.layers,le=N.aaxis,se=N.baxis,fe=N.caxis;if(N.drawAx(le),N.drawAx(se),N.drawAx(fe),I){var G=Math.max(le.showticklabels?le.tickfont.size/2:0,(fe.showticklabels?fe.tickfont.size*.75:0)+(fe.ticks==="outside"?fe.ticklen*.87:0)),$=(se.showticklabels?se.tickfont.size:0)+(se.ticks==="outside"?se.ticklen:0)+3;Q["a-title"]=l.draw(U,"a"+W,{propContainer:le,propName:N.id+".aaxis.title",placeholder:t(U,"Click to enter Component A title"),attributes:{x:N.x0+N.w/2,y:N.y0-le.title.font.size/3-G,"text-anchor":"middle"}}),Q["b-title"]=l.draw(U,"b"+W,{propContainer:se,propName:N.id+".baxis.title",placeholder:t(U,"Click to enter Component B title"),attributes:{x:N.x0-$,y:N.y0+N.h+se.title.font.size*.83+$,"text-anchor":"middle"}}),Q["c-title"]=l.draw(U,"c"+W,{propContainer:fe,propName:N.id+".caxis.title",placeholder:t(U,"Click to enter Component C title"),attributes:{x:N.x0+N.w+$,y:N.y0+N.h+fe.title.font.size*.83+$,"text-anchor":"middle"}})}},v.drawAx=function(I){var N=this,U=N.graphDiv,W=I._name,Q=W.charAt(0),le=I._id,se=N.layers[W],fe=30,G=Q+"tickLayout",$=y(I);N[G]!==$&&(se.selectAll("."+le+"tick").remove(),N[G]=$),I.setScale();var J=s.calcTicks(I),X=s.clipEnds(I,J),re=s.makeTransTickFn(I),ae=s.getTickSigns(I)[2],j=S.deg2rad(fe),ee=ae*(I.linewidth||1)/2,ie=ae*I.ticklen,ce=N.w,xe=N.h,Te=Q==="b"?"M0,"+ee+"l"+Math.sin(j)*ie+","+Math.cos(j)*ie:"M"+ee+",0l"+Math.cos(j)*ie+","+-Math.sin(j)*ie,Ue={a:"M0,0l"+xe+",-"+ce/2,b:"M0,0l-"+ce/2+",-"+xe,c:"M0,0l-"+xe+","+ce/2}[Q];s.drawTicks(U,I,{vals:I.ticks==="inside"?X:J,layer:se,path:Te,transFn:re,crisp:!1}),s.drawGrid(U,I,{vals:X,layer:N.layers[Q+"grid"],path:Ue,transFn:re,crisp:!1}),s.drawLabels(U,I,{vals:J,layer:se,transFn:re,labelFns:s.makeLabelFns(I,0,fe)})};function y(I){return I.ticks+String(I.ticklen)+String(I.showticklabels)}var f=m.MINZOOM/2+.87,P="m-0.87,.5h"+f+"v3h-"+(f+5.2)+"l"+(f/2+2.6)+",-"+(f*.87+4.5)+"l2.6,1.5l-"+f/2+","+f*.87+"Z",L="m0.87,.5h-"+f+"v3h"+(f+5.2)+"l-"+(f/2+2.6)+",-"+(f*.87+4.5)+"l-2.6,1.5l"+f/2+","+f*.87+"Z",z="m0,1l"+f/2+","+f*.87+"l2.6,-1.5l-"+(f/2+2.6)+",-"+(f*.87+4.5)+"l-"+(f/2+2.6)+","+(f*.87+4.5)+"l2.6,1.5l"+f/2+",-"+f*.87+"Z",F="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",B=!0;v.clearOutline=function(){E(this.dragOptions),M(this.dragOptions.gd)},v.initInteractions=function(){var I=this,N=I.layers.plotbg.select("path").node(),U=I.graphDiv,W=U._fullLayout._zoomlayer,Q,le;this.dragOptions={element:N,gd:U,plotinfo:{id:I.id,domain:U._fullLayout[I.id].domain,xaxis:I.xaxis,yaxis:I.yaxis},subplot:I.id,prepFn:function(Me,pe,ue){I.dragOptions.xaxes=[I.xaxis],I.dragOptions.yaxes=[I.yaxis],Q=U._fullLayout._invScaleX,le=U._fullLayout._invScaleY;var Oe=I.dragOptions.dragmode=U._fullLayout.dragmode;d(Oe)?I.dragOptions.minDrag=1:I.dragOptions.minDrag=void 0,Oe==="zoom"?(I.dragOptions.moveFn=Ye,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=it,xe(Me,pe,ue)):Oe==="pan"?(I.dragOptions.moveFn=tt,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=ut,at(),I.clearOutline(U)):(T(Oe)||d(Oe))&&_(Me,pe,ue,I.dragOptions,Oe)}};var se,fe,G,$,J,X,re,ae,j,ee;function ie(Me){var pe={};return pe[I.id+".aaxis.min"]=Me.a,pe[I.id+".baxis.min"]=Me.b,pe[I.id+".caxis.min"]=Me.c,pe}function ce(Me,pe){var ue=U._fullLayout.clickmode;O(U),Me===2&&(U.emit("plotly_doubleclick",null),A.call("_guiRelayout",U,ie({a:0,b:0,c:0}))),ue.indexOf("select")>-1&&Me===1&&w(pe,U,[I.xaxis],[I.yaxis],I.id,I.dragOptions),ue.indexOf("event")>-1&&h.click(U,pe,I.id)}function xe(Me,pe,ue){var Oe=N.getBoundingClientRect();se=pe-Oe.left,fe=ue-Oe.top,U._fullLayout._calcInverseTransform(U);var rt=U._fullLayout._invTransform,ot=S.apply3DTransform(rt)(se,fe);se=ot[0],fe=ot[1],G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G,$=I.aaxis.range[1]-G.a,X=x(I.graphDiv._fullLayout[I.id].bgcolor).getLuminance(),re="M0,"+I.h+"L"+I.w/2+", 0L"+I.w+","+I.h+"Z",ae=!1,j=W.append("path").attr("class","zoombox").attr("transform",e(I.x0,I.y0)).style({fill:X>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",re),ee=W.append("path").attr("class","zoombox-corners").attr("transform",e(I.x0,I.y0)).style({fill:r.background,stroke:r.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),I.clearOutline(U)}function Te(Me,pe){return 1-pe/I.h}function Ue(Me,pe){return 1-(Me+(I.h-pe)/Math.sqrt(3))/I.w}function Ie(Me,pe){return(Me-(I.h-pe)/Math.sqrt(3))/I.w}function Ye(Me,pe){var ue=se+Me*Q,Oe=fe+pe*le,rt=Math.max(0,Math.min(1,Te(se,fe),Te(ue,Oe))),ot=Math.max(0,Math.min(1,Ue(se,fe),Ue(ue,Oe))),et=Math.max(0,Math.min(1,Ie(se,fe),Ie(ue,Oe))),Lt=(rt/2+et)*I.w,Et=(1-rt/2-ot)*I.w,Bt=(Lt+Et)/2,qt=Et-Lt,fr=(1-rt)*I.h,ar=fr-qt/u;qt.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ee.transition().style("opacity",1).duration(200),ae=!0),U.emit("plotly_relayouting",ie(J))}function it(){O(U),J!==G&&(A.call("_guiRelayout",U,ie(J)),B&&U.data&&U._context.showTips&&(S.notifier(t(U,"Double-click to zoom back out"),"long"),B=!1))}function at(){G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G}function tt(Me,pe){var ue=Me/I.xaxis._m,Oe=pe/I.yaxis._m;J={a:G.a-Oe,b:G.b+(ue+Oe)/2,c:G.c-(ue-Oe)/2};var rt=[J.a,J.b,J.c].sort(S.sorterAsc),ot={a:rt.indexOf(J.a),b:rt.indexOf(J.b),c:rt.indexOf(J.c)};rt[0]<0&&(rt[1]+rt[0]/2<0?(rt[2]+=rt[0]+rt[1],rt[0]=rt[1]=0):(rt[2]+=rt[0]/2,rt[1]+=rt[0]/2,rt[0]=0),J={a:rt[ot.a],b:rt[ot.b],c:rt[ot.c]},pe=(G.a-J.a)*I.yaxis._m,Me=(G.c-J.c-G.b+J.b)*I.xaxis._m);var et=e(I.x0+Me,I.y0+pe);I.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",et);var Lt=e(-Me,-pe);I.clipDefRelative.select("path").attr("transform",Lt),I.aaxis.range=[J.a,I.sum-J.b-J.c],I.baxis.range=[I.sum-J.a-J.c,J.b],I.caxis.range=[I.sum-J.a-J.b,J.c],I.drawAxes(!1),I._hasClipOnAxisFalse&&I.plotContainer.select(".scatterlayer").selectAll(".trace").call(o.hideOutsideRangePoints,I),U.emit("plotly_relayouting",ie(J))}function ut(){A.call("_guiRelayout",U,ie(J))}N.onmousemove=function(Me){h.hover(U,Me,I.id),U._fullLayout._lasthover=N,U._fullLayout._hoversubplot=I.id},N.onmouseout=function(Me){U._dragging||c.unhover(U,Me)},c.init(this.dragOptions)};function O(I){g.select(I).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}}}),c3=ke({"src/plots/ternary/layout_attributes.js"(Z,H){"use strict";var g=If(),x=Yu().attributes,A=wh(),S=ju().overrideAll,e=To().extendFlat,t={title:{text:A.title.text,font:A.title.font},color:A.color,tickmode:A.minor.tickmode,nticks:e({},A.nticks,{dflt:6,min:1}),tick0:A.tick0,dtick:A.dtick,tickvals:A.tickvals,ticktext:A.ticktext,ticks:A.ticks,ticklen:A.ticklen,tickwidth:A.tickwidth,tickcolor:A.tickcolor,ticklabelstep:A.ticklabelstep,showticklabels:A.showticklabels,labelalias:A.labelalias,showtickprefix:A.showtickprefix,tickprefix:A.tickprefix,showticksuffix:A.showticksuffix,ticksuffix:A.ticksuffix,showexponent:A.showexponent,exponentformat:A.exponentformat,minexponent:A.minexponent,separatethousands:A.separatethousands,tickfont:A.tickfont,tickangle:A.tickangle,tickformat:A.tickformat,tickformatstops:A.tickformatstops,hoverformat:A.hoverformat,showline:e({},A.showline,{dflt:!0}),linecolor:A.linecolor,linewidth:A.linewidth,showgrid:e({},A.showgrid,{dflt:!0}),gridcolor:A.gridcolor,gridwidth:A.gridwidth,griddash:A.griddash,layer:A.layer,min:{valType:"number",dflt:0,min:0}},r=H.exports=S({domain:x({name:"ternary"}),bgcolor:{valType:"color",dflt:g.background},sum:{valType:"number",dflt:1,min:0},aaxis:t,baxis:t,caxis:t},"plot","from-root");r.uirevision={valType:"any",editType:"none"},r.aaxis.uirevision=r.baxis.uirevision=r.caxis.uirevision={valType:"any",editType:"none"}}}),Up=ke({"src/plots/subplot_defaults.js"(Z,H){"use strict";var g=un(),x=yl(),A=Yu().defaults;H.exports=function(e,t,r,o){var n=o.type,i=o.attributes,a=o.handleDefaults,s=o.partition||"x",c=t._subplots[n],h=c.length,p=h&&c[0].replace(/\d+$/,""),d,T;function l(E,m){return g.coerce(d,T,i,E,m)}for(var _=0;_=_&&(b.min=0,v.min=0,u.min=0,h.aaxis&&delete h.aaxis.min,h.baxis&&delete h.baxis.min,h.caxis&&delete h.caxis.min)}function c(h,p,d,T){var l=i[p._name];function _(y,f){return A.coerce(h,p,l,y,f)}_("uirevision",T.uirevision),p.type="linear";var w=_("color"),M=w!==l.color.dflt?w:d.font.color,E=p._name,m=E.charAt(0).toUpperCase(),b="Component "+m,v=_("title.text",b);p._hovertitle=v===b?v:m,A.coerceFont(_,"title.font",d.font,{overrideDflt:{size:A.bigFont(d.font.size),color:M}}),_("min"),o(h,p,_,"linear"),t(h,p,_,"linear"),e(h,p,_,"linear",{noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0}),r(h,p,_,{outerTicks:!0});var u=_("showticklabels");u&&(A.coerceFont(_,"tickfont",d.font,{overrideDflt:{color:M}}),_("tickangle"),_("tickformat")),n(h,p,_,{dfltColor:w,bgColor:d.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:l}),_("hoverformat"),_("layer")}}}),vk=ke({"src/plots/ternary/index.js"(Z){"use strict";var H=hk(),g=bh().getSubplotCalcData,x=un().counterRegex,A="ternary";Z.name=A;var S=Z.attr="subplot";Z.idRoot=A,Z.idRegex=Z.attrRegex=x(A);var e=Z.attributes={};e[S]={valType:"subplotid",dflt:"ternary",editType:"calc"},Z.layoutAttributes=c3(),Z.supplyLayoutDefaults=dk(),Z.plot=function(r){for(var o=r._fullLayout,n=r.calcdata,i=o._subplots[A],a=0;a0){var E=r.xa,m=r.ya,b,v,u,y,f;h.orientation==="h"?(f=o,b="y",u=m,v="x",y=E):(f=n,b="x",u=E,v="y",y=m);var P=c[r.index];if(f>=P.span[0]&&f<=P.span[1]){var L=x.extendFlat({},r),z=y.c2p(f,!0),F=e.getKdeValue(P,h,f),B=e.getPositionOnKdePath(P,h,z),O=u._offset,I=u._length;L[b+"0"]=B[0],L[b+"1"]=B[1],L[v+"0"]=L[v+"1"]=z,L[v+"Label"]=v+": "+A.hoverLabelText(y,f,h[v+"hoverformat"])+", "+c[0].t.labels.kde+" "+F.toFixed(3);for(var N=0,U=0;U path").each(function(d){if(!d.isBlank){var T=p.marker;g.select(this).call(A.fill,d.mc||T.color).call(A.stroke,d.mlc||T.line.color).call(x.dashLine,T.line.dash,d.mlw||T.line.width).style("opacity",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(".regions").each(function(){g.select(this).selectAll("path").style("stroke-width",0).call(A.fill,p.connector.fillcolor)}),h.selectAll(".lines").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll("path"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),Rk=ke({"src/traces/funnel/hover.js"(Z,H){"use strict";var g=eo().opacity,x=Qg().hoverOnBars,A=un().formatPercent;H.exports=function(t,r,o,n,i){var a=x(t,r,o,n,i);if(a){var s=a.cd,c=s[0].trace,h=c.orientation==="h",p=a.index,d=s[p],T=h?"x":"y";a[T+"LabelVal"]=d.s,a.percentInitial=d.begR,a.percentInitialLabel=A(d.begR,1),a.percentPrevious=d.difR,a.percentPreviousLabel=A(d.difR,1),a.percentTotal=d.sumR,a.percentTotalLabel=A(d.sumR,1);var l=d.hi||c.hoverinfo,_=[];if(l&&l!=="none"&&l!=="skip"){var w=l==="all",M=l.split("+"),E=function(m){return w||M.indexOf(m)!==-1};E("percent initial")&&_.push(a.percentInitialLabel+" of initial"),E("percent previous")&&_.push(a.percentPreviousLabel+" of previous"),E("percent total")&&_.push(a.percentTotalLabel+" of total")}return a.extraText=_.join("
"),a.color=S(c,d),[a]}};function S(e,t){var r=e.marker,o=t.mc||r.color,n=t.mlc||r.line.color,i=t.mlw||r.line.width;if(g(o))return o;if(g(n)&&i)return n}}}),Dk=ke({"src/traces/funnel/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,"percentInitial"in A&&(x.percentInitial=A.percentInitial),"percentPrevious"in A&&(x.percentPrevious=A.percentPrevious),"percentTotal"in A&&(x.percentTotal=A.percentTotal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),zk=ke({"src/traces/funnel/index.js"(Z,H){"use strict";H.exports={attributes:d3(),layoutAttributes:v3(),supplyDefaults:p3().supplyDefaults,crossTraceDefaults:p3().crossTraceDefaults,supplyLayoutDefaults:Ek(),calc:kk(),crossTraceCalc:Lk(),plot:Pk(),style:Ik().style,hoverPoints:Rk(),eventData:Dk(),selectPoints:ey(),moduleType:"trace",name:"funnel",basePlotModule:xf(),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}}}),Fk=ke({"lib/funnel.js"(Z,H){"use strict";H.exports=zk()}}),Ok=ke({"src/traces/waterfall/constants.js"(Z,H){"use strict";H.exports={eventDataKeys:["initial","delta","final"]}}}),m3=ke({"src/traces/waterfall/attributes.js"(Z,H){"use strict";var g=Pv(),x=Cc().line,A=Ol(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ok(),o=To().extendFlat,n=eo();function i(a){return{marker:{color:o({},g.marker.color,{arrayOk:!1,editType:"style"}),line:{color:o({},g.marker.line.color,{arrayOk:!1,editType:"style"}),width:o({},g.marker.line.width,{arrayOk:!1,editType:"style"}),editType:"style"},editType:"style"},editType:"style"}}H.exports={measure:{valType:"data_array",dflt:[],editType:"calc"},base:{valType:"number",dflt:null,arrayOk:!1,editType:"calc"},x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:g.xperiod0,yperiod0:g.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,xhoverformat:S("x"),yhoverformat:S("y"),hovertext:g.hovertext,hovertemplate:e({},{keys:r.eventDataKeys}),hoverinfo:o({},A.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:t({editType:"plot"},{keys:r.eventDataKeys.concat(["label"])}),text:g.text,textposition:g.textposition,insidetextanchor:g.insidetextanchor,textangle:g.textangle,textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:g.outsidetextfont,constraintext:g.constraintext,cliponaxis:g.cliponaxis,orientation:g.orientation,offset:g.offset,width:g.width,increasing:i("increasing"),decreasing:i("decreasing"),totals:i("intermediate sums and total"),connector:{line:{color:o({},x.color,{dflt:n.defaultLine}),width:o({},x.width,{editType:"plot"}),dash:x.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,zorder:g.zorder}}}),g3=ke({"src/traces/waterfall/layout_attributes.js"(Z,H){"use strict";H.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}}}),ry=ke({"src/constants/delta.js"(Z,H){"use strict";H.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"\u25B2"},DECREASING:{COLOR:"#FF4136",SYMBOL:"\u25BC"}}}}),y3=ke({"src/traces/waterfall/defaults.js"(Z,H){"use strict";var g=un(),x=zm(),A=Od().handleText,S=Xg(),e=hv(),t=m3(),r=eo(),o=ry(),n=o.INCREASING.COLOR,i=o.DECREASING.COLOR,a="#4499FF";function s(p,d,T){p(d+".marker.color",T),p(d+".marker.line.color",r.defaultLine),p(d+".marker.line.width")}function c(p,d,T,l){function _(b,v){return g.coerce(p,d,t,b,v)}var w=S(p,d,l,_);if(!w){d.visible=!1;return}e(p,d,l,_),_("xhoverformat"),_("yhoverformat"),_("measure"),_("orientation",d.x&&!d.y?"h":"v"),_("base"),_("offset"),_("width"),_("text"),_("hovertext"),_("hovertemplate");var M=_("textposition");A(p,d,l,_,M,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),d.textposition!=="none"&&(_("texttemplate"),d.texttemplate||_("textinfo")),s(_,"increasing",n),s(_,"decreasing",i),s(_,"totals",a);var E=_("connector.visible");if(E){_("connector.mode");var m=_("connector.line.width");m&&(_("connector.line.color"),_("connector.line.dash"))}_("zorder")}function h(p,d){var T,l;function _(M){return g.coerce(l._input,l,t,M)}if(d.waterfallmode==="group")for(var w=0;w0&&(_?f+="M"+u[0]+","+y[1]+"V"+y[0]:f+="M"+u[1]+","+y[0]+"H"+u[0]),w!=="between"&&(m.isSum||b path").each(function(d){if(!d.isBlank){var T=p[d.dir].marker;g.select(this).call(A.fill,T.color).call(A.stroke,T.line.color).call(x.dashLine,T.line.dash,T.line.width).style("opacity",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(".lines").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll("path"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),qk=ke({"src/traces/waterfall/hover.js"(Z,H){"use strict";var g=Ho().hoverLabelText,x=eo().opacity,A=Qg().hoverOnBars,S=ry(),e={increasing:S.INCREASING.SYMBOL,decreasing:S.DECREASING.SYMBOL};H.exports=function(o,n,i,a,s){var c=A(o,n,i,a,s);if(!c)return;var h=c.cd,p=h[0].trace,d=p.orientation==="h",T=d?"x":"y",l=d?o.xa:o.ya;function _(P){return g(l,P,p[T+"hoverformat"])}var w=c.index,M=h[w],E=M.isSum?M.b+M.s:M.rawS;c.initial=M.b+M.s-E,c.delta=E,c.final=c.initial+c.delta;var m=_(Math.abs(c.delta));c.deltaLabel=E<0?"("+m+")":m,c.finalLabel=_(c.final),c.initialLabel=_(c.initial);var b=M.hi||p.hoverinfo,v=[];if(b&&b!=="none"&&b!=="skip"){var u=b==="all",y=b.split("+"),f=function(P){return u||y.indexOf(P)!==-1};M.isSum||(f("final")&&(d?!f("x"):!f("y"))&&v.push(c.finalLabel),f("delta")&&(E<0?v.push(c.deltaLabel+" "+e.decreasing):v.push(c.deltaLabel+" "+e.increasing)),f("initial")&&v.push("Initial: "+c.initialLabel))}return v.length&&(c.extraText=v.join("
")),c.color=t(p,M),[c]};function t(r,o){var n=r[o.dir].marker,i=n.color,a=n.line.color,s=n.line.width;if(x(i))return i;if(x(a)&&s)return a}}}),Hk=ke({"src/traces/waterfall/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,"initial"in A&&(x.initial=A.initial),"delta"in A&&(x.delta=A.delta),"final"in A&&(x.final=A.final),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),Gk=ke({"src/traces/waterfall/index.js"(Z,H){"use strict";H.exports={attributes:m3(),layoutAttributes:g3(),supplyDefaults:y3().supplyDefaults,crossTraceDefaults:y3().crossTraceDefaults,supplyLayoutDefaults:Bk(),calc:Nk(),crossTraceCalc:Uk(),plot:jk(),style:Vk().style,hoverPoints:qk(),eventData:Hk(),selectPoints:ey(),moduleType:"trace",name:"waterfall",basePlotModule:xf(),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}}}),Wk=ke({"lib/waterfall.js"(Z,H){"use strict";H.exports=Gk()}}),ny=ke({"src/traces/image/constants.js"(Z,H){"use strict";H.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(g){return g.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(g){var x=g.slice(0,3);return x[1]=x[1]+"%",x[2]=x[2]+"%",x},suffix:["\xB0","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(g){var x=g.slice(0,4);return x[1]=x[1]+"%",x[2]=x[2]+"%",x},suffix:["\xB0","%","%",""]}}}}}),_3=ke({"src/traces/image/attributes.js"(Z,H){"use strict";var g=Ol(),x=Cc().zorder,A=Rs().hovertemplateAttrs,S=To().extendFlat,e=ny().colormodel,t=["rgb","rgba","rgba256","hsl","hsla"],r=[],o=[];for(i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");p===-1&&(p=h);var d=p===h?0:4-p%4;return[p,d]}function r(c){var h=t(c),p=h[0],d=h[1];return(p+d)*3/4-d}function o(c,h,p){return(h+p)*3/4-p}function n(c){var h,p=t(c),d=p[0],T=p[1],l=new x(o(c,d,T)),_=0,w=T>0?d-4:d,M;for(M=0;M>16&255,l[_++]=h>>8&255,l[_++]=h&255;return T===2&&(h=g[c.charCodeAt(M)]<<2|g[c.charCodeAt(M+1)]>>4,l[_++]=h&255),T===1&&(h=g[c.charCodeAt(M)]<<10|g[c.charCodeAt(M+1)]<<4|g[c.charCodeAt(M+2)]>>2,l[_++]=h>>8&255,l[_++]=h&255),l}function i(c){return H[c>>18&63]+H[c>>12&63]+H[c>>6&63]+H[c&63]}function a(c,h,p){for(var d,T=[],l=h;lw?w:_+l));return d===1?(h=c[p-1],T.push(H[h>>2]+H[h<<4&63]+"==")):d===2&&(h=(c[p-2]<<8)+c[p-1],T.push(H[h>>10]+H[h>>4&63]+H[h<<2&63]+"=")),T.join("")}}}),Yk=ke({"node_modules/ieee754/index.js"(Z){Z.read=function(H,g,x,A,S){var e,t,r=S*8-A-1,o=(1<>1,i=-7,a=x?S-1:0,s=x?-1:1,c=H[g+a];for(a+=s,e=c&(1<<-i)-1,c>>=-i,i+=r;i>0;e=e*256+H[g+a],a+=s,i-=8);for(t=e&(1<<-i)-1,e>>=-i,i+=A;i>0;t=t*256+H[g+a],a+=s,i-=8);if(e===0)e=1-n;else{if(e===o)return t?NaN:(c?-1:1)*(1/0);t=t+Math.pow(2,A),e=e-n}return(c?-1:1)*t*Math.pow(2,e-A)},Z.write=function(H,g,x,A,S,e){var t,r,o,n=e*8-S-1,i=(1<>1,s=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=A?0:e-1,h=A?1:-1,p=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(r=isNaN(g)?1:0,t=i):(t=Math.floor(Math.log(g)/Math.LN2),g*(o=Math.pow(2,-t))<1&&(t--,o*=2),t+a>=1?g+=s/o:g+=s*Math.pow(2,1-a),g*o>=2&&(t++,o/=2),t+a>=i?(r=0,t=i):t+a>=1?(r=(g*o-1)*Math.pow(2,S),t=t+a):(r=g*Math.pow(2,a-1)*Math.pow(2,S),t=0));S>=8;H[x+c]=r&255,c+=h,r/=256,S-=8);for(t=t<0;H[x+c]=t&255,c+=h,t/=256,n-=8);H[x+c-h]|=p*128}}}),Nm=ke({"node_modules/buffer/index.js"(Z){"use strict";var H=Zk(),g=Yk(),x=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=t,Z.SlowBuffer=T,Z.INSPECT_MAX_BYTES=50;var A=2147483647;Z.kMaxLength=A,t.TYPED_ARRAY_SUPPORT=S(),!t.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function S(){try{let Me=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Me,pe),Me.foo()===42}catch{return!1}}Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}});function e(Me){if(Me>A)throw new RangeError('The value "'+Me+'" is invalid for option "size"');let pe=new Uint8Array(Me);return Object.setPrototypeOf(pe,t.prototype),pe}function t(Me,pe,ue){if(typeof Me=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return i(Me)}return r(Me,pe,ue)}t.poolSize=8192;function r(Me,pe,ue){if(typeof Me=="string")return a(Me,pe);if(ArrayBuffer.isView(Me))return c(Me);if(Me==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me);if(Ye(Me,ArrayBuffer)||Me&&Ye(Me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ye(Me,SharedArrayBuffer)||Me&&Ye(Me.buffer,SharedArrayBuffer)))return h(Me,pe,ue);if(typeof Me=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let Oe=Me.valueOf&&Me.valueOf();if(Oe!=null&&Oe!==Me)return t.from(Oe,pe,ue);let rt=p(Me);if(rt)return rt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Me[Symbol.toPrimitive]=="function")return t.from(Me[Symbol.toPrimitive]("string"),pe,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me)}t.from=function(Me,pe,ue){return r(Me,pe,ue)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array);function o(Me){if(typeof Me!="number")throw new TypeError('"size" argument must be of type number');if(Me<0)throw new RangeError('The value "'+Me+'" is invalid for option "size"')}function n(Me,pe,ue){return o(Me),Me<=0?e(Me):pe!==void 0?typeof ue=="string"?e(Me).fill(pe,ue):e(Me).fill(pe):e(Me)}t.alloc=function(Me,pe,ue){return n(Me,pe,ue)};function i(Me){return o(Me),e(Me<0?0:d(Me)|0)}t.allocUnsafe=function(Me){return i(Me)},t.allocUnsafeSlow=function(Me){return i(Me)};function a(Me,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!t.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);let ue=l(Me,pe)|0,Oe=e(ue),rt=Oe.write(Me,pe);return rt!==ue&&(Oe=Oe.slice(0,rt)),Oe}function s(Me){let pe=Me.length<0?0:d(Me.length)|0,ue=e(pe);for(let Oe=0;Oe=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return Me|0}function T(Me){return+Me!=Me&&(Me=0),t.alloc(+Me)}t.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==t.prototype},t.compare=function(pe,ue){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),Ye(ue,Uint8Array)&&(ue=t.from(ue,ue.offset,ue.byteLength)),!t.isBuffer(pe)||!t.isBuffer(ue))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===ue)return 0;let Oe=pe.length,rt=ue.length;for(let ot=0,et=Math.min(Oe,rt);otrt.length?(t.isBuffer(et)||(et=t.from(et)),et.copy(rt,ot)):Uint8Array.prototype.set.call(rt,et,ot);else if(t.isBuffer(et))et.copy(rt,ot);else throw new TypeError('"list" argument must be an Array of Buffers');ot+=et.length}return rt};function l(Me,pe){if(t.isBuffer(Me))return Me.length;if(ArrayBuffer.isView(Me)||Ye(Me,ArrayBuffer))return Me.byteLength;if(typeof Me!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Me);let ue=Me.length,Oe=arguments.length>2&&arguments[2]===!0;if(!Oe&&ue===0)return 0;let rt=!1;for(;;)switch(pe){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return ce(Me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue*2;case"hex":return ue>>>1;case"base64":return Ue(Me).length;default:if(rt)return Oe?-1:ce(Me).length;pe=(""+pe).toLowerCase(),rt=!0}}t.byteLength=l;function _(Me,pe,ue){let Oe=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,pe>>>=0,ue<=pe))return"";for(Me||(Me="utf8");;)switch(Me){case"hex":return O(this,pe,ue);case"utf8":case"utf-8":return P(this,pe,ue);case"ascii":return F(this,pe,ue);case"latin1":case"binary":return B(this,pe,ue);case"base64":return f(this,pe,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,pe,ue);default:if(Oe)throw new TypeError("Unknown encoding: "+Me);Me=(Me+"").toLowerCase(),Oe=!0}}t.prototype._isBuffer=!0;function w(Me,pe,ue){let Oe=Me[pe];Me[pe]=Me[ue],Me[ue]=Oe}t.prototype.swap16=function(){let pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ue=0;ueue&&(pe+=" ... "),""},x&&(t.prototype[x]=t.prototype.inspect),t.prototype.compare=function(pe,ue,Oe,rt,ot){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),!t.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ue===void 0&&(ue=0),Oe===void 0&&(Oe=pe?pe.length:0),rt===void 0&&(rt=0),ot===void 0&&(ot=this.length),ue<0||Oe>pe.length||rt<0||ot>this.length)throw new RangeError("out of range index");if(rt>=ot&&ue>=Oe)return 0;if(rt>=ot)return-1;if(ue>=Oe)return 1;if(ue>>>=0,Oe>>>=0,rt>>>=0,ot>>>=0,this===pe)return 0;let et=ot-rt,Lt=Oe-ue,Et=Math.min(et,Lt),Bt=this.slice(rt,ot),qt=pe.slice(ue,Oe);for(let fr=0;fr2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,it(ue)&&(ue=rt?0:Me.length-1),ue<0&&(ue=Me.length+ue),ue>=Me.length){if(rt)return-1;ue=Me.length-1}else if(ue<0)if(rt)ue=0;else return-1;if(typeof pe=="string"&&(pe=t.from(pe,Oe)),t.isBuffer(pe))return pe.length===0?-1:E(Me,pe,ue,Oe,rt);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(Me,pe,ue):Uint8Array.prototype.lastIndexOf.call(Me,pe,ue):E(Me,[pe],ue,Oe,rt);throw new TypeError("val must be string, number or Buffer")}function E(Me,pe,ue,Oe,rt){let ot=1,et=Me.length,Lt=pe.length;if(Oe!==void 0&&(Oe=String(Oe).toLowerCase(),Oe==="ucs2"||Oe==="ucs-2"||Oe==="utf16le"||Oe==="utf-16le")){if(Me.length<2||pe.length<2)return-1;ot=2,et/=2,Lt/=2,ue/=2}function Et(qt,fr){return ot===1?qt[fr]:qt.readUInt16BE(fr*ot)}let Bt;if(rt){let qt=-1;for(Bt=ue;Btet&&(ue=et-Lt),Bt=ue;Bt>=0;Bt--){let qt=!0;for(let fr=0;frrt&&(Oe=rt)):Oe=rt;let ot=pe.length;Oe>ot/2&&(Oe=ot/2);let et;for(et=0;et>>0,isFinite(Oe)?(Oe=Oe>>>0,rt===void 0&&(rt="utf8")):(rt=Oe,Oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let ot=this.length-ue;if((Oe===void 0||Oe>ot)&&(Oe=ot),pe.length>0&&(Oe<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");let et=!1;for(;;)switch(rt){case"hex":return m(this,pe,ue,Oe);case"utf8":case"utf-8":return b(this,pe,ue,Oe);case"ascii":case"latin1":case"binary":return v(this,pe,ue,Oe);case"base64":return u(this,pe,ue,Oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,pe,ue,Oe);default:if(et)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),et=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function f(Me,pe,ue){return pe===0&&ue===Me.length?H.fromByteArray(Me):H.fromByteArray(Me.slice(pe,ue))}function P(Me,pe,ue){ue=Math.min(Me.length,ue);let Oe=[],rt=pe;for(;rt239?4:ot>223?3:ot>191?2:1;if(rt+Lt<=ue){let Et,Bt,qt,fr;switch(Lt){case 1:ot<128&&(et=ot);break;case 2:Et=Me[rt+1],(Et&192)===128&&(fr=(ot&31)<<6|Et&63,fr>127&&(et=fr));break;case 3:Et=Me[rt+1],Bt=Me[rt+2],(Et&192)===128&&(Bt&192)===128&&(fr=(ot&15)<<12|(Et&63)<<6|Bt&63,fr>2047&&(fr<55296||fr>57343)&&(et=fr));break;case 4:Et=Me[rt+1],Bt=Me[rt+2],qt=Me[rt+3],(Et&192)===128&&(Bt&192)===128&&(qt&192)===128&&(fr=(ot&15)<<18|(Et&63)<<12|(Bt&63)<<6|qt&63,fr>65535&&fr<1114112&&(et=fr))}}et===null?(et=65533,Lt=1):et>65535&&(et-=65536,Oe.push(et>>>10&1023|55296),et=56320|et&1023),Oe.push(et),rt+=Lt}return z(Oe)}var L=4096;function z(Me){let pe=Me.length;if(pe<=L)return String.fromCharCode.apply(String,Me);let ue="",Oe=0;for(;OeOe)&&(ue=Oe);let rt="";for(let ot=pe;otOe&&(pe=Oe),ue<0?(ue+=Oe,ue<0&&(ue=0)):ue>Oe&&(ue=Oe),ueue)throw new RangeError("Trying to access beyond buffer length")}t.prototype.readUintLE=t.prototype.readUIntLE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe+--ue],ot=1;for(;ue>0&&(ot*=256);)rt+=this[pe+--ue]*ot;return rt},t.prototype.readUint8=t.prototype.readUInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]},t.prototype.readUint16LE=t.prototype.readUInt16LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]|this[pe+1]<<8},t.prototype.readUint16BE=t.prototype.readUInt16BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]<<8|this[pe+1]},t.prototype.readUint32LE=t.prototype.readUInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},t.prototype.readUint32BE=t.prototype.readUInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},t.prototype.readBigUInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue+this[++pe]*2**8+this[++pe]*2**16+this[++pe]*2**24,ot=this[++pe]+this[++pe]*2**8+this[++pe]*2**16+Oe*2**24;return BigInt(rt)+(BigInt(ot)<>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue*2**24+this[++pe]*2**16+this[++pe]*2**8+this[++pe],ot=this[++pe]*2**24+this[++pe]*2**16+this[++pe]*2**8+Oe;return(BigInt(rt)<>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et=ot&&(rt-=Math.pow(2,8*ue)),rt},t.prototype.readIntBE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=ue,ot=1,et=this[pe+--rt];for(;rt>0&&(ot*=256);)et+=this[pe+--rt]*ot;return ot*=128,et>=ot&&(et-=Math.pow(2,8*ue)),et},t.prototype.readInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},t.prototype.readInt16LE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe]|this[pe+1]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt16BE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe+1]|this[pe]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},t.prototype.readInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},t.prototype.readBigInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=this[pe+4]+this[pe+5]*2**8+this[pe+6]*2**16+(Oe<<24);return(BigInt(rt)<>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=(ue<<24)+this[++pe]*2**16+this[++pe]*2**8+this[++pe];return(BigInt(rt)<>>0,ue||N(pe,4,this.length),g.read(this,pe,!0,23,4)},t.prototype.readFloatBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),g.read(this,pe,!1,23,4)},t.prototype.readDoubleLE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!0,52,8)},t.prototype.readDoubleBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!1,52,8)};function U(Me,pe,ue,Oe,rt,ot){if(!t.isBuffer(Me))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>rt||peMe.length)throw new RangeError("Index out of range")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=1,et=0;for(this[ue]=pe&255;++et>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=Oe-1,et=1;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)this[ue+ot]=pe/et&255;return ue+Oe},t.prototype.writeUint8=t.prototype.writeUInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,255,0),this[ue]=pe&255,ue+1},t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue+3]=pe>>>24,this[ue+2]=pe>>>16,this[ue+1]=pe>>>8,this[ue]=pe&255,ue+4},t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4};function W(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,ue}function Q(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue+7]=ot,ot=ot>>8,Me[ue+6]=ot,ot=ot>>8,Me[ue+5]=ot,ot=ot>>8,Me[ue+4]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue+3]=et,et=et>>8,Me[ue+2]=et,et=et>>8,Me[ue+1]=et,et=et>>8,Me[ue]=et,ue+8}t.prototype.writeBigUInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,BigInt(0),BigInt("0xffffffffffffffff"))}),t.prototype.writeBigUInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,BigInt(0),BigInt("0xffffffffffffffff"))}),t.prototype.writeIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=0,et=1,Lt=0;for(this[ue]=pe&255;++ot>0)-Lt&255;return ue+Oe},t.prototype.writeIntBE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=Oe-1,et=1,Lt=0;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)pe<0&&Lt===0&&this[ue+ot+1]!==0&&(Lt=1),this[ue+ot]=(pe/et>>0)-Lt&255;return ue+Oe},t.prototype.writeInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,127,-128),pe<0&&(pe=255+pe+1),this[ue]=pe&255,ue+1},t.prototype.writeInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),this[ue]=pe&255,this[ue+1]=pe>>>8,this[ue+2]=pe>>>16,this[ue+3]=pe>>>24,ue+4},t.prototype.writeInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4},t.prototype.writeBigInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),t.prototype.writeBigInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function le(Me,pe,ue,Oe,rt,ot){if(ue+Oe>Me.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function se(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,4,34028234663852886e22,-34028234663852886e22),g.write(Me,pe,ue,Oe,23,4),ue+4}t.prototype.writeFloatLE=function(pe,ue,Oe){return se(this,pe,ue,!0,Oe)},t.prototype.writeFloatBE=function(pe,ue,Oe){return se(this,pe,ue,!1,Oe)};function fe(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,8,17976931348623157e292,-17976931348623157e292),g.write(Me,pe,ue,Oe,52,8),ue+8}t.prototype.writeDoubleLE=function(pe,ue,Oe){return fe(this,pe,ue,!0,Oe)},t.prototype.writeDoubleBE=function(pe,ue,Oe){return fe(this,pe,ue,!1,Oe)},t.prototype.copy=function(pe,ue,Oe,rt){if(!t.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(Oe||(Oe=0),!rt&&rt!==0&&(rt=this.length),ue>=pe.length&&(ue=pe.length),ue||(ue=0),rt>0&&rt=this.length)throw new RangeError("Index out of range");if(rt<0)throw new RangeError("sourceEnd out of bounds");rt>this.length&&(rt=this.length),pe.length-ue>>0,Oe=Oe===void 0?this.length:Oe>>>0,pe||(pe=0);let ot;if(typeof pe=="number")for(ot=ue;ot2**32?rt=J(String(ue)):typeof ue=="bigint"&&(rt=String(ue),(ue>BigInt(2)**BigInt(32)||ue<-(BigInt(2)**BigInt(32)))&&(rt=J(rt)),rt+="n"),Oe+=` It must be ${pe}. Received ${rt}`,Oe},RangeError);function J(Me){let pe="",ue=Me.length,Oe=Me[0]==="-"?1:0;for(;ue>=Oe+4;ue-=3)pe=`_${Me.slice(ue-3,ue)}${pe}`;return`${Me.slice(0,ue)}${pe}`}function X(Me,pe,ue){ae(pe,"offset"),(Me[pe]===void 0||Me[pe+ue]===void 0)&&j(pe,Me.length-(ue+1))}function re(Me,pe,ue,Oe,rt,ot){if(Me>ue||Me3?pe===0||pe===BigInt(0)?Lt=`>= 0${et} and < 2${et} ** ${(ot+1)*8}${et}`:Lt=`>= -(2${et} ** ${(ot+1)*8-1}${et}) and < 2 ** ${(ot+1)*8-1}${et}`:Lt=`>= ${pe}${et} and <= ${ue}${et}`,new G.ERR_OUT_OF_RANGE("value",Lt,Me)}X(Oe,rt,ot)}function ae(Me,pe){if(typeof Me!="number")throw new G.ERR_INVALID_ARG_TYPE(pe,"number",Me)}function j(Me,pe,ue){throw Math.floor(Me)!==Me?(ae(Me,ue),new G.ERR_OUT_OF_RANGE(ue||"offset","an integer",Me)):pe<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE(ue||"offset",`>= ${ue?1:0} and <= ${pe}`,Me)}var ee=/[^+/0-9A-Za-z-_]/g;function ie(Me){if(Me=Me.split("=")[0],Me=Me.trim().replace(ee,""),Me.length<2)return"";for(;Me.length%4!==0;)Me=Me+"=";return Me}function ce(Me,pe){pe=pe||1/0;let ue,Oe=Me.length,rt=null,ot=[];for(let et=0;et55295&&ue<57344){if(!rt){if(ue>56319){(pe-=3)>-1&&ot.push(239,191,189);continue}else if(et+1===Oe){(pe-=3)>-1&&ot.push(239,191,189);continue}rt=ue;continue}if(ue<56320){(pe-=3)>-1&&ot.push(239,191,189),rt=ue;continue}ue=(rt-55296<<10|ue-56320)+65536}else rt&&(pe-=3)>-1&&ot.push(239,191,189);if(rt=null,ue<128){if((pe-=1)<0)break;ot.push(ue)}else if(ue<2048){if((pe-=2)<0)break;ot.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((pe-=3)<0)break;ot.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((pe-=4)<0)break;ot.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error("Invalid code point")}return ot}function xe(Me){let pe=[];for(let ue=0;ue>8,rt=ue%256,ot.push(rt),ot.push(Oe);return ot}function Ue(Me){return H.toByteArray(ie(Me))}function Ie(Me,pe,ue,Oe){let rt;for(rt=0;rt=pe.length||rt>=Me.length);++rt)pe[rt+ue]=Me[rt];return rt}function Ye(Me,pe){return Me instanceof pe||Me!=null&&Me.constructor!=null&&Me.constructor.name!=null&&Me.constructor.name===pe.name}function it(Me){return Me!==Me}var at=function(){let Me="0123456789abcdef",pe=new Array(256);for(let ue=0;ue<16;++ue){let Oe=ue*16;for(let rt=0;rt<16;++rt)pe[Oe+rt]=Me[ue]+Me[rt]}return pe}();function tt(Me){return typeof BigInt>"u"?ut:Me}function ut(){throw new Error("BigInt not supported")}}}),ix=ke({"node_modules/has-symbols/shams.js"(Z,H){"use strict";H.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var x={},A=Symbol("test"),S=Object(A);if(typeof A=="string"||Object.prototype.toString.call(A)!=="[object Symbol]"||Object.prototype.toString.call(S)!=="[object Symbol]")return!1;var e=42;x[A]=e;for(A in x)return!1;if(typeof Object.keys=="function"&&Object.keys(x).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(x).length!==0)return!1;var t=Object.getOwnPropertySymbols(x);if(t.length!==1||t[0]!==A||!Object.prototype.propertyIsEnumerable.call(x,A))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var r=Object.getOwnPropertyDescriptor(x,A);if(r.value!==e||r.enumerable!==!0)return!1}return!0}}}),g0=ke({"node_modules/has-tostringtag/shams.js"(Z,H){"use strict";var g=ix();H.exports=function(){return g()&&!!Symbol.toStringTag}}}),Kk=ke({"node_modules/es-errors/index.js"(Z,H){"use strict";H.exports=Error}}),Jk=ke({"node_modules/es-errors/eval.js"(Z,H){"use strict";H.exports=EvalError}}),$k=ke({"node_modules/es-errors/range.js"(Z,H){"use strict";H.exports=RangeError}}),Qk=ke({"node_modules/es-errors/ref.js"(Z,H){"use strict";H.exports=ReferenceError}}),b3=ke({"node_modules/es-errors/syntax.js"(Z,H){"use strict";H.exports=SyntaxError}}),y0=ke({"node_modules/es-errors/type.js"(Z,H){"use strict";H.exports=TypeError}}),eL=ke({"node_modules/es-errors/uri.js"(Z,H){"use strict";H.exports=URIError}}),tL=ke({"node_modules/has-symbols/index.js"(Z,H){"use strict";var g=typeof Symbol<"u"&&Symbol,x=ix();H.exports=function(){return typeof g!="function"||typeof Symbol!="function"||typeof g("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:x()}}}),rL=ke({"node_modules/has-proto/index.js"(Z,H){"use strict";var g={foo:{}},x=Object;H.exports=function(){return{__proto__:g}.foo===g.foo&&!({__proto__:null}instanceof x)}}}),nL=ke({"node_modules/function-bind/implementation.js"(Z,H){"use strict";var g="Function.prototype.bind called on incompatible ",x=Object.prototype.toString,A=Math.max,S="[object Function]",e=function(n,i){for(var a=[],s=0;s"u"||!d?g:d(Uint8Array),_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":h&&d?d([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":x,"%eval%":eval,"%EvalError%":A,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":T,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&d?d(d([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!h||!d?g:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":S,"%ReferenceError%":e,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!h||!d?g:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&d?d(""[Symbol.iterator]()):g,"%Symbol%":h?Symbol:g,"%SyntaxError%":t,"%ThrowTypeError%":c,"%TypedArray%":l,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":o,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet};if(d)try{null.error}catch(O){w=d(d(O)),_["%Error.prototype%"]=w}var w,M=function O(I){var N;if(I==="%AsyncFunction%")N=i("async function () {}");else if(I==="%GeneratorFunction%")N=i("function* () {}");else if(I==="%AsyncGeneratorFunction%")N=i("async function* () {}");else if(I==="%AsyncGenerator%"){var U=O("%AsyncGeneratorFunction%");U&&(N=U.prototype)}else if(I==="%AsyncIteratorPrototype%"){var W=O("%AsyncGenerator%");W&&d&&(N=d(W.prototype))}return _[I]=N,N},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=ax(),b=iL(),v=m.call(Function.call,Array.prototype.concat),u=m.call(Function.apply,Array.prototype.splice),y=m.call(Function.call,String.prototype.replace),f=m.call(Function.call,String.prototype.slice),P=m.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,F=function(I){var N=f(I,0,1),U=f(I,-1);if(N==="%"&&U!=="%")throw new t("invalid intrinsic syntax, expected closing `%`");if(U==="%"&&N!=="%")throw new t("invalid intrinsic syntax, expected opening `%`");var W=[];return y(I,L,function(Q,le,se,fe){W[W.length]=se?y(fe,z,"$1"):le||Q}),W},B=function(I,N){var U=I,W;if(b(E,U)&&(W=E[U],U="%"+W[0]+"%"),b(_,U)){var Q=_[U];if(Q===T&&(Q=M(U)),typeof Q>"u"&&!N)throw new r("intrinsic "+I+" exists, but is not available. Please file an issue!");return{alias:W,name:U,value:Q}}throw new t("intrinsic "+I+" does not exist!")};H.exports=function(I,N){if(typeof I!="string"||I.length===0)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof N!="boolean")throw new r('"allowMissing" argument must be a boolean');if(P(/^%?[^%]*%?$/,I)===null)throw new t("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var U=F(I),W=U.length>0?U[0]:"",Q=B("%"+W+"%",N),le=Q.name,se=Q.value,fe=!1,G=Q.alias;G&&(W=G[0],u(U,v([0,1],G)));for(var $=1,J=!0;$=U.length){var j=a(se,X);J=!!j,J&&"get"in j&&!("originalValue"in j.get)?se=j.get:se=se[X]}else J=b(se,X),se=se[X];J&&!fe&&(_[le]=se)}}return se}}}),ox=ke({"node_modules/es-define-property/index.js"(Z,H){"use strict";var g=iy(),x=g("%Object.defineProperty%",!0)||!1;if(x)try{x({},"a",{value:1})}catch{x=!1}H.exports=x}}),_0=ke({"node_modules/gopd/index.js"(Z,H){"use strict";var g=iy(),x=g("%Object.getOwnPropertyDescriptor%",!0);if(x)try{x([],"length")}catch{x=null}H.exports=x}}),aL=ke({"node_modules/define-data-property/index.js"(Z,H){"use strict";var g=ox(),x=b3(),A=y0(),S=_0();H.exports=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new A("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new A("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new A("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new A("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new A("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new A("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!S&&S(t,r);if(g)g(t,r,{configurable:a===null&&c?c.configurable:!a,enumerable:n===null&&c?c.enumerable:!n,value:o,writable:i===null&&c?c.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new x("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}}),w3=ke({"node_modules/has-property-descriptors/index.js"(Z,H){"use strict";var g=ox(),x=function(){return!!g};x.hasArrayLengthDefineBug=function(){if(!g)return null;try{return g([],"length",{value:1}).length!==1}catch{return!0}},H.exports=x}}),oL=ke({"node_modules/set-function-length/index.js"(Z,H){"use strict";var g=iy(),x=aL(),A=w3()(),S=_0(),e=y0(),t=g("%Math.floor%");H.exports=function(o,n){if(typeof o!="function")throw new e("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||t(n)!==n)throw new e("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],a=!0,s=!0;if("length"in o&&S){var c=S(o,"length");c&&!c.configurable&&(a=!1),c&&!c.writable&&(s=!1)}return(a||s||!i)&&(A?x(o,"length",n,!0,!0):x(o,"length",n)),o}}}),x0=ke({"node_modules/call-bind/index.js"(Z,H){"use strict";var g=ax(),x=iy(),A=oL(),S=y0(),e=x("%Function.prototype.apply%"),t=x("%Function.prototype.call%"),r=x("%Reflect.apply%",!0)||g.call(t,e),o=ox(),n=x("%Math.max%");H.exports=function(s){if(typeof s!="function")throw new S("a function is required");var c=r(g,t,arguments);return A(c,1+n(0,s.length-(arguments.length-1)),!0)};var i=function(){return r(g,e,arguments)};o?o(H.exports,"apply",{value:i}):H.exports.apply=i}}),ay=ke({"node_modules/call-bind/callBound.js"(Z,H){"use strict";var g=iy(),x=x0(),A=x(g("String.prototype.indexOf"));H.exports=function(e,t){var r=g(e,!!t);return typeof r=="function"&&A(e,".prototype.")>-1?x(r):r}}}),sL=ke({"node_modules/is-arguments/index.js"(Z,H){"use strict";var g=g0()(),x=ay(),A=x("Object.prototype.toString"),S=function(o){return g&&o&&typeof o=="object"&&Symbol.toStringTag in o?!1:A(o)==="[object Arguments]"},e=function(o){return S(o)?!0:o!==null&&typeof o=="object"&&typeof o.length=="number"&&o.length>=0&&A(o)!=="[object Array]"&&A(o.callee)==="[object Function]"},t=function(){return S(arguments)}();S.isLegacyArguments=e,H.exports=t?S:e}}),lL=ke({"node_modules/is-generator-function/index.js"(Z,H){"use strict";var g=Object.prototype.toString,x=Function.prototype.toString,A=/^\s*(?:function)?\*/,S=g0()(),e=Object.getPrototypeOf,t=function(){if(!S)return!1;try{return Function("return function*() {}")()}catch{}},r;H.exports=function(n){if(typeof n!="function")return!1;if(A.test(x.call(n)))return!0;if(!S){var i=g.call(n);return i==="[object GeneratorFunction]"}if(!e)return!1;if(typeof r>"u"){var a=t();r=a?e(a):!1}return e(n)===r}}}),uL=ke({"node_modules/is-callable/index.js"(Z,H){"use strict";var g=Function.prototype.toString,x=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,A,S;if(typeof x=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw S}}),S={},x(function(){throw 42},null,A)}catch(_){_!==S&&(x=null)}else x=null;var e=/^\s*class\b/,t=function(w){try{var M=g.call(w);return e.test(M)}catch{return!1}},r=function(w){try{return t(w)?!1:(g.call(w),!0)}catch{return!1}},o=Object.prototype.toString,n="[object Object]",i="[object Function]",a="[object GeneratorFunction]",s="[object HTMLAllCollection]",c="[object HTML document.all class]",h="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,d=!(0 in[,]),T=function(){return!1};typeof document=="object"&&(l=document.all,o.call(l)===o.call(document.all)&&(T=function(w){if((d||!w)&&(typeof w>"u"||typeof w=="object"))try{var M=o.call(w);return(M===s||M===c||M===h||M===n)&&w("")==null}catch{}return!1}));var l;H.exports=x?function(w){if(T(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;try{x(w,null,A)}catch(M){if(M!==S)return!1}return!t(w)&&r(w)}:function(w){if(T(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;if(p)return r(w);if(t(w))return!1;var M=o.call(w);return M!==i&&M!==a&&!/^\[object HTML/.test(M)?!1:r(w)}}}),T3=ke({"node_modules/for-each/index.js"(Z,H){"use strict";var g=uL(),x=Object.prototype.toString,A=Object.prototype.hasOwnProperty,S=function(n,i,a){for(var s=0,c=n.length;s=3&&(s=a),x.call(n)==="[object Array]"?S(n,i,s):typeof n=="string"?e(n,i,s):t(n,i,s)};H.exports=r}}),A3=ke({"node_modules/available-typed-arrays/index.js"(Z,H){"use strict";var g=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],x=typeof globalThis>"u"?window:globalThis;H.exports=function(){for(var S=[],e=0;e"u"?window:globalThis,n=x(),i=S("String.prototype.slice"),a=Object.getPrototypeOf,s=S("Array.prototype.indexOf",!0)||function(T,l){for(var _=0;_-1?l:l!=="Object"?!1:p(T)}return e?h(T):null}}}),fL=ke({"node_modules/is-typed-array/index.js"(Z,H){"use strict";var g=T3(),x=A3(),A=ay(),S=A("Object.prototype.toString"),e=g0()(),t=_0(),r=typeof globalThis>"u"?window:globalThis,o=x(),n=A("Array.prototype.indexOf",!0)||function(p,d){for(var T=0;T-1}return t?c(p):!1}}}),M3=ke({"node_modules/util/support/types.js"(Z){"use strict";var H=sL(),g=lL(),x=cL(),A=fL();function S(Te){return Te.call.bind(Te)}var e=typeof BigInt<"u",t=typeof Symbol<"u",r=S(Object.prototype.toString),o=S(Number.prototype.valueOf),n=S(String.prototype.valueOf),i=S(Boolean.prototype.valueOf);e&&(a=S(BigInt.prototype.valueOf));var a;t&&(s=S(Symbol.prototype.valueOf));var s;function c(Te,Ue){if(typeof Te!="object")return!1;try{return Ue(Te),!0}catch{return!1}}Z.isArgumentsObject=H,Z.isGeneratorFunction=g,Z.isTypedArray=A;function h(Te){return typeof Promise<"u"&&Te instanceof Promise||Te!==null&&typeof Te=="object"&&typeof Te.then=="function"&&typeof Te.catch=="function"}Z.isPromise=h;function p(Te){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Te):A(Te)||W(Te)}Z.isArrayBufferView=p;function d(Te){return x(Te)==="Uint8Array"}Z.isUint8Array=d;function T(Te){return x(Te)==="Uint8ClampedArray"}Z.isUint8ClampedArray=T;function l(Te){return x(Te)==="Uint16Array"}Z.isUint16Array=l;function _(Te){return x(Te)==="Uint32Array"}Z.isUint32Array=_;function w(Te){return x(Te)==="Int8Array"}Z.isInt8Array=w;function M(Te){return x(Te)==="Int16Array"}Z.isInt16Array=M;function E(Te){return x(Te)==="Int32Array"}Z.isInt32Array=E;function m(Te){return x(Te)==="Float32Array"}Z.isFloat32Array=m;function b(Te){return x(Te)==="Float64Array"}Z.isFloat64Array=b;function v(Te){return x(Te)==="BigInt64Array"}Z.isBigInt64Array=v;function u(Te){return x(Te)==="BigUint64Array"}Z.isBigUint64Array=u;function y(Te){return r(Te)==="[object Map]"}y.working=typeof Map<"u"&&y(new Map);function f(Te){return typeof Map>"u"?!1:y.working?y(Te):Te instanceof Map}Z.isMap=f;function P(Te){return r(Te)==="[object Set]"}P.working=typeof Set<"u"&&P(new Set);function L(Te){return typeof Set>"u"?!1:P.working?P(Te):Te instanceof Set}Z.isSet=L;function z(Te){return r(Te)==="[object WeakMap]"}z.working=typeof WeakMap<"u"&&z(new WeakMap);function F(Te){return typeof WeakMap>"u"?!1:z.working?z(Te):Te instanceof WeakMap}Z.isWeakMap=F;function B(Te){return r(Te)==="[object WeakSet]"}B.working=typeof WeakSet<"u"&&B(new WeakSet);function O(Te){return B(Te)}Z.isWeakSet=O;function I(Te){return r(Te)==="[object ArrayBuffer]"}I.working=typeof ArrayBuffer<"u"&&I(new ArrayBuffer);function N(Te){return typeof ArrayBuffer>"u"?!1:I.working?I(Te):Te instanceof ArrayBuffer}Z.isArrayBuffer=N;function U(Te){return r(Te)==="[object DataView]"}U.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&U(new DataView(new ArrayBuffer(1),0,1));function W(Te){return typeof DataView>"u"?!1:U.working?U(Te):Te instanceof DataView}Z.isDataView=W;var Q=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function le(Te){return r(Te)==="[object SharedArrayBuffer]"}function se(Te){return typeof Q>"u"?!1:(typeof le.working>"u"&&(le.working=le(new Q)),le.working?le(Te):Te instanceof Q)}Z.isSharedArrayBuffer=se;function fe(Te){return r(Te)==="[object AsyncFunction]"}Z.isAsyncFunction=fe;function G(Te){return r(Te)==="[object Map Iterator]"}Z.isMapIterator=G;function $(Te){return r(Te)==="[object Set Iterator]"}Z.isSetIterator=$;function J(Te){return r(Te)==="[object Generator]"}Z.isGeneratorObject=J;function X(Te){return r(Te)==="[object WebAssembly.Module]"}Z.isWebAssemblyCompiledModule=X;function re(Te){return c(Te,o)}Z.isNumberObject=re;function ae(Te){return c(Te,n)}Z.isStringObject=ae;function j(Te){return c(Te,i)}Z.isBooleanObject=j;function ee(Te){return e&&c(Te,a)}Z.isBigIntObject=ee;function ie(Te){return t&&c(Te,s)}Z.isSymbolObject=ie;function ce(Te){return re(Te)||ae(Te)||j(Te)||ee(Te)||ie(Te)}Z.isBoxedPrimitive=ce;function xe(Te){return typeof Uint8Array<"u"&&(N(Te)||se(Te))}Z.isAnyArrayBuffer=xe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Te){Object.defineProperty(Z,Te,{enumerable:!1,value:function(){throw new Error(Te+" is not supported in userland")}})})}}),S3=ke({"node_modules/util/support/isBufferBrowser.js"(Z,H){H.exports=function(x){return x&&typeof x=="object"&&typeof x.copy=="function"&&typeof x.fill=="function"&&typeof x.readUInt8=="function"}}}),E3=ke({"(disabled):node_modules/util/util.js"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case"%s":return String(le[Q++]);case"%d":return Number(le[Q++]);case"%j":try{return JSON.stringify(le[Q++])}catch{return"[Circular]"}default:return $}}),G=le[Q];Q"u")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S="false",S=S.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A=new RegExp("^"+S+"$","i");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error("%s %d: %s",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function t(U,W){var Q=e.styles[W];return Q?"\x1B["+e.colors[Q][0]+"m"+U+"\x1B["+e.colors[Q][1]+"m":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf("message")>=0||fe.indexOf("description")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?": "+W.name:"";return U.stylize("[Function"+$+"]","special")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),"regexp");if(v(W))return U.stylize(Date.prototype.toString.call(W),"date");if(u(W))return a(W)}var J="",X=!1,re=["{","}"];if(p(W)&&(X=!0,re=["[","]"]),y(W)){var ae=W.name?": "+W.name:"";J=" [Function"+ae+"]"}if(m(W)&&(J=" "+RegExp.prototype.toString.call(W)),v(W)&&(J=" "+Date.prototype.toUTCString.call(W)),u(W)&&(J=" "+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),"regexp"):U.stylize("[Object]","special");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize("undefined","undefined");if(w(W)){var Q="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(Q,"string")}if(_(W))return U.stylize(""+W,"number");if(d(W))return U.stylize(""+W,"boolean");if(T(W))return U.stylize("null","null")}function a(U){return"["+Error.prototype.toString.call(U)+"]"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push("");return se.forEach(function(J){J.match(/^\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize("[Getter/Setter]","special"):$=U.stylize("[Getter]","special"):J.set&&($=U.stylize("[Setter]","special")),B(le,se)||(G="["+se+"]"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(` +`)>-1&&(fe?$=$.split(` +`).map(function(X){return" "+X}).join(` +`).slice(2):$=` +`+$.split(` +`).map(function(X){return" "+X}).join(` +`))):$=U.stylize("[Circular]","special")),E(G)){if(fe&&se.match(/^\d+$/))return $;G=JSON.stringify(""+se),G.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=U.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=U.stylize(G,"string"))}return G+": "+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(` +`)>=0&&le++,fe+G.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?Q[0]+(W===""?"":W+` + `)+" "+U.join(`, + `)+" "+Q[1]:Q[0]+W+" "+U.join(", ")+" "+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U=="boolean"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U=="number"}Z.isNumber=_;function w(U){return typeof U=="string"}Z.isString=w;function M(U){return typeof U=="symbol"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)==="[object RegExp]"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U=="object"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)==="[object Date]"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)==="[object Error]"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U=="function"}Z.isFunction=y;function f(U){return U===null||typeof U=="boolean"||typeof U=="number"||typeof U=="string"||typeof U=="symbol"||typeof U>"u"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?"0"+U.toString(10):U.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(":");return[U.getDate(),z[U.getMonth()],W].join(" ")}Z.log=function(){console.log("%s - %s",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Z.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$0?this.tail.next=d:this.head=d,this.tail=d,++this.length}},{key:"unshift",value:function(p){var d={data:p,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length}},{key:"shift",value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(p){if(this.length===0)return"";for(var d=this.head,T=""+d.data;d=d.next;)T+=p+d.data;return T}},{key:"concat",value:function(p){if(this.length===0)return o.alloc(0);for(var d=o.allocUnsafe(p>>>0),T=this.head,l=0;T;)s(T.data,d,l),l+=T.data.length,T=T.next;return d}},{key:"consume",value:function(p,d){var T;return p_.length?_.length:p;if(w===_.length?l+=_:l+=_.slice(0,p),p-=w,p===0){w===_.length?(++T,d.next?this.head=d.next:this.head=this.tail=null):(this.head=d,d.data=_.slice(w));break}++T}return this.length-=T,l}},{key:"_getBuffer",value:function(p){var d=o.allocUnsafe(p),T=this.head,l=1;for(T.data.copy(d),p-=T.data.length;T=T.next;){var _=T.data,w=p>_.length?_.length:p;if(_.copy(d,d.length-p,0,w),p-=w,p===0){w===_.length?(++l,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=_.slice(w));break}++l}return this.length-=l,d}},{key:a,value:function(p,d){return i(this,x({},d,{depth:0,customInspect:!1}))}}]),c}()}}),C3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js"(Z,H){"use strict";function g(r,o){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(e,this,r)):process.nextTick(e,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(s){!o&&s?n._writableState?n._writableState.errorEmitted?process.nextTick(A,n):(n._writableState.errorEmitted=!0,process.nextTick(x,n,s)):process.nextTick(x,n,s):o?(process.nextTick(A,n),o(s)):process.nextTick(A,n)}),this)}function x(r,o){e(r,o),A(r)}function A(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function e(r,o){r.emit("error",o)}function t(r,o){var n=r._readableState,i=r._writableState;n&&n.autoDestroy||i&&i.autoDestroy?r.destroy(o):r.emit("error",o)}H.exports={destroy:g,undestroy:S,errorOrDestroy:t}}}),Um=ke({"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"(Z,H){"use strict";function g(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var x={};function A(o,n,i){i||(i=Error);function a(c,h,p){return typeof n=="string"?n:n(c,h,p)}var s=function(c){g(h,c);function h(p,d,T){return c.call(this,a(p,d,T))||this}return h}(i);s.prototype.name=i.name,s.prototype.code=o,x[o]=s}function S(o,n){if(Array.isArray(o)){var i=o.length;return o=o.map(function(a){return String(a)}),i>2?"one of ".concat(n," ").concat(o.slice(0,i-1).join(", "),", or ")+o[i-1]:i===2?"one of ".concat(n," ").concat(o[0]," or ").concat(o[1]):"of ".concat(n," ").concat(o[0])}else return"of ".concat(n," ").concat(String(o))}function e(o,n,i){return o.substr(!i||i<0?0:+i,n.length)===n}function t(o,n,i){return(i===void 0||i>o.length)&&(i=o.length),o.substring(i-n.length,i)===n}function r(o,n,i){return typeof i!="number"&&(i=0),i+n.length>o.length?!1:o.indexOf(n,i)!==-1}A("ERR_INVALID_OPT_VALUE",function(o,n){return'The value "'+n+'" is invalid for option "'+o+'"'},TypeError),A("ERR_INVALID_ARG_TYPE",function(o,n,i){var a;typeof n=="string"&&e(n,"not ")?(a="must not be",n=n.replace(/^not /,"")):a="must be";var s;if(t(o," argument"))s="The ".concat(o," ").concat(a," ").concat(S(n,"type"));else{var c=r(o,".")?"property":"argument";s='The "'.concat(o,'" ').concat(c," ").concat(a," ").concat(S(n,"type"))}return s+=". Received type ".concat(typeof i),s},TypeError),A("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),A("ERR_METHOD_NOT_IMPLEMENTED",function(o){return"The "+o+" method is not implemented"}),A("ERR_STREAM_PREMATURE_CLOSE","Premature close"),A("ERR_STREAM_DESTROYED",function(o){return"Cannot call "+o+" after a stream was destroyed"}),A("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),A("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),A("ERR_STREAM_WRITE_AFTER_END","write after end"),A("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),A("ERR_UNKNOWN_ENCODING",function(o){return"Unknown encoding: "+o},TypeError),A("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),H.exports.codes=x}}),k3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js"(Z,H){"use strict";var g=Um().codes.ERR_INVALID_OPT_VALUE;function x(S,e,t){return S.highWaterMark!=null?S.highWaterMark:e?S[t]:null}function A(S,e,t,r){var o=x(e,r,t);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var n=r?t:"highWaterMark";throw new g(n,o)}return Math.floor(o)}return S.objectMode?16:16*1024}H.exports={getHighWaterMark:A}}}),dL=ke({"node_modules/util-deprecate/browser.js"(Z,H){H.exports=g;function g(A,S){if(x("noDeprecation"))return A;var e=!1;function t(){if(!e){if(x("throwDeprecation"))throw new Error(S);x("traceDeprecation")?console.trace(S):console.warn(S),e=!0}return A.apply(this,arguments)}return t}function x(A){try{if(!window.localStorage)return!1}catch{return!1}var S=window.localStorage[A];return S==null?!1:String(S).toLowerCase()==="true"}}}),L3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js"(Z,H){"use strict";H.exports=v;function g(G){var $=this;this.next=null,this.entry=null,this.finish=function(){fe($,G)}}var x;v.WritableState=m;var A={deprecate:dL()},S=x3(),e=Nm().Buffer,t=window.Uint8Array||function(){};function r(G){return e.from(G)}function o(G){return e.isBuffer(G)||G instanceof t}var n=C3(),i=k3(),a=i.getHighWaterMark,s=Um().codes,c=s.ERR_INVALID_ARG_TYPE,h=s.ERR_METHOD_NOT_IMPLEMENTED,p=s.ERR_MULTIPLE_CALLBACK,d=s.ERR_STREAM_CANNOT_PIPE,T=s.ERR_STREAM_DESTROYED,l=s.ERR_STREAM_NULL_VALUES,_=s.ERR_STREAM_WRITE_AFTER_END,w=s.ERR_UNKNOWN_ENCODING,M=n.errorOrDestroy;$v()(v,S);function E(){}function m(G,$,J){x=x||jm(),G=G||{},typeof J!="boolean"&&(J=$ instanceof x),this.objectMode=!!G.objectMode,J&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=a(this,G,"writableHighWaterMark",J),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=G.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=G.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(re){B($,re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=G.emitClose!==!1,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}m.prototype.getBuffer=function(){for(var $=this.bufferedRequest,J=[];$;)J.push($),$=$.next;return J},function(){try{Object.defineProperty(m.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var b;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function($){return b.call(this,$)?!0:this!==v?!1:$&&$._writableState instanceof m}})):b=function($){return $ instanceof this};function v(G){x=x||jm();var $=this instanceof x;if(!$&&!b.call(v,this))return new v(G);this._writableState=new m(G,this,$),this.writable=!0,G&&(typeof G.write=="function"&&(this._write=G.write),typeof G.writev=="function"&&(this._writev=G.writev),typeof G.destroy=="function"&&(this._destroy=G.destroy),typeof G.final=="function"&&(this._final=G.final)),S.call(this)}v.prototype.pipe=function(){M(this,new d)};function u(G,$){var J=new _;M(G,J),process.nextTick($,J)}function y(G,$,J,X){var re;return J===null?re=new l:typeof J!="string"&&!$.objectMode&&(re=new c("chunk",["string","Buffer"],J)),re?(M(G,re),process.nextTick(X,re),!1):!0}v.prototype.write=function(G,$,J){var X=this._writableState,re=!1,ae=!X.objectMode&&o(G);return ae&&!e.isBuffer(G)&&(G=r(G)),typeof $=="function"&&(J=$,$=null),ae?$="buffer":$||($=X.defaultEncoding),typeof J!="function"&&(J=E),X.ending?u(this,J):(ae||y(this,X,G,J))&&(X.pendingcb++,re=P(this,X,ae,G,$,J)),re},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&N(this,G))},v.prototype.setDefaultEncoding=function($){if(typeof $=="string"&&($=$.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf(($+"").toLowerCase())>-1))throw new w($);return this._writableState.defaultEncoding=$,this},Object.defineProperty(v.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function f(G,$,J){return!G.objectMode&&G.decodeStrings!==!1&&typeof $=="string"&&($=e.from($,J)),$}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(G,$,J,X,re,ae){if(!J){var j=f($,X,re);X!==j&&(J=!0,re="buffer",X=j)}var ee=$.objectMode?1:X.length;$.length+=ee;var ie=$.length<$.highWaterMark;if(ie||($.needDrain=!0),$.writing||$.corked){var ce=$.lastBufferedRequest;$.lastBufferedRequest={chunk:X,encoding:re,isBuf:J,callback:ae,next:null},ce?ce.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else L(G,$,!1,ee,X,re,ae);return ie}function L(G,$,J,X,re,ae,j){$.writelen=X,$.writecb=j,$.writing=!0,$.sync=!0,$.destroyed?$.onwrite(new T("write")):J?G._writev(re,$.onwrite):G._write(re,ae,$.onwrite),$.sync=!1}function z(G,$,J,X,re){--$.pendingcb,J?(process.nextTick(re,X),process.nextTick(le,G,$),G._writableState.errorEmitted=!0,M(G,X)):(re(X),G._writableState.errorEmitted=!0,M(G,X),le(G,$))}function F(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}function B(G,$){var J=G._writableState,X=J.sync,re=J.writecb;if(typeof re!="function")throw new p;if(F(J),$)z(G,J,X,$,re);else{var ae=U(J)||G.destroyed;!ae&&!J.corked&&!J.bufferProcessing&&J.bufferedRequest&&N(G,J),X?process.nextTick(O,G,J,ae,re):O(G,J,ae,re)}}function O(G,$,J,X){J||I(G,$),$.pendingcb--,X(),le(G,$)}function I(G,$){$.length===0&&$.needDrain&&($.needDrain=!1,G.emit("drain"))}function N(G,$){$.bufferProcessing=!0;var J=$.bufferedRequest;if(G._writev&&J&&J.next){var X=$.bufferedRequestCount,re=new Array(X),ae=$.corkedRequestsFree;ae.entry=J;for(var j=0,ee=!0;J;)re[j]=J,J.isBuf||(ee=!1),J=J.next,j+=1;re.allBuffers=ee,L(G,$,!0,$.length,re,"",ae.finish),$.pendingcb++,$.lastBufferedRequest=null,ae.next?($.corkedRequestsFree=ae.next,ae.next=null):$.corkedRequestsFree=new g($),$.bufferedRequestCount=0}else{for(;J;){var ie=J.chunk,ce=J.encoding,xe=J.callback,Te=$.objectMode?1:ie.length;if(L(G,$,!1,Te,ie,ce,xe),J=J.next,$.bufferedRequestCount--,$.writing)break}J===null&&($.lastBufferedRequest=null)}$.bufferedRequest=J,$.bufferProcessing=!1}v.prototype._write=function(G,$,J){J(new h("_write()"))},v.prototype._writev=null,v.prototype.end=function(G,$,J){var X=this._writableState;return typeof G=="function"?(J=G,G=null,$=null):typeof $=="function"&&(J=$,$=null),G!=null&&this.write(G,$),X.corked&&(X.corked=1,this.uncork()),X.ending||se(this,X,J),this},Object.defineProperty(v.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function U(G){return G.ending&&G.length===0&&G.bufferedRequest===null&&!G.finished&&!G.writing}function W(G,$){G._final(function(J){$.pendingcb--,J&&M(G,J),$.prefinished=!0,G.emit("prefinish"),le(G,$)})}function Q(G,$){!$.prefinished&&!$.finalCalled&&(typeof G._final=="function"&&!$.destroyed?($.pendingcb++,$.finalCalled=!0,process.nextTick(W,G,$)):($.prefinished=!0,G.emit("prefinish")))}function le(G,$){var J=U($);if(J&&(Q(G,$),$.pendingcb===0&&($.finished=!0,G.emit("finish"),$.autoDestroy))){var X=G._readableState;(!X||X.autoDestroy&&X.endEmitted)&&G.destroy()}return J}function se(G,$,J){$.ending=!0,le(G,$),J&&($.finished?process.nextTick(J):G.once("finish",J)),$.ended=!0,G.writable=!1}function fe(G,$,J){var X=G.entry;for(G.entry=null;X;){var re=X.callback;$.pendingcb--,re(J),X=X.next}$.corkedRequestsFree.next=G}Object.defineProperty(v.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),v.prototype.destroy=n.destroy,v.prototype._undestroy=n.undestroy,v.prototype._destroy=function(G,$){$(G)}}}),jm=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js"(Z,H){"use strict";var g=Object.keys||function(i){var a=[];for(var s in i)a.push(s);return a};H.exports=r;var x=I3(),A=L3();for($v()(r,x),S=g(A.prototype),t=0;t>5===6?2:T>>4===14?3:T>>3===30?4:T>>6===2?-1:-2}function t(T,l,_){var w=l.length-1;if(w<_)return 0;var M=e(l[w]);return M>=0?(M>0&&(T.lastNeed=M-1),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(T.lastNeed=M-2),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(M===2?M=0:T.lastNeed=M-3),M):0))}function r(T,l,_){if((l[0]&192)!==128)return T.lastNeed=0,"\uFFFD";if(T.lastNeed>1&&l.length>1){if((l[1]&192)!==128)return T.lastNeed=1,"\uFFFD";if(T.lastNeed>2&&l.length>2&&(l[2]&192)!==128)return T.lastNeed=2,"\uFFFD"}}function o(T){var l=this.lastTotal-this.lastNeed,_=r(this,T,l);if(_!==void 0)return _;if(this.lastNeed<=T.length)return T.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);T.copy(this.lastChar,l,0,T.length),this.lastNeed-=T.length}function n(T,l){var _=t(this,T,l);if(!this.lastNeed)return T.toString("utf8",l);this.lastTotal=_;var w=T.length-(_-this.lastNeed);return T.copy(this.lastChar,0,w),T.toString("utf8",l,w)}function i(T){var l=T&&T.length?this.write(T):"";return this.lastNeed?l+"\uFFFD":l}function a(T,l){if((T.length-l)%2===0){var _=T.toString("utf16le",l);if(_){var w=_.charCodeAt(_.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=T[T.length-1],T.toString("utf16le",l,T.length-1)}function s(T){var l=T&&T.length?this.write(T):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return l+this.lastChar.toString("utf16le",0,_)}return l}function c(T,l){var _=(T.length-l)%3;return _===0?T.toString("base64",l):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=T[T.length-1]:(this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1]),T.toString("base64",l,T.length-_))}function h(T){var l=T&&T.length?this.write(T):"";return this.lastNeed?l+this.lastChar.toString("base64",0,3-this.lastNeed):l}function p(T){return T.toString(this.encoding)}function d(T){return T&&T.length?this.write(T):""}}}),sx=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(Z,H){"use strict";var g=Um().codes.ERR_STREAM_PREMATURE_CLOSE;function x(t){var r=!1;return function(){if(!r){r=!0;for(var o=arguments.length,n=new Array(o),i=0;i0)if(typeof ee!="string"&&!Te.objectMode&&Object.getPrototypeOf(ee)!==e.prototype&&(ee=r(ee)),ce)Te.endEmitted?m(j,new _):P(j,Te,ee,!0);else if(Te.ended)m(j,new T);else{if(Te.destroyed)return!1;Te.reading=!1,Te.decoder&&!ie?(ee=Te.decoder.write(ee),Te.objectMode||ee.length!==0?P(j,Te,ee,!1):U(j,Te)):P(j,Te,ee,!1)}else ce||(Te.reading=!1,U(j,Te))}return!Te.ended&&(Te.length=z?j=z:(j--,j|=j>>>1,j|=j>>>2,j|=j>>>4,j|=j>>>8,j|=j>>>16,j++),j}function B(j,ee){return j<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:j!==j?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(j>ee.highWaterMark&&(ee.highWaterMark=F(j)),j<=ee.length?j:ee.ended?ee.length:(ee.needReadable=!0,0))}y.prototype.read=function(j){i("read",j),j=parseInt(j,10);var ee=this._readableState,ie=j;if(j!==0&&(ee.emittedReadable=!1),j===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return i("read: emitReadable",ee.length,ee.ended),ee.length===0&&ee.ended?X(this):I(this),null;if(j=B(j,ee),j===0&&ee.ended)return ee.length===0&&X(this),null;var ce=ee.needReadable;i("need readable",ce),(ee.length===0||ee.length-j0?xe=J(j,ee):xe=null,xe===null?(ee.needReadable=ee.length<=ee.highWaterMark,j=0):(ee.length-=j,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),ie!==j&&ee.ended&&X(this)),xe!==null&&this.emit("data",xe),xe};function O(j,ee){if(i("onEofChunk"),!ee.ended){if(ee.decoder){var ie=ee.decoder.end();ie&&ie.length&&(ee.buffer.push(ie),ee.length+=ee.objectMode?1:ie.length)}ee.ended=!0,ee.sync?I(j):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,N(j)))}}function I(j){var ee=j._readableState;i("emitReadable",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(i("emitReadable",ee.flowing),ee.emittedReadable=!0,process.nextTick(N,j))}function N(j){var ee=j._readableState;i("emitReadable_",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(j.emit("readable"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,$(j)}function U(j,ee){ee.readingMore||(ee.readingMore=!0,process.nextTick(W,j,ee))}function W(j,ee){for(;!ee.reading&&!ee.ended&&(ee.length1&&ae(ce.pipes,j)!==-1)&&!it&&(i("false write response, pause",ce.awaitDrain),ce.awaitDrain++),ie.pause())}function ut(Oe){i("onerror",Oe),ue(),j.removeListener("error",ut),A(j,"error")===0&&m(j,Oe)}v(j,"error",ut);function Me(){j.removeListener("finish",pe),ue()}j.once("close",Me);function pe(){i("onfinish"),j.removeListener("close",Me),ue()}j.once("finish",pe);function ue(){i("unpipe"),ie.unpipe(j)}return j.emit("pipe",ie),ce.flowing||(i("pipe resume"),ie.resume()),j};function Q(j){return function(){var ie=j._readableState;i("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&A(j,"data")&&(ie.flowing=!0,$(j))}}y.prototype.unpipe=function(j){var ee=this._readableState,ie={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return j&&j!==ee.pipes?this:(j||(j=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,j&&j.emit("unpipe",this,ie),this);if(!j){var ce=ee.pipes,xe=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var Te=0;Te0,ce.flowing!==!1&&this.resume()):j==="readable"&&!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.flowing=!1,ce.emittedReadable=!1,i("on readable",ce.length,ce.reading),ce.length?I(this):ce.reading||process.nextTick(se,this)),ie},y.prototype.addListener=y.prototype.on,y.prototype.removeListener=function(j,ee){var ie=S.prototype.removeListener.call(this,j,ee);return j==="readable"&&process.nextTick(le,this),ie},y.prototype.removeAllListeners=function(j){var ee=S.prototype.removeAllListeners.apply(this,arguments);return(j==="readable"||j===void 0)&&process.nextTick(le,this),ee};function le(j){var ee=j._readableState;ee.readableListening=j.listenerCount("readable")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:j.listenerCount("data")>0&&j.resume()}function se(j){i("readable nexttick read 0"),j.read(0)}y.prototype.resume=function(){var j=this._readableState;return j.flowing||(i("resume"),j.flowing=!j.readableListening,fe(this,j)),j.paused=!1,this};function fe(j,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,process.nextTick(G,j,ee))}function G(j,ee){i("resume",ee.reading),ee.reading||j.read(0),ee.resumeScheduled=!1,j.emit("resume"),$(j),ee.flowing&&!ee.reading&&j.read(0)}y.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function $(j){var ee=j._readableState;for(i("flow",ee.flowing);ee.flowing&&j.read()!==null;);}y.prototype.wrap=function(j){var ee=this,ie=this._readableState,ce=!1;j.on("end",function(){if(i("wrapped end"),ie.decoder&&!ie.ended){var Ue=ie.decoder.end();Ue&&Ue.length&&ee.push(Ue)}ee.push(null)}),j.on("data",function(Ue){if(i("wrapped data"),ie.decoder&&(Ue=ie.decoder.write(Ue)),!(ie.objectMode&&Ue==null)&&!(!ie.objectMode&&(!Ue||!Ue.length))){var Ie=ee.push(Ue);Ie||(ce=!0,j.pause())}});for(var xe in j)this[xe]===void 0&&typeof j[xe]=="function"&&(this[xe]=function(Ie){return function(){return j[Ie].apply(j,arguments)}}(xe));for(var Te=0;Te=ee.length?(ee.decoder?ie=ee.buffer.join(""):ee.buffer.length===1?ie=ee.buffer.first():ie=ee.buffer.concat(ee.length),ee.buffer.clear()):ie=ee.buffer.consume(j,ee.decoder),ie}function X(j){var ee=j._readableState;i("endReadable",ee.endEmitted),ee.endEmitted||(ee.ended=!0,process.nextTick(re,ee,j))}function re(j,ee){if(i("endReadableNT",j.endEmitted,j.length),!j.endEmitted&&j.length===0&&(j.endEmitted=!0,ee.readable=!1,ee.emit("end"),j.autoDestroy)){var ie=ee._writableState;(!ie||ie.autoDestroy&&ie.finished)&&ee.destroy()}}typeof Symbol=="function"&&(y.from=function(j,ee){return E===void 0&&(E=mL()),E(y,j,ee)});function ae(j,ee){for(var ie=0,ce=j.length;ie0;return o(_,M,E,function(m){T||(T=m),m&&l.forEach(n),!M&&(l.forEach(n),d(T))})});return h.reduce(i)}H.exports=s}}),_L=ke({"node_modules/stream-browserify/index.js"(Z,H){H.exports=A;var g=Lm().EventEmitter,x=$v();x(A,g),A.Readable=I3(),A.Writable=L3(),A.Duplex=jm(),A.Transform=R3(),A.PassThrough=gL(),A.finished=sx(),A.pipeline=yL(),A.Stream=A;function A(){g.call(this)}A.prototype.pipe=function(S,e){var t=this;function r(h){S.writable&&S.write(h)===!1&&t.pause&&t.pause()}t.on("data",r);function o(){t.readable&&t.resume&&t.resume()}S.on("drain",o),!S._isStdio&&(!e||e.end!==!1)&&(t.on("end",i),t.on("close",a));var n=!1;function i(){n||(n=!0,S.end())}function a(){n||(n=!0,typeof S.destroy=="function"&&S.destroy())}function s(h){if(c(),g.listenerCount(this,"error")===0)throw h}t.on("error",s),S.on("error",s);function c(){t.removeListener("data",r),S.removeListener("drain",o),t.removeListener("end",i),t.removeListener("close",a),t.removeListener("error",s),S.removeListener("error",s),t.removeListener("end",c),t.removeListener("close",c),S.removeListener("close",c)}return t.on("end",c),t.on("close",c),S.on("close",c),S.emit("pipe",t),S}}}),oy=ke({"node_modules/util/util.js"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case"%s":return String(le[Q++]);case"%d":return Number(le[Q++]);case"%j":try{return JSON.stringify(le[Q++])}catch{return"[Circular]"}default:return $}}),G=le[Q];Q"u")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S="false",S=S.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A=new RegExp("^"+S+"$","i");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error("%s %d: %s",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function t(U,W){var Q=e.styles[W];return Q?"\x1B["+e.colors[Q][0]+"m"+U+"\x1B["+e.colors[Q][1]+"m":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf("message")>=0||fe.indexOf("description")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?": "+W.name:"";return U.stylize("[Function"+$+"]","special")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),"regexp");if(v(W))return U.stylize(Date.prototype.toString.call(W),"date");if(u(W))return a(W)}var J="",X=!1,re=["{","}"];if(p(W)&&(X=!0,re=["[","]"]),y(W)){var ae=W.name?": "+W.name:"";J=" [Function"+ae+"]"}if(m(W)&&(J=" "+RegExp.prototype.toString.call(W)),v(W)&&(J=" "+Date.prototype.toUTCString.call(W)),u(W)&&(J=" "+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),"regexp"):U.stylize("[Object]","special");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize("undefined","undefined");if(w(W)){var Q="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(Q,"string")}if(_(W))return U.stylize(""+W,"number");if(d(W))return U.stylize(""+W,"boolean");if(T(W))return U.stylize("null","null")}function a(U){return"["+Error.prototype.toString.call(U)+"]"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push("");return se.forEach(function(J){J.match(/^\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize("[Getter/Setter]","special"):$=U.stylize("[Getter]","special"):J.set&&($=U.stylize("[Setter]","special")),B(le,se)||(G="["+se+"]"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(` +`)>-1&&(fe?$=$.split(` +`).map(function(X){return" "+X}).join(` +`).slice(2):$=` +`+$.split(` +`).map(function(X){return" "+X}).join(` +`))):$=U.stylize("[Circular]","special")),E(G)){if(fe&&se.match(/^\d+$/))return $;G=JSON.stringify(""+se),G.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=U.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=U.stylize(G,"string"))}return G+": "+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(` +`)>=0&&le++,fe+G.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?Q[0]+(W===""?"":W+` + `)+" "+U.join(`, + `)+" "+Q[1]:Q[0]+W+" "+U.join(", ")+" "+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U=="boolean"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U=="number"}Z.isNumber=_;function w(U){return typeof U=="string"}Z.isString=w;function M(U){return typeof U=="symbol"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)==="[object RegExp]"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U=="object"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)==="[object Date]"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)==="[object Error]"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U=="function"}Z.isFunction=y;function f(U){return U===null||typeof U=="boolean"||typeof U=="number"||typeof U=="string"||typeof U=="symbol"||typeof U>"u"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?"0"+U.toString(10):U.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(":");return[U.getDate(),z[U.getMonth()],W].join(" ")}Z.log=function(){console.log("%s - %s",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Z.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(E){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},c(E)}var h={},p,d;function T(E,m,b){b||(b=Error);function v(y,f,P){return typeof m=="string"?m:m(y,f,P)}var u=function(y){r(P,y);var f=n(P);function P(L,z,F){var B;return t(this,P),B=f.call(this,v(L,z,F)),B.code=E,B}return A(P)}(b);h[E]=u}function l(E,m){if(Array.isArray(E)){var b=E.length;return E=E.map(function(v){return String(v)}),b>2?"one of ".concat(m," ").concat(E.slice(0,b-1).join(", "),", or ")+E[b-1]:b===2?"one of ".concat(m," ").concat(E[0]," or ").concat(E[1]):"of ".concat(m," ").concat(E[0])}else return"of ".concat(m," ").concat(String(E))}function _(E,m,b){return E.substr(!b||b<0?0:+b,m.length)===m}function w(E,m,b){return(b===void 0||b>E.length)&&(b=E.length),E.substring(b-m.length,b)===m}function M(E,m,b){return typeof b!="number"&&(b=0),b+m.length>E.length?!1:E.indexOf(m,b)!==-1}T("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),T("ERR_INVALID_ARG_TYPE",function(E,m,b){p===void 0&&(p=w0()),p(typeof E=="string","'name' must be a string");var v;typeof m=="string"&&_(m,"not ")?(v="must not be",m=m.replace(/^not /,"")):v="must be";var u;if(w(E," argument"))u="The ".concat(E," ").concat(v," ").concat(l(m,"type"));else{var y=M(E,".")?"property":"argument";u='The "'.concat(E,'" ').concat(y," ").concat(v," ").concat(l(m,"type"))}return u+=". Received type ".concat(g(b)),u},TypeError),T("ERR_INVALID_ARG_VALUE",function(E,m){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";d===void 0&&(d=oy());var v=d.inspect(m);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(E,"' ").concat(b,". Received ").concat(v)},TypeError,RangeError),T("ERR_INVALID_RETURN_VALUE",function(E,m,b){var v;return b&&b.constructor&&b.constructor.name?v="instance of ".concat(b.constructor.name):v="type ".concat(g(b)),"Expected ".concat(E,' to be returned from the "').concat(m,'"')+" function but got ".concat(v,".")},TypeError),T("ERR_MISSING_ARGS",function(){for(var E=arguments.length,m=new Array(E),b=0;b0,"At least one arg needs to be specified");var v="The ",u=m.length;switch(m=m.map(function(y){return'"'.concat(y,'"')}),u){case 1:v+="".concat(m[0]," argument");break;case 2:v+="".concat(m[0]," and ").concat(m[1]," arguments");break;default:v+=m.slice(0,u-1).join(", "),v+=", and ".concat(m[u-1]," arguments");break}return"".concat(v," must be specified")},TypeError),H.exports.codes=h}}),xL=ke({"node_modules/assert/build/internal/assert/assertion_error.js"(Z,H){"use strict";function g(N,U){var W=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);U&&(Q=Q.filter(function(le){return Object.getOwnPropertyDescriptor(N,le).enumerable})),W.push.apply(W,Q)}return W}function x(N){for(var U=1;U"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d(N){return Function.toString.call(N).indexOf("[native code]")!==-1}function T(N,U){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Q,le){return Q.__proto__=le,Q},T(N,U)}function l(N){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},l(N)}function _(N){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},_(N)}var w=oy(),M=w.inspect,E=D3(),m=E.codes.ERR_INVALID_ARG_TYPE;function b(N,U,W){return(W===void 0||W>N.length)&&(W=N.length),N.substring(W-U.length,W)===U}function v(N,U){if(U=Math.floor(U),N.length==0||U==0)return"";var W=N.length*U;for(U=Math.floor(Math.log(U)/Math.log(2));U;)N+=N,U--;return N+=N.substring(0,W-N.length),N}var u="",y="",f="",P="",L={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},z=10;function F(N){var U=Object.keys(N),W=Object.create(Object.getPrototypeOf(N));return U.forEach(function(Q){W[Q]=N[Q]}),Object.defineProperty(W,"message",{value:N.message}),W}function B(N){return M(N,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(N,U,W){var Q="",le="",se=0,fe="",G=!1,$=B(N),J=$.split(` +`),X=B(U).split(` +`),re=0,ae="";if(W==="strictEqual"&&_(N)==="object"&&_(U)==="object"&&N!==null&&U!==null&&(W="strictEqualObject"),J.length===1&&X.length===1&&J[0]!==X[0]){var j=J[0].length+X[0].length;if(j<=z){if((_(N)!=="object"||N===null)&&(_(U)!=="object"||U===null)&&(N!==0||U!==0))return"".concat(L[W],` + +`)+"".concat(J[0]," !== ").concat(X[0],` +`)}else if(W!=="strictEqualObject"){var ee=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(j2&&(ae=` + `.concat(v(" ",re),"^"),re=0)}}}for(var ie=J[J.length-1],ce=X[X.length-1];ie===ce&&(re++<2?fe=` + `.concat(ie).concat(fe):Q=ie,J.pop(),X.pop(),!(J.length===0||X.length===0));)ie=J[J.length-1],ce=X[X.length-1];var xe=Math.max(J.length,X.length);if(xe===0){var Te=$.split(` +`);if(Te.length>30)for(Te[26]="".concat(u,"...").concat(P);Te.length>27;)Te.pop();return"".concat(L.notIdentical,` + +`).concat(Te.join(` +`),` +`)}re>3&&(fe=` +`.concat(u,"...").concat(P).concat(fe),G=!0),Q!==""&&(fe=` + `.concat(Q).concat(fe),Q="");var Ue=0,Ie=L[W]+` +`.concat(y,"+ actual").concat(P," ").concat(f,"- expected").concat(P),Ye=" ".concat(u,"...").concat(P," Lines skipped");for(re=0;re1&&re>2&&(it>4?(le+=` +`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` + `.concat(X[re-2]),Ue++),le+=` + `.concat(X[re-1]),Ue++),se=re,Q+=` +`.concat(f,"-").concat(P," ").concat(X[re]),Ue++;else if(X.length1&&re>2&&(it>4?(le+=` +`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` + `.concat(J[re-2]),Ue++),le+=` + `.concat(J[re-1]),Ue++),se=re,le+=` +`.concat(y,"+").concat(P," ").concat(J[re]),Ue++;else{var at=X[re],tt=J[re],ut=tt!==at&&(!b(tt,",")||tt.slice(0,-1)!==at);ut&&b(at,",")&&at.slice(0,-1)===tt&&(ut=!1,tt+=","),ut?(it>1&&re>2&&(it>4?(le+=` +`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` + `.concat(J[re-2]),Ue++),le+=` + `.concat(J[re-1]),Ue++),se=re,le+=` +`.concat(y,"+").concat(P," ").concat(tt),Q+=` +`.concat(f,"-").concat(P," ").concat(at),Ue+=2):(le+=Q,Q="",(it===1||re===0)&&(le+=` + `.concat(tt),Ue++))}if(Ue>20&&re30)for(j[26]="".concat(u,"...").concat(P);j.length>27;)j.pop();j.length===1?se=W.call(this,"".concat(ae," ").concat(j[0])):se=W.call(this,"".concat(ae,` + +`).concat(j.join(` +`),` +`))}else{var ee=B(J),ie="",ce=L[G];G==="notDeepEqual"||G==="notEqual"?(ee="".concat(L[G],` + +`).concat(ee),ee.length>1024&&(ee="".concat(ee.slice(0,1021),"..."))):(ie="".concat(B(X)),ee.length>512&&(ee="".concat(ee.slice(0,509),"...")),ie.length>512&&(ie="".concat(ie.slice(0,509),"...")),G==="deepEqual"||G==="equal"?ee="".concat(ce,` + +`).concat(ee,` + +should equal + +`):ie=" ".concat(G," ").concat(ie)),se=W.call(this,"".concat(ee).concat(ie))}return Error.stackTraceLimit=re,se.generatedMessage=!fe,Object.defineProperty(s(se),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),se.code="ERR_ASSERTION",se.actual=J,se.expected=X,se.operator=G,Error.captureStackTrace&&Error.captureStackTrace(s(se),$),se.stack,se.name="AssertionError",a(se)}return t(Q,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:U,value:function(se,fe){return M(this,x(x({},fe),{},{customInspect:!1,depth:0}))}}]),Q}(c(Error),M.custom);H.exports=I}}),z3=ke({"node_modules/object-keys/isArguments.js"(Z,H){"use strict";var g=Object.prototype.toString;H.exports=function(A){var S=g.call(A),e=S==="[object Arguments]";return e||(e=S!=="[object Array]"&&A!==null&&typeof A=="object"&&typeof A.length=="number"&&A.length>=0&&g.call(A.callee)==="[object Function]"),e}}}),bL=ke({"node_modules/object-keys/implementation.js"(Z,H){"use strict";var g;Object.keys||(x=Object.prototype.hasOwnProperty,A=Object.prototype.toString,S=z3(),e=Object.prototype.propertyIsEnumerable,t=!e.call({toString:null},"toString"),r=e.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=function(c){var h=c.constructor;return h&&h.prototype===c},i={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if(typeof window>"u")return!1;for(var c in window)try{if(!i["$"+c]&&x.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{n(window[c])}catch{return!0}}catch{return!0}return!1}(),s=function(c){if(typeof window>"u"||!a)return n(c);try{return n(c)}catch{return!1}},g=function(h){var p=h!==null&&typeof h=="object",d=A.call(h)==="[object Function]",T=S(h),l=p&&A.call(h)==="[object String]",_=[];if(!p&&!d&&!T)throw new TypeError("Object.keys called on a non-object");var w=r&&d;if(l&&h.length>0&&!x.call(h,0))for(var M=0;M0)for(var E=0;E2?arguments[2]:{},h=g(s);x&&(h=S.call(h,Object.getOwnPropertySymbols(s)));for(var p=0;pMe.length)&&(pe=Me.length);for(var ue=0,Oe=new Array(pe);ue10)return!0;for(var pe=0;pe57)return!0}return Me.length===10&&Me>=Math.pow(2,32)}function I(Me){return Object.keys(Me).filter(O).concat(s(Me).filter(Object.prototype.propertyIsEnumerable.bind(Me)))}function N(Me,pe){if(Me===pe)return 0;for(var ue=Me.length,Oe=pe.length,rt=0,ot=Math.min(ue,Oe);rt1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae0)return t(i);if(s==="number"&&isNaN(i)===!1)return a.long?o(i):r(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function t(i){if(i=String(i),!(i.length>100)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(i);if(a){var s=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return s*e;case"days":case"day":case"d":return s*S;case"hours":case"hour":case"hrs":case"hr":case"h":return s*A;case"minutes":case"minute":case"mins":case"min":case"m":return s*x;case"seconds":case"second":case"secs":case"sec":case"s":return s*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function r(i){return i>=S?Math.round(i/S)+"d":i>=A?Math.round(i/A)+"h":i>=x?Math.round(i/x)+"m":i>=g?Math.round(i/g)+"s":i+"ms"}function o(i){return n(i,S,"day")||n(i,A,"hour")||n(i,x,"minute")||n(i,g,"second")||i+" ms"}function n(i,a,s){if(!(i=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}Z.formatters.j=function(r){try{return JSON.stringify(r)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}};function x(r){var o=this.useColors;if(r[0]=(o?"%c":"")+this.namespace+(o?" %c":" ")+r[0]+(o?"%c ":" ")+"+"+Z.humanize(this.diff),!!o){var n="color: "+this.color;r.splice(1,0,n,"color: inherit");var i=0,a=0;r[0].replace(/%[a-zA-Z%]/g,function(s){s!=="%%"&&(i++,s==="%c"&&(a=i))}),r.splice(a,0,n)}}function A(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function S(r){try{r==null?Z.storage.removeItem("debug"):Z.storage.debug=r}catch{}}function e(){var r;try{r=Z.storage.debug}catch{}return!r&&typeof process<"u"&&"env"in process&&(r=process.env.DEBUG),r}Z.enable(e());function t(){try{return window.localStorage}catch{}}}}),IL=ke({"node_modules/stream-parser/index.js"(Z,H){var g=w0(),x=PL()("stream-parser");H.exports=r;var A=-1,S=0,e=1,t=2;function r(l){var _=l&&typeof l._transform=="function",w=l&&typeof l._write=="function";if(!_&&!w)throw new Error("must pass a Writable or Transform stream in");x("extending Parser into stream"),l._bytes=n,l._skipBytes=i,_&&(l._passthrough=a),_?l._transform=c:l._write=s}function o(l){x("initializing parser stream"),l._parserBytesLeft=0,l._parserBuffers=[],l._parserBuffered=0,l._parserState=A,l._parserCallback=null,typeof l.push=="function"&&(l._parserOutput=l.push.bind(l)),l._parserInit=!0}function n(l,_){g(!this._parserCallback,'there is already a "callback" set!'),g(isFinite(l)&&l>0,'can only buffer a finite number of bytes > 0, got "'+l+'"'),this._parserInit||o(this),x("buffering %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=S}function i(l,_){g(!this._parserCallback,'there is already a "callback" set!'),g(l>0,'can only skip > 0 bytes, got "'+l+'"'),this._parserInit||o(this),x("skipping %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=e}function a(l,_){g(!this._parserCallback,'There is already a "callback" set!'),g(l>0,'can only pass through > 0 bytes, got "'+l+'"'),this._parserInit||o(this),x("passing through %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=t}function s(l,_,w){this._parserInit||o(this),x("write(%o bytes)",l.length),typeof _=="function"&&(w=_),d(this,l,null,w)}function c(l,_,w){this._parserInit||o(this),x("transform(%o bytes)",l.length),typeof _!="function"&&(_=this._parserOutput),d(this,l,_,w)}function h(l,_,w,M){return l._parserBytesLeft<=0?M(new Error("got data but not currently parsing anything")):_.length<=l._parserBytesLeft?function(){return p(l,_,w,M)}:function(){var E=_.slice(0,l._parserBytesLeft);return p(l,E,w,function(m){if(m)return M(m);if(_.length>E.length)return function(){return h(l,_.slice(E.length),w,M)}})}}function p(l,_,w,M){if(l._parserBytesLeft-=_.length,x("%o bytes left for stream piece",l._parserBytesLeft),l._parserState===S?(l._parserBuffers.push(_),l._parserBuffered+=_.length):l._parserState===t&&w(_),l._parserBytesLeft===0){var E=l._parserCallback;if(E&&l._parserState===S&&l._parserBuffers.length>1&&(_=Buffer.concat(l._parserBuffers,l._parserBuffered)),l._parserState!==S&&(_=null),l._parserCallback=null,l._parserBuffered=0,l._parserState=A,l._parserBuffers.splice(0),E){var m=[];_&&m.push(_),w&&m.push(w);var b=E.length>m.length;b&&m.push(T(M));var v=E.apply(l,m);if(!b||M===v)return M}}else return M}var d=T(h);function T(l){return function(){for(var _=l.apply(this,arguments);typeof _=="function";)_=_();return _}}}}),Lu=ke({"node_modules/probe-image-size/lib/common.js"(Z){"use strict";var H=_L().Transform,g=IL();function x(){H.call(this,{readableObjectMode:!0})}x.prototype=Object.create(H.prototype),x.prototype.constructor=x,g(x.prototype),Z.ParserStream=x,Z.sliceEq=function(S,e,t){for(var r=e,o=0;o>4&15,h=a[4]&15,p=a[5]>>4&15,d=g(a,6),T=8,l=0;ld.width||p.width===d.width&&p.height>d.height?p:d}),c=a.reduce(function(p,d){return p.height>d.height||p.height===d.height&&p.width>d.width?p:d}),h;return s.width>c.height||s.width===c.height&&s.height>c.width?h=s:h=c,h}H.exports.readSizeFromMeta=function(a){var s={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(n(a,s),!!s.sizes.length){var c=i(s.sizes),h=1;s.transforms.forEach(function(d){var T={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},l={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(d.type==="imir"&&(d.value===0?h=l[h]:(h=l[h],h=T[h],h=T[h])),d.type==="irot")for(var _=0;_0&&!this.aborted;){var t=this.ifds_to_read.shift();t.offset&&this.scan_ifd(t.id,t.offset,S)}},A.prototype.read_uint16=function(S){var e=this.input;if(S+2>e.length)throw g("unexpected EOF","EBADDATA");return this.big_endian?e[S]*256+e[S+1]:e[S]+e[S+1]*256},A.prototype.read_uint32=function(S){var e=this.input;if(S+4>e.length)throw g("unexpected EOF","EBADDATA");return this.big_endian?e[S]*16777216+e[S+1]*65536+e[S+2]*256+e[S+3]:e[S]+e[S+1]*256+e[S+2]*65536+e[S+3]*16777216},A.prototype.is_subifd_link=function(S,e){return S===0&&e===34665||S===0&&e===34853||S===34665&&e===40965},A.prototype.exif_format_length=function(S){switch(S){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},A.prototype.exif_format_read=function(S,e){var t;switch(S){case 1:case 2:return t=this.input[e],t;case 6:return t=this.input[e],t|(t&128)*33554430;case 3:return t=this.read_uint16(e),t;case 8:return t=this.read_uint16(e),t|(t&32768)*131070;case 4:return t=this.read_uint32(e),t;case 9:return t=this.read_uint32(e),t|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},A.prototype.scan_ifd=function(S,e,t){var r=this.read_uint16(e);e+=2;for(var o=0;othis.input.length)throw g("unexpected EOF","EBADDATA");for(var d=[],T=h,l=0;l0&&(this.ifds_to_read.push({id:n,offset:d[0]}),p=!0);var w={is_big_endian:this.big_endian,ifd:S,tag:n,format:i,count:a,entry_offset:e+this.start,data_length:c,data_offset:h+this.start,value:d,is_subifd_link:p};if(t(w)===!1){this.aborted=!0;return}e+=12}S===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(e)})},H.exports.ExifParser=A,H.exports.get_orientation=function(S){var e=0;try{return new A(S,0,S.length).each(function(t){if(t.ifd===0&&t.tag===274&&Array.isArray(t.value))return e=t.value[0],!1}),e}catch{return-1}}}}),DL=ke({"node_modules/probe-image-size/lib/parse_sync/avif.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=RL(),e=ux(),t=g("ftyp");H.exports=function(r){if(x(r,4,t)){var o=S.unbox(r,0);if(o){var n=S.getMimeType(o.data);if(n){for(var i,a=o.end;;){var s=S.unbox(r,a);if(!s)break;if(a=s.end,s.boxtype==="mdat")return;if(s.boxtype==="meta"){i=s.data;break}}if(i){var c=S.readSizeFromMeta(i);if(c){var h={width:c.width,height:c.height,type:n.type,mime:n.mime,wUnits:"px",hUnits:"px"};if(c.variants.length>1&&(h.variants=c.variants),c.orientation&&(h.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=r.length){var p=A(r,c.exif_location.offset),d=r.slice(c.exif_location.offset+p+4,c.exif_location.offset+c.exif_location.length),T=e.get_orientation(d);T>0&&(h.orientation=T)}return h}}}}}}}}),zL=ke({"node_modules/probe-image-size/lib/parse_sync/bmp.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g("BM");H.exports=function(e){if(!(e.length<26)&&x(e,0,S))return{width:A(e,18),height:A(e,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}}}),FL=ke({"node_modules/probe-image-size/lib/parse_sync/gif.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g("GIF87a"),e=g("GIF89a");H.exports=function(t){if(!(t.length<10)&&!(!x(t,0,S)&&!x(t,0,e)))return{width:A(t,6),height:A(t,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}}}),OL=ke({"node_modules/probe-image-size/lib/parse_sync/ico.js"(Z,H){"use strict";var g=Lu().readUInt16LE,x=0,A=1,S=16;H.exports=function(e){var t=g(e,0),r=g(e,2),o=g(e,4);if(!(t!==x||r!==A||!o)){for(var n=[],i={width:0,height:0},a=0;ai.width||c>i.height)&&(i=h)}return{width:i.width,height:i.height,variants:n,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}}}),BL=ke({"node_modules/probe-image-size/lib/parse_sync/jpeg.js"(Z,H){"use strict";var g=Lu().readUInt16BE,x=Lu().str2arr,A=Lu().sliceEq,S=ux(),e=x("Exif\0\0");H.exports=function(t){if(!(t.length<2)&&!(t[0]!==255||t[1]!==216||t[2]!==255))for(var r=2;;){for(;;){if(t.length-r<2)return;if(t[r++]===255)break}for(var o=t[r++],n;o===255;)o=t[r++];if(208<=o&&o<=217||o===1)n=0;else if(192<=o&&o<=254){if(t.length-r<2)return;n=g(t,r)-2,r+=2}else return;if(o===217||o===218)return;var i;if(o===225&&n>=10&&A(t,r,e)&&(i=S.get_orientation(t.slice(r+6,r+n))),n>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(t.length-r0&&(a.orientation=i),a}r+=n}}}}),NL=ke({"node_modules/probe-image-size/lib/parse_sync/png.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(`\x89PNG\r + +`),e=g("IHDR");H.exports=function(t){if(!(t.length<24)&&x(t,0,S)&&x(t,12,e))return{width:A(t,16),height:A(t,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}}}),UL=ke({"node_modules/probe-image-size/lib/parse_sync/psd.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g("8BPS\0");H.exports=function(e){if(!(e.length<22)&&x(e,0,S))return{width:A(e,18),height:A(e,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}}}),jL=ke({"node_modules/probe-image-size/lib/parse_sync/svg.js"(Z,H){"use strict";function g(s){return s===32||s===9||s===13||s===10}function x(s){return typeof s=="number"&&isFinite(s)&&s>0}function A(s){var c=0,h=s.length;for(s[0]===239&&s[1]===187&&s[2]===191&&(c=3);c]*>/,e=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,t=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,r=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,o=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,n=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function i(s){var c=s.match(t),h=s.match(r),p=s.match(o);return{width:c&&(c[1]||c[2]),height:h&&(h[1]||h[2]),viewbox:p&&(p[1]||p[2])}}function a(s){return n.test(s)?s.match(n)[0]:"px"}H.exports=function(s){if(A(s)){for(var c="",h=0;h>14&16383)+1,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function i(a,s){return{width:(a[s+6]<<16|a[s+5]<<8|a[s+4])+1,height:(a[s+9]<a.length)){for(;s+8=10?c=c||o(a,s+8):d==="VP8L"&&T>=9?c=c||n(a,s+8):d==="VP8X"&&T>=10?c=c||i(a,s+8):d==="EXIF"&&(h=e.get_orientation(a.slice(s+8,s+8+T)),s=1/0),s+=8+T}if(c)return h>0&&(c.orientation=h),c}}}}}),HL=ke({"node_modules/probe-image-size/lib/parsers_sync.js"(Z,H){"use strict";H.exports={avif:DL(),bmp:zL(),gif:FL(),ico:OL(),jpeg:BL(),png:NL(),psd:UL(),svg:jL(),tiff:VL(),webp:qL()}}}),GL=ke({"node_modules/probe-image-size/sync.js"(Z,H){"use strict";var g=HL();function x(A){for(var S=Object.keys(g),e=0;e0;)P=c.c2p(E+B*u),B--;for(B=0;z===void 0&&B0;)F=h.c2p(m+B*y),B--;if(PG[0];if($||J){var X=f+I/2,re=z+N/2;se+="transform:"+A(X+"px",re+"px")+"scale("+($?-1:1)+","+(J?-1:1)+")"+A(-X+"px",-re+"px")+";"}}le.attr("style",se);var ae=new Promise(function(j){if(_._hasZ)j();else if(_._hasSource)if(_._canvas&&_._canvas.el.width===b&&_._canvas.el.height===v&&_._canvas.source===_.source)j();else{var ee=document.createElement("canvas");ee.width=b,ee.height=v;var ie=ee.getContext("2d",{willReadFrequently:!0});_._image=_._image||new Image;var ce=_._image;ce.onload=function(){ie.drawImage(ce,0,0),_._canvas={el:ee,source:_.source},j()},ce.setAttribute("src",_.source)}}).then(function(){var j,ee;if(_._hasZ)ee=Q(function(xe,Te){var Ue=M[Te][xe];return x.isTypedArray(Ue)&&(Ue=Array.from(Ue)),Ue}),j=ee.toDataURL("image/png");else if(_._hasSource)if(w)j=_.source;else{var ie=_._canvas.el.getContext("2d",{willReadFrequently:!0}),ce=ie.getImageData(0,0,b,v).data;ee=Q(function(xe,Te){var Ue=4*(Te*b+xe);return[ce[Ue],ce[Ue+1],ce[Ue+2],ce[Ue+3]]}),j=ee.toDataURL("image/png")}le.attr({"xlink:href":j,height:N,width:I,x:f,y:z})});n._promises.push(ae)})}}}),YL=ke({"src/traces/image/style.js"(Z,H){"use strict";var g=_i();H.exports=function(A){g.select(A).selectAll(".im image").style("opacity",function(S){return S[0].trace.opacity})}}}),KL=ke({"src/traces/image/hover.js"(Z,H){"use strict";var g=Ec(),x=un(),A=x.isArrayOrTypedArray,S=ny();H.exports=function(t,r,o){var n=t.cd[0],i=n.trace,a=t.xa,s=t.ya;if(!(g.inbox(r-n.x0,r-(n.x0+n.w*i.dx),0)>0||g.inbox(o-n.y0,o-(n.y0+n.h*i.dy),0)>0)){var c=Math.floor((r-n.x0)/i.dx),h=Math.floor(Math.abs(o-n.y0)/i.dy),p;if(i._hasZ?p=n.z[h][c]:i._hasSource&&(p=i._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),!!p){var d=n.hi||i.hoverinfo,T;if(d){var l=d.split("+");l.indexOf("all")!==-1&&(l=["color"]),l.indexOf("color")!==-1&&(T=!0)}var _=S.colormodel[i.colormodel],w=_.colormodel||i.colormodel,M=w.length,E=i._scaler(p),m=_.suffix,b=[];(i.hovertemplate||T)&&(b.push("["+[E[0]+m[0],E[1]+m[1],E[2]+m[2]].join(", ")),M===4&&b.push(", "+E[3]+m[3]),b.push("]"),b=b.join(""),t.extraText=w.toUpperCase()+": "+b);var v;A(i.hovertext)&&A(i.hovertext[h])?v=i.hovertext[h][c]:A(i.text)&&A(i.text[h])&&(v=i.text[h][c]);var u=s.c2p(n.y0+(h+.5)*i.dy),y=n.x0+(c+.5)*i.dx,f=n.y0+(h+.5)*i.dy,P="["+p.slice(0,i.colormodel.length).join(", ")+"]";return[x.extendFlat(t,{index:[h,c],x0:a.c2p(n.x0+c*i.dx),x1:a.c2p(n.x0+(c+1)*i.dx),y0:u,y1:u,color:E,xVal:y,xLabelVal:y,yVal:f,yLabelVal:f,zLabelVal:P,text:v,hovertemplateLabels:{zLabel:P,colorLabel:b,"color[0]Label":E[0]+m[0],"color[1]Label":E[1]+m[1],"color[2]Label":E[2]+m[2],"color[3]Label":E[3]+m[3]}})]}}}}}),JL=ke({"src/traces/image/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return"xVal"in A&&(x.x=A.xVal),"yVal"in A&&(x.y=A.yVal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x.color=A.color,x.colormodel=A.trace.colormodel,x.z||(x.z=A.color),x}}}),$L=ke({"src/traces/image/index.js"(Z,H){"use strict";H.exports={attributes:_3(),supplyDefaults:Xk(),calc:XL(),plot:ZL(),style:YL(),hoverPoints:KL(),eventData:JL(),moduleType:"trace",name:"image",basePlotModule:xf(),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}}}),QL=ke({"lib/image.js"(Z,H){"use strict";H.exports=$L()}}),Vm=ke({"src/traces/pie/attributes.js"(Z,H){"use strict";var g=Ol(),x=Yu().attributes,A=Il(),S=If(),e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=To().extendFlat,o=xh().pattern,n=A({editType:"plot",arrayOk:!0,colorEditType:"plot"});H.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:S.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},pattern:o,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:r({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:e({},{keys:["label","color","value","percent","text"]}),texttemplate:t({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:r({},n,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:r({},n,{}),outsidetextfont:r({},n,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:r({},n,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:x({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"}}}}),qm=ke({"src/traces/pie/defaults.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Vm(),S=Yu().defaults,e=Od().handleText,t=un().coercePattern;function r(i,a){var s=x.isArrayOrTypedArray(i),c=x.isArrayOrTypedArray(a),h=Math.min(s?i.length:1/0,c?a.length:1/0);if(isFinite(h)||(h=0),h&&c){for(var p,d=0;d0){p=!0;break}}p||(h=0)}return{hasLabels:s,hasValues:c,len:h}}function o(i,a,s,c,h){var p=c("marker.line.width");p&&c("marker.line.color",h?void 0:s.paper_bgcolor);var d=c("marker.colors");t(c,"marker.pattern",d),i.marker&&!a.marker.pattern.fgcolor&&(a.marker.pattern.fgcolor=i.marker.colors),a.marker.pattern.bgcolor||(a.marker.pattern.bgcolor=s.paper_bgcolor)}function n(i,a,s,c){function h(f,P){return x.coerce(i,a,A,f,P)}var p=h("labels"),d=h("values"),T=r(p,d),l=T.len;if(a._hasLabels=T.hasLabels,a._hasValues=T.hasValues,!a._hasLabels&&a._hasValues&&(h("label0"),h("dlabel")),!l){a.visible=!1;return}a._length=l,o(i,a,c,h,!0),h("scalegroup");var _=h("text"),w=h("texttemplate"),M;if(w||(M=h("textinfo",x.isArrayOrTypedArray(_)?"text+percent":"percent")),h("hovertext"),h("hovertemplate"),w||M&&M!=="none"){var E=h("textposition");e(i,a,c,h,E,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var m=Array.isArray(E)||E==="auto",b=m||E==="outside";b&&h("automargin"),(E==="inside"||E==="auto"||Array.isArray(E))&&h("insidetextorientation")}else M==="none"&&h("textposition","none");S(a,c,h);var v=h("hole"),u=h("title.text");if(u){var y=h("title.position",v?"middle center":"top center");!v&&y==="middle center"&&(a.title.position="top center"),x.coerceFont(h,"title.font",c.font)}h("sort"),h("direction"),h("rotation"),h("pull")}H.exports={handleLabelsAndValues:r,handleMarkerDefaults:o,supplyDefaults:n}}}),cx=ke({"src/traces/pie/layout_attributes.js"(Z,H){"use strict";H.exports={hiddenlabels:{valType:"data_array",editType:"calc"},piecolorway:{valType:"colorlist",editType:"calc"},extendpiecolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),eP=ke({"src/traces/pie/layout_defaults.js"(Z,H){"use strict";var g=un(),x=cx();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("hiddenlabels"),t("piecolorway",e.colorway),t("extendpiecolors")}}}),sy=ke({"src/traces/pie/calc.js"(Z,H){"use strict";var g=Yn(),x=ru(),A=eo(),S={};function e(n,i){var a=[],s=n._fullLayout,c=s.hiddenlabels||[],h=i.labels,p=i.marker.colors||[],d=i.values,T=i._length,l=i._hasValues&&T,_,w;if(i.dlabel)for(h=new Array(T),_=0;_=0});var P=i.type==="funnelarea"?b:i.sort;return P&&a.sort(function(L,z){return z.v-L.v}),a[0]&&(a[0].vTotal=m),a}function t(n){return function(a,s){return!a||(a=x(a),!a.isValid())?!1:(a=A.addOpacity(a,a.getAlpha()),n[s]||(n[s]=a),a)}}function r(n,i){var a=(i||{}).type;a||(a="pie");var s=n._fullLayout,c=n.calcdata,h=s[a+"colorway"],p=s["_"+a+"colormap"];s["extend"+a+"colors"]&&(h=o(h,S));for(var d=0,T=0;T0&&(rt+=Et*ue.pxmid[0],ot+=Et*ue.pxmid[1])}ue.cxFinal=rt,ue.cyFinal=ot;function Bt(_t,Be,Ke,je){var Se=je*(Be[0]-_t[0]),He=je*(Be[1]-_t[1]);return"a"+je*ce.r+","+je*ce.r+" 0 "+ue.largeArc+(Ke?" 1 ":" 0 ")+Se+","+He}var qt=xe.hole;if(ue.v===ce.vTotal){var fr="M"+(rt+ue.px0[0])+","+(ot+ue.px0[1])+Bt(ue.px0,ue.pxmid,!0,1)+Bt(ue.pxmid,ue.px0,!0,1)+"Z";qt?Lt.attr("d","M"+(rt+qt*ue.px0[0])+","+(ot+qt*ue.px0[1])+Bt(ue.px0,ue.pxmid,!1,qt)+Bt(ue.pxmid,ue.px0,!1,qt)+"Z"+fr):Lt.attr("d",fr)}else{var ar=Bt(ue.px0,ue.px1,!0,1);if(qt){var Rr=1-qt;Lt.attr("d","M"+(rt+qt*ue.px1[0])+","+(ot+qt*ue.px1[1])+Bt(ue.px1,ue.px0,!1,qt)+"l"+Rr*ue.px0[0]+","+Rr*ue.px0[1]+ar+"Z")}else Lt.attr("d","M"+rt+","+ot+"l"+ue.px0[0]+","+ue.px0[1]+ar+"Z")}fe($,ue,ce);var gr=h.castOption(xe.textposition,ue.pts),br=et.selectAll("g.slicetext").data(ue.text&&gr!=="none"?[0]:[]);br.enter().append("g").classed("slicetext",!0),br.exit().remove(),br.each(function(){var _t=t.ensureSingle(g.select(this),"text","",function(Le){Le.attr("data-notex",1)}),Be=t.ensureUniformFontSize($,gr==="outside"?w(xe,ue,re.font):M(xe,ue,re.font));_t.text(ue.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(e.font,Be).call(n.convertToTspans,$);var Ke=e.bBox(_t.node()),je;if(gr==="outside")je=z(Ke,ue);else if(je=m(Ke,ue,ce),gr==="auto"&&je.scale<1){var Se=t.ensureUniformFontSize($,xe.outsidetextfont);_t.call(e.font,Se),Ke=e.bBox(_t.node()),je=z(Ke,ue)}var He=je.textPosAngle,Ee=He===void 0?ue.pxmid:se(ce.r,He);if(je.targetX=rt+Ee[0]*je.rCenter+(je.x||0),je.targetY=ot+Ee[1]*je.rCenter+(je.y||0),G(je,Ke),je.outside){var we=je.targetY;ue.yLabelMin=we-Ke.height/2,ue.yLabelMid=we,ue.yLabelMax=we+Ke.height/2,ue.labelExtraX=0,ue.labelExtraY=0,Ie=!0}je.fontSize=Be.size,a(xe.type,je,re),ee[Oe].transform=je,t.setTransormAndDisplay(_t,je)})});var Ye=g.select(this).selectAll("g.titletext").data(xe.title.text?[0]:[]);if(Ye.enter().append("g").classed("titletext",!0),Ye.exit().remove(),Ye.each(function(){var ue=t.ensureSingle(g.select(this),"text","",function(ot){ot.attr("data-notex",1)}),Oe=xe.title.text;xe._meta&&(Oe=t.templateString(Oe,xe._meta)),ue.text(Oe).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(e.font,xe.title.font).call(n.convertToTspans,$);var rt;xe.title.position==="middle center"?rt=F(ce):rt=B(ce,ae),ue.attr("transform",o(rt.x,rt.y)+r(Math.min(1,rt.scale))+o(rt.tx,rt.ty))}),Ie&&U(Ue,xe),l(Te,xe),Ie&&xe.automargin){var it=e.bBox(ie.node()),at=xe.domain,tt=ae.w*(at.x[1]-at.x[0]),ut=ae.h*(at.y[1]-at.y[0]),Me=(.5*tt-ce.r)/ae.w,pe=(.5*ut-ce.r)/ae.h;x.autoMargin($,"pie."+xe.uid+".automargin",{xl:at.x[0]-Me,xr:at.x[1]+Me,yb:at.y[0]-pe,yt:at.y[1]+pe,l:Math.max(ce.cx-ce.r-it.left,0),r:Math.max(it.right-(ce.cx+ce.r),0),b:Math.max(it.bottom-(ce.cy+ce.r),0),t:Math.max(ce.cy-ce.r-it.top,0),pad:5})}})});setTimeout(function(){j.selectAll("tspan").each(function(){var ee=g.select(this);ee.attr("dy")&&ee.attr("dy",ee.attr("dy"))})},0)}function l($,J){$.each(function(X){var re=g.select(this);if(!X.labelExtraX&&!X.labelExtraY){re.select("path.textline").remove();return}var ae=re.select("g.slicetext text");X.transform.targetX+=X.labelExtraX,X.transform.targetY+=X.labelExtraY,t.setTransormAndDisplay(ae,X.transform);var j=X.cxFinal+X.pxmid[0],ee=X.cyFinal+X.pxmid[1],ie="M"+j+","+ee,ce=(X.yLabelMax-X.yLabelMin)*(X.pxmid[0]<0?-1:1)/4;if(X.labelExtraX){var xe=X.labelExtraX*X.pxmid[1]/X.pxmid[0],Te=X.yLabelMid+X.labelExtraY-(X.cyFinal+X.pxmid[1]);Math.abs(xe)>Math.abs(Te)?ie+="l"+Te*X.pxmid[0]/X.pxmid[1]+","+Te+"H"+(j+X.labelExtraX+ce):ie+="l"+X.labelExtraX+","+xe+"v"+(Te-xe)+"h"+ce}else ie+="V"+(X.yLabelMid+X.labelExtraY)+"h"+ce;t.ensureSingle(re,"path","textline").call(S.stroke,J.outsidetextfont.color).attr({"stroke-width":Math.min(2,J.outsidetextfont.size/8),d:ie,fill:"none"})})}function _($,J,X){var re=X[0],ae=re.cx,j=re.cy,ee=re.trace,ie=ee.type==="funnelarea";"_hasHoverLabel"in ee||(ee._hasHoverLabel=!1),"_hasHoverEvent"in ee||(ee._hasHoverEvent=!1),$.on("mouseover",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];if(!(J._dragging||xe.hovermode===!1)){var Ue=Te.hoverinfo;if(Array.isArray(Ue)&&(Ue=A.castHoverinfo({hoverinfo:[h.castOption(Ue,ce.pts)],_module:ee._module},xe,0)),Ue==="all"&&(Ue="label+text+value+percent+name"),Te.hovertemplate||Ue!=="none"&&Ue!=="skip"&&Ue){var Ie=ce.rInscribed||0,Ye=ae+ce.pxmid[0]*(1-Ie),it=j+ce.pxmid[1]*(1-Ie),at=xe.separators,tt=[];if(Ue&&Ue.indexOf("label")!==-1&&tt.push(ce.label),ce.text=h.castOption(Te.hovertext||Te.text,ce.pts),Ue&&Ue.indexOf("text")!==-1){var ut=ce.text;t.isValidTextValue(ut)&&tt.push(ut)}ce.value=ce.v,ce.valueLabel=h.formatPieValue(ce.v,at),Ue&&Ue.indexOf("value")!==-1&&tt.push(ce.valueLabel),ce.percent=ce.v/re.vTotal,ce.percentLabel=h.formatPiePercent(ce.percent,at),Ue&&Ue.indexOf("percent")!==-1&&tt.push(ce.percentLabel);var Me=Te.hoverlabel,pe=Me.font,ue=[];A.loneHover({trace:ee,x0:Ye-Ie*re.r,x1:Ye+Ie*re.r,y:it,_x0:ie?ae+ce.TL[0]:Ye-Ie*re.r,_x1:ie?ae+ce.TR[0]:Ye+Ie*re.r,_y0:ie?j+ce.TL[1]:it-Ie*re.r,_y1:ie?j+ce.BL[1]:it+Ie*re.r,text:tt.join("
"),name:Te.hovertemplate||Ue.indexOf("name")!==-1?Te.name:void 0,idealAlign:ce.pxmid[0]<0?"left":"right",color:h.castOption(Me.bgcolor,ce.pts)||ce.color,borderColor:h.castOption(Me.bordercolor,ce.pts),fontFamily:h.castOption(pe.family,ce.pts),fontSize:h.castOption(pe.size,ce.pts),fontColor:h.castOption(pe.color,ce.pts),nameLength:h.castOption(Me.namelength,ce.pts),textAlign:h.castOption(Me.align,ce.pts),hovertemplate:h.castOption(Te.hovertemplate,ce.pts),hovertemplateLabels:ce,eventData:[p(ce,Te)]},{container:xe._hoverlayer.node(),outerContainer:xe._paper.node(),gd:J,inOut_bbox:ue}),ce.bbox=ue[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,J.emit("plotly_hover",{points:[p(ce,Te)],event:g.event})}}),$.on("mouseout",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index],Ue=g.select(this).datum();ee._hasHoverEvent&&(ce.originalEvent=g.event,J.emit("plotly_unhover",{points:[p(Ue,Te)],event:g.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(A.loneUnhover(xe._hoverlayer.node()),ee._hasHoverLabel=!1)}),$.on("click",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];J._dragging||xe.hovermode===!1||(J._hoverdata=[p(ce,Te)],A.click(J,g.event))})}function w($,J,X){var re=h.castOption($.outsidetextfont.color,J.pts)||h.castOption($.textfont.color,J.pts)||X.color,ae=h.castOption($.outsidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.outsidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.outsidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.outsidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.outsidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.outsidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.outsidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.outsidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re,family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function M($,J,X){var re=h.castOption($.insidetextfont.color,J.pts);!re&&$._input.textfont&&(re=h.castOption($._input.textfont.color,J.pts));var ae=h.castOption($.insidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.insidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.insidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.insidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.insidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.insidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.insidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.insidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re||S.contrast(J.color),family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function E($,J){for(var X,re,ae=0;ae<$.length;ae++)if(X=$[ae][0],re=X.trace,re.title.text){var j=re.title.text;re._meta&&(j=t.templateString(j,re._meta));var ee=e.tester.append("text").attr("data-notex",1).text(j).call(e.font,re.title.font).call(n.convertToTspans,J),ie=e.bBox(ee.node(),!0);X.titleBox={width:ie.width,height:ie.height},ee.remove()}}function m($,J,X){var re=X.r||J.rpx1,ae=J.rInscribed,j=J.startangle===J.stopangle;if(j)return{rCenter:1-ae,scale:0,rotate:0,textPosAngle:0};var ee=J.ring,ie=ee===1&&Math.abs(J.startangle-J.stopangle)===Math.PI*2,ce=J.halfangle,xe=J.midangle,Te=X.trace.insidetextorientation,Ue=Te==="horizontal",Ie=Te==="tangential",Ye=Te==="radial",it=Te==="auto",at=[],tt;if(!it){var ut=function(et,Lt){if(b(J,et)){var Et=Math.abs(et-J.startangle),Bt=Math.abs(et-J.stopangle),qt=Et=-4;Me-=2)ut(Math.PI*Me,"tan");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1),"tan")}if(Ue||Ye){for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1.5),"rad");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+.5),"rad")}}if(ie||it||Ue){var pe=Math.sqrt($.width*$.width+$.height*$.height);if(tt={scale:ae*re*2/pe,rCenter:1-ae,rotate:0},tt.textPosAngle=(J.startangle+J.stopangle)/2,tt.scale>=1)return tt;at.push(tt)}(it||Ye)&&(tt=v($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt)),(it||Ie)&&(tt=u($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt));for(var ue=0,Oe=0,rt=0;rt=1)break}return at[ue]}function b($,J){var X=$.startangle,re=$.stopangle;return X>J&&J>re||X0?1:-1)/2,y:j/(1+X*X/(re*re)),outside:!0}}function F($){var J=Math.sqrt($.titleBox.width*$.titleBox.width+$.titleBox.height*$.titleBox.height);return{x:$.cx,y:$.cy,scale:$.trace.hole*$.r*2/J,tx:0,ty:-$.titleBox.height/2+$.trace.title.font.size}}function B($,J){var X=1,re=1,ae,j=$.trace,ee={x:$.cx,y:$.cy},ie={tx:0,ty:0};ie.ty+=j.title.font.size,ae=N(j),j.title.position.indexOf("top")!==-1?(ee.y-=(1+ae)*$.r,ie.ty-=$.titleBox.height):j.title.position.indexOf("bottom")!==-1&&(ee.y+=(1+ae)*$.r);var ce=O($.r,$.trace.aspectratio),xe=J.w*(j.domain.x[1]-j.domain.x[0])/2;return j.title.position.indexOf("left")!==-1?(xe=xe+ce,ee.x-=(1+ae)*ce,ie.tx+=$.titleBox.width/2):j.title.position.indexOf("center")!==-1?xe*=2:j.title.position.indexOf("right")!==-1&&(xe=xe+ce,ee.x+=(1+ae)*ce,ie.tx-=$.titleBox.width/2),X=xe/$.titleBox.width,re=I($,J)/$.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(X,re),tx:ie.tx,ty:ie.ty}}function O($,J){return $/(J===void 0?1:J)}function I($,J){var X=$.trace,re=J.h*(X.domain.y[1]-X.domain.y[0]);return Math.min($.titleBox.height,re/2)}function N($){var J=$.pull;if(!J)return 0;var X;if(t.isArrayOrTypedArray(J))for(J=0,X=0;X<$.pull.length;X++)$.pull[X]>J&&(J=$.pull[X]);return J}function U($,J){var X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it;function at(pe,ue){return pe.pxmid[1]-ue.pxmid[1]}function tt(pe,ue){return ue.pxmid[1]-pe.pxmid[1]}function ut(pe,ue){ue||(ue={});var Oe=ue.labelExtraY+(re?ue.yLabelMax:ue.yLabelMin),rt=re?pe.yLabelMin:pe.yLabelMax,ot=re?pe.yLabelMax:pe.yLabelMin,et=pe.cyFinal+ee(pe.px0[1],pe.px1[1]),Lt=Oe-rt,Et,Bt,qt,fr,ar,Rr;if(Lt*ce>0&&(pe.labelExtraY=Lt),!!t.isArrayOrTypedArray(J.pull))for(Bt=0;Bt=(h.castOption(J.pull,qt.pts)||0))&&((pe.pxmid[1]-qt.pxmid[1])*ce>0?(fr=qt.cyFinal+ee(qt.px0[1],qt.px1[1]),Lt=fr-rt-pe.labelExtraY,Lt*ce>0&&(pe.labelExtraY+=Lt)):(ot+pe.labelExtraY-et)*ce>0&&(Et=3*ie*Math.abs(Bt-Ue.indexOf(pe)),ar=qt.cxFinal+j(qt.px0[0],qt.px1[0]),Rr=ar+Et-(pe.cxFinal+pe.pxmid[0])-pe.labelExtraX,Rr*ie>0&&(pe.labelExtraX+=Rr)))}for(re=0;re<2;re++)for(ae=re?at:tt,ee=re?Math.max:Math.min,ce=re?1:-1,X=0;X<2;X++){for(j=X?Math.max:Math.min,ie=X?1:-1,xe=$[re][X],xe.sort(ae),Te=$[1-re][X],Ue=Te.concat(xe),Ye=[],Ie=0;Ie1?(xe=X.r,Te=xe/ae.aspectratio):(Te=X.r,xe=Te*ae.aspectratio),xe*=(1+ae.baseratio)/2,ce=xe*Te}ee=Math.min(ee,ce/X.vTotal)}for(re=0;re<$.length;re++)if(X=$[re][0],ae=X.trace,ae.scalegroup===ie){var Ue=ee*X.vTotal;ae.type==="funnelarea"&&(Ue/=(1+ae.baseratio)/2,Ue/=ae.aspectratio),X.r=Math.sqrt(Ue)}}}function le($){var J=$[0],X=J.r,re=J.trace,ae=h.getRotationAngle(re.rotation),j=2*Math.PI/J.vTotal,ee="px0",ie="px1",ce,xe,Te;if(re.direction==="counterclockwise"){for(ce=0;ce<$.length&&$[ce].hidden;ce++);if(ce===$.length)return;ae+=j*$[ce].v,j*=-1,ee="px1",ie="px0"}for(Te=se(X,ae),ce=0;ce<$.length;ce++)xe=$[ce],!xe.hidden&&(xe[ee]=Te,xe.startangle=ae,ae+=j*xe.v/2,xe.pxmid=se(X,ae),xe.midangle=ae,ae+=j*xe.v/2,Te=se(X,ae),xe.stopangle=ae,xe[ie]=Te,xe.largeArc=xe.v>J.vTotal/2?1:0,xe.halfangle=Math.PI*Math.min(xe.v/J.vTotal,.5),xe.ring=1-re.hole,xe.rInscribed=L(xe,J))}function se($,J){return[$*Math.sin(J),-$*Math.cos(J)]}function fe($,J,X){var re=$._fullLayout,ae=X.trace,j=ae.texttemplate,ee=ae.textinfo;if(!j&&ee&&ee!=="none"){var ie=ee.split("+"),ce=function(ue){return ie.indexOf(ue)!==-1},xe=ce("label"),Te=ce("text"),Ue=ce("value"),Ie=ce("percent"),Ye=re.separators,it;if(it=xe?[J.label]:[],Te){var at=h.getFirstFilled(ae.text,J.pts);d(at)&&it.push(at)}Ue&&it.push(h.formatPieValue(J.v,Ye)),Ie&&it.push(h.formatPiePercent(J.v/X.vTotal,Ye)),J.text=it.join("
")}function tt(ue){return{label:ue.label,value:ue.v,valueLabel:h.formatPieValue(ue.v,re.separators),percent:ue.v/X.vTotal,percentLabel:h.formatPiePercent(ue.v/X.vTotal,re.separators),color:ue.color,text:ue.text,customdata:t.castOption(ae,ue.i,"customdata")}}if(j){var ut=t.castOption(ae,J.i,"texttemplate");if(!ut)J.text="";else{var Me=tt(J),pe=h.getFirstFilled(ae.text,J.pts);(d(pe)||pe==="")&&(Me.text=pe),J.text=t.texttemplateString(ut,Me,$._fullLayout._d3locale,Me,ae._meta||{})}}}function G($,J){var X=$.rotate*Math.PI/180,re=Math.cos(X),ae=Math.sin(X),j=(J.left+J.right)/2,ee=(J.top+J.bottom)/2;$.textX=j*re-ee*ae,$.textY=j*ae+ee*re,$.noCenter=!0}H.exports={plot:T,formatSliceLabel:fe,transformInsideText:m,determineInsideTextFont:M,positionTitleOutside:B,prerenderTitles:E,layoutAreas:W,attachFxHandlers:_,computeTransform:G}}}),rP=ke({"src/traces/pie/style.js"(Z,H){"use strict";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._pielayer.selectAll(".trace");A(e,t,"pie"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll("path.surface").each(function(a){g.select(this).call(x,a,n,e)})})}}}),nP=ke({"src/traces/pie/base_plot.js"(Z){"use strict";var H=Zu();Z.name="pie",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),iP=ke({"src/traces/pie/index.js"(Z,H){"use strict";H.exports={attributes:Vm(),supplyDefaults:qm().supplyDefaults,supplyLayoutDefaults:eP(),layoutAttributes:cx(),calc:sy().calc,crossTraceCalc:sy().crossTraceCalc,plot:fx().plot,style:rP(),styleOne:Wg(),moduleType:"trace",name:"pie",basePlotModule:nP(),categories:["pie-like","pie","showLegend"],meta:{}}}}),aP=ke({"lib/pie.js"(Z,H){"use strict";H.exports=iP()}}),oP=ke({"src/traces/sunburst/base_plot.js"(Z){"use strict";var H=Zu();Z.name="sunburst",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),U3=ke({"src/traces/sunburst/constants.js"(Z,H){"use strict";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}}}),T0=ke({"src/traces/sunburst/attributes.js"(Z,H){"use strict";var g=Ol(),x=Rs().hovertemplateAttrs,A=Rs().texttemplateAttrs,S=ou(),e=Yu().attributes,t=Vm(),r=U3(),o=To().extendFlat,n=xh().pattern;H.exports={labels:{valType:"data_array",editType:"calc"},parents:{valType:"data_array",editType:"calc"},values:{valType:"data_array",editType:"calc"},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc"},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc"},level:{valType:"any",editType:"plot",anim:!0},maxdepth:{valType:"integer",editType:"plot",dflt:-1},marker:o({colors:{valType:"data_array",editType:"calc"},line:{color:o({},t.marker.line.color,{dflt:null}),width:o({},t.marker.line.width,{dflt:1}),editType:"calc"},pattern:n,editType:"calc"},S("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1},editType:"plot"},text:t.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot"},texttemplate:A({editType:"plot"},{keys:r.eventDataKeys.concat(["label","value"])}),hovertext:t.hovertext,hoverinfo:o({},g.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:x({},{keys:r.eventDataKeys}),textfont:t.textfont,insidetextorientation:t.insidetextorientation,insidetextfont:t.insidetextfont,outsidetextfont:o({},t.outsidetextfont,{}),rotation:{valType:"angle",dflt:0,editType:"plot"},sort:t.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)"},editType:"calc"},domain:e({name:"sunburst",trace:!0,editType:"calc"})}}}),j3=ke({"src/traces/sunburst/layout_attributes.js"(Z,H){"use strict";H.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),sP=ke({"src/traces/sunburst/defaults.js"(Z,H){"use strict";var g=un(),x=T0(),A=Yu().defaults,S=Od().handleText,e=qm().handleMarkerDefaults,t=ku(),r=t.hasColorscale,o=t.handleDefaults;H.exports=function(i,a,s,c){function h(M,E){return g.coerce(i,a,x,M,E)}var p=h("labels"),d=h("parents");if(!p||!p.length||!d||!d.length){a.visible=!1;return}var T=h("values");T&&T.length?h("branchvalues"):h("count"),h("level"),h("maxdepth"),e(i,a,c,h);var l=a._hasColorscale=r(i,"marker","colors")||(i.marker||{}).coloraxis;l&&o(i,a,c,h,{prefix:"marker.",cLetter:"c"}),h("leaf.opacity",l?1:.7);var _=h("text");h("texttemplate"),a.texttemplate||h("textinfo",g.isArrayOrTypedArray(_)?"text+label":"label"),h("hovertext"),h("hovertemplate");var w="auto";S(i,a,c,h,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("insidetextorientation"),h("sort"),h("rotation"),h("root.color"),A(a,c,h),a._length=null}}}),lP=ke({"src/traces/sunburst/layout_defaults.js"(Z,H){"use strict";var g=un(),x=j3();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("sunburstcolorway",e.colorway),t("extendsunburstcolors")}}}),A0=ke({"node_modules/d3-hierarchy/dist/d3-hierarchy.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(je,Se){return je.parent===Se.parent?1:2}function A(je){return je.reduce(S,0)/je.length}function S(je,Se){return je+Se.x}function e(je){return 1+je.reduce(t,0)}function t(je,Se){return Math.max(je,Se.y)}function r(je){for(var Se;Se=je.children;)je=Se[0];return je}function o(je){for(var Se;Se=je.children;)je=Se[Se.length-1];return je}function n(){var je=x,Se=1,He=1,Ee=!1;function we(Le){var nt,pt=0;Le.eachAfter(function($t){var ur=$t.children;ur?($t.x=A(ur),$t.y=e(ur)):($t.x=nt?pt+=je($t,nt):0,$t.y=0,nt=$t)});var bt=r(Le),Rt=o(Le),Nt=bt.x-je(bt,Rt)/2,Xt=Rt.x+je(Rt,bt)/2;return Le.eachAfter(Ee?function($t){$t.x=($t.x-Le.x)*Se,$t.y=(Le.y-$t.y)*He}:function($t){$t.x=($t.x-Nt)/(Xt-Nt)*Se,$t.y=(1-(Le.y?$t.y/Le.y:1))*He})}return we.separation=function(Le){return arguments.length?(je=Le,we):je},we.size=function(Le){return arguments.length?(Ee=!1,Se=+Le[0],He=+Le[1],we):Ee?null:[Se,He]},we.nodeSize=function(Le){return arguments.length?(Ee=!0,Se=+Le[0],He=+Le[1],we):Ee?[Se,He]:null},we}function i(je){var Se=0,He=je.children,Ee=He&&He.length;if(!Ee)Se=1;else for(;--Ee>=0;)Se+=He[Ee].value;je.value=Se}function a(){return this.eachAfter(i)}function s(je){var Se=this,He,Ee=[Se],we,Le,nt;do for(He=Ee.reverse(),Ee=[];Se=He.pop();)if(je(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;--we)He.push(Ee[we]);return this}function h(je){for(var Se=this,He=[Se],Ee=[],we,Le,nt;Se=He.pop();)if(Ee.push(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;)He+=Ee[we].value;Se.value=He})}function d(je){return this.eachBefore(function(Se){Se.children&&Se.children.sort(je)})}function T(je){for(var Se=this,He=l(Se,je),Ee=[Se];Se!==He;)Se=Se.parent,Ee.push(Se);for(var we=Ee.length;je!==He;)Ee.splice(we,0,je),je=je.parent;return Ee}function l(je,Se){if(je===Se)return je;var He=je.ancestors(),Ee=Se.ancestors(),we=null;for(je=He.pop(),Se=Ee.pop();je===Se;)we=je,je=He.pop(),Se=Ee.pop();return we}function _(){for(var je=this,Se=[je];je=je.parent;)Se.push(je);return Se}function w(){var je=[];return this.each(function(Se){je.push(Se)}),je}function M(){var je=[];return this.eachBefore(function(Se){Se.children||je.push(Se)}),je}function E(){var je=this,Se=[];return je.each(function(He){He!==je&&Se.push({source:He.parent,target:He})}),Se}function m(je,Se){var He=new f(je),Ee=+je.value&&(He.value=je.value),we,Le=[He],nt,pt,bt,Rt;for(Se==null&&(Se=v);we=Le.pop();)if(Ee&&(we.value=+we.data.value),(pt=Se(we.data))&&(Rt=pt.length))for(we.children=new Array(Rt),bt=Rt-1;bt>=0;--bt)Le.push(nt=we.children[bt]=new f(pt[bt])),nt.parent=we,nt.depth=we.depth+1;return He.eachBefore(y)}function b(){return m(this).eachBefore(u)}function v(je){return je.children}function u(je){je.data=je.data.data}function y(je){var Se=0;do je.height=Se;while((je=je.parent)&&je.height<++Se)}function f(je){this.data=je,this.depth=this.height=0,this.parent=null}f.prototype=m.prototype={constructor:f,count:a,each:s,eachAfter:h,eachBefore:c,sum:p,sort:d,path:T,ancestors:_,descendants:w,leaves:M,links:E,copy:b};var P=Array.prototype.slice;function L(je){for(var Se=je.length,He,Ee;Se;)Ee=Math.random()*Se--|0,He=je[Se],je[Se]=je[Ee],je[Ee]=He;return je}function z(je){for(var Se=0,He=(je=L(P.call(je))).length,Ee=[],we,Le;Se0&&He*He>Ee*Ee+we*we}function I(je,Se){for(var He=0;Hebt?(we=(Rt+bt-Le)/(2*Rt),pt=Math.sqrt(Math.max(0,bt/Rt-we*we)),He.x=je.x-we*Ee-pt*nt,He.y=je.y-we*nt+pt*Ee):(we=(Rt+Le-bt)/(2*Rt),pt=Math.sqrt(Math.max(0,Le/Rt-we*we)),He.x=Se.x+we*Ee-pt*nt,He.y=Se.y+we*nt+pt*Ee)):(He.x=Se.x+He.r,He.y=Se.y)}function se(je,Se){var He=je.r+Se.r-1e-6,Ee=Se.x-je.x,we=Se.y-je.y;return He>0&&He*He>Ee*Ee+we*we}function fe(je){var Se=je._,He=je.next._,Ee=Se.r+He.r,we=(Se.x*He.r+He.x*Se.r)/Ee,Le=(Se.y*He.r+He.y*Se.r)/Ee;return we*we+Le*Le}function G(je){this._=je,this.next=null,this.previous=null}function $(je){if(!(we=je.length))return 0;var Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt;if(Se=je[0],Se.x=0,Se.y=0,!(we>1))return Se.r;if(He=je[1],Se.x=-He.r,He.x=Se.r,He.y=0,!(we>2))return Se.r+He.r;le(He,Se,Ee=je[2]),Se=new G(Se),He=new G(He),Ee=new G(Ee),Se.next=Ee.previous=He,He.next=Se.previous=Ee,Ee.next=He.previous=Se;e:for(pt=3;pt0)throw new Error("cycle");return pt}return He.id=function(Ee){return arguments.length?(je=re(Ee),He):je},He.parentId=function(Ee){return arguments.length?(Se=re(Ee),He):Se},He}function ue(je,Se){return je.parent===Se.parent?1:2}function Oe(je){var Se=je.children;return Se?Se[0]:je.t}function rt(je){var Se=je.children;return Se?Se[Se.length-1]:je.t}function ot(je,Se,He){var Ee=He/(Se.i-je.i);Se.c-=Ee,Se.s+=He,je.c+=Ee,Se.z+=He,Se.m+=He}function et(je){for(var Se=0,He=0,Ee=je.children,we=Ee.length,Le;--we>=0;)Le=Ee[we],Le.z+=Se,Le.m+=Se,Se+=Le.s+(He+=Le.c)}function Lt(je,Se,He){return je.a.parent===Se.parent?je.a:He}function Et(je,Se){this._=je,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Se}Et.prototype=Object.create(f.prototype);function Bt(je){for(var Se=new Et(je,0),He,Ee=[Se],we,Le,nt,pt;He=Ee.pop();)if(Le=He._.children)for(He.children=new Array(pt=Le.length),nt=pt-1;nt>=0;--nt)Ee.push(we=He.children[nt]=new Et(Le[nt],nt)),we.parent=He;return(Se.parent=new Et(null,0)).children=[Se],Se}function qt(){var je=ue,Se=1,He=1,Ee=null;function we(Rt){var Nt=Bt(Rt);if(Nt.eachAfter(Le),Nt.parent.m=-Nt.z,Nt.eachBefore(nt),Ee)Rt.eachBefore(bt);else{var Xt=Rt,$t=Rt,ur=Rt;Rt.eachBefore(function(ni){ni.x$t.x&&($t=ni),ni.depth>ur.depth&&(ur=ni)});var pn=Xt===$t?1:je(Xt,$t)/2,Rn=pn-Xt.x,Nn=Se/($t.x+pn+Rn),On=He/(ur.depth||1);Rt.eachBefore(function(ni){ni.x=(ni.x+Rn)*Nn,ni.y=ni.depth*On})}return Rt}function Le(Rt){var Nt=Rt.children,Xt=Rt.parent.children,$t=Rt.i?Xt[Rt.i-1]:null;if(Nt){et(Rt);var ur=(Nt[0].z+Nt[Nt.length-1].z)/2;$t?(Rt.z=$t.z+je(Rt._,$t._),Rt.m=Rt.z-ur):Rt.z=ur}else $t&&(Rt.z=$t.z+je(Rt._,$t._));Rt.parent.A=pt(Rt,$t,Rt.parent.A||Xt[0])}function nt(Rt){Rt._.x=Rt.z+Rt.parent.m,Rt.m+=Rt.parent.m}function pt(Rt,Nt,Xt){if(Nt){for(var $t=Rt,ur=Rt,pn=Nt,Rn=$t.parent.children[0],Nn=$t.m,On=ur.m,ni=pn.m,zn=Rn.m,Qn;pn=rt(pn),$t=Oe($t),pn&&$t;)Rn=Oe(Rn),ur=rt(ur),ur.a=Rt,Qn=pn.z+ni-$t.z-Nn+je(pn._,$t._),Qn>0&&(ot(Lt(pn,Rt,Xt),Rt,Qn),Nn+=Qn,On+=Qn),ni+=pn.m,Nn+=$t.m,zn+=Rn.m,On+=ur.m;pn&&!rt(ur)&&(ur.t=pn,ur.m+=ni-On),$t&&!Oe(Rn)&&(Rn.t=$t,Rn.m+=Nn-zn,Xt=Rt)}return Xt}function bt(Rt){Rt.x*=Se,Rt.y=Rt.depth*He}return we.separation=function(Rt){return arguments.length?(je=Rt,we):je},we.size=function(Rt){return arguments.length?(Ee=!1,Se=+Rt[0],He=+Rt[1],we):Ee?null:[Se,He]},we.nodeSize=function(Rt){return arguments.length?(Ee=!0,Se=+Rt[0],He=+Rt[1],we):Ee?[Se,He]:null},we}function fr(je,Se,He,Ee,we){for(var Le=je.children,nt,pt=-1,bt=Le.length,Rt=je.value&&(we-He)/je.value;++ptni&&(ni=Rt),Zt=Nn*Nn*gi,zn=Math.max(ni/Zt,Zt/On),zn>Qn){Nn-=Rt;break}Qn=zn}nt.push(bt={value:Nn,dice:ur1?Ee:1)},He}(ar);function br(){var je=gr,Se=!1,He=1,Ee=1,we=[0],Le=ae,nt=ae,pt=ae,bt=ae,Rt=ae;function Nt($t){return $t.x0=$t.y0=0,$t.x1=He,$t.y1=Ee,$t.eachBefore(Xt),we=[0],Se&&$t.eachBefore(Ue),$t}function Xt($t){var ur=we[$t.depth],pn=$t.x0+ur,Rn=$t.y0+ur,Nn=$t.x1-ur,On=$t.y1-ur;Nn=$t-1){var ni=Le[Xt];ni.x0=pn,ni.y0=Rn,ni.x1=Nn,ni.y1=On;return}for(var zn=Rt[Xt],Qn=ur/2+zn,gi=Xt+1,Zt=$t-1;gi>>1;Rt[Ft]On-Rn){var wr=(pn*Vt+Nn*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,wr,On),Nt(gi,$t,Vt,wr,Rn,Nn,On)}else{var $r=(Rn*Vt+On*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,Nn,$r),Nt(gi,$t,Vt,pn,$r,Nn,On)}}}function Be(je,Se,He,Ee,we){(je.depth&1?fr:Ie)(je,Se,He,Ee,we)}var Ke=function je(Se){function He(Ee,we,Le,nt,pt){if((bt=Ee._squarify)&&bt.ratio===Se)for(var bt,Rt,Nt,Xt,$t=-1,ur,pn=bt.length,Rn=Ee.value;++$t1?Ee:1)},He}(ar);g.cluster=n,g.hierarchy=m,g.pack=ie,g.packEnclose=z,g.packSiblings=J,g.partition=Ye,g.stratify=pe,g.tree=qt,g.treemap=br,g.treemapBinary=_t,g.treemapDice=Ie,g.treemapResquarify=Ke,g.treemapSlice=fr,g.treemapSliceDice=Be,g.treemapSquarify=gr,Object.defineProperty(g,"__esModule",{value:!0})})}}),M0=ke({"src/traces/sunburst/calc.js"(Z){"use strict";var H=A0(),g=Yn(),x=un(),A=ku().makeColorScaleFuncFromTrace,S=sy().makePullColorFn,e=sy().generateExtendedColors,t=ku().calc,r=Hi().ALMOST_EQUAL,o={},n={},i={};Z.calc=function(s,c){var h=s._fullLayout,p=c.ids,d=x.isArrayOrTypedArray(p),T=c.labels,l=c.parents,_=c.values,w=x.isArrayOrTypedArray(_),M=[],E={},m={},b=function(J,X){E[J]?E[J].push(X):E[J]=[X],m[X]=1},v=function(J){return J||typeof J=="number"},u=function(J){return!w||g(_[J])&&_[J]>=0},y,f,P;d?(y=Math.min(p.length,l.length),f=function(J){return v(p[J])&&u(J)},P=function(J){return String(p[J])}):(y=Math.min(T.length,l.length),f=function(J){return v(T[J])&&u(J)},P=function(J){return String(T[J])}),w&&(y=Math.min(y,_.length));for(var L=0;L1){for(var N=x.randstr(),U=0;U>8&15|H>>4&240,H>>4&15|H&240,(H&15)<<4|H&15,1):g===8?S0(H>>24&255,H>>16&255,H>>8&255,(H&255)/255):g===4?S0(H>>12&15|H>>8&240,H>>8&15|H>>4&240,H>>4&15|H&240,((H&15)<<4|H&15)/255):null):(H=J3.exec(Z))?new Th(H[1],H[2],H[3],1):(H=$3.exec(Z))?new Th(H[1]*255/100,H[2]*255/100,H[3]*255/100,1):(H=Q3.exec(Z))?S0(H[1],H[2],H[3],H[4]):(H=eT.exec(Z))?S0(H[1]*255/100,H[2]*255/100,H[3]*255/100,H[4]):(H=tT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,1):(H=rT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,H[4]):mx.hasOwnProperty(Z)?H3(mx[Z]):Z==="transparent"?new Th(NaN,NaN,NaN,0):null}function H3(Z){return new Th(Z>>16&255,Z>>8&255,Z&255,1)}function S0(Z,H,g,x){return x<=0&&(Z=H=g=NaN),new Th(Z,H,g,x)}function dx(Z){return Z instanceof Qv||(Z=uy(Z)),Z?(Z=Z.rgb(),new Th(Z.r,Z.g,Z.b,Z.opacity)):new Th}function E0(Z,H,g,x){return arguments.length===1?dx(Z):new Th(Z,H,g,x??1)}function Th(Z,H,g,x){this.r=+Z,this.g=+H,this.b=+g,this.opacity=+x}function G3(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}`}function fP(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}${Vp((isNaN(this.opacity)?1:this.opacity)*255)}`}function W3(){let Z=C0(this.opacity);return`${Z===1?"rgb(":"rgba("}${jp(this.r)}, ${jp(this.g)}, ${jp(this.b)}${Z===1?")":`, ${Z})`}`}function C0(Z){return isNaN(Z)?1:Math.max(0,Math.min(1,Z))}function jp(Z){return Math.max(0,Math.min(255,Math.round(Z)||0))}function Vp(Z){return Z=jp(Z),(Z<16?"0":"")+Z.toString(16)}function X3(Z,H,g,x){return x<=0?Z=H=g=NaN:g<=0||g>=1?Z=H=NaN:H<=0&&(Z=NaN),new Kd(Z,H,g,x)}function Z3(Z){if(Z instanceof Kd)return new Kd(Z.h,Z.s,Z.l,Z.opacity);if(Z instanceof Qv||(Z=uy(Z)),!Z)return new Kd;if(Z instanceof Kd)return Z;Z=Z.rgb();var H=Z.r/255,g=Z.g/255,x=Z.b/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=NaN,t=S-A,r=(S+A)/2;return t?(H===S?e=(g-x)/t+(g0&&r<1?0:e,new Kd(e,t,r,Z.opacity)}function vx(Z,H,g,x){return arguments.length===1?Z3(Z):new Kd(Z,H,g,x??1)}function Kd(Z,H,g,x){this.h=+Z,this.s=+H,this.l=+g,this.opacity=+x}function Y3(Z){return Z=(Z||0)%360,Z<0?Z+360:Z}function k0(Z){return Math.max(0,Math.min(1,Z||0))}function px(Z,H,g){return(Z<60?H+(g-H)*Z/60:Z<180?g:Z<240?H+(g-H)*(240-Z)/60:H)*255}var ep,qp,Hp,Gm,Jd,K3,J3,$3,Q3,eT,tT,rT,mx,gx=Er({"node_modules/d3-color/src/color.js"(){hx(),ep=.7,qp=1/ep,Hp="\\s*([+-]?\\d+)\\s*",Gm="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Jd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",K3=/^#([0-9a-f]{3,8})$/,J3=new RegExp(`^rgb\\(${Hp},${Hp},${Hp}\\)$`),$3=new RegExp(`^rgb\\(${Jd},${Jd},${Jd}\\)$`),Q3=new RegExp(`^rgba\\(${Hp},${Hp},${Hp},${Gm}\\)$`),eT=new RegExp(`^rgba\\(${Jd},${Jd},${Jd},${Gm}\\)$`),tT=new RegExp(`^hsl\\(${Gm},${Jd},${Jd}\\)$`),rT=new RegExp(`^hsla\\(${Gm},${Jd},${Jd},${Gm}\\)$`),mx={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Hm(Qv,uy,{copy(Z){return Object.assign(new this.constructor,this,Z)},displayable(){return this.rgb().displayable()},hex:V3,formatHex:V3,formatHex8:uP,formatHsl:cP,formatRgb:q3,toString:q3}),Hm(Th,E0,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},rgb(){return this},clamp(){return new Th(jp(this.r),jp(this.g),jp(this.b),C0(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:G3,formatHex:G3,formatHex8:fP,formatRgb:W3,toString:W3})),Hm(Kd,vx,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},rgb(){var Z=this.h%360+(this.h<0)*360,H=isNaN(Z)||isNaN(this.s)?0:this.s,g=this.l,x=g+(g<.5?g:1-g)*H,A=2*g-x;return new Th(px(Z>=240?Z-240:Z+120,A,x),px(Z,A,x),px(Z<120?Z+240:Z-120,A,x),this.opacity)},clamp(){return new Kd(Y3(this.h),k0(this.s),k0(this.l),C0(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(){let Z=C0(this.opacity);return`${Z===1?"hsl(":"hsla("}${Y3(this.h)}, ${k0(this.s)*100}%, ${k0(this.l)*100}%${Z===1?")":`, ${Z})`}`}}))}}),yx,_x,nT=Er({"node_modules/d3-color/src/math.js"(){yx=Math.PI/180,_x=180/Math.PI}});function iT(Z){if(Z instanceof pv)return new pv(Z.l,Z.a,Z.b,Z.opacity);if(Z instanceof Iv)return aT(Z);Z instanceof Th||(Z=dx(Z));var H=Ax(Z.r),g=Ax(Z.g),x=Ax(Z.b),A=bx((.2225045*H+.7168786*g+.0606169*x)/Ex),S,e;return H===g&&g===x?S=e=A:(S=bx((.4360747*H+.3850649*g+.1430804*x)/Sx),e=bx((.0139322*H+.0971045*g+.7141733*x)/Cx)),new pv(116*A-16,500*(S-A),200*(A-e),Z.opacity)}function xx(Z,H,g,x){return arguments.length===1?iT(Z):new pv(Z,H,g,x??1)}function pv(Z,H,g,x){this.l=+Z,this.a=+H,this.b=+g,this.opacity=+x}function bx(Z){return Z>oT?Math.pow(Z,.3333333333333333):Z/Lx+kx}function wx(Z){return Z>Gp?Z*Z*Z:Lx*(Z-kx)}function Tx(Z){return 255*(Z<=.0031308?12.92*Z:1.055*Math.pow(Z,.4166666666666667)-.055)}function Ax(Z){return(Z/=255)<=.04045?Z/12.92:Math.pow((Z+.055)/1.055,2.4)}function hP(Z){if(Z instanceof Iv)return new Iv(Z.h,Z.c,Z.l,Z.opacity);if(Z instanceof pv||(Z=iT(Z)),Z.a===0&&Z.b===0)return new Iv(NaN,0=1?(g=1,H-1):Math.floor(g*H),A=Z[x],S=Z[x+1],e=x>0?Z[x-1]:2*A-S,t=x()=>Z}});function hT(Z,H){return function(g){return Z+g*H}}function mP(Z,H,g){return Z=Math.pow(Z,g),H=Math.pow(H,g)-Z,g=1/g,function(x){return Math.pow(Z+x*H,g)}}function I0(Z,H){var g=H-Z;return g?hT(Z,g>180||g<-180?g-360*Math.round(g/360):g):hy(isNaN(Z)?H:Z)}function gP(Z){return(Z=+Z)==1?Ah:function(H,g){return g-H?mP(H,g,Z):hy(isNaN(H)?g:H)}}function Ah(Z,H){var g=H-Z;return g?hT(Z,g):hy(isNaN(Z)?H:Z)}var Zm=Er({"node_modules/d3-interpolate/src/color.js"(){fT()}});function dT(Z){return function(H){var g=H.length,x=new Array(g),A=new Array(g),S=new Array(g),e,t;for(e=0;eg&&(S=H.slice(g,S),t[e]?t[e]+=S:t[++e]=S),(x=x[0])===(A=A[0])?t[e]?t[e]+=A:t[++e]=A:(t[++e]=null,r.push({i:e,x:mv(x,A)})),g=F0.lastIndex;return g180?n+=360:n-o>180&&(o+=360),a.push({i:i.push(A(i)+"rotate(",null,x)-2,x:mv(o,n)})):n&&i.push(A(i)+"rotate("+n+x)}function t(o,n,i,a){o!==n?a.push({i:i.push(A(i)+"skewX(",null,x)-2,x:mv(o,n)}):n&&i.push(A(i)+"skewX("+n+x)}function r(o,n,i,a,s,c){if(o!==i||n!==a){var h=s.push(A(s)+"scale(",null,",",null,")");c.push({i:h-4,x:mv(o,i)},{i:h-2,x:mv(n,a)})}else(i!==1||a!==1)&&s.push(A(s)+"scale("+i+","+a+")")}return function(o,n){var i=[],a=[];return o=Z(o),n=Z(n),S(o.translateX,o.translateY,n.translateX,n.translateY,i,a),e(o.rotate,n.rotate,i,a),t(o.skewX,n.skewX,i,a),r(o.scaleX,o.scaleY,n.scaleX,n.scaleY,i,a),o=n=null,function(s){for(var c=-1,h=a.length,p;++cO0,interpolateArray:()=>yP,interpolateBasis:()=>lT,interpolateBasisClosed:()=>uT,interpolateCubehelix:()=>UT,interpolateCubehelixLong:()=>jT,interpolateDate:()=>xT,interpolateDiscrete:()=>bP,interpolateHcl:()=>OT,interpolateHclLong:()=>BT,interpolateHsl:()=>DT,interpolateHslLong:()=>zT,interpolateHue:()=>TP,interpolateLab:()=>FP,interpolateNumber:()=>mv,interpolateNumberArray:()=>Ox,interpolateObject:()=>wT,interpolateRgb:()=>R0,interpolateRgbBasis:()=>vT,interpolateRgbBasisClosed:()=>pT,interpolateRound:()=>MP,interpolateString:()=>AT,interpolateTransformCss:()=>CT,interpolateTransformSvg:()=>kT,interpolateZoom:()=>IT,piecewise:()=>UP,quantize:()=>VP});var Ym=Er({"node_modules/d3-interpolate/src/index.js"(){B0(),_T(),Fx(),cT(),bT(),wP(),AP(),D0(),Bx(),TT(),SP(),MT(),PP(),DP(),mT(),zP(),OP(),BP(),NP(),jP(),qP()}}),Ux=ke({"src/traces/sunburst/fill_one.js"(Z,H){"use strict";var g=$o(),x=eo();H.exports=function(S,e,t,r,o){var n=e.data.data,i=n.i,a=o||n.color;if(i>=0){e.i=n.i;var s=t.marker;s.pattern?(!s.colors||!s.pattern.shape)&&(s.color=a,e.color=a):(s.color=a,e.color=a),g.pointStyle(S,t,r,e)}else x.fill(S,a)}}}),VT=ke({"src/traces/sunburst/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._sunburstlayer.selectAll(".trace");S(o,n,"sunburst"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style("opacity",c.opacity),a.selectAll("path.surface").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,"marker.line.color")||x.defaultLine,d=A.castOption(i,h,"marker.line.width")||0;o.call(e,n,i,a).style("stroke-width",d).call(x.stroke,p).style("opacity",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),tp=ke({"src/traces/sunburst/helpers.js"(Z){"use strict";var H=un(),g=eo(),x=uv(),A=Fp();Z.findEntryWithLevel=function(r,o){var n;return o&&r.eachAfter(function(i){if(Z.getPtId(i)===o)return n=i.copy()}),n||r},Z.findEntryWithChild=function(r,o){var n;return r.eachAfter(function(i){for(var a=i.children||[],s=0;s0)},Z.getMaxDepth=function(r){return r.maxdepth>=0?r.maxdepth:1/0},Z.isHeader=function(r,o){return!(Z.isLeaf(r)||r.depth===o._maxDepth-1)};function t(r){return r.data.data.pid}Z.getParent=function(r,o){return Z.findEntryWithLevel(r,t(o))},Z.listPath=function(r,o){var n=r.parent;if(!n)return[];var i=o?[n.data[o]]:[n];return Z.listPath(n,o).concat(i)},Z.getPath=function(r){return Z.listPath(r,"label").join("/")+"/"},Z.formatValue=A.formatPieValue,Z.formatPercent=function(r,o){var n=H.formatPercent(r,0);return n==="0%"&&(n=A.formatPiePercent(r,o)),n}}}),j0=ke({"src/traces/sunburst/fx.js"(Z,H){"use strict";var g=_i(),x=lo(),A=gd().appendArrayPointValue,S=Ec(),e=un(),t=jg(),r=tp(),o=Fp(),n=o.formatPieValue;H.exports=function(s,c,h,p,d){var T=p[0],l=T.trace,_=T.hierarchy,w=l.type==="sunburst",M=l.type==="treemap"||l.type==="icicle";"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1);var E=function(v){var u=h._fullLayout;if(!(h._dragging||u.hovermode===!1)){var y=h._fullData[l.index],f=v.data.data,P=f.i,L=r.isHierarchyRoot(v),z=r.getParent(_,v),F=r.getValue(v),B=function(ee){return e.castOption(y,P,ee)},O=B("hovertemplate"),I=S.castHoverinfo(y,u,P),N=u.separators,U;if(O||I&&I!=="none"&&I!=="skip"){var W,Q;w&&(W=T.cx+v.pxmid[0]*(1-v.rInscribed),Q=T.cy+v.pxmid[1]*(1-v.rInscribed)),M&&(W=v._hoverX,Q=v._hoverY);var le={},se=[],fe=[],G=function(ee){return se.indexOf(ee)!==-1};I&&(se=I==="all"?y._module.attributes.hoverinfo.flags:I.split("+")),le.label=f.label,G("label")&&le.label&&fe.push(le.label),f.hasOwnProperty("v")&&(le.value=f.v,le.valueLabel=n(le.value,N),G("value")&&fe.push(le.valueLabel)),le.currentPath=v.currentPath=r.getPath(v.data),G("current path")&&!L&&fe.push(le.currentPath);var $,J=[],X=function(){J.indexOf($)===-1&&(fe.push($),J.push($))};le.percentParent=v.percentParent=F/r.getValue(z),le.parent=v.parentString=r.getPtLabel(z),G("percent parent")&&($=r.formatPercent(le.percentParent,N)+" of "+le.parent,X()),le.percentEntry=v.percentEntry=F/r.getValue(c),le.entry=v.entry=r.getPtLabel(c),G("percent entry")&&!L&&!v.onPathbar&&($=r.formatPercent(le.percentEntry,N)+" of "+le.entry,X()),le.percentRoot=v.percentRoot=F/r.getValue(_),le.root=v.root=r.getPtLabel(_),G("percent root")&&!L&&($=r.formatPercent(le.percentRoot,N)+" of "+le.root,X()),le.text=B("hovertext")||B("text"),G("text")&&($=le.text,e.isValidTextValue($)&&fe.push($)),U=[i(v,y,d.eventDataKeys)];var re={trace:y,y:Q,_x0:v._x0,_x1:v._x1,_y0:v._y0,_y1:v._y1,text:fe.join("
"),name:O||G("name")?y.name:void 0,color:B("hoverlabel.bgcolor")||f.color,borderColor:B("hoverlabel.bordercolor"),fontFamily:B("hoverlabel.font.family"),fontSize:B("hoverlabel.font.size"),fontColor:B("hoverlabel.font.color"),fontWeight:B("hoverlabel.font.weight"),fontStyle:B("hoverlabel.font.style"),fontVariant:B("hoverlabel.font.variant"),nameLength:B("hoverlabel.namelength"),textAlign:B("hoverlabel.align"),hovertemplate:O,hovertemplateLabels:le,eventData:U};w&&(re.x0=W-v.rInscribed*v.rpx1,re.x1=W+v.rInscribed*v.rpx1,re.idealAlign=v.pxmid[0]<0?"left":"right"),M&&(re.x=W,re.idealAlign=W<0?"left":"right");var ae=[];S.loneHover(re,{container:u._hoverlayer.node(),outerContainer:u._paper.node(),gd:h,inOut_bbox:ae}),U[0].bbox=ae[0],l._hasHoverLabel=!0}if(M){var j=s.select("path.surface");d.styleOne(j,v,y,h,{hovered:!0})}l._hasHoverEvent=!0,h.emit("plotly_hover",{points:U||[i(v,y,d.eventDataKeys)],event:g.event})}},m=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=g.select(this).datum();if(l._hasHoverEvent&&(v.originalEvent=g.event,h.emit("plotly_unhover",{points:[i(f,y,d.eventDataKeys)],event:g.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(S.loneUnhover(u._hoverlayer.node()),l._hasHoverLabel=!1),M){var P=s.select("path.surface");d.styleOne(P,f,y,h,{hovered:!1})}},b=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=w&&(r.isHierarchyRoot(v)||r.isLeaf(v)),P=r.getPtId(v),L=r.isEntry(v)?r.findEntryWithChild(_,P):r.findEntryWithLevel(_,P),z=r.getPtId(L),F={points:[i(v,y,d.eventDataKeys)],event:g.event};f||(F.nextLevel=z);var B=t.triggerHandler(h,"plotly_"+l.type+"click",F);if(B!==!1&&u.hovermode&&(h._hoverdata=[i(v,y,d.eventDataKeys)],S.click(h,g.event)),!f&&B!==!1&&!h._dragging&&!h._transitioning){x.call("_storeDirectGUIEdit",y,u._tracePreGUI[y.uid],{level:y.level});var O={data:[{level:z}],traces:[l.index]},I={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:"immediate",fromcurrent:!0};S.loneUnhover(u._hoverlayer.node()),x.call("animate",h,O,I)}};s.on("mouseover",E),s.on("mouseout",m),s.on("click",b)};function i(a,s,c){for(var h=a.data.data,p={curveNumber:s.index,pointNumber:h.i,data:s._input,fullData:s},d=0;dot.x1?2*Math.PI:0)+ee;et=ue.rpx1Ye?2*Math.PI:0)+ee;rt={x0:et,x1:et}}else rt={rpx0:se,rpx1:se},S.extendFlat(rt,pe(ue));else rt={rpx0:0,rpx1:0};else rt={x0:ee,x1:ee};return x(rt,ot)}function Me(ue){var Oe=J[T.getPtId(ue)],rt,ot=ue.transform;if(Oe)rt=Oe;else if(rt={rpx1:ue.rpx1,transform:{textPosAngle:ot.textPosAngle,scale:0,rotate:ot.rotate,rCenter:ot.rCenter,x:ot.x,y:ot.y}},$)if(ue.parent)if(Ye){var et=ue.x1>Ye?2*Math.PI:0;rt.x0=rt.x1=et}else S.extendFlat(rt,pe(ue));else rt.x0=rt.x1=ee;else rt.x0=rt.x1=ee;var Lt=x(rt.transform.textPosAngle,ue.transform.textPosAngle),Et=x(rt.rpx1,ue.rpx1),Bt=x(rt.x0,ue.x0),qt=x(rt.x1,ue.x1),fr=x(rt.transform.scale,ot.scale),ar=x(rt.transform.rotate,ot.rotate),Rr=ot.rCenter===0?3:rt.transform.rCenter===0?1/3:1,gr=x(rt.transform.rCenter,ot.rCenter),br=function(_t){return gr(Math.pow(_t,Rr))};return function(_t){var Be=Et(_t),Ke=Bt(_t),je=qt(_t),Se=br(_t),He=xe(Be,(Ke+je)/2),Ee=Lt(_t),we={pxmid:He,rpx1:Be,transform:{textPosAngle:Ee,rCenter:Se,x:ot.x,y:ot.y}};return r(B.type,ot,f),{transform:{targetX:Ue(we),targetY:Ie(we),scale:fr(_t),rotate:ar(_t),rCenter:Se}}}}function pe(ue){var Oe=ue.parent,rt=J[T.getPtId(Oe)],ot={};if(rt){var et=Oe.children,Lt=et.indexOf(ue),Et=et.length,Bt=x(rt.x0,rt.x1);ot.x0=Bt(Lt/Et),ot.x1=Bt(Lt/Et)}else ot.x0=ot.x1=0;return ot}}function _(m){return g.partition().size([2*Math.PI,m.height+1])(m)}Z.formatSliceLabel=function(m,b,v,u,y){var f=v.texttemplate,P=v.textinfo;if(!f&&(!P||P==="none"))return"";var L=y.separators,z=u[0],F=m.data.data,B=z.hierarchy,O=T.isHierarchyRoot(m),I=T.getParent(B,m),N=T.getValue(m);if(!f){var U=P.split("+"),W=function(ae){return U.indexOf(ae)!==-1},Q=[],le;if(W("label")&&F.label&&Q.push(F.label),F.hasOwnProperty("v")&&W("value")&&Q.push(T.formatValue(F.v,L)),!O){W("current path")&&Q.push(T.getPath(m.data));var se=0;W("percent parent")&&se++,W("percent entry")&&se++,W("percent root")&&se++;var fe=se>1;if(se){var G,$=function(ae){le=T.formatPercent(G,L),fe&&(le+=" of "+ae),Q.push(le)};W("percent parent")&&!O&&(G=N/T.getValue(I),$("parent")),W("percent entry")&&(G=N/T.getValue(b),$("entry")),W("percent root")&&(G=N/T.getValue(B),$("root"))}}return W("text")&&(le=S.castOption(v,F.i,"text"),S.isValidTextValue(le)&&Q.push(le)),Q.join("
")}var J=S.castOption(v,F.i,"texttemplate");if(!J)return"";var X={};F.label&&(X.label=F.label),F.hasOwnProperty("v")&&(X.value=F.v,X.valueLabel=T.formatValue(F.v,L)),X.currentPath=T.getPath(m.data),O||(X.percentParent=N/T.getValue(I),X.percentParentLabel=T.formatPercent(X.percentParent,L),X.parent=T.getPtLabel(I)),X.percentEntry=N/T.getValue(b),X.percentEntryLabel=T.formatPercent(X.percentEntry,L),X.entry=T.getPtLabel(b),X.percentRoot=N/T.getValue(B),X.percentRootLabel=T.formatPercent(X.percentRoot,L),X.root=T.getPtLabel(B),F.hasOwnProperty("color")&&(X.color=F.color);var re=S.castOption(v,F.i,"text");return(S.isValidTextValue(re)||re==="")&&(X.text=re),X.customdata=S.castOption(v,F.i,"customdata"),S.texttemplateString(J,X,y._d3locale,X,v._meta||{})};function w(m){return m.rpx0===0&&S.isFullCircle([m.x0,m.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(m.halfangle)),m.ring/2))}function M(m){return E(m.rpx1,m.transform.textPosAngle)}function E(m,b){return[m*Math.sin(b),-m*Math.cos(b)]}}}),HP=ke({"src/traces/sunburst/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"sunburst",basePlotModule:oP(),categories:[],animatable:!0,attributes:T0(),layoutAttributes:j3(),supplyDefaults:sP(),supplyLayoutDefaults:lP(),calc:M0().calc,crossTraceCalc:M0().crossTraceCalc,plot:jx().plot,style:VT().style,colorbar:Bh(),meta:{}}}}),GP=ke({"lib/sunburst.js"(Z,H){"use strict";H.exports=HP()}}),WP=ke({"src/traces/treemap/base_plot.js"(Z){"use strict";var H=Zu();Z.name="treemap",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),Km=ke({"src/traces/treemap/constants.js"(Z,H){"use strict";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}}}),Vx=ke({"src/traces/treemap/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Km(),o=To().extendFlat,n=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",editType:"plot"},squarifyratio:{valType:"number",min:1,dflt:1,editType:"plot"},flip:{valType:"flaglist",flags:["x","y"],dflt:"",editType:"plot"},pad:{valType:"number",min:0,dflt:3,editType:"plot"},editType:"calc"},marker:o({pad:{t:{valType:"number",min:0,editType:"plot"},l:{valType:"number",min:0,editType:"plot"},r:{valType:"number",min:0,editType:"plot"},b:{valType:"number",min:0,editType:"plot"},editType:"calc"},colors:t.marker.colors,pattern:n,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style"},line:t.marker.line,cornerradius:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},A("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,editType:"plot"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:o({},e.textfont,{}),editType:"calc"},text:e.text,textinfo:t.textinfo,texttemplate:x({editType:"plot"},{keys:r.eventDataKeys.concat(["label","value"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:r.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:o({},e.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:e.sort,root:t.root,domain:S({name:"treemap",trace:!0,editType:"calc"})}}}),qT=ke({"src/traces/treemap/layout_attributes.js"(Z,H){"use strict";H.exports={treemapcolorway:{valType:"colorlist",editType:"calc"},extendtreemapcolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),XP=ke({"src/traces/treemap/defaults.js"(Z,H){"use strict";var g=un(),x=Vx(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(y,f){return g.coerce(s,c,x,y,f)}var T=d("labels"),l=d("parents");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d("values");_&&_.length?d("branchvalues"):d("count"),d("level"),d("maxdepth");var w=d("tiling.packing");w==="squarify"&&d("tiling.squarifyratio"),d("tiling.flip"),d("tiling.pad");var M=d("text");d("texttemplate"),c.texttemplate||d("textinfo",g.isArrayOrTypedArray(M)?"text+label":"label"),d("hovertext"),d("hovertemplate");var E=d("pathbar.visible"),m="auto";e(s,c,p,d,m,{hasPathbar:E,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d("textposition");var b=c.textposition.indexOf("bottom")!==-1;r(s,c,p,d);var v=c._hasColorscale=n(s,"marker","colors")||(s.marker||{}).coloraxis;v?i(s,c,p,d,{prefix:"marker.",cLetter:"c"}):d("marker.depthfade",!(c.marker.colors||[]).length);var u=c.textfont.size*2;d("marker.pad.t",b?u/4:u),d("marker.pad.l",u/4),d("marker.pad.r",u/4),d("marker.pad.b",b?u:u/4),d("marker.cornerradius"),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},E&&(d("pathbar.thickness",c.pathbar.textfont.size+2*t),d("pathbar.side"),d("pathbar.edgeshape")),d("sort"),d("root.color"),S(c,p,d),c._length=null}}}),ZP=ke({"src/traces/treemap/layout_defaults.js"(Z,H){"use strict";var g=un(),x=qT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("treemapcolorway",e.colorway),t("extendtreemapcolors")}}}),HT=ke({"src/traces/treemap/calc.js"(Z){"use strict";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc("treemap",g)}}}),GT=ke({"src/traces/treemap/flip_tree.js"(Z,H){"use strict";H.exports=function g(x,A,S){var e;S.swapXY&&(e=x.x0,x.x0=x.y0,x.y0=e,e=x.x1,x.x1=x.y1,x.y1=e),S.flipX&&(e=x.x0,x.x0=A[0]-x.x1,x.x1=A[0]-e),S.flipY&&(e=x.y0,x.y0=A[1]-x.y1,x.y1=A[1]-e);var t=x.children;if(t)for(var r=0;r0)for(var u=0;u").join(" ")||"";var fe=x.ensureSingle(le,"g","slicetext"),G=x.ensureSingle(fe,"text","",function(J){J.attr("data-notex",1)}),$=x.ensureUniformFontSize(s,o.determineTextFont(B,Q,z.font,{onPathbar:!0}));G.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(A.font,$).call(S.convertToTspans,s),Q.textBB=A.bBox(G.node()),Q.transform=m(Q,{fontSize:$.size,onPathbar:!0}),Q.transform.fontSize=$.size,v?G.transition().attrTween("transform",function(J){var X=f(J,i,P,[l,_]);return function(re){return b(X(re))}}):G.attr("transform",b(Q))})}}}),KP=ke({"src/traces/treemap/plot_one.js"(Z,H){"use strict";var g=_i(),x=(Ym(),hi(Xp)).interpolate,A=tp(),S=un(),e=Om().TEXTPAD,t=Bm(),r=t.toMoveInsideBar,o=Zh(),n=o.recordMinTextSize,i=Km(),a=YP();function s(c){return A.isHierarchyRoot(c)?"":A.getPtId(c)}H.exports=function(h,p,d,T,l){var _=h._fullLayout,w=p[0],M=w.trace,E=M.type,m=E==="icicle",b=w.hierarchy,v=A.findEntryWithLevel(b,M.level),u=g.select(d),y=u.selectAll("g.pathbar"),f=u.selectAll("g.slice");if(!v){y.remove(),f.remove();return}var P=A.isHierarchyRoot(v),L=!_.uniformtext.mode&&A.hasTransition(T),z=A.getMaxDepth(M),F=function(gr){return gr.data.depth-v.data.depth-1?N+Q:-(W+Q):0,se={x0:U,x1:U,y0:le,y1:le+W},fe=function(gr,br,_t){var Be=M.tiling.pad,Ke=function(Ee){return Ee-Be<=br.x0},je=function(Ee){return Ee+Be>=br.x1},Se=function(Ee){return Ee-Be<=br.y0},He=function(Ee){return Ee+Be>=br.y1};return gr.x0===br.x0&&gr.x1===br.x1&&gr.y0===br.y0&&gr.y1===br.y1?{x0:gr.x0,x1:gr.x1,y0:gr.y0,y1:gr.y1}:{x0:Ke(gr.x0-Be)?0:je(gr.x0-Be)?_t[0]:gr.x0,x1:Ke(gr.x1+Be)?0:je(gr.x1+Be)?_t[0]:gr.x1,y0:Se(gr.y0-Be)?0:He(gr.y0-Be)?_t[1]:gr.y0,y1:Se(gr.y1+Be)?0:He(gr.y1+Be)?_t[1]:gr.y1}},G=null,$={},J={},X=null,re=function(gr,br){return br?$[s(gr)]:J[s(gr)]},ae=function(gr,br,_t,Be){if(br)return $[s(b)]||se;var Ke=J[M.level]||_t;return F(gr)?fe(gr,Ke,Be):{}};w.hasMultipleRoots&&P&&z++,M._maxDepth=z,M._backgroundColor=_.paper_bgcolor,M._entryDepth=v.data.depth,M._atRootLevel=P;var j=-I/2+B.l+B.w*(O.x[1]+O.x[0])/2,ee=-N/2+B.t+B.h*(1-(O.y[1]+O.y[0])/2),ie=function(gr){return j+gr},ce=function(gr){return ee+gr},xe=ce(0),Te=ie(0),Ue=function(gr){return Te+gr},Ie=function(gr){return xe+gr};function Ye(gr,br){return gr+","+br}var it=Ue(0),at=function(gr){gr.x=Math.max(it,gr.x)},tt=M.pathbar.edgeshape,ut=function(gr){var br=Ue(Math.max(Math.min(gr.x0,gr.x0),0)),_t=Ue(Math.min(Math.max(gr.x1,gr.x1),U)),Be=Ie(gr.y0),Ke=Ie(gr.y1),je=W/2,Se={},He={};Se.x=br,He.x=_t,Se.y=He.y=(Be+Ke)/2;var Ee={x:br,y:Be},we={x:_t,y:Be},Le={x:_t,y:Ke},nt={x:br,y:Ke};return tt===">"?(Ee.x-=je,we.x-=je,Le.x-=je,nt.x-=je):tt==="/"?(Le.x-=je,nt.x-=je,Se.x-=je/2,He.x-=je/2):tt==="\\"?(Ee.x-=je,we.x-=je,Se.x-=je/2,He.x-=je/2):tt==="<"&&(Se.x-=je,He.x-=je),at(Ee),at(nt),at(Se),at(we),at(Le),at(He),"M"+Ye(Ee.x,Ee.y)+"L"+Ye(we.x,we.y)+"L"+Ye(He.x,He.y)+"L"+Ye(Le.x,Le.y)+"L"+Ye(nt.x,nt.y)+"L"+Ye(Se.x,Se.y)+"Z"},Me=M[m?"tiling":"marker"].pad,pe=function(gr){return M.textposition.indexOf(gr)!==-1},ue=pe("top"),Oe=pe("left"),rt=pe("right"),ot=pe("bottom"),et=function(gr){var br=ie(gr.x0),_t=ie(gr.x1),Be=ce(gr.y0),Ke=ce(gr.y1),je=_t-br,Se=Ke-Be;if(!je||!Se)return"";var He=M.marker.cornerradius||0,Ee=Math.min(He,je/2,Se/2);Ee&&gr.data&&gr.data.data&&gr.data.data.label&&(ue&&(Ee=Math.min(Ee,Me.t)),Oe&&(Ee=Math.min(Ee,Me.l)),rt&&(Ee=Math.min(Ee,Me.r)),ot&&(Ee=Math.min(Ee,Me.b)));var we=function(Le,nt){return Ee?"a"+Ye(Ee,Ee)+" 0 0 1 "+Ye(Le,nt):""};return"M"+Ye(br,Be+Ee)+we(Ee,-Ee)+"L"+Ye(_t-Ee,Be)+we(Ee,Ee)+"L"+Ye(_t,Ke-Ee)+we(-Ee,Ee)+"L"+Ye(br+Ee,Ke)+we(-Ee,-Ee)+"Z"},Lt=function(gr,br){var _t=gr.x0,Be=gr.x1,Ke=gr.y0,je=gr.y1,Se=gr.textBB,He=ue||br.isHeader&&!ot,Ee=He?"start":ot?"end":"middle",we=pe("right"),Le=pe("left")||br.onPathbar,nt=Le?-1:we?1:0;if(br.isHeader){if(_t+=(m?Me:Me.l)-e,Be-=(m?Me:Me.r)-e,_t>=Be){var pt=(_t+Be)/2;_t=pt,Be=pt}var bt;ot?(bt=je-(m?Me:Me.b),Ke-1,flipY:O.tiling.flip.indexOf("y")>-1,pad:{inner:O.tiling.pad,top:O.marker.pad.t,left:O.marker.pad.l,right:O.marker.pad.r,bottom:O.marker.pad.b}}),le=Q.descendants(),se=1/0,fe=-1/0;le.forEach(function(re){var ae=re.depth;ae>=O._maxDepth?(re.x0=re.x1=(re.x0+re.x1)/2,re.y0=re.y1=(re.y0+re.y1)/2):(se=Math.min(se,ae),fe=Math.max(fe,ae))}),d=d.data(le,o.getPtId),O._maxVisibleLayers=isFinite(fe)?fe-se+1:0,d.enter().append("g").classed("slice",!0),u(d,a,L,[l,_],E),d.order();var G=null;if(v&&P){var $=o.getPtId(P);d.each(function(re){G===null&&o.getPtId(re)===$&&(G={x0:re.x0,x1:re.x1,y0:re.y0,y1:re.y1})})}var J=function(){return G||{x0:0,x1:l,y0:0,y1:_}},X=d;return v&&(X=X.transition().each("end",function(){var re=g.select(this);o.setSliceCursor(re,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(re){var ae=o.isHeader(re,O);re._x0=w(re.x0),re._x1=w(re.x1),re._y0=M(re.y0),re._y1=M(re.y1),re._hoverX=w(re.x1-O.marker.pad.r),re._hoverY=M(U?re.y1-O.marker.pad.b/2:re.y0+O.marker.pad.t/2);var j=g.select(this),ee=x.ensureSingle(j,"path","surface",function(Ie){Ie.style("pointer-events",z?"none":"all")});v?ee.transition().attrTween("d",function(Ie){var Ye=y(Ie,a,J(),[l,_]);return function(it){return E(Ye(it))}}):ee.attr("d",E),j.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ee.call(t,re,O,c,{hovered:!1}),re.x0===re.x1||re.y0===re.y1?re._text="":ae?re._text=W?"":o.getPtLabel(re)||"":re._text=i(re,p,O,h,F)||"";var ie=x.ensureSingle(j,"g","slicetext"),ce=x.ensureSingle(ie,"text","",function(Ie){Ie.attr("data-notex",1)}),xe=x.ensureUniformFontSize(c,o.determineTextFont(O,re,F.font)),Te=re._text||" ",Ue=ae&&Te.indexOf("
")===-1;ce.text(Te).classed("slicetext",!0).attr("text-anchor",N?"end":I||Ue?"start":"middle").call(A.font,xe).call(S.convertToTspans,c),re.textBB=A.bBox(ce.node()),re.transform=m(re,{fontSize:xe.size,isHeader:ae}),re.transform.fontSize=xe.size,v?ce.transition().attrTween("transform",function(Ie){var Ye=f(Ie,a,J(),[l,_]);return function(it){return b(Ye(it))}}):ce.attr("transform",b(re))}),G}}}),$P=ke({"src/traces/treemap/plot.js"(Z,H){"use strict";var g=XT(),x=JP();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:"treemap",drawDescendants:x})}}}),QP=ke({"src/traces/treemap/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"treemap",basePlotModule:WP(),categories:[],animatable:!0,attributes:Vx(),layoutAttributes:qT(),supplyDefaults:XP(),supplyLayoutDefaults:ZP(),calc:HT().calc,crossTraceCalc:HT().crossTraceCalc,plot:$P(),style:qx().style,colorbar:Bh(),meta:{}}}}),eI=ke({"lib/treemap.js"(Z,H){"use strict";H.exports=QP()}}),tI=ke({"src/traces/icicle/base_plot.js"(Z){"use strict";var H=Zu();Z.name="icicle",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),ZT=ke({"src/traces/icicle/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Vx(),o=Km(),n=To().extendFlat,i=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"plot"},flip:r.tiling.flip,pad:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},marker:n({colors:t.marker.colors,line:t.marker.line,pattern:i,editType:"calc"},A("marker",{colorAttr:"colors",anim:!1})),leaf:t.leaf,pathbar:r.pathbar,text:e.text,textinfo:t.textinfo,texttemplate:x({editType:"plot"},{keys:o.eventDataKeys.concat(["label","value"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:o.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:r.outsidetextfont,textposition:r.textposition,sort:e.sort,root:t.root,domain:S({name:"icicle",trace:!0,editType:"calc"})}}}),YT=ke({"src/traces/icicle/layout_attributes.js"(Z,H){"use strict";H.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),rI=ke({"src/traces/icicle/defaults.js"(Z,H){"use strict";var g=un(),x=ZT(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(b,v){return g.coerce(s,c,x,b,v)}var T=d("labels"),l=d("parents");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d("values");_&&_.length?d("branchvalues"):d("count"),d("level"),d("maxdepth"),d("tiling.orientation"),d("tiling.flip"),d("tiling.pad");var w=d("text");d("texttemplate"),c.texttemplate||d("textinfo",g.isArrayOrTypedArray(w)?"text+label":"label"),d("hovertext"),d("hovertemplate");var M=d("pathbar.visible"),E="auto";e(s,c,p,d,E,{hasPathbar:M,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d("textposition"),r(s,c,p,d);var m=c._hasColorscale=n(s,"marker","colors")||(s.marker||{}).coloraxis;m&&i(s,c,p,d,{prefix:"marker.",cLetter:"c"}),d("leaf.opacity",m?1:.7),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},M&&(d("pathbar.thickness",c.pathbar.textfont.size+2*t),d("pathbar.side"),d("pathbar.edgeshape")),d("sort"),d("root.color"),S(c,p,d),c._length=null}}}),nI=ke({"src/traces/icicle/layout_defaults.js"(Z,H){"use strict";var g=un(),x=YT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("iciclecolorway",e.colorway),t("extendiciclecolors")}}}),KT=ke({"src/traces/icicle/calc.js"(Z){"use strict";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc("icicle",g)}}}),iI=ke({"src/traces/icicle/partition.js"(Z,H){"use strict";var g=A0(),x=GT();H.exports=function(S,e,t){var r=t.flipX,o=t.flipY,n=t.orientation==="h",i=t.maxDepth,a=e[0],s=e[1];i&&(a=(S.height+1)*e[0]/Math.min(S.height+1,i),s=(S.height+1)*e[1]/Math.min(S.height+1,i));var c=g.partition().padding(t.pad.inner).size(n?[e[1],a]:[e[0],s])(S);return(n||r||o)&&x(c,e,{swapXY:n,flipX:r,flipY:o}),c}}}),JT=ke({"src/traces/icicle/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._iciclelayer.selectAll(".trace");S(o,n,"icicle"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style("opacity",c.opacity),a.selectAll("path.surface").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,"marker.line.color")||x.defaultLine,d=A.castOption(i,h,"marker.line.width")||0;o.call(e,n,i,a).style("stroke-width",d).call(x.stroke,p).style("opacity",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),aI=ke({"src/traces/icicle/draw_descendants.js"(Z,H){"use strict";var g=_i(),x=un(),A=$o(),S=Wl(),e=iI(),t=JT().styleOne,r=Km(),o=tp(),n=j0(),i=jx().formatSliceLabel,a=!1;H.exports=function(c,h,p,d,T){var l=T.width,_=T.height,w=T.viewX,M=T.viewY,E=T.pathSlice,m=T.toMoveInsideSlice,b=T.strTransform,v=T.hasTransition,u=T.handleSlicesExit,y=T.makeUpdateSliceInterpolator,f=T.makeUpdateTextInterpolator,P=T.prevEntry,L={},z=c._context.staticPlot,F=c._fullLayout,B=h[0],O=B.trace,I=O.textposition.indexOf("left")!==-1,N=O.textposition.indexOf("right")!==-1,U=O.textposition.indexOf("bottom")!==-1,W=e(p,[l,_],{flipX:O.tiling.flip.indexOf("x")>-1,flipY:O.tiling.flip.indexOf("y")>-1,orientation:O.tiling.orientation,pad:{inner:O.tiling.pad},maxDepth:O._maxDepth}),Q=W.descendants(),le=1/0,se=-1/0;Q.forEach(function(X){var re=X.depth;re>=O._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(le=Math.min(le,re),se=Math.max(se,re))}),d=d.data(Q,o.getPtId),O._maxVisibleLayers=isFinite(se)?se-le+1:0,d.enter().append("g").classed("slice",!0),u(d,a,L,[l,_],E),d.order();var fe=null;if(v&&P){var G=o.getPtId(P);d.each(function(X){fe===null&&o.getPtId(X)===G&&(fe={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var $=function(){return fe||{x0:0,x1:l,y0:0,y1:_}},J=d;return v&&(J=J.transition().each("end",function(){var X=g.select(this);o.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),J.each(function(X){X._x0=w(X.x0),X._x1=w(X.x1),X._y0=M(X.y0),X._y1=M(X.y1),X._hoverX=w(X.x1-O.tiling.pad),X._hoverY=M(U?X.y1-O.tiling.pad/2:X.y0+O.tiling.pad/2);var re=g.select(this),ae=x.ensureSingle(re,"path","surface",function(ce){ce.style("pointer-events",z?"none":"all")});v?ae.transition().attrTween("d",function(ce){var xe=y(ce,a,$(),[l,_],{orientation:O.tiling.orientation,flipX:O.tiling.flip.indexOf("x")>-1,flipY:O.tiling.flip.indexOf("y")>-1});return function(Te){return E(xe(Te))}}):ae.attr("d",E),re.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ae.call(t,X,O,c,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=i(X,p,O,h,F)||"";var j=x.ensureSingle(re,"g","slicetext"),ee=x.ensureSingle(j,"text","",function(ce){ce.attr("data-notex",1)}),ie=x.ensureUniformFontSize(c,o.determineTextFont(O,X,F.font));ee.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",N?"end":I?"start":"middle").call(A.font,ie).call(S.convertToTspans,c),X.textBB=A.bBox(ee.node()),X.transform=m(X,{fontSize:ie.size}),X.transform.fontSize=ie.size,v?ee.transition().attrTween("transform",function(ce){var xe=f(ce,a,$(),[l,_]);return function(Te){return b(xe(Te))}}):ee.attr("transform",b(X))}),fe}}}),oI=ke({"src/traces/icicle/plot.js"(Z,H){"use strict";var g=XT(),x=aI();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:"icicle",drawDescendants:x})}}}),sI=ke({"src/traces/icicle/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"icicle",basePlotModule:tI(),categories:[],animatable:!0,attributes:ZT(),layoutAttributes:YT(),supplyDefaults:rI(),supplyLayoutDefaults:nI(),calc:KT().calc,crossTraceCalc:KT().crossTraceCalc,plot:oI(),style:JT().style,colorbar:Bh(),meta:{}}}}),lI=ke({"lib/icicle.js"(Z,H){"use strict";H.exports=sI()}}),uI=ke({"src/traces/funnelarea/base_plot.js"(Z){"use strict";var H=Zu();Z.name="funnelarea",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),$T=ke({"src/traces/funnelarea/attributes.js"(Z,H){"use strict";var g=Vm(),x=Ol(),A=Yu().attributes,S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=To().extendFlat;H.exports={labels:g.labels,label0:g.label0,dlabel:g.dlabel,values:g.values,marker:{colors:g.marker.colors,line:{color:t({},g.marker.line.color,{dflt:null}),width:t({},g.marker.line.width,{dflt:1}),editType:"calc"},pattern:g.marker.pattern,editType:"calc"},text:g.text,hovertext:g.hovertext,scalegroup:t({},g.scalegroup,{}),textinfo:t({},g.textinfo,{flags:["label","text","value","percent"]}),texttemplate:e({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:t({},x.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:S({},{keys:["label","color","value","text","percent"]}),textposition:t({},g.textposition,{values:["inside","none"],dflt:"inside"}),textfont:g.textfont,insidetextfont:g.insidetextfont,title:{text:g.title.text,font:g.title.font,position:t({},g.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:A({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}}}),QT=ke({"src/traces/funnelarea/layout_attributes.js"(Z,H){"use strict";var g=cx().hiddenlabels;H.exports={hiddenlabels:g,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),cI=ke({"src/traces/funnelarea/defaults.js"(Z,H){"use strict";var g=un(),x=$T(),A=Yu().defaults,S=Od().handleText,e=qm().handleLabelsAndValues,t=qm().handleMarkerDefaults;H.exports=function(o,n,i,a){function s(E,m){return g.coerce(o,n,x,E,m)}var c=s("labels"),h=s("values"),p=e(c,h),d=p.len;if(n._hasLabels=p.hasLabels,n._hasValues=p.hasValues,!n._hasLabels&&n._hasValues&&(s("label0"),s("dlabel")),!d){n.visible=!1;return}n._length=d,t(o,n,a,s),s("scalegroup");var T=s("text"),l=s("texttemplate"),_;if(l||(_=s("textinfo",Array.isArray(T)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),l||_&&_!=="none"){var w=s("textposition");S(o,n,a,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}else _==="none"&&s("textposition","none");A(n,a,s);var M=s("title.text");M&&(s("title.position"),g.coerceFont(s,"title.font",a.font)),s("aspectratio"),s("baseratio")}}}),fI=ke({"src/traces/funnelarea/layout_defaults.js"(Z,H){"use strict";var g=un(),x=QT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("hiddenlabels"),t("funnelareacolorway",e.colorway),t("extendfunnelareacolors")}}}),eA=ke({"src/traces/funnelarea/calc.js"(Z,H){"use strict";var g=sy();function x(S,e){return g.calc(S,e)}function A(S){g.crossTraceCalc(S,{type:"funnelarea"})}H.exports={calc:x,crossTraceCalc:A}}}),hI=ke({"src/traces/funnelarea/plot.js"(Z,H){"use strict";var g=_i(),x=$o(),A=un(),S=A.strScale,e=A.strTranslate,t=Wl(),r=Bm(),o=r.toMoveInsideBar,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Fp(),c=fx(),h=c.attachFxHandlers,p=c.determineInsideTextFont,d=c.layoutAreas,T=c.prerenderTitles,l=c.positionTitleOutside,_=c.formatSliceLabel;H.exports=function(b,v){var u=b._context.staticPlot,y=b._fullLayout;a("funnelarea",y),T(v,b),d(v,y._size),A.makeTraceGroups(y._funnelarealayer,v,"trace").each(function(f){var P=g.select(this),L=f[0],z=L.trace;E(f),P.each(function(){var F=g.select(this).selectAll("g.slice").data(f);F.enter().append("g").classed("slice",!0),F.exit().remove(),F.each(function(O,I){if(O.hidden){g.select(this).selectAll("path,g").remove();return}O.pointNumber=O.i,O.curveNumber=z.index;var N=L.cx,U=L.cy,W=g.select(this),Q=W.selectAll("path.surface").data([O]);Q.enter().append("path").classed("surface",!0).style({"pointer-events":u?"none":"all"}),W.call(h,b,f);var le="M"+(N+O.TR[0])+","+(U+O.TR[1])+w(O.TR,O.BR)+w(O.BR,O.BL)+w(O.BL,O.TL)+"Z";Q.attr("d",le),_(b,O,L);var se=s.castOption(z.textposition,O.pts),fe=W.selectAll("g.slicetext").data(O.text&&se!=="none"?[0]:[]);fe.enter().append("g").classed("slicetext",!0),fe.exit().remove(),fe.each(function(){var G=A.ensureSingle(g.select(this),"text","",function(ie){ie.attr("data-notex",1)}),$=A.ensureUniformFontSize(b,p(z,O,y.font));G.text(O.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(x.font,$).call(t.convertToTspans,b);var J=x.bBox(G.node()),X,re,ae,j=Math.min(O.BL[1],O.BR[1])+U,ee=Math.max(O.TL[1],O.TR[1])+U;re=Math.max(O.TL[0],O.BL[0])+N,ae=Math.min(O.TR[0],O.BR[0])+N,X=o(re,ae,j,ee,J,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"}),X.fontSize=$.size,i(z.type,X,y),f[I].transform=X,A.setTransormAndDisplay(G,X)})});var B=g.select(this).selectAll("g.titletext").data(z.title.text?[0]:[]);B.enter().append("g").classed("titletext",!0),B.exit().remove(),B.each(function(){var O=A.ensureSingle(g.select(this),"text","",function(U){U.attr("data-notex",1)}),I=z.title.text;z._meta&&(I=A.templateString(I,z._meta)),O.text(I).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(x.font,z.title.font).call(t.convertToTspans,b);var N=l(L,y._size);O.attr("transform",e(N.x,N.y)+S(Math.min(1,N.scale))+e(N.tx,N.ty))})})})};function w(m,b){var v=b[0]-m[0],u=b[1]-m[1];return"l"+v+","+u}function M(m,b){return[.5*(m[0]+b[0]),.5*(m[1]+b[1])]}function E(m){if(!m.length)return;var b=m[0],v=b.trace,u=v.aspectratio,y=v.baseratio;y>.999&&(y=.999);var f=Math.pow(y,2),P=b.vTotal,L=P*f/(1-f),z=P,F=L/P;function B(){var ce=Math.sqrt(F);return{x:ce,y:-ce}}function O(){var ce=B();return[ce.x,ce.y]}var I,N=[];N.push(O());var U,W;for(U=m.length-1;U>-1;U--)if(W=m[U],!W.hidden){var Q=W.v/z;F+=Q,N.push(O())}var le=1/0,se=-1/0;for(U=0;U-1;U--)if(W=m[U],!W.hidden){j+=1;var ee=N[j][0],ie=N[j][1];W.TL=[-ee,ie],W.TR=[ee,ie],W.BL=re,W.BR=ae,W.pxmid=M(W.TR,W.BR),re=W.TL,ae=W.TR}}}}),dI=ke({"src/traces/funnelarea/style.js"(Z,H){"use strict";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(".trace");A(e,t,"funnelarea"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll("path.surface").each(function(a){g.select(this).call(x,a,n,e)})})}}}),vI=ke({"src/traces/funnelarea/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"funnelarea",basePlotModule:uI(),categories:["pie-like","funnelarea","showLegend"],attributes:$T(),layoutAttributes:QT(),supplyDefaults:cI(),supplyLayoutDefaults:fI(),calc:eA().calc,crossTraceCalc:eA().crossTraceCalc,plot:hI(),style:dI(),styleOne:Wg(),meta:{}}}}),pI=ke({"lib/funnelarea.js"(Z,H){"use strict";H.exports=vI()}}),Mh=ke({"stackgl_modules/index.js"(Z,H){(function(){var g={1964:function(e,t,r){e.exports={alpha_shape:r(3502),convex_hull:r(7352),delaunay_triangulate:r(7642),gl_cone3d:r(6405),gl_error3d:r(9165),gl_line3d:r(5714),gl_mesh3d:r(7201),gl_plot3d:r(4100),gl_scatter3d:r(8418),gl_streamtube3d:r(7815),gl_surface3d:r(9499),ndarray:r(9618),ndarray_linear_interpolate:r(4317)}},4793:function(e,t,r){"use strict";var o;function n(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function i(Ee,we){for(var Le=0;Lev)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');var we=new Uint8Array(Ee);return Object.setPrototypeOf(we,f.prototype),we}function f(Ee,we,Le){if(typeof Ee=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return F(Ee)}return P(Ee,we,Le)}f.poolSize=8192;function P(Ee,we,Le){if(typeof Ee=="string")return B(Ee,we);if(ArrayBuffer.isView(Ee))return I(Ee);if(Ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+M(Ee));if(Be(Ee,ArrayBuffer)||Ee&&Be(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Be(Ee,SharedArrayBuffer)||Ee&&Be(Ee.buffer,SharedArrayBuffer)))return N(Ee,we,Le);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var nt=Ee.valueOf&&Ee.valueOf();if(nt!=null&&nt!==Ee)return f.from(nt,we,Le);var pt=U(Ee);if(pt)return pt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return f.from(Ee[Symbol.toPrimitive]("string"),we,Le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+M(Ee))}f.from=function(Ee,we,Le){return P(Ee,we,Le)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function L(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function z(Ee,we,Le){return L(Ee),Ee<=0?y(Ee):we!==void 0?typeof Le=="string"?y(Ee).fill(we,Le):y(Ee).fill(we):y(Ee)}f.alloc=function(Ee,we,Le){return z(Ee,we,Le)};function F(Ee){return L(Ee),y(Ee<0?0:W(Ee)|0)}f.allocUnsafe=function(Ee){return F(Ee)},f.allocUnsafeSlow=function(Ee){return F(Ee)};function B(Ee,we){if((typeof we!="string"||we==="")&&(we="utf8"),!f.isEncoding(we))throw new TypeError("Unknown encoding: "+we);var Le=le(Ee,we)|0,nt=y(Le),pt=nt.write(Ee,we);return pt!==Le&&(nt=nt.slice(0,pt)),nt}function O(Ee){for(var we=Ee.length<0?0:W(Ee.length)|0,Le=y(we),nt=0;nt=v)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v.toString(16)+" bytes");return Ee|0}function Q(Ee){return+Ee!=Ee&&(Ee=0),f.alloc(+Ee)}f.isBuffer=function(we){return we!=null&&we._isBuffer===!0&&we!==f.prototype},f.compare=function(we,Le){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),Be(Le,Uint8Array)&&(Le=f.from(Le,Le.offset,Le.byteLength)),!f.isBuffer(we)||!f.isBuffer(Le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(we===Le)return 0;for(var nt=we.length,pt=Le.length,bt=0,Rt=Math.min(nt,pt);btpt.length?(f.isBuffer(Rt)||(Rt=f.from(Rt)),Rt.copy(pt,bt)):Uint8Array.prototype.set.call(pt,Rt,bt);else if(f.isBuffer(Rt))Rt.copy(pt,bt);else throw new TypeError('"list" argument must be an Array of Buffers');bt+=Rt.length}return pt};function le(Ee,we){if(f.isBuffer(Ee))return Ee.length;if(ArrayBuffer.isView(Ee)||Be(Ee,ArrayBuffer))return Ee.byteLength;if(typeof Ee!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+M(Ee));var Le=Ee.length,nt=arguments.length>2&&arguments[2]===!0;if(!nt&&Le===0)return 0;for(var pt=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":return ar(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le*2;case"hex":return Le>>>1;case"base64":return br(Ee).length;default:if(pt)return nt?-1:ar(Ee).length;we=(""+we).toLowerCase(),pt=!0}}f.byteLength=le;function se(Ee,we,Le){var nt=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,we>>>=0,Le<=we))return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return Ie(this,we,Le);case"utf8":case"utf-8":return ie(this,we,Le);case"ascii":return Te(this,we,Le);case"latin1":case"binary":return Ue(this,we,Le);case"base64":return ee(this,we,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,we,Le);default:if(nt)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),nt=!0}}f.prototype._isBuffer=!0;function fe(Ee,we,Le){var nt=Ee[we];Ee[we]=Ee[Le],Ee[Le]=nt}f.prototype.swap16=function(){var we=this.length;if(we%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Le=0;LeLe&&(we+=" ... "),""},b&&(f.prototype[b]=f.prototype.inspect),f.prototype.compare=function(we,Le,nt,pt,bt){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),!f.isBuffer(we))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+M(we));if(Le===void 0&&(Le=0),nt===void 0&&(nt=we?we.length:0),pt===void 0&&(pt=0),bt===void 0&&(bt=this.length),Le<0||nt>we.length||pt<0||bt>this.length)throw new RangeError("out of range index");if(pt>=bt&&Le>=nt)return 0;if(pt>=bt)return-1;if(Le>=nt)return 1;if(Le>>>=0,nt>>>=0,pt>>>=0,bt>>>=0,this===we)return 0;for(var Rt=bt-pt,Nt=nt-Le,Xt=Math.min(Rt,Nt),$t=this.slice(pt,bt),ur=we.slice(Le,nt),pn=0;pn2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,Ke(Le)&&(Le=pt?0:Ee.length-1),Le<0&&(Le=Ee.length+Le),Le>=Ee.length){if(pt)return-1;Le=Ee.length-1}else if(Le<0)if(pt)Le=0;else return-1;if(typeof we=="string"&&(we=f.from(we,nt)),f.isBuffer(we))return we.length===0?-1:$(Ee,we,Le,nt,pt);if(typeof we=="number")return we=we&255,typeof Uint8Array.prototype.indexOf=="function"?pt?Uint8Array.prototype.indexOf.call(Ee,we,Le):Uint8Array.prototype.lastIndexOf.call(Ee,we,Le):$(Ee,[we],Le,nt,pt);throw new TypeError("val must be string, number or Buffer")}function $(Ee,we,Le,nt,pt){var bt=1,Rt=Ee.length,Nt=we.length;if(nt!==void 0&&(nt=String(nt).toLowerCase(),nt==="ucs2"||nt==="ucs-2"||nt==="utf16le"||nt==="utf-16le")){if(Ee.length<2||we.length<2)return-1;bt=2,Rt/=2,Nt/=2,Le/=2}function Xt(Nn,On){return bt===1?Nn[On]:Nn.readUInt16BE(On*bt)}var $t;if(pt){var ur=-1;for($t=Le;$tRt&&(Le=Rt-Nt),$t=Le;$t>=0;$t--){for(var pn=!0,Rn=0;Rnpt&&(nt=pt)):nt=pt;var bt=we.length;nt>bt/2&&(nt=bt/2);var Rt;for(Rt=0;Rt>>0,isFinite(nt)?(nt=nt>>>0,pt===void 0&&(pt="utf8")):(pt=nt,nt=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var bt=this.length-Le;if((nt===void 0||nt>bt)&&(nt=bt),we.length>0&&(nt<0||Le<0)||Le>this.length)throw new RangeError("Attempt to write outside buffer bounds");pt||(pt="utf8");for(var Rt=!1;;)switch(pt){case"hex":return J(this,we,Le,nt);case"utf8":case"utf-8":return X(this,we,Le,nt);case"ascii":case"latin1":case"binary":return re(this,we,Le,nt);case"base64":return ae(this,we,Le,nt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,we,Le,nt);default:if(Rt)throw new TypeError("Unknown encoding: "+pt);pt=(""+pt).toLowerCase(),Rt=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ee(Ee,we,Le){return we===0&&Le===Ee.length?E.fromByteArray(Ee):E.fromByteArray(Ee.slice(we,Le))}function ie(Ee,we,Le){Le=Math.min(Ee.length,Le);for(var nt=[],pt=we;pt239?4:bt>223?3:bt>191?2:1;if(pt+Nt<=Le){var Xt=void 0,$t=void 0,ur=void 0,pn=void 0;switch(Nt){case 1:bt<128&&(Rt=bt);break;case 2:Xt=Ee[pt+1],(Xt&192)===128&&(pn=(bt&31)<<6|Xt&63,pn>127&&(Rt=pn));break;case 3:Xt=Ee[pt+1],$t=Ee[pt+2],(Xt&192)===128&&($t&192)===128&&(pn=(bt&15)<<12|(Xt&63)<<6|$t&63,pn>2047&&(pn<55296||pn>57343)&&(Rt=pn));break;case 4:Xt=Ee[pt+1],$t=Ee[pt+2],ur=Ee[pt+3],(Xt&192)===128&&($t&192)===128&&(ur&192)===128&&(pn=(bt&15)<<18|(Xt&63)<<12|($t&63)<<6|ur&63,pn>65535&&pn<1114112&&(Rt=pn))}}Rt===null?(Rt=65533,Nt=1):Rt>65535&&(Rt-=65536,nt.push(Rt>>>10&1023|55296),Rt=56320|Rt&1023),nt.push(Rt),pt+=Nt}return xe(nt)}var ce=4096;function xe(Ee){var we=Ee.length;if(we<=ce)return String.fromCharCode.apply(String,Ee);for(var Le="",nt=0;ntnt)&&(Le=nt);for(var pt="",bt=we;btnt&&(we=nt),Le<0?(Le+=nt,Le<0&&(Le=0)):Le>nt&&(Le=nt),LeLe)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we+--Le],bt=1;Le>0&&(bt*=256);)pt+=this[we+--Le]*bt;return pt},f.prototype.readUint8=f.prototype.readUInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]|this[we+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]<<8|this[we+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+this[we+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]*16777216+(this[we+1]<<16|this[we+2]<<8|this[we+3])},f.prototype.readBigUInt64LE=Se(function(we){we=we>>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,24),bt=this[++we]+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+nt*Math.pow(2,24);return BigInt(pt)+(BigInt(bt)<>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we],bt=this[++we]*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+nt;return(BigInt(pt)<>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt=bt&&(pt-=Math.pow(2,8*Le)),pt},f.prototype.readIntBE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=Le,bt=1,Rt=this[we+--pt];pt>0&&(bt*=256);)Rt+=this[we+--pt]*bt;return bt*=128,Rt>=bt&&(Rt-=Math.pow(2,8*Le)),Rt},f.prototype.readInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]&128?(255-this[we]+1)*-1:this[we]},f.prototype.readInt16LE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we]|this[we+1]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt16BE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we+1]|this[we]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},f.prototype.readInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},f.prototype.readBigInt64LE=Se(function(we){we=we>>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=this[we+4]+this[we+5]*Math.pow(2,8)+this[we+6]*Math.pow(2,16)+(nt<<24);return(BigInt(pt)<>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=(Le<<24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we];return(BigInt(pt)<>>0,Le||it(we,4,this.length),m.read(this,we,!0,23,4)},f.prototype.readFloatBE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),m.read(this,we,!1,23,4)},f.prototype.readDoubleLE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!0,52,8)},f.prototype.readDoubleBE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!1,52,8)};function at(Ee,we,Le,nt,pt,bt){if(!f.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>pt||weEe.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=1,Nt=0;for(this[Le]=we&255;++Nt>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=nt-1,Nt=1;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)this[Le+Rt]=we/Nt&255;return Le+nt},f.prototype.writeUint8=f.prototype.writeUInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,255,0),this[Le]=we&255,Le+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le+3]=we>>>24,this[Le+2]=we>>>16,this[Le+1]=we>>>8,this[Le]=we&255,Le+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4};function tt(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Le}function ut(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le+7]=bt,bt=bt>>8,Ee[Le+6]=bt,bt=bt>>8,Ee[Le+5]=bt,bt=bt>>8,Ee[Le+4]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le+3]=Rt,Rt=Rt>>8,Ee[Le+2]=Rt,Rt=Rt>>8,Ee[Le+1]=Rt,Rt=Rt>>8,Ee[Le]=Rt,Le+8}f.prototype.writeBigUInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=0,Nt=1,Xt=0;for(this[Le]=we&255;++Rt>0)-Xt&255;return Le+nt},f.prototype.writeIntBE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=nt-1,Nt=1,Xt=0;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)we<0&&Xt===0&&this[Le+Rt+1]!==0&&(Xt=1),this[Le+Rt]=(we/Nt>>0)-Xt&255;return Le+nt},f.prototype.writeInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,127,-128),we<0&&(we=255+we+1),this[Le]=we&255,Le+1},f.prototype.writeInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),this[Le]=we&255,this[Le+1]=we>>>8,this[Le+2]=we>>>16,this[Le+3]=we>>>24,Le+4},f.prototype.writeInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4},f.prototype.writeBigInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Me(Ee,we,Le,nt,pt,bt){if(Le+nt>Ee.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function pe(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,4,34028234663852886e22,-34028234663852886e22),m.write(Ee,we,Le,nt,23,4),Le+4}f.prototype.writeFloatLE=function(we,Le,nt){return pe(this,we,Le,!0,nt)},f.prototype.writeFloatBE=function(we,Le,nt){return pe(this,we,Le,!1,nt)};function ue(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,8,17976931348623157e292,-17976931348623157e292),m.write(Ee,we,Le,nt,52,8),Le+8}f.prototype.writeDoubleLE=function(we,Le,nt){return ue(this,we,Le,!0,nt)},f.prototype.writeDoubleBE=function(we,Le,nt){return ue(this,we,Le,!1,nt)},f.prototype.copy=function(we,Le,nt,pt){if(!f.isBuffer(we))throw new TypeError("argument should be a Buffer");if(nt||(nt=0),!pt&&pt!==0&&(pt=this.length),Le>=we.length&&(Le=we.length),Le||(Le=0),pt>0&&pt=this.length)throw new RangeError("Index out of range");if(pt<0)throw new RangeError("sourceEnd out of bounds");pt>this.length&&(pt=this.length),we.length-Le>>0,nt=nt===void 0?this.length:nt>>>0,we||(we=0);var Rt;if(typeof we=="number")for(Rt=Le;RtMath.pow(2,32)?pt=ot(String(Le)):typeof Le=="bigint"&&(pt=String(Le),(Le>Math.pow(BigInt(2),BigInt(32))||Le<-Math.pow(BigInt(2),BigInt(32)))&&(pt=ot(pt)),pt+="n"),nt+=" It must be ".concat(we,". Received ").concat(pt),nt},RangeError);function ot(Ee){for(var we="",Le=Ee.length,nt=Ee[0]==="-"?1:0;Le>=nt+4;Le-=3)we="_".concat(Ee.slice(Le-3,Le)).concat(we);return"".concat(Ee.slice(0,Le)).concat(we)}function et(Ee,we,Le){Et(we,"offset"),(Ee[we]===void 0||Ee[we+Le]===void 0)&&Bt(we,Ee.length-(Le+1))}function Lt(Ee,we,Le,nt,pt,bt){if(Ee>Le||Ee3?we===0||we===BigInt(0)?Nt=">= 0".concat(Rt," and < 2").concat(Rt," ** ").concat((bt+1)*8).concat(Rt):Nt=">= -(2".concat(Rt," ** ").concat((bt+1)*8-1).concat(Rt,") and < 2 ** ")+"".concat((bt+1)*8-1).concat(Rt):Nt=">= ".concat(we).concat(Rt," and <= ").concat(Le).concat(Rt),new Oe.ERR_OUT_OF_RANGE("value",Nt,Ee)}et(nt,pt,bt)}function Et(Ee,we){if(typeof Ee!="number")throw new Oe.ERR_INVALID_ARG_TYPE(we,"number",Ee)}function Bt(Ee,we,Le){throw Math.floor(Ee)!==Ee?(Et(Ee,Le),new Oe.ERR_OUT_OF_RANGE(Le||"offset","an integer",Ee)):we<0?new Oe.ERR_BUFFER_OUT_OF_BOUNDS:new Oe.ERR_OUT_OF_RANGE(Le||"offset",">= ".concat(Le?1:0," and <= ").concat(we),Ee)}var qt=/[^+/0-9A-Za-z-_]/g;function fr(Ee){if(Ee=Ee.split("=")[0],Ee=Ee.trim().replace(qt,""),Ee.length<2)return"";for(;Ee.length%4!==0;)Ee=Ee+"=";return Ee}function ar(Ee,we){we=we||1/0;for(var Le,nt=Ee.length,pt=null,bt=[],Rt=0;Rt55295&&Le<57344){if(!pt){if(Le>56319){(we-=3)>-1&&bt.push(239,191,189);continue}else if(Rt+1===nt){(we-=3)>-1&&bt.push(239,191,189);continue}pt=Le;continue}if(Le<56320){(we-=3)>-1&&bt.push(239,191,189),pt=Le;continue}Le=(pt-55296<<10|Le-56320)+65536}else pt&&(we-=3)>-1&&bt.push(239,191,189);if(pt=null,Le<128){if((we-=1)<0)break;bt.push(Le)}else if(Le<2048){if((we-=2)<0)break;bt.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((we-=3)<0)break;bt.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((we-=4)<0)break;bt.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error("Invalid code point")}return bt}function Rr(Ee){for(var we=[],Le=0;Le>8,pt=Le%256,bt.push(pt),bt.push(nt);return bt}function br(Ee){return E.toByteArray(fr(Ee))}function _t(Ee,we,Le,nt){var pt;for(pt=0;pt=we.length||pt>=Ee.length);++pt)we[pt+Le]=Ee[pt];return pt}function Be(Ee,we){return Ee instanceof we||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===we.name}function Ke(Ee){return Ee!==Ee}var je=function(){for(var Ee="0123456789abcdef",we=new Array(256),Le=0;Le<16;++Le)for(var nt=Le*16,pt=0;pt<16;++pt)we[nt+pt]=Ee[Le]+Ee[pt];return we}();function Se(Ee){return typeof BigInt>"u"?He:Ee}function He(){throw new Error("BigInt not supported")}},9216:function(e){"use strict";e.exports=n,e.exports.isMobile=n,e.exports.default=n;var t=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,o=/android|ipad|playbook|silk/i;function n(i){i||(i={});var a=i.ua;if(!a&&typeof navigator<"u"&&(a=navigator.userAgent),a&&a.headers&&typeof a.headers["user-agent"]=="string"&&(a=a.headers["user-agent"]),typeof a!="string")return!1;var s=t.test(a)&&!r.test(a)||!!i.tablet&&o.test(a);return!s&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&a.indexOf("Macintosh")!==-1&&a.indexOf("Safari")!==-1&&(s=!0),s}},6296:function(e,t,r){"use strict";e.exports=c;var o=r(7261),n=r(9977),i=r(1811);function a(h,p){this._controllerNames=Object.keys(h),this._controllerList=this._controllerNames.map(function(d){return h[d]}),this._mode=p,this._active=h[p],this._active||(this._mode="turntable",this._active=h.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;s.flush=function(h){for(var p=this._controllerList,d=0;d"u"?r(1538):WeakMap,n=r(2762),i=r(8116),a=new o;function s(c){var h=a.get(c),p=h&&(h._triangleBuffer.handle||h._triangleBuffer.buffer);if(!p||!c.isBuffer(p)){var d=n(c,new Float32Array([-1,-1,-1,4,4,-1]));h=i(c,[{buffer:d,type:c.FLOAT,size:2}]),h._triangleBuffer=d,a.set(c,h)}h.bind(),c.drawArrays(c.TRIANGLES,0,3),h.unbind()}e.exports=s},1085:function(e,t,r){var o=r(1371);e.exports=n;function n(i,a,s){a=typeof a=="number"?a:1,s=s||": ";var c=i.split(/\r?\n/),h=String(c.length+a-1).length;return c.map(function(p,d){var T=d+a,l=String(T).length,_=o(T,h-l);return _+s+p}).join(` +`)}},3952:function(e,t,r){"use strict";e.exports=i;var o=r(3250);function n(a,s){for(var c=new Array(s+1),h=0;h0)throw new Error("Invalid string. Length must be a multiple of 4");var E=w.indexOf("=");E===-1&&(E=M);var m=E===M?0:4-E%4;return[E,m]}function h(w){var M=c(w),E=M[0],m=M[1];return(E+m)*3/4-m}function p(w,M,E){return(M+E)*3/4-E}function d(w){var M,E=c(w),m=E[0],b=E[1],v=new n(p(w,m,b)),u=0,y=b>0?m-4:m,f;for(f=0;f>16&255,v[u++]=M>>8&255,v[u++]=M&255;return b===2&&(M=o[w.charCodeAt(f)]<<2|o[w.charCodeAt(f+1)]>>4,v[u++]=M&255),b===1&&(M=o[w.charCodeAt(f)]<<10|o[w.charCodeAt(f+1)]<<4|o[w.charCodeAt(f+2)]>>2,v[u++]=M>>8&255,v[u++]=M&255),v}function T(w){return r[w>>18&63]+r[w>>12&63]+r[w>>6&63]+r[w&63]}function l(w,M,E){for(var m,b=[],v=M;vy?y:u+v));return m===1?(M=w[E-1],b.push(r[M>>2]+r[M<<4&63]+"==")):m===2&&(M=(w[E-2]<<8)+w[E-1],b.push(r[M>>10]+r[M>>4&63]+r[M<<2&63]+"=")),b.join("")}},3865:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).add(a[0].mul(i[1])),i[1].mul(a[1]))}},1318:function(e){"use strict";e.exports=t;function t(r,o){return r[0].mul(o[1]).cmp(o[0].mul(r[1]))}},8697:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]),i[1].mul(a[0]))}},7842:function(e,t,r){"use strict";var o=r(6330),n=r(1533),i=r(2651),a=r(6768),s=r(869),c=r(8697);e.exports=h;function h(p,d){if(o(p))return d?c(p,h(d)):[p[0].clone(),p[1].clone()];var T=0,l,_;if(n(p))l=p.clone();else if(typeof p=="string")l=a(p);else{if(p===0)return[i(0),i(1)];if(p===Math.floor(p))l=i(p);else{for(;p!==Math.floor(p);)p=p*Math.pow(2,256),T-=256;l=i(p)}}if(o(d))l.mul(d[1]),_=d[0].clone();else if(n(d))_=d.clone();else if(typeof d=="string")_=a(d);else if(!d)_=i(1);else if(d===Math.floor(d))_=i(d);else{for(;d!==Math.floor(d);)d=d*Math.pow(2,256),T+=256;_=i(d)}return T>0?l=l.ushln(T):T<0&&(_=_.ushln(-T)),s(l,_)}},6330:function(e,t,r){"use strict";var o=r(1533);e.exports=n;function n(i){return Array.isArray(i)&&i.length===2&&o(i[0])&&o(i[1])}},5716:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return i.cmp(new o(0))}},1369:function(e,t,r){"use strict";var o=r(5716);e.exports=n;function n(i){var a=i.length,s=i.words,c=0;if(a===1)c=s[0];else if(a===2)c=s[0]+s[1]*67108864;else for(var h=0;h20?52:c+32}},1533:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return i&&typeof i=="object"&&!!i.words}},2651:function(e,t,r){"use strict";var o=r(6859),n=r(2361);e.exports=i;function i(a){var s=n.exponent(a);return s<52?new o(a):new o(a*Math.pow(2,52-s)).ushln(s-52)}},869:function(e,t,r){"use strict";var o=r(2651),n=r(5716);e.exports=i;function i(a,s){var c=n(a),h=n(s);if(c===0)return[o(0),o(1)];if(h===0)return[o(0),o(0)];h<0&&(a=a.neg(),s=s.neg());var p=a.gcd(s);return p.cmpn(1)?[a.div(p),s.div(p)]:[a,s]}},6768:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return new o(i)}},6504:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[0]),i[1].mul(a[1]))}},7721:function(e,t,r){"use strict";var o=r(5716);e.exports=n;function n(i){return o(i[0])*o(i[1])}},5572:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).sub(i[1].mul(a[0])),i[1].mul(a[1]))}},946:function(e,t,r){"use strict";var o=r(1369),n=r(4025);e.exports=i;function i(a){var s=a[0],c=a[1];if(s.cmpn(0)===0)return 0;var h=s.abs().divmod(c.abs()),p=h.div,d=o(p),T=h.mod,l=s.negative!==c.negative?-1:1;if(T.cmpn(0)===0)return l*d;if(d){var _=n(d)+4,w=o(T.ushln(_).divRound(c));return l*(d+w*Math.pow(2,-_))}else{var M=c.bitLength()-T.bitLength()+53,w=o(T.ushln(M).divRound(c));return M<1023?l*w*Math.pow(2,-M):(w*=Math.pow(2,-1023),l*w*Math.pow(2,1023-M))}}},2478:function(e){"use strict";function t(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>=0?(T=l,d=l-1):p=l+1}return T}function r(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>0?(T=l,d=l-1):p=l+1}return T}function o(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<0?(T=l,p=l+1):d=l-1}return T}function n(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<=0?(T=l,p=l+1):d=l-1}return T}function i(s,c,h,p,d){for(;p<=d;){var T=p+d>>>1,l=s[T],_=h!==void 0?h(l,c):l-c;if(_===0)return T;_<=0?p=T+1:d=T-1}return-1}function a(s,c,h,p,d,T){return typeof h=="function"?T(s,c,h,p===void 0?0:p|0,d===void 0?s.length-1:d|0):T(s,c,void 0,h===void 0?0:h|0,p===void 0?s.length-1:p|0)}e.exports={ge:function(s,c,h,p,d){return a(s,c,h,p,d,t)},gt:function(s,c,h,p,d){return a(s,c,h,p,d,r)},lt:function(s,c,h,p,d){return a(s,c,h,p,d,o)},le:function(s,c,h,p,d){return a(s,c,h,p,d,n)},eq:function(s,c,h,p,d){return a(s,c,h,p,d,i)}}},8828:function(e,t){"use strict";"use restrict";var r=32;t.INT_BITS=r,t.INT_MAX=2147483647,t.INT_MIN=-1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},6859:function(e,t,r){e=r.nmd(e),function(o,n){"use strict";function i(O,I){if(!O)throw new Error(I||"Assertion failed")}function a(O,I){O.super_=I;var N=function(){};N.prototype=I.prototype,O.prototype=new N,O.prototype.constructor=O}function s(O,I,N){if(s.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((I==="le"||I==="be")&&(N=I,I=10),this._init(O||0,I||10,N||"be"))}typeof o=="object"?o.exports=s:n.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<"u"&&typeof window.Buffer<"u"?c=window.Buffer:c=r(7790).Buffer}catch{}s.isBN=function(I){return I instanceof s?!0:I!==null&&typeof I=="object"&&I.constructor.wordSize===s.wordSize&&Array.isArray(I.words)},s.max=function(I,N){return I.cmp(N)>0?I:N},s.min=function(I,N){return I.cmp(N)<0?I:N},s.prototype._init=function(I,N,U){if(typeof I=="number")return this._initNumber(I,N,U);if(typeof I=="object")return this._initArray(I,N,U);N==="hex"&&(N=16),i(N===(N|0)&&N>=2&&N<=36),I=I.toString().replace(/\s+/g,"");var W=0;I[0]==="-"&&(W++,this.negative=1),W=0;W-=3)le=I[W]|I[W-1]<<8|I[W-2]<<16,this.words[Q]|=le<>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);else if(U==="le")for(W=0,Q=0;W>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);return this.strip()};function h(O,I){var N=O.charCodeAt(I);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function p(O,I,N){var U=h(O,N);return N-1>=I&&(U|=h(O,N-1)<<4),U}s.prototype._parseHex=function(I,N,U){this.length=Math.ceil((I.length-N)/6),this.words=new Array(this.length);for(var W=0;W=N;W-=2)se=p(I,N,W)<=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8;else{var fe=I.length-N;for(W=fe%2===0?N+1:N;W=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8}this.strip()};function d(O,I,N,U){for(var W=0,Q=Math.min(O.length,N),le=I;le=49?W+=se-49+10:se>=17?W+=se-17+10:W+=se}return W}s.prototype._parseBase=function(I,N,U){this.words=[0],this.length=1;for(var W=0,Q=1;Q<=67108863;Q*=N)W++;W--,Q=Q/N|0;for(var le=I.length-U,se=le%W,fe=Math.min(le,le-se)+U,G=0,$=U;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(I,N){I=I||10,N=N|0||1;var U;if(I===16||I==="hex"){U="";for(var W=0,Q=0,le=0;le>>24-W&16777215,Q!==0||le!==this.length-1?U=T[6-fe.length]+fe+U:U=fe+U,W+=2,W>=26&&(W-=26,le--)}for(Q!==0&&(U=Q.toString(16)+U);U.length%N!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(I===(I|0)&&I>=2&&I<=36){var G=l[I],$=_[I];U="";var J=this.clone();for(J.negative=0;!J.isZero();){var X=J.modn($).toString(I);J=J.idivn($),J.isZero()?U=X+U:U=T[G-X.length]+X+U}for(this.isZero()&&(U="0"+U);U.length%N!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}i(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var I=this.words[0];return this.length===2?I+=this.words[1]*67108864:this.length===3&&this.words[2]===1?I+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-I:I},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(I,N){return i(typeof c<"u"),this.toArrayLike(c,I,N)},s.prototype.toArray=function(I,N){return this.toArrayLike(Array,I,N)},s.prototype.toArrayLike=function(I,N,U){var W=this.byteLength(),Q=U||Math.max(1,W);i(W<=Q,"byte array longer than desired length"),i(Q>0,"Requested array length <= 0"),this.strip();var le=N==="le",se=new I(Q),fe,G,$=this.clone();if(le){for(G=0;!$.isZero();G++)fe=$.andln(255),$.iushrn(8),se[G]=fe;for(;G=4096&&(U+=13,N>>>=13),N>=64&&(U+=7,N>>>=7),N>=8&&(U+=4,N>>>=4),N>=2&&(U+=2,N>>>=2),U+N},s.prototype._zeroBits=function(I){if(I===0)return 26;var N=I,U=0;return N&8191||(U+=13,N>>>=13),N&127||(U+=7,N>>>=7),N&15||(U+=4,N>>>=4),N&3||(U+=2,N>>>=2),N&1||U++,U},s.prototype.bitLength=function(){var I=this.words[this.length-1],N=this._countBits(I);return(this.length-1)*26+N};function w(O){for(var I=new Array(O.bitLength()),N=0;N>>W}return I}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var I=0,N=0;NI.length?this.clone().ior(I):I.clone().ior(this)},s.prototype.uor=function(I){return this.length>I.length?this.clone().iuor(I):I.clone().iuor(this)},s.prototype.iuand=function(I){var N;this.length>I.length?N=I:N=this;for(var U=0;UI.length?this.clone().iand(I):I.clone().iand(this)},s.prototype.uand=function(I){return this.length>I.length?this.clone().iuand(I):I.clone().iuand(this)},s.prototype.iuxor=function(I){var N,U;this.length>I.length?(N=this,U=I):(N=I,U=this);for(var W=0;WI.length?this.clone().ixor(I):I.clone().ixor(this)},s.prototype.uxor=function(I){return this.length>I.length?this.clone().iuxor(I):I.clone().iuxor(this)},s.prototype.inotn=function(I){i(typeof I=="number"&&I>=0);var N=Math.ceil(I/26)|0,U=I%26;this._expand(N),U>0&&N--;for(var W=0;W0&&(this.words[W]=~this.words[W]&67108863>>26-U),this.strip()},s.prototype.notn=function(I){return this.clone().inotn(I)},s.prototype.setn=function(I,N){i(typeof I=="number"&&I>=0);var U=I/26|0,W=I%26;return this._expand(U+1),N?this.words[U]=this.words[U]|1<I.length?(U=this,W=I):(U=I,W=this);for(var Q=0,le=0;le>>26;for(;Q!==0&&le>>26;if(this.length=U.length,Q!==0)this.words[this.length]=Q,this.length++;else if(U!==this)for(;leI.length?this.clone().iadd(I):I.clone().iadd(this)},s.prototype.isub=function(I){if(I.negative!==0){I.negative=0;var N=this.iadd(I);return I.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(I),this.negative=1,this._normSign();var U=this.cmp(I);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,Q;U>0?(W=this,Q=I):(W=I,Q=this);for(var le=0,se=0;se>26,this.words[se]=N&67108863;for(;le!==0&&se>26,this.words[se]=N&67108863;if(le===0&&se>>26,J=fe&67108863,X=Math.min(G,I.length-1),re=Math.max(0,G-O.length+1);re<=X;re++){var ae=G-re|0;W=O.words[ae]|0,Q=I.words[re]|0,le=W*Q+J,$+=le/67108864|0,J=le&67108863}N.words[G]=J|0,fe=$|0}return fe!==0?N.words[G]=fe|0:N.length--,N.strip()}var E=function(I,N,U){var W=I.words,Q=N.words,le=U.words,se=0,fe,G,$,J=W[0]|0,X=J&8191,re=J>>>13,ae=W[1]|0,j=ae&8191,ee=ae>>>13,ie=W[2]|0,ce=ie&8191,xe=ie>>>13,Te=W[3]|0,Ue=Te&8191,Ie=Te>>>13,Ye=W[4]|0,it=Ye&8191,at=Ye>>>13,tt=W[5]|0,ut=tt&8191,Me=tt>>>13,pe=W[6]|0,ue=pe&8191,Oe=pe>>>13,rt=W[7]|0,ot=rt&8191,et=rt>>>13,Lt=W[8]|0,Et=Lt&8191,Bt=Lt>>>13,qt=W[9]|0,fr=qt&8191,ar=qt>>>13,Rr=Q[0]|0,gr=Rr&8191,br=Rr>>>13,_t=Q[1]|0,Be=_t&8191,Ke=_t>>>13,je=Q[2]|0,Se=je&8191,He=je>>>13,Ee=Q[3]|0,we=Ee&8191,Le=Ee>>>13,nt=Q[4]|0,pt=nt&8191,bt=nt>>>13,Rt=Q[5]|0,Nt=Rt&8191,Xt=Rt>>>13,$t=Q[6]|0,ur=$t&8191,pn=$t>>>13,Rn=Q[7]|0,Nn=Rn&8191,On=Rn>>>13,ni=Q[8]|0,zn=ni&8191,Qn=ni>>>13,gi=Q[9]|0,Zt=gi&8191,Ft=gi>>>13;U.negative=I.negative^N.negative,U.length=19,fe=Math.imul(X,gr),G=Math.imul(X,br),G=G+Math.imul(re,gr)|0,$=Math.imul(re,br);var Ht=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,fe=Math.imul(j,gr),G=Math.imul(j,br),G=G+Math.imul(ee,gr)|0,$=Math.imul(ee,br),fe=fe+Math.imul(X,Be)|0,G=G+Math.imul(X,Ke)|0,G=G+Math.imul(re,Be)|0,$=$+Math.imul(re,Ke)|0;var Vt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,fe=Math.imul(ce,gr),G=Math.imul(ce,br),G=G+Math.imul(xe,gr)|0,$=Math.imul(xe,br),fe=fe+Math.imul(j,Be)|0,G=G+Math.imul(j,Ke)|0,G=G+Math.imul(ee,Be)|0,$=$+Math.imul(ee,Ke)|0,fe=fe+Math.imul(X,Se)|0,G=G+Math.imul(X,He)|0,G=G+Math.imul(re,Se)|0,$=$+Math.imul(re,He)|0;var wr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(wr>>>26)|0,wr&=67108863,fe=Math.imul(Ue,gr),G=Math.imul(Ue,br),G=G+Math.imul(Ie,gr)|0,$=Math.imul(Ie,br),fe=fe+Math.imul(ce,Be)|0,G=G+Math.imul(ce,Ke)|0,G=G+Math.imul(xe,Be)|0,$=$+Math.imul(xe,Ke)|0,fe=fe+Math.imul(j,Se)|0,G=G+Math.imul(j,He)|0,G=G+Math.imul(ee,Se)|0,$=$+Math.imul(ee,He)|0,fe=fe+Math.imul(X,we)|0,G=G+Math.imul(X,Le)|0,G=G+Math.imul(re,we)|0,$=$+Math.imul(re,Le)|0;var $r=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+($r>>>26)|0,$r&=67108863,fe=Math.imul(it,gr),G=Math.imul(it,br),G=G+Math.imul(at,gr)|0,$=Math.imul(at,br),fe=fe+Math.imul(Ue,Be)|0,G=G+Math.imul(Ue,Ke)|0,G=G+Math.imul(Ie,Be)|0,$=$+Math.imul(Ie,Ke)|0,fe=fe+Math.imul(ce,Se)|0,G=G+Math.imul(ce,He)|0,G=G+Math.imul(xe,Se)|0,$=$+Math.imul(xe,He)|0,fe=fe+Math.imul(j,we)|0,G=G+Math.imul(j,Le)|0,G=G+Math.imul(ee,we)|0,$=$+Math.imul(ee,Le)|0,fe=fe+Math.imul(X,pt)|0,G=G+Math.imul(X,bt)|0,G=G+Math.imul(re,pt)|0,$=$+Math.imul(re,bt)|0;var xn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(xn>>>26)|0,xn&=67108863,fe=Math.imul(ut,gr),G=Math.imul(ut,br),G=G+Math.imul(Me,gr)|0,$=Math.imul(Me,br),fe=fe+Math.imul(it,Be)|0,G=G+Math.imul(it,Ke)|0,G=G+Math.imul(at,Be)|0,$=$+Math.imul(at,Ke)|0,fe=fe+Math.imul(Ue,Se)|0,G=G+Math.imul(Ue,He)|0,G=G+Math.imul(Ie,Se)|0,$=$+Math.imul(Ie,He)|0,fe=fe+Math.imul(ce,we)|0,G=G+Math.imul(ce,Le)|0,G=G+Math.imul(xe,we)|0,$=$+Math.imul(xe,Le)|0,fe=fe+Math.imul(j,pt)|0,G=G+Math.imul(j,bt)|0,G=G+Math.imul(ee,pt)|0,$=$+Math.imul(ee,bt)|0,fe=fe+Math.imul(X,Nt)|0,G=G+Math.imul(X,Xt)|0,G=G+Math.imul(re,Nt)|0,$=$+Math.imul(re,Xt)|0;var en=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(en>>>26)|0,en&=67108863,fe=Math.imul(ue,gr),G=Math.imul(ue,br),G=G+Math.imul(Oe,gr)|0,$=Math.imul(Oe,br),fe=fe+Math.imul(ut,Be)|0,G=G+Math.imul(ut,Ke)|0,G=G+Math.imul(Me,Be)|0,$=$+Math.imul(Me,Ke)|0,fe=fe+Math.imul(it,Se)|0,G=G+Math.imul(it,He)|0,G=G+Math.imul(at,Se)|0,$=$+Math.imul(at,He)|0,fe=fe+Math.imul(Ue,we)|0,G=G+Math.imul(Ue,Le)|0,G=G+Math.imul(Ie,we)|0,$=$+Math.imul(Ie,Le)|0,fe=fe+Math.imul(ce,pt)|0,G=G+Math.imul(ce,bt)|0,G=G+Math.imul(xe,pt)|0,$=$+Math.imul(xe,bt)|0,fe=fe+Math.imul(j,Nt)|0,G=G+Math.imul(j,Xt)|0,G=G+Math.imul(ee,Nt)|0,$=$+Math.imul(ee,Xt)|0,fe=fe+Math.imul(X,ur)|0,G=G+Math.imul(X,pn)|0,G=G+Math.imul(re,ur)|0,$=$+Math.imul(re,pn)|0;var Fn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,fe=Math.imul(ot,gr),G=Math.imul(ot,br),G=G+Math.imul(et,gr)|0,$=Math.imul(et,br),fe=fe+Math.imul(ue,Be)|0,G=G+Math.imul(ue,Ke)|0,G=G+Math.imul(Oe,Be)|0,$=$+Math.imul(Oe,Ke)|0,fe=fe+Math.imul(ut,Se)|0,G=G+Math.imul(ut,He)|0,G=G+Math.imul(Me,Se)|0,$=$+Math.imul(Me,He)|0,fe=fe+Math.imul(it,we)|0,G=G+Math.imul(it,Le)|0,G=G+Math.imul(at,we)|0,$=$+Math.imul(at,Le)|0,fe=fe+Math.imul(Ue,pt)|0,G=G+Math.imul(Ue,bt)|0,G=G+Math.imul(Ie,pt)|0,$=$+Math.imul(Ie,bt)|0,fe=fe+Math.imul(ce,Nt)|0,G=G+Math.imul(ce,Xt)|0,G=G+Math.imul(xe,Nt)|0,$=$+Math.imul(xe,Xt)|0,fe=fe+Math.imul(j,ur)|0,G=G+Math.imul(j,pn)|0,G=G+Math.imul(ee,ur)|0,$=$+Math.imul(ee,pn)|0,fe=fe+Math.imul(X,Nn)|0,G=G+Math.imul(X,On)|0,G=G+Math.imul(re,Nn)|0,$=$+Math.imul(re,On)|0;var Wn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,fe=Math.imul(Et,gr),G=Math.imul(Et,br),G=G+Math.imul(Bt,gr)|0,$=Math.imul(Bt,br),fe=fe+Math.imul(ot,Be)|0,G=G+Math.imul(ot,Ke)|0,G=G+Math.imul(et,Be)|0,$=$+Math.imul(et,Ke)|0,fe=fe+Math.imul(ue,Se)|0,G=G+Math.imul(ue,He)|0,G=G+Math.imul(Oe,Se)|0,$=$+Math.imul(Oe,He)|0,fe=fe+Math.imul(ut,we)|0,G=G+Math.imul(ut,Le)|0,G=G+Math.imul(Me,we)|0,$=$+Math.imul(Me,Le)|0,fe=fe+Math.imul(it,pt)|0,G=G+Math.imul(it,bt)|0,G=G+Math.imul(at,pt)|0,$=$+Math.imul(at,bt)|0,fe=fe+Math.imul(Ue,Nt)|0,G=G+Math.imul(Ue,Xt)|0,G=G+Math.imul(Ie,Nt)|0,$=$+Math.imul(Ie,Xt)|0,fe=fe+Math.imul(ce,ur)|0,G=G+Math.imul(ce,pn)|0,G=G+Math.imul(xe,ur)|0,$=$+Math.imul(xe,pn)|0,fe=fe+Math.imul(j,Nn)|0,G=G+Math.imul(j,On)|0,G=G+Math.imul(ee,Nn)|0,$=$+Math.imul(ee,On)|0,fe=fe+Math.imul(X,zn)|0,G=G+Math.imul(X,Qn)|0,G=G+Math.imul(re,zn)|0,$=$+Math.imul(re,Qn)|0;var ri=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ri>>>26)|0,ri&=67108863,fe=Math.imul(fr,gr),G=Math.imul(fr,br),G=G+Math.imul(ar,gr)|0,$=Math.imul(ar,br),fe=fe+Math.imul(Et,Be)|0,G=G+Math.imul(Et,Ke)|0,G=G+Math.imul(Bt,Be)|0,$=$+Math.imul(Bt,Ke)|0,fe=fe+Math.imul(ot,Se)|0,G=G+Math.imul(ot,He)|0,G=G+Math.imul(et,Se)|0,$=$+Math.imul(et,He)|0,fe=fe+Math.imul(ue,we)|0,G=G+Math.imul(ue,Le)|0,G=G+Math.imul(Oe,we)|0,$=$+Math.imul(Oe,Le)|0,fe=fe+Math.imul(ut,pt)|0,G=G+Math.imul(ut,bt)|0,G=G+Math.imul(Me,pt)|0,$=$+Math.imul(Me,bt)|0,fe=fe+Math.imul(it,Nt)|0,G=G+Math.imul(it,Xt)|0,G=G+Math.imul(at,Nt)|0,$=$+Math.imul(at,Xt)|0,fe=fe+Math.imul(Ue,ur)|0,G=G+Math.imul(Ue,pn)|0,G=G+Math.imul(Ie,ur)|0,$=$+Math.imul(Ie,pn)|0,fe=fe+Math.imul(ce,Nn)|0,G=G+Math.imul(ce,On)|0,G=G+Math.imul(xe,Nn)|0,$=$+Math.imul(xe,On)|0,fe=fe+Math.imul(j,zn)|0,G=G+Math.imul(j,Qn)|0,G=G+Math.imul(ee,zn)|0,$=$+Math.imul(ee,Qn)|0,fe=fe+Math.imul(X,Zt)|0,G=G+Math.imul(X,Ft)|0,G=G+Math.imul(re,Zt)|0,$=$+Math.imul(re,Ft)|0;var Sn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,fe=Math.imul(fr,Be),G=Math.imul(fr,Ke),G=G+Math.imul(ar,Be)|0,$=Math.imul(ar,Ke),fe=fe+Math.imul(Et,Se)|0,G=G+Math.imul(Et,He)|0,G=G+Math.imul(Bt,Se)|0,$=$+Math.imul(Bt,He)|0,fe=fe+Math.imul(ot,we)|0,G=G+Math.imul(ot,Le)|0,G=G+Math.imul(et,we)|0,$=$+Math.imul(et,Le)|0,fe=fe+Math.imul(ue,pt)|0,G=G+Math.imul(ue,bt)|0,G=G+Math.imul(Oe,pt)|0,$=$+Math.imul(Oe,bt)|0,fe=fe+Math.imul(ut,Nt)|0,G=G+Math.imul(ut,Xt)|0,G=G+Math.imul(Me,Nt)|0,$=$+Math.imul(Me,Xt)|0,fe=fe+Math.imul(it,ur)|0,G=G+Math.imul(it,pn)|0,G=G+Math.imul(at,ur)|0,$=$+Math.imul(at,pn)|0,fe=fe+Math.imul(Ue,Nn)|0,G=G+Math.imul(Ue,On)|0,G=G+Math.imul(Ie,Nn)|0,$=$+Math.imul(Ie,On)|0,fe=fe+Math.imul(ce,zn)|0,G=G+Math.imul(ce,Qn)|0,G=G+Math.imul(xe,zn)|0,$=$+Math.imul(xe,Qn)|0,fe=fe+Math.imul(j,Zt)|0,G=G+Math.imul(j,Ft)|0,G=G+Math.imul(ee,Zt)|0,$=$+Math.imul(ee,Ft)|0;var ui=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ui>>>26)|0,ui&=67108863,fe=Math.imul(fr,Se),G=Math.imul(fr,He),G=G+Math.imul(ar,Se)|0,$=Math.imul(ar,He),fe=fe+Math.imul(Et,we)|0,G=G+Math.imul(Et,Le)|0,G=G+Math.imul(Bt,we)|0,$=$+Math.imul(Bt,Le)|0,fe=fe+Math.imul(ot,pt)|0,G=G+Math.imul(ot,bt)|0,G=G+Math.imul(et,pt)|0,$=$+Math.imul(et,bt)|0,fe=fe+Math.imul(ue,Nt)|0,G=G+Math.imul(ue,Xt)|0,G=G+Math.imul(Oe,Nt)|0,$=$+Math.imul(Oe,Xt)|0,fe=fe+Math.imul(ut,ur)|0,G=G+Math.imul(ut,pn)|0,G=G+Math.imul(Me,ur)|0,$=$+Math.imul(Me,pn)|0,fe=fe+Math.imul(it,Nn)|0,G=G+Math.imul(it,On)|0,G=G+Math.imul(at,Nn)|0,$=$+Math.imul(at,On)|0,fe=fe+Math.imul(Ue,zn)|0,G=G+Math.imul(Ue,Qn)|0,G=G+Math.imul(Ie,zn)|0,$=$+Math.imul(Ie,Qn)|0,fe=fe+Math.imul(ce,Zt)|0,G=G+Math.imul(ce,Ft)|0,G=G+Math.imul(xe,Zt)|0,$=$+Math.imul(xe,Ft)|0;var gt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(gt>>>26)|0,gt&=67108863,fe=Math.imul(fr,we),G=Math.imul(fr,Le),G=G+Math.imul(ar,we)|0,$=Math.imul(ar,Le),fe=fe+Math.imul(Et,pt)|0,G=G+Math.imul(Et,bt)|0,G=G+Math.imul(Bt,pt)|0,$=$+Math.imul(Bt,bt)|0,fe=fe+Math.imul(ot,Nt)|0,G=G+Math.imul(ot,Xt)|0,G=G+Math.imul(et,Nt)|0,$=$+Math.imul(et,Xt)|0,fe=fe+Math.imul(ue,ur)|0,G=G+Math.imul(ue,pn)|0,G=G+Math.imul(Oe,ur)|0,$=$+Math.imul(Oe,pn)|0,fe=fe+Math.imul(ut,Nn)|0,G=G+Math.imul(ut,On)|0,G=G+Math.imul(Me,Nn)|0,$=$+Math.imul(Me,On)|0,fe=fe+Math.imul(it,zn)|0,G=G+Math.imul(it,Qn)|0,G=G+Math.imul(at,zn)|0,$=$+Math.imul(at,Qn)|0,fe=fe+Math.imul(Ue,Zt)|0,G=G+Math.imul(Ue,Ft)|0,G=G+Math.imul(Ie,Zt)|0,$=$+Math.imul(Ie,Ft)|0;var yt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(yt>>>26)|0,yt&=67108863,fe=Math.imul(fr,pt),G=Math.imul(fr,bt),G=G+Math.imul(ar,pt)|0,$=Math.imul(ar,bt),fe=fe+Math.imul(Et,Nt)|0,G=G+Math.imul(Et,Xt)|0,G=G+Math.imul(Bt,Nt)|0,$=$+Math.imul(Bt,Xt)|0,fe=fe+Math.imul(ot,ur)|0,G=G+Math.imul(ot,pn)|0,G=G+Math.imul(et,ur)|0,$=$+Math.imul(et,pn)|0,fe=fe+Math.imul(ue,Nn)|0,G=G+Math.imul(ue,On)|0,G=G+Math.imul(Oe,Nn)|0,$=$+Math.imul(Oe,On)|0,fe=fe+Math.imul(ut,zn)|0,G=G+Math.imul(ut,Qn)|0,G=G+Math.imul(Me,zn)|0,$=$+Math.imul(Me,Qn)|0,fe=fe+Math.imul(it,Zt)|0,G=G+Math.imul(it,Ft)|0,G=G+Math.imul(at,Zt)|0,$=$+Math.imul(at,Ft)|0;var Pr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,fe=Math.imul(fr,Nt),G=Math.imul(fr,Xt),G=G+Math.imul(ar,Nt)|0,$=Math.imul(ar,Xt),fe=fe+Math.imul(Et,ur)|0,G=G+Math.imul(Et,pn)|0,G=G+Math.imul(Bt,ur)|0,$=$+Math.imul(Bt,pn)|0,fe=fe+Math.imul(ot,Nn)|0,G=G+Math.imul(ot,On)|0,G=G+Math.imul(et,Nn)|0,$=$+Math.imul(et,On)|0,fe=fe+Math.imul(ue,zn)|0,G=G+Math.imul(ue,Qn)|0,G=G+Math.imul(Oe,zn)|0,$=$+Math.imul(Oe,Qn)|0,fe=fe+Math.imul(ut,Zt)|0,G=G+Math.imul(ut,Ft)|0,G=G+Math.imul(Me,Zt)|0,$=$+Math.imul(Me,Ft)|0;var Ir=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,fe=Math.imul(fr,ur),G=Math.imul(fr,pn),G=G+Math.imul(ar,ur)|0,$=Math.imul(ar,pn),fe=fe+Math.imul(Et,Nn)|0,G=G+Math.imul(Et,On)|0,G=G+Math.imul(Bt,Nn)|0,$=$+Math.imul(Bt,On)|0,fe=fe+Math.imul(ot,zn)|0,G=G+Math.imul(ot,Qn)|0,G=G+Math.imul(et,zn)|0,$=$+Math.imul(et,Qn)|0,fe=fe+Math.imul(ue,Zt)|0,G=G+Math.imul(ue,Ft)|0,G=G+Math.imul(Oe,Zt)|0,$=$+Math.imul(Oe,Ft)|0;var Tr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,fe=Math.imul(fr,Nn),G=Math.imul(fr,On),G=G+Math.imul(ar,Nn)|0,$=Math.imul(ar,On),fe=fe+Math.imul(Et,zn)|0,G=G+Math.imul(Et,Qn)|0,G=G+Math.imul(Bt,zn)|0,$=$+Math.imul(Bt,Qn)|0,fe=fe+Math.imul(ot,Zt)|0,G=G+Math.imul(ot,Ft)|0,G=G+Math.imul(et,Zt)|0,$=$+Math.imul(et,Ft)|0;var Mr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,fe=Math.imul(fr,zn),G=Math.imul(fr,Qn),G=G+Math.imul(ar,zn)|0,$=Math.imul(ar,Qn),fe=fe+Math.imul(Et,Zt)|0,G=G+Math.imul(Et,Ft)|0,G=G+Math.imul(Bt,Zt)|0,$=$+Math.imul(Bt,Ft)|0;var Lr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,fe=Math.imul(fr,Zt),G=Math.imul(fr,Ft),G=G+Math.imul(ar,Zt)|0,$=Math.imul(ar,Ft);var Ur=(se+fe|0)+((G&8191)<<13)|0;return se=($+(G>>>13)|0)+(Ur>>>26)|0,Ur&=67108863,le[0]=Ht,le[1]=Vt,le[2]=wr,le[3]=$r,le[4]=xn,le[5]=en,le[6]=Fn,le[7]=Wn,le[8]=ri,le[9]=Sn,le[10]=ui,le[11]=gt,le[12]=yt,le[13]=Pr,le[14]=Ir,le[15]=Tr,le[16]=Mr,le[17]=Lr,le[18]=Ur,se!==0&&(le[19]=se,U.length++),U};Math.imul||(E=M);function m(O,I,N){N.negative=I.negative^O.negative,N.length=O.length+I.length;for(var U=0,W=0,Q=0;Q>>26)|0,W+=le>>>26,le&=67108863}N.words[Q]=se,U=le,le=W}return U!==0?N.words[Q]=U:N.length--,N.strip()}function b(O,I,N){var U=new v;return U.mulp(O,I,N)}s.prototype.mulTo=function(I,N){var U,W=this.length+I.length;return this.length===10&&I.length===10?U=E(this,I,N):W<63?U=M(this,I,N):W<1024?U=m(this,I,N):U=b(this,I,N),U};function v(O,I){this.x=O,this.y=I}v.prototype.makeRBT=function(I){for(var N=new Array(I),U=s.prototype._countBits(I)-1,W=0;W>=1;return W},v.prototype.permute=function(I,N,U,W,Q,le){for(var se=0;se>>1)Q++;return 1<>>13,U[2*le+1]=Q&8191,Q=Q>>>13;for(le=2*N;le>=26,N+=W/67108864|0,N+=Q>>>26,this.words[U]=Q&67108863}return N!==0&&(this.words[U]=N,this.length++),this},s.prototype.muln=function(I){return this.clone().imuln(I)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(I){var N=w(I);if(N.length===0)return new s(1);for(var U=this,W=0;W=0);var N=I%26,U=(I-N)/26,W=67108863>>>26-N<<26-N,Q;if(N!==0){var le=0;for(Q=0;Q>>26-N}le&&(this.words[Q]=le,this.length++)}if(U!==0){for(Q=this.length-1;Q>=0;Q--)this.words[Q+U]=this.words[Q];for(Q=0;Q=0);var W;N?W=(N-N%26)/26:W=0;var Q=I%26,le=Math.min((I-Q)/26,this.length),se=67108863^67108863>>>Q<le)for(this.length-=le,G=0;G=0&&($!==0||G>=W);G--){var J=this.words[G]|0;this.words[G]=$<<26-Q|J>>>Q,$=J&se}return fe&&$!==0&&(fe.words[fe.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(I,N,U){return i(this.negative===0),this.iushrn(I,N,U)},s.prototype.shln=function(I){return this.clone().ishln(I)},s.prototype.ushln=function(I){return this.clone().iushln(I)},s.prototype.shrn=function(I){return this.clone().ishrn(I)},s.prototype.ushrn=function(I){return this.clone().iushrn(I)},s.prototype.testn=function(I){i(typeof I=="number"&&I>=0);var N=I%26,U=(I-N)/26,W=1<=0);var N=I%26,U=(I-N)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(N!==0&&U++,this.length=Math.min(U,this.length),N!==0){var W=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},s.prototype.isubn=function(I){if(i(typeof I=="number"),i(I<67108864),I<0)return this.iaddn(-I);if(this.negative!==0)return this.negative=0,this.iaddn(I),this.negative=1,this;if(this.words[0]-=I,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(fe/67108864|0),this.words[Q+U]=le&67108863}for(;Q>26,this.words[Q+U]=le&67108863;if(se===0)return this.strip();for(i(se===-1),se=0,Q=0;Q>26,this.words[Q]=le&67108863;return this.negative=1,this.strip()},s.prototype._wordDiv=function(I,N){var U=this.length-I.length,W=this.clone(),Q=I,le=Q.words[Q.length-1]|0,se=this._countBits(le);U=26-se,U!==0&&(Q=Q.ushln(U),W.iushln(U),le=Q.words[Q.length-1]|0);var fe=W.length-Q.length,G;if(N!=="mod"){G=new s(null),G.length=fe+1,G.words=new Array(G.length);for(var $=0;$=0;X--){var re=(W.words[Q.length+X]|0)*67108864+(W.words[Q.length+X-1]|0);for(re=Math.min(re/le|0,67108863),W._ishlnsubmul(Q,re,X);W.negative!==0;)re--,W.negative=0,W._ishlnsubmul(Q,1,X),W.isZero()||(W.negative^=1);G&&(G.words[X]=re)}return G&&G.strip(),W.strip(),N!=="div"&&U!==0&&W.iushrn(U),{div:G||null,mod:W}},s.prototype.divmod=function(I,N,U){if(i(!I.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var W,Q,le;return this.negative!==0&&I.negative===0?(le=this.neg().divmod(I,N),N!=="mod"&&(W=le.div.neg()),N!=="div"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.iadd(I)),{div:W,mod:Q}):this.negative===0&&I.negative!==0?(le=this.divmod(I.neg(),N),N!=="mod"&&(W=le.div.neg()),{div:W,mod:le.mod}):this.negative&I.negative?(le=this.neg().divmod(I.neg(),N),N!=="div"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.isub(I)),{div:le.div,mod:Q}):I.length>this.length||this.cmp(I)<0?{div:new s(0),mod:this}:I.length===1?N==="div"?{div:this.divn(I.words[0]),mod:null}:N==="mod"?{div:null,mod:new s(this.modn(I.words[0]))}:{div:this.divn(I.words[0]),mod:new s(this.modn(I.words[0]))}:this._wordDiv(I,N)},s.prototype.div=function(I){return this.divmod(I,"div",!1).div},s.prototype.mod=function(I){return this.divmod(I,"mod",!1).mod},s.prototype.umod=function(I){return this.divmod(I,"mod",!0).mod},s.prototype.divRound=function(I){var N=this.divmod(I);if(N.mod.isZero())return N.div;var U=N.div.negative!==0?N.mod.isub(I):N.mod,W=I.ushrn(1),Q=I.andln(1),le=U.cmp(W);return le<0||Q===1&&le===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},s.prototype.modn=function(I){i(I<=67108863);for(var N=(1<<26)%I,U=0,W=this.length-1;W>=0;W--)U=(N*U+(this.words[W]|0))%I;return U},s.prototype.idivn=function(I){i(I<=67108863);for(var N=0,U=this.length-1;U>=0;U--){var W=(this.words[U]|0)+N*67108864;this.words[U]=W/I|0,N=W%I}return this.strip()},s.prototype.divn=function(I){return this.clone().idivn(I)},s.prototype.egcd=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=new s(0),se=new s(1),fe=0;N.isEven()&&U.isEven();)N.iushrn(1),U.iushrn(1),++fe;for(var G=U.clone(),$=N.clone();!N.isZero();){for(var J=0,X=1;!(N.words[0]&X)&&J<26;++J,X<<=1);if(J>0)for(N.iushrn(J);J-- >0;)(W.isOdd()||Q.isOdd())&&(W.iadd(G),Q.isub($)),W.iushrn(1),Q.iushrn(1);for(var re=0,ae=1;!(U.words[0]&ae)&&re<26;++re,ae<<=1);if(re>0)for(U.iushrn(re);re-- >0;)(le.isOdd()||se.isOdd())&&(le.iadd(G),se.isub($)),le.iushrn(1),se.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(le),Q.isub(se)):(U.isub(N),le.isub(W),se.isub(Q))}return{a:le,b:se,gcd:U.iushln(fe)}},s.prototype._invmp=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=U.clone();N.cmpn(1)>0&&U.cmpn(1)>0;){for(var se=0,fe=1;!(N.words[0]&fe)&&se<26;++se,fe<<=1);if(se>0)for(N.iushrn(se);se-- >0;)W.isOdd()&&W.iadd(le),W.iushrn(1);for(var G=0,$=1;!(U.words[0]&$)&&G<26;++G,$<<=1);if(G>0)for(U.iushrn(G);G-- >0;)Q.isOdd()&&Q.iadd(le),Q.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(Q)):(U.isub(N),Q.isub(W))}var J;return N.cmpn(1)===0?J=W:J=Q,J.cmpn(0)<0&&J.iadd(I),J},s.prototype.gcd=function(I){if(this.isZero())return I.abs();if(I.isZero())return this.abs();var N=this.clone(),U=I.clone();N.negative=0,U.negative=0;for(var W=0;N.isEven()&&U.isEven();W++)N.iushrn(1),U.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;U.isEven();)U.iushrn(1);var Q=N.cmp(U);if(Q<0){var le=N;N=U,U=le}else if(Q===0||U.cmpn(1)===0)break;N.isub(U)}while(!0);return U.iushln(W)},s.prototype.invm=function(I){return this.egcd(I).a.umod(I)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(I){return this.words[0]&I},s.prototype.bincn=function(I){i(typeof I=="number");var N=I%26,U=(I-N)/26,W=1<>>26,se&=67108863,this.words[le]=se}return Q!==0&&(this.words[le]=Q,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(I){var N=I<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var U;if(this.length>1)U=1;else{N&&(I=-I),i(I<=67108863,"Number is too big");var W=this.words[0]|0;U=W===I?0:WI.length)return 1;if(this.length=0;U--){var W=this.words[U]|0,Q=I.words[U]|0;if(W!==Q){WQ&&(N=1);break}}return N},s.prototype.gtn=function(I){return this.cmpn(I)===1},s.prototype.gt=function(I){return this.cmp(I)===1},s.prototype.gten=function(I){return this.cmpn(I)>=0},s.prototype.gte=function(I){return this.cmp(I)>=0},s.prototype.ltn=function(I){return this.cmpn(I)===-1},s.prototype.lt=function(I){return this.cmp(I)===-1},s.prototype.lten=function(I){return this.cmpn(I)<=0},s.prototype.lte=function(I){return this.cmp(I)<=0},s.prototype.eqn=function(I){return this.cmpn(I)===0},s.prototype.eq=function(I){return this.cmp(I)===0},s.red=function(I){return new F(I)},s.prototype.toRed=function(I){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),I.convertTo(this)._forceRed(I)},s.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(I){return this.red=I,this},s.prototype.forceRed=function(I){return i(!this.red,"Already a number in reduction context"),this._forceRed(I)},s.prototype.redAdd=function(I){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,I)},s.prototype.redIAdd=function(I){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,I)},s.prototype.redSub=function(I){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,I)},s.prototype.redISub=function(I){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,I)},s.prototype.redShl=function(I){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,I)},s.prototype.redMul=function(I){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,I),this.red.mul(this,I)},s.prototype.redIMul=function(I){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,I),this.red.imul(this,I)},s.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(I){return i(this.red&&!I.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,I)};var u={k256:null,p224:null,p192:null,p25519:null};function y(O,I){this.name=O,this.p=new s(I,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}y.prototype._tmp=function(){var I=new s(null);return I.words=new Array(Math.ceil(this.n/13)),I},y.prototype.ireduce=function(I){var N=I,U;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),U=N.bitLength();while(U>this.n);var W=U0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},y.prototype.split=function(I,N){I.iushrn(this.n,0,N)},y.prototype.imulK=function(I){return I.imul(this.k)};function f(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(f,y),f.prototype.split=function(I,N){for(var U=4194303,W=Math.min(I.length,9),Q=0;Q>>22,le=se}le>>>=22,I.words[Q-10]=le,le===0&&I.length>10?I.length-=10:I.length-=9},f.prototype.imulK=function(I){I.words[I.length]=0,I.words[I.length+1]=0,I.length+=2;for(var N=0,U=0;U>>=26,I.words[U]=Q,N=W}return N!==0&&(I.words[I.length++]=N),I},s._prime=function(I){if(u[I])return u[I];var N;if(I==="k256")N=new f;else if(I==="p224")N=new P;else if(I==="p192")N=new L;else if(I==="p25519")N=new z;else throw new Error("Unknown prime "+I);return u[I]=N,N};function F(O){if(typeof O=="string"){var I=s._prime(O);this.m=I.p,this.prime=I}else i(O.gtn(1),"modulus must be greater than 1"),this.m=O,this.prime=null}F.prototype._verify1=function(I){i(I.negative===0,"red works only with positives"),i(I.red,"red works only with red numbers")},F.prototype._verify2=function(I,N){i((I.negative|N.negative)===0,"red works only with positives"),i(I.red&&I.red===N.red,"red works only with red numbers")},F.prototype.imod=function(I){return this.prime?this.prime.ireduce(I)._forceRed(this):I.umod(this.m)._forceRed(this)},F.prototype.neg=function(I){return I.isZero()?I.clone():this.m.sub(I)._forceRed(this)},F.prototype.add=function(I,N){this._verify2(I,N);var U=I.add(N);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},F.prototype.iadd=function(I,N){this._verify2(I,N);var U=I.iadd(N);return U.cmp(this.m)>=0&&U.isub(this.m),U},F.prototype.sub=function(I,N){this._verify2(I,N);var U=I.sub(N);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},F.prototype.isub=function(I,N){this._verify2(I,N);var U=I.isub(N);return U.cmpn(0)<0&&U.iadd(this.m),U},F.prototype.shl=function(I,N){return this._verify1(I),this.imod(I.ushln(N))},F.prototype.imul=function(I,N){return this._verify2(I,N),this.imod(I.imul(N))},F.prototype.mul=function(I,N){return this._verify2(I,N),this.imod(I.mul(N))},F.prototype.isqr=function(I){return this.imul(I,I.clone())},F.prototype.sqr=function(I){return this.mul(I,I)},F.prototype.sqrt=function(I){if(I.isZero())return I.clone();var N=this.m.andln(3);if(i(N%2===1),N===3){var U=this.m.add(new s(1)).iushrn(2);return this.pow(I,U)}for(var W=this.m.subn(1),Q=0;!W.isZero()&&W.andln(1)===0;)Q++,W.iushrn(1);i(!W.isZero());var le=new s(1).toRed(this),se=le.redNeg(),fe=this.m.subn(1).iushrn(1),G=this.m.bitLength();for(G=new s(2*G*G).toRed(this);this.pow(G,fe).cmp(se)!==0;)G.redIAdd(se);for(var $=this.pow(G,W),J=this.pow(I,W.addn(1).iushrn(1)),X=this.pow(I,W),re=Q;X.cmp(le)!==0;){for(var ae=X,j=0;ae.cmp(le)!==0;j++)ae=ae.redSqr();i(j=0;Q--){for(var $=N.words[Q],J=G-1;J>=0;J--){var X=$>>J&1;if(le!==W[0]&&(le=this.sqr(le)),X===0&&se===0){fe=0;continue}se<<=1,se|=X,fe++,!(fe!==U&&(Q!==0||J!==0))&&(le=this.mul(le,W[se]),fe=0,se=0)}G=26}return le},F.prototype.convertTo=function(I){var N=I.umod(this.m);return N===I?N.clone():N},F.prototype.convertFrom=function(I){var N=I.clone();return N.red=null,N},s.mont=function(I){return new B(I)};function B(O){F.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(B,F),B.prototype.convertTo=function(I){return this.imod(I.ushln(this.shift))},B.prototype.convertFrom=function(I){var N=this.imod(I.mul(this.rinv));return N.red=null,N},B.prototype.imul=function(I,N){if(I.isZero()||N.isZero())return I.words[0]=0,I.length=1,I;var U=I.imul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.mul=function(I,N){if(I.isZero()||N.isZero())return new s(0)._forceRed(this);var U=I.mul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.invm=function(I){var N=this.imod(I._invmp(this.m).mul(this.r2));return N._forceRed(this)}}(e,this)},6204:function(e){"use strict";e.exports=t;function t(r){var o,n,i,a=r.length,s=0;for(o=0;o>>1;if(!(v<=0)){var u,y=o.mallocDouble(2*v*m),f=o.mallocInt32(m);if(m=s(_,v,y,f),m>0){if(v===1&&E)n.init(m),u=n.sweepComplete(v,M,0,m,y,f,0,m,y,f);else{var P=o.mallocDouble(2*v*b),L=o.mallocInt32(b);b=s(w,v,P,L),b>0&&(n.init(m+b),v===1?u=n.sweepBipartite(v,M,0,m,y,f,0,b,P,L):u=i(v,M,E,m,y,f,b,P,L),o.free(P),o.free(L))}o.free(y),o.free(f)}return u}}}var h;function p(_,w){h.push([_,w])}function d(_){return h=[],c(_,_,p,!0),h}function T(_,w){return h=[],c(_,w,p,!1),h}function l(_,w,M){switch(arguments.length){case 1:return d(_);case 2:return typeof w=="function"?c(_,_,w,!0):T(_,w);case 3:return c(_,w,M,!1);default:throw new Error("box-intersect: Invalid arguments")}}},2455:function(e,t){"use strict";function r(){function i(c,h,p,d,T,l,_,w,M,E,m){for(var b=2*c,v=d,u=b*d;vM-w?i(c,h,p,d,T,l,_,w,M,E,m):a(c,h,p,d,T,l,_,w,M,E,m)}return s}function o(){function i(p,d,T,l,_,w,M,E,m,b,v){for(var u=2*p,y=l,f=u*l;y<_;++y,f+=u){var P=w[d+f],L=w[d+f+p],z=M[y];e:for(var F=E,B=u*E;Fb-m?l?i(p,d,T,_,w,M,E,m,b,v,u):a(p,d,T,_,w,M,E,m,b,v,u):l?s(p,d,T,_,w,M,E,m,b,v,u):c(p,d,T,_,w,M,E,m,b,v,u)}return h}function n(i){return i?r():o()}t.partial=n(!1),t.full=n(!0)},7150:function(e,t,r){"use strict";e.exports=O;var o=r(1888),n=r(8828),i=r(2455),a=i.partial,s=i.full,c=r(855),h=r(3545),p=r(8105),d=128,T=1<<22,l=1<<22,_=p("!(lo>=p0)&&!(p1>=hi)"),w=p("lo===p0"),M=p("lo0;){$-=1;var re=$*v,ae=f[re],j=f[re+1],ee=f[re+2],ie=f[re+3],ce=f[re+4],xe=f[re+5],Te=$*u,Ue=P[Te],Ie=P[Te+1],Ye=xe&1,it=!!(xe&16),at=Q,tt=le,ut=fe,Me=G;if(Ye&&(at=fe,tt=G,ut=Q,Me=le),!(xe&2&&(ee=M(I,ae,j,ee,at,tt,Ie),j>=ee))&&!(xe&4&&(j=E(I,ae,j,ee,at,tt,Ue),j>=ee))){var pe=ee-j,ue=ce-ie;if(it){if(I*pe*(pe+ue)p&&T[b+h]>E;--m,b-=_){for(var v=b,u=b+_,y=0;y<_;++y,++v,++u){var f=T[v];T[v]=T[u],T[u]=f}var P=l[m];l[m]=l[m-1],l[m-1]=P}}function s(c,h,p,d,T,l){if(d<=p+1)return p;for(var _=p,w=d,M=d+p>>>1,E=2*c,m=M,b=T[E*M+h];_=P?(m=f,b=P):y>=z?(m=u,b=y):(m=L,b=z):P>=z?(m=f,b=P):z>=y?(m=u,b=y):(m=L,b=z);for(var O=E*(w-1),I=E*m,F=0;F=p0)&&!(p1>=hi)":h};function r(p){return t[p]}function o(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(P===M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function n(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(PL;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function i(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function a(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function s(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(P<=M&&M<=L)if(v===f)v+=1,b+=E;else{for(var z=0;E>z;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function c(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(Pz;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function h(p,d,T,l,_,w,M,E){for(var m=2*p,b=m*T,v=b,u=T,y=d,f=p+d,P=T;l>P;++P,b+=m){var L=_[b+y],z=_[b+f];if(!(L>=M)&&!(E>=z))if(u===P)u+=1,v+=m;else{for(var F=0;m>F;++F){var B=_[b+F];_[b+F]=_[v],_[v++]=B}var O=w[P];w[P]=w[u],w[u++]=O}}return u}},4192:function(e){"use strict";e.exports=r;var t=32;function r(d,T){T<=4*t?o(0,T-1,d):p(0,T-1,d)}function o(d,T,l){for(var _=2*(d+1),w=d+1;w<=T;++w){for(var M=l[_++],E=l[_++],m=w,b=_-2;m-- >d;){var v=l[b-2],u=l[b-1];if(vl[T+1]:!0}function h(d,T,l,_){d*=2;var w=_[d];return w>1,m=E-_,b=E+_,v=w,u=m,y=E,f=b,P=M,L=d+1,z=T-1,F=0;c(v,u,l)&&(F=v,v=u,u=F),c(f,P,l)&&(F=f,f=P,P=F),c(v,y,l)&&(F=v,v=y,y=F),c(u,y,l)&&(F=u,u=y,y=F),c(v,f,l)&&(F=v,v=f,f=F),c(y,f,l)&&(F=y,y=f,f=F),c(u,P,l)&&(F=u,u=P,P=F),c(u,y,l)&&(F=u,u=y,y=F),c(f,P,l)&&(F=f,f=P,P=F);for(var B=l[2*u],O=l[2*u+1],I=l[2*f],N=l[2*f+1],U=2*v,W=2*y,Q=2*P,le=2*w,se=2*E,fe=2*M,G=0;G<2;++G){var $=l[U+G],J=l[W+G],X=l[Q+G];l[le+G]=$,l[se+G]=J,l[fe+G]=X}i(m,d,l),i(b,T,l);for(var re=L;re<=z;++re)if(h(re,B,O,l))re!==L&&n(re,L,l),++L;else if(!h(re,I,N,l))for(;;)if(h(z,I,N,l)){h(z,B,O,l)?(a(re,L,z,l),++L,--z):(n(re,z,l),--z);break}else{if(--z>>1;i(_,J);for(var X=0,re=0,se=0;se=a)ae=ae-a|0,M(p,d,re--,ae);else if(ae>=0)M(c,h,X--,ae);else if(ae<=-a){ae=-ae-a|0;for(var j=0;j>>1;i(_,J);for(var X=0,re=0,ae=0,se=0;se>1===_[2*se+3]>>1&&(ee=2,se+=1),j<0){for(var ie=-(j>>1)-1,ce=0;ce>1)-1;ee===0?M(c,h,X--,ie):ee===1?M(p,d,re--,ie):ee===2&&M(T,l,ae--,ie)}}}function v(y,f,P,L,z,F,B,O,I,N,U,W){var Q=0,le=2*y,se=f,fe=f+y,G=1,$=1;L?$=a:G=a;for(var J=z;J>>1;i(_,j);for(var ee=0,J=0;J=a?(ce=!L,X-=a):(ce=!!L,X-=1),ce)E(c,h,ee++,X);else{var xe=W[X],Te=le*X,Ue=U[Te+f+1],Ie=U[Te+f+1+y];e:for(var Ye=0;Ye>>1;i(_,X);for(var re=0,fe=0;fe=a)c[re++]=G-a;else{G-=1;var j=U[G],ee=Q*G,ie=N[ee+f+1],ce=N[ee+f+1+y];e:for(var xe=0;xe=0;--xe)if(c[xe]===G){for(var Ye=xe+1;Ye0;){for(var w=h.pop(),T=h.pop(),M=-1,E=-1,l=d[T],b=1;b=0||(c.flip(T,w),i(s,c,h,M,T,E),i(s,c,h,T,E,M),i(s,c,h,E,w,M),i(s,c,h,w,M,E))}}},5023:function(e,t,r){"use strict";var o=r(2478);e.exports=h;function n(p,d,T,l,_,w,M){this.cells=p,this.neighbor=d,this.flags=l,this.constraint=T,this.active=_,this.next=w,this.boundary=M}var i=n.prototype;function a(p,d){return p[0]-d[0]||p[1]-d[1]||p[2]-d[2]}i.locate=function(){var p=[0,0,0];return function(d,T,l){var _=d,w=T,M=l;return T0||M.length>0;){for(;w.length>0;){var u=w.pop();if(E[u]!==-_){E[u]=_;for(var y=m[u],f=0;f<3;++f){var P=v[3*u+f];P>=0&&E[P]===0&&(b[3*u+f]?M.push(P):(w.push(P),E[P]=_))}}}var L=M;M=w,w=L,M.length=0,_=-_}var z=c(m,E,d);return T?z.concat(l.boundary):z}},8902:function(e,t,r){"use strict";var o=r(2478),n=r(3250)[3],i=0,a=1,s=2;e.exports=M;function c(E,m,b,v,u){this.a=E,this.b=m,this.idx=b,this.lowerIds=v,this.upperIds=u}function h(E,m,b,v){this.a=E,this.b=m,this.type=b,this.idx=v}function p(E,m){var b=E.a[0]-m.a[0]||E.a[1]-m.a[1]||E.type-m.type;return b||E.type!==i&&(b=n(E.a,E.b,m.b),b)?b:E.idx-m.idx}function d(E,m){return n(E.a,E.b,m)}function T(E,m,b,v,u){for(var y=o.lt(m,v,d),f=o.gt(m,v,d),P=y;P1&&n(b[z[B-2]],b[z[B-1]],v)>0;)E.push([z[B-1],z[B-2],u]),B-=1;z.length=B,z.push(u);for(var F=L.upperIds,B=F.length;B>1&&n(b[F[B-2]],b[F[B-1]],v)<0;)E.push([F[B-2],F[B-1],u]),B-=1;F.length=B,F.push(u)}}function l(E,m){var b;return E.a[0]L[0]&&u.push(new h(L,P,s,y),new h(P,L,a,y))}u.sort(p);for(var z=u[0].a[0]-(1+Math.abs(u[0].a[0]))*Math.pow(2,-52),F=[new c([z,1],[z,0],-1,[],[],[],[])],B=[],y=0,O=u.length;y=0}}(),i.removeTriangle=function(c,h,p){var d=this.stars;a(d[c],h,p),a(d[h],p,c),a(d[p],c,h)},i.addTriangle=function(c,h,p){var d=this.stars;d[c].push(h,p),d[h].push(p,c),d[p].push(c,h)},i.opposite=function(c,h){for(var p=this.stars[h],d=1,T=p.length;d=0;--I){var $=B[I];N=$[0];var J=z[N],X=J[0],re=J[1],ae=L[X],j=L[re];if((ae[0]-j[0]||ae[1]-j[1])<0){var ee=X;X=re,re=ee}J[0]=X;var ie=J[1]=$[1],ce;for(O&&(ce=J[2]);I>0&&B[I-1][0]===N;){var $=B[--I],xe=$[1];O?z.push([ie,xe,ce]):z.push([ie,xe]),ie=xe}O?z.push([ie,re,ce]):z.push([ie,re])}return U}function m(L,z,F){for(var B=z.length,O=new o(B),I=[],N=0;Nz[2]?1:0)}function u(L,z,F){if(L.length!==0){if(z)for(var B=0;B0||N.length>0}function P(L,z,F){var B;if(F){B=z;for(var O=new Array(z.length),I=0;IE+1)throw new Error(w+" map requires nshades to be at least size "+_.length);Array.isArray(h.alpha)?h.alpha.length!==2?m=[1,1]:m=h.alpha.slice():typeof h.alpha=="number"?m=[h.alpha,h.alpha]:m=[1,1],p=_.map(function(P){return Math.round(P.index*E)}),m[0]=Math.min(Math.max(m[0],0),1),m[1]=Math.min(Math.max(m[1],0),1);var v=_.map(function(P,L){var z=_[L].index,F=_[L].rgb.slice();return F.length===4&&F[3]>=0&&F[3]<=1||(F[3]=m[0]+(m[1]-m[0])*z),F}),u=[];for(b=0;b=0}function h(p,d,T,l){var _=o(d,T,l);if(_===0){var w=n(o(p,d,T)),M=n(o(p,d,l));if(w===M){if(w===0){var E=c(p,d,T),m=c(p,d,l);return E===m?0:E?1:-1}return 0}else{if(M===0)return w>0||c(p,d,l)?-1:1;if(w===0)return M>0||c(p,d,T)?1:-1}return n(M-w)}var b=o(p,d,T);if(b>0)return _>0&&o(p,d,l)>0?1:-1;if(b<0)return _>0||o(p,d,l)>0?1:-1;var v=o(p,d,l);return v>0||c(p,d,T)?1:-1}},8572:function(e){"use strict";e.exports=function(r){return r<0?-1:r>0?1:0}},8507:function(e){e.exports=o;var t=Math.min;function r(n,i){return n-i}function o(n,i){var a=n.length,s=n.length-i.length;if(s)return s;switch(a){case 0:return 0;case 1:return n[0]-i[0];case 2:return n[0]+n[1]-i[0]-i[1]||t(n[0],n[1])-t(i[0],i[1]);case 3:var c=n[0]+n[1],h=i[0]+i[1];if(s=c+n[2]-(h+i[2]),s)return s;var p=t(n[0],n[1]),d=t(i[0],i[1]);return t(p,n[2])-t(d,i[2])||t(p+n[2],c)-t(d+i[2],h);case 4:var T=n[0],l=n[1],_=n[2],w=n[3],M=i[0],E=i[1],m=i[2],b=i[3];return T+l+_+w-(M+E+m+b)||t(T,l,_,w)-t(M,E,m,b,M)||t(T+l,T+_,T+w,l+_,l+w,_+w)-t(M+E,M+m,M+b,E+m,E+b,m+b)||t(T+l+_,T+l+w,T+_+w,l+_+w)-t(M+E+m,M+E+b,M+m+b,E+m+b);default:for(var v=n.slice().sort(r),u=i.slice().sort(r),y=0;yr[n][0]&&(n=i);return on?[[n],[o]]:[[o]]}},4750:function(e,t,r){"use strict";e.exports=n;var o=r(3090);function n(i){var a=o(i),s=a.length;if(s<=2)return[];for(var c=new Array(s),h=a[s-1],p=0;p=h[M]&&(w+=1);l[_]=w}}return c}function s(c,h){try{return o(c,!0)}catch{var p=n(c);if(p.length<=h)return[];var d=i(c,p),T=o(d,!0);return a(T,p)}}},4769:function(e){"use strict";function t(o,n,i,a,s,c){var h=6*s*s-6*s,p=3*s*s-4*s+1,d=-6*s*s+6*s,T=3*s*s-2*s;if(o.length){c||(c=new Array(o.length));for(var l=o.length-1;l>=0;--l)c[l]=h*o[l]+p*n[l]+d*i[l]+T*a[l];return c}return h*o+p*n+d*i[l]+T*a}function r(o,n,i,a,s,c){var h=s-1,p=s*s,d=h*h,T=(1+2*s)*d,l=s*d,_=p*(3-2*s),w=p*h;if(o.length){c||(c=new Array(o.length));for(var M=o.length-1;M>=0;--M)c[M]=T*o[M]+l*n[M]+_*i[M]+w*a[M];return c}return T*o+l*n+_*i+w*a}e.exports=r,e.exports.derivative=t},7642:function(e,t,r){"use strict";var o=r(8954),n=r(1682);e.exports=c;function i(h,p){this.point=h,this.index=p}function a(h,p){for(var d=h.point,T=p.point,l=d.length,_=0;_=2)return!1;F[O]=I}return!0}):z=z.filter(function(F){for(var B=0;B<=T;++B){var O=y[F[B]];if(O<0)return!1;F[B]=O}return!0}),T&1)for(var w=0;w>>31},e.exports.exponent=function(_){var w=e.exports.hi(_);return(w<<1>>>21)-1023},e.exports.fraction=function(_){var w=e.exports.lo(_),M=e.exports.hi(_),E=M&(1<<20)-1;return M&2146435072&&(E+=1048576),[w,E]},e.exports.denormalized=function(_){var w=e.exports.hi(_);return!(w&2146435072)}},1338:function(e){"use strict";function t(n,i,a){var s=n[a]|0;if(s<=0)return[];var c=new Array(s),h;if(a===n.length-1)for(h=0;h"u"&&(i=0),typeof n){case"number":if(n>0)return r(n|0,i);break;case"object":if(typeof n.length=="number")return t(n,i,0);break}return[]}e.exports=o},3134:function(e,t,r){"use strict";e.exports=n;var o=r(1682);function n(i,a){var s=i.length;if(typeof a!="number"){a=0;for(var c=0;c=T-1)for(var b=w.length-1,u=p-d[T-1],v=0;v=T-1)for(var m=w.length-1,b=p-d[T-1],v=0;v=0;--T)if(p[--d])return!1;return!0},s.jump=function(p){var d=this.lastT(),T=this.dimension;if(!(p0;--v)l.push(i(E[v-1],m[v-1],arguments[v])),_.push(0)}},s.push=function(p){var d=this.lastT(),T=this.dimension;if(!(p1e-6?1/M:0;this._time.push(p);for(var u=T;u>0;--u){var y=i(m[u-1],b[u-1],arguments[u]);l.push(y),_.push((y-l[w++])*v)}}},s.set=function(p){var d=this.dimension;if(!(p0;--E)T.push(i(w[E-1],M[E-1],arguments[E])),l.push(0)}},s.move=function(p){var d=this.lastT(),T=this.dimension;if(!(p<=d||arguments.length!==T+1)){var l=this._state,_=this._velocity,w=l.length-this.dimension,M=this.bounds,E=M[0],m=M[1],b=p-d,v=b>1e-6?1/b:0;this._time.push(p);for(var u=T;u>0;--u){var y=arguments[u];l.push(i(E[u-1],m[u-1],l[w++]+y)),_.push(y*v)}}},s.idle=function(p){var d=this.lastT();if(!(p=0;--v)l.push(i(E[v],m[v],l[w]+b*_[w])),_.push(0),w+=1}};function c(p){for(var d=new Array(p),T=0;T=0;--L){var u=y[L];f[L]<=0?y[L]=new o(u._color,u.key,u.value,y[L+1],u.right,u._count+1):y[L]=new o(u._color,u.key,u.value,u.left,y[L+1],u._count+1)}for(var L=y.length-1;L>1;--L){var z=y[L-1],u=y[L];if(z._color===r||u._color===r)break;var F=y[L-2];if(F.left===z)if(z.left===u){var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.left=z.right,z._color=r,z.right=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.left===F?O.left=z:O.right=z}break}}else{var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(z.right=u.left,F._color=t,F.left=u.right,u._color=r,u.left=z,u.right=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.left===F?O.left=u:O.right=u}break}}else if(z.right===u){var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.right=z.left,z._color=r,z.left=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.right===F?O.right=z:O.left=z}break}}else{var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(z.left=u.right,F._color=t,F.right=u.left,u._color=r,u.right=z,u.left=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.right===F?O.right=u:O.left=u}break}}}return y[0]._color=r,new s(v,y[0])};function h(m,b){if(b.left){var v=h(m,b.left);if(v)return v}var v=m(b.key,b.value);if(v)return v;if(b.right)return h(m,b.right)}function p(m,b,v,u){var y=b(m,u.key);if(y<=0){if(u.left){var f=p(m,b,v,u.left);if(f)return f}var f=v(u.key,u.value);if(f)return f}if(u.right)return p(m,b,v,u.right)}function d(m,b,v,u,y){var f=v(m,y.key),P=v(b,y.key),L;if(f<=0&&(y.left&&(L=d(m,b,v,u,y.left),L)||P>0&&(L=u(y.key,y.value),L)))return L;if(P>0&&y.right)return d(m,b,v,u,y.right)}c.forEach=function(b,v,u){if(this.root)switch(arguments.length){case 1:return h(b,this.root);case 2:return p(v,this._compare,b,this.root);case 3:return this._compare(v,u)>=0?void 0:d(v,u,this._compare,b,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.left;return new T(this,m)}}),Object.defineProperty(c,"end",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.right;return new T(this,m)}}),c.at=function(m){if(m<0)return new T(this,[]);for(var b=this.root,v=[];;){if(v.push(b),b.left){if(m=b.right._count)break;b=b.right}else break}return new T(this,[])},c.ge=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<=0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.gt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.lt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.le=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>=0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.find=function(m){for(var b=this._compare,v=this.root,u=[];v;){var y=b(m,v.key);if(u.push(v),y===0)return new T(this,u);y<=0?v=v.left:v=v.right}return new T(this,[])},c.remove=function(m){var b=this.find(m);return b?b.remove():this},c.get=function(m){for(var b=this._compare,v=this.root;v;){var u=b(m,v.key);if(u===0)return v.value;u<=0?v=v.left:v=v.right}};function T(m,b){this.tree=m,this._stack=b}var l=T.prototype;Object.defineProperty(l,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(l,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),l.clone=function(){return new T(this.tree,this._stack.slice())};function _(m,b){m.key=b.key,m.value=b.value,m.left=b.left,m.right=b.right,m._color=b._color,m._count=b._count}function w(m){for(var b,v,u,y,f=m.length-1;f>=0;--f){if(b=m[f],f===0){b._color=r;return}if(v=m[f-1],v.left===b){if(u=v.right,u.right&&u.right._color===t){if(u=v.right=n(u),y=u.right=n(u.right),v.right=u.left,u.left=v,u.right=y,u._color=v._color,b._color=r,v._color=r,y._color=r,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u;return}else if(u.left&&u.left._color===t){if(u=v.right=n(u),y=u.left=n(u.left),v.right=y.left,u.left=y.right,y.left=v,y.right=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.left===v?P.left=y:P.right=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.right=i(t,u);return}else{v.right=i(t,u);continue}else{if(u=n(u),v.right=u.left,u.left=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u,m[f]=v,f+11){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u;return}else if(u.right&&u.right._color===t){if(u=v.left=n(u),y=u.right=n(u.right),v.left=y.right,u.right=y.left,y.right=v,y.left=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.right===v?P.right=y:P.left=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.left=i(t,u);return}else{v.left=i(t,u);continue}else{if(u=n(u),v.left=u.right,u.right=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u,m[f]=v,f+1=0;--u){var v=m[u];v.left===m[u+1]?b[u]=new o(v._color,v.key,v.value,b[u+1],v.right,v._count):b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count)}if(v=b[b.length-1],v.left&&v.right){var y=b.length;for(v=v.left;v.right;)b.push(v),v=v.right;var f=b[y-1];b.push(new o(v._color,f.key,f.value,v.left,v.right,v._count)),b[y-1].key=v.key,b[y-1].value=v.value;for(var u=b.length-2;u>=y;--u)v=b[u],b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count);b[y-1].left=b[y]}if(v=b[b.length-1],v._color===t){var P=b[b.length-2];P.left===v?P.left=null:P.right===v&&(P.right=null),b.pop();for(var u=0;u0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(l,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(l,"index",{get:function(){var m=0,b=this._stack;if(b.length===0){var v=this.tree.root;return v?v._count:0}else b[b.length-1].left&&(m=b[b.length-1].left._count);for(var u=b.length-2;u>=0;--u)b[u+1]===b[u].right&&(++m,b[u].left&&(m+=b[u].left._count));return m},enumerable:!0}),l.next=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.right)for(b=b.right;b;)m.push(b),b=b.left;else for(m.pop();m.length>0&&m[m.length-1].right===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,"hasNext",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].right)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].left===m[b])return!0;return!1}}),l.update=function(m){var b=this._stack;if(b.length===0)throw new Error("Can't update empty node!");var v=new Array(b.length),u=b[b.length-1];v[v.length-1]=new o(u._color,u.key,m,u.left,u.right,u._count);for(var y=b.length-2;y>=0;--y)u=b[y],u.left===b[y+1]?v[y]=new o(u._color,u.key,u.value,v[y+1],u.right,u._count):v[y]=new o(u._color,u.key,u.value,u.left,v[y+1],u._count);return new s(this.tree._compare,v[0])},l.prev=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.left)for(b=b.left;b;)m.push(b),b=b.right;else for(m.pop();m.length>0&&m[m.length-1].left===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,"hasPrev",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].left)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].right===m[b])return!0;return!1}});function M(m,b){return mb?1:0}function E(m){return new s(m||M,null)}},3837:function(e,t,r){"use strict";e.exports=L;var o=r(4935),n=r(501),i=r(5304),a=r(6429),s=r(6444),c=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),h=ArrayBuffer,p=DataView;function d(z){return h.isView(z)&&!(z instanceof p)}function T(z){return Array.isArray(z)||d(z)}function l(z,F){return z[0]=F[0],z[1]=F[1],z[2]=F[2],z}function _(z){this.gl=z,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickFontStyle=["normal","normal","normal"],this.tickFontWeight=["normal","normal","normal"],this.tickFontVariant=["normal","normal","normal"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont=["sans-serif","sans-serif","sans-serif"],this.labelFontStyle=["normal","normal","normal"],this.labelFontWeight=["normal","normal","normal"],this.labelFontVariant=["normal","normal","normal"],this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=i(z)}var w=_.prototype;w.update=function(z){z=z||{};function F(X,re,ae){if(ae in z){var j=z[ae],ee=this[ae],ie;(X?T(j)&&T(j[0]):T(j))?this[ae]=ie=[re(j[0]),re(j[1]),re(j[2])]:this[ae]=ie=[re(j),re(j),re(j)];for(var ce=0;ce<3;++ce)if(ie[ce]!==ee[ce])return!0}return!1}var B=F.bind(this,!1,Number),O=F.bind(this,!1,Boolean),I=F.bind(this,!1,String),N=F.bind(this,!0,function(X){if(T(X)){if(X.length===3)return[+X[0],+X[1],+X[2],1];if(X.length===4)return[+X[0],+X[1],+X[2],+X[3]]}return[0,0,0,1]}),U,W=!1,Q=!1;if("bounds"in z)for(var le=z.bounds,se=0;se<2;++se)for(var fe=0;fe<3;++fe)le[se][fe]!==this.bounds[se][fe]&&(Q=!0),this.bounds[se][fe]=le[se][fe];if("ticks"in z){U=z.ticks,W=!0,this.autoTicks=!1;for(var se=0;se<3;++se)this.tickSpacing[se]=0}else B("tickSpacing")&&(this.autoTicks=!0,Q=!0);if(this._firstInit&&("ticks"in z||"tickSpacing"in z||(this.autoTicks=!0),Q=!0,W=!0,this._firstInit=!1),Q&&this.autoTicks&&(U=s.create(this.bounds,this.tickSpacing),W=!0),W){for(var se=0;se<3;++se)U[se].sort(function(re,ae){return re.x-ae.x});s.equal(U,this.ticks)?W=!1:this.ticks=U}O("tickEnable"),I("tickFont")&&(W=!0),I("tickFontStyle")&&(W=!0),I("tickFontWeight")&&(W=!0),I("tickFontVariant")&&(W=!0),B("tickSize"),B("tickAngle"),B("tickPad"),N("tickColor");var G=I("labels");I("labelFont")&&(G=!0),I("labelFontStyle")&&(G=!0),I("labelFontWeight")&&(G=!0),I("labelFontVariant")&&(G=!0),O("labelEnable"),B("labelSize"),B("labelPad"),N("labelColor"),O("lineEnable"),O("lineMirror"),B("lineWidth"),N("lineColor"),O("lineTickEnable"),O("lineTickMirror"),B("lineTickLength"),B("lineTickWidth"),N("lineTickColor"),O("gridEnable"),B("gridWidth"),N("gridColor"),O("zeroEnable"),N("zeroLineColor"),B("zeroLineWidth"),O("backgroundEnable"),N("backgroundColor");var $=[{family:this.labelFont[0],style:this.labelFontStyle[0],weight:this.labelFontWeight[0],variant:this.labelFontVariant[0]},{family:this.labelFont[1],style:this.labelFontStyle[1],weight:this.labelFontWeight[1],variant:this.labelFontVariant[1]},{family:this.labelFont[2],style:this.labelFontStyle[2],weight:this.labelFontWeight[2],variant:this.labelFontVariant[2]}],J=[{family:this.tickFont[0],style:this.tickFontStyle[0],weight:this.tickFontWeight[0],variant:this.tickFontVariant[0]},{family:this.tickFont[1],style:this.tickFontStyle[1],weight:this.tickFontWeight[1],variant:this.tickFontVariant[1]},{family:this.tickFont[2],style:this.tickFontStyle[2],weight:this.tickFontWeight[2],variant:this.tickFontVariant[2]}];this._text?this._text&&(G||W)&&this._text.update(this.bounds,this.labels,$,this.ticks,J):this._text=o(this.gl,this.bounds,this.labels,$,this.ticks,J),this._lines&&W&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=n(this.gl,this.bounds,this.ticks))};function M(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var E=[new M,new M,new M];function m(z,F,B,O,I){for(var N=z.primalOffset,U=z.primalMinor,W=z.mirrorOffset,Q=z.mirrorMinor,le=O[F],se=0;se<3;++se)if(F!==se){var fe=N,G=W,$=U,J=Q;le&1<0?($[se]=-1,J[se]=0):($[se]=0,J[se]=1)}}var b=[0,0,0],v={model:c,view:c,projection:c,_ortho:!1};w.isOpaque=function(){return!0},w.isTransparent=function(){return!1},w.drawTransparent=function(z){};var u=0,y=[0,0,0],f=[0,0,0],P=[0,0,0];w.draw=function(z){z=z||v;for(var ae=this.gl,F=z.model||c,B=z.view||c,O=z.projection||c,I=this.bounds,N=z._ortho||!1,U=a(F,B,O,I,N),W=U.cubeEdges,Q=U.axis,le=B[12],se=B[13],fe=B[14],G=B[15],$=N?2:1,J=$*this.pixelRatio*(O[3]*le+O[7]*se+O[11]*fe+O[15]*G)/ae.drawingBufferHeight,X=0;X<3;++X)this.lastCubeProps.cubeEdges[X]=W[X],this.lastCubeProps.axis[X]=Q[X];for(var re=E,X=0;X<3;++X)m(E[X],X,this.bounds,W,Q);for(var ae=this.gl,j=b,X=0;X<3;++X)this.backgroundEnable[X]?j[X]=Q[X]:j[X]=0;this._background.draw(F,B,O,I,j,this.backgroundColor),this._lines.bind(F,B,O,this);for(var X=0;X<3;++X){var ee=[0,0,0];Q[X]>0?ee[X]=I[1][X]:ee[X]=I[0][X];for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.gridEnable[ce]&&this._lines.drawGrid(ce,xe,this.bounds,ee,this.gridColor[ce],this.gridWidth[ce]*this.pixelRatio)}for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.zeroEnable[xe]&&Math.min(I[0][xe],I[1][xe])<=0&&Math.max(I[0][xe],I[1][xe])>=0&&this._lines.drawZero(ce,xe,this.bounds,ee,this.zeroLineColor[xe],this.zeroLineWidth[xe]*this.pixelRatio)}}for(var X=0;X<3;++X){this.lineEnable[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].primalOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio),this.lineMirror[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].mirrorOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio);for(var Te=l(y,re[X].primalMinor),Ue=l(f,re[X].mirrorMinor),Ie=this.lineTickLength,ie=0;ie<3;++ie){var Ye=J/F[5*ie];Te[ie]*=Ie[ie]*Ye,Ue[ie]*=Ie[ie]*Ye}this.lineTickEnable[X]&&this._lines.drawAxisTicks(X,re[X].primalOffset,Te,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio),this.lineTickMirror[X]&&this._lines.drawAxisTicks(X,re[X].mirrorOffset,Ue,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio)}this._lines.unbind(),this._text.bind(F,B,O,this.pixelRatio);var it,at=.5,tt,ut;function Me(et){ut=[0,0,0],ut[et]=1}function pe(et,Lt,Et){var Bt=(et+1)%3,qt=(et+2)%3,fr=Lt[Bt],ar=Lt[qt],Rr=Et[Bt],gr=Et[qt];if(fr>0&&gr>0){Me(Bt);return}else if(fr>0&&gr<0){Me(Bt);return}else if(fr<0&&gr>0){Me(Bt);return}else if(fr<0&&gr<0){Me(Bt);return}else if(ar>0&&Rr>0){Me(qt);return}else if(ar>0&&Rr<0){Me(qt);return}else if(ar<0&&Rr>0){Me(qt);return}else if(ar<0&&Rr<0){Me(qt);return}}for(var X=0;X<3;++X){for(var ue=re[X].primalMinor,Oe=re[X].mirrorMinor,rt=l(P,re[X].primalOffset),ie=0;ie<3;++ie)this.lineTickEnable[X]&&(rt[ie]+=J*ue[ie]*Math.max(this.lineTickLength[ie],0)/F[5*ie]);var ot=[0,0,0];if(ot[X]=1,this.tickEnable[X]){this.tickAngle[X]===-3600?(this.tickAngle[X]=0,this.tickAlign[X]="auto"):this.tickAlign[X]=-1,tt=1,it=[this.tickAlign[X],at,tt],it[0]==="auto"?it[0]=u:it[0]=parseInt(""+it[0]),ut=[0,0,0],pe(X,ue,Oe);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.tickPad[ie]/F[5*ie];this._text.drawTicks(X,this.tickSize[X],this.tickAngle[X],rt,this.tickColor[X],ot,ut,it)}if(this.labelEnable[X]){tt=0,ut=[0,0,0],this.labels[X].length>4&&(Me(X),tt=1),it=[this.labelAlign[X],at,tt],it[0]==="auto"?it[0]=u:it[0]=parseInt(""+it[0]);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.labelPad[ie]/F[5*ie];rt[X]+=.5*(I[0][X]+I[1][X]),this._text.drawLabel(X,this.labelSize[X],this.labelAngle[X],rt,this.labelColor[X],[0,0,0],ut,it)}}this._text.unbind()},w.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function L(z,F){var B=new _(z);return B.update(F),B}},5304:function(e,t,r){"use strict";e.exports=c;var o=r(2762),n=r(8116),i=r(1879).bg;function a(h,p,d,T){this.gl=h,this.buffer=p,this.vao=d,this.shader=T}var s=a.prototype;s.draw=function(h,p,d,T,l,_){for(var w=!1,M=0;M<3;++M)w=w||l[M];if(w){var E=this.gl;E.enable(E.POLYGON_OFFSET_FILL),E.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:h,view:p,projection:d,bounds:T,enable:l,colors:_},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),E.disable(E.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function c(h){for(var p=[],d=[],T=0,l=0;l<3;++l)for(var _=(l+1)%3,w=(l+2)%3,M=[0,0,0],E=[0,0,0],m=-1;m<=1;m+=2){d.push(T,T+2,T+1,T+1,T+2,T+3),M[l]=m,E[l]=m;for(var b=-1;b<=1;b+=2){M[_]=b;for(var v=-1;v<=1;v+=2)M[w]=v,p.push(M[0],M[1],M[2],E[0],E[1],E[2]),T+=1}var u=_;_=w,w=u}var y=o(h,new Float32Array(p)),f=o(h,new Uint16Array(d),h.ELEMENT_ARRAY_BUFFER),P=n(h,[{buffer:y,type:h.FLOAT,size:3,offset:0,stride:24},{buffer:y,type:h.FLOAT,size:3,offset:12,stride:24}],f),L=i(h);return L.attributes.position.location=0,L.attributes.normal.location=1,new a(h,y,P,L)}},6429:function(e,t,r){"use strict";e.exports=m;var o=r(8828),n=r(6760),i=r(5202),a=r(3250),s=new Array(16),c=new Array(8),h=new Array(8),p=new Array(3),d=[0,0,0];(function(){for(var b=0;b<8;++b)c[b]=[1,1,1,1],h[b]=[1,1,1]})();function T(b,v,u){for(var y=0;y<4;++y){b[y]=u[12+y];for(var f=0;f<3;++f)b[y]+=v[f]*u[4*f+y]}}var l=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function _(b){for(var v=0;vQ&&(B|=1<Q){B|=1<h[L][1])&&(re=L);for(var ae=-1,L=0;L<3;++L){var j=re^1<h[ee][0]&&(ee=j)}}var ie=w;ie[0]=ie[1]=ie[2]=0,ie[o.log2(ae^re)]=re&ae,ie[o.log2(re^ee)]=reⅇvar ce=ee^7;ce===B||ce===X?(ce=ae^7,ie[o.log2(ee^ce)]=ce&ee):ie[o.log2(ae^ce)]=ce&ae;for(var xe=M,Te=B,N=0;N<3;++N)Te&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ? + b - PI : + b; +} + +float look_horizontal_or_vertical(float a, float ratio) { + // ratio controls the ratio between being horizontal to (vertical + horizontal) + // if ratio is set to 0.5 then it is 50%, 50%. + // when using a higher ratio e.g. 0.75 the result would + // likely be more horizontal than vertical. + + float b = positive_angle(a); + + return + (b < ( ratio) * HALF_PI) ? 0.0 : + (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI : + (b < (2.0 + ratio) * HALF_PI) ? 0.0 : + (b < (4.0 - ratio) * HALF_PI) ? HALF_PI : + 0.0; +} + +float roundTo(float a, float b) { + return float(b * floor((a + 0.5 * b) / b)); +} + +float look_round_n_directions(float a, int n) { + float b = positive_angle(a); + float div = TWO_PI / float(n); + float c = roundTo(b, div); + return look_upwards(c); +} + +float applyAlignOption(float rawAngle, float delta) { + return + (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions + (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical + (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis + (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards + (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal + rawAngle; // otherwise return back raw input angle +} + +bool isAxisTitle = (axis.x == 0.0) && + (axis.y == 0.0) && + (axis.z == 0.0); + +void main() { + //Compute world offset + float axisDistance = position.z; + vec3 dataPosition = axisDistance * axis + offset; + + float beta = angle; // i.e. user defined attributes for each tick + + float axisAngle; + float clipAngle; + float flip; + + if (enableAlign) { + axisAngle = (isAxisTitle) ? HALF_PI : + computeViewAngle(dataPosition, dataPosition + axis); + clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir); + + axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0; + clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0; + + flip = (dot(vec2(cos(axisAngle), sin(axisAngle)), + vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0; + + beta += applyAlignOption(clipAngle, flip * PI); + } + + //Compute plane offset + vec2 planeCoord = position.xy * pixelScale; + + mat2 planeXform = scale * mat2( + cos(beta), sin(beta), + -sin(beta), cos(beta) + ); + + vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution; + + //Compute clip position + vec3 clipPosition = project(dataPosition); + + //Apply text offset in clip coordinates + clipPosition += vec3(viewOffset, 0.0); + + //Done + gl_Position = vec4(clipPosition, 1.0); +} +`]),c=o([`precision highp float; +#define GLSLIFY 1 + +uniform vec4 color; +void main() { + gl_FragColor = color; +}`]);t.Q=function(d){return n(d,s,c,null,[{name:"position",type:"vec3"}])};var h=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position; +attribute vec3 normal; + +uniform mat4 model, view, projection; +uniform vec3 enable; +uniform vec3 bounds[2]; + +varying vec3 colorChannel; + +void main() { + + vec3 signAxis = sign(bounds[1] - bounds[0]); + + vec3 realNormal = signAxis * normal; + + if(dot(realNormal, enable) > 0.0) { + vec3 minRange = min(bounds[0], bounds[1]); + vec3 maxRange = max(bounds[0], bounds[1]); + vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0)); + gl_Position = projection * (view * (model * vec4(nPosition, 1.0))); + } else { + gl_Position = vec4(0,0,0,0); + } + + colorChannel = abs(realNormal); +} +`]),p=o([`precision highp float; +#define GLSLIFY 1 + +uniform vec4 colors[3]; + +varying vec3 colorChannel; + +void main() { + gl_FragColor = colorChannel.x * colors[0] + + colorChannel.y * colors[1] + + colorChannel.z * colors[2]; +}`]);t.bg=function(d){return n(d,h,p,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},4935:function(e,t,r){"use strict";e.exports=_;var o=r(2762),n=r(8116),i=r(4359),a=r(1879).Q,s=window||process.global||{},c=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};var h=3;function p(w,M,E,m){this.gl=w,this.shader=M,this.buffer=E,this.vao=m,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var d=p.prototype,T=[0,0];d.bind=function(w,M,E,m){this.vao.bind(),this.shader.bind();var b=this.shader.uniforms;b.model=w,b.view=M,b.projection=E,b.pixelScale=m,T[0]=this.gl.drawingBufferWidth,T[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=T},d.unbind=function(){this.vao.unbind()},d.update=function(w,M,E,m,b){var v=[];function u(N,U,W,Q,le,se){var fe=[W.style,W.weight,W.variant,W.family].join("_"),G=c[fe];G||(G=c[fe]={});var $=G[U];$||($=G[U]=l(U,{triangles:!0,font:W.family,fontStyle:W.style,fontWeight:W.weight,fontVariant:W.variant,textAlign:"center",textBaseline:"middle",lineSpacing:le,styletags:se}));for(var J=(Q||12)/12,X=$.positions,re=$.cells,ae=0,j=re.length;ae=0;--ie){var ce=X[ee[ie]];v.push(J*ce[0],-J*ce[1],N)}}for(var y=[0,0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0],z=1.25,F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){P[B]=v.length/h|0,u(.5*(w[0][B]+w[1][B]),M[B],E[B],12,z,F),L[B]=(v.length/h|0)-P[B],y[B]=v.length/h|0;for(var O=0;O=0&&(h=s.length-c-1);var p=Math.pow(10,h),d=Math.round(i*a*p),T=d+"";if(T.indexOf("e")>=0)return T;var l=d/p,_=d%p;d<0?(l=-Math.ceil(l)|0,_=-_|0):(l=Math.floor(l)|0,_=_|0);var w=""+l;if(d<0&&(w="-"+w),h){for(var M=""+_;M.length=i[0][c];--d)h.push({x:d*a[c],text:r(a[c],d)});s.push(h)}return s}function n(i,a){for(var s=0;s<3;++s){if(i[s].length!==a[s].length)return!1;for(var c=0;cw)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return l.bufferSubData(_,m,E),w}function p(l,_){for(var w=o.malloc(l.length,_),M=l.length,E=0;E=0;--M){if(_[M]!==w)return!1;w*=l[M]}return!0}c.update=function(l,_){if(typeof _!="number"&&(_=-1),this.bind(),typeof l=="object"&&typeof l.shape<"u"){var w=l.dtype;if(a.indexOf(w)<0&&(w="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var M=gl.getExtension("OES_element_index_uint");M&&w!=="uint16"?w="uint32":w="uint16"}if(w===l.dtype&&d(l.shape,l.stride))l.offset===0&&l.data.length===l.shape[0]?this.length=h(this.gl,this.type,this.length,this.usage,l.data,_):this.length=h(this.gl,this.type,this.length,this.usage,l.data.subarray(l.offset,l.shape[0]),_);else{var E=o.malloc(l.size,w),m=i(E,l.shape);n.assign(m,l),_<0?this.length=h(this.gl,this.type,this.length,this.usage,E,_):this.length=h(this.gl,this.type,this.length,this.usage,E.subarray(0,l.size),_),o.free(E)}}else if(Array.isArray(l)){var b;this.type===this.gl.ELEMENT_ARRAY_BUFFER?b=p(l,"uint16"):b=p(l,"float32"),_<0?this.length=h(this.gl,this.type,this.length,this.usage,b,_):this.length=h(this.gl,this.type,this.length,this.usage,b.subarray(0,l.length),_),o.free(b)}else if(typeof l=="object"&&typeof l.length=="number")this.length=h(this.gl,this.type,this.length,this.usage,l,_);else if(typeof l=="number"||l===void 0){if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");l=l|0,l<=0&&(l=1),this.gl.bufferData(this.type,l|0,this.usage),this.length=l}else throw new Error("gl-buffer: Invalid data type")};function T(l,_,w,M){if(w=w||l.ARRAY_BUFFER,M=M||l.DYNAMIC_DRAW,w!==l.ARRAY_BUFFER&&w!==l.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(M!==l.DYNAMIC_DRAW&&M!==l.STATIC_DRAW&&M!==l.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var E=l.createBuffer(),m=new s(l,w,E,0,M);return m.update(_),m}e.exports=T},6405:function(e,t,r){"use strict";var o=r(2931);e.exports=function(i,a){var s=i.positions,c=i.vectors,h={positions:[],vertexIntensity:[],vertexIntensityBounds:i.vertexIntensityBounds,vectors:[],cells:[],coneOffset:i.coneOffset,colormap:i.colormap};if(i.positions.length===0)return a&&(a[0]=[0,0,0],a[1]=[0,0,0]),h;for(var p=0,d=1/0,T=-1/0,l=1/0,_=-1/0,w=1/0,M=-1/0,E=null,m=null,b=[],v=1/0,u=!1,y=i.coneSizemode==="raw",f=0;fp&&(p=o.length(L)),f&&!y){var z=2*o.distance(E,P)/(o.length(m)+o.length(L));z?(v=Math.min(v,z),u=!1):u=!0}u||(E=P,m=L),b.push(L)}var F=[d,l,w],B=[T,_,M];a&&(a[0]=F,a[1]=B),p===0&&(p=1);var O=1/p;isFinite(v)||(v=1),h.vectorScale=v;var I=i.coneSize||(y?1:.5);i.absoluteConeSize&&(I=i.absoluteConeSize*O),h.coneScale=I;for(var f=0,N=0;f=1},l.isTransparent=function(){return this.opacity<1},l.pickSlots=1,l.setPickBase=function(b){this.pickId=b};function _(b){for(var v=p({colormap:b,nshades:256,format:"rgba"}),u=new Uint8Array(256*4),y=0;y<256;++y){for(var f=v[y],P=0;P<3;++P)u[4*y+P]=f[P];u[4*y+3]=f[3]*255}return h(u,[256,256,4],[4,0,1])}function w(b){for(var v=b.length,u=new Array(v),y=0;y0){var N=this.triShader;N.bind(),N.uniforms=z,this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},l.drawPick=function(b){b=b||{};for(var v=this.gl,u=b.model||d,y=b.view||d,f=b.projection||d,P=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],L=0;L<3;++L)P[0][L]=Math.max(P[0][L],this.clipBounds[0][L]),P[1][L]=Math.min(P[1][L],this.clipBounds[1][L]);this._model=[].slice.call(u),this._view=[].slice.call(y),this._projection=[].slice.call(f),this._resolution=[v.drawingBufferWidth,v.drawingBufferHeight];var z={model:u,view:y,projection:f,clipBounds:P,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},F=this.pickShader;F.bind(),F.uniforms=z,this.triangleCount>0&&(this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},l.pick=function(b){if(!b||b.id!==this.pickId)return null;var v=b.value[0]+256*b.value[1]+65536*b.value[2],u=this.cells[v],y=this.positions[u[1]].slice(0,3),f={position:y,dataCoordinate:y,index:Math.floor(u[1]/48)};return this.traceType==="cone"?f.index=Math.floor(u[1]/48):this.traceType==="streamtube"&&(f.intensity=this.intensity[u[1]],f.velocity=this.vectors[u[1]].slice(0,3),f.divergence=this.vectors[u[1]][3],f.index=v),f},l.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function M(b,v){var u=o(b,v.meshShader.vertex,v.meshShader.fragment,null,v.meshShader.attributes);return u.attributes.position.location=0,u.attributes.color.location=2,u.attributes.uv.location=3,u.attributes.vector.location=4,u}function E(b,v){var u=o(b,v.pickShader.vertex,v.pickShader.fragment,null,v.pickShader.attributes);return u.attributes.position.location=0,u.attributes.id.location=1,u.attributes.vector.location=4,u}function m(b,v,u){var y=u.shaders;arguments.length===1&&(v=b,b=v.gl);var f=M(b,y),P=E(b,y),L=a(b,h(new Uint8Array([255,255,255,255]),[1,1,4]));L.generateMipmap(),L.minFilter=b.LINEAR_MIPMAP_LINEAR,L.magFilter=b.LINEAR;var z=n(b),F=n(b),B=n(b),O=n(b),I=n(b),N=i(b,[{buffer:z,type:b.FLOAT,size:4},{buffer:I,type:b.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:B,type:b.FLOAT,size:4},{buffer:O,type:b.FLOAT,size:2},{buffer:F,type:b.FLOAT,size:4}]),U=new T(b,L,f,P,z,F,I,B,O,N,u.traceType||"cone");return U.update(v),U}e.exports=m},614:function(e,t,r){var o=r(3236),n=o([`precision highp float; + +precision highp float; +#define GLSLIFY 1 + +vec3 getOrthogonalVector(vec3 v) { + // Return up-vector for only-z vector. + // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). + // From the above if-statement we have ||a|| > 0 U ||b|| > 0. + // Assign z = 0, x = -b, y = a: + // a*-b + b*a + c*0 = -ba + ba + 0 = 0 + if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { + return normalize(vec3(-v.y, v.x, 0.0)); + } else { + return normalize(vec3(0.0, v.z, -v.y)); + } +} + +// Calculate the cone vertex and normal at the given index. +// +// The returned vertex is for a cone with its top at origin and height of 1.0, +// pointing in the direction of the vector attribute. +// +// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. +// These vertices are used to make up the triangles of the cone by the following: +// segment + 0 top vertex +// segment + 1 perimeter vertex a+1 +// segment + 2 perimeter vertex a +// segment + 3 center base vertex +// segment + 4 perimeter vertex a +// segment + 5 perimeter vertex a+1 +// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. +// To go from index to segment, floor(index / 6) +// To go from segment to angle, 2*pi * (segment/segmentCount) +// To go from index to segment index, index - (segment*6) +// +vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { + + const float segmentCount = 8.0; + + float index = rawIndex - floor(rawIndex / + (segmentCount * 6.0)) * + (segmentCount * 6.0); + + float segment = floor(0.001 + index/6.0); + float segmentIndex = index - (segment*6.0); + + normal = -normalize(d); + + if (segmentIndex > 2.99 && segmentIndex < 3.01) { + return mix(vec3(0.0), -d, coneOffset); + } + + float nextAngle = ( + (segmentIndex > 0.99 && segmentIndex < 1.01) || + (segmentIndex > 4.99 && segmentIndex < 5.01) + ) ? 1.0 : 0.0; + float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); + + vec3 v1 = mix(d, vec3(0.0), coneOffset); + vec3 v2 = v1 - d; + + vec3 u = getOrthogonalVector(d); + vec3 v = normalize(cross(u, d)); + + vec3 x = u * cos(angle) * length(d)*0.25; + vec3 y = v * sin(angle) * length(d)*0.25; + vec3 v3 = v2 + x + y; + if (segmentIndex < 3.0) { + vec3 tx = u * sin(angle); + vec3 ty = v * -cos(angle); + vec3 tangent = tx + ty; + normal = normalize(cross(v3 - v1, tangent)); + } + + if (segmentIndex == 0.0) { + return mix(d, vec3(0.0), coneOffset); + } + return v3; +} + +attribute vec3 vector; +attribute vec4 color, position; +attribute vec2 uv; + +uniform float vectorScale, coneScale, coneOffset; +uniform mat4 model, view, projection, inverseModel; +uniform vec3 eyePosition, lightPosition; + +varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + // Scale the vector magnitude to stay constant with + // model & view changes. + vec3 normal; + vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal); + vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); + + //Lighting geometry parameters + vec4 cameraCoordinate = view * conePosition; + cameraCoordinate.xyz /= cameraCoordinate.w; + f_lightDirection = lightPosition - cameraCoordinate.xyz; + f_eyeDirection = eyePosition - cameraCoordinate.xyz; + f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); + + // vec4 m_position = model * vec4(conePosition, 1.0); + vec4 t_position = view * conePosition; + gl_Position = projection * t_position; + + f_color = color; + f_data = conePosition.xyz; + f_position = position.xyz; + f_uv = uv; +} +`]),i=o([`#extension GL_OES_standard_derivatives : enable + +precision highp float; +#define GLSLIFY 1 + +float beckmannDistribution(float x, float roughness) { + float NdotH = max(x, 0.0001); + float cos2Alpha = NdotH * NdotH; + float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; + float roughness2 = roughness * roughness; + float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; + return exp(tan2Alpha / roughness2) / denom; +} + +float cookTorranceSpecular( + vec3 lightDirection, + vec3 viewDirection, + vec3 surfaceNormal, + float roughness, + float fresnel) { + + float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); + float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); + + //Half angle vector + vec3 H = normalize(lightDirection + viewDirection); + + //Geometric term + float NdotH = max(dot(surfaceNormal, H), 0.0); + float VdotH = max(dot(viewDirection, H), 0.000001); + float LdotH = max(dot(lightDirection, H), 0.000001); + float G1 = (2.0 * NdotH * VdotN) / VdotH; + float G2 = (2.0 * NdotH * LdotN) / LdotH; + float G = min(1.0, min(G1, G2)); + + //Distribution term + float D = beckmannDistribution(NdotH, roughness); + + //Fresnel term + float F = pow(1.0 - VdotN, fresnel); + + //Multiply terms and done + return G * F * D / max(3.14159265 * VdotN, 0.000001); +} + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; +uniform sampler2D texture; + +varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; + vec3 N = normalize(f_normal); + vec3 L = normalize(f_lightDirection); + vec3 V = normalize(f_eyeDirection); + + if(gl_FrontFacing) { + N = -N; + } + + float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); + float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); + + vec4 surfaceColor = f_color * texture2D(texture, f_uv); + vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); + + gl_FragColor = litColor * opacity; +} +`]),a=o([`precision highp float; + +precision highp float; +#define GLSLIFY 1 + +vec3 getOrthogonalVector(vec3 v) { + // Return up-vector for only-z vector. + // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). + // From the above if-statement we have ||a|| > 0 U ||b|| > 0. + // Assign z = 0, x = -b, y = a: + // a*-b + b*a + c*0 = -ba + ba + 0 = 0 + if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { + return normalize(vec3(-v.y, v.x, 0.0)); + } else { + return normalize(vec3(0.0, v.z, -v.y)); + } +} + +// Calculate the cone vertex and normal at the given index. +// +// The returned vertex is for a cone with its top at origin and height of 1.0, +// pointing in the direction of the vector attribute. +// +// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. +// These vertices are used to make up the triangles of the cone by the following: +// segment + 0 top vertex +// segment + 1 perimeter vertex a+1 +// segment + 2 perimeter vertex a +// segment + 3 center base vertex +// segment + 4 perimeter vertex a +// segment + 5 perimeter vertex a+1 +// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. +// To go from index to segment, floor(index / 6) +// To go from segment to angle, 2*pi * (segment/segmentCount) +// To go from index to segment index, index - (segment*6) +// +vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { + + const float segmentCount = 8.0; + + float index = rawIndex - floor(rawIndex / + (segmentCount * 6.0)) * + (segmentCount * 6.0); + + float segment = floor(0.001 + index/6.0); + float segmentIndex = index - (segment*6.0); + + normal = -normalize(d); + + if (segmentIndex > 2.99 && segmentIndex < 3.01) { + return mix(vec3(0.0), -d, coneOffset); + } + + float nextAngle = ( + (segmentIndex > 0.99 && segmentIndex < 1.01) || + (segmentIndex > 4.99 && segmentIndex < 5.01) + ) ? 1.0 : 0.0; + float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); + + vec3 v1 = mix(d, vec3(0.0), coneOffset); + vec3 v2 = v1 - d; + + vec3 u = getOrthogonalVector(d); + vec3 v = normalize(cross(u, d)); + + vec3 x = u * cos(angle) * length(d)*0.25; + vec3 y = v * sin(angle) * length(d)*0.25; + vec3 v3 = v2 + x + y; + if (segmentIndex < 3.0) { + vec3 tx = u * sin(angle); + vec3 ty = v * -cos(angle); + vec3 tangent = tx + ty; + normal = normalize(cross(v3 - v1, tangent)); + } + + if (segmentIndex == 0.0) { + return mix(d, vec3(0.0), coneOffset); + } + return v3; +} + +attribute vec4 vector; +attribute vec4 position; +attribute vec4 id; + +uniform mat4 model, view, projection; +uniform float vectorScale, coneScale, coneOffset; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + vec3 normal; + vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal); + vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); + gl_Position = projection * (view * conePosition); + f_id = id; + f_position = position.xyz; +} +`]),s=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float pickId; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; + + gl_FragColor = vec4(pickId, f_id.xyz); +}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},737:function(e){e.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},5171:function(e,t,r){var o=r(737);e.exports=function(i){return o[i]}},9165:function(e,t,r){"use strict";e.exports=T;var o=r(2762),n=r(8116),i=r(3436),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(l,_,w,M){this.gl=l,this.shader=M,this.buffer=_,this.vao=w,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var c=s.prototype;c.isOpaque=function(){return!this.hasAlpha},c.isTransparent=function(){return this.hasAlpha},c.drawTransparent=c.draw=function(l){var _=this.gl,w=this.shader.uniforms;this.shader.bind();var M=w.view=l.view||a,E=w.projection=l.projection||a;w.model=l.model||a,w.clipBounds=this.clipBounds,w.opacity=this.opacity;var m=M[12],b=M[13],v=M[14],u=M[15],y=l._ortho||!1,f=y?2:1,P=f*this.pixelRatio*(E[3]*m+E[7]*b+E[11]*v+E[15]*u)/_.drawingBufferHeight;this.vao.bind();for(var L=0;L<3;++L)_.lineWidth(this.lineWidth[L]*this.pixelRatio),w.capSize=this.capSize[L]*P,this.lineCount[L]&&_.drawArrays(_.LINES,this.lineOffset[L],this.lineCount[L]);this.vao.unbind()};function h(l,_){for(var w=0;w<3;++w)l[0][w]=Math.min(l[0][w],_[w]),l[1][w]=Math.max(l[1][w],_[w])}var p=function(){for(var l=new Array(3),_=0;_<3;++_){for(var w=[],M=1;M<=2;++M)for(var E=-1;E<=1;E+=2){var m=(M+_)%3,b=[0,0,0];b[m]=E,w.push(b)}l[_]=w}return l}();function d(l,_,w,M){for(var E=p[M],m=0;m0){var z=y.slice();z[v]+=P[1][v],E.push(y[0],y[1],y[2],L[0],L[1],L[2],L[3],0,0,0,z[0],z[1],z[2],L[0],L[1],L[2],L[3],0,0,0),h(this.bounds,z),b+=2+d(E,z,L,v)}}}this.lineCount[v]=b-this.lineOffset[v]}this.buffer.update(E)}},c.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function T(l){var _=l.gl,w=o(_),M=n(_,[{buffer:w,type:_.FLOAT,size:3,offset:0,stride:40},{buffer:w,type:_.FLOAT,size:4,offset:12,stride:40},{buffer:w,type:_.FLOAT,size:3,offset:28,stride:40}]),E=i(_);E.attributes.position.location=0,E.attributes.color.location=1,E.attributes.offset.location=2;var m=new s(_,w,M,E);return m.update(l),m}},3436:function(e,t,r){"use strict";var o=r(3236),n=r(9405),i=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position, offset; +attribute vec4 color; +uniform mat4 model, view, projection; +uniform float capSize; +varying vec4 fragColor; +varying vec3 fragPosition; + +void main() { + vec4 worldPosition = model * vec4(position, 1.0); + worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0); + gl_Position = projection * (view * worldPosition); + fragColor = color; + fragPosition = position; +}`]),a=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float opacity; +varying vec3 fragPosition; +varying vec4 fragColor; + +void main() { + if ( + outOfRange(clipBounds[0], clipBounds[1], fragPosition) || + fragColor.a * opacity == 0. + ) discard; + + gl_FragColor = opacity * fragColor; +}`]);e.exports=function(s){return n(s,i,a,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},2260:function(e,t,r){"use strict";var o=r(7766);e.exports=b;var n=null,i,a,s,c;function h(v){var u=v.getParameter(v.FRAMEBUFFER_BINDING),y=v.getParameter(v.RENDERBUFFER_BINDING),f=v.getParameter(v.TEXTURE_BINDING_2D);return[u,y,f]}function p(v,u){v.bindFramebuffer(v.FRAMEBUFFER,u[0]),v.bindRenderbuffer(v.RENDERBUFFER,u[1]),v.bindTexture(v.TEXTURE_2D,u[2])}function d(v,u){var y=v.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL);n=new Array(y+1);for(var f=0;f<=y;++f){for(var P=new Array(y),L=0;L1&&F.drawBuffersWEBGL(n[z]);var U=y.getExtension("WEBGL_depth_texture");U?B?v.depth=l(y,P,L,U.UNSIGNED_INT_24_8_WEBGL,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O&&(v.depth=l(y,P,L,y.UNSIGNED_SHORT,y.DEPTH_COMPONENT,y.DEPTH_ATTACHMENT)):O&&B?v._depth_rb=_(y,P,L,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O?v._depth_rb=_(y,P,L,y.DEPTH_COMPONENT16,y.DEPTH_ATTACHMENT):B&&(v._depth_rb=_(y,P,L,y.STENCIL_INDEX,y.STENCIL_ATTACHMENT));var W=y.checkFramebufferStatus(y.FRAMEBUFFER);if(W!==y.FRAMEBUFFER_COMPLETE){v._destroyed=!0,y.bindFramebuffer(y.FRAMEBUFFER,null),y.deleteFramebuffer(v.handle),v.handle=null,v.depth&&(v.depth.dispose(),v.depth=null),v._depth_rb&&(y.deleteRenderbuffer(v._depth_rb),v._depth_rb=null);for(var N=0;NP||y<0||y>P)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");v._shape[0]=u,v._shape[1]=y;for(var L=h(f),z=0;zL||y<0||y>L)throw new Error("gl-fbo: Parameters are too large for FBO");f=f||{};var z=1;if("color"in f){if(z=Math.max(f.color|0,0),z<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(z>1)if(P){if(z>v.getParameter(P.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+z+" draw buffers")}else throw new Error("gl-fbo: Multiple draw buffer extension not supported")}var F=v.UNSIGNED_BYTE,B=v.getExtension("OES_texture_float");if(f.float&&z>0){if(!B)throw new Error("gl-fbo: Context does not support floating point textures");F=v.FLOAT}else f.preferFloat&&z>0&&B&&(F=v.FLOAT);var O=!0;"depth"in f&&(O=!!f.depth);var I=!1;return"stencil"in f&&(I=!!f.stencil),new M(v,u,y,F,z,O,I,P)}},2992:function(e,t,r){var o=r(3387).sprintf,n=r(5171),i=r(1848),a=r(1085);e.exports=s;function s(c,h,p){"use strict";var d=i(h)||"of unknown name (see npm glsl-shader-name)",T="unknown type";p!==void 0&&(T=p===n.FRAGMENT_SHADER?"fragment":"vertex");for(var l=o(`Error compiling %s shader %s: +`,T,d),_=o("%s%s",l,c),w=c.split(` +`),M={},E=0;E max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform sampler2D dashTexture; +uniform float dashScale; +uniform float opacity; + +varying vec3 worldPosition; +varying float pixelArcLength; +varying vec4 fragColor; + +void main() { + if ( + outOfRange(clipBounds[0], clipBounds[1], worldPosition) || + fragColor.a * opacity == 0. + ) discard; + + float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r; + if(dashWeight < 0.5) { + discard; + } + gl_FragColor = fragColor * opacity; +} +`]),s=o([`precision highp float; +#define GLSLIFY 1 + +#define FLOAT_MAX 1.70141184e38 +#define FLOAT_MIN 1.17549435e-38 + +// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl +vec4 packFloat(float v) { + float av = abs(v); + + //Handle special cases + if(av < FLOAT_MIN) { + return vec4(0.0, 0.0, 0.0, 0.0); + } else if(v > FLOAT_MAX) { + return vec4(127.0, 128.0, 0.0, 0.0) / 255.0; + } else if(v < -FLOAT_MAX) { + return vec4(255.0, 128.0, 0.0, 0.0) / 255.0; + } + + vec4 c = vec4(0,0,0,0); + + //Compute exponent and mantissa + float e = floor(log2(av)); + float m = av * pow(2.0, -e) - 1.0; + + //Unpack mantissa + c[1] = floor(128.0 * m); + m -= c[1] / 128.0; + c[2] = floor(32768.0 * m); + m -= c[2] / 32768.0; + c[3] = floor(8388608.0 * m); + + //Unpack exponent + float ebias = e + 127.0; + c[0] = floor(ebias / 2.0); + ebias -= c[0] * 2.0; + c[1] += floor(ebias) * 128.0; + + //Unpack sign bit + c[0] += 128.0 * step(0.0, -v); + + //Scale back to range + return c / 255.0; +} + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform float pickId; +uniform vec3 clipBounds[2]; + +varying vec3 worldPosition; +varying float pixelArcLength; +varying vec4 fragColor; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard; + + gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz); +}`]),c=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];t.createShader=function(h){return n(h,i,a,null,c)},t.createPickShader=function(h){return n(h,i,s,null,c)}},5714:function(e,t,r){"use strict";e.exports=v;var o=r(2762),n=r(8116),i=r(7766),a=new Uint8Array(4),s=new Float32Array(a.buffer);function c(u,y,f,P){return a[0]=P,a[1]=f,a[2]=y,a[3]=u,s[0]}var h=r(2478),p=r(9618),d=r(7319),T=d.createShader,l=d.createPickShader,_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function w(u,y){for(var f=0,P=0;P<3;++P){var L=u[P]-y[P];f+=L*L}return Math.sqrt(f)}function M(u){for(var y=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],f=0;f<3;++f)y[0][f]=Math.max(u[0][f],y[0][f]),y[1][f]=Math.min(u[1][f],y[1][f]);return y}function E(u,y,f,P){this.arcLength=u,this.position=y,this.index=f,this.dataCoordinate=P}function m(u,y,f,P,L,z){this.gl=u,this.shader=y,this.pickShader=f,this.buffer=P,this.vao=L,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=z,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=m.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(u){this.pickId=u},b.drawTransparent=b.draw=function(u){if(this.vertexCount){var y=this.gl,f=this.shader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,clipBounds:M(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.drawPick=function(u){if(this.vertexCount){var y=this.gl,f=this.pickShader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,pickId:this.pickId,clipBounds:M(this.clipBounds),screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.update=function(u){var y,f;this.dirty=!0;var P=!!u.connectGaps;"dashScale"in u&&(this.dashScale=u.dashScale),this.hasAlpha=!1,"opacity"in u&&(this.opacity=+u.opacity,this.opacity<1&&(this.hasAlpha=!0));var L=[],z=[],F=[],B=0,O=0,I=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],N=u.position||u.positions;if(N){var U=u.color||u.colors||[0,0,0,1],W=u.lineWidth||1,Q=!1;e:for(y=1;y0){for(var fe=0;fe<24;++fe)L.push(L[L.length-12]);O+=2,Q=!0}continue e}I[0][f]=Math.min(I[0][f],le[f],se[f]),I[1][f]=Math.max(I[1][f],le[f],se[f])}var G,$;Array.isArray(U[0])?(G=U.length>y-1?U[y-1]:U.length>0?U[U.length-1]:[0,0,0,1],$=U.length>y?U[y]:U.length>0?U[U.length-1]:[0,0,0,1]):G=$=U,G.length===3&&(G=[G[0],G[1],G[2],1]),$.length===3&&($=[$[0],$[1],$[2],1]),!this.hasAlpha&&G[3]<1&&(this.hasAlpha=!0);var J;Array.isArray(W)?J=W.length>y-1?W[y-1]:W.length>0?W[W.length-1]:[0,0,0,1]:J=W;var X=B;if(B+=w(le,se),Q){for(f=0;f<2;++f)L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3]);O+=2,Q=!1}L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3],le[0],le[1],le[2],se[0],se[1],se[2],X,-J,G[0],G[1],G[2],G[3],se[0],se[1],se[2],le[0],le[1],le[2],B,-J,$[0],$[1],$[2],$[3],se[0],se[1],se[2],le[0],le[1],le[2],B,J,$[0],$[1],$[2],$[3]),O+=4}}if(this.buffer.update(L),z.push(B),F.push(N[N.length-1].slice()),this.bounds=I,this.vertexCount=O,this.points=F,this.arcLength=z,"dashes"in u){var re=u.dashes,ae=re.slice();for(ae.unshift(0),y=1;y1.0001)return null;f+=y[E]}return Math.abs(f-1)>.001?null:[m,c(p,y),y]}},840:function(e,t,r){var o=r(3236),n=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position, normal; +attribute vec4 color; +attribute vec2 uv; + +uniform mat4 model + , view + , projection + , inverseModel; +uniform vec3 eyePosition + , lightPosition; + +varying vec3 f_normal + , f_lightDirection + , f_eyeDirection + , f_data; +varying vec4 f_color; +varying vec2 f_uv; + +vec4 project(vec3 p) { + return projection * (view * (model * vec4(p, 1.0))); +} + +void main() { + gl_Position = project(position); + + //Lighting geometry parameters + vec4 cameraCoordinate = view * vec4(position , 1.0); + cameraCoordinate.xyz /= cameraCoordinate.w; + f_lightDirection = lightPosition - cameraCoordinate.xyz; + f_eyeDirection = eyePosition - cameraCoordinate.xyz; + f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); + + f_color = color; + f_data = position; + f_uv = uv; +} +`]),i=o([`#extension GL_OES_standard_derivatives : enable + +precision highp float; +#define GLSLIFY 1 + +float beckmannDistribution(float x, float roughness) { + float NdotH = max(x, 0.0001); + float cos2Alpha = NdotH * NdotH; + float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; + float roughness2 = roughness * roughness; + float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; + return exp(tan2Alpha / roughness2) / denom; +} + +float cookTorranceSpecular( + vec3 lightDirection, + vec3 viewDirection, + vec3 surfaceNormal, + float roughness, + float fresnel) { + + float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); + float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); + + //Half angle vector + vec3 H = normalize(lightDirection + viewDirection); + + //Geometric term + float NdotH = max(dot(surfaceNormal, H), 0.0); + float VdotH = max(dot(viewDirection, H), 0.000001); + float LdotH = max(dot(lightDirection, H), 0.000001); + float G1 = (2.0 * NdotH * VdotN) / VdotH; + float G2 = (2.0 * NdotH * LdotN) / LdotH; + float G = min(1.0, min(G1, G2)); + + //Distribution term + float D = beckmannDistribution(NdotH, roughness); + + //Fresnel term + float F = pow(1.0 - VdotN, fresnel); + + //Multiply terms and done + return G * F * D / max(3.14159265 * VdotN, 0.000001); +} + +//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float roughness + , fresnel + , kambient + , kdiffuse + , kspecular; +uniform sampler2D texture; + +varying vec3 f_normal + , f_lightDirection + , f_eyeDirection + , f_data; +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + if (f_color.a == 0.0 || + outOfRange(clipBounds[0], clipBounds[1], f_data) + ) discard; + + vec3 N = normalize(f_normal); + vec3 L = normalize(f_lightDirection); + vec3 V = normalize(f_eyeDirection); + + if(gl_FrontFacing) { + N = -N; + } + + float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); + //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d + + float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); + + vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv); + vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); + + gl_FragColor = litColor * f_color.a; +} +`]),a=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position; +attribute vec4 color; +attribute vec2 uv; + +uniform mat4 model, view, projection; + +varying vec4 f_color; +varying vec3 f_data; +varying vec2 f_uv; + +void main() { + gl_Position = projection * (view * (model * vec4(position, 1.0))); + f_color = color; + f_data = position; + f_uv = uv; +}`]),s=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform sampler2D texture; +uniform float opacity; + +varying vec4 f_color; +varying vec3 f_data; +varying vec2 f_uv; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard; + + gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; +}`]),c=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +attribute vec3 position; +attribute vec4 color; +attribute vec2 uv; +attribute float pointSize; + +uniform mat4 model, view, projection; +uniform vec3 clipBounds[2]; + +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], position)) { + + gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0); + } else { + gl_Position = projection * (view * (model * vec4(position, 1.0))); + } + gl_PointSize = pointSize; + f_color = color; + f_uv = uv; +}`]),h=o([`precision highp float; +#define GLSLIFY 1 + +uniform sampler2D texture; +uniform float opacity; + +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5); + if(dot(pointR, pointR) > 0.25) { + discard; + } + gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; +}`]),p=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position; +attribute vec4 id; + +uniform mat4 model, view, projection; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + gl_Position = projection * (view * (model * vec4(position, 1.0))); + f_id = id; + f_position = position; +}`]),d=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float pickId; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; + + gl_FragColor = vec4(pickId, f_id.xyz); +}`]),T=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +attribute vec3 position; +attribute float pointSize; +attribute vec4 id; + +uniform mat4 model, view, projection; +uniform vec3 clipBounds[2]; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], position)) { + + gl_Position = vec4(0.0, 0.0, 0.0, 0.0); + } else { + gl_Position = projection * (view * (model * vec4(position, 1.0))); + gl_PointSize = pointSize; + } + f_id = id; + f_position = position; +}`]),l=o([`precision highp float; +#define GLSLIFY 1 + +attribute vec3 position; + +uniform mat4 model, view, projection; + +void main() { + gl_Position = projection * (view * (model * vec4(position, 1.0))); +}`]),_=o([`precision highp float; +#define GLSLIFY 1 + +uniform vec3 contourColor; + +void main() { + gl_FragColor = vec4(contourColor, 1.0); +} +`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.wireShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.pointShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},t.pickShader={vertex:p,fragment:d,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},t.pointPickShader={vertex:T,fragment:d,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},t.contourShader={vertex:l,fragment:_,attributes:[{name:"position",type:"vec3"}]}},7201:function(e,t,r){"use strict";var o=1e-6,n=1e-6,i=r(9405),a=r(2762),s=r(8116),c=r(7766),h=r(8406),p=r(6760),d=r(7608),T=r(9618),l=r(6729),_=r(7765),w=r(1888),M=r(840),E=r(7626),m=M.meshShader,b=M.wireShader,v=M.pointShader,u=M.pickShader,y=M.pointPickShader,f=M.contourShader,P=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function L(fe,G,$,J,X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et){this.gl=fe,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=G,this.dirty=!0,this.triShader=$,this.lineShader=J,this.pointShader=X,this.pickShader=re,this.pointPickShader=ae,this.contourShader=j,this.trianglePositions=ee,this.triangleColors=ce,this.triangleNormals=Te,this.triangleUVs=xe,this.triangleIds=ie,this.triangleVAO=Ue,this.triangleCount=0,this.lineWidth=1,this.edgePositions=Ie,this.edgeColors=it,this.edgeUVs=at,this.edgeIds=Ye,this.edgeVAO=tt,this.edgeCount=0,this.pointPositions=ut,this.pointColors=pe,this.pointUVs=ue,this.pointSizes=Oe,this.pointIds=Me,this.pointVAO=rt,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=ot,this.contourVAO=et,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=P,this._view=P,this._projection=P,this._resolution=[1,1]}var z=L.prototype;z.isOpaque=function(){return!this.hasAlpha},z.isTransparent=function(){return this.hasAlpha},z.pickSlots=1,z.setPickBase=function(fe){this.pickId=fe};function F(fe,G){if(!G||!G.length)return 1;for(var $=0;$fe&&$>0){var J=(G[$][0]-fe)/(G[$][0]-G[$-1][0]);return G[$][1]*(1-J)+J*G[$-1][1]}}return 1}function B(fe,G){for(var $=l({colormap:fe,nshades:256,format:"rgba"}),J=new Uint8Array(256*4),X=0;X<256;++X){for(var re=$[X],ae=0;ae<3;++ae)J[4*X+ae]=re[ae];G?J[4*X+3]=255*F(X/255,G):J[4*X+3]=255*re[3]}return T(J,[256,256,4],[4,0,1])}function O(fe){for(var G=fe.length,$=new Array(G),J=0;J0){var Te=this.triShader;Te.bind(),Te.uniforms=j,this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Te=this.lineShader;Te.bind(),Te.uniforms=j,this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Te=this.pointShader;Te.bind(),Te.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Te=this.contourShader;Te.bind(),Te.uniforms=j,this.contourVAO.bind(),G.drawArrays(G.LINES,0,this.contourCount),this.contourVAO.unbind()}},z.drawPick=function(fe){fe=fe||{};for(var G=this.gl,$=fe.model||P,J=fe.view||P,X=fe.projection||P,re=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],ae=0;ae<3;++ae)re[0][ae]=Math.max(re[0][ae],this.clipBounds[0][ae]),re[1][ae]=Math.min(re[1][ae],this.clipBounds[1][ae]);this._model=[].slice.call($),this._view=[].slice.call(J),this._projection=[].slice.call(X),this._resolution=[G.drawingBufferWidth,G.drawingBufferHeight];var j={model:$,view:J,projection:X,clipBounds:re,pickId:this.pickId/255},ee=this.pickShader;if(ee.bind(),ee.uniforms=j,this.triangleCount>0&&(this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var ee=this.pointPickShader;ee.bind(),ee.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}},z.pick=function(fe){if(!fe||fe.id!==this.pickId)return null;for(var G=fe.value[0]+256*fe.value[1]+65536*fe.value[2],$=this.cells[G],J=this.positions,X=new Array($.length),re=0;re<$.length;++re)X[re]=J[$[re]];var ae=fe.coord[0],j=fe.coord[1];if(!this.pickVertex){var ee=this.positions[$[0]],ie=this.positions[$[1]],ce=this.positions[$[2]],xe=[(ee[0]+ie[0]+ce[0])/3,(ee[1]+ie[1]+ce[1])/3,(ee[2]+ie[2]+ce[2])/3];return{_cellCenter:!0,position:[ae,j],index:G,cell:$,cellId:G,intensity:this.intensity[G],dataCoordinate:xe}}var Te=E(X,[ae*this.pixelRatio,this._resolution[1]-j*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!Te)return null;for(var Ue=Te[2],Ie=0,re=0;re<$.length;++re)Ie+=Ue[re]*this.intensity[$[re]];return{position:Te[1],index:$[Te[0]],cell:$,cellId:G,intensity:Ie,dataCoordinate:this.positions[$[Te[0]]]}},z.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()};function I(fe){var G=i(fe,m.vertex,m.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.normal.location=4,G}function N(fe){var G=i(fe,b.vertex,b.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G}function U(fe){var G=i(fe,v.vertex,v.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.pointSize.location=4,G}function W(fe){var G=i(fe,u.vertex,u.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G}function Q(fe){var G=i(fe,y.vertex,y.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G.attributes.pointSize.location=4,G}function le(fe){var G=i(fe,f.vertex,f.fragment);return G.attributes.position.location=0,G}function se(fe,G){arguments.length===1&&(G=fe,fe=G.gl);var $=fe.getExtension("OES_standard_derivatives")||fe.getExtension("MOZ_OES_standard_derivatives")||fe.getExtension("WEBKIT_OES_standard_derivatives");if(!$)throw new Error("derivatives not supported");var J=I(fe),X=N(fe),re=U(fe),ae=W(fe),j=Q(fe),ee=le(fe),ie=c(fe,T(new Uint8Array([255,255,255,255]),[1,1,4]));ie.generateMipmap(),ie.minFilter=fe.LINEAR_MIPMAP_LINEAR,ie.magFilter=fe.LINEAR;var ce=a(fe),xe=a(fe),Te=a(fe),Ue=a(fe),Ie=a(fe),Ye=s(fe,[{buffer:ce,type:fe.FLOAT,size:3},{buffer:Ie,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:xe,type:fe.FLOAT,size:4},{buffer:Te,type:fe.FLOAT,size:2},{buffer:Ue,type:fe.FLOAT,size:3}]),it=a(fe),at=a(fe),tt=a(fe),ut=a(fe),Me=s(fe,[{buffer:it,type:fe.FLOAT,size:3},{buffer:ut,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:at,type:fe.FLOAT,size:4},{buffer:tt,type:fe.FLOAT,size:2}]),pe=a(fe),ue=a(fe),Oe=a(fe),rt=a(fe),ot=a(fe),et=s(fe,[{buffer:pe,type:fe.FLOAT,size:3},{buffer:ot,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:ue,type:fe.FLOAT,size:4},{buffer:Oe,type:fe.FLOAT,size:2},{buffer:rt,type:fe.FLOAT,size:1}]),Lt=a(fe),Et=s(fe,[{buffer:Lt,type:fe.FLOAT,size:3}]),Bt=new L(fe,ie,J,X,re,ae,j,ee,ce,Ie,xe,Te,Ue,Ye,it,ut,at,tt,Me,pe,ot,ue,Oe,rt,et,Lt,Et);return Bt.update(G),Bt}e.exports=se},4437:function(e,t,r){"use strict";e.exports=h;var o=r(3025),n=r(6296),i=r(351),a=r(8512),s=r(24),c=r(7520);function h(p,d){p=p||document.body,d=d||{};var T=[.01,1/0];"distanceLimits"in d&&(T[0]=d.distanceLimits[0],T[1]=d.distanceLimits[1]),"zoomMin"in d&&(T[0]=d.zoomMin),"zoomMax"in d&&(T[1]=d.zoomMax);var l=n({center:d.center||[0,0,0],up:d.up||[0,1,0],eye:d.eye||[0,0,10],mode:d.mode||"orbit",distanceLimits:T}),_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0,M=p.clientWidth,E=p.clientHeight,m={keyBindingMode:"rotate",enableWheel:!0,view:l,element:p,delay:d.delay||16,rotateSpeed:d.rotateSpeed||1,zoomSpeed:d.zoomSpeed||1,translateSpeed:d.translateSpeed||1,flipX:!!d.flipX,flipY:!!d.flipY,modes:l.modes,_ortho:d._ortho||d.projection&&d.projection.type==="orthographic"||!1,tick:function(){var b=o(),v=this.delay,u=b-2*v;l.idle(b-v),l.recalcMatrix(u),l.flush(b-(100+v*2));for(var y=!0,f=l.computedMatrix,P=0;P<16;++P)y=y&&_[P]===f[P],_[P]=f[P];var L=p.clientWidth===M&&p.clientHeight===E;return M=p.clientWidth,E=p.clientHeight,y?!L:(w=Math.exp(l.computedRadius[0]),!0)},lookAt:function(b,v,u){l.lookAt(l.lastT(),b,v,u)},rotate:function(b,v,u){l.rotate(l.lastT(),b,v,u)},pan:function(b,v,u){l.pan(l.lastT(),b,v,u)},translate:function(b,v,u){l.translate(l.lastT(),b,v,u)}};return Object.defineProperties(m,{matrix:{get:function(){return l.computedMatrix},set:function(b){return l.setMatrix(l.lastT(),b),l.computedMatrix},enumerable:!0},mode:{get:function(){return l.getMode()},set:function(b){var v=l.computedUp.slice(),u=l.computedEye.slice(),y=l.computedCenter.slice();if(l.setMode(b),b==="turntable"){var f=o();l._active.lookAt(f,u,y,v),l._active.lookAt(f+500,u,y,[0,0,1]),l._active.flush(f)}return l.getMode()},enumerable:!0},center:{get:function(){return l.computedCenter},set:function(b){return l.lookAt(l.lastT(),null,b),l.computedCenter},enumerable:!0},eye:{get:function(){return l.computedEye},set:function(b){return l.lookAt(l.lastT(),b),l.computedEye},enumerable:!0},up:{get:function(){return l.computedUp},set:function(b){return l.lookAt(l.lastT(),null,null,b),l.computedUp},enumerable:!0},distance:{get:function(){return w},set:function(b){return l.setDistance(l.lastT(),b),b},enumerable:!0},distanceLimits:{get:function(){return l.getDistanceLimits(T)},set:function(b){return l.setDistanceLimits(b),b},enumerable:!0}}),p.addEventListener("contextmenu",function(b){return b.preventDefault(),!1}),m._lastX=-1,m._lastY=-1,m._lastMods={shift:!1,control:!1,alt:!1,meta:!1},m.enableMouseListeners=function(){m.mouseListener=i(p,b),p.addEventListener("touchstart",function(v){var u=s(v.changedTouches[0],p);b(0,u[0],u[1],m._lastMods),b(1,u[0],u[1],m._lastMods)},c?{passive:!0}:!1),p.addEventListener("touchmove",function(v){var u=s(v.changedTouches[0],p);b(1,u[0],u[1],m._lastMods),v.preventDefault()},c?{passive:!1}:!1),p.addEventListener("touchend",function(v){b(0,m._lastX,m._lastY,m._lastMods)},c?{passive:!0}:!1);function b(v,u,y,f){var P=m.keyBindingMode;if(P!==!1){var L=P==="rotate",z=P==="pan",F=P==="zoom",B=!!f.control,O=!!f.alt,I=!!f.shift,N=!!(v&1),U=!!(v&2),W=!!(v&4),Q=1/p.clientHeight,le=Q*(u-m._lastX),se=Q*(y-m._lastY),fe=m.flipX?1:-1,G=m.flipY?1:-1,$=Math.PI*m.rotateSpeed,J=o();if(m._lastX!==-1&&m._lastY!==-1&&((L&&N&&!B&&!O&&!I||N&&!B&&!O&&I)&&l.rotate(J,fe*$*le,-G*$*se,0),(z&&N&&!B&&!O&&!I||U||N&&B&&!O&&!I)&&l.pan(J,-m.translateSpeed*le*w,m.translateSpeed*se*w,0),F&&N&&!B&&!O&&!I||W||N&&!B&&O&&!I)){var X=-m.zoomSpeed*se/window.innerHeight*(J-l.lastT())*100;l.pan(J,0,0,w*(Math.exp(X)-1))}return m._lastX=u,m._lastY=y,m._lastMods=f,!0}}m.wheelListener=a(p,function(v,u){if(m.keyBindingMode!==!1&&m.enableWheel){var y=m.flipX?1:-1,f=m.flipY?1:-1,P=o();if(Math.abs(v)>Math.abs(u))l.rotate(P,0,0,-v*y*Math.PI*m.rotateSpeed/window.innerWidth);else if(!m._ortho){var L=-m.zoomSpeed*f*u/window.innerHeight*(P-l.lastT())/20;l.pan(P,0,0,w*(Math.exp(L)-1))}}},!0)},m.enableMouseListeners(),m}},799:function(e,t,r){var o=r(3236),n=r(9405),i=o([`precision mediump float; +#define GLSLIFY 1 +attribute vec2 position; +varying vec2 uv; +void main() { + uv = position; + gl_Position = vec4(position, 0, 1); +}`]),a=o([`precision mediump float; +#define GLSLIFY 1 + +uniform sampler2D accumBuffer; +varying vec2 uv; + +void main() { + vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); + gl_FragColor = min(vec4(1,1,1,1), accum); +}`]);e.exports=function(s){return n(s,i,a,null,[{name:"position",type:"vec2"}])}},4100:function(e,t,r){"use strict";var o=r(4437),n=r(3837),i=r(5445),a=r(4449),s=r(3589),c=r(2260),h=r(7169),p=r(351),d=r(4772),T=r(4040),l=r(799),_=r(9216)({tablet:!0,featureDetect:!0});e.exports={createScene:b,createCamera:o};function w(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function M(u,y){var f=null;try{f=u.getContext("webgl",y),f||(f=u.getContext("experimental-webgl",y))}catch{return null}return f}function E(u){var y=Math.round(Math.log(Math.abs(u))/Math.log(10));if(y<0){var f=Math.round(Math.pow(10,-y));return Math.ceil(u*f)/f}else if(y>0){var f=Math.round(Math.pow(10,y));return Math.ceil(u/f)*f}return Math.ceil(u)}function m(u){return typeof u=="boolean"?u:!0}function b(u){u=u||{},u.camera=u.camera||{};var y=u.canvas;if(!y)if(y=document.createElement("canvas"),u.container){var f=u.container;f.appendChild(y)}else document.body.appendChild(y);var P=u.gl;if(P||(u.glOptions&&(_=!!u.glOptions.preserveDrawingBuffer),P=M(y,u.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:_})),!P)throw new Error("webgl not supported");var L=u.bounds||[[-10,-10,-10],[10,10,10]],z=new w,F=c(P,P.drawingBufferWidth,P.drawingBufferHeight,{preferFloat:!_}),B=l(P),O=u.cameraObject&&u.cameraObject._ortho===!0||u.camera.projection&&u.camera.projection.type==="orthographic"||!1,I={eye:u.camera.eye||[2,0,0],center:u.camera.center||[0,0,0],up:u.camera.up||[0,1,0],zoomMin:u.camera.zoomMax||.1,zoomMax:u.camera.zoomMin||100,mode:u.camera.mode||"turntable",_ortho:O},N=u.axes||{},U=n(P,N);U.enable=!N.disable;var W=u.spikes||{},Q=a(P,W),le=[],se=[],fe=[],G=[],$=!0,ae=!0,J=new Array(16),X=new Array(16),re={view:null,projection:J,model:X,_ortho:!1},ae=!0,j=[P.drawingBufferWidth,P.drawingBufferHeight],ee=u.cameraObject||o(y,I),ie={gl:P,contextLost:!1,pixelRatio:u.pixelRatio||1,canvas:y,selection:z,camera:ee,axes:U,axesPixels:null,spikes:Q,bounds:L,objects:le,shape:j,aspect:u.aspectRatio||[1,1,1],pickRadius:u.pickRadius||10,zNear:u.zNear||.01,zFar:u.zFar||1e3,fovy:u.fovy||Math.PI/4,clearColor:u.clearColor||[0,0,0,0],autoResize:m(u.autoResize),autoBounds:m(u.autoBounds),autoScale:!!u.autoScale,autoCenter:m(u.autoCenter),clipToBounds:m(u.clipToBounds),snapToData:!!u.snapToData,onselect:u.onselect||null,onrender:u.onrender||null,onclick:u.onclick||null,cameraParams:re,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(ut){this.aspect[0]=ut.x,this.aspect[1]=ut.y,this.aspect[2]=ut.z,ae=!0},setBounds:function(ut,Me){this.bounds[0][ut]=Me.min,this.bounds[1][ut]=Me.max},setClearColor:function(ut){this.clearColor=ut},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ce=[P.drawingBufferWidth/ie.pixelRatio|0,P.drawingBufferHeight/ie.pixelRatio|0];function xe(){if(!ie._stopped&&ie.autoResize){var ut=y.parentNode,Me=1,pe=1;ut&&ut!==document.body?(Me=ut.clientWidth,pe=ut.clientHeight):(Me=window.innerWidth,pe=window.innerHeight);var ue=Math.ceil(Me*ie.pixelRatio)|0,Oe=Math.ceil(pe*ie.pixelRatio)|0;if(ue!==y.width||Oe!==y.height){y.width=ue,y.height=Oe;var rt=y.style;rt.position=rt.position||"absolute",rt.left="0px",rt.top="0px",rt.width=Me+"px",rt.height=pe+"px",$=!0}}}ie.autoResize&&xe(),window.addEventListener("resize",xe);function Te(){for(var ut=le.length,Me=G.length,pe=0;pe0&&fe[Me-1]===0;)fe.pop(),G.pop().dispose()}ie.update=function(ut){ie._stopped||(ut=ut||{},$=!0,ae=!0)},ie.add=function(ut){ie._stopped||(ut.axes=U,le.push(ut),se.push(-1),$=!0,ae=!0,Te())},ie.remove=function(ut){if(!ie._stopped){var Me=le.indexOf(ut);Me<0||(le.splice(Me,1),se.pop(),$=!0,ae=!0,Te())}},ie.dispose=function(){if(!ie._stopped&&(ie._stopped=!0,window.removeEventListener("resize",xe),y.removeEventListener("webglcontextlost",Ue),ie.mouseListener.enabled=!1,!ie.contextLost)){U.dispose(),Q.dispose();for(var ut=0;utz.distance)continue;for(var Et=0;Et1e-6?(_=Math.acos(w),M=Math.sin(_),E=Math.sin((1-i)*_)/M,m=Math.sin(i*_)/M):(E=1-i,m=i),r[0]=E*a+m*p,r[1]=E*s+m*d,r[2]=E*c+m*T,r[3]=E*h+m*l,r}},5964:function(e){"use strict";e.exports=function(t){return!t&&t!==0?"":t.toString()}},9366:function(e,t,r){"use strict";var o=r(4359);e.exports=i;var n={};function i(a,s,c){var h=[s.style,s.weight,s.variant,s.family].join("_"),p=n[h];if(p||(p=n[h]={}),a in p)return p[a];var d={textAlign:"center",textBaseline:"middle",lineHeight:1,font:s.family,fontStyle:s.style,fontWeight:s.weight,fontVariant:s.variant,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};d.triangles=!0;var T=o(a,d);d.triangles=!1;var l=o(a,d),_,w;if(c&&c!==1){for(_=0;_ max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +attribute vec3 position; +attribute vec4 color; +attribute vec2 glyph; +attribute vec4 id; + +uniform vec4 highlightId; +uniform float highlightScale; +uniform mat4 model, view, projection; +uniform vec3 clipBounds[2]; + +varying vec4 interpColor; +varying vec4 pickId; +varying vec3 dataCoordinate; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], position)) { + + gl_Position = vec4(0,0,0,0); + } else { + float scale = 1.0; + if(distance(highlightId, id) < 0.0001) { + scale = highlightScale; + } + + vec4 worldPosition = model * vec4(position, 1); + vec4 viewPosition = view * worldPosition; + viewPosition = viewPosition / viewPosition.w; + vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0)); + + gl_Position = clipPosition; + interpColor = color; + pickId = id; + dataCoordinate = position; + } +}`]),a=n([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +attribute vec3 position; +attribute vec4 color; +attribute vec2 glyph; +attribute vec4 id; + +uniform mat4 model, view, projection; +uniform vec2 screenSize; +uniform vec3 clipBounds[2]; +uniform float highlightScale, pixelRatio; +uniform vec4 highlightId; + +varying vec4 interpColor; +varying vec4 pickId; +varying vec3 dataCoordinate; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], position)) { + + gl_Position = vec4(0,0,0,0); + } else { + float scale = pixelRatio; + if(distance(highlightId.bgr, id.bgr) < 0.001) { + scale *= highlightScale; + } + + vec4 worldPosition = model * vec4(position, 1.0); + vec4 viewPosition = view * worldPosition; + vec4 clipPosition = projection * viewPosition; + clipPosition /= clipPosition.w; + + gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0); + interpColor = color; + pickId = id; + dataCoordinate = position; + } +}`]),s=n([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +attribute vec3 position; +attribute vec4 color; +attribute vec2 glyph; +attribute vec4 id; + +uniform float highlightScale; +uniform vec4 highlightId; +uniform vec3 axes[2]; +uniform mat4 model, view, projection; +uniform vec2 screenSize; +uniform vec3 clipBounds[2]; +uniform float scale, pixelRatio; + +varying vec4 interpColor; +varying vec4 pickId; +varying vec3 dataCoordinate; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], position)) { + + gl_Position = vec4(0,0,0,0); + } else { + float lscale = pixelRatio * scale; + if(distance(highlightId, id) < 0.0001) { + lscale *= highlightScale; + } + + vec4 clipCenter = projection * (view * (model * vec4(position, 1))); + vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y; + vec4 clipPosition = projection * (view * (model * vec4(dataPosition, 1))); + + gl_Position = clipPosition; + interpColor = color; + pickId = id; + dataCoordinate = dataPosition; + } +} +`]),c=n([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 fragClipBounds[2]; +uniform float opacity; + +varying vec4 interpColor; +varying vec3 dataCoordinate; + +void main() { + if ( + outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) || + interpColor.a * opacity == 0. + ) discard; + gl_FragColor = interpColor * opacity; +} +`]),h=n([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 fragClipBounds[2]; +uniform float pickGroup; + +varying vec4 pickId; +varying vec3 dataCoordinate; + +void main() { + if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard; + + gl_FragColor = vec4(pickGroup, pickId.bgr); +}`]),p=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],d={vertex:i,fragment:c,attributes:p},T={vertex:a,fragment:c,attributes:p},l={vertex:s,fragment:c,attributes:p},_={vertex:i,fragment:h,attributes:p},w={vertex:a,fragment:h,attributes:p},M={vertex:s,fragment:h,attributes:p};function E(m,b){var v=o(m,b),u=v.attributes;return u.position.location=0,u.color.location=1,u.glyph.location=2,u.id.location=3,v}t.createPerspective=function(m){return E(m,d)},t.createOrtho=function(m){return E(m,T)},t.createProject=function(m){return E(m,l)},t.createPickPerspective=function(m){return E(m,_)},t.createPickOrtho=function(m){return E(m,w)},t.createPickProject=function(m){return E(m,M)}},8418:function(e,t,r){"use strict";var o=r(5219),n=r(2762),i=r(8116),a=r(1888),s=r(6760),c=r(1283),h=r(9366),p=r(5964),d=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],T=ArrayBuffer,l=DataView;function _(X){return T.isView(X)&&!(X instanceof l)}function w(X){return Array.isArray(X)||_(X)}e.exports=J;function M(X,re){var ae=X[0],j=X[1],ee=X[2],ie=X[3];return X[0]=re[0]*ae+re[4]*j+re[8]*ee+re[12]*ie,X[1]=re[1]*ae+re[5]*j+re[9]*ee+re[13]*ie,X[2]=re[2]*ae+re[6]*j+re[10]*ee+re[14]*ie,X[3]=re[3]*ae+re[7]*j+re[11]*ee+re[15]*ie,X}function E(X,re,ae,j){return M(j,j,ae),M(j,j,re),M(j,j,X)}function m(X,re){this.index=X,this.dataCoordinate=this.position=re}function b(X){return X===!0||X>1?1:X}function v(X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye){this.gl=X,this.pixelRatio=1,this.shader=re,this.orthoShader=ae,this.projectShader=j,this.pointBuffer=ee,this.colorBuffer=ie,this.glyphBuffer=ce,this.idBuffer=xe,this.vao=Te,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=Ue,this.pickOrthoShader=Ie,this.pickProjectShader=Ye,this.points=[],this._selectResult=new m(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var u=v.prototype;u.pickSlots=1,u.setPickBase=function(X){this.pickId=X},u.isTransparent=function(){if(this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&this.projectHasAlpha)return!0;return!1},u.isOpaque=function(){if(!this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0,1],z=[0,0,0,1],F=d.slice(),B=[0,0,0],O=[[0,0,0],[0,0,0]];function I(X){return X[0]=X[1]=X[2]=0,X}function N(X,re){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[3]=1,X}function U(X,re,ae,j){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[ae]=j,X}function W(X){for(var re=O,ae=0;ae<2;++ae)for(var j=0;j<3;++j)re[ae][j]=Math.max(Math.min(X[ae][j],1e8),-1e8);return re}function Q(X,re,ae,j){var ee=re.axesProject,ie=re.gl,ce=X.uniforms,xe=ae.model||d,Te=ae.view||d,Ue=ae.projection||d,Ie=re.axesBounds,Ye=W(re.clipBounds),it;re.axes&&re.axes.lastCubeProps?it=re.axes.lastCubeProps.axis:it=[1,1,1],y[0]=2/ie.drawingBufferWidth,y[1]=2/ie.drawingBufferHeight,X.bind(),ce.view=Te,ce.projection=Ue,ce.screenSize=y,ce.highlightId=re.highlightId,ce.highlightScale=re.highlightScale,ce.clipBounds=Ye,ce.pickGroup=re.pickId/255,ce.pixelRatio=j;for(var at=0;at<3;++at)if(ee[at]){ce.scale=re.projectScale[at],ce.opacity=re.projectOpacity[at];for(var tt=F,ut=0;ut<16;++ut)tt[ut]=0;for(var ut=0;ut<4;++ut)tt[5*ut]=1;tt[5*at]=0,it[at]<0?tt[12+at]=Ie[0][at]:tt[12+at]=Ie[1][at],s(tt,xe,tt),ce.model=tt;var Me=(at+1)%3,pe=(at+2)%3,ue=I(f),Oe=I(P);ue[Me]=1,Oe[pe]=1;var rt=E(Ue,Te,xe,N(L,ue)),ot=E(Ue,Te,xe,N(z,Oe));if(Math.abs(rt[1])>Math.abs(ot[1])){var et=rt;rt=ot,ot=et,et=ue,ue=Oe,Oe=et;var Lt=Me;Me=pe,pe=Lt}rt[0]<0&&(ue[Me]=-1),ot[1]>0&&(Oe[pe]=-1);for(var Et=0,Bt=0,ut=0;ut<4;++ut)Et+=Math.pow(xe[4*Me+ut],2),Bt+=Math.pow(xe[4*pe+ut],2);ue[Me]/=Math.sqrt(Et),Oe[pe]/=Math.sqrt(Bt),ce.axes[0]=ue,ce.axes[1]=Oe,ce.fragClipBounds[0]=U(B,Ye[0],at,-1e8),ce.fragClipBounds[1]=U(B,Ye[1],at,1e8),re.vao.bind(),re.vao.draw(ie.TRIANGLES,re.vertexCount),re.lineWidth>0&&(ie.lineWidth(re.lineWidth*j),re.vao.draw(ie.LINES,re.lineVertexCount,re.vertexCount)),re.vao.unbind()}}var le=[-1e8,-1e8,-1e8],se=[1e8,1e8,1e8],fe=[le,se];function G(X,re,ae,j,ee,ie,ce){var xe=ae.gl;if((ie===ae.projectHasAlpha||ce)&&Q(re,ae,j,ee),ie===ae.hasAlpha||ce){X.bind();var Te=X.uniforms;Te.model=j.model||d,Te.view=j.view||d,Te.projection=j.projection||d,y[0]=2/xe.drawingBufferWidth,y[1]=2/xe.drawingBufferHeight,Te.screenSize=y,Te.highlightId=ae.highlightId,Te.highlightScale=ae.highlightScale,Te.fragClipBounds=fe,Te.clipBounds=ae.axes.bounds,Te.opacity=ae.opacity,Te.pickGroup=ae.pickId/255,Te.pixelRatio=ee,ae.vao.bind(),ae.vao.draw(xe.TRIANGLES,ae.vertexCount),ae.lineWidth>0&&(xe.lineWidth(ae.lineWidth*ee),ae.vao.draw(xe.LINES,ae.lineVertexCount,ae.vertexCount)),ae.vao.unbind()}}u.draw=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!1,!1)},u.drawTransparent=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!0,!1)},u.drawPick=function(X){var re=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;G(re,this.pickProjectShader,this,X,1,!0,!0)},u.pick=function(X){if(!X||X.id!==this.pickId)return null;var re=X.value[2]+(X.value[1]<<8)+(X.value[0]<<16);if(re>=this.pointCount||re<0)return null;var ae=this.points[re],j=this._selectResult;j.index=re;for(var ee=0;ee<3;++ee)j.position[ee]=j.dataCoordinate[ee]=ae[ee];return j},u.highlight=function(X){if(!X)this.highlightId=[1,1,1,1];else{var re=X.index,ae=re&255,j=re>>8&255,ee=re>>16&255;this.highlightId=[ae/255,j/255,ee/255,0]}};function $(X,re,ae,j){var ee;w(X)?re0){var br=0,_t=pe,Be=[0,0,0,1],Ke=[0,0,0,1],je=w(it)&&w(it[0]),Se=w(ut)&&w(ut[0]);e:for(var j=0;j0?1-Bt[0][0]:bt<0?1+Bt[1][0]:1,Rt*=Rt>0?1-Bt[0][1]:Rt<0?1+Bt[1][1]:1;for(var Nt=[bt,Rt],Rn=Lt.cells||[],Nn=Lt.positions||[],ot=0;otthis.buffer.length){n.free(this.buffer);for(var w=this.buffer=n.mallocUint8(a(_*l*4)),M=0;M<_*l*4;++M)w[M]=255}return T}}}),p.begin=function(){var T=this.gl,l=this.shape;T&&(this.fbo.bind(),T.clearColor(1,1,1,1),T.clear(T.COLOR_BUFFER_BIT|T.DEPTH_BUFFER_BIT))},p.end=function(){var T=this.gl;T&&(T.bindFramebuffer(T.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},p.query=function(T,l,_){if(!this.gl)return null;var w=this.fbo.shape.slice();T=T|0,l=l|0,typeof _!="number"&&(_=1);var M=Math.min(Math.max(T-_,0),w[0])|0,E=Math.min(Math.max(T+_,0),w[0])|0,m=Math.min(Math.max(l-_,0),w[1])|0,b=Math.min(Math.max(l+_,0),w[1])|0;if(E<=M||b<=m)return null;var v=[E-M,b-m],u=i(this.buffer,[v[0],v[1],4],[4,w[0]*4,1],4*(M+w[0]*m)),y=s(u.hi(v[0],v[1],1),_,_),f=y[0],P=y[1];if(f<0||Math.pow(this.radius,2)w)for(l=w;l<_;l++)this.gl.enableVertexAttribArray(l);else if(w>_)for(l=_;l=0){for(var O=B.type.charAt(B.type.length-1)|0,I=new Array(O),N=0;N=0;)U+=1;z[F]=U}var W=new Array(w.length);function Q(){m.program=a.program(b,m._vref,m._fref,L,z);for(var le=0;le=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o("","Invalid data type for attribute "+m+": "+b);s(p,d,v[0],l,u,_,m)}else if(b.indexOf("mat")>=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o("","Invalid data type for attribute "+m+": "+b);c(p,d,v,l,u,_,m)}else throw new o("","Unknown data type for attribute "+m+": "+b);break}}return _}},3327:function(e,t,r){"use strict";var o=r(216),n=r(8866);e.exports=s;function i(c){return function(){return c}}function a(c,h){for(var p=new Array(c),d=0;d4)throw new n("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+W+"iv"](d[z],F);break;case"v":c["uniform"+W+"fv"](d[z],F);break;default:throw new n("","Unrecognized data type for vector "+name+": "+U)}}else if(U.indexOf("mat")===0&&U.length===4){if(W=U.charCodeAt(U.length-1)-48,W<2||W>4)throw new n("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+W+"fv"](d[z],!1,F);break}else throw new n("","Unknown uniform data type for "+name+": "+U)}}}}}function _(b,v){if(typeof v!="object")return[[b,v]];var u=[];for(var y in v){var f=v[y],P=b;parseInt(y)+""===y?P+="["+y+"]":P+="."+y,typeof f=="object"?u.push.apply(u,_(P,f)):u.push([P,f])}return u}function w(b){switch(b){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":return 0;case"float":return 0;default:var v=b.indexOf("vec");if(0<=v&&v<=1&&b.length===4+v){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n("","Invalid data type");return b.charAt(0)==="b"?a(u,!1):a(u,0)}else if(b.indexOf("mat")===0&&b.length===4){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n("","Invalid uniform dimension type for matrix "+name+": "+b);return a(u*u,0)}else throw new n("","Unknown uniform data type for "+name+": "+b)}}function M(b,v,u){if(typeof u=="object"){var y=E(u);Object.defineProperty(b,v,{get:i(y),set:l(u),enumerable:!0,configurable:!1})}else d[u]?Object.defineProperty(b,v,{get:T(u),set:l(u),enumerable:!0,configurable:!1}):b[v]=w(p[u].type)}function E(b){var v;if(Array.isArray(b)){v=new Array(b.length);for(var u=0;u1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var d=1;d1)for(var _=0;_"u"?r(606):WeakMap,a=new i,s=0;function c(M,E,m,b,v,u,y){this.id=M,this.src=E,this.type=m,this.shader=b,this.count=u,this.programs=[],this.cache=y}c.prototype.dispose=function(){if(--this.count===0){for(var M=this.cache,E=M.gl,m=this.programs,b=0,v=m.length;b 0 U ||b|| > 0. + // Assign z = 0, x = -b, y = a: + // a*-b + b*a + c*0 = -ba + ba + 0 = 0 + if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { + return normalize(vec3(-v.y, v.x, 0.0)); + } else { + return normalize(vec3(0.0, v.z, -v.y)); + } +} + +// Calculate the tube vertex and normal at the given index. +// +// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. +// +// Each tube segment is made up of a ring of vertices. +// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. +// The indexes of tube segments run from 0 to 8. +// +vec3 getTubePosition(vec3 d, float index, out vec3 normal) { + float segmentCount = 8.0; + + float angle = 2.0 * 3.14159 * (index / segmentCount); + + vec3 u = getOrthogonalVector(d); + vec3 v = normalize(cross(u, d)); + + vec3 x = u * cos(angle) * length(d); + vec3 y = v * sin(angle) * length(d); + vec3 v3 = x + y; + + normal = normalize(v3); + + return v3; +} + +attribute vec4 vector; +attribute vec4 color, position; +attribute vec2 uv; + +uniform float vectorScale, tubeScale; +uniform mat4 model, view, projection, inverseModel; +uniform vec3 eyePosition, lightPosition; + +varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + // Scale the vector magnitude to stay constant with + // model & view changes. + vec3 normal; + vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); + vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); + + //Lighting geometry parameters + vec4 cameraCoordinate = view * tubePosition; + cameraCoordinate.xyz /= cameraCoordinate.w; + f_lightDirection = lightPosition - cameraCoordinate.xyz; + f_eyeDirection = eyePosition - cameraCoordinate.xyz; + f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); + + // vec4 m_position = model * vec4(tubePosition, 1.0); + vec4 t_position = view * tubePosition; + gl_Position = projection * t_position; + + f_color = color; + f_data = tubePosition.xyz; + f_position = position.xyz; + f_uv = uv; +} +`]),i=o([`#extension GL_OES_standard_derivatives : enable + +precision highp float; +#define GLSLIFY 1 + +float beckmannDistribution(float x, float roughness) { + float NdotH = max(x, 0.0001); + float cos2Alpha = NdotH * NdotH; + float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; + float roughness2 = roughness * roughness; + float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; + return exp(tan2Alpha / roughness2) / denom; +} + +float cookTorranceSpecular( + vec3 lightDirection, + vec3 viewDirection, + vec3 surfaceNormal, + float roughness, + float fresnel) { + + float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); + float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); + + //Half angle vector + vec3 H = normalize(lightDirection + viewDirection); + + //Geometric term + float NdotH = max(dot(surfaceNormal, H), 0.0); + float VdotH = max(dot(viewDirection, H), 0.000001); + float LdotH = max(dot(lightDirection, H), 0.000001); + float G1 = (2.0 * NdotH * VdotN) / VdotH; + float G2 = (2.0 * NdotH * LdotN) / LdotH; + float G = min(1.0, min(G1, G2)); + + //Distribution term + float D = beckmannDistribution(NdotH, roughness); + + //Fresnel term + float F = pow(1.0 - VdotN, fresnel); + + //Multiply terms and done + return G * F * D / max(3.14159265 * VdotN, 0.000001); +} + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; +uniform sampler2D texture; + +varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; +varying vec4 f_color; +varying vec2 f_uv; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; + vec3 N = normalize(f_normal); + vec3 L = normalize(f_lightDirection); + vec3 V = normalize(f_eyeDirection); + + if(gl_FrontFacing) { + N = -N; + } + + float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); + float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); + + vec4 surfaceColor = f_color * texture2D(texture, f_uv); + vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); + + gl_FragColor = litColor * opacity; +} +`]),a=o([`precision highp float; + +precision highp float; +#define GLSLIFY 1 + +vec3 getOrthogonalVector(vec3 v) { + // Return up-vector for only-z vector. + // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). + // From the above if-statement we have ||a|| > 0 U ||b|| > 0. + // Assign z = 0, x = -b, y = a: + // a*-b + b*a + c*0 = -ba + ba + 0 = 0 + if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { + return normalize(vec3(-v.y, v.x, 0.0)); + } else { + return normalize(vec3(0.0, v.z, -v.y)); + } +} + +// Calculate the tube vertex and normal at the given index. +// +// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. +// +// Each tube segment is made up of a ring of vertices. +// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. +// The indexes of tube segments run from 0 to 8. +// +vec3 getTubePosition(vec3 d, float index, out vec3 normal) { + float segmentCount = 8.0; + + float angle = 2.0 * 3.14159 * (index / segmentCount); + + vec3 u = getOrthogonalVector(d); + vec3 v = normalize(cross(u, d)); + + vec3 x = u * cos(angle) * length(d); + vec3 y = v * sin(angle) * length(d); + vec3 v3 = x + y; + + normal = normalize(v3); + + return v3; +} + +attribute vec4 vector; +attribute vec4 position; +attribute vec4 id; + +uniform mat4 model, view, projection; +uniform float tubeScale; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + vec3 normal; + vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); + vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); + + gl_Position = projection * (view * tubePosition); + f_id = id; + f_position = position.xyz; +} +`]),s=o([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 clipBounds[2]; +uniform float pickId; + +varying vec3 f_position; +varying vec4 f_id; + +void main() { + if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; + + gl_FragColor = vec4(pickId, f_id.xyz); +}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7815:function(e,t,r){"use strict";var o=r(2931),n=r(9970),i=["xyz","xzy","yxz","yzx","zxy","zyx"],a=function(M,E,m,b){for(var v=M.points,u=M.velocities,y=M.divergences,f=[],P=[],L=[],z=[],F=[],B=[],O=0,I=0,N=n.create(),U=n.create(),W=8,Q=0;Q0)for(var G=0;GE)return b-1}return b},h=function(M,E,m){return Mm?m:M},p=function(M,E,m){var b=E.vectors,v=E.meshgrid,u=M[0],y=M[1],f=M[2],P=v[0].length,L=v[1].length,z=v[2].length,F=c(v[0],u),B=c(v[1],y),O=c(v[2],f),I=F+1,N=B+1,U=O+1;if(F=h(F,0,P-1),I=h(I,0,P-1),B=h(B,0,L-1),N=h(N,0,L-1),O=h(O,0,z-1),U=h(U,0,z-1),F<0||B<0||O<0||I>P-1||N>L-1||U>z-1)return o.create();var W=v[0][F],Q=v[0][I],le=v[1][B],se=v[1][N],fe=v[2][O],G=v[2][U],$=(u-W)/(Q-W),J=(y-le)/(se-le),X=(f-fe)/(G-fe);isFinite($)||($=.5),isFinite(J)||(J=.5),isFinite(X)||(X=.5);var re,ae,j,ee,ie,ce;switch(m.reversedX&&(F=P-1-F,I=P-1-I),m.reversedY&&(B=L-1-B,N=L-1-N),m.reversedZ&&(O=z-1-O,U=z-1-U),m.filled){case 5:ie=O,ce=U,j=B*z,ee=N*z,re=F*z*L,ae=I*z*L;break;case 4:ie=O,ce=U,re=F*z,ae=I*z,j=B*z*P,ee=N*z*P;break;case 3:j=B,ee=N,ie=O*L,ce=U*L,re=F*L*z,ae=I*L*z;break;case 2:j=B,ee=N,re=F*L,ae=I*L,ie=O*L*P,ce=U*L*P;break;case 1:re=F,ae=I,ie=O*P,ce=U*P,j=B*P*z,ee=N*P*z;break;default:re=F,ae=I,j=B*P,ee=N*P,ie=O*P*L,ce=U*P*L;break}var xe=b[re+j+ie],Te=b[re+j+ce],Ue=b[re+ee+ie],Ie=b[re+ee+ce],Ye=b[ae+j+ie],it=b[ae+j+ce],at=b[ae+ee+ie],tt=b[ae+ee+ce],ut=o.create(),Me=o.create(),pe=o.create(),ue=o.create();o.lerp(ut,xe,Ye,$),o.lerp(Me,Te,it,$),o.lerp(pe,Ue,at,$),o.lerp(ue,Ie,tt,$);var Oe=o.create(),rt=o.create();o.lerp(Oe,ut,pe,J),o.lerp(rt,Me,ue,J);var ot=o.create();return o.lerp(ot,Oe,rt,X),ot},d=function(M,E){var m=E[0],b=E[1],v=E[2];return M[0]=m<0?-m:m,M[1]=b<0?-b:b,M[2]=v<0?-v:v,M},T=function(M){var E=1/0;M.sort(function(u,y){return u-y});for(var m=M.length,b=1;bI||ttN||utU)},Q=o.distance(E[0],E[1]),le=10*Q/b,se=le*le,fe=1,G=0,$=m.length;$>1&&(fe=l(m));for(var J=0;J<$;J++){var X=o.create();o.copy(X,m[J]);var re=[X],ae=[],j=P(X),ee=X;ae.push(j);var ie=[],ce=L(X,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe),z.push({points:re,velocities:ae,divergences:ie});for(var Te=0;Tese&&o.scale(Ue,Ue,le/Math.sqrt(Ie)),o.add(Ue,Ue,X),j=P(Ue),o.squaredDistance(ee,Ue)-se>-1e-4*se){re.push(Ue),ee=Ue,ae.push(j);var ce=L(Ue,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe)}X=Ue}}var Ye=s(z,M.colormap,G,fe);return u?Ye.tubeScale=u:(G===0&&(G=1),Ye.tubeScale=v*.5*fe/G),Ye};var _=r(6740),w=r(6405).createMesh;e.exports.createTubeMesh=function(M,E){return w(M,E,{shaders:_,traceType:"streamtube"})}},990:function(e,t,r){var o=r(9405),n=r(3236),i=n([`precision highp float; +#define GLSLIFY 1 + +attribute vec4 uv; +attribute vec3 f; +attribute vec3 normal; + +uniform vec3 objectOffset; +uniform mat4 model, view, projection, inverseModel; +uniform vec3 lightPosition, eyePosition; +uniform sampler2D colormap; + +varying float value, kill; +varying vec3 worldCoordinate; +varying vec2 planeCoordinate; +varying vec3 lightDirection, eyeDirection, surfaceNormal; +varying vec4 vColor; + +void main() { + vec3 localCoordinate = vec3(uv.zw, f.x); + worldCoordinate = objectOffset + localCoordinate; + mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0)); + vec4 worldPosition = (model * objectOffsetTranslation) * vec4(localCoordinate, 1.0); + vec4 clipPosition = projection * (view * worldPosition); + gl_Position = clipPosition; + kill = f.y; + value = f.z; + planeCoordinate = uv.xy; + + vColor = texture2D(colormap, vec2(value, value)); + + //Lighting geometry parameters + vec4 cameraCoordinate = view * worldPosition; + cameraCoordinate.xyz /= cameraCoordinate.w; + lightDirection = lightPosition - cameraCoordinate.xyz; + eyeDirection = eyePosition - cameraCoordinate.xyz; + surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz); +} +`]),a=n([`precision highp float; +#define GLSLIFY 1 + +float beckmannDistribution(float x, float roughness) { + float NdotH = max(x, 0.0001); + float cos2Alpha = NdotH * NdotH; + float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; + float roughness2 = roughness * roughness; + float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; + return exp(tan2Alpha / roughness2) / denom; +} + +float beckmannSpecular( + vec3 lightDirection, + vec3 viewDirection, + vec3 surfaceNormal, + float roughness) { + return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness); +} + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec3 lowerBound, upperBound; +uniform float contourTint; +uniform vec4 contourColor; +uniform sampler2D colormap; +uniform vec3 clipBounds[2]; +uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; +uniform float vertexColor; + +varying float value, kill; +varying vec3 worldCoordinate; +varying vec3 lightDirection, eyeDirection, surfaceNormal; +varying vec4 vColor; + +void main() { + if ( + kill > 0.0 || + vColor.a == 0.0 || + outOfRange(clipBounds[0], clipBounds[1], worldCoordinate) + ) discard; + + vec3 N = normalize(surfaceNormal); + vec3 V = normalize(eyeDirection); + vec3 L = normalize(lightDirection); + + if(gl_FrontFacing) { + N = -N; + } + + float specular = max(beckmannSpecular(L, V, N, roughness), 0.); + float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); + + //decide how to interpolate color \u2014 in vertex or in fragment + vec4 surfaceColor = + step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) + + step(.5, vertexColor) * vColor; + + vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); + + gl_FragColor = mix(litColor, contourColor, contourTint) * opacity; +} +`]),s=n([`precision highp float; +#define GLSLIFY 1 + +attribute vec4 uv; +attribute float f; + +uniform vec3 objectOffset; +uniform mat3 permutation; +uniform mat4 model, view, projection; +uniform float height, zOffset; +uniform sampler2D colormap; + +varying float value, kill; +varying vec3 worldCoordinate; +varying vec2 planeCoordinate; +varying vec3 lightDirection, eyeDirection, surfaceNormal; +varying vec4 vColor; + +void main() { + vec3 dataCoordinate = permutation * vec3(uv.xy, height); + worldCoordinate = objectOffset + dataCoordinate; + mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0)); + vec4 worldPosition = (model * objectOffsetTranslation) * vec4(dataCoordinate, 1.0); + + vec4 clipPosition = projection * (view * worldPosition); + clipPosition.z += zOffset; + + gl_Position = clipPosition; + value = f + objectOffset.z; + kill = -1.0; + planeCoordinate = uv.zw; + + vColor = texture2D(colormap, vec2(value, value)); + + //Don't do lighting for contours + surfaceNormal = vec3(1,0,0); + eyeDirection = vec3(0,1,0); + lightDirection = vec3(0,0,1); +} +`]),c=n([`precision highp float; +#define GLSLIFY 1 + +bool outOfRange(float a, float b, float p) { + return ((p > max(a, b)) || + (p < min(a, b))); +} + +bool outOfRange(vec2 a, vec2 b, vec2 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y)); +} + +bool outOfRange(vec3 a, vec3 b, vec3 p) { + return (outOfRange(a.x, b.x, p.x) || + outOfRange(a.y, b.y, p.y) || + outOfRange(a.z, b.z, p.z)); +} + +bool outOfRange(vec4 a, vec4 b, vec4 p) { + return outOfRange(a.xyz, b.xyz, p.xyz); +} + +uniform vec2 shape; +uniform vec3 clipBounds[2]; +uniform float pickId; + +varying float value, kill; +varying vec3 worldCoordinate; +varying vec2 planeCoordinate; +varying vec3 surfaceNormal; + +vec2 splitFloat(float v) { + float vh = 255.0 * v; + float upper = floor(vh); + float lower = fract(vh); + return vec2(upper / 255.0, floor(lower * 16.0) / 16.0); +} + +void main() { + if ((kill > 0.0) || + (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard; + + vec2 ux = splitFloat(planeCoordinate.x / shape.x); + vec2 uy = splitFloat(planeCoordinate.y / shape.y); + gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0)); +} +`]);t.createShader=function(h){var p=o(h,i,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createPickShader=function(h){var p=o(h,i,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createContourShader=function(h){var p=o(h,s,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p},t.createPickContourShader=function(h){var p=o(h,s,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p}},9499:function(e,t,r){"use strict";e.exports=re;var o=r(8828),n=r(2762),i=r(8116),a=r(7766),s=r(1888),c=r(6729),h=r(5298),p=r(9994),d=r(9618),T=r(3711),l=r(6760),_=r(7608),w=r(2478),M=r(6199),E=r(990),m=E.createShader,b=E.createContourShader,v=E.createPickShader,u=E.createPickContourShader,y=4*10,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],P=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],L=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var ae=0;ae<3;++ae){var j=L[ae],ee=(ae+1)%3,ie=(ae+2)%3;j[ee+0]=1,j[ie+3]=1,j[ae+6]=1}})();function z(ae,j,ee,ie,ce){this.position=ae,this.index=j,this.uv=ee,this.level=ie,this.dataCoordinate=ce}var F=256;function B(ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me){this.gl=ae,this.shape=j,this.bounds=ee,this.objectOffset=Me,this.intensityBounds=[],this._shader=ie,this._pickShader=ce,this._coordinateBuffer=xe,this._vao=Te,this._colorMap=Ue,this._contourShader=Ie,this._contourPickShader=Ye,this._contourBuffer=it,this._contourVAO=at,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new z([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=tt,this._dynamicVAO=ut,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var O=B.prototype;O.genColormap=function(ae,j){var ee=!1,ie=p([c({colormap:ae,nshades:F,format:"rgba"}).map(function(ce,xe){var Te=j?I(xe/255,j):ce[3];return Te<1&&(ee=!0),[ce[0],ce[1],ce[2],255*Te]})]);return h.divseq(ie,255),this.hasAlphaScale=ee,ie},O.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},O.isOpaque=function(){return!this.isTransparent()},O.pickSlots=1,O.setPickBase=function(ae){this.pickId=ae};function I(ae,j){if(!j||!j.length)return 1;for(var ee=0;eeae&&ee>0){var ie=(j[ee][0]-ae)/(j[ee][0]-j[ee-1][0]);return j[ee][1]*(1-ie)+ie*j[ee-1][1]}}return 1}var N=[0,0,0],U={showSurface:!1,showContour:!1,projections:[f.slice(),f.slice(),f.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function W(ae,j){var ee,ie,ce,xe=j.axes&&j.axes.lastCubeProps.axis||N,Te=j.showSurface,Ue=j.showContour;for(ee=0;ee<3;++ee)for(Te=Te||j.surfaceProject[ee],ie=0;ie<3;++ie)Ue=Ue||j.contourProject[ee][ie];for(ee=0;ee<3;++ee){var Ie=U.projections[ee];for(ie=0;ie<16;++ie)Ie[ie]=0;for(ie=0;ie<4;++ie)Ie[5*ie]=1;Ie[5*ee]=0,Ie[12+ee]=j.axesBounds[+(xe[ee]>0)][ee],l(Ie,ae.model,Ie);var Ye=U.clipBounds[ee];for(ce=0;ce<2;++ce)for(ie=0;ie<3;++ie)Ye[ce][ie]=ae.clipBounds[ce][ie];Ye[0][ee]=-1e8,Ye[1][ee]=1e8}return U.showSurface=Te,U.showContour=Ue,U}var Q={model:f,view:f,projection:f,inverseModel:f.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},le=f.slice(),se=[1,0,0,0,1,0,0,0,1];function fe(ae,j){ae=ae||{};var ee=this.gl;ee.disable(ee.CULL_FACE),this._colorMap.bind(0);var ie=Q;ie.model=ae.model||f,ie.view=ae.view||f,ie.projection=ae.projection||f,ie.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ie.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ie.objectOffset=this.objectOffset,ie.contourColor=this.contourColor[0],ie.inverseModel=_(ie.inverseModel,ie.model);for(var ce=0;ce<2;++ce)for(var xe=ie.clipBounds[ce],Te=0;Te<3;++Te)xe[Te]=Math.min(Math.max(this.clipBounds[ce][Te],-1e8),1e8);ie.kambient=this.ambientLight,ie.kdiffuse=this.diffuseLight,ie.kspecular=this.specularLight,ie.roughness=this.roughness,ie.fresnel=this.fresnel,ie.opacity=this.opacity,ie.height=0,ie.permutation=se,ie.vertexColor=this.vertexColor;var Ue=le;for(l(Ue,ie.view,ie.model),l(Ue,ie.projection,Ue),_(Ue,Ue),ce=0;ce<3;++ce)ie.eyePosition[ce]=Ue[12+ce]/Ue[15];var Ie=Ue[15];for(ce=0;ce<3;++ce)Ie+=this.lightPosition[ce]*Ue[4*ce+3];for(ce=0;ce<3;++ce){var Ye=Ue[12+ce];for(Te=0;Te<3;++Te)Ye+=Ue[4*Te+ce]*this.lightPosition[Te];ie.lightPosition[ce]=Ye/Ie}var it=W(ie,this);if(it.showSurface){for(this._shader.bind(),this._shader.uniforms=ie,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ee.TRIANGLES,this._vertexCount),ce=0;ce<3;++ce)!this.surfaceProject[ce]||!this.vertexCount||(this._shader.uniforms.model=it.projections[ce],this._shader.uniforms.clipBounds=it.clipBounds[ce],this._vao.draw(ee.TRIANGLES,this._vertexCount));this._vao.unbind()}if(it.showContour){var at=this._contourShader;ie.kambient=1,ie.kdiffuse=0,ie.kspecular=0,ie.opacity=1,at.bind(),at.uniforms=ie;var tt=this._contourVAO;for(tt.bind(),ce=0;ce<3;++ce)for(at.uniforms.permutation=L[ce],ee.lineWidth(this.contourWidth[ce]*this.pixelRatio),Te=0;Te>4)/16)/255,ce=Math.floor(ie),xe=ie-ce,Te=j[1]*(ae.value[1]+(ae.value[2]&15)/16)/255,Ue=Math.floor(Te),Ie=Te-Ue;ce+=1,Ue+=1;var Ye=ee.position;Ye[0]=Ye[1]=Ye[2]=0;for(var it=0;it<2;++it)for(var at=it?xe:1-xe,tt=0;tt<2;++tt)for(var ut=tt?Ie:1-Ie,Me=ce+it,pe=Ue+tt,ue=at*ut,Oe=0;Oe<3;++Oe)Ye[Oe]+=this._field[Oe].get(Me,pe)*ue;for(var rt=this._pickResult.level,ot=0;ot<3;++ot)if(rt[ot]=w.le(this.contourLevels[ot],Ye[ot]),rt[ot]<0)this.contourLevels[ot].length>0&&(rt[ot]=0);else if(rt[ot]Math.abs(Lt-Ye[ot])&&(rt[ot]+=1)}for(ee.index[0]=xe<.5?ce:ce+1,ee.index[1]=Ie<.5?Ue:Ue+1,ee.uv[0]=ie/j[0],ee.uv[1]=Te/j[1],Oe=0;Oe<3;++Oe)ee.dataCoordinate[Oe]=this._field[Oe].get(ee.index[0],ee.index[1]);return ee},O.padField=function(ae,j){var ee=j.shape.slice(),ie=ae.shape.slice();h.assign(ae.lo(1,1).hi(ee[0],ee[1]),j),h.assign(ae.lo(1).hi(ee[0],1),j.hi(ee[0],1)),h.assign(ae.lo(1,ie[1]-1).hi(ee[0],1),j.lo(0,ee[1]-1).hi(ee[0],1)),h.assign(ae.lo(0,1).hi(1,ee[1]),j.hi(1)),h.assign(ae.lo(ie[0]-1,1).hi(1,ee[1]),j.lo(ee[0]-1)),ae.set(0,0,j.get(0,0)),ae.set(0,ie[1]-1,j.get(0,ee[1]-1)),ae.set(ie[0]-1,0,j.get(ee[0]-1,0)),ae.set(ie[0]-1,ie[1]-1,j.get(ee[0]-1,ee[1]-1))};function $(ae,j){return Array.isArray(ae)?[j(ae[0]),j(ae[1]),j(ae[2])]:[j(ae),j(ae),j(ae)]}function J(ae){return Array.isArray(ae)?ae.length===3?[ae[0],ae[1],ae[2],1]:[ae[0],ae[1],ae[2],ae[3]]:[0,0,0,1]}function X(ae){if(Array.isArray(ae)){if(Array.isArray(ae))return[J(ae[0]),J(ae[1]),J(ae[2])];var j=J(ae);return[j.slice(),j.slice(),j.slice()]}}O.update=function(ae){ae=ae||{},this.objectOffset=ae.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ae&&(this.contourWidth=$(ae.contourWidth,Number)),"showContour"in ae&&(this.showContour=$(ae.showContour,Boolean)),"showSurface"in ae&&(this.showSurface=!!ae.showSurface),"contourTint"in ae&&(this.contourTint=$(ae.contourTint,Boolean)),"contourColor"in ae&&(this.contourColor=X(ae.contourColor)),"contourProject"in ae&&(this.contourProject=$(ae.contourProject,function(ui){return $(ui,Boolean)})),"surfaceProject"in ae&&(this.surfaceProject=ae.surfaceProject),"dynamicColor"in ae&&(this.dynamicColor=X(ae.dynamicColor)),"dynamicTint"in ae&&(this.dynamicTint=$(ae.dynamicTint,Number)),"dynamicWidth"in ae&&(this.dynamicWidth=$(ae.dynamicWidth,Number)),"opacity"in ae&&(this.opacity=ae.opacity),"opacityscale"in ae&&(this.opacityscale=ae.opacityscale),"colorBounds"in ae&&(this.colorBounds=ae.colorBounds),"vertexColor"in ae&&(this.vertexColor=ae.vertexColor?1:0),"colormap"in ae&&this._colorMap.setPixels(this.genColormap(ae.colormap,this.opacityscale));var j=ae.field||ae.coords&&ae.coords[2]||null,ee=!1;if(j||(this._field[2].shape[0]||this._field[2].shape[2]?j=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):j=this._field[2].hi(0,0)),"field"in ae||"coords"in ae){var ie=(j.shape[0]+2)*(j.shape[1]+2);ie>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(o.nextPow2(ie))),this._field[2]=d(this._field[2].data,[j.shape[0]+2,j.shape[1]+2]),this.padField(this._field[2],j),this.shape=j.shape.slice();for(var ce=this.shape,xe=0;xe<2;++xe)this._field[2].size>this._field[xe].data.length&&(s.freeFloat(this._field[xe].data),this._field[xe].data=s.mallocFloat(this._field[2].size)),this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2]);if(ae.coords){var Te=ae.coords;if(!Array.isArray(Te)||Te.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(xe=0;xe<2;++xe){var Ue=Te[xe];for(tt=0;tt<2;++tt)if(Ue.shape[tt]!==ce[tt])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[xe],Ue)}}else if(ae.ticks){var Ie=ae.ticks;if(!Array.isArray(Ie)||Ie.length!==2)throw new Error("gl-surface: invalid ticks");for(xe=0;xe<2;++xe){var Ye=Ie[xe];if((Array.isArray(Ye)||Ye.length)&&(Ye=d(Ye)),Ye.shape[0]!==ce[xe])throw new Error("gl-surface: invalid tick length");var it=d(Ye.data,ce);it.stride[xe]=Ye.stride[0],it.stride[xe^1]=0,this.padField(this._field[xe],it)}}else{for(xe=0;xe<2;++xe){var at=[0,0];at[xe]=1,this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2],at,0)}this._field[0].set(0,0,0);for(var tt=0;tt0){for(var ri=0;ri<5;++ri)Xt.pop();je-=1}continue e}}}Rn.push(je)}this._contourOffsets[$t]=pn,this._contourCounts[$t]=Rn}var Sn=s.mallocFloat(Xt.length);for(xe=0;xez||P<0||P>z)throw new Error("gl-texture2d: Invalid texture size");return y._shape=[f,P],y.bind(),L.texImage2D(L.TEXTURE_2D,0,y.format,f,P,0,y.format,y.type,null),y._mipLevels=[0],y}function l(y,f,P,L,z,F){this.gl=y,this.handle=f,this.format=z,this.type=F,this._shape=[P,L],this._mipLevels=[0],this._magFilter=y.NEAREST,this._minFilter=y.NEAREST,this._wrapS=y.CLAMP_TO_EDGE,this._wrapT=y.CLAMP_TO_EDGE,this._anisoSamples=1;var B=this,O=[this._wrapS,this._wrapT];Object.defineProperties(O,[{get:function(){return B._wrapS},set:function(N){return B.wrapS=N}},{get:function(){return B._wrapT},set:function(N){return B.wrapT=N}}]),this._wrapVector=O;var I=[this._shape[0],this._shape[1]];Object.defineProperties(I,[{get:function(){return B._shape[0]},set:function(N){return B.width=N}},{get:function(){return B._shape[1]},set:function(N){return B.height=N}}]),this._shapeVector=I}var _=l.prototype;Object.defineProperties(_,{minFilter:{get:function(){return this._minFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension("OES_texture_float_linear")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error("gl-texture2d: Unknown filter mode "+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,y),this._minFilter=y}},magFilter:{get:function(){return this._magFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension("OES_texture_float_linear")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error("gl-texture2d: Unknown filter mode "+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,y),this._magFilter=y}},mipSamples:{get:function(){return this._anisoSamples},set:function(y){var f=this._anisoSamples;if(this._anisoSamples=Math.max(y,1)|0,f!==this._anisoSamples){var P=this.gl.getExtension("EXT_texture_filter_anisotropic");P&&this.gl.texParameterf(this.gl.TEXTURE_2D,P.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,y),this._wrapS=y}},wrapT:{get:function(){return this._wrapT},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,y),this._wrapT=y}},wrap:{get:function(){return this._wrapVector},set:function(y){if(Array.isArray(y)||(y=[y,y]),y.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var f=0;f<2;++f)if(c.indexOf(y[f])<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);this._wrapS=y[0],this._wrapT=y[1];var P=this.gl;return this.bind(),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_S,this._wrapS),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_T,this._wrapT),y}},shape:{get:function(){return this._shapeVector},set:function(y){if(!Array.isArray(y))y=[y|0,y|0];else if(y.length!==2)throw new Error("gl-texture2d: Invalid texture shape");return T(this,y[0]|0,y[1]|0),[y[0]|0,y[1]|0]}},width:{get:function(){return this._shape[0]},set:function(y){return y=y|0,T(this,y,this._shape[1]),y}},height:{get:function(){return this._shape[1]},set:function(y){return y=y|0,T(this,this._shape[0],y),y}}}),_.bind=function(y){var f=this.gl;return y!==void 0&&f.activeTexture(f.TEXTURE0+(y|0)),f.bindTexture(f.TEXTURE_2D,this.handle),y!==void 0?y|0:f.getParameter(f.ACTIVE_TEXTURE)-f.TEXTURE0},_.dispose=function(){this.gl.deleteTexture(this.handle)},_.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var y=Math.min(this._shape[0],this._shape[1]),f=0;y>0;++f,y>>>=1)this._mipLevels.indexOf(f)<0&&this._mipLevels.push(f)},_.setPixels=function(y,f,P,L){var z=this.gl;this.bind(),Array.isArray(f)?(L=P,P=f[1]|0,f=f[0]|0):(f=f||0,P=P||0),L=L||0;var F=p(y)?y:y.raw;if(F){var B=this._mipLevels.indexOf(L)<0;B?(z.texImage2D(z.TEXTURE_2D,0,this.format,this.format,this.type,F),this._mipLevels.push(L)):z.texSubImage2D(z.TEXTURE_2D,L,f,P,this.format,this.type,F)}else if(y.shape&&y.stride&&y.data){if(y.shape.length<2||f+y.shape[1]>this._shape[1]>>>L||P+y.shape[0]>this._shape[0]>>>L||f<0||P<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");M(z,f,P,L,this.format,this.type,this._mipLevels,y)}else throw new Error("gl-texture2d: Unsupported data type")};function w(y,f){return y.length===3?f[2]===1&&f[1]===y[0]*y[2]&&f[0]===y[2]:f[0]===1&&f[1]===y[0]}function M(y,f,P,L,z,F,B,O){var I=O.dtype,N=O.shape.slice();if(N.length<2||N.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var U=0,W=0,Q=w(N,O.stride.slice());I==="float32"?U=y.FLOAT:I==="float64"?(U=y.FLOAT,Q=!1,I="float32"):I==="uint8"?U=y.UNSIGNED_BYTE:(U=y.UNSIGNED_BYTE,Q=!1,I="uint8");var le=1;if(N.length===2)W=y.LUMINANCE,N=[N[0],N[1],1],O=o(O.data,N,[O.stride[0],O.stride[1],1],O.offset);else if(N.length===3){if(N[2]===1)W=y.ALPHA;else if(N[2]===2)W=y.LUMINANCE_ALPHA;else if(N[2]===3)W=y.RGB;else if(N[2]===4)W=y.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");le=N[2]}else throw new Error("gl-texture2d: Invalid shape for texture");if((W===y.LUMINANCE||W===y.ALPHA)&&(z===y.LUMINANCE||z===y.ALPHA)&&(W=z),W!==z)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var se=O.size,fe=B.indexOf(L)<0;if(fe&&B.push(L),U===F&&Q)O.offset===0&&O.data.length===se?fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data):fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data.subarray(O.offset,O.offset+se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data.subarray(O.offset,O.offset+se));else{var G;F===y.FLOAT?G=i.mallocFloat32(se):G=i.mallocUint8(se);var $=o(G,N,[N[2],N[2]*N[0],1]);U===y.FLOAT&&F===y.UNSIGNED_BYTE?d($,O):n.assign($,O),fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,G.subarray(0,se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,G.subarray(0,se)),F===y.FLOAT?i.freeFloat32(G):i.freeUint8(G)}}function E(y){var f=y.createTexture();return y.bindTexture(y.TEXTURE_2D,f),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MIN_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MAG_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_S,y.CLAMP_TO_EDGE),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_T,y.CLAMP_TO_EDGE),f}function m(y,f,P,L,z){var F=y.getParameter(y.MAX_TEXTURE_SIZE);if(f<0||f>F||P<0||P>F)throw new Error("gl-texture2d: Invalid texture shape");if(z===y.FLOAT&&!y.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,L,f,P,0,L,z,null),new l(y,B,f,P,L,z)}function b(y,f,P,L,z,F){var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,z,z,F,f),new l(y,B,P,L,z,F)}function v(y,f){var P=f.dtype,L=f.shape.slice(),z=y.getParameter(y.MAX_TEXTURE_SIZE);if(L[0]<0||L[0]>z||L[1]<0||L[1]>z)throw new Error("gl-texture2d: Invalid texture size");var F=w(L,f.stride.slice()),B=0;P==="float32"?B=y.FLOAT:P==="float64"?(B=y.FLOAT,F=!1,P="float32"):P==="uint8"?B=y.UNSIGNED_BYTE:(B=y.UNSIGNED_BYTE,F=!1,P="uint8");var O=0;if(L.length===2)O=y.LUMINANCE,L=[L[0],L[1],1],f=o(f.data,L,[f.stride[0],f.stride[1],1],f.offset);else if(L.length===3)if(L[2]===1)O=y.ALPHA;else if(L[2]===2)O=y.LUMINANCE_ALPHA;else if(L[2]===3)O=y.RGB;else if(L[2]===4)O=y.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");else throw new Error("gl-texture2d: Invalid shape for texture");B===y.FLOAT&&!y.getExtension("OES_texture_float")&&(B=y.UNSIGNED_BYTE,F=!1);var I,N,U=f.size;if(F)f.offset===0&&f.data.length===U?I=f.data:I=f.data.subarray(f.offset,f.offset+U);else{var W=[L[2],L[2]*L[0],1];N=i.malloc(U,P);var Q=o(N,L,W,0);(P==="float32"||P==="float64")&&B===y.UNSIGNED_BYTE?d(Q,f):n.assign(Q,f),I=N.subarray(0,U)}var le=E(y);return y.texImage2D(y.TEXTURE_2D,0,O,L[0],L[1],0,O,B,I),F||i.free(N),new l(y,le,L[0],L[1],O,B)}function u(y){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");if(a||h(y),typeof arguments[1]=="number")return m(y,arguments[1],arguments[2],arguments[3]||y.RGBA,arguments[4]||y.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return m(y,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(typeof arguments[1]=="object"){var f=arguments[1],P=p(f)?f:f.raw;if(P)return b(y,P,f.width|0,f.height|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(f.shape&&f.data&&f.stride)return v(y,f)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")}},1433:function(e){"use strict";function t(r,o,n){o?o.bind():r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null);var i=r.getParameter(r.MAX_VERTEX_ATTRIBS)|0;if(n){if(n.length>i)throw new Error("gl-vao: Too many vertex attributes");for(var a=0;a1?0:Math.acos(d)}},9226:function(e){e.exports=t;function t(r,o){return r[0]=Math.ceil(o[0]),r[1]=Math.ceil(o[1]),r[2]=Math.ceil(o[2]),r}},3126:function(e){e.exports=t;function t(r){var o=new Float32Array(3);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o}},3990:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r}},1091:function(e){e.exports=t;function t(){var r=new Float32Array(3);return r[0]=0,r[1]=0,r[2]=0,r}},5911:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2];return r[0]=a*p-s*h,r[1]=s*c-i*p,r[2]=i*h-a*c,r}},5455:function(e,t,r){e.exports=r(7056)},7056:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return Math.sqrt(n*n+i*i+a*a)}},4008:function(e,t,r){e.exports=r(6690)},6690:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r}},244:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]}},2613:function(e){e.exports=1e-6},9922:function(e,t,r){e.exports=n;var o=r(2613);function n(i,a){var s=i[0],c=i[1],h=i[2],p=a[0],d=a[1],T=a[2];return Math.abs(s-p)<=o*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(c-d)<=o*Math.max(1,Math.abs(c),Math.abs(d))&&Math.abs(h-T)<=o*Math.max(1,Math.abs(h),Math.abs(T))}},9265:function(e){e.exports=t;function t(r,o){return r[0]===o[0]&&r[1]===o[1]&&r[2]===o[2]}},2681:function(e){e.exports=t;function t(r,o){return r[0]=Math.floor(o[0]),r[1]=Math.floor(o[1]),r[2]=Math.floor(o[2]),r}},5137:function(e,t,r){e.exports=n;var o=r(1091)();function n(i,a,s,c,h,p){var d,T;for(a||(a=3),s||(s=0),c?T=Math.min(c*a+s,i.length):T=i.length,d=s;d0&&(s=1/Math.sqrt(s),r[0]=o[0]*s,r[1]=o[1]*s,r[2]=o[2]*s),r}},7636:function(e){e.exports=t;function t(r,o){o=o||1;var n=Math.random()*2*Math.PI,i=Math.random()*2-1,a=Math.sqrt(1-i*i)*o;return r[0]=Math.cos(n)*a,r[1]=Math.sin(n)*a,r[2]=i*o,r}},6894:function(e){e.exports=t;function t(r,o,n,i){var a=n[1],s=n[2],c=o[1]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=o[0],r[1]=a+c*d-h*p,r[2]=s+c*p+h*d,r}},109:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[2],c=o[0]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+h*p+c*d,r[1]=o[1],r[2]=s+h*d-c*p,r}},8692:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[1],c=o[0]-a,h=o[1]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+c*d-h*p,r[1]=s+c*p+h*d,r[2]=o[2],r}},2447:function(e){e.exports=t;function t(r,o){return r[0]=Math.round(o[0]),r[1]=Math.round(o[1]),r[2]=Math.round(o[2]),r}},6621:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r}},8489:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r}},1463:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o,r[1]=n,r[2]=i,r}},6141:function(e,t,r){e.exports=r(2953)},5486:function(e,t,r){e.exports=r(3066)},2953:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return n*n+i*i+a*a}},3066:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2];return o*o+n*n+i*i}},2229:function(e,t,r){e.exports=r(6843)},6843:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r}},492:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2];return r[0]=i*n[0]+a*n[3]+s*n[6],r[1]=i*n[1]+a*n[4]+s*n[7],r[2]=i*n[2]+a*n[5]+s*n[8],r}},5673:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[3]*i+n[7]*a+n[11]*s+n[15];return c=c||1,r[0]=(n[0]*i+n[4]*a+n[8]*s+n[12])/c,r[1]=(n[1]*i+n[5]*a+n[9]*s+n[13])/c,r[2]=(n[2]*i+n[6]*a+n[10]*s+n[14])/c,r}},264:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r}},4361:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]+n[0],r[1]=o[1]+n[1],r[2]=o[2]+n[2],r[3]=o[3]+n[3],r}},2335:function(e){e.exports=t;function t(r){var o=new Float32Array(4);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o[3]=r[3],o}},2933:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r}},7536:function(e){e.exports=t;function t(){var r=new Float32Array(4);return r[0]=0,r[1]=0,r[2]=0,r[3]=0,r}},4691:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return Math.sqrt(n*n+i*i+a*a+s*s)}},1373:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r[3]=o[3]/n[3],r}},3750:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]+r[3]*o[3]}},3390:function(e){e.exports=t;function t(r,o,n,i){var a=new Float32Array(4);return a[0]=r,a[1]=o,a[2]=n,a[3]=i,a}},9970:function(e,t,r){e.exports={create:r(7536),clone:r(2335),fromValues:r(3390),copy:r(2933),set:r(4578),add:r(4361),subtract:r(6860),multiply:r(3576),divide:r(1373),min:r(2334),max:r(160),scale:r(9288),scaleAndAdd:r(4844),distance:r(4691),squaredDistance:r(7960),length:r(6808),squaredLength:r(483),negate:r(1498),inverse:r(4494),normalize:r(5177),dot:r(3750),lerp:r(2573),random:r(9131),transformMat4:r(5352),transformQuat:r(4041)}},4494:function(e){e.exports=t;function t(r,o){return r[0]=1/o[0],r[1]=1/o[1],r[2]=1/o[2],r[3]=1/o[3],r}},6808:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return Math.sqrt(o*o+n*n+i*i+a*a)}},2573:function(e){e.exports=t;function t(r,o,n,i){var a=o[0],s=o[1],c=o[2],h=o[3];return r[0]=a+i*(n[0]-a),r[1]=s+i*(n[1]-s),r[2]=c+i*(n[2]-c),r[3]=h+i*(n[3]-h),r}},160:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.max(o[0],n[0]),r[1]=Math.max(o[1],n[1]),r[2]=Math.max(o[2],n[2]),r[3]=Math.max(o[3],n[3]),r}},2334:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.min(o[0],n[0]),r[1]=Math.min(o[1],n[1]),r[2]=Math.min(o[2],n[2]),r[3]=Math.min(o[3],n[3]),r}},3576:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n[0],r[1]=o[1]*n[1],r[2]=o[2]*n[2],r[3]=o[3]*n[3],r}},1498:function(e){e.exports=t;function t(r,o){return r[0]=-o[0],r[1]=-o[1],r[2]=-o[2],r[3]=-o[3],r}},5177:function(e){e.exports=t;function t(r,o){var n=o[0],i=o[1],a=o[2],s=o[3],c=n*n+i*i+a*a+s*s;return c>0&&(c=1/Math.sqrt(c),r[0]=n*c,r[1]=i*c,r[2]=a*c,r[3]=s*c),r}},9131:function(e,t,r){var o=r(5177),n=r(9288);e.exports=i;function i(a,s){return s=s||1,a[0]=Math.random(),a[1]=Math.random(),a[2]=Math.random(),a[3]=Math.random(),o(a,a),n(a,a,s),a}},9288:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r[3]=o[3]*n,r}},4844:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r[3]=o[3]+n[3]*i,r}},4578:function(e){e.exports=t;function t(r,o,n,i,a){return r[0]=o,r[1]=n,r[2]=i,r[3]=a,r}},7960:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return n*n+i*i+a*a+s*s}},483:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return o*o+n*n+i*i+a*a}},6860:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r[3]=o[3]-n[3],r}},5352:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=o[3];return r[0]=n[0]*i+n[4]*a+n[8]*s+n[12]*c,r[1]=n[1]*i+n[5]*a+n[9]*s+n[13]*c,r[2]=n[2]*i+n[6]*a+n[10]*s+n[14]*c,r[3]=n[3]*i+n[7]*a+n[11]*s+n[15]*c,r}},4041:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r[3]=o[3],r}},1848:function(e,t,r){var o=r(4905),n=r(6468);e.exports=i;function i(a){for(var s=Array.isArray(a)?a:o(a),c=0;c0)continue;ot=ue.slice(0,1).join("")}return ee(ot),se+=ot.length,I=I.slice(ot.length),I.length}while(!0)}function tt(){return/[^a-fA-F0-9]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function ut(){return B==="."||/[eE]/.test(B)?(I.push(B),F=w,O=B,L+1):B==="x"&&I.length===1&&I[0]==="0"?(F=u,I.push(B),O=B,L+1):/[^\d]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function Me(){return B==="f"&&(I.push(B),O=B,L+=1),/[eE]/.test(B)||(B==="-"||B==="+")&&/[eE]/.test(O)?(I.push(B),O=B,L+1):/[^\d]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function pe(){if(/[^\d\w_]/.test(B)){var ue=I.join("");return j[ue]?F=m:ae[ue]?F=E:F=M,ee(I.join("")),F=c,L}return I.push(B),O=B,L+1}}},3508:function(e,t,r){var o=r(6852);o=o.slice().filter(function(n){return!/^(gl\_|texture)/.test(n)}),e.exports=o.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},6852:function(e){e.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},7932:function(e,t,r){var o=r(620);e.exports=o.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},620:function(e){e.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},7827:function(e){e.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},4905:function(e,t,r){var o=r(5874);e.exports=n;function n(i,a){var s=o(a),c=[];return c=c.concat(s(i)),c=c.concat(s(null)),c}},3236:function(e){e.exports=function(t){typeof t=="string"&&(t=[t]);for(var r=[].slice.call(arguments,1),o=[],n=0;n>1,T=-7,l=n?a-1:0,_=n?-1:1,w=r[o+l];for(l+=_,s=w&(1<<-T)-1,w>>=-T,T+=h;T>0;s=s*256+r[o+l],l+=_,T-=8);for(c=s&(1<<-T)-1,s>>=-T,T+=i;T>0;c=c*256+r[o+l],l+=_,T-=8);if(s===0)s=1-d;else{if(s===p)return c?NaN:(w?-1:1)*(1/0);c=c+Math.pow(2,i),s=s-d}return(w?-1:1)*c*Math.pow(2,s-i)},t.write=function(r,o,n,i,a,s){var c,h,p,d=s*8-a-1,T=(1<>1,_=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:s-1,M=i?1:-1,E=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(h=isNaN(o)?1:0,c=T):(c=Math.floor(Math.log(o)/Math.LN2),o*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+l>=1?o+=_/p:o+=_*Math.pow(2,1-l),o*p>=2&&(c++,p/=2),c+l>=T?(h=0,c=T):c+l>=1?(h=(o*p-1)*Math.pow(2,a),c=c+l):(h=o*Math.pow(2,l-1)*Math.pow(2,a),c=0));a>=8;r[n+w]=h&255,w+=M,h/=256,a-=8);for(c=c<0;r[n+w]=c&255,w+=M,c/=256,d-=8);r[n+w-M]|=E*128}},8954:function(e,t,r){"use strict";e.exports=l;var o=r(3250),n=r(6803).Fw;function i(_,w,M){this.vertices=_,this.adjacent=w,this.boundary=M,this.lastVisited=-1}i.prototype.flip=function(){var _=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=_;var w=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=w};function a(_,w,M){this.vertices=_,this.cell=w,this.index=M}function s(_,w){return n(_.vertices,w.vertices)}function c(_){return function(){var w=this.tuple;return _.apply(this,w)}}function h(_){var w=o[_+1];return w||(w=o),c(w)}var p=[];function d(_,w,M){this.dimension=_,this.vertices=w,this.simplices=M,this.interior=M.filter(function(b){return!b.boundary}),this.tuple=new Array(_+1);for(var E=0;E<=_;++E)this.tuple[E]=this.vertices[E];var m=p[_];m||(m=p[_]=h(_)),this.orient=m}var T=d.prototype;T.handleBoundaryDegeneracy=function(_,w){var M=this.dimension,E=this.vertices.length-1,m=this.tuple,b=this.vertices,v=[_];for(_.lastVisited=-E;v.length>0;){_=v.pop();for(var u=_.adjacent,y=0;y<=M;++y){var f=u[y];if(!(!f.boundary||f.lastVisited<=-E)){for(var P=f.vertices,L=0;L<=M;++L){var z=P[L];z<0?m[L]=w:m[L]=b[z]}var F=this.orient();if(F>0)return f;f.lastVisited=-E,F===0&&v.push(f)}}}return null},T.walk=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=w?this.interior.length*Math.random()|0:this.interior.length-1,u=this.interior[v];e:for(;!u.boundary;){for(var y=u.vertices,f=u.adjacent,P=0;P<=E;++P)b[P]=m[y[P]];u.lastVisited=M;for(var P=0;P<=E;++P){var L=f[P];if(!(L.lastVisited>=M)){var z=b[P];b[P]=_;var F=this.orient();if(b[P]=z,F<0){u=L;continue e}else L.boundary?L.lastVisited=-M:L.lastVisited=M}}return}return u},T.addPeaks=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=this.interior,u=this.simplices,y=[w];w.lastVisited=M,w.vertices[w.vertices.indexOf(-1)]=M,w.boundary=!1,v.push(w);for(var f=[];y.length>0;){var w=y.pop(),P=w.vertices,L=w.adjacent,z=P.indexOf(M);if(!(z<0)){for(var F=0;F<=E;++F)if(F!==z){var B=L[F];if(!(!B.boundary||B.lastVisited>=M)){var O=B.vertices;if(B.lastVisited!==-M){for(var I=0,N=0;N<=E;++N)O[N]<0?(I=N,b[N]=_):b[N]=m[O[N]];var U=this.orient();if(U>0){O[I]=M,B.boundary=!1,v.push(B),y.push(B),B.lastVisited=M;continue}else B.lastVisited=-M}var W=B.adjacent,Q=P.slice(),le=L.slice(),se=new i(Q,le,!0);u.push(se);var fe=W.indexOf(w);if(!(fe<0)){W[fe]=se,le[z]=B,Q[F]=-1,le[F]=w,L[F]=se,se.flip();for(var N=0;N<=E;++N){var G=Q[N];if(!(G<0||G===M)){for(var $=new Array(E-1),J=0,X=0;X<=E;++X){var re=Q[X];re<0||X===N||($[J++]=re)}f.push(new a($,se,N))}}}}}}}f.sort(s);for(var F=0;F+1=0?v[y++]=u[P]:f=P&1;if(f===(_&1)){var L=v[0];v[0]=v[1],v[1]=L}w.push(v)}}return w};function l(_,w){var M=_.length;if(M===0)throw new Error("Must have at least d+1 points");var E=_[0].length;if(M<=E)throw new Error("Must input at least d+1 points");var m=_.slice(0,E+1),b=o.apply(void 0,m);if(b===0)throw new Error("Input not in general position");for(var v=new Array(E+1),u=0;u<=E;++u)v[u]=u;b<0&&(v[0]=1,v[1]=0);for(var y=new i(v,new Array(E+1),!1),f=y.adjacent,P=new Array(E+2),u=0;u<=E;++u){for(var L=v.slice(),z=0;z<=E;++z)z===u&&(L[z]=-1);var F=L[0];L[0]=L[1],L[1]=F;var B=new i(L,new Array(E+1),!0);f[u]=B,P[u]=B}P[E+1]=y;for(var u=0;u<=E;++u)for(var L=f[u].vertices,O=f[u].adjacent,z=0;z<=E;++z){var I=L[z];if(I<0){O[z]=y;continue}for(var N=0;N<=E;++N)f[N].vertices.indexOf(I)<0&&(O[z]=f[N])}for(var U=new d(E,m,P),W=!!w,u=E+1;u3*(P+1)?d(this,f):this.left.insert(f):this.left=b([f]);else if(f[0]>this.mid)this.right?4*(this.right.count+1)>3*(P+1)?d(this,f):this.right.insert(f):this.right=b([f]);else{var L=o.ge(this.leftPoints,f,E),z=o.ge(this.rightPoints,f,m);this.leftPoints.splice(L,0,f),this.rightPoints.splice(z,0,f)}},c.remove=function(f){var P=this.count-this.leftPoints;if(f[1]3*(P-1))return T(this,f);var z=this.left.remove(f);return z===a?(this.left=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else if(f[0]>this.mid){if(!this.right)return n;var F=this.left?this.left.count:0;if(4*F>3*(P-1))return T(this,f);var z=this.right.remove(f);return z===a?(this.right=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else{if(this.count===1)return this.leftPoints[0]===f?a:n;if(this.leftPoints.length===1&&this.leftPoints[0]===f){if(this.left&&this.right){for(var B=this,O=this.left;O.right;)B=O,O=O.right;if(B===this)O.right=this.right;else{var I=this.left,z=this.right;B.count-=O.count,B.right=O.left,O.left=I,O.right=z}h(this,O),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return i}for(var I=o.ge(this.leftPoints,f,E);I=0&&f[z][1]>=P;--z){var F=L(f[z]);if(F)return F}}function w(f,P){for(var L=0;Lthis.mid){if(this.right){var L=this.right.queryPoint(f,P);if(L)return L}return _(this.rightPoints,f,P)}else return w(this.leftPoints,P)},c.queryInterval=function(f,P,L){if(fthis.mid&&this.right){var z=this.right.queryInterval(f,P,L);if(z)return z}return Pthis.mid?_(this.rightPoints,f,L):w(this.leftPoints,L)};function M(f,P){return f-P}function E(f,P){var L=f[0]-P[0];return L||f[1]-P[1]}function m(f,P){var L=f[1]-P[1];return L||f[0]-P[0]}function b(f){if(f.length===0)return null;for(var P=[],L=0;L>1],F=[],B=[],O=[],L=0;L13)&&o!==32&&o!==133&&o!==160&&o!==5760&&o!==6158&&(o<8192||o>8205)&&o!==8232&&o!==8233&&o!==8239&&o!==8287&&o!==8288&&o!==12288&&o!==65279)return!1;return!0}},395:function(e){function t(r,o,n){return r*(1-n)+o*n}e.exports=t},2652:function(e,t,r){var o=r(4335),n=r(6864),i=r(1903),a=r(9921),s=r(7608),c=r(5665),h={length:r(1387),normalize:r(3536),dot:r(244),cross:r(5911)},p=n(),d=n(),T=[0,0,0,0],l=[[0,0,0],[0,0,0],[0,0,0]],_=[0,0,0];e.exports=function(b,v,u,y,f,P){if(v||(v=[0,0,0]),u||(u=[0,0,0]),y||(y=[0,0,0]),f||(f=[0,0,0,1]),P||(P=[0,0,0,1]),!o(p,b)||(i(d,p),d[3]=0,d[7]=0,d[11]=0,d[15]=1,Math.abs(a(d)<1e-8)))return!1;var L=p[3],z=p[7],F=p[11],B=p[12],O=p[13],I=p[14],N=p[15];if(L!==0||z!==0||F!==0){T[0]=L,T[1]=z,T[2]=F,T[3]=N;var U=s(d,d);if(!U)return!1;c(d,d),w(f,T,d)}else f[0]=f[1]=f[2]=0,f[3]=1;if(v[0]=B,v[1]=O,v[2]=I,M(l,p),u[0]=h.length(l[0]),h.normalize(l[0],l[0]),y[0]=h.dot(l[0],l[1]),E(l[1],l[1],l[0],1,-y[0]),u[1]=h.length(l[1]),h.normalize(l[1],l[1]),y[0]/=u[1],y[1]=h.dot(l[0],l[2]),E(l[2],l[2],l[0],1,-y[1]),y[2]=h.dot(l[1],l[2]),E(l[2],l[2],l[1],1,-y[2]),u[2]=h.length(l[2]),h.normalize(l[2],l[2]),y[1]/=u[2],y[2]/=u[2],h.cross(_,l[1],l[2]),h.dot(l[0],_)<0)for(var W=0;W<3;W++)u[W]*=-1,l[W][0]*=-1,l[W][1]*=-1,l[W][2]*=-1;return P[0]=.5*Math.sqrt(Math.max(1+l[0][0]-l[1][1]-l[2][2],0)),P[1]=.5*Math.sqrt(Math.max(1-l[0][0]+l[1][1]-l[2][2],0)),P[2]=.5*Math.sqrt(Math.max(1-l[0][0]-l[1][1]+l[2][2],0)),P[3]=.5*Math.sqrt(Math.max(1+l[0][0]+l[1][1]+l[2][2],0)),l[2][1]>l[1][2]&&(P[0]=-P[0]),l[0][2]>l[2][0]&&(P[1]=-P[1]),l[1][0]>l[0][1]&&(P[2]=-P[2]),!0};function w(m,b,v){var u=b[0],y=b[1],f=b[2],P=b[3];return m[0]=v[0]*u+v[4]*y+v[8]*f+v[12]*P,m[1]=v[1]*u+v[5]*y+v[9]*f+v[13]*P,m[2]=v[2]*u+v[6]*y+v[10]*f+v[14]*P,m[3]=v[3]*u+v[7]*y+v[11]*f+v[15]*P,m}function M(m,b){m[0][0]=b[0],m[0][1]=b[1],m[0][2]=b[2],m[1][0]=b[4],m[1][1]=b[5],m[1][2]=b[6],m[2][0]=b[8],m[2][1]=b[9],m[2][2]=b[10]}function E(m,b,v,u,y){m[0]=b[0]*u+v[0]*y,m[1]=b[1]*u+v[1]*y,m[2]=b[2]*u+v[2]*y}},4335:function(e){e.exports=function(r,o){var n=o[15];if(n===0)return!1;for(var i=1/n,a=0;a<16;a++)r[a]=o[a]*i;return!0}},7442:function(e,t,r){var o=r(6658),n=r(7182),i=r(2652),a=r(9921),s=r(8648),c=T(),h=T(),p=T();e.exports=d;function d(w,M,E,m){if(a(M)===0||a(E)===0)return!1;var b=i(M,c.translate,c.scale,c.skew,c.perspective,c.quaternion),v=i(E,h.translate,h.scale,h.skew,h.perspective,h.quaternion);return!b||!v?!1:(o(p.translate,c.translate,h.translate,m),o(p.skew,c.skew,h.skew,m),o(p.scale,c.scale,h.scale,m),o(p.perspective,c.perspective,h.perspective,m),s(p.quaternion,c.quaternion,h.quaternion,m),n(w,p.translate,p.scale,p.skew,p.perspective,p.quaternion),!0)}function T(){return{translate:l(),scale:l(1),skew:l(),perspective:_(),quaternion:_()}}function l(w){return[w||0,w||0,w||0]}function _(){return[0,0,0,1]}},7182:function(e,t,r){var o={identity:r(7894),translate:r(7656),multiply:r(6760),create:r(6864),scale:r(2504),fromRotationTranslation:r(6743)},n=o.create(),i=o.create();e.exports=function(s,c,h,p,d,T){return o.identity(s),o.fromRotationTranslation(s,T,c),s[3]=d[0],s[7]=d[1],s[11]=d[2],s[15]=d[3],o.identity(i),p[2]!==0&&(i[9]=p[2],o.multiply(s,s,i)),p[1]!==0&&(i[9]=0,i[8]=p[1],o.multiply(s,s,i)),p[0]!==0&&(i[8]=0,i[4]=p[0],o.multiply(s,s,i)),o.scale(s,s,h),s}},1811:function(e,t,r){"use strict";var o=r(2478),n=r(7442),i=r(7608),a=r(5567),s=r(2408),c=r(7089),h=r(6582),p=r(7656),d=r(2504),T=r(3536),l=[0,0,0];e.exports=E;function _(m){this._components=m.slice(),this._time=[0],this.prevMatrix=m.slice(),this.nextMatrix=m.slice(),this.computedMatrix=m.slice(),this.computedInverse=m.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var w=_.prototype;w.recalcMatrix=function(m){var b=this._time,v=o.le(b,m),u=this.computedMatrix;if(!(v<0)){var y=this._components;if(v===b.length-1)for(var f=16*v,P=0;P<16;++P)u[P]=y[f++];else{for(var L=b[v+1]-b[v],f=16*v,z=this.prevMatrix,F=!0,P=0;P<16;++P)z[P]=y[f++];for(var B=this.nextMatrix,P=0;P<16;++P)B[P]=y[f++],F=F&&z[P]===B[P];if(L<1e-6||F)for(var P=0;P<16;++P)u[P]=z[P];else n(u,z,B,(m-b[v])/L)}var O=this.computedUp;O[0]=u[1],O[1]=u[5],O[2]=u[9],T(O,O);var I=this.computedInverse;i(I,u);var N=this.computedEye,U=I[15];N[0]=I[12]/U,N[1]=I[13]/U,N[2]=I[14]/U;for(var W=this.computedCenter,Q=Math.exp(this.computedRadius[0]),P=0;P<3;++P)W[P]=N[P]-u[2+4*P]*Q}},w.idle=function(m){if(!(m1&&o(i[h[l-2]],i[h[l-1]],T)<=0;)l-=1,h.pop();for(h.push(d),l=p.length;l>1&&o(i[p[l-2]],i[p[l-1]],T)>=0;)l-=1,p.pop();p.push(d)}for(var _=new Array(p.length+h.length-2),w=0,s=0,M=h.length;s0;--E)_[w++]=p[E];return _}},351:function(e,t,r){"use strict";e.exports=n;var o=r(4687);function n(i,a){a||(a=i,i=window);var s=0,c=0,h=0,p={shift:!1,alt:!1,control:!1,meta:!1},d=!1;function T(f){var P=!1;return"altKey"in f&&(P=P||f.altKey!==p.alt,p.alt=!!f.altKey),"shiftKey"in f&&(P=P||f.shiftKey!==p.shift,p.shift=!!f.shiftKey),"ctrlKey"in f&&(P=P||f.ctrlKey!==p.control,p.control=!!f.ctrlKey),"metaKey"in f&&(P=P||f.metaKey!==p.meta,p.meta=!!f.metaKey),P}function l(f,P){var L=o.x(P),z=o.y(P);"buttons"in P&&(f=P.buttons|0),(f!==s||L!==c||z!==h||T(P))&&(s=f|0,c=L||0,h=z||0,a&&a(s,c,h,p))}function _(f){l(0,f)}function w(){(s||c||h||p.shift||p.alt||p.meta||p.control)&&(c=h=0,s=0,p.shift=p.alt=p.control=p.meta=!1,a&&a(0,0,0,p))}function M(f){T(f)&&a&&a(s,c,h,p)}function E(f){o.buttons(f)===0?l(0,f):l(s,f)}function m(f){l(s|o.buttons(f),f)}function b(f){l(s&~o.buttons(f),f)}function v(){d||(d=!0,i.addEventListener("mousemove",E),i.addEventListener("mousedown",m),i.addEventListener("mouseup",b),i.addEventListener("mouseleave",_),i.addEventListener("mouseenter",_),i.addEventListener("mouseout",_),i.addEventListener("mouseover",_),i.addEventListener("blur",w),i.addEventListener("keyup",M),i.addEventListener("keydown",M),i.addEventListener("keypress",M),i!==window&&(window.addEventListener("blur",w),window.addEventListener("keyup",M),window.addEventListener("keydown",M),window.addEventListener("keypress",M)))}function u(){d&&(d=!1,i.removeEventListener("mousemove",E),i.removeEventListener("mousedown",m),i.removeEventListener("mouseup",b),i.removeEventListener("mouseleave",_),i.removeEventListener("mouseenter",_),i.removeEventListener("mouseout",_),i.removeEventListener("mouseover",_),i.removeEventListener("blur",w),i.removeEventListener("keyup",M),i.removeEventListener("keydown",M),i.removeEventListener("keypress",M),i!==window&&(window.removeEventListener("blur",w),window.removeEventListener("keyup",M),window.removeEventListener("keydown",M),window.removeEventListener("keypress",M)))}v();var y={element:i};return Object.defineProperties(y,{enabled:{get:function(){return d},set:function(f){f?v():u()},enumerable:!0},buttons:{get:function(){return s},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return p},enumerable:!0}}),y}},24:function(e){var t={left:0,top:0};e.exports=r;function r(n,i,a){i=i||n.currentTarget||n.srcElement,Array.isArray(a)||(a=[0,0]);var s=n.clientX||0,c=n.clientY||0,h=o(i);return a[0]=s-h.left,a[1]=c-h.top,a}function o(n){return n===window||n===document||n===document.body?t:n.getBoundingClientRect()}},4687:function(e,t){"use strict";function r(a){if(typeof a=="object"){if("buttons"in a)return a.buttons;if("which"in a){var s=a.which;if(s===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1<0){if(le=1,G[J++]=p(v[P],w,M,E),P+=U,m>0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,Q=2;Q0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,O,N,ce,Ue,w,M,E)),J+=1,P+=U,Q=2;Q0){if(Q=1,G[J++]=p(v[P],w,M,E),P+=U,b>0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,le=2;le0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,N,F,Ue,ce,w,M,E)),J+=1,P+=U,le=2;le 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var T=s.getters||[],l=new Array(p),_=0;_=0?l[_]=!0:l[_]=!1;return i(s.vertex,s.cell,s.phase,d,h,l)}},6199:function(e,t,r){"use strict";var o=r(1338),n={zero:function(E,m,b,v){var u=E[0],y=b[0];v|=0;var f=0,P=y;for(f=0;f2&&f[1]>2&&v(y.pick(-1,-1).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,0).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,1).lo(1,1).hi(f[0]-2,f[1]-2)),f[1]>2&&(b(y.pick(0,-1).lo(1).hi(f[1]-2),u.pick(0,-1,1).lo(1).hi(f[1]-2)),m(u.pick(0,-1,0).lo(1).hi(f[1]-2))),f[1]>2&&(b(y.pick(f[0]-1,-1).lo(1).hi(f[1]-2),u.pick(f[0]-1,-1,1).lo(1).hi(f[1]-2)),m(u.pick(f[0]-1,-1,0).lo(1).hi(f[1]-2))),f[0]>2&&(b(y.pick(-1,0).lo(1).hi(f[0]-2),u.pick(-1,0,0).lo(1).hi(f[0]-2)),m(u.pick(-1,0,1).lo(1).hi(f[0]-2))),f[0]>2&&(b(y.pick(-1,f[1]-1).lo(1).hi(f[0]-2),u.pick(-1,f[1]-1,0).lo(1).hi(f[0]-2)),m(u.pick(-1,f[1]-1,1).lo(1).hi(f[0]-2))),u.set(0,0,0,0),u.set(0,0,1,0),u.set(f[0]-1,0,0,0),u.set(f[0]-1,0,1,0),u.set(0,f[1]-1,0,0),u.set(0,f[1]-1,1,0),u.set(f[0]-1,f[1]-1,0,0),u.set(f[0]-1,f[1]-1,1,0),u}}function M(E){var m=E.join(),f=p[m];if(f)return f;for(var b=E.length,v=[T,l],u=1;u<=b;++u)v.push(_(u));var y=w,f=y.apply(void 0,v);return p[m]=f,f}e.exports=function(m,b,v){if(Array.isArray(v)||(typeof v=="string"?v=o(b.dimension,v):v=o(b.dimension,"clamp")),b.size===0)return m;if(b.dimension===0)return m.set(0),m;var u=M(v);return u(m,b)}},4317:function(e){"use strict";function t(a,s){var c=Math.floor(s),h=s-c,p=0<=c&&c0;){O<64?(m=O,O=0):(m=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(b=I,I=0):(b=64,I-=64),l=F+O*u+I*y,M=B+O*P+I*L;var N=0,U=0,W=0,Q=f,le=u-v*f,se=y-m*u,fe=z,G=P-v*z,$=L-m*P;for(W=0;W0;){L<64?(m=L,L=0):(m=64,L-=64);for(var z=p[0]|0;z>0;){z<64?(E=z,z=0):(E=64,z-=64),l=f+L*v+z*b,M=P+L*y+z*u;var F=0,B=0,O=v,I=b-m*v,N=y,U=u-m*y;for(B=0;B0;){B<64?(b=B,B=0):(b=64,B-=64);for(var O=p[0]|0;O>0;){O<64?(E=O,O=0):(E=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(m=I,I=0):(m=64,I-=64),l=z+B*y+O*v+I*u,M=F+B*L+O*f+I*P;var N=0,U=0,W=0,Q=y,le=v-b*y,se=u-E*v,fe=L,G=f-b*L,$=P-E*f;for(W=0;W_;){N=0,U=F-m;t:for(O=0;OQ)break t;U+=f,N+=P}for(N=F,U=F-m,O=0;O>1,I=O-z,N=O+z,U=F,W=I,Q=O,le=N,se=B,fe=w+1,G=M-1,$=!0,J,X,re,ae,j,ee,ie,ce,xe,Te=0,Ue=0,Ie=0,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt,qt,fr=y,ar=T(fr),Rr=T(fr);it=b*U,at=b*W,qt=m;e:for(Ye=0;Ye0){X=U,U=W,W=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=U,U=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*le,qt=m;e:for(Ye=0;Ye0){X=U,U=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*Q,at=b*le,qt=m;e:for(Ye=0;Ye0){X=Q,Q=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*se,qt=m;e:for(Ye=0;Ye0){X=W,W=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}for(it=b*U,at=b*W,tt=b*Q,ut=b*le,Me=b*se,pe=b*F,ue=b*O,Oe=b*B,Bt=0,qt=m,Ye=0;Ye0)G--;else if(Ie<0){for(it=b*ee,at=b*fe,tt=b*G,qt=m,Ye=0;Ye0)for(;;){ie=m+G*b,Bt=0;e:for(Ye=0;Ye0){if(--GB){e:for(;;){for(ie=m+fe*b,Bt=0,qt=m,Ye=0;Ye1&&_?M(l,_[0],_[1]):M(l)}var h={"uint32,1,0":function(d,T){return function(l){var _=l.data,w=l.offset|0,M=l.shape,E=l.stride,m=E[0]|0,b=M[0]|0,v=E[1]|0,u=M[1]|0,y=v,f=v,P=1;b<=32?d(0,b-1,_,w,m,v,b,u,y,f,P):T(0,b-1,_,w,m,v,b,u,y,f,P)}}};function p(d,T){var l=[T,d].join(","),_=h[l],w=a(d,T),M=c(d,T,w);return _(w,M)}e.exports=p},446:function(e,t,r){"use strict";var o=r(7640),n={};function i(a){var s=a.order,c=a.dtype,h=[s,c],p=h.join(":"),d=n[p];return d||(n[p]=d=o(s,c)),d(a),a}e.exports=i},9618:function(e,t,r){var o=r(7163),n=typeof Float64Array<"u";function i(T,l){return T[0]-l[0]}function a(){var T=this.stride,l=new Array(T.length),_;for(_=0;_=0&&(v=m|0,b+=y*v,u-=v),new w(this.data,u,y,b)},M.step=function(m){var b=this.shape[0],v=this.stride[0],u=this.offset,y=0,f=Math.ceil;return typeof m=="number"&&(y=m|0,y<0?(u+=v*(b-1),b=f(-b/y)):b=f(b/y),v*=y),new w(this.data,b,v,u)},M.transpose=function(m){m=m===void 0?0:m|0;var b=this.shape,v=this.stride;return new w(this.data,b[m],v[m],this.offset)},M.pick=function(m){var b=[],v=[],u=this.offset;typeof m=="number"&&m>=0?u=u+this.stride[0]*m|0:(b.push(this.shape[0]),v.push(this.stride[0]));var y=l[b.length+1];return y(this.data,b,v,u)},function(m,b,v,u){return new w(m,b[0],v[0],u)}},2:function(T,l,_){function w(E,m,b,v,u,y){this.data=E,this.shape=[m,b],this.stride=[v,u],this.offset=y|0}var M=w.prototype;return M.dtype=T,M.dimension=2,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(M,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),M.set=function(m,b,v){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b,v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]=v},M.get=function(m,b){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]},M.index=function(m,b){return this.offset+this.stride[0]*m+this.stride[1]*b},M.hi=function(m,b){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,this.stride[0],this.stride[1],this.offset)},M.lo=function(m,b){var v=this.offset,u=0,y=this.shape[0],f=this.shape[1],P=this.stride[0],L=this.stride[1];return typeof m=="number"&&m>=0&&(u=m|0,v+=P*u,y-=u),typeof b=="number"&&b>=0&&(u=b|0,v+=L*u,f-=u),new w(this.data,y,f,P,L,v)},M.step=function(m,b){var v=this.shape[0],u=this.shape[1],y=this.stride[0],f=this.stride[1],P=this.offset,L=0,z=Math.ceil;return typeof m=="number"&&(L=m|0,L<0?(P+=y*(v-1),v=z(-v/L)):v=z(v/L),y*=L),typeof b=="number"&&(L=b|0,L<0?(P+=f*(u-1),u=z(-u/L)):u=z(u/L),f*=L),new w(this.data,v,u,y,f,P)},M.transpose=function(m,b){m=m===void 0?0:m|0,b=b===void 0?1:b|0;var v=this.shape,u=this.stride;return new w(this.data,v[m],v[b],u[m],u[b],this.offset)},M.pick=function(m,b){var v=[],u=[],y=this.offset;typeof m=="number"&&m>=0?y=y+this.stride[0]*m|0:(v.push(this.shape[0]),u.push(this.stride[0])),typeof b=="number"&&b>=0?y=y+this.stride[1]*b|0:(v.push(this.shape[1]),u.push(this.stride[1]));var f=l[v.length+1];return f(this.data,v,u,y)},function(m,b,v,u){return new w(m,b[0],b[1],v[0],v[1],u)}},3:function(T,l,_){function w(E,m,b,v,u,y,f,P){this.data=E,this.shape=[m,b,v],this.stride=[u,y,f],this.offset=P|0}var M=w.prototype;return M.dtype=T,M.dimension=3,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(M,"order",{get:function(){var m=Math.abs(this.stride[0]),b=Math.abs(this.stride[1]),v=Math.abs(this.stride[2]);return m>b?b>v?[2,1,0]:m>v?[1,2,0]:[1,0,2]:m>v?[2,0,1]:v>b?[0,1,2]:[0,2,1]}}),M.set=function(m,b,v,u){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v,u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]=u},M.get=function(m,b,v){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]},M.index=function(m,b,v){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v},M.hi=function(m,b,v){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,typeof v!="number"||v<0?this.shape[2]:v|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},M.lo=function(m,b,v){var u=this.offset,y=0,f=this.shape[0],P=this.shape[1],L=this.shape[2],z=this.stride[0],F=this.stride[1],B=this.stride[2];return typeof m=="number"&&m>=0&&(y=m|0,u+=z*y,f-=y),typeof b=="number"&&b>=0&&(y=b|0,u+=F*y,P-=y),typeof v=="number"&&v>=0&&(y=v|0,u+=B*y,L-=y),new w(this.data,f,P,L,z,F,B,u)},M.step=function(m,b,v){var u=this.shape[0],y=this.shape[1],f=this.shape[2],P=this.stride[0],L=this.stride[1],z=this.stride[2],F=this.offset,B=0,O=Math.ceil;return typeof m=="number"&&(B=m|0,B<0?(F+=P*(u-1),u=O(-u/B)):u=O(u/B),P*=B),typeof b=="number"&&(B=b|0,B<0?(F+=L*(y-1),y=O(-y/B)):y=O(y/B),L*=B),typeof v=="number"&&(B=v|0,B<0?(F+=z*(f-1),f=O(-f/B)):f=O(f/B),z*=B),new w(this.data,u,y,f,P,L,z,F)},M.transpose=function(m,b,v){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0;var u=this.shape,y=this.stride;return new w(this.data,u[m],u[b],u[v],y[m],y[b],y[v],this.offset)},M.pick=function(m,b,v){var u=[],y=[],f=this.offset;typeof m=="number"&&m>=0?f=f+this.stride[0]*m|0:(u.push(this.shape[0]),y.push(this.stride[0])),typeof b=="number"&&b>=0?f=f+this.stride[1]*b|0:(u.push(this.shape[1]),y.push(this.stride[1])),typeof v=="number"&&v>=0?f=f+this.stride[2]*v|0:(u.push(this.shape[2]),y.push(this.stride[2]));var P=l[u.length+1];return P(this.data,u,y,f)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],v[0],v[1],v[2],u)}},4:function(T,l,_){function w(E,m,b,v,u,y,f,P,L,z){this.data=E,this.shape=[m,b,v,u],this.stride=[y,f,P,L],this.offset=z|0}var M=w.prototype;return M.dtype=T,M.dimension=4,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(M,"order",{get:_}),M.set=function(m,b,v,u,y){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u,y):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]=y},M.get=function(m,b,v,u){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]},M.index=function(m,b,v,u){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u},M.hi=function(m,b,v,u){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,typeof v!="number"||v<0?this.shape[2]:v|0,typeof u!="number"||u<0?this.shape[3]:u|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},M.lo=function(m,b,v,u){var y=this.offset,f=0,P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.stride[0],O=this.stride[1],I=this.stride[2],N=this.stride[3];return typeof m=="number"&&m>=0&&(f=m|0,y+=B*f,P-=f),typeof b=="number"&&b>=0&&(f=b|0,y+=O*f,L-=f),typeof v=="number"&&v>=0&&(f=v|0,y+=I*f,z-=f),typeof u=="number"&&u>=0&&(f=u|0,y+=N*f,F-=f),new w(this.data,P,L,z,F,B,O,I,N,y)},M.step=function(m,b,v,u){var y=this.shape[0],f=this.shape[1],P=this.shape[2],L=this.shape[3],z=this.stride[0],F=this.stride[1],B=this.stride[2],O=this.stride[3],I=this.offset,N=0,U=Math.ceil;return typeof m=="number"&&(N=m|0,N<0?(I+=z*(y-1),y=U(-y/N)):y=U(y/N),z*=N),typeof b=="number"&&(N=b|0,N<0?(I+=F*(f-1),f=U(-f/N)):f=U(f/N),F*=N),typeof v=="number"&&(N=v|0,N<0?(I+=B*(P-1),P=U(-P/N)):P=U(P/N),B*=N),typeof u=="number"&&(N=u|0,N<0?(I+=O*(L-1),L=U(-L/N)):L=U(L/N),O*=N),new w(this.data,y,f,P,L,z,F,B,O,I)},M.transpose=function(m,b,v,u){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0,u=u===void 0?3:u|0;var y=this.shape,f=this.stride;return new w(this.data,y[m],y[b],y[v],y[u],f[m],f[b],f[v],f[u],this.offset)},M.pick=function(m,b,v,u){var y=[],f=[],P=this.offset;typeof m=="number"&&m>=0?P=P+this.stride[0]*m|0:(y.push(this.shape[0]),f.push(this.stride[0])),typeof b=="number"&&b>=0?P=P+this.stride[1]*b|0:(y.push(this.shape[1]),f.push(this.stride[1])),typeof v=="number"&&v>=0?P=P+this.stride[2]*v|0:(y.push(this.shape[2]),f.push(this.stride[2])),typeof u=="number"&&u>=0?P=P+this.stride[3]*u|0:(y.push(this.shape[3]),f.push(this.stride[3]));var L=l[y.length+1];return L(this.data,y,f,P)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],b[3],v[0],v[1],v[2],v[3],u)}},5:function(l,_,w){function M(m,b,v,u,y,f,P,L,z,F,B,O){this.data=m,this.shape=[b,v,u,y,f],this.stride=[P,L,z,F,B],this.offset=O|0}var E=M.prototype;return E.dtype=l,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(b,v,u,y,f,P){return l==="generic"?this.data.set(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f,P):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]=P},E.get=function(b,v,u,y,f){return l==="generic"?this.data.get(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]},E.index=function(b,v,u,y,f){return this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f},E.hi=function(b,v,u,y,f){return new M(this.data,typeof b!="number"||b<0?this.shape[0]:b|0,typeof v!="number"||v<0?this.shape[1]:v|0,typeof u!="number"||u<0?this.shape[2]:u|0,typeof y!="number"||y<0?this.shape[3]:y|0,typeof f!="number"||f<0?this.shape[4]:f|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(b,v,u,y,f){var P=this.offset,L=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],O=this.shape[3],I=this.shape[4],N=this.stride[0],U=this.stride[1],W=this.stride[2],Q=this.stride[3],le=this.stride[4];return typeof b=="number"&&b>=0&&(L=b|0,P+=N*L,z-=L),typeof v=="number"&&v>=0&&(L=v|0,P+=U*L,F-=L),typeof u=="number"&&u>=0&&(L=u|0,P+=W*L,B-=L),typeof y=="number"&&y>=0&&(L=y|0,P+=Q*L,O-=L),typeof f=="number"&&f>=0&&(L=f|0,P+=le*L,I-=L),new M(this.data,z,F,B,O,I,N,U,W,Q,le,P)},E.step=function(b,v,u,y,f){var P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],O=this.stride[0],I=this.stride[1],N=this.stride[2],U=this.stride[3],W=this.stride[4],Q=this.offset,le=0,se=Math.ceil;return typeof b=="number"&&(le=b|0,le<0?(Q+=O*(P-1),P=se(-P/le)):P=se(P/le),O*=le),typeof v=="number"&&(le=v|0,le<0?(Q+=I*(L-1),L=se(-L/le)):L=se(L/le),I*=le),typeof u=="number"&&(le=u|0,le<0?(Q+=N*(z-1),z=se(-z/le)):z=se(z/le),N*=le),typeof y=="number"&&(le=y|0,le<0?(Q+=U*(F-1),F=se(-F/le)):F=se(F/le),U*=le),typeof f=="number"&&(le=f|0,le<0?(Q+=W*(B-1),B=se(-B/le)):B=se(B/le),W*=le),new M(this.data,P,L,z,F,B,O,I,N,U,W,Q)},E.transpose=function(b,v,u,y,f){b=b===void 0?0:b|0,v=v===void 0?1:v|0,u=u===void 0?2:u|0,y=y===void 0?3:y|0,f=f===void 0?4:f|0;var P=this.shape,L=this.stride;return new M(this.data,P[b],P[v],P[u],P[y],P[f],L[b],L[v],L[u],L[y],L[f],this.offset)},E.pick=function(b,v,u,y,f){var P=[],L=[],z=this.offset;typeof b=="number"&&b>=0?z=z+this.stride[0]*b|0:(P.push(this.shape[0]),L.push(this.stride[0])),typeof v=="number"&&v>=0?z=z+this.stride[1]*v|0:(P.push(this.shape[1]),L.push(this.stride[1])),typeof u=="number"&&u>=0?z=z+this.stride[2]*u|0:(P.push(this.shape[2]),L.push(this.stride[2])),typeof y=="number"&&y>=0?z=z+this.stride[3]*y|0:(P.push(this.shape[3]),L.push(this.stride[3])),typeof f=="number"&&f>=0?z=z+this.stride[4]*f|0:(P.push(this.shape[4]),L.push(this.stride[4]));var F=_[P.length+1];return F(this.data,P,L,z)},function(b,v,u,y){return new M(b,v[0],v[1],v[2],v[3],v[4],u[0],u[1],u[2],u[3],u[4],y)}}};function c(T,l){var _=l===-1?"T":String(l),w=s[_];return l===-1?w(T):l===0?w(T,p[T][0]):w(T,p[T],a)}function h(T){if(o(T))return"buffer";if(n)switch(Object.prototype.toString.call(T)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(T)?"array":"generic"}var p={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function d(T,l,_,w){if(T===void 0){var u=p.array[0];return u([])}else typeof T=="number"&&(T=[T]);l===void 0&&(l=[T.length]);var M=l.length;if(_===void 0){_=new Array(M);for(var E=M-1,m=1;E>=0;--E)_[E]=m,m*=l[E]}if(w===void 0){w=0;for(var E=0;E>>0;e.exports=a;function a(s,c){if(isNaN(s)||isNaN(c))return NaN;if(s===c)return s;if(s===0)return c<0?-n:n;var h=o.hi(s),p=o.lo(s);return c>s==s>0?p===i?(h+=1,p=0):p+=1:p===0?(p=i,h-=1):p-=1,o.pack(p,h)}},8406:function(e,t){var r=1e-6,o=1e-6;t.vertexNormals=function(n,i,a){for(var s=i.length,c=new Array(s),h=a===void 0?r:a,p=0;ph)for(var P=c[l],L=1/Math.sqrt(v*y),f=0;f<3;++f){var z=(f+1)%3,F=(f+2)%3;P[f]+=L*(u[z]*b[F]-u[F]*b[z])}}for(var p=0;ph)for(var L=1/Math.sqrt(B),f=0;f<3;++f)P[f]*=L;else for(var f=0;f<3;++f)P[f]=0}return c},t.faceNormals=function(n,i,a){for(var s=n.length,c=new Array(s),h=a===void 0?o:a,p=0;ph?E=1/Math.sqrt(E):E=0;for(var l=0;l<3;++l)M[l]*=E;c[p]=M}return c}},4081:function(e){"use strict";e.exports=t;function t(r,o,n,i,a,s,c,h,p,d){var T=o+s+d;if(l>0){var l=Math.sqrt(T+1);r[0]=.5*(c-p)/l,r[1]=.5*(h-i)/l,r[2]=.5*(n-s)/l,r[3]=.5*l}else{var _=Math.max(o,s,d),l=Math.sqrt(2*_-T+1);o>=_?(r[0]=.5*l,r[1]=.5*(a+n)/l,r[2]=.5*(h+i)/l,r[3]=.5*(c-p)/l):s>=_?(r[0]=.5*(n+a)/l,r[1]=.5*l,r[2]=.5*(p+c)/l,r[3]=.5*(h-i)/l):(r[0]=.5*(i+h)/l,r[1]=.5*(c+p)/l,r[2]=.5*l,r[3]=.5*(n-a)/l)}return r}},9977:function(e,t,r){"use strict";e.exports=l;var o=r(9215),n=r(6582),i=r(7399),a=r(7608),s=r(4081);function c(_,w,M){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2))}function h(_,w,M,E){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2)+Math.pow(E,2))}function p(_,w){var M=w[0],E=w[1],m=w[2],b=w[3],v=h(M,E,m,b);v>1e-6?(_[0]=M/v,_[1]=E/v,_[2]=m/v,_[3]=b/v):(_[0]=_[1]=_[2]=0,_[3]=1)}function d(_,w,M){this.radius=o([M]),this.center=o(w),this.rotation=o(_),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var T=d.prototype;T.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},T.recalcMatrix=function(_){this.radius.curve(_),this.center.curve(_),this.rotation.curve(_);var w=this.computedRotation;p(w,w);var M=this.computedMatrix;i(M,w);var E=this.computedCenter,m=this.computedEye,b=this.computedUp,v=Math.exp(this.computedRadius[0]);m[0]=E[0]+v*M[2],m[1]=E[1]+v*M[6],m[2]=E[2]+v*M[10],b[0]=M[1],b[1]=M[5],b[2]=M[9];for(var u=0;u<3;++u){for(var y=0,f=0;f<3;++f)y+=M[u+4*f]*m[f];M[12+u]=-y}},T.getMatrix=function(_,w){this.recalcMatrix(_);var M=this.computedMatrix;if(w){for(var E=0;E<16;++E)w[E]=M[E];return w}return M},T.idle=function(_){this.center.idle(_),this.radius.idle(_),this.rotation.idle(_)},T.flush=function(_){this.center.flush(_),this.radius.flush(_),this.rotation.flush(_)},T.pan=function(_,w,M,E){w=w||0,M=M||0,E=E||0,this.recalcMatrix(_);var m=this.computedMatrix,b=m[1],v=m[5],u=m[9],y=c(b,v,u);b/=y,v/=y,u/=y;var f=m[0],P=m[4],L=m[8],z=f*b+P*v+L*u;f-=b*z,P-=v*z,L-=u*z;var F=c(f,P,L);f/=F,P/=F,L/=F;var B=m[2],O=m[6],I=m[10],N=B*b+O*v+I*u,U=B*f+O*P+I*L;B-=N*b+U*f,O-=N*v+U*P,I-=N*u+U*L;var W=c(B,O,I);B/=W,O/=W,I/=W;var Q=f*w+b*M,le=P*w+v*M,se=L*w+u*M;this.center.move(_,Q,le,se);var fe=Math.exp(this.computedRadius[0]);fe=Math.max(1e-4,fe+E),this.radius.set(_,Math.log(fe))},T.rotate=function(_,w,M,E){this.recalcMatrix(_),w=w||0,M=M||0;var m=this.computedMatrix,b=m[0],v=m[4],u=m[8],y=m[1],f=m[5],P=m[9],L=m[2],z=m[6],F=m[10],B=w*b+M*y,O=w*v+M*f,I=w*u+M*P,N=-(z*I-F*O),U=-(F*B-L*I),W=-(L*O-z*B),Q=Math.sqrt(Math.max(0,1-Math.pow(N,2)-Math.pow(U,2)-Math.pow(W,2))),le=h(N,U,W,Q);le>1e-6?(N/=le,U/=le,W/=le,Q/=le):(N=U=W=0,Q=1);var se=this.computedRotation,fe=se[0],G=se[1],$=se[2],J=se[3],X=fe*Q+J*N+G*W-$*U,re=G*Q+J*U+$*N-fe*W,ae=$*Q+J*W+fe*U-G*N,j=J*Q-fe*N-G*U-$*W;if(E){N=L,U=z,W=F;var ee=Math.sin(E)/c(N,U,W);N*=ee,U*=ee,W*=ee,Q=Math.cos(w),X=X*Q+j*N+re*W-ae*U,re=re*Q+j*U+ae*N-X*W,ae=ae*Q+j*W+X*U-re*N,j=j*Q-X*N-re*U-ae*W}var ie=h(X,re,ae,j);ie>1e-6?(X/=ie,re/=ie,ae/=ie,j/=ie):(X=re=ae=0,j=1),this.rotation.set(_,X,re,ae,j)},T.lookAt=function(_,w,M,E){this.recalcMatrix(_),M=M||this.computedCenter,w=w||this.computedEye,E=E||this.computedUp;var m=this.computedMatrix;n(m,w,M,E);var b=this.computedRotation;s(b,m[0],m[1],m[2],m[4],m[5],m[6],m[8],m[9],m[10]),p(b,b),this.rotation.set(_,b[0],b[1],b[2],b[3]);for(var v=0,u=0;u<3;++u)v+=Math.pow(M[u]-w[u],2);this.radius.set(_,.5*Math.log(Math.max(v,1e-6))),this.center.set(_,M[0],M[1],M[2])},T.translate=function(_,w,M,E){this.center.move(_,w||0,M||0,E||0)},T.setMatrix=function(_,w){var M=this.computedRotation;s(M,w[0],w[1],w[2],w[4],w[5],w[6],w[8],w[9],w[10]),p(M,M),this.rotation.set(_,M[0],M[1],M[2],M[3]);var E=this.computedMatrix;a(E,w);var m=E[15];if(Math.abs(m)>1e-6){var b=E[12]/m,v=E[13]/m,u=E[14]/m;this.recalcMatrix(_);var y=Math.exp(this.computedRadius[0]);this.center.set(_,b-E[2]*y,v-E[6]*y,u-E[10]*y),this.radius.idle(_)}else this.center.idle(_),this.radius.idle(_)},T.setDistance=function(_,w){w>0&&this.radius.set(_,Math.log(w))},T.setDistanceLimits=function(_,w){_>0?_=Math.log(_):_=-1/0,w>0?w=Math.log(w):w=1/0,w=Math.max(w,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=w},T.getDistanceLimits=function(_){var w=this.radius.bounds;return _?(_[0]=Math.exp(w[0][0]),_[1]=Math.exp(w[1][0]),_):[Math.exp(w[0][0]),Math.exp(w[1][0])]},T.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},T.fromJSON=function(_){var w=this.lastT(),M=_.center;M&&this.center.set(w,M[0],M[1],M[2]);var E=_.rotation;E&&this.rotation.set(w,E[0],E[1],E[2],E[3]);var m=_.distance;m&&m>0&&this.radius.set(w,Math.log(m)),this.setDistanceLimits(_.zoomMin,_.zoomMax)};function l(_){_=_||{};var w=_.center||[0,0,0],M=_.rotation||[0,0,0,1],E=_.radius||1;w=[].slice.call(w,0,3),M=[].slice.call(M,0,4),p(M,M);var m=new d(M,w,Math.log(E));return m.setDistanceLimits(_.zoomMin,_.zoomMax),("eye"in _||"up"in _)&&m.lookAt(0,_.eye,_.center,_.up),m}},1371:function(e,t,r){"use strict";var o=r(3233);e.exports=function(i,a,s){return s=typeof s<"u"?s+"":" ",o(s,a)+i}},3202:function(e){e.exports=function(r,o){o||(o=[0,""]),r=String(r);var n=parseFloat(r,10);return o[0]=n,o[1]=r.match(/[\d.\-\+]*\s*(.*)/)[1]||"",o}},3088:function(e,t,r){"use strict";e.exports=n;var o=r(3140);function n(i,a){for(var s=a.length|0,c=i.length,h=[new Array(s),new Array(s)],p=0;p0){P=h[F][y][0],z=F;break}L=P[z^1];for(var B=0;B<2;++B)for(var O=h[B][y],I=0;I0&&(P=N,L=U,z=B)}return f||P&&l(P,z),L}function w(u,y){var f=h[y][u][0],P=[u];l(f,y);for(var L=f[y^1],z=y;;){for(;L!==u;)P.push(L),L=_(P[P.length-2],L,!1);if(h[0][u].length+h[1][u].length===0)break;var F=P[P.length-1],B=u,O=P[1],I=_(F,B,!0);if(o(a[F],a[B],a[O],a[I])<0)break;P.push(u),L=_(F,B)}return P}function M(u,y){return y[1]===y[y.length-1]}for(var p=0;p0;){var b=h[0][p].length,v=w(p,E);M(m,v)?m.push.apply(m,v):(m.length>0&&T.push(m),m=v)}m.length>0&&T.push(m)}return T}},5609:function(e,t,r){"use strict";e.exports=n;var o=r(3134);function n(i,a){for(var s=o(i,a.length),c=new Array(a.length),h=new Array(a.length),p=[],d=0;d0;){var l=p.pop();c[l]=!1;for(var _=s[l],d=0;d<_.length;++d){var w=_[d];--h[w]===0&&p.push(w)}}for(var M=new Array(a.length),E=[],d=0;d0}b=b.filter(v);for(var u=b.length,y=new Array(u),f=new Array(u),m=0;m0;){var ie=ae.pop(),ce=le[ie];c(ce,function(Ye,it){return Ye-it});var xe=ce.length,Te=j[ie],Ue;if(Te===0){var O=b[ie];Ue=[O]}for(var m=0;m=0)&&(j[Ie]=Te^1,ae.push(Ie),Te===0)){var O=b[Ie];re(O)||(O.reverse(),Ue.push(O))}}Te===0&&ee.push(Ue)}return ee}},5085:function(e,t,r){e.exports=_;var o=r(3250)[3],n=r(4209),i=r(3352),a=r(2478);function s(){return!0}function c(w){return function(M,E){var m=w[M];return m?!!m.queryPoint(E,s):!1}}function h(w){for(var M={},E=0;E0&&M[m]===E[0])b=w[m-1];else return 1;for(var v=1;b;){var u=b.key,y=o(E,u[0],u[1]);if(u[0][0]0)v=-1,b=b.right;else return 0;else if(y>0)b=b.left;else if(y<0)v=1,b=b.right;else return 0}return v}}function d(w){return 1}function T(w){return function(E){return w(E[0],E[1])?0:1}}function l(w,M){return function(m){return w(m[0],m[1])?0:M(m)}}function _(w){for(var M=w.length,E=[],m=[],b=0,v=0;v=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M)):(u=0,w>=0?(y=0,f=M):-w>=l?(y=1,f=l+2*w+M):(y=-w/l,f=w*y+M));else if(y<0)y=0,_>=0?(u=0,f=M):-_>=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M);else{var P=1/v;u*=P,y*=P,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M}else{var L,z,F,B;u<0?(L=T+_,z=l+w,z>L?(F=z-L,B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(u=0,z<=0?(y=1,f=l+2*w+M):w>=0?(y=0,f=M):(y=-w/l,f=w*y+M))):y<0?(L=T+w,z=d+_,z>L?(F=z-L,B=d-2*T+l,F>=B?(y=1,u=0,f=l+2*w+M):(y=F/B,u=1-y,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(y=0,z<=0?(u=1,f=d+2*_+M):_>=0?(u=0,f=M):(u=-_/d,f=_*u+M))):(F=l+w-T-_,F<=0?(u=0,y=1,f=l+2*w+M):(B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)))}for(var O=1-u-y,p=0;p0){var l=s[h-1];if(o(d,l)===0&&i(l)!==T){h-=1;continue}}s[h++]=d}}return s.length=h,s}},3233:function(e){"use strict";var t="",r;e.exports=o;function o(n,i){if(typeof n!="string")throw new TypeError("expected a string");if(i===1)return n;if(i===2)return n+n;var a=n.length*i;if(r!==n||typeof r>"u")r=n,t="";else if(t.length>=a)return t.substr(0,a);for(;a>t.length&&i>1;)i&1&&(t+=n),i>>=1,n+=n;return t+=n,t=t.substr(0,a),t}},3025:function(e,t,r){e.exports=r.g.performance&&r.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},7004:function(e){"use strict";e.exports=t;function t(r){for(var o=r.length,n=r[r.length-1],i=o,a=o-2;a>=0;--a){var s=n,c=r[a];n=s+c;var h=n-s,p=c-h;p&&(r[--i]=n,n=p)}for(var d=0,a=i;a0){if(z<=0)return F;B=L+z}else if(L<0){if(z>=0)return F;B=-(L+z)}else return F;var O=h*B;return F>=O||F<=-O?F:w(y,f,P)},function(y,f,P,L){var z=y[0]-L[0],F=f[0]-L[0],B=P[0]-L[0],O=y[1]-L[1],I=f[1]-L[1],N=P[1]-L[1],U=y[2]-L[2],W=f[2]-L[2],Q=P[2]-L[2],le=F*N,se=B*I,fe=B*O,G=z*N,$=z*I,J=F*O,X=U*(le-se)+W*(fe-G)+Q*($-J),re=(Math.abs(le)+Math.abs(se))*Math.abs(U)+(Math.abs(fe)+Math.abs(G))*Math.abs(W)+(Math.abs($)+Math.abs(J))*Math.abs(Q),ae=p*re;return X>ae||-X>ae?X:M(y,f,P,L)}];function m(u){var y=E[u.length];return y||(y=E[u.length]=_(u.length)),y.apply(void 0,u)}function b(u,y,f,P,L,z,F){return function(O,I,N,U,W){switch(arguments.length){case 0:case 1:return 0;case 2:return P(O,I);case 3:return L(O,I,N);case 4:return z(O,I,N,U);case 5:return F(O,I,N,U,W)}for(var Q=new Array(arguments.length),le=0;le0&&d>0||p<0&&d<0)return!1;var T=o(c,a,s),l=o(h,a,s);return T>0&&l>0||T<0&&l<0?!1:p===0&&d===0&&T===0&&l===0?n(a,s,c,h):!0}},8545:function(e){"use strict";e.exports=r;function t(o,n){var i=o+n,a=i-o,s=i-a,c=n-a,h=o-s,p=h+c;return p?[p,i]:[i]}function r(o,n){var i=o.length|0,a=n.length|0;if(i===1&&a===1)return t(o[0],-n[0]);var s=i+a,c=new Array(s),h=0,p=0,d=0,T=Math.abs,l=o[p],_=T(l),w=-n[d],M=T(w),E,m;_=a?(E=l,p+=1,p=a?(E=l,p+=1,p"u"&&(E=s(_));var m=_.length;if(m===0||E<1)return{cells:[],vertexIds:[],vertexWeights:[]};var b=c(w,+M),v=h(_,E),u=p(v,w,b,+M),y=d(v,w.length|0),f=a(E)(_,v.data,y,b),P=T(v),L=[].slice.call(u.data,0,u.shape[0]);return n.free(b),n.free(v.data),n.free(u.data),n.free(y),{cells:f,vertexIds:P,vertexWeights:L}}},1570:function(e){"use strict";e.exports=r;var t=[function(){function n(a,s,c,h){for(var p=Math.min(c,h)|0,d=Math.max(c,h)|0,T=a[2*p],l=a[2*p+1];T>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,B=h(y[F],f);B<=0?(B===0&&(z=F),P=F+1):B>0&&(L=F-1)}return z}o=l;function _(y,f){for(var P=new Array(y.length),L=0,z=P.length;L=y.length||h(y[le],F)!==0););}return P}o=_;function w(y,f){if(!f)return _(T(E(y,0)),y,0);for(var P=new Array(f),L=0;L>>N&1&&I.push(z[N]);f.push(I)}return d(f)}o=M;function E(y,f){if(f<0)return[];for(var P=[],L=(1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},2014:function(e,t,r){"use strict";"use restrict";var o=r(3105),n=r(4623);function i(u){for(var y=0,f=Math.max,P=0,L=u.length;P>1,F=c(u[z],y);F<=0?(F===0&&(L=z),f=z+1):F>0&&(P=z-1)}return L}t.findCell=T;function l(u,y){for(var f=new Array(u.length),P=0,L=f.length;P=u.length||c(u[Q],z)!==0););}return f}t.incidence=l;function _(u,y){if(!y)return l(d(M(u,0)),u,0);for(var f=new Array(y),P=0;P>>I&1&&O.push(L[I]);y.push(O)}return p(y)}t.explode=w;function M(u,y){if(y<0)return[];for(var f=[],P=(1<>1:(G>>1)-1}function P(G){for(var $=y(G);;){var J=$,X=2*G+1,re=2*(G+1),ae=G;if(X0;){var J=f(G);if(J>=0){var X=y(J);if($0){var G=O[0];return u(0,U-1),U-=1,P(0),G}return-1}function F(G,$){var J=O[G];return _[J]===$?G:(_[J]=-1/0,L(G),z(),_[J]=$,U+=1,L(U-1))}function B(G){if(!w[G]){w[G]=!0;var $=T[G],J=l[G];T[J]>=0&&(T[J]=$),l[$]>=0&&(l[$]=J),I[$]>=0&&F(I[$],v($)),I[J]>=0&&F(I[J],v(J))}}for(var O=[],I=new Array(p),M=0;M>1;M>=0;--M)P(M);for(;;){var W=z();if(W<0||_[W]>h)break;B(W)}for(var Q=[],M=0;M=0&&J>=0&&$!==J){var X=I[$],re=I[J];X!==re&&fe.push([X,re])}}),n.unique(n.normalize(fe)),{positions:Q,edges:fe}}},1303:function(e,t,r){"use strict";e.exports=i;var o=r(3250);function n(a,s){var c,h;if(s[0][0]s[1][0])c=s[1],h=s[0];else{var p=Math.min(a[0][1],a[1][1]),d=Math.max(a[0][1],a[1][1]),T=Math.min(s[0][1],s[1][1]),l=Math.max(s[0][1],s[1][1]);return dl?p-l:d-l}var _,w;a[0][1]s[1][0])c=s[1],h=s[0];else return n(s,a);var p,d;if(a[0][0]a[1][0])p=a[1],d=a[0];else return-n(a,s);var T=o(c,h,d),l=o(c,h,p);if(T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;if(T=o(d,p,h),l=o(d,p,c),T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;return h[0]-d[0]}},4209:function(e,t,r){"use strict";e.exports=l;var o=r(2478),n=r(3840),i=r(3250),a=r(1303);function s(_,w,M){this.slabs=_,this.coordinates=w,this.horizontal=M}var c=s.prototype;function h(_,w){return _.y-w}function p(_,w){for(var M=null;_;){var E=_.key,m,b;E[0][0]0)if(w[0]!==E[1][0])M=_,_=_.right;else{var u=p(_.right,w);if(u)return u;_=_.left}else{if(w[0]!==E[1][0])return _;var u=p(_.right,w);if(u)return u;_=_.left}}return M}c.castUp=function(_){var w=o.le(this.coordinates,_[0]);if(w<0)return-1;var M=this.slabs[w],E=p(this.slabs[w],_),m=-1;if(E&&(m=E.value),this.coordinates[w]===_[0]){var b=null;if(E&&(b=E.key),w>0){var v=p(this.slabs[w-1],_);v&&(b?a(v.key,b)>0&&(b=v.key,m=v.value):(m=v.value,b=v.key))}var u=this.horizontal[w];if(u.length>0){var y=o.ge(u,_[1],h);if(y=u.length)return m;f=u[y]}}if(f.start)if(b){var P=i(b[0],b[1],[_[0],f.y]);b[0][0]>b[1][0]&&(P=-P),P>0&&(m=f.index)}else m=f.index;else f.y!==_[1]&&(m=f.index)}}}return m};function d(_,w,M,E){this.y=_,this.index=w,this.start=M,this.closed=E}function T(_,w,M,E){this.x=_,this.segment=w,this.create=M,this.index=E}function l(_){for(var w=_.length,M=2*w,E=new Array(M),m=0;m1&&(w=1);for(var M=1-w,E=p.length,m=new Array(E),b=0;b0||_>0&&m<0){var b=a(w,m,M,_);T.push(b),l.push(b.slice())}m<0?l.push(M.slice()):m>0?T.push(M.slice()):(T.push(M.slice()),l.push(M.slice())),_=m}return{positive:T,negative:l}}function c(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E>=0&&T.push(w.slice()),l=E}return T}function h(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E<=0&&T.push(w.slice()),l=E}return T}},3387:function(e,t,r){var o;(function(){"use strict";var n={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(p){return s(h(p),arguments)}function a(p,d){return i.apply(null,[p].concat(d||[]))}function s(p,d){var T=1,l=p.length,_,w="",M,E,m,b,v,u,y,f;for(M=0;M=0),m.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,m.width?parseInt(m.width):0);break;case"e":_=m.precision?parseFloat(_).toExponential(m.precision):parseFloat(_).toExponential();break;case"f":_=m.precision?parseFloat(_).toFixed(m.precision):parseFloat(_);break;case"g":_=m.precision?String(Number(_.toPrecision(m.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=m.precision?_.substring(0,m.precision):_;break;case"t":_=String(!!_),_=m.precision?_.substring(0,m.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=m.precision?_.substring(0,m.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=m.precision?_.substring(0,m.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase();break}n.json.test(m.type)?w+=_:(n.number.test(m.type)&&(!y||m.sign)?(f=y?"+":"-",_=_.toString().replace(n.sign,"")):f="",v=m.pad_char?m.pad_char==="0"?"0":m.pad_char.charAt(1):" ",u=m.width-(f+_).length,b=m.width&&u>0?v.repeat(u):"",w+=m.align?f+_+b:v==="0"?f+b+_:b+f+_)}return w}var c=Object.create(null);function h(p){if(c[p])return c[p];for(var d=p,T,l=[],_=0;d;){if((T=n.text.exec(d))!==null)l.push(T[0]);else if((T=n.modulo.exec(d))!==null)l.push("%");else if((T=n.placeholder.exec(d))!==null){if(T[2]){_|=1;var w=[],M=T[2],E=[];if((E=n.key.exec(M))!==null)for(w.push(E[1]);(M=M.substring(E[0].length))!=="";)if((E=n.key_access.exec(M))!==null)w.push(E[1]);else if((E=n.index_access.exec(M))!==null)w.push(E[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");T[2]=w}else _|=2;if(_===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");l.push({placeholder:T[0],param_no:T[1],keys:T[2],sign:T[3],pad_char:T[4],align:T[5],width:T[6],precision:T[7],type:T[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");d=d.substring(T[0].length)}return c[p]=l}t.sprintf=i,t.vsprintf=a,typeof window<"u"&&(window.sprintf=i,window.vsprintf=a,o=function(){return{sprintf:i,vsprintf:a}}.call(t,r,t,e),o!==void 0&&(e.exports=o))})()},3711:function(e,t,r){"use strict";e.exports=h;var o=r(2640),n=r(781),i={"2d":function(p,d,T){var l=p({order:d,scalarArguments:3,getters:T==="generic"?[0]:void 0,phase:function(w,M,E,m){return w>m|0},vertex:function(w,M,E,m,b,v,u,y,f,P,L,z,F){var B=(u<<0)+(y<<1)+(f<<2)+(P<<3)|0;if(!(B===0||B===15))switch(B){case 0:L.push([w-.5,M-.5]);break;case 1:L.push([w-.25-.25*(m+E-2*F)/(E-m),M-.25-.25*(b+E-2*F)/(E-b)]);break;case 2:L.push([w-.75-.25*(-m-E+2*F)/(m-E),M-.25-.25*(v+m-2*F)/(m-v)]);break;case 3:L.push([w-.5,M-.5-.5*(b+E+v+m-4*F)/(E-b+m-v)]);break;case 4:L.push([w-.25-.25*(v+b-2*F)/(b-v),M-.75-.25*(-b-E+2*F)/(b-E)]);break;case 5:L.push([w-.5-.5*(m+E+v+b-4*F)/(E-m+b-v),M-.5]);break;case 6:L.push([w-.5-.25*(-m-E+v+b)/(m-E+b-v),M-.5-.25*(-b-E+v+m)/(b-E+m-v)]);break;case 7:L.push([w-.75-.25*(v+b-2*F)/(b-v),M-.75-.25*(v+m-2*F)/(m-v)]);break;case 8:L.push([w-.75-.25*(-v-b+2*F)/(v-b),M-.75-.25*(-v-m+2*F)/(v-m)]);break;case 9:L.push([w-.5-.25*(m+E+-v-b)/(E-m+v-b),M-.5-.25*(b+E+-v-m)/(E-b+v-m)]);break;case 10:L.push([w-.5-.5*(-m-E+-v-b+4*F)/(m-E+v-b),M-.5]);break;case 11:L.push([w-.25-.25*(-v-b+2*F)/(v-b),M-.75-.25*(b+E-2*F)/(E-b)]);break;case 12:L.push([w-.5,M-.5-.5*(-b-E+-v-m+4*F)/(b-E+v-m)]);break;case 13:L.push([w-.75-.25*(m+E-2*F)/(E-m),M-.25-.25*(-v-m+2*F)/(v-m)]);break;case 14:L.push([w-.25-.25*(-m-E+2*F)/(m-E),M-.25-.25*(-b-E+2*F)/(b-E)]);break;case 15:L.push([w-.5,M-.5]);break}},cell:function(w,M,E,m,b,v,u,y,f){b?y.push([w,M]):y.push([M,w])}});return function(_,w){var M=[],E=[];return l(_,M,E,w),{positions:M,cells:E}}}};function a(p,d){var T=p.length+"d",l=i[T];if(l)return l(o,p,d)}function s(p,d){for(var T=n(p,d),l=T.length,_=new Array(l),w=new Array(l),M=0;MMath.max(m,b)?v[2]=1:m>Math.max(E,b)?v[0]=1:v[1]=1;for(var u=0,y=0,f=0;f<3;++f)u+=M[f]*M[f],y+=v[f]*M[f];for(var f=0;f<3;++f)v[f]-=y/u*M[f];return s(v,v),v}function T(M,E,m,b,v,u,y,f){this.center=o(m),this.up=o(b),this.right=o(v),this.radius=o([u]),this.angle=o([y,f]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(M,E),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var P=0;P<16;++P)this.computedMatrix[P]=.5;this.recalcMatrix(0)}var l=T.prototype;l.setDistanceLimits=function(M,E){M>0?M=Math.log(M):M=-1/0,E>0?E=Math.log(E):E=1/0,E=Math.max(E,M),this.radius.bounds[0][0]=M,this.radius.bounds[1][0]=E},l.getDistanceLimits=function(M){var E=this.radius.bounds[0];return M?(M[0]=Math.exp(E[0][0]),M[1]=Math.exp(E[1][0]),M):[Math.exp(E[0][0]),Math.exp(E[1][0])]},l.recalcMatrix=function(M){this.center.curve(M),this.up.curve(M),this.right.curve(M),this.radius.curve(M),this.angle.curve(M);for(var E=this.computedUp,m=this.computedRight,b=0,v=0,u=0;u<3;++u)v+=E[u]*m[u],b+=E[u]*E[u];for(var y=Math.sqrt(b),f=0,u=0;u<3;++u)m[u]-=E[u]*v/b,f+=m[u]*m[u],E[u]/=y;for(var P=Math.sqrt(f),u=0;u<3;++u)m[u]/=P;var L=this.computedToward;a(L,E,m),s(L,L);for(var z=Math.exp(this.computedRadius[0]),F=this.computedAngle[0],B=this.computedAngle[1],O=Math.cos(F),I=Math.sin(F),N=Math.cos(B),U=Math.sin(B),W=this.computedCenter,Q=O*N,le=I*N,se=U,fe=-O*U,G=-I*U,$=N,J=this.computedEye,X=this.computedMatrix,u=0;u<3;++u){var re=Q*m[u]+le*L[u]+se*E[u];X[4*u+1]=fe*m[u]+G*L[u]+$*E[u],X[4*u+2]=re,X[4*u+3]=0}var ae=X[1],j=X[5],ee=X[9],ie=X[2],ce=X[6],xe=X[10],Te=j*xe-ee*ce,Ue=ee*ie-ae*xe,Ie=ae*ce-j*ie,Ye=h(Te,Ue,Ie);Te/=Ye,Ue/=Ye,Ie/=Ye,X[0]=Te,X[4]=Ue,X[8]=Ie;for(var u=0;u<3;++u)J[u]=W[u]+X[2+4*u]*z;for(var u=0;u<3;++u){for(var f=0,it=0;it<3;++it)f+=X[u+4*it]*J[it];X[12+u]=-f}X[15]=1},l.getMatrix=function(M,E){this.recalcMatrix(M);var m=this.computedMatrix;if(E){for(var b=0;b<16;++b)E[b]=m[b];return E}return m};var _=[0,0,0];l.rotate=function(M,E,m,b){if(this.angle.move(M,E,m),b){this.recalcMatrix(M);var v=this.computedMatrix;_[0]=v[2],_[1]=v[6],_[2]=v[10];for(var u=this.computedUp,y=this.computedRight,f=this.computedToward,P=0;P<3;++P)v[4*P]=u[P],v[4*P+1]=y[P],v[4*P+2]=f[P];i(v,v,b,_);for(var P=0;P<3;++P)u[P]=v[4*P],y[P]=v[4*P+1];this.up.set(M,u[0],u[1],u[2]),this.right.set(M,y[0],y[1],y[2])}},l.pan=function(M,E,m,b){E=E||0,m=m||0,b=b||0,this.recalcMatrix(M);var v=this.computedMatrix,u=Math.exp(this.computedRadius[0]),y=v[1],f=v[5],P=v[9],L=h(y,f,P);y/=L,f/=L,P/=L;var z=v[0],F=v[4],B=v[8],O=z*y+F*f+B*P;z-=y*O,F-=f*O,B-=P*O;var I=h(z,F,B);z/=I,F/=I,B/=I;var N=z*E+y*m,U=F*E+f*m,W=B*E+P*m;this.center.move(M,N,U,W);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+b),this.radius.set(M,Math.log(Q))},l.translate=function(M,E,m,b){this.center.move(M,E||0,m||0,b||0)},l.setMatrix=function(M,E,m,b){var v=1;typeof m=="number"&&(v=m|0),(v<0||v>3)&&(v=1);var u=(v+2)%3,y=(v+1)%3;E||(this.recalcMatrix(M),E=this.computedMatrix);var f=E[v],P=E[v+4],L=E[v+8];if(b){var F=Math.abs(f),B=Math.abs(P),O=Math.abs(L),I=Math.max(F,B,O);F===I?(f=f<0?-1:1,P=L=0):O===I?(L=L<0?-1:1,f=P=0):(P=P<0?-1:1,f=L=0)}else{var z=h(f,P,L);f/=z,P/=z,L/=z}var N=E[u],U=E[u+4],W=E[u+8],Q=N*f+U*P+W*L;N-=f*Q,U-=P*Q,W-=L*Q;var le=h(N,U,W);N/=le,U/=le,W/=le;var se=P*W-L*U,fe=L*N-f*W,G=f*U-P*N,$=h(se,fe,G);se/=$,fe/=$,G/=$,this.center.jump(M,pe,ue,Oe),this.radius.idle(M),this.up.jump(M,f,P,L),this.right.jump(M,N,U,W);var J,X;if(v===2){var re=E[1],ae=E[5],j=E[9],ee=re*N+ae*U+j*W,ie=re*se+ae*fe+j*G;Ue<0?J=-Math.PI/2:J=Math.PI/2,X=Math.atan2(ie,ee)}else{var ce=E[2],xe=E[6],Te=E[10],Ue=ce*f+xe*P+Te*L,Ie=ce*N+xe*U+Te*W,Ye=ce*se+xe*fe+Te*G;J=Math.asin(p(Ue)),X=Math.atan2(Ye,Ie)}this.angle.jump(M,X,J),this.recalcMatrix(M);var it=E[2],at=E[6],tt=E[10],ut=this.computedMatrix;n(ut,E);var Me=ut[15],pe=ut[12]/Me,ue=ut[13]/Me,Oe=ut[14]/Me,rt=Math.exp(this.computedRadius[0]);this.center.jump(M,pe-it*rt,ue-at*rt,Oe-tt*rt)},l.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},l.idle=function(M){this.center.idle(M),this.up.idle(M),this.right.idle(M),this.radius.idle(M),this.angle.idle(M)},l.flush=function(M){this.center.flush(M),this.up.flush(M),this.right.flush(M),this.radius.flush(M),this.angle.flush(M)},l.setDistance=function(M,E){E>0&&this.radius.set(M,Math.log(E))},l.lookAt=function(M,E,m,b){this.recalcMatrix(M),E=E||this.computedEye,m=m||this.computedCenter,b=b||this.computedUp;var v=b[0],u=b[1],y=b[2],f=h(v,u,y);if(!(f<1e-6)){v/=f,u/=f,y/=f;var P=E[0]-m[0],L=E[1]-m[1],z=E[2]-m[2],F=h(P,L,z);if(!(F<1e-6)){P/=F,L/=F,z/=F;var B=this.computedRight,O=B[0],I=B[1],N=B[2],U=v*O+u*I+y*N;O-=U*v,I-=U*u,N-=U*y;var W=h(O,I,N);if(!(W<.01&&(O=u*z-y*L,I=y*P-v*z,N=v*L-u*P,W=h(O,I,N),W<1e-6))){O/=W,I/=W,N/=W,this.up.set(M,v,u,y),this.right.set(M,O,I,N),this.center.set(M,m[0],m[1],m[2]),this.radius.set(M,Math.log(F));var Q=u*N-y*I,le=y*O-v*N,se=v*I-u*O,fe=h(Q,le,se);Q/=fe,le/=fe,se/=fe;var G=v*P+u*L+y*z,$=O*P+I*L+N*z,J=Q*P+le*L+se*z,X=Math.asin(p(G)),re=Math.atan2(J,$),ae=this.angle._state,j=ae[ae.length-1],ee=ae[ae.length-2];j=j%(2*Math.PI);var ie=Math.abs(j+2*Math.PI-re),ce=Math.abs(j-re),xe=Math.abs(j-2*Math.PI-re);ie0?N.pop():new ArrayBuffer(O)}t.mallocArrayBuffer=_;function w(B){return new Uint8Array(_(B),0,B)}t.mallocUint8=w;function M(B){return new Uint16Array(_(2*B),0,B)}t.mallocUint16=M;function E(B){return new Uint32Array(_(4*B),0,B)}t.mallocUint32=E;function m(B){return new Int8Array(_(B),0,B)}t.mallocInt8=m;function b(B){return new Int16Array(_(2*B),0,B)}t.mallocInt16=b;function v(B){return new Int32Array(_(4*B),0,B)}t.mallocInt32=v;function u(B){return new Float32Array(_(4*B),0,B)}t.mallocFloat32=t.mallocFloat=u;function y(B){return new Float64Array(_(8*B),0,B)}t.mallocFloat64=t.mallocDouble=y;function f(B){return a?new Uint8ClampedArray(_(B),0,B):w(B)}t.mallocUint8Clamped=f;function P(B){return s?new BigUint64Array(_(8*B),0,B):null}t.mallocBigUint64=P;function L(B){return c?new BigInt64Array(_(8*B),0,B):null}t.mallocBigInt64=L;function z(B){return new DataView(_(B),0,B)}t.mallocDataView=z;function F(B){B=o.nextPow2(B);var O=o.log2(B),I=d[O];return I.length>0?I.pop():new i(B)}t.mallocBuffer=F,t.clearCache=function(){for(var O=0;O<32;++O)h.UINT8[O].length=0,h.UINT16[O].length=0,h.UINT32[O].length=0,h.INT8[O].length=0,h.INT16[O].length=0,h.INT32[O].length=0,h.FLOAT[O].length=0,h.DOUBLE[O].length=0,h.BIGUINT64[O].length=0,h.BIGINT64[O].length=0,h.UINT8C[O].length=0,p[O].length=0,d[O].length=0}},1755:function(e){"use strict";"use restrict";e.exports=t;function t(o){this.roots=new Array(o),this.ranks=new Array(o);for(var n=0;n",N="",U=I.length,W=N.length,Q=F[0]===_||F[0]===E,le=0,se=-W;le>-1&&(le=B.indexOf(I,le),!(le===-1||(se=B.indexOf(N,le+U),se===-1)||se<=le));){for(var fe=le;fe=se)O[fe]=null,B=B.substr(0,fe)+" "+B.substr(fe+1);else if(O[fe]!==null){var G=O[fe].indexOf(F[0]);G===-1?O[fe]+=F:Q&&(O[fe]=O[fe].substr(0,G+1)+(1+parseInt(O[fe][G+1]))+O[fe].substr(G+2))}var $=le+U,J=B.substr($,se-$),X=J.indexOf(I);X!==-1?le=X:le=se+W}return O}function v(z,F,B){for(var O=F.textAlign||"start",I=F.textBaseline||"alphabetic",N=[1<<30,1<<30],U=[0,0],W=z.length,Q=0;Q/g,` +`):B=B.replace(/\/g," ");var U="",W=[];for(j=0;j-1?parseInt(ue[1+ot]):0,Et=et>-1?parseInt(Oe[1+et]):0;Lt!==Et&&(rt=rt.replace(Ie(),"?px "),ce*=Math.pow(.75,Et-Lt),rt=rt.replace("?px ",Ie())),ie+=.25*G*(Et-Lt)}if(N.superscripts===!0){var Bt=ue.indexOf(_),qt=Oe.indexOf(_),fr=Bt>-1?parseInt(ue[1+Bt]):0,ar=qt>-1?parseInt(Oe[1+qt]):0;fr!==ar&&(rt=rt.replace(Ie(),"?px "),ce*=Math.pow(.75,ar-fr),rt=rt.replace("?px ",Ie())),ie-=.25*G*(ar-fr)}if(N.bolds===!0){var Rr=ue.indexOf(p)>-1,gr=Oe.indexOf(p)>-1;!Rr&&gr&&(br?rt=rt.replace("italic ","italic bold "):rt="bold "+rt),Rr&&!gr&&(rt=rt.replace("bold ",""))}if(N.italics===!0){var br=ue.indexOf(T)>-1,_t=Oe.indexOf(T)>-1;!br&&_t&&(rt="italic "+rt),br&&!_t&&(rt=rt.replace("italic ",""))}F.font=rt}for(ae=0;ae0&&(I=O.size),O.lineSpacing&&O.lineSpacing>0&&(N=O.lineSpacing),O.styletags&&O.styletags.breaklines&&(U.breaklines=!!O.styletags.breaklines),O.styletags&&O.styletags.bolds&&(U.bolds=!!O.styletags.bolds),O.styletags&&O.styletags.italics&&(U.italics=!!O.styletags.italics),O.styletags&&O.styletags.subscripts&&(U.subscripts=!!O.styletags.subscripts),O.styletags&&O.styletags.superscripts&&(U.superscripts=!!O.styletags.superscripts)),B.font=[O.fontStyle,O.fontVariant,O.fontWeight,I+"px",O.font].filter(function(Q){return Q}).join(" "),B.textAlign="start",B.textBaseline="alphabetic",B.direction="ltr";var W=u(F,B,z,I,N,U);return P(W,O,I)}},1538:function(e){(function(){"use strict";if(typeof ses<"u"&&ses.ok&&!ses.ok())return;function r(f){f.permitHostObjects___&&f.permitHostObjects___(r)}typeof ses<"u"&&(ses.weakMapPermitHostObjects=r);var o=!1;if(typeof WeakMap=="function"){var n=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var i=new n,a=Object.freeze({});if(i.set(a,1),i.get(a)!==1)o=!0;else{e.exports=WeakMap;return}}}var s=Object.prototype.hasOwnProperty,c=Object.getOwnPropertyNames,h=Object.defineProperty,p=Object.isExtensible,d="weakmap:",T=d+"ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var l=new ArrayBuffer(25),_=new Uint8Array(l);crypto.getRandomValues(_),T=d+"rand:"+Array.prototype.map.call(_,function(f){return(f%36).toString(36)}).join("")+"___"}function w(f){return!(f.substr(0,d.length)==d&&f.substr(f.length-3)==="___")}if(h(Object,"getOwnPropertyNames",{value:function(P){return c(P).filter(w)}}),"getPropertyNames"in Object){var M=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(P){return M(P).filter(w)}})}function E(f){if(f!==Object(f))throw new TypeError("Not an object: "+f);var P=f[T];if(P&&P.key===f)return P;if(p(f)){P={key:f};try{return h(f,T,{value:P,writable:!1,enumerable:!1,configurable:!1}),P}catch{return}}}(function(){var f=Object.freeze;h(Object,"freeze",{value:function(F){return E(F),f(F)}});var P=Object.seal;h(Object,"seal",{value:function(F){return E(F),P(F)}});var L=Object.preventExtensions;h(Object,"preventExtensions",{value:function(F){return E(F),L(F)}})})();function m(f){return f.prototype=null,Object.freeze(f)}var b=!1;function v(){!b&&typeof console<"u"&&(b=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var u=0,y=function(){this instanceof y||v();var f=[],P=[],L=u++;function z(I,N){var U,W=E(I);return W?L in W?W[L]:N:(U=f.indexOf(I),U>=0?P[U]:N)}function F(I){var N=E(I);return N?L in N:f.indexOf(I)>=0}function B(I,N){var U,W=E(I);return W?W[L]=N:(U=f.indexOf(I),U>=0?P[U]=N:(U=f.length,P[U]=N,f[U]=I)),this}function O(I){var N=E(I),U,W;return N?L in N&&delete N[L]:(U=f.indexOf(I),U<0?!1:(W=f.length-1,f[U]=void 0,P[U]=P[W],f[U]=f[W],f.length=W,P.length=W,!0))}return Object.create(y.prototype,{get___:{value:m(z)},has___:{value:m(F)},set___:{value:m(B)},delete___:{value:m(O)}})};y.prototype=Object.create(Object.prototype,{get:{value:function(P,L){return this.get___(P,L)},writable:!0,configurable:!0},has:{value:function(P){return this.has___(P)},writable:!0,configurable:!0},set:{value:function(P,L){return this.set___(P,L)},writable:!0,configurable:!0},delete:{value:function(P){return this.delete___(P)},writable:!0,configurable:!0}}),typeof n=="function"?function(){o&&typeof Proxy<"u"&&(Proxy=void 0);function f(){this instanceof y||v();var P=new n,L=void 0,z=!1;function F(N,U){return L?P.has(N)?P.get(N):L.get___(N,U):P.get(N,U)}function B(N){return P.has(N)||(L?L.has___(N):!1)}var O;o?O=function(N,U){return P.set(N,U),P.has(N)||(L||(L=new y),L.set(N,U)),this}:O=function(N,U){if(z)try{P.set(N,U)}catch{L||(L=new y),L.set___(N,U)}else P.set(N,U);return this};function I(N){var U=!!P.delete(N);return L&&L.delete___(N)||U}return Object.create(y.prototype,{get___:{value:m(F)},has___:{value:m(B)},set___:{value:m(O)},delete___:{value:m(I)},permitHostObjects___:{value:m(function(N){if(N===r)z=!0;else throw new Error("bogus call to permitHostObjects___")})}})}f.prototype=y.prototype,e.exports=f,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),e.exports=y)})()},236:function(e,t,r){var o=r(8284);e.exports=n;function n(){var i={};return function(a){if((typeof a!="object"||a===null)&&typeof a!="function")throw new Error("Weakmap-shim: Key must be object");var s=a.valueOf(i);return s&&s.identity===i?s:o(a,i)}}},8284:function(e){e.exports=t;function t(r,o){var n={identity:o},i=r.valueOf;return Object.defineProperty(r,"valueOf",{value:function(a){return a!==o?i.apply(this,arguments):n},writable:!0}),n}},606:function(e,t,r){var o=r(236);e.exports=n;function n(){var i=o();return{get:function(a,s){var c=i(a);return c.hasOwnProperty("value")?c.value:s},set:function(a,s){return i(a).value=s,this},has:function(a){return"value"in i(a)},delete:function(a){return delete i(a).value}}}},3349:function(e){"use strict";function t(){return function(s,c,h,p,d,T){var l=s[0],_=h[0],w=[0],M=_;p|=0;var E=0,m=_;for(E=0;E=0!=v>=0&&d.push(w[0]+.5+.5*(b+v)/(b-v))}p+=m,++w[0]}}}function r(){return t()}var o=r;function n(s){var c={};return function(p,d,T){var l=p.dtype,_=p.order,w=[l,_.join()].join(),M=c[w];return M||(c[w]=M=s([l,_])),M(p.shape.slice(0),p.data,p.stride,p.offset|0,d,T)}}function i(s){return n(o.bind(void 0,s))}function a(s){return i({funcName:s.funcName})}e.exports=a({funcName:"zeroCrossings"})},781:function(e,t,r){"use strict";e.exports=n;var o=r(3349);function n(i,a){var s=[];return a=+a||0,o(i.hi(i.shape[0]-1),s,a),s}},7790:function(){}},x={};function A(e){var t=x[e];if(t!==void 0)return t.exports;var r=x[e]={id:e,loaded:!1,exports:{}};return g[e].call(r.exports,r,r.exports,A),r.loaded=!0,r.exports}(function(){A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})(),function(){A.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}();var S=A(1964);H.exports=S})()}}),tA=ke({"node_modules/color-name/index.js"(Z,H){"use strict";H.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}}}),mI=ke({"node_modules/color-normalize/node_modules/color-parse/index.js"(Z,H){"use strict";var g=tA();H.exports=A;var x={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function A(S){var e,t=[],r=1,o;if(typeof S=="string")if(S=S.toLowerCase(),g[S])t=g[S].slice(),o="rgb";else if(S==="transparent")r=0,o="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(S)){var n=S.slice(1),i=n.length,a=i<=4;r=1,a?(t=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],i===4&&(r=parseInt(n[3]+n[3],16)/255)):(t=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],i===8&&(r=parseInt(n[6]+n[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(S)){var s=e[1],c=s==="rgb",n=s.replace(/a$/,"");o=n;var i=n==="cmyk"?4:n==="gray"?1:3;t=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(d,T){if(/%$/.test(d))return T===i?parseFloat(d)/100:n==="rgb"?parseFloat(d)*255/100:parseFloat(d);if(n[T]==="h"){if(/deg$/.test(d))return parseFloat(d);if(x[d]!==void 0)return x[d]}return parseFloat(d)}),s===n&&t.push(1),r=c||t[i]===void 0?1:t[i],t=t.slice(0,i)}else S.length>10&&/[0-9](?:\s|\/)/.test(S)&&(t=S.match(/([0-9]+)/g).map(function(h){return parseFloat(h)}),o=S.match(/([a-z])/ig).join("").toLowerCase());else isNaN(S)?Array.isArray(S)||S.length?(t=[S[0],S[1],S[2]],o="rgb",r=S.length===4?S[3]:1):S instanceof Object&&(S.r!=null||S.red!=null||S.R!=null?(o="rgb",t=[S.r||S.red||S.R||0,S.g||S.green||S.G||0,S.b||S.blue||S.B||0]):(o="hsl",t=[S.h||S.hue||S.H||0,S.s||S.saturation||S.S||0,S.l||S.lightness||S.L||S.b||S.brightness]),r=S.a||S.alpha||S.opacity||1,S.opacity!=null&&(r/=100)):(o="rgb",t=[S>>>16,(S&65280)>>>8,S&255]);return{space:o,values:t,alpha:r}}}}),gI=ke({"node_modules/color-normalize/node_modules/color-rgba/index.js"(Z,H){"use strict";var g=mI();H.exports=function(S){Array.isArray(S)&&S.raw&&(S=String.raw.apply(null,arguments));var e,t,r,o=g(S);if(!o.space)return[];var n=[0,0,0],i=o.space[0]==="h"?[360,100,100]:[255,255,255];return e=Array(3),e[0]=Math.min(Math.max(o.values[0],n[0]),i[0]),e[1]=Math.min(Math.max(o.values[1],n[1]),i[1]),e[2]=Math.min(Math.max(o.values[2],n[2]),i[2]),o.space[0]==="h"&&(e=x(e)),e.push(Math.min(Math.max(o.alpha,0),1)),e};function x(A){var S=A[0]/360,e=A[1]/100,t=A[2]/100,r,o,n,i,a,s=0;if(e===0)return a=t*255,[a,a,a];for(o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,i=[0,0,0];s<3;)n=S+1/3*-(s-1),n<0?n++:n>1&&n--,a=6*n<1?r+(o-r)*6*n:2*n<1?o:3*n<2?r+(o-r)*(2/3-n)*6:r,i[s++]=a*255;return i}}}),V0=ke({"node_modules/clamp/index.js"(Z,H){H.exports=g;function g(x,A,S){return AS?S:x:xA?A:x}}}),Hx=ke({"node_modules/dtype/index.js"(Z,H){H.exports=function(g){switch(g){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}}}),Zp=ke({"node_modules/color-normalize/index.js"(Z,H){"use strict";var g=gI(),x=V0(),A=Hx();H.exports=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var o=A(r),n=new o(4),i=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=g(t),t[0]/=255,t[1]/=255,t[2]/=255),S(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:255,i&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(i?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:1):(n[0]=x(Math.floor(t[0]*255),0,255),n[1]=x(Math.floor(t[1]*255),0,255),n[2]=x(Math.floor(t[2]*255),0,255),n[3]=t[3]==null?255:x(Math.floor(t[3]*255),0,255)),n)};function S(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}}}),rp=ke({"src/lib/str2rgbarray.js"(Z,H){"use strict";var g=Zp();function x(A){return A?g(A):[0,0,0,1]}H.exports=x}}),np=ke({"src/lib/gl_format_color.js"(Z,H){"use strict";var g=Yn(),x=ru(),A=Zp(),S=ku(),e=If().defaultLine,t=Oa().isArrayOrTypedArray,r=A(e),o=1;function n(h,p){var d=h;return d[3]*=p,d}function i(h){if(g(h))return r;var p=A(h);return p.length?p:r}function a(h){return g(h)?h:o}function s(h,p,d){var T=h.color;T&&T._inputArray&&(T=T._inputArray);var l=t(T),_=t(p),w=S.extractOpts(h),M=[],E,m,b,v,u;if(w.colorscale!==void 0?E=S.makeColorScaleFuncFromTrace(h):E=i,l?m=function(f,P){return f[P]===void 0?r:A(E(f[P]))}:m=i,_?b=function(f,P){return f[P]===void 0?o:a(f[P])}:b=a,l||_)for(var y=0;y0){var d=o.c2l(h);o._lowerLogErrorBound||(o._lowerLogErrorBound=d),o._lowerErrorBound=Math.min(o._lowerLogErrorBound,d)}}else i[a]=[-s[0]*r,s[1]*r]}return i}function A(e){for(var t=0;t-1?-1:P.indexOf("right")>-1?1:0}function w(P){return P==null?0:P.indexOf("top")>-1?-1:P.indexOf("bottom")>-1?1:0}function M(P){var L=0,z=0,F=[L,z];if(Array.isArray(P))for(var B=0;B=0){var W=T(N.position,N.delaunayColor,N.delaunayAxis);W.opacity=P.opacity,this.delaunayMesh?this.delaunayMesh.update(W):(W.gl=L,this.delaunayMesh=S(W),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},d.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function f(P,L){var z=new p(P,L.uid);return z.update(L),z}H.exports=f}}),nA=ke({"src/traces/scatter3d/attributes.js"(Z,H){"use strict";var g=Cc(),x=Il(),A=ou(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ol(),o=rA(),n=Gx(),i=To().extendFlat,a=ju().overrideAll,s=Ip(),c=g.line,h=g.marker,p=h.line,d=i({width:c.width,dash:{valType:"enumerated",values:s(o),dflt:"solid"}},A("line"));function T(_){return{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:2/3}}}var l=H.exports=a({x:g.x,y:g.y,z:{valType:"data_array"},text:i({},g.text,{}),texttemplate:t({},{}),hovertext:i({},g.hovertext,{}),hovertemplate:e(),xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z"),mode:i({},g.mode,{dflt:"lines+markers"}),surfaceaxis:{valType:"enumerated",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:"color"},projection:{x:T("x"),y:T("y"),z:T("z")},connectgaps:g.connectgaps,line:d,marker:i({symbol:{valType:"enumerated",values:s(n),dflt:"circle",arrayOk:!0},size:i({},h.size,{dflt:8}),sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,opacity:i({},h.opacity,{arrayOk:!1}),colorbar:h.colorbar,line:i({width:i({},p.width,{arrayOk:!1})},A("marker.line"))},A("marker")),textposition:i({},g.textposition,{dflt:"top center"}),textfont:x({noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,editType:"calc",colorEditType:"style",arrayOk:!0,variantValues:["normal","small-caps"]}),opacity:r.opacity,hoverinfo:i({},r.hoverinfo)},"calc","nested");l.x.editType=l.y.editType=l.z.editType="calc+clearAxisTypes"}}),xI=ke({"src/traces/scatter3d/defaults.js"(Z,H){"use strict";var g=lo(),x=un(),A=vu(),S=Fd(),e=Hd(),t=Gd(),r=nA();H.exports=function(i,a,s,c){function h(E,m){return x.coerce(i,a,r,E,m)}var p=o(i,a,h,c);if(!p){a.visible=!1;return}h("text"),h("hovertext"),h("hovertemplate"),h("xhoverformat"),h("yhoverformat"),h("zhoverformat"),h("mode"),A.hasMarkers(a)&&S(i,a,s,c,h,{noSelect:!0,noAngle:!0}),A.hasLines(a)&&(h("connectgaps"),e(i,a,s,c,h)),A.hasText(a)&&(h("texttemplate"),t(i,a,c,h,{noSelect:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0}));var d=(a.line||{}).color,T=(a.marker||{}).color;h("surfaceaxis")>=0&&h("surfacecolor",d||T);for(var l=["x","y","z"],_=0;_<3;++_){var w="projection."+l[_];h(w+".show")&&(h(w+".opacity"),h(w+".scale"))}var M=g.getComponentMethod("errorbars","supplyDefaults");M(i,a,d||T||s,{axis:"z"}),M(i,a,d||T||s,{axis:"y",inherit:"z"}),M(i,a,d||T||s,{axis:"x",inherit:"z"})};function o(n,i,a,s){var c=0,h=a("x"),p=a("y"),d=a("z"),T=g.getComponentMethod("calendars","handleTraceDefaults");return T(n,i,["x","y","z"],s),h&&p&&d&&(c=Math.min(h.length,p.length,d.length),i._length=i._xlength=i._ylength=i._zlength=c),c}}}),bI=ke({"src/traces/scatter3d/calc.js"(Z,H){"use strict";var g=Lv(),x=Wd();H.exports=function(S,e){var t=[{x:!1,y:!1,trace:e,t:{}}];return g(t,e),x(S,e),t}}}),wI=ke({"node_modules/get-canvas-context/index.js"(Z,H){H.exports=g;function g(x,A){if(typeof x!="string")throw new TypeError("must specify type string");if(A=A||{},typeof document>"u"&&!A.canvas)return null;var S=A.canvas||document.createElement("canvas");typeof A.width=="number"&&(S.width=A.width),typeof A.height=="number"&&(S.height=A.height);var e=A,t;try{var r=[x];x.indexOf("webgl")===0&&r.push("experimental-"+x);for(var o=0;o/g," "));a[s]=d,c.tickmode=h}}o.ticks=a;for(var s=0;s<3;++s){S[s]=.5*(r.glplot.bounds[0][s]+r.glplot.bounds[1][s]);for(var T=0;T<2;++T)o.bounds[T][s]=r.glplot.bounds[T][s]}r.contourLevels=e(a)}}}),EI=ke({"src/plots/gl3d/scene.js"(Z,H){"use strict";var g=Mh().gl_plot3d,x=g.createCamera,A=g.createScene,S=TI(),e=f_(),t=lo(),r=un(),o=r.preserveDrawingBuffer(),n=Ho(),i=Ec(),a=rp(),s=iA(),c=M2(),h=AI(),p=MI(),d=SI(),T=lv().applyAutorangeOptions,l,_,w=!1;function M(z,F){var B=document.createElement("div"),O=z.container;this.graphDiv=z.graphDiv;var I=document.createElementNS("http://www.w3.org/2000/svg","svg");I.style.position="absolute",I.style.top=I.style.left="0px",I.style.width=I.style.height="100%",I.style["z-index"]=20,I.style["pointer-events"]="none",B.appendChild(I),this.svgContainer=I,B.id=z.id,B.style.position="absolute",B.style.top=B.style.left="0px",B.style.width=B.style.height="100%",O.appendChild(B),this.fullLayout=F,this.id=z.id||"scene",this.fullSceneLayout=F[this.id],this.plotArgs=[[],{},{}],this.axesOptions=h(F,F[this.id]),this.spikeOptions=p(F[this.id]),this.container=B,this.staticMode=!!z.staticPlot,this.pixelRatio=this.pixelRatio||z.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=t.getComponentMethod("annotations3d","convert"),this.drawAnnotations=t.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var E=M.prototype;E.prepareOptions=function(){var z=this,F={canvas:z.canvas,gl:z.gl,glOptions:{preserveDrawingBuffer:o,premultipliedAlpha:!0,antialias:!0},container:z.container,axes:z.axesOptions,spikes:z.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:z.camera,pixelRatio:z.pixelRatio};if(z.staticMode){if(!_&&(l=document.createElement("canvas"),_=S({canvas:l,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!_))throw new Error("error creating static canvas/context for image server");F.gl=_,F.canvas=l}return F};var m=!0;E.tryCreatePlot=function(){var z=this,F=z.prepareOptions(),B=!0;try{z.glplot=A(F)}catch{if(z.staticMode||!m||o)B=!1;else{r.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{o=F.glOptions.preserveDrawingBuffer=!0,z.glplot=A(F)}catch{o=F.glOptions.preserveDrawingBuffer=!1,B=!1}}}return m=!1,B},E.initializeGLCamera=function(){var z=this,F=z.fullSceneLayout.camera,B=F.projection.type==="orthographic";z.camera=x(z.container,{center:[F.center.x,F.center.y,F.center.z],eye:[F.eye.x,F.eye.y,F.eye.z],up:[F.up.x,F.up.y,F.up.z],_ortho:B,zoomMin:.01,zoomMax:100,mode:"orbit"})},E.initializeGLPlot=function(){var z=this;z.initializeGLCamera();var F=z.tryCreatePlot();if(!F)return s(z);z.traces={},z.make4thDimension();var B=z.graphDiv,O=B.layout,I=function(){var U={};return z.isCameraChanged(O)&&(U[z.id+".camera"]=z.getCamera()),z.isAspectChanged(O)&&(U[z.id+".aspectratio"]=z.glplot.getAspectratio(),O[z.id].aspectmode!=="manual"&&(z.fullSceneLayout.aspectmode=O[z.id].aspectmode=U[z.id+".aspectmode"]="manual")),U},N=function(U){if(U.fullSceneLayout.dragmode!==!1){var W=I();U.saveLayout(O),U.graphDiv.emit("plotly_relayout",W)}};return z.glplot.canvas&&(z.glplot.canvas.addEventListener("mouseup",function(){N(z)}),z.glplot.canvas.addEventListener("touchstart",function(){w=!0}),z.glplot.canvas.addEventListener("wheel",function(U){if(B._context._scrollZoom.gl3d){if(z.camera._ortho){var W=U.deltaX>U.deltaY?1.1:.9090909090909091,Q=z.glplot.getAspectratio();z.glplot.setAspectratio({x:W*Q.x,y:W*Q.y,z:W*Q.z})}N(z)}},e?{passive:!1}:!1),z.glplot.canvas.addEventListener("mousemove",function(){if(z.fullSceneLayout.dragmode!==!1&&z.camera.mouseListener.buttons!==0){var U=I();z.graphDiv.emit("plotly_relayouting",U)}}),z.staticMode||z.glplot.canvas.addEventListener("webglcontextlost",function(U){B&&B.emit&&B.emit("plotly_webglcontextlost",{event:U,layer:z.id})},!1)),z.glplot.oncontextloss=function(){z.recoverContext()},z.glplot.onrender=function(){z.render()},!0},E.render=function(){var z=this,F=z.graphDiv,B,O=z.svgContainer,I=z.container.getBoundingClientRect();F._fullLayout._calcInverseTransform(F);var N=F._fullLayout._invScaleX,U=F._fullLayout._invScaleY,W=I.width*N,Q=I.height*U;O.setAttributeNS(null,"viewBox","0 0 "+W+" "+Q),O.setAttributeNS(null,"width",W),O.setAttributeNS(null,"height",Q),d(z),z.glplot.axes.update(z.axesOptions);for(var le=Object.keys(z.traces),se=null,fe=z.glplot.selection,G=0;G")):B.type==="isosurface"||B.type==="volume"?(ae.valueLabel=n.hoverLabelText(z._mockAxis,z._mockAxis.d2l(fe.traceCoordinate[3]),B.valuehoverformat),xe.push("value: "+ae.valueLabel),fe.textLabel&&xe.push(fe.textLabel),ce=xe.join("
")):ce=fe.textLabel;var Te={x:fe.traceCoordinate[0],y:fe.traceCoordinate[1],z:fe.traceCoordinate[2],data:X._input,fullData:X,curveNumber:X.index,pointNumber:re};i.appendArrayPointValue(Te,X,re),B._module.eventData&&(Te=X._module.eventData(Te,fe,X,{},re));var Ue={points:[Te]};if(z.fullSceneLayout.hovermode){var Ie=[];i.loneHover({trace:X,x:(.5+.5*J[0]/J[3])*W,y:(.5-.5*J[1]/J[3])*Q,xLabel:ae.xLabel,yLabel:ae.yLabel,zLabel:ae.zLabel,text:ce,name:se.name,color:i.castHoverOption(X,re,"bgcolor")||se.color,borderColor:i.castHoverOption(X,re,"bordercolor"),fontFamily:i.castHoverOption(X,re,"font.family"),fontSize:i.castHoverOption(X,re,"font.size"),fontColor:i.castHoverOption(X,re,"font.color"),nameLength:i.castHoverOption(X,re,"namelength"),textAlign:i.castHoverOption(X,re,"align"),hovertemplate:r.castOption(X,re,"hovertemplate"),hovertemplateLabels:r.extendFlat({},Te,ae),eventData:[Te]},{container:O,gd:F,inOut_bbox:Ie}),Te.bbox=Ie[0]}fe.distance<5&&(fe.buttons||w)?F.emit("plotly_click",Ue):F.emit("plotly_hover",Ue),this.oldEventData=Ue}else i.loneUnhover(O),this.oldEventData&&F.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;z.drawAnnotations(z)},E.recoverContext=function(){var z=this;z.glplot.dispose();var F=function(){if(z.glplot.gl.isContextLost()){requestAnimationFrame(F);return}if(!z.initializeGLPlot()){r.error("Catastrophic and unrecoverable WebGL error. Context lost.");return}z.plot.apply(z,z.plotArgs)};requestAnimationFrame(F)};var b=["xaxis","yaxis","zaxis"];function v(z,F,B){for(var O=z.fullSceneLayout,I=0;I<3;I++){var N=b[I],U=N.charAt(0),W=O[N],Q=F[U],le=F[U+"calendar"],se=F["_"+U+"length"];if(!r.isArrayOrTypedArray(Q))B[0][I]=Math.min(B[0][I],0),B[1][I]=Math.max(B[1][I],se-1);else for(var fe,G=0;G<(se||Q.length);G++)if(r.isArrayOrTypedArray(Q[G]))for(var $=0;$X[1][U])X[0][U]=-1,X[1][U]=1;else{var it=X[1][U]-X[0][U];X[0][U]-=it/32,X[1][U]+=it/32}if(j=[X[0][U],X[1][U]],j=T(j,Q),X[0][U]=j[0],X[1][U]=j[1],Q.isReversed()){var at=X[0][U];X[0][U]=X[1][U],X[1][U]=at}}else j=Q.range,X[0][U]=Q.r2l(j[0]),X[1][U]=Q.r2l(j[1]);X[0][U]===X[1][U]&&(X[0][U]-=1,X[1][U]+=1),re[U]=X[1][U]-X[0][U],Q.range=[X[0][U],X[1][U]],Q.limitRange(),O.glplot.setBounds(U,{min:Q.range[0]*$[U],max:Q.range[1]*$[U]})}var tt,ut=se.aspectmode;if(ut==="cube")tt=[1,1,1];else if(ut==="manual"){var Me=se.aspectratio;tt=[Me.x,Me.y,Me.z]}else if(ut==="auto"||ut==="data"){var pe=[1,1,1];for(U=0;U<3;++U){Q=se[b[U]],le=Q.type;var ue=ae[le];pe[U]=Math.pow(ue.acc,1/ue.count)/$[U]}ut==="data"||Math.max.apply(null,pe)/Math.min.apply(null,pe)<=4?tt=pe:tt=[1,1,1]}else throw new Error("scene.js aspectRatio was not one of the enumerated types");se.aspectratio.x=fe.aspectratio.x=tt[0],se.aspectratio.y=fe.aspectratio.y=tt[1],se.aspectratio.z=fe.aspectratio.z=tt[2],O.glplot.setAspectratio(se.aspectratio),O.viewInitial.aspectratio||(O.viewInitial.aspectratio={x:se.aspectratio.x,y:se.aspectratio.y,z:se.aspectratio.z}),O.viewInitial.aspectmode||(O.viewInitial.aspectmode=se.aspectmode);var Oe=se.domain||null,rt=F._size||null;if(Oe&&rt){var ot=O.container.style;ot.position="absolute",ot.left=rt.l+Oe.x[0]*rt.w+"px",ot.top=rt.t+(1-Oe.y[1])*rt.h+"px",ot.width=rt.w*(Oe.x[1]-Oe.x[0])+"px",ot.height=rt.h*(Oe.y[1]-Oe.y[0])+"px"}O.glplot.redraw()}},E.destroy=function(){var z=this;z.glplot&&(z.camera.mouseListener.enabled=!1,z.container.removeEventListener("wheel",z.camera.wheelListener),z.camera=null,z.glplot.dispose(),z.container.parentNode.removeChild(z.container),z.glplot=null)};function y(z){return[[z.eye.x,z.eye.y,z.eye.z],[z.center.x,z.center.y,z.center.z],[z.up.x,z.up.y,z.up.z]]}function f(z){return{up:{x:z.up[0],y:z.up[1],z:z.up[2]},center:{x:z.center[0],y:z.center[1],z:z.center[2]},eye:{x:z.eye[0],y:z.eye[1],z:z.eye[2]},projection:{type:z._ortho===!0?"orthographic":"perspective"}}}E.getCamera=function(){var z=this;return z.camera.view.recalcMatrix(z.camera.view.lastT()),f(z.camera)},E.setViewport=function(z){var F=this,B=z.camera;F.camera.lookAt.apply(this,y(B)),F.glplot.setAspectratio(z.aspectratio);var O=B.projection.type==="orthographic",I=F.camera._ortho;O!==I&&(F.glplot.redraw(),F.glplot.clearRGBA(),F.glplot.dispose(),F.initializeGLPlot())},E.isCameraChanged=function(z){var F=this,B=F.getCamera(),O=r.nestedProperty(z,F.id+".camera"),I=O.get();function N(le,se,fe,G){var $=["up","center","eye"],J=["x","y","z"];return se[$[fe]]&&le[$[fe]][J[G]]===se[$[fe]][J[G]]}var U=!1;if(I===void 0)U=!0;else{for(var W=0;W<3;W++)for(var Q=0;Q<3;Q++)if(!N(B,I,W,Q)){U=!0;break}(!I.projection||B.projection&&B.projection.type!==I.projection.type)&&(U=!0)}return U},E.isAspectChanged=function(z){var F=this,B=F.glplot.getAspectratio(),O=r.nestedProperty(z,F.id+".aspectratio"),I=O.get();return I===void 0||I.x!==B.x||I.y!==B.y||I.z!==B.z},E.saveLayout=function(z){var F=this,B=F.fullLayout,O,I,N,U,W,Q,le=F.isCameraChanged(z),se=F.isAspectChanged(z),fe=le||se;if(fe){var G={};if(le&&(O=F.getCamera(),I=r.nestedProperty(z,F.id+".camera"),N=I.get(),G[F.id+".camera"]=N),se&&(U=F.glplot.getAspectratio(),W=r.nestedProperty(z,F.id+".aspectratio"),Q=W.get(),G[F.id+".aspectratio"]=Q),t.call("_storeDirectGUIEdit",z,B._preGUI,G),le){I.set(O);var $=r.nestedProperty(B,F.id+".camera");$.set(O)}if(se){W.set(U);var J=r.nestedProperty(B,F.id+".aspectratio");J.set(U),F.glplot.redraw()}}return fe},E.updateFx=function(z,F){var B=this,O=B.camera;if(O)if(z==="orbit")O.mode="orbit",O.keyBindingMode="rotate";else if(z==="turntable"){O.up=[0,0,1],O.mode="turntable",O.keyBindingMode="rotate";var I=B.graphDiv,N=I._fullLayout,U=B.fullSceneLayout.camera,W=U.up.x,Q=U.up.y,le=U.up.z;if(le/Math.sqrt(W*W+Q*Q+le*le)<.999){var se=B.id+".camera.up",fe={x:0,y:0,z:1},G={};G[se]=fe;var $=I.layout;t.call("_storeDirectGUIEdit",$,N._preGUI,G),U.up=fe,r.nestedProperty($,se).set(fe)}}else O.keyBindingMode=z;B.fullSceneLayout.hovermode=F};function P(z,F,B){for(var O=0,I=B-1;O0)for(var W=255/U,Q=0;Q<3;++Q)z[N+Q]=Math.min(W*z[N+Q],255)}}E.toImage=function(z){var F=this;z||(z="png"),F.staticMode&&F.container.appendChild(l),F.glplot.redraw();var B=F.glplot.gl,O=B.drawingBufferWidth,I=B.drawingBufferHeight;B.bindFramebuffer(B.FRAMEBUFFER,null);var N=new Uint8Array(O*I*4);B.readPixels(0,0,O,I,B.RGBA,B.UNSIGNED_BYTE,N),P(N,O,I),L(N,O,I);var U=document.createElement("canvas");U.width=O,U.height=I;var W=U.getContext("2d",{willReadFrequently:!0}),Q=W.createImageData(O,I);Q.data.set(N),W.putImageData(Q,0,0);var le;switch(z){case"jpeg":le=U.toDataURL("image/jpeg");break;case"webp":le=U.toDataURL("image/webp");break;default:le=U.toDataURL("image/png")}return F.staticMode&&F.container.removeChild(l),le},E.setConvert=function(){for(var z=this,F=0;F<3;F++){var B=z.fullSceneLayout[b[F]];n.setConvert(B,z.fullLayout),B.setScale=r.noop}},E.make4thDimension=function(){var z=this,F=z.graphDiv,B=F._fullLayout;z._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},n.setConvert(z._mockAxis,B)},H.exports=M}}),CI=ke({"src/plots/gl3d/layout/attributes.js"(Z,H){"use strict";H.exports={scene:{valType:"subplotid",dflt:"scene",editType:"calc+clearAxisTypes"}}}}),aA=ke({"src/plots/gl3d/layout/axis_attributes.js"(Z,H){"use strict";var g=eo(),x=wh(),A=To().extendFlat,S=ju().overrideAll;H.exports=S({visible:x.visible,showspikes:{valType:"boolean",dflt:!0},spikesides:{valType:"boolean",dflt:!0},spikethickness:{valType:"number",min:0,dflt:2},spikecolor:{valType:"color",dflt:g.defaultLine},showbackground:{valType:"boolean",dflt:!1},backgroundcolor:{valType:"color",dflt:"rgba(204, 204, 204, 0.5)"},showaxeslabels:{valType:"boolean",dflt:!0},color:x.color,categoryorder:x.categoryorder,categoryarray:x.categoryarray,title:{text:x.title.text,font:x.title.font},type:A({},x.type,{values:["-","linear","log","date","category"]}),autotypenumbers:x.autotypenumbers,autorange:x.autorange,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:"plot"},rangemode:x.rangemode,minallowed:x.minallowed,maxallowed:x.maxallowed,range:A({},x.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],anim:!1}),tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,mirror:x.mirror,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,tickfont:x.tickfont,tickangle:x.tickangle,tickprefix:x.tickprefix,showtickprefix:x.showtickprefix,ticksuffix:x.ticksuffix,showticksuffix:x.showticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickformat:x.tickformat,tickformatstops:x.tickformatstops,hoverformat:x.hoverformat,showline:x.showline,linecolor:x.linecolor,linewidth:x.linewidth,showgrid:x.showgrid,gridcolor:A({},x.gridcolor,{dflt:"rgb(204, 204, 204)"}),gridwidth:x.gridwidth,zeroline:x.zeroline,zerolinecolor:x.zerolinecolor,zerolinewidth:x.zerolinewidth},"plot","from-root")}}),oA=ke({"src/plots/gl3d/layout/layout_attributes.js"(Z,H){"use strict";var g=aA(),x=Yu().attributes,A=To().extendFlat,S=un().counterRegex;function e(t,r,o){return{x:{valType:"number",dflt:t,editType:"camera"},y:{valType:"number",dflt:r,editType:"camera"},z:{valType:"number",dflt:o,editType:"camera"},editType:"camera"}}H.exports={_arrayAttrRegexps:[S("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:A(e(0,0,1),{}),center:A(e(0,0,0),{}),eye:A(e(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:x({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:g,yaxis:g,zaxis:g,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot"}}}),kI=ke({"src/plots/gl3d/layout/axis_defaults.js"(Z,H){"use strict";var g=ru().mix,x=un(),A=yl(),S=aA(),e=T2(),t=s0(),r=["xaxis","yaxis","zaxis"],o=100*136/187;H.exports=function(i,a,s){var c,h;function p(l,_){return x.coerce(c,h,S,l,_)}for(var d=0;d1;function p(d){if(!h){var T=g.validate(a[d],t[d]);if(T)return a[d]}}S(a,s,c,{type:o,attributes:t,handleDefaults:n,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:p,autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})};function n(i,a,s,c){for(var h=s("bgcolor"),p=x.combine(h,c.paper_bgcolor),d=["up","center","eye"],T=0;T.999)&&(E="turntable")}else E="turntable";s("dragmode",E),s("hovermode",c.getDfltFromLayout("hovermode"))}}}),Yp=ke({"src/plots/gl3d/index.js"(Z){"use strict";var H=ju().overrideAll,g=vl(),x=EI(),A=bh().getSubplotData,S=un(),e=zd(),t="gl3d",r="scene";Z.name=t,Z.attr=r,Z.idRoot=r,Z.idRegex=Z.attrRegex=S.counterRegex("scene"),Z.attributes=CI(),Z.layoutAttributes=oA(),Z.baseLayoutAttrOverrides=H({hoverlabel:g.hoverlabel},"plot","nested"),Z.supplyLayoutDefaults=LI(),Z.plot=function(n){for(var i=n._fullLayout,a=n._fullData,s=i._subplots[t],c=0;c0){P=c[L];break}return P}function T(y,f){if(!(y<1||f<1)){for(var P=p(y),L=p(f),z=1,F=0;FM;)L--,L/=d(L),L++,L1?z:1};function E(y,f,P){var L=P[8]+P[2]*f[0]+P[5]*f[1];return y[0]=(P[6]+P[0]*f[0]+P[3]*f[1])/L,y[1]=(P[7]+P[1]*f[0]+P[4]*f[1])/L,y}function m(y,f,P){return b(y,f,E,P),y}function b(y,f,P,L){for(var z=[0,0],F=y.shape[0],B=y.shape[1],O=0;O0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(f[L]=!0,z=this.contourStart[L];zQ&&(this.minValues[N]=Q),this.maxValues[N]c&&(o.isomin=null,o.isomax=null);var h=a("x"),p=a("y"),d=a("z"),T=a("value");if(!h||!h.length||!p||!p.length||!d||!d.length||!T||!T.length){o.visible=!1;return}var l=x.getComponentMethod("calendars","handleTraceDefaults");l(r,o,["x","y","z"],i),a("valuehoverformat"),["x","y","z"].forEach(function(E){a(E+"hoverformat");var m="caps."+E,b=a(m+".show");b&&a(m+".fill");var v="slices."+E,u=a(v+".show");u&&(a(v+".fill"),a(v+".locations"))});var _=a("spaceframe.show");_&&a("spaceframe.fill");var w=a("surface.show");w&&(a("surface.count"),a("surface.fill"),a("surface.pattern"));var M=a("contour.show");M&&(a("contour.color"),a("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(E){a(E)}),S(r,o,i,a,{prefix:"",cLetter:"c"}),o._length=null}H.exports={supplyDefaults:e,supplyIsoDefaults:t}}}),Xx=ke({"src/traces/streamtube/calc.js"(Z,H){"use strict";var g=un(),x=od();function A(r,o){o._len=Math.min(o.u.length,o.v.length,o.w.length,o.x.length,o.y.length,o.z.length),o._u=t(o.u,o._len),o._v=t(o.v,o._len),o._w=t(o.w,o._len),o._x=t(o.x,o._len),o._y=t(o.y,o._len),o._z=t(o.z,o._len);var n=S(o);o._gridFill=n.fill,o._Xs=n.Xs,o._Ys=n.Ys,o._Zs=n.Zs,o._len=n.len;var i=0,a,s,c;o.starts&&(a=t(o.starts.x||[]),s=t(o.starts.y||[]),c=t(o.starts.z||[]),i=Math.min(a.length,s.length,c.length)),o._startsX=a||[],o._startsY=s||[],o._startsZ=c||[];var h=0,p=1/0,d;for(d=0;d1&&(u=o[a-1],f=n[a-1],L=i[a-1]),s=0;su?"-":"+")+"x"),M=M.replace("y",(y>f?"-":"+")+"y"),M=M.replace("z",(P>L?"-":"+")+"z");var O=function(){a=0,z=[],F=[],B=[]};(!a||a0;p--){var d=Math.min(h[p],h[p-1]),T=Math.max(h[p],h[p-1]);if(T>d&&d-1}function ee(_t,Be){return _t===null?Be:_t}function ie(_t,Be,Ke){le();var je=[Be],Se=[Ke];if(X>=1)je=[Be],Se=[Ke];else if(X>0){var He=ae(Be,Ke);je=He.xyzv,Se=He.abc}for(var Ee=0;Ee-1?Ke[Le]:Q(nt,pt,bt);Nt>-1?we[Le]=Nt:we[Le]=fe(nt,pt,bt,ee(_t,Rt))}G(we[0],we[1],we[2])}}function ce(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(2,3,0)}function xe(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(3,0,1),je(2,3,0),je(1,2,3)}function Te(_t,Be,Ke,je){var Se=_t[3];Seje&&(Se=je);for(var He=(_t[3]-Se)/(_t[3]-Be[3]+1e-9),Ee=[],we=0;we<4;we++)Ee[we]=(1-He)*_t[we]+He*Be[we];return Ee}function Ue(_t,Be,Ke){return _t>=Be&&_t<=Ke}function Ie(_t){var Be=.001*(O-B);return _t>=B-Be&&_t<=O+Be}function Ye(_t){for(var Be=[],Ke=0;Ke<4;Ke++){var je=_t[Ke];Be.push([c._x[je],c._y[je],c._z[je],c._value[je]])}return Be}var it=3;function at(_t,Be,Ke,je,Se,He){He||(He=1),Ke=[-1,-1,-1];var Ee=!1,we=[Ue(Be[0][3],je,Se),Ue(Be[1][3],je,Se),Ue(Be[2][3],je,Se)];if(!we[0]&&!we[1]&&!we[2])return!1;var Le=function(pt,bt,Rt){return Ie(bt[0][3])&&Ie(bt[1][3])&&Ie(bt[2][3])?(ie(pt,bt,Rt),!0):Hewe?[z,He]:[He,F];Bt(Be,Le[0],Le[1])}}var nt=[[Math.min(B,F),Math.max(B,F)],[Math.min(z,O),Math.max(z,O)]];["x","y","z"].forEach(function(pt){for(var bt=[],Rt=0;Rt0&&(Rn.push(ni.id),pt==="x"?Nn.push([ni.distRatio,0,0]):pt==="y"?Nn.push([0,ni.distRatio,0]):Nn.push([0,0,ni.distRatio]))}else pt==="x"?pn=Rr(1,u-1):pt==="y"?pn=Rr(1,y-1):pn=Rr(1,f-1);Rn.length>0&&(pt==="x"?bt[Nt]=qt(_t,Rn,Xt,$t,Nn,bt[Nt]):pt==="y"?bt[Nt]=fr(_t,Rn,Xt,$t,Nn,bt[Nt]):bt[Nt]=ar(_t,Rn,Xt,$t,Nn,bt[Nt]),Nt++),pn.length>0&&(pt==="x"?bt[Nt]=rt(_t,pn,Xt,$t,bt[Nt]):pt==="y"?bt[Nt]=ot(_t,pn,Xt,$t,bt[Nt]):bt[Nt]=et(_t,pn,Xt,$t,bt[Nt]),Nt++)}var zn=c.caps[pt];zn.show&&zn.fill&&(re(zn.fill),pt==="x"?bt[Nt]=rt(_t,[0,u-1],Xt,$t,bt[Nt]):pt==="y"?bt[Nt]=ot(_t,[0,y-1],Xt,$t,bt[Nt]):bt[Nt]=et(_t,[0,f-1],Xt,$t,bt[Nt]),Nt++)}}),w===0&&se(),c._meshX=I,c._meshY=N,c._meshZ=U,c._meshIntensity=W,c._Xs=m,c._Ys=b,c._Zs=v}return br(),c}function s(c,h){var p=c.glplot.gl,d=g({gl:p}),T=new o(c,d,h.uid);return d._trace=T,T.update(h),c.glplot.add(d),T}H.exports={findNearestOnAxis:r,generateIsoMeshes:a,createIsosurfaceTrace:s}}}),OI=ke({"src/traces/isosurface/index.js"(Z,H){"use strict";H.exports={attributes:Wx(),supplyDefaults:lA().supplyDefaults,calc:uA(),colorbar:{min:"cmin",max:"cmax"},plot:Zx().createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),BI=ke({"lib/isosurface.js"(Z,H){"use strict";H.exports=OI()}}),cA=ke({"src/traces/volume/attributes.js"(Z,H){"use strict";var g=ou(),x=Wx(),A=q0(),S=Ol(),e=To().extendFlat,t=ju().overrideAll,r=H.exports=t(e({x:x.x,y:x.y,z:x.z,value:x.value,isomin:x.isomin,isomax:x.isomax,surface:x.surface,spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:1}},slices:x.slices,caps:x.caps,text:x.text,hovertext:x.hovertext,xhoverformat:x.xhoverformat,yhoverformat:x.yhoverformat,zhoverformat:x.zhoverformat,valuehoverformat:x.valuehoverformat,hovertemplate:x.hovertemplate},g("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{colorbar:x.colorbar,opacity:x.opacity,opacityscale:A.opacityscale,lightposition:x.lightposition,lighting:x.lighting,flatshading:x.flatshading,contour:x.contour,hoverinfo:e({},S.hoverinfo),showlegend:e({},S.showlegend,{dflt:!1})}),"calc","nested");r.x.editType=r.y.editType=r.z.editType=r.value.editType="calc+clearAxisTypes"}}),NI=ke({"src/traces/volume/defaults.js"(Z,H){"use strict";var g=un(),x=cA(),A=lA().supplyIsoDefaults,S=sA().opacityscaleDefaults;H.exports=function(t,r,o,n){function i(a,s){return g.coerce(t,r,x,a,s)}A(t,r,o,n,i),S(t,r,n,i)}}}),UI=ke({"src/traces/volume/convert.js"(Z,H){"use strict";var g=Mh().gl_mesh3d,x=np().parseColorScale,A=un().isArrayOrTypedArray,S=rp(),e=ku().extractOpts,t=vy(),r=Zx().findNearestOnAxis,o=Zx().generateIsoMeshes;function n(s,c,h){this.scene=s,this.uid=h,this.mesh=c,this.name="",this.data=null,this.showContour=!1}var i=n.prototype;i.handlePick=function(s){if(s.object===this.mesh){var c=s.data.index,h=this.data._meshX[c],p=this.data._meshY[c],d=this.data._meshZ[c],T=this.data._Ys.length,l=this.data._Zs.length,_=r(h,this.data._Xs).id,w=r(p,this.data._Ys).id,M=r(d,this.data._Zs).id,E=s.index=M+l*w+l*T*_;s.traceCoordinate=[this.data._meshX[E],this.data._meshY[E],this.data._meshZ[E],this.data._value[E]];var m=this.data.hovertext||this.data.text;return A(m)&&m[E]!==void 0?s.textLabel=m[E]:m&&(s.textLabel=m),!0}},i.update=function(s){var c=this.scene,h=c.fullSceneLayout;this.data=o(s);function p(w,M,E,m){return M.map(function(b){return w.d2l(b,0,m)*E})}var d=t(p(h.xaxis,s._meshX,c.dataScale[0],s.xcalendar),p(h.yaxis,s._meshY,c.dataScale[1],s.ycalendar),p(h.zaxis,s._meshZ,c.dataScale[2],s.zcalendar)),T=t(s._meshI,s._meshJ,s._meshK),l={positions:d,cells:T,lightPosition:[s.lightposition.x,s.lightposition.y,s.lightposition.z],ambient:s.lighting.ambient,diffuse:s.lighting.diffuse,specular:s.lighting.specular,roughness:s.lighting.roughness,fresnel:s.lighting.fresnel,vertexNormalsEpsilon:s.lighting.vertexnormalsepsilon,faceNormalsEpsilon:s.lighting.facenormalsepsilon,opacity:s.opacity,opacityscale:s.opacityscale,contourEnable:s.contour.show,contourColor:S(s.contour.color).slice(0,3),contourWidth:s.contour.width,useFacetNormals:s.flatshading},_=e(s);l.vertexIntensity=s._meshIntensity,l.vertexIntensityBounds=[_.min,_.max],l.colormap=x(s),this.mesh.update(l)},i.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function a(s,c){var h=s.glplot.gl,p=g({gl:h}),d=new n(s,p,c.uid);return p._trace=d,d.update(c),s.glplot.add(p),d}H.exports=a}}),jI=ke({"src/traces/volume/index.js"(Z,H){"use strict";H.exports={attributes:cA(),supplyDefaults:NI(),calc:uA(),colorbar:{min:"cmin",max:"cmax"},plot:UI(),moduleType:"trace",name:"volume",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),VI=ke({"lib/volume.js"(Z,H){"use strict";H.exports=jI()}}),qI=ke({"src/traces/mesh3d/defaults.js"(Z,H){"use strict";var g=lo(),x=un(),A=Kf(),S=dy();H.exports=function(t,r,o,n){function i(p,d){return x.coerce(t,r,S,p,d)}function a(p){var d=p.map(function(T){var l=i(T);return l&&x.isArrayOrTypedArray(l)?l:null});return d.every(function(T){return T&&T.length===d[0].length})&&d}var s=a(["x","y","z"]);if(!s){r.visible=!1;return}if(a(["i","j","k"]),r.i&&(!r.j||!r.k)||r.j&&(!r.k||!r.i)||r.k&&(!r.i||!r.j)){r.visible=!1;return}var c=g.getComponentMethod("calendars","handleTraceDefaults");c(t,r,["x","y","z"],n),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach(function(p){i(p)});var h=i("contour.show");h&&(i("contour.color"),i("contour.width")),"intensity"in t?(i("intensity"),i("intensitymode"),A(t,r,n,i,{prefix:"",cLetter:"c"})):(r.showscale=!1,"facecolor"in t?i("facecolor"):"vertexcolor"in t?i("vertexcolor"):i("color",o)),i("text"),i("hovertext"),i("hovertemplate"),i("xhoverformat"),i("yhoverformat"),i("zhoverformat"),r._length=null}}}),HI=ke({"src/traces/mesh3d/calc.js"(Z,H){"use strict";var g=od();H.exports=function(A,S){S.intensity&&g(A,S,{vals:S.intensity,containerStr:"",cLetter:"c"})}}}),GI=ke({"src/traces/mesh3d/convert.js"(Z,H){"use strict";var g=Mh().gl_mesh3d,x=Mh().delaunay_triangulate,A=Mh().alpha_shape,S=Mh().convex_hull,e=np().parseColorScale,t=un().isArrayOrTypedArray,r=rp(),o=ku().extractOpts,n=vy();function i(l,_,w){this.scene=l,this.uid=w,this.mesh=_,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var a=i.prototype;a.handlePick=function(l){if(l.object===this.mesh){var _=l.index=l.data.index;l.data._cellCenter?l.traceCoordinate=l.data.dataCoordinate:l.traceCoordinate=[this.data.x[_],this.data.y[_],this.data.z[_]];var w=this.data.hovertext||this.data.text;return t(w)&&w[_]!==void 0?l.textLabel=w[_]:w&&(l.textLabel=w),!0}};function s(l){for(var _=[],w=l.length,M=0;M=_-.5)return!1;return!0}a.update=function(l){var _=this.scene,w=_.fullSceneLayout;this.data=l;var M=l.x.length,E=n(c(w.xaxis,l.x,_.dataScale[0],l.xcalendar),c(w.yaxis,l.y,_.dataScale[1],l.ycalendar),c(w.zaxis,l.z,_.dataScale[2],l.zcalendar)),m;if(l.i&&l.j&&l.k){if(l.i.length!==l.j.length||l.j.length!==l.k.length||!d(l.i,M)||!d(l.j,M)||!d(l.k,M))return;m=n(h(l.i),h(l.j),h(l.k))}else l.alphahull===0?m=S(E):l.alphahull>0?m=A(l.alphahull,E):m=p(l.delaunayaxis,E);var b={positions:E,cells:m,lightPosition:[l.lightposition.x,l.lightposition.y,l.lightposition.z],ambient:l.lighting.ambient,diffuse:l.lighting.diffuse,specular:l.lighting.specular,roughness:l.lighting.roughness,fresnel:l.lighting.fresnel,vertexNormalsEpsilon:l.lighting.vertexnormalsepsilon,faceNormalsEpsilon:l.lighting.facenormalsepsilon,opacity:l.opacity,contourEnable:l.contour.show,contourColor:r(l.contour.color).slice(0,3),contourWidth:l.contour.width,useFacetNormals:l.flatshading};if(l.intensity){var v=o(l);this.color="#fff";var u=l.intensitymode;b[u+"Intensity"]=l.intensity,b[u+"IntensityBounds"]=[v.min,v.max],b.colormap=e(l)}else l.vertexcolor?(this.color=l.vertexcolor[0],b.vertexColors=s(l.vertexcolor)):l.facecolor?(this.color=l.facecolor[0],b.cellColors=s(l.facecolor)):(this.color=l.color,b.meshColor=r(l.color));this.mesh.update(b)},a.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function T(l,_){var w=l.glplot.gl,M=g({gl:w}),E=new i(l,M,_.uid);return M._trace=E,E.update(_),l.glplot.add(M),E}H.exports=T}}),WI=ke({"src/traces/mesh3d/index.js"(Z,H){"use strict";H.exports={attributes:dy(),supplyDefaults:qI(),calc:HI(),colorbar:{min:"cmin",max:"cmax"},plot:GI(),moduleType:"trace",name:"mesh3d",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),XI=ke({"lib/mesh3d.js"(Z,H){"use strict";H.exports=WI()}}),fA=ke({"src/traces/cone/attributes.js"(Z,H){"use strict";var g=ou(),x=Sc().axisHoverFormat,A=Rs().hovertemplateAttrs,S=dy(),e=Ol(),t=To().extendFlat,r={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute","raw"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:A({editType:"calc"},{keys:["norm"]}),uhoverformat:x("u",1),vhoverformat:x("v",1),whoverformat:x("w",1),xhoverformat:x("x"),yhoverformat:x("y"),zhoverformat:x("z"),showlegend:t({},e.showlegend,{dflt:!1})};t(r,g("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var o=["opacity","lightposition","lighting"];o.forEach(function(n){r[n]=S[n]}),r.hoverinfo=t({},e.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),H.exports=r}}),ZI=ke({"src/traces/cone/defaults.js"(Z,H){"use strict";var g=un(),x=Kf(),A=fA();H.exports=function(e,t,r,o){function n(T,l){return g.coerce(e,t,A,T,l)}var i=n("u"),a=n("v"),s=n("w"),c=n("x"),h=n("y"),p=n("z");if(!i||!i.length||!a||!a.length||!s||!s.length||!c||!c.length||!h||!h.length||!p||!p.length){t.visible=!1;return}var d=n("sizemode");n("sizeref",d==="raw"?1:.5),n("anchor"),n("lighting.ambient"),n("lighting.diffuse"),n("lighting.specular"),n("lighting.roughness"),n("lighting.fresnel"),n("lightposition.x"),n("lightposition.y"),n("lightposition.z"),x(e,t,o,n,{prefix:"",cLetter:"c"}),n("text"),n("hovertext"),n("hovertemplate"),n("uhoverformat"),n("vhoverformat"),n("whoverformat"),n("xhoverformat"),n("yhoverformat"),n("zhoverformat"),t._length=null}}}),YI=ke({"src/traces/cone/calc.js"(Z,H){"use strict";var g=od();H.exports=function(A,S){for(var e=S.u,t=S.v,r=S.w,o=Math.min(S.x.length,S.y.length,S.z.length,e.length,t.length,r.length),n=-1/0,i=1/0,a=0;a2?d=h.slice(1,p-1):p===2?d=[(h[0]+h[1])/2]:d=h,d}function a(h){var p=h.length;return p===1?[.5,.5]:[h[1]-h[0],h[p-1]-h[p-2]]}function s(h,p){var d=h.fullSceneLayout,T=h.dataScale,l=p._len,_={};function w(fe,G){var $=d[G],J=T[r[G]];return A.simpleMap(fe,function(X){return $.d2l(X)*J})}if(_.vectors=t(w(p._u,"xaxis"),w(p._v,"yaxis"),w(p._w,"zaxis"),l),!l)return{positions:[],cells:[]};var M=w(p._Xs,"xaxis"),E=w(p._Ys,"yaxis"),m=w(p._Zs,"zaxis");_.meshgrid=[M,E,m],_.gridFill=p._gridFill;var b=p._slen;if(b)_.startingPositions=t(w(p._startsX,"xaxis"),w(p._startsY,"yaxis"),w(p._startsZ,"zaxis"));else{for(var v=E[0],u=i(M),y=i(m),f=new Array(u.length*y.length),P=0,L=0;Lv&&(v=P[0]),P[1]u&&(u=P[1])}function f(P){switch(P.type){case"GeometryCollection":P.geometries.forEach(f);break;case"Point":y(P.coordinates);break;case"MultiPoint":P.coordinates.forEach(y);break}}w.arcs.forEach(function(P){for(var L=-1,z=P.length,F;++Lv&&(v=F[0]),F[1]u&&(u=F[1])});for(E in w.objects)f(w.objects[E]);return[m,b,v,u]}function e(w,M){for(var E,m=w.length,b=m-M;b<--m;)E=w[b],w[b++]=w[m],w[m]=E}function t(w,M){return typeof M=="string"&&(M=w.objects[M]),M.type==="GeometryCollection"?{type:"FeatureCollection",features:M.geometries.map(function(E){return r(w,E)})}:r(w,M)}function r(w,M){var E=M.id,m=M.bbox,b=M.properties==null?{}:M.properties,v=o(w,M);return E==null&&m==null?{type:"Feature",properties:b,geometry:v}:m==null?{type:"Feature",id:E,properties:b,geometry:v}:{type:"Feature",id:E,bbox:m,properties:b,geometry:v}}function o(w,M){var E=A(w.transform),m=w.arcs;function b(L,z){z.length&&z.pop();for(var F=m[L<0?~L:L],B=0,O=F.length;B1)m=s(w,M,E);else for(b=0,m=new Array(v=w.arcs.length);b1)for(var z=1,F=y(P[0]),B,O;zF&&(O=P[0],P[0]=P[z],P[z]=O,F=B);return P}).filter(function(f){return f.length>0})}}function d(w,M){for(var E=0,m=w.length;E>>1;w[b]=2))throw new Error("n must be \u22652");f=w.bbox||S(w);var E=f[0],m=f[1],b=f[2],v=f[3],u;M={scale:[b-E?(b-E)/(u-1):1,v-m?(v-m)/(u-1):1],translate:[E,m]}}else f=w.bbox;var y=l(M),f,P,L=w.objects,z={};function F(I){return y(I)}function B(I){var N;switch(I.type){case"GeometryCollection":N={type:"GeometryCollection",geometries:I.geometries.map(B)};break;case"Point":N={type:"Point",coordinates:F(I.coordinates)};break;case"MultiPoint":N={type:"MultiPoint",coordinates:I.coordinates.map(F)};break;default:return I}return I.id!=null&&(N.id=I.id),I.bbox!=null&&(N.bbox=I.bbox),I.properties!=null&&(N.properties=I.properties),N}function O(I){var N=0,U=1,W=I.length,Q,le=new Array(W);for(le[0]=y(I[0],0);++N0&&(S.push(e),e=[])}return e.length>0&&S.push(e),S},Z.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},Z.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var x=new Array(g.length),A=0;Ae(B,z)),F)}function r(L,z,F={}){for(let O of L){if(O.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(O[O.length-1].length!==O[0].length)throw new Error("First and last Position are not equivalent.");for(let I=0;Ir(B,z)),F)}function n(L,z,F={}){if(L.length<2)throw new Error("coordinates must be an array of two or more positions");return A({type:"LineString",coordinates:L},z,F)}function i(L,z,F={}){return a(L.map(B=>n(B,z)),F)}function a(L,z={}){let F={type:"FeatureCollection"};return z.id&&(F.id=z.id),z.bbox&&(F.bbox=z.bbox),F.features=L,F}function s(L,z,F={}){return A({type:"MultiLineString",coordinates:L},z,F)}function c(L,z,F={}){return A({type:"MultiPoint",coordinates:L},z,F)}function h(L,z,F={}){return A({type:"MultiPolygon",coordinates:L},z,F)}function p(L,z,F={}){return A({type:"GeometryCollection",geometries:L},z,F)}function d(L,z=0){if(z&&!(z>=0))throw new Error("precision must be a positive number");let F=Math.pow(10,z||0);return Math.round(L*F)/F}function T(L,z="kilometers"){let F=g[z];if(!F)throw new Error(z+" units is invalid");return L*F}function l(L,z="kilometers"){let F=g[z];if(!F)throw new Error(z+" units is invalid");return L/F}function _(L,z){return E(l(L,z))}function w(L){let z=L%360;return z<0&&(z+=360),z}function M(L){return L=L%360,L>0?L>180?L-360:L:L<-180?L+360:L}function E(L){return L%(2*Math.PI)*180/Math.PI}function m(L){return L%360*Math.PI/180}function b(L,z="kilometers",F="kilometers"){if(!(L>=0))throw new Error("length must be a positive number");return T(l(L,z),F)}function v(L,z="meters",F="kilometers"){if(!(L>=0))throw new Error("area must be a positive number");let B=x[z];if(!B)throw new Error("invalid original units");let O=x[F];if(!O)throw new Error("invalid final units");return L/B*O}function u(L){return!isNaN(L)&&L!==null&&!Array.isArray(L)}function y(L){return L!==null&&typeof L=="object"&&!Array.isArray(L)}function f(L){if(!L)throw new Error("bbox is required");if(!Array.isArray(L))throw new Error("bbox must be an Array");if(L.length!==4&&L.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");L.forEach(z=>{if(!u(z))throw new Error("bbox must only contain numbers")})}function P(L){if(!L)throw new Error("id is required");if(["string","number"].indexOf(typeof L)===-1)throw new Error("id must be a number or a string")}Z.areaFactors=x,Z.azimuthToBearing=M,Z.bearingToAzimuth=w,Z.convertArea=v,Z.convertLength=b,Z.degreesToRadians=m,Z.earthRadius=H,Z.factors=g,Z.feature=A,Z.featureCollection=a,Z.geometry=S,Z.geometryCollection=p,Z.isNumber=u,Z.isObject=y,Z.lengthToDegrees=_,Z.lengthToRadians=l,Z.lineString=n,Z.lineStrings=i,Z.multiLineString=s,Z.multiPoint=c,Z.multiPolygon=h,Z.point=e,Z.points=t,Z.polygon=r,Z.polygons=o,Z.radiansToDegrees=E,Z.radiansToLength=T,Z.round=d,Z.validateBBox=f,Z.validateId=P}}),$x=ke({"node_modules/@turf/meta/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=Jx();function g(l,_,w){if(l!==null)for(var M,E,m,b,v,u,y,f=0,P=0,L,z=l.type,F=z==="FeatureCollection",B=z==="Feature",O=F?l.features.length:1,I=0;Iu||F>y||B>f){v=P,u=M,y=F,f=B,m=0;return}var O=H.lineString.call(void 0,[v,P],w.properties);if(_(O,M,E,B,m)===!1)return!1;m++,v=P})===!1)return!1}}})}function c(l,_,w){var M=w,E=!1;return s(l,function(m,b,v,u,y){E===!1&&w===void 0?M=m:M=_(M,m,b,v,u,y),E=!0}),M}function h(l,_){if(!l)throw new Error("geojson is required");i(l,function(w,M,E){if(w.geometry!==null){var m=w.geometry.type,b=w.geometry.coordinates;switch(m){case"LineString":if(_(w,M,E,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vi+A(a),0)}function A(n){let i=0,a;switch(n.type){case"Polygon":return S(n.coordinates);case"MultiPolygon":for(a=0;a0){i+=Math.abs(r(n[0]));for(let a=1;a=i?(s+2)%i:s+2],d=c[0]*t,T=h[1]*t,l=p[0]*t;a+=(l-d)*Math.sin(T),s++}return a*e}var o=x;Z.area=x,Z.default=o}}),s6=ke({"node_modules/@turf/centroid/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=Jx(),g=$x();function x(S,e={}){let t=0,r=0,o=0;return g.coordEach.call(void 0,S,function(n){t+=n[0],r+=n[1],o++},!0),H.point.call(void 0,[t/o,r/o],e.properties)}var A=x;Z.centroid=x,Z.default=A}}),l6=ke({"node_modules/@turf/bbox/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=$x();function g(A,S={}){if(A.bbox!=null&&S.recompute!==!0)return A.bbox;let e=[1/0,1/0,-1/0,-1/0];return H.coordEach.call(void 0,A,t=>{e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]0&&z[F+1][0]<0)return F;return null}switch(b==="RUS"||b==="FJI"?u=function(z){var F;if(L(z)===null)F=z;else for(F=new Array(z.length),P=0;PF?B[O++]=[z[P][0]+360,z[P][1]]:P===F?(B[O++]=z[P],B[O++]=[z[P][0],-90]):B[O++]=z[P];var I=i.tester(B);I.pts.pop(),v.push(I)}:u=function(z){v.push(i.tester(z))},E.type){case"MultiPolygon":for(y=0;y0?I.properties.ct=l(I):I.properties.ct=[NaN,NaN],B.fIn=z,B.fOut=I,v.push(I)}else r.log(["Location",B.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete b[F]}switch(m.type){case"FeatureCollection":var P=m.features;for(u=0;uv&&(v=f,m=y)}else m=E;return S(m).geometry.coordinates}function _(M){var E=window.PlotlyGeoAssets||{},m=[];function b(P){return new Promise(function(L,z){g.json(P,function(F,B){if(F){delete E[P];var O=F.status===404?'GeoJSON at URL "'+P+'" does not exist.':"Unexpected error while fetching from "+P;return z(new Error(O))}return E[P]=B,L(B)})})}function v(P){return new Promise(function(L,z){var F=0,B=setInterval(function(){if(E[P]&&E[P]!=="pending")return clearInterval(B),L(E[P]);if(F>100)return clearInterval(B),z("Unexpected error while fetching from "+P);F++},50)})}for(var u=0;u")}}}),c6=ke({"src/traces/scattergeo/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){x.lon=A.lon,x.lat=A.lat,x.location=A.loc?A.loc:null;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x}}}),f6=ke({"src/traces/scattergeo/select.js"(Z,H){"use strict";var g=vu(),x=Hi().BADNUM;H.exports=function(S,e){var t=S.cd,r=S.xaxis,o=S.yaxis,n=[],i=t[0].trace,a,s,c,h,p,d=!g.hasMarkers(i)&&!g.hasText(i);if(d)return[];if(e===!1)for(p=0;pX?1:J>=X?0:NaN}function A(J){return J.length===1&&(J=S(J)),{left:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)<0?ae=ee+1:j=ee}return ae},right:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)>0?j=ee:ae=ee+1}return ae}}}function S(J){return function(X,re){return x(J(X),re)}}var e=A(x),t=e.right,r=e.left;function o(J,X){X==null&&(X=n);for(var re=0,ae=J.length-1,j=J[0],ee=new Array(ae<0?0:ae);reJ?1:X>=J?0:NaN}function s(J){return J===null?NaN:+J}function c(J,X){var re=J.length,ae=0,j=-1,ee=0,ie,ce,xe=0;if(X==null)for(;++j1)return xe/(ae-1)}function h(J,X){var re=c(J,X);return re&&Math.sqrt(re)}function p(J,X){var re=J.length,ae=-1,j,ee,ie;if(X==null){for(;++ae=j)for(ee=ie=j;++aej&&(ee=j),ie=j)for(ee=ie=j;++aej&&(ee=j),ie0)return[J];if((ae=X0)for(J=Math.ceil(J/ce),X=Math.floor(X/ce),ie=new Array(ee=Math.ceil(X-J+1));++j=0?(ee>=E?10:ee>=m?5:ee>=b?2:1)*Math.pow(10,j):-Math.pow(10,-j)/(ee>=E?10:ee>=m?5:ee>=b?2:1)}function y(J,X,re){var ae=Math.abs(X-J)/Math.max(0,re),j=Math.pow(10,Math.floor(Math.log(ae)/Math.LN10)),ee=ae/j;return ee>=E?j*=10:ee>=m?j*=5:ee>=b&&(j*=2),XIe;)Ye.pop(),--it;var at=new Array(it+1),tt;for(ee=0;ee<=it;++ee)tt=at[ee]=[],tt.x0=ee>0?Ye[ee-1]:Ue,tt.x1=ee=1)return+re(J[ae-1],ae-1,J);var ae,j=(ae-1)*X,ee=Math.floor(j),ie=+re(J[ee],ee,J),ce=+re(J[ee+1],ee+1,J);return ie+(ce-ie)*(j-ee)}}function z(J,X,re){return J=l.call(J,s).sort(x),Math.ceil((re-X)/(2*(L(J,.75)-L(J,.25))*Math.pow(J.length,-1/3)))}function F(J,X,re){return Math.ceil((re-X)/(3.5*h(J)*Math.pow(J.length,-1/3)))}function B(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aeee&&(ee=j)}else for(;++ae=j)for(ee=j;++aeee&&(ee=j);return ee}function O(J,X){var re=J.length,ae=re,j=-1,ee,ie=0;if(X==null)for(;++j=0;)for(ie=J[X],re=ie.length;--re>=0;)ee[--j]=ie[re];return ee}function U(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aej&&(ee=j)}else for(;++ae=j)for(ee=j;++aej&&(ee=j);return ee}function W(J,X){for(var re=X.length,ae=new Array(re);re--;)ae[re]=J[X[re]];return ae}function Q(J,X){if(re=J.length){var re,ae=0,j=0,ee,ie=J[j];for(X==null&&(X=x);++ae0?1:Yt<0?-1:0},v=Math.sqrt,u=Math.tan;function y(Yt){return Yt>1?0:Yt<-1?n:Math.acos(Yt)}function f(Yt){return Yt>1?i:Yt<-1?-i:Math.asin(Yt)}function P(Yt){return(Yt=m(Yt/2))*Yt}function L(){}function z(Yt,dr){Yt&&B.hasOwnProperty(Yt.type)&&B[Yt.type](Yt,dr)}var F={Feature:function(Yt,dr){z(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr=0?1:-1,Cn=Wr*tn,si=l(dr),yi=m(dr),Di=G*yi,Wi=fe*si+Di*l(Cn),aa=Di*Wr*m(Cn);U.add(T(aa,Wi)),se=Yt,fe=si,G=yi}function j(Yt){return W.reset(),N(Yt,$),W*2}function ee(Yt){return[T(Yt[1],Yt[0]),f(Yt[2])]}function ie(Yt){var dr=Yt[0],tn=Yt[1],Wr=l(tn);return[Wr*l(dr),Wr*m(dr),m(tn)]}function ce(Yt,dr){return Yt[0]*dr[0]+Yt[1]*dr[1]+Yt[2]*dr[2]}function xe(Yt,dr){return[Yt[1]*dr[2]-Yt[2]*dr[1],Yt[2]*dr[0]-Yt[0]*dr[2],Yt[0]*dr[1]-Yt[1]*dr[0]]}function Te(Yt,dr){Yt[0]+=dr[0],Yt[1]+=dr[1],Yt[2]+=dr[2]}function Ue(Yt,dr){return[Yt[0]*dr,Yt[1]*dr,Yt[2]*dr]}function Ie(Yt){var dr=v(Yt[0]*Yt[0]+Yt[1]*Yt[1]+Yt[2]*Yt[2]);Yt[0]/=dr,Yt[1]/=dr,Yt[2]/=dr}var Ye,it,at,tt,ut,Me,pe,ue,Oe=A(),rt,ot,et={point:Lt,lineStart:Bt,lineEnd:qt,polygonStart:function(){et.point=fr,et.lineStart=ar,et.lineEnd=Rr,Oe.reset(),$.polygonStart()},polygonEnd:function(){$.polygonEnd(),et.point=Lt,et.lineStart=Bt,et.lineEnd=qt,U<0?(Ye=-(at=180),it=-(tt=90)):Oe>r?tt=90:Oe<-r&&(it=-90),ot[0]=Ye,ot[1]=at},sphere:function(){Ye=-(at=180),it=-(tt=90)}};function Lt(Yt,dr){rt.push(ot=[Ye=Yt,at=Yt]),drtt&&(tt=dr)}function Et(Yt,dr){var tn=ie([Yt*h,dr*h]);if(ue){var Wr=xe(ue,tn),Cn=[Wr[1],-Wr[0],0],si=xe(Cn,Wr);Ie(si),si=ee(si);var yi=Yt-ut,Di=yi>0?1:-1,Wi=si[0]*c*Di,aa,bi=p(yi)>180;bi^(Di*uttt&&(tt=aa)):(Wi=(Wi+360)%360-180,bi^(Di*uttt&&(tt=dr))),bi?Ytgr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt):at>=Ye?(Ytat&&(at=Yt)):Yt>ut?gr(Ye,Yt)>gr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt)}else rt.push(ot=[Ye=Yt,at=Yt]);drtt&&(tt=dr),ue=tn,ut=Yt}function Bt(){et.point=Et}function qt(){ot[0]=Ye,ot[1]=at,et.point=Lt,ue=null}function fr(Yt,dr){if(ue){var tn=Yt-ut;Oe.add(p(tn)>180?tn+(tn>0?360:-360):tn)}else Me=Yt,pe=dr;$.point(Yt,dr),Et(Yt,dr)}function ar(){$.lineStart()}function Rr(){fr(Me,pe),$.lineEnd(),p(Oe)>r&&(Ye=-(at=180)),ot[0]=Ye,ot[1]=at,ue=null}function gr(Yt,dr){return(dr-=Yt)<0?dr+360:dr}function br(Yt,dr){return Yt[0]-dr[0]}function _t(Yt,dr){return Yt[0]<=Yt[1]?Yt[0]<=dr&&dr<=Yt[1]:drgr(Wr[0],Wr[1])&&(Wr[1]=Cn[1]),gr(Cn[0],Wr[1])>gr(Wr[0],Wr[1])&&(Wr[0]=Cn[0])):si.push(Wr=Cn);for(yi=-1/0,tn=si.length-1,dr=0,Wr=si[tn];dr<=tn;Wr=Cn,++dr)Cn=si[dr],(Di=gr(Wr[1],Cn[0]))>yi&&(yi=Di,Ye=Cn[0],at=Wr[1])}return rt=ot=null,Ye===1/0||it===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ye,it],[at,tt]]}var Ke,je,Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt,$t,ur,pn,Rn={sphere:L,point:Nn,lineStart:ni,lineEnd:gi,polygonStart:function(){Rn.lineStart=Zt,Rn.lineEnd=Ft},polygonEnd:function(){Rn.lineStart=ni,Rn.lineEnd=gi}};function Nn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);On(tn*l(Yt),tn*m(Yt),m(dr))}function On(Yt,dr,tn){++Ke,Se+=(Yt-Se)/Ke,He+=(dr-He)/Ke,Ee+=(tn-Ee)/Ke}function ni(){Rn.point=zn}function zn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),Rn.point=Qn,On($t,ur,pn)}function Qn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=T(v((yi=ur*si-pn*Cn)*yi+(yi=pn*Wr-$t*si)*yi+(yi=$t*Cn-ur*Wr)*yi),$t*Wr+ur*Cn+pn*si);je+=yi,we+=yi*($t+($t=Wr)),Le+=yi*(ur+(ur=Cn)),nt+=yi*(pn+(pn=si)),On($t,ur,pn)}function gi(){Rn.point=Nn}function Zt(){Rn.point=Ht}function Ft(){Vt(Nt,Xt),Rn.point=Nn}function Ht(Yt,dr){Nt=Yt,Xt=dr,Yt*=h,dr*=h,Rn.point=Vt;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),On($t,ur,pn)}function Vt(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=ur*si-pn*Cn,Di=pn*Wr-$t*si,Wi=$t*Cn-ur*Wr,aa=v(yi*yi+Di*Di+Wi*Wi),bi=f(aa),zi=aa&&-bi/aa;pt+=zi*yi,bt+=zi*Di,Rt+=zi*Wi,je+=bi,we+=bi*($t+($t=Wr)),Le+=bi*(ur+(ur=Cn)),nt+=bi*(pn+(pn=si)),On($t,ur,pn)}function wr(Yt){Ke=je=Se=He=Ee=we=Le=nt=pt=bt=Rt=0,N(Yt,Rn);var dr=pt,tn=bt,Wr=Rt,Cn=dr*dr+tn*tn+Wr*Wr;return Cnn?Yt+Math.round(-Yt/s)*s:Yt,dr]}en.invert=en;function Fn(Yt,dr,tn){return(Yt%=s)?dr||tn?xn(ri(Yt),Sn(dr,tn)):ri(Yt):dr||tn?Sn(dr,tn):en}function Wn(Yt){return function(dr,tn){return dr+=Yt,[dr>n?dr-s:dr<-n?dr+s:dr,tn]}}function ri(Yt){var dr=Wn(Yt);return dr.invert=Wn(-Yt),dr}function Sn(Yt,dr){var tn=l(Yt),Wr=m(Yt),Cn=l(dr),si=m(dr);function yi(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*tn+bi*Wr;return[T(zi*Cn-di*si,bi*tn-Li*Wr),f(di*Cn+zi*si)]}return yi.invert=function(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*Cn-zi*si;return[T(zi*Cn+Li*si,bi*tn+di*Wr),f(di*tn-bi*Wr)]},yi}function ui(Yt){Yt=Fn(Yt[0]*h,Yt[1]*h,Yt.length>2?Yt[2]*h:0);function dr(tn){return tn=Yt(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn}return dr.invert=function(tn){return tn=Yt.invert(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn},dr}function gt(Yt,dr,tn,Wr,Cn,si){if(tn){var yi=l(dr),Di=m(dr),Wi=Wr*tn;Cn==null?(Cn=dr+Wr*s,si=dr-Wi/2):(Cn=yt(yi,Cn),si=yt(yi,si),(Wr>0?Cnsi)&&(Cn+=Wr*s));for(var aa,bi=Cn;Wr>0?bi>si:bi1&&Yt.push(Yt.pop().concat(Yt.shift()))},result:function(){var tn=Yt;return Yt=[],dr=null,tn}}}function Tr(Yt,dr){return p(Yt[0]-dr[0])=0;--Di)Cn.point((zi=bi[Di])[0],zi[1]);else Wr(Li.x,Li.p.x,-1,Cn);Li=Li.p}Li=Li.o,bi=Li.z,di=!di}while(!Li.v);Cn.lineEnd()}}}function Ur(Yt){if(dr=Yt.length){for(var dr,tn=0,Wr=Yt[0],Cn;++tn=0?1:-1,Ns=il*Ds,el=Ns>n,Es=po*Lo;if(Dr.add(T(Es*il*m(Ns),co*as+Es*l(Ns))),yi+=el?Ds+il*s:Ds,el^di>=tn^xa>=tn){var Bl=xe(ie(Li),ie(Ao));Ie(Bl);var _l=xe(si,Bl);Ie(_l);var cl=(el^Ds>=0?-1:1)*f(_l[2]);(Wr>cl||Wr===cl&&(Bl[0]||Bl[1]))&&(Di+=el^Ds>=0?1:-1)}}return(yi<-r||yi0){for(Wi||(Cn.polygonStart(),Wi=!0),Cn.lineStart(),as=0;as1&&Qi&2&&Lo.push(Lo.pop().concat(Lo.shift())),bi.push(Lo.filter(kt))}}return Li}}function kt(Yt){return Yt.length>1}function or(Yt,dr){return((Yt=Yt.x)[0]<0?Yt[1]-i-r:i-Yt[1])-((dr=dr.x)[0]<0?dr[1]-i-r:i-dr[1])}var yr=gn(function(){return!0},on,Zn,[-n,-i]);function on(Yt){var dr=NaN,tn=NaN,Wr=NaN,Cn;return{lineStart:function(){Yt.lineStart(),Cn=1},point:function(si,yi){var Di=si>0?n:-n,Wi=p(si-dr);p(Wi-n)0?i:-i),Yt.point(Wr,tn),Yt.lineEnd(),Yt.lineStart(),Yt.point(Di,tn),Yt.point(si,tn),Cn=0):Wr!==Di&&Wi>=n&&(p(dr-Wr)r?d((m(dr)*(si=l(Wr))*m(tn)-m(Wr)*(Cn=l(dr))*m(Yt))/(Cn*si*yi)):(dr+Wr)/2}function Zn(Yt,dr,tn,Wr){var Cn;if(Yt==null)Cn=tn*i,Wr.point(-n,Cn),Wr.point(0,Cn),Wr.point(n,Cn),Wr.point(n,0),Wr.point(n,-Cn),Wr.point(0,-Cn),Wr.point(-n,-Cn),Wr.point(-n,0),Wr.point(-n,Cn);else if(p(Yt[0]-dr[0])>r){var si=Yt[0]0,Cn=p(dr)>r;function si(bi,zi,Li,di){gt(di,Yt,tn,Li,bi,zi)}function yi(bi,zi){return l(bi)*l(zi)>dr}function Di(bi){var zi,Li,di,wa,po;return{lineStart:function(){wa=di=!1,po=1},point:function(co,mo){var Ao=[co,mo],xa,Qi=yi(co,mo),Lo=Wr?Qi?0:aa(co,mo):Qi?aa(co+(co<0?n:-n),mo):0;if(!zi&&(wa=di=Qi)&&bi.lineStart(),Qi!==di&&(xa=Wi(zi,Ao),(!xa||Tr(zi,xa)||Tr(Ao,xa))&&(Ao[2]=1)),Qi!==di)po=0,Qi?(bi.lineStart(),xa=Wi(Ao,zi),bi.point(xa[0],xa[1])):(xa=Wi(zi,Ao),bi.point(xa[0],xa[1],2),bi.lineEnd()),zi=xa;else if(Cn&&zi&&Wr^Qi){var as;!(Lo&Li)&&(as=Wi(Ao,zi,!0))&&(po=0,Wr?(bi.lineStart(),bi.point(as[0][0],as[0][1]),bi.point(as[1][0],as[1][1]),bi.lineEnd()):(bi.point(as[1][0],as[1][1]),bi.lineEnd(),bi.lineStart(),bi.point(as[0][0],as[0][1],3)))}Qi&&(!zi||!Tr(zi,Ao))&&bi.point(Ao[0],Ao[1]),zi=Ao,di=Qi,Li=Lo},lineEnd:function(){di&&bi.lineEnd(),zi=null},clean:function(){return po|(wa&&di)<<1}}}function Wi(bi,zi,Li){var di=ie(bi),wa=ie(zi),po=[1,0,0],co=xe(di,wa),mo=ce(co,co),Ao=co[0],xa=mo-Ao*Ao;if(!xa)return!Li&&bi;var Qi=dr*mo/xa,Lo=-dr*Ao/xa,as=xe(po,co),Ds=Ue(po,Qi),il=Ue(co,Lo);Te(Ds,il);var Ns=as,el=ce(Ds,Ns),Es=ce(Ns,Ns),Bl=el*el-Es*(ce(Ds,Ds)-1);if(!(Bl<0)){var _l=v(Bl),cl=Ue(Ns,(-el-_l)/Es);if(Te(cl,Ds),cl=ee(cl),!Li)return cl;var Za=bi[0],jo=zi[0],Js=bi[1],zs=zi[1],cu;jo0^cl[1]<(p(cl[0]-Za)n^(Za<=cl[0]&&cl[0]<=jo)){var Tu=Ue(Ns,(-el+_l)/Es);return Te(Tu,Ds),[cl,ee(Tu)]}}}function aa(bi,zi){var Li=Wr?Yt:n-Yt,di=0;return bi<-Li?di|=1:bi>Li&&(di|=2),zi<-Li?di|=4:zi>Li&&(di|=8),di}return gn(yi,Di,si,Wr?[0,-Yt]:[-n,Yt-n])}function wn(Yt,dr,tn,Wr,Cn,si){var yi=Yt[0],Di=Yt[1],Wi=dr[0],aa=dr[1],bi=0,zi=1,Li=Wi-yi,di=aa-Di,wa;if(wa=tn-yi,!(!Li&&wa>0)){if(wa/=Li,Li<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=Cn-yi,!(!Li&&wa<0)){if(wa/=Li,Li<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(Li>0){if(wa0)){if(wa/=di,di<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=si-Di,!(!di&&wa<0)){if(wa/=di,di<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(di>0){if(wa0&&(Yt[0]=yi+bi*Li,Yt[1]=Di+bi*di),zi<1&&(dr[0]=yi+zi*Li,dr[1]=Di+zi*di),!0}}}}}var Dn=1e9,Ui=-Dn;function pi(Yt,dr,tn,Wr){function Cn(aa,bi){return Yt<=aa&&aa<=tn&&dr<=bi&&bi<=Wr}function si(aa,bi,zi,Li){var di=0,wa=0;if(aa==null||(di=yi(aa,zi))!==(wa=yi(bi,zi))||Wi(aa,bi)<0^zi>0)do Li.point(di===0||di===3?Yt:tn,di>1?Wr:dr);while((di=(di+zi+4)%4)!==wa);else Li.point(bi[0],bi[1])}function yi(aa,bi){return p(aa[0]-Yt)0?0:3:p(aa[0]-tn)0?2:1:p(aa[1]-dr)0?1:0:bi>0?3:2}function Di(aa,bi){return Wi(aa.x,bi.x)}function Wi(aa,bi){var zi=yi(aa,1),Li=yi(bi,1);return zi!==Li?zi-Li:zi===0?bi[1]-aa[1]:zi===1?aa[0]-bi[0]:zi===2?aa[1]-bi[1]:bi[0]-aa[0]}return function(aa){var bi=aa,zi=Ir(),Li,di,wa,po,co,mo,Ao,xa,Qi,Lo,as,Ds={point:il,lineStart:Bl,lineEnd:_l,polygonStart:el,polygonEnd:Es};function il(Za,jo){Cn(Za,jo)&&bi.point(Za,jo)}function Ns(){for(var Za=0,jo=0,Js=di.length;joWr&&(zc-Kc)*(Wr-Tu)>(Fu-Tu)*(Yt-Kc)&&++Za:Fu<=Wr&&(zc-Kc)*(Wr-Tu)<(Fu-Tu)*(Yt-Kc)&&--Za;return Za}function el(){bi=zi,Li=[],di=[],as=!0}function Es(){var Za=Ns(),jo=as&&Za,Js=(Li=x.merge(Li)).length;(jo||Js)&&(aa.polygonStart(),jo&&(aa.lineStart(),si(null,null,1,aa),aa.lineEnd()),Js&&Lr(Li,Di,Za,si,aa),aa.polygonEnd()),bi=aa,Li=di=wa=null}function Bl(){Ds.point=cl,di&&di.push(wa=[]),Lo=!0,Qi=!1,Ao=xa=NaN}function _l(){Li&&(cl(po,co),mo&&Qi&&zi.rejoin(),Li.push(zi.result())),Ds.point=il,Qi&&bi.lineEnd()}function cl(Za,jo){var Js=Cn(Za,jo);if(di&&wa.push([Za,jo]),Lo)po=Za,co=jo,mo=Js,Lo=!1,Js&&(bi.lineStart(),bi.point(Za,jo));else if(Js&&Qi)bi.point(Za,jo);else{var zs=[Ao=Math.max(Ui,Math.min(Dn,Ao)),xa=Math.max(Ui,Math.min(Dn,xa))],cu=[Za=Math.max(Ui,Math.min(Dn,Za)),jo=Math.max(Ui,Math.min(Dn,jo))];wn(zs,cu,Yt,dr,tn,Wr)?(Qi||(bi.lineStart(),bi.point(zs[0],zs[1])),bi.point(cu[0],cu[1]),Js||bi.lineEnd(),as=!1):Js&&(bi.lineStart(),bi.point(Za,jo),as=!1)}Ao=Za,xa=jo,Qi=Js}return Ds}}function Ta(){var Yt=0,dr=0,tn=960,Wr=500,Cn,si,yi;return yi={stream:function(Di){return Cn&&si===Di?Cn:Cn=pi(Yt,dr,tn,Wr)(si=Di)},extent:function(Di){return arguments.length?(Yt=+Di[0][0],dr=+Di[0][1],tn=+Di[1][0],Wr=+Di[1][1],Cn=si=null,yi):[[Yt,dr],[tn,Wr]]}}}var Sa=A(),qa,to,yo,Xa={sphere:L,point:L,lineStart:Go,lineEnd:L,polygonStart:L,polygonEnd:L};function Go(){Xa.point=cs,Xa.lineEnd=pa}function pa(){Xa.point=Xa.lineEnd=L}function cs(Yt,dr){Yt*=h,dr*=h,qa=Yt,to=m(dr),yo=l(dr),Xa.point=Ko}function Ko(Yt,dr){Yt*=h,dr*=h;var tn=m(dr),Wr=l(dr),Cn=p(Yt-qa),si=l(Cn),yi=m(Cn),Di=Wr*yi,Wi=yo*tn-to*Wr*si,aa=to*tn+yo*Wr*si;Sa.add(T(v(Di*Di+Wi*Wi),aa)),qa=Yt,to=tn,yo=Wr}function gs(Yt){return Sa.reset(),N(Yt,Xa),+Sa}var Ya=[null,null],zo={type:"LineString",coordinates:Ya};function Ka(Yt,dr){return Ya[0]=Yt,Ya[1]=dr,gs(zo)}var Yo={Feature:function(Yt,dr){return hs(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr0&&(Cn=Ka(Yt[si],Yt[si-1]),Cn>0&&tn<=Cn&&Wr<=Cn&&(tn+Wr-Cn)*(1-Math.pow((tn-Wr)/Cn,2))r}).map(Li)).concat(x.range(_(si/aa)*aa,Cn,aa).filter(function(xa){return p(xa%zi)>r}).map(di))}return mo.lines=function(){return Ao().map(function(xa){return{type:"LineString",coordinates:xa}})},mo.outline=function(){return{type:"Polygon",coordinates:[wa(Wr).concat(po(yi).slice(1),wa(tn).reverse().slice(1),po(Di).reverse().slice(1))]}},mo.extent=function(xa){return arguments.length?mo.extentMajor(xa).extentMinor(xa):mo.extentMinor()},mo.extentMajor=function(xa){return arguments.length?(Wr=+xa[0][0],tn=+xa[1][0],Di=+xa[0][1],yi=+xa[1][1],Wr>tn&&(xa=Wr,Wr=tn,tn=xa),Di>yi&&(xa=Di,Di=yi,yi=xa),mo.precision(co)):[[Wr,Di],[tn,yi]]},mo.extentMinor=function(xa){return arguments.length?(dr=+xa[0][0],Yt=+xa[1][0],si=+xa[0][1],Cn=+xa[1][1],dr>Yt&&(xa=dr,dr=Yt,Yt=xa),si>Cn&&(xa=si,si=Cn,Cn=xa),mo.precision(co)):[[dr,si],[Yt,Cn]]},mo.step=function(xa){return arguments.length?mo.stepMajor(xa).stepMinor(xa):mo.stepMinor()},mo.stepMajor=function(xa){return arguments.length?(bi=+xa[0],zi=+xa[1],mo):[bi,zi]},mo.stepMinor=function(xa){return arguments.length?(Wi=+xa[0],aa=+xa[1],mo):[Wi,aa]},mo.precision=function(xa){return arguments.length?(co=+xa,Li=Mi(si,Cn,90),di=Da(dr,Yt,co),wa=Mi(Di,yi,90),po=Da(Wr,tn,co),mo):co},mo.extentMajor([[-180,-90+r],[180,90-r]]).extentMinor([[-180,-80-r],[180,80+r]])}function Xs(){return pl()()}function Eo(Yt,dr){var tn=Yt[0]*h,Wr=Yt[1]*h,Cn=dr[0]*h,si=dr[1]*h,yi=l(Wr),Di=m(Wr),Wi=l(si),aa=m(si),bi=yi*l(tn),zi=yi*m(tn),Li=Wi*l(Cn),di=Wi*m(Cn),wa=2*f(v(P(si-Wr)+yi*Wi*P(Cn-tn))),po=m(wa),co=wa?function(mo){var Ao=m(mo*=wa)/po,xa=m(wa-mo)/po,Qi=xa*bi+Ao*Li,Lo=xa*zi+Ao*di,as=xa*Di+Ao*aa;return[T(Lo,Qi)*c,T(as,v(Qi*Qi+Lo*Lo))*c]}:function(){return[tn*c,Wr*c]};return co.distance=wa,co}function Ys(Yt){return Yt}var As=A(),hl=A(),wl,la,Uo,vo,Ps={point:L,lineStart:L,lineEnd:L,polygonStart:function(){Ps.lineStart=ls,Ps.lineEnd=Ku},polygonEnd:function(){Ps.lineStart=Ps.lineEnd=Ps.point=L,As.add(p(hl)),hl.reset()},result:function(){var Yt=As/2;return As.reset(),Yt}};function ls(){Ps.point=no}function no(Yt,dr){Ps.point=$l,wl=Uo=Yt,la=vo=dr}function $l(Yt,dr){hl.add(vo*Yt-Uo*dr),Uo=Yt,vo=dr}function Ku(){$l(wl,la)}var Tl=1/0,Vu=Tl,Rl=-Tl,Qs=Rl,nu={point:qu,lineStart:L,lineEnd:L,polygonStart:L,polygonEnd:L,result:function(){var Yt=[[Tl,Vu],[Rl,Qs]];return Rl=Qs=-(Vu=Tl=1/0),Yt}};function qu(Yt,dr){YtRl&&(Rl=Yt),drQs&&(Qs=dr)}var kc=0,Ju=0,sh=0,uf=0,qs=0,Hc=0,bf=0,Ql=0,Al=0,oc,gc,nl,Ml,Zs={point:sl,lineStart:sc,lineEnd:ll,polygonStart:function(){Zs.lineStart=Nh,Zs.lineEnd=ds},polygonEnd:function(){Zs.point=sl,Zs.lineStart=sc,Zs.lineEnd=ll},result:function(){var Yt=Al?[bf/Al,Ql/Al]:Hc?[uf/Hc,qs/Hc]:sh?[kc/sh,Ju/sh]:[NaN,NaN];return kc=Ju=sh=uf=qs=Hc=bf=Ql=Al=0,Yt}};function sl(Yt,dr){kc+=Yt,Ju+=dr,++sh}function sc(){Zs.point=jl}function jl(Yt,dr){Zs.point=$u,sl(nl=Yt,Ml=dr)}function $u(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,sl(nl=Yt,Ml=dr)}function ll(){Zs.point=sl}function Nh(){Zs.point=Sh}function ds(){Bs(oc,gc)}function Sh(Yt,dr){Zs.point=Bs,sl(oc=nl=Yt,gc=Ml=dr)}function Bs(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,Cn=Ml*Yt-nl*dr,bf+=Cn*(nl+Yt),Ql+=Cn*(Ml+dr),Al+=Cn*3,sl(nl=Yt,Ml=dr)}function Vo(Yt){this._context=Yt}Vo.prototype={_radius:4.5,pointRadius:function(Yt){return this._radius=Yt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._context.moveTo(Yt,dr),this._point=1;break}case 1:{this._context.lineTo(Yt,dr);break}default:{this._context.moveTo(Yt+this._radius,dr),this._context.arc(Yt,dr,this._radius,0,s);break}}},result:L};var rf=A(),Qu,pu,Df,Lc,nf,Vl={point:L,lineStart:function(){Vl.point=Jf},lineEnd:function(){Qu&&zf(pu,Df),Vl.point=L},polygonStart:function(){Qu=!0},polygonEnd:function(){Qu=null},result:function(){var Yt=+rf;return rf.reset(),Yt}};function Jf(Yt,dr){Vl.point=zf,pu=Lc=Yt,Df=nf=dr}function zf(Yt,dr){Lc-=Yt,nf-=dr,rf.add(v(Lc*Lc+nf*nf)),Lc=Yt,nf=dr}function wf(){this._string=[]}wf.prototype={_radius:4.5,_circle:Gc(4.5),pointRadius:function(Yt){return(Yt=+Yt)!==this._radius&&(this._radius=Yt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._string.push("M",Yt,",",dr),this._point=1;break}case 1:{this._string.push("L",Yt,",",dr);break}default:{this._circle==null&&(this._circle=Gc(this._radius)),this._string.push("M",Yt,",",dr,this._circle);break}}},result:function(){if(this._string.length){var Yt=this._string.join("");return this._string=[],Yt}else return null}};function Gc(Yt){return"m0,"+Yt+"a"+Yt+","+Yt+" 0 1,1 0,"+-2*Yt+"a"+Yt+","+Yt+" 0 1,1 0,"+2*Yt+"z"}function Ff(Yt,dr){var tn=4.5,Wr,Cn;function si(yi){return yi&&(typeof tn=="function"&&Cn.pointRadius(+tn.apply(this,arguments)),N(yi,Wr(Cn))),Cn.result()}return si.area=function(yi){return N(yi,Wr(Ps)),Ps.result()},si.measure=function(yi){return N(yi,Wr(Vl)),Vl.result()},si.bounds=function(yi){return N(yi,Wr(nu)),nu.result()},si.centroid=function(yi){return N(yi,Wr(Zs)),Zs.result()},si.projection=function(yi){return arguments.length?(Wr=yi==null?(Yt=null,Ys):(Yt=yi).stream,si):Yt},si.context=function(yi){return arguments.length?(Cn=yi==null?(dr=null,new wf):new Vo(dr=yi),typeof tn!="function"&&Cn.pointRadius(tn),si):dr},si.pointRadius=function(yi){return arguments.length?(tn=typeof yi=="function"?yi:(Cn.pointRadius(+yi),+yi),si):tn},si.projection(Yt).context(dr)}function $f(Yt){return{stream:ec(Yt)}}function ec(Yt){return function(dr){var tn=new Tf;for(var Wr in Yt)tn[Wr]=Yt[Wr];return tn.stream=dr,tn}}function Tf(){}Tf.prototype={constructor:Tf,point:function(Yt,dr){this.stream.point(Yt,dr)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Pc(Yt,dr,tn){var Wr=Yt.clipExtent&&Yt.clipExtent();return Yt.scale(150).translate([0,0]),Wr!=null&&Yt.clipExtent(null),N(tn,Yt.stream(nu)),dr(nu.result()),Wr!=null&&Yt.clipExtent(Wr),Yt}function Wc(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=dr[1][0]-dr[0][0],si=dr[1][1]-dr[0][1],yi=Math.min(Cn/(Wr[1][0]-Wr[0][0]),si/(Wr[1][1]-Wr[0][1])),Di=+dr[0][0]+(Cn-yi*(Wr[1][0]+Wr[0][0]))/2,Wi=+dr[0][1]+(si-yi*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*yi).translate([Di,Wi])},tn)}function Pu(Yt,dr,tn){return Wc(Yt,[[0,0],dr],tn)}function cf(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][0]-Wr[0][0]),yi=(Cn-si*(Wr[1][0]+Wr[0][0]))/2,Di=-si*Wr[0][1];Yt.scale(150*si).translate([yi,Di])},tn)}function Ic(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][1]-Wr[0][1]),yi=-si*Wr[0][0],Di=(Cn-si*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*si).translate([yi,Di])},tn)}var Ks=16,Of=l(30*h);function Eh(Yt,dr){return+dr?af(Yt,dr):Qf(Yt)}function Qf(Yt){return ec({point:function(dr,tn){dr=Yt(dr,tn),this.stream.point(dr[0],dr[1])}})}function af(Yt,dr){function tn(Wr,Cn,si,yi,Di,Wi,aa,bi,zi,Li,di,wa,po,co){var mo=aa-Wr,Ao=bi-Cn,xa=mo*mo+Ao*Ao;if(xa>4*dr&&po--){var Qi=yi+Li,Lo=Di+di,as=Wi+wa,Ds=v(Qi*Qi+Lo*Lo+as*as),il=f(as/=Ds),Ns=p(p(as)-1)dr||p((mo*_l+Ao*cl)/xa-.5)>.3||yi*Li+Di*di+Wi*wa2?Za[2]%360*h:0,_l()):[Di*c,Wi*c,aa*c]},Es.angle=function(Za){return arguments.length?(zi=Za%360*h,_l()):zi*c},Es.reflectX=function(Za){return arguments.length?(Li=Za?-1:1,_l()):Li<0},Es.reflectY=function(Za){return arguments.length?(di=Za?-1:1,_l()):di<0},Es.precision=function(Za){return arguments.length?(as=Eh(Ds,Lo=Za*Za),cl()):v(Lo)},Es.fitExtent=function(Za,jo){return Wc(Es,Za,jo)},Es.fitSize=function(Za,jo){return Pu(Es,Za,jo)},Es.fitWidth=function(Za,jo){return cf(Es,Za,jo)},Es.fitHeight=function(Za,jo){return Ic(Es,Za,jo)};function _l(){var Za=su(tn,0,0,Li,di,zi).apply(null,dr(si,yi)),jo=(zi?su:eh)(tn,Wr-Za[0],Cn-Za[1],Li,di,zi);return bi=Fn(Di,Wi,aa),Ds=xn(dr,jo),il=xn(bi,Ds),as=Eh(Ds,Lo),cl()}function cl(){return Ns=el=null,Es}return function(){return dr=Yt.apply(this,arguments),Es.invert=dr.invert&&Bl,_l()}}function Dl(Yt){var dr=0,tn=n/3,Wr=yc(Yt),Cn=Wr(dr,tn);return Cn.parallels=function(si){return arguments.length?Wr(dr=si[0]*h,tn=si[1]*h):[dr*c,tn*c]},Cn}function Rc(Yt){var dr=l(Yt);function tn(Wr,Cn){return[Wr*dr,m(Cn)/dr]}return tn.invert=function(Wr,Cn){return[Wr/dr,f(Cn*dr)]},tn}function tc(Yt,dr){var tn=m(Yt),Wr=(tn+m(dr))/2;if(p(Wr)=.12&&co<.234&&po>=-.425&&po<-.214?Cn:co>=.166&&co<.234&&po>=-.214&&po<-.115?yi:tn).invert(Li)},bi.stream=function(Li){return Yt&&dr===Li?Yt:Yt=th([tn.stream(dr=Li),Cn.stream(Li),yi.stream(Li)])},bi.precision=function(Li){return arguments.length?(tn.precision(Li),Cn.precision(Li),yi.precision(Li),zi()):tn.precision()},bi.scale=function(Li){return arguments.length?(tn.scale(Li),Cn.scale(Li*.35),yi.scale(Li),bi.translate(tn.translate())):tn.scale()},bi.translate=function(Li){if(!arguments.length)return tn.translate();var di=tn.scale(),wa=+Li[0],po=+Li[1];return Wr=tn.translate(Li).clipExtent([[wa-.455*di,po-.238*di],[wa+.455*di,po+.238*di]]).stream(aa),si=Cn.translate([wa-.307*di,po+.201*di]).clipExtent([[wa-.425*di+r,po+.12*di+r],[wa-.214*di-r,po+.234*di-r]]).stream(aa),Di=yi.translate([wa-.205*di,po+.212*di]).clipExtent([[wa-.214*di+r,po+.166*di+r],[wa-.115*di-r,po+.234*di-r]]).stream(aa),zi()},bi.fitExtent=function(Li,di){return Wc(bi,Li,di)},bi.fitSize=function(Li,di){return Pu(bi,Li,di)},bi.fitWidth=function(Li,di){return cf(bi,Li,di)},bi.fitHeight=function(Li,di){return Ic(bi,Li,di)};function zi(){return Yt=dr=null,bi}return bi.scale(1070)}function Hu(Yt){return function(dr,tn){var Wr=l(dr),Cn=l(tn),si=Yt(Wr*Cn);return[si*Cn*m(dr),si*m(tn)]}}function _c(Yt){return function(dr,tn){var Wr=v(dr*dr+tn*tn),Cn=Yt(Wr),si=m(Cn),yi=l(Cn);return[T(dr*si,Wr*yi),f(Wr&&tn*si/Wr)]}}var lc=Hu(function(Yt){return v(2/(1+Yt))});lc.invert=_c(function(Yt){return 2*f(Yt/2)});function Uh(){return Ru(lc).scale(124.75).clipAngle(180-.001)}var of=Hu(function(Yt){return(Yt=y(Yt))&&Yt/m(Yt)});of.invert=_c(function(Yt){return Yt});function ff(){return Ru(of).scale(79.4188).clipAngle(180-.001)}function Du(Yt,dr){return[Yt,M(u((i+dr)/2))]}Du.invert=function(Yt,dr){return[Yt,2*d(w(dr))-i]};function Af(){return lu(Du).scale(961/s)}function lu(Yt){var dr=Ru(Yt),tn=dr.center,Wr=dr.scale,Cn=dr.translate,si=dr.clipExtent,yi=null,Di,Wi,aa;dr.scale=function(zi){return arguments.length?(Wr(zi),bi()):Wr()},dr.translate=function(zi){return arguments.length?(Cn(zi),bi()):Cn()},dr.center=function(zi){return arguments.length?(tn(zi),bi()):tn()},dr.clipExtent=function(zi){return arguments.length?(zi==null?yi=Di=Wi=aa=null:(yi=+zi[0][0],Di=+zi[0][1],Wi=+zi[1][0],aa=+zi[1][1]),bi()):yi==null?null:[[yi,Di],[Wi,aa]]};function bi(){var zi=n*Wr(),Li=dr(ui(dr.rotate()).invert([0,0]));return si(yi==null?[[Li[0]-zi,Li[1]-zi],[Li[0]+zi,Li[1]+zi]]:Yt===Du?[[Math.max(Li[0]-zi,yi),Di],[Math.min(Li[0]+zi,Wi),aa]]:[[yi,Math.max(Li[1]-zi,Di)],[Wi,Math.min(Li[1]+zi,aa)]])}return bi()}function Xc(Yt){return u((i+Yt)/2)}function ch(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):M(tn/l(dr))/M(Xc(dr)/Xc(Yt)),Cn=tn*E(Xc(Yt),Wr)/Wr;if(!Wr)return Du;function si(yi,Di){Cn>0?Di<-i+r&&(Di=-i+r):Di>i-r&&(Di=i-r);var Wi=Cn/E(Xc(Di),Wr);return[Wi*m(Wr*yi),Cn-Wi*l(Wr*yi)]}return si.invert=function(yi,Di){var Wi=Cn-Di,aa=b(Wr)*v(yi*yi+Wi*Wi),bi=T(yi,p(Wi))*b(Wi);return Wi*Wr<0&&(bi-=n*b(yi)*b(Wi)),[bi/Wr,2*d(E(Cn/aa,1/Wr))-i]},si}function Mf(){return Dl(ch).scale(109.5).parallels([30,30])}function dl(Yt,dr){return[Yt,dr]}dl.invert=dl;function bu(){return Ru(dl).scale(152.63)}function wu(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):(tn-l(dr))/(dr-Yt),Cn=tn/Wr+Yt;if(p(Wr)r&&--Wr>0);return[Yt/(.8707+(si=tn*tn)*(-.131979+si*(-.013791+si*si*si*(.003971-.001529*si)))),tn]};function cc(){return Ru(bc).scale(175.295)}function zl(Yt,dr){return[l(dr)*m(Yt),m(dr)]}zl.invert=_c(f);function uu(){return Ru(zl).scale(249.5).clipAngle(90+r)}function fc(Yt,dr){var tn=l(dr),Wr=1+l(Yt)*tn;return[tn*m(Yt)/Wr,m(dr)/Wr]}fc.invert=_c(function(Yt){return 2*d(Yt)});function Dc(){return Ru(fc).scale(250).clipAngle(142)}function rc(Yt,dr){return[M(u((i+dr)/2)),-Yt]}rc.invert=function(Yt,dr){return[-dr,2*d(w(Yt))-i]};function Yc(){var Yt=lu(rc),dr=Yt.center,tn=Yt.rotate;return Yt.center=function(Wr){return arguments.length?dr([-Wr[1],Wr[0]]):(Wr=dr(),[Wr[1],-Wr[0]])},Yt.rotate=function(Wr){return arguments.length?tn([Wr[0],Wr[1],Wr.length>2?Wr[2]+90:90]):(Wr=tn(),[Wr[0],Wr[1],Wr[2]-90])},tn([0,0,90]).scale(159.155)}g.geoAlbers=Sl,g.geoAlbersUsa=uh,g.geoArea=j,g.geoAzimuthalEqualArea=Uh,g.geoAzimuthalEqualAreaRaw=lc,g.geoAzimuthalEquidistant=ff,g.geoAzimuthalEquidistantRaw=of,g.geoBounds=Be,g.geoCentroid=wr,g.geoCircle=Pr,g.geoClipAntimeridian=yr,g.geoClipCircle=Bn,g.geoClipExtent=Ta,g.geoClipRectangle=pi,g.geoConicConformal=Mf,g.geoConicConformalRaw=ch,g.geoConicEqualArea=xu,g.geoConicEqualAreaRaw=tc,g.geoConicEquidistant=Bf,g.geoConicEquidistantRaw=wu,g.geoContains=fs,g.geoDistance=Ka,g.geoEqualEarth=Nf,g.geoEqualEarthRaw=Zc,g.geoEquirectangular=bu,g.geoEquirectangularRaw=dl,g.geoGnomonic=Uf,g.geoGnomonicRaw=Xl,g.geoGraticule=pl,g.geoGraticule10=Xs,g.geoIdentity=Wu,g.geoInterpolate=Eo,g.geoLength=gs,g.geoMercator=Af,g.geoMercatorRaw=Du,g.geoNaturalEarth1=cc,g.geoNaturalEarth1Raw=bc,g.geoOrthographic=uu,g.geoOrthographicRaw=zl,g.geoPath=Ff,g.geoProjection=Ru,g.geoProjectionMutator=yc,g.geoRotation=ui,g.geoStereographic=Dc,g.geoStereographicRaw=fc,g.geoStream=N,g.geoTransform=$f,g.geoTransverseMercator=Yc,g.geoTransverseMercatorRaw=rc,Object.defineProperty(g,"__esModule",{value:!0})})}}),h6=ke({"node_modules/d3-geo-projection/dist/d3-geo-projection.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,mA(),G0()):x(g.d3=g.d3||{},g.d3,g.d3)})(Z,function(g,x,A){"use strict";var S=Math.abs,e=Math.atan,t=Math.atan2,r=Math.cos,o=Math.exp,n=Math.floor,i=Math.log,a=Math.max,s=Math.min,c=Math.pow,h=Math.round,p=Math.sign||function(Ge){return Ge>0?1:Ge<0?-1:0},d=Math.sin,T=Math.tan,l=1e-6,_=1e-12,w=Math.PI,M=w/2,E=w/4,m=Math.SQRT1_2,b=F(2),v=F(w),u=w*2,y=180/w,f=w/180;function P(Ge){return Ge?Ge/Math.sin(Ge):1}function L(Ge){return Ge>1?M:Ge<-1?-M:Math.asin(Ge)}function z(Ge){return Ge>1?0:Ge<-1?w:Math.acos(Ge)}function F(Ge){return Ge>0?Math.sqrt(Ge):0}function B(Ge){return Ge=o(2*Ge),(Ge-1)/(Ge+1)}function O(Ge){return(o(Ge)-o(-Ge))/2}function I(Ge){return(o(Ge)+o(-Ge))/2}function N(Ge){return i(Ge+F(Ge*Ge+1))}function U(Ge){return i(Ge+F(Ge*Ge-1))}function W(Ge){var $e=T(Ge/2),st=2*i(r(Ge/2))/($e*$e);function dt(St,xt){var It=r(St),rr=r(xt),sr=d(xt),pr=rr*It,kr=-((1-pr?i((1+pr)/2)/(1-pr):-.5)+st/(1+pr));return[kr*rr*d(St),kr*sr]}return dt.invert=function(St,xt){var It=F(St*St+xt*xt),rr=-Ge/2,sr=50,pr;if(!It)return[0,0];do{var kr=rr/2,Yr=r(kr),_n=d(kr),Mn=_n/Yr,Un=-i(S(Yr));rr-=pr=(2/Mn*Un-st*Mn-It)/(-Un/(_n*_n)+1-st/(2*Yr*Yr))*(Yr<0?.7:1)}while(S(pr)>l&&--sr>0);var li=d(rr);return[t(St*li,It*r(rr)),L(xt*li/It)]},dt}function Q(){var Ge=M,$e=x.geoProjectionMutator(W),st=$e(Ge);return st.radius=function(dt){return arguments.length?$e(Ge=dt*f):Ge*y},st.scale(179.976).clipAngle(147)}function le(Ge,$e){var st=r($e),dt=P(z(st*r(Ge/=2)));return[2*st*d(Ge)*dt,d($e)*dt]}le.invert=function(Ge,$e){if(!(Ge*Ge+4*$e*$e>w*w+l)){var st=Ge,dt=$e,St=25;do{var xt=d(st),It=d(st/2),rr=r(st/2),sr=d(dt),pr=r(dt),kr=d(2*dt),Yr=sr*sr,_n=pr*pr,Mn=It*It,Un=1-_n*rr*rr,li=Un?z(pr*rr)*F(ki=1/Un):ki=0,ki,Ci=2*li*pr*It-Ge,Zi=li*sr-$e,ya=ki*(_n*Mn+li*pr*rr*Yr),ro=ki*(.5*xt*kr-li*2*sr*It),Va=ki*.25*(kr*It-li*sr*_n*xt),Io=ki*(Yr*rr+li*Mn*pr),vs=ro*Va-Io*ya;if(!vs)break;var Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]}};function se(){return x.geoProjection(le).scale(152.63)}function fe(Ge){var $e=d(Ge),st=r(Ge),dt=Ge>=0?1:-1,St=T(dt*Ge),xt=(1+$e-st)/2;function It(rr,sr){var pr=r(sr),kr=r(rr/=2);return[(1+pr)*d(rr),(dt*sr>-t(kr,St)-.001?0:-dt*10)+xt+d(sr)*st-(1+pr)*$e*kr]}return It.invert=function(rr,sr){var pr=0,kr=0,Yr=50;do{var _n=r(pr),Mn=d(pr),Un=r(kr),li=d(kr),ki=1+Un,Ci=ki*Mn-rr,Zi=xt+li*st-ki*$e*_n-sr,ya=ki*_n/2,ro=-Mn*li,Va=$e*ki*Mn/2,Io=st*Un+$e*_n*li,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs/2,ts=(Ci*Va-Zi*ya)/vs;S(ts)>2&&(ts/=2),pr-=Fo,kr-=ts}while((S(Fo)>l||S(ts)>l)&&--Yr>0);return dt*kr>-t(r(pr),St)-.001?[pr*2,kr]:null},It}function G(){var Ge=20*f,$e=Ge>=0?1:-1,st=T($e*Ge),dt=x.geoProjectionMutator(fe),St=dt(Ge),xt=St.stream;return St.parallel=function(It){return arguments.length?(st=T(($e=(Ge=It*f)>=0?1:-1)*Ge),dt(Ge)):Ge*y},St.stream=function(It){var rr=St.rotate(),sr=xt(It),pr=(St.rotate([0,0]),xt(It)),kr=St.precision();return St.rotate(rr),sr.sphere=function(){pr.polygonStart(),pr.lineStart();for(var Yr=$e*-180;$e*Yr<180;Yr+=$e*90)pr.point(Yr,$e*90);if(Ge)for(;$e*(Yr-=3*$e*kr)>=-180;)pr.point(Yr,$e*-t(r(Yr*f/2),st)*y);pr.lineEnd(),pr.polygonEnd()},sr},St.scale(218.695).center([0,28.0974])}function $(Ge,$e){var st=T($e/2),dt=F(1-st*st),St=1+dt*r(Ge/=2),xt=d(Ge)*dt/St,It=st/St,rr=xt*xt,sr=It*It;return[4/3*xt*(3+rr-3*sr),4/3*It*(3+3*rr-sr)]}$.invert=function(Ge,$e){if(Ge*=3/8,$e*=3/8,!Ge&&S($e)>1)return null;var st=Ge*Ge,dt=$e*$e,St=1+st+dt,xt=F((St-F(St*St-4*$e*$e))/2),It=L(xt)/3,rr=xt?U(S($e/xt))/3:N(S(Ge))/3,sr=r(It),pr=I(rr),kr=pr*pr-sr*sr;return[p(Ge)*2*t(O(rr)*sr,.25-kr),p($e)*2*t(pr*d(It),.25+kr)]};function J(){return x.geoProjection($).scale(66.1603)}var X=F(8),re=i(1+b);function ae(Ge,$e){var st=S($e);return st_&&--dt>0);return[Ge/(r(st)*(X-1/d(st))),p($e)*st]};function j(){return x.geoProjection(ae).scale(112.314)}function ee(Ge){var $e=2*w/Ge;function st(dt,St){var xt=x.geoAzimuthalEquidistantRaw(dt,St);if(S(dt)>M){var It=t(xt[1],xt[0]),rr=F(xt[0]*xt[0]+xt[1]*xt[1]),sr=$e*h((It-M)/$e)+M,pr=t(d(It-=sr),2-r(It));It=sr+L(w/rr*d(pr))-pr,xt[0]=rr*r(It),xt[1]=rr*d(It)}return xt}return st.invert=function(dt,St){var xt=F(dt*dt+St*St);if(xt>M){var It=t(St,dt),rr=$e*h((It-M)/$e)+M,sr=It>rr?-1:1,pr=xt*r(rr-It),kr=1/T(sr*z((pr-w)/F(w*(w-2*pr)+xt*xt)));It=rr+2*e((kr+sr*F(kr*kr-3))/3),dt=xt*r(It),St=xt*d(It)}return x.geoAzimuthalEquidistantRaw.invert(dt,St)},st}function ie(){var Ge=5,$e=x.geoProjectionMutator(ee),st=$e(Ge),dt=st.stream,St=.01,xt=-r(St*f),It=d(St*f);return st.lobes=function(rr){return arguments.length?$e(Ge=+rr):Ge},st.stream=function(rr){var sr=st.rotate(),pr=dt(rr),kr=(st.rotate([0,0]),dt(rr));return st.rotate(sr),pr.sphere=function(){kr.polygonStart(),kr.lineStart();for(var Yr=0,_n=360/Ge,Mn=2*w/Ge,Un=90-180/Ge,li=M;Yr0&&S(St)>l);return dt<0?NaN:st}function Ie(Ge,$e,st){return $e===void 0&&($e=40),st===void 0&&(st=_),function(dt,St,xt,It){var rr,sr,pr;xt=xt===void 0?0:+xt,It=It===void 0?0:+It;for(var kr=0;kr<$e;kr++){var Yr=Ge(xt,It),_n=Yr[0]-dt,Mn=Yr[1]-St;if(S(_n)rr){xt-=sr/=2,It-=pr/=2;continue}rr=Un;var li=(xt>0?-1:1)*st,ki=(It>0?-1:1)*st,Ci=Ge(xt+li,It),Zi=Ge(xt,It+ki),ya=(Ci[0]-Yr[0])/li,ro=(Ci[1]-Yr[1])/li,Va=(Zi[0]-Yr[0])/ki,Io=(Zi[1]-Yr[1])/ki,vs=Io*ya-ro*Va,Fo=(S(vs)<.5?.5:1)/vs;if(sr=(Mn*Va-_n*Io)*Fo,pr=(_n*ro-Mn*ya)*Fo,xt+=sr,It+=pr,S(sr)0&&(rr[1]*=1+sr/1.5*rr[0]*rr[0]),rr}return dt.invert=Ie(dt),dt}function it(){return x.geoProjection(Ye()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function at(Ge,$e){var st=Ge*d($e),dt=30,St;do $e-=St=($e+d($e)-st)/(1+r($e));while(S(St)>l&&--dt>0);return $e/2}function tt(Ge,$e,st){function dt(St,xt){return[Ge*St*r(xt=at(st,xt)),$e*d(xt)]}return dt.invert=function(St,xt){return xt=L(xt/$e),[St/(Ge*r(xt)),L((2*xt+d(2*xt))/st)]},dt}var ut=tt(b/M,b,w);function Me(){return x.geoProjection(ut).scale(169.529)}var pe=2.00276,ue=1.11072;function Oe(Ge,$e){var st=at(w,$e);return[pe*Ge/(1/r($e)+ue/r(st)),($e+b*d(st))/pe]}Oe.invert=function(Ge,$e){var st=pe*$e,dt=$e<0?-E:E,St=25,xt,It;do It=st-b*d(dt),dt-=xt=(d(2*dt)+2*dt-w*d(It))/(2*r(2*dt)+2+w*r(It)*b*r(dt));while(S(xt)>l&&--St>0);return It=st-b*d(dt),[Ge*(1/r(It)+ue/r(dt))/pe,It]};function rt(){return x.geoProjection(Oe).scale(160.857)}function ot(Ge){var $e=0,st=x.geoProjectionMutator(Ge),dt=st($e);return dt.parallel=function(St){return arguments.length?st($e=St*f):$e*y},dt}function et(Ge,$e){return[Ge*r($e),$e]}et.invert=function(Ge,$e){return[Ge/r($e),$e]};function Lt(){return x.geoProjection(et).scale(152.63)}function Et(Ge){if(!Ge)return et;var $e=1/T(Ge);function st(dt,St){var xt=$e+Ge-St,It=xt&&dt*r(St)/xt;return[xt*d(It),$e-xt*r(It)]}return st.invert=function(dt,St){var xt=F(dt*dt+(St=$e-St)*St),It=$e+Ge-xt;return[xt/r(It)*t(dt,St),It]},st}function Bt(){return ot(Et).scale(123.082).center([0,26.1441]).parallel(45)}function qt(Ge){function $e(st,dt){var St=M-dt,xt=St&&st*Ge*d(St)/St;return[St*d(xt)/Ge,M-St*r(xt)]}return $e.invert=function(st,dt){var St=st*Ge,xt=M-dt,It=F(St*St+xt*xt),rr=t(St,xt);return[(It?It/d(It):1)*rr/Ge,M-It]},$e}function fr(){var Ge=.5,$e=x.geoProjectionMutator(qt),st=$e(Ge);return st.fraction=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(158.837)}var ar=tt(1,4/w,w);function Rr(){return x.geoProjection(ar).scale(152.63)}function gr(Ge,$e,st,dt,St,xt){var It=r(xt),rr;if(S(Ge)>1||S(xt)>1)rr=z(st*St+$e*dt*It);else{var sr=d(Ge/2),pr=d(xt/2);rr=2*L(F(sr*sr+$e*dt*pr*pr))}return S(rr)>l?[rr,t(dt*d(xt),$e*St-st*dt*It)]:[0,0]}function br(Ge,$e,st){return z((Ge*Ge+$e*$e-st*st)/(2*Ge*$e))}function _t(Ge){return Ge-2*w*n((Ge+w)/(2*w))}function Be(Ge,$e,st){for(var dt=[[Ge[0],Ge[1],d(Ge[1]),r(Ge[1])],[$e[0],$e[1],d($e[1]),r($e[1])],[st[0],st[1],d(st[1]),r(st[1])]],St=dt[2],xt,It=0;It<3;++It,St=xt)xt=dt[It],St.v=gr(xt[1]-St[1],St[3],St[2],xt[3],xt[2],xt[0]-St[0]),St.point=[0,0];var rr=br(dt[0].v[0],dt[2].v[0],dt[1].v[0]),sr=br(dt[0].v[0],dt[1].v[0],dt[2].v[0]),pr=w-rr;dt[2].point[1]=0,dt[0].point[0]=-(dt[1].point[0]=dt[0].v[0]/2);var kr=[dt[2].point[0]=dt[0].point[0]+dt[2].v[0]*r(rr),2*(dt[0].point[1]=dt[1].point[1]=dt[2].v[0]*d(rr))];function Yr(_n,Mn){var Un=d(Mn),li=r(Mn),ki=new Array(3),Ci;for(Ci=0;Ci<3;++Ci){var Zi=dt[Ci];if(ki[Ci]=gr(Mn-Zi[1],Zi[3],Zi[2],li,Un,_n-Zi[0]),!ki[Ci][0])return Zi.point;ki[Ci][1]=_t(ki[Ci][1]-Zi.v[1])}var ya=kr.slice();for(Ci=0;Ci<3;++Ci){var ro=Ci==2?0:Ci+1,Va=br(dt[Ci].v[0],ki[Ci][0],ki[ro][0]);ki[Ci][1]<0&&(Va=-Va),Ci?Ci==1?(Va=sr-Va,ya[0]-=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va)):(Va=pr-Va,ya[0]+=ki[Ci][0]*r(Va),ya[1]+=ki[Ci][0]*d(Va)):(ya[0]+=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va))}return ya[0]/=3,ya[1]/=3,ya}return Yr}function Ke(Ge){return Ge[0]*=f,Ge[1]*=f,Ge}function je(){return Se([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Se(Ge,$e,st){var dt=x.geoCentroid({type:"MultiPoint",coordinates:[Ge,$e,st]}),St=[-dt[0],-dt[1]],xt=x.geoRotation(St),It=Be(Ke(xt(Ge)),Ke(xt($e)),Ke(xt(st)));It.invert=Ie(It);var rr=x.geoProjection(It).rotate(St),sr=rr.center;return delete rr.rotate,rr.center=function(pr){return arguments.length?sr(xt(pr)):xt.invert(sr())},rr.clipAngle(90)}function He(Ge,$e){var st=F(1-d($e));return[2/v*Ge*st,v*(1-st)]}He.invert=function(Ge,$e){var st=(st=$e/v-1)*st;return[st>0?Ge*F(w/st)/2:0,L(1-st)]};function Ee(){return x.geoProjection(He).scale(95.6464).center([0,30])}function we(Ge){var $e=T(Ge);function st(dt,St){return[dt,(dt?dt/d(dt):1)*(d(St)*r(dt)-$e*r(St))]}return st.invert=$e?function(dt,St){dt&&(St*=d(dt)/dt);var xt=r(dt);return[dt,2*t(F(xt*xt+$e*$e-St*St)-xt,$e-St)]}:function(dt,St){return[dt,L(dt?St*T(dt)/dt:St)]},st}function Le(){return ot(we).scale(249.828).clipAngle(90)}var nt=F(3);function pt(Ge,$e){return[nt*Ge*(2*r(2*$e/3)-1)/v,nt*v*d($e/3)]}pt.invert=function(Ge,$e){var st=3*L($e/(nt*v));return[v*Ge/(nt*(2*r(2*st/3)-1)),st]};function bt(){return x.geoProjection(pt).scale(156.19)}function Rt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,d(St)/$e]}return st.invert=function(dt,St){return[dt/$e,L(St*$e)]},st}function Nt(){return ot(Rt).parallel(38.58).scale(195.044)}function Xt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,(1+$e)*T(St/2)]}return st.invert=function(dt,St){return[dt/$e,e(St/(1+$e))*2]},st}function $t(){return ot(Xt).scale(124.75)}function ur(Ge,$e){var st=F(8/(3*w));return[st*Ge*(1-S($e)/w),st*$e]}ur.invert=function(Ge,$e){var st=F(8/(3*w)),dt=$e/st;return[Ge/(st*(1-S(dt)/w)),dt]};function pn(){return x.geoProjection(ur).scale(165.664)}function Rn(Ge,$e){var st=F(4-3*d(S($e)));return[2/F(6*w)*Ge*st,p($e)*F(2*w/3)*(2-st)]}Rn.invert=function(Ge,$e){var st=2-S($e)/F(2*w/3);return[Ge*F(6*w)/(2*st),p($e)*L((4-st*st)/3)]};function Nn(){return x.geoProjection(Rn).scale(165.664)}function On(Ge,$e){var st=F(w*(4+w));return[2/st*Ge*(1+F(1-4*$e*$e/(w*w))),4/st*$e]}On.invert=function(Ge,$e){var st=F(w*(4+w))/2;return[Ge*st/(1+F(1-$e*$e*(4+w)/(4*w))),$e*st/2]};function ni(){return x.geoProjection(On).scale(180.739)}function zn(Ge,$e){var st=(2+M)*d($e);$e/=2;for(var dt=0,St=1/0;dt<10&&S(St)>l;dt++){var xt=r($e);$e-=St=($e+d($e)*(xt+2)-st)/(2*xt*(1+xt))}return[2/F(w*(4+w))*Ge*(1+r($e)),2*F(w/(4+w))*d($e)]}zn.invert=function(Ge,$e){var st=$e*F((4+w)/w)/2,dt=L(st),St=r(dt);return[Ge/(2/F(w*(4+w))*(1+St)),L((dt+st*(St+2))/(2+M))]};function Qn(){return x.geoProjection(zn).scale(180.739)}function gi(Ge,$e){return[Ge*(1+r($e))/F(2+w),2*$e/F(2+w)]}gi.invert=function(Ge,$e){var st=F(2+w),dt=$e*st/2;return[st*Ge/(1+r(dt)),dt]};function Zt(){return x.geoProjection(gi).scale(173.044)}function Ft(Ge,$e){for(var st=(1+M)*d($e),dt=0,St=1/0;dt<10&&S(St)>l;dt++)$e-=St=($e+d($e)-st)/(1+r($e));return st=F(2+w),[Ge*(1+r($e))/st,2*$e/st]}Ft.invert=function(Ge,$e){var st=1+M,dt=F(st/2);return[Ge*2*dt/(1+r($e*=dt)),L(($e+d($e))/st)]};function Ht(){return x.geoProjection(Ft).scale(173.044)}var Vt=3+2*b;function wr(Ge,$e){var st=d(Ge/=2),dt=r(Ge),St=F(r($e)),xt=r($e/=2),It=d($e)/(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Ge)/Mr(Ci,li,w);sr=Yr;var ya=50,ro;do sr-=ro=(Ge+Mr(Ci,li,sr)*Zi-Yr)/(Ci(sr)*Zi);while(S(ro)>l&&--ya>0);pr=Un*d(sr),srdt){var sr=F(rr),pr=t(It,xt),kr=st*h(pr/st),Yr=pr-kr;xt=sr*r(Yr),It=sr*d(Yr);for(var _n=xt-M,Mn=d(xt),Un=It/Mn,li=xtl||S(Un)>l)&&--li>0);return[Yr,_n]},sr}var Dr=Ur(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function nn(){return x.geoProjection(Dr).scale(149.995)}var vn=Ur(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function gn(){return x.geoProjection(vn).scale(153.93)}var kt=Ur(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function or(){return x.geoProjection(kt).scale(130.945)}function yr(Ge,$e){var st=Ge*Ge,dt=$e*$e;return[Ge*(1-.162388*dt)*(.87-952426e-9*st*st),$e*(1+dt/12)]}yr.invert=function(Ge,$e){var st=Ge,dt=$e,St=50,xt;do{var It=dt*dt;dt-=xt=(dt*(1+It/12)-$e)/(1+It/4)}while(S(xt)>l&&--St>0);St=50,Ge/=1-.162388*It;do{var rr=(rr=st*st)*rr;st-=xt=(st*(.87-952426e-9*rr)-Ge)/(.87-.00476213*rr)}while(S(xt)>l&&--St>0);return[st,dt]};function on(){return x.geoProjection(yr).scale(131.747)}var An=Ur(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Zn(){return x.geoProjection(An).scale(131.087)}function Bn(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=dt>0?-.5:.5,It=Ge(dt+xt*w,St);return It[0]-=xt*$e,It}return Ge.invert&&(st.invert=function(dt,St){var xt=dt>0?-.5:.5,It=Ge.invert(dt+xt*$e,St),rr=It[0]-xt*w;return rr<-w?rr+=2*w:rr>w&&(rr-=2*w),It[0]=rr,It}),st}function wn(Ge,$e){var st=p(Ge),dt=p($e),St=r($e),xt=r(Ge)*St,It=d(Ge)*St,rr=d(dt*$e);Ge=S(t(It,rr)),$e=L(xt),S(Ge-M)>l&&(Ge%=M);var sr=Dn(Ge>w/4?M-Ge:Ge,$e);return Ge>w/4&&(rr=sr[0],sr[0]=-sr[1],sr[1]=-rr),sr[0]*=st,sr[1]*=-dt,sr}wn.invert=function(Ge,$e){S(Ge)>1&&(Ge=p(Ge)*2-Ge),S($e)>1&&($e=p($e)*2-$e);var st=p(Ge),dt=p($e),St=-st*Ge,xt=-dt*$e,It=xt/St<1,rr=Ui(It?xt:St,It?St:xt),sr=rr[0],pr=rr[1],kr=r(pr);return It&&(sr=-M-sr),[st*(t(d(sr)*kr,-d(pr))+w),dt*L(r(sr)*kr)]};function Dn(Ge,$e){if($e===M)return[0,0];var st=d($e),dt=st*st,St=dt*dt,xt=1+St,It=1+3*St,rr=1-St,sr=L(1/F(xt)),pr=rr+dt*xt*sr,kr=(1-st)/pr,Yr=F(kr),_n=kr*xt,Mn=F(_n),Un=Yr*rr,li,ki;if(Ge===0)return[0,-(Un+dt*Mn)];var Ci=r($e),Zi=1/Ci,ya=2*st*Ci,ro=(-3*dt+sr*It)*ya,Va=(-pr*Ci-(1-st)*ro)/(pr*pr),Io=.5*Va/Yr,vs=rr*Io-2*dt*Yr*ya,Fo=dt*xt*Va+kr*It*ya,ts=-Zi*ya,bs=-Zi*Fo,fl=-2*Zi*vs,al=4*Ge/w,os;if(Ge>.222*w||$e.175*w){if(li=(Un+dt*F(_n*(1+St)-Un*Un))/(1+St),Ge>w/4)return[li,li];var is=li,Nl=.5*li;li=.5*(Nl+is),ki=50;do{var eu=F(_n-li*li),Xu=li*(fl+ts*eu)+bs*L(li/Mn)-al;if(!Xu)break;Xu<0?Nl=li:is=li,li=.5*(Nl+is)}while(S(is-Nl)>l&&--ki>0)}else{li=l,ki=25;do{var mu=li*li,El=F(_n-mu),fu=fl+ts*El,Tc=li*fu+bs*L(li/Mn)-al,Zl=fu+(bs-ts*mu)/El;li-=os=El?Tc/Zl:0}while(S(os)>l&&--ki>0)}return[li,-Un-dt*F(_n-li*li)]}function Ui(Ge,$e){for(var st=0,dt=1,St=.5,xt=50;;){var It=St*St,rr=F(St),sr=L(1/F(1+It)),pr=1-It+St*(1+It)*sr,kr=(1-rr)/pr,Yr=F(kr),_n=kr*(1+It),Mn=Yr*(1-It),Un=_n-Ge*Ge,li=F(Un),ki=$e+Mn+St*li;if(S(dt-st)<_||--xt===0||ki===0)break;ki>0?st=St:dt=St,St=.5*(st+dt)}if(!xt)return null;var Ci=L(rr),Zi=r(Ci),ya=1/Zi,ro=2*rr*Zi,Va=(-3*St+sr*(1+3*It))*ro,Io=(-pr*Zi-(1-rr)*Va)/(pr*pr),vs=.5*Io/Yr,Fo=(1-It)*vs-2*St*Yr*ro,ts=-2*ya*Fo,bs=-ya*ro,fl=-ya*(St*(1+It)*Io+kr*(1+3*It)*ro);return[w/4*(Ge*(ts+bs*li)+fl*L(Ge/F(_n))),Ci]}function pi(){return x.geoProjection(Bn(wn)).scale(239.75)}function Ta(Ge,$e,st){var dt,St,xt;return Ge?(dt=Sa(Ge,st),$e?(St=Sa($e,1-st),xt=St[1]*St[1]+st*dt[0]*dt[0]*St[0]*St[0],[[dt[0]*St[2]/xt,dt[1]*dt[2]*St[0]*St[1]/xt],[dt[1]*St[1]/xt,-dt[0]*dt[2]*St[0]*St[2]/xt],[dt[2]*St[1]*St[2]/xt,-st*dt[0]*dt[1]*St[0]/xt]]):[[dt[0],0],[dt[1],0],[dt[2],0]]):(St=Sa($e,1-st),[[0,St[0]/St[1]],[1/St[1],0],[St[2]/St[1],0]])}function Sa(Ge,$e){var st,dt,St,xt,It;if($e=1-l)return st=(1-$e)/4,dt=I(Ge),xt=B(Ge),St=1/dt,It=dt*O(Ge),[xt+st*(It-Ge)/(dt*dt),St-st*xt*St*(It-Ge),St+st*xt*St*(It+Ge),2*e(o(Ge))-M+st*(It-Ge)/dt];var rr=[1,0,0,0,0,0,0,0,0],sr=[F($e),0,0,0,0,0,0,0,0],pr=0;for(dt=F(1-$e),It=1;S(sr[pr]/rr[pr])>l&&pr<8;)st=rr[pr++],sr[pr]=(st-dt)/2,rr[pr]=(st+dt)/2,dt=F(st*dt),It*=2;St=It*rr[pr]*Ge;do xt=sr[pr]*d(dt=St)/rr[pr],St=(L(xt)+St)/2;while(--pr);return[d(St),xt=r(St),xt/r(St-dt),St]}function qa(Ge,$e,st){var dt=S(Ge),St=S($e),xt=O(St);if(dt){var It=1/d(dt),rr=1/(T(dt)*T(dt)),sr=-(rr+st*(xt*xt*It*It)-1+st),pr=(st-1)*rr,kr=(-sr+F(sr*sr-4*pr))/2;return[to(e(1/F(kr)),st)*p(Ge),to(e(F((kr/rr-1)/st)),1-st)*p($e)]}return[0,to(e(xt),1-st)*p($e)]}function to(Ge,$e){if(!$e)return Ge;if($e===1)return i(T(Ge/2+E));for(var st=1,dt=F(1-$e),St=F($e),xt=0;S(St)>l;xt++){if(Ge%w){var It=e(dt*T(Ge)/st);It<0&&(It+=w),Ge+=It+~~(Ge/w)*w}else Ge+=Ge;St=(st+dt)/2,dt=F(st*dt),St=((st=St)-dt)/2}return Ge/(c(2,xt)*st)}function yo(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=i(T(w/4+S($e)/2)),rr=o(xt*It)/F(st),sr=Xa(rr*r(xt*Ge),rr*d(xt*Ge)),pr=qa(sr[0],sr[1],dt*dt);return[-pr[1],($e>=0?1:-1)*(.5*St-pr[0])]}function Xa(Ge,$e){var st=Ge*Ge,dt=$e+1,St=1-st-$e*$e;return[.5*((Ge>=0?M:-M)-t(St,2*Ge)),-.25*i(St*St+4*st)+.5*i(dt*dt+st)]}function Go(Ge,$e){var st=$e[0]*$e[0]+$e[1]*$e[1];return[(Ge[0]*$e[0]+Ge[1]*$e[1])/st,(Ge[1]*$e[0]-Ge[0]*$e[1])/st]}yo.invert=function(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=Ta(.5*St-$e,-Ge,dt*dt),rr=Go(It[0],It[1]),sr=t(rr[1],rr[0])/xt;return[sr,2*e(o(.5/xt*i(st*rr[0]*rr[0]+st*rr[1]*rr[1])))-M]};function pa(){return x.geoProjection(Bn(yo)).scale(151.496)}function cs(Ge){var $e=d(Ge),st=r(Ge),dt=Ko(Ge);dt.invert=Ko(-Ge);function St(xt,It){var rr=dt(xt,It);xt=rr[0],It=rr[1];var sr=d(It),pr=r(It),kr=r(xt),Yr=z($e*sr+st*pr*kr),_n=d(Yr),Mn=S(_n)>l?Yr/_n:1;return[Mn*st*d(xt),(S(xt)>M?Mn:-Mn)*($e*pr-st*sr*kr)]}return St.invert=function(xt,It){var rr=F(xt*xt+It*It),sr=-d(rr),pr=r(rr),kr=rr*pr,Yr=-It*sr,_n=rr*$e,Mn=F(kr*kr+Yr*Yr-_n*_n),Un=t(kr*_n+Yr*Mn,Yr*_n-kr*Mn),li=(rr>M?-1:1)*t(xt*sr,rr*r(Un)*pr+It*d(Un)*sr);return dt.invert(li,Un)},St}function Ko(Ge){var $e=d(Ge),st=r(Ge);return function(dt,St){var xt=r(St),It=r(dt)*xt,rr=d(dt)*xt,sr=d(St);return[t(rr,It*st-sr*$e),L(sr*st+It*$e)]}}function gs(){var Ge=0,$e=x.geoProjectionMutator(cs),st=$e(Ge),dt=st.rotate,St=st.stream,xt=x.geoCircle();return st.parallel=function(It){if(!arguments.length)return Ge*y;var rr=st.rotate();return $e(Ge=It*f).rotate(rr)},st.rotate=function(It){return arguments.length?(dt.call(st,[It[0],It[1]-Ge*y]),xt.center([-It[0],-It[1]]),st):(It=dt.call(st),It[1]+=Ge*y,It)},st.stream=function(It){return It=St(It),It.sphere=function(){It.polygonStart();var rr=.01,sr=xt.radius(90-rr)().coordinates[0],pr=sr.length-1,kr=-1,Yr;for(It.lineStart();++kr=0;)It.point((Yr=sr[kr])[0],Yr[1]);It.lineEnd(),It.polygonEnd()},It},st.scale(79.4187).parallel(45).clipAngle(180-.001)}var Ya=3,zo=L(1-1/Ya)*y,Ka=Rt(0);function Yo(Ge){var $e=zo*f,st=He(w,$e)[0]-He(-w,$e)[0],dt=Ka(0,$e)[1],St=He(0,$e)[1],xt=v-St,It=u/Ge,rr=4/u,sr=dt+xt*xt*4/u;function pr(kr,Yr){var _n,Mn=S(Yr);if(Mn>$e){var Un=s(Ge-1,a(0,n((kr+w)/It)));kr+=w*(Ge-1)/Ge-Un*It,_n=He(kr,Mn),_n[0]=_n[0]*u/st-u*(Ge-1)/(2*Ge)+Un*u/Ge,_n[1]=dt+(_n[1]-St)*4*xt/u,Yr<0&&(_n[1]=-_n[1])}else _n=Ka(kr,Yr);return _n[0]*=rr,_n[1]/=sr,_n}return pr.invert=function(kr,Yr){kr/=rr,Yr*=sr;var _n=S(Yr);if(_n>dt){var Mn=s(Ge-1,a(0,n((kr+w)/It)));kr=(kr+w*(Ge-1)/Ge-Mn*It)*st/u;var Un=He.invert(kr,.25*(_n-dt)*u/xt+St);return Un[0]-=w*(Ge-1)/Ge-Mn*It,Yr<0&&(Un[1]=-Un[1]),Un}return Ka.invert(kr,Yr)},pr}function ns(Ge,$e){return[Ge,$e&1?90-l:zo]}function hs(Ge,$e){return[Ge,$e&1?-90+l:-zo]}function ho(Ge){return[Ge[0]*(1-l),Ge[1]]}function Ro(Ge){var $e=[].concat(A.range(-180,180+Ge/2,Ge).map(ns),A.range(180,-180-Ge/2,-Ge).map(hs));return{type:"Polygon",coordinates:[Ge===180?$e.map(ho):$e]}}function Ls(){var Ge=4,$e=x.geoProjectionMutator(Yo),st=$e(Ge),dt=st.stream;return st.lobes=function(St){return arguments.length?$e(Ge=+St):Ge},st.stream=function(St){var xt=st.rotate(),It=dt(St),rr=(st.rotate([0,0]),dt(St));return st.rotate(xt),It.sphere=function(){x.geoStream(Ro(180/Ge),rr)},It},st.scale(239.75)}function Vs(Ge){var $e=1+Ge,st=d(1/$e),dt=L(st),St=2*F(w/(xt=w+4*dt*$e)),xt,It=.5*St*($e+F(Ge*(2+Ge))),rr=Ge*Ge,sr=$e*$e;function pr(kr,Yr){var _n=1-d(Yr),Mn,Un;if(_n&&_n<2){var li=M-Yr,ki=25,Ci;do{var Zi=d(li),ya=r(li),ro=dt+t(Zi,$e-ya),Va=1+sr-2*$e*ya;li-=Ci=(li-rr*dt-$e*Zi+Va*ro-.5*_n*xt)/(2*$e*Zi*ro)}while(S(Ci)>_&&--ki>0);Mn=St*F(Va),Un=kr*ro/w}else Mn=St*(Ge+_n),Un=kr*dt/w;return[Mn*d(Un),It-Mn*r(Un)]}return pr.invert=function(kr,Yr){var _n=kr*kr+(Yr-=It)*Yr,Mn=(1+sr-_n/(St*St))/(2*$e),Un=z(Mn),li=d(Un),ki=dt+t(li,$e-Mn);return[L(kr/F(_n))*w/ki,L(1-2*(Un-rr*dt-$e*li+(1+sr-2*$e*Mn)*ki)/xt)]},pr}function Ws(){var Ge=1,$e=x.geoProjectionMutator(Vs),st=$e(Ge);return st.ratio=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(167.774).center([0,18.67])}var fs=.7109889596207567,Mi=.0528035274542;function Da(Ge,$e){return $e>-fs?(Ge=ut(Ge,$e),Ge[1]+=Mi,Ge):et(Ge,$e)}Da.invert=function(Ge,$e){return $e>-fs?ut.invert(Ge,$e-Mi):et.invert(Ge,$e)};function pl(){return x.geoProjection(Da).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Xs(Ge,$e){return S($e)>fs?(Ge=ut(Ge,$e),Ge[1]-=$e>0?Mi:-Mi,Ge):et(Ge,$e)}Xs.invert=function(Ge,$e){return S($e)>fs?ut.invert(Ge,$e+($e>0?Mi:-Mi)):et.invert(Ge,$e)};function Eo(){return x.geoProjection(Xs).scale(152.63)}function Ys(Ge,$e,st,dt){var St=F(4*w/(2*st+(1+Ge-$e/2)*d(2*st)+(Ge+$e)/2*d(4*st)+$e/2*d(6*st))),xt=F(dt*d(st)*F((1+Ge*r(2*st)+$e*r(4*st))/(1+Ge+$e))),It=st*sr(1);function rr(Yr){return F(1+Ge*r(2*Yr)+$e*r(4*Yr))}function sr(Yr){var _n=Yr*st;return(2*_n+(1+Ge-$e/2)*d(2*_n)+(Ge+$e)/2*d(4*_n)+$e/2*d(6*_n))/st}function pr(Yr){return rr(Yr)*d(Yr)}var kr=function(Yr,_n){var Mn=st*Ue(sr,It*d(_n)/st,_n/w);isNaN(Mn)&&(Mn=st*p(_n));var Un=St*rr(Mn);return[Un*xt*Yr/w*r(Mn),Un/xt*d(Mn)]};return kr.invert=function(Yr,_n){var Mn=Ue(pr,_n*xt/St);return[Yr*w/(r(Mn)*St*xt*rr(Mn)),L(st*sr(Mn/st)/It)]},st===0&&(St=F(dt/w),kr=function(Yr,_n){return[Yr*St,d(_n)/St]},kr.invert=function(Yr,_n){return[Yr/St,L(_n*St)]}),kr}function As(){var Ge=1,$e=0,st=45*f,dt=2,St=x.geoProjectionMutator(Ys),xt=St(Ge,$e,st,dt);return xt.a=function(It){return arguments.length?St(Ge=+It,$e,st,dt):Ge},xt.b=function(It){return arguments.length?St(Ge,$e=+It,st,dt):$e},xt.psiMax=function(It){return arguments.length?St(Ge,$e,st=+It*f,dt):st*y},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(180.739)}function hl(Ge,$e,st,dt,St,xt,It,rr,sr,pr,kr){if(kr.nanEncountered)return NaN;var Yr,_n,Mn,Un,li,ki,Ci,Zi,ya,ro;if(Yr=st-$e,_n=Ge($e+Yr*.25),Mn=Ge(st-Yr*.25),isNaN(_n)){kr.nanEncountered=!0;return}if(isNaN(Mn)){kr.nanEncountered=!0;return}return Un=Yr*(dt+4*_n+St)/12,li=Yr*(St+4*Mn+xt)/12,ki=Un+li,ro=(ki-It)/15,pr>sr?(kr.maxDepthCount++,ki+ro):Math.abs(ro)>1;do sr[ki]>Mn?li=ki:Un=ki,ki=Un+li>>1;while(ki>Un);var Ci=sr[ki+1]-sr[ki];return Ci&&(Ci=(Mn-sr[ki+1])/Ci),(ki+1+Ci)/It}var Yr=2*kr(1)/w*xt/st,_n=function(Mn,Un){var li=kr(S(d(Un))),ki=dt(li)*Mn;return li/=Yr,[ki,Un>=0?li:-li]};return _n.invert=function(Mn,Un){var li;return Un*=Yr,S(Un)<1&&(li=p(Un)*L(St(S(Un))*xt)),[Mn/dt(S(Un)),li]},_n}function Uo(){var Ge=0,$e=2.5,st=1.183136,dt=x.geoProjectionMutator(la),St=dt(Ge,$e,st);return St.alpha=function(xt){return arguments.length?dt(Ge=+xt,$e,st):Ge},St.k=function(xt){return arguments.length?dt(Ge,$e=+xt,st):$e},St.gamma=function(xt){return arguments.length?dt(Ge,$e,st=+xt):st},St.scale(152.63)}function vo(Ge,$e){return S(Ge[0]-$e[0])=0;--sr)st=Ge[1][sr],dt=st[0][0],St=st[0][1],xt=st[1][1],It=st[2][0],rr=st[2][1],$e.push(Ps([[It-l,rr-l],[It-l,xt+l],[dt+l,xt+l],[dt+l,St-l]],30));return{type:"Polygon",coordinates:[A.merge($e)]}}function no(Ge,$e,st){var dt,St;function xt(sr,pr){for(var kr=pr<0?-1:1,Yr=$e[+(pr<0)],_n=0,Mn=Yr.length-1;_nYr[_n][2][0];++_n);var Un=Ge(sr-Yr[_n][1][0],pr);return Un[0]+=Ge(Yr[_n][1][0],kr*pr>kr*Yr[_n][0][1]?Yr[_n][0][1]:pr)[0],Un}st?xt.invert=st(xt):Ge.invert&&(xt.invert=function(sr,pr){for(var kr=St[+(pr<0)],Yr=$e[+(pr<0)],_n=0,Mn=kr.length;_nUn&&(li=Mn,Mn=Un,Un=li),[[Yr,Mn],[_n,Un]]})}),It):$e.map(function(pr){return pr.map(function(kr){return[[kr[0][0]*y,kr[0][1]*y],[kr[1][0]*y,kr[1][1]*y],[kr[2][0]*y,kr[2][1]*y]]})})},$e!=null&&It.lobes($e),It}var $l=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ku(){return no(Oe,$l).scale(160.857)}var Tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Vu(){return no(Xs,Tl).scale(152.63)}var Rl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Qs(){return no(ut,Rl).scale(169.529)}var nu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function qu(){return no(ut,nu).scale(169.529).rotate([20,0])}var kc=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ju(){return no(Da,kc,Ie).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var sh=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function uf(){return no(et,sh).scale(152.63).rotate([-20,0])}function qs(Ge,$e){return[3/u*Ge*F(w*w/3-$e*$e),$e]}qs.invert=function(Ge,$e){return[u/3*Ge/F(w*w/3-$e*$e),$e]};function Hc(){return x.geoProjection(qs).scale(158.837)}function bf(Ge){function $e(st,dt){if(S(S(dt)-M)2)return null;st/=2,dt/=2;var xt=st*st,It=dt*dt,rr=2*dt/(1+xt+It);return rr=c((1+rr)/(1-rr),1/Ge),[t(2*st,1-xt-It)/Ge,L((rr-1)/(rr+1))]},$e}function Ql(){var Ge=.5,$e=x.geoProjectionMutator(bf),st=$e(Ge);return st.spacing=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(124.75)}var Al=w/b;function oc(Ge,$e){return[Ge*(1+F(r($e)))/2,$e/(r($e/2)*r(Ge/6))]}oc.invert=function(Ge,$e){var st=S(Ge),dt=S($e),St=l,xt=M;dtl||S(ki)>l)&&--St>0);return St&&[st,dt]};function Ml(){return x.geoProjection(nl).scale(139.98)}function Zs(Ge,$e){return[d(Ge)/r($e),T($e)*r(Ge)]}Zs.invert=function(Ge,$e){var st=Ge*Ge,dt=$e*$e,St=dt+1,xt=st+St,It=Ge?m*F((xt-F(xt*xt-4*st))/st):1/F(St);return[L(Ge*It),p($e)*z(It)]};function sl(){return x.geoProjection(Zs).scale(144.049).clipAngle(90-.001)}function sc(Ge){var $e=r(Ge),st=T(E+Ge/2);function dt(St,xt){var It=xt-Ge,rr=S(It)=0;)kr=Ge[pr],Yr=kr[0]+rr*(Mn=Yr)-sr*_n,_n=kr[1]+rr*_n+sr*Mn;return Yr=rr*(Mn=Yr)-sr*_n,_n=rr*_n+sr*Mn,[Yr,_n]}return st.invert=function(dt,St){var xt=20,It=dt,rr=St;do{for(var sr=$e,pr=Ge[sr],kr=pr[0],Yr=pr[1],_n=0,Mn=0,Un;--sr>=0;)pr=Ge[sr],_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=pr[0]+It*(Un=kr)-rr*Yr,Yr=pr[1]+It*Yr+rr*Un;_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=It*(Un=kr)-rr*Yr-dt,Yr=It*Yr+rr*Un-St;var li=_n*_n+Mn*Mn,ki,Ci;It-=ki=(kr*_n+Yr*Mn)/li,rr-=Ci=(Yr*_n-kr*Mn)/li}while(S(ki)+S(Ci)>l*l&&--xt>0);if(xt){var Zi=F(It*It+rr*rr),ya=2*e(Zi*.5),ro=d(ya);return[t(It*ro,Zi*r(ya)),Zi?L(rr*ro/Zi):0]}},st}var ds=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Sh=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Bs=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Vo=[[.9245,0],[0,0],[.01943,0]],rf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Qu(){return Vl(ds,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function pu(){return Vl(Sh,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Df(){return Vl(Bs,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Lc(){return Vl(Vo,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function nf(){return Vl(rf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Vl(Ge,$e){var st=x.geoProjection(Nh(Ge)).rotate($e).clipAngle(90),dt=x.geoRotation($e),St=st.center;return delete st.rotate,st.center=function(xt){return arguments.length?St(dt(xt)):dt.invert(St())},st}var Jf=F(6),zf=F(7);function wf(Ge,$e){var st=L(7*d($e)/(3*Jf));return[Jf*Ge*(2*r(2*st/3)-1)/zf,9*d(st/3)/zf]}wf.invert=function(Ge,$e){var st=3*L($e*zf/9);return[Ge*zf/(Jf*(2*r(2*st/3)-1)),L(d(st)*3*Jf/7)]};function Gc(){return x.geoProjection(wf).scale(164.859)}function Ff(Ge,$e){for(var st=(1+m)*d($e),dt=$e,St=0,xt;St<25&&(dt-=xt=(d(dt/2)+d(dt)-st)/(.5*r(dt/2)+r(dt)),!(S(xt)_&&--dt>0);return xt=st*st,It=xt*xt,rr=xt*It,[Ge/(.84719-.13063*xt+rr*rr*(-.04515+.05494*xt-.02326*It+.00331*rr)),st]};function Wc(){return x.geoProjection(Pc).scale(175.295)}function Pu(Ge,$e){return[Ge*(1+r($e))/2,2*($e-T($e/2))]}Pu.invert=function(Ge,$e){for(var st=$e/2,dt=0,St=1/0;dt<10&&S(St)>l;++dt){var xt=r($e/2);$e-=St=($e-T($e/2)-st)/(1-.5/(xt*xt))}return[2*Ge/(1+r($e)),$e]};function cf(){return x.geoProjection(Pu).scale(152.63)}var Ic=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function Ks(){return no(ce(1/0),Ic).rotate([20,0]).scale(152.63)}function Of(Ge,$e){var st=d($e),dt=r($e),St=p(Ge);if(Ge===0||S($e)===M)return[0,$e];if($e===0)return[Ge,0];if(S(Ge)===M)return[Ge*dt,M*st];var xt=w/(2*Ge)-2*Ge/w,It=2*$e/w,rr=(1-It*It)/(st-It),sr=xt*xt,pr=rr*rr,kr=1+sr/pr,Yr=1+pr/sr,_n=(xt*st/rr-xt/2)/kr,Mn=(pr*st/sr+rr/2)/Yr,Un=_n*_n+dt*dt/kr,li=Mn*Mn-(pr*st*st/sr+rr*st-1)/Yr;return[M*(_n+F(Un)*St),M*(Mn+F(li<0?0:li)*p(-$e*xt)*St)]}Of.invert=function(Ge,$e){Ge/=M,$e/=M;var st=Ge*Ge,dt=$e*$e,St=st+dt,xt=w*w;return[Ge?(St-1+F((1-St)*(1-St)+4*st))/(2*Ge)*M:0,Ue(function(It){return St*(w*d(It)-2*It)*w+4*It*It*($e-d(It))+2*w*It-xt*$e},0)]};function Eh(){return x.geoProjection(Of).scale(127.267)}var Qf=1.0148,af=.23185,lh=-.14499,Iu=.02406,eh=Qf,su=5*af,Ru=7*lh,yc=9*Iu,Dl=1.790857183;function Rc(Ge,$e){var st=$e*$e;return[Ge,$e*(Qf+st*st*(af+st*(lh+Iu*st)))]}Rc.invert=function(Ge,$e){$e>Dl?$e=Dl:$e<-Dl&&($e=-Dl);var st=$e,dt;do{var St=st*st;st-=dt=(st*(Qf+St*St*(af+St*(lh+Iu*St)))-$e)/(eh+St*St*(su+St*(Ru+yc*St)))}while(S(dt)>l);return[Ge,st]};function tc(){return x.geoProjection(Rc).scale(139.319)}function xu(Ge,$e){if(S($e)l&&--St>0);return It=T(dt),[(S($e)=0;)if(dt=$e[rr],st[0]===dt[0]&&st[1]===dt[1]){if(xt)return[xt,st];xt=st}}}function lu(Ge){for(var $e=Ge.length,st=[],dt=Ge[$e-1],St=0;St<$e;++St)st.push([dt,dt=Ge[St]]);return st}function Xc(Ge){return Ge.project.invert||Ge.children&&Ge.children.some(Xc)}var ch=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Mf=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(Ge){return Ge.map(function($e){return ch[$e]})});function dl(Ge){Ge=Ge||function(st){var dt=x.geoCentroid({type:"MultiPoint",coordinates:st});return x.geoGnomonic().scale(1).translate([0,0]).rotate([-dt[0],-dt[1]])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:st0?[-dt[0],0]:[180-dt[0],180])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:stdt^Mn>dt&&st<(_n-pr)*(dt-kr)/(Mn-kr)+pr&&(St=!St)}return St}function Xl(Ge,$e){var st=$e.stream,dt;if(!st)throw new Error("invalid projection");switch(Ge&&Ge.type){case"Feature":dt=Wu;break;case"FeatureCollection":dt=Uf;break;default:dt=cc;break}return dt(Ge,st)}function Uf(Ge,$e){return{type:"FeatureCollection",features:Ge.features.map(function(st){return Wu(st,$e)})}}function Wu(Ge,$e){return{type:"Feature",id:Ge.id,properties:Ge.properties,geometry:cc(Ge.geometry,$e)}}function bc(Ge,$e){return{type:"GeometryCollection",geometries:Ge.geometries.map(function(st){return cc(st,$e)})}}function cc(Ge,$e){if(!Ge)return null;if(Ge.type==="GeometryCollection")return bc(Ge,$e);var st;switch(Ge.type){case"Point":st=fc;break;case"MultiPoint":st=fc;break;case"LineString":st=Dc;break;case"MultiLineString":st=Dc;break;case"Polygon":st=rc;break;case"MultiPolygon":st=rc;break;case"Sphere":st=rc;break;default:return null}return x.geoStream(Ge,$e(st)),st.result()}var zl=[],uu=[],fc={point:function(Ge,$e){zl.push([Ge,$e])},result:function(){var Ge=zl.length?zl.length<2?{type:"Point",coordinates:zl[0]}:{type:"MultiPoint",coordinates:zl}:null;return zl=[],Ge}},Dc={lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){zl.length&&(uu.push(zl),zl=[])},result:function(){var Ge=uu.length?uu.length<2?{type:"LineString",coordinates:uu[0]}:{type:"MultiLineString",coordinates:uu}:null;return uu=[],Ge}},rc={polygonStart:uc,lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){var Ge=zl.length;if(Ge){do zl.push(zl[0].slice());while(++Ge<4);uu.push(zl),zl=[]}},polygonEnd:uc,result:function(){if(!uu.length)return null;var Ge=[],$e=[];return uu.forEach(function(st){Zc(st)?Ge.push([st]):$e.push(st)}),$e.forEach(function(st){var dt=st[0];Ge.some(function(St){if(Nf(St[0],dt))return St.push(st),!0})||Ge.push([st])}),uu=[],Ge.length?Ge.length>1?{type:"MultiPolygon",coordinates:Ge}:{type:"Polygon",coordinates:Ge[0]}:null}};function Yc(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=S(dt)0?dt-w:dt+w,St),rr=(It[0]-It[1])*m,sr=(It[0]+It[1])*m;if(xt)return[rr,sr];var pr=$e*m,kr=rr>0^sr>0?-1:1;return[kr*rr-p(sr)*pr,kr*sr-p(rr)*pr]}return Ge.invert&&(st.invert=function(dt,St){var xt=(dt+St)*m,It=(St-dt)*m,rr=S(xt)<.5*$e&&S(It)<.5*$e;if(!rr){var sr=$e*m,pr=xt>0^It>0?-1:1,kr=-pr*dt+(It>0?1:-1)*sr,Yr=-pr*St+(xt>0?1:-1)*sr;xt=(-kr-Yr)*m,It=(kr-Yr)*m}var _n=Ge.invert(xt,It);return rr||(_n[0]+=xt>0?w:-w),_n}),x.geoProjection(st).rotate([-90,-90,45]).clipAngle(180-.001)}function Yt(){return Yc(wn).scale(176.423)}function dr(){return Yc(yo).scale(111.48)}function tn(Ge,$e){if(!(0<=($e=+$e)&&$e<=20))throw new Error("invalid digits");function st(pr){var kr=pr.length,Yr=2,_n=new Array(kr);for(_n[0]=+pr[0].toFixed($e),_n[1]=+pr[1].toFixed($e);Yr2||Mn[0]!=kr[0]||Mn[1]!=kr[1])&&(Yr.push(Mn),kr=Mn)}return Yr.length===1&&pr.length>1&&Yr.push(st(pr[pr.length-1])),Yr}function xt(pr){return pr.map(St)}function It(pr){if(pr==null)return pr;var kr;switch(pr.type){case"GeometryCollection":kr={type:"GeometryCollection",geometries:pr.geometries.map(It)};break;case"Point":kr={type:"Point",coordinates:st(pr.coordinates)};break;case"MultiPoint":kr={type:pr.type,coordinates:dt(pr.coordinates)};break;case"LineString":kr={type:pr.type,coordinates:St(pr.coordinates)};break;case"MultiLineString":case"Polygon":kr={type:pr.type,coordinates:xt(pr.coordinates)};break;case"MultiPolygon":kr={type:"MultiPolygon",coordinates:pr.coordinates.map(xt)};break;default:return pr}return pr.bbox!=null&&(kr.bbox=pr.bbox),kr}function rr(pr){var kr={type:"Feature",properties:pr.properties,geometry:It(pr.geometry)};return pr.id!=null&&(kr.id=pr.id),pr.bbox!=null&&(kr.bbox=pr.bbox),kr}if(Ge!=null)switch(Ge.type){case"Feature":return rr(Ge);case"FeatureCollection":{var sr={type:"FeatureCollection",features:Ge.features.map(rr)};return Ge.bbox!=null&&(sr.bbox=Ge.bbox),sr}default:return It(Ge)}return Ge}function Wr(Ge){var $e=d(Ge);function st(dt,St){var xt=$e?T(dt*$e/2)/$e:dt/2;if(!St)return[2*xt,-Ge];var It=2*e(xt*d(St)),rr=1/T(St);return[d(It)*rr,St+(1-r(It))*rr-Ge]}return st.invert=function(dt,St){if(S(St+=Ge)l&&--rr>0);var _n=dt*(pr=T(It)),Mn=T(S(St)0?M:-M)*(sr+St*(kr-It)/2+St*St*(kr-2*sr+It)/2)]}yi.invert=function(Ge,$e){var st=$e/M,dt=st*90,St=s(18,S(dt/5)),xt=a(0,n(St));do{var It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],pr=sr-It,kr=sr-2*rr+It,Yr=2*(S(st)-rr)/pr,_n=kr/pr,Mn=Yr*(1-_n*Yr*(1-2*_n*Yr));if(Mn>=0||xt===1){dt=($e>=0?5:-5)*(Mn+St);var Un=50,li;do St=s(18,S(dt)/5),xt=n(St),Mn=St-xt,It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],dt-=(li=($e>=0?M:-M)*(rr+Mn*(sr-It)/2+Mn*Mn*(sr-2*rr+It)/2)-$e)*y;while(S(li)>_&&--Un>0);break}}while(--xt>=0);var ki=si[xt][0],Ci=si[xt+1][0],Zi=si[s(19,xt+2)][0];return[Ge/(Ci+Mn*(Zi-ki)/2+Mn*Mn*(Zi-2*Ci+ki)/2),dt*f]};function Di(){return x.geoProjection(yi).scale(152.63)}function Wi(Ge){function $e(st,dt){var St=r(dt),xt=(Ge-1)/(Ge-St*r(st));return[xt*St*d(st),xt*d(dt)]}return $e.invert=function(st,dt){var St=st*st+dt*dt,xt=F(St),It=(Ge-F(1-St*(Ge+1)/(Ge-1)))/((Ge-1)/xt+xt/(Ge-1));return[t(st*It,xt*F(1-It*It)),xt?L(dt*It/xt):0]},$e}function aa(Ge,$e){var st=Wi(Ge);if(!$e)return st;var dt=r($e),St=d($e);function xt(It,rr){var sr=st(It,rr),pr=sr[1],kr=pr*St/(Ge-1)+dt;return[sr[0]*dt/kr,pr/kr]}return xt.invert=function(It,rr){var sr=(Ge-1)/(Ge-1-rr*St);return st.invert(sr*It,sr*rr*dt)},xt}function bi(){var Ge=2,$e=0,st=x.geoProjectionMutator(aa),dt=st(Ge,$e);return dt.distance=function(St){return arguments.length?st(Ge=+St,$e):Ge},dt.tilt=function(St){return arguments.length?st(Ge,$e=St*f):$e*y},dt.scale(432.147).clipAngle(z(1/Ge)*y-1e-6)}var zi=1e-4,Li=1e4,di=-180,wa=di+zi,po=180,co=po-zi,mo=-90,Ao=mo+zi,xa=90,Qi=xa-zi;function Lo(Ge){return Ge.length>0}function as(Ge){return Math.floor(Ge*Li)/Li}function Ds(Ge){return Ge===mo||Ge===xa?[0,Ge]:[di,as(Ge)]}function il(Ge){var $e=Ge[0],st=Ge[1],dt=!1;return $e<=wa?($e=di,dt=!0):$e>=co&&($e=po,dt=!0),st<=Ao?(st=mo,dt=!0):st>=Qi&&(st=xa,dt=!0),dt?[$e,st]:Ge}function Ns(Ge){return Ge.map(il)}function el(Ge,$e,st){for(var dt=0,St=Ge.length;dt=co||kr<=Ao||kr>=Qi){xt[It]=il(sr);for(var Yr=It+1;Yrwa&&MnAo&&Un=rr)break;st.push({index:-1,polygon:$e,ring:xt=xt.slice(Yr-1)}),xt[0]=Ds(xt[0][1]),It=-1,rr=xt.length}}}}function Es(Ge){var $e,st=Ge.length,dt={},St={},xt,It,rr,sr,pr;for($e=0;$e0?w-rr:rr)*y],pr=x.geoProjection(Ge(It)).rotate(sr),kr=x.geoRotation(sr),Yr=pr.center;return delete pr.rotate,pr.center=function(_n){return arguments.length?Yr(kr(_n)):kr.invert(Yr())},pr.clipAngle(90)}function zs(Ge){var $e=r(Ge);function st(dt,St){var xt=x.geoGnomonicRaw(dt,St);return xt[0]*=$e,xt}return st.invert=function(dt,St){return x.geoGnomonicRaw.invert(dt/$e,St)},st}function cu(){return zu([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function zu(Ge,$e){return Js(zs,Ge,$e)}function nc(Ge){if(!(Ge*=2))return x.geoAzimuthalEquidistantRaw;var $e=-Ge/2,st=-$e,dt=Ge*Ge,St=T(st),xt=.5/d(st);function It(rr,sr){var pr=z(r(sr)*r(rr-$e)),kr=z(r(sr)*r(rr-st)),Yr=sr<0?-1:1;return pr*=pr,kr*=kr,[(pr-kr)/(2*Ge),Yr*F(4*dt*kr-(dt-pr+kr)*(dt-pr+kr))/(2*Ge)]}return It.invert=function(rr,sr){var pr=sr*sr,kr=r(F(pr+(_n=rr+$e)*_n)),Yr=r(F(pr+(_n=rr+st)*_n)),_n,Mn;return[t(Mn=kr-Yr,_n=(kr+Yr)*St),(sr<0?-1:1)*z(F(_n*_n+Mn*Mn)*xt)]},It}function Kc(){return Tu([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Tu(Ge,$e){return Js(nc,Ge,$e)}function zc(Ge,$e){if(S($e)l&&--rr>0);return[p(Ge)*(F(St*St+4)+St)*w/4,M*It]};function dc(){return x.geoProjection(hc).scale(127.16)}function Ne(Ge,$e,st,dt,St){function xt(It,rr){var sr=st*d(dt*rr),pr=F(1-sr*sr),kr=F(2/(1+pr*r(It*=St)));return[Ge*pr*kr*d(It),$e*sr*kr]}return xt.invert=function(It,rr){var sr=It/Ge,pr=rr/$e,kr=F(sr*sr+pr*pr),Yr=2*L(kr/2);return[t(It*T(Yr),Ge*kr)/St,kr&&L(rr*d(Yr)/($e*st*kr))/dt]},xt}function R(Ge,$e,st,dt){var St=w/3;Ge=a(Ge,l),$e=a($e,l),Ge=s(Ge,M),$e=s($e,w-l),st=a(st,0),st=s(st,100-l),dt=a(dt,l);var xt=st/100+1,It=dt/100,rr=z(xt*r(St))/St,sr=d(Ge)/d(rr*M),pr=$e/w,kr=F(It*d(Ge/2)/d($e/2)),Yr=kr/F(pr*sr*rr),_n=1/(kr*F(pr*sr*rr));return Ne(Yr,_n,sr,rr,pr)}function ne(){var Ge=65*f,$e=60*f,st=20,dt=200,St=x.geoProjectionMutator(R),xt=St(Ge,$e,st,dt);return xt.poleline=function(It){return arguments.length?St(Ge=+It*f,$e,st,dt):Ge*y},xt.parallels=function(It){return arguments.length?St(Ge,$e=+It*f,st,dt):$e*y},xt.inflation=function(It){return arguments.length?St(Ge,$e,st=+It,dt):st},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(163.775)}function be(){return ne().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var Ae=4*w+3*F(3),Fe=2*F(2*w*F(3)/Ae),ht=tt(Fe*F(3)/w,Fe,Ae/6);function wt(){return x.geoProjection(ht).scale(176.84)}function zt(Ge,$e){return[Ge*F(1-3*$e*$e/(w*w)),$e]}zt.invert=function(Ge,$e){return[Ge/F(1-3*$e*$e/(w*w)),$e]};function Jt(){return x.geoProjection(zt).scale(152.63)}function hr(Ge,$e){var st=r($e),dt=r(Ge)*st,St=1-dt,xt=r(Ge=t(d(Ge)*st,-d($e))),It=d(Ge);return st=F(1-dt*dt),[It*st-xt*St,-xt*st-It*St]}hr.invert=function(Ge,$e){var st=(Ge*Ge+$e*$e)/-2,dt=F(-st*(2+st)),St=$e*st+Ge*dt,xt=Ge*st-$e*dt,It=F(xt*xt+St*St);return[t(dt*St,It*(1+st)),It?-L(dt*xt/It):0]};function vr(){return x.geoProjection(hr).rotate([0,-90,45]).scale(124.75).clipAngle(180-.001)}function Hr(Ge,$e){var st=le(Ge,$e);return[(st[0]+Ge/M)/2,(st[1]+$e)/2]}Hr.invert=function(Ge,$e){var st=Ge,dt=$e,St=25;do{var xt=r(dt),It=d(dt),rr=d(2*dt),sr=It*It,pr=xt*xt,kr=d(st),Yr=r(st/2),_n=d(st/2),Mn=_n*_n,Un=1-pr*Yr*Yr,li=Un?z(xt*Yr)*F(ki=1/Un):ki=0,ki,Ci=.5*(2*li*xt*_n+st/M)-Ge,Zi=.5*(li*It+dt)-$e,ya=.5*ki*(pr*Mn+li*xt*Yr*sr)+.5/M,ro=ki*(kr*rr/4-li*It*_n),Va=.125*ki*(rr*_n-li*It*pr*kr),Io=.5*ki*(sr*Yr+li*Mn*xt)+.5,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]};function ln(){return x.geoProjection(Hr).scale(158.837)}g.geoNaturalEarth=x.geoNaturalEarth1,g.geoNaturalEarthRaw=x.geoNaturalEarth1Raw,g.geoAiry=Q,g.geoAiryRaw=W,g.geoAitoff=se,g.geoAitoffRaw=le,g.geoArmadillo=G,g.geoArmadilloRaw=fe,g.geoAugust=J,g.geoAugustRaw=$,g.geoBaker=j,g.geoBakerRaw=ae,g.geoBerghaus=ie,g.geoBerghausRaw=ee,g.geoBertin1953=it,g.geoBertin1953Raw=Ye,g.geoBoggs=rt,g.geoBoggsRaw=Oe,g.geoBonne=Bt,g.geoBonneRaw=Et,g.geoBottomley=fr,g.geoBottomleyRaw=qt,g.geoBromley=Rr,g.geoBromleyRaw=ar,g.geoChamberlin=Se,g.geoChamberlinRaw=Be,g.geoChamberlinAfrica=je,g.geoCollignon=Ee,g.geoCollignonRaw=He,g.geoCraig=Le,g.geoCraigRaw=we,g.geoCraster=bt,g.geoCrasterRaw=pt,g.geoCylindricalEqualArea=Nt,g.geoCylindricalEqualAreaRaw=Rt,g.geoCylindricalStereographic=$t,g.geoCylindricalStereographicRaw=Xt,g.geoEckert1=pn,g.geoEckert1Raw=ur,g.geoEckert2=Nn,g.geoEckert2Raw=Rn,g.geoEckert3=ni,g.geoEckert3Raw=On,g.geoEckert4=Qn,g.geoEckert4Raw=zn,g.geoEckert5=Zt,g.geoEckert5Raw=gi,g.geoEckert6=Ht,g.geoEckert6Raw=Ft,g.geoEisenlohr=$r,g.geoEisenlohrRaw=wr,g.geoFahey=Fn,g.geoFaheyRaw=en,g.geoFoucaut=ri,g.geoFoucautRaw=Wn,g.geoFoucautSinusoidal=ui,g.geoFoucautSinusoidalRaw=Sn,g.geoGilbert=Pr,g.geoGingery=Lr,g.geoGingeryRaw=Ir,g.geoGinzburg4=nn,g.geoGinzburg4Raw=Dr,g.geoGinzburg5=gn,g.geoGinzburg5Raw=vn,g.geoGinzburg6=or,g.geoGinzburg6Raw=kt,g.geoGinzburg8=on,g.geoGinzburg8Raw=yr,g.geoGinzburg9=Zn,g.geoGinzburg9Raw=An,g.geoGringorten=pi,g.geoGringortenRaw=wn,g.geoGuyou=pa,g.geoGuyouRaw=yo,g.geoHammer=Te,g.geoHammerRaw=ce,g.geoHammerRetroazimuthal=gs,g.geoHammerRetroazimuthalRaw=cs,g.geoHealpix=Ls,g.geoHealpixRaw=Yo,g.geoHill=Ws,g.geoHillRaw=Vs,g.geoHomolosine=Eo,g.geoHomolosineRaw=Xs,g.geoHufnagel=As,g.geoHufnagelRaw=Ys,g.geoHyperelliptical=Uo,g.geoHyperellipticalRaw=la,g.geoInterrupt=no,g.geoInterruptedBoggs=Ku,g.geoInterruptedHomolosine=Vu,g.geoInterruptedMollweide=Qs,g.geoInterruptedMollweideHemispheres=qu,g.geoInterruptedSinuMollweide=Ju,g.geoInterruptedSinusoidal=uf,g.geoKavrayskiy7=Hc,g.geoKavrayskiy7Raw=qs,g.geoLagrange=Ql,g.geoLagrangeRaw=bf,g.geoLarrivee=gc,g.geoLarriveeRaw=oc,g.geoLaskowski=Ml,g.geoLaskowskiRaw=nl,g.geoLittrow=sl,g.geoLittrowRaw=Zs,g.geoLoximuthal=jl,g.geoLoximuthalRaw=sc,g.geoMiller=ll,g.geoMillerRaw=$u,g.geoModifiedStereographic=Vl,g.geoModifiedStereographicRaw=Nh,g.geoModifiedStereographicAlaska=Qu,g.geoModifiedStereographicGs48=pu,g.geoModifiedStereographicGs50=Df,g.geoModifiedStereographicMiller=Lc,g.geoModifiedStereographicLee=nf,g.geoMollweide=Me,g.geoMollweideRaw=ut,g.geoMtFlatPolarParabolic=Gc,g.geoMtFlatPolarParabolicRaw=wf,g.geoMtFlatPolarQuartic=$f,g.geoMtFlatPolarQuarticRaw=Ff,g.geoMtFlatPolarSinusoidal=Tf,g.geoMtFlatPolarSinusoidalRaw=ec,g.geoNaturalEarth2=Wc,g.geoNaturalEarth2Raw=Pc,g.geoNellHammer=cf,g.geoNellHammerRaw=Pu,g.geoInterruptedQuarticAuthalic=Ks,g.geoNicolosi=Eh,g.geoNicolosiRaw=Of,g.geoPatterson=tc,g.geoPattersonRaw=Rc,g.geoPolyconic=Sl,g.geoPolyconicRaw=xu,g.geoPolyhedral=of,g.geoPolyhedralButterfly=dl,g.geoPolyhedralCollignon=Bf,g.geoPolyhedralWaterman=ul,g.geoProject=Xl,g.geoGringortenQuincuncial=Yt,g.geoPeirceQuincuncial=dr,g.geoPierceQuincuncial=dr,g.geoQuantize=tn,g.geoQuincuncial=Yc,g.geoRectangularPolyconic=Cn,g.geoRectangularPolyconicRaw=Wr,g.geoRobinson=Di,g.geoRobinsonRaw=yi,g.geoSatellite=bi,g.geoSatelliteRaw=aa,g.geoSinuMollweide=pl,g.geoSinuMollweideRaw=Da,g.geoSinusoidal=Lt,g.geoSinusoidalRaw=et,g.geoStitch=cl,g.geoTimes=jo,g.geoTimesRaw=Za,g.geoTwoPointAzimuthal=zu,g.geoTwoPointAzimuthalRaw=zs,g.geoTwoPointAzimuthalUsa=cu,g.geoTwoPointEquidistant=Tu,g.geoTwoPointEquidistantRaw=nc,g.geoTwoPointEquidistantUsa=Kc,g.geoVanDerGrinten=Fu,g.geoVanDerGrintenRaw=zc,g.geoVanDerGrinten2=bo,g.geoVanDerGrinten2Raw=wc,g.geoVanDerGrinten3=Fc,g.geoVanDerGrinten3Raw=Wo,g.geoVanDerGrinten4=dc,g.geoVanDerGrinten4Raw=hc,g.geoWagner=ne,g.geoWagner7=be,g.geoWagnerRaw=R,g.geoWagner4=wt,g.geoWagner4Raw=ht,g.geoWagner6=Jt,g.geoWagner6Raw=zt,g.geoWiechel=vr,g.geoWiechelRaw=hr,g.geoWinkel3=ln,g.geoWinkel3Raw=Hr,Object.defineProperty(g,"__esModule",{value:!0})})}}),d6=ke({"src/plots/geo/zoom.js"(Z,H){"use strict";var g=_i(),x=un(),A=lo(),S=Math.PI/180,e=180/Math.PI,t={cursor:"pointer"},r={cursor:"auto"};function o(y,f){var P=y.projection,L;return f._isScoped?L=a:f._isClipped?L=c:L=s,L(y,P)}H.exports=o;function n(y,f){return g.behavior.zoom().translate(f.translate()).scale(f.scale())}function i(y,f,P){var L=y.id,z=y.graphDiv,F=z.layout,B=F[L],O=z._fullLayout,I=O[L],N={},U={};function W(Q,le){N[L+"."+Q]=x.nestedProperty(B,Q).get(),A.call("_storeDirectGUIEdit",F,O._preGUI,N);var se=x.nestedProperty(I,Q);se.get()!==le&&(se.set(le),x.nestedProperty(B,Q).set(le),U[L+"."+Q]=le)}P(W),W("projection.scale",f.scale()/y.fitScale),W("fitbounds",!1),z.emit("plotly_relayout",U)}function a(y,f){var P=n(y,f);function L(){g.select(this).style(t)}function z(){f.scale(g.event.scale).translate(g.event.translate),y.render(!0);var O=f.invert(y.midPt);y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}function F(O){var I=f.invert(y.midPt);O("center.lon",I[0]),O("center.lat",I[1])}function B(){g.select(this).style(r),i(y,f,F)}return P.on("zoomstart",L).on("zoom",z).on("zoomend",B),P}function s(y,f){var P=n(y,f),L=2,z,F,B,O,I,N,U,W,Q;function le(X){return f.invert(X)}function se(X){var re=le(X);if(!re)return!0;var ae=f(re);return Math.abs(ae[0]-X[0])>L||Math.abs(ae[1]-X[1])>L}function fe(){g.select(this).style(t),z=g.mouse(this),F=f.rotate(),B=f.translate(),O=F,I=le(z)}function G(){if(N=g.mouse(this),se(z)){P.scale(f.scale()),P.translate(f.translate());return}f.scale(g.event.scale),f.translate([B[0],g.event.translate[1]]),I?le(N)&&(W=le(N),U=[O[0]+(W[0]-I[0]),F[1],F[2]],f.rotate(U),O=U):(z=N,I=le(z)),Q=!0,y.render(!0);var X=f.rotate(),re=f.invert(y.midPt);y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.center.lon":re[0],"geo.center.lat":re[1],"geo.projection.rotation.lon":-X[0]})}function $(){g.select(this).style(r),Q&&i(y,f,J)}function J(X){var re=f.rotate(),ae=f.invert(y.midPt);X("projection.rotation.lon",-re[0]),X("center.lon",ae[0]),X("center.lat",ae[1])}return P.on("zoomstart",fe).on("zoom",G).on("zoomend",$),P}function c(y,f){var P={r:f.rotate(),k:f.scale()},L=n(y,f),z=u(L,"zoomstart","zoom","zoomend"),F=0,B=L.on,O;L.on("zoomstart",function(){g.select(this).style(t);var Q=g.mouse(this),le=f.rotate(),se=le,fe=f.translate(),G=p(le);O=h(f,Q),B.call(L,"zoom",function(){var $=g.mouse(this);if(f.scale(P.k=g.event.scale),!O)Q=$,O=h(f,Q);else if(h(f,$)){f.rotate(le).translate(fe);var J=h(f,$),X=T(O,J),re=E(d(G,X)),ae=P.r=l(re,O,se);(!isFinite(ae[0])||!isFinite(ae[1])||!isFinite(ae[2]))&&(ae=se),f.rotate(ae),se=ae}N(z.of(this,arguments))}),I(z.of(this,arguments))}).on("zoomend",function(){g.select(this).style(r),B.call(L,"zoom",null),U(z.of(this,arguments)),i(y,f,W)}).on("zoom.redraw",function(){y.render(!0);var Q=f.rotate();y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.projection.rotation.lon":-Q[0],"geo.projection.rotation.lat":-Q[1]})});function I(Q){F++||Q({type:"zoomstart"})}function N(Q){Q({type:"zoom"})}function U(Q){--F||Q({type:"zoomend"})}function W(Q){var le=f.rotate();Q("projection.rotation.lon",-le[0]),Q("projection.rotation.lat",-le[1])}return g.rebind(L,z,"on")}function h(y,f){var P=y.invert(f);return P&&isFinite(P[0])&&isFinite(P[1])&&m(P)}function p(y){var f=.5*y[0]*S,P=.5*y[1]*S,L=.5*y[2]*S,z=Math.sin(f),F=Math.cos(f),B=Math.sin(P),O=Math.cos(P),I=Math.sin(L),N=Math.cos(L);return[F*O*N+z*B*I,z*O*N-F*B*I,F*B*N+z*O*I,F*O*I-z*B*N]}function d(y,f){var P=y[0],L=y[1],z=y[2],F=y[3],B=f[0],O=f[1],I=f[2],N=f[3];return[P*B-L*O-z*I-F*N,P*O+L*B+z*N-F*I,P*I-L*N+z*B+F*O,P*N+L*I-z*O+F*B]}function T(y,f){if(!(!y||!f)){var P=v(y,f),L=Math.sqrt(b(P,P)),z=.5*Math.acos(Math.max(-1,Math.min(1,b(y,f)))),F=Math.sin(z)/L;return L&&[Math.cos(z),P[2]*F,-P[1]*F,P[0]*F]}}function l(y,f,P){var L=M(f,2,y[0]);L=M(L,1,y[1]),L=M(L,0,y[2]-P[2]);var z=f[0],F=f[1],B=f[2],O=L[0],I=L[1],N=L[2],U=Math.atan2(F,z)*e,W=Math.sqrt(z*z+F*F),Q,le;Math.abs(I)>W?(le=(I>0?90:-90)-U,Q=0):(le=Math.asin(I/W)*e-U,Q=Math.sqrt(W*W-I*I));var se=180-le-2*U,fe=(Math.atan2(N,O)-Math.atan2(B,Q))*e,G=(Math.atan2(N,O)-Math.atan2(B,-Q))*e,$=_(P[0],P[1],le,fe),J=_(P[0],P[1],se,G);return $<=J?[le,fe,P[2]]:[se,G,P[2]]}function _(y,f,P,L){var z=w(P-y),F=w(L-f);return Math.sqrt(z*z+F*F)}function w(y){return(y%360+540)%360-180}function M(y,f,P){var L=P*S,z=y.slice(),F=f===0?1:0,B=f===2?1:2,O=Math.cos(L),I=Math.sin(L);return z[F]=y[F]*O-y[B]*I,z[B]=y[B]*O+y[F]*I,z}function E(y){return[Math.atan2(2*(y[0]*y[1]+y[2]*y[3]),1-2*(y[1]*y[1]+y[2]*y[2]))*e,Math.asin(Math.max(-1,Math.min(1,2*(y[0]*y[2]-y[3]*y[1]))))*e,Math.atan2(2*(y[0]*y[3]+y[1]*y[2]),1-2*(y[2]*y[2]+y[3]*y[3]))*e]}function m(y){var f=y[0]*S,P=y[1]*S,L=Math.cos(P);return[L*Math.cos(f),L*Math.sin(f),Math.sin(P)]}function b(y,f){for(var P=0,L=0,z=y.length;L0&&I._module.calcGeoJSON(O,L)}if(!z){var N=this.updateProjection(P,L);if(N)return;(!this.viewInitial||this.scope!==F.scope)&&this.saveViewInitial(F)}this.scope=F.scope,this.updateBaseLayers(L,F),this.updateDims(L,F),this.updateFx(L,F),s.generalUpdatePerTraceModule(this.graphDiv,this,P,F);var U=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=U.selectAll(".point"),this.dataPoints.text=U.selectAll("text"),this.dataPaths.line=U.selectAll(".js-line");var W=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=W.selectAll("path"),this._render()},v.updateProjection=function(P,L){var z=this.graphDiv,F=L[this.id],B=L._size,O=F.domain,I=F.projection,N=F.lonaxis,U=F.lataxis,W=N._ax,Q=U._ax,le=this.projection=u(F),se=[[B.l+B.w*O.x[0],B.t+B.h*(1-O.y[1])],[B.l+B.w*O.x[1],B.t+B.h*(1-O.y[0])]],fe=F.center||{},G=I.rotation||{},$=N.range||[],J=U.range||[];if(F.fitbounds){W._length=se[1][0]-se[0][0],Q._length=se[1][1]-se[0][1],W.range=h(z,W),Q.range=h(z,Q);var X=(W.range[0]+W.range[1])/2,re=(Q.range[0]+Q.range[1])/2;if(F._isScoped)fe={lon:X,lat:re};else if(F._isClipped){fe={lon:X,lat:re},G={lon:X,lat:re,roll:G.roll};var ae=I.type,j=w.lonaxisSpan[ae]/2||180,ee=w.lataxisSpan[ae]/2||90;$=[X-j,X+j],J=[re-ee,re+ee]}else fe={lon:X,lat:re},G={lon:X,lat:G.lat,roll:G.roll}}le.center([fe.lon-G.lon,fe.lat-G.lat]).rotate([-G.lon,-G.lat,G.roll]).parallels(I.parallels);var ie=f($,J);le.fitExtent(se,ie);var ce=this.bounds=le.getBounds(ie),xe=this.fitScale=le.scale(),Te=le.translate();if(F.fitbounds){var Ue=le.getBounds(f(W.range,Q.range)),Ie=Math.min((ce[1][0]-ce[0][0])/(Ue[1][0]-Ue[0][0]),(ce[1][1]-ce[0][1])/(Ue[1][1]-Ue[0][1]));isFinite(Ie)?le.scale(Ie*xe):r.warn("Something went wrong during"+this.id+"fitbounds computations.")}else le.scale(I.scale*xe);var Ye=this.midPt=[(ce[0][0]+ce[1][0])/2,(ce[0][1]+ce[1][1])/2];if(le.translate([Te[0]+(Ye[0]-Te[0]),Te[1]+(Ye[1]-Te[1])]).clipExtent(ce),F._isAlbersUsa){var it=le([fe.lon,fe.lat]),at=le.translate();le.translate([at[0]-(it[0]-at[0]),at[1]-(it[1]-at[1])])}},v.updateBaseLayers=function(P,L){var z=this,F=z.topojson,B=z.layers,O=z.basePaths;function I(se){return se==="lonaxis"||se==="lataxis"}function N(se){return!!w.lineLayers[se]}function U(se){return!!w.fillLayers[se]}var W=this.hasChoropleth?w.layersForChoropleth:w.layers,Q=W.filter(function(se){return N(se)||U(se)?L["show"+se]:I(se)?L[se].showgrid:!0}),le=z.framework.selectAll(".layer").data(Q,String);le.exit().each(function(se){delete B[se],delete O[se],g.select(this).remove()}),le.enter().append("g").attr("class",function(se){return"layer "+se}).each(function(se){var fe=B[se]=g.select(this);se==="bg"?z.bgRect=fe.append("rect").style("pointer-events","all"):I(se)?O[se]=fe.append("path").style("fill","none"):se==="backplot"?fe.append("g").classed("choroplethlayer",!0):se==="frontplot"?fe.append("g").classed("scatterlayer",!0):N(se)?O[se]=fe.append("path").style("fill","none").style("stroke-miterlimit",2):U(se)&&(O[se]=fe.append("path").style("stroke","none"))}),le.order(),le.each(function(se){var fe=O[se],G=w.layerNameToAdjective[se];se==="frame"?fe.datum(w.sphereSVG):N(se)||U(se)?fe.datum(m(F,F.objects[se])):I(se)&&fe.datum(y(se,L,P)).call(n.stroke,L[se].gridcolor).call(i.dashLine,L[se].griddash,L[se].gridwidth),N(se)?fe.call(n.stroke,L[G+"color"]).call(i.dashLine,"",L[G+"width"]):U(se)&&fe.call(n.fill,L[G+"color"])})},v.updateDims=function(P,L){var z=this.bounds,F=(L.framewidth||0)/2,B=z[0][0]-F,O=z[0][1]-F,I=z[1][0]-B+F,N=z[1][1]-O+F;i.setRect(this.clipRect,B,O,I,N),this.bgRect.call(i.setRect,B,O,I,N).call(n.fill,L.bgcolor),this.xaxis._offset=B,this.xaxis._length=I,this.yaxis._offset=O,this.yaxis._length=N},v.updateFx=function(P,L){var z=this,F=z.graphDiv,B=z.bgRect,O=P.dragmode,I=P.clickmode;if(z.isStatic)return;function N(){var le=z.viewInitial,se={};for(var fe in le)se[z.id+"."+fe]=le[fe];t.call("_guiRelayout",F,se),F.emit("plotly_doubleclick",null)}function U(le){return z.projection.invert([le[0]+z.xaxis._offset,le[1]+z.yaxis._offset])}var W=function(le,se){if(se.isRect){var fe=le.range={};fe[z.id]=[U([se.xmin,se.ymin]),U([se.xmax,se.ymax])]}else{var G=le.lassoPoints={};G[z.id]=se.map(U)}},Q={element:z.bgRect.node(),gd:F,plotinfo:{id:z.id,xaxis:z.xaxis,yaxis:z.yaxis,fillRangeItems:W},xaxes:[z.xaxis],yaxes:[z.yaxis],subplot:z.id,clickFn:function(le){le===2&&T(F)}};O==="pan"?(B.node().onmousedown=null,B.call(_(z,L)),B.on("dblclick.zoom",N),F._context._scrollZoom.geo||B.on("wheel.zoom",null)):(O==="select"||O==="lasso")&&(B.on(".zoom",null),Q.prepFn=function(le,se,fe){d(le,se,fe,Q,O)},p.init(Q)),B.on("mousemove",function(){var le=z.projection.invert(r.getPositionFromD3Event());if(!le)return p.unhover(F,g.event);z.xaxis.p2c=function(){return le[0]},z.yaxis.p2c=function(){return le[1]},a.hover(F,g.event,z.id)}),B.on("mouseout",function(){F._dragging||p.unhover(F,g.event)}),B.on("click",function(){O!=="select"&&O!=="lasso"&&(I.indexOf("select")>-1&&l(g.event,F,[z.xaxis],[z.yaxis],z.id,Q),I.indexOf("event")>-1&&a.click(F,g.event))})},v.makeFramework=function(){var P=this,L=P.graphDiv,z=L._fullLayout,F="clip"+z._uid+P.id;P.clipDef=z._clips.append("clipPath").attr("id",F),P.clipRect=P.clipDef.append("rect"),P.framework=g.select(P.container).append("g").attr("class","geo "+P.id).call(i.setClipUrl,F,L),P.project=function(B){var O=P.projection(B);return O?[O[0]-P.xaxis._offset,O[1]-P.yaxis._offset]:[null,null]},P.xaxis={_id:"x",c2p:function(B){return P.project(B)[0]}},P.yaxis={_id:"y",c2p:function(B){return P.project(B)[1]}},P.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(P.mockAxis,z)},v.saveViewInitial=function(P){var L=P.center||{},z=P.projection,F=z.rotation||{};this.viewInitial={fitbounds:P.fitbounds,"projection.scale":z.scale};var B;P._isScoped?B={"center.lon":L.lon,"center.lat":L.lat}:P._isClipped?B={"projection.rotation.lon":F.lon,"projection.rotation.lat":F.lat}:B={"center.lon":L.lon,"center.lat":L.lat,"projection.rotation.lon":F.lon},r.extendFlat(this.viewInitial,B)},v.render=function(P){this._hasMarkerAngles&&P?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},v._render=function(){var P=this.projection,L=P.getPath(),z;function F(O){var I=P(O.lonlat);return I?o(I[0],I[1]):null}function B(O){return P.isLonLatOverEdges(O.lonlat)?"none":null}for(z in this.basePaths)this.basePaths[z].attr("d",L);for(z in this.dataPaths)this.dataPaths[z].attr("d",function(O){return L(O.geojson)});for(z in this.dataPoints)this.dataPoints[z].attr("display",B).attr("transform",F)};function u(P){var L=P.projection,z=L.type,F=w.projNames[z];F="geo"+r.titleCase(F);for(var B=x[F]||e[F],O=B(),I=P._isSatellite?Math.acos(1/L.distance)*180/Math.PI:P._isClipped?w.lonaxisSpan[z]/2:null,N=["center","rotate","parallels","clipExtent"],U=function(le){return le?O:[]},W=0;WG}else return!1},O.getPath=function(){return A().projection(O)},O.getBounds=function(le){return O.getPath().bounds(le)},O.precision(w.precision),P._isSatellite&&O.tilt(L.tilt).distance(L.distance),I&&O.clipAngle(I-w.clipPad),O}function y(P,L,z){var F=1e-6,B=2.5,O=L[P],I=w.scopeDefaults[L.scope],N,U,W;P==="lonaxis"?(N=I.lonaxisRange,U=I.lataxisRange,W=function(re,ae){return[re,ae]}):P==="lataxis"&&(N=I.lataxisRange,U=I.lonaxisRange,W=function(re,ae){return[ae,re]});var Q={type:"linear",range:[N[0],N[1]-F],tick0:O.tick0,dtick:O.dtick};c.setConvert(Q,z);var le=c.calcTicks(Q);!L.isScoped&&P==="lonaxis"&&le.pop();for(var se=le.length,fe=new Array(se),G=0;G0&&B<0&&(B+=360);var N=(B-F)/4;return{type:"Polygon",coordinates:[[[F,O],[F,I],[F+N,I],[F+2*N,I],[F+3*N,I],[B,I],[B,O],[B-N,O],[B-2*N,O],[B-3*N,O],[F,O]]]}}}}),gA=ke({"src/plots/geo/layout_attributes.js"(Z,H){"use strict";var g=If(),x=Yu().attributes,A=xh().dash,S=H0(),e=ju().overrideAll,t=Ip(),r={range:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},showgrid:{valType:"boolean",dflt:!1},tick0:{valType:"number",dflt:0},dtick:{valType:"number"},gridcolor:{valType:"color",dflt:g.lightLine},gridwidth:{valType:"number",min:0,dflt:1},griddash:A},o=H.exports=e({domain:x({name:"geo"},{}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,editType:"plot"},resolution:{valType:"enumerated",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:"enumerated",values:t(S.scopeDefaults),dflt:"world"},projection:{type:{valType:"enumerated",values:t(S.projNames)},rotation:{lon:{valType:"number"},lat:{valType:"number"},roll:{valType:"number"}},tilt:{valType:"number",dflt:0},distance:{valType:"number",min:1.001,dflt:2},parallels:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},scale:{valType:"number",min:0,dflt:1}},center:{lon:{valType:"number"},lat:{valType:"number"}},visible:{valType:"boolean",dflt:!0},showcoastlines:{valType:"boolean"},coastlinecolor:{valType:"color",dflt:g.defaultLine},coastlinewidth:{valType:"number",min:0,dflt:1},showland:{valType:"boolean",dflt:!1},landcolor:{valType:"color",dflt:S.landColor},showocean:{valType:"boolean",dflt:!1},oceancolor:{valType:"color",dflt:S.waterColor},showlakes:{valType:"boolean",dflt:!1},lakecolor:{valType:"color",dflt:S.waterColor},showrivers:{valType:"boolean",dflt:!1},rivercolor:{valType:"color",dflt:S.waterColor},riverwidth:{valType:"number",min:0,dflt:1},showcountries:{valType:"boolean"},countrycolor:{valType:"color",dflt:g.defaultLine},countrywidth:{valType:"number",min:0,dflt:1},showsubunits:{valType:"boolean"},subunitcolor:{valType:"color",dflt:g.defaultLine},subunitwidth:{valType:"number",min:0,dflt:1},showframe:{valType:"boolean"},framecolor:{valType:"color",dflt:g.defaultLine},framewidth:{valType:"number",min:0,dflt:1},bgcolor:{valType:"color",dflt:g.background},lonaxis:r,lataxis:r},"plot","from-root");o.uirevision={valType:"any",editType:"none"}}}),p6=ke({"src/plots/geo/layout_defaults.js"(Z,H){"use strict";var g=un(),x=Up(),A=bh().getSubplotData,S=H0(),e=gA(),t=S.axesNames;H.exports=function(n,i,a){x(n,i,a,{type:"geo",attributes:e,handleDefaults:r,fullData:a,partition:"y"})};function r(o,n,i,a){var s=A(a.fullData,"geo",a.id),c=s.map(function(J){return J.index}),h=i("resolution"),p=i("scope"),d=S.scopeDefaults[p],T=i("projection.type",d.projType),l=n._isAlbersUsa=T==="albers usa";l&&(p=n.scope="usa");var _=n._isScoped=p!=="world",w=n._isSatellite=T==="satellite",M=n._isConic=T.indexOf("conic")!==-1||T==="albers",E=n._isClipped=!!S.lonaxisSpan[T];if(o.visible===!1){var m=g.extendDeep({},n._template);m.showcoastlines=!1,m.showcountries=!1,m.showframe=!1,m.showlakes=!1,m.showland=!1,m.showocean=!1,m.showrivers=!1,m.showsubunits=!1,m.lonaxis&&(m.lonaxis.showgrid=!1),m.lataxis&&(m.lataxis.showgrid=!1),n._template=m}for(var b=i("visible"),v,u=0;u0&&U<0&&(U+=360);var W=(N+U)/2,Q;if(!l){var le=_?d.projRotate:[W,0,0];Q=i("projection.rotation.lon",le[0]),i("projection.rotation.lat",le[1]),i("projection.rotation.roll",le[2]),v=i("showcoastlines",!_&&b),v&&(i("coastlinecolor"),i("coastlinewidth")),v=i("showocean",b?void 0:!1),v&&i("oceancolor")}var se,fe;if(l?(se=-96.6,fe=38.7):(se=_?W:Q,fe=(I[0]+I[1])/2),i("center.lon",se),i("center.lat",fe),w&&(i("projection.tilt"),i("projection.distance")),M){var G=d.projParallels||[0,60];i("projection.parallels",G)}i("projection.scale"),v=i("showland",b?void 0:!1),v&&i("landcolor"),v=i("showlakes",b?void 0:!1),v&&i("lakecolor"),v=i("showrivers",b?void 0:!1),v&&(i("rivercolor"),i("riverwidth")),v=i("showcountries",_&&p!=="usa"&&b),v&&(i("countrycolor"),i("countrywidth")),(p==="usa"||p==="north america"&&h===50)&&(i("showsubunits",b),i("subunitcolor"),i("subunitwidth")),_||(v=i("showframe",b),v&&(i("framecolor"),i("framewidth"))),i("bgcolor");var $=i("fitbounds");$&&(delete n.projection.scale,_?(delete n.center.lon,delete n.center.lat):E?(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon,delete n.projection.rotation.lat,delete n.lonaxis.range,delete n.lataxis.range):(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon))}}}),yA=ke({"src/plots/geo/index.js"(Z,H){"use strict";var g=bh().getSubplotCalcData,x=un().counterRegex,A=v6(),S="geo",e=x(S),t={};t[S]={valType:"subplotid",dflt:S,editType:"calc"};function r(i){for(var a=i._fullLayout,s=i.calcdata,c=a._subplots[S],h=0;h")}}}}),rb=ke({"src/traces/choropleth/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){x.location=A.location,x.z=A.z;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x.ct=r.ct,x}}}),nb=ke({"src/traces/choropleth/select.js"(Z,H){"use strict";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n,i,a,s;if(A===!1)for(o=0;o=Math.min(U,W)&&T<=Math.max(U,W)?0:1/0}if(L=Math.min(Q,le)&&l<=Math.max(Q,le)?0:1/0}B=Math.sqrt(L*L+z*z),u=w[P]}}}else for(P=w.length-1;P>-1;P--)v=w[P],y=p[v],f=d[v],L=c.c2p(y)-T,z=h.c2p(f)-l,F=Math.sqrt(L*L+z*z),F100},Z.isDotSymbol=function(g){return typeof g=="string"?H.DOT_RE.test(g):g>200}}}),b6=ke({"src/traces/scattergl/defaults.js"(Z,H){"use strict";var g=un(),x=lo(),A=ab(),S=W0(),e=kv(),t=vu(),r=Xg(),o=hv(),n=Fd(),i=Hd(),a=dv(),s=Gd();H.exports=function(h,p,d,T){function l(u,y){return g.coerce(h,p,S,u,y)}var _=h.marker?A.isOpenSymbol(h.marker.symbol):!1,w=t.isBubble(h),M=r(h,p,T,l);if(!M){p.visible=!1;return}o(h,p,T,l),l("xhoverformat"),l("yhoverformat");var E=M>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>=0?(s=c,a=c-1):i=c+1}return s}function x(r,o,n,i,a){for(var s=a+1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>0?(s=c,a=c-1):i=c+1}return s}function A(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<0?(s=c,i=c+1):a=c-1}return s}function S(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<=0?(s=c,i=c+1):a=c-1}return s}function e(r,o,n,i,a){for(;i<=a;){var s=i+a>>>1,c=r[s],h=n!==void 0?n(c,o):c-o;if(h===0)return s;h<=0?i=s+1:a=s-1}return-1}function t(r,o,n,i,a,s){return typeof n=="function"?s(r,o,n,i===void 0?0:i|0,a===void 0?r.length-1:a|0):s(r,o,void 0,n===void 0?0:n|0,i===void 0?r.length-1:i|0)}H.exports={ge:function(r,o,n,i,a){return t(r,o,n,i,a,g)},gt:function(r,o,n,i,a){return t(r,o,n,i,a,x)},lt:function(r,o,n,i,a){return t(r,o,n,i,a,A)},le:function(r,o,n,i,a){return t(r,o,n,i,a,S)},eq:function(r,o,n,i,a){return t(r,o,n,i,a,e)}}}}),Rv=ke({"node_modules/pick-by-alias/index.js"(Z,H){"use strict";H.exports=function(S,e,t){var r={},o,n;if(typeof e=="string"&&(e=x(e)),Array.isArray(e)){var i={};for(n=0;n1&&(A=arguments),typeof A=="string"?A=A.split(/\s/).map(parseFloat):typeof A=="number"&&(A=[A]),A.length&&typeof A[0]=="number"?A.length===1?S={width:A[0],height:A[0],x:0,y:0}:A.length===2?S={width:A[0],height:A[1],x:0,y:0}:S={x:A[0],y:A[1],width:A[2]-A[0]||0,height:A[3]-A[1]||0}:A&&(A=g(A,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),S={x:A.left||0,y:A.top||0},A.width==null?A.right?S.width=A.right-S.x:S.width=0:S.width=A.width,A.height==null?A.bottom?S.height=A.bottom-S.y:S.height=0:S.height=A.height),S}}}),$m=ke({"node_modules/array-bounds/index.js"(Z,H){"use strict";H.exports=g;function g(x,A){if(!x||x.length==null)throw Error("Argument should be an array");A==null?A=1:A=Math.floor(A);for(var S=Array(A*2),e=0;et&&(t=x[o]),x[o]>>1,w;p.dtype||(p.dtype="array"),typeof p.dtype=="string"?w=new(n(p.dtype))(_):p.dtype&&(w=p.dtype,Array.isArray(w)&&(w.length=_));for(let L=0;L<_;++L)w[L]=L;let M=[],E=[],m=[],b=[];u(0,0,1,w,0,1);let v=0;for(let L=0;Ld||I>a){for(let re=0;reie||W>ce||Q=se||j===ee)return;let xe=M[ae];ee===void 0&&(ee=xe.length);for(let Me=j;Me=B&&ue<=I&&Oe>=O&&Oe<=N&&fe.push(pe)}let Te=E[ae],Ue=Te[j*4+0],Ie=Te[j*4+1],Ye=Te[j*4+2],it=Te[j*4+3],at=$(Te,j+1),tt=re*.5,ut=ae+1;G(J,X,tt,ut,Ue,Ie||Ye||it||at),G(J,X+tt,tt,ut,Ie,Ye||it||at),G(J+tt,X,tt,ut,Ye,it||at),G(J+tt,X+tt,tt,ut,it,at)}function $(J,X){let re=null,ae=0;for(;re===null;)if(re=J[X*4+ae],ae++,ae>J.length)return null;return re}return fe}function f(L,z,F,B,O){let I=[];for(let N=0;N1&&(h=1),h<-1&&(h=-1),c*Math.acos(h)},t=function(n,i,a,s,c,h,p,d,T,l,_,w){var M=Math.pow(c,2),E=Math.pow(h,2),m=Math.pow(_,2),b=Math.pow(w,2),v=M*E-M*b-E*m;v<0&&(v=0),v/=M*b+E*m,v=Math.sqrt(v)*(p===d?-1:1);var u=v*c/h*w,y=v*-h/c*_,f=l*u-T*y+(n+a)/2,P=T*u+l*y+(i+s)/2,L=(_-u)/c,z=(w-y)/h,F=(-_-u)/c,B=(-w-y)/h,O=e(1,0,L,z),I=e(L,z,F,B);return d===0&&I>0&&(I-=x),d===1&&I<0&&(I+=x),[f,P,O,I]},r=function(n){var i=n.px,a=n.py,s=n.cx,c=n.cy,h=n.rx,p=n.ry,d=n.xAxisRotation,T=d===void 0?0:d,l=n.largeArcFlag,_=l===void 0?0:l,w=n.sweepFlag,M=w===void 0?0:w,E=[];if(h===0||p===0)return[];var m=Math.sin(T*x/360),b=Math.cos(T*x/360),v=b*(i-s)/2+m*(a-c)/2,u=-m*(i-s)/2+b*(a-c)/2;if(v===0&&u===0)return[];h=Math.abs(h),p=Math.abs(p);var y=Math.pow(v,2)/Math.pow(h,2)+Math.pow(u,2)/Math.pow(p,2);y>1&&(h*=Math.sqrt(y),p*=Math.sqrt(y));var f=t(i,a,s,c,h,p,_,M,m,b,v,u),P=g(f,4),L=P[0],z=P[1],F=P[2],B=P[3],O=Math.abs(B)/(x/4);Math.abs(1-O)<1e-7&&(O=1);var I=Math.max(Math.ceil(O),1);B/=I;for(var N=0;N4?(o=l[l.length-4],n=l[l.length-3]):(o=h,n=p),r.push(l)}return r}function A(e,t,r,o){return["C",e,t,r,o,r,o]}function S(e,t,r,o,n,i){return["C",e/3+2/3*r,t/3+2/3*o,n/3+2/3*r,i/3+2/3*o,n,i]}}}),bA=ke({"node_modules/is-svg-path/index.js"(Z,H){"use strict";H.exports=function(x){return typeof x!="string"?!1:(x=x.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(x)&&/[\dz]$/i.test(x)&&x.length>4))}}}),L6=ke({"node_modules/svg-path-bounds/index.js"(Z,H){"use strict";var g=$y(),x=xA(),A=k6(),S=bA(),e=w0();H.exports=t;function t(r){if(Array.isArray(r)&&r.length===1&&typeof r[0]=="string"&&(r=r[0]),typeof r=="string"&&(e(S(r),"String is not an SVG path."),r=g(r)),e(Array.isArray(r),"Argument should be a string or an array of path segments."),r=x(r),r=A(r),!r.length)return[0,0,0,0];for(var o=[1/0,1/0,-1/0,-1/0],n=0,i=r.length;no[2]&&(o[2]=a[s+0]),a[s+1]>o[3]&&(o[3]=a[s+1]);return o}}}),P6=ke({"node_modules/normalize-svg-path/index.js"(Z,H){var g=Math.PI,x=o(120);H.exports=A;function A(n){for(var i,a=[],s=0,c=0,h=0,p=0,d=null,T=null,l=0,_=0,w=0,M=n.length;w7&&(a.push(E.splice(0,7)),E.unshift("C"));break;case"S":var b=l,v=_;(i=="C"||i=="S")&&(b+=b-s,v+=v-c),E=["C",b,v,E[1],E[2],E[3],E[4]];break;case"T":i=="Q"||i=="T"?(d=l*2-d,T=_*2-T):(d=l,T=_),E=e(l,_,d,T,E[1],E[2]);break;case"Q":d=E[1],T=E[2],E=e(l,_,E[1],E[2],E[3],E[4]);break;case"L":E=S(l,_,E[1],E[2]);break;case"H":E=S(l,_,E[1],_);break;case"V":E=S(l,_,l,E[1]);break;case"Z":E=S(l,_,h,p);break}i=m,l=E[E.length-2],_=E[E.length-1],E.length>4?(s=E[E.length-4],c=E[E.length-3]):(s=l,c=_),a.push(E)}return a}function S(n,i,a,s){return["C",n,i,a,s,a,s]}function e(n,i,a,s,c,h){return["C",n/3+2/3*a,i/3+2/3*s,c/3+2/3*a,h/3+2/3*s,c,h]}function t(n,i,a,s,c,h,p,d,T,l){if(l)f=l[0],P=l[1],u=l[2],y=l[3];else{var _=r(n,i,-c);n=_.x,i=_.y,_=r(d,T,-c),d=_.x,T=_.y;var w=(n-d)/2,M=(i-T)/2,E=w*w/(a*a)+M*M/(s*s);E>1&&(E=Math.sqrt(E),a=E*a,s=E*s);var m=a*a,b=s*s,v=(h==p?-1:1)*Math.sqrt(Math.abs((m*b-m*M*M-b*w*w)/(m*M*M+b*w*w)));v==1/0&&(v=1);var u=v*a*M/s+(n+d)/2,y=v*-s*w/a+(i+T)/2,f=Math.asin(((i-y)/s).toFixed(9)),P=Math.asin(((T-y)/s).toFixed(9));f=nP&&(f=f-g*2),!p&&P>f&&(P=P-g*2)}if(Math.abs(P-f)>x){var L=P,z=d,F=T;P=f+x*(p&&P>f?1:-1),d=u+a*Math.cos(P),T=y+s*Math.sin(P);var B=t(d,T,a,s,c,0,p,z,F,[P,L,u,y])}var O=Math.tan((P-f)/4),I=4/3*a*O,N=4/3*s*O,U=[2*n-(n+I*Math.sin(f)),2*i-(i-N*Math.cos(f)),d+I*Math.sin(P),T-N*Math.cos(P),d,T];if(l)return U;B&&(U=U.concat(B));for(var W=0;W0?r.strokeStyle="white":r.strokeStyle="black",r.lineWidth=Math.abs(d)),r.translate(c*.5,h*.5),r.scale(_,_),i()){var w=new Path2D(a);r.fill(w),d&&r.stroke(w)}else{var M=x(a);A(r,M),r.fill(),d&&r.stroke()}r.setTransform(1,0,0,1,0,0);var E=e(r,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:p*.5});return E}var n;function i(){if(n!=null)return n;var a=document.createElement("canvas").getContext("2d");if(a.canvas.width=a.canvas.height=1,!window.Path2D)return n=!1;var s=new Path2D("M0,0h1v1h-1v-1Z");a.fillStyle="black",a.fill(s);var c=a.getImageData(0,0,1,1);return n=c&&c.data&&c.data[3]===255}}}),eg=ke({"src/traces/scattergl/convert.js"(Z,H){"use strict";var g=Yn(),x=D6(),A=Zp(),S=lo(),e=un(),t=e.isArrayOrTypedArray,r=$o(),o=qc(),n=np().formatColor,i=vu(),a=Hg(),s=ab(),c=$p(),h=Lp().DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},d=gd().appendArrayPointValue;function T(B,O){var I,N={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},U=B._context.plotGlPixelRatio;if(O.visible!==!0)return N;if(i.hasText(O)&&(N.text=l(B,O),N.textSel=E(B,O,O.selected),N.textUnsel=E(B,O,O.unselected)),i.hasMarkers(O)&&(N.marker=w(B,O),N.markerSel=M(B,O,O.selected),N.markerUnsel=M(B,O,O.unselected),!O.unselected&&t(O.marker.opacity))){var W=O.marker.opacity;for(N.markerUnsel.opacity=new Array(W.length),I=0;I500?"bold":"normal":B}function w(B,O){var I=O._length,N=O.marker,U={},W,Q=t(N.symbol),le=t(N.angle),se=t(N.color),fe=t(N.line.color),G=t(N.opacity),$=t(N.size),J=t(N.line.width),X;if(Q||(X=s.isOpenSymbol(N.symbol)),Q||se||fe||G||le){U.symbols=new Array(I),U.angles=new Array(I),U.colors=new Array(I),U.borderColors=new Array(I);var re=N.symbol,ae=N.angle,j=n(N,N.opacity,I),ee=n(N.line,N.opacity,I);if(!t(ee[0])){var ie=ee;for(ee=Array(I),W=0;Wc.TOO_MANY_POINTS||i.hasMarkers(O)?"rect":"round";if(fe&&O.connectgaps){var $=W[0],J=W[1];for(Q=0;Q1?se[Q]:se[0]:se,X=t(fe)?fe.length>1?fe[Q]:fe[0]:fe,re=p[J],ae=p[X],j=G?G/.8+1:0,ee=-ae*j-ae*.5;W.offset[Q]=[re*j/$,ee/$]}}return W}H.exports={style:T,markerStyle:w,markerSelection:M,linePositions:L,errorBarPositions:z,textPosition:F}}}),wA=ke({"src/traces/scattergl/scene_update.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=S._scene,t={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},r={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return S._scene||(e=S._scene={},e.init=function(){g.extendFlat(e,r,t)},e.init(),e.update=function(n){var i=g.repeat(n,e.count);if(e.fill2d&&e.fill2d.update(i),e.scatter2d&&e.scatter2d.update(i),e.line2d&&e.line2d.update(i),e.error2d&&e.error2d.update(i.concat(i)),e.select2d&&e.select2d.update(i),e.glText)for(var a=0;a=h,u=b*2,y={},f,P=M.makeCalcdata(_,"x"),L=E.makeCalcdata(_,"y"),z=e(_,M,"x",P),F=e(_,E,"y",L),B=z.vals,O=F.vals;_._x=B,_._y=O,_.xperiodalignment&&(_._origX=P,_._xStarts=z.starts,_._xEnds=z.ends),_.yperiodalignment&&(_._origY=L,_._yStarts=F.starts,_._yEnds=F.ends);var I=new Array(u),N=new Array(b);for(f=0;f1&&x.extendFlat(m.line,a.linePositions(T,_,w)),m.errorX||m.errorY){var b=a.errorBarPositions(T,_,w,M,E);m.errorX&&x.extendFlat(m.errorX,b.x),m.errorY&&x.extendFlat(m.errorY,b.y)}return m.text&&(x.extendFlat(m.text,{positions:w},a.textPosition(T,_,m.text,m.marker)),x.extendFlat(m.textSel,{positions:w},a.textPosition(T,_,m.text,m.markerSel)),x.extendFlat(m.textUnsel,{positions:w},a.textPosition(T,_,m.text,m.markerUnsel))),m}}}),TA=ke({"src/traces/scattergl/edit_style.js"(Z,H){"use strict";var g=un(),x=eo(),A=Lp().DESELECTDIM;function S(e){var t=e[0],r=t.trace,o=t.t,n=o._scene,i=o.index,a=n.selectBatch[i],s=n.unselectBatch[i],c=n.textOptions[i],h=n.textSelectedOptions[i]||{},p=n.textUnselectedOptions[i]||{},d=g.extendFlat({},c),T,l;if(a.length||s.length){var _=h.color,w=p.color,M=c.color,E=g.isArrayOrTypedArray(M);for(d.color=new Array(r._length),T=0;T>>24,r=(S&16711680)>>>16,o=(S&65280)>>>8,n=S&255;return e===!1?[t,r,o,n]:[t/255,r/255,o/255,n/255]}}}),Rf=ke({"node_modules/object-assign/index.js"(Z,H){"use strict";var g=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function S(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function e(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},o=0;o<10;o++)r["_"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}H.exports=e()?Object.assign:function(t,r){for(var o,n=S(t),i,a=1;ay.length)&&(f=y.length);for(var P=0,L=new Array(f);P 1.0 + delta) { + discard; + } + + alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius); + + float borderRadius = fragBorderRadius; + float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius); + vec4 color = mix(fragColor, fragBorderColor, ratio); + color.a *= alpha * opacity; + gl_FragColor = color; +} +`]),se.vert=d([`precision highp float; +#define GLSLIFY 1 + +attribute float x, y, xFract, yFract; +attribute float size, borderSize; +attribute vec4 colorId, borderColorId; +attribute float isActive; + +// \`invariant\` effectively turns off optimizations for the position. +// We need this because -fast-math on M1 Macs is re-ordering +// floating point operations in a way that causes floating point +// precision limits to put points in the wrong locations. +invariant gl_Position; + +uniform bool constPointSize; +uniform float pixelRatio; +uniform vec2 paletteSize, scale, scaleFract, translate, translateFract; +uniform sampler2D paletteTexture; + +const float maxSize = 100.; + +varying vec4 fragColor, fragBorderColor; +varying float fragBorderRadius, fragWidth; + +float pointSizeScale = (constPointSize) ? 2. : pixelRatio; + +bool isDirect = (paletteSize.x < 1.); + +vec4 getColor(vec4 id) { + return isDirect ? id / 255. : texture2D(paletteTexture, + vec2( + (id.x + .5) / paletteSize.x, + (id.y + .5) / paletteSize.y + ) + ); +} + +void main() { + // ignore inactive points + if (isActive == 0.) return; + + vec2 position = vec2(x, y); + vec2 positionFract = vec2(xFract, yFract); + + vec4 color = getColor(colorId); + vec4 borderColor = getColor(borderColorId); + + float size = size * maxSize / 255.; + float borderSize = borderSize * maxSize / 255.; + + gl_PointSize = (size + borderSize) * pointSizeScale; + + vec2 pos = (position + translate) * scale + + (positionFract + translateFract) * scale + + (position + translate) * scaleFract + + (positionFract + translateFract) * scaleFract; + + gl_Position = vec4(pos * 2. - 1., 0., 1.); + + fragBorderRadius = 1. - 2. * borderSize / (size + borderSize); + fragColor = color; + fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor; + fragWidth = 1. / gl_PointSize; +} +`]),w&&(se.frag=se.frag.replace("smoothstep","smoothStep"),le.frag=le.frag.replace("smoothstep","smoothStep")),this.drawCircle=y(se)}b.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,P=new Array(f),L=0;Lpe)?ut.tree=h(tt,{bounds:et}):pe&&pe.length&&(ut.tree=pe),ut.tree){var Lt={primitive:"points",usage:"static",data:ut.tree,type:"uint32"};ut.elements?ut.elements(Lt):ut.elements=B.elements(Lt)}var Et=M.float32(tt);ue({data:Et,usage:"dynamic"});var Bt=M.fract32(tt,Et);return Oe({data:Bt,usage:"dynamic"}),rt({data:new Uint8Array(ot),type:"uint8",usage:"stream"}),tt}},{marker:function(tt,ut,Me){var pe=ut.activation;if(pe.forEach(function(Bt){return Bt&&Bt.destroy&&Bt.destroy()}),pe.length=0,!tt||typeof tt[0]=="number"){var ue=y.addMarker(tt);pe[ue]=!0}else{for(var Oe=[],rt=0,ot=Math.min(tt.length,ut.count);rt=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var B=0,O=y.length;BL*4&&(this.tooManyColors=!0),this.updatePalette(P),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,P=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z80*I){le=fe=B[0],se=G=B[1];for(var re=I;refe&&(fe=$),J>G&&(G=J);X=Math.max(fe-le,G-se),X=X!==0?32767/X:0}return S(W,Q,I,le,se,X,0),Q}function x(B,O,I,N,U){var W,Q;if(U===F(B,O,I,N)>0)for(W=O;W=O;W-=N)Q=P(W,B[W],B[W+1],Q);return Q&&M(Q,Q.next)&&(L(Q),Q=Q.next),Q}function A(B,O){if(!B)return B;O||(O=B);var I=B,N;do if(N=!1,!I.steiner&&(M(I,I.next)||w(I.prev,I,I.next)===0)){if(L(I),I=O=I.prev,I===I.next)break;N=!0}else I=I.next;while(N||I!==O);return O}function S(B,O,I,N,U,W,Q){if(B){!Q&&W&&h(B,N,U,W);for(var le=B,se,fe;B.prev!==B.next;){if(se=B.prev,fe=B.next,W?t(B,N,U,W):e(B)){O.push(se.i/I|0),O.push(B.i/I|0),O.push(fe.i/I|0),L(B),B=fe.next,le=fe.next;continue}if(B=fe,B===le){Q?Q===1?(B=r(A(B),O,I),S(B,O,I,N,U,W,2)):Q===2&&o(B,O,I,N,U,W):S(A(B),O,I,N,U,W,1);break}}}}function e(B){var O=B.prev,I=B,N=B.next;if(w(O,I,N)>=0)return!1;for(var U=O.x,W=I.x,Q=N.x,le=O.y,se=I.y,fe=N.y,G=UW?U>Q?U:Q:W>Q?W:Q,X=le>se?le>fe?le:fe:se>fe?se:fe,re=N.next;re!==O;){if(re.x>=G&&re.x<=J&&re.y>=$&&re.y<=X&&l(U,le,W,se,Q,fe,re.x,re.y)&&w(re.prev,re,re.next)>=0)return!1;re=re.next}return!0}function t(B,O,I,N){var U=B.prev,W=B,Q=B.next;if(w(U,W,Q)>=0)return!1;for(var le=U.x,se=W.x,fe=Q.x,G=U.y,$=W.y,J=Q.y,X=lese?le>fe?le:fe:se>fe?se:fe,j=G>$?G>J?G:J:$>J?$:J,ee=d(X,re,O,I,N),ie=d(ae,j,O,I,N),ce=B.prevZ,xe=B.nextZ;ce&&ce.z>=ee&&xe&&xe.z<=ie;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0||(ce=ce.prevZ,xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0))return!1;xe=xe.nextZ}for(;ce&&ce.z>=ee;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0)return!1;ce=ce.prevZ}for(;xe&&xe.z<=ie;){if(xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0)return!1;xe=xe.nextZ}return!0}function r(B,O,I){var N=B;do{var U=N.prev,W=N.next.next;!M(U,W)&&E(U,N,N.next,W)&&u(U,W)&&u(W,U)&&(O.push(U.i/I|0),O.push(N.i/I|0),O.push(W.i/I|0),L(N),L(N.next),N=B=W),N=N.next}while(N!==B);return A(N)}function o(B,O,I,N,U,W){var Q=B;do{for(var le=Q.next.next;le!==Q.prev;){if(Q.i!==le.i&&_(Q,le)){var se=f(Q,le);Q=A(Q,Q.next),se=A(se,se.next),S(Q,O,I,N,U,W,0),S(se,O,I,N,U,W,0);return}le=le.next}Q=Q.next}while(Q!==B)}function n(B,O,I,N){var U=[],W,Q,le,se,fe;for(W=0,Q=O.length;W=I.next.y&&I.next.y!==I.y){var le=I.x+(U-I.y)*(I.next.x-I.x)/(I.next.y-I.y);if(le<=N&&le>W&&(W=le,Q=I.x=I.x&&I.x>=fe&&N!==I.x&&l(UQ.x||I.x===Q.x&&c(Q,I)))&&(Q=I,$=J)),I=I.next;while(I!==se);return Q}function c(B,O){return w(B.prev,B,O.prev)<0&&w(O.next,B,B.next)<0}function h(B,O,I,N){var U=B;do U.z===0&&(U.z=d(U.x,U.y,O,I,N)),U.prevZ=U.prev,U.nextZ=U.next,U=U.next;while(U!==B);U.prevZ.nextZ=null,U.prevZ=null,p(U)}function p(B){var O,I,N,U,W,Q,le,se,fe=1;do{for(I=B,B=null,W=null,Q=0;I;){for(Q++,N=I,le=0,O=0;O0||se>0&&N;)le!==0&&(se===0||!N||I.z<=N.z)?(U=I,I=I.nextZ,le--):(U=N,N=N.nextZ,se--),W?W.nextZ=U:B=U,U.prevZ=W,W=U;I=N}W.nextZ=null,fe*=2}while(Q>1);return B}function d(B,O,I,N,U){return B=(B-I)*U|0,O=(O-N)*U|0,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,O=(O|O<<8)&16711935,O=(O|O<<4)&252645135,O=(O|O<<2)&858993459,O=(O|O<<1)&1431655765,B|O<<1}function T(B){var O=B,I=B;do(O.x=(B-Q)*(W-le)&&(B-Q)*(N-le)>=(I-Q)*(O-le)&&(I-Q)*(W-le)>=(U-Q)*(N-le)}function _(B,O){return B.next.i!==O.i&&B.prev.i!==O.i&&!v(B,O)&&(u(B,O)&&u(O,B)&&y(B,O)&&(w(B.prev,B,O.prev)||w(B,O.prev,O))||M(B,O)&&w(B.prev,B,B.next)>0&&w(O.prev,O,O.next)>0)}function w(B,O,I){return(O.y-B.y)*(I.x-O.x)-(O.x-B.x)*(I.y-O.y)}function M(B,O){return B.x===O.x&&B.y===O.y}function E(B,O,I,N){var U=b(w(B,O,I)),W=b(w(B,O,N)),Q=b(w(I,N,B)),le=b(w(I,N,O));return!!(U!==W&&Q!==le||U===0&&m(B,I,O)||W===0&&m(B,N,O)||Q===0&&m(I,B,N)||le===0&&m(I,O,N))}function m(B,O,I){return O.x<=Math.max(B.x,I.x)&&O.x>=Math.min(B.x,I.x)&&O.y<=Math.max(B.y,I.y)&&O.y>=Math.min(B.y,I.y)}function b(B){return B>0?1:B<0?-1:0}function v(B,O){var I=B;do{if(I.i!==B.i&&I.next.i!==B.i&&I.i!==O.i&&I.next.i!==O.i&&E(I,I.next,B,O))return!0;I=I.next}while(I!==B);return!1}function u(B,O){return w(B.prev,B,B.next)<0?w(B,O,B.next)>=0&&w(B,B.prev,O)>=0:w(B,O,B.prev)<0||w(B,B.next,O)<0}function y(B,O){var I=B,N=!1,U=(B.x+O.x)/2,W=(B.y+O.y)/2;do I.y>W!=I.next.y>W&&I.next.y!==I.y&&U<(I.next.x-I.x)*(W-I.y)/(I.next.y-I.y)+I.x&&(N=!N),I=I.next;while(I!==B);return N}function f(B,O){var I=new z(B.i,B.x,B.y),N=new z(O.i,O.x,O.y),U=B.next,W=O.prev;return B.next=O,O.prev=B,I.next=U,U.prev=I,N.next=I,I.prev=N,W.next=N,N.prev=W,N}function P(B,O,I,N){var U=new z(B,O,I);return N?(U.next=N.next,U.prev=N,N.next.prev=U,N.next=U):(U.prev=U,U.next=U),U}function L(B){B.next.prev=B.prev,B.prev.next=B.next,B.prevZ&&(B.prevZ.nextZ=B.nextZ),B.nextZ&&(B.nextZ.prevZ=B.prevZ)}function z(B,O,I){this.i=B,this.x=O,this.y=I,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}g.deviation=function(B,O,I,N){var U=O&&O.length,W=U?O[0]*I:B.length,Q=Math.abs(F(B,0,W,I));if(U)for(var le=0,se=O.length;le0&&(N+=B[U-1].length,I.holes.push(N))}return I}}}),j6=ke({"node_modules/array-normalize/index.js"(Z,H){"use strict";var g=$m();H.exports=x;function x(A,S,e){if(!A||A.length==null)throw Error("Argument should be an array");S==null&&(S=1),e==null&&(e=g(A,S));for(var t=0;t-1}}}),IA=ke({"node_modules/es5-ext/string/#/contains/index.js"(Z,H){"use strict";H.exports=eR()()?String.prototype.contains:tR()}}),ap=ke({"node_modules/d/index.js"(Z,H){"use strict";var g=tg(),x=LA(),A=cb(),S=PA(),e=IA(),t=H.exports=function(r,o){var n,i,a,s,c;return arguments.length<2||typeof r!="string"?(s=o,o=r,r=null):s=arguments[2],g(r)?(n=e.call(r,"c"),i=e.call(r,"e"),a=e.call(r,"w")):(n=a=!0,i=!1),c={value:o,configurable:n,enumerable:i,writable:a},s?A(S(s),c):c};t.gs=function(r,o,n){var i,a,s,c;return typeof r!="string"?(s=n,n=o,o=r,r=null):s=arguments[3],g(o)?x(o)?g(n)?x(n)||(s=n,n=void 0):n=void 0:(s=o,o=n=void 0):o=void 0,g(r)?(i=e.call(r,"c"),a=e.call(r,"e")):(i=!0,a=!1),c={get:o,set:n,configurable:i,enumerable:a},s?A(S(s),c):c}}}),X0=ke({"node_modules/es5-ext/function/is-arguments.js"(Z,H){"use strict";var g=Object.prototype.toString,x=g.call(function(){return arguments}());H.exports=function(A){return g.call(A)===x}}}),Z0=ke({"node_modules/es5-ext/string/is-string.js"(Z,H){"use strict";var g=Object.prototype.toString,x=g.call("");H.exports=function(A){return typeof A=="string"||A&&typeof A=="object"&&(A instanceof String||g.call(A)===x)||!1}}}),rR=ke({"node_modules/ext/global-this/is-implemented.js"(Z,H){"use strict";H.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}}}),nR=ke({"node_modules/ext/global-this/implementation.js"(Z,H){var g=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};H.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return g()}try{return __global__||g()}finally{delete Object.prototype.__global__}}()}}),Y0=ke({"node_modules/ext/global-this/index.js"(Z,H){"use strict";H.exports=rR()()?globalThis:nR()}}),iR=ke({"node_modules/es6-symbol/is-implemented.js"(Z,H){"use strict";var g=Y0(),x={object:!0,symbol:!0};H.exports=function(){var A=g.Symbol,S;if(typeof A!="function")return!1;S=A("test symbol");try{String(S)}catch{return!1}return!(!x[typeof A.iterator]||!x[typeof A.toPrimitive]||!x[typeof A.toStringTag])}}}),aR=ke({"node_modules/es6-symbol/is-symbol.js"(Z,H){"use strict";H.exports=function(g){return g?typeof g=="symbol"?!0:!g.constructor||g.constructor.name!=="Symbol"?!1:g[g.constructor.toStringTag]==="Symbol":!1}}}),RA=ke({"node_modules/es6-symbol/validate-symbol.js"(Z,H){"use strict";var g=aR();H.exports=function(x){if(!g(x))throw new TypeError(x+" is not a symbol");return x}}}),oR=ke({"node_modules/es6-symbol/lib/private/generate-name.js"(Z,H){"use strict";var g=ap(),x=Object.create,A=Object.defineProperty,S=Object.prototype,e=x(null);H.exports=function(t){for(var r=0,o,n;e[t+(r||"")];)++r;return t+=r||"",e[t]=!0,o="@@"+t,A(S,o,g.gs(null,function(i){n||(n=!0,A(this,o,g(i)),n=!1)})),o}}}),sR=ke({"node_modules/es6-symbol/lib/private/setup/standard-symbols.js"(Z,H){"use strict";var g=ap(),x=Y0().Symbol;H.exports=function(A){return Object.defineProperties(A,{hasInstance:g("",x&&x.hasInstance||A("hasInstance")),isConcatSpreadable:g("",x&&x.isConcatSpreadable||A("isConcatSpreadable")),iterator:g("",x&&x.iterator||A("iterator")),match:g("",x&&x.match||A("match")),replace:g("",x&&x.replace||A("replace")),search:g("",x&&x.search||A("search")),species:g("",x&&x.species||A("species")),split:g("",x&&x.split||A("split")),toPrimitive:g("",x&&x.toPrimitive||A("toPrimitive")),toStringTag:g("",x&&x.toStringTag||A("toStringTag")),unscopables:g("",x&&x.unscopables||A("unscopables"))})}}}),lR=ke({"node_modules/es6-symbol/lib/private/setup/symbol-registry.js"(Z,H){"use strict";var g=ap(),x=RA(),A=Object.create(null);H.exports=function(S){return Object.defineProperties(S,{for:g(function(e){return A[e]?A[e]:A[e]=S(String(e))}),keyFor:g(function(e){var t;x(e);for(t in A)if(A[t]===e)return t})})}}}),uR=ke({"node_modules/es6-symbol/polyfill.js"(Z,H){"use strict";var g=ap(),x=RA(),A=Y0().Symbol,S=oR(),e=sR(),t=lR(),r=Object.create,o=Object.defineProperties,n=Object.defineProperty,i,a,s;if(typeof A=="function")try{String(A()),s=!0}catch{}else A=null;a=function(h){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return i(h)},H.exports=i=function c(h){var p;if(this instanceof c)throw new TypeError("Symbol is not a constructor");return s?A(h):(p=r(a.prototype),h=h===void 0?"":String(h),o(p,{__description__:g("",h),__name__:g("",S(h))}))},e(i),t(i),o(a.prototype,{constructor:g(i),toString:g("",function(){return this.__name__})}),o(i.prototype,{toString:g(function(){return"Symbol ("+x(this).__description__+")"}),valueOf:g(function(){return x(this)})}),n(i.prototype,i.toPrimitive,g("",function(){var c=x(this);return typeof c=="symbol"?c:c.toString()})),n(i.prototype,i.toStringTag,g("c","Symbol")),n(a.prototype,i.toStringTag,g("c",i.prototype[i.toStringTag])),n(a.prototype,i.toPrimitive,g("c",i.prototype[i.toPrimitive]))}}),em=ke({"node_modules/es6-symbol/index.js"(Z,H){"use strict";H.exports=iR()()?Y0().Symbol:uR()}}),cR=ke({"node_modules/es5-ext/array/#/clear.js"(Z,H){"use strict";var g=ip();H.exports=function(){return g(this).length=0,this}}}),gy=ke({"node_modules/es5-ext/object/valid-callable.js"(Z,H){"use strict";H.exports=function(g){if(typeof g!="function")throw new TypeError(g+" is not a function");return g}}}),fR=ke({"node_modules/type/string/coerce.js"(Z,H){"use strict";var g=tg(),x=ub(),A=Object.prototype.toString;H.exports=function(S){if(!g(S))return null;if(x(S)){var e=S.toString;if(typeof e!="function"||e===A)return null}try{return""+S}catch{return null}}}}),hR=ke({"node_modules/type/lib/safe-to-string.js"(Z,H){"use strict";H.exports=function(g){try{return g.toString()}catch{try{return String(g)}catch{return null}}}}}),dR=ke({"node_modules/type/lib/to-short-string.js"(Z,H){"use strict";var g=hR(),x=/[\n\r\u2028\u2029]/g;H.exports=function(A){var S=g(A);return S===null?"":(S.length>100&&(S=S.slice(0,99)+"\u2026"),S=S.replace(x,function(e){switch(e){case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),S)}}}),DA=ke({"node_modules/type/lib/resolve-exception.js"(Z,H){"use strict";var g=tg(),x=ub(),A=fR(),S=dR(),e=function(t,r){return t.replace("%v",S(r))};H.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!g(t)){if("default"in o)return o.default;if(o.isOptional)return null}var n=A(o.errorMessage);throw g(n)||(n=r),new TypeError(e(n,t))}}}),vR=ke({"node_modules/type/value/ensure.js"(Z,H){"use strict";var g=DA(),x=tg();H.exports=function(A){return x(A)?A:g(A,"Cannot use %v",arguments[1])}}}),pR=ke({"node_modules/type/plain-function/ensure.js"(Z,H){"use strict";var g=DA(),x=LA();H.exports=function(A){return x(A)?A:g(A,"%v is not a plain function",arguments[1])}}}),mR=ke({"node_modules/es5-ext/array/from/is-implemented.js"(Z,H){"use strict";H.exports=function(){var g=Array.from,x,A;return typeof g!="function"?!1:(x=["raz","dwa"],A=g(x),!!(A&&A!==x&&A[1]==="dwa"))}}}),gR=ke({"node_modules/es5-ext/function/is-function.js"(Z,H){"use strict";var g=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);H.exports=function(A){return typeof A=="function"&&x(g.call(A))}}}),yR=ke({"node_modules/es5-ext/math/sign/is-implemented.js"(Z,H){"use strict";H.exports=function(){var g=Math.sign;return typeof g!="function"?!1:g(10)===1&&g(-20)===-1}}}),_R=ke({"node_modules/es5-ext/math/sign/shim.js"(Z,H){"use strict";H.exports=function(g){return g=Number(g),isNaN(g)||g===0?g:g>0?1:-1}}}),xR=ke({"node_modules/es5-ext/math/sign/index.js"(Z,H){"use strict";H.exports=yR()()?Math.sign:_R()}}),bR=ke({"node_modules/es5-ext/number/to-integer.js"(Z,H){"use strict";var g=xR(),x=Math.abs,A=Math.floor;H.exports=function(S){return isNaN(S)?0:(S=Number(S),S===0||!isFinite(S)?S:g(S)*A(x(S)))}}}),wR=ke({"node_modules/es5-ext/number/to-pos-integer.js"(Z,H){"use strict";var g=bR(),x=Math.max;H.exports=function(A){return x(0,g(A))}}}),TR=ke({"node_modules/es5-ext/array/from/shim.js"(Z,H){"use strict";var g=em().iterator,x=X0(),A=gR(),S=wR(),e=gy(),t=ip(),r=Qp(),o=Z0(),n=Array.isArray,i=Function.prototype.call,a={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;H.exports=function(c){var h=arguments[1],p=arguments[2],d,T,l,_,w,M,E,m,b,v;if(c=Object(t(c)),r(h)&&e(h),!this||this===Array||!A(this)){if(!h){if(x(c))return w=c.length,w!==1?Array.apply(null,c):(_=new Array(1),_[0]=c[0],_);if(n(c)){for(_=new Array(w=c.length),T=0;T=55296&&M<=56319&&(v+=c[++T])),v=h?i.call(h,p,v,l):v,d?(a.value=v,s(_,l,a)):_[l]=v,++l;w=l}}if(w===void 0)for(w=S(c.length),d&&(_=new d(w)),T=0;T=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,"__redo__",e("c",[a]));return}this.__redo__.forEach(function(s,c){s>=a&&(this.__redo__[c]=++s)},this),this.__redo__.push(a)}}),_onDelete:e(function(a){var s;a>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(a),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(c,h){c>a&&(this.__redo__[h]=--c)},this)))}),_onClear:e(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),o(i.prototype,r.iterator,e(function(){return this}))}}),LR=ke({"node_modules/es6-iterator/array.js"(Z,H){"use strict";var g=lb(),x=IA(),A=ap(),S=em(),e=zA(),t=Object.defineProperty,r;r=H.exports=function(o,n){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e.call(this,o),n?x.call(n,"key+value")?n="key+value":x.call(n,"key")?n="key":n="value":n="value",t(this,"__kind__",A("",n))},g&&g(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:A(function(o){return this.__kind__==="value"?this.__list__[o]:this.__kind__==="key+value"?[o,this.__list__[o]]:o})}),t(r.prototype,S.toStringTag,A("c","Array Iterator"))}}),PR=ke({"node_modules/es6-iterator/string.js"(Z,H){"use strict";var g=lb(),x=ap(),A=em(),S=zA(),e=Object.defineProperty,t;t=H.exports=function(r){if(!(this instanceof t))throw new TypeError("Constructor requires 'new'");r=String(r),S.call(this,r),e(this,"__length__",x("",r.length))},g&&g(t,S),delete t.prototype.constructor,t.prototype=Object.create(S.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__=55296&&n<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,A.toStringTag,x("c","String Iterator"))}}),IR=ke({"node_modules/es6-iterator/is-iterable.js"(Z,H){"use strict";var g=X0(),x=Qp(),A=Z0(),S=em().iterator,e=Array.isArray;H.exports=function(t){return x(t)?e(t)||A(t)||g(t)?!0:typeof t[S]=="function":!1}}}),RR=ke({"node_modules/es6-iterator/valid-iterable.js"(Z,H){"use strict";var g=IR();H.exports=function(x){if(!g(x))throw new TypeError(x+" is not iterable");return x}}}),FA=ke({"node_modules/es6-iterator/get.js"(Z,H){"use strict";var g=X0(),x=Z0(),A=LR(),S=PR(),e=RR(),t=em().iterator;H.exports=function(r){return typeof e(r)[t]=="function"?r[t]():g(r)?new A(r):x(r)?new S(r):new A(r)}}}),DR=ke({"node_modules/es6-iterator/for-of.js"(Z,H){"use strict";var g=X0(),x=gy(),A=Z0(),S=FA(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;H.exports=function(o,n){var i,a=arguments[2],s,c,h,p,d,T,l;if(e(o)||g(o)?i="array":A(o)?i="string":o=S(o),x(n),c=function(){h=!0},i==="array"){r.call(o,function(_){return t.call(n,a,_,c),h});return}if(i==="string"){for(d=o.length,p=0;p=55296&&l<=56319&&(T+=o[++p])),t.call(n,a,T,c),!h);++p);return}for(s=o.next();!s.done;){if(t.call(n,a,s.value,c),h)return;s=o.next()}}}}),zR=ke({"node_modules/es6-weak-map/is-native-implemented.js"(Z,H){"use strict";H.exports=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()}}),FR=ke({"node_modules/es6-weak-map/polyfill.js"(Z,H){"use strict";var g=Qp(),x=lb(),A=G6(),S=ip(),e=W6(),t=ap(),r=FA(),o=DR(),n=em().toStringTag,i=zR(),a=Array.isArray,s=Object.defineProperty,c=Object.prototype.hasOwnProperty,h=Object.getPrototypeOf,p;H.exports=p=function(){var d=arguments[0],T;if(!(this instanceof p))throw new TypeError("Constructor requires 'new'");return T=i&&x&&WeakMap!==p?x(new WeakMap,h(this)):this,g(d)&&(a(d)||(d=r(d))),s(T,"__weakMapData__",t("c","$weakMap$"+e())),d&&o(d,function(l){S(l),T.set(l[0],l[1])}),T},i&&(x&&x(p,WeakMap),p.prototype=Object.create(WeakMap.prototype,{constructor:t(p)})),Object.defineProperties(p.prototype,{delete:t(function(d){return c.call(A(d),this.__weakMapData__)?(delete d[this.__weakMapData__],!0):!1}),get:t(function(d){if(c.call(A(d),this.__weakMapData__))return d[this.__weakMapData__]}),has:t(function(d){return c.call(A(d),this.__weakMapData__)}),set:t(function(d,T){return s(A(d),this.__weakMapData__,t("c",T)),this}),toString:t(function(){return"[object WeakMap]"})}),s(p.prototype,n,t("c","WeakMap"))}}),OA=ke({"node_modules/es6-weak-map/index.js"(Z,H){"use strict";H.exports=V6()()?WeakMap:FR()}}),OR=ke({"node_modules/array-find-index/index.js"(Z,H){"use strict";H.exports=function(g,x,A){if(typeof Array.prototype.findIndex=="function")return g.findIndex(x,A);if(typeof x!="function")throw new TypeError("predicate must be a function");var S=Object(g),e=S.length;if(e===0)return-1;for(var t=0;t 0. && baClipping < length(normalWidth * endBotJoin)) { + //handle miter clipping + bTopCoord -= normalWidth * endTopJoin; + bTopCoord += normalize(endTopJoin * normalWidth) * baClipping; + } + + if (nextReverse) { + //make join rectangular + vec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5; + float normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.); + bBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5; + bTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5; + } + else if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) { + //handle miter clipping + aBotCoord -= normalWidth * startBotJoin; + aBotCoord += normalize(startBotJoin * normalWidth) * abClipping; + } + + vec2 aTopPosition = (aTopCoord) * adjustedScale + translate; + vec2 aBotPosition = (aBotCoord) * adjustedScale + translate; + + vec2 bTopPosition = (bTopCoord) * adjustedScale + translate; + vec2 bBotPosition = (bBotCoord) * adjustedScale + translate; + + //position is normalized 0..1 coord on the screen + vec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd; + + startCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy; + endCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy; + + gl_Position = vec4(position * 2.0 - 1.0, depth, 1); + + enableStartMiter = step(dot(currTangent, prevTangent), .5); + enableEndMiter = step(dot(currTangent, nextTangent), .5); + + //bevel miter cutoffs + if (miterMode == 1.) { + if (enableStartMiter == 1.) { + vec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5; + startCutoff = vec4(aCoord, aCoord); + startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; + startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; + startCutoff += viewport.xyxy; + startCutoff += startMiterWidth.xyxy; + } + + if (enableEndMiter == 1.) { + vec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5; + endCutoff = vec4(bCoord, bCoord); + endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; + endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; + endCutoff += viewport.xyxy; + endCutoff += endMiterWidth.xyxy; + } + } + + //round miter cutoffs + else if (miterMode == 2.) { + if (enableStartMiter == 1.) { + vec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5; + startCutoff = vec4(aCoord, aCoord); + startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; + startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; + startCutoff += viewport.xyxy; + startCutoff += startMiterWidth.xyxy; + } + + if (enableEndMiter == 1.) { + vec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5; + endCutoff = vec4(bCoord, bCoord); + endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; + endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; + endCutoff += viewport.xyxy; + endCutoff += endMiterWidth.xyxy; + } + } +} +`,l=` +precision highp float; + +uniform float dashLength, pixelRatio, thickness, opacity, id, miterMode; +uniform sampler2D dashTexture; + +varying vec4 fragColor; +varying vec2 tangent; +varying vec4 startCutoff, endCutoff; +varying vec2 startCoord, endCoord; +varying float enableStartMiter, enableEndMiter; + +float distToLine(vec2 p, vec2 a, vec2 b) { + vec2 diff = b - a; + vec2 perp = normalize(vec2(-diff.y, diff.x)); + return dot(p - a, perp); +} + +void main() { + float alpha = 1., distToStart, distToEnd; + float cutoff = thickness * .5; + + //bevel miter + if (miterMode == 1.) { + if (enableStartMiter == 1.) { + distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); + if (distToStart < -1.) { + discard; + return; + } + alpha *= min(max(distToStart + 1., 0.), 1.); + } + + if (enableEndMiter == 1.) { + distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); + if (distToEnd < -1.) { + discard; + return; + } + alpha *= min(max(distToEnd + 1., 0.), 1.); + } + } + + // round miter + else if (miterMode == 2.) { + if (enableStartMiter == 1.) { + distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); + if (distToStart < 0.) { + float radius = length(gl_FragCoord.xy - startCoord); + + if(radius > cutoff + .5) { + discard; + return; + } + + alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); + } + } + + if (enableEndMiter == 1.) { + distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); + if (distToEnd < 0.) { + float radius = length(gl_FragCoord.xy - endCoord); + + if(radius > cutoff + .5) { + discard; + return; + } + + alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); + } + } + } + + float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25; + float dash = texture2D(dashTexture, vec2(t, .5)).r; + + gl_FragColor = fragColor; + gl_FragColor.a *= alpha * opacity * dash; +} +`;H.exports=_;function _(w,M){if(!(this instanceof _))return new _(w,M);if(typeof w=="function"?(M||(M={}),M.regl=w):M=w,M.length&&(M.positions=M),w=M.regl,!w.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=w._gl,this.regl=w,this.passes=[],this.shaders=_.shaders.has(w)?_.shaders.get(w):_.shaders.set(w,_.createShaders(w)).get(w),this.update(M)}_.dashMult=2,_.maxPatternLength=256,_.precisionThreshold=3e6,_.maxPoints=1e4,_.maxLines=2048,_.shaders=new i,_.createShaders=function(w){let M=w.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),E={primitive:"triangle strip",instances:w.prop("count"),count:4,offset:0,uniforms:{miterMode:(u,y)=>y.join==="round"?2:1,miterLimit:w.prop("miterLimit"),scale:w.prop("scale"),scaleFract:w.prop("scaleFract"),translateFract:w.prop("translateFract"),translate:w.prop("translate"),thickness:w.prop("thickness"),dashTexture:w.prop("dashTexture"),opacity:w.prop("opacity"),pixelRatio:w.context("pixelRatio"),id:w.prop("id"),dashLength:w.prop("dashLength"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight],depth:w.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(u,y)=>!y.overlay},stencil:{enable:!1},scissor:{enable:!0,box:w.prop("viewport")},viewport:w.prop("viewport")},m=w(A({vert:c,frag:h,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:w.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},E)),b;try{b=w(A({cull:{enable:!0,face:"back"},vert:T,frag:l,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aColor:{buffer:w.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:w.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},E))}catch{b=m}return{fill:w({primitive:"triangle",elements:(u,y)=>y.triangles,offset:0,vert:p,frag:d,uniforms:{scale:w.prop("scale"),color:w.prop("fill"),scaleFract:w.prop("scaleFract"),translateFract:w.prop("translateFract"),translate:w.prop("translate"),opacity:w.prop("opacity"),pixelRatio:w.context("pixelRatio"),id:w.prop("id"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight]},attributes:{position:{buffer:w.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:8}},blend:E.blend,depth:{enable:!1},scissor:E.scissor,stencil:E.stencil,viewport:E.viewport}),rect:m,miter:b}},_.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},_.prototype.render=function(...w){w.length&&this.update(...w),this.draw()},_.prototype.draw=function(...w){return(w.length?w:this.passes).forEach((M,E)=>{if(M&&Array.isArray(M))return this.draw(...M);typeof M=="number"&&(M=this.passes[M]),M&&M.count>1&&M.opacity&&(this.regl._refresh(),M.fill&&M.triangles&&M.triangles.length>2&&this.shaders.fill(M),M.thickness&&(M.scale[0]*M.viewport.width>_.precisionThreshold||M.scale[1]*M.viewport.height>_.precisionThreshold?this.shaders.rect(M):M.join==="rect"||!M.join&&(M.thickness<=2||M.count>=_.maxPoints)?this.shaders.rect(M):this.shaders.miter(M)))}),this},_.prototype.update=function(w){if(!w)return;w.length!=null?typeof w[0]=="number"&&(w=[{positions:w}]):Array.isArray(w)||(w=[w]);let{regl:M,gl:E}=this;if(w.forEach((b,v)=>{let u=this.passes[v];if(b!==void 0){if(b===null){this.passes[v]=null;return}if(typeof b[0]=="number"&&(b={positions:b}),b=S(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),u||(this.passes[v]=u={id:v,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:M.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:M.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=A({},_.defaults,b)),b.thickness!=null&&(u.thickness=parseFloat(b.thickness)),b.opacity!=null&&(u.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(u.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(u.overlay=!!b.overlay,v<_.maxLines&&(u.depth=2*(_.maxLines-1-v%_.maxLines)/_.maxLines-1)),b.join!=null&&(u.join=b.join),b.hole!=null&&(u.hole=b.hole),b.fill!=null&&(u.fill=b.fill?g(b.fill,"uint8"):null),b.viewport!=null&&(u.viewport=a(b.viewport)),u.viewport||(u.viewport=a([E.drawingBufferWidth,E.drawingBufferHeight])),b.close!=null&&(u.close=b.close),b.positions===null&&(b.positions=[]),b.positions){let P,L;if(b.positions.x&&b.positions.y){let O=b.positions.x,I=b.positions.y;L=u.count=Math.max(O.length,I.length),P=new Float64Array(L*2);for(let N=0;Nse-fe),W=[],Q=0,le=u.hole!=null?u.hole[0]:null;if(le!=null){let se=s(U,fe=>fe>=le);U=U.slice(0,se),U.push(le)}for(let se=0;seJ-le+(U[se]-Q)),$=t(fe,G);$=$.map(J=>J+Q+(J+Q{w.colorBuffer.destroy(),w.positionBuffer.destroy(),w.dashTexture.destroy()}),this.passes.length=0,this}}}),BR=ke({"node_modules/regl-error2d/index.js"(Z,H){"use strict";var g=$m(),x=Zp(),A=MA(),S=Rv(),e=Rf(),t=Qm(),{float32:r,fract32:o}=sb();H.exports=i;var n=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function i(a,s){if(typeof a=="function"?(s||(s={}),s.regl=a):s=a,s.length&&(s.positions=s),a=s.regl,!a.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let c=a._gl,h,p,d,T,l,_,w={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},M=[];return T=a.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),p=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),d=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),_=a.buffer({usage:"static",type:"float",data:n}),v(s),h=a({vert:` + precision highp float; + + attribute vec2 position, positionFract; + attribute vec4 error; + attribute vec4 color; + + attribute vec2 direction, lineOffset, capOffset; + + uniform vec4 viewport; + uniform float lineWidth, capSize; + uniform vec2 scale, scaleFract, translate, translateFract; + + varying vec4 fragColor; + + void main() { + fragColor = color / 255.; + + vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset; + + vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw; + + vec2 position = position + dxy; + + vec2 pos = (position + translate) * scale + + (positionFract + translateFract) * scale + + (position + translate) * scaleFract + + (positionFract + translateFract) * scaleFract; + + pos += pixelOffset / viewport.zw; + + gl_Position = vec4(pos * 2. - 1., 0, 1); + } + `,frag:` + precision highp float; + + varying vec4 fragColor; + + uniform float opacity; + + void main() { + gl_FragColor = fragColor; + gl_FragColor.a *= opacity; + } + `,uniforms:{range:a.prop("range"),lineWidth:a.prop("lineWidth"),capSize:a.prop("capSize"),opacity:a.prop("opacity"),scale:a.prop("scale"),translate:a.prop("translate"),scaleFract:a.prop("scaleFract"),translateFract:a.prop("translateFract"),viewport:(y,f)=>[f.viewport.x,f.viewport.y,y.viewportWidth,y.viewportHeight]},attributes:{color:{buffer:T,offset:(y,f)=>f.offset*4,divisor:1},position:{buffer:p,offset:(y,f)=>f.offset*8,divisor:1},positionFract:{buffer:d,offset:(y,f)=>f.offset*8,divisor:1},error:{buffer:l,offset:(y,f)=>f.offset*16,divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:a.prop("viewport")},viewport:a.prop("viewport"),stencil:!1,instances:a.prop("count"),count:n.length}),e(E,{update:v,draw:m,destroy:u,regl:a,gl:c,canvas:c.canvas,groups:M}),E;function E(y){y?v(y):y===null&&u(),m()}function m(y){if(typeof y=="number")return b(y);y&&!Array.isArray(y)&&(y=[y]),a._refresh(),M.forEach((f,P)=>{if(f){if(y&&(y[P]?f.draw=!0:f.draw=!1),!f.draw){f.draw=!0;return}b(P)}})}function b(y){typeof y=="number"&&(y=M[y]),y!=null&&y&&y.count&&y.color&&y.opacity&&y.positions&&y.positions.length>1&&(y.scaleRatio=[y.scale[0]*y.viewport.width,y.scale[1]*y.viewport.height],h(y),y.after&&y.after(y))}function v(y){if(!y)return;y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);let f=0,P=0;if(E.groups=M=y.map((F,B)=>{let O=M[B];if(F)typeof F=="function"?F={after:F}:typeof F[0]=="number"&&(F={positions:F});else return O;return F=S(F,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),O||(M[B]=O={id:B,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},F=e({},w,F)),A(O,F,[{lineWidth:I=>+I*.5,capSize:I=>+I*.5,opacity:parseFloat,errors:I=>(I=t(I),P+=I.length,I),positions:(I,N)=>(I=t(I,"float64"),N.count=Math.floor(I.length/2),N.bounds=g(I,2),N.offset=f,f+=N.count,I)},{color:(I,N)=>{let U=N.count;if(I||(I="transparent"),!Array.isArray(I)||typeof I[0]=="number"){let Q=I;I=Array(U);for(let le=0;le{let W=N.bounds;return I||(I=W),N.scale=[1/(I[2]-I[0]),1/(I[3]-I[1])],N.translate=[-I[0],-I[1]],N.scaleFract=o(N.scale),N.translateFract=o(N.translate),I},viewport:I=>{let N;return Array.isArray(I)?N={x:I[0],y:I[1],width:I[2]-I[0],height:I[3]-I[1]}:I?(N={x:I.x||I.left||0,y:I.y||I.top||0},I.right?N.width=I.right-N.x:N.width=I.w||I.width||0,I.bottom?N.height=I.bottom-N.y:N.height=I.h||I.height||0):N={x:0,y:0,width:c.drawingBufferWidth,height:c.drawingBufferHeight},N}}]),O}),f||P){let F=M.reduce((N,U,W)=>N+(U?U.count:0),0),B=new Float64Array(F*2),O=new Uint8Array(F*4),I=new Float32Array(F*4);M.forEach((N,U)=>{if(!N)return;let{positions:W,count:Q,offset:le,color:se,errors:fe}=N;Q&&(O.set(se,le*4),I.set(fe,le*4),B.set(W,le*2))});var L=r(B);p(L);var z=o(B,L);d(z),T(O),l(I)}}function u(){p.destroy(),d.destroy(),T.destroy(),l.destroy(),_.destroy()}}}}),NR=ke({"node_modules/unquote/index.js"(Z,H){var g=/[\'\"]/;H.exports=function(A){return A?(g.test(A.charAt(0))&&(A=A.substr(1)),g.test(A.charAt(A.length-1))&&(A=A.substr(0,A.length-1)),A):""}}}),NA=ke({"node_modules/css-global-keywords/index.json"(){}}),UA=ke({"node_modules/css-system-font-keywords/index.json"(){}}),jA=ke({"node_modules/css-font-weight-keywords/index.json"(){}}),VA=ke({"node_modules/css-font-style-keywords/index.json"(){}}),qA=ke({"node_modules/css-font-stretch-keywords/index.json"(){}}),UR=ke({"node_modules/parenthesis/index.js"(Z,H){"use strict";function g(S,e){if(typeof S!="string")return[S];var t=[S];typeof e=="string"||Array.isArray(e)?e={brackets:e}:e||(e={});var r=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:["{}","[]","()"],o=e.escape||"___",n=!!e.flat;r.forEach(function(s){var c=new RegExp(["\\",s[0],"[^\\",s[0],"\\",s[1],"]*\\",s[1]].join("")),h=[];function p(d,T,l){var _=t.push(d.slice(s[0].length,-s[1].length))-1;return h.push(_),o+_+o}t.forEach(function(d,T){for(var l,_=0;d!=l;)if(l=d,d=d.replace(c,p),_++>1e4)throw Error("References have circular dependency. Please, check them.");t[T]=d}),h=h.reverse(),t=t.map(function(d){return h.forEach(function(T){d=d.replace(new RegExp("(\\"+o+T+"\\"+o+")","g"),s[0]+"$1"+s[1])}),d})});var i=new RegExp("\\"+o+"([0-9]+)\\"+o);function a(s,c,h){for(var p=[],d,T=0;d=i.exec(s);){if(T++>1e4)throw Error("Circular references in parenthesis");p.push(s.slice(0,d.index)),p.push(a(c[d[1]],c)),s=s.slice(d.index+d[0].length)}return p.push(s),p}return n?t:a(t[0],t)}function x(S,e){if(e&&e.flat){var t=e&&e.escape||"___",r=S[0],o;if(!r)return"";for(var n=new RegExp("\\"+t+"([0-9]+)\\"+t),i=0;r!=o;){if(i++>1e4)throw Error("Circular references in "+S);o=r,r=r.replace(n,a)}return r}return S.reduce(function s(c,h){return Array.isArray(h)&&(h=h.reduce(s,"")),c+h},"");function a(s,c){if(S[c]==null)throw Error("Reference "+c+"is undefined");return S[c]}}function A(S,e){return Array.isArray(S)?x(S,e):g(S,e)}A.parse=g,A.stringify=x,H.exports=A}}),jR=ke({"node_modules/string-split-by/index.js"(Z,H){"use strict";var g=UR();H.exports=function(A,S,e){if(A==null)throw Error("First argument should be a string");if(S==null)throw Error("Separator should be a string or a RegExp");e?(typeof e=="string"||Array.isArray(e))&&(e={ignore:e}):e={},e.escape==null&&(e.escape=!0),e.ignore==null?e.ignore=["[]","()","{}","<>",'""',"''","``","\u201C\u201D","\xAB\xBB"]:(typeof e.ignore=="string"&&(e.ignore=[e.ignore]),e.ignore=e.ignore.map(function(c){return c.length===1&&(c=c+c),c}));var t=g.parse(A,{flat:!0,brackets:e.ignore}),r=t[0],o=r.split(S);if(e.escape){for(var n=[],i=0;i1&&cn===Ln&&(cn==='"'||cn==="'"))return['"'+r(tr.substr(1,tr.length-2))+'"'];var xi=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(tr);if(xi)return o(tr.substr(0,xi.index)).concat(o(xi[1])).concat(o(tr.substr(xi.index+xi[0].length)));var Ni=tr.split(".");if(Ni.length===1)return['"'+r(tr)+'"'];for(var Fi=[],Oi=0;Oi"u"?1:window.devicePixelRatio,ha=!1,Xo={},Aa=function(wi){},Ma=function(){};if(typeof cn=="string"?Ln=document.querySelector(cn):typeof cn=="object"&&(_(cn)?Ln=cn:w(cn)?(Fi=cn,Ni=Fi.canvas):("gl"in cn?Fi=cn.gl:"canvas"in cn?Ni=E(cn.canvas):"container"in cn&&(xi=E(cn.container)),"attributes"in cn&&(Oi=cn.attributes),"extensions"in cn&&(na=M(cn.extensions)),"optionalExtensions"in cn&&(Ca=M(cn.optionalExtensions)),"onDone"in cn&&(Aa=cn.onDone),"profile"in cn&&(ha=!!cn.profile),"pixelRatio"in cn&&(ka=+cn.pixelRatio),"cachedCode"in cn&&(Xo=cn.cachedCode))),Ln&&(Ln.nodeName.toLowerCase()==="canvas"?Ni=Ln:xi=Ln),!Fi){if(!Ni){var ia=T(xi||document.body,Aa,ka);if(!ia)return null;Ni=ia.canvas,Ma=ia.onDestroy}Oi.premultipliedAlpha===void 0&&(Oi.premultipliedAlpha=!0),Fi=l(Ni,Oi)}return Fi?{gl:Fi,canvas:Ni,container:xi,extensions:na,optionalExtensions:Ca,pixelRatio:ka,profile:ha,cachedCode:Xo,onDone:Aa,onDestroy:Ma}:(Ma(),Aa("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function b(tr,cn){var Ln={};function xi(Oi){var na=Oi.toLowerCase(),Ca;try{Ca=Ln[na]=tr.getExtension(na)}catch{}return!!Ca}for(var Ni=0;Ni65535)<<4,tr>>>=cn,Ln=(tr>255)<<3,tr>>>=Ln,cn|=Ln,Ln=(tr>15)<<2,tr>>>=Ln,cn|=Ln,Ln=(tr>3)<<1,tr>>>=Ln,cn|=Ln,cn|tr>>1}function I(){var tr=v(8,function(){return[]});function cn(Fi){var Oi=B(Fi),na=tr[O(Oi)>>2];return na.length>0?na.pop():new ArrayBuffer(Oi)}function Ln(Fi){tr[O(Fi.byteLength)>>2].push(Fi)}function xi(Fi,Oi){var na=null;switch(Fi){case u:na=new Int8Array(cn(Oi),0,Oi);break;case y:na=new Uint8Array(cn(Oi),0,Oi);break;case f:na=new Int16Array(cn(2*Oi),0,Oi);break;case P:na=new Uint16Array(cn(2*Oi),0,Oi);break;case L:na=new Int32Array(cn(4*Oi),0,Oi);break;case z:na=new Uint32Array(cn(4*Oi),0,Oi);break;case F:na=new Float32Array(cn(4*Oi),0,Oi);break;default:return null}return na.length!==Oi?na.subarray(0,Oi):na}function Ni(Fi){Ln(Fi.buffer)}return{alloc:cn,free:Ln,allocType:xi,freeType:Ni}}var N=I();N.zero=I();var U=3408,W=3410,Q=3411,le=3412,se=3413,fe=3414,G=3415,$=33901,J=33902,X=3379,re=3386,ae=34921,j=36347,ee=36348,ie=35661,ce=35660,xe=34930,Te=36349,Ue=34076,Ie=34024,Ye=7936,it=7937,at=7938,tt=35724,ut=34047,Me=36063,pe=34852,ue=3553,Oe=34067,rt=34069,ot=33984,et=6408,Lt=5126,Et=5121,Bt=36160,qt=36053,fr=36064,ar=16384,Rr=function(tr,cn){var Ln=1;cn.ext_texture_filter_anisotropic&&(Ln=tr.getParameter(ut));var xi=1,Ni=1;cn.webgl_draw_buffers&&(xi=tr.getParameter(pe),Ni=tr.getParameter(Me));var Fi=!!cn.oes_texture_float;if(Fi){var Oi=tr.createTexture();tr.bindTexture(ue,Oi),tr.texImage2D(ue,0,et,1,1,0,et,Lt,null);var na=tr.createFramebuffer();if(tr.bindFramebuffer(Bt,na),tr.framebufferTexture2D(Bt,fr,ue,Oi,0),tr.bindTexture(ue,null),tr.checkFramebufferStatus(Bt)!==qt)Fi=!1;else{tr.viewport(0,0,1,1),tr.clearColor(1,0,0,1),tr.clear(ar);var Ca=N.allocType(Lt,4);tr.readPixels(0,0,1,1,et,Lt,Ca),tr.getError()?Fi=!1:(tr.deleteFramebuffer(na),tr.deleteTexture(Oi),Fi=Ca[0]===1),N.freeType(Ca)}}var ka=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ha=!0;if(!ka){var Xo=tr.createTexture(),Aa=N.allocType(Et,36);tr.activeTexture(ot),tr.bindTexture(Oe,Xo),tr.texImage2D(rt,0,et,3,3,0,et,Et,Aa),N.freeType(Aa),tr.bindTexture(Oe,null),tr.deleteTexture(Xo),ha=!tr.getError()}return{colorBits:[tr.getParameter(W),tr.getParameter(Q),tr.getParameter(le),tr.getParameter(se)],depthBits:tr.getParameter(fe),stencilBits:tr.getParameter(G),subpixelBits:tr.getParameter(U),extensions:Object.keys(cn).filter(function(Ma){return!!cn[Ma]}),maxAnisotropic:Ln,maxDrawbuffers:xi,maxColorAttachments:Ni,pointSizeDims:tr.getParameter($),lineWidthDims:tr.getParameter(J),maxViewportDims:tr.getParameter(re),maxCombinedTextureUnits:tr.getParameter(ie),maxCubeMapSize:tr.getParameter(Ue),maxRenderbufferSize:tr.getParameter(Ie),maxTextureUnits:tr.getParameter(xe),maxTextureSize:tr.getParameter(X),maxAttributes:tr.getParameter(ae),maxVertexUniforms:tr.getParameter(j),maxVertexTextureUnits:tr.getParameter(ce),maxVaryingVectors:tr.getParameter(ee),maxFragmentUniforms:tr.getParameter(Te),glsl:tr.getParameter(tt),renderer:tr.getParameter(it),vendor:tr.getParameter(Ye),version:tr.getParameter(at),readFloat:Fi,npotTextureCube:ha}},gr=function(tr){return tr instanceof Uint8Array||tr instanceof Uint16Array||tr instanceof Uint32Array||tr instanceof Int8Array||tr instanceof Int16Array||tr instanceof Int32Array||tr instanceof Float32Array||tr instanceof Float64Array||tr instanceof Uint8ClampedArray};function br(tr){return!!tr&&typeof tr=="object"&&Array.isArray(tr.shape)&&Array.isArray(tr.stride)&&typeof tr.offset=="number"&&tr.shape.length===tr.stride.length&&(Array.isArray(tr.data)||gr(tr.data))}var _t=function(tr){return Object.keys(tr).map(function(cn){return tr[cn]})},Be={shape:we,flatten:Ee};function Ke(tr,cn,Ln){for(var xi=0;xi0){var Oo;if(Array.isArray(qi[0])){Ba=zn(qi);for(var va=1,sa=1;sa0){if(typeof va[0]=="number"){var Fa=N.allocType(ca.dtype,va.length);wr(Fa,va),Ba(Fa,fo),N.freeType(Fa)}else if(Array.isArray(va[0])||gr(va[0])){Ja=zn(va);var Ia=ni(va,Ja,ca.dtype);Ba(Ia,fo),N.freeType(Ia)}}}else if(br(va)){Ja=va.shape;var ao=va.stride,Zo=0,ps=0,Na=0,Mo=0;Ja.length===1?(Zo=Ja[0],ps=1,Na=ao[0],Mo=0):Ja.length===2&&(Zo=Ja[0],ps=Ja[1],Na=ao[0],Mo=ao[1]);var ss=Array.isArray(va.data)?ca.dtype:Vt(va.data),_s=N.allocType(ss,Zo*ps);$r(_s,va.data,Zo,ps,Na,Mo,va.offset),Ba(_s,fo),N.freeType(_s)}return $a}return ba||$a(wi),$a._reglType="buffer",$a._buffer=ca,$a.subdata=Oo,Ln.profile&&($a.stats=ca.stats),$a.destroy=function(){Aa(ca)},$a}function ia(){_t(Fi).forEach(function(wi){wi.buffer=tr.createBuffer(),tr.bindBuffer(wi.type,wi.buffer),tr.bufferData(wi.type,wi.persistentData||wi.byteLength,wi.usage)})}return Ln.profile&&(cn.getTotalBufferSize=function(){var wi=0;return Object.keys(Fi).forEach(function(qi){wi+=Fi[qi].stats.size}),wi}),{create:Ma,createStream:Ca,destroyStream:ka,clear:function(){_t(Fi).forEach(Aa),na.forEach(Aa)},getBuffer:function(wi){return wi&&wi._buffer instanceof Oi?wi._buffer:null},restore:ia,_initBuffer:Xo}}var en=0,Fn=0,Wn=1,ri=1,Sn=4,ui=4,gt={points:en,point:Fn,lines:Wn,line:ri,triangles:Sn,triangle:ui,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},yt=0,Pr=1,Ir=4,Tr=5120,Mr=5121,Lr=5122,Ur=5123,Dr=5124,nn=5125,vn=34963,gn=35040,kt=35044;function or(tr,cn,Ln,xi){var Ni={},Fi=0,Oi={uint8:Mr,uint16:Ur};cn.oes_element_index_uint&&(Oi.uint32=nn);function na(ia){this.id=Fi++,Ni[this.id]=this,this.buffer=ia,this.primType=Ir,this.vertCount=0,this.type=0}na.prototype.bind=function(){this.buffer.bind()};var Ca=[];function ka(ia){var wi=Ca.pop();return wi||(wi=new na(Ln.create(null,vn,!0,!1)._buffer)),Xo(wi,ia,gn,-1,-1,0,0),wi}function ha(ia){Ca.push(ia)}function Xo(ia,wi,qi,ba,Pa,ca,$a){ia.buffer.bind();var Ba;if(wi){var Oo=$a;!$a&&(!gr(wi)||br(wi)&&!gr(wi.data))&&(Oo=cn.oes_element_index_uint?nn:Ur),Ln._initBuffer(ia.buffer,wi,qi,Oo,3)}else tr.bufferData(vn,ca,qi),ia.buffer.dtype=Ba||Mr,ia.buffer.usage=qi,ia.buffer.dimension=3,ia.buffer.byteLength=ca;if(Ba=$a,!$a){switch(ia.buffer.dtype){case Mr:case Tr:Ba=Mr;break;case Ur:case Lr:Ba=Ur;break;case nn:case Dr:Ba=nn;break;default:}ia.buffer.dtype=Ba}ia.type=Ba;var va=Pa;va<0&&(va=ia.buffer.byteLength,Ba===Ur?va>>=1:Ba===nn&&(va>>=2)),ia.vertCount=va;var sa=ba;if(ba<0){sa=Ir;var fo=ia.buffer.dimension;fo===1&&(sa=yt),fo===2&&(sa=Pr),fo===3&&(sa=Ir)}ia.primType=sa}function Aa(ia){xi.elementsCount--,delete Ni[ia.id],ia.buffer.destroy(),ia.buffer=null}function Ma(ia,wi){var qi=Ln.create(null,vn,!0),ba=new na(qi._buffer);xi.elementsCount++;function Pa(ca){if(!ca)qi(),ba.primType=Ir,ba.vertCount=0,ba.type=Mr;else if(typeof ca=="number")qi(ca),ba.primType=Ir,ba.vertCount=ca|0,ba.type=Mr;else{var $a=null,Ba=kt,Oo=-1,va=-1,sa=0,fo=0;Array.isArray(ca)||gr(ca)||br(ca)?$a=ca:("data"in ca&&($a=ca.data),"usage"in ca&&(Ba=On[ca.usage]),"primitive"in ca&&(Oo=gt[ca.primitive]),"count"in ca&&(va=ca.count|0),"type"in ca&&(fo=Oi[ca.type]),"length"in ca?sa=ca.length|0:(sa=va,fo===Ur||fo===Lr?sa*=2:(fo===nn||fo===Dr)&&(sa*=4))),Xo(ba,$a,Ba,Oo,va,sa,fo)}return Pa}return Pa(ia),Pa._reglType="elements",Pa._elements=ba,Pa.subdata=function(ca,$a){return qi.subdata(ca,$a),Pa},Pa.destroy=function(){Aa(ba)},Pa}return{create:Ma,createStream:ka,destroyStream:ha,getElements:function(ia){return typeof ia=="function"&&ia._elements instanceof na?ia._elements:null},clear:function(){_t(Ni).forEach(Aa)}}}var yr=new Float32Array(1),on=new Uint32Array(yr.buffer),An=5123;function Zn(tr){for(var cn=N.allocType(An,tr.length),Ln=0;Ln>>31<<15,Fi=(xi<<1>>>24)-127,Oi=xi>>13&1023;if(Fi<-24)cn[Ln]=Ni;else if(Fi<-14){var na=-14-Fi;cn[Ln]=Ni+(Oi+1024>>na)}else Fi>15?cn[Ln]=Ni+31744:cn[Ln]=Ni+(Fi+15<<10)+Oi}return cn}function Bn(tr){return Array.isArray(tr)||gr(tr)}var wn=34467,Dn=3553,Ui=34067,pi=34069,Ta=6408,Sa=6406,qa=6407,to=6409,yo=6410,Xa=32854,Go=32855,pa=36194,cs=32819,Ko=32820,gs=33635,Ya=34042,zo=6402,Ka=34041,Yo=35904,ns=35906,hs=36193,ho=33776,Ro=33777,Ls=33778,Vs=33779,Ws=35986,fs=35987,Mi=34798,Da=35840,pl=35841,Xs=35842,Eo=35843,Ys=36196,As=5121,hl=5123,wl=5125,la=5126,Uo=10242,vo=10243,Ps=10497,ls=33071,no=33648,$l=10240,Ku=10241,Tl=9728,Vu=9729,Rl=9984,Qs=9985,nu=9986,qu=9987,kc=33170,Ju=4352,sh=4353,uf=4354,qs=34046,Hc=3317,bf=37440,Ql=37441,Al=37443,oc=37444,gc=33984,nl=[Rl,nu,Qs,qu],Ml=[0,to,yo,qa,Ta],Zs={};Zs[to]=Zs[Sa]=Zs[zo]=1,Zs[Ka]=Zs[yo]=2,Zs[qa]=Zs[Yo]=3,Zs[Ta]=Zs[ns]=4;function sl(tr){return"[object "+tr+"]"}var sc=sl("HTMLCanvasElement"),jl=sl("OffscreenCanvas"),$u=sl("CanvasRenderingContext2D"),ll=sl("ImageBitmap"),Nh=sl("HTMLImageElement"),ds=sl("HTMLVideoElement"),Sh=Object.keys(Le).concat([sc,jl,$u,ll,Nh,ds]),Bs=[];Bs[As]=1,Bs[la]=4,Bs[hs]=2,Bs[hl]=2,Bs[wl]=4;var Vo=[];Vo[Xa]=2,Vo[Go]=2,Vo[pa]=2,Vo[Ka]=4,Vo[ho]=.5,Vo[Ro]=.5,Vo[Ls]=1,Vo[Vs]=1,Vo[Ws]=.5,Vo[fs]=1,Vo[Mi]=1,Vo[Da]=.5,Vo[pl]=.25,Vo[Xs]=.5,Vo[Eo]=.25,Vo[Ys]=.5;function rf(tr){return Array.isArray(tr)&&(tr.length===0||typeof tr[0]=="number")}function Qu(tr){if(!Array.isArray(tr))return!1;var cn=tr.length;return!(cn===0||!Bn(tr[0]))}function pu(tr){return Object.prototype.toString.call(tr)}function Df(tr){return pu(tr)===sc}function Lc(tr){return pu(tr)===jl}function nf(tr){return pu(tr)===$u}function Vl(tr){return pu(tr)===ll}function Jf(tr){return pu(tr)===Nh}function zf(tr){return pu(tr)===ds}function wf(tr){if(!tr)return!1;var cn=pu(tr);return Sh.indexOf(cn)>=0?!0:rf(tr)||Qu(tr)||br(tr)}function Gc(tr){return Le[Object.prototype.toString.call(tr)]|0}function Ff(tr,cn){var Ln=cn.length;switch(tr.type){case As:case hl:case wl:case la:var xi=N.allocType(tr.type,Ln);xi.set(cn),tr.data=xi;break;case hs:tr.data=Zn(cn);break;default:}}function $f(tr,cn){return N.allocType(tr.type===hs?la:tr.type,cn)}function ec(tr,cn){tr.type===hs?(tr.data=Zn(cn),N.freeType(cn)):tr.data=cn}function Tf(tr,cn,Ln,xi,Ni,Fi){for(var Oi=tr.width,na=tr.height,Ca=tr.channels,ka=Oi*na*Ca,ha=$f(tr,ka),Xo=0,Aa=0;Aa=1;)na+=Oi*Ca*Ca,Ca/=2;return na}else return Oi*Ln*xi}function Wc(tr,cn,Ln,xi,Ni,Fi,Oi){var na={"don't care":Ju,"dont care":Ju,nice:uf,fast:sh},Ca={repeat:Ps,clamp:ls,mirror:no},ka={nearest:Tl,linear:Vu},ha=g({mipmap:qu,"nearest mipmap nearest":Rl,"linear mipmap nearest":Qs,"nearest mipmap linear":nu,"linear mipmap linear":qu},ka),Xo={none:0,browser:oc},Aa={uint8:As,rgba4:cs,rgb565:gs,"rgb5 a1":Ko},Ma={alpha:Sa,luminance:to,"luminance alpha":yo,rgb:qa,rgba:Ta,rgba4:Xa,"rgb5 a1":Go,rgb565:pa},ia={};cn.ext_srgb&&(Ma.srgb=Yo,Ma.srgba=ns),cn.oes_texture_float&&(Aa.float32=Aa.float=la),cn.oes_texture_half_float&&(Aa.float16=Aa["half float"]=hs),cn.webgl_depth_texture&&(g(Ma,{depth:zo,"depth stencil":Ka}),g(Aa,{uint16:hl,uint32:wl,"depth stencil":Ya})),cn.webgl_compressed_texture_s3tc&&g(ia,{"rgb s3tc dxt1":ho,"rgba s3tc dxt1":Ro,"rgba s3tc dxt3":Ls,"rgba s3tc dxt5":Vs}),cn.webgl_compressed_texture_atc&&g(ia,{"rgb atc":Ws,"rgba atc explicit alpha":fs,"rgba atc interpolated alpha":Mi}),cn.webgl_compressed_texture_pvrtc&&g(ia,{"rgb pvrtc 4bppv1":Da,"rgb pvrtc 2bppv1":pl,"rgba pvrtc 4bppv1":Xs,"rgba pvrtc 2bppv1":Eo}),cn.webgl_compressed_texture_etc1&&(ia["rgb etc1"]=Ys);var wi=Array.prototype.slice.call(tr.getParameter(wn));Object.keys(ia).forEach(function(We){var lt=ia[We];wi.indexOf(lt)>=0&&(Ma[We]=lt)});var qi=Object.keys(Ma);Ln.textureFormats=qi;var ba=[];Object.keys(Ma).forEach(function(We){var lt=Ma[We];ba[lt]=We});var Pa=[];Object.keys(Aa).forEach(function(We){var lt=Aa[We];Pa[lt]=We});var ca=[];Object.keys(ka).forEach(function(We){var lt=ka[We];ca[lt]=We});var $a=[];Object.keys(ha).forEach(function(We){var lt=ha[We];$a[lt]=We});var Ba=[];Object.keys(Ca).forEach(function(We){var lt=Ca[We];Ba[lt]=We});var Oo=qi.reduce(function(We,lt){var Ct=Ma[lt];return Ct===to||Ct===Sa||Ct===to||Ct===yo||Ct===zo||Ct===Ka||cn.ext_srgb&&(Ct===Yo||Ct===ns)?We[Ct]=Ct:Ct===Go||lt.indexOf("rgba")>=0?We[Ct]=Ta:We[Ct]=qa,We},{});function va(){this.internalformat=Ta,this.format=Ta,this.type=As,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=oc,this.width=0,this.height=0,this.channels=0}function sa(We,lt){We.internalformat=lt.internalformat,We.format=lt.format,We.type=lt.type,We.compressed=lt.compressed,We.premultiplyAlpha=lt.premultiplyAlpha,We.flipY=lt.flipY,We.unpackAlignment=lt.unpackAlignment,We.colorSpace=lt.colorSpace,We.width=lt.width,We.height=lt.height,We.channels=lt.channels}function fo(We,lt){if(!(typeof lt!="object"||!lt)){if("premultiplyAlpha"in lt&&(We.premultiplyAlpha=lt.premultiplyAlpha),"flipY"in lt&&(We.flipY=lt.flipY),"alignment"in lt&&(We.unpackAlignment=lt.alignment),"colorSpace"in lt&&(We.colorSpace=Xo[lt.colorSpace]),"type"in lt){var Ct=lt.type;We.type=Aa[Ct]}var Wt=We.width,xr=We.height,Fr=We.channels,Ar=!1;"shape"in lt?(Wt=lt.shape[0],xr=lt.shape[1],lt.shape.length===3&&(Fr=lt.shape[2],Ar=!0)):("radius"in lt&&(Wt=xr=lt.radius),"width"in lt&&(Wt=lt.width),"height"in lt&&(xr=lt.height),"channels"in lt&&(Fr=lt.channels,Ar=!0)),We.width=Wt|0,We.height=xr|0,We.channels=Fr|0;var Gt=!1;if("format"in lt){var nr=lt.format,mr=We.internalformat=Ma[nr];We.format=Oo[mr],nr in Aa&&("type"in lt||(We.type=Aa[nr])),nr in ia&&(We.compressed=!0),Gt=!0}!Ar&&Gt?We.channels=Zs[We.format]:Ar&&!Gt&&We.channels!==Ml[We.format]&&(We.format=We.internalformat=Ml[We.channels])}}function Ja(We){tr.pixelStorei(bf,We.flipY),tr.pixelStorei(Ql,We.premultiplyAlpha),tr.pixelStorei(Al,We.colorSpace),tr.pixelStorei(Hc,We.unpackAlignment)}function Fa(){va.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Ia(We,lt){var Ct=null;if(wf(lt)?Ct=lt:lt&&(fo(We,lt),"x"in lt&&(We.xOffset=lt.x|0),"y"in lt&&(We.yOffset=lt.y|0),wf(lt.data)&&(Ct=lt.data)),lt.copy){var Wt=Ni.viewportWidth,xr=Ni.viewportHeight;We.width=We.width||Wt-We.xOffset,We.height=We.height||xr-We.yOffset,We.needsCopy=!0}else if(!Ct)We.width=We.width||1,We.height=We.height||1,We.channels=We.channels||4;else if(gr(Ct))We.channels=We.channels||4,We.data=Ct,!("type"in lt)&&We.type===As&&(We.type=Gc(Ct));else if(rf(Ct))We.channels=We.channels||4,Ff(We,Ct),We.alignment=1,We.needsFree=!0;else if(br(Ct)){var Fr=Ct.data;!Array.isArray(Fr)&&We.type===As&&(We.type=Gc(Fr));var Ar=Ct.shape,Gt=Ct.stride,nr,mr,zr,Gr,Xr,fn;Ar.length===3?(zr=Ar[2],fn=Gt[2]):(zr=1,fn=1),nr=Ar[0],mr=Ar[1],Gr=Gt[0],Xr=Gt[1],We.alignment=1,We.width=nr,We.height=mr,We.channels=zr,We.format=We.internalformat=Ml[zr],We.needsFree=!0,Tf(We,Fr,Gr,Xr,fn,Ct.offset)}else if(Df(Ct)||Lc(Ct)||nf(Ct))Df(Ct)||Lc(Ct)?We.element=Ct:We.element=Ct.canvas,We.width=We.element.width,We.height=We.element.height,We.channels=4;else if(Vl(Ct))We.element=Ct,We.width=Ct.width,We.height=Ct.height,We.channels=4;else if(Jf(Ct))We.element=Ct,We.width=Ct.naturalWidth,We.height=Ct.naturalHeight,We.channels=4;else if(zf(Ct))We.element=Ct,We.width=Ct.videoWidth,We.height=Ct.videoHeight,We.channels=4;else if(Qu(Ct)){var sn=We.width||Ct[0].length,Zr=We.height||Ct.length,hn=We.channels;Bn(Ct[0][0])?hn=hn||Ct[0][0].length:hn=hn||1;for(var qr=Be.shape(Ct),kn=1,Xn=0;Xn>=xr,Ct.height>>=xr,Ia(Ct,Wt[xr]),We.mipmask|=1<=0&&!("faces"in lt)&&(We.genMipmaps=!0)}if("mag"in lt){var Wt=lt.mag;We.magFilter=ka[Wt]}var xr=We.wrapS,Fr=We.wrapT;if("wrap"in lt){var Ar=lt.wrap;typeof Ar=="string"?xr=Fr=Ca[Ar]:Array.isArray(Ar)&&(xr=Ca[Ar[0]],Fr=Ca[Ar[1]])}else{if("wrapS"in lt){var Gt=lt.wrapS;xr=Ca[Gt]}if("wrapT"in lt){var nr=lt.wrapT;Fr=Ca[nr]}}if(We.wrapS=xr,We.wrapT=Fr,"anisotropic"in lt){var mr=lt.anisotropic;We.anisotropic=lt.anisotropic}if("mipmap"in lt){var zr=!1;switch(typeof lt.mipmap){case"string":We.mipmapHint=na[lt.mipmap],We.genMipmaps=!0,zr=!0;break;case"boolean":zr=We.genMipmaps=lt.mipmap;break;case"object":We.genMipmaps=!1,zr=!0;break;default:}zr&&!("min"in lt)&&(We.minFilter=Rl)}}function mc(We,lt){tr.texParameteri(lt,Ku,We.minFilter),tr.texParameteri(lt,$l,We.magFilter),tr.texParameteri(lt,Uo,We.wrapS),tr.texParameteri(lt,vo,We.wrapT),cn.ext_texture_filter_anisotropic&&tr.texParameteri(lt,qs,We.anisotropic),We.genMipmaps&&(tr.hint(kc,We.mipmapHint),tr.generateMipmap(lt))}var Jc=0,tu={},Ac=Ln.maxTextureUnits,Nc=Array(Ac).map(function(){return null});function Hs(We){va.call(this),this.mipmask=0,this.internalformat=Ta,this.id=Jc++,this.refCount=1,this.target=We,this.texture=tr.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new ql,Oi.profile&&(this.stats={size:0})}function $c(We){tr.activeTexture(gc),tr.bindTexture(We.target,We.texture)}function Us(){var We=Nc[0];We?tr.bindTexture(We.target,We.texture):tr.bindTexture(Dn,null)}function ve(We){var lt=We.texture,Ct=We.unit,Wt=We.target;Ct>=0&&(tr.activeTexture(gc+Ct),tr.bindTexture(Wt,null),Nc[Ct]=null),tr.deleteTexture(lt),We.texture=null,We.params=null,We.pixels=null,We.refCount=0,delete tu[We.id],Fi.textureCount--}g(Hs.prototype,{bind:function(){var We=this;We.bindCount+=1;var lt=We.unit;if(lt<0){for(var Ct=0;Ct0)continue;Wt.unit=-1}Nc[Ct]=We,lt=Ct;break}lt>=Ac,Oi.profile&&Fi.maxTextureUnits>Xr)-zr,fn.height=fn.height||(Ct.height>>Xr)-Gr,$c(Ct),Zo(fn,Dn,zr,Gr,Xr),Us(),Mo(fn),Wt}function Fr(Ar,Gt){var nr=Ar|0,mr=Gt|0||nr;if(nr===Ct.width&&mr===Ct.height)return Wt;Wt.width=Ct.width=nr,Wt.height=Ct.height=mr,$c(Ct);for(var zr=0;Ct.mipmask>>zr;++zr){var Gr=nr>>zr,Xr=mr>>zr;if(!Gr||!Xr)break;tr.texImage2D(Dn,zr,Ct.format,Gr,Xr,0,Ct.format,Ct.type,null)}return Us(),Oi.profile&&(Ct.stats.size=Pc(Ct.internalformat,Ct.type,nr,mr,!1,!1)),Wt}return Wt(We,lt),Wt.subimage=xr,Wt.resize=Fr,Wt._reglType="texture2d",Wt._texture=Ct,Oi.profile&&(Wt.stats=Ct.stats),Wt.destroy=function(){Ct.decRef()},Wt}function me(We,lt,Ct,Wt,xr,Fr){var Ar=new Hs(Ui);tu[Ar.id]=Ar,Fi.cubeCount++;var Gt=new Array(6);function nr(Gr,Xr,fn,sn,Zr,hn){var qr,kn=Ar.texInfo;for(ql.call(kn),qr=0;qr<6;++qr)Gt[qr]=rl();if(typeof Gr=="number"||!Gr){var Xn=Gr|0||1;for(qr=0;qr<6;++qr)_s(Gt[qr],Xn,Xn)}else if(typeof Gr=="object")if(Xr)Fs(Gt[0],Gr),Fs(Gt[1],Xr),Fs(Gt[2],fn),Fs(Gt[3],sn),Fs(Gt[4],Zr),Fs(Gt[5],hn);else if(pc(kn,Gr),fo(Ar,Gr),"faces"in Gr){var vi=Gr.faces;for(qr=0;qr<6;++qr)sa(Gt[qr],Ar),Fs(Gt[qr],vi[qr])}else for(qr=0;qr<6;++qr)Fs(Gt[qr],Gr);for(sa(Ar,Gt[0]),kn.genMipmaps?Ar.mipmask=(Gt[0].width<<1)-1:Ar.mipmask=Gt[0].mipmask,Ar.internalformat=Gt[0].internalformat,nr.width=Gt[0].width,nr.height=Gt[0].height,$c(Ar),qr=0;qr<6;++qr)iu(Gt[qr],pi+qr);for(mc(kn,Ui),Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,kn.genMipmaps,!0)),nr.format=ba[Ar.internalformat],nr.type=Pa[Ar.type],nr.mag=ca[kn.magFilter],nr.min=$a[kn.minFilter],nr.wrapS=Ba[kn.wrapS],nr.wrapT=Ba[kn.wrapT],qr=0;qr<6;++qr)Bc(Gt[qr]);return nr}function mr(Gr,Xr,fn,sn,Zr){var hn=fn|0,qr=sn|0,kn=Zr|0,Xn=Na();return sa(Xn,Ar),Xn.width=0,Xn.height=0,Ia(Xn,Xr),Xn.width=Xn.width||(Ar.width>>kn)-hn,Xn.height=Xn.height||(Ar.height>>kn)-qr,$c(Ar),Zo(Xn,pi+Gr,hn,qr,kn),Us(),Mo(Xn),nr}function zr(Gr){var Xr=Gr|0;if(Xr!==Ar.width){nr.width=Ar.width=Xr,nr.height=Ar.height=Xr,$c(Ar);for(var fn=0;fn<6;++fn)for(var sn=0;Ar.mipmask>>sn;++sn)tr.texImage2D(pi+fn,sn,Ar.format,Xr>>sn,Xr>>sn,0,Ar.format,Ar.type,null);return Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,!1,!0)),nr}}return nr(We,lt,Ct,Wt,xr,Fr),nr.subimage=mr,nr.resize=zr,nr._reglType="textureCube",nr._texture=Ar,Oi.profile&&(nr.stats=Ar.stats),nr.destroy=function(){Ar.decRef()},nr}function te(){for(var We=0;We>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);else for(var xr=0;xr<6;++xr)tr.texImage2D(pi+xr,Wt,Ct.internalformat,Ct.width>>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);mc(Ct.texInfo,Ct.target)})}function Ze(){for(var We=0;We=0?Bc=!0:Ca.indexOf(ql)>=0&&(Bc=!1))),("depthTexture"in Hs||"depthStencilTexture"in Hs)&&(Nc=!!(Hs.depthTexture||Hs.depthStencilTexture)),"depth"in Hs&&(typeof Hs.depth=="boolean"?iu=Hs.depth:(Jc=Hs.depth,Oc=!1)),"stencil"in Hs&&(typeof Hs.stencil=="boolean"?Oc=Hs.stencil:(tu=Hs.stencil,iu=!1)),"depthStencil"in Hs&&(typeof Hs.depthStencil=="boolean"?iu=Oc=Hs.depthStencil:(Ac=Hs.depthStencil,iu=!1,Oc=!1))}var Us=null,ve=null,K=null,me=null;if(Array.isArray(rl))Us=rl.map(ia);else if(rl)Us=[ia(rl)];else for(Us=new Array(mc),ss=0;ss0&&(Mo.depth=Ia[0].depth,Mo.stencil=Ia[0].stencil,Mo.depthStencil=Ia[0].depthStencil),Ia[Na]?Ia[Na](Mo):Ia[Na]=sa(Mo)}return g(ao,{width:ss,height:ss,color:ql})}function Zo(ps){var Na,Mo=ps|0;if(Mo===ao.width)return ao;var ss=ao.color;for(Na=0;Na=ss.byteLength?_s.subdata(ss):(_s.destroy(),sa.buffers[ps]=null)),sa.buffers[ps]||(_s=sa.buffers[ps]=Ni.create(Na,Mf,!1,!0)),Mo.buffer=Ni.getBuffer(_s),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1,ao[ps]=1}else Ni.getBuffer(Na)?(Mo.buffer=Ni.getBuffer(Na),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1):Ni.getBuffer(Na.buffer)?(Mo.buffer=Ni.getBuffer(Na.buffer),Mo.size=(+Na.size||Mo.buffer.dimension)|0,Mo.normalized=!!Na.normalized||!1,"type"in Na?Mo.type=pn[Na.type]:Mo.type=Mo.buffer.dtype,Mo.offset=(Na.offset||0)|0,Mo.stride=(Na.stride||0)|0,Mo.divisor=(Na.divisor||0)|0,Mo.state=1):"x"in Na&&(Mo.x=+Na.x||0,Mo.y=+Na.y||0,Mo.z=+Na.z||0,Mo.w=+Na.w||0,Mo.state=2)}for(var Fs=0;Fs1)for(var Ja=0;Jawi&&(wi=qi.stats.uniformsCount)}),wi},Ln.getMaxAttributesCount=function(){var wi=0;return ha.forEach(function(qi){qi.stats.attributesCount>wi&&(wi=qi.stats.attributesCount)}),wi});function ia(){Ni={},Fi={};for(var wi=0;wi16&&(Ln=bi(Ln,tr.length*8));for(var xi=Array(16),Ni=Array(16),Fi=0;Fi<16;Fi++)xi[Fi]=Ln[Fi]^909522486,Ni[Fi]=Ln[Fi]^1549556828;var Oi=bi(xi.concat(Yc(cn)),512+cn.length*8);return Yt(bi(Ni.concat(Oi),768))}function uu(tr){for(var cn=Uf?"0123456789ABCDEF":"0123456789abcdef",Ln="",xi,Ni=0;Ni>>4&15)+cn.charAt(xi&15);return Ln}function fc(tr){for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ln="",xi=tr.length,Ni=0;Nitr.length*8?Ln+=Wu:Ln+=cn.charAt(Fi>>>6*(3-Oi)&63);return Ln}function Dc(tr,cn){var Ln=cn.length,xi=Array(),Ni,Fi,Oi,na,Ca=Array(Math.ceil(tr.length/2));for(Ni=0;Ni0;){for(na=Array(),Oi=0,Ni=0;Ni0||Fi>0)&&(na[na.length]=Fi);xi[xi.length]=Oi,Ca=na}var ka="";for(Ni=xi.length-1;Ni>=0;Ni--)ka+=cn.charAt(xi[Ni]);var ha=Math.ceil(tr.length*8/(Math.log(cn.length)/Math.log(2)));for(Ni=ka.length;Ni>>6&31,128|xi&63):xi<=65535?cn+=String.fromCharCode(224|xi>>>12&15,128|xi>>>6&63,128|xi&63):xi<=2097151&&(cn+=String.fromCharCode(240|xi>>>18&7,128|xi>>>12&63,128|xi>>>6&63,128|xi&63));return cn}function Yc(tr){for(var cn=Array(tr.length>>2),Ln=0;Ln>5]|=(tr.charCodeAt(Ln/8)&255)<<24-Ln%32;return cn}function Yt(tr){for(var cn="",Ln=0;Ln>5]>>>24-Ln%32&255);return cn}function dr(tr,cn){return tr>>>cn|tr<<32-cn}function tn(tr,cn){return tr>>>cn}function Wr(tr,cn,Ln){return tr&cn^~tr&Ln}function Cn(tr,cn,Ln){return tr&cn^tr&Ln^cn&Ln}function si(tr){return dr(tr,2)^dr(tr,13)^dr(tr,22)}function yi(tr){return dr(tr,6)^dr(tr,11)^dr(tr,25)}function Di(tr){return dr(tr,7)^dr(tr,18)^tn(tr,3)}function Wi(tr){return dr(tr,17)^dr(tr,19)^tn(tr,10)}var aa=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function bi(tr,cn){var Ln=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),xi=new Array(64),Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi;for(tr[cn>>5]|=128<<24-cn%32,tr[(cn+64>>9<<4)+15]=cn,Aa=0;Aa>16)+(cn>>16)+(Ln>>16);return xi<<16|Ln&65535}function Li(tr){return Array.prototype.slice.call(tr)}function di(tr){return Li(tr).join("")}function wa(tr){var cn=tr&&tr.cache,Ln=0,xi=[],Ni=[],Fi=[];function Oi(ia,wi){var qi=wi&&wi.stable;if(!qi){for(var ba=0;ba0&&(ia.push(Pa,"="),ia.push.apply(ia,Li(arguments)),ia.push(";")),Pa}return g(wi,{def:ba,toString:function(){return di([qi.length>0?"var "+qi.join(",")+";":"",di(ia)])}})}function Ca(){var ia=na(),wi=na(),qi=ia.toString,ba=wi.toString;function Pa(ca,$a){wi(ca,$a,"=",ia.def(ca,$a),";")}return g(function(){ia.apply(ia,Li(arguments))},{def:ia.def,entry:ia,exit:wi,save:Pa,set:function(ca,$a,Ba){Pa(ca,$a),ia(ca,$a,"=",Ba,";")},toString:function(){return qi()+ba()}})}function ka(){var ia=di(arguments),wi=Ca(),qi=Ca(),ba=wi.toString,Pa=qi.toString;return g(wi,{then:function(){return wi.apply(wi,Li(arguments)),this},else:function(){return qi.apply(qi,Li(arguments)),this},toString:function(){var ca=Pa();return ca&&(ca="else{"+ca+"}"),di(["if(",ia,"){",ba(),"}",ca])}})}var ha=na(),Xo={};function Aa(ia,wi){var qi=[];function ba(){var Oo="a"+qi.length;return qi.push(Oo),Oo}wi=wi||0;for(var Pa=0;Pa":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},qn={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Jn={cw:Qe,ccw:vt};function ci(tr){return Array.isArray(tr)||gr(tr)||br(tr)}function oi(tr){return tr.sort(function(cn,Ln){return cn===Ae?-1:Ln===Ae?1:cn=1,xi>=2,cn)}else if(Ln===Ds){var Ni=tr.data;return new Hn(Ni.thisDep,Ni.contextDep,Ni.propDep,cn)}else{if(Ln===il)return new Hn(!1,!1,!1,cn);if(Ln===Ns){for(var Fi=!1,Oi=!1,na=!1,Ca=0;Ca=1&&(Oi=!0),ha>=2&&(na=!0)}else ka.type===Ds&&(Fi=Fi||ka.data.thisDep,Oi=Oi||ka.data.contextDep,na=na||ka.data.propDep)}return new Hn(Fi,Oi,na,cn)}else return new Hn(Ln===as,Ln===Lo,Ln===Qi,cn)}}var La=new Hn(!1,!1,!1,function(){});function io(tr,cn,Ln,xi,Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi){var qi=ka.Record,ba={add:32774,subtract:32778,"reverse subtract":32779};Ln.ext_blend_minmax&&(ba.min=mt,ba.max=Tt);var Pa=Ln.angle_instanced_arrays,ca=Ln.webgl_draw_buffers,$a=Ln.oes_vertex_array_object,Ba={dirty:!0,profile:wi.profile},Oo={},va=[],sa={},fo={};function Ja(Gt){return Gt.replace(".","_")}function Fa(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Oo[zr]=Ba[zr]=!!mr,sa[zr]=nr}function Ia(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Array.isArray(mr)?(Ba[zr]=mr.slice(),Oo[zr]=mr.slice()):Ba[zr]=Oo[zr]=mr,fo[zr]=nr}function ao(Gt){return!!isNaN(Gt)}Fa(el,li),Fa(Es,Un),Ia(Bl,"blendColor",[0,0,0,0]),Ia(_l,"blendEquationSeparate",[jr,jr]),Ia(cl,"blendFuncSeparate",[Br,lr,Br,lr]),Fa(Za,Ci,!0),Ia(jo,"depthFunc",Tn),Ia(Js,"depthRange",[0,1]),Ia(zs,"depthMask",!0),Ia(cu,cu,[!0,!0,!0,!0]),Fa(zu,Mn),Ia(nc,"cullFace",Re),Ia(Kc,Kc,vt),Ia(Tu,Tu,1),Fa(zc,ya),Ia(Fu,"polygonOffset",[0,0]),Fa(wc,ro),Fa(bo,Va),Ia(Wo,"sampleCoverage",[1,!1]),Fa(Fc,ki),Ia(hc,"stencilMask",-1),Ia(dc,"stencilFunc",[Qt,0,-1]),Ia(Ne,"stencilOpSeparate",[de,Dt,Dt,Dt]),Ia(R,"stencilOpSeparate",[Re,Dt,Dt,Dt]),Fa(ne,Zi),Ia(be,"scissor",[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]),Ia(Ae,Ae,[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]);var Zo={gl:tr,context:Aa,strings:cn,next:Oo,current:Ba,draw:Xo,elements:Fi,buffer:Ni,shader:ha,attributes:ka.state,vao:ka,uniforms:Ca,framebuffer:na,extensions:Ln,timer:Ma,isBufferArgs:ci},ps={primTypes:gt,compareFuncs:En,blendFuncs:ai,blendEquations:ba,stencilOps:qn,glTypes:pn,orientationType:Jn};ca&&(ps.backBuffer=[Re],ps.drawBuffer=v(xi.maxDrawbuffers,function(Gt){return Gt===0?[0]:v(Gt,function(nr){return ti+nr})}));var Na=0;function Mo(){var Gt=wa({cache:ia}),nr=Gt.link,mr=Gt.global;Gt.id=Na++,Gt.batchId="0";var zr=nr(Zo),Gr=Gt.shared={props:"a0"};Object.keys(Zo).forEach(function(hn){Gr[hn]=mr.def(zr,".",hn)});var Xr=Gt.next={},fn=Gt.current={};Object.keys(fo).forEach(function(hn){Array.isArray(Ba[hn])&&(Xr[hn]=mr.def(Gr.next,".",hn),fn[hn]=mr.def(Gr.current,".",hn))});var sn=Gt.constants={};Object.keys(ps).forEach(function(hn){sn[hn]=mr.def(JSON.stringify(ps[hn]))}),Gt.invoke=function(hn,qr){switch(qr.type){case xa:var kn=["this",Gr.context,Gr.props,Gt.batchId];return hn.def(nr(qr.data),".call(",kn.slice(0,Math.max(qr.data.length+1,4)),")");case Qi:return hn.def(Gr.props,qr.data);case Lo:return hn.def(Gr.context,qr.data);case as:return hn.def("this",qr.data);case Ds:return qr.data.append(Gt,hn),qr.data.ref;case il:return qr.data.toString();case Ns:return qr.data.map(function(Xn){return Gt.invoke(hn,Xn)})}},Gt.attribCache={};var Zr={};return Gt.scopeAttrib=function(hn){var qr=cn.id(hn);if(qr in Zr)return Zr[qr];var kn=ka.scope[qr];kn||(kn=ka.scope[qr]=new qi);var Xn=Zr[qr]=nr(kn);return Xn},Gt}function ss(Gt){var nr=Gt.static,mr=Gt.dynamic,zr;if(Fe in nr){var Gr=!!nr[Fe];zr=oa(function(fn,sn){return Gr}),zr.enable=Gr}else if(Fe in mr){var Xr=mr[Fe];zr=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}return zr}function _s(Gt,nr){var mr=Gt.static,zr=Gt.dynamic;if(ht in mr){var Gr=mr[ht];return Gr?(Gr=na.getFramebuffer(Gr),oa(function(fn,sn){var Zr=fn.link(Gr),hn=fn.shared;sn.set(hn.framebuffer,".next",Zr);var qr=hn.context;return sn.set(qr,"."+dt,Zr+".width"),sn.set(qr,"."+St,Zr+".height"),Zr})):oa(function(fn,sn){var Zr=fn.shared;sn.set(Zr.framebuffer,".next","null");var hn=Zr.context;return sn.set(hn,"."+dt,hn+"."+sr),sn.set(hn,"."+St,hn+"."+pr),"null"})}else if(ht in zr){var Xr=zr[ht];return _a(Xr,function(fn,sn){var Zr=fn.invoke(sn,Xr),hn=fn.shared,qr=hn.framebuffer,kn=sn.def(qr,".getFramebuffer(",Zr,")");sn.set(qr,".next",kn);var Xn=hn.context;return sn.set(Xn,"."+dt,kn+"?"+kn+".width:"+Xn+"."+sr),sn.set(Xn,"."+St,kn+"?"+kn+".height:"+Xn+"."+pr),kn})}else return null}function Fs(Gt,nr,mr){var zr=Gt.static,Gr=Gt.dynamic;function Xr(Zr){if(Zr in zr){var hn=zr[Zr],qr=!0,kn=hn.x|0,Xn=hn.y|0,vi,Ji;return"width"in hn?vi=hn.width|0:qr=!1,"height"in hn?Ji=hn.height|0:qr=!1,new Hn(!qr&&nr&&nr.thisDep,!qr&&nr&&nr.contextDep,!qr&&nr&&nr.propDep,function(ja,Ea){var $i=ja.shared.context,da=vi;"width"in hn||(da=Ea.def($i,".",dt,"-",kn));var fa=Ji;return"height"in hn||(fa=Ea.def($i,".",St,"-",Xn)),[kn,Xn,da,fa]})}else if(Zr in Gr){var Pi=Gr[Zr],ea=_a(Pi,function(ja,Ea){var $i=ja.invoke(Ea,Pi),da=ja.shared.context,fa=Ea.def($i,".x|0"),za=Ea.def($i,".y|0"),Qa=Ea.def('"width" in ',$i,"?",$i,".width|0:","(",da,".",dt,"-",fa,")"),Cs=Ea.def('"height" in ',$i,"?",$i,".height|0:","(",da,".",St,"-",za,")");return[fa,za,Qa,Cs]});return nr&&(ea.thisDep=ea.thisDep||nr.thisDep,ea.contextDep=ea.contextDep||nr.contextDep,ea.propDep=ea.propDep||nr.propDep),ea}else return nr?new Hn(nr.thisDep,nr.contextDep,nr.propDep,function(ja,Ea){var $i=ja.shared.context;return[0,0,Ea.def($i,".",dt),Ea.def($i,".",St)]}):null}var fn=Xr(Ae);if(fn){var sn=fn;fn=new Hn(fn.thisDep,fn.contextDep,fn.propDep,function(Zr,hn){var qr=sn.append(Zr,hn),kn=Zr.shared.context;return hn.set(kn,"."+xt,qr[2]),hn.set(kn,"."+It,qr[3]),qr})}return{viewport:fn,scissor_box:Xr(be)}}function iu(Gt,nr){var mr=Gt.static,zr=typeof mr[zt]=="string"&&typeof mr[wt]=="string";if(zr){if(Object.keys(nr.dynamic).length>0)return null;var Gr=nr.static,Xr=Object.keys(Gr);if(Xr.length>0&&typeof Gr[Xr[0]]=="number"){for(var fn=[],sn=0;sn"+fa+"?"+qr+".constant["+fa+"]:0;"}).join(""),"}}else{","if(",vi,"(",qr,".buffer)){",ja,"=",Ji,".createStream(",Yr,",",qr,".buffer);","}else{",ja,"=",Ji,".getBuffer(",qr,".buffer);","}",Ea,'="type" in ',qr,"?",Xn.glTypes,"[",qr,".type]:",ja,".dtype;",Pi.normalized,"=!!",qr,".normalized;");function $i(da){hn(Pi[da],"=",qr,".",da,"|0;")}return $i("size"),$i("offset"),$i("stride"),$i("divisor"),hn("}}"),hn.exit("if(",Pi.isStream,"){",Ji,".destroyStream(",ja,");","}"),Pi}Gr[Xr]=_a(fn,sn)}),Gr}function mc(Gt){var nr=Gt.static,mr=Gt.dynamic,zr={};return Object.keys(nr).forEach(function(Gr){var Xr=nr[Gr];zr[Gr]=oa(function(fn,sn){return typeof Xr=="number"||typeof Xr=="boolean"?""+Xr:fn.link(Xr)})}),Object.keys(mr).forEach(function(Gr){var Xr=mr[Gr];zr[Gr]=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}),zr}function Jc(Gt,nr,mr,zr,Gr){var Xr=Gt.static,fn=Gt.dynamic,sn=iu(Gt,nr),Zr=_s(Gt,Gr),hn=Fs(Gt,Zr,Gr),qr=rl(Gt,Gr),kn=Bc(Gt,Gr),Xn=Oc(Gt,Gr,sn);function vi($i){var da=hn[$i];da&&(kn[$i]=da)}vi(Ae),vi(Ja(be));var Ji=Object.keys(kn).length>0,Pi={framebuffer:Zr,draw:qr,shader:Xn,state:kn,dirty:Ji,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Pi.profile=ss(Gt,Gr),Pi.uniforms=ql(mr,Gr),Pi.drawVAO=Pi.scopeVAO=qr.vao,!Pi.drawVAO&&Xn.program&&!sn&&Ln.angle_instanced_arrays&&qr.static.elements){var ea=!0,ja=Xn.program.attributes.map(function($i){var da=nr.static[$i];return ea=ea&&!!da,da});if(ea&&ja.length>0){var Ea=ka.getVAO(ka.createVAO({attributes:ja,elements:qr.static.elements}));Pi.drawVAO=new Hn(null,null,null,function($i,da){return $i.link(Ea)}),Pi.useVAO=!0}}return sn?Pi.useVAO=!0:Pi.attributes=pc(nr,Gr),Pi.context=mc(zr,Gr),Pi}function tu(Gt,nr,mr){var zr=Gt.shared,Gr=zr.context,Xr=Gt.scope();Object.keys(mr).forEach(function(fn){nr.save(Gr,"."+fn);var sn=mr[fn],Zr=sn.append(Gt,nr);Array.isArray(Zr)?Xr(Gr,".",fn,"=[",Zr.join(),"];"):Xr(Gr,".",fn,"=",Zr,";")}),nr(Xr)}function Ac(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gr.gl,fn=Gr.framebuffer,sn;ca&&(sn=nr.def(Gr.extensions,".webgl_draw_buffers"));var Zr=Gt.constants,hn=Zr.drawBuffer,qr=Zr.backBuffer,kn;mr?kn=mr.append(Gt,nr):kn=nr.def(fn,".next"),zr||nr("if(",kn,"!==",fn,".cur){"),nr("if(",kn,"){",Xr,".bindFramebuffer(",yn,",",kn,".framebuffer);"),ca&&nr(sn,".drawBuffersWEBGL(",hn,"[",kn,".colorAttachments.length]);"),nr("}else{",Xr,".bindFramebuffer(",yn,",null);"),ca&&nr(sn,".drawBuffersWEBGL(",qr,");"),nr("}",fn,".cur=",kn,";"),zr||nr("}")}function Nc(Gt,nr,mr){var zr=Gt.shared,Gr=zr.gl,Xr=Gt.current,fn=Gt.next,sn=zr.current,Zr=zr.next,hn=Gt.cond(sn,".dirty");va.forEach(function(qr){var kn=Ja(qr);if(!(kn in mr.state)){var Xn,vi;if(kn in fn){Xn=fn[kn],vi=Xr[kn];var Ji=v(Ba[kn].length,function(ea){return hn.def(Xn,"[",ea,"]")});hn(Gt.cond(Ji.map(function(ea,ja){return ea+"!=="+vi+"["+ja+"]"}).join("||")).then(Gr,".",fo[kn],"(",Ji,");",Ji.map(function(ea,ja){return vi+"["+ja+"]="+ea}).join(";"),";"))}else{Xn=hn.def(Zr,".",kn);var Pi=Gt.cond(Xn,"!==",sn,".",kn);hn(Pi),kn in sa?Pi(Gt.cond(Xn).then(Gr,".enable(",sa[kn],");").else(Gr,".disable(",sa[kn],");"),sn,".",kn,"=",Xn,";"):Pi(Gr,".",fo[kn],"(",Xn,");",sn,".",kn,"=",Xn,";")}}}),Object.keys(mr.state).length===0&&hn(sn,".dirty=false;"),nr(hn)}function Hs(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gt.current,fn=Gr.current,sn=Gr.gl,Zr;oi(Object.keys(mr)).forEach(function(hn){var qr=mr[hn];if(!(zr&&!zr(qr))){var kn=qr.append(Gt,nr);if(sa[hn]){var Xn=sa[hn];ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(Gt.cond(Zr).then(sn,".enable(",Xn,");").else(sn,".disable(",Xn,");")),nr(fn,".",hn,"=",Zr,";")):(nr(Gt.cond(kn).then(sn,".enable(",Xn,");").else(sn,".disable(",Xn,");")),nr(fn,".",hn,"=",kn,";"))}else if(Bn(kn)){var vi=Xr[hn];nr(sn,".",fo[hn],"(",kn,");",kn.map(function(Ji,Pi){return vi+"["+Pi+"]="+Ji}).join(";"),";")}else ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(sn,".",fo[hn],"(",Zr,");",fn,".",hn,"=",Zr,";")):nr(sn,".",fo[hn],"(",kn,");",fn,".",hn,"=",kn,";")}})}function $c(Gt,nr){Pa&&(Gt.instancing=nr.def(Gt.shared.extensions,".angle_instanced_arrays"))}function Us(Gt,nr,mr,zr,Gr){var Xr=Gt.shared,fn=Gt.stats,sn=Xr.current,Zr=Xr.timer,hn=mr.profile;function qr(){return typeof performance>"u"?"Date.now()":"performance.now()"}var kn,Xn;function vi($i){kn=nr.def(),$i(kn,"=",qr(),";"),typeof Gr=="string"?$i(fn,".count+=",Gr,";"):$i(fn,".count++;"),Ma&&(zr?(Xn=nr.def(),$i(Xn,"=",Zr,".getNumPendingQueries();")):$i(Zr,".beginQuery(",fn,");"))}function Ji($i){$i(fn,".cpuTime+=",qr(),"-",kn,";"),Ma&&(zr?$i(Zr,".pushScopeStats(",Xn,",",Zr,".getNumPendingQueries(),",fn,");"):$i(Zr,".endQuery();"))}function Pi($i){var da=nr.def(sn,".profile");nr(sn,".profile=",$i,";"),nr.exit(sn,".profile=",da,";")}var ea;if(hn){if(ta(hn)){hn.enable?(vi(nr),Ji(nr.exit),Pi("true")):Pi("false");return}ea=hn.append(Gt,nr),Pi(ea)}else ea=nr.def(sn,".profile");var ja=Gt.block();vi(ja),nr("if(",ea,"){",ja,"}");var Ea=Gt.block();Ji(Ea),nr.exit("if(",ea,"){",Ea,"}")}function ve(Gt,nr,mr,zr,Gr){var Xr=Gt.shared;function fn(Zr){switch(Zr){case vs:case fl:case Nl:return 2;case Fo:case al:case eu:return 3;case ts:case os:case Xu:return 4;default:return 1}}function sn(Zr,hn,qr){var kn=Xr.gl,Xn=nr.def(Zr,".location"),vi=nr.def(Xr.attributes,"[",Xn,"]"),Ji=qr.state,Pi=qr.buffer,ea=[qr.x,qr.y,qr.z,qr.w],ja=["buffer","normalized","offset","stride"];function Ea(){nr("if(!",vi,".buffer){",kn,".enableVertexAttribArray(",Xn,");}");var da=qr.type,fa;if(qr.size?fa=nr.def(qr.size,"||",hn):fa=hn,nr("if(",vi,".type!==",da,"||",vi,".size!==",fa,"||",ja.map(function(Qa){return vi+"."+Qa+"!=="+qr[Qa]}).join("||"),"){",kn,".bindBuffer(",Yr,",",Pi,".buffer);",kn,".vertexAttribPointer(",[Xn,fa,da,qr.normalized,qr.stride,qr.offset],");",vi,".type=",da,";",vi,".size=",fa,";",ja.map(function(Qa){return vi+"."+Qa+"="+qr[Qa]+";"}).join(""),"}"),Pa){var za=qr.divisor;nr("if(",vi,".divisor!==",za,"){",Gt.instancing,".vertexAttribDivisorANGLE(",[Xn,za],");",vi,".divisor=",za,";}")}}function $i(){nr("if(",vi,".buffer){",kn,".disableVertexAttribArray(",Xn,");",vi,".buffer=null;","}if(",po.map(function(da,fa){return vi+"."+da+"!=="+ea[fa]}).join("||"),"){",kn,".vertexAttrib4f(",Xn,",",ea,");",po.map(function(da,fa){return vi+"."+da+"="+ea[fa]+";"}).join(""),"}")}Ji===mo?Ea():Ji===Ao?$i():(nr("if(",Ji,"===",mo,"){"),Ea(),nr("}else{"),$i(),nr("}"))}zr.forEach(function(Zr){var hn=Zr.name,qr=mr.attributes[hn],kn;if(qr){if(!Gr(qr))return;kn=qr.append(Gt,nr)}else{if(!Gr(La))return;var Xn=Gt.scopeAttrib(hn);kn={},Object.keys(new qi).forEach(function(vi){kn[vi]=nr.def(Xn,".",vi)})}sn(Gt.link(Zr),fn(Zr.info.type),kn)})}function K(Gt,nr,mr,zr,Gr,Xr){for(var fn=Gt.shared,sn=fn.gl,Zr,hn=0;hn1){for(var ws=[],$s=[],rs=0;rs>1)",Pi],");")}function za(){mr(ea,".drawArraysInstancedANGLE(",[Xn,vi,Ji,Pi],");")}qr&&qr!=="null"?Ea?fa():(mr("if(",qr,"){"),fa(),mr("}else{"),za(),mr("}")):za()}function da(){function fa(){mr(Xr+".drawElements("+[Xn,Ji,ja,vi+"<<(("+ja+"-"+co+")>>1)"]+");")}function za(){mr(Xr+".drawArrays("+[Xn,vi,Ji]+");")}qr&&qr!=="null"?Ea?fa():(mr("if(",qr,"){"),fa(),mr("}else{"),za(),mr("}")):za()}Pa&&(typeof Pi!="number"||Pi>=0)?typeof Pi=="string"?(mr("if(",Pi,">0){"),$i(),mr("}else if(",Pi,"<0){"),da(),mr("}")):$i():da()}function te(Gt,nr,mr,zr,Gr){var Xr=Mo(),fn=Xr.proc("body",Gr);return Pa&&(Xr.instancing=fn.def(Xr.shared.extensions,".angle_instanced_arrays")),Gt(Xr,fn,mr,zr),Xr.compile().body}function ye(Gt,nr,mr,zr){$c(Gt,nr),mr.useVAO?mr.drawVAO?nr(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,nr),");"):nr(Gt.shared.vao,".setVAO(",Gt.shared.vao,".targetVAO);"):(nr(Gt.shared.vao,".setVAO(null);"),ve(Gt,nr,mr,zr.attributes,function(){return!0})),K(Gt,nr,mr,zr.uniforms,function(){return!0},!1),me(Gt,nr,nr,mr)}function Ze(Gt,nr){var mr=Gt.proc("draw",1);$c(Gt,mr),tu(Gt,mr,nr.context),Ac(Gt,mr,nr.framebuffer),Nc(Gt,mr,nr),Hs(Gt,mr,nr.state),Us(Gt,mr,nr,!1,!0);var zr=nr.shader.progVar.append(Gt,mr);if(mr(Gt.shared.gl,".useProgram(",zr,".program);"),nr.shader.program)ye(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,".setVAO(null);");var Gr=Gt.global.def("{}"),Xr=mr.def(zr,".id"),fn=mr.def(Gr,"[",Xr,"]");mr(Gt.cond(fn).then(fn,".call(this,a0);").else(fn,"=",Gr,"[",Xr,"]=",Gt.link(function(sn){return te(ye,Gt,nr,sn,1)}),"(",zr,");",fn,".call(this,a0);"))}Object.keys(nr.state).length>0&&mr(Gt.shared.current,".dirty=true;"),Gt.shared.vao&&mr(Gt.shared.vao,".setVAO(null);")}function We(Gt,nr,mr,zr){Gt.batchId="a1",$c(Gt,nr);function Gr(){return!0}ve(Gt,nr,mr,zr.attributes,Gr),K(Gt,nr,mr,zr.uniforms,Gr,!1),me(Gt,nr,nr,mr)}function lt(Gt,nr,mr,zr){$c(Gt,nr);var Gr=mr.contextDep,Xr=nr.def(),fn="a0",sn="a1",Zr=nr.def();Gt.shared.props=Zr,Gt.batchId=Xr;var hn=Gt.scope(),qr=Gt.scope();nr(hn.entry,"for(",Xr,"=0;",Xr,"<",sn,";++",Xr,"){",Zr,"=",fn,"[",Xr,"];",qr,"}",hn.exit);function kn(ja){return ja.contextDep&&Gr||ja.propDep}function Xn(ja){return!kn(ja)}if(mr.needsContext&&tu(Gt,qr,mr.context),mr.needsFramebuffer&&Ac(Gt,qr,mr.framebuffer),Hs(Gt,qr,mr.state,kn),mr.profile&&kn(mr.profile)&&Us(Gt,qr,mr,!1,!0),zr)mr.useVAO?mr.drawVAO?kn(mr.drawVAO)?qr(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,qr),");"):hn(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,hn),");"):hn(Gt.shared.vao,".setVAO(",Gt.shared.vao,".targetVAO);"):(hn(Gt.shared.vao,".setVAO(null);"),ve(Gt,hn,mr,zr.attributes,Xn),ve(Gt,qr,mr,zr.attributes,kn)),K(Gt,hn,mr,zr.uniforms,Xn,!1),K(Gt,qr,mr,zr.uniforms,kn,!0),me(Gt,hn,qr,mr);else{var vi=Gt.global.def("{}"),Ji=mr.shader.progVar.append(Gt,qr),Pi=qr.def(Ji,".id"),ea=qr.def(vi,"[",Pi,"]");qr(Gt.shared.gl,".useProgram(",Ji,".program);","if(!",ea,"){",ea,"=",vi,"[",Pi,"]=",Gt.link(function(ja){return te(We,Gt,mr,ja,2)}),"(",Ji,");}",ea,".call(this,a0[",Xr,"],",Xr,");")}}function Ct(Gt,nr){var mr=Gt.proc("batch",2);Gt.batchId="0",$c(Gt,mr);var zr=!1,Gr=!0;Object.keys(nr.context).forEach(function(vi){zr=zr||nr.context[vi].propDep}),zr||(tu(Gt,mr,nr.context),Gr=!1);var Xr=nr.framebuffer,fn=!1;Xr?(Xr.propDep?zr=fn=!0:Xr.contextDep&&zr&&(fn=!0),fn||Ac(Gt,mr,Xr)):Ac(Gt,mr,null),nr.state.viewport&&nr.state.viewport.propDep&&(zr=!0);function sn(vi){return vi.contextDep&&zr||vi.propDep}Nc(Gt,mr,nr),Hs(Gt,mr,nr.state,function(vi){return!sn(vi)}),(!nr.profile||!sn(nr.profile))&&Us(Gt,mr,nr,!1,"a1"),nr.contextDep=zr,nr.needsContext=Gr,nr.needsFramebuffer=fn;var Zr=nr.shader.progVar;if(Zr.contextDep&&zr||Zr.propDep)lt(Gt,mr,nr,null);else{var hn=Zr.append(Gt,mr);if(mr(Gt.shared.gl,".useProgram(",hn,".program);"),nr.shader.program)lt(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,".setVAO(null);");var qr=Gt.global.def("{}"),kn=mr.def(hn,".id"),Xn=mr.def(qr,"[",kn,"]");mr(Gt.cond(Xn).then(Xn,".call(this,a0,a1);").else(Xn,"=",qr,"[",kn,"]=",Gt.link(function(vi){return te(lt,Gt,nr,vi,2)}),"(",hn,");",Xn,".call(this,a0,a1);"))}}Object.keys(nr.state).length>0&&mr(Gt.shared.current,".dirty=true;"),Gt.shared.vao&&mr(Gt.shared.vao,".setVAO(null);")}function Wt(Gt,nr){var mr=Gt.proc("scope",3);Gt.batchId="a2";var zr=Gt.shared,Gr=zr.current;if(tu(Gt,mr,nr.context),nr.framebuffer&&nr.framebuffer.append(Gt,mr),oi(Object.keys(nr.state)).forEach(function(sn){var Zr=nr.state[sn],hn=Zr.append(Gt,mr);Bn(hn)?hn.forEach(function(qr,kn){ao(qr)?mr.set(Gt.next[sn],"["+kn+"]",qr):mr.set(Gt.next[sn],"["+kn+"]",Gt.link(qr,{stable:!0}))}):ta(Zr)?mr.set(zr.next,"."+sn,Gt.link(hn,{stable:!0})):mr.set(zr.next,"."+sn,hn)}),Us(Gt,mr,nr,!0,!0),[Jt,Hr,vr,ln,hr].forEach(function(sn){var Zr=nr.draw[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.draw,"."+sn,hn):mr.set(zr.draw,"."+sn,Gt.link(hn),{stable:!0})}}),Object.keys(nr.uniforms).forEach(function(sn){var Zr=nr.uniforms[sn].append(Gt,mr);Array.isArray(Zr)&&(Zr="["+Zr.map(function(hn){return ao(hn)?hn:Gt.link(hn,{stable:!0})})+"]"),mr.set(zr.uniforms,"["+Gt.link(cn.id(sn),{stable:!0})+"]",Zr)}),Object.keys(nr.attributes).forEach(function(sn){var Zr=nr.attributes[sn].append(Gt,mr),hn=Gt.scopeAttrib(sn);Object.keys(new qi).forEach(function(qr){mr.set(hn,"."+qr,Zr[qr])})}),nr.scopeVAO){var Xr=nr.scopeVAO.append(Gt,mr);ao(Xr)?mr.set(zr.vao,".targetVAO",Xr):mr.set(zr.vao,".targetVAO",Gt.link(Xr,{stable:!0}))}function fn(sn){var Zr=nr.shader[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.shader,"."+sn,hn):mr.set(zr.shader,"."+sn,Gt.link(hn,{stable:!0}))}}fn(wt),fn(zt),Object.keys(nr.state).length>0&&(mr(Gr,".dirty=true;"),mr.exit(Gr,".dirty=true;")),mr("a1(",Gt.shared.context,",a0,",Gt.batchId,");")}function xr(Gt){if(!(typeof Gt!="object"||Bn(Gt))){for(var nr=Object.keys(Gt),mr=0;mr=0;--te){var ye=Zo[te];ye&&ye(ia,null,0)}Ln.flush(),ha&&ha.update()}function Fs(){!ss&&Zo.length>0&&(ss=h.next(_s))}function iu(){ss&&(h.cancel(_s),ss=null)}function Oc(te){te.preventDefault(),Ni=!0,iu(),ps.forEach(function(ye){ye()})}function rl(te){Ln.getError(),Ni=!1,Fi.restore(),Oo.restore(),Pa.restore(),va.restore(),sa.restore(),fo.restore(),$a.restore(),ha&&ha.restore(),Ja.procs.refresh(),Fs(),Na.forEach(function(ye){ye()})}ao&&(ao.addEventListener(ys,Oc,!1),ao.addEventListener(Ms,rl,!1));function Bc(){Zo.length=0,iu(),ao&&(ao.removeEventListener(ys,Oc),ao.removeEventListener(Ms,rl)),Oo.clear(),fo.clear(),sa.clear(),$a.clear(),va.clear(),ca.clear(),Pa.clear(),ha&&ha.clear(),Mo.forEach(function(te){te()})}function ql(te){function ye(Xr){var fn=g({},Xr);delete fn.uniforms,delete fn.attributes,delete fn.context,delete fn.vao,"stencil"in fn&&fn.stencil.op&&(fn.stencil.opBack=fn.stencil.opFront=fn.stencil.op,delete fn.stencil.op);function sn(Zr){if(Zr in fn){var hn=fn[Zr];delete fn[Zr],Object.keys(hn).forEach(function(qr){fn[Zr+"."+qr]=hn[qr]})}}return sn("blend"),sn("depth"),sn("cull"),sn("stencil"),sn("polygonOffset"),sn("scissor"),sn("sample"),"vao"in Xr&&(fn.vao=Xr.vao),fn}function Ze(Xr,fn){var sn={},Zr={};return Object.keys(Xr).forEach(function(hn){var qr=Xr[hn];if(c.isDynamic(qr)){Zr[hn]=c.unbox(qr,hn);return}else if(fn&&Array.isArray(qr)){for(var kn=0;kn0)return Gt.call(this,zr(Xr|0),Xr|0)}else if(Array.isArray(Xr)){if(Xr.length)return Gt.call(this,Xr,Xr.length)}else return Ar.call(this,Xr)}return g(Gr,{stats:xr,destroy:function(){Fr.destroy()}})}var pc=fo.setFBO=ql({framebuffer:c.define.call(null,xl,"framebuffer")});function mc(te,ye){var Ze=0;Ja.procs.poll();var We=ye.color;We&&(Ln.clearColor(+We[0]||0,+We[1]||0,+We[2]||0,+We[3]||0),Ze|=tl),"depth"in ye&&(Ln.clearDepth(+ye.depth),Ze|=ml),"stencil"in ye&&(Ln.clearStencil(ye.stencil|0),Ze|=ua),Ln.clear(Ze)}function Jc(te){if("framebuffer"in te)if(te.framebuffer&&te.framebuffer_reglType==="framebufferCube")for(var ye=0;ye<6;++ye)pc(g({framebuffer:te.framebuffer.faces[ye]},te),mc);else pc(te,mc);else mc(null,te)}function tu(te){Zo.push(te);function ye(){var Ze=Fl(Zo,te);function We(){var lt=Fl(Zo,We);Zo[lt]=Zo[Zo.length-1],Zo.length-=1,Zo.length<=0&&iu()}Zo[Ze]=We}return Fs(),{cancel:ye}}function Ac(){var te=Ia.viewport,ye=Ia.scissor_box;te[0]=te[1]=ye[0]=ye[1]=0,ia.viewportWidth=ia.framebufferWidth=ia.drawingBufferWidth=te[2]=ye[2]=Ln.drawingBufferWidth,ia.viewportHeight=ia.framebufferHeight=ia.drawingBufferHeight=te[3]=ye[3]=Ln.drawingBufferHeight}function Nc(){ia.tick+=1,ia.time=$c(),Ac(),Ja.procs.poll()}function Hs(){va.refresh(),Ac(),Ja.procs.refresh(),ha&&ha.update()}function $c(){return(p()-Xo)/1e3}Hs();function Us(te,ye){var Ze;switch(te){case"frame":return tu(ye);case"lost":Ze=ps;break;case"restore":Ze=Na;break;case"destroy":Ze=Mo;break;default:}return Ze.push(ye),{cancel:function(){for(var We=0;We=0},read:Fa,destroy:Bc,_gl:Ln,_refresh:Hs,poll:function(){Nc(),ha&&ha.update()},now:$c,stats:na,getCachedCode:ve,preloadCachedCode:K});return cn.onDone(null,me),me}return vc})}}),GR=ke({"node_modules/gl-util/context.js"(Z,H){"use strict";var g=Rv();H.exports=function(o){if(o?typeof o=="string"&&(o={container:o}):o={},A(o)?o={container:o}:S(o)?o={container:o}:e(o)?o={gl:o}:o=g(o,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),o.pixelRatio||(o.pixelRatio=window.pixelRatio||1),o.gl)return o.gl;if(o.canvas&&(o.container=o.canvas.parentNode),o.container){if(typeof o.container=="string"){var n=document.querySelector(o.container);if(!n)throw Error("Element "+o.container+" is not found");o.container=n}A(o.container)?(o.canvas=o.container,o.container=o.canvas.parentNode):o.canvas||(o.canvas=t(),o.container.appendChild(o.canvas),x(o))}else if(!o.canvas)if(typeof document<"u")o.container=document.body||document.documentElement,o.canvas=t(),o.container.appendChild(o.canvas),x(o);else throw Error("Not DOM environment. Use headless-gl.");return o.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(i){try{o.gl=o.canvas.getContext(i,o.attrs)}catch{}return o.gl}),o.gl};function x(r){if(r.container)if(r.container==document.body)document.body.style.width||(r.canvas.width=r.width||r.pixelRatio*window.innerWidth),document.body.style.height||(r.canvas.height=r.height||r.pixelRatio*window.innerHeight);else{var o=r.container.getBoundingClientRect();r.canvas.width=r.width||o.right-o.left,r.canvas.height=r.height||o.bottom-o.top}}function A(r){return typeof r.getContext=="function"&&"width"in r&&"height"in r}function S(r){return typeof r.nodeName=="string"&&typeof r.appendChild=="function"&&typeof r.getBoundingClientRect=="function"}function e(r){return typeof r.drawArrays=="function"||typeof r.drawElements=="function"}function t(){var r=document.createElement("canvas");return r.style.position="absolute",r.style.top=0,r.style.left=0,r}}}),WR=ke({"node_modules/font-atlas/index.js"(Z,H){"use strict";var g=GA(),x=[32,126];H.exports=A;function A(S){S=S||{};var e=S.shape?S.shape:S.canvas?[S.canvas.width,S.canvas.height]:[512,512],t=S.canvas||document.createElement("canvas"),r=S.font,o=typeof S.step=="number"?[S.step,S.step]:S.step||[32,32],n=S.chars||x;if(r&&typeof r!="string"&&(r=g(r)),!Array.isArray(n))n=String(n).split("");else if(n.length===2&&typeof n[0]=="number"&&typeof n[1]=="number"){for(var i=[],a=n[0],s=0;a<=n[1];a++)i[s++]=String.fromCharCode(a);n=i}e=e.slice(),t.width=e[0],t.height=e[1];var c=t.getContext("2d");c.fillStyle="#000",c.fillRect(0,0,t.width,t.height),c.font=r,c.textAlign="center",c.textBaseline="middle",c.fillStyle="#fff";for(var h=o[0]/2,p=o[1]/2,a=0;ae[0]-o[0]/2&&(h=o[0]/2,p+=o[1]);return t}}}),XA=ke({"node_modules/bit-twiddle/twiddle.js"(Z){"use strict";"use restrict";var H=32;Z.INT_BITS=H,Z.INT_MAX=2147483647,Z.INT_MIN=-1<0)-(A<0)},Z.abs=function(A){var S=A>>H-1;return(A^S)-S},Z.min=function(A,S){return S^(A^S)&-(A65535)<<4,A>>>=S,e=(A>255)<<3,A>>>=e,S|=e,e=(A>15)<<2,A>>>=e,S|=e,e=(A>3)<<1,A>>>=e,S|=e,S|A>>1},Z.log10=function(A){return A>=1e9?9:A>=1e8?8:A>=1e7?7:A>=1e6?6:A>=1e5?5:A>=1e4?4:A>=1e3?3:A>=100?2:A>=10?1:0},Z.popCount=function(A){return A=A-(A>>>1&1431655765),A=(A&858993459)+(A>>>2&858993459),(A+(A>>>4)&252645135)*16843009>>>24};function g(A){var S=32;return A&=-A,A&&S--,A&65535&&(S-=16),A&16711935&&(S-=8),A&252645135&&(S-=4),A&858993459&&(S-=2),A&1431655765&&(S-=1),S}Z.countTrailingZeros=g,Z.nextPow2=function(A){return A+=A===0,--A,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A+1},Z.prevPow2=function(A){return A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A-(A>>>1)},Z.parity=function(A){return A^=A>>>16,A^=A>>>8,A^=A>>>4,A&=15,27030>>>A&1};var x=new Array(256);(function(A){for(var S=0;S<256;++S){var e=S,t=S,r=7;for(e>>>=1;e;e>>>=1)t<<=1,t|=e&1,--r;A[S]=t<>>8&255]<<16|x[A>>>16&255]<<8|x[A>>>24&255]},Z.interleave2=function(A,S){return A&=65535,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,S&=65535,S=(S|S<<8)&16711935,S=(S|S<<4)&252645135,S=(S|S<<2)&858993459,S=(S|S<<1)&1431655765,A|S<<1},Z.deinterleave2=function(A,S){return A=A>>>S&1431655765,A=(A|A>>>1)&858993459,A=(A|A>>>2)&252645135,A=(A|A>>>4)&16711935,A=(A|A>>>16)&65535,A<<16>>16},Z.interleave3=function(A,S,e){return A&=1023,A=(A|A<<16)&4278190335,A=(A|A<<8)&251719695,A=(A|A<<4)&3272356035,A=(A|A<<2)&1227133513,S&=1023,S=(S|S<<16)&4278190335,S=(S|S<<8)&251719695,S=(S|S<<4)&3272356035,S=(S|S<<2)&1227133513,A|=S<<1,e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,A|e<<2},Z.deinterleave3=function(A,S){return A=A>>>S&1227133513,A=(A|A>>>2)&3272356035,A=(A|A>>>4)&251719695,A=(A|A>>>8)&4278190335,A=(A|A>>>16)&1023,A<<22>>22},Z.nextCombination=function(A){var S=A|A-1;return S+1|(~S&-~S)-1>>>g(A)+1}}}),XR=ke({"node_modules/dup/dup.js"(Z,H){"use strict";function g(S,e,t){var r=S[t]|0;if(r<=0)return[];var o=new Array(r),n;if(t===S.length-1)for(n=0;n"u"&&(e=0),typeof S){case"number":if(S>0)return x(S|0,e);break;case"object":if(typeof S.length=="number")return g(S,e,0);break}return[]}H.exports=A}}),ZR=ke({"node_modules/typedarray-pool/pool.js"(Z){"use strict";var H=XA(),g=XR(),x=Nm().Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var A=typeof Uint8ClampedArray<"u",S=typeof BigUint64Array<"u",e=typeof BigInt64Array<"u",t=window.__TYPEDARRAY_POOL;t.UINT8C||(t.UINT8C=g([32,0])),t.BIGUINT64||(t.BIGUINT64=g([32,0])),t.BIGINT64||(t.BIGINT64=g([32,0])),t.BUFFER||(t.BUFFER=g([32,0]));var r=t.DATA,o=t.BUFFER;Z.free=function(u){if(x.isBuffer(u))o[H.log2(u.length)].push(u);else{if(Object.prototype.toString.call(u)!=="[object ArrayBuffer]"&&(u=u.buffer),!u)return;var y=u.length||u.byteLength,f=H.log2(y)|0;r[f].push(u)}};function n(v){if(v){var u=v.length||v.byteLength,y=H.log2(u);r[y].push(v)}}function i(v){n(v.buffer)}Z.freeUint8=Z.freeUint16=Z.freeUint32=Z.freeBigUint64=Z.freeInt8=Z.freeInt16=Z.freeInt32=Z.freeBigInt64=Z.freeFloat32=Z.freeFloat=Z.freeFloat64=Z.freeDouble=Z.freeUint8Clamped=Z.freeDataView=i,Z.freeArrayBuffer=n,Z.freeBuffer=function(u){o[H.log2(u.length)].push(u)},Z.malloc=function(u,y){if(y===void 0||y==="arraybuffer")return a(u);switch(y){case"uint8":return s(u);case"uint16":return c(u);case"uint32":return h(u);case"int8":return p(u);case"int16":return d(u);case"int32":return T(u);case"float":case"float32":return l(u);case"double":case"float64":return _(u);case"uint8_clamped":return w(u);case"bigint64":return E(u);case"biguint64":return M(u);case"buffer":return b(u);case"data":case"dataview":return m(u);default:return null}return null};function a(u){var u=H.nextPow2(u),y=H.log2(u),f=r[y];return f.length>0?f.pop():new ArrayBuffer(u)}Z.mallocArrayBuffer=a;function s(v){return new Uint8Array(a(v),0,v)}Z.mallocUint8=s;function c(v){return new Uint16Array(a(2*v),0,v)}Z.mallocUint16=c;function h(v){return new Uint32Array(a(4*v),0,v)}Z.mallocUint32=h;function p(v){return new Int8Array(a(v),0,v)}Z.mallocInt8=p;function d(v){return new Int16Array(a(2*v),0,v)}Z.mallocInt16=d;function T(v){return new Int32Array(a(4*v),0,v)}Z.mallocInt32=T;function l(v){return new Float32Array(a(4*v),0,v)}Z.mallocFloat32=Z.mallocFloat=l;function _(v){return new Float64Array(a(8*v),0,v)}Z.mallocFloat64=Z.mallocDouble=_;function w(v){return A?new Uint8ClampedArray(a(v),0,v):s(v)}Z.mallocUint8Clamped=w;function M(v){return S?new BigUint64Array(a(8*v),0,v):null}Z.mallocBigUint64=M;function E(v){return e?new BigInt64Array(a(8*v),0,v):null}Z.mallocBigInt64=E;function m(v){return new DataView(a(v),0,v)}Z.mallocDataView=m;function b(v){v=H.nextPow2(v);var u=H.log2(v),y=o[u];return y.length>0?y.pop():new x(v)}Z.mallocBuffer=b,Z.clearCache=function(){for(var u=0;u<32;++u)t.UINT8[u].length=0,t.UINT16[u].length=0,t.UINT32[u].length=0,t.INT8[u].length=0,t.INT16[u].length=0,t.INT32[u].length=0,t.FLOAT[u].length=0,t.DOUBLE[u].length=0,t.BIGUINT64[u].length=0,t.BIGINT64[u].length=0,t.UINT8C[u].length=0,r[u].length=0,o[u].length=0}}}),YR=ke({"node_modules/is-plain-obj/index.js"(Z,H){"use strict";var g=Object.prototype.toString;H.exports=function(x){var A;return g.call(x)==="[object Object]"&&(A=Object.getPrototypeOf(x),A===null||A===Object.getPrototypeOf({}))}}}),ZA=ke({"node_modules/parse-unit/index.js"(Z,H){H.exports=function(x,A){A||(A=[0,""]),x=String(x);var S=parseFloat(x,10);return A[0]=S,A[1]=x.match(/[\d.\-\+]*\s*(.*)/)[1]||"",A}}}),KR=ke({"node_modules/to-px/topx.js"(Z,H){"use strict";var g=ZA();H.exports=e;var x=96;function A(t,r){var o=g(getComputedStyle(t).getPropertyValue(r));return o[0]*e(o[1],t)}function S(t,r){var o=document.createElement("div");o.style["font-size"]="128"+t,r.appendChild(o);var n=A(o,"font-size")/128;return r.removeChild(o),n}function e(t,r){switch(r=r||document.body,t=(t||"px").trim().toLowerCase(),(r===window||r===document)&&(r=document.body),t){case"%":return r.clientHeight/100;case"ch":case"ex":return S(t,r);case"em":return A(r,"font-size");case"rem":return A(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return x;case"cm":return x/2.54;case"mm":return x/25.4;case"pt":return x/72;case"pc":return x/6}return 1}}}),JR=ke({"node_modules/detect-kerning/index.js"(Z,H){"use strict";H.exports=S;var g=S.canvas=document.createElement("canvas"),x=g.getContext("2d"),A=e([32,126]);S.createPairs=e,S.ascii=A;function S(t,r){Array.isArray(t)&&(t=t.join(", "));var o={},n,i=16,a=.05;r&&(r.length===2&&typeof r[0]=="number"?n=e(r):Array.isArray(r)?n=r:(r.o?n=e(r.o):r.pairs&&(n=r.pairs),r.fontSize&&(i=r.fontSize),r.threshold!=null&&(a=r.threshold))),n||(n=A),x.font=i+"px "+t;for(var s=0;si*a){var d=(p-h)/i;o[c]=d*1e3}}return o}function e(t){for(var r=[],o=t[0];o<=t[1];o++)for(var n=String.fromCharCode(o),i=t[0];i0;o-=4)if(r[o]!==0)return Math.floor((o-3)*.25/t)}}}),QR=ke({"node_modules/gl-text/dist.js"(Z,H){"use strict";var g=HR(),x=Rv(),A=WA(),S=GR(),e=OA(),t=Zp(),r=WR(),o=ZR(),n=my(),i=YR(),a=ZA(),s=KR(),c=JR(),h=Rf(),p=$R(),d=Qm(),T=XA(),l=T.nextPow2,_=new e,w=!1;document.body&&(M=document.body.appendChild(document.createElement("div")),M.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(M).fontStretch&&(w=!0),document.body.removeChild(M));var M,E=function(v){m(v)?(v={regl:v},this.gl=v.regl._gl):this.gl=S(v),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=v.regl||A({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(i(v)?v:{})};E.prototype.createShader=function(){var v=this.regl,u=v({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:v.prop("count"),offset:v.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:v.this("sizeBuffer")},width:{offset:0,stride:8,buffer:v.this("sizeBuffer")},char:v.this("charBuffer"),position:v.this("position")},uniforms:{atlasSize:function(f,P){return[P.atlas.width,P.atlas.height]},atlasDim:function(f,P){return[P.atlas.cols,P.atlas.rows]},atlas:function(f,P){return P.atlas.texture},charStep:function(f,P){return P.atlas.step},em:function(f,P){return P.atlas.em},color:v.prop("color"),opacity:v.prop("opacity"),viewport:v.this("viewportArray"),scale:v.this("scale"),align:v.prop("align"),baseline:v.prop("baseline"),translate:v.this("translate"),positionOffset:v.prop("positionOffset")},primitive:"points",viewport:v.this("viewport"),vert:` + precision highp float; + attribute float width, charOffset, char; + attribute vec2 position; + uniform float fontSize, charStep, em, align, baseline; + uniform vec4 viewport; + uniform vec4 color; + uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset; + varying vec2 charCoord, charId; + varying float charWidth; + varying vec4 fontColor; + void main () { + vec2 offset = floor(em * (vec2(align + charOffset, baseline) + + vec2(positionOffset.x, -positionOffset.y))) + / (viewport.zw * scale.xy); + + vec2 position = (position + translate) * scale; + position += offset * scale; + + charCoord = position * viewport.zw + viewport.xy; + + gl_Position = vec4(position * 2. - 1., 0, 1); + + gl_PointSize = charStep; + + charId.x = mod(char, atlasDim.x); + charId.y = floor(char / atlasDim.x); + + charWidth = width * em; + + fontColor = color / 255.; + }`,frag:` + precision highp float; + uniform float fontSize, charStep, opacity; + uniform vec2 atlasSize; + uniform vec4 viewport; + uniform sampler2D atlas; + varying vec4 fontColor; + varying vec2 charCoord, charId; + varying float charWidth; + + float lightness(vec4 color) { + return color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + } + + void main () { + vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5; + float halfCharStep = floor(charStep * .5 + .5); + + // invert y and shift by 1px (FF expecially needs that) + uv.y = charStep - uv.y; + + // ignore points outside of character bounding box + float halfCharWidth = ceil(charWidth * .5); + if (floor(uv.x) > halfCharStep + halfCharWidth || + floor(uv.x) < halfCharStep - halfCharWidth) return; + + uv += charId * charStep; + uv = uv / atlasSize; + + vec4 color = fontColor; + vec4 mask = texture2D(atlas, uv); + + float maskY = lightness(mask); + // float colorY = lightness(color); + color.a *= maskY; + color.a *= opacity; + + // color.a += .1; + + // antialiasing, see yiq color space y-channel formula + // color.rgb += (1. - color.rgb) * (1. - mask.rgb); + + gl_FragColor = color; + }`}),y={};return{regl:v,draw:u,atlas:y}},E.prototype.update=function(v){var u=this;if(typeof v=="string")v={text:v};else if(!v)return;v=x(v,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),v.opacity!=null&&(Array.isArray(v.opacity)?this.opacity=v.opacity.map(function(ue){return parseFloat(ue)}):this.opacity=parseFloat(v.opacity)),v.viewport!=null&&(this.viewport=n(v.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),v.kerning!=null&&(this.kerning=v.kerning),v.offset!=null&&(typeof v.offset=="number"&&(v.offset=[v.offset,0]),this.positionOffset=d(v.offset)),v.direction&&(this.direction=v.direction),v.range&&(this.range=v.range,this.scale=[1/(v.range[2]-v.range[0]),1/(v.range[3]-v.range[1])],this.translate=[-v.range[0],-v.range[1]]),v.scale&&(this.scale=v.scale),v.translate&&(this.translate=v.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!v.font&&(v.font=E.baseFontSize+"px sans-serif");var y=!1,f=!1;if(v.font&&(Array.isArray(v.font)?v.font:[v.font]).forEach(function(ue,Oe){if(typeof ue=="string")try{ue=g.parse(ue)}catch{ue=g.parse(E.baseFontSize+"px "+ue)}else{var rt=ue.style,ot=ue.weight,et=ue.stretch,Lt=ue.variant;ue=g.parse(g.stringify(ue)),rt&&(ue.style=rt),ot&&(ue.weight=ot),et&&(ue.stretch=et),Lt&&(ue.variant=Lt)}var Et=g.stringify({size:E.baseFontSize,family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style}),Bt=a(ue.size),qt=Math.round(Bt[0]*s(Bt[1]));if(qt!==u.fontSize[Oe]&&(f=!0,u.fontSize[Oe]=qt),(!u.font[Oe]||Et!=u.font[Oe].baseString)&&(y=!0,u.font[Oe]=E.fonts[Et],!u.font[Oe])){var fr=ue.family.join(", "),ar=[ue.style];ue.style!=ue.variant&&ar.push(ue.variant),ue.variant!=ue.weight&&ar.push(ue.weight),w&&ue.weight!=ue.stretch&&ar.push(ue.stretch),u.font[Oe]={baseString:Et,family:fr,weight:ue.weight,stretch:ue.stretch,style:ue.style,variant:ue.variant,width:{},kerning:{},metrics:p(fr,{origin:"top",fontSize:E.baseFontSize,fontStyle:ar.join(" ")})},E.fonts[Et]=u.font[Oe]}}),(y||f)&&this.font.forEach(function(ue,Oe){var rt=g.stringify({size:u.fontSize[Oe],family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style});if(u.fontAtlas[Oe]=u.shader.atlas[rt],!u.fontAtlas[Oe]){var ot=ue.metrics;u.shader.atlas[rt]=u.fontAtlas[Oe]={fontString:rt,step:Math.ceil(u.fontSize[Oe]*ot.bottom*.5)*2,em:u.fontSize[Oe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:u.regl.texture()}}v.text==null&&(v.text=u.text)}),typeof v.text=="string"&&v.position&&v.position.length>2){for(var P=Array(v.position.length*.5),L=0;L2){for(var B=!v.position[0].length,O=o.mallocFloat(this.count*2),I=0,N=0;I1?u.align[Oe]:u.align[0]:u.align;if(typeof rt=="number")return rt;switch(rt){case"right":case"end":return-ue;case"center":case"centre":case"middle":return-ue*.5}return 0})),this.baseline==null&&v.baseline==null&&(v.baseline=0),v.baseline!=null&&(this.baseline=v.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ue,Oe){var rt=(u.font[Oe]||u.font[0]).metrics,ot=0;return ot+=rt.bottom*.5,typeof ue=="number"?ot+=ue-rt.baseline:ot+=-rt[ue],ot*=-1,ot})),v.color!=null)if(v.color||(v.color="transparent"),typeof v.color=="string"||!isNaN(v.color))this.color=t(v.color,"uint8");else{var Ue;if(typeof v.color[0]=="number"&&v.color.length>this.counts.length){var Ie=v.color.length;Ue=o.mallocUint8(Ie);for(var Ye=(v.color.subarray||v.color.slice).bind(v.color),it=0;it4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(ut){var Me=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Me);for(var pe=0;pe1?this.counts[pe]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[pe]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(pe*4,pe*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[pe]:this.opacity,baseline:this.baselineOffset[pe]!=null?this.baselineOffset[pe]:this.baselineOffset[0],align:this.align?this.alignOffset[pe]!=null?this.alignOffset[pe]:this.alignOffset[0]:0,atlas:this.fontAtlas[pe]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(pe*2,pe*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},E.prototype.destroy=function(){},E.prototype.kerning=!0,E.prototype.position={constant:new Float32Array(2)},E.prototype.translate=null,E.prototype.scale=null,E.prototype.font=null,E.prototype.text="",E.prototype.positionOffset=[0,0],E.prototype.opacity=1,E.prototype.color=new Uint8Array([0,0,0,255]),E.prototype.alignOffset=[0,0],E.maxAtlasSize=1024,E.atlasCanvas=document.createElement("canvas"),E.atlasContext=E.atlasCanvas.getContext("2d",{alpha:!1}),E.baseFontSize=64,E.fonts={};function m(b){return typeof b=="function"&&b._gl&&b.prop&&b.texture&&b.buffer}H.exports=E}}),fb=ke({"src/lib/prepare_regl.js"(Z,H){"use strict";var g=iA(),x=WA();H.exports=function(S,e,t){var r=S._fullLayout,o=!0;return r._glcanvas.each(function(n){if(n.regl){n.regl.preloadCachedCode(t);return}if(!(n.pick&&!r._has("parcoords"))){try{n.regl=x({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:S._context.plotGlPixelRatio||window.devicePixelRatio,extensions:e||[],cachedCode:t||{}})}catch{o=!1}n.regl||(o=!1),o&&this.addEventListener("webglcontextlost",function(i){S&&S.emit&&S.emit("plotly_webglcontextlost",{event:i,layer:n.key})},!1)}}),o||g({container:r._glcontainer.node()}),o}}}),YA=ke({"src/traces/scattergl/plot.js"(c,H){"use strict";var g=SA(),x=BA(),A=BR(),S=QR(),e=un(),t=cv().selectMode,r=fb(),o=vu(),n=w2(),i=TA().styleTextSelection,a={};function s(h,p,d,T){var l=h._size,_=h.width*T,w=h.height*T,M=l.l*T,E=l.b*T,m=l.r*T,b=l.t*T,v=l.w*T,u=l.h*T;return[M+p.domain[0]*v,E+d.domain[0]*u,_-m-(1-p.domain[1])*v,w-b-(1-d.domain[1])*u]}var c=H.exports=function(p,d,T){if(T.length){var l=p._fullLayout,_=d._scene,w=d.xaxis,M=d.yaxis,E,m;if(_){var b=r(p,["ANGLE_instanced_arrays","OES_element_index_uint"],a);if(!b){_.init();return}var v=_.count,u=l._glcanvas.data()[0].regl;if(n(p,d,T),_.dirty){if((_.line2d||_.error2d)&&!(_.scatter2d||_.fill2d||_.glText)&&u.clear({}),_.error2d===!0&&(_.error2d=A(u)),_.line2d===!0&&(_.line2d=x(u)),_.scatter2d===!0&&(_.scatter2d=g(u)),_.fill2d===!0&&(_.fill2d=x(u)),_.glText===!0)for(_.glText=new Array(v),E=0;E_.glText.length){var y=v-_.glText.length;for(E=0;Eie&&(isNaN(ee[ce])||isNaN(ee[ce+1]));)ce-=2;j.positions=ee.slice(ie,ce+2)}return j}),_.line2d.update(_.lineOptions)),_.error2d){var L=(_.errorXOptions||[]).concat(_.errorYOptions||[]);_.error2d.update(L)}_.scatter2d&&_.scatter2d.update(_.markerOptions),_.fillOrder=e.repeat(null,v),_.fill2d&&(_.fillOptions=_.fillOptions.map(function(j,ee){var ie=T[ee];if(!(!j||!ie||!ie[0]||!ie[0].trace)){var ce=ie[0],xe=ce.trace,Te=ce.t,Ue=_.lineOptions[ee],Ie,Ye,it=[];xe._ownfill&&it.push(ee),xe._nexttrace&&it.push(ee+1),it.length&&(_.fillOrder[ee]=it);var at=[],tt=Ue&&Ue.positions||Te.positions,ut,Me;if(xe.fill==="tozeroy"){for(ut=0;utut&&isNaN(tt[Me+1]);)Me-=2;tt[ut+1]!==0&&(at=[tt[ut],0]),at=at.concat(tt.slice(ut,Me+2)),tt[Me+1]!==0&&(at=at.concat([tt[Me],0]))}else if(xe.fill==="tozerox"){for(ut=0;utut&&isNaN(tt[Me]);)Me-=2;tt[ut]!==0&&(at=[0,tt[ut+1]]),at=at.concat(tt.slice(ut,Me+2)),tt[Me]!==0&&(at=at.concat([0,tt[Me+1]]))}else if(xe.fill==="toself"||xe.fill==="tonext"){for(at=[],Ie=0,j.splitNull=!0,Ye=0;Ye-1;for(E=0;Ew&&d||_i,f;for(y?f=d.sizeAvg||Math.max(d.size,3):f=A(c,p),M=0;M<_.length;M++)w=_[M],E=h[w],m=x.getFromId(s,c._diag[w][0])||{},b=x.getFromId(s,c._diag[w][1])||{},S(s,c,m,b,T[M],T[M],f);var P=o(s,c);return P.matrix||(P.matrix=!0),P.matrixOptions=d,P.selectedOptions=t(s,c,c.selected),P.unselectedOptions=t(s,c,c.unselected),[{x:!1,y:!1,t:{},trace:c}]}}}),aD=ke({"node_modules/performance-now/lib/performance-now.js"(Z,H){(function(){var g,x,A,S,e,t;typeof performance<"u"&&performance!==null&&performance.now?H.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(H.exports=function(){return(g()-e)/1e6},x=process.hrtime,g=function(){var r;return r=x(),r[0]*1e9+r[1]},S=g(),t=process.uptime()*1e9,e=S-t):Date.now?(H.exports=function(){return Date.now()-A},A=Date.now()):(H.exports=function(){return new Date().getTime()-A},A=new Date().getTime())}).call(Z)}}),oD=ke({"node_modules/raf/index.js"(Z,H){var g=aD(),x=window,A=["moz","webkit"],S="AnimationFrame",e=x["request"+S],t=x["cancel"+S]||x["cancelRequest"+S];for(r=0;!e&&r{this.draw(),this.dirty=!0,this.planned=null})):(this.draw(),this.dirty=!0,S(()=>{this.dirty=!1})),this)},o.prototype.update=function(...s){if(!s.length)return;for(let p=0;pf||!d.lower&&y{c[T+_]=p})}this.scatter.draw(...c)}return this},o.prototype.destroy=function(){return this.traces.forEach(s=>{s.buffer&&s.buffer.destroy&&s.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this};function n(s,c,h){let p=s.id!=null?s.id:s,d=c,T=h;return p<<16|(d&255)<<8|T&255}function i(s,c,h){let p,d,T,l,_,w,M,E,m=s[c],b=s[h];return m.length>2?(p=m[0],T=m[2],d=m[1],l=m[3]):m.length?(p=d=m[0],T=l=m[1]):(p=m.x,d=m.y,T=m.x+m.width,l=m.y+m.height),b.length>2?(_=b[0],M=b[2],w=b[1],E=b[3]):b.length?(_=w=b[0],M=E=b[1]):(_=b.x,w=b.y,M=b.x+b.width,E=b.y+b.height),[_,d,M,l]}function a(s){if(typeof s=="number")return[s,s,s,s];if(s.length===2)return[s[0],s[1],s[0],s[1]];{let c=t(s);return[c.x,c.y,c.x+c.width,c.y+c.height]}}}}),uD=ke({"src/traces/splom/plot.js"(Z,H){"use strict";var g=lD(),x=un(),A=qc(),S=cv().selectMode;H.exports=function(r,o,n){if(n.length)for(var i=0;i-1,B=S(d)||!!i.selectedpoints||F,O=!0;if(B){var I=i._length;if(i.selectedpoints){s.selectBatch=i.selectedpoints;var N=i.selectedpoints,U={};for(_=0;_=W[Q][0]&&U<=W[Q][1])return!0;return!1}function c(U){U.attr("x",-g.bar.captureWidth/2).attr("width",g.bar.captureWidth)}function h(U){U.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function p(U){if(!U.brush.filterSpecified)return"0,"+U.height;for(var W=d(U.brush.filter.getConsolidated(),U.height),Q=[0],le,se,fe,G=W.length?W[0][0]:null,$=0;$U[1]+Q||W=.9*U[1]+.1*U[0]?"n":W<=.9*U[0]+.1*U[1]?"s":"ns"}function l(){x.select(document.body).style("cursor",null)}function _(U){U.attr("stroke-dasharray",p)}function w(U,W){var Q=x.select(U).selectAll(".highlight, .highlight-shadow"),le=W?Q.transition().duration(g.bar.snapDuration).each("end",W):Q;_(le)}function M(U,W){var Q=U.brush,le=Q.filterSpecified,se=NaN,fe={},G;if(le){var $=U.height,J=Q.filter.getConsolidated(),X=d(J,$),re=NaN,ae=NaN,j=NaN;for(G=0;G<=X.length;G++){var ee=X[G];if(ee&&ee[0]<=W&&W<=ee[1]){re=G;break}else if(ae=G?G-1:NaN,ee&&ee[0]>W){j=G;break}}if(se=re,isNaN(se)&&(isNaN(ae)||isNaN(j)?se=isNaN(ae)?j:ae:se=W-X[ae][1]=Ue[0]&&Te<=Ue[1]){fe.clickableOrdinalRange=Ue;break}}}return fe}function E(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.unitToPaddedPx.invert(Q),se=W.brush,fe=M(W,Q),G=fe.interval,$=se.svgBrush;if($.wasDragged=!1,$.grabbingBar=fe.region==="ns",$.grabbingBar){var J=G.map(W.unitToPaddedPx);$.grabPoint=Q-J[0]-g.verticalPadding,$.barLength=J[1]-J[0]}$.clickableOrdinalRange=fe.clickableOrdinalRange,$.stayingIntervals=W.multiselect&&se.filterSpecified?se.filter.getConsolidated():[],G&&($.stayingIntervals=$.stayingIntervals.filter(function(X){return X[0]!==G[0]&&X[1]!==G[1]})),$.startExtent=fe.region?G[fe.region==="s"?1:0]:le,W.parent.inBrushDrag=!0,$.brushStartCallback()}function m(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.brush.svgBrush;le.wasDragged=!0,le._dragging=!0,le.grabbingBar?le.newExtent=[Q-le.grabPoint,Q+le.barLength-le.grabPoint].map(W.unitToPaddedPx.invert):le.newExtent=[le.startExtent,W.unitToPaddedPx.invert(Q)].sort(e),W.brush.filterSpecified=!0,le.extent=le.stayingIntervals.concat([le.newExtent]),le.brushCallback(W),w(U.parentNode)}function b(U,W){var Q=W.brush,le=Q.filter,se=Q.svgBrush;se._dragging||(v(U,W),m(U,W),W.brush.svgBrush.wasDragged=!1),se._dragging=!1;var fe=x.event;fe.sourceEvent.stopPropagation();var G=se.grabbingBar;if(se.grabbingBar=!1,se.grabLocation=void 0,W.parent.inBrushDrag=!1,l(),!se.wasDragged){se.wasDragged=void 0,se.clickableOrdinalRange?Q.filterSpecified&&W.multiselect?se.extent.push(se.clickableOrdinalRange):(se.extent=[se.clickableOrdinalRange],Q.filterSpecified=!0):G?(se.extent=se.stayingIntervals,se.extent.length===0&&z(Q)):z(Q),se.brushCallback(W),w(U.parentNode),se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[]);return}var $=function(){le.set(le.getConsolidated())};if(W.ordinal){var J=W.unitTickvals;J[J.length-1]se.newExtent[0];se.extent=se.stayingIntervals.concat(X?[se.newExtent]:[]),se.extent.length||z(Q),se.brushCallback(W),X?w(U.parentNode,$):($(),w(U.parentNode))}else $();se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[])}function v(U,W){var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=M(W,Q),se="crosshair";le.clickableOrdinalRange?se="pointer":le.region&&(se=le.region+"-resize"),x.select(document.body).style("cursor",se)}function u(U){U.on("mousemove",function(W){x.event.preventDefault(),W.parent.inBrushDrag||v(this,W)}).on("mouseleave",function(W){W.parent.inBrushDrag||l()}).call(x.behavior.drag().on("dragstart",function(W){E(this,W)}).on("drag",function(W){m(this,W)}).on("dragend",function(W){b(this,W)}))}function y(U,W){return U[0]-W[0]}function f(U,W,Q){var le=Q._context.staticPlot,se=U.selectAll(".background").data(S);se.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",le?"none":"auto").attr("transform",t(0,g.verticalPadding)),se.call(u).attr("height",function($){return $.height-g.verticalPadding});var fe=U.selectAll(".highlight-shadow").data(S);fe.enter().append("line").classed("highlight-shadow",!0).attr("x",-g.bar.width/2).attr("stroke-width",g.bar.width+g.bar.strokeWidth).attr("stroke",W).attr("opacity",g.bar.strokeOpacity).attr("stroke-linecap","butt"),fe.attr("y1",function($){return $.height}).call(_);var G=U.selectAll(".highlight").data(S);G.enter().append("line").classed("highlight",!0).attr("x",-g.bar.width/2).attr("stroke-width",g.bar.width-g.bar.strokeWidth).attr("stroke",g.bar.fillColor).attr("opacity",g.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function($){return $.height}).call(_)}function P(U,W,Q){var le=U.selectAll("."+g.cn.axisBrush).data(S,A);le.enter().append("g").classed(g.cn.axisBrush,!0),f(le,W,Q)}function L(U){return U.svgBrush.extent.map(function(W){return W.slice()})}function z(U){U.filterSpecified=!1,U.svgBrush.extent=[[-1/0,1/0]]}function F(U){return function(Q){var le=Q.brush,se=L(le),fe=se.slice();le.filter.set(fe),U()}}function B(U){for(var W=U.slice(),Q=[],le,se=W.shift();se;){for(le=se.slice();(se=W.shift())&&se[0]<=le[1];)le[1]=Math.max(le[1],se[1]);Q.push(le)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function O(){var U=[],W,Q;return{set:function(le){U=le.map(function(se){return se.slice().sort(e)}).sort(y),U.length===1&&U[0][0]===-1/0&&U[0][1]===1/0&&(U=[[0,-1]]),W=B(U),Q=U.reduce(function(se,fe){return[Math.min(se[0],fe[0]),Math.max(se[1],fe[1])]},[1/0,-1/0])},get:function(){return U.slice()},getConsolidated:function(){return W},getBounds:function(){return Q}}}function I(U,W,Q,le,se,fe){var G=O();return G.set(Q),{filter:G,filterSpecified:W,svgBrush:{extent:[],brushStartCallback:le,brushCallback:F(se),brushEndCallback:fe}}}function N(U,W){if(Array.isArray(U[0])?(U=U.map(function(le){return le.sort(e)}),W.multiselect?U=B(U.sort(y)):U=[U[0]]):U=[U.sort(e)],W.tickvals){var Q=W.tickvals.slice().sort(e);if(U=U.map(function(le){var se=[a(0,Q,le[0],[]),a(1,Q,le[1],[])];if(se[1]>se[0])return se}).filter(function(le){return le}),!U.length)return}return U.length>1?U:U[0]}H.exports={makeBrush:I,ensureAxisBrush:P,cleanRanges:N}}}),gD=ke({"src/traces/parcoords/defaults.js"(Z,H){"use strict";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=Ho(),r=$A(),o=QA(),n=K0().maxDimensionCount,i=hb();function a(c,h,p,d,T){var l=T("line.color",p);if(x(c,"line")&&g.isArrayOrTypedArray(l)){if(l.length)return T("line.colorscale"),A(c,h,d,T,{prefix:"line.",cLetter:"c"}),l.length;h.line.color=p}return 1/0}function s(c,h,p,d){function T(E,m){return g.coerce(c,h,r.dimensions,E,m)}var l=T("values"),_=T("visible");if(l&&l.length||(_=h.visible=!1),_){T("label"),T("tickvals"),T("ticktext"),T("tickformat");var w=T("range");h._ax={_id:"y",type:"linear",showexponent:"all",exponentformat:"B",range:w},t.setConvert(h._ax,d.layout),T("multiselect");var M=T("constraintrange");M&&(h.constraintrange=o.cleanRanges(M,h))}}H.exports=function(h,p,d,T){function l(m,b){return g.coerce(h,p,r,m,b)}var _=h.dimensions;Array.isArray(_)&&_.length>n&&(g.log("parcoords traces support up to "+n+" dimensions at the moment"),_.splice(n));var w=e(h,p,{name:"dimensions",layout:T,handleItemDefaults:s}),M=a(h,p,d,T,l);S(p,T,l),(!Array.isArray(w)||!w.length)&&(p.visible=!1),i(p,w,"values",M);var E=g.extendFlat({},T.font,{size:Math.round(T.font.size/1.2)});g.coerceFont(l,"labelfont",E),g.coerceFont(l,"tickfont",E,{autoShadowDflt:!0}),g.coerceFont(l,"rangefont",E),l("labelangle"),l("labelside"),l("unselected.line.color"),l("unselected.line.opacity")}}}),yD=ke({"src/traces/parcoords/calc.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray,x=ku(),A=Dv().wrap;H.exports=function(t,r){var o,n;return x.hasColorscale(r,"line")&&g(r.line.color)?(o=r.line.color,n=x.extractOpts(r.line).colorscale,x.calc(t,r,{vals:o,containerStr:"line",cLetter:"c"})):(o=S(r._length),n=[[0,r.line.color],[1,r.line.color]]),A({lineColor:o,cscale:n})};function S(e){for(var t=new Array(e),r=0;r>>16,(Z&65280)>>>8,Z&255],alpha:1};if(typeof Z=="number")return{space:"rgb",values:[Z>>>16,(Z&65280)>>>8,Z&255],alpha:1};if(Z=String(Z).toLowerCase(),db.default[Z])A=db.default[Z].slice(),e="rgb";else if(Z==="transparent")S=0,e="rgb",A=[0,0,0];else if(Z[0]==="#"){var t=Z.slice(1),r=t.length,o=r<=4;S=1,o?(A=[parseInt(t[0]+t[0],16),parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16)],r===4&&(S=parseInt(t[3]+t[3],16)/255)):(A=[parseInt(t[0]+t[1],16),parseInt(t[2]+t[3],16),parseInt(t[4]+t[5],16)],r===8&&(S=parseInt(t[6]+t[7],16)/255)),A[0]||(A[0]=0),A[1]||(A[1]=0),A[2]||(A[2]=0),e="rgb"}else if(x=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(Z)){var n=x[1];e=n.replace(/a$/,"");var i=e==="cmyk"?4:e==="gray"?1:3;A=x[2].trim().split(/\s*[,\/]\s*|\s+/),e==="color"&&(e=A.shift()),A=A.map(function(a,s){if(a[a.length-1]==="%")return a=parseFloat(a)/100,s===3?a:e==="rgb"?a*255:e[0]==="h"||e[0]==="l"&&!s?a*100:e==="lab"?a*125:e==="lch"?s<2?a*150:a*360:e[0]==="o"&&!s?a:e==="oklab"?a*.4:e==="oklch"?s<2?a*.4:a*360:a;if(e[s]==="h"||s===2&&e[e.length-1]==="h"){if(vb[a]!==void 0)return vb[a];if(a.endsWith("deg"))return parseFloat(a);if(a.endsWith("turn"))return parseFloat(a)*360;if(a.endsWith("grad"))return parseFloat(a)*360/400;if(a.endsWith("rad"))return parseFloat(a)*180/Math.PI}return a==="none"?0:parseFloat(a)}),S=A.length>i?A.pop():1}else/[0-9](?:\s|\/|,)/.test(Z)&&(A=Z.match(/([0-9]+)/g).map(function(a){return parseFloat(a)}),e=((g=(H=Z.match(/([a-z])/ig))==null?void 0:H.join(""))==null?void 0:g.toLowerCase())||"rgb");return{space:e,values:A,alpha:S}}var db,eM,vb,xD=Er({"node_modules/color-parse/index.js"(){db=Ei(tA(),1),eM=_D,vb={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}}),J0,tM=Er({"node_modules/color-space/rgb.js"(){J0={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}}}),$0,bD=Er({"node_modules/color-space/hsl.js"(){tM(),$0={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(Z){var H=Z[0]/360,g=Z[1]/100,x=Z[2]/100,A,S,e,t,r,o=0;if(g===0)return r=x*255,[r,r,r];for(S=x<.5?x*(1+g):x+g-x*g,A=2*x-S,t=[0,0,0];o<3;)e=H+1/3*-(o-1),e<0?e++:e>1&&e--,r=6*e<1?A+(S-A)*6*e:2*e<1?S:3*e<2?A+(S-A)*(2/3-e)*6:A,t[o++]=r*255;return t}},J0.hsl=function(Z){var H=Z[0]/255,g=Z[1]/255,x=Z[2]/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=S-A,t,r,o;return S===A?t=0:H===S?t=(g-x)/e:g===S?t=2+(x-H)/e:x===S&&(t=4+(H-g)/e),t=Math.min(t*60,360),t<0&&(t+=360),o=(A+S)/2,S===A?r=0:o<=.5?r=e/(S+A):r=e/(2-S-A),[t,r*100,o*100]}}}),rM={};Pn(rM,{default:()=>wD});function wD(Z){Array.isArray(Z)&&Z.raw&&(Z=String.raw(...arguments)),Z instanceof Number&&(Z=+Z);var H,g,x,A=eM(Z);if(!A.space)return[];let S=A.space[0]==="h"?$0.min:J0.min,e=A.space[0]==="h"?$0.max:J0.max;return H=Array(3),H[0]=Math.min(Math.max(A.values[0],S[0]),e[0]),H[1]=Math.min(Math.max(A.values[1],S[1]),e[1]),H[2]=Math.min(Math.max(A.values[2],S[2]),e[2]),A.space[0]==="h"&&(H=$0.rgb(H)),H.push(Math.min(Math.max(A.alpha,0),1)),H}var TD=Er({"node_modules/color-rgba/index.js"(){xD(),tM(),bD()}}),nM=ke({"src/traces/parcoords/helpers.js"(Z){"use strict";var H=un().isTypedArray;Z.convertTypedArray=function(g){return H(g)?Array.prototype.slice.call(g):g},Z.isOrdinal=function(g){return!!g.tickvals},Z.isVisible=function(g){return g.visible||!("visible"in g)}}}),AD=ke({"src/traces/parcoords/lines.js"(Z,H){"use strict";var g=["precision highp float;","","varying vec4 fragColor;","","attribute vec4 p01_04, p05_08, p09_12, p13_16,"," p17_20, p21_24, p25_28, p29_32,"," p33_36, p37_40, p41_44, p45_48,"," p49_52, p53_56, p57_60, colors;","","uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,"," loA, hiA, loB, hiB, loC, hiC, loD, hiD;","","uniform vec2 resolution, viewBoxPos, viewBoxSize;","uniform float maskHeight;","uniform float drwLayer; // 0: context, 1: focus, 2: pick","uniform vec4 contextColor;","uniform sampler2D maskTexture, palette;","","bool isPick = (drwLayer > 1.5);","bool isContext = (drwLayer < 0.5);","","const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);","const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);","","float val(mat4 p, mat4 v) {"," return dot(matrixCompMult(p, v) * UNITS, UNITS);","}","","float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {"," float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);"," float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);"," return y1 * (1.0 - ratio) + y2 * ratio;","}","","int iMod(int a, int b) {"," return a - b * (a / b);","}","","bool fOutside(float p, float lo, float hi) {"," return (lo < hi) && (lo > p || p > hi);","}","","bool vOutside(vec4 p, vec4 lo, vec4 hi) {"," return ("," fOutside(p[0], lo[0], hi[0]) ||"," fOutside(p[1], lo[1], hi[1]) ||"," fOutside(p[2], lo[2], hi[2]) ||"," fOutside(p[3], lo[3], hi[3])"," );","}","","bool mOutside(mat4 p, mat4 lo, mat4 hi) {"," return ("," vOutside(p[0], lo[0], hi[0]) ||"," vOutside(p[1], lo[1], hi[1]) ||"," vOutside(p[2], lo[2], hi[2]) ||"," vOutside(p[3], lo[3], hi[3])"," );","}","","bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {"," return mOutside(A, loA, hiA) ||"," mOutside(B, loB, hiB) ||"," mOutside(C, loC, hiC) ||"," mOutside(D, loD, hiD);","}","","bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {"," mat4 pnts[4];"," pnts[0] = A;"," pnts[1] = B;"," pnts[2] = C;"," pnts[3] = D;",""," for(int i = 0; i < 4; ++i) {"," for(int j = 0; j < 4; ++j) {"," for(int k = 0; k < 4; ++k) {"," if(0 == iMod("," int(255.0 * texture2D(maskTexture,"," vec2("," (float(i * 2 + j / 2) + 0.5) / 8.0,"," (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight"," ))[3]"," ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),"," 2"," )) return true;"," }"," }"," }"," return false;","}","","vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {"," float x = 0.5 * sign(v) + 0.5;"," float y = axisY(x, A, B, C, D);"," float z = 1.0 - abs(v);",""," z += isContext ? 0.0 : 2.0 * float("," outsideBoundingBox(A, B, C, D) ||"," outsideRasterMask(A, B, C, D)"," );",""," return vec4("," 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,"," z,"," 1.0"," );","}","","void main() {"," mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);"," mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);"," mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);"," mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);",""," float v = colors[3];",""," gl_Position = position(isContext, v, A, B, C, D);",""," fragColor ="," isContext ? vec4(contextColor) :"," isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));","}"].join(` +`),x=["precision highp float;","","varying vec4 fragColor;","","void main() {"," gl_FragColor = fragColor;","}"].join(` +`),A=K0().maxDimensionCount,S=un(),e=1e-6,t=2048,r=new Uint8Array(4),o=new Uint8Array(4),n={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function i(b){b.read({x:0,y:0,width:1,height:1,data:r})}function a(b,v,u,y,f){var P=b._gl;P.enable(P.SCISSOR_TEST),P.scissor(v,u,y,f),b.clear({color:[0,0,0,0],depth:1})}function s(b,v,u,y,f,P){var L=P.key;function z(F){var B=Math.min(y,f-F*y);F===0&&(window.cancelAnimationFrame(u.currentRafs[L]),delete u.currentRafs[L],a(b,P.scissorX,P.scissorY,P.scissorWidth,P.viewBoxSize[1])),!u.clearOnly&&(P.count=2*B,P.offset=2*F*y,v(P),F*y+B>>8*v)%256/255}function d(b,v,u){for(var y=new Array(b*(A+4)),f=0,P=0;PIe&&(Ie=ae[ce].dim1.canvasX,Te=ce);ie===0&&a(f,0,0,B.canvasWidth,B.canvasHeight);var Ye=G(u);for(ce=0;cece._length&&(ut=ut.slice(0,ce._length));var Me=ce.tickvals,pe;function ue(Lt,Et){return{val:Lt,text:pe[Et]}}function Oe(Lt,Et){return Lt.val-Et.val}if(A(Me)&&Me.length){x.isTypedArray(Me)&&(Me=Array.from(Me)),pe=ce.ticktext,!A(pe)||!pe.length?pe=Me.map(S(ce.tickformat)):pe.length>Me.length?pe=pe.slice(0,Me.length):Me.length>pe.length&&(Me=Me.slice(0,pe.length));for(var rt=1;rt=Et||ar>=Bt)return;var Rr=et.lineLayer.readPixel(fr,Bt-1-ar),gr=Rr[3]!==0,br=gr?Rr[2]+256*(Rr[1]+256*Rr[0]):null,_t={x:fr,y:ar,clientX:Lt.clientX,clientY:Lt.clientY,dataIndex:et.model.key,curveNumber:br};br!==Te&&(gr?$.hover(_t):$.unhover&&$.unhover(_t),Te=br)}}),xe.style("opacity",function(et){return et.pick?0:1}),re.style("background","rgba(255, 255, 255, 0)");var Ie=re.selectAll("."+T.cn.parcoords).data(ce,c);Ie.exit().remove(),Ie.enter().append("g").classed(T.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),Ie.attr("transform",function(et){return o(et.model.translateX,et.model.translateY)});var Ye=Ie.selectAll("."+T.cn.parcoordsControlView).data(h,c);Ye.enter().append("g").classed(T.cn.parcoordsControlView,!0),Ye.attr("transform",function(et){return o(et.model.pad.l,et.model.pad.t)});var it=Ye.selectAll("."+T.cn.yAxis).data(function(et){return et.dimensions},c);it.enter().append("g").classed(T.cn.yAxis,!0),Ye.each(function(et){N(it,et,j)}),xe.each(function(et){if(et.viewModel){!et.lineLayer||$?et.lineLayer=_(this,et):et.lineLayer.update(et),(et.key||et.key===0)&&(et.viewModel[et.key]=et.lineLayer);var Lt=!et.context||$;et.lineLayer.render(et.viewModel.panels,Lt)}}),it.attr("transform",function(et){return o(et.xScale(et.xIndex),0)}),it.call(g.behavior.drag().origin(function(et){return et}).on("drag",function(et){var Lt=et.parent;ie.linePickActive(!1),et.x=Math.max(-T.overdrag,Math.min(et.model.width+T.overdrag,g.event.x)),et.canvasX=et.x*et.model.canvasPixelRatio,it.sort(function(Et,Bt){return Et.x-Bt.x}).each(function(Et,Bt){Et.xIndex=Bt,Et.x=et===Et?Et.x:Et.xScale(Et.xIndex),Et.canvasX=Et.x*Et.model.canvasPixelRatio}),N(it,Lt,j),it.filter(function(Et){return Math.abs(et.xIndex-Et.xIndex)!==0}).attr("transform",function(Et){return o(Et.xScale(Et.xIndex),0)}),g.select(this).attr("transform",o(et.x,0)),it.each(function(Et,Bt,qt){qt===et.parent.key&&(Lt.dimensions[Bt]=Et)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer.render&&Lt.focusLayer.render(Lt.panels)}).on("dragend",function(et){var Lt=et.parent;et.x=et.xScale(et.xIndex),et.canvasX=et.x*et.model.canvasPixelRatio,N(it,Lt,j),g.select(this).attr("transform",function(Et){return o(Et.x,0)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer&&Lt.focusLayer.render(Lt.panels),Lt.pickLayer&&Lt.pickLayer.render(Lt.panels,!0),ie.linePickActive(!0),$&&$.axesMoved&&$.axesMoved(Lt.key,Lt.dimensions.map(function(Et){return Et.crossfilterDimensionIndex}))})),it.exit().remove();var at=it.selectAll("."+T.cn.axisOverlays).data(h,c);at.enter().append("g").classed(T.cn.axisOverlays,!0),at.selectAll("."+T.cn.axis).remove();var tt=at.selectAll("."+T.cn.axis).data(h,c);tt.enter().append("g").classed(T.cn.axis,!0),tt.each(function(et){var Lt=et.model.height/et.model.tickDistance,Et=et.domainScale,Bt=Et.domain();g.select(this).call(g.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Lt,et.tickFormat).tickValues(et.ordinal?Bt:null).tickFormat(function(qt){return d.isOrdinal(et)?qt:W(et.model.dimensions[et.visibleIndex],qt)}).scale(Et)),i.font(tt.selectAll("text"),et.model.tickFont)}),tt.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),tt.selectAll("text").style("cursor","default");var ut=at.selectAll("."+T.cn.axisHeading).data(h,c);ut.enter().append("g").classed(T.cn.axisHeading,!0);var Me=ut.selectAll("."+T.cn.axisTitle).data(h,c);Me.enter().append("text").classed(T.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",J?"none":"auto"),Me.text(function(et){return et.label}).each(function(et){var Lt=g.select(this);i.font(Lt,et.model.labelFont),n.convertToTspans(Lt,se)}).attr("transform",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=T.axisTitleOffset;return(Lt.dir>0?"":o(0,2*Et+et.model.height))+r(Lt.degrees)+o(-Et*Lt.dx,-Et*Lt.dy)}).attr("text-anchor",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=Math.abs(Lt.dx),Bt=Math.abs(Lt.dy);return 2*Et>Bt?Lt.dir*Lt.dx<0?"start":"end":"middle"});var pe=at.selectAll("."+T.cn.axisExtent).data(h,c);pe.enter().append("g").classed(T.cn.axisExtent,!0);var ue=pe.selectAll("."+T.cn.axisExtentTop).data(h,c);ue.enter().append("g").classed(T.cn.axisExtentTop,!0),ue.attr("transform",o(0,-T.axisExtentOffset));var Oe=ue.selectAll("."+T.cn.axisExtentTopText).data(h,c);Oe.enter().append("text").classed(T.cn.axisExtentTopText,!0).call(B),Oe.text(function(et){return Q(et,!0)}).each(function(et){i.font(g.select(this),et.model.rangeFont)});var rt=pe.selectAll("."+T.cn.axisExtentBottom).data(h,c);rt.enter().append("g").classed(T.cn.axisExtentBottom,!0),rt.attr("transform",function(et){return o(0,et.model.height+T.axisExtentOffset)});var ot=rt.selectAll("."+T.cn.axisExtentBottomText).data(h,c);ot.enter().append("text").classed(T.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(B),ot.text(function(et){return Q(et,!1)}).each(function(et){i.font(g.select(this),et.model.rangeFont)}),l.ensureAxisBrush(at,ee,se)}}}),iM=ke({"src/traces/parcoords/plot.js"(r,H){"use strict";var g=MD(),x=fb(),A=nM().isVisible,S={};function e(o,n,i){var a=n.indexOf(i),s=o.indexOf(a);return s===-1&&(s+=n.length),s}function t(o,n){return function(a,s){return e(o,n,a)-e(o,n,s)}}var r=H.exports=function(n,i){var a=n._fullLayout,s=x(n,[],S);if(s){var c={},h={},p={},d={},T=a._size;i.forEach(function(E,m){var b=E[0].trace;p[m]=b.index;var v=d[m]=b.index;c[m]=n.data[v].dimensions,h[m]=n.data[v].dimensions.slice()});var l=function(E,m,b){var v=h[E][m],u=b.map(function(F){return F.slice()}),y="dimensions["+m+"].constraintrange",f=a._tracePreGUI[n._fullData[p[E]]._fullInput.uid];if(f[y]===void 0){var P=v.constraintrange;f[y]=P||null}var L=n._fullData[p[E]].dimensions[m];u.length?(u.length===1&&(u=u[0]),v.constraintrange=u,L.constraintrange=u.slice(),u=[u]):(delete v.constraintrange,delete L.constraintrange,u=null);var z={};z[y]=u,n.emit("plotly_restyle",[z,[d[E]]])},_=function(E){n.emit("plotly_hover",E)},w=function(E){n.emit("plotly_unhover",E)},M=function(E,m){var b=t(m,h[E].filter(A));c[E].sort(b),h[E].filter(function(v){return!A(v)}).sort(function(v){return h[E].indexOf(v)}).forEach(function(v){c[E].splice(c[E].indexOf(v),1),c[E].splice(h[E].indexOf(v),0,v)}),n.emit("plotly_restyle",[{dimensions:[c[E]]},[d[E]]])};g(n,i,{width:T.w,height:T.h,margin:{t:T.t,r:T.r,b:T.b,l:T.l}},{filterChanged:l,hover:_,unhover:w,axesMoved:M})}};r.reglPrecompiled=S}}),SD=ke({"src/traces/parcoords/base_plot.js"(Z){"use strict";var H=_i(),g=bh().getModuleCalcData,x=iM(),A=zd();Z.name="parcoords",Z.plot=function(S){var e=g(S.calcdata,"parcoords")[0];e.length&&x(S,e)},Z.clean=function(S,e,t,r){var o=r._has&&r._has("parcoords"),n=e._has&&e._has("parcoords");o&&!n&&(r._paperdiv.selectAll(".parcoords").remove(),r._glimages.selectAll("*").remove())},Z.toSVG=function(S){var e=S._fullLayout._glimages,t=H.select(S).selectAll(".svg-container"),r=t.filter(function(n,i){return i===t.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus");function o(){var n=this,i=n.toDataURL("image/png"),a=e.append("svg:image");a.attr({xmlns:A.svg,"xlink:href":i,preserveAspectRatio:"none",x:0,y:0,width:n.style.width,height:n.style.height})}r.each(o),window.setTimeout(function(){H.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}}}),ED=ke({"src/traces/parcoords/base_index.js"(Z,H){"use strict";H.exports={attributes:$A(),supplyDefaults:gD(),calc:yD(),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:SD(),categories:["gl","regl","noOpacity","noHover"],meta:{}}}}),CD=ke({"src/traces/parcoords/index.js"(Z,H){"use strict";var g=ED();g.plot=iM(),H.exports=g}}),kD=ke({"lib/parcoords.js"(Z,H){"use strict";H.exports=CD()}}),aM=ke({"src/traces/parcats/attributes.js"(Z,H){"use strict";var g=To().extendFlat,x=Ol(),A=Il(),S=ou(),e=Rs().hovertemplateAttrs,t=Yu().attributes,r=g({editType:"calc"},S("line",{editTypeOverride:"calc"}),{shape:{valType:"enumerated",values:["linear","hspline"],dflt:"linear",editType:"plot"},hovertemplate:e({editType:"plot",arrayOk:!1},{keys:["count","probability"]})});H.exports={domain:t({name:"parcats",trace:!0,editType:"calc"}),hoverinfo:g({},x.hoverinfo,{flags:["count","probability"],editType:"plot",arrayOk:!1}),hoveron:{valType:"enumerated",values:["category","color","dimension"],dflt:"category",editType:"plot"},hovertemplate:e({editType:"plot",arrayOk:!1},{keys:["count","probability","category","categorycount","colorcount","bandcolorcount"]}),arrangement:{valType:"enumerated",values:["perpendicular","freeform","fixed"],dflt:"perpendicular",editType:"plot"},bundlecolors:{valType:"boolean",dflt:!0,editType:"plot"},sortpaths:{valType:"enumerated",values:["forward","backward"],dflt:"forward",editType:"plot"},labelfont:A({editType:"calc"}),tickfont:A({autoShadowDflt:!0,editType:"calc"}),dimensions:{_isLinkedToArray:"dimension",label:{valType:"string",editType:"calc"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},values:{valType:"data_array",dflt:[],editType:"calc"},displayindex:{valType:"integer",editType:"calc"},editType:"calc",visible:{valType:"boolean",dflt:!0,editType:"calc"}},line:r,counts:{valType:"number",min:0,dflt:1,arrayOk:!0,editType:"calc"},customdata:void 0,hoverlabel:void 0,ids:void 0,legend:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}}}),LD=ke({"src/traces/parcats/defaults.js"(Z,H){"use strict";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=aM(),r=hb(),o=Oa().isTypedArraySpec;function n(a,s,c,h,p){p("line.shape"),p("line.hovertemplate");var d=p("line.color",h.colorway[0]);if(x(a,"line")&&g.isArrayOrTypedArray(d)){if(d.length)return p("line.colorscale"),A(a,s,h,p,{prefix:"line.",cLetter:"c"}),d.length;s.line.color=c}return 1/0}function i(a,s){function c(w,M){return g.coerce(a,s,t.dimensions,w,M)}var h=c("values"),p=c("visible");if(h&&h.length||(p=s.visible=!1),p){c("label"),c("displayindex",s._index);var d=a.categoryarray,T=g.isArrayOrTypedArray(d)&&d.length>0||o(d),l;T&&(l="array");var _=c("categoryorder",l);_==="array"?(c("categoryarray"),c("ticktext")):(delete a.categoryarray,delete a.ticktext),!T&&_==="array"&&(s.categoryorder="trace")}}H.exports=function(s,c,h,p){function d(w,M){return g.coerce(s,c,t,w,M)}var T=e(s,c,{name:"dimensions",handleItemDefaults:i}),l=n(s,c,h,p,d);S(c,p,d),(!Array.isArray(T)||!T.length)&&(c.visible=!1),r(c,T,"values",l),d("hoveron"),d("hovertemplate"),d("arrangement"),d("bundlecolors"),d("sortpaths"),d("counts");var _=p.font;g.coerceFont(d,"labelfont",_,{overrideDflt:{size:Math.round(_.size)}}),g.coerceFont(d,"tickfont",_,{autoShadowDflt:!0,overrideDflt:{size:Math.round(_.size/1.2)}})}}}),PD=ke({"src/traces/parcats/calc.js"(Z,H){"use strict";var g=Dv().wrap,x=ad().hasColorscale,A=od(),S=Vw(),e=$o(),t=un(),r=Yn();H.exports=function(_,w){var M=t.filterVisible(w.dimensions);if(M.length===0)return[];var E=M.map(function(G){var $;if(G.categoryorder==="trace")$=null;else if(G.categoryorder==="array")$=G.categoryarray;else{$=S(G.values);for(var J=!0,X=0;X<$.length;X++)if(!r($[X])){J=!1;break}$.sort(J?t.sorterAsc:void 0),G.categoryorder==="category descending"&&($=$.reverse())}return h(G.values,$)}),m,b,v;t.isArrayOrTypedArray(w.counts)?m=w.counts:m=[w.counts],p(M),M.forEach(function(G,$){d(G,E[$])});var u=w.line,y;u?(x(w,"line")&&A(_,w,{vals:w.line.color,containerStr:"line",cLetter:"c"}),y=e.tryColorscale(u)):y=t.identity;function f(G){var $,J;return t.isArrayOrTypedArray(u.color)?($=u.color[G%u.color.length],J=$):$=u.color,{color:y($),rawColor:J}}var P=M[0].values.length,L={},z=E.map(function(G){return G.inds});v=0;var F,B;for(F=0;F=l.length||_[l[w]]!==void 0)return!1;_[l[w]]=!0}return!0}}}),ID=ke({"src/traces/parcats/parcats.js"(Z,H){"use strict";var g=_i(),x=(Ym(),hi(Xp)).interpolateNumber,A=__(),S=Ec(),e=un(),t=e.strTranslate,r=$o(),o=ru(),n=Wl();function i(X,re,ae,j){var ee=re._context.staticPlot,ie=X.map(se.bind(0,re,ae)),ce=j.selectAll("g.parcatslayer").data([null]);ce.enter().append("g").attr("class","parcatslayer").style("pointer-events",ee?"none":"all");var xe=ce.selectAll("g.trace.parcats").data(ie,a),Te=xe.enter().append("g").attr("class","trace parcats");xe.attr("transform",function(ue){return t(ue.x,ue.y)}),Te.append("g").attr("class","paths");var Ue=xe.select("g.paths"),Ie=Ue.selectAll("path.path").data(function(ue){return ue.paths},a);Ie.attr("fill",function(ue){return ue.model.color});var Ye=Ie.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(ue){return ue.model.color}).attr("fill-opacity",0);_(Ye),Ie.attr("d",function(ue){return ue.svgD}),Ye.empty()||Ie.sort(c),Ie.exit().remove(),Ie.on("mouseover",h).on("mouseout",p).on("click",l),Te.append("g").attr("class","dimensions");var it=xe.select("g.dimensions"),at=it.selectAll("g.dimension").data(function(ue){return ue.dimensions},a);at.enter().append("g").attr("class","dimension"),at.attr("transform",function(ue){return t(ue.x,0)}),at.exit().remove();var tt=at.selectAll("g.category").data(function(ue){return ue.categories},a),ut=tt.enter().append("g").attr("class","category");tt.attr("transform",function(ue){return t(0,ue.y)}),ut.append("rect").attr("class","catrect").attr("pointer-events","none"),tt.select("rect.catrect").attr("fill","none").attr("width",function(ue){return ue.width}).attr("height",function(ue){return ue.height}),E(ut);var Me=tt.selectAll("rect.bandrect").data(function(ue){return ue.bands},a);Me.each(function(){e.raiseToTop(this)}),Me.attr("fill",function(ue){return ue.color});var pe=Me.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(ue){return ue.color}).attr("fill-opacity",0);Me.attr("fill",function(ue){return ue.color}).attr("width",function(ue){return ue.width}).attr("height",function(ue){return ue.height}).attr("y",function(ue){return ue.y}).attr("cursor",function(ue){return ue.parcatsViewModel.arrangement==="fixed"?"default":ue.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),b(pe),Me.exit().remove(),ut.append("text").attr("class","catlabel").attr("pointer-events","none"),tt.select("text.catlabel").attr("text-anchor",function(ue){return s(ue)?"start":"end"}).attr("alignment-baseline","middle").style("fill","rgb(0, 0, 0)").attr("x",function(ue){return s(ue)?ue.width+5:-5}).attr("y",function(ue){return ue.height/2}).text(function(ue){return ue.model.categoryLabel}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.categorylabelfont),n.convertToTspans(g.select(this),re)}),ut.append("text").attr("class","dimlabel"),tt.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(ue){return ue.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(ue){return ue.width/2}).attr("y",-5).text(function(ue,Oe){return Oe===0?ue.parcatsViewModel.model.dimensions[ue.model.dimensionInd].dimensionLabel:null}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.labelfont)}),tt.selectAll("rect.bandrect").on("mouseover",B).on("mouseout",O),tt.exit().remove(),at.call(g.behavior.drag().origin(function(ue){return{x:ue.x,y:0}}).on("dragstart",I).on("drag",N).on("dragend",U)),xe.each(function(ue){ue.traceSelection=g.select(this),ue.pathSelection=g.select(this).selectAll("g.paths").selectAll("path.path"),ue.dimensionSelection=g.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),xe.exit().remove()}H.exports=function(X,re,ae,j){i(ae,X,j,re)};function a(X){return X.key}function s(X){var re=X.parcatsViewModel.dimensions.length,ae=X.parcatsViewModel.dimensions[re-1].model.dimensionInd;return X.model.dimensionInd===ae}function c(X,re){return X.model.rawColor>re.model.rawColor?1:X.model.rawColor"),et=g.mouse(ee)[0];S.loneHover({trace:ie,x:tt-xe.left+Te.left,y:ut-xe.top+Te.top,text:ot,color:X.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:et1&&Ue.displayInd===Te.dimensions.length-1?(it=ce.left,at="left"):(it=ce.left+ce.width,at="right");var tt=xe.model.count,ut=xe.model.categoryLabel,Me=tt/xe.parcatsViewModel.model.count,pe={countLabel:tt,categoryLabel:ut,probabilityLabel:Me.toFixed(3)},ue=[];xe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&ue.push(["Count:",pe.countLabel].join(" ")),xe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&ue.push(["P("+pe.categoryLabel+"):",pe.probabilityLabel].join(" "));var Oe=ue.join("
");return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Oe,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:pe,eventData:[{data:Ie._input,fullData:Ie,count:tt,category:ut,probability:Me}]}}function z(X,re,ae){var j=[];return g.select(ae.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){var ee=this;j.push(L(X,re,ee))}),j}function F(X,re,ae){X._fullLayout._calcInverseTransform(X);var j=X._fullLayout._invScaleX,ee=X._fullLayout._invScaleY,ie=ae.getBoundingClientRect(),ce=g.select(ae).datum(),xe=ce.categoryViewModel,Te=xe.parcatsViewModel,Ue=Te.model.dimensions[xe.model.dimensionInd],Ie=Te.trace,Ye=ie.y+ie.height/2,it,at;Te.dimensions.length>1&&Ue.displayInd===Te.dimensions.length-1?(it=ie.left,at="left"):(it=ie.left+ie.width,at="right");var tt=xe.model.categoryLabel,ut=ce.parcatsViewModel.model.count,Me=0;ce.categoryViewModel.bands.forEach(function(qt){qt.color===ce.color&&(Me+=qt.count)});var pe=xe.model.count,ue=0;Te.pathSelection.each(function(qt){qt.model.color===ce.color&&(ue+=qt.model.count)});var Oe=Me/ut,rt=Me/ue,ot=Me/pe,et={countLabel:Me,categoryLabel:tt,probabilityLabel:Oe.toFixed(3)},Lt=[];xe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Lt.push(["Count:",et.countLabel].join(" ")),xe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Lt.push("P(color \u2229 "+tt+"): "+et.probabilityLabel),Lt.push("P("+tt+" | color): "+rt.toFixed(3)),Lt.push("P(color | "+tt+"): "+ot.toFixed(3)));var Et=Lt.join("
"),Bt=o.mostReadable(ce.color,["black","white"]);return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Et,color:ce.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Bt,fontSize:10,idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:et,eventData:[{data:Ie._input,fullData:Ie,category:tt,count:ut,probability:Oe,categorycount:pe,colorcount:ue,bandcolorcount:Me}]}}function B(X){if(!X.parcatsViewModel.dragDimension&&X.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){var re=g.mouse(this)[1];if(re<-1)return;var ae=X.parcatsViewModel.graphDiv,j=ae._fullLayout,ee=j._paperdiv.node().getBoundingClientRect(),ie=X.parcatsViewModel.hoveron,ce=this;if(ie==="color"?(y(ce),P(ce,"plotly_hover",g.event)):(u(ce),f(ce,"plotly_hover",g.event)),X.parcatsViewModel.hoverinfoItems.indexOf("none")===-1){var xe;ie==="category"?xe=L(ae,ee,ce):ie==="color"?xe=F(ae,ee,ce):ie==="dimension"&&(xe=z(ae,ee,ce)),xe&&S.loneHover(xe,{container:j._hoverlayer.node(),outerContainer:j._paper.node(),gd:ae})}}}function O(X){var re=X.parcatsViewModel;if(!re.dragDimension&&(_(re.pathSelection),E(re.dimensionSelection.selectAll("g.category")),b(re.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),S.loneUnhover(re.graphDiv._fullLayout._hoverlayer.node()),re.pathSelection.sort(c),re.hoverinfoItems.indexOf("skip")===-1)){var ae=X.parcatsViewModel.hoveron,j=this;ae==="color"?P(j,"plotly_unhover",g.event):f(j,"plotly_unhover",g.event)}}function I(X){X.parcatsViewModel.arrangement!=="fixed"&&(X.dragDimensionDisplayInd=X.model.displayInd,X.initialDragDimensionDisplayInds=X.parcatsViewModel.model.dimensions.map(function(re){return re.displayInd}),X.dragHasMoved=!1,X.dragCategoryDisplayInd=null,g.select(this).selectAll("g.category").select("rect.catrect").each(function(re){var ae=g.mouse(this)[0],j=g.mouse(this)[1];-2<=ae&&ae<=re.width+2&&-2<=j&&j<=re.height+2&&(X.dragCategoryDisplayInd=re.model.displayInd,X.initialDragCategoryDisplayInds=X.model.categories.map(function(ee){return ee.displayInd}),re.model.dragY=re.y,e.raiseToTop(this.parentNode),g.select(this.parentNode).selectAll("rect.bandrect").each(function(ee){ee.yIe.y+Ie.height/2&&(ie.model.displayInd=Ie.model.displayInd,Ie.model.displayInd=xe),X.dragCategoryDisplayInd=ie.model.displayInd}if(X.dragCategoryDisplayInd===null||X.parcatsViewModel.arrangement==="freeform"){ee.model.dragX=g.event.x;var Ye=X.parcatsViewModel.dimensions[ae],it=X.parcatsViewModel.dimensions[j];Ye!==void 0&&ee.model.dragXit.x&&(ee.model.displayInd=it.model.displayInd,it.model.displayInd=X.dragDimensionDisplayInd),X.dragDimensionDisplayInd=ee.model.displayInd}$(X.parcatsViewModel),G(X.parcatsViewModel),le(X.parcatsViewModel),Q(X.parcatsViewModel)}}function U(X){if(X.parcatsViewModel.arrangement!=="fixed"&&X.dragDimensionDisplayInd!==null){g.select(this).selectAll("text").attr("font-weight","normal");var re={},ae=W(X.parcatsViewModel),j=X.parcatsViewModel.model.dimensions.map(function(it){return it.displayInd}),ee=X.initialDragDimensionDisplayInds.some(function(it,at){return it!==j[at]});ee&&j.forEach(function(it,at){var tt=X.parcatsViewModel.model.dimensions[at].containerInd;re["dimensions["+tt+"].displayindex"]=it});var ie=!1;if(X.dragCategoryDisplayInd!==null){var ce=X.model.categories.map(function(it){return it.displayInd});if(ie=X.initialDragCategoryDisplayInds.some(function(it,at){return it!==ce[at]}),ie){var xe=X.model.categories.slice().sort(function(it,at){return it.displayInd-at.displayInd}),Te=xe.map(function(it){return it.categoryValue}),Ue=xe.map(function(it){return it.categoryLabel});re["dimensions["+X.model.containerInd+"].categoryarray"]=[Te],re["dimensions["+X.model.containerInd+"].ticktext"]=[Ue],re["dimensions["+X.model.containerInd+"].categoryorder"]="array"}}if(X.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!X.dragHasMoved&&X.potentialClickBand&&(X.parcatsViewModel.hoveron==="color"?P(X.potentialClickBand,"plotly_click",g.event.sourceEvent):f(X.potentialClickBand,"plotly_click",g.event.sourceEvent)),X.model.dragX=null,X.dragCategoryDisplayInd!==null){var Ie=X.parcatsViewModel.dimensions[X.dragDimensionDisplayInd].categories[X.dragCategoryDisplayInd];Ie.model.dragY=null,X.dragCategoryDisplayInd=null}X.dragDimensionDisplayInd=null,X.parcatsViewModel.dragDimension=null,X.dragHasMoved=null,X.potentialClickBand=null,$(X.parcatsViewModel),G(X.parcatsViewModel);var Ye=g.transition().duration(300).ease("cubic-in-out");Ye.each(function(){le(X.parcatsViewModel,!0),Q(X.parcatsViewModel,!0)}).each("end",function(){(ee||ie)&&A.restyle(X.parcatsViewModel.graphDiv,re,[ae])})}}function W(X){for(var re,ae=X.graphDiv._fullData,j=0;j=0;Te--)Ue+="C"+ce[Te]+","+(re[Te+1]+j)+" "+ie[Te]+","+(re[Te]+j)+" "+(X[Te]+ae[Te])+","+(re[Te]+j),Ue+="l-"+ae[Te]+",0 ";return Ue+="Z",Ue}function G(X){var re=X.dimensions,ae=X.model,j=re.map(function(Rr){return Rr.categories.map(function(gr){return gr.y})}),ee=X.model.dimensions.map(function(Rr){return Rr.categories.map(function(gr){return gr.displayInd})}),ie=X.model.dimensions.map(function(Rr){return Rr.displayInd}),ce=X.dimensions.map(function(Rr){return Rr.model.dimensionInd}),xe=re.map(function(Rr){return Rr.x}),Te=re.map(function(Rr){return Rr.width}),Ue=[];for(var Ie in ae.paths)ae.paths.hasOwnProperty(Ie)&&Ue.push(ae.paths[Ie]);function Ye(Rr){var gr=Rr.categoryInds.map(function(_t,Be){return ee[Be][_t]}),br=ce.map(function(_t){return gr[_t]});return br}Ue.sort(function(Rr,gr){var br=Ye(Rr),_t=Ye(gr);return X.sortpaths==="backward"&&(br.reverse(),_t.reverse()),br.push(Rr.valueInds[0]),_t.push(gr.valueInds[0]),X.bundlecolors&&(br.unshift(Rr.rawColor),_t.unshift(gr.rawColor)),br<_t?-1:br>_t?1:0});for(var it=new Array(Ue.length),at=re[0].model.count,tt=re[0].categories.map(function(Rr){return Rr.height}).reduce(function(Rr,gr){return Rr+gr}),ut=0;ut0?pe=tt*(Me.count/at):pe=0;for(var ue=new Array(j.length),Oe=0;Oe1?ce=(X.width-2*ae-j)/(ee-1):ce=0,xe=ae,Te=xe+ce*ie;var Ue=[],Ie=X.model.maxCats,Ye=re.categories.length,it=8,at=re.count,tt=X.height-it*(Ie-1),ut,Me,pe,ue,Oe,rt=(Ie-Ye)*it/2,ot=re.categories.map(function(et){return{displayInd:et.displayInd,categoryInd:et.categoryInd}});for(ot.sort(function(et,Lt){return et.displayInd-Lt.displayInd}),Oe=0;Oe0?ut=Me.count/at*tt:ut=0,pe={key:Me.valueInds[0],model:Me,width:j,height:ut,y:Me.dragY!==null?Me.dragY:rt,bands:[],parcatsViewModel:X},rt=rt+ut+it,Ue.push(pe);return{key:re.dimensionInd,x:re.dragX!==null?re.dragX:Te,y:0,width:j,model:re,categories:Ue,parcatsViewModel:X,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}}}),oM=ke({"src/traces/parcats/plot.js"(Z,H){"use strict";var g=ID();H.exports=function(A,S,e,t){var r=A._fullLayout,o=r._paper,n=r._size;g(A,o,S,{width:n.w,height:n.h,margin:{t:n.t,r:n.r,b:n.b,l:n.l}},e,t)}}}),RD=ke({"src/traces/parcats/base_plot.js"(Z){"use strict";var H=bh().getModuleCalcData,g=oM(),x="parcats";Z.name=x,Z.plot=function(A,S,e,t){var r=H(A.calcdata,x);if(r.length){var o=r[0];g(A,o,e,t)}},Z.clean=function(A,S,e,t){var r=t._has&&t._has("parcats"),o=S._has&&S._has("parcats");r&&!o&&t._paperdiv.selectAll(".parcats").remove()}}}),DD=ke({"src/traces/parcats/index.js"(Z,H){"use strict";H.exports={attributes:aM(),supplyDefaults:LD(),calc:PD(),plot:oM(),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:RD(),categories:["noOpacity"],meta:{}}}}),zD=ke({"lib/parcats.js"(Z,H){"use strict";H.exports=DD()}}),op=ke({"src/plots/mapbox/constants.js"(Z,H){"use strict";var g=Ip(),x="1.13.4",A='\xA9 OpenStreetMap contributors',S=['\xA9 Carto',A].join(" "),e=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),t=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),r={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:A,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:e,tiles:["https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:e,tiles:["https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:t,tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},o=g(r);H.exports={requiredVersion:x,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:r,styleValuesNonMapbox:o,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install @plotly/mapbox-gl@"+x+"."].join(` +`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` +`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",o.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` +`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` +`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}}}),Q0=ke({"src/plots/mapbox/layout_attributes.js"(Z,H){"use strict";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=op(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex("mapbox",".layers",!0)],domain:A({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0},style:{valType:"any",values:o.styleValuesMapbox.concat(o.styleValuesNonMapbox),dflt:o.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:r("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:x},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:x}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},"plot","from-root");i.uirevision={valType:"any",editType:"none"}}}),pb=ke({"src/traces/scattermapbox/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=Q0(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=Q0(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:"boolean"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:"number",arrayOk:!0,dflt:-1,min:-1},size:{valType:"number",arrayOk:!0,dflt:20,min:0},color:{valType:"color",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:"markers"}),text:n({},e.text,{}),texttemplate:x({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o("marker")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:"string"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:g()},"calc","nested")}}),sM=ke({"src/traces/scattermapbox/constants.js"(Z,H){"use strict";var g=["Metropolis Black Italic","Metropolis Black","Metropolis Bold Italic","Metropolis Bold","Metropolis Extra Bold Italic","Metropolis Extra Bold","Metropolis Extra Light Italic","Metropolis Extra Light","Metropolis Light Italic","Metropolis Light","Metropolis Medium Italic","Metropolis Medium","Metropolis Regular Italic","Metropolis Regular","Metropolis Semi Bold Italic","Metropolis Semi Bold","Metropolis Thin Italic","Metropolis Thin","Open Sans Bold Italic","Open Sans Bold","Open Sans Extrabold Italic","Open Sans Extrabold","Open Sans Italic","Open Sans Light Italic","Open Sans Light","Open Sans Regular","Open Sans Semibold Italic","Open Sans Semibold","Klokantech Noto Sans Bold","Klokantech Noto Sans CJK Bold","Klokantech Noto Sans CJK Regular","Klokantech Noto Sans Italic","Klokantech Noto Sans Regular"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),FD=ke({"src/traces/scattermapbox/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=pb(),o=sM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p("text"),p("texttemplate"),p("hovertext"),p("hovertemplate"),p("mode"),p("below"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p("marker.allowoverlap"),p("marker.angle");var l=s.marker;l.symbol!=="circle"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p("connectgaps"));var _=d("cluster.maxzoom"),w=d("cluster.step"),M=d("cluster.color",s.marker&&s.marker.color||c),E=d("cluster.size"),m=d("cluster.opacity"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p("cluster.enabled",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:"Open Sans Regular",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p("fill"),s.fill!=="none"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s("lon")||[],h=s("lat")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),lM=ke({"src/traces/scattermapbox/format_labels.js"(Z,H){"use strict";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),uM=ke({"src/plots/mapbox/convert_text_opts.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=A.split(" "),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=["",""],s=[0,0];switch(t){case"top":a[0]="top",s[1]=-i;break;case"bottom":a[0]="bottom",s[1]=i;break}switch(r){case"left":a[1]="right",s[0]=-n;break;case"right":a[1]="left",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join("-"):a[0]?c=a[0]:a[1]?c=a[1]:c="center",{anchor:c,offset:s}}}}),OD=ke({"src/traces/scattermapbox/convert.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=sM().isSupportedFont,i=uM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!=="none",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol==="circle",F=P&&v.marker.symbol!=="circle",B=v.cluster&&v.cluster.enabled,O=h("fill"),I=h("line"),N=h("circle"),U=h("symbol"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility="visible",x.extendFlat(O.paint,{"fill-color":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility="visible",x.extendFlat(I.paint,{"line-width":v.line.width,"line-color":v.line.color,"line-opacity":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility="visible",B&&(N.filter=["!",["has","point_count"]],W.cluster={type:"circle",filter:["has","point_count"],layout:{visibility:"visible"},paint:{"circle-color":w(v.cluster.color,v.cluster.step),"circle-radius":w(v.cluster.size,v.cluster.step),"circle-opacity":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:"symbol",filter:["has","point_count"],paint:{},layout:{"text-field":"{point_count_abbreviated}","text-font":M(v),"text-size":12}}),x.extendFlat(N.paint,{"circle-color":le.mcc,"circle-radius":le.mrc,"circle-opacity":le.mo})}if(z&&B&&(N.filter=["!",["has","point_count"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),F&&(x.extendFlat(U.layout,{"icon-size":v.marker.size/10}),"angle"in v.marker&&v.marker.angle!=="auto"&&x.extendFlat(U.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),U.layout["icon-allow-overlap"]=v.marker.allowoverlap,x.extendFlat(U.paint,{"icon-opacity":v.opacity*v.marker.opacity,"icon-color":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{"text-size":v.textfont.size,"text-anchor":fe.anchor,"text-offset":fe.offset,"text-font":M(v)}),x.extendFlat(U.paint,{"text-color":v.textfont.color,"text-opacity":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:"none"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,"marker")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=" Black":u>750?P+=" Extra Bold":u>650?P+=" Bold":u>550?P+=" Semi Bold":u>450?P+=" Medium":u>350?P+=" Regular":u>250?P+=" Light":u>150?P+=" Extra Light":P+=" Thin"):y.slice(0,2).join(" ")==="Open Sans"?(P="Open Sans",u>750?P+=" Extrabold":u>650?P+=" Bold":u>550?P+=" Semibold":u>350?P+=" Regular":P+=" Light"):y.slice(0,3).join(" ")==="Klokantech Noto Sans"&&(P="Klokantech Noto Sans",y[3]==="CJK"&&(P+=" CJK"),P+=u>500?" Bold":" Regular")),f&&(P+=" Italic"),P==="Open Sans Regular Italic"?P="Open Sans Italic":P==="Open Sans Regular Bold"?P="Open Sans Bold":P==="Open Sans Regular Bold Italic"?P="Open Sans Bold Italic":P==="Klokantech Noto Sans Regular Italic"&&(P="Klokantech Noto Sans Italic"),n(P)||(P=b);var L=P.split(", ");return L}}}),BD=ke({"src/traces/scattermapbox/plot.js"(Z,H){"use strict";var g=un(),x=OD(),A=op().traceLayerPrefix,S={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function e(r,o,n,i){this.type="scattermapbox",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:"source-"+o+"-fill",line:"source-"+o+"-line",circle:"source-"+o+"-circle",symbol:"source-"+o+"-symbol",cluster:"source-"+o+"-circle",clusterCount:"source-"+o+"-circle"},this.layerIds={fill:A+o+"-fill",line:A+o+"-line",circle:A+o+"-circle",symbol:A+o+"-symbol",cluster:A+o+"-cluster",clusterCount:A+o+"-cluster-count"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:"geojson",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup["trace-"+i.uid],d,T,l;if(a)for(c.addSource("circle",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split("+"),h=c.indexOf("all")!==-1,p=c.indexOf("lon")!==-1,d=c.indexOf("lat")!==-1,T=i.lonlat,l=[];function _(w){return w+"\xB0"}return h||p&&d?l.push("("+_(T[1])+", "+_(T[0])+")"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf("text")!==-1)&&S(i,n,l),l.join("
")}H.exports={hoverPoints:r,getExtraText:o}}}),ND=ke({"src/traces/scattermapbox/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),UD=ke({"src/traces/scattermapbox/select.js"(Z,H){"use strict";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s"u"&&(k=1e-6);var V,oe,ge,Pe,qe;for(ge=C,qe=0;qe<8;qe++){if(Pe=this.sampleCurveX(ge)-C,Math.abs(Pe)oe)return oe;for(;VPe?V=ge:oe=ge,ge=(oe-V)*.5+V}return ge},n.prototype.solve=function(C,k){return this.sampleCurveY(this.solveCurveX(C,k))};var i=a;function a(C,k){this.x=C,this.y=k}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(C){return this.clone()._add(C)},sub:function(C){return this.clone()._sub(C)},multByPoint:function(C){return this.clone()._multByPoint(C)},divByPoint:function(C){return this.clone()._divByPoint(C)},mult:function(C){return this.clone()._mult(C)},div:function(C){return this.clone()._div(C)},rotate:function(C){return this.clone()._rotate(C)},rotateAround:function(C,k){return this.clone()._rotateAround(C,k)},matMult:function(C){return this.clone()._matMult(C)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(C){return this.x===C.x&&this.y===C.y},dist:function(C){return Math.sqrt(this.distSqr(C))},distSqr:function(C){var k=C.x-this.x,V=C.y-this.y;return k*k+V*V},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(C){return Math.atan2(this.y-C.y,this.x-C.x)},angleWith:function(C){return this.angleWithSep(C.x,C.y)},angleWithSep:function(C,k){return Math.atan2(this.x*k-this.y*C,this.x*C+this.y*k)},_matMult:function(C){var k=C[0]*this.x+C[1]*this.y,V=C[2]*this.x+C[3]*this.y;return this.x=k,this.y=V,this},_add:function(C){return this.x+=C.x,this.y+=C.y,this},_sub:function(C){return this.x-=C.x,this.y-=C.y,this},_mult:function(C){return this.x*=C,this.y*=C,this},_div:function(C){return this.x/=C,this.y/=C,this},_multByPoint:function(C){return this.x*=C.x,this.y*=C.y,this},_divByPoint:function(C){return this.x/=C.x,this.y/=C.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var C=this.y;return this.y=this.x,this.x=-C,this},_rotate:function(C){var k=Math.cos(C),V=Math.sin(C),oe=k*this.x-V*this.y,ge=V*this.x+k*this.y;return this.x=oe,this.y=ge,this},_rotateAround:function(C,k){var V=Math.cos(C),oe=Math.sin(C),ge=k.x+V*(this.x-k.x)-oe*(this.y-k.y),Pe=k.y+oe*(this.x-k.x)+V*(this.y-k.y);return this.x=ge,this.y=Pe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(C){return C instanceof a?C:Array.isArray(C)?new a(C[0],C[1]):C};var s=typeof self<"u"?self:{};function c(C,k){if(Array.isArray(C)){if(!Array.isArray(k)||C.length!==k.length)return!1;for(var V=0;V=1)return 1;var k=C*C,V=k*C;return 4*(C<.5?V:3*(C-k)+V-.75)}function d(C,k,V,oe){var ge=new o(C,k,V,oe);return function(Pe){return ge.solve(Pe)}}var T=d(.25,.1,.25,1);function l(C,k,V){return Math.min(V,Math.max(k,C))}function _(C,k,V){var oe=V-k,ge=((C-k)%oe+oe)%oe+k;return ge===k?V:ge}function w(C,k,V){if(!C.length)return V(null,[]);var oe=C.length,ge=new Array(C.length),Pe=null;C.forEach(function(qe,ft){k(qe,function(Pt,Ut){Pt&&(Pe=Pt),ge[ft]=Ut,--oe===0&&V(Pe,ge)})})}function M(C){var k=[];for(var V in C)k.push(C[V]);return k}function E(C,k){var V=[];for(var oe in C)oe in k||V.push(oe);return V}function m(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe>k/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,C)}return C()}function f(C){return C<=1?1:Math.pow(2,Math.ceil(Math.log(C)/Math.LN2))}function P(C){return C?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(C):!1}function L(C,k){C.forEach(function(V){k[V]&&(k[V]=k[V].bind(k))})}function z(C,k){return C.indexOf(k,C.length-k.length)!==-1}function F(C,k,V){var oe={};for(var ge in C)oe[ge]=k.call(V||this,C[ge],ge,C);return oe}function B(C,k,V){var oe={};for(var ge in C)k.call(V||this,C[ge],ge,C)&&(oe[ge]=C[ge]);return oe}function O(C){return Array.isArray(C)?C.map(O):typeof C=="object"&&C?F(C,O):C}function I(C,k){for(var V=0;V=0)return!0;return!1}var N={};function U(C){N[C]||(typeof console<"u"&&console.warn(C),N[C]=!0)}function W(C,k,V){return(V.y-C.y)*(k.x-C.x)>(k.y-C.y)*(V.x-C.x)}function Q(C){for(var k=0,V=0,oe=C.length,ge=oe-1,Pe=void 0,qe=void 0;V@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,V={};if(C.replace(k,function(ge,Pe,qe,ft){var Pt=qe||ft;return V[Pe]=Pt?Pt.toLowerCase():!0,""}),V["max-age"]){var oe=parseInt(V["max-age"],10);isNaN(oe)?delete V["max-age"]:V["max-age"]=oe}return V}var G=null;function $(C){if(G==null){var k=C.navigator?C.navigator.userAgent:null;G=!!C.safari||!!(k&&(/\b(iPad|iPhone|iPod)\b/.test(k)||k.match("Safari")&&!k.match("Chrome")))}return G}function J(C){try{var k=s[C];return k.setItem("_mapbox_test_",1),k.removeItem("_mapbox_test_"),!0}catch{return!1}}function X(C){return s.btoa(encodeURIComponent(C).replace(/%([0-9A-F]{2})/g,function(k,V){return String.fromCharCode(+("0x"+V))}))}function re(C){return decodeURIComponent(s.atob(C).split("").map(function(k){return"%"+("00"+k.charCodeAt(0).toString(16)).slice(-2)}).join(""))}var ae=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),j=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,ee=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,ie,ce,xe={now:ae,frame:function(k){var V=j(k);return{cancel:function(){return ee(V)}}},getImageData:function(k,V){V===void 0&&(V=0);var oe=s.document.createElement("canvas"),ge=oe.getContext("2d");if(!ge)throw new Error("failed to create canvas 2d context");return oe.width=k.width,oe.height=k.height,ge.drawImage(k,0,0,k.width,k.height),ge.getImageData(-V,-V,k.width+2*V,k.height+2*V)},resolveURL:function(k){return ie||(ie=s.document.createElement("a")),ie.href=k,ie.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return s.matchMedia?(ce==null&&(ce=s.matchMedia("(prefers-reduced-motion: reduce)")),ce.matches):!1}},Te={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},Ue={supported:!1,testSupport:tt},Ie,Ye=!1,it,at=!1;s.document&&(it=s.document.createElement("img"),it.onload=function(){Ie&&ut(Ie),Ie=null,at=!0},it.onerror=function(){Ye=!0,Ie=null},it.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");function tt(C){Ye||!it||(at?ut(C):Ie=C)}function ut(C){var k=C.createTexture();C.bindTexture(C.TEXTURE_2D,k);try{if(C.texImage2D(C.TEXTURE_2D,0,C.RGBA,C.RGBA,C.UNSIGNED_BYTE,it),C.isContextLost())return;Ue.supported=!0}catch{}C.deleteTexture(k),Ye=!0}var Me="01";function pe(){for(var C="1",k="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",V="",oe=0;oe<10;oe++)V+=k[Math.floor(Math.random()*62)];var ge=12*60*60*1e3,Pe=[C,Me,V].join(""),qe=Date.now()+ge;return{token:Pe,tokenExpiresAt:qe}}var ue=function(k,V){this._transformRequestFn=k,this._customAccessToken=V,this._createSkuToken()};ue.prototype._createSkuToken=function(){var k=pe();this._skuToken=k.token,this._skuTokenExpiresAt=k.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(k,V){return this._transformRequestFn?this._transformRequestFn(k,V)||{url:k}:{url:k}},ue.prototype.normalizeStyleURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/styles/v1"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/fonts/v1"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/v4/"+oe.authority+".json",oe.params.push("secure"),this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(k,V,oe,ge){var Pe=Bt(k);return Oe(k)?(Pe.path="/styles/v1"+Pe.path+"/sprite"+V+oe,this._makeAPIURL(Pe,this._customAccessToken||ge)):(Pe.path+=""+V+oe,qt(Pe))},ue.prototype.normalizeTileURL=function(k,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),k&&!Oe(k))return k;var oe=Bt(k),ge=/(\.(png|jpg)\d*)(?=$)/,Pe=/^.+\/v4\//,qe=xe.devicePixelRatio>=2||V===512?"@2x":"",ft=Ue.supported?".webp":"$1";oe.path=oe.path.replace(ge,""+qe+ft),oe.path=oe.path.replace(Pe,"/"),oe.path="/v4"+oe.path;var Pt=this._customAccessToken||Lt(oe.params)||Te.ACCESS_TOKEN;return Te.REQUIRE_ACCESS_TOKEN&&Pt&&this._skuToken&&oe.params.push("sku="+this._skuToken),this._makeAPIURL(oe,Pt)},ue.prototype.canonicalizeTileURL=function(k,V){var oe="/v4/",ge=/\.[\w]+$/,Pe=Bt(k);if(!Pe.path.match(/(^\/v4\/)/)||!Pe.path.match(ge))return k;var qe="mapbox://tiles/";qe+=Pe.path.replace(oe,"");var ft=Pe.params;return V&&(ft=ft.filter(function(Pt){return!Pt.match(/^access_token=/)})),ft.length&&(qe+="?"+ft.join("&")),qe},ue.prototype.canonicalizeTileset=function(k,V){for(var oe=V?Oe(V):!1,ge=[],Pe=0,qe=k.tiles||[];Pe=0&&k.params.splice(Pe,1)}if(ge.path!=="/"&&(k.path=""+ge.path+k.path),!Te.REQUIRE_ACCESS_TOKEN)return qt(k);if(V=V||Te.ACCESS_TOKEN,!V)throw new Error("An API access token is required to use Mapbox GL. "+oe);if(V[0]==="s")throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+oe);return k.params=k.params.filter(function(qe){return qe.indexOf("access_token")===-1}),k.params.push("access_token="+V),qt(k)};function Oe(C){return C.indexOf("mapbox:")===0}var rt=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function ot(C){return rt.test(C)}function et(C){return C.indexOf("sku=")>0&&ot(C)}function Lt(C){for(var k=0,V=C;k=1&&s.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{U("Unable to write to LocalStorage")}},Rr.prototype.processRequests=function(k){},Rr.prototype.postEvent=function(k,V,oe,ge){var Pe=this;if(Te.EVENTS_URL){var qe=Bt(Te.EVENTS_URL);qe.params.push("access_token="+(ge||Te.ACCESS_TOKEN||""));var ft={event:this.type,created:new Date(k).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:r,skuId:Me,userId:this.anonId},Pt=V?m(ft,V):ft,Ut={url:qt(qe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([Pt])};this.pendingRequest=en(Ut,function(Kt){Pe.pendingRequest=null,oe(Kt),Pe.saveEventData(),Pe.processRequests(ge)})}},Rr.prototype.queueRequest=function(k,V){this.queue.push(k),this.processRequests(V)};var gr=function(C){function k(){C.call(this,"map.load"),this.success={},this.skuToken=""}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postMapLoadEvent=function(oe,ge,Pe,qe){this.skuToken=Pe,(Te.EVENTS_URL&&qe||Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(ft){return Oe(ft)||ot(ft)}))&&this.queueRequest({id:ge,timestamp:Date.now()},qe)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){var Pe=this.queue.shift(),qe=Pe.id,ft=Pe.timestamp;qe&&this.success[qe]||(this.anonId||this.fetchEventData(),P(this.anonId)||(this.anonId=y()),this.postEvent(ft,{skuToken:this.skuToken},function(Pt){Pt||qe&&(ge.success[qe]=!0)},oe))}},k}(Rr),br=function(C){function k(V){C.call(this,"appUserTurnstile"),this._customAccessToken=V}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postTurnstileEvent=function(oe,ge){Te.EVENTS_URL&&Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(Pe){return Oe(Pe)||ot(Pe)})&&this.queueRequest(Date.now(),ge)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Pe=ar(Te.ACCESS_TOKEN),qe=Pe?Pe.u:Te.ACCESS_TOKEN,ft=qe!==this.eventData.tokenU;P(this.anonId)||(this.anonId=y(),ft=!0);var Pt=this.queue.shift();if(this.eventData.lastSuccess){var Ut=new Date(this.eventData.lastSuccess),Kt=new Date(Pt),_r=(Pt-this.eventData.lastSuccess)/(24*60*60*1e3);ft=ft||_r>=1||_r<-1||Ut.getDate()!==Kt.getDate()}else ft=!0;if(!ft)return this.processRequests();this.postEvent(Pt,{"enabled.telemetry":!1},function(Vr){Vr||(ge.eventData.lastSuccess=Pt,ge.eventData.tokenU=qe)},oe)}},k}(Rr),_t=new br,Be=_t.postTurnstileEvent.bind(_t),Ke=new gr,je=Ke.postMapLoadEvent.bind(Ke),Se="mapbox-tiles",He=500,Ee=50,we=1e3*60*7,Le;function nt(){s.caches&&!Le&&(Le=s.caches.open(Se))}var pt;function bt(C,k){if(pt===void 0)try{new Response(new ReadableStream),pt=!0}catch{pt=!1}pt?k(C.body):C.blob().then(k)}function Rt(C,k,V){if(nt(),!!Le){var oe={status:k.status,statusText:k.statusText,headers:new s.Headers};k.headers.forEach(function(qe,ft){return oe.headers.set(ft,qe)});var ge=fe(k.headers.get("Cache-Control")||"");if(!ge["no-store"]){ge["max-age"]&&oe.headers.set("Expires",new Date(V+ge["max-age"]*1e3).toUTCString());var Pe=new Date(oe.headers.get("Expires")).getTime()-V;PeDate.now()&&!V["no-cache"]}var ur=1/0;function pn(C){ur++,ur>Ee&&(C.getActor().send("enforceCacheSizeLimit",He),ur=0)}function Rn(C){nt(),Le&&Le.then(function(k){k.keys().then(function(V){for(var oe=0;oe=200&&V.status<300||V.status===0)&&V.response!==null){var ge=V.response;if(C.type==="json")try{ge=JSON.parse(V.response)}catch(Pe){return k(Pe)}k(null,ge,V.getResponseHeader("Cache-Control"),V.getResponseHeader("Expires"))}else k(new gi(V.statusText,V.status,C.url))},V.send(C.body),{cancel:function(){return V.abort()}}}var wr=function(C,k){if(!Ft(C.url)){if(s.fetch&&s.Request&&s.AbortController&&s.Request.prototype.hasOwnProperty("signal"))return Ht(C,k);if(se()&&self.worker&&self.worker.actor){var V=!0;return self.worker.actor.send("getResource",C,k,void 0,V)}}return Vt(C,k)},$r=function(C,k){return wr(m(C,{type:"json"}),k)},xn=function(C,k){return wr(m(C,{type:"arrayBuffer"}),k)},en=function(C,k){return wr(m(C,{method:"POST"}),k)};function Fn(C){var k=s.document.createElement("a");return k.href=C,k.protocol===s.document.location.protocol&&k.host===s.document.location.host}var Wn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function ri(C,k,V,oe){var ge=new s.Image,Pe=s.URL;ge.onload=function(){k(null,ge),Pe.revokeObjectURL(ge.src),ge.onload=null,s.requestAnimationFrame(function(){ge.src=Wn})},ge.onerror=function(){return k(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var qe=new s.Blob([new Uint8Array(C)],{type:"image/png"});ge.cacheControl=V,ge.expires=oe,ge.src=C.byteLength?Pe.createObjectURL(qe):Wn}function Sn(C,k){var V=new s.Blob([new Uint8Array(C)],{type:"image/png"});s.createImageBitmap(V).then(function(oe){k(null,oe)}).catch(function(oe){k(new Error("Could not load image because of "+oe.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}var ui,gt,yt=function(){ui=[],gt=0};yt();var Pr=function(C,k){if(Ue.supported&&(C.headers||(C.headers={}),C.headers.accept="image/webp,*/*"),gt>=Te.MAX_PARALLEL_IMAGE_REQUESTS){var V={requestParameters:C,callback:k,cancelled:!1,cancel:function(){this.cancelled=!0}};return ui.push(V),V}gt++;var oe=!1,ge=function(){if(!oe)for(oe=!0,gt--;ui.length&>0||this._oneTimeListeners&&this._oneTimeListeners[k]&&this._oneTimeListeners[k].length>0||this._eventedParent&&this._eventedParent.listens(k)},Dr.prototype.setEventedParent=function(k,V){return this._eventedParent=k,this._eventedParentData=V,this};var nn=8,vn={version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},gn={"*":{type:"source"}},kt=["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],or={type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},yr={type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},on={type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},An={type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},Zn={type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},Bn={type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},wn={id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},Dn=["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],Ui={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},pi={"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Ta={"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Sa={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},qa={"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},to={"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},yo={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Xa={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Go={type:"array",value:"*"},pa={type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},cs={type:"enum",values:{Point:{},LineString:{},Polygon:{}}},Ko={type:"array",minimum:0,maximum:24,value:["number","color"],length:2},gs={type:"array",value:"*",minimum:1},Ya={anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},zo=["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],Ka={"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},Yo={"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},ns={"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},hs={"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},ho={"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},Ro={"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Ls={"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Vs={"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Ws={duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},fs={"*":{type:"string"}},Mi={$version:nn,$root:vn,sources:gn,source:kt,source_vector:or,source_raster:yr,source_raster_dem:on,source_geojson:An,source_video:Zn,source_image:Bn,layer:wn,layout:Dn,layout_background:Ui,layout_fill:pi,layout_circle:Ta,layout_heatmap:Sa,"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:qa,layout_symbol:to,layout_raster:yo,layout_hillshade:Xa,filter:Go,filter_operator:pa,geometry_type:cs,function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:Ko,expression:gs,light:Ya,paint:zo,paint_fill:Ka,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:Yo,paint_circle:ns,paint_heatmap:hs,paint_symbol:ho,paint_raster:Ro,paint_hillshade:Ls,paint_background:Vs,transition:Ws,"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:fs},Da=function(k,V,oe,ge){this.message=(k?k+": ":"")+oe,ge&&(this.identifier=ge),V!=null&&V.__line__&&(this.line=V.__line__)};function pl(C){var k=C.key,V=C.value;return V?[new Da(k,V,"constants have been deprecated as of v8")]:[]}function Xs(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe":C.itemType.kind==="value"?"array":"array<"+k+">"}else return C.kind}var nu=[wl,la,Uo,vo,Ps,Tl,ls,Rl(no),Vu];function qu(C,k){if(k.kind==="error")return null;if(C.kind==="array"){if(k.kind==="array"&&(k.N===0&&k.itemType.kind==="value"||!qu(C.itemType,k.itemType))&&(typeof C.N!="number"||C.N===k.N))return null}else{if(C.kind===k.kind)return null;if(C.kind==="value")for(var V=0,oe=nu;V255?255:Ut}function ge(Ut){return Ut<0?0:Ut>1?1:Ut}function Pe(Ut){return Ut[Ut.length-1]==="%"?oe(parseFloat(Ut)/100*255):oe(parseInt(Ut))}function qe(Ut){return Ut[Ut.length-1]==="%"?ge(parseFloat(Ut)/100):ge(parseFloat(Ut))}function ft(Ut,Kt,_r){return _r<0?_r+=1:_r>1&&(_r-=1),_r*6<1?Ut+(Kt-Ut)*_r*6:_r*2<1?Kt:_r*3<2?Ut+(Kt-Ut)*(2/3-_r)*6:Ut}function Pt(Ut){var Kt=Ut.replace(/ /g,"").toLowerCase();if(Kt in V)return V[Kt].slice();if(Kt[0]==="#"){if(Kt.length===4){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=4095?[(_r&3840)>>4|(_r&3840)>>8,_r&240|(_r&240)>>4,_r&15|(_r&15)<<4,1]:null}else if(Kt.length===7){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=16777215?[(_r&16711680)>>16,(_r&65280)>>8,_r&255,1]:null}return null}var Vr=Kt.indexOf("("),Or=Kt.indexOf(")");if(Vr!==-1&&Or+1===Kt.length){var dn=Kt.substr(0,Vr),jn=Kt.substr(Vr+1,Or-(Vr+1)).split(","),mi=1;switch(dn){case"rgba":if(jn.length!==4)return null;mi=qe(jn.pop());case"rgb":return jn.length!==3?null:[Pe(jn[0]),Pe(jn[1]),Pe(jn[2]),mi];case"hsla":if(jn.length!==4)return null;mi=qe(jn.pop());case"hsl":if(jn.length!==3)return null;var ii=(parseFloat(jn[0])%360+360)%360/360,Vi=qe(jn[1]),Ai=qe(jn[2]),ji=Ai<=.5?Ai*(Vi+1):Ai+Vi-Ai*Vi,Yi=Ai*2-ji;return[oe(ft(Yi,ji,ii+1/3)*255),oe(ft(Yi,ji,ii)*255),oe(ft(Yi,ji,ii-1/3)*255),mi];default:return null}}return null}try{k.parseCSSColor=Pt}catch{}}),uf=sh.parseCSSColor,qs=function(k,V,oe,ge){ge===void 0&&(ge=1),this.r=k,this.g=V,this.b=oe,this.a=ge};qs.parse=function(k){if(k){if(k instanceof qs)return k;if(typeof k=="string"){var V=uf(k);if(V)return new qs(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},qs.prototype.toString=function(){var k=this.toArray(),V=k[0],oe=k[1],ge=k[2],Pe=k[3];return"rgba("+Math.round(V)+","+Math.round(oe)+","+Math.round(ge)+","+Pe+")"},qs.prototype.toArray=function(){var k=this,V=k.r,oe=k.g,ge=k.b,Pe=k.a;return Pe===0?[0,0,0,0]:[V*255/Pe,oe*255/Pe,ge*255/Pe,Pe]},qs.black=new qs(0,0,0,1),qs.white=new qs(1,1,1,1),qs.transparent=new qs(0,0,0,0),qs.red=new qs(1,0,0,1);var Hc=function(k,V,oe){k?this.sensitivity=V?"variant":"case":this.sensitivity=V?"accent":"base",this.locale=oe,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Hc.prototype.compare=function(k,V){return this.collator.compare(k,V)},Hc.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var bf=function(k,V,oe,ge,Pe){this.text=k,this.image=V,this.scale=oe,this.fontStack=ge,this.textColor=Pe},Ql=function(k){this.sections=k};Ql.fromString=function(k){return new Ql([new bf(k,null,null,null,null)])},Ql.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(k){return k.text.length!==0||k.image&&k.image.name.length!==0})},Ql.factory=function(k){return k instanceof Ql?k:Ql.fromString(k)},Ql.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(k){return k.text}).join("")},Ql.prototype.serialize=function(){for(var k=["format"],V=0,oe=this.sections;V=0&&C<=255&&typeof k=="number"&&k>=0&&k<=255&&typeof V=="number"&&V>=0&&V<=255)){var ge=typeof oe=="number"?[C,k,V,oe]:[C,k,V];return"Invalid rgba value ["+ge.join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}return typeof oe>"u"||typeof oe=="number"&&oe>=0&&oe<=1?null:"Invalid rgba value ["+[C,k,V,oe].join(", ")+"]: 'a' must be between 0 and 1."}function gc(C){if(C===null)return!0;if(typeof C=="string")return!0;if(typeof C=="boolean")return!0;if(typeof C=="number")return!0;if(C instanceof qs)return!0;if(C instanceof Hc)return!0;if(C instanceof Ql)return!0;if(C instanceof Al)return!0;if(Array.isArray(C)){for(var k=0,V=C;k2){var ft=k[1];if(typeof ft!="string"||!(ft in sc)||ft==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);qe=sc[ft],oe++}else qe=no;var Pt;if(k.length>3){if(k[2]!==null&&(typeof k[2]!="number"||k[2]<0||k[2]!==Math.floor(k[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Pt=k[2],oe++}ge=Rl(qe,Pt)}else ge=sc[Pe];for(var Ut=[];oe1)&&V.push(ge)}}return V.concat(this.args.map(function(Pe){return Pe.serialize()}))};var $u=function(k){this.type=Tl,this.sections=k};$u.parse=function(k,V){if(k.length<2)return V.error("Expected at least one argument.");var oe=k[1];if(!Array.isArray(oe)&&typeof oe=="object")return V.error("First argument must be an image or text section.");for(var ge=[],Pe=!1,qe=1;qe<=k.length-1;++qe){var ft=k[qe];if(Pe&&typeof ft=="object"&&!Array.isArray(ft)){Pe=!1;var Pt=null;if(ft["font-scale"]&&(Pt=V.parse(ft["font-scale"],1,la),!Pt))return null;var Ut=null;if(ft["text-font"]&&(Ut=V.parse(ft["text-font"],1,Rl(Uo)),!Ut))return null;var Kt=null;if(ft["text-color"]&&(Kt=V.parse(ft["text-color"],1,Ps),!Kt))return null;var _r=ge[ge.length-1];_r.scale=Pt,_r.font=Ut,_r.textColor=Kt}else{var Vr=V.parse(k[qe],1,no);if(!Vr)return null;var Or=Vr.type.kind;if(Or!=="string"&&Or!=="value"&&Or!=="null"&&Or!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Pe=!0,ge.push({content:Vr,scale:null,font:null,textColor:null})}}return new $u(ge)},$u.prototype.evaluate=function(k){var V=function(oe){var ge=oe.content.evaluate(k);return nl(ge)===Vu?new bf("",ge,null,null,null):new bf(Ml(ge),null,oe.scale?oe.scale.evaluate(k):null,oe.font?oe.font.evaluate(k).join(","):null,oe.textColor?oe.textColor.evaluate(k):null)};return new Ql(this.sections.map(V))},$u.prototype.eachChild=function(k){for(var V=0,oe=this.sections;V-1),oe},ll.prototype.eachChild=function(k){k(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){return["image",this.input.serialize()]};var Nh={"to-boolean":vo,"to-color":Ps,"to-number":la,"to-string":Uo},ds=function(k,V){this.type=k,this.args=V};ds.parse=function(k,V){if(k.length<2)return V.error("Expected at least one argument.");var oe=k[0];if((oe==="to-boolean"||oe==="to-string")&&k.length!==2)return V.error("Expected one argument.");for(var ge=Nh[oe],Pe=[],qe=1;qe4?oe="Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":oe=oc(V[0],V[1],V[2],V[3]),!oe))return new qs(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new sl(oe||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}else if(this.type.kind==="number"){for(var Pt=null,Ut=0,Kt=this.args;Ut=k[2]||C[1]<=k[1]||C[3]>=k[3])}function Jf(C,k){var V=Lc(C[0]),oe=nf(C[1]),ge=Math.pow(2,k.z);return[Math.round(V*ge*pu),Math.round(oe*ge*pu)]}function zf(C,k,V){var oe=C[0]-k[0],ge=C[1]-k[1],Pe=C[0]-V[0],qe=C[1]-V[1];return oe*qe-Pe*ge===0&&oe*Pe<=0&&ge*qe<=0}function wf(C,k,V){return k[1]>C[1]!=V[1]>C[1]&&C[0]<(V[0]-k[0])*(C[1]-k[1])/(V[1]-k[1])+k[0]}function Gc(C,k){for(var V=!1,oe=0,ge=k.length;oe0&&_r<0||Kt<0&&_r>0}function Tf(C,k,V,oe){var ge=[k[0]-C[0],k[1]-C[1]],Pe=[oe[0]-V[0],oe[1]-V[1]];return $f(Pe,ge)===0?!1:!!(ec(C,k,V,oe)&&ec(V,oe,C,k))}function Pc(C,k,V){for(var oe=0,ge=V;oeV[2]){var ge=oe*.5,Pe=C[0]-V[0]>ge?-oe:V[0]-C[0]>ge?oe:0;Pe===0&&(Pe=C[0]-V[2]>ge?-oe:V[2]-C[0]>ge?oe:0),C[0]+=Pe}Df(k,C)}function Of(C){C[0]=C[1]=1/0,C[2]=C[3]=-1/0}function Eh(C,k,V,oe){for(var ge=Math.pow(2,oe.z)*pu,Pe=[oe.x*pu,oe.y*pu],qe=[],ft=0,Pt=C;ft=0)return!1;var V=!0;return C.eachChild(function(oe){V&&!Ru(oe,k)&&(V=!1)}),V}var yc=function(k,V){this.type=V.type,this.name=k,this.boundExpression=V};yc.parse=function(k,V){if(k.length!==2||typeof k[1]!="string")return V.error("'var' expression requires exactly one string literal argument.");var oe=k[1];return V.scope.has(oe)?new yc(oe,V.scope.get(oe)):V.error('Unknown variable "'+oe+'". Make sure "'+oe+'" has been bound in an enclosing "let" expression before using it.',1)},yc.prototype.evaluate=function(k){return this.boundExpression.evaluate(k)},yc.prototype.eachChild=function(){},yc.prototype.outputDefined=function(){return!1},yc.prototype.serialize=function(){return["var",this.name]};var Dl=function(k,V,oe,ge,Pe){V===void 0&&(V=[]),ge===void 0&&(ge=new hl),Pe===void 0&&(Pe=[]),this.registry=k,this.path=V,this.key=V.map(function(qe){return"["+qe+"]"}).join(""),this.scope=ge,this.errors=Pe,this.expectedType=oe};Dl.prototype.parse=function(k,V,oe,ge,Pe){return Pe===void 0&&(Pe={}),V?this.concat(V,oe,ge)._parse(k,Pe):this._parse(k,Pe)},Dl.prototype._parse=function(k,V){(k===null||typeof k=="string"||typeof k=="boolean"||typeof k=="number")&&(k=["literal",k]);function oe(Kt,_r,Vr){return Vr==="assert"?new jl(_r,[Kt]):Vr==="coerce"?new ds(_r,[Kt]):Kt}if(Array.isArray(k)){if(k.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var ge=k[0];if(typeof ge!="string")return this.error("Expression name must be a string, but found "+typeof ge+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Pe=this.registry[ge];if(Pe){var qe=Pe.parse(k,this);if(!qe)return null;if(this.expectedType){var ft=this.expectedType,Pt=qe.type;if((ft.kind==="string"||ft.kind==="number"||ft.kind==="boolean"||ft.kind==="object"||ft.kind==="array")&&Pt.kind==="value")qe=oe(qe,ft,V.typeAnnotation||"assert");else if((ft.kind==="color"||ft.kind==="formatted"||ft.kind==="resolvedImage")&&(Pt.kind==="value"||Pt.kind==="string"))qe=oe(qe,ft,V.typeAnnotation||"coerce");else if(this.checkSubtype(ft,Pt))return null}if(!(qe instanceof Zs)&&qe.type.kind!=="resolvedImage"&&Rc(qe)){var Ut=new Bs;try{qe=new Zs(qe.type,qe.evaluate(Ut))}catch(Kt){return this.error(Kt.message),null}}return qe}return this.error('Unknown expression "'+ge+'". If you wanted a literal array, use ["literal", [...]].',0)}else return typeof k>"u"?this.error("'undefined' value invalid. Use null instead."):typeof k=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof k+" instead.")},Dl.prototype.concat=function(k,V,oe){var ge=typeof k=="number"?this.path.concat(k):this.path,Pe=oe?this.scope.concat(oe):this.scope;return new Dl(this.registry,ge,V||null,Pe,this.errors)},Dl.prototype.error=function(k){for(var V=[],oe=arguments.length-1;oe-- >0;)V[oe]=arguments[oe+1];var ge=""+this.key+V.map(function(Pe){return"["+Pe+"]"}).join("");this.errors.push(new As(ge,k))},Dl.prototype.checkSubtype=function(k,V){var oe=qu(k,V);return oe&&this.error(oe),oe};function Rc(C){if(C instanceof yc)return Rc(C.boundExpression);if(C instanceof Vo&&C.name==="error")return!1;if(C instanceof Qu)return!1;if(C instanceof Iu)return!1;var k=C instanceof ds||C instanceof jl,V=!0;return C.eachChild(function(oe){k?V=V&&Rc(oe):V=V&&oe instanceof Zs}),V?eh(C)&&Ru(C,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"]):!1}function tc(C,k){for(var V=C.length-1,oe=0,ge=V,Pe=0,qe,ft;oe<=ge;)if(Pe=Math.floor((oe+ge)/2),qe=C[Pe],ft=C[Pe+1],qe<=k){if(Pe===V||kk)ge=Pe-1;else throw new sl("Input is not a number.");return 0}var xu=function(k,V,oe){this.type=k,this.input=V,this.labels=[],this.outputs=[];for(var ge=0,Pe=oe;ge=ft)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Ut);var _r=V.parse(Pt,Kt,Pe);if(!_r)return null;Pe=Pe||_r.type,ge.push([ft,_r])}return new xu(Pe,oe,ge)},xu.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge);return oe[qe].evaluate(k)},xu.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V0&&k.push(this.labels[V]),k.push(this.outputs[V].serialize());return k};function Sl(C,k,V){return C*(1-V)+k*V}function th(C,k,V){return new qs(Sl(C.r,k.r,V),Sl(C.g,k.g,V),Sl(C.b,k.b,V),Sl(C.a,k.a,V))}function uh(C,k,V){return C.map(function(oe,ge){return Sl(oe,k[ge],V)})}var Hu=Object.freeze({__proto__:null,number:Sl,color:th,array:uh}),_c=.95047,lc=1,Uh=1.08883,of=4/29,ff=6/29,Du=3*ff*ff,Af=ff*ff*ff,lu=Math.PI/180,Xc=180/Math.PI;function ch(C){return C>Af?Math.pow(C,1/3):C/Du+of}function Mf(C){return C>ff?C*C*C:Du*(C-of)}function dl(C){return 255*(C<=.0031308?12.92*C:1.055*Math.pow(C,1/2.4)-.055)}function bu(C){return C/=255,C<=.04045?C/12.92:Math.pow((C+.055)/1.055,2.4)}function wu(C){var k=bu(C.r),V=bu(C.g),oe=bu(C.b),ge=ch((.4124564*k+.3575761*V+.1804375*oe)/_c),Pe=ch((.2126729*k+.7151522*V+.072175*oe)/lc),qe=ch((.0193339*k+.119192*V+.9503041*oe)/Uh);return{l:116*Pe-16,a:500*(ge-Pe),b:200*(Pe-qe),alpha:C.a}}function Bf(C){var k=(C.l+16)/116,V=isNaN(C.a)?k:k+C.a/500,oe=isNaN(C.b)?k:k-C.b/200;return k=lc*Mf(k),V=_c*Mf(V),oe=Uh*Mf(oe),new qs(dl(3.2404542*V-1.5371385*k-.4985314*oe),dl(-.969266*V+1.8760108*k+.041556*oe),dl(.0556434*V-.2040259*k+1.0572252*oe),C.alpha)}function ul(C,k,V){return{l:Sl(C.l,k.l,V),a:Sl(C.a,k.a,V),b:Sl(C.b,k.b,V),alpha:Sl(C.alpha,k.alpha,V)}}function sf(C){var k=wu(C),V=k.l,oe=k.a,ge=k.b,Pe=Math.atan2(ge,oe)*Xc;return{h:Pe<0?Pe+360:Pe,c:Math.sqrt(oe*oe+ge*ge),l:V,alpha:C.a}}function xc(C){var k=C.h*lu,V=C.c,oe=C.l;return Bf({l:oe,a:Math.cos(k)*V,b:Math.sin(k)*V,alpha:C.alpha})}function Gu(C,k,V){var oe=k-C;return C+V*(oe>180||oe<-180?oe-360*Math.round(oe/360):oe)}function hf(C,k,V){return{h:Gu(C.h,k.h,V),c:Sl(C.c,k.c,V),l:Sl(C.l,k.l,V),alpha:Sl(C.alpha,k.alpha,V)}}var uc={forward:wu,reverse:Bf,interpolate:ul},Zc={forward:sf,reverse:xc,interpolate:hf},Nf=Object.freeze({__proto__:null,lab:uc,hcl:Zc}),Xl=function(k,V,oe,ge,Pe){this.type=k,this.operator=V,this.interpolation=oe,this.input=ge,this.labels=[],this.outputs=[];for(var qe=0,ft=Pe;qe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);ge={name:"cubic-bezier",controlPoints:Pt}}else return V.error("Unknown interpolation type "+String(ge[0]),1,0);if(k.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(k.length-1)+".");if((k.length-1)%2!==0)return V.error("Expected an even number of arguments.");if(Pe=V.parse(Pe,2,la),!Pe)return null;var Ut=[],Kt=null;oe==="interpolate-hcl"||oe==="interpolate-lab"?Kt=Ps:V.expectedType&&V.expectedType.kind!=="value"&&(Kt=V.expectedType);for(var _r=0;_r=Vr)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',dn);var mi=V.parse(Or,jn,Kt);if(!mi)return null;Kt=Kt||mi.type,Ut.push([Vr,mi])}return Kt.kind!=="number"&&Kt.kind!=="color"&&!(Kt.kind==="array"&&Kt.itemType.kind==="number"&&typeof Kt.N=="number")?V.error("Type "+Qs(Kt)+" is not interpolatable."):new Xl(Kt,oe,ge,Pe,Ut)},Xl.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge),ft=V[qe],Pt=V[qe+1],Ut=Xl.interpolationFactor(this.interpolation,ge,ft,Pt),Kt=oe[qe].evaluate(k),_r=oe[qe+1].evaluate(k);return this.operator==="interpolate"?Hu[this.type.kind.toLowerCase()](Kt,_r,Ut):this.operator==="interpolate-hcl"?Zc.reverse(Zc.interpolate(Zc.forward(Kt),Zc.forward(_r),Ut)):uc.reverse(uc.interpolate(uc.forward(Kt),uc.forward(_r),Ut))},Xl.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V=oe.length)throw new sl("Array index out of bounds: "+V+" > "+(oe.length-1)+".");if(V!==Math.floor(V))throw new sl("Array index must be an integer, but found "+V+" instead.");return oe[V]},cc.prototype.eachChild=function(k){k(this.index),k(this.input)},cc.prototype.outputDefined=function(){return!1},cc.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var zl=function(k,V){this.type=vo,this.needle=k,this.haystack=V};zl.parse=function(k,V){if(k.length!==3)return V.error("Expected 2 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);return!oe||!ge?null:kc(oe.type,[vo,Uo,la,wl,no])?new zl(oe,ge):V.error("Expected first argument to be of type boolean, string, number or null, but found "+Qs(oe.type)+" instead")},zl.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!oe)return!1;if(!Ju(V,["boolean","string","number","null"]))throw new sl("Expected first argument to be of type boolean, string, number or null, but found "+Qs(nl(V))+" instead.");if(!Ju(oe,["string","array"]))throw new sl("Expected second argument to be of type array or string, but found "+Qs(nl(oe))+" instead.");return oe.indexOf(V)>=0},zl.prototype.eachChild=function(k){k(this.needle),k(this.haystack)},zl.prototype.outputDefined=function(){return!0},zl.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var uu=function(k,V,oe){this.type=la,this.needle=k,this.haystack=V,this.fromIndex=oe};uu.parse=function(k,V){if(k.length<=2||k.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);if(!oe||!ge)return null;if(!kc(oe.type,[vo,Uo,la,wl,no]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+Qs(oe.type)+" instead");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new uu(oe,ge,Pe):null}else return new uu(oe,ge)},uu.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!Ju(V,["boolean","string","number","null"]))throw new sl("Expected first argument to be of type boolean, string, number or null, but found "+Qs(nl(V))+" instead.");if(!Ju(oe,["string","array"]))throw new sl("Expected second argument to be of type array or string, but found "+Qs(nl(oe))+" instead.");if(this.fromIndex){var ge=this.fromIndex.evaluate(k);return oe.indexOf(V,ge)}return oe.indexOf(V)},uu.prototype.eachChild=function(k){k(this.needle),k(this.haystack),this.fromIndex&&k(this.fromIndex)},uu.prototype.outputDefined=function(){return!1},uu.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var k=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),k]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var fc=function(k,V,oe,ge,Pe,qe){this.inputType=k,this.type=V,this.input=oe,this.cases=ge,this.outputs=Pe,this.otherwise=qe};fc.parse=function(k,V){if(k.length<5)return V.error("Expected at least 4 arguments, but found only "+(k.length-1)+".");if(k.length%2!==1)return V.error("Expected an even number of arguments.");var oe,ge;V.expectedType&&V.expectedType.kind!=="value"&&(ge=V.expectedType);for(var Pe={},qe=[],ft=2;ftNumber.MAX_SAFE_INTEGER)return Kt.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Or=="number"&&Math.floor(Or)!==Or)return Kt.error("Numeric branch labels must be integer values.");if(!oe)oe=nl(Or);else if(Kt.checkSubtype(oe,nl(Or)))return null;if(typeof Pe[String(Or)]<"u")return Kt.error("Branch labels must be unique.");Pe[String(Or)]=qe.length}var dn=V.parse(Ut,ft,ge);if(!dn)return null;ge=ge||dn.type,qe.push(dn)}var jn=V.parse(k[1],1,no);if(!jn)return null;var mi=V.parse(k[k.length-1],k.length-1,ge);return!mi||jn.type.kind!=="value"&&V.concat(1).checkSubtype(oe,jn.type)?null:new fc(oe,ge,jn,Pe,qe,mi)},fc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=nl(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise;return oe.evaluate(k)},fc.prototype.eachChild=function(k){k(this.input),this.outputs.forEach(k),k(this.otherwise)},fc.prototype.outputDefined=function(){return this.outputs.every(function(k){return k.outputDefined()})&&this.otherwise.outputDefined()},fc.prototype.serialize=function(){for(var k=this,V=["match",this.input.serialize()],oe=Object.keys(this.cases).sort(),ge=[],Pe={},qe=0,ft=oe;qe=5)return V.error("Expected 3 or 4 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,la);if(!oe||!ge)return null;if(!kc(oe.type,[Rl(no),Uo,no]))return V.error("Expected first argument to be of type array or string, but found "+Qs(oe.type)+" instead");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new rc(oe.type,oe,ge,Pe):null}else return new rc(oe.type,oe,ge)},rc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=this.beginIndex.evaluate(k);if(!Ju(V,["string","array"]))throw new sl("Expected first argument to be of type array or string, but found "+Qs(nl(V))+" instead.");if(this.endIndex){var ge=this.endIndex.evaluate(k);return V.slice(oe,ge)}return V.slice(oe)},rc.prototype.eachChild=function(k){k(this.input),k(this.beginIndex),this.endIndex&&k(this.endIndex)},rc.prototype.outputDefined=function(){return!1},rc.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var k=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),k]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};function Yc(C,k){return C==="=="||C==="!="?k.kind==="boolean"||k.kind==="string"||k.kind==="number"||k.kind==="null"||k.kind==="value":k.kind==="string"||k.kind==="number"||k.kind==="value"}function Yt(C,k,V){return k===V}function dr(C,k,V){return k!==V}function tn(C,k,V){return kV}function Cn(C,k,V){return k<=V}function si(C,k,V){return k>=V}function yi(C,k,V,oe){return oe.compare(k,V)===0}function Di(C,k,V,oe){return!yi(C,k,V,oe)}function Wi(C,k,V,oe){return oe.compare(k,V)<0}function aa(C,k,V,oe){return oe.compare(k,V)>0}function bi(C,k,V,oe){return oe.compare(k,V)<=0}function zi(C,k,V,oe){return oe.compare(k,V)>=0}function Li(C,k,V){var oe=C!=="=="&&C!=="!=";return function(){function ge(Pe,qe,ft){this.type=vo,this.lhs=Pe,this.rhs=qe,this.collator=ft,this.hasUntypedArgument=Pe.type.kind==="value"||qe.type.kind==="value"}return ge.parse=function(qe,ft){if(qe.length!==3&&qe.length!==4)return ft.error("Expected two or three arguments.");var Pt=qe[0],Ut=ft.parse(qe[1],1,no);if(!Ut)return null;if(!Yc(Pt,Ut.type))return ft.concat(1).error('"'+Pt+`" comparisons are not supported for type '`+Qs(Ut.type)+"'.");var Kt=ft.parse(qe[2],2,no);if(!Kt)return null;if(!Yc(Pt,Kt.type))return ft.concat(2).error('"'+Pt+`" comparisons are not supported for type '`+Qs(Kt.type)+"'.");if(Ut.type.kind!==Kt.type.kind&&Ut.type.kind!=="value"&&Kt.type.kind!=="value")return ft.error("Cannot compare types '"+Qs(Ut.type)+"' and '"+Qs(Kt.type)+"'.");oe&&(Ut.type.kind==="value"&&Kt.type.kind!=="value"?Ut=new jl(Kt.type,[Ut]):Ut.type.kind!=="value"&&Kt.type.kind==="value"&&(Kt=new jl(Ut.type,[Kt])));var _r=null;if(qe.length===4){if(Ut.type.kind!=="string"&&Kt.type.kind!=="string"&&Ut.type.kind!=="value"&&Kt.type.kind!=="value")return ft.error("Cannot use collator to compare non-string types.");if(_r=ft.parse(qe[3],3,Ku),!_r)return null}return new ge(Ut,Kt,_r)},ge.prototype.evaluate=function(qe){var ft=this.lhs.evaluate(qe),Pt=this.rhs.evaluate(qe);if(oe&&this.hasUntypedArgument){var Ut=nl(ft),Kt=nl(Pt);if(Ut.kind!==Kt.kind||!(Ut.kind==="string"||Ut.kind==="number"))throw new sl('Expected arguments for "'+C+'" to be (string, string) or (number, number), but found ('+Ut.kind+", "+Kt.kind+") instead.")}if(this.collator&&!oe&&this.hasUntypedArgument){var _r=nl(ft),Vr=nl(Pt);if(_r.kind!=="string"||Vr.kind!=="string")return k(qe,ft,Pt)}return this.collator?V(qe,ft,Pt,this.collator.evaluate(qe)):k(qe,ft,Pt)},ge.prototype.eachChild=function(qe){qe(this.lhs),qe(this.rhs),this.collator&&qe(this.collator)},ge.prototype.outputDefined=function(){return!0},ge.prototype.serialize=function(){var qe=[C];return this.eachChild(function(ft){qe.push(ft.serialize())}),qe},ge}()}var di=Li("==",Yt,yi),wa=Li("!=",dr,Di),po=Li("<",tn,Wi),co=Li(">",Wr,aa),mo=Li("<=",Cn,bi),Ao=Li(">=",si,zi),xa=function(k,V,oe,ge,Pe){this.type=Uo,this.number=k,this.locale=V,this.currency=oe,this.minFractionDigits=ge,this.maxFractionDigits=Pe};xa.parse=function(k,V){if(k.length!==3)return V.error("Expected two arguments.");var oe=V.parse(k[1],1,la);if(!oe)return null;var ge=k[2];if(typeof ge!="object"||Array.isArray(ge))return V.error("NumberFormat options argument must be an object.");var Pe=null;if(ge.locale&&(Pe=V.parse(ge.locale,1,Uo),!Pe))return null;var qe=null;if(ge.currency&&(qe=V.parse(ge.currency,1,Uo),!qe))return null;var ft=null;if(ge["min-fraction-digits"]&&(ft=V.parse(ge["min-fraction-digits"],1,la),!ft))return null;var Pt=null;return ge["max-fraction-digits"]&&(Pt=V.parse(ge["max-fraction-digits"],1,la),!Pt)?null:new xa(oe,Pe,qe,ft,Pt)},xa.prototype.evaluate=function(k){return new Intl.NumberFormat(this.locale?this.locale.evaluate(k):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(k):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(k):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(k):void 0}).format(this.number.evaluate(k))},xa.prototype.eachChild=function(k){k(this.number),this.locale&&k(this.locale),this.currency&&k(this.currency),this.minFractionDigits&&k(this.minFractionDigits),this.maxFractionDigits&&k(this.maxFractionDigits)},xa.prototype.outputDefined=function(){return!1},xa.prototype.serialize=function(){var k={};return this.locale&&(k.locale=this.locale.serialize()),this.currency&&(k.currency=this.currency.serialize()),this.minFractionDigits&&(k["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(k["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),k]};var Qi=function(k){this.type=la,this.input=k};Qi.parse=function(k,V){if(k.length!==2)return V.error("Expected 1 argument, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1);return oe?oe.type.kind!=="array"&&oe.type.kind!=="string"&&oe.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+Qs(oe.type)+" instead."):new Qi(oe):null},Qi.prototype.evaluate=function(k){var V=this.input.evaluate(k);if(typeof V=="string")return V.length;if(Array.isArray(V))return V.length;throw new sl("Expected value to be of type string or array, but found "+Qs(nl(V))+" instead.")},Qi.prototype.eachChild=function(k){k(this.input)},Qi.prototype.outputDefined=function(){return!1},Qi.prototype.serialize=function(){var k=["length"];return this.eachChild(function(V){k.push(V.serialize())}),k};var Lo={"==":di,"!=":wa,">":co,"<":po,">=":Ao,"<=":mo,array:jl,at:cc,boolean:jl,case:Dc,coalesce:Wu,collator:Qu,format:$u,image:ll,in:zl,"index-of":uu,interpolate:Xl,"interpolate-hcl":Xl,"interpolate-lab":Xl,length:Qi,let:bc,literal:Zs,match:fc,number:jl,"number-format":xa,object:jl,slice:rc,step:xu,string:jl,"to-boolean":ds,"to-color":ds,"to-number":ds,"to-string":ds,var:yc,within:Iu};function as(C,k){var V=k[0],oe=k[1],ge=k[2],Pe=k[3];V=V.evaluate(C),oe=oe.evaluate(C),ge=ge.evaluate(C);var qe=Pe?Pe.evaluate(C):1,ft=oc(V,oe,ge,qe);if(ft)throw new sl(ft);return new qs(V/255*qe,oe/255*qe,ge/255*qe,qe)}function Ds(C,k){return C in k}function il(C,k){var V=k[C];return typeof V>"u"?null:V}function Ns(C,k,V,oe){for(;V<=oe;){var ge=V+oe>>1;if(k[ge]===C)return!0;k[ge]>C?oe=ge-1:V=ge+1}return!1}function el(C){return{type:C}}Vo.register(Lo,{error:[$l,[Uo],function(C,k){var V=k[0];throw new sl(V.evaluate(C))}],typeof:[Uo,[no],function(C,k){var V=k[0];return Qs(nl(V.evaluate(C)))}],"to-rgba":[Rl(la,4),[Ps],function(C,k){var V=k[0];return V.evaluate(C).toArray()}],rgb:[Ps,[la,la,la],as],rgba:[Ps,[la,la,la,la],as],has:{type:vo,overloads:[[[Uo],function(C,k){var V=k[0];return Ds(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return Ds(V.evaluate(C),oe.evaluate(C))}]]},get:{type:no,overloads:[[[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return il(V.evaluate(C),oe.evaluate(C))}]]},"feature-state":[no,[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.featureState||{})}],properties:[ls,[],function(C){return C.properties()}],"geometry-type":[Uo,[],function(C){return C.geometryType()}],id:[no,[],function(C){return C.id()}],zoom:[la,[],function(C){return C.globals.zoom}],"heatmap-density":[la,[],function(C){return C.globals.heatmapDensity||0}],"line-progress":[la,[],function(C){return C.globals.lineProgress||0}],accumulated:[no,[],function(C){return C.globals.accumulated===void 0?null:C.globals.accumulated}],"+":[la,el(la),function(C,k){for(var V=0,oe=0,ge=k;oe":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>Pe}],"filter-id->":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>ge}],"filter-<=":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge<=Pe}],"filter-id-<=":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe<=ge}],"filter->=":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>=Pe}],"filter-id->=":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>=ge}],"filter-has":[vo,[no],function(C,k){var V=k[0];return V.value in C.properties()}],"filter-has-id":[vo,[],function(C){return C.id()!==null&&C.id()!==void 0}],"filter-type-in":[vo,[Rl(Uo)],function(C,k){var V=k[0];return V.value.indexOf(C.geometryType())>=0}],"filter-id-in":[vo,[Rl(no)],function(C,k){var V=k[0];return V.value.indexOf(C.id())>=0}],"filter-in-small":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return oe.value.indexOf(C.properties()[V.value])>=0}],"filter-in-large":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return Ns(C.properties()[V.value],oe.value,0,oe.value.length-1)}],all:{type:vo,overloads:[[[vo,vo],function(C,k){var V=k[0],oe=k[1];return V.evaluate(C)&&oe.evaluate(C)}],[el(vo),function(C,k){for(var V=0,oe=k;V-1}function Za(C){return!!C.expression&&C.expression.interpolated}function jo(C){return C instanceof Number?"number":C instanceof String?"string":C instanceof Boolean?"boolean":Array.isArray(C)?"array":C===null?"null":typeof C}function Js(C){return typeof C=="object"&&C!==null&&!Array.isArray(C)}function zs(C){return C}function cu(C,k){var V=k.type==="color",oe=C.stops&&typeof C.stops[0][0]=="object",ge=oe||C.property!==void 0,Pe=oe||!ge,qe=C.type||(Za(k)?"exponential":"interval");if(V&&(C=Xs({},C),C.stops&&(C.stops=C.stops.map(function(Ua){return[Ua[0],qs.parse(Ua[1])]})),C.default?C.default=qs.parse(C.default):C.default=qs.parse(k.default)),C.colorSpace&&C.colorSpace!=="rgb"&&!Nf[C.colorSpace])throw new Error("Unknown color space: "+C.colorSpace);var ft,Pt,Ut;if(qe==="exponential")ft=Tu;else if(qe==="interval")ft=Kc;else if(qe==="categorical"){ft=nc,Pt=Object.create(null);for(var Kt=0,_r=C.stops;Kt<_r.length;Kt+=1){var Vr=_r[Kt];Pt[Vr[0]]=Vr[1]}Ut=typeof C.stops[0][0]}else if(qe==="identity")ft=zc;else throw new Error('Unknown function type "'+qe+'"');if(oe){for(var Or={},dn=[],jn=0;jn=C.stops[oe-1][0])return C.stops[oe-1][1];var ge=tc(C.stops.map(function(Pe){return Pe[0]}),V);return C.stops[ge][1]}function Tu(C,k,V){var oe=C.base!==void 0?C.base:1;if(jo(V)!=="number")return zu(C.default,k.default);var ge=C.stops.length;if(ge===1||V<=C.stops[0][0])return C.stops[0][1];if(V>=C.stops[ge-1][0])return C.stops[ge-1][1];var Pe=tc(C.stops.map(function(_r){return _r[0]}),V),qe=Fu(V,oe,C.stops[Pe][0],C.stops[Pe+1][0]),ft=C.stops[Pe][1],Pt=C.stops[Pe+1][1],Ut=Hu[k.type]||zs;if(C.colorSpace&&C.colorSpace!=="rgb"){var Kt=Nf[C.colorSpace];Ut=function(_r,Vr){return Kt.reverse(Kt.interpolate(Kt.forward(_r),Kt.forward(Vr),qe))}}return typeof ft.evaluate=="function"?{evaluate:function(){for(var Vr=[],Or=arguments.length;Or--;)Vr[Or]=arguments[Or];var dn=ft.evaluate.apply(void 0,Vr),jn=Pt.evaluate.apply(void 0,Vr);if(!(dn===void 0||jn===void 0))return Ut(dn,jn,qe)}}:Ut(ft,Pt,qe)}function zc(C,k,V){return k.type==="color"?V=qs.parse(V):k.type==="formatted"?V=Ql.fromString(V.toString()):k.type==="resolvedImage"?V=Al.fromString(V.toString()):jo(V)!==k.type&&(k.type!=="enum"||!k.values[V])&&(V=void 0),zu(V,C.default,k.default)}function Fu(C,k,V,oe){var ge=oe-V,Pe=C-V;return ge===0?0:k===1?Pe/ge:(Math.pow(k,Pe)-1)/(Math.pow(k,ge)-1)}var wc=function(k,V){this.expression=k,this._warningHistory={},this._evaluator=new Bs,this._defaultValue=V?Ae(V):null,this._enumValues=V&&V.type==="enum"?V.values:null};wc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._evaluator.globals=k,this._evaluator.feature=V,this._evaluator.featureState=oe,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe,this.expression.evaluate(this._evaluator)},wc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){this._evaluator.globals=k,this._evaluator.feature=V||null,this._evaluator.featureState=oe||null,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe||null;try{var ft=this.expression.evaluate(this._evaluator);if(ft==null||typeof ft=="number"&&ft!==ft)return this._defaultValue;if(this._enumValues&&!(ft in this._enumValues))throw new sl("Expected value to be one of "+Object.keys(this._enumValues).map(function(Pt){return JSON.stringify(Pt)}).join(", ")+", but found "+JSON.stringify(ft)+" instead.");return ft}catch(Pt){return this._warningHistory[Pt.message]||(this._warningHistory[Pt.message]=!0,typeof console<"u"&&console.warn(Pt.message)),this._defaultValue}};function bo(C){return Array.isArray(C)&&C.length>0&&typeof C[0]=="string"&&C[0]in Lo}function Wo(C,k){var V=new Dl(Lo,[],k?be(k):void 0),oe=V.parse(C,void 0,void 0,void 0,k&&k.type==="string"?{typeAnnotation:"coerce"}:void 0);return oe?Es(new wc(oe,k)):Bl(V.errors)}var Fc=function(k,V){this.kind=k,this._styleExpression=V,this.isStateDependent=k!=="constant"&&!su(V.expression)};Fc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},Fc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)};var hc=function(k,V,oe,ge){this.kind=k,this.zoomStops=oe,this._styleExpression=V,this.isStateDependent=k!=="camera"&&!su(V.expression),this.interpolationType=ge};hc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},hc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)},hc.prototype.interpolationFactor=function(k,V,oe){return this.interpolationType?Xl.interpolationFactor(this.interpolationType,k,V,oe):0};function dc(C,k){if(C=Wo(C,k),C.result==="error")return C;var V=C.value.expression,oe=eh(V);if(!oe&&!_l(k))return Bl([new As("","data expressions not supported")]);var ge=Ru(V,["zoom"]);if(!ge&&!cl(k))return Bl([new As("","zoom expressions not supported")]);var Pe=ne(V);if(!Pe&&!ge)return Bl([new As("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Pe instanceof As)return Bl([Pe]);if(Pe instanceof Xl&&!Za(k))return Bl([new As("",'"interpolate" expressions cannot be used with this property')]);if(!Pe)return Es(oe?new Fc("constant",C.value):new Fc("source",C.value));var qe=Pe instanceof Xl?Pe.interpolation:void 0;return Es(oe?new hc("camera",C.value,Pe.labels,qe):new hc("composite",C.value,Pe.labels,qe))}var Ne=function(k,V){this._parameters=k,this._specification=V,Xs(this,cu(this._parameters,this._specification))};Ne.deserialize=function(k){return new Ne(k._parameters,k._specification)},Ne.serialize=function(k){return{_parameters:k._parameters,_specification:k._specification}};function R(C,k){if(Js(C))return new Ne(C,k);if(bo(C)){var V=dc(C,k);if(V.result==="error")throw new Error(V.value.map(function(ge){return ge.key+": "+ge.message}).join(", "));return V.value}else{var oe=C;return typeof C=="string"&&k.type==="color"&&(oe=qs.parse(C)),{kind:"constant",evaluate:function(){return oe}}}}function ne(C){var k=null;if(C instanceof bc)k=ne(C.result);else if(C instanceof Wu)for(var V=0,oe=C.args;Voe.maximum?[new Da(k,V,V+" is greater than the maximum value "+oe.maximum)]:[]}function zt(C){var k=C.valueSpec,V=Eo(C.value.type),oe,ge={},Pe,qe,ft=V!=="categorical"&&C.value.property===void 0,Pt=!ft,Ut=jo(C.value.stops)==="array"&&jo(C.value.stops[0])==="array"&&jo(C.value.stops[0][0])==="object",Kt=Fe({key:C.key,value:C.value,valueSpec:C.styleSpec.function,style:C.style,styleSpec:C.styleSpec,objectElementValidators:{stops:_r,default:dn}});return V==="identity"&&ft&&Kt.push(new Da(C.key,C.value,'missing required property "property"')),V!=="identity"&&!C.value.stops&&Kt.push(new Da(C.key,C.value,'missing required property "stops"')),V==="exponential"&&C.valueSpec.expression&&!Za(C.valueSpec)&&Kt.push(new Da(C.key,C.value,"exponential functions not supported")),C.styleSpec.$version>=8&&(Pt&&!_l(C.valueSpec)?Kt.push(new Da(C.key,C.value,"property functions not supported")):ft&&!cl(C.valueSpec)&&Kt.push(new Da(C.key,C.value,"zoom functions not supported"))),(V==="categorical"||Ut)&&C.value.property===void 0&&Kt.push(new Da(C.key,C.value,'"property" property is required')),Kt;function _r(jn){if(V==="identity")return[new Da(jn.key,jn.value,'identity function may not have a "stops" property')];var mi=[],ii=jn.value;return mi=mi.concat(ht({key:jn.key,value:ii,valueSpec:jn.valueSpec,style:jn.style,styleSpec:jn.styleSpec,arrayElementValidator:Vr})),jo(ii)==="array"&&ii.length===0&&mi.push(new Da(jn.key,ii,"array must have at least one stop")),mi}function Vr(jn){var mi=[],ii=jn.value,Vi=jn.key;if(jo(ii)!=="array")return[new Da(Vi,ii,"array expected, "+jo(ii)+" found")];if(ii.length!==2)return[new Da(Vi,ii,"array length 2 expected, length "+ii.length+" found")];if(Ut){if(jo(ii[0])!=="object")return[new Da(Vi,ii,"object expected, "+jo(ii[0])+" found")];if(ii[0].zoom===void 0)return[new Da(Vi,ii,"object stop key must have zoom")];if(ii[0].value===void 0)return[new Da(Vi,ii,"object stop key must have value")];if(qe&&qe>Eo(ii[0].zoom))return[new Da(Vi,ii[0].zoom,"stop zoom values must appear in ascending order")];Eo(ii[0].zoom)!==qe&&(qe=Eo(ii[0].zoom),Pe=void 0,ge={}),mi=mi.concat(Fe({key:Vi+"[0]",value:ii[0],valueSpec:{zoom:{}},style:jn.style,styleSpec:jn.styleSpec,objectElementValidators:{zoom:wt,value:Or}}))}else mi=mi.concat(Or({key:Vi+"[0]",value:ii[0],valueSpec:{},style:jn.style,styleSpec:jn.styleSpec},ii));return bo(Ys(ii[1]))?mi.concat([new Da(Vi+"[1]",ii[1],"expressions are not allowed in function stops.")]):mi.concat(Fo({key:Vi+"[1]",value:ii[1],valueSpec:k,style:jn.style,styleSpec:jn.styleSpec}))}function Or(jn,mi){var ii=jo(jn.value),Vi=Eo(jn.value),Ai=jn.value!==null?jn.value:mi;if(!oe)oe=ii;else if(ii!==oe)return[new Da(jn.key,Ai,ii+" stop domain type must match previous stop domain type "+oe)];if(ii!=="number"&&ii!=="string"&&ii!=="boolean")return[new Da(jn.key,Ai,"stop domain value must be a number, string, or boolean")];if(ii!=="number"&&V!=="categorical"){var ji="number expected, "+ii+" found";return _l(k)&&V===void 0&&(ji+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Da(jn.key,Ai,ji)]}return V==="categorical"&&ii==="number"&&(!isFinite(Vi)||Math.floor(Vi)!==Vi)?[new Da(jn.key,Ai,"integer expected, found "+Vi)]:V!=="categorical"&&ii==="number"&&Pe!==void 0&&Vi=2&&C[1]!=="$id"&&C[1]!=="$type";case"in":return C.length>=3&&(typeof C[1]!="string"||Array.isArray(C[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return C.length!==3||Array.isArray(C[1])||Array.isArray(C[2]);case"any":case"all":for(var k=0,V=C.slice(1);kk?1:0}function dt(C){if(!Array.isArray(C))return!1;if(C[0]==="within")return!0;for(var k=1;k"||k==="<="||k===">="?xt(C[1],C[2],k):k==="any"?It(C.slice(1)):k==="all"?["all"].concat(C.slice(1).map(St)):k==="none"?["all"].concat(C.slice(1).map(St).map(pr)):k==="in"?rr(C[1],C.slice(2)):k==="!in"?pr(rr(C[1],C.slice(2))):k==="has"?sr(C[1]):k==="!has"?pr(sr(C[1])):k==="within"?C:!0;return V}function xt(C,k,V){switch(C){case"$type":return["filter-type-"+V,k];case"$id":return["filter-id-"+V,k];default:return["filter-"+V,C,k]}}function It(C){return["any"].concat(C.map(St))}function rr(C,k){if(k.length===0)return!1;switch(C){case"$type":return["filter-type-in",["literal",k]];case"$id":return["filter-id-in",["literal",k]];default:return k.length>200&&!k.some(function(V){return typeof V!=typeof k[0]})?["filter-in-large",C,["literal",k.sort(st)]]:["filter-in-small",C,["literal",k]]}}function sr(C){switch(C){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",C]}}function pr(C){return["!",C]}function kr(C){return ln(Ys(C.value))?Jt(Xs({},C,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Yr(C)}function Yr(C){var k=C.value,V=C.key;if(jo(k)!=="array")return[new Da(V,k,"array expected, "+jo(k)+" found")];var oe=C.styleSpec,ge,Pe=[];if(k.length<1)return[new Da(V,k,"filter array must have at least 1 element")];switch(Pe=Pe.concat(Hr({key:V+"[0]",value:k[0],valueSpec:oe.filter_operator,style:C.style,styleSpec:C.styleSpec})),Eo(k[0])){case"<":case"<=":case">":case">=":k.length>=2&&Eo(k[1])==="$type"&&Pe.push(new Da(V,k,'"$type" cannot be use with operator "'+k[0]+'"'));case"==":case"!=":k.length!==3&&Pe.push(new Da(V,k,'filter array for operator "'+k[0]+'" must have 3 elements'));case"in":case"!in":k.length>=2&&(ge=jo(k[1]),ge!=="string"&&Pe.push(new Da(V+"[1]",k[1],"string expected, "+ge+" found")));for(var qe=2;qe=Kt[Or+0]&&oe>=Kt[Or+1])?(qe[Vr]=!0,Pe.push(Ut[Vr])):qe[Vr]=!1}}},fu.prototype._forEachCell=function(C,k,V,oe,ge,Pe,qe,ft){for(var Pt=this._convertToCellCoord(C),Ut=this._convertToCellCoord(k),Kt=this._convertToCellCoord(V),_r=this._convertToCellCoord(oe),Vr=Pt;Vr<=Kt;Vr++)for(var Or=Ut;Or<=_r;Or++){var dn=this.d*Or+Vr;if(!(ft&&!ft(this._convertFromCellCoord(Vr),this._convertFromCellCoord(Or),this._convertFromCellCoord(Vr+1),this._convertFromCellCoord(Or+1)))&&ge.call(this,C,k,V,oe,dn,Pe,qe,ft))return}},fu.prototype._convertFromCellCoord=function(C){return(C-this.padding)/this.scale},fu.prototype._convertToCellCoord=function(C){return Math.max(0,Math.min(this.d-1,Math.floor(C*this.scale)+this.padding))},fu.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var C=this.cells,k=El+this.cells.length+1+1,V=0,oe=0;oe=0)){var _r=C[Kt];Ut[Kt]=Yl[Pt].shallow.indexOf(Kt)>=0?_r:mt(_r,k)}C instanceof Error&&(Ut.message=C.message)}if(Ut.$name)throw new Error("$name property is reserved for worker serialization logic.");return Pt!=="Object"&&(Ut.$name=Pt),Ut}throw new Error("can't serialize object of type "+typeof C)}function Tt(C){if(C==null||typeof C=="boolean"||typeof C=="number"||typeof C=="string"||C instanceof Boolean||C instanceof Number||C instanceof String||C instanceof Date||C instanceof RegExp||Qe(C)||vt(C)||ArrayBuffer.isView(C)||C instanceof Tc)return C;if(Array.isArray(C))return C.map(Tt);if(typeof C=="object"){var k=C.$name||"Object",V=Yl[k],oe=V.klass;if(!oe)throw new Error("can't deserialize unregistered class "+k);if(oe.deserialize)return oe.deserialize(C);for(var ge=Object.create(oe.prototype),Pe=0,qe=Object.keys(C);Pe=0?Pt:Tt(Pt)}}return ge}throw new Error("can't deserialize object of type "+typeof C)}var Qt=function(){this.first=!0};Qt.prototype.update=function(k,V){var oe=Math.floor(k);return this.first?(this.first=!1,this.lastIntegerZoom=oe,this.lastIntegerZoomTime=0,this.lastZoom=k,this.lastFloorZoom=oe,!0):(this.lastFloorZoom>oe?(this.lastIntegerZoom=oe+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&C<=255},Arabic:function(C){return C>=1536&&C<=1791},"Arabic Supplement":function(C){return C>=1872&&C<=1919},"Arabic Extended-A":function(C){return C>=2208&&C<=2303},"Hangul Jamo":function(C){return C>=4352&&C<=4607},"Unified Canadian Aboriginal Syllabics":function(C){return C>=5120&&C<=5759},Khmer:function(C){return C>=6016&&C<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(C){return C>=6320&&C<=6399},"General Punctuation":function(C){return C>=8192&&C<=8303},"Letterlike Symbols":function(C){return C>=8448&&C<=8527},"Number Forms":function(C){return C>=8528&&C<=8591},"Miscellaneous Technical":function(C){return C>=8960&&C<=9215},"Control Pictures":function(C){return C>=9216&&C<=9279},"Optical Character Recognition":function(C){return C>=9280&&C<=9311},"Enclosed Alphanumerics":function(C){return C>=9312&&C<=9471},"Geometric Shapes":function(C){return C>=9632&&C<=9727},"Miscellaneous Symbols":function(C){return C>=9728&&C<=9983},"Miscellaneous Symbols and Arrows":function(C){return C>=11008&&C<=11263},"CJK Radicals Supplement":function(C){return C>=11904&&C<=12031},"Kangxi Radicals":function(C){return C>=12032&&C<=12255},"Ideographic Description Characters":function(C){return C>=12272&&C<=12287},"CJK Symbols and Punctuation":function(C){return C>=12288&&C<=12351},Hiragana:function(C){return C>=12352&&C<=12447},Katakana:function(C){return C>=12448&&C<=12543},Bopomofo:function(C){return C>=12544&&C<=12591},"Hangul Compatibility Jamo":function(C){return C>=12592&&C<=12687},Kanbun:function(C){return C>=12688&&C<=12703},"Bopomofo Extended":function(C){return C>=12704&&C<=12735},"CJK Strokes":function(C){return C>=12736&&C<=12783},"Katakana Phonetic Extensions":function(C){return C>=12784&&C<=12799},"Enclosed CJK Letters and Months":function(C){return C>=12800&&C<=13055},"CJK Compatibility":function(C){return C>=13056&&C<=13311},"CJK Unified Ideographs Extension A":function(C){return C>=13312&&C<=19903},"Yijing Hexagram Symbols":function(C){return C>=19904&&C<=19967},"CJK Unified Ideographs":function(C){return C>=19968&&C<=40959},"Yi Syllables":function(C){return C>=40960&&C<=42127},"Yi Radicals":function(C){return C>=42128&&C<=42191},"Hangul Jamo Extended-A":function(C){return C>=43360&&C<=43391},"Hangul Syllables":function(C){return C>=44032&&C<=55215},"Hangul Jamo Extended-B":function(C){return C>=55216&&C<=55295},"Private Use Area":function(C){return C>=57344&&C<=63743},"CJK Compatibility Ideographs":function(C){return C>=63744&&C<=64255},"Arabic Presentation Forms-A":function(C){return C>=64336&&C<=65023},"Vertical Forms":function(C){return C>=65040&&C<=65055},"CJK Compatibility Forms":function(C){return C>=65072&&C<=65103},"Small Form Variants":function(C){return C>=65104&&C<=65135},"Arabic Presentation Forms-B":function(C){return C>=65136&&C<=65279},"Halfwidth and Fullwidth Forms":function(C){return C>=65280&&C<=65519}};function lr(C){for(var k=0,V=C;k=65097&&C<=65103)||Dt["CJK Compatibility Ideographs"](C)||Dt["CJK Compatibility"](C)||Dt["CJK Radicals Supplement"](C)||Dt["CJK Strokes"](C)||Dt["CJK Symbols and Punctuation"](C)&&!(C>=12296&&C<=12305)&&!(C>=12308&&C<=12319)&&C!==12336||Dt["CJK Unified Ideographs Extension A"](C)||Dt["CJK Unified Ideographs"](C)||Dt["Enclosed CJK Letters and Months"](C)||Dt["Hangul Compatibility Jamo"](C)||Dt["Hangul Jamo Extended-A"](C)||Dt["Hangul Jamo Extended-B"](C)||Dt["Hangul Jamo"](C)||Dt["Hangul Syllables"](C)||Dt.Hiragana(C)||Dt["Ideographic Description Characters"](C)||Dt.Kanbun(C)||Dt["Kangxi Radicals"](C)||Dt["Katakana Phonetic Extensions"](C)||Dt.Katakana(C)&&C!==12540||Dt["Halfwidth and Fullwidth Forms"](C)&&C!==65288&&C!==65289&&C!==65293&&!(C>=65306&&C<=65310)&&C!==65339&&C!==65341&&C!==65343&&!(C>=65371&&C<=65503)&&C!==65507&&!(C>=65512&&C<=65519)||Dt["Small Form Variants"](C)&&!(C>=65112&&C<=65118)&&!(C>=65123&&C<=65126)||Dt["Unified Canadian Aboriginal Syllabics"](C)||Dt["Unified Canadian Aboriginal Syllabics Extended"](C)||Dt["Vertical Forms"](C)||Dt["Yijing Hexagram Symbols"](C)||Dt["Yi Syllables"](C)||Dt["Yi Radicals"](C))}function ti(C){return!!(Dt["Latin-1 Supplement"](C)&&(C===167||C===169||C===174||C===177||C===188||C===189||C===190||C===215||C===247)||Dt["General Punctuation"](C)&&(C===8214||C===8224||C===8225||C===8240||C===8241||C===8251||C===8252||C===8258||C===8263||C===8264||C===8265||C===8273)||Dt["Letterlike Symbols"](C)||Dt["Number Forms"](C)||Dt["Miscellaneous Technical"](C)&&(C>=8960&&C<=8967||C>=8972&&C<=8991||C>=8996&&C<=9e3||C===9003||C>=9085&&C<=9114||C>=9150&&C<=9165||C===9167||C>=9169&&C<=9179||C>=9186&&C<=9215)||Dt["Control Pictures"](C)&&C!==9251||Dt["Optical Character Recognition"](C)||Dt["Enclosed Alphanumerics"](C)||Dt["Geometric Shapes"](C)||Dt["Miscellaneous Symbols"](C)&&!(C>=9754&&C<=9759)||Dt["Miscellaneous Symbols and Arrows"](C)&&(C>=11026&&C<=11055||C>=11088&&C<=11097||C>=11192&&C<=11243)||Dt["CJK Symbols and Punctuation"](C)||Dt.Katakana(C)||Dt["Private Use Area"](C)||Dt["CJK Compatibility Forms"](C)||Dt["Small Form Variants"](C)||Dt["Halfwidth and Fullwidth Forms"](C)||C===8734||C===8756||C===8757||C>=9984&&C<=10087||C>=10102&&C<=10131||C===65532||C===65533)}function ai(C){return!(yn(C)||ti(C))}function En(C){return Dt.Arabic(C)||Dt["Arabic Supplement"](C)||Dt["Arabic Extended-A"](C)||Dt["Arabic Presentation Forms-A"](C)||Dt["Arabic Presentation Forms-B"](C)}function qn(C){return C>=1424&&C<=2303||Dt["Arabic Presentation Forms-A"](C)||Dt["Arabic Presentation Forms-B"](C)}function Jn(C,k){return!(!k&&qn(C)||C>=2304&&C<=3583||C>=3840&&C<=4255||Dt.Khmer(C))}function ci(C){for(var k=0,V=C;k-1&&(oa=Hn.error),ta&&ta(C)};function io(){oo.fire(new Lr("pluginStateChange",{pluginStatus:oa,pluginURL:_a}))}var oo=new Dr,Qo=function(){return oa},uo=function(C){return C({pluginStatus:oa,pluginURL:_a}),oo.on("pluginStateChange",C),C},Jo=function(C,k,V){if(V===void 0&&(V=!1),oa===Hn.deferred||oa===Hn.loading||oa===Hn.loaded)throw new Error("setRTLTextPlugin cannot be called multiple times.");_a=xe.resolveURL(C),oa=Hn.deferred,ta=k,io(),V||ol()},ol=function(){if(oa!==Hn.deferred||!_a)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");oa=Hn.loading,io(),_a&&xn({url:_a},function(C){C?La(C):(oa=Hn.loaded,io())})},tl={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return oa===Hn.loaded||tl.applyArabicShaping!=null},isLoading:function(){return oa===Hn.loading},setState:function(k){oa=k.pluginStatus,_a=k.pluginURL},isParsed:function(){return tl.applyArabicShaping!=null&&tl.processBidirectionalText!=null&&tl.processStyledBidirectionalText!=null},getPluginURL:function(){return _a}},ml=function(){!tl.isLoading()&&!tl.isLoaded()&&Qo()==="deferred"&&ol()},ua=function(k,V){this.zoom=k,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Qt,this.transition={})};ua.prototype.isSupportedScript=function(k){return oi(k,tl.isLoaded())},ua.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ua.prototype.getCrossfadeParameters=function(){var k=this.zoom,V=k-Math.floor(k),oe=this.crossFadingFactor();return k>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*oe}:{fromScale:.5,toScale:1,t:1-(1-oe)*V}};var wo=function(k,V){this.property=k,this.value=V,this.expression=R(V===void 0?k.specification.default:V,k.specification)};wo.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},wo.prototype.possiblyEvaluate=function(k,V,oe){return this.property.possiblyEvaluate(this,k,V,oe)};var ys=function(k){this.property=k,this.value=new wo(k,void 0)};ys.prototype.transitioned=function(k,V){return new xl(this.property,this.value,V,m({},k.transition,this.transition),k.now)},ys.prototype.untransitioned=function(){return new xl(this.property,this.value,null,{},0)};var Ms=function(k){this._properties=k,this._values=Object.create(k.defaultTransitionablePropertyValues)};Ms.prototype.getValue=function(k){return O(this._values[k].value.value)},Ms.prototype.setValue=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].value=new wo(this._values[k].property,V===null?void 0:O(V))},Ms.prototype.getTransition=function(k){return O(this._values[k].transition)},Ms.prototype.setTransition=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].transition=O(V)||void 0},Ms.prototype.serialize=function(){for(var k={},V=0,oe=Object.keys(this._values);Vthis.end)return this.prior=null,Pe;if(this.value.isDataDriven())return this.prior=null,Pe;if(geqe.zoomHistory.lastIntegerZoom?{from:oe,to:ge}:{from:Pe,to:ge}},k.prototype.interpolate=function(oe){return oe},k}(cn),xi=function(k){this.specification=k};xi.prototype.possiblyEvaluate=function(k,V,oe,ge){if(k.value!==void 0)if(k.expression.kind==="constant"){var Pe=k.expression.evaluate(V,null,{},oe,ge);return this._calculate(Pe,Pe,Pe,V)}else return this._calculate(k.expression.evaluate(new ua(Math.floor(V.zoom-1),V)),k.expression.evaluate(new ua(Math.floor(V.zoom),V)),k.expression.evaluate(new ua(Math.floor(V.zoom+1),V)),V)},xi.prototype._calculate=function(k,V,oe,ge){var Pe=ge.zoom;return Pe>ge.zoomHistory.lastIntegerZoom?{from:k,to:V}:{from:oe,to:V}},xi.prototype.interpolate=function(k){return k};var Ni=function(k){this.specification=k};Ni.prototype.possiblyEvaluate=function(k,V,oe,ge){return!!k.expression.evaluate(V,null,{},oe,ge)},Ni.prototype.interpolate=function(){return!1};var Fi=function(k){this.properties=k,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var V in k){var oe=k[V];oe.specification.overridable&&this.overridableProperties.push(V);var ge=this.defaultPropertyValues[V]=new wo(oe,void 0),Pe=this.defaultTransitionablePropertyValues[V]=new ys(oe);this.defaultTransitioningPropertyValues[V]=Pe.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=ge.possiblyEvaluate({})}};de("DataDrivenProperty",cn),de("DataConstantProperty",tr),de("CrossFadedDataDrivenProperty",Ln),de("CrossFadedProperty",xi),de("ColorRampProperty",Ni);var Oi="-transition",na=function(C){function k(V,oe){if(C.call(this),this.id=V.id,this.type=V.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},V.type!=="custom"&&(V=V,this.metadata=V.metadata,this.minzoom=V.minzoom,this.maxzoom=V.maxzoom,V.type!=="background"&&(this.source=V.source,this.sourceLayer=V["source-layer"],this.filter=V.filter),oe.layout&&(this._unevaluatedLayout=new gu(oe.layout)),oe.paint)){this._transitionablePaint=new Ms(oe.paint);for(var ge in V.paint)this.setPaintProperty(ge,V.paint[ge],{validate:!1});for(var Pe in V.layout)this.setLayoutProperty(Pe,V.layout[Pe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new vc(oe.paint)}}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},k.prototype.getLayoutProperty=function(oe){return oe==="visibility"?this.visibility:this._unevaluatedLayout.getValue(oe)},k.prototype.setLayoutProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe="layers."+this.id+".layout."+oe;if(this._validate(eu,qe,oe,ge,Pe))return}if(oe==="visibility"){this.visibility=ge;return}this._unevaluatedLayout.setValue(oe,ge)},k.prototype.getPaintProperty=function(oe){return z(oe,Oi)?this._transitionablePaint.getTransition(oe.slice(0,-Oi.length)):this._transitionablePaint.getValue(oe)},k.prototype.setPaintProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe="layers."+this.id+".paint."+oe;if(this._validate(Nl,qe,oe,ge,Pe))return!1}if(z(oe,Oi))return this._transitionablePaint.setTransition(oe.slice(0,-Oi.length),ge||void 0),!1;var ft=this._transitionablePaint._values[oe],Pt=ft.property.specification["property-type"]==="cross-faded-data-driven",Ut=ft.value.isDataDriven(),Kt=ft.value;this._transitionablePaint.setValue(oe,ge),this._handleSpecialPaintPropertyUpdate(oe);var _r=this._transitionablePaint._values[oe].value,Vr=_r.isDataDriven();return Vr||Ut||Pt||this._handleOverridablePaintPropertyUpdate(oe,Kt,_r)},k.prototype._handleSpecialPaintPropertyUpdate=function(oe){},k.prototype._handleOverridablePaintPropertyUpdate=function(oe,ge,Pe){return!1},k.prototype.isHidden=function(oe){return this.minzoom&&oe=this.maxzoom?!0:this.visibility==="none"},k.prototype.updateTransitions=function(oe){this._transitioningPaint=this._transitionablePaint.transitioned(oe,this._transitioningPaint)},k.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},k.prototype.recalculate=function(oe,ge){oe.getCrossfadeParameters&&(this._crossfadeParameters=oe.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(oe,void 0,ge)),this.paint=this._transitioningPaint.possiblyEvaluate(oe,void 0,ge)},k.prototype.serialize=function(){var oe={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(oe.layout=oe.layout||{},oe.layout.visibility=this.visibility),B(oe,function(ge,Pe){return ge!==void 0&&!(Pe==="layout"&&!Object.keys(ge).length)&&!(Pe==="paint"&&!Object.keys(ge).length)})},k.prototype._validate=function(oe,ge,Pe,qe,ft){return ft===void 0&&(ft={}),ft&&ft.validate===!1?!1:Xu(this,oe.call(os,{key:ge,layerType:this.type,objectKey:Pe,value:qe,styleSpec:Mi,style:{glyphs:!0,sprite:!0}}))},k.prototype.is3D=function(){return!1},k.prototype.isTileClipped=function(){return!1},k.prototype.hasOffscreenPass=function(){return!1},k.prototype.resize=function(){},k.prototype.isStateDependent=function(){for(var oe in this.paint._values){var ge=this.paint.get(oe);if(!(!(ge instanceof Fl)||!_l(ge.property.specification))&&(ge.value.kind==="source"||ge.value.kind==="composite")&&ge.value.isStateDependent)return!0}return!1},k}(Dr),Ca={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ka=function(k,V){this._structArray=k,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ha=128,Xo=5,Aa=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};Aa.serialize=function(k,V){return k._trim(),V&&(k.isTransferred=!0,V.push(k.arrayBuffer)),{length:k.length,arrayBuffer:k.arrayBuffer}},Aa.deserialize=function(k){var V=Object.create(this.prototype);return V.arrayBuffer=k.arrayBuffer,V.length=k.length,V.capacity=k.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Aa.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Aa.prototype.clear=function(){this.length=0},Aa.prototype.resize=function(k){this.reserve(k),this.length=k},Aa.prototype.reserve=function(k){if(k>this.capacity){this.capacity=Math.max(k,Math.floor(this.capacity*Xo),ha),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Aa.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};function Ma(C,k){k===void 0&&(k=1);var V=0,oe=0,ge=C.map(function(qe){var ft=ia(qe.type),Pt=V=wi(V,Math.max(k,ft)),Ut=qe.components||1;return oe=Math.max(oe,ft),V+=ft*Ut,{name:qe.name,type:qe.type,components:Ut,offset:Pt}}),Pe=wi(V,Math.max(oe,k));return{members:ge,size:Pe,alignment:k}}function ia(C){return Ca[C].BYTES_PER_ELEMENT}function wi(C,k){return Math.ceil(C/k)*k}var qi=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.int16[qe+0]=ge,this.int16[qe+1]=Pe,oe},k}(Aa);qi.prototype.bytesPerElement=4,de("StructArrayLayout2i4",qi);var ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.int16[Pt+0]=ge,this.int16[Pt+1]=Pe,this.int16[Pt+2]=qe,this.int16[Pt+3]=ft,oe},k}(Aa);ba.prototype.bytesPerElement=8,de("StructArrayLayout4i8",ba);var Pa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Pa.prototype.bytesPerElement=12,de("StructArrayLayout2i4i12",Pa);var ca=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*4,_r=oe*8;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.uint8[_r+4]=qe,this.uint8[_r+5]=ft,this.uint8[_r+6]=Pt,this.uint8[_r+7]=Ut,oe},k}(Aa);ca.prototype.bytesPerElement=8,de("StructArrayLayout2i4ub8",ca);var $a=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.float32[qe+0]=ge,this.float32[qe+1]=Pe,oe},k}(Aa);$a.prototype.bytesPerElement=8,de("StructArrayLayout2f8",$a);var Ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=this.length;return this.resize(Or+1),this.emplace(Or,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or){var dn=oe*10;return this.uint16[dn+0]=ge,this.uint16[dn+1]=Pe,this.uint16[dn+2]=qe,this.uint16[dn+3]=ft,this.uint16[dn+4]=Pt,this.uint16[dn+5]=Ut,this.uint16[dn+6]=Kt,this.uint16[dn+7]=_r,this.uint16[dn+8]=Vr,this.uint16[dn+9]=Or,oe},k}(Aa);Ba.prototype.bytesPerElement=20,de("StructArrayLayout10ui20",Ba);var Oo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn){var jn=this.length;return this.resize(jn+1),this.emplace(jn,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn){var mi=oe*12;return this.int16[mi+0]=ge,this.int16[mi+1]=Pe,this.int16[mi+2]=qe,this.int16[mi+3]=ft,this.uint16[mi+4]=Pt,this.uint16[mi+5]=Ut,this.uint16[mi+6]=Kt,this.uint16[mi+7]=_r,this.int16[mi+8]=Vr,this.int16[mi+9]=Or,this.int16[mi+10]=dn,this.int16[mi+11]=jn,oe},k}(Aa);Oo.prototype.bytesPerElement=24,de("StructArrayLayout4i4ui4i24",Oo);var va=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.float32[ft+0]=ge,this.float32[ft+1]=Pe,this.float32[ft+2]=qe,oe},k}(Aa);va.prototype.bytesPerElement=12,de("StructArrayLayout3f12",va);var sa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint32[Pe+0]=ge,oe},k}(Aa);sa.prototype.bytesPerElement=4,de("StructArrayLayout1ul4",sa);var fo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r){var Vr=this.length;return this.resize(Vr+1),this.emplace(Vr,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=oe*10,dn=oe*5;return this.int16[Or+0]=ge,this.int16[Or+1]=Pe,this.int16[Or+2]=qe,this.int16[Or+3]=ft,this.int16[Or+4]=Pt,this.int16[Or+5]=Ut,this.uint32[dn+3]=Kt,this.uint16[Or+8]=_r,this.uint16[Or+9]=Vr,oe},k}(Aa);fo.prototype.bytesPerElement=20,de("StructArrayLayout6i1ul2ui20",fo);var Ja=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Ja.prototype.bytesPerElement=12,de("StructArrayLayout2i2i2i12",Ja);var Fa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft){var Pt=this.length;return this.resize(Pt+1),this.emplace(Pt,oe,ge,Pe,qe,ft)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt){var Ut=oe*4,Kt=oe*8;return this.float32[Ut+0]=ge,this.float32[Ut+1]=Pe,this.float32[Ut+2]=qe,this.int16[Kt+6]=ft,this.int16[Kt+7]=Pt,oe},k}(Aa);Fa.prototype.bytesPerElement=16,de("StructArrayLayout2f1f2i16",Fa);var Ia=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*12,Ut=oe*3;return this.uint8[Pt+0]=ge,this.uint8[Pt+1]=Pe,this.float32[Ut+1]=qe,this.float32[Ut+2]=ft,oe},k}(Aa);Ia.prototype.bytesPerElement=12,de("StructArrayLayout2ub2f12",Ia);var ao=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.uint16[ft+0]=ge,this.uint16[ft+1]=Pe,this.uint16[ft+2]=qe,oe},k}(Aa);ao.prototype.bytesPerElement=6,de("StructArrayLayout3ui6",ao);var Zo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai){var ji=this.length;return this.resize(ji+1),this.emplace(ji,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji){var Yi=oe*24,ga=oe*12,Ga=oe*48;return this.int16[Yi+0]=ge,this.int16[Yi+1]=Pe,this.uint16[Yi+2]=qe,this.uint16[Yi+3]=ft,this.uint32[ga+2]=Pt,this.uint32[ga+3]=Ut,this.uint32[ga+4]=Kt,this.uint16[Yi+10]=_r,this.uint16[Yi+11]=Vr,this.uint16[Yi+12]=Or,this.float32[ga+7]=dn,this.float32[ga+8]=jn,this.uint8[Ga+36]=mi,this.uint8[Ga+37]=ii,this.uint8[Ga+38]=Vi,this.uint32[ga+10]=Ai,this.int16[Yi+22]=ji,oe},k}(Aa);Zo.prototype.bytesPerElement=48,de("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Zo);var ps=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do){var Gs=this.length;return this.resize(Gs+1),this.emplace(Gs,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do,Gs){var Ts=oe*34,kl=oe*17;return this.int16[Ts+0]=ge,this.int16[Ts+1]=Pe,this.int16[Ts+2]=qe,this.int16[Ts+3]=ft,this.int16[Ts+4]=Pt,this.int16[Ts+5]=Ut,this.int16[Ts+6]=Kt,this.int16[Ts+7]=_r,this.uint16[Ts+8]=Vr,this.uint16[Ts+9]=Or,this.uint16[Ts+10]=dn,this.uint16[Ts+11]=jn,this.uint16[Ts+12]=mi,this.uint16[Ts+13]=ii,this.uint16[Ts+14]=Vi,this.uint16[Ts+15]=Ai,this.uint16[Ts+16]=ji,this.uint16[Ts+17]=Yi,this.uint16[Ts+18]=ga,this.uint16[Ts+19]=Ga,this.uint16[Ts+20]=Ua,this.uint16[Ts+21]=Co,this.uint16[Ts+22]=so,this.uint32[kl+12]=xo,this.float32[kl+13]=Ss,this.float32[kl+14]=ko,this.float32[kl+15]=Do,this.float32[kl+16]=Gs,oe},k}(Aa);ps.prototype.bytesPerElement=68,de("StructArrayLayout8i15ui1ul4f68",ps);var Na=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.float32[Pe+0]=ge,oe},k}(Aa);Na.prototype.bytesPerElement=4,de("StructArrayLayout1f4",Na);var Mo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.int16[ft+0]=ge,this.int16[ft+1]=Pe,this.int16[ft+2]=qe,oe},k}(Aa);Mo.prototype.bytesPerElement=6,de("StructArrayLayout3i6",Mo);var ss=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*2,Pt=oe*4;return this.uint32[ft+0]=ge,this.uint16[Pt+2]=Pe,this.uint16[Pt+3]=qe,oe},k}(Aa);ss.prototype.bytesPerElement=8,de("StructArrayLayout1ul2ui8",ss);var _s=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.uint16[qe+0]=ge,this.uint16[qe+1]=Pe,oe},k}(Aa);_s.prototype.bytesPerElement=4,de("StructArrayLayout2ui4",_s);var Fs=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint16[Pe+0]=ge,oe},k}(Aa);Fs.prototype.bytesPerElement=2,de("StructArrayLayout1ui2",Fs);var iu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.float32[Pt+0]=ge,this.float32[Pt+1]=Pe,this.float32[Pt+2]=qe,this.float32[Pt+3]=ft,oe},k}(Aa);iu.prototype.bytesPerElement=16,de("StructArrayLayout4f16",iu);var Oc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return V.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},V.x1.get=function(){return this._structArray.int16[this._pos2+2]},V.y1.get=function(){return this._structArray.int16[this._pos2+3]},V.x2.get=function(){return this._structArray.int16[this._pos2+4]},V.y2.get=function(){return this._structArray.int16[this._pos2+5]},V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(k.prototype,V),k}(ka);Oc.prototype.size=20;var rl=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Oc(this,oe)},k}(fo);de("CollisionBoxArray",rl);var Bc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},V.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},V.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},V.segment.get=function(){return this._structArray.uint16[this._pos2+10]},V.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},V.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},V.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},V.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},V.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},V.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},V.placedOrientation.set=function(oe){this._structArray.uint8[this._pos1+37]=oe},V.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},V.hidden.set=function(oe){this._structArray.uint8[this._pos1+38]=oe},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+10]=oe},V.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(k.prototype,V),k}(ka);Bc.prototype.size=48;var ql=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Bc(this,oe)},k}(Zo);de("PlacedSymbolArray",ql);var pc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},V.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},V.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},V.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},V.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},V.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},V.key.get=function(){return this._structArray.uint16[this._pos2+8]},V.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},V.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},V.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},V.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},V.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},V.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},V.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},V.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},V.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},V.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},V.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},V.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},V.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+12]=oe},V.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},V.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},V.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},V.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(k.prototype,V),k}(ka);pc.prototype.size=68;var mc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new pc(this,oe)},k}(ps);de("SymbolInstanceArray",mc);var Jc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getoffsetX=function(oe){return this.float32[oe*1+0]},k}(Na);de("GlyphOffsetArray",Jc);var tu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getx=function(oe){return this.int16[oe*3+0]},k.prototype.gety=function(oe){return this.int16[oe*3+1]},k.prototype.gettileUnitDistanceFromAnchor=function(oe){return this.int16[oe*3+2]},k}(Mo);de("SymbolLineVertexArray",tu);var Ac=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(k.prototype,V),k}(ka);Ac.prototype.size=8;var Nc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Ac(this,oe)},k}(ss);de("FeatureIndexArray",Nc);var Hs=Ma([{name:"a_pos",components:2,type:"Int16"}],4),$c=Hs.members,Us=function(k){k===void 0&&(k=[]),this.segments=k};Us.prototype.prepareSegment=function(k,V,oe,ge){var Pe=this.segments[this.segments.length-1];return k>Us.MAX_VERTEX_ARRAY_LENGTH&&U("Max vertices per segment is "+Us.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+k),(!Pe||Pe.vertexLength+k>Us.MAX_VERTEX_ARRAY_LENGTH||Pe.sortKey!==ge)&&(Pe={vertexOffset:V.length,primitiveOffset:oe.length,vertexLength:0,primitiveLength:0},ge!==void 0&&(Pe.sortKey=ge),this.segments.push(Pe)),Pe},Us.prototype.get=function(){return this.segments},Us.prototype.destroy=function(){for(var k=0,V=this.segments;k>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt,qe=qe<<13|qe>>>19,ft=(qe&65535)*5+(((qe>>>16)*5&65535)<<16)&4294967295,qe=(ft&65535)+27492+(((ft>>>16)+58964&65535)<<16);switch(Kt=0,ge){case 3:Kt^=(V.charCodeAt(_r+2)&255)<<16;case 2:Kt^=(V.charCodeAt(_r+1)&255)<<8;case 1:Kt^=V.charCodeAt(_r)&255,Kt=(Kt&65535)*Pt+(((Kt>>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt}return qe^=V.length,qe^=qe>>>16,qe=(qe&65535)*2246822507+(((qe>>>16)*2246822507&65535)<<16)&4294967295,qe^=qe>>>13,qe=(qe&65535)*3266489909+(((qe>>>16)*3266489909&65535)<<16)&4294967295,qe^=qe>>>16,qe>>>0}C.exports=k}),te=t(function(C){function k(V,oe){for(var ge=V.length,Pe=oe^ge,qe=0,ft;ge>=4;)ft=V.charCodeAt(qe)&255|(V.charCodeAt(++qe)&255)<<8|(V.charCodeAt(++qe)&255)<<16|(V.charCodeAt(++qe)&255)<<24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),ft^=ft>>>24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)^ft,ge-=4,++qe;switch(ge){case 3:Pe^=(V.charCodeAt(qe+2)&255)<<16;case 2:Pe^=(V.charCodeAt(qe+1)&255)<<8;case 1:Pe^=V.charCodeAt(qe)&255,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)}return Pe^=Pe>>>13,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16),Pe^=Pe>>>15,Pe>>>0}C.exports=k}),ye=me,Ze=me,We=te;ye.murmur3=Ze,ye.murmur2=We;var lt=function(){this.ids=[],this.positions=[],this.indexed=!1};lt.prototype.add=function(k,V,oe,ge){this.ids.push(Wt(k)),this.positions.push(V,oe,ge)},lt.prototype.getPositions=function(k){for(var V=Wt(k),oe=0,ge=this.ids.length-1;oe>1;this.ids[Pe]>=V?ge=Pe:oe=Pe+1}for(var qe=[];this.ids[oe]===V;){var ft=this.positions[3*oe],Pt=this.positions[3*oe+1],Ut=this.positions[3*oe+2];qe.push({index:ft,start:Pt,end:Ut}),oe++}return qe},lt.serialize=function(k,V){var oe=new Float64Array(k.ids),ge=new Uint32Array(k.positions);return xr(oe,ge,0,oe.length-1),V&&V.push(oe.buffer,ge.buffer),{ids:oe,positions:ge}},lt.deserialize=function(k){var V=new lt;return V.ids=k.ids,V.positions=k.positions,V.indexed=!0,V};var Ct=Math.pow(2,53)-1;function Wt(C){var k=+C;return!isNaN(k)&&k<=Ct?k:ye(String(C))}function xr(C,k,V,oe){for(;V>1],Pe=V-1,qe=oe+1;;){do Pe++;while(C[Pe]ge);if(Pe>=qe)break;Fr(C,Pe,qe),Fr(k,3*Pe,3*qe),Fr(k,3*Pe+1,3*qe+1),Fr(k,3*Pe+2,3*qe+2)}qe-Vqe.x+1||Ptqe.y+1)&&U("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return V}function Cs(C,k){return{type:C.type,id:C.id,properties:C.properties,geometry:k?Qa(C):[]}}function ws(C,k,V,oe,ge){C.emplaceBack(k*2+(oe+1)/2,V*2+(ge+1)/2)}var $s=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new qi,this.indexArray=new ao,this.segments=new Us,this.programConfigurations=new Pi(k.layers,k.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};$s.prototype.populate=function(k,V,oe){var ge=this.layers[0],Pe=[],qe=null;ge.type==="circle"&&(qe=ge.layout.get("circle-sort-key"));for(var ft=0,Pt=k;ft=$i||Vr<0||Vr>=$i)){var Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,k.sortKey),dn=Or.vertexLength;ws(this.layoutVertexArray,_r,Vr,-1,-1),ws(this.layoutVertexArray,_r,Vr,1,-1),ws(this.layoutVertexArray,_r,Vr,1,1),ws(this.layoutVertexArray,_r,Vr,-1,1),this.indexArray.emplaceBack(dn,dn+1,dn+2),this.indexArray.emplaceBack(dn,dn+3,dn+2),Or.vertexLength+=4,Or.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,k,oe,{},ge)},de("CircleBucket",$s,{omit:["layers"]});function rs(C,k){for(var V=0;V=3){for(var Pe=0;Pe1){if(Jh(C,k))return!0;for(var oe=0;oe1?C.distSqr(V):C.distSqr(V.sub(k)._mult(ge)._add(k))}function _d(C,k){for(var V=!1,oe,ge,Pe,qe=0;qek.y!=Pe.y>k.y&&k.x<(Pe.x-ge.x)*(k.y-ge.y)/(Pe.y-ge.y)+ge.x&&(V=!V)}return V}function hh(C,k){for(var V=!1,oe=0,ge=C.length-1;oek.y!=qe.y>k.y&&k.x<(qe.x-Pe.x)*(k.y-Pe.y)/(qe.y-Pe.y)+Pe.x&&(V=!V)}return V}function xd(C,k,V,oe,ge){for(var Pe=0,qe=C;Pe=ft.x&&ge>=ft.y)return!0}var Pt=[new i(k,V),new i(k,ge),new i(oe,ge),new i(oe,V)];if(C.length>2)for(var Ut=0,Kt=Pt;Utge.x&&k.x>ge.x||C.yge.y&&k.y>ge.y)return!1;var Pe=W(C,k,V[0]);return Pe!==W(C,k,V[1])||Pe!==W(C,k,V[2])||Pe!==W(C,k,V[3])}function dh(C,k,V){var oe=k.paint.get(C).value;return oe.kind==="constant"?oe.value:V.programConfigurations.get(k.id).getMaxValue(C)}function $h(C){return Math.sqrt(C[0]*C[0]+C[1]*C[1])}function ld(C,k,V,oe,ge){if(!k[0]&&!k[1])return C;var Pe=i.convert(k)._mult(ge);V==="viewport"&&Pe._rotate(-oe);for(var qe=[],ft=0;ft0&&(Pe=1/Math.sqrt(Pe)),C[0]=k[0]*Pe,C[1]=k[1]*Pe,C[2]=k[2]*Pe,C}function Pb(C,k){return C[0]*k[0]+C[1]*k[1]+C[2]*k[2]}function Ib(C,k,V){var oe=k[0],ge=k[1],Pe=k[2],qe=V[0],ft=V[1],Pt=V[2];return C[0]=ge*Pt-Pe*ft,C[1]=Pe*qe-oe*Pt,C[2]=oe*ft-ge*qe,C}function Rb(C,k,V){var oe=k[0],ge=k[1],Pe=k[2];return C[0]=oe*V[0]+ge*V[3]+Pe*V[6],C[1]=oe*V[1]+ge*V[4]+Pe*V[7],C[2]=oe*V[2]+ge*V[5]+Pe*V[8],C}var Db=bv,JM=function(){var C=xv();return function(k,V,oe,ge,Pe,qe){var ft,Pt;for(V||(V=3),oe||(oe=0),ge?Pt=Math.min(ge*V+oe,k.length):Pt=k.length,ft=oe;ftC.width||ge.height>C.height||V.x>C.width-ge.width||V.y>C.height-ge.height)throw new RangeError("out of range source coordinates for image copy");if(ge.width>k.width||ge.height>k.height||oe.x>k.width-ge.width||oe.y>k.height-ge.height)throw new RangeError("out of range destination coordinates for image copy");for(var qe=C.data,ft=k.data,Pt=0;Pt80*V){ft=Ut=C[0],Pt=Kt=C[1];for(var dn=V;dnUt&&(Ut=_r),Vr>Kt&&(Kt=Vr);Or=Math.max(Ut-ft,Kt-Pt),Or=Or!==0?1/Or:0}return sm(Pe,qe,V,ft,Pt,Or),qe}function lg(C,k,V,oe,ge){var Pe,qe;if(ge===Ey(C,k,V,oe)>0)for(Pe=k;Pe=k;Pe-=oe)qe=h1(Pe,C[Pe],C[Pe+1],qe);return qe&&um(qe,qe.next)&&(hm(qe),qe=qe.next),qe}function wv(C,k){if(!C)return C;k||(k=C);var V=C,oe;do if(oe=!1,!V.steiner&&(um(V,V.next)||Uc(V.prev,V,V.next)===0)){if(hm(V),V=k=V.prev,V===V.next)break;oe=!0}else V=V.next;while(oe||V!==k);return k}function sm(C,k,V,oe,ge,Pe,qe){if(C){!qe&&Pe&&ug(C,oe,ge,Pe);for(var ft=C,Pt,Ut;C.prev!==C.next;){if(Pt=C.prev,Ut=C.next,Pe?u1(C,oe,ge,Pe):l1(C)){k.push(Pt.i/V),k.push(C.i/V),k.push(Ut.i/V),hm(C),C=Ut.next,ft=Ut.next;continue}if(C=Ut,C===ft){qe?qe===1?(C=lm(wv(C),k,V),sm(C,k,V,oe,ge,Pe,2)):qe===2&&Bd(C,k,V,oe,ge,Pe):sm(wv(C),k,V,oe,ge,Pe,1);break}}}}function l1(C){var k=C.prev,V=C,oe=C.next;if(Uc(k,V,oe)>=0)return!1;for(var ge=C.next.next;ge!==C.prev;){if(Av(k.x,k.y,V.x,V.y,oe.x,oe.y,ge.x,ge.y)&&Uc(ge.prev,ge,ge.next)>=0)return!1;ge=ge.next}return!0}function u1(C,k,V,oe){var ge=C.prev,Pe=C,qe=C.next;if(Uc(ge,Pe,qe)>=0)return!1;for(var ft=ge.xPe.x?ge.x>qe.x?ge.x:qe.x:Pe.x>qe.x?Pe.x:qe.x,Kt=ge.y>Pe.y?ge.y>qe.y?ge.y:qe.y:Pe.y>qe.y?Pe.y:qe.y,_r=Ty(ft,Pt,k,V,oe),Vr=Ty(Ut,Kt,k,V,oe),Or=C.prevZ,dn=C.nextZ;Or&&Or.z>=_r&&dn&&dn.z<=Vr;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0||(Or=Or.prevZ,dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0))return!1;dn=dn.nextZ}for(;Or&&Or.z>=_r;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0)return!1;Or=Or.prevZ}for(;dn&&dn.z<=Vr;){if(dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0)return!1;dn=dn.nextZ}return!0}function lm(C,k,V){var oe=C;do{var ge=oe.prev,Pe=oe.next.next;!um(ge,Pe)&&cg(ge,oe,oe.next,Pe)&&fm(ge,Pe)&&fm(Pe,ge)&&(k.push(ge.i/V),k.push(oe.i/V),k.push(Pe.i/V),hm(oe),hm(oe.next),oe=C=Pe),oe=oe.next}while(oe!==C);return wv(oe)}function Bd(C,k,V,oe,ge,Pe){var qe=C;do{for(var ft=qe.next.next;ft!==qe.prev;){if(qe.i!==ft.i&&hp(qe,ft)){var Pt=My(qe,ft);qe=wv(qe,qe.next),Pt=wv(Pt,Pt.next),sm(qe,k,V,oe,ge,Pe),sm(Pt,k,V,oe,ge,Pe);return}ft=ft.next}qe=qe.next}while(qe!==C)}function Tv(C,k,V,oe){var ge=[],Pe,qe,ft,Pt,Ut;for(Pe=0,qe=k.length;Pe=V.next.y&&V.next.y!==V.y){var ft=V.x+(ge-V.y)*(V.next.x-V.x)/(V.next.y-V.y);if(ft<=oe&&ft>Pe){if(Pe=ft,ft===oe){if(ge===V.y)return V;if(ge===V.next.y)return V.next}qe=V.x=V.x&&V.x>=Ut&&oe!==V.x&&Av(geqe.x||V.x===qe.x&&qb(qe,V)))&&(qe=V,_r=Vr)),V=V.next;while(V!==Pt);return qe}function qb(C,k){return Uc(C.prev,C,k.prev)<0&&Uc(k.next,C,C.next)<0}function ug(C,k,V,oe){var ge=C;do ge.z===null&&(ge.z=Ty(ge.x,ge.y,k,V,oe)),ge.prevZ=ge.prev,ge.nextZ=ge.next,ge=ge.next;while(ge!==C);ge.prevZ.nextZ=null,ge.prevZ=null,wy(ge)}function wy(C){var k,V,oe,ge,Pe,qe,ft,Pt,Ut=1;do{for(V=C,C=null,Pe=null,qe=0;V;){for(qe++,oe=V,ft=0,k=0;k0||Pt>0&&oe;)ft!==0&&(Pt===0||!oe||V.z<=oe.z)?(ge=V,V=V.nextZ,ft--):(ge=oe,oe=oe.nextZ,Pt--),Pe?Pe.nextZ=ge:C=ge,ge.prevZ=Pe,Pe=ge;V=oe}Pe.nextZ=null,Ut*=2}while(qe>1);return C}function Ty(C,k,V,oe,ge){return C=32767*(C-V)*ge,k=32767*(k-oe)*ge,C=(C|C<<8)&16711935,C=(C|C<<4)&252645135,C=(C|C<<2)&858993459,C=(C|C<<1)&1431655765,k=(k|k<<8)&16711935,k=(k|k<<4)&252645135,k=(k|k<<2)&858993459,k=(k|k<<1)&1431655765,C|k<<1}function Ay(C){var k=C,V=C;do(k.x=0&&(C-qe)*(oe-ft)-(V-qe)*(k-ft)>=0&&(V-qe)*(Pe-ft)-(ge-qe)*(oe-ft)>=0}function hp(C,k){return C.next.i!==k.i&&C.prev.i!==k.i&&!f1(C,k)&&(fm(C,k)&&fm(k,C)&&Hb(C,k)&&(Uc(C.prev,C,k.prev)||Uc(C,k.prev,k))||um(C,k)&&Uc(C.prev,C,C.next)>0&&Uc(k.prev,k,k.next)>0)}function Uc(C,k,V){return(k.y-C.y)*(V.x-k.x)-(k.x-C.x)*(V.y-k.y)}function um(C,k){return C.x===k.x&&C.y===k.y}function cg(C,k,V,oe){var ge=Uv(Uc(C,k,V)),Pe=Uv(Uc(C,k,oe)),qe=Uv(Uc(V,oe,C)),ft=Uv(Uc(V,oe,k));return!!(ge!==Pe&&qe!==ft||ge===0&&cm(C,V,k)||Pe===0&&cm(C,oe,k)||qe===0&&cm(V,C,oe)||ft===0&&cm(V,k,oe))}function cm(C,k,V){return k.x<=Math.max(C.x,V.x)&&k.x>=Math.min(C.x,V.x)&&k.y<=Math.max(C.y,V.y)&&k.y>=Math.min(C.y,V.y)}function Uv(C){return C>0?1:C<0?-1:0}function f1(C,k){var V=C;do{if(V.i!==C.i&&V.next.i!==C.i&&V.i!==k.i&&V.next.i!==k.i&&cg(V,V.next,C,k))return!0;V=V.next}while(V!==C);return!1}function fm(C,k){return Uc(C.prev,C,C.next)<0?Uc(C,k,C.next)>=0&&Uc(C,C.prev,k)>=0:Uc(C,k,C.prev)<0||Uc(C,C.next,k)<0}function Hb(C,k){var V=C,oe=!1,ge=(C.x+k.x)/2,Pe=(C.y+k.y)/2;do V.y>Pe!=V.next.y>Pe&&V.next.y!==V.y&&ge<(V.next.x-V.x)*(Pe-V.y)/(V.next.y-V.y)+V.x&&(oe=!oe),V=V.next;while(V!==C);return oe}function My(C,k){var V=new Sy(C.i,C.x,C.y),oe=new Sy(k.i,k.x,k.y),ge=C.next,Pe=k.prev;return C.next=k,k.prev=C,V.next=ge,ge.prev=V,oe.next=V,V.prev=oe,Pe.next=oe,oe.prev=Pe,oe}function h1(C,k,V,oe){var ge=new Sy(C,k,V);return oe?(ge.next=oe.next,ge.prev=oe,oe.next.prev=ge,oe.next=ge):(ge.prev=ge,ge.next=ge),ge}function hm(C){C.next.prev=C.prev,C.prev.next=C.next,C.prevZ&&(C.prevZ.nextZ=C.nextZ),C.nextZ&&(C.nextZ.prevZ=C.prevZ)}function Sy(C,k,V){this.i=C,this.x=k,this.y=V,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}fp.deviation=function(C,k,V,oe){var ge=k&&k.length,Pe=ge?k[0]*V:C.length,qe=Math.abs(Ey(C,0,Pe,V));if(ge)for(var ft=0,Pt=k.length;ft0&&(oe+=C[ge-1].length,V.holes.push(oe))}return V},sg.default=s1;function Cy(C,k,V,oe,ge){tv(C,k,V||0,oe||C.length-1,ge||d1)}function tv(C,k,V,oe,ge){for(;oe>V;){if(oe-V>600){var Pe=oe-V+1,qe=k-V+1,ft=Math.log(Pe),Pt=.5*Math.exp(2*ft/3),Ut=.5*Math.sqrt(ft*Pt*(Pe-Pt)/Pe)*(qe-Pe/2<0?-1:1),Kt=Math.max(V,Math.floor(k-qe*Pt/Pe+Ut)),_r=Math.min(oe,Math.floor(k+(Pe-qe)*Pt/Pe+Ut));tv(C,k,Kt,_r,ge)}var Vr=C[k],Or=V,dn=oe;for(dp(C,V,k),ge(C[oe],Vr)>0&&dp(C,V,oe);Or0;)dn--}ge(C[V],Vr)===0?dp(C,V,dn):(dn++,dp(C,dn,oe)),dn<=k&&(V=dn+1),k<=dn&&(oe=dn-1)}}function dp(C,k,V){var oe=C[k];C[k]=C[V],C[V]=oe}function d1(C,k){return Ck?1:0}function fg(C,k){var V=C.length;if(V<=1)return[C];for(var oe=[],ge,Pe,qe=0;qe1)for(var Pt=0;Pt>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),V===1&&(ft&&qe.push(ft),ft=[]),ft.push(new i(ge,Pe));else if(V===7)ft&&ft.push(ft[0].clone());else throw new Error("unknown command "+V)}return ft&&qe.push(ft),qe},jv.prototype.bbox=function(){var C=this._pbf;C.pos=this._geometry;for(var k=C.readVarint()+C.pos,V=1,oe=0,ge=0,Pe=0,qe=1/0,ft=-1/0,Pt=1/0,Ut=-1/0;C.pos>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),geft&&(ft=ge),PeUt&&(Ut=Pe);else if(V!==7)throw new Error("unknown command "+V)}return[qe,Pt,ft,Ut]},jv.prototype.toGeoJSON=function(C,k,V){var oe=this.extent*Math.pow(2,V),ge=this.extent*C,Pe=this.extent*k,qe=this.loadGeometry(),ft=jv.types[this.type],Pt,Ut;function Kt(Or){for(var dn=0;dn>3;k=oe===1?C.readString():oe===2?C.readFloat():oe===3?C.readDouble():oe===4?C.readVarint64():oe===5?C.readVarint():oe===6?C.readSVarint():oe===7?C.readBoolean():null}return k}Py.prototype.feature=function(C){if(C<0||C>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[C];var k=this._pbf.readVarint()+this._pbf.pos;return new Ly(this._pbf,k,this.extent,this._keys,this._values)};var T1=Wb;function Wb(C,k){this.layers=C.readFields(Xb,{},k)}function Xb(C,k,V){if(C===3){var oe=new rv(V,V.readVarint()+V.pos);oe.length&&(k[oe.name]=oe)}}var A1=T1,vp=Ly,M1=rv,nv={VectorTile:A1,VectorTileFeature:vp,VectorTileLayer:M1},S1=nv.VectorTileFeature.types,dg=500,pp=Math.pow(2,13);function Mv(C,k,V,oe,ge,Pe,qe,ft){C.emplaceBack(k,V,Math.floor(oe*pp)*2+qe,ge*pp*2,Pe*pp*2,Math.round(ft))}var Cd=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new Pa,this.indexArray=new ao,this.programConfigurations=new Pi(k.layers,k.zoom),this.segments=new Us,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};Cd.prototype.populate=function(k,V,oe){this.features=[],this.hasPattern=hg("fill-extrusion",this.layers,V);for(var ge=0,Pe=k;ge=1){var ji=mi[Vi-1];if(!Zb(Ai,ji)){Or.vertexLength+4>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Yi=Ai.sub(ji)._perp()._unit(),ga=ji.dist(Ai);ii+ga>32768&&(ii=0),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,1,ii),ii+=ga,Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,1,ii);var Ga=Or.vertexLength;this.indexArray.emplaceBack(Ga,Ga+2,Ga+1),this.indexArray.emplaceBack(Ga+1,Ga+2,Ga+3),Or.vertexLength+=4,Or.primitiveLength+=2}}}}if(Or.vertexLength+Ut>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(Ut,this.layoutVertexArray,this.indexArray)),S1[k.type]==="Polygon"){for(var Ua=[],Co=[],so=Or.vertexLength,xo=0,Ss=Pt;xo$i)||C.y===k.y&&(C.y<0||C.y>$i)}function Yb(C){return C.every(function(k){return k.x<0})||C.every(function(k){return k.x>$i})||C.every(function(k){return k.y<0})||C.every(function(k){return k.y>$i})}var mp=new Fi({"fill-extrusion-opacity":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ln(Mi["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])}),rh={paint:mp},Sv=function(C){function k(V){C.call(this,V,rh)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.createBucket=function(oe){return new Cd(oe)},k.prototype.queryRadius=function(){return $h(this.paint.get("fill-extrusion-translate"))},k.prototype.is3D=function(){return!0},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt){var _r=ld(oe,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),Pt.angle,Ut),Vr=this.paint.get("fill-extrusion-height").evaluate(ge,Pe),Or=this.paint.get("fill-extrusion-base").evaluate(ge,Pe),dn=Kb(_r,Kt,Pt,0),jn=Ry(qe,Or,Vr,Kt),mi=jn[0],ii=jn[1];return E1(mi,ii,dn)},k}(na);function Vv(C,k){return C.x*k.x+C.y*k.y}function Iy(C,k){if(C.length===1){for(var V=0,oe=k[V++],ge;!ge||oe.equals(ge);)if(ge=k[V++],!ge)return 1/0;for(;V=2&&k[Ut-1].equals(k[Ut-2]);)Ut--;for(var Kt=0;Kt0;if(Ua&&Vi>Kt){var so=Or.dist(dn);if(so>2*_r){var xo=Or.sub(Or.sub(dn)._mult(_r/so)._round());this.updateDistance(dn,xo),this.addCurrentVertex(xo,mi,0,0,Vr),dn=xo}}var Ss=dn&&jn,ko=Ss?oe:Pt?"butt":ge;if(Ss&&ko==="round"&&(gaPe&&(ko="bevel"),ko==="bevel"&&(ga>2&&(ko="flipbevel"),ga100)Ai=ii.mult(-1);else{var Do=ga*mi.add(ii).mag()/mi.sub(ii).mag();Ai._perp()._mult(Do*(Co?-1:1))}this.addCurrentVertex(Or,Ai,0,0,Vr),this.addCurrentVertex(Or,Ai.mult(-1),0,0,Vr)}else if(ko==="bevel"||ko==="fakeround"){var Gs=-Math.sqrt(ga*ga-1),Ts=Co?Gs:0,kl=Co?0:Gs;if(dn&&this.addCurrentVertex(Or,mi,Ts,kl,Vr),ko==="fakeround")for(var du=Math.round(Ga*180/Math.PI/zy),Ll=1;Ll2*_r){var gf=Or.add(jn.sub(Or)._mult(_r/Gf)._round());this.updateDistance(Or,gf),this.addCurrentVertex(gf,ii,0,0,Vr),Or=gf}}}}},vf.prototype.addCurrentVertex=function(k,V,oe,ge,Pe,qe){qe===void 0&&(qe=!1);var ft=V.x+V.y*oe,Pt=V.y-V.x*oe,Ut=-V.x+V.y*ge,Kt=-V.y-V.x*ge;this.addHalfVertex(k,ft,Pt,qe,!1,oe,Pe),this.addHalfVertex(k,Ut,Kt,qe,!0,-ge,Pe),this.distance>gm/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(k,V,oe,ge,Pe,qe))},vf.prototype.addHalfVertex=function(k,V,oe,ge,Pe,qe,ft){var Pt=k.x,Ut=k.y,Kt=this.lineClips?this.scaledDistance*(gm-1):this.scaledDistance,_r=Kt*pg;if(this.layoutVertexArray.emplaceBack((Pt<<1)+(ge?1:0),(Ut<<1)+(Pe?1:0),Math.round(vg*V)+128,Math.round(vg*oe)+128,(qe===0?0:qe<0?-1:1)+1|(_r&63)<<2,_r>>6),this.lineClips){var Vr=this.scaledDistance-this.lineClips.start,Or=this.lineClips.end-this.lineClips.start,dn=Vr/Or;this.layoutVertexArray2.emplaceBack(dn,this.lineClipsArray.length)}var jn=ft.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,jn),ft.primitiveLength++),Pe?this.e2=jn:this.e1=jn},vf.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},vf.prototype.updateDistance=function(k,V){this.distance+=k.dist(V),this.updateScaledDistance()},de("LineBucket",vf,{omit:["layers","patternFeatures"]});var Fy=new Fi({"line-cap":new tr(Mi.layout_line["line-cap"]),"line-join":new cn(Mi.layout_line["line-join"]),"line-miter-limit":new tr(Mi.layout_line["line-miter-limit"]),"line-round-limit":new tr(Mi.layout_line["line-round-limit"]),"line-sort-key":new cn(Mi.layout_line["line-sort-key"])}),Oy=new Fi({"line-opacity":new cn(Mi.paint_line["line-opacity"]),"line-color":new cn(Mi.paint_line["line-color"]),"line-translate":new tr(Mi.paint_line["line-translate"]),"line-translate-anchor":new tr(Mi.paint_line["line-translate-anchor"]),"line-width":new cn(Mi.paint_line["line-width"]),"line-gap-width":new cn(Mi.paint_line["line-gap-width"]),"line-offset":new cn(Mi.paint_line["line-offset"]),"line-blur":new cn(Mi.paint_line["line-blur"]),"line-dasharray":new xi(Mi.paint_line["line-dasharray"]),"line-pattern":new Ln(Mi.paint_line["line-pattern"]),"line-gradient":new Ni(Mi.paint_line["line-gradient"])}),mg={paint:Oy,layout:Fy},$b=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.possiblyEvaluate=function(oe,ge){return ge=new ua(Math.floor(ge.zoom),{now:ge.now,fadeDuration:ge.fadeDuration,zoomHistory:ge.zoomHistory,transition:ge.transition}),C.prototype.possiblyEvaluate.call(this,oe,ge)},k.prototype.evaluate=function(oe,ge,Pe,qe){return ge=m({},ge,{zoom:Math.floor(ge.zoom)}),C.prototype.evaluate.call(this,oe,ge,Pe,qe)},k}(cn),q=new $b(mg.paint.properties["line-width"].specification);q.useIntegerZoom=!0;var D=function(C){function k(V){C.call(this,V,mg),this.gradientVersion=0}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._handleSpecialPaintPropertyUpdate=function(oe){if(oe==="line-gradient"){var ge=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=ge._styleExpression.expression instanceof xu,this.gradientVersion=(this.gradientVersion+1)%h}},k.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},k.prototype.recalculate=function(oe,ge){C.prototype.recalculate.call(this,oe,ge),this.paint._values["line-floorwidth"]=q.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,oe)},k.prototype.createBucket=function(oe){return new vf(oe)},k.prototype.queryRadius=function(oe){var ge=oe,Pe=Y(dh("line-width",this,ge),dh("line-gap-width",this,ge)),qe=dh("line-offset",this,ge);return Pe/2+Math.abs(qe)+$h(this.paint.get("line-translate"))},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=ld(oe,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),Pt.angle,Ut),_r=Ut/2*Y(this.paint.get("line-width").evaluate(ge,Pe),this.paint.get("line-gap-width").evaluate(ge,Pe)),Vr=this.paint.get("line-offset").evaluate(ge,Pe);return Vr&&(qe=he(qe,Vr*Ut)),Ou(Kt,qe,_r)},k.prototype.isTileClipped=function(){return!0},k}(na);function Y(C,k){return k>0?k+2*C:C}function he(C,k){for(var V=[],oe=new i(0,0),ge=0;ge":"\uFE40","?":"\uFE16","@":"\uFF20","[":"\uFE47","\\":"\uFF3C","]":"\uFE48","^":"\uFF3E",_:"\uFE33","`":"\uFF40","{":"\uFE37","|":"\u2015","}":"\uFE38","~":"\uFF5E","\xA2":"\uFFE0","\xA3":"\uFFE1","\xA5":"\uFFE5","\xA6":"\uFFE4","\xAC":"\uFFE2","\xAF":"\uFFE3","\u2013":"\uFE32","\u2014":"\uFE31","\u2018":"\uFE43","\u2019":"\uFE44","\u201C":"\uFE41","\u201D":"\uFE42","\u2026":"\uFE19","\u2027":"\u30FB","\u20A9":"\uFFE6","\u3001":"\uFE11","\u3002":"\uFE12","\u3008":"\uFE3F","\u3009":"\uFE40","\u300A":"\uFE3D","\u300B":"\uFE3E","\u300C":"\uFE41","\u300D":"\uFE42","\u300E":"\uFE43","\u300F":"\uFE44","\u3010":"\uFE3B","\u3011":"\uFE3C","\u3014":"\uFE39","\u3015":"\uFE3A","\u3016":"\uFE17","\u3017":"\uFE18","\uFF01":"\uFE15","\uFF08":"\uFE35","\uFF09":"\uFE36","\uFF0C":"\uFE10","\uFF0D":"\uFE32","\uFF0E":"\u30FB","\uFF1A":"\uFE13","\uFF1B":"\uFE14","\uFF1C":"\uFE3F","\uFF1E":"\uFE40","\uFF1F":"\uFE16","\uFF3B":"\uFE47","\uFF3D":"\uFE48","\uFF3F":"\uFE33","\uFF5B":"\uFE37","\uFF5C":"\u2015","\uFF5D":"\uFE38","\uFF5F":"\uFE35","\uFF60":"\uFE36","\uFF61":"\uFE12","\uFF62":"\uFE41","\uFF63":"\uFE42"};function Si(C){for(var k="",V=0;V>1,Kt=-7,_r=V?ge-1:0,Vr=V?-1:1,Or=C[k+_r];for(_r+=Vr,Pe=Or&(1<<-Kt)-1,Or>>=-Kt,Kt+=ft;Kt>0;Pe=Pe*256+C[k+_r],_r+=Vr,Kt-=8);for(qe=Pe&(1<<-Kt)-1,Pe>>=-Kt,Kt+=oe;Kt>0;qe=qe*256+C[k+_r],_r+=Vr,Kt-=8);if(Pe===0)Pe=1-Ut;else{if(Pe===Pt)return qe?NaN:(Or?-1:1)*(1/0);qe=qe+Math.pow(2,oe),Pe=Pe-Ut}return(Or?-1:1)*qe*Math.pow(2,Pe-oe)},Po=function(C,k,V,oe,ge,Pe){var qe,ft,Pt,Ut=Pe*8-ge-1,Kt=(1<>1,Vr=ge===23?Math.pow(2,-24)-Math.pow(2,-77):0,Or=oe?0:Pe-1,dn=oe?1:-1,jn=k<0||k===0&&1/k<0?1:0;for(k=Math.abs(k),isNaN(k)||k===1/0?(ft=isNaN(k)?1:0,qe=Kt):(qe=Math.floor(Math.log(k)/Math.LN2),k*(Pt=Math.pow(2,-qe))<1&&(qe--,Pt*=2),qe+_r>=1?k+=Vr/Pt:k+=Vr*Math.pow(2,1-_r),k*Pt>=2&&(qe++,Pt/=2),qe+_r>=Kt?(ft=0,qe=Kt):qe+_r>=1?(ft=(k*Pt-1)*Math.pow(2,ge),qe=qe+_r):(ft=k*Math.pow(2,_r-1)*Math.pow(2,ge),qe=0));ge>=8;C[V+Or]=ft&255,Or+=dn,ft/=256,ge-=8);for(qe=qe<0;C[V+Or]=qe&255,Or+=dn,qe/=256,Ut-=8);C[V+Or-dn]|=jn*128},xs={read:Ha,write:Po},_o=Ra;function Ra(C){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(C)?C:new Uint8Array(C||0),this.pos=0,this.type=0,this.length=this.buf.length}Ra.Varint=0,Ra.Fixed64=1,Ra.Bytes=2,Ra.Fixed32=5;var es=65536*65536,qo=1/es,Bo=12,ma=typeof TextDecoder>"u"?null:new TextDecoder("utf8");Ra.prototype={destroy:function(){this.buf=null},readFields:function(C,k,V){for(V=V||this.length;this.pos>3,Pe=this.pos;this.type=oe&7,C(ge,k,this),this.pos===Pe&&this.skip(oe)}return k},readMessage:function(C,k){return this.readFields(C,k,this.readVarint()+this.pos)},readFixed32:function(){var C=Vf(this.buf,this.pos);return this.pos+=4,C},readSFixed32:function(){var C=rd(this.buf,this.pos);return this.pos+=4,C},readFixed64:function(){var C=Vf(this.buf,this.pos)+Vf(this.buf,this.pos+4)*es;return this.pos+=8,C},readSFixed64:function(){var C=Vf(this.buf,this.pos)+rd(this.buf,this.pos+4)*es;return this.pos+=8,C},readFloat:function(){var C=xs.read(this.buf,this.pos,!0,23,4);return this.pos+=4,C},readDouble:function(){var C=xs.read(this.buf,this.pos,!0,52,8);return this.pos+=8,C},readVarint:function(C){var k=this.buf,V,oe;return oe=k[this.pos++],V=oe&127,oe<128||(oe=k[this.pos++],V|=(oe&127)<<7,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<14,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<21,oe<128)?V:(oe=k[this.pos],V|=(oe&15)<<28,us(V,C,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var C=this.readVarint();return C%2===1?(C+1)/-2:C/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var C=this.readVarint()+this.pos,k=this.pos;return this.pos=C,C-k>=Bo&&ma?Gl(this.buf,k,C):jh(this.buf,k,C)},readBytes:function(){var C=this.readVarint()+this.pos,k=this.buf.subarray(this.pos,C);return this.pos=C,k},readPackedVarint:function(C,k){if(this.type!==Ra.Bytes)return C.push(this.readVarint(k));var V=No(this);for(C=C||[];this.pos127;);else if(k===Ra.Bytes)this.pos=this.readVarint()+this.pos;else if(k===Ra.Fixed32)this.pos+=4;else if(k===Ra.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+k)},writeTag:function(C,k){this.writeVarint(C<<3|k)},realloc:function(C){for(var k=this.length||16;k268435455||C<0){Au(C,this);return}this.realloc(4),this.buf[this.pos++]=C&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=C>>>7&127)))},writeSVarint:function(C){this.writeVarint(C<0?-C*2-1:C*2)},writeBoolean:function(C){this.writeVarint(!!C)},writeString:function(C){C=String(C),this.realloc(C.length*4),this.pos++;var k=this.pos;this.pos=Nu(this.buf,C,this.pos);var V=this.pos-k;V>=128&&cd(k,V,this),this.pos=k-1,this.writeVarint(V),this.pos+=V},writeFloat:function(C){this.realloc(4),xs.write(this.buf,C,this.pos,!0,23,4),this.pos+=4},writeDouble:function(C){this.realloc(8),xs.write(this.buf,C,this.pos,!0,52,8),this.pos+=8},writeBytes:function(C){var k=C.length;this.writeVarint(k),this.realloc(k);for(var V=0;V=128&&cd(V,oe,this),this.pos=V-1,this.writeVarint(oe),this.pos+=oe},writeMessage:function(C,k,V){this.writeTag(C,Ra.Bytes),this.writeRawMessage(k,V)},writePackedVarint:function(C,k){k.length&&this.writeMessage(C,nh,k)},writePackedSVarint:function(C,k){k.length&&this.writeMessage(C,Cf,k)},writePackedBoolean:function(C,k){k.length&&this.writeMessage(C,Ph,k)},writePackedFloat:function(C,k){k.length&&this.writeMessage(C,kh,k)},writePackedDouble:function(C,k){k.length&&this.writeMessage(C,Lh,k)},writePackedFixed32:function(C,k){k.length&&this.writeMessage(C,jc,k)},writePackedSFixed32:function(C,k){k.length&&this.writeMessage(C,kf,k)},writePackedFixed64:function(C,k){k.length&&this.writeMessage(C,mh,k)},writePackedSFixed64:function(C,k){k.length&&this.writeMessage(C,ih,k)},writeBytesField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeBytes(k)},writeFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFixed32(k)},writeSFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeSFixed32(k)},writeFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeFixed64(k)},writeSFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeSFixed64(k)},writeVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeVarint(k)},writeSVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeSVarint(k)},writeStringField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeString(k)},writeFloatField:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFloat(k)},writeDoubleField:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeDouble(k)},writeBooleanField:function(C,k){this.writeVarintField(C,!!k)}};function us(C,k,V){var oe=V.buf,ge,Pe;if(Pe=oe[V.pos++],ge=(Pe&112)>>4,Pe<128||(Pe=oe[V.pos++],ge|=(Pe&127)<<3,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<10,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<17,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<24,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&1)<<31,Pe<128))return ks(C,ge,k);throw new Error("Expected varint not more than 10 bytes")}function No(C){return C.type===Ra.Bytes?C.readVarint()+C.pos:C.pos+1}function ks(C,k,V){return V?k*4294967296+(C>>>0):(k>>>0)*4294967296+(C>>>0)}function Au(C,k){var V,oe;if(C>=0?(V=C%4294967296|0,oe=C/4294967296|0):(V=~(-C%4294967296),oe=~(-C/4294967296),V^4294967295?V=V+1|0:(V=0,oe=oe+1|0)),C>=18446744073709552e3||C<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");k.realloc(10),yu(V,oe,k),Ef(oe,k)}function yu(C,k,V){V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos]=C&127}function Ef(C,k){var V=(C&7)<<4;k.buf[k.pos++]|=V|((C>>>=3)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127)))))}function cd(C,k,V){var oe=k<=16383?1:k<=2097151?2:k<=268435455?3:Math.floor(Math.log(k)/(Math.LN2*7));V.realloc(oe);for(var ge=V.pos-1;ge>=C;ge--)V.buf[ge+oe]=V.buf[ge]}function nh(C,k){for(var V=0;V>>8,C[V+2]=k>>>16,C[V+3]=k>>>24}function rd(C,k){return(C[k]|C[k+1]<<8|C[k+2]<<16)+(C[k+3]<<24)}function jh(C,k,V){for(var oe="",ge=k;ge239?4:Pe>223?3:Pe>191?2:1;if(ge+ft>V)break;var Pt,Ut,Kt;ft===1?Pe<128&&(qe=Pe):ft===2?(Pt=C[ge+1],(Pt&192)===128&&(qe=(Pe&31)<<6|Pt&63,qe<=127&&(qe=null))):ft===3?(Pt=C[ge+1],Ut=C[ge+2],(Pt&192)===128&&(Ut&192)===128&&(qe=(Pe&15)<<12|(Pt&63)<<6|Ut&63,(qe<=2047||qe>=55296&&qe<=57343)&&(qe=null))):ft===4&&(Pt=C[ge+1],Ut=C[ge+2],Kt=C[ge+3],(Pt&192)===128&&(Ut&192)===128&&(Kt&192)===128&&(qe=(Pe&15)<<18|(Pt&63)<<12|(Ut&63)<<6|Kt&63,(qe<=65535||qe>=1114112)&&(qe=null))),qe===null?(qe=65533,ft=1):qe>65535&&(qe-=65536,oe+=String.fromCharCode(qe>>>10&1023|55296),qe=56320|qe&1023),oe+=String.fromCharCode(qe),ge+=ft}return oe}function Gl(C,k,V){return ma.decode(C.subarray(k,V))}function Nu(C,k,V){for(var oe=0,ge,Pe;oe55295&&ge<57344)if(Pe)if(ge<56320){C[V++]=239,C[V++]=191,C[V++]=189,Pe=ge;continue}else ge=Pe-55296<<10|ge-56320|65536,Pe=null;else{ge>56319||oe+1===k.length?(C[V++]=239,C[V++]=191,C[V++]=189):Pe=ge;continue}else Pe&&(C[V++]=239,C[V++]=191,C[V++]=189,Pe=null);ge<128?C[V++]=ge:(ge<2048?C[V++]=ge>>6|192:(ge<65536?C[V++]=ge>>12|224:(C[V++]=ge>>18|240,C[V++]=ge>>12&63|128),C[V++]=ge>>6&63|128),C[V++]=ge&63|128)}return V}var Mu=3;function nd(C,k,V){C===1&&V.readMessage(Mc,k)}function Mc(C,k,V){if(C===3){var oe=V.readMessage(gp,{}),ge=oe.id,Pe=oe.bitmap,qe=oe.width,ft=oe.height,Pt=oe.left,Ut=oe.top,Kt=oe.advance;k.push({id:ge,bitmap:new td({width:qe+2*Mu,height:ft+2*Mu},Pe),metrics:{width:qe,height:ft,left:Pt,top:Ut,advance:Kt}})}}function gp(C,k,V){C===1?k.id=V.readVarint():C===2?k.bitmap=V.readBytes():C===3?k.width=V.readVarint():C===4?k.height=V.readVarint():C===5?k.left=V.readSVarint():C===6?k.top=V.readSVarint():C===7&&(k.advance=V.readVarint())}function Nd(C){return new _o(C).readFields(nd,[])}var kd=Mu;function fd(C){for(var k=0,V=0,oe=0,ge=C;oe=0;Or--){var dn=ft[Or];if(!(Vr.w>dn.w||Vr.h>dn.h)){if(Vr.x=dn.x,Vr.y=dn.y,Ut=Math.max(Ut,Vr.y+Vr.h),Pt=Math.max(Pt,Vr.x+Vr.w),Vr.w===dn.w&&Vr.h===dn.h){var jn=ft.pop();Or=0&&ge>=k&&jd[this.text.charCodeAt(ge)];ge--)oe--;this.text=this.text.substring(k,oe),this.sectionIndex=this.sectionIndex.slice(k,oe)},qf.prototype.substring=function(k,V){var oe=new qf;return oe.text=this.text.substring(k,V),oe.sectionIndex=this.sectionIndex.slice(k,V),oe.sections=this.sections,oe},qf.prototype.toString=function(){return this.text},qf.prototype.getMaxScale=function(){var k=this;return this.sectionIndex.reduce(function(V,oe){return Math.max(V,k.sections[oe].scale)},0)},qf.prototype.addTextSection=function(k,V){this.text+=k.text,this.sections.push(qv.forText(k.scale,k.fontStack||V));for(var oe=this.sections.length-1,ge=0;ge=Ud?null:++this.imageSectionID:(this.imageSectionID=gg,this.imageSectionID)};function Qb(C,k){for(var V=[],oe=C.text,ge=0,Pe=0,qe=k;Pe=0,Kt=0,_r=0;_r0&&gf>Co&&(Co=gf)}else{var Pl=V[xo.fontStack],bl=Pl&&Pl[ko];if(bl&&bl.rect)Ts=bl.rect,Gs=bl.metrics;else{var Su=k[xo.fontStack],Uu=Su&&Su[ko];if(!Uu)continue;Gs=Uu.metrics}Do=(Yi-xo.scale)*Gi}Ll?(C.verticalizable=!0,Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=du*xo.scale+Ut):(Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=Gs.advance*xo.scale+Ut)}if(Ua.length!==0){var Rh=Vr-Ut;dn=Math.max(Rh,dn),nw(Ua,0,Ua.length-1,mi,Co)}Vr=0;var Dh=Pe*Yi+Co;Ga.lineOffset=Math.max(Co,ga),Or+=Dh,jn=Math.max(Dh,jn),++ii}var Wf=Or-yp,Hh=Ny(qe),Gh=Hh.horizontalAlign,Lf=Hh.verticalAlign;gh(C.positionedLines,mi,Gh,Lf,dn,jn,Pe,Wf,ge.length),C.top+=-Lf*Wf,C.bottom=C.top+Wf,C.left+=-Gh*dn,C.right=C.left+dn}function nw(C,k,V,oe,ge){if(!(!oe&&!ge))for(var Pe=C[V],qe=Pe.metrics.advance*Pe.scale,ft=(C[V].x+qe)*oe,Pt=k;Pt<=V;Pt++)C[Pt].x-=ft,C[Pt].y+=ge}function gh(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=(k-V)*ge,Kt=0;Pe!==qe?Kt=-ft*oe-yp:Kt=(-oe*Pt+.5)*qe;for(var _r=0,Vr=C;_r-V/2;){if(qe--,qe<0)return!1;ft-=C[qe].dist(Pe),Pe=C[qe]}ft+=C[qe].dist(C[qe+1]),qe++;for(var Pt=[],Ut=0;ftoe;)Ut-=Pt.shift().angleDelta;if(Ut>ge)return!1;qe++,ft+=_r.dist(Vr)}return!0}function rS(C){for(var k=0,V=0;VUt){var dn=(Ut-Pt)/Or,jn=Sl(_r.x,Vr.x,dn),mi=Sl(_r.y,Vr.y,dn),ii=new Ih(jn,mi,Vr.angleTo(_r),Kt);return ii._round(),!qe||tS(C,ii,ft,qe,k)?ii:void 0}Pt+=Or}}function qF(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=nS(oe,Pe,qe),Kt=iS(oe,ge),_r=Kt*qe,Vr=C[0].x===0||C[0].x===Pt||C[0].y===0||C[0].y===Pt;k-_r=0&&ji=0&&Yi=0&&Vr+Ut<=Kt){var ga=new Ih(ji,Yi,Vi,dn);ga._round(),(!oe||tS(C,ga,Pe,oe,ge))&&Or.push(ga)}}_r+=ii}return!ft&&!Or.length&&!qe&&(Or=aS(C,_r/2,V,oe,ge,Pe,qe,!0,Pt)),Or}function oS(C,k,V,oe,ge){for(var Pe=[],qe=0;qe=oe&&_r.x>=oe)&&(Kt.x>=oe?Kt=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round():_r.x>=oe&&(_r=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round()),!(Kt.y>=ge&&_r.y>=ge)&&(Kt.y>=ge?Kt=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round():_r.y>=ge&&(_r=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round()),(!Pt||!Kt.equals(Pt[Pt.length-1]))&&(Pt=[Kt],Pe.push(Pt)),Pt.push(_r)))))}return Pe}var xg=ic;function sS(C,k,V,oe){var ge=[],Pe=C.image,qe=Pe.pixelRatio,ft=Pe.paddedRect.w-2*xg,Pt=Pe.paddedRect.h-2*xg,Ut=C.right-C.left,Kt=C.bottom-C.top,_r=Pe.stretchX||[[0,ft]],Vr=Pe.stretchY||[[0,Pt]],Or=function(Pl,bl){return Pl+bl[1]-bl[0]},dn=_r.reduce(Or,0),jn=Vr.reduce(Or,0),mi=ft-dn,ii=Pt-jn,Vi=0,Ai=dn,ji=0,Yi=jn,ga=0,Ga=mi,Ua=0,Co=ii;if(Pe.content&&oe){var so=Pe.content;Vi=z1(_r,0,so[0]),ji=z1(Vr,0,so[1]),Ai=z1(_r,so[0],so[2]),Yi=z1(Vr,so[1],so[3]),ga=so[0]-Vi,Ua=so[1]-ji,Ga=so[2]-so[0]-Ai,Co=so[3]-so[1]-Yi}var xo=function(Pl,bl,Su,Uu){var Vc=F1(Pl.stretch-Vi,Ai,Ut,C.left),ef=O1(Pl.fixed-ga,Ga,Pl.stretch,dn),Gf=F1(bl.stretch-ji,Yi,Kt,C.top),gf=O1(bl.fixed-Ua,Co,bl.stretch,jn),Rh=F1(Su.stretch-Vi,Ai,Ut,C.left),Dh=O1(Su.fixed-ga,Ga,Su.stretch,dn),Wf=F1(Uu.stretch-ji,Yi,Kt,C.top),Hh=O1(Uu.fixed-Ua,Co,Uu.stretch,jn),Gh=new i(Vc,Gf),Lf=new i(Rh,Gf),Wh=new i(Rh,Wf),Ad=new i(Vc,Wf),Wv=new i(ef/qe,gf/qe),bp=new i(Dh/qe,Hh/qe),wp=k*Math.PI/180;if(wp){var Tp=Math.sin(wp),Cg=Math.cos(wp),Vd=[Cg,-Tp,Tp,Cg];Gh._matMult(Vd),Lf._matMult(Vd),Ad._matMult(Vd),Wh._matMult(Vd)}var q1=Pl.stretch+Pl.fixed,fw=Su.stretch+Su.fixed,H1=bl.stretch+bl.fixed,hw=Uu.stretch+Uu.fixed,Ld={x:Pe.paddedRect.x+xg+q1,y:Pe.paddedRect.y+xg+H1,w:fw-q1,h:hw-H1},kg=Ga/qe/Ut,G1=Co/qe/Kt;return{tl:Gh,tr:Lf,bl:Ad,br:Wh,tex:Ld,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:Wv,pixelOffsetBR:bp,minFontScaleX:kg,minFontScaleY:G1,isSDF:V}};if(!oe||!Pe.stretchX&&!Pe.stretchY)ge.push(xo({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:ft+1},{fixed:0,stretch:Pt+1}));else for(var Ss=lS(_r,mi,dn),ko=lS(Vr,ii,jn),Do=0;Do0&&(dn=Math.max(10,dn),this.circleDiameter=dn)}else{var jn=qe.top*ft-Pt,mi=qe.bottom*ft+Pt,ii=qe.left*ft-Pt,Vi=qe.right*ft+Pt,Ai=qe.collisionPadding;if(Ai&&(ii-=Ai[0]*ft,jn-=Ai[1]*ft,Vi+=Ai[2]*ft,mi+=Ai[3]*ft),Kt){var ji=new i(ii,jn),Yi=new i(Vi,jn),ga=new i(ii,mi),Ga=new i(Vi,mi),Ua=Kt*Math.PI/180;ji._rotate(Ua),Yi._rotate(Ua),ga._rotate(Ua),Ga._rotate(Ua),ii=Math.min(ji.x,Yi.x,ga.x,Ga.x),Vi=Math.max(ji.x,Yi.x,ga.x,Ga.x),jn=Math.min(ji.y,Yi.y,ga.y,Ga.y),mi=Math.max(ji.y,Yi.y,ga.y,Ga.y)}k.emplaceBack(V.x,V.y,ii,jn,Vi,mi,oe,ge,Pe)}this.boxEndIndex=k.length},bg=function(k,V){if(k===void 0&&(k=[]),V===void 0&&(V=GF),this.data=k,this.length=this.data.length,this.compare=V,this.length>0)for(var oe=(this.length>>1)-1;oe>=0;oe--)this._down(oe)};bg.prototype.push=function(k){this.data.push(k),this.length++,this._up(this.length-1)},bg.prototype.pop=function(){if(this.length!==0){var k=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),k}},bg.prototype.peek=function(){return this.data[0]},bg.prototype._up=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=oe[k];k>0;){var qe=k-1>>1,ft=oe[qe];if(ge(Pe,ft)>=0)break;oe[k]=ft,k=qe}oe[k]=Pe},bg.prototype._down=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=this.length>>1,qe=oe[k];k=0)break;oe[k]=Pt,k=ft}oe[k]=qe};function GF(C,k){return Ck?1:0}function WF(C,k,V){k===void 0&&(k=1),V===void 0&&(V=!1);for(var oe=1/0,ge=1/0,Pe=-1/0,qe=-1/0,ft=C[0],Pt=0;PtPe)&&(Pe=Ut.x),(!Pt||Ut.y>qe)&&(qe=Ut.y)}var Kt=Pe-oe,_r=qe-ge,Vr=Math.min(Kt,_r),Or=Vr/2,dn=new bg([],XF);if(Vr===0)return new i(oe,ge);for(var jn=oe;jnii.d||!ii.d)&&(ii=Ai,V&&console.log("found best %d after %d probes",Math.round(1e4*Ai.d)/1e4,Vi)),!(Ai.max-ii.d<=k)&&(Or=Ai.h/2,dn.push(new wg(Ai.p.x-Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x-Or,Ai.p.y+Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y+Or,Or,C)),Vi+=4)}return V&&(console.log("num probes: "+Vi),console.log("best distance: "+ii.d)),ii.p}function XF(C,k){return k.max-C.max}function wg(C,k,V,oe){this.p=new i(C,k),this.h=V,this.d=ZF(this.p,oe),this.max=this.d+this.h*Math.SQRT2}function ZF(C,k){for(var V=!1,oe=1/0,ge=0;geC.y!=Kt.y>C.y&&C.x<(Kt.x-Ut.x)*(C.y-Ut.y)/(Kt.y-Ut.y)+Ut.x&&(V=!V),oe=Math.min(oe,$d(C,Ut,Kt))}return(V?1:-1)*Math.sqrt(oe)}function YF(C){for(var k=0,V=0,oe=0,ge=C[0],Pe=0,qe=ge.length,ft=qe-1;Pe=$i||Vd.y<0||Vd.y>=$i||$F(C,Vd,Cg,V,oe,ge,ko,C.layers[0],C.collisionBoxArray,k.index,k.sourceLayerIndex,C.index,ii,Yi,Ua,Pt,Ai,ga,Co,Or,k,Pe,Ut,Kt,qe)};if(so==="line")for(var Gs=0,Ts=oS(k.geometry,0,0,$i,$i);Gs1){var Gf=VF(ef,Ga,V.vertical||dn,oe,jn,Vi);Gf&&Do(ef,Gf)}}else if(k.type==="Polygon")for(var gf=0,Rh=fg(k.geometry,0);gf_p&&U(C.layerIds[0]+': Value for "text-size" is >= '+Uy+'. Reduce your "text-size".')):mi.kind==="composite"&&(ii=[yh*Or.compositeTextSizes[0].evaluate(qe,{},dn),yh*Or.compositeTextSizes[1].evaluate(qe,{},dn)],(ii[0]>_p||ii[1]>_p)&&U(C.layerIds[0]+': Value for "text-size" is >= '+Uy+'. Reduce your "text-size".')),C.addSymbols(C.text,jn,ii,ft,Pe,qe,Ut,k,Pt.lineStartIndex,Pt.lineLength,Vr,dn);for(var Vi=0,Ai=Kt;Vi_p&&U(C.layerIds[0]+': Value for "icon-size" is >= '+Uy+'. Reduce your "icon-size".')):Gh.kind==="composite"&&(Lf=[yh*Yi.compositeIconSizes[0].evaluate(ji,{},Ga),yh*Yi.compositeIconSizes[1].evaluate(ji,{},Ga)],(Lf[0]>_p||Lf[1]>_p)&&U(C.layerIds[0]+': Value for "icon-size" is >= '+Uy+'. Reduce your "icon-size".')),C.addSymbols(C.icon,Wf,Lf,Ai,Vi,ji,!1,k,so.lineStartIndex,so.lineLength,-1,Ga),Ll=C.icon.placedSymbolArray.length-1,Hh&&(Ts=Hh.length*4,C.addSymbols(C.icon,Hh,Lf,Ai,Vi,ji,Vh.vertical,k,so.lineStartIndex,so.lineLength,-1,Ga),Pl=C.icon.placedSymbolArray.length-1)}for(var Wh in oe.horizontal){var Ad=oe.horizontal[Wh];if(!xo){Su=ye(Ad.text);var Wv=ft.layout.get("text-rotate").evaluate(ji,{},Ga);xo=new B1(Pt,k,Ut,Kt,_r,Ad,Vr,Or,dn,Wv)}var bp=Ad.positionedLines.length===1;if(kl+=cS(C,k,Ad,Pe,ft,dn,ji,jn,so,oe.vertical?Vh.horizontal:Vh.horizontalOnly,bp?Object.keys(oe.horizontal):[Wh],bl,Ll,Yi,Ga),bp)break}oe.vertical&&(du+=cS(C,k,oe.vertical,Pe,ft,dn,ji,jn,so,Vh.vertical,["vertical"],bl,Pl,Yi,Ga));var wp=xo?xo.boxStartIndex:C.collisionBoxArray.length,Tp=xo?xo.boxEndIndex:C.collisionBoxArray.length,Cg=ko?ko.boxStartIndex:C.collisionBoxArray.length,Vd=ko?ko.boxEndIndex:C.collisionBoxArray.length,q1=Ss?Ss.boxStartIndex:C.collisionBoxArray.length,fw=Ss?Ss.boxEndIndex:C.collisionBoxArray.length,H1=Do?Do.boxStartIndex:C.collisionBoxArray.length,hw=Do?Do.boxEndIndex:C.collisionBoxArray.length,Ld=-1,kg=function(qy,ES){return qy&&qy.circleDiameter?Math.max(qy.circleDiameter,ES):ES};Ld=kg(xo,Ld),Ld=kg(ko,Ld),Ld=kg(Ss,Ld),Ld=kg(Do,Ld);var G1=Ld>-1?1:0;G1&&(Ld*=Ua/Gi),C.glyphOffsetArray.length>=hu.MAX_GLYPHS&&U("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),ji.sortKey!==void 0&&C.addToSortKeyRanges(C.symbolInstances.length,ji.sortKey),C.symbolInstances.emplaceBack(k.x,k.y,bl.right>=0?bl.right:-1,bl.center>=0?bl.center:-1,bl.left>=0?bl.left:-1,bl.vertical||-1,Ll,Pl,Su,wp,Tp,Cg,Vd,q1,fw,H1,hw,Ut,kl,du,Gs,Ts,G1,0,Vr,Uu,Vc,Ld)}function QF(C,k,V,oe){var ge=C.compareText;if(!(k in ge))ge[k]=[];else for(var Pe=ge[k],qe=Pe.length-1;qe>=0;qe--)if(oe.dist(Pe[qe])0)&&(qe.value.kind!=="constant"||qe.value.value.length>0),Kt=Pt.value.kind!=="constant"||!!Pt.value.value||Object.keys(Pt.parameters).length>0,_r=Pe.get("symbol-sort-key");if(this.features=[],!(!Ut&&!Kt)){for(var Vr=V.iconDependencies,Or=V.glyphDependencies,dn=V.availableImages,jn=new ua(this.zoom),mi=0,ii=k;mi=0;for(var du=0,Ll=Co.sections;du=0;Pt--)qe[Pt]={x:V[Pt].x,y:V[Pt].y,tileUnitDistanceFromAnchor:Pe},Pt>0&&(Pe+=V[Pt-1].dist(V[Pt]));for(var Ut=0;Ut0},hu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},hu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},hu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},hu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},hu.prototype.addIndicesForPlacedSymbol=function(k,V){for(var oe=k.placedSymbolArray.get(V),ge=oe.vertexStartIndex+oe.numGlyphs*4,Pe=oe.vertexStartIndex;Pe1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(k),this.sortedAngle=k,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var oe=0,ge=this.symbolInstanceIndexes;oe=0&&Ut.indexOf(ft)===Pt&&V.addIndicesForPlacedSymbol(V.text,ft)}),qe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,qe.verticalPlacedTextSymbolIndex),qe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.placedIconSymbolIndex),qe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},de("SymbolBucket",hu,{omit:["layers","collisionBoxArray","features","compareText"]}),hu.MAX_GLYPHS=65535,hu.addDynamicAttributes=ow;function nO(C,k){return k.replace(/{([^{}]+)}/g,function(V,oe){return oe in C?String(C[oe]):""})}var iO=new Fi({"symbol-placement":new tr(Mi.layout_symbol["symbol-placement"]),"symbol-spacing":new tr(Mi.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new tr(Mi.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new cn(Mi.layout_symbol["symbol-sort-key"]),"symbol-z-order":new tr(Mi.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new tr(Mi.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new tr(Mi.layout_symbol["icon-ignore-placement"]),"icon-optional":new tr(Mi.layout_symbol["icon-optional"]),"icon-rotation-alignment":new tr(Mi.layout_symbol["icon-rotation-alignment"]),"icon-size":new cn(Mi.layout_symbol["icon-size"]),"icon-text-fit":new tr(Mi.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new tr(Mi.layout_symbol["icon-text-fit-padding"]),"icon-image":new cn(Mi.layout_symbol["icon-image"]),"icon-rotate":new cn(Mi.layout_symbol["icon-rotate"]),"icon-padding":new tr(Mi.layout_symbol["icon-padding"]),"icon-keep-upright":new tr(Mi.layout_symbol["icon-keep-upright"]),"icon-offset":new cn(Mi.layout_symbol["icon-offset"]),"icon-anchor":new cn(Mi.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new tr(Mi.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new tr(Mi.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new tr(Mi.layout_symbol["text-rotation-alignment"]),"text-field":new cn(Mi.layout_symbol["text-field"]),"text-font":new cn(Mi.layout_symbol["text-font"]),"text-size":new cn(Mi.layout_symbol["text-size"]),"text-max-width":new cn(Mi.layout_symbol["text-max-width"]),"text-line-height":new tr(Mi.layout_symbol["text-line-height"]),"text-letter-spacing":new cn(Mi.layout_symbol["text-letter-spacing"]),"text-justify":new cn(Mi.layout_symbol["text-justify"]),"text-radial-offset":new cn(Mi.layout_symbol["text-radial-offset"]),"text-variable-anchor":new tr(Mi.layout_symbol["text-variable-anchor"]),"text-anchor":new cn(Mi.layout_symbol["text-anchor"]),"text-max-angle":new tr(Mi.layout_symbol["text-max-angle"]),"text-writing-mode":new tr(Mi.layout_symbol["text-writing-mode"]),"text-rotate":new cn(Mi.layout_symbol["text-rotate"]),"text-padding":new tr(Mi.layout_symbol["text-padding"]),"text-keep-upright":new tr(Mi.layout_symbol["text-keep-upright"]),"text-transform":new cn(Mi.layout_symbol["text-transform"]),"text-offset":new cn(Mi.layout_symbol["text-offset"]),"text-allow-overlap":new tr(Mi.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new tr(Mi.layout_symbol["text-ignore-placement"]),"text-optional":new tr(Mi.layout_symbol["text-optional"])}),aO=new Fi({"icon-opacity":new cn(Mi.paint_symbol["icon-opacity"]),"icon-color":new cn(Mi.paint_symbol["icon-color"]),"icon-halo-color":new cn(Mi.paint_symbol["icon-halo-color"]),"icon-halo-width":new cn(Mi.paint_symbol["icon-halo-width"]),"icon-halo-blur":new cn(Mi.paint_symbol["icon-halo-blur"]),"icon-translate":new tr(Mi.paint_symbol["icon-translate"]),"icon-translate-anchor":new tr(Mi.paint_symbol["icon-translate-anchor"]),"text-opacity":new cn(Mi.paint_symbol["text-opacity"]),"text-color":new cn(Mi.paint_symbol["text-color"],{runtimeType:Ps,getOverride:function(C){return C.textColor},hasOverride:function(C){return!!C.textColor}}),"text-halo-color":new cn(Mi.paint_symbol["text-halo-color"]),"text-halo-width":new cn(Mi.paint_symbol["text-halo-width"]),"text-halo-blur":new cn(Mi.paint_symbol["text-halo-blur"]),"text-translate":new tr(Mi.paint_symbol["text-translate"]),"text-translate-anchor":new tr(Mi.paint_symbol["text-translate-anchor"])}),sw={paint:aO,layout:iO},Mg=function(k){this.type=k.property.overrides?k.property.overrides.runtimeType:wl,this.defaultValue=k};Mg.prototype.evaluate=function(k){if(k.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(k.formattedSection))return V.getOverride(k.formattedSection)}return k.feature&&k.featureState?this.defaultValue.evaluate(k.feature,k.featureState):this.defaultValue.property.specification.default},Mg.prototype.eachChild=function(k){if(!this.defaultValue.isConstant()){var V=this.defaultValue.value;k(V._styleExpression.expression)}},Mg.prototype.outputDefined=function(){return!1},Mg.prototype.serialize=function(){return null},de("FormatSectionOverride",Mg,{omit:["defaultValue"]});var oO=function(C){function k(V){C.call(this,V,sw)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.recalculate=function(oe,ge){if(C.prototype.recalculate.call(this,oe,ge),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Pe=this.layout.get("text-writing-mode");if(Pe){for(var qe=[],ft=0,Pt=Pe;ft",targetMapId:ge,sourceMapId:qe.mapId})}}},Sg.prototype.receive=function(k){var V=k.data,oe=V.id;if(oe&&!(V.targetMapId&&this.mapId!==V.targetMapId))if(V.type===""){delete this.tasks[oe];var ge=this.cancelCallbacks[oe];delete this.cancelCallbacks[oe],ge&&ge()}else se()||V.mustQueue?(this.tasks[oe]=V,this.taskQueue.push(oe),this.invoker.trigger()):this.processTask(oe,V)},Sg.prototype.process=function(){if(this.taskQueue.length){var k=this.taskQueue.shift(),V=this.tasks[k];delete this.tasks[k],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(k,V)}},Sg.prototype.processTask=function(k,V){var oe=this;if(V.type===""){var ge=this.callbacks[k];delete this.callbacks[k],ge&&(V.error?ge(Tt(V.error)):ge(null,Tt(V.data)))}else{var Pe=!1,qe=$(this.globalScope)?void 0:[],ft=V.hasCallback?function(Vr,Or){Pe=!0,delete oe.cancelCallbacks[k],oe.target.postMessage({id:k,type:"",sourceMapId:oe.mapId,error:Vr?mt(Vr):null,data:mt(Or,qe)},qe)}:function(Vr){Pe=!0},Pt=null,Ut=Tt(V.data);if(this.parent[V.type])Pt=this.parent[V.type](V.sourceMapId,Ut,ft);else if(this.parent.getWorkerSource){var Kt=V.type.split("."),_r=this.parent.getWorkerSource(V.sourceMapId,Kt[0],Ut.source);Pt=_r[Kt[1]](Ut,ft)}else ft(new Error("Could not find function "+V.type));!Pe&&Pt&&Pt.cancel&&(this.cancelCallbacks[k]=Pt.cancel)}},Sg.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};function gO(C,k,V){k=Math.pow(2,V)-k-1;var oe=mS(C*256,k*256,V),ge=mS((C+1)*256,(k+1)*256,V);return oe[0]+","+oe[1]+","+ge[0]+","+ge[1]}function mS(C,k,V){var oe=2*Math.PI*6378137/256/Math.pow(2,V),ge=C*oe-2*Math.PI*6378137/2,Pe=k*oe-2*Math.PI*6378137/2;return[ge,Pe]}var pf=function(k,V){k&&(V?this.setSouthWest(k).setNorthEast(V):k.length===4?this.setSouthWest([k[0],k[1]]).setNorthEast([k[2],k[3]]):this.setSouthWest(k[0]).setNorthEast(k[1]))};pf.prototype.setNorthEast=function(k){return this._ne=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.setSouthWest=function(k){return this._sw=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.extend=function(k){var V=this._sw,oe=this._ne,ge,Pe;if(k instanceof ac)ge=k,Pe=k;else if(k instanceof pf){if(ge=k._sw,Pe=k._ne,!ge||!Pe)return this}else{if(Array.isArray(k))if(k.length===4||k.every(Array.isArray)){var qe=k;return this.extend(pf.convert(qe))}else{var ft=k;return this.extend(ac.convert(ft))}return this}return!V&&!oe?(this._sw=new ac(ge.lng,ge.lat),this._ne=new ac(Pe.lng,Pe.lat)):(V.lng=Math.min(ge.lng,V.lng),V.lat=Math.min(ge.lat,V.lat),oe.lng=Math.max(Pe.lng,oe.lng),oe.lat=Math.max(Pe.lat,oe.lat)),this},pf.prototype.getCenter=function(){return new ac((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pf.prototype.getSouthWest=function(){return this._sw},pf.prototype.getNorthEast=function(){return this._ne},pf.prototype.getNorthWest=function(){return new ac(this.getWest(),this.getNorth())},pf.prototype.getSouthEast=function(){return new ac(this.getEast(),this.getSouth())},pf.prototype.getWest=function(){return this._sw.lng},pf.prototype.getSouth=function(){return this._sw.lat},pf.prototype.getEast=function(){return this._ne.lng},pf.prototype.getNorth=function(){return this._ne.lat},pf.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pf.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},pf.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pf.prototype.contains=function(k){var V=ac.convert(k),oe=V.lng,ge=V.lat,Pe=this._sw.lat<=ge&&ge<=this._ne.lat,qe=this._sw.lng<=oe&&oe<=this._ne.lng;return this._sw.lng>this._ne.lng&&(qe=this._sw.lng>=oe&&oe>=this._ne.lng),Pe&&qe},pf.convert=function(k){return!k||k instanceof pf?k:new pf(k)};var gS=63710088e-1,ac=function(k,V){if(isNaN(k)||isNaN(V))throw new Error("Invalid LngLat object: ("+k+", "+V+")");if(this.lng=+k,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};ac.prototype.wrap=function(){return new ac(_(this.lng,-180,180),this.lat)},ac.prototype.toArray=function(){return[this.lng,this.lat]},ac.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},ac.prototype.distanceTo=function(k){var V=Math.PI/180,oe=this.lat*V,ge=k.lat*V,Pe=Math.sin(oe)*Math.sin(ge)+Math.cos(oe)*Math.cos(ge)*Math.cos((k.lng-this.lng)*V),qe=gS*Math.acos(Math.min(Pe,1));return qe},ac.prototype.toBounds=function(k){k===void 0&&(k=0);var V=40075017,oe=360*k/V,ge=oe/Math.cos(Math.PI/180*this.lat);return new pf(new ac(this.lng-ge,this.lat-oe),new ac(this.lng+ge,this.lat+oe))},ac.convert=function(k){if(k instanceof ac)return k;if(Array.isArray(k)&&(k.length===2||k.length===3))return new ac(Number(k[0]),Number(k[1]));if(!Array.isArray(k)&&typeof k=="object"&&k!==null)return new ac(Number("lng"in k?k.lng:k.lon),Number(k.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var yS=2*Math.PI*gS;function _S(C){return yS*Math.cos(C*Math.PI/180)}function xS(C){return(180+C)/360}function bS(C){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+C*Math.PI/360)))/360}function wS(C,k){return C/_S(k)}function yO(C){return C*360-180}function uw(C){var k=180-C*360;return 360/Math.PI*Math.atan(Math.exp(k*Math.PI/180))-90}function _O(C,k){return C*_S(uw(k))}function xO(C){return 1/Math.cos(C*Math.PI/180)}var xm=function(k,V,oe){oe===void 0&&(oe=0),this.x=+k,this.y=+V,this.z=+oe};xm.fromLngLat=function(k,V){V===void 0&&(V=0);var oe=ac.convert(k);return new xm(xS(oe.lng),bS(oe.lat),wS(V,oe.lat))},xm.prototype.toLngLat=function(){return new ac(yO(this.x),uw(this.y))},xm.prototype.toAltitude=function(){return _O(this.z,this.y)},xm.prototype.meterInMercatorCoordinateUnits=function(){return 1/yS*xO(uw(this.y))};var bm=function(k,V,oe){this.z=k,this.x=V,this.y=oe,this.key=Vy(0,k,k,V,oe)};bm.prototype.equals=function(k){return this.z===k.z&&this.x===k.x&&this.y===k.y},bm.prototype.url=function(k,V){var oe=gO(this.x,this.y,this.z),ge=bO(this.z,this.x,this.y);return k[(this.x+this.y)%k.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String(V==="tms"?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",ge).replace("{bbox-epsg-3857}",oe)},bm.prototype.getTilePoint=function(k){var V=Math.pow(2,this.z);return new i((k.x*V-this.x)*$i,(k.y*V-this.y)*$i)},bm.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var TS=function(k,V){this.wrap=k,this.canonical=V,this.key=Vy(k,V.z,V.z,V.x,V.y)},mf=function(k,V,oe,ge,Pe){this.overscaledZ=k,this.wrap=V,this.canonical=new bm(oe,+ge,+Pe),this.key=Vy(V,k,oe,ge,Pe)};mf.prototype.equals=function(k){return this.overscaledZ===k.overscaledZ&&this.wrap===k.wrap&&this.canonical.equals(k.canonical)},mf.prototype.scaledTo=function(k){var V=this.canonical.z-k;return k>this.canonical.z?new mf(k,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new mf(k,this.wrap,k,this.canonical.x>>V,this.canonical.y>>V)},mf.prototype.calculateScaledKey=function(k,V){var oe=this.canonical.z-k;return k>this.canonical.z?Vy(this.wrap*+V,k,this.canonical.z,this.canonical.x,this.canonical.y):Vy(this.wrap*+V,k,k,this.canonical.x>>oe,this.canonical.y>>oe)},mf.prototype.isChildOf=function(k){if(k.wrap!==this.wrap)return!1;var V=this.canonical.z-k.canonical.z;return k.overscaledZ===0||k.overscaledZ>V&&k.canonical.y===this.canonical.y>>V},mf.prototype.children=function(k){if(this.overscaledZ>=k)return[new mf(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,oe=this.canonical.x*2,ge=this.canonical.y*2;return[new mf(V,this.wrap,V,oe,ge),new mf(V,this.wrap,V,oe+1,ge),new mf(V,this.wrap,V,oe,ge+1),new mf(V,this.wrap,V,oe+1,ge+1)]},mf.prototype.isLessThan=function(k){return this.wrapk.wrap?!1:this.overscaledZk.overscaledZ?!1:this.canonical.xk.canonical.x?!1:this.canonical.y0;Pe--)ge=1<=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(k+1)},Hv.prototype._unpackMapbox=function(k,V,oe){return(k*256*256+V*256+oe)/10-1e4},Hv.prototype._unpackTerrarium=function(k,V,oe){return k*256+V+oe/256-32768},Hv.prototype.getPixels=function(){return new Sf({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Hv.prototype.backfillBorder=function(k,V,oe){if(this.dim!==k.dim)throw new Error("dem dimension mismatch");var ge=V*this.dim,Pe=V*this.dim+this.dim,qe=oe*this.dim,ft=oe*this.dim+this.dim;switch(V){case-1:ge=Pe-1;break;case 1:Pe=ge+1;break}switch(oe){case-1:qe=ft-1;break;case 1:ft=qe+1;break}for(var Pt=-V*this.dim,Ut=-oe*this.dim,Kt=qe;Kt=0&&_r[3]>=0&&Pt.insert(ft,_r[0],_r[1],_r[2],_r[3])}},Gv.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new nv.VectorTile(new _o(this.rawTileData)).layers,this.sourceLayerCoder=new j1(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Gv.prototype.query=function(k,V,oe,ge){var Pe=this;this.loadVTLayers();for(var qe=k.params||{},ft=$i/k.tileSize/k.scale,Pt=$e(qe.filter),Ut=k.queryGeometry,Kt=k.queryPadding*ft,_r=MS(Ut),Vr=this.grid.query(_r.minX-Kt,_r.minY-Kt,_r.maxX+Kt,_r.maxY+Kt),Or=MS(k.cameraQueryGeometry),dn=this.grid3D.query(Or.minX-Kt,Or.minY-Kt,Or.maxX+Kt,Or.maxY+Kt,function(ga,Ga,Ua,Co){return xd(k.cameraQueryGeometry,ga-Kt,Ga-Kt,Ua+Kt,Co+Kt)}),jn=0,mi=dn;jnge)Pe=!1;else if(!V)Pe=!0;else if(this.expirationTime=nn.maxzoom)&&nn.visibility!=="none"){c(Dr,this.zoom,Vt);var vn=Wn[nn.id]=nn.createBucket({index:Fn.bucketLayerIDs.length,layers:Dr,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:yt,sourceID:this.source});vn.populate(Pr,ri,this.tileID.canonical),Fn.bucketLayerIDs.push(Dr.map(function(wn){return wn.id}))}}}}var gn,kt,or,yr,on=e.mapObject(ri.glyphDependencies,function(wn){return Object.keys(wn).map(Number)});Object.keys(on).length?wr.send("getGlyphs",{uid:this.uid,stacks:on},function(wn,Dn){gn||(gn=wn,kt=Dn,Bn.call(xn))}):kt={};var An=Object.keys(ri.iconDependencies);An.length?wr.send("getImages",{icons:An,source:this.source,tileID:this.tileID,type:"icons"},function(wn,Dn){gn||(gn=wn,or=Dn,Bn.call(xn))}):or={};var Zn=Object.keys(ri.patternDependencies);Zn.length?wr.send("getImages",{icons:Zn,source:this.source,tileID:this.tileID,type:"patterns"},function(wn,Dn){gn||(gn=wn,yr=Dn,Bn.call(xn))}):yr={},Bn.call(this);function Bn(){if(gn)return $r(gn);if(kt&&or&&yr){var wn=new a(kt),Dn=new e.ImageAtlas(or,yr);for(var Ui in Wn){var pi=Wn[Ui];pi instanceof e.SymbolBucket?(c(pi.layers,this.zoom,Vt),e.performSymbolLayout(pi,kt,wn.positions,or,Dn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):pi.hasPattern&&(pi instanceof e.LineBucket||pi instanceof e.FillBucket||pi instanceof e.FillExtrusionBucket)&&(c(pi.layers,this.zoom,Vt),pi.addFeatures(ri,this.tileID.canonical,Dn.patternPositions))}this.status="done",$r(null,{buckets:e.values(Wn).filter(function(Ta){return!Ta.isEmpty()}),featureIndex:Fn,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:wn.image,imageAtlas:Dn,glyphMap:this.returnDependencies?kt:null,iconMap:this.returnDependencies?or:null,glyphPositions:this.returnDependencies?wn.positions:null})}}};function c(Zt,Ft,Ht){for(var Vt=new e.EvaluationParameters(Ft),wr=0,$r=Zt;wr<$r.length;wr+=1){var xn=$r[wr];xn.recalculate(Vt,Ht)}}function h(Zt,Ft){var Ht=e.getArrayBuffer(Zt.request,function(Vt,wr,$r,xn){Vt?Ft(Vt):wr&&Ft(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(wr)),rawData:wr,cacheControl:$r,expires:xn})});return function(){Ht.cancel(),Ft()}}var p=function(Ft,Ht,Vt,wr){this.actor=Ft,this.layerIndex=Ht,this.availableImages=Vt,this.loadVectorData=wr||h,this.loading={},this.loaded={}};p.prototype.loadTile=function(Ft,Ht){var Vt=this,wr=Ft.uid;this.loading||(this.loading={});var $r=Ft&&Ft.request&&Ft.request.collectResourceTiming?new e.RequestPerformance(Ft.request):!1,xn=this.loading[wr]=new s(Ft);xn.abort=this.loadVectorData(Ft,function(en,Fn){if(delete Vt.loading[wr],en||!Fn)return xn.status="done",Vt.loaded[wr]=xn,Ht(en);var Wn=Fn.rawData,ri={};Fn.expires&&(ri.expires=Fn.expires),Fn.cacheControl&&(ri.cacheControl=Fn.cacheControl);var Sn={};if($r){var ui=$r.finish();ui&&(Sn.resourceTiming=JSON.parse(JSON.stringify(ui)))}xn.vectorTile=Fn.vectorTile,xn.parse(Fn.vectorTile,Vt.layerIndex,Vt.availableImages,Vt.actor,function(gt,yt){if(gt||!yt)return Ht(gt);Ht(null,e.extend({rawTileData:Wn.slice(0)},yt,ri,Sn))}),Vt.loaded=Vt.loaded||{},Vt.loaded[wr]=xn})},p.prototype.reloadTile=function(Ft,Ht){var Vt=this,wr=this.loaded,$r=Ft.uid,xn=this;if(wr&&wr[$r]){var en=wr[$r];en.showCollisionBoxes=Ft.showCollisionBoxes;var Fn=function(Wn,ri){var Sn=en.reloadCallback;Sn&&(delete en.reloadCallback,en.parse(en.vectorTile,xn.layerIndex,Vt.availableImages,xn.actor,Sn)),Ht(Wn,ri)};en.status==="parsing"?en.reloadCallback=Fn:en.status==="done"&&(en.vectorTile?en.parse(en.vectorTile,this.layerIndex,this.availableImages,this.actor,Fn):Fn())}},p.prototype.abortTile=function(Ft,Ht){var Vt=this.loading,wr=Ft.uid;Vt&&Vt[wr]&&Vt[wr].abort&&(Vt[wr].abort(),delete Vt[wr]),Ht()},p.prototype.removeTile=function(Ft,Ht){var Vt=this.loaded,wr=Ft.uid;Vt&&Vt[wr]&&delete Vt[wr],Ht()};var d=e.window.ImageBitmap,T=function(){this.loaded={}};T.prototype.loadTile=function(Ft,Ht){var Vt=Ft.uid,wr=Ft.encoding,$r=Ft.rawImageData,xn=d&&$r instanceof d?this.getImageData($r):$r,en=new e.DEMData(Vt,xn,wr);this.loaded=this.loaded||{},this.loaded[Vt]=en,Ht(null,en)},T.prototype.getImageData=function(Ft){(!this.offscreenCanvas||!this.offscreenCanvasContext)&&(this.offscreenCanvas=new OffscreenCanvas(Ft.width,Ft.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ft.width,this.offscreenCanvas.height=Ft.height,this.offscreenCanvasContext.drawImage(Ft,0,0,Ft.width,Ft.height);var Ht=this.offscreenCanvasContext.getImageData(-1,-1,Ft.width+2,Ft.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:Ht.width,height:Ht.height},Ht.data)},T.prototype.removeTile=function(Ft){var Ht=this.loaded,Vt=Ft.uid;Ht&&Ht[Vt]&&delete Ht[Vt]};var l=_;function _(Zt,Ft){var Ht=Zt&&Zt.type,Vt;if(Ht==="FeatureCollection")for(Vt=0;Vt=0!=!!Ft&&Zt.reverse()}var E=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,m=function(Ft){this._feature=Ft,this.extent=e.EXTENT,this.type=Ft.type,this.properties=Ft.tags,"id"in Ft&&!isNaN(Ft.id)&&(this.id=parseInt(Ft.id,10))};m.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ft=[],Ht=0,Vt=this._feature.geometry;Ht"u"&&(Vt.push(en),Fn=Vt.length-1,$r[en]=Fn),Ft.writeVarint(Fn);var Wn=Ht.properties[en],ri=typeof Wn;ri!=="string"&&ri!=="boolean"&&ri!=="number"&&(Wn=JSON.stringify(Wn));var Sn=ri+":"+Wn,ui=xn[Sn];typeof ui>"u"&&(wr.push(Wn),ui=wr.length-1,xn[Sn]=ui),Ft.writeVarint(ui)}}function Q(Zt,Ft){return(Ft<<3)+(Zt&7)}function le(Zt){return Zt<<1^Zt>>31}function se(Zt,Ft){for(var Ht=Zt.loadGeometry(),Vt=Zt.type,wr=0,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vt<=ri)&&(en.push(gt),en.push(Pr-1),en.push(Ir)),(Sn===0?wr>=Wn:$r>=ri)&&(en.push(Pr+1),en.push(ui),en.push(Ir))}return Fn}function ae(Zt,Ft,Ht,Vt,wr,$r){for(var xn=[0,Zt.length-1,0],en=[],Fn=wr*wr;xn.length;){var Wn=xn.pop(),ri=xn.pop(),Sn=xn.pop();if(ri-Sn<=$r){for(var ui=Sn;ui<=ri;ui++)j(Ft[2*ui],Ft[2*ui+1],Ht,Vt)<=Fn&&en.push(Zt[ui]);continue}var gt=Math.floor((Sn+ri)/2),yt=Ft[2*gt],Pr=Ft[2*gt+1];j(yt,Pr,Ht,Vt)<=Fn&&en.push(Zt[gt]);var Ir=(Wn+1)%2;(Wn===0?Ht-wr<=yt:Vt-wr<=Pr)&&(xn.push(Sn),xn.push(gt-1),xn.push(Ir)),(Wn===0?Ht+wr>=yt:Vt+wr>=Pr)&&(xn.push(gt+1),xn.push(ri),xn.push(Ir))}return en}function j(Zt,Ft,Ht,Vt){var wr=Zt-Ht,$r=Ft-Vt;return wr*wr+$r*$r}var ee=function(Zt){return Zt[0]},ie=function(Zt){return Zt[1]},ce=function(Ft,Ht,Vt,wr,$r){Ht===void 0&&(Ht=ee),Vt===void 0&&(Vt=ie),wr===void 0&&(wr=64),$r===void 0&&($r=Float64Array),this.nodeSize=wr,this.points=Ft;for(var xn=Ft.length<65536?Uint16Array:Uint32Array,en=this.ids=new xn(Ft.length),Fn=this.coords=new $r(Ft.length*2),Wn=0;Wn=wr;ri--){var Sn=+Date.now();Fn=this._cluster(Fn,ri),this.trees[ri]=new ce(Fn,ue,Oe,xn,Float32Array),Vt&&console.log("z%d: %d clusters in %dms",ri,Fn.length,+Date.now()-Sn)}return Vt&&console.timeEnd("total time"),this},Te.prototype.getClusters=function(Ft,Ht){var Vt=((Ft[0]+180)%360+360)%360-180,wr=Math.max(-90,Math.min(90,Ft[1])),$r=Ft[2]===180?180:((Ft[2]+180)%360+360)%360-180,xn=Math.max(-90,Math.min(90,Ft[3]));if(Ft[2]-Ft[0]>=360)Vt=-180,$r=180;else if(Vt>$r){var en=this.getClusters([Vt,wr,180,xn],Ht),Fn=this.getClusters([-180,wr,$r,xn],Ht);return en.concat(Fn)}for(var Wn=this.trees[this._limitZoom(Ht)],ri=Wn.range(at(Vt),tt(xn),at($r),tt(wr)),Sn=[],ui=0,gt=ri;uiHt&&(Pr+=Lr.numPoints||1)}if(Pr>=Fn){for(var Ur=Sn.x*yt,Dr=Sn.y*yt,nn=en&&yt>1?this._map(Sn,!0):null,vn=(ri<<5)+(Ht+1)+this.points.length,gn=0,kt=gt;gn1)for(var An=0,Zn=gt;An>5},Te.prototype._getOriginZoom=function(Ft){return(Ft-this.points.length)%32},Te.prototype._map=function(Ft,Ht){if(Ft.numPoints)return Ht?pe({},Ft.properties):Ft.properties;var Vt=this.points[Ft.index].properties,wr=this.options.map(Vt);return Ht&&wr===Vt?pe({},wr):wr};function Ue(Zt,Ft,Ht,Vt,wr){return{x:Zt,y:Ft,zoom:1/0,id:Ht,parentId:-1,numPoints:Vt,properties:wr}}function Ie(Zt,Ft){var Ht=Zt.geometry.coordinates,Vt=Ht[0],wr=Ht[1];return{x:at(Vt),y:tt(wr),zoom:1/0,index:Ft,parentId:-1}}function Ye(Zt){return{type:"Feature",id:Zt.id,properties:it(Zt),geometry:{type:"Point",coordinates:[ut(Zt.x),Me(Zt.y)]}}}function it(Zt){var Ft=Zt.numPoints,Ht=Ft>=1e4?Math.round(Ft/1e3)+"k":Ft>=1e3?Math.round(Ft/100)/10+"k":Ft;return pe(pe({},Zt.properties),{cluster:!0,cluster_id:Zt.id,point_count:Ft,point_count_abbreviated:Ht})}function at(Zt){return Zt/360+.5}function tt(Zt){var Ft=Math.sin(Zt*Math.PI/180),Ht=.5-.25*Math.log((1+Ft)/(1-Ft))/Math.PI;return Ht<0?0:Ht>1?1:Ht}function ut(Zt){return(Zt-.5)*360}function Me(Zt){var Ft=(180-Zt*360)*Math.PI/180;return 360*Math.atan(Math.exp(Ft))/Math.PI-90}function pe(Zt,Ft){for(var Ht in Ft)Zt[Ht]=Ft[Ht];return Zt}function ue(Zt){return Zt.x}function Oe(Zt){return Zt.y}function rt(Zt,Ft,Ht,Vt){for(var wr=Vt,$r=Ht-Ft>>1,xn=Ht-Ft,en,Fn=Zt[Ft],Wn=Zt[Ft+1],ri=Zt[Ht],Sn=Zt[Ht+1],ui=Ft+3;uiwr)en=ui,wr=gt;else if(gt===wr){var yt=Math.abs(ui-$r);ytVt&&(en-Ft>3&&rt(Zt,Ft,en,Vt),Zt[en+2]=wr,Ht-en>3&&rt(Zt,en,Ht,Vt))}function ot(Zt,Ft,Ht,Vt,wr,$r){var xn=wr-Ht,en=$r-Vt;if(xn!==0||en!==0){var Fn=((Zt-Ht)*xn+(Ft-Vt)*en)/(xn*xn+en*en);Fn>1?(Ht=wr,Vt=$r):Fn>0&&(Ht+=xn*Fn,Vt+=en*Fn)}return xn=Zt-Ht,en=Ft-Vt,xn*xn+en*en}function et(Zt,Ft,Ht,Vt){var wr={id:typeof Zt>"u"?null:Zt,type:Ft,geometry:Ht,tags:Vt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return Lt(wr),wr}function Lt(Zt){var Ft=Zt.geometry,Ht=Zt.type;if(Ht==="Point"||Ht==="MultiPoint"||Ht==="LineString")Et(Zt,Ft);else if(Ht==="Polygon"||Ht==="MultiLineString")for(var Vt=0;Vt0&&(Vt?xn+=(wr*Wn-Fn*$r)/2:xn+=Math.sqrt(Math.pow(Fn-wr,2)+Math.pow(Wn-$r,2))),wr=Fn,$r=Wn}var ri=Ft.length-3;Ft[2]=1,rt(Ft,0,ri,Ht),Ft[ri+2]=1,Ft.size=Math.abs(xn),Ft.start=0,Ft.end=Ft.size}function Rr(Zt,Ft,Ht,Vt){for(var wr=0;wr1?1:Ht}function _t(Zt,Ft,Ht,Vt,wr,$r,xn,en){if(Ht/=Ft,Vt/=Ft,$r>=Ht&&xn=Vt)return null;for(var Fn=[],Wn=0;Wn=Ht&&yt=Vt)continue;var Pr=[];if(ui==="Point"||ui==="MultiPoint")Be(Sn,Pr,Ht,Vt,wr);else if(ui==="LineString")Ke(Sn,Pr,Ht,Vt,wr,!1,en.lineMetrics);else if(ui==="MultiLineString")Se(Sn,Pr,Ht,Vt,wr,!1);else if(ui==="Polygon")Se(Sn,Pr,Ht,Vt,wr,!0);else if(ui==="MultiPolygon")for(var Ir=0;Ir=Ht&&xn<=Vt&&(Ft.push(Zt[$r]),Ft.push(Zt[$r+1]),Ft.push(Zt[$r+2]))}}function Ke(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=je(Zt),Fn=wr===0?Ee:we,Wn=Zt.start,ri,Sn,ui=0;uiHt&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),xn&&(en.start=Wn+ri*Sn)):Mr>Vt?Lr=Ht&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),Ur=!0),Lr>Vt&&Mr<=Vt&&(Sn=Fn(en,gt,yt,Ir,Tr,Vt),Ur=!0),!$r&&Ur&&(xn&&(en.end=Wn+ri*Sn),Ft.push(en),en=je(Zt)),xn&&(Wn+=ri)}var Dr=Zt.length-3;gt=Zt[Dr],yt=Zt[Dr+1],Pr=Zt[Dr+2],Mr=wr===0?gt:yt,Mr>=Ht&&Mr<=Vt&&He(en,gt,yt,Pr),Dr=en.length-3,$r&&Dr>=3&&(en[Dr]!==en[0]||en[Dr+1]!==en[1])&&He(en,en[0],en[1],en[2]),en.length&&Ft.push(en)}function je(Zt){var Ft=[];return Ft.size=Zt.size,Ft.start=Zt.start,Ft.end=Zt.end,Ft}function Se(Zt,Ft,Ht,Vt,wr,$r){for(var xn=0;xnxn.maxX&&(xn.maxX=ri),Sn>xn.maxY&&(xn.maxY=Sn)}return xn}function Xt(Zt,Ft,Ht,Vt){var wr=Ft.geometry,$r=Ft.type,xn=[];if($r==="Point"||$r==="MultiPoint")for(var en=0;en0&&Ft.size<(wr?xn:Vt)){Ht.numPoints+=Ft.length/3;return}for(var en=[],Fn=0;Fnxn)&&(Ht.numSimplified++,en.push(Ft[Fn]),en.push(Ft[Fn+1])),Ht.numPoints++;wr&&ur(en,$r),Zt.push(en)}function ur(Zt,Ft){for(var Ht=0,Vt=0,wr=Zt.length,$r=wr-2;Vt0===Ft)for(Vt=0,wr=Zt.length;Vt24)throw new Error("maxZoom should be in the 0-24 range");if(Ft.promoteId&&Ft.generateId)throw new Error("promoteId and generateId cannot be used together.");var Vt=Bt(Zt,Ft);this.tiles={},this.tileCoords=[],Ht&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",Ft.indexMaxZoom,Ft.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),Vt=Le(Vt,Ft),Vt.length&&this.splitTile(Vt,0,0,0),Ht&&(Vt.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}Rn.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Rn.prototype.splitTile=function(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[Zt,Ft,Ht,Vt],Fn=this.options,Wn=Fn.debug;en.length;){Vt=en.pop(),Ht=en.pop(),Ft=en.pop(),Zt=en.pop();var ri=1<1&&console.time("creation"),ui=this.tiles[Sn]=Nt(Zt,Ft,Ht,Vt,Fn),this.tileCoords.push({z:Ft,x:Ht,y:Vt}),Wn)){Wn>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Ft,Ht,Vt,ui.numFeatures,ui.numPoints,ui.numSimplified),console.timeEnd("creation"));var gt="z"+Ft;this.stats[gt]=(this.stats[gt]||0)+1,this.total++}if(ui.source=Zt,wr){if(Ft===Fn.maxZoom||Ft===wr)continue;var yt=1<1&&console.time("clipping");var Pr=.5*Fn.buffer/Fn.extent,Ir=.5-Pr,Tr=.5+Pr,Mr=1+Pr,Lr,Ur,Dr,nn,vn,gn;Lr=Ur=Dr=nn=null,vn=_t(Zt,ri,Ht-Pr,Ht+Tr,0,ui.minX,ui.maxX,Fn),gn=_t(Zt,ri,Ht+Ir,Ht+Mr,0,ui.minX,ui.maxX,Fn),Zt=null,vn&&(Lr=_t(vn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),Ur=_t(vn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),vn=null),gn&&(Dr=_t(gn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),nn=_t(gn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),gn=null),Wn>1&&console.timeEnd("clipping"),en.push(Lr||[],Ft+1,Ht*2,Vt*2),en.push(Ur||[],Ft+1,Ht*2,Vt*2+1),en.push(Dr||[],Ft+1,Ht*2+1,Vt*2),en.push(nn||[],Ft+1,Ht*2+1,Vt*2+1)}}},Rn.prototype.getTile=function(Zt,Ft,Ht){var Vt=this.options,wr=Vt.extent,$r=Vt.debug;if(Zt<0||Zt>24)return null;var xn=1<1&&console.log("drilling down to z%d-%d-%d",Zt,Ft,Ht);for(var Fn=Zt,Wn=Ft,ri=Ht,Sn;!Sn&&Fn>0;)Fn--,Wn=Math.floor(Wn/2),ri=Math.floor(ri/2),Sn=this.tiles[Nn(Fn,Wn,ri)];return!Sn||!Sn.source?null:($r>1&&console.log("found parent tile z%d-%d-%d",Fn,Wn,ri),$r>1&&console.time("drilling down"),this.splitTile(Sn.source,Fn,Wn,ri,Zt,Ft,Ht),$r>1&&console.timeEnd("drilling down"),this.tiles[en]?bt(this.tiles[en],wr):null)};function Nn(Zt,Ft,Ht){return((1<=0?0:ve.button},r.remove=function(ve){ve.parentNode&&ve.parentNode.removeChild(ve)};function d(ve,K,me){var te,ye,Ze,We=e.browser.devicePixelRatio>1?"@2x":"",lt=e.getJSON(K.transformRequest(K.normalizeSpriteURL(ve,We,".json"),e.ResourceType.SpriteJSON),function(xr,Fr){lt=null,Ze||(Ze=xr,te=Fr,Wt())}),Ct=e.getImage(K.transformRequest(K.normalizeSpriteURL(ve,We,".png"),e.ResourceType.SpriteImage),function(xr,Fr){Ct=null,Ze||(Ze=xr,ye=Fr,Wt())});function Wt(){if(Ze)me(Ze);else if(te&&ye){var xr=e.browser.getImageData(ye),Fr={};for(var Ar in te){var Gt=te[Ar],nr=Gt.width,mr=Gt.height,zr=Gt.x,Gr=Gt.y,Xr=Gt.sdf,fn=Gt.pixelRatio,sn=Gt.stretchX,Zr=Gt.stretchY,hn=Gt.content,qr=new e.RGBAImage({width:nr,height:mr});e.RGBAImage.copy(xr,qr,{x:zr,y:Gr},{x:0,y:0},{width:nr,height:mr}),Fr[Ar]={data:qr,pixelRatio:fn,sdf:Xr,stretchX:sn,stretchY:Zr,content:hn}}me(null,Fr)}}return{cancel:function(){lt&&(lt.cancel(),lt=null),Ct&&(Ct.cancel(),Ct=null)}}}function T(ve){var K=ve.userImage;if(K&&K.render){var me=K.render();if(me)return ve.data.replace(new Uint8Array(K.data.buffer)),!0}return!1}var l=1,_=function(ve){function K(){ve.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.isLoaded=function(){return this.loaded},K.prototype.setLoaded=function(te){if(this.loaded!==te&&(this.loaded=te,te)){for(var ye=0,Ze=this.requestors;ye=0?1.2:1))}b.prototype.draw=function(ve){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ve,this.buffer,this.middle);for(var K=this.ctx.getImageData(0,0,this.size,this.size),me=new Uint8ClampedArray(this.size*this.size),te=0;te65535){xr(new Error("glyphs > 65535 not supported"));return}if(Gt.ranges[mr]){xr(null,{stack:Fr,id:Ar,glyph:nr});return}var zr=Gt.requests[mr];zr||(zr=Gt.requests[mr]=[],y.loadGlyphRange(Fr,mr,te.url,te.requestManager,function(Gr,Xr){if(Xr){for(var fn in Xr)te._doesCharSupportLocalGlyph(+fn)||(Gt.glyphs[+fn]=Xr[+fn]);Gt.ranges[mr]=!0}for(var sn=0,Zr=zr;sn1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=void 0,mr=Ze/te*(ye+1);if(Wt.isDash){var zr=ye-Math.abs(mr);nr=Math.sqrt(Gt*Gt+zr*zr)}else nr=ye-Math.sqrt(Gt*Gt+mr*mr);this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addRegularDash=function(K){for(var me=K.length-1;me>=0;--me){var te=K[me],ye=K[me+1];te.zeroLength?K.splice(me,1):ye&&ye.isDash===te.isDash&&(ye.left=te.left,K.splice(me,1))}var Ze=K[0],We=K[K.length-1];Ze.isDash===We.isDash&&(Ze.left=We.left-this.width,We.right=Ze.right+this.width);for(var lt=this.width*this.nextRow,Ct=0,Wt=K[Ct],xr=0;xr1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=Wt.isDash?Gt:-Gt;this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addDash=function(K,me){var te=me?7:0,ye=2*te+1;if(this.nextRow+ye>this.height)return e.warnOnce("LineAtlas out of space"),null;for(var Ze=0,We=0;We=te.minX&&K.x=te.minY&&K.y0&&(xr[new e.OverscaledTileID(te.overscaledZ,lt,ye.z,We,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,te.wrap,ye.z,ye.x,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,Wt,ye.z,Ct,ye.y-1).key]={backfilled:!1}),ye.y+10&&(Ze.resourceTiming=te._resourceTiming,te._resourceTiming=[]),te.fire(new e.Event("data",Ze))})},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setData=function(te){var ye=this;return this._data=te,this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Ze){if(Ze){ye.fire(new e.ErrorEvent(Ze));return}var We={dataType:"source",sourceDataType:"content"};ye._collectResourceTiming&&ye._resourceTiming&&ye._resourceTiming.length>0&&(We.resourceTiming=ye._resourceTiming,ye._resourceTiming=[]),ye.fire(new e.Event("data",We))}),this},K.prototype.getClusterExpansionZoom=function(te,ye){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterChildren=function(te,ye){return this.actor.send("geojson.getClusterChildren",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterLeaves=function(te,ye,Ze,We){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:te,limit:ye,offset:Ze},We),this},K.prototype._updateWorkerData=function(te){var ye=this;this._loaded=!1;var Ze=e.extend({},this.workerOptions),We=this._data;typeof We=="string"?(Ze.request=this.map._requestManager.transformRequest(e.browser.resolveURL(We),e.ResourceType.Source),Ze.request.collectResourceTiming=this._collectResourceTiming):Ze.data=JSON.stringify(We),this.actor.send(this.type+".loadData",Ze,function(lt,Ct){ye._removed||Ct&&Ct.abandoned||(ye._loaded=!0,Ct&&Ct.resourceTiming&&Ct.resourceTiming[ye.id]&&(ye._resourceTiming=Ct.resourceTiming[ye.id].slice(0)),ye.actor.send(ye.type+".coalesce",{source:Ze.source},null),te(lt))})},K.prototype.loaded=function(){return this._loaded},K.prototype.loadTile=function(te,ye){var Ze=this,We=te.actor?"reloadTile":"loadTile";te.actor=this.actor;var lt={type:this.type,uid:te.uid,tileID:te.tileID,zoom:te.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};te.request=this.actor.send(We,lt,function(Ct,Wt){return delete te.request,te.unloadVectorData(),te.aborted?ye(null):Ct?ye(Ct):(te.loadVectorData(Wt,Ze.map.painter,We==="reloadTile"),ye(null))})},K.prototype.abortTile=function(te){te.request&&(te.request.cancel(),delete te.request),te.aborted=!0},K.prototype.unloadTile=function(te){te.unloadVectorData(),this.actor.send("removeTile",{uid:te.uid,type:this.type,source:this.id})},K.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},K.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},K.prototype.hasTransition=function(){return!1},K}(e.Evented),le=e.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),se=function(ve){function K(me,te,ye,Ze){ve.call(this),this.id=me,this.dispatcher=ye,this.coordinates=te.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ze),this.options=te}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(te,ye){var Ze=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),function(We,lt){Ze._loaded=!0,We?Ze.fire(new e.ErrorEvent(We)):lt&&(Ze.image=lt,te&&(Ze.coordinates=te),ye&&ye(),Ze._finishLoading())})},K.prototype.loaded=function(){return this._loaded},K.prototype.updateImage=function(te){var ye=this;return!this.image||!te.url?this:(this.options.url=te.url,this.load(te.coordinates,function(){ye.texture=null}),this)},K.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})))},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setCoordinates=function(te){var ye=this;this.coordinates=te;var Ze=te.map(e.MercatorCoordinate.fromLngLat);this.tileID=fe(Ze),this.minzoom=this.maxzoom=this.tileID.z;var We=Ze.map(function(lt){return ye.tileID.getTilePoint(lt)._round()});return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(We[0].x,We[0].y,0,0),this._boundsArray.emplaceBack(We[1].x,We[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(We[3].x,We[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(We[2].x,We[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})),this},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(te,this.image,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!=="loaded"&&(We.state="loaded",We.texture=this.texture)}}},K.prototype.loadTile=function(te,ye){this.tileID&&this.tileID.equals(te.tileID.canonical)?(this.tiles[String(te.tileID.wrap)]=te,te.buckets={},ye(null)):(te.state="errored",ye(null))},K.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return!1},K}(e.Evented);function fe(ve){for(var K=1/0,me=1/0,te=-1/0,ye=-1/0,Ze=0,We=ve;Zeye.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+ye.start(0)+" and "+ye.end(0)+"-second mark."))):this.video.currentTime=te}},K.prototype.getVideo=function(){return this.video},K.prototype.onAdd=function(te){this.map||(this.map=te,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE),ye.texSubImage2D(ye.TEXTURE_2D,0,0,0,ye.RGBA,ye.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(te,this.video,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!=="loaded"&&(We.state="loaded",We.texture=this.texture)}}},K.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this.video&&!this.video.paused},K}(se),$=function(ve){function K(me,te,ye,Ze){ve.call(this,me,te,ye,Ze),te.coordinates?(!Array.isArray(te.coordinates)||te.coordinates.length!==4||te.coordinates.some(function(We){return!Array.isArray(We)||We.length!==2||We.some(function(lt){return typeof lt!="number"})}))&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'missing required property "coordinates"'))),te.animate&&typeof te.animate!="boolean"&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'optional "animate" property must be a boolean value'))),te.canvas?typeof te.canvas!="string"&&!(te.canvas instanceof e.window.HTMLCanvasElement)&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'missing required property "canvas"'))),this.options=te,this.animate=te.animate!==void 0?te.animate:!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new e.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero.")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},K.prototype.getCanvas=function(){return this.canvas},K.prototype.onAdd=function(te){this.map=te,this.load(),this.canvas&&this.animate&&this.play()},K.prototype.onRemove=function(){this.pause()},K.prototype.prepare=function(){var te=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,te=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,te=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var ye=this.map.painter.context,Ze=ye.gl;this.boundsBuffer||(this.boundsBuffer=ye.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(te||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(ye,this.canvas,Ze.RGBA,{premultiply:!0});for(var We in this.tiles){var lt=this.tiles[We];lt.state!=="loaded"&&(lt.state="loaded",lt.texture=this.texture)}}},K.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this._playing},K.prototype._hasInvalidDimensions=function(){for(var te=0,ye=[this.canvas.width,this.canvas.height];tethis.max){var lt=this._getAndRemoveByKey(this.order[0]);lt&&this.onRemove(lt)}return this},Ie.prototype.has=function(K){return K.wrapped().key in this.data},Ie.prototype.getAndRemove=function(K){return this.has(K)?this._getAndRemoveByKey(K.wrapped().key):null},Ie.prototype._getAndRemoveByKey=function(K){var me=this.data[K].shift();return me.timeout&&clearTimeout(me.timeout),this.data[K].length===0&&delete this.data[K],this.order.splice(this.order.indexOf(K),1),me.value},Ie.prototype.getByKey=function(K){var me=this.data[K];return me?me[0].value:null},Ie.prototype.get=function(K){if(!this.has(K))return null;var me=this.data[K.wrapped().key][0];return me.value},Ie.prototype.remove=function(K,me){if(!this.has(K))return this;var te=K.wrapped().key,ye=me===void 0?0:this.data[te].indexOf(me),Ze=this.data[te][ye];return this.data[te].splice(ye,1),Ze.timeout&&clearTimeout(Ze.timeout),this.data[te].length===0&&delete this.data[te],this.onRemove(Ze.value),this.order.splice(this.order.indexOf(te),1),this},Ie.prototype.setMaxSize=function(K){for(this.max=K;this.order.length>this.max;){var me=this._getAndRemoveByKey(this.order[0]);me&&this.onRemove(me)}return this},Ie.prototype.filter=function(K){var me=[];for(var te in this.data)for(var ye=0,Ze=this.data[te];ye1||(Math.abs(Fr)>1&&(Math.abs(Fr+Gt)===1?Fr+=Gt:Math.abs(Fr-Gt)===1&&(Fr-=Gt)),!(!xr.dem||!Wt.dem)&&(Wt.dem.backfillBorder(xr.dem,Fr,Ar),Wt.neighboringTiles&&Wt.neighboringTiles[nr]&&(Wt.neighboringTiles[nr].backfilled=!0)))}},K.prototype.getTile=function(te){return this.getTileByID(te.key)},K.prototype.getTileByID=function(te){return this._tiles[te]},K.prototype._retainLoadedChildren=function(te,ye,Ze,We){for(var lt in this._tiles){var Ct=this._tiles[lt];if(!(We[lt]||!Ct.hasData()||Ct.tileID.overscaledZ<=ye||Ct.tileID.overscaledZ>Ze)){for(var Wt=Ct.tileID;Ct&&Ct.tileID.overscaledZ>ye+1;){var xr=Ct.tileID.scaledTo(Ct.tileID.overscaledZ-1);Ct=this._tiles[xr.key],Ct&&Ct.hasData()&&(Wt=xr)}for(var Fr=Wt;Fr.overscaledZ>ye;)if(Fr=Fr.scaledTo(Fr.overscaledZ-1),te[Fr.key]){We[Wt.key]=Wt;break}}}},K.prototype.findLoadedParent=function(te,ye){if(te.key in this._loadedParentTiles){var Ze=this._loadedParentTiles[te.key];return Ze&&Ze.tileID.overscaledZ>=ye?Ze:null}for(var We=te.overscaledZ-1;We>=ye;We--){var lt=te.scaledTo(We),Ct=this._getLoadedTile(lt);if(Ct)return Ct}},K.prototype._getLoadedTile=function(te){var ye=this._tiles[te.key];if(ye&&ye.hasData())return ye;var Ze=this._cache.getByKey(te.wrapped().key);return Ze},K.prototype.updateCacheSize=function(te){var ye=Math.ceil(te.width/this._source.tileSize)+1,Ze=Math.ceil(te.height/this._source.tileSize)+1,We=ye*Ze,lt=5,Ct=Math.floor(We*lt),Wt=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Ct):Ct;this._cache.setMaxSize(Wt)},K.prototype.handleWrapJump=function(te){var ye=this._prevLng===void 0?te:this._prevLng,Ze=te-ye,We=Ze/360,lt=Math.round(We);if(this._prevLng=te,lt){var Ct={};for(var Wt in this._tiles){var xr=this._tiles[Wt];xr.tileID=xr.tileID.unwrapTo(xr.tileID.wrap+lt),Ct[xr.tileID.key]=xr}this._tiles=Ct;for(var Fr in this._timers)clearTimeout(this._timers[Fr]),delete this._timers[Fr];for(var Ar in this._tiles){var Gt=this._tiles[Ar];this._setTileReloadTimer(Ar,Gt)}}},K.prototype.update=function(te){var ye=this;if(this.transform=te,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(te),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ze;this.used?this._source.tileID?Ze=te.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(vi){return new e.OverscaledTileID(vi.canonical.z,vi.wrap,vi.canonical.z,vi.canonical.x,vi.canonical.y)}):(Ze=te.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ze=Ze.filter(function(vi){return ye._source.hasTile(vi)}))):Ze=[];var We=te.coveringZoomLevel(this._source),lt=Math.max(We-K.maxOverzooming,this._source.minzoom),Ct=Math.max(We+K.maxUnderzooming,this._source.minzoom),Wt=this._updateRetainedTiles(Ze,We);if(Fn(this._source.type)){for(var xr={},Fr={},Ar=Object.keys(Wt),Gt=0,nr=Ar;Gtthis._source.maxzoom){var Xr=zr.children(this._source.maxzoom)[0],fn=this.getTile(Xr);if(fn&&fn.hasData()){Ze[Xr.key]=Xr;continue}}else{var sn=zr.children(this._source.maxzoom);if(Ze[sn[0].key]&&Ze[sn[1].key]&&Ze[sn[2].key]&&Ze[sn[3].key])continue}for(var Zr=Gr.wasRequested(),hn=zr.overscaledZ-1;hn>=lt;--hn){var qr=zr.scaledTo(hn);if(We[qr.key]||(We[qr.key]=!0,Gr=this.getTile(qr),!Gr&&Zr&&(Gr=this._addTile(qr)),Gr&&(Ze[qr.key]=qr,Zr=Gr.wasRequested(),Gr.hasData())))break}}}return Ze},K.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var te in this._tiles){for(var ye=[],Ze=void 0,We=this._tiles[te].tileID;We.overscaledZ>0;){if(We.key in this._loadedParentTiles){Ze=this._loadedParentTiles[We.key];break}ye.push(We.key);var lt=We.scaledTo(We.overscaledZ-1);if(Ze=this._getLoadedTile(lt),Ze)break;We=lt}for(var Ct=0,Wt=ye;Ct0)&&(ye.hasData()&&ye.state!=="reloading"?this._cache.add(ye.tileID,ye,ye.getExpiryTimeout()):(ye.aborted=!0,this._abortTile(ye),this._unloadTile(ye))))},K.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var te in this._tiles)this._removeTile(te);this._cache.reset()},K.prototype.tilesIn=function(te,ye,Ze){var We=this,lt=[],Ct=this.transform;if(!Ct)return lt;for(var Wt=Ze?Ct.getCameraQueryGeometry(te):te,xr=te.map(function(hn){return Ct.pointCoordinate(hn)}),Fr=Wt.map(function(hn){return Ct.pointCoordinate(hn)}),Ar=this.getIds(),Gt=1/0,nr=1/0,mr=-1/0,zr=-1/0,Gr=0,Xr=Fr;Gr=0&&Ji[1].y+vi>=0){var Pi=xr.map(function(ja){return kn.getTilePoint(ja)}),ea=Fr.map(function(ja){return kn.getTilePoint(ja)});lt.push({tile:qr,tileID:kn,queryGeometry:Pi,cameraQueryGeometry:ea,scale:Xn})}}},Zr=0;Zr=e.browser.now())return!0}return!1},K.prototype.setFeatureState=function(te,ye,Ze){te=te||"_geojsonTileLayer",this._state.updateState(te,ye,Ze)},K.prototype.removeFeatureState=function(te,ye,Ze){te=te||"_geojsonTileLayer",this._state.removeFeatureState(te,ye,Ze)},K.prototype.getFeatureState=function(te,ye){return te=te||"_geojsonTileLayer",this._state.getState(te,ye)},K.prototype.setDependencies=function(te,ye,Ze){var We=this._tiles[te];We&&We.setDependencies(ye,Ze)},K.prototype.reloadTilesForDependencies=function(te,ye){for(var Ze in this._tiles){var We=this._tiles[Ze];We.hasDependency(te,ye)&&this._reloadTile(Ze,"reloading")}this._cache.filter(function(lt){return!lt.hasDependency(te,ye)})},K}(e.Evented);xn.maxOverzooming=10,xn.maxUnderzooming=3;function en(ve,K){var me=Math.abs(ve.wrap*2)-+(ve.wrap<0),te=Math.abs(K.wrap*2)-+(K.wrap<0);return ve.overscaledZ-K.overscaledZ||te-me||K.canonical.y-ve.canonical.y||K.canonical.x-ve.canonical.x}function Fn(ve){return ve==="raster"||ve==="image"||ve==="video"}function Wn(){return new e.window.Worker(Us.workerUrl)}var ri="mapboxgl_preloaded_worker_pool",Sn=function(){this.active={}};Sn.prototype.acquire=function(K){if(!this.workers)for(this.workers=[];this.workers.length0?(ye-We)/lt:0;return this.points[Ze].mult(1-Ct).add(this.points[me].mult(Ct))};var wn=function(K,me,te){var ye=this.boxCells=[],Ze=this.circleCells=[];this.xCellCount=Math.ceil(K/te),this.yCellCount=Math.ceil(me/te);for(var We=0;Wethis.width||ye<0||me>this.height)return Ze?!1:[];var lt=[];if(K<=0&&me<=0&&this.width<=te&&this.height<=ye){if(Ze)return!0;for(var Ct=0;Ct0:lt}},wn.prototype._queryCircle=function(K,me,te,ye,Ze){var We=K-te,lt=K+te,Ct=me-te,Wt=me+te;if(lt<0||We>this.width||Wt<0||Ct>this.height)return ye?!1:[];var xr=[],Fr={hitTest:ye,circle:{x:K,y:me,radius:te},seenUids:{box:{},circle:{}}};return this._forEachCell(We,Ct,lt,Wt,this._queryCellCircle,xr,Fr,Ze),ye?xr.length>0:xr},wn.prototype.query=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!1,Ze)},wn.prototype.hitTest=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!0,Ze)},wn.prototype.hitTestCircle=function(K,me,te,ye){return this._queryCircle(K,me,te,!0,ye)},wn.prototype._queryCell=function(K,me,te,ye,Ze,We,lt,Ct){var Wt=lt.seenUids,xr=this.boxCells[Ze];if(xr!==null)for(var Fr=this.bboxes,Ar=0,Gt=xr;Ar=Fr[mr+0]&&ye>=Fr[mr+1]&&(!Ct||Ct(this.boxKeys[nr]))){if(lt.hitTest)return We.push(!0),!0;We.push({key:this.boxKeys[nr],x1:Fr[mr],y1:Fr[mr+1],x2:Fr[mr+2],y2:Fr[mr+3]})}}}var zr=this.circleCells[Ze];if(zr!==null)for(var Gr=this.circles,Xr=0,fn=zr;Xrlt*lt+Ct*Ct},wn.prototype._circleAndRectCollide=function(K,me,te,ye,Ze,We,lt){var Ct=(We-ye)/2,Wt=Math.abs(K-(ye+Ct));if(Wt>Ct+te)return!1;var xr=(lt-Ze)/2,Fr=Math.abs(me-(Ze+xr));if(Fr>xr+te)return!1;if(Wt<=Ct||Fr<=xr)return!0;var Ar=Wt-Ct,Gt=Fr-xr;return Ar*Ar+Gt*Gt<=te*te};function Dn(ve,K,me,te,ye){var Ze=e.create();return K?(e.scale(Ze,Ze,[1/ye,1/ye,1]),me||e.rotateZ(Ze,Ze,te.angle)):e.multiply(Ze,te.labelPlaneMatrix,ve),Ze}function Ui(ve,K,me,te,ye){if(K){var Ze=e.clone(ve);return e.scale(Ze,Ze,[ye,ye,1]),me||e.rotateZ(Ze,Ze,-te.angle),Ze}else return te.glCoordMatrix}function pi(ve,K){var me=[ve.x,ve.y,0,1];gs(me,me,K);var te=me[3];return{point:new e.Point(me[0]/te,me[1]/te),signedDistanceFromCamera:te}}function Ta(ve,K){return .5+.5*(ve/K)}function Sa(ve,K){var me=ve[0]/ve[3],te=ve[1]/ve[3],ye=me>=-K[0]&&me<=K[0]&&te>=-K[1]&&te<=K[1];return ye}function qa(ve,K,me,te,ye,Ze,We,lt){var Ct=te?ve.textSizeData:ve.iconSizeData,Wt=e.evaluateSizeForZoom(Ct,me.transform.zoom),xr=[256/me.width*2+1,256/me.height*2+1],Fr=te?ve.text.dynamicLayoutVertexArray:ve.icon.dynamicLayoutVertexArray;Fr.clear();for(var Ar=ve.lineVertexArray,Gt=te?ve.text.placedSymbolArray:ve.icon.placedSymbolArray,nr=me.transform.width/me.transform.height,mr=!1,zr=0;zrZe)return{useVertical:!0}}return(ve===e.WritingMode.vertical?K.yme.x)?{needsFlipping:!0}:null}function Xa(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr,Fr,Ar,Gt){var nr=K/24,mr=ve.lineOffsetX*nr,zr=ve.lineOffsetY*nr,Gr;if(ve.numGlyphs>1){var Xr=ve.glyphStartIndex+ve.numGlyphs,fn=ve.lineStartIndex,sn=ve.lineStartIndex+ve.lineLength,Zr=to(nr,lt,mr,zr,me,xr,Fr,ve,Ct,Ze,Ar);if(!Zr)return{notEnoughRoom:!0};var hn=pi(Zr.first.point,We).point,qr=pi(Zr.last.point,We).point;if(te&&!me){var kn=yo(ve.writingMode,hn,qr,Gt);if(kn)return kn}Gr=[Zr.first];for(var Xn=ve.glyphStartIndex+1;Xn0?ea.point:Go(Fr,Pi,vi,1,ye),Ea=yo(ve.writingMode,vi,ja,Gt);if(Ea)return Ea}var $i=pa(nr*lt.getoffsetX(ve.glyphStartIndex),mr,zr,me,xr,Fr,ve.segment,ve.lineStartIndex,ve.lineStartIndex+ve.lineLength,Ct,Ze,Ar);if(!$i)return{notEnoughRoom:!0};Gr=[$i]}for(var da=0,fa=Gr;da0?1:-1,nr=0;te&&(Gt*=-1,nr=Math.PI),Gt<0&&(nr+=Math.PI);for(var mr=Gt>0?lt+We:lt+We+1,zr=ye,Gr=ye,Xr=0,fn=0,sn=Math.abs(Ar),Zr=[];Xr+fn<=sn;){if(mr+=Gt,mr=Ct)return null;if(Gr=zr,Zr.push(zr),zr=Fr[mr],zr===void 0){var hn=new e.Point(Wt.getx(mr),Wt.gety(mr)),qr=pi(hn,xr);if(qr.signedDistanceFromCamera>0)zr=Fr[mr]=qr.point;else{var kn=mr-Gt,Xn=Xr===0?Ze:new e.Point(Wt.getx(kn),Wt.gety(kn));zr=Go(Xn,hn,Gr,sn-Xr+1,xr)}}Xr+=fn,fn=Gr.dist(zr)}var vi=(sn-Xr)/fn,Ji=zr.sub(Gr),Pi=Ji.mult(vi)._add(Gr);Pi._add(Ji._unit()._perp()._mult(me*Gt));var ea=nr+Math.atan2(zr.y-Gr.y,zr.x-Gr.x);return Zr.push(Pi),{point:Pi,angle:ea,path:Zr}}var cs=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Ko(ve,K){for(var me=0;me=1;za--)fa.push($i.path[za]);for(var Qa=1;Qa0){for(var rs=fa[0].clone(),js=fa[0].clone(),Cl=1;Cl=ea.x&&js.x<=ja.x&&rs.y>=ea.y&&js.y<=ja.y?$s=[fa]:js.xja.x||js.yja.y?$s=[]:$s=e.clipLine([fa],ea.x,ea.y,ja.x,ja.y)}for(var Ou=0,Kh=$s;Ou=this.screenRightBoundary||yethis.screenBottomBoundary},zo.prototype.isInsideGrid=function(K,me,te,ye){return te>=0&&K=0&&me0){var sn;return this.prevPlacement&&this.prevPlacement.variableOffsets[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID].text&&(sn=this.prevPlacement.variableOffsets[Ar.crossTileID].anchor),this.variableOffsets[Ar.crossTileID]={textOffset:zr,width:te,height:ye,anchor:K,textBoxScale:Ze,prevAnchor:sn},this.markUsedJustification(Gt,K,Ar,nr),Gt.allowVerticalPlacement&&(this.markUsedOrientation(Gt,nr,Ar),this.placedOrientations[Ar.crossTileID]=nr),{shift:Gr,placedGlyphBoxes:Xr}}},fs.prototype.placeLayerBucketPart=function(K,me,te){var ye=this,Ze=K.parameters,We=Ze.bucket,lt=Ze.layout,Ct=Ze.posMatrix,Wt=Ze.textLabelPlaneMatrix,xr=Ze.labelToScreenMatrix,Fr=Ze.textPixelRatio,Ar=Ze.holdingForFade,Gt=Ze.collisionBoxArray,nr=Ze.partiallyEvaluatedTextSize,mr=Ze.collisionGroup,zr=lt.get("text-optional"),Gr=lt.get("icon-optional"),Xr=lt.get("text-allow-overlap"),fn=lt.get("icon-allow-overlap"),sn=lt.get("text-rotation-alignment")==="map",Zr=lt.get("text-pitch-alignment")==="map",hn=lt.get("icon-text-fit")!=="none",qr=lt.get("symbol-z-order")==="viewport-y",kn=Xr&&(fn||!We.hasIconData()||Gr),Xn=fn&&(Xr||!We.hasTextData()||zr);!We.collisionArrays&&Gt&&We.deserializeCollisionBoxes(Gt);var vi=function($i,da){if(!me[$i.crossTileID]){if(Ar){ye.placements[$i.crossTileID]=new hs(!1,!1,!1);return}var fa=!1,za=!1,Qa=!0,Cs=null,ws={box:null,offscreen:null},$s={box:null,offscreen:null},rs=null,js=null,Cl=null,Ou=0,Kh=0,Jh=0;da.textFeatureIndex?Ou=da.textFeatureIndex:$i.useRuntimeCollisionCircles&&(Ou=$i.featureIndex),da.verticalTextFeatureIndex&&(Kh=da.verticalTextFeatureIndex);var fh=da.textBox;if(fh){var sd=function(Bu){var Hl=e.WritingMode.horizontal;if(We.allowVerticalPlacement&&!Bu&&ye.prevPlacement){var vh=ye.prevPlacement.placedOrientations[$i.crossTileID];vh&&(ye.placedOrientations[$i.crossTileID]=vh,Hl=vh,ye.markUsedOrientation(We,Hl,$i))}return Hl},$d=function(Bu,Hl){if(We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&da.verticalTextBox)for(var vh=0,Bv=We.writingModes;vh0&&(Ch=Ch.filter(function(Bu){return Bu!==dh.anchor}),Ch.unshift(dh.anchor))}var $h=function(Bu,Hl,vh){for(var Bv=Bu.x2-Bu.x1,up=Bu.y2-Bu.y1,au=$i.textBoxScale,rm=hn&&!fn?Hl:null,xv={box:[],offscreen:!1},rg=Xr?Ch.length*2:Ch.length,ed=0;ed=Ch.length,nm=ye.attemptAnchorPlacement(bv,Bu,Bv,up,au,sn,Zr,Fr,Ct,mr,ng,$i,We,vh,rm);if(nm&&(xv=nm.placedGlyphBoxes,xv&&xv.box&&xv.box.length)){fa=!0,Cs=nm.shift;break}}return xv},ld=function(){return $h(fh,da.iconBox,e.WritingMode.horizontal)},Qh=function(){var Bu=da.verticalTextBox,Hl=ws&&ws.box&&ws.box.length;return We.allowVerticalPlacement&&!Hl&&$i.numVerticalGlyphVertices>0&&Bu?$h(Bu,da.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}};$d(ld,Qh),ws&&(fa=ws.box,Qa=ws.offscreen);var zv=sd(ws&&ws.box);if(!fa&&ye.prevPlacement){var Qd=ye.prevPlacement.variableOffsets[$i.crossTileID];Qd&&(ye.variableOffsets[$i.crossTileID]=Qd,ye.markUsedJustification(We,Qd.anchor,$i,zv))}}else{var _d=function(Bu,Hl){var vh=ye.collisionIndex.placeCollisionBox(Bu,Xr,Fr,Ct,mr.predicate);return vh&&vh.box&&vh.box.length&&(ye.markUsedOrientation(We,Hl,$i),ye.placedOrientations[$i.crossTileID]=Hl),vh},hh=function(){return _d(fh,e.WritingMode.horizontal)},xd=function(){var Bu=da.verticalTextBox;return We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&Bu?_d(Bu,e.WritingMode.vertical):{box:null,offscreen:null}};$d(hh,xd),sd(ws&&ws.box&&ws.box.length)}}if(rs=ws,fa=rs&&rs.box&&rs.box.length>0,Qa=rs&&rs.offscreen,$i.useRuntimeCollisionCircles){var df=We.text.placedSymbolArray.get($i.centerJustifiedTextSymbolIndex),ev=e.evaluateSizeForFeature(We.textSizeData,nr,df),Fv=lt.get("text-padding"),jf=$i.collisionCircleDiameter;js=ye.collisionIndex.placeCollisionCircles(Xr,df,We.lineVertexArray,We.glyphOffsetArray,ev,Ct,Wt,xr,te,Zr,mr.predicate,jf,Fv),fa=Xr||js.circles.length>0&&!js.collisionDetected,Qa=Qa&&js.offscreen}if(da.iconFeatureIndex&&(Jh=da.iconFeatureIndex),da.iconBox){var gv=function(Bu){var Hl=hn&&Cs?Ws(Bu,Cs.x,Cs.y,sn,Zr,ye.transform.angle):Bu;return ye.collisionIndex.placeCollisionBox(Hl,fn,Fr,Ct,mr.predicate)};$s&&$s.box&&$s.box.length&&da.verticalIconBox?(Cl=gv(da.verticalIconBox),za=Cl.box.length>0):(Cl=gv(da.iconBox),za=Cl.box.length>0),Qa=Qa&&Cl.offscreen}var sp=zr||$i.numHorizontalGlyphVertices===0&&$i.numVerticalGlyphVertices===0,lp=Gr||$i.numIconVertices===0;if(!sp&&!lp?za=fa=za&&fa:lp?sp||(za=za&&fa):fa=za&&fa,fa&&rs&&rs.box&&($s&&$s.box&&Kh?ye.collisionIndex.insertCollisionBox(rs.box,lt.get("text-ignore-placement"),We.bucketInstanceId,Kh,mr.ID):ye.collisionIndex.insertCollisionBox(rs.box,lt.get("text-ignore-placement"),We.bucketInstanceId,Ou,mr.ID)),za&&Cl&&ye.collisionIndex.insertCollisionBox(Cl.box,lt.get("icon-ignore-placement"),We.bucketInstanceId,Jh,mr.ID),js&&(fa&&ye.collisionIndex.insertCollisionCircles(js.circles,lt.get("text-ignore-placement"),We.bucketInstanceId,Ou,mr.ID),te)){var Ov=We.bucketInstanceId,yv=ye.collisionCircleArrays[Ov];yv===void 0&&(yv=ye.collisionCircleArrays[Ov]=new ho);for(var _v=0;_v=0;--Pi){var ea=Ji[Pi];vi(We.symbolInstances.get(ea),We.collisionArrays[ea])}else for(var ja=K.symbolInstanceStart;ja=0&&(We>=0&&xr!==We?K.text.placedSymbolArray.get(xr).crossTileID=0:K.text.placedSymbolArray.get(xr).crossTileID=te.crossTileID)}},fs.prototype.markUsedOrientation=function(K,me,te){for(var ye=me===e.WritingMode.horizontal||me===e.WritingMode.horizontalOnly?me:0,Ze=me===e.WritingMode.vertical?me:0,We=[te.leftJustifiedTextSymbolIndex,te.centerJustifiedTextSymbolIndex,te.rightJustifiedTextSymbolIndex],lt=0,Ct=We;lt0||Zr>0,vi=fn.numIconVertices>0,Ji=ye.placedOrientations[fn.crossTileID],Pi=Ji===e.WritingMode.vertical,ea=Ji===e.WritingMode.horizontal||Ji===e.WritingMode.horizontalOnly;if(Xn){var ja=wl(kn.text),Ea=Pi?la:ja;nr(K.text,sn,Ea);var $i=ea?la:ja;nr(K.text,Zr,$i);var da=kn.text.isHidden();[fn.rightJustifiedTextSymbolIndex,fn.centerJustifiedTextSymbolIndex,fn.leftJustifiedTextSymbolIndex].forEach(function(Jh){Jh>=0&&(K.text.placedSymbolArray.get(Jh).hidden=da||Pi?1:0)}),fn.verticalPlacedTextSymbolIndex>=0&&(K.text.placedSymbolArray.get(fn.verticalPlacedTextSymbolIndex).hidden=da||ea?1:0);var fa=ye.variableOffsets[fn.crossTileID];fa&&ye.markUsedJustification(K,fa.anchor,fn,Ji);var za=ye.placedOrientations[fn.crossTileID];za&&(ye.markUsedJustification(K,"left",fn,za),ye.markUsedOrientation(K,za,fn))}if(vi){var Qa=wl(kn.icon),Cs=!(Ar&&fn.verticalPlacedIconSymbolIndex&&Pi);if(fn.placedIconSymbolIndex>=0){var ws=Cs?Qa:la;nr(K.icon,fn.numIconVertices,ws),K.icon.placedSymbolArray.get(fn.placedIconSymbolIndex).hidden=kn.icon.isHidden()}if(fn.verticalPlacedIconSymbolIndex>=0){var $s=Cs?la:Qa;nr(K.icon,fn.numVerticalIconVertices,$s),K.icon.placedSymbolArray.get(fn.verticalPlacedIconSymbolIndex).hidden=kn.icon.isHidden()}}if(K.hasIconCollisionBoxData()||K.hasTextCollisionBoxData()){var rs=K.collisionArrays[Xr];if(rs){var js=new e.Point(0,0);if(rs.textBox||rs.verticalTextBox){var Cl=!0;if(Wt){var Ou=ye.variableOffsets[hn];Ou?(js=Vs(Ou.anchor,Ou.width,Ou.height,Ou.textOffset,Ou.textBoxScale),xr&&js._rotate(Fr?ye.transform.angle:-ye.transform.angle)):Cl=!1}rs.textBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||Pi,js.x,js.y),rs.verticalTextBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||ea,js.x,js.y)}var Kh=!!(!ea&&rs.verticalIconBox);rs.iconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,Kh,Ar?js.x:0,Ar?js.y:0),rs.verticalIconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,!Kh,Ar?js.x:0,Ar?js.y:0)}}},zr=0;zrK},fs.prototype.setStale=function(){this.stale=!0};function Mi(ve,K,me,te,ye){ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0)}var Da=Math.pow(2,25),pl=Math.pow(2,24),Xs=Math.pow(2,17),Eo=Math.pow(2,16),Ys=Math.pow(2,9),As=Math.pow(2,8),hl=Math.pow(2,1);function wl(ve){if(ve.opacity===0&&!ve.placed)return 0;if(ve.opacity===1&&ve.placed)return 4294967295;var K=ve.placed?1:0,me=Math.floor(ve.opacity*127);return me*Da+K*pl+me*Xs+K*Eo+me*Ys+K*As+me*hl+K}var la=0,Uo=function(K){this._sortAcrossTiles=K.layout.get("symbol-z-order")!=="viewport-y"&&K.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Uo.prototype.continuePlacement=function(K,me,te,ye,Ze){for(var We=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var lt=K[this._currentPlacementIndex],Ct=me[lt],Wt=this.placement.collisionIndex.transform.zoom;if(Ct.type==="symbol"&&(!Ct.minzoom||Ct.minzoom<=Wt)&&(!Ct.maxzoom||Ct.maxzoom>Wt)){this._inProgressLayer||(this._inProgressLayer=new Uo(Ct));var xr=this._inProgressLayer.continuePlacement(te[Ct.source],this.placement,this._showCollisionBoxes,Ct,We);if(xr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},vo.prototype.commit=function(K){return this.placement.commit(K),this.placement};var Ps=512/e.EXTENT/2,ls=function(K,me,te){this.tileID=K,this.indexedSymbolInstances={},this.bucketInstanceId=te;for(var ye=0;yeK.overscaledZ)for(var Wt in Ct){var xr=Ct[Wt];xr.tileID.isChildOf(K)&&xr.findMatches(me.symbolInstances,K,We)}else{var Fr=K.scaledTo(Number(lt)),Ar=Ct[Fr.key];Ar&&Ar.findMatches(me.symbolInstances,K,We)}}for(var Gt=0;Gt0)throw new Error("Unimplemented: "+We.map(function(lt){return lt.command}).join(", ")+".");return Ze.forEach(function(lt){lt.command!=="setTransition"&&ye[lt.command].apply(ye,lt.args)}),this.stylesheet=te,!0},K.prototype.addImage=function(te,ye){if(this.getImage(te))return this.fire(new e.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(te,ye),this._afterImageUpdated(te)},K.prototype.updateImage=function(te,ye){this.imageManager.updateImage(te,ye)},K.prototype.getImage=function(te){return this.imageManager.getImage(te)},K.prototype.removeImage=function(te){if(!this.getImage(te))return this.fire(new e.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(te),this._afterImageUpdated(te)},K.prototype._afterImageUpdated=function(te){this._availableImages=this.imageManager.listImages(),this._changedImages[te]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new e.Event("data",{dataType:"style"}))},K.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},K.prototype.addSource=function(te,ye,Ze){var We=this;if(Ze===void 0&&(Ze={}),this._checkLoaded(),this.sourceCaches[te]!==void 0)throw new Error("There is already a source with this ID");if(!ye.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(ye).join(", ")+".");var lt=["vector","raster","geojson","video","image"],Ct=lt.indexOf(ye.type)>=0;if(!(Ct&&this._validate(e.validateStyle.source,"sources."+te,ye,null,Ze))){this.map&&this.map._collectResourceTiming&&(ye.collectResourceTiming=!0);var Wt=this.sourceCaches[te]=new xn(te,ye,this.dispatcher);Wt.style=this,Wt.setEventedParent(this,function(){return{isSourceLoaded:We.loaded(),source:Wt.serialize(),sourceId:te}}),Wt.onAdd(this.map),this._changed=!0}},K.prototype.removeSource=function(te){if(this._checkLoaded(),this.sourceCaches[te]===void 0)throw new Error("There is no source with this ID");for(var ye in this._layers)if(this._layers[ye].source===te)return this.fire(new e.ErrorEvent(new Error('Source "'+te+'" cannot be removed while layer "'+ye+'" is using it.')));var Ze=this.sourceCaches[te];delete this.sourceCaches[te],delete this._updatedSources[te],Ze.fire(new e.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:te})),Ze.setEventedParent(null),Ze.clearTiles(),Ze.onRemove&&Ze.onRemove(this.map),this._changed=!0},K.prototype.setGeoJSONSourceData=function(te,ye){this._checkLoaded();var Ze=this.sourceCaches[te].getSource();Ze.setData(ye),this._changed=!0},K.prototype.getSource=function(te){return this.sourceCaches[te]&&this.sourceCaches[te].getSource()},K.prototype.addLayer=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=te.id;if(this.getLayer(We)){this.fire(new e.ErrorEvent(new Error('Layer with id "'+We+'" already exists on this map')));return}var lt;if(te.type==="custom"){if(Tl(this,e.validateCustomStyleLayer(te)))return;lt=e.createStyleLayer(te)}else{if(typeof te.source=="object"&&(this.addSource(We,te.source),te=e.clone$1(te),te=e.extend(te,{source:We})),this._validate(e.validateStyle.layer,"layers."+We,te,{arrayIndex:-1},Ze))return;lt=e.createStyleLayer(te),this._validateLayer(lt),lt.setEventedParent(this,{layer:{id:We}}),this._serializedLayers[lt.id]=lt.serialize()}var Ct=ye?this._order.indexOf(ye):this._order.length;if(ye&&Ct===-1){this.fire(new e.ErrorEvent(new Error('Layer with id "'+ye+'" does not exist on this map.')));return}if(this._order.splice(Ct,0,We),this._layerOrderChanged=!0,this._layers[We]=lt,this._removedLayers[We]&<.source&<.type!=="custom"){var Wt=this._removedLayers[We];delete this._removedLayers[We],Wt.type!==lt.type?this._updatedSources[lt.source]="clear":(this._updatedSources[lt.source]="reload",this.sourceCaches[lt.source].pause())}this._updateLayer(lt),lt.onAdd&<.onAdd(this.map)},K.prototype.moveLayer=function(te,ye){this._checkLoaded(),this._changed=!0;var Ze=this._layers[te];if(!Ze){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be moved.")));return}if(te!==ye){var We=this._order.indexOf(te);this._order.splice(We,1);var lt=ye?this._order.indexOf(ye):this._order.length;if(ye&<===-1){this.fire(new e.ErrorEvent(new Error('Layer with id "'+ye+'" does not exist on this map.')));return}this._order.splice(lt,0,te),this._layerOrderChanged=!0}},K.prototype.removeLayer=function(te){this._checkLoaded();var ye=this._layers[te];if(!ye){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be removed.")));return}ye.setEventedParent(null);var Ze=this._order.indexOf(te);this._order.splice(Ze,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[te]=ye,delete this._layers[te],delete this._serializedLayers[te],delete this._updatedLayers[te],delete this._updatedPaintProps[te],ye.onRemove&&ye.onRemove(this.map)},K.prototype.getLayer=function(te){return this._layers[te]},K.prototype.hasLayer=function(te){return te in this._layers},K.prototype.setLayerZoomRange=function(te,ye,Ze){this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot have zoom extent.")));return}We.minzoom===ye&&We.maxzoom===Ze||(ye!=null&&(We.minzoom=ye),Ze!=null&&(We.maxzoom=Ze),this._updateLayer(We))},K.prototype.setFilter=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be filtered.")));return}if(!e.deepEqual(We.filter,ye)){if(ye==null){We.filter=void 0,this._updateLayer(We);return}this._validate(e.validateStyle.filter,"layers."+We.id+".filter",ye,null,Ze)||(We.filter=e.clone$1(ye),this._updateLayer(We))}},K.prototype.getFilter=function(te){return e.clone$1(this.getLayer(te).filter)},K.prototype.setLayoutProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be styled.")));return}e.deepEqual(lt.getLayoutProperty(ye),Ze)||(lt.setLayoutProperty(ye,Ze,We),this._updateLayer(lt))},K.prototype.getLayoutProperty=function(te,ye){var Ze=this.getLayer(te);if(!Ze){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style.")));return}return Ze.getLayoutProperty(ye)},K.prototype.setPaintProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be styled.")));return}if(!e.deepEqual(lt.getPaintProperty(ye),Ze)){var Ct=lt.setPaintProperty(ye,Ze,We);Ct&&this._updateLayer(lt),this._changed=!0,this._updatedPaintProps[te]=!0}},K.prototype.getPaintProperty=function(te,ye){return this.getLayer(te).getPaintProperty(ye)},K.prototype.setFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=te.sourceLayer,lt=this.sourceCaches[Ze];if(lt===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+Ze+"' does not exist in the map's style.")));return}var Ct=lt.getSource().type;if(Ct==="geojson"&&We){this.fire(new e.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));return}if(Ct==="vector"&&!We){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}te.id===void 0&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),lt.setFeatureState(We,te.id,ye)},K.prototype.removeFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=this.sourceCaches[Ze];if(We===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+Ze+"' does not exist in the map's style.")));return}var lt=We.getSource().type,Ct=lt==="vector"?te.sourceLayer:void 0;if(lt==="vector"&&!Ct){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}if(ye&&typeof te.id!="string"&&typeof te.id!="number"){this.fire(new e.ErrorEvent(new Error("A feature id is required to remove its specific state property.")));return}We.removeFeatureState(Ct,te.id,ye)},K.prototype.getFeatureState=function(te){this._checkLoaded();var ye=te.source,Ze=te.sourceLayer,We=this.sourceCaches[ye];if(We===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+ye+"' does not exist in the map's style.")));return}var lt=We.getSource().type;if(lt==="vector"&&!Ze){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}return te.id===void 0&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),We.getFeatureState(Ze,te.id)},K.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},K.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,function(te){return te.serialize()}),layers:this._serializeLayers(this._order)},function(te){return te!==void 0})},K.prototype._updateLayer=function(te){this._updatedLayers[te.id]=!0,te.source&&!this._updatedSources[te.source]&&this.sourceCaches[te.source].getSource().type!=="raster"&&(this._updatedSources[te.source]="reload",this.sourceCaches[te.source].pause()),this._changed=!0},K.prototype._flattenAndSortRenderedFeatures=function(te){for(var ye=this,Ze=function(ea){return ye._layers[ea].type==="fill-extrusion"},We={},lt=[],Ct=this._order.length-1;Ct>=0;Ct--){var Wt=this._order[Ct];if(Ze(Wt)){We[Wt]=Ct;for(var xr=0,Fr=te;xr=0;Xr--){var fn=this._order[Xr];if(Ze(fn))for(var sn=lt.length-1;sn>=0;sn--){var Zr=lt[sn].feature;if(We[Zr.layer.id] 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Vl=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Jf=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 +? a_pos +: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,zf=`#ifdef GL_ES +precision highp float; +#endif +uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,wf="uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}",Gc=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; +#define PI 3.141592653589793 +void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Ff="uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}",$f=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,ec=` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Tf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Pc=` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Wc=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Pu=` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,cf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Ic=` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,Ks=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Of="uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}",Eh=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,Qf=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,af=`#define SDF_PX 8.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,lh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,Iu=`#define SDF_PX 8.0 +#define SDF 1.0 +#define ICON 0.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,eh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,su=ul(kc,Ju),Ru=ul(sh,uf),yc=ul(qs,Hc),Dl=ul(bf,Ql),Rc=ul(Al,oc),tc=ul(gc,nl),xu=ul(Ml,Zs),Sl=ul(sl,sc),th=ul(jl,$u),uh=ul(ll,Nh),Hu=ul(ds,Sh),_c=ul(Bs,Vo),lc=ul(rf,Qu),Uh=ul(pu,Df),of=ul(Lc,nf),ff=ul(Vl,Jf),Du=ul(zf,wf),Af=ul(Gc,Ff),lu=ul($f,ec),Xc=ul(Tf,Pc),ch=ul(Wc,Pu),Mf=ul(cf,Ic),dl=ul(Ks,Of),bu=ul(Eh,Qf),wu=ul(af,lh),Bf=ul(Iu,eh);function ul(ve,K){var me=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,te=K.match(/attribute ([\w]+) ([\w]+)/g),ye=ve.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),Ze=K.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),We=Ze?Ze.concat(ye):ye,lt={};return ve=ve.replace(me,function(Ct,Wt,xr,Fr,Ar){return lt[Ar]=!0,Wt==="define"?` +#ifndef HAS_UNIFORM_u_`+Ar+` +varying `+xr+" "+Fr+" "+Ar+`; +#else +uniform `+xr+" "+Fr+" u_"+Ar+`; +#endif +`:` +#ifdef HAS_UNIFORM_u_`+Ar+` + `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; +#endif +`}),K=K.replace(me,function(Ct,Wt,xr,Fr,Ar){var Gt=Fr==="float"?"vec2":"vec4",nr=Ar.match(/color/)?"color":Gt;return lt[Ar]?Wt==="define"?` +#ifndef HAS_UNIFORM_u_`+Ar+` +uniform lowp float u_`+Ar+`_t; +attribute `+xr+" "+Gt+" a_"+Ar+`; +varying `+xr+" "+Fr+" "+Ar+`; +#else +uniform `+xr+" "+Fr+" u_"+Ar+`; +#endif +`:nr==="vec4"?` +#ifndef HAS_UNIFORM_u_`+Ar+` + `+Ar+" = a_"+Ar+`; +#else + `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; +#endif +`:` +#ifndef HAS_UNIFORM_u_`+Ar+` + `+Ar+" = unpack_mix_"+nr+"(a_"+Ar+", u_"+Ar+`_t); +#else + `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; +#endif +`:Wt==="define"?` +#ifndef HAS_UNIFORM_u_`+Ar+` +uniform lowp float u_`+Ar+`_t; +attribute `+xr+" "+Gt+" a_"+Ar+`; +#else +uniform `+xr+" "+Fr+" u_"+Ar+`; +#endif +`:nr==="vec4"?` +#ifndef HAS_UNIFORM_u_`+Ar+` + `+xr+" "+Fr+" "+Ar+" = a_"+Ar+`; +#else + `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; +#endif +`:` +#ifndef HAS_UNIFORM_u_`+Ar+` + `+xr+" "+Fr+" "+Ar+" = unpack_mix_"+nr+"(a_"+Ar+", u_"+Ar+`_t); +#else + `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; +#endif +`}),{fragmentSource:ve,vertexSource:K,staticAttributes:te,staticUniforms:We}}var sf=Object.freeze({__proto__:null,prelude:su,background:Ru,backgroundPattern:yc,circle:Dl,clippingMask:Rc,heatmap:tc,heatmapTexture:xu,collisionBox:Sl,collisionCircle:th,debug:uh,fill:Hu,fillOutline:_c,fillOutlinePattern:lc,fillPattern:Uh,fillExtrusion:of,fillExtrusionPattern:ff,hillshadePrepare:Du,hillshade:Af,line:lu,lineGradient:Xc,linePattern:ch,lineSDF:Mf,raster:dl,symbolIcon:bu,symbolSDF:wu,symbolTextAndIcon:Bf}),xc=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};xc.prototype.bind=function(K,me,te,ye,Ze,We,lt,Ct){this.context=K;for(var Wt=this.boundPaintVertexBuffers.length!==ye.length,xr=0;!Wt&&xr>16,lt>>16],u_pixel_coord_lower:[We&65535,lt&65535]}}function Zc(ve,K,me,te){var ye=me.imageManager.getPattern(ve.from.toString()),Ze=me.imageManager.getPattern(ve.to.toString()),We=me.imageManager.getPixelSize(),lt=We.width,Ct=We.height,Wt=Math.pow(2,te.tileID.overscaledZ),xr=te.tileSize*Math.pow(2,me.transform.tileZoom)/Wt,Fr=xr*(te.tileID.canonical.x+te.tileID.wrap*Wt),Ar=xr*te.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:ye.tl,u_pattern_br_a:ye.br,u_pattern_tl_b:Ze.tl,u_pattern_br_b:Ze.br,u_texsize:[lt,Ct],u_mix:K.t,u_pattern_size_a:ye.displaySize,u_pattern_size_b:Ze.displaySize,u_scale_a:K.fromScale,u_scale_b:K.toScale,u_tile_units_to_pixels:1/Ka(te,1,me.transform.tileZoom),u_pixel_coord_upper:[Fr>>16,Ar>>16],u_pixel_coord_lower:[Fr&65535,Ar&65535]}}var Nf=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Xl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_height_factor:new e.Uniform1f(ve,K.u_height_factor),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Uf=function(ve,K,me,te){var ye=K.style.light,Ze=ye.properties.get("position"),We=[Ze.x,Ze.y,Ze.z],lt=e.create$1();ye.properties.get("anchor")==="viewport"&&e.fromRotation(lt,-K.transform.angle),e.transformMat3(We,We,lt);var Ct=ye.properties.get("color");return{u_matrix:ve,u_lightpos:We,u_lightintensity:ye.properties.get("intensity"),u_lightcolor:[Ct.r,Ct.g,Ct.b],u_vertical_gradient:+me,u_opacity:te}},Wu=function(ve,K,me,te,ye,Ze,We){return e.extend(Uf(ve,K,me,te),uc(Ze,K,We),{u_height_factor:-Math.pow(2,ye.overscaledZ)/We.tileSize/8})},bc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},cc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},zl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world)}},uu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},fc=function(ve){return{u_matrix:ve}},Dc=function(ve,K,me,te){return e.extend(fc(ve),uc(me,K,te))},rc=function(ve,K){return{u_matrix:ve,u_world:K}},Yc=function(ve,K,me,te,ye){return e.extend(Dc(ve,K,me,te),{u_world:ye})},Yt=function(ve,K){return{u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(ve,K.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},dr=function(ve,K,me,te){var ye=ve.transform,Ze,We;if(te.paint.get("circle-pitch-alignment")==="map"){var lt=Ka(me,1,ye.zoom);Ze=!0,We=[lt,lt]}else Ze=!1,We=ye.pixelsToGLUnits;return{u_camera_to_center_distance:ye.cameraToCenterDistance,u_scale_with_map:+(te.paint.get("circle-pitch-scale")==="map"),u_matrix:ve.translatePosMatrix(K.posMatrix,me,te.paint.get("circle-translate"),te.paint.get("circle-translate-anchor")),u_pitch_with_map:+Ze,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:We}},tn=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(ve,K.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_overscale_factor:new e.Uniform1f(ve,K.u_overscale_factor)}},Wr=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_inv_matrix:new e.UniformMatrix4f(ve,K.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(ve,K.u_viewport_size)}},Cn=function(ve,K,me){var te=Ka(me,1,K.zoom),ye=Math.pow(2,K.zoom-me.tileID.overscaledZ),Ze=me.tileID.overscaleFactor();return{u_matrix:ve,u_camera_to_center_distance:K.cameraToCenterDistance,u_pixels_to_tile_units:te,u_extrude_scale:[K.pixelsToGLUnits[0]/(te*ye),K.pixelsToGLUnits[1]/(te*ye)],u_overscale_factor:Ze}},si=function(ve,K,me){return{u_matrix:ve,u_inv_matrix:K,u_camera_to_center_distance:me.cameraToCenterDistance,u_viewport_size:[me.width,me.height]}},yi=function(ve,K){return{u_color:new e.UniformColor(ve,K.u_color),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_overlay:new e.Uniform1i(ve,K.u_overlay),u_overlay_scale:new e.Uniform1f(ve,K.u_overlay_scale)}},Di=function(ve,K,me){return me===void 0&&(me=1),{u_matrix:ve,u_color:K,u_overlay:0,u_overlay_scale:me}},Wi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},aa=function(ve){return{u_matrix:ve}},bi=function(ve,K){return{u_extrude_scale:new e.Uniform1f(ve,K.u_extrude_scale),u_intensity:new e.Uniform1f(ve,K.u_intensity),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},zi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_color_ramp:new e.Uniform1i(ve,K.u_color_ramp),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Li=function(ve,K,me,te){return{u_matrix:ve,u_extrude_scale:Ka(K,1,me),u_intensity:te}},di=function(ve,K,me,te){var ye=e.create();e.ortho(ye,0,ve.width,ve.height,0,0,1);var Ze=ve.context.gl;return{u_matrix:ye,u_world:[Ze.drawingBufferWidth,Ze.drawingBufferHeight],u_image:me,u_color_ramp:te,u_opacity:K.paint.get("heatmap-opacity")}},wa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_latrange:new e.Uniform2f(ve,K.u_latrange),u_light:new e.Uniform2f(ve,K.u_light),u_shadow:new e.UniformColor(ve,K.u_shadow),u_highlight:new e.UniformColor(ve,K.u_highlight),u_accent:new e.UniformColor(ve,K.u_accent)}},po=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_dimension:new e.Uniform2f(ve,K.u_dimension),u_zoom:new e.Uniform1f(ve,K.u_zoom),u_unpack:new e.Uniform4f(ve,K.u_unpack)}},co=function(ve,K,me){var te=me.paint.get("hillshade-shadow-color"),ye=me.paint.get("hillshade-highlight-color"),Ze=me.paint.get("hillshade-accent-color"),We=me.paint.get("hillshade-illumination-direction")*(Math.PI/180);me.paint.get("hillshade-illumination-anchor")==="viewport"&&(We-=ve.transform.angle);var lt=!ve.options.moving;return{u_matrix:ve.transform.calculatePosMatrix(K.tileID.toUnwrapped(),lt),u_image:0,u_latrange:Ao(ve,K.tileID),u_light:[me.paint.get("hillshade-exaggeration"),We],u_shadow:te,u_highlight:ye,u_accent:Ze}},mo=function(ve,K){var me=K.stride,te=e.create();return e.ortho(te,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(te,te,[0,-e.EXTENT,0]),{u_matrix:te,u_image:1,u_dimension:[me,me],u_zoom:ve.overscaledZ,u_unpack:K.getUnpackVector()}};function Ao(ve,K){var me=Math.pow(2,K.canonical.z),te=K.canonical.y;return[new e.MercatorCoordinate(0,te/me).toLngLat().lat,new e.MercatorCoordinate(0,(te+1)/me).toLngLat().lat]}var xa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels)}},Qi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_image:new e.Uniform1i(ve,K.u_image),u_image_height:new e.Uniform1f(ve,K.u_image_height)}},Lo=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_image:new e.Uniform1i(ve,K.u_image),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},as=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(ve,K.u_patternscale_a),u_patternscale_b:new e.Uniform2f(ve,K.u_patternscale_b),u_sdfgamma:new e.Uniform1f(ve,K.u_sdfgamma),u_image:new e.Uniform1i(ve,K.u_image),u_tex_y_a:new e.Uniform1f(ve,K.u_tex_y_a),u_tex_y_b:new e.Uniform1f(ve,K.u_tex_y_b),u_mix:new e.Uniform1f(ve,K.u_mix)}},Ds=function(ve,K,me){var te=ve.transform;return{u_matrix:Bl(ve,K,me),u_ratio:1/Ka(K,1,te.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/te.pixelsToGLUnits[0],1/te.pixelsToGLUnits[1]]}},il=function(ve,K,me,te){return e.extend(Ds(ve,K,me),{u_image:0,u_image_height:te})},Ns=function(ve,K,me,te){var ye=ve.transform,Ze=Es(K,ye);return{u_matrix:Bl(ve,K,me),u_texsize:K.imageAtlasTexture.size,u_ratio:1/Ka(K,1,ye.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[Ze,te.fromScale,te.toScale],u_fade:te.t,u_units_to_pixels:[1/ye.pixelsToGLUnits[0],1/ye.pixelsToGLUnits[1]]}},el=function(ve,K,me,te,ye){var Ze=ve.transform,We=ve.lineAtlas,lt=Es(K,Ze),Ct=me.layout.get("line-cap")==="round",Wt=We.getDash(te.from,Ct),xr=We.getDash(te.to,Ct),Fr=Wt.width*ye.fromScale,Ar=xr.width*ye.toScale;return e.extend(Ds(ve,K,me),{u_patternscale_a:[lt/Fr,-Wt.height/2],u_patternscale_b:[lt/Ar,-xr.height/2],u_sdfgamma:We.width/(Math.min(Fr,Ar)*256*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:Wt.y,u_tex_y_b:xr.y,u_mix:ye.t})};function Es(ve,K){return 1/Ka(ve,1,K.tileZoom)}function Bl(ve,K,me){return ve.translatePosMatrix(K.tileID.posMatrix,K,me.paint.get("line-translate"),me.paint.get("line-translate-anchor"))}var _l=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_tl_parent:new e.Uniform2f(ve,K.u_tl_parent),u_scale_parent:new e.Uniform1f(ve,K.u_scale_parent),u_buffer_scale:new e.Uniform1f(ve,K.u_buffer_scale),u_fade_t:new e.Uniform1f(ve,K.u_fade_t),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image0:new e.Uniform1i(ve,K.u_image0),u_image1:new e.Uniform1i(ve,K.u_image1),u_brightness_low:new e.Uniform1f(ve,K.u_brightness_low),u_brightness_high:new e.Uniform1f(ve,K.u_brightness_high),u_saturation_factor:new e.Uniform1f(ve,K.u_saturation_factor),u_contrast_factor:new e.Uniform1f(ve,K.u_contrast_factor),u_spin_weights:new e.Uniform3f(ve,K.u_spin_weights)}},cl=function(ve,K,me,te,ye){return{u_matrix:ve,u_tl_parent:K,u_scale_parent:me,u_buffer_scale:1,u_fade_t:te.mix,u_opacity:te.opacity*ye.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:ye.paint.get("raster-brightness-min"),u_brightness_high:ye.paint.get("raster-brightness-max"),u_saturation_factor:Js(ye.paint.get("raster-saturation")),u_contrast_factor:jo(ye.paint.get("raster-contrast")),u_spin_weights:Za(ye.paint.get("raster-hue-rotate"))}};function Za(ve){ve*=Math.PI/180;var K=Math.sin(ve),me=Math.cos(ve);return[(2*me+1)/3,(-Math.sqrt(3)*K-me+1)/3,(Math.sqrt(3)*K-me+1)/3]}function jo(ve){return ve>0?1/(1-ve):1+ve}function Js(ve){return ve>0?1-1/(1.001-ve):-ve}var zs=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture)}},cu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},zu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texsize_icon:new e.Uniform2f(ve,K.u_texsize_icon),u_texture:new e.Uniform1i(ve,K.u_texture),u_texture_icon:new e.Uniform1i(ve,K.u_texture_icon),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},nc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){var xr=ye.transform;return{u_is_size_zoom_constant:+(ve==="constant"||ve==="source"),u_is_size_feature_constant:+(ve==="constant"||ve==="camera"),u_size_t:K?K.uSizeT:0,u_size:K?K.uSize:0,u_camera_to_center_distance:xr.cameraToCenterDistance,u_pitch:xr.pitch/360*2*Math.PI,u_rotate_symbol:+me,u_aspect_ratio:xr.width/xr.height,u_fade_change:ye.options.fadeDuration?ye.symbolFadeChange:1,u_matrix:Ze,u_label_plane_matrix:We,u_coord_matrix:lt,u_is_text:+Ct,u_pitch_with_map:+te,u_texsize:Wt,u_texture:0}},Kc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr){var Fr=ye.transform;return e.extend(nc(ve,K,me,te,ye,Ze,We,lt,Ct,Wt),{u_gamma_scale:te?Math.cos(Fr._pitch)*Fr.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+xr})},Tu=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){return e.extend(Kc(ve,K,me,te,ye,Ze,We,lt,!0,Ct,!0),{u_texsize_icon:Wt,u_texture_icon:1})},zc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_color:new e.UniformColor(ve,K.u_color)}},Fu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image:new e.Uniform1i(ve,K.u_image),u_pattern_tl_a:new e.Uniform2f(ve,K.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(ve,K.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(ve,K.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(ve,K.u_pattern_br_b),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_mix:new e.Uniform1f(ve,K.u_mix),u_pattern_size_a:new e.Uniform2f(ve,K.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(ve,K.u_pattern_size_b),u_scale_a:new e.Uniform1f(ve,K.u_scale_a),u_scale_b:new e.Uniform1f(ve,K.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(ve,K.u_tile_units_to_pixels)}},wc=function(ve,K,me){return{u_matrix:ve,u_opacity:K,u_color:me}},bo=function(ve,K,me,te,ye,Ze){return e.extend(Zc(te,Ze,me,ye),{u_matrix:ve,u_opacity:K})},Wo={fillExtrusion:Nf,fillExtrusionPattern:Xl,fill:bc,fillPattern:cc,fillOutline:zl,fillOutlinePattern:uu,circle:Yt,collisionBox:tn,collisionCircle:Wr,debug:yi,clippingMask:Wi,heatmap:bi,heatmapTexture:zi,hillshade:wa,hillshadePrepare:po,line:xa,lineGradient:Qi,linePattern:Lo,lineSDF:as,raster:_l,symbolIcon:zs,symbolSDF:cu,symbolTextAndIcon:zu,background:zc,backgroundPattern:Fu},Fc;function hc(ve,K,me,te,ye,Ze,We){for(var lt=ve.context,Ct=lt.gl,Wt=ve.useProgram("collisionBox"),xr=[],Fr=0,Ar=0,Gt=0;Gt0){var sn=e.create(),Zr=Gr;e.mul(sn,zr.placementInvProjMatrix,ve.transform.glCoordMatrix),e.mul(sn,sn,zr.placementViewportMatrix),xr.push({circleArray:fn,circleOffset:Ar,transform:Zr,invTransform:sn}),Fr+=fn.length/4,Ar=Fr}Xr&&Wt.draw(lt,Ct.LINES,Nn.disabled,zn.disabled,ve.colorModeForRenderPass(),wr.disabled,Cn(Gr,ve.transform,mr),me.id,Xr.layoutVertexBuffer,Xr.indexBuffer,Xr.segments,null,ve.transform.zoom,null,null,Xr.collisionVertexBuffer)}}if(!(!We||!xr.length)){var hn=ve.useProgram("collisionCircle"),qr=new e.StructArrayLayout2f1f2i16;qr.resize(Fr*4),qr._trim();for(var kn=0,Xn=0,vi=xr;Xn=0&&(nr[zr.associatedIconIndex]={shiftedAnchor:ea,angle:ja})}}if(xr){Gt.clear();for(var $i=ve.icon.placedSymbolArray,da=0;da<$i.length;da++){var fa=$i.get(da);if(fa.hidden)Ko(fa.numGlyphs,Gt);else{var za=nr[da];if(!za)Ko(fa.numGlyphs,Gt);else for(var Qa=0;Qa0){var We=e.browser.now(),lt=(We-ve.timeAdded)/Ze,Ct=K?(We-K.timeAdded)/Ze:-1,Wt=me.getSource(),xr=ye.coveringZoomLevel({tileSize:Wt.tileSize,roundZoom:Wt.roundZoom}),Fr=!K||Math.abs(K.tileID.overscaledZ-xr)>Math.abs(ve.tileID.overscaledZ-xr),Ar=Fr&&ve.refreshedUponExpiration?1:e.clamp(Fr?lt:1-Ct,0,1);return ve.refreshedUponExpiration&<>=1&&(ve.refreshedUponExpiration=!1),K?{opacity:1,mix:1-Ar}:{opacity:Ar,mix:0}}else return{opacity:1,mix:0}}function pr(ve,K,me){var te=me.paint.get("background-color"),ye=me.paint.get("background-opacity");if(ye!==0){var Ze=ve.context,We=Ze.gl,lt=ve.transform,Ct=lt.tileSize,Wt=me.paint.get("background-pattern");if(!ve.isPatternMissing(Wt)){var xr=!Wt&&te.a===1&&ye===1&&ve.opaquePassEnabledForLayer()?"opaque":"translucent";if(ve.renderPass===xr){var Fr=zn.disabled,Ar=ve.depthModeForSublayer(0,xr==="opaque"?Nn.ReadWrite:Nn.ReadOnly),Gt=ve.colorModeForRenderPass(),nr=ve.useProgram(Wt?"backgroundPattern":"background"),mr=lt.coveringTiles({tileSize:Ct});Wt&&(Ze.activeTexture.set(We.TEXTURE0),ve.imageManager.bind(ve.context));for(var zr=me.getCrossfadeParameters(),Gr=0,Xr=mr;Gr "+me.overscaledZ);var Gr=zr+" "+Gt+"kb";Io(ve,Gr),We.draw(te,ye.TRIANGLES,lt,Ct,Ft.alphaBlended,wr.disabled,Di(Ze,e.Color.transparent,mr),xr,ve.debugBuffer,ve.quadTriangleIndexBuffer,ve.debugSegments)}function Io(ve,K){ve.initDebugOverlayCanvas();var me=ve.debugOverlayCanvas,te=ve.context.gl,ye=ve.debugOverlayCanvas.getContext("2d");ye.clearRect(0,0,me.width,me.height),ye.shadowColor="white",ye.shadowBlur=2,ye.lineWidth=1.5,ye.strokeStyle="white",ye.textBaseline="top",ye.font="bold 36px Open Sans, sans-serif",ye.fillText(K,5,5),ye.strokeText(K,5,5),ve.debugOverlayTexture.update(me),ve.debugOverlayTexture.bind(te.LINEAR,te.CLAMP_TO_EDGE)}function vs(ve,K,me){var te=ve.context,ye=me.implementation;if(ve.renderPass==="offscreen"){var Ze=ye.prerender;Ze&&(ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),Ze.call(ye,te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState())}else if(ve.renderPass==="translucent"){ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),te.setStencilMode(zn.disabled);var We=ye.renderingMode==="3d"?new Nn(ve.context.gl.LEQUAL,Nn.ReadWrite,ve.depthRangeFor3D):ve.depthModeForSublayer(0,Nn.ReadOnly);te.setDepthMode(We),ye.render(te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState(),te.bindFramebuffer.set(null)}}var Fo={symbol:R,circle:zt,heatmap:Jt,line:ln,fill:Ge,"fill-extrusion":st,hillshade:St,raster:rr,background:pr,debug:ro,custom:vs},ts=function(K,me){this.context=new $r(K),this.transform=me,this._tileTextures={},this.setup(),this.numSublayers=xn.maxUnderzooming+xn.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ku,this.gpuTimers={}};ts.prototype.resize=function(K,me){if(this.width=K*e.browser.devicePixelRatio,this.height=me*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var te=0,ye=this.style._order;te256&&this.clearStencil(),te.setColorMode(Ft.disabled),te.setDepthMode(Nn.disabled);var Ze=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var We=0,lt=me;We256&&this.clearStencil();var K=this.nextStencilID++,me=this.context.gl;return new zn({func:me.NOTEQUAL,mask:255},K,255,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilModeForClipping=function(K){var me=this.context.gl;return new zn({func:me.EQUAL,mask:255},this._tileClippingMaskIDs[K.key],0,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilConfigForOverlap=function(K){var me,te=this.context.gl,ye=K.sort(function(Wt,xr){return xr.overscaledZ-Wt.overscaledZ}),Ze=ye[ye.length-1].overscaledZ,We=ye[0].overscaledZ-Ze+1;if(We>1){this.currentStencilSource=void 0,this.nextStencilID+We>256&&this.clearStencil();for(var lt={},Ct=0;Ct=0;this.currentLayer--){var sn=this.style._layers[ye[this.currentLayer]],Zr=Ze[sn.source],hn=Ct[sn.source];this._renderTileClippingMasks(sn,hn),this.renderLayer(this,Zr,sn,hn)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?me.pop():null},ts.prototype.isPatternMissing=function(K){if(!K)return!1;if(!K.from||!K.to)return!0;var me=this.imageManager.getPattern(K.from.toString()),te=this.imageManager.getPattern(K.to.toString());return!me||!te},ts.prototype.useProgram=function(K,me){this.cache=this.cache||{};var te=""+K+(me?me.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[te]||(this.cache[te]=new hf(this.context,K,sf[K],me,Wo[K],this._showOverdrawInspector)),this.cache[te]},ts.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},ts.prototype.setBaseState=function(){var K=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(K.FUNC_ADD)},ts.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=e.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var K=this.context.gl;this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,K.RGBA)}},ts.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var bs=function(K,me){this.points=K,this.planes=me};bs.fromInvProjectionMatrix=function(K,me,te){var ye=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ze=Math.pow(2,te),We=ye.map(function(Wt){return e.transformMat4([],Wt,K)}).map(function(Wt){return e.scale$1([],Wt,1/Wt[3]/me*Ze)}),lt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],Ct=lt.map(function(Wt){var xr=e.sub([],We[Wt[0]],We[Wt[1]]),Fr=e.sub([],We[Wt[2]],We[Wt[1]]),Ar=e.normalize([],e.cross([],xr,Fr)),Gt=-e.dot(Ar,We[Wt[1]]);return Ar.concat(Gt)});return new bs(We,Ct)};var fl=function(K,me){this.min=K,this.max=me,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};fl.prototype.quadrant=function(K){for(var me=[K%2===0,K<2],te=e.clone$2(this.min),ye=e.clone$2(this.max),Ze=0;Ze=0;if(We===0)return 0;We!==me.length&&(te=!1)}if(te)return 2;for(var Ct=0;Ct<3;Ct++){for(var Wt=Number.MAX_VALUE,xr=-Number.MAX_VALUE,Fr=0;Frthis.max[Ct]-this.min[Ct])return 0}return 1};var al=function(K,me,te,ye){if(K===void 0&&(K=0),me===void 0&&(me=0),te===void 0&&(te=0),ye===void 0&&(ye=0),isNaN(K)||K<0||isNaN(me)||me<0||isNaN(te)||te<0||isNaN(ye)||ye<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=K,this.bottom=me,this.left=te,this.right=ye};al.prototype.interpolate=function(K,me,te){return me.top!=null&&K.top!=null&&(this.top=e.number(K.top,me.top,te)),me.bottom!=null&&K.bottom!=null&&(this.bottom=e.number(K.bottom,me.bottom,te)),me.left!=null&&K.left!=null&&(this.left=e.number(K.left,me.left,te)),me.right!=null&&K.right!=null&&(this.right=e.number(K.right,me.right,te)),this},al.prototype.getCenter=function(K,me){var te=e.clamp((this.left+K-this.right)/2,0,K),ye=e.clamp((this.top+me-this.bottom)/2,0,me);return new e.Point(te,ye)},al.prototype.equals=function(K){return this.top===K.top&&this.bottom===K.bottom&&this.left===K.left&&this.right===K.right},al.prototype.clone=function(){return new al(this.top,this.bottom,this.left,this.right)},al.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var os=function(K,me,te,ye,Ze){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ze===void 0?!0:Ze,this._minZoom=K||0,this._maxZoom=me||22,this._minPitch=te??0,this._maxPitch=ye??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new al,this._posMatrixCache={},this._alignedPosMatrixCache={}},is={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};os.prototype.clone=function(){var K=new os(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return K.tileSize=this.tileSize,K.latRange=this.latRange,K.width=this.width,K.height=this.height,K._center=this._center,K.zoom=this.zoom,K.angle=this.angle,K._fov=this._fov,K._pitch=this._pitch,K._unmodified=this._unmodified,K._edgeInsets=this._edgeInsets.clone(),K._calcMatrices(),K},is.minZoom.get=function(){return this._minZoom},is.minZoom.set=function(ve){this._minZoom!==ve&&(this._minZoom=ve,this.zoom=Math.max(this.zoom,ve))},is.maxZoom.get=function(){return this._maxZoom},is.maxZoom.set=function(ve){this._maxZoom!==ve&&(this._maxZoom=ve,this.zoom=Math.min(this.zoom,ve))},is.minPitch.get=function(){return this._minPitch},is.minPitch.set=function(ve){this._minPitch!==ve&&(this._minPitch=ve,this.pitch=Math.max(this.pitch,ve))},is.maxPitch.get=function(){return this._maxPitch},is.maxPitch.set=function(ve){this._maxPitch!==ve&&(this._maxPitch=ve,this.pitch=Math.min(this.pitch,ve))},is.renderWorldCopies.get=function(){return this._renderWorldCopies},is.renderWorldCopies.set=function(ve){ve===void 0?ve=!0:ve===null&&(ve=!1),this._renderWorldCopies=ve},is.worldSize.get=function(){return this.tileSize*this.scale},is.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},is.size.get=function(){return new e.Point(this.width,this.height)},is.bearing.get=function(){return-this.angle/Math.PI*180},is.bearing.set=function(ve){var K=-e.wrap(ve,-180,180)*Math.PI/180;this.angle!==K&&(this._unmodified=!1,this.angle=K,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},is.pitch.get=function(){return this._pitch/Math.PI*180},is.pitch.set=function(ve){var K=e.clamp(ve,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==K&&(this._unmodified=!1,this._pitch=K,this._calcMatrices())},is.fov.get=function(){return this._fov/Math.PI*180},is.fov.set=function(ve){ve=Math.max(.01,Math.min(60,ve)),this._fov!==ve&&(this._unmodified=!1,this._fov=ve/180*Math.PI,this._calcMatrices())},is.zoom.get=function(){return this._zoom},is.zoom.set=function(ve){var K=Math.min(Math.max(ve,this.minZoom),this.maxZoom);this._zoom!==K&&(this._unmodified=!1,this._zoom=K,this.scale=this.zoomScale(K),this.tileZoom=Math.floor(K),this.zoomFraction=K-this.tileZoom,this._constrain(),this._calcMatrices())},is.center.get=function(){return this._center},is.center.set=function(ve){ve.lat===this._center.lat&&ve.lng===this._center.lng||(this._unmodified=!1,this._center=ve,this._constrain(),this._calcMatrices())},is.padding.get=function(){return this._edgeInsets.toJSON()},is.padding.set=function(ve){this._edgeInsets.equals(ve)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ve,1),this._calcMatrices())},is.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},os.prototype.isPaddingEqual=function(K){return this._edgeInsets.equals(K)},os.prototype.interpolatePadding=function(K,me,te){this._unmodified=!1,this._edgeInsets.interpolate(K,me,te),this._constrain(),this._calcMatrices()},os.prototype.coveringZoomLevel=function(K){var me=(K.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/K.tileSize));return Math.max(0,me)},os.prototype.getVisibleUnwrappedCoordinates=function(K){var me=[new e.UnwrappedTileID(0,K)];if(this._renderWorldCopies)for(var te=this.pointCoordinate(new e.Point(0,0)),ye=this.pointCoordinate(new e.Point(this.width,0)),Ze=this.pointCoordinate(new e.Point(this.width,this.height)),We=this.pointCoordinate(new e.Point(0,this.height)),lt=Math.floor(Math.min(te.x,ye.x,Ze.x,We.x)),Ct=Math.floor(Math.max(te.x,ye.x,Ze.x,We.x)),Wt=1,xr=lt-Wt;xr<=Ct+Wt;xr++)xr!==0&&me.push(new e.UnwrappedTileID(xr,K));return me},os.prototype.coveringTiles=function(K){var me=this.coveringZoomLevel(K),te=me;if(K.minzoom!==void 0&&meK.maxzoom&&(me=K.maxzoom);var ye=e.MercatorCoordinate.fromLngLat(this.center),Ze=Math.pow(2,me),We=[Ze*ye.x,Ze*ye.y,0],lt=bs.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,me),Ct=K.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ct=me);var Wt=3,xr=function(Pi){return{aabb:new fl([Pi*Ze,0,0],[(Pi+1)*Ze,Ze,0]),zoom:0,x:0,y:0,wrap:Pi,fullyVisible:!1}},Fr=[],Ar=[],Gt=me,nr=K.reparseOverscaled?te:me;if(this._renderWorldCopies)for(var mr=1;mr<=3;mr++)Fr.push(xr(-mr)),Fr.push(xr(mr));for(Fr.push(xr(0));Fr.length>0;){var zr=Fr.pop(),Gr=zr.x,Xr=zr.y,fn=zr.fullyVisible;if(!fn){var sn=zr.aabb.intersects(lt);if(sn===0)continue;fn=sn===2}var Zr=zr.aabb.distanceX(We),hn=zr.aabb.distanceY(We),qr=Math.max(Math.abs(Zr),Math.abs(hn)),kn=Wt+(1<kn&&zr.zoom>=Ct){Ar.push({tileID:new e.OverscaledTileID(zr.zoom===Gt?nr:zr.zoom,zr.wrap,zr.zoom,Gr,Xr),distanceSq:e.sqrLen([We[0]-.5-Gr,We[1]-.5-Xr])});continue}for(var Xn=0;Xn<4;Xn++){var vi=(Gr<<1)+Xn%2,Ji=(Xr<<1)+(Xn>>1);Fr.push({aabb:zr.aabb.quadrant(Xn),zoom:zr.zoom+1,x:vi,y:Ji,wrap:zr.wrap,fullyVisible:fn})}}return Ar.sort(function(Pi,ea){return Pi.distanceSq-ea.distanceSq}).map(function(Pi){return Pi.tileID})},os.prototype.resize=function(K,me){this.width=K,this.height=me,this.pixelsToGLUnits=[2/K,-2/me],this._constrain(),this._calcMatrices()},is.unmodified.get=function(){return this._unmodified},os.prototype.zoomScale=function(K){return Math.pow(2,K)},os.prototype.scaleZoom=function(K){return Math.log(K)/Math.LN2},os.prototype.project=function(K){var me=e.clamp(K.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(K.lng)*this.worldSize,e.mercatorYfromLat(me)*this.worldSize)},os.prototype.unproject=function(K){return new e.MercatorCoordinate(K.x/this.worldSize,K.y/this.worldSize).toLngLat()},is.point.get=function(){return this.project(this.center)},os.prototype.setLocationAtPoint=function(K,me){var te=this.pointCoordinate(me),ye=this.pointCoordinate(this.centerPoint),Ze=this.locationCoordinate(K),We=new e.MercatorCoordinate(Ze.x-(te.x-ye.x),Ze.y-(te.y-ye.y));this.center=this.coordinateLocation(We),this._renderWorldCopies&&(this.center=this.center.wrap())},os.prototype.locationPoint=function(K){return this.coordinatePoint(this.locationCoordinate(K))},os.prototype.pointLocation=function(K){return this.coordinateLocation(this.pointCoordinate(K))},os.prototype.locationCoordinate=function(K){return e.MercatorCoordinate.fromLngLat(K)},os.prototype.coordinateLocation=function(K){return K.toLngLat()},os.prototype.pointCoordinate=function(K){var me=0,te=[K.x,K.y,0,1],ye=[K.x,K.y,1,1];e.transformMat4(te,te,this.pixelMatrixInverse),e.transformMat4(ye,ye,this.pixelMatrixInverse);var Ze=te[3],We=ye[3],lt=te[0]/Ze,Ct=ye[0]/We,Wt=te[1]/Ze,xr=ye[1]/We,Fr=te[2]/Ze,Ar=ye[2]/We,Gt=Fr===Ar?0:(me-Fr)/(Ar-Fr);return new e.MercatorCoordinate(e.number(lt,Ct,Gt)/this.worldSize,e.number(Wt,xr,Gt)/this.worldSize)},os.prototype.coordinatePoint=function(K){var me=[K.x*this.worldSize,K.y*this.worldSize,0,1];return e.transformMat4(me,me,this.pixelMatrix),new e.Point(me[0]/me[3],me[1]/me[3])},os.prototype.getBounds=function(){return new e.LngLatBounds().extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},os.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},os.prototype.setMaxBounds=function(K){K?(this.lngRange=[K.getWest(),K.getEast()],this.latRange=[K.getSouth(),K.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},os.prototype.calculatePosMatrix=function(K,me){me===void 0&&(me=!1);var te=K.key,ye=me?this._alignedPosMatrixCache:this._posMatrixCache;if(ye[te])return ye[te];var Ze=K.canonical,We=this.worldSize/this.zoomScale(Ze.z),lt=Ze.x+Math.pow(2,Ze.z)*K.wrap,Ct=e.identity(new Float64Array(16));return e.translate(Ct,Ct,[lt*We,Ze.y*We,0]),e.scale(Ct,Ct,[We/e.EXTENT,We/e.EXTENT,1]),e.multiply(Ct,me?this.alignedProjMatrix:this.projMatrix,Ct),ye[te]=new Float32Array(Ct),ye[te]},os.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},os.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var K=-90,me=90,te=-180,ye=180,Ze,We,lt,Ct,Wt=this.size,xr=this._unmodified;if(this.latRange){var Fr=this.latRange;K=e.mercatorYfromLat(Fr[1])*this.worldSize,me=e.mercatorYfromLat(Fr[0])*this.worldSize,Ze=me-Kme&&(Ct=me-zr)}if(this.lngRange){var Gr=Gt.x,Xr=Wt.x/2;Gr-Xrye&&(lt=ye-Xr)}(lt!==void 0||Ct!==void 0)&&(this.center=this.unproject(new e.Point(lt!==void 0?lt:Gt.x,Ct!==void 0?Ct:Gt.y))),this._unmodified=xr,this._constraining=!1}},os.prototype._calcMatrices=function(){if(this.height){var K=this._fov/2,me=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(K)*this.height;var te=Math.PI/2+this._pitch,ye=this._fov*(.5+me.y/this.height),Ze=Math.sin(ye)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-te-ye,.01,Math.PI-.01)),We=this.point,lt=We.x,Ct=We.y,Wt=Math.cos(Math.PI/2-this._pitch)*Ze+this.cameraToCenterDistance,xr=Wt*1.01,Fr=this.height/50,Ar=new Float64Array(16);e.perspective(Ar,this._fov,this.width/this.height,Fr,xr),Ar[8]=-me.x*2/this.width,Ar[9]=me.y*2/this.height,e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[0,0,-this.cameraToCenterDistance]),e.rotateX(Ar,Ar,this._pitch),e.rotateZ(Ar,Ar,this.angle),e.translate(Ar,Ar,[-lt,-Ct,0]),this.mercatorMatrix=e.scale([],Ar,[this.worldSize,this.worldSize,this.worldSize]),e.scale(Ar,Ar,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=Ar,this.invProjMatrix=e.invert([],this.projMatrix);var Gt=this.width%2/2,nr=this.height%2/2,mr=Math.cos(this.angle),zr=Math.sin(this.angle),Gr=lt-Math.round(lt)+mr*Gt+zr*nr,Xr=Ct-Math.round(Ct)+mr*nr+zr*Gt,fn=new Float64Array(Ar);if(e.translate(fn,fn,[Gr>.5?Gr-1:Gr,Xr>.5?Xr-1:Xr,0]),this.alignedProjMatrix=fn,Ar=e.create(),e.scale(Ar,Ar,[this.width/2,-this.height/2,1]),e.translate(Ar,Ar,[1,-1,0]),this.labelPlaneMatrix=Ar,Ar=e.create(),e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[-1,-1,0]),e.scale(Ar,Ar,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ar,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),Ar=e.invert(new Float64Array(16),this.pixelMatrix),!Ar)throw new Error("failed to invert matrix");this.pixelMatrixInverse=Ar,this._posMatrixCache={},this._alignedPosMatrixCache={}}},os.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var K=this.pointCoordinate(new e.Point(0,0)),me=[K.x*this.worldSize,K.y*this.worldSize,0,1],te=e.transformMat4(me,me,this.pixelMatrix);return te[3]/this.cameraToCenterDistance},os.prototype.getCameraPoint=function(){var K=this._pitch,me=Math.tan(K)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,me))},os.prototype.getCameraQueryGeometry=function(K){var me=this.getCameraPoint();if(K.length===1)return[K[0],me];for(var te=me.x,ye=me.y,Ze=me.x,We=me.y,lt=0,Ct=K;lt=3&&!K.some(function(te){return isNaN(te)})){var me=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(K[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+K[2],+K[1]],zoom:+K[0],bearing:me,pitch:+(K[4]||0)}),!0}return!1},eu.prototype._updateHashUnthrottled=function(){var K=e.window.location.href.replace(/(#.+)?$/,this.getHashString());try{e.window.history.replaceState(e.window.history.state,null,K)}catch{}};var Xu={linearity:.3,easing:e.bezier(0,0,.3,1)},mu=e.extend({deceleration:2500,maxSpeed:1400},Xu),El=e.extend({deceleration:20,maxSpeed:1400},Xu),fu=e.extend({deceleration:1e3,maxSpeed:360},Xu),Tc=e.extend({deceleration:1e3,maxSpeed:90},Xu),Zl=function(K){this._map=K,this.clear()};Zl.prototype.clear=function(){this._inertiaBuffer=[]},Zl.prototype.record=function(K){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:K})},Zl.prototype._drainInertiaBuffer=function(){for(var K=this._inertiaBuffer,me=e.browser.now(),te=160;K.length>0&&me-K[0].time>te;)K.shift()},Zl.prototype._onMoveEnd=function(K){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var me={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},te=0,ye=this._inertiaBuffer;te=this._clickTolerance||this._map.fire(new Re(K.type,this._map,K))},mt.prototype.dblclick=function(K){return this._firePreventable(new Re(K.type,this._map,K))},mt.prototype.mouseover=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.mouseout=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.touchstart=function(K){return this._firePreventable(new Qe(K.type,this._map,K))},mt.prototype.touchmove=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchend=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchcancel=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype._firePreventable=function(K){if(this._map.fire(K),K.defaultPrevented)return{}},mt.prototype.isEnabled=function(){return!0},mt.prototype.isActive=function(){return!1},mt.prototype.enable=function(){},mt.prototype.disable=function(){};var Tt=function(K){this._map=K};Tt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Tt.prototype.mousemove=function(K){this._map.fire(new Re(K.type,this._map,K))},Tt.prototype.mousedown=function(){this._delayContextMenu=!0},Tt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Re("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Tt.prototype.contextmenu=function(K){this._delayContextMenu?this._contextMenuEvent=K:this._map.fire(new Re(K.type,this._map,K)),this._map.listens("contextmenu")&&K.preventDefault()},Tt.prototype.isEnabled=function(){return!0},Tt.prototype.isActive=function(){return!1},Tt.prototype.enable=function(){},Tt.prototype.disable=function(){};var Qt=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._container=K.getContainer(),this._clickTolerance=me.clickTolerance||1};Qt.prototype.isEnabled=function(){return!!this._enabled},Qt.prototype.isActive=function(){return!!this._active},Qt.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Qt.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Qt.prototype.mousedown=function(K,me){this.isEnabled()&&K.shiftKey&&K.button===0&&(r.disableDrag(),this._startPos=this._lastPos=me,this._active=!0)},Qt.prototype.mousemoveWindow=function(K,me){if(this._active){var te=me;if(!(this._lastPos.equals(te)||!this._box&&te.dist(this._startPos)this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=K.timeStamp),te.length===this.numTouches&&(this.centroid=lr(me),this.touches=Dt(te,me)))},yn.prototype.touchmove=function(K,me,te){if(!(this.aborted||!this.centroid)){var ye=Dt(te,me);for(var Ze in this.touches){var We=this.touches[Ze],lt=ye[Ze];(!lt||lt.dist(We)>Tn)&&(this.aborted=!0)}}},yn.prototype.touchend=function(K,me,te){if((!this.centroid||K.timeStamp-this.startTime>jr)&&(this.aborted=!0),te.length===0){var ye=!this.aborted&&this.centroid;if(this.reset(),ye)return ye}};var ti=function(K){this.singleTap=new yn(K),this.numTaps=K.numTaps,this.reset()};ti.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ti.prototype.touchstart=function(K,me,te){this.singleTap.touchstart(K,me,te)},ti.prototype.touchmove=function(K,me,te){this.singleTap.touchmove(K,me,te)},ti.prototype.touchend=function(K,me,te){var ye=this.singleTap.touchend(K,me,te);if(ye){var Ze=K.timeStamp-this.lastTime0&&(this._active=!0);var ye=Dt(te,me),Ze=new e.Point(0,0),We=new e.Point(0,0),lt=0;for(var Ct in ye){var Wt=ye[Ct],xr=this._touches[Ct];xr&&(Ze._add(Wt),We._add(Wt.sub(xr)),lt++,ye[Ct]=Wt)}if(this._touches=ye,!(ltMath.abs(ve.x)}var ua=100,wo=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.reset=function(){ve.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},K.prototype._start=function(te){this._lastPoints=te,ml(te[0].sub(te[1]))&&(this._valid=!1)},K.prototype._move=function(te,ye,Ze){var We=te[0].sub(this._lastPoints[0]),lt=te[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(We,lt,Ze.timeStamp),!!this._valid){this._lastPoints=te,this._active=!0;var Ct=(We.y+lt.y)/2,Wt=-.5;return{pitchDelta:Ct*Wt}}},K.prototype.gestureBeginsVertically=function(te,ye,Ze){if(this._valid!==void 0)return this._valid;var We=2,lt=te.mag()>=We,Ct=ye.mag()>=We;if(!(!lt&&!Ct)){if(!lt||!Ct)return this._firstMove===void 0&&(this._firstMove=Ze),Ze-this._firstMove0==ye.y>0;return ml(te)&&ml(ye)&&Wt}},K}(La),ys={panStep:100,bearingStep:15,pitchStep:10},Ms=function(){var K=ys;this._panStep=K.panStep,this._bearingStep=K.bearingStep,this._pitchStep=K.pitchStep,this._rotationDisabled=!1};Ms.prototype.reset=function(){this._active=!1},Ms.prototype.keydown=function(K){var me=this;if(!(K.altKey||K.ctrlKey||K.metaKey)){var te=0,ye=0,Ze=0,We=0,lt=0;switch(K.keyCode){case 61:case 107:case 171:case 187:te=1;break;case 189:case 109:case 173:te=-1;break;case 37:K.shiftKey?ye=-1:(K.preventDefault(),We=-1);break;case 39:K.shiftKey?ye=1:(K.preventDefault(),We=1);break;case 38:K.shiftKey?Ze=1:(K.preventDefault(),lt=-1);break;case 40:K.shiftKey?Ze=-1:(K.preventDefault(),lt=1);break;default:return}return this._rotationDisabled&&(ye=0,Ze=0),{cameraAnimation:function(Ct){var Wt=Ct.getZoom();Ct.easeTo({duration:300,easeId:"keyboardHandler",easing:xl,zoom:te?Math.round(Wt)+te*(K.shiftKey?2:1):Wt,bearing:Ct.getBearing()+ye*me._bearingStep,pitch:Ct.getPitch()+Ze*me._pitchStep,offset:[-We*me._panStep,-lt*me._panStep],center:Ct.getCenter()},{originalEvent:K})}}}},Ms.prototype.enable=function(){this._enabled=!0},Ms.prototype.disable=function(){this._enabled=!1,this.reset()},Ms.prototype.isEnabled=function(){return this._enabled},Ms.prototype.isActive=function(){return this._active},Ms.prototype.disableRotation=function(){this._rotationDisabled=!0},Ms.prototype.enableRotation=function(){this._rotationDisabled=!1};function xl(ve){return ve*(2-ve)}var Ul=4.000244140625,gu=1/100,Fl=1/450,vc=2,tr=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._handler=me,this._delta=0,this._defaultZoomRate=gu,this._wheelZoomRate=Fl,e.bindAll(["_onTimeout"],this)};tr.prototype.setZoomRate=function(K){this._defaultZoomRate=K},tr.prototype.setWheelZoomRate=function(K){this._wheelZoomRate=K},tr.prototype.isEnabled=function(){return!!this._enabled},tr.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},tr.prototype.isZooming=function(){return!!this._zooming},tr.prototype.enable=function(K){this.isEnabled()||(this._enabled=!0,this._aroundCenter=K&&K.around==="center")},tr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},tr.prototype.wheel=function(K){if(this.isEnabled()){var me=K.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?K.deltaY*40:K.deltaY,te=e.browser.now(),ye=te-(this._lastWheelEventTime||0);this._lastWheelEventTime=te,me!==0&&me%Ul===0?this._type="wheel":me!==0&&Math.abs(me)<4?this._type="trackpad":ye>400?(this._type=null,this._lastValue=me,this._timeout=setTimeout(this._onTimeout,40,K)):this._type||(this._type=Math.abs(ye*me)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,me+=this._lastValue)),K.shiftKey&&me&&(me=me/4),this._type&&(this._lastWheelEvent=K,this._delta-=me,this._active||this._start(K)),K.preventDefault()}},tr.prototype._onTimeout=function(K){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(K)},tr.prototype._start=function(K){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var me=r.mousePos(this._el,K);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(me)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},tr.prototype.renderFrame=function(){var K=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var me=this._map.transform;if(this._delta!==0){var te=this._type==="wheel"&&Math.abs(this._delta)>Ul?this._wheelZoomRate:this._defaultZoomRate,ye=vc/(1+Math.exp(-Math.abs(this._delta*te)));this._delta<0&&ye!==0&&(ye=1/ye);var Ze=typeof this._targetZoom=="number"?me.zoomScale(this._targetZoom):me.scale;this._targetZoom=Math.min(me.maxZoom,Math.max(me.minZoom,me.scaleZoom(Ze*ye))),this._type==="wheel"&&(this._startZoom=me.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var We=typeof this._targetZoom=="number"?this._targetZoom:me.zoom,lt=this._startZoom,Ct=this._easing,Wt=!1,xr;if(this._type==="wheel"&<&&Ct){var Fr=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),Ar=Ct(Fr);xr=e.number(lt,We,Ar),Fr<1?this._frameId||(this._frameId=!0):Wt=!0}else xr=We,Wt=!0;return this._active=!0,Wt&&(this._active=!1,this._finishTimeout=setTimeout(function(){K._zooming=!1,K._handler._triggerRenderFrame(),delete K._targetZoom,delete K._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Wt,zoomDelta:xr-me.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},tr.prototype._smoothOutEasing=function(K){var me=e.ease;if(this._prevEase){var te=this._prevEase,ye=(e.browser.now()-te.start)/te.duration,Ze=te.easing(ye+.01)-te.easing(ye),We=.27/Math.sqrt(Ze*Ze+1e-4)*.01,lt=Math.sqrt(.27*.27-We*We);me=e.bezier(We,lt,.25,1)}return this._prevEase={start:e.browser.now(),duration:K,easing:me},me},tr.prototype.reset=function(){this._active=!1};var cn=function(K,me){this._clickZoom=K,this._tapZoom=me};cn.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cn.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cn.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cn.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var Ln=function(){this.reset()};Ln.prototype.reset=function(){this._active=!1},Ln.prototype.dblclick=function(K,me){return K.preventDefault(),{cameraAnimation:function(te){te.easeTo({duration:300,zoom:te.getZoom()+(K.shiftKey?-1:1),around:te.unproject(me)},{originalEvent:K})}}},Ln.prototype.enable=function(){this._enabled=!0},Ln.prototype.disable=function(){this._enabled=!1,this.reset()},Ln.prototype.isEnabled=function(){return this._enabled},Ln.prototype.isActive=function(){return this._active};var xi=function(){this._tap=new ti({numTouches:1,numTaps:1}),this.reset()};xi.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},xi.prototype.touchstart=function(K,me,te){this._swipePoint||(this._tapTime&&K.timeStamp-this._tapTime>Br&&this.reset(),this._tapTime?te.length>0&&(this._swipePoint=me[0],this._swipeTouch=te[0].identifier):this._tap.touchstart(K,me,te))},xi.prototype.touchmove=function(K,me,te){if(!this._tapTime)this._tap.touchmove(K,me,te);else if(this._swipePoint){if(te[0].identifier!==this._swipeTouch)return;var ye=me[0],Ze=ye.y-this._swipePoint.y;return this._swipePoint=ye,K.preventDefault(),this._active=!0,{zoomDelta:Ze/128}}},xi.prototype.touchend=function(K,me,te){if(this._tapTime)this._swipePoint&&te.length===0&&this.reset();else{var ye=this._tap.touchend(K,me,te);ye&&(this._tapTime=K.timeStamp)}},xi.prototype.touchcancel=function(){this.reset()},xi.prototype.enable=function(){this._enabled=!0},xi.prototype.disable=function(){this._enabled=!1,this.reset()},xi.prototype.isEnabled=function(){return this._enabled},xi.prototype.isActive=function(){return this._active};var Ni=function(K,me,te){this._el=K,this._mousePan=me,this._touchPan=te};Ni.prototype.enable=function(K){this._inertiaOptions=K||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ni.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ni.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ni.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Fi=function(K,me,te){this._pitchWithRotate=K.pitchWithRotate,this._mouseRotate=me,this._mousePitch=te};Fi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Fi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Fi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Fi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var Oi=function(K,me,te,ye){this._el=K,this._touchZoom=me,this._touchRotate=te,this._tapDragZoom=ye,this._rotationDisabled=!1,this._enabled=!0};Oi.prototype.enable=function(K){this._touchZoom.enable(K),this._rotationDisabled||this._touchRotate.enable(K),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},Oi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},Oi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},Oi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},Oi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},Oi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var na=function(ve){return ve.zoom||ve.drag||ve.pitch||ve.rotate},Ca=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K}(e.Event);function ka(ve){return ve.panDelta&&ve.panDelta.mag()||ve.zoomDelta||ve.bearingDelta||ve.pitchDelta}var ha=function(K,me){this._map=K,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Zl(K),this._bearingSnap=me.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(me),e.bindAll(["handleEvent","handleWindowEvent"],this);var te=this._el;this._listeners=[[te,"touchstart",{passive:!0}],[te,"touchmove",{passive:!1}],[te,"touchend",void 0],[te,"touchcancel",void 0],[te,"mousedown",void 0],[te,"mousemove",void 0],[te,"mouseup",void 0],[e.window.document,"mousemove",{capture:!0}],[e.window.document,"mouseup",void 0],[te,"mouseover",void 0],[te,"mouseout",void 0],[te,"dblclick",void 0],[te,"click",void 0],[te,"keydown",{capture:!1}],[te,"keyup",void 0],[te,"wheel",{passive:!1}],[te,"contextmenu",void 0],[e.window,"blur",void 0]];for(var ye=0,Ze=this._listeners;yelt?Math.min(2,Zr):Math.max(.5,Zr),Pi=Math.pow(Ji,1-Xn),ea=We.unproject(fn.add(sn.mult(Xn*Pi)).mult(vi));We.setLocationAtPoint(We.renderWorldCopies?ea.wrap():ea,zr)}Ze._fireMoveEvents(ye)},function(Xn){Ze._afterEase(ye,Xn)},te),this},K.prototype._prepareEase=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._moving=!0,!ye&&!Ze.moving&&this.fire(new e.Event("movestart",te)),this._zooming&&!Ze.zooming&&this.fire(new e.Event("zoomstart",te)),this._rotating&&!Ze.rotating&&this.fire(new e.Event("rotatestart",te)),this._pitching&&!Ze.pitching&&this.fire(new e.Event("pitchstart",te))},K.prototype._fireMoveEvents=function(te){this.fire(new e.Event("move",te)),this._zooming&&this.fire(new e.Event("zoom",te)),this._rotating&&this.fire(new e.Event("rotate",te)),this._pitching&&this.fire(new e.Event("pitch",te))},K.prototype._afterEase=function(te,ye){if(!(this._easeId&&ye&&this._easeId===ye)){delete this._easeId;var Ze=this._zooming,We=this._rotating,lt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ze&&this.fire(new e.Event("zoomend",te)),We&&this.fire(new e.Event("rotateend",te)),lt&&this.fire(new e.Event("pitchend",te)),this.fire(new e.Event("moveend",te))}},K.prototype.flyTo=function(te,ye){var Ze=this;if(!te.essential&&e.browser.prefersReducedMotion){var We=e.pick(te,["center","zoom","bearing","pitch","around"]);return this.jumpTo(We,ye)}this.stop(),te=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},te);var lt=this.transform,Ct=this.getZoom(),Wt=this.getBearing(),xr=this.getPitch(),Fr=this.getPadding(),Ar="zoom"in te?e.clamp(+te.zoom,lt.minZoom,lt.maxZoom):Ct,Gt="bearing"in te?this._normalizeBearing(te.bearing,Wt):Wt,nr="pitch"in te?+te.pitch:xr,mr="padding"in te?te.padding:lt.padding,zr=lt.zoomScale(Ar-Ct),Gr=e.Point.convert(te.offset),Xr=lt.centerPoint.add(Gr),fn=lt.pointLocation(Xr),sn=e.LngLat.convert(te.center||fn);this._normalizeCenter(sn);var Zr=lt.project(fn),hn=lt.project(sn).sub(Zr),qr=te.curve,kn=Math.max(lt.width,lt.height),Xn=kn/zr,vi=hn.mag();if("minZoom"in te){var Ji=e.clamp(Math.min(te.minZoom,Ct,Ar),lt.minZoom,lt.maxZoom),Pi=kn/lt.zoomScale(Ji-Ct);qr=Math.sqrt(Pi/vi*2)}var ea=qr*qr;function ja(rs){var js=(Xn*Xn-kn*kn+(rs?-1:1)*ea*ea*vi*vi)/(2*(rs?Xn:kn)*ea*vi);return Math.log(Math.sqrt(js*js+1)-js)}function Ea(rs){return(Math.exp(rs)-Math.exp(-rs))/2}function $i(rs){return(Math.exp(rs)+Math.exp(-rs))/2}function da(rs){return Ea(rs)/$i(rs)}var fa=ja(0),za=function(rs){return $i(fa)/$i(fa+qr*rs)},Qa=function(rs){return kn*(($i(fa)*da(fa+qr*rs)-Ea(fa))/ea)/vi},Cs=(ja(1)-fa)/qr;if(Math.abs(vi)<1e-6||!isFinite(Cs)){if(Math.abs(kn-Xn)<1e-6)return this.easeTo(te,ye);var ws=Xnte.maxDuration&&(te.duration=0),this._zooming=!0,this._rotating=Wt!==Gt,this._pitching=nr!==xr,this._padding=!lt.isPaddingEqual(mr),this._prepareEase(ye,!1),this._ease(function(rs){var js=rs*Cs,Cl=1/za(js);lt.zoom=rs===1?Ar:Ct+lt.scaleZoom(Cl),Ze._rotating&&(lt.bearing=e.number(Wt,Gt,rs)),Ze._pitching&&(lt.pitch=e.number(xr,nr,rs)),Ze._padding&&(lt.interpolatePadding(Fr,mr,rs),Xr=lt.centerPoint.add(Gr));var Ou=rs===1?sn:lt.unproject(Zr.add(hn.mult(Qa(js))).mult(Cl));lt.setLocationAtPoint(lt.renderWorldCopies?Ou.wrap():Ou,Xr),Ze._fireMoveEvents(ye)},function(){return Ze._afterEase(ye)},te),this},K.prototype.isEasing=function(){return!!this._easeFrameId},K.prototype.stop=function(){return this._stop()},K.prototype._stop=function(te,ye){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ze=this._onEaseEnd;delete this._onEaseEnd,Ze.call(this,ye)}if(!te){var We=this.handlers;We&&We.stop(!1)}return this},K.prototype._ease=function(te,ye,Ze){Ze.animate===!1||Ze.duration===0?(te(1),ye()):(this._easeStart=e.browser.now(),this._easeOptions=Ze,this._onEaseFrame=te,this._onEaseEnd=ye,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},K.prototype._renderFrameCallback=function(){var te=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(te)),te<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},K.prototype._normalizeBearing=function(te,ye){te=e.wrap(te,-180,180);var Ze=Math.abs(te-ye);return Math.abs(te-360-ye)180?-360:Ze<-180?360:0}},K}(e.Evented),Aa=function(K){K===void 0&&(K={}),this.options=K,e.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};Aa.prototype.getDefaultPosition=function(){return"bottom-right"},Aa.prototype.onAdd=function(K){var me=this.options&&this.options.compact;return this._map=K,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=r.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),me&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),me===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Aa.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Aa.prototype._setElementTitle=function(K,me){var te=this._map._getUIString("AttributionControl."+me);K.title=te,K.setAttribute("aria-label",te)},Aa.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},Aa.prototype._updateEditLink=function(){var K=this._editLink;K||(K=this._editLink=this._container.querySelector(".mapbox-improve-map"));var me=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(K){var te=me.reduce(function(ye,Ze,We){return Ze.value&&(ye+=Ze.key+"="+Ze.value+(We=0)return!1;return!0});var lt=K.join(" | ");lt!==this._attribHTML&&(this._attribHTML=lt,K.length?(this._innerContainer.innerHTML=lt,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},Aa.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var Ma=function(){e.bindAll(["_updateLogo"],this),e.bindAll(["_updateCompact"],this)};Ma.prototype.onAdd=function(K){this._map=K,this._container=r.create("div","mapboxgl-ctrl");var me=r.create("a","mapboxgl-ctrl-logo");return me.target="_blank",me.rel="noopener nofollow",me.href="https://www.mapbox.com/",me.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),me.setAttribute("rel","noopener nofollow"),this._container.appendChild(me),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ma.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Ma.prototype.getDefaultPosition=function(){return"bottom-left"},Ma.prototype._updateLogo=function(K){(!K||K.sourceDataType==="metadata")&&(this._container.style.display=this._logoRequired()?"block":"none")},Ma.prototype._logoRequired=function(){if(this._map.style){var K=this._map.style.sourceCaches;for(var me in K){var te=K[me].getSource();if(te.mapbox_logo)return!0}return!1}},Ma.prototype._updateCompact=function(){var K=this._container.children;if(K.length){var me=K[0];this._map.getCanvasContainer().offsetWidth<250?me.classList.add("mapboxgl-compact"):me.classList.remove("mapboxgl-compact")}};var ia=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};ia.prototype.add=function(K){var me=++this._id,te=this._queue;return te.push({callback:K,id:me,cancelled:!1}),me},ia.prototype.remove=function(K){for(var me=this._currentlyRunning,te=me?this._queue.concat(me):this._queue,ye=0,Ze=te;yete.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(te.minPitch!=null&&te.maxPitch!=null&&te.minPitch>te.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(te.minPitch!=null&&te.minPitchOo)throw new Error("maxPitch must be less than or equal to "+Oo);var Ze=new os(te.minZoom,te.maxZoom,te.minPitch,te.maxPitch,te.renderWorldCopies);if(ve.call(this,Ze,te),this._interactive=te.interactive,this._maxTileCacheSize=te.maxTileCacheSize,this._failIfMajorPerformanceCaveat=te.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=te.preserveDrawingBuffer,this._antialias=te.antialias,this._trackResize=te.trackResize,this._bearingSnap=te.bearingSnap,this._refreshExpiredTiles=te.refreshExpiredTiles,this._fadeDuration=te.fadeDuration,this._crossSourceCollisions=te.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=te.collectResourceTiming,this._renderTaskQueue=new ia,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},wi,te.locale),this._clickTolerance=te.clickTolerance,this._requestManager=new e.RequestManager(te.transformRequest,te.accessToken),typeof te.container=="string"){if(this._container=e.window.document.getElementById(te.container),!this._container)throw new Error("Container '"+te.container+"' not found.")}else if(te.container instanceof ba)this._container=te.container;else throw new Error("Invalid type: 'container' must be a String or HTMLElement.");if(te.maxBounds&&this.setMaxBounds(te.maxBounds),e.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return ye._update(!1)}),this.on("moveend",function(){return ye._update(!1)}),this.on("zoom",function(){return ye._update(!0)}),typeof e.window<"u"&&(e.window.addEventListener("online",this._onWindowOnline,!1),e.window.addEventListener("resize",this._onWindowResize,!1),e.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new ha(this,te);var We=typeof te.hash=="string"&&te.hash||void 0;this._hash=te.hash&&new eu(We).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:te.center,zoom:te.zoom,bearing:te.bearing,pitch:te.pitch}),te.bounds&&(this.resize(),this.fitBounds(te.bounds,e.extend({},te.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=te.localIdeographFontFamily,te.style&&this.setStyle(te.style,{localIdeographFontFamily:te.localIdeographFontFamily}),te.attributionControl&&this.addControl(new Aa({customAttribution:te.customAttribution})),this.addControl(new Ma,te.logoPosition),this.on("style.load",function(){ye.transform.unmodified&&ye.jumpTo(ye.style.stylesheet)}),this.on("data",function(lt){ye._update(lt.dataType==="style"),ye.fire(new e.Event(lt.dataType+"data",lt))}),this.on("dataloading",function(lt){ye.fire(new e.Event(lt.dataType+"dataloading",lt))})}ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K;var me={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return K.prototype._getMapId=function(){return this._mapId},K.prototype.addControl=function(ye,Ze){if(Ze===void 0&&(ye.getDefaultPosition?Ze=ye.getDefaultPosition():Ze="top-right"),!ye||!ye.onAdd)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var We=ye.onAdd(this);this._controls.push(ye);var lt=this._controlPositions[Ze];return Ze.indexOf("bottom")!==-1?lt.insertBefore(We,lt.firstChild):lt.appendChild(We),this},K.prototype.removeControl=function(ye){if(!ye||!ye.onRemove)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Ze=this._controls.indexOf(ye);return Ze>-1&&this._controls.splice(Ze,1),ye.onRemove(this),this},K.prototype.hasControl=function(ye){return this._controls.indexOf(ye)>-1},K.prototype.resize=function(ye){var Ze=this._containerDimensions(),We=Ze[0],lt=Ze[1];this._resizeCanvas(We,lt),this.transform.resize(We,lt),this.painter.resize(We,lt);var Ct=!this._moving;return Ct&&(this.stop(),this.fire(new e.Event("movestart",ye)).fire(new e.Event("move",ye))),this.fire(new e.Event("resize",ye)),Ct&&this.fire(new e.Event("moveend",ye)),this},K.prototype.getBounds=function(){return this.transform.getBounds()},K.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},K.prototype.setMaxBounds=function(ye){return this.transform.setMaxBounds(e.LngLatBounds.convert(ye)),this._update()},K.prototype.setMinZoom=function(ye){if(ye=ye??ca,ye>=ca&&ye<=this.transform.maxZoom)return this.transform.minZoom=ye,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=ye,this._update(),this.getZoom()>ye&&this.setZoom(ye),this;throw new Error("maxZoom must be greater than the current minZoom")},K.prototype.getMaxZoom=function(){return this.transform.maxZoom},K.prototype.setMinPitch=function(ye){if(ye=ye??Ba,ye=Ba&&ye<=this.transform.maxPitch)return this.transform.minPitch=ye,this._update(),this.getPitch()Oo)throw new Error("maxPitch must be less than or equal to "+Oo);if(ye>=this.transform.minPitch)return this.transform.maxPitch=ye,this._update(),this.getPitch()>ye&&this.setPitch(ye),this;throw new Error("maxPitch must be greater than the current minPitch")},K.prototype.getMaxPitch=function(){return this.transform.maxPitch},K.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},K.prototype.setRenderWorldCopies=function(ye){return this.transform.renderWorldCopies=ye,this._update()},K.prototype.project=function(ye){return this.transform.locationPoint(e.LngLat.convert(ye))},K.prototype.unproject=function(ye){return this.transform.pointLocation(e.Point.convert(ye))},K.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},K.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},K.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},K.prototype._createDelegatedListener=function(ye,Ze,We){var lt=this,Ct;if(ye==="mouseenter"||ye==="mouseover"){var Wt=!1,xr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Wt||(Wt=!0,We.call(lt,new Re(ye,lt,zr.originalEvent,{features:Gr}))):Wt=!1},Fr=function(){Wt=!1};return{layer:Ze,listener:We,delegates:{mousemove:xr,mouseout:Fr}}}else if(ye==="mouseleave"||ye==="mouseout"){var Ar=!1,Gt=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Ar=!0:Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))},nr=function(zr){Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))};return{layer:Ze,listener:We,delegates:{mousemove:Gt,mouseout:nr}}}else{var mr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length&&(zr.features=Gr,We.call(lt,zr),delete zr.features)};return{layer:Ze,listener:We,delegates:(Ct={},Ct[ye]=mr,Ct)}}},K.prototype.on=function(ye,Ze,We){if(We===void 0)return ve.prototype.on.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[ye]=this._delegatedListeners[ye]||[],this._delegatedListeners[ye].push(lt);for(var Ct in lt.delegates)this.on(Ct,lt.delegates[Ct]);return this},K.prototype.once=function(ye,Ze,We){if(We===void 0)return ve.prototype.once.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);for(var Ct in lt.delegates)this.once(Ct,lt.delegates[Ct]);return this},K.prototype.off=function(ye,Ze,We){var lt=this;if(We===void 0)return ve.prototype.off.call(this,ye,Ze);var Ct=function(Wt){for(var xr=Wt[ye],Fr=0;Fr180;){var We=me.locationPoint(ve);if(We.x>=0&&We.y>=0&&We.x<=me.width&&We.y<=me.height)break;ve.lng>me.center.lng?ve.lng-=360:ve.lng+=360}return ve}var Zo={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function ps(ve,K,me){var te=ve.classList;for(var ye in Zo)te.remove("mapboxgl-"+me+"-anchor-"+ye);te.add("mapboxgl-"+me+"-anchor-"+K)}var Na=function(ve){function K(me,te){if(ve.call(this),(me instanceof e.window.HTMLElement||te)&&(me=e.extend({element:me},te)),e.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=me&&me.anchor||"center",this._color=me&&me.color||"#3FB1CE",this._scale=me&&me.scale||1,this._draggable=me&&me.draggable||!1,this._clickTolerance=me&&me.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=me&&me.rotation||0,this._rotationAlignment=me&&me.rotationAlignment||"auto",this._pitchAlignment=me&&me.pitchAlignment&&me.pitchAlignment!=="auto"?me.pitchAlignment:this._rotationAlignment,!me||!me.element){this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var ye=r.createNS("http://www.w3.org/2000/svg","svg"),Ze=41,We=27;ye.setAttributeNS(null,"display","block"),ye.setAttributeNS(null,"height",Ze+"px"),ye.setAttributeNS(null,"width",We+"px"),ye.setAttributeNS(null,"viewBox","0 0 "+We+" "+Ze);var lt=r.createNS("http://www.w3.org/2000/svg","g");lt.setAttributeNS(null,"stroke","none"),lt.setAttributeNS(null,"stroke-width","1"),lt.setAttributeNS(null,"fill","none"),lt.setAttributeNS(null,"fill-rule","evenodd");var Ct=r.createNS("http://www.w3.org/2000/svg","g");Ct.setAttributeNS(null,"fill-rule","nonzero");var Wt=r.createNS("http://www.w3.org/2000/svg","g");Wt.setAttributeNS(null,"transform","translate(3.0, 29.0)"),Wt.setAttributeNS(null,"fill","#000000");for(var xr=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}],Fr=0,Ar=xr;Fr=ye}this._isDragging&&(this._pos=te.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new e.Event("dragstart"))),this.fire(new e.Event("drag")))},K.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new e.Event("dragend")),this._state="inactive"},K.prototype._addDragHandler=function(te){this._element.contains(te.originalEvent.target)&&(te.preventDefault(),this._positionDelta=te.point.sub(this._pos).add(this._offset),this._pointerdownPos=te.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},K.prototype.setDraggable=function(te){return this._draggable=!!te,this._map&&(te?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},K.prototype.isDraggable=function(){return this._draggable},K.prototype.setRotation=function(te){return this._rotation=te||0,this._update(),this},K.prototype.getRotation=function(){return this._rotation},K.prototype.setRotationAlignment=function(te){return this._rotationAlignment=te||"auto",this._update(),this},K.prototype.getRotationAlignment=function(){return this._rotationAlignment},K.prototype.setPitchAlignment=function(te){return this._pitchAlignment=te&&te!=="auto"?te:this._rotationAlignment,this._update(),this},K.prototype.getPitchAlignment=function(){return this._pitchAlignment},K}(e.Evented),Mo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},ss;function _s(ve){ss!==void 0?ve(ss):e.window.navigator.permissions!==void 0?e.window.navigator.permissions.query({name:"geolocation"}).then(function(K){ss=K.state!=="denied",ve(ss)}):(ss=!!e.window.navigator.geolocation,ve(ss))}var Fs=0,iu=!1,Oc=function(ve){function K(me){ve.call(this),this.options=e.extend({},Mo,me),e.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.onAdd=function(te){return this._map=te,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),_s(this._setupUI),this._container},K.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Fs=0,iu=!1},K.prototype._isOutOfMapMaxBounds=function(te){var ye=this._map.getMaxBounds(),Ze=te.coords;return ye&&(Ze.longitudeye.getEast()||Ze.latitudeye.getNorth())},K.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break}},K.prototype._onSuccess=function(te){if(this._map){if(this._isOutOfMapMaxBounds(te)){this._setErrorState(),this.fire(new e.Event("outofmaxbounds",te)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=te,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(te),(!this.options.trackUserLocation||this._watchState==="ACTIVE_LOCK")&&this._updateCamera(te),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("geolocate",te)),this._finish()}},K.prototype._updateCamera=function(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude),Ze=te.coords.accuracy,We=this._map.getBearing(),lt=e.extend({bearing:We},this.options.fitBoundsOptions);this._map.fitBounds(ye.toBounds(Ze),lt,{geolocateSource:!0})},K.prototype._updateMarker=function(te){if(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude);this._accuracyCircleMarker.setLngLat(ye).addTo(this._map),this._userLocationDotMarker.setLngLat(ye).addTo(this._map),this._accuracy=te.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},K.prototype._updateCircleRadius=function(){var te=this._map._container.clientHeight/2,ye=this._map.unproject([0,te]),Ze=this._map.unproject([1,te]),We=ye.distanceTo(Ze),lt=Math.ceil(2*this._accuracy/We);this._circleElement.style.width=lt+"px",this._circleElement.style.height=lt+"px"},K.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},K.prototype._onError=function(te){if(this._map){if(this.options.trackUserLocation)if(te.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var ye=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=ye,this._geolocateButton.setAttribute("aria-label",ye),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(te.code===3&&iu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("error",te)),this._finish()}},K.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},K.prototype._setupUI=function(te){var ye=this;if(this._container.addEventListener("contextmenu",function(lt){return lt.preventDefault()}),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",te===!1){e.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Ze=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ze,this._geolocateButton.setAttribute("aria-label",Ze)}else{var We=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=We,this._geolocateButton.setAttribute("aria-label",We)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Na(this._dotElement),this._circleElement=r.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Na({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(lt){var Ct=lt.originalEvent&<.originalEvent.type==="resize";!lt.geolocateSource&&ye._watchState==="ACTIVE_LOCK"&&!Ct&&(ye._watchState="BACKGROUND",ye._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),ye._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),ye.fire(new e.Event("trackuserlocationend")))})},K.prototype.trigger=function(){if(!this._setup)return e.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new e.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Fs--,iu=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new e.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event("trackuserlocationstart"));break}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error");break}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),Fs++;var te;Fs>1?(te={maximumAge:6e5,timeout:0},iu=!0):(te=this.options.positionOptions,iu=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,te)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},K.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},K}(e.Evented),rl={maxWidth:100,unit:"metric"},Bc=function(K){this.options=e.extend({},rl,K),e.bindAll(["_onMove","setUnit"],this)};Bc.prototype.getDefaultPosition=function(){return"bottom-left"},Bc.prototype._onMove=function(){ql(this._map,this._container,this.options)},Bc.prototype.onAdd=function(K){return this._map=K,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",K.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Bc.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Bc.prototype.setUnit=function(K){this.options.unit=K,ql(this._map,this._container,this.options)};function ql(ve,K,me){var te=me&&me.maxWidth||100,ye=ve._container.clientHeight/2,Ze=ve.unproject([0,ye]),We=ve.unproject([te,ye]),lt=Ze.distanceTo(We);if(me&&me.unit==="imperial"){var Ct=3.2808*lt;if(Ct>5280){var Wt=Ct/5280;pc(K,te,Wt,ve._getUIString("ScaleControl.Miles"))}else pc(K,te,Ct,ve._getUIString("ScaleControl.Feet"))}else if(me&&me.unit==="nautical"){var xr=lt/1852;pc(K,te,xr,ve._getUIString("ScaleControl.NauticalMiles"))}else lt>=1e3?pc(K,te,lt/1e3,ve._getUIString("ScaleControl.Kilometers")):pc(K,te,lt,ve._getUIString("ScaleControl.Meters"))}function pc(ve,K,me,te){var ye=Jc(me),Ze=ye/me;ve.style.width=K*Ze+"px",ve.innerHTML=ye+" "+te}function mc(ve){var K=Math.pow(10,Math.ceil(-Math.log(ve)/Math.LN10));return Math.round(ve*K)/K}function Jc(ve){var K=Math.pow(10,(""+Math.floor(ve)).length-1),me=ve/K;return me=me>=10?10:me>=5?5:me>=3?3:me>=2?2:me>=1?1:mc(me),K*me}var tu=function(K){this._fullscreen=!1,K&&K.container&&(K.container instanceof e.window.HTMLElement?this._container=K.container:e.warnOnce("Full screen control 'container' must be a DOM element.")),e.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in e.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in e.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in e.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in e.window.document&&(this._fullscreenchange="MSFullscreenChange")};tu.prototype.onAdd=function(K){return this._map=K,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",e.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},tu.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},tu.prototype._setupUI=function(){var K=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",K).setAttribute("aria-hidden",!0),K.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._updateTitle=function(){var K=this._getTitle();this._fullscreenButton.setAttribute("aria-label",K),this._fullscreenButton.title=K},tu.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},tu.prototype._isFullscreen=function(){return this._fullscreen},tu.prototype._changeIcon=function(){var K=e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement;K===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},tu.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Ac={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},Nc=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),Hs=function(ve){function K(me){ve.call(this),this.options=e.extend(Object.create(Ac),me),e.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.addTo=function(te){return this._map&&this.remove(),this._map=te,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new e.Event("open")),this},K.prototype.isOpen=function(){return!!this._map},K.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new e.Event("close")),this},K.prototype.getLngLat=function(){return this._lngLat},K.prototype.setLngLat=function(te){return this._lngLat=e.LngLat.convert(te),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},K.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},K.prototype.getElement=function(){return this._container},K.prototype.setText=function(te){return this.setDOMContent(e.window.document.createTextNode(te))},K.prototype.setHTML=function(te){var ye=e.window.document.createDocumentFragment(),Ze=e.window.document.createElement("body"),We;for(Ze.innerHTML=te;We=Ze.firstChild,!!We;)ye.appendChild(We);return this.setDOMContent(ye)},K.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},K.prototype.setMaxWidth=function(te){return this.options.maxWidth=te,this._update(),this},K.prototype.setDOMContent=function(te){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=r.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(te),this._createCloseButton(),this._update(),this._focusFirstElement(),this},K.prototype.addClassName=function(te){this._container&&this._container.classList.add(te)},K.prototype.removeClassName=function(te){this._container&&this._container.classList.remove(te)},K.prototype.setOffset=function(te){return this.options.offset=te,this._update(),this},K.prototype.toggleClassName=function(te){if(this._container)return this._container.classList.toggle(te)},K.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},K.prototype._onMouseUp=function(te){this._update(te.point)},K.prototype._onMouseMove=function(te){this._update(te.point)},K.prototype._onDrag=function(te){this._update(te.point)},K.prototype._update=function(te){var ye=this,Ze=this._lngLat||this._trackPointer;if(!(!this._map||!Ze||!this._content)&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(Gt){return ye._container.classList.add(Gt)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ao(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!te))){var We=this._pos=this._trackPointer&&te?te:this._map.project(this._lngLat),lt=this.options.anchor,Ct=$c(this.options.offset);if(!lt){var Wt=this._container.offsetWidth,xr=this._container.offsetHeight,Fr;We.y+Ct.bottom.ythis._map.transform.height-xr?Fr=["bottom"]:Fr=[],We.xthis._map.transform.width-Wt/2&&Fr.push("right"),Fr.length===0?lt="bottom":lt=Fr.join("-")}var Ar=We.add(Ct[lt]).round();r.setTransform(this._container,Zo[lt]+" translate("+Ar.x+"px,"+Ar.y+"px)"),ps(this._container,lt,"popup")}},K.prototype._focusFirstElement=function(){if(!(!this.options.focusAfterOpen||!this._container)){var te=this._container.querySelector(Nc);te&&te.focus()}},K.prototype._onClose=function(){this.remove()},K}(e.Evented);function $c(ve){if(ve)if(typeof ve=="number"){var K=Math.round(Math.sqrt(.5*Math.pow(ve,2)));return{center:new e.Point(0,0),top:new e.Point(0,ve),"top-left":new e.Point(K,K),"top-right":new e.Point(-K,K),bottom:new e.Point(0,-ve),"bottom-left":new e.Point(K,-K),"bottom-right":new e.Point(-K,-K),left:new e.Point(ve,0),right:new e.Point(-ve,0)}}else if(ve instanceof e.Point||Array.isArray(ve)){var me=e.Point.convert(ve);return{center:me,top:me,"top-left":me,"top-right":me,bottom:me,"bottom-left":me,"bottom-right":me,left:me,right:me}}else return{center:e.Point.convert(ve.center||[0,0]),top:e.Point.convert(ve.top||[0,0]),"top-left":e.Point.convert(ve["top-left"]||[0,0]),"top-right":e.Point.convert(ve["top-right"]||[0,0]),bottom:e.Point.convert(ve.bottom||[0,0]),"bottom-left":e.Point.convert(ve["bottom-left"]||[0,0]),"bottom-right":e.Point.convert(ve["bottom-right"]||[0,0]),left:e.Point.convert(ve.left||[0,0]),right:e.Point.convert(ve.right||[0,0])};else return $c(new e.Point(0,0))}var Us={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:sa,NavigationControl:Fa,GeolocateControl:Oc,AttributionControl:Aa,ScaleControl:Bc,FullscreenControl:tu,Popup:Hs,Marker:Na,Style:nu,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:Pr,clearPrewarmedResources:Ir,get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(ve){e.config.ACCESS_TOKEN=ve},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(ve){e.config.API_URL=ve},get workerCount(){return Sn.workerCount},set workerCount(ve){Sn.workerCount=ve},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ve){e.config.MAX_PARALLEL_IMAGE_REQUESTS=ve},clearStorage:function(K){e.clearTileCache(K)},workerUrl:""};return Us}),A})}}),jD=ke({"src/plots/mapbox/layers.js"(Z,H){"use strict";var g=un(),x=Wl().sanitizeHTML,A=uM(),S=op();function e(i,a){this.subplot=i,this.uid=i.uid+"-"+a,this.index=a,this.idSource="source-"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType==="image"&&i.sourcetype==="image"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapboxLayerId=function(i){if(i==="traces")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case"circle":g.extendFlat(s,{"circle-radius":i.circle.radius,"circle-color":i.color,"circle-opacity":i.opacity});break;case"line":g.extendFlat(s,{"line-width":i.line.width,"line-color":i.color,"line-opacity":i.opacity,"line-dasharray":i.line.dash});break;case"fill":g.extendFlat(s,{"fill-color":i.color,"fill-outline-color":i.fill.outlinecolor,"fill-opacity":i.opacity});break;case"symbol":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),g.extendFlat(s,{"icon-color":i.color,"text-color":c.textfont.color,"text-opacity":i.opacity});break;case"raster":g.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a==="geojson"?h="data":a==="vector"?h=typeof s=="string"?"url":"tiles":a==="raster"?(h="tiles",c.tileSize=256):a==="image"&&(h="url",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),VD=ke({"src/plots/mapbox/mapbox.js"(Z,H){"use strict";var g=cM(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=op(),d=jD();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y=b[u.id];u.map&&y.accesstoken!==u.accessToken&&(u.map.remove(),u.map=null,u.styleObj=null,u.traceHash={},u.layerList=[]);var f;u.map?f=new Promise(function(P,L){u.updateMap(m,b,P,L)}):f=new Promise(function(P,L){u.createMap(m,b,P,L)}),v.push(f)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style,b);y.accessToken=f.accesstoken;var L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0}));F._canvas.style.left="0px",F._canvas.style.top="0px",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var B=[];B.push(new Promise(function(O){F.once("load",O)})),B=B.concat(A.fetchTraceGeoData(m)),Promise.all(B).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style,b);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once("styledata",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf("event")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off("click",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on("click",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+"px",u.height=v.h*(b.y[1]-b.y[0])+"px",u.left=v.l+b.x[0]*v.w+"px",u.top=v.t+(1-b.y[1])*v.h+"px",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yB/2){var O=P.split("|").join("
");z.text(O).attr("data-unformatted",O).call(o.convertToTspans,d),F=r.bBox(z.node())}z.attr("transform",x(-3,-F.height+8)),L.insert("rect",".static-attribution").attr({x:-F.width-6,y:-F.height-3,width:F.width+6,height:F.height+3,fill:"rgba(255, 255, 255, 0.75)"});var I=1;F.width+6>B&&(I=B/(F.width+6));var N=[_.l+_.w*E.x[1],_.t+_.h*(1-E.y[0])];L.attr("transform",x(N[0],N[1])+A(I))}};function h(d,T){var l=d._fullLayout,_=d._context;if(_.mapboxAccessToken==="")return"";for(var w=[],M=[],E=!1,m=!1,b=0;b1&&g.warn(a.multipleTokensErrorMsg),w[0]):(M.length&&g.log(["Listed mapbox access token(s)",M.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}function p(d){return typeof d=="string"&&(a.styleValuesMapbox.indexOf(d)!==-1||d.indexOf("mapbox://")===0||d.indexOf("stamen")===0)}Z.updateFx=function(d){for(var T=d._fullLayout,l=T._subplots[i],_=0;_=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup["trace-"+n.uid];return r.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),ZD=ke({"src/traces/choroplethmapbox/index.js"(Z,H){"use strict";var g=["*choroplethmapbox* trace is deprecated!","Please consider switching to the *choroplethmap* trace type and `map` subplots.","Learn more at: https://plotly.com/python/maplibre-migration/","as well as https://plotly.com/javascript/maplibre-migration/"].join(" ");H.exports={attributes:fM(),supplyDefaults:WD(),colorbar:Np(),calc:Qx(),plot:XD(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(x,A){if(A){var S=A[0].trace;S._glTrace.updateOnSelect(A)}},getBelow:function(x,A){for(var S=A.getMapLayers(),e=S.length-2;e>=0;e--){var t=S[e].id;if(typeof t=="string"&&t.indexOf("water")===0){for(var r=e+1;r0?+d[h]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=["interpolate",["linear"],["heatmap-density"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup["trace-"+o.uid];return t.map.addSource(i,{type:"geojson",data:a.geojson}),n._addLayers(a,s),n}}}),ez=ke({"src/traces/densitymapbox/hover.js"(Z,H){"use strict";var g=Ho(),x=mb().hoverPoints,A=mb().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,"z"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),"hover").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),tz=ke({"src/traces/densitymapbox/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),rz=ke({"src/traces/densitymapbox/index.js"(Z,H){"use strict";var g=["*densitymapbox* trace is deprecated!","Please consider switching to the *densitymap* trace type and `map` subplots.","Learn more at: https://plotly.com/python/maplibre-migration/","as well as https://plotly.com/javascript/maplibre-migration/"].join(" ");H.exports={attributes:dM(),supplyDefaults:KD(),colorbar:Np(),formatLabels:lM(),calc:JD(),plot:QD(),hoverPoints:ez(),eventData:tz(),getBelow:function(x,A){for(var S=A.getMapLayers(),e=0;eESRI"},ortoInstaMaps:{type:"raster",tiles:["https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png"],tileSize:256,maxzoom:13},ortoICGC:{type:"raster",tiles:["https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:"vector",url:"https://geoserveis.icgc.cat/contextmaps/basemap.json"}},sprite:"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1",glyphs:"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf",layers:[{id:"background",type:"background",paint:{"background-color":"#F4F9F4"}},{id:"ortoEsri",type:"raster",source:"ortoEsri",maxzoom:16,layout:{visibility:"visible"}},{id:"ortoICGC",type:"raster",source:"ortoICGC",minzoom:13.1,maxzoom:19,layout:{visibility:"visible"}},{id:"ortoInstaMaps",type:"raster",source:"ortoInstaMaps",maxzoom:13,layout:{visibility:"visible"}},{id:"waterway_tunnel",type:"line",source:"openmaptiles","source-layer":"waterway",minzoom:14,filter:["all",["in","class","river","stream","canal"],["==","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,6]]},"line-dasharray":[2,4]}},{id:"waterway-other",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["!in","class","canal","river","stream"],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,2]]}}},{id:"waterway-stream-canal",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["all",["in","class","canal","stream"],["!=","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,6]]}}},{id:"waterway-river",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["all",["==","class","river"],["!=","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.2,stops:[[10,.8],[20,4]]},"line-opacity":.5}},{id:"water-offset",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",maxzoom:8,filter:["==","$type","Polygon"],layout:{visibility:"visible"},paint:{"fill-opacity":0,"fill-color":"#a0c8f0","fill-translate":{base:1,stops:[[6,[2,0]],[8,[0,0]]]}}},{id:"water",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",layout:{visibility:"visible"},paint:{"fill-color":"hsl(210, 67%, 85%)","fill-opacity":0}},{id:"water-pattern",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",layout:{visibility:"visible"},paint:{"fill-translate":[0,2.5],"fill-pattern":"wave","fill-opacity":1}},{id:"landcover-ice-shelf",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"landcover",filter:["==","subclass","ice_shelf"],layout:{visibility:"visible"},paint:{"fill-color":"#fff","fill-opacity":{base:1,stops:[[0,.9],[10,.3]]}}},{id:"tunnel-service-track-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","service","track"]],layout:{"line-join":"round"},paint:{"line-color":"#cfcdca","line-dasharray":[.5,.25],"line-width":{base:1.2,stops:[[15,1],[16,4],[20,11]]}}},{id:"tunnel-minor-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","minor"]],layout:{"line-join":"round"},paint:{"line-color":"#cfcdca","line-opacity":{stops:[[12,0],[12.5,1]]},"line-width":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:"tunnel-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:"tunnel-trunk-primary-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.7}},{id:"tunnel-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","motorway"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-dasharray":[.5,.25],"line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.5}},{id:"tunnel-path",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","tunnel"],["==","class","path"]]],paint:{"line-color":"#cba","line-dasharray":[1.5,.75],"line-width":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:"tunnel-service-track",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","service","track"]],layout:{"line-join":"round"},paint:{"line-color":"#fff","line-width":{base:1.2,stops:[[15.5,0],[16,2],[20,7.5]]}}},{id:"tunnel-minor",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","minor_road"]],layout:{"line-join":"round"},paint:{"line-color":"#fff","line-opacity":1,"line-width":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:"tunnel-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#fff4c6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,10]]}}},{id:"tunnel-trunk-primary",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#fff4c6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"tunnel-motorway",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","motorway"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"#ffdaa6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"tunnel-railway",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","rail"]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]},"line-dasharray":[2,2]}},{id:"ferry",type:"line",source:"openmaptiles","source-layer":"transportation",filter:["all",["in","class","ferry"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(108, 159, 182, 1)","line-width":1.1,"line-dasharray":[2,2]}},{id:"aeroway-taxiway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:12,filter:["all",["in","class","taxiway"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(153, 153, 153, 1)","line-width":{base:1.5,stops:[[11,2],[17,12]]},"line-opacity":1}},{id:"aeroway-runway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:12,filter:["all",["in","class","runway"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(153, 153, 153, 1)","line-width":{base:1.5,stops:[[11,5],[17,55]]},"line-opacity":1}},{id:"aeroway-taxiway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:4,filter:["all",["in","class","taxiway"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(255, 255, 255, 1)","line-width":{base:1.5,stops:[[11,1],[17,10]]},"line-opacity":{base:1,stops:[[11,0],[12,1]]}}},{id:"aeroway-runway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:4,filter:["all",["in","class","runway"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(255, 255, 255, 1)","line-width":{base:1.5,stops:[[11,4],[17,50]]},"line-opacity":{base:1,stops:[[11,0],[12,1]]}}},{id:"highway-motorway-link-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:12,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway_link"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"highway-link-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"highway-minor-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!=","brunnel","tunnel"],["in","class","minor","service","track"]]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#cfcdca","line-opacity":{stops:[[12,0],[12.5,0]]},"line-width":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:"highway-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":.5,"line-width":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:"highway-primary-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":{stops:[[7,0],[8,.6]]},"line-width":{base:1.2,stops:[[7,0],[8,.6],[9,1.5],[20,22]]}}},{id:"highway-trunk-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","trunk"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":{stops:[[5,0],[6,.5]]},"line-width":{base:1.2,stops:[[5,0],[6,.6],[7,1.5],[20,22]]}}},{id:"highway-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:4,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[4,0],[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":{stops:[[4,0],[5,.5]]}}},{id:"highway-path",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["==","class","path"]]],paint:{"line-color":"#cba","line-dasharray":[1.5,.75],"line-width":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:"highway-motorway-link",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:12,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway_link"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"highway-link",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"highway-minor",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!=","brunnel","tunnel"],["in","class","minor","service","track"]]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fff","line-opacity":.5,"line-width":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:"highway-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[8,.5],[20,13]]},"line-opacity":.5}},{id:"highway-primary",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["in","class","primary"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[8.5,0],[9,.5],[20,18]]},"line-opacity":0}},{id:"highway-trunk",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["in","class","trunk"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"highway-motorway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"railway-transit",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","transit"],["!in","brunnel","tunnel"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.77)","line-width":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:"railway-transit-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","transit"],["!in","brunnel","tunnel"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.68)","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:"railway-service",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","rail"],["has","service"]]],paint:{"line-color":"hsla(0, 0%, 73%, 0.77)","line-width":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:"railway-service-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","rail"],["has","service"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.68)","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:"railway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!has","service"],["!in","brunnel","bridge","tunnel"],["==","class","rail"]]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:"railway-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!has","service"],["!in","brunnel","bridge","tunnel"],["==","class","rail"]]],paint:{"line-color":"#bbb","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:"bridge-motorway-link-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway_link"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"bridge-link-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"bridge-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[8,1.5],[20,28]]}}},{id:"bridge-trunk-primary-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"hsl(28, 76%, 67%)","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,26]]}}},{id:"bridge-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.5}},{id:"bridge-path-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","bridge"],["==","class","path"]]],paint:{"line-color":"#f8f4f0","line-width":{base:1.2,stops:[[15,1.2],[20,18]]}}},{id:"bridge-path",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","bridge"],["==","class","path"]]],paint:{"line-color":"#cba","line-width":{base:1.2,stops:[[15,1.2],[20,4]]},"line-dasharray":[1.5,.75]}},{id:"bridge-motorway-link",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway_link"]],layout:{"line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"bridge-link",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"bridge-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,20]]}}},{id:"bridge-trunk-primary",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]}}},{id:"bridge-motorway",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway"]],layout:{"line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"bridge-railway",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","rail"]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:"bridge-railway-hatching",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","rail"]],paint:{"line-color":"#bbb","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:"cablecar",type:"line",source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["==","class","cable_car"],layout:{visibility:"visible","line-cap":"round"},paint:{"line-color":"hsl(0, 0%, 70%)","line-width":{base:1,stops:[[11,1],[19,2.5]]}}},{id:"cablecar-dash",type:"line",source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["==","class","cable_car"],layout:{visibility:"visible","line-cap":"round"},paint:{"line-color":"hsl(0, 0%, 70%)","line-width":{base:1,stops:[[11,3],[19,5.5]]},"line-dasharray":[2,3]}},{id:"boundary-land-level-4",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",[">=","admin_level",4],["<=","admin_level",8],["!=","maritime",1]],layout:{"line-join":"round"},paint:{"line-color":"#9e9cab","line-dasharray":[3,1,1,1],"line-width":{base:1.4,stops:[[4,.4],[5,1],[12,3]]},"line-opacity":.6}},{id:"boundary-land-level-2",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["==","admin_level",2],["!=","maritime",1],["!=","disputed",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"hsl(248, 7%, 66%)","line-width":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,2]]}}},{id:"boundary-land-disputed",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["!=","maritime",1],["==","disputed",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"hsl(248, 7%, 70%)","line-dasharray":[1,3],"line-width":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,8]]}}},{id:"boundary-water",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["in","admin_level",2,4],["==","maritime",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"rgba(154, 189, 214, 1)","line-width":{base:1,stops:[[0,.6],[4,1],[5,1],[12,1]]},"line-opacity":{stops:[[6,0],[10,0]]}}},{id:"waterway-name",type:"symbol",source:"openmaptiles","source-layer":"waterway",minzoom:13,filter:["all",["==","$type","LineString"],["has","name"]],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":"{name:latin} {name:nonlatin}","text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"line","text-letter-spacing":.2,"symbol-spacing":350},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-lakeline",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["==","$type","LineString"],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"line","symbol-spacing":350,"text-letter-spacing":.2},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-ocean",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["all",["==","$type","Point"],["==","class","ocean"]],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":"{name:latin}","text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"point","symbol-spacing":350,"text-letter-spacing":.2},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-other",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["all",["==","$type","Point"],["!in","class","ocean"]],layout:{"text-font":["Noto Sans Italic"],"text-size":{stops:[[0,10],[6,14]]},"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"point","symbol-spacing":350,"text-letter-spacing":.2,visibility:"visible"},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"poi-level-3",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:16,filter:["all",["==","$type","Point"],[">=","rank",25]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} +{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"poi-level-2",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:15,filter:["all",["==","$type","Point"],["<=","rank",24],[">=","rank",15]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} +{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"poi-level-1",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:14,filter:["all",["==","$type","Point"],["<=","rank",14],["has","name"]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} +{name:nonlatin}`,"text-offset":[0,.6],"text-size":11,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"rgba(191, 228, 172, 1)","text-halo-width":1,"text-halo-color":"rgba(30, 29, 29, 1)"}},{id:"poi-railway",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:13,filter:["all",["==","$type","Point"],["has","name"],["==","class","railway"],["==","subclass","station"]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} +{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9,"icon-optional":!1,"icon-ignore-placement":!1,"icon-allow-overlap":!1,"text-ignore-placement":!1,"text-allow-overlap":!1,"text-optional":!0},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"road_oneway",type:"symbol",source:"openmaptiles","source-layer":"transportation",minzoom:15,filter:["all",["==","oneway",1],["in","class","motorway","trunk","primary","secondary","tertiary","minor","service"]],layout:{"symbol-placement":"line","icon-image":"oneway","symbol-spacing":75,"icon-padding":2,"icon-rotation-alignment":"map","icon-rotate":90,"icon-size":{stops:[[15,.5],[19,1]]}},paint:{"icon-opacity":.5}},{id:"road_oneway_opposite",type:"symbol",source:"openmaptiles","source-layer":"transportation",minzoom:15,filter:["all",["==","oneway",-1],["in","class","motorway","trunk","primary","secondary","tertiary","minor","service"]],layout:{"symbol-placement":"line","icon-image":"oneway","symbol-spacing":75,"icon-padding":2,"icon-rotation-alignment":"map","icon-rotate":-90,"icon-size":{stops:[[15,.5],[19,1]]}},paint:{"icon-opacity":.5}},{id:"highway-name-path",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:15.5,filter:["==","class","path"],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-color":"#f8f4f0","text-color":"hsl(30, 23%, 62%)","text-halo-width":.5}},{id:"highway-name-minor",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:15,filter:["all",["==","$type","LineString"],["in","class","minor","service","track"]],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-blur":.5,"text-color":"#765","text-halo-width":1}},{id:"highway-name-major",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:12.2,filter:["in","class","primary","secondary","tertiary","trunk"],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-blur":.5,"text-color":"#765","text-halo-width":1}},{id:"highway-shield",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:8,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["!in","network","us-interstate","us-highway","us-state"]],layout:{"text-size":10,"icon-image":"road_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[10,"point"],[11,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-opacity":1,"text-color":"rgba(20, 19, 19, 1)","text-halo-color":"rgba(230, 221, 221, 0)","text-halo-width":2,"icon-color":"rgba(183, 18, 18, 1)","icon-opacity":.3,"icon-halo-color":"rgba(183, 55, 55, 0)"}},{id:"highway-shield-us-interstate",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:7,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["in","network","us-interstate"]],layout:{"text-size":10,"icon-image":"{network}_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[7,"point"],[7,"line"],[8,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-color":"rgba(0, 0, 0, 1)"}},{id:"highway-shield-us-other",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:9,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["in","network","us-highway","us-state"]],layout:{"text-size":10,"icon-image":"{network}_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[10,"point"],[11,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-color":"rgba(0, 0, 0, 1)"}},{id:"place-other",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",minzoom:12,filter:["!in","class","city","town","village","country","continent"],layout:{"text-letter-spacing":.1,"text-size":{base:1.2,stops:[[12,10],[15,14]]},"text-font":["Noto Sans Bold"],"text-field":`{name:latin} +{name:nonlatin}`,"text-transform":"uppercase","text-max-width":9,visibility:"visible"},paint:{"text-color":"rgba(255,255,255,1)","text-halo-width":1.2,"text-halo-color":"rgba(57, 28, 28, 1)"}},{id:"place-village",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",minzoom:10,filter:["==","class","village"],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[10,12],[15,16]]},"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(255, 255, 255, 1)","text-halo-width":1.2,"text-halo-color":"rgba(10, 9, 9, 0.8)"}},{id:"place-town",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["==","class","town"],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[10,14],[15,24]]},"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(255, 255, 255, 1)","text-halo-width":1.2,"text-halo-color":"rgba(22, 22, 22, 0.8)"}},{id:"place-city",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["!=","capital",2],["==","class","city"]],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[7,14],[11,24]]},"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(0, 0, 0, 1)","text-halo-width":1.2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-city-capital",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","capital",2],["==","class","city"]],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[7,14],[11,24]]},"text-field":`{name:latin} +{name:nonlatin}`,"text-max-width":8,"icon-image":"star_11","text-offset":[.4,0],"icon-size":.8,"text-anchor":"left",visibility:"visible"},paint:{"text-color":"#333","text-halo-width":1.2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-other",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],[">=","rank",3],["!has","iso_a2"]],layout:{"text-font":["Noto Sans Italic"],"text-field":"{name:latin}","text-size":{stops:[[3,11],[7,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-3",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],[">=","rank",3],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[3,11],[7,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-2",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],["==","rank",2],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[2,11],[5,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-1",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],["==","rank",1],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[1,11],[4,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-continent",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",maxzoom:1,filter:["==","class","continent"],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":14,"text-max-width":6.25,"text-transform":"uppercase",visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}}],id:"qebnlkra6"}}}),az=ke({"src/plots/map/styles/arcgis-sat.js"(Z,H){H.exports={version:8,name:"orto",metadata:{},center:[1.537786,41.837539],zoom:12,bearing:0,pitch:0,light:{anchor:"viewport",color:"white",intensity:.4,position:[1.15,45,30]},sources:{ortoEsri:{type:"raster",tiles:["https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"],tileSize:256,maxzoom:18,attribution:"ESRI © ESRI"},ortoInstaMaps:{type:"raster",tiles:["https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png"],tileSize:256,maxzoom:13},ortoICGC:{type:"raster",tiles:["https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:"vector",url:"https://geoserveis.icgc.cat/contextmaps/basemap.json"}},sprite:"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1",glyphs:"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf",layers:[{id:"background",type:"background",paint:{"background-color":"#F4F9F4"}},{id:"ortoEsri",type:"raster",source:"ortoEsri",maxzoom:16,layout:{visibility:"visible"}},{id:"ortoICGC",type:"raster",source:"ortoICGC",minzoom:13.1,maxzoom:19,layout:{visibility:"visible"}},{id:"ortoInstaMaps",type:"raster",source:"ortoInstaMaps",maxzoom:13,layout:{visibility:"visible"}}]}}}),tm=ke({"src/plots/map/constants.js"(Z,H){"use strict";var g=Ip(),x=iz(),A=az(),S='\xA9 OpenStreetMap contributors',e="https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",t="https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",r="https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",o="https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json",n="https://basemaps.cartocdn.com/gl/dark-matter-nolabels-gl-style/style.json",i="https://basemaps.cartocdn.com/gl/voyager-nolabels-gl-style/style.json",a={basic:r,streets:r,outdoors:r,light:e,dark:t,satellite:A,"satellite-streets":x,"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:S,tiles:["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":e,"carto-darkmatter":t,"carto-voyager":r,"carto-positron-nolabels":o,"carto-darkmatter-nolabels":n,"carto-voyager-nolabels":i},s=g(a);H.exports={styleValueDflt:"basic",stylesMap:a,styleValuesMap:s,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",missingStyleErrorMsg:["No valid maplibre style found, please set `map.style` to one of:",s.join(", "),"or use a tile service."].join(` +`),mapOnErrorMsg:"Map error."}}}),e1=ke({"src/plots/map/layout_attributes.js"(Z,H){"use strict";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=tm(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex("map",".layers",!0)],domain:A({name:"map"}),style:{valType:"any",values:o.styleValuesMap,dflt:o.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:r("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:x},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:x}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},"plot","from-root");i.uirevision={valType:"any",editType:"none"}}}),yb=ke({"src/traces/scattermap/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=e1(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=e1(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:"boolean"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:"number",arrayOk:!0,dflt:-1,min:-1},size:{valType:"number",arrayOk:!0,dflt:20,min:0},color:{valType:"color",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:"markers"}),text:n({},e.text,{}),texttemplate:x({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o("marker")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:"string"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:g()},"calc","nested")}}),vM=ke({"src/traces/scattermap/constants.js"(Z,H){"use strict";var g=["Metropolis Black Italic","Metropolis Black","Metropolis Bold Italic","Metropolis Bold","Metropolis Extra Bold Italic","Metropolis Extra Bold","Metropolis Extra Light Italic","Metropolis Extra Light","Metropolis Light Italic","Metropolis Light","Metropolis Medium Italic","Metropolis Medium","Metropolis Regular Italic","Metropolis Regular","Metropolis Semi Bold Italic","Metropolis Semi Bold","Metropolis Thin Italic","Metropolis Thin","Open Sans Bold Italic","Open Sans Bold","Open Sans Extrabold Italic","Open Sans Extrabold","Open Sans Italic","Open Sans Light Italic","Open Sans Light","Open Sans Regular","Open Sans Semibold Italic","Open Sans Semibold","Klokantech Noto Sans Bold","Klokantech Noto Sans CJK Bold","Klokantech Noto Sans CJK Regular","Klokantech Noto Sans Italic","Klokantech Noto Sans Regular"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),oz=ke({"src/traces/scattermap/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=yb(),o=vM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p("text"),p("texttemplate"),p("hovertext"),p("hovertemplate"),p("mode"),p("below"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p("marker.allowoverlap"),p("marker.angle");var l=s.marker;l.symbol!=="circle"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p("connectgaps"));var _=d("cluster.maxzoom"),w=d("cluster.step"),M=d("cluster.color",s.marker&&s.marker.color||c),E=d("cluster.size"),m=d("cluster.opacity"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p("cluster.enabled",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:"Open Sans Regular",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p("fill"),s.fill!=="none"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s("lon")||[],h=s("lat")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),pM=ke({"src/traces/scattermap/format_labels.js"(Z,H){"use strict";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),mM=ke({"src/plots/map/convert_text_opts.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=A.split(" "),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=["",""],s=[0,0];switch(t){case"top":a[0]="top",s[1]=-i;break;case"bottom":a[0]="bottom",s[1]=i;break}switch(r){case"left":a[1]="right",s[0]=-n;break;case"right":a[1]="left",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join("-"):a[0]?c=a[0]:a[1]?c=a[1]:c="center",{anchor:c,offset:s}}}}),sz=ke({"src/traces/scattermap/convert.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=vM().isSupportedFont,i=mM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!=="none",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol==="circle",F=P&&v.marker.symbol!=="circle",B=v.cluster&&v.cluster.enabled,O=h("fill"),I=h("line"),N=h("circle"),U=h("symbol"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility="visible",x.extendFlat(O.paint,{"fill-color":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility="visible",x.extendFlat(I.paint,{"line-width":v.line.width,"line-color":v.line.color,"line-opacity":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility="visible",B&&(N.filter=["!",["has","point_count"]],W.cluster={type:"circle",filter:["has","point_count"],layout:{visibility:"visible"},paint:{"circle-color":w(v.cluster.color,v.cluster.step),"circle-radius":w(v.cluster.size,v.cluster.step),"circle-opacity":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:"symbol",filter:["has","point_count"],paint:{},layout:{"text-field":"{point_count_abbreviated}","text-font":M(v),"text-size":12}}),x.extendFlat(N.paint,{"circle-color":le.mcc,"circle-radius":le.mrc,"circle-opacity":le.mo})}if(z&&B&&(N.filter=["!",["has","point_count"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),F&&(x.extendFlat(U.layout,{"icon-size":v.marker.size/10}),"angle"in v.marker&&v.marker.angle!=="auto"&&x.extendFlat(U.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),U.layout["icon-allow-overlap"]=v.marker.allowoverlap,x.extendFlat(U.paint,{"icon-opacity":v.opacity*v.marker.opacity,"icon-color":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{"text-size":v.textfont.size,"text-anchor":fe.anchor,"text-offset":fe.offset,"text-font":M(v)}),x.extendFlat(U.paint,{"text-color":v.textfont.color,"text-opacity":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:"none"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,"marker")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=" Black":u>750?P+=" Extra Bold":u>650?P+=" Bold":u>550?P+=" Semi Bold":u>450?P+=" Medium":u>350?P+=" Regular":u>250?P+=" Light":u>150?P+=" Extra Light":P+=" Thin"):y.slice(0,2).join(" ")==="Open Sans"?(P="Open Sans",u>750?P+=" Extrabold":u>650?P+=" Bold":u>550?P+=" Semibold":u>350?P+=" Regular":P+=" Light"):y.slice(0,3).join(" ")==="Klokantech Noto Sans"&&(P="Klokantech Noto Sans",y[3]==="CJK"&&(P+=" CJK"),P+=u>500?" Bold":" Regular")),f&&(P+=" Italic"),P==="Open Sans Regular Italic"?P="Open Sans Italic":P==="Open Sans Regular Bold"?P="Open Sans Bold":P==="Open Sans Regular Bold Italic"?P="Open Sans Bold Italic":P==="Klokantech Noto Sans Regular Italic"&&(P="Klokantech Noto Sans Italic"),n(P)||(P=b);var L=P.split(", ");return L}}}),lz=ke({"src/traces/scattermap/plot.js"(Z,H){"use strict";var g=un(),x=sz(),A=tm().traceLayerPrefix,S={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function e(r,o,n,i){this.type="scattermap",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:"source-"+o+"-fill",line:"source-"+o+"-line",circle:"source-"+o+"-circle",symbol:"source-"+o+"-symbol",cluster:"source-"+o+"-circle",clusterCount:"source-"+o+"-circle"},this.layerIds={fill:A+o+"-fill",line:A+o+"-line",circle:A+o+"-circle",symbol:A+o+"-symbol",cluster:A+o+"-cluster",clusterCount:A+o+"-cluster-count"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:"geojson",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup["trace-"+i.uid],d,T,l;if(a)for(c.addSource("circle",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split("+"),h=c.indexOf("all")!==-1,p=c.indexOf("lon")!==-1,d=c.indexOf("lat")!==-1,T=i.lonlat,l=[];function _(w){return w+"\xB0"}return h||p&&d?l.push("("+_(T[1])+", "+_(T[0])+")"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf("text")!==-1)&&S(i,n,l),l.join("
")}H.exports={hoverPoints:r,getExtraText:o}}}),uz=ke({"src/traces/scattermap/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),cz=ke({"src/traces/scattermap/select.js"(Z,H){"use strict";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var c=r(a);let h,p;function d(){return h==null&&(h=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),h}function T(){if(p==null&&(p=!1,d())){let D=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(D){for(let he=0;he<5*5;he++){let Ce=4*he;D.fillStyle=`rgb(${Ce},${Ce+1},${Ce+2})`,D.fillRect(he%5,Math.floor(he/5),1,1)}let Y=D.getImageData(0,0,5,5).data;for(let he=0;he<5*5*4;he++)if(he%4!=3&&Y[he]!==he){p=!0;break}}}return p||!1}function l(q,D,Y,he){let Ce=new c(q,D,Y,he);return Ve=>Ce.solve(Ve)}let _=l(.25,.1,.25,1);function w(q,D,Y){return Math.min(Y,Math.max(D,q))}function M(q,D,Y){let he=Y-D,Ce=((q-D)%he+he)%he+D;return Ce===D?Y:Ce}function E(q,...D){for(let Y of D)for(let he in Y)q[he]=Y[he];return q}let m=1;function b(q,D,Y){let he={};for(let Ce in q)he[Ce]=D.call(this,q[Ce],Ce,q);return he}function v(q,D,Y){let he={};for(let Ce in q)D.call(this,q[Ce],Ce,q)&&(he[Ce]=q[Ce]);return he}function u(q){return Array.isArray(q)?q.map(u):typeof q=="object"&&q?b(q,u):q}let y={};function f(q){y[q]||(typeof console<"u"&&console.warn(q),y[q]=!0)}function P(q,D,Y){return(Y.y-q.y)*(D.x-q.x)>(D.y-q.y)*(Y.x-q.x)}function L(q){return typeof WorkerGlobalScope<"u"&&q!==void 0&&q instanceof WorkerGlobalScope}let z=null;function F(q){return typeof ImageBitmap<"u"&&q instanceof ImageBitmap}let B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function O(q,D,Y,he,Ce){return t(this,void 0,void 0,function*(){if(typeof VideoFrame>"u")throw new Error("VideoFrame not supported");let Ve=new VideoFrame(q,{timestamp:0});try{let Xe=Ve?.format;if(!Xe||!Xe.startsWith("BGR")&&!Xe.startsWith("RGB"))throw new Error(`Unrecognized format ${Xe}`);let ct=Xe.startsWith("BGR"),At=new Uint8ClampedArray(he*Ce*4);if(yield Ve.copyTo(At,function(Ot,er,cr,Sr,Nr){let rn=4*Math.max(-er,0),mn=(Math.max(0,cr)-cr)*Sr*4+rn,Gn=4*Sr,ei=Math.max(0,er),Ri=Math.max(0,cr);return{rect:{x:ei,y:Ri,width:Math.min(Ot.width,er+Sr)-ei,height:Math.min(Ot.height,cr+Nr)-Ri},layout:[{offset:mn,stride:Gn}]}}(q,D,Y,he,Ce)),ct)for(let Ot=0;OtL(self)?self.worker&&self.worker.referrer:(window.location.protocol==="blob:"?window.parent:window).location.href,$=function(q,D){if(/:\/\//.test(q.url)&&!/^https?:|^file:/.test(q.url)){let he=le(q.url);if(he)return he(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:q,targetMapId:se},D)}if(!(/^file:/.test(Y=q.url)||/^file:/.test(G())&&!/^\w+:/.test(Y))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,"signal"))return function(he,Ce){return t(this,void 0,void 0,function*(){let Ve=new Request(he.url,{method:he.method||"GET",body:he.body,credentials:he.credentials,headers:he.headers,cache:he.cache,referrer:G(),signal:Ce.signal});he.type!=="json"||Ve.headers.has("Accept")||Ve.headers.set("Accept","application/json");let Xe=yield fetch(Ve);if(!Xe.ok){let Ot=yield Xe.blob();throw new fe(Xe.status,Xe.statusText,he.url,Ot)}let ct;ct=he.type==="arrayBuffer"||he.type==="image"?Xe.arrayBuffer():he.type==="json"?Xe.json():Xe.text();let At=yield ct;if(Ce.signal.aborted)throw W();return{data:At,cacheControl:Xe.headers.get("Cache-Control"),expires:Xe.headers.get("Expires")}})}(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:q,mustQueue:!0,targetMapId:se},D)}var Y;return function(he,Ce){return new Promise((Ve,Xe)=>{var ct;let At=new XMLHttpRequest;At.open(he.method||"GET",he.url,!0),he.type!=="arrayBuffer"&&he.type!=="image"||(At.responseType="arraybuffer");for(let Ot in he.headers)At.setRequestHeader(Ot,he.headers[Ot]);he.type==="json"&&(At.responseType="text",!((ct=he.headers)===null||ct===void 0)&&ct.Accept||At.setRequestHeader("Accept","application/json")),At.withCredentials=he.credentials==="include",At.onerror=()=>{Xe(new Error(At.statusText))},At.onload=()=>{if(!Ce.signal.aborted)if((At.status>=200&&At.status<300||At.status===0)&&At.response!==null){let Ot=At.response;if(he.type==="json")try{Ot=JSON.parse(At.response)}catch(er){return void Xe(er)}Ve({data:Ot,cacheControl:At.getResponseHeader("Cache-Control"),expires:At.getResponseHeader("Expires")})}else{let Ot=new Blob([At.response],{type:At.getResponseHeader("Content-Type")});Xe(new fe(At.status,At.statusText,he.url,Ot))}},Ce.signal.addEventListener("abort",()=>{At.abort(),Xe(W())}),At.send(he.body)})}(q,D)};function J(q){if(!q||q.indexOf("://")<=0||q.indexOf("data:image/")===0||q.indexOf("blob:")===0)return!0;let D=new URL(q),Y=window.location;return D.protocol===Y.protocol&&D.host===Y.host}function X(q,D,Y){Y[q]&&Y[q].indexOf(D)!==-1||(Y[q]=Y[q]||[],Y[q].push(D))}function re(q,D,Y){if(Y&&Y[q]){let he=Y[q].indexOf(D);he!==-1&&Y[q].splice(he,1)}}class ae{constructor(D,Y={}){E(this,Y),this.type=D}}class j extends ae{constructor(D,Y={}){super("error",E({error:D},Y))}}class ee{on(D,Y){return this._listeners=this._listeners||{},X(D,Y,this._listeners),this}off(D,Y){return re(D,Y,this._listeners),re(D,Y,this._oneTimeListeners),this}once(D,Y){return Y?(this._oneTimeListeners=this._oneTimeListeners||{},X(D,Y,this._oneTimeListeners),this):new Promise(he=>this.once(D,he))}fire(D,Y){typeof D=="string"&&(D=new ae(D,Y||{}));let he=D.type;if(this.listens(he)){D.target=this;let Ce=this._listeners&&this._listeners[he]?this._listeners[he].slice():[];for(let ct of Ce)ct.call(this,D);let Ve=this._oneTimeListeners&&this._oneTimeListeners[he]?this._oneTimeListeners[he].slice():[];for(let ct of Ve)re(he,ct,this._oneTimeListeners),ct.call(this,D);let Xe=this._eventedParent;Xe&&(E(D,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),Xe.fire(D))}else D instanceof j&&console.error(D.error);return this}listens(D){return this._listeners&&this._listeners[D]&&this._listeners[D].length>0||this._oneTimeListeners&&this._oneTimeListeners[D]&&this._oneTimeListeners[D].length>0||this._eventedParent&&this._eventedParent.listens(D)}setEventedParent(D,Y){return this._eventedParent=D,this._eventedParentData=Y,this}}var ie={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"enum",default:"mercator",values:{mercator:{},globe:{}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};let ce=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function xe(q,D){let Y={};for(let he in q)he!=="ref"&&(Y[he]=q[he]);return ce.forEach(he=>{he in D&&(Y[he]=D[he])}),Y}function Te(q,D){if(Array.isArray(q)){if(!Array.isArray(D)||q.length!==D.length)return!1;for(let Y=0;Y`:q.itemType.kind==="value"?"array":`array<${D}>`}return q.kind}let je=[ot,et,Lt,Et,Bt,Rr,qt,Be(fr),gr,br,_t];function Se(q,D){if(D.kind==="error")return null;if(q.kind==="array"){if(D.kind==="array"&&(D.N===0&&D.itemType.kind==="value"||!Se(q.itemType,D.itemType))&&(typeof q.N!="number"||q.N===D.N))return null}else{if(q.kind===D.kind)return null;if(q.kind==="value"){for(let Y of je)if(!Se(Y,D))return null}}return`Expected ${Ke(q)} but found ${Ke(D)} instead.`}function He(q,D){return D.some(Y=>Y.kind===q.kind)}function Ee(q,D){return D.some(Y=>Y==="null"?q===null:Y==="array"?Array.isArray(q):Y==="object"?q&&!Array.isArray(q)&&typeof q=="object":Y===typeof q)}function we(q,D){return q.kind==="array"&&D.kind==="array"?q.itemType.kind===D.itemType.kind&&typeof q.N=="number":q.kind===D.kind}let Le=.96422,nt=.82521,pt=4/29,bt=6/29,Rt=3*bt*bt,Nt=bt*bt*bt,Xt=Math.PI/180,$t=180/Math.PI;function ur(q){return(q%=360)<0&&(q+=360),q}function pn([q,D,Y,he]){let Ce,Ve,Xe=Nn((.2225045*(q=Rn(q))+.7168786*(D=Rn(D))+.0606169*(Y=Rn(Y)))/1);q===D&&D===Y?Ce=Ve=Xe:(Ce=Nn((.4360747*q+.3850649*D+.1430804*Y)/Le),Ve=Nn((.0139322*q+.0971045*D+.7141733*Y)/nt));let ct=116*Xe-16;return[ct<0?0:ct,500*(Ce-Xe),200*(Xe-Ve),he]}function Rn(q){return q<=.04045?q/12.92:Math.pow((q+.055)/1.055,2.4)}function Nn(q){return q>Nt?Math.pow(q,1/3):q/Rt+pt}function On([q,D,Y,he]){let Ce=(q+16)/116,Ve=isNaN(D)?Ce:Ce+D/500,Xe=isNaN(Y)?Ce:Ce-Y/200;return Ce=1*zn(Ce),Ve=Le*zn(Ve),Xe=nt*zn(Xe),[ni(3.1338561*Ve-1.6168667*Ce-.4906146*Xe),ni(-.9787684*Ve+1.9161415*Ce+.033454*Xe),ni(.0719453*Ve-.2289914*Ce+1.4052427*Xe),he]}function ni(q){return(q=q<=.00304?12.92*q:1.055*Math.pow(q,1/2.4)-.055)<0?0:q>1?1:q}function zn(q){return q>bt?q*q*q:Rt*(q-pt)}function Qn(q){return parseInt(q.padEnd(2,q),16)/255}function gi(q,D){return Zt(D?q/100:q,0,1)}function Zt(q,D,Y){return Math.min(Math.max(D,q),Y)}function Ft(q){return!q.some(Number.isNaN)}let Ht={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]};class Vt{constructor(D,Y,he,Ce=1,Ve=!0){this.r=D,this.g=Y,this.b=he,this.a=Ce,Ve||(this.r*=Ce,this.g*=Ce,this.b*=Ce,Ce||this.overwriteGetter("rgb",[D,Y,he,Ce]))}static parse(D){if(D instanceof Vt)return D;if(typeof D!="string")return;let Y=function(he){if((he=he.toLowerCase().trim())==="transparent")return[0,0,0,0];let Ce=Ht[he];if(Ce){let[Xe,ct,At]=Ce;return[Xe/255,ct/255,At/255,1]}if(he.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(he)){let Xe=he.length<6?1:2,ct=1;return[Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+Xe)||"ff")]}if(he.startsWith("rgb")){let Xe=he.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(Xe){let[ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri]=Xe,fi=[er||" ",Nr||" ",Gn].join("");if(fi===" "||fi===" /"||fi===",,"||fi===",,,"){let Si=[Ot,Sr,mn].join(""),Gi=Si==="%%%"?100:Si===""?255:0;if(Gi){let Ha=[Zt(+At/Gi,0,1),Zt(+cr/Gi,0,1),Zt(+rn/Gi,0,1),ei?gi(+ei,Ri):1];if(Ft(Ha))return Ha}}return}}let Ve=he.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(Ve){let[Xe,ct,At,Ot,er,cr,Sr,Nr,rn]=Ve,mn=[At||" ",er||" ",Sr].join("");if(mn===" "||mn===" /"||mn===",,"||mn===",,,"){let Gn=[+ct,Zt(+Ot,0,100),Zt(+cr,0,100),Nr?gi(+Nr,rn):1];if(Ft(Gn))return function([ei,Ri,fi,Si]){function Gi(Ha){let Po=(Ha+ei/30)%12,xs=Ri*Math.min(fi,1-fi);return fi-xs*Math.max(-1,Math.min(Po-3,9-Po,1))}return ei=ur(ei),Ri/=100,fi/=100,[Gi(0),Gi(8),Gi(4),Si]}(Gn)}}}(D);return Y?new Vt(...Y,!1):void 0}get rgb(){let{r:D,g:Y,b:he,a:Ce}=this,Ve=Ce||1/0;return this.overwriteGetter("rgb",[D/Ve,Y/Ve,he/Ve,Ce])}get hcl(){return this.overwriteGetter("hcl",function(D){let[Y,he,Ce,Ve]=pn(D),Xe=Math.sqrt(he*he+Ce*Ce);return[Math.round(1e4*Xe)?ur(Math.atan2(Ce,he)*$t):NaN,Xe,Y,Ve]}(this.rgb))}get lab(){return this.overwriteGetter("lab",pn(this.rgb))}overwriteGetter(D,Y){return Object.defineProperty(this,D,{value:Y}),Y}toString(){let[D,Y,he,Ce]=this.rgb;return`rgba(${[D,Y,he].map(Ve=>Math.round(255*Ve)).join(",")},${Ce})`}}Vt.black=new Vt(0,0,0,1),Vt.white=new Vt(1,1,1,1),Vt.transparent=new Vt(0,0,0,0),Vt.red=new Vt(1,0,0,1);class wr{constructor(D,Y,he){this.sensitivity=D?Y?"variant":"case":Y?"accent":"base",this.locale=he,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(D,Y){return this.collator.compare(D,Y)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class $r{constructor(D,Y,he,Ce,Ve){this.text=D,this.image=Y,this.scale=he,this.fontStack=Ce,this.textColor=Ve}}class xn{constructor(D){this.sections=D}static fromString(D){return new xn([new $r(D,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(D=>D.text.length!==0||D.image&&D.image.name.length!==0)}static factory(D){return D instanceof xn?D:xn.fromString(D)}toString(){return this.sections.length===0?"":this.sections.map(D=>D.text).join("")}}class en{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof en)return D;if(typeof D=="number")return new en([D,D,D,D]);if(Array.isArray(D)&&!(D.length<1||D.length>4)){for(let Y of D)if(typeof Y!="number")return;switch(D.length){case 1:D=[D[0],D[0],D[0],D[0]];break;case 2:D=[D[0],D[1],D[0],D[1]];break;case 3:D=[D[0],D[1],D[2],D[1]]}return new en(D)}}toString(){return JSON.stringify(this.values)}}let Fn=new Set(["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"]);class Wn{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof Wn)return D;if(Array.isArray(D)&&!(D.length<1)&&D.length%2==0){for(let Y=0;Y=0&&q<=255&&typeof D=="number"&&D>=0&&D<=255&&typeof Y=="number"&&Y>=0&&Y<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:`Invalid rgba value [${[q,D,Y,he].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof he=="number"?[q,D,Y,he]:[q,D,Y]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ui(q){if(q===null||typeof q=="string"||typeof q=="boolean"||typeof q=="number"||q instanceof Vt||q instanceof wr||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri)return!0;if(Array.isArray(q)){for(let D of q)if(!ui(D))return!1;return!0}if(typeof q=="object"){for(let D in q)if(!ui(q[D]))return!1;return!0}return!1}function gt(q){if(q===null)return ot;if(typeof q=="string")return Lt;if(typeof q=="boolean")return Et;if(typeof q=="number")return et;if(q instanceof Vt)return Bt;if(q instanceof wr)return ar;if(q instanceof xn)return Rr;if(q instanceof en)return gr;if(q instanceof Wn)return _t;if(q instanceof ri)return br;if(Array.isArray(q)){let D=q.length,Y;for(let he of q){let Ce=gt(he);if(Y){if(Y===Ce)continue;Y=fr;break}Y=Ce}return Be(Y||fr,D)}return qt}function yt(q){let D=typeof q;return q===null?"":D==="string"||D==="number"||D==="boolean"?String(q):q instanceof Vt||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri?q.toString():JSON.stringify(q)}class Pr{constructor(D,Y){this.type=D,this.value=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'literal' expression requires exactly one argument, but found ${D.length-1} instead.`);if(!ui(D[1]))return Y.error("invalid value");let he=D[1],Ce=gt(he),Ve=Y.expectedType;return Ce.kind!=="array"||Ce.N!==0||!Ve||Ve.kind!=="array"||typeof Ve.N=="number"&&Ve.N!==0||(Ce=Ve),new Pr(Ce,he)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Ir{constructor(D){this.name="ExpressionEvaluationError",this.message=D}toJSON(){return this.message}}let Tr={string:Lt,number:et,boolean:Et,object:qt};class Mr{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he,Ce=1,Ve=D[0];if(Ve==="array"){let ct,At;if(D.length>2){let Ot=D[1];if(typeof Ot!="string"||!(Ot in Tr)||Ot==="object")return Y.error('The item type argument of "array" must be one of string, number, boolean',1);ct=Tr[Ot],Ce++}else ct=fr;if(D.length>3){if(D[2]!==null&&(typeof D[2]!="number"||D[2]<0||D[2]!==Math.floor(D[2])))return Y.error('The length argument to "array" must be a positive integer literal',2);At=D[2],Ce++}he=Be(ct,At)}else{if(!Tr[Ve])throw new Error(`Types doesn't contain name = ${Ve}`);he=Tr[Ve]}let Xe=[];for(;CeD.outputDefined())}}let Lr={"to-boolean":Et,"to-color":Bt,"to-number":et,"to-string":Lt};class Ur{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he=D[0];if(!Lr[he])throw new Error(`Can't parse ${he} as it is not part of the known types`);if((he==="to-boolean"||he==="to-string")&&D.length!==2)return Y.error("Expected one argument.");let Ce=Lr[he],Ve=[];for(let Xe=1;Xe4?`Invalid rbga value ${JSON.stringify(Y)}: expected an array containing either three or four numeric values.`:Sn(Y[0],Y[1],Y[2],Y[3]),!he))return new Vt(Y[0]/255,Y[1]/255,Y[2]/255,Y[3])}throw new Ir(he||`Could not parse color from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"padding":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=en.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse padding from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"variableAnchorOffsetCollection":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=Wn.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse variableAnchorOffsetCollection from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"number":{let Y=null;for(let he of this.args){if(Y=he.evaluate(D),Y===null)return 0;let Ce=Number(Y);if(!isNaN(Ce))return Ce}throw new Ir(`Could not convert ${JSON.stringify(Y)} to number.`)}case"formatted":return xn.fromString(yt(this.args[0].evaluate(D)));case"resolvedImage":return ri.fromString(yt(this.args[0].evaluate(D)));default:return yt(this.args[0].evaluate(D))}}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}let Dr=["Unknown","Point","LineString","Polygon"];class nn{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?Dr[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(D){let Y=this._parseColorCache[D];return Y||(Y=this._parseColorCache[D]=Vt.parse(D)),Y}}class vn{constructor(D,Y,he=[],Ce,Ve=new rt,Xe=[]){this.registry=D,this.path=he,this.key=he.map(ct=>`[${ct}]`).join(""),this.scope=Ve,this.errors=Xe,this.expectedType=Ce,this._isConstant=Y}parse(D,Y,he,Ce,Ve={}){return Y?this.concat(Y,he,Ce)._parse(D,Ve):this._parse(D,Ve)}_parse(D,Y){function he(Ce,Ve,Xe){return Xe==="assert"?new Mr(Ve,[Ce]):Xe==="coerce"?new Ur(Ve,[Ce]):Ce}if(D!==null&&typeof D!="string"&&typeof D!="boolean"&&typeof D!="number"||(D=["literal",D]),Array.isArray(D)){if(D.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');let Ce=D[0];if(typeof Ce!="string")return this.error(`Expression name must be a string, but found ${typeof Ce} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;let Ve=this.registry[Ce];if(Ve){let Xe=Ve.parse(D,this);if(!Xe)return null;if(this.expectedType){let ct=this.expectedType,At=Xe.type;if(ct.kind!=="string"&&ct.kind!=="number"&&ct.kind!=="boolean"&&ct.kind!=="object"&&ct.kind!=="array"||At.kind!=="value")if(ct.kind!=="color"&&ct.kind!=="formatted"&&ct.kind!=="resolvedImage"||At.kind!=="value"&&At.kind!=="string")if(ct.kind!=="padding"||At.kind!=="value"&&At.kind!=="number"&&At.kind!=="array")if(ct.kind!=="variableAnchorOffsetCollection"||At.kind!=="value"&&At.kind!=="array"){if(this.checkSubtype(ct,At))return null}else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"assert")}if(!(Xe instanceof Pr)&&Xe.type.kind!=="resolvedImage"&&this._isConstant(Xe)){let ct=new nn;try{Xe=new Pr(Xe.type,Xe.evaluate(ct))}catch(At){return this.error(At.message),null}}return Xe}return this.error(`Unknown expression "${Ce}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(D===void 0?"'undefined' value invalid. Use null instead.":typeof D=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof D} instead.`)}concat(D,Y,he){let Ce=typeof D=="number"?this.path.concat(D):this.path,Ve=he?this.scope.concat(he):this.scope;return new vn(this.registry,this._isConstant,Ce,Y||null,Ve,this.errors)}error(D,...Y){let he=`${this.key}${Y.map(Ce=>`[${Ce}]`).join("")}`;this.errors.push(new Oe(he,D))}checkSubtype(D,Y){let he=Se(D,Y);return he&&this.error(he),he}}class gn{constructor(D,Y){this.type=Y.type,this.bindings=[].concat(D),this.result=Y}evaluate(D){return this.result.evaluate(D)}eachChild(D){for(let Y of this.bindings)D(Y[1]);D(this.result)}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found ${D.length-1} instead.`);let he=[];for(let Ve=1;Ve=he.length)throw new Ir(`Array index out of bounds: ${Y} > ${he.length-1}.`);if(Y!==Math.floor(Y))throw new Ir(`Array index must be an integer, but found ${Y} instead.`);return he[Y]}eachChild(D){D(this.index),D(this.input)}outputDefined(){return!1}}class yr{constructor(D,Y){this.type=Et,this.needle=D,this.haystack=Y}static parse(D,Y){if(D.length!==3)return Y.error(`Expected 2 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);return he&&Ce?He(he.type,[Et,Lt,et,ot,fr])?new yr(he,Ce):Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`):null}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!he)return!1;if(!Ee(Y,["boolean","string","number","null"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);if(!Ee(he,["string","array"]))throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`);return he.indexOf(Y)>=0}eachChild(D){D(this.needle),D(this.haystack)}outputDefined(){return!0}}class on{constructor(D,Y,he){this.type=et,this.needle=D,this.haystack=Y,this.fromIndex=he}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);if(!he||!Ce)return null;if(!He(he.type,[Et,Lt,et,ot,fr]))return Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new on(he,Ce,Ve):null}return new on(he,Ce)}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!Ee(Y,["boolean","string","number","null"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);let Ce;if(this.fromIndex&&(Ce=this.fromIndex.evaluate(D)),Ee(he,["string"])){let Ve=he.indexOf(Y,Ce);return Ve===-1?-1:[...he.slice(0,Ve)].length}if(Ee(he,["array"]))return he.indexOf(Y,Ce);throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`)}eachChild(D){D(this.needle),D(this.haystack),this.fromIndex&&D(this.fromIndex)}outputDefined(){return!1}}class An{constructor(D,Y,he,Ce,Ve,Xe){this.inputType=D,this.type=Y,this.input=he,this.cases=Ce,this.outputs=Ve,this.otherwise=Xe}static parse(D,Y){if(D.length<5)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if(D.length%2!=1)return Y.error("Expected an even number of arguments.");let he,Ce;Y.expectedType&&Y.expectedType.kind!=="value"&&(Ce=Y.expectedType);let Ve={},Xe=[];for(let Ot=2;OtNumber.MAX_SAFE_INTEGER)return Sr.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof rn=="number"&&Math.floor(rn)!==rn)return Sr.error("Numeric branch labels must be integer values.");if(he){if(Sr.checkSubtype(he,gt(rn)))return null}else he=gt(rn);if(Ve[String(rn)]!==void 0)return Sr.error("Branch labels must be unique.");Ve[String(rn)]=Xe.length}let Nr=Y.parse(cr,Ot,Ce);if(!Nr)return null;Ce=Ce||Nr.type,Xe.push(Nr)}let ct=Y.parse(D[1],1,fr);if(!ct)return null;let At=Y.parse(D[D.length-1],D.length-1,Ce);return At?ct.type.kind!=="value"&&Y.concat(1).checkSubtype(he,ct.type)?null:new An(he,Ce,ct,Ve,Xe,At):null}evaluate(D){let Y=this.input.evaluate(D);return(gt(Y)===this.inputType&&this.outputs[this.cases[Y]]||this.otherwise).evaluate(D)}eachChild(D){D(this.input),this.outputs.forEach(D),D(this.otherwise)}outputDefined(){return this.outputs.every(D=>D.outputDefined())&&this.otherwise.outputDefined()}}class Zn{constructor(D,Y,he){this.type=D,this.branches=Y,this.otherwise=he}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found only ${D.length-1}.`);if(D.length%2!=0)return Y.error("Expected an odd number of arguments.");let he;Y.expectedType&&Y.expectedType.kind!=="value"&&(he=Y.expectedType);let Ce=[];for(let Xe=1;XeY.outputDefined())&&this.otherwise.outputDefined()}}class Bn{constructor(D,Y,he,Ce){this.type=D,this.input=Y,this.beginIndex=he,this.endIndex=Ce}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,et);if(!he||!Ce)return null;if(!He(he.type,[Be(fr),Lt,fr]))return Y.error(`Expected first argument to be of type array or string, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new Bn(he.type,he,Ce,Ve):null}return new Bn(he.type,he,Ce)}evaluate(D){let Y=this.input.evaluate(D),he=this.beginIndex.evaluate(D),Ce;if(this.endIndex&&(Ce=this.endIndex.evaluate(D)),Ee(Y,["string"]))return[...Y].slice(he,Ce).join("");if(Ee(Y,["array"]))return Y.slice(he,Ce);throw new Ir(`Expected first argument to be of type array or string, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input),D(this.beginIndex),this.endIndex&&D(this.endIndex)}outputDefined(){return!1}}function wn(q,D){let Y=q.length-1,he,Ce,Ve=0,Xe=Y,ct=0;for(;Ve<=Xe;)if(ct=Math.floor((Ve+Xe)/2),he=q[ct],Ce=q[ct+1],he<=D){if(ct===Y||DD))throw new Ir("Input is not a number.");Xe=ct-1}return 0}class Dn{constructor(D,Y,he){this.type=D,this.input=Y,this.labels=[],this.outputs=[];for(let[Ce,Ve]of he)this.labels.push(Ce),this.outputs.push(Ve)}static parse(D,Y){if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error("Expected an even number of arguments.");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=[],Ve=null;Y.expectedType&&Y.expectedType.kind!=="value"&&(Ve=Y.expectedType);for(let Xe=1;Xe=ct)return Y.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Ot);let cr=Y.parse(At,er,Ve);if(!cr)return null;Ve=Ve||cr.type,Ce.push([ct,cr])}return new Dn(Ve,he,Ce)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;return Ce>=Y[Ve-1]?he[Ve-1].evaluate(D):he[wn(Y,Ce)].evaluate(D)}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Ui(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q}var pi=Ta;function Ta(q,D,Y,he){this.cx=3*q,this.bx=3*(Y-q)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*D,this.by=3*(he-D)-this.cy,this.ay=1-this.cy-this.by,this.p1x=q,this.p1y=D,this.p2x=Y,this.p2y=he}Ta.prototype={sampleCurveX:function(q){return((this.ax*q+this.bx)*q+this.cx)*q},sampleCurveY:function(q){return((this.ay*q+this.by)*q+this.cy)*q},sampleCurveDerivativeX:function(q){return(3*this.ax*q+2*this.bx)*q+this.cx},solveCurveX:function(q,D){if(D===void 0&&(D=1e-6),q<0)return 0;if(q>1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var Sa=Ui(pi);function qa(q,D,Y){return q+Y*(D-q)}function to(q,D,Y){return q.map((he,Ce)=>qa(he,D[Ce],Y))}let yo={number:qa,color:function(q,D,Y,he="rgb"){switch(he){case"rgb":{let[Ce,Ve,Xe,ct]=to(q.rgb,D.rgb,Y);return new Vt(Ce,Ve,Xe,ct,!1)}case"hcl":{let[Ce,Ve,Xe,ct]=q.hcl,[At,Ot,er,cr]=D.hcl,Sr,Nr;if(isNaN(Ce)||isNaN(At))isNaN(Ce)?isNaN(At)?Sr=NaN:(Sr=At,Xe!==1&&Xe!==0||(Nr=Ot)):(Sr=Ce,er!==1&&er!==0||(Nr=Ve));else{let Ri=At-Ce;At>Ce&&Ri>180?Ri-=360:At180&&(Ri+=360),Sr=Ce+Y*Ri}let[rn,mn,Gn,ei]=function([Ri,fi,Si,Gi]){return Ri=isNaN(Ri)?0:Ri*Xt,On([Si,Math.cos(Ri)*fi,Math.sin(Ri)*fi,Gi])}([Sr,Nr??qa(Ve,Ot,Y),qa(Xe,er,Y),qa(ct,cr,Y)]);return new Vt(rn,mn,Gn,ei,!1)}case"lab":{let[Ce,Ve,Xe,ct]=On(to(q.lab,D.lab,Y));return new Vt(Ce,Ve,Xe,ct,!1)}}},array:to,padding:function(q,D,Y){return new en(to(q.values,D.values,Y))},variableAnchorOffsetCollection:function(q,D,Y){let he=q.values,Ce=D.values;if(he.length!==Ce.length)throw new Ir(`Cannot interpolate values of different length. from: ${q.toString()}, to: ${D.toString()}`);let Ve=[];for(let Xe=0;Xetypeof er!="number"||er<0||er>1))return Y.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);Ce={name:"cubic-bezier",controlPoints:Ot}}}if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error("Expected an even number of arguments.");if(Ve=Y.parse(Ve,2,et),!Ve)return null;let ct=[],At=null;he==="interpolate-hcl"||he==="interpolate-lab"?At=Bt:Y.expectedType&&Y.expectedType.kind!=="value"&&(At=Y.expectedType);for(let Ot=0;Ot=er)return Y.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Sr);let rn=Y.parse(cr,Nr,At);if(!rn)return null;At=At||rn.type,ct.push([er,rn])}return we(At,et)||we(At,Bt)||we(At,gr)||we(At,_t)||we(At,Be(et))?new Xa(At,he,Ce,Ve,ct):Y.error(`Type ${Ke(At)} is not interpolatable.`)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;if(Ce>=Y[Ve-1])return he[Ve-1].evaluate(D);let Xe=wn(Y,Ce),ct=Xa.interpolationFactor(this.interpolation,Ce,Y[Xe],Y[Xe+1]),At=he[Xe].evaluate(D),Ot=he[Xe+1].evaluate(D);switch(this.operator){case"interpolate":return yo[this.type.kind](At,Ot,ct);case"interpolate-hcl":return yo.color(At,Ot,ct,"hcl");case"interpolate-lab":return yo.color(At,Ot,ct,"lab")}}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Go(q,D,Y,he){let Ce=he-Y,Ve=q-Y;return Ce===0?0:D===1?Ve/Ce:(Math.pow(D,Ve)-1)/(Math.pow(D,Ce)-1)}class pa{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expectected at least one argument.");let he=null,Ce=Y.expectedType;Ce&&Ce.kind!=="value"&&(he=Ce);let Ve=[];for(let ct of D.slice(1)){let At=Y.parse(ct,1+Ve.length,he,void 0,{typeAnnotation:"omit"});if(!At)return null;he=he||At.type,Ve.push(At)}if(!he)throw new Error("No output type");let Xe=Ce&&Ve.some(ct=>Se(Ce,ct.type));return new pa(Xe?fr:he,Ve)}evaluate(D){let Y,he=null,Ce=0;for(let Ve of this.args)if(Ce++,he=Ve.evaluate(D),he&&he instanceof ri&&!he.available&&(Y||(Y=he.name),he=null,Ce===this.args.length&&(he=Y)),he!==null)break;return he}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}function cs(q,D){return q==="=="||q==="!="?D.kind==="boolean"||D.kind==="string"||D.kind==="number"||D.kind==="null"||D.kind==="value":D.kind==="string"||D.kind==="number"||D.kind==="value"}function Ko(q,D,Y,he){return he.compare(D,Y)===0}function gs(q,D,Y){let he=q!=="=="&&q!=="!=";return class GS{constructor(Ve,Xe,ct){this.type=Et,this.lhs=Ve,this.rhs=Xe,this.collator=ct,this.hasUntypedArgument=Ve.type.kind==="value"||Xe.type.kind==="value"}static parse(Ve,Xe){if(Ve.length!==3&&Ve.length!==4)return Xe.error("Expected two or three arguments.");let ct=Ve[0],At=Xe.parse(Ve[1],1,fr);if(!At)return null;if(!cs(ct,At.type))return Xe.concat(1).error(`"${ct}" comparisons are not supported for type '${Ke(At.type)}'.`);let Ot=Xe.parse(Ve[2],2,fr);if(!Ot)return null;if(!cs(ct,Ot.type))return Xe.concat(2).error(`"${ct}" comparisons are not supported for type '${Ke(Ot.type)}'.`);if(At.type.kind!==Ot.type.kind&&At.type.kind!=="value"&&Ot.type.kind!=="value")return Xe.error(`Cannot compare types '${Ke(At.type)}' and '${Ke(Ot.type)}'.`);he&&(At.type.kind==="value"&&Ot.type.kind!=="value"?At=new Mr(Ot.type,[At]):At.type.kind!=="value"&&Ot.type.kind==="value"&&(Ot=new Mr(At.type,[Ot])));let er=null;if(Ve.length===4){if(At.type.kind!=="string"&&Ot.type.kind!=="string"&&At.type.kind!=="value"&&Ot.type.kind!=="value")return Xe.error("Cannot use collator to compare non-string types.");if(er=Xe.parse(Ve[3],3,ar),!er)return null}return new GS(At,Ot,er)}evaluate(Ve){let Xe=this.lhs.evaluate(Ve),ct=this.rhs.evaluate(Ve);if(he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==Ot.kind||At.kind!=="string"&&At.kind!=="number")throw new Ir(`Expected arguments for "${q}" to be (string, string) or (number, number), but found (${At.kind}, ${Ot.kind}) instead.`)}if(this.collator&&!he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!=="string"||Ot.kind!=="string")return D(Ve,Xe,ct)}return this.collator?Y(Ve,Xe,ct,this.collator.evaluate(Ve)):D(Ve,Xe,ct)}eachChild(Ve){Ve(this.lhs),Ve(this.rhs),this.collator&&Ve(this.collator)}outputDefined(){return!0}}}let Ya=gs("==",function(q,D,Y){return D===Y},Ko),zo=gs("!=",function(q,D,Y){return D!==Y},function(q,D,Y,he){return!Ko(0,D,Y,he)}),Ka=gs("<",function(q,D,Y){return D",function(q,D,Y){return D>Y},function(q,D,Y,he){return he.compare(D,Y)>0}),ns=gs("<=",function(q,D,Y){return D<=Y},function(q,D,Y,he){return he.compare(D,Y)<=0}),hs=gs(">=",function(q,D,Y){return D>=Y},function(q,D,Y,he){return he.compare(D,Y)>=0});class ho{constructor(D,Y,he){this.type=ar,this.locale=he,this.caseSensitive=D,this.diacriticSensitive=Y}static parse(D,Y){if(D.length!==2)return Y.error("Expected one argument.");let he=D[1];if(typeof he!="object"||Array.isArray(he))return Y.error("Collator options argument must be an object.");let Ce=Y.parse(he["case-sensitive"]!==void 0&&he["case-sensitive"],1,Et);if(!Ce)return null;let Ve=Y.parse(he["diacritic-sensitive"]!==void 0&&he["diacritic-sensitive"],1,Et);if(!Ve)return null;let Xe=null;return he.locale&&(Xe=Y.parse(he.locale,1,Lt),!Xe)?null:new ho(Ce,Ve,Xe)}evaluate(D){return new wr(this.caseSensitive.evaluate(D),this.diacriticSensitive.evaluate(D),this.locale?this.locale.evaluate(D):null)}eachChild(D){D(this.caseSensitive),D(this.diacriticSensitive),this.locale&&D(this.locale)}outputDefined(){return!1}}class Ro{constructor(D,Y,he,Ce,Ve){this.type=Lt,this.number=D,this.locale=Y,this.currency=he,this.minFractionDigits=Ce,this.maxFractionDigits=Ve}static parse(D,Y){if(D.length!==3)return Y.error("Expected two arguments.");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=D[2];if(typeof Ce!="object"||Array.isArray(Ce))return Y.error("NumberFormat options argument must be an object.");let Ve=null;if(Ce.locale&&(Ve=Y.parse(Ce.locale,1,Lt),!Ve))return null;let Xe=null;if(Ce.currency&&(Xe=Y.parse(Ce.currency,1,Lt),!Xe))return null;let ct=null;if(Ce["min-fraction-digits"]&&(ct=Y.parse(Ce["min-fraction-digits"],1,et),!ct))return null;let At=null;return Ce["max-fraction-digits"]&&(At=Y.parse(Ce["max-fraction-digits"],1,et),!At)?null:new Ro(he,Ve,Xe,ct,At)}evaluate(D){return new Intl.NumberFormat(this.locale?this.locale.evaluate(D):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(D):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(D):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(D):void 0}).format(this.number.evaluate(D))}eachChild(D){D(this.number),this.locale&&D(this.locale),this.currency&&D(this.currency),this.minFractionDigits&&D(this.minFractionDigits),this.maxFractionDigits&&D(this.maxFractionDigits)}outputDefined(){return!1}}class Ls{constructor(D){this.type=Rr,this.sections=D}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he=D[1];if(!Array.isArray(he)&&typeof he=="object")return Y.error("First argument must be an image or text section.");let Ce=[],Ve=!1;for(let Xe=1;Xe<=D.length-1;++Xe){let ct=D[Xe];if(Ve&&typeof ct=="object"&&!Array.isArray(ct)){Ve=!1;let At=null;if(ct["font-scale"]&&(At=Y.parse(ct["font-scale"],1,et),!At))return null;let Ot=null;if(ct["text-font"]&&(Ot=Y.parse(ct["text-font"],1,Be(Lt)),!Ot))return null;let er=null;if(ct["text-color"]&&(er=Y.parse(ct["text-color"],1,Bt),!er))return null;let cr=Ce[Ce.length-1];cr.scale=At,cr.font=Ot,cr.textColor=er}else{let At=Y.parse(D[Xe],1,fr);if(!At)return null;let Ot=At.type.kind;if(Ot!=="string"&&Ot!=="value"&&Ot!=="null"&&Ot!=="resolvedImage")return Y.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ve=!0,Ce.push({content:At,scale:null,font:null,textColor:null})}}return new Ls(Ce)}evaluate(D){return new xn(this.sections.map(Y=>{let he=Y.content.evaluate(D);return gt(he)===br?new $r("",he,null,null,null):new $r(yt(he),null,Y.scale?Y.scale.evaluate(D):null,Y.font?Y.font.evaluate(D).join(","):null,Y.textColor?Y.textColor.evaluate(D):null)}))}eachChild(D){for(let Y of this.sections)D(Y.content),Y.scale&&D(Y.scale),Y.font&&D(Y.font),Y.textColor&&D(Y.textColor)}outputDefined(){return!1}}class Vs{constructor(D){this.type=br,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error("Expected two arguments.");let he=Y.parse(D[1],1,Lt);return he?new Vs(he):Y.error("No image name provided.")}evaluate(D){let Y=this.input.evaluate(D),he=ri.fromString(Y);return he&&D.availableImages&&(he.available=D.availableImages.indexOf(Y)>-1),he}eachChild(D){D(this.input)}outputDefined(){return!1}}class Ws{constructor(D){this.type=et,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(`Expected 1 argument, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1);return he?he.type.kind!=="array"&&he.type.kind!=="string"&&he.type.kind!=="value"?Y.error(`Expected argument of type string or array, but found ${Ke(he.type)} instead.`):new Ws(he):null}evaluate(D){let Y=this.input.evaluate(D);if(typeof Y=="string")return[...Y].length;if(Array.isArray(Y))return Y.length;throw new Ir(`Expected value to be of type string or array, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input)}outputDefined(){return!1}}let fs=8192;function Mi(q,D){let Y=(180+q[0])/360,he=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q[1]*Math.PI/360)))/360,Ce=Math.pow(2,D.z);return[Math.round(Y*Ce*fs),Math.round(he*Ce*fs)]}function Da(q,D){let Y=Math.pow(2,D.z);return[(Ce=(q[0]/fs+D.x)/Y,360*Ce-180),(he=(q[1]/fs+D.y)/Y,360/Math.PI*Math.atan(Math.exp((180-360*he)*Math.PI/180))-90)];var he,Ce}function pl(q,D){q[0]=Math.min(q[0],D[0]),q[1]=Math.min(q[1],D[1]),q[2]=Math.max(q[2],D[0]),q[3]=Math.max(q[3],D[1])}function Xs(q,D){return!(q[0]<=D[0]||q[2]>=D[2]||q[1]<=D[1]||q[3]>=D[3])}function Eo(q,D,Y){let he=q[0]-D[0],Ce=q[1]-D[1],Ve=q[0]-Y[0],Xe=q[1]-Y[1];return he*Xe-Ve*Ce==0&&he*Ve<=0&&Ce*Xe<=0}function Ys(q,D,Y,he){return(Ce=[he[0]-Y[0],he[1]-Y[1]])[0]*(Ve=[D[0]-q[0],D[1]-q[1]])[1]-Ce[1]*Ve[0]!=0&&!(!vo(q,D,Y,he)||!vo(Y,he,q,D));var Ce,Ve}function As(q,D,Y){for(let he of Y)for(let Ce=0;Ce(Ce=q)[1]!=(Xe=ct[At+1])[1]>Ce[1]&&Ce[0]<(Xe[0]-Ve[0])*(Ce[1]-Ve[1])/(Xe[1]-Ve[1])+Ve[0]&&(he=!he)}var Ce,Ve,Xe;return he}function wl(q,D){for(let Y of D)if(hl(q,Y))return!0;return!1}function la(q,D){for(let Y of q)if(!hl(Y,D))return!1;for(let Y=0;Y0&&ct<0||Xe<0&&ct>0}function Ps(q,D,Y){let he=[];for(let Ce=0;CeY[2]){let Ce=.5*he,Ve=q[0]-Y[0]>Ce?-he:Y[0]-q[0]>Ce?he:0;Ve===0&&(Ve=q[0]-Y[2]>Ce?-he:Y[2]-q[0]>Ce?he:0),q[0]+=Ve}pl(D,q)}function $l(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let ct of q)for(let At of ct){let Ot=[At.x+Ve[0],At.y+Ve[1]];no(Ot,D,Y,Ce),Xe.push(Ot)}return Xe}function Ku(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let At of q){let Ot=[];for(let er of At){let cr=[er.x+Ve[0],er.y+Ve[1]];pl(D,cr),Ot.push(cr)}Xe.push(Ot)}if(D[2]-D[0]<=Ce/2){(ct=D)[0]=ct[1]=1/0,ct[2]=ct[3]=-1/0;for(let At of Xe)for(let Ot of At)no(Ot,D,Y,Ce)}var ct;return Xe}class Tl{constructor(D,Y){this.type=Et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'within' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type==="FeatureCollection"){let Ce=[];for(let Ve of he.features){let{type:Xe,coordinates:ct}=Ve.geometry;Xe==="Polygon"&&Ce.push(ct),Xe==="MultiPolygon"&&Ce.push(...ct)}if(Ce.length)return new Tl(he,{type:"MultiPolygon",coordinates:Ce})}else if(he.type==="Feature"){let Ce=he.geometry.type;if(Ce==="Polygon"||Ce==="MultiPolygon")return new Tl(he,he.geometry)}else if(he.type==="Polygon"||he.type==="MultiPolygon")return new Tl(he,he)}return Y.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()==="Point")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type==="Polygon"){let ct=Ps(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!hl(Ot,ct))return!1}if(he.type==="MultiPolygon"){let ct=ls(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!wl(Ot,ct))return!1}return!0}(D,this.geometries);if(D.geometryType()==="LineString")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type==="Polygon"){let ct=Ps(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!la(Ot,ct))return!1}if(he.type==="MultiPolygon"){let ct=ls(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!Uo(Ot,ct))return!1}return!0}(D,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let Vu=class{constructor(q=[],D=(Y,he)=>Yhe?1:0){if(this.data=q,this.length=this.data.length,this.compare=D,this.length>0)for(let Y=(this.length>>1)-1;Y>=0;Y--)this._down(Y)}push(q){this.data.push(q),this._up(this.length++)}pop(){if(this.length===0)return;let q=this.data[0],D=this.data.pop();return--this.length>0&&(this.data[0]=D,this._down(0)),q}peek(){return this.data[0]}_up(q){let{data:D,compare:Y}=this,he=D[q];for(;q>0;){let Ce=q-1>>1,Ve=D[Ce];if(Y(he,Ve)>=0)break;D[q]=Ve,q=Ce}D[q]=he}_down(q){let{data:D,compare:Y}=this,he=this.length>>1,Ce=D[q];for(;q=0)break;D[q]=D[Ve],q=Ve}D[q]=Ce}};function Rl(q,D,Y,he,Ce){Qs(q,D,Y,he||q.length-1,Ce||qu)}function Qs(q,D,Y,he,Ce){for(;he>Y;){if(he-Y>600){var Ve=he-Y+1,Xe=D-Y+1,ct=Math.log(Ve),At=.5*Math.exp(2*ct/3),Ot=.5*Math.sqrt(ct*At*(Ve-At)/Ve)*(Xe-Ve/2<0?-1:1);Qs(q,D,Math.max(Y,Math.floor(D-Xe*At/Ve+Ot)),Math.min(he,Math.floor(D+(Ve-Xe)*At/Ve+Ot)),Ce)}var er=q[D],cr=Y,Sr=he;for(nu(q,Y,D),Ce(q[he],er)>0&&nu(q,Y,he);cr0;)Sr--}Ce(q[Y],er)===0?nu(q,Y,Sr):nu(q,++Sr,he),Sr<=D&&(Y=Sr+1),D<=Sr&&(he=Sr-1)}}function nu(q,D,Y){var he=q[D];q[D]=q[Y],q[Y]=he}function qu(q,D){return qD?1:0}function kc(q,D){if(q.length<=1)return[q];let Y=[],he,Ce;for(let Ve of q){let Xe=sh(Ve);Xe!==0&&(Ve.area=Math.abs(Xe),Ce===void 0&&(Ce=Xe<0),Ce===Xe<0?(he&&Y.push(he),he=[Ve]):he.push(Ve))}if(he&&Y.push(he),D>1)for(let Ve=0;Ve1?(Ot=D[At+1][0],er=D[At+1][1]):Nr>0&&(Ot+=cr/this.kx*Nr,er+=Sr/this.ky*Nr)),cr=this.wrap(Y[0]-Ot)*this.kx,Sr=(Y[1]-er)*this.ky;let rn=cr*cr+Sr*Sr;rn180;)D-=360;return D}}function Ql(q,D){return D[0]-q[0]}function Al(q){return q[1]-q[0]+1}function oc(q,D){return q[1]>=q[0]&&q[1]q[1])return[null,null];let Y=Al(q);if(D){if(Y===2)return[q,null];let Ce=Math.floor(Y/2);return[[q[0],q[0]+Ce],[q[0]+Ce,q[1]]]}if(Y===1)return[q,null];let he=Math.floor(Y/2)-1;return[[q[0],q[0]+he],[q[0]+he+1,q[1]]]}function nl(q,D){if(!oc(D,q.length))return[1/0,1/0,-1/0,-1/0];let Y=[1/0,1/0,-1/0,-1/0];for(let he=D[0];he<=D[1];++he)pl(Y,q[he]);return Y}function Ml(q){let D=[1/0,1/0,-1/0,-1/0];for(let Y of q)for(let he of Y)pl(D,he);return D}function Zs(q){return q[0]!==-1/0&&q[1]!==-1/0&&q[2]!==1/0&&q[3]!==1/0}function sl(q,D,Y){if(!Zs(q)||!Zs(D))return NaN;let he=0,Ce=0;return q[2]D[2]&&(he=q[0]-D[2]),q[1]>D[3]&&(Ce=q[1]-D[3]),q[3]=he)return he;if(Xs(Ce,Ve)){if(Sh(q,D))return 0}else if(Sh(D,q))return 0;let Xe=1/0;for(let ct of q)for(let At=0,Ot=ct.length,er=Ot-1;At0;){let At=Xe.pop();if(At[0]>=Ve)continue;let Ot=At[1],er=D?50:100;if(Al(Ot)<=er){if(!oc(Ot,q.length))return NaN;if(D){let cr=ds(q,Ot,Y,he);if(isNaN(cr)||cr===0)return cr;Ve=Math.min(Ve,cr)}else for(let cr=Ot[0];cr<=Ot[1];++cr){let Sr=Nh(q[cr],Y,he);if(Ve=Math.min(Ve,Sr),Ve===0)return 0}}else{let cr=gc(Ot,D);Vo(Xe,Ve,he,q,ct,cr[0]),Vo(Xe,Ve,he,q,ct,cr[1])}}return Ve}function pu(q,D,Y,he,Ce,Ve=1/0){let Xe=Math.min(Ve,Ce.distance(q[0],Y[0]));if(Xe===0)return Xe;let ct=new Vu([[0,[0,q.length-1],[0,Y.length-1]]],Ql);for(;ct.length>0;){let At=ct.pop();if(At[0]>=Xe)continue;let Ot=At[1],er=At[2],cr=D?50:100,Sr=he?50:100;if(Al(Ot)<=cr&&Al(er)<=Sr){if(!oc(Ot,q.length)&&oc(er,Y.length))return NaN;let Nr;if(D&&he)Nr=$u(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr);else if(D&&!he){let rn=q.slice(Ot[0],Ot[1]+1);for(let mn=er[0];mn<=er[1];++mn)if(Nr=sc(Y[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else if(!D&&he){let rn=Y.slice(er[0],er[1]+1);for(let mn=Ot[0];mn<=Ot[1];++mn)if(Nr=sc(q[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else Nr=ll(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr)}else{let Nr=gc(Ot,D),rn=gc(er,he);rf(ct,Xe,Ce,q,Y,Nr[0],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[0],rn[1]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[1])}}return Xe}function Df(q){return q.type==="MultiPolygon"?q.coordinates.map(D=>({type:"Polygon",coordinates:D})):q.type==="MultiLineString"?q.coordinates.map(D=>({type:"LineString",coordinates:D})):q.type==="MultiPoint"?q.coordinates.map(D=>({type:"Point",coordinates:D})):[q]}class Lc{constructor(D,Y){this.type=et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'distance' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type==="FeatureCollection")return new Lc(he,he.features.map(Ce=>Df(Ce.geometry)).flat());if(he.type==="Feature")return new Lc(he,Df(he.geometry));if("type"in he&&"coordinates"in he)return new Lc(he,Df(he))}return Y.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()==="Point")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case"Point":ct=Math.min(ct,pu(Ve,!1,[At.coordinates],!1,Xe,ct));break;case"LineString":ct=Math.min(ct,pu(Ve,!1,At.coordinates,!0,Xe,ct));break;case"Polygon":ct=Math.min(ct,Qu(Ve,!1,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()==="LineString")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case"Point":ct=Math.min(ct,pu(Ve,!0,[At.coordinates],!1,Xe,ct));break;case"LineString":ct=Math.min(ct,pu(Ve,!0,At.coordinates,!0,Xe,ct));break;case"Polygon":ct=Math.min(ct,Qu(Ve,!0,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()==="Polygon")return function(Y,he){let Ce=Y.geometry();if(Ce.length===0||Ce[0].length===0)return NaN;let Ve=kc(Ce,0).map(At=>At.map(Ot=>Ot.map(er=>Da([er.x,er.y],Y.canonical)))),Xe=new bf(Ve[0][0][0][1]),ct=1/0;for(let At of he)for(let Ot of Ve){switch(At.type){case"Point":ct=Math.min(ct,Qu([At.coordinates],!1,Ot,Xe,ct));break;case"LineString":ct=Math.min(ct,Qu(At.coordinates,!0,Ot,Xe,ct));break;case"Polygon":ct=Math.min(ct,Bs(Ot,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}let nf={"==":Ya,"!=":zo,">":Yo,"<":Ka,">=":hs,"<=":ns,array:Mr,at:or,boolean:Mr,case:Zn,coalesce:pa,collator:ho,format:Ls,image:Vs,in:yr,"index-of":on,interpolate:Xa,"interpolate-hcl":Xa,"interpolate-lab":Xa,length:Ws,let:gn,literal:Pr,match:An,number:Mr,"number-format":Ro,object:Mr,slice:Bn,step:Dn,string:Mr,"to-boolean":Ur,"to-color":Ur,"to-number":Ur,"to-string":Ur,var:kt,within:Tl,distance:Lc};class Vl{constructor(D,Y,he,Ce){this.name=D,this.type=Y,this._evaluate=he,this.args=Ce}evaluate(D){return this._evaluate(D,this.args)}eachChild(D){this.args.forEach(D)}outputDefined(){return!1}static parse(D,Y){let he=D[0],Ce=Vl.definitions[he];if(!Ce)return Y.error(`Unknown expression "${he}". If you wanted a literal array, use ["literal", [...]].`,0);let Ve=Array.isArray(Ce)?Ce[0]:Ce.type,Xe=Array.isArray(Ce)?[[Ce[1],Ce[2]]]:Ce.overloads,ct=Xe.filter(([Ot])=>!Array.isArray(Ot)||Ot.length===D.length-1),At=null;for(let[Ot,er]of ct){At=new vn(Y.registry,Ff,Y.path,null,Y.scope);let cr=[],Sr=!1;for(let Nr=1;Nr{return Sr=cr,Array.isArray(Sr)?`(${Sr.map(Ke).join(", ")})`:`(${Ke(Sr.type)}...)`;var Sr}).join(" | "),er=[];for(let cr=1;cr{Y=D?Y&&Ff(he):Y&&he instanceof Pr}),!!Y&&$f(q)&&Tf(q,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}function $f(q){if(q instanceof Vl&&(q.name==="get"&&q.args.length===1||q.name==="feature-state"||q.name==="has"&&q.args.length===1||q.name==="properties"||q.name==="geometry-type"||q.name==="id"||/^filter-/.test(q.name))||q instanceof Tl||q instanceof Lc)return!1;let D=!0;return q.eachChild(Y=>{D&&!$f(Y)&&(D=!1)}),D}function ec(q){if(q instanceof Vl&&q.name==="feature-state")return!1;let D=!0;return q.eachChild(Y=>{D&&!ec(Y)&&(D=!1)}),D}function Tf(q,D){if(q instanceof Vl&&D.indexOf(q.name)>=0)return!1;let Y=!0;return q.eachChild(he=>{Y&&!Tf(he,D)&&(Y=!1)}),Y}function Pc(q){return{result:"success",value:q}}function Wc(q){return{result:"error",value:q}}function Pu(q){return q["property-type"]==="data-driven"||q["property-type"]==="cross-faded-data-driven"}function cf(q){return!!q.expression&&q.expression.parameters.indexOf("zoom")>-1}function Ic(q){return!!q.expression&&q.expression.interpolated}function Ks(q){return q instanceof Number?"number":q instanceof String?"string":q instanceof Boolean?"boolean":Array.isArray(q)?"array":q===null?"null":typeof q}function Of(q){return typeof q=="object"&&q!==null&&!Array.isArray(q)}function Eh(q){return q}function Qf(q,D){let Y=D.type==="color",he=q.stops&&typeof q.stops[0][0]=="object",Ce=he||!(he||q.property!==void 0),Ve=q.type||(Ic(D)?"exponential":"interval");if(Y||D.type==="padding"){let er=Y?Vt.parse:en.parse;(q=ue({},q)).stops&&(q.stops=q.stops.map(cr=>[cr[0],er(cr[1])])),q.default=er(q.default?q.default:D.default)}if(q.colorSpace&&(Xe=q.colorSpace)!=="rgb"&&Xe!=="hcl"&&Xe!=="lab")throw new Error(`Unknown color space: "${q.colorSpace}"`);var Xe;let ct,At,Ot;if(Ve==="exponential")ct=eh;else if(Ve==="interval")ct=Iu;else if(Ve==="categorical"){ct=lh,At=Object.create(null);for(let er of q.stops)At[er[0]]=er[1];Ot=typeof q.stops[0][0]}else{if(Ve!=="identity")throw new Error(`Unknown function type "${Ve}"`);ct=su}if(he){let er={},cr=[];for(let rn=0;rnrn[0]),evaluate:({zoom:rn},mn)=>eh({stops:Sr,base:q.base},D,rn).evaluate(rn,mn)}}if(Ce){let er=Ve==="exponential"?{name:"exponential",base:q.base!==void 0?q.base:1}:null;return{kind:"camera",interpolationType:er,interpolationFactor:Xa.interpolationFactor.bind(void 0,er),zoomStops:q.stops.map(cr=>cr[0]),evaluate:({zoom:cr})=>ct(q,D,cr,At,Ot)}}return{kind:"source",evaluate(er,cr){let Sr=cr&&cr.properties?cr.properties[q.property]:void 0;return Sr===void 0?af(q.default,D.default):ct(q,D,Sr,At,Ot)}}}function af(q,D,Y){return q!==void 0?q:D!==void 0?D:Y!==void 0?Y:void 0}function lh(q,D,Y,he,Ce){return af(typeof Y===Ce?he[Y]:void 0,q.default,D.default)}function Iu(q,D,Y){if(Ks(Y)!=="number")return af(q.default,D.default);let he=q.stops.length;if(he===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[he-1][0])return q.stops[he-1][1];let Ce=wn(q.stops.map(Ve=>Ve[0]),Y);return q.stops[Ce][1]}function eh(q,D,Y){let he=q.base!==void 0?q.base:1;if(Ks(Y)!=="number")return af(q.default,D.default);let Ce=q.stops.length;if(Ce===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[Ce-1][0])return q.stops[Ce-1][1];let Ve=wn(q.stops.map(er=>er[0]),Y),Xe=function(er,cr,Sr,Nr){let rn=Nr-Sr,mn=er-Sr;return rn===0?0:cr===1?mn/rn:(Math.pow(cr,mn)-1)/(Math.pow(cr,rn)-1)}(Y,he,q.stops[Ve][0],q.stops[Ve+1][0]),ct=q.stops[Ve][1],At=q.stops[Ve+1][1],Ot=yo[D.type]||Eh;return typeof ct.evaluate=="function"?{evaluate(...er){let cr=ct.evaluate.apply(void 0,er),Sr=At.evaluate.apply(void 0,er);if(cr!==void 0&&Sr!==void 0)return Ot(cr,Sr,Xe,q.colorSpace)}}:Ot(ct,At,Xe,q.colorSpace)}function su(q,D,Y){switch(D.type){case"color":Y=Vt.parse(Y);break;case"formatted":Y=xn.fromString(Y.toString());break;case"resolvedImage":Y=ri.fromString(Y.toString());break;case"padding":Y=en.parse(Y);break;default:Ks(Y)===D.type||D.type==="enum"&&D.values[Y]||(Y=void 0)}return af(Y,q.default,D.default)}Vl.register(nf,{error:[{kind:"error"},[Lt],(q,[D])=>{throw new Ir(D.evaluate(q))}],typeof:[Lt,[fr],(q,[D])=>Ke(gt(D.evaluate(q)))],"to-rgba":[Be(et,4),[Bt],(q,[D])=>{let[Y,he,Ce,Ve]=D.evaluate(q).rgb;return[255*Y,255*he,255*Ce,Ve]}],rgb:[Bt,[et,et,et],Jf],rgba:[Bt,[et,et,et,et],Jf],has:{type:Et,overloads:[[[Lt],(q,[D])=>zf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>zf(D.evaluate(q),Y.evaluate(q))]]},get:{type:fr,overloads:[[[Lt],(q,[D])=>wf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>wf(D.evaluate(q),Y.evaluate(q))]]},"feature-state":[fr,[Lt],(q,[D])=>wf(D.evaluate(q),q.featureState||{})],properties:[qt,[],q=>q.properties()],"geometry-type":[Lt,[],q=>q.geometryType()],id:[fr,[],q=>q.id()],zoom:[et,[],q=>q.globals.zoom],"heatmap-density":[et,[],q=>q.globals.heatmapDensity||0],"line-progress":[et,[],q=>q.globals.lineProgress||0],accumulated:[fr,[],q=>q.globals.accumulated===void 0?null:q.globals.accumulated],"+":[et,Gc(et),(q,D)=>{let Y=0;for(let he of D)Y+=he.evaluate(q);return Y}],"*":[et,Gc(et),(q,D)=>{let Y=1;for(let he of D)Y*=he.evaluate(q);return Y}],"-":{type:et,overloads:[[[et,et],(q,[D,Y])=>D.evaluate(q)-Y.evaluate(q)],[[et],(q,[D])=>-D.evaluate(q)]]},"/":[et,[et,et],(q,[D,Y])=>D.evaluate(q)/Y.evaluate(q)],"%":[et,[et,et],(q,[D,Y])=>D.evaluate(q)%Y.evaluate(q)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],"^":[et,[et,et],(q,[D,Y])=>Math.pow(D.evaluate(q),Y.evaluate(q))],sqrt:[et,[et],(q,[D])=>Math.sqrt(D.evaluate(q))],log10:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN10],ln:[et,[et],(q,[D])=>Math.log(D.evaluate(q))],log2:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN2],sin:[et,[et],(q,[D])=>Math.sin(D.evaluate(q))],cos:[et,[et],(q,[D])=>Math.cos(D.evaluate(q))],tan:[et,[et],(q,[D])=>Math.tan(D.evaluate(q))],asin:[et,[et],(q,[D])=>Math.asin(D.evaluate(q))],acos:[et,[et],(q,[D])=>Math.acos(D.evaluate(q))],atan:[et,[et],(q,[D])=>Math.atan(D.evaluate(q))],min:[et,Gc(et),(q,D)=>Math.min(...D.map(Y=>Y.evaluate(q)))],max:[et,Gc(et),(q,D)=>Math.max(...D.map(Y=>Y.evaluate(q)))],abs:[et,[et],(q,[D])=>Math.abs(D.evaluate(q))],round:[et,[et],(q,[D])=>{let Y=D.evaluate(q);return Y<0?-Math.round(-Y):Math.round(Y)}],floor:[et,[et],(q,[D])=>Math.floor(D.evaluate(q))],ceil:[et,[et],(q,[D])=>Math.ceil(D.evaluate(q))],"filter-==":[Et,[Lt,fr],(q,[D,Y])=>q.properties()[D.value]===Y.value],"filter-id-==":[Et,[fr],(q,[D])=>q.id()===D.value],"filter-type-==":[Et,[Lt],(q,[D])=>q.geometryType()===D.value],"filter-<":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>Ce}],"filter-id->":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>he}],"filter-<=":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he<=Ce}],"filter-id-<=":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y<=he}],"filter->=":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>=Ce}],"filter-id->=":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>=he}],"filter-has":[Et,[fr],(q,[D])=>D.value in q.properties()],"filter-has-id":[Et,[],q=>q.id()!==null&&q.id()!==void 0],"filter-type-in":[Et,[Be(Lt)],(q,[D])=>D.value.indexOf(q.geometryType())>=0],"filter-id-in":[Et,[Be(fr)],(q,[D])=>D.value.indexOf(q.id())>=0],"filter-in-small":[Et,[Lt,Be(fr)],(q,[D,Y])=>Y.value.indexOf(q.properties()[D.value])>=0],"filter-in-large":[Et,[Lt,Be(fr)],(q,[D,Y])=>function(he,Ce,Ve,Xe){for(;Ve<=Xe;){let ct=Ve+Xe>>1;if(Ce[ct]===he)return!0;Ce[ct]>he?Xe=ct-1:Ve=ct+1}return!1}(q.properties()[D.value],Y.value,0,Y.value.length-1)],all:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)&&Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(!Y.evaluate(q))return!1;return!0}]]},any:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)||Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(Y.evaluate(q))return!0;return!1}]]},"!":[Et,[Et],(q,[D])=>!D.evaluate(q)],"is-supported-script":[Et,[Lt],(q,[D])=>{let Y=q.globals&&q.globals.isSupportedScript;return!Y||Y(D.evaluate(q))}],upcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toUpperCase()],downcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toLowerCase()],concat:[Lt,Gc(fr),(q,D)=>D.map(Y=>yt(Y.evaluate(q))).join("")],"resolved-locale":[Lt,[ar],(q,[D])=>D.evaluate(q).resolvedLocale()]});class Ru{constructor(D,Y){var he;this.expression=D,this._warningHistory={},this._evaluator=new nn,this._defaultValue=Y?(he=Y).type==="color"&&Of(he.default)?new Vt(0,0,0,0):he.type==="color"?Vt.parse(he.default)||null:he.type==="padding"?en.parse(he.default)||null:he.type==="variableAnchorOffsetCollection"?Wn.parse(he.default)||null:he.default===void 0?null:he.default:null,this._enumValues=Y&&Y.type==="enum"?Y.values:null}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._evaluator.globals=D,this._evaluator.feature=Y,this._evaluator.featureState=he,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe,this.expression.evaluate(this._evaluator)}evaluate(D,Y,he,Ce,Ve,Xe){this._evaluator.globals=D,this._evaluator.feature=Y||null,this._evaluator.featureState=he||null,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe||null;try{let ct=this.expression.evaluate(this._evaluator);if(ct==null||typeof ct=="number"&&ct!=ct)return this._defaultValue;if(this._enumValues&&!(ct in this._enumValues))throw new Ir(`Expected value to be one of ${Object.keys(this._enumValues).map(At=>JSON.stringify(At)).join(", ")}, but found ${JSON.stringify(ct)} instead.`);return ct}catch(ct){return this._warningHistory[ct.message]||(this._warningHistory[ct.message]=!0,typeof console<"u"&&console.warn(ct.message)),this._defaultValue}}}function yc(q){return Array.isArray(q)&&q.length>0&&typeof q[0]=="string"&&q[0]in nf}function Dl(q,D){let Y=new vn(nf,Ff,[],D?function(Ce){let Ve={color:Bt,string:Lt,number:et,enum:Lt,boolean:Et,formatted:Rr,padding:gr,resolvedImage:br,variableAnchorOffsetCollection:_t};return Ce.type==="array"?Be(Ve[Ce.value]||fr,Ce.length):Ve[Ce.type]}(D):void 0),he=Y.parse(q,void 0,void 0,void 0,D&&D.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?Pc(new Ru(he,D)):Wc(Y.errors)}class Rc{constructor(D,Y){this.kind=D,this._styleExpression=Y,this.isStateDependent=D!=="constant"&&!ec(Y.expression)}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}}class tc{constructor(D,Y,he,Ce){this.kind=D,this.zoomStops=he,this._styleExpression=Y,this.isStateDependent=D!=="camera"&&!ec(Y.expression),this.interpolationType=Ce}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}interpolationFactor(D,Y,he){return this.interpolationType?Xa.interpolationFactor(this.interpolationType,D,Y,he):0}}function xu(q,D){let Y=Dl(q,D);if(Y.result==="error")return Y;let he=Y.value.expression,Ce=$f(he);if(!Ce&&!Pu(D))return Wc([new Oe("","data expressions not supported")]);let Ve=Tf(he,["zoom"]);if(!Ve&&!cf(D))return Wc([new Oe("","zoom expressions not supported")]);let Xe=th(he);return Xe||Ve?Xe instanceof Oe?Wc([Xe]):Xe instanceof Xa&&!Ic(D)?Wc([new Oe("",'"interpolate" expressions cannot be used with this property')]):Pc(Xe?new tc(Ce?"camera":"composite",Y.value,Xe.labels,Xe instanceof Xa?Xe.interpolation:void 0):new Rc(Ce?"constant":"source",Y.value)):Wc([new Oe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class Sl{constructor(D,Y){this._parameters=D,this._specification=Y,ue(this,Qf(this._parameters,this._specification))}static deserialize(D){return new Sl(D._parameters,D._specification)}static serialize(D){return{_parameters:D._parameters,_specification:D._specification}}}function th(q){let D=null;if(q instanceof gn)D=th(q.result);else if(q instanceof pa){for(let Y of q.args)if(D=th(Y),D)break}else(q instanceof Dn||q instanceof Xa)&&q.input instanceof Vl&&q.input.name==="zoom"&&(D=q);return D instanceof Oe||q.eachChild(Y=>{let he=th(Y);he instanceof Oe?D=he:!D&&he?D=new Oe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):D&&he&&D!==he&&(D=new Oe("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),D}function uh(q){if(q===!0||q===!1)return!0;if(!Array.isArray(q)||q.length===0)return!1;switch(q[0]){case"has":return q.length>=2&&q[1]!=="$id"&&q[1]!=="$type";case"in":return q.length>=3&&(typeof q[1]!="string"||Array.isArray(q[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return q.length!==3||Array.isArray(q[1])||Array.isArray(q[2]);case"any":case"all":for(let D of q.slice(1))if(!uh(D)&&typeof D!="boolean")return!1;return!0;default:return!0}}let Hu={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function _c(q){if(q==null)return{filter:()=>!0,needGeometry:!1};uh(q)||(q=of(q));let D=Dl(q,Hu);if(D.result==="error")throw new Error(D.value.map(Y=>`${Y.key}: ${Y.message}`).join(", "));return{filter:(Y,he,Ce)=>D.value.evaluate(Y,he,{},Ce),needGeometry:Uh(q)}}function lc(q,D){return qD?1:0}function Uh(q){if(!Array.isArray(q))return!1;if(q[0]==="within"||q[0]==="distance")return!0;for(let D=1;D"||D==="<="||D===">="?ff(q[1],q[2],D):D==="any"?(Y=q.slice(1),["any"].concat(Y.map(of))):D==="all"?["all"].concat(q.slice(1).map(of)):D==="none"?["all"].concat(q.slice(1).map(of).map(lu)):D==="in"?Du(q[1],q.slice(2)):D==="!in"?lu(Du(q[1],q.slice(2))):D==="has"?Af(q[1]):D!=="!has"||lu(Af(q[1]));var Y}function ff(q,D,Y){switch(q){case"$type":return[`filter-type-${Y}`,D];case"$id":return[`filter-id-${Y}`,D];default:return[`filter-${Y}`,q,D]}}function Du(q,D){if(D.length===0)return!1;switch(q){case"$type":return["filter-type-in",["literal",D]];case"$id":return["filter-id-in",["literal",D]];default:return D.length>200&&!D.some(Y=>typeof Y!=typeof D[0])?["filter-in-large",q,["literal",D.sort(lc)]]:["filter-in-small",q,["literal",D]]}}function Af(q){switch(q){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",q]}}function lu(q){return["!",q]}function Xc(q){let D=typeof q;if(D==="number"||D==="boolean"||D==="string"||q==null)return JSON.stringify(q);if(Array.isArray(q)){let Ce="[";for(let Ve of q)Ce+=`${Xc(Ve)},`;return`${Ce}]`}let Y=Object.keys(q).sort(),he="{";for(let Ce=0;Cehe.maximum?[new pe(D,Y,`${Y} is greater than the maximum value ${he.maximum}`)]:[]}function sf(q){let D=q.valueSpec,Y=dl(q.value.type),he,Ce,Ve,Xe={},ct=Y!=="categorical"&&q.value.property===void 0,At=!ct,Ot=Ks(q.value.stops)==="array"&&Ks(q.value.stops[0])==="array"&&Ks(q.value.stops[0][0])==="object",er=wu({key:q.key,value:q.value,valueSpec:q.styleSpec.function,validateSpec:q.validateSpec,style:q.style,styleSpec:q.styleSpec,objectElementValidators:{stops:function(Nr){if(Y==="identity")return[new pe(Nr.key,Nr.value,'identity function may not have a "stops" property')];let rn=[],mn=Nr.value;return rn=rn.concat(Bf({key:Nr.key,value:mn,valueSpec:Nr.valueSpec,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,arrayElementValidator:cr})),Ks(mn)==="array"&&mn.length===0&&rn.push(new pe(Nr.key,mn,"array must have at least one stop")),rn},default:function(Nr){return Nr.validateSpec({key:Nr.key,value:Nr.value,valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec})}}});return Y==="identity"&&ct&&er.push(new pe(q.key,q.value,'missing required property "property"')),Y==="identity"||q.value.stops||er.push(new pe(q.key,q.value,'missing required property "stops"')),Y==="exponential"&&q.valueSpec.expression&&!Ic(q.valueSpec)&&er.push(new pe(q.key,q.value,"exponential functions not supported")),q.styleSpec.$version>=8&&(At&&!Pu(q.valueSpec)?er.push(new pe(q.key,q.value,"property functions not supported")):ct&&!cf(q.valueSpec)&&er.push(new pe(q.key,q.value,"zoom functions not supported"))),Y!=="categorical"&&!Ot||q.value.property!==void 0||er.push(new pe(q.key,q.value,'"property" property is required')),er;function cr(Nr){let rn=[],mn=Nr.value,Gn=Nr.key;if(Ks(mn)!=="array")return[new pe(Gn,mn,`array expected, ${Ks(mn)} found`)];if(mn.length!==2)return[new pe(Gn,mn,`array length 2 expected, length ${mn.length} found`)];if(Ot){if(Ks(mn[0])!=="object")return[new pe(Gn,mn,`object expected, ${Ks(mn[0])} found`)];if(mn[0].zoom===void 0)return[new pe(Gn,mn,"object stop key must have zoom")];if(mn[0].value===void 0)return[new pe(Gn,mn,"object stop key must have value")];if(Ve&&Ve>dl(mn[0].zoom))return[new pe(Gn,mn[0].zoom,"stop zoom values must appear in ascending order")];dl(mn[0].zoom)!==Ve&&(Ve=dl(mn[0].zoom),Ce=void 0,Xe={}),rn=rn.concat(wu({key:`${Gn}[0]`,value:mn[0],valueSpec:{zoom:{}},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,objectElementValidators:{zoom:ul,value:Sr}}))}else rn=rn.concat(Sr({key:`${Gn}[0]`,value:mn[0],valueSpec:{},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec},mn));return yc(bu(mn[1]))?rn.concat([new pe(`${Gn}[1]`,mn[1],"expressions are not allowed in function stops.")]):rn.concat(Nr.validateSpec({key:`${Gn}[1]`,value:mn[1],valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec}))}function Sr(Nr,rn){let mn=Ks(Nr.value),Gn=dl(Nr.value),ei=Nr.value!==null?Nr.value:rn;if(he){if(mn!==he)return[new pe(Nr.key,ei,`${mn} stop domain type must match previous stop domain type ${he}`)]}else he=mn;if(mn!=="number"&&mn!=="string"&&mn!=="boolean")return[new pe(Nr.key,ei,"stop domain value must be a number, string, or boolean")];if(mn!=="number"&&Y!=="categorical"){let Ri=`number expected, ${mn} found`;return Pu(D)&&Y===void 0&&(Ri+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new pe(Nr.key,ei,Ri)]}return Y!=="categorical"||mn!=="number"||isFinite(Gn)&&Math.floor(Gn)===Gn?Y!=="categorical"&&mn==="number"&&Ce!==void 0&&Gnnew pe(`${q.key}${he.key}`,q.value,he.message));let Y=D.value.expression||D.value._styleExpression.expression;if(q.expressionContext==="property"&&q.propertyKey==="text-font"&&!Y.outputDefined())return[new pe(q.key,q.value,`Invalid data expression for "${q.propertyKey}". Output values must be contained as literals within the expression.`)];if(q.expressionContext==="property"&&q.propertyType==="layout"&&!ec(Y))return[new pe(q.key,q.value,'"feature-state" data expressions are not supported with layout properties.')];if(q.expressionContext==="filter"&&!ec(Y))return[new pe(q.key,q.value,'"feature-state" data expressions are not supported with filters.')];if(q.expressionContext&&q.expressionContext.indexOf("cluster")===0){if(!Tf(Y,["zoom","feature-state"]))return[new pe(q.key,q.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(q.expressionContext==="cluster-initial"&&!$f(Y))return[new pe(q.key,q.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Gu(q){let D=q.key,Y=q.value,he=q.valueSpec,Ce=[];return Array.isArray(he.values)?he.values.indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${he.values.join(", ")}], ${JSON.stringify(Y)} found`)):Object.keys(he.values).indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${Object.keys(he.values).join(", ")}], ${JSON.stringify(Y)} found`)),Ce}function hf(q){return uh(bu(q.value))?xc(ue({},q,{expressionContext:"filter",valueSpec:{value:"boolean"}})):uc(q)}function uc(q){let D=q.value,Y=q.key;if(Ks(D)!=="array")return[new pe(Y,D,`array expected, ${Ks(D)} found`)];let he=q.styleSpec,Ce,Ve=[];if(D.length<1)return[new pe(Y,D,"filter array must have at least 1 element")];switch(Ve=Ve.concat(Gu({key:`${Y}[0]`,value:D[0],valueSpec:he.filter_operator,style:q.style,styleSpec:q.styleSpec})),dl(D[0])){case"<":case"<=":case">":case">=":D.length>=2&&dl(D[1])==="$type"&&Ve.push(new pe(Y,D,`"$type" cannot be use with operator "${D[0]}"`));case"==":case"!=":D.length!==3&&Ve.push(new pe(Y,D,`filter array for operator "${D[0]}" must have 3 elements`));case"in":case"!in":D.length>=2&&(Ce=Ks(D[1]),Ce!=="string"&&Ve.push(new pe(`${Y}[1]`,D[1],`string expected, ${Ce} found`)));for(let Xe=2;Xe{Ot in Y&&D.push(new pe(he,Y[Ot],`"${Ot}" is prohibited for ref layers`))}),Ce.layers.forEach(Ot=>{dl(Ot.id)===ct&&(At=Ot)}),At?At.ref?D.push(new pe(he,Y.ref,"ref cannot reference another ref layer")):Xe=dl(At.type):D.push(new pe(he,Y.ref,`ref layer "${ct}" not found`))}else if(Xe!=="background")if(Y.source){let At=Ce.sources&&Ce.sources[Y.source],Ot=At&&dl(At.type);At?Ot==="vector"&&Xe==="raster"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a raster source`)):Ot!=="raster-dem"&&Xe==="hillshade"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a raster-dem source`)):Ot==="raster"&&Xe!=="raster"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a vector source`)):Ot!=="vector"||Y["source-layer"]?Ot==="raster-dem"&&Xe!=="hillshade"?D.push(new pe(he,Y.source,"raster-dem source can only be used with layer type 'hillshade'.")):Xe!=="line"||!Y.paint||!Y.paint["line-gradient"]||Ot==="geojson"&&At.lineMetrics||D.push(new pe(he,Y,`layer "${Y.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):D.push(new pe(he,Y,`layer "${Y.id}" must specify a "source-layer"`)):D.push(new pe(he,Y.source,`source "${Y.source}" not found`))}else D.push(new pe(he,Y,'missing required property "source"'));return D=D.concat(wu({key:he,value:Y,valueSpec:Ve.layer,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":()=>[],type:()=>q.validateSpec({key:`${he}.type`,value:Y.type,valueSpec:Ve.layer.type,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,object:Y,objectKey:"type"}),filter:hf,layout:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{"*":Ot=>Xl(ue({layerType:Xe},Ot))}}),paint:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{"*":Ot=>Nf(ue({layerType:Xe},Ot))}})}})),D}function Wu(q){let D=q.value,Y=q.key,he=Ks(D);return he!=="string"?[new pe(Y,D,`string expected, ${he} found`)]:[]}let bc={promoteId:function({key:q,value:D}){if(Ks(D)==="string")return Wu({key:q,value:D});{let Y=[];for(let he in D)Y.push(...Wu({key:`${q}.${he}`,value:D[he]}));return Y}}};function cc(q){let D=q.value,Y=q.key,he=q.styleSpec,Ce=q.style,Ve=q.validateSpec;if(!D.type)return[new pe(Y,D,'"type" is required')];let Xe=dl(D.type),ct;switch(Xe){case"vector":case"raster":return ct=wu({key:Y,value:D,valueSpec:he[`source_${Xe.replace("-","_")}`],style:q.style,styleSpec:he,objectElementValidators:bc,validateSpec:Ve}),ct;case"raster-dem":return ct=function(At){var Ot;let er=(Ot=At.sourceName)!==null&&Ot!==void 0?Ot:"",cr=At.value,Sr=At.styleSpec,Nr=Sr.source_raster_dem,rn=At.style,mn=[],Gn=Ks(cr);if(cr===void 0)return mn;if(Gn!=="object")return mn.push(new pe("source_raster_dem",cr,`object expected, ${Gn} found`)),mn;let ei=dl(cr.encoding)==="custom",Ri=["redFactor","greenFactor","blueFactor","baseShift"],fi=At.value.encoding?`"${At.value.encoding}"`:"Default";for(let Si in cr)!ei&&Ri.includes(Si)?mn.push(new pe(Si,cr[Si],`In "${er}": "${Si}" is only valid when "encoding" is set to "custom". ${fi} encoding found`)):Nr[Si]?mn=mn.concat(At.validateSpec({key:Si,value:cr[Si],valueSpec:Nr[Si],validateSpec:At.validateSpec,style:rn,styleSpec:Sr})):mn.push(new pe(Si,cr[Si],`unknown property "${Si}"`));return mn}({sourceName:Y,value:D,style:q.style,styleSpec:he,validateSpec:Ve}),ct;case"geojson":if(ct=wu({key:Y,value:D,valueSpec:he.source_geojson,style:Ce,styleSpec:he,validateSpec:Ve,objectElementValidators:bc}),D.cluster)for(let At in D.clusterProperties){let[Ot,er]=D.clusterProperties[At],cr=typeof Ot=="string"?[Ot,["accumulated"],["get",At]]:Ot;ct.push(...xc({key:`${Y}.${At}.map`,value:er,validateSpec:Ve,expressionContext:"cluster-map"})),ct.push(...xc({key:`${Y}.${At}.reduce`,value:cr,validateSpec:Ve,expressionContext:"cluster-reduce"}))}return ct;case"video":return wu({key:Y,value:D,valueSpec:he.source_video,style:Ce,validateSpec:Ve,styleSpec:he});case"image":return wu({key:Y,value:D,valueSpec:he.source_image,style:Ce,validateSpec:Ve,styleSpec:he});case"canvas":return[new pe(Y,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Gu({key:`${Y}.type`,value:D.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:Ce,validateSpec:Ve,styleSpec:he})}}function zl(q){let D=q.value,Y=q.styleSpec,he=Y.light,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!=="object")return Ve=Ve.concat([new pe("light",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D){let At=ct.match(/^(.*)-transition$/);Ve=Ve.concat(At&&he[At[1]]&&he[At[1]].transition?q.validateSpec({key:ct,value:D[ct],valueSpec:Y.transition,validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)])}return Ve}function uu(q){let D=q.value,Y=q.styleSpec,he=Y.sky,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!=="object")return[new pe("sky",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Xe}function fc(q){let D=q.value,Y=q.styleSpec,he=Y.terrain,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!=="object")return Ve=Ve.concat([new pe("terrain",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D)Ve=Ve.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Ve}function Dc(q){let D=[],Y=q.value,he=q.key;if(Array.isArray(Y)){let Ce=[],Ve=[];for(let Xe in Y)Y[Xe].id&&Ce.includes(Y[Xe].id)&&D.push(new pe(he,Y,`all the sprites' ids must be unique, but ${Y[Xe].id} is duplicated`)),Ce.push(Y[Xe].id),Y[Xe].url&&Ve.includes(Y[Xe].url)&&D.push(new pe(he,Y,`all the sprites' URLs must be unique, but ${Y[Xe].url} is duplicated`)),Ve.push(Y[Xe].url),D=D.concat(wu({key:`${he}[${Xe}]`,value:Y[Xe],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:q.validateSpec}));return D}return Wu({key:he,value:Y})}let rc={"*":()=>[],array:Bf,boolean:function(q){let D=q.value,Y=q.key,he=Ks(D);return he!=="boolean"?[new pe(Y,D,`boolean expected, ${he} found`)]:[]},number:ul,color:function(q){let D=q.key,Y=q.value,he=Ks(Y);return he!=="string"?[new pe(D,Y,`color expected, ${he} found`)]:Vt.parse(String(Y))?[]:[new pe(D,Y,`color expected, "${Y}" found`)]},constants:Mf,enum:Gu,filter:hf,function:sf,layer:Uf,object:wu,source:cc,light:zl,sky:uu,terrain:fc,projection:function(q){let D=q.value,Y=q.styleSpec,he=Y.projection,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!=="object")return[new pe("projection",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Xe},string:Wu,formatted:function(q){return Wu(q).length===0?[]:xc(q)},resolvedImage:function(q){return Wu(q).length===0?[]:xc(q)},padding:function(q){let D=q.key,Y=q.value;if(Ks(Y)==="array"){if(Y.length<1||Y.length>4)return[new pe(D,Y,`padding requires 1 to 4 values; ${Y.length} values found`)];let he={type:"number"},Ce=[];for(let Ve=0;Ve[]}})),q.constants&&(Y=Y.concat(Mf({key:"constants",value:q.constants,style:q,styleSpec:D,validateSpec:Yc}))),Wr(Y)}function tn(q){return function(D){return q(Jr(an({},D),{validateSpec:Yc}))}}function Wr(q){return[].concat(q).sort((D,Y)=>D.line-Y.line)}function Cn(q){return function(...D){return Wr(q.apply(this,D))}}dr.source=Cn(tn(cc)),dr.sprite=Cn(tn(Dc)),dr.glyphs=Cn(tn(Yt)),dr.light=Cn(tn(zl)),dr.sky=Cn(tn(uu)),dr.terrain=Cn(tn(fc)),dr.layer=Cn(tn(Uf)),dr.filter=Cn(tn(hf)),dr.paintProperty=Cn(tn(Nf)),dr.layoutProperty=Cn(tn(Xl));let si=dr,yi=si.light,Di=si.sky,Wi=si.paintProperty,aa=si.layoutProperty;function bi(q,D){let Y=!1;if(D&&D.length)for(let he of D)q.fire(new j(new Error(he.message))),Y=!0;return Y}class zi{constructor(D,Y,he){let Ce=this.cells=[];if(D instanceof ArrayBuffer){this.arrayBuffer=D;let Xe=new Int32Array(this.arrayBuffer);D=Xe[0],this.d=(Y=Xe[1])+2*(he=Xe[2]);for(let At=0;At=cr[rn+0]&&Ce>=cr[rn+1])?(ct[Nr]=!0,Xe.push(er[Nr])):ct[Nr]=!1}}}}_forEachCell(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=this._convertToCellCoord(D),er=this._convertToCellCoord(Y),cr=this._convertToCellCoord(he),Sr=this._convertToCellCoord(Ce);for(let Nr=Ot;Nr<=cr;Nr++)for(let rn=er;rn<=Sr;rn++){let mn=this.d*rn+Nr;if((!At||At(this._convertFromCellCoord(Nr),this._convertFromCellCoord(rn),this._convertFromCellCoord(Nr+1),this._convertFromCellCoord(rn+1)))&&Ve.call(this,D,Y,he,Ce,mn,Xe,ct,At))return}}_convertFromCellCoord(D){return(D-this.padding)/this.scale}_convertToCellCoord(D){return Math.max(0,Math.min(this.d-1,Math.floor(D*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;let D=this.cells,Y=3+this.cells.length+1+1,he=0;for(let Xe=0;Xe=0)continue;let Xe=q[Ve];Ce[Ve]=Li[Y].shallow.indexOf(Ve)>=0?Xe:mo(Xe,D)}q instanceof Error&&(Ce.message=q.message)}if(Ce.$name)throw new Error("$name property is reserved for worker serialization logic.");return Y!=="Object"&&(Ce.$name=Y),Ce}function Ao(q){if(co(q))return q;if(Array.isArray(q))return q.map(Ao);if(typeof q!="object")throw new Error("can't deserialize object of type "+typeof q);let D=po(q)||"Object";if(!Li[D])throw new Error(`can't deserialize unregistered class ${D}`);let{klass:Y}=Li[D];if(!Y)throw new Error(`can't deserialize unregistered class ${D}`);if(Y.deserialize)return Y.deserialize(q);let he=Object.create(Y.prototype);for(let Ce of Object.keys(q)){if(Ce==="$name")continue;let Ve=q[Ce];he[Ce]=Li[D].shallow.indexOf(Ce)>=0?Ve:Ao(Ve)}return he}class xa{constructor(){this.first=!0}update(D,Y){let he=Math.floor(D);return this.first?(this.first=!1,this.lastIntegerZoom=he,this.lastIntegerZoomTime=0,this.lastZoom=D,this.lastFloorZoom=he,!0):(this.lastFloorZoom>he?(this.lastIntegerZoom=he+1,this.lastIntegerZoomTime=Y):this.lastFloorZoomq>=128&&q<=255,"Hangul Jamo":q=>q>=4352&&q<=4607,Khmer:q=>q>=6016&&q<=6143,"General Punctuation":q=>q>=8192&&q<=8303,"Letterlike Symbols":q=>q>=8448&&q<=8527,"Number Forms":q=>q>=8528&&q<=8591,"Miscellaneous Technical":q=>q>=8960&&q<=9215,"Control Pictures":q=>q>=9216&&q<=9279,"Optical Character Recognition":q=>q>=9280&&q<=9311,"Enclosed Alphanumerics":q=>q>=9312&&q<=9471,"Geometric Shapes":q=>q>=9632&&q<=9727,"Miscellaneous Symbols":q=>q>=9728&&q<=9983,"Miscellaneous Symbols and Arrows":q=>q>=11008&&q<=11263,"Ideographic Description Characters":q=>q>=12272&&q<=12287,"CJK Symbols and Punctuation":q=>q>=12288&&q<=12351,Katakana:q=>q>=12448&&q<=12543,Kanbun:q=>q>=12688&&q<=12703,"CJK Strokes":q=>q>=12736&&q<=12783,"Enclosed CJK Letters and Months":q=>q>=12800&&q<=13055,"CJK Compatibility":q=>q>=13056&&q<=13311,"Yijing Hexagram Symbols":q=>q>=19904&&q<=19967,"Private Use Area":q=>q>=57344&&q<=63743,"Vertical Forms":q=>q>=65040&&q<=65055,"CJK Compatibility Forms":q=>q>=65072&&q<=65103,"Small Form Variants":q=>q>=65104&&q<=65135,"Halfwidth and Fullwidth Forms":q=>q>=65280&&q<=65519};function Lo(q){for(let D of q)if(Es(D.charCodeAt(0)))return!0;return!1}function as(q){for(let D of q)if(!Ns(D.charCodeAt(0)))return!1;return!0}function Ds(q){let D=q.map(Y=>{try{return new RegExp(`\\p{sc=${Y}}`,"u").source}catch{return null}}).filter(Y=>Y);return new RegExp(D.join("|"),"u")}let il=Ds(["Arab","Dupl","Mong","Ougr","Syrc"]);function Ns(q){return!il.test(String.fromCodePoint(q))}let el=Ds(["Bopo","Hani","Hira","Kana","Kits","Nshu","Tang","Yiii"]);function Es(q){return!(q!==746&&q!==747&&(q<4352||!(Qi["CJK Compatibility Forms"](q)&&!(q>=65097&&q<=65103)||Qi["CJK Compatibility"](q)||Qi["CJK Strokes"](q)||!(!Qi["CJK Symbols and Punctuation"](q)||q>=12296&&q<=12305||q>=12308&&q<=12319||q===12336)||Qi["Enclosed CJK Letters and Months"](q)||Qi["Ideographic Description Characters"](q)||Qi.Kanbun(q)||Qi.Katakana(q)&&q!==12540||!(!Qi["Halfwidth and Fullwidth Forms"](q)||q===65288||q===65289||q===65293||q>=65306&&q<=65310||q===65339||q===65341||q===65343||q>=65371&&q<=65503||q===65507||q>=65512&&q<=65519)||!(!Qi["Small Form Variants"](q)||q>=65112&&q<=65118||q>=65123&&q<=65126)||Qi["Vertical Forms"](q)||Qi["Yijing Hexagram Symbols"](q)||new RegExp("\\p{sc=Cans}","u").test(String.fromCodePoint(q))||new RegExp("\\p{sc=Hang}","u").test(String.fromCodePoint(q))||el.test(String.fromCodePoint(q)))))}function Bl(q){return!(Es(q)||function(D){return!!(Qi["Latin-1 Supplement"](D)&&(D===167||D===169||D===174||D===177||D===188||D===189||D===190||D===215||D===247)||Qi["General Punctuation"](D)&&(D===8214||D===8224||D===8225||D===8240||D===8241||D===8251||D===8252||D===8258||D===8263||D===8264||D===8265||D===8273)||Qi["Letterlike Symbols"](D)||Qi["Number Forms"](D)||Qi["Miscellaneous Technical"](D)&&(D>=8960&&D<=8967||D>=8972&&D<=8991||D>=8996&&D<=9e3||D===9003||D>=9085&&D<=9114||D>=9150&&D<=9165||D===9167||D>=9169&&D<=9179||D>=9186&&D<=9215)||Qi["Control Pictures"](D)&&D!==9251||Qi["Optical Character Recognition"](D)||Qi["Enclosed Alphanumerics"](D)||Qi["Geometric Shapes"](D)||Qi["Miscellaneous Symbols"](D)&&!(D>=9754&&D<=9759)||Qi["Miscellaneous Symbols and Arrows"](D)&&(D>=11026&&D<=11055||D>=11088&&D<=11097||D>=11192&&D<=11243)||Qi["CJK Symbols and Punctuation"](D)||Qi.Katakana(D)||Qi["Private Use Area"](D)||Qi["CJK Compatibility Forms"](D)||Qi["Small Form Variants"](D)||Qi["Halfwidth and Fullwidth Forms"](D)||D===8734||D===8756||D===8757||D>=9984&&D<=10087||D>=10102&&D<=10131||D===65532||D===65533)}(q))}let _l=Ds(["Adlm","Arab","Armi","Avst","Chrs","Cprt","Egyp","Elym","Gara","Hatr","Hebr","Hung","Khar","Lydi","Mand","Mani","Mend","Merc","Mero","Narb","Nbat","Nkoo","Orkh","Palm","Phli","Phlp","Phnx","Prti","Rohg","Samr","Sarb","Sogo","Syrc","Thaa","Todr","Yezi"]);function cl(q){return _l.test(String.fromCodePoint(q))}function Za(q,D){return!(!D&&cl(q)||q>=2304&&q<=3583||q>=3840&&q<=4255||Qi.Khmer(q))}function jo(q){for(let D of q)if(cl(D.charCodeAt(0)))return!0;return!1}let Js=new class{constructor(){this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null}setState(q){this.pluginStatus=q.pluginStatus,this.pluginURL=q.pluginURL}getState(){return{pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(q){this.applyArabicShaping=q.applyArabicShaping,this.processBidirectionalText=q.processBidirectionalText,this.processStyledBidirectionalText=q.processStyledBidirectionalText}isParsed(){return this.applyArabicShaping!=null&&this.processBidirectionalText!=null&&this.processStyledBidirectionalText!=null}getPluginURL(){return this.pluginURL}getRTLTextPluginStatus(){return this.pluginStatus}};class zs{constructor(D,Y){this.zoom=D,Y?(this.now=Y.now,this.fadeDuration=Y.fadeDuration,this.zoomHistory=Y.zoomHistory,this.transition=Y.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new xa,this.transition={})}isSupportedScript(D){return function(Y,he){for(let Ce of Y)if(!Za(Ce.charCodeAt(0),he))return!1;return!0}(D,Js.getRTLTextPluginStatus()==="loaded")}crossFadingFactor(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){let D=this.zoom,Y=D-Math.floor(D),he=this.crossFadingFactor();return D>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:Y+(1-Y)*he}:{fromScale:.5,toScale:1,t:1-(1-he)*Y}}}class cu{constructor(D,Y){this.property=D,this.value=Y,this.expression=function(he,Ce){if(Of(he))return new Sl(he,Ce);if(yc(he)){let Ve=xu(he,Ce);if(Ve.result==="error")throw new Error(Ve.value.map(Xe=>`${Xe.key}: ${Xe.message}`).join(", "));return Ve.value}{let Ve=he;return Ce.type==="color"&&typeof he=="string"?Ve=Vt.parse(he):Ce.type!=="padding"||typeof he!="number"&&!Array.isArray(he)?Ce.type==="variableAnchorOffsetCollection"&&Array.isArray(he)&&(Ve=Wn.parse(he)):Ve=en.parse(he),{kind:"constant",evaluate:()=>Ve}}}(Y===void 0?D.specification.default:Y,D.specification)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(D,Y,he){return this.property.possiblyEvaluate(this,D,Y,he)}}class zu{constructor(D){this.property=D,this.value=new cu(D,void 0)}transitioned(D,Y){return new Kc(this.property,this.value,Y,E({},D.transition,this.transition),D.now)}untransitioned(){return new Kc(this.property,this.value,null,{},0)}}class nc{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitionablePropertyValues)}getValue(D){return u(this._values[D].value.value)}setValue(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].value=new cu(this._values[D].property,Y===null?void 0:u(Y))}getTransition(D){return u(this._values[D].transition)}setTransition(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].transition=u(Y)||void 0}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he);let Ce=this.getTransition(Y);Ce!==void 0&&(D[`${Y}-transition`]=Ce)}return D}transitioned(D,Y){let he=new Tu(this._properties);for(let Ce of Object.keys(this._values))he._values[Ce]=this._values[Ce].transitioned(D,Y._values[Ce]);return he}untransitioned(){let D=new Tu(this._properties);for(let Y of Object.keys(this._values))D._values[Y]=this._values[Y].untransitioned();return D}}class Kc{constructor(D,Y,he,Ce,Ve){this.property=D,this.value=Y,this.begin=Ve+Ce.delay||0,this.end=this.begin+Ce.duration||0,D.specification.transition&&(Ce.delay||Ce.duration)&&(this.prior=he)}possiblyEvaluate(D,Y,he){let Ce=D.now||0,Ve=this.value.possiblyEvaluate(D,Y,he),Xe=this.prior;if(Xe){if(Ce>this.end)return this.prior=null,Ve;if(this.value.isDataDriven())return this.prior=null,Ve;if(Ce=1)return 1;let Ot=At*At,er=Ot*At;return 4*(At<.5?er:3*(At-Ot)+er-.75)}(ct))}}return Ve}}class Tu{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitioningPropertyValues)}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}hasTransition(){for(let D of Object.keys(this._values))if(this._values[D].prior)return!0;return!1}}class zc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPropertyValues)}hasValue(D){return this._values[D].value!==void 0}getValue(D){return u(this._values[D].value)}setValue(D,Y){this._values[D]=new cu(this._values[D].property,Y===null?void 0:u(Y))}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he)}return D}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}}class Fu{constructor(D,Y,he){this.property=D,this.value=Y,this.parameters=he}isConstant(){return this.value.kind==="constant"}constantOr(D){return this.value.kind==="constant"?this.value.value:D}evaluate(D,Y,he,Ce){return this.property.evaluate(this.value,this.parameters,D,Y,he,Ce)}}class wc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPossiblyEvaluatedValues)}get(D){return this._values[D]}}class bo{constructor(D){this.specification=D}possiblyEvaluate(D,Y){if(D.isDataDriven())throw new Error("Value should not be data driven");return D.expression.evaluate(Y)}interpolate(D,Y,he){let Ce=yo[this.specification.type];return Ce?Ce(D,Y,he):D}}class Wo{constructor(D,Y){this.specification=D,this.overrides=Y}possiblyEvaluate(D,Y,he,Ce){return new Fu(this,D.expression.kind==="constant"||D.expression.kind==="camera"?{kind:"constant",value:D.expression.evaluate(Y,null,{},he,Ce)}:D.expression,Y)}interpolate(D,Y,he){if(D.value.kind!=="constant"||Y.value.kind!=="constant")return D;if(D.value.value===void 0||Y.value.value===void 0)return new Fu(this,{kind:"constant",value:void 0},D.parameters);let Ce=yo[this.specification.type];if(Ce){let Ve=Ce(D.value.value,Y.value.value,he);return new Fu(this,{kind:"constant",value:Ve},D.parameters)}return D}evaluate(D,Y,he,Ce,Ve,Xe){return D.kind==="constant"?D.value:D.evaluate(Y,he,Ce,Ve,Xe)}}class Fc extends Wo{possiblyEvaluate(D,Y,he,Ce){if(D.value===void 0)return new Fu(this,{kind:"constant",value:void 0},Y);if(D.expression.kind==="constant"){let Ve=D.expression.evaluate(Y,null,{},he,Ce),Xe=D.property.specification.type==="resolvedImage"&&typeof Ve!="string"?Ve.name:Ve,ct=this._calculate(Xe,Xe,Xe,Y);return new Fu(this,{kind:"constant",value:ct},Y)}if(D.expression.kind==="camera"){let Ve=this._calculate(D.expression.evaluate({zoom:Y.zoom-1}),D.expression.evaluate({zoom:Y.zoom}),D.expression.evaluate({zoom:Y.zoom+1}),Y);return new Fu(this,{kind:"constant",value:Ve},Y)}return new Fu(this,D.expression,Y)}evaluate(D,Y,he,Ce,Ve,Xe){if(D.kind==="source"){let ct=D.evaluate(Y,he,Ce,Ve,Xe);return this._calculate(ct,ct,ct,Y)}return D.kind==="composite"?this._calculate(D.evaluate({zoom:Math.floor(Y.zoom)-1},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)+1},he,Ce),Y):D.value}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class hc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){if(D.value!==void 0){if(D.expression.kind==="constant"){let Ve=D.expression.evaluate(Y,null,{},he,Ce);return this._calculate(Ve,Ve,Ve,Y)}return this._calculate(D.expression.evaluate(new zs(Math.floor(Y.zoom-1),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom+1),Y)),Y)}}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class dc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){return!!D.expression.evaluate(Y,null,{},he,Ce)}interpolate(){return!1}}class Ne{constructor(D){this.properties=D,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(let Y in D){let he=D[Y];he.specification.overridable&&this.overridableProperties.push(Y);let Ce=this.defaultPropertyValues[Y]=new cu(he,void 0),Ve=this.defaultTransitionablePropertyValues[Y]=new zu(he);this.defaultTransitioningPropertyValues[Y]=Ve.untransitioned(),this.defaultPossiblyEvaluatedValues[Y]=Ce.possiblyEvaluate({})}}}di("DataDrivenProperty",Wo),di("DataConstantProperty",bo),di("CrossFadedDataDrivenProperty",Fc),di("CrossFadedProperty",hc),di("ColorRampProperty",dc);let R="-transition";class ne extends ee{constructor(D,Y){if(super(),this.id=D.id,this.type=D.type,this._featureFilter={filter:()=>!0,needGeometry:!1},D.type!=="custom"&&(this.metadata=D.metadata,this.minzoom=D.minzoom,this.maxzoom=D.maxzoom,D.type!=="background"&&(this.source=D.source,this.sourceLayer=D["source-layer"],this.filter=D.filter),Y.layout&&(this._unevaluatedLayout=new zc(Y.layout)),Y.paint)){this._transitionablePaint=new nc(Y.paint);for(let he in D.paint)this.setPaintProperty(he,D.paint[he],{validate:!1});for(let he in D.layout)this.setLayoutProperty(he,D.layout[he],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new wc(Y.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(D){return D==="visibility"?this.visibility:this._unevaluatedLayout.getValue(D)}setLayoutProperty(D,Y,he={}){Y!=null&&this._validate(aa,`layers.${this.id}.layout.${D}`,D,Y,he)||(D!=="visibility"?this._unevaluatedLayout.setValue(D,Y):this.visibility=Y)}getPaintProperty(D){return D.endsWith(R)?this._transitionablePaint.getTransition(D.slice(0,-11)):this._transitionablePaint.getValue(D)}setPaintProperty(D,Y,he={}){if(Y!=null&&this._validate(Wi,`layers.${this.id}.paint.${D}`,D,Y,he))return!1;if(D.endsWith(R))return this._transitionablePaint.setTransition(D.slice(0,-11),Y||void 0),!1;{let Ce=this._transitionablePaint._values[D],Ve=Ce.property.specification["property-type"]==="cross-faded-data-driven",Xe=Ce.value.isDataDriven(),ct=Ce.value;this._transitionablePaint.setValue(D,Y),this._handleSpecialPaintPropertyUpdate(D);let At=this._transitionablePaint._values[D].value;return At.isDataDriven()||Xe||Ve||this._handleOverridablePaintPropertyUpdate(D,ct,At)}}_handleSpecialPaintPropertyUpdate(D){}_handleOverridablePaintPropertyUpdate(D,Y,he){return!1}isHidden(D){return!!(this.minzoom&&D=this.maxzoom)||this.visibility==="none"}updateTransitions(D){this._transitioningPaint=this._transitionablePaint.transitioned(D,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(D,Y){D.getCrossfadeParameters&&(this._crossfadeParameters=D.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(D,void 0,Y)),this.paint=this._transitioningPaint.possiblyEvaluate(D,void 0,Y)}serialize(){let D={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(D.layout=D.layout||{},D.layout.visibility=this.visibility),v(D,(Y,he)=>!(Y===void 0||he==="layout"&&!Object.keys(Y).length||he==="paint"&&!Object.keys(Y).length))}_validate(D,Y,he,Ce,Ve={}){return(!Ve||Ve.validate!==!1)&&bi(this,D.call(si,{key:Y,layerType:this.type,objectKey:he,value:Ce,styleSpec:ie,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(let D in this.paint._values){let Y=this.paint.get(D);if(Y instanceof Fu&&Pu(Y.property.specification)&&(Y.value.kind==="source"||Y.value.kind==="composite")&&Y.value.isStateDependent)return!0}return!1}}let be={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class Ae{constructor(D,Y){this._structArray=D,this._pos1=Y*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class Fe{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(D,Y){return D._trim(),Y&&(D.isTransferred=!0,Y.push(D.arrayBuffer)),{length:D.length,arrayBuffer:D.arrayBuffer}}static deserialize(D){let Y=Object.create(this.prototype);return Y.arrayBuffer=D.arrayBuffer,Y.length=D.length,Y.capacity=D.arrayBuffer.byteLength/Y.bytesPerElement,Y._refreshViews(),Y}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(D){this.reserve(D),this.length=D}reserve(D){if(D>this.capacity){this.capacity=Math.max(D,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);let Y=this.uint8;this._refreshViews(),Y&&this.uint8.set(Y)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}}function ht(q,D=1){let Y=0,he=0;return{members:q.map(Ce=>{let Ve=be[Ce.type].BYTES_PER_ELEMENT,Xe=Y=wt(Y,Math.max(D,Ve)),ct=Ce.components||1;return he=Math.max(he,Ve),Y+=Ve*ct,{name:Ce.name,type:Ce.type,components:ct,offset:Xe}}),size:wt(Y,Math.max(he,D)),alignment:D}}function wt(q,D){return Math.ceil(q/D)*D}class zt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.int16[Ce+0]=Y,this.int16[Ce+1]=he,D}}zt.prototype.bytesPerElement=4,di("StructArrayLayout2i4",zt);class Jt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.int16[Ve+0]=Y,this.int16[Ve+1]=he,this.int16[Ve+2]=Ce,D}}Jt.prototype.bytesPerElement=6,di("StructArrayLayout3i6",Jt);class hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.int16[Xe+0]=Y,this.int16[Xe+1]=he,this.int16[Xe+2]=Ce,this.int16[Xe+3]=Ve,D}}hr.prototype.bytesPerElement=8,di("StructArrayLayout4i8",hr);class vr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}vr.prototype.bytesPerElement=12,di("StructArrayLayout2i4i12",vr);class Hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=4*D,Ot=8*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.uint8[Ot+4]=Ce,this.uint8[Ot+5]=Ve,this.uint8[Ot+6]=Xe,this.uint8[Ot+7]=ct,D}}Hr.prototype.bytesPerElement=8,di("StructArrayLayout2i4ub8",Hr);class ln extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.float32[Ce+0]=Y,this.float32[Ce+1]=he,D}}ln.prototype.bytesPerElement=8,di("StructArrayLayout2f8",ln);class Ge extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=this.length;return this.resize(cr+1),this.emplace(cr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=10*D;return this.uint16[Sr+0]=Y,this.uint16[Sr+1]=he,this.uint16[Sr+2]=Ce,this.uint16[Sr+3]=Ve,this.uint16[Sr+4]=Xe,this.uint16[Sr+5]=ct,this.uint16[Sr+6]=At,this.uint16[Sr+7]=Ot,this.uint16[Sr+8]=er,this.uint16[Sr+9]=cr,D}}Ge.prototype.bytesPerElement=20,di("StructArrayLayout10ui20",Ge);class $e extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr){let Nr=this.length;return this.resize(Nr+1),this.emplace(Nr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr){let rn=12*D;return this.int16[rn+0]=Y,this.int16[rn+1]=he,this.int16[rn+2]=Ce,this.int16[rn+3]=Ve,this.uint16[rn+4]=Xe,this.uint16[rn+5]=ct,this.uint16[rn+6]=At,this.uint16[rn+7]=Ot,this.int16[rn+8]=er,this.int16[rn+9]=cr,this.int16[rn+10]=Sr,this.int16[rn+11]=Nr,D}}$e.prototype.bytesPerElement=24,di("StructArrayLayout4i4ui4i24",$e);class st extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.float32[Ve+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}st.prototype.bytesPerElement=12,di("StructArrayLayout3f12",st);class dt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint32[1*D+0]=Y,D}}dt.prototype.bytesPerElement=4,di("StructArrayLayout1ul4",dt);class St extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot){let er=this.length;return this.resize(er+1),this.emplace(er,D,Y,he,Ce,Ve,Xe,ct,At,Ot)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=10*D,Sr=5*D;return this.int16[cr+0]=Y,this.int16[cr+1]=he,this.int16[cr+2]=Ce,this.int16[cr+3]=Ve,this.int16[cr+4]=Xe,this.int16[cr+5]=ct,this.uint32[Sr+3]=At,this.uint16[cr+8]=Ot,this.uint16[cr+9]=er,D}}St.prototype.bytesPerElement=20,di("StructArrayLayout6i1ul2ui20",St);class xt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}xt.prototype.bytesPerElement=12,di("StructArrayLayout2i2i2i12",xt);class It extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve){let Xe=this.length;return this.resize(Xe+1),this.emplace(Xe,D,Y,he,Ce,Ve)}emplace(D,Y,he,Ce,Ve,Xe){let ct=4*D,At=8*D;return this.float32[ct+0]=Y,this.float32[ct+1]=he,this.float32[ct+2]=Ce,this.int16[At+6]=Ve,this.int16[At+7]=Xe,D}}It.prototype.bytesPerElement=16,di("StructArrayLayout2f1f2i16",It);class rr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=16*D,Ot=4*D,er=8*D;return this.uint8[At+0]=Y,this.uint8[At+1]=he,this.float32[Ot+1]=Ce,this.float32[Ot+2]=Ve,this.int16[er+6]=Xe,this.int16[er+7]=ct,D}}rr.prototype.bytesPerElement=16,di("StructArrayLayout2ub2f2i16",rr);class sr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[Ve+0]=Y,this.uint16[Ve+1]=he,this.uint16[Ve+2]=Ce,D}}sr.prototype.bytesPerElement=6,di("StructArrayLayout3ui6",sr);class pr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei){let Ri=this.length;return this.resize(Ri+1),this.emplace(Ri,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri){let fi=24*D,Si=12*D,Gi=48*D;return this.int16[fi+0]=Y,this.int16[fi+1]=he,this.uint16[fi+2]=Ce,this.uint16[fi+3]=Ve,this.uint32[Si+2]=Xe,this.uint32[Si+3]=ct,this.uint32[Si+4]=At,this.uint16[fi+10]=Ot,this.uint16[fi+11]=er,this.uint16[fi+12]=cr,this.float32[Si+7]=Sr,this.float32[Si+8]=Nr,this.uint8[Gi+36]=rn,this.uint8[Gi+37]=mn,this.uint8[Gi+38]=Gn,this.uint32[Si+10]=ei,this.int16[fi+22]=Ri,D}}pr.prototype.bytesPerElement=48,di("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",pr);class kr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo){let Bo=this.length;return this.resize(Bo+1),this.emplace(Bo,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo,Bo){let ma=32*D,us=16*D;return this.int16[ma+0]=Y,this.int16[ma+1]=he,this.int16[ma+2]=Ce,this.int16[ma+3]=Ve,this.int16[ma+4]=Xe,this.int16[ma+5]=ct,this.int16[ma+6]=At,this.int16[ma+7]=Ot,this.uint16[ma+8]=er,this.uint16[ma+9]=cr,this.uint16[ma+10]=Sr,this.uint16[ma+11]=Nr,this.uint16[ma+12]=rn,this.uint16[ma+13]=mn,this.uint16[ma+14]=Gn,this.uint16[ma+15]=ei,this.uint16[ma+16]=Ri,this.uint16[ma+17]=fi,this.uint16[ma+18]=Si,this.uint16[ma+19]=Gi,this.uint16[ma+20]=Ha,this.uint16[ma+21]=Po,this.uint16[ma+22]=xs,this.uint32[us+12]=_o,this.float32[us+13]=Ra,this.float32[us+14]=es,this.uint16[ma+30]=qo,this.uint16[ma+31]=Bo,D}}kr.prototype.bytesPerElement=64,di("StructArrayLayout8i15ui1ul2f2ui64",kr);class Yr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.float32[1*D+0]=Y,D}}Yr.prototype.bytesPerElement=4,di("StructArrayLayout1f4",Yr);class _n extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[6*D+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}_n.prototype.bytesPerElement=12,di("StructArrayLayout1ui2f12",_n);class Mn extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=4*D;return this.uint32[2*D+0]=Y,this.uint16[Ve+2]=he,this.uint16[Ve+3]=Ce,D}}Mn.prototype.bytesPerElement=8,di("StructArrayLayout1ul2ui8",Mn);class Un extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.uint16[Ce+0]=Y,this.uint16[Ce+1]=he,D}}Un.prototype.bytesPerElement=4,di("StructArrayLayout2ui4",Un);class li extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint16[1*D+0]=Y,D}}li.prototype.bytesPerElement=2,di("StructArrayLayout1ui2",li);class ki extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.float32[Xe+0]=Y,this.float32[Xe+1]=he,this.float32[Xe+2]=Ce,this.float32[Xe+3]=Ve,D}}ki.prototype.bytesPerElement=16,di("StructArrayLayout4f16",ki);class Ci extends Ae{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new i(this.anchorPointX,this.anchorPointY)}}Ci.prototype.size=20;class Zi extends St{get(D){return new Ci(this,D)}}di("CollisionBoxArray",Zi);class ya extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(D){this._structArray.uint8[this._pos1+37]=D}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(D){this._structArray.uint8[this._pos1+38]=D}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(D){this._structArray.uint32[this._pos4+10]=D}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}ya.prototype.size=48;class ro extends pr{get(D){return new ya(this,D)}}di("PlacedSymbolArray",ro);class Va extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(D){this._structArray.uint32[this._pos4+12]=D}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Va.prototype.size=64;class Io extends kr{get(D){return new Va(this,D)}}di("SymbolInstanceArray",Io);class vs extends Yr{getoffsetX(D){return this.float32[1*D+0]}}di("GlyphOffsetArray",vs);class Fo extends Jt{getx(D){return this.int16[3*D+0]}gety(D){return this.int16[3*D+1]}gettileUnitDistanceFromAnchor(D){return this.int16[3*D+2]}}di("SymbolLineVertexArray",Fo);class ts extends Ae{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}ts.prototype.size=12;class bs extends _n{get(D){return new ts(this,D)}}di("TextAnchorOffsetArray",bs);class fl extends Ae{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}fl.prototype.size=8;class al extends Mn{get(D){return new fl(this,D)}}di("FeatureIndexArray",al);class os extends zt{}class is extends zt{}class Nl extends zt{}class eu extends vr{}class Xu extends Hr{}class mu extends ln{}class El extends Ge{}class fu extends $e{}class Tc extends st{}class Zl extends dt{}class Yl extends xt{}class de extends rr{}class Re extends sr{}class Qe extends Un{}let vt=ht([{name:"a_pos",components:2,type:"Int16"}],4),{members:mt}=vt;class Tt{constructor(D=[]){this.segments=D}prepareSegment(D,Y,he,Ce){let Ve=this.segments[this.segments.length-1];return D>Tt.MAX_VERTEX_ARRAY_LENGTH&&f(`Max vertices per segment is ${Tt.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${D}`),(!Ve||Ve.vertexLength+D>Tt.MAX_VERTEX_ARRAY_LENGTH||Ve.sortKey!==Ce)&&(Ve={vertexOffset:Y.length,primitiveOffset:he.length,vertexLength:0,primitiveLength:0},Ce!==void 0&&(Ve.sortKey=Ce),this.segments.push(Ve)),Ve}get(){return this.segments}destroy(){for(let D of this.segments)for(let Y in D.vaos)D.vaos[Y].destroy()}static simpleSegment(D,Y,he,Ce){return new Tt([{vertexOffset:D,primitiveOffset:Y,vertexLength:he,primitiveLength:Ce,vaos:{},sortKey:0}])}}function Qt(q,D){return 256*(q=w(Math.floor(q),0,255))+w(Math.floor(D),0,255)}Tt.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,di("SegmentVector",Tt);let Dt=ht([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]);var lr={exports:{}},Br={exports:{}};Br.exports=function(q,D){var Y,he,Ce,Ve,Xe,ct,At,Ot;for(he=q.length-(Y=3&q.length),Ce=D,Xe=3432918353,ct=461845907,Ot=0;Ot>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295)<<13|Ce>>>19))+((5*(Ce>>>16)&65535)<<16)&4294967295))+((58964+(Ve>>>16)&65535)<<16);switch(At=0,Y){case 3:At^=(255&q.charCodeAt(Ot+2))<<16;case 2:At^=(255&q.charCodeAt(Ot+1))<<8;case 1:Ce^=At=(65535&(At=(At=(65535&(At^=255&q.charCodeAt(Ot)))*Xe+(((At>>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295}return Ce^=q.length,Ce=2246822507*(65535&(Ce^=Ce>>>16))+((2246822507*(Ce>>>16)&65535)<<16)&4294967295,Ce=3266489909*(65535&(Ce^=Ce>>>13))+((3266489909*(Ce>>>16)&65535)<<16)&4294967295,(Ce^=Ce>>>16)>>>0};var jr=Br.exports,Tn={exports:{}};Tn.exports=function(q,D){for(var Y,he=q.length,Ce=D^he,Ve=0;he>=4;)Y=1540483477*(65535&(Y=255&q.charCodeAt(Ve)|(255&q.charCodeAt(++Ve))<<8|(255&q.charCodeAt(++Ve))<<16|(255&q.charCodeAt(++Ve))<<24))+((1540483477*(Y>>>16)&65535)<<16),Ce=1540483477*(65535&Ce)+((1540483477*(Ce>>>16)&65535)<<16)^(Y=1540483477*(65535&(Y^=Y>>>24))+((1540483477*(Y>>>16)&65535)<<16)),he-=4,++Ve;switch(he){case 3:Ce^=(255&q.charCodeAt(Ve+2))<<16;case 2:Ce^=(255&q.charCodeAt(Ve+1))<<8;case 1:Ce=1540483477*(65535&(Ce^=255&q.charCodeAt(Ve)))+((1540483477*(Ce>>>16)&65535)<<16)}return Ce=1540483477*(65535&(Ce^=Ce>>>13))+((1540483477*(Ce>>>16)&65535)<<16),(Ce^=Ce>>>15)>>>0};var yn=jr,ti=Tn.exports;lr.exports=yn,lr.exports.murmur3=yn,lr.exports.murmur2=ti;var ai=r(lr.exports);class En{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(D,Y,he,Ce){this.ids.push(qn(D)),this.positions.push(Y,he,Ce)}getPositions(D){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");let Y=qn(D),he=0,Ce=this.ids.length-1;for(;he>1;this.ids[Xe]>=Y?Ce=Xe:he=Xe+1}let Ve=[];for(;this.ids[he]===Y;)Ve.push({index:this.positions[3*he],start:this.positions[3*he+1],end:this.positions[3*he+2]}),he++;return Ve}static serialize(D,Y){let he=new Float64Array(D.ids),Ce=new Uint32Array(D.positions);return Jn(he,Ce,0,he.length-1),Y&&Y.push(he.buffer,Ce.buffer),{ids:he,positions:Ce}}static deserialize(D){let Y=new En;return Y.ids=D.ids,Y.positions=D.positions,Y.indexed=!0,Y}}function qn(q){let D=+q;return!isNaN(D)&&D<=Number.MAX_SAFE_INTEGER?D:ai(String(q))}function Jn(q,D,Y,he){for(;Y>1],Ve=Y-1,Xe=he+1;for(;;){do Ve++;while(q[Ve]Ce);if(Ve>=Xe)break;ci(q,Ve,Xe),ci(D,3*Ve,3*Xe),ci(D,3*Ve+1,3*Xe+1),ci(D,3*Ve+2,3*Xe+2)}Xe-Y`u_${Ce}`),this.type=he}setUniform(D,Y,he){D.set(he.constantOr(this.value))}getBinding(D,Y,he){return this.type==="color"?new oa(D,Y):new Hn(D,Y)}}class oo{constructor(D,Y){this.uniformNames=Y.map(he=>`u_${he}`),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(D,Y){this.pixelRatioFrom=Y.pixelRatio,this.pixelRatioTo=D.pixelRatio,this.patternFrom=Y.tlbr,this.patternTo=D.tlbr}setUniform(D,Y,he,Ce){let Ve=Ce==="u_pattern_to"?this.patternTo:Ce==="u_pattern_from"?this.patternFrom:Ce==="u_pixel_ratio_to"?this.pixelRatioTo:Ce==="u_pixel_ratio_from"?this.pixelRatioFrom:null;Ve&&D.set(Ve)}getBinding(D,Y,he){return he.substr(0,9)==="u_pattern"?new ta(D,Y):new Hn(D,Y)}}class Qo{constructor(D,Y,he,Ce){this.expression=D,this.type=he,this.maxValue=0,this.paintVertexAttributes=Y.map(Ve=>({name:`a_${Ve}`,type:"Float32",components:he==="color"?2:1,offset:0})),this.paintVertexArray=new Ce}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.paintVertexArray.length,ct=this.expression.evaluate(new zs(0),Y,{},Ce,[],Ve);this.paintVertexArray.resize(D),this._setPaintValue(Xe,D,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:0},he,Ce);this._setPaintValue(D,Y,Ve)}_setPaintValue(D,Y,he){if(this.type==="color"){let Ce=La(he);for(let Ve=D;Ve`u_${ct}_t`),this.type=he,this.useIntegerZoom=Ce,this.zoom=Ve,this.maxValue=0,this.paintVertexAttributes=Y.map(ct=>({name:`a_${ct}`,type:"Float32",components:he==="color"?4:2,offset:0})),this.paintVertexArray=new Xe}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.expression.evaluate(new zs(this.zoom),Y,{},Ce,[],Ve),ct=this.expression.evaluate(new zs(this.zoom+1),Y,{},Ce,[],Ve),At=this.paintVertexArray.length;this.paintVertexArray.resize(D),this._setPaintValue(At,D,Xe,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:this.zoom},he,Ce),Xe=this.expression.evaluate({zoom:this.zoom+1},he,Ce);this._setPaintValue(D,Y,Ve,Xe)}_setPaintValue(D,Y,he,Ce){if(this.type==="color"){let Ve=La(he),Xe=La(Ce);for(let ct=D;ct`#define HAS_UNIFORM_${Ce}`))}return D}getBinderAttributes(){let D=[];for(let Y in this.binders){let he=this.binders[Y];if(he instanceof Qo||he instanceof uo)for(let Ce=0;Ce!0){this.programConfigurations={};for(let Ce of D)this.programConfigurations[Ce.id]=new ol(Ce,Y,he);this.needsUpload=!1,this._featureMap=new En,this._bufferOffset=0}populatePaintArrays(D,Y,he,Ce,Ve,Xe){for(let ct in this.programConfigurations)this.programConfigurations[ct].populatePaintArrays(D,Y,Ce,Ve,Xe);Y.id!==void 0&&this._featureMap.add(Y.id,he,this._bufferOffset,D),this._bufferOffset=D,this.needsUpload=!0}updatePaintArrays(D,Y,he,Ce){for(let Ve of he)this.needsUpload=this.programConfigurations[Ve.id].updatePaintArrays(D,this._featureMap,Y,Ve,Ce)||this.needsUpload}get(D){return this.programConfigurations[D]}upload(D){if(this.needsUpload){for(let Y in this.programConfigurations)this.programConfigurations[Y].upload(D);this.needsUpload=!1}}destroy(){for(let D in this.programConfigurations)this.programConfigurations[D].destroy()}}function ml(q,D){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[q]||[q.replace(`${D}-`,"").replace(/-/g,"_")]}function ua(q,D,Y){let he={color:{source:ln,composite:ki},number:{source:Yr,composite:ln}},Ce=function(Ve){return{"line-pattern":{source:El,composite:El},"fill-pattern":{source:El,composite:El},"fill-extrusion-pattern":{source:El,composite:El}}[Ve]}(q);return Ce&&Ce[Y]||he[D][Y]}di("ConstantBinder",io),di("CrossFadedConstantBinder",oo),di("SourceExpressionBinder",Qo),di("CrossFadedCompositeBinder",Jo),di("CompositeExpressionBinder",uo),di("ProgramConfiguration",ol,{omit:["_buffers"]}),di("ProgramConfigurationSet",tl);let wo=8192,ys=Math.pow(2,14)-1,Ms=-ys-1;function xl(q){let D=wo/q.extent,Y=q.loadGeometry();for(let he=0;heXe.x+1||AtXe.y+1)&&f("Geometry exceeds allowed extent, reduce your vector tile buffer size")}}return Y}function Ul(q,D){return{type:q.type,id:q.id,properties:q.properties,geometry:D?xl(q):[]}}function gu(q,D,Y,he,Ce){q.emplaceBack(2*D+(he+1)/2,2*Y+(Ce+1)/2)}class Fl{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new is,this.indexArray=new Re,this.segments=new Tt,this.programConfigurations=new tl(D.layers,D.zoom),this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){let Ce=this.layers[0],Ve=[],Xe=null,ct=!1;Ce.type==="circle"&&(Xe=Ce.layout.get("circle-sort-key"),ct=!Xe.isConstant());for(let{feature:At,id:Ot,index:er,sourceLayerIndex:cr}of D){let Sr=this.layers[0]._featureFilter.needGeometry,Nr=Ul(At,Sr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Nr,he))continue;let rn=ct?Xe.evaluate(Nr,{},he):void 0,mn={id:Ot,properties:At.properties,type:At.type,sourceLayerIndex:cr,index:er,geometry:Sr?Nr.geometry:xl(At),patterns:{},sortKey:rn};Ve.push(mn)}ct&&Ve.sort((At,Ot)=>At.sortKey-Ot.sortKey);for(let At of Ve){let{geometry:Ot,index:er,sourceLayerIndex:cr}=At,Sr=D[er].feature;this.addFeature(At,Ot,er,he),Y.featureIndex.insert(Sr,Ot,er,cr,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,mt),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(D,Y,he,Ce){for(let Ve of Y)for(let Xe of Ve){let ct=Xe.x,At=Xe.y;if(ct<0||ct>=wo||At<0||At>=wo)continue;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,D.sortKey),er=Ot.vertexLength;gu(this.layoutVertexArray,ct,At,-1,-1),gu(this.layoutVertexArray,ct,At,1,-1),gu(this.layoutVertexArray,ct,At,1,1),gu(this.layoutVertexArray,ct,At,-1,1),this.indexArray.emplaceBack(er,er+1,er+2),this.indexArray.emplaceBack(er,er+3,er+2),Ot.vertexLength+=4,Ot.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,{},Ce)}}function vc(q,D){for(let Y=0;Y1){if(xi(q,D))return!0;for(let he=0;he1?Y:Y.sub(D)._mult(Ce)._add(D))}function na(q,D){let Y,he,Ce,Ve=!1;for(let Xe=0;XeD.y!=Ce.y>D.y&&D.x<(Ce.x-he.x)*(D.y-he.y)/(Ce.y-he.y)+he.x&&(Ve=!Ve)}return Ve}function Ca(q,D){let Y=!1;for(let he=0,Ce=q.length-1;heD.y!=Xe.y>D.y&&D.x<(Xe.x-Ve.x)*(D.y-Ve.y)/(Xe.y-Ve.y)+Ve.x&&(Y=!Y)}return Y}function ka(q,D,Y){let he=Y[0],Ce=Y[2];if(q.xCe.x&&D.x>Ce.x||q.yCe.y&&D.y>Ce.y)return!1;let Ve=P(q,D,Y[0]);return Ve!==P(q,D,Y[1])||Ve!==P(q,D,Y[2])||Ve!==P(q,D,Y[3])}function ha(q,D,Y){let he=D.paint.get(q).value;return he.kind==="constant"?he.value:Y.programConfigurations.get(D.id).getMaxValue(q)}function Xo(q){return Math.sqrt(q[0]*q[0]+q[1]*q[1])}function Aa(q,D,Y,he,Ce){if(!D[0]&&!D[1])return q;let Ve=i.convert(D)._mult(Ce);Y==="viewport"&&Ve._rotate(-he);let Xe=[];for(let ct=0;ctsa(Gn,mn))}(Ot,At),Nr=cr?er*ct:er;for(let rn of Ce)for(let mn of rn){let Gn=cr?mn:sa(mn,At),ei=Nr,Ri=Oo([],[mn.x,mn.y,0,1],At);if(this.paint.get("circle-pitch-scale")==="viewport"&&this.paint.get("circle-pitch-alignment")==="map"?ei*=Ri[3]/Xe.cameraToCenterDistance:this.paint.get("circle-pitch-scale")==="map"&&this.paint.get("circle-pitch-alignment")==="viewport"&&(ei*=Xe.cameraToCenterDistance/Ri[3]),tr(Sr,Gn,ei))return!0}return!1}}function sa(q,D){let Y=Oo([],[q.x,q.y,0,1],D);return new i(Y[0]/Y[3],Y[1]/Y[3])}class fo extends Fl{}let Ja;di("HeatmapBucket",fo,{omit:["layers"]});var Fa={get paint(){return Ja=Ja||new Ne({"heatmap-radius":new Wo(ie.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Wo(ie.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new bo(ie.paint_heatmap["heatmap-intensity"]),"heatmap-color":new dc(ie.paint_heatmap["heatmap-color"]),"heatmap-opacity":new bo(ie.paint_heatmap["heatmap-opacity"])})}};function Ia(q,{width:D,height:Y},he,Ce){if(Ce){if(Ce instanceof Uint8ClampedArray)Ce=new Uint8Array(Ce.buffer);else if(Ce.length!==D*Y*he)throw new RangeError(`mismatched image size. expected: ${Ce.length} but got: ${D*Y*he}`)}else Ce=new Uint8Array(D*Y*he);return q.width=D,q.height=Y,q.data=Ce,q}function ao(q,{width:D,height:Y},he){if(D===q.width&&Y===q.height)return;let Ce=Ia({},{width:D,height:Y},he);Zo(q,Ce,{x:0,y:0},{x:0,y:0},{width:Math.min(q.width,D),height:Math.min(q.height,Y)},he),q.width=D,q.height=Y,q.data=Ce.data}function Zo(q,D,Y,he,Ce,Ve){if(Ce.width===0||Ce.height===0)return D;if(Ce.width>q.width||Ce.height>q.height||Y.x>q.width-Ce.width||Y.y>q.height-Ce.height)throw new RangeError("out of range source coordinates for image copy");if(Ce.width>D.width||Ce.height>D.height||he.x>D.width-Ce.width||he.y>D.height-Ce.height)throw new RangeError("out of range destination coordinates for image copy");let Xe=q.data,ct=D.data;if(Xe===ct)throw new Error("srcData equals dstData, so image is already copied");for(let At=0;At{D[q.evaluationKey]=At;let Ot=q.expression.evaluate(D);Ce.data[Xe+ct+0]=Math.floor(255*Ot.r/Ot.a),Ce.data[Xe+ct+1]=Math.floor(255*Ot.g/Ot.a),Ce.data[Xe+ct+2]=Math.floor(255*Ot.b/Ot.a),Ce.data[Xe+ct+3]=Math.floor(255*Ot.a)};if(q.clips)for(let Xe=0,ct=0;Xe80*Y){ct=1/0,At=1/0;let er=-1/0,cr=-1/0;for(let Sr=Y;Srer&&(er=Nr),rn>cr&&(cr=rn)}Ot=Math.max(er-ct,cr-At),Ot=Ot!==0?32767/Ot:0}return Jc(Ve,Xe,Y,ct,At,Ot,0),Xe}function pc(q,D,Y,he,Ce){let Ve;if(Ce===function(Xe,ct,At,Ot){let er=0;for(let cr=ct,Sr=At-Ot;cr0)for(let Xe=D;Xe=D;Xe-=he)Ve=Ar(Xe/he|0,q[Xe],q[Xe+1],Ve);return Ve&&We(Ve,Ve.next)&&(Gt(Ve),Ve=Ve.next),Ve}function mc(q,D){if(!q)return q;D||(D=q);let Y,he=q;do if(Y=!1,he.steiner||!We(he,he.next)&&Ze(he.prev,he,he.next)!==0)he=he.next;else{if(Gt(he),he=D=he.prev,he===he.next)break;Y=!0}while(Y||he!==D);return D}function Jc(q,D,Y,he,Ce,Ve,Xe){if(!q)return;!Xe&&Ve&&function(At,Ot,er,cr){let Sr=At;do Sr.z===0&&(Sr.z=K(Sr.x,Sr.y,Ot,er,cr)),Sr.prevZ=Sr.prev,Sr.nextZ=Sr.next,Sr=Sr.next;while(Sr!==At);Sr.prevZ.nextZ=null,Sr.prevZ=null,function(Nr){let rn,mn=1;do{let Gn,ei=Nr;Nr=null;let Ri=null;for(rn=0;ei;){rn++;let fi=ei,Si=0;for(let Ha=0;Ha0||Gi>0&&fi;)Si!==0&&(Gi===0||!fi||ei.z<=fi.z)?(Gn=ei,ei=ei.nextZ,Si--):(Gn=fi,fi=fi.nextZ,Gi--),Ri?Ri.nextZ=Gn:Nr=Gn,Gn.prevZ=Ri,Ri=Gn;ei=fi}Ri.nextZ=null,mn*=2}while(rn>1)}(Sr)}(q,he,Ce,Ve);let ct=q;for(;q.prev!==q.next;){let At=q.prev,Ot=q.next;if(Ve?Ac(q,he,Ce,Ve):tu(q))D.push(At.i,q.i,Ot.i),Gt(q),q=Ot.next,ct=Ot.next;else if((q=Ot)===ct){Xe?Xe===1?Jc(q=Nc(mc(q),D),D,Y,he,Ce,Ve,2):Xe===2&&Hs(q,D,Y,he,Ce,Ve):Jc(mc(q),D,Y,he,Ce,Ve,1);break}}}function tu(q){let D=q.prev,Y=q,he=q.next;if(Ze(D,Y,he)>=0)return!1;let Ce=D.x,Ve=Y.x,Xe=he.x,ct=D.y,At=Y.y,Ot=he.y,er=CeVe?Ce>Xe?Ce:Xe:Ve>Xe?Ve:Xe,Nr=ct>At?ct>Ot?ct:Ot:At>Ot?At:Ot,rn=he.next;for(;rn!==D;){if(rn.x>=er&&rn.x<=Sr&&rn.y>=cr&&rn.y<=Nr&&te(Ce,ct,Ve,At,Xe,Ot,rn.x,rn.y)&&Ze(rn.prev,rn,rn.next)>=0)return!1;rn=rn.next}return!0}function Ac(q,D,Y,he){let Ce=q.prev,Ve=q,Xe=q.next;if(Ze(Ce,Ve,Xe)>=0)return!1;let ct=Ce.x,At=Ve.x,Ot=Xe.x,er=Ce.y,cr=Ve.y,Sr=Xe.y,Nr=ctAt?ct>Ot?ct:Ot:At>Ot?At:Ot,Gn=er>cr?er>Sr?er:Sr:cr>Sr?cr:Sr,ei=K(Nr,rn,D,Y,he),Ri=K(mn,Gn,D,Y,he),fi=q.prevZ,Si=q.nextZ;for(;fi&&fi.z>=ei&&Si&&Si.z<=Ri;){if(fi.x>=Nr&&fi.x<=mn&&fi.y>=rn&&fi.y<=Gn&&fi!==Ce&&fi!==Xe&&te(ct,er,At,cr,Ot,Sr,fi.x,fi.y)&&Ze(fi.prev,fi,fi.next)>=0||(fi=fi.prevZ,Si.x>=Nr&&Si.x<=mn&&Si.y>=rn&&Si.y<=Gn&&Si!==Ce&&Si!==Xe&&te(ct,er,At,cr,Ot,Sr,Si.x,Si.y)&&Ze(Si.prev,Si,Si.next)>=0))return!1;Si=Si.nextZ}for(;fi&&fi.z>=ei;){if(fi.x>=Nr&&fi.x<=mn&&fi.y>=rn&&fi.y<=Gn&&fi!==Ce&&fi!==Xe&&te(ct,er,At,cr,Ot,Sr,fi.x,fi.y)&&Ze(fi.prev,fi,fi.next)>=0)return!1;fi=fi.prevZ}for(;Si&&Si.z<=Ri;){if(Si.x>=Nr&&Si.x<=mn&&Si.y>=rn&&Si.y<=Gn&&Si!==Ce&&Si!==Xe&&te(ct,er,At,cr,Ot,Sr,Si.x,Si.y)&&Ze(Si.prev,Si,Si.next)>=0)return!1;Si=Si.nextZ}return!0}function Nc(q,D){let Y=q;do{let he=Y.prev,Ce=Y.next.next;!We(he,Ce)&<(he,Y,Y.next,Ce)&&xr(he,Ce)&&xr(Ce,he)&&(D.push(he.i,Y.i,Ce.i),Gt(Y),Gt(Y.next),Y=q=Ce),Y=Y.next}while(Y!==q);return mc(Y)}function Hs(q,D,Y,he,Ce,Ve){let Xe=q;do{let ct=Xe.next.next;for(;ct!==Xe.prev;){if(Xe.i!==ct.i&&ye(Xe,ct)){let At=Fr(Xe,ct);return Xe=mc(Xe,Xe.next),At=mc(At,At.next),Jc(Xe,D,Y,he,Ce,Ve,0),void Jc(At,D,Y,he,Ce,Ve,0)}ct=ct.next}Xe=Xe.next}while(Xe!==q)}function $c(q,D){return q.x-D.x}function Us(q,D){let Y=function(Ce,Ve){let Xe=Ve,ct=Ce.x,At=Ce.y,Ot,er=-1/0;do{if(At<=Xe.y&&At>=Xe.next.y&&Xe.next.y!==Xe.y){let mn=Xe.x+(At-Xe.y)*(Xe.next.x-Xe.x)/(Xe.next.y-Xe.y);if(mn<=ct&&mn>er&&(er=mn,Ot=Xe.x=Xe.x&&Xe.x>=Sr&&ct!==Xe.x&&te(AtOt.x||Xe.x===Ot.x&&ve(Ot,Xe)))&&(Ot=Xe,rn=mn)}Xe=Xe.next}while(Xe!==cr);return Ot}(q,D);if(!Y)return D;let he=Fr(Y,q);return mc(he,he.next),mc(Y,Y.next)}function ve(q,D){return Ze(q.prev,q,D.prev)<0&&Ze(D.next,q,q.next)<0}function K(q,D,Y,he,Ce){return(q=1431655765&((q=858993459&((q=252645135&((q=16711935&((q=(q-Y)*Ce|0)|q<<8))|q<<4))|q<<2))|q<<1))|(D=1431655765&((D=858993459&((D=252645135&((D=16711935&((D=(D-he)*Ce|0)|D<<8))|D<<4))|D<<2))|D<<1))<<1}function me(q){let D=q,Y=q;do(D.x=(q-Xe)*(Ve-ct)&&(q-Xe)*(he-ct)>=(Y-Xe)*(D-ct)&&(Y-Xe)*(Ve-ct)>=(Ce-Xe)*(he-ct)}function ye(q,D){return q.next.i!==D.i&&q.prev.i!==D.i&&!function(Y,he){let Ce=Y;do{if(Ce.i!==Y.i&&Ce.next.i!==Y.i&&Ce.i!==he.i&&Ce.next.i!==he.i&<(Ce,Ce.next,Y,he))return!0;Ce=Ce.next}while(Ce!==Y);return!1}(q,D)&&(xr(q,D)&&xr(D,q)&&function(Y,he){let Ce=Y,Ve=!1,Xe=(Y.x+he.x)/2,ct=(Y.y+he.y)/2;do Ce.y>ct!=Ce.next.y>ct&&Ce.next.y!==Ce.y&&Xe<(Ce.next.x-Ce.x)*(ct-Ce.y)/(Ce.next.y-Ce.y)+Ce.x&&(Ve=!Ve),Ce=Ce.next;while(Ce!==Y);return Ve}(q,D)&&(Ze(q.prev,q,D.prev)||Ze(q,D.prev,D))||We(q,D)&&Ze(q.prev,q,q.next)>0&&Ze(D.prev,D,D.next)>0)}function Ze(q,D,Y){return(D.y-q.y)*(Y.x-D.x)-(D.x-q.x)*(Y.y-D.y)}function We(q,D){return q.x===D.x&&q.y===D.y}function lt(q,D,Y,he){let Ce=Wt(Ze(q,D,Y)),Ve=Wt(Ze(q,D,he)),Xe=Wt(Ze(Y,he,q)),ct=Wt(Ze(Y,he,D));return Ce!==Ve&&Xe!==ct||!(Ce!==0||!Ct(q,Y,D))||!(Ve!==0||!Ct(q,he,D))||!(Xe!==0||!Ct(Y,q,he))||!(ct!==0||!Ct(Y,D,he))}function Ct(q,D,Y){return D.x<=Math.max(q.x,Y.x)&&D.x>=Math.min(q.x,Y.x)&&D.y<=Math.max(q.y,Y.y)&&D.y>=Math.min(q.y,Y.y)}function Wt(q){return q>0?1:q<0?-1:0}function xr(q,D){return Ze(q.prev,q,q.next)<0?Ze(q,D,q.next)>=0&&Ze(q,q.prev,D)>=0:Ze(q,D,q.prev)<0||Ze(q,q.next,D)<0}function Fr(q,D){let Y=nr(q.i,q.x,q.y),he=nr(D.i,D.x,D.y),Ce=q.next,Ve=D.prev;return q.next=D,D.prev=q,Y.next=Ce,Ce.prev=Y,he.next=Y,Y.prev=he,Ve.next=he,he.prev=Ve,he}function Ar(q,D,Y,he){let Ce=nr(q,D,Y);return he?(Ce.next=he.next,Ce.prev=he,he.next.prev=Ce,he.next=Ce):(Ce.prev=Ce,Ce.next=Ce),Ce}function Gt(q){q.next.prev=q.prev,q.prev.next=q.next,q.prevZ&&(q.prevZ.nextZ=q.nextZ),q.nextZ&&(q.nextZ.prevZ=q.prevZ)}function nr(q,D,Y){return{i:q,x:D,y:Y,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function mr(q,D,Y){let he=Y.patternDependencies,Ce=!1;for(let Ve of D){let Xe=Ve.paint.get(`${q}-pattern`);Xe.isConstant()||(Ce=!0);let ct=Xe.constantOr(null);ct&&(Ce=!0,he[ct.to]=!0,he[ct.from]=!0)}return Ce}function zr(q,D,Y,he,Ce){let Ve=Ce.patternDependencies;for(let Xe of D){let ct=Xe.paint.get(`${q}-pattern`).value;if(ct.kind!=="constant"){let At=ct.evaluate({zoom:he-1},Y,{},Ce.availableImages),Ot=ct.evaluate({zoom:he},Y,{},Ce.availableImages),er=ct.evaluate({zoom:he+1},Y,{},Ce.availableImages);At=At&&At.name?At.name:At,Ot=Ot&&Ot.name?Ot.name:Ot,er=er&&er.name?er.name:er,Ve[At]=!0,Ve[Ot]=!0,Ve[er]=!0,Y.patterns[Xe.id]={min:At,mid:Ot,max:er}}}return Y}class Gr{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Nl,this.indexArray=new Re,this.indexArray2=new Qe,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.segments2=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr("fill",this.layers,Y);let Ce=this.layers[0].layout.get("fill-sort-key"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he,Y.availableImages):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr("fill",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,Bc),this.indexBuffer=D.createIndexBuffer(this.indexArray),this.indexBuffer2=D.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct=0;for(let Nr of Xe)ct+=Nr.length;let At=this.segments.prepareSegment(ct,this.layoutVertexArray,this.indexArray),Ot=At.vertexLength,er=[],cr=[];for(let Nr of Xe){if(Nr.length===0)continue;Nr!==Xe[0]&&cr.push(er.length/2);let rn=this.segments2.prepareSegment(Nr.length,this.layoutVertexArray,this.indexArray2),mn=rn.vertexLength;this.layoutVertexArray.emplaceBack(Nr[0].x,Nr[0].y),this.indexArray2.emplaceBack(mn+Nr.length-1,mn),er.push(Nr[0].x),er.push(Nr[0].y);for(let Gn=1;Gn>3}if(Ce--,he===1||he===2)Ve+=q.readSVarint(),Xe+=q.readSVarint(),he===1&&(D&&ct.push(D),D=[]),D.push(new vi(Ve,Xe));else{if(he!==7)throw new Error("unknown command "+he);D&&D.push(D[0].clone())}}return D&&ct.push(D),ct},Pi.prototype.bbox=function(){var q=this._pbf;q.pos=this._geometry;for(var D=q.readVarint()+q.pos,Y=1,he=0,Ce=0,Ve=0,Xe=1/0,ct=-1/0,At=1/0,Ot=-1/0;q.pos>3}if(he--,Y===1||Y===2)(Ce+=q.readSVarint())ct&&(ct=Ce),(Ve+=q.readSVarint())Ot&&(Ot=Ve);else if(Y!==7)throw new Error("unknown command "+Y)}return[Xe,At,ct,Ot]},Pi.prototype.toGeoJSON=function(q,D,Y){var he,Ce,Ve=this.extent*Math.pow(2,Y),Xe=this.extent*q,ct=this.extent*D,At=this.loadGeometry(),Ot=Pi.types[this.type];function er(Nr){for(var rn=0;rn>3;Ce=Xe===1?he.readString():Xe===2?he.readFloat():Xe===3?he.readDouble():Xe===4?he.readVarint64():Xe===5?he.readVarint():Xe===6?he.readSVarint():Xe===7?he.readBoolean():null}return Ce}(Y))}da.prototype.feature=function(q){if(q<0||q>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[q];var D=this._pbf.readVarint()+this._pbf.pos;return new Ea(this._pbf,D,this.extent,this._keys,this._values)};var za=$i;function Qa(q,D,Y){if(q===3){var he=new za(Y,Y.readVarint()+Y.pos);he.length&&(D[he.name]=he)}}Xn.VectorTile=function(q,D){this.layers=q.readFields(Qa,{},D)},Xn.VectorTileFeature=Ji,Xn.VectorTileLayer=$i;let Cs=Xn.VectorTileFeature.types,ws=Math.pow(2,13);function $s(q,D,Y,he,Ce,Ve,Xe,ct){q.emplaceBack(D,Y,2*Math.floor(he*ws)+Xe,Ce*ws*2,Ve*ws*2,Math.round(ct))}class rs{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new eu,this.centroidVertexArray=new os,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.features=[],this.hasPattern=mr("fill-extrusion",this.layers,Y);for(let{feature:Ce,id:Ve,index:Xe,sourceLayerIndex:ct}of D){let At=this.layers[0]._featureFilter.needGeometry,Ot=Ul(Ce,At);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Ot,he))continue;let er={id:Ve,sourceLayerIndex:ct,index:Xe,geometry:At?Ot.geometry:xl(Ce),properties:Ce.properties,type:Ce.type,patterns:{}};this.hasPattern?this.features.push(zr("fill-extrusion",this.layers,er,this.zoom,Y)):this.addFeature(er,er.geometry,Xe,he,{}),Y.featureIndex.insert(Ce,er.geometry,Xe,ct,this.index,!0)}}addFeatures(D,Y,he){for(let Ce of this.features){let{geometry:Ve}=Ce;this.addFeature(Ce,Ve,Ce.index,Y,he)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0&&this.centroidVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,kn),this.centroidVertexBuffer=D.createVertexBuffer(this.centroidVertexArray,qr.members,!0),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct={x:0,y:0,vertexCount:0},At=0;for(let rn of Xe)At+=rn.length;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(let rn of Xe){if(rn.length===0||Cl(rn))continue;let mn=0;for(let Gn=0;Gn=1){let Ri=rn[Gn-1];if(!js(ei,Ri)){Ot.vertexLength+4>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));let fi=ei.sub(Ri)._perp()._unit(),Si=Ri.dist(ei);mn+Si>32768&&(mn=0),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,1,mn),ct.x+=2*ei.x,ct.y+=2*ei.y,ct.vertexCount+=2,mn+=Si,$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,1,mn),ct.x+=2*Ri.x,ct.y+=2*Ri.y,ct.vertexCount+=2;let Gi=Ot.vertexLength;this.indexArray.emplaceBack(Gi,Gi+2,Gi+1),this.indexArray.emplaceBack(Gi+1,Gi+2,Gi+3),Ot.vertexLength+=4,Ot.primitiveLength+=2}}}}if(Ot.vertexLength+At>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(At,this.layoutVertexArray,this.indexArray)),Cs[D.type]!=="Polygon")continue;let er=[],cr=[],Sr=Ot.vertexLength;for(let rn of Xe)if(rn.length!==0){rn!==Xe[0]&&cr.push(er.length/2);for(let mn=0;mnwo)||q.y===D.y&&(q.y<0||q.y>wo)}function Cl(q){return q.every(D=>D.x<0)||q.every(D=>D.x>wo)||q.every(D=>D.y<0)||q.every(D=>D.y>wo)}let Ou;di("FillExtrusionBucket",rs,{omit:["layers","features"]});var Kh={get paint(){return Ou=Ou||new Ne({"fill-extrusion-opacity":new bo(ie["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new bo(ie["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new bo(ie["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Fc(ie["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new bo(ie["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class Jh extends ne{constructor(D){super(D,Kh)}createBucket(D){return new rs(D)}queryRadius(){return Xo(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=Aa(D,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),Xe.angle,ct),er=this.paint.get("fill-extrusion-height").evaluate(Y,he),cr=this.paint.get("fill-extrusion-base").evaluate(Y,he),Sr=function(rn,mn,Gn,ei){let Ri=[];for(let fi of rn){let Si=[fi.x,fi.y,0,1];Oo(Si,Si,mn),Ri.push(new i(Si[0]/Si[3],Si[1]/Si[3]))}return Ri}(Ot,At),Nr=function(rn,mn,Gn,ei){let Ri=[],fi=[],Si=ei[8]*mn,Gi=ei[9]*mn,Ha=ei[10]*mn,Po=ei[11]*mn,xs=ei[8]*Gn,_o=ei[9]*Gn,Ra=ei[10]*Gn,es=ei[11]*Gn;for(let qo of rn){let Bo=[],ma=[];for(let us of qo){let No=us.x,ks=us.y,Au=ei[0]*No+ei[4]*ks+ei[12],yu=ei[1]*No+ei[5]*ks+ei[13],Ef=ei[2]*No+ei[6]*ks+ei[14],cd=ei[3]*No+ei[7]*ks+ei[15],nh=Ef+Ha,Cf=cd+Po,kh=Au+xs,Lh=yu+_o,Ph=Ef+Ra,jc=cd+es,kf=new i((Au+Si)/Cf,(yu+Gi)/Cf);kf.z=nh/Cf,Bo.push(kf);let mh=new i(kh/jc,Lh/jc);mh.z=Ph/jc,ma.push(mh)}Ri.push(Bo),fi.push(ma)}return[Ri,fi]}(Ce,cr,er,At);return function(rn,mn,Gn){let ei=1/0;cn(Gn,mn)&&(ei=sd(Gn,mn[0]));for(let Ri=0;RiY.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(Y=>{this.gradients[Y.id]={}}),this.layoutVertexArray=new Xu,this.layoutVertexArray2=new mu,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr("line",this.layers,Y);let Ce=this.layers[0].layout.get("line-sort-key"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr("line",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=D.createVertexBuffer(this.layoutVertexArray2,xd)),this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,_d),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(D){if(D.properties&&Object.prototype.hasOwnProperty.call(D.properties,"mapbox_clip_start")&&Object.prototype.hasOwnProperty.call(D.properties,"mapbox_clip_end"))return{start:+D.properties.mapbox_clip_start,end:+D.properties.mapbox_clip_end}}addFeature(D,Y,he,Ce,Ve){let Xe=this.layers[0].layout,ct=Xe.get("line-join").evaluate(D,{}),At=Xe.get("line-cap"),Ot=Xe.get("line-miter-limit"),er=Xe.get("line-round-limit");this.lineClips=this.lineFeatureClips(D);for(let cr of Y)this.addLine(cr,D,ct,At,Ot,er);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,Ve,Ce)}addLine(D,Y,he,Ce,Ve,Xe){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let ei=0;ei=2&&D[At-1].equals(D[At-2]);)At--;let Ot=0;for(;Ot0;if(Po&&ei>Ot){let es=Sr.dist(Nr);if(es>2*er){let qo=Sr.sub(Sr.sub(Nr)._mult(er/es)._round());this.updateDistance(Nr,qo),this.addCurrentVertex(qo,mn,0,0,cr),Nr=qo}}let _o=Nr&&rn,Ra=_o?he:ct?"butt":Ce;if(_o&&Ra==="round"&&(GiVe&&(Ra="bevel"),Ra==="bevel"&&(Gi>2&&(Ra="flipbevel"),Gi100)Ri=Gn.mult(-1);else{let es=Gi*mn.add(Gn).mag()/mn.sub(Gn).mag();Ri._perp()._mult(es*(xs?-1:1))}this.addCurrentVertex(Sr,Ri,0,0,cr),this.addCurrentVertex(Sr,Ri.mult(-1),0,0,cr)}else if(Ra==="bevel"||Ra==="fakeround"){let es=-Math.sqrt(Gi*Gi-1),qo=xs?es:0,Bo=xs?0:es;if(Nr&&this.addCurrentVertex(Sr,mn,qo,Bo,cr),Ra==="fakeround"){let ma=Math.round(180*Ha/Math.PI/20);for(let us=1;us2*er){let qo=Sr.add(rn.sub(Sr)._mult(er/es)._round());this.updateDistance(Sr,qo),this.addCurrentVertex(qo,Gn,0,0,cr),Sr=qo}}}}addCurrentVertex(D,Y,he,Ce,Ve,Xe=!1){let ct=Y.y*Ce-Y.x,At=-Y.y-Y.x*Ce;this.addHalfVertex(D,Y.x+Y.y*he,Y.y-Y.x*he,Xe,!1,he,Ve),this.addHalfVertex(D,ct,At,Xe,!0,-Ce,Ve),this.distance>$h/2&&this.totalDistance===0&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(D,Y,he,Ce,Ve,Xe))}addHalfVertex({x:D,y:Y},he,Ce,Ve,Xe,ct,At){let Ot=.5*(this.lineClips?this.scaledDistance*($h-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((D<<1)+(Ve?1:0),(Y<<1)+(Xe?1:0),Math.round(63*he)+128,Math.round(63*Ce)+128,1+(ct===0?0:ct<0?-1:1)|(63&Ot)<<2,Ot>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);let er=At.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,er),At.primitiveLength++),Xe?this.e2=er:this.e1=er}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(D,Y){this.distance+=D.dist(Y),this.updateScaledDistance()}}let Qh,zv;di("LineBucket",ld,{omit:["layers","patternFeatures"]});var Qd={get paint(){return zv=zv||new Ne({"line-opacity":new Wo(ie.paint_line["line-opacity"]),"line-color":new Wo(ie.paint_line["line-color"]),"line-translate":new bo(ie.paint_line["line-translate"]),"line-translate-anchor":new bo(ie.paint_line["line-translate-anchor"]),"line-width":new Wo(ie.paint_line["line-width"]),"line-gap-width":new Wo(ie.paint_line["line-gap-width"]),"line-offset":new Wo(ie.paint_line["line-offset"]),"line-blur":new Wo(ie.paint_line["line-blur"]),"line-dasharray":new hc(ie.paint_line["line-dasharray"]),"line-pattern":new Fc(ie.paint_line["line-pattern"]),"line-gradient":new dc(ie.paint_line["line-gradient"])})},get layout(){return Qh=Qh||new Ne({"line-cap":new bo(ie.layout_line["line-cap"]),"line-join":new Wo(ie.layout_line["line-join"]),"line-miter-limit":new bo(ie.layout_line["line-miter-limit"]),"line-round-limit":new bo(ie.layout_line["line-round-limit"]),"line-sort-key":new Wo(ie.layout_line["line-sort-key"])})}};class df extends Wo{possiblyEvaluate(D,Y){return Y=new zs(Math.floor(Y.zoom),{now:Y.now,fadeDuration:Y.fadeDuration,zoomHistory:Y.zoomHistory,transition:Y.transition}),super.possiblyEvaluate(D,Y)}evaluate(D,Y,he,Ce){return Y=E({},Y,{zoom:Math.floor(Y.zoom)}),super.evaluate(D,Y,he,Ce)}}let ev;class Fv extends ne{constructor(D){super(D,Qd),this.gradientVersion=0,ev||(ev=new df(Qd.paint.properties["line-width"].specification),ev.useIntegerZoom=!0)}_handleSpecialPaintPropertyUpdate(D){if(D==="line-gradient"){let Y=this.gradientExpression();this.stepInterpolant=!!function(he){return he._styleExpression!==void 0}(Y)&&Y._styleExpression.expression instanceof Dn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(D,Y){super.recalculate(D,Y),this.paint._values["line-floorwidth"]=ev.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,D)}createBucket(D){return new ld(D)}queryRadius(D){let Y=D,he=jf(ha("line-width",this,Y),ha("line-gap-width",this,Y)),Ce=ha("line-offset",this,Y);return he/2+Math.abs(Ce)+Xo(this.paint.get("line-translate"))}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct){let At=Aa(D,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),Xe.angle,ct),Ot=ct/2*jf(this.paint.get("line-width").evaluate(Y,he),this.paint.get("line-gap-width").evaluate(Y,he)),er=this.paint.get("line-offset").evaluate(Y,he);return er&&(Ce=function(cr,Sr){let Nr=[];for(let rn=0;rn=3){for(let Gn=0;Gn0?D+2*q:q}let gv=ht([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),sp=ht([{name:"a_projected_pos",components:3,type:"Float32"}],4);ht([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);let lp=ht([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);ht([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);let Ov=ht([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),yv=ht([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function _v(q,D,Y){return q.sections.forEach(he=>{he.text=function(Ce,Ve,Xe){let ct=Ve.layout.get("text-transform").evaluate(Xe,{});return ct==="uppercase"?Ce=Ce.toLocaleUpperCase():ct==="lowercase"&&(Ce=Ce.toLocaleLowerCase()),Js.applyArabicShaping&&(Ce=Js.applyArabicShaping(Ce)),Ce}(he.text,D,Y)}),q}ht([{name:"triangle",components:3,type:"Uint16"}]),ht([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ht([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),ht([{type:"Float32",name:"offsetX"}]),ht([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),ht([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);let Bu={"!":"\uFE15","#":"\uFF03",$:"\uFF04","%":"\uFF05","&":"\uFF06","(":"\uFE35",")":"\uFE36","*":"\uFF0A","+":"\uFF0B",",":"\uFE10","-":"\uFE32",".":"\u30FB","/":"\uFF0F",":":"\uFE13",";":"\uFE14","<":"\uFE3F","=":"\uFF1D",">":"\uFE40","?":"\uFE16","@":"\uFF20","[":"\uFE47","\\":"\uFF3C","]":"\uFE48","^":"\uFF3E",_:"\uFE33","`":"\uFF40","{":"\uFE37","|":"\u2015","}":"\uFE38","~":"\uFF5E","\xA2":"\uFFE0","\xA3":"\uFFE1","\xA5":"\uFFE5","\xA6":"\uFFE4","\xAC":"\uFFE2","\xAF":"\uFFE3","\u2013":"\uFE32","\u2014":"\uFE31","\u2018":"\uFE43","\u2019":"\uFE44","\u201C":"\uFE41","\u201D":"\uFE42","\u2026":"\uFE19","\u2027":"\u30FB","\u20A9":"\uFFE6","\u3001":"\uFE11","\u3002":"\uFE12","\u3008":"\uFE3F","\u3009":"\uFE40","\u300A":"\uFE3D","\u300B":"\uFE3E","\u300C":"\uFE41","\u300D":"\uFE42","\u300E":"\uFE43","\u300F":"\uFE44","\u3010":"\uFE3B","\u3011":"\uFE3C","\u3014":"\uFE39","\u3015":"\uFE3A","\u3016":"\uFE17","\u3017":"\uFE18","\uFF01":"\uFE15","\uFF08":"\uFE35","\uFF09":"\uFE36","\uFF0C":"\uFE10","\uFF0D":"\uFE32","\uFF0E":"\u30FB","\uFF1A":"\uFE13","\uFF1B":"\uFE14","\uFF1C":"\uFE3F","\uFF1E":"\uFE40","\uFF1F":"\uFE16","\uFF3B":"\uFE47","\uFF3D":"\uFE48","\uFF3F":"\uFE33","\uFF5B":"\uFE37","\uFF5C":"\u2015","\uFF5D":"\uFE38","\uFF5F":"\uFE35","\uFF60":"\uFE36","\uFF61":"\uFE12","\uFF62":"\uFE41","\uFF63":"\uFE42"};var Hl=24,vh=au,Bv=function(q,D,Y,he,Ce){var Ve,Xe,ct=8*Ce-he-1,At=(1<>1,er=-7,cr=Y?Ce-1:0,Sr=Y?-1:1,Nr=q[D+cr];for(cr+=Sr,Ve=Nr&(1<<-er)-1,Nr>>=-er,er+=ct;er>0;Ve=256*Ve+q[D+cr],cr+=Sr,er-=8);for(Xe=Ve&(1<<-er)-1,Ve>>=-er,er+=he;er>0;Xe=256*Xe+q[D+cr],cr+=Sr,er-=8);if(Ve===0)Ve=1-Ot;else{if(Ve===At)return Xe?NaN:1/0*(Nr?-1:1);Xe+=Math.pow(2,he),Ve-=Ot}return(Nr?-1:1)*Xe*Math.pow(2,Ve-he)},up=function(q,D,Y,he,Ce,Ve){var Xe,ct,At,Ot=8*Ve-Ce-1,er=(1<>1,Sr=Ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nr=he?0:Ve-1,rn=he?1:-1,mn=D<0||D===0&&1/D<0?1:0;for(D=Math.abs(D),isNaN(D)||D===1/0?(ct=isNaN(D)?1:0,Xe=er):(Xe=Math.floor(Math.log(D)/Math.LN2),D*(At=Math.pow(2,-Xe))<1&&(Xe--,At*=2),(D+=Xe+cr>=1?Sr/At:Sr*Math.pow(2,1-cr))*At>=2&&(Xe++,At/=2),Xe+cr>=er?(ct=0,Xe=er):Xe+cr>=1?(ct=(D*At-1)*Math.pow(2,Ce),Xe+=cr):(ct=D*Math.pow(2,cr-1)*Math.pow(2,Ce),Xe=0));Ce>=8;q[Y+Nr]=255&ct,Nr+=rn,ct/=256,Ce-=8);for(Xe=Xe<0;q[Y+Nr]=255&Xe,Nr+=rn,Xe/=256,Ot-=8);q[Y+Nr-rn]|=128*mn};function au(q){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(q)?q:new Uint8Array(q||0),this.pos=0,this.type=0,this.length=this.buf.length}au.Varint=0,au.Fixed64=1,au.Bytes=2,au.Fixed32=5;var rm=4294967296,xv=1/rm,rg=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function ed(q){return q.type===au.Bytes?q.readVarint()+q.pos:q.pos+1}function bv(q,D,Y){return Y?4294967296*D+(q>>>0):4294967296*(D>>>0)+(q>>>0)}function ng(q,D,Y){var he=D<=16383?1:D<=2097151?2:D<=268435455?3:Math.floor(Math.log(D)/(7*Math.LN2));Y.realloc(he);for(var Ce=Y.pos-1;Ce>=q;Ce--)Y.buf[Ce+he]=Y.buf[Ce]}function nm(q,D){for(var Y=0;Y>>8,q[Y+2]=D>>>16,q[Y+3]=D>>>24}function r1(q,D){return(q[D]|q[D+1]<<8|q[D+2]<<16)+(q[D+3]<<24)}au.prototype={destroy:function(){this.buf=null},readFields:function(q,D,Y){for(Y=Y||this.length;this.pos>3,Ve=this.pos;this.type=7&he,q(Ce,D,this),this.pos===Ve&&this.skip(he)}return D},readMessage:function(q,D){return this.readFields(q,D,this.readVarint()+this.pos)},readFixed32:function(){var q=Nv(this.buf,this.pos);return this.pos+=4,q},readSFixed32:function(){var q=r1(this.buf,this.pos);return this.pos+=4,q},readFixed64:function(){var q=Nv(this.buf,this.pos)+Nv(this.buf,this.pos+4)*rm;return this.pos+=8,q},readSFixed64:function(){var q=Nv(this.buf,this.pos)+r1(this.buf,this.pos+4)*rm;return this.pos+=8,q},readFloat:function(){var q=Bv(this.buf,this.pos,!0,23,4);return this.pos+=4,q},readDouble:function(){var q=Bv(this.buf,this.pos,!0,52,8);return this.pos+=8,q},readVarint:function(q){var D,Y,he=this.buf;return D=127&(Y=he[this.pos++]),Y<128?D:(D|=(127&(Y=he[this.pos++]))<<7,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<14,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<21,Y<128?D:function(Ce,Ve,Xe){var ct,At,Ot=Xe.buf;if(ct=(112&(At=Ot[Xe.pos++]))>>4,At<128||(ct|=(127&(At=Ot[Xe.pos++]))<<3,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<10,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<17,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<24,At<128)||(ct|=(1&(At=Ot[Xe.pos++]))<<31,At<128))return bv(Ce,ct,Ve);throw new Error("Expected varint not more than 10 bytes")}(D|=(15&(Y=he[this.pos]))<<28,q,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var q=this.readVarint();return q%2==1?(q+1)/-2:q/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var q=this.readVarint()+this.pos,D=this.pos;return this.pos=q,q-D>=12&&rg?function(Y,he,Ce){return rg.decode(Y.subarray(he,Ce))}(this.buf,D,q):function(Y,he,Ce){for(var Ve="",Xe=he;Xe239?4:er>223?3:er>191?2:1;if(Xe+Sr>Ce)break;Sr===1?er<128&&(cr=er):Sr===2?(192&(ct=Y[Xe+1]))==128&&(cr=(31&er)<<6|63&ct)<=127&&(cr=null):Sr===3?(At=Y[Xe+2],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&((cr=(15&er)<<12|(63&ct)<<6|63&At)<=2047||cr>=55296&&cr<=57343)&&(cr=null)):Sr===4&&(At=Y[Xe+2],Ot=Y[Xe+3],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&(192&Ot)==128&&((cr=(15&er)<<18|(63&ct)<<12|(63&At)<<6|63&Ot)<=65535||cr>=1114112)&&(cr=null)),cr===null?(cr=65533,Sr=1):cr>65535&&(cr-=65536,Ve+=String.fromCharCode(cr>>>10&1023|55296),cr=56320|1023&cr),Ve+=String.fromCharCode(cr),Xe+=Sr}return Ve}(this.buf,D,q)},readBytes:function(){var q=this.readVarint()+this.pos,D=this.buf.subarray(this.pos,q);return this.pos=q,D},readPackedVarint:function(q,D){if(this.type!==au.Bytes)return q.push(this.readVarint(D));var Y=ed(this);for(q=q||[];this.pos127;);else if(D===au.Bytes)this.pos=this.readVarint()+this.pos;else if(D===au.Fixed32)this.pos+=4;else{if(D!==au.Fixed64)throw new Error("Unimplemented type: "+D);this.pos+=8}},writeTag:function(q,D){this.writeVarint(q<<3|D)},realloc:function(q){for(var D=this.length||16;D268435455||q<0?function(D,Y){var he,Ce;if(D>=0?(he=D%4294967296|0,Ce=D/4294967296|0):(Ce=~(-D/4294967296),4294967295^(he=~(-D%4294967296))?he=he+1|0:(he=0,Ce=Ce+1|0)),D>=18446744073709552e3||D<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");Y.realloc(10),function(Ve,Xe,ct){ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,ct.buf[ct.pos]=127&(Ve>>>=7)}(he,0,Y),function(Ve,Xe){var ct=(7&Ve)<<4;Xe.buf[Xe.pos++]|=ct|((Ve>>>=3)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve)))))}(Ce,Y)}(q,this):(this.realloc(4),this.buf[this.pos++]=127&q|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=q>>>7&127))))},writeSVarint:function(q){this.writeVarint(q<0?2*-q-1:2*q)},writeBoolean:function(q){this.writeVarint(!!q)},writeString:function(q){q=String(q),this.realloc(4*q.length),this.pos++;var D=this.pos;this.pos=function(he,Ce,Ve){for(var Xe,ct,At=0;At55295&&Xe<57344){if(!ct){Xe>56319||At+1===Ce.length?(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189):ct=Xe;continue}if(Xe<56320){he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=Xe;continue}Xe=ct-55296<<10|Xe-56320|65536,ct=null}else ct&&(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=null);Xe<128?he[Ve++]=Xe:(Xe<2048?he[Ve++]=Xe>>6|192:(Xe<65536?he[Ve++]=Xe>>12|224:(he[Ve++]=Xe>>18|240,he[Ve++]=Xe>>12&63|128),he[Ve++]=Xe>>6&63|128),he[Ve++]=63&Xe|128)}return Ve}(this.buf,q,this.pos);var Y=this.pos-D;Y>=128&&ng(D,Y,this),this.pos=D-1,this.writeVarint(Y),this.pos+=Y},writeFloat:function(q){this.realloc(4),up(this.buf,q,this.pos,!0,23,4),this.pos+=4},writeDouble:function(q){this.realloc(8),up(this.buf,q,this.pos,!0,52,8),this.pos+=8},writeBytes:function(q){var D=q.length;this.writeVarint(D),this.realloc(D);for(var Y=0;Y=128&&ng(Y,he,this),this.pos=Y-1,this.writeVarint(he),this.pos+=he},writeMessage:function(q,D,Y){this.writeTag(q,au.Bytes),this.writeRawMessage(D,Y)},writePackedVarint:function(q,D){D.length&&this.writeMessage(q,nm,D)},writePackedSVarint:function(q,D){D.length&&this.writeMessage(q,Pb,D)},writePackedBoolean:function(q,D){D.length&&this.writeMessage(q,Db,D)},writePackedFloat:function(q,D){D.length&&this.writeMessage(q,Ib,D)},writePackedDouble:function(q,D){D.length&&this.writeMessage(q,Rb,D)},writePackedFixed32:function(q,D){D.length&&this.writeMessage(q,JM,D)},writePackedSFixed32:function(q,D){D.length&&this.writeMessage(q,zb,D)},writePackedFixed64:function(q,D){D.length&&this.writeMessage(q,Fb,D)},writePackedSFixed64:function(q,D){D.length&&this.writeMessage(q,Ob,D)},writeBytesField:function(q,D){this.writeTag(q,au.Bytes),this.writeBytes(D)},writeFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeFixed32(D)},writeSFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeSFixed32(D)},writeFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeFixed64(D)},writeSFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeSFixed64(D)},writeVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeVarint(D)},writeSVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeSVarint(D)},writeStringField:function(q,D){this.writeTag(q,au.Bytes),this.writeString(D)},writeFloatField:function(q,D){this.writeTag(q,au.Fixed32),this.writeFloat(D)},writeDoubleField:function(q,D){this.writeTag(q,au.Fixed64),this.writeDouble(D)},writeBooleanField:function(q,D){this.writeVarintField(q,!!D)}};var yy=r(vh);let _y=3;function $M(q,D,Y){q===1&&Y.readMessage(Bb,D)}function Bb(q,D,Y){if(q===3){let{id:he,bitmap:Ce,width:Ve,height:Xe,left:ct,top:At,advance:Ot}=Y.readMessage(n1,{});D.push({id:he,bitmap:new ps({width:Ve+2*_y,height:Xe+2*_y},Ce),metrics:{width:Ve,height:Xe,left:ct,top:At,advance:Ot}})}}function n1(q,D,Y){q===1?D.id=Y.readVarint():q===2?D.bitmap=Y.readBytes():q===3?D.width=Y.readVarint():q===4?D.height=Y.readVarint():q===5?D.left=Y.readSVarint():q===6?D.top=Y.readSVarint():q===7&&(D.advance=Y.readVarint())}let i1=_y;function xy(q){let D=0,Y=0;for(let Xe of q)D+=Xe.w*Xe.h,Y=Math.max(Y,Xe.w);q.sort((Xe,ct)=>ct.h-Xe.h);let he=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(D/.95)),Y),h:1/0}],Ce=0,Ve=0;for(let Xe of q)for(let ct=he.length-1;ct>=0;ct--){let At=he[ct];if(!(Xe.w>At.w||Xe.h>At.h)){if(Xe.x=At.x,Xe.y=At.y,Ve=Math.max(Ve,Xe.y+Xe.h),Ce=Math.max(Ce,Xe.x+Xe.w),Xe.w===At.w&&Xe.h===At.h){let Ot=he.pop();ct=0&&he>=D&&og[this.text.charCodeAt(he)];he--)Y--;this.text=this.text.substring(D,Y),this.sectionIndex=this.sectionIndex.slice(D,Y)}substring(D,Y){let he=new cp;return he.text=this.text.substring(D,Y),he.sectionIndex=this.sectionIndex.slice(D,Y),he.sections=this.sections,he}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((D,Y)=>Math.max(D,this.sections[Y].scale),0)}addTextSection(D,Y){this.text+=D.text,this.sections.push(am.forText(D.scale,D.fontStack||Y));let he=this.sections.length-1;for(let Ce=0;Ce=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function om(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=cp.fromFeature(q,Ce),Gn;cr===e.ah.vertical&&mn.verticalizePunctuation();let{processBidirectionalText:ei,processStyledBidirectionalText:Ri}=Js;if(ei&&mn.sections.length===1){Gn=[];let Gi=ei(mn.toString(),fp(mn,Ot,Ve,D,he,Nr));for(let Ha of Gi){let Po=new cp;Po.text=Ha,Po.sections=mn.sections;for(let xs=0;xs0&&hd>Qc&&(Qc=hd)}else{let ic=Po[Gl.fontStack],lf=ic&&ic[Mu];if(lf&&lf.rect)gp=lf.rect,Mc=lf.metrics;else{let hd=Ha[Gl.fontStack],iv=hd&&hd[Mu];if(!iv)continue;Mc=iv.metrics}nd=(kf-Gl.scale)*Hl}fd?(Gi.verticalizable=!0,Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=kd*Gl.scale+ma):(Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=Mc.advance*Gl.scale+ma)}Vf.length!==0&&(yu=Math.max(ks-ma,yu),wv(Vf,0,Vf.length-1,cd,Qc)),ks=0;let rd=Ra*kf+Qc;ih.lineOffset=Math.max(Qc,mh),Au+=rd,Ef=Math.max(rd,Ef),++nh}var Cf;let kh=Au-Sf,{horizontalAlign:Lh,verticalAlign:Ph}=lg(es);(function(jc,kf,mh,ih,Vf,Qc,rd,jh,Gl){let Nu=(kf-mh)*Vf,Mu=0;Mu=Qc!==rd?-jh*ih-Sf:(-ih*Gl+.5)*rd;for(let nd of jc)for(let Mc of nd.positionedGlyphs)Mc.x+=Nu,Mc.y+=Mu})(Gi.positionedLines,cd,Lh,Ph,yu,Ef,Ra,kh,_o.length),Gi.top+=-Ph*kh,Gi.bottom=Gi.top+kh,Gi.left+=-Lh*yu,Gi.right=Gi.left+yu}(Si,D,Y,he,Gn,Xe,ct,At,cr,Ot,Sr,rn),!function(Gi){for(let Ha of Gi)if(Ha.positionedGlyphs.length!==0)return!1;return!0}(fi)&&Si}let og={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Nb={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Ub={40:!0};function a1(q,D,Y,he,Ce,Ve){if(D.imageName){let Xe=he[D.imageName];return Xe?Xe.displaySize[0]*D.scale*Hl/Ve+Ce:0}{let Xe=Y[D.fontStack],ct=Xe&&Xe[q];return ct?ct.metrics.advance*D.scale+Ce:0}}function o1(q,D,Y,he){let Ce=Math.pow(q-D,2);return he?q=0,Ot=0;for(let cr=0;crOt){let er=Math.ceil(Ve/Ot);Ce*=er/Xe,Xe=er}return{x1:he,y1:Ce,x2:he+Ve,y2:Ce+Xe}}function u1(q,D,Y,he,Ce,Ve){let Xe=q.image,ct;if(Xe.content){let Gn=Xe.content,ei=Xe.pixelRatio||1;ct=[Gn[0]/ei,Gn[1]/ei,Xe.displaySize[0]-Gn[2]/ei,Xe.displaySize[1]-Gn[3]/ei]}let At=D.left*Ve,Ot=D.right*Ve,er,cr,Sr,Nr;Y==="width"||Y==="both"?(Nr=Ce[0]+At-he[3],cr=Ce[0]+Ot+he[1]):(Nr=Ce[0]+(At+Ot-Xe.displaySize[0])/2,cr=Nr+Xe.displaySize[0]);let rn=D.top*Ve,mn=D.bottom*Ve;return Y==="height"||Y==="both"?(er=Ce[1]+rn-he[0],Sr=Ce[1]+mn+he[2]):(er=Ce[1]+(rn+mn-Xe.displaySize[1])/2,Sr=er+Xe.displaySize[1]),{image:Xe,top:er,right:cr,bottom:Sr,left:Nr,collisionPadding:ct}}let lm=255,Bd=128,Tv=lm*Bd;function c1(q,D){let{expression:Y}=D;if(Y.kind==="constant")return{kind:"constant",layoutSize:Y.evaluate(new zs(q+1))};if(Y.kind==="source")return{kind:"source"};{let{zoomStops:he,interpolationType:Ce}=Y,Ve=0;for(;VeXe.id),this.index=D.index,this.pixelRatio=D.pixelRatio,this.sourceLayerIndex=D.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=Pa([]),this.placementViewportMatrix=Pa([]);let Y=this.layers[0]._unevaluatedLayout._values;this.textSizeData=c1(this.zoom,Y["text-size"]),this.iconSizeData=c1(this.zoom,Y["icon-size"]);let he=this.layers[0].layout,Ce=he.get("symbol-sort-key"),Ve=he.get("symbol-z-order");this.canOverlap=by(he,"text-overlap","text-allow-overlap")!=="never"||by(he,"icon-overlap","icon-allow-overlap")!=="never"||he.get("text-ignore-placement")||he.get("icon-ignore-placement"),this.sortFeaturesByKey=Ve!=="viewport-y"&&!Ce.isConstant(),this.sortFeaturesByY=(Ve==="viewport-y"||Ve==="auto"&&!this.sortFeaturesByKey)&&this.canOverlap,he.get("symbol-placement")==="point"&&(this.writingModes=he.get("text-writing-mode").map(Xe=>e.ah[Xe])),this.stateDependentLayerIds=this.layers.filter(Xe=>Xe.isStateDependent()).map(Xe=>Xe.id),this.sourceID=D.sourceID}createArrays(){this.text=new Ay(new tl(this.layers,this.zoom,D=>/^text/.test(D))),this.icon=new Ay(new tl(this.layers,this.zoom,D=>/^icon/.test(D))),this.glyphOffsetArray=new vs,this.lineVertexArray=new Fo,this.symbolInstances=new Io,this.textAnchorOffsets=new bs}calculateGlyphDependencies(D,Y,he,Ce,Ve){for(let Xe=0;Xe0)&&(Xe.value.kind!=="constant"||Xe.value.value.length>0),er=At.value.kind!=="constant"||!!At.value.value||Object.keys(At.parameters).length>0,cr=Ve.get("symbol-sort-key");if(this.features=[],!Ot&&!er)return;let Sr=Y.iconDependencies,Nr=Y.glyphDependencies,rn=Y.availableImages,mn=new zs(this.zoom);for(let{feature:Gn,id:ei,index:Ri,sourceLayerIndex:fi}of D){let Si=Ce._featureFilter.needGeometry,Gi=Ul(Gn,Si);if(!Ce._featureFilter.filter(mn,Gi,he))continue;let Ha,Po;if(Si||(Gi.geometry=xl(Gn)),Ot){let _o=Ce.getValueAndResolveTokens("text-field",Gi,he,rn),Ra=xn.factory(_o),es=this.hasRTLText=this.hasRTLText||Ty(Ra);(!es||Js.getRTLTextPluginStatus()==="unavailable"||es&&Js.isParsed())&&(Ha=_v(Ra,Ce,Gi))}if(er){let _o=Ce.getValueAndResolveTokens("icon-image",Gi,he,rn);Po=_o instanceof ri?_o:ri.fromString(_o)}if(!Ha&&!Po)continue;let xs=this.sortFeaturesByKey?cr.evaluate(Gi,{},he):void 0;if(this.features.push({id:ei,text:Ha,icon:Po,index:Ri,sourceLayerIndex:fi,geometry:Gi.geometry,properties:Gn.properties,type:Vb[Gn.type],sortKey:xs}),Po&&(Sr[Po.name]=!0),Ha){let _o=Xe.evaluate(Gi,{},he).join(","),Ra=Ve.get("text-rotation-alignment")!=="viewport"&&Ve.get("symbol-placement")!=="point";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(e.ah.vertical)>=0;for(let es of Ha.sections)if(es.image)Sr[es.image.name]=!0;else{let qo=Lo(Ha.toString()),Bo=es.fontStack||_o,ma=Nr[Bo]=Nr[Bo]||{};this.calculateGlyphDependencies(es.text,ma,Ra,this.allowVerticalPlacement,qo)}}}Ve.get("symbol-placement")==="line"&&(this.features=function(Gn){let ei={},Ri={},fi=[],Si=0;function Gi(_o){fi.push(Gn[_o]),Si++}function Ha(_o,Ra,es){let qo=Ri[_o];return delete Ri[_o],Ri[Ra]=qo,fi[qo].geometry[0].pop(),fi[qo].geometry[0]=fi[qo].geometry[0].concat(es[0]),qo}function Po(_o,Ra,es){let qo=ei[Ra];return delete ei[Ra],ei[_o]=qo,fi[qo].geometry[0].shift(),fi[qo].geometry[0]=es[0].concat(fi[qo].geometry[0]),qo}function xs(_o,Ra,es){let qo=es?Ra[0][Ra[0].length-1]:Ra[0][0];return`${_o}:${qo.x}:${qo.y}`}for(let _o=0;_o_o.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((Gn,ei)=>Gn.sortKey-ei.sortKey)}update(D,Y,he){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(D,Y,this.layers,he),this.icon.programConfigurations.updatePaintArrays(D,Y,this.layers,he))}isEmpty(){return this.symbolInstances.length===0&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(D){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(D),this.iconCollisionBox.upload(D)),this.text.upload(D,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(D,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(D,Y){let he=this.lineVertexArray.length;if(D.segment!==void 0){let Ce=D.dist(Y[D.segment+1]),Ve=D.dist(Y[D.segment]),Xe={};for(let ct=D.segment+1;ct=0;ct--)Xe[ct]={x:Y[ct].x,y:Y[ct].y,tileUnitDistanceFromAnchor:Ve},ct>0&&(Ve+=Y[ct-1].dist(Y[ct]));for(let ct=0;ct0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(D,Y){let he=D.placedSymbolArray.get(Y),Ce=he.vertexStartIndex+4*he.numGlyphs;for(let Ve=he.vertexStartIndex;VeCe[ct]-Ce[At]||Ve[At]-Ve[ct]),Xe}addToSortKeyRanges(D,Y){let he=this.sortKeyRanges[this.sortKeyRanges.length-1];he&&he.sortKey===Y?he.symbolInstanceEnd=D+1:this.sortKeyRanges.push({sortKey:Y,symbolInstanceStart:D,symbolInstanceEnd:D+1})}sortFeatures(D){if(this.sortFeaturesByY&&this.sortedAngle!==D&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(D),this.sortedAngle=D,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(let Y of this.symbolInstanceIndexes){let he=this.symbolInstances.get(Y);this.featureSortOrder.push(he.featureIndex),[he.rightJustifiedTextSymbolIndex,he.centerJustifiedTextSymbolIndex,he.leftJustifiedTextSymbolIndex].forEach((Ce,Ve,Xe)=>{Ce>=0&&Xe.indexOf(Ce)===Ve&&this.addIndicesForPlacedSymbol(this.text,Ce)}),he.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,he.verticalPlacedTextSymbolIndex),he.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.placedIconSymbolIndex),he.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}let Uc,um;di("SymbolBucket",hp,{omit:["layers","collisionBoxArray","features","compareText"]}),hp.MAX_GLYPHS=65535,hp.addDynamicAttributes=wy;var cg={get paint(){return um=um||new Ne({"icon-opacity":new Wo(ie.paint_symbol["icon-opacity"]),"icon-color":new Wo(ie.paint_symbol["icon-color"]),"icon-halo-color":new Wo(ie.paint_symbol["icon-halo-color"]),"icon-halo-width":new Wo(ie.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Wo(ie.paint_symbol["icon-halo-blur"]),"icon-translate":new bo(ie.paint_symbol["icon-translate"]),"icon-translate-anchor":new bo(ie.paint_symbol["icon-translate-anchor"]),"text-opacity":new Wo(ie.paint_symbol["text-opacity"]),"text-color":new Wo(ie.paint_symbol["text-color"],{runtimeType:Bt,getOverride:q=>q.textColor,hasOverride:q=>!!q.textColor}),"text-halo-color":new Wo(ie.paint_symbol["text-halo-color"]),"text-halo-width":new Wo(ie.paint_symbol["text-halo-width"]),"text-halo-blur":new Wo(ie.paint_symbol["text-halo-blur"]),"text-translate":new bo(ie.paint_symbol["text-translate"]),"text-translate-anchor":new bo(ie.paint_symbol["text-translate-anchor"])})},get layout(){return Uc=Uc||new Ne({"symbol-placement":new bo(ie.layout_symbol["symbol-placement"]),"symbol-spacing":new bo(ie.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new bo(ie.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Wo(ie.layout_symbol["symbol-sort-key"]),"symbol-z-order":new bo(ie.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new bo(ie.layout_symbol["icon-allow-overlap"]),"icon-overlap":new bo(ie.layout_symbol["icon-overlap"]),"icon-ignore-placement":new bo(ie.layout_symbol["icon-ignore-placement"]),"icon-optional":new bo(ie.layout_symbol["icon-optional"]),"icon-rotation-alignment":new bo(ie.layout_symbol["icon-rotation-alignment"]),"icon-size":new Wo(ie.layout_symbol["icon-size"]),"icon-text-fit":new bo(ie.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new bo(ie.layout_symbol["icon-text-fit-padding"]),"icon-image":new Wo(ie.layout_symbol["icon-image"]),"icon-rotate":new Wo(ie.layout_symbol["icon-rotate"]),"icon-padding":new Wo(ie.layout_symbol["icon-padding"]),"icon-keep-upright":new bo(ie.layout_symbol["icon-keep-upright"]),"icon-offset":new Wo(ie.layout_symbol["icon-offset"]),"icon-anchor":new Wo(ie.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new bo(ie.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new bo(ie.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new bo(ie.layout_symbol["text-rotation-alignment"]),"text-field":new Wo(ie.layout_symbol["text-field"]),"text-font":new Wo(ie.layout_symbol["text-font"]),"text-size":new Wo(ie.layout_symbol["text-size"]),"text-max-width":new Wo(ie.layout_symbol["text-max-width"]),"text-line-height":new bo(ie.layout_symbol["text-line-height"]),"text-letter-spacing":new Wo(ie.layout_symbol["text-letter-spacing"]),"text-justify":new Wo(ie.layout_symbol["text-justify"]),"text-radial-offset":new Wo(ie.layout_symbol["text-radial-offset"]),"text-variable-anchor":new bo(ie.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Wo(ie.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Wo(ie.layout_symbol["text-anchor"]),"text-max-angle":new bo(ie.layout_symbol["text-max-angle"]),"text-writing-mode":new bo(ie.layout_symbol["text-writing-mode"]),"text-rotate":new Wo(ie.layout_symbol["text-rotate"]),"text-padding":new bo(ie.layout_symbol["text-padding"]),"text-keep-upright":new bo(ie.layout_symbol["text-keep-upright"]),"text-transform":new Wo(ie.layout_symbol["text-transform"]),"text-offset":new Wo(ie.layout_symbol["text-offset"]),"text-allow-overlap":new bo(ie.layout_symbol["text-allow-overlap"]),"text-overlap":new bo(ie.layout_symbol["text-overlap"]),"text-ignore-placement":new bo(ie.layout_symbol["text-ignore-placement"]),"text-optional":new bo(ie.layout_symbol["text-optional"])})}};class cm{constructor(D){if(D.property.overrides===void 0)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=D.property.overrides?D.property.overrides.runtimeType:ot,this.defaultValue=D}evaluate(D){if(D.formattedSection){let Y=this.defaultValue.property.overrides;if(Y&&Y.hasOverride(D.formattedSection))return Y.getOverride(D.formattedSection)}return D.feature&&D.featureState?this.defaultValue.evaluate(D.feature,D.featureState):this.defaultValue.property.specification.default}eachChild(D){this.defaultValue.isConstant()||D(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}di("FormatSectionOverride",cm,{omit:["defaultValue"]});class Uv extends ne{constructor(D){super(D,cg)}recalculate(D,Y){if(super.recalculate(D,Y),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout._values["icon-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout._values["text-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")==="map"?"map":"viewport"),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){let he=this.layout.get("text-writing-mode");if(he){let Ce=[];for(let Ve of he)Ce.indexOf(Ve)<0&&Ce.push(Ve);this.layout._values["text-writing-mode"]=Ce}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()}getValueAndResolveTokens(D,Y,he,Ce){let Ve=this.layout.get(D).evaluate(Y,{},he,Ce),Xe=this._unevaluatedLayout._values[D];return Xe.isDataDriven()||yc(Xe.value)||!Ve?Ve:function(ct,At){return At.replace(/{([^{}]+)}/g,(Ot,er)=>ct&&er in ct?String(ct[er]):"")}(Y.properties,Ve)}createBucket(D){return new hp(D)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(let D of cg.paint.overridableProperties){if(!Uv.hasPaintOverride(this.layout,D))continue;let Y=this.paint.get(D),he=new cm(Y),Ce=new Ru(he,Y.property.specification),Ve=null;Ve=Y.value.kind==="constant"||Y.value.kind==="source"?new Rc("source",Ce):new tc("composite",Ce,Y.value.zoomStops),this.paint._values[D]=new Fu(Y.property,Ve,Y.parameters)}}_handleOverridablePaintPropertyUpdate(D,Y,he){return!(!this.layout||Y.isDataDriven()||he.isDataDriven())&&Uv.hasPaintOverride(this.layout,D)}static hasPaintOverride(D,Y){let he=D.get("text-field"),Ce=cg.paint.properties[Y],Ve=!1,Xe=ct=>{for(let At of ct)if(Ce.overrides&&Ce.overrides.hasOverride(At))return void(Ve=!0)};if(he.value.kind==="constant"&&he.value.value instanceof xn)Xe(he.value.value.sections);else if(he.value.kind==="source"){let ct=Ot=>{Ve||(Ot instanceof Pr&>(Ot.value)===Rr?Xe(Ot.value.sections):Ot instanceof Ls?Xe(Ot.sections):Ot.eachChild(ct))},At=he.value;At._styleExpression&&ct(At._styleExpression.expression)}return Ve}}let f1;var fm={get paint(){return f1=f1||new Ne({"background-color":new bo(ie.paint_background["background-color"]),"background-pattern":new hc(ie.paint_background["background-pattern"]),"background-opacity":new bo(ie.paint_background["background-opacity"])})}};class Hb extends ne{constructor(D){super(D,fm)}}let My;var h1={get paint(){return My=My||new Ne({"raster-opacity":new bo(ie.paint_raster["raster-opacity"]),"raster-hue-rotate":new bo(ie.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new bo(ie.paint_raster["raster-brightness-min"]),"raster-brightness-max":new bo(ie.paint_raster["raster-brightness-max"]),"raster-saturation":new bo(ie.paint_raster["raster-saturation"]),"raster-contrast":new bo(ie.paint_raster["raster-contrast"]),"raster-resampling":new bo(ie.paint_raster["raster-resampling"]),"raster-fade-duration":new bo(ie.paint_raster["raster-fade-duration"])})}};class hm extends ne{constructor(D){super(D,h1)}}class Sy extends ne{constructor(D){super(D,{}),this.onAdd=Y=>{this.implementation.onAdd&&this.implementation.onAdd(Y,Y.painter.context.gl)},this.onRemove=Y=>{this.implementation.onRemove&&this.implementation.onRemove(Y,Y.painter.context.gl)},this.implementation=D}is3D(){return this.implementation.renderingMode==="3d"}hasOffscreenPass(){return this.implementation.prerender!==void 0}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error("Custom layers cannot be serialized")}}class Ey{constructor(D){this._methodToThrottle=D,this._triggered=!1,typeof MessageChannel<"u"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._methodToThrottle()},0))}remove(){delete this._channel,this._methodToThrottle=()=>{}}}let Cy=63710088e-1;class tv{constructor(D,Y){if(isNaN(D)||isNaN(Y))throw new Error(`Invalid LngLat object: (${D}, ${Y})`);if(this.lng=+D,this.lat=+Y,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new tv(M(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(D){let Y=Math.PI/180,he=this.lat*Y,Ce=D.lat*Y,Ve=Math.sin(he)*Math.sin(Ce)+Math.cos(he)*Math.cos(Ce)*Math.cos((D.lng-this.lng)*Y);return Cy*Math.acos(Math.min(Ve,1))}static convert(D){if(D instanceof tv)return D;if(Array.isArray(D)&&(D.length===2||D.length===3))return new tv(Number(D[0]),Number(D[1]));if(!Array.isArray(D)&&typeof D=="object"&&D!==null)return new tv(Number("lng"in D?D.lng:D.lon),Number(D.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}let dp=2*Math.PI*Cy;function d1(q){return dp*Math.cos(q*Math.PI/180)}function fg(q){return(180+q)/360}function v1(q){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q*Math.PI/360)))/360}function hg(q,D){return q/d1(D)}function dm(q){return 360/Math.PI*Math.atan(Math.exp((180-360*q)*Math.PI/180))-90}class vm{constructor(D,Y,he=0){this.x=+D,this.y=+Y,this.z=+he}static fromLngLat(D,Y=0){let he=tv.convert(D);return new vm(fg(he.lng),v1(he.lat),hg(Y,he.lat))}toLngLat(){return new tv(360*this.x-180,dm(this.y))}toAltitude(){return this.z*d1(dm(this.y))}meterInMercatorCoordinateUnits(){return 1/dp*(D=dm(this.y),1/Math.cos(D*Math.PI/180));var D}}function bd(q,D,Y){var he=2*Math.PI*6378137/256/Math.pow(2,Y);return[q*he-2*Math.PI*6378137/2,D*he-2*Math.PI*6378137/2]}class ky{constructor(D,Y,he){if(!function(Ce,Ve,Xe){return!(Ce<0||Ce>25||Xe<0||Xe>=Math.pow(2,Ce)||Ve<0||Ve>=Math.pow(2,Ce))}(D,Y,he))throw new Error(`x=${Y}, y=${he}, z=${D} outside of bounds. 0<=x<${Math.pow(2,D)}, 0<=y<${Math.pow(2,D)} 0<=z<=25 `);this.z=D,this.x=Y,this.y=he,this.key=pm(0,D,D,Y,he)}equals(D){return this.z===D.z&&this.x===D.x&&this.y===D.y}url(D,Y,he){let Ce=(Xe=this.y,ct=this.z,At=bd(256*(Ve=this.x),256*(Xe=Math.pow(2,ct)-Xe-1),ct),Ot=bd(256*(Ve+1),256*(Xe+1),ct),At[0]+","+At[1]+","+Ot[0]+","+Ot[1]);var Ve,Xe,ct,At,Ot;let er=function(cr,Sr,Nr){let rn,mn="";for(let Gn=cr;Gn>0;Gn--)rn=1<1?"@2x":"").replace(/{quadkey}/g,er).replace(/{bbox-epsg-3857}/g,Ce)}isChildOf(D){let Y=this.z-D.z;return Y>0&&D.x===this.x>>Y&&D.y===this.y>>Y}getTilePoint(D){let Y=Math.pow(2,this.z);return new i((D.x*Y-this.x)*wo,(D.y*Y-this.y)*wo)}toString(){return`${this.z}/${this.x}/${this.y}`}}class p1{constructor(D,Y){this.wrap=D,this.canonical=Y,this.key=pm(D,Y.z,Y.z,Y.x,Y.y)}}class ud{constructor(D,Y,he,Ce,Ve){if(D= z; overscaledZ = ${D}; z = ${he}`);this.overscaledZ=D,this.wrap=Y,this.canonical=new ky(he,+Ce,+Ve),this.key=pm(Y,D,he,Ce,Ve)}clone(){return new ud(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(D){return this.overscaledZ===D.overscaledZ&&this.wrap===D.wrap&&this.canonical.equals(D.canonical)}scaledTo(D){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let Y=this.canonical.z-D;return D>this.canonical.z?new ud(D,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ud(D,this.wrap,D,this.canonical.x>>Y,this.canonical.y>>Y)}calculateScaledKey(D,Y){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let he=this.canonical.z-D;return D>this.canonical.z?pm(this.wrap*+Y,D,this.canonical.z,this.canonical.x,this.canonical.y):pm(this.wrap*+Y,D,D,this.canonical.x>>he,this.canonical.y>>he)}isChildOf(D){if(D.wrap!==this.wrap)return!1;let Y=this.canonical.z-D.canonical.z;return D.overscaledZ===0||D.overscaledZ>Y&&D.canonical.y===this.canonical.y>>Y}children(D){if(this.overscaledZ>=D)return[new ud(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];let Y=this.canonical.z+1,he=2*this.canonical.x,Ce=2*this.canonical.y;return[new ud(Y,this.wrap,Y,he,Ce),new ud(Y,this.wrap,Y,he+1,Ce),new ud(Y,this.wrap,Y,he,Ce+1),new ud(Y,this.wrap,Y,he+1,Ce+1)]}isLessThan(D){return this.wrapD.wrap)&&(this.overscaledZD.overscaledZ)&&(this.canonical.xD.canonical.x)&&this.canonical.ythis.max&&(this.max=cr),cr=this.dim+1||Y<-1||Y>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(Y+1)*this.stride+(D+1)}unpack(D,Y,he){return D*this.redFactor+Y*this.greenFactor+he*this.blueFactor-this.baseShift}getPixels(){return new Na({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(D,Y,he){if(this.dim!==D.dim)throw new Error("dem dimension mismatch");let Ce=Y*this.dim,Ve=Y*this.dim+this.dim,Xe=he*this.dim,ct=he*this.dim+this.dim;switch(Y){case-1:Ce=Ve-1;break;case 1:Ve=Ce+1}switch(he){case-1:Xe=ct-1;break;case 1:ct=Xe+1}let At=-Y*this.dim,Ot=-he*this.dim;for(let er=Xe;er=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${D} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[D]}}class Ly{constructor(D,Y,he,Ce,Ve){this.type="Feature",this._vectorTileFeature=D,D._z=Y,D._x=he,D._y=Ce,this.properties=D.properties,this.id=Ve}get geometry(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(D){this._geometry=D}toJSON(){let D={geometry:this.geometry};for(let Y in this)Y!=="_geometry"&&Y!=="_vectorTileFeature"&&(D[Y]=this[Y]);return D}}class jv{constructor(D,Y){this.tileID=D,this.x=D.canonical.x,this.y=D.canonical.y,this.z=D.canonical.z,this.grid=new zi(wo,16,0),this.grid3D=new zi(wo,16,0),this.featureIndexArray=new al,this.promoteId=Y}insert(D,Y,he,Ce,Ve,Xe){let ct=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(he,Ce,Ve);let At=Xe?this.grid3D:this.grid;for(let Ot=0;Ot=0&&cr[3]>=0&&At.insert(ct,cr[0],cr[1],cr[2],cr[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new Xn.VectorTile(new yy(this.rawTileData)).layers,this.sourceLayerCoder=new g1(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers}query(D,Y,he,Ce){this.loadVTLayers();let Ve=D.params||{},Xe=wo/D.tileSize/D.scale,ct=_c(Ve.filter),At=D.queryGeometry,Ot=D.queryPadding*Xe,er=_1(At),cr=this.grid.query(er.minX-Ot,er.minY-Ot,er.maxX+Ot,er.maxY+Ot),Sr=_1(D.cameraQueryGeometry),Nr=this.grid3D.query(Sr.minX-Ot,Sr.minY-Ot,Sr.maxX+Ot,Sr.maxY+Ot,(Gn,ei,Ri,fi)=>function(Si,Gi,Ha,Po,xs){for(let Ra of Si)if(Gi<=Ra.x&&Ha<=Ra.y&&Po>=Ra.x&&xs>=Ra.y)return!0;let _o=[new i(Gi,Ha),new i(Gi,xs),new i(Po,xs),new i(Po,Ha)];if(Si.length>2){for(let Ra of _o)if(Ca(Si,Ra))return!0}for(let Ra=0;Ra(fi||(fi=xl(Si)),Gi.queryIntersectsFeature(At,Si,Ha,fi,this.z,D.transform,Xe,D.pixelPosMatrix)))}return rn}loadMatchingFeature(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=this.bucketLayerIDs[Y];if(Xe&&!function(Gn,ei){for(let Ri=0;Ri=0)return!0;return!1}(Xe,Sr))return;let Nr=this.sourceLayerCoder.decode(he),rn=this.vtLayers[Nr].feature(Ce);if(Ve.needGeometry){let Gn=Ul(rn,!0);if(!Ve.filter(new zs(this.tileID.overscaledZ),Gn,this.tileID.canonical))return}else if(!Ve.filter(new zs(this.tileID.overscaledZ),rn))return;let mn=this.getId(rn,Nr);for(let Gn=0;Gn{let ct=D instanceof wc?D.get(Xe):null;return ct&&ct.evaluate?ct.evaluate(Y,he,Ce):ct})}function _1(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return{minX:D,minY:Y,maxX:he,maxY:Ce}}function Gb(q,D){return D-q}function x1(q,D,Y,he,Ce){let Ve=[];for(let Xe=0;Xe=he&&cr.x>=he||(er.x>=he?er=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round():cr.x>=he&&(cr=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round()),er.y>=Ce&&cr.y>=Ce||(er.y>=Ce?er=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round():cr.y>=Ce&&(cr=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round()),At&&er.equals(At[At.length-1])||(At=[er],Ve.push(At)),At.push(cr)))))}}return Ve}di("FeatureIndex",jv,{omit:["rawTileData","sourceLayerCoder"]});class rv extends i{constructor(D,Y,he,Ce){super(D,Y),this.angle=he,Ce!==void 0&&(this.segment=Ce)}clone(){return new rv(this.x,this.y,this.angle,this.segment)}}function Py(q,D,Y,he,Ce){if(D.segment===void 0||Y===0)return!0;let Ve=D,Xe=D.segment+1,ct=0;for(;ct>-Y/2;){if(Xe--,Xe<0)return!1;ct-=q[Xe].dist(Ve),Ve=q[Xe]}ct+=q[Xe].dist(q[Xe+1]),Xe++;let At=[],Ot=0;for(;cthe;)Ot-=At.shift().angleDelta;if(Ot>Ce)return!1;Xe++,ct+=er.dist(cr)}return!0}function b1(q){let D=0;for(let Y=0;YOt){let rn=(Ot-At)/Nr,mn=yo.number(cr.x,Sr.x,rn),Gn=yo.number(cr.y,Sr.y,rn),ei=new rv(mn,Gn,Sr.angleTo(cr),er);return ei._round(),!Xe||Py(q,ei,ct,Xe,D)?ei:void 0}At+=Nr}}function Xb(q,D,Y,he,Ce,Ve,Xe,ct,At){let Ot=w1(he,Ve,Xe),er=T1(he,Ce),cr=er*Xe,Sr=q[0].x===0||q[0].x===At||q[0].y===0||q[0].y===At;return D-cr=0&&Si=0&&Gi=0&&Sr+Ot<=er){let Ha=new rv(Si,Gi,Ri,rn);Ha._round(),he&&!Py(q,Ha,Ve,he,Ce)||Nr.push(Ha)}}cr+=ei}return ct||Nr.length||Xe||(Nr=A1(q,cr/2,Y,he,Ce,Ve,Xe,!0,At)),Nr}di("Anchor",rv);let vp=ph;function M1(q,D,Y,he){let Ce=[],Ve=q.image,Xe=Ve.pixelRatio,ct=Ve.paddedRect.w-2*vp,At=Ve.paddedRect.h-2*vp,Ot={x1:q.left,y1:q.top,x2:q.right,y2:q.bottom},er=Ve.stretchX||[[0,ct]],cr=Ve.stretchY||[[0,At]],Sr=(ma,us)=>ma+us[1]-us[0],Nr=er.reduce(Sr,0),rn=cr.reduce(Sr,0),mn=ct-Nr,Gn=At-rn,ei=0,Ri=Nr,fi=0,Si=rn,Gi=0,Ha=mn,Po=0,xs=Gn;if(Ve.content&&he){let ma=Ve.content,us=ma[2]-ma[0],No=ma[3]-ma[1];(Ve.textFitWidth||Ve.textFitHeight)&&(Ot=l1(q)),ei=nv(er,0,ma[0]),fi=nv(cr,0,ma[1]),Ri=nv(er,ma[0],ma[2]),Si=nv(cr,ma[1],ma[3]),Gi=ma[0]-ei,Po=ma[1]-fi,Ha=us-Ri,xs=No-Si}let _o=Ot.x1,Ra=Ot.y1,es=Ot.x2-_o,qo=Ot.y2-Ra,Bo=(ma,us,No,ks)=>{let Au=dg(ma.stretch-ei,Ri,es,_o),yu=pp(ma.fixed-Gi,Ha,ma.stretch,Nr),Ef=dg(us.stretch-fi,Si,qo,Ra),cd=pp(us.fixed-Po,xs,us.stretch,rn),nh=dg(No.stretch-ei,Ri,es,_o),Cf=pp(No.fixed-Gi,Ha,No.stretch,Nr),kh=dg(ks.stretch-fi,Si,qo,Ra),Lh=pp(ks.fixed-Po,xs,ks.stretch,rn),Ph=new i(Au,Ef),jc=new i(nh,Ef),kf=new i(nh,kh),mh=new i(Au,kh),ih=new i(yu/Xe,cd/Xe),Vf=new i(Cf/Xe,Lh/Xe),Qc=D*Math.PI/180;if(Qc){let Gl=Math.sin(Qc),Nu=Math.cos(Qc),Mu=[Nu,-Gl,Gl,Nu];Ph._matMult(Mu),jc._matMult(Mu),mh._matMult(Mu),kf._matMult(Mu)}let rd=ma.stretch+ma.fixed,jh=us.stretch+us.fixed;return{tl:Ph,tr:jc,bl:mh,br:kf,tex:{x:Ve.paddedRect.x+vp+rd,y:Ve.paddedRect.y+vp+jh,w:No.stretch+No.fixed-rd,h:ks.stretch+ks.fixed-jh},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:ih,pixelOffsetBR:Vf,minFontScaleX:Ha/Xe/es,minFontScaleY:xs/Xe/qo,isSDF:Y}};if(he&&(Ve.stretchX||Ve.stretchY)){let ma=S1(er,mn,Nr),us=S1(cr,Gn,rn);for(let No=0;No0&&(mn=Math.max(10,mn),this.circleDiameter=mn)}else{let Sr=!((cr=Xe.image)===null||cr===void 0)&&cr.content&&(Xe.image.textFitWidth||Xe.image.textFitHeight)?l1(Xe):{x1:Xe.left,y1:Xe.top,x2:Xe.right,y2:Xe.bottom};Sr.y1=Sr.y1*ct-At[0],Sr.y2=Sr.y2*ct+At[2],Sr.x1=Sr.x1*ct-At[3],Sr.x2=Sr.x2*ct+At[1];let Nr=Xe.collisionPadding;if(Nr&&(Sr.x1-=Nr[0]*ct,Sr.y1-=Nr[1]*ct,Sr.x2+=Nr[2]*ct,Sr.y2+=Nr[3]*ct),er){let rn=new i(Sr.x1,Sr.y1),mn=new i(Sr.x2,Sr.y1),Gn=new i(Sr.x1,Sr.y2),ei=new i(Sr.x2,Sr.y2),Ri=er*Math.PI/180;rn._rotate(Ri),mn._rotate(Ri),Gn._rotate(Ri),ei._rotate(Ri),Sr.x1=Math.min(rn.x,mn.x,Gn.x,ei.x),Sr.x2=Math.max(rn.x,mn.x,Gn.x,ei.x),Sr.y1=Math.min(rn.y,mn.y,Gn.y,ei.y),Sr.y2=Math.max(rn.y,mn.y,Gn.y,ei.y)}D.emplaceBack(Y.x,Y.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,he,Ce,Ve)}this.boxEndIndex=D.length}}class Cd{constructor(D=[],Y=(he,Ce)=>heCe?1:0){if(this.data=D,this.length=this.data.length,this.compare=Y,this.length>0)for(let he=(this.length>>1)-1;he>=0;he--)this._down(he)}push(D){this.data.push(D),this._up(this.length++)}pop(){if(this.length===0)return;let D=this.data[0],Y=this.data.pop();return--this.length>0&&(this.data[0]=Y,this._down(0)),D}peek(){return this.data[0]}_up(D){let{data:Y,compare:he}=this,Ce=Y[D];for(;D>0;){let Ve=D-1>>1,Xe=Y[Ve];if(he(Ce,Xe)>=0)break;Y[D]=Xe,D=Ve}Y[D]=Ce}_down(D){let{data:Y,compare:he}=this,Ce=this.length>>1,Ve=Y[D];for(;D=0)break;Y[D]=Y[Xe],D=Xe}Y[D]=Ve}}function Zb(q,D=1,Y=!1){let he=1/0,Ce=1/0,Ve=-1/0,Xe=-1/0,ct=q[0];for(let Nr=0;NrVe)&&(Ve=rn.x),(!Nr||rn.y>Xe)&&(Xe=rn.y)}let At=Math.min(Ve-he,Xe-Ce),Ot=At/2,er=new Cd([],Yb);if(At===0)return new i(he,Ce);for(let Nr=he;Nrcr.d||!cr.d)&&(cr=Nr,Y&&console.log("found best %d after %d probes",Math.round(1e4*Nr.d)/1e4,Sr)),Nr.max-cr.d<=D||(Ot=Nr.h/2,er.push(new mp(Nr.p.x-Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x-Ot,Nr.p.y+Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y+Ot,Ot,q)),Sr+=4)}return Y&&(console.log(`num probes: ${Sr}`),console.log(`best distance: ${cr.d}`)),cr.p}function Yb(q,D){return D.max-q.max}function mp(q,D,Y,he){this.p=new i(q,D),this.h=Y,this.d=function(Ce,Ve){let Xe=!1,ct=1/0;for(let At=0;AtCe.y!=rn.y>Ce.y&&Ce.x<(rn.x-Nr.x)*(Ce.y-Nr.y)/(rn.y-Nr.y)+Nr.x&&(Xe=!Xe),ct=Math.min(ct,Oi(Ce,Nr,rn))}}return(Xe?1:-1)*Math.sqrt(ct)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}var rh;e.aq=void 0,(rh=e.aq||(e.aq={}))[rh.center=1]="center",rh[rh.left=2]="left",rh[rh.right=3]="right",rh[rh.top=4]="top",rh[rh.bottom=5]="bottom",rh[rh["top-left"]=6]="top-left",rh[rh["top-right"]=7]="top-right",rh[rh["bottom-left"]=8]="bottom-left",rh[rh["bottom-right"]=9]="bottom-right";let Sv=7,Vv=Number.POSITIVE_INFINITY;function Iy(q,D){return D[1]!==Vv?function(Y,he,Ce){let Ve=0,Xe=0;switch(he=Math.abs(he),Ce=Math.abs(Ce),Y){case"top-right":case"top-left":case"top":Xe=Ce-Sv;break;case"bottom-right":case"bottom-left":case"bottom":Xe=-Ce+Sv}switch(Y){case"top-right":case"bottom-right":case"right":Ve=-he;break;case"top-left":case"bottom-left":case"left":Ve=he}return[Ve,Xe]}(q,D[0],D[1]):function(Y,he){let Ce=0,Ve=0;he<0&&(he=0);let Xe=he/Math.SQRT2;switch(Y){case"top-right":case"top-left":Ve=Xe-Sv;break;case"bottom-right":case"bottom-left":Ve=-Xe+Sv;break;case"bottom":Ve=-he+Sv;break;case"top":Ve=he-Sv}switch(Y){case"top-right":case"bottom-right":Ce=-Xe;break;case"top-left":case"bottom-left":Ce=Xe;break;case"left":Ce=he;break;case"right":Ce=-he}return[Ce,Ve]}(q,D[0])}function E1(q,D,Y){var he;let Ce=q.layout,Ve=(he=Ce.get("text-variable-anchor-offset"))===null||he===void 0?void 0:he.evaluate(D,{},Y);if(Ve){let ct=Ve.values,At=[];for(let Ot=0;OtSr*Hl);er.startsWith("top")?cr[1]-=Sv:er.startsWith("bottom")&&(cr[1]+=Sv),At[Ot+1]=cr}return new Wn(At)}let Xe=Ce.get("text-variable-anchor");if(Xe){let ct;ct=q._unevaluatedLayout.getValue("text-radial-offset")!==void 0?[Ce.get("text-radial-offset").evaluate(D,{},Y)*Hl,Vv]:Ce.get("text-offset").evaluate(D,{},Y).map(Ot=>Ot*Hl);let At=[];for(let Ot of Xe)At.push(Ot,Iy(Ot,ct));return new Wn(At)}return null}function Ry(q){switch(q){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function Kb(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=Ve.textMaxSize.evaluate(D,{});cr===void 0&&(cr=Xe);let Sr=q.layers[0].layout,Nr=Sr.get("icon-offset").evaluate(D,{},er),rn=k1(Y.horizontal),mn=Xe/24,Gn=q.tilePixelRatio*mn,ei=q.tilePixelRatio*cr/24,Ri=q.tilePixelRatio*ct,fi=q.tilePixelRatio*Sr.get("symbol-spacing"),Si=Sr.get("text-padding")*q.tilePixelRatio,Gi=function(ma,us,No,ks=1){let Au=ma.get("icon-padding").evaluate(us,{},No),yu=Au&&Au.values;return[yu[0]*ks,yu[1]*ks,yu[2]*ks,yu[3]*ks]}(Sr,D,er,q.tilePixelRatio),Ha=Sr.get("text-max-angle")/180*Math.PI,Po=Sr.get("text-rotation-alignment")!=="viewport"&&Sr.get("symbol-placement")!=="point",xs=Sr.get("icon-rotation-alignment")==="map"&&Sr.get("symbol-placement")!=="point",_o=Sr.get("symbol-placement"),Ra=fi/2,es=Sr.get("icon-text-fit"),qo;he&&es!=="none"&&(q.allowVerticalPlacement&&Y.vertical&&(qo=u1(he,Y.vertical,es,Sr.get("icon-text-fit-padding"),Nr,mn)),rn&&(he=u1(he,rn,es,Sr.get("icon-text-fit-padding"),Nr,mn)));let Bo=(ma,us)=>{us.x<0||us.x>=wo||us.y<0||us.y>=wo||function(No,ks,Au,yu,Ef,cd,nh,Cf,kh,Lh,Ph,jc,kf,mh,ih,Vf,Qc,rd,jh,Gl,Nu,Mu,nd,Mc,gp){let Nd=No.addToLineVertexArray(ks,Au),kd,fd,ic,lf,hd=0,iv=0,Vh=0,yp=0,By=-1,gg=-1,Ud={},qv=ai("");if(No.allowVerticalPlacement&&yu.vertical){let gh=Cf.layout.get("text-rotate").evaluate(Nu,{},Mc)+90;ic=new Mv(kh,ks,Lh,Ph,jc,yu.vertical,kf,mh,ih,gh),nh&&(lf=new Mv(kh,ks,Lh,Ph,jc,nh,Qc,rd,ih,gh))}if(Ef){let gh=Cf.layout.get("icon-rotate").evaluate(Nu,{}),dd=Cf.layout.get("icon-text-fit")!=="none",Ev=M1(Ef,gh,nd,dd),Ih=nh?M1(nh,gh,nd,dd):void 0;fd=new Mv(kh,ks,Lh,Ph,jc,Ef,Qc,rd,!1,gh),hd=4*Ev.length;let yh=No.iconSizeData,Td=null;yh.kind==="source"?(Td=[Bd*Cf.layout.get("icon-size").evaluate(Nu,{})],Td[0]>Tv&&f(`${No.layerIds[0]}: Value for "icon-size" is >= ${lm}. Reduce your "icon-size".`)):yh.kind==="composite"&&(Td=[Bd*Mu.compositeIconSizes[0].evaluate(Nu,{},Mc),Bd*Mu.compositeIconSizes[1].evaluate(Nu,{},Mc)],(Td[0]>Tv||Td[1]>Tv)&&f(`${No.layerIds[0]}: Value for "icon-size" is >= ${lm}. Reduce your "icon-size".`)),No.addSymbols(No.icon,Ev,Td,Gl,jh,Nu,e.ah.none,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),By=No.icon.placedSymbolArray.length-1,Ih&&(iv=4*Ih.length,No.addSymbols(No.icon,Ih,Td,Gl,jh,Nu,e.ah.vertical,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),gg=No.icon.placedSymbolArray.length-1)}let qf=Object.keys(yu.horizontal);for(let gh of qf){let dd=yu.horizontal[gh];if(!kd){qv=ai(dd.text);let Ih=Cf.layout.get("text-rotate").evaluate(Nu,{},Mc);kd=new Mv(kh,ks,Lh,Ph,jc,dd,kf,mh,ih,Ih)}let Ev=dd.positionedLines.length===1;if(Vh+=C1(No,ks,dd,cd,Cf,ih,Nu,Vf,Nd,yu.vertical?e.ah.horizontal:e.ah.horizontalOnly,Ev?qf:[gh],Ud,By,Mu,Mc),Ev)break}yu.vertical&&(yp+=C1(No,ks,yu.vertical,cd,Cf,ih,Nu,Vf,Nd,e.ah.vertical,["vertical"],Ud,gg,Mu,Mc));let Qb=kd?kd.boxStartIndex:No.collisionBoxArray.length,yg=kd?kd.boxEndIndex:No.collisionBoxArray.length,jd=ic?ic.boxStartIndex:No.collisionBoxArray.length,qh=ic?ic.boxEndIndex:No.collisionBoxArray.length,R1=fd?fd.boxStartIndex:No.collisionBoxArray.length,ew=fd?fd.boxEndIndex:No.collisionBoxArray.length,D1=lf?lf.boxStartIndex:No.collisionBoxArray.length,tw=lf?lf.boxEndIndex:No.collisionBoxArray.length,wd=-1,ym=(gh,dd)=>gh&&gh.circleDiameter?Math.max(gh.circleDiameter,dd):dd;wd=ym(kd,wd),wd=ym(ic,wd),wd=ym(fd,wd),wd=ym(lf,wd);let _g=wd>-1?1:0;_g&&(wd*=gp/Hl),No.glyphOffsetArray.length>=hp.MAX_GLYPHS&&f("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nu.sortKey!==void 0&&No.addToSortKeyRanges(No.symbolInstances.length,Nu.sortKey);let Ny=E1(Cf,Nu,Mc),[rw,nw]=function(gh,dd){let Ev=gh.length,Ih=dd?.values;if(Ih?.length>0)for(let yh=0;yh=0?Ud.right:-1,Ud.center>=0?Ud.center:-1,Ud.left>=0?Ud.left:-1,Ud.vertical||-1,By,gg,qv,Qb,yg,jd,qh,R1,ew,D1,tw,Lh,Vh,yp,hd,iv,_g,0,kf,wd,rw,nw)}(q,us,ma,Y,he,Ce,qo,q.layers[0],q.collisionBoxArray,D.index,D.sourceLayerIndex,q.index,Gn,[Si,Si,Si,Si],Po,At,Ri,Gi,xs,Nr,D,Ve,Ot,er,Xe)};if(_o==="line")for(let ma of x1(D.geometry,0,0,wo,wo)){let us=Xb(ma,fi,Ha,Y.vertical||rn,he,24,ei,q.overscaling,wo);for(let No of us)rn&&Jb(q,rn.text,Ra,No)||Bo(ma,No)}else if(_o==="line-center"){for(let ma of D.geometry)if(ma.length>1){let us=Wb(ma,Ha,Y.vertical||rn,he,24,ei);us&&Bo(ma,us)}}else if(D.type==="Polygon")for(let ma of kc(D.geometry,0)){let us=Zb(ma,16);Bo(ma[0],new rv(us.x,us.y,0))}else if(D.type==="LineString")for(let ma of D.geometry)Bo(ma,new rv(ma[0].x,ma[0].y,0));else if(D.type==="Point")for(let ma of D.geometry)for(let us of ma)Bo([us],new rv(us.x,us.y,0))}function C1(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=function(Ri,fi,Si,Gi,Ha,Po,xs,_o){let Ra=Gi.layout.get("text-rotate").evaluate(Po,{})*Math.PI/180,es=[];for(let qo of fi.positionedLines)for(let Bo of qo.positionedGlyphs){if(!Bo.rect)continue;let ma=Bo.rect||{},us=i1+1,No=!0,ks=1,Au=0,yu=(Ha||_o)&&Bo.vertical,Ef=Bo.metrics.advance*Bo.scale/2;if(_o&&fi.verticalizable&&(Au=qo.lineOffset/2-(Bo.imageName?-(Hl-Bo.metrics.width*Bo.scale)/2:(Bo.scale-1)*Hl)),Bo.imageName){let Gl=xs[Bo.imageName];No=Gl.sdf,ks=Gl.pixelRatio,us=ph/ks}let cd=Ha?[Bo.x+Ef,Bo.y]:[0,0],nh=Ha?[0,0]:[Bo.x+Ef+Si[0],Bo.y+Si[1]-Au],Cf=[0,0];yu&&(Cf=nh,nh=[0,0]);let kh=Bo.metrics.isDoubleResolution?2:1,Lh=(Bo.metrics.left-us)*Bo.scale-Ef+nh[0],Ph=(-Bo.metrics.top-us)*Bo.scale+nh[1],jc=Lh+ma.w/kh*Bo.scale/ks,kf=Ph+ma.h/kh*Bo.scale/ks,mh=new i(Lh,Ph),ih=new i(jc,Ph),Vf=new i(Lh,kf),Qc=new i(jc,kf);if(yu){let Gl=new i(-Ef,Ef-Sf),Nu=-Math.PI/2,Mu=Hl/2-Ef,nd=new i(5-Sf-Mu,-(Bo.imageName?Mu:0)),Mc=new i(...Cf);mh._rotateAround(Nu,Gl)._add(nd)._add(Mc),ih._rotateAround(Nu,Gl)._add(nd)._add(Mc),Vf._rotateAround(Nu,Gl)._add(nd)._add(Mc),Qc._rotateAround(Nu,Gl)._add(nd)._add(Mc)}if(Ra){let Gl=Math.sin(Ra),Nu=Math.cos(Ra),Mu=[Nu,-Gl,Gl,Nu];mh._matMult(Mu),ih._matMult(Mu),Vf._matMult(Mu),Qc._matMult(Mu)}let rd=new i(0,0),jh=new i(0,0);es.push({tl:mh,tr:ih,bl:Vf,br:Qc,tex:ma,writingMode:fi.writingMode,glyphOffset:cd,sectionIndex:Bo.sectionIndex,isSDF:No,pixelOffsetTL:rd,pixelOffsetBR:jh,minFontScaleX:0,minFontScaleY:0})}return es}(0,Y,ct,Ce,Ve,Xe,he,q.allowVerticalPlacement),Gn=q.textSizeData,ei=null;Gn.kind==="source"?(ei=[Bd*Ce.layout.get("text-size").evaluate(Xe,{})],ei[0]>Tv&&f(`${q.layerIds[0]}: Value for "text-size" is >= ${lm}. Reduce your "text-size".`)):Gn.kind==="composite"&&(ei=[Bd*Nr.compositeTextSizes[0].evaluate(Xe,{},rn),Bd*Nr.compositeTextSizes[1].evaluate(Xe,{},rn)],(ei[0]>Tv||ei[1]>Tv)&&f(`${q.layerIds[0]}: Value for "text-size" is >= ${lm}. Reduce your "text-size".`)),q.addSymbols(q.text,mn,ei,ct,Ve,Xe,Ot,D,At.lineStartIndex,At.lineLength,Sr,rn);for(let Ri of er)cr[Ri]=q.text.placedSymbolArray.length-1;return 4*mn.length}function k1(q){for(let D in q)return q[D];return null}function Jb(q,D,Y,he){let Ce=q.compareText;if(D in Ce){let Ve=Ce[D];for(let Xe=Ve.length-1;Xe>=0;Xe--)if(he.dist(Ve[Xe])>4;if(Ce!==1)throw new Error(`Got v${Ce} data when expected v1.`);let Ve=L1[15&he];if(!Ve)throw new Error("Unrecognized array type.");let[Xe]=new Uint16Array(D,2,1),[ct]=new Uint32Array(D,4,1);return new Dy(ct,Xe,Ve,D)}constructor(D,Y=64,he=Float64Array,Ce){if(isNaN(D)||D<0)throw new Error(`Unpexpected numItems value: ${D}.`);this.numItems=+D,this.nodeSize=Math.min(Math.max(+Y,2),65535),this.ArrayType=he,this.IndexArrayType=D<65536?Uint16Array:Uint32Array;let Ve=L1.indexOf(this.ArrayType),Xe=2*D*this.ArrayType.BYTES_PER_ELEMENT,ct=D*this.IndexArrayType.BYTES_PER_ELEMENT,At=(8-ct%8)%8;if(Ve<0)throw new Error(`Unexpected typed array class: ${he}.`);Ce&&Ce instanceof ArrayBuffer?(this.data=Ce,this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=2*D,this._finished=!0):(this.data=new ArrayBuffer(8+Xe+ct+At),this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+Ve]),new Uint16Array(this.data,2,1)[0]=Y,new Uint32Array(this.data,4,1)[0]=D)}add(D,Y){let he=this._pos>>1;return this.ids[he]=he,this.coords[this._pos++]=D,this.coords[this._pos++]=Y,he}finish(){let D=this._pos>>1;if(D!==this.numItems)throw new Error(`Added ${D} items when expected ${this.numItems}.`);return vg(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(D,Y,he,Ce){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:Ve,coords:Xe,nodeSize:ct}=this,At=[0,Ve.length-1,0],Ot=[];for(;At.length;){let er=At.pop()||0,cr=At.pop()||0,Sr=At.pop()||0;if(cr-Sr<=ct){for(let Gn=Sr;Gn<=cr;Gn++){let ei=Xe[2*Gn],Ri=Xe[2*Gn+1];ei>=D&&ei<=he&&Ri>=Y&&Ri<=Ce&&Ot.push(Ve[Gn])}continue}let Nr=Sr+cr>>1,rn=Xe[2*Nr],mn=Xe[2*Nr+1];rn>=D&&rn<=he&&mn>=Y&&mn<=Ce&&Ot.push(Ve[Nr]),(er===0?D<=rn:Y<=mn)&&(At.push(Sr),At.push(Nr-1),At.push(1-er)),(er===0?he>=rn:Ce>=mn)&&(At.push(Nr+1),At.push(cr),At.push(1-er))}return Ot}within(D,Y,he){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:Ce,coords:Ve,nodeSize:Xe}=this,ct=[0,Ce.length-1,0],At=[],Ot=he*he;for(;ct.length;){let er=ct.pop()||0,cr=ct.pop()||0,Sr=ct.pop()||0;if(cr-Sr<=Xe){for(let Gn=Sr;Gn<=cr;Gn++)I1(Ve[2*Gn],Ve[2*Gn+1],D,Y)<=Ot&&At.push(Ce[Gn]);continue}let Nr=Sr+cr>>1,rn=Ve[2*Nr],mn=Ve[2*Nr+1];I1(rn,mn,D,Y)<=Ot&&At.push(Ce[Nr]),(er===0?D-he<=rn:Y-he<=mn)&&(ct.push(Sr),ct.push(Nr-1),ct.push(1-er)),(er===0?D+he>=rn:Y+he>=mn)&&(ct.push(Nr+1),ct.push(cr),ct.push(1-er))}return At}}function vg(q,D,Y,he,Ce,Ve){if(Ce-he<=Y)return;let Xe=he+Ce>>1;P1(q,D,Xe,he,Ce,Ve),vg(q,D,Y,he,Xe-1,1-Ve),vg(q,D,Y,Xe+1,Ce,1-Ve)}function P1(q,D,Y,he,Ce,Ve){for(;Ce>he;){if(Ce-he>600){let Ot=Ce-he+1,er=Y-he+1,cr=Math.log(Ot),Sr=.5*Math.exp(2*cr/3),Nr=.5*Math.sqrt(cr*Sr*(Ot-Sr)/Ot)*(er-Ot/2<0?-1:1);P1(q,D,Y,Math.max(he,Math.floor(Y-er*Sr/Ot+Nr)),Math.min(Ce,Math.floor(Y+(Ot-er)*Sr/Ot+Nr)),Ve)}let Xe=D[2*Y+Ve],ct=he,At=Ce;for(mm(q,D,he,Y),D[2*Ce+Ve]>Xe&&mm(q,D,he,Ce);ctXe;)At--}D[2*he+Ve]===Xe?mm(q,D,he,At):(At++,mm(q,D,At,Ce)),At<=Y&&(he=At+1),Y<=At&&(Ce=At-1)}}function mm(q,D,Y,he){zy(q,Y,he),zy(D,2*Y,2*he),zy(D,2*Y+1,2*he+1)}function zy(q,D,Y){let he=q[D];q[D]=q[Y],q[Y]=he}function I1(q,D,Y,he){let Ce=q-Y,Ve=D-he;return Ce*Ce+Ve*Ve}var pg;e.bg=void 0,(pg=e.bg||(e.bg={})).create="create",pg.load="load",pg.fullLoad="fullLoad";let gm=null,vf=[],Fy=1e3/60,Oy="loadTime",mg="fullLoadTime",$b={mark(q){performance.mark(q)},frame(q){let D=q;gm!=null&&vf.push(D-gm),gm=D},clearMetrics(){gm=null,vf=[],performance.clearMeasures(Oy),performance.clearMeasures(mg);for(let q in e.bg)performance.clearMarks(e.bg[q])},getPerformanceMetrics(){performance.measure(Oy,e.bg.create,e.bg.load),performance.measure(mg,e.bg.create,e.bg.fullLoad);let q=performance.getEntriesByName(Oy)[0].duration,D=performance.getEntriesByName(mg)[0].duration,Y=vf.length,he=1/(vf.reduce((Ve,Xe)=>Ve+Xe,0)/Y/1e3),Ce=vf.filter(Ve=>Ve>Fy).reduce((Ve,Xe)=>Ve+(Xe-Fy)/Fy,0);return{loadTime:q,fullLoadTime:D,fps:he,percentDroppedFrames:Ce/(Y+Ce)*100,totalFrames:Y}}};e.$=class extends hr{},e.A=ba,e.B=Di,e.C=function(q){if(z==null){let D=q.navigator?q.navigator.userAgent:null;z=!!q.safari||!(!D||!(/\b(iPad|iPhone|iPod)\b/.test(D)||D.match("Safari")&&!D.match("Chrome")))}return z},e.D=bo,e.E=ee,e.F=class{constructor(q,D){this.target=q,this.mapId=D,this.resolveRejects={},this.tasks={},this.taskQueue=[],this.abortControllers={},this.messageHandlers={},this.invoker=new Ey(()=>this.process()),this.subscription=function(Y,he,Ce,Ve){return Y.addEventListener(he,Ce,!1),{unsubscribe:()=>{Y.removeEventListener(he,Ce,!1)}}}(this.target,"message",Y=>this.receive(Y)),this.globalScope=L(self)?q:window}registerMessageHandler(q,D){this.messageHandlers[q]=D}sendAsync(q,D){return new Promise((Y,he)=>{let Ce=Math.round(1e18*Math.random()).toString(36).substring(0,10);this.resolveRejects[Ce]={resolve:Y,reject:he},D&&D.signal.addEventListener("abort",()=>{delete this.resolveRejects[Ce];let ct={id:Ce,type:"",origin:location.origin,targetMapId:q.targetMapId,sourceMapId:this.mapId};this.target.postMessage(ct)},{once:!0});let Ve=[],Xe=Object.assign(Object.assign({},q),{id:Ce,sourceMapId:this.mapId,origin:location.origin,data:mo(q.data,Ve)});this.target.postMessage(Xe,{transfer:Ve})})}receive(q){let D=q.data,Y=D.id;if(!(D.origin!=="file://"&&location.origin!=="file://"&&D.origin!=="resource://android"&&location.origin!=="resource://android"&&D.origin!==location.origin||D.targetMapId&&this.mapId!==D.targetMapId)){if(D.type===""){delete this.tasks[Y];let he=this.abortControllers[Y];return delete this.abortControllers[Y],void(he&&he.abort())}if(L(self)||D.mustQueue)return this.tasks[Y]=D,this.taskQueue.push(Y),void this.invoker.trigger();this.processTask(Y,D)}}process(){if(this.taskQueue.length===0)return;let q=this.taskQueue.shift(),D=this.tasks[q];delete this.tasks[q],this.taskQueue.length>0&&this.invoker.trigger(),D&&this.processTask(q,D)}processTask(q,D){return t(this,void 0,void 0,function*(){if(D.type===""){let Ce=this.resolveRejects[q];return delete this.resolveRejects[q],Ce?void(D.error?Ce.reject(Ao(D.error)):Ce.resolve(Ao(D.data))):void 0}if(!this.messageHandlers[D.type])return void this.completeTask(q,new Error(`Could not find a registered handler for ${D.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));let Y=Ao(D.data),he=new AbortController;this.abortControllers[q]=he;try{let Ce=yield this.messageHandlers[D.type](D.sourceMapId,Y,he);this.completeTask(q,null,Ce)}catch(Ce){this.completeTask(q,Ce)}})}completeTask(q,D,Y){let he=[];delete this.abortControllers[q];let Ce={id:q,type:"",sourceMapId:this.mapId,origin:location.origin,error:D?mo(D):null,data:mo(Y,he)};this.target.postMessage(Ce,{transfer:he})}remove(){this.invoker.remove(),this.subscription.unsubscribe()}},e.G=se,e.H=function(){var q=new ba(16);return ba!=Float32Array&&(q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[11]=0,q[12]=0,q[13]=0,q[14]=0),q[0]=1,q[5]=1,q[10]=1,q[15]=1,q},e.I=ig,e.J=function(q,D,Y){var he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn=Y[0],Gn=Y[1],ei=Y[2];return D===q?(q[12]=D[0]*mn+D[4]*Gn+D[8]*ei+D[12],q[13]=D[1]*mn+D[5]*Gn+D[9]*ei+D[13],q[14]=D[2]*mn+D[6]*Gn+D[10]*ei+D[14],q[15]=D[3]*mn+D[7]*Gn+D[11]*ei+D[15]):(Ce=D[1],Ve=D[2],Xe=D[3],ct=D[4],At=D[5],Ot=D[6],er=D[7],cr=D[8],Sr=D[9],Nr=D[10],rn=D[11],q[0]=he=D[0],q[1]=Ce,q[2]=Ve,q[3]=Xe,q[4]=ct,q[5]=At,q[6]=Ot,q[7]=er,q[8]=cr,q[9]=Sr,q[10]=Nr,q[11]=rn,q[12]=he*mn+ct*Gn+cr*ei+D[12],q[13]=Ce*mn+At*Gn+Sr*ei+D[13],q[14]=Ve*mn+Ot*Gn+Nr*ei+D[14],q[15]=Xe*mn+er*Gn+rn*ei+D[15]),q},e.K=function(q,D,Y){var he=Y[0],Ce=Y[1],Ve=Y[2];return q[0]=D[0]*he,q[1]=D[1]*he,q[2]=D[2]*he,q[3]=D[3]*he,q[4]=D[4]*Ce,q[5]=D[5]*Ce,q[6]=D[6]*Ce,q[7]=D[7]*Ce,q[8]=D[8]*Ve,q[9]=D[9]*Ve,q[10]=D[10]*Ve,q[11]=D[11]*Ve,q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15],q},e.L=ca,e.M=function(q,D){let Y={};for(let he=0;he{let D=window.document.createElement("video");return D.muted=!0,new Promise(Y=>{D.onloadstart=()=>{Y(D)};for(let he of q){let Ce=window.document.createElement("source");J(he)||(D.crossOrigin="Anonymous"),Ce.src=he,D.appendChild(Ce)}})},e.a4=function(){return m++},e.a5=Zi,e.a6=hp,e.a7=_c,e.a8=Ul,e.a9=Ly,e.aA=function(q){if(q.type==="custom")return new Sy(q);switch(q.type){case"background":return new Hb(q);case"circle":return new va(q);case"fill":return new Zr(q);case"fill-extrusion":return new Jh(q);case"heatmap":return new _s(q);case"hillshade":return new Oc(q);case"line":return new Fv(q);case"raster":return new hm(q);case"symbol":return new Uv(q)}},e.aB=u,e.aC=function(q,D){if(!q)return[{command:"setStyle",args:[D]}];let Y=[];try{if(!Te(q.version,D.version))return[{command:"setStyle",args:[D]}];Te(q.center,D.center)||Y.push({command:"setCenter",args:[D.center]}),Te(q.zoom,D.zoom)||Y.push({command:"setZoom",args:[D.zoom]}),Te(q.bearing,D.bearing)||Y.push({command:"setBearing",args:[D.bearing]}),Te(q.pitch,D.pitch)||Y.push({command:"setPitch",args:[D.pitch]}),Te(q.sprite,D.sprite)||Y.push({command:"setSprite",args:[D.sprite]}),Te(q.glyphs,D.glyphs)||Y.push({command:"setGlyphs",args:[D.glyphs]}),Te(q.transition,D.transition)||Y.push({command:"setTransition",args:[D.transition]}),Te(q.light,D.light)||Y.push({command:"setLight",args:[D.light]}),Te(q.terrain,D.terrain)||Y.push({command:"setTerrain",args:[D.terrain]}),Te(q.sky,D.sky)||Y.push({command:"setSky",args:[D.sky]}),Te(q.projection,D.projection)||Y.push({command:"setProjection",args:[D.projection]});let he={},Ce=[];(function(Xe,ct,At,Ot){let er;for(er in ct=ct||{},Xe=Xe||{})Object.prototype.hasOwnProperty.call(Xe,er)&&(Object.prototype.hasOwnProperty.call(ct,er)||Ye(er,At,Ot));for(er in ct)Object.prototype.hasOwnProperty.call(ct,er)&&(Object.prototype.hasOwnProperty.call(Xe,er)?Te(Xe[er],ct[er])||(Xe[er].type==="geojson"&&ct[er].type==="geojson"&&at(Xe,ct,er)?Ue(At,{command:"setGeoJSONSourceData",args:[er,ct[er].data]}):it(er,ct,At,Ot)):Ie(er,ct,At))})(q.sources,D.sources,Ce,he);let Ve=[];q.layers&&q.layers.forEach(Xe=>{"source"in Xe&&he[Xe.source]?Y.push({command:"removeLayer",args:[Xe.id]}):Ve.push(Xe)}),Y=Y.concat(Ce),function(Xe,ct,At){ct=ct||[];let Ot=(Xe=Xe||[]).map(ut),er=ct.map(ut),cr=Xe.reduce(Me,{}),Sr=ct.reduce(Me,{}),Nr=Ot.slice(),rn=Object.create(null),mn,Gn,ei,Ri,fi;for(let Si=0,Gi=0;Si@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(Y,he,Ce,Ve)=>{let Xe=Ce||Ve;return D[he]=!Xe||Xe.toLowerCase(),""}),D["max-age"]){let Y=parseInt(D["max-age"],10);isNaN(Y)?delete D["max-age"]:D["max-age"]=Y}return D},e.ab=function(q,D){let Y=[];for(let he in q)he in D||Y.push(he);return Y},e.ac=w,e.ad=function(q,D,Y){var he=Math.sin(Y),Ce=Math.cos(Y),Ve=D[0],Xe=D[1],ct=D[2],At=D[3],Ot=D[4],er=D[5],cr=D[6],Sr=D[7];return D!==q&&(q[8]=D[8],q[9]=D[9],q[10]=D[10],q[11]=D[11],q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15]),q[0]=Ve*Ce+Ot*he,q[1]=Xe*Ce+er*he,q[2]=ct*Ce+cr*he,q[3]=At*Ce+Sr*he,q[4]=Ot*Ce-Ve*he,q[5]=er*Ce-Xe*he,q[6]=cr*Ce-ct*he,q[7]=Sr*Ce-At*he,q},e.ae=function(q){var D=new ba(16);return D[0]=q[0],D[1]=q[1],D[2]=q[2],D[3]=q[3],D[4]=q[4],D[5]=q[5],D[6]=q[6],D[7]=q[7],D[8]=q[8],D[9]=q[9],D[10]=q[10],D[11]=q[11],D[12]=q[12],D[13]=q[13],D[14]=q[14],D[15]=q[15],D},e.af=Oo,e.ag=function(q,D){let Y=0,he=0;if(q.kind==="constant")he=q.layoutSize;else if(q.kind!=="source"){let{interpolationType:Ce,minZoom:Ve,maxZoom:Xe}=q,ct=Ce?w(Xa.interpolationFactor(Ce,D,Ve,Xe),0,1):0;q.kind==="camera"?he=yo.number(q.minSize,q.maxSize,ct):Y=ct}return{uSizeT:Y,uSize:he}},e.ai=function(q,{uSize:D,uSizeT:Y},{lowerSize:he,upperSize:Ce}){return q.kind==="source"?he/Bd:q.kind==="composite"?yo.number(he/Bd,Ce/Bd,Y):D},e.aj=wy,e.ak=function(q,D,Y,he){let Ce=D.y-q.y,Ve=D.x-q.x,Xe=he.y-Y.y,ct=he.x-Y.x,At=Xe*Ve-ct*Ce;if(At===0)return null;let Ot=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(mn*fi-rn*Gi-Gn*Ri)*ma,q[15]=(er*Gi-cr*fi+Sr*Ri)*ma,q):null},e.at=Ry,e.au=lg,e.av=Dy,e.aw=function(){let q={},D=ie.$version;for(let Y in ie.$root){let he=ie.$root[Y];if(he.required){let Ce=null;Ce=Y==="version"?D:he.type==="array"?[]:{},Ce!=null&&(q[Y]=Ce)}}return q},e.ax=xa,e.ay=G,e.az=function(q){q=q.slice();let D=Object.create(null);for(let Y=0;Y25||he<0||he>=1||Y<0||Y>=1)},e.bc=function(q,D){return q[0]=D[0],q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[5]=D[1],q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[10]=D[2],q[11]=0,q[12]=0,q[13]=0,q[14]=0,q[15]=1,q},e.bd=class extends Jt{},e.be=Cy,e.bf=$b,e.bh=fe,e.bi=function(q,D){Q.REGISTERED_PROTOCOLS[q]=D},e.bj=function(q){delete Q.REGISTERED_PROTOCOLS[q]},e.bk=function(q,D){let Y={};for(let Ce=0;CeBo*Hl)}let _o=Xe?"center":Y.get("text-justify").evaluate(Ot,{},q.canonical),Ra=Y.get("symbol-placement")==="point"?Y.get("text-max-width").evaluate(Ot,{},q.canonical)*Hl:1/0,es=()=>{q.bucket.allowVerticalPlacement&&Lo(Si)&&(rn.vertical=om(mn,q.glyphMap,q.glyphPositions,q.imagePositions,er,Ra,Ve,Po,"left",Ha,ei,e.ah.vertical,!0,Sr,cr))};if(!Xe&&xs){let qo=new Set;if(_o==="auto")for(let ma=0;mat(void 0,void 0,void 0,function*(){if(q.byteLength===0)return createImageBitmap(new ImageData(1,1));let D=new Blob([new Uint8Array(q)],{type:"image/png"});try{return createImageBitmap(D)}catch(Y){throw new Error(`Could not load image because of ${Y.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}}),e.e=E,e.f=q=>new Promise((D,Y)=>{let he=new Image;he.onload=()=>{D(he),URL.revokeObjectURL(he.src),he.onload=null,window.requestAnimationFrame(()=>{he.src=B})},he.onerror=()=>Y(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));let Ce=new Blob([new Uint8Array(q)],{type:"image/png"});he.src=q.byteLength?URL.createObjectURL(Ce):B}),e.g=le,e.h=(q,D)=>$(E(q,{type:"json"}),D),e.i=L,e.j=j,e.k=ae,e.l=(q,D)=>$(E(q,{type:"arrayBuffer"}),D),e.m=$,e.n=function(q){return new yy(q).readFields($M,[])},e.o=ps,e.p=xy,e.q=Ne,e.r=yi,e.s=J,e.t=bi,e.u=si,e.v=ie,e.w=f,e.x=function([q,D,Y]){return D+=90,D*=Math.PI/180,Y*=Math.PI/180,{x:q*Math.cos(D)*Math.sin(Y),y:q*Math.sin(D)*Math.sin(Y),z:q*Math.cos(Y)}},e.y=yo,e.z=zs}),A("worker",["./shared"],function(e){"use strict";class t{constructor(Be){this.keyCache={},Be&&this.replace(Be)}replace(Be){this._layerConfigs={},this._layers={},this.update(Be,[])}update(Be,Ke){for(let Se of Be){this._layerConfigs[Se.id]=Se;let He=this._layers[Se.id]=e.aA(Se);He._featureFilter=e.a7(He.filter),this.keyCache[Se.id]&&delete this.keyCache[Se.id]}for(let Se of Ke)delete this.keyCache[Se],delete this._layerConfigs[Se],delete this._layers[Se];this.familiesBySource={};let je=e.bk(Object.values(this._layerConfigs),this.keyCache);for(let Se of je){let He=Se.map(bt=>this._layers[bt.id]),Ee=He[0];if(Ee.visibility==="none")continue;let we=Ee.source||"",Le=this.familiesBySource[we];Le||(Le=this.familiesBySource[we]={});let nt=Ee.sourceLayer||"_geojsonTileLayer",pt=Le[nt];pt||(pt=Le[nt]=[]),pt.push(He)}}}class r{constructor(Be){let Ke={},je=[];for(let we in Be){let Le=Be[we],nt=Ke[we]={};for(let pt in Le){let bt=Le[+pt];if(!bt||bt.bitmap.width===0||bt.bitmap.height===0)continue;let Rt={x:0,y:0,w:bt.bitmap.width+2,h:bt.bitmap.height+2};je.push(Rt),nt[pt]={rect:Rt,metrics:bt.metrics}}}let{w:Se,h:He}=e.p(je),Ee=new e.o({width:Se||1,height:He||1});for(let we in Be){let Le=Be[we];for(let nt in Le){let pt=Le[+nt];if(!pt||pt.bitmap.width===0||pt.bitmap.height===0)continue;let bt=Ke[we][nt].rect;e.o.copy(pt.bitmap,Ee,{x:0,y:0},{x:bt.x+1,y:bt.y+1},pt.bitmap)}}this.image=Ee,this.positions=Ke}}e.bl("GlyphAtlas",r);class o{constructor(Be){this.tileID=new e.S(Be.tileID.overscaledZ,Be.tileID.wrap,Be.tileID.canonical.z,Be.tileID.canonical.x,Be.tileID.canonical.y),this.uid=Be.uid,this.zoom=Be.zoom,this.pixelRatio=Be.pixelRatio,this.tileSize=Be.tileSize,this.source=Be.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=Be.showCollisionBoxes,this.collectResourceTiming=!!Be.collectResourceTiming,this.returnDependencies=!!Be.returnDependencies,this.promoteId=Be.promoteId,this.inFlightDependencies=[]}parse(Be,Ke,je,Se){return e._(this,void 0,void 0,function*(){this.status="parsing",this.data=Be,this.collisionBoxArray=new e.a5;let He=new e.bm(Object.keys(Be.layers).sort()),Ee=new e.bn(this.tileID,this.promoteId);Ee.bucketLayerIDs=[];let we={},Le={featureIndex:Ee,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:je},nt=Ke.familiesBySource[this.source];for(let ni in nt){let zn=Be.layers[ni];if(!zn)continue;zn.version===1&&e.w(`Vector tile source "${this.source}" layer "${ni}" does not use vector tile spec v2 and therefore may have some rendering errors.`);let Qn=He.encode(ni),gi=[];for(let Zt=0;Zt=Ft.maxzoom||Ft.visibility!=="none"&&(n(Zt,this.zoom,je),(we[Ft.id]=Ft.createBucket({index:Ee.bucketLayerIDs.length,layers:Zt,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Qn,sourceID:this.source})).populate(gi,Le,this.tileID.canonical),Ee.bucketLayerIDs.push(Zt.map(Ht=>Ht.id)))}}let pt=e.aF(Le.glyphDependencies,ni=>Object.keys(ni).map(Number));this.inFlightDependencies.forEach(ni=>ni?.abort()),this.inFlightDependencies=[];let bt=Promise.resolve({});if(Object.keys(pt).length){let ni=new AbortController;this.inFlightDependencies.push(ni),bt=Se.sendAsync({type:"GG",data:{stacks:pt,source:this.source,tileID:this.tileID,type:"glyphs"}},ni)}let Rt=Object.keys(Le.iconDependencies),Nt=Promise.resolve({});if(Rt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),Nt=Se.sendAsync({type:"GI",data:{icons:Rt,source:this.source,tileID:this.tileID,type:"icons"}},ni)}let Xt=Object.keys(Le.patternDependencies),$t=Promise.resolve({});if(Xt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),$t=Se.sendAsync({type:"GI",data:{icons:Xt,source:this.source,tileID:this.tileID,type:"patterns"}},ni)}let[ur,pn,Rn]=yield Promise.all([bt,Nt,$t]),Nn=new r(ur),On=new e.bo(pn,Rn);for(let ni in we){let zn=we[ni];zn instanceof e.a6?(n(zn.layers,this.zoom,je),e.bp({bucket:zn,glyphMap:ur,glyphPositions:Nn.positions,imageMap:pn,imagePositions:On.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):zn.hasPattern&&(zn instanceof e.bq||zn instanceof e.br||zn instanceof e.bs)&&(n(zn.layers,this.zoom,je),zn.addFeatures(Le,this.tileID.canonical,On.patternPositions))}return this.status="done",{buckets:Object.values(we).filter(ni=>!ni.isEmpty()),featureIndex:Ee,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Nn.image,imageAtlas:On,glyphMap:this.returnDependencies?ur:null,iconMap:this.returnDependencies?pn:null,glyphPositions:this.returnDependencies?Nn.positions:null}})}}function n(_t,Be,Ke){let je=new e.z(Be);for(let Se of _t)Se.recalculate(je,Ke)}class i{constructor(Be,Ke,je){this.actor=Be,this.layerIndex=Ke,this.availableImages=je,this.fetching={},this.loading={},this.loaded={}}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield e.l(Be.request,Ke);try{return{vectorTile:new e.bt.VectorTile(new e.bu(je.data)),rawData:je.data,cacheControl:je.cacheControl,expires:je.expires}}catch(Se){let He=new Uint8Array(je.data),Ee=`Unable to parse the tile at ${Be.request.url}, `;throw Ee+=He[0]===31&&He[1]===139?"please make sure the data is not gzipped and that you have configured the relevant header in the server":`got error: ${Se.message}`,new Error(Ee)}})}loadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid,je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request),Se=new o(Be);this.loading[Ke]=Se;let He=new AbortController;Se.abort=He;try{let Ee=yield this.loadVectorTile(Be,He);if(delete this.loading[Ke],!Ee)return null;let we=Ee.rawData,Le={};Ee.expires&&(Le.expires=Ee.expires),Ee.cacheControl&&(Le.cacheControl=Ee.cacheControl);let nt={};if(je){let bt=je.finish();bt&&(nt.resourceTiming=JSON.parse(JSON.stringify(bt)))}Se.vectorTile=Ee.vectorTile;let pt=Se.parse(Ee.vectorTile,this.layerIndex,this.availableImages,this.actor);this.loaded[Ke]=Se,this.fetching[Ke]={rawTileData:we,cacheControl:Le,resourceTiming:nt};try{let bt=yield pt;return e.e({rawTileData:we.slice(0)},bt,Le,nt)}finally{delete this.fetching[Ke]}}catch(Ee){throw delete this.loading[Ke],Se.status="done",this.loaded[Ke]=Se,Ee}})}reloadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid;if(!this.loaded||!this.loaded[Ke])throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");let je=this.loaded[Ke];if(je.showCollisionBoxes=Be.showCollisionBoxes,je.status==="parsing"){let Se=yield je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor),He;if(this.fetching[Ke]){let{rawTileData:Ee,cacheControl:we,resourceTiming:Le}=this.fetching[Ke];delete this.fetching[Ke],He=e.e({rawTileData:Ee.slice(0)},Se,we,Le)}else He=Se;return He}if(je.status==="done"&&je.vectorTile)return je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor)})}abortTile(Be){return e._(this,void 0,void 0,function*(){let Ke=this.loading,je=Be.uid;Ke&&Ke[je]&&Ke[je].abort&&(Ke[je].abort.abort(),delete Ke[je])})}removeTile(Be){return e._(this,void 0,void 0,function*(){this.loaded&&this.loaded[Be.uid]&&delete this.loaded[Be.uid]})}}class a{constructor(){this.loaded={}}loadTile(Be){return e._(this,void 0,void 0,function*(){let{uid:Ke,encoding:je,rawImageData:Se,redFactor:He,greenFactor:Ee,blueFactor:we,baseShift:Le}=Be,nt=Se.width+2,pt=Se.height+2,bt=e.b(Se)?new e.R({width:nt,height:pt},yield e.bw(Se,-1,-1,nt,pt)):Se,Rt=new e.bx(Ke,bt,je,He,Ee,we,Le);return this.loaded=this.loaded||{},this.loaded[Ke]=Rt,Rt})}removeTile(Be){let Ke=this.loaded,je=Be.uid;Ke&&Ke[je]&&delete Ke[je]}}function s(_t,Be){if(_t.length!==0){c(_t[0],Be);for(var Ke=1;Ke<_t.length;Ke++)c(_t[Ke],!Be)}}function c(_t,Be){for(var Ke=0,je=0,Se=0,He=_t.length,Ee=He-1;Se=Math.abs(we)?Ke-Le+we:we-Le+Ke,Ke=Le}Ke+je>=0!=!!Be&&_t.reverse()}var h=e.by(function _t(Be,Ke){var je,Se=Be&&Be.type;if(Se==="FeatureCollection")for(je=0;je>31}function L(_t,Be){for(var Ke=_t.loadGeometry(),je=_t.type,Se=0,He=0,Ee=Ke.length,we=0;we_t},O=Math.fround||(I=new Float32Array(1),_t=>(I[0]=+_t,I[0]));var I;let N=3,U=5,W=6;class Q{constructor(Be){this.options=Object.assign(Object.create(B),Be),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(Be){let{log:Ke,minZoom:je,maxZoom:Se}=this.options;Ke&&console.time("total time");let He=`prepare ${Be.length} points`;Ke&&console.time(He),this.points=Be;let Ee=[];for(let Le=0;Le=je;Le--){let nt=+Date.now();we=this.trees[Le]=this._createTree(this._cluster(we,Le)),Ke&&console.log("z%d: %d clusters in %dms",Le,we.numItems,+Date.now()-nt)}return Ke&&console.timeEnd("total time"),this}getClusters(Be,Ke){let je=((Be[0]+180)%360+360)%360-180,Se=Math.max(-90,Math.min(90,Be[1])),He=Be[2]===180?180:((Be[2]+180)%360+360)%360-180,Ee=Math.max(-90,Math.min(90,Be[3]));if(Be[2]-Be[0]>=360)je=-180,He=180;else if(je>He){let bt=this.getClusters([je,Se,180,Ee],Ke),Rt=this.getClusters([-180,Se,He,Ee],Ke);return bt.concat(Rt)}let we=this.trees[this._limitZoom(Ke)],Le=we.range(fe(je),G(Ee),fe(He),G(Se)),nt=we.data,pt=[];for(let bt of Le){let Rt=this.stride*bt;pt.push(nt[Rt+U]>1?le(nt,Rt,this.clusterProps):this.points[nt[Rt+N]])}return pt}getChildren(Be){let Ke=this._getOriginId(Be),je=this._getOriginZoom(Be),Se="No cluster with the specified id.",He=this.trees[je];if(!He)throw new Error(Se);let Ee=He.data;if(Ke*this.stride>=Ee.length)throw new Error(Se);let we=this.options.radius/(this.options.extent*Math.pow(2,je-1)),Le=He.within(Ee[Ke*this.stride],Ee[Ke*this.stride+1],we),nt=[];for(let pt of Le){let bt=pt*this.stride;Ee[bt+4]===Be&&nt.push(Ee[bt+U]>1?le(Ee,bt,this.clusterProps):this.points[Ee[bt+N]])}if(nt.length===0)throw new Error(Se);return nt}getLeaves(Be,Ke,je){let Se=[];return this._appendLeaves(Se,Be,Ke=Ke||10,je=je||0,0),Se}getTile(Be,Ke,je){let Se=this.trees[this._limitZoom(Be)],He=Math.pow(2,Be),{extent:Ee,radius:we}=this.options,Le=we/Ee,nt=(je-Le)/He,pt=(je+1+Le)/He,bt={features:[]};return this._addTileFeatures(Se.range((Ke-Le)/He,nt,(Ke+1+Le)/He,pt),Se.data,Ke,je,He,bt),Ke===0&&this._addTileFeatures(Se.range(1-Le/He,nt,1,pt),Se.data,He,je,He,bt),Ke===He-1&&this._addTileFeatures(Se.range(0,nt,Le/He,pt),Se.data,-1,je,He,bt),bt.features.length?bt:null}getClusterExpansionZoom(Be){let Ke=this._getOriginZoom(Be)-1;for(;Ke<=this.options.maxZoom;){let je=this.getChildren(Be);if(Ke++,je.length!==1)break;Be=je[0].properties.cluster_id}return Ke}_appendLeaves(Be,Ke,je,Se,He){let Ee=this.getChildren(Ke);for(let we of Ee){let Le=we.properties;if(Le&&Le.cluster?He+Le.point_count<=Se?He+=Le.point_count:He=this._appendLeaves(Be,Le.cluster_id,je,Se,He):He1,pt,bt,Rt;if(nt)pt=se(Ke,Le,this.clusterProps),bt=Ke[Le],Rt=Ke[Le+1];else{let $t=this.points[Ke[Le+N]];pt=$t.properties;let[ur,pn]=$t.geometry.coordinates;bt=fe(ur),Rt=G(pn)}let Nt={type:1,geometry:[[Math.round(this.options.extent*(bt*He-je)),Math.round(this.options.extent*(Rt*He-Se))]],tags:pt},Xt;Xt=nt||this.options.generateId?Ke[Le+N]:this.points[Ke[Le+N]].id,Xt!==void 0&&(Nt.id=Xt),Ee.features.push(Nt)}}_limitZoom(Be){return Math.max(this.options.minZoom,Math.min(Math.floor(+Be),this.options.maxZoom+1))}_cluster(Be,Ke){let{radius:je,extent:Se,reduce:He,minPoints:Ee}=this.options,we=je/(Se*Math.pow(2,Ke)),Le=Be.data,nt=[],pt=this.stride;for(let bt=0;btKe&&(ur+=Le[Rn+U])}if(ur>$t&&ur>=Ee){let pn,Rn=Rt*$t,Nn=Nt*$t,On=-1,ni=((bt/pt|0)<<5)+(Ke+1)+this.points.length;for(let zn of Xt){let Qn=zn*pt;if(Le[Qn+2]<=Ke)continue;Le[Qn+2]=Ke;let gi=Le[Qn+U];Rn+=Le[Qn]*gi,Nn+=Le[Qn+1]*gi,Le[Qn+4]=ni,He&&(pn||(pn=this._map(Le,bt,!0),On=this.clusterProps.length,this.clusterProps.push(pn)),He(pn,this._map(Le,Qn)))}Le[bt+4]=ni,nt.push(Rn/ur,Nn/ur,1/0,ni,-1,ur),He&&nt.push(On)}else{for(let pn=0;pn1)for(let pn of Xt){let Rn=pn*pt;if(!(Le[Rn+2]<=Ke)){Le[Rn+2]=Ke;for(let Nn=0;Nn>5}_getOriginZoom(Be){return(Be-this.points.length)%32}_map(Be,Ke,je){if(Be[Ke+U]>1){let Ee=this.clusterProps[Be[Ke+W]];return je?Object.assign({},Ee):Ee}let Se=this.points[Be[Ke+N]].properties,He=this.options.map(Se);return je&&He===Se?Object.assign({},He):He}}function le(_t,Be,Ke){return{type:"Feature",id:_t[Be+N],properties:se(_t,Be,Ke),geometry:{type:"Point",coordinates:[(je=_t[Be],360*(je-.5)),$(_t[Be+1])]}};var je}function se(_t,Be,Ke){let je=_t[Be+U],Se=je>=1e4?`${Math.round(je/1e3)}k`:je>=1e3?Math.round(je/100)/10+"k":je,He=_t[Be+W],Ee=He===-1?{}:Object.assign({},Ke[He]);return Object.assign(Ee,{cluster:!0,cluster_id:_t[Be+N],point_count:je,point_count_abbreviated:Se})}function fe(_t){return _t/360+.5}function G(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function $(_t){let Be=(180-360*_t)*Math.PI/180;return 360*Math.atan(Math.exp(Be))/Math.PI-90}function J(_t,Be,Ke,je){let Se=je,He=Be+(Ke-Be>>1),Ee,we=Ke-Be,Le=_t[Be],nt=_t[Be+1],pt=_t[Ke],bt=_t[Ke+1];for(let Rt=Be+3;RtSe)Ee=Rt,Se=Nt;else if(Nt===Se){let Xt=Math.abs(Rt-He);Xtje&&(Ee-Be>3&&J(_t,Be,Ee,je),_t[Ee+2]=Se,Ke-Ee>3&&J(_t,Ee,Ke,je))}function X(_t,Be,Ke,je,Se,He){let Ee=Se-Ke,we=He-je;if(Ee!==0||we!==0){let Le=((_t-Ke)*Ee+(Be-je)*we)/(Ee*Ee+we*we);Le>1?(Ke=Se,je=He):Le>0&&(Ke+=Ee*Le,je+=we*Le)}return Ee=_t-Ke,we=Be-je,Ee*Ee+we*we}function re(_t,Be,Ke,je){let Se={id:_t??null,type:Be,geometry:Ke,tags:je,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};if(Be==="Point"||Be==="MultiPoint"||Be==="LineString")ae(Se,Ke);else if(Be==="Polygon")ae(Se,Ke[0]);else if(Be==="MultiLineString")for(let He of Ke)ae(Se,He);else if(Be==="MultiPolygon")for(let He of Ke)ae(Se,He[0]);return Se}function ae(_t,Be){for(let Ke=0;Ke0&&(Ee+=je?(Se*pt-nt*He)/2:Math.sqrt(Math.pow(nt-Se,2)+Math.pow(pt-He,2))),Se=nt,He=pt}let we=Be.length-3;Be[2]=1,J(Be,0,we,Ke),Be[we+2]=1,Be.size=Math.abs(Ee),Be.start=0,Be.end=Be.size}function ce(_t,Be,Ke,je){for(let Se=0;Se<_t.length;Se++){let He=[];ie(_t[Se],He,Ke,je),Be.push(He)}}function xe(_t){return _t/360+.5}function Te(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function Ue(_t,Be,Ke,je,Se,He,Ee,we){if(je/=Be,He>=(Ke/=Be)&&Ee=je)return null;let Le=[];for(let nt of _t){let pt=nt.geometry,bt=nt.type,Rt=Se===0?nt.minX:nt.minY,Nt=Se===0?nt.maxX:nt.maxY;if(Rt>=Ke&&Nt=je)continue;let Xt=[];if(bt==="Point"||bt==="MultiPoint")Ie(pt,Xt,Ke,je,Se);else if(bt==="LineString")Ye(pt,Xt,Ke,je,Se,!1,we.lineMetrics);else if(bt==="MultiLineString")at(pt,Xt,Ke,je,Se,!1);else if(bt==="Polygon")at(pt,Xt,Ke,je,Se,!0);else if(bt==="MultiPolygon")for(let $t of pt){let ur=[];at($t,ur,Ke,je,Se,!0),ur.length&&Xt.push(ur)}if(Xt.length){if(we.lineMetrics&&bt==="LineString"){for(let $t of Xt)Le.push(re(nt.id,bt,$t,nt.tags));continue}bt!=="LineString"&&bt!=="MultiLineString"||(Xt.length===1?(bt="LineString",Xt=Xt[0]):bt="MultiLineString"),bt!=="Point"&&bt!=="MultiPoint"||(bt=Xt.length===3?"Point":"MultiPoint"),Le.push(re(nt.id,bt,Xt,nt.tags))}}return Le.length?Le:null}function Ie(_t,Be,Ke,je,Se){for(let He=0;He<_t.length;He+=3){let Ee=_t[He+Se];Ee>=Ke&&Ee<=je&&tt(Be,_t[He],_t[He+1],_t[He+2])}}function Ye(_t,Be,Ke,je,Se,He,Ee){let we=it(_t),Le=Se===0?ut:Me,nt,pt,bt=_t.start;for(let ur=0;ur<_t.length-3;ur+=3){let pn=_t[ur],Rn=_t[ur+1],Nn=_t[ur+2],On=_t[ur+3],ni=_t[ur+4],zn=Se===0?pn:Rn,Qn=Se===0?On:ni,gi=!1;Ee&&(nt=Math.sqrt(Math.pow(pn-On,2)+Math.pow(Rn-ni,2))),znKe&&(pt=Le(we,pn,Rn,On,ni,Ke),Ee&&(we.start=bt+nt*pt)):zn>je?Qn=Ke&&(pt=Le(we,pn,Rn,On,ni,Ke),gi=!0),Qn>je&&zn<=je&&(pt=Le(we,pn,Rn,On,ni,je),gi=!0),!He&&gi&&(Ee&&(we.end=bt+nt*pt),Be.push(we),we=it(_t)),Ee&&(bt+=nt)}let Rt=_t.length-3,Nt=_t[Rt],Xt=_t[Rt+1],$t=Se===0?Nt:Xt;$t>=Ke&&$t<=je&&tt(we,Nt,Xt,_t[Rt+2]),Rt=we.length-3,He&&Rt>=3&&(we[Rt]!==we[0]||we[Rt+1]!==we[1])&&tt(we,we[0],we[1],we[2]),we.length&&Be.push(we)}function it(_t){let Be=[];return Be.size=_t.size,Be.start=_t.start,Be.end=_t.end,Be}function at(_t,Be,Ke,je,Se,He){for(let Ee of _t)Ye(Ee,Be,Ke,je,Se,He,!1)}function tt(_t,Be,Ke,je){_t.push(Be,Ke,je)}function ut(_t,Be,Ke,je,Se,He){let Ee=(He-Be)/(je-Be);return tt(_t,He,Ke+(Se-Ke)*Ee,1),Ee}function Me(_t,Be,Ke,je,Se,He){let Ee=(He-Ke)/(Se-Ke);return tt(_t,Be+(je-Be)*Ee,He,1),Ee}function pe(_t,Be){let Ke=[];for(let je=0;je<_t.length;je++){let Se=_t[je],He=Se.type,Ee;if(He==="Point"||He==="MultiPoint"||He==="LineString")Ee=ue(Se.geometry,Be);else if(He==="MultiLineString"||He==="Polygon"){Ee=[];for(let we of Se.geometry)Ee.push(ue(we,Be))}else if(He==="MultiPolygon"){Ee=[];for(let we of Se.geometry){let Le=[];for(let nt of we)Le.push(ue(nt,Be));Ee.push(Le)}}Ke.push(re(Se.id,He,Ee,Se.tags))}return Ke}function ue(_t,Be){let Ke=[];Ke.size=_t.size,_t.start!==void 0&&(Ke.start=_t.start,Ke.end=_t.end);for(let je=0;je<_t.length;je+=3)Ke.push(_t[je]+Be,_t[je+1],_t[je+2]);return Ke}function Oe(_t,Be){if(_t.transformed)return _t;let Ke=1<<_t.z,je=_t.x,Se=_t.y;for(let He of _t.features){let Ee=He.geometry,we=He.type;if(He.geometry=[],we===1)for(let Le=0;Le0&&Be.size<(Se?Ee:je))return void(Ke.numPoints+=Be.length/3);let we=[];for(let Le=0;LeEe)&&(Ke.numSimplified++,we.push(Be[Le],Be[Le+1])),Ke.numPoints++;Se&&function(Le,nt){let pt=0;for(let bt=0,Rt=Le.length,Nt=Rt-2;bt0===nt)for(let bt=0,Rt=Le.length;bt24)throw new Error("maxZoom should be in the 0-24 range");if(Ke.promoteId&&Ke.generateId)throw new Error("promoteId and generateId cannot be used together.");let Se=function(He,Ee){let we=[];if(He.type==="FeatureCollection")for(let Le=0;Le1&&console.time("creation"),Nt=this.tiles[Rt]=ot(Be,Ke,je,Se,nt),this.tileCoords.push({z:Ke,x:je,y:Se}),pt)){pt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Ke,je,Se,Nt.numFeatures,Nt.numPoints,Nt.numSimplified),console.timeEnd("creation"));let gi=`z${Ke}`;this.stats[gi]=(this.stats[gi]||0)+1,this.total++}if(Nt.source=Be,He==null){if(Ke===nt.indexMaxZoom||Nt.numPoints<=nt.indexMaxPoints)continue}else{if(Ke===nt.maxZoom||Ke===He)continue;if(He!=null){let gi=He-Ke;if(je!==Ee>>gi||Se!==we>>gi)continue}}if(Nt.source=null,Be.length===0)continue;pt>1&&console.time("clipping");let Xt=.5*nt.buffer/nt.extent,$t=.5-Xt,ur=.5+Xt,pn=1+Xt,Rn=null,Nn=null,On=null,ni=null,zn=Ue(Be,bt,je-Xt,je+ur,0,Nt.minX,Nt.maxX,nt),Qn=Ue(Be,bt,je+$t,je+pn,0,Nt.minX,Nt.maxX,nt);Be=null,zn&&(Rn=Ue(zn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),Nn=Ue(zn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),zn=null),Qn&&(On=Ue(Qn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),ni=Ue(Qn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),Qn=null),pt>1&&console.timeEnd("clipping"),Le.push(Rn||[],Ke+1,2*je,2*Se),Le.push(Nn||[],Ke+1,2*je,2*Se+1),Le.push(On||[],Ke+1,2*je+1,2*Se),Le.push(ni||[],Ke+1,2*je+1,2*Se+1)}}getTile(Be,Ke,je){Be=+Be,Ke=+Ke,je=+je;let Se=this.options,{extent:He,debug:Ee}=Se;if(Be<0||Be>24)return null;let we=1<1&&console.log("drilling down to z%d-%d-%d",Be,Ke,je);let nt,pt=Be,bt=Ke,Rt=je;for(;!nt&&pt>0;)pt--,bt>>=1,Rt>>=1,nt=this.tiles[qt(pt,bt,Rt)];return nt&&nt.source?(Ee>1&&(console.log("found parent tile z%d-%d-%d",pt,bt,Rt),console.time("drilling down")),this.splitTile(nt.source,pt,bt,Rt,Be,Ke,je),Ee>1&&console.timeEnd("drilling down"),this.tiles[Le]?Oe(this.tiles[Le],He):null):null}}function qt(_t,Be,Ke){return 32*((1<<_t)*Ke+Be)+_t}function fr(_t,Be){return Be?_t.properties[Be]:_t.id}function ar(_t,Be){if(_t==null)return!0;if(_t.type==="Feature")return fr(_t,Be)!=null;if(_t.type==="FeatureCollection"){let Ke=new Set;for(let je of _t.features){let Se=fr(je,Be);if(Se==null||Ke.has(Se))return!1;Ke.add(Se)}return!0}return!1}function Rr(_t,Be){let Ke=new Map;if(_t!=null)if(_t.type==="Feature")Ke.set(fr(_t,Be),_t);else for(let je of _t.features)Ke.set(fr(je,Be),je);return Ke}class gr extends i{constructor(){super(...arguments),this._dataUpdateable=new Map}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=Be.tileID.canonical;if(!this._geoJSONIndex)throw new Error("Unable to parse the data into a cluster or geojson");let Se=this._geoJSONIndex.getTile(je.z,je.x,je.y);if(!Se)return null;let He=new class{constructor(we){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.X,this.length=we.length,this._features=we}feature(we){return new class{constructor(Le){this._feature=Le,this.extent=e.X,this.type=Le.type,this.properties=Le.tags,"id"in Le&&!isNaN(Le.id)&&(this.id=parseInt(Le.id,10))}loadGeometry(){if(this._feature.type===1){let Le=[];for(let nt of this._feature.geometry)Le.push([new e.P(nt[0],nt[1])]);return Le}{let Le=[];for(let nt of this._feature.geometry){let pt=[];for(let bt of nt)pt.push(new e.P(bt[0],bt[1]));Le.push(pt)}return Le}}toGeoJSON(Le,nt,pt){return p.call(this,Le,nt,pt)}}(this._features[we])}}(Se.features),Ee=F(He);return Ee.byteOffset===0&&Ee.byteLength===Ee.buffer.byteLength||(Ee=new Uint8Array(Ee)),{vectorTile:He,rawData:Ee.buffer}})}loadData(Be){return e._(this,void 0,void 0,function*(){var Ke;(Ke=this._pendingRequest)===null||Ke===void 0||Ke.abort();let je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request);this._pendingRequest=new AbortController;try{this._pendingData=this.loadAndProcessGeoJSON(Be,this._pendingRequest),this._geoJSONIndex=Be.cluster?new Q(function({superclusterOptions:Ee,clusterProperties:we}){if(!we||!Ee)return Ee;let Le={},nt={},pt={accumulated:null,zoom:0},bt={properties:null},Rt=Object.keys(we);for(let Nt of Rt){let[Xt,$t]=we[Nt],ur=e.bC($t),pn=e.bC(typeof Xt=="string"?[Xt,["accumulated"],["get",Nt]]:Xt);Le[Nt]=ur.value,nt[Nt]=pn.value}return Ee.map=Nt=>{bt.properties=Nt;let Xt={};for(let $t of Rt)Xt[$t]=Le[$t].evaluate(pt,bt);return Xt},Ee.reduce=(Nt,Xt)=>{bt.properties=Xt;for(let $t of Rt)pt.accumulated=Nt[$t],Nt[$t]=nt[$t].evaluate(pt,bt)},Ee}(Be)).load((yield this._pendingData).features):(Se=yield this._pendingData,new Bt(Se,Be.geojsonVtOptions)),this.loaded={};let He={};if(je){let Ee=je.finish();Ee&&(He.resourceTiming={},He.resourceTiming[Be.source]=JSON.parse(JSON.stringify(Ee)))}return He}catch(He){if(delete this._pendingRequest,e.bB(He))return{abandoned:!0};throw He}var Se})}getData(){return e._(this,void 0,void 0,function*(){return this._pendingData})}reloadTile(Be){let Ke=this.loaded;return Ke&&Ke[Be.uid]?super.reloadTile(Be):this.loadTile(Be)}loadAndProcessGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield this.loadGeoJSON(Be,Ke);if(delete this._pendingRequest,typeof je!="object")throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(h(je,!0),Be.filter){let Se=e.bC(Be.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(Se.result==="error")throw new Error(Se.value.map(Ee=>`${Ee.key}: ${Ee.message}`).join(", "));je={type:"FeatureCollection",features:je.features.filter(Ee=>Se.value.evaluate({zoom:0},Ee))}}return je})}loadGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let{promoteId:je}=Be;if(Be.request){let Se=yield e.h(Be.request,Ke);return this._dataUpdateable=ar(Se.data,je)?Rr(Se.data,je):void 0,Se.data}if(typeof Be.data=="string")try{let Se=JSON.parse(Be.data);return this._dataUpdateable=ar(Se,je)?Rr(Se,je):void 0,Se}catch{throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`)}if(!Be.dataDiff)throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(!this._dataUpdateable)throw new Error(`Cannot update existing geojson data in ${Be.source}`);return function(Se,He,Ee){var we,Le,nt,pt;if(He.removeAll&&Se.clear(),He.remove)for(let bt of He.remove)Se.delete(bt);if(He.add)for(let bt of He.add){let Rt=fr(bt,Ee);Rt!=null&&Se.set(Rt,bt)}if(He.update)for(let bt of He.update){let Rt=Se.get(bt.id);if(Rt==null)continue;let Nt=!bt.removeAllProperties&&(((we=bt.removeProperties)===null||we===void 0?void 0:we.length)>0||((Le=bt.addOrUpdateProperties)===null||Le===void 0?void 0:Le.length)>0);if((bt.newGeometry||bt.removeAllProperties||Nt)&&(Rt=Object.assign({},Rt),Se.set(bt.id,Rt),Nt&&(Rt.properties=Object.assign({},Rt.properties))),bt.newGeometry&&(Rt.geometry=bt.newGeometry),bt.removeAllProperties)Rt.properties={};else if(((nt=bt.removeProperties)===null||nt===void 0?void 0:nt.length)>0)for(let Xt of bt.removeProperties)Object.prototype.hasOwnProperty.call(Rt.properties,Xt)&&delete Rt.properties[Xt];if(((pt=bt.addOrUpdateProperties)===null||pt===void 0?void 0:pt.length)>0)for(let{key:Xt,value:$t}of bt.addOrUpdateProperties)Rt.properties[Xt]=$t}}(this._dataUpdateable,Be.dataDiff,je),{type:"FeatureCollection",features:Array.from(this._dataUpdateable.values())}})}removeSource(Be){return e._(this,void 0,void 0,function*(){this._pendingRequest&&this._pendingRequest.abort()})}getClusterExpansionZoom(Be){return this._geoJSONIndex.getClusterExpansionZoom(Be.clusterId)}getClusterChildren(Be){return this._geoJSONIndex.getChildren(Be.clusterId)}getClusterLeaves(Be){return this._geoJSONIndex.getLeaves(Be.clusterId,Be.limit,Be.offset)}}class br{constructor(Be){this.self=Be,this.actor=new e.F(Be),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.self.registerWorkerSource=(Ke,je)=>{if(this.externalWorkerSourceTypes[Ke])throw new Error(`Worker source with name "${Ke}" already registered.`);this.externalWorkerSourceTypes[Ke]=je},this.self.addProtocol=e.bi,this.self.removeProtocol=e.bj,this.self.registerRTLTextPlugin=Ke=>{if(e.bD.isParsed())throw new Error("RTL text plugin already registered.");e.bD.setMethods(Ke)},this.actor.registerMessageHandler("LDT",(Ke,je)=>this._getDEMWorkerSource(Ke,je.source).loadTile(je)),this.actor.registerMessageHandler("RDT",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getDEMWorkerSource(Ke,je.source).removeTile(je)})),this.actor.registerMessageHandler("GCEZ",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterExpansionZoom(je)})),this.actor.registerMessageHandler("GCC",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterChildren(je)})),this.actor.registerMessageHandler("GCL",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterLeaves(je)})),this.actor.registerMessageHandler("LD",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadData(je)),this.actor.registerMessageHandler("GD",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).getData()),this.actor.registerMessageHandler("LT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadTile(je)),this.actor.registerMessageHandler("RT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).reloadTile(je)),this.actor.registerMessageHandler("AT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).abortTile(je)),this.actor.registerMessageHandler("RMT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).removeTile(je)),this.actor.registerMessageHandler("RS",(Ke,je)=>e._(this,void 0,void 0,function*(){if(!this.workerSources[Ke]||!this.workerSources[Ke][je.type]||!this.workerSources[Ke][je.type][je.source])return;let Se=this.workerSources[Ke][je.type][je.source];delete this.workerSources[Ke][je.type][je.source],Se.removeSource!==void 0&&Se.removeSource(je)})),this.actor.registerMessageHandler("RM",Ke=>e._(this,void 0,void 0,function*(){delete this.layerIndexes[Ke],delete this.availableImages[Ke],delete this.workerSources[Ke],delete this.demWorkerSources[Ke]})),this.actor.registerMessageHandler("SR",(Ke,je)=>e._(this,void 0,void 0,function*(){this.referrer=je})),this.actor.registerMessageHandler("SRPS",(Ke,je)=>this._syncRTLPluginState(Ke,je)),this.actor.registerMessageHandler("IS",(Ke,je)=>e._(this,void 0,void 0,function*(){this.self.importScripts(je)})),this.actor.registerMessageHandler("SI",(Ke,je)=>this._setImages(Ke,je)),this.actor.registerMessageHandler("UL",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).update(je.layers,je.removedIds)})),this.actor.registerMessageHandler("SL",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).replace(je)}))}_setImages(Be,Ke){return e._(this,void 0,void 0,function*(){this.availableImages[Be]=Ke;for(let je in this.workerSources[Be]){let Se=this.workerSources[Be][je];for(let He in Se)Se[He].availableImages=Ke}})}_syncRTLPluginState(Be,Ke){return e._(this,void 0,void 0,function*(){if(e.bD.isParsed())return e.bD.getState();if(Ke.pluginStatus!=="loading")return e.bD.setState(Ke),Ke;let je=Ke.pluginURL;if(this.self.importScripts(je),e.bD.isParsed()){let Se={pluginStatus:"loaded",pluginURL:je};return e.bD.setState(Se),Se}throw e.bD.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${je}`)})}_getAvailableImages(Be){let Ke=this.availableImages[Be];return Ke||(Ke=[]),Ke}_getLayerIndex(Be){let Ke=this.layerIndexes[Be];return Ke||(Ke=this.layerIndexes[Be]=new t),Ke}_getWorkerSource(Be,Ke,je){if(this.workerSources[Be]||(this.workerSources[Be]={}),this.workerSources[Be][Ke]||(this.workerSources[Be][Ke]={}),!this.workerSources[Be][Ke][je]){let Se={sendAsync:(He,Ee)=>(He.targetMapId=Be,this.actor.sendAsync(He,Ee))};switch(Ke){case"vector":this.workerSources[Be][Ke][je]=new i(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;case"geojson":this.workerSources[Be][Ke][je]=new gr(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;default:this.workerSources[Be][Ke][je]=new this.externalWorkerSourceTypes[Ke](Se,this._getLayerIndex(Be),this._getAvailableImages(Be))}}return this.workerSources[Be][Ke][je]}_getDEMWorkerSource(Be,Ke){return this.demWorkerSources[Be]||(this.demWorkerSources[Be]={}),this.demWorkerSources[Be][Ke]||(this.demWorkerSources[Be][Ke]=new a),this.demWorkerSources[Be][Ke]}}return e.i(self)&&(self.worker=new br(self)),br}),A("index",["exports","./shared"],function(e,t){"use strict";var r="4.7.1";let o,n,i={now:typeof performance<"u"&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frameAsync:Ne=>new Promise((R,ne)=>{let be=requestAnimationFrame(R);Ne.signal.addEventListener("abort",()=>{cancelAnimationFrame(be),ne(t.c())})}),getImageData(Ne,R=0){return this.getImageCanvasContext(Ne).getImageData(-R,-R,Ne.width+2*R,Ne.height+2*R)},getImageCanvasContext(Ne){let R=window.document.createElement("canvas"),ne=R.getContext("2d",{willReadFrequently:!0});if(!ne)throw new Error("failed to create canvas 2d context");return R.width=Ne.width,R.height=Ne.height,ne.drawImage(Ne,0,0,Ne.width,Ne.height),ne},resolveURL:Ne=>(o||(o=document.createElement("a")),o.href=Ne,o.href),hardwareConcurrency:typeof navigator<"u"&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(n==null&&(n=matchMedia("(prefers-reduced-motion: reduce)")),n.matches)}};class a{static testProp(R){if(!a.docStyle)return R[0];for(let ne=0;ne{window.removeEventListener("click",a.suppressClickInternal,!0)},0)}static getScale(R){let ne=R.getBoundingClientRect();return{x:ne.width/R.offsetWidth||1,y:ne.height/R.offsetHeight||1,boundingClientRect:ne}}static getPoint(R,ne,be){let Ae=ne.boundingClientRect;return new t.P((be.clientX-Ae.left)/ne.x-R.clientLeft,(be.clientY-Ae.top)/ne.y-R.clientTop)}static mousePos(R,ne){let be=a.getScale(R);return a.getPoint(R,be,ne)}static touchPos(R,ne){let be=[],Ae=a.getScale(R);for(let Fe=0;Fe{c&&T(c),c=null,d=!0},h.onerror=()=>{p=!0,c=null},h.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="),function(Ne){let R,ne,be,Ae;Ne.resetRequestQueue=()=>{R=[],ne=0,be=0,Ae={}},Ne.addThrottleControl=zt=>{let Jt=be++;return Ae[Jt]=zt,Jt},Ne.removeThrottleControl=zt=>{delete Ae[zt],ht()},Ne.getImage=(zt,Jt,hr=!0)=>new Promise((vr,Hr)=>{s.supported&&(zt.headers||(zt.headers={}),zt.headers.accept="image/webp,*/*"),t.e(zt,{type:"image"}),R.push({abortController:Jt,requestParameters:zt,supportImageRefresh:hr,state:"queued",onError:ln=>{Hr(ln)},onSuccess:ln=>{vr(ln)}}),ht()});let Fe=zt=>t._(this,void 0,void 0,function*(){zt.state="running";let{requestParameters:Jt,supportImageRefresh:hr,onError:vr,onSuccess:Hr,abortController:ln}=zt,Ge=hr===!1&&!t.i(self)&&!t.g(Jt.url)&&(!Jt.headers||Object.keys(Jt.headers).reduce((dt,St)=>dt&&St==="accept",!0));ne++;let $e=Ge?wt(Jt,ln):t.m(Jt,ln);try{let dt=yield $e;delete zt.abortController,zt.state="completed",dt.data instanceof HTMLImageElement||t.b(dt.data)?Hr(dt):dt.data&&Hr({data:yield(st=dt.data,typeof createImageBitmap=="function"?t.d(st):t.f(st)),cacheControl:dt.cacheControl,expires:dt.expires})}catch(dt){delete zt.abortController,vr(dt)}finally{ne--,ht()}var st}),ht=()=>{let zt=(()=>{for(let Jt of Object.keys(Ae))if(Ae[Jt]())return!0;return!1})()?t.a.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.a.MAX_PARALLEL_IMAGE_REQUESTS;for(let Jt=ne;Jt0;Jt++){let hr=R.shift();hr.abortController.signal.aborted?Jt--:Fe(hr)}},wt=(zt,Jt)=>new Promise((hr,vr)=>{let Hr=new Image,ln=zt.url,Ge=zt.credentials;Ge&&Ge==="include"?Hr.crossOrigin="use-credentials":(Ge&&Ge==="same-origin"||!t.s(ln))&&(Hr.crossOrigin="anonymous"),Jt.signal.addEventListener("abort",()=>{Hr.src="",vr(t.c())}),Hr.fetchPriority="high",Hr.onload=()=>{Hr.onerror=Hr.onload=null,hr({data:Hr})},Hr.onerror=()=>{Hr.onerror=Hr.onload=null,Jt.signal.aborted||vr(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))},Hr.src=ln})}(l||(l={})),l.resetRequestQueue();class _{constructor(R){this._transformRequestFn=R}transformRequest(R,ne){return this._transformRequestFn&&this._transformRequestFn(R,ne)||{url:R}}setTransformRequest(R){this._transformRequestFn=R}}function w(Ne){var R=new t.A(3);return R[0]=Ne[0],R[1]=Ne[1],R[2]=Ne[2],R}var M,E=function(Ne,R,ne){return Ne[0]=R[0]-ne[0],Ne[1]=R[1]-ne[1],Ne[2]=R[2]-ne[2],Ne};M=new t.A(3),t.A!=Float32Array&&(M[0]=0,M[1]=0,M[2]=0);var m=function(Ne){var R=Ne[0],ne=Ne[1];return R*R+ne*ne};function b(Ne){let R=[];if(typeof Ne=="string")R.push({id:"default",url:Ne});else if(Ne&&Ne.length>0){let ne=[];for(let{id:be,url:Ae}of Ne){let Fe=`${be}${Ae}`;ne.indexOf(Fe)===-1&&(ne.push(Fe),R.push({id:be,url:Ae}))}}return R}function v(Ne,R,ne){let be=Ne.split("?");return be[0]+=`${R}${ne}`,be.join("?")}(function(){var Ne=new t.A(2);t.A!=Float32Array&&(Ne[0]=0,Ne[1]=0)})();class u{constructor(R,ne,be,Ae){this.context=R,this.format=be,this.texture=R.gl.createTexture(),this.update(ne,Ae)}update(R,ne,be){let{width:Ae,height:Fe}=R,ht=!(this.size&&this.size[0]===Ae&&this.size[1]===Fe||be),{context:wt}=this,{gl:zt}=wt;if(this.useMipmap=!!(ne&&ne.useMipmap),zt.bindTexture(zt.TEXTURE_2D,this.texture),wt.pixelStoreUnpackFlipY.set(!1),wt.pixelStoreUnpack.set(1),wt.pixelStoreUnpackPremultiplyAlpha.set(this.format===zt.RGBA&&(!ne||ne.premultiply!==!1)),ht)this.size=[Ae,Fe],R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texImage2D(zt.TEXTURE_2D,0,this.format,this.format,zt.UNSIGNED_BYTE,R):zt.texImage2D(zt.TEXTURE_2D,0,this.format,Ae,Fe,0,this.format,zt.UNSIGNED_BYTE,R.data);else{let{x:Jt,y:hr}=be||{x:0,y:0};R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,zt.RGBA,zt.UNSIGNED_BYTE,R):zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,Ae,Fe,zt.RGBA,zt.UNSIGNED_BYTE,R.data)}this.useMipmap&&this.isSizePowerOfTwo()&&zt.generateMipmap(zt.TEXTURE_2D)}bind(R,ne,be){let{context:Ae}=this,{gl:Fe}=Ae;Fe.bindTexture(Fe.TEXTURE_2D,this.texture),be!==Fe.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(be=Fe.LINEAR),R!==this.filter&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,R),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,be||R),this.filter=R),ne!==this.wrap&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,ne),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,ne),this.wrap=ne)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){let{gl:R}=this.context;R.deleteTexture(this.texture),this.texture=null}}function y(Ne){let{userImage:R}=Ne;return!!(R&&R.render&&R.render())&&(Ne.data.replace(new Uint8Array(R.data.buffer)),!0)}class f extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(R){if(this.loaded!==R&&(this.loaded=R,R)){for(let{ids:ne,promiseResolve:be}of this.requestors)be(this._getImagesForIds(ne));this.requestors=[]}}getImage(R){let ne=this.images[R];if(ne&&!ne.data&&ne.spriteData){let be=ne.spriteData;ne.data=new t.R({width:be.width,height:be.height},be.context.getImageData(be.x,be.y,be.width,be.height).data),ne.spriteData=null}return ne}addImage(R,ne){if(this.images[R])throw new Error(`Image id ${R} already exist, use updateImage instead`);this._validate(R,ne)&&(this.images[R]=ne)}_validate(R,ne){let be=!0,Ae=ne.data||ne.spriteData;return this._validateStretch(ne.stretchX,Ae&&Ae.width)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "stretchX" value`))),be=!1),this._validateStretch(ne.stretchY,Ae&&Ae.height)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "stretchY" value`))),be=!1),this._validateContent(ne.content,ne)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "content" value`))),be=!1),be}_validateStretch(R,ne){if(!R)return!0;let be=0;for(let Ae of R){if(Ae[0]{let Ae=!0;if(!this.isLoaded())for(let Fe of R)this.images[Fe]||(Ae=!1);this.isLoaded()||Ae?ne(this._getImagesForIds(R)):this.requestors.push({ids:R,promiseResolve:ne})})}_getImagesForIds(R){let ne={};for(let be of R){let Ae=this.getImage(be);Ae||(this.fire(new t.k("styleimagemissing",{id:be})),Ae=this.getImage(be)),Ae?ne[be]={data:Ae.data.clone(),pixelRatio:Ae.pixelRatio,sdf:Ae.sdf,version:Ae.version,stretchX:Ae.stretchX,stretchY:Ae.stretchY,content:Ae.content,textFitWidth:Ae.textFitWidth,textFitHeight:Ae.textFitHeight,hasRenderCallback:!!(Ae.userImage&&Ae.userImage.render)}:t.w(`Image "${be}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`)}return ne}getPixelSize(){let{width:R,height:ne}=this.atlasImage;return{width:R,height:ne}}getPattern(R){let ne=this.patterns[R],be=this.getImage(R);if(!be)return null;if(ne&&ne.position.version===be.version)return ne.position;if(ne)ne.position.version=be.version;else{let Ae={w:be.data.width+2,h:be.data.height+2,x:0,y:0},Fe=new t.I(Ae,be);this.patterns[R]={bin:Ae,position:Fe}}return this._updatePatternAtlas(),this.patterns[R].position}bind(R){let ne=R.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new u(R,this.atlasImage,ne.RGBA),this.atlasTexture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE)}_updatePatternAtlas(){let R=[];for(let Fe in this.patterns)R.push(this.patterns[Fe].bin);let{w:ne,h:be}=t.p(R),Ae=this.atlasImage;Ae.resize({width:ne||1,height:be||1});for(let Fe in this.patterns){let{bin:ht}=this.patterns[Fe],wt=ht.x+1,zt=ht.y+1,Jt=this.getImage(Fe).data,hr=Jt.width,vr=Jt.height;t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt},{width:hr,height:vr}),t.R.copy(Jt,Ae,{x:0,y:vr-1},{x:wt,y:zt-1},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt+vr},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:hr-1,y:0},{x:wt-1,y:zt},{width:1,height:vr}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt+hr,y:zt},{width:1,height:vr})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(R){for(let ne of R){if(this.callbackDispatchedThisFrame[ne])continue;this.callbackDispatchedThisFrame[ne]=!0;let be=this.getImage(ne);be||t.w(`Image with ID: "${ne}" was not found`),y(be)&&this.updateImage(ne,be)}}}let P=1e20;function L(Ne,R,ne,be,Ae,Fe,ht,wt,zt){for(let Jt=R;Jt-1);zt++,Fe[zt]=wt,ht[zt]=Jt,ht[zt+1]=P}for(let wt=0,zt=0;wt65535)throw new Error("glyphs > 65535 not supported");if(be.ranges[Fe])return{stack:R,id:ne,glyph:Ae};if(!this.url)throw new Error("glyphsUrl is not set");if(!be.requests[Fe]){let wt=F.loadGlyphRange(R,Fe,this.url,this.requestManager);be.requests[Fe]=wt}let ht=yield be.requests[Fe];for(let wt in ht)this._doesCharSupportLocalGlyph(+wt)||(be.glyphs[+wt]=ht[+wt]);return be.ranges[Fe]=!0,{stack:R,id:ne,glyph:ht[ne]||null}})}_doesCharSupportLocalGlyph(R){return!!this.localIdeographFontFamily&&new RegExp("\\p{Ideo}|\\p{sc=Hang}|\\p{sc=Hira}|\\p{sc=Kana}","u").test(String.fromCodePoint(R))}_tinySDF(R,ne,be){let Ae=this.localIdeographFontFamily;if(!Ae||!this._doesCharSupportLocalGlyph(be))return;let Fe=R.tinySDF;if(!Fe){let wt="400";/bold/i.test(ne)?wt="900":/medium/i.test(ne)?wt="500":/light/i.test(ne)&&(wt="200"),Fe=R.tinySDF=new F.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:Ae,fontWeight:wt})}let ht=Fe.draw(String.fromCharCode(be));return{id:be,bitmap:new t.o({width:ht.width||60,height:ht.height||60},ht.data),metrics:{width:ht.glyphWidth/2||24,height:ht.glyphHeight/2||24,left:ht.glyphLeft/2+.5||0,top:ht.glyphTop/2-27.5||-8,advance:ht.glyphAdvance/2||24,isDoubleResolution:!0}}}}F.loadGlyphRange=function(Ne,R,ne,be){return t._(this,void 0,void 0,function*(){let Ae=256*R,Fe=Ae+255,ht=be.transformRequest(ne.replace("{fontstack}",Ne).replace("{range}",`${Ae}-${Fe}`),"Glyphs"),wt=yield t.l(ht,new AbortController);if(!wt||!wt.data)throw new Error(`Could not load glyph range. range: ${R}, ${Ae}-${Fe}`);let zt={};for(let Jt of t.n(wt.data))zt[Jt.id]=Jt;return zt})},F.TinySDF=class{constructor({fontSize:Ne=24,buffer:R=3,radius:ne=8,cutoff:be=.25,fontFamily:Ae="sans-serif",fontWeight:Fe="normal",fontStyle:ht="normal"}={}){this.buffer=R,this.cutoff=be,this.radius=ne;let wt=this.size=Ne+4*R,zt=this._createCanvas(wt),Jt=this.ctx=zt.getContext("2d",{willReadFrequently:!0});Jt.font=`${ht} ${Fe} ${Ne}px ${Ae}`,Jt.textBaseline="alphabetic",Jt.textAlign="left",Jt.fillStyle="black",this.gridOuter=new Float64Array(wt*wt),this.gridInner=new Float64Array(wt*wt),this.f=new Float64Array(wt),this.z=new Float64Array(wt+1),this.v=new Uint16Array(wt)}_createCanvas(Ne){let R=document.createElement("canvas");return R.width=R.height=Ne,R}draw(Ne){let{width:R,actualBoundingBoxAscent:ne,actualBoundingBoxDescent:be,actualBoundingBoxLeft:Ae,actualBoundingBoxRight:Fe}=this.ctx.measureText(Ne),ht=Math.ceil(ne),wt=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(Fe-Ae))),zt=Math.min(this.size-this.buffer,ht+Math.ceil(be)),Jt=wt+2*this.buffer,hr=zt+2*this.buffer,vr=Math.max(Jt*hr,0),Hr=new Uint8ClampedArray(vr),ln={data:Hr,width:Jt,height:hr,glyphWidth:wt,glyphHeight:zt,glyphTop:ht,glyphLeft:0,glyphAdvance:R};if(wt===0||zt===0)return ln;let{ctx:Ge,buffer:$e,gridInner:st,gridOuter:dt}=this;Ge.clearRect($e,$e,wt,zt),Ge.fillText(Ne,$e,$e+ht);let St=Ge.getImageData($e,$e,wt,zt);dt.fill(P,0,vr),st.fill(0,0,vr);for(let xt=0;xt0?pr*pr:0,st[sr]=pr<0?pr*pr:0}}L(dt,0,0,Jt,hr,Jt,this.f,this.v,this.z),L(st,$e,$e,wt,zt,Jt,this.f,this.v,this.z);for(let xt=0;xt1&&(zt=R[++wt]);let hr=Math.abs(Jt-zt.left),vr=Math.abs(Jt-zt.right),Hr=Math.min(hr,vr),ln,Ge=Fe/be*(Ae+1);if(zt.isDash){let $e=Ae-Math.abs(Ge);ln=Math.sqrt(Hr*Hr+$e*$e)}else ln=Ae-Math.sqrt(Hr*Hr+Ge*Ge);this.data[ht+Jt]=Math.max(0,Math.min(255,ln+128))}}}addRegularDash(R){for(let wt=R.length-1;wt>=0;--wt){let zt=R[wt],Jt=R[wt+1];zt.zeroLength?R.splice(wt,1):Jt&&Jt.isDash===zt.isDash&&(Jt.left=zt.left,R.splice(wt,1))}let ne=R[0],be=R[R.length-1];ne.isDash===be.isDash&&(ne.left=be.left-this.width,be.right=ne.right+this.width);let Ae=this.width*this.nextRow,Fe=0,ht=R[Fe];for(let wt=0;wt1&&(ht=R[++Fe]);let zt=Math.abs(wt-ht.left),Jt=Math.abs(wt-ht.right),hr=Math.min(zt,Jt);this.data[Ae+wt]=Math.max(0,Math.min(255,(ht.isDash?hr:-hr)+128))}}addDash(R,ne){let be=ne?7:0,Ae=2*be+1;if(this.nextRow+Ae>this.height)return t.w("LineAtlas out of space"),null;let Fe=0;for(let wt=0;wt{ne.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[Q]}numActive(){return Object.keys(this.active).length}}let se=Math.floor(i.hardwareConcurrency/2),fe,G;function $(){return fe||(fe=new le),fe}le.workerCount=t.C(globalThis)?Math.max(Math.min(se,3),1):1;class J{constructor(R,ne){this.workerPool=R,this.actors=[],this.currentActor=0,this.id=ne;let be=this.workerPool.acquire(ne);for(let Ae=0;Ae{ne.remove()}),this.actors=[],R&&this.workerPool.release(this.id)}registerMessageHandler(R,ne){for(let be of this.actors)be.registerMessageHandler(R,ne)}}function X(){return G||(G=new J($(),t.G),G.registerMessageHandler("GR",(Ne,R,ne)=>t.m(R,ne))),G}function re(Ne,R){let ne=t.H();return t.J(ne,ne,[1,1,0]),t.K(ne,ne,[.5*Ne.width,.5*Ne.height,1]),t.L(ne,ne,Ne.calculatePosMatrix(R.toUnwrapped()))}function ae(Ne,R,ne,be,Ae,Fe){let ht=function(vr,Hr,ln){if(vr)for(let Ge of vr){let $e=Hr[Ge];if($e&&$e.source===ln&&$e.type==="fill-extrusion")return!0}else for(let Ge in Hr){let $e=Hr[Ge];if($e.source===ln&&$e.type==="fill-extrusion")return!0}return!1}(Ae&&Ae.layers,R,Ne.id),wt=Fe.maxPitchScaleFactor(),zt=Ne.tilesIn(be,wt,ht);zt.sort(j);let Jt=[];for(let vr of zt)Jt.push({wrappedTileID:vr.tileID.wrapped().key,queryResults:vr.tile.queryRenderedFeatures(R,ne,Ne._state,vr.queryGeometry,vr.cameraQueryGeometry,vr.scale,Ae,Fe,wt,re(Ne.transform,vr.tileID))});let hr=function(vr){let Hr={},ln={};for(let Ge of vr){let $e=Ge.queryResults,st=Ge.wrappedTileID,dt=ln[st]=ln[st]||{};for(let St in $e){let xt=$e[St],It=dt[St]=dt[St]||{},rr=Hr[St]=Hr[St]||[];for(let sr of xt)It[sr.featureIndex]||(It[sr.featureIndex]=!0,rr.push(sr))}}return Hr}(Jt);for(let vr in hr)hr[vr].forEach(Hr=>{let ln=Hr.feature,Ge=Ne.getFeatureState(ln.layer["source-layer"],ln.id);ln.source=ln.layer.source,ln.layer["source-layer"]&&(ln.sourceLayer=ln.layer["source-layer"]),ln.state=Ge});return hr}function j(Ne,R){let ne=Ne.tileID,be=R.tileID;return ne.overscaledZ-be.overscaledZ||ne.canonical.y-be.canonical.y||ne.wrap-be.wrap||ne.canonical.x-be.canonical.x}function ee(Ne,R,ne){return t._(this,void 0,void 0,function*(){let be=Ne;if(Ne.url?be=(yield t.h(R.transformRequest(Ne.url,"Source"),ne)).data:yield i.frameAsync(ne),!be)return null;let Ae=t.M(t.e(be,Ne),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return"vector_layers"in be&&be.vector_layers&&(Ae.vectorLayerIds=be.vector_layers.map(Fe=>Fe.id)),Ae})}class ie{constructor(R,ne){R&&(ne?this.setSouthWest(R).setNorthEast(ne):Array.isArray(R)&&(R.length===4?this.setSouthWest([R[0],R[1]]).setNorthEast([R[2],R[3]]):this.setSouthWest(R[0]).setNorthEast(R[1])))}setNorthEast(R){return this._ne=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}setSouthWest(R){return this._sw=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}extend(R){let ne=this._sw,be=this._ne,Ae,Fe;if(R instanceof t.N)Ae=R,Fe=R;else{if(!(R instanceof ie))return Array.isArray(R)?R.length===4||R.every(Array.isArray)?this.extend(ie.convert(R)):this.extend(t.N.convert(R)):R&&("lng"in R||"lon"in R)&&"lat"in R?this.extend(t.N.convert(R)):this;if(Ae=R._sw,Fe=R._ne,!Ae||!Fe)return this}return ne||be?(ne.lng=Math.min(Ae.lng,ne.lng),ne.lat=Math.min(Ae.lat,ne.lat),be.lng=Math.max(Fe.lng,be.lng),be.lat=Math.max(Fe.lat,be.lat)):(this._sw=new t.N(Ae.lng,Ae.lat),this._ne=new t.N(Fe.lng,Fe.lat)),this}getCenter(){return new t.N((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.N(this.getWest(),this.getNorth())}getSouthEast(){return new t.N(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(R){let{lng:ne,lat:be}=t.N.convert(R),Ae=this._sw.lng<=ne&&ne<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Ae=this._sw.lng>=ne&&ne>=this._ne.lng),this._sw.lat<=be&&be<=this._ne.lat&&Ae}static convert(R){return R instanceof ie?R:R&&new ie(R)}static fromLngLat(R,ne=0){let be=360*ne/40075017,Ae=be/Math.cos(Math.PI/180*R.lat);return new ie(new t.N(R.lng-Ae,R.lat-be),new t.N(R.lng+Ae,R.lat+be))}adjustAntiMeridian(){let R=new t.N(this._sw.lng,this._sw.lat),ne=new t.N(this._ne.lng,this._ne.lat);return new ie(R,R.lng>ne.lng?new t.N(ne.lng+360,ne.lat):ne)}}class ce{constructor(R,ne,be){this.bounds=ie.convert(this.validateBounds(R)),this.minzoom=ne||0,this.maxzoom=be||24}validateBounds(R){return Array.isArray(R)&&R.length===4?[Math.max(-180,R[0]),Math.max(-90,R[1]),Math.min(180,R[2]),Math.min(90,R[3])]:[-180,-90,180,90]}contains(R){let ne=Math.pow(2,R.z),be=Math.floor(t.O(this.bounds.getWest())*ne),Ae=Math.floor(t.Q(this.bounds.getNorth())*ne),Fe=Math.ceil(t.O(this.bounds.getEast())*ne),ht=Math.ceil(t.Q(this.bounds.getSouth())*ne);return R.x>=be&&R.x=Ae&&R.y{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}serialize(){return t.e({},this._options)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be={request:this.map._requestManager.transformRequest(ne,"Tile"),uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,tileSize:this.tileSize*R.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};be.request.collectResourceTiming=this._collectResourceTiming;let Ae="RT";if(R.actor&&R.state!=="expired"){if(R.state==="loading")return new Promise((Fe,ht)=>{R.reloadPromise={resolve:Fe,reject:ht}})}else R.actor=this.dispatcher.getActor(),Ae="LT";R.abortController=new AbortController;try{let Fe=yield R.actor.sendAsync({type:Ae,data:be},R.abortController);if(delete R.abortController,R.aborted)return;this._afterTileLoadWorkerResponse(R,Fe)}catch(Fe){if(delete R.abortController,R.aborted)return;if(Fe&&Fe.status!==404)throw Fe;this._afterTileLoadWorkerResponse(R,null)}})}_afterTileLoadWorkerResponse(R,ne){if(ne&&ne.resourceTiming&&(R.resourceTiming=ne.resourceTiming),ne&&this.map._refreshExpiredTiles&&R.setExpiryData(ne),R.loadVectorData(ne,this.map.painter),R.reloadPromise){let be=R.reloadPromise;R.reloadPromise=null,this.loadTile(R).then(be.resolve).catch(be.reject)}}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.actor&&(yield R.actor.sendAsync({type:"AT",data:{uid:R.uid,type:this.type,source:this.id}}))})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),R.actor&&(yield R.actor.sendAsync({type:"RMT",data:{uid:R.uid,type:this.type,source:this.id}}))})}hasTransition(){return!1}}class Te extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.setEventedParent(Ae),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.e({type:"raster"},ne),t.e(this,t.M(ne,["url","scheme","tileSize"]))}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{let R=yield ee(this._options,this.map._requestManager,this._tileJSONRequest);this._tileJSONRequest=null,this._loaded=!0,R&&(t.e(this,R),R.bounds&&(this.tileBounds=new ce(R.bounds,this.minzoom,this.maxzoom)),this.fire(new t.k("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.k("data",{dataType:"source",sourceDataType:"content"})))}catch(R){this._tileJSONRequest=null,this.fire(new t.j(R))}})}loaded(){return this._loaded}onAdd(R){this.map=R,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}setSourceProperty(R){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),R(),this.load()}setTiles(R){return this.setSourceProperty(()=>{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}serialize(){return t.e({},this._options)}hasTile(R){return!this.tileBounds||this.tileBounds.contains(R.canonical)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);R.abortController=new AbortController;try{let be=yield l.getImage(this.map._requestManager.transformRequest(ne,"Tile"),R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state="unloaded");if(be&&be.data){this.map._refreshExpiredTiles&&be.cacheControl&&be.expires&&R.setExpiryData({cacheControl:be.cacheControl,expires:be.expires});let Ae=this.map.painter.context,Fe=Ae.gl,ht=be.data;R.texture=this.map.painter.getTileTexture(ht.width),R.texture?R.texture.update(ht,{useMipmap:!0}):(R.texture=new u(Ae,ht,Fe.RGBA,{useMipmap:!0}),R.texture.bind(Fe.LINEAR,Fe.CLAMP_TO_EDGE,Fe.LINEAR_MIPMAP_NEAREST)),R.state="loaded"}}catch(be){if(delete R.abortController,R.aborted)R.state="unloaded";else if(be)throw R.state="errored",be}})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController)})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.texture&&this.map.painter.saveTileTexture(R.texture)})}hasTransition(){return!1}}class Ue extends Te{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.type="raster-dem",this.maxzoom=22,this._options=t.e({type:"raster-dem"},ne),this.encoding=ne.encoding||"mapbox",this.redFactor=ne.redFactor,this.greenFactor=ne.greenFactor,this.blueFactor=ne.blueFactor,this.baseShift=ne.baseShift}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be=this.map._requestManager.transformRequest(ne,"Tile");R.neighboringTiles=this._getNeighboringTiles(R.tileID),R.abortController=new AbortController;try{let Ae=yield l.getImage(be,R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state="unloaded");if(Ae&&Ae.data){let Fe=Ae.data;this.map._refreshExpiredTiles&&Ae.cacheControl&&Ae.expires&&R.setExpiryData({cacheControl:Ae.cacheControl,expires:Ae.expires});let ht=t.b(Fe)&&t.U()?Fe:yield this.readImageNow(Fe),wt={type:this.type,uid:R.uid,source:this.id,rawImageData:ht,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(!R.actor||R.state==="expired"){R.actor=this.dispatcher.getActor();let zt=yield R.actor.sendAsync({type:"LDT",data:wt});R.dem=zt,R.needsHillshadePrepare=!0,R.needsTerrainPrepare=!0,R.state="loaded"}}}catch(Ae){if(delete R.abortController,R.aborted)R.state="unloaded";else if(Ae)throw R.state="errored",Ae}})}readImageNow(R){return t._(this,void 0,void 0,function*(){if(typeof VideoFrame<"u"&&t.V()){let ne=R.width+2,be=R.height+2;try{return new t.R({width:ne,height:be},yield t.W(R,-1,-1,ne,be))}catch{}}return i.getImageData(R,1)})}_getNeighboringTiles(R){let ne=R.canonical,be=Math.pow(2,ne.z),Ae=(ne.x-1+be)%be,Fe=ne.x===0?R.wrap-1:R.wrap,ht=(ne.x+1+be)%be,wt=ne.x+1===be?R.wrap+1:R.wrap,zt={};return zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y).key]={backfilled:!1},ne.y>0&&(zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,R.wrap,ne.z,ne.x,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y-1).key]={backfilled:!1}),ne.y+10&&t.e(Fe,{resourceTiming:Ae}),this.fire(new t.k("data",Object.assign(Object.assign({},Fe),{sourceDataType:"metadata"}))),this.fire(new t.k("data",Object.assign(Object.assign({},Fe),{sourceDataType:"content"})))}catch(be){if(this._pendingLoads--,this._removed)return void this.fire(new t.k("dataabort",{dataType:"source"}));this.fire(new t.j(be))}})}loaded(){return this._pendingLoads===0}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.actor?"RT":"LT";R.actor=this.actor;let be={type:this.type,uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};R.abortController=new AbortController;let Ae=yield this.actor.sendAsync({type:ne,data:be},R.abortController);delete R.abortController,R.unloadVectorData(),R.aborted||R.loadVectorData(Ae,this.map.painter,ne==="RT")})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.aborted=!0})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:R.uid,type:this.type,source:this.id}})})}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}})}serialize(){return t.e({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var Ye=t.Y([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class it extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.coordinates=ne.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ae),this.options=ne}load(R){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{let ne=yield l.getImage(this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,ne&&ne.data&&(this.image=ne.data,R&&(this.coordinates=R),this._finishLoading())}catch(ne){this._request=null,this._loaded=!0,this.fire(new t.j(ne))}})}loaded(){return this._loaded}updateImage(R){return R.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=R.url,this.load(R.coordinates).finally(()=>{this.texture=null}),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.k("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(R){this.map=R,this.load()}onRemove(){this._request&&(this._request.abort(),this._request=null)}setCoordinates(R){this.coordinates=R;let ne=R.map(t.Z.fromLngLat);this.tileID=function(Ae){let Fe=1/0,ht=1/0,wt=-1/0,zt=-1/0;for(let Hr of Ae)Fe=Math.min(Fe,Hr.x),ht=Math.min(ht,Hr.y),wt=Math.max(wt,Hr.x),zt=Math.max(zt,Hr.y);let Jt=Math.max(wt-Fe,zt-ht),hr=Math.max(0,Math.floor(-Math.log(Jt)/Math.LN2)),vr=Math.pow(2,hr);return new t.a1(hr,Math.floor((Fe+wt)/2*vr),Math.floor((ht+zt)/2*vr))}(ne),this.minzoom=this.maxzoom=this.tileID.z;let be=ne.map(Ae=>this.tileID.getTilePoint(Ae)._round());return this._boundsArray=new t.$,this._boundsArray.emplaceBack(be[0].x,be[0].y,0,0),this._boundsArray.emplaceBack(be[1].x,be[1].y,t.X,0),this._boundsArray.emplaceBack(be[3].x,be[3].y,0,t.X),this._boundsArray.emplaceBack(be[2].x,be[2].y,t.X,t.X),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.k("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(Object.keys(this.tiles).length===0||!this.image)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture||(this.texture=new u(R,this.image,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!=="loaded"&&(Fe.state="loaded",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}loadTile(R){return t._(this,void 0,void 0,function*(){this.tileID&&this.tileID.equals(R.tileID.canonical)?(this.tiles[String(R.tileID.wrap)]=R,R.buckets={}):R.state="errored"})}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class at extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.roundZoom=!0,this.type="video",this.options=ne}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1;let R=this.options;this.urls=[];for(let ne of R.urls)this.urls.push(this.map._requestManager.transformRequest(ne,"Source").url);try{let ne=yield t.a3(this.urls);if(this._loaded=!0,!ne)return;this.video=ne,this.video.loop=!0,this.video.addEventListener("playing",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading()}catch(ne){this.fire(new t.j(ne))}})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(R){if(this.video){let ne=this.video.seekable;Rne.end(0)?this.fire(new t.j(new t.a2(`sources.${this.id}`,null,`Playback for this video can be set only between the ${ne.start(0)} and ${ne.end(0)}-second mark.`))):this.video.currentTime=R}}getVideo(){return this.video}onAdd(R){this.map||(this.map=R,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(Object.keys(this.tiles).length===0||this.video.readyState<2)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE),ne.texSubImage2D(ne.TEXTURE_2D,0,0,0,ne.RGBA,ne.UNSIGNED_BYTE,this.video)):(this.texture=new u(R,this.video,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!=="loaded"&&(Fe.state="loaded",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class tt extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),ne.coordinates?Array.isArray(ne.coordinates)&&ne.coordinates.length===4&&!ne.coordinates.some(Fe=>!Array.isArray(Fe)||Fe.length!==2||Fe.some(ht=>typeof ht!="number"))||this.fire(new t.j(new t.a2(`sources.${R}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property "coordinates"'))),ne.animate&&typeof ne.animate!="boolean"&&this.fire(new t.j(new t.a2(`sources.${R}`,null,'optional "animate" property must be a boolean value'))),ne.canvas?typeof ne.canvas=="string"||ne.canvas instanceof HTMLCanvasElement||this.fire(new t.j(new t.a2(`sources.${R}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property "canvas"'))),this.options=ne,this.animate=ne.animate===void 0||ne.animate}load(){return t._(this,void 0,void 0,function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.j(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())})}getCanvas(){return this.canvas}onAdd(R){this.map=R,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let R=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,R=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,R=!0),this._hasInvalidDimensions()||Object.keys(this.tiles).length===0)return;let ne=this.map.painter.context,be=ne.gl;this.boundsBuffer||(this.boundsBuffer=ne.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?(R||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new u(ne,this.canvas,be.RGBA,{premultiply:!0});let Ae=!1;for(let Fe in this.tiles){let ht=this.tiles[Fe];ht.state!=="loaded"&&(ht.state="loaded",ht.texture=this.texture,Ae=!0)}Ae&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(let R of[this.canvas.width,this.canvas.height])if(isNaN(R)||R<=0)return!0;return!1}}let ut={},Me=Ne=>{switch(Ne){case"geojson":return Ie;case"image":return it;case"raster":return Te;case"raster-dem":return Ue;case"vector":return xe;case"video":return at;case"canvas":return tt}return ut[Ne]},pe="RTLPluginLoaded";class ue extends t.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=X()}_syncState(R){return this.status=R,this.dispatcher.broadcast("SRPS",{pluginStatus:R,pluginURL:this.url}).catch(ne=>{throw this.status="error",ne})}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null}setRTLTextPlugin(R){return t._(this,arguments,void 0,function*(ne,be=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=i.resolveURL(ne),!this.url)throw new Error(`requested url ${ne} is invalid`);if(this.status==="unavailable"){if(!be)return this._requestImport();this.status="deferred",this._syncState(this.status)}else if(this.status==="requested")return this._requestImport()})}_requestImport(){return t._(this,void 0,void 0,function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new t.k(pe))})}lazyLoad(){this.status==="unavailable"?this.status="requested":this.status==="deferred"&&this._requestImport()}}let Oe=null;function rt(){return Oe||(Oe=new ue),Oe}class ot{constructor(R,ne){this.timeAdded=0,this.fadeEndTime=0,this.tileID=R,this.uid=t.a4(),this.uses=0,this.tileSize=ne,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttCoords={},this.expiredRequestCount=0,this.state="loading"}registerFadeDuration(R){let ne=R+this.timeAdded;neFe.getLayer(Jt)).filter(Boolean);if(zt.length!==0){wt.layers=zt,wt.stateDependentLayerIds&&(wt.stateDependentLayers=wt.stateDependentLayerIds.map(Jt=>zt.filter(hr=>hr.id===Jt)[0]));for(let Jt of zt)ht[Jt.id]=wt}}return ht}(R.buckets,ne.style),this.hasSymbolBuckets=!1;for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6){if(this.hasSymbolBuckets=!0,!be)break;Fe.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6&&Fe.hasRTLText){this.hasRTLText=!0,rt().lazyLoad();break}}this.queryPadding=0;for(let Ae in this.buckets){let Fe=this.buckets[Ae];this.queryPadding=Math.max(this.queryPadding,ne.style.getLayer(Ae).queryRadius(Fe))}R.imageAtlas&&(this.imageAtlas=R.imageAtlas),R.glyphAtlasImage&&(this.glyphAtlasImage=R.glyphAtlasImage)}else this.collisionBoxArray=new t.a5}unloadVectorData(){for(let R in this.buckets)this.buckets[R].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"}getBucket(R){return this.buckets[R.id]}upload(R){for(let be in this.buckets){let Ae=this.buckets[be];Ae.uploadPending()&&Ae.upload(R)}let ne=R.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new u(R,this.imageAtlas.image,ne.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new u(R,this.glyphAtlasImage,ne.ALPHA),this.glyphAtlasImage=null)}prepare(R){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(R,this.imageAtlasTexture)}queryRenderedFeatures(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:Ae,cameraQueryGeometry:Fe,scale:ht,tileSize:this.tileSize,pixelPosMatrix:hr,transform:zt,params:wt,queryPadding:this.queryPadding*Jt},R,ne,be):{}}querySourceFeatures(R,ne){let be=this.latestFeatureIndex;if(!be||!be.rawTileData)return;let Ae=be.loadVTLayers(),Fe=ne&&ne.sourceLayer?ne.sourceLayer:"",ht=Ae._geojsonTileLayer||Ae[Fe];if(!ht)return;let wt=t.a7(ne&&ne.filter),{z:zt,x:Jt,y:hr}=this.tileID.canonical,vr={z:zt,x:Jt,y:hr};for(let Hr=0;Hrbe)Ae=!1;else if(ne)if(this.expirationTime{this.remove(R,Fe)},be)),this.data[Ae].push(Fe),this.order.push(Ae),this.order.length>this.max){let ht=this._getAndRemoveByKey(this.order[0]);ht&&this.onRemove(ht)}return this}has(R){return R.wrapped().key in this.data}getAndRemove(R){return this.has(R)?this._getAndRemoveByKey(R.wrapped().key):null}_getAndRemoveByKey(R){let ne=this.data[R].shift();return ne.timeout&&clearTimeout(ne.timeout),this.data[R].length===0&&delete this.data[R],this.order.splice(this.order.indexOf(R),1),ne.value}getByKey(R){let ne=this.data[R];return ne?ne[0].value:null}get(R){return this.has(R)?this.data[R.wrapped().key][0].value:null}remove(R,ne){if(!this.has(R))return this;let be=R.wrapped().key,Ae=ne===void 0?0:this.data[be].indexOf(ne),Fe=this.data[be][Ae];return this.data[be].splice(Ae,1),Fe.timeout&&clearTimeout(Fe.timeout),this.data[be].length===0&&delete this.data[be],this.onRemove(Fe.value),this.order.splice(this.order.indexOf(be),1),this}setMaxSize(R){for(this.max=R;this.order.length>this.max;){let ne=this._getAndRemoveByKey(this.order[0]);ne&&this.onRemove(ne)}return this}filter(R){let ne=[];for(let be in this.data)for(let Ae of this.data[be])R(Ae.value)||ne.push(Ae);for(let be of ne)this.remove(be.value.tileID,be)}}class Lt{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(R,ne,be){let Ae=String(ne);if(this.stateChanges[R]=this.stateChanges[R]||{},this.stateChanges[R][Ae]=this.stateChanges[R][Ae]||{},t.e(this.stateChanges[R][Ae],be),this.deletedStates[R]===null){this.deletedStates[R]={};for(let Fe in this.state[R])Fe!==Ae&&(this.deletedStates[R][Fe]=null)}else if(this.deletedStates[R]&&this.deletedStates[R][Ae]===null){this.deletedStates[R][Ae]={};for(let Fe in this.state[R][Ae])be[Fe]||(this.deletedStates[R][Ae][Fe]=null)}else for(let Fe in be)this.deletedStates[R]&&this.deletedStates[R][Ae]&&this.deletedStates[R][Ae][Fe]===null&&delete this.deletedStates[R][Ae][Fe]}removeFeatureState(R,ne,be){if(this.deletedStates[R]===null)return;let Ae=String(ne);if(this.deletedStates[R]=this.deletedStates[R]||{},be&&ne!==void 0)this.deletedStates[R][Ae]!==null&&(this.deletedStates[R][Ae]=this.deletedStates[R][Ae]||{},this.deletedStates[R][Ae][be]=null);else if(ne!==void 0)if(this.stateChanges[R]&&this.stateChanges[R][Ae])for(be in this.deletedStates[R][Ae]={},this.stateChanges[R][Ae])this.deletedStates[R][Ae][be]=null;else this.deletedStates[R][Ae]=null;else this.deletedStates[R]=null}getState(R,ne){let be=String(ne),Ae=t.e({},(this.state[R]||{})[be],(this.stateChanges[R]||{})[be]);if(this.deletedStates[R]===null)return{};if(this.deletedStates[R]){let Fe=this.deletedStates[R][ne];if(Fe===null)return{};for(let ht in Fe)delete Ae[ht]}return Ae}initializeTileState(R,ne){R.setFeatureState(this.state,ne)}coalesceChanges(R,ne){let be={};for(let Ae in this.stateChanges){this.state[Ae]=this.state[Ae]||{};let Fe={};for(let ht in this.stateChanges[Ae])this.state[Ae][ht]||(this.state[Ae][ht]={}),t.e(this.state[Ae][ht],this.stateChanges[Ae][ht]),Fe[ht]=this.state[Ae][ht];be[Ae]=Fe}for(let Ae in this.deletedStates){this.state[Ae]=this.state[Ae]||{};let Fe={};if(this.deletedStates[Ae]===null)for(let ht in this.state[Ae])Fe[ht]={},this.state[Ae][ht]={};else for(let ht in this.deletedStates[Ae]){if(this.deletedStates[Ae][ht]===null)this.state[Ae][ht]={};else for(let wt of Object.keys(this.deletedStates[Ae][ht]))delete this.state[Ae][ht][wt];Fe[ht]=this.state[Ae][ht]}be[Ae]=be[Ae]||{},t.e(be[Ae],Fe)}if(this.stateChanges={},this.deletedStates={},Object.keys(be).length!==0)for(let Ae in R)R[Ae].setFeatureState(be,ne)}}class Et extends t.E{constructor(R,ne,be){super(),this.id=R,this.dispatcher=be,this.on("data",Ae=>this._dataHandler(Ae)),this.on("dataloading",()=>{this._sourceErrored=!1}),this.on("error",()=>{this._sourceErrored=this._source.loaded()}),this._source=((Ae,Fe,ht,wt)=>{let zt=new(Me(Fe.type))(Ae,Fe,ht,wt);if(zt.id!==Ae)throw new Error(`Expected Source id to be ${Ae} instead of ${zt.id}`);return zt})(R,ne,be,this),this._tiles={},this._cache=new et(0,Ae=>this._unloadTile(Ae)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new Lt,this._didEmitContent=!1,this._updated=!1}onAdd(R){this.map=R,this._maxTileCacheSize=R?R._maxTileCacheSize:null,this._maxTileCacheZoomLevels=R?R._maxTileCacheZoomLevels:null,this._source&&this._source.onAdd&&this._source.onAdd(R)}onRemove(R){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(R)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;if(!(this.used===void 0&&this.usedForTerrain===void 0||this.used||this.usedForTerrain))return!0;if(!this._updated)return!1;for(let R in this._tiles){let ne=this._tiles[R];if(ne.state!=="loaded"&&ne.state!=="errored")return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;let R=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,R&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(R,ne,be){return t._(this,void 0,void 0,function*(){try{yield this._source.loadTile(R),this._tileLoaded(R,ne,be)}catch(Ae){R.state="errored",Ae.status!==404?this._source.fire(new t.j(Ae,{tile:R})):this.update(this.transform,this.terrain)}})}_unloadTile(R){this._source.unloadTile&&this._source.unloadTile(R)}_abortTile(R){this._source.abortTile&&this._source.abortTile(R),this._source.fire(new t.k("dataabort",{tile:R,coord:R.tileID,dataType:"source"}))}serialize(){return this._source.serialize()}prepare(R){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(let ne in this._tiles){let be=this._tiles[ne];be.upload(R),be.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map(R=>R.tileID).sort(Bt).map(R=>R.key)}getRenderableIds(R){let ne=[];for(let be in this._tiles)this._isIdRenderable(be,R)&&ne.push(this._tiles[be]);return R?ne.sort((be,Ae)=>{let Fe=be.tileID,ht=Ae.tileID,wt=new t.P(Fe.canonical.x,Fe.canonical.y)._rotate(this.transform.angle),zt=new t.P(ht.canonical.x,ht.canonical.y)._rotate(this.transform.angle);return Fe.overscaledZ-ht.overscaledZ||zt.y-wt.y||zt.x-wt.x}).map(be=>be.tileID.key):ne.map(be=>be.tileID).sort(Bt).map(be=>be.key)}hasRenderableParent(R){let ne=this.findLoadedParent(R,0);return!!ne&&this._isIdRenderable(ne.tileID.key)}_isIdRenderable(R,ne){return this._tiles[R]&&this._tiles[R].hasData()&&!this._coveredTiles[R]&&(ne||!this._tiles[R].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(let R in this._tiles)this._tiles[R].state!=="errored"&&this._reloadTile(R,"reloading")}}_reloadTile(R,ne){return t._(this,void 0,void 0,function*(){let be=this._tiles[R];be&&(be.state!=="loading"&&(be.state=ne),yield this._loadTile(be,R,ne))})}_tileLoaded(R,ne,be){R.timeAdded=i.now(),be==="expired"&&(R.refreshedUponExpiration=!0),this._setTileReloadTimer(ne,R),this.getSource().type==="raster-dem"&&R.dem&&this._backfillDEM(R),this._state.initializeTileState(R,this.map?this.map.painter:null),R.aborted||this._source.fire(new t.k("data",{dataType:"source",tile:R,coord:R.tileID}))}_backfillDEM(R){let ne=this.getRenderableIds();for(let Ae=0;Ae1||(Math.abs(ht)>1&&(Math.abs(ht+zt)===1?ht+=zt:Math.abs(ht-zt)===1&&(ht-=zt)),Fe.dem&&Ae.dem&&(Ae.dem.backfillBorder(Fe.dem,ht,wt),Ae.neighboringTiles&&Ae.neighboringTiles[Jt]&&(Ae.neighboringTiles[Jt].backfilled=!0)))}}getTile(R){return this.getTileByID(R.key)}getTileByID(R){return this._tiles[R]}_retainLoadedChildren(R,ne,be,Ae){for(let Fe in this._tiles){let ht=this._tiles[Fe];if(Ae[Fe]||!ht.hasData()||ht.tileID.overscaledZ<=ne||ht.tileID.overscaledZ>be)continue;let wt=ht.tileID;for(;ht&&ht.tileID.overscaledZ>ne+1;){let Jt=ht.tileID.scaledTo(ht.tileID.overscaledZ-1);ht=this._tiles[Jt.key],ht&&ht.hasData()&&(wt=Jt)}let zt=wt;for(;zt.overscaledZ>ne;)if(zt=zt.scaledTo(zt.overscaledZ-1),R[zt.key]){Ae[wt.key]=wt;break}}}findLoadedParent(R,ne){if(R.key in this._loadedParentTiles){let be=this._loadedParentTiles[R.key];return be&&be.tileID.overscaledZ>=ne?be:null}for(let be=R.overscaledZ-1;be>=ne;be--){let Ae=R.scaledTo(be),Fe=this._getLoadedTile(Ae);if(Fe)return Fe}}findLoadedSibling(R){return this._getLoadedTile(R)}_getLoadedTile(R){let ne=this._tiles[R.key];return ne&&ne.hasData()?ne:this._cache.getByKey(R.wrapped().key)}updateCacheSize(R){let ne=Math.ceil(R.width/this._source.tileSize)+1,be=Math.ceil(R.height/this._source.tileSize)+1,Ae=Math.floor(ne*be*(this._maxTileCacheZoomLevels===null?t.a.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),Fe=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Ae):Ae;this._cache.setMaxSize(Fe)}handleWrapJump(R){let ne=Math.round((R-(this._prevLng===void 0?R:this._prevLng))/360);if(this._prevLng=R,ne){let be={};for(let Ae in this._tiles){let Fe=this._tiles[Ae];Fe.tileID=Fe.tileID.unwrapTo(Fe.tileID.wrap+ne),be[Fe.tileID.key]=Fe}this._tiles=be;for(let Ae in this._timers)clearTimeout(this._timers[Ae]),delete this._timers[Ae];for(let Ae in this._tiles)this._setTileReloadTimer(Ae,this._tiles[Ae])}}_updateCoveredAndRetainedTiles(R,ne,be,Ae,Fe,ht){let wt={},zt={},Jt=Object.keys(R),hr=i.now();for(let vr of Jt){let Hr=R[vr],ln=this._tiles[vr];if(!ln||ln.fadeEndTime!==0&&ln.fadeEndTime<=hr)continue;let Ge=this.findLoadedParent(Hr,ne),$e=this.findLoadedSibling(Hr),st=Ge||$e||null;st&&(this._addTile(st.tileID),wt[st.tileID.key]=st.tileID),zt[vr]=Hr}this._retainLoadedChildren(zt,Ae,be,R);for(let vr in wt)R[vr]||(this._coveredTiles[vr]=!0,R[vr]=wt[vr]);if(ht){let vr={},Hr={};for(let ln of Fe)this._tiles[ln.key].hasData()?vr[ln.key]=ln:Hr[ln.key]=ln;for(let ln in Hr){let Ge=Hr[ln].children(this._source.maxzoom);this._tiles[Ge[0].key]&&this._tiles[Ge[1].key]&&this._tiles[Ge[2].key]&&this._tiles[Ge[3].key]&&(vr[Ge[0].key]=R[Ge[0].key]=Ge[0],vr[Ge[1].key]=R[Ge[1].key]=Ge[1],vr[Ge[2].key]=R[Ge[2].key]=Ge[2],vr[Ge[3].key]=R[Ge[3].key]=Ge[3],delete Hr[ln])}for(let ln in Hr){let Ge=Hr[ln],$e=this.findLoadedParent(Ge,this._source.minzoom),st=this.findLoadedSibling(Ge),dt=$e||st||null;if(dt){vr[dt.tileID.key]=R[dt.tileID.key]=dt.tileID;for(let St in vr)vr[St].isChildOf(dt.tileID)&&delete vr[St]}}for(let ln in this._tiles)vr[ln]||(this._coveredTiles[ln]=!0)}}update(R,ne){if(!this._sourceLoaded||this._paused)return;let be;this.transform=R,this.terrain=ne,this.updateCacheSize(R),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?be=R.getVisibleUnwrappedCoordinates(this._source.tileID).map(hr=>new t.S(hr.canonical.z,hr.wrap,hr.canonical.z,hr.canonical.x,hr.canonical.y)):(be=R.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:ne}),this._source.hasTile&&(be=be.filter(hr=>this._source.hasTile(hr)))):be=[];let Ae=R.coveringZoomLevel(this._source),Fe=Math.max(Ae-Et.maxOverzooming,this._source.minzoom),ht=Math.max(Ae+Et.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){let hr={};for(let vr of be)if(vr.canonical.z>this._source.minzoom){let Hr=vr.scaledTo(vr.canonical.z-1);hr[Hr.key]=Hr;let ln=vr.scaledTo(Math.max(this._source.minzoom,Math.min(vr.canonical.z,5)));hr[ln.key]=ln}be=be.concat(Object.values(hr))}let wt=be.length===0&&!this._updated&&this._didEmitContent;this._updated=!0,wt&&this.fire(new t.k("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));let zt=this._updateRetainedTiles(be,Ae);qt(this._source.type)&&this._updateCoveredAndRetainedTiles(zt,Fe,ht,Ae,be,ne);for(let hr in zt)this._tiles[hr].clearFadeHold();let Jt=t.ab(this._tiles,zt);for(let hr of Jt){let vr=this._tiles[hr];vr.hasSymbolBuckets&&!vr.holdingForFade()?vr.setHoldDuration(this.map._fadeDuration):vr.hasSymbolBuckets&&!vr.symbolFadeFinished()||this._removeTile(hr)}this._updateLoadedParentTileCache(),this._updateLoadedSiblingTileCache()}releaseSymbolFadeTiles(){for(let R in this._tiles)this._tiles[R].holdingForFade()&&this._removeTile(R)}_updateRetainedTiles(R,ne){var be;let Ae={},Fe={},ht=Math.max(ne-Et.maxOverzooming,this._source.minzoom),wt=Math.max(ne+Et.maxUnderzooming,this._source.minzoom),zt={};for(let Jt of R){let hr=this._addTile(Jt);Ae[Jt.key]=Jt,hr.hasData()||nethis._source.maxzoom){let Hr=Jt.children(this._source.maxzoom)[0],ln=this.getTile(Hr);if(ln&&ln.hasData()){Ae[Hr.key]=Hr;continue}}else{let Hr=Jt.children(this._source.maxzoom);if(Ae[Hr[0].key]&&Ae[Hr[1].key]&&Ae[Hr[2].key]&&Ae[Hr[3].key])continue}let vr=hr.wasRequested();for(let Hr=Jt.overscaledZ-1;Hr>=ht;--Hr){let ln=Jt.scaledTo(Hr);if(Fe[ln.key])break;if(Fe[ln.key]=!0,hr=this.getTile(ln),!hr&&vr&&(hr=this._addTile(ln)),hr){let Ge=hr.hasData();if((Ge||!(!((be=this.map)===null||be===void 0)&&be.cancelPendingTileRequestsWhileZooming)||vr)&&(Ae[ln.key]=ln),vr=hr.wasRequested(),Ge)break}}}return Ae}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(let R in this._tiles){let ne=[],be,Ae=this._tiles[R].tileID;for(;Ae.overscaledZ>0;){if(Ae.key in this._loadedParentTiles){be=this._loadedParentTiles[Ae.key];break}ne.push(Ae.key);let Fe=Ae.scaledTo(Ae.overscaledZ-1);if(be=this._getLoadedTile(Fe),be)break;Ae=Fe}for(let Fe of ne)this._loadedParentTiles[Fe]=be}}_updateLoadedSiblingTileCache(){this._loadedSiblingTiles={};for(let R in this._tiles){let ne=this._tiles[R].tileID,be=this._getLoadedTile(ne);this._loadedSiblingTiles[ne.key]=be}}_addTile(R){let ne=this._tiles[R.key];if(ne)return ne;ne=this._cache.getAndRemove(R),ne&&(this._setTileReloadTimer(R.key,ne),ne.tileID=R,this._state.initializeTileState(ne,this.map?this.map.painter:null),this._cacheTimers[R.key]&&(clearTimeout(this._cacheTimers[R.key]),delete this._cacheTimers[R.key],this._setTileReloadTimer(R.key,ne)));let be=ne;return ne||(ne=new ot(R,this._source.tileSize*R.overscaleFactor()),this._loadTile(ne,R.key,ne.state)),ne.uses++,this._tiles[R.key]=ne,be||this._source.fire(new t.k("dataloading",{tile:ne,coord:ne.tileID,dataType:"source"})),ne}_setTileReloadTimer(R,ne){R in this._timers&&(clearTimeout(this._timers[R]),delete this._timers[R]);let be=ne.getExpiryTimeout();be&&(this._timers[R]=setTimeout(()=>{this._reloadTile(R,"expired"),delete this._timers[R]},be))}_removeTile(R){let ne=this._tiles[R];ne&&(ne.uses--,delete this._tiles[R],this._timers[R]&&(clearTimeout(this._timers[R]),delete this._timers[R]),ne.uses>0||(ne.hasData()&&ne.state!=="reloading"?this._cache.add(ne.tileID,ne,ne.getExpiryTimeout()):(ne.aborted=!0,this._abortTile(ne),this._unloadTile(ne))))}_dataHandler(R){let ne=R.sourceDataType;R.dataType==="source"&&ne==="metadata"&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&R.dataType==="source"&&ne==="content"&&(this.reload(),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0)}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(let R in this._tiles)this._removeTile(R);this._cache.reset()}tilesIn(R,ne,be){let Ae=[],Fe=this.transform;if(!Fe)return Ae;let ht=be?Fe.getCameraQueryGeometry(R):R,wt=R.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),zt=ht.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),Jt=this.getIds(),hr=1/0,vr=1/0,Hr=-1/0,ln=-1/0;for(let Ge of zt)hr=Math.min(hr,Ge.x),vr=Math.min(vr,Ge.y),Hr=Math.max(Hr,Ge.x),ln=Math.max(ln,Ge.y);for(let Ge=0;Ge=0&&xt[1].y+St>=0){let It=wt.map(sr=>st.getTilePoint(sr)),rr=zt.map(sr=>st.getTilePoint(sr));Ae.push({tile:$e,tileID:st,queryGeometry:It,cameraQueryGeometry:rr,scale:dt})}}return Ae}getVisibleCoordinates(R){let ne=this.getRenderableIds(R).map(be=>this._tiles[be].tileID);for(let be of ne)be.posMatrix=this.transform.calculatePosMatrix(be.toUnwrapped());return ne}hasTransition(){if(this._source.hasTransition())return!0;if(qt(this._source.type)){let R=i.now();for(let ne in this._tiles)if(this._tiles[ne].fadeEndTime>=R)return!0}return!1}setFeatureState(R,ne,be){this._state.updateState(R=R||"_geojsonTileLayer",ne,be)}removeFeatureState(R,ne,be){this._state.removeFeatureState(R=R||"_geojsonTileLayer",ne,be)}getFeatureState(R,ne){return this._state.getState(R=R||"_geojsonTileLayer",ne)}setDependencies(R,ne,be){let Ae=this._tiles[R];Ae&&Ae.setDependencies(ne,be)}reloadTilesForDependencies(R,ne){for(let be in this._tiles)this._tiles[be].hasDependency(R,ne)&&this._reloadTile(be,"reloading");this._cache.filter(be=>!be.hasDependency(R,ne))}}function Bt(Ne,R){let ne=Math.abs(2*Ne.wrap)-+(Ne.wrap<0),be=Math.abs(2*R.wrap)-+(R.wrap<0);return Ne.overscaledZ-R.overscaledZ||be-ne||R.canonical.y-Ne.canonical.y||R.canonical.x-Ne.canonical.x}function qt(Ne){return Ne==="raster"||Ne==="image"||Ne==="video"}Et.maxOverzooming=10,Et.maxUnderzooming=3;class fr{constructor(R,ne){this.reset(R,ne)}reset(R,ne){this.points=R||[],this._distances=[0];for(let be=1;be0?(Ae-ht)/wt:0;return this.points[Fe].mult(1-zt).add(this.points[ne].mult(zt))}}function ar(Ne,R){let ne=!0;return Ne==="always"||Ne!=="never"&&R!=="never"||(ne=!1),ne}class Rr{constructor(R,ne,be){let Ae=this.boxCells=[],Fe=this.circleCells=[];this.xCellCount=Math.ceil(R/be),this.yCellCount=Math.ceil(ne/be);for(let ht=0;htthis.width||Ae<0||ne>this.height)return[];let zt=[];if(R<=0&&ne<=0&&this.width<=be&&this.height<=Ae){if(Fe)return[{key:null,x1:R,y1:ne,x2:be,y2:Ae}];for(let Jt=0;Jt0}hitTestCircle(R,ne,be,Ae,Fe){let ht=R-be,wt=R+be,zt=ne-be,Jt=ne+be;if(wt<0||ht>this.width||Jt<0||zt>this.height)return!1;let hr=[];return this._forEachCell(ht,zt,wt,Jt,this._queryCellCircle,hr,{hitTest:!0,overlapMode:Ae,circle:{x:R,y:ne,radius:be},seenUids:{box:{},circle:{}}},Fe),hr.length>0}_queryCell(R,ne,be,Ae,Fe,ht,wt,zt){let{seenUids:Jt,hitTest:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!Jt.box[$e]){Jt.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(R<=Ge[st+2]&&ne<=Ge[st+3]&&be>=Ge[st+0]&&Ae>=Ge[st+1]&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))&&(ht.push({key:dt,x1:Ge[st],y1:Ge[st+1],x2:Ge[st+2],y2:Ge[st+3]}),hr))return!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!Jt.circle[$e]){Jt.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circleAndRectCollide(Ge[st],Ge[st+1],Ge[st+2],R,ne,be,Ae)&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))){let St=Ge[st],xt=Ge[st+1],It=Ge[st+2];if(ht.push({key:dt,x1:St-It,y1:xt-It,x2:St+It,y2:xt+It}),hr)return!0}}}return!1}_queryCellCircle(R,ne,be,Ae,Fe,ht,wt,zt){let{circle:Jt,seenUids:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!hr.box[$e]){hr.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(this._circleAndRectCollide(Jt.x,Jt.y,Jt.radius,Ge[st+0],Ge[st+1],Ge[st+2],Ge[st+3])&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!hr.circle[$e]){hr.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circlesCollide(Ge[st],Ge[st+1],Ge[st+2],Jt.x,Jt.y,Jt.radius)&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}}_forEachCell(R,ne,be,Ae,Fe,ht,wt,zt){let Jt=this._convertToXCellCoord(R),hr=this._convertToYCellCoord(ne),vr=this._convertToXCellCoord(be),Hr=this._convertToYCellCoord(Ae);for(let ln=Jt;ln<=vr;ln++)for(let Ge=hr;Ge<=Hr;Ge++)if(Fe.call(this,R,ne,be,Ae,this.xCellCount*Ge+ln,ht,wt,zt))return}_convertToXCellCoord(R){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(R*this.xScale)))}_convertToYCellCoord(R){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(R*this.yScale)))}_circlesCollide(R,ne,be,Ae,Fe,ht){let wt=Ae-R,zt=Fe-ne,Jt=be+ht;return Jt*Jt>wt*wt+zt*zt}_circleAndRectCollide(R,ne,be,Ae,Fe,ht,wt){let zt=(ht-Ae)/2,Jt=Math.abs(R-(Ae+zt));if(Jt>zt+be)return!1;let hr=(wt-Fe)/2,vr=Math.abs(ne-(Fe+hr));if(vr>hr+be)return!1;if(Jt<=zt||vr<=hr)return!0;let Hr=Jt-zt,ln=vr-hr;return Hr*Hr+ln*ln<=be*be}}function gr(Ne,R,ne,be,Ae){let Fe=t.H();return R?(t.K(Fe,Fe,[1/Ae,1/Ae,1]),ne||t.ad(Fe,Fe,be.angle)):t.L(Fe,be.labelPlaneMatrix,Ne),Fe}function br(Ne,R,ne,be,Ae){if(R){let Fe=t.ae(Ne);return t.K(Fe,Fe,[Ae,Ae,1]),ne||t.ad(Fe,Fe,-be.angle),Fe}return be.glCoordMatrix}function _t(Ne,R,ne,be){let Ae;be?(Ae=[Ne,R,be(Ne,R),1],t.af(Ae,Ae,ne)):(Ae=[Ne,R,0,1],$t(Ae,Ae,ne));let Fe=Ae[3];return{point:new t.P(Ae[0]/Fe,Ae[1]/Fe),signedDistanceFromCamera:Fe,isOccluded:!1}}function Be(Ne,R){return .5+Ne/R*.5}function Ke(Ne,R){return Ne.x>=-R[0]&&Ne.x<=R[0]&&Ne.y>=-R[1]&&Ne.y<=R[1]}function je(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge){let $e=be?Ne.textSizeData:Ne.iconSizeData,st=t.ag($e,ne.transform.zoom),dt=[256/ne.width*2+1,256/ne.height*2+1],St=be?Ne.text.dynamicLayoutVertexArray:Ne.icon.dynamicLayoutVertexArray;St.clear();let xt=Ne.lineVertexArray,It=be?Ne.text.placedSymbolArray:Ne.icon.placedSymbolArray,rr=ne.transform.width/ne.transform.height,sr=!1;for(let pr=0;prMath.abs(ne.x-R.x)*be?{useVertical:!0}:(Ne===t.ah.vertical?R.yne.x)?{needsFlipping:!0}:null}function Ee(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){let vr=ne/24,Hr=R.lineOffsetX*vr,ln=R.lineOffsetY*vr,Ge;if(R.numGlyphs>1){let $e=R.glyphStartIndex+R.numGlyphs,st=R.lineStartIndex,dt=R.lineStartIndex+R.lineLength,St=Se(vr,wt,Hr,ln,be,R,hr,Ne);if(!St)return{notEnoughRoom:!0};let xt=_t(St.first.point.x,St.first.point.y,ht,Ne.getElevation).point,It=_t(St.last.point.x,St.last.point.y,ht,Ne.getElevation).point;if(Ae&&!be){let rr=He(R.writingMode,xt,It,Jt);if(rr)return rr}Ge=[St.first];for(let rr=R.glyphStartIndex+1;rr<$e-1;rr++)Ge.push(Rt(vr*wt.getoffsetX(rr),Hr,ln,be,R.segment,st,dt,Ne,hr));Ge.push(St.last)}else{if(Ae&&!be){let st=_t(Ne.tileAnchorPoint.x,Ne.tileAnchorPoint.y,Fe,Ne.getElevation).point,dt=R.lineStartIndex+R.segment+1,St=new t.P(Ne.lineVertexArray.getx(dt),Ne.lineVertexArray.gety(dt)),xt=_t(St.x,St.y,Fe,Ne.getElevation),It=xt.signedDistanceFromCamera>0?xt.point:function(sr,pr,kr,Yr,_n,Mn){return we(sr,pr,kr,1,_n,Mn)}(Ne.tileAnchorPoint,St,st,0,Fe,Ne),rr=He(R.writingMode,st,It,Jt);if(rr)return rr}let $e=Rt(vr*wt.getoffsetX(R.glyphStartIndex),Hr,ln,be,R.segment,R.lineStartIndex,R.lineStartIndex+R.lineLength,Ne,hr);if(!$e||Ne.projectionCache.anyProjectionOccluded)return{notEnoughRoom:!0};Ge=[$e]}for(let $e of Ge)t.aj(zt,$e.point,$e.angle);return{}}function we(Ne,R,ne,be,Ae,Fe){let ht=Ne.add(Ne.sub(R)._unit()),wt=Ae!==void 0?_t(ht.x,ht.y,Ae,Fe.getElevation).point:nt(ht.x,ht.y,Fe).point,zt=ne.sub(wt);return ne.add(zt._mult(be/zt.mag()))}function Le(Ne,R,ne){let be=R.projectionCache;if(be.projections[Ne])return be.projections[Ne];let Ae=new t.P(R.lineVertexArray.getx(Ne),R.lineVertexArray.gety(Ne)),Fe=nt(Ae.x,Ae.y,R);if(Fe.signedDistanceFromCamera>0)return be.projections[Ne]=Fe.point,be.anyProjectionOccluded=be.anyProjectionOccluded||Fe.isOccluded,Fe.point;let ht=Ne-ne.direction;return function(wt,zt,Jt,hr,vr){return we(wt,zt,Jt,hr,void 0,vr)}(ne.distanceFromAnchor===0?R.tileAnchorPoint:new t.P(R.lineVertexArray.getx(ht),R.lineVertexArray.gety(ht)),Ae,ne.previousVertex,ne.absOffsetX-ne.distanceFromAnchor+1,R)}function nt(Ne,R,ne){let be=Ne+ne.translation[0],Ae=R+ne.translation[1],Fe;return!ne.pitchWithMap&&ne.projection.useSpecialProjectionForSymbols?(Fe=ne.projection.projectTileCoordinates(be,Ae,ne.unwrappedTileID,ne.getElevation),Fe.point.x=(.5*Fe.point.x+.5)*ne.width,Fe.point.y=(.5*-Fe.point.y+.5)*ne.height):(Fe=_t(be,Ae,ne.labelPlaneMatrix,ne.getElevation),Fe.isOccluded=!1),Fe}function pt(Ne,R,ne){return Ne._unit()._perp()._mult(R*ne)}function bt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){if(wt.projectionCache.offsets[Ne])return wt.projectionCache.offsets[Ne];let Jt=ne.add(R);if(Ne+zt.direction=Ae)return wt.projectionCache.offsets[Ne]=Jt,Jt;let hr=Le(Ne+zt.direction,wt,zt),vr=pt(hr.sub(ne),ht,zt.direction),Hr=ne.add(vr),ln=hr.add(vr);return wt.projectionCache.offsets[Ne]=t.ak(Fe,Jt,Hr,ln)||Jt,wt.projectionCache.offsets[Ne]}function Rt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){let Jt=be?Ne-R:Ne+R,hr=Jt>0?1:-1,vr=0;be&&(hr*=-1,vr=Math.PI),hr<0&&(vr+=Math.PI);let Hr,ln=hr>0?Fe+Ae:Fe+Ae+1;wt.projectionCache.cachedAnchorPoint?Hr=wt.projectionCache.cachedAnchorPoint:(Hr=nt(wt.tileAnchorPoint.x,wt.tileAnchorPoint.y,wt).point,wt.projectionCache.cachedAnchorPoint=Hr);let Ge,$e,st=Hr,dt=Hr,St=0,xt=0,It=Math.abs(Jt),rr=[],sr;for(;St+xt<=It;){if(ln+=hr,ln=ht)return null;St+=xt,dt=st,$e=Ge;let Yr={absOffsetX:It,direction:hr,distanceFromAnchor:St,previousVertex:dt};if(st=Le(ln,wt,Yr),ne===0)rr.push(dt),sr=st.sub(dt);else{let _n,Mn=st.sub(dt);_n=Mn.mag()===0?pt(Le(ln+hr,wt,Yr).sub(st),ne,hr):pt(Mn,ne,hr),$e||($e=dt.add(_n)),Ge=bt(ln,_n,st,Fe,ht,$e,ne,wt,Yr),rr.push($e),sr=Ge.sub($e)}xt=sr.mag()}let pr=sr._mult((It-St)/xt)._add($e||dt),kr=vr+Math.atan2(st.y-dt.y,st.x-dt.x);return rr.push(pr),{point:pr,angle:zt?kr:0,path:rr}}let Nt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Xt(Ne,R){for(let ne=0;ne=1;Va--)Zi.push(ki.path[Va]);for(let Va=1;VaIo.signedDistanceFromCamera<=0)?[]:Va.map(Io=>Io.point)}let ro=[];if(Zi.length>0){let Va=Zi[0].clone(),Io=Zi[0].clone();for(let vs=1;vs=Mn.x&&Io.x<=Un.x&&Va.y>=Mn.y&&Io.y<=Un.y?[Zi]:Io.xUn.x||Io.yUn.y?[]:t.al([Zi],Mn.x,Mn.y,Un.x,Un.y)}for(let Va of ro){li.reset(Va,.25*_n);let Io=0;Io=li.length<=.5*_n?1:Math.ceil(li.paddedLength/ya)+1;for(let vs=0;vs_t(Ae.x,Ae.y,be,ne.getElevation))}queryRenderedSymbols(R){if(R.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};let ne=[],be=1/0,Ae=1/0,Fe=-1/0,ht=-1/0;for(let hr of R){let vr=new t.P(hr.x+ur,hr.y+ur);be=Math.min(be,vr.x),Ae=Math.min(Ae,vr.y),Fe=Math.max(Fe,vr.x),ht=Math.max(ht,vr.y),ne.push(vr)}let wt=this.grid.query(be,Ae,Fe,ht).concat(this.ignoredGrid.query(be,Ae,Fe,ht)),zt={},Jt={};for(let hr of wt){let vr=hr.key;if(zt[vr.bucketInstanceId]===void 0&&(zt[vr.bucketInstanceId]={}),zt[vr.bucketInstanceId][vr.featureIndex])continue;let Hr=[new t.P(hr.x1,hr.y1),new t.P(hr.x2,hr.y1),new t.P(hr.x2,hr.y2),new t.P(hr.x1,hr.y2)];t.am(ne,Hr)&&(zt[vr.bucketInstanceId][vr.featureIndex]=!0,Jt[vr.bucketInstanceId]===void 0&&(Jt[vr.bucketInstanceId]=[]),Jt[vr.bucketInstanceId].push(vr.featureIndex))}return Jt}insertCollisionBox(R,ne,be,Ae,Fe,ht){(be?this.ignoredGrid:this.grid).insert({bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne},R[0],R[1],R[2],R[3])}insertCollisionCircles(R,ne,be,Ae,Fe,ht){let wt=be?this.ignoredGrid:this.grid,zt={bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne};for(let Jt=0;Jt=this.screenRightBoundary||Aethis.screenBottomBoundary}isInsideGrid(R,ne,be,Ae){return be>=0&&R=0&&nethis.projectAndGetPerspectiveRatio(be,_n.x,_n.y,Ae,Jt));kr=Yr.some(_n=>!_n.isOccluded),pr=Yr.map(_n=>_n.point)}else kr=!0;return{box:t.ao(pr),allPointsOccluded:!kr}}}function Rn(Ne,R,ne){return R*(t.X/(Ne.tileSize*Math.pow(2,ne-Ne.tileID.overscaledZ)))}class Nn{constructor(R,ne,be,Ae){this.opacity=R?Math.max(0,Math.min(1,R.opacity+(R.placed?ne:-ne))):Ae&&be?1:0,this.placed=be}isHidden(){return this.opacity===0&&!this.placed}}class On{constructor(R,ne,be,Ae,Fe){this.text=new Nn(R?R.text:null,ne,be,Fe),this.icon=new Nn(R?R.icon:null,ne,Ae,Fe)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class ni{constructor(R,ne,be){this.text=R,this.icon=ne,this.skipFade=be}}class zn{constructor(){this.invProjMatrix=t.H(),this.viewportMatrix=t.H(),this.circles=[]}}class Qn{constructor(R,ne,be,Ae,Fe){this.bucketInstanceId=R,this.featureIndex=ne,this.sourceLayerIndex=be,this.bucketIndex=Ae,this.tileID=Fe}}class gi{constructor(R){this.crossSourceCollisions=R,this.maxGroupID=0,this.collisionGroups={}}get(R){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[R]){let ne=++this.maxGroupID;this.collisionGroups[R]={ID:ne,predicate:be=>be.collisionGroupID===ne}}return this.collisionGroups[R]}}function Zt(Ne,R,ne,be,Ae){let{horizontalAlign:Fe,verticalAlign:ht}=t.au(Ne);return new t.P(-(Fe-.5)*R+be[0]*Ae,-(ht-.5)*ne+be[1]*Ae)}class Ft{constructor(R,ne,be,Ae,Fe,ht){this.transform=R.clone(),this.terrain=be,this.collisionIndex=new pn(this.transform,ne),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=Ae,this.retainedQueryData={},this.collisionGroups=new gi(Fe),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=ht,ht&&(ht.prevPlacement=void 0),this.placedOrientations={}}_getTerrainElevationFunc(R){let ne=this.terrain;return ne?(be,Ae)=>ne.getElevation(R,be,Ae):null}getBucketParts(R,ne,be,Ae){let Fe=be.getBucket(ne),ht=be.latestFeatureIndex;if(!Fe||!ht||ne.id!==Fe.layerIds[0])return;let wt=be.collisionBoxArray,zt=Fe.layers[0].layout,Jt=Fe.layers[0].paint,hr=Math.pow(2,this.transform.zoom-be.tileID.overscaledZ),vr=be.tileSize/t.X,Hr=be.tileID.toUnwrapped(),ln=this.transform.calculatePosMatrix(Hr),Ge=zt.get("text-pitch-alignment")==="map",$e=zt.get("text-rotation-alignment")==="map",st=Rn(be,1,this.transform.zoom),dt=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get("text-translate"),Jt.get("text-translate-anchor")),St=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get("icon-translate"),Jt.get("icon-translate-anchor")),xt=gr(ln,Ge,$e,this.transform,st),It=null;if(Ge){let sr=br(ln,Ge,$e,this.transform,st);It=t.L([],this.transform.labelPlaneMatrix,sr)}this.retainedQueryData[Fe.bucketInstanceId]=new Qn(Fe.bucketInstanceId,ht,Fe.sourceLayerIndex,Fe.index,be.tileID);let rr={bucket:Fe,layout:zt,translationText:dt,translationIcon:St,posMatrix:ln,unwrappedTileID:Hr,textLabelPlaneMatrix:xt,labelToScreenMatrix:It,scale:hr,textPixelRatio:vr,holdingForFade:be.holdingForFade(),collisionBoxArray:wt,partiallyEvaluatedTextSize:t.ag(Fe.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(Fe.sourceID)};if(Ae)for(let sr of Fe.sortKeyRanges){let{sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr}=sr;R.push({sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr,parameters:rr})}else R.push({symbolInstanceStart:0,symbolInstanceEnd:Fe.symbolInstances.length,parameters:rr})}attemptAnchorPlacement(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St,xt){let It=t.aq[R.textAnchor],rr=[R.textOffset0,R.textOffset1],sr=Zt(It,be,Ae,rr,Fe),pr=this.collisionIndex.placeCollisionBox(ne,Hr,zt,Jt,hr,wt,ht,st,vr.predicate,xt,sr);if((!St||this.collisionIndex.placeCollisionBox(St,Hr,zt,Jt,hr,wt,ht,dt,vr.predicate,xt,sr).placeable)&&pr.placeable){let kr;if(this.prevPlacement&&this.prevPlacement.variableOffsets[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID].text&&(kr=this.prevPlacement.variableOffsets[ln.crossTileID].anchor),ln.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[ln.crossTileID]={textOffset:rr,width:be,height:Ae,anchor:It,textBoxScale:Fe,prevAnchor:kr},this.markUsedJustification(Ge,It,ln,$e),Ge.allowVerticalPlacement&&(this.markUsedOrientation(Ge,$e,ln),this.placedOrientations[ln.crossTileID]=$e),{shift:sr,placedGlyphBoxes:pr}}}placeLayerBucketPart(R,ne,be){let{bucket:Ae,layout:Fe,translationText:ht,translationIcon:wt,posMatrix:zt,unwrappedTileID:Jt,textLabelPlaneMatrix:hr,labelToScreenMatrix:vr,textPixelRatio:Hr,holdingForFade:ln,collisionBoxArray:Ge,partiallyEvaluatedTextSize:$e,collisionGroup:st}=R.parameters,dt=Fe.get("text-optional"),St=Fe.get("icon-optional"),xt=t.ar(Fe,"text-overlap","text-allow-overlap"),It=xt==="always",rr=t.ar(Fe,"icon-overlap","icon-allow-overlap"),sr=rr==="always",pr=Fe.get("text-rotation-alignment")==="map",kr=Fe.get("text-pitch-alignment")==="map",Yr=Fe.get("icon-text-fit")!=="none",_n=Fe.get("symbol-z-order")==="viewport-y",Mn=It&&(sr||!Ae.hasIconData()||St),Un=sr&&(It||!Ae.hasTextData()||dt);!Ae.collisionArrays&&Ge&&Ae.deserializeCollisionBoxes(Ge);let li=this._getTerrainElevationFunc(this.retainedQueryData[Ae.bucketInstanceId].tileID),ki=(Ci,Zi,ya)=>{var ro,Va;if(ne[Ci.crossTileID])return;if(ln)return void(this.placements[Ci.crossTileID]=new ni(!1,!1,!1));let Io=!1,vs=!1,Fo=!0,ts=null,bs={box:null,placeable:!1,offscreen:null},fl={box:null,placeable:!1,offscreen:null},al=null,os=null,is=null,Nl=0,eu=0,Xu=0;Zi.textFeatureIndex?Nl=Zi.textFeatureIndex:Ci.useRuntimeCollisionCircles&&(Nl=Ci.featureIndex),Zi.verticalTextFeatureIndex&&(eu=Zi.verticalTextFeatureIndex);let mu=Zi.textBox;if(mu){let Zl=Qe=>{let vt=t.ah.horizontal;if(Ae.allowVerticalPlacement&&!Qe&&this.prevPlacement){let mt=this.prevPlacement.placedOrientations[Ci.crossTileID];mt&&(this.placedOrientations[Ci.crossTileID]=mt,vt=mt,this.markUsedOrientation(Ae,vt,Ci))}return vt},Yl=(Qe,vt)=>{if(Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&Zi.verticalTextBox){for(let mt of Ae.writingModes)if(mt===t.ah.vertical?(bs=vt(),fl=bs):bs=Qe(),bs&&bs.placeable)break}else bs=Qe()},de=Ci.textAnchorOffsetStartIndex,Re=Ci.textAnchorOffsetEndIndex;if(Re===de){let Qe=(vt,mt)=>{let Tt=this.collisionIndex.placeCollisionBox(vt,xt,Hr,zt,Jt,kr,pr,ht,st.predicate,li);return Tt&&Tt.placeable&&(this.markUsedOrientation(Ae,mt,Ci),this.placedOrientations[Ci.crossTileID]=mt),Tt};Yl(()=>Qe(mu,t.ah.horizontal),()=>{let vt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&vt?Qe(vt,t.ah.vertical):{box:null,offscreen:null}}),Zl(bs&&bs.placeable)}else{let Qe=t.aq[(Va=(ro=this.prevPlacement)===null||ro===void 0?void 0:ro.variableOffsets[Ci.crossTileID])===null||Va===void 0?void 0:Va.anchor],vt=(Tt,Qt,Dt)=>{let lr=Tt.x2-Tt.x1,Br=Tt.y2-Tt.y1,jr=Ci.textBoxScale,Tn=Yr&&rr==="never"?Qt:null,yn=null,ti=xt==="never"?1:2,ai="never";Qe&&ti++;for(let En=0;Envt(mu,Zi.iconBox,t.ah.horizontal),()=>{let Tt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&(!bs||!bs.placeable)&&Ci.numVerticalGlyphVertices>0&&Tt?vt(Tt,Zi.verticalIconBox,t.ah.vertical):{box:null,occluded:!0,offscreen:null}}),bs&&(Io=bs.placeable,Fo=bs.offscreen);let mt=Zl(bs&&bs.placeable);if(!Io&&this.prevPlacement){let Tt=this.prevPlacement.variableOffsets[Ci.crossTileID];Tt&&(this.variableOffsets[Ci.crossTileID]=Tt,this.markUsedJustification(Ae,Tt.anchor,Ci,mt))}}}if(al=bs,Io=al&&al.placeable,Fo=al&&al.offscreen,Ci.useRuntimeCollisionCircles){let Zl=Ae.text.placedSymbolArray.get(Ci.centerJustifiedTextSymbolIndex),Yl=t.ai(Ae.textSizeData,$e,Zl),de=Fe.get("text-padding");os=this.collisionIndex.placeCollisionCircles(xt,Zl,Ae.lineVertexArray,Ae.glyphOffsetArray,Yl,zt,Jt,hr,vr,be,kr,st.predicate,Ci.collisionCircleDiameter,de,ht,li),os.circles.length&&os.collisionDetected&&!be&&t.w("Collisions detected, but collision boxes are not shown"),Io=It||os.circles.length>0&&!os.collisionDetected,Fo=Fo&&os.offscreen}if(Zi.iconFeatureIndex&&(Xu=Zi.iconFeatureIndex),Zi.iconBox){let Zl=Yl=>this.collisionIndex.placeCollisionBox(Yl,rr,Hr,zt,Jt,kr,pr,wt,st.predicate,li,Yr&&ts?ts:void 0);fl&&fl.placeable&&Zi.verticalIconBox?(is=Zl(Zi.verticalIconBox),vs=is.placeable):(is=Zl(Zi.iconBox),vs=is.placeable),Fo=Fo&&is.offscreen}let El=dt||Ci.numHorizontalGlyphVertices===0&&Ci.numVerticalGlyphVertices===0,fu=St||Ci.numIconVertices===0;El||fu?fu?El||(vs=vs&&Io):Io=vs&&Io:vs=Io=vs&&Io;let Tc=vs&&is.placeable;if(Io&&al.placeable&&this.collisionIndex.insertCollisionBox(al.box,xt,Fe.get("text-ignore-placement"),Ae.bucketInstanceId,fl&&fl.placeable&&eu?eu:Nl,st.ID),Tc&&this.collisionIndex.insertCollisionBox(is.box,rr,Fe.get("icon-ignore-placement"),Ae.bucketInstanceId,Xu,st.ID),os&&Io&&this.collisionIndex.insertCollisionCircles(os.circles,xt,Fe.get("text-ignore-placement"),Ae.bucketInstanceId,Nl,st.ID),be&&this.storeCollisionData(Ae.bucketInstanceId,ya,Zi,al,is,os),Ci.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");if(Ae.bucketInstanceId===0)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[Ci.crossTileID]=new ni(Io||Mn,vs||Un,Fo||Ae.justReloaded),ne[Ci.crossTileID]=!0};if(_n){if(R.symbolInstanceStart!==0)throw new Error("bucket.bucketInstanceId should be 0");let Ci=Ae.getSortedSymbolIndexes(this.transform.angle);for(let Zi=Ci.length-1;Zi>=0;--Zi){let ya=Ci[Zi];ki(Ae.symbolInstances.get(ya),Ae.collisionArrays[ya],ya)}}else for(let Ci=R.symbolInstanceStart;Ci=0&&(R.text.placedSymbolArray.get(wt).crossTileID=Fe>=0&&wt!==Fe?0:be.crossTileID)}markUsedOrientation(R,ne,be){let Ae=ne===t.ah.horizontal||ne===t.ah.horizontalOnly?ne:0,Fe=ne===t.ah.vertical?ne:0,ht=[be.leftJustifiedTextSymbolIndex,be.centerJustifiedTextSymbolIndex,be.rightJustifiedTextSymbolIndex];for(let wt of ht)R.text.placedSymbolArray.get(wt).placedOrientation=Ae;be.verticalPlacedTextSymbolIndex&&(R.text.placedSymbolArray.get(be.verticalPlacedTextSymbolIndex).placedOrientation=Fe)}commit(R){this.commitTime=R,this.zoomAtLastRecencyCheck=this.transform.zoom;let ne=this.prevPlacement,be=!1;this.prevZoomAdjustment=ne?ne.zoomAdjustment(this.transform.zoom):0;let Ae=ne?ne.symbolFadeChange(R):1,Fe=ne?ne.opacities:{},ht=ne?ne.variableOffsets:{},wt=ne?ne.placedOrientations:{};for(let zt in this.placements){let Jt=this.placements[zt],hr=Fe[zt];hr?(this.opacities[zt]=new On(hr,Ae,Jt.text,Jt.icon),be=be||Jt.text!==hr.text.placed||Jt.icon!==hr.icon.placed):(this.opacities[zt]=new On(null,Ae,Jt.text,Jt.icon,Jt.skipFade),be=be||Jt.text||Jt.icon)}for(let zt in Fe){let Jt=Fe[zt];if(!this.opacities[zt]){let hr=new On(Jt,Ae,!1,!1);hr.isHidden()||(this.opacities[zt]=hr,be=be||Jt.text.placed||Jt.icon.placed)}}for(let zt in ht)this.variableOffsets[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.variableOffsets[zt]=ht[zt]);for(let zt in wt)this.placedOrientations[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.placedOrientations[zt]=wt[zt]);if(ne&&ne.lastPlacementChangeTime===void 0)throw new Error("Last placement time for previous placement is not defined");be?this.lastPlacementChangeTime=R:typeof this.lastPlacementChangeTime!="number"&&(this.lastPlacementChangeTime=ne?ne.lastPlacementChangeTime:R)}updateLayerOpacities(R,ne){let be={};for(let Ae of ne){let Fe=Ae.getBucket(R);Fe&&Ae.latestFeatureIndex&&R.id===Fe.layerIds[0]&&this.updateBucketOpacities(Fe,Ae.tileID,be,Ae.collisionBoxArray)}}updateBucketOpacities(R,ne,be,Ae){R.hasTextData()&&(R.text.opacityVertexArray.clear(),R.text.hasVisibleVertices=!1),R.hasIconData()&&(R.icon.opacityVertexArray.clear(),R.icon.hasVisibleVertices=!1),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexArray.clear(),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexArray.clear();let Fe=R.layers[0],ht=Fe.layout,wt=new On(null,0,!1,!1,!0),zt=ht.get("text-allow-overlap"),Jt=ht.get("icon-allow-overlap"),hr=Fe._unevaluatedLayout.hasValue("text-variable-anchor")||Fe._unevaluatedLayout.hasValue("text-variable-anchor-offset"),vr=ht.get("text-rotation-alignment")==="map",Hr=ht.get("text-pitch-alignment")==="map",ln=ht.get("icon-text-fit")!=="none",Ge=new On(null,0,zt&&(Jt||!R.hasIconData()||ht.get("icon-optional")),Jt&&(zt||!R.hasTextData()||ht.get("text-optional")),!0);!R.collisionArrays&&Ae&&(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData())&&R.deserializeCollisionBoxes(Ae);let $e=(dt,St,xt)=>{for(let It=0;It0,kr=this.placedOrientations[St.crossTileID],Yr=kr===t.ah.vertical,_n=kr===t.ah.horizontal||kr===t.ah.horizontalOnly;if(xt>0||It>0){let Un=ri(sr.text);$e(R.text,xt,Yr?Sn:Un),$e(R.text,It,_n?Sn:Un);let li=sr.text.isHidden();[St.rightJustifiedTextSymbolIndex,St.centerJustifiedTextSymbolIndex,St.leftJustifiedTextSymbolIndex].forEach(Zi=>{Zi>=0&&(R.text.placedSymbolArray.get(Zi).hidden=li||Yr?1:0)}),St.verticalPlacedTextSymbolIndex>=0&&(R.text.placedSymbolArray.get(St.verticalPlacedTextSymbolIndex).hidden=li||_n?1:0);let ki=this.variableOffsets[St.crossTileID];ki&&this.markUsedJustification(R,ki.anchor,St,kr);let Ci=this.placedOrientations[St.crossTileID];Ci&&(this.markUsedJustification(R,"left",St,Ci),this.markUsedOrientation(R,Ci,St))}if(pr){let Un=ri(sr.icon),li=!(ln&&St.verticalPlacedIconSymbolIndex&&Yr);St.placedIconSymbolIndex>=0&&($e(R.icon,St.numIconVertices,li?Un:Sn),R.icon.placedSymbolArray.get(St.placedIconSymbolIndex).hidden=sr.icon.isHidden()),St.verticalPlacedIconSymbolIndex>=0&&($e(R.icon,St.numVerticalIconVertices,li?Sn:Un),R.icon.placedSymbolArray.get(St.verticalPlacedIconSymbolIndex).hidden=sr.icon.isHidden())}let Mn=st&&st.has(dt)?st.get(dt):{text:null,icon:null};if(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData()){let Un=R.collisionArrays[dt];if(Un){let li=new t.P(0,0);if(Un.textBox||Un.verticalTextBox){let ki=!0;if(hr){let Ci=this.variableOffsets[rr];Ci?(li=Zt(Ci.anchor,Ci.width,Ci.height,Ci.textOffset,Ci.textBoxScale),vr&&li._rotate(Hr?this.transform.angle:-this.transform.angle)):ki=!1}if(Un.textBox||Un.verticalTextBox){let Ci;Un.textBox&&(Ci=Yr),Un.verticalTextBox&&(Ci=_n),Ht(R.textCollisionBox.collisionVertexArray,sr.text.placed,!ki||Ci,Mn.text,li.x,li.y)}}if(Un.iconBox||Un.verticalIconBox){let ki=!!(!_n&&Un.verticalIconBox),Ci;Un.iconBox&&(Ci=ki),Un.verticalIconBox&&(Ci=!ki),Ht(R.iconCollisionBox.collisionVertexArray,sr.icon.placed,Ci,Mn.icon,ln?li.x:0,ln?li.y:0)}}}}if(R.sortFeatures(this.transform.angle),this.retainedQueryData[R.bucketInstanceId]&&(this.retainedQueryData[R.bucketInstanceId].featureSortOrder=R.featureSortOrder),R.hasTextData()&&R.text.opacityVertexBuffer&&R.text.opacityVertexBuffer.updateData(R.text.opacityVertexArray),R.hasIconData()&&R.icon.opacityVertexBuffer&&R.icon.opacityVertexBuffer.updateData(R.icon.opacityVertexArray),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexBuffer&&R.iconCollisionBox.collisionVertexBuffer.updateData(R.iconCollisionBox.collisionVertexArray),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexBuffer&&R.textCollisionBox.collisionVertexBuffer.updateData(R.textCollisionBox.collisionVertexArray),R.text.opacityVertexArray.length!==R.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${R.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${R.text.layoutVertexArray.length}) / 4`);if(R.icon.opacityVertexArray.length!==R.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${R.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${R.icon.layoutVertexArray.length}) / 4`);if(R.bucketInstanceId in this.collisionCircleArrays){let dt=this.collisionCircleArrays[R.bucketInstanceId];R.placementInvProjMatrix=dt.invProjMatrix,R.placementViewportMatrix=dt.viewportMatrix,R.collisionCircleArray=dt.circles,delete this.collisionCircleArrays[R.bucketInstanceId]}}symbolFadeChange(R){return this.fadeDuration===0?1:(R-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(R){return Math.max(0,(this.transform.zoom-R)/1.5)}hasTransitions(R){return this.stale||R-this.lastPlacementChangeTimeR}setStale(){this.stale=!0}}function Ht(Ne,R,ne,be,Ae,Fe){be&&be.length!==0||(be=[0,0,0,0]);let ht=be[0]-ur,wt=be[1]-ur,zt=be[2]-ur,Jt=be[3]-ur;Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,Jt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,Jt)}let Vt=Math.pow(2,25),wr=Math.pow(2,24),$r=Math.pow(2,17),xn=Math.pow(2,16),en=Math.pow(2,9),Fn=Math.pow(2,8),Wn=Math.pow(2,1);function ri(Ne){if(Ne.opacity===0&&!Ne.placed)return 0;if(Ne.opacity===1&&Ne.placed)return 4294967295;let R=Ne.placed?1:0,ne=Math.floor(127*Ne.opacity);return ne*Vt+R*wr+ne*$r+R*xn+ne*en+R*Fn+ne*Wn+R}let Sn=0;function ui(){return{isOccluded:(Ne,R,ne)=>!1,getPitchedTextCorrection:(Ne,R,ne)=>1,get useSpecialProjectionForSymbols(){return!1},projectTileCoordinates(Ne,R,ne,be){throw new Error("Not implemented.")},translatePosition:(Ne,R,ne,be)=>function(Ae,Fe,ht,wt,zt=!1){if(!ht[0]&&!ht[1])return[0,0];let Jt=zt?wt==="map"?Ae.angle:0:wt==="viewport"?-Ae.angle:0;if(Jt){let hr=Math.sin(Jt),vr=Math.cos(Jt);ht=[ht[0]*vr-ht[1]*hr,ht[0]*hr+ht[1]*vr]}return[zt?ht[0]:Rn(Fe,ht[0],Ae.zoom),zt?ht[1]:Rn(Fe,ht[1],Ae.zoom)]}(Ne,R,ne,be),getCircleRadiusCorrection:Ne=>1}}class gt{constructor(R){this._sortAcrossTiles=R.layout.get("symbol-z-order")!=="viewport-y"&&!R.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(R,ne,be,Ae,Fe){let ht=this._bucketParts;for(;this._currentTileIndexwt.sortKey-zt.sortKey));this._currentPartIndex!this._forceFullPlacement&&i.now()-Ae>2;for(;this._currentPlacementIndex>=0;){let ht=ne[R[this._currentPlacementIndex]],wt=this.placement.collisionIndex.transform.zoom;if(ht.type==="symbol"&&(!ht.minzoom||ht.minzoom<=wt)&&(!ht.maxzoom||ht.maxzoom>wt)){if(this._inProgressLayer||(this._inProgressLayer=new gt(ht)),this._inProgressLayer.continuePlacement(be[ht.source],this.placement,this._showCollisionBoxes,ht,Fe))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(R){return this.placement.commit(R),this.placement}}let Pr=512/t.X/2;class Ir{constructor(R,ne,be){this.tileID=R,this.bucketInstanceId=be,this._symbolsByKey={};let Ae=new Map;for(let Fe=0;Fe({x:Math.floor(zt.anchorX*Pr),y:Math.floor(zt.anchorY*Pr)})),crossTileIDs:ht.map(zt=>zt.crossTileID)};if(wt.positions.length>128){let zt=new t.av(wt.positions.length,16,Uint16Array);for(let{x:Jt,y:hr}of wt.positions)zt.add(Jt,hr);zt.finish(),delete wt.positions,wt.index=zt}this._symbolsByKey[Fe]=wt}}getScaledCoordinates(R,ne){let{x:be,y:Ae,z:Fe}=this.tileID.canonical,{x:ht,y:wt,z:zt}=ne.canonical,Jt=Pr/Math.pow(2,zt-Fe),hr=(wt*t.X+R.anchorY)*Jt,vr=Ae*t.X*Pr;return{x:Math.floor((ht*t.X+R.anchorX)*Jt-be*t.X*Pr),y:Math.floor(hr-vr)}}findMatches(R,ne,be){let Ae=this.tileID.canonical.zR)}}class Tr{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class Mr{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(R){let ne=Math.round((R-this.lng)/360);if(ne!==0)for(let be in this.indexes){let Ae=this.indexes[be],Fe={};for(let ht in Ae){let wt=Ae[ht];wt.tileID=wt.tileID.unwrapTo(wt.tileID.wrap+ne),Fe[wt.tileID.key]=wt}this.indexes[be]=Fe}this.lng=R}addBucket(R,ne,be){if(this.indexes[R.overscaledZ]&&this.indexes[R.overscaledZ][R.key]){if(this.indexes[R.overscaledZ][R.key].bucketInstanceId===ne.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(R.overscaledZ,this.indexes[R.overscaledZ][R.key])}for(let Fe=0;FeR.overscaledZ)for(let wt in ht){let zt=ht[wt];zt.tileID.isChildOf(R)&&zt.findMatches(ne.symbolInstances,R,Ae)}else{let wt=ht[R.scaledTo(Number(Fe)).key];wt&&wt.findMatches(ne.symbolInstances,R,Ae)}}for(let Fe=0;Fe{ne[be]=!0});for(let be in this.layerIndexes)ne[be]||delete this.layerIndexes[be]}}let Ur=(Ne,R)=>t.t(Ne,R&&R.filter(ne=>ne.identifier!=="source.canvas")),Dr=t.aw();class nn extends t.E{constructor(R,ne={}){super(),this._rtlPluginLoaded=()=>{for(let be in this.sourceCaches){let Ae=this.sourceCaches[be].getSource().type;Ae!=="vector"&&Ae!=="geojson"||this.sourceCaches[be].reload()}},this.map=R,this.dispatcher=new J($(),R._getMapId()),this.dispatcher.registerMessageHandler("GG",(be,Ae)=>this.getGlyphs(be,Ae)),this.dispatcher.registerMessageHandler("GI",(be,Ae)=>this.getImages(be,Ae)),this.imageManager=new f,this.imageManager.setEventedParent(this),this.glyphManager=new F(R._requestManager,ne.localIdeographFontFamily),this.lineAtlas=new W(256,512),this.crossTileSymbolIndex=new Lr,this._spritesImagesIds={},this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ax,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("SR",t.ay()),rt().on(pe,this._rtlPluginLoaded),this.on("data",be=>{if(be.dataType!=="source"||be.sourceDataType!=="metadata")return;let Ae=this.sourceCaches[be.sourceId];if(!Ae)return;let Fe=Ae.getSource();if(Fe&&Fe.vectorLayerIds)for(let ht in this._layers){let wt=this._layers[ht];wt.source===Fe.id&&this._validateLayer(wt)}})}loadURL(R,ne={},be){this.fire(new t.k("dataloading",{dataType:"style"})),ne.validate=typeof ne.validate!="boolean"||ne.validate;let Ae=this.map._requestManager.transformRequest(R,"Style");this._loadStyleRequest=new AbortController;let Fe=this._loadStyleRequest;t.h(Ae,this._loadStyleRequest).then(ht=>{this._loadStyleRequest=null,this._load(ht.data,ne,be)}).catch(ht=>{this._loadStyleRequest=null,ht&&!Fe.signal.aborted&&this.fire(new t.j(ht))})}loadJSON(R,ne={},be){this.fire(new t.k("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(()=>{this._frameRequest=null,ne.validate=ne.validate!==!1,this._load(R,ne,be)}).catch(()=>{})}loadEmpty(){this.fire(new t.k("dataloading",{dataType:"style"})),this._load(Dr,{validate:!1})}_load(R,ne,be){var Ae;let Fe=ne.transformStyle?ne.transformStyle(be,R):R;if(!ne.validate||!Ur(this,t.u(Fe))){this._loaded=!0,this.stylesheet=Fe;for(let ht in Fe.sources)this.addSource(ht,Fe.sources[ht],{validate:!1});Fe.sprite?this._loadSprite(Fe.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(Fe.glyphs),this._createLayers(),this.light=new I(this.stylesheet.light),this.sky=new U(this.stylesheet.sky),this.map.setTerrain((Ae=this.stylesheet.terrain)!==null&&Ae!==void 0?Ae:null),this.fire(new t.k("data",{dataType:"style"})),this.fire(new t.k("style.load"))}}_createLayers(){let R=t.az(this.stylesheet.layers);this.dispatcher.broadcast("SL",R),this._order=R.map(ne=>ne.id),this._layers={},this._serializedLayers=null;for(let ne of R){let be=t.aA(ne);be.setEventedParent(this,{layer:{id:ne.id}}),this._layers[ne.id]=be}}_loadSprite(R,ne=!1,be=void 0){let Ae;this.imageManager.setLoaded(!1),this._spriteRequest=new AbortController,function(Fe,ht,wt,zt){return t._(this,void 0,void 0,function*(){let Jt=b(Fe),hr=wt>1?"@2x":"",vr={},Hr={};for(let{id:ln,url:Ge}of Jt){let $e=ht.transformRequest(v(Ge,hr,".json"),"SpriteJSON");vr[ln]=t.h($e,zt);let st=ht.transformRequest(v(Ge,hr,".png"),"SpriteImage");Hr[ln]=l.getImage(st,zt)}return yield Promise.all([...Object.values(vr),...Object.values(Hr)]),function(ln,Ge){return t._(this,void 0,void 0,function*(){let $e={};for(let st in ln){$e[st]={};let dt=i.getImageCanvasContext((yield Ge[st]).data),St=(yield ln[st]).data;for(let xt in St){let{width:It,height:rr,x:sr,y:pr,sdf:kr,pixelRatio:Yr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki}=St[xt];$e[st][xt]={data:null,pixelRatio:Yr,sdf:kr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki,spriteData:{width:It,height:rr,x:sr,y:pr,context:dt}}}}return $e})}(vr,Hr)})}(R,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then(Fe=>{if(this._spriteRequest=null,Fe)for(let ht in Fe){this._spritesImagesIds[ht]=[];let wt=this._spritesImagesIds[ht]?this._spritesImagesIds[ht].filter(zt=>!(zt in Fe)):[];for(let zt of wt)this.imageManager.removeImage(zt),this._changedImages[zt]=!0;for(let zt in Fe[ht]){let Jt=ht==="default"?zt:`${ht}:${zt}`;this._spritesImagesIds[ht].push(Jt),Jt in this.imageManager.images?this.imageManager.updateImage(Jt,Fe[ht][zt],!1):this.imageManager.addImage(Jt,Fe[ht][zt]),ne&&(this._changedImages[Jt]=!0)}}}).catch(Fe=>{this._spriteRequest=null,Ae=Fe,this.fire(new t.j(Ae))}).finally(()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),ne&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"})),be&&be(Ae)})}_unloadSprite(){for(let R of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(R),this._changedImages[R]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}_validateLayer(R){let ne=this.sourceCaches[R.source];if(!ne)return;let be=R.sourceLayer;if(!be)return;let Ae=ne.getSource();(Ae.type==="geojson"||Ae.vectorLayerIds&&Ae.vectorLayerIds.indexOf(be)===-1)&&this.fire(new t.j(new Error(`Source layer "${be}" does not exist on source "${Ae.id}" as specified by style layer "${R.id}".`)))}loaded(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(let R in this.sourceCaches)if(!this.sourceCaches[R].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeByIds(R,ne=!1){let be=this._serializedAllLayers();if(!R||R.length===0)return Object.values(ne?t.aB(be):be);let Ae=[];for(let Fe of R)if(be[Fe]){let ht=ne?t.aB(be[Fe]):be[Fe];Ae.push(ht)}return Ae}_serializedAllLayers(){let R=this._serializedLayers;if(R)return R;R=this._serializedLayers={};let ne=Object.keys(this._layers);for(let be of ne){let Ae=this._layers[be];Ae.type!=="custom"&&(R[be]=Ae.serialize())}return R}hasTransitions(){if(this.light&&this.light.hasTransition()||this.sky&&this.sky.hasTransition())return!0;for(let R in this.sourceCaches)if(this.sourceCaches[R].hasTransition())return!0;for(let R in this._layers)if(this._layers[R].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(R){if(!this._loaded)return;let ne=this._changed;if(ne){let Ae=Object.keys(this._updatedLayers),Fe=Object.keys(this._removedLayers);(Ae.length||Fe.length)&&this._updateWorkerLayers(Ae,Fe);for(let ht in this._updatedSources){let wt=this._updatedSources[ht];if(wt==="reload")this._reloadSource(ht);else{if(wt!=="clear")throw new Error(`Invalid action ${wt}`);this._clearSource(ht)}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(let ht in this._updatedPaintProps)this._layers[ht].updateTransitions(R);this.light.updateTransitions(R),this.sky.updateTransitions(R),this._resetUpdates()}let be={};for(let Ae in this.sourceCaches){let Fe=this.sourceCaches[Ae];be[Ae]=Fe.used,Fe.used=!1}for(let Ae of this._order){let Fe=this._layers[Ae];Fe.recalculate(R,this._availableImages),!Fe.isHidden(R.zoom)&&Fe.source&&(this.sourceCaches[Fe.source].used=!0)}for(let Ae in be){let Fe=this.sourceCaches[Ae];!!be[Ae]!=!!Fe.used&&Fe.fire(new t.k("data",{sourceDataType:"visibility",dataType:"source",sourceId:Ae}))}this.light.recalculate(R),this.sky.recalculate(R),this.z=R.zoom,ne&&this.fire(new t.k("data",{dataType:"style"}))}_updateTilesForChangedImages(){let R=Object.keys(this._changedImages);if(R.length){for(let ne in this.sourceCaches)this.sourceCaches[ne].reloadTilesForDependencies(["icons","patterns"],R);this._changedImages={}}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(let R in this.sourceCaches)this.sourceCaches[R].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1}}_updateWorkerLayers(R,ne){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(R,!1),removedIds:ne})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1}setState(R,ne={}){var be;this._checkLoaded();let Ae=this.serialize();if(R=ne.transformStyle?ne.transformStyle(Ae,R):R,((be=ne.validate)===null||be===void 0||be)&&Ur(this,t.u(R)))return!1;(R=t.aB(R)).layers=t.az(R.layers);let Fe=t.aC(Ae,R),ht=this._getOperationsToPerform(Fe);if(ht.unimplemented.length>0)throw new Error(`Unimplemented: ${ht.unimplemented.join(", ")}.`);if(ht.operations.length===0)return!1;for(let wt of ht.operations)wt();return this.stylesheet=R,this._serializedLayers=null,!0}_getOperationsToPerform(R){let ne=[],be=[];for(let Ae of R)switch(Ae.command){case"setCenter":case"setZoom":case"setBearing":case"setPitch":continue;case"addLayer":ne.push(()=>this.addLayer.apply(this,Ae.args));break;case"removeLayer":ne.push(()=>this.removeLayer.apply(this,Ae.args));break;case"setPaintProperty":ne.push(()=>this.setPaintProperty.apply(this,Ae.args));break;case"setLayoutProperty":ne.push(()=>this.setLayoutProperty.apply(this,Ae.args));break;case"setFilter":ne.push(()=>this.setFilter.apply(this,Ae.args));break;case"addSource":ne.push(()=>this.addSource.apply(this,Ae.args));break;case"removeSource":ne.push(()=>this.removeSource.apply(this,Ae.args));break;case"setLayerZoomRange":ne.push(()=>this.setLayerZoomRange.apply(this,Ae.args));break;case"setLight":ne.push(()=>this.setLight.apply(this,Ae.args));break;case"setGeoJSONSourceData":ne.push(()=>this.setGeoJSONSourceData.apply(this,Ae.args));break;case"setGlyphs":ne.push(()=>this.setGlyphs.apply(this,Ae.args));break;case"setSprite":ne.push(()=>this.setSprite.apply(this,Ae.args));break;case"setSky":ne.push(()=>this.setSky.apply(this,Ae.args));break;case"setTerrain":ne.push(()=>this.map.setTerrain.apply(this,Ae.args));break;case"setTransition":ne.push(()=>{});break;default:be.push(Ae.command)}return{operations:ne,unimplemented:be}}addImage(R,ne){if(this.getImage(R))return this.fire(new t.j(new Error(`An image named "${R}" already exists.`)));this.imageManager.addImage(R,ne),this._afterImageUpdated(R)}updateImage(R,ne){this.imageManager.updateImage(R,ne)}getImage(R){return this.imageManager.getImage(R)}removeImage(R){if(!this.getImage(R))return this.fire(new t.j(new Error(`An image named "${R}" does not exist.`)));this.imageManager.removeImage(R),this._afterImageUpdated(R)}_afterImageUpdated(R){this._availableImages=this.imageManager.listImages(),this._changedImages[R]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(R,ne,be={}){if(this._checkLoaded(),this.sourceCaches[R]!==void 0)throw new Error(`Source "${R}" already exists.`);if(!ne.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(ne).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(ne.type)>=0&&this._validate(t.u.source,`sources.${R}`,ne,null,be))return;this.map&&this.map._collectResourceTiming&&(ne.collectResourceTiming=!0);let Ae=this.sourceCaches[R]=new Et(R,ne,this.dispatcher);Ae.style=this,Ae.setEventedParent(this,()=>({isSourceLoaded:Ae.loaded(),source:Ae.serialize(),sourceId:R})),Ae.onAdd(this.map),this._changed=!0}removeSource(R){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error("There is no source with this ID");for(let be in this._layers)if(this._layers[be].source===R)return this.fire(new t.j(new Error(`Source "${R}" cannot be removed while layer "${be}" is using it.`)));let ne=this.sourceCaches[R];delete this.sourceCaches[R],delete this._updatedSources[R],ne.fire(new t.k("data",{sourceDataType:"metadata",dataType:"source",sourceId:R})),ne.setEventedParent(null),ne.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(R,ne){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(`There is no source with this ID=${R}`);let be=this.sourceCaches[R].getSource();if(be.type!=="geojson")throw new Error(`geojsonSource.type is ${be.type}, which is !== 'geojson`);be.setData(ne),this._changed=!0}getSource(R){return this.sourceCaches[R]&&this.sourceCaches[R].getSource()}addLayer(R,ne,be={}){this._checkLoaded();let Ae=R.id;if(this.getLayer(Ae))return void this.fire(new t.j(new Error(`Layer "${Ae}" already exists on this map.`)));let Fe;if(R.type==="custom"){if(Ur(this,t.aD(R)))return;Fe=t.aA(R)}else{if("source"in R&&typeof R.source=="object"&&(this.addSource(Ae,R.source),R=t.aB(R),R=t.e(R,{source:Ae})),this._validate(t.u.layer,`layers.${Ae}`,R,{arrayIndex:-1},be))return;Fe=t.aA(R),this._validateLayer(Fe),Fe.setEventedParent(this,{layer:{id:Ae}})}let ht=ne?this._order.indexOf(ne):this._order.length;if(ne&&ht===-1)this.fire(new t.j(new Error(`Cannot add layer "${Ae}" before non-existing layer "${ne}".`)));else{if(this._order.splice(ht,0,Ae),this._layerOrderChanged=!0,this._layers[Ae]=Fe,this._removedLayers[Ae]&&Fe.source&&Fe.type!=="custom"){let wt=this._removedLayers[Ae];delete this._removedLayers[Ae],wt.type!==Fe.type?this._updatedSources[Fe.source]="clear":(this._updatedSources[Fe.source]="reload",this.sourceCaches[Fe.source].pause())}this._updateLayer(Fe),Fe.onAdd&&Fe.onAdd(this.map)}}moveLayer(R,ne){if(this._checkLoaded(),this._changed=!0,!this._layers[R])return void this.fire(new t.j(new Error(`The layer '${R}' does not exist in the map's style and cannot be moved.`)));if(R===ne)return;let be=this._order.indexOf(R);this._order.splice(be,1);let Ae=ne?this._order.indexOf(ne):this._order.length;ne&&Ae===-1?this.fire(new t.j(new Error(`Cannot move layer "${R}" before non-existing layer "${ne}".`))):(this._order.splice(Ae,0,R),this._layerOrderChanged=!0)}removeLayer(R){this._checkLoaded();let ne=this._layers[R];if(!ne)return void this.fire(new t.j(new Error(`Cannot remove non-existing layer "${R}".`)));ne.setEventedParent(null);let be=this._order.indexOf(R);this._order.splice(be,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[R]=ne,delete this._layers[R],this._serializedLayers&&delete this._serializedLayers[R],delete this._updatedLayers[R],delete this._updatedPaintProps[R],ne.onRemove&&ne.onRemove(this.map)}getLayer(R){return this._layers[R]}getLayersOrder(){return[...this._order]}hasLayer(R){return R in this._layers}setLayerZoomRange(R,ne,be){this._checkLoaded();let Ae=this.getLayer(R);Ae?Ae.minzoom===ne&&Ae.maxzoom===be||(ne!=null&&(Ae.minzoom=ne),be!=null&&(Ae.maxzoom=be),this._updateLayer(Ae)):this.fire(new t.j(new Error(`Cannot set the zoom range of non-existing layer "${R}".`)))}setFilter(R,ne,be={}){this._checkLoaded();let Ae=this.getLayer(R);if(Ae){if(!t.aE(Ae.filter,ne))return ne==null?(Ae.filter=void 0,void this._updateLayer(Ae)):void(this._validate(t.u.filter,`layers.${Ae.id}.filter`,ne,null,be)||(Ae.filter=t.aB(ne),this._updateLayer(Ae)))}else this.fire(new t.j(new Error(`Cannot filter non-existing layer "${R}".`)))}getFilter(R){return t.aB(this.getLayer(R).filter)}setLayoutProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getLayoutProperty(ne),be)||(Fe.setLayoutProperty(ne,be,Ae),this._updateLayer(Fe)):this.fire(new t.j(new Error(`Cannot style non-existing layer "${R}".`)))}getLayoutProperty(R,ne){let be=this.getLayer(R);if(be)return be.getLayoutProperty(ne);this.fire(new t.j(new Error(`Cannot get style of non-existing layer "${R}".`)))}setPaintProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getPaintProperty(ne),be)||(Fe.setPaintProperty(ne,be,Ae)&&this._updateLayer(Fe),this._changed=!0,this._updatedPaintProps[R]=!0,this._serializedLayers=null):this.fire(new t.j(new Error(`Cannot style non-existing layer "${R}".`)))}getPaintProperty(R,ne){return this.getLayer(R).getPaintProperty(ne)}setFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=R.sourceLayer,Fe=this.sourceCaches[be];if(Fe===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let ht=Fe.getSource().type;ht==="geojson"&&Ae?this.fire(new t.j(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):ht!=="vector"||Ae?(R.id===void 0&&this.fire(new t.j(new Error("The feature id parameter must be provided."))),Fe.setFeatureState(Ae,R.id,ne)):this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}removeFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=this.sourceCaches[be];if(Ae===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let Fe=Ae.getSource().type,ht=Fe==="vector"?R.sourceLayer:void 0;Fe!=="vector"||ht?ne&&typeof R.id!="string"&&typeof R.id!="number"?this.fire(new t.j(new Error("A feature id is required to remove its specific state property."))):Ae.removeFeatureState(ht,R.id,ne):this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}getFeatureState(R){this._checkLoaded();let ne=R.source,be=R.sourceLayer,Ae=this.sourceCaches[ne];if(Ae!==void 0)return Ae.getSource().type!=="vector"||be?(R.id===void 0&&this.fire(new t.j(new Error("The feature id parameter must be provided."))),Ae.getFeatureState(be,R.id)):void this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.j(new Error(`The source '${ne}' does not exist in the map's style.`)))}getTransition(){return t.e({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){if(!this._loaded)return;let R=t.aF(this.sourceCaches,Fe=>Fe.serialize()),ne=this._serializeByIds(this._order,!0),be=this.map.getTerrain()||void 0,Ae=this.stylesheet;return t.aG({version:Ae.version,name:Ae.name,metadata:Ae.metadata,light:Ae.light,sky:Ae.sky,center:Ae.center,zoom:Ae.zoom,bearing:Ae.bearing,pitch:Ae.pitch,sprite:Ae.sprite,glyphs:Ae.glyphs,transition:Ae.transition,sources:R,layers:ne,terrain:be},Fe=>Fe!==void 0)}_updateLayer(R){this._updatedLayers[R.id]=!0,R.source&&!this._updatedSources[R.source]&&this.sourceCaches[R.source].getSource().type!=="raster"&&(this._updatedSources[R.source]="reload",this.sourceCaches[R.source].pause()),this._serializedLayers=null,this._changed=!0}_flattenAndSortRenderedFeatures(R){let ne=ht=>this._layers[ht].type==="fill-extrusion",be={},Ae=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt)){be[wt]=ht;for(let zt of R){let Jt=zt[wt];if(Jt)for(let hr of Jt)Ae.push(hr)}}}Ae.sort((ht,wt)=>wt.intersectionZ-ht.intersectionZ);let Fe=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt))for(let zt=Ae.length-1;zt>=0;zt--){let Jt=Ae[zt].feature;if(be[Jt.layer.id]{let kr=dt.featureSortOrder;if(kr){let Yr=kr.indexOf(sr.featureIndex);return kr.indexOf(pr.featureIndex)-Yr}return pr.featureIndex-sr.featureIndex});for(let sr of rr)It.push(sr)}}for(let dt in Ge)Ge[dt].forEach(St=>{let xt=St.feature,It=Jt[wt[dt].source].getFeatureState(xt.layer["source-layer"],xt.id);xt.source=xt.layer.source,xt.layer["source-layer"]&&(xt.sourceLayer=xt.layer["source-layer"]),xt.state=It});return Ge}(this._layers,ht,this.sourceCaches,R,ne,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(Fe)}querySourceFeatures(R,ne){ne&&ne.filter&&this._validate(t.u.filter,"querySourceFeatures.filter",ne.filter,null,ne);let be=this.sourceCaches[R];return be?function(Ae,Fe){let ht=Ae.getRenderableIds().map(Jt=>Ae.getTileByID(Jt)),wt=[],zt={};for(let Jt=0;JtHr.getTileByID(ln)).sort((ln,Ge)=>Ge.tileID.overscaledZ-ln.tileID.overscaledZ||(ln.tileID.isLessThan(Ge.tileID)?-1:1))}let vr=this.crossTileSymbolIndex.addLayer(hr,zt[hr.source],R.center.lng);ht=ht||vr}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((Fe=Fe||this._layerOrderChanged||be===0)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(i.now(),R.zoom))&&(this.pauseablePlacement=new yt(R,this.map.terrain,this._order,Fe,ne,be,Ae,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,zt),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(i.now()),wt=!0),ht&&this.pauseablePlacement.placement.setStale()),wt||ht)for(let Jt of this._order){let hr=this._layers[Jt];hr.type==="symbol"&&this.placement.updateLayerOpacities(hr,zt[hr.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(i.now())}_releaseSymbolFadeTiles(){for(let R in this.sourceCaches)this.sourceCaches[R].releaseSymbolFadeTiles()}getImages(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.imageManager.getImages(ne.icons);this._updateTilesForChangedImages();let Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,ne.icons),be})}getGlyphs(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.glyphManager.getGlyphs(ne.stacks),Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,[""]),be})}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(R,ne={}){this._checkLoaded(),R&&this._validate(t.u.glyphs,"glyphs",R,null,ne)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=R,this.glyphManager.entries={},this.glyphManager.setURL(R))}addSprite(R,ne,be={},Ae){this._checkLoaded();let Fe=[{id:R,url:ne}],ht=[...b(this.stylesheet.sprite),...Fe];this._validate(t.u.sprite,"sprite",ht,null,be)||(this.stylesheet.sprite=ht,this._loadSprite(Fe,!0,Ae))}removeSprite(R){this._checkLoaded();let ne=b(this.stylesheet.sprite);if(ne.find(be=>be.id===R)){if(this._spritesImagesIds[R])for(let be of this._spritesImagesIds[R])this.imageManager.removeImage(be),this._changedImages[be]=!0;ne.splice(ne.findIndex(be=>be.id===R),1),this.stylesheet.sprite=ne.length>0?ne:void 0,delete this._spritesImagesIds[R],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}else this.fire(new t.j(new Error(`Sprite "${R}" doesn't exists on this map.`)))}getSprite(){return b(this.stylesheet.sprite)}setSprite(R,ne={},be){this._checkLoaded(),R&&this._validate(t.u.sprite,"sprite",R,null,ne)||(this.stylesheet.sprite=R,R?this._loadSprite(R,!0,be):(this._unloadSprite(),be&&be(null)))}}var vn=t.Y([{name:"a_pos",type:"Int16",components:2}]);let gn={prelude:kt(`#ifdef GL_ES +precision mediump float; +#else +#if !defined(lowp) +#define lowp +#endif +#if !defined(mediump) +#define mediump +#endif +#if !defined(highp) +#define highp +#endif +#endif +`,`#ifdef GL_ES +precision highp float; +#else +#if !defined(lowp) +#define lowp +#endif +#if !defined(mediump) +#define mediump +#endif +#if !defined(highp) +#define highp +#endif +#endif +vec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0 +);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;} +#ifdef TERRAIN3D +uniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth; +#endif +const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) { +#ifdef TERRAIN3D +highp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0)); +#else +return 1.0; +#endif +}float calculate_visibility(vec4 pos) { +#ifdef TERRAIN3D +vec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0; +#else +return 1.0; +#endif +}float ele(vec2 pos) { +#ifdef TERRAIN3D +vec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a; +#else +return 0.0; +#endif +}float get_elevation(vec2 pos) { +#ifdef TERRAIN3D +vec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration; +#else +return 0.0; +#endif +}`),background:kt(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),backgroundPattern:kt(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:kt(`varying vec3 v_data;varying float v_visibility; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define mediump float radius +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define highp vec4 stroke_color +#pragma mapbox: define mediump float stroke_width +#pragma mapbox: define lowp float stroke_opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize mediump float radius +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize highp vec4 stroke_color +#pragma mapbox: initialize mediump float stroke_width +#pragma mapbox: initialize lowp float stroke_opacity +vec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define mediump float radius +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define highp vec4 stroke_color +#pragma mapbox: define mediump float stroke_width +#pragma mapbox: define lowp float stroke_opacity +void main(void) { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize mediump float radius +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize highp vec4 stroke_color +#pragma mapbox: initialize mediump float stroke_width +#pragma mapbox: initialize lowp float stroke_opacity +vec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),clippingMask:kt("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),heatmap:kt(`uniform highp float u_intensity;varying vec2 v_extrude; +#pragma mapbox: define highp float weight +#define GAUSS_COEF 0.3989422804014327 +void main() { +#pragma mapbox: initialize highp float weight +float d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude; +#pragma mapbox: define highp float weight +#pragma mapbox: define mediump float radius +const highp float ZERO=1.0/255.0/16.0; +#define GAUSS_COEF 0.3989422804014327 +void main(void) { +#pragma mapbox: initialize highp float weight +#pragma mapbox: initialize mediump float radius +vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,get_elevation(floor(a_pos*0.5)),1);gl_Position=u_matrix*pos;}`),heatmapTexture:kt(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(0.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:kt("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_anchor_pos;attribute vec2 a_placed;attribute vec2 a_box_real;uniform mat4 u_matrix;uniform vec2 u_pixel_extrude_scale;varying float v_placed;varying float v_notUsed;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:kt("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),debug:kt("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}"),fill:kt(`#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_FragColor=color*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);}`),fillOutline:kt(`varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillOutlinePattern:kt(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillPattern:kt(`#ifdef GL_ES +precision highp float; +#endif +uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),fillExtrusion:kt(`varying vec4 v_color;void main() {gl_FragColor=v_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed; +#ifdef TERRAIN3D +attribute vec2 a_centroid; +#endif +varying vec4 v_color; +#pragma mapbox: define highp float base +#pragma mapbox: define highp float height +#pragma mapbox: define highp vec4 color +void main() { +#pragma mapbox: initialize highp float base +#pragma mapbox: initialize highp float height +#pragma mapbox: initialize highp vec4 color +vec3 normal=a_normal_ed.xyz; +#ifdef TERRAIN3D +float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); +#else +float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; +#endif +base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),fillExtrusionPattern:kt(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed; +#ifdef TERRAIN3D +attribute vec2 a_centroid; +#endif +varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to; +#ifdef TERRAIN3D +float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); +#else +float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; +#endif +base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 +? a_pos +: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),hillshadePrepare:kt(`#ifdef GL_ES +precision highp float; +#endif +uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:kt(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; +#define PI 3.141592653589793 +void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),line:kt(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_width2=vec2(outset,inset);}`),lineGradient:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_width2=vec2(outset,inset);}`),linePattern:kt(`#ifdef GL_ES +precision highp float; +#endif +uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),lineSDF:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),raster:kt(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:kt(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_tex;varying float v_fade_opacity;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}`),symbolSDF:kt(`#define SDF_PX 8.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);inner_edge=inner_edge+gamma*gamma_scale;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);if (u_is_halo) {lowp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha=min(smoothstep(halo_edge-gamma_scaled,halo_edge+gamma_scaled,dist),1.0-alpha);}gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_data0;varying vec3 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),symbolTextAndIcon:kt(`#define SDF_PX 8.0 +#define SDF 1.0 +#define ICON 0.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec4 v_data0;varying vec4 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:kt("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;varying vec2 v_texture_pos;varying float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture2D(u_texture,v_texture_pos);if (v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);gl_FragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {gl_FragColor=surface_color;}}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform mat4 u_fog_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;varying float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:kt("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:kt("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);}"),sky:kt("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform float u_horizon;uniform float u_sky_horizon_blend;void main() {float y=gl_FragCoord.y;if (y > u_horizon) {float blend=y-u_horizon;if (blend < u_sky_horizon_blend) {gl_FragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {gl_FragColor=u_sky_color;}}}","attribute vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function kt(Ne,R){let ne=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,be=R.match(/attribute ([\w]+) ([\w]+)/g),Ae=Ne.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),Fe=R.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),ht=Fe?Fe.concat(Ae):Ae,wt={};return{fragmentSource:Ne=Ne.replace(ne,(zt,Jt,hr,vr,Hr)=>(wt[Hr]=!0,Jt==="define"?` +#ifndef HAS_UNIFORM_u_${Hr} +varying ${hr} ${vr} ${Hr}; +#else +uniform ${hr} ${vr} u_${Hr}; +#endif +`:` +#ifdef HAS_UNIFORM_u_${Hr} + ${hr} ${vr} ${Hr} = u_${Hr}; +#endif +`)),vertexSource:R=R.replace(ne,(zt,Jt,hr,vr,Hr)=>{let ln=vr==="float"?"vec2":"vec4",Ge=Hr.match(/color/)?"color":ln;return wt[Hr]?Jt==="define"?` +#ifndef HAS_UNIFORM_u_${Hr} +uniform lowp float u_${Hr}_t; +attribute ${hr} ${ln} a_${Hr}; +varying ${hr} ${vr} ${Hr}; +#else +uniform ${hr} ${vr} u_${Hr}; +#endif +`:Ge==="vec4"?` +#ifndef HAS_UNIFORM_u_${Hr} + ${Hr} = a_${Hr}; +#else + ${hr} ${vr} ${Hr} = u_${Hr}; +#endif +`:` +#ifndef HAS_UNIFORM_u_${Hr} + ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t); +#else + ${hr} ${vr} ${Hr} = u_${Hr}; +#endif +`:Jt==="define"?` +#ifndef HAS_UNIFORM_u_${Hr} +uniform lowp float u_${Hr}_t; +attribute ${hr} ${ln} a_${Hr}; +#else +uniform ${hr} ${vr} u_${Hr}; +#endif +`:Ge==="vec4"?` +#ifndef HAS_UNIFORM_u_${Hr} + ${hr} ${vr} ${Hr} = a_${Hr}; +#else + ${hr} ${vr} ${Hr} = u_${Hr}; +#endif +`:` +#ifndef HAS_UNIFORM_u_${Hr} + ${hr} ${vr} ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t); +#else + ${hr} ${vr} ${Hr} = u_${Hr}; +#endif +`}),staticAttributes:be,staticUniforms:ht}}class or{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(R,ne,be,Ae,Fe,ht,wt,zt,Jt){this.context=R;let hr=this.boundPaintVertexBuffers.length!==Ae.length;for(let vr=0;!hr&&vr({u_matrix:Ne,u_texture:0,u_ele_delta:R,u_fog_matrix:ne,u_fog_color:be?be.properties.get("fog-color"):t.aM.white,u_fog_ground_blend:be?be.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:be?be.calculateFogBlendOpacity(Ae):0,u_horizon_color:be?be.properties.get("horizon-color"):t.aM.white,u_horizon_fog_blend:be?be.properties.get("horizon-fog-blend"):1});function on(Ne){let R=[];for(let ne=0;ne({u_depth:new t.aH(sr,pr.u_depth),u_terrain:new t.aH(sr,pr.u_terrain),u_terrain_dim:new t.aI(sr,pr.u_terrain_dim),u_terrain_matrix:new t.aJ(sr,pr.u_terrain_matrix),u_terrain_unpack:new t.aK(sr,pr.u_terrain_unpack),u_terrain_exaggeration:new t.aI(sr,pr.u_terrain_exaggeration)}))(R,rr),this.binderUniforms=be?be.getUniforms(R,rr):[]}draw(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St){let xt=R.gl;if(this.failedToCreate)return;if(R.program.set(this.program),R.setDepthMode(be),R.setStencilMode(Ae),R.setColorMode(Fe),R.setCullFace(ht),zt){R.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,zt.depthTexture),R.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,zt.texture);for(let rr in this.terrainUniforms)this.terrainUniforms[rr].set(zt[rr])}for(let rr in this.fixedUniforms)this.fixedUniforms[rr].set(wt[rr]);$e&&$e.setUniforms(R,this.binderUniforms,ln,{zoom:Ge});let It=0;switch(ne){case xt.LINES:It=2;break;case xt.TRIANGLES:It=3;break;case xt.LINE_STRIP:It=1}for(let rr of Hr.get()){let sr=rr.vaos||(rr.vaos={});(sr[Jt]||(sr[Jt]=new or)).bind(R,this,hr,$e?$e.getPaintVertexBuffers():[],vr,rr.vertexOffset,st,dt,St),xt.drawElements(ne,rr.primitiveLength*It,xt.UNSIGNED_SHORT,rr.primitiveOffset*It*2)}}}function Zn(Ne,R,ne){let be=1/Rn(ne,1,R.transform.tileZoom),Ae=Math.pow(2,ne.tileID.overscaledZ),Fe=ne.tileSize*Math.pow(2,R.transform.tileZoom)/Ae,ht=Fe*(ne.tileID.canonical.x+ne.tileID.wrap*Ae),wt=Fe*ne.tileID.canonical.y;return{u_image:0,u_texsize:ne.imageAtlasTexture.size,u_scale:[be,Ne.fromScale,Ne.toScale],u_fade:Ne.t,u_pixel_coord_upper:[ht>>16,wt>>16],u_pixel_coord_lower:[65535&ht,65535&wt]}}let Bn=(Ne,R,ne,be)=>{let Ae=R.style.light,Fe=Ae.properties.get("position"),ht=[Fe.x,Fe.y,Fe.z],wt=function(){var Jt=new t.A(9);return t.A!=Float32Array&&(Jt[1]=0,Jt[2]=0,Jt[3]=0,Jt[5]=0,Jt[6]=0,Jt[7]=0),Jt[0]=1,Jt[4]=1,Jt[8]=1,Jt}();Ae.properties.get("anchor")==="viewport"&&function(Jt,hr){var vr=Math.sin(hr),Hr=Math.cos(hr);Jt[0]=Hr,Jt[1]=vr,Jt[2]=0,Jt[3]=-vr,Jt[4]=Hr,Jt[5]=0,Jt[6]=0,Jt[7]=0,Jt[8]=1}(wt,-R.transform.angle),function(Jt,hr,vr){var Hr=hr[0],ln=hr[1],Ge=hr[2];Jt[0]=Hr*vr[0]+ln*vr[3]+Ge*vr[6],Jt[1]=Hr*vr[1]+ln*vr[4]+Ge*vr[7],Jt[2]=Hr*vr[2]+ln*vr[5]+Ge*vr[8]}(ht,ht,wt);let zt=Ae.properties.get("color");return{u_matrix:Ne,u_lightpos:ht,u_lightintensity:Ae.properties.get("intensity"),u_lightcolor:[zt.r,zt.g,zt.b],u_vertical_gradient:+ne,u_opacity:be}},wn=(Ne,R,ne,be,Ae,Fe,ht)=>t.e(Bn(Ne,R,ne,be),Zn(Fe,R,ht),{u_height_factor:-Math.pow(2,Ae.overscaledZ)/ht.tileSize/8}),Dn=Ne=>({u_matrix:Ne}),Ui=(Ne,R,ne,be)=>t.e(Dn(Ne),Zn(ne,R,be)),pi=(Ne,R)=>({u_matrix:Ne,u_world:R}),Ta=(Ne,R,ne,be,Ae)=>t.e(Ui(Ne,R,ne,be),{u_world:Ae}),Sa=(Ne,R,ne,be)=>{let Ae=Ne.transform,Fe,ht;if(be.paint.get("circle-pitch-alignment")==="map"){let wt=Rn(ne,1,Ae.zoom);Fe=!0,ht=[wt,wt]}else Fe=!1,ht=Ae.pixelsToGLUnits;return{u_camera_to_center_distance:Ae.cameraToCenterDistance,u_scale_with_map:+(be.paint.get("circle-pitch-scale")==="map"),u_matrix:Ne.translatePosMatrix(R.posMatrix,ne,be.paint.get("circle-translate"),be.paint.get("circle-translate-anchor")),u_pitch_with_map:+Fe,u_device_pixel_ratio:Ne.pixelRatio,u_extrude_scale:ht}},qa=(Ne,R,ne)=>({u_matrix:Ne,u_inv_matrix:R,u_camera_to_center_distance:ne.cameraToCenterDistance,u_viewport_size:[ne.width,ne.height]}),to=(Ne,R,ne=1)=>({u_matrix:Ne,u_color:R,u_overlay:0,u_overlay_scale:ne}),yo=Ne=>({u_matrix:Ne}),Xa=(Ne,R,ne,be)=>({u_matrix:Ne,u_extrude_scale:Rn(R,1,ne),u_intensity:be}),Go=(Ne,R,ne,be)=>{let Ae=t.H();t.aP(Ae,0,Ne.width,Ne.height,0,0,1);let Fe=Ne.context.gl;return{u_matrix:Ae,u_world:[Fe.drawingBufferWidth,Fe.drawingBufferHeight],u_image:ne,u_color_ramp:be,u_opacity:R.paint.get("heatmap-opacity")}};function pa(Ne,R){let ne=Math.pow(2,R.canonical.z),be=R.canonical.y;return[new t.Z(0,be/ne).toLngLat().lat,new t.Z(0,(be+1)/ne).toLngLat().lat]}let cs=(Ne,R,ne,be)=>{let Ae=Ne.transform;return{u_matrix:Ka(Ne,R,ne,be),u_ratio:1/Rn(R,1,Ae.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_units_to_pixels:[1/Ae.pixelsToGLUnits[0],1/Ae.pixelsToGLUnits[1]]}},Ko=(Ne,R,ne,be,Ae)=>t.e(cs(Ne,R,ne,Ae),{u_image:0,u_image_height:be}),gs=(Ne,R,ne,be,Ae)=>{let Fe=Ne.transform,ht=zo(R,Fe);return{u_matrix:Ka(Ne,R,ne,Ae),u_texsize:R.imageAtlasTexture.size,u_ratio:1/Rn(R,1,Fe.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_image:0,u_scale:[ht,be.fromScale,be.toScale],u_fade:be.t,u_units_to_pixels:[1/Fe.pixelsToGLUnits[0],1/Fe.pixelsToGLUnits[1]]}},Ya=(Ne,R,ne,be,Ae,Fe)=>{let ht=Ne.lineAtlas,wt=zo(R,Ne.transform),zt=ne.layout.get("line-cap")==="round",Jt=ht.getDash(be.from,zt),hr=ht.getDash(be.to,zt),vr=Jt.width*Ae.fromScale,Hr=hr.width*Ae.toScale;return t.e(cs(Ne,R,ne,Fe),{u_patternscale_a:[wt/vr,-Jt.height/2],u_patternscale_b:[wt/Hr,-hr.height/2],u_sdfgamma:ht.width/(256*Math.min(vr,Hr)*Ne.pixelRatio)/2,u_image:0,u_tex_y_a:Jt.y,u_tex_y_b:hr.y,u_mix:Ae.t})};function zo(Ne,R){return 1/Rn(Ne,1,R.tileZoom)}function Ka(Ne,R,ne,be){return Ne.translatePosMatrix(be?be.posMatrix:R.tileID.posMatrix,R,ne.paint.get("line-translate"),ne.paint.get("line-translate-anchor"))}let Yo=(Ne,R,ne,be,Ae)=>{return{u_matrix:Ne,u_tl_parent:R,u_scale_parent:ne,u_buffer_scale:1,u_fade_t:be.mix,u_opacity:be.opacity*Ae.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:Ae.paint.get("raster-brightness-min"),u_brightness_high:Ae.paint.get("raster-brightness-max"),u_saturation_factor:(ht=Ae.paint.get("raster-saturation"),ht>0?1-1/(1.001-ht):-ht),u_contrast_factor:(Fe=Ae.paint.get("raster-contrast"),Fe>0?1/(1-Fe):1+Fe),u_spin_weights:ns(Ae.paint.get("raster-hue-rotate"))};var Fe,ht};function ns(Ne){Ne*=Math.PI/180;let R=Math.sin(Ne),ne=Math.cos(Ne);return[(2*ne+1)/3,(-Math.sqrt(3)*R-ne+1)/3,(Math.sqrt(3)*R-ne+1)/3]}let hs=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>{let Ge=ht.transform;return{u_is_size_zoom_constant:+(Ne==="constant"||Ne==="source"),u_is_size_feature_constant:+(Ne==="constant"||Ne==="camera"),u_size_t:R?R.uSizeT:0,u_size:R?R.uSize:0,u_camera_to_center_distance:Ge.cameraToCenterDistance,u_pitch:Ge.pitch/360*2*Math.PI,u_rotate_symbol:+ne,u_aspect_ratio:Ge.width/Ge.height,u_fade_change:ht.options.fadeDuration?ht.symbolFadeChange:1,u_matrix:wt,u_label_plane_matrix:zt,u_coord_matrix:Jt,u_is_text:+vr,u_pitch_with_map:+be,u_is_along_line:Ae,u_is_variable_anchor:Fe,u_texsize:Hr,u_texture:0,u_translation:hr,u_pitched_scale:ln}},ho=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge)=>{let $e=ht.transform;return t.e(hs(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,Ge),{u_gamma_scale:be?Math.cos($e._pitch)*$e.cameraToCenterDistance:1,u_device_pixel_ratio:ht.pixelRatio,u_is_halo:+ln})},Ro=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>t.e(ho(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,!0,vr,!0,ln),{u_texsize_icon:Hr,u_texture_icon:1}),Ls=(Ne,R,ne)=>({u_matrix:Ne,u_opacity:R,u_color:ne}),Vs=(Ne,R,ne,be,Ae,Fe)=>t.e(function(ht,wt,zt,Jt){let hr=zt.imageManager.getPattern(ht.from.toString()),vr=zt.imageManager.getPattern(ht.to.toString()),{width:Hr,height:ln}=zt.imageManager.getPixelSize(),Ge=Math.pow(2,Jt.tileID.overscaledZ),$e=Jt.tileSize*Math.pow(2,zt.transform.tileZoom)/Ge,st=$e*(Jt.tileID.canonical.x+Jt.tileID.wrap*Ge),dt=$e*Jt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:hr.tl,u_pattern_br_a:hr.br,u_pattern_tl_b:vr.tl,u_pattern_br_b:vr.br,u_texsize:[Hr,ln],u_mix:wt.t,u_pattern_size_a:hr.displaySize,u_pattern_size_b:vr.displaySize,u_scale_a:wt.fromScale,u_scale_b:wt.toScale,u_tile_units_to_pixels:1/Rn(Jt,1,zt.transform.tileZoom),u_pixel_coord_upper:[st>>16,dt>>16],u_pixel_coord_lower:[65535&st,65535&dt]}}(be,Fe,ne,Ae),{u_matrix:Ne,u_opacity:R}),Ws={fillExtrusion:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_opacity:new t.aI(Ne,R.u_opacity)}),fillExtrusionPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_height_factor:new t.aI(Ne,R.u_height_factor),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade),u_opacity:new t.aI(Ne,R.u_opacity)}),fill:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),fillPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),fillOutline:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world)}),fillOutlinePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),circle:(Ne,R)=>({u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_scale_with_map:new t.aH(Ne,R.u_scale_with_map),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_extrude_scale:new t.aO(Ne,R.u_extrude_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_matrix:new t.aJ(Ne,R.u_matrix)}),collisionBox:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_pixel_extrude_scale:new t.aO(Ne,R.u_pixel_extrude_scale)}),collisionCircle:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_inv_matrix:new t.aJ(Ne,R.u_inv_matrix),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_viewport_size:new t.aO(Ne,R.u_viewport_size)}),debug:(Ne,R)=>({u_color:new t.aL(Ne,R.u_color),u_matrix:new t.aJ(Ne,R.u_matrix),u_overlay:new t.aH(Ne,R.u_overlay),u_overlay_scale:new t.aI(Ne,R.u_overlay_scale)}),clippingMask:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmap:(Ne,R)=>({u_extrude_scale:new t.aI(Ne,R.u_extrude_scale),u_intensity:new t.aI(Ne,R.u_intensity),u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmapTexture:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_color_ramp:new t.aH(Ne,R.u_color_ramp),u_opacity:new t.aI(Ne,R.u_opacity)}),hillshade:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_latrange:new t.aO(Ne,R.u_latrange),u_light:new t.aO(Ne,R.u_light),u_shadow:new t.aL(Ne,R.u_shadow),u_highlight:new t.aL(Ne,R.u_highlight),u_accent:new t.aL(Ne,R.u_accent)}),hillshadePrepare:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_dimension:new t.aO(Ne,R.u_dimension),u_zoom:new t.aI(Ne,R.u_zoom),u_unpack:new t.aK(Ne,R.u_unpack)}),line:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels)}),lineGradient:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_image:new t.aH(Ne,R.u_image),u_image_height:new t.aI(Ne,R.u_image_height)}),linePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texsize:new t.aO(Ne,R.u_texsize),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_image:new t.aH(Ne,R.u_image),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),lineSDF:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_patternscale_a:new t.aO(Ne,R.u_patternscale_a),u_patternscale_b:new t.aO(Ne,R.u_patternscale_b),u_sdfgamma:new t.aI(Ne,R.u_sdfgamma),u_image:new t.aH(Ne,R.u_image),u_tex_y_a:new t.aI(Ne,R.u_tex_y_a),u_tex_y_b:new t.aI(Ne,R.u_tex_y_b),u_mix:new t.aI(Ne,R.u_mix)}),raster:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_tl_parent:new t.aO(Ne,R.u_tl_parent),u_scale_parent:new t.aI(Ne,R.u_scale_parent),u_buffer_scale:new t.aI(Ne,R.u_buffer_scale),u_fade_t:new t.aI(Ne,R.u_fade_t),u_opacity:new t.aI(Ne,R.u_opacity),u_image0:new t.aH(Ne,R.u_image0),u_image1:new t.aH(Ne,R.u_image1),u_brightness_low:new t.aI(Ne,R.u_brightness_low),u_brightness_high:new t.aI(Ne,R.u_brightness_high),u_saturation_factor:new t.aI(Ne,R.u_saturation_factor),u_contrast_factor:new t.aI(Ne,R.u_contrast_factor),u_spin_weights:new t.aN(Ne,R.u_spin_weights)}),symbolIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolSDF:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolTextAndIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texsize_icon:new t.aO(Ne,R.u_texsize_icon),u_texture:new t.aH(Ne,R.u_texture),u_texture_icon:new t.aH(Ne,R.u_texture_icon),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),background:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_color:new t.aL(Ne,R.u_color)}),backgroundPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_image:new t.aH(Ne,R.u_image),u_pattern_tl_a:new t.aO(Ne,R.u_pattern_tl_a),u_pattern_br_a:new t.aO(Ne,R.u_pattern_br_a),u_pattern_tl_b:new t.aO(Ne,R.u_pattern_tl_b),u_pattern_br_b:new t.aO(Ne,R.u_pattern_br_b),u_texsize:new t.aO(Ne,R.u_texsize),u_mix:new t.aI(Ne,R.u_mix),u_pattern_size_a:new t.aO(Ne,R.u_pattern_size_a),u_pattern_size_b:new t.aO(Ne,R.u_pattern_size_b),u_scale_a:new t.aI(Ne,R.u_scale_a),u_scale_b:new t.aI(Ne,R.u_scale_b),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_tile_units_to_pixels:new t.aI(Ne,R.u_tile_units_to_pixels)}),terrain:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_ele_delta:new t.aI(Ne,R.u_ele_delta),u_fog_matrix:new t.aJ(Ne,R.u_fog_matrix),u_fog_color:new t.aL(Ne,R.u_fog_color),u_fog_ground_blend:new t.aI(Ne,R.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.aI(Ne,R.u_fog_ground_blend_opacity),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon_fog_blend:new t.aI(Ne,R.u_horizon_fog_blend)}),terrainDepth:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),terrainCoords:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_terrain_coords_id:new t.aI(Ne,R.u_terrain_coords_id),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),sky:(Ne,R)=>({u_sky_color:new t.aL(Ne,R.u_sky_color),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon:new t.aI(Ne,R.u_horizon),u_sky_horizon_blend:new t.aI(Ne,R.u_sky_horizon_blend)})};class fs{constructor(R,ne,be){this.context=R;let Ae=R.gl;this.buffer=Ae.createBuffer(),this.dynamicDraw=!!be,this.context.unbindVAO(),R.bindElementBuffer.set(this.buffer),Ae.bufferData(Ae.ELEMENT_ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Ae.DYNAMIC_DRAW:Ae.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(R){let ne=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),ne.bufferSubData(ne.ELEMENT_ARRAY_BUFFER,0,R.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}let Mi={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Da{constructor(R,ne,be,Ae){this.length=ne.length,this.attributes=be,this.itemSize=ne.bytesPerElement,this.dynamicDraw=Ae,this.context=R;let Fe=R.gl;this.buffer=Fe.createBuffer(),R.bindVertexBuffer.set(this.buffer),Fe.bufferData(Fe.ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Fe.DYNAMIC_DRAW:Fe.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(R){if(R.length!==this.length)throw new Error(`Length of new data is ${R.length}, which doesn't match current length of ${this.length}`);let ne=this.context.gl;this.bind(),ne.bufferSubData(ne.ARRAY_BUFFER,0,R.arrayBuffer)}enableAttributes(R,ne){for(let be=0;be0){let sr=t.H();t.aQ(sr,xt.placementInvProjMatrix,Ne.transform.glCoordMatrix),t.aQ(sr,sr,xt.placementViewportMatrix),zt.push({circleArray:rr,circleOffset:hr,transform:St.posMatrix,invTransform:sr,coord:St}),Jt+=rr.length/4,hr=Jt}It&&wt.draw(Fe,ht.LINES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,{u_matrix:St.posMatrix,u_pixel_extrude_scale:[1/(vr=Ne.transform).width,1/vr.height]},Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St),ne.id,It.layoutVertexBuffer,It.indexBuffer,It.segments,null,Ne.transform.zoom,null,null,It.collisionVertexBuffer)}var vr;if(!Ae||!zt.length)return;let Hr=Ne.useProgram("collisionCircle"),ln=new t.aR;ln.resize(4*Jt),ln._trim();let Ge=0;for(let dt of zt)for(let St=0;St=0&&(dt[xt.associatedIconIndex]={shiftedAnchor:ya,angle:ro})}else Xt(xt.numGlyphs,$e)}if(Jt){st.clear();let St=Ne.icon.placedSymbolArray;for(let xt=0;xtNe.style.map.terrain.getElevation(Mn,Dt,lr):null,Qt=ne.layout.get("text-rotation-alignment")==="map";je(li,Mn.posMatrix,Ne,Ae,eu,mu,dt,Jt,Qt,$e,Mn.toUnwrapped(),Ge.width,Ge.height,El,Tt)}let Zl=Mn.posMatrix,Yl=Ae&&kr||Tc,de=St||Yl?pu:eu,Re=Xu,Qe=Zi&&ne.paint.get(Ae?"text-halo-width":"icon-halo-width").constantOr(1)!==0,vt;vt=Zi?li.iconsInText?Ro(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Fo,al,_n):ho(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,!0,_n):hs(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,_n);let mt={program:Va,buffers:ki,uniformValues:vt,atlasTexture:ts,atlasTextureIcon:os,atlasInterpolation:bs,atlasInterpolationIcon:fl,isSDF:Zi,hasHalo:Qe};if(rr&&li.canOverlap){sr=!0;let Tt=ki.segments.get();for(let Qt of Tt)Yr.push({segments:new t.a0([Qt]),sortKey:Qt.sortKey,state:mt,terrainData:vs})}else Yr.push({segments:ki.segments,sortKey:0,state:mt,terrainData:vs})}sr&&Yr.sort((Mn,Un)=>Mn.sortKey-Un.sortKey);for(let Mn of Yr){let Un=Mn.state;if(Hr.activeTexture.set(ln.TEXTURE0),Un.atlasTexture.bind(Un.atlasInterpolation,ln.CLAMP_TO_EDGE),Un.atlasTextureIcon&&(Hr.activeTexture.set(ln.TEXTURE1),Un.atlasTextureIcon&&Un.atlasTextureIcon.bind(Un.atlasInterpolationIcon,ln.CLAMP_TO_EDGE)),Un.isSDF){let li=Un.uniformValues;Un.hasHalo&&(li.u_is_halo=1,zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,li,Mn.terrainData)),li.u_is_halo=0}zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,Un.uniformValues,Mn.terrainData)}}function zf(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt){let hr=be.context;Ae.draw(hr,hr.gl.TRIANGLES,Fe,ht,wt,Vo.disabled,zt,Jt,ne.id,Ne.layoutVertexBuffer,Ne.indexBuffer,R,ne.paint,be.transform.zoom,Ne.programConfigurations.get(ne.id),Ne.dynamicLayoutVertexBuffer,Ne.opacityVertexBuffer)}function wf(Ne,R,ne,be){let Ae=Ne.context,Fe=Ae.gl,ht=Bs.disabled,wt=new ll([Fe.ONE,Fe.ONE],t.aM.transparent,[!0,!0,!0,!0]),zt=R.getBucket(ne);if(!zt)return;let Jt=be.key,hr=ne.heatmapFbos.get(Jt);hr||(hr=Ff(Ae,R.tileSize,R.tileSize),ne.heatmapFbos.set(Jt,hr)),Ae.bindFramebuffer.set(hr.framebuffer),Ae.viewport.set([0,0,R.tileSize,R.tileSize]),Ae.clear({color:t.aM.transparent});let vr=zt.programConfigurations.get(ne.id),Hr=Ne.useProgram("heatmap",vr),ln=Ne.style.map.terrain.getTerrainData(be);Hr.draw(Ae,Fe.TRIANGLES,ds.disabled,ht,wt,Vo.disabled,Xa(be.posMatrix,R,Ne.transform.zoom,ne.paint.get("heatmap-intensity")),ln,ne.id,zt.layoutVertexBuffer,zt.indexBuffer,zt.segments,ne.paint,Ne.transform.zoom,vr)}function Gc(Ne,R,ne){let be=Ne.context,Ae=be.gl;be.setColorMode(Ne.colorModeForRenderPass());let Fe=$f(be,R),ht=ne.key,wt=R.heatmapFbos.get(ht);wt&&(be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,wt.colorAttachment.get()),be.activeTexture.set(Ae.TEXTURE1),Fe.bind(Ae.LINEAR,Ae.CLAMP_TO_EDGE),Ne.useProgram("heatmapTexture").draw(be,Ae.TRIANGLES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,Go(Ne,R,0,1),null,R.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments,R.paint,Ne.transform.zoom),wt.destroy(),R.heatmapFbos.delete(ht))}function Ff(Ne,R,ne){var be,Ae;let Fe=Ne.gl,ht=Fe.createTexture();Fe.bindTexture(Fe.TEXTURE_2D,ht),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,Fe.LINEAR),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,Fe.LINEAR);let wt=(be=Ne.HALF_FLOAT)!==null&&be!==void 0?be:Fe.UNSIGNED_BYTE,zt=(Ae=Ne.RGBA16F)!==null&&Ae!==void 0?Ae:Fe.RGBA;Fe.texImage2D(Fe.TEXTURE_2D,0,zt,R,ne,0,Fe.RGBA,wt,null);let Jt=Ne.createFramebuffer(R,ne,!1,!1);return Jt.colorAttachment.set(ht),Jt}function $f(Ne,R){return R.colorRampTexture||(R.colorRampTexture=new u(Ne,R.colorRamp,Ne.gl.RGBA)),R.colorRampTexture}function ec(Ne,R,ne,be,Ae){if(!ne||!be||!be.imageAtlas)return;let Fe=be.imageAtlas.patternPositions,ht=Fe[ne.to.toString()],wt=Fe[ne.from.toString()];if(!ht&&wt&&(ht=wt),!wt&&ht&&(wt=ht),!ht||!wt){let zt=Ae.getPaintProperty(R);ht=Fe[zt],wt=Fe[zt]}ht&&wt&&Ne.setConstantPatternPositions(ht,wt)}function Tf(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context.gl,zt="fill-pattern",Jt=ne.paint.get(zt),hr=Jt&&Jt.constantOr(1),vr=ne.getCrossfadeParameters(),Hr,ln,Ge,$e,st;ht?(ln=hr&&!ne.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",Hr=wt.LINES):(ln=hr?"fillPattern":"fill",Hr=wt.TRIANGLES);let dt=Jt.constantOr(null);for(let St of be){let xt=R.getTile(St);if(hr&&!xt.patternsLoaded())continue;let It=xt.getBucket(ne);if(!It)continue;let rr=It.programConfigurations.get(ne.id),sr=Ne.useProgram(ln,rr),pr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St);hr&&(Ne.context.activeTexture.set(wt.TEXTURE0),xt.imageAtlasTexture.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),rr.updatePaintBuffers(vr)),ec(rr,zt,dt,xt,ne);let kr=pr?St:null,Yr=Ne.translatePosMatrix(kr?kr.posMatrix:St.posMatrix,xt,ne.paint.get("fill-translate"),ne.paint.get("fill-translate-anchor"));if(ht){$e=It.indexBuffer2,st=It.segments2;let _n=[wt.drawingBufferWidth,wt.drawingBufferHeight];Ge=ln==="fillOutlinePattern"&&hr?Ta(Yr,Ne,vr,xt,_n):pi(Yr,_n)}else $e=It.indexBuffer,st=It.segments,Ge=hr?Ui(Yr,Ne,vr,xt):Dn(Yr);sr.draw(Ne.context,Hr,Ae,Ne.stencilModeForClipping(St),Fe,Vo.disabled,Ge,pr,ne.id,It.layoutVertexBuffer,$e,st,ne.paint,Ne.transform.zoom,rr)}}function Pc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt="fill-extrusion-pattern",hr=ne.paint.get(Jt),vr=hr.constantOr(1),Hr=ne.getCrossfadeParameters(),ln=ne.paint.get("fill-extrusion-opacity"),Ge=hr.constantOr(null);for(let $e of be){let st=R.getTile($e),dt=st.getBucket(ne);if(!dt)continue;let St=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData($e),xt=dt.programConfigurations.get(ne.id),It=Ne.useProgram(vr?"fillExtrusionPattern":"fillExtrusion",xt);vr&&(Ne.context.activeTexture.set(zt.TEXTURE0),st.imageAtlasTexture.bind(zt.LINEAR,zt.CLAMP_TO_EDGE),xt.updatePaintBuffers(Hr)),ec(xt,Jt,Ge,st,ne);let rr=Ne.translatePosMatrix($e.posMatrix,st,ne.paint.get("fill-extrusion-translate"),ne.paint.get("fill-extrusion-translate-anchor")),sr=ne.paint.get("fill-extrusion-vertical-gradient"),pr=vr?wn(rr,Ne,sr,ln,$e,Hr,st):Bn(rr,Ne,sr,ln);It.draw(wt,wt.gl.TRIANGLES,Ae,Fe,ht,Vo.backCCW,pr,St,ne.id,dt.layoutVertexBuffer,dt.indexBuffer,dt.segments,ne.paint,Ne.transform.zoom,xt,Ne.style.map.terrain&&dt.centroidVertexBuffer)}}function Wc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=ne.fbo;if(!Jt)return;let hr=Ne.useProgram("hillshade"),vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(R);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Jt.colorAttachment.get()),hr.draw(wt,zt.TRIANGLES,Ae,Fe,ht,Vo.disabled,((Hr,ln,Ge,$e)=>{let st=Ge.paint.get("hillshade-shadow-color"),dt=Ge.paint.get("hillshade-highlight-color"),St=Ge.paint.get("hillshade-accent-color"),xt=Ge.paint.get("hillshade-illumination-direction")*(Math.PI/180);Ge.paint.get("hillshade-illumination-anchor")==="viewport"&&(xt-=Hr.transform.angle);let It=!Hr.options.moving;return{u_matrix:$e?$e.posMatrix:Hr.transform.calculatePosMatrix(ln.tileID.toUnwrapped(),It),u_image:0,u_latrange:pa(0,ln.tileID),u_light:[Ge.paint.get("hillshade-exaggeration"),xt],u_shadow:st,u_highlight:dt,u_accent:St}})(Ne,ne,be,vr?R:null),vr,be.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments)}function Pu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl,zt=R.dem;if(zt&&zt.data){let Jt=zt.dim,hr=zt.stride,vr=zt.getPixels();if(ht.activeTexture.set(wt.TEXTURE1),ht.pixelStoreUnpackPremultiplyAlpha.set(!1),R.demTexture=R.demTexture||Ne.getTileTexture(hr),R.demTexture){let ln=R.demTexture;ln.update(vr,{premultiply:!1}),ln.bind(wt.NEAREST,wt.CLAMP_TO_EDGE)}else R.demTexture=new u(ht,vr,wt.RGBA,{premultiply:!1}),R.demTexture.bind(wt.NEAREST,wt.CLAMP_TO_EDGE);ht.activeTexture.set(wt.TEXTURE0);let Hr=R.fbo;if(!Hr){let ln=new u(ht,{width:Jt,height:Jt,data:null},wt.RGBA);ln.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),Hr=R.fbo=ht.createFramebuffer(Jt,Jt,!0,!1),Hr.colorAttachment.set(ln.texture)}ht.bindFramebuffer.set(Hr.framebuffer),ht.viewport.set([0,0,Jt,Jt]),Ne.useProgram("hillshadePrepare").draw(ht,wt.TRIANGLES,be,Ae,Fe,Vo.disabled,((ln,Ge)=>{let $e=Ge.stride,st=t.H();return t.aP(st,0,t.X,-t.X,0,0,1),t.J(st,st,[0,-t.X,0]),{u_matrix:st,u_image:1,u_dimension:[$e,$e],u_zoom:ln.overscaledZ,u_unpack:Ge.getUnpackVector()}})(R.tileID,zt),null,ne.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments),R.needsHillshadePrepare=!1}}function cf(Ne,R,ne,be,Ae,Fe){let ht=be.paint.get("raster-fade-duration");if(!Fe&&ht>0){let wt=i.now(),zt=(wt-Ne.timeAdded)/ht,Jt=R?(wt-R.timeAdded)/ht:-1,hr=ne.getSource(),vr=Ae.coveringZoomLevel({tileSize:hr.tileSize,roundZoom:hr.roundZoom}),Hr=!R||Math.abs(R.tileID.overscaledZ-vr)>Math.abs(Ne.tileID.overscaledZ-vr),ln=Hr&&Ne.refreshedUponExpiration?1:t.ac(Hr?zt:1-Jt,0,1);return Ne.refreshedUponExpiration&&zt>=1&&(Ne.refreshedUponExpiration=!1),R?{opacity:1,mix:1-ln}:{opacity:ln,mix:0}}return{opacity:1,mix:0}}let Ic=new t.aM(1,0,0,1),Ks=new t.aM(0,1,0,1),Of=new t.aM(0,0,1,1),Eh=new t.aM(1,0,1,1),Qf=new t.aM(0,1,1,1);function af(Ne,R,ne,be){Iu(Ne,0,R+ne/2,Ne.transform.width,ne,be)}function lh(Ne,R,ne,be){Iu(Ne,R-ne/2,0,ne,Ne.transform.height,be)}function Iu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl;wt.enable(wt.SCISSOR_TEST),wt.scissor(R*Ne.pixelRatio,ne*Ne.pixelRatio,be*Ne.pixelRatio,Ae*Ne.pixelRatio),ht.clear({color:Fe}),wt.disable(wt.SCISSOR_TEST)}function eh(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=ne.posMatrix,ht=Ne.useProgram("debug"),wt=ds.disabled,zt=Bs.disabled,Jt=Ne.colorModeForRenderPass(),hr="$debug",vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(ne);be.activeTexture.set(Ae.TEXTURE0);let Hr=R.getTileByID(ne.key).latestRawTileData,ln=Math.floor((Hr&&Hr.byteLength||0)/1024),Ge=R.getTile(ne).tileSize,$e=512/Math.min(Ge,512)*(ne.overscaledZ/Ne.transform.zoom)*.5,st=ne.canonical.toString();ne.overscaledZ!==ne.canonical.z&&(st+=` => ${ne.overscaledZ}`),function(dt,St){dt.initDebugOverlayCanvas();let xt=dt.debugOverlayCanvas,It=dt.context.gl,rr=dt.debugOverlayCanvas.getContext("2d");rr.clearRect(0,0,xt.width,xt.height),rr.shadowColor="white",rr.shadowBlur=2,rr.lineWidth=1.5,rr.strokeStyle="white",rr.textBaseline="top",rr.font="bold 36px Open Sans, sans-serif",rr.fillText(St,5,5),rr.strokeText(St,5,5),dt.debugOverlayTexture.update(xt),dt.debugOverlayTexture.bind(It.LINEAR,It.CLAMP_TO_EDGE)}(Ne,`${st} ${ln}kB`),ht.draw(be,Ae.TRIANGLES,wt,zt,ll.alphaBlended,Vo.disabled,to(Fe,t.aM.transparent,$e),null,hr,Ne.debugBuffer,Ne.quadTriangleIndexBuffer,Ne.debugSegments),ht.draw(be,Ae.LINE_STRIP,wt,zt,Jt,Vo.disabled,to(Fe,t.aM.red),vr,hr,Ne.debugBuffer,Ne.tileBorderIndexBuffer,Ne.debugSegments)}function su(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=Ne.colorModeForRenderPass(),ht=new ds(Ae.LEQUAL,ds.ReadWrite,Ne.depthRangeFor3D),wt=Ne.useProgram("terrain"),zt=R.getTerrainMesh();be.bindFramebuffer.set(null),be.viewport.set([0,0,Ne.width,Ne.height]);for(let Jt of ne){let hr=Ne.renderToTexture.getTexture(Jt),vr=R.getTerrainData(Jt.tileID);be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,hr.texture);let Hr=Ne.transform.calculatePosMatrix(Jt.tileID.toUnwrapped()),ln=R.getMeshFrameDelta(Ne.transform.zoom),Ge=Ne.transform.calculateFogMatrix(Jt.tileID.toUnwrapped()),$e=yr(Hr,ln,Ge,Ne.style.sky,Ne.transform.pitch);wt.draw(be,Ae.TRIANGLES,ht,Bs.disabled,Fe,Vo.backCCW,$e,vr,"terrain",zt.vertexBuffer,zt.indexBuffer,zt.segments)}}class Ru{constructor(R,ne,be){this.vertexBuffer=R,this.indexBuffer=ne,this.segments=be}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}class yc{constructor(R,ne){this.context=new Nh(R),this.transform=ne,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:t.an(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Et.maxUnderzooming+Et.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Lr}resize(R,ne,be){if(this.width=Math.floor(R*be),this.height=Math.floor(ne*be),this.pixelRatio=be,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(let Ae of this.style._order)this.style._layers[Ae].resize()}setup(){let R=this.context,ne=new t.aX;ne.emplaceBack(0,0),ne.emplaceBack(t.X,0),ne.emplaceBack(0,t.X),ne.emplaceBack(t.X,t.X),this.tileExtentBuffer=R.createVertexBuffer(ne,vn.members),this.tileExtentSegments=t.a0.simpleSegment(0,0,4,2);let be=new t.aX;be.emplaceBack(0,0),be.emplaceBack(t.X,0),be.emplaceBack(0,t.X),be.emplaceBack(t.X,t.X),this.debugBuffer=R.createVertexBuffer(be,vn.members),this.debugSegments=t.a0.simpleSegment(0,0,4,5);let Ae=new t.$;Ae.emplaceBack(0,0,0,0),Ae.emplaceBack(t.X,0,t.X,0),Ae.emplaceBack(0,t.X,0,t.X),Ae.emplaceBack(t.X,t.X,t.X,t.X),this.rasterBoundsBuffer=R.createVertexBuffer(Ae,Ye.members),this.rasterBoundsSegments=t.a0.simpleSegment(0,0,4,2);let Fe=new t.aX;Fe.emplaceBack(0,0),Fe.emplaceBack(1,0),Fe.emplaceBack(0,1),Fe.emplaceBack(1,1),this.viewportBuffer=R.createVertexBuffer(Fe,vn.members),this.viewportSegments=t.a0.simpleSegment(0,0,4,2);let ht=new t.aZ;ht.emplaceBack(0),ht.emplaceBack(1),ht.emplaceBack(3),ht.emplaceBack(2),ht.emplaceBack(0),this.tileBorderIndexBuffer=R.createIndexBuffer(ht);let wt=new t.aY;wt.emplaceBack(0,1,2),wt.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=R.createIndexBuffer(wt);let zt=this.context.gl;this.stencilClearMode=new Bs({func:zt.ALWAYS,mask:0},0,255,zt.ZERO,zt.ZERO,zt.ZERO)}clearStencil(){let R=this.context,ne=R.gl;this.nextStencilID=1,this.currentStencilSource=void 0;let be=t.H();t.aP(be,0,this.width,this.height,0,0,1),t.K(be,be,[ne.drawingBufferWidth,ne.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(R,ne.TRIANGLES,ds.disabled,this.stencilClearMode,ll.disabled,Vo.disabled,yo(be),null,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(R,ne){if(this.currentStencilSource===R.source||!R.isTileClipped()||!ne||!ne.length)return;this.currentStencilSource=R.source;let be=this.context,Ae=be.gl;this.nextStencilID+ne.length>256&&this.clearStencil(),be.setColorMode(ll.disabled),be.setDepthMode(ds.disabled);let Fe=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(let ht of ne){let wt=this._tileClippingMaskIDs[ht.key]=this.nextStencilID++,zt=this.style.map.terrain&&this.style.map.terrain.getTerrainData(ht);Fe.draw(be,Ae.TRIANGLES,ds.disabled,new Bs({func:Ae.ALWAYS,mask:0},wt,255,Ae.KEEP,Ae.KEEP,Ae.REPLACE),ll.disabled,Vo.disabled,yo(ht.posMatrix),zt,"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();let R=this.nextStencilID++,ne=this.context.gl;return new Bs({func:ne.NOTEQUAL,mask:255},R,255,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilModeForClipping(R){let ne=this.context.gl;return new Bs({func:ne.EQUAL,mask:255},this._tileClippingMaskIDs[R.key],0,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilConfigForOverlap(R){let ne=this.context.gl,be=R.sort((ht,wt)=>wt.overscaledZ-ht.overscaledZ),Ae=be[be.length-1].overscaledZ,Fe=be[0].overscaledZ-Ae+1;if(Fe>1){this.currentStencilSource=void 0,this.nextStencilID+Fe>256&&this.clearStencil();let ht={};for(let wt=0;wt({u_sky_color:dt.properties.get("sky-color"),u_horizon_color:dt.properties.get("horizon-color"),u_horizon:(St.height/2+St.getHorizon())*xt,u_sky_horizon_blend:dt.properties.get("sky-horizon-blend")*St.height/2*xt}))(Jt,zt.style.map.transform,zt.pixelRatio),ln=new ds(vr.LEQUAL,ds.ReadWrite,[0,1]),Ge=Bs.disabled,$e=zt.colorModeForRenderPass(),st=zt.useProgram("sky");if(!Jt.mesh){let dt=new t.aX;dt.emplaceBack(-1,-1),dt.emplaceBack(1,-1),dt.emplaceBack(1,1),dt.emplaceBack(-1,1);let St=new t.aY;St.emplaceBack(0,1,2),St.emplaceBack(0,2,3),Jt.mesh=new Ru(hr.createVertexBuffer(dt,vn.members),hr.createIndexBuffer(St),t.a0.simpleSegment(0,0,dt.length,St.length))}st.draw(hr,vr.TRIANGLES,ln,Ge,$e,Vo.disabled,Hr,void 0,"sky",Jt.mesh.vertexBuffer,Jt.mesh.indexBuffer,Jt.mesh.segments)}(this,this.style.sky),this._showOverdrawInspector=ne.showOverdrawInspector,this.depthRangeFor3D=[0,1-(R._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=be.length-1;this.currentLayer>=0;this.currentLayer--){let zt=this.style._layers[be[this.currentLayer]],Jt=Ae[zt.source],hr=Fe[zt.source];this._renderTileClippingMasks(zt,hr),this.renderLayer(this,Jt,zt,hr)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayerst.source&&!st.isHidden(hr)?[Jt.sourceCaches[st.source]]:[]),ln=Hr.filter(st=>st.getSource().type==="vector"),Ge=Hr.filter(st=>st.getSource().type!=="vector"),$e=st=>{(!vr||vr.getSource().maxzoom$e(st)),vr||Ge.forEach(st=>$e(st)),vr}(this.style,this.transform.zoom);zt&&function(Jt,hr,vr){for(let Hr=0;Hr0),Ae&&(t.b0(ne,be),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.sourceCache.getRenderableTiles(),ln=Fe.useProgram("terrainDepth");wt.bindFramebuffer.set(ht.getFramebuffer("depth").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1});for(let Ge of Hr){let $e=ht.getTerrainData(Ge.tileID),st={u_matrix:Fe.transform.calculatePosMatrix(Ge.tileID.toUnwrapped()),u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};ln.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,st,$e,"terrain",vr.vertexBuffer,vr.indexBuffer,vr.segments)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain),function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.getCoordsTexture(),ln=ht.sourceCache.getRenderableTiles(),Ge=Fe.useProgram("terrainCoords");wt.bindFramebuffer.set(ht.getFramebuffer("coords").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1}),ht.coordsIndex=[];for(let $e of ln){let st=ht.getTerrainData($e.tileID);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Hr.texture);let dt={u_matrix:Fe.transform.calculatePosMatrix($e.tileID.toUnwrapped()),u_terrain_coords_id:(255-ht.coordsIndex.length)/255,u_texture:0,u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};Ge.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,dt,st,"terrain",vr.vertexBuffer,vr.indexBuffer,vr.segments),ht.coordsIndex.push($e.tileID.key)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain))}renderLayer(R,ne,be,Ae){if(!be.isHidden(this.transform.zoom)&&(be.type==="background"||be.type==="custom"||(Ae||[]).length))switch(this.id=be.id,be.type){case"symbol":(function(Fe,ht,wt,zt,Jt){if(Fe.renderPass!=="translucent")return;let hr=Bs.disabled,vr=Fe.colorModeForRenderPass();(wt._unevaluatedLayout.hasValue("text-variable-anchor")||wt._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(Hr,ln,Ge,$e,st,dt,St,xt,It){let rr=ln.transform,sr=ui(),pr=st==="map",kr=dt==="map";for(let Yr of Hr){let _n=$e.getTile(Yr),Mn=_n.getBucket(Ge);if(!Mn||!Mn.text||!Mn.text.segments.get().length)continue;let Un=t.ag(Mn.textSizeData,rr.zoom),li=Rn(_n,1,ln.transform.zoom),ki=gr(Yr.posMatrix,kr,pr,ln.transform,li),Ci=Ge.layout.get("icon-text-fit")!=="none"&&Mn.hasIconData();if(Un){let Zi=Math.pow(2,rr.zoom-_n.tileID.overscaledZ),ya=ln.style.map.terrain?(Va,Io)=>ln.style.map.terrain.getElevation(Yr,Va,Io):null,ro=sr.translatePosition(rr,_n,St,xt);nf(Mn,pr,kr,It,rr,ki,Yr.posMatrix,Zi,Un,Ci,sr,ro,Yr.toUnwrapped(),ya)}}}(zt,Fe,wt,ht,wt.layout.get("text-rotation-alignment"),wt.layout.get("text-pitch-alignment"),wt.paint.get("text-translate"),wt.paint.get("text-translate-anchor"),Jt),wt.paint.get("icon-opacity").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!1,wt.paint.get("icon-translate"),wt.paint.get("icon-translate-anchor"),wt.layout.get("icon-rotation-alignment"),wt.layout.get("icon-pitch-alignment"),wt.layout.get("icon-keep-upright"),hr,vr),wt.paint.get("text-opacity").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!0,wt.paint.get("text-translate"),wt.paint.get("text-translate-anchor"),wt.layout.get("text-rotation-alignment"),wt.layout.get("text-pitch-alignment"),wt.layout.get("text-keep-upright"),hr,vr),ht.map.showCollisionBoxes&&(Qu(Fe,ht,wt,zt,!0),Qu(Fe,ht,wt,zt,!1))})(R,ne,be,Ae,this.style.placement.variableOffsets);break;case"circle":(function(Fe,ht,wt,zt){if(Fe.renderPass!=="translucent")return;let Jt=wt.paint.get("circle-opacity"),hr=wt.paint.get("circle-stroke-width"),vr=wt.paint.get("circle-stroke-opacity"),Hr=!wt.layout.get("circle-sort-key").isConstant();if(Jt.constantOr(1)===0&&(hr.constantOr(1)===0||vr.constantOr(1)===0))return;let ln=Fe.context,Ge=ln.gl,$e=Fe.depthModeForSublayer(0,ds.ReadOnly),st=Bs.disabled,dt=Fe.colorModeForRenderPass(),St=[];for(let xt=0;xtxt.sortKey-It.sortKey);for(let xt of St){let{programConfiguration:It,program:rr,layoutVertexBuffer:sr,indexBuffer:pr,uniformValues:kr,terrainData:Yr}=xt.state;rr.draw(ln,Ge.TRIANGLES,$e,st,dt,Vo.disabled,kr,Yr,wt.id,sr,pr,xt.segments,wt.paint,Fe.transform.zoom,It)}})(R,ne,be,Ae);break;case"heatmap":(function(Fe,ht,wt,zt){if(wt.paint.get("heatmap-opacity")===0)return;let Jt=Fe.context;if(Fe.style.map.terrain){for(let hr of zt){let vr=ht.getTile(hr);ht.hasRenderableParent(hr)||(Fe.renderPass==="offscreen"?wf(Fe,vr,wt,hr):Fe.renderPass==="translucent"&&Gc(Fe,wt,hr))}Jt.viewport.set([0,0,Fe.width,Fe.height])}else Fe.renderPass==="offscreen"?function(hr,vr,Hr,ln){let Ge=hr.context,$e=Ge.gl,st=Bs.disabled,dt=new ll([$e.ONE,$e.ONE],t.aM.transparent,[!0,!0,!0,!0]);(function(St,xt,It){let rr=St.gl;St.activeTexture.set(rr.TEXTURE1),St.viewport.set([0,0,xt.width/4,xt.height/4]);let sr=It.heatmapFbos.get(t.aU);sr?(rr.bindTexture(rr.TEXTURE_2D,sr.colorAttachment.get()),St.bindFramebuffer.set(sr.framebuffer)):(sr=Ff(St,xt.width/4,xt.height/4),It.heatmapFbos.set(t.aU,sr))})(Ge,hr,Hr),Ge.clear({color:t.aM.transparent});for(let St=0;St20&&hr.texParameterf(hr.TEXTURE_2D,Jt.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,Jt.extTextureFilterAnisotropicMax);let Mn=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(St),Un=Mn?St:null,li=Un?Un.posMatrix:Fe.transform.calculatePosMatrix(St.toUnwrapped(),dt),ki=Yo(li,Yr||[0,0],kr||1,pr,wt);vr instanceof it?Hr.draw(Jt,hr.TRIANGLES,xt,Bs.disabled,ln,Vo.disabled,ki,Mn,wt.id,vr.boundsBuffer,Fe.quadTriangleIndexBuffer,vr.boundsSegments):Hr.draw(Jt,hr.TRIANGLES,xt,Ge[St.overscaledZ],ln,Vo.disabled,ki,Mn,wt.id,Fe.rasterBoundsBuffer,Fe.quadTriangleIndexBuffer,Fe.rasterBoundsSegments)}})(R,ne,be,Ae);break;case"background":(function(Fe,ht,wt,zt){let Jt=wt.paint.get("background-color"),hr=wt.paint.get("background-opacity");if(hr===0)return;let vr=Fe.context,Hr=vr.gl,ln=Fe.transform,Ge=ln.tileSize,$e=wt.paint.get("background-pattern");if(Fe.isPatternMissing($e))return;let st=!$e&&Jt.a===1&&hr===1&&Fe.opaquePassEnabledForLayer()?"opaque":"translucent";if(Fe.renderPass!==st)return;let dt=Bs.disabled,St=Fe.depthModeForSublayer(0,st==="opaque"?ds.ReadWrite:ds.ReadOnly),xt=Fe.colorModeForRenderPass(),It=Fe.useProgram($e?"backgroundPattern":"background"),rr=zt||ln.coveringTiles({tileSize:Ge,terrain:Fe.style.map.terrain});$e&&(vr.activeTexture.set(Hr.TEXTURE0),Fe.imageManager.bind(Fe.context));let sr=wt.getCrossfadeParameters();for(let pr of rr){let kr=zt?pr.posMatrix:Fe.transform.calculatePosMatrix(pr.toUnwrapped()),Yr=$e?Vs(kr,hr,Fe,$e,{tileID:pr,tileSize:Ge},sr):Ls(kr,hr,Jt),_n=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(pr);It.draw(vr,Hr.TRIANGLES,St,dt,xt,Vo.disabled,Yr,_n,wt.id,Fe.tileExtentBuffer,Fe.quadTriangleIndexBuffer,Fe.tileExtentSegments)}})(R,0,be,Ae);break;case"custom":(function(Fe,ht,wt){let zt=Fe.context,Jt=wt.implementation;if(Fe.renderPass==="offscreen"){let hr=Jt.prerender;hr&&(Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),hr.call(Jt,zt.gl,Fe.transform.customLayerMatrix()),zt.setDirty(),Fe.setBaseState())}else if(Fe.renderPass==="translucent"){Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),zt.setStencilMode(Bs.disabled);let hr=Jt.renderingMode==="3d"?new ds(Fe.context.gl.LEQUAL,ds.ReadWrite,Fe.depthRangeFor3D):Fe.depthModeForSublayer(0,ds.ReadOnly);zt.setDepthMode(hr),Jt.render(zt.gl,Fe.transform.customLayerMatrix(),{farZ:Fe.transform.farZ,nearZ:Fe.transform.nearZ,fov:Fe.transform._fov,modelViewProjectionMatrix:Fe.transform.modelViewProjectionMatrix,projectionMatrix:Fe.transform.projectionMatrix}),zt.setDirty(),Fe.setBaseState(),zt.bindFramebuffer.set(null)}})(R,0,be)}}translatePosMatrix(R,ne,be,Ae,Fe){if(!be[0]&&!be[1])return R;let ht=Fe?Ae==="map"?this.transform.angle:0:Ae==="viewport"?-this.transform.angle:0;if(ht){let Jt=Math.sin(ht),hr=Math.cos(ht);be=[be[0]*hr-be[1]*Jt,be[0]*Jt+be[1]*hr]}let wt=[Fe?be[0]:Rn(ne,be[0],this.transform.zoom),Fe?be[1]:Rn(ne,be[1],this.transform.zoom),0],zt=new Float32Array(16);return t.J(zt,R,wt),zt}saveTileTexture(R){let ne=this._tileTextures[R.size[0]];ne?ne.push(R):this._tileTextures[R.size[0]]=[R]}getTileTexture(R){let ne=this._tileTextures[R];return ne&&ne.length>0?ne.pop():null}isPatternMissing(R){if(!R)return!1;if(!R.from||!R.to)return!0;let ne=this.imageManager.getPattern(R.from.toString()),be=this.imageManager.getPattern(R.to.toString());return!ne||!be}useProgram(R,ne){this.cache=this.cache||{};let be=R+(ne?ne.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"")+(this.style.map.terrain?"/terrain":"");return this.cache[be]||(this.cache[be]=new An(this.context,gn[R],ne,Ws[R],this._showOverdrawInspector,this.style.map.terrain)),this.cache[be]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){let R=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(R.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new u(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){let{drawingBufferWidth:R,drawingBufferHeight:ne}=this.context.gl;return this.width!==R||this.height!==ne}}class Dl{constructor(R,ne){this.points=R,this.planes=ne}static fromInvProjectionMatrix(R,ne,be){let Ae=Math.pow(2,be),Fe=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(wt=>{let zt=1/(wt=t.af([],wt,R))[3]/ne*Ae;return t.b1(wt,wt,[zt,zt,1/wt[3],zt])}),ht=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(wt=>{let zt=function(Hr,ln){var Ge=ln[0],$e=ln[1],st=ln[2],dt=Ge*Ge+$e*$e+st*st;return dt>0&&(dt=1/Math.sqrt(dt)),Hr[0]=ln[0]*dt,Hr[1]=ln[1]*dt,Hr[2]=ln[2]*dt,Hr}([],function(Hr,ln,Ge){var $e=ln[0],st=ln[1],dt=ln[2],St=Ge[0],xt=Ge[1],It=Ge[2];return Hr[0]=st*It-dt*xt,Hr[1]=dt*St-$e*It,Hr[2]=$e*xt-st*St,Hr}([],E([],Fe[wt[0]],Fe[wt[1]]),E([],Fe[wt[2]],Fe[wt[1]]))),Jt=-((hr=zt)[0]*(vr=Fe[wt[1]])[0]+hr[1]*vr[1]+hr[2]*vr[2]);var hr,vr;return zt.concat(Jt)});return new Dl(Fe,ht)}}class Rc{constructor(R,ne){this.min=R,this.max=ne,this.center=function(be,Ae,Fe){return be[0]=.5*Ae[0],be[1]=.5*Ae[1],be[2]=.5*Ae[2],be}([],function(be,Ae,Fe){return be[0]=Ae[0]+Fe[0],be[1]=Ae[1]+Fe[1],be[2]=Ae[2]+Fe[2],be}([],this.min,this.max))}quadrant(R){let ne=[R%2==0,R<2],be=w(this.min),Ae=w(this.max);for(let Fe=0;Fe=0&&ht++;if(ht===0)return 0;ht!==ne.length&&(be=!1)}if(be)return 2;for(let Ae=0;Ae<3;Ae++){let Fe=Number.MAX_VALUE,ht=-Number.MAX_VALUE;for(let wt=0;wtthis.max[Ae]-this.min[Ae])return 0}return 1}}class tc{constructor(R=0,ne=0,be=0,Ae=0){if(isNaN(R)||R<0||isNaN(ne)||ne<0||isNaN(be)||be<0||isNaN(Ae)||Ae<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=R,this.bottom=ne,this.left=be,this.right=Ae}interpolate(R,ne,be){return ne.top!=null&&R.top!=null&&(this.top=t.y.number(R.top,ne.top,be)),ne.bottom!=null&&R.bottom!=null&&(this.bottom=t.y.number(R.bottom,ne.bottom,be)),ne.left!=null&&R.left!=null&&(this.left=t.y.number(R.left,ne.left,be)),ne.right!=null&&R.right!=null&&(this.right=t.y.number(R.right,ne.right,be)),this}getCenter(R,ne){let be=t.ac((this.left+R-this.right)/2,0,R),Ae=t.ac((this.top+ne-this.bottom)/2,0,ne);return new t.P(be,Ae)}equals(R){return this.top===R.top&&this.bottom===R.bottom&&this.left===R.left&&this.right===R.right}clone(){return new tc(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}let xu=85.051129;class Sl{constructor(R,ne,be,Ae,Fe){this.tileSize=512,this._renderWorldCopies=Fe===void 0||!!Fe,this._minZoom=R||0,this._maxZoom=ne||22,this._minPitch=be??0,this._maxPitch=Ae??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.N(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new tc,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={},this.minElevationForCurrentTile=0}clone(){let R=new Sl(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return R.apply(this),R}apply(R){this.tileSize=R.tileSize,this.latRange=R.latRange,this.lngRange=R.lngRange,this.width=R.width,this.height=R.height,this._center=R._center,this._elevation=R._elevation,this.minElevationForCurrentTile=R.minElevationForCurrentTile,this.zoom=R.zoom,this.angle=R.angle,this._fov=R._fov,this._pitch=R._pitch,this._unmodified=R._unmodified,this._edgeInsets=R._edgeInsets.clone(),this._calcMatrices()}get minZoom(){return this._minZoom}set minZoom(R){this._minZoom!==R&&(this._minZoom=R,this.zoom=Math.max(this.zoom,R))}get maxZoom(){return this._maxZoom}set maxZoom(R){this._maxZoom!==R&&(this._maxZoom=R,this.zoom=Math.min(this.zoom,R))}get minPitch(){return this._minPitch}set minPitch(R){this._minPitch!==R&&(this._minPitch=R,this.pitch=Math.max(this.pitch,R))}get maxPitch(){return this._maxPitch}set maxPitch(R){this._maxPitch!==R&&(this._maxPitch=R,this.pitch=Math.min(this.pitch,R))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(R){R===void 0?R=!0:R===null&&(R=!1),this._renderWorldCopies=R}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(R){let ne=-t.b3(R,-180,180)*Math.PI/180;this.angle!==ne&&(this._unmodified=!1,this.angle=ne,this._calcMatrices(),this.rotationMatrix=function(){var be=new t.A(4);return t.A!=Float32Array&&(be[1]=0,be[2]=0),be[0]=1,be[3]=1,be}(),function(be,Ae,Fe){var ht=Ae[0],wt=Ae[1],zt=Ae[2],Jt=Ae[3],hr=Math.sin(Fe),vr=Math.cos(Fe);be[0]=ht*vr+zt*hr,be[1]=wt*vr+Jt*hr,be[2]=ht*-hr+zt*vr,be[3]=wt*-hr+Jt*vr}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(R){let ne=t.ac(R,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ne&&(this._unmodified=!1,this._pitch=ne,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(R){R=Math.max(.01,Math.min(60,R)),this._fov!==R&&(this._unmodified=!1,this._fov=R/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(R){let ne=Math.min(Math.max(R,this.minZoom),this.maxZoom);this._zoom!==ne&&(this._unmodified=!1,this._zoom=ne,this.tileZoom=Math.max(0,Math.floor(ne)),this.scale=this.zoomScale(ne),this._constrain(),this._calcMatrices())}get center(){return this._center}set center(R){R.lat===this._center.lat&&R.lng===this._center.lng||(this._unmodified=!1,this._center=R,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(R){R!==this._elevation&&(this._elevation=R,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(R){this._edgeInsets.equals(R)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,R,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(R){return this._edgeInsets.equals(R)}interpolatePadding(R,ne,be){this._unmodified=!1,this._edgeInsets.interpolate(R,ne,be),this._constrain(),this._calcMatrices()}coveringZoomLevel(R){let ne=(R.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/R.tileSize));return Math.max(0,ne)}getVisibleUnwrappedCoordinates(R){let ne=[new t.b4(0,R)];if(this._renderWorldCopies){let be=this.pointCoordinate(new t.P(0,0)),Ae=this.pointCoordinate(new t.P(this.width,0)),Fe=this.pointCoordinate(new t.P(this.width,this.height)),ht=this.pointCoordinate(new t.P(0,this.height)),wt=Math.floor(Math.min(be.x,Ae.x,Fe.x,ht.x)),zt=Math.floor(Math.max(be.x,Ae.x,Fe.x,ht.x)),Jt=1;for(let hr=wt-Jt;hr<=zt+Jt;hr++)hr!==0&&ne.push(new t.b4(hr,R))}return ne}coveringTiles(R){var ne,be;let Ae=this.coveringZoomLevel(R),Fe=Ae;if(R.minzoom!==void 0&&AeR.maxzoom&&(Ae=R.maxzoom);let ht=this.pointCoordinate(this.getCameraPoint()),wt=t.Z.fromLngLat(this.center),zt=Math.pow(2,Ae),Jt=[zt*ht.x,zt*ht.y,0],hr=[zt*wt.x,zt*wt.y,0],vr=Dl.fromInvProjectionMatrix(this.invModelViewProjectionMatrix,this.worldSize,Ae),Hr=R.minzoom||0;!R.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(Hr=Ae);let ln=R.terrain?2/Math.min(this.tileSize,R.tileSize)*this.tileSize:3,Ge=xt=>({aabb:new Rc([xt*zt,0,0],[(xt+1)*zt,zt,0]),zoom:0,x:0,y:0,wrap:xt,fullyVisible:!1}),$e=[],st=[],dt=Ae,St=R.reparseOverscaled?Fe:Ae;if(this._renderWorldCopies)for(let xt=1;xt<=3;xt++)$e.push(Ge(-xt)),$e.push(Ge(xt));for($e.push(Ge(0));$e.length>0;){let xt=$e.pop(),It=xt.x,rr=xt.y,sr=xt.fullyVisible;if(!sr){let Mn=xt.aabb.intersects(vr);if(Mn===0)continue;sr=Mn===2}let pr=R.terrain?Jt:hr,kr=xt.aabb.distanceX(pr),Yr=xt.aabb.distanceY(pr),_n=Math.max(Math.abs(kr),Math.abs(Yr));if(xt.zoom===dt||_n>ln+(1<=Hr){let Mn=dt-xt.zoom,Un=Jt[0]-.5-(It<>1),ki=xt.zoom+1,Ci=xt.aabb.quadrant(Mn);if(R.terrain){let Zi=new t.S(ki,xt.wrap,ki,Un,li),ya=R.terrain.getMinMaxElevation(Zi),ro=(ne=ya.minElevation)!==null&&ne!==void 0?ne:this.elevation,Va=(be=ya.maxElevation)!==null&&be!==void 0?be:this.elevation;Ci=new Rc([Ci.min[0],Ci.min[1],ro],[Ci.max[0],Ci.max[1],Va])}$e.push({aabb:Ci,zoom:ki,x:Un,y:li,wrap:xt.wrap,fullyVisible:sr})}}return st.sort((xt,It)=>xt.distanceSq-It.distanceSq).map(xt=>xt.tileID)}resize(R,ne){this.width=R,this.height=ne,this.pixelsToGLUnits=[2/R,-2/ne],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(R){return Math.pow(2,R)}scaleZoom(R){return Math.log(R)/Math.LN2}project(R){let ne=t.ac(R.lat,-85.051129,xu);return new t.P(t.O(R.lng)*this.worldSize,t.Q(ne)*this.worldSize)}unproject(R){return new t.Z(R.x/this.worldSize,R.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(R){let ne=this.elevation,be=Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter,Ae=this.pointLocation(this.centerPoint,R),Fe=R.getElevationForLngLatZoom(Ae,this.tileZoom);if(!(this.elevation-Fe))return;let ht=be+ne-Fe,wt=Math.cos(this._pitch)*this.cameraToCenterDistance/ht/t.b5(1,Ae.lat),zt=this.scaleZoom(wt/this.tileSize);this._elevation=Fe,this._center=Ae,this.zoom=zt}setLocationAtPoint(R,ne){let be=this.pointCoordinate(ne),Ae=this.pointCoordinate(this.centerPoint),Fe=this.locationCoordinate(R),ht=new t.Z(Fe.x-(be.x-Ae.x),Fe.y-(be.y-Ae.y));this.center=this.coordinateLocation(ht),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(R,ne){return ne?this.coordinatePoint(this.locationCoordinate(R),ne.getElevationForLngLatZoom(R,this.tileZoom),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(R))}pointLocation(R,ne){return this.coordinateLocation(this.pointCoordinate(R,ne))}locationCoordinate(R){return t.Z.fromLngLat(R)}coordinateLocation(R){return R&&R.toLngLat()}pointCoordinate(R,ne){if(ne){let Hr=ne.pointCoordinate(R);if(Hr!=null)return Hr}let be=[R.x,R.y,0,1],Ae=[R.x,R.y,1,1];t.af(be,be,this.pixelMatrixInverse),t.af(Ae,Ae,this.pixelMatrixInverse);let Fe=be[3],ht=Ae[3],wt=be[1]/Fe,zt=Ae[1]/ht,Jt=be[2]/Fe,hr=Ae[2]/ht,vr=Jt===hr?0:(0-Jt)/(hr-Jt);return new t.Z(t.y.number(be[0]/Fe,Ae[0]/ht,vr)/this.worldSize,t.y.number(wt,zt,vr)/this.worldSize)}coordinatePoint(R,ne=0,be=this.pixelMatrix){let Ae=[R.x*this.worldSize,R.y*this.worldSize,ne,1];return t.af(Ae,Ae,be),new t.P(Ae[0]/Ae[3],Ae[1]/Ae[3])}getBounds(){let R=Math.max(0,this.height/2-this.getHorizon());return new ie().extend(this.pointLocation(new t.P(0,R))).extend(this.pointLocation(new t.P(this.width,R))).extend(this.pointLocation(new t.P(this.width,this.height))).extend(this.pointLocation(new t.P(0,this.height)))}getMaxBounds(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new ie([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(R){R?(this.lngRange=[R.getWest(),R.getEast()],this.latRange=[R.getSouth(),R.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-85.051129,xu])}calculateTileMatrix(R){let ne=R.canonical,be=this.worldSize/this.zoomScale(ne.z),Ae=ne.x+Math.pow(2,ne.z)*R.wrap,Fe=t.an(new Float64Array(16));return t.J(Fe,Fe,[Ae*be,ne.y*be,0]),t.K(Fe,Fe,[be/t.X,be/t.X,1]),Fe}calculatePosMatrix(R,ne=!1){let be=R.key,Ae=ne?this._alignedPosMatrixCache:this._posMatrixCache;if(Ae[be])return Ae[be];let Fe=this.calculateTileMatrix(R);return t.L(Fe,ne?this.alignedModelViewProjectionMatrix:this.modelViewProjectionMatrix,Fe),Ae[be]=new Float32Array(Fe),Ae[be]}calculateFogMatrix(R){let ne=R.key,be=this._fogMatrixCache;if(be[ne])return be[ne];let Ae=this.calculateTileMatrix(R);return t.L(Ae,this.fogMatrix,Ae),be[ne]=new Float32Array(Ae),be[ne]}customLayerMatrix(){return this.mercatorMatrix.slice()}getConstrained(R,ne){ne=t.ac(+ne,this.minZoom,this.maxZoom);let be={center:new t.N(R.lng,R.lat),zoom:ne},Ae=this.lngRange;if(!this._renderWorldCopies&&Ae===null){let xt=179.9999999999;Ae=[-xt,xt]}let Fe=this.tileSize*this.zoomScale(be.zoom),ht=0,wt=Fe,zt=0,Jt=Fe,hr=0,vr=0,{x:Hr,y:ln}=this.size;if(this.latRange){let xt=this.latRange;ht=t.Q(xt[1])*Fe,wt=t.Q(xt[0])*Fe,wt-htwt&&(dt=wt-xt)}if(Ae){let xt=(zt+Jt)/2,It=Ge;this._renderWorldCopies&&(It=t.b3(Ge,xt-Fe/2,xt+Fe/2));let rr=Hr/2;It-rrJt&&(st=Jt-rr)}if(st!==void 0||dt!==void 0){let xt=new t.P(st??Ge,dt??$e);be.center=this.unproject.call({worldSize:Fe},xt).wrap()}return be}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;let R=this._unmodified,{center:ne,zoom:be}=this.getConstrained(this.center,this.zoom);this.center=ne,this.zoom=be,this._unmodified=R,this._constraining=!1}_calcMatrices(){if(!this.height)return;let R=this.centerOffset,ne=this.point.x,be=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=t.b5(1,this.center.lat)*this.worldSize;let Ae=t.an(new Float64Array(16));t.K(Ae,Ae,[this.width/2,-this.height/2,1]),t.J(Ae,Ae,[1,-1,0]),this.labelPlaneMatrix=Ae,Ae=t.an(new Float64Array(16)),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[-1,-1,0]),t.K(Ae,Ae,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ae;let Fe=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch),ht=Math.min(this.elevation,this.minElevationForCurrentTile),wt=Fe-ht*this._pixelPerMeter/Math.cos(this._pitch),zt=ht<0?wt:Fe,Jt=Math.PI/2+this._pitch,hr=this._fov*(.5+R.y/this.height),vr=Math.sin(hr)*zt/Math.sin(t.ac(Math.PI-Jt-hr,.01,Math.PI-.01)),Hr=this.getHorizon(),ln=2*Math.atan(Hr/this.cameraToCenterDistance)*(.5+R.y/(2*Hr)),Ge=Math.sin(ln)*zt/Math.sin(t.ac(Math.PI-Jt-ln,.01,Math.PI-.01)),$e=Math.min(vr,Ge);this.farZ=1.01*(Math.cos(Math.PI/2-this._pitch)*$e+zt),this.nearZ=this.height/50,Ae=new Float64Array(16),t.b6(Ae,this._fov,this.width/this.height,this.nearZ,this.farZ),Ae[8]=2*-R.x/this.width,Ae[9]=2*R.y/this.height,this.projectionMatrix=t.ae(Ae),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[0,0,-this.cameraToCenterDistance]),t.b7(Ae,Ae,this._pitch),t.ad(Ae,Ae,this.angle),t.J(Ae,Ae,[-ne,-be,0]),this.mercatorMatrix=t.K([],Ae,[this.worldSize,this.worldSize,this.worldSize]),t.K(Ae,Ae,[1,1,this._pixelPerMeter]),this.pixelMatrix=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae),t.J(Ae,Ae,[0,0,-this.elevation]),this.modelViewProjectionMatrix=Ae,this.invModelViewProjectionMatrix=t.as([],Ae),this.fogMatrix=new Float64Array(16),t.b6(this.fogMatrix,this._fov,this.width/this.height,Fe,this.farZ),this.fogMatrix[8]=2*-R.x/this.width,this.fogMatrix[9]=2*R.y/this.height,t.K(this.fogMatrix,this.fogMatrix,[1,-1,1]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.cameraToCenterDistance]),t.b7(this.fogMatrix,this.fogMatrix,this._pitch),t.ad(this.fogMatrix,this.fogMatrix,this.angle),t.J(this.fogMatrix,this.fogMatrix,[-ne,-be,0]),t.K(this.fogMatrix,this.fogMatrix,[1,1,this._pixelPerMeter]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.elevation]),this.pixelMatrix3D=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae);let st=this.width%2/2,dt=this.height%2/2,St=Math.cos(this.angle),xt=Math.sin(this.angle),It=ne-Math.round(ne)+St*st+xt*dt,rr=be-Math.round(be)+St*dt+xt*st,sr=new Float64Array(Ae);if(t.J(sr,sr,[It>.5?It-1:It,rr>.5?rr-1:rr,0]),this.alignedModelViewProjectionMatrix=sr,Ae=t.as(new Float64Array(16),this.pixelMatrix),!Ae)throw new Error("failed to invert matrix");this.pixelMatrixInverse=Ae,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;let R=this.pointCoordinate(new t.P(0,0)),ne=[R.x*this.worldSize,R.y*this.worldSize,0,1];return t.af(ne,ne,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){let R=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(0,R))}getCameraQueryGeometry(R){let ne=this.getCameraPoint();if(R.length===1)return[R[0],ne];{let be=ne.x,Ae=ne.y,Fe=ne.x,ht=ne.y;for(let wt of R)be=Math.min(be,wt.x),Ae=Math.min(Ae,wt.y),Fe=Math.max(Fe,wt.x),ht=Math.max(ht,wt.y);return[new t.P(be,Ae),new t.P(Fe,Ae),new t.P(Fe,ht),new t.P(be,ht),new t.P(be,Ae)]}}lngLatToCameraDepth(R,ne){let be=this.locationCoordinate(R),Ae=[be.x*this.worldSize,be.y*this.worldSize,ne,1];return t.af(Ae,Ae,this.modelViewProjectionMatrix),Ae[2]/Ae[3]}}function th(Ne,R){let ne,be=!1,Ae=null,Fe=null,ht=()=>{Ae=null,be&&(Ne.apply(Fe,ne),Ae=setTimeout(ht,R),be=!1)};return(...wt)=>(be=!0,Fe=this,ne=wt,Ae||ht(),Ae)}class uh{constructor(R){this._getCurrentHash=()=>{let ne=window.location.hash.replace("#","");if(this._hashName){let be;return ne.split("&").map(Ae=>Ae.split("=")).forEach(Ae=>{Ae[0]===this._hashName&&(be=Ae)}),(be&&be[1]||"").split("/")}return ne.split("/")},this._onHashChange=()=>{let ne=this._getCurrentHash();if(ne.length>=3&&!ne.some(be=>isNaN(be))){let be=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(ne[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+ne[2],+ne[1]],zoom:+ne[0],bearing:be,pitch:+(ne[4]||0)}),!0}return!1},this._updateHashUnthrottled=()=>{let ne=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,ne)},this._removeHash=()=>{let ne=this._getCurrentHash();if(ne.length===0)return;let be=ne.join("/"),Ae=be;Ae.split("&").length>0&&(Ae=Ae.split("&")[0]),this._hashName&&(Ae=`${this._hashName}=${be}`);let Fe=window.location.hash.replace(Ae,"");Fe.startsWith("#&")?Fe=Fe.slice(0,1)+Fe.slice(2):Fe==="#"&&(Fe="");let ht=window.location.href.replace(/(#.+)?$/,Fe);ht=ht.replace("&&","&"),window.history.replaceState(window.history.state,null,ht)},this._updateHash=th(this._updateHashUnthrottled,300),this._hashName=R&&encodeURIComponent(R)}addTo(R){return this._map=R,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(R){let ne=this._map.getCenter(),be=Math.round(100*this._map.getZoom())/100,Ae=Math.ceil((be*Math.LN2+Math.log(512/360/.5))/Math.LN10),Fe=Math.pow(10,Ae),ht=Math.round(ne.lng*Fe)/Fe,wt=Math.round(ne.lat*Fe)/Fe,zt=this._map.getBearing(),Jt=this._map.getPitch(),hr="";if(hr+=R?`/${ht}/${wt}/${be}`:`${be}/${wt}/${ht}`,(zt||Jt)&&(hr+="/"+Math.round(10*zt)/10),Jt&&(hr+=`/${Math.round(Jt)}`),this._hashName){let vr=this._hashName,Hr=!1,ln=window.location.hash.slice(1).split("&").map(Ge=>{let $e=Ge.split("=")[0];return $e===vr?(Hr=!0,`${$e}=${hr}`):Ge}).filter(Ge=>Ge);return Hr||ln.push(`${vr}=${hr}`),`#${ln.join("&")}`}return`#${hr}`}}let Hu={linearity:.3,easing:t.b8(0,0,.3,1)},_c=t.e({deceleration:2500,maxSpeed:1400},Hu),lc=t.e({deceleration:20,maxSpeed:1400},Hu),Uh=t.e({deceleration:1e3,maxSpeed:360},Hu),of=t.e({deceleration:1e3,maxSpeed:90},Hu);class ff{constructor(R){this._map=R,this.clear()}clear(){this._inertiaBuffer=[]}record(R){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:i.now(),settings:R})}_drainInertiaBuffer(){let R=this._inertiaBuffer,ne=i.now();for(;R.length>0&&ne-R[0].time>160;)R.shift()}_onMoveEnd(R){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;let ne={zoom:0,bearing:0,pitch:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(let{settings:Fe}of this._inertiaBuffer)ne.zoom+=Fe.zoomDelta||0,ne.bearing+=Fe.bearingDelta||0,ne.pitch+=Fe.pitchDelta||0,Fe.panDelta&&ne.pan._add(Fe.panDelta),Fe.around&&(ne.around=Fe.around),Fe.pinchAround&&(ne.pinchAround=Fe.pinchAround);let be=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,Ae={};if(ne.pan.mag()){let Fe=Af(ne.pan.mag(),be,t.e({},_c,R||{}));Ae.offset=ne.pan.mult(Fe.amount/ne.pan.mag()),Ae.center=this._map.transform.center,Du(Ae,Fe)}if(ne.zoom){let Fe=Af(ne.zoom,be,lc);Ae.zoom=this._map.transform.zoom+Fe.amount,Du(Ae,Fe)}if(ne.bearing){let Fe=Af(ne.bearing,be,Uh);Ae.bearing=this._map.transform.bearing+t.ac(Fe.amount,-179,179),Du(Ae,Fe)}if(ne.pitch){let Fe=Af(ne.pitch,be,of);Ae.pitch=this._map.transform.pitch+Fe.amount,Du(Ae,Fe)}if(Ae.zoom||Ae.bearing){let Fe=ne.pinchAround===void 0?ne.around:ne.pinchAround;Ae.around=Fe?this._map.unproject(Fe):this._map.getCenter()}return this.clear(),t.e(Ae,{noMoveStart:!0})}}function Du(Ne,R){(!Ne.duration||Ne.durationne.unproject(zt)),wt=Fe.reduce((zt,Jt,hr,vr)=>zt.add(Jt.div(vr.length)),new t.P(0,0));super(R,{points:Fe,point:wt,lngLats:ht,lngLat:ne.unproject(wt),originalEvent:be}),this._defaultPrevented=!1}}class ch extends t.k{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(R,ne,be){super(R,{originalEvent:be}),this._defaultPrevented=!1}}class Mf{constructor(R,ne){this._map=R,this._clickTolerance=ne.clickTolerance}reset(){delete this._mousedownPos}wheel(R){return this._firePreventable(new ch(R.type,this._map,R))}mousedown(R,ne){return this._mousedownPos=ne,this._firePreventable(new lu(R.type,this._map,R))}mouseup(R){this._map.fire(new lu(R.type,this._map,R))}click(R,ne){this._mousedownPos&&this._mousedownPos.dist(ne)>=this._clickTolerance||this._map.fire(new lu(R.type,this._map,R))}dblclick(R){return this._firePreventable(new lu(R.type,this._map,R))}mouseover(R){this._map.fire(new lu(R.type,this._map,R))}mouseout(R){this._map.fire(new lu(R.type,this._map,R))}touchstart(R){return this._firePreventable(new Xc(R.type,this._map,R))}touchmove(R){this._map.fire(new Xc(R.type,this._map,R))}touchend(R){this._map.fire(new Xc(R.type,this._map,R))}touchcancel(R){this._map.fire(new Xc(R.type,this._map,R))}_firePreventable(R){if(this._map.fire(R),R.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class dl{constructor(R){this._map=R}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(R){this._map.fire(new lu(R.type,this._map,R))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new lu("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(R){this._delayContextMenu?this._contextMenuEvent=R:this._ignoreContextMenu||this._map.fire(new lu(R.type,this._map,R)),this._map.listens("contextmenu")&&R.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class bu{constructor(R){this._map=R}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return{lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(R){return this.transform.pointLocation(t.P.convert(R),this._map.terrain)}}class wu{constructor(R,ne){this._map=R,this._tr=new bu(R),this._el=R.getCanvasContainer(),this._container=R.getContainer(),this._clickTolerance=ne.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(R,ne){this.isEnabled()&&R.shiftKey&&R.button===0&&(a.disableDrag(),this._startPos=this._lastPos=ne,this._active=!0)}mousemoveWindow(R,ne){if(!this._active)return;let be=ne;if(this._lastPos.equals(be)||!this._box&&be.dist(this._startPos)Fe.fitScreenCoordinates(be,Ae,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",R)}keydown(R){this._active&&R.keyCode===27&&(this.reset(),this._fireEvent("boxzoomcancel",R))}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(a.remove(this._box),this._box=null),a.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(R,ne){return this._map.fire(new t.k(R,{originalEvent:ne}))}}function Bf(Ne,R){if(Ne.length!==R.length)throw new Error(`The number of touches and points are not equal - touches ${Ne.length}, points ${R.length}`);let ne={};for(let be=0;bethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=R.timeStamp),be.length===this.numTouches&&(this.centroid=function(Ae){let Fe=new t.P(0,0);for(let ht of Ae)Fe._add(ht);return Fe.div(Ae.length)}(ne),this.touches=Bf(be,ne)))}touchmove(R,ne,be){if(this.aborted||!this.centroid)return;let Ae=Bf(be,ne);for(let Fe in this.touches){let ht=Ae[Fe];(!ht||ht.dist(this.touches[Fe])>30)&&(this.aborted=!0)}}touchend(R,ne,be){if((!this.centroid||R.timeStamp-this.startTime>500)&&(this.aborted=!0),be.length===0){let Ae=!this.aborted&&this.centroid;if(this.reset(),Ae)return Ae}}}class sf{constructor(R){this.singleTap=new ul(R),this.numTaps=R.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(R,ne,be){this.singleTap.touchstart(R,ne,be)}touchmove(R,ne,be){this.singleTap.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this.singleTap.touchend(R,ne,be);if(Ae){let Fe=R.timeStamp-this.lastTime<500,ht=!this.lastTap||this.lastTap.dist(Ae)<30;if(Fe&&ht||this.reset(),this.count++,this.lastTime=R.timeStamp,this.lastTap=Ae,this.count===this.numTaps)return this.reset(),Ae}}}class xc{constructor(R){this._tr=new bu(R),this._zoomIn=new sf({numTouches:1,numTaps:2}),this._zoomOut=new sf({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(R,ne,be){this._zoomIn.touchstart(R,ne,be),this._zoomOut.touchstart(R,ne,be)}touchmove(R,ne,be){this._zoomIn.touchmove(R,ne,be),this._zoomOut.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this._zoomIn.touchend(R,ne,be),Fe=this._zoomOut.touchend(R,ne,be),ht=this._tr;return Ae?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom+1,around:ht.unproject(Ae)},{originalEvent:R})}):Fe?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom-1,around:ht.unproject(Fe)},{originalEvent:R})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Gu{constructor(R){this._enabled=!!R.enable,this._moveStateManager=R.moveStateManager,this._clickTolerance=R.clickTolerance||1,this._moveFunction=R.move,this._activateOnStart=!!R.activateOnStart,R.assignEvents(this),this.reset()}reset(R){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(R)}_move(...R){let ne=this._moveFunction(...R);if(ne.bearingDelta||ne.pitchDelta||ne.around||ne.panDelta)return this._active=!0,ne}dragStart(R,ne){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(R)&&(this._moveStateManager.startMove(R),this._lastPoint=ne.length?ne[0]:ne,this._activateOnStart&&this._lastPoint&&(this._active=!0))}dragMove(R,ne){if(!this.isEnabled())return;let be=this._lastPoint;if(!be)return;if(R.preventDefault(),!this._moveStateManager.isValidMoveEvent(R))return void this.reset(R);let Ae=ne.length?ne[0]:ne;return!this._moved&&Ae.dist(be){Ne.mousedown=Ne.dragStart,Ne.mousemoveWindow=Ne.dragMove,Ne.mouseup=Ne.dragEnd,Ne.contextmenu=R=>{R.preventDefault()}},Xl=({enable:Ne,clickTolerance:R,bearingDegreesPerPixelMoved:ne=.8})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({bearingDelta:(Fe.x-Ae.x)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})},Uf=({enable:Ne,clickTolerance:R,pitchDegreesPerPixelMoved:ne=-.5})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({pitchDelta:(Fe.y-Ae.y)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})};class Wu{constructor(R,ne){this._clickTolerance=R.clickTolerance||1,this._map=ne,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0)}_shouldBePrevented(R){return R<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(R,ne,be){return this._calculateTransform(R,ne,be)}touchmove(R,ne,be){if(this._active){if(!this._shouldBePrevented(be.length))return R.preventDefault(),this._calculateTransform(R,ne,be);this._map.cooperativeGestures.notifyGestureBlocked("touch_pan",R)}}touchend(R,ne,be){this._calculateTransform(R,ne,be),this._active&&this._shouldBePrevented(be.length)&&this.reset()}touchcancel(){this.reset()}_calculateTransform(R,ne,be){be.length>0&&(this._active=!0);let Ae=Bf(be,ne),Fe=new t.P(0,0),ht=new t.P(0,0),wt=0;for(let Jt in Ae){let hr=Ae[Jt],vr=this._touches[Jt];vr&&(Fe._add(hr),ht._add(hr.sub(vr)),wt++,Ae[Jt]=hr)}if(this._touches=Ae,this._shouldBePrevented(wt)||!ht.mag())return;let zt=ht.div(wt);return this._sum._add(zt),this._sum.mag()Math.abs(Ne.x)}class Yc extends bc{constructor(R){super(),this._currentTouchCount=0,this._map=R}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(R,ne,be){super.touchstart(R,ne,be),this._currentTouchCount=be.length}_start(R){this._lastPoints=R,rc(R[0].sub(R[1]))&&(this._valid=!1)}_move(R,ne,be){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;let Ae=R[0].sub(this._lastPoints[0]),Fe=R[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(Ae,Fe,be.timeStamp),this._valid?(this._lastPoints=R,this._active=!0,{pitchDelta:(Ae.y+Fe.y)/2*-.5}):void 0}gestureBeginsVertically(R,ne,be){if(this._valid!==void 0)return this._valid;let Ae=R.mag()>=2,Fe=ne.mag()>=2;if(!Ae&&!Fe)return;if(!Ae||!Fe)return this._firstMove===void 0&&(this._firstMove=be),be-this._firstMove<100&&void 0;let ht=R.y>0==ne.y>0;return rc(R)&&rc(ne)&&ht}}let Yt={panStep:100,bearingStep:15,pitchStep:10};class dr{constructor(R){this._tr=new bu(R);let ne=Yt;this._panStep=ne.panStep,this._bearingStep=ne.bearingStep,this._pitchStep=ne.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(R){if(R.altKey||R.ctrlKey||R.metaKey)return;let ne=0,be=0,Ae=0,Fe=0,ht=0;switch(R.keyCode){case 61:case 107:case 171:case 187:ne=1;break;case 189:case 109:case 173:ne=-1;break;case 37:R.shiftKey?be=-1:(R.preventDefault(),Fe=-1);break;case 39:R.shiftKey?be=1:(R.preventDefault(),Fe=1);break;case 38:R.shiftKey?Ae=1:(R.preventDefault(),ht=-1);break;case 40:R.shiftKey?Ae=-1:(R.preventDefault(),ht=1);break;default:return}return this._rotationDisabled&&(be=0,Ae=0),{cameraAnimation:wt=>{let zt=this._tr;wt.easeTo({duration:300,easeId:"keyboardHandler",easing:tn,zoom:ne?Math.round(zt.zoom)+ne*(R.shiftKey?2:1):zt.zoom,bearing:zt.bearing+be*this._bearingStep,pitch:zt.pitch+Ae*this._pitchStep,offset:[-Fe*this._panStep,-ht*this._panStep],center:zt.center},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function tn(Ne){return Ne*(2-Ne)}let Wr=4.000244140625;class Cn{constructor(R,ne){this._onTimeout=be=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(be)},this._map=R,this._tr=new bu(R),this._triggerRenderFrame=ne,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222}setZoomRate(R){this._defaultZoomRate=R}setWheelZoomRate(R){this._wheelZoomRate=R}isEnabled(){return!!this._enabled}isActive(){return!!this._active||this._finishTimeout!==void 0}isZooming(){return!!this._zooming}enable(R){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!R&&R.around==="center")}disable(){this.isEnabled()&&(this._enabled=!1)}_shouldBePrevented(R){return!!this._map.cooperativeGestures.isEnabled()&&!(R.ctrlKey||this._map.cooperativeGestures.isBypassed(R))}wheel(R){if(!this.isEnabled())return;if(this._shouldBePrevented(R))return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom",R);let ne=R.deltaMode===WheelEvent.DOM_DELTA_LINE?40*R.deltaY:R.deltaY,be=i.now(),Ae=be-(this._lastWheelEventTime||0);this._lastWheelEventTime=be,ne!==0&&ne%Wr==0?this._type="wheel":ne!==0&&Math.abs(ne)<4?this._type="trackpad":Ae>400?(this._type=null,this._lastValue=ne,this._timeout=setTimeout(this._onTimeout,40,R)):this._type||(this._type=Math.abs(Ae*ne)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ne+=this._lastValue)),R.shiftKey&&ne&&(ne/=4),this._type&&(this._lastWheelEvent=R,this._delta-=ne,this._active||this._start(R)),R.preventDefault()}_start(R){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);let ne=a.mousePos(this._map.getCanvas(),R),be=this._tr;this._around=ne.y>be.transform.height/2-be.transform.getHorizon()?t.N.convert(this._aroundCenter?be.center:be.unproject(ne)):t.N.convert(be.center),this._aroundPoint=be.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._triggerRenderFrame())}renderFrame(){if(!this._frameId||(this._frameId=null,!this.isActive()))return;let R=this._tr.transform;if(this._delta!==0){let zt=this._type==="wheel"&&Math.abs(this._delta)>Wr?this._wheelZoomRate:this._defaultZoomRate,Jt=2/(1+Math.exp(-Math.abs(this._delta*zt)));this._delta<0&&Jt!==0&&(Jt=1/Jt);let hr=typeof this._targetZoom=="number"?R.zoomScale(this._targetZoom):R.scale;this._targetZoom=Math.min(R.maxZoom,Math.max(R.minZoom,R.scaleZoom(hr*Jt))),this._type==="wheel"&&(this._startZoom=R.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}let ne=typeof this._targetZoom=="number"?this._targetZoom:R.zoom,be=this._startZoom,Ae=this._easing,Fe,ht=!1,wt=i.now()-this._lastWheelEventTime;if(this._type==="wheel"&&be&&Ae&&wt){let zt=Math.min(wt/200,1),Jt=Ae(zt);Fe=t.y.number(be,ne,Jt),zt<1?this._frameId||(this._frameId=!0):ht=!0}else Fe=ne,ht=!0;return this._active=!0,ht&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!ht,zoomDelta:Fe-R.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(R){let ne=t.b9;if(this._prevEase){let be=this._prevEase,Ae=(i.now()-be.start)/be.duration,Fe=be.easing(Ae+.01)-be.easing(Ae),ht=.27/Math.sqrt(Fe*Fe+1e-4)*.01,wt=Math.sqrt(.0729-ht*ht);ne=t.b8(ht,wt,.25,1)}return this._prevEase={start:i.now(),duration:R,easing:ne},ne}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout)}}class si{constructor(R,ne){this._clickZoom=R,this._tapZoom=ne}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class yi{constructor(R){this._tr=new bu(R),this.reset()}reset(){this._active=!1}dblclick(R,ne){return R.preventDefault(),{cameraAnimation:be=>{be.easeTo({duration:300,zoom:this._tr.zoom+(R.shiftKey?-1:1),around:this._tr.unproject(ne)},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Di{constructor(){this._tap=new sf({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset()}touchstart(R,ne,be){if(!this._swipePoint)if(this._tapTime){let Ae=ne[0],Fe=R.timeStamp-this._tapTime<500,ht=this._tapPoint.dist(Ae)<30;Fe&&ht?be.length>0&&(this._swipePoint=Ae,this._swipeTouch=be[0].identifier):this.reset()}else this._tap.touchstart(R,ne,be)}touchmove(R,ne,be){if(this._tapTime){if(this._swipePoint){if(be[0].identifier!==this._swipeTouch)return;let Ae=ne[0],Fe=Ae.y-this._swipePoint.y;return this._swipePoint=Ae,R.preventDefault(),this._active=!0,{zoomDelta:Fe/128}}}else this._tap.touchmove(R,ne,be)}touchend(R,ne,be){if(this._tapTime)this._swipePoint&&be.length===0&&this.reset();else{let Ae=this._tap.touchend(R,ne,be);Ae&&(this._tapTime=R.timeStamp,this._tapPoint=Ae)}}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Wi{constructor(R,ne,be){this._el=R,this._mousePan=ne,this._touchPan=be}enable(R){this._inertiaOptions=R||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class aa{constructor(R,ne,be){this._pitchWithRotate=R.pitchWithRotate,this._mouseRotate=ne,this._mousePitch=be}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class bi{constructor(R,ne,be,Ae){this._el=R,this._touchZoom=ne,this._touchRotate=be,this._tapDragZoom=Ae,this._rotationDisabled=!1,this._enabled=!0}enable(R){this._touchZoom.enable(R),this._rotationDisabled||this._touchRotate.enable(R),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}class zi{constructor(R,ne){this._bypassKey=navigator.userAgent.indexOf("Mac")!==-1?"metaKey":"ctrlKey",this._map=R,this._options=ne,this._enabled=!1}isActive(){return!1}reset(){}_setupUI(){if(this._container)return;let R=this._map.getCanvasContainer();R.classList.add("maplibregl-cooperative-gestures"),this._container=a.create("div","maplibregl-cooperative-gesture-screen",R);let ne=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");this._bypassKey==="metaKey"&&(ne=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));let be=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),Ae=document.createElement("div");Ae.className="maplibregl-desktop-message",Ae.textContent=ne,this._container.appendChild(Ae);let Fe=document.createElement("div");Fe.className="maplibregl-mobile-message",Fe.textContent=be,this._container.appendChild(Fe),this._container.setAttribute("aria-hidden","true")}_destroyUI(){this._container&&(a.remove(this._container),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container}enable(){this._setupUI(),this._enabled=!0}disable(){this._enabled=!1,this._destroyUI()}isEnabled(){return this._enabled}isBypassed(R){return R[this._bypassKey]}notifyGestureBlocked(R,ne){this._enabled&&(this._map.fire(new t.k("cooperativegestureprevented",{gestureType:R,originalEvent:ne})),this._container.classList.add("maplibregl-show"),setTimeout(()=>{this._container.classList.remove("maplibregl-show")},100))}}let Li=Ne=>Ne.zoom||Ne.drag||Ne.pitch||Ne.rotate;class di extends t.k{}function wa(Ne){return Ne.panDelta&&Ne.panDelta.mag()||Ne.zoomDelta||Ne.bearingDelta||Ne.pitchDelta}class po{constructor(R,ne){this.handleWindowEvent=Ae=>{this.handleEvent(Ae,`${Ae.type}Window`)},this.handleEvent=(Ae,Fe)=>{if(Ae.type==="blur")return void this.stop(!0);this._updatingCamera=!0;let ht=Ae.type==="renderFrame"?void 0:Ae,wt={needsRenderFrame:!1},zt={},Jt={},hr=Ae.touches,vr=hr?this._getMapTouches(hr):void 0,Hr=vr?a.touchPos(this._map.getCanvas(),vr):a.mousePos(this._map.getCanvas(),Ae);for(let{handlerName:$e,handler:st,allowed:dt}of this._handlers){if(!st.isEnabled())continue;let St;this._blockedByActive(Jt,dt,$e)?st.reset():st[Fe||Ae.type]&&(St=st[Fe||Ae.type](Ae,Hr,vr),this.mergeHandlerResult(wt,zt,St,$e,ht),St&&St.needsRenderFrame&&this._triggerRenderFrame()),(St||st.isActive())&&(Jt[$e]=st)}let ln={};for(let $e in this._previousActiveHandlers)Jt[$e]||(ln[$e]=ht);this._previousActiveHandlers=Jt,(Object.keys(ln).length||wa(wt))&&(this._changes.push([wt,zt,ln]),this._triggerRenderFrame()),(Object.keys(Jt).length||wa(wt))&&this._map._stop(!0),this._updatingCamera=!1;let{cameraAnimation:Ge}=wt;Ge&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],Ge(this._map))},this._map=R,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ff(R),this._bearingSnap=ne.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ne);let be=this._el;this._listeners=[[be,"touchstart",{passive:!0}],[be,"touchmove",{passive:!1}],[be,"touchend",void 0],[be,"touchcancel",void 0],[be,"mousedown",void 0],[be,"mousemove",void 0],[be,"mouseup",void 0],[document,"mousemove",{capture:!0}],[document,"mouseup",void 0],[be,"mouseover",void 0],[be,"mouseout",void 0],[be,"dblclick",void 0],[be,"click",void 0],[be,"keydown",{capture:!1}],[be,"keyup",void 0],[be,"wheel",{passive:!1}],[be,"contextmenu",void 0],[window,"blur",void 0]];for(let[Ae,Fe,ht]of this._listeners)a.addEventListener(Ae,Fe,Ae===document?this.handleWindowEvent:this.handleEvent,ht)}destroy(){for(let[R,ne,be]of this._listeners)a.removeEventListener(R,ne,R===document?this.handleWindowEvent:this.handleEvent,be)}_addDefaultHandlers(R){let ne=this._map,be=ne.getCanvasContainer();this._add("mapEvent",new Mf(ne,R));let Ae=ne.boxZoom=new wu(ne,R);this._add("boxZoom",Ae),R.interactive&&R.boxZoom&&Ae.enable();let Fe=ne.cooperativeGestures=new zi(ne,R.cooperativeGestures);this._add("cooperativeGestures",Fe),R.cooperativeGestures&&Fe.enable();let ht=new xc(ne),wt=new yi(ne);ne.doubleClickZoom=new si(wt,ht),this._add("tapZoom",ht),this._add("clickZoom",wt),R.interactive&&R.doubleClickZoom&&ne.doubleClickZoom.enable();let zt=new Di;this._add("tapDragZoom",zt);let Jt=ne.touchPitch=new Yc(ne);this._add("touchPitch",Jt),R.interactive&&R.touchPitch&&ne.touchPitch.enable(R.touchPitch);let hr=Xl(R),vr=Uf(R);ne.dragRotate=new aa(R,hr,vr),this._add("mouseRotate",hr,["mousePitch"]),this._add("mousePitch",vr,["mouseRotate"]),R.interactive&&R.dragRotate&&ne.dragRotate.enable();let Hr=(({enable:St,clickTolerance:xt})=>{let It=new uc({checkCorrectEvent:rr=>a.mouseButton(rr)===0&&!rr.ctrlKey});return new Gu({clickTolerance:xt,move:(rr,sr)=>({around:sr,panDelta:sr.sub(rr)}),activateOnStart:!0,moveStateManager:It,enable:St,assignEvents:Nf})})(R),ln=new Wu(R,ne);ne.dragPan=new Wi(be,Hr,ln),this._add("mousePan",Hr),this._add("touchPan",ln,["touchZoom","touchRotate"]),R.interactive&&R.dragPan&&ne.dragPan.enable(R.dragPan);let Ge=new Dc,$e=new uu;ne.touchZoomRotate=new bi(be,$e,Ge,zt),this._add("touchRotate",Ge,["touchPan","touchZoom"]),this._add("touchZoom",$e,["touchPan","touchRotate"]),R.interactive&&R.touchZoomRotate&&ne.touchZoomRotate.enable(R.touchZoomRotate);let st=ne.scrollZoom=new Cn(ne,()=>this._triggerRenderFrame());this._add("scrollZoom",st,["mousePan"]),R.interactive&&R.scrollZoom&&ne.scrollZoom.enable(R.scrollZoom);let dt=ne.keyboard=new dr(ne);this._add("keyboard",dt),R.interactive&&R.keyboard&&ne.keyboard.enable(),this._add("blockableMapEvent",new dl(ne))}_add(R,ne,be){this._handlers.push({handlerName:R,handler:ne,allowed:be}),this._handlersById[R]=ne}stop(R){if(!this._updatingCamera){for(let{handler:ne}of this._handlers)ne.reset();this._inertia.clear(),this._fireEvents({},{},R),this._changes=[]}}isActive(){for(let{handler:R}of this._handlers)if(R.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Li(this._eventsInProgress)||this.isZooming()}_blockedByActive(R,ne,be){for(let Ae in R)if(Ae!==be&&(!ne||ne.indexOf(Ae)<0))return!0;return!1}_getMapTouches(R){let ne=[];for(let be of R)this._el.contains(be.target)&&ne.push(be);return ne}mergeHandlerResult(R,ne,be,Ae,Fe){if(!be)return;t.e(R,be);let ht={handlerName:Ae,originalEvent:be.originalEvent||Fe};be.zoomDelta!==void 0&&(ne.zoom=ht),be.panDelta!==void 0&&(ne.drag=ht),be.pitchDelta!==void 0&&(ne.pitch=ht),be.bearingDelta!==void 0&&(ne.rotate=ht)}_applyChanges(){let R={},ne={},be={};for(let[Ae,Fe,ht]of this._changes)Ae.panDelta&&(R.panDelta=(R.panDelta||new t.P(0,0))._add(Ae.panDelta)),Ae.zoomDelta&&(R.zoomDelta=(R.zoomDelta||0)+Ae.zoomDelta),Ae.bearingDelta&&(R.bearingDelta=(R.bearingDelta||0)+Ae.bearingDelta),Ae.pitchDelta&&(R.pitchDelta=(R.pitchDelta||0)+Ae.pitchDelta),Ae.around!==void 0&&(R.around=Ae.around),Ae.pinchAround!==void 0&&(R.pinchAround=Ae.pinchAround),Ae.noInertia&&(R.noInertia=Ae.noInertia),t.e(ne,Fe),t.e(be,ht);this._updateMapTransform(R,ne,be),this._changes=[]}_updateMapTransform(R,ne,be){let Ae=this._map,Fe=Ae._getTransformForUpdate(),ht=Ae.terrain;if(!(wa(R)||ht&&this._terrainMovement))return this._fireEvents(ne,be,!0);let{panDelta:wt,zoomDelta:zt,bearingDelta:Jt,pitchDelta:hr,around:vr,pinchAround:Hr}=R;Hr!==void 0&&(vr=Hr),Ae._stop(!0),vr=vr||Ae.transform.centerPoint;let ln=Fe.pointLocation(wt?vr.sub(wt):vr);Jt&&(Fe.bearing+=Jt),hr&&(Fe.pitch+=hr),zt&&(Fe.zoom+=zt),ht?this._terrainMovement||!ne.drag&&!ne.zoom?ne.drag&&this._terrainMovement?Fe.center=Fe.pointLocation(Fe.centerPoint.sub(wt)):Fe.setLocationAtPoint(ln,vr):(this._terrainMovement=!0,this._map._elevationFreeze=!0,Fe.setLocationAtPoint(ln,vr)):Fe.setLocationAtPoint(ln,vr),Ae._applyUpdatedTransform(Fe),this._map._update(),R.noInertia||this._inertia.record(R),this._fireEvents(ne,be,!0)}_fireEvents(R,ne,be){let Ae=Li(this._eventsInProgress),Fe=Li(R),ht={};for(let vr in R){let{originalEvent:Hr}=R[vr];this._eventsInProgress[vr]||(ht[`${vr}start`]=Hr),this._eventsInProgress[vr]=R[vr]}!Ae&&Fe&&this._fireEvent("movestart",Fe.originalEvent);for(let vr in ht)this._fireEvent(vr,ht[vr]);Fe&&this._fireEvent("move",Fe.originalEvent);for(let vr in R){let{originalEvent:Hr}=R[vr];this._fireEvent(vr,Hr)}let wt={},zt;for(let vr in this._eventsInProgress){let{handlerName:Hr,originalEvent:ln}=this._eventsInProgress[vr];this._handlersById[Hr].isActive()||(delete this._eventsInProgress[vr],zt=ne[Hr]||ln,wt[`${vr}end`]=zt)}for(let vr in wt)this._fireEvent(vr,wt[vr]);let Jt=Li(this._eventsInProgress),hr=(Ae||Fe)&&!Jt;if(hr&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;let vr=this._map._getTransformForUpdate();vr.recalculateZoom(this._map.terrain),this._map._applyUpdatedTransform(vr)}if(be&&hr){this._updatingCamera=!0;let vr=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),Hr=ln=>ln!==0&&-this._bearingSnap{delete this._frameId,this.handleEvent(new di("renderFrame",{timeStamp:R})),this._applyChanges()})}_triggerRenderFrame(){this._frameId===void 0&&(this._frameId=this._requestFrame())}}class co extends t.E{constructor(R,ne){super(),this._renderFrameCallback=()=>{let be=Math.min((i.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(be)),be<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},this._moving=!1,this._zooming=!1,this.transform=R,this._bearingSnap=ne.bearingSnap,this.on("moveend",()=>{delete this._requestedCameraState})}getCenter(){return new t.N(this.transform.center.lng,this.transform.center.lat)}setCenter(R,ne){return this.jumpTo({center:R},ne)}panBy(R,ne,be){return R=t.P.convert(R).mult(-1),this.panTo(this.transform.center,t.e({offset:R},ne),be)}panTo(R,ne,be){return this.easeTo(t.e({center:R},ne),be)}getZoom(){return this.transform.zoom}setZoom(R,ne){return this.jumpTo({zoom:R},ne),this}zoomTo(R,ne,be){return this.easeTo(t.e({zoom:R},ne),be)}zoomIn(R,ne){return this.zoomTo(this.getZoom()+1,R,ne),this}zoomOut(R,ne){return this.zoomTo(this.getZoom()-1,R,ne),this}getBearing(){return this.transform.bearing}setBearing(R,ne){return this.jumpTo({bearing:R},ne),this}getPadding(){return this.transform.padding}setPadding(R,ne){return this.jumpTo({padding:R},ne),this}rotateTo(R,ne,be){return this.easeTo(t.e({bearing:R},ne),be)}resetNorth(R,ne){return this.rotateTo(0,t.e({duration:1e3},R),ne),this}resetNorthPitch(R,ne){return this.easeTo(t.e({bearing:0,pitch:0,duration:1e3},R),ne),this}snapToNorth(R,ne){return Math.abs(this.getBearing()){if(this._zooming&&(Ae.zoom=t.y.number(Fe,st,pr)),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,pr)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,pr)),this._padding&&(Ae.interpolatePadding(zt,vr,pr),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(pr),It)Ae.setLocationAtPoint(It,rr);else{let kr=Ae.zoomScale(Ae.zoom-Fe),Yr=st>Fe?Math.min(2,xt):Math.max(.5,xt),_n=Math.pow(Yr,1-pr),Mn=Ae.unproject(dt.add(St.mult(pr*_n)).mult(kr));Ae.setLocationAtPoint(Ae.renderWorldCopies?Mn.wrap():Mn,ln)}this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},pr=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne,pr)},R),this}_prepareEase(R,ne,be={}){this._moving=!0,ne||be.moving||this.fire(new t.k("movestart",R)),this._zooming&&!be.zooming&&this.fire(new t.k("zoomstart",R)),this._rotating&&!be.rotating&&this.fire(new t.k("rotatestart",R)),this._pitching&&!be.pitching&&this.fire(new t.k("pitchstart",R))}_prepareElevation(R){this._elevationCenter=R,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(R,this.transform.tileZoom),this._elevationFreeze=!0}_updateElevation(R){this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);let ne=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(R<1&&ne!==this._elevationTarget){let be=this._elevationTarget-this._elevationStart;this._elevationStart+=R*(be-(ne-(be*R+this._elevationStart))/(1-R)),this._elevationTarget=ne}this.transform.elevation=t.y.number(this._elevationStart,this._elevationTarget,R)}_finalizeElevation(){this._elevationFreeze=!1,this.transform.recalculateZoom(this.terrain)}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(R){let ne=R.getCameraPosition(),be=this.terrain.getElevationForLngLatZoom(ne.lngLat,R.zoom);if(ne.altitudethis._elevateCameraIfInsideTerrain(Ae)),this.transformCameraUpdate&&ne.push(Ae=>this.transformCameraUpdate(Ae)),!ne.length)return;let be=R.clone();for(let Ae of ne){let Fe=be.clone(),{center:ht,zoom:wt,pitch:zt,bearing:Jt,elevation:hr}=Ae(Fe);ht&&(Fe.center=ht),wt!==void 0&&(Fe.zoom=wt),zt!==void 0&&(Fe.pitch=zt),Jt!==void 0&&(Fe.bearing=Jt),hr!==void 0&&(Fe.elevation=hr),be.apply(Fe)}this.transform.apply(be)}_fireMoveEvents(R){this.fire(new t.k("move",R)),this._zooming&&this.fire(new t.k("zoom",R)),this._rotating&&this.fire(new t.k("rotate",R)),this._pitching&&this.fire(new t.k("pitch",R))}_afterEase(R,ne){if(this._easeId&&ne&&this._easeId===ne)return;delete this._easeId;let be=this._zooming,Ae=this._rotating,Fe=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,be&&this.fire(new t.k("zoomend",R)),Ae&&this.fire(new t.k("rotateend",R)),Fe&&this.fire(new t.k("pitchend",R)),this.fire(new t.k("moveend",R))}flyTo(R,ne){var be;if(!R.essential&&i.prefersReducedMotion){let Zi=t.M(R,["center","zoom","bearing","pitch","around"]);return this.jumpTo(Zi,ne)}this.stop(),R=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.b9},R);let Ae=this._getTransformForUpdate(),Fe=Ae.zoom,ht=Ae.bearing,wt=Ae.pitch,zt=Ae.padding,Jt="bearing"in R?this._normalizeBearing(R.bearing,ht):ht,hr="pitch"in R?+R.pitch:wt,vr="padding"in R?R.padding:Ae.padding,Hr=t.P.convert(R.offset),ln=Ae.centerPoint.add(Hr),Ge=Ae.pointLocation(ln),{center:$e,zoom:st}=Ae.getConstrained(t.N.convert(R.center||Ge),(be=R.zoom)!==null&&be!==void 0?be:Fe);this._normalizeCenter($e,Ae);let dt=Ae.zoomScale(st-Fe),St=Ae.project(Ge),xt=Ae.project($e).sub(St),It=R.curve,rr=Math.max(Ae.width,Ae.height),sr=rr/dt,pr=xt.mag();if("minZoom"in R){let Zi=t.ac(Math.min(R.minZoom,Fe,st),Ae.minZoom,Ae.maxZoom),ya=rr/Ae.zoomScale(Zi-Fe);It=Math.sqrt(ya/pr*2)}let kr=It*It;function Yr(Zi){let ya=(sr*sr-rr*rr+(Zi?-1:1)*kr*kr*pr*pr)/(2*(Zi?sr:rr)*kr*pr);return Math.log(Math.sqrt(ya*ya+1)-ya)}function _n(Zi){return(Math.exp(Zi)-Math.exp(-Zi))/2}function Mn(Zi){return(Math.exp(Zi)+Math.exp(-Zi))/2}let Un=Yr(!1),li=function(Zi){return Mn(Un)/Mn(Un+It*Zi)},ki=function(Zi){return rr*((Mn(Un)*(_n(ya=Un+It*Zi)/Mn(ya))-_n(Un))/kr)/pr;var ya},Ci=(Yr(!0)-Un)/It;if(Math.abs(pr)<1e-6||!isFinite(Ci)){if(Math.abs(rr-sr)<1e-6)return this.easeTo(R,ne);let Zi=sr0,li=ya=>Math.exp(Zi*It*ya)}return R.duration="duration"in R?+R.duration:1e3*Ci/("screenSpeed"in R?+R.screenSpeed/It:+R.speed),R.maxDuration&&R.duration>R.maxDuration&&(R.duration=0),this._zooming=!0,this._rotating=ht!==Jt,this._pitching=hr!==wt,this._padding=!Ae.isPaddingEqual(vr),this._prepareEase(ne,!1),this.terrain&&this._prepareElevation($e),this._ease(Zi=>{let ya=Zi*Ci,ro=1/li(ya);Ae.zoom=Zi===1?st:Fe+Ae.scaleZoom(ro),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,Zi)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,Zi)),this._padding&&(Ae.interpolatePadding(zt,vr,Zi),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(Zi);let Va=Zi===1?$e:Ae.unproject(St.add(xt.mult(ki(ya))).mult(ro));Ae.setLocationAtPoint(Ae.renderWorldCopies?Va.wrap():Va,ln),this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},()=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne)},R),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(R,ne){var be;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){let Ae=this._onEaseEnd;delete this._onEaseEnd,Ae.call(this,ne)}return R||(be=this.handlers)===null||be===void 0||be.stop(!1),this}_ease(R,ne,be){be.animate===!1||be.duration===0?(R(1),ne()):(this._easeStart=i.now(),this._easeOptions=be,this._onEaseFrame=R,this._onEaseEnd=ne,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_normalizeBearing(R,ne){R=t.b3(R,-180,180);let be=Math.abs(R-ne);return Math.abs(R-360-ne)180?-360:be<-180?360:0}queryTerrainElevation(R){return this.terrain?this.terrain.getElevationForLngLatZoom(t.N.convert(R),this.transform.tileZoom)-this.transform.elevation:null}}let mo={compact:!0,customAttribution:'MapLibre'};class Ao{constructor(R=mo){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")))},this._updateData=ne=>{!ne||ne.sourceDataType!=="metadata"&&ne.sourceDataType!=="visibility"&&ne.dataType!=="style"&&ne.type!=="terrain"||this._updateAttributions()},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact===!1?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"))},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show")},this.options=R}getDefaultPosition(){return"bottom-right"}onAdd(R){return this._map=R,this._compact=this.options.compact,this._container=a.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=a.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=a.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){a.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(R,ne){let be=this._map._getUIString(`AttributionControl.${ne}`);R.title=be,R.setAttribute("aria-label",be)}_updateAttributions(){if(!this._map.style)return;let R=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?R=R.concat(this.options.customAttribution.map(Ae=>typeof Ae!="string"?"":Ae)):typeof this.options.customAttribution=="string"&&R.push(this.options.customAttribution)),this._map.style.stylesheet){let Ae=this._map.style.stylesheet;this.styleOwner=Ae.owner,this.styleId=Ae.id}let ne=this._map.style.sourceCaches;for(let Ae in ne){let Fe=ne[Ae];if(Fe.used||Fe.usedForTerrain){let ht=Fe.getSource();ht.attribution&&R.indexOf(ht.attribution)<0&&R.push(ht.attribution)}}R=R.filter(Ae=>String(Ae).trim()),R.sort((Ae,Fe)=>Ae.length-Fe.length),R=R.filter((Ae,Fe)=>{for(let ht=Fe+1;ht=0)return!1;return!0});let be=R.join(" | ");be!==this._attribHTML&&(this._attribHTML=be,R.length?(this._innerContainer.innerHTML=be,this._container.classList.remove("maplibregl-attrib-empty")):this._container.classList.add("maplibregl-attrib-empty"),this._updateCompact(),this._editLink=null)}}class xa{constructor(R={}){this._updateCompact=()=>{let ne=this._container.children;if(ne.length){let be=ne[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact!==!1&&be.classList.add("maplibregl-compact"):be.classList.remove("maplibregl-compact")}},this.options=R}getDefaultPosition(){return"bottom-left"}onAdd(R){this._map=R,this._compact=this.options&&this.options.compact,this._container=a.create("div","maplibregl-ctrl");let ne=a.create("a","maplibregl-ctrl-logo");return ne.target="_blank",ne.rel="noopener nofollow",ne.href="https://maplibre.org/",ne.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ne.setAttribute("rel","noopener nofollow"),this._container.appendChild(ne),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){a.remove(this._container),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0}}class Qi{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(R){let ne=++this._id;return this._queue.push({callback:R,id:ne,cancelled:!1}),ne}remove(R){let ne=this._currentlyRunning,be=ne?this._queue.concat(ne):this._queue;for(let Ae of be)if(Ae.id===R)return void(Ae.cancelled=!0)}run(R=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");let ne=this._currentlyRunning=this._queue;this._queue=[];for(let be of ne)if(!be.cancelled&&(be.callback(R),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}var Lo=t.Y([{name:"a_pos3d",type:"Int16",components:3}]);class as extends t.E{constructor(R){super(),this.sourceCache=R,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,R.usedForTerrain=!0,R.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null}update(R,ne){this.sourceCache.update(R,ne),this._renderableTilesKeys=[];let be={};for(let Ae of R.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:ne}))be[Ae.key]=!0,this._renderableTilesKeys.push(Ae.key),this._tiles[Ae.key]||(Ae.posMatrix=new Float64Array(16),t.aP(Ae.posMatrix,0,t.X,0,t.X,0,1),this._tiles[Ae.key]=new ot(Ae,this.tileSize));for(let Ae in this._tiles)be[Ae]||delete this._tiles[Ae]}freeRtt(R){for(let ne in this._tiles){let be=this._tiles[ne];(!R||be.tileID.equals(R)||be.tileID.isChildOf(R)||R.isChildOf(be.tileID))&&(be.rtt=[])}}getRenderableTiles(){return this._renderableTilesKeys.map(R=>this.getTileByID(R))}getTileByID(R){return this._tiles[R]}getTerrainCoords(R){let ne={};for(let be of this._renderableTilesKeys){let Ae=this._tiles[be].tileID;if(Ae.canonical.equals(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16),t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),ne[be]=Fe}else if(Ae.canonical.isChildOf(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=Ae.canonical.z-R.canonical.z,wt=Ae.canonical.x-(Ae.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,Jt,0,Jt,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[-wt*Jt,-zt*Jt,0]),ne[be]=Fe}else if(R.canonical.isChildOf(Ae.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=R.canonical.z-Ae.canonical.z,wt=R.canonical.x-(R.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[wt*Jt,zt*Jt,0]),t.K(Fe.posMatrix,Fe.posMatrix,[1/2**ht,1/2**ht,0]),ne[be]=Fe}}return ne}getSourceTile(R,ne){let be=this.sourceCache._source,Ae=R.overscaledZ-this.deltaZoom;if(Ae>be.maxzoom&&(Ae=be.maxzoom),Ae=be.minzoom&&(!Fe||!Fe.dem);)Fe=this.sourceCache.getTileByID(R.scaledTo(Ae--).key);return Fe}tilesAfterTime(R=Date.now()){return Object.values(this._tiles).filter(ne=>ne.timeAdded>=R)}}class Ds{constructor(R,ne,be){this.painter=R,this.sourceCache=new as(ne),this.options=be,this.exaggeration=typeof be.exaggeration=="number"?be.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024}getDEMElevation(R,ne,be,Ae=t.X){var Fe;if(!(ne>=0&&ne=0&&beR.canonical.z&&(R.canonical.z>=Ae?Fe=R.canonical.z-Ae:t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));let ht=R.canonical.x-(R.canonical.x>>Fe<>Fe<>8<<4|Fe>>8,ne[ht+3]=0;let be=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(ne.buffer)),Ae=new u(R,be,R.gl.RGBA,{premultiply:!1});return Ae.bind(R.gl.NEAREST,R.gl.CLAMP_TO_EDGE),this._coordsTexture=Ae,Ae}pointCoordinate(R){this.painter.maybeDrawDepthAndCoords(!0);let ne=new Uint8Array(4),be=this.painter.context,Ae=be.gl,Fe=Math.round(R.x*this.painter.pixelRatio/devicePixelRatio),ht=Math.round(R.y*this.painter.pixelRatio/devicePixelRatio),wt=Math.round(this.painter.height/devicePixelRatio);be.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),Ae.readPixels(Fe,wt-ht-1,1,1,Ae.RGBA,Ae.UNSIGNED_BYTE,ne),be.bindFramebuffer.set(null);let zt=ne[0]+(ne[2]>>4<<8),Jt=ne[1]+((15&ne[2])<<8),hr=this.coordsIndex[255-ne[3]],vr=hr&&this.sourceCache.getTileByID(hr);if(!vr)return null;let Hr=this._coordsTextureSize,ln=(1<R.id!==ne),this._recentlyUsed.push(R.id)}stampObject(R){R.stamp=++this._stamp}getOrCreateFreeObject(){for(let ne of this._recentlyUsed)if(!this._objects[ne].inUse)return this._objects[ne];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");let R=this._createObject(this._objects.length);return this._objects.push(R),R}freeObject(R){R.inUse=!1}freeAllObjects(){for(let R of this._objects)this.freeObject(R)}isFull(){return!(this._objects.length!R.inUse)===!1}}let Ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0};class el{constructor(R,ne){this.painter=R,this.terrain=ne,this.pool=new il(R.context,30,ne.sourceCache.tileSize*ne.qualityFactor)}destruct(){this.pool.destruct()}getTexture(R){return this.pool.getObjectForId(R.rtt[this._stacks.length-1].id).texture}prepareForRender(R,ne){this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.sourceCache.getRenderableTiles(),this._renderableLayerIds=R._order.filter(be=>!R._layers[be].isHidden(ne)),this._coordsDescendingInv={};for(let be in R.sourceCaches){this._coordsDescendingInv[be]={};let Ae=R.sourceCaches[be].getVisibleCoordinates();for(let Fe of Ae){let ht=this.terrain.sourceCache.getTerrainCoords(Fe);for(let wt in ht)this._coordsDescendingInv[be][wt]||(this._coordsDescendingInv[be][wt]=[]),this._coordsDescendingInv[be][wt].push(ht[wt])}}this._coordsDescendingInvStr={};for(let be of R._order){let Ae=R._layers[be],Fe=Ae.source;if(Ns[Ae.type]&&!this._coordsDescendingInvStr[Fe]){this._coordsDescendingInvStr[Fe]={};for(let ht in this._coordsDescendingInv[Fe])this._coordsDescendingInvStr[Fe][ht]=this._coordsDescendingInv[Fe][ht].map(wt=>wt.key).sort().join()}}for(let be of this._renderableTiles)for(let Ae in this._coordsDescendingInvStr){let Fe=this._coordsDescendingInvStr[Ae][be.tileID.key];Fe&&Fe!==be.rttCoords[Ae]&&(be.rtt=[])}}renderLayer(R){if(R.isHidden(this.painter.transform.zoom))return!1;let ne=R.type,be=this.painter,Ae=this._renderableLayerIds[this._renderableLayerIds.length-1]===R.id;if(Ns[ne]&&(this._prevType&&Ns[this._prevType]||this._stacks.push([]),this._prevType=ne,this._stacks[this._stacks.length-1].push(R.id),!Ae))return!0;if(Ns[this._prevType]||Ns[ne]&&Ae){this._prevType=ne;let Fe=this._stacks.length-1,ht=this._stacks[Fe]||[];for(let wt of this._renderableTiles){if(this.pool.isFull()&&(su(this.painter,this.terrain,this._rttTiles),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(wt),wt.rtt[Fe]){let Jt=this.pool.getObjectForId(wt.rtt[Fe].id);if(Jt.stamp===wt.rtt[Fe].stamp){this.pool.useObject(Jt);continue}}let zt=this.pool.getOrCreateFreeObject();this.pool.useObject(zt),this.pool.stampObject(zt),wt.rtt[Fe]={id:zt.id,stamp:zt.stamp},be.context.bindFramebuffer.set(zt.fbo.framebuffer),be.context.clear({color:t.aM.transparent,stencil:0}),be.currentStencilSource=void 0;for(let Jt=0;Jt{Ne.touchstart=Ne.dragStart,Ne.touchmoveWindow=Ne.dragMove,Ne.touchend=Ne.dragEnd},Za={showCompass:!0,showZoom:!0,visualizePitch:!1};class jo{constructor(R,ne,be=!1){this.mousedown=ht=>{this.startMouse(t.e({},ht,{ctrlKey:!0,preventDefault:()=>ht.preventDefault()}),a.mousePos(this.element,ht)),a.addEventListener(window,"mousemove",this.mousemove),a.addEventListener(window,"mouseup",this.mouseup)},this.mousemove=ht=>{this.moveMouse(ht,a.mousePos(this.element,ht))},this.mouseup=ht=>{this.mouseRotate.dragEnd(ht),this.mousePitch&&this.mousePitch.dragEnd(ht),this.offTemp()},this.touchstart=ht=>{ht.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.startTouch(ht,this._startPos),a.addEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.addEventListener(window,"touchend",this.touchend))},this.touchmove=ht=>{ht.targetTouches.length!==1?this.reset():(this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.moveTouch(ht,this._lastPos))},this.touchend=ht=>{ht.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),this.touchRotate.reset(),this.touchPitch&&this.touchPitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()},this._clickTolerance=10;let Ae=R.dragRotate._mouseRotate.getClickTolerance(),Fe=R.dragRotate._mousePitch.getClickTolerance();this.element=ne,this.mouseRotate=Xl({clickTolerance:Ae,enable:!0}),this.touchRotate=(({enable:ht,clickTolerance:wt,bearingDegreesPerPixelMoved:zt=.8})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({bearingDelta:(vr.x-hr.x)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Ae,enable:!0}),this.map=R,be&&(this.mousePitch=Uf({clickTolerance:Fe,enable:!0}),this.touchPitch=(({enable:ht,clickTolerance:wt,pitchDegreesPerPixelMoved:zt=-.5})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({pitchDelta:(vr.y-hr.y)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Fe,enable:!0})),a.addEventListener(ne,"mousedown",this.mousedown),a.addEventListener(ne,"touchstart",this.touchstart,{passive:!1}),a.addEventListener(ne,"touchcancel",this.reset)}startMouse(R,ne){this.mouseRotate.dragStart(R,ne),this.mousePitch&&this.mousePitch.dragStart(R,ne),a.disableDrag()}startTouch(R,ne){this.touchRotate.dragStart(R,ne),this.touchPitch&&this.touchPitch.dragStart(R,ne),a.disableDrag()}moveMouse(R,ne){let be=this.map,{bearingDelta:Ae}=this.mouseRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.mousePitch){let{pitchDelta:Fe}=this.mousePitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}moveTouch(R,ne){let be=this.map,{bearingDelta:Ae}=this.touchRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.touchPitch){let{pitchDelta:Fe}=this.touchPitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}off(){let R=this.element;a.removeEventListener(R,"mousedown",this.mousedown),a.removeEventListener(R,"touchstart",this.touchstart,{passive:!1}),a.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.removeEventListener(window,"touchend",this.touchend),a.removeEventListener(R,"touchcancel",this.reset),this.offTemp()}offTemp(){a.enableDrag(),a.removeEventListener(window,"mousemove",this.mousemove),a.removeEventListener(window,"mouseup",this.mouseup),a.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.removeEventListener(window,"touchend",this.touchend)}}let Js;function zs(Ne,R,ne){let be=new t.N(Ne.lng,Ne.lat);if(Ne=new t.N(Ne.lng,Ne.lat),R){let Ae=new t.N(Ne.lng-360,Ne.lat),Fe=new t.N(Ne.lng+360,Ne.lat),ht=ne.locationPoint(Ne).distSqr(R);ne.locationPoint(Ae).distSqr(R)180;){let Ae=ne.locationPoint(Ne);if(Ae.x>=0&&Ae.y>=0&&Ae.x<=ne.width&&Ae.y<=ne.height)break;Ne.lng>ne.center.lng?Ne.lng-=360:Ne.lng+=360}return Ne.lng!==be.lng&&ne.locationPoint(Ne).y>ne.height/2-ne.getHorizon()?Ne:be}let cu={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function zu(Ne,R,ne){let be=Ne.classList;for(let Ae in cu)be.remove(`maplibregl-${ne}-anchor-${Ae}`);be.add(`maplibregl-${ne}-anchor-${R}`)}class nc extends t.E{constructor(R){if(super(),this._onKeyPress=ne=>{let be=ne.code,Ae=ne.charCode||ne.keyCode;be!=="Space"&&be!=="Enter"&&Ae!==32&&Ae!==13||this.togglePopup()},this._onMapClick=ne=>{let be=ne.originalEvent.target,Ae=this._element;this._popup&&(be===Ae||Ae.contains(be))&&this.togglePopup()},this._update=ne=>{var be;if(!this._map)return;let Ae=this._map.loaded()&&!this._map.isMoving();(ne?.type==="terrain"||ne?.type==="render"&&!Ae)&&this._map.once("render",this._update),this._lngLat=this._map.transform.renderWorldCopies?zs(this._lngLat,this._flatPos,this._map.transform):(be=this._lngLat)===null||be===void 0?void 0:be.wrap(),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationPoint(this._lngLat)._add(this._offset));let Fe="";this._rotationAlignment==="viewport"||this._rotationAlignment==="auto"?Fe=`rotateZ(${this._rotation}deg)`:this._rotationAlignment==="map"&&(Fe=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let ht="";this._pitchAlignment==="viewport"||this._pitchAlignment==="auto"?ht="rotateX(0deg)":this._pitchAlignment==="map"&&(ht=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||ne&&ne.type!=="moveend"||(this._pos=this._pos.round()),a.setTransform(this._element,`${cu[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${ht} ${Fe}`),i.frameAsync(new AbortController).then(()=>{this._updateOpacity(ne&&ne.type==="moveend")}).catch(()=>{})},this._onMove=ne=>{if(!this._isDragging){let be=this._clickTolerance||this._map._clickTolerance;this._isDragging=ne.point.dist(this._pointerdownPos)>=be}this._isDragging&&(this._pos=ne.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new t.k("dragstart"))),this.fire(new t.k("drag")))},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new t.k("dragend")),this._state="inactive"},this._addDragHandler=ne=>{this._element.contains(ne.originalEvent.target)&&(ne.preventDefault(),this._positionDelta=ne.point.sub(this._pos).add(this._offset),this._pointerdownPos=ne.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},this._anchor=R&&R.anchor||"center",this._color=R&&R.color||"#3FB1CE",this._scale=R&&R.scale||1,this._draggable=R&&R.draggable||!1,this._clickTolerance=R&&R.clickTolerance||0,this._subpixelPositioning=R&&R.subpixelPositioning||!1,this._isDragging=!1,this._state="inactive",this._rotation=R&&R.rotation||0,this._rotationAlignment=R&&R.rotationAlignment||"auto",this._pitchAlignment=R&&R.pitchAlignment&&R.pitchAlignment!=="auto"?R.pitchAlignment:this._rotationAlignment,this.setOpacity(),this.setOpacity(R?.opacity,R?.opacityWhenCovered),R&&R.element)this._element=R.element,this._offset=t.P.convert(R&&R.offset||[0,0]);else{this._defaultMarker=!0,this._element=a.create("div");let ne=a.createNS("http://www.w3.org/2000/svg","svg"),be=41,Ae=27;ne.setAttributeNS(null,"display","block"),ne.setAttributeNS(null,"height",`${be}px`),ne.setAttributeNS(null,"width",`${Ae}px`),ne.setAttributeNS(null,"viewBox",`0 0 ${Ae} ${be}`);let Fe=a.createNS("http://www.w3.org/2000/svg","g");Fe.setAttributeNS(null,"stroke","none"),Fe.setAttributeNS(null,"stroke-width","1"),Fe.setAttributeNS(null,"fill","none"),Fe.setAttributeNS(null,"fill-rule","evenodd");let ht=a.createNS("http://www.w3.org/2000/svg","g");ht.setAttributeNS(null,"fill-rule","nonzero");let wt=a.createNS("http://www.w3.org/2000/svg","g");wt.setAttributeNS(null,"transform","translate(3.0, 29.0)"),wt.setAttributeNS(null,"fill","#000000");let zt=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(let dt of zt){let St=a.createNS("http://www.w3.org/2000/svg","ellipse");St.setAttributeNS(null,"opacity","0.04"),St.setAttributeNS(null,"cx","10.5"),St.setAttributeNS(null,"cy","5.80029008"),St.setAttributeNS(null,"rx",dt.rx),St.setAttributeNS(null,"ry",dt.ry),wt.appendChild(St)}let Jt=a.createNS("http://www.w3.org/2000/svg","g");Jt.setAttributeNS(null,"fill",this._color);let hr=a.createNS("http://www.w3.org/2000/svg","path");hr.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),Jt.appendChild(hr);let vr=a.createNS("http://www.w3.org/2000/svg","g");vr.setAttributeNS(null,"opacity","0.25"),vr.setAttributeNS(null,"fill","#000000");let Hr=a.createNS("http://www.w3.org/2000/svg","path");Hr.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),vr.appendChild(Hr);let ln=a.createNS("http://www.w3.org/2000/svg","g");ln.setAttributeNS(null,"transform","translate(6.0, 7.0)"),ln.setAttributeNS(null,"fill","#FFFFFF");let Ge=a.createNS("http://www.w3.org/2000/svg","g");Ge.setAttributeNS(null,"transform","translate(8.0, 8.0)");let $e=a.createNS("http://www.w3.org/2000/svg","circle");$e.setAttributeNS(null,"fill","#000000"),$e.setAttributeNS(null,"opacity","0.25"),$e.setAttributeNS(null,"cx","5.5"),$e.setAttributeNS(null,"cy","5.5"),$e.setAttributeNS(null,"r","5.4999962");let st=a.createNS("http://www.w3.org/2000/svg","circle");st.setAttributeNS(null,"fill","#FFFFFF"),st.setAttributeNS(null,"cx","5.5"),st.setAttributeNS(null,"cy","5.5"),st.setAttributeNS(null,"r","5.4999962"),Ge.appendChild($e),Ge.appendChild(st),ht.appendChild(wt),ht.appendChild(Jt),ht.appendChild(vr),ht.appendChild(ln),ht.appendChild(Ge),ne.appendChild(ht),ne.setAttributeNS(null,"height",be*this._scale+"px"),ne.setAttributeNS(null,"width",Ae*this._scale+"px"),this._element.appendChild(ne),this._offset=t.P.convert(R&&R.offset||[0,-14])}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",ne=>{ne.preventDefault()}),this._element.addEventListener("mousedown",ne=>{ne.preventDefault()}),zu(this._element,this._anchor,"marker"),R&&R.className)for(let ne of R.className.split(" "))this._element.classList.add(ne);this._popup=null}addTo(R){return this.remove(),this._map=R,this._element.setAttribute("aria-label",R._getUIString("Marker.Title")),R.getCanvasContainer().appendChild(this._element),R.on("move",this._update),R.on("moveend",this._update),R.on("terrain",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),a.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(R){return this._lngLat=t.N.convert(R),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(R){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),R){if(!("offset"in R.options)){let Ae=Math.abs(13.5)/Math.SQRT2;R.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[Ae,-1*(38.1-13.5+Ae)],"bottom-right":[-Ae,-1*(38.1-13.5+Ae)],left:[13.5,-1*(38.1-13.5)],right:[-13.5,-1*(38.1-13.5)]}:this._offset}this._popup=R,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this}setSubpixelPositioning(R){return this._subpixelPositioning=R,this}getPopup(){return this._popup}togglePopup(){let R=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:R?(R.isOpen()?R.remove():(R.setLngLat(this._lngLat),R.addTo(this._map)),this):this}_updateOpacity(R=!1){var ne,be;if(!(!((ne=this._map)===null||ne===void 0)&&ne.terrain))return void(this._element.style.opacity!==this._opacity&&(this._element.style.opacity=this._opacity));if(R)this._opacityTimeout=null;else{if(this._opacityTimeout)return;this._opacityTimeout=setTimeout(()=>{this._opacityTimeout=null},100)}let Ae=this._map,Fe=Ae.terrain.depthAtPoint(this._pos),ht=Ae.terrain.getElevationForLngLatZoom(this._lngLat,Ae.transform.tileZoom);if(Ae.transform.lngLatToCameraDepth(this._lngLat,ht)-Fe<.006)return void(this._element.style.opacity=this._opacity);let wt=-this._offset.y/Ae.transform._pixelPerMeter,zt=Math.sin(Ae.getPitch()*Math.PI/180)*wt,Jt=Ae.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),hr=Ae.transform.lngLatToCameraDepth(this._lngLat,ht+zt)-Jt>.006;!((be=this._popup)===null||be===void 0)&&be.isOpen()&&hr&&this._popup.remove(),this._element.style.opacity=hr?this._opacityWhenCovered:this._opacity}getOffset(){return this._offset}setOffset(R){return this._offset=t.P.convert(R),this._update(),this}addClassName(R){this._element.classList.add(R)}removeClassName(R){this._element.classList.remove(R)}toggleClassName(R){return this._element.classList.toggle(R)}setDraggable(R){return this._draggable=!!R,this._map&&(R?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(R){return this._rotation=R||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(R){return this._rotationAlignment=R||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(R){return this._pitchAlignment=R&&R!=="auto"?R:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(R,ne){return R===void 0&&ne===void 0&&(this._opacity="1",this._opacityWhenCovered="0.2"),R!==void 0&&(this._opacity=R),ne!==void 0&&(this._opacityWhenCovered=ne),this._map&&this._updateOpacity(!0),this}}let Kc={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Tu=0,zc=!1,Fu={maxWidth:100,unit:"metric"};function wc(Ne,R,ne){let be=ne&&ne.maxWidth||100,Ae=Ne._container.clientHeight/2,Fe=Ne.unproject([0,Ae]),ht=Ne.unproject([be,Ae]),wt=Fe.distanceTo(ht);if(ne&&ne.unit==="imperial"){let zt=3.2808*wt;zt>5280?bo(R,be,zt/5280,Ne._getUIString("ScaleControl.Miles")):bo(R,be,zt,Ne._getUIString("ScaleControl.Feet"))}else ne&&ne.unit==="nautical"?bo(R,be,wt/1852,Ne._getUIString("ScaleControl.NauticalMiles")):wt>=1e3?bo(R,be,wt/1e3,Ne._getUIString("ScaleControl.Kilometers")):bo(R,be,wt,Ne._getUIString("ScaleControl.Meters"))}function bo(Ne,R,ne,be){let Ae=function(Fe){let ht=Math.pow(10,`${Math.floor(Fe)}`.length-1),wt=Fe/ht;return wt=wt>=10?10:wt>=5?5:wt>=3?3:wt>=2?2:wt>=1?1:function(zt){let Jt=Math.pow(10,Math.ceil(-Math.log(zt)/Math.LN10));return Math.round(zt*Jt)/Jt}(wt),ht*wt}(ne);Ne.style.width=R*(Ae/ne)+"px",Ne.innerHTML=`${Ae} ${be}`}let Wo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1},Fc=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function hc(Ne){if(Ne){if(typeof Ne=="number"){let R=Math.round(Math.abs(Ne)/Math.SQRT2);return{center:new t.P(0,0),top:new t.P(0,Ne),"top-left":new t.P(R,R),"top-right":new t.P(-R,R),bottom:new t.P(0,-Ne),"bottom-left":new t.P(R,-R),"bottom-right":new t.P(-R,-R),left:new t.P(Ne,0),right:new t.P(-Ne,0)}}if(Ne instanceof t.P||Array.isArray(Ne)){let R=t.P.convert(Ne);return{center:R,top:R,"top-left":R,"top-right":R,bottom:R,"bottom-left":R,"bottom-right":R,left:R,right:R}}return{center:t.P.convert(Ne.center||[0,0]),top:t.P.convert(Ne.top||[0,0]),"top-left":t.P.convert(Ne["top-left"]||[0,0]),"top-right":t.P.convert(Ne["top-right"]||[0,0]),bottom:t.P.convert(Ne.bottom||[0,0]),"bottom-left":t.P.convert(Ne["bottom-left"]||[0,0]),"bottom-right":t.P.convert(Ne["bottom-right"]||[0,0]),left:t.P.convert(Ne.left||[0,0]),right:t.P.convert(Ne.right||[0,0])}}return hc(new t.P(0,0))}let dc=r;e.AJAXError=t.bh,e.Evented=t.E,e.LngLat=t.N,e.MercatorCoordinate=t.Z,e.Point=t.P,e.addProtocol=t.bi,e.config=t.a,e.removeProtocol=t.bj,e.AttributionControl=Ao,e.BoxZoomHandler=wu,e.CanvasSource=tt,e.CooperativeGesturesHandler=zi,e.DoubleClickZoomHandler=si,e.DragPanHandler=Wi,e.DragRotateHandler=aa,e.EdgeInsets=tc,e.FullscreenControl=class extends t.E{constructor(Ne={}){super(),this._onFullscreenChange=()=>{var R;let ne=window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement;for(;!((R=ne?.shadowRoot)===null||R===void 0)&&R.fullscreenElement;)ne=ne.shadowRoot.fullscreenElement;ne===this._container!==this._fullscreen&&this._handleFullscreenChange()},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen()},this._fullscreen=!1,Ne&&Ne.container&&(Ne.container instanceof HTMLElement?this._container=Ne.container:t.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange")}onAdd(Ne){return this._map=Ne,this._container||(this._container=this._map.getContainer()),this._controlContainer=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){a.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange)}_setupUI(){let Ne=this._fullscreenButton=a.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);a.create("span","maplibregl-ctrl-icon",Ne).setAttribute("aria-hidden","true"),Ne.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange)}_updateTitle(){let Ne=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Ne),this._fullscreenButton.title=Ne}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new t.k("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.k("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable())}_exitFullscreen(){window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen()}_requestFullscreen(){this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen()}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize()}},e.GeoJSONSource=Ie,e.GeolocateControl=class extends t.E{constructor(Ne){super(),this._onSuccess=R=>{if(this._map){if(this._isOutOfMapMaxBounds(R))return this._setErrorState(),this.fire(new t.k("outofmaxbounds",R)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=R,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(R),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(R),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new t.k("geolocate",R)),this._finish()}},this._updateCamera=R=>{let ne=new t.N(R.coords.longitude,R.coords.latitude),be=R.coords.accuracy,Ae=this._map.getBearing(),Fe=t.e({bearing:Ae},this.options.fitBoundsOptions),ht=ie.fromLngLat(ne,be);this._map.fitBounds(ht,Fe,{geolocateSource:!0})},this._updateMarker=R=>{if(R){let ne=new t.N(R.coords.longitude,R.coords.latitude);this._accuracyCircleMarker.setLngLat(ne).addTo(this._map),this._userLocationDotMarker.setLngLat(ne).addTo(this._map),this._accuracy=R.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},this._onZoom=()=>{this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},this._onError=R=>{if(this._map){if(this.options.trackUserLocation)if(R.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;let ne=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(R.code===3&&zc)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new t.k("error",R)),this._finish()}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},this._setupUI=()=>{this._map&&(this._container.addEventListener("contextmenu",R=>R.preventDefault()),this._geolocateButton=a.create("button","maplibregl-ctrl-geolocate",this._container),a.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",this._geolocateButton.disabled=!0)},this._finishSetupUI=R=>{if(this._map){if(R===!1){t.w("Geolocation support is not available so the GeolocateControl will be disabled.");let ne=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne)}else{let ne=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.disabled=!1,this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=a.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new nc({element:this._dotElement}),this._circleElement=a.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new nc({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",()=>this.trigger()),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",ne=>{ne.geolocateSource||this._watchState!=="ACTIVE_LOCK"||ne.originalEvent&&ne.originalEvent.type==="resize"||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new t.k("trackuserlocationend")),this.fire(new t.k("userlocationlostfocus")))})}},this.options=t.e({},Kc,Ne)}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),function(){return t._(this,arguments,void 0,function*(R=!1){if(Js!==void 0&&!R)return Js;if(window.navigator.permissions===void 0)return Js=!!window.navigator.geolocation,Js;try{Js=(yield window.navigator.permissions.query({name:"geolocation"})).state!=="denied"}catch{Js=!!window.navigator.geolocation}return Js})}().then(R=>this._finishSetupUI(R)),this._container}onRemove(){this._geolocationWatchID!==void 0&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),a.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Tu=0,zc=!1}_isOutOfMapMaxBounds(Ne){let R=this._map.getMaxBounds(),ne=Ne.coords;return R&&(ne.longitudeR.getEast()||ne.latitudeR.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"ACTIVE_ERROR":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadius(){let Ne=this._map.getBounds(),R=Ne.getSouthEast(),ne=Ne.getNorthEast(),be=R.distanceTo(ne),Ae=Math.ceil(this._accuracy/(be/this._map._container.clientHeight)*2);this._circleElement.style.width=`${Ae}px`,this._circleElement.style.height=`${Ae}px`}trigger(){if(!this._setup)return t.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.k("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Tu--,zc=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new t.k("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.k("trackuserlocationstart")),this.fire(new t.k("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let Ne;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),Tu++,Tu>1?(Ne={maximumAge:6e5,timeout:0},zc=!0):(Ne=this.options.positionOptions,zc=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,Ne)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},e.Hash=uh,e.ImageSource=it,e.KeyboardHandler=dr,e.LngLatBounds=ie,e.LogoControl=xa,e.Map=class extends co{constructor(Ne){t.bf.mark(t.bg.create);let R=Object.assign(Object.assign({},_l),Ne);if(R.minZoom!=null&&R.maxZoom!=null&&R.minZoom>R.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(R.minPitch!=null&&R.maxPitch!=null&&R.minPitch>R.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(R.minPitch!=null&&R.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(R.maxPitch!=null&&R.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(super(new Sl(R.minZoom,R.maxZoom,R.minPitch,R.maxPitch,R.renderWorldCopies),{bearingSnap:R.bearingSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new Qi,this._controls=[],this._mapId=t.a4(),this._contextLost=ne=>{ne.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.fire(new t.k("webglcontextlost",{originalEvent:ne}))},this._contextRestored=ne=>{this._setupPainter(),this.resize(),this._update(),this.fire(new t.k("webglcontextrestored",{originalEvent:ne}))},this._onMapScroll=ne=>{if(ne.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update()},this._interactive=R.interactive,this._maxTileCacheSize=R.maxTileCacheSize,this._maxTileCacheZoomLevels=R.maxTileCacheZoomLevels,this._failIfMajorPerformanceCaveat=R.failIfMajorPerformanceCaveat===!0,this._preserveDrawingBuffer=R.preserveDrawingBuffer===!0,this._antialias=R.antialias===!0,this._trackResize=R.trackResize===!0,this._bearingSnap=R.bearingSnap,this._refreshExpiredTiles=R.refreshExpiredTiles===!0,this._fadeDuration=R.fadeDuration,this._crossSourceCollisions=R.crossSourceCollisions===!0,this._collectResourceTiming=R.collectResourceTiming===!0,this._locale=Object.assign(Object.assign({},Es),R.locale),this._clickTolerance=R.clickTolerance,this._overridePixelRatio=R.pixelRatio,this._maxCanvasSize=R.maxCanvasSize,this.transformCameraUpdate=R.transformCameraUpdate,this.cancelPendingTileRequestsWhileZooming=R.cancelPendingTileRequestsWhileZooming===!0,this._imageQueueHandle=l.addThrottleControl(()=>this.isMoving()),this._requestManager=new _(R.transformRequest),typeof R.container=="string"){if(this._container=document.getElementById(R.container),!this._container)throw new Error(`Container '${R.container}' not found.`)}else{if(!(R.container instanceof HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=R.container}if(R.maxBounds&&this.setMaxBounds(R.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",()=>this._update(!1)).on("moveend",()=>this._update(!1)).on("zoom",()=>this._update(!0)).on("terrain",()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)}).once("idle",()=>{this._idleTriggered=!0}),typeof window<"u"){addEventListener("online",this._onWindowOnline,!1);let ne=!1,be=th(Ae=>{this._trackResize&&!this._removed&&(this.resize(Ae),this.redraw())},50);this._resizeObserver=new ResizeObserver(Ae=>{ne?be(Ae):ne=!0}),this._resizeObserver.observe(this._container)}this.handlers=new po(this,R),this._hash=R.hash&&new uh(typeof R.hash=="string"&&R.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:R.center,zoom:R.zoom,bearing:R.bearing,pitch:R.pitch}),R.bounds&&(this.resize(),this.fitBounds(R.bounds,t.e({},R.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=R.localIdeographFontFamily,this._validateStyle=R.validateStyle,R.style&&this.setStyle(R.style,{localIdeographFontFamily:R.localIdeographFontFamily}),R.attributionControl&&this.addControl(new Ao(typeof R.attributionControl=="boolean"?void 0:R.attributionControl)),R.maplibreLogo&&this.addControl(new xa,R.logoPosition),this.on("style.load",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on("data",ne=>{this._update(ne.dataType==="style"),this.fire(new t.k(`${ne.dataType}data`,ne))}),this.on("dataloading",ne=>{this.fire(new t.k(`${ne.dataType}dataloading`,ne))}),this.on("dataabort",ne=>{this.fire(new t.k("sourcedataabort",ne))})}_getMapId(){return this._mapId}addControl(Ne,R){if(R===void 0&&(R=Ne.getDefaultPosition?Ne.getDefaultPosition():"top-right"),!Ne||!Ne.onAdd)return this.fire(new t.j(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));let ne=Ne.onAdd(this);this._controls.push(Ne);let be=this._controlPositions[R];return R.indexOf("bottom")!==-1?be.insertBefore(ne,be.firstChild):be.appendChild(ne),this}removeControl(Ne){if(!Ne||!Ne.onRemove)return this.fire(new t.j(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));let R=this._controls.indexOf(Ne);return R>-1&&this._controls.splice(R,1),Ne.onRemove(this),this}hasControl(Ne){return this._controls.indexOf(Ne)>-1}calculateCameraOptionsFromTo(Ne,R,ne,be){return be==null&&this.terrain&&(be=this.terrain.getElevationForLngLatZoom(ne,this.transform.tileZoom)),super.calculateCameraOptionsFromTo(Ne,R,ne,be)}resize(Ne){var R;let ne=this._containerDimensions(),be=ne[0],Ae=ne[1],Fe=this._getClampedPixelRatio(be,Ae);if(this._resizeCanvas(be,Ae,Fe),this.painter.resize(be,Ae,Fe),this.painter.overLimit()){let wt=this.painter.context.gl;this._maxCanvasSize=[wt.drawingBufferWidth,wt.drawingBufferHeight];let zt=this._getClampedPixelRatio(be,Ae);this._resizeCanvas(be,Ae,zt),this.painter.resize(be,Ae,zt)}this.transform.resize(be,Ae),(R=this._requestedCameraState)===null||R===void 0||R.resize(be,Ae);let ht=!this._moving;return ht&&(this.stop(),this.fire(new t.k("movestart",Ne)).fire(new t.k("move",Ne))),this.fire(new t.k("resize",Ne)),ht&&this.fire(new t.k("moveend",Ne)),this}_getClampedPixelRatio(Ne,R){let{0:ne,1:be}=this._maxCanvasSize,Ae=this.getPixelRatio(),Fe=Ne*Ae,ht=R*Ae;return Math.min(Fe>ne?ne/Fe:1,ht>be?be/ht:1)*Ae}getPixelRatio(){var Ne;return(Ne=this._overridePixelRatio)!==null&&Ne!==void 0?Ne:devicePixelRatio}setPixelRatio(Ne){this._overridePixelRatio=Ne,this.resize()}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(Ne){return this.transform.setMaxBounds(ie.convert(Ne)),this._update()}setMinZoom(Ne){if((Ne=Ne??-2)>=-2&&Ne<=this.transform.maxZoom)return this.transform.minZoom=Ne,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=Ne,this._update(),this.getZoom()>Ne&&this.setZoom(Ne),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(Ne){if((Ne=Ne??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(Ne>=0&&Ne<=this.transform.maxPitch)return this.transform.minPitch=Ne,this._update(),this.getPitch()85)throw new Error("maxPitch must be less than or equal to 85");if(Ne>=this.transform.minPitch)return this.transform.maxPitch=Ne,this._update(),this.getPitch()>Ne&&this.setPitch(Ne),this;throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(Ne){return this.transform.renderWorldCopies=Ne,this._update()}project(Ne){return this.transform.locationPoint(t.N.convert(Ne),this.style&&this.terrain)}unproject(Ne){return this.transform.pointLocation(t.P.convert(Ne),this.terrain)}isMoving(){var Ne;return this._moving||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isMoving())}isZooming(){var Ne;return this._zooming||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isZooming())}isRotating(){var Ne;return this._rotating||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isRotating())}_createDelegatedListener(Ne,R,ne){if(Ne==="mouseenter"||Ne==="mouseover"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:Fe=>{let ht=R.filter(zt=>this.getLayer(zt)),wt=ht.length!==0?this.queryRenderedFeatures(Fe.point,{layers:ht}):[];wt.length?be||(be=!0,ne.call(this,new lu(Ne,this,Fe.originalEvent,{features:wt}))):be=!1},mouseout:()=>{be=!1}}}}if(Ne==="mouseleave"||Ne==="mouseout"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:ht=>{let wt=R.filter(zt=>this.getLayer(zt));(wt.length!==0?this.queryRenderedFeatures(ht.point,{layers:wt}):[]).length?be=!0:be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))},mouseout:ht=>{be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))}}}}{let be=Ae=>{let Fe=R.filter(wt=>this.getLayer(wt)),ht=Fe.length!==0?this.queryRenderedFeatures(Ae.point,{layers:Fe}):[];ht.length&&(Ae.features=ht,ne.call(this,Ae),delete Ae.features)};return{layers:R,listener:ne,delegates:{[Ne]:be}}}}_saveDelegatedListener(Ne,R){this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[Ne]=this._delegatedListeners[Ne]||[],this._delegatedListeners[Ne].push(R)}_removeDelegatedListener(Ne,R,ne){if(!this._delegatedListeners||!this._delegatedListeners[Ne])return;let be=this._delegatedListeners[Ne];for(let Ae=0;AeR.includes(ht))){for(let ht in Fe.delegates)this.off(ht,Fe.delegates[ht]);return void be.splice(Ae,1)}}}on(Ne,R,ne){if(ne===void 0)return super.on(Ne,R);let be=this._createDelegatedListener(Ne,typeof R=="string"?[R]:R,ne);this._saveDelegatedListener(Ne,be);for(let Ae in be.delegates)this.on(Ae,be.delegates[Ae]);return this}once(Ne,R,ne){if(ne===void 0)return super.once(Ne,R);let be=typeof R=="string"?[R]:R,Ae=this._createDelegatedListener(Ne,be,ne);for(let Fe in Ae.delegates){let ht=Ae.delegates[Fe];Ae.delegates[Fe]=(...wt)=>{this._removeDelegatedListener(Ne,be,ne),ht(...wt)}}this._saveDelegatedListener(Ne,Ae);for(let Fe in Ae.delegates)this.once(Fe,Ae.delegates[Fe]);return this}off(Ne,R,ne){return ne===void 0?super.off(Ne,R):(this._removeDelegatedListener(Ne,typeof R=="string"?[R]:R,ne),this)}queryRenderedFeatures(Ne,R){if(!this.style)return[];let ne,be=Ne instanceof t.P||Array.isArray(Ne),Ae=be?Ne:[[0,0],[this.transform.width,this.transform.height]];if(R=R||(be?{}:Ne)||{},Ae instanceof t.P||typeof Ae[0]=="number")ne=[t.P.convert(Ae)];else{let Fe=t.P.convert(Ae[0]),ht=t.P.convert(Ae[1]);ne=[Fe,new t.P(ht.x,Fe.y),ht,new t.P(Fe.x,ht.y),Fe]}return this.style.queryRenderedFeatures(ne,R,this.transform)}querySourceFeatures(Ne,R){return this.style.querySourceFeatures(Ne,R)}setStyle(Ne,R){return(R=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},R)).diff!==!1&&R.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&Ne?(this._diffStyle(Ne,R),this):(this._localIdeographFontFamily=R.localIdeographFontFamily,this._updateStyle(Ne,R))}setTransformRequest(Ne){return this._requestManager.setTransformRequest(Ne),this}_getUIString(Ne){let R=this._locale[Ne];if(R==null)throw new Error(`Missing UI string '${Ne}'`);return R}_updateStyle(Ne,R){if(R.transformStyle&&this.style&&!this.style._loaded)return void this.style.once("style.load",()=>this._updateStyle(Ne,R));let ne=this.style&&R.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!Ne)),Ne?(this.style=new nn(this,R||{}),this.style.setEventedParent(this,{style:this.style}),typeof Ne=="string"?this.style.loadURL(Ne,R,ne):this.style.loadJSON(Ne,R,ne),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new nn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(Ne,R){if(typeof Ne=="string"){let ne=this._requestManager.transformRequest(Ne,"Style");t.h(ne,new AbortController).then(be=>{this._updateDiff(be.data,R)}).catch(be=>{be&&this.fire(new t.j(be))})}else typeof Ne=="object"&&this._updateDiff(Ne,R)}_updateDiff(Ne,R){try{this.style.setState(Ne,R)&&this._update(!0)}catch(ne){t.w(`Unable to perform style diff: ${ne.message||ne.error||ne}. Rebuilding the style from scratch.`),this._updateStyle(Ne,R)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():t.w("There is no style added to the map.")}addSource(Ne,R){return this._lazyInitEmptyStyle(),this.style.addSource(Ne,R),this._update(!0)}isSourceLoaded(Ne){let R=this.style&&this.style.sourceCaches[Ne];if(R!==void 0)return R.loaded();this.fire(new t.j(new Error(`There is no source with ID '${Ne}'`)))}setTerrain(Ne){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),Ne){let R=this.style.sourceCaches[Ne.source];if(!R)throw new Error(`cannot load terrain, because there exists no source with ID: ${Ne.source}`);this.terrain===null&&R.reload();for(let ne in this.style._layers){let be=this.style._layers[ne];be.type==="hillshade"&&be.source===Ne.source&&t.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.")}this.terrain=new Ds(this.painter,R,Ne),this.painter.renderToTexture=new el(this.painter,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._terrainDataCallback=ne=>{ne.dataType==="style"?this.terrain.sourceCache.freeRtt():ne.dataType==="source"&&ne.tile&&(ne.sourceId!==Ne.source||this._elevationFreeze||(this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.terrain.sourceCache.freeRtt(ne.tile.tileID))},this.style.on("data",this._terrainDataCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.minElevationForCurrentTile=0,this.transform.elevation=0;return this.fire(new t.k("terrain",{terrain:Ne})),this}getTerrain(){var Ne,R;return(R=(Ne=this.terrain)===null||Ne===void 0?void 0:Ne.options)!==null&&R!==void 0?R:null}areTilesLoaded(){let Ne=this.style&&this.style.sourceCaches;for(let R in Ne){let ne=Ne[R]._tiles;for(let be in ne){let Ae=ne[be];if(Ae.state!=="loaded"&&Ae.state!=="errored")return!1}}return!0}removeSource(Ne){return this.style.removeSource(Ne),this._update(!0)}getSource(Ne){return this.style.getSource(Ne)}addImage(Ne,R,ne={}){let{pixelRatio:be=1,sdf:Ae=!1,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt}=ne;if(this._lazyInitEmptyStyle(),!(R instanceof HTMLImageElement||t.b(R))){if(R.width===void 0||R.height===void 0)return this.fire(new t.j(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{let{width:hr,height:vr,data:Hr}=R,ln=R;return this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},new Uint8Array(Hr)),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0,userImage:ln}),ln.onAdd&&ln.onAdd(this,Ne),this}}{let{width:hr,height:vr,data:Hr}=i.getImageData(R);this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},Hr),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0})}}updateImage(Ne,R){let ne=this.style.getImage(Ne);if(!ne)return this.fire(new t.j(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));let be=R instanceof HTMLImageElement||t.b(R)?i.getImageData(R):R,{width:Ae,height:Fe,data:ht}=be;if(Ae===void 0||Fe===void 0)return this.fire(new t.j(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(Ae!==ne.data.width||Fe!==ne.data.height)return this.fire(new t.j(new Error("The width and height of the updated image must be that same as the previous version of the image")));let wt=!(R instanceof HTMLImageElement||t.b(R));return ne.data.replace(ht,wt),this.style.updateImage(Ne,ne),this}getImage(Ne){return this.style.getImage(Ne)}hasImage(Ne){return Ne?!!this.style.getImage(Ne):(this.fire(new t.j(new Error("Missing required image id"))),!1)}removeImage(Ne){this.style.removeImage(Ne)}loadImage(Ne){return l.getImage(this._requestManager.transformRequest(Ne,"Image"),new AbortController)}listImages(){return this.style.listImages()}addLayer(Ne,R){return this._lazyInitEmptyStyle(),this.style.addLayer(Ne,R),this._update(!0)}moveLayer(Ne,R){return this.style.moveLayer(Ne,R),this._update(!0)}removeLayer(Ne){return this.style.removeLayer(Ne),this._update(!0)}getLayer(Ne){return this.style.getLayer(Ne)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(Ne,R,ne){return this.style.setLayerZoomRange(Ne,R,ne),this._update(!0)}setFilter(Ne,R,ne={}){return this.style.setFilter(Ne,R,ne),this._update(!0)}getFilter(Ne){return this.style.getFilter(Ne)}setPaintProperty(Ne,R,ne,be={}){return this.style.setPaintProperty(Ne,R,ne,be),this._update(!0)}getPaintProperty(Ne,R){return this.style.getPaintProperty(Ne,R)}setLayoutProperty(Ne,R,ne,be={}){return this.style.setLayoutProperty(Ne,R,ne,be),this._update(!0)}getLayoutProperty(Ne,R){return this.style.getLayoutProperty(Ne,R)}setGlyphs(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(Ne,R),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(Ne,R,ne={}){return this._lazyInitEmptyStyle(),this.style.addSprite(Ne,R,ne,be=>{be||this._update(!0)}),this}removeSprite(Ne){return this._lazyInitEmptyStyle(),this.style.removeSprite(Ne),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setSprite(Ne,R,ne=>{ne||this._update(!0)}),this}setLight(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setLight(Ne,R),this._update(!0)}getLight(){return this.style.getLight()}setSky(Ne){return this._lazyInitEmptyStyle(),this.style.setSky(Ne),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(Ne,R){return this.style.setFeatureState(Ne,R),this._update()}removeFeatureState(Ne,R){return this.style.removeFeatureState(Ne,R),this._update()}getFeatureState(Ne){return this.style.getFeatureState(Ne)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let Ne=0,R=0;return this._container&&(Ne=this._container.clientWidth||400,R=this._container.clientHeight||300),[Ne,R]}_setupContainer(){let Ne=this._container;Ne.classList.add("maplibregl-map");let R=this._canvasContainer=a.create("div","maplibregl-canvas-container",Ne);this._interactive&&R.classList.add("maplibregl-interactive"),this._canvas=a.create("canvas","maplibregl-canvas",R),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");let ne=this._containerDimensions(),be=this._getClampedPixelRatio(ne[0],ne[1]);this._resizeCanvas(ne[0],ne[1],be);let Ae=this._controlContainer=a.create("div","maplibregl-control-container",Ne),Fe=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(ht=>{Fe[ht]=a.create("div",`maplibregl-ctrl-${ht} `,Ae)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(Ne,R,ne){this._canvas.width=Math.floor(ne*Ne),this._canvas.height=Math.floor(ne*R),this._canvas.style.width=`${Ne}px`,this._canvas.style.height=`${R}px`}_setupPainter(){let Ne={alpha:!0,stencil:!0,depth:!0,failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1},R=null;this._canvas.addEventListener("webglcontextcreationerror",be=>{R={requestedAttributes:Ne},be&&(R.statusMessage=be.statusMessage,R.type=be.type)},{once:!0});let ne=this._canvas.getContext("webgl2",Ne)||this._canvas.getContext("webgl",Ne);if(!ne){let be="Failed to initialize WebGL";throw R?(R.message=be,new Error(JSON.stringify(R))):new Error(be)}this.painter=new yc(ne,this.transform),s.testSupport(ne)}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(Ne){return this.style&&this.style._loaded?(this._styleDirty=this._styleDirty||Ne,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(Ne){return this._update(),this._renderTaskQueue.add(Ne)}_cancelRenderFrame(Ne){this._renderTaskQueue.remove(Ne)}_render(Ne){let R=this._idleTriggered?this._fadeDuration:0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(Ne),this._removed)return;let ne=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;let Ae=this.transform.zoom,Fe=i.now();this.style.zoomHistory.update(Ae,Fe);let ht=new t.z(Ae,{now:Fe,fadeDuration:R,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),wt=ht.crossFadingFactor();wt===1&&wt===this._crossFadingFactor||(ne=!0,this._crossFadingFactor=wt),this.style.update(ht)}this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.sourceCache.update(this.transform,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._elevationFreeze||(this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.minElevationForCurrentTile=0,this.transform.elevation=0),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,R,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:R,showPadding:this.showPadding}),this.fire(new t.k("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,t.bf.mark(t.bg.load),this.fire(new t.k("load"))),this.style&&(this.style.hasTransitions()||ne)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();let be=this._sourcesDirty||this._styleDirty||this._placementDirty;return be||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.k("idle")),!this._loaded||this._fullyLoaded||be||(this._fullyLoaded=!0,t.bf.mark(t.bg.fullLoad)),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var Ne;this._hash&&this._hash.remove();for(let ne of this._controls)ne.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof window<"u"&&removeEventListener("online",this._onWindowOnline,!1),l.removeThrottleControl(this._imageQueueHandle),(Ne=this._resizeObserver)===null||Ne===void 0||Ne.disconnect();let R=this.painter.context.gl.getExtension("WEBGL_lose_context");R?.loseContext&&R.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),a.remove(this._canvasContainer),a.remove(this._controlContainer),this._container.classList.remove("maplibregl-map"),t.bf.clearMetrics(),this._removed=!0,this.fire(new t.k("remove"))}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(Ne=>{t.bf.frame(Ne),this._frameRequest=null,this._render(Ne)}).catch(()=>{}))}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(Ne){this._showTileBoundaries!==Ne&&(this._showTileBoundaries=Ne,this._update())}get showPadding(){return!!this._showPadding}set showPadding(Ne){this._showPadding!==Ne&&(this._showPadding=Ne,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(Ne){this._showCollisionBoxes!==Ne&&(this._showCollisionBoxes=Ne,Ne?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(Ne){this._showOverdrawInspector!==Ne&&(this._showOverdrawInspector=Ne,this._update())}get repaint(){return!!this._repaint}set repaint(Ne){this._repaint!==Ne&&(this._repaint=Ne,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(Ne){this._vertices=Ne,this._update()}get version(){return Bl}getCameraTargetElevation(){return this.transform.elevation}},e.MapMouseEvent=lu,e.MapTouchEvent=Xc,e.MapWheelEvent=ch,e.Marker=nc,e.NavigationControl=class{constructor(Ne){this._updateZoomButtons=()=>{let R=this._map.getZoom(),ne=R===this._map.getMaxZoom(),be=R===this._map.getMinZoom();this._zoomInButton.disabled=ne,this._zoomOutButton.disabled=be,this._zoomInButton.setAttribute("aria-disabled",ne.toString()),this._zoomOutButton.setAttribute("aria-disabled",be.toString())},this._rotateCompassArrow=()=>{let R=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=R},this._setButtonTitle=(R,ne)=>{let be=this._map._getUIString(`NavigationControl.${ne}`);R.title=be,R.setAttribute("aria-label",be)},this.options=t.e({},Za,Ne),this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",R=>R.preventDefault()),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",R=>this._map.zoomIn({},{originalEvent:R})),a.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",R=>this._map.zoomOut({},{originalEvent:R})),a.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",R=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:R}):this._map.resetNorth({},{originalEvent:R})}),this._compassIcon=a.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}onAdd(Ne){return this._map=Ne,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new jo(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){a.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(Ne,R){let ne=a.create("button",Ne,this._container);return ne.type="button",ne.addEventListener("click",R),ne}},e.Popup=class extends t.E{constructor(Ne){super(),this.remove=()=>(this._content&&a.remove(this._content),this._container&&(a.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new t.k("close"))),this),this._onMouseUp=R=>{this._update(R.point)},this._onMouseMove=R=>{this._update(R.point)},this._onDrag=R=>{this._update(R.point)},this._update=R=>{var ne;if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=a.create("div","maplibregl-popup",this._map.getContainer()),this._tip=a.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(let wt of this.options.className.split(" "))this._container.classList.add(wt);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer")}if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=this._map.transform.renderWorldCopies&&!this._trackPointer?zs(this._lngLat,this._flatPos,this._map.transform):(ne=this._lngLat)===null||ne===void 0?void 0:ne.wrap(),this._trackPointer&&!R)return;let be=this._flatPos=this._pos=this._trackPointer&&R?R:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&R?R:this._map.transform.locationPoint(this._lngLat));let Ae=this.options.anchor,Fe=hc(this.options.offset);if(!Ae){let wt=this._container.offsetWidth,zt=this._container.offsetHeight,Jt;Jt=be.y+Fe.bottom.ythis._map.transform.height-zt?["bottom"]:[],be.xthis._map.transform.width-wt/2&&Jt.push("right"),Ae=Jt.length===0?"bottom":Jt.join("-")}let ht=be.add(Fe[Ae]);this.options.subpixelPositioning||(ht=ht.round()),a.setTransform(this._container,`${cu[Ae]} translate(${ht.x}px,${ht.y}px)`),zu(this._container,Ae,"popup")},this._onClose=()=>{this.remove()},this.options=t.e(Object.create(Wo),Ne)}addTo(Ne){return this._map&&this.remove(),this._map=Ne,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new t.k("open")),this}isOpen(){return!!this._map}getLngLat(){return this._lngLat}setLngLat(Ne){return this._lngLat=t.N.convert(Ne),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(Ne){return this.setDOMContent(document.createTextNode(Ne))}setHTML(Ne){let R=document.createDocumentFragment(),ne=document.createElement("body"),be;for(ne.innerHTML=Ne;be=ne.firstChild,be;)R.appendChild(be);return this.setDOMContent(R)}getMaxWidth(){var Ne;return(Ne=this._container)===null||Ne===void 0?void 0:Ne.style.maxWidth}setMaxWidth(Ne){return this.options.maxWidth=Ne,this._update(),this}setDOMContent(Ne){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=a.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(Ne),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(Ne){return this._container&&this._container.classList.add(Ne),this}removeClassName(Ne){return this._container&&this._container.classList.remove(Ne),this}setOffset(Ne){return this.options.offset=Ne,this._update(),this}toggleClassName(Ne){if(this._container)return this._container.classList.toggle(Ne)}setSubpixelPositioning(Ne){this.options.subpixelPositioning=Ne}_createCloseButton(){this.options.closeButton&&(this._closeButton=a.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;let Ne=this._container.querySelector(Fc);Ne&&Ne.focus()}},e.RasterDEMTileSource=Ue,e.RasterTileSource=Te,e.ScaleControl=class{constructor(Ne){this._onMove=()=>{wc(this._map,this._container,this.options)},this.setUnit=R=>{this.options.unit=R,wc(this._map,this._container,this.options)},this.options=Object.assign(Object.assign({},Fu),Ne)}getDefaultPosition(){return"bottom-left"}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-scale",Ne.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){a.remove(this._container),this._map.off("move",this._onMove),this._map=void 0}},e.ScrollZoomHandler=Cn,e.Style=nn,e.TerrainControl=class{constructor(Ne){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"))},this.options=Ne}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=a.create("button","maplibregl-ctrl-terrain",this._container),a.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){a.remove(this._container),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0}},e.TwoFingersTouchPitchHandler=Yc,e.TwoFingersTouchRotateHandler=Dc,e.TwoFingersTouchZoomHandler=uu,e.TwoFingersTouchZoomRotateHandler=bi,e.VectorTileSource=xe,e.VideoSource=at,e.addSourceType=(Ne,R)=>t._(void 0,void 0,void 0,function*(){if(Me(Ne))throw new Error(`A source type called "${Ne}" already exists.`);((ne,be)=>{ut[ne]=be})(Ne,R)}),e.clearPrewarmedResources=function(){let Ne=fe;Ne&&(Ne.isPreloaded()&&Ne.numActive()===1?(Ne.release(Q),fe=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},e.getMaxParallelImageRequests=function(){return t.a.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return rt().getRTLTextPluginStatus()},e.getVersion=function(){return dc},e.getWorkerCount=function(){return le.workerCount},e.getWorkerUrl=function(){return t.a.WORKER_URL},e.importScriptInWorkers=function(Ne){return X().broadcast("IS",Ne)},e.prewarm=function(){$().acquire(Q)},e.setMaxParallelImageRequests=function(Ne){t.a.MAX_PARALLEL_IMAGE_REQUESTS=Ne},e.setRTLTextPlugin=function(Ne,R){return rt().setRTLTextPlugin(Ne,R)},e.setWorkerCount=function(Ne){le.workerCount=Ne},e.setWorkerUrl=function(Ne){t.a.WORKER_URL=Ne}});var S=g;return S})}}),hz=ke({"src/plots/map/layers.js"(Z,H){"use strict";var g=un(),x=Wl().sanitizeHTML,A=mM(),S=tm();function e(i,a){this.subplot=i,this.uid=i.uid+"-"+a,this.index=a,this.idSource="source-"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType==="image"&&i.sourcetype==="image"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapLayerId=function(i){if(i==="traces")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case"circle":g.extendFlat(s,{"circle-radius":i.circle.radius,"circle-color":i.color,"circle-opacity":i.opacity});break;case"line":g.extendFlat(s,{"line-width":i.line.width,"line-color":i.color,"line-opacity":i.opacity,"line-dasharray":i.line.dash});break;case"fill":g.extendFlat(s,{"fill-color":i.color,"fill-outline-color":i.fill.outlinecolor,"fill-opacity":i.opacity});break;case"symbol":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),g.extendFlat(s,{"icon-color":i.color,"text-color":c.textfont.color,"text-opacity":i.opacity});break;case"raster":g.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a==="geojson"?h="data":a==="vector"?h=typeof s=="string"?"url":"tiles":a==="raster"?(h="tiles",c.tileSize=256):a==="image"&&(h="url",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),dz=ke({"src/plots/map/map.js"(Z,H){"use strict";var g=fz(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=tm(),d=hz();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y;u.map?y=new Promise(function(f,P){u.updateMap(m,b,f,P)}):y=new Promise(function(f,P){u.createMap(m,b,f,P)}),v.push(y)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style),L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0})),B={};F.on("styleimagemissing",function(I){var N=I.id;if(!B[N]&&N.includes("-15")){B[N]=!0;var U=new Image(15,15);U.onload=function(){F.addImage(N,U)},U.crossOrigin="Anonymous",U.src="https://unpkg.com/maki@2.1.0/icons/"+N+".svg"}}),F.setTransformRequest(function(I){return I=I.replace("https://fonts.openmaptiles.org/Open Sans Extrabold","https://fonts.openmaptiles.org/Open Sans Extra Bold"),I=I.replace("https://tiles.basemaps.cartocdn.com/fonts/Open Sans Extrabold","https://fonts.openmaptiles.org/Open Sans Extra Bold"),I=I.replace("https://fonts.openmaptiles.org/Open Sans Regular,Arial Unicode MS Regular","https://fonts.openmaptiles.org/Klokantech Noto Sans Regular"),{url:I}}),F._canvas.style.left="0px",F._canvas.style.top="0px",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var O=[];O.push(new Promise(function(I){F.once("load",I)})),O=O.concat(A.fetchTraceGeoData(m)),Promise.all(O).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once("styledata",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf("event")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off("click",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on("click",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+"px",u.height=v.h*(b.y[1]-b.y[0])+"px",u.left=v.l+b.x[0]*v.w+"px",u.top=v.t+(1-b.y[1])*v.h+"px",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yv/2){var u=M.split("|").join("
");m.text(u).attr("data-unformatted",u).call(r.convertToTspans,i),b=t.bBox(m.node())}m.attr("transform",g(-3,-b.height+8)),E.insert("rect",".static-attribution").attr({x:-b.width-6,y:-b.height-3,width:b.width+6,height:b.height+3,fill:"rgba(255, 255, 255, 0.75)"});var y=1;b.width+6>v&&(y=v/(b.width+6));var f=[c.l+c.w*d.x[1],c.t+c.h*(1-d.y[0])];E.attr("transform",g(f[0],f[1])+x(y))}},Z.updateFx=function(i){for(var a=i._fullLayout,s=a._subplots[n],c=0;c=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup["trace-"+n.uid];return r.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),_z=ke({"src/traces/choroplethmap/index.js"(Z,H){"use strict";H.exports={attributes:gM(),supplyDefaults:gz(),colorbar:Np(),calc:Qx(),plot:yz(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(g,x){if(x){var A=x[0].trace;A._glTrace.updateOnSelect(x)}},getBelow:function(g,x){for(var A=x.getMapLayers(),S=A.length-2;S>=0;S--){var e=A[S].id;if(typeof e=="string"&&e.indexOf("water")===0){for(var t=S+1;t0?+d[h]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=["interpolate",["linear"],["heatmap-density"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup["trace-"+o.uid];return t.map.addSource(i,{type:"geojson",data:a.geojson}),n._addLayers(a,s),n}}}),Mz=ke({"src/traces/densitymap/hover.js"(Z,H){"use strict";var g=Ho(),x=_b().hoverPoints,A=_b().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,"z"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),"hover").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),Sz=ke({"src/traces/densitymap/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),Ez=ke({"src/traces/densitymap/index.js"(Z,H){"use strict";H.exports={attributes:_M(),supplyDefaults:bz(),colorbar:Np(),formatLabels:pM(),calc:wz(),plot:Az(),hoverPoints:Mz(),eventData:Sz(),getBelow:function(g,x){for(var A=x.getMapLayers(),S=0;S0;){l=w[w.length-1];var M=x[l];if(r[l]=0&&n[l].push(o[m])}r[l]=E}else{if(e[l]===S[l]){for(var b=[],v=[],u=0,E=_.length-1;E>=0;--E){var y=_[E];if(t[y]=!1,b.push(y),v.push(n[y]),u+=n[y].length,o[y]=s.length,y===l){_.length=E;break}}s.push(b);for(var f=new Array(u),E=0;Em&&(m=a.source[_]),a.target[_]>m&&(m=a.target[_]);var b=m+1;n.node._count=b;var v,u=n.node.groups,y={};for(_=0;_0&&e(B,b)&&e(O,b)&&!(y.hasOwnProperty(B)&&y.hasOwnProperty(O)&&y[B]===y[O])){y.hasOwnProperty(O)&&(O=y[O]),y.hasOwnProperty(B)&&(B=y[B]),B=+B,O=+O,d[B]=d[O]=!0;var I="";a.label&&a.label[_]&&(I=a.label[_]);var N=null;I&&T.hasOwnProperty(I)&&(N=T[I]),s.push({pointNumber:_,label:I,color:c?a.color[_]:a.color,hovercolor:h?a.hovercolor[_]:a.hovercolor,customdata:p?a.customdata[_]:a.customdata,concentrationscale:N,source:B,target:O,value:+F}),z.source.push(B),z.target.push(O)}}var U=b+u.length,W=S(i.color),Q=S(i.customdata),le=[];for(_=0;_b-1,childrenNodes:[],pointNumber:_,label:se,color:W?i.color[_]:i.color,customdata:Q?i.customdata[_]:i.customdata})}var fe=!1;return o(U,z.source,z.target)&&(fe=!0),{circular:fe,links:s,nodes:le,groups:u,groupLookup:y}}function o(n,i,a){for(var s=x.init2dArray(n,0),c=0;c1})}H.exports=function(i,a){var s=r(a);return A({circular:s.circular,_nodes:s.nodes,_links:s.links,_groups:s.groups,_groupLookup:s.groupLookup})}}}),Pz=ke({"node_modules/d3-quadtree/dist/d3-quadtree.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(b){var v=+this._x.call(null,b),u=+this._y.call(null,b);return A(this.cover(v,u),v,u,b)}function A(b,v,u,y){if(isNaN(v)||isNaN(u))return b;var f,P=b._root,L={data:y},z=b._x0,F=b._y0,B=b._x1,O=b._y1,I,N,U,W,Q,le,se,fe;if(!P)return b._root=L,b;for(;P.length;)if((Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N,f=P,!(P=P[se=le<<1|Q]))return f[se]=L,b;if(U=+b._x.call(null,P.data),W=+b._y.call(null,P.data),v===U&&u===W)return L.next=P,f?f[se]=L:b._root=L,b;do f=f?f[se]=new Array(4):b._root=new Array(4),(Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N;while((se=le<<1|Q)===(fe=(W>=N)<<1|U>=I));return f[fe]=P,f[se]=L,b}function S(b){var v,u,y=b.length,f,P,L=new Array(y),z=new Array(y),F=1/0,B=1/0,O=-1/0,I=-1/0;for(u=0;uO&&(O=f),PI&&(I=P));if(F>O||B>I)return this;for(this.cover(F,B).cover(O,I),u=0;ub||b>=f||y>v||v>=P;)switch(B=(vO||(z=W.y0)>I||(F=W.x1)=se)<<1|b>=le)&&(W=N[N.length-1],N[N.length-1]=N[N.length-1-Q],N[N.length-1-Q]=W)}else{var fe=b-+this._x.call(null,U.data),G=v-+this._y.call(null,U.data),$=fe*fe+G*G;if($=(N=(L+F)/2))?L=N:F=N,(Q=I>=(U=(z+B)/2))?z=U:B=U,v=u,!(u=u[le=Q<<1|W]))return this;if(!u.length)break;(v[le+1&3]||v[le+2&3]||v[le+3&3])&&(y=v,se=le)}for(;u.data!==b;)if(f=u,!(u=u.next))return this;return(P=u.next)&&delete u.next,f?(P?f.next=P:delete f.next,this):v?(P?v[le]=P:delete v[le],(u=v[0]||v[1]||v[2]||v[3])&&u===(v[3]||v[2]||v[1]||v[0])&&!u.length&&(y?y[se]=u:this._root=u),this):(this._root=P,this)}function a(b){for(var v=0,u=b.length;v=d.length)return l!=null&&m.sort(l),_!=null?_(m):m;for(var y=-1,f=m.length,P=d[b++],L,z,F=S(),B,O=v();++yd.length)return m;var v,u=T[b-1];return _!=null&&b>=d.length?v=m.entries():(v=[],m.each(function(y,f){v.push({key:f,values:E(y,b)})})),u!=null?v.sort(function(y,f){return u(y.key,f.key)}):v}return w={object:function(m){return M(m,0,t,r)},map:function(m){return M(m,0,o,n)},entries:function(m){return E(M(m,0,o,n),0)},key:function(m){return d.push(m),w},sortKeys:function(m){return T[d.length-1]=m,w},sortValues:function(m){return l=m,w},rollup:function(m){return _=m,w}}}function t(){return{}}function r(d,T,l){d[T]=l}function o(){return S()}function n(d,T,l){d.set(T,l)}function i(){}var a=S.prototype;i.prototype=s.prototype={constructor:i,has:a.has,add:function(d){return d+="",this[x+d]=d,this},remove:a.remove,clear:a.clear,values:a.keys,size:a.size,empty:a.empty,each:a.each};function s(d,T){var l=new i;if(d instanceof i)d.each(function(M){l.add(M)});else if(d){var _=-1,w=d.length;if(T==null)for(;++_=0&&(a=i.slice(s+1),i=i.slice(0,s)),i&&!n.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:a}})}S.prototype=A.prototype={constructor:S,on:function(o,n){var i=this._,a=e(o+"",i),s,c=-1,h=a.length;if(arguments.length<2){for(;++c0)for(var i=new Array(s),a=0,s,c;a=0&&b._call.call(null,v),b=b._next;--x}function l(){n=(o=a.now())+i,x=A=0;try{T()}finally{x=0,w(),n=0}}function _(){var b=a.now(),v=b-o;v>e&&(i-=v,o=b)}function w(){for(var b,v=t,u,y=1/0;v;)v._call?(y>v._time&&(y=v._time),b=v,v=v._next):(u=v._next,v._next=null,v=b?b._next=u:t=u);r=b,M(y)}function M(b){if(!x){A&&(A=clearTimeout(A));var v=b-n;v>24?(b<1/0&&(A=setTimeout(l,b-a.now()-i)),S&&(S=clearInterval(S))):(S||(o=a.now(),S=setInterval(_,e)),x=1,s(l))}}function E(b,v,u){var y=new p;return v=v==null?0:+v,y.restart(function(f){y.stop(),b(f+v)},v,u),y}function m(b,v,u){var y=new p,f=v;return v==null?(y.restart(b,v,u),y):(v=+v,u=u==null?c():+u,y.restart(function P(L){L+=f,y.restart(P,f+=v,u),b(L)},v,u),y)}g.interval=m,g.now=c,g.timeout=E,g.timer=d,g.timerFlush=T,Object.defineProperty(g,"__esModule",{value:!0})})}}),Dz=ke({"node_modules/d3-force/dist/d3-force.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,Pz(),bb(),Iz(),Rz()):x(g.d3=g.d3||{},g.d3,g.d3,g.d3,g.d3)})(Z,function(g,x,A,S,e){"use strict";function t(b,v){var u;b==null&&(b=0),v==null&&(v=0);function y(){var f,P=u.length,L,z=0,F=0;for(f=0;fI.index){var ee=N-re.x-re.vx,ie=U-re.y-re.vy,ce=ee*ee+ie*ie;ceN+j||JU+j||XF.r&&(F.r=F[B].r)}function z(){if(v){var F,B=v.length,O;for(u=new Array(B),F=0;F1?(Q==null?z.remove(W):z.set(W,U(Q)),v):z.get(W)},find:function(W,Q,le){var se=0,fe=b.length,G,$,J,X,re;for(le==null?le=1/0:le*=le,se=0;se1?(B.on(W,Q),v):B.on(W)}}}function w(){var b,v,u,y=r(-30),f,P=1,L=1/0,z=.81;function F(N){var U,W=b.length,Q=x.quadtree(b,p,d).visitAfter(O);for(u=N,U=0;U=L)return;(N.data!==v||N.next)&&(le===0&&(le=o(),G+=le*le),se===0&&(se=o(),G+=se*se),GS)if(!(Math.abs(l*p-d*T)>S)||!s)this._+="L"+(this._x1=o)+","+(this._y1=n);else{var w=i-c,M=a-h,E=p*p+d*d,m=w*w+M*M,b=Math.sqrt(E),v=Math.sqrt(_),u=s*Math.tan((x-Math.acos((E+_-m)/(2*b*v)))/2),y=u/v,f=u/b;Math.abs(y-1)>S&&(this._+="L"+(o+y*T)+","+(n+y*l)),this._+="A"+s+","+s+",0,0,"+ +(l*w>T*M)+","+(this._x1=o+f*p)+","+(this._y1=n+f*d)}},arc:function(o,n,i,a,s,c){o=+o,n=+n,i=+i,c=!!c;var h=i*Math.cos(a),p=i*Math.sin(a),d=o+h,T=n+p,l=1^c,_=c?a-s:s-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+d+","+T:(Math.abs(this._x1-d)>S||Math.abs(this._y1-T)>S)&&(this._+="L"+d+","+T),i&&(_<0&&(_=_%A+A),_>e?this._+="A"+i+","+i+",0,1,"+l+","+(o-h)+","+(n-p)+"A"+i+","+i+",0,1,"+l+","+(this._x1=d)+","+(this._y1=T):_>S&&(this._+="A"+i+","+i+",0,"+ +(_>=x)+","+l+","+(this._x1=o+i*Math.cos(s))+","+(this._y1=n+i*Math.sin(s))))},rect:function(o,n,i,a){this._+="M"+(this._x0=this._x1=+o)+","+(this._y0=this._y1=+n)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}},g.path=r,Object.defineProperty(g,"__esModule",{value:!0})})}}),wM=ke({"node_modules/d3-shape/dist/d3-shape.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,zz()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){"use strict";function A(kt){return function(){return kt}}var S=Math.abs,e=Math.atan2,t=Math.cos,r=Math.max,o=Math.min,n=Math.sin,i=Math.sqrt,a=1e-12,s=Math.PI,c=s/2,h=2*s;function p(kt){return kt>1?0:kt<-1?s:Math.acos(kt)}function d(kt){return kt>=1?c:kt<=-1?-c:Math.asin(kt)}function T(kt){return kt.innerRadius}function l(kt){return kt.outerRadius}function _(kt){return kt.startAngle}function w(kt){return kt.endAngle}function M(kt){return kt&&kt.padAngle}function E(kt,or,yr,on,An,Zn,Bn,wn){var Dn=yr-kt,Ui=on-or,pi=Bn-An,Ta=wn-Zn,Sa=Ta*Dn-pi*Ui;if(!(Sa*SaLs*Ls+Vs*Vs&&(Ka=ns,Yo=hs),{cx:Ka,cy:Yo,x01:-pi,y01:-Ta,x11:Ka*(An/gs-1),y11:Yo*(An/gs-1)}}function b(){var kt=T,or=l,yr=A(0),on=null,An=_,Zn=w,Bn=M,wn=null;function Dn(){var Ui,pi,Ta=+kt.apply(this,arguments),Sa=+or.apply(this,arguments),qa=An.apply(this,arguments)-c,to=Zn.apply(this,arguments)-c,yo=S(to-qa),Xa=to>qa;if(wn||(wn=Ui=x.path()),Saa))wn.moveTo(0,0);else if(yo>h-a)wn.moveTo(Sa*t(qa),Sa*n(qa)),wn.arc(0,0,Sa,qa,to,!Xa),Ta>a&&(wn.moveTo(Ta*t(to),Ta*n(to)),wn.arc(0,0,Ta,to,qa,Xa));else{var Go=qa,pa=to,cs=qa,Ko=to,gs=yo,Ya=yo,zo=Bn.apply(this,arguments)/2,Ka=zo>a&&(on?+on.apply(this,arguments):i(Ta*Ta+Sa*Sa)),Yo=o(S(Sa-Ta)/2,+yr.apply(this,arguments)),ns=Yo,hs=Yo,ho,Ro;if(Ka>a){var Ls=d(Ka/Ta*n(zo)),Vs=d(Ka/Sa*n(zo));(gs-=Ls*2)>a?(Ls*=Xa?1:-1,cs+=Ls,Ko-=Ls):(gs=0,cs=Ko=(qa+to)/2),(Ya-=Vs*2)>a?(Vs*=Xa?1:-1,Go+=Vs,pa-=Vs):(Ya=0,Go=pa=(qa+to)/2)}var Ws=Sa*t(Go),fs=Sa*n(Go),Mi=Ta*t(Ko),Da=Ta*n(Ko);if(Yo>a){var pl=Sa*t(pa),Xs=Sa*n(pa),Eo=Ta*t(cs),Ys=Ta*n(cs),As;if(yoa?hs>a?(ho=m(Eo,Ys,Ws,fs,Sa,hs,Xa),Ro=m(pl,Xs,Mi,Da,Sa,hs,Xa),wn.moveTo(ho.cx+ho.x01,ho.cy+ho.y01),hsa)||!(gs>a)?wn.lineTo(Mi,Da):ns>a?(ho=m(Mi,Da,pl,Xs,Ta,-ns,Xa),Ro=m(Ws,fs,Eo,Ys,Ta,-ns,Xa),wn.lineTo(ho.cx+ho.x01,ho.cy+ho.y01),ns=Sa;--qa)wn.point(pa[qa],cs[qa]);wn.lineEnd(),wn.areaEnd()}Xa&&(pa[Ta]=+kt(yo,Ta,pi),cs[Ta]=+yr(yo,Ta,pi),wn.point(or?+or(yo,Ta,pi):pa[Ta],on?+on(yo,Ta,pi):cs[Ta]))}if(Go)return wn=null,Go+""||null}function Ui(){return P().defined(An).curve(Bn).context(Zn)}return Dn.x=function(pi){return arguments.length?(kt=typeof pi=="function"?pi:A(+pi),or=null,Dn):kt},Dn.x0=function(pi){return arguments.length?(kt=typeof pi=="function"?pi:A(+pi),Dn):kt},Dn.x1=function(pi){return arguments.length?(or=pi==null?null:typeof pi=="function"?pi:A(+pi),Dn):or},Dn.y=function(pi){return arguments.length?(yr=typeof pi=="function"?pi:A(+pi),on=null,Dn):yr},Dn.y0=function(pi){return arguments.length?(yr=typeof pi=="function"?pi:A(+pi),Dn):yr},Dn.y1=function(pi){return arguments.length?(on=pi==null?null:typeof pi=="function"?pi:A(+pi),Dn):on},Dn.lineX0=Dn.lineY0=function(){return Ui().x(kt).y(yr)},Dn.lineY1=function(){return Ui().x(kt).y(on)},Dn.lineX1=function(){return Ui().x(or).y(yr)},Dn.defined=function(pi){return arguments.length?(An=typeof pi=="function"?pi:A(!!pi),Dn):An},Dn.curve=function(pi){return arguments.length?(Bn=pi,Zn!=null&&(wn=Bn(Zn)),Dn):Bn},Dn.context=function(pi){return arguments.length?(pi==null?Zn=wn=null:wn=Bn(Zn=pi),Dn):Zn},Dn}function z(kt,or){return orkt?1:or>=kt?0:NaN}function F(kt){return kt}function B(){var kt=F,or=z,yr=null,on=A(0),An=A(h),Zn=A(0);function Bn(wn){var Dn,Ui=wn.length,pi,Ta,Sa=0,qa=new Array(Ui),to=new Array(Ui),yo=+on.apply(this,arguments),Xa=Math.min(h,Math.max(-h,An.apply(this,arguments)-yo)),Go,pa=Math.min(Math.abs(Xa)/Ui,Zn.apply(this,arguments)),cs=pa*(Xa<0?-1:1),Ko;for(Dn=0;Dn0&&(Sa+=Ko);for(or!=null?qa.sort(function(gs,Ya){return or(to[gs],to[Ya])}):yr!=null&&qa.sort(function(gs,Ya){return yr(wn[gs],wn[Ya])}),Dn=0,Ta=Sa?(Xa-Ui*cs)/Sa:0;Dn0?Ko*Ta:0)+cs,to[pi]={data:wn[pi],index:Dn,value:Ko,startAngle:yo,endAngle:Go,padAngle:pa};return to}return Bn.value=function(wn){return arguments.length?(kt=typeof wn=="function"?wn:A(+wn),Bn):kt},Bn.sortValues=function(wn){return arguments.length?(or=wn,yr=null,Bn):or},Bn.sort=function(wn){return arguments.length?(yr=wn,or=null,Bn):yr},Bn.startAngle=function(wn){return arguments.length?(on=typeof wn=="function"?wn:A(+wn),Bn):on},Bn.endAngle=function(wn){return arguments.length?(An=typeof wn=="function"?wn:A(+wn),Bn):An},Bn.padAngle=function(wn){return arguments.length?(Zn=typeof wn=="function"?wn:A(+wn),Bn):Zn},Bn}var O=N(u);function I(kt){this._curve=kt}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(kt,or){this._curve.point(or*Math.sin(kt),or*-Math.cos(kt))}};function N(kt){function or(yr){return new I(kt(yr))}return or._curve=kt,or}function U(kt){var or=kt.curve;return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt.curve=function(yr){return arguments.length?or(N(yr)):or()._curve},kt}function W(){return U(P().curve(O))}function Q(){var kt=L().curve(O),or=kt.curve,yr=kt.lineX0,on=kt.lineX1,An=kt.lineY0,Zn=kt.lineY1;return kt.angle=kt.x,delete kt.x,kt.startAngle=kt.x0,delete kt.x0,kt.endAngle=kt.x1,delete kt.x1,kt.radius=kt.y,delete kt.y,kt.innerRadius=kt.y0,delete kt.y0,kt.outerRadius=kt.y1,delete kt.y1,kt.lineStartAngle=function(){return U(yr())},delete kt.lineX0,kt.lineEndAngle=function(){return U(on())},delete kt.lineX1,kt.lineInnerRadius=function(){return U(An())},delete kt.lineY0,kt.lineOuterRadius=function(){return U(Zn())},delete kt.lineY1,kt.curve=function(Bn){return arguments.length?or(N(Bn)):or()._curve},kt}function le(kt,or){return[(or=+or)*Math.cos(kt-=Math.PI/2),or*Math.sin(kt)]}var se=Array.prototype.slice;function fe(kt){return kt.source}function G(kt){return kt.target}function $(kt){var or=fe,yr=G,on=y,An=f,Zn=null;function Bn(){var wn,Dn=se.call(arguments),Ui=or.apply(this,Dn),pi=yr.apply(this,Dn);if(Zn||(Zn=wn=x.path()),kt(Zn,+on.apply(this,(Dn[0]=Ui,Dn)),+An.apply(this,Dn),+on.apply(this,(Dn[0]=pi,Dn)),+An.apply(this,Dn)),wn)return Zn=null,wn+""||null}return Bn.source=function(wn){return arguments.length?(or=wn,Bn):or},Bn.target=function(wn){return arguments.length?(yr=wn,Bn):yr},Bn.x=function(wn){return arguments.length?(on=typeof wn=="function"?wn:A(+wn),Bn):on},Bn.y=function(wn){return arguments.length?(An=typeof wn=="function"?wn:A(+wn),Bn):An},Bn.context=function(wn){return arguments.length?(Zn=wn??null,Bn):Zn},Bn}function J(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or=(or+on)/2,yr,or,An,on,An)}function X(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or,yr=(yr+An)/2,on,yr,on,An)}function re(kt,or,yr,on,An){var Zn=le(or,yr),Bn=le(or,yr=(yr+An)/2),wn=le(on,yr),Dn=le(on,An);kt.moveTo(Zn[0],Zn[1]),kt.bezierCurveTo(Bn[0],Bn[1],wn[0],wn[1],Dn[0],Dn[1])}function ae(){return $(J)}function j(){return $(X)}function ee(){var kt=$(re);return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt}var ie={draw:function(kt,or){var yr=Math.sqrt(or/s);kt.moveTo(yr,0),kt.arc(0,0,yr,0,h)}},ce={draw:function(kt,or){var yr=Math.sqrt(or/5)/2;kt.moveTo(-3*yr,-yr),kt.lineTo(-yr,-yr),kt.lineTo(-yr,-3*yr),kt.lineTo(yr,-3*yr),kt.lineTo(yr,-yr),kt.lineTo(3*yr,-yr),kt.lineTo(3*yr,yr),kt.lineTo(yr,yr),kt.lineTo(yr,3*yr),kt.lineTo(-yr,3*yr),kt.lineTo(-yr,yr),kt.lineTo(-3*yr,yr),kt.closePath()}},xe=Math.sqrt(1/3),Te=xe*2,Ue={draw:function(kt,or){var yr=Math.sqrt(or/Te),on=yr*xe;kt.moveTo(0,-yr),kt.lineTo(on,0),kt.lineTo(0,yr),kt.lineTo(-on,0),kt.closePath()}},Ie=.8908130915292852,Ye=Math.sin(s/10)/Math.sin(7*s/10),it=Math.sin(h/10)*Ye,at=-Math.cos(h/10)*Ye,tt={draw:function(kt,or){var yr=Math.sqrt(or*Ie),on=it*yr,An=at*yr;kt.moveTo(0,-yr),kt.lineTo(on,An);for(var Zn=1;Zn<5;++Zn){var Bn=h*Zn/5,wn=Math.cos(Bn),Dn=Math.sin(Bn);kt.lineTo(Dn*yr,-wn*yr),kt.lineTo(wn*on-Dn*An,Dn*on+wn*An)}kt.closePath()}},ut={draw:function(kt,or){var yr=Math.sqrt(or),on=-yr/2;kt.rect(on,on,yr,yr)}},Me=Math.sqrt(3),pe={draw:function(kt,or){var yr=-Math.sqrt(or/(Me*3));kt.moveTo(0,yr*2),kt.lineTo(-Me*yr,-yr),kt.lineTo(Me*yr,-yr),kt.closePath()}},ue=-.5,Oe=Math.sqrt(3)/2,rt=1/Math.sqrt(12),ot=(rt/2+1)*3,et={draw:function(kt,or){var yr=Math.sqrt(or/ot),on=yr/2,An=yr*rt,Zn=on,Bn=yr*rt+yr,wn=-Zn,Dn=Bn;kt.moveTo(on,An),kt.lineTo(Zn,Bn),kt.lineTo(wn,Dn),kt.lineTo(ue*on-Oe*An,Oe*on+ue*An),kt.lineTo(ue*Zn-Oe*Bn,Oe*Zn+ue*Bn),kt.lineTo(ue*wn-Oe*Dn,Oe*wn+ue*Dn),kt.lineTo(ue*on+Oe*An,ue*An-Oe*on),kt.lineTo(ue*Zn+Oe*Bn,ue*Bn-Oe*Zn),kt.lineTo(ue*wn+Oe*Dn,ue*Dn-Oe*wn),kt.closePath()}},Lt=[ie,ce,Ue,ut,tt,pe,et];function Et(){var kt=A(ie),or=A(64),yr=null;function on(){var An;if(yr||(yr=An=x.path()),kt.apply(this,arguments).draw(yr,+or.apply(this,arguments)),An)return yr=null,An+""||null}return on.type=function(An){return arguments.length?(kt=typeof An=="function"?An:A(An),on):kt},on.size=function(An){return arguments.length?(or=typeof An=="function"?An:A(+An),on):or},on.context=function(An){return arguments.length?(yr=An??null,on):yr},on}function Bt(){}function qt(kt,or,yr){kt._context.bezierCurveTo((2*kt._x0+kt._x1)/3,(2*kt._y0+kt._y1)/3,(kt._x0+2*kt._x1)/3,(kt._y0+2*kt._y1)/3,(kt._x0+4*kt._x1+or)/6,(kt._y0+4*kt._y1+yr)/6)}function fr(kt){this._context=kt}fr.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:qt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);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:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function ar(kt){return new fr(kt)}function Rr(kt){this._context=kt}Rr.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x2=kt,this._y2=or;break;case 1:this._point=2,this._x3=kt,this._y3=or;break;case 2:this._point=3,this._x4=kt,this._y4=or,this._context.moveTo((this._x0+4*this._x1+kt)/6,(this._y0+4*this._y1+or)/6);break;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function gr(kt){return new Rr(kt)}function br(kt){this._context=kt}br.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var yr=(this._x0+4*this._x1+kt)/6,on=(this._y0+4*this._y1+or)/6;this._line?this._context.lineTo(yr,on):this._context.moveTo(yr,on);break;case 3:this._point=4;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function _t(kt){return new br(kt)}function Be(kt,or){this._basis=new fr(kt),this._beta=or}Be.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length-1;if(yr>0)for(var on=kt[0],An=or[0],Zn=kt[yr]-on,Bn=or[yr]-An,wn=-1,Dn;++wn<=yr;)Dn=wn/yr,this._basis.point(this._beta*kt[wn]+(1-this._beta)*(on+Dn*Zn),this._beta*or[wn]+(1-this._beta)*(An+Dn*Bn));this._x=this._y=null,this._basis.lineEnd()},point:function(kt,or){this._x.push(+kt),this._y.push(+or)}};var Ke=function kt(or){function yr(on){return or===1?new fr(on):new Be(on,or)}return yr.beta=function(on){return kt(+on)},yr}(.85);function je(kt,or,yr){kt._context.bezierCurveTo(kt._x1+kt._k*(kt._x2-kt._x0),kt._y1+kt._k*(kt._y2-kt._y0),kt._x2+kt._k*(kt._x1-or),kt._y2+kt._k*(kt._y1-yr),kt._x2,kt._y2)}function Se(kt,or){this._context=kt,this._k=(1-or)/6}Se.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:je(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2,this._x1=kt,this._y1=or;break;case 2:this._point=3;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var He=function kt(or){function yr(on){return new Se(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Ee(kt,or){this._context=kt,this._k=(1-or)/6}Ee.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var we=function kt(or){function yr(on){return new Ee(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Le(kt,or){this._context=kt,this._k=(1-or)/6}Le.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,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:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var nt=function kt(or){function yr(on){return new Le(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function pt(kt,or,yr){var on=kt._x1,An=kt._y1,Zn=kt._x2,Bn=kt._y2;if(kt._l01_a>a){var wn=2*kt._l01_2a+3*kt._l01_a*kt._l12_a+kt._l12_2a,Dn=3*kt._l01_a*(kt._l01_a+kt._l12_a);on=(on*wn-kt._x0*kt._l12_2a+kt._x2*kt._l01_2a)/Dn,An=(An*wn-kt._y0*kt._l12_2a+kt._y2*kt._l01_2a)/Dn}if(kt._l23_a>a){var Ui=2*kt._l23_2a+3*kt._l23_a*kt._l12_a+kt._l12_2a,pi=3*kt._l23_a*(kt._l23_a+kt._l12_a);Zn=(Zn*Ui+kt._x1*kt._l23_2a-or*kt._l12_2a)/pi,Bn=(Bn*Ui+kt._y1*kt._l23_2a-yr*kt._l12_2a)/pi}kt._context.bezierCurveTo(on,An,Zn,Bn,kt._x2,kt._y2)}function bt(kt,or){this._context=kt,this._alpha=or}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Rt=function kt(or){function yr(on){return or?new bt(on,or):new Se(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function Nt(kt,or){this._context=kt,this._alpha=or}Nt.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Xt=function kt(or){function yr(on){return or?new Nt(on,or):new Ee(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function $t(kt,or){this._context=kt,this._alpha=or}$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,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:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var ur=function kt(or){function yr(on){return or?new $t(on,or):new Le(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function pn(kt){this._context=kt}pn.prototype={areaStart:Bt,areaEnd:Bt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(kt,or){kt=+kt,or=+or,this._point?this._context.lineTo(kt,or):(this._point=1,this._context.moveTo(kt,or))}};function Rn(kt){return new pn(kt)}function Nn(kt){return kt<0?-1:1}function On(kt,or,yr){var on=kt._x1-kt._x0,An=or-kt._x1,Zn=(kt._y1-kt._y0)/(on||An<0&&-0),Bn=(yr-kt._y1)/(An||on<0&&-0),wn=(Zn*An+Bn*on)/(on+An);return(Nn(Zn)+Nn(Bn))*Math.min(Math.abs(Zn),Math.abs(Bn),.5*Math.abs(wn))||0}function ni(kt,or){var yr=kt._x1-kt._x0;return yr?(3*(kt._y1-kt._y0)/yr-or)/2:or}function zn(kt,or,yr){var on=kt._x0,An=kt._y0,Zn=kt._x1,Bn=kt._y1,wn=(Zn-on)/3;kt._context.bezierCurveTo(on+wn,An+wn*or,Zn-wn,Bn-wn*yr,Zn,Bn)}function Qn(kt){this._context=kt}Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zn(this,this._t0,ni(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){var yr=NaN;if(kt=+kt,or=+or,!(kt===this._x1&&or===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3,zn(this,ni(this,yr=On(this,kt,or)),yr);break;default:zn(this,this._t0,yr=On(this,kt,or));break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or,this._t0=yr}}};function gi(kt){this._context=new Zt(kt)}(gi.prototype=Object.create(Qn.prototype)).point=function(kt,or){Qn.prototype.point.call(this,or,kt)};function Zt(kt){this._context=kt}Zt.prototype={moveTo:function(kt,or){this._context.moveTo(or,kt)},closePath:function(){this._context.closePath()},lineTo:function(kt,or){this._context.lineTo(or,kt)},bezierCurveTo:function(kt,or,yr,on,An,Zn){this._context.bezierCurveTo(or,kt,on,yr,Zn,An)}};function Ft(kt){return new Qn(kt)}function Ht(kt){return new gi(kt)}function Vt(kt){this._context=kt}Vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length;if(yr)if(this._line?this._context.lineTo(kt[0],or[0]):this._context.moveTo(kt[0],or[0]),yr===2)this._context.lineTo(kt[1],or[1]);else for(var on=wr(kt),An=wr(or),Zn=0,Bn=1;Bn=0;--or)An[or]=(Bn[or]-An[or+1])/Zn[or];for(Zn[yr-1]=(kt[yr]+An[yr-1])/2,or=0;or=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,or),this._context.lineTo(kt,or);else{var yr=this._x*(1-this._t)+kt*this._t;this._context.lineTo(yr,this._y),this._context.lineTo(yr,or)}break}}this._x=kt,this._y=or}};function en(kt){return new xn(kt,.5)}function Fn(kt){return new xn(kt,0)}function Wn(kt){return new xn(kt,1)}function ri(kt,or){if((Bn=kt.length)>1)for(var yr=1,on,An,Zn=kt[or[0]],Bn,wn=Zn.length;yr=0;)yr[or]=or;return yr}function ui(kt,or){return kt[or]}function gt(){var kt=A([]),or=Sn,yr=ri,on=ui;function An(Zn){var Bn=kt.apply(this,arguments),wn,Dn=Zn.length,Ui=Bn.length,pi=new Array(Ui),Ta;for(wn=0;wn0){for(var yr,on,An=0,Zn=kt[0].length,Bn;An0)for(var yr,on=0,An,Zn,Bn,wn,Dn,Ui=kt[or[0]].length;on0?(An[0]=Bn,An[1]=Bn+=Zn):Zn<0?(An[1]=wn,An[0]=wn+=Zn):(An[0]=0,An[1]=Zn)}function Ir(kt,or){if((An=kt.length)>0){for(var yr=0,on=kt[or[0]],An,Zn=on.length;yr0)||!((Zn=(An=kt[or[0]]).length)>0))){for(var yr=0,on=1,An,Zn,Bn;onZn&&(Zn=An,yr=or);return yr}function Ur(kt){var or=kt.map(Dr);return Sn(kt).sort(function(yr,on){return or[yr]-or[on]})}function Dr(kt){for(var or=0,yr=-1,on=kt.length,An;++yr0;--re)ee(X*=.99),ie(),j(X),ie();function ae(){var ce=x.max(J,function(Ue){return Ue.length}),xe=U*(P-y)/(ce-1);z>xe&&(z=xe);var Te=x.min(J,function(Ue){return(P-y-(Ue.length-1)*z)/x.sum(Ue,h)});J.forEach(function(Ue){Ue.forEach(function(Ie,Ye){Ie.y1=(Ie.y0=Ye)+Ie.value*Te})}),$.links.forEach(function(Ue){Ue.width=Ue.value*Te})}function j(ce){J.forEach(function(xe){xe.forEach(function(Te){if(Te.targetLinks.length){var Ue=(x.sum(Te.targetLinks,d)/x.sum(Te.targetLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ee(ce){J.slice().reverse().forEach(function(xe){xe.forEach(function(Te){if(Te.sourceLinks.length){var Ue=(x.sum(Te.sourceLinks,T)/x.sum(Te.sourceLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ie(){J.forEach(function(ce){var xe,Te,Ue=y,Ie=ce.length,Ye;for(ce.sort(c),Ye=0;Ye0&&(xe.y0+=Te,xe.y1+=Te),Ue=xe.y1+z;if(Te=Ue-z-P,Te>0)for(Ue=xe.y0-=Te,xe.y1-=Te,Ye=Ie-2;Ye>=0;--Ye)xe=ce[Ye],Te=xe.y1+z-Ue,Te>0&&(xe.y0-=Te,xe.y1-=Te),Ue=xe.y0})}}function G($){$.nodes.forEach(function(J){J.sourceLinks.sort(s),J.targetLinks.sort(a)}),$.nodes.forEach(function(J){var X=J.y0,re=X;J.sourceLinks.forEach(function(ae){ae.y0=X+ae.width/2,X+=ae.width}),J.targetLinks.forEach(function(ae){ae.y1=re+ae.width/2,re+=ae.width})})}return W};function m(u){return[u.source.x1,u.y0]}function b(u){return[u.target.x0,u.y1]}var v=function(){return S.linkHorizontal().source(m).target(b)};g.sankey=E,g.sankeyCenter=n,g.sankeyLeft=t,g.sankeyRight=r,g.sankeyJustify=o,g.sankeyLinkHorizontal=v,Object.defineProperty(g,"__esModule",{value:!0})})}}),Oz=ke({"node_modules/elementary-circuits-directed-graph/johnson.js"(Z,H){var g=bM();H.exports=function(A,S){var e=[],t=[],r=[],o={},n=[],i;function a(M){r[M]=!1,o.hasOwnProperty(M)&&Object.keys(o[M]).forEach(function(E){delete o[M][E],r[E]&&a(E)})}function s(M){var E=!1;t.push(M),r[M]=!0;var m,b;for(m=0;m=M})}function p(M){h(M);for(var E=A,m=g(E),b=m.components.filter(function(z){return z.length>1}),v=1/0,u,y=0;y"u"?"undefined":s(Se))!=="object"&&(Se=Ke.source=m(Be,Se)),(typeof He>"u"?"undefined":s(He))!=="object"&&(He=Ke.target=m(Be,He)),Se.sourceLinks.push(Ke),He.targetLinks.push(Ke)}),_t}function qt(_t){_t.nodes.forEach(function(Be){Be.partOfCycle=!1,Be.value=Math.max(x.sum(Be.sourceLinks,d),x.sum(Be.targetLinks,d)),Be.sourceLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)}),Be.targetLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)})})}function fr(_t){var Be=0,Ke=0,je=0,Se=0,He=x.max(_t.nodes,function(Ee){return Ee.column});return _t.links.forEach(function(Ee){Ee.circular&&(Ee.circularLinkType=="top"?Be=Be+Ee.width:Ke=Ke+Ee.width,Ee.target.column==0&&(Se=Se+Ee.width),Ee.source.column==He&&(je=je+Ee.width))}),Be=Be>0?Be+v+u:Be,Ke=Ke>0?Ke+v+u:Ke,je=je>0?je+v+u:je,Se=Se>0?Se+v+u:Se,{top:Be,bottom:Ke,left:Se,right:je}}function ar(_t,Be){var Ke=x.max(_t.nodes,function(nt){return nt.column}),je=it-Ie,Se=at-Ye,He=je+Be.right+Be.left,Ee=Se+Be.top+Be.bottom,we=je/He,Le=Se/Ee;return Ie=Ie*we+Be.left,it=Be.right==0?it:it*we,Ye=Ye*Le+Be.top,at=at*Le,_t.nodes.forEach(function(nt){nt.x0=Ie+nt.column*((it-Ie-tt)/Ke),nt.x1=nt.x0+tt}),Le}function Rr(_t){var Be,Ke,je;for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.depth=je,Se.sourceLinks.forEach(function(He){Ke.indexOf(He.target)<0&&!He.circular&&Ke.push(He.target)})});for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.height=je,Se.targetLinks.forEach(function(He){Ke.indexOf(He.source)<0&&!He.circular&&Ke.push(He.source)})});_t.nodes.forEach(function(Se){Se.column=Math.floor(pe.call(null,Se,je))})}function gr(_t,Be,Ke){var je=A.nest().key(function(nt){return nt.column}).sortKeys(x.ascending).entries(_t.nodes).map(function(nt){return nt.values});Ee(Ke),Le();for(var Se=1,He=Be;He>0;--He)we(Se*=.99,Ke),Le();function Ee(nt){if(et){var pt=1/0;je.forEach(function(Xt){var $t=at*et/(Xt.length+1);pt=$t0))if(Xt==0&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else if(Xt==bt-1&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else{var pn=0,Rn=x.mean($t.sourceLinks,_),Nn=x.mean($t.targetLinks,l);Rn&&Nn?pn=(Rn+Nn)/2:pn=Rn||Nn;var On=(pn-T($t))*nt;$t.y0+=On,$t.y1+=On}})})}function Le(){je.forEach(function(nt){var pt,bt,Rt=Ye,Nt=nt.length,Xt;for(nt.sort(p),Xt=0;Xt0&&(pt.y0+=bt,pt.y1+=bt),Rt=pt.y1+ut;if(bt=Rt-ut-at,bt>0)for(Rt=pt.y0-=bt,pt.y1-=bt,Xt=Nt-2;Xt>=0;--Xt)pt=nt[Xt],bt=pt.y1+ut-Rt,bt>0&&(pt.y0-=bt,pt.y1-=bt),Rt=pt.y0})}}function br(_t){_t.nodes.forEach(function(Be){Be.sourceLinks.sort(h),Be.targetLinks.sort(c)}),_t.nodes.forEach(function(Be){var Ke=Be.y0,je=Ke,Se=Be.y1,He=Se;Be.sourceLinks.forEach(function(Ee){Ee.circular?(Ee.y0=Se-Ee.width/2,Se=Se-Ee.width):(Ee.y0=Ke+Ee.width/2,Ke+=Ee.width)}),Be.targetLinks.forEach(function(Ee){Ee.circular?(Ee.y1=He-Ee.width/2,He=He-Ee.width):(Ee.y1=je+Ee.width/2,je+=Ee.width)})})}return Et}function P(Ie,Ye,it){var at=0;if(it===null){for(var tt=[],ut=0;utYe.source.column)}function B(Ie,Ye){var it=0;Ie.sourceLinks.forEach(function(tt){it=tt.circular&&!Te(tt,Ye)?it+1:it});var at=0;return Ie.targetLinks.forEach(function(tt){at=tt.circular&&!Te(tt,Ye)?at+1:at}),it+at}function O(Ie){var Ye=Ie.source.sourceLinks,it=0;Ye.forEach(function(ut){it=ut.circular?it+1:it});var at=Ie.target.targetLinks,tt=0;return at.forEach(function(ut){tt=ut.circular?tt+1:tt}),!(it>1||tt>1)}function I(Ie,Ye,it){return Ie.sort(W),Ie.forEach(function(at,tt){var ut=0;if(Te(at,it)&&O(at))at.circularPathData.verticalBuffer=ut+at.width/2;else{var Me=0;for(Me;Meut?pe:ut}at.circularPathData.verticalBuffer=ut+at.width/2}}),Ie}function N(Ie,Ye,it,at){var tt=5,ut=x.min(Ie.links,function(ue){return ue.source.y0});Ie.links.forEach(function(ue){ue.circular&&(ue.circularPathData={})});var Me=Ie.links.filter(function(ue){return ue.circularLinkType=="top"});I(Me,Ye,at);var pe=Ie.links.filter(function(ue){return ue.circularLinkType=="bottom"});I(pe,Ye,at),Ie.links.forEach(function(ue){if(ue.circular){if(ue.circularPathData.arcRadius=ue.width+u,ue.circularPathData.leftNodeBuffer=tt,ue.circularPathData.rightNodeBuffer=tt,ue.circularPathData.sourceWidth=ue.source.x1-ue.source.x0,ue.circularPathData.sourceX=ue.source.x0+ue.circularPathData.sourceWidth,ue.circularPathData.targetX=ue.target.x0,ue.circularPathData.sourceY=ue.y0,ue.circularPathData.targetY=ue.y1,Te(ue,at)&&O(ue))ue.circularPathData.leftSmallArcRadius=u+ue.width/2,ue.circularPathData.leftLargeArcRadius=u+ue.width/2,ue.circularPathData.rightSmallArcRadius=u+ue.width/2,ue.circularPathData.rightLargeArcRadius=u+ue.width/2,ue.circularLinkType=="bottom"?(ue.circularPathData.verticalFullExtent=ue.source.y1+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ue.source.y0-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius);else{var Oe=ue.source.column,rt=ue.circularLinkType,ot=Ie.links.filter(function(Et){return Et.source.column==Oe&&Et.circularLinkType==rt});ue.circularLinkType=="bottom"?ot.sort(le):ot.sort(Q);var et=0;ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.leftSmallArcRadius=u+ue.width/2+et,ue.circularPathData.leftLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),Oe=ue.target.column,ot=Ie.links.filter(function(Et){return Et.target.column==Oe&&Et.circularLinkType==rt}),ue.circularLinkType=="bottom"?ot.sort(fe):ot.sort(se),et=0,ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.rightSmallArcRadius=u+ue.width/2+et,ue.circularPathData.rightLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),ue.circularLinkType=="bottom"?(ue.circularPathData.verticalFullExtent=Math.max(it,ue.source.y1,ue.target.y1)+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ut-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius)}ue.circularPathData.leftInnerExtent=ue.circularPathData.sourceX+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightInnerExtent=ue.circularPathData.targetX-ue.circularPathData.rightNodeBuffer,ue.circularPathData.leftFullExtent=ue.circularPathData.sourceX+ue.circularPathData.leftLargeArcRadius+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightFullExtent=ue.circularPathData.targetX-ue.circularPathData.rightLargeArcRadius-ue.circularPathData.rightNodeBuffer}if(ue.circular)ue.path=U(ue);else{var Lt=S.linkHorizontal().source(function(Et){var Bt=Et.source.x0+(Et.source.x1-Et.source.x0),qt=Et.y0;return[Bt,qt]}).target(function(Et){var Bt=Et.target.x0,qt=Et.y1;return[Bt,qt]});ue.path=Lt(ue)}})}function U(Ie){var Ye="";return Ie.circularLinkType=="top"?Ye="M"+Ie.circularPathData.sourceX+" "+Ie.circularPathData.sourceY+" L"+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.sourceY+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftSmallArcRadius+" 0 0 0 "+Ie.circularPathData.leftFullExtent+" "+(Ie.circularPathData.sourceY-Ie.circularPathData.leftSmallArcRadius)+" L"+Ie.circularPathData.leftFullExtent+" "+Ie.circularPathData.verticalLeftInnerExtent+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftLargeArcRadius+" 0 0 0 "+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" L"+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightLargeArcRadius+" 0 0 0 "+Ie.circularPathData.rightFullExtent+" "+Ie.circularPathData.verticalRightInnerExtent+" L"+Ie.circularPathData.rightFullExtent+" "+(Ie.circularPathData.targetY-Ie.circularPathData.rightSmallArcRadius)+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightSmallArcRadius+" 0 0 0 "+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.targetY+" L"+Ie.circularPathData.targetX+" "+Ie.circularPathData.targetY:Ye="M"+Ie.circularPathData.sourceX+" "+Ie.circularPathData.sourceY+" L"+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.sourceY+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftSmallArcRadius+" 0 0 1 "+Ie.circularPathData.leftFullExtent+" "+(Ie.circularPathData.sourceY+Ie.circularPathData.leftSmallArcRadius)+" L"+Ie.circularPathData.leftFullExtent+" "+Ie.circularPathData.verticalLeftInnerExtent+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftLargeArcRadius+" 0 0 1 "+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" L"+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightLargeArcRadius+" 0 0 1 "+Ie.circularPathData.rightFullExtent+" "+Ie.circularPathData.verticalRightInnerExtent+" L"+Ie.circularPathData.rightFullExtent+" "+(Ie.circularPathData.targetY+Ie.circularPathData.rightSmallArcRadius)+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightSmallArcRadius+" 0 0 1 "+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.targetY+" L"+Ie.circularPathData.targetX+" "+Ie.circularPathData.targetY,Ye}function W(Ie,Ye){return G(Ie)==G(Ye)?Ie.circularLinkType=="bottom"?le(Ie,Ye):Q(Ie,Ye):G(Ye)-G(Ie)}function Q(Ie,Ye){return Ie.y0-Ye.y0}function le(Ie,Ye){return Ye.y0-Ie.y0}function se(Ie,Ye){return Ie.y1-Ye.y1}function fe(Ie,Ye){return Ye.y1-Ie.y1}function G(Ie){return Ie.target.column-Ie.source.column}function $(Ie){return Ie.target.x0-Ie.source.x1}function J(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)=="up"?Ie.y1+at:Ie.y1-at;return tt}function X(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)=="up"?Ie.y1-at:Ie.y1+at;return tt}function re(Ie,Ye,it,at){Ie.links.forEach(function(tt){if(!tt.circular&&tt.target.column-tt.source.column>1){var ut=tt.source.column+1,Me=tt.target.column-1,pe=1,ue=Me-ut+1;for(pe=1;ut<=Me;ut++,pe++)Ie.nodes.forEach(function(Oe){if(Oe.column==ut){var rt=pe/(ue+1),ot=Math.pow(1-rt,3),et=3*rt*Math.pow(1-rt,2),Lt=3*Math.pow(rt,2)*(1-rt),Et=Math.pow(rt,3),Bt=ot*tt.y0+et*tt.y0+Lt*tt.y1+Et*tt.y1,qt=Bt-tt.width/2,fr=Bt+tt.width/2,ar;qt>Oe.y0&&qtOe.y0&&frOe.y1&&j(Rr,ar,Ye,it)})):qtOe.y1&&(ar=fr-Oe.y0+10,Oe=j(Oe,ar,Ye,it),Ie.nodes.forEach(function(Rr){b(Rr,at)==b(Oe,at)||Rr.column!=Oe.column||Rr.y0Oe.y1&&j(Rr,ar,Ye,it)}))}})}})}function ae(Ie,Ye){return Ie.y0>Ye.y0&&Ie.y0Ye.y0&&Ie.y1Ye.y1}function j(Ie,Ye,it,at){return Ie.y0+Ye>=it&&Ie.y1+Ye<=at&&(Ie.y0=Ie.y0+Ye,Ie.y1=Ie.y1+Ye,Ie.targetLinks.forEach(function(tt){tt.y1=tt.y1+Ye}),Ie.sourceLinks.forEach(function(tt){tt.y0=tt.y0+Ye})),Ie}function ee(Ie,Ye,it,at){Ie.nodes.forEach(function(tt){at&&tt.y+(tt.y1-tt.y0)>Ye&&(tt.y=tt.y-(tt.y+(tt.y1-tt.y0)-Ye));var ut=Ie.links.filter(function(ue){return b(ue.source,it)==b(tt,it)}),Me=ut.length;Me>1&&ut.sort(function(ue,Oe){if(!ue.circular&&!Oe.circular){if(ue.target.column==Oe.target.column)return ue.y1-Oe.y1;if(ce(ue,Oe)){if(ue.target.column>Oe.target.column){var rt=X(Oe,ue);return ue.y1-rt}if(Oe.target.column>ue.target.column){var ot=X(ue,Oe);return ot-Oe.y1}}else return ue.y1-Oe.y1}if(ue.circular&&!Oe.circular)return ue.circularLinkType=="top"?-1:1;if(Oe.circular&&!ue.circular)return Oe.circularLinkType=="top"?1:-1;if(ue.circular&&Oe.circular)return ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType=="top"?ue.target.column===Oe.target.column?ue.target.y1-Oe.target.y1:Oe.target.column-ue.target.column:ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType=="bottom"?ue.target.column===Oe.target.column?Oe.target.y1-ue.target.y1:ue.target.column-Oe.target.column:ue.circularLinkType=="top"?-1:1});var pe=tt.y0;ut.forEach(function(ue){ue.y0=pe+ue.width/2,pe=pe+ue.width}),ut.forEach(function(ue,Oe){if(ue.circularLinkType=="bottom"){var rt=Oe+1,ot=0;for(rt;rt1&&tt.sort(function(pe,ue){if(!pe.circular&&!ue.circular){if(pe.source.column==ue.source.column)return pe.y0-ue.y0;if(ce(pe,ue)){if(ue.source.column0?"up":"down"}function Te(Ie,Ye){return b(Ie.source,Ye)==b(Ie.target,Ye)}function Ue(Ie,Ye,it){var at=Ie.nodes,tt=Ie.links,ut=!1,Me=!1;if(tt.forEach(function(et){et.circularLinkType=="top"?ut=!0:et.circularLinkType=="bottom"&&(Me=!0)}),ut==!1||Me==!1){var pe=x.min(at,function(et){return et.y0}),ue=x.max(at,function(et){return et.y1}),Oe=ue-pe,rt=it-Ye,ot=rt/Oe;at.forEach(function(et){var Lt=(et.y1-et.y0)*ot;et.y0=(et.y0-pe)*ot,et.y1=et.y0+Lt}),tt.forEach(function(et){et.y0=(et.y0-pe)*ot,et.y1=(et.y1-pe)*ot,et.width=et.width*ot})}}g.sankeyCircular=f,g.sankeyCenter=i,g.sankeyLeft=r,g.sankeyRight=o,g.sankeyJustify=n,Object.defineProperty(g,"__esModule",{value:!0})})}}),TM=ke({"src/traces/sankey/constants.js"(Z,H){"use strict";H.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}}}),Nz=ke({"src/traces/sankey/render.js"(Z,H){"use strict";var g=Dz(),x=(Ym(),hi(Xp)).interpolateNumber,A=_i(),S=Fz(),e=Bz(),t=TM(),r=ru(),o=eo(),n=$o(),i=un(),a=i.strTranslate,s=i.strRotate,c=Dv(),h=c.keyFun,p=c.repeat,d=c.unwrap,T=Wl(),l=lo(),_=Yf(),w=_.CAP_SHIFT,M=_.LINE_SPACING,E=3;function m(J,X,re){var ae=d(X),j=ae.trace,ee=j.domain,ie=j.orientation==="h",ce=j.node.pad,xe=j.node.thickness,Te={justify:S.sankeyJustify,left:S.sankeyLeft,right:S.sankeyRight,center:S.sankeyCenter}[j.node.align],Ue=J.width*(ee.x[1]-ee.x[0]),Ie=J.height*(ee.y[1]-ee.y[0]),Ye=ae._nodes,it=ae._links,at=ae.circular,tt;at?tt=e.sankeyCircular().circularLinkGap(0):tt=S.sankey(),tt.iterations(t.sankeyIterations).size(ie?[Ue,Ie]:[Ie,Ue]).nodeWidth(xe).nodePadding(ce).nodeId(function(Rr){return Rr.pointNumber}).nodeAlign(Te).nodes(Ye).links(it);var ut=tt();tt.nodePadding()=Be||(_t=Be-br.y0,_t>1e-6&&(br.y0+=_t,br.y1+=_t)),Be=br.y1+ce})}function Bt(Rr){var gr=Rr.map(function(He,Ee){return{x0:He.x0,index:Ee}}).sort(function(He,Ee){return He.x0-Ee.x0}),br=[],_t=-1,Be,Ke=-1/0,je;for(Me=0;MeKe+xe&&(_t+=1,Be=Se.x0),Ke=Se.x0,br[_t]||(br[_t]=[]),br[_t].push(Se),je=Be-Se.x0,Se.x0+=je,Se.x1+=je}return br}if(j.node.x.length&&j.node.y.length){for(Me=0;Me0?" L "+j.targetX+" "+j.targetY:"")+"Z"):(re="M "+(j.targetX-X)+" "+(j.targetY-ae)+" L "+(j.rightInnerExtent-X)+" "+(j.targetY-ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightSmallArcRadius+ae)+" 0 0 0 "+(j.rightFullExtent-ae-X)+" "+(j.targetY+j.rightSmallArcRadius)+" L "+(j.rightFullExtent-ae-X)+" "+j.verticalRightInnerExtent,ee&&ie?re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightInnerExtent-ae-X)+" "+(j.verticalFullExtent+ae)+" L "+(j.rightFullExtent+ae-X-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent+ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent:ee?re+=" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent-X-ae-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" L "+(j.leftFullExtent+ae+(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent:re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightInnerExtent-X)+" "+(j.verticalFullExtent+ae)+" L "+j.leftInnerExtent+" "+(j.verticalFullExtent+ae)+" A "+(j.leftLargeArcRadius+ae)+" "+(j.leftLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent,re+=" L "+(j.leftFullExtent+ae)+" "+(j.sourceY+j.leftSmallArcRadius)+" A "+(j.leftLargeArcRadius+ae)+" "+(j.leftSmallArcRadius+ae)+" 0 0 0 "+j.leftInnerExtent+" "+(j.sourceY-ae)+" L "+j.sourceX+" "+(j.sourceY-ae)+" L "+j.sourceX+" "+(j.sourceY+ae)+" L "+j.leftInnerExtent+" "+(j.sourceY+ae)+" A "+(j.leftLargeArcRadius-ae)+" "+(j.leftSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent-ae)+" "+(j.sourceY+j.leftSmallArcRadius)+" L "+(j.leftFullExtent-ae)+" "+j.verticalLeftInnerExtent,ee&&ie?re+=" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent-ae-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" L "+(j.rightFullExtent+ae-X+(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent:ee?re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+(j.verticalFullExtent+ae)+" L "+(j.rightFullExtent-X-ae)+" "+(j.verticalFullExtent+ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent:re+=" A "+(j.leftLargeArcRadius-ae)+" "+(j.leftLargeArcRadius-ae)+" 0 0 1 "+j.leftInnerExtent+" "+(j.verticalFullExtent-ae)+" L "+(j.rightInnerExtent-X)+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightLargeArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent,re+=" L "+(j.rightFullExtent+ae-X)+" "+(j.targetY+j.rightSmallArcRadius)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightInnerExtent-X)+" "+(j.targetY+ae)+" L "+(j.targetX-X)+" "+(j.targetY+ae)+(X>0?" L "+j.targetX+" "+j.targetY:"")+"Z"),re}function u(){var J=.5;function X(re){var ae=re.linkArrowLength;if(re.link.circular)return v(re.link,ae);var j=Math.abs((re.link.target.x0-re.link.source.x1)/2);ae>j&&(ae=j);var ee=re.link.source.x1,ie=re.link.target.x0-ae,ce=x(ee,ie),xe=ce(J),Te=ce(1-J),Ue=re.link.y0-re.link.width/2,Ie=re.link.y0+re.link.width/2,Ye=re.link.y1-re.link.width/2,it=re.link.y1+re.link.width/2,at="M"+ee+","+Ue,tt="C"+xe+","+Ue+" "+Te+","+Ye+" "+ie+","+Ye,ut="C"+Te+","+it+" "+xe+","+Ie+" "+ee+","+Ie,Me=ae>0?"L"+(ie+ae)+","+(Ye+re.link.width/2):"";return Me+="L"+ie+","+it,at+tt+Me+ut+"Z"}return X}function y(J,X){var re=r(X.color),ae=t.nodePadAcross,j=J.nodePad/2;X.dx=X.x1-X.x0,X.dy=X.y1-X.y0;var ee=X.dx,ie=Math.max(.5,X.dy),ce="node_"+X.pointNumber;return X.group&&(ce=i.randstr()),X.trace=J.trace,X.curveNumber=J.trace.index,{index:X.pointNumber,key:ce,partOfGroup:X.partOfGroup||!1,group:X.group,traceId:J.key,trace:J.trace,node:X,nodePad:J.nodePad,nodeLineColor:J.nodeLineColor,nodeLineWidth:J.nodeLineWidth,textFont:J.textFont,size:J.horizontal?J.height:J.width,visibleWidth:Math.ceil(ee),visibleHeight:ie,zoneX:-ae,zoneY:-j,zoneWidth:ee+2*ae,zoneHeight:ie+2*j,labelY:J.horizontal?X.dy/2+1:X.dx/2+1,left:X.originalLayer===1,sizeAcross:J.width,forceLayouts:J.forceLayouts,horizontal:J.horizontal,darkBackground:re.getBrightness()<=128,tinyColorHue:o.tinyRGB(re),tinyColorAlpha:re.getAlpha(),valueFormat:J.valueFormat,valueSuffix:J.valueSuffix,sankey:J.sankey,graph:J.graph,arrangement:J.arrangement,uniqueNodeLabelPathId:[J.guid,J.key,ce].join("_"),interactionState:J.interactionState,figure:J}}function f(J){J.attr("transform",function(X){return a(X.node.x0.toFixed(3),X.node.y0.toFixed(3))})}function P(J){J.call(f)}function L(J,X){J.call(P),X.attr("d",u())}function z(J){J.attr("width",function(X){return X.node.x1-X.node.x0}).attr("height",function(X){return X.visibleHeight})}function F(J){return J.link.width>1||J.linkLineWidth>0}function B(J){var X=a(J.translateX,J.translateY);return X+(J.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function O(J,X,re){J.on(".basic",null).on("mouseover.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.hover(this,ae,X),ae.interactionState.hovered=[this,ae])}).on("mousemove.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.follow(this,ae),ae.interactionState.hovered=[this,ae])}).on("mouseout.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1)}).on("click.basic",function(ae){ae.interactionState.hovered&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1),!ae.interactionState.dragInProgress&&!ae.partOfGroup&&re.select(this,ae,X)})}function I(J,X,re,ae){var j=A.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on("dragstart",function(ee){if(ee.arrangement!=="fixed"&&(i.ensureSingle(ae._fullLayout._infolayer,"g","dragcover",function(ce){ae._fullLayout._dragCover=ce}),i.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,se(ee.node),ee.interactionState.hovered&&(re.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement==="snap")){var ie=ee.traceId+"|"+ee.key;ee.forceLayouts[ie]?ee.forceLayouts[ie].alpha(1):N(J,ie,ee,ae),U(J,X,ee,ie,ae)}}).on("drag",function(ee){if(ee.arrangement!=="fixed"){var ie=A.event.x,ce=A.event.y;ee.arrangement==="snap"?(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2,ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2):(ee.arrangement==="freeform"&&(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2),ce=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,ce)),ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2),se(ee.node),ee.arrangement!=="snap"&&(ee.sankey.update(ee.graph),L(J.filter(fe(ee)),X))}}).on("dragend",function(ee){if(ee.arrangement!=="fixed"){ee.interactionState.dragInProgress=!1;for(var ie=0;ie0)window.requestAnimationFrame(ee);else{var xe=re.node.originalX;re.node.x0=xe-re.visibleWidth/2,re.node.x1=xe+re.visibleWidth/2,Q(re,j)}})}function W(J,X,re,ae){return function(){for(var ee=0,ie=0;ie0&&ae.forceLayouts[X].alpha(0)}}function Q(J,X){for(var re=[],ae=[],j=0;j"),color:_(G,"bgcolor")||t.addOpacity(ae.color,1),borderColor:_(G,"bordercolor"),fontFamily:_(G,"font.family"),fontSize:_(G,"font.size"),fontColor:_(G,"font.color"),fontWeight:_(G,"font.weight"),fontStyle:_(G,"font.style"),fontVariant:_(G,"font.variant"),fontTextcase:_(G,"font.textcase"),fontLineposition:_(G,"font.lineposition"),fontShadow:_(G,"font.shadow"),nameLength:_(G,"namelength"),textAlign:_(G,"align"),idealAlign:g.event.x"),color:_(G,"bgcolor")||fe.tinyColorHue,borderColor:_(G,"bordercolor"),fontFamily:_(G,"font.family"),fontSize:_(G,"font.size"),fontColor:_(G,"font.color"),fontWeight:_(G,"font.weight"),fontStyle:_(G,"font.style"),fontVariant:_(G,"font.variant"),fontTextcase:_(G,"font.textcase"),fontLineposition:_(G,"font.lineposition"),fontShadow:_(G,"font.shadow"),nameLength:_(G,"namelength"),textAlign:_(G,"align"),idealAlign:"left",hovertemplate:G.hovertemplate,hovertemplateLabels:ee,eventData:[fe.node]},{container:m._hoverlayer.node(),outerContainer:m._paper.node(),gd:M});a(xe,.85),s(xe)}}},le=function(se,fe,G){M._fullLayout.hovermode!==!1&&(g.select(se).call(d,fe,G),fe.node.trace.node.hoverinfo!=="skip"&&(fe.node.fullData=fe.node.trace,M.emit("plotly_unhover",{event:g.event,points:[fe.node]})),e.loneUnhover(m._hoverlayer.node()))};S(M,b,E,{width:v.w,height:v.h,margin:{t:v.t,r:v.r,b:v.b,l:v.l}},{linkEvents:{hover:P,follow:I,unhover:N,select:f},nodeEvents:{hover:W,follow:Q,unhover:le,select:U}})}}}),Uz=ke({"src/traces/sankey/base_plot.js"(Z){"use strict";var H=ju().overrideAll,g=bh().getModuleCalcData,x=AM(),A=vl(),S=uv(),e=Xh(),t=tf().prepSelect,r=un(),o=lo(),n="sankey";Z.name=n,Z.baseLayoutAttrOverrides=H({hoverlabel:A.hoverlabel},"plot","nested"),Z.plot=function(a){var s=g(a.calcdata,n)[0];x(a,s),Z.updateFx(a)},Z.clean=function(a,s,c,h){var p=h._has&&h._has(n),d=s._has&&s._has(n);p&&!d&&(h._paperdiv.selectAll(".sankey").remove(),h._paperdiv.selectAll(".bgsankey").remove())},Z.updateFx=function(a){for(var s=0;s0}H.exports=function(F,B,O,I){var N=F._fullLayout,U;w(O)&&I&&(U=I()),S.makeTraceGroups(N._indicatorlayer,B,"trace").each(function(W){var Q=W[0],le=Q.trace,se=g.select(this),fe=le._hasGauge,G=le._isAngular,$=le._isBullet,J=le.domain,X={w:N._size.w*(J.x[1]-J.x[0]),h:N._size.h*(J.y[1]-J.y[0]),l:N._size.l+N._size.w*J.x[0],r:N._size.r+N._size.w*(1-J.x[1]),t:N._size.t+N._size.h*(1-J.y[1]),b:N._size.b+N._size.h*J.y[0]},re=X.l+X.w/2,ae=X.t+X.h/2,j=Math.min(X.w/2,X.h),ee=i.innerRadius*j,ie,ce,xe,Te=le.align||"center";if(ce=ae,!fe)ie=X.l+l[Te]*X.w,xe=function(ue){return y(ue,X.w,X.h)};else if(G&&(ie=re,ce=ae+j/2,xe=function(ue){return f(ue,.9*ee)}),$){var Ue=i.bulletPadding,Ie=1-i.bulletNumberDomainSize+Ue;ie=X.l+(Ie+(1-Ie)*l[Te])*X.w,xe=function(ue){return y(ue,(i.bulletNumberDomainSize-Ue)*X.w,X.h)}}m(F,se,W,{numbersX:ie,numbersY:ce,numbersScaler:xe,transitionOpts:O,onComplete:U});var Ye,it;fe&&(Ye={range:le.gauge.axis.range,color:le.gauge.bgcolor,line:{color:le.gauge.bordercolor,width:0},thickness:1},it={range:le.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:le.gauge.bordercolor,width:le.gauge.borderwidth},thickness:1});var at=se.selectAll("g.angular").data(G?W:[]);at.exit().remove();var tt=se.selectAll("g.angularaxis").data(G?W:[]);tt.exit().remove(),G&&E(F,se,W,{radius:j,innerRadius:ee,gauge:at,layer:tt,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var ut=se.selectAll("g.bullet").data($?W:[]);ut.exit().remove();var Me=se.selectAll("g.bulletaxis").data($?W:[]);Me.exit().remove(),$&&M(F,se,W,{gauge:ut,layer:Me,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var pe=se.selectAll("text.title").data(W);pe.exit().remove(),pe.enter().append("text").classed("title",!0),pe.attr("text-anchor",function(){return $?T.right:T[le.title.align]}).text(le.title.text).call(n.font,le.title.font).call(a.convertToTspans,F),pe.attr("transform",function(){var ue=X.l+X.w*l[le.title.align],Oe,rt=i.titlePadding,ot=n.bBox(pe.node());if(fe){if(G)if(le.gauge.axis.visible){var et=n.bBox(tt.node());Oe=et.top-rt-ot.bottom}else Oe=X.t+X.h/2-j/2-ot.bottom-rt;$&&(Oe=ce-(ot.top+ot.bottom)/2,ue=X.l-i.bulletPadding*X.w)}else Oe=le._numbersTop-rt-ot.bottom;return t(ue,Oe)})})};function M(z,F,B,O){var I=B[0].trace,N=O.gauge,U=O.layer,W=O.gaugeBg,Q=O.gaugeOutline,le=O.size,se=I.domain,fe=O.transitionOpts,G=O.onComplete,$,J,X,re,ae;N.enter().append("g").classed("bullet",!0),N.attr("transform",t(le.l,le.t)),U.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),U.selectAll("g.xbulletaxistick,path,text").remove();var j=le.h,ee=I.gauge.bar.thickness*j,ie=se.x[0],ce=se.x[0]+(se.x[1]-se.x[0])*(I._hasNumber||I._hasDelta?1-i.bulletNumberDomainSize:1);$=u(z,I.gauge.axis),$._id="xbulletaxis",$.domain=[ie,ce],$.setScale(),J=s.calcTicks($),X=s.makeTransTickFn($),re=s.getTickSigns($)[2],ae=le.t+le.h,$.visible&&(s.drawTicks(z,$,{vals:$.ticks==="inside"?s.clipEnds($,J):J,layer:U,path:s.makeTickPath($,ae,re),transFn:X}),s.drawLabels(z,$,{vals:J,layer:U,transFn:X,labelFns:s.makeLabelFns($,ae)}));function xe(tt){tt.attr("width",function(ut){return Math.max(0,$.c2p(ut.range[1])-$.c2p(ut.range[0]))}).attr("x",function(ut){return $.c2p(ut.range[0])}).attr("y",function(ut){return .5*(1-ut.thickness)*j}).attr("height",function(ut){return ut.thickness*j})}var Te=[W].concat(I.gauge.steps),Ue=N.selectAll("g.bg-bullet").data(Te);Ue.enter().append("g").classed("bg-bullet",!0).append("rect"),Ue.select("rect").call(xe).call(b),Ue.exit().remove();var Ie=N.selectAll("g.value-bullet").data([I.gauge.bar]);Ie.enter().append("g").classed("value-bullet",!0).append("rect"),Ie.select("rect").attr("height",ee).attr("y",(j-ee)/2).call(b),w(fe)?Ie.select("rect").transition().duration(fe.duration).ease(fe.easing).each("end",function(){G&&G()}).each("interrupt",function(){G&&G()}).attr("width",Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y)))):Ie.select("rect").attr("width",typeof B[0].y=="number"?Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y))):0),Ie.exit().remove();var Ye=B.filter(function(){return I.gauge.threshold.value||I.gauge.threshold.value===0}),it=N.selectAll("g.threshold-bullet").data(Ye);it.enter().append("g").classed("threshold-bullet",!0).append("line"),it.select("line").attr("x1",$.c2p(I.gauge.threshold.value)).attr("x2",$.c2p(I.gauge.threshold.value)).attr("y1",(1-I.gauge.threshold.thickness)/2*j).attr("y2",(1-(1-I.gauge.threshold.thickness)/2)*j).call(d.stroke,I.gauge.threshold.line.color).style("stroke-width",I.gauge.threshold.line.width),it.exit().remove();var at=N.selectAll("g.gauge-outline").data([Q]);at.enter().append("g").classed("gauge-outline",!0).append("rect"),at.select("rect").call(xe).call(b),at.exit().remove()}function E(z,F,B,O){var I=B[0].trace,N=O.size,U=O.radius,W=O.innerRadius,Q=O.gaugeBg,le=O.gaugeOutline,se=[N.l+N.w/2,N.t+N.h/2+U/2],fe=O.gauge,G=O.layer,$=O.transitionOpts,J=O.onComplete,X=Math.PI/2;function re(Lt){var Et=I.gauge.axis.range[0],Bt=I.gauge.axis.range[1],qt=(Lt-Et)/(Bt-Et)*Math.PI-X;return qt<-X?-X:qt>X?X:qt}function ae(Lt){return g.svg.arc().innerRadius((W+U)/2-Lt/2*(U-W)).outerRadius((W+U)/2+Lt/2*(U-W)).startAngle(-X)}function j(Lt){Lt.attr("d",function(Et){return ae(Et.thickness).startAngle(re(Et.range[0])).endAngle(re(Et.range[1]))()})}var ee,ie,ce,xe;fe.enter().append("g").classed("angular",!0),fe.attr("transform",t(se[0],se[1])),G.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),G.selectAll("g.xangularaxistick,path,text").remove(),ee=u(z,I.gauge.axis),ee.type="linear",ee.range=I.gauge.axis.range,ee._id="xangularaxis",ee.ticklabeloverflow="allow",ee.setScale();var Te=function(Lt){return(ee.range[0]-Lt.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Ue={},Ie=s.makeLabelFns(ee,0),Ye=Ie.labelStandoff;Ue.xFn=function(Lt){var Et=Te(Lt);return Math.cos(Et)*Ye},Ue.yFn=function(Lt){var Et=Te(Lt),Bt=Math.sin(Et)>0?.2:1;return-Math.sin(Et)*(Ye+Lt.fontSize*Bt)+Math.abs(Math.cos(Et))*(Lt.fontSize*o)},Ue.anchorFn=function(Lt){var Et=Te(Lt),Bt=Math.cos(Et);return Math.abs(Bt)<.1?"middle":Bt>0?"start":"end"},Ue.heightFn=function(Lt,Et,Bt){var qt=Te(Lt);return-.5*(1+Math.sin(qt))*Bt};var it=function(Lt){return t(se[0]+U*Math.cos(Lt),se[1]-U*Math.sin(Lt))};ce=function(Lt){return it(Te(Lt))};var at=function(Lt){var Et=Te(Lt);return it(Et)+"rotate("+-r(Et)+")"};if(ie=s.calcTicks(ee),xe=s.getTickSigns(ee)[2],ee.visible){xe=ee.ticks==="inside"?-1:1;var tt=(ee.linewidth||1)/2;s.drawTicks(z,ee,{vals:ie,layer:G,path:"M"+xe*tt+",0h"+xe*ee.ticklen,transFn:at}),s.drawLabels(z,ee,{vals:ie,layer:G,transFn:ce,labelFns:Ue})}var ut=[Q].concat(I.gauge.steps),Me=fe.selectAll("g.bg-arc").data(ut);Me.enter().append("g").classed("bg-arc",!0).append("path"),Me.select("path").call(j).call(b),Me.exit().remove();var pe=ae(I.gauge.bar.thickness),ue=fe.selectAll("g.value-arc").data([I.gauge.bar]);ue.enter().append("g").classed("value-arc",!0).append("path");var Oe=ue.select("path");w($)?(Oe.transition().duration($.duration).ease($.easing).each("end",function(){J&&J()}).each("interrupt",function(){J&&J()}).attrTween("d",v(pe,re(B[0].lastY),re(B[0].y))),I._lastValue=B[0].y):Oe.attr("d",typeof B[0].y=="number"?pe.endAngle(re(B[0].y)):"M0,0Z"),Oe.call(b),ue.exit().remove(),ut=[];var rt=I.gauge.threshold.value;(rt||rt===0)&&ut.push({range:[rt,rt],color:I.gauge.threshold.color,line:{color:I.gauge.threshold.line.color,width:I.gauge.threshold.line.width},thickness:I.gauge.threshold.thickness});var ot=fe.selectAll("g.threshold-arc").data(ut);ot.enter().append("g").classed("threshold-arc",!0).append("path"),ot.select("path").call(j).call(b),ot.exit().remove();var et=fe.selectAll("g.gauge-outline").data([le]);et.enter().append("g").classed("gauge-outline",!0).append("path"),et.select("path").call(j).call(b),et.exit().remove()}function m(z,F,B,O){var I=B[0].trace,N=O.numbersX,U=O.numbersY,W=I.align||"center",Q=T[W],le=O.transitionOpts,se=O.onComplete,fe=S.ensureSingle(F,"g","numbers"),G,$,J,X=[];I._hasNumber&&X.push("number"),I._hasDelta&&(X.push("delta"),I.delta.position==="left"&&X.reverse());var re=fe.selectAll("text").data(X);re.enter().append("text"),re.attr("text-anchor",function(){return Q}).attr("class",function(it){return it}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),re.exit().remove();function ae(it,at,tt,ut){if(it.match("s")&&tt>=0!=ut>=0&&!at(tt).slice(-1).match(_)&&!at(ut).slice(-1).match(_)){var Me=it.slice().replace("s","f").replace(/\d+/,function(ue){return parseInt(ue)-1}),pe=u(z,{tickformat:Me});return function(ue){return Math.abs(ue)<1?s.tickText(pe,ue).text:at(ue)}}else return at}function j(){var it=u(z,{tickformat:I.number.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ue){return s.tickText(it,ue).text},tt=I.number.suffix,ut=I.number.prefix,Me=fe.select("text.number");function pe(){var ue=typeof B[0].y=="number"?ut+at(B[0].y)+tt:"-";Me.text(ue).call(n.font,I.number.font).call(a.convertToTspans,z)}return w(le)?Me.transition().duration(le.duration).ease(le.easing).each("end",function(){pe(),se&&se()}).each("interrupt",function(){pe(),se&&se()}).attrTween("text",function(){var ue=g.select(this),Oe=A(B[0].lastY,B[0].y);I._lastValue=B[0].y;var rt=ae(I.number.valueformat,at,B[0].lastY,B[0].y);return function(ot){ue.text(ut+rt(Oe(ot))+tt)}}):pe(),G=P(ut+at(B[0].y)+tt,I.number.font,Q,z),Me}function ee(){var it=u(z,{tickformat:I.delta.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ot){return s.tickText(it,ot).text},tt=I.delta.suffix,ut=I.delta.prefix,Me=function(ot){var et=I.delta.relative?ot.relativeDelta:ot.delta;return et},pe=function(ot,et){return ot===0||typeof ot!="number"||isNaN(ot)?"-":(ot>0?I.delta.increasing.symbol:I.delta.decreasing.symbol)+ut+et(ot)+tt},ue=function(ot){return ot.delta>=0?I.delta.increasing.color:I.delta.decreasing.color};I._deltaLastValue===void 0&&(I._deltaLastValue=Me(B[0]));var Oe=fe.select("text.delta");Oe.call(n.font,I.delta.font).call(d.fill,ue({delta:I._deltaLastValue}));function rt(){Oe.text(pe(Me(B[0]),at)).call(d.fill,ue(B[0])).call(a.convertToTspans,z)}return w(le)?Oe.transition().duration(le.duration).ease(le.easing).tween("text",function(){var ot=g.select(this),et=Me(B[0]),Lt=I._deltaLastValue,Et=ae(I.delta.valueformat,at,Lt,et),Bt=A(Lt,et);return I._deltaLastValue=et,function(qt){ot.text(pe(Bt(qt),Et)),ot.call(d.fill,ue({delta:Bt(qt)}))}}).each("end",function(){rt(),se&&se()}).each("interrupt",function(){rt(),se&&se()}):rt(),$=P(pe(Me(B[0]),at),I.delta.font,Q,z),Oe}var ie=I.mode+I.align,ce;if(I._hasDelta&&(ce=ee(),ie+=I.delta.position+I.delta.font.size+I.delta.font.family+I.delta.valueformat,ie+=I.delta.increasing.symbol+I.delta.decreasing.symbol,J=$),I._hasNumber&&(j(),ie+=I.number.font.size+I.number.font.family+I.number.valueformat+I.number.suffix+I.number.prefix,J=G),I._hasDelta&&I._hasNumber){var xe=[(G.left+G.right)/2,(G.top+G.bottom)/2],Te=[($.left+$.right)/2,($.top+$.bottom)/2],Ue,Ie,Ye=.75*I.delta.font.size;I.delta.position==="left"&&(Ue=L(I,"deltaPos",0,-1*(G.width*l[I.align]+$.width*(1-l[I.align])+Ye),ie,Math.min),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:$.left+Ue,right:G.right,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position==="right"&&(Ue=L(I,"deltaPos",0,G.width*(1-l[I.align])+$.width*l[I.align]+Ye,ie,Math.max),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:G.left,right:$.right+Ue,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position==="bottom"&&(Ue=null,Ie=$.height,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height,bottom:G.bottom+$.height}),I.delta.position==="top"&&(Ue=null,Ie=G.top,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height-$.height,bottom:G.bottom}),ce.attr({dx:Ue,dy:Ie})}(I._hasNumber||I._hasDelta)&&fe.attr("transform",function(){var it=O.numbersScaler(J);ie+=it[2];var at=L(I,"numbersScale",1,it[0],ie,Math.min),tt;I._scaleNumbers||(at=1),I._isAngular?tt=U-at*J.bottom:tt=U-at*(J.top+J.bottom)/2,I._numbersTop=at*J.top+tt;var ut=J[W];W==="center"&&(ut=(J.left+J.right)/2);var Me=N-at*ut;return Me=L(I,"numbersTranslate",0,Me,ie,Math.max),t(Me,tt)+e(at)})}function b(z){z.each(function(F){d.stroke(g.select(this),F.line.color)}).each(function(F){d.fill(g.select(this),F.color)}).style("stroke-width",function(F){return F.line.width})}function v(z,F,B){return function(){var O=x(F,B);return function(I){return z.endAngle(O(I))()}}}function u(z,F,B){var O=z._fullLayout,I=S.extendFlat({type:"linear",ticks:"outside",range:B,showline:!0},F),N={type:"linear",_id:"x"+F._id},U={letter:"x",font:O.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function W(Q,le){return S.coerce(I,N,p,Q,le)}return c(I,N,W,U,O),h(I,N,W,U),N}function y(z,F,B){var O=Math.min(F/z.width,B/z.height);return[O,z,F+"x"+B]}function f(z,F){var B=Math.sqrt(z.width/2*(z.width/2)+z.height*z.height),O=F/B;return[O,z,F]}function P(z,F,B,O){var I=document.createElementNS("http://www.w3.org/2000/svg","text"),N=g.select(I);return N.text(z).attr("x",0).attr("y",0).attr("text-anchor",B).attr("data-unformatted",z).call(a.convertToTspans,O).call(n.font,F),n.bBox(N.node())}function L(z,F,B,O,I,N){var U="_cache"+F;z[U]&&z[U].key===I||(z[U]={key:I,value:B});var W=S.aggNums(N,null,[z[U].value,O],2);return z[U].value=W,W}}}),Zz=ke({"src/traces/indicator/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"indicator",basePlotModule:Hz(),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:MM(),supplyDefaults:Gz().supplyDefaults,calc:Wz().calc,plot:Xz(),meta:{}}}}),Yz=ke({"lib/indicator.js"(Z,H){"use strict";H.exports=Zz()}}),EM=ke({"src/traces/table/attributes.js"(Z,H){"use strict";var g=Dm(),x=To().extendFlat,A=ju().overrideAll,S=Il(),e=Yu().attributes,t=Sc().descriptionOnlyNumbers,r=H.exports=A({domain:e({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null},columnorder:{valType:"data_array"},header:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:t("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:28},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:x({},S({arrayOk:!0}))},cells:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:t("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:20},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:x({},S({arrayOk:!0}))}},"calc","from-root")}}),Kz=ke({"src/traces/table/defaults.js"(Z,H){"use strict";var g=un(),x=EM(),A=Yu().defaults;function S(e,t){for(var r=e.columnorder||[],o=e.header.values.length,n=r.slice(0,o),i=n.slice().sort(function(c,h){return c-h}),a=n.map(function(c){return i.indexOf(c)}),s=a.length;s",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}}}),$z=ke({"src/traces/table/data_preparation_helper.js"(Z,H){"use strict";var g=CM(),x=To().extendFlat,A=Yn(),S=Oa().isTypedArray,e=Oa().isArrayOrTypedArray;H.exports=function(p,d){var T=o(d.cells.values),l=function(Q){return Q.slice(d.header.values.length,Q.length)},_=o(d.header.values);_.length&&!_[0].length&&(_[0]=[""],_=o(_));var w=_.concat(l(T).map(function(){return n((_[0]||[""]).length)})),M=d.domain,E=Math.floor(p._fullLayout._size.w*(M.x[1]-M.x[0])),m=Math.floor(p._fullLayout._size.h*(M.y[1]-M.y[0])),b=d.header.values.length?w[0].map(function(){return d.header.height}):[g.emptyHeaderHeight],v=T.length?T[0].map(function(){return d.cells.height}):[],u=b.reduce(r,0),y=m-u,f=y+g.uplift,P=s(v,f),L=s(b,u),z=a(L,[]),F=a(P,z),B={},O=d._fullInput.columnorder;e(O)&&(O=Array.from(O)),O=O.concat(l(T.map(function(Q,le){return le})));var I=w.map(function(Q,le){var se=e(d.columnwidth)?d.columnwidth[Math.min(le,d.columnwidth.length-1)]:d.columnwidth;return A(se)?Number(se):1}),N=I.reduce(r,0);I=I.map(function(Q){return Q/N*E});var U=Math.max(t(d.header.line.width),t(d.cells.line.width)),W={key:d.uid+p._context.staticPlot,translateX:M.x[0]*p._fullLayout._size.w,translateY:p._fullLayout._size.h*(1-M.y[1]),size:p._fullLayout._size,width:E,maxLineWidth:U,height:m,columnOrder:O,groupHeight:m,rowBlocks:F,headerRowBlocks:z,scrollY:0,cells:x({},d.cells,{values:T}),headerCells:x({},d.header,{values:w}),gdColumns:w.map(function(Q){return Q[0]}),gdColumnsOriginalOrder:w.map(function(Q){return Q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:w.map(function(Q,le){var se=B[Q];B[Q]=(se||0)+1;var fe=Q+"__"+B[Q];return{key:fe,label:Q,specIndex:le,xIndex:O[le],xScale:i,x:void 0,calcdata:void 0,columnWidth:I[le]}})};return W.columns.forEach(function(Q){Q.calcdata=W,Q.x=i(Q)}),W};function t(h){if(e(h)){for(var p=0,d=0;d=p||m===h.length-1)&&(d[l]=w,w.key=E++,w.firstRowIndex=M,w.lastRowIndex=m,w=c(),l+=_,M=m+1,_=0);return d}function c(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}}}),Qz=ke({"src/traces/table/data_split_helpers.js"(Z){"use strict";var H=To().extendFlat;Z.splitToPanels=function(x){var A=[0,0],S=H({},x,{key:"header",type:"header",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!0,values:x.calcdata.headerCells.values[x.specIndex],rowBlocks:x.calcdata.headerRowBlocks,calcdata:H({},x.calcdata,{cells:x.calcdata.headerCells})}),e=H({},x,{key:"cells1",type:"cells",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks}),t=H({},x,{key:"cells2",type:"cells",page:1,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks});return[e,t,S]},Z.splitToCells=function(x){var A=g(x);return(x.values||[]).slice(A[0],A[1]).map(function(S,e){var t=typeof S=="string"&&S.match(/[<$&> ]/)?"_keybuster_"+Math.random():"";return{keyWithinBlock:e+t,key:A[0]+e,column:x,calcdata:x.calcdata,page:x.page,rowBlocks:x.rowBlocks,value:S}})};function g(x){var A=x.rowBlocks[x.page],S=A?A.rows[0].rowIndex:0,e=A?S+A.rows.length:0;return[S,e]}}}),kM=ke({"src/traces/table/plot.js"(Z,H){"use strict";var g=CM(),x=_i(),A=un(),S=A.numberFormat,e=Dv(),t=$o(),r=Wl(),o=un().raiseToTop,n=un().strTranslate,i=un().cancelTransition,a=$z(),s=Qz(),c=eo();H.exports=function(ie,ce){var xe=!ie._context.staticPlot,Te=ie._fullLayout._paper.selectAll("."+g.cn.table).data(ce.map(function(et){var Lt=e.unwrap(et),Et=Lt.trace;return a(ie,Et)}),e.keyFun);Te.exit().remove(),Te.enter().append("g").classed(g.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),Te.attr("width",function(et){return et.width+et.size.l+et.size.r}).attr("height",function(et){return et.height+et.size.t+et.size.b}).attr("transform",function(et){return n(et.translateX,et.translateY)});var Ue=Te.selectAll("."+g.cn.tableControlView).data(e.repeat,e.keyFun),Ie=Ue.enter().append("g").classed(g.cn.tableControlView,!0).style("box-sizing","content-box");if(xe){var Ye="onwheel"in document?"wheel":"mousewheel";Ie.on("mousemove",function(et){Ue.filter(function(Lt){return et===Lt}).call(l,ie)}).on(Ye,function(et){if(!et.scrollbarState.wheeling){et.scrollbarState.wheeling=!0;var Lt=et.scrollY+x.event.deltaY,Et=Q(ie,Ue,null,Lt)(et);Et||(x.event.stopPropagation(),x.event.preventDefault()),et.scrollbarState.wheeling=!1}}).call(l,ie,!0)}Ue.attr("transform",function(et){return n(et.size.l,et.size.t)});var it=Ue.selectAll("."+g.cn.scrollBackground).data(e.repeat,e.keyFun);it.enter().append("rect").classed(g.cn.scrollBackground,!0).attr("fill","none"),it.attr("width",function(et){return et.width}).attr("height",function(et){return et.height}),Ue.each(function(et){t.setClipUrl(x.select(this),p(ie,et),ie)});var at=Ue.selectAll("."+g.cn.yColumn).data(function(et){return et.columns},e.keyFun);at.enter().append("g").classed(g.cn.yColumn,!0),at.exit().remove(),at.attr("transform",function(et){return n(et.x,0)}),xe&&at.call(x.behavior.drag().origin(function(et){var Lt=x.select(this);return B(Lt,et,-g.uplift),o(this),et.calcdata.columnDragInProgress=!0,l(Ue.filter(function(Et){return et.calcdata.key===Et.key}),ie),et}).on("drag",function(et){var Lt=x.select(this),Et=function(fr){return(et===fr?x.event.x:fr.x)+fr.columnWidth/2};et.x=Math.max(-g.overdrag,Math.min(et.calcdata.width+g.overdrag-et.columnWidth,x.event.x));var Bt=T(at).filter(function(fr){return fr.calcdata.key===et.calcdata.key}),qt=Bt.sort(function(fr,ar){return Et(fr)-Et(ar)});qt.forEach(function(fr,ar){fr.xIndex=ar,fr.x=et===fr?fr.x:fr.xScale(fr)}),at.filter(function(fr){return et!==fr}).transition().ease(g.transitionEase).duration(g.transitionDuration).attr("transform",function(fr){return n(fr.x,0)}),Lt.call(i).attr("transform",n(et.x,-g.uplift))}).on("dragend",function(et){var Lt=x.select(this),Et=et.calcdata;et.x=et.xScale(et),et.calcdata.columnDragInProgress=!1,B(Lt,et,0),z(ie,Et,Et.columns.map(function(Bt){return Bt.xIndex}))})),at.each(function(et){t.setClipUrl(x.select(this),d(ie,et),ie)});var tt=at.selectAll("."+g.cn.columnBlock).data(s.splitToPanels,e.keyFun);tt.enter().append("g").classed(g.cn.columnBlock,!0).attr("id",function(et){return et.key}),tt.style("cursor",function(et){return et.dragHandle?"ew-resize":et.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"});var ut=tt.filter(I),Me=tt.filter(O);xe&&Me.call(x.behavior.drag().origin(function(et){return x.event.stopPropagation(),et}).on("drag",Q(ie,Ue,-1)).on("dragend",function(){})),_(ie,Ue,ut,tt),_(ie,Ue,Me,tt);var pe=Ue.selectAll("."+g.cn.scrollAreaClip).data(e.repeat,e.keyFun);pe.enter().append("clipPath").classed(g.cn.scrollAreaClip,!0).attr("id",function(et){return p(ie,et)});var ue=pe.selectAll("."+g.cn.scrollAreaClipRect).data(e.repeat,e.keyFun);ue.enter().append("rect").classed(g.cn.scrollAreaClipRect,!0).attr("x",-g.overdrag).attr("y",-g.uplift).attr("fill","none"),ue.attr("width",function(et){return et.width+2*g.overdrag}).attr("height",function(et){return et.height+g.uplift});var Oe=at.selectAll("."+g.cn.columnBoundary).data(e.repeat,e.keyFun);Oe.enter().append("g").classed(g.cn.columnBoundary,!0);var rt=at.selectAll("."+g.cn.columnBoundaryClippath).data(e.repeat,e.keyFun);rt.enter().append("clipPath").classed(g.cn.columnBoundaryClippath,!0),rt.attr("id",function(et){return d(ie,et)});var ot=rt.selectAll("."+g.cn.columnBoundaryRect).data(e.repeat,e.keyFun);ot.enter().append("rect").classed(g.cn.columnBoundaryRect,!0).attr("fill","none"),ot.attr("width",function(et){return et.columnWidth+2*h(et)}).attr("height",function(et){return et.calcdata.height+2*h(et)+g.uplift}).attr("x",function(et){return-h(et)}).attr("y",function(et){return-h(et)}),W(null,Me,Ue)};function h(ee){return Math.ceil(ee.calcdata.maxLineWidth/2)}function p(ee,ie){return"clip"+ee._fullLayout._uid+"_scrollAreaBottomClip_"+ie.key}function d(ee,ie){return"clip"+ee._fullLayout._uid+"_columnBoundaryClippath_"+ie.calcdata.key+"_"+ie.specIndex}function T(ee){return[].concat.apply([],ee.map(function(ie){return ie})).map(function(ie){return ie.__data__})}function l(ee,ie,ce){function xe(at){var tt=at.rowBlocks;return J(tt,tt.length-1)+(tt.length?X(tt[tt.length-1],1/0):1)}var Te=ee.selectAll("."+g.cn.scrollbarKit).data(e.repeat,e.keyFun);Te.enter().append("g").classed(g.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),Te.each(function(at){var tt=at.scrollbarState;tt.totalHeight=xe(at),tt.scrollableAreaHeight=at.groupHeight-N(at),tt.currentlyVisibleHeight=Math.min(tt.totalHeight,tt.scrollableAreaHeight),tt.ratio=tt.currentlyVisibleHeight/tt.totalHeight,tt.barLength=Math.max(tt.ratio*tt.currentlyVisibleHeight,g.goldenRatio*g.scrollbarWidth),tt.barWiggleRoom=tt.currentlyVisibleHeight-tt.barLength,tt.wiggleRoom=Math.max(0,tt.totalHeight-tt.scrollableAreaHeight),tt.topY=tt.barWiggleRoom===0?0:at.scrollY/tt.wiggleRoom*tt.barWiggleRoom,tt.bottomY=tt.topY+tt.barLength,tt.dragMultiplier=tt.wiggleRoom/tt.barWiggleRoom}).attr("transform",function(at){var tt=at.width+g.scrollbarWidth/2+g.scrollbarOffset;return n(tt,N(at))});var Ue=Te.selectAll("."+g.cn.scrollbar).data(e.repeat,e.keyFun);Ue.enter().append("g").classed(g.cn.scrollbar,!0);var Ie=Ue.selectAll("."+g.cn.scrollbarSlider).data(e.repeat,e.keyFun);Ie.enter().append("g").classed(g.cn.scrollbarSlider,!0),Ie.attr("transform",function(at){return n(0,at.scrollbarState.topY||0)});var Ye=Ie.selectAll("."+g.cn.scrollbarGlyph).data(e.repeat,e.keyFun);Ye.enter().append("line").classed(g.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",g.scrollbarWidth).attr("stroke-linecap","round").attr("y1",g.scrollbarWidth/2),Ye.attr("y2",function(at){return at.scrollbarState.barLength-g.scrollbarWidth/2}).attr("stroke-opacity",function(at){return at.columnDragInProgress||!at.scrollbarState.barWiggleRoom||ce?0:.4}),Ye.transition().delay(0).duration(0),Ye.transition().delay(g.scrollbarHideDelay).duration(g.scrollbarHideDuration).attr("stroke-opacity",0);var it=Ue.selectAll("."+g.cn.scrollbarCaptureZone).data(e.repeat,e.keyFun);it.enter().append("line").classed(g.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",g.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",function(at){var tt=x.event.y,ut=this.getBoundingClientRect(),Me=at.scrollbarState,pe=tt-ut.top,ue=x.scale.linear().domain([0,Me.scrollableAreaHeight]).range([0,Me.totalHeight]).clamp(!0);Me.topY<=pe&&pe<=Me.bottomY||Q(ie,ee,null,ue(pe-Me.barLength/2))(at)}).call(x.behavior.drag().origin(function(at){return x.event.stopPropagation(),at.scrollbarState.scrollbarScrollInProgress=!0,at}).on("drag",Q(ie,ee)).on("dragend",function(){})),it.attr("y2",function(at){return at.scrollbarState.scrollableAreaHeight}),ie._context.staticPlot&&(Ye.remove(),it.remove())}function _(ee,ie,ce,xe){var Te=w(ce),Ue=M(Te);v(Ue);var Ie=E(Ue);y(Ie);var Ye=b(Ue),it=m(Ye);u(it),f(it,ie,xe,ee),$(Ue)}function w(ee){var ie=ee.selectAll("."+g.cn.columnCells).data(e.repeat,e.keyFun);return ie.enter().append("g").classed(g.cn.columnCells,!0),ie.exit().remove(),ie}function M(ee){var ie=ee.selectAll("."+g.cn.columnCell).data(s.splitToCells,function(ce){return ce.keyWithinBlock});return ie.enter().append("g").classed(g.cn.columnCell,!0),ie.exit().remove(),ie}function E(ee){var ie=ee.selectAll("."+g.cn.cellRect).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("rect").classed(g.cn.cellRect,!0),ie}function m(ee){var ie=ee.selectAll("."+g.cn.cellText).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("text").classed(g.cn.cellText,!0).style("cursor",function(){return"auto"}).on("mousedown",function(){x.event.stopPropagation()}),ie}function b(ee){var ie=ee.selectAll("."+g.cn.cellTextHolder).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("g").classed(g.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),ie}function v(ee){ee.each(function(ie,ce){var xe=ie.calcdata.cells.font,Te=ie.column.specIndex,Ue={size:F(xe.size,Te,ce),color:F(xe.color,Te,ce),family:F(xe.family,Te,ce),weight:F(xe.weight,Te,ce),style:F(xe.style,Te,ce),variant:F(xe.variant,Te,ce),textcase:F(xe.textcase,Te,ce),lineposition:F(xe.lineposition,Te,ce),shadow:F(xe.shadow,Te,ce)};ie.rowNumber=ie.key,ie.align=F(ie.calcdata.cells.align,Te,ce),ie.cellBorderWidth=F(ie.calcdata.cells.line.width,Te,ce),ie.font=Ue})}function u(ee){ee.each(function(ie){t.font(x.select(this),ie.font)})}function y(ee){ee.attr("width",function(ie){return ie.column.columnWidth}).attr("stroke-width",function(ie){return ie.cellBorderWidth}).each(function(ie){var ce=x.select(this);c.stroke(ce,F(ie.calcdata.cells.line.color,ie.column.specIndex,ie.rowNumber)),c.fill(ce,F(ie.calcdata.cells.fill.color,ie.column.specIndex,ie.rowNumber))})}function f(ee,ie,ce,xe){ee.text(function(Te){var Ue=Te.column.specIndex,Ie=Te.rowNumber,Ye=Te.value,it=typeof Ye=="string",at=it&&Ye.match(/
/i),tt=!it||at;Te.mayHaveMarkup=it&&Ye.match(/[<&>]/);var ut=P(Ye);Te.latex=ut;var Me=ut?"":F(Te.calcdata.cells.prefix,Ue,Ie)||"",pe=ut?"":F(Te.calcdata.cells.suffix,Ue,Ie)||"",ue=ut?null:F(Te.calcdata.cells.format,Ue,Ie)||null,Oe=Me+(ue?S(ue)(Te.value):Te.value)+pe,rt;Te.wrappingNeeded=!Te.wrapped&&!tt&&!ut&&(rt=L(Oe)),Te.cellHeightMayIncrease=at||ut||Te.mayHaveMarkup||(rt===void 0?L(Oe):rt),Te.needsConvertToTspans=Te.mayHaveMarkup||Te.wrappingNeeded||Te.latex;var ot;if(Te.wrappingNeeded){var et=g.wrapSplitCharacter===" "?Oe.replace(/Te&&xe.push(Ue),Te+=it}return xe}function W(ee,ie,ce){var xe=T(ie)[0];if(xe!==void 0){var Te=xe.rowBlocks,Ue=xe.calcdata,Ie=J(Te,Te.length),Ye=xe.calcdata.groupHeight-N(xe),it=Ue.scrollY=Math.max(0,Math.min(Ie-Ye,Ue.scrollY)),at=U(Te,it,Ye);at.length===1&&(at[0]===Te.length-1?at.unshift(at[0]-1):at.push(at[0]+1)),at[0]%2&&at.reverse(),ie.each(function(tt,ut){tt.page=at[ut],tt.scrollY=it}),ie.attr("transform",function(tt){var ut=J(tt.rowBlocks,tt.page)-tt.scrollY;return n(0,ut)}),ee&&(le(ee,ce,ie,at,xe.prevPages,xe,0),le(ee,ce,ie,at,xe.prevPages,xe,1),l(ce,ee))}}function Q(ee,ie,ce,xe){return function(Ue){var Ie=Ue.calcdata?Ue.calcdata:Ue,Ye=ie.filter(function(ut){return Ie.key===ut.key}),it=ce||Ie.scrollbarState.dragMultiplier,at=Ie.scrollY;Ie.scrollY=xe===void 0?Ie.scrollY+it*x.event.dy:xe;var tt=Ye.selectAll("."+g.cn.yColumn).selectAll("."+g.cn.columnBlock).filter(O);return W(ee,tt,Ye),Ie.scrollY===at}}function le(ee,ie,ce,xe,Te,Ue,Ie){var Ye=xe[Ie]!==Te[Ie];Ye&&(clearTimeout(Ue.currentRepaint[Ie]),Ue.currentRepaint[Ie]=setTimeout(function(){var it=ce.filter(function(at,tt){return tt===Ie&&xe[tt]!==Te[tt]});_(ee,ie,it,ce),Te[Ie]=xe[Ie]}))}function se(ee,ie,ce,xe){return function(){var Ue=x.select(ie.parentNode);Ue.each(function(Ie){var Ye=Ie.fragments;Ue.selectAll("tspan.line").each(function(Oe,rt){Ye[rt].width=this.getComputedTextLength()});var it=Ye[Ye.length-1].width,at=Ye.slice(0,-1),tt=[],ut,Me,pe=0,ue=Ie.column.columnWidth-2*g.cellPad;for(Ie.value="";at.length;)ut=at.shift(),Me=ut.width+it,pe+Me>ue&&(Ie.value+=tt.join(g.wrapSpacer)+g.lineBreaker,tt=[],pe=0),tt.push(ut.text),pe+=Me;pe&&(Ie.value+=tt.join(g.wrapSpacer)),Ie.wrapped=!0}),Ue.selectAll("tspan.line").remove(),f(Ue.select("."+g.cn.cellText),ce,ee,xe),x.select(ie.parentNode.parentNode).call($)}}function fe(ee,ie,ce,xe,Te){return function(){if(!Te.settledY){var Ie=x.select(ie.parentNode),Ye=ae(Te),it=Te.key-Ye.firstRowIndex,at=Ye.rows[it].rowHeight,tt=Te.cellHeightMayIncrease?ie.parentNode.getBoundingClientRect().height+2*g.cellPad:at,ut=Math.max(tt,at),Me=ut-Ye.rows[it].rowHeight;Me&&(Ye.rows[it].rowHeight=ut,ee.selectAll("."+g.cn.columnCell).call($),W(null,ee.filter(O),0),l(ce,xe,!0)),Ie.attr("transform",function(){var pe=this,ue=pe.parentNode,Oe=ue.getBoundingClientRect(),rt=x.select(pe.parentNode).select("."+g.cn.cellRect).node().getBoundingClientRect(),ot=pe.transform.baseVal.consolidate(),et=rt.top-Oe.top+(ot?ot.matrix.f:g.cellPad);return n(G(Te,x.select(pe.parentNode).select("."+g.cn.cellTextHolder).node().getBoundingClientRect().width),et)}),Te.settledY=!0}}}function G(ee,ie){switch(ee.align){case"left":return g.cellPad;case"right":return ee.column.columnWidth-(ie||0)-g.cellPad;case"center":return(ee.column.columnWidth-(ie||0))/2;default:return g.cellPad}}function $(ee){ee.attr("transform",function(ie){var ce=ie.rowBlocks[0].auxiliaryBlocks.reduce(function(Ie,Ye){return Ie+X(Ye,1/0)},0),xe=ae(ie),Te=X(xe,ie.key),Ue=Te+ce;return n(0,Ue)}).selectAll("."+g.cn.cellRect).attr("height",function(ie){return j(ae(ie),ie.key).rowHeight})}function J(ee,ie){for(var ce=0,xe=ie-1;xe>=0;xe--)ce+=re(ee[xe]);return ce}function X(ee,ie){for(var ce=0,xe=0;xeS.length&&(A=A.slice(0,S.length)):A=[],t=0;t90&&(p-=180,i=-i),{angle:p,flip:i,p:x.c2p(e,A,S),offsetMultplier:a}}}}),u8=ke({"src/traces/carpet/plot.js"(Z,H){"use strict";var g=_i(),x=$o(),A=LM(),S=PM(),e=l8(),t=Wl(),r=un(),o=r.strRotate,n=r.strTranslate,i=Yf();H.exports=function(_,w,M,E){var m=_._context.staticPlot,b=w.xaxis,v=w.yaxis,u=_._fullLayout,y=u._clips;r.makeTraceGroups(E,M,"trace").each(function(f){var P=g.select(this),L=f[0],z=L.trace,F=z.aaxis,B=z.baxis,O=r.ensureSingle(P,"g","minorlayer"),I=r.ensureSingle(P,"g","majorlayer"),N=r.ensureSingle(P,"g","boundarylayer"),U=r.ensureSingle(P,"g","labellayer");P.style("opacity",z.opacity),s(b,v,I,F,"a",F._gridlines,!0,m),s(b,v,I,B,"b",B._gridlines,!0,m),s(b,v,O,F,"a",F._minorgridlines,!0,m),s(b,v,O,B,"b",B._minorgridlines,!0,m),s(b,v,N,F,"a-boundary",F._boundarylines,m),s(b,v,N,B,"b-boundary",B._boundarylines,m);var W=c(_,b,v,z,L,U,F._labels,"a-label"),Q=c(_,b,v,z,L,U,B._labels,"b-label");h(_,U,z,L,b,v,W,Q),a(z,L,y,b,v)})};function a(l,_,w,M,E){var m,b,v,u,y=w.select("#"+l._clipPathId);y.size()||(y=w.append("clipPath").classed("carpetclip",!0));var f=r.ensureSingle(y,"path","carpetboundary"),P=_.clipsegments,L=[];for(u=0;u0?"start":"end","data-notex":1}).call(x.font,P.font).text(P.text).call(t.convertToTspans,l),I=x.bBox(this);O.attr("transform",n(z.p[0],z.p[1])+o(z.angle)+n(P.axis.labelpadding*B,I.height*.3)),y=Math.max(y,I.width+P.axis.labelpadding)}),u.exit().remove(),f.maxExtent=y,f}function h(l,_,w,M,E,m,b,v){var u,y,f,P,L=r.aggNums(Math.min,null,w.a),z=r.aggNums(Math.max,null,w.a),F=r.aggNums(Math.min,null,w.b),B=r.aggNums(Math.max,null,w.b);u=.5*(L+z),y=F,f=w.ab2xy(u,y,!0),P=w.dxyda_rough(u,y),b.angle===void 0&&r.extendFlat(b,e(w,E,m,f,w.dxydb_rough(u,y))),T(l,_,w,M,f,P,w.aaxis,E,m,b,"a-title"),u=L,y=.5*(F+B),f=w.ab2xy(u,y,!0),P=w.dxydb_rough(u,y),v.angle===void 0&&r.extendFlat(v,e(w,E,m,f,w.dxyda_rough(u,y))),T(l,_,w,M,f,P,w.baxis,E,m,v,"b-title")}var p=i.LINE_SPACING,d=(1-i.MID_SHIFT)/p+1;function T(l,_,w,M,E,m,b,v,u,y,f){var P=[];b.title.text&&P.push(b.title.text);var L=_.selectAll("text."+f).data(P),z=y.maxExtent;L.enter().append("text").classed(f,!0),L.each(function(){var F=e(w,v,u,E,m);["start","both"].indexOf(b.showticklabels)===-1&&(z=0);var B=b.title.font.size;z+=B+b.title.offset;var O=y.angle+(y.flip<0?180:0),I=(O-F.angle+450)%360,N=I>90&&I<270,U=g.select(this);U.text(b.title.text).call(t.convertToTspans,l),N&&(z=(-t.lineCount(U)+d)*p*B-z),U.attr("transform",n(F.p[0],F.p[1])+o(F.angle)+n(0,z)).attr("text-anchor","middle").call(x.font,b.title.font)}),L.exit().remove()}}}),c8=ke({"src/traces/carpet/cheater_basis.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S){var e,t,r,o,n,i,a=[],s=g(x)?x.length:x,c=g(A)?A.length:A,h=g(x)?x:null,p=g(A)?A:null;h&&(r=(h.length-1)/(h[h.length-1]-h[0])/(s-1)),p&&(o=(p.length-1)/(p[p.length-1]-p[0])/(c-1));var d,T=1/0,l=-1/0;for(t=0;t=10)return null;for(var e=1/0,t=-1/0,r=A.length,o=0;o0&&(X=S.dxydi([],W-1,le,0,se),ee.push(fe[0]+X[0]/3),ie.push(fe[1]+X[1]/3),re=S.dxydi([],W-1,le,1,se),ee.push(J[0]-re[0]/3),ie.push(J[1]-re[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;else for(W=S.a2i(U),G=Math.floor(Math.max(0,Math.min(F-2,W))),$=W-G,ce.length=F,ce.crossLength=B,ce.xy=function(xe){return S.evalxy([],W,xe)},ce.dxy=function(xe,Te){return S.dxydj([],G,xe,$,Te)},Q=0;Q0&&(ae=S.dxydj([],G,Q-1,$,0),ee.push(fe[0]+ae[0]/3),ie.push(fe[1]+ae[1]/3),j=S.dxydj([],G,Q-1,$,1),ee.push(J[0]-j[0]/3),ie.push(J[1]-j[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;return ce.axisLetter=e,ce.axis=E,ce.crossAxis=y,ce.value=U,ce.constvar=t,ce.index=h,ce.x=ee,ce.y=ie,ce.smoothing=y.smoothing,ce}function N(U){var W,Q,le,se,fe,G=[],$=[],J={};if(J.length=M.length,J.crossLength=u.length,e==="b")for(le=Math.max(0,Math.min(B-2,U)),fe=Math.min(1,Math.max(0,U-le)),J.xy=function(X){return S.evalxy([],X,U)},J.dxy=function(X,re){return S.dxydi([],X,le,re,fe)},W=0;WM.length-1)&&m.push(x(N(o),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s;hM.length-1)&&!(T<0||T>M.length-1))for(l=M[n],_=M[T],r=0;rM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash})));E.startline&&v.push(x(N(0),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(N(M.length-1),{color:E.endlinecolor,width:E.endlinewidth}))}else{for(i=5e-15,a=[Math.floor((M[M.length-1]-E.tick0)/E.dtick*(1+i)),Math.ceil((M[0]-E.tick0)/E.dtick/(1+i))].sort(function(U,W){return U-W}),s=a[0],c=a[1],h=s;h<=c;h++)p=E.tick0+E.dtick*h,m.push(x(I(p),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s-1;hM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash}));E.startline&&v.push(x(I(M[0]),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(I(M[M.length-1]),{color:E.endlinecolor,width:E.endlinewidth}))}}}}),d8=ke({"src/traces/carpet/calc_labels.js"(Z,H){"use strict";var g=Ho(),x=To().extendFlat;H.exports=function(S,e){var t,r,o,n,i,a=e._labels=[],s=e._gridlines;for(t=0;t=0;t--)r[s-t]=x[c][t],o[s-t]=A[c][t];for(n.push({x:r,y:o,bicubic:i}),t=c,r=[],o=[];t>=0;t--)r[c-t]=x[t][0],o[c-t]=A[t][0];return n.push({x:r,y:o,bicubic:a}),n}}}),p8=ke({"src/traces/carpet/smooth_fill_2d_array.js"(Z,H){"use strict";var g=un();H.exports=function(A,S,e){var t,r,o,n=[],i=[],a=A[0].length,s=A.length;function c(Q,le){var se=0,fe,G=0;return Q>0&&(fe=A[le][Q-1])!==void 0&&(G++,se+=fe),Q0&&(fe=A[le-1][Q])!==void 0&&(G++,se+=fe),le0&&r0&&tu);return g.log("Smoother converged to",y,"after",P,"iterations"),A}}}),m8=ke({"src/traces/carpet/constants.js"(Z,H){"use strict";H.exports={RELATIVE_CULL_TOLERANCE:1e-6}}}),g8=ke({"src/traces/carpet/catmull_rom.js"(Z,H){"use strict";var g=.5;H.exports=function(A,S,e,t){var r=A[0]-S[0],o=A[1]-S[1],n=e[0]-S[0],i=e[1]-S[1],a=Math.pow(r*r+o*o,g/2),s=Math.pow(n*n+i*i,g/2),c=(s*s*r-a*a*n)*t,h=(s*s*o-a*a*i)*t,p=s*(a+s)*3,d=a*(a+s)*3;return[[S[0]+(p&&c/p),S[1]+(p&&h/p)],[S[0]-(d&&c/d),S[1]-(d&&h/d)]]}}}),y8=ke({"src/traces/carpet/compute_control_points.js"(Z,H){"use strict";var g=g8(),x=un().ensureArray;function A(S,e,t){var r=-.5*t[0]+1.5*e[0],o=-.5*t[1]+1.5*e[1];return[(2*r+S[0])/3,(2*o+S[1])/3]}H.exports=function(e,t,r,o,n,i){var a,s,c,h,p,d,T,l,_,w,M=r[0].length,E=r.length,m=n?3*M-2:M,b=i?3*E-2:E;for(e=x(e,b),t=x(t,b),c=0;cp&&mT&&bd||bl},o.setScale=function(){var m=o._x,b=o._y,v=A(o._xctrl,o._yctrl,m,b,c.smoothing,h.smoothing);o._xctrl=v[0],o._yctrl=v[1],o.evalxy=S([o._xctrl,o._yctrl],a,s,c.smoothing,h.smoothing),o.dxydi=e([o._xctrl,o._yctrl],c.smoothing,h.smoothing),o.dxydj=t([o._xctrl,o._yctrl],c.smoothing,h.smoothing)},o.i2a=function(m){var b=Math.max(0,Math.floor(m[0]),a-2),v=m[0]-b;return(1-v)*n[b]+v*n[b+1]},o.j2b=function(m){var b=Math.max(0,Math.floor(m[1]),a-2),v=m[1]-b;return(1-v)*i[b]+v*i[b+1]},o.ij2ab=function(m){return[o.i2a(m[0]),o.j2b(m[1])]},o.a2i=function(m){var b=Math.max(0,Math.min(x(m,n),a-2)),v=n[b],u=n[b+1];return Math.max(0,Math.min(a-1,b+(m-v)/(u-v)))},o.b2j=function(m){var b=Math.max(0,Math.min(x(m,i),s-2)),v=i[b],u=i[b+1];return Math.max(0,Math.min(s-1,b+(m-v)/(u-v)))},o.ab2ij=function(m){return[o.a2i(m[0]),o.b2j(m[1])]},o.i2c=function(m,b){return o.evalxy([],m,b)},o.ab2xy=function(m,b,v){if(!v&&(mn[a-1]|bi[s-1]))return[!1,!1];var u=o.a2i(m),y=o.b2j(b),f=o.evalxy([],u,y);if(v){var P=0,L=0,z=[],F,B,O,I;mn[a-1]?(F=a-2,B=1,P=(m-n[a-1])/(n[a-1]-n[a-2])):(F=Math.max(0,Math.min(a-2,Math.floor(u))),B=u-F),bi[s-1]?(O=s-2,I=1,L=(b-i[s-1])/(i[s-1]-i[s-2])):(O=Math.max(0,Math.min(s-2,Math.floor(y))),I=y-O),P&&(o.dxydi(z,F,O,B,I),f[0]+=z[0]*P,f[1]+=z[1]*P),L&&(o.dxydj(z,F,O,B,I),f[0]+=z[0]*L,f[1]+=z[1]*L)}return f},o.c2p=function(m,b,v){return[b.c2p(m[0]),v.c2p(m[1])]},o.p2x=function(m,b,v){return[b.p2c(m[0]),v.p2c(m[1])]},o.dadi=function(m){var b=Math.max(0,Math.min(n.length-2,m));return n[b+1]-n[b]},o.dbdj=function(m){var b=Math.max(0,Math.min(i.length-2,m));return i[b+1]-i[b]},o.dxyda=function(m,b,v,u){var y=o.dxydi(null,m,b,v,u),f=o.dadi(m,v);return[y[0]/f,y[1]/f]},o.dxydb=function(m,b,v,u){var y=o.dxydj(null,m,b,v,u),f=o.dbdj(b,u);return[y[0]/f,y[1]/f]},o.dxyda_rough=function(m,b,v){var u=_*(v||.1),y=o.ab2xy(m+u,b,!0),f=o.ab2xy(m-u,b,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dxydb_rough=function(m,b,v){var u=w*(v||.1),y=o.ab2xy(m,b+u,!0),f=o.ab2xy(m,b-u,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dpdx=function(m){return m._m},o.dpdy=function(m){return m._m}}}}),T8=ke({"src/traces/carpet/calc.js"(Z,H){"use strict";var g=Ho(),x=un().isArray1D,A=c8(),S=f8(),e=h8(),t=d8(),r=v8(),o=U_(),n=p8(),i=N_(),a=w8();H.exports=function(c,h){var p=g.getFromId(c,h.xaxis),d=g.getFromId(c,h.yaxis),T=h.aaxis,l=h.baxis,_=h.x,w=h.y,M=[];_&&x(_)&&M.push("x"),w&&x(w)&&M.push("y"),M.length&&i(h,T,l,"a","b",M);var E=h._a=h._a||h.a,m=h._b=h._b||h.b;_=h._x||h.x,w=h._y||h.y;var b={};if(h._cheater){var v=T.cheatertype==="index"?E.length:E,u=l.cheatertype==="index"?m.length:m;_=A(v,u,h.cheaterslope)}h._x=_=o(_),h._y=w=o(w),n(_,E,m),n(w,E,m),a(h),h.setScale();var y=S(_),f=S(w),P=.5*(y[1]-y[0]),L=.5*(y[1]+y[0]),z=.5*(f[1]-f[0]),F=.5*(f[1]+f[0]),B=1.3;return y=[L-P*B,L+P*B],f=[F-z*B,F+z*B],h._extremes[p._id]=g.findExtremes(p,y,{padded:!0}),h._extremes[d._id]=g.findExtremes(d,f,{padded:!0}),e(h,"a","b"),e(h,"b","a"),t(h,T),t(h,l),b.clipsegments=r(h._xctrl,h._yctrl,T,l),b.x=_,b.y=w,b.a=E,b.b=m,[b]}}}),A8=ke({"src/traces/carpet/index.js"(Z,H){"use strict";H.exports={attributes:wb(),supplyDefaults:s8(),plot:u8(),calc:T8(),animatable:!0,isContainer:!0,moduleType:"trace",name:"carpet",basePlotModule:xf(),categories:["cartesian","svg","carpet","carpetAxis","notLegendIsolatable","noMultiCategory","noHover","noSortingByValue"],meta:{}}}}),M8=ke({"lib/carpet.js"(Z,H){"use strict";H.exports=A8()}}),IM=ke({"src/traces/scattercarpet/attributes.js"(Z,H){"use strict";var g=fv(),x=Cc(),A=Ol(),S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=ou(),r=To().extendFlat,o=x.marker,n=x.line,i=o.line;H.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:r({},x.mode,{dflt:"markers"}),text:r({},x.text,{}),texttemplate:e({editType:"plot"},{keys:["a","b","text"]}),hovertext:r({},x.hovertext,{}),line:{color:n.color,width:n.width,dash:n.dash,backoff:n.backoff,shape:r({},n.shape,{values:["linear","spline"]}),smoothing:n.smoothing,editType:"calc"},connectgaps:x.connectgaps,fill:r({},x.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:g(),marker:r({symbol:o.symbol,opacity:o.opacity,maxdisplayed:o.maxdisplayed,angle:o.angle,angleref:o.angleref,standoff:o.standoff,size:o.size,sizeref:o.sizeref,sizemin:o.sizemin,sizemode:o.sizemode,line:r({width:i.width,editType:"calc"},t("marker.line")),gradient:o.gradient,editType:"calc"},t("marker")),textfont:x.textfont,textposition:x.textposition,selected:x.selected,unselected:x.unselected,hoverinfo:r({},A.hoverinfo,{flags:["a","b","text","name"]}),hoveron:x.hoveron,hovertemplate:S(),zorder:x.zorder}}}),S8=ke({"src/traces/scattercarpet/defaults.js"(Z,H){"use strict";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=IM();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}p("carpet"),s.xaxis="x",s.yaxis="y";var d=p("a"),T=p("b"),l=Math.min(d.length,T.length);if(!l){s.visible=!1;return}s._length=l,p("text"),p("texttemplate"),p("hovertext");var _=l0?b=E.labelprefix.replace(/ = $/,""):b=E._hovertitle,l.push(b+": "+m.toFixed(3)+E.labelsuffix)}if(!p.hovertemplate){var w=h.hi||p.hoverinfo,M=w.split("+");M.indexOf("all")!==-1&&(M=["a","b","text"]),M.indexOf("a")!==-1&&_(d.aaxis,h.a),M.indexOf("b")!==-1&&_(d.baxis,h.b),l.push("y: "+n.yLabel),M.indexOf("text")!==-1&&x(h,p,l),n.extraText=l.join("
")}return o}}}),P8=ke({"src/traces/scattercarpet/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){var r=e[t];return x.a=r.a,x.b=r.b,x.y=r.y,x}}}),I8=ke({"src/traces/scattercarpet/index.js"(Z,H){"use strict";H.exports={attributes:IM(),supplyDefaults:S8(),colorbar:Bh(),formatLabels:E8(),calc:C8(),plot:k8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:L8(),selectPoints:$g(),eventData:P8(),moduleType:"trace",name:"scattercarpet",basePlotModule:xf(),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}}}),R8=ke({"lib/scattercarpet.js"(Z,H){"use strict";H.exports=I8()}}),RM=ke({"src/traces/contourcarpet/attributes.js"(Z,H){"use strict";var g=ty(),x=v0(),A=ou(),S=To().extendFlat,e=x.contours;H.exports=S({carpet:{valType:"string",editType:"calc"},z:g.z,a:g.x,a0:g.x0,da:g.dx,b:g.y,b0:g.y0,db:g.dy,text:g.text,hovertext:g.hovertext,transpose:g.transpose,atype:g.xtype,btype:g.ytype,fillcolor:x.fillcolor,autocontour:x.autocontour,ncontours:x.ncontours,contours:{type:e.type,start:e.start,end:e.end,size:e.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:e.showlines,showlabels:e.showlabels,labelfont:e.labelfont,labelformat:e.labelformat,operation:e.operation,value:e.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:x.line.color,width:x.line.width,dash:x.line.dash,smoothing:x.line.smoothing,editType:"plot"},zorder:x.zorder},A("",{cLetter:"z",autoColorDflt:!1}))}}),DM=ke({"src/traces/contourcarpet/defaults.js"(Z,H){"use strict";var g=un(),x=B_(),A=RM(),S=l3(),e=$_(),t=Q_();H.exports=function(o,n,i,a){function s(d,T){return g.coerce(o,n,A,d,T)}function c(d){return g.coerce2(o,n,A,d)}if(s("carpet"),o.a&&o.b){var h=x(o,n,s,a,"a","b");if(!h){n.visible=!1;return}s("text");var p=s("contours.type")==="constraint";p?S(o,n,s,a,i,{hasHover:!1}):(e(o,n,s,c),t(o,n,s,a,{hasHover:!1}))}else n._defaultColor=i,n._length=null;s("zorder")}}}),D8=ke({"src/traces/contourcarpet/calc.js"(Z,H){"use strict";var g=od(),x=un(),A=N_(),S=U_(),e=j_(),t=V_(),r=W2(),o=DM(),n=Tb(),i=Q2();H.exports=function(c,h){var p=h._carpetTrace=n(c,h);if(!(!p||!p.visible||p.visible==="legendonly")){if(!h.a||!h.b){var d=c.data[p.index],T=c.data[h.index];T.a||(T.a=d.a),T.b||(T.b=d.b),o(T,h,h._defaultColor,c._fullLayout)}var l=a(c,h);return i(h,h._z),l}};function a(s,c){var h=c._carpetTrace,p=h.aaxis,d=h.baxis,T,l,_,w,M,E,m;p._minDtick=0,d._minDtick=0,x.isArray1D(c.z)&&A(c,p,d,"a","b",["z"]),T=c._a=c._a||c.a,w=c._b=c._b||c.b,T=T?p.makeCalcdata(c,"_a"):[],w=w?d.makeCalcdata(c,"_b"):[],l=c.a0||0,_=c.da||1,M=c.b0||0,E=c.db||1,m=c._z=S(c._z||c.z,c.transpose),c._emptypoints=t(m),e(m,c._emptypoints);var b=x.maxRowLength(m),v=c.xtype==="scaled"?"":T,u=r(c,v,l,_,b,p),y=c.ytype==="scaled"?"":w,f=r(c,y,M,E,m.length,d),P={a:u,b:f,z:m};return c.contours.type==="levels"&&c.contours.coloring!=="none"&&g(s,c,{vals:m,containerStr:"",cLetter:"z"}),[P]}}}),z8=ke({"src/traces/carpet/axis_aligned_line.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S,e){var t,r,o,n,i,a,s,c,h,p,d,T,l,_=g(S)?"a":"b",w=_==="a"?x.aaxis:x.baxis,M=w.smoothing,E=_==="a"?x.a2i:x.b2j,m=_==="a"?S:e,b=_==="a"?e:S,v=_==="a"?A.a.length:A.b.length,u=_==="a"?A.b.length:A.a.length,y=Math.floor(_==="a"?x.b2j(b):x.a2i(b)),f=_==="a"?function(le){return x.evalxy([],le,y)}:function(le){return x.evalxy([],y,le)};M&&(o=Math.max(0,Math.min(u-2,y)),n=y-o,r=_==="a"?function(le,se){return x.dxydi([],le,o,se,n)}:function(le,se){return x.dxydj([],o,le,n,se)});var P=E(m[0]),L=E(m[1]),z=P0?Math.floor:Math.ceil,O=z>0?Math.ceil:Math.floor,I=z>0?Math.min:Math.max,N=z>0?Math.max:Math.min,U=B(P+F),W=O(L-F);s=f(P);var Q=[[s]];for(t=U;t*z=0;ce--)j=N.clipsegments[ce],ee=x([],j.x,P.c2p),ie=x([],j.y,L.c2p),ee.reverse(),ie.reverse(),xe.push(A(ee,ie,j.bicubic));var Te="M"+xe.join("L")+"Z";M(F,N.clipsegments,P,L,se,G),E(O,F,P,L,ae,J,$,I,N,G,Te),d(F,le,v,B,Q,u,I),S.setClipUrl(F,I._clipPathId,v)})};function p(b,v){var u,y,f,P,L,z,F,B,O;for(u=0;ule&&(y.max=le),y.len=y.max-y.min}function l(b,v,u){var y=b.getPointAtLength(v),f=b.getPointAtLength(u),P=f.x-y.x,L=f.y-y.y,z=Math.sqrt(P*P+L*L);return[P/z,L/z]}function _(b){var v=Math.sqrt(b[0]*b[0]+b[1]*b[1]);return[b[0]/v,b[1]/v]}function w(b,v){var u=Math.abs(b[0]*v[0]+b[1]*v[1]),y=Math.sqrt(1-u*u);return y/u}function M(b,v,u,y,f,P){var L,z,F,B,O=e.ensureSingle(b,"g","contourbg"),I=O.selectAll("path").data(P==="fill"&&!f?[0]:[]);I.enter().append("path"),I.exit().remove();var N=[];for(B=0;B=0&&(U=ee,Q=le):Math.abs(N[1]-U[1])=0&&(U=ee,Q=le):e.log("endpt to newendpt is not vert. or horz.",N,U,ee)}if(Q>=0)break;B+=ae(N,U),N=U}if(Q===v.edgepaths.length){e.log("unclosed perimeter path");break}F=Q,I=O.indexOf(F)===-1,I&&(F=O[0],B+=ae(N,U)+"Z",N=null)}for(F=0;Fm):E=z>f,m=z;var F=p(f,P,L,z);F.pos=y,F.yc=(f+z)/2,F.i=u,F.dir=E?"increasing":"decreasing",F.x=F.pos,F.y=[L,P],b&&(F.orig_p=s[u]),w&&(F.tx=a.text[u]),M&&(F.htx=a.hovertext[u]),v.push(F)}else v.push({pos:y,empty:!0})}return a._extremes[h._id]=A.findExtremes(h,g.concat(l,T),{padded:!0}),v.length&&(v[0].t={labels:{open:x(i,"open:")+" ",high:x(i,"high:")+" ",low:x(i,"low:")+" ",close:x(i,"close:")+" "}}),v}function n(i,a,s){var c=s._minDiff;if(!c){var h=i._fullData,p=[];c=1/0;var d;for(d=0;d"+_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat)):(O=x.extendFlat({},M),O.y0=O.y1=B,O.yLabelVal=F,O.yLabel=_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat),O.name="",w.push(O),P[F]=O)}return w}function a(s,c,h,p){var d=s.cd,T=s.ya,l=d[0].trace,_=d[0].t,w=n(s,c,h,p);if(!w)return[];var M=w.index,E=d[M],m=w.index=E.i,b=E.dir;function v(F){return _.labels[F]+g.hoverLabelText(T,l[F][m],l.yhoverformat)}var u=E.hi||l.hoverinfo,y=u.split("+"),f=u==="all",P=f||y.indexOf("y")!==-1,L=f||y.indexOf("text")!==-1,z=P?[v("open"),v("high"),v("low"),v("close")+" "+r[b]]:[];return L&&e(E,l,z),w.extraText=z.join("
"),w.y0=w.y1=T.c2p(E.yc,!0),[w]}H.exports={hoverPoints:o,hoverSplit:i,hoverOnPoints:a}}}),BM=ke({"src/traces/ohlc/select.js"(Z,H){"use strict";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n=S[0].t.bPos||0;if(A===!1)for(o=0;oc?function(l){return l<=0}:function(l){return l>=0};n.c2g=function(l){var _=n.c2l(l)-s;return(T(_)?_:0)+d},n.g2c=function(l){return n.l2c(l+s-d)},n.g2p=function(l){return l*p},n.c2p=function(l){return n.g2p(n.c2g(l))}}}function t(n,i){return i==="degrees"?A(n):n}function r(n,i){return i==="degrees"?S(n):n}function o(n,i){var a=n.type;if(a==="linear"){var s=n.d2c,c=n.c2d;n.d2c=function(h,p){return t(s(h),p)},n.c2d=function(h,p){return c(r(h,p))}}n.makeCalcdata=function(h,p){var d=h[p],T=h._length,l,_,w=function(v){return n.d2c(v,h.thetaunit)};if(d)for(l=new Array(T),_=0;_0?v:1/0},E=A(w,M),m=g.mod(E+1,w.length);return[w[E],w[m]]}function p(_){return Math.abs(_)>1e-10?_:0}function d(_,w,M){w=w||0,M=M||0;for(var E=_.length,m=new Array(E),b=0;b0?1:0}function x(r){var o=r[0],n=r[1];if(!isFinite(o)||!isFinite(n))return[1,0];var i=(o+1)*(o+1)+n*n;return[(o*o+n*n-1)/i,2*n/i]}function A(r,o){var n=o[0],i=o[1];return[n*r.radius+r.cx,-i*r.radius+r.cy]}function S(r,o){return o*r.radius}function e(r,o,n,i){var a=A(r,x([n,o])),s=a[0],c=a[1],h=A(r,x([i,o])),p=h[0],d=h[1];if(o===0)return["M"+s+","+c,"L"+p+","+d].join(" ");var T=S(r,1/Math.abs(o));return["M"+s+","+c,"A"+T+","+T+" 0 0,"+(o<0?1:0)+" "+p+","+d].join(" ")}function t(r,o,n,i){var a=S(r,1/(o+1)),s=A(r,x([o,n])),c=s[0],h=s[1],p=A(r,x([o,i])),d=p[0],T=p[1];if(g(n)!==g(i)){var l=A(r,x([o,0])),_=l[0],w=l[1];return["M"+c+","+h,"A"+a+","+a+" 0 0,"+(0it?(at=ie,tt=ie*it,pe=(ce-tt)/X.h/2,ut=[j[0],j[1]],Me=[ee[0]+pe,ee[1]-pe]):(at=ce/it,tt=ce,pe=(ie-at)/X.w/2,ut=[j[0]+pe,j[1]-pe],Me=[ee[0],ee[1]]),$.xLength2=at,$.yLength2=tt,$.xDomain2=ut,$.yDomain2=Me;var ue=$.xOffset2=X.l+X.w*ut[0],Oe=$.yOffset2=X.t+X.h*(1-Me[1]),rt=$.radius=at/Ue,ot=$.innerRadius=$.getHole(G)*rt,et=$.cx=ue-rt*Te[0],Lt=$.cy=Oe+rt*Te[3],Et=$.cxx=et-ue,Bt=$.cyy=Lt-Oe,qt=re.side,fr;qt==="counterclockwise"?(fr=qt,qt="top"):qt==="clockwise"&&(fr=qt,qt="bottom"),$.radialAxis=$.mockAxis(fe,G,re,{_id:"x",side:qt,_trueSide:fr,domain:[ot/X.w,rt/X.w]}),$.angularAxis=$.mockAxis(fe,G,ae,{side:"right",domain:[0,Math.PI],autorange:!1}),$.doAutoRange(fe,G),$.updateAngularAxis(fe,G),$.updateRadialAxis(fe,G),$.updateRadialAxisTitle(fe,G),$.xaxis=$.mockCartesianAxis(fe,G,{_id:"x",domain:ut}),$.yaxis=$.mockCartesianAxis(fe,G,{_id:"y",domain:Me});var ar=$.pathSubplot();$.clipPaths.forTraces.select("path").attr("d",ar).attr("transform",t(Et,Bt)),J.frontplot.attr("transform",t(ue,Oe)).call(o.setClipUrl,$._hasClipOnAxisFalse?null:$.clipIds.forTraces,$.gd),J.bg.attr("d",ar).attr("transform",t(et,Lt)).call(r.fill,G.bgcolor)},U.mockAxis=function(fe,G,$,J){var X=S.extendFlat({},$,J);return s(X,G,fe),X},U.mockCartesianAxis=function(fe,G,$){var J=this,X=J.isSmith,re=$._id,ae=S.extendFlat({type:"linear"},$);a(ae,fe);var j={x:[0,2],y:[1,3]};return ae.setRange=function(){var ee=J.sectorBBox,ie=j[re],ce=J.radialAxis._rl,xe=(ce[1]-ce[0])/(1-J.getHole(G));ae.range=[ee[ie[0]]*xe,ee[ie[1]]*xe]},ae.isPtWithinRange=re==="x"&&!X?function(ee){return J.isPtInside(ee)}:function(){return!0},ae.setRange(),ae.setScale(),ae},U.doAutoRange=function(fe,G){var $=this,J=$.gd,X=$.radialAxis,re=$.getRadial(G);c(J,X);var ae=X.range;if(re.range=ae.slice(),re._input.range=ae.slice(),X._rl=[X.r2l(ae[0],null,"gregorian"),X.r2l(ae[1],null,"gregorian")],X.minallowed!==void 0){var j=X.r2l(X.minallowed);X._rl[0]>X._rl[1]?X._rl[1]=Math.max(X._rl[1],j):X._rl[0]=Math.max(X._rl[0],j)}if(X.maxallowed!==void 0){var ee=X.r2l(X.maxallowed);X._rl[0]90&&ce<=270&&(xe.tickangle=180);var Ie=Ue?function(rt){var ot=z($,f([rt.x,0]));return t(ot[0]-j,ot[1]-ee)}:function(rt){return t(xe.l2p(rt.x)+ae,0)},Ye=Ue?function(rt){return L($,rt.x,-1/0,1/0)}:function(rt){return $.pathArc(xe.r2p(rt.x)+ae)},it=W(ie);if($.radialTickLayout!==it&&(X["radial-axis"].selectAll(".xtick").remove(),$.radialTickLayout=it),Te){xe.setScale();var at=0,tt=Ue?(xe.tickvals||[]).filter(function(rt){return rt>=0}).map(function(rt){return i.tickText(xe,rt,!0,!1)}):i.calcTicks(xe),ut=Ue?tt:i.clipEnds(xe,tt),Me=i.getTickSigns(xe)[2];Ue&&((xe.ticks==="top"&&xe.side==="bottom"||xe.ticks==="bottom"&&xe.side==="top")&&(Me=-Me),xe.ticks==="top"&&xe.side==="top"&&(at=-xe.ticklen),xe.ticks==="bottom"&&xe.side==="bottom"&&(at=xe.ticklen)),i.drawTicks(J,xe,{vals:tt,layer:X["radial-axis"],path:i.makeTickPath(xe,0,Me),transFn:Ie,crisp:!1}),i.drawGrid(J,xe,{vals:ut,layer:X["radial-grid"],path:Ye,transFn:S.noop,crisp:!1}),i.drawLabels(J,xe,{vals:tt,layer:X["radial-axis"],transFn:Ie,labelFns:i.makeLabelFns(xe,at)})}var pe=$.radialAxisAngle=$.vangles?I(le(O(ie.angle),$.vangles)):ie.angle,ue=t(j,ee),Oe=ue+e(-pe);se(X["radial-axis"],Te&&(ie.showticklabels||ie.ticks),{transform:Oe}),se(X["radial-grid"],Te&&ie.showgrid,{transform:Ue?"":ue}),se(X["radial-line"].select("line"),Te&&ie.showline,{x1:Ue?-re:ae,y1:0,x2:re,y2:0,transform:Oe}).attr("stroke-width",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateRadialAxisTitle=function(fe,G,$){if(!this.isSmith){var J=this,X=J.gd,re=J.radius,ae=J.cx,j=J.cy,ee=J.getRadial(G),ie=J.id+"title",ce=0;if(ee.title){var xe=o.bBox(J.layers["radial-axis"].node()).height,Te=ee.title.font.size,Ue=ee.side;ce=Ue==="top"?Te:Ue==="counterclockwise"?-(xe+Te*.4):xe+Te*.8}var Ie=$!==void 0?$:J.radialAxisAngle,Ye=O(Ie),it=Math.cos(Ye),at=Math.sin(Ye),tt=ae+re/2*it+ce*at,ut=j-re/2*at+ce*it;J.layers["radial-axis-title"]=T.draw(X,ie,{propContainer:ee,propName:J.id+".radialaxis.title",placeholder:F(X,"Click to enter radial axis title"),attributes:{x:tt,y:ut,"text-anchor":"middle"},transform:{rotate:-Ie}})}},U.updateAngularAxis=function(fe,G){var $=this,J=$.gd,X=$.layers,re=$.radius,ae=$.innerRadius,j=$.cx,ee=$.cy,ie=$.getAngular(G),ce=$.angularAxis,xe=$.isSmith;xe||($.fillViewInitialKey("angularaxis.rotation",ie.rotation),ce.setGeometry(),ce.setScale());var Te=xe?function(ot){var et=z($,f([0,ot.x]));return Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2}:function(ot){return ce.t2g(ot.x)};ce.type==="linear"&&ce.thetaunit==="radians"&&(ce.tick0=I(ce.tick0),ce.dtick=I(ce.dtick));var Ue=function(ot){return t(j+re*Math.cos(ot),ee-re*Math.sin(ot))},Ie=xe?function(ot){var et=z($,f([0,ot.x]));return t(et[0],et[1])}:function(ot){return Ue(Te(ot))},Ye=xe?function(ot){var et=z($,f([0,ot.x])),Lt=Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2;return t(et[0],et[1])+e(-I(Lt))}:function(ot){var et=Te(ot);return Ue(et)+e(-I(et))},it=xe?function(ot){return P($,ot.x,0,1/0)}:function(ot){var et=Te(ot),Lt=Math.cos(et),Et=Math.sin(et);return"M"+[j+ae*Lt,ee-ae*Et]+"L"+[j+re*Lt,ee-re*Et]},at=i.makeLabelFns(ce,0),tt=at.labelStandoff,ut={};ut.xFn=function(ot){var et=Te(ot);return Math.cos(et)*tt},ut.yFn=function(ot){var et=Te(ot),Lt=Math.sin(et)>0?.2:1;return-Math.sin(et)*(tt+ot.fontSize*Lt)+Math.abs(Math.cos(et))*(ot.fontSize*b)},ut.anchorFn=function(ot){var et=Te(ot),Lt=Math.cos(et);return Math.abs(Lt)<.1?"middle":Lt>0?"start":"end"},ut.heightFn=function(ot,et,Lt){var Et=Te(ot);return-.5*(1+Math.sin(Et))*Lt};var Me=W(ie);$.angularTickLayout!==Me&&(X["angular-axis"].selectAll("."+ce._id+"tick").remove(),$.angularTickLayout=Me);var pe=xe?[1/0].concat(ce.tickvals||[]).map(function(ot){return i.tickText(ce,ot,!0,!1)}):i.calcTicks(ce);xe&&(pe[0].text="\u221E",pe[0].fontSize*=1.75);var ue;if(G.gridshape==="linear"?(ue=pe.map(Te),S.angleDelta(ue[0],ue[1])<0&&(ue=ue.slice().reverse())):ue=null,$.vangles=ue,ce.type==="category"&&(pe=pe.filter(function(ot){return S.isAngleInsideSector(Te(ot),$.sectorInRad)})),ce.visible){var Oe=ce.ticks==="inside"?-1:1,rt=(ce.linewidth||1)/2;i.drawTicks(J,ce,{vals:pe,layer:X["angular-axis"],path:"M"+Oe*rt+",0h"+Oe*ce.ticklen,transFn:Ye,crisp:!1}),i.drawGrid(J,ce,{vals:pe,layer:X["angular-grid"],path:it,transFn:S.noop,crisp:!1}),i.drawLabels(J,ce,{vals:pe,layer:X["angular-axis"],repositionOnUpdate:!0,transFn:Ie,labelFns:ut})}se(X["angular-line"].select("path"),ie.showline,{d:$.pathSubplot(),transform:t(j,ee)}).attr("stroke-width",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateFx=function(fe,G){if(!this.gd._context.staticPlot){var $=!this.isSmith;$&&(this.updateAngularDrag(fe),this.updateRadialDrag(fe,G,0),this.updateRadialDrag(fe,G,1)),this.updateHoverAndMainDrag(fe)}},U.updateHoverAndMainDrag=function(fe){var G=this,$=G.isSmith,J=G.gd,X=G.layers,re=fe._zoomlayer,ae=v.MINZOOM,j=v.OFFEDGE,ee=G.radius,ie=G.innerRadius,ce=G.cx,xe=G.cy,Te=G.cxx,Ue=G.cyy,Ie=G.sectorInRad,Ye=G.vangles,it=G.radialAxis,at=u.clampTiny,tt=u.findXYatLength,ut=u.findEnclosingVertexAngles,Me=v.cornerHalfWidth,pe=v.cornerLen/2,ue,Oe,rt=h.makeDragger(X,"path","maindrag",fe.dragmode===!1?"none":"crosshair");g.select(rt).attr("d",G.pathSubplot()).attr("transform",t(ce,xe)),rt.onmousemove=function(Xt){d.hover(J,Xt,G.id),J._fullLayout._lasthover=rt,J._fullLayout._hoversubplot=G.id},rt.onmouseout=function(Xt){J._dragging||p.unhover(J,Xt)};var ot={element:rt,gd:J,subplot:G.id,plotinfo:{id:G.id,xaxis:G.xaxis,yaxis:G.yaxis},xaxes:[G.xaxis],yaxes:[G.yaxis]},et,Lt,Et,Bt,qt,fr,ar,Rr,gr;function br(Xt,$t){return Math.sqrt(Xt*Xt+$t*$t)}function _t(Xt,$t){return br(Xt-Te,$t-Ue)}function Be(Xt,$t){return Math.atan2(Ue-$t,Xt-Te)}function Ke(Xt,$t){return[Xt*Math.cos($t),Xt*Math.sin(-$t)]}function je(Xt,$t){if(Xt===0)return G.pathSector(2*Me);var ur=pe/Xt,pn=$t-ur,Rn=$t+ur,Nn=Math.max(0,Math.min(Xt,ee)),On=Nn-Me,ni=Nn+Me;return"M"+Ke(On,pn)+"A"+[On,On]+" 0,0,0 "+Ke(On,Rn)+"L"+Ke(ni,Rn)+"A"+[ni,ni]+" 0,0,1 "+Ke(ni,pn)+"Z"}function Se(Xt,$t,ur){if(Xt===0)return G.pathSector(2*Me);var pn=Ke(Xt,$t),Rn=Ke(Xt,ur),Nn=at((pn[0]+Rn[0])/2),On=at((pn[1]+Rn[1])/2),ni,zn;if(Nn&&On){var Qn=On/Nn,gi=-1/Qn,Zt=tt(Me,Qn,Nn,On);ni=tt(pe,gi,Zt[0][0],Zt[0][1]),zn=tt(pe,gi,Zt[1][0],Zt[1][1])}else{var Ft,Ht;On?(Ft=pe,Ht=Me):(Ft=Me,Ht=pe),ni=[[Nn-Ft,On-Ht],[Nn+Ft,On-Ht]],zn=[[Nn-Ft,On+Ht],[Nn+Ft,On+Ht]]}return"M"+ni.join("L")+"L"+zn.reverse().join("L")+"Z"}function He(){Et=null,Bt=null,qt=G.pathSubplot(),fr=!1;var Xt=J._fullLayout[G.id];ar=x(Xt.bgcolor).getLuminance(),Rr=h.makeZoombox(re,ar,ce,xe,qt),Rr.attr("fill-rule","evenodd"),gr=h.makeCorners(re,ce,xe),w(J)}function Ee(Xt,$t){return $t=Math.max(Math.min($t,ee),ie),Xtae?(Xt<$t?(Et=Xt,Bt=$t):(Et=$t,Bt=Xt),!0):(Et=null,Bt=null,!1)}function we(Xt,$t){Xt=Xt||qt,$t=$t||"M0,0Z",Rr.attr("d",Xt),gr.attr("d",$t),h.transitionZoombox(Rr,gr,fr,ar),fr=!0;var ur={};Rt(ur),J.emit("plotly_relayouting",ur)}function Le(Xt,$t){Xt=Xt*ue,$t=$t*Oe;var ur=et+Xt,pn=Lt+$t,Rn=_t(et,Lt),Nn=Math.min(_t(ur,pn),ee),On=Be(et,Lt),ni,zn;Ee(Rn,Nn)&&(ni=qt+G.pathSector(Bt),Et&&(ni+=G.pathSector(Et)),zn=je(Et,On)+je(Bt,On)),we(ni,zn)}function nt(Xt,$t,ur,pn){var Rn=u.findIntersectionXY(ur,pn,ur,[Xt-Te,Ue-$t]);return br(Rn[0],Rn[1])}function pt(Xt,$t){var ur=et+Xt,pn=Lt+$t,Rn=Be(et,Lt),Nn=Be(ur,pn),On=ut(Rn,Ye),ni=ut(Nn,Ye),zn=nt(et,Lt,On[0],On[1]),Qn=Math.min(nt(ur,pn,ni[0],ni[1]),ee),gi,Zt;Ee(zn,Qn)&&(gi=qt+G.pathSector(Bt),Et&&(gi+=G.pathSector(Et)),Zt=[Se(Et,On[0],On[1]),Se(Bt,On[0],On[1])].join(" ")),we(gi,Zt)}function bt(){if(h.removeZoombox(J),!(Et===null||Bt===null)){var Xt={};Rt(Xt),h.showDoubleClickNotifier(J),A.call("_guiRelayout",J,Xt)}}function Rt(Xt){var $t=it._rl,ur=($t[1]-$t[0])/(1-ie/ee)/ee,pn=[$t[0]+(Et-ie)*ur,$t[0]+(Bt-ie)*ur];Xt[G.id+".radialaxis.range"]=pn}function Nt(Xt,$t){var ur=J._fullLayout.clickmode;if(h.removeZoombox(J),Xt===2){var pn={};for(var Rn in G.viewInitial)pn[G.id+"."+Rn]=G.viewInitial[Rn];J.emit("plotly_doubleclick",null),A.call("_guiRelayout",J,pn)}ur.indexOf("select")>-1&&Xt===1&&_($t,J,[G.xaxis],[G.yaxis],G.id,ot),ur.indexOf("event")>-1&&d.click(J,$t,G.id)}ot.prepFn=function(Xt,$t,ur){var pn=J._fullLayout.dragmode,Rn=rt.getBoundingClientRect();J._fullLayout._calcInverseTransform(J);var Nn=J._fullLayout._invTransform;ue=J._fullLayout._invScaleX,Oe=J._fullLayout._invScaleY;var On=S.apply3DTransform(Nn)($t-Rn.left,ur-Rn.top);if(et=On[0],Lt=On[1],Ye){var ni=u.findPolygonOffset(ee,Ie[0],Ie[1],Ye);et+=Te+ni[0],Lt+=Ue+ni[1]}switch(pn){case"zoom":ot.clickFn=Nt,$||(Ye?ot.moveFn=pt:ot.moveFn=Le,ot.doneFn=bt,He(Xt,$t,ur));break;case"select":case"lasso":l(Xt,$t,ur,ot,pn);break}},p.init(ot)},U.updateRadialDrag=function(fe,G,$){var J=this,X=J.gd,re=J.layers,ae=J.radius,j=J.innerRadius,ee=J.cx,ie=J.cy,ce=J.radialAxis,xe=v.radialDragBoxSize,Te=xe/2;if(!ce.visible)return;var Ue=O(J.radialAxisAngle),Ie=ce._rl,Ye=Ie[0],it=Ie[1],at=Ie[$],tt=.75*(Ie[1]-Ie[0])/(1-J.getHole(G))/ae,ut,Me,pe;$?(ut=ee+(ae+Te)*Math.cos(Ue),Me=ie-(ae+Te)*Math.sin(Ue),pe="radialdrag"):(ut=ee+(j-Te)*Math.cos(Ue),Me=ie-(j-Te)*Math.sin(Ue),pe="radialdrag-inner");var ue=h.makeRectDragger(re,pe,"crosshair",-Te,-Te,xe,xe),Oe={element:ue,gd:X};fe.dragmode===!1&&(Oe.dragmode=!1),se(g.select(ue),ce.visible&&j0!=($?et>Ye:et=90||X>90&&re>=450?Ue=1:j<=0&&ie<=0?Ue=0:Ue=Math.max(j,ie),X<=180&&re>=180||X>180&&re>=540?ce=-1:ae>=0&&ee>=0?ce=0:ce=Math.min(ae,ee),X<=270&&re>=270||X>270&&re>=630?xe=-1:j>=0&&ie>=0?xe=0:xe=Math.min(j,ie),re>=360?Te=1:ae<=0&&ee<=0?Te=0:Te=Math.max(ae,ee),[ce,xe,Te,Ue]}function le(fe,G){var $=function(X){return S.angleDist(fe,X)},J=S.findIndexOfMin(G,$);return G[J]}function se(fe,G,$){return G?(fe.attr("display",null),fe.attr($)):fe&&fe.attr("display","none"),fe}}}),qM=ke({"src/plots/polar/layout_attributes.js"(Z,H){"use strict";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},"plot","from-root"),r=e({tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,ticklabelstep:x.ticklabelstep,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickfont:x.tickfont,tickangle:x.tickangle,tickformat:x.tickformat,tickformatstops:x.tickformatstops,layer:x.layer},"plot","from-root"),o={visible:S({},x.visible,{dflt:!0}),type:S({},x.type,{values:["-","linear","log","date","category"]}),autotypenumbers:x.autotypenumbers,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:"plot"},autorange:S({},x.autorange,{editType:"plot"}),rangemode:{valType:"enumerated",values:["tozero","nonnegative","normal"],dflt:"tozero",editType:"calc"},minallowed:S({},x.minallowed,{editType:"plot"}),maxallowed:S({},x.maxallowed,{editType:"plot"}),range:S({},x.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],editType:"plot"}),categoryorder:x.categoryorder,categoryarray:x.categoryarray,angle:{valType:"angle",editType:"plot"},autotickangles:x.autotickangles,side:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"clockwise",editType:"plot"},title:{text:S({},x.title.text,{editType:"plot",dflt:""}),font:S({},x.title.font,{editType:"plot"}),editType:"plot"},hoverformat:x.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};S(o,t,r);var n={visible:S({},x.visible,{dflt:!0}),type:{valType:"enumerated",values:["-","linear","category"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:x.autotypenumbers,categoryorder:x.categoryorder,categoryarray:x.categoryarray,thetaunit:{valType:"enumerated",values:["radians","degrees"],dflt:"degrees",editType:"calc"},period:{valType:"number",editType:"calc",min:0},direction:{valType:"enumerated",values:["counterclockwise","clockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",editType:"calc"},hoverformat:x.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};S(n,t,r),H.exports={domain:A({name:"polar",editType:"plot"}),sector:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],dflt:[0,360],editType:"plot"},hole:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},bgcolor:{valType:"color",editType:"plot",dflt:g.background},radialaxis:o,angularaxis:n,gridshape:{valType:"enumerated",values:["circular","linear"],dflt:"circular",editType:"plot"},uirevision:{valType:"any",editType:"none"},editType:"calc"}}}),Z8=ke({"src/plots/polar/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=Pm(),r=qg(),o=Dp(),n=zp(),i=T_(),a=o0(),s=Jw(),c=Gg(),h=qM(),p=UM(),d=Mb(),T=d.axisNames;function l(w,M,E,m){var b=E("bgcolor");m.bgColor=x.combine(b,m.paper_bgcolor);var v=E("sector");E("hole");var u=e(m.fullData,d.name,m.id),y=m.layoutOut,f;function P(xe,Te){return E(f+"."+xe,Te)}for(var L=0;L")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),J8=ke({"src/traces/scatterpolar/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:Eb(),categories:["polar","symbols","showLegend","scatter-like"],attributes:t1(),supplyDefaults:Cb().supplyDefaults,colorbar:Bh(),formatLabels:kb(),calc:Y8(),plot:K8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:Lb().hoverPoints,selectPoints:$g(),meta:{}}}}),$8=ke({"lib/scatterpolar.js"(Z,H){"use strict";H.exports=J8()}}),HM=ke({"src/traces/scatterpolargl/attributes.js"(Z,H){"use strict";var g=t1(),x=W0(),A=Rs().texttemplateAttrs;H.exports={mode:g.mode,r:g.r,theta:g.theta,r0:g.r0,dr:g.dr,theta0:g.theta0,dtheta:g.dtheta,thetaunit:g.thetaunit,text:g.text,texttemplate:A({editType:"plot"},{keys:["r","theta","text"]}),hovertext:g.hovertext,hovertemplate:g.hovertemplate,line:{color:x.line.color,width:x.line.width,dash:x.line.dash,editType:"calc"},connectgaps:x.connectgaps,marker:x.marker,fill:x.fill,fillcolor:x.fillcolor,textposition:x.textposition,textfont:x.textfont,hoverinfo:g.hoverinfo,selected:g.selected,unselected:g.unselected}}}),Q8=ke({"src/traces/scatterpolargl/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Cb().handleRThetaDefaults,S=Fd(),e=Hd(),t=Gd(),r=dv(),o=kv().PTS_LINESONLY,n=HM();H.exports=function(a,s,c,h){function p(T,l){return g.coerce(a,s,n,T,l)}var d=A(a,s,h,p);if(!d){s.visible=!1;return}p("thetaunit"),p("mode",d=r&&(m.marker.cluster=_.tree),m.marker&&(m.markerSel.positions=m.markerUnsel.positions=m.marker.positions=y),m.line&&y.length>1&&t.extendFlat(m.line,e.linePositions(i,l,y)),m.text&&(t.extendFlat(m.text,{positions:y},e.textPosition(i,l,m.text,m.marker)),t.extendFlat(m.textSel,{positions:y},e.textPosition(i,l,m.text,m.markerSel)),t.extendFlat(m.textUnsel,{positions:y},e.textPosition(i,l,m.text,m.markerUnsel))),m.fill&&!p.fill2d&&(p.fill2d=!0),m.marker&&!p.scatter2d&&(p.scatter2d=!0),m.line&&!p.line2d&&(p.line2d=!0),m.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(m.line),p.fillOptions.push(m.fill),p.markerOptions.push(m.marker),p.markerSelectedOptions.push(m.markerSel),p.markerUnselectedOptions.push(m.markerUnsel),p.textOptions.push(m.text),p.textSelectedOptions.push(m.textSel),p.textUnselectedOptions.push(m.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),_.x=f,_.y=P,_.rawx=f,_.rawy=P,_.r=M,_.theta=E,_.positions=y,_._scene=p,_.index=p.count,p.count++}}),A(i,a,s)}},H.exports.reglPrecompiled=o}}),aF=ke({"src/traces/scatterpolargl/index.js"(Z,H){"use strict";var g=nF();g.plot=iF(),H.exports=g}}),oF=ke({"lib/scatterpolargl.js"(Z,H){"use strict";H.exports=aF()}}),GM=ke({"src/traces/barpolar/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=To().extendFlat,A=t1(),S=Pv();H.exports={r:A.r,theta:A.theta,r0:A.r0,dr:A.dr,theta0:A.theta0,dtheta:A.dtheta,thetaunit:A.thetaunit,base:x({},S.base,{}),offset:x({},S.offset,{}),width:x({},S.width,{}),text:x({},S.text,{}),hovertext:x({},S.hovertext,{}),marker:e(),hoverinfo:A.hoverinfo,hovertemplate:g(),selected:S.selected,unselected:S.unselected};function e(){var t=x({},S.marker);return delete t.cornerradius,t}}}),WM=ke({"src/traces/barpolar/layout_attributes.js"(Z,H){"use strict";H.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}}}),sF=ke({"src/traces/barpolar/defaults.js"(Z,H){"use strict";var g=un(),x=Cb().handleRThetaDefaults,A=I_(),S=GM();H.exports=function(t,r,o,n){function i(s,c){return g.coerce(t,r,S,s,c)}var a=x(t,r,n,i);if(!a){r.visible=!1;return}i("thetaunit"),i("base"),i("offset"),i("width"),i("text"),i("hovertext"),i("hovertemplate"),A(t,r,i,o,n),g.coerceSelectionMarkerOpacity(r,i)}}}),lF=ke({"src/traces/barpolar/layout_defaults.js"(Z,H){"use strict";var g=un(),x=WM();H.exports=function(A,S,e){var t={},r;function o(a,s){return g.coerce(A[r]||{},S[r],x,a,s)}for(var n=0;n0?(h=s,p=c):(h=c,p=s);var d=e.findEnclosingVertexAngles(h,r.vangles)[0],T=e.findEnclosingVertexAngles(p,r.vangles)[1],l=[d,(h+p)/2,T];return e.pathPolygonAnnulus(i,a,h,p,l,o,n)}:function(i,a,s,c){return A.pathAnnulus(i,a,s,c,o,n)}}}}),cF=ke({"src/traces/barpolar/hover.js"(Z,H){"use strict";var g=Ec(),x=un(),A=Qg().getTraceColor,S=x.fillText,e=Lb().makeHoverPointText,t=Sb().isPtInsidePolygon;H.exports=function(o,n,i){var a=o.cd,s=a[0].trace,c=o.subplot,h=c.radialAxis,p=c.angularAxis,d=c.vangles,T=d?t:x.isPtInsideSector,l=o.maxHoverDistance,_=p._period||2*Math.PI,w=Math.abs(h.g2p(Math.sqrt(n*n+i*i))),M=Math.atan2(i,n);h.range[0]>h.range[1]&&(M+=Math.PI);var E=function(u){return T(w,M,[u.rp0,u.rp1],[u.thetag0,u.thetag1],d)?l+Math.min(1,Math.abs(u.thetag1-u.thetag0)/_)-1+(u.rp1-w)/(u.rp1-u.rp0)-1:1/0};if(g.getClosest(a,E,o),o.index!==!1){var m=o.index,b=a[m];o.x0=o.x1=b.ct[0],o.y0=o.y1=b.ct[1];var v=x.extendFlat({},b,{r:b.s,theta:b.p});return S(b,s,o),e(v,s,c,o),o.hovertemplate=s.hovertemplate,o.color=A(s,b),o.xLabelVal=o.yLabelVal=void 0,b.s<0&&(o.idealAlign="left"),[o]}}}}),fF=ke({"src/traces/barpolar/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"barpolar",basePlotModule:Eb(),categories:["polar","bar","showLegend"],attributes:GM(),layoutAttributes:WM(),supplyDefaults:sF(),supplyLayoutDefaults:lF(),calc:XM().calc,crossTraceCalc:XM().crossTraceCalc,plot:uF(),colorbar:Bh(),formatLabels:kb(),style:Yd().style,styleOnSelect:Yd().styleOnSelect,hoverPoints:cF(),selectPoints:ey(),meta:{}}}}),hF=ke({"lib/barpolar.js"(Z,H){"use strict";H.exports=fF()}}),ZM=ke({"src/plots/smith/constants.js"(Z,H){"use strict";H.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}}}),YM=ke({"src/plots/smith/layout_attributes.js"(Z,H){"use strict";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},"plot","from-root"),r=e({ticklen:x.ticklen,tickwidth:S({},x.tickwidth,{dflt:2}),tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,tickfont:x.tickfont,tickformat:x.tickformat,hoverformat:x.hoverformat,layer:x.layer},"plot","from-root"),o=S({visible:S({},x.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:"data_array",editType:"plot"},tickangle:S({},x.tickangle,{dflt:90}),ticks:{valType:"enumerated",values:["top","bottom",""],editType:"ticks"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},editType:"calc"},t,r),n=S({visible:S({},x.visible,{dflt:!0}),tickvals:{valType:"data_array",editType:"plot"},ticks:x.ticks,editType:"calc"},t,r);H.exports={domain:A({name:"smith",editType:"plot"}),bgcolor:{valType:"color",editType:"plot",dflt:g.background},realaxis:o,imaginaryaxis:n,editType:"calc"}}}),dF=ke({"src/plots/smith/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=zp(),r=Dp(),o=o0(),n=Cv(),i=YM(),a=ZM(),s=a.axisNames,c=p(function(d){return g.isTypedArray(d)&&(d=Array.from(d)),d.slice().reverse().map(function(T){return-T}).concat([0]).concat(d)},String);function h(d,T,l,_){var w=l("bgcolor");_.bgColor=x.combine(w,_.paper_bgcolor);var M=e(_.fullData,a.name,_.id),E=_.layoutOut,m;function b(U,W){return l(m+"."+U,W)}for(var v=0;v")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),xF=ke({"src/traces/scattersmith/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"scattersmith",basePlotModule:vF(),categories:["smith","symbols","showLegend","scatter-like"],attributes:KM(),supplyDefaults:pF(),colorbar:Bh(),formatLabels:mF(),calc:gF(),plot:yF(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:_F().hoverPoints,selectPoints:$g(),meta:{}}}}),bF=ke({"lib/scattersmith.js"(Z,H){"use strict";H.exports=xF()}}),Yh=ke({"node_modules/world-calendars/dist/main.js"(Z,H){var g=Rf();function x(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}g(x.prototype,{instance:function(o,n){o=(o||"gregorian").toLowerCase(),n=n||"";var i=this._localCals[o+"-"+n];if(!i&&this.calendars[o]&&(i=new this.calendars[o](n),this._localCals[o+"-"+n]=i),!i)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,o);return i},newDate:function(o,n,i,a,s){return a=(o!=null&&o.year?o.calendar():typeof a=="string"?this.instance(a,s):a)||this.instance(),a.newDate(o,n,i)},substituteDigits:function(o){return function(n){return(n+"").replace(/[0-9]/g,function(i){return o[i]})}},substituteChineseDigits:function(o,n){return function(i){for(var a="",s=0;i>0;){var c=i%10;a=(c===0?"":o[c]+n[s])+a,s++,i=Math.floor(i/10)}return a.indexOf(o[1]+n[1])===0&&(a=a.substr(1)),a||o[0]}}});function A(o,n,i,a){if(this._calendar=o,this._year=n,this._month=i,this._day=a,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(r.local.invalidDate||r.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function S(o,n){return o=""+o,"000000".substring(0,n-o.length)+o}g(A.prototype,{newDate:function(o,n,i){return this._calendar.newDate(o??this,n,i)},year:function(o){return arguments.length===0?this._year:this.set(o,"y")},month:function(o){return arguments.length===0?this._month:this.set(o,"m")},day:function(o){return arguments.length===0?this._day:this.set(o,"d")},date:function(o,n,i){if(!this._calendar.isValid(o,n,i))throw(r.local.invalidDate||r.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=o,this._month=n,this._day=i,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,n){return this._calendar.add(this,o,n)},set:function(o,n){return this._calendar.set(this,o,n)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(r.local.differentCalendars||r.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,o._calendar.local.name);var n=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?"-":"")+S(Math.abs(this.year()),4)+"-"+S(this.month(),2)+"-"+S(this.day(),2)}});function e(){this.shortYearCutoff="+10"}g(e.prototype,{_validateLevel:0,newDate:function(o,n,i){return o==null?this.today():(o.year&&(this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),i=o.day(),n=o.month(),o=o.year()),new A(this,o,n,i))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return(n.year()<0?"-":"")+S(Math.abs(n.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear),12},monthOfYear:function(o,n){var i=this._validate(o,n,this.minDay,r.local.invalidMonth||r.regionalOptions[""].invalidMonth);return(i.month()+this.monthsInYear(i)-this.firstMonth)%this.monthsInYear(i)+this.minMonth},fromMonthOfYear:function(o,n){var i=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,i,this.minDay,r.local.invalidMonth||r.regionalOptions[""].invalidMonth),i},daysInYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate);return a.toJD()-this.newDate(a.year(),this.fromMonthOfYear(a.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(a))+2)%this.daysInWeek()},extraInfo:function(o,n,i){return this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),{}},add:function(o,n,i){return this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[""].invalidDate),this._correctAdd(o,this._add(o,n,i),n,i)},_add:function(o,n,i){if(this._validateLevel++,i==="d"||i==="w"){var a=o.toJD()+n*(i==="w"?this.daysInWeek():1),s=o.calendar().fromJD(a);return this._validateLevel--,[s.year(),s.month(),s.day()]}try{var c=o.year()+(i==="y"?n:0),h=o.monthOfYear()+(i==="m"?n:0),s=o.day(),p=function(l){for(;h_-1+l.minMonth;)c++,h-=_,_=l.monthsInYear(c)};i==="y"?(o.month()!==this.fromMonthOfYear(c,h)&&(h=this.newDate(c,o.month(),this.minDay).monthOfYear()),h=Math.min(h,this.monthsInYear(c)),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h)))):i==="m"&&(p(this),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h))));var d=[c,this.fromMonthOfYear(c,h),s];return this._validateLevel--,d}catch(T){throw this._validateLevel--,T}},_correctAdd:function(o,n,i,a){if(!this.hasYearZero&&(a==="y"||a==="m")&&(n[0]===0||o.year()>0!=n[0]>0)){var s={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[a],c=i<0?-1:1;n=this._add(o,i*s[0]+c*s[1],s[2])}return o.date(n[0],n[1],n[2])},set:function(o,n,i){this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[""].invalidDate);var a=i==="y"?n:o.year(),s=i==="m"?n:o.month(),c=i==="d"?n:o.day();return(i==="y"||i==="m")&&(c=Math.min(c,this.daysInMonth(a,s))),o.date(a,s,c)},isValid:function(o,n,i){this._validateLevel++;var a=this.hasYearZero||o!==0;if(a){var s=this.newDate(o,n,this.minDay);a=n>=this.minMonth&&n-this.minMonth=this.minDay&&i-this.minDay13.5?13:1),T=s-(d>2.5?4716:4715);return T<=0&&T--,this.newDate(T,d,p)},toJSDate:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),s=new Date(a.year(),a.month()-1,a.day());return s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0),s.setHours(s.getHours()>12?s.getHours()+2:0),s},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var r=H.exports=new x;r.cdate=A,r.baseCalendar=e,r.calendars.gregorian=t}}),wF=ke({"node_modules/world-calendars/dist/plus.js"(){var Z=Rf(),H=Yh();Z(H.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),H.local=H.regionalOptions[""],Z(H.cdate.prototype,{formatDate:function(g,x){return typeof g!="string"&&(x=g,g=""),this._calendar.formatDate(g||"",this,x)}}),Z(H.baseCalendar.prototype,{UNIX_EPOCH:H.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:H.instance().jdEpoch,TICKS_PER_DAY:24*60*60*1e7,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(g,x,A){if(typeof g!="string"&&(A=x,x=g,g=""),!x)return"";if(x.calendar()!==this)throw H.local.invalidFormat||H.regionalOptions[""].invalidFormat;g=g||this.local.dateFormat,A=A||{};for(var S=A.dayNamesShort||this.local.dayNamesShort,e=A.dayNames||this.local.dayNames,t=A.monthNumbers||this.local.monthNumbers,r=A.monthNamesShort||this.local.monthNamesShort,o=A.monthNames||this.local.monthNames,n=A.calculateWeek||this.local.calculateWeek,i=function(M,E){for(var m=1;w+m1},a=function(M,E,m,b){var v=""+E;if(i(M,b))for(;v.length1},_=function(P,L){var z=l(P,L),F=[2,3,z?4:2,z?4:2,10,11,20]["oyYJ@!".indexOf(P)+1],B=new RegExp("^-?\\d{1,"+F+"}"),O=x.substring(v).match(B);if(!O)throw(H.local.missingNumberAt||H.regionalOptions[""].missingNumberAt).replace(/\{0\}/,v);return v+=O[0].length,parseInt(O[0],10)},w=this,M=function(){if(typeof o=="function"){l("m");var P=o.call(w,x.substring(v));return v+=P.length,P}return _("m")},E=function(P,L,z,F){for(var B=l(P,F)?z:L,O=0;O-1){c=1,h=p;for(var f=this.daysInMonth(s,c);h>f;f=this.daysInMonth(s,c))c++,h-=f}return a>-1?this.fromJD(a):this.newDate(s,c,h)},determineDate:function(g,x,A,S,e){A&&typeof A!="object"&&(e=S,S=A,A=null),typeof S!="string"&&(e=S,S="");var t=this,r=function(o){try{return t.parseDate(S,o,e)}catch{}o=o.toLowerCase();for(var n=(o.match(/^c/)&&A?A.newDate():null)||t.today(),i=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,a=i.exec(o);a;)n.add(parseInt(a[1],10),a[2]||"d"),a=i.exec(o);return n};return x=x?x.newDate():null,g=g==null?x:typeof g=="string"?r(g):typeof g=="number"?isNaN(g)||g===1/0||g===-1/0?x:t.today().add(g,"d"):t.newDate(g),g}})}}),TF=ke({"node_modules/world-calendars/dist/calendars/chinese.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(a){this.local=this.regionalOptions[a||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(a,s){if(typeof a=="string"){var c=a.match(S);return c?c[0]:""}var h=this._validateYear(a),p=a.month(),d=""+this.toChineseMonth(h,p);return s&&d.length<2&&(d="0"+d),this.isIntercalaryMonth(h,p)&&(d+="i"),d},monthNames:function(a){if(typeof a=="string"){var s=a.match(e);return s?s[0]:""}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"][p-1];return this.isIntercalaryMonth(c,h)&&(d="\u95F0"+d),d},monthNamesShort:function(a){if(typeof a=="string"){var s=a.match(t);return s?s[0]:""}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"][p-1];return this.isIntercalaryMonth(c,h)&&(d="\u95F0"+d),d},parseMonth:function(a,s){a=this._validateYear(a);var c=parseInt(s),h;if(isNaN(c))s[0]==="\u95F0"&&(h=!0,s=s.substring(1)),s[s.length-1]==="\u6708"&&(s=s.substring(0,s.length-1)),c=1+["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"].indexOf(s);else{var p=s[s.length-1];h=p==="i"||p==="I"}var d=this.toMonthIndex(a,c,h);return d},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(a,s){if(a.year&&(a=a.year()),typeof a!="number"||a<1888||a>2111)throw s.replace(/\{0\}/,this.local.name);return a},toMonthIndex:function(a,s,c){var h=this.intercalaryMonth(a),p=c&&s!==h;if(p||s<1||s>12)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var d;return h?!c&&s<=h?d=s-1:d=s:d=s-1,d},toChineseMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a),h=c?12:11;if(s<0||s>h)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var p;return c?s>13;return c},isIntercalaryMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a);return!!c&&c===s},leapYear:function(a){return this.intercalaryMonth(a)!==0},weekOfYear:function(a,s,c){var h=this._validateYear(a,Z.local.invalidyear),p=o[h-o[0]],d=p>>9&4095,T=p>>5&15,l=p&31,_;_=g.newDate(d,T,l),_.add(4-(_.dayOfWeek()||7),"d");var w=this.toJD(a,s,c)-_.toJD();return 1+Math.floor(w/7)},monthsInYear:function(a){return this.leapYear(a)?13:12},daysInMonth:function(a,s){a.year&&(s=a.month(),a=a.year()),a=this._validateYear(a);var c=r[a-r[0]],h=c>>13,p=h?12:11;if(s>p)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var d=c&1<<12-s?30:29;return d},weekDay:function(a,s,c){return(this.dayOfWeek(a,s,c)||7)<6},toJD:function(a,s,c){var h=this._validate(a,d,c,Z.local.invalidDate);a=this._validateYear(h.year()),s=h.month(),c=h.day();var p=this.isIntercalaryMonth(a,s),d=this.toChineseMonth(a,s),T=i(a,d,c,p);return g.toJD(T.year,T.month,T.day)},fromJD:function(a){var s=g.fromJD(a),c=n(s.year(),s.month(),s.day()),h=this.toMonthIndex(c.year,c.month,c.isIntercalary);return this.newDate(c.year,h,c.day)},fromString:function(a){var s=a.match(A),c=this._validateYear(+s[1]),h=+s[2],p=!!s[3],d=this.toMonthIndex(c,h,p),T=+s[4];return this.newDate(c,d,T)},add:function(a,s,c){var h=a.year(),p=a.month(),d=this.isIntercalaryMonth(h,p),T=this.toChineseMonth(h,p),l=Object.getPrototypeOf(x.prototype).add.call(this,a,s,c);if(c==="y"){var _=l.year(),w=l.month(),M=this.isIntercalaryMonth(_,T),E=d&&M?this.toMonthIndex(_,T,!0):this.toMonthIndex(_,T,!1);E!==w&&l.month(E)}return l}});var A=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,S=/^\d?\d[iI]?/m,e=/^闰?十?[一二三四五六七八九]?月/m,t=/^闰?十?[一二三四五六七八九]?/m;Z.calendars.chinese=x;var r=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],o=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function n(a,s,c,h){var p,d;if(typeof a=="object")p=a,d=s||{};else{var T=typeof a=="number"&&a>=1888&&a<=2111;if(!T)throw new Error("Solar year outside range 1888-2111");var l=typeof s=="number"&&s>=1&&s<=12;if(!l)throw new Error("Solar month outside range 1 - 12");var _=typeof c=="number"&&c>=1&&c<=31;if(!_)throw new Error("Solar day outside range 1 - 31");p={year:a,month:s,day:c},d=h||{}}var w=o[p.year-o[0]],M=p.year<<9|p.month<<5|p.day;d.year=M>=w?p.year:p.year-1,w=o[d.year-o[0]];var E=w>>9&4095,m=w>>5&15,b=w&31,v,u=new Date(E,m-1,b),y=new Date(p.year,p.month-1,p.day);v=Math.round((y-u)/(24*3600*1e3));var f=r[d.year-r[0]],P;for(P=0;P<13;P++){var L=f&1<<12-P?30:29;if(v>13;return!z||P=1888&&a<=2111;if(!l)throw new Error("Lunar year outside range 1888-2111");var _=typeof s=="number"&&s>=1&&s<=12;if(!_)throw new Error("Lunar month outside range 1 - 12");var w=typeof c=="number"&&c>=1&&c<=30;if(!w)throw new Error("Lunar day outside range 1 - 30");var M;typeof h=="object"?(M=!1,d=h):(M=!!h,d=p||{}),T={year:a,month:s,day:c,isIntercalary:M}}var E;E=T.day-1;var m=r[T.year-r[0]],b=m>>13,v;b&&(T.month>b||T.isIntercalary)?v=T.month:v=T.month-1;for(var u=0;u>9&4095,L=f>>5&15,z=f&31,F=new Date(P,L-1,z+E);return d.year=F.getFullYear(),d.month=1+F.getMonth(),d.day=F.getDate(),d}}}),AF=ke({"node_modules/world-calendars/dist/calendars/coptic.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.coptic=g}}),MF=ke({"node_modules/world-calendars/dist/calendars/discworld.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),!1},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),13},daysInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),400},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/8)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return(t.day()+1)%8},weekDay:function(A,S,e){var t=this.dayOfWeek(A,S,e);return t>=2&&t<=6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{century:x[Math.floor((t.year()-1)/100)+1]||""}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return A=t.year()+(t.year()<0?1:0),S=t.month(),e=t.day(),e+(S>1?16:0)+(S>2?(S-2)*32:0)+(A-1)*400+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A+.5)-Math.floor(this.jdEpoch)-1;var S=Math.floor(A/400)+1;A-=(S-1)*400,A+=A>15?16:0;var e=Math.floor(A/32)+1,t=A-(e-1)*32+1;return this.newDate(S<=0?S-1:S,e,t)}});var x={20:"Fruitbat",21:"Anchovy"};Z.calendars.discworld=g}}),SF=ke({"node_modules/world-calendars/dist/calendars/ethiopian.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.ethiopian=g}}),EF=ke({"node_modules/world-calendars/dist/calendars/hebrew.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this._leapYear(S.year())},_leapYear:function(A){return A=A<0?A+1:A,x(A*7+1,19)<7},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),this._leapYear(A.year?A.year():A)?13:12},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return A=S.year(),this.toJD(A===-1?1:A+1,7,1)-this.toJD(A,7,1)},daysInMonth:function(A,S){return A.year&&(S=A.month(),A=A.year()),this._validate(A,S,this.minDay,Z.local.invalidMonth),S===12&&this.leapYear(A)||S===8&&x(this.daysInYear(A),10)===5?30:S===9&&x(this.daysInYear(A),10)===3?29:this.daysPerMonth[S-1]},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{yearType:(this.leapYear(t)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(t)%10-3]}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A<=0?A+1:A,o=this.jdEpoch+this._delay1(r)+this._delay2(r)+e+1;if(S<7){for(var n=7;n<=this.monthsInYear(A);n++)o+=this.daysInMonth(A,n);for(var n=1;n=this.toJD(S===-1?1:S+1,7,1);)S++;for(var e=Athis.toJD(S,e,this.daysInMonth(S,e));)e++;var t=A-this.toJD(S,e,1)+1;return this.newDate(S,e,t)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.hebrew=g}}),CF=ke({"node_modules/world-calendars/dist/calendars/islamic.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-kham\u012Bs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);return(A.year()*11+14)%30<11},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){return this.leapYear(x)?355:354},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===12&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==5},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x=x<=0?x+1:x,S+Math.ceil(29.5*(A-1))+(x-1)*354+Math.floor((3+11*x)/30)+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x)+.5;var A=Math.floor((30*(x-this.jdEpoch)+10646)/10631);A=A<=0?A-1:A;var S=Math.min(12,Math.ceil((x-29-this.toJD(A,1,1))/29.5)+1),e=x-this.toJD(A,S,1)+1;return this.newDate(A,S,e)}}),Z.calendars.islamic=g}}),kF=ke({"node_modules/world-calendars/dist/calendars/julian.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()<0?A.year()+1:A.year();return S%4===0},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(4-(e.dayOfWeek()||7),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===2&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x<0&&x++,A<=2&&(x--,A+=12),Math.floor(365.25*(x+4716))+Math.floor(30.6001*(A+1))+S-1524.5},fromJD:function(x){var A=Math.floor(x+.5),S=A+1524,e=Math.floor((S-122.1)/365.25),t=Math.floor(365.25*e),r=Math.floor((S-t)/30.6001),o=r-Math.floor(r<14?1:13),n=e-Math.floor(o>2?4716:4715),i=S-t-Math.floor(30.6001*r);return n<=0&&n--,this.newDate(n,o,i)}}),Z.calendars.julian=g}}),LF=ke({"node_modules/world-calendars/dist/calendars/mayan.js"(){var Z=Yh(),H=Rf();function g(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),!1},formatYear:function(S){var e=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear);S=e.year();var t=Math.floor(S/400);S=S%400,S+=S<0?400:0;var r=Math.floor(S/20);return t+"."+r+"."+S%20},forYear:function(S){if(S=S.split("."),S.length<3)throw"Invalid Mayan year";for(var e=0,t=0;t19||t>0&&r<0)throw"Invalid Mayan year";e=e*20+r}return e},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),18},weekOfYear:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),0},daysInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),360},daysInMonth:function(S,e){return this._validate(S,e,this.minDay,Z.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()},weekDay:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),!0},extraInfo:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate),o=r.toJD(),n=this._toHaab(o),i=this._toTzolkin(o);return{haabMonthName:this.local.haabMonths[n[0]-1],haabMonth:n[0],haabDay:n[1],tzolkinDayName:this.local.tzolkinMonths[i[0]-1],tzolkinDay:i[0],tzolkinTrecena:i[1]}},_toHaab:function(S){S-=this.jdEpoch;var e=x(S+8+17*20,365);return[Math.floor(e/20)+1,x(e,20)]},_toTzolkin:function(S){return S-=this.jdEpoch,[A(S+20,20),A(S+4,13)]},toJD:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()+r.month()*20+r.year()*360+this.jdEpoch},fromJD:function(S){S=Math.floor(S)+.5-this.jdEpoch;var e=Math.floor(S/360);S=S%360,S+=S<0?360:0;var t=Math.floor(S/20),r=S%20;return this.newDate(e,t,r)}});function x(S,e){return S-e*Math.floor(S/e)}function A(S,e){return x(S-1,e)+1}Z.calendars.mayan=g}}),PF=ke({"node_modules/world-calendars/dist/calendars/nanakshahi.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar;var x=Z.instance("gregorian");H(g.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear);return x.leapYear(S.year()+(S.year()<1?1:0)+1469)},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(1-(t.dayOfWeek()||7),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidMonth),r=t.year();r<0&&r++;for(var o=t.day(),n=1;n=this.toJD(S+1,1,1);)S++;for(var e=A-Math.floor(this.toJD(S,1,1)+.5)+1,t=1;e>this.daysInMonth(S,t);)e-=this.daysInMonth(S,t),t++;return this.newDate(S,t,e)}}),Z.calendars.nanakshahi=g}}),IF=ke({"node_modules/world-calendars/dist/calendars/nepali.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(x){return this.daysInYear(x)!==this.daysPerYear},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);if(x=A.year(),typeof this.NEPALI_CALENDAR_DATA[x]>"u")return this.daysPerYear;for(var S=0,e=this.minMonth;e<=12;e++)S+=this.NEPALI_CALENDAR_DATA[x][e];return S},daysInMonth:function(x,A){return x.year&&(A=x.month(),x=x.year()),this._validate(x,A,this.minDay,Z.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[x]>"u"?this.daysPerMonth[A-1]:this.NEPALI_CALENDAR_DATA[x][A]},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);x=e.year(),A=e.month(),S=e.day();var t=Z.instance(),r=0,o=A,n=x;this._createMissingCalendarData(x);var i=x-(o>9||o===9&&S>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(A!==9&&(r=S,o--);o!==9;)o<=0&&(o=12,n--),r+=this.NEPALI_CALENDAR_DATA[n][o],o--;return A===9?(r+=S-this.NEPALI_CALENDAR_DATA[n][0],r<0&&(r+=t.daysInYear(i))):r+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],t.newDate(i,1,1).add(r,"d").toJD()},fromJD:function(x){var A=Z.instance(),S=A.fromJD(x),e=S.year(),t=S.dayOfYear(),r=e+56;this._createMissingCalendarData(r);for(var o=9,n=this.NEPALI_CALENDAR_DATA[r][0],i=this.NEPALI_CALENDAR_DATA[r][o]-n+1;t>i;)o++,o>12&&(o=1,r++),i+=this.NEPALI_CALENDAR_DATA[r][o];var a=this.NEPALI_CALENDAR_DATA[r][o]-(i-t);return this.newDate(r,o,a)},_createMissingCalendarData:function(x){var A=this.daysPerMonth.slice(0);A.unshift(17);for(var S=x-1;S"u"&&(this.NEPALI_CALENDAR_DATA[S]=A)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),Z.calendars.nepali=g}}),RF=ke({"node_modules/world-calendars/dist/calendars/persian.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Ch\xE6harshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Ch\xE6","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return((S.year()-(S.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-((t.dayOfWeek()+1)%7),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A-(A>=0?474:473),o=474+x(r,2820);return e+(S<=7?(S-1)*31:(S-1)*30+6)+Math.floor((o*682-110)/2816)+(o-1)*365+Math.floor(r/2820)*1029983+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A)+.5;var S=A-this.toJD(475,1,1),e=Math.floor(S/1029983),t=x(S,1029983),r=2820;if(t!==1029982){var o=Math.floor(t/366),n=x(t,366);r=Math.floor((2134*o+2816*n+2815)/1028522)+o+1}var i=r+2820*e+474;i=i<=0?i-1:i;var a=A-this.toJD(i,1,1)+1,s=a<=186?Math.ceil(a/31):Math.ceil((a-6)/30),c=A-this.toJD(i,s,1)+1;return this.newDate(i,s,c)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.persian=g,Z.calendars.jalali=g}}),DF=ke({"node_modules/world-calendars/dist/calendars/taiwan.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)},_g2tYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)}}),Z.calendars.taiwan=x}}),zF=ke({"node_modules/world-calendars/dist/calendars/thai.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)},_g2tYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)}}),Z.calendars.thai=x}}),FF=ke({"node_modules/world-calendars/dist/calendars/ummalqura.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thal\u0101th\u0101\u2019","Yawm al-Arba\u2018\u0101\u2019","Yawm al-Kham\u012Bs","Yawm al-Jum\u2018a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this.daysInYear(S.year())===355},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){for(var S=0,e=1;e<=12;e++)S+=this.daysInMonth(A,e);return S},daysInMonth:function(A,S){for(var e=this._validate(A,S,this.minDay,Z.local.invalidMonth),t=e.toJD()-24e5+.5,r=0,o=0;ot)return x[r]-x[r-1];r++}return 30},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate),r=12*(t.year()-1)+t.month()-15292,o=t.day()+x[r-1]-1;return o+24e5-.5},fromJD:function(A){for(var S=A-24e5+.5,e=0,t=0;tS);t++)e++;var r=e+15292,o=Math.floor((r-1)/12),n=o+1,i=r-12*o,a=S-x[e-1]+1;return this.newDate(n,i,a)},isValid:function(A,S,e){var t=Z.baseCalendar.prototype.isValid.apply(this,arguments);return t&&(A=A.year!=null?A.year:A,t=A>=1276&&A<=1500),t},_validate:function(A,S,e,t){var r=Z.baseCalendar.prototype._validate.apply(this,arguments);if(r.year<1276||r.year>1500)throw t.replace(/\{0\}/,this.local.name);return r}}),Z.calendars.ummalqura=g;var x=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]}}),OF=ke({"src/components/calendars/calendars.js"(Z,H){"use strict";H.exports=Yh(),wF(),TF(),AF(),MF(),SF(),EF(),CF(),kF(),LF(),PF(),IF(),RF(),DF(),zF(),FF()}}),BF=ke({"src/components/calendars/index.js"(Z,H){"use strict";var g=OF(),x=un(),A=Hi(),S=A.EPOCHJD,e=A.ONEDAY,t={valType:"enumerated",values:x.sortObjectKeys(g.calendars),editType:"calc",dflt:"gregorian"},r=function(m,b,v,u){var y={};return y[v]=t,x.coerce(m,b,y,v,u)},o=function(m,b,v,u){for(var y=0;y0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)<0?(Vn=ms+1,Bi-=Oa+1):Bi=Oa}return Vn}Je.lowerBound=Cr;function Kr(Ii,Ki,$n,Kn,Yn){Kn===void 0&&(Kn=0),Yn===void 0&&(Yn=-1);var Hi=Ii.length;if(Hi===0)return 0;Kn<0?Kn=Math.max(0,Kn+Hi):Kn=Math.min(Kn,Hi-1),Yn<0?Yn=Math.max(0,Yn+Hi):Yn=Math.min(Yn,Hi-1);for(var Vn=Kn,Bi=Yn-Kn+1;Bi>0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)>0?Bi=Oa:(Vn=ms+1,Bi-=Oa+1)}return Vn}Je.upperBound=Kr;function Qr(Ii,Ki,$n){if(Ii===Ki)return!0;if(Ii.length!==Ki.length)return!1;for(var Kn=0,Yn=Ii.length;Kn=Hi&&($n=Yn<0?Hi-1:Hi),Kn===void 0?Kn=Yn<0?-1:Hi:Kn<0?Kn=Math.max(Kn+Hi,Yn<0?-1:0):Kn>=Hi&&(Kn=Yn<0?Hi-1:Hi);var Vn;Yn<0&&Kn>=$n||Yn>0&&$n>=Kn?Vn=0:Yn<0?Vn=Math.floor((Kn-$n+1)/Yn+1):Vn=Math.floor((Kn-$n-1)/Yn+1);for(var Bi=[],Oa=0;Oa=Kn))){var Hi=Kn-$n+1;if(Ki>0?Ki=Ki%Hi:Ki<0&&(Ki=(Ki%Hi+Hi)%Hi),Ki!==0){var Vn=$n+Ki;an(Ii,$n,Vn-1),an(Ii,Vn,Kn),an(Ii,$n,Kn)}}}Je.rotate=Jr;function Er(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn!==0){$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);var Hi;Kn<$n?Hi=Kn+1+(Yn-$n):Hi=Kn-$n+1;for(var Vn=0;VnKi;--Yn)Ii[Yn]=Ii[Yn-1];Ii[Ki]=$n}Je.insert=ke;function Pn(Ii,Ki){var $n=Ii.length;if(Ki<0&&(Ki+=$n),!(Ki<0||Ki>=$n)){for(var Kn=Ii[Ki],Yn=Ki+1;Yn<$n;++Yn)Ii[Yn-1]=Ii[Yn];return Ii.length=$n-1,Kn}}Je.removeAt=Pn;function Ti(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=ze(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeFirstOf=Ti;function Ei(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn=_e(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeLastOf=Ei;function hi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ii[Vn]===Ki||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ii[Vn]===Ki?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllOf=hi;function Xi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn,Hi=De(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeFirstWhere=Xi;function ra(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn,Hi=Mt(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeLastWhere=ra;function _i(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ki(Ii[Vn],Vn)||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ki(Ii[Vn],Vn)?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllWhere=_i})(Wa||(Wa={}));function Pd(Je){var ze;return typeof Je.iter=="function"?ze=Je.iter():ze=new IO(Je),ze}function Os(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++)===!1)return}function LS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(!ze(Mt,_e++))return!1;return!0}function PS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++))return!0;return!1}function IS(Je){for(var ze=0,_e=[],De=Pd(Je),Mt;(Mt=De.next())!==void 0;)_e[ze++]=Mt;return _e}var IO=function(){function Je(ze){this._index=0,this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},Je}(),QO=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?ze:this.next()}},Je}(),eB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?this._source[ze]:this.next()}},Je}(),tB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?[ze,this._source[ze]]:this.next()}},Je}(),rB=function(){function Je(ze){this._fn=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},Je.prototype.next=function(){return this._fn.call(void 0)},Je}();function pw(){for(var Je=[],ze=0;ze0&&(Mt=De);return Mt}}function Ap(Je,ze){return new zO(Pd(Je),ze)}var zO=function(){function Je(ze,_e){this._index=0,this._source=ze,this._fn=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source.clone(),this._fn);return ze._index=this._index,ze},Je.prototype.next=function(){var ze=this._source.next();if(ze!==void 0)return this._fn.call(void 0,ze,this._index++)},Je}();var iB=function(){function Je(ze,_e,De){this._index=0,this._start=ze,this._stop=_e,this._step=De,this._length=vw.rangeLength(ze,_e,De)}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._start,this._stop,this._step);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},Je}(),vw;(function(Je){function ze(_e,De,Mt){return Mt===0?1/0:_e>De&&Mt>0||_e=this._source.length))return this._source[this._index--]},Je}();var aB=function(){function Je(ze,_e){this._source=ze,this._step=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._step)},Je.prototype.next=function(){for(var ze=this._source.next(),_e=this._step-1;_e>0;--_e)this._source.next();return ze},Je}(),Lg;(function(Je){function ze(ir,Cr,Kr){Kr===void 0&&(Kr=0);for(var Qr=new Array(Cr.length),bn=0,In=Kr,an=Cr.length;bnCr?1:0}Je.cmp=jt})(Lg||(Lg={}));var oB=function(){function Je(ze,_e){this._source=ze,this._count=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._count)},Je.prototype.next=function(){if(!(this._count<=0)){var ze=this._source.next();if(ze!==void 0)return this._count--,ze}},Je}();var sB=function(){function Je(ze){this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.map(function(ze){return ze.clone()}))},Je.prototype.next=function(){for(var ze=new Array(this._source.length),_e=0,De=this._source.length;_e=Kr.left&&ir=Kr.top&&Cr=Cr.bottom)){if(Kr.topCr.bottom&&Kr.height>=Cr.height){jt.scrollTop-=Cr.top-Kr.top;return}if(Kr.topCr.height){jt.scrollTop-=Cr.bottom-Kr.bottom;return}if(Kr.bottom>Cr.bottom&&Kr.height0;){if(Er(_e)){In++;continue}if(Er(De)){an++;continue}if(Er(Mt)){an++;continue}if(Er(ir)){Jr++;continue}if(Er(Cr)){an++;continue}if(Er(jt)){Jr++;continue}if(!Er(Kr))return 0}return In=Math.min(In,255),an=Math.min(an,255),Jr=Math.min(Jr,255),In<<16|an<<8|Jr}Je.calculateSingle=ze;var _e=/^#[^\s\+>~#\.\[:]+/,De=/^\.[^\s\+>~#\.\[:]+/,Mt=/^\[[^\]]+\]/,jt=/^[^\s\+>~#\.\[:]+/,ir=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,Cr=/^:[^\s\+>~#\.\[:]+/,Kr=/^[\s\+>~\*]+/,Qr=/:not\(([^\)]+)\)/g})(av||(av={}));var OS=function(){function Je(ze){this._root=new Xf.LeafNode,this.cmp=ze}return Object.defineProperty(Je.prototype,"isEmpty",{get:function(){return this._root.size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"first",{get:function(){var ze=Xf.firstLeaf(this._root);return ze.size>0?ze.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"last",{get:function(){var ze=Xf.lastLeaf(this._root);return ze.size>0?ze.items[ze.size-1]:void 0},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return Xf.iterItems(this._root)},Je.prototype.retro=function(){return Xf.retroItems(this._root)},Je.prototype.slice=function(ze,_e){return Xf.sliceItems(this._root,ze,_e)},Je.prototype.retroSlice=function(ze,_e){return Xf.retroSliceItems(this._root,ze,_e)},Je.prototype.at=function(ze){return Xf.itemAt(this._root,ze)},Je.prototype.has=function(ze,_e){return Xf.hasItem(this._root,ze,_e)},Je.prototype.indexOf=function(ze,_e){return Xf.indexOf(this._root,ze,_e)},Je.prototype.get=function(ze,_e){return Xf.getItem(this._root,ze,_e)},Je.prototype.assign=function(ze){this.clear(),this.update(ze)},Je.prototype.insert=function(ze){var _e=Xf.insertItem(this._root,ze,this.cmp);return this._root=Xf.maybeSplitRoot(this._root),_e},Je.prototype.update=function(ze){var _e=this;Os(ze,function(De){_e.insert(De)})},Je.prototype.delete=function(ze,_e){var De=Xf.deleteItem(this._root,ze,_e);return this._root=Xf.maybeExtractRoot(this._root),De},Je.prototype.remove=function(ze){var _e=Xf.removeItem(this._root,ze);return this._root=Xf.maybeExtractRoot(this._root),_e},Je.prototype.clear=function(){Xf.clear(this._root),this._root=new Xf.LeafNode},Je}();(function(Je){function ze(_e,De){var Mt=new Je(De);return Mt.assign(_e),Mt}Je.from=ze})(OS||(OS={}));var Xf;(function(Je){var ze=function(){function Vn(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(Vn.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Vn}();Je.BranchNode=ze;var _e=function(){function Vn(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(Vn.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Vn}();Je.LeafNode=_e;function De(Vn){for(;Vn.type===0;)Vn=Vn.children[0];return Vn}Je.firstLeaf=De;function Mt(Vn){for(;Vn.type===0;)Vn=Vn.children[Vn.children.length-1];return Vn}Je.lastLeaf=Mt;function jt(Vn){var Bi=De(Vn);return new ra(Bi,0,-1)}Je.iterItems=jt;function ir(Vn){var Bi=Mt(Vn);return new _i(Bi,Bi.size-1,-1)}Je.retroItems=ir;function Cr(Vn,Bi,Oa){Bi===void 0?Bi=0:Bi<0?Bi=Math.max(0,Bi+Vn.size):Bi=Math.min(Bi,Vn.size),Oa===void 0?Oa=Vn.size:Oa<0?Oa=Math.max(0,Oa+Vn.size):Oa=Math.min(Oa,Vn.size);var ms=Math.max(0,Oa-Bi);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new ra(Vn,Bi,ms)}Je.sliceItems=Cr;function Kr(Vn,Bi,Oa){Bi===void 0?Bi=Vn.size-1:Bi<0?Bi=Math.max(-1,Bi+Vn.size):Bi=Math.min(Bi,Vn.size-1),Oa===void 0?Oa=-1:Oa<0?Oa=Math.max(-1,Oa+Vn.size):Oa=Math.min(Oa,Vn.size-1);var ms=Math.max(0,Bi-Oa);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new _i(Vn,Bi,ms)}Je.retroSliceItems=Kr;function Qr(Vn,Bi){if(Bi<0&&(Bi+=Vn.size),!(Bi<0||Bi>=Vn.size)){for(;Vn.type===0;){var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa-1]),Vn=Vn.children[Oa]}return Vn.items[Bi]}}Je.itemAt=Qr;function bn(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0}Je.hasItem=bn;function In(Vn,Bi,Oa){for(var ms=0;Vn.type===0;){var Is=Ki(Vn.items,Bi,Oa);Is>0&&(ms+=Vn.sizes[Is-1]),Vn=Vn.children[Is]}var Cu=$n(Vn.items,Bi,Oa);return Cu>=0?ms+Cu:-ms+Cu}Je.indexOf=In;function an(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0?Vn.items[Is]:void 0}Je.getItem=an;function Jr(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa),Is;return ms>=0?(Is=Vn.items[ms],Vn.items[ms]=Bi):(Is=void 0,Wa.insert(Vn.items,-ms-1,Bi)),Is}var Cu=Ki(Vn.items,Bi,Oa),Zf=Vn.children[Cu],Sd=Zf.size,_f=Jr(Zf,Bi,Oa),ru=Zf.size;if(Vn.items[Cu]=Zf.items[0],Sd===ru)return _f;if(Zf.width>hi){var To=Yn(Zf);Wa.insert(Vn.children,Cu+1,To),Wa.insert(Vn.items,Cu+1,To.items[0])}return Kn(Vn,Cu),_f}Je.insertItem=Jr;function Er(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa);return ms<0?void 0:Wa.removeAt(Vn.items,ms)}var Is=Ki(Vn.items,Bi,Oa),Cu=Vn.children[Is],Zf=Cu.size,Sd=Er(Cu,Bi,Oa),_f=Cu.size;return Zf===_f||(Vn.items[Is]=Cu.items[0],Cu.width=Vn.size)){if(Vn.type===1)return Wa.removeAt(Vn.items,Bi);var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa]);var ms=Vn.children[Oa],Is=ke(ms,Bi);return Vn.items[Oa]=ms.items[0],ms.width1)return Vn;var Bi=Vn.children.pop();return Pn(Vn),Bi}Je.maybeExtractRoot=Ei;var hi=32,Xi=hi>>1,ra=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},Vn}(),_i=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},Vn}();function Ii(Vn,Bi){for(var Oa=Vn.length,ms=0;msBi)return ms;return Oa-1}function Ki(Vn,Bi,Oa){for(var ms=Vn.length,Is=1;Is0)return Is-1;return ms-1}function $n(Vn,Bi,Oa){for(var ms=Vn.length,Is=0;Is0)return-Is-1}return-ms-1}function Kn(Vn,Bi){for(var Oa=Vn.sizes,ms=Vn.children,Is=Bi>0?Oa[Bi-1]:0,Cu=ms.length;BiXi;if(Il&&Ed&&To){var vl=_f,Jl=ru;return vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Bi}if(Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Bi-1}if(Il&&!Ed&&To){var vl=_f,Jl=ru;return(Oa=Jl.items).unshift.apply(Oa,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),vl.prev&&(vl.prev.next=Jl),Jl.prev=vl.prev,Pn(vl),Bi}if(Il&&!Ed&&!To){var vl=_f,Jl=ru;return(ms=Jl.items).push.apply(ms,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),vl.next&&(vl.next.prev=Jl),Jl.next=vl.next,Pn(vl),Bi-1}if(!Il&&Ed&&To){var vl=_f,Jl=ru;return vl.children.push(Jl.children.shift()),vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Kn(vl,vl.width-1),Kn(Jl,0),Bi}if(!Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.children.unshift(Jl.children.pop()),vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Kn(vl,0),Kn(Jl,Jl.width-1),Bi-1}if(!Il&&!Ed&&To){var vl=_f,Jl=ru;return(Is=Jl.children).unshift.apply(Is,vl.children),(Cu=Jl.items).unshift.apply(Cu,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi}if(!Il&&!Ed&&!To){var vl=_f,Jl=ru;return(Zf=Jl.children).push.apply(Zf,vl.children),(Sd=Jl.items).push.apply(Sd,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi-1}throw"unreachable"}})(Xf||(Xf={}));var W1=function(){function Je(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(Je.prototype,"isEmpty",{get:function(){return this._size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return new Je.ForwardValueIterator(this._first)},Je.prototype.retro=function(){return new Je.RetroValueIterator(this._last)},Je.prototype.nodes=function(){return new Je.ForwardNodeIterator(this._first)},Je.prototype.retroNodes=function(){return new Je.RetroNodeIterator(this._last)},Je.prototype.assign=function(ze){var _e=this;this.clear(),Os(ze,function(De){_e.addLast(De)})},Je.prototype.push=function(ze){this.addLast(ze)},Je.prototype.pop=function(){return this.removeLast()},Je.prototype.shift=function(ze){this.addFirst(ze)},Je.prototype.unshift=function(){return this.removeFirst()},Je.prototype.addFirst=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._first?(_e.next=this._first,this._first.prev=_e,this._first=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.addLast=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._last?(_e.prev=this._last,this._last.next=_e,this._last=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.insertBefore=function(ze,_e){if(!_e||_e===this._first)return this.addFirst(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error("Reference node is not owned by the list.");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.prev;return De.next=Mt,De.prev=jt,Mt.prev=De,jt.next=De,this._size++,De},Je.prototype.insertAfter=function(ze,_e){if(!_e||_e===this._last)return this.addLast(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error("Reference node is not owned by the list.");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.next;return De.next=jt,De.prev=Mt,Mt.next=De,jt.prev=De,this._size++,De},Je.prototype.removeFirst=function(){var ze=this._first;if(ze)return ze===this._last?(this._first=null,this._last=null):(this._first=ze.next,this._first.prev=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeLast=function(){var ze=this._last;if(ze)return ze===this._first?(this._first=null,this._last=null):(this._last=ze.prev,this._last.next=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeNode=function(ze){if(!(ze instanceof Xv.LinkedListNode)||ze.list!==this)throw new Error("Node is not owned by the list.");var _e=ze;_e===this._first&&_e===this._last?(this._first=null,this._last=null):_e===this._first?(this._first=_e.next,this._first.prev=null):_e===this._last?(this._last=_e.prev,this._last.next=null):(_e.next.prev=_e.prev,_e.prev.next=_e.next),_e.list=null,_e.next=null,_e.prev=null,this._size--},Je.prototype.clear=function(){for(var ze=this._first;ze;){var _e=ze.next;ze.list=null,ze.prev=null,ze.next=null,ze=_e}this._first=null,this._last=null,this._size=0},Je}();(function(Je){function ze(ir){var Cr=new Je;return Cr.assign(ir),Cr}Je.from=ze;var _e=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr.value}},ir}();Je.ForwardValueIterator=_e;var De=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr.value}},ir}();Je.RetroValueIterator=De;var Mt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr}},ir}();Je.ForwardNodeIterator=Mt;var jt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr}},ir}();Je.RetroNodeIterator=jt})(W1||(W1={}));var Xv;(function(Je){var ze=function(){function _e(De,Mt){this.list=null,this.next=null,this.prev=null,this.list=De,this.value=Mt}return _e}();Je.LinkedListNode=ze})(Xv||(Xv={}));var gw=function(Je,ze){return gw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},gw(Je,ze)};function BO(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");gw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Rd=function(){function Je(ze){this.type=ze}return Object.defineProperty(Je.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),Je.prototype.conflate=function(ze){return!1},Je}(),Ig=function(Je){BO(ze,Je);function ze(){return Je!==null&&Je.apply(this,arguments)||this}return Object.defineProperty(ze.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),ze.prototype.conflate=function(_e){return!0},ze}(Rd),go;(function(Je){function ze($n,Kn){var Yn=bn.get($n);if(!Yn||Yn.length===0){Ei($n,Kn);return}var Hi=LS(zS(Yn),function(Vn){return Vn?Ti(Vn,$n,Kn):!0});Hi&&Ei($n,Kn)}Je.sendMessage=ze;function _e($n,Kn){if(!Kn.isConflatable){hi($n,Kn);return}var Yn=PS(Qr,function(Hi){return Hi.handler!==$n||!Hi.msg||Hi.msg.type!==Kn.type||!Hi.msg.isConflatable?!1:Hi.msg.conflate(Kn)});Yn||hi($n,Kn)}Je.postMessage=_e;function De($n,Kn){var Yn=bn.get($n);Yn&&Yn.indexOf(Kn)!==-1||(Yn?Yn.push(Kn):bn.set($n,[Kn]))}Je.installMessageHook=De;function Mt($n,Kn){var Yn=bn.get($n);if(Yn){var Hi=Yn.indexOf(Kn);Hi!==-1&&(Yn[Hi]=null,ra(Yn))}}Je.removeMessageHook=Mt;function jt($n){var Kn=bn.get($n);Kn&&Kn.length>0&&(Wa.fill(Kn,null),ra(Kn)),Os(Qr,function(Yn){Yn.handler===$n&&(Yn.handler=null,Yn.msg=null)})}Je.clearData=jt;function ir(){Er||Jr===0||(Pn(Jr),Er=!0,Xi(),Er=!1)}Je.flush=ir;function Cr(){return an}Je.getExceptionHandler=Cr;function Kr($n){var Kn=an;return an=$n,Kn}Je.setExceptionHandler=Kr;var Qr=new W1,bn=new WeakMap,In=new Set,an=function($n){console.error($n)},Jr=0,Er=!1,ke=function(){var $n=typeof requestAnimationFrame=="function";return $n?requestAnimationFrame:setImmediate}(),Pn=function(){var $n=typeof cancelAnimationFrame=="function";return $n?cancelAnimationFrame:clearImmediate}();function Ti($n,Kn,Yn){var Hi=!0;try{typeof $n=="function"?Hi=$n(Kn,Yn):Hi=$n.messageHook(Kn,Yn)}catch(Vn){an(Vn)}return Hi}function Ei($n,Kn){try{$n.processMessage(Kn)}catch(Yn){an(Yn)}}function hi($n,Kn){Qr.addLast({handler:$n,msg:Kn}),Jr===0&&(Jr=ke(Xi))}function Xi(){if(Jr=0,!Qr.isEmpty){var $n={handler:null,msg:null};for(Qr.addLast($n);;){var Kn=Qr.removeFirst();if(Kn===$n)return;Kn.handler&&Kn.msg&&ze(Kn.handler,Kn.msg)}}}function ra($n){In.size===0&&ke(_i),In.add($n)}function _i(){In.forEach(Ii),In.clear()}function Ii($n){Wa.removeAllWhere($n,Ki)}function Ki($n){return $n===null}})(go||(go={}));var vd=function(){function Je(ze){this._pid=Tm.nextPID(),this.name=ze.name,this._create=ze.create,this._coerce=ze.coerce||null,this._compare=ze.compare||null,this._changed=ze.changed||null}return Je.prototype.get=function(ze){var _e,De=Tm.ensureMap(ze);return this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze),_e},Je.prototype.set=function(ze,_e){var De,Mt=Tm.ensureMap(ze);this._pid in Mt?De=Mt[this._pid]:De=Mt[this._pid]=this._createValue(ze);var jt=this._coerceValue(ze,_e);this._maybeNotify(ze,De,Mt[this._pid]=jt)},Je.prototype.coerce=function(ze){var _e,De=Tm.ensureMap(ze);this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze);var Mt=this._coerceValue(ze,_e);this._maybeNotify(ze,_e,De[this._pid]=Mt)},Je.prototype._createValue=function(ze){var _e=this._create;return _e(ze)},Je.prototype._coerceValue=function(ze,_e){var De=this._coerce;return De?De(ze,_e):_e},Je.prototype._compareValue=function(ze,_e){var De=this._compare;return De?De(ze,_e):ze===_e},Je.prototype._maybeNotify=function(ze,_e,De){var Mt=this._changed;Mt&&!this._compareValue(_e,De)&&Mt(ze,_e,De)},Je}();(function(Je){function ze(_e){Tm.ownerData.delete(_e)}Je.clearData=ze})(vd||(vd={}));var Tm;(function(Je){Je.ownerData=new WeakMap,Je.nextPID=function(){var _e=0;return function(){var De=Math.random(),Mt=(""+De).slice(2);return"pid-"+Mt+"-"+_e++}}();function ze(_e){var De=Je.ownerData.get(_e);return De||(De=Object.create(null),Je.ownerData.set(_e,De),De)}Je.ensureMap=ze})(Tm||(Tm={}));var Kl=function(){function Je(ze){this._blockedCount=0,this.sender=ze}return Je.prototype.block=function(ze){this._blockedCount++;try{ze()}finally{this._blockedCount--}},Je.prototype.connect=function(ze,_e){return Md.connect(this,ze,_e)},Je.prototype.disconnect=function(ze,_e){return Md.disconnect(this,ze,_e)},Je.prototype.emit=function(ze){this._blockedCount||Md.emit(this,ze)},Je}();(function(Je){function ze(Qr,bn){var In=Md.blockedProperty;In.set(Qr,In.get(Qr)+1);try{bn()}finally{In.set(Qr,In.get(Qr)-1)}}Je.blockAll=ze;function _e(Qr,bn){Md.disconnectBetween(Qr,bn)}Je.disconnectBetween=_e;function De(Qr){Md.disconnectSender(Qr)}Je.disconnectSender=De;function Mt(Qr){Md.disconnectReceiver(Qr)}Je.disconnectReceiver=Mt;function jt(Qr){Md.disconnectAll(Qr)}Je.disconnectAll=jt;function ir(Qr){Md.disconnectAll(Qr)}Je.clearData=ir;function Cr(){return Md.exceptionHandler}Je.getExceptionHandler=Cr;function Kr(Qr){var bn=Md.exceptionHandler;return Md.exceptionHandler=Qr,bn}Je.setExceptionHandler=Kr})(Kl||(Kl={}));var Md;(function(Je){Je.exceptionHandler=function(Ei){console.error(Ei)};function ze(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(ra||(ra=[],Kr.set(Ei.sender,ra)),an(ra,Ei,hi,Xi))return!1;var _i=Xi||hi,Ii=Qr.get(_i);Ii||(Ii=[],Qr.set(_i,Ii));var Ki={signal:Ei,slot:hi,thisArg:Xi};return ra.push(Ki),Ii.push(Ki),!0}Je.connect=ze;function _e(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(!ra||ra.length===0)return!1;var _i=an(ra,Ei,hi,Xi);if(!_i)return!1;var Ii=Xi||hi,Ki=Qr.get(Ii);return _i.signal=null,Er(ra),Er(Ki),!0}Je.disconnect=_e;function De(Ei,hi){var Xi=Kr.get(Ei);if(!(!Xi||Xi.length===0)){var ra=Qr.get(hi);!ra||ra.length===0||(Os(ra,function(_i){_i.signal&&_i.signal.sender===Ei&&(_i.signal=null)}),Er(Xi),Er(ra))}}Je.disconnectBetween=De;function Mt(Ei){var hi=Kr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.thisArg||Xi.slot;Xi.signal=null,Er(Qr.get(ra))}}),Er(hi))}Je.disconnectSender=Mt;function jt(Ei){var hi=Qr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.signal.sender;Xi.signal=null,Er(Kr.get(ra))}}),Er(hi))}Je.disconnectReceiver=jt;function ir(Ei){Mt(Ei),jt(Ei)}Je.disconnectAll=ir;function Cr(Ei,hi){if(!(Je.blockedProperty.get(Ei.sender)>0)){var Xi=Kr.get(Ei.sender);if(!(!Xi||Xi.length===0))for(var ra=0,_i=Xi.length;ra<_i;++ra){var Ii=Xi[ra];Ii.signal===Ei&&Jr(Ii,hi)}}}Je.emit=Cr;var Kr=new WeakMap,Qr=new WeakMap,bn=new Set,In=function(){var Ei=typeof requestAnimationFrame=="function";return Ei?requestAnimationFrame:setImmediate}();function an(Ei,hi,Xi,ra){return Pg(Ei,function(_i){return _i.signal===hi&&_i.slot===Xi&&_i.thisArg===ra})}function Jr(Ei,hi){var Xi=Ei.signal,ra=Ei.slot,_i=Ei.thisArg;try{ra.call(_i,Xi.sender,hi)}catch(Ii){Je.exceptionHandler(Ii)}}function Er(Ei){bn.size===0&&In(ke),bn.add(Ei)}function ke(){bn.forEach(Pn),bn.clear()}function Pn(Ei){Wa.removeAllWhere(Ei,Ti)}function Ti(Ei){return Ei.signal===null}Je.blockedProperty=new vd({name:"blocked",create:function(){return 0}})})(Md||(Md={}));var yw=function(Je,ze){return yw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},yw(Je,ze)};function NS(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");yw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Mp=function(){function Je(ze){this._fn=ze}return Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){if(this._fn){var ze=this._fn;this._fn=null,ze()}},Je}(),bB=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(Mp),_w=function(){function Je(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach(function(ze){ze.dispose()}),this._items.clear())},Je.prototype.contains=function(ze){return this._items.has(ze)},Je.prototype.add=function(ze){this._items.add(ze)},Je.prototype.remove=function(ze){this._items.delete(ze)},Je.prototype.clear=function(){this._items.clear()},Je}();(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(_w||(_w={}));var BS=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(_w);(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(BS||(BS={}));var Sp=function(){function Je(ze){var _e=this;this._onScrollFrame=function(){if(_e._scrollTarget){var De=_e._scrollTarget,Mt=De.element,jt=De.edge,ir=De.distance,Cr=id.SCROLL_EDGE_SIZE-ir,Kr=Math.pow(Cr/id.SCROLL_EDGE_SIZE,2),Qr=Math.max(1,Math.round(Kr*id.SCROLL_EDGE_SIZE));switch(jt){case"top":Mt.scrollTop-=Qr;break;case"left":Mt.scrollLeft-=Qr;break;case"right":Mt.scrollLeft+=Qr;break;case"bottom":Mt.scrollTop+=Qr;break}requestAnimationFrame(_e._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=ze.document||document,this.mimeData=ze.mimeData,this.dragImage=ze.dragImage||null,this.proposedAction=ze.proposedAction||"copy",this.supportedActions=ze.supportedActions||"all",this.source=ze.source||null}return Je.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var ze=id.createMouseEvent("pointerup",-1,-1);id.dispatchDragLeave(this,this._currentTarget,null,ze)}this._finalize("none")}},Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Je.prototype.start=function(ze,_e){var De=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(ze,_e),this._promise=new Promise(function(jt,ir){De._resolve=jt});var Mt=id.createMouseEvent("pointermove",ze,_e);return document.dispatchEvent(Mt),this._promise},Je.prototype.handleEvent=function(ze){switch(ze.type){case"mousemove":this._evtMouseMove(ze);break;case"mouseup":this._evtMouseUp(ze);break;case"pointermove":this._evtMouseMove(ze);break;case"pointerup":this._evtMouseUp(ze);break;case"keydown":this._evtKeyDown(ze);break;default:ze.preventDefault(),ze.stopPropagation();break}},Je.prototype.moveDragImage=function(ze,_e){if(this.dragImage){var De=this.dragImage.style;De.top=_e+"px",De.left=ze+"px"}},Je.prototype._evtMouseMove=function(ze){ze.preventDefault(),ze.stopPropagation(),this._updateCurrentTarget(ze),this._updateDragScroll(ze),this.moveDragImage(ze.clientX,ze.clientY)},Je.prototype._evtMouseUp=function(ze){if(ze.preventDefault(),ze.stopPropagation(),ze.button===0){if(this._updateCurrentTarget(ze),!this._currentTarget){this._finalize("none");return}if(this._dropAction==="none"){id.dispatchDragLeave(this,this._currentTarget,null,ze),this._finalize("none");return}var _e=id.dispatchDrop(this,this._currentTarget,ze);this._finalize(_e)}},Je.prototype._evtKeyDown=function(ze){ze.preventDefault(),ze.stopPropagation(),ze.keyCode===27&&this.dispose()},Je.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},Je.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},Je.prototype._updateDragScroll=function(ze){var _e=id.findScrollTarget(ze);!this._scrollTarget&&!_e||(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=_e)},Je.prototype._updateCurrentTarget=function(ze){var _e=this._currentTarget,De=this._currentTarget,Mt=this._currentElement,jt=this.document.elementFromPoint(ze.clientX,ze.clientY);this._currentElement=jt,jt!==Mt&&jt!==De&&id.dispatchDragExit(this,De,jt,ze),jt!==Mt&&jt!==De&&(De=id.dispatchDragEnter(this,jt,De,ze)),De!==_e&&(this._currentTarget=De,id.dispatchDragLeave(this,_e,De,ze));var ir=id.dispatchDragOver(this,De,ze);this._setDropAction(ir)},Je.prototype._attachDragImage=function(ze,_e){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var De=this.dragImage.style;De.pointerEvents="none",De.position="fixed",De.top=_e+"px",De.left=ze+"px";var Mt=this.document instanceof Document?this.document.body:this.document.firstElementChild;Mt.appendChild(this.dragImage)}},Je.prototype._detachDragImage=function(){if(this.dragImage){var ze=this.dragImage.parentNode;ze&&ze.removeChild(this.dragImage)}},Je.prototype._setDropAction=function(ze){if(ze=id.validateAction(ze,this.supportedActions),!(this._override&&this._dropAction===ze))switch(ze){case"none":this._dropAction=ze,this._override=Je.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=ze,this._override=Je.overrideCursor("copy",this.document);break;case"link":this._dropAction=ze,this._override=Je.overrideCursor("alias",this.document);break;case"move":this._dropAction=ze,this._override=Je.overrideCursor("move",this.document);break}},Je.prototype._finalize=function(ze){var _e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,_e&&_e(ze)},Je}();(function(Je){function ze(De,Mt){Mt===void 0&&(Mt=document);var jt=++_e,ir=Mt instanceof Document?Mt.body:Mt.firstElementChild;return ir.style.cursor=De,ir.classList.add("lm-mod-override-cursor"),ir.classList.add("p-mod-override-cursor"),new Mp(function(){jt===_e&&(ir.style.cursor="",ir.classList.remove("lm-mod-override-cursor"),ir.classList.remove("p-mod-override-cursor"))})}Je.overrideCursor=ze;var _e=0})(Sp||(Sp={}));var id;(function(Je){Je.SCROLL_EDGE_SIZE=20;function ze(an,Jr){return Qr[an]&bn[Jr]?an:"none"}Je.validateAction=ze;function _e(an,Jr,Er){var ke=document.createEvent("MouseEvent");return ke.initMouseEvent(an,!0,!0,window,0,0,0,Jr,Er,!1,!1,!1,!1,0,null),ke}Je.createMouseEvent=_e;function De(an){for(var Jr=an.clientX,Er=an.clientY,ke=document.elementFromPoint(Jr,Er);ke;ke=ke.parentElement){var Pn=ke.hasAttribute("data-lm-dragscroll");if(Pn=Pn||ke.hasAttribute("data-p-dragscroll"),!!Pn){var Ti=0,Ei=0;ke===document.body&&(Ti=window.pageXOffset,Ei=window.pageYOffset);var hi=ke.getBoundingClientRect(),Xi=hi.top+Ei,ra=hi.left+Ti,_i=ra+hi.width,Ii=Xi+hi.height;if(!(Jr=_i||Er=Ii)){var Ki=Jr-ra+1,$n=Er-Xi+1,Kn=_i-Jr,Yn=Ii-Er,Hi=Math.min(Ki,$n,Kn,Yn);if(!(Hi>Je.SCROLL_EDGE_SIZE)){var Vn=void 0;switch(Hi){case Yn:Vn="bottom";break;case $n:Vn="top";break;case Kn:Vn="right";break;case Ki:Vn="left";break;default:throw"unreachable"}var Bi=ke.scrollWidth-ke.clientWidth,Oa=ke.scrollHeight-ke.clientHeight,ms=void 0;switch(Vn){case"top":ms=Oa>0&&ke.scrollTop>0;break;case"left":ms=Bi>0&&ke.scrollLeft>0;break;case"right":ms=Bi>0&&ke.scrollLeft0&&ke.scrollTop0&&(Kr=ke)}return{cmd:bn,ctrl:In,alt:Qr,shift:an,key:Kr}}Je.parseKeystroke=ze;function _e(Cr){var Kr="",Qr=ze(Cr);return Qr.ctrl&&(Kr+="Ctrl "),Qr.alt&&(Kr+="Alt "),Qr.shift&&(Kr+="Shift "),Qr.cmd&&zh.IS_MAC&&(Kr+="Cmd "),Kr+Qr.key}Je.normalizeKeystroke=_e;function De(Cr){var Kr;return zh.IS_WIN?Kr=Cr.winKeys||Cr.keys:zh.IS_MAC?Kr=Cr.macKeys||Cr.keys:Kr=Cr.linuxKeys||Cr.keys,Kr.map(_e)}Je.normalizeKeys=De;function Mt(Cr){return typeof Cr=="string"?Kr(Cr):Cr.map(Kr).join(", ");function Kr(Qr){var bn=[],In=zh.IS_MAC?" ":"+",an=ze(Qr);return an.ctrl&&bn.push("Ctrl"),an.alt&&bn.push("Alt"),an.shift&&bn.push("Shift"),zh.IS_MAC&&an.cmd&&bn.push("Cmd"),bn.push(an.key),bn.map(Ep.formatKey).join(In)}}Je.formatKeystroke=Mt;function jt(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);return Kr.isModifierKey(Qr)}Je.isModifierKeyPressed=jt;function ir(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);if(!Qr||Kr.isModifierKey(Qr))return"";var bn=[];return Cr.ctrlKey&&bn.push("Ctrl"),Cr.altKey&&bn.push("Alt"),Cr.shiftKey&&bn.push("Shift"),Cr.metaKey&&zh.IS_MAC&&bn.push("Cmd"),bn.push(Qr),bn.join(" ")}Je.keystrokeForKeydownEvent=ir})(Dg||(Dg={}));var Ep;(function(Je){Je.CHORD_TIMEOUT=1e3;function ze(hi){var Xi,ra;return!hi.icon||typeof hi.icon=="string"?(ra=Er(hi.iconClass||hi.icon,Kr),Xi=ra):(ra=Er(hi.iconClass,Kr),Xi=Er(hi.icon,Jr)),{execute:hi.execute,describedBy:Tw({args:null},hi.describedBy),label:Er(hi.label,Kr),mnemonic:Er(hi.mnemonic,Qr),icon:Xi,iconClass:ra,iconLabel:Er(hi.iconLabel,Kr),caption:Er(hi.caption,Kr),usage:Er(hi.usage,Kr),className:Er(hi.className,Kr),dataset:Er(hi.dataset,an),isEnabled:hi.isEnabled||bn,isToggled:hi.isToggled||In,isToggleable:hi.isToggleable||!!hi.isToggled,isVisible:hi.isVisible||bn}}Je.createCommand=ze;function _e(hi){return{keys:Dg.normalizeKeys(hi),selector:ke(hi),command:hi.command,args:hi.args||pd.JSONExt.emptyObject}}Je.createKeyBinding=_e;function De(hi,Xi,ra){for(var _i=null,Ii=!1,Ki=1/0,$n=0,Kn=0,Yn=hi.length;KnKi)){var Oa=ov.calculateSpecificity(Hi.selector);(!_i||Bi=$n)&&(_i=Hi,Ki=Bi,$n=Oa)}}}return{exact:_i,partial:Ii}}Je.matchKeyBinding=De;function Mt(hi){hi.target.dispatchEvent(Ei(hi))}Je.replayKeyEvent=Mt;function jt(hi){return zh.IS_MAC?ir.hasOwnProperty(hi)?ir[hi]:hi:Cr.hasOwnProperty(hi)?Cr[hi]:hi}Je.formatKey=jt;var ir={Backspace:"\u232B",Tab:"\u21E5",Enter:"\u21A9",Shift:"\u21E7",Ctrl:"\u2303",Alt:"\u2325",Escape:"\u238B",PageUp:"\u21DE",PageDown:"\u21DF",End:"\u2198",Home:"\u2196",ArrowLeft:"\u2190",ArrowUp:"\u2191",ArrowRight:"\u2192",ArrowDown:"\u2193",Delete:"\u2326",Cmd:"\u2318"},Cr={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},Kr=function(){return""},Qr=function(){return-1},bn=function(){return!0},In=function(){return!1},an=function(){return{}},Jr=function(){};function Er(hi,Xi){return hi===void 0?Xi:typeof hi=="function"?hi:function(){return hi}}function ke(hi){if(hi.selector.indexOf(",")!==-1)throw new Error("Selector cannot contain commas: "+hi.selector);if(!ov.isValid(hi.selector))throw new Error("Invalid selector: "+hi.selector);return hi.selector}function Pn(hi,Xi){if(hi.lengthXi.length?2:1}function Ti(hi,Xi){for(var ra=Xi.target,_i=Xi.currentTarget,Ii=0;ra!==null;ra=ra.parentElement,++Ii){if(ra.hasAttribute("data-lm-suppress-shortcuts")||ra.hasAttribute("data-p-suppress-shortcuts"))return-1;if(ov.matches(ra,hi))return Ii;if(ra===_i)return-1}return-1}function Ei(hi){var Xi=document.createEvent("Event"),ra=hi.bubbles||!0,_i=hi.cancelable||!0;return Xi.initEvent(hi.type||"keydown",ra,_i),Xi.key=hi.key||"",Xi.keyCode=hi.keyCode||0,Xi.which=hi.keyCode||0,Xi.ctrlKey=hi.ctrlKey||!1,Xi.altKey=hi.altKey||!1,Xi.shiftKey=hi.shiftKey||!1,Xi.metaKey=hi.metaKey||!1,Xi.view=hi.view||window,Xi}})(Ep||(Ep={}));var Aw=function(Je,ze){return Aw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},Aw(Je,ze)};function UO(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");Aw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Z1=function(){function Je(ze){this.type="text",this.content=ze}return Je}(),Y1=function(){function Je(ze,_e,De,Mt){this.type="element",this.tag=ze,this.attrs=_e,this.children=De,this.renderer=Mt}return Je}(),RB=function(Je){UO(ze,Je);function ze(_e,De,Mt){return Je.call(this,_e,De,[],Mt||void 0)||this}return ze}(Y1);function _u(Je){for(var ze={},_e,De=[],Mt=1,jt=arguments.length;Mt=Ti.length){_e(ke[Xi],Jr);continue}var ra=Ti[Xi],_i=ke[Xi];if(ra===_i){Ei=Ei.nextSibling;continue}if(ra.type==="text"&&_i.type==="text"){Ei.textContent!==_i.content&&(Ei.textContent=_i.content),Ei=Ei.nextSibling;continue}if(ra.type==="text"||_i.type==="text"){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(!ra.renderer!=!_i.renderer){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}var Ii=_i.attrs.key;if(Ii&&Ii in Pn){var Ki=Pn[Ii];Ki.vNode!==ra&&(Wa.move(Ti,Ti.indexOf(Ki.vNode,Xi+1),Xi),Jr.insertBefore(Ki.element,Ei),ra=Ki.vNode,Ei=Ki.element)}if(ra===_i){Ei=Ei.nextSibling;continue}var $n=ra.attrs.key;if($n&&$n!==Ii){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(ra.tag!==_i.tag){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}Cr(Ei,ra.attrs,_i.attrs),_i.renderer?_i.renderer.render(Ei,{attrs:_i.attrs,children:_i.children}):De(Ei,ra.children,_i.children),Ei=Ei.nextSibling}Mt(Jr,Ti,hi,!0)}}Je.updateContent=De;function Mt(Jr,Er,ke,Pn){for(var Ti=Er.length-1;Ti>=ke;--Ti){var Ei=Er[Ti],hi=Pn?Jr.lastChild:Jr.childNodes[Ti];Ei.type==="text"||(Ei.renderer&&Ei.renderer.unrender?Ei.renderer.unrender(hi,{attrs:Ei.attrs,children:Ei.children}):Mt(hi,Ei.children,0,!1)),Pn&&Jr.removeChild(hi)}}var jt={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function ir(Jr,Er){for(var ke in Er)ke in jt||(ke.substr(0,2)==="on"?Jr[ke]=Er[ke]:Jr.setAttribute(ke,Er[ke]));Er.className!==void 0&&Jr.setAttribute("class",Er.className),Er.htmlFor!==void 0&&Jr.setAttribute("for",Er.htmlFor),Er.dataset&&Kr(Jr,Er.dataset),Er.style&&bn(Jr,Er.style)}function Cr(Jr,Er,ke){if(Er!==ke){var Pn;for(Pn in Er)Pn in jt||Pn in ke||(Pn.substr(0,2)==="on"?Jr[Pn]=null:Jr.removeAttribute(Pn));for(Pn in ke)Pn in jt||Er[Pn]===ke[Pn]||(Pn.substr(0,2)==="on"?Jr[Pn]=ke[Pn]:Jr.setAttribute(Pn,ke[Pn]));Er.className!==ke.className&&(ke.className!==void 0?Jr.setAttribute("class",ke.className):Jr.removeAttribute("class")),Er.htmlFor!==ke.htmlFor&&(ke.htmlFor!==void 0?Jr.setAttribute("for",ke.htmlFor):Jr.removeAttribute("for")),Er.dataset!==ke.dataset&&Qr(Jr,Er.dataset||{},ke.dataset||{}),Er.style!==ke.style&&In(Jr,Er.style||{},ke.style||{})}}function Kr(Jr,Er){for(var ke in Er)Jr.setAttribute("data-"+ke,Er[ke])}function Qr(Jr,Er,ke){for(var Pn in Er)Pn in ke||Jr.removeAttribute("data-"+Pn);for(var Ti in ke)Er[Ti]!==ke[Ti]&&Jr.setAttribute("data-"+Ti,ke[Ti])}function bn(Jr,Er){var ke=Jr.style,Pn;for(Pn in Er)ke[Pn]=Er[Pn]}function In(Jr,Er,ke){var Pn=Jr.style,Ti;for(Ti in Er)Ti in ke||(Pn[Ti]="");for(Ti in ke)Er[Ti]!==ke[Ti]&&(Pn[Ti]=ke[Ti])}function an(Jr,Er){for(var ke=Jr.firstChild,Pn=Object.create(null),Ti=0,Ei=Er;Ti0&&(In+=Er.stretch,an++)}if(ir===bn)return 0;if(ir<=Kr){for(var Jr=0;Jr=Qr){for(var Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,In-=Er.stretch,Er.size=Er.maxSize,Er.done=!0,hi--,an--):(Xi-=Ii,Er.size+=Ii)}}for(;hi>0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,Er.size=Er.maxSize,Er.done=!0,hi--):(Xi-=Ii,Er.size+=Ii))}}return 0}Je.calc=ze;function _e(jt,ir,Cr){jt.length===0||Cr===0||(Cr>0?De(jt,ir,Cr):Mt(jt,ir,-Cr))}Je.adjust=_e;function De(jt,ir,Cr){for(var Kr=0,Qr=0;Qr<=ir;++Qr){var bn=jt[Qr];Kr+=bn.maxSize-bn.size}for(var In=0,Qr=ir+1,an=jt.length;Qr=0&&Jr>0;--Qr){var bn=jt[Qr],Er=bn.maxSize-bn.size;Er>=Jr?(bn.sizeHint=bn.size+Jr,Jr=0):(bn.sizeHint=bn.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir+1,an=jt.length;Qr0;++Qr){var bn=jt[Qr],Er=bn.size-bn.minSize;Er>=ke?(bn.sizeHint=bn.size-ke,ke=0):(bn.sizeHint=bn.size-Er,ke-=Er)}}function Mt(jt,ir,Cr){for(var Kr=0,Qr=ir+1,bn=jt.length;Qr0;++Qr){var In=jt[Qr],Er=In.maxSize-In.size;Er>=Jr?(In.sizeHint=In.size+Jr,Jr=0):(In.sizeHint=In.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir;Qr>=0&&ke>0;--Qr){var In=jt[Qr],Er=In.size-In.minSize;Er>=ke?(In.sizeHint=In.size-ke,ke=0):(In.sizeHint=In.size-Er,ke-=Er)}}})(Dd||(Dd={}));var Sw=function(){function Je(ze){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new Kl(this),this._isDisposed=!1,this.owner=ze.owner,ze.label!==void 0&&(this._label=ze.label),ze.mnemonic!==void 0&&(this._mnemonic=ze.mnemonic),ze.icon!==void 0?typeof ze.icon=="string"?(this._icon=null,this._iconClass=ze.icon):this._icon=ze.icon:this._icon=null,ze.iconClass!==void 0&&(this._iconClass=ze.iconClass),ze.iconLabel!==void 0&&(this._iconLabel=ze.iconLabel),ze.iconRenderer!==void 0&&(this._icon=ze.iconRenderer),ze.caption!==void 0&&(this._caption=ze.caption),ze.className!==void 0&&(this._className=ze.className),ze.closable!==void 0&&(this._closable=ze.closable),this._dataset=ze.dataset||{}}return Object.defineProperty(Je.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"label",{get:function(){return this._label},set:function(ze){this._label!==ze&&(this._label=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(ze){this._mnemonic!==ze&&(this._mnemonic=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"icon",{get:function(){return this._icon===null?this.iconClass:this._icon},set:function(ze){if(typeof ze=="string")this._icon=null,this.iconClass=ze;else{if(this._icon===ze)return;this._icon=ze,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconClass",{get:function(){return this._iconClass},set:function(ze){this._iconClass!==ze&&(this._iconClass=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(ze){this._iconLabel!==ze&&(this._iconLabel=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(ze){this.icon=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"caption",{get:function(){return this._caption},set:function(ze){this._caption!==ze&&(this._caption=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"className",{get:function(){return this._className},set:function(ze){this._className!==ze&&(this._className=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"closable",{get:function(){return this._closable},set:function(ze){this._closable!==ze&&(this._closable=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"dataset",{get:function(){return this._dataset},set:function(ze){this._dataset!==ze&&(this._dataset=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,Kl.clearData(this))},Je}(),So=function(){function Je(ze){ze===void 0&&(ze={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new Kl(this),this._hiddenMode=Je.HiddenMode.Display,this.node=K1.createNode(ze),this.addClass("lm-Widget"),this.addClass("p-Widget")}return Je.prototype.dispose=function(){this.isDisposed||(this.setFlag(Je.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Je.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Kl.clearData(this),go.clearData(this),vd.clearData(this))},Object.defineProperty(Je.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this.testFlag(Je.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isAttached",{get:function(){return this.testFlag(Je.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isHidden",{get:function(){return this.testFlag(Je.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isVisible",{get:function(){return this.testFlag(Je.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"title",{get:function(){return K1.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"id",{get:function(){return this.node.id},set:function(ze){this.node.id=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(ze){this._hiddenMode!==ze&&(this.isHidden&&this._toggleHidden(!1),ze==Je.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=ze,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"parent",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(ze&&this.contains(ze))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage("child-removed",this);go.sendMessage(this._parent,_e)}if(this._parent=ze,this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage("child-added",this);go.sendMessage(this._parent,_e)}this.isDisposed||go.sendMessage(this,Je.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"layout",{get:function(){return this._layout},set:function(ze){if(this._layout!==ze){if(this.testFlag(Je.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(ze.parent)throw new Error("Cannot change layout parent.");this._layout=ze,ze.parent=this}},enumerable:!0,configurable:!0}),Je.prototype.children=function(){return this._layout?this._layout.iter():Id()},Je.prototype.contains=function(ze){for(var _e=ze;_e;_e=_e._parent)if(_e===this)return!0;return!1},Je.prototype.hasClass=function(ze){return this.node.classList.contains(ze)},Je.prototype.addClass=function(ze){this.node.classList.add(ze)},Je.prototype.removeClass=function(ze){this.node.classList.remove(ze)},Je.prototype.toggleClass=function(ze,_e){return _e===!0?(this.node.classList.add(ze),!0):_e===!1?(this.node.classList.remove(ze),!1):this.node.classList.toggle(ze)},Je.prototype.update=function(){go.postMessage(this,Je.Msg.UpdateRequest)},Je.prototype.fit=function(){go.postMessage(this,Je.Msg.FitRequest)},Je.prototype.activate=function(){go.postMessage(this,Je.Msg.ActivateRequest)},Je.prototype.close=function(){go.sendMessage(this,Je.Msg.CloseRequest)},Je.prototype.show=function(){if(this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeShow),this.clearFlag(Je.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterShow),this.parent)){var ze=new Je.ChildMessage("child-shown",this);go.sendMessage(this.parent,ze)}},Je.prototype.hide=function(){if(!this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeHide),this.setFlag(Je.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterHide),this.parent)){var ze=new Je.ChildMessage("child-hidden",this);go.sendMessage(this.parent,ze)}},Je.prototype.setHidden=function(ze){ze?this.hide():this.show()},Je.prototype.testFlag=function(ze){return(this._flags&ze)!==0},Je.prototype.setFlag=function(ze){this._flags|=ze},Je.prototype.clearFlag=function(ze){this._flags&=~ze},Je.prototype.processMessage=function(ze){switch(ze.type){case"resize":this.notifyLayout(ze),this.onResize(ze);break;case"update-request":this.notifyLayout(ze),this.onUpdateRequest(ze);break;case"fit-request":this.notifyLayout(ze),this.onFitRequest(ze);break;case"before-show":this.notifyLayout(ze),this.onBeforeShow(ze);break;case"after-show":this.setFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterShow(ze);break;case"before-hide":this.notifyLayout(ze),this.onBeforeHide(ze);break;case"after-hide":this.clearFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterHide(ze);break;case"before-attach":this.notifyLayout(ze),this.onBeforeAttach(ze);break;case"after-attach":!this.isHidden&&(!this.parent||this.parent.isVisible)&&this.setFlag(Je.Flag.IsVisible),this.setFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterAttach(ze);break;case"before-detach":this.notifyLayout(ze),this.onBeforeDetach(ze);break;case"after-detach":this.clearFlag(Je.Flag.IsVisible),this.clearFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterDetach(ze);break;case"activate-request":this.notifyLayout(ze),this.onActivateRequest(ze);break;case"close-request":this.notifyLayout(ze),this.onCloseRequest(ze);break;case"child-added":this.notifyLayout(ze),this.onChildAdded(ze);break;case"child-removed":this.notifyLayout(ze),this.onChildRemoved(ze);break;default:this.notifyLayout(ze);break}},Je.prototype.notifyLayout=function(ze){this._layout&&this._layout.processParentMessage(ze)},Je.prototype.onCloseRequest=function(ze){this.parent?this.parent=null:this.isAttached&&Je.detach(this)},Je.prototype.onResize=function(ze){},Je.prototype.onUpdateRequest=function(ze){},Je.prototype.onFitRequest=function(ze){},Je.prototype.onActivateRequest=function(ze){},Je.prototype.onBeforeShow=function(ze){},Je.prototype.onAfterShow=function(ze){},Je.prototype.onBeforeHide=function(ze){},Je.prototype.onAfterHide=function(ze){},Je.prototype.onBeforeAttach=function(ze){},Je.prototype.onAfterAttach=function(ze){},Je.prototype.onBeforeDetach=function(ze){},Je.prototype.onAfterDetach=function(ze){},Je.prototype.onChildAdded=function(ze){},Je.prototype.onChildRemoved=function(ze){},Je.prototype._toggleHidden=function(ze){if(ze)switch(this._hiddenMode){case Je.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case Je.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1";break}else switch(this._hiddenMode){case Je.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case Je.HiddenMode.Scale:this.node.style.transform="";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex="";break}},Je}();(function(Je){(function(jt){jt[jt.Display=0]="Display",jt[jt.Scale=1]="Scale",jt[jt.ContentVisibility=2]="ContentVisibility"})(Je.HiddenMode||(Je.HiddenMode={})),function(jt){jt[jt.IsDisposed=1]="IsDisposed",jt[jt.IsAttached=2]="IsAttached",jt[jt.IsHidden=4]="IsHidden",jt[jt.IsVisible=8]="IsVisible",jt[jt.DisallowLayout=16]="DisallowLayout"}(Je.Flag||(Je.Flag={})),function(jt){jt.BeforeShow=new Rd("before-show"),jt.AfterShow=new Rd("after-show"),jt.BeforeHide=new Rd("before-hide"),jt.AfterHide=new Rd("after-hide"),jt.BeforeAttach=new Rd("before-attach"),jt.AfterAttach=new Rd("after-attach"),jt.BeforeDetach=new Rd("before-detach"),jt.AfterDetach=new Rd("after-detach"),jt.ParentChanged=new Rd("parent-changed"),jt.UpdateRequest=new Ig("update-request"),jt.FitRequest=new Ig("fit-request"),jt.ActivateRequest=new Ig("activate-request"),jt.CloseRequest=new Ig("close-request")}(Je.Msg||(Je.Msg={}));var ze=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,Cr)||this;return Qr.child=Kr,Qr}return ir}(Rd);Je.ChildMessage=ze;var _e=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,"resize")||this;return Qr.width=Cr,Qr.height=Kr,Qr}return ir}(Rd);Je.ResizeMessage=_e,function(jt){jt.UnknownSize=new jt(-1,-1)}(_e=Je.ResizeMessage||(Je.ResizeMessage={}));function De(jt,ir,Cr){if(Cr===void 0&&(Cr=null),jt.parent)throw new Error("Cannot attach a child widget.");if(jt.isAttached||jt.node.isConnected)throw new Error("Widget is already attached.");if(!ir.isConnected)throw new Error("Host is not attached.");go.sendMessage(jt,Je.Msg.BeforeAttach),ir.insertBefore(jt.node,Cr),go.sendMessage(jt,Je.Msg.AfterAttach)}Je.attach=De;function Mt(jt){if(jt.parent)throw new Error("Cannot detach a child widget.");if(!jt.isAttached||!jt.node.isConnected)throw new Error("Widget is not attached.");go.sendMessage(jt,Je.Msg.BeforeDetach),jt.node.parentNode.removeChild(jt.node),go.sendMessage(jt,Je.Msg.AfterDetach)}Je.detach=Mt})(So||(So={}));var K1;(function(Je){Je.titleProperty=new vd({name:"title",create:function(_e){return new Sw({owner:_e})}});function ze(_e){return _e.node||document.createElement(_e.tag||"div")}Je.createNode=ze})(K1||(K1={}));var kp=function(){function Je(ze){ze===void 0&&(ze={}),this._disposed=!1,this._parent=null,this._fitPolicy=ze.fitPolicy||"set-min-size"}return Je.prototype.dispose=function(){this._parent=null,this._disposed=!0,Kl.clearData(this),vd.clearData(this)},Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"parent",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(this._parent)throw new Error("Cannot change parent widget.");if(ze.layout!==this)throw new Error("Invalid parent widget.");this._parent=ze,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(ze){if(this._fitPolicy!==ze&&(this._fitPolicy=ze,this._parent)){var _e=this._parent.node.style;_e.minWidth="",_e.minHeight="",_e.maxWidth="",_e.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),Je.prototype.processParentMessage=function(ze){switch(ze.type){case"resize":this.onResize(ze);break;case"update-request":this.onUpdateRequest(ze);break;case"fit-request":this.onFitRequest(ze);break;case"before-show":this.onBeforeShow(ze);break;case"after-show":this.onAfterShow(ze);break;case"before-hide":this.onBeforeHide(ze);break;case"after-hide":this.onAfterHide(ze);break;case"before-attach":this.onBeforeAttach(ze);break;case"after-attach":this.onAfterAttach(ze);break;case"before-detach":this.onBeforeDetach(ze);break;case"after-detach":this.onAfterDetach(ze);break;case"child-removed":this.onChildRemoved(ze);break;case"child-shown":this.onChildShown(ze);break;case"child-hidden":this.onChildHidden(ze);break}},Je.prototype.init=function(){var ze=this;Os(this,function(_e){_e.parent=ze.parent})},Je.prototype.onResize=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onUpdateRequest=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onBeforeAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onBeforeHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onChildRemoved=function(ze){this.removeWidget(ze.child)},Je.prototype.onFitRequest=function(ze){},Je.prototype.onChildShown=function(ze){},Je.prototype.onChildHidden=function(ze){},Je}();(function(Je){function ze(jt){return zg.horizontalAlignmentProperty.get(jt)}Je.getHorizontalAlignment=ze;function _e(jt,ir){zg.horizontalAlignmentProperty.set(jt,ir)}Je.setHorizontalAlignment=_e;function De(jt){return zg.verticalAlignmentProperty.get(jt)}Je.getVerticalAlignment=De;function Mt(jt,ir){zg.verticalAlignmentProperty.set(jt,ir)}Je.setVerticalAlignment=Mt})(kp||(kp={}));var Zy=function(){function Je(ze){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=ze,this.widget.node.style.position="absolute"}return Je.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var ze=this.widget.node.style;ze.position="",ze.top="",ze.left="",ze.width="",ze.height=""}},Object.defineProperty(Je.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),Je.prototype.fit=function(){var ze=Eu.sizeLimits(this.widget.node);this._minWidth=ze.minWidth,this._minHeight=ze.minHeight,this._maxWidth=ze.maxWidth,this._maxHeight=ze.maxHeight},Je.prototype.update=function(ze,_e,De,Mt){var jt=Math.max(this._minWidth,Math.min(De,this._maxWidth)),ir=Math.max(this._minHeight,Math.min(Mt,this._maxHeight));if(jt0;)this._widgets.pop().dispose();Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return Pd(this._widgets)},ze.prototype.addWidget=function(_e){this.insertWidget(this._widgets.length,_e)},ze.prototype.insertWidget=function(_e,De){De.parent=this.parent;var Mt=this._widgets.indexOf(De),jt=Math.max(0,Math.min(_e,this._widgets.length));if(Mt===-1){Wa.insert(this._widgets,jt,De),this.parent&&this.attachWidget(jt,De);return}jt===this._widgets.length&&jt--,Mt!==jt&&(Wa.move(this._widgets,Mt,jt),this.parent&&this.moveWidget(Mt,jt,De))},ze.prototype.removeWidget=function(_e){this.removeWidgetAt(this._widgets.indexOf(_e))},ze.prototype.removeWidgetAt=function(_e){var De=Wa.removeAt(this._widgets,_e);De&&this.parent&&this.detachWidget(_e,De)},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De,Mt){_e.attachWidget(Mt,De)})},ze.prototype.attachWidget=function(_e,De){var Mt=this.parent.node.children[_e];this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.insertBefore(De.node,Mt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach)},ze.prototype.moveWidget=function(_e,De,Mt){this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeDetach),this.parent.node.removeChild(Mt.node),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterDetach);var jt=this.parent.node.children[De];this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeAttach),this.parent.node.insertBefore(Mt.node,jt),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterAttach)},ze.prototype.detachWidget=function(_e,De){this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach)},ze}(kp),Gy;(function(Je){function ze(_e){return Math.max(0,Math.floor(_e))}Je.clampDimension=ze})(Gy||(Gy={}));var Wy=Gy,Em=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De.widgetOffset=0,De._fixed=0,De._spacing=4,De._dirty=!1,De._hasNormedSizes=!1,De._sizers=[],De._items=[],De._handles=[],De._box=null,De._alignment="start",De._orientation="horizontal",De.renderer=_e.renderer,_e.orientation!==void 0&&(De._orientation=_e.orientation),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Gy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"orientation",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._orientation=_e,this.parent&&(this.parent.dataset.orientation=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"alignment",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Gy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),ze.prototype.absoluteSizes=function(){return this._sizers.map(function(_e){return _e.size})},ze.prototype.relativeSizes=function(){return Kv.normalize(this._sizers.map(function(_e){return _e.size}))},ze.prototype.setRelativeSizes=function(_e,De){De===void 0&&(De=!0);for(var Mt=this._sizers.length,jt=_e.slice(0,Mt);jt.length0&&(Kr.sizeHint=Kr.size)}Dd.adjust(this._sizers,_e,jt),this.parent&&this.parent.update()}}},ze.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){var Mt=new Zy(De),jt=Kv.createHandle(this.renderer),ir=Kv.averageSize(this._sizers),Cr=Kv.createSizer(ir);Wa.insert(this._items,_e,Mt),Wa.insert(this._sizers,_e,Cr),Wa.insert(this._handles,_e,jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.node.appendChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),Wa.move(this._handles,_e,De),this.parent.fit()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e),jt=Wa.removeAt(this._handles,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.node.removeChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype.updateItemPosition=function(_e,De,Mt,jt,ir,Cr,Kr){var Qr=this._items[_e];if(!Qr.isHidden){var bn=this._handles[_e].style;De?(Mt+=this.widgetOffset,Qr.update(Mt,jt,Kr,ir),Mt+=Kr,bn.top=jt+"px",bn.left=Mt+"px",bn.width=this._spacing+"px",bn.height=ir+"px"):(jt+=this.widgetOffset,Qr.update(Mt,jt,Cr,Kr),jt+=Kr,bn.top=jt+"px",bn.left=Mt+"px",bn.width=Cr+"px",bn.height=this._spacing+"px")}},ze.prototype._fit=function(){for(var _e=0,De=-1,Mt=0,jt=this._items.length;Mt0&&(bn.sizeHint=bn.size),Qr.isHidden){bn.minSize=0,bn.maxSize=0;continue}Qr.fit(),bn.stretch=ze.getStretch(Qr.widget),ir?(bn.minSize=Qr.minWidth,bn.maxSize=Qr.maxWidth,Cr+=Qr.minWidth,Kr=Math.max(Kr,Qr.minHeight)):(bn.minSize=Qr.minHeight,bn.maxSize=Qr.maxHeight,Kr+=Qr.minHeight,Cr=Math.max(Cr,Qr.minWidth))}var In=this._box=Eu.boxSizing(this.parent.node);Cr+=In.horizontalSum,Kr+=In.verticalSum;var an=this.parent.node.style;an.minWidth=Cr+"px",an.minHeight=Kr+"px",this._dirty=!0,this.parent.parent&&go.sendMessage(this.parent.parent,So.Msg.FitRequest),this._dirty&&go.sendMessage(this.parent,So.Msg.UpdateRequest)},ze.prototype._update=function(_e,De){this._dirty=!1;for(var Mt=0,jt=0,ir=this._items.length;jt0){var Er=void 0;if(Jr?Er=Math.max(0,Qr-this._fixed):Er=Math.max(0,bn-this._fixed),this._hasNormedSizes){for(var ke=0,Pn=this._sizers;ke0)switch(this._alignment){case"start":break;case"center":In=0,an=Ei/2;break;case"end":In=0,an=Ei;break;case"justify":In=Ei/Mt,an=0;break;default:throw"unreachable"}}for(var jt=0,ir=this._items.length;jt=0&&(this.layout.updateTitle(De,_e.owner),this.update())},ze.prototype._computeWidgetSize=function(_e){var De=this.layout,Mt=De.widgets[_e];if(Mt){var jt=Mt.isHidden,ir=De.absoluteSizes(),Cr=(jt?-1:1)*this.spacing,Kr=ir.reduce(function(Jr,Er){return Jr+Er}),Qr=VO(ir);if(jt){var an=this._widgetSizesCache.get(Mt);if(!an)return;Qr[_e]+=an;var In=Qr.map(function(Er){return Er-an>0}).lastIndexOf(!0);In===-1?Qr.forEach(function(Er,ke){ke!==_e&&(Qr[ke]-=ir[ke]/Kr*(an-Cr))}):Qr[In]-=an-Cr}else{var bn=ir[_e];this._widgetSizesCache.set(Mt,bn),Qr[_e]=0;var In=Qr.map(function(Jr){return Jr>0}).lastIndexOf(!0);if(In===-1)return;Qr[In]=ir[In]+bn+Cr}return Qr.map(function(Jr){return Jr/(Kr+Cr)})}},ze.prototype._evtClick=function(_e){var De=_e.target;if(De){var Mt=Wa.findFirstIndex(this.titles,function(jt){return jt.contains(De)});Mt>=0&&(_e.preventDefault(),_e.stopPropagation(),this._toggleExpansion(Mt))}},ze.prototype._eventKeyDown=function(_e){if(!_e.defaultPrevented){var De=_e.target,Mt=!1;if(De){var jt=Wa.findFirstIndex(this.titles,function(bn){return bn.contains(De)});if(jt>=0){var ir=_e.keyCode.toString();if(_e.key.match(/Space|Enter/)||ir.match(/13|32/))De.click(),Mt=!0;else if(this.orientation==="horizontal"?_e.key.match(/ArrowLeft|ArrowRight/)||ir.match(/37|39/):_e.key.match(/ArrowUp|ArrowDown/)||ir.match(/38|40/)){var Cr=_e.key.match(/ArrowLeft|ArrowUp/)||ir.match(/37|38/)?-1:1,Kr=this.titles.length,Qr=(jt+Kr+Cr)%Kr;this.titles[Qr].focus(),Mt=!0}else _e.key==="End"||ir==="35"?(this.titles[this.titles.length-1].focus(),Mt=!0):(_e.key==="Home"||ir==="36")&&(this.titles[0].focus(),Mt=!0)}Mt&&_e.preventDefault()}}},ze.prototype._toggleExpansion=function(_e){var De=this.titles[_e],Mt=this.layout.widgets[_e],jt=this._computeWidgetSize(_e);jt&&this.setRelativeSizes(jt,!1),Mt.isHidden?(De.classList.add("lm-mod-expanded"),De.setAttribute("aria-expanded","true"),Mt.show()):(De.classList.remove("lm-mod-expanded"),De.setAttribute("aria-expanded","false"),Mt.hide())},ze}(Xy);(function(Je){var ze=function(_e){yf(De,_e);function De(){var Mt=_e.call(this)||this;return Mt.titleClassName="lm-AccordionPanel-title",Mt._titleID=0,Mt._titleKeys=new WeakMap,Mt._uuid=++De._nInstance,Mt}return De.prototype.createCollapseIcon=function(Mt){return document.createElement("span")},De.prototype.createSectionTitle=function(Mt){var jt=document.createElement("h3");jt.setAttribute("role","button"),jt.setAttribute("tabindex","0"),jt.id=this.createTitleKey(Mt),jt.className=this.titleClassName;for(var ir in Mt.dataset)jt.dataset[ir]=Mt.dataset[ir];var Cr=jt.appendChild(this.createCollapseIcon(Mt));Cr.className="lm-AccordionPanel-titleCollapser";var Kr=jt.appendChild(document.createElement("span"));return Kr.className="lm-AccordionPanel-titleLabel",Kr.textContent=Mt.label,Kr.title=Mt.caption||Mt.label,jt},De.prototype.createTitleKey=function(Mt){var jt=this._titleKeys.get(Mt);return jt===void 0&&(jt="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(Mt,jt)),jt},De._nInstance=0,De}(Xy.Renderer);Je.Renderer=ze,Je.defaultRenderer=new ze})(kw||(kw={}));var Lw;(function(Je){function ze(_e){return _e.layout||new qO({renderer:_e.renderer||kw.defaultRenderer,orientation:_e.orientation,alignment:_e.alignment,spacing:_e.spacing,titleSpace:_e.titleSpace})}Je.createLayout=ze})(Lw||(Lw={}));var sv=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this)||this;return De._fixed=0,De._spacing=4,De._dirty=!1,De._sizers=[],De._items=[],De._box=null,De._alignment="start",De._direction="top-to-bottom",_e.direction!==void 0&&(De._direction=_e.direction),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"direction",{get:function(){return this._direction},set:function(_e){this._direction!==_e&&(this._direction=_e,this.parent&&(this.parent.dataset.direction=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"alignment",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){Wa.insert(this._items,_e,new Zy(De)),Wa.insert(this._sizers,_e,new Cp),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=this._items.length;De0)switch(this._alignment){case"start":break;case"center":an=0,Jr=In/2;break;case"end":an=0,Jr=In;break;case"justify":an=In/Mt,Jr=0;break;default:throw"unreachable"}for(var jt=0,ir=this._items.length;jt=jt.length)Mt.scrollTop=0;else{var Ti=Mt.children[Kr];Eu.scrollIntoViewIfNeeded(Mt,Ti)}},ze.prototype._evtClick=function(_e){if(_e.button===0){if(_e.target.classList.contains("lm-close-icon")){this.inputNode.value="",this.refresh();return}var De=Wa.findFirstIndex(this.contentNode.children,function(Mt){return Mt.contains(_e.target)});De!==-1&&(_e.preventDefault(),_e.stopPropagation(),this._execute(De))}},ze.prototype._evtKeyDown=function(_e){if(!(_e.altKey||_e.ctrlKey||_e.metaKey||_e.shiftKey))switch(_e.keyCode){case 13:_e.preventDefault(),_e.stopPropagation(),this._execute(this._activeIndex);break;case 38:_e.preventDefault(),_e.stopPropagation(),this._activatePreviousItem();break;case 40:_e.preventDefault(),_e.stopPropagation(),this._activateNextItem();break}},ze.prototype._activateNextItem=function(){if(!(!this._results||this._results.length===0)){var _e=this._activeIndex,De=this._results.length,Mt=_e=this._items.length)&&(_e=-1),_e!==-1&&!md.canActivate(this._items[_e])&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),ze.prototype.activateNextItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<_e-1?De+1:0,jt=Mt===0?_e-1:Mt-1;this.activeIndex=Wa.findFirstIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.activatePreviousItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<=0?_e-1:De-1,jt=Mt===_e-1?0:Mt+1;this.activeIndex=Wa.findLastIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.triggerActiveItem=function(){if(this.isAttached){var _e=this.activeItem;if(_e){if(this._cancelOpenTimer(),this._cancelCloseTimer(),_e.type==="submenu"){this._openChildMenu(!0);return}this.rootMenu.close();var De=_e.command,Mt=_e.args;this.commands.isEnabled(De,Mt)?this.commands.execute(De,Mt):console.log("Command '"+De+"' is disabled.")}}},ze.prototype.addItem=function(_e){return this.insertItem(this._items.length,_e)},ze.prototype.insertItem=function(_e,De){this.isAttached&&this.close(),this.activeIndex=-1;var Mt=Math.max(0,Math.min(_e,this._items.length)),jt=md.createItem(this,De);return Wa.insert(this._items,Mt,jt),this.update(),jt},ze.prototype.removeItem=function(_e){this.removeItemAt(this._items.indexOf(_e))},ze.prototype.removeItemAt=function(_e){this.isAttached&&this.close(),this.activeIndex=-1;var De=Wa.removeAt(this._items,_e);De&&this.update()},ze.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,this._items.length!==0&&(this._items.length=0,this.update())},ze.prototype.open=function(_e,De,Mt){if(Mt===void 0&&(Mt={}),!this.isAttached){var jt=Mt.forceX||!1,ir=Mt.forceY||!1;md.openRootMenu(this,_e,De,jt,ir),this.activate()}},ze.prototype.handleEvent=function(_e){switch(_e.type){case"keydown":this._evtKeyDown(_e);break;case"mouseup":this._evtMouseUp(_e);break;case"mousemove":this._evtMouseMove(_e);break;case"mouseenter":this._evtMouseEnter(_e);break;case"mouseleave":this._evtMouseLeave(_e);break;case"mousedown":this._evtMouseDown(_e);break;case"contextmenu":_e.preventDefault(),_e.stopPropagation();break}},ze.prototype.onBeforeAttach=function(_e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},ze.prototype.onAfterDetach=function(_e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},ze.prototype.onActivateRequest=function(_e){this.isAttached&&this.node.focus()},ze.prototype.onUpdateRequest=function(_e){for(var De=this,Mt=this._items,jt=this.renderer,ir=this._activeIndex,Cr=md.computeCollapsed(Mt),Kr=new Array(Mt.length),Qr=function(an,Jr){var Er=Mt[an],ke=an===ir,Pn=Cr[an];Kr[an]=jt.renderItem({item:Er,active:ke,collapsed:Pn,onfocus:function(){De.activeIndex=an}})},bn=0,In=Mt.length;bn=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},Qr);return[Cr,bn,Kr]},_e.prototype.formatShortcut=function(De){var Mt=De.item.keyBinding;return Mt?Dg.formatKeystroke(Mt.keys):null},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(Og||(Og={}));var md;(function(Je){Je.TIMER_DELAY=300,Je.SUBMENU_OVERLAP=3;var ze=null,_e=0;function De(){return _e>0?(_e--,ze):bn()}function Mt(){ze=bn(),_e++}Je.saveWindowData=Mt;function jt(){var ke=document.createElement("div"),Pn=document.createElement("ul");return Pn.className="lm-Menu-content",Pn.classList.add("p-Menu-content"),ke.appendChild(Pn),Pn.setAttribute("role","menu"),ke.tabIndex=0,ke}Je.createNode=jt;function ir(ke){return ke.type!=="separator"&&ke.isEnabled&&ke.isVisible}Je.canActivate=ir;function Cr(ke,Pn){return new Er(ke.commands,Pn)}Je.createItem=Cr;function Kr(ke,Pn,Ti){for(var Ei=ke;Ei;Ei=Ei.childMenu)if(Eu.hitTest(Ei.node,Pn,Ti))return!0;return!1}Je.hitTestMenus=Kr;function Qr(ke){var Pn=new Array(ke.length);Wa.fill(Pn,!1);for(var Ti=0,Ei=ke.length;Ti=0;--Xi){var hi=ke[Xi];if(hi.isVisible){if(hi.type!=="separator")break;Pn[Xi]=!0}}for(var ra=!1;++Tira+Ii&&(Pn=ra+Ii-Vn),!hi&&Ti+Bi>_i+Ki&&(Ti>_i+Ki?Ti=_i+Ki-Bi:Ti=Ti-Bi),Yn.transform="translate("+Math.max(0,Pn)+"px, "+Math.max(0,Ti)+"px",Yn.opacity="1"}Je.openRootMenu=In;function an(ke,Pn){var Ti=De(),Ei=Ti.pageXOffset,hi=Ti.pageYOffset,Xi=Ti.clientWidth,ra=Ti.clientHeight;go.sendMessage(ke,So.Msg.UpdateRequest);var _i=ra,Ii=ke.node,Ki=Ii.style;Ki.opacity="0",Ki.maxHeight=_i+"px",So.attach(ke,document.body);var $n=Ii.getBoundingClientRect(),Kn=$n.width,Yn=$n.height,Hi=Eu.boxSizing(ke.node),Vn=Pn.getBoundingClientRect(),Bi=Vn.right-Je.SUBMENU_OVERLAP;Bi+Kn>Ei+Xi&&(Bi=Vn.left+Je.SUBMENU_OVERLAP-Kn);var Oa=Vn.top-Hi.borderTop-Hi.paddingTop;Oa+Yn>hi+ra&&(Oa=Vn.bottom+Hi.borderBottom+Hi.paddingBottom-Yn),Ki.transform="translate("+Math.max(0,Bi)+"px, "+Math.max(0,Oa)+"px",Ki.opacity="1"}Je.openSubmenu=an;function Jr(ke,Pn,Ti){for(var Ei=-1,hi=-1,Xi=!1,ra=Pn.toUpperCase(),_i=0,Ii=ke.length;_i=0&&Yn=this._titles.length)&&(_e=-1),this._currentIndex!==_e){var De=this._currentIndex,Mt=this._titles[De]||null,jt=_e,ir=this._titles[jt]||null;this._currentIndex=jt,this._previousTitle=Mt,this.update(),this._currentChanged.emit({previousIndex:De,previousTitle:Mt,currentIndex:jt,currentTitle:ir})}},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"name",{get:function(){return this._name},set:function(_e){this._name=_e,_e?this.contentNode.setAttribute("aria-label",_e):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"orientation",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._releaseMouse(),this._orientation=_e,this.dataset.orientation=_e,this.contentNode.setAttribute("aria-orientation",_e))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(_e){this._addButtonEnabled!==_e&&(this._addButtonEnabled=_e,_e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),ze.prototype.addTab=function(_e){return this.insertTab(this._titles.length,_e)},ze.prototype.insertTab=function(_e,De){this._releaseMouse();var Mt=qd.asTitle(De),jt=this._titles.indexOf(Mt),ir=Math.max(0,Math.min(_e,this._titles.length));return jt===-1?(Wa.insert(this._titles,ir,Mt),Mt.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(ir,Mt),Mt):(ir===this._titles.length&&ir--,jt===ir||(Wa.move(this._titles,jt,ir),this.update(),this._adjustCurrentForMove(jt,ir)),Mt)},ze.prototype.removeTab=function(_e){this.removeTabAt(this._titles.indexOf(_e))},ze.prototype.removeTabAt=function(_e){this._releaseMouse();var De=Wa.removeAt(this._titles,_e);De&&(De.changed.disconnect(this._onTitleChanged,this),De===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(_e,De))},ze.prototype.clearTabs=function(){if(this._titles.length!==0){this._releaseMouse();for(var _e=0,De=this._titles;_e0&&ir.children[0].focus()}}}},ze.prototype._evtKeyDown=function(_e){_e.preventDefault(),_e.stopPropagation(),_e.keyCode===27&&this._releaseMouse()},ze.prototype._evtMouseDown=function(_e){if(!(_e.button!==0&&_e.button!==1)&&!this._dragData){var De=this.addButtonEnabled&&this.addButtonNode.contains(_e.target),Mt=this.contentNode.children,jt=Wa.findFirstIndex(Mt,function(Cr){return Eu.hitTest(Cr,_e.clientX,_e.clientY)});if(!(jt===-1&&!De)&&(_e.preventDefault(),_e.stopPropagation(),this._dragData={tab:Mt[jt],index:jt,pressX:_e.clientX,pressY:_e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),!(_e.button===1||De))){var ir=Mt[jt].querySelector(this.renderer.closeIconSelector);ir&&ir.contains(_e.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===jt?this.currentIndex=-1:this.currentIndex=jt,this.currentIndex!==-1&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},ze.prototype._evtMouseMove=function(_e){var De=this._dragData;if(De){_e.preventDefault(),_e.stopPropagation();var Mt=this.contentNode.children;if(!(!De.dragActive&&!qd.dragExceeded(De,_e))){if(!De.dragActive){var jt=De.tab.getBoundingClientRect();this._orientation==="horizontal"?(De.tabPos=De.tab.offsetLeft,De.tabSize=jt.width,De.tabPressPos=De.pressX-jt.left):(De.tabPos=De.tab.offsetTop,De.tabSize=jt.height,De.tabPressPos=De.pressY-jt.top),De.tabLayout=qd.snapTabLayout(Mt,this._orientation),De.contentRect=this.contentNode.getBoundingClientRect(),De.override=Sp.overrideCursor("default"),De.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),De.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),De.dragActive=!0}if(!De.detachRequested&&qd.detachExceeded(De,_e)){De.detachRequested=!0;var ir=De.index,Cr=_e.clientX,Kr=_e.clientY,Qr=Mt[ir],bn=this._titles[ir];if(this._tabDetachRequested.emit({index:ir,title:bn,tab:Qr,clientX:Cr,clientY:Kr}),De.dragAborted)return}qd.layoutTabs(Mt,De,_e,this._orientation)}}},ze.prototype._evtMouseUp=function(_e){var De=this;if(!(_e.button!==0&&_e.button!==1)){var Mt=this._dragData;if(Mt){if(_e.preventDefault(),_e.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!Mt.dragActive){this._dragData=null;var jt=this.addButtonEnabled&&this.addButtonNode.contains(_e.target);if(jt){this._addRequested.emit(void 0);return}var ir=this.contentNode.children,Cr=Wa.findFirstIndex(ir,function(In){return Eu.hitTest(In,_e.clientX,_e.clientY)});if(Cr!==Mt.index)return;var Kr=this._titles[Cr];if(!Kr.closable)return;if(_e.button===1){this._tabCloseRequested.emit({index:Cr,title:Kr});return}var Qr=ir[Cr].querySelector(this.renderer.closeIconSelector);if(Qr&&Qr.contains(_e.target)){this._tabCloseRequested.emit({index:Cr,title:Kr});return}return}if(_e.button===0){qd.finalizeTabPosition(Mt,this._orientation),Mt.tab.classList.remove("lm-mod-dragging"),Mt.tab.classList.remove("p-mod-dragging");var bn=qd.parseTransitionDuration(Mt.tab);setTimeout(function(){if(!Mt.dragAborted){De._dragData=null,qd.resetTabPositions(De.contentNode.children,De._orientation),Mt.override.dispose(),De.removeClass("lm-mod-dragging"),De.removeClass("p-mod-dragging");var In=Mt.index,an=Mt.targetIndex;an===-1||In===an||(Wa.move(De._titles,In,an),De._adjustCurrentForMove(In,an),De._tabMoved.emit({fromIndex:In,toIndex:an,title:De._titles[an]}),go.sendMessage(De,So.Msg.UpdateRequest))}},bn)}}}},ze.prototype._releaseMouse=function(){var _e=this._dragData;_e&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),_e.dragAborted=!0,_e.dragActive&&(qd.resetTabPositions(this.contentNode.children,this._orientation),_e.override.dispose(),_e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),_e.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},ze.prototype._adjustCurrentForInsert=function(_e,De){var Mt=this.currentTitle,jt=this._currentIndex,ir=this.insertBehavior;if(ir==="select-tab"||ir==="select-tab-if-needed"&&jt===-1){this._currentIndex=_e,this._previousTitle=Mt,this._currentChanged.emit({previousIndex:jt,previousTitle:Mt,currentIndex:_e,currentTitle:De});return}jt>=_e&&this._currentIndex++},ze.prototype._adjustCurrentForMove=function(_e,De){this._currentIndex===_e?this._currentIndex=De:this._currentIndex<_e&&this._currentIndex>=De?this._currentIndex++:this._currentIndex>_e&&this._currentIndex<=De&&this._currentIndex--},ze.prototype._adjustCurrentForRemove=function(_e,De){var Mt=this._currentIndex,jt=this.removeBehavior;if(Mt!==_e){Mt>_e&&this._currentIndex--;return}if(this._titles.length===0){this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null});return}if(jt==="select-tab-after"){this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt==="select-tab-before"){this._currentIndex=Math.max(0,_e-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt==="select-previous-tab"){this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null})},ze.prototype._onTitleChanged=function(_e){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++_e._nInstance}return _e.prototype.renderTab=function(De){var Mt=De.title.caption,jt=this.createTabKey(De),ir=jt,Cr=this.createTabStyle(De),Kr=this.createTabClass(De),Qr=this.createTabDataset(De),bn=this.createTabARIA(De);return De.title.closable?_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De),this.renderCloseIcon(De)):_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=De.title,jt=this.createIconClass(De);return typeof Mt.icon=="string"?_u.div({className:jt},Mt.iconLabel):_u.div({className:jt},Mt.icon,Mt.iconLabel)},_e.prototype.renderLabel=function(De){return _u.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},De.title.label)},_e.prototype.renderCloseIcon=function(De){return _u.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},_e.prototype.createTabKey=function(De){var Mt=this._tabKeys.get(De.title);return Mt===void 0&&(Mt="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(De.title,Mt)),Mt},_e.prototype.createTabStyle=function(De){return{zIndex:""+De.zIndex}},_e.prototype.createTabClass=function(De){var Mt="lm-TabBar-tab";return Mt+=" p-TabBar-tab",De.title.className&&(Mt+=" "+De.title.className),De.title.closable&&(Mt+=" lm-mod-closable",Mt+=" p-mod-closable"),De.current&&(Mt+=" lm-mod-current",Mt+=" p-mod-current"),Mt},_e.prototype.createTabDataset=function(De){return De.title.dataset},_e.prototype.createTabARIA=function(De){return{role:"tab","aria-selected":De.current.toString()}},_e.prototype.createIconClass=function(De){var Mt="lm-TabBar-tabIcon";Mt+=" p-TabBar-tabIcon";var jt=De.title.iconClass;return jt?Mt+" "+jt:Mt},_e._nInstance=0,_e}();Je.Renderer=ze,Je.defaultRenderer=new ze,Je.addButtonSelector=".lm-TabBar-addButton"})(Bg||(Bg={}));var qd;(function(Je){Je.DRAG_THRESHOLD=5,Je.DETACH_THRESHOLD=20;function ze(){var bn=document.createElement("div"),In=document.createElement("ul");In.setAttribute("role","tablist"),In.className="lm-TabBar-content",In.classList.add("p-TabBar-content"),bn.appendChild(In);var an=document.createElement("div");return an.className="lm-TabBar-addButton lm-mod-hidden",bn.appendChild(an),bn}Je.createNode=ze;function _e(bn){return bn instanceof Sw?bn:new Sw(bn)}Je.asTitle=_e;function De(bn){var In=window.getComputedStyle(bn);return 1e3*(parseFloat(In.transitionDuration)||0)}Je.parseTransitionDuration=De;function Mt(bn,In){for(var an=new Array(bn.length),Jr=0,Er=bn.length;Jr=Je.DRAG_THRESHOLD||Jr>=Je.DRAG_THRESHOLD}Je.dragExceeded=jt;function ir(bn,In){var an=bn.contentRect;return In.clientX=an.right+Je.DETACH_THRESHOLD||In.clientY=an.bottom+Je.DETACH_THRESHOLD}Je.detachExceeded=ir;function Cr(bn,In,an,Jr){var Er,ke,Pn,Ti;Jr==="horizontal"?(Er=In.pressX,ke=an.clientX-In.contentRect.left,Pn=an.clientX,Ti=In.contentRect.width):(Er=In.pressY,ke=an.clientY-In.contentRect.top,Pn=an.clientY,Ti=In.contentRect.height);for(var Ei=In.index,hi=ke-In.tabPressPos,Xi=hi+In.tabSize,ra=0,_i=bn.length;ra<_i;++ra){var Ii=void 0,Ki=In.tabLayout[ra],$n=Ki.pos+(Ki.size>>1);if(raIn.index&&Xi>$n)Ii=-In.tabSize-Ki.margin+"px",Ei=Math.max(Ei,ra);else if(ra===In.index){var Kn=Pn-Er,Yn=Ti-(In.tabPos+In.tabSize);Ii=Math.max(-In.tabPos,Math.min(Kn,Yn))+"px"}else Ii="";Jr==="horizontal"?bn[ra].style.left=Ii:bn[ra].style.top=Ii}In.targetIndex=Ei}Je.layoutTabs=Cr;function Kr(bn,In){var an;In==="horizontal"?an=bn.contentRect.width:an=bn.contentRect.height;var Jr;if(bn.targetIndex===bn.index)Jr=0;else if(bn.targetIndex>bn.index){var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos+Er.size-bn.tabSize-bn.tabPos}else{var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos-bn.tabPos}var ke=an-(bn.tabPos+bn.tabSize),Pn=Math.max(-bn.tabPos,Math.min(Jr,ke));In==="horizontal"?bn.tab.style.left=Pn+"px":bn.tab.style.top=Pn+"px"}Je.finalizeTabPosition=Kr;function Qr(bn,In){Os(bn,function(an){In==="horizontal"?an.style.left="":an.style.top=""})}Je.resetTabPositions=Qr})(qd||(qd={}));var HO=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De._spacing=4,De._dirty=!1,De._root=null,De._box=null,De._items=new Map,De.renderer=_e.renderer,_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De._document=_e.document||document,De._hiddenMode=_e.hiddenMode!==void 0?_e.hiddenMode:So.HiddenMode.Display,De}return ze.prototype.dispose=function(){var _e=this.iter();this._items.forEach(function(De){De.dispose()}),this._box=null,this._root=null,this._items.clear(),Os(_e,function(De){De.dispose()}),Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(_e){var De=this;this._hiddenMode!==_e&&(this._hiddenMode=_e,Os(this.tabBars(),function(Mt){Mt.titles.length>1&&Mt.titles.forEach(function(jt){jt.owner.hiddenMode=De._hiddenMode})}))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"isEmpty",{get:function(){return this._root===null},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return this._root?this._root.iterAllWidgets():Id()},ze.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():Id()},ze.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():Id()},ze.prototype.tabBars=function(){return this._root?this._root.iterTabBars():Id()},ze.prototype.handles=function(){return this._root?this._root.iterHandles():Id()},ze.prototype.moveHandle=function(_e,De,Mt){var jt=_e.classList.contains("lm-mod-hidden");if(jt=jt||_e.classList.contains("p-mod-hidden"),!(!this._root||jt)){var ir=this._root.findSplitNode(_e);if(ir){var Cr;ir.node.orientation==="horizontal"?Cr=De-_e.offsetLeft:Cr=Mt-_e.offsetTop,Cr!==0&&(ir.node.holdSizes(),Dd.adjust(ir.node.sizers,ir.index,Cr),this.parent&&this.parent.update())}}},ze.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},ze.prototype.restoreLayout=function(_e){var De=this,Mt=new Set,jt;_e.main?jt=ah.normalizeAreaConfig(_e.main,Mt):jt=null;var ir=this.widgets(),Cr=this.tabBars(),Kr=this.handles();this._root=null,Os(ir,function(Qr){Mt.has(Qr)||(Qr.parent=null)}),Os(Cr,function(Qr){Qr.dispose()}),Os(Kr,function(Qr){Qr.parentNode&&Qr.parentNode.removeChild(Qr)}),Mt.forEach(function(Qr){Qr.parent=De.parent}),jt?this._root=ah.realizeAreaConfig(jt,{createTabBar:function(Qr){return De._createTabBar()},createHandle:function(){return De._createHandle()}},this._document):this._root=null,this.parent&&(Mt.forEach(function(Qr){De.attachWidget(Qr)}),this.parent.fit())},ze.prototype.addWidget=function(_e,De){De===void 0&&(De={});var Mt=De.ref||null,jt=De.mode||"tab-after",ir=null;if(this._root&&Mt&&(ir=this._root.findTabNode(Mt)),Mt&&!ir)throw new Error("Reference widget is not in the layout.");switch(_e.parent=this.parent,jt){case"tab-after":this._insertTab(_e,Mt,ir,!0);break;case"tab-before":this._insertTab(_e,Mt,ir,!1);break;case"split-top":this._insertSplit(_e,Mt,ir,"vertical",!1);break;case"split-left":this._insertSplit(_e,Mt,ir,"horizontal",!1);break;case"split-right":this._insertSplit(_e,Mt,ir,"horizontal",!0);break;case"split-bottom":this._insertSplit(_e,Mt,ir,"vertical",!0);break}this.parent&&(this.attachWidget(_e),this.parent.fit())},ze.prototype.removeWidget=function(_e){this._removeWidget(_e),this.parent&&(this.detachWidget(_e),this.parent.fit())},ze.prototype.hitTestTabAreas=function(_e,De){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=Eu.boxSizing(this.parent.node));var Mt=this.parent.node.getBoundingClientRect(),jt=_e-Mt.left-this._box.borderLeft,ir=De-Mt.top-this._box.borderTop,Cr=this._root.hitTestTabNodes(jt,ir);if(!Cr)return null;var Kr=Cr.tabBar,Qr=Cr.top,bn=Cr.left,In=Cr.width,an=Cr.height,Jr=this._box.borderLeft+this._box.borderRight,Er=this._box.borderTop+this._box.borderBottom,ke=Mt.width-Jr-(bn+In),Pn=Mt.height-Er-(Qr+an);return{tabBar:Kr,x:jt,y:ir,top:Qr,left:bn,right:ke,bottom:Pn,width:In,height:an}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)}),Os(this.handles(),function(De){_e.parent.node.appendChild(De)}),this.parent.fit()},ze.prototype.attachWidget=function(_e){this.parent.node!==_e.node.parentNode&&(this._items.set(_e,new Zy(_e)),this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach))},ze.prototype.detachWidget=function(_e){if(this.parent.node===_e.node.parentNode){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach);var De=this._items.get(_e);De&&(this._items.delete(_e),De.dispose())}},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._removeWidget=function(_e){if(this._root){var De=this._root.findTabNode(_e);if(De){if(ah.removeAria(_e),De.tabBar.titles.length>1){if(De.tabBar.removeTab(_e.title),this._hiddenMode===So.HiddenMode.Scale&&De.tabBar.titles.length==1){var Mt=De.tabBar.titles[0].owner;Mt.hiddenMode=So.HiddenMode.Display}return}if(De.tabBar.dispose(),this._root===De){this._root=null;return}this._root.holdAllSizes();var jt=De.parent;De.parent=null;var ir=Wa.removeFirstOf(jt.children,De),Cr=Wa.removeAt(jt.handles,ir);if(Wa.removeAt(jt.sizers,ir),Cr.parentNode&&Cr.parentNode.removeChild(Cr),jt.children.length>1){jt.syncHandles();return}var Kr=jt.parent;jt.parent=null;var Qr=jt.children[0],bn=jt.handles[0];if(jt.children.length=0,jt.handles.length=0,jt.sizers.length=0,bn.parentNode&&bn.parentNode.removeChild(bn),this._root===jt){Qr.parent=null,this._root=Qr;return}var In=Kr,an=In.children.indexOf(jt);if(Qr instanceof ah.TabLayoutNode){Qr.parent=In,In.children[an]=Qr;return}var Jr=Wa.removeAt(In.handles,an);Wa.removeAt(In.children,an),Wa.removeAt(In.sizers,an),Jr.parentNode&&Jr.parentNode.removeChild(Jr);for(var Er=0,ke=Qr.children.length;Er=this._left+this._width||Er=this._top+this._height?null:this},an.prototype.createConfig=function(){var Jr=this.tabBar.titles.map(function(ke){return ke.owner}),Er=this.tabBar.currentIndex;return{type:"tab-area",widgets:Jr,currentIndex:Er}},an.prototype.holdAllSizes=function(){},an.prototype.fit=function(Jr,Er){var ke=0,Pn=0,Ti=1/0,Ei=1/0,hi=Er.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Er.get(Xi.owner):void 0,_i=this.sizers,Ii=_i[0],Ki=_i[1];return hi&&hi.fit(),ra&&ra.fit(),hi&&!hi.isHidden?(ke=Math.max(ke,hi.minWidth),Pn+=hi.minHeight,Ii.minSize=hi.minHeight,Ii.maxSize=hi.maxHeight):(Ii.minSize=0,Ii.maxSize=0),ra&&!ra.isHidden?(ke=Math.max(ke,ra.minWidth),Pn+=ra.minHeight,Ki.minSize=ra.minHeight,Ki.maxSize=1/0):(Ki.minSize=0,Ki.maxSize=1/0),{minWidth:ke,minHeight:Pn,maxWidth:Ti,maxHeight:Ei}},an.prototype.update=function(Jr,Er,ke,Pn,Ti,Ei){this._top=Er,this._left=Jr,this._width=ke,this._height=Pn;var hi=Ei.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Ei.get(Xi.owner):void 0;if(Dd.calc(this.sizers,Pn),hi&&!hi.isHidden){var _i=this.sizers[0].size;hi.update(Jr,Er,ke,_i),Er+=_i}if(ra&&!ra.isHidden){var _i=this.sizers[1].size;ra.update(Jr,Er,ke,_i)}},an}();Je.TabLayoutNode=Mt;var jt=function(){function an(Jr){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=Jr}return an.prototype.iterAllWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterAllWidgets()});return new wm(Jr)},an.prototype.iterUserWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterUserWidgets()});return new wm(Jr)},an.prototype.iterSelectedWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterSelectedWidgets()});return new wm(Jr)},an.prototype.iterTabBars=function(){var Jr=Ap(this.children,function(Er){return Er.iterTabBars()});return new wm(Jr)},an.prototype.iterHandles=function(){var Jr=Ap(this.children,function(Er){return Er.iterHandles()});return pw(this.handles,new wm(Jr))},an.prototype.findTabNode=function(Jr){for(var Er=0,ke=this.children.length;Er=Er.length)&&(ke=0),{type:"tab-area",widgets:Er,currentIndex:ke}}function Qr(an,Jr){for(var Er=an.orientation,ke=[],Pn=[],Ti=0,Ei=an.children.length;Tira&&Ei>ra&&Ti>_i&&hi>_i)return{zone:"widget-all",target:ke};Pn/=ra,Ti/=_i,Ei/=ra,hi/=_i;var Ii=Math.min(Pn,Ti,Ei,hi),Ki;switch(Ii){case Pn:Ki="widget-left";break;case Ti:Ki="widget-top";break;case Ei:Ki="widget-right";break;case hi:Ki="widget-bottom";break;default:throw"unreachable"}return{zone:Ki,target:ke}}Je.findDropTarget=_e;function De(Mt){return Mt.titles.length===0?null:Mt.currentTitle?Mt.currentTitle.owner:Mt.titles[Mt.titles.length-1].owner}Je.getDropRef=De})(Pf||(Pf={}));var WB=function(){function Je(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new Kl(this),this._currentChanged=new Kl(this)}return Je.prototype.dispose=function(){var ze=this;this._counter<0||(this._counter=-1,Kl.clearData(this),Os(this._widgets,function(_e){_e.node.removeEventListener("focus",ze,!0),_e.node.removeEventListener("blur",ze,!0)}),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(Je.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),Je.prototype.focusNumber=function(ze){var _e=this._numbers.get(ze);return _e===void 0?-1:_e},Je.prototype.has=function(ze){return this._numbers.has(ze)},Je.prototype.add=function(ze){if(!this._numbers.has(ze)){var _e=ze.node.contains(document.activeElement),De=_e?this._counter++:-1;this._widgets.push(ze),this._numbers.set(ze,De),this._nodes.set(ze.node,ze),ze.node.addEventListener("focus",this,!0),ze.node.addEventListener("blur",this,!0),ze.disposed.connect(this._onWidgetDisposed,this),_e&&this._setWidgets(ze,ze)}},Je.prototype.remove=function(ze){var _e=this;if(this._numbers.has(ze)&&(ze.disposed.disconnect(this._onWidgetDisposed,this),ze.node.removeEventListener("focus",this,!0),ze.node.removeEventListener("blur",this,!0),Wa.removeFirstOf(this._widgets,ze),this._nodes.delete(ze.node),this._numbers.delete(ze),this._currentWidget===ze)){var De=RS(this._widgets,function(jt){return _e._numbers.get(jt)!==-1}),Mt=DS(De,function(jt,ir){var Cr=_e._numbers.get(jt),Kr=_e._numbers.get(ir);return Cr-Kr})||null;this._setWidgets(Mt,null)}},Je.prototype.handleEvent=function(ze){switch(ze.type){case"focus":this._evtFocus(ze);break;case"blur":this._evtBlur(ze);break}},Je.prototype._setWidgets=function(ze,_e){var De=this._currentWidget;this._currentWidget=ze;var Mt=this._activeWidget;this._activeWidget=_e,De!==ze&&this._currentChanged.emit({oldValue:De,newValue:ze}),Mt!==_e&&this._activeChanged.emit({oldValue:Mt,newValue:_e})},Je.prototype._evtFocus=function(ze){var _e=this._nodes.get(ze.currentTarget);_e!==this._currentWidget&&this._numbers.set(_e,this._counter++),this._setWidgets(_e,_e)},Je.prototype._evtBlur=function(ze){var _e=this._nodes.get(ze.currentTarget),De=ze.relatedTarget;if(!De){this._setWidgets(this._currentWidget,null);return}if(!_e.node.contains(De)&&!Pg(this._widgets,function(Mt){return Mt.node.contains(De)})){this._setWidgets(this._currentWidget,null);return}},Je.prototype._onWidgetDisposed=function(ze){this.remove(ze)},Je}(),Iw=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,_e)||this;return De._dirty=!1,De._rowSpacing=4,De._columnSpacing=4,De._items=[],De._rowStarts=[],De._columnStarts=[],De._rowSizers=[new Cp],De._columnSizers=[new Cp],De._box=null,_e.rowCount!==void 0&&_h.reallocSizers(De._rowSizers,_e.rowCount),_e.columnCount!==void 0&&_h.reallocSizers(De._columnSizers,_e.columnCount),_e.rowSpacing!==void 0&&(De._rowSpacing=_h.clampValue(_e.rowSpacing)),_e.columnSpacing!==void 0&&(De._columnSpacing=_h.clampValue(_e.columnSpacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){var De=_e.widget;_e.dispose(),De.dispose()}),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(_e){_e!==this.rowCount&&(_h.reallocSizers(this._rowSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(_e){_e!==this.columnCount&&(_h.reallocSizers(this._columnSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(_e){_e=_h.clampValue(_e),this._rowSpacing!==_e&&(this._rowSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(_e){_e=_h.clampValue(_e),this._columnSpacing!==_e&&(this._columnSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.rowStretch=function(_e){var De=this._rowSizers[_e];return De?De.stretch:-1},ze.prototype.setRowStretch=function(_e,De){var Mt=this._rowSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.columnStretch=function(_e){var De=this._columnSizers[_e];return De?De.stretch:-1},ze.prototype.setColumnStretch=function(_e,De){var Mt=this._columnSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.iter=function(){return Ap(this._items,function(_e){return _e.widget})},ze.prototype.addWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(Mt){return Mt.widget===_e});De===-1&&(this._items.push(new Zy(_e)),this.parent&&this.attachWidget(_e))},ze.prototype.removeWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(jt){return jt.widget===_e});if(De!==-1){var Mt=Wa.removeAt(this._items,De);this.parent&&this.detachWidget(_e),Mt.dispose()}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)})},ze.prototype.attachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.detachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=this.rowCount;_eQr&&(Kr.length=Qr)}Je.reallocSizers=jt;function ir(Kr,Qr,bn,In){if(!(bn=In))for(var ke=(In-Jr)/(bn-Qr+1),Er=Qr;Er<=bn;++Er)Kr[Er].minSize+=ke}}Je.distributeMin=ir;function Cr(Kr){Kr.parent&&Kr.parent.layout instanceof Iw&&Kr.parent.fit()}})(_h||(_h={}));var HS=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,{node:Q1.createNode()})||this;return De._activeIndex=-1,De._tabFocusIndex=0,De._menus=[],De._childMenu=null,De.addClass("lm-MenuBar"),De.addClass("p-MenuBar"),De.setFlag(So.Flag.DisallowLayout),De.renderer=_e.renderer||ze.defaultRenderer,De._forceItemsPosition=_e.forceItemsPosition||{forceX:!0,forceY:!0},De}return ze.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(_e){this.activeIndex=_e?this._menus.indexOf(_e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(_e){(_e<0||_e>=this._menus.length)&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,_e!==-1&&(this._tabFocusIndex=_e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),ze.prototype.openActiveMenu=function(){this._activeIndex!==-1&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},ze.prototype.addMenu=function(_e){this.insertMenu(this._menus.length,_e)},ze.prototype.insertMenu=function(_e,De){this._closeChildMenu();var Mt=this._menus.indexOf(De),jt=Math.max(0,Math.min(_e,this._menus.length));if(Mt===-1){Wa.insert(this._menus,jt,De),De.addClass("lm-MenuBar-menu"),De.addClass("p-MenuBar-menu"),De.aboutToClose.connect(this._onMenuAboutToClose,this),De.menuRequested.connect(this._onMenuMenuRequested,this),De.title.changed.connect(this._onTitleChanged,this),this.update();return}jt===this._menus.length&&jt--,Mt!==jt&&(Wa.move(this._menus,Mt,jt),this.update())},ze.prototype.removeMenu=function(_e){this.removeMenuAt(this._menus.indexOf(_e))},ze.prototype.removeMenuAt=function(_e){this._closeChildMenu();var De=Wa.removeAt(this._menus,_e);De&&(De.aboutToClose.disconnect(this._onMenuAboutToClose,this),De.menuRequested.disconnect(this._onMenuMenuRequested,this),De.title.changed.disconnect(this._onTitleChanged,this),De.removeClass("lm-MenuBar-menu"),De.removeClass("p-MenuBar-menu"),this.update())},ze.prototype.clearMenus=function(){if(this._menus.length!==0){this._closeChildMenu();for(var _e=0,De=this._menus;_e=0&&this._tabFocusIndex"u"||typeof Cr>"u")&&(De=this._positionForMenu(this._activeIndex),ir=De.left,Cr=De.top),jt||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),Mt.items.length>0&&Mt.open(ir,Cr,this._forceItemsPosition)}},ze.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var _e=this._childMenu;this._childMenu=null,_e.close(),this.activeIndex=-1}},ze.prototype._onMenuAboutToClose=function(_e){_e===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},ze.prototype._onMenuMenuRequested=function(_e,De){if(_e===this._childMenu){var Mt=this._activeIndex,jt=this._menus.length;switch(De){case"next":this.activeIndex=Mt===jt-1?0:Mt+1;break;case"previous":this.activeIndex=Mt===0?jt-1:Mt-1;break}this.openActiveMenu()}},ze.prototype._onTitleChanged=function(){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){}return _e.prototype.renderItem=function(De){var Mt=this.createItemClass(De),jt=this.createItemDataset(De),ir=this.createItemARIA(De);return _u.li(Fh({className:Mt,dataset:jt,tabindex:De.tabbable?"0":"-1",onfocus:De.onfocus},ir),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=this.createIconClass(De);return typeof De.title.icon=="string"?_u.div({className:Mt},De.title.iconLabel):_u.div({className:Mt},De.title.icon,De.title.iconLabel)},_e.prototype.renderLabel=function(De){var Mt=this.formatLabel(De);return _u.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},Mt)},_e.prototype.createItemClass=function(De){var Mt="lm-MenuBar-item";return Mt+=" p-MenuBar-item",De.title.className&&(Mt+=" "+De.title.className),De.active&&(Mt+=" lm-mod-active",Mt+=" p-mod-active"),Mt},_e.prototype.createItemDataset=function(De){return De.title.dataset},_e.prototype.createItemARIA=function(De){return{role:"menuitem","aria-haspopup":"true"}},_e.prototype.createIconClass=function(De){var Mt="lm-MenuBar-itemIcon";Mt+=" p-MenuBar-itemIcon";var jt=De.title.iconClass;return jt?Mt+" "+jt:Mt},_e.prototype.formatLabel=function(De){var Mt=De.title,jt=Mt.label,ir=Mt.mnemonic;if(ir<0||ir>=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},Qr);return[Cr,bn,Kr]},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(HS||(HS={}));var Q1;(function(Je){function ze(){var De=document.createElement("div"),Mt=document.createElement("ul");return Mt.className="lm-MenuBar-content",Mt.classList.add("p-MenuBar-content"),De.appendChild(Mt),Mt.setAttribute("role","menubar"),De}Je.createNode=ze;function _e(De,Mt,jt){for(var ir=-1,Cr=-1,Kr=!1,Qr=Mt.toUpperCase(),bn=0,In=De.length;bn=0&&Er1&&this.widgets.forEach(function(Mt){Mt.hiddenMode=De._hiddenMode}))},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,Je.prototype.dispose.call(this)},ze.prototype.attachWidget=function(_e,De){this._hiddenMode===So.HiddenMode.Scale&&this._items.length>0?(this._items.length===1&&(this.widgets[0].hiddenMode=So.HiddenMode.Scale),De.hiddenMode=So.HiddenMode.Scale):De.hiddenMode=So.HiddenMode.Display,Wa.insert(this._items,_e,new Zy(De)),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.widget.node.style.zIndex="",this._hiddenMode===So.HiddenMode.Scale&&(De.hiddenMode=So.HiddenMode.Display,this._items.length===1&&(this._items[0].widget.hiddenMode=So.HiddenMode.Display)),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=0,jt=this._items.length;Mt{ZS.default.react(this.node,this._data,this._plotly_layout,this._config)})}},YO={safe:!0,mimeTypes:[YS],createRenderer:Je=>new zw(Je)},KO={id:"@jupyterlab/plotly-extension:factory",rendererFactory:YO,rank:0,dataType:"json",fileTypes:[{name:"plotly",mimeTypes:[YS],extensions:[".plotly",".plotly.json"],iconClass:ZO}],documentWidgetFactoryOptions:{name:"Plotly",primaryFileType:"plotly",fileTypes:["plotly","json"],defaultFor:["plotly"]}},w7=KO; +/*! Bundled license information: + +plotly.js/dist/plotly.js: + (*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + *) + (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) + (*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + *) + (*! + * pad-left + * + * Copyright (c) 2014-2015, Jon Schlinkert. + * Licensed under the MIT license. + *) + (*! + * repeat-string + * + * Copyright (c) 2014-2015, Jon Schlinkert. + * Licensed under the MIT License. + *) + (*! Bundled license information: + + native-promise-only/lib/npo.src.js: + (*! Native Promise Only + v0.8.1 (c) Kyle Simpson + MIT License: http://getify.mit-license.org + *) + + polybooljs/index.js: + (* + * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc + * @license MIT + * @preserve Project Home: https://github.com/voidqk/polybooljs + *) + + ieee754/index.js: + (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) + + buffer/index.js: + (*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + *) + + safe-buffer/index.js: + (*! safe-buffer. MIT License. Feross Aboukhadijeh *) + + assert/build/internal/util/comparisons.js: + (*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + *) + + object-assign/index.js: + (* + object-assign + (c) Sindre Sorhus + @license MIT + *) + + maplibre-gl/dist/maplibre-gl.js: + (** + * MapLibre GL JS + * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.1/LICENSE.txt + *) + *) + +@lumino/messaging/dist/index.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) + +@lumino/disposable/dist/index.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) + +@lumino/commands/dist/index.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) + +@lumino/virtualdom/dist/index.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) + +@lumino/widgets/dist/index.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) +*/ + + +/***/ }), + +/***/ "./node_modules/process/browser.js": +/*!*****************************************!*\ + !*** ./node_modules/process/browser.js ***! + \*****************************************/ +/***/ ((module) => { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; +process.prependListener = noop; +process.prependOnceListener = noop; + +process.listeners = function (name) { return [] } + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }) + +}]); +//# sourceMappingURL=js_mimerenderer_js.55332f9c879f105c1219.js.map \ No newline at end of file diff --git a/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map b/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map new file mode 100644 index 00000000000..bacff7ea8f3 --- /dev/null +++ b/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js_mimerenderer_js.55332f9c879f105c1219.js","mappings":";;;;;;;;;;;;;;;;AAAA,qBAAqB,6BAA6B,uCAAuC,kCAAkC,gEAAgE,iCAAiC,WAAW,0BAA0B,uBAAuB,2GAA2G,yDAAyD,EAAE,WAAW,6CAA6C,6CAA6C,uBAAuB,UAAU,oBAAoB,iBAAiB,qEAAqE,wBAAU,+FAA+F,GAAG,kBAAkB,aAAa,+BAA+B,+BAA+B,kCAAkC,gBAAgB,iFAAiF,kBAAkB,gBAAgB,yBAAyB,cAAc,gBAAgB,uBAAuB,eAAe,mBAAmB,oBAAoB,2BAA2B,wBAAwB,6CAA6C,gBAAgB,gBAAgB,sCAAsC,eAAe,mBAAmB,oBAAoB,kCAAkC,0BAA0B,MAAM,oCAAoC,S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gB,2BAA2B,cAAc,KAAK,iBAAiB,+CAA+C,mBAAmB,gBAAgB,uCAAuC,+CAA+C,UAAU,gEAAgE,sBAAsB,aAAa;AACzrzH;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,IAAI,gBAAgB,sBAAsB,4BAA4B,IAAI;AAC3E;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,sBAAsB;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,IAAI,gBAAgB,sBAAsB,4BAA4B,IAAI;AAC3E;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC,IAAI,iBAAiB,sBAAsB,4BAA4B,EAAE,0BAA0B,IAAI,sBAAsB,aAAa,YAAY,wDAAwD,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A;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC,IAAI,cAAc,iCAAiC,4BAA4B,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,eAAe,iCAAiC,4BAA4B,EAAE,sBAAsB,EAAE,0BAA0B,GAAG,iBAAiB,WAAW,wvNAAwvN,sBAAsB,aAAa,sBAAsB,aAAa,sBAAsB,aAAa,YAAY,sEAAsE,oBAAoB,+RAA+R,kBAAkB,sBAAsB,qBAAqB,4BAA4B,qBAAqB,sCAAsC,qCAAqC,mBAAmB,sDAAsD,uEAAuE,qIAAqI,gBAAgB,YAAY,IAAI,6JAA6J,mBAAmB,gBAAgB,YAAY,IAAI,kEAAkE,iBA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eAAe,yBAAyB,IAAI,KAAK,uCAAuC,QAAQ,6CAA6C,qBAAqB;AAC1ma;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,6DAA6D;;AAE7D;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;;AAEA;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ACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC,QAAQ,4BAA4B,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,sBAAsB,KAAK,iCAAiC,IAAI,iCAAiC,IAAI,iCAAiC,IAAI,iCAAiC,IAAI,iCAAiC,IAAI,kCAAkC,gBAAgB,4BAA4B,qFAAqF,gCAAgC,cAAc,2BAA2B,cAAc,6BAA6B,cAAc,qCAAqC,cAAc,+BAA+B,cAAc,iCAAiC,eAAe,sBAAsB,aAAa,iJAAiJ,cAAc,sCAAsC,cAAc,8BAA8B,YAAY,iBAAi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A;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC,IAAI,cAAc,iCAAiC,4BAA4B,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,eAAe,iCAAiC,4BAA4B,EAAE,sBAAsB,EAAE,0BAA0B,GAAG,sBAAsB,aAAa,oFAAoF,0HAA0H,WAAW,KAAK,4BAA4B,qEAAqE,YAAY,IAAI,+BAA+B,0BAA0B,IAAI,KAAK,cAAc,8EAA8E,eAAe,oCAAoC,QAAQ,QAAQ,SAAS,SAAS,SAAS,SAAS,OAAO,iDAAiD,qBAAqB,gBAAgB,WAAW,kCAAkC,WAAW,iCAAiC,4BAA4B,kBAAkB,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A;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;A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AAsF,+BAA+B,qDAAqD,eAAe,0BAA0B,+BAA+B,gDAAgD,eAAe,iCAAiC,+BAA+B,sCAAsC,0CAA0C,2CAA2C,oJAAoJ,4BAA4B,8BAA8B,wBAAwB,mCAAmC,EAAE,4CAA4C,gDAAgD,0HAA0H,uDAAuD,oEAAoE,qCAAqC,iDAAiD,4BAA4B,sDAAsD,0BAA0B,mDAAmD,uBAAuB,0CAA0C,0DAA0D,+CAA+C,2GAA2G,IAAI,QAAQ,cAAc,gBAAgB,cAAc,+BAA+B,gBAAgB,cAAc,6BAA6B,QAAQ,sEAAsE,KAAK,uFAAuF,YAAY,GAAG,8GAA8G,gBAAgB,kGAAkG,gBAAgB,6BAA6B,wEAAwE,GAAG,KAAK,qDAAqD,KAAK,gGAAgG,gFAAgF,gCAAgC,0FAA0F,OAA4E;AAC/r40B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACx2HA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,MAAM;AACN;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;;AAEtC;AACA;AACA;;AAEA,4BAA4B;AAC5B;AACA;AACA;AACA,6BAA6B","sources":["webpack://plotly-jupyter-mime-renderer/./js/mimerenderer.js","webpack://plotly-jupyter-mime-renderer/./node_modules/process/browser.js"],"sourcesContent":["var SO=Object.create;var CS=Object.defineProperty;var EO=Object.getOwnPropertyDescriptor;var CO=Object.getOwnPropertyNames;var kO=Object.getPrototypeOf,LO=Object.prototype.hasOwnProperty;var kS=(Je,ze)=>()=>(ze||Je((ze={exports:{}}).exports,ze),ze.exports);var PO=(Je,ze,_e,De)=>{if(ze&&typeof ze==\"object\"||typeof ze==\"function\")for(let Mt of CO(ze))!LO.call(Je,Mt)&&Mt!==_e&&CS(Je,Mt,{get:()=>ze[Mt],enumerable:!(De=EO(ze,Mt))||De.enumerable});return Je};var dw=(Je,ze,_e)=>(_e=Je!=null?SO(kO(Je)):{},PO(ze||!Je||!Je.__esModule?CS(_e,\"default\",{value:Je,enumerable:!0}):_e,Je));var xw=kS((X1,US)=>{(function(Je,ze){typeof X1==\"object\"&&typeof US<\"u\"?ze(X1):typeof define==\"function\"&&define.amd?define([\"exports\"],ze):(Je=typeof globalThis<\"u\"?globalThis:Je||self,ze(Je.lumino_coreutils={}))})(X1,function(Je){\"use strict\";Je.JSONExt=void 0,function(ir){ir.emptyObject=Object.freeze({}),ir.emptyArray=Object.freeze([]);function Cr(Pn){return Pn===null||typeof Pn==\"boolean\"||typeof Pn==\"number\"||typeof Pn==\"string\"}ir.isPrimitive=Cr;function Kr(Pn){return Array.isArray(Pn)}ir.isArray=Kr;function Qr(Pn){return!Cr(Pn)&&!Kr(Pn)}ir.isObject=Qr;function bn(Pn,Ti){if(Pn===Ti)return!0;if(Cr(Pn)||Cr(Ti))return!1;var Ei=Kr(Pn),hi=Kr(Ti);return Ei!==hi?!1:Ei&&hi?an(Pn,Ti):Jr(Pn,Ti)}ir.deepEqual=bn;function In(Pn){return Cr(Pn)?Pn:Kr(Pn)?Er(Pn):ke(Pn)}ir.deepCopy=In;function an(Pn,Ti){if(Pn===Ti)return!0;if(Pn.length!==Ti.length)return!1;for(var Ei=0,hi=Pn.length;Ei>>0),ir[Kr]=Cr&255,Cr>>>=8}Je.Random=void 0,function(ir){ir.getRandomValues=function(){var Cr=typeof window<\"u\"&&(window.crypto||window.msCrypto)||null;return Cr&&typeof Cr.getRandomValues==\"function\"?function(Qr){return Cr.getRandomValues(Qr)}:Mt}()}(Je.Random||(Je.Random={}));function jt(ir){for(var Cr=new Uint8Array(16),Kr=new Array(256),Qr=0;Qr<16;++Qr)Kr[Qr]=\"0\"+Qr.toString(16);for(var Qr=16;Qr<256;++Qr)Kr[Qr]=Qr.toString(16);return function(){return ir(Cr),Cr[6]=64|Cr[6]&15,Cr[8]=128|Cr[8]&63,Kr[Cr[0]]+Kr[Cr[1]]+Kr[Cr[2]]+Kr[Cr[3]]+\"-\"+Kr[Cr[4]]+Kr[Cr[5]]+\"-\"+Kr[Cr[6]]+Kr[Cr[7]]+\"-\"+Kr[Cr[8]]+Kr[Cr[9]]+\"-\"+Kr[Cr[10]]+Kr[Cr[11]]+Kr[Cr[12]]+Kr[Cr[13]]+Kr[Cr[14]]+Kr[Cr[15]]}}Je.UUID=void 0,function(ir){ir.uuid4=jt(Je.Random.getRandomValues)}(Je.UUID||(Je.UUID={})),Je.MimeData=ze,Je.PromiseDelegate=_e,Je.Token=De,Object.defineProperty(Je,\"__esModule\",{value:!0})})});var XS=kS((WS,r_)=>{(function(Je,ze){typeof r_==\"object\"&&r_.exports?r_.exports=ze():Je.moduleName=ze()})(typeof self<\"u\"?self:WS,()=>{\"use strict\";var Je=(()=>{var ze=Object.create,_e=Object.defineProperty,De=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertyNames,Cr=Object.getOwnPropertySymbols,Kr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,In=(Z,H,g)=>H in Z?_e(Z,H,{enumerable:!0,configurable:!0,writable:!0,value:g}):Z[H]=g,an=(Z,H)=>{for(var g in H||(H={}))Qr.call(H,g)&&In(Z,g,H[g]);if(Cr)for(var g of Cr(H))bn.call(H,g)&&In(Z,g,H[g]);return Z},Jr=(Z,H)=>De(Z,jt(H)),Er=(Z,H)=>function(){return Z&&(H=(0,Z[ir(Z)[0]])(Z=0)),H},ke=(Z,H)=>function(){return H||(0,Z[ir(Z)[0]])((H={exports:{}}).exports,H),H.exports},Pn=(Z,H)=>{for(var g in H)_e(Z,g,{get:H[g],enumerable:!0})},Ti=(Z,H,g,x)=>{if(H&&typeof H==\"object\"||typeof H==\"function\")for(let A of ir(H))!Qr.call(Z,A)&&A!==g&&_e(Z,A,{get:()=>H[A],enumerable:!(x=Mt(H,A))||x.enumerable});return Z},Ei=(Z,H,g)=>(g=Z!=null?ze(Kr(Z)):{},Ti(H||!Z||!Z.__esModule?_e(g,\"default\",{value:Z,enumerable:!0}):g,Z)),hi=Z=>Ti(_e({},\"__esModule\",{value:!0}),Z),Xi=ke({\"src/version.js\"(Z){\"use strict\";Z.version=\"3.0.1\"}}),ra=ke({\"node_modules/native-promise-only/lib/npo.src.js\"(Z,H){(function(x,A,S){A[x]=A[x]||S(),typeof H<\"u\"&&H.exports&&(H.exports=A[x])})(\"Promise\",typeof window<\"u\"?window:Z,function(){\"use strict\";var x,A,S,e=Object.prototype.toString,t=typeof setImmediate<\"u\"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},\"x\",{}),x=function(_,w,M,E){return Object.defineProperty(_,w,{value:M,writable:!0,configurable:E!==!1})}}catch{x=function(w,M,E){return w[M]=E,w}}S=function(){var _,w,M;function E(m,b){this.fn=m,this.self=b,this.next=void 0}return{add:function(b,v){M=new E(b,v),w?w.next=M:_=M,w=M,M=void 0},drain:function(){var b=_;for(_=w=A=void 0;b;)b.fn.call(b.self),b=b.next}}}();function r(l,_){S.add(l,_),A||(A=t(S.drain))}function o(l){var _,w=typeof l;return l!=null&&(w==\"object\"||w==\"function\")&&(_=l.then),typeof _==\"function\"?_:!1}function n(){for(var l=0;l0&&r(n,w))}catch(M){s.call(new h(w),M)}}}function s(l){var _=this;_.triggered||(_.triggered=!0,_.def&&(_=_.def),_.msg=l,_.state=2,_.chain.length>0&&r(n,_))}function c(l,_,w,M){for(var E=0;E<_.length;E++)(function(b){l.resolve(_[b]).then(function(u){w(b,u)},M)})(E)}function h(l){this.def=l,this.triggered=!1}function p(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(l){if(typeof l!=\"function\")throw TypeError(\"Not a function\");if(this.__NPO__!==0)throw TypeError(\"Not a promise\");this.__NPO__=1;var _=new p(this);this.then=function(M,E){var m={success:typeof M==\"function\"?M:!0,failure:typeof E==\"function\"?E:!1};return m.promise=new this.constructor(function(v,u){if(typeof v!=\"function\"||typeof u!=\"function\")throw TypeError(\"Not a function\");m.resolve=v,m.reject=u}),_.chain.push(m),_.state!==0&&r(n,_),m.promise},this.catch=function(M){return this.then(void 0,M)};try{l.call(void 0,function(M){a.call(_,M)},function(M){s.call(_,M)})}catch(w){s.call(_,w)}}var T=x({},\"constructor\",d,!1);return d.prototype=T,x(T,\"__NPO__\",0,!1),x(d,\"resolve\",function(_){var w=this;return _&&typeof _==\"object\"&&_.__NPO__===1?_:new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");E(_)})}),x(d,\"reject\",function(_){return new this(function(M,E){if(typeof M!=\"function\"||typeof E!=\"function\")throw TypeError(\"Not a function\");E(_)})}),x(d,\"all\",function(_){var w=this;return e.call(_)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):_.length===0?w.resolve([]):new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");var b=_.length,v=Array(b),u=0;c(w,_,function(f,P){v[f]=P,++u===b&&E(v)},m)})}),x(d,\"race\",function(_){var w=this;return e.call(_)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");c(w,_,function(v,u){E(u)},m)})}),d})}}),_i=ke({\"node_modules/@plotly/d3/d3.js\"(Z,H){(function(){var g={version:\"3.8.2\"},x=[].slice,A=function(de){return x.call(de)},S=self.document;function e(de){return de&&(de.ownerDocument||de.document||de).documentElement}function t(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(S)try{A(S.documentElement.childNodes)[0].nodeType}catch{A=function(Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=Re[Qe];return vt}}if(Date.now||(Date.now=function(){return+new Date}),S)try{S.createElement(\"DIV\").style.setProperty(\"opacity\",0,\"\")}catch{var r=this.Element.prototype,o=r.setAttribute,n=r.setAttributeNS,i=this.CSSStyleDeclaration.prototype,a=i.setProperty;r.setAttribute=function(Re,Qe){o.call(this,Re,Qe+\"\")},r.setAttributeNS=function(Re,Qe,vt){n.call(this,Re,Qe,vt+\"\")},i.setProperty=function(Re,Qe,vt){a.call(this,Re,Qe+\"\",vt)}}g.ascending=s;function s(de,Re){return deRe?1:de>=Re?0:NaN}g.descending=function(de,Re){return Rede?1:Re>=de?0:NaN},g.min=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}return mt},g.max=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}return mt},g.extent=function(de,Re){var Qe=-1,vt=de.length,mt,Tt,Qt;if(arguments.length===1){for(;++Qe=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt1)return Qt/(lr-1)},g.deviation=function(){var de=g.variance.apply(this,arguments);return de&&Math.sqrt(de)};function p(de){return{left:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)<0?vt=Tt+1:mt=Tt}return vt},right:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)>0?mt=Tt:vt=Tt+1}return vt}}}var d=p(s);g.bisectLeft=d.left,g.bisect=g.bisectRight=d.right,g.bisector=function(de){return p(de.length===1?function(Re,Qe){return s(de(Re),Qe)}:de)},g.shuffle=function(de,Re,Qe){(vt=arguments.length)<3&&(Qe=de.length,vt<2&&(Re=0));for(var vt=Qe-Re,mt,Tt;vt;)Tt=Math.random()*vt--|0,mt=de[vt+Re],de[vt+Re]=de[Tt+Re],de[Tt+Re]=mt;return de},g.permute=function(de,Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=de[Re[Qe]];return vt},g.pairs=function(de){for(var Re=0,Qe=de.length-1,vt,mt=de[0],Tt=new Array(Qe<0?0:Qe);Re=0;)for(Qt=de[Re],Qe=Qt.length;--Qe>=0;)Tt[--mt]=Qt[Qe];return Tt};var l=Math.abs;g.range=function(de,Re,Qe){if(arguments.length<3&&(Qe=1,arguments.length<2&&(Re=de,de=0)),(Re-de)/Qe===1/0)throw new Error(\"infinite range\");var vt=[],mt=_(l(Qe)),Tt=-1,Qt;if(de*=mt,Re*=mt,Qe*=mt,Qe<0)for(;(Qt=de+Qe*++Tt)>Re;)vt.push(Qt/mt);else for(;(Qt=de+Qe*++Tt)=Re.length)return mt?mt.call(de,lr):vt?lr.sort(vt):lr;for(var jr=-1,Tn=lr.length,yn=Re[Br++],ti,ai,En,qn=new M,Jn;++jr=Re.length)return Dt;var Br=[],jr=Qe[lr++];return Dt.forEach(function(Tn,yn){Br.push({key:Tn,values:Qt(yn,lr)})}),jr?Br.sort(function(Tn,yn){return jr(Tn.key,yn.key)}):Br}return de.map=function(Dt,lr){return Tt(lr,Dt,0)},de.entries=function(Dt){return Qt(Tt(g.map,Dt,0),0)},de.key=function(Dt){return Re.push(Dt),de},de.sortKeys=function(Dt){return Qe[Re.length-1]=Dt,de},de.sortValues=function(Dt){return vt=Dt,de},de.rollup=function(Dt){return mt=Dt,de},de},g.set=function(de){var Re=new z;if(de)for(var Qe=0,vt=de.length;Qe=0&&(vt=de.slice(Qe+1),de=de.slice(0,Qe)),de)return arguments.length<2?this[de].on(vt):this[de].on(vt,Re);if(arguments.length===2){if(Re==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(vt,null);return this}};function W(de){var Re=[],Qe=new M;function vt(){for(var mt=Re,Tt=-1,Qt=mt.length,Dt;++Tt=0&&(Qe=de.slice(0,Re))!==\"xmlns\"&&(de=de.slice(Re+1)),ce.hasOwnProperty(Qe)?{space:ce[Qe],local:de}:de}},ae.attr=function(de,Re){if(arguments.length<2){if(typeof de==\"string\"){var Qe=this.node();return de=g.ns.qualify(de),de.local?Qe.getAttributeNS(de.space,de.local):Qe.getAttribute(de)}for(Re in de)this.each(xe(Re,de[Re]));return this}return this.each(xe(de,Re))};function xe(de,Re){de=g.ns.qualify(de);function Qe(){this.removeAttribute(de)}function vt(){this.removeAttributeNS(de.space,de.local)}function mt(){this.setAttribute(de,Re)}function Tt(){this.setAttributeNS(de.space,de.local,Re)}function Qt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttribute(de):this.setAttribute(de,lr)}function Dt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,lr)}return Re==null?de.local?vt:Qe:typeof Re==\"function\"?de.local?Dt:Qt:de.local?Tt:mt}function Te(de){return de.trim().replace(/\\s+/g,\" \")}ae.classed=function(de,Re){if(arguments.length<2){if(typeof de==\"string\"){var Qe=this.node(),vt=(de=Ie(de)).length,mt=-1;if(Re=Qe.classList){for(;++mt=0;)(Tt=Qe[vt])&&(mt&&mt!==Tt.nextSibling&&mt.parentNode.insertBefore(Tt,mt),mt=Tt);return this},ae.sort=function(de){de=Oe.apply(this,arguments);for(var Re=-1,Qe=this.length;++Re=Re&&(Re=mt+1);!(lr=Qt[Re])&&++Re0&&(de=de.slice(0,mt));var Qt=Bt.get(de);Qt&&(de=Qt,Tt=fr);function Dt(){var jr=this[vt];jr&&(this.removeEventListener(de,jr,jr.$),delete this[vt])}function lr(){var jr=Tt(Re,A(arguments));Dt.call(this),this.addEventListener(de,this[vt]=jr,jr.$=Qe),jr._=Re}function Br(){var jr=new RegExp(\"^__on([^.]+)\"+g.requote(de)+\"$\"),Tn;for(var yn in this)if(Tn=yn.match(jr)){var ti=this[yn];this.removeEventListener(Tn[1],ti,ti.$),delete this[yn]}}return mt?Re?lr:Dt:Re?N:Br}var Bt=g.map({mouseenter:\"mouseover\",mouseleave:\"mouseout\"});S&&Bt.forEach(function(de){\"on\"+de in S&&Bt.remove(de)});function qt(de,Re){return function(Qe){var vt=g.event;g.event=Qe,Re[0]=this.__data__;try{de.apply(this,Re)}finally{g.event=vt}}}function fr(de,Re){var Qe=qt(de,Re);return function(vt){var mt=this,Tt=vt.relatedTarget;(!Tt||Tt!==mt&&!(Tt.compareDocumentPosition(mt)&8))&&Qe.call(mt,vt)}}var ar,Rr=0;function gr(de){var Re=\".dragsuppress-\"+ ++Rr,Qe=\"click\"+Re,vt=g.select(t(de)).on(\"touchmove\"+Re,Q).on(\"dragstart\"+Re,Q).on(\"selectstart\"+Re,Q);if(ar==null&&(ar=\"onselectstart\"in de?!1:O(de.style,\"userSelect\")),ar){var mt=e(de).style,Tt=mt[ar];mt[ar]=\"none\"}return function(Qt){if(vt.on(Re,null),ar&&(mt[ar]=Tt),Qt){var Dt=function(){vt.on(Qe,null)};vt.on(Qe,function(){Q(),Dt()},!0),setTimeout(Dt,0)}}}g.mouse=function(de){return _t(de,le())};var br=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function _t(de,Re){Re.changedTouches&&(Re=Re.changedTouches[0]);var Qe=de.ownerSVGElement||de;if(Qe.createSVGPoint){var vt=Qe.createSVGPoint();if(br<0){var mt=t(de);if(mt.scrollX||mt.scrollY){Qe=g.select(\"body\").append(\"svg\").style({position:\"absolute\",top:0,left:0,margin:0,padding:0,border:\"none\"},\"important\");var Tt=Qe[0][0].getScreenCTM();br=!(Tt.f||Tt.e),Qe.remove()}}return br?(vt.x=Re.pageX,vt.y=Re.pageY):(vt.x=Re.clientX,vt.y=Re.clientY),vt=vt.matrixTransform(de.getScreenCTM().inverse()),[vt.x,vt.y]}var Qt=de.getBoundingClientRect();return[Re.clientX-Qt.left-de.clientLeft,Re.clientY-Qt.top-de.clientTop]}g.touch=function(de,Re,Qe){if(arguments.length<3&&(Qe=Re,Re=le().changedTouches),Re){for(var vt=0,mt=Re.length,Tt;vt0?1:de<0?-1:0}function bt(de,Re,Qe){return(Re[0]-de[0])*(Qe[1]-de[1])-(Re[1]-de[1])*(Qe[0]-de[0])}function Rt(de){return de>1?0:de<-1?Se:Math.acos(de)}function Nt(de){return de>1?we:de<-1?-we:Math.asin(de)}function Xt(de){return((de=Math.exp(de))-1/de)/2}function $t(de){return((de=Math.exp(de))+1/de)/2}function ur(de){return((de=Math.exp(2*de))-1)/(de+1)}function pn(de){return(de=Math.sin(de/2))*de}var Rn=Math.SQRT2,Nn=2,On=4;g.interpolateZoom=function(de,Re){var Qe=de[0],vt=de[1],mt=de[2],Tt=Re[0],Qt=Re[1],Dt=Re[2],lr=Tt-Qe,Br=Qt-vt,jr=lr*lr+Br*Br,Tn,yn;if(jr0&&(ua=ua.transition().duration(Qt)),ua.call(oi.event)}function io(){qn&&qn.domain(En.range().map(function(ua){return(ua-de.x)/de.k}).map(En.invert)),ci&&ci.domain(Jn.range().map(function(ua){return(ua-de.y)/de.k}).map(Jn.invert))}function oo(ua){Dt++||ua({type:\"zoomstart\"})}function Qo(ua){io(),ua({type:\"zoom\",scale:de.k,translate:[de.x,de.y]})}function uo(ua){--Dt||(ua({type:\"zoomend\"}),Qe=null)}function Jo(){var ua=this,wo=ai.of(ua,arguments),ys=0,Ms=g.select(t(ua)).on(Br,gu).on(jr,Fl),xl=Hn(g.mouse(ua)),Ul=gr(ua);Va.call(ua),oo(wo);function gu(){ys=1,_a(g.mouse(ua),xl),Qo(wo)}function Fl(){Ms.on(Br,null).on(jr,null),Ul(ys),uo(wo)}}function ol(){var ua=this,wo=ai.of(ua,arguments),ys={},Ms=0,xl,Ul=\".zoom-\"+g.event.changedTouches[0].identifier,gu=\"touchmove\"+Ul,Fl=\"touchend\"+Ul,vc=[],tr=g.select(ua),cn=gr(ua);xi(),oo(wo),tr.on(lr,null).on(yn,xi);function Ln(){var Oi=g.touches(ua);return xl=de.k,Oi.forEach(function(na){na.identifier in ys&&(ys[na.identifier]=Hn(na))}),Oi}function xi(){var Oi=g.event.target;g.select(Oi).on(gu,Ni).on(Fl,Fi),vc.push(Oi);for(var na=g.event.changedTouches,Ca=0,ka=na.length;Ca1){var Aa=ha[0],Ma=ha[1],ia=Aa[0]-Ma[0],wi=Aa[1]-Ma[1];Ms=ia*ia+wi*wi}}function Ni(){var Oi=g.touches(ua),na,Ca,ka,ha;Va.call(ua);for(var Xo=0,Aa=Oi.length;Xo1?1:Re,Qe=Qe<0?0:Qe>1?1:Qe,mt=Qe<=.5?Qe*(1+Re):Qe+Re-Qe*Re,vt=2*Qe-mt;function Tt(Dt){return Dt>360?Dt-=360:Dt<0&&(Dt+=360),Dt<60?vt+(mt-vt)*Dt/60:Dt<180?mt:Dt<240?vt+(mt-vt)*(240-Dt)/60:vt}function Qt(Dt){return Math.round(Tt(Dt)*255)}return new Tr(Qt(de+120),Qt(de),Qt(de-120))}g.hcl=Vt;function Vt(de,Re,Qe){return this instanceof Vt?(this.h=+de,this.c=+Re,void(this.l=+Qe)):arguments.length<2?de instanceof Vt?new Vt(de.h,de.c,de.l):de instanceof xn?gt(de.l,de.a,de.b):gt((de=gn((de=g.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Vt(de,Re,Qe)}var wr=Vt.prototype=new gi;wr.brighter=function(de){return new Vt(this.h,this.c,Math.min(100,this.l+en*(arguments.length?de:1)))},wr.darker=function(de){return new Vt(this.h,this.c,Math.max(0,this.l-en*(arguments.length?de:1)))},wr.rgb=function(){return $r(this.h,this.c,this.l).rgb()};function $r(de,Re,Qe){return isNaN(de)&&(de=0),isNaN(Re)&&(Re=0),new xn(Qe,Math.cos(de*=Le)*Re,Math.sin(de)*Re)}g.lab=xn;function xn(de,Re,Qe){return this instanceof xn?(this.l=+de,this.a=+Re,void(this.b=+Qe)):arguments.length<2?de instanceof xn?new xn(de.l,de.a,de.b):de instanceof Vt?$r(de.h,de.c,de.l):gn((de=Tr(de)).r,de.g,de.b):new xn(de,Re,Qe)}var en=18,Fn=.95047,Wn=1,ri=1.08883,Sn=xn.prototype=new gi;Sn.brighter=function(de){return new xn(Math.min(100,this.l+en*(arguments.length?de:1)),this.a,this.b)},Sn.darker=function(de){return new xn(Math.max(0,this.l-en*(arguments.length?de:1)),this.a,this.b)},Sn.rgb=function(){return ui(this.l,this.a,this.b)};function ui(de,Re,Qe){var vt=(de+16)/116,mt=vt+Re/500,Tt=vt-Qe/200;return mt=yt(mt)*Fn,vt=yt(vt)*Wn,Tt=yt(Tt)*ri,new Tr(Ir(3.2404542*mt-1.5371385*vt-.4985314*Tt),Ir(-.969266*mt+1.8760108*vt+.041556*Tt),Ir(.0556434*mt-.2040259*vt+1.0572252*Tt))}function gt(de,Re,Qe){return de>0?new Vt(Math.atan2(Qe,Re)*nt,Math.sqrt(Re*Re+Qe*Qe),de):new Vt(NaN,NaN,de)}function yt(de){return de>.206893034?de*de*de:(de-4/29)/7.787037}function Pr(de){return de>.008856?Math.pow(de,1/3):7.787037*de+4/29}function Ir(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,1/2.4)-.055))}g.rgb=Tr;function Tr(de,Re,Qe){return this instanceof Tr?(this.r=~~de,this.g=~~Re,void(this.b=~~Qe)):arguments.length<2?de instanceof Tr?new Tr(de.r,de.g,de.b):nn(\"\"+de,Tr,Ht):new Tr(de,Re,Qe)}function Mr(de){return new Tr(de>>16,de>>8&255,de&255)}function Lr(de){return Mr(de)+\"\"}var Ur=Tr.prototype=new gi;Ur.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var Re=this.r,Qe=this.g,vt=this.b,mt=30;return!Re&&!Qe&&!vt?new Tr(mt,mt,mt):(Re&&Re>4,vt=vt>>4|vt,mt=lr&240,mt=mt>>4|mt,Tt=lr&15,Tt=Tt<<4|Tt):de.length===7&&(vt=(lr&16711680)>>16,mt=(lr&65280)>>8,Tt=lr&255)),Re(vt,mt,Tt))}function vn(de,Re,Qe){var vt=Math.min(de/=255,Re/=255,Qe/=255),mt=Math.max(de,Re,Qe),Tt=mt-vt,Qt,Dt,lr=(mt+vt)/2;return Tt?(Dt=lr<.5?Tt/(mt+vt):Tt/(2-mt-vt),de==mt?Qt=(Re-Qe)/Tt+(Re0&&lr<1?0:Qt),new Zt(Qt,Dt,lr)}function gn(de,Re,Qe){de=kt(de),Re=kt(Re),Qe=kt(Qe);var vt=Pr((.4124564*de+.3575761*Re+.1804375*Qe)/Fn),mt=Pr((.2126729*de+.7151522*Re+.072175*Qe)/Wn),Tt=Pr((.0193339*de+.119192*Re+.9503041*Qe)/ri);return xn(116*mt-16,500*(vt-mt),200*(mt-Tt))}function kt(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function or(de){var Re=parseFloat(de);return de.charAt(de.length-1)===\"%\"?Math.round(Re*2.55):Re}var yr=g.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});yr.forEach(function(de,Re){yr.set(de,Mr(Re))});function on(de){return typeof de==\"function\"?de:function(){return de}}g.functor=on,g.xhr=An(F);function An(de){return function(Re,Qe,vt){return arguments.length===2&&typeof Qe==\"function\"&&(vt=Qe,Qe=null),Zn(Re,Qe,de,vt)}}function Zn(de,Re,Qe,vt){var mt={},Tt=g.dispatch(\"beforesend\",\"progress\",\"load\",\"error\"),Qt={},Dt=new XMLHttpRequest,lr=null;self.XDomainRequest&&!(\"withCredentials\"in Dt)&&/^(http(s)?:)?\\/\\//.test(de)&&(Dt=new XDomainRequest),\"onload\"in Dt?Dt.onload=Dt.onerror=Br:Dt.onreadystatechange=function(){Dt.readyState>3&&Br()};function Br(){var jr=Dt.status,Tn;if(!jr&&wn(Dt)||jr>=200&&jr<300||jr===304){try{Tn=Qe.call(mt,Dt)}catch(yn){Tt.error.call(mt,yn);return}Tt.load.call(mt,Tn)}else Tt.error.call(mt,Dt)}return Dt.onprogress=function(jr){var Tn=g.event;g.event=jr;try{Tt.progress.call(mt,Dt)}finally{g.event=Tn}},mt.header=function(jr,Tn){return jr=(jr+\"\").toLowerCase(),arguments.length<2?Qt[jr]:(Tn==null?delete Qt[jr]:Qt[jr]=Tn+\"\",mt)},mt.mimeType=function(jr){return arguments.length?(Re=jr==null?null:jr+\"\",mt):Re},mt.responseType=function(jr){return arguments.length?(lr=jr,mt):lr},mt.response=function(jr){return Qe=jr,mt},[\"get\",\"post\"].forEach(function(jr){mt[jr]=function(){return mt.send.apply(mt,[jr].concat(A(arguments)))}}),mt.send=function(jr,Tn,yn){if(arguments.length===2&&typeof Tn==\"function\"&&(yn=Tn,Tn=null),Dt.open(jr,de,!0),Re!=null&&!(\"accept\"in Qt)&&(Qt.accept=Re+\",*/*\"),Dt.setRequestHeader)for(var ti in Qt)Dt.setRequestHeader(ti,Qt[ti]);return Re!=null&&Dt.overrideMimeType&&Dt.overrideMimeType(Re),lr!=null&&(Dt.responseType=lr),yn!=null&&mt.on(\"error\",yn).on(\"load\",function(ai){yn(null,ai)}),Tt.beforesend.call(mt,Dt),Dt.send(Tn??null),mt},mt.abort=function(){return Dt.abort(),mt},g.rebind(mt,Tt,\"on\"),vt==null?mt:mt.get(Bn(vt))}function Bn(de){return de.length===1?function(Re,Qe){de(Re==null?Qe:null)}:de}function wn(de){var Re=de.responseType;return Re&&Re!==\"text\"?de.response:de.responseText}g.dsv=function(de,Re){var Qe=new RegExp('[\"'+de+`\n]`),vt=de.charCodeAt(0);function mt(Br,jr,Tn){arguments.length<3&&(Tn=jr,jr=null);var yn=Zn(Br,Re,jr==null?Tt:Qt(jr),Tn);return yn.row=function(ti){return arguments.length?yn.response((jr=ti)==null?Tt:Qt(ti)):jr},yn}function Tt(Br){return mt.parse(Br.responseText)}function Qt(Br){return function(jr){return mt.parse(jr.responseText,Br)}}mt.parse=function(Br,jr){var Tn;return mt.parseRows(Br,function(yn,ti){if(Tn)return Tn(yn,ti-1);var ai=function(En){for(var qn={},Jn=yn.length,ci=0;ci=ai)return yn;if(ci)return ci=!1,Tn;var ta=En;if(Br.charCodeAt(ta)===34){for(var oa=ta;oa++24?(isFinite(Re)&&(clearTimeout(Ta),Ta=setTimeout(to,Re)),pi=0):(pi=1,Sa(to))}g.timer.flush=function(){yo(),Xa()};function yo(){for(var de=Date.now(),Re=Dn;Re;)de>=Re.t&&Re.c(de-Re.t)&&(Re.c=null),Re=Re.n;return de}function Xa(){for(var de,Re=Dn,Qe=1/0;Re;)Re.c?(Re.t=0;--Dt)En.push(mt[Br[Tn[Dt]][2]]);for(Dt=+ti;Dt1&&bt(de[Qe[vt-2]],de[Qe[vt-1]],de[mt])<=0;)--vt;Qe[vt++]=mt}return Qe.slice(0,vt)}function Ko(de,Re){return de[0]-Re[0]||de[1]-Re[1]}g.geom.polygon=function(de){return G(de,gs),de};var gs=g.geom.polygon.prototype=[];gs.area=function(){for(var de=-1,Re=this.length,Qe,vt=this[Re-1],mt=0;++deKe)Dt=Dt.L;else if(Qt=Re-Eo(Dt,Qe),Qt>Ke){if(!Dt.R){vt=Dt;break}Dt=Dt.R}else{Tt>-Ke?(vt=Dt.P,mt=Dt):Qt>-Ke?(vt=Dt,mt=Dt.N):vt=mt=Dt;break}var lr=fs(de);if(hs.insert(vt,lr),!(!vt&&!mt)){if(vt===mt){Uo(vt),mt=fs(vt.site),hs.insert(lr,mt),lr.edge=mt.edge=$l(vt.site,lr.site),la(vt),la(mt);return}if(!mt){lr.edge=$l(vt.site,lr.site);return}Uo(vt),Uo(mt);var Br=vt.site,jr=Br.x,Tn=Br.y,yn=de.x-jr,ti=de.y-Tn,ai=mt.site,En=ai.x-jr,qn=ai.y-Tn,Jn=2*(yn*qn-ti*En),ci=yn*yn+ti*ti,oi=En*En+qn*qn,Hn={x:(qn*ci-ti*oi)/Jn+jr,y:(yn*oi-En*ci)/Jn+Tn};Tl(mt.edge,Br,ai,Hn),lr.edge=$l(Br,de,null,Hn),mt.edge=$l(de,ai,null,Hn),la(vt),la(mt)}}function Xs(de,Re){var Qe=de.site,vt=Qe.x,mt=Qe.y,Tt=mt-Re;if(!Tt)return vt;var Qt=de.P;if(!Qt)return-1/0;Qe=Qt.site;var Dt=Qe.x,lr=Qe.y,Br=lr-Re;if(!Br)return Dt;var jr=Dt-vt,Tn=1/Tt-1/Br,yn=jr/Br;return Tn?(-yn+Math.sqrt(yn*yn-2*Tn*(jr*jr/(-2*Br)-lr+Br/2+mt-Tt/2)))/Tn+vt:(vt+Dt)/2}function Eo(de,Re){var Qe=de.N;if(Qe)return Xs(Qe,Re);var vt=de.site;return vt.y===Re?vt.x:1/0}function Ys(de){this.site=de,this.edges=[]}Ys.prototype.prepare=function(){for(var de=this.edges,Re=de.length,Qe;Re--;)Qe=de[Re].edge,(!Qe.b||!Qe.a)&&de.splice(Re,1);return de.sort(hl),de.length};function As(de){for(var Re=de[0][0],Qe=de[1][0],vt=de[0][1],mt=de[1][1],Tt,Qt,Dt,lr,Br=ns,jr=Br.length,Tn,yn,ti,ai,En,qn;jr--;)if(Tn=Br[jr],!(!Tn||!Tn.prepare()))for(ti=Tn.edges,ai=ti.length,yn=0;ynKe||l(lr-Qt)>Ke)&&(ti.splice(yn,0,new Vu(Ku(Tn.site,qn,l(Dt-Re)Ke?{x:Re,y:l(Tt-Re)Ke?{x:l(Qt-mt)Ke?{x:Qe,y:l(Tt-Qe)Ke?{x:l(Qt-vt)=-je)){var yn=lr*lr+Br*Br,ti=jr*jr+qn*qn,ai=(qn*yn-Br*ti)/Tn,En=(lr*ti-jr*yn)/Tn,qn=En+Dt,Jn=Vs.pop()||new wl;Jn.arc=de,Jn.site=mt,Jn.x=ai+Qt,Jn.y=qn+Math.sqrt(ai*ai+En*En),Jn.cy=qn,de.circle=Jn;for(var ci=null,oi=Ls._;oi;)if(Jn.y0)){if(En/=ti,ti<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=Qe-Dt,!(!ti&&En<0)){if(En/=ti,ti<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ti>0){if(En0)){if(En/=ai,ai<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=vt-lr,!(!ai&&En<0)){if(En/=ai,ai<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ai>0){if(En0&&(mt.a={x:Dt+Tn*ti,y:lr+Tn*ai}),yn<1&&(mt.b={x:Dt+yn*ti,y:lr+yn*ai}),mt}}}}}}function Ps(de){for(var Re=Yo,Qe=vo(de[0][0],de[0][1],de[1][0],de[1][1]),vt=Re.length,mt;vt--;)mt=Re[vt],(!ls(mt,de)||!Qe(mt)||l(mt.a.x-mt.b.x)=Tt)return;if(jr>yn){if(!vt)vt={x:ai,y:Qt};else if(vt.y>=Dt)return;Qe={x:ai,y:Dt}}else{if(!vt)vt={x:ai,y:Dt};else if(vt.y1)if(jr>yn){if(!vt)vt={x:(Qt-Jn)/qn,y:Qt};else if(vt.y>=Dt)return;Qe={x:(Dt-Jn)/qn,y:Dt}}else{if(!vt)vt={x:(Dt-Jn)/qn,y:Dt};else if(vt.y=Tt)return;Qe={x:Tt,y:qn*Tt+Jn}}else{if(!vt)vt={x:Tt,y:qn*Tt+Jn};else if(vt.x=jr&&Jn.x<=yn&&Jn.y>=Tn&&Jn.y<=ti?[[jr,ti],[yn,ti],[yn,Tn],[jr,Tn]]:[];ci.point=lr[En]}),Br}function Dt(lr){return lr.map(function(Br,jr){return{x:Math.round(vt(Br,jr)/Ke)*Ke,y:Math.round(mt(Br,jr)/Ke)*Ke,i:jr}})}return Qt.links=function(lr){return Ju(Dt(lr)).edges.filter(function(Br){return Br.l&&Br.r}).map(function(Br){return{source:lr[Br.l.i],target:lr[Br.r.i]}})},Qt.triangles=function(lr){var Br=[];return Ju(Dt(lr)).cells.forEach(function(jr,Tn){for(var yn=jr.site,ti=jr.edges.sort(hl),ai=-1,En=ti.length,qn,Jn,ci=ti[En-1].edge,oi=ci.l===yn?ci.r:ci.l;++aioi&&(oi=jr.x),jr.y>Hn&&(Hn=jr.y),ti.push(jr.x),ai.push(jr.y);else for(En=0;Enoi&&(oi=ta),oa>Hn&&(Hn=oa),ti.push(ta),ai.push(oa)}var _a=oi-Jn,La=Hn-ci;_a>La?Hn=ci+_a:oi=Jn+La;function io(uo,Jo,ol,tl,ml,ua,wo,ys){if(!(isNaN(ol)||isNaN(tl)))if(uo.leaf){var Ms=uo.x,xl=uo.y;if(Ms!=null)if(l(Ms-ol)+l(xl-tl)<.01)oo(uo,Jo,ol,tl,ml,ua,wo,ys);else{var Ul=uo.point;uo.x=uo.y=uo.point=null,oo(uo,Ul,Ms,xl,ml,ua,wo,ys),oo(uo,Jo,ol,tl,ml,ua,wo,ys)}else uo.x=ol,uo.y=tl,uo.point=Jo}else oo(uo,Jo,ol,tl,ml,ua,wo,ys)}function oo(uo,Jo,ol,tl,ml,ua,wo,ys){var Ms=(ml+wo)*.5,xl=(ua+ys)*.5,Ul=ol>=Ms,gu=tl>=xl,Fl=gu<<1|Ul;uo.leaf=!1,uo=uo.nodes[Fl]||(uo.nodes[Fl]=Ql()),Ul?ml=Ms:wo=Ms,gu?ua=xl:ys=xl,io(uo,Jo,ol,tl,ml,ua,wo,ys)}var Qo=Ql();if(Qo.add=function(uo){io(Qo,uo,+Tn(uo,++En),+yn(uo,En),Jn,ci,oi,Hn)},Qo.visit=function(uo){Al(uo,Qo,Jn,ci,oi,Hn)},Qo.find=function(uo){return oc(Qo,uo[0],uo[1],Jn,ci,oi,Hn)},En=-1,Re==null){for(;++EnTt||yn>Qt||ti=ta,La=Qe>=oa,io=La<<1|_a,oo=io+4;ioQe&&(Tt=Re.slice(Qe,Tt),Dt[Qt]?Dt[Qt]+=Tt:Dt[++Qt]=Tt),(vt=vt[0])===(mt=mt[0])?Dt[Qt]?Dt[Qt]+=mt:Dt[++Qt]=mt:(Dt[++Qt]=null,lr.push({i:Qt,x:Ml(vt,mt)})),Qe=sc.lastIndex;return Qe=0&&!(vt=g.interpolators[Qe](de,Re)););return vt}g.interpolators=[function(de,Re){var Qe=typeof Re;return(Qe===\"string\"?yr.has(Re.toLowerCase())||/^(#|rgb\\(|hsl\\()/i.test(Re)?gc:Zs:Re instanceof gi?gc:Array.isArray(Re)?$u:Qe===\"object\"&&isNaN(Re)?nl:Ml)(de,Re)}],g.interpolateArray=$u;function $u(de,Re){var Qe=[],vt=[],mt=de.length,Tt=Re.length,Qt=Math.min(de.length,Re.length),Dt;for(Dt=0;Dt=0?de.slice(0,Re):de,vt=Re>=0?de.slice(Re+1):\"in\";return Qe=Nh.get(Qe)||ll,vt=ds.get(vt)||F,Sh(vt(Qe.apply(null,x.call(arguments,1))))};function Sh(de){return function(Re){return Re<=0?0:Re>=1?1:de(Re)}}function Bs(de){return function(Re){return 1-de(1-Re)}}function Vo(de){return function(Re){return .5*(Re<.5?de(2*Re):2-de(2-2*Re))}}function rf(de){return de*de}function Qu(de){return de*de*de}function pu(de){if(de<=0)return 0;if(de>=1)return 1;var Re=de*de,Qe=Re*de;return 4*(de<.5?Qe:3*(de-Re)+Qe-.75)}function Df(de){return function(Re){return Math.pow(Re,de)}}function Lc(de){return 1-Math.cos(de*we)}function nf(de){return Math.pow(2,10*(de-1))}function Vl(de){return 1-Math.sqrt(1-de*de)}function Jf(de,Re){var Qe;return arguments.length<2&&(Re=.45),arguments.length?Qe=Re/He*Math.asin(1/de):(de=1,Qe=Re/4),function(vt){return 1+de*Math.pow(2,-10*vt)*Math.sin((vt-Qe)*He/Re)}}function zf(de){return de||(de=1.70158),function(Re){return Re*Re*((de+1)*Re-de)}}function wf(de){return de<1/2.75?7.5625*de*de:de<2/2.75?7.5625*(de-=1.5/2.75)*de+.75:de<2.5/2.75?7.5625*(de-=2.25/2.75)*de+.9375:7.5625*(de-=2.625/2.75)*de+.984375}g.interpolateHcl=Gc;function Gc(de,Re){de=g.hcl(de),Re=g.hcl(Re);var Qe=de.h,vt=de.c,mt=de.l,Tt=Re.h-Qe,Qt=Re.c-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.c:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return $r(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateHsl=Ff;function Ff(de,Re){de=g.hsl(de),Re=g.hsl(Re);var Qe=de.h,vt=de.s,mt=de.l,Tt=Re.h-Qe,Qt=Re.s-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.s:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return Ht(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateLab=$f;function $f(de,Re){de=g.lab(de),Re=g.lab(Re);var Qe=de.l,vt=de.a,mt=de.b,Tt=Re.l-Qe,Qt=Re.a-vt,Dt=Re.b-mt;return function(lr){return ui(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateRound=ec;function ec(de,Re){return Re-=de,function(Qe){return Math.round(de+Re*Qe)}}g.transform=function(de){var Re=S.createElementNS(g.ns.prefix.svg,\"g\");return(g.transform=function(Qe){if(Qe!=null){Re.setAttribute(\"transform\",Qe);var vt=Re.transform.baseVal.consolidate()}return new Tf(vt?vt.matrix:cf)})(de)};function Tf(de){var Re=[de.a,de.b],Qe=[de.c,de.d],vt=Wc(Re),mt=Pc(Re,Qe),Tt=Wc(Pu(Qe,Re,-mt))||0;Re[0]*Qe[1]180?Re+=360:Re-de>180&&(de+=360),vt.push({i:Qe.push(Ic(Qe)+\"rotate(\",null,\")\")-2,x:Ml(de,Re)})):Re&&Qe.push(Ic(Qe)+\"rotate(\"+Re+\")\")}function Eh(de,Re,Qe,vt){de!==Re?vt.push({i:Qe.push(Ic(Qe)+\"skewX(\",null,\")\")-2,x:Ml(de,Re)}):Re&&Qe.push(Ic(Qe)+\"skewX(\"+Re+\")\")}function Qf(de,Re,Qe,vt){if(de[0]!==Re[0]||de[1]!==Re[1]){var mt=Qe.push(Ic(Qe)+\"scale(\",null,\",\",null,\")\");vt.push({i:mt-4,x:Ml(de[0],Re[0])},{i:mt-2,x:Ml(de[1],Re[1])})}else(Re[0]!==1||Re[1]!==1)&&Qe.push(Ic(Qe)+\"scale(\"+Re+\")\")}function af(de,Re){var Qe=[],vt=[];return de=g.transform(de),Re=g.transform(Re),Ks(de.translate,Re.translate,Qe,vt),Of(de.rotate,Re.rotate,Qe,vt),Eh(de.skew,Re.skew,Qe,vt),Qf(de.scale,Re.scale,Qe,vt),de=Re=null,function(mt){for(var Tt=-1,Qt=vt.length,Dt;++Tt0?Tt=Hn:(Qe.c=null,Qe.t=NaN,Qe=null,Re.end({type:\"end\",alpha:Tt=0})):Hn>0&&(Re.start({type:\"start\",alpha:Tt=Hn}),Qe=qa(de.tick)),de):Tt},de.start=function(){var Hn,ta=ti.length,oa=ai.length,_a=vt[0],La=vt[1],io,oo;for(Hn=0;Hn=0;)Tt.push(jr=Br[lr]),jr.parent=Dt,jr.depth=Dt.depth+1;Qe&&(Dt.value=0),Dt.children=Br}else Qe&&(Dt.value=+Qe.call(vt,Dt,Dt.depth)||0),delete Dt.children;return lc(mt,function(Tn){var yn,ti;de&&(yn=Tn.children)&&yn.sort(de),Qe&&(ti=Tn.parent)&&(ti.value+=Tn.value)}),Qt}return vt.sort=function(mt){return arguments.length?(de=mt,vt):de},vt.children=function(mt){return arguments.length?(Re=mt,vt):Re},vt.value=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt.revalue=function(mt){return Qe&&(_c(mt,function(Tt){Tt.children&&(Tt.value=0)}),lc(mt,function(Tt){var Qt;Tt.children||(Tt.value=+Qe.call(vt,Tt,Tt.depth)||0),(Qt=Tt.parent)&&(Qt.value+=Tt.value)})),mt},vt};function Hu(de,Re){return g.rebind(de,Re,\"sort\",\"children\",\"value\"),de.nodes=de,de.links=Du,de}function _c(de,Re){for(var Qe=[de];(de=Qe.pop())!=null;)if(Re(de),(mt=de.children)&&(vt=mt.length))for(var vt,mt;--vt>=0;)Qe.push(mt[vt])}function lc(de,Re){for(var Qe=[de],vt=[];(de=Qe.pop())!=null;)if(vt.push(de),(Qt=de.children)&&(Tt=Qt.length))for(var mt=-1,Tt,Qt;++mtmt&&(mt=Dt),vt.push(Dt)}for(Qt=0;Qtvt&&(Qe=Re,vt=mt);return Qe}function ul(de){return de.reduce(sf,0)}function sf(de,Re){return de+Re[1]}g.layout.histogram=function(){var de=!0,Re=Number,Qe=hf,vt=xc;function mt(Tt,yn){for(var Dt=[],lr=Tt.map(Re,this),Br=Qe.call(this,lr,yn),jr=vt.call(this,Br,lr,yn),Tn,yn=-1,ti=lr.length,ai=jr.length-1,En=de?1:1/ti,qn;++yn0)for(yn=-1;++yn=Br[0]&&qn<=Br[1]&&(Tn=Dt[g.bisect(jr,qn,1,ai)-1],Tn.y+=En,Tn.push(Tt[yn]));return Dt}return mt.value=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.range=function(Tt){return arguments.length?(Qe=on(Tt),mt):Qe},mt.bins=function(Tt){return arguments.length?(vt=typeof Tt==\"number\"?function(Qt){return Gu(Qt,Tt)}:on(Tt),mt):vt},mt.frequency=function(Tt){return arguments.length?(de=!!Tt,mt):de},mt};function xc(de,Re){return Gu(de,Math.ceil(Math.log(Re.length)/Math.LN2+1))}function Gu(de,Re){for(var Qe=-1,vt=+de[0],mt=(de[1]-vt)/Re,Tt=[];++Qe<=Re;)Tt[Qe]=mt*Qe+vt;return Tt}function hf(de){return[g.min(de),g.max(de)]}g.layout.pack=function(){var de=g.layout.hierarchy().sort(uc),Re=0,Qe=[1,1],vt;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br=Qe[0],jr=Qe[1],Tn=vt==null?Math.sqrt:typeof vt==\"function\"?vt:function(){return vt};if(lr.x=lr.y=0,lc(lr,function(ti){ti.r=+Tn(ti.value)}),lc(lr,Uf),Re){var yn=Re*(vt?1:Math.max(2*lr.r/Br,2*lr.r/jr))/2;lc(lr,function(ti){ti.r+=yn}),lc(lr,Uf),lc(lr,function(ti){ti.r-=yn})}return cc(lr,Br/2,jr/2,vt?1:1/Math.max(2*lr.r/Br,2*lr.r/jr)),Dt}return mt.size=function(Tt){return arguments.length?(Qe=Tt,mt):Qe},mt.radius=function(Tt){return arguments.length?(vt=Tt==null||typeof Tt==\"function\"?Tt:+Tt,mt):vt},mt.padding=function(Tt){return arguments.length?(Re=+Tt,mt):Re},Hu(mt,de)};function uc(de,Re){return de.value-Re.value}function Zc(de,Re){var Qe=de._pack_next;de._pack_next=Re,Re._pack_prev=de,Re._pack_next=Qe,Qe._pack_prev=Re}function Nf(de,Re){de._pack_next=Re,Re._pack_prev=de}function Xl(de,Re){var Qe=Re.x-de.x,vt=Re.y-de.y,mt=de.r+Re.r;return .999*mt*mt>Qe*Qe+vt*vt}function Uf(de){if(!(Re=de.children)||!(yn=Re.length))return;var Re,Qe=1/0,vt=-1/0,mt=1/0,Tt=-1/0,Qt,Dt,lr,Br,jr,Tn,yn;function ti(Hn){Qe=Math.min(Hn.x-Hn.r,Qe),vt=Math.max(Hn.x+Hn.r,vt),mt=Math.min(Hn.y-Hn.r,mt),Tt=Math.max(Hn.y+Hn.r,Tt)}if(Re.forEach(Wu),Qt=Re[0],Qt.x=-Qt.r,Qt.y=0,ti(Qt),yn>1&&(Dt=Re[1],Dt.x=Dt.r,Dt.y=0,ti(Dt),yn>2))for(lr=Re[2],zl(Qt,Dt,lr),ti(lr),Zc(Qt,lr),Qt._pack_prev=lr,Zc(lr,Dt),Dt=Qt._pack_next,Br=3;Brqn.x&&(qn=ta),ta.depth>Jn.depth&&(Jn=ta)});var ci=Re(En,qn)/2-En.x,oi=Qe[0]/(qn.x+Re(qn,En)/2+ci),Hn=Qe[1]/(Jn.depth||1);_c(ti,function(ta){ta.x=(ta.x+ci)*oi,ta.y=ta.depth*Hn})}return yn}function Tt(jr){for(var Tn={A:null,children:[jr]},yn=[Tn],ti;(ti=yn.pop())!=null;)for(var ai=ti.children,En,qn=0,Jn=ai.length;qn0&&(rc(Yt(En,jr,yn),jr,ta),Jn+=ta,ci+=ta),oi+=En.m,Jn+=ti.m,Hn+=qn.m,ci+=ai.m;En&&!Dc(ai)&&(ai.t=En,ai.m+=oi-ci),ti&&!fc(qn)&&(qn.t=ti,qn.m+=Jn-Hn,yn=jr)}return yn}function Br(jr){jr.x*=Qe[0],jr.y=jr.depth*Qe[1]}return mt.separation=function(jr){return arguments.length?(Re=jr,mt):Re},mt.size=function(jr){return arguments.length?(vt=(Qe=jr)==null?Br:null,mt):vt?null:Qe},mt.nodeSize=function(jr){return arguments.length?(vt=(Qe=jr)==null?null:Br,mt):vt?Qe:null},Hu(mt,de)};function uu(de,Re){return de.parent==Re.parent?1:2}function fc(de){var Re=de.children;return Re.length?Re[0]:de.t}function Dc(de){var Re=de.children,Qe;return(Qe=Re.length)?Re[Qe-1]:de.t}function rc(de,Re,Qe){var vt=Qe/(Re.i-de.i);Re.c-=vt,Re.s+=Qe,de.c+=vt,Re.z+=Qe,Re.m+=Qe}function Yc(de){for(var Re=0,Qe=0,vt=de.children,mt=vt.length,Tt;--mt>=0;)Tt=vt[mt],Tt.z+=Re,Tt.m+=Re,Re+=Tt.s+(Qe+=Tt.c)}function Yt(de,Re,Qe){return de.a.parent===Re.parent?de.a:Qe}g.layout.cluster=function(){var de=g.layout.hierarchy().sort(null).value(null),Re=uu,Qe=[1,1],vt=!1;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br,jr=0;lc(lr,function(En){var qn=En.children;qn&&qn.length?(En.x=tn(qn),En.y=dr(qn)):(En.x=Br?jr+=Re(En,Br):0,En.y=0,Br=En)});var Tn=Wr(lr),yn=Cn(lr),ti=Tn.x-Re(Tn,yn)/2,ai=yn.x+Re(yn,Tn)/2;return lc(lr,vt?function(En){En.x=(En.x-lr.x)*Qe[0],En.y=(lr.y-En.y)*Qe[1]}:function(En){En.x=(En.x-ti)/(ai-ti)*Qe[0],En.y=(1-(lr.y?En.y/lr.y:1))*Qe[1]}),Dt}return mt.separation=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.size=function(Tt){return arguments.length?(vt=(Qe=Tt)==null,mt):vt?null:Qe},mt.nodeSize=function(Tt){return arguments.length?(vt=(Qe=Tt)!=null,mt):vt?Qe:null},Hu(mt,de)};function dr(de){return 1+g.max(de,function(Re){return Re.y})}function tn(de){return de.reduce(function(Re,Qe){return Re+Qe.x},0)/de.length}function Wr(de){var Re=de.children;return Re&&Re.length?Wr(Re[0]):de}function Cn(de){var Re=de.children,Qe;return Re&&(Qe=Re.length)?Cn(Re[Qe-1]):de}g.layout.treemap=function(){var de=g.layout.hierarchy(),Re=Math.round,Qe=[1,1],vt=null,mt=si,Tt=!1,Qt,Dt=\"squarify\",lr=.5*(1+Math.sqrt(5));function Br(En,qn){for(var Jn=-1,ci=En.length,oi,Hn;++Jn0;)ci.push(Hn=oi[La-1]),ci.area+=Hn.area,Dt!==\"squarify\"||(oa=yn(ci,_a))<=ta?(oi.pop(),ta=oa):(ci.area-=ci.pop().area,ti(ci,_a,Jn,!1),_a=Math.min(Jn.dx,Jn.dy),ci.length=ci.area=0,ta=1/0);ci.length&&(ti(ci,_a,Jn,!0),ci.length=ci.area=0),qn.forEach(jr)}}function Tn(En){var qn=En.children;if(qn&&qn.length){var Jn=mt(En),ci=qn.slice(),oi,Hn=[];for(Br(ci,Jn.dx*Jn.dy/En.value),Hn.area=0;oi=ci.pop();)Hn.push(oi),Hn.area+=oi.area,oi.z!=null&&(ti(Hn,oi.z?Jn.dx:Jn.dy,Jn,!ci.length),Hn.length=Hn.area=0);qn.forEach(Tn)}}function yn(En,qn){for(var Jn=En.area,ci,oi=0,Hn=1/0,ta=-1,oa=En.length;++taoi&&(oi=ci));return Jn*=Jn,qn*=qn,Jn?Math.max(qn*oi*lr/Jn,Jn/(qn*Hn*lr)):1/0}function ti(En,qn,Jn,ci){var oi=-1,Hn=En.length,ta=Jn.x,oa=Jn.y,_a=qn?Re(En.area/qn):0,La;if(qn==Jn.dx){for((ci||_a>Jn.dy)&&(_a=Jn.dy);++oiJn.dx)&&(_a=Jn.dx);++oi1);return de+Re*vt*Math.sqrt(-2*Math.log(Tt)/Tt)}},logNormal:function(){var de=g.random.normal.apply(g,arguments);return function(){return Math.exp(de())}},bates:function(de){var Re=g.random.irwinHall(de);return function(){return Re()/de}},irwinHall:function(de){return function(){for(var Re=0,Qe=0;Qe2?di:aa,Br=vt?Iu:lh;return mt=lr(de,Re,Br,Qe),Tt=lr(Re,de,Br,jl),Dt}function Dt(lr){return mt(lr)}return Dt.invert=function(lr){return Tt(lr)},Dt.domain=function(lr){return arguments.length?(de=lr.map(Number),Qt()):de},Dt.range=function(lr){return arguments.length?(Re=lr,Qt()):Re},Dt.rangeRound=function(lr){return Dt.range(lr).interpolate(ec)},Dt.clamp=function(lr){return arguments.length?(vt=lr,Qt()):vt},Dt.interpolate=function(lr){return arguments.length?(Qe=lr,Qt()):Qe},Dt.ticks=function(lr){return Ao(de,lr)},Dt.tickFormat=function(lr,Br){return d3_scale_linearTickFormat(de,lr,Br)},Dt.nice=function(lr){return co(de,lr),Qt()},Dt.copy=function(){return wa(de,Re,Qe,vt)},Qt()}function po(de,Re){return g.rebind(de,Re,\"range\",\"rangeRound\",\"interpolate\",\"clamp\")}function co(de,Re){return bi(de,zi(mo(de,Re)[2])),bi(de,zi(mo(de,Re)[2])),de}function mo(de,Re){Re==null&&(Re=10);var Qe=Di(de),vt=Qe[1]-Qe[0],mt=Math.pow(10,Math.floor(Math.log(vt/Re)/Math.LN10)),Tt=Re/vt*mt;return Tt<=.15?mt*=10:Tt<=.35?mt*=5:Tt<=.75&&(mt*=2),Qe[0]=Math.ceil(Qe[0]/mt)*mt,Qe[1]=Math.floor(Qe[1]/mt)*mt+mt*.5,Qe[2]=mt,Qe}function Ao(de,Re){return g.range.apply(g,mo(de,Re))}var xa={s:1,g:1,p:1,r:1,e:1};function Qi(de){return-Math.floor(Math.log(de)/Math.LN10+.01)}function Lo(de,Re){var Qe=Qi(Re[2]);return de in xa?Math.abs(Qe-Qi(Math.max(l(Re[0]),l(Re[1]))))+ +(de!==\"e\"):Qe-(de===\"%\")*2}g.scale.log=function(){return as(g.scale.linear().domain([0,1]),10,!0,[1,10])};function as(de,Re,Qe,vt){function mt(Dt){return(Qe?Math.log(Dt<0?0:Dt):-Math.log(Dt>0?0:-Dt))/Math.log(Re)}function Tt(Dt){return Qe?Math.pow(Re,Dt):-Math.pow(Re,-Dt)}function Qt(Dt){return de(mt(Dt))}return Qt.invert=function(Dt){return Tt(de.invert(Dt))},Qt.domain=function(Dt){return arguments.length?(Qe=Dt[0]>=0,de.domain((vt=Dt.map(Number)).map(mt)),Qt):vt},Qt.base=function(Dt){return arguments.length?(Re=+Dt,de.domain(vt.map(mt)),Qt):Re},Qt.nice=function(){var Dt=bi(vt.map(mt),Qe?Math:Ds);return de.domain(Dt),vt=Dt.map(Tt),Qt},Qt.ticks=function(){var Dt=Di(vt),lr=[],Br=Dt[0],jr=Dt[1],Tn=Math.floor(mt(Br)),yn=Math.ceil(mt(jr)),ti=Re%1?2:Re;if(isFinite(yn-Tn)){if(Qe){for(;Tn0;ai--)lr.push(Tt(Tn)*ai);for(Tn=0;lr[Tn]jr;yn--);lr=lr.slice(Tn,yn)}return lr},Qt.copy=function(){return as(de.copy(),Re,Qe,vt)},po(Qt,de)}var Ds={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};g.scale.pow=function(){return il(g.scale.linear(),1,[0,1])};function il(de,Re,Qe){var vt=Ns(Re),mt=Ns(1/Re);function Tt(Qt){return de(vt(Qt))}return Tt.invert=function(Qt){return mt(de.invert(Qt))},Tt.domain=function(Qt){return arguments.length?(de.domain((Qe=Qt.map(Number)).map(vt)),Tt):Qe},Tt.ticks=function(Qt){return Ao(Qe,Qt)},Tt.tickFormat=function(Qt,Dt){return d3_scale_linearTickFormat(Qe,Qt,Dt)},Tt.nice=function(Qt){return Tt.domain(co(Qe,Qt))},Tt.exponent=function(Qt){return arguments.length?(vt=Ns(Re=Qt),mt=Ns(1/Re),de.domain(Qe.map(vt)),Tt):Re},Tt.copy=function(){return il(de.copy(),Re,Qe)},po(Tt,de)}function Ns(de){return function(Re){return Re<0?-Math.pow(-Re,de):Math.pow(Re,de)}}g.scale.sqrt=function(){return g.scale.pow().exponent(.5)},g.scale.ordinal=function(){return el([],{t:\"range\",a:[[]]})};function el(de,Re){var Qe,vt,mt;function Tt(Dt){return vt[((Qe.get(Dt)||(Re.t===\"range\"?Qe.set(Dt,de.push(Dt)):NaN))-1)%vt.length]}function Qt(Dt,lr){return g.range(de.length).map(function(Br){return Dt+lr*Br})}return Tt.domain=function(Dt){if(!arguments.length)return de;de=[],Qe=new M;for(var lr=-1,Br=Dt.length,jr;++lr0?Qe[Tt-1]:de[0],Ttyn?0:1;if(jr=Ee)return lr(jr,ai)+(Br?lr(Br,1-ai):\"\")+\"Z\";var En,qn,Jn,ci,oi=0,Hn=0,ta,oa,_a,La,io,oo,Qo,uo,Jo=[];if((ci=(+Qt.apply(this,arguments)||0)/2)&&(Jn=vt===zu?Math.sqrt(Br*Br+jr*jr):+vt.apply(this,arguments),ai||(Hn*=-1),jr&&(Hn=Nt(Jn/jr*Math.sin(ci))),Br&&(oi=Nt(Jn/Br*Math.sin(ci)))),jr){ta=jr*Math.cos(Tn+Hn),oa=jr*Math.sin(Tn+Hn),_a=jr*Math.cos(yn-Hn),La=jr*Math.sin(yn-Hn);var ol=Math.abs(yn-Tn-2*Hn)<=Se?0:1;if(Hn&&wc(ta,oa,_a,La)===ai^ol){var tl=(Tn+yn)/2;ta=jr*Math.cos(tl),oa=jr*Math.sin(tl),_a=La=null}}else ta=oa=0;if(Br){io=Br*Math.cos(yn-oi),oo=Br*Math.sin(yn-oi),Qo=Br*Math.cos(Tn+oi),uo=Br*Math.sin(Tn+oi);var ml=Math.abs(Tn-yn+2*oi)<=Se?0:1;if(oi&&wc(io,oo,Qo,uo)===1-ai^ml){var ua=(Tn+yn)/2;io=Br*Math.cos(ua),oo=Br*Math.sin(ua),Qo=uo=null}}else io=oo=0;if(ti>Ke&&(En=Math.min(Math.abs(jr-Br)/2,+Qe.apply(this,arguments)))>.001){qn=Br0?0:1}function bo(de,Re,Qe,vt,mt){var Tt=de[0]-Re[0],Qt=de[1]-Re[1],Dt=(mt?vt:-vt)/Math.sqrt(Tt*Tt+Qt*Qt),lr=Dt*Qt,Br=-Dt*Tt,jr=de[0]+lr,Tn=de[1]+Br,yn=Re[0]+lr,ti=Re[1]+Br,ai=(jr+yn)/2,En=(Tn+ti)/2,qn=yn-jr,Jn=ti-Tn,ci=qn*qn+Jn*Jn,oi=Qe-vt,Hn=jr*ti-yn*Tn,ta=(Jn<0?-1:1)*Math.sqrt(Math.max(0,oi*oi*ci-Hn*Hn)),oa=(Hn*Jn-qn*ta)/ci,_a=(-Hn*qn-Jn*ta)/ci,La=(Hn*Jn+qn*ta)/ci,io=(-Hn*qn+Jn*ta)/ci,oo=oa-ai,Qo=_a-En,uo=La-ai,Jo=io-En;return oo*oo+Qo*Qo>uo*uo+Jo*Jo&&(oa=La,_a=io),[[oa-lr,_a-Br],[oa*Qe/oi,_a*Qe/oi]]}function Wo(){return!0}function Fc(de){var Re=Go,Qe=pa,vt=Wo,mt=dc,Tt=mt.key,Qt=.7;function Dt(lr){var Br=[],jr=[],Tn=-1,yn=lr.length,ti,ai=on(Re),En=on(Qe);function qn(){Br.push(\"M\",mt(de(jr),Qt))}for(;++Tn1?de.join(\"L\"):de+\"Z\"}function Ne(de){return de.join(\"L\")+\"Z\"}function R(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],\",\",vt[1]];++Re1&&mt.push(\"H\",vt[0]),mt.join(\"\")}function ne(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],\",\",vt[1]];++Re1){Dt=Re[1],Tt=de[lr],lr++,vt+=\"C\"+(mt[0]+Qt[0])+\",\"+(mt[1]+Qt[1])+\",\"+(Tt[0]-Dt[0])+\",\"+(Tt[1]-Dt[1])+\",\"+Tt[0]+\",\"+Tt[1];for(var Br=2;Br9&&(Tt=Qe*3/Math.sqrt(Tt),Qt[Dt]=Tt*vt,Qt[Dt+1]=Tt*mt));for(Dt=-1;++Dt<=lr;)Tt=(de[Math.min(lr,Dt+1)][0]-de[Math.max(0,Dt-1)][0])/(6*(1+Qt[Dt]*Qt[Dt])),Re.push([Tt||0,Qt[Dt]*Tt||0]);return Re}function rr(de){return de.length<3?dc(de):de[0]+wt(de,It(de))}g.svg.line.radial=function(){var de=Fc(sr);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function sr(de){for(var Re,Qe=-1,vt=de.length,mt,Tt;++QeSe)+\",1 \"+Tn}function Br(jr,Tn,yn,ti){return\"Q 0,0 \"+ti}return Tt.radius=function(jr){return arguments.length?(Qe=on(jr),Tt):Qe},Tt.source=function(jr){return arguments.length?(de=on(jr),Tt):de},Tt.target=function(jr){return arguments.length?(Re=on(jr),Tt):Re},Tt.startAngle=function(jr){return arguments.length?(vt=on(jr),Tt):vt},Tt.endAngle=function(jr){return arguments.length?(mt=on(jr),Tt):mt},Tt};function _n(de){return de.radius}g.svg.diagonal=function(){var de=kr,Re=Yr,Qe=Mn;function vt(mt,Tt){var Qt=de.call(this,mt,Tt),Dt=Re.call(this,mt,Tt),lr=(Qt.y+Dt.y)/2,Br=[Qt,{x:Qt.x,y:lr},{x:Dt.x,y:lr},Dt];return Br=Br.map(Qe),\"M\"+Br[0]+\"C\"+Br[1]+\" \"+Br[2]+\" \"+Br[3]}return vt.source=function(mt){return arguments.length?(de=on(mt),vt):de},vt.target=function(mt){return arguments.length?(Re=on(mt),vt):Re},vt.projection=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt};function Mn(de){return[de.x,de.y]}g.svg.diagonal.radial=function(){var de=g.svg.diagonal(),Re=Mn,Qe=de.projection;return de.projection=function(vt){return arguments.length?Qe(Un(Re=vt)):Re},de};function Un(de){return function(){var Re=de.apply(this,arguments),Qe=Re[0],vt=Re[1]-we;return[Qe*Math.cos(vt),Qe*Math.sin(vt)]}}g.svg.symbol=function(){var de=ki,Re=li;function Qe(vt,mt){return(Zi.get(de.call(this,vt,mt))||Ci)(Re.call(this,vt,mt))}return Qe.type=function(vt){return arguments.length?(de=on(vt),Qe):de},Qe.size=function(vt){return arguments.length?(Re=on(vt),Qe):Re},Qe};function li(){return 64}function ki(){return\"circle\"}function Ci(de){var Re=Math.sqrt(de/Se);return\"M0,\"+Re+\"A\"+Re+\",\"+Re+\" 0 1,1 0,\"+-Re+\"A\"+Re+\",\"+Re+\" 0 1,1 0,\"+Re+\"Z\"}var Zi=g.map({circle:Ci,cross:function(de){var Re=Math.sqrt(de/5)/2;return\"M\"+-3*Re+\",\"+-Re+\"H\"+-Re+\"V\"+-3*Re+\"H\"+Re+\"V\"+-Re+\"H\"+3*Re+\"V\"+Re+\"H\"+Re+\"V\"+3*Re+\"H\"+-Re+\"V\"+Re+\"H\"+-3*Re+\"Z\"},diamond:function(de){var Re=Math.sqrt(de/(2*ro)),Qe=Re*ro;return\"M0,\"+-Re+\"L\"+Qe+\",0 0,\"+Re+\" \"+-Qe+\",0Z\"},square:function(de){var Re=Math.sqrt(de)/2;return\"M\"+-Re+\",\"+-Re+\"L\"+Re+\",\"+-Re+\" \"+Re+\",\"+Re+\" \"+-Re+\",\"+Re+\"Z\"},\"triangle-down\":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return\"M0,\"+Qe+\"L\"+Re+\",\"+-Qe+\" \"+-Re+\",\"+-Qe+\"Z\"},\"triangle-up\":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return\"M0,\"+-Qe+\"L\"+Re+\",\"+Qe+\" \"+-Re+\",\"+Qe+\"Z\"}});g.svg.symbolTypes=Zi.keys();var ya=Math.sqrt(3),ro=Math.tan(30*Le);ae.transition=function(de){for(var Re=bs||++ts,Qe=is(de),vt=[],mt,Tt,Qt=fl||{time:Date.now(),ease:pu,delay:0,duration:250},Dt=-1,lr=this.length;++Dt0;)Tn[--ci].call(de,Jn);if(qn>=1)return Qt.event&&Qt.event.end.call(de,de.__data__,Re),--Tt.count?delete Tt[vt]:delete de[Qe],1}Qt||(Dt=mt.time,lr=qa(yn,0,Dt),Qt=Tt[vt]={tween:new M,time:Dt,timer:lr,delay:mt.delay,duration:mt.duration,ease:mt.ease,index:Re},mt=null,++Tt.count)}g.svg.axis=function(){var de=g.scale.linear(),Re=eu,Qe=6,vt=6,mt=3,Tt=[10],Qt=null,Dt;function lr(Br){Br.each(function(){var jr=g.select(this),Tn=this.__chart__||de,yn=this.__chart__=de.copy(),ti=Qt??(yn.ticks?yn.ticks.apply(yn,Tt):yn.domain()),ai=Dt??(yn.tickFormat?yn.tickFormat.apply(yn,Tt):F),En=jr.selectAll(\".tick\").data(ti,yn),qn=En.enter().insert(\"g\",\".domain\").attr(\"class\",\"tick\").style(\"opacity\",Ke),Jn=g.transition(En.exit()).style(\"opacity\",Ke).remove(),ci=g.transition(En.order()).style(\"opacity\",1),oi=Math.max(Qe,0)+mt,Hn,ta=Wi(yn),oa=jr.selectAll(\".domain\").data([0]),_a=(oa.enter().append(\"path\").attr(\"class\",\"domain\"),g.transition(oa));qn.append(\"line\"),qn.append(\"text\");var La=qn.select(\"line\"),io=ci.select(\"line\"),oo=En.select(\"text\").text(ai),Qo=qn.select(\"text\"),uo=ci.select(\"text\"),Jo=Re===\"top\"||Re===\"left\"?-1:1,ol,tl,ml,ua;if(Re===\"bottom\"||Re===\"top\"?(Hn=mu,ol=\"x\",ml=\"y\",tl=\"x2\",ua=\"y2\",oo.attr(\"dy\",Jo<0?\"0em\":\".71em\").style(\"text-anchor\",\"middle\"),_a.attr(\"d\",\"M\"+ta[0]+\",\"+Jo*vt+\"V0H\"+ta[1]+\"V\"+Jo*vt)):(Hn=El,ol=\"y\",ml=\"x\",tl=\"y2\",ua=\"x2\",oo.attr(\"dy\",\".32em\").style(\"text-anchor\",Jo<0?\"end\":\"start\"),_a.attr(\"d\",\"M\"+Jo*vt+\",\"+ta[0]+\"H0V\"+ta[1]+\"H\"+Jo*vt)),La.attr(ua,Jo*Qe),Qo.attr(ml,Jo*oi),io.attr(tl,0).attr(ua,Jo*Qe),uo.attr(ol,0).attr(ml,Jo*oi),yn.rangeBand){var wo=yn,ys=wo.rangeBand()/2;Tn=yn=function(Ms){return wo(Ms)+ys}}else Tn.rangeBand?Tn=yn:Jn.call(Hn,yn,Tn);qn.call(Hn,Tn,yn),ci.call(Hn,yn,yn)})}return lr.scale=function(Br){return arguments.length?(de=Br,lr):de},lr.orient=function(Br){return arguments.length?(Re=Br in Xu?Br+\"\":eu,lr):Re},lr.ticks=function(){return arguments.length?(Tt=A(arguments),lr):Tt},lr.tickValues=function(Br){return arguments.length?(Qt=Br,lr):Qt},lr.tickFormat=function(Br){return arguments.length?(Dt=Br,lr):Dt},lr.tickSize=function(Br){var jr=arguments.length;return jr?(Qe=+Br,vt=+arguments[jr-1],lr):Qe},lr.innerTickSize=function(Br){return arguments.length?(Qe=+Br,lr):Qe},lr.outerTickSize=function(Br){return arguments.length?(vt=+Br,lr):vt},lr.tickPadding=function(Br){return arguments.length?(mt=+Br,lr):mt},lr.tickSubdivide=function(){return arguments.length&&lr},lr};var eu=\"bottom\",Xu={top:1,right:1,bottom:1,left:1};function mu(de,Re,Qe){de.attr(\"transform\",function(vt){var mt=Re(vt);return\"translate(\"+(isFinite(mt)?mt:Qe(vt))+\",0)\"})}function El(de,Re,Qe){de.attr(\"transform\",function(vt){var mt=Re(vt);return\"translate(0,\"+(isFinite(mt)?mt:Qe(vt))+\")\"})}g.svg.brush=function(){var de=se(jr,\"brushstart\",\"brush\",\"brushend\"),Re=null,Qe=null,vt=[0,0],mt=[0,0],Tt,Qt,Dt=!0,lr=!0,Br=Tc[0];function jr(En){En.each(function(){var qn=g.select(this).style(\"pointer-events\",\"all\").style(\"-webkit-tap-highlight-color\",\"rgba(0,0,0,0)\").on(\"mousedown.brush\",ai).on(\"touchstart.brush\",ai),Jn=qn.selectAll(\".background\").data([0]);Jn.enter().append(\"rect\").attr(\"class\",\"background\").style(\"visibility\",\"hidden\").style(\"cursor\",\"crosshair\"),qn.selectAll(\".extent\").data([0]).enter().append(\"rect\").attr(\"class\",\"extent\").style(\"cursor\",\"move\");var ci=qn.selectAll(\".resize\").data(Br,F);ci.exit().remove(),ci.enter().append(\"g\").attr(\"class\",function(oa){return\"resize \"+oa}).style(\"cursor\",function(oa){return fu[oa]}).append(\"rect\").attr(\"x\",function(oa){return/[ew]$/.test(oa)?-3:null}).attr(\"y\",function(oa){return/^[ns]/.test(oa)?-3:null}).attr(\"width\",6).attr(\"height\",6).style(\"visibility\",\"hidden\"),ci.style(\"display\",jr.empty()?\"none\":null);var oi=g.transition(qn),Hn=g.transition(Jn),ta;Re&&(ta=Wi(Re),Hn.attr(\"x\",ta[0]).attr(\"width\",ta[1]-ta[0]),yn(oi)),Qe&&(ta=Wi(Qe),Hn.attr(\"y\",ta[0]).attr(\"height\",ta[1]-ta[0]),ti(oi)),Tn(oi)})}jr.event=function(En){En.each(function(){var qn=de.of(this,arguments),Jn={x:vt,y:mt,i:Tt,j:Qt},ci=this.__chart__||Jn;this.__chart__=Jn,bs?g.select(this).transition().each(\"start.brush\",function(){Tt=ci.i,Qt=ci.j,vt=ci.x,mt=ci.y,qn({type:\"brushstart\"})}).tween(\"brush:brush\",function(){var oi=$u(vt,Jn.x),Hn=$u(mt,Jn.y);return Tt=Qt=null,function(ta){vt=Jn.x=oi(ta),mt=Jn.y=Hn(ta),qn({type:\"brush\",mode:\"resize\"})}}).each(\"end.brush\",function(){Tt=Jn.i,Qt=Jn.j,qn({type:\"brush\",mode:\"resize\"}),qn({type:\"brushend\"})}):(qn({type:\"brushstart\"}),qn({type:\"brush\",mode:\"resize\"}),qn({type:\"brushend\"}))})};function Tn(En){En.selectAll(\".resize\").attr(\"transform\",function(qn){return\"translate(\"+vt[+/e$/.test(qn)]+\",\"+mt[+/^s/.test(qn)]+\")\"})}function yn(En){En.select(\".extent\").attr(\"x\",vt[0]),En.selectAll(\".extent,.n>rect,.s>rect\").attr(\"width\",vt[1]-vt[0])}function ti(En){En.select(\".extent\").attr(\"y\",mt[0]),En.selectAll(\".extent,.e>rect,.w>rect\").attr(\"height\",mt[1]-mt[0])}function ai(){var En=this,qn=g.select(g.event.target),Jn=de.of(En,arguments),ci=g.select(En),oi=qn.datum(),Hn=!/^(n|s)$/.test(oi)&&Re,ta=!/^(e|w)$/.test(oi)&&Qe,oa=qn.classed(\"extent\"),_a=gr(En),La,io=g.mouse(En),oo,Qo=g.select(t(En)).on(\"keydown.brush\",ol).on(\"keyup.brush\",tl);if(g.event.changedTouches?Qo.on(\"touchmove.brush\",ml).on(\"touchend.brush\",wo):Qo.on(\"mousemove.brush\",ml).on(\"mouseup.brush\",wo),ci.interrupt().selectAll(\"*\").interrupt(),oa)io[0]=vt[0]-io[0],io[1]=mt[0]-io[1];else if(oi){var uo=+/w$/.test(oi),Jo=+/^n/.test(oi);oo=[vt[1-uo]-io[0],mt[1-Jo]-io[1]],io[0]=vt[uo],io[1]=mt[Jo]}else g.event.altKey&&(La=io.slice());ci.style(\"pointer-events\",\"none\").selectAll(\".resize\").style(\"display\",null),g.select(\"body\").style(\"cursor\",qn.style(\"cursor\")),Jn({type:\"brushstart\"}),ml();function ol(){g.event.keyCode==32&&(oa||(La=null,io[0]-=vt[1],io[1]-=mt[1],oa=2),Q())}function tl(){g.event.keyCode==32&&oa==2&&(io[0]+=vt[1],io[1]+=mt[1],oa=0,Q())}function ml(){var ys=g.mouse(En),Ms=!1;oo&&(ys[0]+=oo[0],ys[1]+=oo[1]),oa||(g.event.altKey?(La||(La=[(vt[0]+vt[1])/2,(mt[0]+mt[1])/2]),io[0]=vt[+(ys[0]0))return qt;do qt.push(fr=new Date(+Lt)),Oe(Lt,Bt),ue(Lt);while(fr=Et)for(;ue(Et),!Lt(Et);)Et.setTime(Et-1)},function(Et,Bt){if(Et>=Et)if(Bt<0)for(;++Bt<=0;)for(;Oe(Et,-1),!Lt(Et););else for(;--Bt>=0;)for(;Oe(Et,1),!Lt(Et););})},rt&&(et.count=function(Lt,Et){return x.setTime(+Lt),A.setTime(+Et),ue(x),ue(A),Math.floor(rt(x,A))},et.every=function(Lt){return Lt=Math.floor(Lt),!isFinite(Lt)||!(Lt>0)?null:Lt>1?et.filter(ot?function(Et){return ot(Et)%Lt===0}:function(Et){return et.count(0,Et)%Lt===0}):et}),et}var e=S(function(){},function(ue,Oe){ue.setTime(+ue+Oe)},function(ue,Oe){return Oe-ue});e.every=function(ue){return ue=Math.floor(ue),!isFinite(ue)||!(ue>0)?null:ue>1?S(function(Oe){Oe.setTime(Math.floor(Oe/ue)*ue)},function(Oe,rt){Oe.setTime(+Oe+rt*ue)},function(Oe,rt){return(rt-Oe)/ue}):e};var t=e.range,r=1e3,o=6e4,n=36e5,i=864e5,a=6048e5,s=S(function(ue){ue.setTime(ue-ue.getMilliseconds())},function(ue,Oe){ue.setTime(+ue+Oe*r)},function(ue,Oe){return(Oe-ue)/r},function(ue){return ue.getUTCSeconds()}),c=s.range,h=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getMinutes()}),p=h.range,d=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r-ue.getMinutes()*o)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getHours()}),T=d.range,l=S(function(ue){ue.setHours(0,0,0,0)},function(ue,Oe){ue.setDate(ue.getDate()+Oe)},function(ue,Oe){return(Oe-ue-(Oe.getTimezoneOffset()-ue.getTimezoneOffset())*o)/i},function(ue){return ue.getDate()-1}),_=l.range;function w(ue){return S(function(Oe){Oe.setDate(Oe.getDate()-(Oe.getDay()+7-ue)%7),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setDate(Oe.getDate()+rt*7)},function(Oe,rt){return(rt-Oe-(rt.getTimezoneOffset()-Oe.getTimezoneOffset())*o)/a})}var M=w(0),E=w(1),m=w(2),b=w(3),v=w(4),u=w(5),y=w(6),f=M.range,P=E.range,L=m.range,z=b.range,F=v.range,B=u.range,O=y.range,I=S(function(ue){ue.setDate(1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setMonth(ue.getMonth()+Oe)},function(ue,Oe){return Oe.getMonth()-ue.getMonth()+(Oe.getFullYear()-ue.getFullYear())*12},function(ue){return ue.getMonth()}),N=I.range,U=S(function(ue){ue.setMonth(0,1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setFullYear(ue.getFullYear()+Oe)},function(ue,Oe){return Oe.getFullYear()-ue.getFullYear()},function(ue){return ue.getFullYear()});U.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setFullYear(Math.floor(Oe.getFullYear()/ue)*ue),Oe.setMonth(0,1),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setFullYear(Oe.getFullYear()+rt*ue)})};var W=U.range,Q=S(function(ue){ue.setUTCSeconds(0,0)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getUTCMinutes()}),le=Q.range,se=S(function(ue){ue.setUTCMinutes(0,0,0)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getUTCHours()}),fe=se.range,G=S(function(ue){ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCDate(ue.getUTCDate()+Oe)},function(ue,Oe){return(Oe-ue)/i},function(ue){return ue.getUTCDate()-1}),$=G.range;function J(ue){return S(function(Oe){Oe.setUTCDate(Oe.getUTCDate()-(Oe.getUTCDay()+7-ue)%7),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCDate(Oe.getUTCDate()+rt*7)},function(Oe,rt){return(rt-Oe)/a})}var X=J(0),re=J(1),ae=J(2),j=J(3),ee=J(4),ie=J(5),ce=J(6),xe=X.range,Te=re.range,Ue=ae.range,Ie=j.range,Ye=ee.range,it=ie.range,at=ce.range,tt=S(function(ue){ue.setUTCDate(1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCMonth(ue.getUTCMonth()+Oe)},function(ue,Oe){return Oe.getUTCMonth()-ue.getUTCMonth()+(Oe.getUTCFullYear()-ue.getUTCFullYear())*12},function(ue){return ue.getUTCMonth()}),ut=tt.range,Me=S(function(ue){ue.setUTCMonth(0,1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCFullYear(ue.getUTCFullYear()+Oe)},function(ue,Oe){return Oe.getUTCFullYear()-ue.getUTCFullYear()},function(ue){return ue.getUTCFullYear()});Me.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setUTCFullYear(Math.floor(Oe.getUTCFullYear()/ue)*ue),Oe.setUTCMonth(0,1),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCFullYear(Oe.getUTCFullYear()+rt*ue)})};var pe=Me.range;g.timeDay=l,g.timeDays=_,g.timeFriday=u,g.timeFridays=B,g.timeHour=d,g.timeHours=T,g.timeInterval=S,g.timeMillisecond=e,g.timeMilliseconds=t,g.timeMinute=h,g.timeMinutes=p,g.timeMonday=E,g.timeMondays=P,g.timeMonth=I,g.timeMonths=N,g.timeSaturday=y,g.timeSaturdays=O,g.timeSecond=s,g.timeSeconds=c,g.timeSunday=M,g.timeSundays=f,g.timeThursday=v,g.timeThursdays=F,g.timeTuesday=m,g.timeTuesdays=L,g.timeWednesday=b,g.timeWednesdays=z,g.timeWeek=M,g.timeWeeks=f,g.timeYear=U,g.timeYears=W,g.utcDay=G,g.utcDays=$,g.utcFriday=ie,g.utcFridays=it,g.utcHour=se,g.utcHours=fe,g.utcMillisecond=e,g.utcMilliseconds=t,g.utcMinute=Q,g.utcMinutes=le,g.utcMonday=re,g.utcMondays=Te,g.utcMonth=tt,g.utcMonths=ut,g.utcSaturday=ce,g.utcSaturdays=at,g.utcSecond=s,g.utcSeconds=c,g.utcSunday=X,g.utcSundays=xe,g.utcThursday=ee,g.utcThursdays=Ye,g.utcTuesday=ae,g.utcTuesdays=Ue,g.utcWednesday=j,g.utcWednesdays=Ie,g.utcWeek=X,g.utcWeeks=xe,g.utcYear=Me,g.utcYears=pe,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Ki=ke({\"node_modules/d3-time-format/dist/d3-time-format.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,Ii()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){\"use strict\";function A(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L);return Ke.setFullYear(Be.y),Ke}return new Date(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L)}function S(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(Date.UTC(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L));return Ke.setUTCFullYear(Be.y),Ke}return new Date(Date.UTC(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L))}function e(Be,Ke,je){return{y:Be,m:Ke,d:je,H:0,M:0,S:0,L:0}}function t(Be){var Ke=Be.dateTime,je=Be.date,Se=Be.time,He=Be.periods,Ee=Be.days,we=Be.shortDays,Le=Be.months,nt=Be.shortMonths,pt=c(He),bt=h(He),Rt=c(Ee),Nt=h(Ee),Xt=c(we),$t=h(we),ur=c(Le),pn=h(Le),Rn=c(nt),Nn=h(nt),On={a:Wn,A:ri,b:Sn,B:ui,c:null,d:I,e:I,f:le,H:N,I:U,j:W,L:Q,m:se,M:fe,p:gt,q:yt,Q:Et,s:Bt,S:G,u:$,U:J,V:X,w:re,W:ae,x:null,X:null,y:j,Y:ee,Z:ie,\"%\":Lt},ni={a:Pr,A:Ir,b:Tr,B:Mr,c:null,d:ce,e:ce,f:Ye,H:xe,I:Te,j:Ue,L:Ie,m:it,M:at,p:Lr,q:Ur,Q:Et,s:Bt,S:tt,u:ut,U:Me,V:pe,w:ue,W:Oe,x:null,X:null,y:rt,Y:ot,Z:et,\"%\":Lt},zn={a:Ht,A:Vt,b:wr,B:$r,c:xn,d:v,e:v,f:z,H:y,I:y,j:u,L,m:b,M:f,p:Ft,q:m,Q:B,s:O,S:P,u:d,U:T,V:l,w:p,W:_,x:en,X:Fn,y:M,Y:w,Z:E,\"%\":F};On.x=Qn(je,On),On.X=Qn(Se,On),On.c=Qn(Ke,On),ni.x=Qn(je,ni),ni.X=Qn(Se,ni),ni.c=Qn(Ke,ni);function Qn(Dr,nn){return function(vn){var gn=[],kt=-1,or=0,yr=Dr.length,on,An,Zn;for(vn instanceof Date||(vn=new Date(+vn));++kt53)return null;\"w\"in gn||(gn.w=1),\"Z\"in gn?(or=S(e(gn.y,0,1)),yr=or.getUTCDay(),or=yr>4||yr===0?x.utcMonday.ceil(or):x.utcMonday(or),or=x.utcDay.offset(or,(gn.V-1)*7),gn.y=or.getUTCFullYear(),gn.m=or.getUTCMonth(),gn.d=or.getUTCDate()+(gn.w+6)%7):(or=A(e(gn.y,0,1)),yr=or.getDay(),or=yr>4||yr===0?x.timeMonday.ceil(or):x.timeMonday(or),or=x.timeDay.offset(or,(gn.V-1)*7),gn.y=or.getFullYear(),gn.m=or.getMonth(),gn.d=or.getDate()+(gn.w+6)%7)}else(\"W\"in gn||\"U\"in gn)&&(\"w\"in gn||(gn.w=\"u\"in gn?gn.u%7:\"W\"in gn?1:0),yr=\"Z\"in gn?S(e(gn.y,0,1)).getUTCDay():A(e(gn.y,0,1)).getDay(),gn.m=0,gn.d=\"W\"in gn?(gn.w+6)%7+gn.W*7-(yr+5)%7:gn.w+gn.U*7-(yr+6)%7);return\"Z\"in gn?(gn.H+=gn.Z/100|0,gn.M+=gn.Z%100,S(gn)):A(gn)}}function Zt(Dr,nn,vn,gn){for(var kt=0,or=nn.length,yr=vn.length,on,An;kt=yr)return-1;if(on=nn.charCodeAt(kt++),on===37){if(on=nn.charAt(kt++),An=zn[on in r?nn.charAt(kt++):on],!An||(gn=An(Dr,vn,gn))<0)return-1}else if(on!=vn.charCodeAt(gn++))return-1}return gn}function Ft(Dr,nn,vn){var gn=pt.exec(nn.slice(vn));return gn?(Dr.p=bt[gn[0].toLowerCase()],vn+gn[0].length):-1}function Ht(Dr,nn,vn){var gn=Xt.exec(nn.slice(vn));return gn?(Dr.w=$t[gn[0].toLowerCase()],vn+gn[0].length):-1}function Vt(Dr,nn,vn){var gn=Rt.exec(nn.slice(vn));return gn?(Dr.w=Nt[gn[0].toLowerCase()],vn+gn[0].length):-1}function wr(Dr,nn,vn){var gn=Rn.exec(nn.slice(vn));return gn?(Dr.m=Nn[gn[0].toLowerCase()],vn+gn[0].length):-1}function $r(Dr,nn,vn){var gn=ur.exec(nn.slice(vn));return gn?(Dr.m=pn[gn[0].toLowerCase()],vn+gn[0].length):-1}function xn(Dr,nn,vn){return Zt(Dr,Ke,nn,vn)}function en(Dr,nn,vn){return Zt(Dr,je,nn,vn)}function Fn(Dr,nn,vn){return Zt(Dr,Se,nn,vn)}function Wn(Dr){return we[Dr.getDay()]}function ri(Dr){return Ee[Dr.getDay()]}function Sn(Dr){return nt[Dr.getMonth()]}function ui(Dr){return Le[Dr.getMonth()]}function gt(Dr){return He[+(Dr.getHours()>=12)]}function yt(Dr){return 1+~~(Dr.getMonth()/3)}function Pr(Dr){return we[Dr.getUTCDay()]}function Ir(Dr){return Ee[Dr.getUTCDay()]}function Tr(Dr){return nt[Dr.getUTCMonth()]}function Mr(Dr){return Le[Dr.getUTCMonth()]}function Lr(Dr){return He[+(Dr.getUTCHours()>=12)]}function Ur(Dr){return 1+~~(Dr.getUTCMonth()/3)}return{format:function(Dr){var nn=Qn(Dr+=\"\",On);return nn.toString=function(){return Dr},nn},parse:function(Dr){var nn=gi(Dr+=\"\",!1);return nn.toString=function(){return Dr},nn},utcFormat:function(Dr){var nn=Qn(Dr+=\"\",ni);return nn.toString=function(){return Dr},nn},utcParse:function(Dr){var nn=gi(Dr+=\"\",!0);return nn.toString=function(){return Dr},nn}}}var r={\"-\":\"\",_:\" \",0:\"0\"},o=/^\\s*\\d+/,n=/^%/,i=/[\\\\^$*+?|[\\]().{}]/g;function a(Be,Ke,je){var Se=Be<0?\"-\":\"\",He=(Se?-Be:Be)+\"\",Ee=He.length;return Se+(Ee68?1900:2e3),je+Se[0].length):-1}function E(Be,Ke,je){var Se=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(Ke.slice(je,je+6));return Se?(Be.Z=Se[1]?0:-(Se[2]+(Se[3]||\"00\")),je+Se[0].length):-1}function m(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+1));return Se?(Be.q=Se[0]*3-3,je+Se[0].length):-1}function b(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.m=Se[0]-1,je+Se[0].length):-1}function v(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.d=+Se[0],je+Se[0].length):-1}function u(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.m=0,Be.d=+Se[0],je+Se[0].length):-1}function y(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.H=+Se[0],je+Se[0].length):-1}function f(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.M=+Se[0],je+Se[0].length):-1}function P(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.S=+Se[0],je+Se[0].length):-1}function L(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.L=+Se[0],je+Se[0].length):-1}function z(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+6));return Se?(Be.L=Math.floor(Se[0]/1e3),je+Se[0].length):-1}function F(Be,Ke,je){var Se=n.exec(Ke.slice(je,je+1));return Se?je+Se[0].length:-1}function B(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.Q=+Se[0],je+Se[0].length):-1}function O(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.s=+Se[0],je+Se[0].length):-1}function I(Be,Ke){return a(Be.getDate(),Ke,2)}function N(Be,Ke){return a(Be.getHours(),Ke,2)}function U(Be,Ke){return a(Be.getHours()%12||12,Ke,2)}function W(Be,Ke){return a(1+x.timeDay.count(x.timeYear(Be),Be),Ke,3)}function Q(Be,Ke){return a(Be.getMilliseconds(),Ke,3)}function le(Be,Ke){return Q(Be,Ke)+\"000\"}function se(Be,Ke){return a(Be.getMonth()+1,Ke,2)}function fe(Be,Ke){return a(Be.getMinutes(),Ke,2)}function G(Be,Ke){return a(Be.getSeconds(),Ke,2)}function $(Be){var Ke=Be.getDay();return Ke===0?7:Ke}function J(Be,Ke){return a(x.timeSunday.count(x.timeYear(Be)-1,Be),Ke,2)}function X(Be,Ke){var je=Be.getDay();return Be=je>=4||je===0?x.timeThursday(Be):x.timeThursday.ceil(Be),a(x.timeThursday.count(x.timeYear(Be),Be)+(x.timeYear(Be).getDay()===4),Ke,2)}function re(Be){return Be.getDay()}function ae(Be,Ke){return a(x.timeMonday.count(x.timeYear(Be)-1,Be),Ke,2)}function j(Be,Ke){return a(Be.getFullYear()%100,Ke,2)}function ee(Be,Ke){return a(Be.getFullYear()%1e4,Ke,4)}function ie(Be){var Ke=Be.getTimezoneOffset();return(Ke>0?\"-\":(Ke*=-1,\"+\"))+a(Ke/60|0,\"0\",2)+a(Ke%60,\"0\",2)}function ce(Be,Ke){return a(Be.getUTCDate(),Ke,2)}function xe(Be,Ke){return a(Be.getUTCHours(),Ke,2)}function Te(Be,Ke){return a(Be.getUTCHours()%12||12,Ke,2)}function Ue(Be,Ke){return a(1+x.utcDay.count(x.utcYear(Be),Be),Ke,3)}function Ie(Be,Ke){return a(Be.getUTCMilliseconds(),Ke,3)}function Ye(Be,Ke){return Ie(Be,Ke)+\"000\"}function it(Be,Ke){return a(Be.getUTCMonth()+1,Ke,2)}function at(Be,Ke){return a(Be.getUTCMinutes(),Ke,2)}function tt(Be,Ke){return a(Be.getUTCSeconds(),Ke,2)}function ut(Be){var Ke=Be.getUTCDay();return Ke===0?7:Ke}function Me(Be,Ke){return a(x.utcSunday.count(x.utcYear(Be)-1,Be),Ke,2)}function pe(Be,Ke){var je=Be.getUTCDay();return Be=je>=4||je===0?x.utcThursday(Be):x.utcThursday.ceil(Be),a(x.utcThursday.count(x.utcYear(Be),Be)+(x.utcYear(Be).getUTCDay()===4),Ke,2)}function ue(Be){return Be.getUTCDay()}function Oe(Be,Ke){return a(x.utcMonday.count(x.utcYear(Be)-1,Be),Ke,2)}function rt(Be,Ke){return a(Be.getUTCFullYear()%100,Ke,2)}function ot(Be,Ke){return a(Be.getUTCFullYear()%1e4,Ke,4)}function et(){return\"+0000\"}function Lt(){return\"%\"}function Et(Be){return+Be}function Bt(Be){return Math.floor(+Be/1e3)}var qt;fr({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\"]});function fr(Be){return qt=t(Be),g.timeFormat=qt.format,g.timeParse=qt.parse,g.utcFormat=qt.utcFormat,g.utcParse=qt.utcParse,qt}var ar=\"%Y-%m-%dT%H:%M:%S.%LZ\";function Rr(Be){return Be.toISOString()}var gr=Date.prototype.toISOString?Rr:g.utcFormat(ar);function br(Be){var Ke=new Date(Be);return isNaN(Ke)?null:Ke}var _t=+new Date(\"2000-01-01T00:00:00.000Z\")?br:g.utcParse(ar);g.isoFormat=gr,g.isoParse=_t,g.timeFormatDefaultLocale=fr,g.timeFormatLocale=t,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),$n=ke({\"node_modules/d3-format/dist/d3-format.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=typeof globalThis<\"u\"?globalThis:g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(b){return Math.abs(b=Math.round(b))>=1e21?b.toLocaleString(\"en\").replace(/,/g,\"\"):b.toString(10)}function A(b,v){if((u=(b=v?b.toExponential(v-1):b.toExponential()).indexOf(\"e\"))<0)return null;var u,y=b.slice(0,u);return[y.length>1?y[0]+y.slice(2):y,+b.slice(u+1)]}function S(b){return b=A(Math.abs(b)),b?b[1]:NaN}function e(b,v){return function(u,y){for(var f=u.length,P=[],L=0,z=b[0],F=0;f>0&&z>0&&(F+z+1>y&&(z=Math.max(1,y-F)),P.push(u.substring(f-=z,f+z)),!((F+=z+1)>y));)z=b[L=(L+1)%b.length];return P.reverse().join(v)}}function t(b){return function(v){return v.replace(/[0-9]/g,function(u){return b[+u]})}}var r=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function o(b){if(!(v=r.exec(b)))throw new Error(\"invalid format: \"+b);var v;return new n({fill:v[1],align:v[2],sign:v[3],symbol:v[4],zero:v[5],width:v[6],comma:v[7],precision:v[8]&&v[8].slice(1),trim:v[9],type:v[10]})}o.prototype=n.prototype;function n(b){this.fill=b.fill===void 0?\" \":b.fill+\"\",this.align=b.align===void 0?\">\":b.align+\"\",this.sign=b.sign===void 0?\"-\":b.sign+\"\",this.symbol=b.symbol===void 0?\"\":b.symbol+\"\",this.zero=!!b.zero,this.width=b.width===void 0?void 0:+b.width,this.comma=!!b.comma,this.precision=b.precision===void 0?void 0:+b.precision,this.trim=!!b.trim,this.type=b.type===void 0?\"\":b.type+\"\"}n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\"0\":\"\")+(this.width===void 0?\"\":Math.max(1,this.width|0))+(this.comma?\",\":\"\")+(this.precision===void 0?\"\":\".\"+Math.max(0,this.precision|0))+(this.trim?\"~\":\"\")+this.type};function i(b){e:for(var v=b.length,u=1,y=-1,f;u0&&(y=0);break}return y>0?b.slice(0,y)+b.slice(f+1):b}var a;function s(b,v){var u=A(b,v);if(!u)return b+\"\";var y=u[0],f=u[1],P=f-(a=Math.max(-8,Math.min(8,Math.floor(f/3)))*3)+1,L=y.length;return P===L?y:P>L?y+new Array(P-L+1).join(\"0\"):P>0?y.slice(0,P)+\".\"+y.slice(P):\"0.\"+new Array(1-P).join(\"0\")+A(b,Math.max(0,v+P-1))[0]}function c(b,v){var u=A(b,v);if(!u)return b+\"\";var y=u[0],f=u[1];return f<0?\"0.\"+new Array(-f).join(\"0\")+y:y.length>f+1?y.slice(0,f+1)+\".\"+y.slice(f+1):y+new Array(f-y.length+2).join(\"0\")}var h={\"%\":function(b,v){return(b*100).toFixed(v)},b:function(b){return Math.round(b).toString(2)},c:function(b){return b+\"\"},d:x,e:function(b,v){return b.toExponential(v)},f:function(b,v){return b.toFixed(v)},g:function(b,v){return b.toPrecision(v)},o:function(b){return Math.round(b).toString(8)},p:function(b,v){return c(b*100,v)},r:c,s,X:function(b){return Math.round(b).toString(16).toUpperCase()},x:function(b){return Math.round(b).toString(16)}};function p(b){return b}var d=Array.prototype.map,T=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"\\xB5\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function l(b){var v=b.grouping===void 0||b.thousands===void 0?p:e(d.call(b.grouping,Number),b.thousands+\"\"),u=b.currency===void 0?\"\":b.currency[0]+\"\",y=b.currency===void 0?\"\":b.currency[1]+\"\",f=b.decimal===void 0?\".\":b.decimal+\"\",P=b.numerals===void 0?p:t(d.call(b.numerals,String)),L=b.percent===void 0?\"%\":b.percent+\"\",z=b.minus===void 0?\"-\":b.minus+\"\",F=b.nan===void 0?\"NaN\":b.nan+\"\";function B(I){I=o(I);var N=I.fill,U=I.align,W=I.sign,Q=I.symbol,le=I.zero,se=I.width,fe=I.comma,G=I.precision,$=I.trim,J=I.type;J===\"n\"?(fe=!0,J=\"g\"):h[J]||(G===void 0&&(G=12),$=!0,J=\"g\"),(le||N===\"0\"&&U===\"=\")&&(le=!0,N=\"0\",U=\"=\");var X=Q===\"$\"?u:Q===\"#\"&&/[boxX]/.test(J)?\"0\"+J.toLowerCase():\"\",re=Q===\"$\"?y:/[%p]/.test(J)?L:\"\",ae=h[J],j=/[defgprs%]/.test(J);G=G===void 0?6:/[gprs]/.test(J)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G));function ee(ie){var ce=X,xe=re,Te,Ue,Ie;if(J===\"c\")xe=ae(ie)+xe,ie=\"\";else{ie=+ie;var Ye=ie<0||1/ie<0;if(ie=isNaN(ie)?F:ae(Math.abs(ie),G),$&&(ie=i(ie)),Ye&&+ie==0&&W!==\"+\"&&(Ye=!1),ce=(Ye?W===\"(\"?W:z:W===\"-\"||W===\"(\"?\"\":W)+ce,xe=(J===\"s\"?T[8+a/3]:\"\")+xe+(Ye&&W===\"(\"?\")\":\"\"),j){for(Te=-1,Ue=ie.length;++TeIe||Ie>57){xe=(Ie===46?f+ie.slice(Te+1):ie.slice(Te))+xe,ie=ie.slice(0,Te);break}}}fe&&!le&&(ie=v(ie,1/0));var it=ce.length+ie.length+xe.length,at=it>1)+ce+ie+xe+at.slice(it);break;default:ie=at+ce+ie+xe;break}return P(ie)}return ee.toString=function(){return I+\"\"},ee}function O(I,N){var U=B((I=o(I),I.type=\"f\",I)),W=Math.max(-8,Math.min(8,Math.floor(S(N)/3)))*3,Q=Math.pow(10,-W),le=T[8+W/3];return function(se){return U(Q*se)+le}}return{format:B,formatPrefix:O}}var _;w({decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],minus:\"-\"});function w(b){return _=l(b),g.format=_.format,g.formatPrefix=_.formatPrefix,_}function M(b){return Math.max(0,-S(Math.abs(b)))}function E(b,v){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(S(v)/3)))*3-S(Math.abs(b)))}function m(b,v){return b=Math.abs(b),v=Math.abs(v)-b,Math.max(0,S(v)-S(b))+1}g.FormatSpecifier=n,g.formatDefaultLocale=w,g.formatLocale=l,g.formatSpecifier=o,g.precisionFixed=M,g.precisionPrefix=E,g.precisionRound=m,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Kn=ke({\"node_modules/is-string-blank/index.js\"(Z,H){\"use strict\";H.exports=function(g){for(var x=g.length,A,S=0;S13)&&A!==32&&A!==133&&A!==160&&A!==5760&&A!==6158&&(A<8192||A>8205)&&A!==8232&&A!==8233&&A!==8239&&A!==8287&&A!==8288&&A!==12288&&A!==65279)return!1;return!0}}}),Yn=ke({\"node_modules/fast-isnumeric/index.js\"(Z,H){\"use strict\";var g=Kn();H.exports=function(x){var A=typeof x;if(A===\"string\"){var S=x;if(x=+x,x===0&&g(S))return!1}else if(A!==\"number\")return!1;return x-x<1}}}),Hi=ke({\"src/constants/numerical.js\"(Z,H){\"use strict\";H.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:\"\\u2212\"}}}),Vn=ke({\"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=typeof globalThis<\"u\"?globalThis:g||self,x(g[\"base64-arraybuffer\"]={}))})(Z,function(g){\"use strict\";for(var x=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",A=typeof Uint8Array>\"u\"?[]:new Uint8Array(256),S=0;S>2],a+=x[(o[n]&3)<<4|o[n+1]>>4],a+=x[(o[n+1]&15)<<2|o[n+2]>>6],a+=x[o[n+2]&63];return i%3===2?a=a.substring(0,a.length-1)+\"=\":i%3===1&&(a=a.substring(0,a.length-2)+\"==\"),a},t=function(r){var o=r.length*.75,n=r.length,i,a=0,s,c,h,p;r[r.length-1]===\"=\"&&(o--,r[r.length-2]===\"=\"&&o--);var d=new ArrayBuffer(o),T=new Uint8Array(d);for(i=0;i>4,T[a++]=(c&15)<<4|h>>2,T[a++]=(h&3)<<6|p&63;return d};g.decode=t,g.encode=e,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Bi=ke({\"src/lib/is_plain_object.js\"(Z,H){\"use strict\";H.exports=function(x){return window&&window.process&&window.process.versions?Object.prototype.toString.call(x)===\"[object Object]\":Object.prototype.toString.call(x)===\"[object Object]\"&&Object.getPrototypeOf(x).hasOwnProperty(\"hasOwnProperty\")}}}),Oa=ke({\"src/lib/array.js\"(Z){\"use strict\";var H=Vn().decode,g=Bi(),x=Array.isArray,A=ArrayBuffer,S=DataView;function e(s){return A.isView(s)&&!(s instanceof S)}Z.isTypedArray=e;function t(s){return x(s)||e(s)}Z.isArrayOrTypedArray=t;function r(s){return!t(s[0])}Z.isArray1D=r,Z.ensureArray=function(s,c){return x(s)||(s=[]),s.length=c,s};var o={u1c:typeof Uint8ClampedArray>\"u\"?void 0:Uint8ClampedArray,i1:typeof Int8Array>\"u\"?void 0:Int8Array,u1:typeof Uint8Array>\"u\"?void 0:Uint8Array,i2:typeof Int16Array>\"u\"?void 0:Int16Array,u2:typeof Uint16Array>\"u\"?void 0:Uint16Array,i4:typeof Int32Array>\"u\"?void 0:Int32Array,u4:typeof Uint32Array>\"u\"?void 0:Uint32Array,f4:typeof Float32Array>\"u\"?void 0:Float32Array,f8:typeof Float64Array>\"u\"?void 0:Float64Array};o.uint8c=o.u1c,o.uint8=o.u1,o.int8=o.i1,o.uint16=o.u2,o.int16=o.i2,o.uint32=o.u4,o.int32=o.i4,o.float32=o.f4,o.float64=o.f8;function n(s){return s.constructor===ArrayBuffer}Z.isArrayBuffer=n,Z.decodeTypedArraySpec=function(s){var c=[],h=i(s),p=h.dtype,d=o[p];if(!d)throw new Error('Error in dtype: \"'+p+'\"');var T=d.BYTES_PER_ELEMENT,l=h.bdata;n(l)||(l=H(l));var _=h.shape===void 0?[l.byteLength/T]:(\"\"+h.shape).split(\",\");_.reverse();var w=_.length,M,E,m=+_[0],b=T*m,v=0;if(w===1)c=new d(l);else if(w===2)for(M=+_[1],E=0;E2)return d[M]=d[M]|e,_.set(w,null);if(l){for(c=M;c0)return Math.log(A)/Math.LN10;var e=Math.log(Math.min(S[0],S[1]))/Math.LN10;return g(e)||(e=Math.log(Math.max(S[0],S[1]))/Math.LN10-6),e}}}),Sd=ke({\"src/lib/relink_private.js\"(Z,H){\"use strict\";var g=Oa().isArrayOrTypedArray,x=Bi();H.exports=function A(S,e){for(var t in e){var r=e[t],o=S[t];if(o!==r)if(t.charAt(0)===\"_\"||typeof r==\"function\"){if(t in S)continue;S[t]=r}else if(g(r)&&g(o)&&x(r[0])){if(t===\"customdata\"||t===\"ids\")continue;for(var n=Math.min(r.length,o.length),i=0;iS/2?A-Math.round(A/S)*S:A}H.exports={mod:g,modHalf:x}}}),ru=ke({\"node_modules/tinycolor2/tinycolor.js\"(Z,H){(function(g){var x=/^\\s+/,A=/\\s+$/,S=0,e=g.round,t=g.min,r=g.max,o=g.random;function n(j,ee){if(j=j||\"\",ee=ee||{},j instanceof n)return j;if(!(this instanceof n))return new n(j,ee);var ie=i(j);this._originalInput=j,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=e(100*this._a)/100,this._format=ee.format||ie.format,this._gradientType=ee.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ie.ok,this._tc_id=S++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},getLuminance:function(){var j=this.toRgb(),ee,ie,ce,xe,Te,Ue;return ee=j.r/255,ie=j.g/255,ce=j.b/255,ee<=.03928?xe=ee/12.92:xe=g.pow((ee+.055)/1.055,2.4),ie<=.03928?Te=ie/12.92:Te=g.pow((ie+.055)/1.055,2.4),ce<=.03928?Ue=ce/12.92:Ue=g.pow((ce+.055)/1.055,2.4),.2126*xe+.7152*Te+.0722*Ue},setAlpha:function(j){return this._a=I(j),this._roundA=e(100*this._a)/100,this},toHsv:function(){var j=h(this._r,this._g,this._b);return{h:j.h*360,s:j.s,v:j.v,a:this._a}},toHsvString:function(){var j=h(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.v*100);return this._a==1?\"hsv(\"+ee+\", \"+ie+\"%, \"+ce+\"%)\":\"hsva(\"+ee+\", \"+ie+\"%, \"+ce+\"%, \"+this._roundA+\")\"},toHsl:function(){var j=s(this._r,this._g,this._b);return{h:j.h*360,s:j.s,l:j.l,a:this._a}},toHslString:function(){var j=s(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.l*100);return this._a==1?\"hsl(\"+ee+\", \"+ie+\"%, \"+ce+\"%)\":\"hsla(\"+ee+\", \"+ie+\"%, \"+ce+\"%, \"+this._roundA+\")\"},toHex:function(j){return d(this._r,this._g,this._b,j)},toHexString:function(j){return\"#\"+this.toHex(j)},toHex8:function(j){return T(this._r,this._g,this._b,this._a,j)},toHex8String:function(j){return\"#\"+this.toHex8(j)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+e(this._r)+\", \"+e(this._g)+\", \"+e(this._b)+\")\":\"rgba(\"+e(this._r)+\", \"+e(this._g)+\", \"+e(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:e(N(this._r,255)*100)+\"%\",g:e(N(this._g,255)*100)+\"%\",b:e(N(this._b,255)*100)+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+e(N(this._r,255)*100)+\"%, \"+e(N(this._g,255)*100)+\"%, \"+e(N(this._b,255)*100)+\"%)\":\"rgba(\"+e(N(this._r,255)*100)+\"%, \"+e(N(this._g,255)*100)+\"%, \"+e(N(this._b,255)*100)+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":this._a<1?!1:B[d(this._r,this._g,this._b,!0)]||!1},toFilter:function(j){var ee=\"#\"+l(this._r,this._g,this._b,this._a),ie=ee,ce=this._gradientType?\"GradientType = 1, \":\"\";if(j){var xe=n(j);ie=\"#\"+l(xe._r,xe._g,xe._b,xe._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+ce+\"startColorstr=\"+ee+\",endColorstr=\"+ie+\")\"},toString:function(j){var ee=!!j;j=j||this._format;var ie=!1,ce=this._a<1&&this._a>=0,xe=!ee&&ce&&(j===\"hex\"||j===\"hex6\"||j===\"hex3\"||j===\"hex4\"||j===\"hex8\"||j===\"name\");return xe?j===\"name\"&&this._a===0?this.toName():this.toRgbString():(j===\"rgb\"&&(ie=this.toRgbString()),j===\"prgb\"&&(ie=this.toPercentageRgbString()),(j===\"hex\"||j===\"hex6\")&&(ie=this.toHexString()),j===\"hex3\"&&(ie=this.toHexString(!0)),j===\"hex4\"&&(ie=this.toHex8String(!0)),j===\"hex8\"&&(ie=this.toHex8String()),j===\"name\"&&(ie=this.toName()),j===\"hsl\"&&(ie=this.toHslString()),j===\"hsv\"&&(ie=this.toHsvString()),ie||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(j,ee){var ie=j.apply(null,[this].concat([].slice.call(ee)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(E,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(j,ee){return j.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(u,arguments)},monochromatic:function(){return this._applyCombination(z,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(f,arguments)}},n.fromRatio=function(j,ee){if(typeof j==\"object\"){var ie={};for(var ce in j)j.hasOwnProperty(ce)&&(ce===\"a\"?ie[ce]=j[ce]:ie[ce]=fe(j[ce]));j=ie}return n(j,ee)};function i(j){var ee={r:0,g:0,b:0},ie=1,ce=null,xe=null,Te=null,Ue=!1,Ie=!1;return typeof j==\"string\"&&(j=re(j)),typeof j==\"object\"&&(X(j.r)&&X(j.g)&&X(j.b)?(ee=a(j.r,j.g,j.b),Ue=!0,Ie=String(j.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):X(j.h)&&X(j.s)&&X(j.v)?(ce=fe(j.s),xe=fe(j.v),ee=p(j.h,ce,xe),Ue=!0,Ie=\"hsv\"):X(j.h)&&X(j.s)&&X(j.l)&&(ce=fe(j.s),Te=fe(j.l),ee=c(j.h,ce,Te),Ue=!0,Ie=\"hsl\"),j.hasOwnProperty(\"a\")&&(ie=j.a)),ie=I(ie),{ok:Ue,format:j.format||Ie,r:t(255,r(ee.r,0)),g:t(255,r(ee.g,0)),b:t(255,r(ee.b,0)),a:ie}}function a(j,ee,ie){return{r:N(j,255)*255,g:N(ee,255)*255,b:N(ie,255)*255}}function s(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=(ce+xe)/2;if(ce==xe)Te=Ue=0;else{var Ye=ce-xe;switch(Ue=Ie>.5?Ye/(2-ce-xe):Ye/(ce+xe),ce){case j:Te=(ee-ie)/Ye+(ee1&&(tt-=1),tt<1/6?it+(at-it)*6*tt:tt<1/2?at:tt<2/3?it+(at-it)*(2/3-tt)*6:it}if(ee===0)ce=xe=Te=ie;else{var Ie=ie<.5?ie*(1+ee):ie+ee-ie*ee,Ye=2*ie-Ie;ce=Ue(Ye,Ie,j+1/3),xe=Ue(Ye,Ie,j),Te=Ue(Ye,Ie,j-1/3)}return{r:ce*255,g:xe*255,b:Te*255}}function h(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=ce,Ye=ce-xe;if(Ue=ce===0?0:Ye/ce,ce==xe)Te=0;else{switch(ce){case j:Te=(ee-ie)/Ye+(ee>1)+720)%360;--ee;)ce.h=(ce.h+xe)%360,Te.push(n(ce));return Te}function z(j,ee){ee=ee||6;for(var ie=n(j).toHsv(),ce=ie.h,xe=ie.s,Te=ie.v,Ue=[],Ie=1/ee;ee--;)Ue.push(n({h:ce,s:xe,v:Te})),Te=(Te+Ie)%1;return Ue}n.mix=function(j,ee,ie){ie=ie===0?0:ie||50;var ce=n(j).toRgb(),xe=n(ee).toRgb(),Te=ie/100,Ue={r:(xe.r-ce.r)*Te+ce.r,g:(xe.g-ce.g)*Te+ce.g,b:(xe.b-ce.b)*Te+ce.b,a:(xe.a-ce.a)*Te+ce.a};return n(Ue)},n.readability=function(j,ee){var ie=n(j),ce=n(ee);return(g.max(ie.getLuminance(),ce.getLuminance())+.05)/(g.min(ie.getLuminance(),ce.getLuminance())+.05)},n.isReadable=function(j,ee,ie){var ce=n.readability(j,ee),xe,Te;switch(Te=!1,xe=ae(ie),xe.level+xe.size){case\"AAsmall\":case\"AAAlarge\":Te=ce>=4.5;break;case\"AAlarge\":Te=ce>=3;break;case\"AAAsmall\":Te=ce>=7;break}return Te},n.mostReadable=function(j,ee,ie){var ce=null,xe=0,Te,Ue,Ie,Ye;ie=ie||{},Ue=ie.includeFallbackColors,Ie=ie.level,Ye=ie.size;for(var it=0;itxe&&(xe=Te,ce=n(ee[it]));return n.isReadable(j,ce,{level:Ie,size:Ye})||!Ue?ce:(ie.includeFallbackColors=!1,n.mostReadable(j,[\"#fff\",\"#000\"],ie))};var F=n.names={aliceblue:\"f0f8ff\",antiquewhite:\"faebd7\",aqua:\"0ff\",aquamarine:\"7fffd4\",azure:\"f0ffff\",beige:\"f5f5dc\",bisque:\"ffe4c4\",black:\"000\",blanchedalmond:\"ffebcd\",blue:\"00f\",blueviolet:\"8a2be2\",brown:\"a52a2a\",burlywood:\"deb887\",burntsienna:\"ea7e5d\",cadetblue:\"5f9ea0\",chartreuse:\"7fff00\",chocolate:\"d2691e\",coral:\"ff7f50\",cornflowerblue:\"6495ed\",cornsilk:\"fff8dc\",crimson:\"dc143c\",cyan:\"0ff\",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:\"f0f\",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:\"789\",lightslategrey:\"789\",lightsteelblue:\"b0c4de\",lightyellow:\"ffffe0\",lime:\"0f0\",limegreen:\"32cd32\",linen:\"faf0e6\",magenta:\"f0f\",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:\"f00\",rosybrown:\"bc8f8f\",royalblue:\"4169e1\",saddlebrown:\"8b4513\",salmon:\"fa8072\",sandybrown:\"f4a460\",seagreen:\"2e8b57\",seashell:\"fff5ee\",sienna:\"a0522d\",silver:\"c0c0c0\",skyblue:\"87ceeb\",slateblue:\"6a5acd\",slategray:\"708090\",slategrey:\"708090\",snow:\"fffafa\",springgreen:\"00ff7f\",steelblue:\"4682b4\",tan:\"d2b48c\",teal:\"008080\",thistle:\"d8bfd8\",tomato:\"ff6347\",turquoise:\"40e0d0\",violet:\"ee82ee\",wheat:\"f5deb3\",white:\"fff\",whitesmoke:\"f5f5f5\",yellow:\"ff0\",yellowgreen:\"9acd32\"},B=n.hexNames=O(F);function O(j){var ee={};for(var ie in j)j.hasOwnProperty(ie)&&(ee[j[ie]]=ie);return ee}function I(j){return j=parseFloat(j),(isNaN(j)||j<0||j>1)&&(j=1),j}function N(j,ee){Q(j)&&(j=\"100%\");var ie=le(j);return j=t(ee,r(0,parseFloat(j))),ie&&(j=parseInt(j*ee,10)/100),g.abs(j-ee)<1e-6?1:j%ee/parseFloat(ee)}function U(j){return t(1,r(0,j))}function W(j){return parseInt(j,16)}function Q(j){return typeof j==\"string\"&&j.indexOf(\".\")!=-1&&parseFloat(j)===1}function le(j){return typeof j==\"string\"&&j.indexOf(\"%\")!=-1}function se(j){return j.length==1?\"0\"+j:\"\"+j}function fe(j){return j<=1&&(j=j*100+\"%\"),j}function G(j){return g.round(parseFloat(j)*255).toString(16)}function $(j){return W(j)/255}var J=function(){var j=\"[-\\\\+]?\\\\d+%?\",ee=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",ie=\"(?:\"+ee+\")|(?:\"+j+\")\",ce=\"[\\\\s|\\\\(]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")\\\\s*\\\\)?\",xe=\"[\\\\s|\\\\(]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(ie),rgb:new RegExp(\"rgb\"+ce),rgba:new RegExp(\"rgba\"+xe),hsl:new RegExp(\"hsl\"+ce),hsla:new RegExp(\"hsla\"+xe),hsv:new RegExp(\"hsv\"+ce),hsva:new RegExp(\"hsva\"+xe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function X(j){return!!J.CSS_UNIT.exec(j)}function re(j){j=j.replace(x,\"\").replace(A,\"\").toLowerCase();var ee=!1;if(F[j])j=F[j],ee=!0;else if(j==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var ie;return(ie=J.rgb.exec(j))?{r:ie[1],g:ie[2],b:ie[3]}:(ie=J.rgba.exec(j))?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=J.hsl.exec(j))?{h:ie[1],s:ie[2],l:ie[3]}:(ie=J.hsla.exec(j))?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=J.hsv.exec(j))?{h:ie[1],s:ie[2],v:ie[3]}:(ie=J.hsva.exec(j))?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=J.hex8.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),a:$(ie[4]),format:ee?\"name\":\"hex8\"}:(ie=J.hex6.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),format:ee?\"name\":\"hex\"}:(ie=J.hex4.exec(j))?{r:W(ie[1]+\"\"+ie[1]),g:W(ie[2]+\"\"+ie[2]),b:W(ie[3]+\"\"+ie[3]),a:$(ie[4]+\"\"+ie[4]),format:ee?\"name\":\"hex8\"}:(ie=J.hex3.exec(j))?{r:W(ie[1]+\"\"+ie[1]),g:W(ie[2]+\"\"+ie[2]),b:W(ie[3]+\"\"+ie[3]),format:ee?\"name\":\"hex\"}:!1}function ae(j){var ee,ie;return j=j||{level:\"AA\",size:\"small\"},ee=(j.level||\"AA\").toUpperCase(),ie=(j.size||\"small\").toLowerCase(),ee!==\"AA\"&&ee!==\"AAA\"&&(ee=\"AA\"),ie!==\"small\"&&ie!==\"large\"&&(ie=\"small\"),{level:ee,size:ie}}typeof H<\"u\"&&H.exports?H.exports=n:window.tinycolor=n})(Math)}}),To=ke({\"src/lib/extend.js\"(Z){\"use strict\";var H=Bi(),g=Array.isArray;function x(S,e){var t,r;for(t=0;t=0)))return n;if(h===3)s[h]>1&&(s[h]=1);else if(s[h]>=1)return n}var p=Math.round(s[0]*255)+\", \"+Math.round(s[1]*255)+\", \"+Math.round(s[2]*255);return c?\"rgba(\"+p+\", \"+s[3]+\")\":\"rgb(\"+p+\")\"}}}),Lp=ke({\"src/constants/interactions.js\"(Z,H){\"use strict\";H.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Ng=ke({\"src/lib/regex.js\"(Z){\"use strict\";Z.counter=function(H,g,x,A){var S=(g||\"\")+(x?\"\":\"$\"),e=A===!1?\"\":\"^\";return H===\"xy\"?new RegExp(e+\"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?\"+S):new RegExp(e+H+\"([2-9]|[1-9][0-9]+)?\"+S)}}}),KS=ke({\"src/lib/coerce.js\"(Z){\"use strict\";var H=Yn(),g=ru(),x=To().extendFlat,A=Ol(),S=Cm(),e=eo(),t=Lp().DESELECTDIM,r=ms(),o=Ng().counter,n=_f().modHalf,i=Oa().isArrayOrTypedArray,a=Oa().isTypedArraySpec,s=Oa().decodeTypedArraySpec;Z.valObjectMeta={data_array:{coerceFunction:function(h,p,d){p.set(i(h)?h:a(h)?s(h):d)}},enumerated:{coerceFunction:function(h,p,d,T){T.coerceNumber&&(h=+h),T.values.indexOf(h)===-1?p.set(d):p.set(h)},validateFunction:function(h,p){p.coerceNumber&&(h=+h);for(var d=p.values,T=0;TT.max?p.set(d):p.set(+h)}},integer:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}a(h)&&(h=s(h)),h%1||!H(h)||T.min!==void 0&&hT.max?p.set(d):p.set(+h)}},string:{coerceFunction:function(h,p,d,T){if(typeof h!=\"string\"){var l=typeof h==\"number\";T.strict===!0||!l?p.set(d):p.set(String(h))}else T.noBlank&&!h?p.set(d):p.set(h)}},color:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),g(h).isValid()?p.set(h):p.set(d)}},colorlist:{coerceFunction:function(h,p,d){function T(l){return g(l).isValid()}!Array.isArray(h)||!h.length?p.set(d):h.every(T)?p.set(h):p.set(d)}},colorscale:{coerceFunction:function(h,p,d){p.set(S.get(h,d))}},angle:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),h===\"auto\"?p.set(\"auto\"):H(h)?p.set(n(+h,360)):p.set(d)}},subplotid:{coerceFunction:function(h,p,d,T){var l=T.regex||o(d);if(typeof h==\"string\"&&l.test(h)){p.set(h);return}p.set(d)},validateFunction:function(h,p){var d=p.dflt;return h===d?!0:typeof h!=\"string\"?!1:!!o(d).test(h)}},flaglist:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}if(typeof h!=\"string\"){p.set(d);return}for(var l=h.split(\"+\"),_=0;_/g),h=0;h1){var e=[\"LOG:\"];for(S=0;S1){var t=[];for(S=0;S\"),\"long\")}},A.warn=function(){var S;if(g.logging>0){var e=[\"WARN:\"];for(S=0;S0){var t=[];for(S=0;S\"),\"stick\")}},A.error=function(){var S;if(g.logging>0){var e=[\"ERROR:\"];for(S=0;S0){var t=[];for(S=0;S\"),\"stick\")}}}}),n_=ke({\"src/lib/noop.js\"(Z,H){\"use strict\";H.exports=function(){}}}),Ow=ke({\"src/lib/push_unique.js\"(Z,H){\"use strict\";H.exports=function(x,A){if(A instanceof RegExp){for(var S=A.toString(),e=0;e0){for(var r=[],o=0;o=l&&F<=_?F:e}if(typeof F!=\"string\"&&typeof F!=\"number\")return e;F=String(F);var U=d(B),W=F.charAt(0);U&&(W===\"G\"||W===\"g\")&&(F=F.substr(1),B=\"\");var Q=U&&B.substr(0,7)===\"chinese\",le=F.match(Q?h:c);if(!le)return e;var se=le[1],fe=le[3]||\"1\",G=Number(le[5]||1),$=Number(le[7]||0),J=Number(le[9]||0),X=Number(le[11]||0);if(U){if(se.length===2)return e;se=Number(se);var re;try{var ae=a.getComponentMethod(\"calendars\",\"getCal\")(B);if(Q){var j=fe.charAt(fe.length-1)===\"i\";fe=parseInt(fe,10),re=ae.newDate(se,ae.toMonthIndex(se,fe,j),G)}else re=ae.newDate(se,Number(fe),G)}catch{return e}return re?(re.toJD()-i)*t+$*r+J*o+X*n:e}se.length===2?se=(Number(se)+2e3-p)%100+p:se=Number(se),fe-=1;var ee=new Date(Date.UTC(2e3,fe,G,$,J));return ee.setUTCFullYear(se),ee.getUTCMonth()!==fe||ee.getUTCDate()!==G?e:ee.getTime()+X*n},l=Z.MIN_MS=Z.dateTime2ms(\"-9999\"),_=Z.MAX_MS=Z.dateTime2ms(\"9999-12-31 23:59:59.9999\"),Z.isDateTime=function(F,B){return Z.dateTime2ms(F,B)!==e};function w(F,B){return String(F+Math.pow(10,B)).substr(1)}var M=90*t,E=3*r,m=5*o;Z.ms2DateTime=function(F,B,O){if(typeof F!=\"number\"||!(F>=l&&F<=_))return e;B||(B=0);var I=Math.floor(A(F+.05,1)*10),N=Math.round(F-I/10),U,W,Q,le,se,fe;if(d(O)){var G=Math.floor(N/t)+i,$=Math.floor(A(F,t));try{U=a.getComponentMethod(\"calendars\",\"getCal\")(O).fromJD(G).formatDate(\"yyyy-mm-dd\")}catch{U=s(\"G%Y-%m-%d\")(new Date(N))}if(U.charAt(0)===\"-\")for(;U.length<11;)U=\"-0\"+U.substr(1);else for(;U.length<10;)U=\"0\"+U;W=B=l+t&&F<=_-t))return e;var B=Math.floor(A(F+.05,1)*10),O=new Date(Math.round(F-B/10)),I=H(\"%Y-%m-%d\")(O),N=O.getHours(),U=O.getMinutes(),W=O.getSeconds(),Q=O.getUTCMilliseconds()*10+B;return b(I,N,U,W,Q)};function b(F,B,O,I,N){if((B||O||I||N)&&(F+=\" \"+w(B,2)+\":\"+w(O,2),(I||N)&&(F+=\":\"+w(I,2),N))){for(var U=4;N%10===0;)U-=1,N/=10;F+=\".\"+w(N,U)}return F}Z.cleanDate=function(F,B,O){if(F===e)return B;if(Z.isJSDate(F)||typeof F==\"number\"&&isFinite(F)){if(d(O))return x.error(\"JS Dates and milliseconds are incompatible with world calendars\",F),B;if(F=Z.ms2DateTimeLocal(+F),!F&&B!==void 0)return B}else if(!Z.isDateTime(F,O))return x.error(\"unrecognized date\",F),B;return F};var v=/%\\d?f/g,u=/%h/g,y={1:\"1\",2:\"1\",3:\"2\",4:\"2\"};function f(F,B,O,I){F=F.replace(v,function(U){var W=Math.min(+U.charAt(1)||6,6),Q=(B/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,\"\")||\"0\";return Q});var N=new Date(Math.floor(B+.05));if(F=F.replace(u,function(){return y[O(\"%q\")(N)]}),d(I))try{F=a.getComponentMethod(\"calendars\",\"worldCalFmt\")(F,B,I)}catch{return\"Invalid\"}return O(F)(N)}var P=[59,59.9,59.99,59.999,59.9999];function L(F,B){var O=A(F+.05,t),I=w(Math.floor(O/r),2)+\":\"+w(A(Math.floor(O/o),60),2);if(B!==\"M\"){g(B)||(B=0);var N=Math.min(A(F/n,60),P[B]),U=(100+N).toFixed(B).substr(1);B>0&&(U=U.replace(/0+$/,\"\").replace(/[\\.]$/,\"\")),I+=\":\"+U}return I}Z.formatDate=function(F,B,O,I,N,U){if(N=d(N)&&N,!B)if(O===\"y\")B=U.year;else if(O===\"m\")B=U.month;else if(O===\"d\")B=U.dayMonth+`\n`+U.year;else return L(F,O)+`\n`+f(U.dayMonthYear,F,I,N);return f(B,F,I,N)};var z=3*t;Z.incrementMonth=function(F,B,O){O=d(O)&&O;var I=A(F,t);if(F=Math.round(F-I),O)try{var N=Math.round(F/t)+i,U=a.getComponentMethod(\"calendars\",\"getCal\")(O),W=U.fromJD(N);return B%12?U.add(W,B,\"m\"):U.add(W,B/12,\"y\"),(W.toJD()-i)*t+I}catch{x.error(\"invalid ms \"+F+\" in calendar \"+O)}var Q=new Date(F+z);return Q.setUTCMonth(Q.getUTCMonth()+B)+I-z},Z.findExactDates=function(F,B){for(var O=0,I=0,N=0,U=0,W,Q,le=d(B)&&a.getComponentMethod(\"calendars\",\"getCal\")(B),se=0;se1?(i[c-1]-i[0])/(c-1):1,d,T;for(p>=0?T=a?e:t:T=a?o:r,n+=p*S*(a?-1:1)*(p>=0?1:-1);s90&&g.log(\"Long binary search...\"),s-1};function e(n,i){return ni}function o(n,i){return n>=i}Z.sorterAsc=function(n,i){return n-i},Z.sorterDes=function(n,i){return i-n},Z.distinctVals=function(n){var i=n.slice();i.sort(Z.sorterAsc);var a;for(a=i.length-1;a>-1&&i[a]===A;a--);for(var s=i[a]-i[0]||1,c=s/(a||1)/1e4,h=[],p,d=0;d<=a;d++){var T=i[d],l=T-p;p===void 0?(h.push(T),p=T):l>c&&(s=Math.min(s,l),h.push(T),p=T)}return{vals:h,minDiff:s}},Z.roundUp=function(n,i,a){for(var s=0,c=i.length-1,h,p=0,d=a?0:1,T=a?1:0,l=a?Math.ceil:Math.floor;s0&&(s=1),a&&s)return n.sort(i)}return s?n:n.reverse()},Z.findIndexOfMin=function(n,i){i=i||x;for(var a=1/0,s,c=0;cS.length)&&(e=S.length),H(A)||(A=!1),g(S[0])){for(r=new Array(e),t=0;tx.length-1)return x[x.length-1];var S=A%1;return S*x[Math.ceil(A)]+(1-S)*x[Math.floor(A)]}}}),LE=ke({\"src/lib/angles.js\"(Z,H){\"use strict\";var g=_f(),x=g.mod,A=g.modHalf,S=Math.PI,e=2*S;function t(T){return T/180*S}function r(T){return T/S*180}function o(T){return Math.abs(T[1]-T[0])>e-1e-14}function n(T,l){return A(l-T,e)}function i(T,l){return Math.abs(n(T,l))}function a(T,l){if(o(l))return!0;var _,w;l[0]w&&(w+=e);var M=x(T,e),E=M+e;return M>=_&&M<=w||E>=_&&E<=w}function s(T,l,_,w){if(!a(l,w))return!1;var M,E;return _[0]<_[1]?(M=_[0],E=_[1]):(M=_[1],E=_[0]),T>=M&&T<=E}function c(T,l,_,w,M,E,m){M=M||0,E=E||0;var b=o([_,w]),v,u,y,f,P;b?(v=0,u=S,y=e):_1/3&&g.x<2/3},Z.isRightAnchor=function(g){return g.xanchor===\"right\"||g.xanchor===\"auto\"&&g.x>=2/3},Z.isTopAnchor=function(g){return g.yanchor===\"top\"||g.yanchor===\"auto\"&&g.y>=2/3},Z.isMiddleAnchor=function(g){return g.yanchor===\"middle\"||g.yanchor===\"auto\"&&g.y>1/3&&g.y<2/3},Z.isBottomAnchor=function(g){return g.yanchor===\"bottom\"||g.yanchor===\"auto\"&&g.y<=1/3}}}),IE=ke({\"src/lib/geometry2d.js\"(Z){\"use strict\";var H=_f().mod;Z.segmentsIntersect=g;function g(t,r,o,n,i,a,s,c){var h=o-t,p=i-t,d=s-i,T=n-r,l=a-r,_=c-a,w=h*_-d*T;if(w===0)return null;var M=(p*_-d*l)/w,E=(p*T-h*l)/w;return E<0||E>1||M<0||M>1?null:{x:t+h*M,y:r+T*M}}Z.segmentDistance=function(r,o,n,i,a,s,c,h){if(g(r,o,n,i,a,s,c,h))return 0;var p=n-r,d=i-o,T=c-a,l=h-s,_=p*p+d*d,w=T*T+l*l,M=Math.min(x(p,d,_,a-r,s-o),x(p,d,_,c-r,h-o),x(T,l,w,r-a,o-s),x(T,l,w,n-a,i-s));return Math.sqrt(M)};function x(t,r,o,n,i){var a=n*t+i*r;if(a<0)return n*n+i*i;if(a>o){var s=n-t,c=i-r;return s*s+c*c}else{var h=n*r-i*t;return h*h/o}}var A,S,e;Z.getTextLocation=function(r,o,n,i){if((r!==S||i!==e)&&(A={},S=r,e=i),A[n])return A[n];var a=r.getPointAtLength(H(n-i/2,o)),s=r.getPointAtLength(H(n+i/2,o)),c=Math.atan((s.y-a.y)/(s.x-a.x)),h=r.getPointAtLength(H(n,o)),p=(h.x*4+a.x+s.x)/6,d=(h.y*4+a.y+s.y)/6,T={x:p,y:d,theta:c};return A[n]=T,T},Z.clearLocationCache=function(){S=null},Z.getVisibleSegment=function(r,o,n){var i=o.left,a=o.right,s=o.top,c=o.bottom,h=0,p=r.getTotalLength(),d=p,T,l;function _(M){var E=r.getPointAtLength(M);M===0?T=E:M===p&&(l=E);var m=E.xa?E.x-a:0,b=E.yc?E.y-c:0;return Math.sqrt(m*m+b*b)}for(var w=_(h);w;){if(h+=w+n,h>d)return;w=_(h)}for(w=_(d);w;){if(d-=w+n,h>d)return;w=_(d)}return{min:h,max:d,len:d-h,total:p,isClosed:h===0&&d===p&&Math.abs(T.x-l.x)<.1&&Math.abs(T.y-l.y)<.1}},Z.findPointOnPath=function(r,o,n,i){i=i||{};for(var a=i.pathLength||r.getTotalLength(),s=i.tolerance||.001,c=i.iterationLimit||30,h=r.getPointAtLength(0)[n]>r.getPointAtLength(a)[n]?-1:1,p=0,d=0,T=a,l,_,w;p0?T=l:d=l,p++}return _}}}),l_=ke({\"src/lib/throttle.js\"(Z){\"use strict\";var H={};Z.throttle=function(A,S,e){var t=H[A],r=Date.now();if(!t){for(var o in H)H[o].tst.ts+S){n();return}t.timer=setTimeout(function(){n(),t.timer=null},S)},Z.done=function(x){var A=H[x];return!A||!A.timer?Promise.resolve():new Promise(function(S){var e=A.onDone;A.onDone=function(){e&&e(),S(),A.onDone=null}})},Z.clear=function(x){if(x)g(H[x]),delete H[x];else for(var A in H)Z.clear(A)};function g(x){x&&x.timer!==null&&(clearTimeout(x.timer),x.timer=null)}}}),RE=ke({\"src/lib/clear_responsive.js\"(Z,H){\"use strict\";H.exports=function(x){x._responsiveChartHandler&&(window.removeEventListener(\"resize\",x._responsiveChartHandler),delete x._responsiveChartHandler)}}}),DE=ke({\"node_modules/is-mobile/index.js\"(Z,H){\"use strict\";H.exports=S,H.exports.isMobile=S,H.exports.default=S;var g=/(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,x=/CrOS/,A=/android|ipad|playbook|silk/i;function S(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<\"u\"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers[\"user-agent\"]==\"string\"&&(t=t.headers[\"user-agent\"]),typeof t!=\"string\")return!1;let r=g.test(t)&&!x.test(t)||!!e.tablet&&A.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf(\"Macintosh\")!==-1&&t.indexOf(\"Safari\")!==-1&&(r=!0),r}}}),zE=ke({\"src/lib/preserve_drawing_buffer.js\"(Z,H){\"use strict\";var g=Yn(),x=DE();H.exports=function(e){var t;if(e&&e.hasOwnProperty(\"userAgent\")?t=e.userAgent:t=A(),typeof t!=\"string\")return!0;var r=x({ua:{headers:{\"user-agent\":t}},tablet:!0,featureDetect:!1});if(!r)for(var o=t.split(\" \"),n=1;n-1;a--){var s=o[a];if(s.substr(0,8)===\"Version/\"){var c=s.substr(8).split(\".\")[0];if(g(c)&&(c=+c),c>=13)return!0}}}return r};function A(){var S;return typeof navigator<\"u\"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers[\"user-agent\"]==\"string\"&&(S=S.headers[\"user-agent\"]),S}}}),FE=ke({\"src/lib/make_trace_groups.js\"(Z,H){\"use strict\";var g=_i();H.exports=function(A,S,e){var t=A.selectAll(\"g.\"+e.replace(/\\s/g,\".\")).data(S,function(o){return o[0].trace.uid});t.exit().remove(),t.enter().append(\"g\").attr(\"class\",e),t.order();var r=A.classed(\"rangeplot\")?\"nodeRangePlot3\":\"node3\";return t.each(function(o){o[0][r]=g.select(this)}),t}}}),OE=ke({\"src/lib/localize.js\"(Z,H){\"use strict\";var g=lo();H.exports=function(A,S){for(var e=A._context.locale,t=0;t<2;t++){for(var r=A._context.locales,o=0;o<2;o++){var n=(r[e]||{}).dictionary;if(n){var i=n[S];if(i)return i}r=g.localeRegistry}var a=e.split(\"-\")[0];if(a===e)break;e=a}return S}}}),Vw=ke({\"src/lib/filter_unique.js\"(Z,H){\"use strict\";H.exports=function(x){for(var A={},S=[],e=0,t=0;t1?(S*x+S*A)/S:x+A,t=String(e).length;if(t>16){var r=String(A).length,o=String(x).length;if(t>=o+r){var n=parseFloat(e).toPrecision(12);n.indexOf(\"e+\")===-1&&(e=+n)}}return e}}}),UE=ke({\"src/lib/clean_number.js\"(Z,H){\"use strict\";var g=Yn(),x=Hi().BADNUM,A=/^['\"%,$#\\s']+|[, ]|['\"%,$#\\s']+$/g;H.exports=function(e){return typeof e==\"string\"&&(e=e.replace(A,\"\")),g(e)?Number(e):x}}}),un=ke({\"src/lib/index.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().utcFormat,A=$n().format,S=Yn(),e=Hi(),t=e.FP_SAFE,r=-t,o=e.BADNUM,n=H.exports={};n.adjustFormat=function(ae){return!ae||/^\\d[.]\\df/.test(ae)||/[.]\\d%/.test(ae)?ae:ae===\"0.f\"?\"~f\":/^\\d%/.test(ae)?\"~%\":/^\\ds/.test(ae)?\"~s\":!/^[~,.0$]/.test(ae)&&/[&fps]/.test(ae)?\"~\"+ae:ae};var i={};n.warnBadFormat=function(re){var ae=String(re);i[ae]||(i[ae]=1,n.warn('encountered bad format: \"'+ae+'\"'))},n.noFormat=function(re){return String(re)},n.numberFormat=function(re){var ae;try{ae=A(n.adjustFormat(re))}catch{return n.warnBadFormat(re),n.noFormat}return ae},n.nestedProperty=ms(),n.keyedContainer=Is(),n.relativeAttr=Cu(),n.isPlainObject=Bi(),n.toLogRange=Zf(),n.relinkPrivateKeys=Sd();var a=Oa();n.isArrayBuffer=a.isArrayBuffer,n.isTypedArray=a.isTypedArray,n.isArrayOrTypedArray=a.isArrayOrTypedArray,n.isArray1D=a.isArray1D,n.ensureArray=a.ensureArray,n.concat=a.concat,n.maxRowLength=a.maxRowLength,n.minRowLength=a.minRowLength;var s=_f();n.mod=s.mod,n.modHalf=s.modHalf;var c=KS();n.valObjectMeta=c.valObjectMeta,n.coerce=c.coerce,n.coerce2=c.coerce2,n.coerceFont=c.coerceFont,n.coercePattern=c.coercePattern,n.coerceHoverinfo=c.coerceHoverinfo,n.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,n.validate=c.validate;var h=CE();n.dateTime2ms=h.dateTime2ms,n.isDateTime=h.isDateTime,n.ms2DateTime=h.ms2DateTime,n.ms2DateTimeLocal=h.ms2DateTimeLocal,n.cleanDate=h.cleanDate,n.isJSDate=h.isJSDate,n.formatDate=h.formatDate,n.incrementMonth=h.incrementMonth,n.dateTick0=h.dateTick0,n.dfltRange=h.dfltRange,n.findExactDates=h.findExactDates,n.MIN_MS=h.MIN_MS,n.MAX_MS=h.MAX_MS;var p=s_();n.findBin=p.findBin,n.sorterAsc=p.sorterAsc,n.sorterDes=p.sorterDes,n.distinctVals=p.distinctVals,n.roundUp=p.roundUp,n.sort=p.sort,n.findIndexOfMin=p.findIndexOfMin,n.sortObjectKeys=Ip();var d=kE();n.aggNums=d.aggNums,n.len=d.len,n.mean=d.mean,n.geometricMean=d.geometricMean,n.median=d.median,n.midRange=d.midRange,n.variance=d.variance,n.stdev=d.stdev,n.interp=d.interp;var T=i_();n.init2dArray=T.init2dArray,n.transposeRagged=T.transposeRagged,n.dot=T.dot,n.translationMatrix=T.translationMatrix,n.rotationMatrix=T.rotationMatrix,n.rotationXYMatrix=T.rotationXYMatrix,n.apply3DTransform=T.apply3DTransform,n.apply2DTransform=T.apply2DTransform,n.apply2DTransform2=T.apply2DTransform2,n.convertCssMatrix=T.convertCssMatrix,n.inverseTransformMatrix=T.inverseTransformMatrix;var l=LE();n.deg2rad=l.deg2rad,n.rad2deg=l.rad2deg,n.angleDelta=l.angleDelta,n.angleDist=l.angleDist,n.isFullCircle=l.isFullCircle,n.isAngleInsideSector=l.isAngleInsideSector,n.isPtInsideSector=l.isPtInsideSector,n.pathArc=l.pathArc,n.pathSector=l.pathSector,n.pathAnnulus=l.pathAnnulus;var _=PE();n.isLeftAnchor=_.isLeftAnchor,n.isCenterAnchor=_.isCenterAnchor,n.isRightAnchor=_.isRightAnchor,n.isTopAnchor=_.isTopAnchor,n.isMiddleAnchor=_.isMiddleAnchor,n.isBottomAnchor=_.isBottomAnchor;var w=IE();n.segmentsIntersect=w.segmentsIntersect,n.segmentDistance=w.segmentDistance,n.getTextLocation=w.getTextLocation,n.clearLocationCache=w.clearLocationCache,n.getVisibleSegment=w.getVisibleSegment,n.findPointOnPath=w.findPointOnPath;var M=To();n.extendFlat=M.extendFlat,n.extendDeep=M.extendDeep,n.extendDeepAll=M.extendDeepAll,n.extendDeepNoArrays=M.extendDeepNoArrays;var E=Pp();n.log=E.log,n.warn=E.warn,n.error=E.error;var m=Ng();n.counterRegex=m.counter;var b=l_();n.throttle=b.throttle,n.throttleDone=b.done,n.clearThrottle=b.clear;var v=Yy();n.getGraphDiv=v.getGraphDiv,n.isPlotDiv=v.isPlotDiv,n.removeElement=v.removeElement,n.addStyleRule=v.addStyleRule,n.addRelatedStyleRule=v.addRelatedStyleRule,n.deleteRelatedStyleRule=v.deleteRelatedStyleRule,n.setStyleOnHover=v.setStyleOnHover,n.getFullTransformMatrix=v.getFullTransformMatrix,n.getElementTransformMatrix=v.getElementTransformMatrix,n.getElementAndAncestors=v.getElementAndAncestors,n.equalDomRects=v.equalDomRects,n.clearResponsive=RE(),n.preserveDrawingBuffer=zE(),n.makeTraceGroups=FE(),n._=OE(),n.notifier=Fw(),n.filterUnique=Vw(),n.filterVisible=BE(),n.pushUnique=Ow(),n.increment=NE(),n.cleanNumber=UE(),n.ensureNumber=function(ae){return S(ae)?(ae=Number(ae),ae>t||ae=ae?!1:S(re)&&re>=0&&re%1===0},n.noop=n_(),n.identity=Jy(),n.repeat=function(re,ae){for(var j=new Array(ae),ee=0;eej?Math.max(j,Math.min(ae,re)):Math.max(ae,Math.min(j,re))},n.bBoxIntersect=function(re,ae,j){return j=j||0,re.left<=ae.right+j&&ae.left<=re.right+j&&re.top<=ae.bottom+j&&ae.top<=re.bottom+j},n.simpleMap=function(re,ae,j,ee,ie){for(var ce=re.length,xe=new Array(ce),Te=0;Te=Math.pow(2,j)?ie>10?(n.warn(\"randstr failed uniqueness\"),xe):re(ae,j,ee,(ie||0)+1):xe},n.OptionControl=function(re,ae){re||(re={}),ae||(ae=\"opt\");var j={};return j.optionList=[],j._newoption=function(ee){ee[ae]=re,j[ee.name]=ee,j.optionList.push(ee)},j[\"_\"+ae]=re,j},n.smooth=function(re,ae){if(ae=Math.round(ae)||0,ae<2)return re;var j=re.length,ee=2*j,ie=2*ae-1,ce=new Array(ie),xe=new Array(j),Te,Ue,Ie,Ye;for(Te=0;Te=ee&&(Ie-=ee*Math.floor(Ie/ee)),Ie<0?Ie=-1-Ie:Ie>=j&&(Ie=ee-1-Ie),Ye+=re[Ie]*ce[Ue];xe[Te]=Ye}return xe},n.syncOrAsync=function(re,ae,j){var ee,ie;function ce(){return n.syncOrAsync(re,ae,j)}for(;re.length;)if(ie=re.splice(0,1)[0],ee=ie(ae),ee&&ee.then)return ee.then(ce);return j&&j(ae)},n.stripTrailingSlash=function(re){return re.substr(-1)===\"/\"?re.substr(0,re.length-1):re},n.noneOrAll=function(re,ae,j){if(re){var ee=!1,ie=!0,ce,xe;for(ce=0;ce0?ie:0})},n.fillArray=function(re,ae,j,ee){if(ee=ee||n.identity,n.isArrayOrTypedArray(re))for(var ie=0;ie1?ie+xe[1]:\"\";if(ce&&(xe.length>1||Te.length>4||j))for(;ee.test(Te);)Te=Te.replace(ee,\"$1\"+ce+\"$2\");return Te+Ue},n.TEMPLATE_STRING_REGEX=/%{([^\\s%{}:]*)([:|\\|][^}]*)?}/g;var O=/^\\w*$/;n.templateString=function(re,ae){var j={};return re.replace(n.TEMPLATE_STRING_REGEX,function(ee,ie){var ce;return O.test(ie)?ce=ae[ie]:(j[ie]=j[ie]||n.nestedProperty(ae,ie).get,ce=j[ie](!0)),ce!==void 0?ce:\"\"})};var I={max:10,count:0,name:\"hovertemplate\"};n.hovertemplateString=function(){return se.apply(I,arguments)};var N={max:10,count:0,name:\"texttemplate\"};n.texttemplateString=function(){return se.apply(N,arguments)};var U=/^(\\S+)([\\*\\/])(-?\\d+(\\.\\d+)?)$/;function W(re){var ae=re.match(U);return ae?{key:ae[1],op:ae[2],number:Number(ae[3])}:{key:re,op:null,number:null}}var Q={max:10,count:0,name:\"texttemplate\",parseMultDiv:!0};n.texttemplateStringForShapes=function(){return se.apply(Q,arguments)};var le=/^[:|\\|]/;function se(re,ae,j){var ee=this,ie=arguments;return ae||(ae={}),re.replace(n.TEMPLATE_STRING_REGEX,function(ce,xe,Te){var Ue=xe===\"xother\"||xe===\"yother\",Ie=xe===\"_xother\"||xe===\"_yother\",Ye=xe===\"_xother_\"||xe===\"_yother_\",it=xe===\"xother_\"||xe===\"yother_\",at=Ue||Ie||it||Ye,tt=xe;(Ie||Ye)&&(tt=tt.substring(1)),(it||Ye)&&(tt=tt.substring(0,tt.length-1));var ut=null,Me=null;if(ee.parseMultDiv){var pe=W(tt);tt=pe.key,ut=pe.op,Me=pe.number}var ue;if(at){if(ue=ae[tt],ue===void 0)return\"\"}else{var Oe,rt;for(rt=3;rt=fe&&xe<=G,Ie=Te>=fe&&Te<=G;if(Ue&&(ee=10*ee+xe-fe),Ie&&(ie=10*ie+Te-fe),!Ue||!Ie){if(ee!==ie)return ee-ie;if(xe!==Te)return xe-Te}}return ie-ee};var $=2e9;n.seedPseudoRandom=function(){$=2e9},n.pseudoRandom=function(){var re=$;return $=(69069*$+1)%4294967296,Math.abs($-re)<429496729?n.pseudoRandom():$/4294967296},n.fillText=function(re,ae,j){var ee=Array.isArray(j)?function(xe){j.push(xe)}:function(xe){j.text=xe},ie=n.extractOption(re,ae,\"htx\",\"hovertext\");if(n.isValidTextValue(ie))return ee(ie);var ce=n.extractOption(re,ae,\"tx\",\"text\");if(n.isValidTextValue(ce))return ee(ce)},n.isValidTextValue=function(re){return re||re===0},n.formatPercent=function(re,ae){ae=ae||0;for(var j=(Math.round(100*re*Math.pow(10,ae))*Math.pow(.1,ae)).toFixed(ae)+\"%\",ee=0;ee1&&(Ie=1):Ie=0,n.strTranslate(ie-Ie*(j+xe),ce-Ie*(ee+Te))+n.strScale(Ie)+(Ue?\"rotate(\"+Ue+(ae?\"\":\" \"+j+\" \"+ee)+\")\":\"\")},n.setTransormAndDisplay=function(re,ae){re.attr(\"transform\",n.getTextTransform(ae)),re.style(\"display\",ae.scale?null:\"none\")},n.ensureUniformFontSize=function(re,ae){var j=n.extendFlat({},ae);return j.size=Math.max(ae.size,re._fullLayout.uniformtext.minsize||0),j},n.join2=function(re,ae,j){var ee=re.length;return ee>1?re.slice(0,-1).join(ae)+j+re[ee-1]:re.join(ae)},n.bigFont=function(re){return Math.round(1.2*re)};var J=n.getFirefoxVersion(),X=J!==null&&J<86;n.getPositionFromD3Event=function(){return X?[g.event.layerX,g.event.layerY]:[g.event.offsetX,g.event.offsetY]}}}),jE=ke({\"build/plotcss.js\"(){\"use strict\";var Z=un(),H={\"X,X div\":'direction:ltr;font-family:\"Open Sans\",verdana,arial,sans-serif;margin:0;padding:0;',\"X input,X button\":'font-family:\"Open Sans\",verdana,arial,sans-serif;',\"X input:focus,X button:focus\":\"outline:none;\",\"X a\":\"text-decoration:none;\",\"X a:hover\":\"text-decoration:none;\",\"X .crisp\":\"shape-rendering:crispEdges;\",\"X .user-select-none\":\"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;\",\"X svg a\":\"fill:#447adb;\",\"X svg a:hover\":\"fill:#3c6dc5;\",\"X .main-svg\":\"position:absolute;top:0;left:0;pointer-events:none;\",\"X .main-svg .draglayer\":\"pointer-events:all;\",\"X .cursor-default\":\"cursor:default;\",\"X .cursor-pointer\":\"cursor:pointer;\",\"X .cursor-crosshair\":\"cursor:crosshair;\",\"X .cursor-move\":\"cursor:move;\",\"X .cursor-col-resize\":\"cursor:col-resize;\",\"X .cursor-row-resize\":\"cursor:row-resize;\",\"X .cursor-ns-resize\":\"cursor:ns-resize;\",\"X .cursor-ew-resize\":\"cursor:ew-resize;\",\"X .cursor-sw-resize\":\"cursor:sw-resize;\",\"X .cursor-s-resize\":\"cursor:s-resize;\",\"X .cursor-se-resize\":\"cursor:se-resize;\",\"X .cursor-w-resize\":\"cursor:w-resize;\",\"X .cursor-e-resize\":\"cursor:e-resize;\",\"X .cursor-nw-resize\":\"cursor:nw-resize;\",\"X .cursor-n-resize\":\"cursor:n-resize;\",\"X .cursor-ne-resize\":\"cursor:ne-resize;\",\"X .cursor-grab\":\"cursor:-webkit-grab;cursor:grab;\",\"X .modebar\":\"position:absolute;top:2px;right:2px;\",\"X .ease-bg\":\"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;\",\"X .modebar--hover>:not(.watermark)\":\"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;\",\"X:hover .modebar--hover .modebar-group\":\"opacity:1;\",\"X .modebar-group\":\"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;\",\"X .modebar-btn\":\"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;\",\"X .modebar-btn svg\":\"position:relative;top:2px;\",\"X .modebar.vertical\":\"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;\",\"X .modebar.vertical svg\":\"top:-1px;\",\"X .modebar.vertical .modebar-group\":\"display:block;float:none;padding-left:0px;padding-bottom:8px;\",\"X .modebar.vertical .modebar-group .modebar-btn\":\"display:block;text-align:center;\",\"X [data-title]:before,X [data-title]:after\":\"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;\",\"X [data-title]:hover:before,X [data-title]:hover:after\":\"display:block;opacity:1;\",\"X [data-title]:before\":'content:\"\";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',\"X [data-title]:after\":\"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;\",\"X .vertical [data-title]:before,X .vertical [data-title]:after\":\"top:0%;right:200%;\",\"X .vertical [data-title]:before\":\"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;\",Y:'font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',\"Y p\":\"margin:0;\",\"Y .notifier-note\":\"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;\",\"Y .notifier-close\":\"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;\",\"Y .notifier-close:hover\":\"color:#444;text-decoration:none;cursor:pointer;\"};for(x in H)g=x.replace(/^,/,\" ,\").replace(/X/g,\".js-plotly-plot .plotly\").replace(/Y/g,\".plotly-notifier\"),Z.addStyleRule(g,H[x]);var g,x}}),qw=ke({\"node_modules/is-browser/client.js\"(Z,H){H.exports=!0}}),Hw=ke({\"node_modules/has-hover/index.js\"(Z,H){\"use strict\";var g=qw(),x;typeof window.matchMedia==\"function\"?x=!window.matchMedia(\"(hover: none)\").matches:x=g,H.exports=x}}),Lm=ke({\"node_modules/events/events.js\"(Z,H){\"use strict\";var g=typeof Reflect==\"object\"?Reflect:null,x=g&&typeof g.apply==\"function\"?g.apply:function(E,m,b){return Function.prototype.apply.call(E,m,b)},A;g&&typeof g.ownKeys==\"function\"?A=g.ownKeys:Object.getOwnPropertySymbols?A=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:A=function(E){return Object.getOwnPropertyNames(E)};function S(M){console&&console.warn&&console.warn(M)}var e=Number.isNaN||function(E){return E!==E};function t(){t.init.call(this)}H.exports=t,H.exports.once=l,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var r=10;function o(M){if(typeof M!=\"function\")throw new TypeError('The \"listener\" argument must be of type Function. Received type '+typeof M)}Object.defineProperty(t,\"defaultMaxListeners\",{enumerable:!0,get:function(){return r},set:function(M){if(typeof M!=\"number\"||M<0||e(M))throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received '+M+\".\");r=M}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(E){if(typeof E!=\"number\"||E<0||e(E))throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received '+E+\".\");return this._maxListeners=E,this};function n(M){return M._maxListeners===void 0?t.defaultMaxListeners:M._maxListeners}t.prototype.getMaxListeners=function(){return n(this)},t.prototype.emit=function(E){for(var m=[],b=1;b0&&(y=m[0]),y instanceof Error)throw y;var f=new Error(\"Unhandled error.\"+(y?\" (\"+y.message+\")\":\"\"));throw f.context=y,f}var P=u[E];if(P===void 0)return!1;if(typeof P==\"function\")x(P,this,m);else for(var L=P.length,z=p(P,L),b=0;b0&&y.length>v&&!y.warned){y.warned=!0;var f=new Error(\"Possible EventEmitter memory leak detected. \"+y.length+\" \"+String(E)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");f.name=\"MaxListenersExceededWarning\",f.emitter=M,f.type=E,f.count=y.length,S(f)}return M}t.prototype.addListener=function(E,m){return i(this,E,m,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(E,m){return i(this,E,m,!0)};function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(M,E,m){var b={fired:!1,wrapFn:void 0,target:M,type:E,listener:m},v=a.bind(b);return v.listener=m,b.wrapFn=v,v}t.prototype.once=function(E,m){return o(m),this.on(E,s(this,E,m)),this},t.prototype.prependOnceListener=function(E,m){return o(m),this.prependListener(E,s(this,E,m)),this},t.prototype.removeListener=function(E,m){var b,v,u,y,f;if(o(m),v=this._events,v===void 0)return this;if(b=v[E],b===void 0)return this;if(b===m||b.listener===m)--this._eventsCount===0?this._events=Object.create(null):(delete v[E],v.removeListener&&this.emit(\"removeListener\",E,b.listener||m));else if(typeof b!=\"function\"){for(u=-1,y=b.length-1;y>=0;y--)if(b[y]===m||b[y].listener===m){f=b[y].listener,u=y;break}if(u<0)return this;u===0?b.shift():d(b,u),b.length===1&&(v[E]=b[0]),v.removeListener!==void 0&&this.emit(\"removeListener\",E,f||m)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(E){var m,b,v;if(b=this._events,b===void 0)return this;if(b.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):b[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete b[E]),this;if(arguments.length===0){var u=Object.keys(b),y;for(v=0;v=0;v--)this.removeListener(E,m[v]);return this};function c(M,E,m){var b=M._events;if(b===void 0)return[];var v=b[E];return v===void 0?[]:typeof v==\"function\"?m?[v.listener||v]:[v]:m?T(v):p(v,v.length)}t.prototype.listeners=function(E){return c(this,E,!0)},t.prototype.rawListeners=function(E){return c(this,E,!1)},t.listenerCount=function(M,E){return typeof M.listenerCount==\"function\"?M.listenerCount(E):h.call(M,E)},t.prototype.listenerCount=h;function h(M){var E=this._events;if(E!==void 0){var m=E[M];if(typeof m==\"function\")return 1;if(m!==void 0)return m.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]};function p(M,E){for(var m=new Array(E),b=0;bx.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)},S.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},S.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},S.undo=function(t){var r,o;if(!(t.undoQueue===void 0||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=t.undoQueue.queue.length)){for(r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=I.length)return!1;if(L.dimensions===2){if(F++,z.length===F)return L;var N=z[F];if(!w(N))return!1;L=I[O][N]}else L=I[O]}else L=I}}return L}function w(L){return L===Math.round(L)&&L>=0}function M(L){var z,F;z=H.modules[L]._module,F=z.basePlotModule;var B={};B.type=null;var O=o({},x),I=o({},z.attributes);Z.crawl(I,function(W,Q,le,se,fe){a(O,fe).set(void 0),W===void 0&&a(I,fe).set(void 0)}),o(B,O),H.traceIs(L,\"noOpacity\")&&delete B.opacity,H.traceIs(L,\"showLegend\")||(delete B.showlegend,delete B.legendgroup),H.traceIs(L,\"noHover\")&&(delete B.hoverinfo,delete B.hoverlabel),z.selectPoints||delete B.selectedpoints,o(B,I),F.attributes&&o(B,F.attributes),B.type=L;var N={meta:z.meta||{},categories:z.categories||{},animatable:!!z.animatable,type:L,attributes:b(B)};if(z.layoutAttributes){var U={};o(U,z.layoutAttributes),N.layoutAttributes=b(U)}return z.animatable||Z.crawl(N,function(W){Z.isValObject(W)&&\"anim\"in W&&delete W.anim}),N}function E(){var L={},z,F;o(L,A);for(z in H.subplotsRegistry)if(F=H.subplotsRegistry[z],!!F.layoutAttributes)if(Array.isArray(F.attr))for(var B=0;B=n&&(o._input||{})._templateitemname;a&&(i=n);var s=r+\"[\"+i+\"]\",c;function h(){c={},a&&(c[s]={},c[s][x]=a)}h();function p(_,w){c[_]=w}function d(_,w){a?H.nestedProperty(c[s],_).set(w):c[s+\".\"+_]=w}function T(){var _=c;return h(),_}function l(_,w){_&&d(_,w);var M=T();for(var E in M)H.nestedProperty(t,E).set(M[E])}return{modifyBase:p,modifyItem:d,getUpdateObj:T,applyUpdate:l}}}}),oh=ke({\"src/plots/cartesian/constants.js\"(Z,H){\"use strict\";var g=Ng().counter;H.exports={idRegex:{x:g(\"x\",\"( domain)?\"),y:g(\"y\",\"( domain)?\")},attrRegex:g(\"[xy]axis\"),xAxisMatch:g(\"xaxis\"),yAxisMatch:g(\"yaxis\"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:\"hour\",WEEKDAY_PATTERN:\"day of week\",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:[\"imagelayer\",\"heatmaplayer\",\"contourcarpetlayer\",\"contourlayer\",\"funnellayer\",\"waterfalllayer\",\"barlayer\",\"carpetlayer\",\"violinlayer\",\"boxlayer\",\"ohlclayer\",\"scattercarpetlayer\",\"scatterlayer\"],clipOnAxisFalseQuery:[\".scatterlayer\",\".barlayer\",\".funnellayer\",\".waterfalllayer\"],layerValue2layerClass:{\"above traces\":\"above\",\"below traces\":\"below\"},zindexSeparator:\"z\"}}}),qc=ke({\"src/plots/cartesian/axis_ids.js\"(Z){\"use strict\";var H=lo(),g=oh();Z.id2name=function(S){if(!(typeof S!=\"string\"||!S.match(g.AX_ID_PATTERN))){var e=S.split(\" \")[0].substr(1);return e===\"1\"&&(e=\"\"),S.charAt(0)+\"axis\"+e}},Z.name2id=function(S){if(S.match(g.AX_NAME_PATTERN)){var e=S.substr(5);return e===\"1\"&&(e=\"\"),S.charAt(0)+e}},Z.cleanId=function(S,e,t){var r=/( domain)$/.test(S);if(!(typeof S!=\"string\"||!S.match(g.AX_ID_PATTERN))&&!(e&&S.charAt(0)!==e)&&!(r&&!t)){var o=S.split(\" \")[0].substr(1).replace(/^0+/,\"\");return o===\"1\"&&(o=\"\"),S.charAt(0)+o+(r&&t?\" domain\":\"\")}},Z.list=function(A,S,e){var t=A._fullLayout;if(!t)return[];var r=Z.listIds(A,S),o=new Array(r.length),n;for(n=0;nt?1:-1:+(A.substr(1)||1)-+(S.substr(1)||1)},Z.ref2id=function(A){return/^[xyz]/.test(A)?A.split(\" \")[0]:!1};function x(A,S){if(S&&S.length){for(var e=0;e0?\".\":\"\")+a;g.isPlainObject(s)?t(s,o,c,i+1):o(c,a,s)}})}}}),Zu=ke({\"src/plots/plots.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().timeFormatLocale,A=$n().formatLocale,S=Yn(),e=Vn(),t=lo(),r=Vg(),o=yl(),n=un(),i=eo(),a=Hi().BADNUM,s=qc(),c=Rp().clearOutline,h=u_(),p=Ky(),d=Gw(),T=bh().getModuleCalcData,l=n.relinkPrivateKeys,_=n._,w=H.exports={};n.extendFlat(w,t),w.attributes=Ol(),w.attributes.type.values=w.allTypes,w.fontAttrs=Il(),w.layoutAttributes=Ug();var M=qE();w.executeAPICommand=M.executeAPICommand,w.computeAPICommandBindings=M.computeAPICommandBindings,w.manageCommandObserver=M.manageCommandObserver,w.hasSimpleAPICommandBindings=M.hasSimpleAPICommandBindings,w.redrawText=function(G){return G=n.getGraphDiv(G),new Promise(function($){setTimeout(function(){G._fullLayout&&(t.getComponentMethod(\"annotations\",\"draw\")(G),t.getComponentMethod(\"legend\",\"draw\")(G),t.getComponentMethod(\"colorbar\",\"draw\")(G),$(w.previousPromises(G)))},300)})},w.resize=function(G){G=n.getGraphDiv(G);var $,J=new Promise(function(X,re){(!G||n.isHidden(G))&&re(new Error(\"Resize must be passed a displayed plot div element.\")),G._redrawTimer&&clearTimeout(G._redrawTimer),G._resolveResize&&($=G._resolveResize),G._resolveResize=X,G._redrawTimer=setTimeout(function(){if(!G.layout||G.layout.width&&G.layout.height||n.isHidden(G)){X(G);return}delete G.layout.width,delete G.layout.height;var ae=G.changed;G.autoplay=!0,t.call(\"relayout\",G,{autosize:!0}).then(function(){G.changed=ae,G._resolveResize===X&&(delete G._resolveResize,X(G))})},100)});return $&&$(J),J},w.previousPromises=function(G){if((G._promises||[]).length)return Promise.all(G._promises).then(function(){G._promises=[]})},w.addLinks=function(G){if(!(!G._context.showLink&&!G._context.showSources)){var $=G._fullLayout,J=n.ensureSingle($._paper,\"text\",\"js-plot-link-container\",function(ie){ie.style({\"font-family\":'\"Open Sans\", Arial, sans-serif',\"font-size\":\"12px\",fill:i.defaultLine,\"pointer-events\":\"all\"}).each(function(){var ce=g.select(this);ce.append(\"tspan\").classed(\"js-link-to-tool\",!0),ce.append(\"tspan\").classed(\"js-link-spacer\",!0),ce.append(\"tspan\").classed(\"js-sourcelinks\",!0)})}),X=J.node(),re={y:$._paper.attr(\"height\")-9};document.body.contains(X)&&X.getComputedTextLength()>=$.width-20?(re[\"text-anchor\"]=\"start\",re.x=5):(re[\"text-anchor\"]=\"end\",re.x=$._paper.attr(\"width\")-7),J.attr(re);var ae=J.select(\".js-link-to-tool\"),j=J.select(\".js-link-spacer\"),ee=J.select(\".js-sourcelinks\");G._context.showSources&&G._context.showSources(G),G._context.showLink&&E(G,ae),j.text(ae.text()&&ee.text()?\" - \":\"\")}};function E(G,$){$.text(\"\");var J=$.append(\"a\").attr({\"xlink:xlink:href\":\"#\",class:\"link--impt link--embedview\",\"font-weight\":\"bold\"}).text(G._context.linkText+\" \\xBB\");if(G._context.sendData)J.on(\"click\",function(){w.sendDataToCloud(G)});else{var X=window.location.pathname.split(\"/\"),re=window.location.search;J.attr({\"xlink:xlink:show\":\"new\",\"xlink:xlink:href\":\"/\"+X[2].split(\".\")[0]+\"/\"+X[1]+re})}}w.sendDataToCloud=function(G){var $=(window.PLOTLYENV||{}).BASE_URL||G._context.plotlyServerURL;if($){G.emit(\"plotly_beforeexport\");var J=g.select(G).append(\"div\").attr(\"id\",\"hiddenform\").style(\"display\",\"none\"),X=J.append(\"form\").attr({action:$+\"/external\",method:\"post\",target:\"_blank\"}),re=X.append(\"input\").attr({type:\"text\",name:\"data\"});return re.node().value=w.graphJson(G,!1,\"keepdata\"),X.node().submit(),J.remove(),G.emit(\"plotly_afterexport\"),!1}};var m=[\"days\",\"shortDays\",\"months\",\"shortMonths\",\"periods\",\"dateTime\",\"date\",\"time\",\"decimal\",\"thousands\",\"grouping\",\"currency\"],b=[\"year\",\"month\",\"dayMonth\",\"dayMonthYear\"];w.supplyDefaults=function(G,$){var J=$&&$.skipUpdateCalc,X=G._fullLayout||{};if(X._skipDefaults){delete X._skipDefaults;return}var re=G._fullLayout={},ae=G.layout||{},j=G._fullData||[],ee=G._fullData=[],ie=G.data||[],ce=G.calcdata||[],xe=G._context||{},Te;G._transitionData||w.createTransitionData(G),re._dfltTitle={plot:_(G,\"Click to enter Plot title\"),subtitle:_(G,\"Click to enter Plot subtitle\"),x:_(G,\"Click to enter X axis title\"),y:_(G,\"Click to enter Y axis title\"),colorbar:_(G,\"Click to enter Colorscale title\"),annotation:_(G,\"new text\")},re._traceWord=_(G,\"trace\");var Ue=y(G,m);if(re._mapboxAccessToken=xe.mapboxAccessToken,X._initialAutoSizeIsDone){var Ie=X.width,Ye=X.height;w.supplyLayoutGlobalDefaults(ae,re,Ue),ae.width||(re.width=Ie),ae.height||(re.height=Ye),w.sanitizeMargins(re)}else{w.supplyLayoutGlobalDefaults(ae,re,Ue);var it=!ae.width||!ae.height,at=re.autosize,tt=xe.autosizable,ut=it&&(at||tt);ut?w.plotAutoSize(G,ae,re):it&&w.sanitizeMargins(re),!at&&it&&(ae.width=re.width,ae.height=re.height)}re._d3locale=f(Ue,re.separators),re._extraFormat=y(G,b),re._initialAutoSizeIsDone=!0,re._dataLength=ie.length,re._modules=[],re._visibleModules=[],re._basePlotModules=[];var Me=re._subplots=u(),pe=re._splomAxes={x:{},y:{}},ue=re._splomSubplots={};re._splomGridDflt={},re._scatterStackOpts={},re._firstScatter={},re._alignmentOpts={},re._colorAxes={},re._requestRangeslider={},re._traceUids=v(j,ie),w.supplyDataDefaults(ie,ee,ae,re);var Oe=Object.keys(pe.x),rt=Object.keys(pe.y);if(Oe.length>1&&rt.length>1){for(t.getComponentMethod(\"grid\",\"sizeDefaults\")(ae,re),Te=0;Te15&&rt.length>15&&re.shapes.length===0&&re.images.length===0,w.linkSubplots(ee,re,j,X),w.cleanPlot(ee,re,j,X);var Bt=!!(X._has&&X._has(\"cartesian\")),qt=!!(re._has&&re._has(\"cartesian\")),fr=Bt,ar=qt;fr&&!ar?X._bgLayer.remove():ar&&!fr&&(re._shouldCreateBgLayer=!0),X._zoomlayer&&!G._dragging&&c({_fullLayout:X}),P(ee,re),l(re,X),t.getComponentMethod(\"colorscale\",\"crossTraceDefaults\")(ee,re),re._preGUI||(re._preGUI={}),re._tracePreGUI||(re._tracePreGUI={});var Rr=re._tracePreGUI,gr={},br;for(br in Rr)gr[br]=\"old\";for(Te=0;Te0){var xe=1-2*ae;j=Math.round(xe*j),ee=Math.round(xe*ee)}}var Te=w.layoutAttributes.width.min,Ue=w.layoutAttributes.height.min;j1,Ye=!J.height&&Math.abs(X.height-ee)>1;(Ye||Ie)&&(Ie&&(X.width=j),Ye&&(X.height=ee)),$._initialAutoSize||($._initialAutoSize={width:j,height:ee}),w.sanitizeMargins(X)},w.supplyLayoutModuleDefaults=function(G,$,J,X){var re=t.componentsRegistry,ae=$._basePlotModules,j,ee,ie,ce=t.subplotsRegistry.cartesian;for(j in re)ie=re[j],ie.includeBasePlot&&ie.includeBasePlot(G,$);ae.length||ae.push(ce),$._has(\"cartesian\")&&(t.getComponentMethod(\"grid\",\"contentDefaults\")(G,$),ce.finalizeSubplots(G,$));for(var xe in $._subplots)$._subplots[xe].sort(n.subplotSort);for(ee=0;ee1&&(J.l/=at,J.r/=at)}if(Ue){var tt=(J.t+J.b)/Ue;tt>1&&(J.t/=tt,J.b/=tt)}var ut=J.xl!==void 0?J.xl:J.x,Me=J.xr!==void 0?J.xr:J.x,pe=J.yt!==void 0?J.yt:J.y,ue=J.yb!==void 0?J.yb:J.y;Ie[$]={l:{val:ut,size:J.l+it},r:{val:Me,size:J.r+it},b:{val:ue,size:J.b+it},t:{val:pe,size:J.t+it}},Ye[$]=1}if(!X._replotting)return w.doAutoMargin(G)}};function I(G){if(\"_redrawFromAutoMarginCount\"in G._fullLayout)return!1;var $=s.list(G,\"\",!0);for(var J in $)if($[J].autoshift||$[J].shift)return!0;return!1}w.doAutoMargin=function(G){var $=G._fullLayout,J=$.width,X=$.height;$._size||($._size={}),F($);var re=$._size,ae=$.margin,j={t:0,b:0,l:0,r:0},ee=n.extendFlat({},re),ie=ae.l,ce=ae.r,xe=ae.t,Te=ae.b,Ue=$._pushmargin,Ie=$._pushmarginIds,Ye=$.minreducedwidth,it=$.minreducedheight;if(ae.autoexpand!==!1){for(var at in Ue)Ie[at]||delete Ue[at];var tt=G._fullLayout._reservedMargin;for(var ut in tt)for(var Me in tt[ut]){var pe=tt[ut][Me];j[Me]=Math.max(j[Me],pe)}Ue.base={l:{val:0,size:ie},r:{val:1,size:ce},t:{val:1,size:xe},b:{val:0,size:Te}};for(var ue in j){var Oe=0;for(var rt in Ue)rt!==\"base\"&&S(Ue[rt][ue].size)&&(Oe=Ue[rt][ue].size>Oe?Ue[rt][ue].size:Oe);var ot=Math.max(0,ae[ue]-Oe);j[ue]=Math.max(0,j[ue]-ot)}for(var et in Ue){var Lt=Ue[et].l||{},Et=Ue[et].b||{},Bt=Lt.val,qt=Lt.size,fr=Et.val,ar=Et.size,Rr=J-j.r-j.l,gr=X-j.t-j.b;for(var br in Ue){if(S(qt)&&Ue[br].r){var _t=Ue[br].r.val,Be=Ue[br].r.size;if(_t>Bt){var Ke=(qt*_t+(Be-Rr)*Bt)/(_t-Bt),je=(Be*(1-Bt)+(qt-Rr)*(1-_t))/(_t-Bt);Ke+je>ie+ce&&(ie=Ke,ce=je)}}if(S(ar)&&Ue[br].t){var Se=Ue[br].t.val,He=Ue[br].t.size;if(Se>fr){var Ee=(ar*Se+(He-gr)*fr)/(Se-fr),we=(He*(1-fr)+(ar-gr)*(1-Se))/(Se-fr);Ee+we>Te+xe&&(Te=Ee,xe=we)}}}}}var Le=n.constrain(J-ae.l-ae.r,B,Ye),nt=n.constrain(X-ae.t-ae.b,O,it),pt=Math.max(0,J-Le),bt=Math.max(0,X-nt);if(pt){var Rt=(ie+ce)/pt;Rt>1&&(ie/=Rt,ce/=Rt)}if(bt){var Nt=(Te+xe)/bt;Nt>1&&(Te/=Nt,xe/=Nt)}if(re.l=Math.round(ie)+j.l,re.r=Math.round(ce)+j.r,re.t=Math.round(xe)+j.t,re.b=Math.round(Te)+j.b,re.p=Math.round(ae.pad),re.w=Math.round(J)-re.l-re.r,re.h=Math.round(X)-re.t-re.b,!$._replotting&&(w.didMarginChange(ee,re)||I(G))){\"_redrawFromAutoMarginCount\"in $?$._redrawFromAutoMarginCount++:$._redrawFromAutoMarginCount=1;var Xt=3*(1+Object.keys(Ie).length);if($._redrawFromAutoMarginCount1)return!0}return!1},w.graphJson=function(G,$,J,X,re,ae){(re&&$&&!G._fullData||re&&!$&&!G._fullLayout)&&w.supplyDefaults(G);var j=re?G._fullData:G.data,ee=re?G._fullLayout:G.layout,ie=(G._transitionData||{})._frames;function ce(Ue,Ie){if(typeof Ue==\"function\")return Ie?\"_function_\":null;if(n.isPlainObject(Ue)){var Ye={},it;return Object.keys(Ue).sort().forEach(function(Me){if([\"_\",\"[\"].indexOf(Me.charAt(0))===-1){if(typeof Ue[Me]==\"function\"){Ie&&(Ye[Me]=\"_function\");return}if(J===\"keepdata\"){if(Me.substr(Me.length-3)===\"src\")return}else if(J===\"keepstream\"){if(it=Ue[Me+\"src\"],typeof it==\"string\"&&it.indexOf(\":\")>0&&!n.isPlainObject(Ue.stream))return}else if(J!==\"keepall\"&&(it=Ue[Me+\"src\"],typeof it==\"string\"&&it.indexOf(\":\")>0))return;Ye[Me]=ce(Ue[Me],Ie)}}),Ye}var at=Array.isArray(Ue),tt=n.isTypedArray(Ue);if((at||tt)&&Ue.dtype&&Ue.shape){var ut=Ue.bdata;return ce({dtype:Ue.dtype,shape:Ue.shape,bdata:n.isArrayBuffer(ut)?e.encode(ut):ut},Ie)}return at?Ue.map(function(Me){return ce(Me,Ie)}):tt?n.simpleMap(Ue,n.identity):n.isJSDate(Ue)?n.ms2DateTimeLocal(+Ue):Ue}var xe={data:(j||[]).map(function(Ue){var Ie=ce(Ue);return $&&delete Ie.fit,Ie})};if(!$&&(xe.layout=ce(ee),re)){var Te=ee._size;xe.layout.computed={margin:{b:Te.b,l:Te.l,r:Te.r,t:Te.t}}}return ie&&(xe.frames=ce(ie)),ae&&(xe.config=ce(G._context,!0)),X===\"object\"?xe:JSON.stringify(xe)},w.modifyFrames=function(G,$){var J,X,re,ae=G._transitionData._frames,j=G._transitionData._frameHash;for(J=0;J<$.length;J++)switch(X=$[J],X.type){case\"replace\":re=X.value;var ee=(ae[X.index]||{}).name,ie=re.name;ae[X.index]=j[ie]=re,ie!==ee&&(delete j[ee],j[ie]=re);break;case\"insert\":re=X.value,j[re.name]=re,ae.splice(X.index,0,re);break;case\"delete\":re=ae[X.index],delete j[re.name],ae.splice(X.index,1);break}return Promise.resolve()},w.computeFrame=function(G,$){var J=G._transitionData._frameHash,X,re,ae,j;if(!$)throw new Error(\"computeFrame must be given a string frame name\");var ee=J[$.toString()];if(!ee)return!1;for(var ie=[ee],ce=[ee.name];ee.baseframe&&(ee=J[ee.baseframe.toString()])&&ce.indexOf(ee.name)===-1;)ie.push(ee),ce.push(ee.name);for(var xe={};ee=ie.pop();)if(ee.layout&&(xe.layout=w.extendLayout(xe.layout,ee.layout)),ee.data){if(xe.data||(xe.data=[]),re=ee.traces,!re)for(re=[],X=0;X0&&(G._transitioningWithDuration=!0),G._transitionData._interruptCallbacks.push(function(){X=!0}),J.redraw&&G._transitionData._interruptCallbacks.push(function(){return t.call(\"redraw\",G)}),G._transitionData._interruptCallbacks.push(function(){G.emit(\"plotly_transitioninterrupted\",[])});var Ue=0,Ie=0;function Ye(){return Ue++,function(){Ie++,!X&&Ie===Ue&&ee(Te)}}J.runFn(Ye),setTimeout(Ye())})}function ee(Te){if(G._transitionData)return ae(G._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(J.redraw)return t.call(\"redraw\",G)}).then(function(){G._transitioning=!1,G._transitioningWithDuration=!1,G.emit(\"plotly_transitioned\",[])}).then(Te)}function ie(){if(G._transitionData)return G._transitioning=!1,re(G._transitionData._interruptCallbacks)}var ce=[w.previousPromises,ie,J.prepareFn,w.rehover,w.reselect,j],xe=n.syncOrAsync(ce,G);return(!xe||!xe.then)&&(xe=Promise.resolve()),xe.then(function(){return G})}w.doCalcdata=function(G,$){var J=s.list(G),X=G._fullData,re=G._fullLayout,ae,j,ee,ie,ce=new Array(X.length),xe=(G.calcdata||[]).slice();for(G.calcdata=ce,re._numBoxes=0,re._numViolins=0,re._violinScaleGroupStats={},G._hmpixcount=0,G._hmlumcount=0,re._piecolormap={},re._sunburstcolormap={},re._treemapcolormap={},re._iciclecolormap={},re._funnelareacolormap={},ee=0;ee=0;ie--)if(ue[ie].enabled){ae._indexToPoints=ue[ie]._indexToPoints;break}j&&j.calc&&(pe=j.calc(G,ae))}(!Array.isArray(pe)||!pe[0])&&(pe=[{x:a,y:a}]),pe[0].t||(pe[0].t={}),pe[0].trace=ae,ce[ut]=pe}}for(se(J,X,re),ee=0;eeee||Ie>ie)&&(ae.style(\"overflow\",\"hidden\"),Te=ae.node().getBoundingClientRect(),Ue=Te.width,Ie=Te.height);var Ye=+O.attr(\"x\"),it=+O.attr(\"y\"),at=G||O.node().getBoundingClientRect().height,tt=-at/4;if(le[0]===\"y\")j.attr({transform:\"rotate(\"+[-90,Ye,it]+\")\"+x(-Ue/2,tt-Ie/2)});else if(le[0]===\"l\")it=tt-Ie/2;else if(le[0]===\"a\"&&le.indexOf(\"atitle\")!==0)Ye=0,it=tt;else{var ut=O.attr(\"text-anchor\");Ye=Ye-Ue*(ut===\"middle\"?.5:ut===\"end\"?1:0),it=it+tt-Ie/2}ae.attr({x:Ye,y:it}),N&&N.call(O,j),fe(j)})})):se(),O};var t=/(<|<|<)/g,r=/(>|>|>)/g;function o(O){return O.replace(t,\"\\\\lt \").replace(r,\"\\\\gt \")}var n=[[\"$\",\"$\"],[\"\\\\(\",\"\\\\)\"]];function i(O,I,N){var U=parseInt((MathJax.version||\"\").split(\".\")[0]);if(U!==2&&U!==3){g.warn(\"No MathJax version:\",MathJax.version);return}var W,Q,le,se,fe=function(){return Q=g.extendDeepAll({},MathJax.Hub.config),le=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:\"none\",tex2jax:{inlineMath:n},displayAlign:\"left\"})},G=function(){Q=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=n},$=function(){if(W=MathJax.Hub.config.menuSettings.renderer,W!==\"SVG\")return MathJax.Hub.setRenderer(\"SVG\")},J=function(){W=MathJax.config.startup.output,W!==\"svg\"&&(MathJax.config.startup.output=\"svg\")},X=function(){var ce=\"math-output-\"+g.randstr({},64);se=H.select(\"body\").append(\"div\").attr({id:ce}).style({visibility:\"hidden\",position:\"absolute\",\"font-size\":I.fontSize+\"px\"}).text(o(O));var xe=se.node();return U===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},re=function(){var ce=se.select(U===2?\".MathJax_SVG\":\".MathJax\"),xe=!ce.empty()&&se.select(\"svg\").node();if(!xe)g.log(\"There was an error in the tex syntax.\",O),N();else{var Te=xe.getBoundingClientRect(),Ue;U===2?Ue=H.select(\"body\").select(\"#MathJax_SVG_glyphs\"):Ue=ce.select(\"defs\"),N(ce,Ue,Te)}se.remove()},ae=function(){if(W!==\"SVG\")return MathJax.Hub.setRenderer(W)},j=function(){W!==\"svg\"&&(MathJax.config.startup.output=W)},ee=function(){return le!==void 0&&(MathJax.Hub.processSectionDelay=le),MathJax.Hub.Config(Q)},ie=function(){MathJax.config=Q};U===2?MathJax.Hub.Queue(fe,$,X,re,ae,ee):U===3&&(G(),J(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){X(),re(),j(),ie()}))}var a={sup:\"font-size:70%\",sub:\"font-size:70%\",s:\"text-decoration:line-through\",u:\"text-decoration:underline\",b:\"font-weight:bold\",i:\"font-style:italic\",a:\"cursor:pointer\",span:\"\",em:\"font-style:italic;font-weight:bold\"},s={sub:\"0.3em\",sup:\"-0.6em\"},c={sub:\"-0.21em\",sup:\"0.42em\"},h=\"\\u200B\",p=[\"http:\",\"https:\",\"mailto:\",\"\",void 0,\":\"],d=Z.NEWLINES=/(\\r\\n?|\\n)/g,T=/(<[^<>]*>)/,l=/<(\\/?)([^ >]*)(\\s+(.*))?>/i,_=//i;Z.BR_TAG_ALL=//gi;var w=/(^|[\\s\"'])style\\s*=\\s*(\"([^\"]*);?\"|'([^']*);?')/i,M=/(^|[\\s\"'])href\\s*=\\s*(\"([^\"]*)\"|'([^']*)')/i,E=/(^|[\\s\"'])target\\s*=\\s*(\"([^\"\\s]*)\"|'([^'\\s]*)')/i,m=/(^|[\\s\"'])popup\\s*=\\s*(\"([\\w=,]*)\"|'([\\w=,]*)')/i;function b(O,I){if(!O)return null;var N=O.match(I),U=N&&(N[3]||N[4]);return U&&f(U)}var v=/(^|;)\\s*color:/;Z.plainText=function(O,I){I=I||{};for(var N=I.len!==void 0&&I.len!==-1?I.len:1/0,U=I.allowedTags!==void 0?I.allowedTags:[\"br\"],W=\"...\",Q=W.length,le=O.split(T),se=[],fe=\"\",G=0,$=0;$Q?se.push(J.substr(0,j-Q)+W):se.push(J.substr(0,j));break}fe=\"\"}}return se.join(\"\")};var u={mu:\"\\u03BC\",amp:\"&\",lt:\"<\",gt:\">\",nbsp:\"\\xA0\",times:\"\\xD7\",plusmn:\"\\xB1\",deg:\"\\xB0\"},y=/&(#\\d+|#x[\\da-fA-F]+|[a-z]+);/g;function f(O){return O.replace(y,function(I,N){var U;return N.charAt(0)===\"#\"?U=P(N.charAt(1)===\"x\"?parseInt(N.substr(2),16):parseInt(N.substr(1),10)):U=u[N],U||I})}Z.convertEntities=f;function P(O){if(!(O>1114111)){var I=String.fromCodePoint;if(I)return I(O);var N=String.fromCharCode;return O<=65535?N(O):N((O>>10)+55232,O%1024+56320)}}function L(O,I){I=I.replace(d,\" \");var N=!1,U=[],W,Q=-1;function le(){Q++;var Ie=document.createElementNS(A.svg,\"tspan\");H.select(Ie).attr({class:\"line\",dy:Q*S+\"em\"}),O.appendChild(Ie),W=Ie;var Ye=U;if(U=[{node:Ie}],Ye.length>1)for(var it=1;it.\",I);return}var Ye=U.pop();Ie!==Ye.type&&g.log(\"Start tag <\"+Ye.type+\"> doesnt match end tag <\"+Ie+\">. Pretending it did match.\",I),W=U[U.length-1].node}var $=_.test(I);$?le():(W=O,U=[{node:O}]);for(var J=I.split(T),X=0;X=0;_--,w++){var M=d[_];l[w]=[1-M[0],M[1]]}return l}function c(d,T){T=T||{};for(var l=d.domain,_=d.range,w=_.length,M=new Array(w),E=0;Ed-h?h=d-(p-d):p-d=0?_=o.colorscale.sequential:_=o.colorscale.sequentialminus,s._sync(\"colorscale\",_)}}}}),ku=ke({\"src/components/colorscale/index.js\"(Z,H){\"use strict\";var g=Cm(),x=ad();H.exports={moduleType:\"component\",name:\"colorscale\",attributes:ou(),layoutAttributes:Ww(),supplyLayoutDefaults:HE(),handleDefaults:Kf(),crossTraceDefaults:GE(),calc:od(),scales:g.scales,defaultScale:g.defaultScale,getScale:g.get,isValidScale:g.isValid,hasColorscale:x.hasColorscale,extractOpts:x.extractOpts,extractScale:x.extractScale,flipScale:x.flipScale,makeColorScaleFunc:x.makeColorScaleFunc,makeColorScaleFuncFromTrace:x.makeColorScaleFuncFromTrace}}}),vu=ke({\"src/traces/scatter/subtypes.js\"(Z,H){\"use strict\";var g=un(),x=Oa().isTypedArraySpec;H.exports={hasLines:function(A){return A.visible&&A.mode&&A.mode.indexOf(\"lines\")!==-1},hasMarkers:function(A){return A.visible&&(A.mode&&A.mode.indexOf(\"markers\")!==-1||A.type===\"splom\")},hasText:function(A){return A.visible&&A.mode&&A.mode.indexOf(\"text\")!==-1},isBubble:function(A){var S=A.marker;return g.isPlainObject(S)&&(g.isArrayOrTypedArray(S.size)||x(S.size))}}}}),Hg=ke({\"src/traces/scatter/make_bubble_size_func.js\"(Z,H){\"use strict\";var g=Yn();H.exports=function(A,S){S||(S=2);var e=A.marker,t=e.sizeref||1,r=e.sizemin||0,o=e.sizemode===\"area\"?function(n){return Math.sqrt(n/t)}:function(n){return n/t};return function(n){var i=o(n/S);return g(i)&&i>0?Math.max(i,r):0}}}}),gd=ke({\"src/components/fx/helpers.js\"(Z){\"use strict\";var H=un();Z.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},Z.isTraceInSubplots=function(t,r){if(t.type===\"splom\"){for(var o=t.xaxes||[],n=t.yaxes||[],i=0;i=0&&o.index2&&(r.push([n].concat(i.splice(0,2))),a=\"l\",n=n==\"m\"?\"l\":\"L\");;){if(i.length==g[a])return i.unshift(n),r.push(i);if(i.length0&&(pe=100,Me=Me.replace(\"-open\",\"\")),Me.indexOf(\"-dot\")>0&&(pe+=200,Me=Me.replace(\"-dot\",\"\")),Me=l.symbolNames.indexOf(Me),Me>=0&&(Me+=pe)}return Me%100>=v||Me>=400?0:Math.floor(Math.max(Me,0))};function y(Me,pe,ue,Oe){var rt=Me%100;return l.symbolFuncs[rt](pe,ue,Oe)+(Me>=200?u:\"\")}var f=A(\"~f\"),P={radial:{type:\"radial\"},radialreversed:{type:\"radial\",reversed:!0},horizontal:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};l.gradient=function(Me,pe,ue,Oe,rt,ot){var et=P[Oe];return L(Me,pe,ue,et.type,rt,ot,et.start,et.stop,!1,et.reversed)};function L(Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt){var qt=rt.length,fr;Oe===\"linear\"?fr={node:\"linearGradient\",attrs:{x1:et.x,y1:et.y,x2:Lt.x,y2:Lt.y,gradientUnits:Et?\"userSpaceOnUse\":\"objectBoundingBox\"},reversed:Bt}:Oe===\"radial\"&&(fr={node:\"radialGradient\",reversed:Bt});for(var ar=new Array(qt),Rr=0;Rr=0&&Me.i===void 0&&(Me.i=ot.i),pe.style(\"opacity\",Oe.selectedOpacityFn?Oe.selectedOpacityFn(Me):Me.mo===void 0?et.opacity:Me.mo),Oe.ms2mrc){var Et;Me.ms===\"various\"||et.size===\"various\"?Et=3:Et=Oe.ms2mrc(Me.ms),Me.mrc=Et,Oe.selectedSizeFn&&(Et=Me.mrc=Oe.selectedSizeFn(Me));var Bt=l.symbolNumber(Me.mx||et.symbol)||0;Me.om=Bt%200>=100;var qt=ut(Me,ue),fr=ee(Me,ue);pe.attr(\"d\",y(Bt,Et,qt,fr))}var ar=!1,Rr,gr,br;if(Me.so)br=Lt.outlierwidth,gr=Lt.outliercolor,Rr=et.outliercolor;else{var _t=(Lt||{}).width;br=(Me.mlw+1||_t+1||(Me.trace?(Me.trace.marker.line||{}).width:0)+1)-1||0,\"mlc\"in Me?gr=Me.mlcc=Oe.lineScale(Me.mlc):x.isArrayOrTypedArray(Lt.color)?gr=r.defaultLine:gr=Lt.color,x.isArrayOrTypedArray(et.color)&&(Rr=r.defaultLine,ar=!0),\"mc\"in Me?Rr=Me.mcc=Oe.markerScale(Me.mc):Rr=et.color||et.colors||\"rgba(0,0,0,0)\",Oe.selectedColorFn&&(Rr=Oe.selectedColorFn(Me))}if(Me.om)pe.call(r.stroke,Rr).style({\"stroke-width\":(br||1)+\"px\",fill:\"none\"});else{pe.style(\"stroke-width\",(Me.isBlank?0:br)+\"px\");var Be=et.gradient,Ke=Me.mgt;Ke?ar=!0:Ke=Be&&Be.type,x.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],P[Ke]||(Ke=0));var je=et.pattern,Se=je&&l.getPatternAttr(je.shape,Me.i,\"\");if(Ke&&Ke!==\"none\"){var He=Me.mgc;He?ar=!0:He=Be.color;var Ee=ue.uid;ar&&(Ee+=\"-\"+Me.i),l.gradient(pe,rt,Ee,Ke,[[0,He],[1,Rr]],\"fill\")}else if(Se){var we=!1,Le=je.fgcolor;!Le&&ot&&ot.color&&(Le=ot.color,we=!0);var nt=l.getPatternAttr(Le,Me.i,ot&&ot.color||null),pt=l.getPatternAttr(je.bgcolor,Me.i,null),bt=je.fgopacity,Rt=l.getPatternAttr(je.size,Me.i,8),Nt=l.getPatternAttr(je.solidity,Me.i,.3);we=we||Me.mcc||x.isArrayOrTypedArray(je.shape)||x.isArrayOrTypedArray(je.bgcolor)||x.isArrayOrTypedArray(je.fgcolor)||x.isArrayOrTypedArray(je.size)||x.isArrayOrTypedArray(je.solidity);var Xt=ue.uid;we&&(Xt+=\"-\"+Me.i),l.pattern(pe,\"point\",rt,Xt,Se,Rt,Nt,Me.mcc,je.fillmode,pt,nt,bt)}else x.isArrayOrTypedArray(Rr)?r.fill(pe,Rr[Me.i]):r.fill(pe,Rr);br&&r.stroke(pe,gr)}},l.makePointStyleFns=function(Me){var pe={},ue=Me.marker;return pe.markerScale=l.tryColorscale(ue,\"\"),pe.lineScale=l.tryColorscale(ue,\"line\"),t.traceIs(Me,\"symbols\")&&(pe.ms2mrc=p.isBubble(Me)?d(Me):function(){return(ue.size||6)/2}),Me.selectedpoints&&x.extendFlat(pe,l.makeSelectedPointStyleFns(Me)),pe},l.makeSelectedPointStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.marker||{},ot=ue.marker||{},et=Oe.marker||{},Lt=rt.opacity,Et=ot.opacity,Bt=et.opacity,qt=Et!==void 0,fr=Bt!==void 0;(x.isArrayOrTypedArray(Lt)||qt||fr)&&(pe.selectedOpacityFn=function(Se){var He=Se.mo===void 0?rt.opacity:Se.mo;return Se.selected?qt?Et:He:fr?Bt:h*He});var ar=rt.color,Rr=ot.color,gr=et.color;(Rr||gr)&&(pe.selectedColorFn=function(Se){var He=Se.mcc||ar;return Se.selected?Rr||He:gr||He});var br=rt.size,_t=ot.size,Be=et.size,Ke=_t!==void 0,je=Be!==void 0;return t.traceIs(Me,\"symbols\")&&(Ke||je)&&(pe.selectedSizeFn=function(Se){var He=Se.mrc||br/2;return Se.selected?Ke?_t/2:He:je?Be/2:He}),pe},l.makeSelectedTextStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.textfont||{},ot=ue.textfont||{},et=Oe.textfont||{},Lt=rt.color,Et=ot.color,Bt=et.color;return pe.selectedTextColorFn=function(qt){var fr=qt.tc||Lt;return qt.selected?Et||fr:Bt||(Et?fr:r.addOpacity(fr,h))},pe},l.selectedPointStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedPointStyleFns(pe),Oe=pe.marker||{},rt=[];ue.selectedOpacityFn&&rt.push(function(ot,et){ot.style(\"opacity\",ue.selectedOpacityFn(et))}),ue.selectedColorFn&&rt.push(function(ot,et){r.fill(ot,ue.selectedColorFn(et))}),ue.selectedSizeFn&&rt.push(function(ot,et){var Lt=et.mx||Oe.symbol||0,Et=ue.selectedSizeFn(et);ot.attr(\"d\",y(l.symbolNumber(Lt),Et,ut(et,pe),ee(et,pe))),et.mrc2=Et}),rt.length&&Me.each(function(ot){for(var et=g.select(this),Lt=0;Lt0?ue:0}l.textPointStyle=function(Me,pe,ue){if(Me.size()){var Oe;if(pe.selectedpoints){var rt=l.makeSelectedTextStyleFns(pe);Oe=rt.selectedTextColorFn}var ot=pe.texttemplate,et=ue._fullLayout;Me.each(function(Lt){var Et=g.select(this),Bt=ot?x.extractOption(Lt,pe,\"txt\",\"texttemplate\"):x.extractOption(Lt,pe,\"tx\",\"text\");if(!Bt&&Bt!==0){Et.remove();return}if(ot){var qt=pe._module.formatLabels,fr=qt?qt(Lt,pe,et):{},ar={};T(ar,pe,Lt.i);var Rr=pe._meta||{};Bt=x.texttemplateString(Bt,fr,et._d3locale,ar,Lt,Rr)}var gr=Lt.tp||pe.textposition,br=B(Lt,pe),_t=Oe?Oe(Lt):Lt.tc||pe.textfont.color;Et.call(l.font,{family:Lt.tf||pe.textfont.family,weight:Lt.tw||pe.textfont.weight,style:Lt.ty||pe.textfont.style,variant:Lt.tv||pe.textfont.variant,textcase:Lt.tC||pe.textfont.textcase,lineposition:Lt.tE||pe.textfont.lineposition,shadow:Lt.tS||pe.textfont.shadow,size:br,color:_t}).text(Bt).call(i.convertToTspans,ue).call(F,gr,br,Lt.mrc)})}},l.selectedTextStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedTextStyleFns(pe);Me.each(function(Oe){var rt=g.select(this),ot=ue.selectedTextColorFn(Oe),et=Oe.tp||pe.textposition,Lt=B(Oe,pe);r.fill(rt,ot);var Et=t.traceIs(pe,\"bar-like\");F(rt,et,Lt,Oe.mrc2||Oe.mrc,Et)})}};var O=.5;l.smoothopen=function(Me,pe){if(Me.length<3)return\"M\"+Me.join(\"L\");var ue=\"M\"+Me[0],Oe=[],rt;for(rt=1;rt=Et||Se>=qt&&Se<=Et)&&(He<=fr&&He>=Bt||He>=fr&&He<=Bt)&&(Me=[Se,He])}return Me}l.applyBackoff=G,l.makeTester=function(){var Me=x.ensureSingleById(g.select(\"body\"),\"svg\",\"js-plotly-tester\",function(ue){ue.attr(a.svgAttrs).style({position:\"absolute\",left:\"-10000px\",top:\"-10000px\",width:\"9000px\",height:\"9000px\",\"z-index\":\"1\"})}),pe=x.ensureSingle(Me,\"path\",\"js-reference-point\",function(ue){ue.attr(\"d\",\"M0,0H1V1H0Z\").style({\"stroke-width\":0,fill:\"black\"})});l.tester=Me,l.testref=pe},l.savedBBoxes={};var $=0,J=1e4;l.bBox=function(Me,pe,ue){ue||(ue=X(Me));var Oe;if(ue){if(Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}else if(Me.childNodes.length===1){var rt=Me.childNodes[0];if(ue=X(rt),ue){var ot=+rt.getAttribute(\"x\")||0,et=+rt.getAttribute(\"y\")||0,Lt=rt.getAttribute(\"transform\");if(!Lt){var Et=l.bBox(rt,!1,ue);return ot&&(Et.left+=ot,Et.right+=ot),et&&(Et.top+=et,Et.bottom+=et),Et}if(ue+=\"~\"+ot+\"~\"+et+\"~\"+Lt,Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}}var Bt,qt;pe?Bt=Me:(qt=l.tester.node(),Bt=Me.cloneNode(!0),qt.appendChild(Bt)),g.select(Bt).attr(\"transform\",null).call(i.positionText,0,0);var fr=Bt.getBoundingClientRect(),ar=l.testref.node().getBoundingClientRect();pe||qt.removeChild(Bt);var Rr={height:fr.height,width:fr.width,left:fr.left-ar.left,top:fr.top-ar.top,right:fr.right-ar.left,bottom:fr.bottom-ar.top};return $>=J&&(l.savedBBoxes={},$=0),ue&&(l.savedBBoxes[ue]=Rr),$++,x.extendFlat({},Rr)};function X(Me){var pe=Me.getAttribute(\"data-unformatted\");if(pe!==null)return pe+Me.getAttribute(\"data-math\")+Me.getAttribute(\"text-anchor\")+Me.getAttribute(\"style\")}l.setClipUrl=function(Me,pe,ue){Me.attr(\"clip-path\",re(pe,ue))};function re(Me,pe){if(!Me)return null;var ue=pe._context,Oe=ue._exportedPlot?\"\":ue._baseUrl||\"\";return Oe?\"url('\"+Oe+\"#\"+Me+\"')\":\"url(#\"+Me+\")\"}l.getTranslate=function(Me){var pe=/.*\\btranslate\\((-?\\d*\\.?\\d*)[^-\\d]*(-?\\d*\\.?\\d*)[^\\d].*/,ue=Me.attr?\"attr\":\"getAttribute\",Oe=Me[ue](\"transform\")||\"\",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(\" \")}).split(\" \");return{x:+rt[0]||0,y:+rt[1]||0}},l.setTranslate=function(Me,pe,ue){var Oe=/(\\btranslate\\(.*?\\);?)/,rt=Me.attr?\"attr\":\"getAttribute\",ot=Me.attr?\"attr\":\"setAttribute\",et=Me[rt](\"transform\")||\"\";return pe=pe||0,ue=ue||0,et=et.replace(Oe,\"\").trim(),et+=n(pe,ue),et=et.trim(),Me[ot](\"transform\",et),et},l.getScale=function(Me){var pe=/.*\\bscale\\((\\d*\\.?\\d*)[^\\d]*(\\d*\\.?\\d*)[^\\d].*/,ue=Me.attr?\"attr\":\"getAttribute\",Oe=Me[ue](\"transform\")||\"\",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(\" \")}).split(\" \");return{x:+rt[0]||1,y:+rt[1]||1}},l.setScale=function(Me,pe,ue){var Oe=/(\\bscale\\(.*?\\);?)/,rt=Me.attr?\"attr\":\"getAttribute\",ot=Me.attr?\"attr\":\"setAttribute\",et=Me[rt](\"transform\")||\"\";return pe=pe||1,ue=ue||1,et=et.replace(Oe,\"\").trim(),et+=\"scale(\"+pe+\",\"+ue+\")\",et=et.trim(),Me[ot](\"transform\",et),et};var ae=/\\s*sc.*/;l.setPointGroupScale=function(Me,pe,ue){if(pe=pe||1,ue=ue||1,!!Me){var Oe=pe===1&&ue===1?\"\":\"scale(\"+pe+\",\"+ue+\")\";Me.each(function(){var rt=(this.getAttribute(\"transform\")||\"\").replace(ae,\"\");rt+=Oe,rt=rt.trim(),this.setAttribute(\"transform\",rt)})}};var j=/translate\\([^)]*\\)\\s*$/;l.setTextPointsScale=function(Me,pe,ue){Me&&Me.each(function(){var Oe,rt=g.select(this),ot=rt.select(\"text\");if(ot.node()){var et=parseFloat(ot.attr(\"x\")||0),Lt=parseFloat(ot.attr(\"y\")||0),Et=(rt.attr(\"transform\")||\"\").match(j);pe===1&&ue===1?Oe=[]:Oe=[n(et,Lt),\"scale(\"+pe+\",\"+ue+\")\",n(-et,-Lt)],Et&&Oe.push(Et),rt.attr(\"transform\",Oe.join(\"\"))}})};function ee(Me,pe){var ue;return Me&&(ue=Me.mf),ue===void 0&&(ue=pe.marker&&pe.marker.standoff||0),!pe._geo&&!pe._xA?-ue:ue}l.getMarkerStandoff=ee;var ie=Math.atan2,ce=Math.cos,xe=Math.sin;function Te(Me,pe){var ue=pe[0],Oe=pe[1];return[ue*ce(Me)-Oe*xe(Me),ue*xe(Me)+Oe*ce(Me)]}var Ue,Ie,Ye,it,at,tt;function ut(Me,pe){var ue=Me.ma;ue===void 0&&(ue=pe.marker.angle,(!ue||x.isArrayOrTypedArray(ue))&&(ue=0));var Oe,rt,ot=pe.marker.angleref;if(ot===\"previous\"||ot===\"north\"){if(pe._geo){var et=pe._geo.project(Me.lonlat);Oe=et[0],rt=et[1]}else{var Lt=pe._xA,Et=pe._yA;if(Lt&&Et)Oe=Lt.c2p(Me.x),rt=Et.c2p(Me.y);else return 90}if(pe._geo){var Bt=Me.lonlat[0],qt=Me.lonlat[1],fr=pe._geo.project([Bt,qt+1e-5]),ar=pe._geo.project([Bt+1e-5,qt]),Rr=ie(ar[1]-rt,ar[0]-Oe),gr=ie(fr[1]-rt,fr[0]-Oe),br;if(ot===\"north\")br=ue/180*Math.PI;else if(ot===\"previous\"){var _t=Bt/180*Math.PI,Be=qt/180*Math.PI,Ke=Ue/180*Math.PI,je=Ie/180*Math.PI,Se=Ke-_t,He=ce(je)*xe(Se),Ee=xe(je)*ce(Be)-ce(je)*xe(Be)*ce(Se);br=-ie(He,Ee)-Math.PI,Ue=Bt,Ie=qt}var we=Te(Rr,[ce(br),0]),Le=Te(gr,[xe(br),0]);ue=ie(we[1]+Le[1],we[0]+Le[0])/Math.PI*180,ot===\"previous\"&&!(tt===pe.uid&&Me.i===at+1)&&(ue=null)}if(ot===\"previous\"&&!pe._geo)if(tt===pe.uid&&Me.i===at+1&&S(Oe)&&S(rt)){var nt=Oe-Ye,pt=rt-it,bt=pe.line&&pe.line.shape||\"\",Rt=bt.slice(bt.length-1);Rt===\"h\"&&(pt=0),Rt===\"v\"&&(nt=0),ue+=ie(pt,nt)/Math.PI*180+90}else ue=null}return Ye=Oe,it=rt,at=Me.i,tt=pe.uid,ue}l.getMarkerAngle=ut}}),Im=ke({\"src/components/titles/index.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=$o(),o=eo(),n=Wl(),i=Lp(),a=Yf().OPPOSITE_SIDE,s=/ [XY][0-9]* /,c=1.6,h=1.6;function p(d,T,l){var _=d._fullLayout,w=l.propContainer,M=l.propName,E=l.placeholder,m=l.traceIndex,b=l.avoid||{},v=l.attributes,u=l.transform,y=l.containerGroup,f=1,P=w.title,L=(P&&P.text?P.text:\"\").trim(),z=!1,F=P&&P.font?P.font:{},B=F.family,O=F.size,I=F.color,N=F.weight,U=F.style,W=F.variant,Q=F.textcase,le=F.lineposition,se=F.shadow,fe=l.subtitlePropName,G=!!fe,$=l.subtitlePlaceholder,J=(w.title||{}).subtitle||{text:\"\",font:{}},X=J.text.trim(),re=!1,ae=1,j=J.font,ee=j.family,ie=j.size,ce=j.color,xe=j.weight,Te=j.style,Ue=j.variant,Ie=j.textcase,Ye=j.lineposition,it=j.shadow,at;M===\"title.text\"?at=\"titleText\":M.indexOf(\"axis\")!==-1?at=\"axisTitleText\":M.indexOf(\"colorbar\"!==-1)&&(at=\"colorbarTitleText\");var tt=d._context.edits[at];function ut(ar,Rr){return ar===void 0||Rr===void 0?!1:ar.replace(s,\" % \")===Rr.replace(s,\" % \")}L===\"\"?f=0:ut(L,E)&&(tt||(L=\"\"),f=.2,z=!0),G&&(X===\"\"?ae=0:ut(X,$)&&(tt||(X=\"\"),ae=.2,re=!0)),l._meta?L=e.templateString(L,l._meta):_._meta&&(L=e.templateString(L,_._meta));var Me=L||X||tt,pe;y||(y=e.ensureSingle(_._infolayer,\"g\",\"g-\"+T),pe=_._hColorbarMoveTitle);var ue=y.selectAll(\"text.\"+T).data(Me?[0]:[]);ue.enter().append(\"text\"),ue.text(L).attr(\"class\",T),ue.exit().remove();var Oe=null,rt=T+\"-subtitle\",ot=X||tt;if(G&&ot&&(Oe=y.selectAll(\"text.\"+rt).data(ot?[0]:[]),Oe.enter().append(\"text\"),Oe.text(X).attr(\"class\",rt),Oe.exit().remove()),!Me)return y;function et(ar,Rr){e.syncOrAsync([Lt,Et],{title:ar,subtitle:Rr})}function Lt(ar){var Rr=ar.title,gr=ar.subtitle,br;!u&&pe&&(u={}),u?(br=\"\",u.rotate&&(br+=\"rotate(\"+[u.rotate,v.x,v.y]+\")\"),(u.offset||pe)&&(br+=t(0,(u.offset||0)-(pe||0)))):br=null,Rr.attr(\"transform\",br);function _t(Ee){if(Ee){var we=g.select(Ee.node().parentNode).select(\".\"+rt);if(!we.empty()){var Le=Ee.node().getBBox();if(Le.height){var nt=Le.y+Le.height+c*ie;we.attr(\"y\",nt)}}}}if(Rr.style(\"opacity\",f*o.opacity(I)).call(r.font,{color:o.rgb(I),size:g.round(O,2),family:B,weight:N,style:U,variant:W,textcase:Q,shadow:se,lineposition:le}).attr(v).call(n.convertToTspans,d,_t),gr){var Be=y.select(\".\"+T+\"-math-group\"),Ke=Rr.node().getBBox(),je=Be.node()?Be.node().getBBox():void 0,Se=je?je.y+je.height+c*ie:Ke.y+Ke.height+h*ie,He=e.extendFlat({},v,{y:Se});gr.attr(\"transform\",br),gr.style(\"opacity\",ae*o.opacity(ce)).call(r.font,{color:o.rgb(ce),size:g.round(ie,2),family:ee,weight:xe,style:Te,variant:Ue,textcase:Ie,shadow:it,lineposition:Ye}).attr(He).call(n.convertToTspans,d)}return A.previousPromises(d)}function Et(ar){var Rr=ar.title,gr=g.select(Rr.node().parentNode);if(b&&b.selection&&b.side&&L){gr.attr(\"transform\",null);var br=a[b.side],_t=b.side===\"left\"||b.side===\"top\"?-1:1,Be=x(b.pad)?b.pad:2,Ke=r.bBox(gr.node()),je={t:0,b:0,l:0,r:0},Se=d._fullLayout._reservedMargin;for(var He in Se)for(var Ee in Se[He]){var we=Se[He][Ee];je[Ee]=Math.max(je[Ee],we)}var Le={left:je.l,top:je.t,right:_.width-je.r,bottom:_.height-je.b},nt=b.maxShift||_t*(Le[b.side]-Ke[b.side]),pt=0;if(nt<0)pt=nt;else{var bt=b.offsetLeft||0,Rt=b.offsetTop||0;Ke.left-=bt,Ke.right-=bt,Ke.top-=Rt,Ke.bottom-=Rt,b.selection.each(function(){var Xt=r.bBox(this);e.bBoxIntersect(Ke,Xt,Be)&&(pt=Math.max(pt,_t*(Xt[b.side]-Ke[br])+Be))}),pt=Math.min(nt,pt),w._titleScoot=Math.abs(pt)}if(pt>0||nt<0){var Nt={left:[-pt,0],right:[pt,0],top:[0,-pt],bottom:[0,pt]}[b.side];gr.attr(\"transform\",t(Nt[0],Nt[1]))}}}ue.call(et,Oe);function Bt(ar,Rr){ar.text(Rr).on(\"mouseover.opacity\",function(){g.select(this).transition().duration(i.SHOW_PLACEHOLDER).style(\"opacity\",1)}).on(\"mouseout.opacity\",function(){g.select(this).transition().duration(i.HIDE_PLACEHOLDER).style(\"opacity\",0)})}if(tt&&(L?ue.on(\".opacity\",null):(Bt(ue,E),z=!0),ue.call(n.makeEditable,{gd:d}).on(\"edit\",function(ar){m!==void 0?S.call(\"_guiRestyle\",d,M,ar,m):S.call(\"_guiRelayout\",d,M,ar)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(et)}).on(\"input\",function(ar){this.text(ar||\" \").call(n.positionText,v.x,v.y)}),G)){if(G&&!L){var qt=ue.node().getBBox(),fr=qt.y+qt.height+h*ie;Oe.attr(\"y\",fr)}X?Oe.on(\".opacity\",null):(Bt(Oe,$),re=!0),Oe.call(n.makeEditable,{gd:d}).on(\"edit\",function(ar){S.call(\"_guiRelayout\",d,\"title.subtitle.text\",ar)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(et)}).on(\"input\",function(ar){this.text(ar||\" \").call(n.positionText,Oe.attr(\"x\"),Oe.attr(\"y\"))})}return ue.classed(\"js-placeholder\",z),Oe&&Oe.classed(\"js-placeholder\",re),y}H.exports={draw:p,SUBTITLE_PADDING_EM:h,SUBTITLE_PADDING_MATHJAX_EM:c}}}),Cv=ke({\"src/plots/cartesian/set_convert.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().utcFormat,A=un(),S=A.numberFormat,e=Yn(),t=A.cleanNumber,r=A.ms2DateTime,o=A.dateTime2ms,n=A.ensureNumber,i=A.isArrayOrTypedArray,a=Hi(),s=a.FP_SAFE,c=a.BADNUM,h=a.LOG_CLIP,p=a.ONEWEEK,d=a.ONEDAY,T=a.ONEHOUR,l=a.ONEMIN,_=a.ONESEC,w=qc(),M=oh(),E=M.HOUR_PATTERN,m=M.WEEKDAY_PATTERN;function b(u){return Math.pow(10,u)}function v(u){return u!=null}H.exports=function(y,f){f=f||{};var P=y._id||\"x\",L=P.charAt(0);function z(X,re){if(X>0)return Math.log(X)/Math.LN10;if(X<=0&&re&&y.range&&y.range.length===2){var ae=y.range[0],j=y.range[1];return .5*(ae+j-2*h*Math.abs(ae-j))}else return c}function F(X,re,ae,j){if((j||{}).msUTC&&e(X))return+X;var ee=o(X,ae||y.calendar);if(ee===c)if(e(X)){X=+X;var ie=Math.floor(A.mod(X+.05,1)*10),ce=Math.round(X-ie/10);ee=o(new Date(ce))+ie/10}else return c;return ee}function B(X,re,ae){return r(X,re,ae||y.calendar)}function O(X){return y._categories[Math.round(X)]}function I(X){if(v(X)){if(y._categoriesMap===void 0&&(y._categoriesMap={}),y._categoriesMap[X]!==void 0)return y._categoriesMap[X];y._categories.push(typeof X==\"number\"?String(X):X);var re=y._categories.length-1;return y._categoriesMap[X]=re,re}return c}function N(X,re){for(var ae=new Array(re),j=0;jy.range[1]&&(ae=!ae);for(var j=ae?-1:1,ee=j*X,ie=0,ce=0;ceTe)ie=ce+1;else{ie=ee<(xe+Te)/2?ce:ce+1;break}}var Ue=y._B[ie]||0;return isFinite(Ue)?le(X,y._m2,Ue):0},G=function(X){var re=y._rangebreaks.length;if(!re)return se(X,y._m,y._b);for(var ae=0,j=0;jy._rangebreaks[j].pmax&&(ae=j+1);return se(X,y._m2,y._B[ae])}}y.c2l=y.type===\"log\"?z:n,y.l2c=y.type===\"log\"?b:n,y.l2p=fe,y.p2l=G,y.c2p=y.type===\"log\"?function(X,re){return fe(z(X,re))}:fe,y.p2c=y.type===\"log\"?function(X){return b(G(X))}:G,[\"linear\",\"-\"].indexOf(y.type)!==-1?(y.d2r=y.r2d=y.d2c=y.r2c=y.d2l=y.r2l=t,y.c2d=y.c2r=y.l2d=y.l2r=n,y.d2p=y.r2p=function(X){return y.l2p(t(X))},y.p2d=y.p2r=G,y.cleanPos=n):y.type===\"log\"?(y.d2r=y.d2l=function(X,re){return z(t(X),re)},y.r2d=y.r2c=function(X){return b(t(X))},y.d2c=y.r2l=t,y.c2d=y.l2r=n,y.c2r=z,y.l2d=b,y.d2p=function(X,re){return y.l2p(y.d2r(X,re))},y.p2d=function(X){return b(G(X))},y.r2p=function(X){return y.l2p(t(X))},y.p2r=G,y.cleanPos=n):y.type===\"date\"?(y.d2r=y.r2d=A.identity,y.d2c=y.r2c=y.d2l=y.r2l=F,y.c2d=y.c2r=y.l2d=y.l2r=B,y.d2p=y.r2p=function(X,re,ae){return y.l2p(F(X,0,ae))},y.p2d=y.p2r=function(X,re,ae){return B(G(X),re,ae)},y.cleanPos=function(X){return A.cleanDate(X,c,y.calendar)}):y.type===\"category\"?(y.d2c=y.d2l=I,y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=Q(X);return re!==void 0?re:y.fraction2r(.5)},y.l2r=y.c2r=n,y.r2l=Q,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return typeof X==\"string\"&&X!==\"\"?X:n(X)}):y.type===\"multicategory\"&&(y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=W(X);return re!==void 0?re:y.fraction2r(.5)},y.r2c_just_indices=U,y.l2r=y.c2r=n,y.r2l=W,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return Array.isArray(X)||typeof X==\"string\"&&X!==\"\"?X:n(X)},y.setupMultiCategory=function(X){var re=y._traceIndices,ae,j,ee=y._matchGroup;if(ee&&y._categories.length===0){for(var ie in ee)if(ie!==P){var ce=f[w.id2name(ie)];re=re.concat(ce._traceIndices)}}var xe=[[0,{}],[0,{}]],Te=[];for(ae=0;aece[1]&&(j[ie?0:1]=ae),j[0]===j[1]){var xe=y.l2r(re),Te=y.l2r(ae);if(re!==void 0){var Ue=xe+1;ae!==void 0&&(Ue=Math.min(Ue,Te)),j[ie?1:0]=Ue}if(ae!==void 0){var Ie=Te+1;re!==void 0&&(Ie=Math.max(Ie,xe)),j[ie?0:1]=Ie}}}},y.cleanRange=function(X,re){y._cleanRange(X,re),y.limitRange(X)},y._cleanRange=function(X,re){re||(re={}),X||(X=\"range\");var ae=A.nestedProperty(y,X).get(),j,ee;if(y.type===\"date\"?ee=A.dfltRange(y.calendar):L===\"y\"?ee=M.DFLTRANGEY:y._name===\"realaxis\"?ee=[0,1]:ee=re.dfltRange||M.DFLTRANGEX,ee=ee.slice(),(y.rangemode===\"tozero\"||y.rangemode===\"nonnegative\")&&(ee[0]=0),!ae||ae.length!==2){A.nestedProperty(y,X).set(ee);return}var ie=ae[0]===null,ce=ae[1]===null;for(y.type===\"date\"&&!y.autorange&&(ae[0]=A.cleanDate(ae[0],c,y.calendar),ae[1]=A.cleanDate(ae[1],c,y.calendar)),j=0;j<2;j++)if(y.type===\"date\"){if(!A.isDateTime(ae[j],y.calendar)){y[X]=ee;break}if(y.r2l(ae[0])===y.r2l(ae[1])){var xe=A.constrain(y.r2l(ae[0]),A.MIN_MS+1e3,A.MAX_MS-1e3);ae[0]=y.l2r(xe-1e3),ae[1]=y.l2r(xe+1e3);break}}else{if(!e(ae[j]))if(!(ie||ce)&&e(ae[1-j]))ae[j]=ae[1-j]*(j?10:.1);else{y[X]=ee;break}if(ae[j]<-s?ae[j]=-s:ae[j]>s&&(ae[j]=s),ae[0]===ae[1]){var Te=Math.max(1,Math.abs(ae[0]*1e-6));ae[0]-=Te,ae[1]+=Te}}},y.setScale=function(X){var re=f._size;if(y.overlaying){var ae=w.getFromId({_fullLayout:f},y.overlaying);y.domain=ae.domain}var j=X&&y._r?\"_r\":\"range\",ee=y.calendar;y.cleanRange(j);var ie=y.r2l(y[j][0],ee),ce=y.r2l(y[j][1],ee),xe=L===\"y\";if(xe?(y._offset=re.t+(1-y.domain[1])*re.h,y._length=re.h*(y.domain[1]-y.domain[0]),y._m=y._length/(ie-ce),y._b=-y._m*ce):(y._offset=re.l+y.domain[0]*re.w,y._length=re.w*(y.domain[1]-y.domain[0]),y._m=y._length/(ce-ie),y._b=-y._m*ie),y._rangebreaks=[],y._lBreaks=0,y._m2=0,y._B=[],y.rangebreaks){var Te,Ue;if(y._rangebreaks=y.locateBreaks(Math.min(ie,ce),Math.max(ie,ce)),y._rangebreaks.length){for(Te=0;Tece&&(Ie=!Ie),Ie&&y._rangebreaks.reverse();var Ye=Ie?-1:1;for(y._m2=Ye*y._length/(Math.abs(ce-ie)-y._lBreaks),y._B.push(-y._m2*(xe?ce:ie)),Te=0;Teee&&(ee+=7,ieee&&(ee+=24,ie=j&&ie=j&&X=et.min&&(ueet.max&&(et.max=Oe),rt=!1)}rt&&ce.push({min:ue,max:Oe})}};for(ae=0;ae_*2}function a(h){return Math.max(1,(h-1)/1e3)}function s(h,p){for(var d=h.length,T=a(d),l=0,_=0,w={},M=0;Ml*2}function c(h){return S(h[0])&&S(h[1])}}}),lv=ke({\"src/plots/cartesian/autorange.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=un(),S=Hi().FP_SAFE,e=lo(),t=$o(),r=qc(),o=r.getFromId,n=r.isLinked;H.exports={applyAutorangeOptions:y,getAutoRange:i,makePadFn:s,doAutoRange:d,findExtremes:T,concatExtremes:p};function i(f,P){var L,z,F=[],B=f._fullLayout,O=s(B,P,0),I=s(B,P,1),N=p(f,P),U=N.min,W=N.max;if(U.length===0||W.length===0)return A.simpleMap(P.range,P.r2l);var Q=U[0].val,le=W[0].val;for(L=1;L0&&(Te=re-O(ee)-I(ie),Te>ae?Ue/Te>j&&(ce=ee,xe=ie,j=Ue/Te):Ue/re>j&&(ce={val:ee.val,nopad:1},xe={val:ie.val,nopad:1},j=Ue/re));function Ie(ut,Me){return Math.max(ut,I(Me))}if(Q===le){var Ye=Q-1,it=Q+1;if(J)if(Q===0)F=[0,1];else{var at=(Q>0?W:U).reduce(Ie,0),tt=Q/(1-Math.min(.5,at/re));F=Q>0?[0,tt]:[tt,0]}else X?F=[Math.max(0,Ye),Math.max(1,it)]:F=[Ye,it]}else J?(ce.val>=0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:0,nopad:1})):X&&(ce.val-j*O(ce)<0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:1,nopad:1})),j=(xe.val-ce.val-a(P,ee.val,ie.val))/(re-O(ce)-I(xe)),F=[ce.val-j*O(ce),xe.val+j*I(xe)];return F=y(F,P),P.limitRange&&P.limitRange(),fe&&F.reverse(),A.simpleMap(F,P.l2r||Number)}function a(f,P,L){var z=0;if(f.rangebreaks)for(var F=f.locateBreaks(P,L),B=0;B0?L.ppadplus:L.ppadminus)||L.ppad||0),ee=ae((f._m>0?L.ppadminus:L.ppadplus)||L.ppad||0),ie=ae(L.vpadplus||L.vpad),ce=ae(L.vpadminus||L.vpad);if(!U){if(X=1/0,re=-1/0,N)for(Q=0;Q0&&(X=le),le>re&&le-S&&(X=le),le>re&&le=Ue;Q--)Te(Q);return{min:z,max:F,opts:L}}function l(f,P,L,z){w(f,P,L,z,E)}function _(f,P,L,z){w(f,P,L,z,m)}function w(f,P,L,z,F){for(var B=z.tozero,O=z.extrapad,I=!0,N=0;N=L&&(U.extrapad||!O)){I=!1;break}else F(P,U.val)&&U.pad<=L&&(O||!U.extrapad)&&(f.splice(N,1),N--)}if(I){var W=B&&P===0;f.push({val:P,pad:W?0:L,extrapad:W?!1:O})}}function M(f){return x(f)&&Math.abs(f)=P}function b(f,P){var L=P.autorangeoptions;return L&&L.minallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.minallowed:L&&L.clipmin!==void 0&&u(P,L.clipmin,L.clipmax)?Math.max(f,P.d2l(L.clipmin)):f}function v(f,P){var L=P.autorangeoptions;return L&&L.maxallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.maxallowed:L&&L.clipmax!==void 0&&u(P,L.clipmin,L.clipmax)?Math.min(f,P.d2l(L.clipmax)):f}function u(f,P,L){return P!==void 0&&L!==void 0?(P=f.d2l(P),L=f.d2l(L),P=N&&(B=N,L=N),O<=N&&(O=N,z=N)}}return L=b(L,P),z=v(z,P),[L,z]}}}),Ho=ke({\"src/plots/cartesian/axes.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=Wl(),o=Im(),n=eo(),i=$o(),a=wh(),s=Zw(),c=Hi(),h=c.ONEMAXYEAR,p=c.ONEAVGYEAR,d=c.ONEMINYEAR,T=c.ONEMAXQUARTER,l=c.ONEAVGQUARTER,_=c.ONEMINQUARTER,w=c.ONEMAXMONTH,M=c.ONEAVGMONTH,E=c.ONEMINMONTH,m=c.ONEWEEK,b=c.ONEDAY,v=b/2,u=c.ONEHOUR,y=c.ONEMIN,f=c.ONESEC,P=c.ONEMILLI,L=c.ONEMICROSEC,z=c.MINUS_SIGN,F=c.BADNUM,B={K:\"zeroline\"},O={K:\"gridline\",L:\"path\"},I={K:\"minor-gridline\",L:\"path\"},N={K:\"tick\",L:\"path\"},U={K:\"tick\",L:\"text\"},W={width:[\"x\",\"r\",\"l\",\"xl\",\"xr\"],height:[\"y\",\"t\",\"b\",\"yt\",\"yb\"],right:[\"r\",\"xr\"],left:[\"l\",\"xl\"],top:[\"t\",\"yt\"],bottom:[\"b\",\"yb\"]},Q=Yf(),le=Q.MID_SHIFT,se=Q.CAP_SHIFT,fe=Q.LINE_SPACING,G=Q.OPPOSITE_SIDE,$=3,J=H.exports={};J.setConvert=Cv();var X=Gg(),re=qc(),ae=re.idSort,j=re.isLinked;J.id2name=re.id2name,J.name2id=re.name2id,J.cleanId=re.cleanId,J.list=re.list,J.listIds=re.listIds,J.getFromId=re.getFromId,J.getFromTrace=re.getFromTrace;var ee=lv();J.getAutoRange=ee.getAutoRange,J.findExtremes=ee.findExtremes;var ie=1e-4;function ce(gt){var yt=(gt[1]-gt[0])*ie;return[gt[0]-yt,gt[1]+yt]}J.coerceRef=function(gt,yt,Pr,Ir,Tr,Mr){var Lr=Ir.charAt(Ir.length-1),Ur=Pr._fullLayout._subplots[Lr+\"axis\"],Dr=Ir+\"ref\",nn={};return Tr||(Tr=Ur[0]||(typeof Mr==\"string\"?Mr:Mr[0])),Mr||(Mr=Tr),Ur=Ur.concat(Ur.map(function(vn){return vn+\" domain\"})),nn[Dr]={valType:\"enumerated\",values:Ur.concat(Mr?typeof Mr==\"string\"?[Mr]:Mr:[]),dflt:Tr},e.coerce(gt,yt,nn,Dr)},J.getRefType=function(gt){return gt===void 0?gt:gt===\"paper\"?\"paper\":gt===\"pixel\"?\"pixel\":/( domain)$/.test(gt)?\"domain\":\"range\"},J.coercePosition=function(gt,yt,Pr,Ir,Tr,Mr){var Lr,Ur,Dr=J.getRefType(Ir);if(Dr!==\"range\")Lr=e.ensureNumber,Ur=Pr(Tr,Mr);else{var nn=J.getFromId(yt,Ir);Mr=nn.fraction2r(Mr),Ur=Pr(Tr,Mr),Lr=nn.cleanPos}gt[Tr]=Lr(Ur)},J.cleanPosition=function(gt,yt,Pr){var Ir=Pr===\"paper\"||Pr===\"pixel\"?e.ensureNumber:J.getFromId(yt,Pr).cleanPos;return Ir(gt)},J.redrawComponents=function(gt,yt){yt=yt||J.listIds(gt);var Pr=gt._fullLayout;function Ir(Tr,Mr,Lr,Ur){for(var Dr=S.getComponentMethod(Tr,Mr),nn={},vn=0;vn2e-6||((Pr-gt._forceTick0)/gt._minDtick%1+1.000001)%1>2e-6)&&(gt._minDtick=0))},J.saveRangeInitial=function(gt,yt){for(var Pr=J.list(gt,\"\",!0),Ir=!1,Tr=0;Trgn*.3||nn(Ir)||nn(Tr))){var kt=Pr.dtick/2;gt+=gt+ktLr){var Ur=Number(Pr.substr(1));Mr.exactYears>Lr&&Ur%12===0?gt=J.tickIncrement(gt,\"M6\",\"reverse\")+b*1.5:Mr.exactMonths>Lr?gt=J.tickIncrement(gt,\"M1\",\"reverse\")+b*15.5:gt-=v;var Dr=J.tickIncrement(gt,Pr);if(Dr<=Ir)return Dr}return gt}J.prepMinorTicks=function(gt,yt,Pr){if(!yt.minor.dtick){delete gt.dtick;var Ir=yt.dtick&&x(yt._tmin),Tr;if(Ir){var Mr=J.tickIncrement(yt._tmin,yt.dtick,!0);Tr=[yt._tmin,Mr*.99+yt._tmin*.01]}else{var Lr=e.simpleMap(yt.range,yt.r2l);Tr=[Lr[0],.8*Lr[0]+.2*Lr[1]]}if(gt.range=e.simpleMap(Tr,yt.l2r),gt._isMinor=!0,J.prepTicks(gt,Pr),Ir){var Ur=x(yt.dtick),Dr=x(gt.dtick),nn=Ur?yt.dtick:+yt.dtick.substring(1),vn=Dr?gt.dtick:+gt.dtick.substring(1);Ur&&Dr?it(nn,vn)?nn===2*m&&vn===2*b&&(gt.dtick=m):nn===2*m&&vn===3*b?gt.dtick=m:nn===m&&!(yt._input.minor||{}).nticks?gt.dtick=b:at(nn/vn,2.5)?gt.dtick=nn/2:gt.dtick=nn:String(yt.dtick).charAt(0)===\"M\"?Dr?gt.dtick=\"M1\":it(nn,vn)?nn>=12&&vn===2&&(gt.dtick=\"M3\"):gt.dtick=yt.dtick:String(gt.dtick).charAt(0)===\"L\"?String(yt.dtick).charAt(0)===\"L\"?it(nn,vn)||(gt.dtick=at(nn/vn,2.5)?yt.dtick/2:yt.dtick):gt.dtick=\"D1\":gt.dtick===\"D2\"&&+yt.dtick>1&&(gt.dtick=1)}gt.range=yt.range}yt.minor._tick0Init===void 0&&(gt.tick0=yt.tick0)};function it(gt,yt){return Math.abs((gt/yt+.5)%1-.5)<.001}function at(gt,yt){return Math.abs(gt/yt-1)<.001}J.prepTicks=function(gt,yt){var Pr=e.simpleMap(gt.range,gt.r2l,void 0,void 0,yt);if(gt.tickmode===\"auto\"||!gt.dtick){var Ir=gt.nticks,Tr;Ir||(gt.type===\"category\"||gt.type===\"multicategory\"?(Tr=gt.tickfont?e.bigFont(gt.tickfont.size||12):15,Ir=gt._length/Tr):(Tr=gt._id.charAt(0)===\"y\"?40:80,Ir=e.constrain(gt._length/Tr,4,9)+1),gt._name===\"radialaxis\"&&(Ir*=2)),gt.minor&>.minor.tickmode!==\"array\"||gt.tickmode===\"array\"&&(Ir*=100),gt._roughDTick=Math.abs(Pr[1]-Pr[0])/Ir,J.autoTicks(gt,gt._roughDTick),gt._minDtick>0&>.dtick0?(Mr=Ir-1,Lr=Ir):(Mr=Ir,Lr=Ir);var Ur=gt[Mr].value,Dr=gt[Lr].value,nn=Math.abs(Dr-Ur),vn=Pr||nn,gn=0;vn>=d?nn>=d&&nn<=h?gn=nn:gn=p:Pr===l&&vn>=_?nn>=_&&nn<=T?gn=nn:gn=l:vn>=E?nn>=E&&nn<=w?gn=nn:gn=M:Pr===m&&vn>=m?gn=m:vn>=b?gn=b:Pr===v&&vn>=v?gn=v:Pr===u&&vn>=u&&(gn=u);var kt;gn>=nn&&(gn=nn,kt=!0);var or=Tr+gn;if(yt.rangebreaks&&gn>0){for(var yr=84,on=0,An=0;Anm&&(gn=nn)}(gn>0||Ir===0)&&(gt[Ir].periodX=Tr+gn/2)}}J.calcTicks=function(yt,Pr){for(var Ir=yt.type,Tr=yt.calendar,Mr=yt.ticklabelstep,Lr=yt.ticklabelmode===\"period\",Ur=yt.range[0]>yt.range[1],Dr=!yt.ticklabelindex||e.isArrayOrTypedArray(yt.ticklabelindex)?yt.ticklabelindex:[yt.ticklabelindex],nn=e.simpleMap(yt.range,yt.r2l,void 0,void 0,Pr),vn=nn[1]=(wn?0:1);Dn--){var Ui=!Dn;Dn?(yt._dtickInit=yt.dtick,yt._tick0Init=yt.tick0):(yt.minor._dtickInit=yt.minor.dtick,yt.minor._tick0Init=yt.minor.tick0);var pi=Dn?yt:e.extendFlat({},yt,yt.minor);if(Ui?J.prepMinorTicks(pi,yt,Pr):J.prepTicks(pi,Pr),pi.tickmode===\"array\"){Dn?(An=[],yr=Oe(yt,!Ui)):(Zn=[],on=Oe(yt,!Ui));continue}if(pi.tickmode===\"sync\"){An=[],yr=ue(yt);continue}var Ta=ce(nn),Sa=Ta[0],qa=Ta[1],to=x(pi.dtick),yo=Ir===\"log\"&&!(to||pi.dtick.charAt(0)===\"L\"),Xa=J.tickFirst(pi,Pr);if(Dn){if(yt._tmin=Xa,Xa=qa:pa<=qa;pa=J.tickIncrement(pa,gs,vn,Tr)){if(Dn&&cs++,pi.rangebreaks&&!vn){if(pa=kt)break}if(An.length>or||pa===Go)break;Go=pa;var Ya={value:pa};Dn?(yo&&pa!==(pa|0)&&(Ya.simpleLabel=!0),Mr>1&&cs%Mr&&(Ya.skipLabel=!0),An.push(Ya)):(Ya.minor=!0,Zn.push(Ya))}}if(!Zn||Zn.length<2)Dr=!1;else{var zo=(Zn[1].value-Zn[0].value)*(Ur?-1:1);ui(zo,yt.tickformat)||(Dr=!1)}if(!Dr)Bn=An;else{var Ka=An.concat(Zn);Lr&&An.length&&(Ka=Ka.slice(1)),Ka=Ka.sort(function(vo,Ps){return vo.value-Ps.value}).filter(function(vo,Ps,ls){return Ps===0||vo.value!==ls[Ps-1].value});var Yo=Ka.map(function(vo,Ps){return vo.minor===void 0&&!vo.skipLabel?Ps:null}).filter(function(vo){return vo!==null});Yo.forEach(function(vo){Dr.map(function(Ps){var ls=vo+Ps;ls>=0&&ls-1;Mi--){if(An[Mi].drop){An.splice(Mi,1);continue}An[Mi].value=en(An[Mi].value,yt);var Eo=yt.c2p(An[Mi].value);(Da?Xs>Eo-pl:Xskt||nokt&&(ls.periodX=kt),noTr&&ktp)yt/=p,Ir=Tr(10),gt.dtick=\"M\"+12*fr(yt,Ir,rt);else if(Mr>M)yt/=M,gt.dtick=\"M\"+fr(yt,1,ot);else if(Mr>b){if(gt.dtick=fr(yt,b,gt._hasDayOfWeekBreaks?[1,2,7,14]:Lt),!Pr){var Lr=J.getTickFormat(gt),Ur=gt.ticklabelmode===\"period\";Ur&&(gt._rawTick0=gt.tick0),/%[uVW]/.test(Lr)?gt.tick0=e.dateTick0(gt.calendar,2):gt.tick0=e.dateTick0(gt.calendar,1),Ur&&(gt._dowTick0=gt.tick0)}}else Mr>u?gt.dtick=fr(yt,u,ot):Mr>y?gt.dtick=fr(yt,y,et):Mr>f?gt.dtick=fr(yt,f,et):(Ir=Tr(10),gt.dtick=fr(yt,Ir,rt))}else if(gt.type===\"log\"){gt.tick0=0;var Dr=e.simpleMap(gt.range,gt.r2l);if(gt._isMinor&&(yt*=1.5),yt>.7)gt.dtick=Math.ceil(yt);else if(Math.abs(Dr[1]-Dr[0])<1){var nn=1.5*Math.abs((Dr[1]-Dr[0])/yt);yt=Math.abs(Math.pow(10,Dr[1])-Math.pow(10,Dr[0]))/nn,Ir=Tr(10),gt.dtick=\"L\"+fr(yt,Ir,rt)}else gt.dtick=yt>.3?\"D2\":\"D1\"}else gt.type===\"category\"||gt.type===\"multicategory\"?(gt.tick0=0,gt.dtick=Math.ceil(Math.max(yt,1))):xn(gt)?(gt.tick0=0,Ir=1,gt.dtick=fr(yt,Ir,qt)):(gt.tick0=0,Ir=Tr(10),gt.dtick=fr(yt,Ir,rt));if(gt.dtick===0&&(gt.dtick=1),!x(gt.dtick)&&typeof gt.dtick!=\"string\"){var vn=gt.dtick;throw gt.dtick=1,\"ax.dtick error: \"+String(vn)}};function ar(gt){var yt=gt.dtick;if(gt._tickexponent=0,!x(yt)&&typeof yt!=\"string\"&&(yt=1),(gt.type===\"category\"||gt.type===\"multicategory\")&&(gt._tickround=null),gt.type===\"date\"){var Pr=gt.r2l(gt.tick0),Ir=gt.l2r(Pr).replace(/(^-|i)/g,\"\"),Tr=Ir.length;if(String(yt).charAt(0)===\"M\")Tr>10||Ir.substr(5)!==\"01-01\"?gt._tickround=\"d\":gt._tickround=+yt.substr(1)%12===0?\"y\":\"m\";else if(yt>=b&&Tr<=10||yt>=b*15)gt._tickround=\"d\";else if(yt>=y&&Tr<=16||yt>=u)gt._tickround=\"M\";else if(yt>=f&&Tr<=19||yt>=y)gt._tickround=\"S\";else{var Mr=gt.l2r(Pr+yt).replace(/^-/,\"\").length;gt._tickround=Math.max(Tr,Mr)-20,gt._tickround<0&&(gt._tickround=4)}}else if(x(yt)||yt.charAt(0)===\"L\"){var Lr=gt.range.map(gt.r2d||Number);x(yt)||(yt=Number(yt.substr(1))),gt._tickround=2-Math.floor(Math.log(yt)/Math.LN10+.01);var Ur=Math.max(Math.abs(Lr[0]),Math.abs(Lr[1])),Dr=Math.floor(Math.log(Ur)/Math.LN10+.01),nn=gt.minexponent===void 0?3:gt.minexponent;Math.abs(Dr)>nn&&(Ee(gt.exponentformat)&&!we(Dr)?gt._tickexponent=3*Math.round((Dr-1)/3):gt._tickexponent=Dr)}else gt._tickround=null}J.tickIncrement=function(gt,yt,Pr,Ir){var Tr=Pr?-1:1;if(x(yt))return e.increment(gt,Tr*yt);var Mr=yt.charAt(0),Lr=Tr*Number(yt.substr(1));if(Mr===\"M\")return e.incrementMonth(gt,Lr,Ir);if(Mr===\"L\")return Math.log(Math.pow(10,gt)+Lr)/Math.LN10;if(Mr===\"D\"){var Ur=yt===\"D2\"?Bt:Et,Dr=gt+Tr*.01,nn=e.roundUp(e.mod(Dr,1),Ur,Pr);return Math.floor(Dr)+Math.log(g.round(Math.pow(10,nn),1))/Math.LN10}throw\"unrecognized dtick \"+String(yt)},J.tickFirst=function(gt,yt){var Pr=gt.r2l||Number,Ir=e.simpleMap(gt.range,Pr,void 0,void 0,yt),Tr=Ir[1]=0&&Zn<=gt._length?An:null};if(Mr&&e.isArrayOrTypedArray(gt.ticktext)){var gn=e.simpleMap(gt.range,gt.r2l),kt=(Math.abs(gn[1]-gn[0])-(gt._lBreaks||0))/1e4;for(nn=0;nn\"+Ur;else{var nn=Fn(gt),vn=gt._trueSide||gt.side;(!nn&&vn===\"top\"||nn&&vn===\"bottom\")&&(Lr+=\"
\")}yt.text=Lr}function br(gt,yt,Pr,Ir,Tr){var Mr=gt.dtick,Lr=yt.x,Ur=gt.tickformat,Dr=typeof Mr==\"string\"&&Mr.charAt(0);if(Tr===\"never\"&&(Tr=\"\"),Ir&&Dr!==\"L\"&&(Mr=\"L3\",Dr=\"L\"),Ur||Dr===\"L\")yt.text=Le(Math.pow(10,Lr),gt,Tr,Ir);else if(x(Mr)||Dr===\"D\"&&e.mod(Lr+.01,1)<.1){var nn=Math.round(Lr),vn=Math.abs(nn),gn=gt.exponentformat;gn===\"power\"||Ee(gn)&&we(nn)?(nn===0?yt.text=1:nn===1?yt.text=\"10\":yt.text=\"10\"+(nn>1?\"\":z)+vn+\"\",yt.fontSize*=1.25):(gn===\"e\"||gn===\"E\")&&vn>2?yt.text=\"1\"+gn+(nn>0?\"+\":z)+vn:(yt.text=Le(Math.pow(10,Lr),gt,\"\",\"fakehover\"),Mr===\"D1\"&>._id.charAt(0)===\"y\"&&(yt.dy-=yt.fontSize/6))}else if(Dr===\"D\")yt.text=String(Math.round(Math.pow(10,e.mod(Lr,1)))),yt.fontSize*=.75;else throw\"unrecognized dtick \"+String(Mr);if(gt.dtick===\"D1\"){var kt=String(yt.text).charAt(0);(kt===\"0\"||kt===\"1\")&&(gt._id.charAt(0)===\"y\"?yt.dx-=yt.fontSize/4:(yt.dy+=yt.fontSize/2,yt.dx+=(gt.range[1]>gt.range[0]?1:-1)*yt.fontSize*(Lr<0?.5:.25)))}}function _t(gt,yt){var Pr=gt._categories[Math.round(yt.x)];Pr===void 0&&(Pr=\"\"),yt.text=String(Pr)}function Be(gt,yt,Pr){var Ir=Math.round(yt.x),Tr=gt._categories[Ir]||[],Mr=Tr[1]===void 0?\"\":String(Tr[1]),Lr=Tr[0]===void 0?\"\":String(Tr[0]);Pr?yt.text=Lr+\" - \"+Mr:(yt.text=Mr,yt.text2=Lr)}function Ke(gt,yt,Pr,Ir,Tr){Tr===\"never\"?Tr=\"\":gt.showexponent===\"all\"&&Math.abs(yt.x/gt.dtick)<1e-6&&(Tr=\"hide\"),yt.text=Le(yt.x,gt,Tr,Ir)}function je(gt,yt,Pr,Ir,Tr){if(gt.thetaunit===\"radians\"&&!Pr){var Mr=yt.x/180;if(Mr===0)yt.text=\"0\";else{var Lr=Se(Mr);if(Lr[1]>=100)yt.text=Le(e.deg2rad(yt.x),gt,Tr,Ir);else{var Ur=yt.x<0;Lr[1]===1?Lr[0]===1?yt.text=\"\\u03C0\":yt.text=Lr[0]+\"\\u03C0\":yt.text=[\"\",Lr[0],\"\",\"\\u2044\",\"\",Lr[1],\"\",\"\\u03C0\"].join(\"\"),Ur&&(yt.text=z+yt.text)}}}else yt.text=Le(yt.x,gt,Tr,Ir)}function Se(gt){function yt(Ur,Dr){return Math.abs(Ur-Dr)<=1e-6}function Pr(Ur,Dr){return yt(Dr,0)?Ur:Pr(Dr,Ur%Dr)}function Ir(Ur){for(var Dr=1;!yt(Math.round(Ur*Dr)/Dr,Ur);)Dr*=10;return Dr}var Tr=Ir(gt),Mr=gt*Tr,Lr=Math.abs(Pr(Mr,Tr));return[Math.round(Mr/Lr),Math.round(Tr/Lr)]}var He=[\"f\",\"p\",\"n\",\"\\u03BC\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\"];function Ee(gt){return gt===\"SI\"||gt===\"B\"}function we(gt){return gt>14||gt<-15}function Le(gt,yt,Pr,Ir){var Tr=gt<0,Mr=yt._tickround,Lr=Pr||yt.exponentformat||\"B\",Ur=yt._tickexponent,Dr=J.getTickFormat(yt),nn=yt.separatethousands;if(Ir){var vn={exponentformat:Lr,minexponent:yt.minexponent,dtick:yt.showexponent===\"none\"?yt.dtick:x(gt)&&Math.abs(gt)||1,range:yt.showexponent===\"none\"?yt.range.map(yt.r2d):[0,gt||1]};ar(vn),Mr=(Number(vn._tickround)||0)+4,Ur=vn._tickexponent,yt.hoverformat&&(Dr=yt.hoverformat)}if(Dr)return yt._numFormat(Dr)(gt).replace(/-/g,z);var gn=Math.pow(10,-Mr)/2;if(Lr===\"none\"&&(Ur=0),gt=Math.abs(gt),gt\"+yr+\"\":Lr===\"B\"&&Ur===9?gt+=\"B\":Ee(Lr)&&(gt+=He[Ur/3+5])}return Tr?z+gt:gt}J.getTickFormat=function(gt){var yt;function Pr(Dr){return typeof Dr!=\"string\"?Dr:Number(Dr.replace(\"M\",\"\"))*M}function Ir(Dr,nn){var vn=[\"L\",\"D\"];if(typeof Dr==typeof nn){if(typeof Dr==\"number\")return Dr-nn;var gn=vn.indexOf(Dr.charAt(0)),kt=vn.indexOf(nn.charAt(0));return gn===kt?Number(Dr.replace(/(L|D)/g,\"\"))-Number(nn.replace(/(L|D)/g,\"\")):gn-kt}else return typeof Dr==\"number\"?1:-1}function Tr(Dr,nn,vn){var gn=vn||function(yr){return yr},kt=nn[0],or=nn[1];return(!kt&&typeof kt!=\"number\"||gn(kt)<=gn(Dr))&&(!or&&typeof or!=\"number\"||gn(or)>=gn(Dr))}function Mr(Dr,nn){var vn=nn[0]===null,gn=nn[1]===null,kt=Ir(Dr,nn[0])>=0,or=Ir(Dr,nn[1])<=0;return(vn||kt)&&(gn||or)}var Lr,Ur;if(gt.tickformatstops&>.tickformatstops.length>0)switch(gt.type){case\"date\":case\"linear\":{for(yt=0;yt=0&&Tr.unshift(Tr.splice(vn,1).shift())}});var Ur={false:{left:0,right:0}};return e.syncOrAsync(Tr.map(function(Dr){return function(){if(Dr){var nn=J.getFromId(gt,Dr);Pr||(Pr={}),Pr.axShifts=Ur,Pr.overlayingShiftedAx=Lr;var vn=J.drawOne(gt,nn,Pr);return nn._shiftPusher&&ri(nn,nn._fullDepth||0,Ur,!0),nn._r=nn.range.slice(),nn._rl=e.simpleMap(nn._r,nn.r2l),vn}}}))},J.drawOne=function(gt,yt,Pr){Pr=Pr||{};var Ir=Pr.axShifts||{},Tr=Pr.overlayingShiftedAx||[],Mr,Lr,Ur;yt.setScale();var Dr=gt._fullLayout,nn=yt._id,vn=nn.charAt(0),gn=J.counterLetter(nn),kt=Dr._plots[yt._mainSubplot];if(!kt)return;if(yt._shiftPusher=yt.autoshift||Tr.indexOf(yt._id)!==-1||Tr.indexOf(yt.overlaying)!==-1,yt._shiftPusher&yt.anchor===\"free\"){var or=yt.linewidth/2||0;yt.ticks===\"inside\"&&(or+=yt.ticklen),ri(yt,or,Ir,!0),ri(yt,yt.shift||0,Ir,!1)}(Pr.skipTitle!==!0||yt._shift===void 0)&&(yt._shift=Sn(yt,Ir));var yr=kt[vn+\"axislayer\"],on=yt._mainLinePosition,An=on+=yt._shift,Zn=yt._mainMirrorPosition,Bn=yt._vals=J.calcTicks(yt),wn=[yt.mirror,An,Zn].join(\"_\");for(Mr=0;Mr0?ls.bottom-vo:0,Ps))));var Tl=0,Vu=0;if(yt._shiftPusher&&(Tl=Math.max(Ps,ls.height>0?la===\"l\"?vo-ls.left:ls.right-vo:0),yt.title.text!==Dr._dfltTitle[vn]&&(Vu=(yt._titleStandoff||0)+(yt._titleScoot||0),la===\"l\"&&(Vu+=Rn(yt))),yt._fullDepth=Math.max(Tl,Vu)),yt.automargin){no={x:0,y:0,r:0,l:0,t:0,b:0};var Rl=[0,1],Qs=typeof yt._shift==\"number\"?yt._shift:0;if(vn===\"x\"){if(la===\"b\"?no[la]=yt._depth:(no[la]=yt._depth=Math.max(ls.width>0?vo-ls.top:0,Ps),Rl.reverse()),ls.width>0){var nu=ls.right-(yt._offset+yt._length);nu>0&&(no.xr=1,no.r=nu);var qu=yt._offset-ls.left;qu>0&&(no.xl=0,no.l=qu)}}else if(la===\"l\"?(yt._depth=Math.max(ls.height>0?vo-ls.left:0,Ps),no[la]=yt._depth-Qs):(yt._depth=Math.max(ls.height>0?ls.right-vo:0,Ps),no[la]=yt._depth+Qs,Rl.reverse()),ls.height>0){var kc=ls.bottom-(yt._offset+yt._length);kc>0&&(no.yb=0,no.b=kc);var Ju=yt._offset-ls.top;Ju>0&&(no.yt=1,no.t=Ju)}no[gn]=yt.anchor===\"free\"?yt.position:yt._anchorAxis.domain[Rl[0]],yt.title.text!==Dr._dfltTitle[vn]&&(no[la]+=Rn(yt)+(yt.title.standoff||0)),yt.mirror&&yt.anchor!==\"free\"&&($l={x:0,y:0,r:0,l:0,t:0,b:0},$l[Uo]=yt.linewidth,yt.mirror&&yt.mirror!==!0&&($l[Uo]+=Ps),yt.mirror===!0||yt.mirror===\"ticks\"?$l[gn]=yt._anchorAxis.domain[Rl[1]]:(yt.mirror===\"all\"||yt.mirror===\"allticks\")&&($l[gn]=[yt._counterDomainMin,yt._counterDomainMax][Rl[1]]))}wl&&(Ku=S.getComponentMethod(\"rangeslider\",\"autoMarginOpts\")(gt,yt)),typeof yt.automargin==\"string\"&&(nt(no,yt.automargin),nt($l,yt.automargin)),A.autoMargin(gt,gi(yt),no),A.autoMargin(gt,Zt(yt),$l),A.autoMargin(gt,Ft(yt),Ku)}),e.syncOrAsync(As)}};function nt(gt,yt){if(gt){var Pr=Object.keys(W).reduce(function(Ir,Tr){return yt.indexOf(Tr)!==-1&&W[Tr].forEach(function(Mr){Ir[Mr]=1}),Ir},{});Object.keys(gt).forEach(function(Ir){Pr[Ir]||(Ir.length===1?gt[Ir]=0:delete gt[Ir])})}}function pt(gt,yt){var Pr=[],Ir,Tr=function(Mr,Lr){var Ur=Mr.xbnd[Lr];Ur!==null&&Pr.push(e.extendFlat({},Mr,{x:Ur}))};if(yt.length){for(Ir=0;Irgt.range[1],Ur=gt.ticklabelposition&>.ticklabelposition.indexOf(\"inside\")!==-1,Dr=!Ur;if(Pr){var nn=Lr?-1:1;Pr=Pr*nn}if(Ir){var vn=gt.side,gn=Ur&&(vn===\"top\"||vn===\"left\")||Dr&&(vn===\"bottom\"||vn===\"right\")?1:-1;Ir=Ir*gn}return gt._id.charAt(0)===\"x\"?function(kt){return t(Tr+gt._offset+gt.l2p(Xt(kt))+Pr,Mr+Ir)}:function(kt){return t(Mr+Ir,Tr+gt._offset+gt.l2p(Xt(kt))+Pr)}};function Xt(gt){return gt.periodX!==void 0?gt.periodX:gt.x}function $t(gt){var yt=gt.ticklabelposition||\"\",Pr=function(or){return yt.indexOf(or)!==-1},Ir=Pr(\"top\"),Tr=Pr(\"left\"),Mr=Pr(\"right\"),Lr=Pr(\"bottom\"),Ur=Pr(\"inside\"),Dr=Lr||Tr||Ir||Mr;if(!Dr&&!Ur)return[0,0];var nn=gt.side,vn=Dr?(gt.tickwidth||0)/2:0,gn=$,kt=gt.tickfont?gt.tickfont.size:12;return(Lr||Ir)&&(vn+=kt*se,gn+=(gt.linewidth||0)/2),(Tr||Mr)&&(vn+=(gt.linewidth||0)/2,gn+=$),Ur&&nn===\"top\"&&(gn-=kt*(1-se)),(Tr||Ir)&&(vn=-vn),(nn===\"bottom\"||nn===\"right\")&&(gn=-gn),[Dr?vn:0,Ur?gn:0]}J.makeTickPath=function(gt,yt,Pr,Ir){Ir||(Ir={});var Tr=Ir.minor;if(Tr&&!gt.minor)return\"\";var Mr=Ir.len!==void 0?Ir.len:Tr?gt.minor.ticklen:gt.ticklen,Lr=gt._id.charAt(0),Ur=(gt.linewidth||1)/2;return Lr===\"x\"?\"M0,\"+(yt+Ur*Pr)+\"v\"+Mr*Pr:\"M\"+(yt+Ur*Pr)+\",0h\"+Mr*Pr},J.makeLabelFns=function(gt,yt,Pr){var Ir=gt.ticklabelposition||\"\",Tr=function(Xa){return Ir.indexOf(Xa)!==-1},Mr=Tr(\"top\"),Lr=Tr(\"left\"),Ur=Tr(\"right\"),Dr=Tr(\"bottom\"),nn=Dr||Lr||Mr||Ur,vn=Tr(\"inside\"),gn=Ir===\"inside\"&>.ticks===\"inside\"||!vn&>.ticks===\"outside\"&>.tickson!==\"boundaries\",kt=0,or=0,yr=gn?gt.ticklen:0;if(vn?yr*=-1:nn&&(yr=0),gn&&(kt+=yr,Pr)){var on=e.deg2rad(Pr);kt=yr*Math.cos(on)+1,or=yr*Math.sin(on)}gt.showticklabels&&(gn||gt.showline)&&(kt+=.2*gt.tickfont.size),kt+=(gt.linewidth||1)/2*(vn?-1:1);var An={labelStandoff:kt,labelShift:or},Zn,Bn,wn,Dn,Ui=0,pi=gt.side,Ta=gt._id.charAt(0),Sa=gt.tickangle,qa;if(Ta===\"x\")qa=!vn&&pi===\"bottom\"||vn&&pi===\"top\",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=or*Dn,Bn=yt+kt*Dn,wn=qa?1:-.2,Math.abs(Sa)===90&&(vn?wn+=le:Sa===-90&&pi===\"bottom\"?wn=se:Sa===90&&pi===\"top\"?wn=le:wn=.5,Ui=le/2*(Sa/90)),An.xFn=function(Xa){return Xa.dx+Zn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*wn},An.anchorFn=function(Xa,Go){if(nn){if(Lr)return\"end\";if(Ur)return\"start\"}return!x(Go)||Go===0||Go===180?\"middle\":Go*Dn<0!==vn?\"end\":\"start\"},An.heightFn=function(Xa,Go,pa){return Go<-60||Go>60?-.5*pa:gt.side===\"top\"!==vn?-pa:0};else if(Ta===\"y\"){if(qa=!vn&&pi===\"left\"||vn&&pi===\"right\",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=kt,Bn=or*Dn,wn=0,!vn&&Math.abs(Sa)===90&&(Sa===-90&&pi===\"left\"||Sa===90&&pi===\"right\"?wn=se:wn=.5),vn){var to=x(Sa)?+Sa:0;if(to!==0){var yo=e.deg2rad(to);Ui=Math.abs(Math.sin(yo))*se*Dn,wn=0}}An.xFn=function(Xa){return Xa.dx+yt-(Zn+Xa.fontSize*wn)*Dn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*le},An.anchorFn=function(Xa,Go){return x(Go)&&Math.abs(Go)===90?\"middle\":qa?\"end\":\"start\"},An.heightFn=function(Xa,Go,pa){return gt.side===\"right\"&&(Go*=-1),Go<-30?-pa:Go<30?-.5*pa:0}}return An};function ur(gt){return[gt.text,gt.x,gt.axInfo,gt.font,gt.fontSize,gt.fontColor].join(\"_\")}J.drawTicks=function(gt,yt,Pr){Pr=Pr||{};var Ir=yt._id+\"tick\",Tr=[].concat(yt.minor&&yt.minor.ticks?Pr.vals.filter(function(Lr){return Lr.minor&&!Lr.noTick}):[]).concat(yt.ticks?Pr.vals.filter(function(Lr){return!Lr.minor&&!Lr.noTick}):[]),Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().append(\"path\").classed(Ir,1).classed(\"ticks\",1).classed(\"crisp\",Pr.crisp!==!1).each(function(Lr){return n.stroke(g.select(this),Lr.minor?yt.minor.tickcolor:yt.tickcolor)}).style(\"stroke-width\",function(Lr){return i.crispRound(gt,Lr.minor?yt.minor.tickwidth:yt.tickwidth,1)+\"px\"}).attr(\"d\",Pr.path).style(\"display\",null),Wn(yt,[N]),Mr.attr(\"transform\",Pr.transFn)},J.drawGrid=function(gt,yt,Pr){if(Pr=Pr||{},yt.tickmode!==\"sync\"){var Ir=yt._id+\"grid\",Tr=yt.minor&&yt.minor.showgrid,Mr=Tr?Pr.vals.filter(function(Zn){return Zn.minor}):[],Lr=yt.showgrid?Pr.vals.filter(function(Zn){return!Zn.minor}):[],Ur=Pr.counterAxis;if(Ur&&J.shouldShowZeroLine(gt,yt,Ur))for(var Dr=yt.tickmode===\"array\",nn=0;nn=0;yr--){var on=yr?kt:or;if(on){var An=on.selectAll(\"path.\"+Ir).data(yr?Lr:Mr,ur);An.exit().remove(),An.enter().append(\"path\").classed(Ir,1).classed(\"crisp\",Pr.crisp!==!1),An.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path).each(function(Zn){return n.stroke(g.select(this),Zn.minor?yt.minor.gridcolor:yt.gridcolor||\"#ddd\")}).style(\"stroke-dasharray\",function(Zn){return i.dashStyle(Zn.minor?yt.minor.griddash:yt.griddash,Zn.minor?yt.minor.gridwidth:yt.gridwidth)}).style(\"stroke-width\",function(Zn){return(Zn.minor?gn:yt._gw)+\"px\"}).style(\"display\",null),typeof Pr.path==\"function\"&&An.attr(\"d\",Pr.path)}}Wn(yt,[O,I])}},J.drawZeroLine=function(gt,yt,Pr){Pr=Pr||Pr;var Ir=yt._id+\"zl\",Tr=J.shouldShowZeroLine(gt,yt,Pr.counterAxis),Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr?[{x:0,id:yt._id}]:[]);Mr.exit().remove(),Mr.enter().append(\"path\").classed(Ir,1).classed(\"zl\",1).classed(\"crisp\",Pr.crisp!==!1).each(function(){Pr.layer.selectAll(\"path\").sort(function(Lr,Ur){return ae(Lr.id,Ur.id)})}),Mr.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path).call(n.stroke,yt.zerolinecolor||n.defaultLine).style(\"stroke-width\",i.crispRound(gt,yt.zerolinewidth,yt._gw||1)+\"px\").style(\"display\",null),Wn(yt,[B])},J.drawLabels=function(gt,yt,Pr){Pr=Pr||{};var Ir=gt._fullLayout,Tr=yt._id,Mr=Pr.cls||Tr+\"tick\",Lr=Pr.vals.filter(function(Ya){return Ya.text}),Ur=Pr.labelFns,Dr=Pr.secondary?0:yt.tickangle,nn=(yt._prevTickAngles||{})[Mr],vn=Pr.layer.selectAll(\"g.\"+Mr).data(yt.showticklabels?Lr:[],ur),gn=[];vn.enter().append(\"g\").classed(Mr,1).append(\"text\").attr(\"text-anchor\",\"middle\").each(function(Ya){var zo=g.select(this),Ka=gt._promises.length;zo.call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya)).call(i.font,{family:Ya.font,size:Ya.fontSize,color:Ya.fontColor,weight:Ya.fontWeight,style:Ya.fontStyle,variant:Ya.fontVariant,textcase:Ya.fontTextcase,lineposition:Ya.fontLineposition,shadow:Ya.fontShadow}).text(Ya.text).call(r.convertToTspans,gt),gt._promises[Ka]?gn.push(gt._promises.pop().then(function(){kt(zo,Dr)})):kt(zo,Dr)}),Wn(yt,[U]),vn.exit().remove(),Pr.repositionOnUpdate&&vn.each(function(Ya){g.select(this).select(\"text\").call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya))});function kt(Ya,zo){Ya.each(function(Ka){var Yo=g.select(this),ns=Yo.select(\".text-math-group\"),hs=Ur.anchorFn(Ka,zo),ho=Pr.transFn.call(Yo.node(),Ka)+(x(zo)&&+zo!=0?\" rotate(\"+zo+\",\"+Ur.xFn(Ka)+\",\"+(Ur.yFn(Ka)-Ka.fontSize/2)+\")\":\"\"),Ro=r.lineCount(Yo),Ls=fe*Ka.fontSize,Vs=Ur.heightFn(Ka,x(zo)?+zo:0,(Ro-1)*Ls);if(Vs&&(ho+=t(0,Vs)),ns.empty()){var Ws=Yo.select(\"text\");Ws.attr({transform:ho,\"text-anchor\":hs}),Ws.style(\"opacity\",1),yt._adjustTickLabelsOverflow&&yt._adjustTickLabelsOverflow()}else{var fs=i.bBox(ns.node()).width,Mi=fs*{end:-.5,start:.5}[hs];ns.attr(\"transform\",ho+t(Mi,0))}})}yt._adjustTickLabelsOverflow=function(){var Ya=yt.ticklabeloverflow;if(!(!Ya||Ya===\"allow\")){var zo=Ya.indexOf(\"hide\")!==-1,Ka=yt._id.charAt(0)===\"x\",Yo=0,ns=Ka?gt._fullLayout.width:gt._fullLayout.height;if(Ya.indexOf(\"domain\")!==-1){var hs=e.simpleMap(yt.range,yt.r2l);Yo=yt.l2p(hs[0])+yt._offset,ns=yt.l2p(hs[1])+yt._offset}var ho=Math.min(Yo,ns),Ro=Math.max(Yo,ns),Ls=yt.side,Vs=1/0,Ws=-1/0;vn.each(function(pl){var Xs=g.select(this),Eo=Xs.select(\".text-math-group\");if(Eo.empty()){var Ys=i.bBox(Xs.node()),As=0;Ka?(Ys.right>Ro||Ys.leftRo||Ys.top+(yt.tickangle?0:pl.fontSize/4)yt[\"_visibleLabelMin_\"+hs._id]?pl.style(\"display\",\"none\"):Ro.K===\"tick\"&&!ho&&pl.style(\"display\",null)})})})})},kt(vn,nn+1?nn:Dr);function or(){return gn.length&&Promise.all(gn)}var yr=null;function on(){if(kt(vn,Dr),Lr.length&&yt.autotickangles&&(yt.type!==\"log\"||String(yt.dtick).charAt(0)!==\"D\")){yr=yt.autotickangles[0];var Ya=0,zo=[],Ka,Yo=1;vn.each(function(ls){Ya=Math.max(Ya,ls.fontSize);var no=yt.l2p(ls.x),$l=Qn(this),Ku=i.bBox($l.node());Yo=Math.max(Yo,r.lineCount($l)),zo.push({top:0,bottom:10,height:10,left:no-Ku.width/2,right:no+Ku.width/2+2,width:Ku.width+2})});var ns=(yt.tickson===\"boundaries\"||yt.showdividers)&&!Pr.secondary,hs=Lr.length,ho=Math.abs((Lr[hs-1].x-Lr[0].x)*yt._m)/(hs-1),Ro=ns?ho/2:ho,Ls=ns?yt.ticklen:Ya*1.25*Yo,Vs=Math.sqrt(Math.pow(Ro,2)+Math.pow(Ls,2)),Ws=Ro/Vs,fs=yt.autotickangles.map(function(ls){return ls*Math.PI/180}),Mi=fs.find(function(ls){return Math.abs(Math.cos(ls))<=Ws});Mi===void 0&&(Mi=fs.reduce(function(ls,no){return Math.abs(Math.cos(ls))cs*pa&&(yo=pa,Sa[Ta]=qa[Ta]=Xa[Ta])}var Ko=Math.abs(yo-to);Ko-Dn>0?(Ko-=Dn,Dn*=1+Dn/Ko):Dn=0,yt._id.charAt(0)!==\"y\"&&(Dn=-Dn),Sa[pi]=Bn.p2r(Bn.r2p(qa[pi])+Ui*Dn),Bn.autorange===\"min\"||Bn.autorange===\"max reversed\"?(Sa[0]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0):(Bn.autorange===\"max\"||Bn.autorange===\"min reversed\")&&(Sa[1]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0),Ir._insideTickLabelsUpdaterange[Bn._name+\".range\"]=Sa}var gs=e.syncOrAsync(An);return gs&&gs.then&>._promises.push(gs),gs};function pn(gt,yt,Pr){var Ir=yt._id+\"divider\",Tr=Pr.vals,Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().insert(\"path\",\":first-child\").classed(Ir,1).classed(\"crisp\",1).call(n.stroke,yt.dividercolor).style(\"stroke-width\",i.crispRound(gt,yt.dividerwidth,1)+\"px\"),Mr.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path)}J.getPxPosition=function(gt,yt){var Pr=gt._fullLayout._size,Ir=yt._id.charAt(0),Tr=yt.side,Mr;if(yt.anchor!==\"free\"?Mr=yt._anchorAxis:Ir===\"x\"?Mr={_offset:Pr.t+(1-(yt.position||0))*Pr.h,_length:0}:Ir===\"y\"&&(Mr={_offset:Pr.l+(yt.position||0)*Pr.w+yt._shift,_length:0}),Tr===\"top\"||Tr===\"left\")return Mr._offset;if(Tr===\"bottom\"||Tr===\"right\")return Mr._offset+Mr._length};function Rn(gt){var yt=gt.title.font.size,Pr=(gt.title.text.match(r.BR_TAG_ALL)||[]).length;return gt.title.hasOwnProperty(\"standoff\")?yt*(se+Pr*fe):Pr?yt*(Pr+1)*fe:yt}function Nn(gt,yt){var Pr=gt._fullLayout,Ir=yt._id,Tr=Ir.charAt(0),Mr=yt.title.font.size,Lr,Ur=(yt.title.text.match(r.BR_TAG_ALL)||[]).length;if(yt.title.hasOwnProperty(\"standoff\"))yt.side===\"bottom\"||yt.side===\"right\"?Lr=yt._depth+yt.title.standoff+Mr*se:(yt.side===\"top\"||yt.side===\"left\")&&(Lr=yt._depth+yt.title.standoff+Mr*(le+Ur*fe));else{var Dr=Fn(yt);if(yt.type===\"multicategory\")Lr=yt._depth;else{var nn=1.5*Mr;Dr&&(nn=.5*Mr,yt.ticks===\"outside\"&&(nn+=yt.ticklen)),Lr=10+nn+(yt.linewidth?yt.linewidth-1:0)}Dr||(Tr===\"x\"?Lr+=yt.side===\"top\"?Mr*(yt.showticklabels?1:0):Mr*(yt.showticklabels?1.5:.5):Lr+=yt.side===\"right\"?Mr*(yt.showticklabels?1:.5):Mr*(yt.showticklabels?.5:0))}var vn=J.getPxPosition(gt,yt),gn,kt,or;Tr===\"x\"?(kt=yt._offset+yt._length/2,or=yt.side===\"top\"?vn-Lr:vn+Lr):(or=yt._offset+yt._length/2,kt=yt.side===\"right\"?vn+Lr:vn-Lr,gn={rotate:\"-90\",offset:0});var yr;if(yt.type!==\"multicategory\"){var on=yt._selections[yt._id+\"tick\"];if(yr={selection:on,side:yt.side},on&&on.node()&&on.node().parentNode){var An=i.getTranslate(on.node().parentNode);yr.offsetLeft=An.x,yr.offsetTop=An.y}yt.title.hasOwnProperty(\"standoff\")&&(yr.pad=0)}return yt._titleStandoff=Lr,o.draw(gt,Ir+\"title\",{propContainer:yt,propName:yt._name+\".title.text\",placeholder:Pr._dfltTitle[Tr],avoid:yr,transform:gn,attributes:{x:kt,y:or,\"text-anchor\":\"middle\"}})}J.shouldShowZeroLine=function(gt,yt,Pr){var Ir=e.simpleMap(yt.range,yt.r2l);return Ir[0]*Ir[1]<=0&&yt.zeroline&&(yt.type===\"linear\"||yt.type===\"-\")&&!(yt.rangebreaks&&yt.maskBreaks(0)===F)&&(On(yt,0)||!ni(gt,yt,Pr,Ir)||zn(gt,yt))},J.clipEnds=function(gt,yt){return yt.filter(function(Pr){return On(gt,Pr.x)})};function On(gt,yt){var Pr=gt.l2p(yt);return Pr>1&&Pr1)for(Tr=1;Tr=Tr.min&>=L:/%L/.test(yt)?gt>=P:/%[SX]/.test(yt)?gt>=f:/%M/.test(yt)?gt>=y:/%[HI]/.test(yt)?gt>=u:/%p/.test(yt)?gt>=v:/%[Aadejuwx]/.test(yt)?gt>=b:/%[UVW]/.test(yt)?gt>=m:/%[Bbm]/.test(yt)?gt>=E:/%[q]/.test(yt)?gt>=_:/%[Yy]/.test(yt)?gt>=d:!0}}}),Jw=ke({\"src/plots/cartesian/autorange_options_defaults.js\"(Z,H){\"use strict\";H.exports=function(x,A,S){var e,t;if(S){var r=A===\"reversed\"||A===\"min reversed\"||A===\"max reversed\";e=S[r?1:0],t=S[r?0:1]}var o=x(\"autorangeoptions.minallowed\",t===null?e:void 0),n=x(\"autorangeoptions.maxallowed\",e===null?t:void 0);o===void 0&&x(\"autorangeoptions.clipmin\"),n===void 0&&x(\"autorangeoptions.clipmax\"),x(\"autorangeoptions.include\")}}}),$w=ke({\"src/plots/cartesian/range_defaults.js\"(Z,H){\"use strict\";var g=Jw();H.exports=function(A,S,e,t){var r=S._template||{},o=S.type||r.type||\"-\";e(\"minallowed\"),e(\"maxallowed\");var n=e(\"range\");if(!n){var i;!t.noInsiderange&&o!==\"log\"&&(i=e(\"insiderange\"),i&&(i[0]===null||i[1]===null)&&(S.insiderange=!1,i=void 0),i&&(n=e(\"range\",i)))}var a=S.getAutorangeDflt(n,t),s=e(\"autorange\",a),c;n&&(n[0]===null&&n[1]===null||(n[0]===null||n[1]===null)&&(s===\"reversed\"||s===!0)||n[0]!==null&&(s===\"min\"||s===\"max reversed\")||n[1]!==null&&(s===\"max\"||s===\"min reversed\"))&&(n=void 0,delete S.range,S.autorange=!0,c=!0),c||(a=S.getAutorangeDflt(n,t),s=e(\"autorange\",a)),s&&(g(e,s,n),(o===\"linear\"||o===\"-\")&&e(\"rangemode\")),S.cleanRange()}}}),XE=ke({\"node_modules/mouse-event-offset/index.js\"(Z,H){var g={left:0,top:0};H.exports=x;function x(S,e,t){e=e||S.currentTarget||S.srcElement,Array.isArray(t)||(t=[0,0]);var r=S.clientX||0,o=S.clientY||0,n=A(e);return t[0]=r-n.left,t[1]=o-n.top,t}function A(S){return S===window||S===document||S===document.body?g:S.getBoundingClientRect()}}}),f_=ke({\"node_modules/has-passive-events/index.js\"(Z,H){\"use strict\";var g=qw();function x(){var A=!1;try{var S=Object.defineProperty({},\"passive\",{get:function(){A=!0}});window.addEventListener(\"test\",null,S),window.removeEventListener(\"test\",null,S)}catch{A=!1}return A}H.exports=g&&x()}}),ZE=ke({\"src/components/dragelement/align.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){var r=(x-S)/(e-S),o=r+A/(e-S),n=(r+o)/2;return t===\"left\"||t===\"bottom\"?r:t===\"center\"||t===\"middle\"?n:t===\"right\"||t===\"top\"?o:r<2/3-n?r:o>4/3-n?o:n}}}),YE=ke({\"src/components/dragelement/cursor.js\"(Z,H){\"use strict\";var g=un(),x=[[\"sw-resize\",\"s-resize\",\"se-resize\"],[\"w-resize\",\"move\",\"e-resize\"],[\"nw-resize\",\"n-resize\",\"ne-resize\"]];H.exports=function(S,e,t,r){return t===\"left\"?S=0:t===\"center\"?S=1:t===\"right\"?S=2:S=g.constrain(Math.floor(S*3),0,2),r===\"bottom\"?e=0:r===\"middle\"?e=1:r===\"top\"?e=2:e=g.constrain(Math.floor(e*3),0,2),x[e][S]}}}),KE=ke({\"src/components/dragelement/unhover.js\"(Z,H){\"use strict\";var g=jg(),x=l_(),A=Yy().getGraphDiv,S=Ed(),e=H.exports={};e.wrapped=function(t,r,o){t=A(t),t._fullLayout&&x.clear(t._fullLayout._uid+S.HOVERID),e.raw(t,r,o)},e.raw=function(r,o){var n=r._fullLayout,i=r._hoverdata;o||(o={}),!(o.target&&!r._dragged&&g.triggerHandler(r,\"plotly_beforehover\",o)===!1)&&(n._hoverlayer.selectAll(\"g\").remove(),n._hoverlayer.selectAll(\"line\").remove(),n._hoverlayer.selectAll(\"circle\").remove(),r._hoverdata=void 0,o.target&&i&&r.emit(\"plotly_unhover\",{event:o,points:i}))}}}),Xh=ke({\"src/components/dragelement/index.js\"(Z,H){\"use strict\";var g=XE(),x=Hw(),A=f_(),S=un().removeElement,e=oh(),t=H.exports={};t.align=ZE(),t.getCursor=YE();var r=KE();t.unhover=r.wrapped,t.unhoverRaw=r.raw,t.init=function(a){var s=a.gd,c=1,h=s._context.doubleClickDelay,p=a.element,d,T,l,_,w,M,E,m;s._mouseDownTime||(s._mouseDownTime=0),p.style.pointerEvents=\"all\",p.onmousedown=u,A?(p._ontouchstart&&p.removeEventListener(\"touchstart\",p._ontouchstart),p._ontouchstart=u,p.addEventListener(\"touchstart\",u,{passive:!1})):p.ontouchstart=u;function b(P,L,z){return Math.abs(P)\"u\"&&typeof P.clientY>\"u\"&&(P.clientX=d,P.clientY=T),l=new Date().getTime(),l-s._mouseDownTimeh&&(c=Math.max(c-1,1)),s._dragged)a.doneFn&&a.doneFn();else{var L;M.target===E?L=M:(L={target:E,srcElement:E,toElement:E},Object.keys(M).concat(Object.keys(M.__proto__)).forEach(z=>{var F=M[z];!L[z]&&typeof F!=\"function\"&&(L[z]=F)})),a.clickFn&&a.clickFn(c,L),m||E.dispatchEvent(new MouseEvent(\"click\",P))}s._dragging=!1,s._dragged=!1}};function o(){var i=document.createElement(\"div\");i.className=\"dragcover\";var a=i.style;return a.position=\"fixed\",a.left=0,a.right=0,a.top=0,a.bottom=0,a.zIndex=999999999,a.background=\"none\",document.body.appendChild(i),i}t.coverSlip=o;function n(i){return g(i.changedTouches?i.changedTouches[0]:i,document.body)}}}),uv=ke({\"src/lib/setcursor.js\"(Z,H){\"use strict\";H.exports=function(x,A){(x.attr(\"class\")||\"\").split(\" \").forEach(function(S){S.indexOf(\"cursor-\")===0&&x.classed(S,!1)}),A&&x.classed(\"cursor-\"+A,!0)}}}),JE=ke({\"src/lib/override_cursor.js\"(Z,H){\"use strict\";var g=uv(),x=\"data-savedcursor\",A=\"!!\";H.exports=function(e,t){var r=e.attr(x);if(t){if(!r){for(var o=(e.attr(\"class\")||\"\").split(\" \"),n=0;n(n===\"legend\"?1:0));if(P===!1&&(a[n]=void 0),!(P===!1&&!c.uirevision)&&(p(\"uirevision\",a.uirevision),P!==!1)){p(\"borderwidth\");var L=p(\"orientation\"),z=p(\"yref\"),F=p(\"xref\"),B=L===\"h\",O=z===\"paper\",I=F===\"paper\",N,U,W,Q=\"left\";B?(N=0,g.getComponentMethod(\"rangeslider\",\"isVisible\")(i.xaxis)?O?(U=1.1,W=\"bottom\"):(U=1,W=\"top\"):O?(U=-.1,W=\"top\"):(U=0,W=\"bottom\")):(U=1,W=\"auto\",I?N=1.02:(N=1,Q=\"right\")),x.coerce(c,h,{x:{valType:\"number\",editType:\"legend\",min:I?-2:0,max:I?3:1,dflt:N}},\"x\"),x.coerce(c,h,{y:{valType:\"number\",editType:\"legend\",min:O?-2:0,max:O?3:1,dflt:U}},\"y\"),p(\"traceorder\",b),r.isGrouped(a[n])&&p(\"tracegroupgap\"),p(\"entrywidth\"),p(\"entrywidthmode\"),p(\"indentation\"),p(\"itemsizing\"),p(\"itemwidth\"),p(\"itemclick\"),p(\"itemdoubleclick\"),p(\"groupclick\"),p(\"xanchor\",Q),p(\"yanchor\",W),p(\"valign\"),x.noneOrAll(c,h,[\"x\",\"y\"]);var le=p(\"title.text\");if(le){p(\"title.side\",B?\"left\":\"top\");var se=x.extendFlat({},d,{size:x.bigFont(d.size)});x.coerceFont(p,\"title.font\",se)}}}}H.exports=function(i,a,s){var c,h=s.slice(),p=a.shapes;if(p)for(c=0;cP&&(f=P)}u[d][0]._groupMinRank=f,u[d][0]._preGroupSort=d}var L=function(N,U){return N[0]._groupMinRank-U[0]._groupMinRank||N[0]._preGroupSort-U[0]._preGroupSort},z=function(N,U){return N.trace.legendrank-U.trace.legendrank||N._preSort-U._preSort};for(u.forEach(function(N,U){N[0]._preGroupSort=U}),u.sort(L),d=0;d0)re=$.width;else return 0;return v?X:Math.min(re,J)};M.each(function(G){var $=g.select(this),J=A.ensureSingle($,\"g\",\"layers\");J.style(\"opacity\",G[0].trace.opacity);var X=m.indentation,re=m.valign,ae=G[0].lineHeight,j=G[0].height;if(re===\"middle\"&&X===0||!ae||!j)J.attr(\"transform\",null);else{var ee={top:1,bottom:-1}[re],ie=ee*(.5*(ae-j+3))||0,ce=m.indentation;J.attr(\"transform\",S(ce,ie))}var xe=J.selectAll(\"g.legendfill\").data([G]);xe.enter().append(\"g\").classed(\"legendfill\",!0);var Te=J.selectAll(\"g.legendlines\").data([G]);Te.enter().append(\"g\").classed(\"legendlines\",!0);var Ue=J.selectAll(\"g.legendsymbols\").data([G]);Ue.enter().append(\"g\").classed(\"legendsymbols\",!0),Ue.selectAll(\"g.legendpoints\").data([G]).enter().append(\"g\").classed(\"legendpoints\",!0)}).each(fe).each(F).each(O).each(B).each(N).each(le).each(Q).each(L).each(z).each(U).each(W);function L(G){var $=l(G),J=$.showFill,X=$.showLine,re=$.showGradientLine,ae=$.showGradientFill,j=$.anyFill,ee=$.anyLine,ie=G[0],ce=ie.trace,xe,Te,Ue=r(ce),Ie=Ue.colorscale,Ye=Ue.reversescale,it=function(Oe){if(Oe.size())if(J)e.fillGroupStyle(Oe,E,!0);else{var rt=\"legendfill-\"+ce.uid;e.gradient(Oe,E,rt,T(Ye),Ie,\"fill\")}},at=function(Oe){if(Oe.size()){var rt=\"legendline-\"+ce.uid;e.lineGroupStyle(Oe),e.gradient(Oe,E,rt,T(Ye),Ie,\"stroke\")}},tt=o.hasMarkers(ce)||!j?\"M5,0\":ee?\"M5,-2\":\"M5,-3\",ut=g.select(this),Me=ut.select(\".legendfill\").selectAll(\"path\").data(J||ae?[G]:[]);if(Me.enter().append(\"path\").classed(\"js-fill\",!0),Me.exit().remove(),Me.attr(\"d\",tt+\"h\"+u+\"v6h-\"+u+\"z\").call(it),X||re){var pe=P(void 0,ce.line,p,c);Te=A.minExtend(ce,{line:{width:pe}}),xe=[A.minExtend(ie,{trace:Te})]}var ue=ut.select(\".legendlines\").selectAll(\"path\").data(X||re?[xe]:[]);ue.enter().append(\"path\").classed(\"js-line\",!0),ue.exit().remove(),ue.attr(\"d\",tt+(re?\"l\"+u+\",0.0001\":\"h\"+u)).call(X?e.lineGroupStyle:at)}function z(G){var $=l(G),J=$.anyFill,X=$.anyLine,re=$.showLine,ae=$.showMarker,j=G[0],ee=j.trace,ie=!ae&&!X&&!J&&o.hasText(ee),ce,xe;function Te(Me,pe,ue,Oe){var rt=A.nestedProperty(ee,Me).get(),ot=A.isArrayOrTypedArray(rt)&&pe?pe(rt):rt;if(v&&ot&&Oe!==void 0&&(ot=Oe),ue){if(otue[1])return ue[1]}return ot}function Ue(Me){return j._distinct&&j.index&&Me[j.index]?Me[j.index]:Me[0]}if(ae||ie||re){var Ie={},Ye={};if(ae){Ie.mc=Te(\"marker.color\",Ue),Ie.mx=Te(\"marker.symbol\",Ue),Ie.mo=Te(\"marker.opacity\",A.mean,[.2,1]),Ie.mlc=Te(\"marker.line.color\",Ue),Ie.mlw=Te(\"marker.line.width\",A.mean,[0,5],h),Ye.marker={sizeref:1,sizemin:1,sizemode:\"diameter\"};var it=Te(\"marker.size\",A.mean,[2,16],s);Ie.ms=it,Ye.marker.size=it}re&&(Ye.line={width:Te(\"line.width\",Ue,[0,10],c)}),ie&&(Ie.tx=\"Aa\",Ie.tp=Te(\"textposition\",Ue),Ie.ts=10,Ie.tc=Te(\"textfont.color\",Ue),Ie.tf=Te(\"textfont.family\",Ue),Ie.tw=Te(\"textfont.weight\",Ue),Ie.ty=Te(\"textfont.style\",Ue),Ie.tv=Te(\"textfont.variant\",Ue),Ie.tC=Te(\"textfont.textcase\",Ue),Ie.tE=Te(\"textfont.lineposition\",Ue),Ie.tS=Te(\"textfont.shadow\",Ue)),ce=[A.minExtend(j,Ie)],xe=A.minExtend(ee,Ye),xe.selectedpoints=null,xe.texttemplate=null}var at=g.select(this).select(\"g.legendpoints\"),tt=at.selectAll(\"path.scatterpts\").data(ae?ce:[]);tt.enter().insert(\"path\",\":first-child\").classed(\"scatterpts\",!0).attr(\"transform\",f),tt.exit().remove(),tt.call(e.pointStyle,xe,E),ae&&(ce[0].mrc=3);var ut=at.selectAll(\"g.pointtext\").data(ie?ce:[]);ut.enter().append(\"g\").classed(\"pointtext\",!0).append(\"text\").attr(\"transform\",f),ut.exit().remove(),ut.selectAll(\"text\").call(e.textPointStyle,xe,E)}function F(G){var $=G[0].trace,J=$.type===\"waterfall\";if(G[0]._distinct&&J){var X=G[0].trace[G[0].dir].marker;return G[0].mc=X.color,G[0].mlw=X.line.width,G[0].mlc=X.line.color,I(G,this,\"waterfall\")}var re=[];$.visible&&J&&(re=G[0].hasTotals?[[\"increasing\",\"M-6,-6V6H0Z\"],[\"totals\",\"M6,6H0L-6,-6H-0Z\"],[\"decreasing\",\"M6,6V-6H0Z\"]]:[[\"increasing\",\"M-6,-6V6H6Z\"],[\"decreasing\",\"M6,6V-6H-6Z\"]]);var ae=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendwaterfall\").data(re);ae.enter().append(\"path\").classed(\"legendwaterfall\",!0).attr(\"transform\",f).style(\"stroke-miterlimit\",1),ae.exit().remove(),ae.each(function(j){var ee=g.select(this),ie=$[j[0]].marker,ce=P(void 0,ie.line,d,h);ee.attr(\"d\",j[1]).style(\"stroke-width\",ce+\"px\").call(t.fill,ie.color),ce&&ee.call(t.stroke,ie.line.color)})}function B(G){I(G,this)}function O(G){I(G,this,\"funnel\")}function I(G,$,J){var X=G[0].trace,re=X.marker||{},ae=re.line||{},j=re.cornerradius?\"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z\":\"M6,6H-6V-6H6Z\",ee=J?X.visible&&X.type===J:x.traceIs(X,\"bar\"),ie=g.select($).select(\"g.legendpoints\").selectAll(\"path.legend\"+J).data(ee?[G]:[]);ie.enter().append(\"path\").classed(\"legend\"+J,!0).attr(\"d\",j).attr(\"transform\",f),ie.exit().remove(),ie.each(function(ce){var xe=g.select(this),Te=ce[0],Ue=P(Te.mlw,re.line,d,h);xe.style(\"stroke-width\",Ue+\"px\");var Ie=Te.mcc;if(!m._inHover&&\"mc\"in Te){var Ye=r(re),it=Ye.mid;it===void 0&&(it=(Ye.max+Ye.min)/2),Ie=e.tryColorscale(re,\"\")(it)}var at=Ie||Te.mc||re.color,tt=re.pattern,ut=tt&&e.getPatternAttr(tt.shape,0,\"\");if(ut){var Me=e.getPatternAttr(tt.bgcolor,0,null),pe=e.getPatternAttr(tt.fgcolor,0,null),ue=tt.fgopacity,Oe=_(tt.size,8,10),rt=_(tt.solidity,.5,1),ot=\"legend-\"+X.uid;xe.call(e.pattern,\"legend\",E,ot,ut,Oe,rt,Ie,tt.fillmode,Me,pe,ue)}else xe.call(t.fill,at);Ue&&t.stroke(xe,Te.mlc||ae.color)})}function N(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendbox\").data($.visible&&x.traceIs($,\"box-violin\")?[G]:[]);J.enter().append(\"path\").classed(\"legendbox\",!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",f),J.exit().remove(),J.each(function(){var X=g.select(this);if(($.boxpoints===\"all\"||$.points===\"all\")&&t.opacity($.fillcolor)===0&&t.opacity(($.line||{}).color)===0){var re=A.minExtend($,{marker:{size:v?s:A.constrain($.marker.size,2,16),sizeref:1,sizemin:1,sizemode:\"diameter\"}});J.call(e.pointStyle,re,E)}else{var ae=P(void 0,$.line,d,h);X.style(\"stroke-width\",ae+\"px\").call(t.fill,$.fillcolor),ae&&t.stroke(X,$.line.color)}})}function U(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendcandle\").data($.visible&&$.type===\"candlestick\"?[G,G]:[]);J.enter().append(\"path\").classed(\"legendcandle\",!0).attr(\"d\",function(X,re){return re?\"M-15,0H-8M-8,6V-6H8Z\":\"M15,0H8M8,-6V6H-8Z\"}).attr(\"transform\",f).style(\"stroke-miterlimit\",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?\"increasing\":\"decreasing\"],ee=P(void 0,j.line,d,h);ae.style(\"stroke-width\",ee+\"px\").call(t.fill,j.fillcolor),ee&&t.stroke(ae,j.line.color)})}function W(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendohlc\").data($.visible&&$.type===\"ohlc\"?[G,G]:[]);J.enter().append(\"path\").classed(\"legendohlc\",!0).attr(\"d\",function(X,re){return re?\"M-15,0H0M-8,-6V0\":\"M15,0H0M8,6V0\"}).attr(\"transform\",f).style(\"stroke-miterlimit\",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?\"increasing\":\"decreasing\"],ee=P(void 0,j.line,d,h);ae.style(\"fill\",\"none\").call(e.dashLine,j.line.dash,ee),ee&&t.stroke(ae,j.line.color)})}function Q(G){se(G,this,\"pie\")}function le(G){se(G,this,\"funnelarea\")}function se(G,$,J){var X=G[0],re=X.trace,ae=J?re.visible&&re.type===J:x.traceIs(re,J),j=g.select($).select(\"g.legendpoints\").selectAll(\"path.legend\"+J).data(ae?[G]:[]);if(j.enter().append(\"path\").classed(\"legend\"+J,!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",f),j.exit().remove(),j.size()){var ee=re.marker||{},ie=P(i(ee.line.width,X.pts),ee.line,d,h),ce=\"pieLike\",xe=A.minExtend(re,{marker:{line:{width:ie}}},ce),Te=A.minExtend(X,{trace:xe},ce);n(j,Te,xe,E)}}function fe(G){var $=G[0].trace,J,X=[];if($.visible)switch($.type){case\"histogram2d\":case\"heatmap\":X=[[\"M-15,-2V4H15V-2Z\"]],J=!0;break;case\"choropleth\":case\"choroplethmapbox\":case\"choroplethmap\":X=[[\"M-6,-6V6H6V-6Z\"]],J=!0;break;case\"densitymapbox\":case\"densitymap\":X=[[\"M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0\"]],J=\"radial\";break;case\"cone\":X=[[\"M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 L6,0Z\"]],J=!1;break;case\"streamtube\":X=[[\"M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z\"]],J=!1;break;case\"surface\":X=[[\"M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z\"],[\"M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z\"]],J=!0;break;case\"mesh3d\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],J=!1;break;case\"volume\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],J=!0;break;case\"isosurface\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6 A12,24 0 0,0 6,-6 L0,6Z\"]],J=!1;break}var re=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legend3dandfriends\").data(X);re.enter().append(\"path\").classed(\"legend3dandfriends\",!0).attr(\"transform\",f).style(\"stroke-miterlimit\",1),re.exit().remove(),re.each(function(ae,j){var ee=g.select(this),ie=r($),ce=ie.colorscale,xe=ie.reversescale,Te=function(it){if(it.size()){var at=\"legendfill-\"+$.uid;e.gradient(it,E,at,T(xe,J===\"radial\"),ce,\"fill\")}},Ue;if(ce){if(!J){var Ye=ce.length;Ue=j===0?ce[xe?Ye-1:0][1]:j===1?ce[xe?0:Ye-1][1]:ce[Math.floor((Ye-1)/2)][1]}}else{var Ie=$.vertexcolor||$.facecolor||$.color;Ue=A.isArrayOrTypedArray(Ie)?Ie[j]||Ie[0]:Ie}ee.attr(\"d\",ae[0]),Ue?ee.call(t.fill,Ue):ee.call(Te)})}};function T(w,M){var E=M?\"radial\":\"horizontal\";return E+(w?\"\":\"reversed\")}function l(w){var M=w[0].trace,E=M.contours,m=o.hasLines(M),b=o.hasMarkers(M),v=M.visible&&M.fill&&M.fill!==\"none\",u=!1,y=!1;if(E){var f=E.coloring;f===\"lines\"?u=!0:m=f===\"none\"||f===\"heatmap\"||E.showlines,E.type===\"constraint\"?v=E._operation!==\"=\":(f===\"fill\"||f===\"heatmap\")&&(y=!0)}return{showMarker:b,showLine:m,showFill:v,showGradientLine:u,showGradientFill:y,anyLine:m||u,anyFill:v||y}}function _(w,M,E){return w&&A.isArrayOrTypedArray(w)?M:w>E?E:w}}}),n2=ke({\"src/components/legend/draw.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=Zu(),S=lo(),e=jg(),t=Xh(),r=$o(),o=eo(),n=Wl(),i=$E(),a=t2(),s=Yf(),c=s.LINE_SPACING,h=s.FROM_TL,p=s.FROM_BR,d=QE(),T=r2(),l=h_(),_=1,w=/^legend[0-9]*$/;H.exports=function(U,W){if(W)E(U,W);else{var Q=U._fullLayout,le=Q._legends,se=Q._infolayer.selectAll('[class^=\"legend\"]');se.each(function(){var J=g.select(this),X=J.attr(\"class\"),re=X.split(\" \")[0];re.match(w)&&le.indexOf(re)===-1&&J.remove()});for(var fe=0;fe1)}var ee=Q.hiddenlabels||[];if(!G&&(!Q.showlegend||!$.length))return fe.selectAll(\".\"+le).remove(),Q._topdefs.select(\"#\"+se).remove(),A.autoMargin(N,le);var ie=x.ensureSingle(fe,\"g\",le,function(tt){G||tt.attr(\"pointer-events\",\"all\")}),ce=x.ensureSingleById(Q._topdefs,\"clipPath\",se,function(tt){tt.append(\"rect\")}),xe=x.ensureSingle(ie,\"rect\",\"bg\",function(tt){tt.attr(\"shape-rendering\",\"crispEdges\")});xe.call(o.stroke,W.bordercolor).call(o.fill,W.bgcolor).style(\"stroke-width\",W.borderwidth+\"px\");var Te=x.ensureSingle(ie,\"g\",\"scrollbox\"),Ue=W.title;W._titleWidth=0,W._titleHeight=0;var Ie;Ue.text?(Ie=x.ensureSingle(Te,\"text\",le+\"titletext\"),Ie.attr(\"text-anchor\",\"start\").call(r.font,Ue.font).text(Ue.text),f(Ie,Te,N,W,_)):Te.selectAll(\".\"+le+\"titletext\").remove();var Ye=x.ensureSingle(ie,\"rect\",\"scrollbar\",function(tt){tt.attr(a.scrollBarEnterAttrs).call(o.fill,a.scrollBarColor)}),it=Te.selectAll(\"g.groups\").data($);it.enter().append(\"g\").attr(\"class\",\"groups\"),it.exit().remove();var at=it.selectAll(\"g.traces\").data(x.identity);at.enter().append(\"g\").attr(\"class\",\"traces\"),at.exit().remove(),at.style(\"opacity\",function(tt){var ut=tt[0].trace;return S.traceIs(ut,\"pie-like\")?ee.indexOf(tt[0].label)!==-1?.5:1:ut.visible===\"legendonly\"?.5:1}).each(function(){g.select(this).call(v,N,W)}).call(T,N,W).each(function(){G||g.select(this).call(y,N,le)}),x.syncOrAsync([A.previousPromises,function(){return z(N,it,at,W)},function(){var tt=Q._size,ut=W.borderwidth,Me=W.xref===\"paper\",pe=W.yref===\"paper\";if(Ue.text&&M(Ie,W,ut),!G){var ue,Oe;Me?ue=tt.l+tt.w*W.x-h[B(W)]*W._width:ue=Q.width*W.x-h[B(W)]*W._width,pe?Oe=tt.t+tt.h*(1-W.y)-h[O(W)]*W._effHeight:Oe=Q.height*(1-W.y)-h[O(W)]*W._effHeight;var rt=F(N,le,ue,Oe);if(rt)return;if(Q.margin.autoexpand){var ot=ue,et=Oe;ue=Me?x.constrain(ue,0,Q.width-W._width):ot,Oe=pe?x.constrain(Oe,0,Q.height-W._effHeight):et,ue!==ot&&x.log(\"Constrain \"+le+\".x to make legend fit inside graph\"),Oe!==et&&x.log(\"Constrain \"+le+\".y to make legend fit inside graph\")}r.setTranslate(ie,ue,Oe)}if(Ye.on(\".drag\",null),ie.on(\"wheel\",null),G||W._height<=W._maxHeight||N._context.staticPlot){var Lt=W._effHeight;G&&(Lt=W._height),xe.attr({width:W._width-ut,height:Lt-ut,x:ut/2,y:ut/2}),r.setTranslate(Te,0,0),ce.select(\"rect\").attr({width:W._width-2*ut,height:Lt-2*ut,x:ut,y:ut}),r.setClipUrl(Te,se,N),r.setRect(Ye,0,0,0,0),delete W._scrollY}else{var Et=Math.max(a.scrollBarMinHeight,W._effHeight*W._effHeight/W._height),Bt=W._effHeight-Et-2*a.scrollBarMargin,qt=W._height-W._effHeight,fr=Bt/qt,ar=Math.min(W._scrollY||0,qt);xe.attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-ut,x:ut/2,y:ut/2}),ce.select(\"rect\").attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-2*ut,x:ut,y:ut+ar}),r.setClipUrl(Te,se,N),Se(ar,Et,fr),ie.on(\"wheel\",function(){ar=x.constrain(W._scrollY+g.event.deltaY/Bt*qt,0,qt),Se(ar,Et,fr),ar!==0&&ar!==qt&&g.event.preventDefault()});var Rr,gr,br,_t=function(nt,pt,bt){var Rt=(bt-pt)/fr+nt;return x.constrain(Rt,0,qt)},Be=function(nt,pt,bt){var Rt=(pt-bt)/fr+nt;return x.constrain(Rt,0,qt)},Ke=g.behavior.drag().on(\"dragstart\",function(){var nt=g.event.sourceEvent;nt.type===\"touchstart\"?Rr=nt.changedTouches[0].clientY:Rr=nt.clientY,br=ar}).on(\"drag\",function(){var nt=g.event.sourceEvent;nt.buttons===2||nt.ctrlKey||(nt.type===\"touchmove\"?gr=nt.changedTouches[0].clientY:gr=nt.clientY,ar=_t(br,Rr,gr),Se(ar,Et,fr))});Ye.call(Ke);var je=g.behavior.drag().on(\"dragstart\",function(){var nt=g.event.sourceEvent;nt.type===\"touchstart\"&&(Rr=nt.changedTouches[0].clientY,br=ar)}).on(\"drag\",function(){var nt=g.event.sourceEvent;nt.type===\"touchmove\"&&(gr=nt.changedTouches[0].clientY,ar=Be(br,Rr,gr),Se(ar,Et,fr))});Te.call(je)}function Se(nt,pt,bt){W._scrollY=N._fullLayout[le]._scrollY=nt,r.setTranslate(Te,0,-nt),r.setRect(Ye,W._width,a.scrollBarMargin+nt*bt,a.scrollBarWidth,pt),ce.select(\"rect\").attr(\"y\",ut+nt)}if(N._context.edits.legendPosition){var He,Ee,we,Le;ie.classed(\"cursor-move\",!0),t.init({element:ie.node(),gd:N,prepFn:function(nt){if(nt.target!==Ye.node()){var pt=r.getTranslate(ie);we=pt.x,Le=pt.y}},moveFn:function(nt,pt){if(we!==void 0&&Le!==void 0){var bt=we+nt,Rt=Le+pt;r.setTranslate(ie,bt,Rt),He=t.align(bt,W._width,tt.l,tt.l+tt.w,W.xanchor),Ee=t.align(Rt+W._height,-W._height,tt.t+tt.h,tt.t,W.yanchor)}},doneFn:function(){if(He!==void 0&&Ee!==void 0){var nt={};nt[le+\".x\"]=He,nt[le+\".y\"]=Ee,S.call(\"_guiRelayout\",N,nt)}},clickFn:function(nt,pt){var bt=fe.selectAll(\"g.traces\").filter(function(){var Rt=this.getBoundingClientRect();return pt.clientX>=Rt.left&&pt.clientX<=Rt.right&&pt.clientY>=Rt.top&&pt.clientY<=Rt.bottom});bt.size()>0&&b(N,ie,bt,nt,pt)}})}}],N)}}function m(N,U,W){var Q=N[0],le=Q.width,se=U.entrywidthmode,fe=Q.trace.legendwidth||U.entrywidth;return se===\"fraction\"?U._maxWidth*fe:W+(fe||le)}function b(N,U,W,Q,le){var se=W.data()[0][0].trace,fe={event:le,node:W.node(),curveNumber:se.index,expandedIndex:se.index,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};se._group&&(fe.group=se._group),S.traceIs(se,\"pie-like\")&&(fe.label=W.datum()[0].label);var G=e.triggerHandler(N,\"plotly_legendclick\",fe);if(Q===1){if(G===!1)return;U._clickTimeout=setTimeout(function(){N._fullLayout&&i(W,N,Q)},N._context.doubleClickDelay)}else if(Q===2){U._clickTimeout&&clearTimeout(U._clickTimeout),N._legendMouseDownTime=0;var $=e.triggerHandler(N,\"plotly_legenddoubleclick\",fe);$!==!1&&G!==!1&&i(W,N,Q)}}function v(N,U,W){var Q=I(W),le=N.data()[0][0],se=le.trace,fe=S.traceIs(se,\"pie-like\"),G=!W._inHover&&U._context.edits.legendText&&!fe,$=W._maxNameLength,J,X;le.groupTitle?(J=le.groupTitle.text,X=le.groupTitle.font):(X=W.font,W.entries?J=le.text:(J=fe?le.label:se.name,se._meta&&(J=x.templateString(J,se._meta))));var re=x.ensureSingle(N,\"text\",Q+\"text\");re.attr(\"text-anchor\",\"start\").call(r.font,X).text(G?u(J,$):J);var ae=W.indentation+W.itemwidth+a.itemGap*2;n.positionText(re,ae,0),G?re.call(n.makeEditable,{gd:U,text:J}).call(f,N,U,W).on(\"edit\",function(j){this.text(u(j,$)).call(f,N,U,W);var ee=le.trace._fullInput||{},ie={};return ie.name=j,ee._isShape?S.call(\"_guiRelayout\",U,\"shapes[\"+se.index+\"].name\",ie.name):S.call(\"_guiRestyle\",U,ie,se.index)}):f(re,N,U,W)}function u(N,U){var W=Math.max(4,U);if(N&&N.trim().length>=W/2)return N;N=N||\"\";for(var Q=W-N.length;Q>0;Q--)N+=\" \";return N}function y(N,U,W){var Q=U._context.doubleClickDelay,le,se=1,fe=x.ensureSingle(N,\"rect\",W+\"toggle\",function(G){U._context.staticPlot||G.style(\"cursor\",\"pointer\").attr(\"pointer-events\",\"all\"),G.call(o.fill,\"rgba(0,0,0,0)\")});U._context.staticPlot||(fe.on(\"mousedown\",function(){le=new Date().getTime(),le-U._legendMouseDownTimeQ&&(se=Math.max(se-1,1)),b(U,G,N,se,g.event)}}))}function f(N,U,W,Q,le){Q._inHover&&N.attr(\"data-notex\",!0),n.convertToTspans(N,W,function(){P(U,W,Q,le)})}function P(N,U,W,Q){var le=N.data()[0][0];if(!W._inHover&&le&&!le.trace.showlegend){N.remove();return}var se=N.select(\"g[class*=math-group]\"),fe=se.node(),G=I(W);W||(W=U._fullLayout[G]);var $=W.borderwidth,J;Q===_?J=W.title.font:le.groupTitle?J=le.groupTitle.font:J=W.font;var X=J.size*c,re,ae;if(fe){var j=r.bBox(fe);re=j.height,ae=j.width,Q===_?r.setTranslate(se,$,$+re*.75):r.setTranslate(se,0,re*.25)}else{var ee=\".\"+G+(Q===_?\"title\":\"\")+\"text\",ie=N.select(ee),ce=n.lineCount(ie),xe=ie.node();if(re=X*ce,ae=xe?r.bBox(xe).width:0,Q===_)W.title.side===\"left\"&&(ae+=a.itemGap*2),n.positionText(ie,$+a.titlePad,$+X);else{var Te=a.itemGap*2+W.indentation+W.itemwidth;le.groupTitle&&(Te=a.itemGap,ae-=W.indentation+W.itemwidth),n.positionText(ie,Te,-X*((ce-1)/2-.3))}}Q===_?(W._titleWidth=ae,W._titleHeight=re):(le.lineHeight=X,le.height=Math.max(re,16)+3,le.width=ae)}function L(N){var U=0,W=0,Q=N.title.side;return Q&&(Q.indexOf(\"left\")!==-1&&(U=N._titleWidth),Q.indexOf(\"top\")!==-1&&(W=N._titleHeight)),[U,W]}function z(N,U,W,Q){var le=N._fullLayout,se=I(Q);Q||(Q=le[se]);var fe=le._size,G=l.isVertical(Q),$=l.isGrouped(Q),J=Q.entrywidthmode===\"fraction\",X=Q.borderwidth,re=2*X,ae=a.itemGap,j=Q.indentation+Q.itemwidth+ae*2,ee=2*(X+ae),ie=O(Q),ce=Q.y<0||Q.y===0&&ie===\"top\",xe=Q.y>1||Q.y===1&&ie===\"bottom\",Te=Q.tracegroupgap,Ue={};Q._maxHeight=Math.max(ce||xe?le.height/2:fe.h,30);var Ie=0;Q._width=0,Q._height=0;var Ye=L(Q);if(G)W.each(function(br){var _t=br[0].height;r.setTranslate(this,X+Ye[0],X+Ye[1]+Q._height+_t/2+ae),Q._height+=_t,Q._width=Math.max(Q._width,br[0].width)}),Ie=j+Q._width,Q._width+=ae+j+re,Q._height+=ee,$&&(U.each(function(br,_t){r.setTranslate(this,0,_t*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var it=B(Q),at=Q.x<0||Q.x===0&&it===\"right\",tt=Q.x>1||Q.x===1&&it===\"left\",ut=xe||ce,Me=le.width/2;Q._maxWidth=Math.max(at?ut&&it===\"left\"?fe.l+fe.w:Me:tt?ut&&it===\"right\"?fe.r+fe.w:Me:fe.w,2*j);var pe=0,ue=0;W.each(function(br){var _t=m(br,Q,j);pe=Math.max(pe,_t),ue+=_t}),Ie=null;var Oe=0;if($){var rt=0,ot=0,et=0;U.each(function(){var br=0,_t=0;g.select(this).selectAll(\"g.traces\").each(function(Ke){var je=m(Ke,Q,j),Se=Ke[0].height;r.setTranslate(this,Ye[0],Ye[1]+X+ae+Se/2+_t),_t+=Se,br=Math.max(br,je),Ue[Ke[0].trace.legendgroup]=br});var Be=br+ae;ot>0&&Be+X+ot>Q._maxWidth?(Oe=Math.max(Oe,ot),ot=0,et+=rt+Te,rt=_t):rt=Math.max(rt,_t),r.setTranslate(this,ot,et),ot+=Be}),Q._width=Math.max(Oe,ot)+X,Q._height=et+rt+ee}else{var Lt=W.size(),Et=ue+re+(Lt-1)*ae=Q._maxWidth&&(Oe=Math.max(Oe,ar),qt=0,fr+=Bt,Q._height+=Bt,Bt=0),r.setTranslate(this,Ye[0]+X+qt,Ye[1]+X+fr+_t/2+ae),ar=qt+Be+ae,qt+=Ke,Bt=Math.max(Bt,_t)}),Et?(Q._width=qt+re,Q._height=Bt+ee):(Q._width=Math.max(Oe,ar)+re,Q._height+=Bt+ee)}}Q._width=Math.ceil(Math.max(Q._width+Ye[0],Q._titleWidth+2*(X+a.titlePad))),Q._height=Math.ceil(Math.max(Q._height+Ye[1],Q._titleHeight+2*(X+a.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Rr=N._context.edits,gr=Rr.legendText||Rr.legendPosition;W.each(function(br){var _t=g.select(this).select(\".\"+se+\"toggle\"),Be=br[0].height,Ke=br[0].trace.legendgroup,je=m(br,Q,j);$&&Ke!==\"\"&&(je=Ue[Ke]);var Se=gr?j:Ie||je;!G&&!J&&(Se+=ae/2),r.setRect(_t,0,-Be/2,Se,Be)})}function F(N,U,W,Q){var le=N._fullLayout,se=le[U],fe=B(se),G=O(se),$=se.xref===\"paper\",J=se.yref===\"paper\";N._fullLayout._reservedMargin[U]={};var X=se.y<.5?\"b\":\"t\",re=se.x<.5?\"l\":\"r\",ae={r:le.width-W,l:W+se._width,b:le.height-Q,t:Q+se._effHeight};if($&&J)return A.autoMargin(N,U,{x:se.x,y:se.y,l:se._width*h[fe],r:se._width*p[fe],b:se._effHeight*p[G],t:se._effHeight*h[G]});$?N._fullLayout._reservedMargin[U][X]=ae[X]:J||se.orientation===\"v\"?N._fullLayout._reservedMargin[U][re]=ae[re]:N._fullLayout._reservedMargin[U][X]=ae[X]}function B(N){return x.isRightAnchor(N)?\"right\":x.isCenterAnchor(N)?\"center\":\"left\"}function O(N){return x.isBottomAnchor(N)?\"bottom\":x.isMiddleAnchor(N)?\"middle\":\"top\"}function I(N){return N._id||\"legend\"}}}),i2=ke({\"src/components/fx/hover.js\"(Z){\"use strict\";var H=_i(),g=Yn(),x=ru(),A=un(),S=A.pushUnique,e=A.strTranslate,t=A.strRotate,r=jg(),o=Wl(),n=JE(),i=$o(),a=eo(),s=Xh(),c=Ho(),h=oh().zindexSeparator,p=lo(),d=gd(),T=Ed(),l=e2(),_=n2(),w=T.YANGLE,M=Math.PI*w/180,E=1/Math.sin(M),m=Math.cos(M),b=Math.sin(M),v=T.HOVERARROWSIZE,u=T.HOVERTEXTPAD,y={box:!0,ohlc:!0,violin:!0,candlestick:!0},f={scatter:!0,scattergl:!0,splom:!0};function P(j,ee){return j.distance-ee.distance}Z.hover=function(ee,ie,ce,xe){ee=A.getGraphDiv(ee);var Te=ie.target;A.throttle(ee._fullLayout._uid+T.HOVERID,T.HOVERMINTIME,function(){L(ee,ie,ce,xe,Te)})},Z.loneHover=function(ee,ie){var ce=!0;Array.isArray(ee)||(ce=!1,ee=[ee]);var xe=ie.gd,Te=X(xe),Ue=re(xe),Ie=ee.map(function(Oe){var rt=Oe._x0||Oe.x0||Oe.x||0,ot=Oe._x1||Oe.x1||Oe.x||0,et=Oe._y0||Oe.y0||Oe.y||0,Lt=Oe._y1||Oe.y1||Oe.y||0,Et=Oe.eventData;if(Et){var Bt=Math.min(rt,ot),qt=Math.max(rt,ot),fr=Math.min(et,Lt),ar=Math.max(et,Lt),Rr=Oe.trace;if(p.traceIs(Rr,\"gl3d\")){var gr=xe._fullLayout[Rr.scene]._scene.container,br=gr.offsetLeft,_t=gr.offsetTop;Bt+=br,qt+=br,fr+=_t,ar+=_t}Et.bbox={x0:Bt+Ue,x1:qt+Ue,y0:fr+Te,y1:ar+Te},ie.inOut_bbox&&ie.inOut_bbox.push(Et.bbox)}else Et=!1;return{color:Oe.color||a.defaultLine,x0:Oe.x0||Oe.x||0,x1:Oe.x1||Oe.x||0,y0:Oe.y0||Oe.y||0,y1:Oe.y1||Oe.y||0,xLabel:Oe.xLabel,yLabel:Oe.yLabel,zLabel:Oe.zLabel,text:Oe.text,name:Oe.name,idealAlign:Oe.idealAlign,borderColor:Oe.borderColor,fontFamily:Oe.fontFamily,fontSize:Oe.fontSize,fontColor:Oe.fontColor,fontWeight:Oe.fontWeight,fontStyle:Oe.fontStyle,fontVariant:Oe.fontVariant,nameLength:Oe.nameLength,textAlign:Oe.textAlign,trace:Oe.trace||{index:0,hoverinfo:\"\"},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:Oe.hovertemplate||!1,hovertemplateLabels:Oe.hovertemplateLabels||!1,eventData:Et}}),Ye=!1,it=B(Ie,{gd:xe,hovermode:\"closest\",rotateLabels:Ye,bgColor:ie.bgColor||a.background,container:H.select(ie.container),outerContainer:ie.outerContainer||ie.container}),at=it.hoverLabels,tt=5,ut=0,Me=0;at.sort(function(Oe,rt){return Oe.y0-rt.y0}).each(function(Oe,rt){var ot=Oe.y0-Oe.by/2;ot-ttqt[0]._length||ni<0||ni>fr[0]._length)return s.unhoverRaw(j,ee)}if(ee.pointerX=On+qt[0]._offset,ee.pointerY=ni+fr[0]._offset,\"xval\"in ee?je=d.flat(Te,ee.xval):je=d.p2c(qt,On),\"yval\"in ee?Se=d.flat(Te,ee.yval):Se=d.p2c(fr,ni),!g(je[0])||!g(Se[0]))return A.warn(\"Fx.hover failed\",ee,j),s.unhoverRaw(j,ee)}var gi=1/0;function Zt(pa,cs){for(Ee=0;Ee$t&&(Be.splice(0,$t),gi=Be[0].distance),tt&&_t!==0&&Be.length===0){Xt.distance=_t,Xt.index=!1;var Ka=Le._module.hoverPoints(Xt,Rt,Nt,\"closest\",{hoverLayer:Ie._hoverlayer});if(Ka&&(Ka=Ka.filter(function(Ls){return Ls.spikeDistance<=_t})),Ka&&Ka.length){var Yo,ns=Ka.filter(function(Ls){return Ls.xa.showspikes&&Ls.xa.spikesnap!==\"hovered data\"});if(ns.length){var hs=ns[0];g(hs.x0)&&g(hs.y0)&&(Yo=Ht(hs),(!ur.vLinePoint||ur.vLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.vLinePoint=Yo))}var ho=Ka.filter(function(Ls){return Ls.ya.showspikes&&Ls.ya.spikesnap!==\"hovered data\"});if(ho.length){var Ro=ho[0];g(Ro.x0)&&g(Ro.y0)&&(Yo=Ht(Ro),(!ur.hLinePoint||ur.hLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.hLinePoint=Yo))}}}}}Zt();function Ft(pa,cs,Ko){for(var gs=null,Ya=1/0,zo,Ka=0;Ka0&&Math.abs(pa.distance)Pr-1;nn--)Dr(Be[nn]);Be=Mr,xn()}var vn=j._hoverdata,gn=[],kt=X(j),or=re(j);for(He=0;He1||Be.length>1)||ut===\"closest\"&&pn&&Be.length>1,to=a.combine(Ie.plot_bgcolor||a.background,Ie.paper_bgcolor),yo=B(Be,{gd:j,hovermode:ut,rotateLabels:qa,bgColor:to,container:Ie._hoverlayer,outerContainer:Ie._paper.node(),commonLabelOpts:Ie.hoverlabel,hoverdistance:Ie.hoverdistance}),Xa=yo.hoverLabels;if(d.isUnifiedHover(ut)||(I(Xa,qa,Ie,yo.commonLabelBoundingBox),W(Xa,qa,Ie._invScaleX,Ie._invScaleY)),xe&&xe.tagName){var Go=p.getComponentMethod(\"annotations\",\"hasClickToShow\")(j,gn);n(H.select(xe),Go?\"pointer\":\"\")}!xe||ce||!se(j,ee,vn)||(vn&&j.emit(\"plotly_unhover\",{event:ee,points:vn}),j.emit(\"plotly_hover\",{event:ee,points:j._hoverdata,xaxes:qt,yaxes:fr,xvals:je,yvals:Se}))}function z(j){return[j.trace.index,j.index,j.x0,j.y0,j.name,j.attr,j.xa?j.xa._id:\"\",j.ya?j.ya._id:\"\"].join(\",\")}var F=/([\\s\\S]*)<\\/extra>/;function B(j,ee){var ie=ee.gd,ce=ie._fullLayout,xe=ee.hovermode,Te=ee.rotateLabels,Ue=ee.bgColor,Ie=ee.container,Ye=ee.outerContainer,it=ee.commonLabelOpts||{};if(j.length===0)return[[]];var at=ee.fontFamily||T.HOVERFONT,tt=ee.fontSize||T.HOVERFONTSIZE,ut=ee.fontWeight||ce.font.weight,Me=ee.fontStyle||ce.font.style,pe=ee.fontVariant||ce.font.variant,ue=ee.fontTextcase||ce.font.textcase,Oe=ee.fontLineposition||ce.font.lineposition,rt=ee.fontShadow||ce.font.shadow,ot=j[0],et=ot.xa,Lt=ot.ya,Et=xe.charAt(0),Bt=Et+\"Label\",qt=ot[Bt];if(qt===void 0&&et.type===\"multicategory\")for(var fr=0;frce.width-vn&&(gn=ce.width-vn),ui.attr(\"d\",\"M\"+(Ur-gn)+\",0L\"+(Ur-gn+v)+\",\"+nn+v+\"H\"+vn+\"v\"+nn+(u*2+Lr.height)+\"H\"+-vn+\"V\"+nn+v+\"H\"+(Ur-gn-v)+\"Z\"),Ur=gn,Ee.minX=Ur-vn,Ee.maxX=Ur+vn,et.side===\"top\"?(Ee.minY=Dr-(u*2+Lr.height),Ee.maxY=Dr-u):(Ee.minY=Dr+u,Ee.maxY=Dr+(u*2+Lr.height))}else{var kt,or,yr;Lt.side===\"right\"?(kt=\"start\",or=1,yr=\"\",Ur=et._offset+et._length):(kt=\"end\",or=-1,yr=\"-\",Ur=et._offset),Dr=Lt._offset+(ot.y0+ot.y1)/2,gt.attr(\"text-anchor\",kt),ui.attr(\"d\",\"M0,0L\"+yr+v+\",\"+v+\"V\"+(u+Lr.height/2)+\"h\"+yr+(u*2+Lr.width)+\"V-\"+(u+Lr.height/2)+\"H\"+yr+v+\"V-\"+v+\"Z\"),Ee.minY=Dr-(u+Lr.height/2),Ee.maxY=Dr+(u+Lr.height/2),Lt.side===\"right\"?(Ee.minX=Ur+v,Ee.maxX=Ur+v+(u*2+Lr.width)):(Ee.minX=Ur-v-(u*2+Lr.width),Ee.maxX=Ur-v);var on=Lr.height/2,An=Rr-Lr.top-on,Zn=\"clip\"+ce._uid+\"commonlabel\"+Lt._id,Bn;if(Ur=0?Fn=wr:$r+ni=0?Fn=$r:xn+ni=0?Wn=Ht:Vt+zn=0?Wn=Vt:en+zn=0,(Sn.idealAlign===\"top\"||!Ui)&&pi?(yr-=An/2,Sn.anchor=\"end\"):Ui?(yr+=An/2,Sn.anchor=\"start\"):Sn.anchor=\"middle\",Sn.crossPos=yr;else{if(Sn.pos=yr,Ui=or+on/2+Dn<=gr,pi=or-on/2-Dn>=0,(Sn.idealAlign===\"left\"||!Ui)&&pi)or-=on/2,Sn.anchor=\"end\";else if(Ui)or+=on/2,Sn.anchor=\"start\";else{Sn.anchor=\"middle\";var Ta=Dn/2,Sa=or+Ta-gr,qa=or-Ta;Sa>0&&(or-=Sa),qa<0&&(or+=-qa)}Sn.crossPos=or}Dr.attr(\"text-anchor\",Sn.anchor),vn&&nn.attr(\"text-anchor\",Sn.anchor),ui.attr(\"transform\",e(or,yr)+(Te?t(w):\"\"))}),{hoverLabels:ri,commonLabelBoundingBox:Ee}}function O(j,ee,ie,ce,xe,Te){var Ue=\"\",Ie=\"\";j.nameOverride!==void 0&&(j.name=j.nameOverride),j.name&&(j.trace._meta&&(j.name=A.templateString(j.name,j.trace._meta)),Ue=G(j.name,j.nameLength));var Ye=ie.charAt(0),it=Ye===\"x\"?\"y\":\"x\";j.zLabel!==void 0?(j.xLabel!==void 0&&(Ie+=\"x: \"+j.xLabel+\"
\"),j.yLabel!==void 0&&(Ie+=\"y: \"+j.yLabel+\"
\"),j.trace.type!==\"choropleth\"&&j.trace.type!==\"choroplethmapbox\"&&j.trace.type!==\"choroplethmap\"&&(Ie+=(Ie?\"z: \":\"\")+j.zLabel)):ee&&j[Ye+\"Label\"]===xe?Ie=j[it+\"Label\"]||\"\":j.xLabel===void 0?j.yLabel!==void 0&&j.trace.type!==\"scattercarpet\"&&(Ie=j.yLabel):j.yLabel===void 0?Ie=j.xLabel:Ie=\"(\"+j.xLabel+\", \"+j.yLabel+\")\",(j.text||j.text===0)&&!Array.isArray(j.text)&&(Ie+=(Ie?\"
\":\"\")+j.text),j.extraText!==void 0&&(Ie+=(Ie?\"
\":\"\")+j.extraText),Te&&Ie===\"\"&&!j.hovertemplate&&(Ue===\"\"&&Te.remove(),Ie=Ue);var at=j.hovertemplate||!1;if(at){var tt=j.hovertemplateLabels||j;j[Ye+\"Label\"]!==xe&&(tt[Ye+\"other\"]=tt[Ye+\"Val\"],tt[Ye+\"otherLabel\"]=tt[Ye+\"Label\"]),Ie=A.hovertemplateString(at,tt,ce._d3locale,j.eventData[0]||{},j.trace._meta),Ie=Ie.replace(F,function(ut,Me){return Ue=G(Me,j.nameLength),\"\"})}return[Ie,Ue]}function I(j,ee,ie,ce){var xe=ee?\"xa\":\"ya\",Te=ee?\"ya\":\"xa\",Ue=0,Ie=1,Ye=j.size(),it=new Array(Ye),at=0,tt=ce.minX,ut=ce.maxX,Me=ce.minY,pe=ce.maxY,ue=function(je){return je*ie._invScaleX},Oe=function(je){return je*ie._invScaleY};j.each(function(je){var Se=je[xe],He=je[Te],Ee=Se._id.charAt(0)===\"x\",we=Se.range;at===0&&we&&we[0]>we[1]!==Ee&&(Ie=-1);var Le=0,nt=Ee?ie.width:ie.height;if(ie.hovermode===\"x\"||ie.hovermode===\"y\"){var pt=N(je,ee),bt=je.anchor,Rt=bt===\"end\"?-1:1,Nt,Xt;if(bt===\"middle\")Nt=je.crossPos+(Ee?Oe(pt.y-je.by/2):ue(je.bx/2+je.tx2width/2)),Xt=Nt+(Ee?Oe(je.by):ue(je.bx));else if(Ee)Nt=je.crossPos+Oe(v+pt.y)-Oe(je.by/2-v),Xt=Nt+Oe(je.by);else{var $t=ue(Rt*v+pt.x),ur=$t+ue(Rt*je.bx);Nt=je.crossPos+Math.min($t,ur),Xt=je.crossPos+Math.max($t,ur)}Ee?Me!==void 0&&pe!==void 0&&Math.min(Xt,pe)-Math.max(Nt,Me)>1&&(He.side===\"left\"?(Le=He._mainLinePosition,nt=ie.width):nt=He._mainLinePosition):tt!==void 0&&ut!==void 0&&Math.min(Xt,ut)-Math.max(Nt,tt)>1&&(He.side===\"top\"?(Le=He._mainLinePosition,nt=ie.height):nt=He._mainLinePosition)}it[at++]=[{datum:je,traceIndex:je.trace.index,dp:0,pos:je.pos,posref:je.posref,size:je.by*(Ee?E:1)/2,pmin:Le,pmax:nt}]}),it.sort(function(je,Se){return je[0].posref-Se[0].posref||Ie*(Se[0].traceIndex-je[0].traceIndex)});var rt,ot,et,Lt,Et,Bt,qt;function fr(je){var Se=je[0],He=je[je.length-1];if(ot=Se.pmin-Se.pos-Se.dp+Se.size,et=He.pos+He.dp+He.size-Se.pmax,ot>.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp+=ot;rt=!1}if(!(et<.01)){if(ot<-.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp-=et;rt=!1}if(rt){var Ee=0;for(Lt=0;LtSe.pmax&&Ee++;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos>Se.pmax-1&&(Bt.del=!0,Ee--);for(Lt=0;Lt=0;Et--)je[Et].dp-=et;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos+Bt.dp+Bt.size>Se.pmax&&(Bt.del=!0,Ee--)}}}for(;!rt&&Ue<=Ye;){for(Ue++,rt=!0,Lt=0;Lt.01){for(Et=Rr.length-1;Et>=0;Et--)Rr[Et].dp+=ot;for(ar.push.apply(ar,Rr),it.splice(Lt+1,1),qt=0,Et=ar.length-1;Et>=0;Et--)qt+=ar[Et].dp;for(et=qt/ar.length,Et=ar.length-1;Et>=0;Et--)ar[Et].dp-=et;rt=!1}else Lt++}it.forEach(fr)}for(Lt=it.length-1;Lt>=0;Lt--){var _t=it[Lt];for(Et=_t.length-1;Et>=0;Et--){var Be=_t[Et],Ke=Be.datum;Ke.offset=Be.dp,Ke.del=Be.del}}}function N(j,ee){var ie=0,ce=j.offset;return ee&&(ce*=-b,ie=j.offset*m),{x:ie,y:ce}}function U(j){var ee={start:1,end:-1,middle:0}[j.anchor],ie=ee*(v+u),ce=ie+ee*(j.txwidth+u),xe=j.anchor===\"middle\";return xe&&(ie-=j.tx2width/2,ce+=j.txwidth/2+u),{alignShift:ee,textShiftX:ie,text2ShiftX:ce}}function W(j,ee,ie,ce){var xe=function(Ue){return Ue*ie},Te=function(Ue){return Ue*ce};j.each(function(Ue){var Ie=H.select(this);if(Ue.del)return Ie.remove();var Ye=Ie.select(\"text.nums\"),it=Ue.anchor,at=it===\"end\"?-1:1,tt=U(Ue),ut=N(Ue,ee),Me=ut.x,pe=ut.y,ue=it===\"middle\";Ie.select(\"path\").attr(\"d\",ue?\"M-\"+xe(Ue.bx/2+Ue.tx2width/2)+\",\"+Te(pe-Ue.by/2)+\"h\"+xe(Ue.bx)+\"v\"+Te(Ue.by)+\"h-\"+xe(Ue.bx)+\"Z\":\"M0,0L\"+xe(at*v+Me)+\",\"+Te(v+pe)+\"v\"+Te(Ue.by/2-v)+\"h\"+xe(at*Ue.bx)+\"v-\"+Te(Ue.by)+\"H\"+xe(at*v+Me)+\"V\"+Te(pe-v)+\"Z\");var Oe=Me+tt.textShiftX,rt=pe+Ue.ty0-Ue.by/2+u,ot=Ue.textAlign||\"auto\";ot!==\"auto\"&&(ot===\"left\"&&it!==\"start\"?(Ye.attr(\"text-anchor\",\"start\"),Oe=ue?-Ue.bx/2-Ue.tx2width/2+u:-Ue.bx-u):ot===\"right\"&&it!==\"end\"&&(Ye.attr(\"text-anchor\",\"end\"),Oe=ue?Ue.bx/2-Ue.tx2width/2-u:Ue.bx+u)),Ye.call(o.positionText,xe(Oe),Te(rt)),Ue.tx2width&&(Ie.select(\"text.name\").call(o.positionText,xe(tt.text2ShiftX+tt.alignShift*u+Me),Te(pe+Ue.ty0-Ue.by/2+u)),Ie.select(\"rect\").call(i.setRect,xe(tt.text2ShiftX+(tt.alignShift-1)*Ue.tx2width/2+Me),Te(pe-Ue.by/2-1),xe(Ue.tx2width),Te(Ue.by+2)))})}function Q(j,ee){var ie=j.index,ce=j.trace||{},xe=j.cd[0],Te=j.cd[ie]||{};function Ue(ut){return ut||g(ut)&&ut===0}var Ie=Array.isArray(ie)?function(ut,Me){var pe=A.castOption(xe,ie,ut);return Ue(pe)?pe:A.extractOption({},ce,\"\",Me)}:function(ut,Me){return A.extractOption(Te,ce,ut,Me)};function Ye(ut,Me,pe){var ue=Ie(Me,pe);Ue(ue)&&(j[ut]=ue)}if(Ye(\"hoverinfo\",\"hi\",\"hoverinfo\"),Ye(\"bgcolor\",\"hbg\",\"hoverlabel.bgcolor\"),Ye(\"borderColor\",\"hbc\",\"hoverlabel.bordercolor\"),Ye(\"fontFamily\",\"htf\",\"hoverlabel.font.family\"),Ye(\"fontSize\",\"hts\",\"hoverlabel.font.size\"),Ye(\"fontColor\",\"htc\",\"hoverlabel.font.color\"),Ye(\"fontWeight\",\"htw\",\"hoverlabel.font.weight\"),Ye(\"fontStyle\",\"hty\",\"hoverlabel.font.style\"),Ye(\"fontVariant\",\"htv\",\"hoverlabel.font.variant\"),Ye(\"nameLength\",\"hnl\",\"hoverlabel.namelength\"),Ye(\"textAlign\",\"hta\",\"hoverlabel.align\"),j.posref=ee===\"y\"||ee===\"closest\"&&ce.orientation===\"h\"?j.xa._offset+(j.x0+j.x1)/2:j.ya._offset+(j.y0+j.y1)/2,j.x0=A.constrain(j.x0,0,j.xa._length),j.x1=A.constrain(j.x1,0,j.xa._length),j.y0=A.constrain(j.y0,0,j.ya._length),j.y1=A.constrain(j.y1,0,j.ya._length),j.xLabelVal!==void 0&&(j.xLabel=\"xLabel\"in j?j.xLabel:c.hoverLabelText(j.xa,j.xLabelVal,ce.xhoverformat),j.xVal=j.xa.c2d(j.xLabelVal)),j.yLabelVal!==void 0&&(j.yLabel=\"yLabel\"in j?j.yLabel:c.hoverLabelText(j.ya,j.yLabelVal,ce.yhoverformat),j.yVal=j.ya.c2d(j.yLabelVal)),j.zLabelVal!==void 0&&j.zLabel===void 0&&(j.zLabel=String(j.zLabelVal)),!isNaN(j.xerr)&&!(j.xa.type===\"log\"&&j.xerr<=0)){var it=c.tickText(j.xa,j.xa.c2l(j.xerr),\"hover\").text;j.xerrneg!==void 0?j.xLabel+=\" +\"+it+\" / -\"+c.tickText(j.xa,j.xa.c2l(j.xerrneg),\"hover\").text:j.xLabel+=\" \\xB1 \"+it,ee===\"x\"&&(j.distance+=1)}if(!isNaN(j.yerr)&&!(j.ya.type===\"log\"&&j.yerr<=0)){var at=c.tickText(j.ya,j.ya.c2l(j.yerr),\"hover\").text;j.yerrneg!==void 0?j.yLabel+=\" +\"+at+\" / -\"+c.tickText(j.ya,j.ya.c2l(j.yerrneg),\"hover\").text:j.yLabel+=\" \\xB1 \"+at,ee===\"y\"&&(j.distance+=1)}var tt=j.hoverinfo||j.trace.hoverinfo;return tt&&tt!==\"all\"&&(tt=Array.isArray(tt)?tt:tt.split(\"+\"),tt.indexOf(\"x\")===-1&&(j.xLabel=void 0),tt.indexOf(\"y\")===-1&&(j.yLabel=void 0),tt.indexOf(\"z\")===-1&&(j.zLabel=void 0),tt.indexOf(\"text\")===-1&&(j.text=void 0),tt.indexOf(\"name\")===-1&&(j.name=void 0)),j}function le(j,ee,ie){var ce=ie.container,xe=ie.fullLayout,Te=xe._size,Ue=ie.event,Ie=!!ee.hLinePoint,Ye=!!ee.vLinePoint,it,at;if(ce.selectAll(\".spikeline\").remove(),!!(Ye||Ie)){var tt=a.combine(xe.plot_bgcolor,xe.paper_bgcolor);if(Ie){var ut=ee.hLinePoint,Me,pe;it=ut&&ut.xa,at=ut&&ut.ya;var ue=at.spikesnap;ue===\"cursor\"?(Me=Ue.pointerX,pe=Ue.pointerY):(Me=it._offset+ut.x,pe=at._offset+ut.y);var Oe=x.readability(ut.color,tt)<1.5?a.contrast(tt):ut.color,rt=at.spikemode,ot=at.spikethickness,et=at.spikecolor||Oe,Lt=c.getPxPosition(j,at),Et,Bt;if(rt.indexOf(\"toaxis\")!==-1||rt.indexOf(\"across\")!==-1){if(rt.indexOf(\"toaxis\")!==-1&&(Et=Lt,Bt=Me),rt.indexOf(\"across\")!==-1){var qt=at._counterDomainMin,fr=at._counterDomainMax;at.anchor===\"free\"&&(qt=Math.min(qt,at.position),fr=Math.max(fr,at.position)),Et=Te.l+qt*Te.w,Bt=Te.l+fr*Te.w}ce.insert(\"line\",\":first-child\").attr({x1:Et,x2:Bt,y1:pe,y2:pe,\"stroke-width\":ot,stroke:et,\"stroke-dasharray\":i.dashStyle(at.spikedash,ot)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),ce.insert(\"line\",\":first-child\").attr({x1:Et,x2:Bt,y1:pe,y2:pe,\"stroke-width\":ot+2,stroke:tt}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}rt.indexOf(\"marker\")!==-1&&ce.insert(\"circle\",\":first-child\").attr({cx:Lt+(at.side!==\"right\"?ot:-ot),cy:pe,r:ot,fill:et}).classed(\"spikeline\",!0)}if(Ye){var ar=ee.vLinePoint,Rr,gr;it=ar&&ar.xa,at=ar&&ar.ya;var br=it.spikesnap;br===\"cursor\"?(Rr=Ue.pointerX,gr=Ue.pointerY):(Rr=it._offset+ar.x,gr=at._offset+ar.y);var _t=x.readability(ar.color,tt)<1.5?a.contrast(tt):ar.color,Be=it.spikemode,Ke=it.spikethickness,je=it.spikecolor||_t,Se=c.getPxPosition(j,it),He,Ee;if(Be.indexOf(\"toaxis\")!==-1||Be.indexOf(\"across\")!==-1){if(Be.indexOf(\"toaxis\")!==-1&&(He=Se,Ee=gr),Be.indexOf(\"across\")!==-1){var we=it._counterDomainMin,Le=it._counterDomainMax;it.anchor===\"free\"&&(we=Math.min(we,it.position),Le=Math.max(Le,it.position)),He=Te.t+(1-Le)*Te.h,Ee=Te.t+(1-we)*Te.h}ce.insert(\"line\",\":first-child\").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,\"stroke-width\":Ke,stroke:je,\"stroke-dasharray\":i.dashStyle(it.spikedash,Ke)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),ce.insert(\"line\",\":first-child\").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,\"stroke-width\":Ke+2,stroke:tt}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}Be.indexOf(\"marker\")!==-1&&ce.insert(\"circle\",\":first-child\").attr({cx:Rr,cy:Se-(it.side!==\"top\"?Ke:-Ke),r:Ke,fill:je}).classed(\"spikeline\",!0)}}}function se(j,ee,ie){if(!ie||ie.length!==j._hoverdata.length)return!0;for(var ce=ie.length-1;ce>=0;ce--){var xe=ie[ce],Te=j._hoverdata[ce];if(xe.curveNumber!==Te.curveNumber||String(xe.pointNumber)!==String(Te.pointNumber)||String(xe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function fe(j,ee){return!ee||ee.vLinePoint!==j._spikepoints.vLinePoint||ee.hLinePoint!==j._spikepoints.hLinePoint}function G(j,ee){return o.plainText(j||\"\",{len:ee,allowedTags:[\"br\",\"sub\",\"sup\",\"b\",\"i\",\"em\",\"s\",\"u\"]})}function $(j,ee){for(var ie=ee.charAt(0),ce=[],xe=[],Te=[],Ue=0;Ue\",\" plotly-logomark\",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\"\"].join(\"\")}}}}),v_=ke({\"src/components/shapes/draw_newshape/constants.js\"(Z,H){\"use strict\";var g=32;H.exports={CIRCLE_SIDES:g,i000:0,i090:g/4,i180:g/2,i270:g/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}}}),p_=ke({\"src/components/selections/helpers.js\"(Z,H){\"use strict\";var g=un().strTranslate;function x(t,r){switch(t.type){case\"log\":return t.p2d(r);case\"date\":return t.p2r(r,0,t.calendar);default:return t.p2r(r)}}function A(t,r){switch(t.type){case\"log\":return t.d2p(r);case\"date\":return t.r2p(r,0,t.calendar);default:return t.r2p(r)}}function S(t){var r=t._id.charAt(0)===\"y\"?1:0;return function(o){return x(t,o[r])}}function e(t){return g(t.xaxis._offset,t.yaxis._offset)}H.exports={p2r:x,r2p:A,axValue:S,getTransform:e}}}),Op=ke({\"src/components/shapes/draw_newshape/helpers.js\"(Z){\"use strict\";var H=$y(),g=v_(),x=g.CIRCLE_SIDES,A=g.SQRT2,S=p_(),e=S.p2r,t=S.r2p,r=[0,3,4,5,6,1,2],o=[0,3,4,1,2];Z.writePaths=function(a){var s=a.length;if(!s)return\"M0,0Z\";for(var c=\"\",h=0;h0&&_l&&(w=\"X\"),w});return h>l&&(_=_.replace(/[\\s,]*X.*/,\"\"),g.log(\"Ignoring extra params in segment \"+c)),p+_})}function S(e,t){t=t||0;var r=0;return t&&e&&(e.type===\"category\"||e.type===\"multicategory\")&&(r=(e.r2p(1)-e.r2p(0))*t),r}}}),s2=ke({\"src/components/shapes/display_labels.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=Wl(),S=$o(),e=Op().readPaths,t=Bp(),r=t.getPathString,o=a_(),n=Yf().FROM_TL;H.exports=function(c,h,p,d){if(d.selectAll(\".shape-label\").remove(),!!(p.label.text||p.label.texttemplate)){var T;if(p.label.texttemplate){var l={};if(p.type!==\"path\"){var _=x.getFromId(c,p.xref),w=x.getFromId(c,p.yref);for(var M in o){var E=o[M](p,_,w);E!==void 0&&(l[M]=E)}}T=g.texttemplateStringForShapes(p.label.texttemplate,{},c._fullLayout._d3locale,l)}else T=p.label.text;var m={\"data-index\":h},b=p.label.font,v={\"data-notex\":1},u=d.append(\"g\").attr(m).classed(\"shape-label\",!0),y=u.append(\"text\").attr(v).classed(\"shape-label-text\",!0).text(T),f,P,L,z;if(p.path){var F=r(c,p),B=e(F,c);f=1/0,L=1/0,P=-1/0,z=-1/0;for(var O=0;O=s?d=c-p:d=p-c,-180/Math.PI*Math.atan2(d,T)}function a(s,c,h,p,d,T,l){var _=d.label.textposition,w=d.label.textangle,M=d.label.padding,E=d.type,m=Math.PI/180*T,b=Math.sin(m),v=Math.cos(m),u=d.label.xanchor,y=d.label.yanchor,f,P,L,z;if(E===\"line\"){_===\"start\"?(f=s,P=c):_===\"end\"?(f=h,P=p):(f=(s+h)/2,P=(c+p)/2),u===\"auto\"&&(_===\"start\"?w===\"auto\"?h>s?u=\"left\":hs?u=\"right\":hs?u=\"right\":hs?u=\"left\":h1&&!(tt.length===2&&tt[1][0]===\"Z\")&&(G===0&&(tt[0][0]=\"M\"),f[fe]=tt,B(),O())}}function ce(tt,ut){if(tt===2){fe=+ut.srcElement.getAttribute(\"data-i\"),G=+ut.srcElement.getAttribute(\"data-j\");var Me=f[fe];!T(Me)&&!l(Me)&&ie()}}function xe(tt){le=[];for(var ut=0;utB&&we>O&&!Se.shiftKey?s.getCursor(Le/Ee,1-nt/we):\"move\";c(f,pt),Et=pt.split(\"-\")[0]}}function ar(Se){l(y)||(I&&($=ue(P.xanchor)),N&&(J=Oe(P.yanchor)),P.type===\"path\"?Te=P.path:(le=I?P.x0:ue(P.x0),se=N?P.y0:Oe(P.y0),fe=I?P.x1:ue(P.x1),G=N?P.y1:Oe(P.y1)),leG?(X=se,ee=\"y0\",re=G,ie=\"y1\"):(X=G,ee=\"y1\",re=se,ie=\"y0\"),fr(Se),Be(z,P),je(f,P,y),Lt.moveFn=Et===\"move\"?br:_t,Lt.altKey=Se.altKey)}function Rr(){l(y)||(c(f),Ke(z),M(f,y,P),x.call(\"_guiRelayout\",y,F.getUpdateObj()))}function gr(){l(y)||Ke(z)}function br(Se,He){if(P.type===\"path\"){var Ee=function(nt){return nt},we=Ee,Le=Ee;I?Q(\"xanchor\",P.xanchor=rt($+Se)):(we=function(pt){return rt(ue(pt)+Se)},Ie&&Ie.type===\"date\"&&(we=p.encodeDate(we))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Le=function(pt){return ot(Oe(pt)+He)},it&&it.type===\"date\"&&(Le=p.encodeDate(Le))),Q(\"path\",P.path=m(Te,we,Le))}else I?Q(\"xanchor\",P.xanchor=rt($+Se)):(Q(\"x0\",P.x0=rt(le+Se)),Q(\"x1\",P.x1=rt(fe+Se))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Q(\"y0\",P.y0=ot(se+He)),Q(\"y1\",P.y1=ot(G+He)));f.attr(\"d\",d(y,P)),Be(z,P),r(y,L,P,Ue)}function _t(Se,He){if(W){var Ee=function(zn){return zn},we=Ee,Le=Ee;I?Q(\"xanchor\",P.xanchor=rt($+Se)):(we=function(Qn){return rt(ue(Qn)+Se)},Ie&&Ie.type===\"date\"&&(we=p.encodeDate(we))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Le=function(Qn){return ot(Oe(Qn)+He)},it&&it.type===\"date\"&&(Le=p.encodeDate(Le))),Q(\"path\",P.path=m(Te,we,Le))}else if(U){if(Et===\"resize-over-start-point\"){var nt=le+Se,pt=N?se-He:se+He;Q(\"x0\",P.x0=I?nt:rt(nt)),Q(\"y0\",P.y0=N?pt:ot(pt))}else if(Et===\"resize-over-end-point\"){var bt=fe+Se,Rt=N?G-He:G+He;Q(\"x1\",P.x1=I?bt:rt(bt)),Q(\"y1\",P.y1=N?Rt:ot(Rt))}}else{var Nt=function(zn){return Et.indexOf(zn)!==-1},Xt=Nt(\"n\"),$t=Nt(\"s\"),ur=Nt(\"w\"),pn=Nt(\"e\"),Rn=Xt?X+He:X,Nn=$t?re+He:re,On=ur?ae+Se:ae,ni=pn?j+Se:j;N&&(Xt&&(Rn=X-He),$t&&(Nn=re-He)),(!N&&Nn-Rn>O||N&&Rn-Nn>O)&&(Q(ee,P[ee]=N?Rn:ot(Rn)),Q(ie,P[ie]=N?Nn:ot(Nn))),ni-On>B&&(Q(ce,P[ce]=I?On:rt(On)),Q(xe,P[xe]=I?ni:rt(ni)))}f.attr(\"d\",d(y,P)),Be(z,P),r(y,L,P,Ue)}function Be(Se,He){(I||N)&&Ee();function Ee(){var we=He.type!==\"path\",Le=Se.selectAll(\".visual-cue\").data([0]),nt=1;Le.enter().append(\"path\").attr({fill:\"#fff\",\"fill-rule\":\"evenodd\",stroke:\"#000\",\"stroke-width\":nt}).classed(\"visual-cue\",!0);var pt=ue(I?He.xanchor:A.midRange(we?[He.x0,He.x1]:p.extractPathCoords(He.path,h.paramIsX))),bt=Oe(N?He.yanchor:A.midRange(we?[He.y0,He.y1]:p.extractPathCoords(He.path,h.paramIsY)));if(pt=p.roundPositionForSharpStrokeRendering(pt,nt),bt=p.roundPositionForSharpStrokeRendering(bt,nt),I&&N){var Rt=\"M\"+(pt-1-nt)+\",\"+(bt-1-nt)+\"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z\";Le.attr(\"d\",Rt)}else if(I){var Nt=\"M\"+(pt-1-nt)+\",\"+(bt-9-nt)+\"v18 h2 v-18 Z\";Le.attr(\"d\",Nt)}else{var Xt=\"M\"+(pt-9-nt)+\",\"+(bt-1-nt)+\"h18 v2 h-18 Z\";Le.attr(\"d\",Xt)}}}function Ke(Se){Se.selectAll(\".visual-cue\").remove()}function je(Se,He,Ee){var we=He.xref,Le=He.yref,nt=S.getFromId(Ee,we),pt=S.getFromId(Ee,Le),bt=\"\";we!==\"paper\"&&!nt.autorange&&(bt+=we),Le!==\"paper\"&&!pt.autorange&&(bt+=Le),i.setClipUrl(Se,bt?\"clip\"+Ee._fullLayout._uid+bt:null,Ee)}}function m(y,f,P){return y.replace(h.segmentRE,function(L){var z=0,F=L.charAt(0),B=h.paramIsX[F],O=h.paramIsY[F],I=h.numParams[F],N=L.substr(1).replace(h.paramRE,function(U){return z>=I||(B[z]?U=f(U):O[z]&&(U=P(U)),z++),U});return F+N})}function b(y,f){if(_(y)){var P=f.node(),L=+P.getAttribute(\"data-index\");if(L>=0){if(L===y._fullLayout._activeShapeIndex){v(y);return}y._fullLayout._activeShapeIndex=L,y._fullLayout._deactivateShape=v,T(y)}}}function v(y){if(_(y)){var f=y._fullLayout._activeShapeIndex;f>=0&&(o(y),delete y._fullLayout._activeShapeIndex,T(y))}}function u(y){if(_(y)){o(y);var f=y._fullLayout._activeShapeIndex,P=(y.layout||{}).shapes||[];if(f1?(se=[\"toggleHover\"],fe=[\"resetViews\"]):u?(le=[\"zoomInGeo\",\"zoomOutGeo\"],se=[\"hoverClosestGeo\"],fe=[\"resetGeo\"]):v?(se=[\"hoverClosest3d\"],fe=[\"resetCameraDefault3d\",\"resetCameraLastSave3d\"]):L?(le=[\"zoomInMapbox\",\"zoomOutMapbox\"],se=[\"toggleHover\"],fe=[\"resetViewMapbox\"]):z?(le=[\"zoomInMap\",\"zoomOutMap\"],se=[\"toggleHover\"],fe=[\"resetViewMap\"]):y?se=[\"hoverClosestPie\"]:O?(se=[\"hoverClosestCartesian\",\"hoverCompareCartesian\"],fe=[\"resetViewSankey\"]):se=[\"toggleHover\"],b&&se.push(\"toggleSpikelines\",\"hoverClosestCartesian\",\"hoverCompareCartesian\"),(s(T)||N)&&(se=[]),b&&!I&&(le=[\"zoomIn2d\",\"zoomOut2d\",\"autoScale2d\"],fe[0]!==\"resetViews\"&&(fe=[\"resetScale2d\"])),v?G=[\"zoom3d\",\"pan3d\",\"orbitRotation\",\"tableRotation\"]:b&&!I||P?G=[\"zoom2d\",\"pan2d\"]:L||z||u?G=[\"pan2d\"]:F&&(G=[\"zoom2d\"]),a(T)&&G.push(\"select2d\",\"lasso2d\");var $=[],J=function(j){$.indexOf(j)===-1&&se.indexOf(j)!==-1&&$.push(j)};if(Array.isArray(E)){for(var X=[],re=0;rew?T.substr(w):l.substr(_))+M}function c(p,d){for(var T=d._size,l=T.h/T.w,_={},w=Object.keys(p),M=0;Mt*P&&!B)){for(w=0;wG&&iese&&(se=ie);var xe=(se-le)/(2*fe);u/=xe,le=m.l2r(le),se=m.l2r(se),m.range=m._input.range=U=O[1]||W[1]<=O[0])&&Q[0]I[0])return!0}return!1}function M(O){var I=O._fullLayout,N=I._size,U=N.p,W=i.list(O,\"\",!0),Q,le,se,fe,G,$;if(I._paperdiv.style({width:O._context.responsive&&I.autosize&&!O._context._hasZeroWidth&&!O.layout.width?\"100%\":I.width+\"px\",height:O._context.responsive&&I.autosize&&!O._context._hasZeroHeight&&!O.layout.height?\"100%\":I.height+\"px\"}).selectAll(\".main-svg\").call(r.setSize,I.width,I.height),O._context.setBackground(O,I.paper_bgcolor),Z.drawMainTitle(O),n.manage(O),!I._has(\"cartesian\"))return x.previousPromises(O);function J(je,Se,He){var Ee=je._lw/2;if(je._id.charAt(0)===\"x\"){if(Se){if(He===\"top\")return Se._offset-U-Ee}else return N.t+N.h*(1-(je.position||0))+Ee%1;return Se._offset+Se._length+U+Ee}if(Se){if(He===\"right\")return Se._offset+Se._length+U+Ee}else return N.l+N.w*(je.position||0)+Ee%1;return Se._offset-U-Ee}for(Q=0;Q0){f(O,Q,G,fe),se.attr({x:le,y:Q,\"text-anchor\":U,dy:z(I.yanchor)}).call(S.positionText,le,Q);var $=(I.text.match(S.BR_TAG_ALL)||[]).length;if($){var J=a.LINE_SPACING*$+a.MID_SHIFT;I.y===0&&(J=-J),se.selectAll(\".line\").each(function(){var ee=+this.getAttribute(\"dy\").slice(0,-2)-J+\"em\";this.setAttribute(\"dy\",ee)})}var X=H.selectAll(\".gtitle-subtitle\");if(X.node()){var re=se.node().getBBox(),ae=re.y+re.height,j=ae+o.SUBTITLE_PADDING_EM*I.subtitle.font.size;X.attr({x:le,y:j,\"text-anchor\":U,dy:z(I.yanchor)}).call(S.positionText,le,j)}}}};function v(O,I,N,U,W){var Q=I.yref===\"paper\"?O._fullLayout._size.h:O._fullLayout.height,le=A.isTopAnchor(I)?U:U-W,se=N===\"b\"?Q-le:le;return A.isTopAnchor(I)&&N===\"t\"||A.isBottomAnchor(I)&&N===\"b\"?!1:se.5?\"t\":\"b\",le=O._fullLayout.margin[Q],se=0;return I.yref===\"paper\"?se=N+I.pad.t+I.pad.b:I.yref===\"container\"&&(se=u(Q,U,W,O._fullLayout.height,N)+I.pad.t+I.pad.b),se>le?se:0}function f(O,I,N,U){var W=\"title.automargin\",Q=O._fullLayout.title,le=Q.y>.5?\"t\":\"b\",se={x:Q.x,y:Q.y,t:0,b:0},fe={};Q.yref===\"paper\"&&v(O,Q,le,I,U)?se[le]=N:Q.yref===\"container\"&&(fe[le]=N,O._fullLayout._reservedMargin[W]=fe),x.allowAutoMargin(O,W),x.autoMargin(O,W,se)}function P(O,I){var N=O.title,U=O._size,W=0;switch(I===d?W=N.pad.l:I===l&&(W=-N.pad.r),N.xref){case\"paper\":return U.l+U.w*N.x+W;case\"container\":default:return O.width*N.x+W}}function L(O,I){var N=O.title,U=O._size,W=0;if(I===\"0em\"||!I?W=-N.pad.b:I===a.CAP_SHIFT+\"em\"&&(W=N.pad.t),N.y===\"auto\")return U.t/2;switch(N.yref){case\"paper\":return U.t+U.h-U.h*N.y+W;case\"container\":default:return O.height-O.height*N.y+W}}function z(O){return O===\"top\"?a.CAP_SHIFT+.3+\"em\":O===\"bottom\"?\"-0.3em\":a.MID_SHIFT+\"em\"}function F(O){var I=O.title,N=T;return A.isRightAnchor(I)?N=l:A.isLeftAnchor(I)&&(N=d),N}function B(O){var I=O.title,N=\"0em\";return A.isTopAnchor(I)?N=a.CAP_SHIFT+\"em\":A.isMiddleAnchor(I)&&(N=a.MID_SHIFT+\"em\"),N}Z.doTraceStyle=function(O){var I=O.calcdata,N=[],U;for(U=0;U=0;F--){var B=E.append(\"path\").attr(b).style(\"opacity\",F?.1:v).call(S.stroke,y).call(S.fill,u).call(e.dashLine,F?\"solid\":P,F?4+f:f);if(s(B,d,_),L){var O=t(d.layout,\"selections\",_);B.style({cursor:\"move\"});var I={element:B.node(),plotinfo:w,gd:d,editHelpers:O,isActiveSelection:!0},N=g(m,d);x(N,B,I)}else B.style(\"pointer-events\",F?\"all\":\"none\");z[F]=B}var U=z[0],W=z[1];W.node().addEventListener(\"click\",function(){return c(d,U)})}}function s(d,T,l){var _=l.xref+l.yref;e.setClipUrl(d,\"clip\"+T._fullLayout._uid+_,T)}function c(d,T){if(i(d)){var l=T.node(),_=+l.getAttribute(\"data-index\");if(_>=0){if(_===d._fullLayout._activeSelectionIndex){p(d);return}d._fullLayout._activeSelectionIndex=_,d._fullLayout._deactivateSelection=p,n(d)}}}function h(d){if(i(d)){var T=d._fullLayout.selections.length-1;d._fullLayout._activeSelectionIndex=T,d._fullLayout._deactivateSelection=p,n(d)}}function p(d){if(i(d)){var T=d._fullLayout._activeSelectionIndex;T>=0&&(A(d),delete d._fullLayout._activeSelectionIndex,n(d))}}}}),u5=ke({\"node_modules/polybooljs/lib/build-log.js\"(Z,H){function g(){var x,A=0,S=!1;function e(t,r){return x.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),x}return x={list:[],segmentId:function(){return A++},checkIntersection:function(t,r){return e(\"check\",{seg1:t,seg2:r})},segmentChop:function(t,r){return e(\"div_seg\",{seg:t,pt:r}),e(\"chop\",{seg:t,pt:r})},statusRemove:function(t){return e(\"pop_seg\",{seg:t})},segmentUpdate:function(t){return e(\"seg_update\",{seg:t})},segmentNew:function(t,r){return e(\"new_seg\",{seg:t,primary:r})},segmentRemove:function(t){return e(\"rem_seg\",{seg:t})},tempStatus:function(t,r,o){return e(\"temp_status\",{seg:t,above:r,below:o})},rewind:function(t){return e(\"rewind\",{seg:t})},status:function(t,r,o){return e(\"status\",{seg:t,above:r,below:o})},vert:function(t){return t===S?x:(S=t,e(\"vert\",{x:t}))},log:function(t){return typeof t!=\"string\"&&(t=JSON.stringify(t,!1,\" \")),e(\"log\",{txt:t})},reset:function(){return e(\"reset\")},selected:function(t){return e(\"selected\",{segs:t})},chainStart:function(t){return e(\"chain_start\",{seg:t})},chainRemoveHead:function(t,r){return e(\"chain_rem_head\",{index:t,pt:r})},chainRemoveTail:function(t,r){return e(\"chain_rem_tail\",{index:t,pt:r})},chainNew:function(t,r){return e(\"chain_new\",{pt1:t,pt2:r})},chainMatch:function(t){return e(\"chain_match\",{index:t})},chainClose:function(t){return e(\"chain_close\",{index:t})},chainAddHead:function(t,r){return e(\"chain_add_head\",{index:t,pt:r})},chainAddTail:function(t,r){return e(\"chain_add_tail\",{index:t,pt:r})},chainConnect:function(t,r){return e(\"chain_con\",{index1:t,index2:r})},chainReverse:function(t){return e(\"chain_rev\",{index:t})},chainJoin:function(t,r){return e(\"chain_join\",{index1:t,index2:r})},done:function(){return e(\"done\")}},x}H.exports=g}}),c5=ke({\"node_modules/polybooljs/lib/epsilon.js\"(Z,H){function g(x){typeof x!=\"number\"&&(x=1e-10);var A={epsilon:function(S){return typeof S==\"number\"&&(x=S),x},pointAboveOrOnLine:function(S,e,t){var r=e[0],o=e[1],n=t[0],i=t[1],a=S[0],s=S[1];return(n-r)*(s-o)-(i-o)*(a-r)>=-x},pointBetween:function(S,e,t){var r=S[1]-e[1],o=t[0]-e[0],n=S[0]-e[0],i=t[1]-e[1],a=n*o+r*i;if(a-x)},pointsSameX:function(S,e){return Math.abs(S[0]-e[0])x!=n-r>x&&(o-s)*(r-c)/(n-c)+s-t>x&&(i=!i),o=s,n=c}return i}};return A}H.exports=g}}),f5=ke({\"node_modules/polybooljs/lib/linked-list.js\"(Z,H){var g={create:function(){var x={root:{root:!0,next:null},exists:function(A){return!(A===null||A===x.root)},isEmpty:function(){return x.root.next===null},getHead:function(){return x.root.next},insertBefore:function(A,S){for(var e=x.root,t=x.root.next;t!==null;){if(S(t)){A.prev=t.prev,A.next=t,t.prev.next=A,t.prev=A;return}e=t,t=t.next}e.next=A,A.prev=e,A.next=null},findTransition:function(A){for(var S=x.root,e=x.root.next;e!==null&&!A(e);)S=e,e=e.next;return{before:S===x.root?null:S,after:e,insert:function(t){return t.prev=S,t.next=e,S.next=t,e!==null&&(e.prev=t),t}}}};return x},node:function(x){return x.prev=null,x.next=null,x.remove=function(){x.prev.next=x.next,x.next&&(x.next.prev=x.prev),x.prev=null,x.next=null},x}};H.exports=g}}),h5=ke({\"node_modules/polybooljs/lib/intersecter.js\"(Z,H){var g=f5();function x(A,S,e){function t(T,l){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:null,below:null},otherFill:null}}function r(T,l,_){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:_.myFill.above,below:_.myFill.below},otherFill:null}}var o=g.create();function n(T,l,_,w,M,E){var m=S.pointsCompare(l,M);return m!==0?m:S.pointsSame(_,E)?0:T!==w?T?1:-1:S.pointAboveOrOnLine(_,w?M:E,w?E:M)?1:-1}function i(T,l){o.insertBefore(T,function(_){var w=n(T.isStart,T.pt,l,_.isStart,_.pt,_.other.pt);return w<0})}function a(T,l){var _=g.node({isStart:!0,pt:T.start,seg:T,primary:l,other:null,status:null});return i(_,T.end),_}function s(T,l,_){var w=g.node({isStart:!1,pt:l.end,seg:l,primary:_,other:T,status:null});T.other=w,i(w,T.pt)}function c(T,l){var _=a(T,l);return s(_,T,l),_}function h(T,l){e&&e.segmentChop(T.seg,l),T.other.remove(),T.seg.end=l,T.other.pt=l,i(T.other,T.pt)}function p(T,l){var _=r(l,T.seg.end,T.seg);return h(T,l),c(_,T.primary)}function d(T,l){var _=g.create();function w(O,I){var N=O.seg.start,U=O.seg.end,W=I.seg.start,Q=I.seg.end;return S.pointsCollinear(N,W,Q)?S.pointsCollinear(U,W,Q)||S.pointAboveOrOnLine(U,W,Q)?1:-1:S.pointAboveOrOnLine(N,W,Q)?1:-1}function M(O){return _.findTransition(function(I){var N=w(O,I.ev);return N>0})}function E(O,I){var N=O.seg,U=I.seg,W=N.start,Q=N.end,le=U.start,se=U.end;e&&e.checkIntersection(N,U);var fe=S.linesIntersect(W,Q,le,se);if(fe===!1){if(!S.pointsCollinear(W,Q,le)||S.pointsSame(W,se)||S.pointsSame(Q,le))return!1;var G=S.pointsSame(W,le),$=S.pointsSame(Q,se);if(G&&$)return I;var J=!G&&S.pointBetween(W,le,se),X=!$&&S.pointBetween(Q,le,se);if(G)return X?p(I,Q):p(O,se),I;J&&($||(X?p(I,Q):p(O,se)),p(I,W))}else fe.alongA===0&&(fe.alongB===-1?p(O,le):fe.alongB===0?p(O,fe.pt):fe.alongB===1&&p(O,se)),fe.alongB===0&&(fe.alongA===-1?p(I,W):fe.alongA===0?p(I,fe.pt):fe.alongA===1&&p(I,Q));return!1}for(var m=[];!o.isEmpty();){var b=o.getHead();if(e&&e.vert(b.pt[0]),b.isStart){let O=function(){if(y){var I=E(b,y);if(I)return I}return f?E(b,f):!1};var v=O;e&&e.segmentNew(b.seg,b.primary);var u=M(b),y=u.before?u.before.ev:null,f=u.after?u.after.ev:null;e&&e.tempStatus(b.seg,y?y.seg:!1,f?f.seg:!1);var P=O();if(P){if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,L&&(P.seg.myFill.above=!P.seg.myFill.above)}else P.seg.otherFill=b.seg.myFill;e&&e.segmentUpdate(P.seg),b.other.remove(),b.remove()}if(o.getHead()!==b){e&&e.rewind(b.seg);continue}if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,f?b.seg.myFill.below=f.seg.myFill.above:b.seg.myFill.below=T,L?b.seg.myFill.above=!b.seg.myFill.below:b.seg.myFill.above=b.seg.myFill.below}else if(b.seg.otherFill===null){var z;f?b.primary===f.primary?z=f.seg.otherFill.above:z=f.seg.myFill.above:z=b.primary?l:T,b.seg.otherFill={above:z,below:z}}e&&e.status(b.seg,y?y.seg:!1,f?f.seg:!1),b.other.status=u.insert(g.node({ev:b}))}else{var F=b.status;if(F===null)throw new Error(\"PolyBool: Zero-length segment detected; your epsilon is probably too small or too large\");if(_.exists(F.prev)&&_.exists(F.next)&&E(F.prev.ev,F.next.ev),e&&e.statusRemove(F.ev.seg),F.remove(),!b.primary){var B=b.seg.myFill;b.seg.myFill=b.seg.otherFill,b.seg.otherFill=B}m.push(b.seg)}o.getHead().remove()}return e&&e.done(),m}return A?{addRegion:function(T){for(var l,_=T[T.length-1],w=0;wr!=p>r&&t<(h-s)*(r-c)/(p-c)+s;d&&(o=!o)}return o}}}),n0=ke({\"src/lib/polygon.js\"(Z,H){\"use strict\";var g=i_().dot,x=Hi().BADNUM,A=H.exports={};A.tester=function(e){var t=e.slice(),r=t[0][0],o=r,n=t[0][1],i=n,a;for((t[t.length-1][0]!==t[0][0]||t[t.length-1][1]!==t[0][1])&&t.push(t[0]),a=1;ao||M===x||Mi||_&&c(l))}function p(l,_){var w=l[0],M=l[1];if(w===x||wo||M===x||Mi)return!1;var E=t.length,m=t[0][0],b=t[0][1],v=0,u,y,f,P,L;for(u=1;uMath.max(y,m)||M>Math.max(f,b)))if(Ma||Math.abs(g(p,c))>o)return!0;return!1},A.filter=function(e,t){var r=[e[0]],o=0,n=0;function i(s){e.push(s);var c=r.length,h=o;r.splice(n+1);for(var p=h+1;p1){var a=e.pop();i(a)}return{addPt:i,raw:e,filtered:r}}}}),y5=ke({\"src/components/selections/constants.js\"(Z,H){\"use strict\";H.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:\"-select\"}}}),_5=ke({\"src/components/selections/select.js\"(Z,H){\"use strict\";var g=m5(),x=g5(),A=lo(),S=$o().dashStyle,e=eo(),t=Ec(),r=gd().makeEventData,o=cv(),n=o.freeMode,i=o.rectMode,a=o.drawMode,s=o.openMode,c=o.selectMode,h=Bp(),p=t0(),d=g_(),T=Rp().clearOutline,l=Op(),_=l.handleEllipse,w=l.readPaths,M=m_().newShapes,E=o2(),m=d2().activateLastSelection,b=un(),v=b.sorterAsc,u=n0(),y=l_(),f=qc().getFromId,P=e0(),L=r0().redrawReglTraces,z=y5(),F=z.MINSELECT,B=u.filter,O=u.tester,I=p_(),N=I.p2r,U=I.axValue,W=I.getTransform;function Q(Be){return Be.subplot!==void 0}function le(Be,Ke,je,Se,He){var Ee=!Q(Se),we=n(He),Le=i(He),nt=s(He),pt=a(He),bt=c(He),Rt=He===\"drawline\",Nt=He===\"drawcircle\",Xt=Rt||Nt,$t=Se.gd,ur=$t._fullLayout,pn=bt&&ur.newselection.mode===\"immediate\"&&Ee,Rn=ur._zoomlayer,Nn=Se.element.getBoundingClientRect(),On=Se.plotinfo,ni=W(On),zn=Ke-Nn.left,Qn=je-Nn.top;ur._calcInverseTransform($t);var gi=b.apply3DTransform(ur._invTransform)(zn,Qn);zn=gi[0],Qn=gi[1];var Zt=ur._invScaleX,Ft=ur._invScaleY,Ht=zn,Vt=Qn,wr=\"M\"+zn+\",\"+Qn,$r=Se.xaxes[0],xn=Se.yaxes[0],en=$r._length,Fn=xn._length,Wn=Be.altKey&&!(a(He)&&nt),ri,Sn,ui,gt,yt,Pr,Ir;X(Be,$t,Se),we&&(ri=B([[zn,Qn]],z.BENDPX));var Tr=Rn.selectAll(\"path.select-outline-\"+On.id).data([1]),Mr=pt?ur.newshape:ur.newselection;pt&&(Se.hasText=Mr.label.text||Mr.label.texttemplate);var Lr=pt&&!nt?Mr.fillcolor:\"rgba(0,0,0,0)\",Ur=Mr.line.color||(Ee?e.contrast($t._fullLayout.plot_bgcolor):\"#7f7f7f\");Tr.enter().append(\"path\").attr(\"class\",\"select-outline select-outline-\"+On.id).style({opacity:pt?Mr.opacity/2:1,\"stroke-dasharray\":S(Mr.line.dash,Mr.line.width),\"stroke-width\":Mr.line.width+\"px\",\"shape-rendering\":\"crispEdges\"}).call(e.stroke,Ur).call(e.fill,Lr).attr(\"fill-rule\",\"evenodd\").classed(\"cursor-move\",!!pt).attr(\"transform\",ni).attr(\"d\",wr+\"Z\");var Dr=Rn.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:e.background,stroke:e.defaultLine,\"stroke-width\":1}).attr(\"transform\",ni).attr(\"d\",\"M0,0Z\");if(pt&&Se.hasText){var nn=Rn.select(\".label-temp\");nn.empty()&&(nn=Rn.append(\"g\").classed(\"label-temp\",!0).classed(\"select-outline\",!0).style({opacity:.8}))}var vn=ur._uid+z.SELECTID,gn=[],kt=ie($t,Se.xaxes,Se.yaxes,Se.subplot);pn&&!Be.shiftKey&&(Se._clearSubplotSelections=function(){if(Ee){var yr=$r._id,on=xn._id;ot($t,yr,on,kt);for(var An=($t.layout||{}).selections||[],Zn=[],Bn=!1,wn=0;wn=0){$t._fullLayout._deactivateShape($t);return}if(!pt){var An=ur.clickmode;y.done(vn).then(function(){if(y.clear(vn),yr===2){for(Tr.remove(),yt=0;yt-1&&se(on,$t,Se.xaxes,Se.yaxes,Se.subplot,Se,Tr),An===\"event\"&&br($t,void 0);t.click($t,on,On.id)}).catch(b.error)}},Se.doneFn=function(){Dr.remove(),y.done(vn).then(function(){y.clear(vn),!pn&>&&Se.selectionDefs&&(gt.subtract=Wn,Se.selectionDefs.push(gt),Se.mergedPolygons.length=0,[].push.apply(Se.mergedPolygons,ui)),(pn||pt)&&j(Se,pn),Se.doneFnCompleted&&Se.doneFnCompleted(gn),bt&&br($t,Ir)}).catch(b.error)}}function se(Be,Ke,je,Se,He,Ee,we){var Le=Ke._hoverdata,nt=Ke._fullLayout,pt=nt.clickmode,bt=pt.indexOf(\"event\")>-1,Rt=[],Nt,Xt,$t,ur,pn,Rn,Nn,On,ni,zn;if(xe(Le)){X(Be,Ke,Ee),Nt=ie(Ke,je,Se,He);var Qn=Te(Le,Nt),gi=Qn.pointNumbers.length>0;if(gi?Ie(Nt,Qn):Ye(Nt)&&(Nn=Ue(Qn))){for(we&&we.remove(),zn=0;zn=0}function ae(Be){return Be._fullLayout._activeSelectionIndex>=0}function j(Be,Ke){var je=Be.dragmode,Se=Be.plotinfo,He=Be.gd;re(He)&&He._fullLayout._deactivateShape(He),ae(He)&&He._fullLayout._deactivateSelection(He);var Ee=He._fullLayout,we=Ee._zoomlayer,Le=a(je),nt=c(je);if(Le||nt){var pt=we.selectAll(\".select-outline-\"+Se.id);if(pt&&He._fullLayout._outlining){var bt;Le&&(bt=M(pt,Be)),bt&&A.call(\"_guiRelayout\",He,{shapes:bt});var Rt;nt&&!Q(Be)&&(Rt=E(pt,Be)),Rt&&(He._fullLayout._noEmitSelectedAtStart=!0,A.call(\"_guiRelayout\",He,{selections:Rt}).then(function(){Ke&&m(He)})),He._fullLayout._outlining=!1}}Se.selection={},Se.selection.selectionDefs=Be.selectionDefs=[],Se.selection.mergedPolygons=Be.mergedPolygons=[]}function ee(Be){return Be._id}function ie(Be,Ke,je,Se){if(!Be.calcdata)return[];var He=[],Ee=Ke.map(ee),we=je.map(ee),Le,nt,pt;for(pt=0;pt0,Ee=He?Se[0]:je;return Ke.selectedpoints?Ke.selectedpoints.indexOf(Ee)>-1:!1}function Ie(Be,Ke){var je=[],Se,He,Ee,we;for(we=0;we0&&je.push(Se);if(je.length===1&&(Ee=je[0]===Ke.searchInfo,Ee&&(He=Ke.searchInfo.cd[0].trace,He.selectedpoints.length===Ke.pointNumbers.length))){for(we=0;we1||(Ke+=Se.selectedpoints.length,Ke>1)))return!1;return Ke===1}function it(Be,Ke,je){var Se;for(Se=0;Se-1&&Ke;if(!we&&Ke){var yr=Lt(Be,!0);if(yr.length){var on=yr[0].xref,An=yr[0].yref;if(on&&An){var Zn=qt(yr),Bn=ar([f(Be,on,\"x\"),f(Be,An,\"y\")]);Bn(gn,Zn)}}Be._fullLayout._noEmitSelectedAtStart?Be._fullLayout._noEmitSelectedAtStart=!1:or&&br(Be,gn),Nt._reselect=!1}if(!we&&Nt._deselect){var wn=Nt._deselect;Le=wn.xref,nt=wn.yref,rt(Le,nt,bt)||ot(Be,Le,nt,Se),or&&(gn.points.length?br(Be,gn):_t(Be)),Nt._deselect=!1}return{eventData:gn,selectionTesters:je}}function Oe(Be){var Ke=Be.calcdata;if(Ke)for(var je=0;je=0){Lr._fullLayout._deactivateShape(Lr);return}var Ur=Lr._fullLayout.clickmode;if($(Lr),Tr===2&&!Me&&Sn(),ut)Ur.indexOf(\"select\")>-1&&v(Mr,Lr,ot,et,xe.id,bt),Ur.indexOf(\"event\")>-1&&a.click(Lr,Mr,xe.id);else if(Tr===1&&Me){var Dr=it?ue:pe,nn=it===\"s\"||at===\"w\"?0:1,vn=Dr._name+\".range[\"+nn+\"]\",gn=I(Dr,nn),kt=\"left\",or=\"middle\";if(Dr.fixedrange)return;it?(or=it===\"n\"?\"top\":\"bottom\",Dr.side===\"right\"&&(kt=\"right\")):at===\"e\"&&(kt=\"right\"),Lr._context.showAxisRangeEntryBoxes&&g.select(pt).call(o.makeEditable,{gd:Lr,immediate:!0,background:Lr._fullLayout.paper_bgcolor,text:String(gn),fill:Dr.tickfont?Dr.tickfont.color:\"#444\",horizontalAlign:kt,verticalAlign:or}).on(\"edit\",function(yr){var on=Dr.d2r(yr);on!==void 0&&t.call(\"_guiRelayout\",Lr,vn,on)})}}h.init(bt);var Xt,$t,ur,pn,Rn,Nn,On,ni,zn,Qn;function gi(Tr,Mr,Lr){var Ur=pt.getBoundingClientRect();Xt=Mr-Ur.left,$t=Lr-Ur.top,ce._fullLayout._calcInverseTransform(ce);var Dr=x.apply3DTransform(ce._fullLayout._invTransform)(Xt,$t);Xt=Dr[0],$t=Dr[1],ur={l:Xt,r:Xt,w:0,t:$t,b:$t,h:0},pn=ce._hmpixcount?ce._hmlumcount/ce._hmpixcount:S(ce._fullLayout.plot_bgcolor).getLuminance(),Rn=\"M0,0H\"+Bt+\"V\"+qt+\"H0V0\",Nn=!1,On=\"xy\",Qn=!1,ni=le(tt,pn,Lt,Et,Rn),zn=se(tt,Lt,Et)}function Zt(Tr,Mr){if(ce._transitioningWithDuration)return!1;var Lr=Math.max(0,Math.min(Bt,Ee*Tr+Xt)),Ur=Math.max(0,Math.min(qt,we*Mr+$t)),Dr=Math.abs(Lr-Xt),nn=Math.abs(Ur-$t);ur.l=Math.min(Xt,Lr),ur.r=Math.max(Xt,Lr),ur.t=Math.min($t,Ur),ur.b=Math.max($t,Ur);function vn(){On=\"\",ur.r=ur.l,ur.t=ur.b,zn.attr(\"d\",\"M0,0Z\")}if(fr.isSubplotConstrained)Dr>P||nn>P?(On=\"xy\",Dr/Bt>nn/qt?(nn=Dr*qt/Bt,$t>Ur?ur.t=$t-nn:ur.b=$t+nn):(Dr=nn*Bt/qt,Xt>Lr?ur.l=Xt-Dr:ur.r=Xt+Dr),zn.attr(\"d\",ae(ur))):vn();else if(ar.isSubplotConstrained)if(Dr>P||nn>P){On=\"xy\";var gn=Math.min(ur.l/Bt,(qt-ur.b)/qt),kt=Math.max(ur.r/Bt,(qt-ur.t)/qt);ur.l=gn*Bt,ur.r=kt*Bt,ur.b=(1-gn)*qt,ur.t=(1-kt)*qt,zn.attr(\"d\",ae(ur))}else vn();else!gr||nn0){var yr;if(ar.isSubplotConstrained||!Rr&&gr.length===1){for(yr=0;yr1&&(vn.maxallowed!==void 0&&_t===(vn.range[0]1&&(gn.maxallowed!==void 0&&Be===(gn.range[0]=0?Math.min(ce,.9):1/(1/Math.max(ce,-.3)+3.222))}function Q(ce,xe,Te){return ce?ce===\"nsew\"?Te?\"\":xe===\"pan\"?\"move\":\"crosshair\":ce.toLowerCase()+\"-resize\":\"pointer\"}function le(ce,xe,Te,Ue,Ie){return ce.append(\"path\").attr(\"class\",\"zoombox\").style({fill:xe>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"transform\",r(Te,Ue)).attr(\"d\",Ie+\"Z\")}function se(ce,xe,Te){return ce.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:n.background,stroke:n.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"transform\",r(xe,Te)).attr(\"d\",\"M0,0Z\")}function fe(ce,xe,Te,Ue,Ie,Ye){ce.attr(\"d\",Ue+\"M\"+Te.l+\",\"+Te.t+\"v\"+Te.h+\"h\"+Te.w+\"v-\"+Te.h+\"h-\"+Te.w+\"Z\"),G(ce,xe,Ie,Ye)}function G(ce,xe,Te,Ue){Te||(ce.transition().style(\"fill\",Ue>.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),xe.transition().style(\"opacity\",1).duration(200))}function $(ce){g.select(ce).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}function J(ce){L&&ce.data&&ce._context.showTips&&(x.notifier(x._(ce,\"Double-click to zoom back out\"),\"long\"),L=!1)}function X(ce,xe){return\"M\"+(ce.l-.5)+\",\"+(xe-P-.5)+\"h-3v\"+(2*P+1)+\"h3ZM\"+(ce.r+.5)+\",\"+(xe-P-.5)+\"h3v\"+(2*P+1)+\"h-3Z\"}function re(ce,xe){return\"M\"+(xe-P-.5)+\",\"+(ce.t-.5)+\"v-3h\"+(2*P+1)+\"v3ZM\"+(xe-P-.5)+\",\"+(ce.b+.5)+\"v3h\"+(2*P+1)+\"v-3Z\"}function ae(ce){var xe=Math.floor(Math.min(ce.b-ce.t,ce.r-ce.l,P)/2);return\"M\"+(ce.l-3.5)+\",\"+(ce.t-.5+xe)+\"h3v\"+-xe+\"h\"+xe+\"v-3h-\"+(xe+3)+\"ZM\"+(ce.r+3.5)+\",\"+(ce.t-.5+xe)+\"h-3v\"+-xe+\"h\"+-xe+\"v-3h\"+(xe+3)+\"ZM\"+(ce.r+3.5)+\",\"+(ce.b+.5-xe)+\"h-3v\"+xe+\"h\"+-xe+\"v3h\"+(xe+3)+\"ZM\"+(ce.l-3.5)+\",\"+(ce.b+.5-xe)+\"h3v\"+xe+\"h\"+xe+\"v3h-\"+(xe+3)+\"Z\"}function j(ce,xe,Te,Ue,Ie){for(var Ye=!1,it={},at={},tt,ut,Me,pe,ue=(Ie||{}).xaHash,Oe=(Ie||{}).yaHash,rt=0;rt1&&x.warn(\"Full array edits are incompatible with other edits\",c);var w=i[\"\"][\"\"];if(t(w))n.set(null);else if(Array.isArray(w))n.set(w);else return x.warn(\"Unrecognized full array edit value\",c,w),!0;return T?!1:(h(l,_),p(o),!0)}var M=Object.keys(i).map(Number).sort(A),E=n.get(),m=E||[],b=s(_,c).get(),v=[],u=-1,y=m.length,f,P,L,z,F,B,O,I;for(f=0;fm.length-(O?0:1)){x.warn(\"index out of range\",c,L);continue}if(B!==void 0)F.length>1&&x.warn(\"Insertion & removal are incompatible with edits to the same index.\",c,L),t(B)?v.push(L):O?(B===\"add\"&&(B={}),m.splice(L,0,B),b&&b.splice(L,0,{})):x.warn(\"Unrecognized full object edit value\",c,L,B),u===-1&&(u=L);else for(P=0;P=0;f--)m.splice(v[f],1),b&&b.splice(v[f],1);if(m.length?E||n.set(m):n.set(null),T)return!1;if(h(l,_),d!==g){var N;if(u===-1)N=M;else{for(y=Math.max(m.length,y),N=[],f=0;f=u));f++)N.push(L);for(f=u;f0&&A.log(\"Clearing previous rejected promises from queue.\"),l._promises=[]},Z.cleanLayout=function(l){var _,w;l||(l={}),l.xaxis1&&(l.xaxis||(l.xaxis=l.xaxis1),delete l.xaxis1),l.yaxis1&&(l.yaxis||(l.yaxis=l.yaxis1),delete l.yaxis1),l.scene1&&(l.scene||(l.scene=l.scene1),delete l.scene1);var M=(S.subplotsRegistry.cartesian||{}).attrRegex,E=(S.subplotsRegistry.polar||{}).attrRegex,m=(S.subplotsRegistry.ternary||{}).attrRegex,b=(S.subplotsRegistry.gl3d||{}).attrRegex,v=Object.keys(l);for(_=0;_3?(O.x=1.02,O.xanchor=\"left\"):O.x<-2&&(O.x=-.02,O.xanchor=\"right\"),O.y>3?(O.y=1.02,O.yanchor=\"bottom\"):O.y<-2&&(O.y=-.02,O.yanchor=\"top\")),l.dragmode===\"rotate\"&&(l.dragmode=\"orbit\"),t.clean(l),l.template&&l.template.layout&&Z.cleanLayout(l.template.layout),l};function i(l,_){var w=l[_],M=_.charAt(0);w&&w!==\"paper\"&&(l[_]=r(w,M,!0))}Z.cleanData=function(l){for(var _=0;_0)return l.substr(0,_)}Z.hasParent=function(l,_){for(var w=d(_);w;){if(w in l)return!0;w=d(w)}return!1};var T=[\"x\",\"y\",\"z\"];Z.clearAxisTypes=function(l,_,w){for(var M=0;M<_.length;M++)for(var E=l._fullData[M],m=0;m<3;m++){var b=o(l,E,T[m]);if(b&&b.type!==\"log\"){var v=b._name,u=b._id.substr(1);if(u.substr(0,5)===\"scene\"){if(w[u]!==void 0)continue;v=u+\".\"+v}var y=v+\".type\";w[v]===void 0&&w[y]===void 0&&A.nestedProperty(l.layout,y).set(null)}}}}}),__=ke({\"src/plot_api/plot_api.js\"(Z){\"use strict\";var H=_i(),g=Yn(),x=Hw(),A=un(),S=A.nestedProperty,e=jg(),t=VE(),r=lo(),o=Vg(),n=Zu(),i=Ho(),a=$w(),s=wh(),c=$o(),h=eo(),p=g2().initInteractions,d=zd(),T=tf().clearOutline,l=km().dfltConfig,_=T5(),w=A5(),M=r0(),E=ju(),m=oh().AX_NAME_PATTERN,b=0,v=5;function u(Se,He,Ee,we){var Le;if(Se=A.getGraphDiv(Se),e.init(Se),A.isPlainObject(He)){var nt=He;He=nt.data,Ee=nt.layout,we=nt.config,Le=nt.frames}var pt=e.triggerHandler(Se,\"plotly_beforeplot\",[He,Ee,we]);if(pt===!1)return Promise.reject();!He&&!Ee&&!A.isPlotDiv(Se)&&A.warn(\"Calling _doPlot as if redrawing but this container doesn't yet have a plot.\",Se);function bt(){if(Le)return Z.addFrames(Se,Le)}z(Se,we),Ee||(Ee={}),H.select(Se).classed(\"js-plotly-plot\",!0),c.makeTester(),Array.isArray(Se._promises)||(Se._promises=[]);var Rt=(Se.data||[]).length===0&&Array.isArray(He);Array.isArray(He)&&(w.cleanData(He),Rt?Se.data=He:Se.data.push.apply(Se.data,He),Se.empty=!1),(!Se.layout||Rt)&&(Se.layout=w.cleanLayout(Ee)),n.supplyDefaults(Se);var Nt=Se._fullLayout,Xt=Nt._has(\"cartesian\");Nt._replotting=!0,(Rt||Nt._shouldCreateBgLayer)&&(je(Se),Nt._shouldCreateBgLayer&&delete Nt._shouldCreateBgLayer),c.initGradients(Se),c.initPatterns(Se),Rt&&i.saveShowSpikeInitial(Se);var $t=!Se.calcdata||Se.calcdata.length!==(Se._fullData||[]).length;$t&&n.doCalcdata(Se);for(var ur=0;ur=Se.data.length||Le<-Se.data.length)throw new Error(Ee+\" must be valid indices for gd.data.\");if(He.indexOf(Le,we+1)>-1||Le>=0&&He.indexOf(-Se.data.length+Le)>-1||Le<0&&He.indexOf(Se.data.length+Le)>-1)throw new Error(\"each index in \"+Ee+\" must be unique.\")}}function N(Se,He,Ee){if(!Array.isArray(Se.data))throw new Error(\"gd.data must be an array.\");if(typeof He>\"u\")throw new Error(\"currentIndices is a required argument.\");if(Array.isArray(He)||(He=[He]),I(Se,He,\"currentIndices\"),typeof Ee<\"u\"&&!Array.isArray(Ee)&&(Ee=[Ee]),typeof Ee<\"u\"&&I(Se,Ee,\"newIndices\"),typeof Ee<\"u\"&&He.length!==Ee.length)throw new Error(\"current and new indices must be of equal length.\")}function U(Se,He,Ee){var we,Le;if(!Array.isArray(Se.data))throw new Error(\"gd.data must be an array.\");if(typeof He>\"u\")throw new Error(\"traces must be defined.\");for(Array.isArray(He)||(He=[He]),we=0;we\"u\")throw new Error(\"indices must be an integer or array of integers\");I(Se,Ee,\"indices\");for(var nt in He){if(!Array.isArray(He[nt])||He[nt].length!==Ee.length)throw new Error(\"attribute \"+nt+\" must be an array of length equal to indices array length\");if(Le&&(!(nt in we)||!Array.isArray(we[nt])||we[nt].length!==He[nt].length))throw new Error(\"when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object\")}}function Q(Se,He,Ee,we){var Le=A.isPlainObject(we),nt=[],pt,bt,Rt,Nt,Xt;Array.isArray(Ee)||(Ee=[Ee]),Ee=O(Ee,Se.data.length-1);for(var $t in He)for(var ur=0;ur=0&&Xt<$t.length?$t.splice(0,$t.length-Xt):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.prependTraces,bt,fe,arguments),pt}function G(Se,He,Ee,we){Se=A.getGraphDiv(Se);function Le(Rt,Nt,Xt){var $t,ur;if(A.isTypedArray(Rt))if(Xt<=0){var pn=new Rt.constructor(0),Rn=se(Nt,Rt);Xt<0?($t=Rn,ur=pn):($t=pn,ur=Rn)}else if($t=new Rt.constructor(Xt),ur=new Rt.constructor(Rt.length+Nt.length-Xt),Xt===Nt.length)$t.set(Nt),ur.set(Rt);else if(Xt=0&&Xt<$t.length?$t.splice(Xt,$t.length):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.extendTraces,bt,G,arguments),pt}function $(Se,He,Ee){Se=A.getGraphDiv(Se);var we=[],Le=Z.deleteTraces,nt=$,pt=[Se,we],bt=[Se,He],Rt,Nt;for(U(Se,He,Ee),Array.isArray(He)||(He=[He]),He=He.map(function(Xt){return A.extendFlat({},Xt)}),w.cleanData(He),Rt=0;Rt\"u\")return Nt=Z.redraw(Se),t.add(Se,Le,pt,nt,bt),Nt;Array.isArray(Ee)||(Ee=[Ee]);try{N(Se,we,Ee)}catch(Xt){throw Se.data.splice(Se.data.length-He.length,He.length),Xt}return t.startSequence(Se),t.add(Se,Le,pt,nt,bt),Nt=Z.moveTraces(Se,we,Ee),t.stopSequence(Se),Nt}function J(Se,He){Se=A.getGraphDiv(Se);var Ee=[],we=Z.addTraces,Le=J,nt=[Se,Ee,He],pt=[Se,He],bt,Rt;if(typeof He>\"u\")throw new Error(\"indices must be an integer or array of integers.\");for(Array.isArray(He)||(He=[He]),I(Se,He,\"indices\"),He=O(He,Se.data.length-1),He.sort(A.sorterDes),bt=0;bt\"u\")for(Ee=[],Nt=0;Nt0&&typeof Vt.parts[xn]!=\"string\";)xn--;var en=Vt.parts[xn],Fn=Vt.parts[xn-1]+\".\"+en,Wn=Vt.parts.slice(0,xn).join(\".\"),ri=S(Se.layout,Wn).get(),Sn=S(we,Wn).get(),ui=Vt.get();if(wr!==void 0){ni[Ht]=wr,zn[Ht]=en===\"reverse\"?wr:ae(ui);var gt=o.getLayoutValObject(we,Vt.parts);if(gt&>.impliedEdits&&wr!==null)for(var yt in gt.impliedEdits)Qn(A.relativeAttr(Ht,yt),gt.impliedEdits[yt]);if([\"width\",\"height\"].indexOf(Ht)!==-1)if(wr){Qn(\"autosize\",null);var Pr=Ht===\"height\"?\"width\":\"height\";Qn(Pr,we[Pr])}else we[Ht]=Se._initialAutoSize[Ht];else if(Ht===\"autosize\")Qn(\"width\",wr?null:we.width),Qn(\"height\",wr?null:we.height);else if(Fn.match(Ie))Ft(Fn),S(we,Wn+\"._inputRange\").set(null);else if(Fn.match(Ye)){Ft(Fn),S(we,Wn+\"._inputRange\").set(null);var Ir=S(we,Wn).get();Ir._inputDomain&&(Ir._input.domain=Ir._inputDomain.slice())}else Fn.match(it)&&S(we,Wn+\"._inputDomain\").set(null);if(en===\"type\"){Zt=ri;var Tr=Sn.type===\"linear\"&&wr===\"log\",Mr=Sn.type===\"log\"&&wr===\"linear\";if(Tr||Mr){if(!Zt||!Zt.range)Qn(Wn+\".autorange\",!0);else if(Sn.autorange)Tr&&(Zt.range=Zt.range[1]>Zt.range[0]?[1,2]:[2,1]);else{var Lr=Zt.range[0],Ur=Zt.range[1];Tr?(Lr<=0&&Ur<=0&&Qn(Wn+\".autorange\",!0),Lr<=0?Lr=Ur/1e6:Ur<=0&&(Ur=Lr/1e6),Qn(Wn+\".range[0]\",Math.log(Lr)/Math.LN10),Qn(Wn+\".range[1]\",Math.log(Ur)/Math.LN10)):(Qn(Wn+\".range[0]\",Math.pow(10,Lr)),Qn(Wn+\".range[1]\",Math.pow(10,Ur)))}Array.isArray(we._subplots.polar)&&we._subplots.polar.length&&we[Vt.parts[0]]&&Vt.parts[1]===\"radialaxis\"&&delete we[Vt.parts[0]]._subplot.viewInitial[\"radialaxis.range\"],r.getComponentMethod(\"annotations\",\"convertCoords\")(Se,Sn,wr,Qn),r.getComponentMethod(\"images\",\"convertCoords\")(Se,Sn,wr,Qn)}else Qn(Wn+\".autorange\",!0),Qn(Wn+\".range\",null);S(we,Wn+\"._inputRange\").set(null)}else if(en.match(m)){var Dr=S(we,Ht).get(),nn=(wr||{}).type;(!nn||nn===\"-\")&&(nn=\"linear\"),r.getComponentMethod(\"annotations\",\"convertCoords\")(Se,Dr,nn,Qn),r.getComponentMethod(\"images\",\"convertCoords\")(Se,Dr,nn,Qn)}var vn=_.containerArrayMatch(Ht);if(vn){Xt=vn.array,$t=vn.index;var gn=vn.property,kt=gt||{editType:\"calc\"};$t!==\"\"&&gn===\"\"&&(_.isAddVal(wr)?zn[Ht]=null:_.isRemoveVal(wr)?zn[Ht]=(S(Ee,Xt).get()||[])[$t]:A.warn(\"unrecognized full object value\",He)),E.update(On,kt),Nt[Xt]||(Nt[Xt]={});var or=Nt[Xt][$t];or||(or=Nt[Xt][$t]={}),or[gn]=wr,delete He[Ht]}else en===\"reverse\"?(ri.range?ri.range.reverse():(Qn(Wn+\".autorange\",!0),ri.range=[1,0]),Sn.autorange?On.calc=!0:On.plot=!0):(Ht===\"dragmode\"&&(wr===!1&&ui!==!1||wr!==!1&&ui===!1)||we._has(\"scatter-like\")&&we._has(\"regl\")&&Ht===\"dragmode\"&&(wr===\"lasso\"||wr===\"select\")&&!(ui===\"lasso\"||ui===\"select\")?On.plot=!0:gt?E.update(On,gt):On.calc=!0,Vt.set(wr))}}for(Xt in Nt){var yr=_.applyContainerArrayChanges(Se,nt(Ee,Xt),Nt[Xt],On,nt);yr||(On.plot=!0)}for(var on in gi){Zt=i.getFromId(Se,on);var An=Zt&&Zt._constraintGroup;if(An){On.calc=!0;for(var Zn in An)gi[Zn]||(i.getFromId(Se,Zn)._constraintShrinkable=!0)}}(tt(Se)||He.height||He.width)&&(On.plot=!0);var Bn=we.shapes;for($t=0;$t1;)if(we.pop(),Ee=S(He,we.join(\".\")+\".uirevision\").get(),Ee!==void 0)return Ee;return He.uirevision}function ot(Se,He){for(var Ee=0;Ee=Le.length?Le[0]:Le[Nt]:Le}function bt(Nt){return Array.isArray(nt)?Nt>=nt.length?nt[0]:nt[Nt]:nt}function Rt(Nt,Xt){var $t=0;return function(){if(Nt&&++$t===Xt)return Nt()}}return new Promise(function(Nt,Xt){function $t(){if(we._frameQueue.length!==0){for(;we._frameQueue.length;){var en=we._frameQueue.pop();en.onInterrupt&&en.onInterrupt()}Se.emit(\"plotly_animationinterrupted\",[])}}function ur(en){if(en.length!==0){for(var Fn=0;Fnwe._timeToNext&&Rn()};en()}var On=0;function ni(en){return Array.isArray(Le)?On>=Le.length?en.transitionOpts=Le[On]:en.transitionOpts=Le[0]:en.transitionOpts=Le,On++,en}var zn,Qn,gi=[],Zt=He==null,Ft=Array.isArray(He),Ht=!Zt&&!Ft&&A.isPlainObject(He);if(Ht)gi.push({type:\"object\",data:ni(A.extendFlat({},He))});else if(Zt||[\"string\",\"number\"].indexOf(typeof He)!==-1)for(zn=0;zn0&&$r$r)&&xn.push(Qn);gi=xn}}gi.length>0?ur(gi):(Se.emit(\"plotly_animated\"),Nt())})}function br(Se,He,Ee){if(Se=A.getGraphDiv(Se),He==null)return Promise.resolve();if(!A.isPlotDiv(Se))throw new Error(\"This element is not a Plotly plot: \"+Se+\". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/\");var we,Le,nt,pt,bt=Se._transitionData._frames,Rt=Se._transitionData._frameHash;if(!Array.isArray(He))throw new Error(\"addFrames failure: frameList must be an Array of frame definitions\"+He);var Nt=bt.length+He.length*2,Xt=[],$t={};for(we=He.length-1;we>=0;we--)if(A.isPlainObject(He[we])){var ur=He[we].name,pn=(Rt[ur]||$t[ur]||{}).name,Rn=He[we].name,Nn=Rt[pn]||$t[pn];pn&&Rn&&typeof Rn==\"number\"&&Nn&&bVt.index?-1:Ht.index=0;we--){if(Le=Xt[we].frame,typeof Le.name==\"number\"&&A.warn(\"Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings\"),!Le.name)for(;Rt[Le.name=\"frame \"+Se._transitionData._counter++];);if(Rt[Le.name]){for(nt=0;nt=0;Ee--)we=He[Ee],nt.push({type:\"delete\",index:we}),pt.unshift({type:\"insert\",index:we,value:Le[we]});var bt=n.modifyFrames,Rt=n.modifyFrames,Nt=[Se,pt],Xt=[Se,nt];return t&&t.add(Se,bt,Nt,Rt,Xt),n.modifyFrames(Se,nt)}function Be(Se){Se=A.getGraphDiv(Se);var He=Se._fullLayout||{},Ee=Se._fullData||[];return n.cleanPlot([],{},Ee,He),n.purge(Se),e.purge(Se),He._container&&He._container.remove(),delete Se._context,Se}function Ke(Se){var He=Se._fullLayout,Ee=Se.getBoundingClientRect();if(!A.equalDomRects(Ee,He._lastBBox)){var we=He._invTransform=A.inverseTransformMatrix(A.getFullTransformMatrix(Se));He._invScaleX=Math.sqrt(we[0][0]*we[0][0]+we[0][1]*we[0][1]+we[0][2]*we[0][2]),He._invScaleY=Math.sqrt(we[1][0]*we[1][0]+we[1][1]*we[1][1]+we[1][2]*we[1][2]),He._lastBBox=Ee}}function je(Se){var He=H.select(Se),Ee=Se._fullLayout;if(Ee._calcInverseTransform=Ke,Ee._calcInverseTransform(Se),Ee._container=He.selectAll(\".plot-container\").data([0]),Ee._container.enter().insert(\"div\",\":first-child\").classed(\"plot-container\",!0).classed(\"plotly\",!0).style({width:\"100%\",height:\"100%\"}),Ee._paperdiv=Ee._container.selectAll(\".svg-container\").data([0]),Ee._paperdiv.enter().append(\"div\").classed(\"user-select-none\",!0).classed(\"svg-container\",!0).style(\"position\",\"relative\"),Ee._glcontainer=Ee._paperdiv.selectAll(\".gl-container\").data([{}]),Ee._glcontainer.enter().append(\"div\").classed(\"gl-container\",!0),Ee._paperdiv.selectAll(\".main-svg\").remove(),Ee._paperdiv.select(\".modebar-container\").remove(),Ee._paper=Ee._paperdiv.insert(\"svg\",\":first-child\").classed(\"main-svg\",!0),Ee._toppaper=Ee._paperdiv.append(\"svg\").classed(\"main-svg\",!0),Ee._modebardiv=Ee._paperdiv.append(\"div\"),delete Ee._modeBar,Ee._hoverpaper=Ee._paperdiv.append(\"svg\").classed(\"main-svg\",!0),!Ee._uid){var we={};H.selectAll(\"defs\").each(function(){this.id&&(we[this.id.split(\"-\")[1]]=1)}),Ee._uid=A.randstr(we)}Ee._paperdiv.selectAll(\".main-svg\").attr(d.svgAttrs),Ee._defs=Ee._paper.append(\"defs\").attr(\"id\",\"defs-\"+Ee._uid),Ee._clips=Ee._defs.append(\"g\").classed(\"clips\",!0),Ee._topdefs=Ee._toppaper.append(\"defs\").attr(\"id\",\"topdefs-\"+Ee._uid),Ee._topclips=Ee._topdefs.append(\"g\").classed(\"clips\",!0),Ee._bgLayer=Ee._paper.append(\"g\").classed(\"bglayer\",!0),Ee._draggers=Ee._paper.append(\"g\").classed(\"draglayer\",!0);var Le=Ee._paper.append(\"g\").classed(\"layer-below\",!0);Ee._imageLowerLayer=Le.append(\"g\").classed(\"imagelayer\",!0),Ee._shapeLowerLayer=Le.append(\"g\").classed(\"shapelayer\",!0),Ee._cartesianlayer=Ee._paper.append(\"g\").classed(\"cartesianlayer\",!0),Ee._polarlayer=Ee._paper.append(\"g\").classed(\"polarlayer\",!0),Ee._smithlayer=Ee._paper.append(\"g\").classed(\"smithlayer\",!0),Ee._ternarylayer=Ee._paper.append(\"g\").classed(\"ternarylayer\",!0),Ee._geolayer=Ee._paper.append(\"g\").classed(\"geolayer\",!0),Ee._funnelarealayer=Ee._paper.append(\"g\").classed(\"funnelarealayer\",!0),Ee._pielayer=Ee._paper.append(\"g\").classed(\"pielayer\",!0),Ee._iciclelayer=Ee._paper.append(\"g\").classed(\"iciclelayer\",!0),Ee._treemaplayer=Ee._paper.append(\"g\").classed(\"treemaplayer\",!0),Ee._sunburstlayer=Ee._paper.append(\"g\").classed(\"sunburstlayer\",!0),Ee._indicatorlayer=Ee._toppaper.append(\"g\").classed(\"indicatorlayer\",!0),Ee._glimages=Ee._paper.append(\"g\").classed(\"glimages\",!0);var nt=Ee._toppaper.append(\"g\").classed(\"layer-above\",!0);Ee._imageUpperLayer=nt.append(\"g\").classed(\"imagelayer\",!0),Ee._shapeUpperLayer=nt.append(\"g\").classed(\"shapelayer\",!0),Ee._selectionLayer=Ee._toppaper.append(\"g\").classed(\"selectionlayer\",!0),Ee._infolayer=Ee._toppaper.append(\"g\").classed(\"infolayer\",!0),Ee._menulayer=Ee._toppaper.append(\"g\").classed(\"menulayer\",!0),Ee._zoomlayer=Ee._toppaper.append(\"g\").classed(\"zoomlayer\",!0),Ee._hoverlayer=Ee._hoverpaper.append(\"g\").classed(\"hoverlayer\",!0),Ee._modebardiv.classed(\"modebar-container\",!0).style(\"position\",\"absolute\").style(\"top\",\"0px\").style(\"right\",\"0px\"),Se.emit(\"plotly_framework\")}Z.animate=gr,Z.addFrames=br,Z.deleteFrames=_t,Z.addTraces=$,Z.deleteTraces=J,Z.extendTraces=fe,Z.moveTraces=X,Z.prependTraces=G,Z.newPlot=B,Z._doPlot=u,Z.purge=Be,Z.react=Bt,Z.redraw=F,Z.relayout=xe,Z.restyle=re,Z.setPlotConfig=f,Z.update=ut,Z._guiRelayout=Me(xe),Z._guiRestyle=Me(re),Z._guiUpdate=Me(ut),Z._storeDirectGUIEdit=ie}}),Jv=ke({\"src/snapshot/helpers.js\"(Z){\"use strict\";var H=lo();Z.getDelay=function(A){return A._has&&(A._has(\"gl3d\")||A._has(\"mapbox\")||A._has(\"map\"))?500:0},Z.getRedrawFunc=function(A){return function(){H.getComponentMethod(\"colorbar\",\"draw\")(A)}},Z.encodeSVG=function(A){return\"data:image/svg+xml,\"+encodeURIComponent(A)},Z.encodeJSON=function(A){return\"data:application/json,\"+encodeURIComponent(A)};var g=window.URL||window.webkitURL;Z.createObjectURL=function(A){return g.createObjectURL(A)},Z.revokeObjectURL=function(A){return g.revokeObjectURL(A)},Z.createBlob=function(A,S){if(S===\"svg\")return new window.Blob([A],{type:\"image/svg+xml;charset=utf-8\"});if(S===\"full-json\")return new window.Blob([A],{type:\"application/json;charset=utf-8\"});var e=x(window.atob(A));return new window.Blob([e],{type:\"image/\"+S})},Z.octetStream=function(A){document.location.href=\"data:application/octet-stream\"+A};function x(A){for(var S=A.length,e=new ArrayBuffer(S),t=new Uint8Array(e),r=0;r\")!==-1?\"\":s.html(h).text()});return s.remove(),c}function i(a){return a.replace(/&(?!\\w+;|\\#[0-9]+;| \\#x[0-9A-F]+;)/g,\"&\")}H.exports=function(s,c,h){var p=s._fullLayout,d=p._paper,T=p._toppaper,l=p.width,_=p.height,w;d.insert(\"rect\",\":first-child\").call(A.setRect,0,0,l,_).call(S.fill,p.paper_bgcolor);var M=p._basePlotModules||[];for(w=0;w1&&E.push(s(\"object\",\"layout\"))),x.supplyDefaults(m);for(var u=m._fullData,y=b.length,f=0;fP.length&&M.push(s(\"unused\",E,y.concat(P.length)));var I=P.length,N=Array.isArray(O);N&&(I=Math.min(I,O.length));var U,W,Q,le,se;if(L.dimensions===2)for(W=0;WP[W].length&&M.push(s(\"unused\",E,y.concat(W,P[W].length)));var fe=P[W].length;for(U=0;U<(N?Math.min(fe,O[W].length):fe);U++)Q=N?O[W][U]:O,le=f[W][U],se=P[W][U],g.validate(le,Q)?se!==le&&se!==+le&&M.push(s(\"dynamic\",E,y.concat(W,U),le,se)):M.push(s(\"value\",E,y.concat(W,U),le))}else M.push(s(\"array\",E,y.concat(W),f[W]));else for(W=0;WF?M.push({code:\"unused\",traceType:f,templateCount:z,dataCount:F}):F>z&&M.push({code:\"reused\",traceType:f,templateCount:z,dataCount:F})}}function B(O,I){for(var N in O)if(N.charAt(0)!==\"_\"){var U=O[N],W=s(O,N,I);g(U)?(Array.isArray(O)&&U._template===!1&&U.templateitemname&&M.push({code:\"missing\",path:W,templateitemname:U.templateitemname}),B(U,W)):Array.isArray(U)&&c(U)&&B(U,W)}}if(B({data:m,layout:E},\"\"),M.length)return M.map(h)};function c(p){for(var d=0;d=0;h--){var p=e[h];if(p.type===\"scatter\"&&p.xaxis===s.xaxis&&p.yaxis===s.yaxis){p.opacity=void 0;break}}}}}}}),P5=ke({\"src/traces/scatter/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=u_();H.exports=function(A,S){function e(r,o){return g.coerce(A,S,x,r,o)}var t=S.barmode===\"group\";S.scattermode===\"group\"&&e(\"scattergap\",t?S.bargap:.2)}}}),vv=ke({\"src/plots/cartesian/align_period.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=x.dateTime2ms,S=x.incrementMonth,e=Hi(),t=e.ONEAVGMONTH;H.exports=function(o,n,i,a){if(n.type!==\"date\")return{vals:a};var s=o[i+\"periodalignment\"];if(!s)return{vals:a};var c=o[i+\"period\"],h;if(g(c)){if(c=+c,c<=0)return{vals:a}}else if(typeof c==\"string\"&&c.charAt(0)===\"M\"){var p=+c.substring(1);if(p>0&&Math.round(p)===p)h=p;else return{vals:a}}for(var d=n.calendar,T=s===\"start\",l=s===\"end\",_=o[i+\"period0\"],w=A(_,d)||0,M=[],E=[],m=[],b=a.length,v=0;vu;)P=S(P,-h,d);for(;P<=u;)P=S(P,h,d);f=S(P,-h,d)}else{for(y=Math.round((u-w)/c),P=w+y*c;P>u;)P-=c;for(;P<=u;)P+=c;f=P-c}M[v]=T?f:l?P:(f+P)/2,E[v]=f,m[v]=P}return{vals:M,starts:E,ends:m}}}}),Wd=ke({\"src/traces/scatter/colorscale_calc.js\"(Z,H){\"use strict\";var g=ad().hasColorscale,x=od(),A=vu();H.exports=function(e,t){A.hasLines(t)&&g(t,\"line\")&&x(e,t,{vals:t.line.color,containerStr:\"line\",cLetter:\"c\"}),A.hasMarkers(t)&&(g(t,\"marker\")&&x(e,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),g(t,\"marker.line\")&&x(e,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}))}}}),Lv=ke({\"src/traces/scatter/arrays_to_calcdata.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){for(var e=0;eB&&f[I].gap;)I--;for(U=f[I].s,O=f.length-1;O>I;O--)f[O].s=U;for(;BN+O||!g(I))}for(var W=0;Wz[d]&&d0?e:t)/(d._m*_*(d._m>0?e:t)))),Rt*=1e3}if(Nt===A){if(l&&(Nt=d.c2p(bt.y,!0)),Nt===A)return!1;Nt*=1e3}return[Rt,Nt]}function ee(pt,bt,Rt,Nt){var Xt=Rt-pt,$t=Nt-bt,ur=.5-pt,pn=.5-bt,Rn=Xt*Xt+$t*$t,Nn=Xt*ur+$t*pn;if(Nn>0&&Nn1||Math.abs(ur.y-Rt[0][1])>1)&&(ur=[ur.x,ur.y],Nt&&Te(ur,pt)Ye||pt[1]at)return[n(pt[0],Ie,Ye),n(pt[1],it,at)]}function Lt(pt,bt){if(pt[0]===bt[0]&&(pt[0]===Ie||pt[0]===Ye)||pt[1]===bt[1]&&(pt[1]===it||pt[1]===at))return!0}function Et(pt,bt){var Rt=[],Nt=et(pt),Xt=et(bt);return Nt&&Xt&&Lt(Nt,Xt)||(Nt&&Rt.push(Nt),Xt&&Rt.push(Xt)),Rt}function Bt(pt,bt,Rt){return function(Nt,Xt){var $t=et(Nt),ur=et(Xt),pn=[];if($t&&ur&&Lt($t,ur))return pn;$t&&pn.push($t),ur&&pn.push(ur);var Rn=2*r.constrain((Nt[pt]+Xt[pt])/2,bt,Rt)-(($t||Nt)[pt]+(ur||Xt)[pt]);if(Rn){var Nn;$t&&ur?Nn=Rn>0==$t[pt]>ur[pt]?$t:ur:Nn=$t||ur,Nn[pt]+=Rn}return pn}}var qt;v===\"linear\"||v===\"spline\"?qt=ot:v===\"hv\"||v===\"vh\"?qt=Et:v===\"hvh\"?qt=Bt(0,Ie,Ye):v===\"vhv\"&&(qt=Bt(1,it,at));function fr(pt,bt){var Rt=bt[0]-pt[0],Nt=(bt[1]-pt[1])/Rt,Xt=(pt[1]*bt[0]-bt[1]*pt[0])/Rt;return Xt>0?[Nt>0?Ie:Ye,at]:[Nt>0?Ye:Ie,it]}function ar(pt){var bt=pt[0],Rt=pt[1],Nt=bt===z[F-1][0],Xt=Rt===z[F-1][1];if(!(Nt&&Xt))if(F>1){var $t=bt===z[F-2][0],ur=Rt===z[F-2][1];Nt&&(bt===Ie||bt===Ye)&&$t?ur?F--:z[F-1]=pt:Xt&&(Rt===it||Rt===at)&&ur?$t?F--:z[F-1]=pt:z[F++]=pt}else z[F++]=pt}function Rr(pt){z[F-1][0]!==pt[0]&&z[F-1][1]!==pt[1]&&ar([pe,ue]),ar(pt),Oe=null,pe=ue=0}var gr=r.isArrayOrTypedArray(E);function br(pt){if(pt&&M&&(pt.i=B,pt.d=s,pt.trace=h,pt.marker=gr?E[pt.i]:E,pt.backoff=M),ie=pt[0]/_,ce=pt[1]/w,ut=pt[0]Ye?Ye:0,Me=pt[1]at?at:0,ut||Me){if(!F)z[F++]=[ut||pt[0],Me||pt[1]];else if(Oe){var bt=qt(Oe,pt);bt.length>1&&(Rr(bt[0]),z[F++]=bt[1])}else rt=qt(z[F-1],pt)[0],z[F++]=rt;var Rt=z[F-1];ut&&Me&&(Rt[0]!==ut||Rt[1]!==Me)?(Oe&&(pe!==ut&&ue!==Me?ar(pe&&ue?fr(Oe,pt):[pe||ut,ue||Me]):pe&&ue&&ar([pe,ue])),ar([ut,Me])):pe-ut&&ue-Me&&ar([ut||pe,Me||ue]),Oe=pt,pe=ut,ue=Me}else Oe&&Rr(qt(Oe,pt)[0]),z[F++]=pt}for(B=0;Bxe(W,_t))break;I=W,J=se[0]*le[0]+se[1]*le[1],J>G?(G=J,N=W,Q=!1):J<$&&($=J,U=W,Q=!0)}if(Q?(br(N),I!==U&&br(U)):(U!==O&&br(U),I!==N&&br(N)),br(I),B>=s.length||!W)break;br(W),O=W}}Oe&&ar([pe||Oe[0],ue||Oe[1]]),f.push(z.slice(0,F))}var Be=v.slice(v.length-1);if(M&&Be!==\"h\"&&Be!==\"v\"){for(var Ke=!1,je=-1,Se=[],He=0;He=0?i=p:(i=p=h,h++),i0,v=n(p,d,T);if(M=l.selectAll(\"g.trace\").data(v,function(y){return y[0].trace.uid}),M.enter().append(\"g\").attr(\"class\",function(y){return\"trace scatter trace\"+y[0].trace.uid}).style(\"stroke-miterlimit\",2),M.order(),a(p,M,d),b){w&&(E=w());var u=g.transition().duration(_.duration).ease(_.easing).each(\"end\",function(){E&&E()}).each(\"interrupt\",function(){E&&E()});u.each(function(){l.selectAll(\"g.trace\").each(function(y,f){s(p,f,d,y,v,this,_)})})}else M.each(function(y,f){s(p,f,d,y,v,this,_)});m&&M.exit().remove(),l.selectAll(\"path:not([d])\").remove()};function a(h,p,d){p.each(function(T){var l=S(g.select(this),\"g\",\"fills\");t.setClipUrl(l,d.layerClipId,h);var _=T[0].trace,w=[];_._ownfill&&w.push(\"_ownFill\"),_._nexttrace&&w.push(\"_nextFill\");var M=l.selectAll(\"g\").data(w,e);M.enter().append(\"g\"),M.exit().each(function(E){_[E]=null}).remove(),M.order().each(function(E){_[E]=S(g.select(this),\"path\",\"js-fill\")})})}function s(h,p,d,T,l,_,w){var M=h._context.staticPlot,E;c(h,p,d,T,l);var m=!!w&&w.duration>0;function b(ar){return m?ar.transition():ar}var v=d.xaxis,u=d.yaxis,y=T[0].trace,f=y.line,P=g.select(_),L=S(P,\"g\",\"errorbars\"),z=S(P,\"g\",\"lines\"),F=S(P,\"g\",\"points\"),B=S(P,\"g\",\"text\");if(x.getComponentMethod(\"errorbars\",\"plot\")(h,L,d,w),y.visible!==!0)return;b(P).style(\"opacity\",y.opacity);var O,I,N=y.fill.charAt(y.fill.length-1);N!==\"x\"&&N!==\"y\"&&(N=\"\");var U,W;N===\"y\"?(U=1,W=u.c2p(0,!0)):N===\"x\"&&(U=0,W=v.c2p(0,!0)),T[0][d.isRangePlot?\"nodeRangePlot3\":\"node3\"]=P;var Q=\"\",le=[],se=y._prevtrace,fe=null,G=null;se&&(Q=se._prevRevpath||\"\",I=se._nextFill,le=se._ownPolygons,fe=se._fillsegments,G=se._fillElement);var $,J,X=\"\",re=\"\",ae,j,ee,ie,ce,xe,Te=[];y._polygons=[];var Ue=[],Ie=[],Ye=A.noop;if(O=y._ownFill,r.hasLines(y)||y.fill!==\"none\"){I&&I.datum(T),[\"hv\",\"vh\",\"hvh\",\"vhv\"].indexOf(f.shape)!==-1?(ae=t.steps(f.shape),j=t.steps(f.shape.split(\"\").reverse().join(\"\"))):f.shape===\"spline\"?ae=j=function(ar){var Rr=ar[ar.length-1];return ar.length>1&&ar[0][0]===Rr[0]&&ar[0][1]===Rr[1]?t.smoothclosed(ar.slice(1),f.smoothing):t.smoothopen(ar,f.smoothing)}:ae=j=function(ar){return\"M\"+ar.join(\"L\")},ee=function(ar){return j(ar.reverse())},Ie=o(T,{xaxis:v,yaxis:u,trace:y,connectGaps:y.connectgaps,baseTolerance:Math.max(f.width||1,3)/4,shape:f.shape,backoff:f.backoff,simplify:f.simplify,fill:y.fill}),Ue=new Array(Ie.length);var it=0;for(E=0;E=M[0]&&P.x<=M[1]&&P.y>=E[0]&&P.y<=E[1]}),u=Math.ceil(v.length/b),y=0;l.forEach(function(P,L){var z=P[0].trace;r.hasMarkers(z)&&z.marker.maxdisplayed>0&&L=Math.min(se,fe)&&d<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(h.c2p(le.x)-d);return J=Math.min(se,fe)&&T<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(p.c2p(le.y)-T);return Jre!=Ue>=re&&(ce=ee[j-1][0],xe=ee[j][0],Ue-Te&&(ie=ce+(xe-ce)*(re-Te)/(Ue-Te),G=Math.min(G,ie),$=Math.max($,ie)));return G=Math.max(G,0),$=Math.min($,h._length),{x0:G,x1:$,y0:re,y1:re}}if(_.indexOf(\"fills\")!==-1&&c._fillElement){var U=I(c._fillElement)&&!I(c._fillExclusionElement);if(U){var W=N(c._polygons);W===null&&(W={x0:l[0],x1:l[0],y0:l[1],y1:l[1]});var Q=e.defaultLine;return e.opacity(c.fillcolor)?Q=c.fillcolor:e.opacity((c.line||{}).color)&&(Q=c.line.color),g.extendFlat(o,{distance:o.maxHoverDistance,x0:W.x0,x1:W.x1,y0:W.y0,y1:W.y1,color:Q,hovertemplate:!1}),delete o.index,c.text&&!g.isArrayOrTypedArray(c.text)?o.text=String(c.text):o.text=c.name,[o]}}}}}),$g=ke({\"src/traces/scatter/select.js\"(Z,H){\"use strict\";var g=vu();H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=[],n=e[0].trace,i,a,s,c,h=!g.hasMarkers(n)&&!g.hasText(n);if(h)return[];if(S===!1)for(i=0;i0&&(a[\"_\"+n+\"axes\"]||{})[o])return a;if((a[n+\"axis\"]||n)===o){if(t(a,n))return a;if((a[n]||[]).length||a[n+\"0\"])return a}}}function e(r){return{v:\"x\",h:\"y\"}[r.orientation||\"v\"]}function t(r,o){var n=e(r),i=g(r,\"box-violin\"),a=g(r._fullInput||{},\"candlestick\");return i&&!a&&o===n&&r[n]===void 0&&r[n+\"0\"]===void 0}}}),T_=ke({\"src/plots/cartesian/category_order_defaults.js\"(Z,H){\"use strict\";var g=Oa().isTypedArraySpec;function x(A,S){var e=S.dataAttr||A._id.charAt(0),t={},r,o,n;if(S.axData)r=S.axData;else for(r=[],o=0;o0||g(o),i;n&&(i=\"array\");var a=t(\"categoryorder\",i),s;a===\"array\"&&(s=t(\"categoryarray\")),!n&&a===\"array\"&&(a=e.categoryorder=\"trace\"),a===\"trace\"?e._initialCategories=[]:a===\"array\"?e._initialCategories=s.slice():(s=x(e,r).sort(),a===\"category ascending\"?e._initialCategories=s:a===\"category descending\"&&(e._initialCategories=s.reverse()))}}}}),o0=ke({\"src/plots/cartesian/line_grid_defaults.js\"(Z,H){\"use strict\";var g=ru().mix,x=If(),A=un();H.exports=function(e,t,r,o){o=o||{};var n=o.dfltColor;function i(y,f){return A.coerce2(e,t,o.attributes,y,f)}var a=i(\"linecolor\",n),s=i(\"linewidth\"),c=r(\"showline\",o.showLine||!!a||!!s);c||(delete t.linecolor,delete t.linewidth);var h=g(n,o.bgColor,o.blend||x.lightFraction).toRgbString(),p=i(\"gridcolor\",h),d=i(\"gridwidth\"),T=i(\"griddash\"),l=r(\"showgrid\",o.showGrid||!!p||!!d||!!T);if(l||(delete t.gridcolor,delete t.gridwidth,delete t.griddash),o.hasMinor){var _=g(t.gridcolor,o.bgColor,67).toRgbString(),w=i(\"minor.gridcolor\",_),M=i(\"minor.gridwidth\",t.gridwidth||1),E=i(\"minor.griddash\",t.griddash||\"solid\"),m=r(\"minor.showgrid\",!!w||!!M||!!E);m||(delete t.minor.gridcolor,delete t.minor.gridwidth,delete t.minor.griddash)}if(!o.noZeroLine){var b=i(\"zerolinecolor\",n),v=i(\"zerolinewidth\"),u=r(\"zeroline\",o.showGrid||!!b||!!v);u||(delete t.zerolinecolor,delete t.zerolinewidth)}}}}),s0=ke({\"src/plots/cartesian/axis_defaults.js\"(Z,H){\"use strict\";var g=Yn(),x=lo(),A=un(),S=yl(),e=Oh(),t=wh(),r=Pm(),o=qg(),n=Dp(),i=zp(),a=T_(),s=o0(),c=$w(),h=Cv(),p=oh().WEEKDAY_PATTERN,d=oh().HOUR_PATTERN;H.exports=function(M,E,m,b,v){var u=b.letter,y=b.font||{},f=b.splomStash||{},P=m(\"visible\",!b.visibleDflt),L=E._template||{},z=E.type||L.type||\"-\",F;if(z===\"date\"){var B=x.getComponentMethod(\"calendars\",\"handleDefaults\");B(M,E,\"calendar\",b.calendar),b.noTicklabelmode||(F=m(\"ticklabelmode\"))}!b.noTicklabelindex&&(z===\"date\"||z===\"linear\")&&m(\"ticklabelindex\");var O=\"\";(!b.noTicklabelposition||z===\"multicategory\")&&(O=A.coerce(M,E,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:F===\"period\"?[\"outside\",\"inside\"]:u===\"x\"?[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]}},\"ticklabelposition\")),b.noTicklabeloverflow||m(\"ticklabeloverflow\",O.indexOf(\"inside\")!==-1?\"hide past domain\":z===\"category\"||z===\"multicategory\"?\"allow\":\"hide past div\"),h(E,v),c(M,E,m,b),a(M,E,m,b),z!==\"category\"&&!b.noHover&&m(\"hoverformat\");var I=m(\"color\"),N=I!==t.color.dflt?I:y.color,U=f.label||v._dfltTitle[u];if(i(M,E,m,z,b),!P)return E;m(\"title.text\",U),A.coerceFont(m,\"title.font\",y,{overrideDflt:{size:A.bigFont(y.size),color:N}}),r(M,E,m,z);var W=b.hasMinor;if(W&&(S.newContainer(E,\"minor\"),r(M,E,m,z,{isMinor:!0})),n(M,E,m,z,b),o(M,E,m,b),W){var Q=b.isMinor;b.isMinor=!0,o(M,E,m,b),b.isMinor=Q}s(M,E,m,{dfltColor:I,bgColor:b.bgColor,showGrid:b.showGrid,hasMinor:W,attributes:t}),W&&!E.minor.ticks&&!E.minor.showgrid&&delete E.minor,(E.showline||E.ticks)&&m(\"mirror\");var le=z===\"multicategory\";if(!b.noTickson&&(z===\"category\"||le)&&(E.ticks||E.showgrid)){var se;le&&(se=\"boundaries\");var fe=m(\"tickson\",se);fe===\"boundaries\"&&delete E.ticklabelposition}if(le){var G=m(\"showdividers\");G&&(m(\"dividercolor\"),m(\"dividerwidth\"))}if(z===\"date\")if(e(M,E,{name:\"rangebreaks\",inclusionAttr:\"enabled\",handleItemDefaults:T}),!E.rangebreaks.length)delete E.rangebreaks;else{for(var $=0;$=2){var u=\"\",y,f;if(v.length===2){for(y=0;y<2;y++)if(f=_(v[y]),f){u=p;break}}var P=m(\"pattern\",u);if(P===p)for(y=0;y<2;y++)f=_(v[y]),f&&(M.bounds[y]=v[y]=f-1);if(P)for(y=0;y<2;y++)switch(f=v[y],P){case p:if(!g(f)){M.enabled=!1;return}if(f=+f,f!==Math.floor(f)||f<0||f>=7){M.enabled=!1;return}M.bounds[y]=v[y]=f;break;case d:if(!g(f)){M.enabled=!1;return}if(f=+f,f<0||f>24){M.enabled=!1;return}M.bounds[y]=v[y]=f;break}if(E.autorange===!1){var L=E.range;if(L[0]L[1]){M.enabled=!1;return}}else if(v[0]>L[0]&&v[1]m[1]-1/4096&&(e.domain=h),x.noneOrAll(S.domain,e.domain,h),e.tickmode===\"sync\"&&(e.tickmode=\"auto\")}return t(\"layer\"),e}}}),z5=ke({\"src/plots/cartesian/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=gd().isUnifiedHover,S=a2(),e=yl(),t=Ug(),r=wh(),o=T2(),n=s0(),i=Rm(),a=A_(),s=qc(),c=s.id2name,h=s.name2id,p=oh().AX_ID_PATTERN,d=lo(),T=d.traceIs,l=d.getComponentMethod;function _(w,M,E){Array.isArray(w[M])?w[M].push(E):w[M]=[E]}H.exports=function(M,E,m){var b=E.autotypenumbers,v={},u={},y={},f={},P={},L={},z={},F={},B={},O={},I,N;for(I=0;I rect\").call(S.setTranslate,0,0).call(S.setScale,1,1),E.plot.call(S.setTranslate,m._offset,b._offset).call(S.setScale,1,1);var v=E.plot.selectAll(\".scatterlayer .trace\");v.selectAll(\".point\").call(S.setPointGroupScale,1,1),v.selectAll(\".textpoint\").call(S.setTextPointsScale,1,1),v.call(S.hideOutsideRangePoints,E)}function c(E,m){var b=E.plotinfo,v=b.xaxis,u=b.yaxis,y=v._length,f=u._length,P=!!E.xr1,L=!!E.yr1,z=[];if(P){var F=A.simpleMap(E.xr0,v.r2l),B=A.simpleMap(E.xr1,v.r2l),O=F[1]-F[0],I=B[1]-B[0];z[0]=(F[0]*(1-m)+m*B[0]-F[0])/(F[1]-F[0])*y,z[2]=y*(1-m+m*I/O),v.range[0]=v.l2r(F[0]*(1-m)+m*B[0]),v.range[1]=v.l2r(F[1]*(1-m)+m*B[1])}else z[0]=0,z[2]=y;if(L){var N=A.simpleMap(E.yr0,u.r2l),U=A.simpleMap(E.yr1,u.r2l),W=N[1]-N[0],Q=U[1]-U[0];z[1]=(N[1]*(1-m)+m*U[1]-N[1])/(N[0]-N[1])*f,z[3]=f*(1-m+m*Q/W),u.range[0]=v.l2r(N[0]*(1-m)+m*U[0]),u.range[1]=u.l2r(N[1]*(1-m)+m*U[1])}else z[1]=0,z[3]=f;e.drawOne(r,v,{skipTitle:!0}),e.drawOne(r,u,{skipTitle:!0}),e.redrawComponents(r,[v._id,u._id]);var le=P?y/z[2]:1,se=L?f/z[3]:1,fe=P?z[0]:0,G=L?z[1]:0,$=P?z[0]/z[2]*y:0,J=L?z[1]/z[3]*f:0,X=v._offset-$,re=u._offset-J;b.clipRect.call(S.setTranslate,fe,G).call(S.setScale,1/le,1/se),b.plot.call(S.setTranslate,X,re).call(S.setScale,le,se),S.setPointGroupScale(b.zoomScalePts,1/le,1/se),S.setTextPointsScale(b.zoomScaleTxt,1/le,1/se)}var h;i&&(h=i());function p(){for(var E={},m=0;mn.duration?(p(),_=window.cancelAnimationFrame(M)):_=window.requestAnimationFrame(M)}return T=Date.now(),_=window.requestAnimationFrame(M),Promise.resolve()}}}),xf=ke({\"src/plots/cartesian/index.js\"(Z){\"use strict\";var H=_i(),g=lo(),x=un(),A=Zu(),S=$o(),e=bh().getModuleCalcData,t=qc(),r=oh(),o=zd(),n=x.ensureSingle;function i(T,l,_){return x.ensureSingle(T,l,_,function(w){w.datum(_)})}var a=r.zindexSeparator;Z.name=\"cartesian\",Z.attr=[\"xaxis\",\"yaxis\"],Z.idRoot=[\"x\",\"y\"],Z.idRegex=r.idRegex,Z.attrRegex=r.attrRegex,Z.attributes=D5(),Z.layoutAttributes=wh(),Z.supplyLayoutDefaults=z5(),Z.transitionAxes=F5(),Z.finalizeSubplots=function(T,l){var _=l._subplots,w=_.xaxis,M=_.yaxis,E=_.cartesian,m=E,b={},v={},u,y,f;for(u=0;u0){var L=P.id;if(L.indexOf(a)!==-1)continue;L+=a+(u+1),P=x.extendFlat({},P,{id:L,plot:M._cartesianlayer.selectAll(\".subplot\").select(\".\"+L)})}for(var z=[],F,B=0;B1&&(W+=a+U),N.push(b+W),m=0;m1,f=l.mainplotinfo;if(!l.mainplot||y)if(u)l.xlines=n(w,\"path\",\"xlines-above\"),l.ylines=n(w,\"path\",\"ylines-above\"),l.xaxislayer=n(w,\"g\",\"xaxislayer-above\"),l.yaxislayer=n(w,\"g\",\"yaxislayer-above\");else{if(!m){var P=n(w,\"g\",\"layer-subplot\");l.shapelayer=n(P,\"g\",\"shapelayer\"),l.imagelayer=n(P,\"g\",\"imagelayer\"),f&&y?(l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer):(l.minorGridlayer=n(w,\"g\",\"minor-gridlayer\"),l.gridlayer=n(w,\"g\",\"gridlayer\"),l.zerolinelayer=n(w,\"g\",\"zerolinelayer\"));var L=n(w,\"g\",\"layer-between\");l.shapelayerBetween=n(L,\"g\",\"shapelayer\"),l.imagelayerBetween=n(L,\"g\",\"imagelayer\"),n(w,\"path\",\"xlines-below\"),n(w,\"path\",\"ylines-below\"),l.overlinesBelow=n(w,\"g\",\"overlines-below\"),n(w,\"g\",\"xaxislayer-below\"),n(w,\"g\",\"yaxislayer-below\"),l.overaxesBelow=n(w,\"g\",\"overaxes-below\")}l.overplot=n(w,\"g\",\"overplot\"),l.plot=n(l.overplot,\"g\",M),m||(l.xlines=n(w,\"path\",\"xlines-above\"),l.ylines=n(w,\"path\",\"ylines-above\"),l.overlinesAbove=n(w,\"g\",\"overlines-above\"),n(w,\"g\",\"xaxislayer-above\"),n(w,\"g\",\"yaxislayer-above\"),l.overaxesAbove=n(w,\"g\",\"overaxes-above\"),l.xlines=w.select(\".xlines-\"+b),l.ylines=w.select(\".ylines-\"+v),l.xaxislayer=w.select(\".xaxislayer-\"+b),l.yaxislayer=w.select(\".yaxislayer-\"+v))}else{var z=f.plotgroup,F=M+\"-x\",B=M+\"-y\";l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer,n(f.overlinesBelow,\"path\",F),n(f.overlinesBelow,\"path\",B),n(f.overaxesBelow,\"g\",F),n(f.overaxesBelow,\"g\",B),l.plot=n(f.overplot,\"g\",M),n(f.overlinesAbove,\"path\",F),n(f.overlinesAbove,\"path\",B),n(f.overaxesAbove,\"g\",F),n(f.overaxesAbove,\"g\",B),l.xlines=z.select(\".overlines-\"+b).select(\".\"+F),l.ylines=z.select(\".overlines-\"+v).select(\".\"+B),l.xaxislayer=z.select(\".overaxes-\"+b).select(\".\"+F),l.yaxislayer=z.select(\".overaxes-\"+v).select(\".\"+B)}m||(u||(i(l.minorGridlayer,\"g\",l.xaxis._id),i(l.minorGridlayer,\"g\",l.yaxis._id),l.minorGridlayer.selectAll(\"g\").map(function(O){return O[0]}).sort(t.idSort),i(l.gridlayer,\"g\",l.xaxis._id),i(l.gridlayer,\"g\",l.yaxis._id),l.gridlayer.selectAll(\"g\").map(function(O){return O[0]}).sort(t.idSort)),l.xlines.style(\"fill\",\"none\").classed(\"crisp\",!0),l.ylines.style(\"fill\",\"none\").classed(\"crisp\",!0))}function p(T,l){if(T){var _={};T.each(function(v){var u=v[0],y=H.select(this);y.remove(),d(u,l),_[u]=!0});for(var w in l._plots)for(var M=l._plots[w],E=M.overlays||[],m=0;m=0,l=i.indexOf(\"end\")>=0,_=c.backoff*p+a.standoff,w=h.backoff*d+a.startstandoff,M,E,m,b;if(s.nodeName===\"line\"){M={x:+n.attr(\"x1\"),y:+n.attr(\"y1\")},E={x:+n.attr(\"x2\"),y:+n.attr(\"y2\")};var v=M.x-E.x,u=M.y-E.y;if(m=Math.atan2(u,v),b=m+Math.PI,_&&w&&_+w>Math.sqrt(v*v+u*u)){W();return}if(_){if(_*_>v*v+u*u){W();return}var y=_*Math.cos(m),f=_*Math.sin(m);E.x+=y,E.y+=f,n.attr({x2:E.x,y2:E.y})}if(w){if(w*w>v*v+u*u){W();return}var P=w*Math.cos(m),L=w*Math.sin(m);M.x-=P,M.y-=L,n.attr({x1:M.x,y1:M.y})}}else if(s.nodeName===\"path\"){var z=s.getTotalLength(),F=\"\";if(z<_+w){W();return}var B=s.getPointAtLength(0),O=s.getPointAtLength(.1);m=Math.atan2(B.y-O.y,B.x-O.x),M=s.getPointAtLength(Math.min(w,z)),F=\"0px,\"+w+\"px,\";var I=s.getPointAtLength(z),N=s.getPointAtLength(z-.1);b=Math.atan2(I.y-N.y,I.x-N.x),E=s.getPointAtLength(Math.max(0,z-_));var U=F?w+_:_;F+=z-U+\"px,\"+z+\"px\",n.style(\"stroke-dasharray\",F)}function W(){n.style(\"stroke-dasharray\",\"0px,100px\")}function Q(le,se,fe,G){le.path&&(le.noRotate&&(fe=0),g.select(s.parentNode).append(\"path\").attr({class:n.attr(\"class\"),d:le.path,transform:r(se.x,se.y)+t(fe*180/Math.PI)+e(G)}).style({fill:x.rgb(a.arrowcolor),\"stroke-width\":0}))}T&&Q(h,M,m,d),l&&Q(c,E,b,p)}}}),M_=ke({\"src/components/annotations/draw.js\"(Z,H){\"use strict\";var g=_i(),x=lo(),A=Zu(),S=un(),e=S.strTranslate,t=Ho(),r=eo(),o=$o(),n=Ec(),i=Wl(),a=uv(),s=Xh(),c=yl().arrayEditor,h=B5();H.exports={draw:p,drawOne:d,drawRaw:l};function p(_){var w=_._fullLayout;w._infolayer.selectAll(\".annotation\").remove();for(var M=0;M2/3?zn=\"right\":zn=\"center\"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[zn]}for(var rt=!1,ot=[\"x\",\"y\"],et=0;et1)&&(Bt===Et?(Le=qt.r2fraction(w[\"a\"+Lt]),(Le<0||Le>1)&&(rt=!0)):rt=!0),Ke=qt._offset+qt.r2p(w[Lt]),He=.5}else{var nt=we===\"domain\";Lt===\"x\"?(Se=w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.l+u.w*Se):(Se=1-w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.t+u.h*Se),He=w.showarrow?.5:Se}if(w.showarrow){Be.head=Ke;var pt=w[\"a\"+Lt];if(Ee=ar*Oe(.5,w.xanchor)-Rr*Oe(.5,w.yanchor),Bt===Et){var bt=t.getRefType(Bt);bt===\"domain\"?(Lt===\"y\"&&(pt=1-pt),Be.tail=qt._offset+qt._length*pt):bt===\"paper\"?Lt===\"y\"?(pt=1-pt,Be.tail=u.t+u.h*pt):Be.tail=u.l+u.w*pt:Be.tail=qt._offset+qt.r2p(pt),je=Ee}else Be.tail=Ke+pt,je=Ee+pt;Be.text=Be.tail+Ee;var Rt=v[Lt===\"x\"?\"width\":\"height\"];if(Et===\"paper\"&&(Be.head=S.constrain(Be.head,1,Rt-1)),Bt===\"pixel\"){var Nt=-Math.max(Be.tail-3,Be.text),Xt=Math.min(Be.tail+3,Be.text)-Rt;Nt>0?(Be.tail+=Nt,Be.text+=Nt):Xt>0&&(Be.tail-=Xt,Be.text-=Xt)}Be.tail+=_t,Be.head+=_t}else Ee=gr*Oe(He,br),je=Ee,Be.text=Ke+Ee;Be.text+=_t,Ee+=_t,je+=_t,w[\"_\"+Lt+\"padplus\"]=gr/2+je,w[\"_\"+Lt+\"padminus\"]=gr/2-je,w[\"_\"+Lt+\"size\"]=gr,w[\"_\"+Lt+\"shift\"]=Ee}if(rt){fe.remove();return}var $t=0,ur=0;if(w.align!==\"left\"&&($t=(ut-at)*(w.align===\"center\"?.5:1)),w.valign!==\"top\"&&(ur=(Me-tt)*(w.valign===\"middle\"?.5:1)),Ye)Ie.select(\"svg\").attr({x:J+$t-1,y:J+ur}).call(o.setClipUrl,re?O:null,_);else{var pn=J+ur-it.top,Rn=J+$t-it.left;ie.call(i.positionText,Rn,pn).call(o.setClipUrl,re?O:null,_)}ae.select(\"rect\").call(o.setRect,J,J,ut,Me),X.call(o.setRect,G/2,G/2,pe-G,ue-G),fe.call(o.setTranslate,Math.round(I.x.text-pe/2),Math.round(I.y.text-ue/2)),W.attr({transform:\"rotate(\"+N+\",\"+I.x.text+\",\"+I.y.text+\")\"});var Nn=function(ni,zn){U.selectAll(\".annotation-arrow-g\").remove();var Qn=I.x.head,gi=I.y.head,Zt=I.x.tail+ni,Ft=I.y.tail+zn,Ht=I.x.text+ni,Vt=I.y.text+zn,wr=S.rotationXYMatrix(N,Ht,Vt),$r=S.apply2DTransform(wr),xn=S.apply2DTransform2(wr),en=+X.attr(\"width\"),Fn=+X.attr(\"height\"),Wn=Ht-.5*en,ri=Wn+en,Sn=Vt-.5*Fn,ui=Sn+Fn,gt=[[Wn,Sn,Wn,ui],[Wn,ui,ri,ui],[ri,ui,ri,Sn],[ri,Sn,Wn,Sn]].map(xn);if(!gt.reduce(function(kt,or){return kt^!!S.segmentsIntersect(Qn,gi,Qn+1e6,gi+1e6,or[0],or[1],or[2],or[3])},!1)){gt.forEach(function(kt){var or=S.segmentsIntersect(Zt,Ft,Qn,gi,kt[0],kt[1],kt[2],kt[3]);or&&(Zt=or.x,Ft=or.y)});var yt=w.arrowwidth,Pr=w.arrowcolor,Ir=w.arrowside,Tr=U.append(\"g\").style({opacity:r.opacity(Pr)}).classed(\"annotation-arrow-g\",!0),Mr=Tr.append(\"path\").attr(\"d\",\"M\"+Zt+\",\"+Ft+\"L\"+Qn+\",\"+gi).style(\"stroke-width\",yt+\"px\").call(r.stroke,r.rgb(Pr));if(h(Mr,Ir,w),y.annotationPosition&&Mr.node().parentNode&&!E){var Lr=Qn,Ur=gi;if(w.standoff){var Dr=Math.sqrt(Math.pow(Qn-Zt,2)+Math.pow(gi-Ft,2));Lr+=w.standoff*(Zt-Qn)/Dr,Ur+=w.standoff*(Ft-gi)/Dr}var nn=Tr.append(\"path\").classed(\"annotation-arrow\",!0).classed(\"anndrag\",!0).classed(\"cursor-move\",!0).attr({d:\"M3,3H-3V-3H3ZM0,0L\"+(Zt-Lr)+\",\"+(Ft-Ur),transform:e(Lr,Ur)}).style(\"stroke-width\",yt+6+\"px\").call(r.stroke,\"rgba(0,0,0,0)\").call(r.fill,\"rgba(0,0,0,0)\"),vn,gn;s.init({element:nn.node(),gd:_,prepFn:function(){var kt=o.getTranslate(fe);vn=kt.x,gn=kt.y,m&&m.autorange&&z(m._name+\".autorange\",!0),b&&b.autorange&&z(b._name+\".autorange\",!0)},moveFn:function(kt,or){var yr=$r(vn,gn),on=yr[0]+kt,An=yr[1]+or;fe.call(o.setTranslate,on,An),F(\"x\",T(m,kt,\"x\",u,w)),F(\"y\",T(b,or,\"y\",u,w)),w.axref===w.xref&&F(\"ax\",T(m,kt,\"ax\",u,w)),w.ayref===w.yref&&F(\"ay\",T(b,or,\"ay\",u,w)),Tr.attr(\"transform\",e(kt,or)),W.attr({transform:\"rotate(\"+N+\",\"+on+\",\"+An+\")\"})},doneFn:function(){x.call(\"_guiRelayout\",_,B());var kt=document.querySelector(\".js-notes-box-panel\");kt&&kt.redraw(kt.selectedObj)}})}}};if(w.showarrow&&Nn(0,0),Q){var On;s.init({element:fe.node(),gd:_,prepFn:function(){On=W.attr(\"transform\")},moveFn:function(ni,zn){var Qn=\"pointer\";if(w.showarrow)w.axref===w.xref?F(\"ax\",T(m,ni,\"ax\",u,w)):F(\"ax\",w.ax+ni),w.ayref===w.yref?F(\"ay\",T(b,zn,\"ay\",u.w,w)):F(\"ay\",w.ay+zn),Nn(ni,zn);else{if(E)return;var gi,Zt;if(m)gi=T(m,ni,\"x\",u,w);else{var Ft=w._xsize/u.w,Ht=w.x+(w._xshift-w.xshift)/u.w-Ft/2;gi=s.align(Ht+ni/u.w,Ft,0,1,w.xanchor)}if(b)Zt=T(b,zn,\"y\",u,w);else{var Vt=w._ysize/u.h,wr=w.y-(w._yshift+w.yshift)/u.h-Vt/2;Zt=s.align(wr-zn/u.h,Vt,0,1,w.yanchor)}F(\"x\",gi),F(\"y\",Zt),(!m||!b)&&(Qn=s.getCursor(m?.5:gi,b?.5:Zt,w.xanchor,w.yanchor))}W.attr({transform:e(ni,zn)+On}),a(fe,Qn)},clickFn:function(ni,zn){w.captureevents&&_.emit(\"plotly_clickannotation\",se(zn))},doneFn:function(){a(fe),x.call(\"_guiRelayout\",_,B());var ni=document.querySelector(\".js-notes-box-panel\");ni&&ni.redraw(ni.selectedObj)}})}}y.annotationText?ie.call(i.makeEditable,{delegate:fe,gd:_}).call(ce).on(\"edit\",function(Te){w.text=Te,this.call(ce),F(\"text\",Te),m&&m.autorange&&z(m._name+\".autorange\",!0),b&&b.autorange&&z(b._name+\".autorange\",!0),x.call(\"_guiRelayout\",_,B())}):ie.call(ce)}}}),N5=ke({\"src/components/annotations/click.js\"(Z,H){\"use strict\";var g=un(),x=lo(),A=yl().arrayEditor;H.exports={hasClickToShow:S,onClick:e};function S(o,n){var i=t(o,n);return i.on.length>0||i.explicitOff.length>0}function e(o,n){var i=t(o,n),a=i.on,s=i.off.concat(i.explicitOff),c={},h=o._fullLayout.annotations,p,d;if(a.length||s.length){for(p=0;p1){a=!0;break}}a?e.fullLayout._infolayer.select(\".annotation-\"+e.id+'[data-index=\"'+n+'\"]').remove():(i._pdata=x(e.glplot.cameraParams,[t.xaxis.r2l(i.x)*r[0],t.yaxis.r2l(i.y)*r[1],t.zaxis.r2l(i.z)*r[2]]),g(e.graphDiv,i,n,e.id,i._xa,i._ya))}}}}),X5=ke({\"src/components/annotations3d/index.js\"(Z,H){\"use strict\";var g=lo(),x=un();H.exports={moduleType:\"component\",name:\"annotations3d\",schema:{subplots:{scene:{annotations:S_()}}},layoutAttributes:S_(),handleDefaults:H5(),includeBasePlot:A,convert:G5(),draw:W5()};function A(S,e){var t=g.subplotsRegistry.gl3d;if(t)for(var r=t.attrRegex,o=Object.keys(S),n=0;n0?l+p:p;return{ppad:p,ppadplus:d?w:M,ppadminus:d?M:w}}else return{ppad:p}}function o(n,i,a){var s=n._id.charAt(0)===\"x\"?\"x\":\"y\",c=n.type===\"category\"||n.type===\"multicategory\",h,p,d=0,T=0,l=c?n.r2c:n.d2c,_=i[s+\"sizemode\"]===\"scaled\";if(_?(h=i[s+\"0\"],p=i[s+\"1\"],c&&(d=i[s+\"0shift\"],T=i[s+\"1shift\"])):(h=i[s+\"anchor\"],p=i[s+\"anchor\"]),h!==void 0)return[l(h)+d,l(p)+T];if(i.path){var w=1/0,M=-1/0,E=i.path.match(A.segmentRE),m,b,v,u,y;for(n.type===\"date\"&&(l=S.decodeDate(l)),m=0;mM&&(M=y)));if(M>=w)return[w,M]}}}}),J5=ke({\"src/components/shapes/index.js\"(Z,H){\"use strict\";var g=y_();H.exports={moduleType:\"component\",name:\"shapes\",layoutAttributes:S2(),supplyLayoutDefaults:Z5(),supplyDrawNewShapeDefaults:Y5(),includeBasePlot:a0()(\"shapes\"),calcAutorange:K5(),draw:g.draw,drawOne:g.drawOne}}}),E2=ke({\"src/components/images/attributes.js\"(Z,H){\"use strict\";var g=oh(),x=yl().templatedArray,A=i0();H.exports=x(\"image\",{visible:{valType:\"boolean\",dflt:!0,editType:\"arraydraw\"},source:{valType:\"string\",editType:\"arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"arraydraw\"},sizex:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizey:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizing:{valType:\"enumerated\",values:[\"fill\",\"contain\",\"stretch\"],dflt:\"contain\",editType:\"arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},x:{valType:\"any\",dflt:0,editType:\"arraydraw\"},y:{valType:\"any\",dflt:0,editType:\"arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"top\",editType:\"arraydraw\"},xref:{valType:\"enumerated\",values:[\"paper\",g.idRegex.x.toString()],dflt:\"paper\",editType:\"arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",g.idRegex.y.toString()],dflt:\"paper\",editType:\"arraydraw\"},editType:\"arraydraw\"})}}),$5=ke({\"src/components/images/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=Oh(),S=E2(),e=\"images\";H.exports=function(o,n){var i={name:e,handleItemDefaults:t};A(o,n,i)};function t(r,o,n){function i(_,w){return g.coerce(r,o,S,_,w)}var a=i(\"source\"),s=i(\"visible\",!!a);if(!s)return o;i(\"layer\"),i(\"xanchor\"),i(\"yanchor\"),i(\"sizex\"),i(\"sizey\"),i(\"sizing\"),i(\"opacity\");for(var c={_fullLayout:n},h=[\"x\",\"y\"],p=0;p<2;p++){var d=h[p],T=x.coerceRef(r,o,c,d,\"paper\",void 0);if(T!==\"paper\"){var l=x.getFromId(c,T);l._imgIndices.push(o._index)}x.coercePosition(o,c,i,T,d,0)}return o}}}),Q5=ke({\"src/components/images/draw.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=Ho(),S=qc(),e=zd();H.exports=function(r){var o=r._fullLayout,n=[],i={},a=[],s,c;for(c=0;c0);h&&(s(\"active\"),s(\"direction\"),s(\"type\"),s(\"showactive\"),s(\"x\"),s(\"y\"),g.noneOrAll(n,i,[\"x\",\"y\"]),s(\"xanchor\"),s(\"yanchor\"),s(\"pad.t\"),s(\"pad.r\"),s(\"pad.b\"),s(\"pad.l\"),g.coerceFont(s,\"font\",a.font),s(\"bgcolor\",a.paper_bgcolor),s(\"bordercolor\"),s(\"borderwidth\"))}function o(n,i){function a(c,h){return g.coerce(n,i,t,c,h)}var s=a(\"visible\",n.method===\"skip\"||Array.isArray(n.args));s&&(a(\"method\"),a(\"args\"),a(\"args2\"),a(\"label\"),a(\"execute\"))}}}),nC=ke({\"src/components/updatemenus/scrollbox.js\"(Z,H){\"use strict\";H.exports=e;var g=_i(),x=eo(),A=$o(),S=un();function e(t,r,o){this.gd=t,this.container=r,this.id=o,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll(\"rect.scrollbox-bg\").data([0]),this.bg.exit().on(\".drag\",null).on(\"wheel\",null).remove(),this.bg.enter().append(\"rect\").classed(\"scrollbox-bg\",!0).style(\"pointer-events\",\"all\").attr({opacity:0,x:0,y:0,width:0,height:0})}e.barWidth=2,e.barLength=20,e.barRadius=2,e.barPad=1,e.barColor=\"#808BA4\",e.prototype.enable=function(r,o,n){var i=this.gd._fullLayout,a=i.width,s=i.height;this.position=r;var c=this.position.l,h=this.position.w,p=this.position.t,d=this.position.h,T=this.position.direction,l=T===\"down\",_=T===\"left\",w=T===\"right\",M=T===\"up\",E=h,m=d,b,v,u,y;!l&&!_&&!w&&!M&&(this.position.direction=\"down\",l=!0);var f=l||M;f?(b=c,v=b+E,l?(u=p,y=Math.min(u+m,s),m=y-u):(y=p+m,u=Math.max(y-m,0),m=y-u)):(u=p,y=u+m,_?(v=c+E,b=Math.max(v-E,0),E=v-b):(b=c,v=Math.min(b+E,a),E=v-b)),this._box={l:b,t:u,w:E,h:m};var P=h>E,L=e.barLength+2*e.barPad,z=e.barWidth+2*e.barPad,F=c,B=p+d;B+z>s&&(B=s-z);var O=this.container.selectAll(\"rect.scrollbar-horizontal\").data(P?[0]:[]);O.exit().on(\".drag\",null).remove(),O.enter().append(\"rect\").classed(\"scrollbar-horizontal\",!0).call(x.fill,e.barColor),P?(this.hbar=O.attr({rx:e.barRadius,ry:e.barRadius,x:F,y:B,width:L,height:z}),this._hbarXMin=F+L/2,this._hbarTranslateMax=E-L):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=d>m,N=e.barWidth+2*e.barPad,U=e.barLength+2*e.barPad,W=c+h,Q=p;W+N>a&&(W=a-N);var le=this.container.selectAll(\"rect.scrollbar-vertical\").data(I?[0]:[]);le.exit().on(\".drag\",null).remove(),le.enter().append(\"rect\").classed(\"scrollbar-vertical\",!0).call(x.fill,e.barColor),I?(this.vbar=le.attr({rx:e.barRadius,ry:e.barRadius,x:W,y:Q,width:N,height:U}),this._vbarYMin=Q+U/2,this._vbarTranslateMax=m-U):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var se=this.id,fe=b-.5,G=I?v+N+.5:v+.5,$=u-.5,J=P?y+z+.5:y+.5,X=i._topdefs.selectAll(\"#\"+se).data(P||I?[0]:[]);if(X.exit().remove(),X.enter().append(\"clipPath\").attr(\"id\",se).append(\"rect\"),P||I?(this._clipRect=X.select(\"rect\").attr({x:Math.floor(fe),y:Math.floor($),width:Math.ceil(G)-Math.floor(fe),height:Math.ceil(J)-Math.floor($)}),this.container.call(A.setClipUrl,se,this.gd),this.bg.attr({x:c,y:p,width:h,height:d})):(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(A.setClipUrl,null),delete this._clipRect),P||I){var re=g.behavior.drag().on(\"dragstart\",function(){g.event.sourceEvent.preventDefault()}).on(\"drag\",this._onBoxDrag.bind(this));this.container.on(\"wheel\",null).on(\"wheel\",this._onBoxWheel.bind(this)).on(\".drag\",null).call(re);var ae=g.behavior.drag().on(\"dragstart\",function(){g.event.sourceEvent.preventDefault(),g.event.sourceEvent.stopPropagation()}).on(\"drag\",this._onBarDrag.bind(this));P&&this.hbar.on(\".drag\",null).call(ae),I&&this.vbar.on(\".drag\",null).call(ae)}this.setTranslate(o,n)},e.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(A.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(\".drag\",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(\".drag\",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},e.prototype._onBoxDrag=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r-=g.event.dx),this.vbar&&(o-=g.event.dy),this.setTranslate(r,o)},e.prototype._onBoxWheel=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r+=g.event.deltaY),this.vbar&&(o+=g.event.deltaY),this.setTranslate(r,o)},e.prototype._onBarDrag=function(){var r=this.translateX,o=this.translateY;if(this.hbar){var n=r+this._hbarXMin,i=n+this._hbarTranslateMax,a=S.constrain(g.event.x,n,i),s=(a-n)/(i-n),c=this.position.w-this._box.w;r=s*c}if(this.vbar){var h=o+this._vbarYMin,p=h+this._vbarTranslateMax,d=S.constrain(g.event.y,h,p),T=(d-h)/(p-h),l=this.position.h-this._box.h;o=T*l}this.setTranslate(r,o)},e.prototype.setTranslate=function(r,o){var n=this.position.w-this._box.w,i=this.position.h-this._box.h;if(r=S.constrain(r||0,0,n),o=S.constrain(o||0,0,i),this.translateX=r,this.translateY=o,this.container.call(A.setTranslate,this._box.l-this.position.l-r,this._box.t-this.position.t-o),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+r-.5),y:Math.floor(this.position.t+o-.5)}),this.hbar){var a=r/n;this.hbar.call(A.setTranslate,r+a*this._hbarTranslateMax,o)}if(this.vbar){var s=o/i;this.vbar.call(A.setTranslate,r,o+s*this._vbarTranslateMax)}}}}),iC=ke({\"src/components/updatemenus/draw.js\"(Z,H){\"use strict\";var g=_i(),x=Zu(),A=eo(),S=$o(),e=un(),t=Wl(),r=yl().arrayEditor,o=Yf().LINE_SPACING,n=E_(),i=nC();H.exports=function(L){var z=L._fullLayout,F=e.filterVisible(z[n.name]);function B(se){x.autoMargin(L,u(se))}var O=z._menulayer.selectAll(\"g.\"+n.containerClassName).data(F.length>0?[0]:[]);if(O.enter().append(\"g\").classed(n.containerClassName,!0).style(\"cursor\",\"pointer\"),O.exit().each(function(){g.select(this).selectAll(\"g.\"+n.headerGroupClassName).each(B)}).remove(),F.length!==0){var I=O.selectAll(\"g.\"+n.headerGroupClassName).data(F,a);I.enter().append(\"g\").classed(n.headerGroupClassName,!0);for(var N=e.ensureSingle(O,\"g\",n.dropdownButtonGroupClassName,function(se){se.style(\"pointer-events\",\"all\")}),U=0;U0?[0]:[]);W.enter().append(\"g\").classed(n.containerClassName,!0).style(\"cursor\",I?null:\"ew-resize\");function Q(G){G._commandObserver&&(G._commandObserver.remove(),delete G._commandObserver),x.autoMargin(O,h(G))}if(W.exit().each(function(){g.select(this).selectAll(\"g.\"+n.groupClassName).each(Q)}).remove(),U.length!==0){var le=W.selectAll(\"g.\"+n.groupClassName).data(U,d);le.enter().append(\"g\").classed(n.groupClassName,!0),le.exit().each(Q).remove();for(var se=0;se0&&(le=le.transition().duration(O.transition.duration).ease(O.transition.easing)),le.attr(\"transform\",t(Q-n.gripWidth*.5,O._dims.currentValueTotalHeight))}}function P(B,O){var I=B._dims;return I.inputAreaStart+n.stepInset+(I.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,O))}function L(B,O){var I=B._dims;return Math.min(1,Math.max(0,(O-n.stepInset-I.inputAreaStart)/(I.inputAreaLength-2*n.stepInset-2*I.inputAreaStart)))}function z(B,O,I){var N=I._dims,U=e.ensureSingle(B,\"rect\",n.railTouchRectClass,function(W){W.call(v,O,B,I).style(\"pointer-events\",\"all\")});U.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,n.tickOffset+I.ticklen+N.labelHeight)}).call(A.fill,I.bgcolor).attr(\"opacity\",0),S.setTranslate(U,0,N.currentValueTotalHeight)}function F(B,O){var I=O._dims,N=I.inputAreaLength-n.railInset*2,U=e.ensureSingle(B,\"rect\",n.railRectClass);U.attr({width:N,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,\"shape-rendering\":\"crispEdges\"}).call(A.stroke,O.bordercolor).call(A.fill,O.bgcolor).style(\"stroke-width\",O.borderwidth+\"px\"),S.setTranslate(U,n.railInset,(I.inputAreaWidth-n.railWidth)*.5+I.currentValueTotalHeight)}}}),lC=ke({\"src/components/sliders/index.js\"(Z,H){\"use strict\";var g=l0();H.exports={moduleType:\"component\",name:g.name,layoutAttributes:k2(),supplyLayoutDefaults:oC(),draw:sC()}}}),C_=ke({\"src/components/rangeslider/attributes.js\"(Z,H){\"use strict\";var g=If();H.exports={bgcolor:{valType:\"color\",dflt:g.background,editType:\"plot\"},bordercolor:{valType:\"color\",dflt:g.defaultLine,editType:\"plot\"},borderwidth:{valType:\"integer\",dflt:0,min:0,editType:\"plot\"},autorange:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}}],editType:\"calc\",impliedEdits:{autorange:!1}},thickness:{valType:\"number\",dflt:.15,min:0,max:1,editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"},editType:\"calc\"}}}),L2=ke({\"src/components/rangeslider/oppaxis_attributes.js\"(Z,H){\"use strict\";H.exports={_isSubplotObj:!0,rangemode:{valType:\"enumerated\",values:[\"auto\",\"fixed\",\"match\"],dflt:\"match\",editType:\"calc\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"plot\"},{valType:\"any\",editType:\"plot\"}],editType:\"plot\"},editType:\"calc\"}}}),k_=ke({\"src/components/rangeslider/constants.js\"(Z,H){\"use strict\";H.exports={name:\"rangeslider\",containerClassName:\"rangeslider-container\",bgClassName:\"rangeslider-bg\",rangePlotClassName:\"rangeslider-rangeplot\",maskMinClassName:\"rangeslider-mask-min\",maskMaxClassName:\"rangeslider-mask-max\",slideBoxClassName:\"rangeslider-slidebox\",grabberMinClassName:\"rangeslider-grabber-min\",grabAreaMinClassName:\"rangeslider-grabarea-min\",handleMinClassName:\"rangeslider-handle-min\",grabberMaxClassName:\"rangeslider-grabber-max\",grabAreaMaxClassName:\"rangeslider-grabarea-max\",handleMaxClassName:\"rangeslider-handle-max\",maskMinOppAxisClassName:\"rangeslider-mask-min-opp-axis\",maskMaxOppAxisClassName:\"rangeslider-mask-max-opp-axis\",maskColor:\"rgba(0,0,0,0.4)\",maskOppAxisColor:\"rgba(0,0,0,0.2)\",slideBoxFill:\"transparent\",slideBoxCursor:\"ew-resize\",grabAreaFill:\"transparent\",grabAreaCursor:\"col-resize\",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}}}),uC=ke({\"src/components/rangeslider/helpers.js\"(Z){\"use strict\";var H=qc(),g=Wl(),x=k_(),A=Yf().LINE_SPACING,S=x.name;function e(t){var r=t&&t[S];return r&&r.visible}Z.isVisible=e,Z.makeData=function(t){for(var r=H.list({_fullLayout:t},\"x\",!0),o=t.margin,n=[],i=0;i=at.max)Ye=ce[it+1];else if(Ie=at.pmax)Ye=ce[it+1];else if(Ie0?v.touches[0].clientX:0}function p(v,u,y,f){if(u._context.staticPlot)return;var P=v.select(\"rect.\"+c.slideBoxClassName).node(),L=v.select(\"rect.\"+c.grabAreaMinClassName).node(),z=v.select(\"rect.\"+c.grabAreaMaxClassName).node();function F(){var B=g.event,O=B.target,I=h(B),N=I-v.node().getBoundingClientRect().left,U=f.d2p(y._rl[0]),W=f.d2p(y._rl[1]),Q=a.coverSlip();this.addEventListener(\"touchmove\",le),this.addEventListener(\"touchend\",se),Q.addEventListener(\"mousemove\",le),Q.addEventListener(\"mouseup\",se);function le(fe){var G=h(fe),$=+G-I,J,X,re;switch(O){case P:if(re=\"ew-resize\",U+$>y._length||W+$<0)return;J=U+$,X=W+$;break;case L:if(re=\"col-resize\",U+$>y._length)return;J=U+$,X=W;break;case z:if(re=\"col-resize\",W+$<0)return;J=U,X=W+$;break;default:re=\"ew-resize\",J=N,X=N+$;break}if(X0);if(_){var w=o(a,s,c);T(\"x\",w[0]),T(\"y\",w[1]),g.noneOrAll(i,a,[\"x\",\"y\"]),T(\"xanchor\"),T(\"yanchor\"),g.coerceFont(T,\"font\",s.font);var M=T(\"bgcolor\");T(\"activecolor\",x.contrast(M,t.lightAmount,t.darkAmount)),T(\"bordercolor\"),T(\"borderwidth\")}};function r(n,i,a,s){var c=s.calendar;function h(T,l){return g.coerce(n,i,e.buttons,T,l)}var p=h(\"visible\");if(p){var d=h(\"step\");d!==\"all\"&&(c&&c!==\"gregorian\"&&(d===\"month\"||d===\"year\")?i.stepmode=\"backward\":h(\"stepmode\"),h(\"count\")),h(\"label\")}}function o(n,i,a){for(var s=a.filter(function(d){return i[d].anchor===n._id}),c=0,h=0;h1)){delete c.grid;return}if(!T&&!l&&!_){var y=b(\"pattern\")===\"independent\";y&&(T=!0)}m._hasSubplotGrid=T;var f=b(\"roworder\"),P=f===\"top to bottom\",L=T?.2:.1,z=T?.3:.1,F,B;w&&c._splomGridDflt&&(F=c._splomGridDflt.xside,B=c._splomGridDflt.yside),m._domains={x:n(\"x\",b,L,F,u),y:n(\"y\",b,z,B,v,P)}}function n(s,c,h,p,d,T){var l=c(s+\"gap\",h),_=c(\"domain.\"+s);c(s+\"side\",p);for(var w=new Array(d),M=_[0],E=(_[1]-M)/(d-l),m=E*(1-l),b=0;b0,p=r._context.staticPlot;o.each(function(d){var T=d[0].trace,l=T.error_x||{},_=T.error_y||{},w;T.ids&&(w=function(b){return b.id});var M=S.hasMarkers(T)&&T.marker.maxdisplayed>0;!_.visible&&!l.visible&&(d=[]);var E=g.select(this).selectAll(\"g.errorbar\").data(d,w);if(E.exit().remove(),!!d.length){l.visible||E.selectAll(\"path.xerror\").remove(),_.visible||E.selectAll(\"path.yerror\").remove(),E.style(\"opacity\",1);var m=E.enter().append(\"g\").classed(\"errorbar\",!0);h&&m.style(\"opacity\",0).transition().duration(i.duration).style(\"opacity\",1),A.setClipUrl(E,n.layerClipId,r),E.each(function(b){var v=g.select(this),u=e(b,s,c);if(!(M&&!b.vis)){var y,f=v.select(\"path.yerror\");if(_.visible&&x(u.x)&&x(u.yh)&&x(u.ys)){var P=_.width;y=\"M\"+(u.x-P)+\",\"+u.yh+\"h\"+2*P+\"m-\"+P+\",0V\"+u.ys,u.noYS||(y+=\"m-\"+P+\",0h\"+2*P),a=!f.size(),a?f=v.append(\"path\").style(\"vector-effect\",p?\"none\":\"non-scaling-stroke\").classed(\"yerror\",!0):h&&(f=f.transition().duration(i.duration).ease(i.easing)),f.attr(\"d\",y)}else f.remove();var L=v.select(\"path.xerror\");if(l.visible&&x(u.y)&&x(u.xh)&&x(u.xs)){var z=(l.copy_ystyle?_:l).width;y=\"M\"+u.xh+\",\"+(u.y-z)+\"v\"+2*z+\"m0,-\"+z+\"H\"+u.xs,u.noXS||(y+=\"m0,-\"+z+\"v\"+2*z),a=!L.size(),a?L=v.append(\"path\").style(\"vector-effect\",p?\"none\":\"non-scaling-stroke\").classed(\"xerror\",!0):h&&(L=L.transition().duration(i.duration).ease(i.easing)),L.attr(\"d\",y)}else L.remove()}})}})};function e(t,r,o){var n={x:r.c2p(t.x),y:o.c2p(t.y)};return t.yh!==void 0&&(n.yh=o.c2p(t.yh),n.ys=o.c2p(t.ys),x(n.ys)||(n.noYS=!0,n.ys=o.c2p(t.ys,!0))),t.xh!==void 0&&(n.xh=r.c2p(t.xh),n.xs=r.c2p(t.xs),x(n.xs)||(n.noXS=!0,n.xs=r.c2p(t.xs,!0))),n}}}),bC=ke({\"src/components/errorbars/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo();H.exports=function(S){S.each(function(e){var t=e[0].trace,r=t.error_y||{},o=t.error_x||{},n=g.select(this);n.selectAll(\"path.yerror\").style(\"stroke-width\",r.thickness+\"px\").call(x.stroke,r.color),o.copy_ystyle&&(o=r),n.selectAll(\"path.xerror\").style(\"stroke-width\",o.thickness+\"px\").call(x.stroke,o.color)})}}}),wC=ke({\"src/components/errorbars/index.js\"(Z,H){\"use strict\";var g=un(),x=ju().overrideAll,A=R2(),S={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A)};delete S.error_x.copy_zstyle,delete S.error_y.copy_zstyle,delete S.error_y.copy_ystyle;var e={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A),error_z:g.extendFlat({},A)};delete e.error_x.copy_ystyle,delete e.error_y.copy_ystyle,delete e.error_z.copy_ystyle,delete e.error_z.copy_zstyle,H.exports={moduleType:\"component\",name:\"errorbars\",schema:{traces:{scatter:S,bar:S,histogram:S,scatter3d:x(e,\"calc\",\"nested\"),scattergl:x(S,\"calc\",\"nested\")}},supplyDefaults:yC(),calc:_C(),makeComputeError:D2(),plot:xC(),style:bC(),hoverInfo:t};function t(r,o,n){(o.error_y||{}).visible&&(n.yerr=r.yh-r.y,o.error_y.symmetric||(n.yerrneg=r.y-r.ys)),(o.error_x||{}).visible&&(n.xerr=r.xh-r.x,o.error_x.symmetric||(n.xerrneg=r.x-r.xs))}}}),TC=ke({\"src/components/colorbar/constants.js\"(Z,H){\"use strict\";H.exports={cn:{colorbar:\"colorbar\",cbbg:\"cbbg\",cbfill:\"cbfill\",cbfills:\"cbfills\",cbline:\"cbline\",cblines:\"cblines\",cbaxis:\"cbaxis\",cbtitleunshift:\"cbtitleunshift\",cbtitle:\"cbtitle\",cboutline:\"cboutline\",crisp:\"crisp\",jsPlaceholder:\"js-placeholder\"}}}}),AC=ke({\"src/components/colorbar/draw.js\"(Z,H){\"use strict\";var g=_i(),x=ru(),A=Zu(),S=lo(),e=Ho(),t=Xh(),r=un(),o=r.strTranslate,n=To().extendFlat,i=uv(),a=$o(),s=eo(),c=Im(),h=Wl(),p=ad().flipScale,d=s0(),T=A_(),l=wh(),_=Yf(),w=_.LINE_SPACING,M=_.FROM_TL,E=_.FROM_BR,m=TC().cn;function b(L){var z=L._fullLayout,F=z._infolayer.selectAll(\"g.\"+m.colorbar).data(v(L),function(B){return B._id});F.enter().append(\"g\").attr(\"class\",function(B){return B._id}).classed(m.colorbar,!0),F.each(function(B){var O=g.select(this);r.ensureSingle(O,\"rect\",m.cbbg),r.ensureSingle(O,\"g\",m.cbfills),r.ensureSingle(O,\"g\",m.cblines),r.ensureSingle(O,\"g\",m.cbaxis,function(N){N.classed(m.crisp,!0)}),r.ensureSingle(O,\"g\",m.cbtitleunshift,function(N){N.append(\"g\").classed(m.cbtitle,!0)}),r.ensureSingle(O,\"rect\",m.cboutline);var I=u(O,B,L);I&&I.then&&(L._promises||[]).push(I),L._context.edits.colorbarPosition&&y(O,B,L)}),F.exit().each(function(B){A.autoMargin(L,B._id)}).remove(),F.order()}function v(L){var z=L._fullLayout,F=L.calcdata,B=[],O,I,N,U;function W(j){return n(j,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof U.calc==\"function\"?U.calc(L,N,O):(O._fillgradient=I.reversescale?p(I.colorscale):I.colorscale,O._zrange=[I[U.min],I[U.max]])}for(var le=0;le1){var Be=Math.pow(10,Math.floor(Math.log(_t)/Math.LN10));gr*=Be*r.roundUp(_t/Be,[2,5,10]),(Math.abs(it.start)/it.size+1e-6)%1<2e-6&&(ar.tick0=0)}ar.dtick=gr}ar.domain=B?[qt+$/ee.h,qt+Oe-$/ee.h]:[qt+G/ee.w,qt+Oe-G/ee.w],ar.setScale(),L.attr(\"transform\",o(Math.round(ee.l),Math.round(ee.t)));var Ke=L.select(\".\"+m.cbtitleunshift).attr(\"transform\",o(-Math.round(ee.l),-Math.round(ee.t))),je=ar.ticklabelposition,Se=ar.title.font.size,He=L.select(\".\"+m.cbaxis),Ee,we=0,Le=0;function nt(Xt,$t){var ur={propContainer:ar,propName:z._propPrefix+\"title\",traceIndex:z._traceIndex,_meta:z._meta,placeholder:j._dfltTitle.colorbar,containerGroup:L.select(\".\"+m.cbtitle)},pn=Xt.charAt(0)===\"h\"?Xt.substr(1):\"h\"+Xt;L.selectAll(\".\"+pn+\",.\"+pn+\"-math-group\").remove(),c.draw(F,Xt,n(ur,$t||{}))}function pt(){if(B&&Rr||!B&&!Rr){var Xt,$t;Te===\"top\"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt-Oe)+3+Se*.75),Te===\"bottom\"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt)-3-Se*.25),Te===\"right\"&&($t=$+ee.t+ot*X+3+Se*.75,Xt=G+ee.l+rt*qt),nt(ar._id+\"title\",{attributes:{x:Xt,y:$t,\"text-anchor\":B?\"start\":\"middle\"}})}}function bt(){if(B&&!Rr||!B&&Rr){var Xt=ar.position||0,$t=ar._offset+ar._length/2,ur,pn;if(Te===\"right\")pn=$t,ur=ee.l+rt*Xt+10+Se*(ar.showticklabels?1:.5);else if(ur=$t,Te===\"bottom\"&&(pn=ee.t+ot*Xt+10+(je.indexOf(\"inside\")===-1?ar.tickfont.size:0)+(ar.ticks!==\"intside\"&&z.ticklen||0)),Te===\"top\"){var Rn=xe.text.split(\"
\").length;pn=ee.t+ot*Xt+10-Me-w*Se*Rn}nt((B?\"h\":\"v\")+ar._id+\"title\",{avoid:{selection:g.select(F).selectAll(\"g.\"+ar._id+\"tick\"),side:Te,offsetTop:B?0:ee.t,offsetLeft:B?ee.l:0,maxShift:B?j.width:j.height},attributes:{x:ur,y:pn,\"text-anchor\":\"middle\"},transform:{rotate:B?-90:0,offset:0}})}}function Rt(){if(!B&&!Rr||B&&Rr){var Xt=L.select(\".\"+m.cbtitle),$t=Xt.select(\"text\"),ur=[-W/2,W/2],pn=Xt.select(\".h\"+ar._id+\"title-math-group\").node(),Rn=15.6;$t.node()&&(Rn=parseInt($t.node().style.fontSize,10)*w);var Nn;if(pn?(Nn=a.bBox(pn),Le=Nn.width,we=Nn.height,we>Rn&&(ur[1]-=(we-Rn)/2)):$t.node()&&!$t.classed(m.jsPlaceholder)&&(Nn=a.bBox($t.node()),Le=Nn.width,we=Nn.height),B){if(we){if(we+=5,Te===\"top\")ar.domain[1]-=we/ee.h,ur[1]*=-1;else{ar.domain[0]+=we/ee.h;var On=h.lineCount($t);ur[1]+=(1-On)*Rn}Xt.attr(\"transform\",o(ur[0],ur[1])),ar.setScale()}}else Le&&(Te===\"right\"&&(ar.domain[0]+=(Le+Se/2)/ee.w),Xt.attr(\"transform\",o(ur[0],ur[1])),ar.setScale())}L.selectAll(\".\"+m.cbfills+\",.\"+m.cblines).attr(\"transform\",B?o(0,Math.round(ee.h*(1-ar.domain[1]))):o(Math.round(ee.w*ar.domain[0]),0)),He.attr(\"transform\",B?o(0,Math.round(-ee.t)):o(Math.round(-ee.l),0));var ni=L.select(\".\"+m.cbfills).selectAll(\"rect.\"+m.cbfill).attr(\"style\",\"\").data(tt);ni.enter().append(\"rect\").classed(m.cbfill,!0).attr(\"style\",\"\"),ni.exit().remove();var zn=Ue.map(ar.c2p).map(Math.round).sort(function(Ht,Vt){return Ht-Vt});ni.each(function(Ht,Vt){var wr=[Vt===0?Ue[0]:(tt[Vt]+tt[Vt-1])/2,Vt===tt.length-1?Ue[1]:(tt[Vt]+tt[Vt+1])/2].map(ar.c2p).map(Math.round);B&&(wr[1]=r.constrain(wr[1]+(wr[1]>wr[0])?1:-1,zn[0],zn[1]));var $r=g.select(this).attr(B?\"x\":\"y\",et).attr(B?\"y\":\"x\",g.min(wr)).attr(B?\"width\":\"height\",Math.max(Me,2)).attr(B?\"height\":\"width\",Math.max(g.max(wr)-g.min(wr),2));if(z._fillgradient)a.gradient($r,F,z._id,B?\"vertical\":\"horizontalreversed\",z._fillgradient,\"fill\");else{var xn=Ye(Ht).replace(\"e-\",\"\");$r.attr(\"fill\",x(xn).toHexString())}});var Qn=L.select(\".\"+m.cblines).selectAll(\"path.\"+m.cbline).data(ce.color&&ce.width?ut:[]);Qn.enter().append(\"path\").classed(m.cbline,!0),Qn.exit().remove(),Qn.each(function(Ht){var Vt=et,wr=Math.round(ar.c2p(Ht))+ce.width/2%1;g.select(this).attr(\"d\",\"M\"+(B?Vt+\",\"+wr:wr+\",\"+Vt)+(B?\"h\":\"v\")+Me).call(a.lineGroupStyle,ce.width,Ie(Ht),ce.dash)}),He.selectAll(\"g.\"+ar._id+\"tick,path\").remove();var gi=et+Me+(W||0)/2-(z.ticks===\"outside\"?1:0),Zt=e.calcTicks(ar),Ft=e.getTickSigns(ar)[2];return e.drawTicks(F,ar,{vals:ar.ticks===\"inside\"?e.clipEnds(ar,Zt):Zt,layer:He,path:e.makeTickPath(ar,gi,Ft),transFn:e.makeTransTickFn(ar)}),e.drawLabels(F,ar,{vals:Zt,layer:He,transFn:e.makeTransTickLabelFn(ar),labelFns:e.makeLabelFns(ar,gi)})}function Nt(){var Xt,$t=Me+W/2;je.indexOf(\"inside\")===-1&&(Xt=a.bBox(He.node()),$t+=B?Xt.width:Xt.height),Ee=Ke.select(\"text\");var ur=0,pn=B&&Te===\"top\",Rn=!B&&Te===\"right\",Nn=0;if(Ee.node()&&!Ee.classed(m.jsPlaceholder)){var On,ni=Ke.select(\".h\"+ar._id+\"title-math-group\").node();ni&&(B&&Rr||!B&&!Rr)?(Xt=a.bBox(ni),ur=Xt.width,On=Xt.height):(Xt=a.bBox(Ke.node()),ur=Xt.right-ee.l-(B?et:fr),On=Xt.bottom-ee.t-(B?fr:et),!B&&Te===\"top\"&&($t+=Xt.height,Nn=Xt.height)),Rn&&(Ee.attr(\"transform\",o(ur/2+Se/2,0)),ur*=2),$t=Math.max($t,B?ur:On)}var zn=(B?G:$)*2+$t+Q+W/2,Qn=0;!B&&xe.text&&fe===\"bottom\"&&X<=0&&(Qn=zn/2,zn+=Qn,Nn+=Qn),j._hColorbarMoveTitle=Qn,j._hColorbarMoveCBTitle=Nn;var gi=Q+W,Zt=(B?et:fr)-gi/2-(B?G:0),Ft=(B?fr:et)-(B?ue:$+Nn-Qn);L.select(\".\"+m.cbbg).attr(\"x\",Zt).attr(\"y\",Ft).attr(B?\"width\":\"height\",Math.max(zn-Qn,2)).attr(B?\"height\":\"width\",Math.max(ue+gi,2)).call(s.fill,le).call(s.stroke,z.bordercolor).style(\"stroke-width\",Q);var Ht=Rn?Math.max(ur-10,0):0;L.selectAll(\".\"+m.cboutline).attr(\"x\",(B?et:fr+G)+Ht).attr(\"y\",(B?fr+$-ue:et)+(pn?we:0)).attr(B?\"width\":\"height\",Math.max(Me,2)).attr(B?\"height\":\"width\",Math.max(ue-(B?2*$+we:2*G+Ht),2)).call(s.stroke,z.outlinecolor).style({fill:\"none\",\"stroke-width\":W});var Vt=B?Lt*zn:0,wr=B?0:(1-Et)*zn-Nn;if(Vt=ae?ee.l-Vt:-Vt,wr=re?ee.t-wr:-wr,L.attr(\"transform\",o(Vt,wr)),!B&&(Q||x(le).getAlpha()&&!x.equals(j.paper_bgcolor,le))){var $r=He.selectAll(\"text\"),xn=$r[0].length,en=L.select(\".\"+m.cbbg).node(),Fn=a.bBox(en),Wn=a.getTranslate(L),ri=2;$r.each(function(Ur,Dr){var nn=0,vn=xn-1;if(Dr===nn||Dr===vn){var gn=a.bBox(this),kt=a.getTranslate(this),or;if(Dr===vn){var yr=gn.right+kt.x,on=Fn.right+Wn.x+fr-Q-ri+J;or=on-yr,or>0&&(or=0)}else if(Dr===nn){var An=gn.left+kt.x,Zn=Fn.left+Wn.x+fr+Q+ri;or=Zn-An,or<0&&(or=0)}or&&(xn<3?this.setAttribute(\"transform\",\"translate(\"+or+\",0) \"+this.getAttribute(\"transform\")):this.setAttribute(\"visibility\",\"hidden\"))}})}var Sn={},ui=M[se],gt=E[se],yt=M[fe],Pr=E[fe],Ir=zn-Me;B?(I===\"pixels\"?(Sn.y=X,Sn.t=ue*yt,Sn.b=ue*Pr):(Sn.t=Sn.b=0,Sn.yt=X+O*yt,Sn.yb=X-O*Pr),U===\"pixels\"?(Sn.x=J,Sn.l=zn*ui,Sn.r=zn*gt):(Sn.l=Ir*ui,Sn.r=Ir*gt,Sn.xl=J-N*ui,Sn.xr=J+N*gt)):(I===\"pixels\"?(Sn.x=J,Sn.l=ue*ui,Sn.r=ue*gt):(Sn.l=Sn.r=0,Sn.xl=J+O*ui,Sn.xr=J-O*gt),U===\"pixels\"?(Sn.y=1-X,Sn.t=zn*yt,Sn.b=zn*Pr):(Sn.t=Ir*yt,Sn.b=Ir*Pr,Sn.yt=X-N*yt,Sn.yb=X+N*Pr));var Tr=z.y<.5?\"b\":\"t\",Mr=z.x<.5?\"l\":\"r\";F._fullLayout._reservedMargin[z._id]={};var Lr={r:j.width-Zt-Vt,l:Zt+Sn.r,b:j.height-Ft-wr,t:Ft+Sn.b};ae&&re?A.autoMargin(F,z._id,Sn):ae?F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]:re||B?F._fullLayout._reservedMargin[z._id][Mr]=Lr[Mr]:F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]}return r.syncOrAsync([A.previousPromises,pt,Rt,bt,A.previousPromises,Nt],F)}function y(L,z,F){var B=z.orientation===\"v\",O=F._fullLayout,I=O._size,N,U,W;t.init({element:L.node(),gd:F,prepFn:function(){N=L.attr(\"transform\"),i(L)},moveFn:function(Q,le){L.attr(\"transform\",N+o(Q,le)),U=t.align((B?z._uFrac:z._vFrac)+Q/I.w,B?z._thickFrac:z._lenFrac,0,1,z.xanchor),W=t.align((B?z._vFrac:1-z._uFrac)-le/I.h,B?z._lenFrac:z._thickFrac,0,1,z.yanchor);var se=t.getCursor(U,W,z.xanchor,z.yanchor);i(L,se)},doneFn:function(){if(i(L),U!==void 0&&W!==void 0){var Q={};Q[z._propPrefix+\"x\"]=U,Q[z._propPrefix+\"y\"]=W,z._traceIndex!==void 0?S.call(\"_guiRestyle\",F,Q,z._traceIndex):S.call(\"_guiRelayout\",F,Q)}}})}function f(L,z,F){var B=z._levels,O=[],I=[],N,U,W=B.end+B.size/100,Q=B.size,le=1.001*F[0]-.001*F[1],se=1.001*F[1]-.001*F[0];for(U=0;U<1e5&&(N=B.start+U*Q,!(Q>0?N>=W:N<=W));U++)N>le&&N0?N>=W:N<=W));U++)N>F[0]&&N-1}H.exports=function(o,n){var i,a=o.data,s=o.layout,c=S([],a),h=S({},s,e(n.tileClass)),p=o._context||{};if(n.width&&(h.width=n.width),n.height&&(h.height=n.height),n.tileClass===\"thumbnail\"||n.tileClass===\"themes__thumb\"){h.annotations=[];var d=Object.keys(h);for(i=0;i=0)return p}else if(typeof p==\"string\"&&(p=p.trim(),p.slice(-1)===\"%\"&&g(p.slice(0,-1))&&(p=+p.slice(0,-1),p>=0)))return p+\"%\"}function h(p,d,T,l,_,w){w=w||{};var M=w.moduleHasSelected!==!1,E=w.moduleHasUnselected!==!1,m=w.moduleHasConstrain!==!1,b=w.moduleHasCliponaxis!==!1,v=w.moduleHasTextangle!==!1,u=w.moduleHasInsideanchor!==!1,y=!!w.hasPathbar,f=Array.isArray(_)||_===\"auto\",P=f||_===\"inside\",L=f||_===\"outside\";if(P||L){var z=i(l,\"textfont\",T.font),F=x.extendFlat({},z),B=p.textfont&&p.textfont.color,O=!B;if(O&&delete F.color,i(l,\"insidetextfont\",F),y){var I=x.extendFlat({},z);O&&delete I.color,i(l,\"pathbar.textfont\",I)}L&&i(l,\"outsidetextfont\",z),M&&l(\"selected.textfont.color\"),E&&l(\"unselected.textfont.color\"),m&&l(\"constraintext\"),b&&l(\"cliponaxis\"),v&&l(\"textangle\"),l(\"texttemplate\")}P&&u&&l(\"insidetextanchor\")}H.exports={supplyDefaults:a,crossTraceDefaults:s,handleText:h,validateCornerradius:c}}}),F2=ke({\"src/traces/bar/layout_defaults.js\"(Z,H){\"use strict\";var g=lo(),x=Ho(),A=un(),S=P_(),e=Od().validateCornerradius;H.exports=function(t,r,o){function n(M,E){return A.coerce(t,r,S,M,E)}for(var i=!1,a=!1,s=!1,c={},h=n(\"barmode\"),p=h===\"group\",d=0;d0&&!c[l]&&(s=!0),c[l]=!0),T.visible&&T.type===\"histogram\"){var _=x.getFromId({_fullLayout:r},T[T.orientation===\"v\"?\"xaxis\":\"yaxis\"]);_.type!==\"category\"&&(a=!0)}}if(!i){delete r.barmode;return}h!==\"overlay\"&&n(\"barnorm\"),n(\"bargap\",a&&!s?0:.2),n(\"bargroupgap\");var w=n(\"barcornerradius\");r.barcornerradius=e(w)}}}),u0=ke({\"src/traces/bar/arrays_to_calcdata.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){for(var e=0;e g.point\"}o.selectAll(c).each(function(h){var p=h.transform;if(p){p.scale=s&&p.hide?0:a/p.fontSize;var d=g.select(this).select(\"text\");x.setTransormAndDisplay(d,p)}})}}function S(r,o,n){if(n.uniformtext.mode){var i=t(r),a=n.uniformtext.minsize,s=o.scale*o.fontSize;o.hide=sr;if(!o)return S}return e!==void 0?e:A.dflt},Z.coerceColor=function(A,S,e){return g(S).isValid()?S:e!==void 0?e:A.dflt},Z.coerceEnumerated=function(A,S,e){return A.coerceNumber&&(S=+S),A.values.indexOf(S)!==-1?S:e!==void 0?e:A.dflt},Z.getValue=function(A,S){var e;return x(A)?S1||y.bargap===0&&y.bargroupgap===0&&!f[0].trace.marker.line.width)&&g.select(this).attr(\"shape-rendering\",\"crispEdges\")}),v.selectAll(\"g.points\").each(function(f){var P=g.select(this),L=f[0].trace;c(P,L,b)}),e.getComponentMethod(\"errorbars\",\"style\")(v)}function c(b,v,u){A.pointStyle(b.selectAll(\"path\"),v,u),h(b,v,u)}function h(b,v,u){b.selectAll(\"text\").each(function(y){var f=g.select(this),P=S.ensureUniformFontSize(u,l(f,y,v,u));A.font(f,P)})}function p(b,v,u){var y=v[0].trace;y.selectedpoints?d(u,y,b):(c(u,y,b),e.getComponentMethod(\"errorbars\",\"style\")(u))}function d(b,v,u){A.selectedPointStyle(b.selectAll(\"path\"),v),T(b.selectAll(\"text\"),v,u)}function T(b,v,u){b.each(function(y){var f=g.select(this),P;if(y.selected){P=S.ensureUniformFontSize(u,l(f,y,v,u));var L=v.selected.textfont&&v.selected.textfont.color;L&&(P.color=L),A.font(f,P)}else A.selectedTextStyle(f,v)})}function l(b,v,u,y){var f=y._fullLayout.font,P=u.textfont;if(b.classed(\"bartext-inside\")){var L=m(v,u);P=w(u,v.i,f,L)}else b.classed(\"bartext-outside\")&&(P=M(u,v.i,f));return P}function _(b,v,u){return E(o,b.textfont,v,u)}function w(b,v,u,y){var f=_(b,v,u),P=b._input.textfont===void 0||b._input.textfont.color===void 0||Array.isArray(b.textfont.color)&&b.textfont.color[v]===void 0;return P&&(f={color:x.contrast(y),family:f.family,size:f.size,weight:f.weight,style:f.style,variant:f.variant,textcase:f.textcase,lineposition:f.lineposition,shadow:f.shadow}),E(n,b.insidetextfont,v,f)}function M(b,v,u){var y=_(b,v,u);return E(i,b.outsidetextfont,v,y)}function E(b,v,u,y){v=v||{};var f=a.getValue(v.family,u),P=a.getValue(v.size,u),L=a.getValue(v.color,u),z=a.getValue(v.weight,u),F=a.getValue(v.style,u),B=a.getValue(v.variant,u),O=a.getValue(v.textcase,u),I=a.getValue(v.lineposition,u),N=a.getValue(v.shadow,u);return{family:a.coerceString(b.family,f,y.family),size:a.coerceNumber(b.size,P,y.size),color:a.coerceColor(b.color,L,y.color),weight:a.coerceString(b.weight,z,y.weight),style:a.coerceString(b.style,F,y.style),variant:a.coerceString(b.variant,B,y.variant),textcase:a.coerceString(b.variant,O,y.textcase),lineposition:a.coerceString(b.variant,I,y.lineposition),shadow:a.coerceString(b.variant,N,y.shadow)}}function m(b,v){return v.type===\"waterfall\"?v[b.dir].marker.color:b.mcc||b.mc||v.marker.color}H.exports={style:s,styleTextPoints:h,styleOnSelect:p,getInsideTextFont:w,getOutsideTextFont:M,getBarColor:m,resizeText:t}}}),Bm=ke({\"src/traces/bar/plot.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=un(),S=Wl(),e=eo(),t=$o(),r=lo(),o=Ho().tickText,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Yd(),c=R_(),h=Om(),p=Pv(),d=p.text,T=p.textposition,l=gd().appendArrayPointValue,_=h.TEXTPAD;function w(Q){return Q.id}function M(Q){if(Q.ids)return w}function E(Q){return(Q>0)-(Q<0)}function m(Q,le){return Q0}function y(Q,le,se,fe,G,$){var J=le.xaxis,X=le.yaxis,re=Q._fullLayout,ae=Q._context.staticPlot;G||(G={mode:re.barmode,norm:re.barmode,gap:re.bargap,groupgap:re.bargroupgap},a(\"bar\",re));var j=A.makeTraceGroups(fe,se,\"trace bars\").each(function(ee){var ie=g.select(this),ce=ee[0].trace,xe=ee[0].t,Te=ce.type===\"waterfall\",Ue=ce.type===\"funnel\",Ie=ce.type===\"histogram\",Ye=ce.type===\"bar\",it=Ye||Ue,at=0;Te&&ce.connector.visible&&ce.connector.mode===\"between\"&&(at=ce.connector.line.width/2);var tt=ce.orientation===\"h\",ut=u(G),Me=A.ensureSingle(ie,\"g\",\"points\"),pe=M(ce),ue=Me.selectAll(\"g.point\").data(A.identity,pe);ue.enter().append(\"g\").classed(\"point\",!0),ue.exit().remove(),ue.each(function(rt,ot){var et=g.select(this),Lt=b(rt,J,X,tt),Et=Lt[0][0],Bt=Lt[0][1],qt=Lt[1][0],fr=Lt[1][1],ar=(tt?Bt-Et:fr-qt)===0;ar&&it&&c.getLineWidth(ce,rt)&&(ar=!1),ar||(ar=!x(Et)||!x(Bt)||!x(qt)||!x(fr)),rt.isBlank=ar,ar&&(tt?Bt=Et:fr=qt),at&&!ar&&(tt?(Et-=m(Et,Bt)*at,Bt+=m(Et,Bt)*at):(qt-=m(qt,fr)*at,fr+=m(qt,fr)*at));var Rr,gr;if(ce.type===\"waterfall\"){if(!ar){var br=ce[rt.dir].marker;Rr=br.line.width,gr=br.color}}else Rr=c.getLineWidth(ce,rt),gr=rt.mc||ce.marker.color;function _t(gi){var Zt=g.round(Rr/2%1,2);return G.gap===0&&G.groupgap===0?g.round(Math.round(gi)-Zt,2):gi}function Be(gi,Zt,Ft){return Ft&&gi===Zt?gi:Math.abs(gi-Zt)>=2?_t(gi):gi>Zt?Math.ceil(gi):Math.floor(gi)}var Ke=e.opacity(gr),je=Ke<1||Rr>.01?_t:Be;Q._context.staticPlot||(Et=je(Et,Bt,tt),Bt=je(Bt,Et,tt),qt=je(qt,fr,!tt),fr=je(fr,qt,!tt));var Se=tt?J.c2p:X.c2p,He;rt.s0>0?He=rt._sMax:rt.s0<0?He=rt._sMin:He=rt.s1>0?rt._sMax:rt._sMin;function Ee(gi,Zt){if(!gi)return 0;var Ft=Math.abs(tt?fr-qt:Bt-Et),Ht=Math.abs(tt?Bt-Et:fr-qt),Vt=je(Math.abs(Se(He,!0)-Se(0,!0))),wr=rt.hasB?Math.min(Ft/2,Ht/2):Math.min(Ft/2,Vt),$r;if(Zt===\"%\"){var xn=Math.min(50,gi);$r=Ft*(xn/100)}else $r=gi;return je(Math.max(Math.min($r,wr),0))}var we=Ye||Ie?Ee(xe.cornerradiusvalue,xe.cornerradiusform):0,Le,nt,pt=\"M\"+Et+\",\"+qt+\"V\"+fr+\"H\"+Bt+\"V\"+qt+\"Z\",bt=0;if(we&&rt.s){var Rt=E(rt.s0)===0||E(rt.s)===E(rt.s0)?rt.s1:rt.s0;if(bt=je(rt.hasB?0:Math.abs(Se(He,!0)-Se(Rt,!0))),bt0?Math.sqrt(bt*(2*we-bt)):0,Rn=Nt>0?Math.max:Math.min;Le=\"M\"+Et+\",\"+qt+\"V\"+(fr-ur*Xt)+\"H\"+Rn(Bt-(we-bt)*Nt,Et)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Bt+\",\"+(fr-we*Xt-pn)+\"V\"+(qt+we*Xt+pn)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Rn(Bt-(we-bt)*Nt,Et)+\",\"+(qt+ur*Xt)+\"Z\"}else if(rt.hasB)Le=\"M\"+(Et+we*Nt)+\",\"+qt+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Et+\",\"+(qt+we*Xt)+\"V\"+(fr-we*Xt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Et+we*Nt)+\",\"+fr+\"H\"+(Bt-we*Nt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Bt+\",\"+(fr-we*Xt)+\"V\"+(qt+we*Xt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Bt-we*Nt)+\",\"+qt+\"Z\";else{nt=Math.abs(fr-qt)+bt;var Nn=nt0?Math.sqrt(bt*(2*we-bt)):0,ni=Xt>0?Math.max:Math.min;Le=\"M\"+(Et+Nn*Nt)+\",\"+qt+\"V\"+ni(fr-(we-bt)*Xt,qt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Et+we*Nt-On)+\",\"+fr+\"H\"+(Bt-we*Nt+On)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Bt-Nn*Nt)+\",\"+ni(fr-(we-bt)*Xt,qt)+\"V\"+qt+\"Z\"}}else Le=pt}else Le=pt;var zn=v(A.ensureSingle(et,\"path\"),re,G,$);if(zn.style(\"vector-effect\",ae?\"none\":\"non-scaling-stroke\").attr(\"d\",isNaN((Bt-Et)*(fr-qt))||ar&&Q._context.staticPlot?\"M0,0Z\":Le).call(t.setClipUrl,le.layerClipId,Q),!re.uniformtext.mode&&ut){var Qn=t.makePointStyleFns(ce);t.singlePointStyle(rt,zn,ce,Qn,Q)}f(Q,le,et,ee,ot,Et,Bt,qt,fr,we,bt,G,$),le.layerClipId&&t.hideOutsideRangePoint(rt,et.select(\"text\"),J,X,ce.xcalendar,ce.ycalendar)});var Oe=ce.cliponaxis===!1;t.setClipUrl(ie,Oe?null:le.layerClipId,Q)});r.getComponentMethod(\"errorbars\",\"plot\")(Q,j,le,G)}function f(Q,le,se,fe,G,$,J,X,re,ae,j,ee,ie){var ce=le.xaxis,xe=le.yaxis,Te=Q._fullLayout,Ue;function Ie(nt,pt,bt){var Rt=A.ensureSingle(nt,\"text\").text(pt).attr({class:\"bartext bartext-\"+Ue,\"text-anchor\":\"middle\",\"data-notex\":1}).call(t.font,bt).call(S.convertToTspans,Q);return Rt}var Ye=fe[0].trace,it=Ye.orientation===\"h\",at=I(Te,fe,G,ce,xe);Ue=N(Ye,G);var tt=ee.mode===\"stack\"||ee.mode===\"relative\",ut=fe[G],Me=!tt||ut._outmost,pe=ut.hasB,ue=ae&&ae-j>_;if(!at||Ue===\"none\"||(ut.isBlank||$===J||X===re)&&(Ue===\"auto\"||Ue===\"inside\")){se.select(\"text\").remove();return}var Oe=Te.font,rt=s.getBarColor(fe[G],Ye),ot=s.getInsideTextFont(Ye,G,Oe,rt),et=s.getOutsideTextFont(Ye,G,Oe),Lt=Ye.insidetextanchor||\"end\",Et=se.datum();it?ce.type===\"log\"&&Et.s0<=0&&(ce.range[0]0&&_t>0,je;ue?pe?je=P(fr-2*ae,ar,br,_t,it)||P(fr,ar-2*ae,br,_t,it):it?je=P(fr-(ae-j),ar,br,_t,it)||P(fr,ar-2*(ae-j),br,_t,it):je=P(fr,ar-(ae-j),br,_t,it)||P(fr-2*(ae-j),ar,br,_t,it):je=P(fr,ar,br,_t,it),Ke&&je?Ue=\"inside\":(Ue=\"outside\",Rr.remove(),Rr=null)}else Ue=\"inside\";if(!Rr){Be=A.ensureUniformFontSize(Q,Ue===\"outside\"?et:ot),Rr=Ie(se,at,Be);var Se=Rr.attr(\"transform\");if(Rr.attr(\"transform\",\"\"),gr=t.bBox(Rr.node()),br=gr.width,_t=gr.height,Rr.attr(\"transform\",Se),br<=0||_t<=0){Rr.remove();return}}var He=Ye.textangle,Ee,we;Ue===\"outside\"?(we=Ye.constraintext===\"both\"||Ye.constraintext===\"outside\",Ee=O($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He})):(we=Ye.constraintext===\"both\"||Ye.constraintext===\"inside\",Ee=F($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He,anchor:Lt,hasB:pe,r:ae,overhead:j})),Ee.fontSize=Be.size,i(Ye.type===\"histogram\"?\"bar\":Ye.type,Ee,Te),ut.transform=Ee;var Le=v(Rr,Te,ee,ie);A.setTransormAndDisplay(Le,Ee)}function P(Q,le,se,fe,G){if(Q<0||le<0)return!1;var $=se<=Q&&fe<=le,J=se<=le&&fe<=Q,X=G?Q>=se*(le/fe):le>=fe*(Q/se);return $||J||X}function L(Q){return Q===\"auto\"?0:Q}function z(Q,le){var se=Math.PI/180*le,fe=Math.abs(Math.sin(se)),G=Math.abs(Math.cos(se));return{x:Q.width*G+Q.height*fe,y:Q.width*fe+Q.height*G}}function F(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=$.anchor,j=ae===\"end\",ee=ae===\"start\",ie=$.leftToRight||0,ce=(ie+1)/2,xe=1-ce,Te=$.hasB,Ue=$.r,Ie=$.overhead,Ye=G.width,it=G.height,at=Math.abs(le-Q),tt=Math.abs(fe-se),ut=at>2*_&&tt>2*_?_:0;at-=2*ut,tt-=2*ut;var Me=L(re);re===\"auto\"&&!(Ye<=at&&it<=tt)&&(Ye>at||it>tt)&&(!(Ye>tt||it>at)||Ye_){var rt=B(Q,le,se,fe,pe,Ue,Ie,J,Te);ue=rt.scale,Oe=rt.pad}else ue=1,X&&(ue=Math.min(1,at/pe.x,tt/pe.y)),Oe=0;var ot=G.left*xe+G.right*ce,et=(G.top+G.bottom)/2,Lt=(Q+_)*xe+(le-_)*ce,Et=(se+fe)/2,Bt=0,qt=0;if(ee||j){var fr=(J?pe.x:pe.y)/2;Ue&&(j||Te)&&(ut+=Oe);var ar=J?m(Q,le):m(se,fe);J?ee?(Lt=Q+ar*ut,Bt=-ar*fr):(Lt=le-ar*ut,Bt=ar*fr):ee?(Et=se+ar*ut,qt=-ar*fr):(Et=fe-ar*ut,qt=ar*fr)}return{textX:ot,textY:et,targetX:Lt,targetY:Et,anchorX:Bt,anchorY:qt,scale:ue,rotate:Me}}function B(Q,le,se,fe,G,$,J,X,re){var ae=Math.max(0,Math.abs(le-Q)-2*_),j=Math.max(0,Math.abs(fe-se)-2*_),ee=$-_,ie=J?ee-Math.sqrt(ee*ee-(ee-J)*(ee-J)):ee,ce=re?ee*2:X?ee-J:2*ie,xe=re?ee*2:X?2*ie:ee-J,Te,Ue,Ie,Ye,it;return G.y/G.x>=j/(ae-ce)?Ye=j/G.y:G.y/G.x<=(j-xe)/ae?Ye=ae/G.x:!re&&X?(Te=G.x*G.x+G.y*G.y/4,Ue=-2*G.x*(ae-ee)-G.y*(j/2-ee),Ie=(ae-ee)*(ae-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):re?(Te=(G.x*G.x+G.y*G.y)/4,Ue=-G.x*(ae/2-ee)-G.y*(j/2-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):(Te=G.x*G.x/4+G.y*G.y,Ue=-G.x*(ae/2-ee)-2*G.y*(j-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j-ee)*(j-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)),Ye=Math.min(1,Ye),X?it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(j-G.y*Ye)/2)*(ee-(j-G.y*Ye)/2)))-J):it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(ae-G.x*Ye)/2)*(ee-(ae-G.x*Ye)/2)))-J),{scale:Ye,pad:it}}function O(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=G.width,j=G.height,ee=Math.abs(le-Q),ie=Math.abs(fe-se),ce;J?ce=ie>2*_?_:0:ce=ee>2*_?_:0;var xe=1;X&&(xe=J?Math.min(1,ie/j):Math.min(1,ee/ae));var Te=L(re),Ue=z(G,Te),Ie=(J?Ue.x:Ue.y)/2,Ye=(G.left+G.right)/2,it=(G.top+G.bottom)/2,at=(Q+le)/2,tt=(se+fe)/2,ut=0,Me=0,pe=J?m(le,Q):m(se,fe);return J?(at=le-pe*ce,ut=pe*Ie):(tt=fe+pe*ce,Me=-pe*Ie),{textX:Ye,textY:it,targetX:at,targetY:tt,anchorX:ut,anchorY:Me,scale:xe,rotate:Te}}function I(Q,le,se,fe,G){var $=le[0].trace,J=$.texttemplate,X;return J?X=U(Q,le,se,fe,G):$.textinfo?X=W(le,se,fe,G):X=c.getValue($.text,se),c.coerceString(d,X)}function N(Q,le){var se=c.getValue(Q.textposition,le);return c.coerceEnumerated(T,se)}function U(Q,le,se,fe,G){var $=le[0].trace,J=A.castOption($,se,\"texttemplate\");if(!J)return\"\";var X=$.type===\"histogram\",re=$.type===\"waterfall\",ae=$.type===\"funnel\",j=$.orientation===\"h\",ee,ie,ce,xe;j?(ee=\"y\",ie=G,ce=\"x\",xe=fe):(ee=\"x\",ie=fe,ce=\"y\",xe=G);function Te(ut){return o(ie,ie.c2l(ut),!0).text}function Ue(ut){return o(xe,xe.c2l(ut),!0).text}var Ie=le[se],Ye={};Ye.label=Ie.p,Ye.labelLabel=Ye[ee+\"Label\"]=Te(Ie.p);var it=A.castOption($,Ie.i,\"text\");(it===0||it)&&(Ye.text=it),Ye.value=Ie.s,Ye.valueLabel=Ye[ce+\"Label\"]=Ue(Ie.s);var at={};l(at,$,Ie.i),(X||at.x===void 0)&&(at.x=j?Ye.value:Ye.label),(X||at.y===void 0)&&(at.y=j?Ye.label:Ye.value),(X||at.xLabel===void 0)&&(at.xLabel=j?Ye.valueLabel:Ye.labelLabel),(X||at.yLabel===void 0)&&(at.yLabel=j?Ye.labelLabel:Ye.valueLabel),re&&(Ye.delta=+Ie.rawS||Ie.s,Ye.deltaLabel=Ue(Ye.delta),Ye.final=Ie.v,Ye.finalLabel=Ue(Ye.final),Ye.initial=Ye.final-Ye.delta,Ye.initialLabel=Ue(Ye.initial)),ae&&(Ye.value=Ie.s,Ye.valueLabel=Ue(Ye.value),Ye.percentInitial=Ie.begR,Ye.percentInitialLabel=A.formatPercent(Ie.begR),Ye.percentPrevious=Ie.difR,Ye.percentPreviousLabel=A.formatPercent(Ie.difR),Ye.percentTotal=Ie.sumR,Ye.percenTotalLabel=A.formatPercent(Ie.sumR));var tt=A.castOption($,Ie.i,\"customdata\");return tt&&(Ye.customdata=tt),A.texttemplateString(J,Ye,Q._d3locale,at,Ye,$._meta||{})}function W(Q,le,se,fe){var G=Q[0].trace,$=G.orientation===\"h\",J=G.type===\"waterfall\",X=G.type===\"funnel\";function re(tt){var ut=$?fe:se;return o(ut,tt,!0).text}function ae(tt){var ut=$?se:fe;return o(ut,+tt,!0).text}var j=G.textinfo,ee=Q[le],ie=j.split(\"+\"),ce=[],xe,Te=function(tt){return ie.indexOf(tt)!==-1};if(Te(\"label\")&&ce.push(re(Q[le].p)),Te(\"text\")&&(xe=A.castOption(G,ee.i,\"text\"),(xe===0||xe)&&ce.push(xe)),J){var Ue=+ee.rawS||ee.s,Ie=ee.v,Ye=Ie-Ue;Te(\"initial\")&&ce.push(ae(Ye)),Te(\"delta\")&&ce.push(ae(Ue)),Te(\"final\")&&ce.push(ae(Ie))}if(X){Te(\"value\")&&ce.push(ae(ee.s));var it=0;Te(\"percent initial\")&&it++,Te(\"percent previous\")&&it++,Te(\"percent total\")&&it++;var at=it>1;Te(\"percent initial\")&&(xe=A.formatPercent(ee.begR),at&&(xe+=\" of initial\"),ce.push(xe)),Te(\"percent previous\")&&(xe=A.formatPercent(ee.difR),at&&(xe+=\" of previous\"),ce.push(xe)),Te(\"percent total\")&&(xe=A.formatPercent(ee.sumR),at&&(xe+=\" of total\"),ce.push(xe))}return ce.join(\"
\")}H.exports={plot:y,toMoveInsideBar:F}}}),Qg=ke({\"src/traces/bar/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=lo(),A=eo(),S=un().fillText,e=R_().getLineWidth,t=Ho().hoverLabelText,r=Hi().BADNUM;function o(a,s,c,h,p){var d=n(a,s,c,h,p);if(d){var T=d.cd,l=T[0].trace,_=T[d.index];return d.color=i(l,_),x.getComponentMethod(\"errorbars\",\"hoverInfo\")(_,l,d),[d]}}function n(a,s,c,h,p){var d=a.cd,T=d[0].trace,l=d[0].t,_=h===\"closest\",w=T.type===\"waterfall\",M=a.maxHoverDistance,E=a.maxSpikeDistance,m,b,v,u,y,f,P;T.orientation===\"h\"?(m=c,b=s,v=\"y\",u=\"x\",y=fe,f=Q):(m=s,b=c,v=\"x\",u=\"y\",f=fe,y=Q);var L=T[v+\"period\"],z=_||L;function F(xe){return O(xe,-1)}function B(xe){return O(xe,1)}function O(xe,Te){var Ue=xe.w;return xe[v]+Te*Ue/2}function I(xe){return xe[v+\"End\"]-xe[v+\"Start\"]}var N=_?F:L?function(xe){return xe.p-I(xe)/2}:function(xe){return Math.min(F(xe),xe.p-l.bardelta/2)},U=_?B:L?function(xe){return xe.p+I(xe)/2}:function(xe){return Math.max(B(xe),xe.p+l.bardelta/2)};function W(xe,Te,Ue){return p.finiteRange&&(Ue=0),g.inbox(xe-m,Te-m,Ue+Math.min(1,Math.abs(Te-xe)/P)-1)}function Q(xe){return W(N(xe),U(xe),M)}function le(xe){return W(F(xe),B(xe),E)}function se(xe){var Te=xe[u];if(w){var Ue=Math.abs(xe.rawS)||0;b>0?Te+=Ue:b<0&&(Te-=Ue)}return Te}function fe(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,M+(Ie-Te)/(Ie-Ue)-1)}function G(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,E+(Ie-Te)/(Ie-Ue)-1)}var $=a[v+\"a\"],J=a[u+\"a\"];P=Math.abs($.r2c($.range[1])-$.r2c($.range[0]));function X(xe){return(y(xe)+f(xe))/2}var re=g.getDistanceFunction(h,y,f,X);if(g.getClosest(d,re,a),a.index!==!1&&d[a.index].p!==r){z||(N=function(xe){return Math.min(F(xe),xe.p-l.bargroupwidth/2)},U=function(xe){return Math.max(B(xe),xe.p+l.bargroupwidth/2)});var ae=a.index,j=d[ae],ee=T.base?j.b+j.s:j.s;a[u+\"0\"]=a[u+\"1\"]=J.c2p(j[u],!0),a[u+\"LabelVal\"]=ee;var ie=l.extents[l.extents.round(j.p)];a[v+\"0\"]=$.c2p(_?N(j):ie[0],!0),a[v+\"1\"]=$.c2p(_?U(j):ie[1],!0);var ce=j.orig_p!==void 0;return a[v+\"LabelVal\"]=ce?j.orig_p:j.p,a.labelLabel=t($,a[v+\"LabelVal\"],T[v+\"hoverformat\"]),a.valueLabel=t(J,a[u+\"LabelVal\"],T[u+\"hoverformat\"]),a.baseLabel=t(J,j.b,T[u+\"hoverformat\"]),a.spikeDistance=(G(j)+le(j))/2,a[v+\"Spike\"]=$.c2p(j.p,!0),S(j,T,a),a.hovertemplate=T.hovertemplate,a}}function i(a,s){var c=s.mcc||a.marker.color,h=s.mlcc||a.marker.line.color,p=e(a,s);if(A.opacity(c))return c;if(A.opacity(h)&&p)return h}H.exports={hoverPoints:o,hoverOnBars:n,getTraceColor:i}}}),DC=ke({\"src/traces/bar/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),S.orientation===\"h\"?(x.label=x.y,x.value=x.x):(x.label=x.x,x.value=x.y),x}}}),ey=ke({\"src/traces/bar/select.js\"(Z,H){\"use strict\";H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=e[0].trace,n=o.type===\"funnel\",i=o.orientation===\"h\",a=[],s;if(S===!1)for(s=0;s0?(L=\"v\",v>0?z=Math.min(y,u):z=Math.min(u)):v>0?(L=\"h\",z=Math.min(y)):z=0;if(!z){c.visible=!1;return}c._length=z;var N=h(\"orientation\",L);c._hasPreCompStats?N===\"v\"&&v===0?(h(\"x0\",0),h(\"dx\",1)):N===\"h\"&&b===0&&(h(\"y0\",0),h(\"dy\",1)):N===\"v\"&&v===0?h(\"x0\"):N===\"h\"&&b===0&&h(\"y0\");var U=x.getComponentMethod(\"calendars\",\"handleTraceDefaults\");U(s,c,[\"x\",\"y\"],p)}function i(s,c,h,p){var d=p.prefix,T=g.coerce2(s,c,r,\"marker.outliercolor\"),l=h(\"marker.line.outliercolor\"),_=\"outliers\";c._hasPreCompStats?_=\"all\":(T||l)&&(_=\"suspectedoutliers\");var w=h(d+\"points\",_);w?(h(\"jitter\",w===\"all\"?.3:0),h(\"pointpos\",w===\"all\"?-1.5:0),h(\"marker.symbol\"),h(\"marker.opacity\"),h(\"marker.size\"),h(\"marker.angle\"),h(\"marker.color\",c.line.color),h(\"marker.line.color\"),h(\"marker.line.width\"),w===\"suspectedoutliers\"&&(h(\"marker.line.outliercolor\",c.marker.color),h(\"marker.line.outlierwidth\")),h(\"selected.marker.color\"),h(\"unselected.marker.color\"),h(\"selected.marker.size\"),h(\"unselected.marker.size\"),h(\"text\"),h(\"hovertext\")):delete c.marker;var M=h(\"hoveron\");(M===\"all\"||M.indexOf(\"points\")!==-1)&&h(\"hovertemplate\"),g.coerceSelectionMarkerOpacity(c,h)}function a(s,c){var h,p;function d(w){return g.coerce(p._input,p,r,w)}for(var T=0;Tse.uf};if(E._hasPreCompStats){var ae=E[z],j=function(ar){return L.d2c((E[ar]||[])[f])},ee=1/0,ie=-1/0;for(f=0;f=se.q1&&se.q3>=se.med){var xe=j(\"lowerfence\");se.lf=xe!==e&&xe<=se.q1?xe:p(se,G,$);var Te=j(\"upperfence\");se.uf=Te!==e&&Te>=se.q3?Te:d(se,G,$);var Ue=j(\"mean\");se.mean=Ue!==e?Ue:$?S.mean(G,$):(se.q1+se.q3)/2;var Ie=j(\"sd\");se.sd=Ue!==e&&Ie>=0?Ie:$?S.stdev(G,$,se.mean):se.q3-se.q1,se.lo=T(se),se.uo=l(se);var Ye=j(\"notchspan\");Ye=Ye!==e&&Ye>0?Ye:_(se,$),se.ln=se.med-Ye,se.un=se.med+Ye;var it=se.lf,at=se.uf;E.boxpoints&&G.length&&(it=Math.min(it,G[0]),at=Math.max(at,G[$-1])),E.notched&&(it=Math.min(it,se.ln),at=Math.max(at,se.un)),se.min=it,se.max=at}else{S.warn([\"Invalid input - make sure that q1 <= median <= q3\",\"q1 = \"+se.q1,\"median = \"+se.med,\"q3 = \"+se.q3].join(`\n`));var tt;se.med!==e?tt=se.med:se.q1!==e?se.q3!==e?tt=(se.q1+se.q3)/2:tt=se.q1:se.q3!==e?tt=se.q3:tt=0,se.med=tt,se.q1=se.q3=tt,se.lf=se.uf=tt,se.mean=se.sd=tt,se.ln=se.un=tt,se.min=se.max=tt}ee=Math.min(ee,se.min),ie=Math.max(ie,se.max),se.pts2=fe.filter(re),u.push(se)}}E._extremes[L._id]=x.findExtremes(L,[ee,ie],{padded:!0})}else{var ut=L.makeCalcdata(E,z),Me=o(Q,le),pe=Q.length,ue=n(pe);for(f=0;f=0&&Oe0){if(se={},se.pos=se[B]=Q[f],fe=se.pts=ue[f].sort(c),G=se[z]=fe.map(h),$=G.length,se.min=G[0],se.max=G[$-1],se.mean=S.mean(G,$),se.sd=S.stdev(G,$,se.mean)*E.sdmultiple,se.med=S.interp(G,.5),$%2&&(Lt||Et)){var Bt,qt;Lt?(Bt=G.slice(0,$/2),qt=G.slice($/2+1)):Et&&(Bt=G.slice(0,$/2+1),qt=G.slice($/2)),se.q1=S.interp(Bt,.5),se.q3=S.interp(qt,.5)}else se.q1=S.interp(G,.25),se.q3=S.interp(G,.75);se.lf=p(se,G,$),se.uf=d(se,G,$),se.lo=T(se),se.uo=l(se);var fr=_(se,$);se.ln=se.med-fr,se.un=se.med+fr,rt=Math.min(rt,se.ln),ot=Math.max(ot,se.un),se.pts2=fe.filter(re),u.push(se)}E.notched&&S.isTypedArray(ut)&&(ut=Array.from(ut)),E._extremes[L._id]=x.findExtremes(L,E.notched?ut.concat([rt,ot]):ut,{padded:!0})}return s(u,E),u.length>0?(u[0].t={num:m[y],dPos:le,posLetter:B,valLetter:z,labels:{med:t(M,\"median:\"),min:t(M,\"min:\"),q1:t(M,\"q1:\"),q3:t(M,\"q3:\"),max:t(M,\"max:\"),mean:E.boxmean===\"sd\"||E.sizemode===\"sd\"?t(M,\"mean \\xB1 \\u03C3:\").replace(\"\\u03C3\",E.sdmultiple===1?\"\\u03C3\":E.sdmultiple+\"\\u03C3\"):t(M,\"mean:\"),lf:t(M,\"lower fence:\"),uf:t(M,\"upper fence:\")}},m[y]++,u):[{t:{empty:!0}}]};function r(w,M,E,m){var b=M in w,v=M+\"0\"in w,u=\"d\"+M in w;if(b||v&&u){var y=E.makeCalcdata(w,M),f=A(w,E,M,y).vals;return[f,y]}var P;v?P=w[M+\"0\"]:\"name\"in w&&(E.type===\"category\"||g(w.name)&&[\"linear\",\"log\"].indexOf(E.type)!==-1||S.isDateTime(w.name)&&E.type===\"date\")?P=w.name:P=m;for(var L=E.type===\"multicategory\"?E.r2c_just_indices(P):E.d2c(P,0,w[M+\"calendar\"]),z=w._length,F=new Array(z),B=0;B1,v=1-s[r+\"gap\"],u=1-s[r+\"groupgap\"];for(p=0;p0;if(L===\"positive\"?(se=z*(P?1:.5),$=G,fe=$=B):L===\"negative\"?(se=$=B,fe=z*(P?1:.5),J=G):(se=fe=z,$=J=G),ie){var ce=y.pointpos,xe=y.jitter,Te=y.marker.size/2,Ue=0;ce+xe>=0&&(Ue=G*(ce+xe),Ue>se?(ee=!0,ae=Te,X=Ue):Ue>$&&(ae=Te,X=se)),Ue<=se&&(X=se);var Ie=0;ce-xe<=0&&(Ie=-G*(ce-xe),Ie>fe?(ee=!0,j=Te,re=Ie):Ie>J&&(j=Te,re=fe)),Ie<=fe&&(re=fe)}else X=se,re=fe;var Ye=new Array(T.length);for(d=0;dE.lo&&(N.so=!0)}return b});M.enter().append(\"path\").classed(\"point\",!0),M.exit().remove(),M.call(A.translatePoints,h,p)}function n(i,a,s,c){var h=a.val,p=a.pos,d=!!p.rangebreaks,T=c.bPos,l=c.bPosPxOffset||0,_=s.boxmean||(s.meanline||{}).visible,w,M;Array.isArray(c.bdPos)?(w=c.bdPos[0],M=c.bdPos[1]):(w=c.bdPos,M=c.bdPos);var E=i.selectAll(\"path.mean\").data(s.type===\"box\"&&s.boxmean||s.type===\"violin\"&&s.box.visible&&s.meanline.visible?x.identity:[]);E.enter().append(\"path\").attr(\"class\",\"mean\").style({fill:\"none\",\"vector-effect\":\"non-scaling-stroke\"}),E.exit().remove(),E.each(function(m){var b=p.c2l(m.pos+T,!0),v=p.l2p(b-w)+l,u=p.l2p(b+M)+l,y=d?(v+u)/2:p.l2p(b)+l,f=h.c2p(m.mean,!0),P=h.c2p(m.mean-m.sd,!0),L=h.c2p(m.mean+m.sd,!0);s.orientation===\"h\"?g.select(this).attr(\"d\",\"M\"+f+\",\"+v+\"V\"+u+(_===\"sd\"?\"m0,0L\"+P+\",\"+y+\"L\"+f+\",\"+v+\"L\"+L+\",\"+y+\"Z\":\"\")):g.select(this).attr(\"d\",\"M\"+v+\",\"+f+\"H\"+u+(_===\"sd\"?\"m0,0L\"+y+\",\"+P+\"L\"+v+\",\"+f+\"L\"+y+\",\"+L+\"Z\":\"\"))})}H.exports={plot:t,plotBoxAndWhiskers:r,plotPoints:o,plotBoxMean:n}}}),O_=ke({\"src/traces/box/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=$o();function S(t,r,o){var n=o||g.select(t).selectAll(\"g.trace.boxes\");n.style(\"opacity\",function(i){return i[0].trace.opacity}),n.each(function(i){var a=g.select(this),s=i[0].trace,c=s.line.width;function h(T,l,_,w){T.style(\"stroke-width\",l+\"px\").call(x.stroke,_).call(x.fill,w)}var p=a.selectAll(\"path.box\");if(s.type===\"candlestick\")p.each(function(T){if(!T.empty){var l=g.select(this),_=s[T.dir];h(l,_.line.width,_.line.color,_.fillcolor),l.style(\"opacity\",s.selectedpoints&&!T.selected?.3:1)}});else{h(p,c,s.line.color,s.fillcolor),a.selectAll(\"path.mean\").style({\"stroke-width\":c,\"stroke-dasharray\":2*c+\"px,\"+c+\"px\"}).call(x.stroke,s.line.color);var d=a.selectAll(\"path.point\");A.pointStyle(d,s,t)}})}function e(t,r,o){var n=r[0].trace,i=o.selectAll(\"path.point\");n.selectedpoints?A.selectedPointStyle(i,n):A.pointStyle(i,n,t)}H.exports={style:S,styleOnSelect:e}}}),B2=ke({\"src/traces/box/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=un(),A=Ec(),S=eo(),e=x.fillText;function t(n,i,a,s){var c=n.cd,h=c[0].trace,p=h.hoveron,d=[],T;return p.indexOf(\"boxes\")!==-1&&(d=d.concat(r(n,i,a,s))),p.indexOf(\"points\")!==-1&&(T=o(n,i,a)),s===\"closest\"?T?[T]:d:(T&&d.push(T),d)}function r(n,i,a,s){var c=n.cd,h=n.xa,p=n.ya,d=c[0].trace,T=c[0].t,l=d.type===\"violin\",_,w,M,E,m,b,v,u,y,f,P,L=T.bdPos,z,F,B=T.wHover,O=function(Ie){return M.c2l(Ie.pos)+T.bPos-M.c2l(b)};l&&d.side!==\"both\"?(d.side===\"positive\"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye,Ye+B,f)},z=L,F=0),d.side===\"negative\"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye,f)},z=0,F=L)):(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye+B,f)},z=F=L);var I;l?I=function(Ie){return A.inbox(Ie.span[0]-m,Ie.span[1]-m,f)}:I=function(Ie){return A.inbox(Ie.min-m,Ie.max-m,f)},d.orientation===\"h\"?(m=i,b=a,v=I,u=y,_=\"y\",M=p,w=\"x\",E=h):(m=a,b=i,v=y,u=I,_=\"x\",M=h,w=\"y\",E=p);var N=Math.min(1,L/Math.abs(M.r2c(M.range[1])-M.r2c(M.range[0])));f=n.maxHoverDistance-N,P=n.maxSpikeDistance-N;function U(Ie){return(v(Ie)+u(Ie))/2}var W=A.getDistanceFunction(s,v,u,U);if(A.getClosest(c,W,n),n.index===!1)return[];var Q=c[n.index],le=d.line.color,se=(d.marker||{}).color;S.opacity(le)&&d.line.width?n.color=le:S.opacity(se)&&d.boxpoints?n.color=se:n.color=d.fillcolor,n[_+\"0\"]=M.c2p(Q.pos+T.bPos-F,!0),n[_+\"1\"]=M.c2p(Q.pos+T.bPos+z,!0),n[_+\"LabelVal\"]=Q.orig_p!==void 0?Q.orig_p:Q.pos;var fe=_+\"Spike\";n.spikeDistance=U(Q)*P/f,n[fe]=M.c2p(Q.pos,!0);var G=d.boxmean||d.sizemode===\"sd\"||(d.meanline||{}).visible,$=d.boxpoints||d.points,J=$&&G?[\"max\",\"uf\",\"q3\",\"med\",\"mean\",\"q1\",\"lf\",\"min\"]:$&&!G?[\"max\",\"uf\",\"q3\",\"med\",\"q1\",\"lf\",\"min\"]:!$&&G?[\"max\",\"q3\",\"med\",\"mean\",\"q1\",\"min\"]:[\"max\",\"q3\",\"med\",\"q1\",\"min\"],X=E.range[1]0&&(o=!0);for(var s=0;st){var r=t-S[x];return S[x]=t,r}}else return S[x]=t,t;return 0},max:function(x,A,S,e){var t=e[A];if(g(t))if(t=Number(t),g(S[x])){if(S[x]v&&vS){var f=u===x?1:6,P=u===x?\"M12\":\"M1\";return function(L,z){var F=T.c2d(L,x,l),B=F.indexOf(\"-\",f);B>0&&(F=F.substr(0,B));var O=T.d2c(F,0,l);if(Or?c>S?c>x*1.1?x:c>A*1.1?A:S:c>e?e:c>t?t:r:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function a(c,h,p,d,T,l){if(d&&c>S){var _=s(h,T,l),w=s(p,T,l),M=c===x?0:1;return _[M]!==w[M]}return Math.floor(p/c)-Math.floor(h/c)>.1}function s(c,h,p){var d=h.c2d(c,x,p).split(\"-\");return d[0]===\"\"&&(d.unshift(),d[0]=\"-\"+d[0]),d}}}),G2=ke({\"src/traces/histogram/calc.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=lo(),S=Ho(),e=u0(),t=j2(),r=V2(),o=q2(),n=H2();function i(p,d){var T=[],l=[],_=d.orientation===\"h\",w=S.getFromId(p,_?d.yaxis:d.xaxis),M=_?\"y\":\"x\",E={x:\"y\",y:\"x\"}[M],m=d[M+\"calendar\"],b=d.cumulative,v,u=a(p,d,w,M),y=u[0],f=u[1],P=typeof y.size==\"string\",L=[],z=P?L:y,F=[],B=[],O=[],I=0,N=d.histnorm,U=d.histfunc,W=N.indexOf(\"density\")!==-1,Q,le,se;b.enabled&&W&&(N=N.replace(/ ?density$/,\"\"),W=!1);var fe=U===\"max\"||U===\"min\",G=fe?null:0,$=t.count,J=r[N],X=!1,re=function(pe){return w.r2c(pe,0,m)},ae;for(x.isArrayOrTypedArray(d[E])&&U!==\"count\"&&(ae=d[E],X=U===\"avg\",$=t[U]),v=re(y.start),le=re(y.end)+(v-S.tickIncrement(v,y.size,!1,m))/1e6;v=0&&se=tt;v--)if(l[v]){ut=v;break}for(v=tt;v<=ut;v++)if(g(T[v])&&g(l[v])){var Me={p:T[v],s:l[v],b:0};b.enabled||(Me.pts=O[v],ce?Me.ph0=Me.ph1=O[v].length?f[O[v][0]]:T[v]:(d._computePh=!0,Me.ph0=Ye(L[v]),Me.ph1=Ye(L[v+1],!0))),at.push(Me)}return at.length===1&&(at[0].width1=S.tickIncrement(at[0].p,y.size,!1,m)-at[0].p),e(at,d),x.isArrayOrTypedArray(d.selectedpoints)&&x.tagSelected(at,d,Ue),at}function a(p,d,T,l,_){var w=l+\"bins\",M=p._fullLayout,E=d[\"_\"+l+\"bingroup\"],m=M._histogramBinOpts[E],b=M.barmode===\"overlay\",v,u,y,f,P,L,z,F=function(Ie){return T.r2c(Ie,0,f)},B=function(Ie){return T.c2r(Ie,0,f)},O=T.type===\"date\"?function(Ie){return Ie||Ie===0?x.cleanDate(Ie,null,f):null}:function(Ie){return g(Ie)?Number(Ie):null};function I(Ie,Ye,it){Ye[Ie+\"Found\"]?(Ye[Ie]=O(Ye[Ie]),Ye[Ie]===null&&(Ye[Ie]=it[Ie])):(L[Ie]=Ye[Ie]=it[Ie],x.nestedProperty(u[0],w+\".\"+Ie).set(it[Ie]))}if(d[\"_\"+l+\"autoBinFinished\"])delete d[\"_\"+l+\"autoBinFinished\"];else{u=m.traces;var N=[],U=!0,W=!1,Q=!1;for(v=0;v\"u\"){if(_)return[se,P,!0];se=s(p,d,T,l,w)}z=y.cumulative||{},z.enabled&&z.currentbin!==\"include\"&&(z.direction===\"decreasing\"?se.start=B(S.tickIncrement(F(se.start),se.size,!0,f)):se.end=B(S.tickIncrement(F(se.end),se.size,!1,f))),m.size=se.size,m.sizeFound||(L.size=se.size,x.nestedProperty(u[0],w+\".size\").set(se.size)),I(\"start\",m,se),I(\"end\",m,se)}P=d[\"_\"+l+\"pos0\"],delete d[\"_\"+l+\"pos0\"];var G=d._input[w]||{},$=x.extendFlat({},m),J=m.start,X=T.r2l(G.start),re=X!==void 0;if((m.startFound||re)&&X!==T.r2l(J)){var ae=re?X:x.aggNums(Math.min,null,P),j={type:T.type===\"category\"||T.type===\"multicategory\"?\"linear\":T.type,r2l:T.r2l,dtick:m.size,tick0:J,calendar:f,range:[ae,S.tickIncrement(ae,m.size,!1,f)].map(T.l2r)},ee=S.tickFirst(j);ee>T.r2l(ae)&&(ee=S.tickIncrement(ee,m.size,!0,f)),$.start=T.l2r(ee),re||x.nestedProperty(d,w+\".start\").set($.start)}var ie=m.end,ce=T.r2l(G.end),xe=ce!==void 0;if((m.endFound||xe)&&ce!==T.r2l(ie)){var Te=xe?ce:x.aggNums(Math.max,null,P);$.end=T.l2r(Te),xe||x.nestedProperty(d,w+\".start\").set($.end)}var Ue=\"autobin\"+l;return d._input[Ue]===!1&&(d._input[w]=x.extendFlat({},d[w]||{}),delete d._input[Ue],delete d[Ue]),[$,P]}function s(p,d,T,l,_){var w=p._fullLayout,M=c(p,d),E=!1,m=1/0,b=[d],v,u,y;for(v=0;v=0;l--)E(l);else if(d===\"increasing\"){for(l=1;l=0;l--)p[l]+=p[l+1];T===\"exclude\"&&(p.push(0),p.shift())}}H.exports={calc:i,calcAllAutoBins:a}}}),jC=ke({\"src/traces/histogram2d/calc.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=j2(),S=V2(),e=q2(),t=H2(),r=G2().calcAllAutoBins;H.exports=function(s,c){var h=x.getFromId(s,c.xaxis),p=x.getFromId(s,c.yaxis),d=c.xcalendar,T=c.ycalendar,l=function(Be){return h.r2c(Be,0,d)},_=function(Be){return p.r2c(Be,0,T)},w=function(Be){return h.c2r(Be,0,d)},M=function(Be){return p.c2r(Be,0,T)},E,m,b,v,u=r(s,c,h,\"x\"),y=u[0],f=u[1],P=r(s,c,p,\"y\"),L=P[0],z=P[1],F=c._length;f.length>F&&f.splice(F,f.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],O=[],I=[],N=typeof y.size==\"string\",U=typeof L.size==\"string\",W=[],Q=[],le=N?W:y,se=U?Q:L,fe=0,G=[],$=[],J=c.histnorm,X=c.histfunc,re=J.indexOf(\"density\")!==-1,ae=X===\"max\"||X===\"min\",j=ae?null:0,ee=A.count,ie=S[J],ce=!1,xe=[],Te=[],Ue=\"z\"in c?c.z:\"marker\"in c&&Array.isArray(c.marker.color)?c.marker.color:\"\";Ue&&X!==\"count\"&&(ce=X===\"avg\",ee=A[X]);var Ie=y.size,Ye=l(y.start),it=l(y.end)+(Ye-x.tickIncrement(Ye,Ie,!1,d))/1e6;for(E=Ye;E=0&&b=0&&vx;i++)n=e(r,o,S(n));return n>x&&g.log(\"interp2d didn't converge quickly\",n),r};function e(t,r,o){var n=0,i,a,s,c,h,p,d,T,l,_,w,M,E;for(c=0;cM&&(n=Math.max(n,Math.abs(t[a][s]-w)/(E-M))))}return n}}}),V_=ke({\"src/traces/heatmap/find_empties.js\"(Z,H){\"use strict\";var g=un().maxRowLength;H.exports=function(A){var S=[],e={},t=[],r=A[0],o=[],n=[0,0,0],i=g(A),a,s,c,h,p,d,T,l;for(s=0;s=0;p--)h=t[p],s=h[0],c=h[1],d=((e[[s-1,c]]||n)[2]+(e[[s+1,c]]||n)[2]+(e[[s,c-1]]||n)[2]+(e[[s,c+1]]||n)[2])/20,d&&(T[h]=[s,c,d],t.splice(p,1),l=!0);if(!l)throw\"findEmpties iterated with no new neighbors\";for(h in T)e[h]=T[h],S.push(T[h])}return S.sort(function(_,w){return w[2]-_[2]})}}}),W2=ke({\"src/traces/heatmap/make_bound_array.js\"(Z,H){\"use strict\";var g=lo(),x=un().isArrayOrTypedArray;H.exports=function(S,e,t,r,o,n){var i=[],a=g.traceIs(S,\"contour\"),s=g.traceIs(S,\"histogram\"),c,h,p,d=x(e)&&e.length>1;if(d&&!s&&n.type!==\"category\"){var T=e.length;if(T<=o){if(a)i=Array.from(e).slice(0,o);else if(o===1)n.type===\"log\"?i=[.5*e[0],2*e[0]]:i=[e[0]-.5,e[0]+.5];else if(n.type===\"log\"){for(i=[Math.pow(e[0],1.5)/Math.pow(e[1],.5)],p=1;p1){var J=($[$.length-1]-$[0])/($.length-1),X=Math.abs(J/100);for(F=0;F<$.length-1;F++)if(Math.abs($[F+1]-$[F]-J)>X)return!1}return!0}T._islinear=!1,l.type===\"log\"||_.type===\"log\"?E===\"fast\"&&I(\"log axis found\"):N(m)?N(y)?T._islinear=!0:E===\"fast\"&&I(\"y scale is not linear\"):E===\"fast\"&&I(\"x scale is not linear\");var U=x.maxRowLength(z),W=T.xtype===\"scaled\"?\"\":m,Q=a(T,W,b,v,U,l),le=T.ytype===\"scaled\"?\"\":y,se=a(T,le,f,P,z.length,_);T._extremes[l._id]=A.findExtremes(l,Q),T._extremes[_._id]=A.findExtremes(_,se);var fe={x:Q,y:se,z,text:T._text||T.text,hovertext:T._hovertext||T.hovertext};if(T.xperiodalignment&&u&&(fe.orig_x=u),T.yperiodalignment&&L&&(fe.orig_y=L),W&&W.length===Q.length-1&&(fe.xCenter=W),le&&le.length===se.length-1&&(fe.yCenter=le),M&&(fe.xRanges=B.xRanges,fe.yRanges=B.yRanges,fe.pts=B.pts),w||t(d,T,{vals:z,cLetter:\"z\"}),w&&T.contours&&T.contours.coloring===\"heatmap\"){var G={type:T.type===\"contour\"?\"heatmap\":\"histogram2d\",xcalendar:T.xcalendar,ycalendar:T.ycalendar};fe.xfill=a(G,W,b,v,U,l),fe.yfill=a(G,le,f,P,z.length,_)}return[fe]};function c(p){for(var d=[],T=p.length,l=0;l0;)re=y.c2p(N[ie]),ie--;for(re0;)ee=f.c2p(U[ie]),ie--;ee=y._length||re<=0||j>=f._length||ee<=0;if(it){var at=L.selectAll(\"image\").data([]);at.exit().remove(),_(L);return}var tt,ut;Te===\"fast\"?(tt=G,ut=fe):(tt=Ie,ut=Ye);var Me=document.createElement(\"canvas\");Me.width=tt,Me.height=ut;var pe=Me.getContext(\"2d\",{willReadFrequently:!0}),ue=a(F,{noNumericCheck:!0,returnArray:!0}),Oe,rt;Te===\"fast\"?(Oe=$?function(Dn){return G-1-Dn}:t.identity,rt=J?function(Dn){return fe-1-Dn}:t.identity):(Oe=function(Dn){return t.constrain(Math.round(y.c2p(N[Dn])-X),0,Ie)},rt=function(Dn){return t.constrain(Math.round(f.c2p(U[Dn])-j),0,Ye)});var ot=rt(0),et=[ot,ot],Lt=$?0:1,Et=J?0:1,Bt=0,qt=0,fr=0,ar=0,Rr,gr,br,_t,Be;function Ke(Dn,Ui){if(Dn!==void 0){var pi=ue(Dn);return pi[0]=Math.round(pi[0]),pi[1]=Math.round(pi[1]),pi[2]=Math.round(pi[2]),Bt+=Ui,qt+=pi[0]*Ui,fr+=pi[1]*Ui,ar+=pi[2]*Ui,pi}return[0,0,0,0]}function je(Dn,Ui,pi,Ta){var Sa=Dn[pi.bin0];if(Sa===void 0)return Ke(void 0,1);var qa=Dn[pi.bin1],to=Ui[pi.bin0],yo=Ui[pi.bin1],Xa=qa-Sa||0,Go=to-Sa||0,pa;return qa===void 0?yo===void 0?pa=0:to===void 0?pa=2*(yo-Sa):pa=(2*yo-to-Sa)*2/3:yo===void 0?to===void 0?pa=0:pa=(2*Sa-qa-to)*2/3:to===void 0?pa=(2*yo-qa-Sa)*2/3:pa=yo+Sa-qa-to,Ke(Sa+pi.frac*Xa+Ta.frac*(Go+pi.frac*pa))}if(Te!==\"default\"){var Se=0,He;try{He=new Uint8Array(tt*ut*4)}catch{He=new Array(tt*ut*4)}if(Te===\"smooth\"){var Ee=W||N,we=Q||U,Le=new Array(Ee.length),nt=new Array(we.length),pt=new Array(Ie),bt=W?M:w,Rt=Q?M:w,Nt,Xt,$t;for(ie=0;ieWn||Wn>f._length))for(ce=$r;ceSn||Sn>y._length)){var ui=o({x:ri,y:Fn},F,m._fullLayout);ui.x=ri,ui.y=Fn;var gt=z.z[ie][ce];gt===void 0?(ui.z=\"\",ui.zLabel=\"\"):(ui.z=gt,ui.zLabel=e.tickText(Zt,gt,\"hover\").text);var yt=z.text&&z.text[ie]&&z.text[ie][ce];(yt===void 0||yt===!1)&&(yt=\"\"),ui.text=yt;var Pr=t.texttemplateString(Qn,ui,m._fullLayout._d3locale,ui,F._meta||{});if(Pr){var Ir=Pr.split(\"
\"),Tr=Ir.length,Mr=0;for(xe=0;xe=_[0].length||P<0||P>_.length)return}else{if(g.inbox(o-T[0],o-T[T.length-1],0)>0||g.inbox(n-l[0],n-l[l.length-1],0)>0)return;if(s){var L;for(b=[2*T[0]-T[1]],L=1;L=\",\">\",\"<=\"],COMPARISON_OPS2:[\"=\",\"<\",\">=\",\">\",\"<=\"],INTERVAL_OPS:[\"[]\",\"()\",\"[)\",\"(]\",\"][\",\")(\",\"](\",\")[\"],SET_OPS:[\"{}\",\"}{\"],CONSTRAINT_REDUCTION:{\"=\":\"=\",\"<\":\"<\",\"<=\":\"<\",\">\":\">\",\">=\":\">\",\"[]\":\"[]\",\"()\":\"[]\",\"[)\":\"[]\",\"(]\":\"[]\",\"][\":\"][\",\")(\":\"][\",\"](\":\"][\",\")[\":\"][\"}}}}),v0=ke({\"src/traces/contour/attributes.js\"(Z,H){\"use strict\";var g=ty(),x=Cc(),A=Sc(),S=A.axisHoverFormat,e=A.descriptionOnlyNumbers,t=ou(),r=xh().dash,o=Il(),n=To().extendFlat,i=J_(),a=i.COMPARISON_OPS2,s=i.INTERVAL_OPS,c=x.line;H.exports=n({z:g.z,x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:x.xperiod0,yperiod0:x.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,text:g.text,hovertext:g.hovertext,transpose:g.transpose,xtype:g.xtype,ytype:g.ytype,xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\",1),hovertemplate:g.hovertemplate,texttemplate:n({},g.texttemplate,{}),textfont:n({},g.textfont,{}),hoverongaps:g.hoverongaps,connectgaps:n({},g.connectgaps,{}),fillcolor:{valType:\"color\",editType:\"calc\"},autocontour:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"contours.start\":void 0,\"contours.end\":void 0,\"contours.size\":void 0}},ncontours:{valType:\"integer\",dflt:15,min:1,editType:\"calc\"},contours:{type:{valType:\"enumerated\",values:[\"levels\",\"constraint\"],dflt:\"levels\",editType:\"calc\"},start:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},end:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},size:{valType:\"number\",dflt:null,min:0,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},coloring:{valType:\"enumerated\",values:[\"fill\",\"heatmap\",\"lines\",\"none\"],dflt:\"fill\",editType:\"calc\"},showlines:{valType:\"boolean\",dflt:!0,editType:\"plot\"},showlabels:{valType:\"boolean\",dflt:!1,editType:\"plot\"},labelfont:o({editType:\"plot\",colorEditType:\"style\"}),labelformat:{valType:\"string\",dflt:\"\",editType:\"plot\",description:e(\"contour label\")},operation:{valType:\"enumerated\",values:[].concat(a).concat(s),dflt:\"=\",editType:\"calc\"},value:{valType:\"any\",dflt:0,editType:\"calc\"},editType:\"calc\",impliedEdits:{autocontour:!1}},line:{color:n({},c.color,{editType:\"style+colorbars\"}),width:{valType:\"number\",min:0,editType:\"style+colorbars\"},dash:r,smoothing:n({},c.smoothing,{}),editType:\"plot\"},zorder:x.zorder},t(\"\",{cLetter:\"z\",autoColorDflt:!1,editTypeOverride:\"calc\"}))}}),J2=ke({\"src/traces/histogram2dcontour/attributes.js\"(Z,H){\"use strict\";var g=K_(),x=v0(),A=ou(),S=Sc().axisHoverFormat,e=To().extendFlat;H.exports=e({x:g.x,y:g.y,z:g.z,marker:g.marker,histnorm:g.histnorm,histfunc:g.histfunc,nbinsx:g.nbinsx,xbins:g.xbins,nbinsy:g.nbinsy,ybins:g.ybins,autobinx:g.autobinx,autobiny:g.autobiny,bingroup:g.bingroup,xbingroup:g.xbingroup,ybingroup:g.ybingroup,autocontour:x.autocontour,ncontours:x.ncontours,contours:x.contours,line:{color:x.line.color,width:e({},x.line.width,{dflt:.5}),dash:x.line.dash,smoothing:x.line.smoothing,editType:\"plot\"},xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\",1),hovertemplate:g.hovertemplate,texttemplate:x.texttemplate,textfont:x.textfont},A(\"\",{cLetter:\"z\",editTypeOverride:\"calc\"}))}}),$_=ke({\"src/traces/contour/contours_defaults.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e){var t=e(\"contours.start\"),r=e(\"contours.end\"),o=t===!1||r===!1,n=S(\"contours.size\"),i;o?i=A.autocontour=!0:i=S(\"autocontour\",!1),(i||!n)&&S(\"ncontours\")}}}),$2=ke({\"src/traces/contour/label_defaults.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S,e,t){t||(t={});var r=A(\"contours.showlabels\");if(r){var o=S.font;g.coerceFont(A,\"contours.labelfont\",o,{overrideDflt:{color:e}}),A(\"contours.labelformat\")}t.hasHover!==!1&&A(\"zhoverformat\")}}}),Q_=ke({\"src/traces/contour/style_defaults.js\"(Z,H){\"use strict\";var g=Kf(),x=$2();H.exports=function(S,e,t,r,o){var n=t(\"contours.coloring\"),i,a=\"\";n===\"fill\"&&(i=t(\"contours.showlines\")),i!==!1&&(n!==\"lines\"&&(a=t(\"line.color\",\"#000\")),t(\"line.width\",.5),t(\"line.dash\")),n!==\"none\"&&(S.showlegend!==!0&&(e.showlegend=!1),e._dfltShowLegend=!1,g(S,e,r,t,{prefix:\"\",cLetter:\"z\"})),t(\"line.smoothing\"),x(t,r,a,o)}}}),QC=ke({\"src/traces/histogram2dcontour/defaults.js\"(Z,H){\"use strict\";var g=un(),x=K2(),A=$_(),S=Q_(),e=d0(),t=J2();H.exports=function(o,n,i,a){function s(h,p){return g.coerce(o,n,t,h,p)}function c(h){return g.coerce2(o,n,t,h)}x(o,n,s,a),n.visible!==!1&&(A(o,n,s,c),S(o,n,s,a),s(\"xhoverformat\"),s(\"yhoverformat\"),s(\"hovertemplate\"),n.contours&&n.contours.coloring===\"heatmap\"&&e(s,a))}}}),Q2=ke({\"src/traces/contour/set_contours.js\"(Z,H){\"use strict\";var g=Ho(),x=un();H.exports=function(e,t){var r=e.contours;if(e.autocontour){var o=e.zmin,n=e.zmax;(e.zauto||o===void 0)&&(o=x.aggNums(Math.min,null,t)),(e.zauto||n===void 0)&&(n=x.aggNums(Math.max,null,t));var i=A(o,n,e.ncontours);r.size=i.dtick,r.start=g.tickFirst(i),i.range.reverse(),r.end=g.tickFirst(i),r.start===o&&(r.start+=r.size),r.end===n&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),e._input.contours||(e._input.contours={}),x.extendFlat(e._input.contours,{start:r.start,end:r.end,size:r.size}),e._input.autocontour=!0}else if(r.type!==\"constraint\"){var a=r.start,s=r.end,c=e._input.contours;if(a>s&&(r.start=c.start=s,s=r.end=c.end=a,a=r.start),!(r.size>0)){var h;a===s?h=1:h=A(a,s,e.ncontours).dtick,c.size=r.size=h}}};function A(S,e,t){var r={type:\"linear\",range:[S,e]};return g.autoTicks(r,(e-S)/(t||15)),r}}}),p0=ke({\"src/traces/contour/end_plus.js\"(Z,H){\"use strict\";H.exports=function(x){return x.end+x.size/1e6}}}),e3=ke({\"src/traces/contour/calc.js\"(Z,H){\"use strict\";var g=ku(),x=q_(),A=Q2(),S=p0();H.exports=function(t,r){var o=x(t,r),n=o[0].z;A(r,n);var i=r.contours,a=g.extractOpts(r),s;if(i.coloring===\"heatmap\"&&a.auto&&r.autocontour===!1){var c=i.start,h=S(i),p=i.size||1,d=Math.floor((h-c)/p)+1;isFinite(p)||(p=1,d=1);var T=c-p/2,l=T+d*p;s=[T,l]}else s=n;return g.calc(t,r,{vals:s,cLetter:\"z\"}),o}}}),m0=ke({\"src/traces/contour/constants.js\"(Z,H){\"use strict\";H.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}}}),t3=ke({\"src/traces/contour/make_crossings.js\"(Z,H){\"use strict\";var g=m0();H.exports=function(S){var e=S[0].z,t=e.length,r=e[0].length,o=t===2||r===2,n,i,a,s,c,h,p,d,T;for(i=0;iA?0:1)+(S[0][1]>A?0:2)+(S[1][1]>A?0:4)+(S[1][0]>A?0:8);if(e===5||e===10){var t=(S[0][0]+S[0][1]+S[1][0]+S[1][1])/4;return A>t?e===5?713:1114:e===5?104:208}return e===15?0:e}}}),r3=ke({\"src/traces/contour/find_all_paths.js\"(Z,H){\"use strict\";var g=un(),x=m0();H.exports=function(n,i,a){var s,c,h,p,d;for(i=i||.01,a=a||.01,h=0;h20?(h=x.CHOOSESADDLE[h][(p[0]||p[1])<0?0:1],o.crossings[c]=x.SADDLEREMAINDER[h]):delete o.crossings[c],p=x.NEWDELTA[h],!p){g.log(\"Found bad marching index:\",h,n,o.level);break}d.push(r(o,n,p)),n[0]+=p[0],n[1]+=p[1],c=n.join(\",\"),A(d[d.length-1],d[d.length-2],a,s)&&d.pop();var E=p[0]&&(n[0]<0||n[0]>l-2)||p[1]&&(n[1]<0||n[1]>T-2),m=n[0]===_[0]&&n[1]===_[1]&&p[0]===w[0]&&p[1]===w[1];if(m||i&&E)break;h=o.crossings[c]}M===1e4&&g.log(\"Infinite loop in contour?\");var b=A(d[0],d[d.length-1],a,s),v=0,u=.2*o.smoothing,y=[],f=0,P,L,z,F,B,O,I,N,U,W,Q;for(M=1;M=f;M--)if(P=y[M],P=f&&P+y[L]N&&U--,o.edgepaths[U]=Q.concat(d,W));break}G||(o.edgepaths[N]=d.concat(W))}for(N=0;N20&&n?o===208||o===1114?a=i[0]===0?1:-1:s=i[1]===0?1:-1:x.BOTTOMSTART.indexOf(o)!==-1?s=1:x.LEFTSTART.indexOf(o)!==-1?a=1:x.TOPSTART.indexOf(o)!==-1?s=-1:a=-1,[a,s]}function r(o,n,i){var a=n[0]+Math.max(i[0],0),s=n[1]+Math.max(i[1],0),c=o.z[s][a],h=o.xaxis,p=o.yaxis;if(i[1]){var d=(o.level-c)/(o.z[s][a+1]-c),T=(d!==1?(1-d)*h.c2l(o.x[a]):0)+(d!==0?d*h.c2l(o.x[a+1]):0);return[h.c2p(h.l2c(T),!0),p.c2p(o.y[s],!0),a+d,s]}else{var l=(o.level-c)/(o.z[s+1][a]-c),_=(l!==1?(1-l)*p.c2l(o.y[s]):0)+(l!==0?l*p.c2l(o.y[s+1]):0);return[h.c2p(o.x[a],!0),p.c2p(p.l2c(_),!0),a,s+l]}}}}),ek=ke({\"src/traces/contour/constraint_mapping.js\"(Z,H){\"use strict\";var g=J_(),x=Yn();H.exports={\"[]\":S(\"[]\"),\"][\":S(\"][\"),\">\":e(\">\"),\"<\":e(\"<\"),\"=\":e(\"=\")};function A(t,r){var o=Array.isArray(r),n;function i(a){return x(a)?+a:null}return g.COMPARISON_OPS2.indexOf(t)!==-1?n=i(o?r[0]:r):g.INTERVAL_OPS.indexOf(t)!==-1?n=o?[i(r[0]),i(r[1])]:[i(r),i(r)]:g.SET_OPS.indexOf(t)!==-1&&(n=o?r.map(i):[i(r)]),n}function S(t){return function(r){r=A(t,r);var o=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]);return{start:o,end:n,size:n-o}}}function e(t){return function(r){return r=A(t,r),{start:r,end:1/0,size:1/0}}}}}),n3=ke({\"src/traces/contour/empty_pathinfo.js\"(Z,H){\"use strict\";var g=un(),x=ek(),A=p0();H.exports=function(e,t,r){for(var o=e.type===\"constraint\"?x[e._operation](e.value):e,n=o.size,i=[],a=A(o),s=r.trace._carpetTrace,c=s?{xaxis:s.aaxis,yaxis:s.baxis,x:r.a,y:r.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y},h=o.start;h1e3){g.warn(\"Too many contours, clipping at 1000\",e);break}return i}}}),i3=ke({\"src/traces/contour/convert_to_constraints.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e,t,r,o=function(a){return a.reverse()},n=function(a){return a};switch(S){case\"=\":case\"<\":return A;case\">\":for(A.length!==1&&g.warn(\"Contour data invalid for the specified inequality operation.\"),t=A[0],e=0;er.level||r.starts.length&&t===r.level)}break;case\"constraint\":if(A.prefixBoundary=!1,A.edgepaths.length)return;var o=A.x.length,n=A.y.length,i=-1/0,a=1/0;for(e=0;e\":s>i&&(A.prefixBoundary=!0);break;case\"<\":(si||A.starts.length&&h===a)&&(A.prefixBoundary=!0);break;case\"][\":c=Math.min(s[0],s[1]),h=Math.max(s[0],s[1]),ci&&(A.prefixBoundary=!0);break}break}}}}),ex=ke({\"src/traces/contour/plot.js\"(Z){\"use strict\";var H=_i(),g=un(),x=$o(),A=ku(),S=Wl(),e=Ho(),t=Cv(),r=G_(),o=t3(),n=r3(),i=n3(),a=i3(),s=a3(),c=m0(),h=c.LABELOPTIMIZER;Z.plot=function(m,b,v,u){var y=b.xaxis,f=b.yaxis;g.makeTraceGroups(u,v,\"contour\").each(function(P){var L=H.select(this),z=P[0],F=z.trace,B=z.x,O=z.y,I=F.contours,N=i(I,b,z),U=g.ensureSingle(L,\"g\",\"heatmapcoloring\"),W=[];I.coloring===\"heatmap\"&&(W=[P]),r(m,b,W,U),o(N),n(N);var Q=y.c2p(B[0],!0),le=y.c2p(B[B.length-1],!0),se=f.c2p(O[0],!0),fe=f.c2p(O[O.length-1],!0),G=[[Q,fe],[le,fe],[le,se],[Q,se]],$=N;I.type===\"constraint\"&&($=a(N,I._operation)),p(L,G,I),d(L,$,G,I),l(L,N,m,z,I),w(L,b,m,z,G)})};function p(E,m,b){var v=g.ensureSingle(E,\"g\",\"contourbg\"),u=v.selectAll(\"path\").data(b.coloring===\"fill\"?[0]:[]);u.enter().append(\"path\"),u.exit().remove(),u.attr(\"d\",\"M\"+m.join(\"L\")+\"Z\").style(\"stroke\",\"none\")}function d(E,m,b,v){var u=v.coloring===\"fill\"||v.type===\"constraint\"&&v._operation!==\"=\",y=\"M\"+b.join(\"L\")+\"Z\";u&&s(m,v);var f=g.ensureSingle(E,\"g\",\"contourfill\"),P=f.selectAll(\"path\").data(u?m:[]);P.enter().append(\"path\"),P.exit().remove(),P.each(function(L){var z=(L.prefixBoundary?y:\"\")+T(L,b);z?H.select(this).attr(\"d\",z).style(\"stroke\",\"none\"):H.select(this).remove()})}function T(E,m){var b=\"\",v=0,u=E.edgepaths.map(function(Q,le){return le}),y=!0,f,P,L,z,F,B;function O(Q){return Math.abs(Q[1]-m[0][1])<.01}function I(Q){return Math.abs(Q[1]-m[2][1])<.01}function N(Q){return Math.abs(Q[0]-m[0][0])<.01}function U(Q){return Math.abs(Q[0]-m[2][0])<.01}for(;u.length;){for(B=x.smoothopen(E.edgepaths[v],E.smoothing),b+=y?B:B.replace(/^M/,\"L\"),u.splice(u.indexOf(v),1),f=E.edgepaths[v][E.edgepaths[v].length-1],z=-1,L=0;L<4;L++){if(!f){g.log(\"Missing end?\",v,E);break}for(O(f)&&!U(f)?P=m[1]:N(f)?P=m[0]:I(f)?P=m[3]:U(f)&&(P=m[2]),F=0;F=0&&(P=W,z=F):Math.abs(f[1]-P[1])<.01?Math.abs(f[1]-W[1])<.01&&(W[0]-f[0])*(P[0]-W[0])>=0&&(P=W,z=F):g.log(\"endpt to newendpt is not vert. or horz.\",f,P,W)}if(f=P,z>=0)break;b+=\"L\"+P}if(z===E.edgepaths.length){g.log(\"unclosed perimeter path\");break}v=z,y=u.indexOf(v)===-1,y&&(v=u[0],b+=\"Z\")}for(v=0;vh.MAXCOST*2)break;O&&(P/=2),f=z-P/2,L=f+P*1.5}if(B<=h.MAXCOST)return F};function _(E,m,b,v){var u=m.width/2,y=m.height/2,f=E.x,P=E.y,L=E.theta,z=Math.cos(L)*u,F=Math.sin(L)*u,B=(f>v.center?v.right-f:f-v.left)/(z+Math.abs(Math.sin(L)*y)),O=(P>v.middle?v.bottom-P:P-v.top)/(Math.abs(F)+Math.cos(L)*y);if(B<1||O<1)return 1/0;var I=h.EDGECOST*(1/(B-1)+1/(O-1));I+=h.ANGLECOST*L*L;for(var N=f-z,U=P-F,W=f+z,Q=P+F,le=0;le=w)&&(r<=_&&(r=_),o>=w&&(o=w),i=Math.floor((o-r)/n)+1,a=0),l=0;l_&&(p.unshift(_),d.unshift(d[0])),p[p.length-1]2?s.value=s.value.slice(2):s.length===0?s.value=[0,1]:s.length<2?(c=parseFloat(s.value[0]),s.value=[c,c+1]):s.value=[parseFloat(s.value[0]),parseFloat(s.value[1])]:g(s.value)&&(c=parseFloat(s.value),s.value=[c,c+1])):(a(\"contours.value\",0),g(s.value)||(r(s.value)?s.value=parseFloat(s.value[0]):s.value=0))}}}),nk=ke({\"src/traces/contour/defaults.js\"(Z,H){\"use strict\";var g=un(),x=B_(),A=hv(),S=l3(),e=$_(),t=Q_(),r=d0(),o=v0();H.exports=function(i,a,s,c){function h(l,_){return g.coerce(i,a,o,l,_)}function p(l){return g.coerce2(i,a,o,l)}var d=x(i,a,h,c);if(!d){a.visible=!1;return}A(i,a,c,h),h(\"xhoverformat\"),h(\"yhoverformat\"),h(\"text\"),h(\"hovertext\"),h(\"hoverongaps\"),h(\"hovertemplate\");var T=h(\"contours.type\")===\"constraint\";h(\"connectgaps\",g.isArray1D(a.z)),T?S(i,a,h,c,s):(e(i,a,h,p),t(i,a,h,c)),a.contours&&a.contours.coloring===\"heatmap\"&&r(h,c),h(\"zorder\")}}}),ik=ke({\"src/traces/contour/index.js\"(Z,H){\"use strict\";H.exports={attributes:v0(),supplyDefaults:nk(),calc:e3(),plot:ex().plot,style:tx(),colorbar:rx(),hoverPoints:s3(),moduleType:\"trace\",name:\"contour\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"2dMap\",\"contour\",\"showLegend\"],meta:{}}}}),ak=ke({\"lib/contour.js\"(Z,H){\"use strict\";H.exports=ik()}}),u3=ke({\"src/traces/scatterternary/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Cc(),e=Ol(),t=ou(),r=xh().dash,o=To().extendFlat,n=S.marker,i=S.line,a=n.line;H.exports={a:{valType:\"data_array\",editType:\"calc\"},b:{valType:\"data_array\",editType:\"calc\"},c:{valType:\"data_array\",editType:\"calc\"},sum:{valType:\"number\",dflt:0,min:0,editType:\"calc\"},mode:o({},S.mode,{dflt:\"markers\"}),text:o({},S.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"a\",\"b\",\"c\",\"text\"]}),hovertext:o({},S.hovertext,{}),line:{color:i.color,width:i.width,dash:r,backoff:i.backoff,shape:o({},i.shape,{values:[\"linear\",\"spline\"]}),smoothing:i.smoothing,editType:\"calc\"},connectgaps:S.connectgaps,cliponaxis:S.cliponaxis,fill:o({},S.fill,{values:[\"none\",\"toself\",\"tonext\"],dflt:\"none\"}),fillcolor:A(),marker:o({symbol:n.symbol,opacity:n.opacity,angle:n.angle,angleref:n.angleref,standoff:n.standoff,maxdisplayed:n.maxdisplayed,size:n.size,sizeref:n.sizeref,sizemin:n.sizemin,sizemode:n.sizemode,line:o({width:a.width,editType:\"calc\"},t(\"marker.line\")),gradient:n.gradient,editType:\"calc\"},t(\"marker\")),textfont:S.textfont,textposition:S.textposition,selected:S.selected,unselected:S.unselected,hoverinfo:o({},e.hoverinfo,{flags:[\"a\",\"b\",\"c\",\"text\",\"name\"]}),hoveron:S.hoveron,hovertemplate:g()}}}),ok=ke({\"src/traces/scatterternary/defaults.js\"(Z,H){\"use strict\";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=u3();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}var d=p(\"a\"),T=p(\"b\"),l=p(\"c\"),_;if(d?(_=d.length,T?(_=Math.min(_,T.length),l&&(_=Math.min(_,l.length))):l?_=Math.min(_,l.length):_=0):T&&l&&(_=Math.min(T.length,l.length)),!_){s.visible=!1;return}s._length=_,p(\"sum\"),p(\"text\"),p(\"hovertext\"),s.hoveron!==\"fills\"&&p(\"hovertemplate\");var w=_\"),o.hovertemplate=h.hovertemplate,r}}}),fk=ke({\"src/traces/scatterternary/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){if(A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),e[t]){var r=e[t];x.a=r.a,x.b=r.b,x.c=r.c}else x.a=A.a,x.b=A.b,x.c=A.c;return x}}}),hk=ke({\"src/plots/ternary/ternary.js\"(Z,H){\"use strict\";var g=_i(),x=ru(),A=lo(),S=un(),e=S.strTranslate,t=S._,r=eo(),o=$o(),n=Cv(),i=To().extendFlat,a=Zu(),s=Ho(),c=Xh(),h=Ec(),p=cv(),d=p.freeMode,T=p.rectMode,l=Im(),_=tf().prepSelect,w=tf().selectOnClick,M=tf().clearOutline,E=tf().clearSelectionsCache,m=oh();function b(I,N){this.id=I.id,this.graphDiv=I.graphDiv,this.init(N),this.makeFramework(N),this.updateFx(N),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}H.exports=b;var v=b.prototype;v.init=function(I){this.container=I._ternarylayer,this.defs=I._defs,this.layoutId=I._uid,this.traceHash={},this.layers={}},v.plot=function(I,N){var U=this,W=N[U.id],Q=N._size;U._hasClipOnAxisFalse=!1;for(var le=0;leu*$?(ce=$,ie=ce*u):(ie=G,ce=ie/u),xe=se*ie/G,Te=fe*ce/$,j=N.l+N.w*Q-ie/2,ee=N.t+N.h*(1-le)-ce/2,U.x0=j,U.y0=ee,U.w=ie,U.h=ce,U.sum=J,U.xaxis={type:\"linear\",range:[X+2*ae-J,J-X-2*re],domain:[Q-xe/2,Q+xe/2],_id:\"x\"},n(U.xaxis,U.graphDiv._fullLayout),U.xaxis.setScale(),U.xaxis.isPtWithinRange=function(Oe){return Oe.a>=U.aaxis.range[0]&&Oe.a<=U.aaxis.range[1]&&Oe.b>=U.baxis.range[1]&&Oe.b<=U.baxis.range[0]&&Oe.c>=U.caxis.range[1]&&Oe.c<=U.caxis.range[0]},U.yaxis={type:\"linear\",range:[X,J-re-ae],domain:[le-Te/2,le+Te/2],_id:\"y\"},n(U.yaxis,U.graphDiv._fullLayout),U.yaxis.setScale(),U.yaxis.isPtWithinRange=function(){return!0};var Ue=U.yaxis.domain[0],Ie=U.aaxis=i({},I.aaxis,{range:[X,J-re-ae],side:\"left\",tickangle:(+I.aaxis.tickangle||0)-30,domain:[Ue,Ue+Te*u],anchor:\"free\",position:0,_id:\"y\",_length:ie});n(Ie,U.graphDiv._fullLayout),Ie.setScale();var Ye=U.baxis=i({},I.baxis,{range:[J-X-ae,re],side:\"bottom\",domain:U.xaxis.domain,anchor:\"free\",position:0,_id:\"x\",_length:ie});n(Ye,U.graphDiv._fullLayout),Ye.setScale();var it=U.caxis=i({},I.caxis,{range:[J-X-re,ae],side:\"right\",tickangle:(+I.caxis.tickangle||0)+30,domain:[Ue,Ue+Te*u],anchor:\"free\",position:0,_id:\"y\",_length:ie});n(it,U.graphDiv._fullLayout),it.setScale();var at=\"M\"+j+\",\"+(ee+ce)+\"h\"+ie+\"l-\"+ie/2+\",-\"+ce+\"Z\";U.clipDef.select(\"path\").attr(\"d\",at),U.layers.plotbg.select(\"path\").attr(\"d\",at);var tt=\"M0,\"+ce+\"h\"+ie+\"l-\"+ie/2+\",-\"+ce+\"Z\";U.clipDefRelative.select(\"path\").attr(\"d\",tt);var ut=e(j,ee);U.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",ut),U.clipDefRelative.select(\"path\").attr(\"transform\",null);var Me=e(j-Ye._offset,ee+ce);U.layers.baxis.attr(\"transform\",Me),U.layers.bgrid.attr(\"transform\",Me);var pe=e(j+ie/2,ee)+\"rotate(30)\"+e(0,-Ie._offset);U.layers.aaxis.attr(\"transform\",pe),U.layers.agrid.attr(\"transform\",pe);var ue=e(j+ie/2,ee)+\"rotate(-30)\"+e(0,-it._offset);U.layers.caxis.attr(\"transform\",ue),U.layers.cgrid.attr(\"transform\",ue),U.drawAxes(!0),U.layers.aline.select(\"path\").attr(\"d\",Ie.showline?\"M\"+j+\",\"+(ee+ce)+\"l\"+ie/2+\",-\"+ce:\"M0,0\").call(r.stroke,Ie.linecolor||\"#000\").style(\"stroke-width\",(Ie.linewidth||0)+\"px\"),U.layers.bline.select(\"path\").attr(\"d\",Ye.showline?\"M\"+j+\",\"+(ee+ce)+\"h\"+ie:\"M0,0\").call(r.stroke,Ye.linecolor||\"#000\").style(\"stroke-width\",(Ye.linewidth||0)+\"px\"),U.layers.cline.select(\"path\").attr(\"d\",it.showline?\"M\"+(j+ie/2)+\",\"+ee+\"l\"+ie/2+\",\"+ce:\"M0,0\").call(r.stroke,it.linecolor||\"#000\").style(\"stroke-width\",(it.linewidth||0)+\"px\"),U.graphDiv._context.staticPlot||U.initInteractions(),o.setClipUrl(U.layers.frontplot,U._hasClipOnAxisFalse?null:U.clipId,U.graphDiv)},v.drawAxes=function(I){var N=this,U=N.graphDiv,W=N.id.substr(7)+\"title\",Q=N.layers,le=N.aaxis,se=N.baxis,fe=N.caxis;if(N.drawAx(le),N.drawAx(se),N.drawAx(fe),I){var G=Math.max(le.showticklabels?le.tickfont.size/2:0,(fe.showticklabels?fe.tickfont.size*.75:0)+(fe.ticks===\"outside\"?fe.ticklen*.87:0)),$=(se.showticklabels?se.tickfont.size:0)+(se.ticks===\"outside\"?se.ticklen:0)+3;Q[\"a-title\"]=l.draw(U,\"a\"+W,{propContainer:le,propName:N.id+\".aaxis.title\",placeholder:t(U,\"Click to enter Component A title\"),attributes:{x:N.x0+N.w/2,y:N.y0-le.title.font.size/3-G,\"text-anchor\":\"middle\"}}),Q[\"b-title\"]=l.draw(U,\"b\"+W,{propContainer:se,propName:N.id+\".baxis.title\",placeholder:t(U,\"Click to enter Component B title\"),attributes:{x:N.x0-$,y:N.y0+N.h+se.title.font.size*.83+$,\"text-anchor\":\"middle\"}}),Q[\"c-title\"]=l.draw(U,\"c\"+W,{propContainer:fe,propName:N.id+\".caxis.title\",placeholder:t(U,\"Click to enter Component C title\"),attributes:{x:N.x0+N.w+$,y:N.y0+N.h+fe.title.font.size*.83+$,\"text-anchor\":\"middle\"}})}},v.drawAx=function(I){var N=this,U=N.graphDiv,W=I._name,Q=W.charAt(0),le=I._id,se=N.layers[W],fe=30,G=Q+\"tickLayout\",$=y(I);N[G]!==$&&(se.selectAll(\".\"+le+\"tick\").remove(),N[G]=$),I.setScale();var J=s.calcTicks(I),X=s.clipEnds(I,J),re=s.makeTransTickFn(I),ae=s.getTickSigns(I)[2],j=S.deg2rad(fe),ee=ae*(I.linewidth||1)/2,ie=ae*I.ticklen,ce=N.w,xe=N.h,Te=Q===\"b\"?\"M0,\"+ee+\"l\"+Math.sin(j)*ie+\",\"+Math.cos(j)*ie:\"M\"+ee+\",0l\"+Math.cos(j)*ie+\",\"+-Math.sin(j)*ie,Ue={a:\"M0,0l\"+xe+\",-\"+ce/2,b:\"M0,0l-\"+ce/2+\",-\"+xe,c:\"M0,0l-\"+xe+\",\"+ce/2}[Q];s.drawTicks(U,I,{vals:I.ticks===\"inside\"?X:J,layer:se,path:Te,transFn:re,crisp:!1}),s.drawGrid(U,I,{vals:X,layer:N.layers[Q+\"grid\"],path:Ue,transFn:re,crisp:!1}),s.drawLabels(U,I,{vals:J,layer:se,transFn:re,labelFns:s.makeLabelFns(I,0,fe)})};function y(I){return I.ticks+String(I.ticklen)+String(I.showticklabels)}var f=m.MINZOOM/2+.87,P=\"m-0.87,.5h\"+f+\"v3h-\"+(f+5.2)+\"l\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l2.6,1.5l-\"+f/2+\",\"+f*.87+\"Z\",L=\"m0.87,.5h-\"+f+\"v3h\"+(f+5.2)+\"l-\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l-2.6,1.5l\"+f/2+\",\"+f*.87+\"Z\",z=\"m0,1l\"+f/2+\",\"+f*.87+\"l2.6,-1.5l-\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l-\"+(f/2+2.6)+\",\"+(f*.87+4.5)+\"l2.6,1.5l\"+f/2+\",-\"+f*.87+\"Z\",F=\"m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z\",B=!0;v.clearOutline=function(){E(this.dragOptions),M(this.dragOptions.gd)},v.initInteractions=function(){var I=this,N=I.layers.plotbg.select(\"path\").node(),U=I.graphDiv,W=U._fullLayout._zoomlayer,Q,le;this.dragOptions={element:N,gd:U,plotinfo:{id:I.id,domain:U._fullLayout[I.id].domain,xaxis:I.xaxis,yaxis:I.yaxis},subplot:I.id,prepFn:function(Me,pe,ue){I.dragOptions.xaxes=[I.xaxis],I.dragOptions.yaxes=[I.yaxis],Q=U._fullLayout._invScaleX,le=U._fullLayout._invScaleY;var Oe=I.dragOptions.dragmode=U._fullLayout.dragmode;d(Oe)?I.dragOptions.minDrag=1:I.dragOptions.minDrag=void 0,Oe===\"zoom\"?(I.dragOptions.moveFn=Ye,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=it,xe(Me,pe,ue)):Oe===\"pan\"?(I.dragOptions.moveFn=tt,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=ut,at(),I.clearOutline(U)):(T(Oe)||d(Oe))&&_(Me,pe,ue,I.dragOptions,Oe)}};var se,fe,G,$,J,X,re,ae,j,ee;function ie(Me){var pe={};return pe[I.id+\".aaxis.min\"]=Me.a,pe[I.id+\".baxis.min\"]=Me.b,pe[I.id+\".caxis.min\"]=Me.c,pe}function ce(Me,pe){var ue=U._fullLayout.clickmode;O(U),Me===2&&(U.emit(\"plotly_doubleclick\",null),A.call(\"_guiRelayout\",U,ie({a:0,b:0,c:0}))),ue.indexOf(\"select\")>-1&&Me===1&&w(pe,U,[I.xaxis],[I.yaxis],I.id,I.dragOptions),ue.indexOf(\"event\")>-1&&h.click(U,pe,I.id)}function xe(Me,pe,ue){var Oe=N.getBoundingClientRect();se=pe-Oe.left,fe=ue-Oe.top,U._fullLayout._calcInverseTransform(U);var rt=U._fullLayout._invTransform,ot=S.apply3DTransform(rt)(se,fe);se=ot[0],fe=ot[1],G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G,$=I.aaxis.range[1]-G.a,X=x(I.graphDiv._fullLayout[I.id].bgcolor).getLuminance(),re=\"M0,\"+I.h+\"L\"+I.w/2+\", 0L\"+I.w+\",\"+I.h+\"Z\",ae=!1,j=W.append(\"path\").attr(\"class\",\"zoombox\").attr(\"transform\",e(I.x0,I.y0)).style({fill:X>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"d\",re),ee=W.append(\"path\").attr(\"class\",\"zoombox-corners\").attr(\"transform\",e(I.x0,I.y0)).style({fill:r.background,stroke:r.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"d\",\"M0,0Z\"),I.clearOutline(U)}function Te(Me,pe){return 1-pe/I.h}function Ue(Me,pe){return 1-(Me+(I.h-pe)/Math.sqrt(3))/I.w}function Ie(Me,pe){return(Me-(I.h-pe)/Math.sqrt(3))/I.w}function Ye(Me,pe){var ue=se+Me*Q,Oe=fe+pe*le,rt=Math.max(0,Math.min(1,Te(se,fe),Te(ue,Oe))),ot=Math.max(0,Math.min(1,Ue(se,fe),Ue(ue,Oe))),et=Math.max(0,Math.min(1,Ie(se,fe),Ie(ue,Oe))),Lt=(rt/2+et)*I.w,Et=(1-rt/2-ot)*I.w,Bt=(Lt+Et)/2,qt=Et-Lt,fr=(1-rt)*I.h,ar=fr-qt/u;qt.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),ee.transition().style(\"opacity\",1).duration(200),ae=!0),U.emit(\"plotly_relayouting\",ie(J))}function it(){O(U),J!==G&&(A.call(\"_guiRelayout\",U,ie(J)),B&&U.data&&U._context.showTips&&(S.notifier(t(U,\"Double-click to zoom back out\"),\"long\"),B=!1))}function at(){G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G}function tt(Me,pe){var ue=Me/I.xaxis._m,Oe=pe/I.yaxis._m;J={a:G.a-Oe,b:G.b+(ue+Oe)/2,c:G.c-(ue-Oe)/2};var rt=[J.a,J.b,J.c].sort(S.sorterAsc),ot={a:rt.indexOf(J.a),b:rt.indexOf(J.b),c:rt.indexOf(J.c)};rt[0]<0&&(rt[1]+rt[0]/2<0?(rt[2]+=rt[0]+rt[1],rt[0]=rt[1]=0):(rt[2]+=rt[0]/2,rt[1]+=rt[0]/2,rt[0]=0),J={a:rt[ot.a],b:rt[ot.b],c:rt[ot.c]},pe=(G.a-J.a)*I.yaxis._m,Me=(G.c-J.c-G.b+J.b)*I.xaxis._m);var et=e(I.x0+Me,I.y0+pe);I.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",et);var Lt=e(-Me,-pe);I.clipDefRelative.select(\"path\").attr(\"transform\",Lt),I.aaxis.range=[J.a,I.sum-J.b-J.c],I.baxis.range=[I.sum-J.a-J.c,J.b],I.caxis.range=[I.sum-J.a-J.b,J.c],I.drawAxes(!1),I._hasClipOnAxisFalse&&I.plotContainer.select(\".scatterlayer\").selectAll(\".trace\").call(o.hideOutsideRangePoints,I),U.emit(\"plotly_relayouting\",ie(J))}function ut(){A.call(\"_guiRelayout\",U,ie(J))}N.onmousemove=function(Me){h.hover(U,Me,I.id),U._fullLayout._lasthover=N,U._fullLayout._hoversubplot=I.id},N.onmouseout=function(Me){U._dragging||c.unhover(U,Me)},c.init(this.dragOptions)};function O(I){g.select(I).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}}}),c3=ke({\"src/plots/ternary/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=Yu().attributes,A=wh(),S=ju().overrideAll,e=To().extendFlat,t={title:{text:A.title.text,font:A.title.font},color:A.color,tickmode:A.minor.tickmode,nticks:e({},A.nticks,{dflt:6,min:1}),tick0:A.tick0,dtick:A.dtick,tickvals:A.tickvals,ticktext:A.ticktext,ticks:A.ticks,ticklen:A.ticklen,tickwidth:A.tickwidth,tickcolor:A.tickcolor,ticklabelstep:A.ticklabelstep,showticklabels:A.showticklabels,labelalias:A.labelalias,showtickprefix:A.showtickprefix,tickprefix:A.tickprefix,showticksuffix:A.showticksuffix,ticksuffix:A.ticksuffix,showexponent:A.showexponent,exponentformat:A.exponentformat,minexponent:A.minexponent,separatethousands:A.separatethousands,tickfont:A.tickfont,tickangle:A.tickangle,tickformat:A.tickformat,tickformatstops:A.tickformatstops,hoverformat:A.hoverformat,showline:e({},A.showline,{dflt:!0}),linecolor:A.linecolor,linewidth:A.linewidth,showgrid:e({},A.showgrid,{dflt:!0}),gridcolor:A.gridcolor,gridwidth:A.gridwidth,griddash:A.griddash,layer:A.layer,min:{valType:\"number\",dflt:0,min:0}},r=H.exports=S({domain:x({name:\"ternary\"}),bgcolor:{valType:\"color\",dflt:g.background},sum:{valType:\"number\",dflt:1,min:0},aaxis:t,baxis:t,caxis:t},\"plot\",\"from-root\");r.uirevision={valType:\"any\",editType:\"none\"},r.aaxis.uirevision=r.baxis.uirevision=r.caxis.uirevision={valType:\"any\",editType:\"none\"}}}),Up=ke({\"src/plots/subplot_defaults.js\"(Z,H){\"use strict\";var g=un(),x=yl(),A=Yu().defaults;H.exports=function(e,t,r,o){var n=o.type,i=o.attributes,a=o.handleDefaults,s=o.partition||\"x\",c=t._subplots[n],h=c.length,p=h&&c[0].replace(/\\d+$/,\"\"),d,T;function l(E,m){return g.coerce(d,T,i,E,m)}for(var _=0;_=_&&(b.min=0,v.min=0,u.min=0,h.aaxis&&delete h.aaxis.min,h.baxis&&delete h.baxis.min,h.caxis&&delete h.caxis.min)}function c(h,p,d,T){var l=i[p._name];function _(y,f){return A.coerce(h,p,l,y,f)}_(\"uirevision\",T.uirevision),p.type=\"linear\";var w=_(\"color\"),M=w!==l.color.dflt?w:d.font.color,E=p._name,m=E.charAt(0).toUpperCase(),b=\"Component \"+m,v=_(\"title.text\",b);p._hovertitle=v===b?v:m,A.coerceFont(_,\"title.font\",d.font,{overrideDflt:{size:A.bigFont(d.font.size),color:M}}),_(\"min\"),o(h,p,_,\"linear\"),t(h,p,_,\"linear\"),e(h,p,_,\"linear\",{noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0}),r(h,p,_,{outerTicks:!0});var u=_(\"showticklabels\");u&&(A.coerceFont(_,\"tickfont\",d.font,{overrideDflt:{color:M}}),_(\"tickangle\"),_(\"tickformat\")),n(h,p,_,{dfltColor:w,bgColor:d.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:l}),_(\"hoverformat\"),_(\"layer\")}}}),vk=ke({\"src/plots/ternary/index.js\"(Z){\"use strict\";var H=hk(),g=bh().getSubplotCalcData,x=un().counterRegex,A=\"ternary\";Z.name=A;var S=Z.attr=\"subplot\";Z.idRoot=A,Z.idRegex=Z.attrRegex=x(A);var e=Z.attributes={};e[S]={valType:\"subplotid\",dflt:\"ternary\",editType:\"calc\"},Z.layoutAttributes=c3(),Z.supplyLayoutDefaults=dk(),Z.plot=function(r){for(var o=r._fullLayout,n=r.calcdata,i=o._subplots[A],a=0;a0){var E=r.xa,m=r.ya,b,v,u,y,f;h.orientation===\"h\"?(f=o,b=\"y\",u=m,v=\"x\",y=E):(f=n,b=\"x\",u=E,v=\"y\",y=m);var P=c[r.index];if(f>=P.span[0]&&f<=P.span[1]){var L=x.extendFlat({},r),z=y.c2p(f,!0),F=e.getKdeValue(P,h,f),B=e.getPositionOnKdePath(P,h,z),O=u._offset,I=u._length;L[b+\"0\"]=B[0],L[b+\"1\"]=B[1],L[v+\"0\"]=L[v+\"1\"]=z,L[v+\"Label\"]=v+\": \"+A.hoverLabelText(y,f,h[v+\"hoverformat\"])+\", \"+c[0].t.labels.kde+\" \"+F.toFixed(3);for(var N=0,U=0;U path\").each(function(d){if(!d.isBlank){var T=p.marker;g.select(this).call(A.fill,d.mc||T.color).call(A.stroke,d.mlc||T.line.color).call(x.dashLine,T.line.dash,d.mlw||T.line.width).style(\"opacity\",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(\".regions\").each(function(){g.select(this).selectAll(\"path\").style(\"stroke-width\",0).call(A.fill,p.connector.fillcolor)}),h.selectAll(\".lines\").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll(\"path\"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),Rk=ke({\"src/traces/funnel/hover.js\"(Z,H){\"use strict\";var g=eo().opacity,x=Qg().hoverOnBars,A=un().formatPercent;H.exports=function(t,r,o,n,i){var a=x(t,r,o,n,i);if(a){var s=a.cd,c=s[0].trace,h=c.orientation===\"h\",p=a.index,d=s[p],T=h?\"x\":\"y\";a[T+\"LabelVal\"]=d.s,a.percentInitial=d.begR,a.percentInitialLabel=A(d.begR,1),a.percentPrevious=d.difR,a.percentPreviousLabel=A(d.difR,1),a.percentTotal=d.sumR,a.percentTotalLabel=A(d.sumR,1);var l=d.hi||c.hoverinfo,_=[];if(l&&l!==\"none\"&&l!==\"skip\"){var w=l===\"all\",M=l.split(\"+\"),E=function(m){return w||M.indexOf(m)!==-1};E(\"percent initial\")&&_.push(a.percentInitialLabel+\" of initial\"),E(\"percent previous\")&&_.push(a.percentPreviousLabel+\" of previous\"),E(\"percent total\")&&_.push(a.percentTotalLabel+\" of total\")}return a.extraText=_.join(\"
\"),a.color=S(c,d),[a]}};function S(e,t){var r=e.marker,o=t.mc||r.color,n=t.mlc||r.line.color,i=t.mlw||r.line.width;if(g(o))return o;if(g(n)&&i)return n}}}),Dk=ke({\"src/traces/funnel/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,\"percentInitial\"in A&&(x.percentInitial=A.percentInitial),\"percentPrevious\"in A&&(x.percentPrevious=A.percentPrevious),\"percentTotal\"in A&&(x.percentTotal=A.percentTotal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),zk=ke({\"src/traces/funnel/index.js\"(Z,H){\"use strict\";H.exports={attributes:d3(),layoutAttributes:v3(),supplyDefaults:p3().supplyDefaults,crossTraceDefaults:p3().crossTraceDefaults,supplyLayoutDefaults:Ek(),calc:kk(),crossTraceCalc:Lk(),plot:Pk(),style:Ik().style,hoverPoints:Rk(),eventData:Dk(),selectPoints:ey(),moduleType:\"trace\",name:\"funnel\",basePlotModule:xf(),categories:[\"bar-like\",\"cartesian\",\"svg\",\"oriented\",\"showLegend\",\"zoomScale\"],meta:{}}}}),Fk=ke({\"lib/funnel.js\"(Z,H){\"use strict\";H.exports=zk()}}),Ok=ke({\"src/traces/waterfall/constants.js\"(Z,H){\"use strict\";H.exports={eventDataKeys:[\"initial\",\"delta\",\"final\"]}}}),m3=ke({\"src/traces/waterfall/attributes.js\"(Z,H){\"use strict\";var g=Pv(),x=Cc().line,A=Ol(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ok(),o=To().extendFlat,n=eo();function i(a){return{marker:{color:o({},g.marker.color,{arrayOk:!1,editType:\"style\"}),line:{color:o({},g.marker.line.color,{arrayOk:!1,editType:\"style\"}),width:o({},g.marker.line.width,{arrayOk:!1,editType:\"style\"}),editType:\"style\"},editType:\"style\"},editType:\"style\"}}H.exports={measure:{valType:\"data_array\",dflt:[],editType:\"calc\"},base:{valType:\"number\",dflt:null,arrayOk:!1,editType:\"calc\"},x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:g.xperiod0,yperiod0:g.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),hovertext:g.hovertext,hovertemplate:e({},{keys:r.eventDataKeys}),hoverinfo:o({},A.hoverinfo,{flags:[\"name\",\"x\",\"y\",\"text\",\"initial\",\"delta\",\"final\"]}),textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"initial\",\"delta\",\"final\"],extras:[\"none\"],editType:\"plot\",arrayOk:!1},texttemplate:t({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\"])}),text:g.text,textposition:g.textposition,insidetextanchor:g.insidetextanchor,textangle:g.textangle,textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:g.outsidetextfont,constraintext:g.constraintext,cliponaxis:g.cliponaxis,orientation:g.orientation,offset:g.offset,width:g.width,increasing:i(\"increasing\"),decreasing:i(\"decreasing\"),totals:i(\"intermediate sums and total\"),connector:{line:{color:o({},x.color,{dflt:n.defaultLine}),width:o({},x.width,{editType:\"plot\"}),dash:x.dash,editType:\"plot\"},mode:{valType:\"enumerated\",values:[\"spanning\",\"between\"],dflt:\"between\",editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},editType:\"plot\"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,zorder:g.zorder}}}),g3=ke({\"src/traces/waterfall/layout_attributes.js\"(Z,H){\"use strict\";H.exports={waterfallmode:{valType:\"enumerated\",values:[\"group\",\"overlay\"],dflt:\"group\",editType:\"calc\"},waterfallgap:{valType:\"number\",min:0,max:1,editType:\"calc\"},waterfallgroupgap:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"}}}}),ry=ke({\"src/constants/delta.js\"(Z,H){\"use strict\";H.exports={INCREASING:{COLOR:\"#3D9970\",SYMBOL:\"\\u25B2\"},DECREASING:{COLOR:\"#FF4136\",SYMBOL:\"\\u25BC\"}}}}),y3=ke({\"src/traces/waterfall/defaults.js\"(Z,H){\"use strict\";var g=un(),x=zm(),A=Od().handleText,S=Xg(),e=hv(),t=m3(),r=eo(),o=ry(),n=o.INCREASING.COLOR,i=o.DECREASING.COLOR,a=\"#4499FF\";function s(p,d,T){p(d+\".marker.color\",T),p(d+\".marker.line.color\",r.defaultLine),p(d+\".marker.line.width\")}function c(p,d,T,l){function _(b,v){return g.coerce(p,d,t,b,v)}var w=S(p,d,l,_);if(!w){d.visible=!1;return}e(p,d,l,_),_(\"xhoverformat\"),_(\"yhoverformat\"),_(\"measure\"),_(\"orientation\",d.x&&!d.y?\"h\":\"v\"),_(\"base\"),_(\"offset\"),_(\"width\"),_(\"text\"),_(\"hovertext\"),_(\"hovertemplate\");var M=_(\"textposition\");A(p,d,l,_,M,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),d.textposition!==\"none\"&&(_(\"texttemplate\"),d.texttemplate||_(\"textinfo\")),s(_,\"increasing\",n),s(_,\"decreasing\",i),s(_,\"totals\",a);var E=_(\"connector.visible\");if(E){_(\"connector.mode\");var m=_(\"connector.line.width\");m&&(_(\"connector.line.color\"),_(\"connector.line.dash\"))}_(\"zorder\")}function h(p,d){var T,l;function _(M){return g.coerce(l._input,l,t,M)}if(d.waterfallmode===\"group\")for(var w=0;w0&&(_?f+=\"M\"+u[0]+\",\"+y[1]+\"V\"+y[0]:f+=\"M\"+u[1]+\",\"+y[0]+\"H\"+u[0]),w!==\"between\"&&(m.isSum||b path\").each(function(d){if(!d.isBlank){var T=p[d.dir].marker;g.select(this).call(A.fill,T.color).call(A.stroke,T.line.color).call(x.dashLine,T.line.dash,T.line.width).style(\"opacity\",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(\".lines\").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll(\"path\"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),qk=ke({\"src/traces/waterfall/hover.js\"(Z,H){\"use strict\";var g=Ho().hoverLabelText,x=eo().opacity,A=Qg().hoverOnBars,S=ry(),e={increasing:S.INCREASING.SYMBOL,decreasing:S.DECREASING.SYMBOL};H.exports=function(o,n,i,a,s){var c=A(o,n,i,a,s);if(!c)return;var h=c.cd,p=h[0].trace,d=p.orientation===\"h\",T=d?\"x\":\"y\",l=d?o.xa:o.ya;function _(P){return g(l,P,p[T+\"hoverformat\"])}var w=c.index,M=h[w],E=M.isSum?M.b+M.s:M.rawS;c.initial=M.b+M.s-E,c.delta=E,c.final=c.initial+c.delta;var m=_(Math.abs(c.delta));c.deltaLabel=E<0?\"(\"+m+\")\":m,c.finalLabel=_(c.final),c.initialLabel=_(c.initial);var b=M.hi||p.hoverinfo,v=[];if(b&&b!==\"none\"&&b!==\"skip\"){var u=b===\"all\",y=b.split(\"+\"),f=function(P){return u||y.indexOf(P)!==-1};M.isSum||(f(\"final\")&&(d?!f(\"x\"):!f(\"y\"))&&v.push(c.finalLabel),f(\"delta\")&&(E<0?v.push(c.deltaLabel+\" \"+e.decreasing):v.push(c.deltaLabel+\" \"+e.increasing)),f(\"initial\")&&v.push(\"Initial: \"+c.initialLabel))}return v.length&&(c.extraText=v.join(\"
\")),c.color=t(p,M),[c]};function t(r,o){var n=r[o.dir].marker,i=n.color,a=n.line.color,s=n.line.width;if(x(i))return i;if(x(a)&&s)return a}}}),Hk=ke({\"src/traces/waterfall/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,\"initial\"in A&&(x.initial=A.initial),\"delta\"in A&&(x.delta=A.delta),\"final\"in A&&(x.final=A.final),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),Gk=ke({\"src/traces/waterfall/index.js\"(Z,H){\"use strict\";H.exports={attributes:m3(),layoutAttributes:g3(),supplyDefaults:y3().supplyDefaults,crossTraceDefaults:y3().crossTraceDefaults,supplyLayoutDefaults:Bk(),calc:Nk(),crossTraceCalc:Uk(),plot:jk(),style:Vk().style,hoverPoints:qk(),eventData:Hk(),selectPoints:ey(),moduleType:\"trace\",name:\"waterfall\",basePlotModule:xf(),categories:[\"bar-like\",\"cartesian\",\"svg\",\"oriented\",\"showLegend\",\"zoomScale\"],meta:{}}}}),Wk=ke({\"lib/waterfall.js\"(Z,H){\"use strict\";H.exports=Gk()}}),ny=ke({\"src/traces/image/constants.js\"(Z,H){\"use strict\";H.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(g){return g.slice(0,3)},suffix:[\"\",\"\",\"\"]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},rgba256:{colormodel:\"rgba\",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(g){var x=g.slice(0,3);return x[1]=x[1]+\"%\",x[2]=x[2]+\"%\",x},suffix:[\"\\xB0\",\"%\",\"%\"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(g){var x=g.slice(0,4);return x[1]=x[1]+\"%\",x[2]=x[2]+\"%\",x},suffix:[\"\\xB0\",\"%\",\"%\",\"\"]}}}}}),_3=ke({\"src/traces/image/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Cc().zorder,A=Rs().hovertemplateAttrs,S=To().extendFlat,e=ny().colormodel,t=[\"rgb\",\"rgba\",\"rgba256\",\"hsl\",\"hsla\"],r=[],o=[];for(i=0;i0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var p=c.indexOf(\"=\");p===-1&&(p=h);var d=p===h?0:4-p%4;return[p,d]}function r(c){var h=t(c),p=h[0],d=h[1];return(p+d)*3/4-d}function o(c,h,p){return(h+p)*3/4-p}function n(c){var h,p=t(c),d=p[0],T=p[1],l=new x(o(c,d,T)),_=0,w=T>0?d-4:d,M;for(M=0;M>16&255,l[_++]=h>>8&255,l[_++]=h&255;return T===2&&(h=g[c.charCodeAt(M)]<<2|g[c.charCodeAt(M+1)]>>4,l[_++]=h&255),T===1&&(h=g[c.charCodeAt(M)]<<10|g[c.charCodeAt(M+1)]<<4|g[c.charCodeAt(M+2)]>>2,l[_++]=h>>8&255,l[_++]=h&255),l}function i(c){return H[c>>18&63]+H[c>>12&63]+H[c>>6&63]+H[c&63]}function a(c,h,p){for(var d,T=[],l=h;lw?w:_+l));return d===1?(h=c[p-1],T.push(H[h>>2]+H[h<<4&63]+\"==\")):d===2&&(h=(c[p-2]<<8)+c[p-1],T.push(H[h>>10]+H[h>>4&63]+H[h<<2&63]+\"=\")),T.join(\"\")}}}),Yk=ke({\"node_modules/ieee754/index.js\"(Z){Z.read=function(H,g,x,A,S){var e,t,r=S*8-A-1,o=(1<>1,i=-7,a=x?S-1:0,s=x?-1:1,c=H[g+a];for(a+=s,e=c&(1<<-i)-1,c>>=-i,i+=r;i>0;e=e*256+H[g+a],a+=s,i-=8);for(t=e&(1<<-i)-1,e>>=-i,i+=A;i>0;t=t*256+H[g+a],a+=s,i-=8);if(e===0)e=1-n;else{if(e===o)return t?NaN:(c?-1:1)*(1/0);t=t+Math.pow(2,A),e=e-n}return(c?-1:1)*t*Math.pow(2,e-A)},Z.write=function(H,g,x,A,S,e){var t,r,o,n=e*8-S-1,i=(1<>1,s=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=A?0:e-1,h=A?1:-1,p=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(r=isNaN(g)?1:0,t=i):(t=Math.floor(Math.log(g)/Math.LN2),g*(o=Math.pow(2,-t))<1&&(t--,o*=2),t+a>=1?g+=s/o:g+=s*Math.pow(2,1-a),g*o>=2&&(t++,o/=2),t+a>=i?(r=0,t=i):t+a>=1?(r=(g*o-1)*Math.pow(2,S),t=t+a):(r=g*Math.pow(2,a-1)*Math.pow(2,S),t=0));S>=8;H[x+c]=r&255,c+=h,r/=256,S-=8);for(t=t<0;H[x+c]=t&255,c+=h,t/=256,n-=8);H[x+c-h]|=p*128}}}),Nm=ke({\"node_modules/buffer/index.js\"(Z){\"use strict\";var H=Zk(),g=Yk(),x=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\"?Symbol.for(\"nodejs.util.inspect.custom\"):null;Z.Buffer=t,Z.SlowBuffer=T,Z.INSPECT_MAX_BYTES=50;var A=2147483647;Z.kMaxLength=A,t.TYPED_ARRAY_SUPPORT=S(),!t.TYPED_ARRAY_SUPPORT&&typeof console<\"u\"&&typeof console.error==\"function\"&&console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\");function S(){try{let Me=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Me,pe),Me.foo()===42}catch{return!1}}Object.defineProperty(t.prototype,\"parent\",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,\"offset\",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}});function e(Me){if(Me>A)throw new RangeError('The value \"'+Me+'\" is invalid for option \"size\"');let pe=new Uint8Array(Me);return Object.setPrototypeOf(pe,t.prototype),pe}function t(Me,pe,ue){if(typeof Me==\"number\"){if(typeof pe==\"string\")throw new TypeError('The \"string\" argument must be of type string. Received type number');return i(Me)}return r(Me,pe,ue)}t.poolSize=8192;function r(Me,pe,ue){if(typeof Me==\"string\")return a(Me,pe);if(ArrayBuffer.isView(Me))return c(Me);if(Me==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof Me);if(Ye(Me,ArrayBuffer)||Me&&Ye(Me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(Ye(Me,SharedArrayBuffer)||Me&&Ye(Me.buffer,SharedArrayBuffer)))return h(Me,pe,ue);if(typeof Me==\"number\")throw new TypeError('The \"value\" argument must not be of type number. Received type number');let Oe=Me.valueOf&&Me.valueOf();if(Oe!=null&&Oe!==Me)return t.from(Oe,pe,ue);let rt=p(Me);if(rt)return rt;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof Me[Symbol.toPrimitive]==\"function\")return t.from(Me[Symbol.toPrimitive](\"string\"),pe,ue);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof Me)}t.from=function(Me,pe,ue){return r(Me,pe,ue)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array);function o(Me){if(typeof Me!=\"number\")throw new TypeError('\"size\" argument must be of type number');if(Me<0)throw new RangeError('The value \"'+Me+'\" is invalid for option \"size\"')}function n(Me,pe,ue){return o(Me),Me<=0?e(Me):pe!==void 0?typeof ue==\"string\"?e(Me).fill(pe,ue):e(Me).fill(pe):e(Me)}t.alloc=function(Me,pe,ue){return n(Me,pe,ue)};function i(Me){return o(Me),e(Me<0?0:d(Me)|0)}t.allocUnsafe=function(Me){return i(Me)},t.allocUnsafeSlow=function(Me){return i(Me)};function a(Me,pe){if((typeof pe!=\"string\"||pe===\"\")&&(pe=\"utf8\"),!t.isEncoding(pe))throw new TypeError(\"Unknown encoding: \"+pe);let ue=l(Me,pe)|0,Oe=e(ue),rt=Oe.write(Me,pe);return rt!==ue&&(Oe=Oe.slice(0,rt)),Oe}function s(Me){let pe=Me.length<0?0:d(Me.length)|0,ue=e(pe);for(let Oe=0;Oe=A)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+A.toString(16)+\" bytes\");return Me|0}function T(Me){return+Me!=Me&&(Me=0),t.alloc(+Me)}t.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==t.prototype},t.compare=function(pe,ue){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),Ye(ue,Uint8Array)&&(ue=t.from(ue,ue.offset,ue.byteLength)),!t.isBuffer(pe)||!t.isBuffer(ue))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(pe===ue)return 0;let Oe=pe.length,rt=ue.length;for(let ot=0,et=Math.min(Oe,rt);otrt.length?(t.isBuffer(et)||(et=t.from(et)),et.copy(rt,ot)):Uint8Array.prototype.set.call(rt,et,ot);else if(t.isBuffer(et))et.copy(rt,ot);else throw new TypeError('\"list\" argument must be an Array of Buffers');ot+=et.length}return rt};function l(Me,pe){if(t.isBuffer(Me))return Me.length;if(ArrayBuffer.isView(Me)||Ye(Me,ArrayBuffer))return Me.byteLength;if(typeof Me!=\"string\")throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Me);let ue=Me.length,Oe=arguments.length>2&&arguments[2]===!0;if(!Oe&&ue===0)return 0;let rt=!1;for(;;)switch(pe){case\"ascii\":case\"latin1\":case\"binary\":return ue;case\"utf8\":case\"utf-8\":return ce(Me).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return ue*2;case\"hex\":return ue>>>1;case\"base64\":return Ue(Me).length;default:if(rt)return Oe?-1:ce(Me).length;pe=(\"\"+pe).toLowerCase(),rt=!0}}t.byteLength=l;function _(Me,pe,ue){let Oe=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,pe>>>=0,ue<=pe))return\"\";for(Me||(Me=\"utf8\");;)switch(Me){case\"hex\":return O(this,pe,ue);case\"utf8\":case\"utf-8\":return P(this,pe,ue);case\"ascii\":return F(this,pe,ue);case\"latin1\":case\"binary\":return B(this,pe,ue);case\"base64\":return f(this,pe,ue);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return I(this,pe,ue);default:if(Oe)throw new TypeError(\"Unknown encoding: \"+Me);Me=(Me+\"\").toLowerCase(),Oe=!0}}t.prototype._isBuffer=!0;function w(Me,pe,ue){let Oe=Me[pe];Me[pe]=Me[ue],Me[ue]=Oe}t.prototype.swap16=function(){let pe=this.length;if(pe%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(let ue=0;ueue&&(pe+=\" ... \"),\"\"},x&&(t.prototype[x]=t.prototype.inspect),t.prototype.compare=function(pe,ue,Oe,rt,ot){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),!t.isBuffer(pe))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ue===void 0&&(ue=0),Oe===void 0&&(Oe=pe?pe.length:0),rt===void 0&&(rt=0),ot===void 0&&(ot=this.length),ue<0||Oe>pe.length||rt<0||ot>this.length)throw new RangeError(\"out of range index\");if(rt>=ot&&ue>=Oe)return 0;if(rt>=ot)return-1;if(ue>=Oe)return 1;if(ue>>>=0,Oe>>>=0,rt>>>=0,ot>>>=0,this===pe)return 0;let et=ot-rt,Lt=Oe-ue,Et=Math.min(et,Lt),Bt=this.slice(rt,ot),qt=pe.slice(ue,Oe);for(let fr=0;fr2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,it(ue)&&(ue=rt?0:Me.length-1),ue<0&&(ue=Me.length+ue),ue>=Me.length){if(rt)return-1;ue=Me.length-1}else if(ue<0)if(rt)ue=0;else return-1;if(typeof pe==\"string\"&&(pe=t.from(pe,Oe)),t.isBuffer(pe))return pe.length===0?-1:E(Me,pe,ue,Oe,rt);if(typeof pe==\"number\")return pe=pe&255,typeof Uint8Array.prototype.indexOf==\"function\"?rt?Uint8Array.prototype.indexOf.call(Me,pe,ue):Uint8Array.prototype.lastIndexOf.call(Me,pe,ue):E(Me,[pe],ue,Oe,rt);throw new TypeError(\"val must be string, number or Buffer\")}function E(Me,pe,ue,Oe,rt){let ot=1,et=Me.length,Lt=pe.length;if(Oe!==void 0&&(Oe=String(Oe).toLowerCase(),Oe===\"ucs2\"||Oe===\"ucs-2\"||Oe===\"utf16le\"||Oe===\"utf-16le\")){if(Me.length<2||pe.length<2)return-1;ot=2,et/=2,Lt/=2,ue/=2}function Et(qt,fr){return ot===1?qt[fr]:qt.readUInt16BE(fr*ot)}let Bt;if(rt){let qt=-1;for(Bt=ue;Btet&&(ue=et-Lt),Bt=ue;Bt>=0;Bt--){let qt=!0;for(let fr=0;frrt&&(Oe=rt)):Oe=rt;let ot=pe.length;Oe>ot/2&&(Oe=ot/2);let et;for(et=0;et>>0,isFinite(Oe)?(Oe=Oe>>>0,rt===void 0&&(rt=\"utf8\")):(rt=Oe,Oe=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");let ot=this.length-ue;if((Oe===void 0||Oe>ot)&&(Oe=ot),pe.length>0&&(Oe<0||ue<0)||ue>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");rt||(rt=\"utf8\");let et=!1;for(;;)switch(rt){case\"hex\":return m(this,pe,ue,Oe);case\"utf8\":case\"utf-8\":return b(this,pe,ue,Oe);case\"ascii\":case\"latin1\":case\"binary\":return v(this,pe,ue,Oe);case\"base64\":return u(this,pe,ue,Oe);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return y(this,pe,ue,Oe);default:if(et)throw new TypeError(\"Unknown encoding: \"+rt);rt=(\"\"+rt).toLowerCase(),et=!0}},t.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function f(Me,pe,ue){return pe===0&&ue===Me.length?H.fromByteArray(Me):H.fromByteArray(Me.slice(pe,ue))}function P(Me,pe,ue){ue=Math.min(Me.length,ue);let Oe=[],rt=pe;for(;rt239?4:ot>223?3:ot>191?2:1;if(rt+Lt<=ue){let Et,Bt,qt,fr;switch(Lt){case 1:ot<128&&(et=ot);break;case 2:Et=Me[rt+1],(Et&192)===128&&(fr=(ot&31)<<6|Et&63,fr>127&&(et=fr));break;case 3:Et=Me[rt+1],Bt=Me[rt+2],(Et&192)===128&&(Bt&192)===128&&(fr=(ot&15)<<12|(Et&63)<<6|Bt&63,fr>2047&&(fr<55296||fr>57343)&&(et=fr));break;case 4:Et=Me[rt+1],Bt=Me[rt+2],qt=Me[rt+3],(Et&192)===128&&(Bt&192)===128&&(qt&192)===128&&(fr=(ot&15)<<18|(Et&63)<<12|(Bt&63)<<6|qt&63,fr>65535&&fr<1114112&&(et=fr))}}et===null?(et=65533,Lt=1):et>65535&&(et-=65536,Oe.push(et>>>10&1023|55296),et=56320|et&1023),Oe.push(et),rt+=Lt}return z(Oe)}var L=4096;function z(Me){let pe=Me.length;if(pe<=L)return String.fromCharCode.apply(String,Me);let ue=\"\",Oe=0;for(;OeOe)&&(ue=Oe);let rt=\"\";for(let ot=pe;otOe&&(pe=Oe),ue<0?(ue+=Oe,ue<0&&(ue=0)):ue>Oe&&(ue=Oe),ueue)throw new RangeError(\"Trying to access beyond buffer length\")}t.prototype.readUintLE=t.prototype.readUIntLE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe+--ue],ot=1;for(;ue>0&&(ot*=256);)rt+=this[pe+--ue]*ot;return rt},t.prototype.readUint8=t.prototype.readUInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]},t.prototype.readUint16LE=t.prototype.readUInt16LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]|this[pe+1]<<8},t.prototype.readUint16BE=t.prototype.readUInt16BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]<<8|this[pe+1]},t.prototype.readUint32LE=t.prototype.readUInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},t.prototype.readUint32BE=t.prototype.readUInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},t.prototype.readBigUInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue+this[++pe]*2**8+this[++pe]*2**16+this[++pe]*2**24,ot=this[++pe]+this[++pe]*2**8+this[++pe]*2**16+Oe*2**24;return BigInt(rt)+(BigInt(ot)<>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue*2**24+this[++pe]*2**16+this[++pe]*2**8+this[++pe],ot=this[++pe]*2**24+this[++pe]*2**16+this[++pe]*2**8+Oe;return(BigInt(rt)<>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et=ot&&(rt-=Math.pow(2,8*ue)),rt},t.prototype.readIntBE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=ue,ot=1,et=this[pe+--rt];for(;rt>0&&(ot*=256);)et+=this[pe+--rt]*ot;return ot*=128,et>=ot&&(et-=Math.pow(2,8*ue)),et},t.prototype.readInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},t.prototype.readInt16LE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe]|this[pe+1]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt16BE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe+1]|this[pe]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},t.prototype.readInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},t.prototype.readBigInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=this[pe+4]+this[pe+5]*2**8+this[pe+6]*2**16+(Oe<<24);return(BigInt(rt)<>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=(ue<<24)+this[++pe]*2**16+this[++pe]*2**8+this[++pe];return(BigInt(rt)<>>0,ue||N(pe,4,this.length),g.read(this,pe,!0,23,4)},t.prototype.readFloatBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),g.read(this,pe,!1,23,4)},t.prototype.readDoubleLE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!0,52,8)},t.prototype.readDoubleBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!1,52,8)};function U(Me,pe,ue,Oe,rt,ot){if(!t.isBuffer(Me))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(pe>rt||peMe.length)throw new RangeError(\"Index out of range\")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=1,et=0;for(this[ue]=pe&255;++et>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=Oe-1,et=1;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)this[ue+ot]=pe/et&255;return ue+Oe},t.prototype.writeUint8=t.prototype.writeUInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,255,0),this[ue]=pe&255,ue+1},t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue+3]=pe>>>24,this[ue+2]=pe>>>16,this[ue+1]=pe>>>8,this[ue]=pe&255,ue+4},t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4};function W(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,ue}function Q(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue+7]=ot,ot=ot>>8,Me[ue+6]=ot,ot=ot>>8,Me[ue+5]=ot,ot=ot>>8,Me[ue+4]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue+3]=et,et=et>>8,Me[ue+2]=et,et=et>>8,Me[ue+1]=et,et=et>>8,Me[ue]=et,ue+8}t.prototype.writeBigUInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),t.prototype.writeBigUInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),t.prototype.writeIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=0,et=1,Lt=0;for(this[ue]=pe&255;++ot>0)-Lt&255;return ue+Oe},t.prototype.writeIntBE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=Oe-1,et=1,Lt=0;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)pe<0&&Lt===0&&this[ue+ot+1]!==0&&(Lt=1),this[ue+ot]=(pe/et>>0)-Lt&255;return ue+Oe},t.prototype.writeInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,127,-128),pe<0&&(pe=255+pe+1),this[ue]=pe&255,ue+1},t.prototype.writeInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),this[ue]=pe&255,this[ue+1]=pe>>>8,this[ue+2]=pe>>>16,this[ue+3]=pe>>>24,ue+4},t.prototype.writeInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4},t.prototype.writeBigInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))}),t.prototype.writeBigInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function le(Me,pe,ue,Oe,rt,ot){if(ue+Oe>Me.length)throw new RangeError(\"Index out of range\");if(ue<0)throw new RangeError(\"Index out of range\")}function se(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,4,34028234663852886e22,-34028234663852886e22),g.write(Me,pe,ue,Oe,23,4),ue+4}t.prototype.writeFloatLE=function(pe,ue,Oe){return se(this,pe,ue,!0,Oe)},t.prototype.writeFloatBE=function(pe,ue,Oe){return se(this,pe,ue,!1,Oe)};function fe(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,8,17976931348623157e292,-17976931348623157e292),g.write(Me,pe,ue,Oe,52,8),ue+8}t.prototype.writeDoubleLE=function(pe,ue,Oe){return fe(this,pe,ue,!0,Oe)},t.prototype.writeDoubleBE=function(pe,ue,Oe){return fe(this,pe,ue,!1,Oe)},t.prototype.copy=function(pe,ue,Oe,rt){if(!t.isBuffer(pe))throw new TypeError(\"argument should be a Buffer\");if(Oe||(Oe=0),!rt&&rt!==0&&(rt=this.length),ue>=pe.length&&(ue=pe.length),ue||(ue=0),rt>0&&rt=this.length)throw new RangeError(\"Index out of range\");if(rt<0)throw new RangeError(\"sourceEnd out of bounds\");rt>this.length&&(rt=this.length),pe.length-ue>>0,Oe=Oe===void 0?this.length:Oe>>>0,pe||(pe=0);let ot;if(typeof pe==\"number\")for(ot=ue;ot2**32?rt=J(String(ue)):typeof ue==\"bigint\"&&(rt=String(ue),(ue>BigInt(2)**BigInt(32)||ue<-(BigInt(2)**BigInt(32)))&&(rt=J(rt)),rt+=\"n\"),Oe+=` It must be ${pe}. Received ${rt}`,Oe},RangeError);function J(Me){let pe=\"\",ue=Me.length,Oe=Me[0]===\"-\"?1:0;for(;ue>=Oe+4;ue-=3)pe=`_${Me.slice(ue-3,ue)}${pe}`;return`${Me.slice(0,ue)}${pe}`}function X(Me,pe,ue){ae(pe,\"offset\"),(Me[pe]===void 0||Me[pe+ue]===void 0)&&j(pe,Me.length-(ue+1))}function re(Me,pe,ue,Oe,rt,ot){if(Me>ue||Me3?pe===0||pe===BigInt(0)?Lt=`>= 0${et} and < 2${et} ** ${(ot+1)*8}${et}`:Lt=`>= -(2${et} ** ${(ot+1)*8-1}${et}) and < 2 ** ${(ot+1)*8-1}${et}`:Lt=`>= ${pe}${et} and <= ${ue}${et}`,new G.ERR_OUT_OF_RANGE(\"value\",Lt,Me)}X(Oe,rt,ot)}function ae(Me,pe){if(typeof Me!=\"number\")throw new G.ERR_INVALID_ARG_TYPE(pe,\"number\",Me)}function j(Me,pe,ue){throw Math.floor(Me)!==Me?(ae(Me,ue),new G.ERR_OUT_OF_RANGE(ue||\"offset\",\"an integer\",Me)):pe<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE(ue||\"offset\",`>= ${ue?1:0} and <= ${pe}`,Me)}var ee=/[^+/0-9A-Za-z-_]/g;function ie(Me){if(Me=Me.split(\"=\")[0],Me=Me.trim().replace(ee,\"\"),Me.length<2)return\"\";for(;Me.length%4!==0;)Me=Me+\"=\";return Me}function ce(Me,pe){pe=pe||1/0;let ue,Oe=Me.length,rt=null,ot=[];for(let et=0;et55295&&ue<57344){if(!rt){if(ue>56319){(pe-=3)>-1&&ot.push(239,191,189);continue}else if(et+1===Oe){(pe-=3)>-1&&ot.push(239,191,189);continue}rt=ue;continue}if(ue<56320){(pe-=3)>-1&&ot.push(239,191,189),rt=ue;continue}ue=(rt-55296<<10|ue-56320)+65536}else rt&&(pe-=3)>-1&&ot.push(239,191,189);if(rt=null,ue<128){if((pe-=1)<0)break;ot.push(ue)}else if(ue<2048){if((pe-=2)<0)break;ot.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((pe-=3)<0)break;ot.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((pe-=4)<0)break;ot.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error(\"Invalid code point\")}return ot}function xe(Me){let pe=[];for(let ue=0;ue>8,rt=ue%256,ot.push(rt),ot.push(Oe);return ot}function Ue(Me){return H.toByteArray(ie(Me))}function Ie(Me,pe,ue,Oe){let rt;for(rt=0;rt=pe.length||rt>=Me.length);++rt)pe[rt+ue]=Me[rt];return rt}function Ye(Me,pe){return Me instanceof pe||Me!=null&&Me.constructor!=null&&Me.constructor.name!=null&&Me.constructor.name===pe.name}function it(Me){return Me!==Me}var at=function(){let Me=\"0123456789abcdef\",pe=new Array(256);for(let ue=0;ue<16;++ue){let Oe=ue*16;for(let rt=0;rt<16;++rt)pe[Oe+rt]=Me[ue]+Me[rt]}return pe}();function tt(Me){return typeof BigInt>\"u\"?ut:Me}function ut(){throw new Error(\"BigInt not supported\")}}}),ix=ke({\"node_modules/has-symbols/shams.js\"(Z,H){\"use strict\";H.exports=function(){if(typeof Symbol!=\"function\"||typeof Object.getOwnPropertySymbols!=\"function\")return!1;if(typeof Symbol.iterator==\"symbol\")return!0;var x={},A=Symbol(\"test\"),S=Object(A);if(typeof A==\"string\"||Object.prototype.toString.call(A)!==\"[object Symbol]\"||Object.prototype.toString.call(S)!==\"[object Symbol]\")return!1;var e=42;x[A]=e;for(A in x)return!1;if(typeof Object.keys==\"function\"&&Object.keys(x).length!==0||typeof Object.getOwnPropertyNames==\"function\"&&Object.getOwnPropertyNames(x).length!==0)return!1;var t=Object.getOwnPropertySymbols(x);if(t.length!==1||t[0]!==A||!Object.prototype.propertyIsEnumerable.call(x,A))return!1;if(typeof Object.getOwnPropertyDescriptor==\"function\"){var r=Object.getOwnPropertyDescriptor(x,A);if(r.value!==e||r.enumerable!==!0)return!1}return!0}}}),g0=ke({\"node_modules/has-tostringtag/shams.js\"(Z,H){\"use strict\";var g=ix();H.exports=function(){return g()&&!!Symbol.toStringTag}}}),Kk=ke({\"node_modules/es-errors/index.js\"(Z,H){\"use strict\";H.exports=Error}}),Jk=ke({\"node_modules/es-errors/eval.js\"(Z,H){\"use strict\";H.exports=EvalError}}),$k=ke({\"node_modules/es-errors/range.js\"(Z,H){\"use strict\";H.exports=RangeError}}),Qk=ke({\"node_modules/es-errors/ref.js\"(Z,H){\"use strict\";H.exports=ReferenceError}}),b3=ke({\"node_modules/es-errors/syntax.js\"(Z,H){\"use strict\";H.exports=SyntaxError}}),y0=ke({\"node_modules/es-errors/type.js\"(Z,H){\"use strict\";H.exports=TypeError}}),eL=ke({\"node_modules/es-errors/uri.js\"(Z,H){\"use strict\";H.exports=URIError}}),tL=ke({\"node_modules/has-symbols/index.js\"(Z,H){\"use strict\";var g=typeof Symbol<\"u\"&&Symbol,x=ix();H.exports=function(){return typeof g!=\"function\"||typeof Symbol!=\"function\"||typeof g(\"foo\")!=\"symbol\"||typeof Symbol(\"bar\")!=\"symbol\"?!1:x()}}}),rL=ke({\"node_modules/has-proto/index.js\"(Z,H){\"use strict\";var g={foo:{}},x=Object;H.exports=function(){return{__proto__:g}.foo===g.foo&&!({__proto__:null}instanceof x)}}}),nL=ke({\"node_modules/function-bind/implementation.js\"(Z,H){\"use strict\";var g=\"Function.prototype.bind called on incompatible \",x=Object.prototype.toString,A=Math.max,S=\"[object Function]\",e=function(n,i){for(var a=[],s=0;s\"u\"||!d?g:d(Uint8Array),_={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?g:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?g:ArrayBuffer,\"%ArrayIteratorPrototype%\":h&&d?d([][Symbol.iterator]()):g,\"%AsyncFromSyncIteratorPrototype%\":g,\"%AsyncFunction%\":T,\"%AsyncGenerator%\":T,\"%AsyncGeneratorFunction%\":T,\"%AsyncIteratorPrototype%\":T,\"%Atomics%\":typeof Atomics>\"u\"?g:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?g:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?g:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?g:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?g:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":x,\"%eval%\":eval,\"%EvalError%\":A,\"%Float32Array%\":typeof Float32Array>\"u\"?g:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?g:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?g:FinalizationRegistry,\"%Function%\":n,\"%GeneratorFunction%\":T,\"%Int8Array%\":typeof Int8Array>\"u\"?g:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?g:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?g:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":h&&d?d(d([][Symbol.iterator]())):g,\"%JSON%\":typeof JSON==\"object\"?JSON:g,\"%Map%\":typeof Map>\"u\"?g:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!h||!d?g:d(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?g:Promise,\"%Proxy%\":typeof Proxy>\"u\"?g:Proxy,\"%RangeError%\":S,\"%ReferenceError%\":e,\"%Reflect%\":typeof Reflect>\"u\"?g:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?g:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!h||!d?g:d(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?g:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":h&&d?d(\"\"[Symbol.iterator]()):g,\"%Symbol%\":h?Symbol:g,\"%SyntaxError%\":t,\"%ThrowTypeError%\":c,\"%TypedArray%\":l,\"%TypeError%\":r,\"%Uint8Array%\":typeof Uint8Array>\"u\"?g:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?g:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?g:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?g:Uint32Array,\"%URIError%\":o,\"%WeakMap%\":typeof WeakMap>\"u\"?g:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?g:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?g:WeakSet};if(d)try{null.error}catch(O){w=d(d(O)),_[\"%Error.prototype%\"]=w}var w,M=function O(I){var N;if(I===\"%AsyncFunction%\")N=i(\"async function () {}\");else if(I===\"%GeneratorFunction%\")N=i(\"function* () {}\");else if(I===\"%AsyncGeneratorFunction%\")N=i(\"async function* () {}\");else if(I===\"%AsyncGenerator%\"){var U=O(\"%AsyncGeneratorFunction%\");U&&(N=U.prototype)}else if(I===\"%AsyncIteratorPrototype%\"){var W=O(\"%AsyncGenerator%\");W&&d&&(N=d(W.prototype))}return _[I]=N,N},E={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},m=ax(),b=iL(),v=m.call(Function.call,Array.prototype.concat),u=m.call(Function.apply,Array.prototype.splice),y=m.call(Function.call,String.prototype.replace),f=m.call(Function.call,String.prototype.slice),P=m.call(Function.call,RegExp.prototype.exec),L=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,z=/\\\\(\\\\)?/g,F=function(I){var N=f(I,0,1),U=f(I,-1);if(N===\"%\"&&U!==\"%\")throw new t(\"invalid intrinsic syntax, expected closing `%`\");if(U===\"%\"&&N!==\"%\")throw new t(\"invalid intrinsic syntax, expected opening `%`\");var W=[];return y(I,L,function(Q,le,se,fe){W[W.length]=se?y(fe,z,\"$1\"):le||Q}),W},B=function(I,N){var U=I,W;if(b(E,U)&&(W=E[U],U=\"%\"+W[0]+\"%\"),b(_,U)){var Q=_[U];if(Q===T&&(Q=M(U)),typeof Q>\"u\"&&!N)throw new r(\"intrinsic \"+I+\" exists, but is not available. Please file an issue!\");return{alias:W,name:U,value:Q}}throw new t(\"intrinsic \"+I+\" does not exist!\")};H.exports=function(I,N){if(typeof I!=\"string\"||I.length===0)throw new r(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof N!=\"boolean\")throw new r('\"allowMissing\" argument must be a boolean');if(P(/^%?[^%]*%?$/,I)===null)throw new t(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var U=F(I),W=U.length>0?U[0]:\"\",Q=B(\"%\"+W+\"%\",N),le=Q.name,se=Q.value,fe=!1,G=Q.alias;G&&(W=G[0],u(U,v([0,1],G)));for(var $=1,J=!0;$=U.length){var j=a(se,X);J=!!j,J&&\"get\"in j&&!(\"originalValue\"in j.get)?se=j.get:se=se[X]}else J=b(se,X),se=se[X];J&&!fe&&(_[le]=se)}}return se}}}),ox=ke({\"node_modules/es-define-property/index.js\"(Z,H){\"use strict\";var g=iy(),x=g(\"%Object.defineProperty%\",!0)||!1;if(x)try{x({},\"a\",{value:1})}catch{x=!1}H.exports=x}}),_0=ke({\"node_modules/gopd/index.js\"(Z,H){\"use strict\";var g=iy(),x=g(\"%Object.getOwnPropertyDescriptor%\",!0);if(x)try{x([],\"length\")}catch{x=null}H.exports=x}}),aL=ke({\"node_modules/define-data-property/index.js\"(Z,H){\"use strict\";var g=ox(),x=b3(),A=y0(),S=_0();H.exports=function(t,r,o){if(!t||typeof t!=\"object\"&&typeof t!=\"function\")throw new A(\"`obj` must be an object or a function`\");if(typeof r!=\"string\"&&typeof r!=\"symbol\")throw new A(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new A(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new A(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new A(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new A(\"`loose`, if provided, must be a boolean\");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!S&&S(t,r);if(g)g(t,r,{configurable:a===null&&c?c.configurable:!a,enumerable:n===null&&c?c.enumerable:!n,value:o,writable:i===null&&c?c.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new x(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")}}}),w3=ke({\"node_modules/has-property-descriptors/index.js\"(Z,H){\"use strict\";var g=ox(),x=function(){return!!g};x.hasArrayLengthDefineBug=function(){if(!g)return null;try{return g([],\"length\",{value:1}).length!==1}catch{return!0}},H.exports=x}}),oL=ke({\"node_modules/set-function-length/index.js\"(Z,H){\"use strict\";var g=iy(),x=aL(),A=w3()(),S=_0(),e=y0(),t=g(\"%Math.floor%\");H.exports=function(o,n){if(typeof o!=\"function\")throw new e(\"`fn` is not a function\");if(typeof n!=\"number\"||n<0||n>4294967295||t(n)!==n)throw new e(\"`length` must be a positive 32-bit integer\");var i=arguments.length>2&&!!arguments[2],a=!0,s=!0;if(\"length\"in o&&S){var c=S(o,\"length\");c&&!c.configurable&&(a=!1),c&&!c.writable&&(s=!1)}return(a||s||!i)&&(A?x(o,\"length\",n,!0,!0):x(o,\"length\",n)),o}}}),x0=ke({\"node_modules/call-bind/index.js\"(Z,H){\"use strict\";var g=ax(),x=iy(),A=oL(),S=y0(),e=x(\"%Function.prototype.apply%\"),t=x(\"%Function.prototype.call%\"),r=x(\"%Reflect.apply%\",!0)||g.call(t,e),o=ox(),n=x(\"%Math.max%\");H.exports=function(s){if(typeof s!=\"function\")throw new S(\"a function is required\");var c=r(g,t,arguments);return A(c,1+n(0,s.length-(arguments.length-1)),!0)};var i=function(){return r(g,e,arguments)};o?o(H.exports,\"apply\",{value:i}):H.exports.apply=i}}),ay=ke({\"node_modules/call-bind/callBound.js\"(Z,H){\"use strict\";var g=iy(),x=x0(),A=x(g(\"String.prototype.indexOf\"));H.exports=function(e,t){var r=g(e,!!t);return typeof r==\"function\"&&A(e,\".prototype.\")>-1?x(r):r}}}),sL=ke({\"node_modules/is-arguments/index.js\"(Z,H){\"use strict\";var g=g0()(),x=ay(),A=x(\"Object.prototype.toString\"),S=function(o){return g&&o&&typeof o==\"object\"&&Symbol.toStringTag in o?!1:A(o)===\"[object Arguments]\"},e=function(o){return S(o)?!0:o!==null&&typeof o==\"object\"&&typeof o.length==\"number\"&&o.length>=0&&A(o)!==\"[object Array]\"&&A(o.callee)===\"[object Function]\"},t=function(){return S(arguments)}();S.isLegacyArguments=e,H.exports=t?S:e}}),lL=ke({\"node_modules/is-generator-function/index.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=Function.prototype.toString,A=/^\\s*(?:function)?\\*/,S=g0()(),e=Object.getPrototypeOf,t=function(){if(!S)return!1;try{return Function(\"return function*() {}\")()}catch{}},r;H.exports=function(n){if(typeof n!=\"function\")return!1;if(A.test(x.call(n)))return!0;if(!S){var i=g.call(n);return i===\"[object GeneratorFunction]\"}if(!e)return!1;if(typeof r>\"u\"){var a=t();r=a?e(a):!1}return e(n)===r}}}),uL=ke({\"node_modules/is-callable/index.js\"(Z,H){\"use strict\";var g=Function.prototype.toString,x=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,A,S;if(typeof x==\"function\"&&typeof Object.defineProperty==\"function\")try{A=Object.defineProperty({},\"length\",{get:function(){throw S}}),S={},x(function(){throw 42},null,A)}catch(_){_!==S&&(x=null)}else x=null;var e=/^\\s*class\\b/,t=function(w){try{var M=g.call(w);return e.test(M)}catch{return!1}},r=function(w){try{return t(w)?!1:(g.call(w),!0)}catch{return!1}},o=Object.prototype.toString,n=\"[object Object]\",i=\"[object Function]\",a=\"[object GeneratorFunction]\",s=\"[object HTMLAllCollection]\",c=\"[object HTML document.all class]\",h=\"[object HTMLCollection]\",p=typeof Symbol==\"function\"&&!!Symbol.toStringTag,d=!(0 in[,]),T=function(){return!1};typeof document==\"object\"&&(l=document.all,o.call(l)===o.call(document.all)&&(T=function(w){if((d||!w)&&(typeof w>\"u\"||typeof w==\"object\"))try{var M=o.call(w);return(M===s||M===c||M===h||M===n)&&w(\"\")==null}catch{}return!1}));var l;H.exports=x?function(w){if(T(w))return!0;if(!w||typeof w!=\"function\"&&typeof w!=\"object\")return!1;try{x(w,null,A)}catch(M){if(M!==S)return!1}return!t(w)&&r(w)}:function(w){if(T(w))return!0;if(!w||typeof w!=\"function\"&&typeof w!=\"object\")return!1;if(p)return r(w);if(t(w))return!1;var M=o.call(w);return M!==i&&M!==a&&!/^\\[object HTML/.test(M)?!1:r(w)}}}),T3=ke({\"node_modules/for-each/index.js\"(Z,H){\"use strict\";var g=uL(),x=Object.prototype.toString,A=Object.prototype.hasOwnProperty,S=function(n,i,a){for(var s=0,c=n.length;s=3&&(s=a),x.call(n)===\"[object Array]\"?S(n,i,s):typeof n==\"string\"?e(n,i,s):t(n,i,s)};H.exports=r}}),A3=ke({\"node_modules/available-typed-arrays/index.js\"(Z,H){\"use strict\";var g=[\"BigInt64Array\",\"BigUint64Array\",\"Float32Array\",\"Float64Array\",\"Int16Array\",\"Int32Array\",\"Int8Array\",\"Uint16Array\",\"Uint32Array\",\"Uint8Array\",\"Uint8ClampedArray\"],x=typeof globalThis>\"u\"?window:globalThis;H.exports=function(){for(var S=[],e=0;e\"u\"?window:globalThis,n=x(),i=S(\"String.prototype.slice\"),a=Object.getPrototypeOf,s=S(\"Array.prototype.indexOf\",!0)||function(T,l){for(var _=0;_-1?l:l!==\"Object\"?!1:p(T)}return e?h(T):null}}}),fL=ke({\"node_modules/is-typed-array/index.js\"(Z,H){\"use strict\";var g=T3(),x=A3(),A=ay(),S=A(\"Object.prototype.toString\"),e=g0()(),t=_0(),r=typeof globalThis>\"u\"?window:globalThis,o=x(),n=A(\"Array.prototype.indexOf\",!0)||function(p,d){for(var T=0;T-1}return t?c(p):!1}}}),M3=ke({\"node_modules/util/support/types.js\"(Z){\"use strict\";var H=sL(),g=lL(),x=cL(),A=fL();function S(Te){return Te.call.bind(Te)}var e=typeof BigInt<\"u\",t=typeof Symbol<\"u\",r=S(Object.prototype.toString),o=S(Number.prototype.valueOf),n=S(String.prototype.valueOf),i=S(Boolean.prototype.valueOf);e&&(a=S(BigInt.prototype.valueOf));var a;t&&(s=S(Symbol.prototype.valueOf));var s;function c(Te,Ue){if(typeof Te!=\"object\")return!1;try{return Ue(Te),!0}catch{return!1}}Z.isArgumentsObject=H,Z.isGeneratorFunction=g,Z.isTypedArray=A;function h(Te){return typeof Promise<\"u\"&&Te instanceof Promise||Te!==null&&typeof Te==\"object\"&&typeof Te.then==\"function\"&&typeof Te.catch==\"function\"}Z.isPromise=h;function p(Te){return typeof ArrayBuffer<\"u\"&&ArrayBuffer.isView?ArrayBuffer.isView(Te):A(Te)||W(Te)}Z.isArrayBufferView=p;function d(Te){return x(Te)===\"Uint8Array\"}Z.isUint8Array=d;function T(Te){return x(Te)===\"Uint8ClampedArray\"}Z.isUint8ClampedArray=T;function l(Te){return x(Te)===\"Uint16Array\"}Z.isUint16Array=l;function _(Te){return x(Te)===\"Uint32Array\"}Z.isUint32Array=_;function w(Te){return x(Te)===\"Int8Array\"}Z.isInt8Array=w;function M(Te){return x(Te)===\"Int16Array\"}Z.isInt16Array=M;function E(Te){return x(Te)===\"Int32Array\"}Z.isInt32Array=E;function m(Te){return x(Te)===\"Float32Array\"}Z.isFloat32Array=m;function b(Te){return x(Te)===\"Float64Array\"}Z.isFloat64Array=b;function v(Te){return x(Te)===\"BigInt64Array\"}Z.isBigInt64Array=v;function u(Te){return x(Te)===\"BigUint64Array\"}Z.isBigUint64Array=u;function y(Te){return r(Te)===\"[object Map]\"}y.working=typeof Map<\"u\"&&y(new Map);function f(Te){return typeof Map>\"u\"?!1:y.working?y(Te):Te instanceof Map}Z.isMap=f;function P(Te){return r(Te)===\"[object Set]\"}P.working=typeof Set<\"u\"&&P(new Set);function L(Te){return typeof Set>\"u\"?!1:P.working?P(Te):Te instanceof Set}Z.isSet=L;function z(Te){return r(Te)===\"[object WeakMap]\"}z.working=typeof WeakMap<\"u\"&&z(new WeakMap);function F(Te){return typeof WeakMap>\"u\"?!1:z.working?z(Te):Te instanceof WeakMap}Z.isWeakMap=F;function B(Te){return r(Te)===\"[object WeakSet]\"}B.working=typeof WeakSet<\"u\"&&B(new WeakSet);function O(Te){return B(Te)}Z.isWeakSet=O;function I(Te){return r(Te)===\"[object ArrayBuffer]\"}I.working=typeof ArrayBuffer<\"u\"&&I(new ArrayBuffer);function N(Te){return typeof ArrayBuffer>\"u\"?!1:I.working?I(Te):Te instanceof ArrayBuffer}Z.isArrayBuffer=N;function U(Te){return r(Te)===\"[object DataView]\"}U.working=typeof ArrayBuffer<\"u\"&&typeof DataView<\"u\"&&U(new DataView(new ArrayBuffer(1),0,1));function W(Te){return typeof DataView>\"u\"?!1:U.working?U(Te):Te instanceof DataView}Z.isDataView=W;var Q=typeof SharedArrayBuffer<\"u\"?SharedArrayBuffer:void 0;function le(Te){return r(Te)===\"[object SharedArrayBuffer]\"}function se(Te){return typeof Q>\"u\"?!1:(typeof le.working>\"u\"&&(le.working=le(new Q)),le.working?le(Te):Te instanceof Q)}Z.isSharedArrayBuffer=se;function fe(Te){return r(Te)===\"[object AsyncFunction]\"}Z.isAsyncFunction=fe;function G(Te){return r(Te)===\"[object Map Iterator]\"}Z.isMapIterator=G;function $(Te){return r(Te)===\"[object Set Iterator]\"}Z.isSetIterator=$;function J(Te){return r(Te)===\"[object Generator]\"}Z.isGeneratorObject=J;function X(Te){return r(Te)===\"[object WebAssembly.Module]\"}Z.isWebAssemblyCompiledModule=X;function re(Te){return c(Te,o)}Z.isNumberObject=re;function ae(Te){return c(Te,n)}Z.isStringObject=ae;function j(Te){return c(Te,i)}Z.isBooleanObject=j;function ee(Te){return e&&c(Te,a)}Z.isBigIntObject=ee;function ie(Te){return t&&c(Te,s)}Z.isSymbolObject=ie;function ce(Te){return re(Te)||ae(Te)||j(Te)||ee(Te)||ie(Te)}Z.isBoxedPrimitive=ce;function xe(Te){return typeof Uint8Array<\"u\"&&(N(Te)||se(Te))}Z.isAnyArrayBuffer=xe,[\"isProxy\",\"isExternal\",\"isModuleNamespaceObject\"].forEach(function(Te){Object.defineProperty(Z,Te,{enumerable:!1,value:function(){throw new Error(Te+\" is not supported in userland\")}})})}}),S3=ke({\"node_modules/util/support/isBufferBrowser.js\"(Z,H){H.exports=function(x){return x&&typeof x==\"object\"&&typeof x.copy==\"function\"&&typeof x.fill==\"function\"&&typeof x.readUInt8==\"function\"}}}),E3=ke({\"(disabled):node_modules/util/util.js\"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case\"%s\":return String(le[Q++]);case\"%d\":return Number(le[Q++]);case\"%j\":try{return JSON.stringify(le[Q++])}catch{return\"[Circular]\"}default:return $}}),G=le[Q];Q\"u\")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S=\"false\",S=S.replace(/[|\\\\{}()[\\]^$+?.]/g,\"\\\\$&\").replace(/\\*/g,\".*\").replace(/,/g,\"$|^\").toUpperCase(),A=new RegExp(\"^\"+S+\"$\",\"i\");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error(\"%s %d: %s\",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"};function t(U,W){var Q=e.styles[W];return Q?\"\\x1B[\"+e.colors[Q][0]+\"m\"+U+\"\\x1B[\"+e.colors[Q][1]+\"m\":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf(\"message\")>=0||fe.indexOf(\"description\")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?\": \"+W.name:\"\";return U.stylize(\"[Function\"+$+\"]\",\"special\")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),\"regexp\");if(v(W))return U.stylize(Date.prototype.toString.call(W),\"date\");if(u(W))return a(W)}var J=\"\",X=!1,re=[\"{\",\"}\"];if(p(W)&&(X=!0,re=[\"[\",\"]\"]),y(W)){var ae=W.name?\": \"+W.name:\"\";J=\" [Function\"+ae+\"]\"}if(m(W)&&(J=\" \"+RegExp.prototype.toString.call(W)),v(W)&&(J=\" \"+Date.prototype.toUTCString.call(W)),u(W)&&(J=\" \"+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),\"regexp\"):U.stylize(\"[Object]\",\"special\");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize(\"undefined\",\"undefined\");if(w(W)){var Q=\"'\"+JSON.stringify(W).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return U.stylize(Q,\"string\")}if(_(W))return U.stylize(\"\"+W,\"number\");if(d(W))return U.stylize(\"\"+W,\"boolean\");if(T(W))return U.stylize(\"null\",\"null\")}function a(U){return\"[\"+Error.prototype.toString.call(U)+\"]\"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push(\"\");return se.forEach(function(J){J.match(/^\\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize(\"[Getter/Setter]\",\"special\"):$=U.stylize(\"[Getter]\",\"special\"):J.set&&($=U.stylize(\"[Setter]\",\"special\")),B(le,se)||(G=\"[\"+se+\"]\"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(`\n`)>-1&&(fe?$=$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`).slice(2):$=`\n`+$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`))):$=U.stylize(\"[Circular]\",\"special\")),E(G)){if(fe&&se.match(/^\\d+$/))return $;G=JSON.stringify(\"\"+se),G.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(G=G.slice(1,-1),G=U.stylize(G,\"name\")):(G=G.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),G=U.stylize(G,\"string\"))}return G+\": \"+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(`\n`)>=0&&le++,fe+G.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0);return se>60?Q[0]+(W===\"\"?\"\":W+`\n `)+\" \"+U.join(`,\n `)+\" \"+Q[1]:Q[0]+W+\" \"+U.join(\", \")+\" \"+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U==\"boolean\"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U==\"number\"}Z.isNumber=_;function w(U){return typeof U==\"string\"}Z.isString=w;function M(U){return typeof U==\"symbol\"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)===\"[object RegExp]\"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U==\"object\"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)===\"[object Date]\"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)===\"[object Error]\"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U==\"function\"}Z.isFunction=y;function f(U){return U===null||typeof U==\"boolean\"||typeof U==\"number\"||typeof U==\"string\"||typeof U==\"symbol\"||typeof U>\"u\"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?\"0\"+U.toString(10):U.toString(10)}var z=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(\":\");return[U.getDate(),z[U.getMonth()],W].join(\" \")}Z.log=function(){console.log(\"%s - %s\",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<\"u\"?Symbol(\"util.promisify.custom\"):void 0;Z.promisify=function(W){if(typeof W!=\"function\")throw new TypeError('The \"original\" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!=\"function\")throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$0?this.tail.next=d:this.head=d,this.tail=d,++this.length}},{key:\"unshift\",value:function(p){var d={data:p,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length}},{key:\"shift\",value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:\"clear\",value:function(){this.head=this.tail=null,this.length=0}},{key:\"join\",value:function(p){if(this.length===0)return\"\";for(var d=this.head,T=\"\"+d.data;d=d.next;)T+=p+d.data;return T}},{key:\"concat\",value:function(p){if(this.length===0)return o.alloc(0);for(var d=o.allocUnsafe(p>>>0),T=this.head,l=0;T;)s(T.data,d,l),l+=T.data.length,T=T.next;return d}},{key:\"consume\",value:function(p,d){var T;return p_.length?_.length:p;if(w===_.length?l+=_:l+=_.slice(0,p),p-=w,p===0){w===_.length?(++T,d.next?this.head=d.next:this.head=this.tail=null):(this.head=d,d.data=_.slice(w));break}++T}return this.length-=T,l}},{key:\"_getBuffer\",value:function(p){var d=o.allocUnsafe(p),T=this.head,l=1;for(T.data.copy(d),p-=T.data.length;T=T.next;){var _=T.data,w=p>_.length?_.length:p;if(_.copy(d,d.length-p,0,w),p-=w,p===0){w===_.length?(++l,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=_.slice(w));break}++l}return this.length-=l,d}},{key:a,value:function(p,d){return i(this,x({},d,{depth:0,customInspect:!1}))}}]),c}()}}),C3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js\"(Z,H){\"use strict\";function g(r,o){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(e,this,r)):process.nextTick(e,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(s){!o&&s?n._writableState?n._writableState.errorEmitted?process.nextTick(A,n):(n._writableState.errorEmitted=!0,process.nextTick(x,n,s)):process.nextTick(x,n,s):o?(process.nextTick(A,n),o(s)):process.nextTick(A,n)}),this)}function x(r,o){e(r,o),A(r)}function A(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit(\"close\")}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function e(r,o){r.emit(\"error\",o)}function t(r,o){var n=r._readableState,i=r._writableState;n&&n.autoDestroy||i&&i.autoDestroy?r.destroy(o):r.emit(\"error\",o)}H.exports={destroy:g,undestroy:S,errorOrDestroy:t}}}),Um=ke({\"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js\"(Z,H){\"use strict\";function g(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var x={};function A(o,n,i){i||(i=Error);function a(c,h,p){return typeof n==\"string\"?n:n(c,h,p)}var s=function(c){g(h,c);function h(p,d,T){return c.call(this,a(p,d,T))||this}return h}(i);s.prototype.name=i.name,s.prototype.code=o,x[o]=s}function S(o,n){if(Array.isArray(o)){var i=o.length;return o=o.map(function(a){return String(a)}),i>2?\"one of \".concat(n,\" \").concat(o.slice(0,i-1).join(\", \"),\", or \")+o[i-1]:i===2?\"one of \".concat(n,\" \").concat(o[0],\" or \").concat(o[1]):\"of \".concat(n,\" \").concat(o[0])}else return\"of \".concat(n,\" \").concat(String(o))}function e(o,n,i){return o.substr(!i||i<0?0:+i,n.length)===n}function t(o,n,i){return(i===void 0||i>o.length)&&(i=o.length),o.substring(i-n.length,i)===n}function r(o,n,i){return typeof i!=\"number\"&&(i=0),i+n.length>o.length?!1:o.indexOf(n,i)!==-1}A(\"ERR_INVALID_OPT_VALUE\",function(o,n){return'The value \"'+n+'\" is invalid for option \"'+o+'\"'},TypeError),A(\"ERR_INVALID_ARG_TYPE\",function(o,n,i){var a;typeof n==\"string\"&&e(n,\"not \")?(a=\"must not be\",n=n.replace(/^not /,\"\")):a=\"must be\";var s;if(t(o,\" argument\"))s=\"The \".concat(o,\" \").concat(a,\" \").concat(S(n,\"type\"));else{var c=r(o,\".\")?\"property\":\"argument\";s='The \"'.concat(o,'\" ').concat(c,\" \").concat(a,\" \").concat(S(n,\"type\"))}return s+=\". Received type \".concat(typeof i),s},TypeError),A(\"ERR_STREAM_PUSH_AFTER_EOF\",\"stream.push() after EOF\"),A(\"ERR_METHOD_NOT_IMPLEMENTED\",function(o){return\"The \"+o+\" method is not implemented\"}),A(\"ERR_STREAM_PREMATURE_CLOSE\",\"Premature close\"),A(\"ERR_STREAM_DESTROYED\",function(o){return\"Cannot call \"+o+\" after a stream was destroyed\"}),A(\"ERR_MULTIPLE_CALLBACK\",\"Callback called multiple times\"),A(\"ERR_STREAM_CANNOT_PIPE\",\"Cannot pipe, not readable\"),A(\"ERR_STREAM_WRITE_AFTER_END\",\"write after end\"),A(\"ERR_STREAM_NULL_VALUES\",\"May not write null values to stream\",TypeError),A(\"ERR_UNKNOWN_ENCODING\",function(o){return\"Unknown encoding: \"+o},TypeError),A(\"ERR_STREAM_UNSHIFT_AFTER_END_EVENT\",\"stream.unshift() after end event\"),H.exports.codes=x}}),k3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js\"(Z,H){\"use strict\";var g=Um().codes.ERR_INVALID_OPT_VALUE;function x(S,e,t){return S.highWaterMark!=null?S.highWaterMark:e?S[t]:null}function A(S,e,t,r){var o=x(e,r,t);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var n=r?t:\"highWaterMark\";throw new g(n,o)}return Math.floor(o)}return S.objectMode?16:16*1024}H.exports={getHighWaterMark:A}}}),dL=ke({\"node_modules/util-deprecate/browser.js\"(Z,H){H.exports=g;function g(A,S){if(x(\"noDeprecation\"))return A;var e=!1;function t(){if(!e){if(x(\"throwDeprecation\"))throw new Error(S);x(\"traceDeprecation\")?console.trace(S):console.warn(S),e=!0}return A.apply(this,arguments)}return t}function x(A){try{if(!window.localStorage)return!1}catch{return!1}var S=window.localStorage[A];return S==null?!1:String(S).toLowerCase()===\"true\"}}}),L3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js\"(Z,H){\"use strict\";H.exports=v;function g(G){var $=this;this.next=null,this.entry=null,this.finish=function(){fe($,G)}}var x;v.WritableState=m;var A={deprecate:dL()},S=x3(),e=Nm().Buffer,t=window.Uint8Array||function(){};function r(G){return e.from(G)}function o(G){return e.isBuffer(G)||G instanceof t}var n=C3(),i=k3(),a=i.getHighWaterMark,s=Um().codes,c=s.ERR_INVALID_ARG_TYPE,h=s.ERR_METHOD_NOT_IMPLEMENTED,p=s.ERR_MULTIPLE_CALLBACK,d=s.ERR_STREAM_CANNOT_PIPE,T=s.ERR_STREAM_DESTROYED,l=s.ERR_STREAM_NULL_VALUES,_=s.ERR_STREAM_WRITE_AFTER_END,w=s.ERR_UNKNOWN_ENCODING,M=n.errorOrDestroy;$v()(v,S);function E(){}function m(G,$,J){x=x||jm(),G=G||{},typeof J!=\"boolean\"&&(J=$ instanceof x),this.objectMode=!!G.objectMode,J&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=a(this,G,\"writableHighWaterMark\",J),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=G.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=G.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(re){B($,re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=G.emitClose!==!1,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}m.prototype.getBuffer=function(){for(var $=this.bufferedRequest,J=[];$;)J.push($),$=$.next;return J},function(){try{Object.defineProperty(m.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch{}}();var b;typeof Symbol==\"function\"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==\"function\"?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function($){return b.call(this,$)?!0:this!==v?!1:$&&$._writableState instanceof m}})):b=function($){return $ instanceof this};function v(G){x=x||jm();var $=this instanceof x;if(!$&&!b.call(v,this))return new v(G);this._writableState=new m(G,this,$),this.writable=!0,G&&(typeof G.write==\"function\"&&(this._write=G.write),typeof G.writev==\"function\"&&(this._writev=G.writev),typeof G.destroy==\"function\"&&(this._destroy=G.destroy),typeof G.final==\"function\"&&(this._final=G.final)),S.call(this)}v.prototype.pipe=function(){M(this,new d)};function u(G,$){var J=new _;M(G,J),process.nextTick($,J)}function y(G,$,J,X){var re;return J===null?re=new l:typeof J!=\"string\"&&!$.objectMode&&(re=new c(\"chunk\",[\"string\",\"Buffer\"],J)),re?(M(G,re),process.nextTick(X,re),!1):!0}v.prototype.write=function(G,$,J){var X=this._writableState,re=!1,ae=!X.objectMode&&o(G);return ae&&!e.isBuffer(G)&&(G=r(G)),typeof $==\"function\"&&(J=$,$=null),ae?$=\"buffer\":$||($=X.defaultEncoding),typeof J!=\"function\"&&(J=E),X.ending?u(this,J):(ae||y(this,X,G,J))&&(X.pendingcb++,re=P(this,X,ae,G,$,J)),re},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&N(this,G))},v.prototype.setDefaultEncoding=function($){if(typeof $==\"string\"&&($=$.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf(($+\"\").toLowerCase())>-1))throw new w($);return this._writableState.defaultEncoding=$,this},Object.defineProperty(v.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function f(G,$,J){return!G.objectMode&&G.decodeStrings!==!1&&typeof $==\"string\"&&($=e.from($,J)),$}Object.defineProperty(v.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(G,$,J,X,re,ae){if(!J){var j=f($,X,re);X!==j&&(J=!0,re=\"buffer\",X=j)}var ee=$.objectMode?1:X.length;$.length+=ee;var ie=$.length<$.highWaterMark;if(ie||($.needDrain=!0),$.writing||$.corked){var ce=$.lastBufferedRequest;$.lastBufferedRequest={chunk:X,encoding:re,isBuf:J,callback:ae,next:null},ce?ce.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else L(G,$,!1,ee,X,re,ae);return ie}function L(G,$,J,X,re,ae,j){$.writelen=X,$.writecb=j,$.writing=!0,$.sync=!0,$.destroyed?$.onwrite(new T(\"write\")):J?G._writev(re,$.onwrite):G._write(re,ae,$.onwrite),$.sync=!1}function z(G,$,J,X,re){--$.pendingcb,J?(process.nextTick(re,X),process.nextTick(le,G,$),G._writableState.errorEmitted=!0,M(G,X)):(re(X),G._writableState.errorEmitted=!0,M(G,X),le(G,$))}function F(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}function B(G,$){var J=G._writableState,X=J.sync,re=J.writecb;if(typeof re!=\"function\")throw new p;if(F(J),$)z(G,J,X,$,re);else{var ae=U(J)||G.destroyed;!ae&&!J.corked&&!J.bufferProcessing&&J.bufferedRequest&&N(G,J),X?process.nextTick(O,G,J,ae,re):O(G,J,ae,re)}}function O(G,$,J,X){J||I(G,$),$.pendingcb--,X(),le(G,$)}function I(G,$){$.length===0&&$.needDrain&&($.needDrain=!1,G.emit(\"drain\"))}function N(G,$){$.bufferProcessing=!0;var J=$.bufferedRequest;if(G._writev&&J&&J.next){var X=$.bufferedRequestCount,re=new Array(X),ae=$.corkedRequestsFree;ae.entry=J;for(var j=0,ee=!0;J;)re[j]=J,J.isBuf||(ee=!1),J=J.next,j+=1;re.allBuffers=ee,L(G,$,!0,$.length,re,\"\",ae.finish),$.pendingcb++,$.lastBufferedRequest=null,ae.next?($.corkedRequestsFree=ae.next,ae.next=null):$.corkedRequestsFree=new g($),$.bufferedRequestCount=0}else{for(;J;){var ie=J.chunk,ce=J.encoding,xe=J.callback,Te=$.objectMode?1:ie.length;if(L(G,$,!1,Te,ie,ce,xe),J=J.next,$.bufferedRequestCount--,$.writing)break}J===null&&($.lastBufferedRequest=null)}$.bufferedRequest=J,$.bufferProcessing=!1}v.prototype._write=function(G,$,J){J(new h(\"_write()\"))},v.prototype._writev=null,v.prototype.end=function(G,$,J){var X=this._writableState;return typeof G==\"function\"?(J=G,G=null,$=null):typeof $==\"function\"&&(J=$,$=null),G!=null&&this.write(G,$),X.corked&&(X.corked=1,this.uncork()),X.ending||se(this,X,J),this},Object.defineProperty(v.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}});function U(G){return G.ending&&G.length===0&&G.bufferedRequest===null&&!G.finished&&!G.writing}function W(G,$){G._final(function(J){$.pendingcb--,J&&M(G,J),$.prefinished=!0,G.emit(\"prefinish\"),le(G,$)})}function Q(G,$){!$.prefinished&&!$.finalCalled&&(typeof G._final==\"function\"&&!$.destroyed?($.pendingcb++,$.finalCalled=!0,process.nextTick(W,G,$)):($.prefinished=!0,G.emit(\"prefinish\")))}function le(G,$){var J=U($);if(J&&(Q(G,$),$.pendingcb===0&&($.finished=!0,G.emit(\"finish\"),$.autoDestroy))){var X=G._readableState;(!X||X.autoDestroy&&X.endEmitted)&&G.destroy()}return J}function se(G,$,J){$.ending=!0,le(G,$),J&&($.finished?process.nextTick(J):G.once(\"finish\",J)),$.ended=!0,G.writable=!1}function fe(G,$,J){var X=G.entry;for(G.entry=null;X;){var re=X.callback;$.pendingcb--,re(J),X=X.next}$.corkedRequestsFree.next=G}Object.defineProperty(v.prototype,\"destroyed\",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),v.prototype.destroy=n.destroy,v.prototype._undestroy=n.undestroy,v.prototype._destroy=function(G,$){$(G)}}}),jm=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js\"(Z,H){\"use strict\";var g=Object.keys||function(i){var a=[];for(var s in i)a.push(s);return a};H.exports=r;var x=I3(),A=L3();for($v()(r,x),S=g(A.prototype),t=0;t>5===6?2:T>>4===14?3:T>>3===30?4:T>>6===2?-1:-2}function t(T,l,_){var w=l.length-1;if(w<_)return 0;var M=e(l[w]);return M>=0?(M>0&&(T.lastNeed=M-1),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(T.lastNeed=M-2),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(M===2?M=0:T.lastNeed=M-3),M):0))}function r(T,l,_){if((l[0]&192)!==128)return T.lastNeed=0,\"\\uFFFD\";if(T.lastNeed>1&&l.length>1){if((l[1]&192)!==128)return T.lastNeed=1,\"\\uFFFD\";if(T.lastNeed>2&&l.length>2&&(l[2]&192)!==128)return T.lastNeed=2,\"\\uFFFD\"}}function o(T){var l=this.lastTotal-this.lastNeed,_=r(this,T,l);if(_!==void 0)return _;if(this.lastNeed<=T.length)return T.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);T.copy(this.lastChar,l,0,T.length),this.lastNeed-=T.length}function n(T,l){var _=t(this,T,l);if(!this.lastNeed)return T.toString(\"utf8\",l);this.lastTotal=_;var w=T.length-(_-this.lastNeed);return T.copy(this.lastChar,0,w),T.toString(\"utf8\",l,w)}function i(T){var l=T&&T.length?this.write(T):\"\";return this.lastNeed?l+\"\\uFFFD\":l}function a(T,l){if((T.length-l)%2===0){var _=T.toString(\"utf16le\",l);if(_){var w=_.charCodeAt(_.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=T[T.length-1],T.toString(\"utf16le\",l,T.length-1)}function s(T){var l=T&&T.length?this.write(T):\"\";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return l+this.lastChar.toString(\"utf16le\",0,_)}return l}function c(T,l){var _=(T.length-l)%3;return _===0?T.toString(\"base64\",l):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=T[T.length-1]:(this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1]),T.toString(\"base64\",l,T.length-_))}function h(T){var l=T&&T.length?this.write(T):\"\";return this.lastNeed?l+this.lastChar.toString(\"base64\",0,3-this.lastNeed):l}function p(T){return T.toString(this.encoding)}function d(T){return T&&T.length?this.write(T):\"\"}}}),sx=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js\"(Z,H){\"use strict\";var g=Um().codes.ERR_STREAM_PREMATURE_CLOSE;function x(t){var r=!1;return function(){if(!r){r=!0;for(var o=arguments.length,n=new Array(o),i=0;i0)if(typeof ee!=\"string\"&&!Te.objectMode&&Object.getPrototypeOf(ee)!==e.prototype&&(ee=r(ee)),ce)Te.endEmitted?m(j,new _):P(j,Te,ee,!0);else if(Te.ended)m(j,new T);else{if(Te.destroyed)return!1;Te.reading=!1,Te.decoder&&!ie?(ee=Te.decoder.write(ee),Te.objectMode||ee.length!==0?P(j,Te,ee,!1):U(j,Te)):P(j,Te,ee,!1)}else ce||(Te.reading=!1,U(j,Te))}return!Te.ended&&(Te.length=z?j=z:(j--,j|=j>>>1,j|=j>>>2,j|=j>>>4,j|=j>>>8,j|=j>>>16,j++),j}function B(j,ee){return j<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:j!==j?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(j>ee.highWaterMark&&(ee.highWaterMark=F(j)),j<=ee.length?j:ee.ended?ee.length:(ee.needReadable=!0,0))}y.prototype.read=function(j){i(\"read\",j),j=parseInt(j,10);var ee=this._readableState,ie=j;if(j!==0&&(ee.emittedReadable=!1),j===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return i(\"read: emitReadable\",ee.length,ee.ended),ee.length===0&&ee.ended?X(this):I(this),null;if(j=B(j,ee),j===0&&ee.ended)return ee.length===0&&X(this),null;var ce=ee.needReadable;i(\"need readable\",ce),(ee.length===0||ee.length-j0?xe=J(j,ee):xe=null,xe===null?(ee.needReadable=ee.length<=ee.highWaterMark,j=0):(ee.length-=j,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),ie!==j&&ee.ended&&X(this)),xe!==null&&this.emit(\"data\",xe),xe};function O(j,ee){if(i(\"onEofChunk\"),!ee.ended){if(ee.decoder){var ie=ee.decoder.end();ie&&ie.length&&(ee.buffer.push(ie),ee.length+=ee.objectMode?1:ie.length)}ee.ended=!0,ee.sync?I(j):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,N(j)))}}function I(j){var ee=j._readableState;i(\"emitReadable\",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(i(\"emitReadable\",ee.flowing),ee.emittedReadable=!0,process.nextTick(N,j))}function N(j){var ee=j._readableState;i(\"emitReadable_\",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(j.emit(\"readable\"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,$(j)}function U(j,ee){ee.readingMore||(ee.readingMore=!0,process.nextTick(W,j,ee))}function W(j,ee){for(;!ee.reading&&!ee.ended&&(ee.length1&&ae(ce.pipes,j)!==-1)&&!it&&(i(\"false write response, pause\",ce.awaitDrain),ce.awaitDrain++),ie.pause())}function ut(Oe){i(\"onerror\",Oe),ue(),j.removeListener(\"error\",ut),A(j,\"error\")===0&&m(j,Oe)}v(j,\"error\",ut);function Me(){j.removeListener(\"finish\",pe),ue()}j.once(\"close\",Me);function pe(){i(\"onfinish\"),j.removeListener(\"close\",Me),ue()}j.once(\"finish\",pe);function ue(){i(\"unpipe\"),ie.unpipe(j)}return j.emit(\"pipe\",ie),ce.flowing||(i(\"pipe resume\"),ie.resume()),j};function Q(j){return function(){var ie=j._readableState;i(\"pipeOnDrain\",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&A(j,\"data\")&&(ie.flowing=!0,$(j))}}y.prototype.unpipe=function(j){var ee=this._readableState,ie={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return j&&j!==ee.pipes?this:(j||(j=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,j&&j.emit(\"unpipe\",this,ie),this);if(!j){var ce=ee.pipes,xe=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var Te=0;Te0,ce.flowing!==!1&&this.resume()):j===\"readable\"&&!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.flowing=!1,ce.emittedReadable=!1,i(\"on readable\",ce.length,ce.reading),ce.length?I(this):ce.reading||process.nextTick(se,this)),ie},y.prototype.addListener=y.prototype.on,y.prototype.removeListener=function(j,ee){var ie=S.prototype.removeListener.call(this,j,ee);return j===\"readable\"&&process.nextTick(le,this),ie},y.prototype.removeAllListeners=function(j){var ee=S.prototype.removeAllListeners.apply(this,arguments);return(j===\"readable\"||j===void 0)&&process.nextTick(le,this),ee};function le(j){var ee=j._readableState;ee.readableListening=j.listenerCount(\"readable\")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:j.listenerCount(\"data\")>0&&j.resume()}function se(j){i(\"readable nexttick read 0\"),j.read(0)}y.prototype.resume=function(){var j=this._readableState;return j.flowing||(i(\"resume\"),j.flowing=!j.readableListening,fe(this,j)),j.paused=!1,this};function fe(j,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,process.nextTick(G,j,ee))}function G(j,ee){i(\"resume\",ee.reading),ee.reading||j.read(0),ee.resumeScheduled=!1,j.emit(\"resume\"),$(j),ee.flowing&&!ee.reading&&j.read(0)}y.prototype.pause=function(){return i(\"call pause flowing=%j\",this._readableState.flowing),this._readableState.flowing!==!1&&(i(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this._readableState.paused=!0,this};function $(j){var ee=j._readableState;for(i(\"flow\",ee.flowing);ee.flowing&&j.read()!==null;);}y.prototype.wrap=function(j){var ee=this,ie=this._readableState,ce=!1;j.on(\"end\",function(){if(i(\"wrapped end\"),ie.decoder&&!ie.ended){var Ue=ie.decoder.end();Ue&&Ue.length&&ee.push(Ue)}ee.push(null)}),j.on(\"data\",function(Ue){if(i(\"wrapped data\"),ie.decoder&&(Ue=ie.decoder.write(Ue)),!(ie.objectMode&&Ue==null)&&!(!ie.objectMode&&(!Ue||!Ue.length))){var Ie=ee.push(Ue);Ie||(ce=!0,j.pause())}});for(var xe in j)this[xe]===void 0&&typeof j[xe]==\"function\"&&(this[xe]=function(Ie){return function(){return j[Ie].apply(j,arguments)}}(xe));for(var Te=0;Te=ee.length?(ee.decoder?ie=ee.buffer.join(\"\"):ee.buffer.length===1?ie=ee.buffer.first():ie=ee.buffer.concat(ee.length),ee.buffer.clear()):ie=ee.buffer.consume(j,ee.decoder),ie}function X(j){var ee=j._readableState;i(\"endReadable\",ee.endEmitted),ee.endEmitted||(ee.ended=!0,process.nextTick(re,ee,j))}function re(j,ee){if(i(\"endReadableNT\",j.endEmitted,j.length),!j.endEmitted&&j.length===0&&(j.endEmitted=!0,ee.readable=!1,ee.emit(\"end\"),j.autoDestroy)){var ie=ee._writableState;(!ie||ie.autoDestroy&&ie.finished)&&ee.destroy()}}typeof Symbol==\"function\"&&(y.from=function(j,ee){return E===void 0&&(E=mL()),E(y,j,ee)});function ae(j,ee){for(var ie=0,ce=j.length;ie0;return o(_,M,E,function(m){T||(T=m),m&&l.forEach(n),!M&&(l.forEach(n),d(T))})});return h.reduce(i)}H.exports=s}}),_L=ke({\"node_modules/stream-browserify/index.js\"(Z,H){H.exports=A;var g=Lm().EventEmitter,x=$v();x(A,g),A.Readable=I3(),A.Writable=L3(),A.Duplex=jm(),A.Transform=R3(),A.PassThrough=gL(),A.finished=sx(),A.pipeline=yL(),A.Stream=A;function A(){g.call(this)}A.prototype.pipe=function(S,e){var t=this;function r(h){S.writable&&S.write(h)===!1&&t.pause&&t.pause()}t.on(\"data\",r);function o(){t.readable&&t.resume&&t.resume()}S.on(\"drain\",o),!S._isStdio&&(!e||e.end!==!1)&&(t.on(\"end\",i),t.on(\"close\",a));var n=!1;function i(){n||(n=!0,S.end())}function a(){n||(n=!0,typeof S.destroy==\"function\"&&S.destroy())}function s(h){if(c(),g.listenerCount(this,\"error\")===0)throw h}t.on(\"error\",s),S.on(\"error\",s);function c(){t.removeListener(\"data\",r),S.removeListener(\"drain\",o),t.removeListener(\"end\",i),t.removeListener(\"close\",a),t.removeListener(\"error\",s),S.removeListener(\"error\",s),t.removeListener(\"end\",c),t.removeListener(\"close\",c),S.removeListener(\"close\",c)}return t.on(\"end\",c),t.on(\"close\",c),S.on(\"close\",c),S.emit(\"pipe\",t),S}}}),oy=ke({\"node_modules/util/util.js\"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case\"%s\":return String(le[Q++]);case\"%d\":return Number(le[Q++]);case\"%j\":try{return JSON.stringify(le[Q++])}catch{return\"[Circular]\"}default:return $}}),G=le[Q];Q\"u\")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S=\"false\",S=S.replace(/[|\\\\{}()[\\]^$+?.]/g,\"\\\\$&\").replace(/\\*/g,\".*\").replace(/,/g,\"$|^\").toUpperCase(),A=new RegExp(\"^\"+S+\"$\",\"i\");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error(\"%s %d: %s\",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"};function t(U,W){var Q=e.styles[W];return Q?\"\\x1B[\"+e.colors[Q][0]+\"m\"+U+\"\\x1B[\"+e.colors[Q][1]+\"m\":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf(\"message\")>=0||fe.indexOf(\"description\")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?\": \"+W.name:\"\";return U.stylize(\"[Function\"+$+\"]\",\"special\")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),\"regexp\");if(v(W))return U.stylize(Date.prototype.toString.call(W),\"date\");if(u(W))return a(W)}var J=\"\",X=!1,re=[\"{\",\"}\"];if(p(W)&&(X=!0,re=[\"[\",\"]\"]),y(W)){var ae=W.name?\": \"+W.name:\"\";J=\" [Function\"+ae+\"]\"}if(m(W)&&(J=\" \"+RegExp.prototype.toString.call(W)),v(W)&&(J=\" \"+Date.prototype.toUTCString.call(W)),u(W)&&(J=\" \"+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),\"regexp\"):U.stylize(\"[Object]\",\"special\");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize(\"undefined\",\"undefined\");if(w(W)){var Q=\"'\"+JSON.stringify(W).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return U.stylize(Q,\"string\")}if(_(W))return U.stylize(\"\"+W,\"number\");if(d(W))return U.stylize(\"\"+W,\"boolean\");if(T(W))return U.stylize(\"null\",\"null\")}function a(U){return\"[\"+Error.prototype.toString.call(U)+\"]\"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push(\"\");return se.forEach(function(J){J.match(/^\\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize(\"[Getter/Setter]\",\"special\"):$=U.stylize(\"[Getter]\",\"special\"):J.set&&($=U.stylize(\"[Setter]\",\"special\")),B(le,se)||(G=\"[\"+se+\"]\"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(`\n`)>-1&&(fe?$=$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`).slice(2):$=`\n`+$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`))):$=U.stylize(\"[Circular]\",\"special\")),E(G)){if(fe&&se.match(/^\\d+$/))return $;G=JSON.stringify(\"\"+se),G.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(G=G.slice(1,-1),G=U.stylize(G,\"name\")):(G=G.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),G=U.stylize(G,\"string\"))}return G+\": \"+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(`\n`)>=0&&le++,fe+G.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0);return se>60?Q[0]+(W===\"\"?\"\":W+`\n `)+\" \"+U.join(`,\n `)+\" \"+Q[1]:Q[0]+W+\" \"+U.join(\", \")+\" \"+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U==\"boolean\"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U==\"number\"}Z.isNumber=_;function w(U){return typeof U==\"string\"}Z.isString=w;function M(U){return typeof U==\"symbol\"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)===\"[object RegExp]\"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U==\"object\"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)===\"[object Date]\"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)===\"[object Error]\"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U==\"function\"}Z.isFunction=y;function f(U){return U===null||typeof U==\"boolean\"||typeof U==\"number\"||typeof U==\"string\"||typeof U==\"symbol\"||typeof U>\"u\"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?\"0\"+U.toString(10):U.toString(10)}var z=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(\":\");return[U.getDate(),z[U.getMonth()],W].join(\" \")}Z.log=function(){console.log(\"%s - %s\",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<\"u\"?Symbol(\"util.promisify.custom\"):void 0;Z.promisify=function(W){if(typeof W!=\"function\")throw new TypeError('The \"original\" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!=\"function\")throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$\"u\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(E){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},c(E)}var h={},p,d;function T(E,m,b){b||(b=Error);function v(y,f,P){return typeof m==\"string\"?m:m(y,f,P)}var u=function(y){r(P,y);var f=n(P);function P(L,z,F){var B;return t(this,P),B=f.call(this,v(L,z,F)),B.code=E,B}return A(P)}(b);h[E]=u}function l(E,m){if(Array.isArray(E)){var b=E.length;return E=E.map(function(v){return String(v)}),b>2?\"one of \".concat(m,\" \").concat(E.slice(0,b-1).join(\", \"),\", or \")+E[b-1]:b===2?\"one of \".concat(m,\" \").concat(E[0],\" or \").concat(E[1]):\"of \".concat(m,\" \").concat(E[0])}else return\"of \".concat(m,\" \").concat(String(E))}function _(E,m,b){return E.substr(!b||b<0?0:+b,m.length)===m}function w(E,m,b){return(b===void 0||b>E.length)&&(b=E.length),E.substring(b-m.length,b)===m}function M(E,m,b){return typeof b!=\"number\"&&(b=0),b+m.length>E.length?!1:E.indexOf(m,b)!==-1}T(\"ERR_AMBIGUOUS_ARGUMENT\",'The \"%s\" argument is ambiguous. %s',TypeError),T(\"ERR_INVALID_ARG_TYPE\",function(E,m,b){p===void 0&&(p=w0()),p(typeof E==\"string\",\"'name' must be a string\");var v;typeof m==\"string\"&&_(m,\"not \")?(v=\"must not be\",m=m.replace(/^not /,\"\")):v=\"must be\";var u;if(w(E,\" argument\"))u=\"The \".concat(E,\" \").concat(v,\" \").concat(l(m,\"type\"));else{var y=M(E,\".\")?\"property\":\"argument\";u='The \"'.concat(E,'\" ').concat(y,\" \").concat(v,\" \").concat(l(m,\"type\"))}return u+=\". Received type \".concat(g(b)),u},TypeError),T(\"ERR_INVALID_ARG_VALUE\",function(E,m){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:\"is invalid\";d===void 0&&(d=oy());var v=d.inspect(m);return v.length>128&&(v=\"\".concat(v.slice(0,128),\"...\")),\"The argument '\".concat(E,\"' \").concat(b,\". Received \").concat(v)},TypeError,RangeError),T(\"ERR_INVALID_RETURN_VALUE\",function(E,m,b){var v;return b&&b.constructor&&b.constructor.name?v=\"instance of \".concat(b.constructor.name):v=\"type \".concat(g(b)),\"Expected \".concat(E,' to be returned from the \"').concat(m,'\"')+\" function but got \".concat(v,\".\")},TypeError),T(\"ERR_MISSING_ARGS\",function(){for(var E=arguments.length,m=new Array(E),b=0;b0,\"At least one arg needs to be specified\");var v=\"The \",u=m.length;switch(m=m.map(function(y){return'\"'.concat(y,'\"')}),u){case 1:v+=\"\".concat(m[0],\" argument\");break;case 2:v+=\"\".concat(m[0],\" and \").concat(m[1],\" arguments\");break;default:v+=m.slice(0,u-1).join(\", \"),v+=\", and \".concat(m[u-1],\" arguments\");break}return\"\".concat(v,\" must be specified\")},TypeError),H.exports.codes=h}}),xL=ke({\"node_modules/assert/build/internal/assert/assertion_error.js\"(Z,H){\"use strict\";function g(N,U){var W=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);U&&(Q=Q.filter(function(le){return Object.getOwnPropertyDescriptor(N,le).enumerable})),W.push.apply(W,Q)}return W}function x(N){for(var U=1;U\"u\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d(N){return Function.toString.call(N).indexOf(\"[native code]\")!==-1}function T(N,U){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Q,le){return Q.__proto__=le,Q},T(N,U)}function l(N){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},l(N)}function _(N){\"@babel/helpers - typeof\";return _=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(U){return typeof U}:function(U){return U&&typeof Symbol==\"function\"&&U.constructor===Symbol&&U!==Symbol.prototype?\"symbol\":typeof U},_(N)}var w=oy(),M=w.inspect,E=D3(),m=E.codes.ERR_INVALID_ARG_TYPE;function b(N,U,W){return(W===void 0||W>N.length)&&(W=N.length),N.substring(W-U.length,W)===U}function v(N,U){if(U=Math.floor(U),N.length==0||U==0)return\"\";var W=N.length*U;for(U=Math.floor(Math.log(U)/Math.log(2));U;)N+=N,U--;return N+=N.substring(0,W-N.length),N}var u=\"\",y=\"\",f=\"\",P=\"\",L={deepStrictEqual:\"Expected values to be strictly deep-equal:\",strictEqual:\"Expected values to be strictly equal:\",strictEqualObject:'Expected \"actual\" to be reference-equal to \"expected\":',deepEqual:\"Expected values to be loosely deep-equal:\",equal:\"Expected values to be loosely equal:\",notDeepStrictEqual:'Expected \"actual\" not to be strictly deep-equal to:',notStrictEqual:'Expected \"actual\" to be strictly unequal to:',notStrictEqualObject:'Expected \"actual\" not to be reference-equal to \"expected\":',notDeepEqual:'Expected \"actual\" not to be loosely deep-equal to:',notEqual:'Expected \"actual\" to be loosely unequal to:',notIdentical:\"Values identical but not reference-equal:\"},z=10;function F(N){var U=Object.keys(N),W=Object.create(Object.getPrototypeOf(N));return U.forEach(function(Q){W[Q]=N[Q]}),Object.defineProperty(W,\"message\",{value:N.message}),W}function B(N){return M(N,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(N,U,W){var Q=\"\",le=\"\",se=0,fe=\"\",G=!1,$=B(N),J=$.split(`\n`),X=B(U).split(`\n`),re=0,ae=\"\";if(W===\"strictEqual\"&&_(N)===\"object\"&&_(U)===\"object\"&&N!==null&&U!==null&&(W=\"strictEqualObject\"),J.length===1&&X.length===1&&J[0]!==X[0]){var j=J[0].length+X[0].length;if(j<=z){if((_(N)!==\"object\"||N===null)&&(_(U)!==\"object\"||U===null)&&(N!==0||U!==0))return\"\".concat(L[W],`\n\n`)+\"\".concat(J[0],\" !== \").concat(X[0],`\n`)}else if(W!==\"strictEqualObject\"){var ee=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(j2&&(ae=`\n `.concat(v(\" \",re),\"^\"),re=0)}}}for(var ie=J[J.length-1],ce=X[X.length-1];ie===ce&&(re++<2?fe=`\n `.concat(ie).concat(fe):Q=ie,J.pop(),X.pop(),!(J.length===0||X.length===0));)ie=J[J.length-1],ce=X[X.length-1];var xe=Math.max(J.length,X.length);if(xe===0){var Te=$.split(`\n`);if(Te.length>30)for(Te[26]=\"\".concat(u,\"...\").concat(P);Te.length>27;)Te.pop();return\"\".concat(L.notIdentical,`\n\n`).concat(Te.join(`\n`),`\n`)}re>3&&(fe=`\n`.concat(u,\"...\").concat(P).concat(fe),G=!0),Q!==\"\"&&(fe=`\n `.concat(Q).concat(fe),Q=\"\");var Ue=0,Ie=L[W]+`\n`.concat(y,\"+ actual\").concat(P,\" \").concat(f,\"- expected\").concat(P),Ye=\" \".concat(u,\"...\").concat(P,\" Lines skipped\");for(re=0;re1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(X[re-2]),Ue++),le+=`\n `.concat(X[re-1]),Ue++),se=re,Q+=`\n`.concat(f,\"-\").concat(P,\" \").concat(X[re]),Ue++;else if(X.length1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(J[re-2]),Ue++),le+=`\n `.concat(J[re-1]),Ue++),se=re,le+=`\n`.concat(y,\"+\").concat(P,\" \").concat(J[re]),Ue++;else{var at=X[re],tt=J[re],ut=tt!==at&&(!b(tt,\",\")||tt.slice(0,-1)!==at);ut&&b(at,\",\")&&at.slice(0,-1)===tt&&(ut=!1,tt+=\",\"),ut?(it>1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(J[re-2]),Ue++),le+=`\n `.concat(J[re-1]),Ue++),se=re,le+=`\n`.concat(y,\"+\").concat(P,\" \").concat(tt),Q+=`\n`.concat(f,\"-\").concat(P,\" \").concat(at),Ue+=2):(le+=Q,Q=\"\",(it===1||re===0)&&(le+=`\n `.concat(tt),Ue++))}if(Ue>20&&re30)for(j[26]=\"\".concat(u,\"...\").concat(P);j.length>27;)j.pop();j.length===1?se=W.call(this,\"\".concat(ae,\" \").concat(j[0])):se=W.call(this,\"\".concat(ae,`\n\n`).concat(j.join(`\n`),`\n`))}else{var ee=B(J),ie=\"\",ce=L[G];G===\"notDeepEqual\"||G===\"notEqual\"?(ee=\"\".concat(L[G],`\n\n`).concat(ee),ee.length>1024&&(ee=\"\".concat(ee.slice(0,1021),\"...\"))):(ie=\"\".concat(B(X)),ee.length>512&&(ee=\"\".concat(ee.slice(0,509),\"...\")),ie.length>512&&(ie=\"\".concat(ie.slice(0,509),\"...\")),G===\"deepEqual\"||G===\"equal\"?ee=\"\".concat(ce,`\n\n`).concat(ee,`\n\nshould equal\n\n`):ie=\" \".concat(G,\" \").concat(ie)),se=W.call(this,\"\".concat(ee).concat(ie))}return Error.stackTraceLimit=re,se.generatedMessage=!fe,Object.defineProperty(s(se),\"name\",{value:\"AssertionError [ERR_ASSERTION]\",enumerable:!1,writable:!0,configurable:!0}),se.code=\"ERR_ASSERTION\",se.actual=J,se.expected=X,se.operator=G,Error.captureStackTrace&&Error.captureStackTrace(s(se),$),se.stack,se.name=\"AssertionError\",a(se)}return t(Q,[{key:\"toString\",value:function(){return\"\".concat(this.name,\" [\").concat(this.code,\"]: \").concat(this.message)}},{key:U,value:function(se,fe){return M(this,x(x({},fe),{},{customInspect:!1,depth:0}))}}]),Q}(c(Error),M.custom);H.exports=I}}),z3=ke({\"node_modules/object-keys/isArguments.js\"(Z,H){\"use strict\";var g=Object.prototype.toString;H.exports=function(A){var S=g.call(A),e=S===\"[object Arguments]\";return e||(e=S!==\"[object Array]\"&&A!==null&&typeof A==\"object\"&&typeof A.length==\"number\"&&A.length>=0&&g.call(A.callee)===\"[object Function]\"),e}}}),bL=ke({\"node_modules/object-keys/implementation.js\"(Z,H){\"use strict\";var g;Object.keys||(x=Object.prototype.hasOwnProperty,A=Object.prototype.toString,S=z3(),e=Object.prototype.propertyIsEnumerable,t=!e.call({toString:null},\"toString\"),r=e.call(function(){},\"prototype\"),o=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],n=function(c){var h=c.constructor;return h&&h.prototype===c},i={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if(typeof window>\"u\")return!1;for(var c in window)try{if(!i[\"$\"+c]&&x.call(window,c)&&window[c]!==null&&typeof window[c]==\"object\")try{n(window[c])}catch{return!0}}catch{return!0}return!1}(),s=function(c){if(typeof window>\"u\"||!a)return n(c);try{return n(c)}catch{return!1}},g=function(h){var p=h!==null&&typeof h==\"object\",d=A.call(h)===\"[object Function]\",T=S(h),l=p&&A.call(h)===\"[object String]\",_=[];if(!p&&!d&&!T)throw new TypeError(\"Object.keys called on a non-object\");var w=r&&d;if(l&&h.length>0&&!x.call(h,0))for(var M=0;M0)for(var E=0;E2?arguments[2]:{},h=g(s);x&&(h=S.call(h,Object.getOwnPropertySymbols(s)));for(var p=0;pMe.length)&&(pe=Me.length);for(var ue=0,Oe=new Array(pe);ue10)return!0;for(var pe=0;pe57)return!0}return Me.length===10&&Me>=Math.pow(2,32)}function I(Me){return Object.keys(Me).filter(O).concat(s(Me).filter(Object.prototype.propertyIsEnumerable.bind(Me)))}function N(Me,pe){if(Me===pe)return 0;for(var ue=Me.length,Oe=pe.length,rt=0,ot=Math.min(ue,Oe);rt1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae0)return t(i);if(s===\"number\"&&isNaN(i)===!1)return a.long?o(i):r(i);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(i))};function t(i){if(i=String(i),!(i.length>100)){var a=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(i);if(a){var s=parseFloat(a[1]),c=(a[2]||\"ms\").toLowerCase();switch(c){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return s*e;case\"days\":case\"day\":case\"d\":return s*S;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return s*A;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return s*x;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return s*g;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return s;default:return}}}}function r(i){return i>=S?Math.round(i/S)+\"d\":i>=A?Math.round(i/A)+\"h\":i>=x?Math.round(i/x)+\"m\":i>=g?Math.round(i/g)+\"s\":i+\"ms\"}function o(i){return n(i,S,\"day\")||n(i,A,\"hour\")||n(i,x,\"minute\")||n(i,g,\"second\")||i+\" ms\"}function n(i,a,s){if(!(i=31||typeof navigator<\"u\"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)}Z.formatters.j=function(r){try{return JSON.stringify(r)}catch(o){return\"[UnexpectedJSONParseError]: \"+o.message}};function x(r){var o=this.useColors;if(r[0]=(o?\"%c\":\"\")+this.namespace+(o?\" %c\":\" \")+r[0]+(o?\"%c \":\" \")+\"+\"+Z.humanize(this.diff),!!o){var n=\"color: \"+this.color;r.splice(1,0,n,\"color: inherit\");var i=0,a=0;r[0].replace(/%[a-zA-Z%]/g,function(s){s!==\"%%\"&&(i++,s===\"%c\"&&(a=i))}),r.splice(a,0,n)}}function A(){return typeof console==\"object\"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function S(r){try{r==null?Z.storage.removeItem(\"debug\"):Z.storage.debug=r}catch{}}function e(){var r;try{r=Z.storage.debug}catch{}return!r&&typeof process<\"u\"&&\"env\"in process&&(r=process.env.DEBUG),r}Z.enable(e());function t(){try{return window.localStorage}catch{}}}}),IL=ke({\"node_modules/stream-parser/index.js\"(Z,H){var g=w0(),x=PL()(\"stream-parser\");H.exports=r;var A=-1,S=0,e=1,t=2;function r(l){var _=l&&typeof l._transform==\"function\",w=l&&typeof l._write==\"function\";if(!_&&!w)throw new Error(\"must pass a Writable or Transform stream in\");x(\"extending Parser into stream\"),l._bytes=n,l._skipBytes=i,_&&(l._passthrough=a),_?l._transform=c:l._write=s}function o(l){x(\"initializing parser stream\"),l._parserBytesLeft=0,l._parserBuffers=[],l._parserBuffered=0,l._parserState=A,l._parserCallback=null,typeof l.push==\"function\"&&(l._parserOutput=l.push.bind(l)),l._parserInit=!0}function n(l,_){g(!this._parserCallback,'there is already a \"callback\" set!'),g(isFinite(l)&&l>0,'can only buffer a finite number of bytes > 0, got \"'+l+'\"'),this._parserInit||o(this),x(\"buffering %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=S}function i(l,_){g(!this._parserCallback,'there is already a \"callback\" set!'),g(l>0,'can only skip > 0 bytes, got \"'+l+'\"'),this._parserInit||o(this),x(\"skipping %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=e}function a(l,_){g(!this._parserCallback,'There is already a \"callback\" set!'),g(l>0,'can only pass through > 0 bytes, got \"'+l+'\"'),this._parserInit||o(this),x(\"passing through %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=t}function s(l,_,w){this._parserInit||o(this),x(\"write(%o bytes)\",l.length),typeof _==\"function\"&&(w=_),d(this,l,null,w)}function c(l,_,w){this._parserInit||o(this),x(\"transform(%o bytes)\",l.length),typeof _!=\"function\"&&(_=this._parserOutput),d(this,l,_,w)}function h(l,_,w,M){return l._parserBytesLeft<=0?M(new Error(\"got data but not currently parsing anything\")):_.length<=l._parserBytesLeft?function(){return p(l,_,w,M)}:function(){var E=_.slice(0,l._parserBytesLeft);return p(l,E,w,function(m){if(m)return M(m);if(_.length>E.length)return function(){return h(l,_.slice(E.length),w,M)}})}}function p(l,_,w,M){if(l._parserBytesLeft-=_.length,x(\"%o bytes left for stream piece\",l._parserBytesLeft),l._parserState===S?(l._parserBuffers.push(_),l._parserBuffered+=_.length):l._parserState===t&&w(_),l._parserBytesLeft===0){var E=l._parserCallback;if(E&&l._parserState===S&&l._parserBuffers.length>1&&(_=Buffer.concat(l._parserBuffers,l._parserBuffered)),l._parserState!==S&&(_=null),l._parserCallback=null,l._parserBuffered=0,l._parserState=A,l._parserBuffers.splice(0),E){var m=[];_&&m.push(_),w&&m.push(w);var b=E.length>m.length;b&&m.push(T(M));var v=E.apply(l,m);if(!b||M===v)return M}}else return M}var d=T(h);function T(l){return function(){for(var _=l.apply(this,arguments);typeof _==\"function\";)_=_();return _}}}}),Lu=ke({\"node_modules/probe-image-size/lib/common.js\"(Z){\"use strict\";var H=_L().Transform,g=IL();function x(){H.call(this,{readableObjectMode:!0})}x.prototype=Object.create(H.prototype),x.prototype.constructor=x,g(x.prototype),Z.ParserStream=x,Z.sliceEq=function(S,e,t){for(var r=e,o=0;o>4&15,h=a[4]&15,p=a[5]>>4&15,d=g(a,6),T=8,l=0;ld.width||p.width===d.width&&p.height>d.height?p:d}),c=a.reduce(function(p,d){return p.height>d.height||p.height===d.height&&p.width>d.width?p:d}),h;return s.width>c.height||s.width===c.height&&s.height>c.width?h=s:h=c,h}H.exports.readSizeFromMeta=function(a){var s={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(n(a,s),!!s.sizes.length){var c=i(s.sizes),h=1;s.transforms.forEach(function(d){var T={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},l={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(d.type===\"imir\"&&(d.value===0?h=l[h]:(h=l[h],h=T[h],h=T[h])),d.type===\"irot\")for(var _=0;_0&&!this.aborted;){var t=this.ifds_to_read.shift();t.offset&&this.scan_ifd(t.id,t.offset,S)}},A.prototype.read_uint16=function(S){var e=this.input;if(S+2>e.length)throw g(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?e[S]*256+e[S+1]:e[S]+e[S+1]*256},A.prototype.read_uint32=function(S){var e=this.input;if(S+4>e.length)throw g(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?e[S]*16777216+e[S+1]*65536+e[S+2]*256+e[S+3]:e[S]+e[S+1]*256+e[S+2]*65536+e[S+3]*16777216},A.prototype.is_subifd_link=function(S,e){return S===0&&e===34665||S===0&&e===34853||S===34665&&e===40965},A.prototype.exif_format_length=function(S){switch(S){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},A.prototype.exif_format_read=function(S,e){var t;switch(S){case 1:case 2:return t=this.input[e],t;case 6:return t=this.input[e],t|(t&128)*33554430;case 3:return t=this.read_uint16(e),t;case 8:return t=this.read_uint16(e),t|(t&32768)*131070;case 4:return t=this.read_uint32(e),t;case 9:return t=this.read_uint32(e),t|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},A.prototype.scan_ifd=function(S,e,t){var r=this.read_uint16(e);e+=2;for(var o=0;othis.input.length)throw g(\"unexpected EOF\",\"EBADDATA\");for(var d=[],T=h,l=0;l0&&(this.ifds_to_read.push({id:n,offset:d[0]}),p=!0);var w={is_big_endian:this.big_endian,ifd:S,tag:n,format:i,count:a,entry_offset:e+this.start,data_length:c,data_offset:h+this.start,value:d,is_subifd_link:p};if(t(w)===!1){this.aborted=!0;return}e+=12}S===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(e)})},H.exports.ExifParser=A,H.exports.get_orientation=function(S){var e=0;try{return new A(S,0,S.length).each(function(t){if(t.ifd===0&&t.tag===274&&Array.isArray(t.value))return e=t.value[0],!1}),e}catch{return-1}}}}),DL=ke({\"node_modules/probe-image-size/lib/parse_sync/avif.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=RL(),e=ux(),t=g(\"ftyp\");H.exports=function(r){if(x(r,4,t)){var o=S.unbox(r,0);if(o){var n=S.getMimeType(o.data);if(n){for(var i,a=o.end;;){var s=S.unbox(r,a);if(!s)break;if(a=s.end,s.boxtype===\"mdat\")return;if(s.boxtype===\"meta\"){i=s.data;break}}if(i){var c=S.readSizeFromMeta(i);if(c){var h={width:c.width,height:c.height,type:n.type,mime:n.mime,wUnits:\"px\",hUnits:\"px\"};if(c.variants.length>1&&(h.variants=c.variants),c.orientation&&(h.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=r.length){var p=A(r,c.exif_location.offset),d=r.slice(c.exif_location.offset+p+4,c.exif_location.offset+c.exif_location.length),T=e.get_orientation(d);T>0&&(h.orientation=T)}return h}}}}}}}}),zL=ke({\"node_modules/probe-image-size/lib/parse_sync/bmp.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g(\"BM\");H.exports=function(e){if(!(e.length<26)&&x(e,0,S))return{width:A(e,18),height:A(e,22),type:\"bmp\",mime:\"image/bmp\",wUnits:\"px\",hUnits:\"px\"}}}}),FL=ke({\"node_modules/probe-image-size/lib/parse_sync/gif.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g(\"GIF87a\"),e=g(\"GIF89a\");H.exports=function(t){if(!(t.length<10)&&!(!x(t,0,S)&&!x(t,0,e)))return{width:A(t,6),height:A(t,8),type:\"gif\",mime:\"image/gif\",wUnits:\"px\",hUnits:\"px\"}}}}),OL=ke({\"node_modules/probe-image-size/lib/parse_sync/ico.js\"(Z,H){\"use strict\";var g=Lu().readUInt16LE,x=0,A=1,S=16;H.exports=function(e){var t=g(e,0),r=g(e,2),o=g(e,4);if(!(t!==x||r!==A||!o)){for(var n=[],i={width:0,height:0},a=0;ai.width||c>i.height)&&(i=h)}return{width:i.width,height:i.height,variants:n,type:\"ico\",mime:\"image/x-icon\",wUnits:\"px\",hUnits:\"px\"}}}}}),BL=ke({\"node_modules/probe-image-size/lib/parse_sync/jpeg.js\"(Z,H){\"use strict\";var g=Lu().readUInt16BE,x=Lu().str2arr,A=Lu().sliceEq,S=ux(),e=x(\"Exif\\0\\0\");H.exports=function(t){if(!(t.length<2)&&!(t[0]!==255||t[1]!==216||t[2]!==255))for(var r=2;;){for(;;){if(t.length-r<2)return;if(t[r++]===255)break}for(var o=t[r++],n;o===255;)o=t[r++];if(208<=o&&o<=217||o===1)n=0;else if(192<=o&&o<=254){if(t.length-r<2)return;n=g(t,r)-2,r+=2}else return;if(o===217||o===218)return;var i;if(o===225&&n>=10&&A(t,r,e)&&(i=S.get_orientation(t.slice(r+6,r+n))),n>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(t.length-r0&&(a.orientation=i),a}r+=n}}}}),NL=ke({\"node_modules/probe-image-size/lib/parse_sync/png.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(`\\x89PNG\\r\n\u001a\n`),e=g(\"IHDR\");H.exports=function(t){if(!(t.length<24)&&x(t,0,S)&&x(t,12,e))return{width:A(t,16),height:A(t,20),type:\"png\",mime:\"image/png\",wUnits:\"px\",hUnits:\"px\"}}}}),UL=ke({\"node_modules/probe-image-size/lib/parse_sync/psd.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(\"8BPS\\0\u0001\");H.exports=function(e){if(!(e.length<22)&&x(e,0,S))return{width:A(e,18),height:A(e,14),type:\"psd\",mime:\"image/vnd.adobe.photoshop\",wUnits:\"px\",hUnits:\"px\"}}}}),jL=ke({\"node_modules/probe-image-size/lib/parse_sync/svg.js\"(Z,H){\"use strict\";function g(s){return s===32||s===9||s===13||s===10}function x(s){return typeof s==\"number\"&&isFinite(s)&&s>0}function A(s){var c=0,h=s.length;for(s[0]===239&&s[1]===187&&s[2]===191&&(c=3);c]*>/,e=/^<([-_.:a-zA-Z0-9]+:)?svg\\s/,t=/[^-]\\bwidth=\"([^%]+?)\"|[^-]\\bwidth='([^%]+?)'/,r=/\\bheight=\"([^%]+?)\"|\\bheight='([^%]+?)'/,o=/\\bview[bB]ox=\"(.+?)\"|\\bview[bB]ox='(.+?)'/,n=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function i(s){var c=s.match(t),h=s.match(r),p=s.match(o);return{width:c&&(c[1]||c[2]),height:h&&(h[1]||h[2]),viewbox:p&&(p[1]||p[2])}}function a(s){return n.test(s)?s.match(n)[0]:\"px\"}H.exports=function(s){if(A(s)){for(var c=\"\",h=0;h>14&16383)+1,type:\"webp\",mime:\"image/webp\",wUnits:\"px\",hUnits:\"px\"}}}function i(a,s){return{width:(a[s+6]<<16|a[s+5]<<8|a[s+4])+1,height:(a[s+9]<a.length)){for(;s+8=10?c=c||o(a,s+8):d===\"VP8L\"&&T>=9?c=c||n(a,s+8):d===\"VP8X\"&&T>=10?c=c||i(a,s+8):d===\"EXIF\"&&(h=e.get_orientation(a.slice(s+8,s+8+T)),s=1/0),s+=8+T}if(c)return h>0&&(c.orientation=h),c}}}}}),HL=ke({\"node_modules/probe-image-size/lib/parsers_sync.js\"(Z,H){\"use strict\";H.exports={avif:DL(),bmp:zL(),gif:FL(),ico:OL(),jpeg:BL(),png:NL(),psd:UL(),svg:jL(),tiff:VL(),webp:qL()}}}),GL=ke({\"node_modules/probe-image-size/sync.js\"(Z,H){\"use strict\";var g=HL();function x(A){for(var S=Object.keys(g),e=0;e0;)P=c.c2p(E+B*u),B--;for(B=0;z===void 0&&B0;)F=h.c2p(m+B*y),B--;if(PG[0];if($||J){var X=f+I/2,re=z+N/2;se+=\"transform:\"+A(X+\"px\",re+\"px\")+\"scale(\"+($?-1:1)+\",\"+(J?-1:1)+\")\"+A(-X+\"px\",-re+\"px\")+\";\"}}le.attr(\"style\",se);var ae=new Promise(function(j){if(_._hasZ)j();else if(_._hasSource)if(_._canvas&&_._canvas.el.width===b&&_._canvas.el.height===v&&_._canvas.source===_.source)j();else{var ee=document.createElement(\"canvas\");ee.width=b,ee.height=v;var ie=ee.getContext(\"2d\",{willReadFrequently:!0});_._image=_._image||new Image;var ce=_._image;ce.onload=function(){ie.drawImage(ce,0,0),_._canvas={el:ee,source:_.source},j()},ce.setAttribute(\"src\",_.source)}}).then(function(){var j,ee;if(_._hasZ)ee=Q(function(xe,Te){var Ue=M[Te][xe];return x.isTypedArray(Ue)&&(Ue=Array.from(Ue)),Ue}),j=ee.toDataURL(\"image/png\");else if(_._hasSource)if(w)j=_.source;else{var ie=_._canvas.el.getContext(\"2d\",{willReadFrequently:!0}),ce=ie.getImageData(0,0,b,v).data;ee=Q(function(xe,Te){var Ue=4*(Te*b+xe);return[ce[Ue],ce[Ue+1],ce[Ue+2],ce[Ue+3]]}),j=ee.toDataURL(\"image/png\")}le.attr({\"xlink:href\":j,height:N,width:I,x:f,y:z})});n._promises.push(ae)})}}}),YL=ke({\"src/traces/image/style.js\"(Z,H){\"use strict\";var g=_i();H.exports=function(A){g.select(A).selectAll(\".im image\").style(\"opacity\",function(S){return S[0].trace.opacity})}}}),KL=ke({\"src/traces/image/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=un(),A=x.isArrayOrTypedArray,S=ny();H.exports=function(t,r,o){var n=t.cd[0],i=n.trace,a=t.xa,s=t.ya;if(!(g.inbox(r-n.x0,r-(n.x0+n.w*i.dx),0)>0||g.inbox(o-n.y0,o-(n.y0+n.h*i.dy),0)>0)){var c=Math.floor((r-n.x0)/i.dx),h=Math.floor(Math.abs(o-n.y0)/i.dy),p;if(i._hasZ?p=n.z[h][c]:i._hasSource&&(p=i._canvas.el.getContext(\"2d\",{willReadFrequently:!0}).getImageData(c,h,1,1).data),!!p){var d=n.hi||i.hoverinfo,T;if(d){var l=d.split(\"+\");l.indexOf(\"all\")!==-1&&(l=[\"color\"]),l.indexOf(\"color\")!==-1&&(T=!0)}var _=S.colormodel[i.colormodel],w=_.colormodel||i.colormodel,M=w.length,E=i._scaler(p),m=_.suffix,b=[];(i.hovertemplate||T)&&(b.push(\"[\"+[E[0]+m[0],E[1]+m[1],E[2]+m[2]].join(\", \")),M===4&&b.push(\", \"+E[3]+m[3]),b.push(\"]\"),b=b.join(\"\"),t.extraText=w.toUpperCase()+\": \"+b);var v;A(i.hovertext)&&A(i.hovertext[h])?v=i.hovertext[h][c]:A(i.text)&&A(i.text[h])&&(v=i.text[h][c]);var u=s.c2p(n.y0+(h+.5)*i.dy),y=n.x0+(c+.5)*i.dx,f=n.y0+(h+.5)*i.dy,P=\"[\"+p.slice(0,i.colormodel.length).join(\", \")+\"]\";return[x.extendFlat(t,{index:[h,c],x0:a.c2p(n.x0+c*i.dx),x1:a.c2p(n.x0+(c+1)*i.dx),y0:u,y1:u,color:E,xVal:y,xLabelVal:y,yVal:f,yLabelVal:f,zLabelVal:P,text:v,hovertemplateLabels:{zLabel:P,colorLabel:b,\"color[0]Label\":E[0]+m[0],\"color[1]Label\":E[1]+m[1],\"color[2]Label\":E[2]+m[2],\"color[3]Label\":E[3]+m[3]}})]}}}}}),JL=ke({\"src/traces/image/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return\"xVal\"in A&&(x.x=A.xVal),\"yVal\"in A&&(x.y=A.yVal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x.color=A.color,x.colormodel=A.trace.colormodel,x.z||(x.z=A.color),x}}}),$L=ke({\"src/traces/image/index.js\"(Z,H){\"use strict\";H.exports={attributes:_3(),supplyDefaults:Xk(),calc:XL(),plot:ZL(),style:YL(),hoverPoints:KL(),eventData:JL(),moduleType:\"trace\",name:\"image\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"2dMap\",\"noSortingByValue\"],animatable:!1,meta:{}}}}),QL=ke({\"lib/image.js\"(Z,H){\"use strict\";H.exports=$L()}}),Vm=ke({\"src/traces/pie/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Yu().attributes,A=Il(),S=If(),e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=To().extendFlat,o=xh().pattern,n=A({editType:\"plot\",arrayOk:!0,colorEditType:\"plot\"});H.exports={labels:{valType:\"data_array\",editType:\"calc\"},label0:{valType:\"number\",dflt:0,editType:\"calc\"},dlabel:{valType:\"number\",dflt:1,editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},marker:{colors:{valType:\"data_array\",editType:\"calc\"},line:{color:{valType:\"color\",dflt:S.defaultLine,arrayOk:!0,editType:\"style\"},width:{valType:\"number\",min:0,dflt:0,arrayOk:!0,editType:\"style\"},editType:\"calc\"},pattern:o,editType:\"calc\"},text:{valType:\"data_array\",editType:\"plot\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},scalegroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"percent\"],extras:[\"none\"],editType:\"calc\"},hoverinfo:r({},g.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:e({},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),texttemplate:t({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"plot\"},textfont:r({},n,{}),insidetextorientation:{valType:\"enumerated\",values:[\"horizontal\",\"radial\",\"tangential\",\"auto\"],dflt:\"auto\",editType:\"plot\"},insidetextfont:r({},n,{}),outsidetextfont:r({},n,{}),automargin:{valType:\"boolean\",dflt:!1,editType:\"plot\"},title:{text:{valType:\"string\",dflt:\"\",editType:\"plot\"},font:r({},n,{}),position:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle center\",\"bottom left\",\"bottom center\",\"bottom right\"],editType:\"plot\"},editType:\"plot\"},domain:x({name:\"pie\",trace:!0,editType:\"calc\"}),hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"},sort:{valType:\"boolean\",dflt:!0,editType:\"calc\"},direction:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"angle\",dflt:0,editType:\"calc\"},pull:{valType:\"number\",min:0,max:1,dflt:0,arrayOk:!0,editType:\"calc\"}}}}),qm=ke({\"src/traces/pie/defaults.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Vm(),S=Yu().defaults,e=Od().handleText,t=un().coercePattern;function r(i,a){var s=x.isArrayOrTypedArray(i),c=x.isArrayOrTypedArray(a),h=Math.min(s?i.length:1/0,c?a.length:1/0);if(isFinite(h)||(h=0),h&&c){for(var p,d=0;d0){p=!0;break}}p||(h=0)}return{hasLabels:s,hasValues:c,len:h}}function o(i,a,s,c,h){var p=c(\"marker.line.width\");p&&c(\"marker.line.color\",h?void 0:s.paper_bgcolor);var d=c(\"marker.colors\");t(c,\"marker.pattern\",d),i.marker&&!a.marker.pattern.fgcolor&&(a.marker.pattern.fgcolor=i.marker.colors),a.marker.pattern.bgcolor||(a.marker.pattern.bgcolor=s.paper_bgcolor)}function n(i,a,s,c){function h(f,P){return x.coerce(i,a,A,f,P)}var p=h(\"labels\"),d=h(\"values\"),T=r(p,d),l=T.len;if(a._hasLabels=T.hasLabels,a._hasValues=T.hasValues,!a._hasLabels&&a._hasValues&&(h(\"label0\"),h(\"dlabel\")),!l){a.visible=!1;return}a._length=l,o(i,a,c,h,!0),h(\"scalegroup\");var _=h(\"text\"),w=h(\"texttemplate\"),M;if(w||(M=h(\"textinfo\",x.isArrayOrTypedArray(_)?\"text+percent\":\"percent\")),h(\"hovertext\"),h(\"hovertemplate\"),w||M&&M!==\"none\"){var E=h(\"textposition\");e(i,a,c,h,E,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var m=Array.isArray(E)||E===\"auto\",b=m||E===\"outside\";b&&h(\"automargin\"),(E===\"inside\"||E===\"auto\"||Array.isArray(E))&&h(\"insidetextorientation\")}else M===\"none\"&&h(\"textposition\",\"none\");S(a,c,h);var v=h(\"hole\"),u=h(\"title.text\");if(u){var y=h(\"title.position\",v?\"middle center\":\"top center\");!v&&y===\"middle center\"&&(a.title.position=\"top center\"),x.coerceFont(h,\"title.font\",c.font)}h(\"sort\"),h(\"direction\"),h(\"rotation\"),h(\"pull\")}H.exports={handleLabelsAndValues:r,handleMarkerDefaults:o,supplyDefaults:n}}}),cx=ke({\"src/traces/pie/layout_attributes.js\"(Z,H){\"use strict\";H.exports={hiddenlabels:{valType:\"data_array\",editType:\"calc\"},piecolorway:{valType:\"colorlist\",editType:\"calc\"},extendpiecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),eP=ke({\"src/traces/pie/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=cx();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"hiddenlabels\"),t(\"piecolorway\",e.colorway),t(\"extendpiecolors\")}}}),sy=ke({\"src/traces/pie/calc.js\"(Z,H){\"use strict\";var g=Yn(),x=ru(),A=eo(),S={};function e(n,i){var a=[],s=n._fullLayout,c=s.hiddenlabels||[],h=i.labels,p=i.marker.colors||[],d=i.values,T=i._length,l=i._hasValues&&T,_,w;if(i.dlabel)for(h=new Array(T),_=0;_=0});var P=i.type===\"funnelarea\"?b:i.sort;return P&&a.sort(function(L,z){return z.v-L.v}),a[0]&&(a[0].vTotal=m),a}function t(n){return function(a,s){return!a||(a=x(a),!a.isValid())?!1:(a=A.addOpacity(a,a.getAlpha()),n[s]||(n[s]=a),a)}}function r(n,i){var a=(i||{}).type;a||(a=\"pie\");var s=n._fullLayout,c=n.calcdata,h=s[a+\"colorway\"],p=s[\"_\"+a+\"colormap\"];s[\"extend\"+a+\"colors\"]&&(h=o(h,S));for(var d=0,T=0;T0&&(rt+=Et*ue.pxmid[0],ot+=Et*ue.pxmid[1])}ue.cxFinal=rt,ue.cyFinal=ot;function Bt(_t,Be,Ke,je){var Se=je*(Be[0]-_t[0]),He=je*(Be[1]-_t[1]);return\"a\"+je*ce.r+\",\"+je*ce.r+\" 0 \"+ue.largeArc+(Ke?\" 1 \":\" 0 \")+Se+\",\"+He}var qt=xe.hole;if(ue.v===ce.vTotal){var fr=\"M\"+(rt+ue.px0[0])+\",\"+(ot+ue.px0[1])+Bt(ue.px0,ue.pxmid,!0,1)+Bt(ue.pxmid,ue.px0,!0,1)+\"Z\";qt?Lt.attr(\"d\",\"M\"+(rt+qt*ue.px0[0])+\",\"+(ot+qt*ue.px0[1])+Bt(ue.px0,ue.pxmid,!1,qt)+Bt(ue.pxmid,ue.px0,!1,qt)+\"Z\"+fr):Lt.attr(\"d\",fr)}else{var ar=Bt(ue.px0,ue.px1,!0,1);if(qt){var Rr=1-qt;Lt.attr(\"d\",\"M\"+(rt+qt*ue.px1[0])+\",\"+(ot+qt*ue.px1[1])+Bt(ue.px1,ue.px0,!1,qt)+\"l\"+Rr*ue.px0[0]+\",\"+Rr*ue.px0[1]+ar+\"Z\")}else Lt.attr(\"d\",\"M\"+rt+\",\"+ot+\"l\"+ue.px0[0]+\",\"+ue.px0[1]+ar+\"Z\")}fe($,ue,ce);var gr=h.castOption(xe.textposition,ue.pts),br=et.selectAll(\"g.slicetext\").data(ue.text&&gr!==\"none\"?[0]:[]);br.enter().append(\"g\").classed(\"slicetext\",!0),br.exit().remove(),br.each(function(){var _t=t.ensureSingle(g.select(this),\"text\",\"\",function(Le){Le.attr(\"data-notex\",1)}),Be=t.ensureUniformFontSize($,gr===\"outside\"?w(xe,ue,re.font):M(xe,ue,re.font));_t.text(ue.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(e.font,Be).call(n.convertToTspans,$);var Ke=e.bBox(_t.node()),je;if(gr===\"outside\")je=z(Ke,ue);else if(je=m(Ke,ue,ce),gr===\"auto\"&&je.scale<1){var Se=t.ensureUniformFontSize($,xe.outsidetextfont);_t.call(e.font,Se),Ke=e.bBox(_t.node()),je=z(Ke,ue)}var He=je.textPosAngle,Ee=He===void 0?ue.pxmid:se(ce.r,He);if(je.targetX=rt+Ee[0]*je.rCenter+(je.x||0),je.targetY=ot+Ee[1]*je.rCenter+(je.y||0),G(je,Ke),je.outside){var we=je.targetY;ue.yLabelMin=we-Ke.height/2,ue.yLabelMid=we,ue.yLabelMax=we+Ke.height/2,ue.labelExtraX=0,ue.labelExtraY=0,Ie=!0}je.fontSize=Be.size,a(xe.type,je,re),ee[Oe].transform=je,t.setTransormAndDisplay(_t,je)})});var Ye=g.select(this).selectAll(\"g.titletext\").data(xe.title.text?[0]:[]);if(Ye.enter().append(\"g\").classed(\"titletext\",!0),Ye.exit().remove(),Ye.each(function(){var ue=t.ensureSingle(g.select(this),\"text\",\"\",function(ot){ot.attr(\"data-notex\",1)}),Oe=xe.title.text;xe._meta&&(Oe=t.templateString(Oe,xe._meta)),ue.text(Oe).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(e.font,xe.title.font).call(n.convertToTspans,$);var rt;xe.title.position===\"middle center\"?rt=F(ce):rt=B(ce,ae),ue.attr(\"transform\",o(rt.x,rt.y)+r(Math.min(1,rt.scale))+o(rt.tx,rt.ty))}),Ie&&U(Ue,xe),l(Te,xe),Ie&&xe.automargin){var it=e.bBox(ie.node()),at=xe.domain,tt=ae.w*(at.x[1]-at.x[0]),ut=ae.h*(at.y[1]-at.y[0]),Me=(.5*tt-ce.r)/ae.w,pe=(.5*ut-ce.r)/ae.h;x.autoMargin($,\"pie.\"+xe.uid+\".automargin\",{xl:at.x[0]-Me,xr:at.x[1]+Me,yb:at.y[0]-pe,yt:at.y[1]+pe,l:Math.max(ce.cx-ce.r-it.left,0),r:Math.max(it.right-(ce.cx+ce.r),0),b:Math.max(it.bottom-(ce.cy+ce.r),0),t:Math.max(ce.cy-ce.r-it.top,0),pad:5})}})});setTimeout(function(){j.selectAll(\"tspan\").each(function(){var ee=g.select(this);ee.attr(\"dy\")&&ee.attr(\"dy\",ee.attr(\"dy\"))})},0)}function l($,J){$.each(function(X){var re=g.select(this);if(!X.labelExtraX&&!X.labelExtraY){re.select(\"path.textline\").remove();return}var ae=re.select(\"g.slicetext text\");X.transform.targetX+=X.labelExtraX,X.transform.targetY+=X.labelExtraY,t.setTransormAndDisplay(ae,X.transform);var j=X.cxFinal+X.pxmid[0],ee=X.cyFinal+X.pxmid[1],ie=\"M\"+j+\",\"+ee,ce=(X.yLabelMax-X.yLabelMin)*(X.pxmid[0]<0?-1:1)/4;if(X.labelExtraX){var xe=X.labelExtraX*X.pxmid[1]/X.pxmid[0],Te=X.yLabelMid+X.labelExtraY-(X.cyFinal+X.pxmid[1]);Math.abs(xe)>Math.abs(Te)?ie+=\"l\"+Te*X.pxmid[0]/X.pxmid[1]+\",\"+Te+\"H\"+(j+X.labelExtraX+ce):ie+=\"l\"+X.labelExtraX+\",\"+xe+\"v\"+(Te-xe)+\"h\"+ce}else ie+=\"V\"+(X.yLabelMid+X.labelExtraY)+\"h\"+ce;t.ensureSingle(re,\"path\",\"textline\").call(S.stroke,J.outsidetextfont.color).attr({\"stroke-width\":Math.min(2,J.outsidetextfont.size/8),d:ie,fill:\"none\"})})}function _($,J,X){var re=X[0],ae=re.cx,j=re.cy,ee=re.trace,ie=ee.type===\"funnelarea\";\"_hasHoverLabel\"in ee||(ee._hasHoverLabel=!1),\"_hasHoverEvent\"in ee||(ee._hasHoverEvent=!1),$.on(\"mouseover\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];if(!(J._dragging||xe.hovermode===!1)){var Ue=Te.hoverinfo;if(Array.isArray(Ue)&&(Ue=A.castHoverinfo({hoverinfo:[h.castOption(Ue,ce.pts)],_module:ee._module},xe,0)),Ue===\"all\"&&(Ue=\"label+text+value+percent+name\"),Te.hovertemplate||Ue!==\"none\"&&Ue!==\"skip\"&&Ue){var Ie=ce.rInscribed||0,Ye=ae+ce.pxmid[0]*(1-Ie),it=j+ce.pxmid[1]*(1-Ie),at=xe.separators,tt=[];if(Ue&&Ue.indexOf(\"label\")!==-1&&tt.push(ce.label),ce.text=h.castOption(Te.hovertext||Te.text,ce.pts),Ue&&Ue.indexOf(\"text\")!==-1){var ut=ce.text;t.isValidTextValue(ut)&&tt.push(ut)}ce.value=ce.v,ce.valueLabel=h.formatPieValue(ce.v,at),Ue&&Ue.indexOf(\"value\")!==-1&&tt.push(ce.valueLabel),ce.percent=ce.v/re.vTotal,ce.percentLabel=h.formatPiePercent(ce.percent,at),Ue&&Ue.indexOf(\"percent\")!==-1&&tt.push(ce.percentLabel);var Me=Te.hoverlabel,pe=Me.font,ue=[];A.loneHover({trace:ee,x0:Ye-Ie*re.r,x1:Ye+Ie*re.r,y:it,_x0:ie?ae+ce.TL[0]:Ye-Ie*re.r,_x1:ie?ae+ce.TR[0]:Ye+Ie*re.r,_y0:ie?j+ce.TL[1]:it-Ie*re.r,_y1:ie?j+ce.BL[1]:it+Ie*re.r,text:tt.join(\"
\"),name:Te.hovertemplate||Ue.indexOf(\"name\")!==-1?Te.name:void 0,idealAlign:ce.pxmid[0]<0?\"left\":\"right\",color:h.castOption(Me.bgcolor,ce.pts)||ce.color,borderColor:h.castOption(Me.bordercolor,ce.pts),fontFamily:h.castOption(pe.family,ce.pts),fontSize:h.castOption(pe.size,ce.pts),fontColor:h.castOption(pe.color,ce.pts),nameLength:h.castOption(Me.namelength,ce.pts),textAlign:h.castOption(Me.align,ce.pts),hovertemplate:h.castOption(Te.hovertemplate,ce.pts),hovertemplateLabels:ce,eventData:[p(ce,Te)]},{container:xe._hoverlayer.node(),outerContainer:xe._paper.node(),gd:J,inOut_bbox:ue}),ce.bbox=ue[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,J.emit(\"plotly_hover\",{points:[p(ce,Te)],event:g.event})}}),$.on(\"mouseout\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index],Ue=g.select(this).datum();ee._hasHoverEvent&&(ce.originalEvent=g.event,J.emit(\"plotly_unhover\",{points:[p(Ue,Te)],event:g.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(A.loneUnhover(xe._hoverlayer.node()),ee._hasHoverLabel=!1)}),$.on(\"click\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];J._dragging||xe.hovermode===!1||(J._hoverdata=[p(ce,Te)],A.click(J,g.event))})}function w($,J,X){var re=h.castOption($.outsidetextfont.color,J.pts)||h.castOption($.textfont.color,J.pts)||X.color,ae=h.castOption($.outsidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.outsidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.outsidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.outsidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.outsidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.outsidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.outsidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.outsidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re,family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function M($,J,X){var re=h.castOption($.insidetextfont.color,J.pts);!re&&$._input.textfont&&(re=h.castOption($._input.textfont.color,J.pts));var ae=h.castOption($.insidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.insidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.insidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.insidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.insidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.insidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.insidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.insidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re||S.contrast(J.color),family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function E($,J){for(var X,re,ae=0;ae<$.length;ae++)if(X=$[ae][0],re=X.trace,re.title.text){var j=re.title.text;re._meta&&(j=t.templateString(j,re._meta));var ee=e.tester.append(\"text\").attr(\"data-notex\",1).text(j).call(e.font,re.title.font).call(n.convertToTspans,J),ie=e.bBox(ee.node(),!0);X.titleBox={width:ie.width,height:ie.height},ee.remove()}}function m($,J,X){var re=X.r||J.rpx1,ae=J.rInscribed,j=J.startangle===J.stopangle;if(j)return{rCenter:1-ae,scale:0,rotate:0,textPosAngle:0};var ee=J.ring,ie=ee===1&&Math.abs(J.startangle-J.stopangle)===Math.PI*2,ce=J.halfangle,xe=J.midangle,Te=X.trace.insidetextorientation,Ue=Te===\"horizontal\",Ie=Te===\"tangential\",Ye=Te===\"radial\",it=Te===\"auto\",at=[],tt;if(!it){var ut=function(et,Lt){if(b(J,et)){var Et=Math.abs(et-J.startangle),Bt=Math.abs(et-J.stopangle),qt=Et=-4;Me-=2)ut(Math.PI*Me,\"tan\");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1),\"tan\")}if(Ue||Ye){for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1.5),\"rad\");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+.5),\"rad\")}}if(ie||it||Ue){var pe=Math.sqrt($.width*$.width+$.height*$.height);if(tt={scale:ae*re*2/pe,rCenter:1-ae,rotate:0},tt.textPosAngle=(J.startangle+J.stopangle)/2,tt.scale>=1)return tt;at.push(tt)}(it||Ye)&&(tt=v($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt)),(it||Ie)&&(tt=u($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt));for(var ue=0,Oe=0,rt=0;rt=1)break}return at[ue]}function b($,J){var X=$.startangle,re=$.stopangle;return X>J&&J>re||X0?1:-1)/2,y:j/(1+X*X/(re*re)),outside:!0}}function F($){var J=Math.sqrt($.titleBox.width*$.titleBox.width+$.titleBox.height*$.titleBox.height);return{x:$.cx,y:$.cy,scale:$.trace.hole*$.r*2/J,tx:0,ty:-$.titleBox.height/2+$.trace.title.font.size}}function B($,J){var X=1,re=1,ae,j=$.trace,ee={x:$.cx,y:$.cy},ie={tx:0,ty:0};ie.ty+=j.title.font.size,ae=N(j),j.title.position.indexOf(\"top\")!==-1?(ee.y-=(1+ae)*$.r,ie.ty-=$.titleBox.height):j.title.position.indexOf(\"bottom\")!==-1&&(ee.y+=(1+ae)*$.r);var ce=O($.r,$.trace.aspectratio),xe=J.w*(j.domain.x[1]-j.domain.x[0])/2;return j.title.position.indexOf(\"left\")!==-1?(xe=xe+ce,ee.x-=(1+ae)*ce,ie.tx+=$.titleBox.width/2):j.title.position.indexOf(\"center\")!==-1?xe*=2:j.title.position.indexOf(\"right\")!==-1&&(xe=xe+ce,ee.x+=(1+ae)*ce,ie.tx-=$.titleBox.width/2),X=xe/$.titleBox.width,re=I($,J)/$.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(X,re),tx:ie.tx,ty:ie.ty}}function O($,J){return $/(J===void 0?1:J)}function I($,J){var X=$.trace,re=J.h*(X.domain.y[1]-X.domain.y[0]);return Math.min($.titleBox.height,re/2)}function N($){var J=$.pull;if(!J)return 0;var X;if(t.isArrayOrTypedArray(J))for(J=0,X=0;X<$.pull.length;X++)$.pull[X]>J&&(J=$.pull[X]);return J}function U($,J){var X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it;function at(pe,ue){return pe.pxmid[1]-ue.pxmid[1]}function tt(pe,ue){return ue.pxmid[1]-pe.pxmid[1]}function ut(pe,ue){ue||(ue={});var Oe=ue.labelExtraY+(re?ue.yLabelMax:ue.yLabelMin),rt=re?pe.yLabelMin:pe.yLabelMax,ot=re?pe.yLabelMax:pe.yLabelMin,et=pe.cyFinal+ee(pe.px0[1],pe.px1[1]),Lt=Oe-rt,Et,Bt,qt,fr,ar,Rr;if(Lt*ce>0&&(pe.labelExtraY=Lt),!!t.isArrayOrTypedArray(J.pull))for(Bt=0;Bt=(h.castOption(J.pull,qt.pts)||0))&&((pe.pxmid[1]-qt.pxmid[1])*ce>0?(fr=qt.cyFinal+ee(qt.px0[1],qt.px1[1]),Lt=fr-rt-pe.labelExtraY,Lt*ce>0&&(pe.labelExtraY+=Lt)):(ot+pe.labelExtraY-et)*ce>0&&(Et=3*ie*Math.abs(Bt-Ue.indexOf(pe)),ar=qt.cxFinal+j(qt.px0[0],qt.px1[0]),Rr=ar+Et-(pe.cxFinal+pe.pxmid[0])-pe.labelExtraX,Rr*ie>0&&(pe.labelExtraX+=Rr)))}for(re=0;re<2;re++)for(ae=re?at:tt,ee=re?Math.max:Math.min,ce=re?1:-1,X=0;X<2;X++){for(j=X?Math.max:Math.min,ie=X?1:-1,xe=$[re][X],xe.sort(ae),Te=$[1-re][X],Ue=Te.concat(xe),Ye=[],Ie=0;Ie1?(xe=X.r,Te=xe/ae.aspectratio):(Te=X.r,xe=Te*ae.aspectratio),xe*=(1+ae.baseratio)/2,ce=xe*Te}ee=Math.min(ee,ce/X.vTotal)}for(re=0;re<$.length;re++)if(X=$[re][0],ae=X.trace,ae.scalegroup===ie){var Ue=ee*X.vTotal;ae.type===\"funnelarea\"&&(Ue/=(1+ae.baseratio)/2,Ue/=ae.aspectratio),X.r=Math.sqrt(Ue)}}}function le($){var J=$[0],X=J.r,re=J.trace,ae=h.getRotationAngle(re.rotation),j=2*Math.PI/J.vTotal,ee=\"px0\",ie=\"px1\",ce,xe,Te;if(re.direction===\"counterclockwise\"){for(ce=0;ce<$.length&&$[ce].hidden;ce++);if(ce===$.length)return;ae+=j*$[ce].v,j*=-1,ee=\"px1\",ie=\"px0\"}for(Te=se(X,ae),ce=0;ce<$.length;ce++)xe=$[ce],!xe.hidden&&(xe[ee]=Te,xe.startangle=ae,ae+=j*xe.v/2,xe.pxmid=se(X,ae),xe.midangle=ae,ae+=j*xe.v/2,Te=se(X,ae),xe.stopangle=ae,xe[ie]=Te,xe.largeArc=xe.v>J.vTotal/2?1:0,xe.halfangle=Math.PI*Math.min(xe.v/J.vTotal,.5),xe.ring=1-re.hole,xe.rInscribed=L(xe,J))}function se($,J){return[$*Math.sin(J),-$*Math.cos(J)]}function fe($,J,X){var re=$._fullLayout,ae=X.trace,j=ae.texttemplate,ee=ae.textinfo;if(!j&&ee&&ee!==\"none\"){var ie=ee.split(\"+\"),ce=function(ue){return ie.indexOf(ue)!==-1},xe=ce(\"label\"),Te=ce(\"text\"),Ue=ce(\"value\"),Ie=ce(\"percent\"),Ye=re.separators,it;if(it=xe?[J.label]:[],Te){var at=h.getFirstFilled(ae.text,J.pts);d(at)&&it.push(at)}Ue&&it.push(h.formatPieValue(J.v,Ye)),Ie&&it.push(h.formatPiePercent(J.v/X.vTotal,Ye)),J.text=it.join(\"
\")}function tt(ue){return{label:ue.label,value:ue.v,valueLabel:h.formatPieValue(ue.v,re.separators),percent:ue.v/X.vTotal,percentLabel:h.formatPiePercent(ue.v/X.vTotal,re.separators),color:ue.color,text:ue.text,customdata:t.castOption(ae,ue.i,\"customdata\")}}if(j){var ut=t.castOption(ae,J.i,\"texttemplate\");if(!ut)J.text=\"\";else{var Me=tt(J),pe=h.getFirstFilled(ae.text,J.pts);(d(pe)||pe===\"\")&&(Me.text=pe),J.text=t.texttemplateString(ut,Me,$._fullLayout._d3locale,Me,ae._meta||{})}}}function G($,J){var X=$.rotate*Math.PI/180,re=Math.cos(X),ae=Math.sin(X),j=(J.left+J.right)/2,ee=(J.top+J.bottom)/2;$.textX=j*re-ee*ae,$.textY=j*ae+ee*re,$.noCenter=!0}H.exports={plot:T,formatSliceLabel:fe,transformInsideText:m,determineInsideTextFont:M,positionTitleOutside:B,prerenderTitles:E,layoutAreas:W,attachFxHandlers:_,computeTransform:G}}}),rP=ke({\"src/traces/pie/style.js\"(Z,H){\"use strict\";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._pielayer.selectAll(\".trace\");A(e,t,\"pie\"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll(\"path.surface\").each(function(a){g.select(this).call(x,a,n,e)})})}}}),nP=ke({\"src/traces/pie/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"pie\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),iP=ke({\"src/traces/pie/index.js\"(Z,H){\"use strict\";H.exports={attributes:Vm(),supplyDefaults:qm().supplyDefaults,supplyLayoutDefaults:eP(),layoutAttributes:cx(),calc:sy().calc,crossTraceCalc:sy().crossTraceCalc,plot:fx().plot,style:rP(),styleOne:Wg(),moduleType:\"trace\",name:\"pie\",basePlotModule:nP(),categories:[\"pie-like\",\"pie\",\"showLegend\"],meta:{}}}}),aP=ke({\"lib/pie.js\"(Z,H){\"use strict\";H.exports=iP()}}),oP=ke({\"src/traces/sunburst/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"sunburst\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),U3=ke({\"src/traces/sunburst/constants.js\"(Z,H){\"use strict\";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\"linear\",eventDataKeys:[\"currentPath\",\"root\",\"entry\",\"percentRoot\",\"percentEntry\",\"percentParent\"]}}}),T0=ke({\"src/traces/sunburst/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Rs().hovertemplateAttrs,A=Rs().texttemplateAttrs,S=ou(),e=Yu().attributes,t=Vm(),r=U3(),o=To().extendFlat,n=xh().pattern;H.exports={labels:{valType:\"data_array\",editType:\"calc\"},parents:{valType:\"data_array\",editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},branchvalues:{valType:\"enumerated\",values:[\"remainder\",\"total\"],dflt:\"remainder\",editType:\"calc\"},count:{valType:\"flaglist\",flags:[\"branches\",\"leaves\"],dflt:\"leaves\",editType:\"calc\"},level:{valType:\"any\",editType:\"plot\",anim:!0},maxdepth:{valType:\"integer\",editType:\"plot\",dflt:-1},marker:o({colors:{valType:\"data_array\",editType:\"calc\"},line:{color:o({},t.marker.line.color,{dflt:null}),width:o({},t.marker.line.width,{dflt:1}),editType:\"calc\"},pattern:n,editType:\"calc\"},S(\"marker\",{colorAttr:\"colors\",anim:!1})),leaf:{opacity:{valType:\"number\",editType:\"style\",min:0,max:1},editType:\"plot\"},text:t.text,textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"current path\",\"percent root\",\"percent entry\",\"percent parent\"],extras:[\"none\"],editType:\"plot\"},texttemplate:A({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:t.hovertext,hoverinfo:o({},g.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"name\",\"current path\",\"percent root\",\"percent entry\",\"percent parent\"],dflt:\"label+text+value+name\"}),hovertemplate:x({},{keys:r.eventDataKeys}),textfont:t.textfont,insidetextorientation:t.insidetextorientation,insidetextfont:t.insidetextfont,outsidetextfont:o({},t.outsidetextfont,{}),rotation:{valType:\"angle\",dflt:0,editType:\"plot\"},sort:t.sort,root:{color:{valType:\"color\",editType:\"calc\",dflt:\"rgba(0,0,0,0)\"},editType:\"calc\"},domain:e({name:\"sunburst\",trace:!0,editType:\"calc\"})}}}),j3=ke({\"src/traces/sunburst/layout_attributes.js\"(Z,H){\"use strict\";H.exports={sunburstcolorway:{valType:\"colorlist\",editType:\"calc\"},extendsunburstcolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),sP=ke({\"src/traces/sunburst/defaults.js\"(Z,H){\"use strict\";var g=un(),x=T0(),A=Yu().defaults,S=Od().handleText,e=qm().handleMarkerDefaults,t=ku(),r=t.hasColorscale,o=t.handleDefaults;H.exports=function(i,a,s,c){function h(M,E){return g.coerce(i,a,x,M,E)}var p=h(\"labels\"),d=h(\"parents\");if(!p||!p.length||!d||!d.length){a.visible=!1;return}var T=h(\"values\");T&&T.length?h(\"branchvalues\"):h(\"count\"),h(\"level\"),h(\"maxdepth\"),e(i,a,c,h);var l=a._hasColorscale=r(i,\"marker\",\"colors\")||(i.marker||{}).coloraxis;l&&o(i,a,c,h,{prefix:\"marker.\",cLetter:\"c\"}),h(\"leaf.opacity\",l?1:.7);var _=h(\"text\");h(\"texttemplate\"),a.texttemplate||h(\"textinfo\",g.isArrayOrTypedArray(_)?\"text+label\":\"label\"),h(\"hovertext\"),h(\"hovertemplate\");var w=\"auto\";S(i,a,c,h,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h(\"insidetextorientation\"),h(\"sort\"),h(\"rotation\"),h(\"root.color\"),A(a,c,h),a._length=null}}}),lP=ke({\"src/traces/sunburst/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=j3();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"sunburstcolorway\",e.colorway),t(\"extendsunburstcolors\")}}}),A0=ke({\"node_modules/d3-hierarchy/dist/d3-hierarchy.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(je,Se){return je.parent===Se.parent?1:2}function A(je){return je.reduce(S,0)/je.length}function S(je,Se){return je+Se.x}function e(je){return 1+je.reduce(t,0)}function t(je,Se){return Math.max(je,Se.y)}function r(je){for(var Se;Se=je.children;)je=Se[0];return je}function o(je){for(var Se;Se=je.children;)je=Se[Se.length-1];return je}function n(){var je=x,Se=1,He=1,Ee=!1;function we(Le){var nt,pt=0;Le.eachAfter(function($t){var ur=$t.children;ur?($t.x=A(ur),$t.y=e(ur)):($t.x=nt?pt+=je($t,nt):0,$t.y=0,nt=$t)});var bt=r(Le),Rt=o(Le),Nt=bt.x-je(bt,Rt)/2,Xt=Rt.x+je(Rt,bt)/2;return Le.eachAfter(Ee?function($t){$t.x=($t.x-Le.x)*Se,$t.y=(Le.y-$t.y)*He}:function($t){$t.x=($t.x-Nt)/(Xt-Nt)*Se,$t.y=(1-(Le.y?$t.y/Le.y:1))*He})}return we.separation=function(Le){return arguments.length?(je=Le,we):je},we.size=function(Le){return arguments.length?(Ee=!1,Se=+Le[0],He=+Le[1],we):Ee?null:[Se,He]},we.nodeSize=function(Le){return arguments.length?(Ee=!0,Se=+Le[0],He=+Le[1],we):Ee?[Se,He]:null},we}function i(je){var Se=0,He=je.children,Ee=He&&He.length;if(!Ee)Se=1;else for(;--Ee>=0;)Se+=He[Ee].value;je.value=Se}function a(){return this.eachAfter(i)}function s(je){var Se=this,He,Ee=[Se],we,Le,nt;do for(He=Ee.reverse(),Ee=[];Se=He.pop();)if(je(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;--we)He.push(Ee[we]);return this}function h(je){for(var Se=this,He=[Se],Ee=[],we,Le,nt;Se=He.pop();)if(Ee.push(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;)He+=Ee[we].value;Se.value=He})}function d(je){return this.eachBefore(function(Se){Se.children&&Se.children.sort(je)})}function T(je){for(var Se=this,He=l(Se,je),Ee=[Se];Se!==He;)Se=Se.parent,Ee.push(Se);for(var we=Ee.length;je!==He;)Ee.splice(we,0,je),je=je.parent;return Ee}function l(je,Se){if(je===Se)return je;var He=je.ancestors(),Ee=Se.ancestors(),we=null;for(je=He.pop(),Se=Ee.pop();je===Se;)we=je,je=He.pop(),Se=Ee.pop();return we}function _(){for(var je=this,Se=[je];je=je.parent;)Se.push(je);return Se}function w(){var je=[];return this.each(function(Se){je.push(Se)}),je}function M(){var je=[];return this.eachBefore(function(Se){Se.children||je.push(Se)}),je}function E(){var je=this,Se=[];return je.each(function(He){He!==je&&Se.push({source:He.parent,target:He})}),Se}function m(je,Se){var He=new f(je),Ee=+je.value&&(He.value=je.value),we,Le=[He],nt,pt,bt,Rt;for(Se==null&&(Se=v);we=Le.pop();)if(Ee&&(we.value=+we.data.value),(pt=Se(we.data))&&(Rt=pt.length))for(we.children=new Array(Rt),bt=Rt-1;bt>=0;--bt)Le.push(nt=we.children[bt]=new f(pt[bt])),nt.parent=we,nt.depth=we.depth+1;return He.eachBefore(y)}function b(){return m(this).eachBefore(u)}function v(je){return je.children}function u(je){je.data=je.data.data}function y(je){var Se=0;do je.height=Se;while((je=je.parent)&&je.height<++Se)}function f(je){this.data=je,this.depth=this.height=0,this.parent=null}f.prototype=m.prototype={constructor:f,count:a,each:s,eachAfter:h,eachBefore:c,sum:p,sort:d,path:T,ancestors:_,descendants:w,leaves:M,links:E,copy:b};var P=Array.prototype.slice;function L(je){for(var Se=je.length,He,Ee;Se;)Ee=Math.random()*Se--|0,He=je[Se],je[Se]=je[Ee],je[Ee]=He;return je}function z(je){for(var Se=0,He=(je=L(P.call(je))).length,Ee=[],we,Le;Se0&&He*He>Ee*Ee+we*we}function I(je,Se){for(var He=0;Hebt?(we=(Rt+bt-Le)/(2*Rt),pt=Math.sqrt(Math.max(0,bt/Rt-we*we)),He.x=je.x-we*Ee-pt*nt,He.y=je.y-we*nt+pt*Ee):(we=(Rt+Le-bt)/(2*Rt),pt=Math.sqrt(Math.max(0,Le/Rt-we*we)),He.x=Se.x+we*Ee-pt*nt,He.y=Se.y+we*nt+pt*Ee)):(He.x=Se.x+He.r,He.y=Se.y)}function se(je,Se){var He=je.r+Se.r-1e-6,Ee=Se.x-je.x,we=Se.y-je.y;return He>0&&He*He>Ee*Ee+we*we}function fe(je){var Se=je._,He=je.next._,Ee=Se.r+He.r,we=(Se.x*He.r+He.x*Se.r)/Ee,Le=(Se.y*He.r+He.y*Se.r)/Ee;return we*we+Le*Le}function G(je){this._=je,this.next=null,this.previous=null}function $(je){if(!(we=je.length))return 0;var Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt;if(Se=je[0],Se.x=0,Se.y=0,!(we>1))return Se.r;if(He=je[1],Se.x=-He.r,He.x=Se.r,He.y=0,!(we>2))return Se.r+He.r;le(He,Se,Ee=je[2]),Se=new G(Se),He=new G(He),Ee=new G(Ee),Se.next=Ee.previous=He,He.next=Se.previous=Ee,Ee.next=He.previous=Se;e:for(pt=3;pt0)throw new Error(\"cycle\");return pt}return He.id=function(Ee){return arguments.length?(je=re(Ee),He):je},He.parentId=function(Ee){return arguments.length?(Se=re(Ee),He):Se},He}function ue(je,Se){return je.parent===Se.parent?1:2}function Oe(je){var Se=je.children;return Se?Se[0]:je.t}function rt(je){var Se=je.children;return Se?Se[Se.length-1]:je.t}function ot(je,Se,He){var Ee=He/(Se.i-je.i);Se.c-=Ee,Se.s+=He,je.c+=Ee,Se.z+=He,Se.m+=He}function et(je){for(var Se=0,He=0,Ee=je.children,we=Ee.length,Le;--we>=0;)Le=Ee[we],Le.z+=Se,Le.m+=Se,Se+=Le.s+(He+=Le.c)}function Lt(je,Se,He){return je.a.parent===Se.parent?je.a:He}function Et(je,Se){this._=je,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Se}Et.prototype=Object.create(f.prototype);function Bt(je){for(var Se=new Et(je,0),He,Ee=[Se],we,Le,nt,pt;He=Ee.pop();)if(Le=He._.children)for(He.children=new Array(pt=Le.length),nt=pt-1;nt>=0;--nt)Ee.push(we=He.children[nt]=new Et(Le[nt],nt)),we.parent=He;return(Se.parent=new Et(null,0)).children=[Se],Se}function qt(){var je=ue,Se=1,He=1,Ee=null;function we(Rt){var Nt=Bt(Rt);if(Nt.eachAfter(Le),Nt.parent.m=-Nt.z,Nt.eachBefore(nt),Ee)Rt.eachBefore(bt);else{var Xt=Rt,$t=Rt,ur=Rt;Rt.eachBefore(function(ni){ni.x$t.x&&($t=ni),ni.depth>ur.depth&&(ur=ni)});var pn=Xt===$t?1:je(Xt,$t)/2,Rn=pn-Xt.x,Nn=Se/($t.x+pn+Rn),On=He/(ur.depth||1);Rt.eachBefore(function(ni){ni.x=(ni.x+Rn)*Nn,ni.y=ni.depth*On})}return Rt}function Le(Rt){var Nt=Rt.children,Xt=Rt.parent.children,$t=Rt.i?Xt[Rt.i-1]:null;if(Nt){et(Rt);var ur=(Nt[0].z+Nt[Nt.length-1].z)/2;$t?(Rt.z=$t.z+je(Rt._,$t._),Rt.m=Rt.z-ur):Rt.z=ur}else $t&&(Rt.z=$t.z+je(Rt._,$t._));Rt.parent.A=pt(Rt,$t,Rt.parent.A||Xt[0])}function nt(Rt){Rt._.x=Rt.z+Rt.parent.m,Rt.m+=Rt.parent.m}function pt(Rt,Nt,Xt){if(Nt){for(var $t=Rt,ur=Rt,pn=Nt,Rn=$t.parent.children[0],Nn=$t.m,On=ur.m,ni=pn.m,zn=Rn.m,Qn;pn=rt(pn),$t=Oe($t),pn&&$t;)Rn=Oe(Rn),ur=rt(ur),ur.a=Rt,Qn=pn.z+ni-$t.z-Nn+je(pn._,$t._),Qn>0&&(ot(Lt(pn,Rt,Xt),Rt,Qn),Nn+=Qn,On+=Qn),ni+=pn.m,Nn+=$t.m,zn+=Rn.m,On+=ur.m;pn&&!rt(ur)&&(ur.t=pn,ur.m+=ni-On),$t&&!Oe(Rn)&&(Rn.t=$t,Rn.m+=Nn-zn,Xt=Rt)}return Xt}function bt(Rt){Rt.x*=Se,Rt.y=Rt.depth*He}return we.separation=function(Rt){return arguments.length?(je=Rt,we):je},we.size=function(Rt){return arguments.length?(Ee=!1,Se=+Rt[0],He=+Rt[1],we):Ee?null:[Se,He]},we.nodeSize=function(Rt){return arguments.length?(Ee=!0,Se=+Rt[0],He=+Rt[1],we):Ee?[Se,He]:null},we}function fr(je,Se,He,Ee,we){for(var Le=je.children,nt,pt=-1,bt=Le.length,Rt=je.value&&(we-He)/je.value;++ptni&&(ni=Rt),Zt=Nn*Nn*gi,zn=Math.max(ni/Zt,Zt/On),zn>Qn){Nn-=Rt;break}Qn=zn}nt.push(bt={value:Nn,dice:ur1?Ee:1)},He}(ar);function br(){var je=gr,Se=!1,He=1,Ee=1,we=[0],Le=ae,nt=ae,pt=ae,bt=ae,Rt=ae;function Nt($t){return $t.x0=$t.y0=0,$t.x1=He,$t.y1=Ee,$t.eachBefore(Xt),we=[0],Se&&$t.eachBefore(Ue),$t}function Xt($t){var ur=we[$t.depth],pn=$t.x0+ur,Rn=$t.y0+ur,Nn=$t.x1-ur,On=$t.y1-ur;Nn=$t-1){var ni=Le[Xt];ni.x0=pn,ni.y0=Rn,ni.x1=Nn,ni.y1=On;return}for(var zn=Rt[Xt],Qn=ur/2+zn,gi=Xt+1,Zt=$t-1;gi>>1;Rt[Ft]On-Rn){var wr=(pn*Vt+Nn*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,wr,On),Nt(gi,$t,Vt,wr,Rn,Nn,On)}else{var $r=(Rn*Vt+On*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,Nn,$r),Nt(gi,$t,Vt,pn,$r,Nn,On)}}}function Be(je,Se,He,Ee,we){(je.depth&1?fr:Ie)(je,Se,He,Ee,we)}var Ke=function je(Se){function He(Ee,we,Le,nt,pt){if((bt=Ee._squarify)&&bt.ratio===Se)for(var bt,Rt,Nt,Xt,$t=-1,ur,pn=bt.length,Rn=Ee.value;++$t1?Ee:1)},He}(ar);g.cluster=n,g.hierarchy=m,g.pack=ie,g.packEnclose=z,g.packSiblings=J,g.partition=Ye,g.stratify=pe,g.tree=qt,g.treemap=br,g.treemapBinary=_t,g.treemapDice=Ie,g.treemapResquarify=Ke,g.treemapSlice=fr,g.treemapSliceDice=Be,g.treemapSquarify=gr,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),M0=ke({\"src/traces/sunburst/calc.js\"(Z){\"use strict\";var H=A0(),g=Yn(),x=un(),A=ku().makeColorScaleFuncFromTrace,S=sy().makePullColorFn,e=sy().generateExtendedColors,t=ku().calc,r=Hi().ALMOST_EQUAL,o={},n={},i={};Z.calc=function(s,c){var h=s._fullLayout,p=c.ids,d=x.isArrayOrTypedArray(p),T=c.labels,l=c.parents,_=c.values,w=x.isArrayOrTypedArray(_),M=[],E={},m={},b=function(J,X){E[J]?E[J].push(X):E[J]=[X],m[X]=1},v=function(J){return J||typeof J==\"number\"},u=function(J){return!w||g(_[J])&&_[J]>=0},y,f,P;d?(y=Math.min(p.length,l.length),f=function(J){return v(p[J])&&u(J)},P=function(J){return String(p[J])}):(y=Math.min(T.length,l.length),f=function(J){return v(T[J])&&u(J)},P=function(J){return String(T[J])}),w&&(y=Math.min(y,_.length));for(var L=0;L1){for(var N=x.randstr(),U=0;U>8&15|H>>4&240,H>>4&15|H&240,(H&15)<<4|H&15,1):g===8?S0(H>>24&255,H>>16&255,H>>8&255,(H&255)/255):g===4?S0(H>>12&15|H>>8&240,H>>8&15|H>>4&240,H>>4&15|H&240,((H&15)<<4|H&15)/255):null):(H=J3.exec(Z))?new Th(H[1],H[2],H[3],1):(H=$3.exec(Z))?new Th(H[1]*255/100,H[2]*255/100,H[3]*255/100,1):(H=Q3.exec(Z))?S0(H[1],H[2],H[3],H[4]):(H=eT.exec(Z))?S0(H[1]*255/100,H[2]*255/100,H[3]*255/100,H[4]):(H=tT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,1):(H=rT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,H[4]):mx.hasOwnProperty(Z)?H3(mx[Z]):Z===\"transparent\"?new Th(NaN,NaN,NaN,0):null}function H3(Z){return new Th(Z>>16&255,Z>>8&255,Z&255,1)}function S0(Z,H,g,x){return x<=0&&(Z=H=g=NaN),new Th(Z,H,g,x)}function dx(Z){return Z instanceof Qv||(Z=uy(Z)),Z?(Z=Z.rgb(),new Th(Z.r,Z.g,Z.b,Z.opacity)):new Th}function E0(Z,H,g,x){return arguments.length===1?dx(Z):new Th(Z,H,g,x??1)}function Th(Z,H,g,x){this.r=+Z,this.g=+H,this.b=+g,this.opacity=+x}function G3(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}`}function fP(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}${Vp((isNaN(this.opacity)?1:this.opacity)*255)}`}function W3(){let Z=C0(this.opacity);return`${Z===1?\"rgb(\":\"rgba(\"}${jp(this.r)}, ${jp(this.g)}, ${jp(this.b)}${Z===1?\")\":`, ${Z})`}`}function C0(Z){return isNaN(Z)?1:Math.max(0,Math.min(1,Z))}function jp(Z){return Math.max(0,Math.min(255,Math.round(Z)||0))}function Vp(Z){return Z=jp(Z),(Z<16?\"0\":\"\")+Z.toString(16)}function X3(Z,H,g,x){return x<=0?Z=H=g=NaN:g<=0||g>=1?Z=H=NaN:H<=0&&(Z=NaN),new Kd(Z,H,g,x)}function Z3(Z){if(Z instanceof Kd)return new Kd(Z.h,Z.s,Z.l,Z.opacity);if(Z instanceof Qv||(Z=uy(Z)),!Z)return new Kd;if(Z instanceof Kd)return Z;Z=Z.rgb();var H=Z.r/255,g=Z.g/255,x=Z.b/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=NaN,t=S-A,r=(S+A)/2;return t?(H===S?e=(g-x)/t+(g0&&r<1?0:e,new Kd(e,t,r,Z.opacity)}function vx(Z,H,g,x){return arguments.length===1?Z3(Z):new Kd(Z,H,g,x??1)}function Kd(Z,H,g,x){this.h=+Z,this.s=+H,this.l=+g,this.opacity=+x}function Y3(Z){return Z=(Z||0)%360,Z<0?Z+360:Z}function k0(Z){return Math.max(0,Math.min(1,Z||0))}function px(Z,H,g){return(Z<60?H+(g-H)*Z/60:Z<180?g:Z<240?H+(g-H)*(240-Z)/60:H)*255}var ep,qp,Hp,Gm,Jd,K3,J3,$3,Q3,eT,tT,rT,mx,gx=Er({\"node_modules/d3-color/src/color.js\"(){hx(),ep=.7,qp=1/ep,Hp=\"\\\\s*([+-]?\\\\d+)\\\\s*\",Gm=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",Jd=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",K3=/^#([0-9a-f]{3,8})$/,J3=new RegExp(`^rgb\\\\(${Hp},${Hp},${Hp}\\\\)$`),$3=new RegExp(`^rgb\\\\(${Jd},${Jd},${Jd}\\\\)$`),Q3=new RegExp(`^rgba\\\\(${Hp},${Hp},${Hp},${Gm}\\\\)$`),eT=new RegExp(`^rgba\\\\(${Jd},${Jd},${Jd},${Gm}\\\\)$`),tT=new RegExp(`^hsl\\\\(${Gm},${Jd},${Jd}\\\\)$`),rT=new RegExp(`^hsla\\\\(${Gm},${Jd},${Jd},${Gm}\\\\)$`),mx={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Hm(Qv,uy,{copy(Z){return Object.assign(new this.constructor,this,Z)},displayable(){return this.rgb().displayable()},hex:V3,formatHex:V3,formatHex8:uP,formatHsl:cP,formatRgb:q3,toString:q3}),Hm(Th,E0,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},rgb(){return this},clamp(){return new Th(jp(this.r),jp(this.g),jp(this.b),C0(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:G3,formatHex:G3,formatHex8:fP,formatRgb:W3,toString:W3})),Hm(Kd,vx,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},rgb(){var Z=this.h%360+(this.h<0)*360,H=isNaN(Z)||isNaN(this.s)?0:this.s,g=this.l,x=g+(g<.5?g:1-g)*H,A=2*g-x;return new Th(px(Z>=240?Z-240:Z+120,A,x),px(Z,A,x),px(Z<120?Z+240:Z-120,A,x),this.opacity)},clamp(){return new Kd(Y3(this.h),k0(this.s),k0(this.l),C0(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(){let Z=C0(this.opacity);return`${Z===1?\"hsl(\":\"hsla(\"}${Y3(this.h)}, ${k0(this.s)*100}%, ${k0(this.l)*100}%${Z===1?\")\":`, ${Z})`}`}}))}}),yx,_x,nT=Er({\"node_modules/d3-color/src/math.js\"(){yx=Math.PI/180,_x=180/Math.PI}});function iT(Z){if(Z instanceof pv)return new pv(Z.l,Z.a,Z.b,Z.opacity);if(Z instanceof Iv)return aT(Z);Z instanceof Th||(Z=dx(Z));var H=Ax(Z.r),g=Ax(Z.g),x=Ax(Z.b),A=bx((.2225045*H+.7168786*g+.0606169*x)/Ex),S,e;return H===g&&g===x?S=e=A:(S=bx((.4360747*H+.3850649*g+.1430804*x)/Sx),e=bx((.0139322*H+.0971045*g+.7141733*x)/Cx)),new pv(116*A-16,500*(S-A),200*(A-e),Z.opacity)}function xx(Z,H,g,x){return arguments.length===1?iT(Z):new pv(Z,H,g,x??1)}function pv(Z,H,g,x){this.l=+Z,this.a=+H,this.b=+g,this.opacity=+x}function bx(Z){return Z>oT?Math.pow(Z,.3333333333333333):Z/Lx+kx}function wx(Z){return Z>Gp?Z*Z*Z:Lx*(Z-kx)}function Tx(Z){return 255*(Z<=.0031308?12.92*Z:1.055*Math.pow(Z,.4166666666666667)-.055)}function Ax(Z){return(Z/=255)<=.04045?Z/12.92:Math.pow((Z+.055)/1.055,2.4)}function hP(Z){if(Z instanceof Iv)return new Iv(Z.h,Z.c,Z.l,Z.opacity);if(Z instanceof pv||(Z=iT(Z)),Z.a===0&&Z.b===0)return new Iv(NaN,0=1?(g=1,H-1):Math.floor(g*H),A=Z[x],S=Z[x+1],e=x>0?Z[x-1]:2*A-S,t=x()=>Z}});function hT(Z,H){return function(g){return Z+g*H}}function mP(Z,H,g){return Z=Math.pow(Z,g),H=Math.pow(H,g)-Z,g=1/g,function(x){return Math.pow(Z+x*H,g)}}function I0(Z,H){var g=H-Z;return g?hT(Z,g>180||g<-180?g-360*Math.round(g/360):g):hy(isNaN(Z)?H:Z)}function gP(Z){return(Z=+Z)==1?Ah:function(H,g){return g-H?mP(H,g,Z):hy(isNaN(H)?g:H)}}function Ah(Z,H){var g=H-Z;return g?hT(Z,g):hy(isNaN(Z)?H:Z)}var Zm=Er({\"node_modules/d3-interpolate/src/color.js\"(){fT()}});function dT(Z){return function(H){var g=H.length,x=new Array(g),A=new Array(g),S=new Array(g),e,t;for(e=0;eg&&(S=H.slice(g,S),t[e]?t[e]+=S:t[++e]=S),(x=x[0])===(A=A[0])?t[e]?t[e]+=A:t[++e]=A:(t[++e]=null,r.push({i:e,x:mv(x,A)})),g=F0.lastIndex;return g180?n+=360:n-o>180&&(o+=360),a.push({i:i.push(A(i)+\"rotate(\",null,x)-2,x:mv(o,n)})):n&&i.push(A(i)+\"rotate(\"+n+x)}function t(o,n,i,a){o!==n?a.push({i:i.push(A(i)+\"skewX(\",null,x)-2,x:mv(o,n)}):n&&i.push(A(i)+\"skewX(\"+n+x)}function r(o,n,i,a,s,c){if(o!==i||n!==a){var h=s.push(A(s)+\"scale(\",null,\",\",null,\")\");c.push({i:h-4,x:mv(o,i)},{i:h-2,x:mv(n,a)})}else(i!==1||a!==1)&&s.push(A(s)+\"scale(\"+i+\",\"+a+\")\")}return function(o,n){var i=[],a=[];return o=Z(o),n=Z(n),S(o.translateX,o.translateY,n.translateX,n.translateY,i,a),e(o.rotate,n.rotate,i,a),t(o.skewX,n.skewX,i,a),r(o.scaleX,o.scaleY,n.scaleX,n.scaleY,i,a),o=n=null,function(s){for(var c=-1,h=a.length,p;++cO0,interpolateArray:()=>yP,interpolateBasis:()=>lT,interpolateBasisClosed:()=>uT,interpolateCubehelix:()=>UT,interpolateCubehelixLong:()=>jT,interpolateDate:()=>xT,interpolateDiscrete:()=>bP,interpolateHcl:()=>OT,interpolateHclLong:()=>BT,interpolateHsl:()=>DT,interpolateHslLong:()=>zT,interpolateHue:()=>TP,interpolateLab:()=>FP,interpolateNumber:()=>mv,interpolateNumberArray:()=>Ox,interpolateObject:()=>wT,interpolateRgb:()=>R0,interpolateRgbBasis:()=>vT,interpolateRgbBasisClosed:()=>pT,interpolateRound:()=>MP,interpolateString:()=>AT,interpolateTransformCss:()=>CT,interpolateTransformSvg:()=>kT,interpolateZoom:()=>IT,piecewise:()=>UP,quantize:()=>VP});var Ym=Er({\"node_modules/d3-interpolate/src/index.js\"(){B0(),_T(),Fx(),cT(),bT(),wP(),AP(),D0(),Bx(),TT(),SP(),MT(),PP(),DP(),mT(),zP(),OP(),BP(),NP(),jP(),qP()}}),Ux=ke({\"src/traces/sunburst/fill_one.js\"(Z,H){\"use strict\";var g=$o(),x=eo();H.exports=function(S,e,t,r,o){var n=e.data.data,i=n.i,a=o||n.color;if(i>=0){e.i=n.i;var s=t.marker;s.pattern?(!s.colors||!s.pattern.shape)&&(s.color=a,e.color=a):(s.color=a,e.color=a),g.pointStyle(S,t,r,e)}else x.fill(S,a)}}}),VT=ke({\"src/traces/sunburst/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._sunburstlayer.selectAll(\".trace\");S(o,n,\"sunburst\"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style(\"opacity\",c.opacity),a.selectAll(\"path.surface\").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,\"marker.line.color\")||x.defaultLine,d=A.castOption(i,h,\"marker.line.width\")||0;o.call(e,n,i,a).style(\"stroke-width\",d).call(x.stroke,p).style(\"opacity\",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),tp=ke({\"src/traces/sunburst/helpers.js\"(Z){\"use strict\";var H=un(),g=eo(),x=uv(),A=Fp();Z.findEntryWithLevel=function(r,o){var n;return o&&r.eachAfter(function(i){if(Z.getPtId(i)===o)return n=i.copy()}),n||r},Z.findEntryWithChild=function(r,o){var n;return r.eachAfter(function(i){for(var a=i.children||[],s=0;s0)},Z.getMaxDepth=function(r){return r.maxdepth>=0?r.maxdepth:1/0},Z.isHeader=function(r,o){return!(Z.isLeaf(r)||r.depth===o._maxDepth-1)};function t(r){return r.data.data.pid}Z.getParent=function(r,o){return Z.findEntryWithLevel(r,t(o))},Z.listPath=function(r,o){var n=r.parent;if(!n)return[];var i=o?[n.data[o]]:[n];return Z.listPath(n,o).concat(i)},Z.getPath=function(r){return Z.listPath(r,\"label\").join(\"/\")+\"/\"},Z.formatValue=A.formatPieValue,Z.formatPercent=function(r,o){var n=H.formatPercent(r,0);return n===\"0%\"&&(n=A.formatPiePercent(r,o)),n}}}),j0=ke({\"src/traces/sunburst/fx.js\"(Z,H){\"use strict\";var g=_i(),x=lo(),A=gd().appendArrayPointValue,S=Ec(),e=un(),t=jg(),r=tp(),o=Fp(),n=o.formatPieValue;H.exports=function(s,c,h,p,d){var T=p[0],l=T.trace,_=T.hierarchy,w=l.type===\"sunburst\",M=l.type===\"treemap\"||l.type===\"icicle\";\"_hasHoverLabel\"in l||(l._hasHoverLabel=!1),\"_hasHoverEvent\"in l||(l._hasHoverEvent=!1);var E=function(v){var u=h._fullLayout;if(!(h._dragging||u.hovermode===!1)){var y=h._fullData[l.index],f=v.data.data,P=f.i,L=r.isHierarchyRoot(v),z=r.getParent(_,v),F=r.getValue(v),B=function(ee){return e.castOption(y,P,ee)},O=B(\"hovertemplate\"),I=S.castHoverinfo(y,u,P),N=u.separators,U;if(O||I&&I!==\"none\"&&I!==\"skip\"){var W,Q;w&&(W=T.cx+v.pxmid[0]*(1-v.rInscribed),Q=T.cy+v.pxmid[1]*(1-v.rInscribed)),M&&(W=v._hoverX,Q=v._hoverY);var le={},se=[],fe=[],G=function(ee){return se.indexOf(ee)!==-1};I&&(se=I===\"all\"?y._module.attributes.hoverinfo.flags:I.split(\"+\")),le.label=f.label,G(\"label\")&&le.label&&fe.push(le.label),f.hasOwnProperty(\"v\")&&(le.value=f.v,le.valueLabel=n(le.value,N),G(\"value\")&&fe.push(le.valueLabel)),le.currentPath=v.currentPath=r.getPath(v.data),G(\"current path\")&&!L&&fe.push(le.currentPath);var $,J=[],X=function(){J.indexOf($)===-1&&(fe.push($),J.push($))};le.percentParent=v.percentParent=F/r.getValue(z),le.parent=v.parentString=r.getPtLabel(z),G(\"percent parent\")&&($=r.formatPercent(le.percentParent,N)+\" of \"+le.parent,X()),le.percentEntry=v.percentEntry=F/r.getValue(c),le.entry=v.entry=r.getPtLabel(c),G(\"percent entry\")&&!L&&!v.onPathbar&&($=r.formatPercent(le.percentEntry,N)+\" of \"+le.entry,X()),le.percentRoot=v.percentRoot=F/r.getValue(_),le.root=v.root=r.getPtLabel(_),G(\"percent root\")&&!L&&($=r.formatPercent(le.percentRoot,N)+\" of \"+le.root,X()),le.text=B(\"hovertext\")||B(\"text\"),G(\"text\")&&($=le.text,e.isValidTextValue($)&&fe.push($)),U=[i(v,y,d.eventDataKeys)];var re={trace:y,y:Q,_x0:v._x0,_x1:v._x1,_y0:v._y0,_y1:v._y1,text:fe.join(\"
\"),name:O||G(\"name\")?y.name:void 0,color:B(\"hoverlabel.bgcolor\")||f.color,borderColor:B(\"hoverlabel.bordercolor\"),fontFamily:B(\"hoverlabel.font.family\"),fontSize:B(\"hoverlabel.font.size\"),fontColor:B(\"hoverlabel.font.color\"),fontWeight:B(\"hoverlabel.font.weight\"),fontStyle:B(\"hoverlabel.font.style\"),fontVariant:B(\"hoverlabel.font.variant\"),nameLength:B(\"hoverlabel.namelength\"),textAlign:B(\"hoverlabel.align\"),hovertemplate:O,hovertemplateLabels:le,eventData:U};w&&(re.x0=W-v.rInscribed*v.rpx1,re.x1=W+v.rInscribed*v.rpx1,re.idealAlign=v.pxmid[0]<0?\"left\":\"right\"),M&&(re.x=W,re.idealAlign=W<0?\"left\":\"right\");var ae=[];S.loneHover(re,{container:u._hoverlayer.node(),outerContainer:u._paper.node(),gd:h,inOut_bbox:ae}),U[0].bbox=ae[0],l._hasHoverLabel=!0}if(M){var j=s.select(\"path.surface\");d.styleOne(j,v,y,h,{hovered:!0})}l._hasHoverEvent=!0,h.emit(\"plotly_hover\",{points:U||[i(v,y,d.eventDataKeys)],event:g.event})}},m=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=g.select(this).datum();if(l._hasHoverEvent&&(v.originalEvent=g.event,h.emit(\"plotly_unhover\",{points:[i(f,y,d.eventDataKeys)],event:g.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(S.loneUnhover(u._hoverlayer.node()),l._hasHoverLabel=!1),M){var P=s.select(\"path.surface\");d.styleOne(P,f,y,h,{hovered:!1})}},b=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=w&&(r.isHierarchyRoot(v)||r.isLeaf(v)),P=r.getPtId(v),L=r.isEntry(v)?r.findEntryWithChild(_,P):r.findEntryWithLevel(_,P),z=r.getPtId(L),F={points:[i(v,y,d.eventDataKeys)],event:g.event};f||(F.nextLevel=z);var B=t.triggerHandler(h,\"plotly_\"+l.type+\"click\",F);if(B!==!1&&u.hovermode&&(h._hoverdata=[i(v,y,d.eventDataKeys)],S.click(h,g.event)),!f&&B!==!1&&!h._dragging&&!h._transitioning){x.call(\"_storeDirectGUIEdit\",y,u._tracePreGUI[y.uid],{level:y.level});var O={data:[{level:z}],traces:[l.index]},I={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:\"immediate\",fromcurrent:!0};S.loneUnhover(u._hoverlayer.node()),x.call(\"animate\",h,O,I)}};s.on(\"mouseover\",E),s.on(\"mouseout\",m),s.on(\"click\",b)};function i(a,s,c){for(var h=a.data.data,p={curveNumber:s.index,pointNumber:h.i,data:s._input,fullData:s},d=0;dot.x1?2*Math.PI:0)+ee;et=ue.rpx1Ye?2*Math.PI:0)+ee;rt={x0:et,x1:et}}else rt={rpx0:se,rpx1:se},S.extendFlat(rt,pe(ue));else rt={rpx0:0,rpx1:0};else rt={x0:ee,x1:ee};return x(rt,ot)}function Me(ue){var Oe=J[T.getPtId(ue)],rt,ot=ue.transform;if(Oe)rt=Oe;else if(rt={rpx1:ue.rpx1,transform:{textPosAngle:ot.textPosAngle,scale:0,rotate:ot.rotate,rCenter:ot.rCenter,x:ot.x,y:ot.y}},$)if(ue.parent)if(Ye){var et=ue.x1>Ye?2*Math.PI:0;rt.x0=rt.x1=et}else S.extendFlat(rt,pe(ue));else rt.x0=rt.x1=ee;else rt.x0=rt.x1=ee;var Lt=x(rt.transform.textPosAngle,ue.transform.textPosAngle),Et=x(rt.rpx1,ue.rpx1),Bt=x(rt.x0,ue.x0),qt=x(rt.x1,ue.x1),fr=x(rt.transform.scale,ot.scale),ar=x(rt.transform.rotate,ot.rotate),Rr=ot.rCenter===0?3:rt.transform.rCenter===0?1/3:1,gr=x(rt.transform.rCenter,ot.rCenter),br=function(_t){return gr(Math.pow(_t,Rr))};return function(_t){var Be=Et(_t),Ke=Bt(_t),je=qt(_t),Se=br(_t),He=xe(Be,(Ke+je)/2),Ee=Lt(_t),we={pxmid:He,rpx1:Be,transform:{textPosAngle:Ee,rCenter:Se,x:ot.x,y:ot.y}};return r(B.type,ot,f),{transform:{targetX:Ue(we),targetY:Ie(we),scale:fr(_t),rotate:ar(_t),rCenter:Se}}}}function pe(ue){var Oe=ue.parent,rt=J[T.getPtId(Oe)],ot={};if(rt){var et=Oe.children,Lt=et.indexOf(ue),Et=et.length,Bt=x(rt.x0,rt.x1);ot.x0=Bt(Lt/Et),ot.x1=Bt(Lt/Et)}else ot.x0=ot.x1=0;return ot}}function _(m){return g.partition().size([2*Math.PI,m.height+1])(m)}Z.formatSliceLabel=function(m,b,v,u,y){var f=v.texttemplate,P=v.textinfo;if(!f&&(!P||P===\"none\"))return\"\";var L=y.separators,z=u[0],F=m.data.data,B=z.hierarchy,O=T.isHierarchyRoot(m),I=T.getParent(B,m),N=T.getValue(m);if(!f){var U=P.split(\"+\"),W=function(ae){return U.indexOf(ae)!==-1},Q=[],le;if(W(\"label\")&&F.label&&Q.push(F.label),F.hasOwnProperty(\"v\")&&W(\"value\")&&Q.push(T.formatValue(F.v,L)),!O){W(\"current path\")&&Q.push(T.getPath(m.data));var se=0;W(\"percent parent\")&&se++,W(\"percent entry\")&&se++,W(\"percent root\")&&se++;var fe=se>1;if(se){var G,$=function(ae){le=T.formatPercent(G,L),fe&&(le+=\" of \"+ae),Q.push(le)};W(\"percent parent\")&&!O&&(G=N/T.getValue(I),$(\"parent\")),W(\"percent entry\")&&(G=N/T.getValue(b),$(\"entry\")),W(\"percent root\")&&(G=N/T.getValue(B),$(\"root\"))}}return W(\"text\")&&(le=S.castOption(v,F.i,\"text\"),S.isValidTextValue(le)&&Q.push(le)),Q.join(\"
\")}var J=S.castOption(v,F.i,\"texttemplate\");if(!J)return\"\";var X={};F.label&&(X.label=F.label),F.hasOwnProperty(\"v\")&&(X.value=F.v,X.valueLabel=T.formatValue(F.v,L)),X.currentPath=T.getPath(m.data),O||(X.percentParent=N/T.getValue(I),X.percentParentLabel=T.formatPercent(X.percentParent,L),X.parent=T.getPtLabel(I)),X.percentEntry=N/T.getValue(b),X.percentEntryLabel=T.formatPercent(X.percentEntry,L),X.entry=T.getPtLabel(b),X.percentRoot=N/T.getValue(B),X.percentRootLabel=T.formatPercent(X.percentRoot,L),X.root=T.getPtLabel(B),F.hasOwnProperty(\"color\")&&(X.color=F.color);var re=S.castOption(v,F.i,\"text\");return(S.isValidTextValue(re)||re===\"\")&&(X.text=re),X.customdata=S.castOption(v,F.i,\"customdata\"),S.texttemplateString(J,X,y._d3locale,X,v._meta||{})};function w(m){return m.rpx0===0&&S.isFullCircle([m.x0,m.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(m.halfangle)),m.ring/2))}function M(m){return E(m.rpx1,m.transform.textPosAngle)}function E(m,b){return[m*Math.sin(b),-m*Math.cos(b)]}}}),HP=ke({\"src/traces/sunburst/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"sunburst\",basePlotModule:oP(),categories:[],animatable:!0,attributes:T0(),layoutAttributes:j3(),supplyDefaults:sP(),supplyLayoutDefaults:lP(),calc:M0().calc,crossTraceCalc:M0().crossTraceCalc,plot:jx().plot,style:VT().style,colorbar:Bh(),meta:{}}}}),GP=ke({\"lib/sunburst.js\"(Z,H){\"use strict\";H.exports=HP()}}),WP=ke({\"src/traces/treemap/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"treemap\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),Km=ke({\"src/traces/treemap/constants.js\"(Z,H){\"use strict\";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\"poly\",eventDataKeys:[\"currentPath\",\"root\",\"entry\",\"percentRoot\",\"percentEntry\",\"percentParent\"],gapWithPathbar:1}}}),Vx=ke({\"src/traces/treemap/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Km(),o=To().extendFlat,n=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{packing:{valType:\"enumerated\",values:[\"squarify\",\"binary\",\"dice\",\"slice\",\"slice-dice\",\"dice-slice\"],dflt:\"squarify\",editType:\"plot\"},squarifyratio:{valType:\"number\",min:1,dflt:1,editType:\"plot\"},flip:{valType:\"flaglist\",flags:[\"x\",\"y\"],dflt:\"\",editType:\"plot\"},pad:{valType:\"number\",min:0,dflt:3,editType:\"plot\"},editType:\"calc\"},marker:o({pad:{t:{valType:\"number\",min:0,editType:\"plot\"},l:{valType:\"number\",min:0,editType:\"plot\"},r:{valType:\"number\",min:0,editType:\"plot\"},b:{valType:\"number\",min:0,editType:\"plot\"},editType:\"calc\"},colors:t.marker.colors,pattern:n,depthfade:{valType:\"enumerated\",values:[!0,!1,\"reversed\"],editType:\"style\"},line:t.marker.line,cornerradius:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"calc\"},A(\"marker\",{colorAttr:\"colors\",anim:!1})),pathbar:{visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\"],dflt:\"top\",editType:\"plot\"},edgeshape:{valType:\"enumerated\",values:[\">\",\"<\",\"|\",\"/\",\"\\\\\"],dflt:\">\",editType:\"plot\"},thickness:{valType:\"number\",min:12,editType:\"plot\"},textfont:o({},e.textfont,{}),editType:\"calc\"},text:e.text,textinfo:t.textinfo,texttemplate:x({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:r.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:o({},e.outsidetextfont,{}),textposition:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle left\",\"middle center\",\"middle right\",\"bottom left\",\"bottom center\",\"bottom right\"],dflt:\"top left\",editType:\"plot\"},sort:e.sort,root:t.root,domain:S({name:\"treemap\",trace:!0,editType:\"calc\"})}}}),qT=ke({\"src/traces/treemap/layout_attributes.js\"(Z,H){\"use strict\";H.exports={treemapcolorway:{valType:\"colorlist\",editType:\"calc\"},extendtreemapcolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),XP=ke({\"src/traces/treemap/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Vx(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(y,f){return g.coerce(s,c,x,y,f)}var T=d(\"labels\"),l=d(\"parents\");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d(\"values\");_&&_.length?d(\"branchvalues\"):d(\"count\"),d(\"level\"),d(\"maxdepth\");var w=d(\"tiling.packing\");w===\"squarify\"&&d(\"tiling.squarifyratio\"),d(\"tiling.flip\"),d(\"tiling.pad\");var M=d(\"text\");d(\"texttemplate\"),c.texttemplate||d(\"textinfo\",g.isArrayOrTypedArray(M)?\"text+label\":\"label\"),d(\"hovertext\"),d(\"hovertemplate\");var E=d(\"pathbar.visible\"),m=\"auto\";e(s,c,p,d,m,{hasPathbar:E,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d(\"textposition\");var b=c.textposition.indexOf(\"bottom\")!==-1;r(s,c,p,d);var v=c._hasColorscale=n(s,\"marker\",\"colors\")||(s.marker||{}).coloraxis;v?i(s,c,p,d,{prefix:\"marker.\",cLetter:\"c\"}):d(\"marker.depthfade\",!(c.marker.colors||[]).length);var u=c.textfont.size*2;d(\"marker.pad.t\",b?u/4:u),d(\"marker.pad.l\",u/4),d(\"marker.pad.r\",u/4),d(\"marker.pad.b\",b?u:u/4),d(\"marker.cornerradius\"),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},E&&(d(\"pathbar.thickness\",c.pathbar.textfont.size+2*t),d(\"pathbar.side\"),d(\"pathbar.edgeshape\")),d(\"sort\"),d(\"root.color\"),S(c,p,d),c._length=null}}}),ZP=ke({\"src/traces/treemap/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=qT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"treemapcolorway\",e.colorway),t(\"extendtreemapcolors\")}}}),HT=ke({\"src/traces/treemap/calc.js\"(Z){\"use strict\";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc(\"treemap\",g)}}}),GT=ke({\"src/traces/treemap/flip_tree.js\"(Z,H){\"use strict\";H.exports=function g(x,A,S){var e;S.swapXY&&(e=x.x0,x.x0=x.y0,x.y0=e,e=x.x1,x.x1=x.y1,x.y1=e),S.flipX&&(e=x.x0,x.x0=A[0]-x.x1,x.x1=A[0]-e),S.flipY&&(e=x.y0,x.y0=A[1]-x.y1,x.y1=A[1]-e);var t=x.children;if(t)for(var r=0;r0)for(var u=0;u\").join(\" \")||\"\";var fe=x.ensureSingle(le,\"g\",\"slicetext\"),G=x.ensureSingle(fe,\"text\",\"\",function(J){J.attr(\"data-notex\",1)}),$=x.ensureUniformFontSize(s,o.determineTextFont(B,Q,z.font,{onPathbar:!0}));G.text(Q._text||\" \").classed(\"slicetext\",!0).attr(\"text-anchor\",\"start\").call(A.font,$).call(S.convertToTspans,s),Q.textBB=A.bBox(G.node()),Q.transform=m(Q,{fontSize:$.size,onPathbar:!0}),Q.transform.fontSize=$.size,v?G.transition().attrTween(\"transform\",function(J){var X=f(J,i,P,[l,_]);return function(re){return b(X(re))}}):G.attr(\"transform\",b(Q))})}}}),KP=ke({\"src/traces/treemap/plot_one.js\"(Z,H){\"use strict\";var g=_i(),x=(Ym(),hi(Xp)).interpolate,A=tp(),S=un(),e=Om().TEXTPAD,t=Bm(),r=t.toMoveInsideBar,o=Zh(),n=o.recordMinTextSize,i=Km(),a=YP();function s(c){return A.isHierarchyRoot(c)?\"\":A.getPtId(c)}H.exports=function(h,p,d,T,l){var _=h._fullLayout,w=p[0],M=w.trace,E=M.type,m=E===\"icicle\",b=w.hierarchy,v=A.findEntryWithLevel(b,M.level),u=g.select(d),y=u.selectAll(\"g.pathbar\"),f=u.selectAll(\"g.slice\");if(!v){y.remove(),f.remove();return}var P=A.isHierarchyRoot(v),L=!_.uniformtext.mode&&A.hasTransition(T),z=A.getMaxDepth(M),F=function(gr){return gr.data.depth-v.data.depth-1?N+Q:-(W+Q):0,se={x0:U,x1:U,y0:le,y1:le+W},fe=function(gr,br,_t){var Be=M.tiling.pad,Ke=function(Ee){return Ee-Be<=br.x0},je=function(Ee){return Ee+Be>=br.x1},Se=function(Ee){return Ee-Be<=br.y0},He=function(Ee){return Ee+Be>=br.y1};return gr.x0===br.x0&&gr.x1===br.x1&&gr.y0===br.y0&&gr.y1===br.y1?{x0:gr.x0,x1:gr.x1,y0:gr.y0,y1:gr.y1}:{x0:Ke(gr.x0-Be)?0:je(gr.x0-Be)?_t[0]:gr.x0,x1:Ke(gr.x1+Be)?0:je(gr.x1+Be)?_t[0]:gr.x1,y0:Se(gr.y0-Be)?0:He(gr.y0-Be)?_t[1]:gr.y0,y1:Se(gr.y1+Be)?0:He(gr.y1+Be)?_t[1]:gr.y1}},G=null,$={},J={},X=null,re=function(gr,br){return br?$[s(gr)]:J[s(gr)]},ae=function(gr,br,_t,Be){if(br)return $[s(b)]||se;var Ke=J[M.level]||_t;return F(gr)?fe(gr,Ke,Be):{}};w.hasMultipleRoots&&P&&z++,M._maxDepth=z,M._backgroundColor=_.paper_bgcolor,M._entryDepth=v.data.depth,M._atRootLevel=P;var j=-I/2+B.l+B.w*(O.x[1]+O.x[0])/2,ee=-N/2+B.t+B.h*(1-(O.y[1]+O.y[0])/2),ie=function(gr){return j+gr},ce=function(gr){return ee+gr},xe=ce(0),Te=ie(0),Ue=function(gr){return Te+gr},Ie=function(gr){return xe+gr};function Ye(gr,br){return gr+\",\"+br}var it=Ue(0),at=function(gr){gr.x=Math.max(it,gr.x)},tt=M.pathbar.edgeshape,ut=function(gr){var br=Ue(Math.max(Math.min(gr.x0,gr.x0),0)),_t=Ue(Math.min(Math.max(gr.x1,gr.x1),U)),Be=Ie(gr.y0),Ke=Ie(gr.y1),je=W/2,Se={},He={};Se.x=br,He.x=_t,Se.y=He.y=(Be+Ke)/2;var Ee={x:br,y:Be},we={x:_t,y:Be},Le={x:_t,y:Ke},nt={x:br,y:Ke};return tt===\">\"?(Ee.x-=je,we.x-=je,Le.x-=je,nt.x-=je):tt===\"/\"?(Le.x-=je,nt.x-=je,Se.x-=je/2,He.x-=je/2):tt===\"\\\\\"?(Ee.x-=je,we.x-=je,Se.x-=je/2,He.x-=je/2):tt===\"<\"&&(Se.x-=je,He.x-=je),at(Ee),at(nt),at(Se),at(we),at(Le),at(He),\"M\"+Ye(Ee.x,Ee.y)+\"L\"+Ye(we.x,we.y)+\"L\"+Ye(He.x,He.y)+\"L\"+Ye(Le.x,Le.y)+\"L\"+Ye(nt.x,nt.y)+\"L\"+Ye(Se.x,Se.y)+\"Z\"},Me=M[m?\"tiling\":\"marker\"].pad,pe=function(gr){return M.textposition.indexOf(gr)!==-1},ue=pe(\"top\"),Oe=pe(\"left\"),rt=pe(\"right\"),ot=pe(\"bottom\"),et=function(gr){var br=ie(gr.x0),_t=ie(gr.x1),Be=ce(gr.y0),Ke=ce(gr.y1),je=_t-br,Se=Ke-Be;if(!je||!Se)return\"\";var He=M.marker.cornerradius||0,Ee=Math.min(He,je/2,Se/2);Ee&&gr.data&&gr.data.data&&gr.data.data.label&&(ue&&(Ee=Math.min(Ee,Me.t)),Oe&&(Ee=Math.min(Ee,Me.l)),rt&&(Ee=Math.min(Ee,Me.r)),ot&&(Ee=Math.min(Ee,Me.b)));var we=function(Le,nt){return Ee?\"a\"+Ye(Ee,Ee)+\" 0 0 1 \"+Ye(Le,nt):\"\"};return\"M\"+Ye(br,Be+Ee)+we(Ee,-Ee)+\"L\"+Ye(_t-Ee,Be)+we(Ee,Ee)+\"L\"+Ye(_t,Ke-Ee)+we(-Ee,Ee)+\"L\"+Ye(br+Ee,Ke)+we(-Ee,-Ee)+\"Z\"},Lt=function(gr,br){var _t=gr.x0,Be=gr.x1,Ke=gr.y0,je=gr.y1,Se=gr.textBB,He=ue||br.isHeader&&!ot,Ee=He?\"start\":ot?\"end\":\"middle\",we=pe(\"right\"),Le=pe(\"left\")||br.onPathbar,nt=Le?-1:we?1:0;if(br.isHeader){if(_t+=(m?Me:Me.l)-e,Be-=(m?Me:Me.r)-e,_t>=Be){var pt=(_t+Be)/2;_t=pt,Be=pt}var bt;ot?(bt=je-(m?Me:Me.b),Ke-1,flipY:O.tiling.flip.indexOf(\"y\")>-1,pad:{inner:O.tiling.pad,top:O.marker.pad.t,left:O.marker.pad.l,right:O.marker.pad.r,bottom:O.marker.pad.b}}),le=Q.descendants(),se=1/0,fe=-1/0;le.forEach(function(re){var ae=re.depth;ae>=O._maxDepth?(re.x0=re.x1=(re.x0+re.x1)/2,re.y0=re.y1=(re.y0+re.y1)/2):(se=Math.min(se,ae),fe=Math.max(fe,ae))}),d=d.data(le,o.getPtId),O._maxVisibleLayers=isFinite(fe)?fe-se+1:0,d.enter().append(\"g\").classed(\"slice\",!0),u(d,a,L,[l,_],E),d.order();var G=null;if(v&&P){var $=o.getPtId(P);d.each(function(re){G===null&&o.getPtId(re)===$&&(G={x0:re.x0,x1:re.x1,y0:re.y0,y1:re.y1})})}var J=function(){return G||{x0:0,x1:l,y0:0,y1:_}},X=d;return v&&(X=X.transition().each(\"end\",function(){var re=g.select(this);o.setSliceCursor(re,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(re){var ae=o.isHeader(re,O);re._x0=w(re.x0),re._x1=w(re.x1),re._y0=M(re.y0),re._y1=M(re.y1),re._hoverX=w(re.x1-O.marker.pad.r),re._hoverY=M(U?re.y1-O.marker.pad.b/2:re.y0+O.marker.pad.t/2);var j=g.select(this),ee=x.ensureSingle(j,\"path\",\"surface\",function(Ie){Ie.style(\"pointer-events\",z?\"none\":\"all\")});v?ee.transition().attrTween(\"d\",function(Ie){var Ye=y(Ie,a,J(),[l,_]);return function(it){return E(Ye(it))}}):ee.attr(\"d\",E),j.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ee.call(t,re,O,c,{hovered:!1}),re.x0===re.x1||re.y0===re.y1?re._text=\"\":ae?re._text=W?\"\":o.getPtLabel(re)||\"\":re._text=i(re,p,O,h,F)||\"\";var ie=x.ensureSingle(j,\"g\",\"slicetext\"),ce=x.ensureSingle(ie,\"text\",\"\",function(Ie){Ie.attr(\"data-notex\",1)}),xe=x.ensureUniformFontSize(c,o.determineTextFont(O,re,F.font)),Te=re._text||\" \",Ue=ae&&Te.indexOf(\"
\")===-1;ce.text(Te).classed(\"slicetext\",!0).attr(\"text-anchor\",N?\"end\":I||Ue?\"start\":\"middle\").call(A.font,xe).call(S.convertToTspans,c),re.textBB=A.bBox(ce.node()),re.transform=m(re,{fontSize:xe.size,isHeader:ae}),re.transform.fontSize=xe.size,v?ce.transition().attrTween(\"transform\",function(Ie){var Ye=f(Ie,a,J(),[l,_]);return function(it){return b(Ye(it))}}):ce.attr(\"transform\",b(re))}),G}}}),$P=ke({\"src/traces/treemap/plot.js\"(Z,H){\"use strict\";var g=XT(),x=JP();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:\"treemap\",drawDescendants:x})}}}),QP=ke({\"src/traces/treemap/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"treemap\",basePlotModule:WP(),categories:[],animatable:!0,attributes:Vx(),layoutAttributes:qT(),supplyDefaults:XP(),supplyLayoutDefaults:ZP(),calc:HT().calc,crossTraceCalc:HT().crossTraceCalc,plot:$P(),style:qx().style,colorbar:Bh(),meta:{}}}}),eI=ke({\"lib/treemap.js\"(Z,H){\"use strict\";H.exports=QP()}}),tI=ke({\"src/traces/icicle/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"icicle\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),ZT=ke({\"src/traces/icicle/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Vx(),o=Km(),n=To().extendFlat,i=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"h\",editType:\"plot\"},flip:r.tiling.flip,pad:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"calc\"},marker:n({colors:t.marker.colors,line:t.marker.line,pattern:i,editType:\"calc\"},A(\"marker\",{colorAttr:\"colors\",anim:!1})),leaf:t.leaf,pathbar:r.pathbar,text:e.text,textinfo:t.textinfo,texttemplate:x({editType:\"plot\"},{keys:o.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:o.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:r.outsidetextfont,textposition:r.textposition,sort:e.sort,root:t.root,domain:S({name:\"icicle\",trace:!0,editType:\"calc\"})}}}),YT=ke({\"src/traces/icicle/layout_attributes.js\"(Z,H){\"use strict\";H.exports={iciclecolorway:{valType:\"colorlist\",editType:\"calc\"},extendiciclecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),rI=ke({\"src/traces/icicle/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ZT(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(b,v){return g.coerce(s,c,x,b,v)}var T=d(\"labels\"),l=d(\"parents\");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d(\"values\");_&&_.length?d(\"branchvalues\"):d(\"count\"),d(\"level\"),d(\"maxdepth\"),d(\"tiling.orientation\"),d(\"tiling.flip\"),d(\"tiling.pad\");var w=d(\"text\");d(\"texttemplate\"),c.texttemplate||d(\"textinfo\",g.isArrayOrTypedArray(w)?\"text+label\":\"label\"),d(\"hovertext\"),d(\"hovertemplate\");var M=d(\"pathbar.visible\"),E=\"auto\";e(s,c,p,d,E,{hasPathbar:M,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d(\"textposition\"),r(s,c,p,d);var m=c._hasColorscale=n(s,\"marker\",\"colors\")||(s.marker||{}).coloraxis;m&&i(s,c,p,d,{prefix:\"marker.\",cLetter:\"c\"}),d(\"leaf.opacity\",m?1:.7),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},M&&(d(\"pathbar.thickness\",c.pathbar.textfont.size+2*t),d(\"pathbar.side\"),d(\"pathbar.edgeshape\")),d(\"sort\"),d(\"root.color\"),S(c,p,d),c._length=null}}}),nI=ke({\"src/traces/icicle/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=YT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"iciclecolorway\",e.colorway),t(\"extendiciclecolors\")}}}),KT=ke({\"src/traces/icicle/calc.js\"(Z){\"use strict\";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc(\"icicle\",g)}}}),iI=ke({\"src/traces/icicle/partition.js\"(Z,H){\"use strict\";var g=A0(),x=GT();H.exports=function(S,e,t){var r=t.flipX,o=t.flipY,n=t.orientation===\"h\",i=t.maxDepth,a=e[0],s=e[1];i&&(a=(S.height+1)*e[0]/Math.min(S.height+1,i),s=(S.height+1)*e[1]/Math.min(S.height+1,i));var c=g.partition().padding(t.pad.inner).size(n?[e[1],a]:[e[0],s])(S);return(n||r||o)&&x(c,e,{swapXY:n,flipX:r,flipY:o}),c}}}),JT=ke({\"src/traces/icicle/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._iciclelayer.selectAll(\".trace\");S(o,n,\"icicle\"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style(\"opacity\",c.opacity),a.selectAll(\"path.surface\").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,\"marker.line.color\")||x.defaultLine,d=A.castOption(i,h,\"marker.line.width\")||0;o.call(e,n,i,a).style(\"stroke-width\",d).call(x.stroke,p).style(\"opacity\",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),aI=ke({\"src/traces/icicle/draw_descendants.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=$o(),S=Wl(),e=iI(),t=JT().styleOne,r=Km(),o=tp(),n=j0(),i=jx().formatSliceLabel,a=!1;H.exports=function(c,h,p,d,T){var l=T.width,_=T.height,w=T.viewX,M=T.viewY,E=T.pathSlice,m=T.toMoveInsideSlice,b=T.strTransform,v=T.hasTransition,u=T.handleSlicesExit,y=T.makeUpdateSliceInterpolator,f=T.makeUpdateTextInterpolator,P=T.prevEntry,L={},z=c._context.staticPlot,F=c._fullLayout,B=h[0],O=B.trace,I=O.textposition.indexOf(\"left\")!==-1,N=O.textposition.indexOf(\"right\")!==-1,U=O.textposition.indexOf(\"bottom\")!==-1,W=e(p,[l,_],{flipX:O.tiling.flip.indexOf(\"x\")>-1,flipY:O.tiling.flip.indexOf(\"y\")>-1,orientation:O.tiling.orientation,pad:{inner:O.tiling.pad},maxDepth:O._maxDepth}),Q=W.descendants(),le=1/0,se=-1/0;Q.forEach(function(X){var re=X.depth;re>=O._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(le=Math.min(le,re),se=Math.max(se,re))}),d=d.data(Q,o.getPtId),O._maxVisibleLayers=isFinite(se)?se-le+1:0,d.enter().append(\"g\").classed(\"slice\",!0),u(d,a,L,[l,_],E),d.order();var fe=null;if(v&&P){var G=o.getPtId(P);d.each(function(X){fe===null&&o.getPtId(X)===G&&(fe={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var $=function(){return fe||{x0:0,x1:l,y0:0,y1:_}},J=d;return v&&(J=J.transition().each(\"end\",function(){var X=g.select(this);o.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),J.each(function(X){X._x0=w(X.x0),X._x1=w(X.x1),X._y0=M(X.y0),X._y1=M(X.y1),X._hoverX=w(X.x1-O.tiling.pad),X._hoverY=M(U?X.y1-O.tiling.pad/2:X.y0+O.tiling.pad/2);var re=g.select(this),ae=x.ensureSingle(re,\"path\",\"surface\",function(ce){ce.style(\"pointer-events\",z?\"none\":\"all\")});v?ae.transition().attrTween(\"d\",function(ce){var xe=y(ce,a,$(),[l,_],{orientation:O.tiling.orientation,flipX:O.tiling.flip.indexOf(\"x\")>-1,flipY:O.tiling.flip.indexOf(\"y\")>-1});return function(Te){return E(xe(Te))}}):ae.attr(\"d\",E),re.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ae.call(t,X,O,c,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text=\"\":X._text=i(X,p,O,h,F)||\"\";var j=x.ensureSingle(re,\"g\",\"slicetext\"),ee=x.ensureSingle(j,\"text\",\"\",function(ce){ce.attr(\"data-notex\",1)}),ie=x.ensureUniformFontSize(c,o.determineTextFont(O,X,F.font));ee.text(X._text||\" \").classed(\"slicetext\",!0).attr(\"text-anchor\",N?\"end\":I?\"start\":\"middle\").call(A.font,ie).call(S.convertToTspans,c),X.textBB=A.bBox(ee.node()),X.transform=m(X,{fontSize:ie.size}),X.transform.fontSize=ie.size,v?ee.transition().attrTween(\"transform\",function(ce){var xe=f(ce,a,$(),[l,_]);return function(Te){return b(xe(Te))}}):ee.attr(\"transform\",b(X))}),fe}}}),oI=ke({\"src/traces/icicle/plot.js\"(Z,H){\"use strict\";var g=XT(),x=aI();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:\"icicle\",drawDescendants:x})}}}),sI=ke({\"src/traces/icicle/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"icicle\",basePlotModule:tI(),categories:[],animatable:!0,attributes:ZT(),layoutAttributes:YT(),supplyDefaults:rI(),supplyLayoutDefaults:nI(),calc:KT().calc,crossTraceCalc:KT().crossTraceCalc,plot:oI(),style:JT().style,colorbar:Bh(),meta:{}}}}),lI=ke({\"lib/icicle.js\"(Z,H){\"use strict\";H.exports=sI()}}),uI=ke({\"src/traces/funnelarea/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"funnelarea\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),$T=ke({\"src/traces/funnelarea/attributes.js\"(Z,H){\"use strict\";var g=Vm(),x=Ol(),A=Yu().attributes,S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=To().extendFlat;H.exports={labels:g.labels,label0:g.label0,dlabel:g.dlabel,values:g.values,marker:{colors:g.marker.colors,line:{color:t({},g.marker.line.color,{dflt:null}),width:t({},g.marker.line.width,{dflt:1}),editType:\"calc\"},pattern:g.marker.pattern,editType:\"calc\"},text:g.text,hovertext:g.hovertext,scalegroup:t({},g.scalegroup,{}),textinfo:t({},g.textinfo,{flags:[\"label\",\"text\",\"value\",\"percent\"]}),texttemplate:e({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"text\",\"percent\"]}),hoverinfo:t({},x.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:S({},{keys:[\"label\",\"color\",\"value\",\"text\",\"percent\"]}),textposition:t({},g.textposition,{values:[\"inside\",\"none\"],dflt:\"inside\"}),textfont:g.textfont,insidetextfont:g.insidetextfont,title:{text:g.title.text,font:g.title.font,position:t({},g.title.position,{values:[\"top left\",\"top center\",\"top right\"],dflt:\"top center\"}),editType:\"plot\"},domain:A({name:\"funnelarea\",trace:!0,editType:\"calc\"}),aspectratio:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},baseratio:{valType:\"number\",min:0,max:1,dflt:.333,editType:\"plot\"}}}}),QT=ke({\"src/traces/funnelarea/layout_attributes.js\"(Z,H){\"use strict\";var g=cx().hiddenlabels;H.exports={hiddenlabels:g,funnelareacolorway:{valType:\"colorlist\",editType:\"calc\"},extendfunnelareacolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),cI=ke({\"src/traces/funnelarea/defaults.js\"(Z,H){\"use strict\";var g=un(),x=$T(),A=Yu().defaults,S=Od().handleText,e=qm().handleLabelsAndValues,t=qm().handleMarkerDefaults;H.exports=function(o,n,i,a){function s(E,m){return g.coerce(o,n,x,E,m)}var c=s(\"labels\"),h=s(\"values\"),p=e(c,h),d=p.len;if(n._hasLabels=p.hasLabels,n._hasValues=p.hasValues,!n._hasLabels&&n._hasValues&&(s(\"label0\"),s(\"dlabel\")),!d){n.visible=!1;return}n._length=d,t(o,n,a,s),s(\"scalegroup\");var T=s(\"text\"),l=s(\"texttemplate\"),_;if(l||(_=s(\"textinfo\",Array.isArray(T)?\"text+percent\":\"percent\")),s(\"hovertext\"),s(\"hovertemplate\"),l||_&&_!==\"none\"){var w=s(\"textposition\");S(o,n,a,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}else _===\"none\"&&s(\"textposition\",\"none\");A(n,a,s);var M=s(\"title.text\");M&&(s(\"title.position\"),g.coerceFont(s,\"title.font\",a.font)),s(\"aspectratio\"),s(\"baseratio\")}}}),fI=ke({\"src/traces/funnelarea/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=QT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"hiddenlabels\"),t(\"funnelareacolorway\",e.colorway),t(\"extendfunnelareacolors\")}}}),eA=ke({\"src/traces/funnelarea/calc.js\"(Z,H){\"use strict\";var g=sy();function x(S,e){return g.calc(S,e)}function A(S){g.crossTraceCalc(S,{type:\"funnelarea\"})}H.exports={calc:x,crossTraceCalc:A}}}),hI=ke({\"src/traces/funnelarea/plot.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=un(),S=A.strScale,e=A.strTranslate,t=Wl(),r=Bm(),o=r.toMoveInsideBar,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Fp(),c=fx(),h=c.attachFxHandlers,p=c.determineInsideTextFont,d=c.layoutAreas,T=c.prerenderTitles,l=c.positionTitleOutside,_=c.formatSliceLabel;H.exports=function(b,v){var u=b._context.staticPlot,y=b._fullLayout;a(\"funnelarea\",y),T(v,b),d(v,y._size),A.makeTraceGroups(y._funnelarealayer,v,\"trace\").each(function(f){var P=g.select(this),L=f[0],z=L.trace;E(f),P.each(function(){var F=g.select(this).selectAll(\"g.slice\").data(f);F.enter().append(\"g\").classed(\"slice\",!0),F.exit().remove(),F.each(function(O,I){if(O.hidden){g.select(this).selectAll(\"path,g\").remove();return}O.pointNumber=O.i,O.curveNumber=z.index;var N=L.cx,U=L.cy,W=g.select(this),Q=W.selectAll(\"path.surface\").data([O]);Q.enter().append(\"path\").classed(\"surface\",!0).style({\"pointer-events\":u?\"none\":\"all\"}),W.call(h,b,f);var le=\"M\"+(N+O.TR[0])+\",\"+(U+O.TR[1])+w(O.TR,O.BR)+w(O.BR,O.BL)+w(O.BL,O.TL)+\"Z\";Q.attr(\"d\",le),_(b,O,L);var se=s.castOption(z.textposition,O.pts),fe=W.selectAll(\"g.slicetext\").data(O.text&&se!==\"none\"?[0]:[]);fe.enter().append(\"g\").classed(\"slicetext\",!0),fe.exit().remove(),fe.each(function(){var G=A.ensureSingle(g.select(this),\"text\",\"\",function(ie){ie.attr(\"data-notex\",1)}),$=A.ensureUniformFontSize(b,p(z,O,y.font));G.text(O.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(x.font,$).call(t.convertToTspans,b);var J=x.bBox(G.node()),X,re,ae,j=Math.min(O.BL[1],O.BR[1])+U,ee=Math.max(O.TL[1],O.TR[1])+U;re=Math.max(O.TL[0],O.BL[0])+N,ae=Math.min(O.TR[0],O.BR[0])+N,X=o(re,ae,j,ee,J,{isHorizontal:!0,constrained:!0,angle:0,anchor:\"middle\"}),X.fontSize=$.size,i(z.type,X,y),f[I].transform=X,A.setTransormAndDisplay(G,X)})});var B=g.select(this).selectAll(\"g.titletext\").data(z.title.text?[0]:[]);B.enter().append(\"g\").classed(\"titletext\",!0),B.exit().remove(),B.each(function(){var O=A.ensureSingle(g.select(this),\"text\",\"\",function(U){U.attr(\"data-notex\",1)}),I=z.title.text;z._meta&&(I=A.templateString(I,z._meta)),O.text(I).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(x.font,z.title.font).call(t.convertToTspans,b);var N=l(L,y._size);O.attr(\"transform\",e(N.x,N.y)+S(Math.min(1,N.scale))+e(N.tx,N.ty))})})})};function w(m,b){var v=b[0]-m[0],u=b[1]-m[1];return\"l\"+v+\",\"+u}function M(m,b){return[.5*(m[0]+b[0]),.5*(m[1]+b[1])]}function E(m){if(!m.length)return;var b=m[0],v=b.trace,u=v.aspectratio,y=v.baseratio;y>.999&&(y=.999);var f=Math.pow(y,2),P=b.vTotal,L=P*f/(1-f),z=P,F=L/P;function B(){var ce=Math.sqrt(F);return{x:ce,y:-ce}}function O(){var ce=B();return[ce.x,ce.y]}var I,N=[];N.push(O());var U,W;for(U=m.length-1;U>-1;U--)if(W=m[U],!W.hidden){var Q=W.v/z;F+=Q,N.push(O())}var le=1/0,se=-1/0;for(U=0;U-1;U--)if(W=m[U],!W.hidden){j+=1;var ee=N[j][0],ie=N[j][1];W.TL=[-ee,ie],W.TR=[ee,ie],W.BL=re,W.BR=ae,W.pxmid=M(W.TR,W.BR),re=W.TL,ae=W.TR}}}}),dI=ke({\"src/traces/funnelarea/style.js\"(Z,H){\"use strict\";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(\".trace\");A(e,t,\"funnelarea\"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll(\"path.surface\").each(function(a){g.select(this).call(x,a,n,e)})})}}}),vI=ke({\"src/traces/funnelarea/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"funnelarea\",basePlotModule:uI(),categories:[\"pie-like\",\"funnelarea\",\"showLegend\"],attributes:$T(),layoutAttributes:QT(),supplyDefaults:cI(),supplyLayoutDefaults:fI(),calc:eA().calc,crossTraceCalc:eA().crossTraceCalc,plot:hI(),style:dI(),styleOne:Wg(),meta:{}}}}),pI=ke({\"lib/funnelarea.js\"(Z,H){\"use strict\";H.exports=vI()}}),Mh=ke({\"stackgl_modules/index.js\"(Z,H){(function(){var g={1964:function(e,t,r){e.exports={alpha_shape:r(3502),convex_hull:r(7352),delaunay_triangulate:r(7642),gl_cone3d:r(6405),gl_error3d:r(9165),gl_line3d:r(5714),gl_mesh3d:r(7201),gl_plot3d:r(4100),gl_scatter3d:r(8418),gl_streamtube3d:r(7815),gl_surface3d:r(9499),ndarray:r(9618),ndarray_linear_interpolate:r(4317)}},4793:function(e,t,r){\"use strict\";var o;function n(Ee,we){if(!(Ee instanceof we))throw new TypeError(\"Cannot call a class as a function\")}function i(Ee,we){for(var Le=0;Lev)throw new RangeError('The value \"'+Ee+'\" is invalid for option \"size\"');var we=new Uint8Array(Ee);return Object.setPrototypeOf(we,f.prototype),we}function f(Ee,we,Le){if(typeof Ee==\"number\"){if(typeof we==\"string\")throw new TypeError('The \"string\" argument must be of type string. Received type number');return F(Ee)}return P(Ee,we,Le)}f.poolSize=8192;function P(Ee,we,Le){if(typeof Ee==\"string\")return B(Ee,we);if(ArrayBuffer.isView(Ee))return I(Ee);if(Ee==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+M(Ee));if(Be(Ee,ArrayBuffer)||Ee&&Be(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(Be(Ee,SharedArrayBuffer)||Ee&&Be(Ee.buffer,SharedArrayBuffer)))return N(Ee,we,Le);if(typeof Ee==\"number\")throw new TypeError('The \"value\" argument must not be of type number. Received type number');var nt=Ee.valueOf&&Ee.valueOf();if(nt!=null&&nt!==Ee)return f.from(nt,we,Le);var pt=U(Ee);if(pt)return pt;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]==\"function\")return f.from(Ee[Symbol.toPrimitive](\"string\"),we,Le);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+M(Ee))}f.from=function(Ee,we,Le){return P(Ee,we,Le)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function L(Ee){if(typeof Ee!=\"number\")throw new TypeError('\"size\" argument must be of type number');if(Ee<0)throw new RangeError('The value \"'+Ee+'\" is invalid for option \"size\"')}function z(Ee,we,Le){return L(Ee),Ee<=0?y(Ee):we!==void 0?typeof Le==\"string\"?y(Ee).fill(we,Le):y(Ee).fill(we):y(Ee)}f.alloc=function(Ee,we,Le){return z(Ee,we,Le)};function F(Ee){return L(Ee),y(Ee<0?0:W(Ee)|0)}f.allocUnsafe=function(Ee){return F(Ee)},f.allocUnsafeSlow=function(Ee){return F(Ee)};function B(Ee,we){if((typeof we!=\"string\"||we===\"\")&&(we=\"utf8\"),!f.isEncoding(we))throw new TypeError(\"Unknown encoding: \"+we);var Le=le(Ee,we)|0,nt=y(Le),pt=nt.write(Ee,we);return pt!==Le&&(nt=nt.slice(0,pt)),nt}function O(Ee){for(var we=Ee.length<0?0:W(Ee.length)|0,Le=y(we),nt=0;nt=v)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+v.toString(16)+\" bytes\");return Ee|0}function Q(Ee){return+Ee!=Ee&&(Ee=0),f.alloc(+Ee)}f.isBuffer=function(we){return we!=null&&we._isBuffer===!0&&we!==f.prototype},f.compare=function(we,Le){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),Be(Le,Uint8Array)&&(Le=f.from(Le,Le.offset,Le.byteLength)),!f.isBuffer(we)||!f.isBuffer(Le))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(we===Le)return 0;for(var nt=we.length,pt=Le.length,bt=0,Rt=Math.min(nt,pt);btpt.length?(f.isBuffer(Rt)||(Rt=f.from(Rt)),Rt.copy(pt,bt)):Uint8Array.prototype.set.call(pt,Rt,bt);else if(f.isBuffer(Rt))Rt.copy(pt,bt);else throw new TypeError('\"list\" argument must be an Array of Buffers');bt+=Rt.length}return pt};function le(Ee,we){if(f.isBuffer(Ee))return Ee.length;if(ArrayBuffer.isView(Ee)||Be(Ee,ArrayBuffer))return Ee.byteLength;if(typeof Ee!=\"string\")throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+M(Ee));var Le=Ee.length,nt=arguments.length>2&&arguments[2]===!0;if(!nt&&Le===0)return 0;for(var pt=!1;;)switch(we){case\"ascii\":case\"latin1\":case\"binary\":return Le;case\"utf8\":case\"utf-8\":return ar(Ee).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return Le*2;case\"hex\":return Le>>>1;case\"base64\":return br(Ee).length;default:if(pt)return nt?-1:ar(Ee).length;we=(\"\"+we).toLowerCase(),pt=!0}}f.byteLength=le;function se(Ee,we,Le){var nt=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,we>>>=0,Le<=we))return\"\";for(Ee||(Ee=\"utf8\");;)switch(Ee){case\"hex\":return Ie(this,we,Le);case\"utf8\":case\"utf-8\":return ie(this,we,Le);case\"ascii\":return Te(this,we,Le);case\"latin1\":case\"binary\":return Ue(this,we,Le);case\"base64\":return ee(this,we,Le);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return Ye(this,we,Le);default:if(nt)throw new TypeError(\"Unknown encoding: \"+Ee);Ee=(Ee+\"\").toLowerCase(),nt=!0}}f.prototype._isBuffer=!0;function fe(Ee,we,Le){var nt=Ee[we];Ee[we]=Ee[Le],Ee[Le]=nt}f.prototype.swap16=function(){var we=this.length;if(we%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var Le=0;LeLe&&(we+=\" ... \"),\"\"},b&&(f.prototype[b]=f.prototype.inspect),f.prototype.compare=function(we,Le,nt,pt,bt){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),!f.isBuffer(we))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+M(we));if(Le===void 0&&(Le=0),nt===void 0&&(nt=we?we.length:0),pt===void 0&&(pt=0),bt===void 0&&(bt=this.length),Le<0||nt>we.length||pt<0||bt>this.length)throw new RangeError(\"out of range index\");if(pt>=bt&&Le>=nt)return 0;if(pt>=bt)return-1;if(Le>=nt)return 1;if(Le>>>=0,nt>>>=0,pt>>>=0,bt>>>=0,this===we)return 0;for(var Rt=bt-pt,Nt=nt-Le,Xt=Math.min(Rt,Nt),$t=this.slice(pt,bt),ur=we.slice(Le,nt),pn=0;pn2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,Ke(Le)&&(Le=pt?0:Ee.length-1),Le<0&&(Le=Ee.length+Le),Le>=Ee.length){if(pt)return-1;Le=Ee.length-1}else if(Le<0)if(pt)Le=0;else return-1;if(typeof we==\"string\"&&(we=f.from(we,nt)),f.isBuffer(we))return we.length===0?-1:$(Ee,we,Le,nt,pt);if(typeof we==\"number\")return we=we&255,typeof Uint8Array.prototype.indexOf==\"function\"?pt?Uint8Array.prototype.indexOf.call(Ee,we,Le):Uint8Array.prototype.lastIndexOf.call(Ee,we,Le):$(Ee,[we],Le,nt,pt);throw new TypeError(\"val must be string, number or Buffer\")}function $(Ee,we,Le,nt,pt){var bt=1,Rt=Ee.length,Nt=we.length;if(nt!==void 0&&(nt=String(nt).toLowerCase(),nt===\"ucs2\"||nt===\"ucs-2\"||nt===\"utf16le\"||nt===\"utf-16le\")){if(Ee.length<2||we.length<2)return-1;bt=2,Rt/=2,Nt/=2,Le/=2}function Xt(Nn,On){return bt===1?Nn[On]:Nn.readUInt16BE(On*bt)}var $t;if(pt){var ur=-1;for($t=Le;$tRt&&(Le=Rt-Nt),$t=Le;$t>=0;$t--){for(var pn=!0,Rn=0;Rnpt&&(nt=pt)):nt=pt;var bt=we.length;nt>bt/2&&(nt=bt/2);var Rt;for(Rt=0;Rt>>0,isFinite(nt)?(nt=nt>>>0,pt===void 0&&(pt=\"utf8\")):(pt=nt,nt=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");var bt=this.length-Le;if((nt===void 0||nt>bt)&&(nt=bt),we.length>0&&(nt<0||Le<0)||Le>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");pt||(pt=\"utf8\");for(var Rt=!1;;)switch(pt){case\"hex\":return J(this,we,Le,nt);case\"utf8\":case\"utf-8\":return X(this,we,Le,nt);case\"ascii\":case\"latin1\":case\"binary\":return re(this,we,Le,nt);case\"base64\":return ae(this,we,Le,nt);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return j(this,we,Le,nt);default:if(Rt)throw new TypeError(\"Unknown encoding: \"+pt);pt=(\"\"+pt).toLowerCase(),Rt=!0}},f.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function ee(Ee,we,Le){return we===0&&Le===Ee.length?E.fromByteArray(Ee):E.fromByteArray(Ee.slice(we,Le))}function ie(Ee,we,Le){Le=Math.min(Ee.length,Le);for(var nt=[],pt=we;pt239?4:bt>223?3:bt>191?2:1;if(pt+Nt<=Le){var Xt=void 0,$t=void 0,ur=void 0,pn=void 0;switch(Nt){case 1:bt<128&&(Rt=bt);break;case 2:Xt=Ee[pt+1],(Xt&192)===128&&(pn=(bt&31)<<6|Xt&63,pn>127&&(Rt=pn));break;case 3:Xt=Ee[pt+1],$t=Ee[pt+2],(Xt&192)===128&&($t&192)===128&&(pn=(bt&15)<<12|(Xt&63)<<6|$t&63,pn>2047&&(pn<55296||pn>57343)&&(Rt=pn));break;case 4:Xt=Ee[pt+1],$t=Ee[pt+2],ur=Ee[pt+3],(Xt&192)===128&&($t&192)===128&&(ur&192)===128&&(pn=(bt&15)<<18|(Xt&63)<<12|($t&63)<<6|ur&63,pn>65535&&pn<1114112&&(Rt=pn))}}Rt===null?(Rt=65533,Nt=1):Rt>65535&&(Rt-=65536,nt.push(Rt>>>10&1023|55296),Rt=56320|Rt&1023),nt.push(Rt),pt+=Nt}return xe(nt)}var ce=4096;function xe(Ee){var we=Ee.length;if(we<=ce)return String.fromCharCode.apply(String,Ee);for(var Le=\"\",nt=0;ntnt)&&(Le=nt);for(var pt=\"\",bt=we;btnt&&(we=nt),Le<0?(Le+=nt,Le<0&&(Le=0)):Le>nt&&(Le=nt),LeLe)throw new RangeError(\"Trying to access beyond buffer length\")}f.prototype.readUintLE=f.prototype.readUIntLE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we+--Le],bt=1;Le>0&&(bt*=256);)pt+=this[we+--Le]*bt;return pt},f.prototype.readUint8=f.prototype.readUInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]|this[we+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]<<8|this[we+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+this[we+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]*16777216+(this[we+1]<<16|this[we+2]<<8|this[we+3])},f.prototype.readBigUInt64LE=Se(function(we){we=we>>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,24),bt=this[++we]+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+nt*Math.pow(2,24);return BigInt(pt)+(BigInt(bt)<>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we],bt=this[++we]*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+nt;return(BigInt(pt)<>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt=bt&&(pt-=Math.pow(2,8*Le)),pt},f.prototype.readIntBE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=Le,bt=1,Rt=this[we+--pt];pt>0&&(bt*=256);)Rt+=this[we+--pt]*bt;return bt*=128,Rt>=bt&&(Rt-=Math.pow(2,8*Le)),Rt},f.prototype.readInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]&128?(255-this[we]+1)*-1:this[we]},f.prototype.readInt16LE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we]|this[we+1]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt16BE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we+1]|this[we]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},f.prototype.readInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},f.prototype.readBigInt64LE=Se(function(we){we=we>>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=this[we+4]+this[we+5]*Math.pow(2,8)+this[we+6]*Math.pow(2,16)+(nt<<24);return(BigInt(pt)<>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=(Le<<24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we];return(BigInt(pt)<>>0,Le||it(we,4,this.length),m.read(this,we,!0,23,4)},f.prototype.readFloatBE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),m.read(this,we,!1,23,4)},f.prototype.readDoubleLE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!0,52,8)},f.prototype.readDoubleBE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!1,52,8)};function at(Ee,we,Le,nt,pt,bt){if(!f.isBuffer(Ee))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(we>pt||weEe.length)throw new RangeError(\"Index out of range\")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=1,Nt=0;for(this[Le]=we&255;++Nt>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=nt-1,Nt=1;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)this[Le+Rt]=we/Nt&255;return Le+nt},f.prototype.writeUint8=f.prototype.writeUInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,255,0),this[Le]=we&255,Le+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le+3]=we>>>24,this[Le+2]=we>>>16,this[Le+1]=we>>>8,this[Le]=we&255,Le+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4};function tt(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Le}function ut(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le+7]=bt,bt=bt>>8,Ee[Le+6]=bt,bt=bt>>8,Ee[Le+5]=bt,bt=bt>>8,Ee[Le+4]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le+3]=Rt,Rt=Rt>>8,Ee[Le+2]=Rt,Rt=Rt>>8,Ee[Le+1]=Rt,Rt=Rt>>8,Ee[Le]=Rt,Le+8}f.prototype.writeBigUInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),f.prototype.writeBigUInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),f.prototype.writeIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=0,Nt=1,Xt=0;for(this[Le]=we&255;++Rt>0)-Xt&255;return Le+nt},f.prototype.writeIntBE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=nt-1,Nt=1,Xt=0;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)we<0&&Xt===0&&this[Le+Rt+1]!==0&&(Xt=1),this[Le+Rt]=(we/Nt>>0)-Xt&255;return Le+nt},f.prototype.writeInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,127,-128),we<0&&(we=255+we+1),this[Le]=we&255,Le+1},f.prototype.writeInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),this[Le]=we&255,this[Le+1]=we>>>8,this[Le+2]=we>>>16,this[Le+3]=we>>>24,Le+4},f.prototype.writeInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4},f.prototype.writeBigInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))}),f.prototype.writeBigInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function Me(Ee,we,Le,nt,pt,bt){if(Le+nt>Ee.length)throw new RangeError(\"Index out of range\");if(Le<0)throw new RangeError(\"Index out of range\")}function pe(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,4,34028234663852886e22,-34028234663852886e22),m.write(Ee,we,Le,nt,23,4),Le+4}f.prototype.writeFloatLE=function(we,Le,nt){return pe(this,we,Le,!0,nt)},f.prototype.writeFloatBE=function(we,Le,nt){return pe(this,we,Le,!1,nt)};function ue(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,8,17976931348623157e292,-17976931348623157e292),m.write(Ee,we,Le,nt,52,8),Le+8}f.prototype.writeDoubleLE=function(we,Le,nt){return ue(this,we,Le,!0,nt)},f.prototype.writeDoubleBE=function(we,Le,nt){return ue(this,we,Le,!1,nt)},f.prototype.copy=function(we,Le,nt,pt){if(!f.isBuffer(we))throw new TypeError(\"argument should be a Buffer\");if(nt||(nt=0),!pt&&pt!==0&&(pt=this.length),Le>=we.length&&(Le=we.length),Le||(Le=0),pt>0&&pt=this.length)throw new RangeError(\"Index out of range\");if(pt<0)throw new RangeError(\"sourceEnd out of bounds\");pt>this.length&&(pt=this.length),we.length-Le>>0,nt=nt===void 0?this.length:nt>>>0,we||(we=0);var Rt;if(typeof we==\"number\")for(Rt=Le;RtMath.pow(2,32)?pt=ot(String(Le)):typeof Le==\"bigint\"&&(pt=String(Le),(Le>Math.pow(BigInt(2),BigInt(32))||Le<-Math.pow(BigInt(2),BigInt(32)))&&(pt=ot(pt)),pt+=\"n\"),nt+=\" It must be \".concat(we,\". Received \").concat(pt),nt},RangeError);function ot(Ee){for(var we=\"\",Le=Ee.length,nt=Ee[0]===\"-\"?1:0;Le>=nt+4;Le-=3)we=\"_\".concat(Ee.slice(Le-3,Le)).concat(we);return\"\".concat(Ee.slice(0,Le)).concat(we)}function et(Ee,we,Le){Et(we,\"offset\"),(Ee[we]===void 0||Ee[we+Le]===void 0)&&Bt(we,Ee.length-(Le+1))}function Lt(Ee,we,Le,nt,pt,bt){if(Ee>Le||Ee3?we===0||we===BigInt(0)?Nt=\">= 0\".concat(Rt,\" and < 2\").concat(Rt,\" ** \").concat((bt+1)*8).concat(Rt):Nt=\">= -(2\".concat(Rt,\" ** \").concat((bt+1)*8-1).concat(Rt,\") and < 2 ** \")+\"\".concat((bt+1)*8-1).concat(Rt):Nt=\">= \".concat(we).concat(Rt,\" and <= \").concat(Le).concat(Rt),new Oe.ERR_OUT_OF_RANGE(\"value\",Nt,Ee)}et(nt,pt,bt)}function Et(Ee,we){if(typeof Ee!=\"number\")throw new Oe.ERR_INVALID_ARG_TYPE(we,\"number\",Ee)}function Bt(Ee,we,Le){throw Math.floor(Ee)!==Ee?(Et(Ee,Le),new Oe.ERR_OUT_OF_RANGE(Le||\"offset\",\"an integer\",Ee)):we<0?new Oe.ERR_BUFFER_OUT_OF_BOUNDS:new Oe.ERR_OUT_OF_RANGE(Le||\"offset\",\">= \".concat(Le?1:0,\" and <= \").concat(we),Ee)}var qt=/[^+/0-9A-Za-z-_]/g;function fr(Ee){if(Ee=Ee.split(\"=\")[0],Ee=Ee.trim().replace(qt,\"\"),Ee.length<2)return\"\";for(;Ee.length%4!==0;)Ee=Ee+\"=\";return Ee}function ar(Ee,we){we=we||1/0;for(var Le,nt=Ee.length,pt=null,bt=[],Rt=0;Rt55295&&Le<57344){if(!pt){if(Le>56319){(we-=3)>-1&&bt.push(239,191,189);continue}else if(Rt+1===nt){(we-=3)>-1&&bt.push(239,191,189);continue}pt=Le;continue}if(Le<56320){(we-=3)>-1&&bt.push(239,191,189),pt=Le;continue}Le=(pt-55296<<10|Le-56320)+65536}else pt&&(we-=3)>-1&&bt.push(239,191,189);if(pt=null,Le<128){if((we-=1)<0)break;bt.push(Le)}else if(Le<2048){if((we-=2)<0)break;bt.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((we-=3)<0)break;bt.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((we-=4)<0)break;bt.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error(\"Invalid code point\")}return bt}function Rr(Ee){for(var we=[],Le=0;Le>8,pt=Le%256,bt.push(pt),bt.push(nt);return bt}function br(Ee){return E.toByteArray(fr(Ee))}function _t(Ee,we,Le,nt){var pt;for(pt=0;pt=we.length||pt>=Ee.length);++pt)we[pt+Le]=Ee[pt];return pt}function Be(Ee,we){return Ee instanceof we||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===we.name}function Ke(Ee){return Ee!==Ee}var je=function(){for(var Ee=\"0123456789abcdef\",we=new Array(256),Le=0;Le<16;++Le)for(var nt=Le*16,pt=0;pt<16;++pt)we[nt+pt]=Ee[Le]+Ee[pt];return we}();function Se(Ee){return typeof BigInt>\"u\"?He:Ee}function He(){throw new Error(\"BigInt not supported\")}},9216:function(e){\"use strict\";e.exports=n,e.exports.isMobile=n,e.exports.default=n;var t=/(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,o=/android|ipad|playbook|silk/i;function n(i){i||(i={});var a=i.ua;if(!a&&typeof navigator<\"u\"&&(a=navigator.userAgent),a&&a.headers&&typeof a.headers[\"user-agent\"]==\"string\"&&(a=a.headers[\"user-agent\"]),typeof a!=\"string\")return!1;var s=t.test(a)&&!r.test(a)||!!i.tablet&&o.test(a);return!s&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&a.indexOf(\"Macintosh\")!==-1&&a.indexOf(\"Safari\")!==-1&&(s=!0),s}},6296:function(e,t,r){\"use strict\";e.exports=c;var o=r(7261),n=r(9977),i=r(1811);function a(h,p){this._controllerNames=Object.keys(h),this._controllerList=this._controllerNames.map(function(d){return h[d]}),this._mode=p,this._active=h[p],this._active||(this._mode=\"turntable\",this._active=h.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;s.flush=function(h){for(var p=this._controllerList,d=0;d\"u\"?r(1538):WeakMap,n=r(2762),i=r(8116),a=new o;function s(c){var h=a.get(c),p=h&&(h._triangleBuffer.handle||h._triangleBuffer.buffer);if(!p||!c.isBuffer(p)){var d=n(c,new Float32Array([-1,-1,-1,4,4,-1]));h=i(c,[{buffer:d,type:c.FLOAT,size:2}]),h._triangleBuffer=d,a.set(c,h)}h.bind(),c.drawArrays(c.TRIANGLES,0,3),h.unbind()}e.exports=s},1085:function(e,t,r){var o=r(1371);e.exports=n;function n(i,a,s){a=typeof a==\"number\"?a:1,s=s||\": \";var c=i.split(/\\r?\\n/),h=String(c.length+a-1).length;return c.map(function(p,d){var T=d+a,l=String(T).length,_=o(T,h-l);return _+s+p}).join(`\n`)}},3952:function(e,t,r){\"use strict\";e.exports=i;var o=r(3250);function n(a,s){for(var c=new Array(s+1),h=0;h0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var E=w.indexOf(\"=\");E===-1&&(E=M);var m=E===M?0:4-E%4;return[E,m]}function h(w){var M=c(w),E=M[0],m=M[1];return(E+m)*3/4-m}function p(w,M,E){return(M+E)*3/4-E}function d(w){var M,E=c(w),m=E[0],b=E[1],v=new n(p(w,m,b)),u=0,y=b>0?m-4:m,f;for(f=0;f>16&255,v[u++]=M>>8&255,v[u++]=M&255;return b===2&&(M=o[w.charCodeAt(f)]<<2|o[w.charCodeAt(f+1)]>>4,v[u++]=M&255),b===1&&(M=o[w.charCodeAt(f)]<<10|o[w.charCodeAt(f+1)]<<4|o[w.charCodeAt(f+2)]>>2,v[u++]=M>>8&255,v[u++]=M&255),v}function T(w){return r[w>>18&63]+r[w>>12&63]+r[w>>6&63]+r[w&63]}function l(w,M,E){for(var m,b=[],v=M;vy?y:u+v));return m===1?(M=w[E-1],b.push(r[M>>2]+r[M<<4&63]+\"==\")):m===2&&(M=(w[E-2]<<8)+w[E-1],b.push(r[M>>10]+r[M>>4&63]+r[M<<2&63]+\"=\")),b.join(\"\")}},3865:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).add(a[0].mul(i[1])),i[1].mul(a[1]))}},1318:function(e){\"use strict\";e.exports=t;function t(r,o){return r[0].mul(o[1]).cmp(o[0].mul(r[1]))}},8697:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]),i[1].mul(a[0]))}},7842:function(e,t,r){\"use strict\";var o=r(6330),n=r(1533),i=r(2651),a=r(6768),s=r(869),c=r(8697);e.exports=h;function h(p,d){if(o(p))return d?c(p,h(d)):[p[0].clone(),p[1].clone()];var T=0,l,_;if(n(p))l=p.clone();else if(typeof p==\"string\")l=a(p);else{if(p===0)return[i(0),i(1)];if(p===Math.floor(p))l=i(p);else{for(;p!==Math.floor(p);)p=p*Math.pow(2,256),T-=256;l=i(p)}}if(o(d))l.mul(d[1]),_=d[0].clone();else if(n(d))_=d.clone();else if(typeof d==\"string\")_=a(d);else if(!d)_=i(1);else if(d===Math.floor(d))_=i(d);else{for(;d!==Math.floor(d);)d=d*Math.pow(2,256),T+=256;_=i(d)}return T>0?l=l.ushln(T):T<0&&(_=_.ushln(-T)),s(l,_)}},6330:function(e,t,r){\"use strict\";var o=r(1533);e.exports=n;function n(i){return Array.isArray(i)&&i.length===2&&o(i[0])&&o(i[1])}},5716:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return i.cmp(new o(0))}},1369:function(e,t,r){\"use strict\";var o=r(5716);e.exports=n;function n(i){var a=i.length,s=i.words,c=0;if(a===1)c=s[0];else if(a===2)c=s[0]+s[1]*67108864;else for(var h=0;h20?52:c+32}},1533:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return i&&typeof i==\"object\"&&!!i.words}},2651:function(e,t,r){\"use strict\";var o=r(6859),n=r(2361);e.exports=i;function i(a){var s=n.exponent(a);return s<52?new o(a):new o(a*Math.pow(2,52-s)).ushln(s-52)}},869:function(e,t,r){\"use strict\";var o=r(2651),n=r(5716);e.exports=i;function i(a,s){var c=n(a),h=n(s);if(c===0)return[o(0),o(1)];if(h===0)return[o(0),o(0)];h<0&&(a=a.neg(),s=s.neg());var p=a.gcd(s);return p.cmpn(1)?[a.div(p),s.div(p)]:[a,s]}},6768:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return new o(i)}},6504:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[0]),i[1].mul(a[1]))}},7721:function(e,t,r){\"use strict\";var o=r(5716);e.exports=n;function n(i){return o(i[0])*o(i[1])}},5572:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).sub(i[1].mul(a[0])),i[1].mul(a[1]))}},946:function(e,t,r){\"use strict\";var o=r(1369),n=r(4025);e.exports=i;function i(a){var s=a[0],c=a[1];if(s.cmpn(0)===0)return 0;var h=s.abs().divmod(c.abs()),p=h.div,d=o(p),T=h.mod,l=s.negative!==c.negative?-1:1;if(T.cmpn(0)===0)return l*d;if(d){var _=n(d)+4,w=o(T.ushln(_).divRound(c));return l*(d+w*Math.pow(2,-_))}else{var M=c.bitLength()-T.bitLength()+53,w=o(T.ushln(M).divRound(c));return M<1023?l*w*Math.pow(2,-M):(w*=Math.pow(2,-1023),l*w*Math.pow(2,1023-M))}}},2478:function(e){\"use strict\";function t(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>=0?(T=l,d=l-1):p=l+1}return T}function r(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>0?(T=l,d=l-1):p=l+1}return T}function o(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<0?(T=l,p=l+1):d=l-1}return T}function n(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<=0?(T=l,p=l+1):d=l-1}return T}function i(s,c,h,p,d){for(;p<=d;){var T=p+d>>>1,l=s[T],_=h!==void 0?h(l,c):l-c;if(_===0)return T;_<=0?p=T+1:d=T-1}return-1}function a(s,c,h,p,d,T){return typeof h==\"function\"?T(s,c,h,p===void 0?0:p|0,d===void 0?s.length-1:d|0):T(s,c,void 0,h===void 0?0:h|0,p===void 0?s.length-1:p|0)}e.exports={ge:function(s,c,h,p,d){return a(s,c,h,p,d,t)},gt:function(s,c,h,p,d){return a(s,c,h,p,d,r)},lt:function(s,c,h,p,d){return a(s,c,h,p,d,o)},le:function(s,c,h,p,d){return a(s,c,h,p,d,n)},eq:function(s,c,h,p,d){return a(s,c,h,p,d,i)}}},8828:function(e,t){\"use strict\";\"use restrict\";var r=32;t.INT_BITS=r,t.INT_MAX=2147483647,t.INT_MIN=-1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},6859:function(e,t,r){e=r.nmd(e),function(o,n){\"use strict\";function i(O,I){if(!O)throw new Error(I||\"Assertion failed\")}function a(O,I){O.super_=I;var N=function(){};N.prototype=I.prototype,O.prototype=new N,O.prototype.constructor=O}function s(O,I,N){if(s.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((I===\"le\"||I===\"be\")&&(N=I,I=10),this._init(O||0,I||10,N||\"be\"))}typeof o==\"object\"?o.exports=s:n.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<\"u\"&&typeof window.Buffer<\"u\"?c=window.Buffer:c=r(7790).Buffer}catch{}s.isBN=function(I){return I instanceof s?!0:I!==null&&typeof I==\"object\"&&I.constructor.wordSize===s.wordSize&&Array.isArray(I.words)},s.max=function(I,N){return I.cmp(N)>0?I:N},s.min=function(I,N){return I.cmp(N)<0?I:N},s.prototype._init=function(I,N,U){if(typeof I==\"number\")return this._initNumber(I,N,U);if(typeof I==\"object\")return this._initArray(I,N,U);N===\"hex\"&&(N=16),i(N===(N|0)&&N>=2&&N<=36),I=I.toString().replace(/\\s+/g,\"\");var W=0;I[0]===\"-\"&&(W++,this.negative=1),W=0;W-=3)le=I[W]|I[W-1]<<8|I[W-2]<<16,this.words[Q]|=le<>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);else if(U===\"le\")for(W=0,Q=0;W>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);return this.strip()};function h(O,I){var N=O.charCodeAt(I);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function p(O,I,N){var U=h(O,N);return N-1>=I&&(U|=h(O,N-1)<<4),U}s.prototype._parseHex=function(I,N,U){this.length=Math.ceil((I.length-N)/6),this.words=new Array(this.length);for(var W=0;W=N;W-=2)se=p(I,N,W)<=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8;else{var fe=I.length-N;for(W=fe%2===0?N+1:N;W=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8}this.strip()};function d(O,I,N,U){for(var W=0,Q=Math.min(O.length,N),le=I;le=49?W+=se-49+10:se>=17?W+=se-17+10:W+=se}return W}s.prototype._parseBase=function(I,N,U){this.words=[0],this.length=1;for(var W=0,Q=1;Q<=67108863;Q*=N)W++;W--,Q=Q/N|0;for(var le=I.length-U,se=le%W,fe=Math.min(le,le-se)+U,G=0,$=U;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?\"\"};var T=[\"\",\"0\",\"00\",\"000\",\"0000\",\"00000\",\"000000\",\"0000000\",\"00000000\",\"000000000\",\"0000000000\",\"00000000000\",\"000000000000\",\"0000000000000\",\"00000000000000\",\"000000000000000\",\"0000000000000000\",\"00000000000000000\",\"000000000000000000\",\"0000000000000000000\",\"00000000000000000000\",\"000000000000000000000\",\"0000000000000000000000\",\"00000000000000000000000\",\"000000000000000000000000\",\"0000000000000000000000000\"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(I,N){I=I||10,N=N|0||1;var U;if(I===16||I===\"hex\"){U=\"\";for(var W=0,Q=0,le=0;le>>24-W&16777215,Q!==0||le!==this.length-1?U=T[6-fe.length]+fe+U:U=fe+U,W+=2,W>=26&&(W-=26,le--)}for(Q!==0&&(U=Q.toString(16)+U);U.length%N!==0;)U=\"0\"+U;return this.negative!==0&&(U=\"-\"+U),U}if(I===(I|0)&&I>=2&&I<=36){var G=l[I],$=_[I];U=\"\";var J=this.clone();for(J.negative=0;!J.isZero();){var X=J.modn($).toString(I);J=J.idivn($),J.isZero()?U=X+U:U=T[G-X.length]+X+U}for(this.isZero()&&(U=\"0\"+U);U.length%N!==0;)U=\"0\"+U;return this.negative!==0&&(U=\"-\"+U),U}i(!1,\"Base should be between 2 and 36\")},s.prototype.toNumber=function(){var I=this.words[0];return this.length===2?I+=this.words[1]*67108864:this.length===3&&this.words[2]===1?I+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,\"Number can only safely store up to 53 bits\"),this.negative!==0?-I:I},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(I,N){return i(typeof c<\"u\"),this.toArrayLike(c,I,N)},s.prototype.toArray=function(I,N){return this.toArrayLike(Array,I,N)},s.prototype.toArrayLike=function(I,N,U){var W=this.byteLength(),Q=U||Math.max(1,W);i(W<=Q,\"byte array longer than desired length\"),i(Q>0,\"Requested array length <= 0\"),this.strip();var le=N===\"le\",se=new I(Q),fe,G,$=this.clone();if(le){for(G=0;!$.isZero();G++)fe=$.andln(255),$.iushrn(8),se[G]=fe;for(;G=4096&&(U+=13,N>>>=13),N>=64&&(U+=7,N>>>=7),N>=8&&(U+=4,N>>>=4),N>=2&&(U+=2,N>>>=2),U+N},s.prototype._zeroBits=function(I){if(I===0)return 26;var N=I,U=0;return N&8191||(U+=13,N>>>=13),N&127||(U+=7,N>>>=7),N&15||(U+=4,N>>>=4),N&3||(U+=2,N>>>=2),N&1||U++,U},s.prototype.bitLength=function(){var I=this.words[this.length-1],N=this._countBits(I);return(this.length-1)*26+N};function w(O){for(var I=new Array(O.bitLength()),N=0;N>>W}return I}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var I=0,N=0;NI.length?this.clone().ior(I):I.clone().ior(this)},s.prototype.uor=function(I){return this.length>I.length?this.clone().iuor(I):I.clone().iuor(this)},s.prototype.iuand=function(I){var N;this.length>I.length?N=I:N=this;for(var U=0;UI.length?this.clone().iand(I):I.clone().iand(this)},s.prototype.uand=function(I){return this.length>I.length?this.clone().iuand(I):I.clone().iuand(this)},s.prototype.iuxor=function(I){var N,U;this.length>I.length?(N=this,U=I):(N=I,U=this);for(var W=0;WI.length?this.clone().ixor(I):I.clone().ixor(this)},s.prototype.uxor=function(I){return this.length>I.length?this.clone().iuxor(I):I.clone().iuxor(this)},s.prototype.inotn=function(I){i(typeof I==\"number\"&&I>=0);var N=Math.ceil(I/26)|0,U=I%26;this._expand(N),U>0&&N--;for(var W=0;W0&&(this.words[W]=~this.words[W]&67108863>>26-U),this.strip()},s.prototype.notn=function(I){return this.clone().inotn(I)},s.prototype.setn=function(I,N){i(typeof I==\"number\"&&I>=0);var U=I/26|0,W=I%26;return this._expand(U+1),N?this.words[U]=this.words[U]|1<I.length?(U=this,W=I):(U=I,W=this);for(var Q=0,le=0;le>>26;for(;Q!==0&&le>>26;if(this.length=U.length,Q!==0)this.words[this.length]=Q,this.length++;else if(U!==this)for(;leI.length?this.clone().iadd(I):I.clone().iadd(this)},s.prototype.isub=function(I){if(I.negative!==0){I.negative=0;var N=this.iadd(I);return I.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(I),this.negative=1,this._normSign();var U=this.cmp(I);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,Q;U>0?(W=this,Q=I):(W=I,Q=this);for(var le=0,se=0;se>26,this.words[se]=N&67108863;for(;le!==0&&se>26,this.words[se]=N&67108863;if(le===0&&se>>26,J=fe&67108863,X=Math.min(G,I.length-1),re=Math.max(0,G-O.length+1);re<=X;re++){var ae=G-re|0;W=O.words[ae]|0,Q=I.words[re]|0,le=W*Q+J,$+=le/67108864|0,J=le&67108863}N.words[G]=J|0,fe=$|0}return fe!==0?N.words[G]=fe|0:N.length--,N.strip()}var E=function(I,N,U){var W=I.words,Q=N.words,le=U.words,se=0,fe,G,$,J=W[0]|0,X=J&8191,re=J>>>13,ae=W[1]|0,j=ae&8191,ee=ae>>>13,ie=W[2]|0,ce=ie&8191,xe=ie>>>13,Te=W[3]|0,Ue=Te&8191,Ie=Te>>>13,Ye=W[4]|0,it=Ye&8191,at=Ye>>>13,tt=W[5]|0,ut=tt&8191,Me=tt>>>13,pe=W[6]|0,ue=pe&8191,Oe=pe>>>13,rt=W[7]|0,ot=rt&8191,et=rt>>>13,Lt=W[8]|0,Et=Lt&8191,Bt=Lt>>>13,qt=W[9]|0,fr=qt&8191,ar=qt>>>13,Rr=Q[0]|0,gr=Rr&8191,br=Rr>>>13,_t=Q[1]|0,Be=_t&8191,Ke=_t>>>13,je=Q[2]|0,Se=je&8191,He=je>>>13,Ee=Q[3]|0,we=Ee&8191,Le=Ee>>>13,nt=Q[4]|0,pt=nt&8191,bt=nt>>>13,Rt=Q[5]|0,Nt=Rt&8191,Xt=Rt>>>13,$t=Q[6]|0,ur=$t&8191,pn=$t>>>13,Rn=Q[7]|0,Nn=Rn&8191,On=Rn>>>13,ni=Q[8]|0,zn=ni&8191,Qn=ni>>>13,gi=Q[9]|0,Zt=gi&8191,Ft=gi>>>13;U.negative=I.negative^N.negative,U.length=19,fe=Math.imul(X,gr),G=Math.imul(X,br),G=G+Math.imul(re,gr)|0,$=Math.imul(re,br);var Ht=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,fe=Math.imul(j,gr),G=Math.imul(j,br),G=G+Math.imul(ee,gr)|0,$=Math.imul(ee,br),fe=fe+Math.imul(X,Be)|0,G=G+Math.imul(X,Ke)|0,G=G+Math.imul(re,Be)|0,$=$+Math.imul(re,Ke)|0;var Vt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,fe=Math.imul(ce,gr),G=Math.imul(ce,br),G=G+Math.imul(xe,gr)|0,$=Math.imul(xe,br),fe=fe+Math.imul(j,Be)|0,G=G+Math.imul(j,Ke)|0,G=G+Math.imul(ee,Be)|0,$=$+Math.imul(ee,Ke)|0,fe=fe+Math.imul(X,Se)|0,G=G+Math.imul(X,He)|0,G=G+Math.imul(re,Se)|0,$=$+Math.imul(re,He)|0;var wr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(wr>>>26)|0,wr&=67108863,fe=Math.imul(Ue,gr),G=Math.imul(Ue,br),G=G+Math.imul(Ie,gr)|0,$=Math.imul(Ie,br),fe=fe+Math.imul(ce,Be)|0,G=G+Math.imul(ce,Ke)|0,G=G+Math.imul(xe,Be)|0,$=$+Math.imul(xe,Ke)|0,fe=fe+Math.imul(j,Se)|0,G=G+Math.imul(j,He)|0,G=G+Math.imul(ee,Se)|0,$=$+Math.imul(ee,He)|0,fe=fe+Math.imul(X,we)|0,G=G+Math.imul(X,Le)|0,G=G+Math.imul(re,we)|0,$=$+Math.imul(re,Le)|0;var $r=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+($r>>>26)|0,$r&=67108863,fe=Math.imul(it,gr),G=Math.imul(it,br),G=G+Math.imul(at,gr)|0,$=Math.imul(at,br),fe=fe+Math.imul(Ue,Be)|0,G=G+Math.imul(Ue,Ke)|0,G=G+Math.imul(Ie,Be)|0,$=$+Math.imul(Ie,Ke)|0,fe=fe+Math.imul(ce,Se)|0,G=G+Math.imul(ce,He)|0,G=G+Math.imul(xe,Se)|0,$=$+Math.imul(xe,He)|0,fe=fe+Math.imul(j,we)|0,G=G+Math.imul(j,Le)|0,G=G+Math.imul(ee,we)|0,$=$+Math.imul(ee,Le)|0,fe=fe+Math.imul(X,pt)|0,G=G+Math.imul(X,bt)|0,G=G+Math.imul(re,pt)|0,$=$+Math.imul(re,bt)|0;var xn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(xn>>>26)|0,xn&=67108863,fe=Math.imul(ut,gr),G=Math.imul(ut,br),G=G+Math.imul(Me,gr)|0,$=Math.imul(Me,br),fe=fe+Math.imul(it,Be)|0,G=G+Math.imul(it,Ke)|0,G=G+Math.imul(at,Be)|0,$=$+Math.imul(at,Ke)|0,fe=fe+Math.imul(Ue,Se)|0,G=G+Math.imul(Ue,He)|0,G=G+Math.imul(Ie,Se)|0,$=$+Math.imul(Ie,He)|0,fe=fe+Math.imul(ce,we)|0,G=G+Math.imul(ce,Le)|0,G=G+Math.imul(xe,we)|0,$=$+Math.imul(xe,Le)|0,fe=fe+Math.imul(j,pt)|0,G=G+Math.imul(j,bt)|0,G=G+Math.imul(ee,pt)|0,$=$+Math.imul(ee,bt)|0,fe=fe+Math.imul(X,Nt)|0,G=G+Math.imul(X,Xt)|0,G=G+Math.imul(re,Nt)|0,$=$+Math.imul(re,Xt)|0;var en=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(en>>>26)|0,en&=67108863,fe=Math.imul(ue,gr),G=Math.imul(ue,br),G=G+Math.imul(Oe,gr)|0,$=Math.imul(Oe,br),fe=fe+Math.imul(ut,Be)|0,G=G+Math.imul(ut,Ke)|0,G=G+Math.imul(Me,Be)|0,$=$+Math.imul(Me,Ke)|0,fe=fe+Math.imul(it,Se)|0,G=G+Math.imul(it,He)|0,G=G+Math.imul(at,Se)|0,$=$+Math.imul(at,He)|0,fe=fe+Math.imul(Ue,we)|0,G=G+Math.imul(Ue,Le)|0,G=G+Math.imul(Ie,we)|0,$=$+Math.imul(Ie,Le)|0,fe=fe+Math.imul(ce,pt)|0,G=G+Math.imul(ce,bt)|0,G=G+Math.imul(xe,pt)|0,$=$+Math.imul(xe,bt)|0,fe=fe+Math.imul(j,Nt)|0,G=G+Math.imul(j,Xt)|0,G=G+Math.imul(ee,Nt)|0,$=$+Math.imul(ee,Xt)|0,fe=fe+Math.imul(X,ur)|0,G=G+Math.imul(X,pn)|0,G=G+Math.imul(re,ur)|0,$=$+Math.imul(re,pn)|0;var Fn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,fe=Math.imul(ot,gr),G=Math.imul(ot,br),G=G+Math.imul(et,gr)|0,$=Math.imul(et,br),fe=fe+Math.imul(ue,Be)|0,G=G+Math.imul(ue,Ke)|0,G=G+Math.imul(Oe,Be)|0,$=$+Math.imul(Oe,Ke)|0,fe=fe+Math.imul(ut,Se)|0,G=G+Math.imul(ut,He)|0,G=G+Math.imul(Me,Se)|0,$=$+Math.imul(Me,He)|0,fe=fe+Math.imul(it,we)|0,G=G+Math.imul(it,Le)|0,G=G+Math.imul(at,we)|0,$=$+Math.imul(at,Le)|0,fe=fe+Math.imul(Ue,pt)|0,G=G+Math.imul(Ue,bt)|0,G=G+Math.imul(Ie,pt)|0,$=$+Math.imul(Ie,bt)|0,fe=fe+Math.imul(ce,Nt)|0,G=G+Math.imul(ce,Xt)|0,G=G+Math.imul(xe,Nt)|0,$=$+Math.imul(xe,Xt)|0,fe=fe+Math.imul(j,ur)|0,G=G+Math.imul(j,pn)|0,G=G+Math.imul(ee,ur)|0,$=$+Math.imul(ee,pn)|0,fe=fe+Math.imul(X,Nn)|0,G=G+Math.imul(X,On)|0,G=G+Math.imul(re,Nn)|0,$=$+Math.imul(re,On)|0;var Wn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,fe=Math.imul(Et,gr),G=Math.imul(Et,br),G=G+Math.imul(Bt,gr)|0,$=Math.imul(Bt,br),fe=fe+Math.imul(ot,Be)|0,G=G+Math.imul(ot,Ke)|0,G=G+Math.imul(et,Be)|0,$=$+Math.imul(et,Ke)|0,fe=fe+Math.imul(ue,Se)|0,G=G+Math.imul(ue,He)|0,G=G+Math.imul(Oe,Se)|0,$=$+Math.imul(Oe,He)|0,fe=fe+Math.imul(ut,we)|0,G=G+Math.imul(ut,Le)|0,G=G+Math.imul(Me,we)|0,$=$+Math.imul(Me,Le)|0,fe=fe+Math.imul(it,pt)|0,G=G+Math.imul(it,bt)|0,G=G+Math.imul(at,pt)|0,$=$+Math.imul(at,bt)|0,fe=fe+Math.imul(Ue,Nt)|0,G=G+Math.imul(Ue,Xt)|0,G=G+Math.imul(Ie,Nt)|0,$=$+Math.imul(Ie,Xt)|0,fe=fe+Math.imul(ce,ur)|0,G=G+Math.imul(ce,pn)|0,G=G+Math.imul(xe,ur)|0,$=$+Math.imul(xe,pn)|0,fe=fe+Math.imul(j,Nn)|0,G=G+Math.imul(j,On)|0,G=G+Math.imul(ee,Nn)|0,$=$+Math.imul(ee,On)|0,fe=fe+Math.imul(X,zn)|0,G=G+Math.imul(X,Qn)|0,G=G+Math.imul(re,zn)|0,$=$+Math.imul(re,Qn)|0;var ri=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ri>>>26)|0,ri&=67108863,fe=Math.imul(fr,gr),G=Math.imul(fr,br),G=G+Math.imul(ar,gr)|0,$=Math.imul(ar,br),fe=fe+Math.imul(Et,Be)|0,G=G+Math.imul(Et,Ke)|0,G=G+Math.imul(Bt,Be)|0,$=$+Math.imul(Bt,Ke)|0,fe=fe+Math.imul(ot,Se)|0,G=G+Math.imul(ot,He)|0,G=G+Math.imul(et,Se)|0,$=$+Math.imul(et,He)|0,fe=fe+Math.imul(ue,we)|0,G=G+Math.imul(ue,Le)|0,G=G+Math.imul(Oe,we)|0,$=$+Math.imul(Oe,Le)|0,fe=fe+Math.imul(ut,pt)|0,G=G+Math.imul(ut,bt)|0,G=G+Math.imul(Me,pt)|0,$=$+Math.imul(Me,bt)|0,fe=fe+Math.imul(it,Nt)|0,G=G+Math.imul(it,Xt)|0,G=G+Math.imul(at,Nt)|0,$=$+Math.imul(at,Xt)|0,fe=fe+Math.imul(Ue,ur)|0,G=G+Math.imul(Ue,pn)|0,G=G+Math.imul(Ie,ur)|0,$=$+Math.imul(Ie,pn)|0,fe=fe+Math.imul(ce,Nn)|0,G=G+Math.imul(ce,On)|0,G=G+Math.imul(xe,Nn)|0,$=$+Math.imul(xe,On)|0,fe=fe+Math.imul(j,zn)|0,G=G+Math.imul(j,Qn)|0,G=G+Math.imul(ee,zn)|0,$=$+Math.imul(ee,Qn)|0,fe=fe+Math.imul(X,Zt)|0,G=G+Math.imul(X,Ft)|0,G=G+Math.imul(re,Zt)|0,$=$+Math.imul(re,Ft)|0;var Sn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,fe=Math.imul(fr,Be),G=Math.imul(fr,Ke),G=G+Math.imul(ar,Be)|0,$=Math.imul(ar,Ke),fe=fe+Math.imul(Et,Se)|0,G=G+Math.imul(Et,He)|0,G=G+Math.imul(Bt,Se)|0,$=$+Math.imul(Bt,He)|0,fe=fe+Math.imul(ot,we)|0,G=G+Math.imul(ot,Le)|0,G=G+Math.imul(et,we)|0,$=$+Math.imul(et,Le)|0,fe=fe+Math.imul(ue,pt)|0,G=G+Math.imul(ue,bt)|0,G=G+Math.imul(Oe,pt)|0,$=$+Math.imul(Oe,bt)|0,fe=fe+Math.imul(ut,Nt)|0,G=G+Math.imul(ut,Xt)|0,G=G+Math.imul(Me,Nt)|0,$=$+Math.imul(Me,Xt)|0,fe=fe+Math.imul(it,ur)|0,G=G+Math.imul(it,pn)|0,G=G+Math.imul(at,ur)|0,$=$+Math.imul(at,pn)|0,fe=fe+Math.imul(Ue,Nn)|0,G=G+Math.imul(Ue,On)|0,G=G+Math.imul(Ie,Nn)|0,$=$+Math.imul(Ie,On)|0,fe=fe+Math.imul(ce,zn)|0,G=G+Math.imul(ce,Qn)|0,G=G+Math.imul(xe,zn)|0,$=$+Math.imul(xe,Qn)|0,fe=fe+Math.imul(j,Zt)|0,G=G+Math.imul(j,Ft)|0,G=G+Math.imul(ee,Zt)|0,$=$+Math.imul(ee,Ft)|0;var ui=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ui>>>26)|0,ui&=67108863,fe=Math.imul(fr,Se),G=Math.imul(fr,He),G=G+Math.imul(ar,Se)|0,$=Math.imul(ar,He),fe=fe+Math.imul(Et,we)|0,G=G+Math.imul(Et,Le)|0,G=G+Math.imul(Bt,we)|0,$=$+Math.imul(Bt,Le)|0,fe=fe+Math.imul(ot,pt)|0,G=G+Math.imul(ot,bt)|0,G=G+Math.imul(et,pt)|0,$=$+Math.imul(et,bt)|0,fe=fe+Math.imul(ue,Nt)|0,G=G+Math.imul(ue,Xt)|0,G=G+Math.imul(Oe,Nt)|0,$=$+Math.imul(Oe,Xt)|0,fe=fe+Math.imul(ut,ur)|0,G=G+Math.imul(ut,pn)|0,G=G+Math.imul(Me,ur)|0,$=$+Math.imul(Me,pn)|0,fe=fe+Math.imul(it,Nn)|0,G=G+Math.imul(it,On)|0,G=G+Math.imul(at,Nn)|0,$=$+Math.imul(at,On)|0,fe=fe+Math.imul(Ue,zn)|0,G=G+Math.imul(Ue,Qn)|0,G=G+Math.imul(Ie,zn)|0,$=$+Math.imul(Ie,Qn)|0,fe=fe+Math.imul(ce,Zt)|0,G=G+Math.imul(ce,Ft)|0,G=G+Math.imul(xe,Zt)|0,$=$+Math.imul(xe,Ft)|0;var gt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(gt>>>26)|0,gt&=67108863,fe=Math.imul(fr,we),G=Math.imul(fr,Le),G=G+Math.imul(ar,we)|0,$=Math.imul(ar,Le),fe=fe+Math.imul(Et,pt)|0,G=G+Math.imul(Et,bt)|0,G=G+Math.imul(Bt,pt)|0,$=$+Math.imul(Bt,bt)|0,fe=fe+Math.imul(ot,Nt)|0,G=G+Math.imul(ot,Xt)|0,G=G+Math.imul(et,Nt)|0,$=$+Math.imul(et,Xt)|0,fe=fe+Math.imul(ue,ur)|0,G=G+Math.imul(ue,pn)|0,G=G+Math.imul(Oe,ur)|0,$=$+Math.imul(Oe,pn)|0,fe=fe+Math.imul(ut,Nn)|0,G=G+Math.imul(ut,On)|0,G=G+Math.imul(Me,Nn)|0,$=$+Math.imul(Me,On)|0,fe=fe+Math.imul(it,zn)|0,G=G+Math.imul(it,Qn)|0,G=G+Math.imul(at,zn)|0,$=$+Math.imul(at,Qn)|0,fe=fe+Math.imul(Ue,Zt)|0,G=G+Math.imul(Ue,Ft)|0,G=G+Math.imul(Ie,Zt)|0,$=$+Math.imul(Ie,Ft)|0;var yt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(yt>>>26)|0,yt&=67108863,fe=Math.imul(fr,pt),G=Math.imul(fr,bt),G=G+Math.imul(ar,pt)|0,$=Math.imul(ar,bt),fe=fe+Math.imul(Et,Nt)|0,G=G+Math.imul(Et,Xt)|0,G=G+Math.imul(Bt,Nt)|0,$=$+Math.imul(Bt,Xt)|0,fe=fe+Math.imul(ot,ur)|0,G=G+Math.imul(ot,pn)|0,G=G+Math.imul(et,ur)|0,$=$+Math.imul(et,pn)|0,fe=fe+Math.imul(ue,Nn)|0,G=G+Math.imul(ue,On)|0,G=G+Math.imul(Oe,Nn)|0,$=$+Math.imul(Oe,On)|0,fe=fe+Math.imul(ut,zn)|0,G=G+Math.imul(ut,Qn)|0,G=G+Math.imul(Me,zn)|0,$=$+Math.imul(Me,Qn)|0,fe=fe+Math.imul(it,Zt)|0,G=G+Math.imul(it,Ft)|0,G=G+Math.imul(at,Zt)|0,$=$+Math.imul(at,Ft)|0;var Pr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,fe=Math.imul(fr,Nt),G=Math.imul(fr,Xt),G=G+Math.imul(ar,Nt)|0,$=Math.imul(ar,Xt),fe=fe+Math.imul(Et,ur)|0,G=G+Math.imul(Et,pn)|0,G=G+Math.imul(Bt,ur)|0,$=$+Math.imul(Bt,pn)|0,fe=fe+Math.imul(ot,Nn)|0,G=G+Math.imul(ot,On)|0,G=G+Math.imul(et,Nn)|0,$=$+Math.imul(et,On)|0,fe=fe+Math.imul(ue,zn)|0,G=G+Math.imul(ue,Qn)|0,G=G+Math.imul(Oe,zn)|0,$=$+Math.imul(Oe,Qn)|0,fe=fe+Math.imul(ut,Zt)|0,G=G+Math.imul(ut,Ft)|0,G=G+Math.imul(Me,Zt)|0,$=$+Math.imul(Me,Ft)|0;var Ir=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,fe=Math.imul(fr,ur),G=Math.imul(fr,pn),G=G+Math.imul(ar,ur)|0,$=Math.imul(ar,pn),fe=fe+Math.imul(Et,Nn)|0,G=G+Math.imul(Et,On)|0,G=G+Math.imul(Bt,Nn)|0,$=$+Math.imul(Bt,On)|0,fe=fe+Math.imul(ot,zn)|0,G=G+Math.imul(ot,Qn)|0,G=G+Math.imul(et,zn)|0,$=$+Math.imul(et,Qn)|0,fe=fe+Math.imul(ue,Zt)|0,G=G+Math.imul(ue,Ft)|0,G=G+Math.imul(Oe,Zt)|0,$=$+Math.imul(Oe,Ft)|0;var Tr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,fe=Math.imul(fr,Nn),G=Math.imul(fr,On),G=G+Math.imul(ar,Nn)|0,$=Math.imul(ar,On),fe=fe+Math.imul(Et,zn)|0,G=G+Math.imul(Et,Qn)|0,G=G+Math.imul(Bt,zn)|0,$=$+Math.imul(Bt,Qn)|0,fe=fe+Math.imul(ot,Zt)|0,G=G+Math.imul(ot,Ft)|0,G=G+Math.imul(et,Zt)|0,$=$+Math.imul(et,Ft)|0;var Mr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,fe=Math.imul(fr,zn),G=Math.imul(fr,Qn),G=G+Math.imul(ar,zn)|0,$=Math.imul(ar,Qn),fe=fe+Math.imul(Et,Zt)|0,G=G+Math.imul(Et,Ft)|0,G=G+Math.imul(Bt,Zt)|0,$=$+Math.imul(Bt,Ft)|0;var Lr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,fe=Math.imul(fr,Zt),G=Math.imul(fr,Ft),G=G+Math.imul(ar,Zt)|0,$=Math.imul(ar,Ft);var Ur=(se+fe|0)+((G&8191)<<13)|0;return se=($+(G>>>13)|0)+(Ur>>>26)|0,Ur&=67108863,le[0]=Ht,le[1]=Vt,le[2]=wr,le[3]=$r,le[4]=xn,le[5]=en,le[6]=Fn,le[7]=Wn,le[8]=ri,le[9]=Sn,le[10]=ui,le[11]=gt,le[12]=yt,le[13]=Pr,le[14]=Ir,le[15]=Tr,le[16]=Mr,le[17]=Lr,le[18]=Ur,se!==0&&(le[19]=se,U.length++),U};Math.imul||(E=M);function m(O,I,N){N.negative=I.negative^O.negative,N.length=O.length+I.length;for(var U=0,W=0,Q=0;Q>>26)|0,W+=le>>>26,le&=67108863}N.words[Q]=se,U=le,le=W}return U!==0?N.words[Q]=U:N.length--,N.strip()}function b(O,I,N){var U=new v;return U.mulp(O,I,N)}s.prototype.mulTo=function(I,N){var U,W=this.length+I.length;return this.length===10&&I.length===10?U=E(this,I,N):W<63?U=M(this,I,N):W<1024?U=m(this,I,N):U=b(this,I,N),U};function v(O,I){this.x=O,this.y=I}v.prototype.makeRBT=function(I){for(var N=new Array(I),U=s.prototype._countBits(I)-1,W=0;W>=1;return W},v.prototype.permute=function(I,N,U,W,Q,le){for(var se=0;se>>1)Q++;return 1<>>13,U[2*le+1]=Q&8191,Q=Q>>>13;for(le=2*N;le>=26,N+=W/67108864|0,N+=Q>>>26,this.words[U]=Q&67108863}return N!==0&&(this.words[U]=N,this.length++),this},s.prototype.muln=function(I){return this.clone().imuln(I)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(I){var N=w(I);if(N.length===0)return new s(1);for(var U=this,W=0;W=0);var N=I%26,U=(I-N)/26,W=67108863>>>26-N<<26-N,Q;if(N!==0){var le=0;for(Q=0;Q>>26-N}le&&(this.words[Q]=le,this.length++)}if(U!==0){for(Q=this.length-1;Q>=0;Q--)this.words[Q+U]=this.words[Q];for(Q=0;Q=0);var W;N?W=(N-N%26)/26:W=0;var Q=I%26,le=Math.min((I-Q)/26,this.length),se=67108863^67108863>>>Q<le)for(this.length-=le,G=0;G=0&&($!==0||G>=W);G--){var J=this.words[G]|0;this.words[G]=$<<26-Q|J>>>Q,$=J&se}return fe&&$!==0&&(fe.words[fe.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(I,N,U){return i(this.negative===0),this.iushrn(I,N,U)},s.prototype.shln=function(I){return this.clone().ishln(I)},s.prototype.ushln=function(I){return this.clone().iushln(I)},s.prototype.shrn=function(I){return this.clone().ishrn(I)},s.prototype.ushrn=function(I){return this.clone().iushrn(I)},s.prototype.testn=function(I){i(typeof I==\"number\"&&I>=0);var N=I%26,U=(I-N)/26,W=1<=0);var N=I%26,U=(I-N)/26;if(i(this.negative===0,\"imaskn works only with positive numbers\"),this.length<=U)return this;if(N!==0&&U++,this.length=Math.min(U,this.length),N!==0){var W=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},s.prototype.isubn=function(I){if(i(typeof I==\"number\"),i(I<67108864),I<0)return this.iaddn(-I);if(this.negative!==0)return this.negative=0,this.iaddn(I),this.negative=1,this;if(this.words[0]-=I,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(fe/67108864|0),this.words[Q+U]=le&67108863}for(;Q>26,this.words[Q+U]=le&67108863;if(se===0)return this.strip();for(i(se===-1),se=0,Q=0;Q>26,this.words[Q]=le&67108863;return this.negative=1,this.strip()},s.prototype._wordDiv=function(I,N){var U=this.length-I.length,W=this.clone(),Q=I,le=Q.words[Q.length-1]|0,se=this._countBits(le);U=26-se,U!==0&&(Q=Q.ushln(U),W.iushln(U),le=Q.words[Q.length-1]|0);var fe=W.length-Q.length,G;if(N!==\"mod\"){G=new s(null),G.length=fe+1,G.words=new Array(G.length);for(var $=0;$=0;X--){var re=(W.words[Q.length+X]|0)*67108864+(W.words[Q.length+X-1]|0);for(re=Math.min(re/le|0,67108863),W._ishlnsubmul(Q,re,X);W.negative!==0;)re--,W.negative=0,W._ishlnsubmul(Q,1,X),W.isZero()||(W.negative^=1);G&&(G.words[X]=re)}return G&&G.strip(),W.strip(),N!==\"div\"&&U!==0&&W.iushrn(U),{div:G||null,mod:W}},s.prototype.divmod=function(I,N,U){if(i(!I.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var W,Q,le;return this.negative!==0&&I.negative===0?(le=this.neg().divmod(I,N),N!==\"mod\"&&(W=le.div.neg()),N!==\"div\"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.iadd(I)),{div:W,mod:Q}):this.negative===0&&I.negative!==0?(le=this.divmod(I.neg(),N),N!==\"mod\"&&(W=le.div.neg()),{div:W,mod:le.mod}):this.negative&I.negative?(le=this.neg().divmod(I.neg(),N),N!==\"div\"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.isub(I)),{div:le.div,mod:Q}):I.length>this.length||this.cmp(I)<0?{div:new s(0),mod:this}:I.length===1?N===\"div\"?{div:this.divn(I.words[0]),mod:null}:N===\"mod\"?{div:null,mod:new s(this.modn(I.words[0]))}:{div:this.divn(I.words[0]),mod:new s(this.modn(I.words[0]))}:this._wordDiv(I,N)},s.prototype.div=function(I){return this.divmod(I,\"div\",!1).div},s.prototype.mod=function(I){return this.divmod(I,\"mod\",!1).mod},s.prototype.umod=function(I){return this.divmod(I,\"mod\",!0).mod},s.prototype.divRound=function(I){var N=this.divmod(I);if(N.mod.isZero())return N.div;var U=N.div.negative!==0?N.mod.isub(I):N.mod,W=I.ushrn(1),Q=I.andln(1),le=U.cmp(W);return le<0||Q===1&&le===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},s.prototype.modn=function(I){i(I<=67108863);for(var N=(1<<26)%I,U=0,W=this.length-1;W>=0;W--)U=(N*U+(this.words[W]|0))%I;return U},s.prototype.idivn=function(I){i(I<=67108863);for(var N=0,U=this.length-1;U>=0;U--){var W=(this.words[U]|0)+N*67108864;this.words[U]=W/I|0,N=W%I}return this.strip()},s.prototype.divn=function(I){return this.clone().idivn(I)},s.prototype.egcd=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=new s(0),se=new s(1),fe=0;N.isEven()&&U.isEven();)N.iushrn(1),U.iushrn(1),++fe;for(var G=U.clone(),$=N.clone();!N.isZero();){for(var J=0,X=1;!(N.words[0]&X)&&J<26;++J,X<<=1);if(J>0)for(N.iushrn(J);J-- >0;)(W.isOdd()||Q.isOdd())&&(W.iadd(G),Q.isub($)),W.iushrn(1),Q.iushrn(1);for(var re=0,ae=1;!(U.words[0]&ae)&&re<26;++re,ae<<=1);if(re>0)for(U.iushrn(re);re-- >0;)(le.isOdd()||se.isOdd())&&(le.iadd(G),se.isub($)),le.iushrn(1),se.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(le),Q.isub(se)):(U.isub(N),le.isub(W),se.isub(Q))}return{a:le,b:se,gcd:U.iushln(fe)}},s.prototype._invmp=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=U.clone();N.cmpn(1)>0&&U.cmpn(1)>0;){for(var se=0,fe=1;!(N.words[0]&fe)&&se<26;++se,fe<<=1);if(se>0)for(N.iushrn(se);se-- >0;)W.isOdd()&&W.iadd(le),W.iushrn(1);for(var G=0,$=1;!(U.words[0]&$)&&G<26;++G,$<<=1);if(G>0)for(U.iushrn(G);G-- >0;)Q.isOdd()&&Q.iadd(le),Q.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(Q)):(U.isub(N),Q.isub(W))}var J;return N.cmpn(1)===0?J=W:J=Q,J.cmpn(0)<0&&J.iadd(I),J},s.prototype.gcd=function(I){if(this.isZero())return I.abs();if(I.isZero())return this.abs();var N=this.clone(),U=I.clone();N.negative=0,U.negative=0;for(var W=0;N.isEven()&&U.isEven();W++)N.iushrn(1),U.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;U.isEven();)U.iushrn(1);var Q=N.cmp(U);if(Q<0){var le=N;N=U,U=le}else if(Q===0||U.cmpn(1)===0)break;N.isub(U)}while(!0);return U.iushln(W)},s.prototype.invm=function(I){return this.egcd(I).a.umod(I)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(I){return this.words[0]&I},s.prototype.bincn=function(I){i(typeof I==\"number\");var N=I%26,U=(I-N)/26,W=1<>>26,se&=67108863,this.words[le]=se}return Q!==0&&(this.words[le]=Q,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(I){var N=I<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var U;if(this.length>1)U=1;else{N&&(I=-I),i(I<=67108863,\"Number is too big\");var W=this.words[0]|0;U=W===I?0:WI.length)return 1;if(this.length=0;U--){var W=this.words[U]|0,Q=I.words[U]|0;if(W!==Q){WQ&&(N=1);break}}return N},s.prototype.gtn=function(I){return this.cmpn(I)===1},s.prototype.gt=function(I){return this.cmp(I)===1},s.prototype.gten=function(I){return this.cmpn(I)>=0},s.prototype.gte=function(I){return this.cmp(I)>=0},s.prototype.ltn=function(I){return this.cmpn(I)===-1},s.prototype.lt=function(I){return this.cmp(I)===-1},s.prototype.lten=function(I){return this.cmpn(I)<=0},s.prototype.lte=function(I){return this.cmp(I)<=0},s.prototype.eqn=function(I){return this.cmpn(I)===0},s.prototype.eq=function(I){return this.cmp(I)===0},s.red=function(I){return new F(I)},s.prototype.toRed=function(I){return i(!this.red,\"Already a number in reduction context\"),i(this.negative===0,\"red works only with positives\"),I.convertTo(this)._forceRed(I)},s.prototype.fromRed=function(){return i(this.red,\"fromRed works only with numbers in reduction context\"),this.red.convertFrom(this)},s.prototype._forceRed=function(I){return this.red=I,this},s.prototype.forceRed=function(I){return i(!this.red,\"Already a number in reduction context\"),this._forceRed(I)},s.prototype.redAdd=function(I){return i(this.red,\"redAdd works only with red numbers\"),this.red.add(this,I)},s.prototype.redIAdd=function(I){return i(this.red,\"redIAdd works only with red numbers\"),this.red.iadd(this,I)},s.prototype.redSub=function(I){return i(this.red,\"redSub works only with red numbers\"),this.red.sub(this,I)},s.prototype.redISub=function(I){return i(this.red,\"redISub works only with red numbers\"),this.red.isub(this,I)},s.prototype.redShl=function(I){return i(this.red,\"redShl works only with red numbers\"),this.red.shl(this,I)},s.prototype.redMul=function(I){return i(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,I),this.red.mul(this,I)},s.prototype.redIMul=function(I){return i(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,I),this.red.imul(this,I)},s.prototype.redSqr=function(){return i(this.red,\"redSqr works only with red numbers\"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,\"redISqr works only with red numbers\"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,\"redSqrt works only with red numbers\"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,\"redInvm works only with red numbers\"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,\"redNeg works only with red numbers\"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(I){return i(this.red&&!I.red,\"redPow(normalNum)\"),this.red._verify1(this),this.red.pow(this,I)};var u={k256:null,p224:null,p192:null,p25519:null};function y(O,I){this.name=O,this.p=new s(I,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}y.prototype._tmp=function(){var I=new s(null);return I.words=new Array(Math.ceil(this.n/13)),I},y.prototype.ireduce=function(I){var N=I,U;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),U=N.bitLength();while(U>this.n);var W=U0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},y.prototype.split=function(I,N){I.iushrn(this.n,0,N)},y.prototype.imulK=function(I){return I.imul(this.k)};function f(){y.call(this,\"k256\",\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\")}a(f,y),f.prototype.split=function(I,N){for(var U=4194303,W=Math.min(I.length,9),Q=0;Q>>22,le=se}le>>>=22,I.words[Q-10]=le,le===0&&I.length>10?I.length-=10:I.length-=9},f.prototype.imulK=function(I){I.words[I.length]=0,I.words[I.length+1]=0,I.length+=2;for(var N=0,U=0;U>>=26,I.words[U]=Q,N=W}return N!==0&&(I.words[I.length++]=N),I},s._prime=function(I){if(u[I])return u[I];var N;if(I===\"k256\")N=new f;else if(I===\"p224\")N=new P;else if(I===\"p192\")N=new L;else if(I===\"p25519\")N=new z;else throw new Error(\"Unknown prime \"+I);return u[I]=N,N};function F(O){if(typeof O==\"string\"){var I=s._prime(O);this.m=I.p,this.prime=I}else i(O.gtn(1),\"modulus must be greater than 1\"),this.m=O,this.prime=null}F.prototype._verify1=function(I){i(I.negative===0,\"red works only with positives\"),i(I.red,\"red works only with red numbers\")},F.prototype._verify2=function(I,N){i((I.negative|N.negative)===0,\"red works only with positives\"),i(I.red&&I.red===N.red,\"red works only with red numbers\")},F.prototype.imod=function(I){return this.prime?this.prime.ireduce(I)._forceRed(this):I.umod(this.m)._forceRed(this)},F.prototype.neg=function(I){return I.isZero()?I.clone():this.m.sub(I)._forceRed(this)},F.prototype.add=function(I,N){this._verify2(I,N);var U=I.add(N);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},F.prototype.iadd=function(I,N){this._verify2(I,N);var U=I.iadd(N);return U.cmp(this.m)>=0&&U.isub(this.m),U},F.prototype.sub=function(I,N){this._verify2(I,N);var U=I.sub(N);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},F.prototype.isub=function(I,N){this._verify2(I,N);var U=I.isub(N);return U.cmpn(0)<0&&U.iadd(this.m),U},F.prototype.shl=function(I,N){return this._verify1(I),this.imod(I.ushln(N))},F.prototype.imul=function(I,N){return this._verify2(I,N),this.imod(I.imul(N))},F.prototype.mul=function(I,N){return this._verify2(I,N),this.imod(I.mul(N))},F.prototype.isqr=function(I){return this.imul(I,I.clone())},F.prototype.sqr=function(I){return this.mul(I,I)},F.prototype.sqrt=function(I){if(I.isZero())return I.clone();var N=this.m.andln(3);if(i(N%2===1),N===3){var U=this.m.add(new s(1)).iushrn(2);return this.pow(I,U)}for(var W=this.m.subn(1),Q=0;!W.isZero()&&W.andln(1)===0;)Q++,W.iushrn(1);i(!W.isZero());var le=new s(1).toRed(this),se=le.redNeg(),fe=this.m.subn(1).iushrn(1),G=this.m.bitLength();for(G=new s(2*G*G).toRed(this);this.pow(G,fe).cmp(se)!==0;)G.redIAdd(se);for(var $=this.pow(G,W),J=this.pow(I,W.addn(1).iushrn(1)),X=this.pow(I,W),re=Q;X.cmp(le)!==0;){for(var ae=X,j=0;ae.cmp(le)!==0;j++)ae=ae.redSqr();i(j=0;Q--){for(var $=N.words[Q],J=G-1;J>=0;J--){var X=$>>J&1;if(le!==W[0]&&(le=this.sqr(le)),X===0&&se===0){fe=0;continue}se<<=1,se|=X,fe++,!(fe!==U&&(Q!==0||J!==0))&&(le=this.mul(le,W[se]),fe=0,se=0)}G=26}return le},F.prototype.convertTo=function(I){var N=I.umod(this.m);return N===I?N.clone():N},F.prototype.convertFrom=function(I){var N=I.clone();return N.red=null,N},s.mont=function(I){return new B(I)};function B(O){F.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(B,F),B.prototype.convertTo=function(I){return this.imod(I.ushln(this.shift))},B.prototype.convertFrom=function(I){var N=this.imod(I.mul(this.rinv));return N.red=null,N},B.prototype.imul=function(I,N){if(I.isZero()||N.isZero())return I.words[0]=0,I.length=1,I;var U=I.imul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.mul=function(I,N){if(I.isZero()||N.isZero())return new s(0)._forceRed(this);var U=I.mul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.invm=function(I){var N=this.imod(I._invmp(this.m).mul(this.r2));return N._forceRed(this)}}(e,this)},6204:function(e){\"use strict\";e.exports=t;function t(r){var o,n,i,a=r.length,s=0;for(o=0;o>>1;if(!(v<=0)){var u,y=o.mallocDouble(2*v*m),f=o.mallocInt32(m);if(m=s(_,v,y,f),m>0){if(v===1&&E)n.init(m),u=n.sweepComplete(v,M,0,m,y,f,0,m,y,f);else{var P=o.mallocDouble(2*v*b),L=o.mallocInt32(b);b=s(w,v,P,L),b>0&&(n.init(m+b),v===1?u=n.sweepBipartite(v,M,0,m,y,f,0,b,P,L):u=i(v,M,E,m,y,f,b,P,L),o.free(P),o.free(L))}o.free(y),o.free(f)}return u}}}var h;function p(_,w){h.push([_,w])}function d(_){return h=[],c(_,_,p,!0),h}function T(_,w){return h=[],c(_,w,p,!1),h}function l(_,w,M){switch(arguments.length){case 1:return d(_);case 2:return typeof w==\"function\"?c(_,_,w,!0):T(_,w);case 3:return c(_,w,M,!1);default:throw new Error(\"box-intersect: Invalid arguments\")}}},2455:function(e,t){\"use strict\";function r(){function i(c,h,p,d,T,l,_,w,M,E,m){for(var b=2*c,v=d,u=b*d;vM-w?i(c,h,p,d,T,l,_,w,M,E,m):a(c,h,p,d,T,l,_,w,M,E,m)}return s}function o(){function i(p,d,T,l,_,w,M,E,m,b,v){for(var u=2*p,y=l,f=u*l;y<_;++y,f+=u){var P=w[d+f],L=w[d+f+p],z=M[y];e:for(var F=E,B=u*E;Fb-m?l?i(p,d,T,_,w,M,E,m,b,v,u):a(p,d,T,_,w,M,E,m,b,v,u):l?s(p,d,T,_,w,M,E,m,b,v,u):c(p,d,T,_,w,M,E,m,b,v,u)}return h}function n(i){return i?r():o()}t.partial=n(!1),t.full=n(!0)},7150:function(e,t,r){\"use strict\";e.exports=O;var o=r(1888),n=r(8828),i=r(2455),a=i.partial,s=i.full,c=r(855),h=r(3545),p=r(8105),d=128,T=1<<22,l=1<<22,_=p(\"!(lo>=p0)&&!(p1>=hi)\"),w=p(\"lo===p0\"),M=p(\"lo0;){$-=1;var re=$*v,ae=f[re],j=f[re+1],ee=f[re+2],ie=f[re+3],ce=f[re+4],xe=f[re+5],Te=$*u,Ue=P[Te],Ie=P[Te+1],Ye=xe&1,it=!!(xe&16),at=Q,tt=le,ut=fe,Me=G;if(Ye&&(at=fe,tt=G,ut=Q,Me=le),!(xe&2&&(ee=M(I,ae,j,ee,at,tt,Ie),j>=ee))&&!(xe&4&&(j=E(I,ae,j,ee,at,tt,Ue),j>=ee))){var pe=ee-j,ue=ce-ie;if(it){if(I*pe*(pe+ue)p&&T[b+h]>E;--m,b-=_){for(var v=b,u=b+_,y=0;y<_;++y,++v,++u){var f=T[v];T[v]=T[u],T[u]=f}var P=l[m];l[m]=l[m-1],l[m-1]=P}}function s(c,h,p,d,T,l){if(d<=p+1)return p;for(var _=p,w=d,M=d+p>>>1,E=2*c,m=M,b=T[E*M+h];_=P?(m=f,b=P):y>=z?(m=u,b=y):(m=L,b=z):P>=z?(m=f,b=P):z>=y?(m=u,b=y):(m=L,b=z);for(var O=E*(w-1),I=E*m,F=0;F=p0)&&!(p1>=hi)\":h};function r(p){return t[p]}function o(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(P===M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function n(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(PL;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function i(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function a(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function s(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(P<=M&&M<=L)if(v===f)v+=1,b+=E;else{for(var z=0;E>z;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function c(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(Pz;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function h(p,d,T,l,_,w,M,E){for(var m=2*p,b=m*T,v=b,u=T,y=d,f=p+d,P=T;l>P;++P,b+=m){var L=_[b+y],z=_[b+f];if(!(L>=M)&&!(E>=z))if(u===P)u+=1,v+=m;else{for(var F=0;m>F;++F){var B=_[b+F];_[b+F]=_[v],_[v++]=B}var O=w[P];w[P]=w[u],w[u++]=O}}return u}},4192:function(e){\"use strict\";e.exports=r;var t=32;function r(d,T){T<=4*t?o(0,T-1,d):p(0,T-1,d)}function o(d,T,l){for(var _=2*(d+1),w=d+1;w<=T;++w){for(var M=l[_++],E=l[_++],m=w,b=_-2;m-- >d;){var v=l[b-2],u=l[b-1];if(vl[T+1]:!0}function h(d,T,l,_){d*=2;var w=_[d];return w>1,m=E-_,b=E+_,v=w,u=m,y=E,f=b,P=M,L=d+1,z=T-1,F=0;c(v,u,l)&&(F=v,v=u,u=F),c(f,P,l)&&(F=f,f=P,P=F),c(v,y,l)&&(F=v,v=y,y=F),c(u,y,l)&&(F=u,u=y,y=F),c(v,f,l)&&(F=v,v=f,f=F),c(y,f,l)&&(F=y,y=f,f=F),c(u,P,l)&&(F=u,u=P,P=F),c(u,y,l)&&(F=u,u=y,y=F),c(f,P,l)&&(F=f,f=P,P=F);for(var B=l[2*u],O=l[2*u+1],I=l[2*f],N=l[2*f+1],U=2*v,W=2*y,Q=2*P,le=2*w,se=2*E,fe=2*M,G=0;G<2;++G){var $=l[U+G],J=l[W+G],X=l[Q+G];l[le+G]=$,l[se+G]=J,l[fe+G]=X}i(m,d,l),i(b,T,l);for(var re=L;re<=z;++re)if(h(re,B,O,l))re!==L&&n(re,L,l),++L;else if(!h(re,I,N,l))for(;;)if(h(z,I,N,l)){h(z,B,O,l)?(a(re,L,z,l),++L,--z):(n(re,z,l),--z);break}else{if(--z>>1;i(_,J);for(var X=0,re=0,se=0;se=a)ae=ae-a|0,M(p,d,re--,ae);else if(ae>=0)M(c,h,X--,ae);else if(ae<=-a){ae=-ae-a|0;for(var j=0;j>>1;i(_,J);for(var X=0,re=0,ae=0,se=0;se>1===_[2*se+3]>>1&&(ee=2,se+=1),j<0){for(var ie=-(j>>1)-1,ce=0;ce>1)-1;ee===0?M(c,h,X--,ie):ee===1?M(p,d,re--,ie):ee===2&&M(T,l,ae--,ie)}}}function v(y,f,P,L,z,F,B,O,I,N,U,W){var Q=0,le=2*y,se=f,fe=f+y,G=1,$=1;L?$=a:G=a;for(var J=z;J>>1;i(_,j);for(var ee=0,J=0;J=a?(ce=!L,X-=a):(ce=!!L,X-=1),ce)E(c,h,ee++,X);else{var xe=W[X],Te=le*X,Ue=U[Te+f+1],Ie=U[Te+f+1+y];e:for(var Ye=0;Ye>>1;i(_,X);for(var re=0,fe=0;fe=a)c[re++]=G-a;else{G-=1;var j=U[G],ee=Q*G,ie=N[ee+f+1],ce=N[ee+f+1+y];e:for(var xe=0;xe=0;--xe)if(c[xe]===G){for(var Ye=xe+1;Ye0;){for(var w=h.pop(),T=h.pop(),M=-1,E=-1,l=d[T],b=1;b=0||(c.flip(T,w),i(s,c,h,M,T,E),i(s,c,h,T,E,M),i(s,c,h,E,w,M),i(s,c,h,w,M,E))}}},5023:function(e,t,r){\"use strict\";var o=r(2478);e.exports=h;function n(p,d,T,l,_,w,M){this.cells=p,this.neighbor=d,this.flags=l,this.constraint=T,this.active=_,this.next=w,this.boundary=M}var i=n.prototype;function a(p,d){return p[0]-d[0]||p[1]-d[1]||p[2]-d[2]}i.locate=function(){var p=[0,0,0];return function(d,T,l){var _=d,w=T,M=l;return T0||M.length>0;){for(;w.length>0;){var u=w.pop();if(E[u]!==-_){E[u]=_;for(var y=m[u],f=0;f<3;++f){var P=v[3*u+f];P>=0&&E[P]===0&&(b[3*u+f]?M.push(P):(w.push(P),E[P]=_))}}}var L=M;M=w,w=L,M.length=0,_=-_}var z=c(m,E,d);return T?z.concat(l.boundary):z}},8902:function(e,t,r){\"use strict\";var o=r(2478),n=r(3250)[3],i=0,a=1,s=2;e.exports=M;function c(E,m,b,v,u){this.a=E,this.b=m,this.idx=b,this.lowerIds=v,this.upperIds=u}function h(E,m,b,v){this.a=E,this.b=m,this.type=b,this.idx=v}function p(E,m){var b=E.a[0]-m.a[0]||E.a[1]-m.a[1]||E.type-m.type;return b||E.type!==i&&(b=n(E.a,E.b,m.b),b)?b:E.idx-m.idx}function d(E,m){return n(E.a,E.b,m)}function T(E,m,b,v,u){for(var y=o.lt(m,v,d),f=o.gt(m,v,d),P=y;P1&&n(b[z[B-2]],b[z[B-1]],v)>0;)E.push([z[B-1],z[B-2],u]),B-=1;z.length=B,z.push(u);for(var F=L.upperIds,B=F.length;B>1&&n(b[F[B-2]],b[F[B-1]],v)<0;)E.push([F[B-2],F[B-1],u]),B-=1;F.length=B,F.push(u)}}function l(E,m){var b;return E.a[0]L[0]&&u.push(new h(L,P,s,y),new h(P,L,a,y))}u.sort(p);for(var z=u[0].a[0]-(1+Math.abs(u[0].a[0]))*Math.pow(2,-52),F=[new c([z,1],[z,0],-1,[],[],[],[])],B=[],y=0,O=u.length;y=0}}(),i.removeTriangle=function(c,h,p){var d=this.stars;a(d[c],h,p),a(d[h],p,c),a(d[p],c,h)},i.addTriangle=function(c,h,p){var d=this.stars;d[c].push(h,p),d[h].push(p,c),d[p].push(c,h)},i.opposite=function(c,h){for(var p=this.stars[h],d=1,T=p.length;d=0;--I){var $=B[I];N=$[0];var J=z[N],X=J[0],re=J[1],ae=L[X],j=L[re];if((ae[0]-j[0]||ae[1]-j[1])<0){var ee=X;X=re,re=ee}J[0]=X;var ie=J[1]=$[1],ce;for(O&&(ce=J[2]);I>0&&B[I-1][0]===N;){var $=B[--I],xe=$[1];O?z.push([ie,xe,ce]):z.push([ie,xe]),ie=xe}O?z.push([ie,re,ce]):z.push([ie,re])}return U}function m(L,z,F){for(var B=z.length,O=new o(B),I=[],N=0;Nz[2]?1:0)}function u(L,z,F){if(L.length!==0){if(z)for(var B=0;B0||N.length>0}function P(L,z,F){var B;if(F){B=z;for(var O=new Array(z.length),I=0;IE+1)throw new Error(w+\" map requires nshades to be at least size \"+_.length);Array.isArray(h.alpha)?h.alpha.length!==2?m=[1,1]:m=h.alpha.slice():typeof h.alpha==\"number\"?m=[h.alpha,h.alpha]:m=[1,1],p=_.map(function(P){return Math.round(P.index*E)}),m[0]=Math.min(Math.max(m[0],0),1),m[1]=Math.min(Math.max(m[1],0),1);var v=_.map(function(P,L){var z=_[L].index,F=_[L].rgb.slice();return F.length===4&&F[3]>=0&&F[3]<=1||(F[3]=m[0]+(m[1]-m[0])*z),F}),u=[];for(b=0;b=0}function h(p,d,T,l){var _=o(d,T,l);if(_===0){var w=n(o(p,d,T)),M=n(o(p,d,l));if(w===M){if(w===0){var E=c(p,d,T),m=c(p,d,l);return E===m?0:E?1:-1}return 0}else{if(M===0)return w>0||c(p,d,l)?-1:1;if(w===0)return M>0||c(p,d,T)?1:-1}return n(M-w)}var b=o(p,d,T);if(b>0)return _>0&&o(p,d,l)>0?1:-1;if(b<0)return _>0||o(p,d,l)>0?1:-1;var v=o(p,d,l);return v>0||c(p,d,T)?1:-1}},8572:function(e){\"use strict\";e.exports=function(r){return r<0?-1:r>0?1:0}},8507:function(e){e.exports=o;var t=Math.min;function r(n,i){return n-i}function o(n,i){var a=n.length,s=n.length-i.length;if(s)return s;switch(a){case 0:return 0;case 1:return n[0]-i[0];case 2:return n[0]+n[1]-i[0]-i[1]||t(n[0],n[1])-t(i[0],i[1]);case 3:var c=n[0]+n[1],h=i[0]+i[1];if(s=c+n[2]-(h+i[2]),s)return s;var p=t(n[0],n[1]),d=t(i[0],i[1]);return t(p,n[2])-t(d,i[2])||t(p+n[2],c)-t(d+i[2],h);case 4:var T=n[0],l=n[1],_=n[2],w=n[3],M=i[0],E=i[1],m=i[2],b=i[3];return T+l+_+w-(M+E+m+b)||t(T,l,_,w)-t(M,E,m,b,M)||t(T+l,T+_,T+w,l+_,l+w,_+w)-t(M+E,M+m,M+b,E+m,E+b,m+b)||t(T+l+_,T+l+w,T+_+w,l+_+w)-t(M+E+m,M+E+b,M+m+b,E+m+b);default:for(var v=n.slice().sort(r),u=i.slice().sort(r),y=0;yr[n][0]&&(n=i);return on?[[n],[o]]:[[o]]}},4750:function(e,t,r){\"use strict\";e.exports=n;var o=r(3090);function n(i){var a=o(i),s=a.length;if(s<=2)return[];for(var c=new Array(s),h=a[s-1],p=0;p=h[M]&&(w+=1);l[_]=w}}return c}function s(c,h){try{return o(c,!0)}catch{var p=n(c);if(p.length<=h)return[];var d=i(c,p),T=o(d,!0);return a(T,p)}}},4769:function(e){\"use strict\";function t(o,n,i,a,s,c){var h=6*s*s-6*s,p=3*s*s-4*s+1,d=-6*s*s+6*s,T=3*s*s-2*s;if(o.length){c||(c=new Array(o.length));for(var l=o.length-1;l>=0;--l)c[l]=h*o[l]+p*n[l]+d*i[l]+T*a[l];return c}return h*o+p*n+d*i[l]+T*a}function r(o,n,i,a,s,c){var h=s-1,p=s*s,d=h*h,T=(1+2*s)*d,l=s*d,_=p*(3-2*s),w=p*h;if(o.length){c||(c=new Array(o.length));for(var M=o.length-1;M>=0;--M)c[M]=T*o[M]+l*n[M]+_*i[M]+w*a[M];return c}return T*o+l*n+_*i+w*a}e.exports=r,e.exports.derivative=t},7642:function(e,t,r){\"use strict\";var o=r(8954),n=r(1682);e.exports=c;function i(h,p){this.point=h,this.index=p}function a(h,p){for(var d=h.point,T=p.point,l=d.length,_=0;_=2)return!1;F[O]=I}return!0}):z=z.filter(function(F){for(var B=0;B<=T;++B){var O=y[F[B]];if(O<0)return!1;F[B]=O}return!0}),T&1)for(var w=0;w>>31},e.exports.exponent=function(_){var w=e.exports.hi(_);return(w<<1>>>21)-1023},e.exports.fraction=function(_){var w=e.exports.lo(_),M=e.exports.hi(_),E=M&(1<<20)-1;return M&2146435072&&(E+=1048576),[w,E]},e.exports.denormalized=function(_){var w=e.exports.hi(_);return!(w&2146435072)}},1338:function(e){\"use strict\";function t(n,i,a){var s=n[a]|0;if(s<=0)return[];var c=new Array(s),h;if(a===n.length-1)for(h=0;h\"u\"&&(i=0),typeof n){case\"number\":if(n>0)return r(n|0,i);break;case\"object\":if(typeof n.length==\"number\")return t(n,i,0);break}return[]}e.exports=o},3134:function(e,t,r){\"use strict\";e.exports=n;var o=r(1682);function n(i,a){var s=i.length;if(typeof a!=\"number\"){a=0;for(var c=0;c=T-1)for(var b=w.length-1,u=p-d[T-1],v=0;v=T-1)for(var m=w.length-1,b=p-d[T-1],v=0;v=0;--T)if(p[--d])return!1;return!0},s.jump=function(p){var d=this.lastT(),T=this.dimension;if(!(p0;--v)l.push(i(E[v-1],m[v-1],arguments[v])),_.push(0)}},s.push=function(p){var d=this.lastT(),T=this.dimension;if(!(p1e-6?1/M:0;this._time.push(p);for(var u=T;u>0;--u){var y=i(m[u-1],b[u-1],arguments[u]);l.push(y),_.push((y-l[w++])*v)}}},s.set=function(p){var d=this.dimension;if(!(p0;--E)T.push(i(w[E-1],M[E-1],arguments[E])),l.push(0)}},s.move=function(p){var d=this.lastT(),T=this.dimension;if(!(p<=d||arguments.length!==T+1)){var l=this._state,_=this._velocity,w=l.length-this.dimension,M=this.bounds,E=M[0],m=M[1],b=p-d,v=b>1e-6?1/b:0;this._time.push(p);for(var u=T;u>0;--u){var y=arguments[u];l.push(i(E[u-1],m[u-1],l[w++]+y)),_.push(y*v)}}},s.idle=function(p){var d=this.lastT();if(!(p=0;--v)l.push(i(E[v],m[v],l[w]+b*_[w])),_.push(0),w+=1}};function c(p){for(var d=new Array(p),T=0;T=0;--L){var u=y[L];f[L]<=0?y[L]=new o(u._color,u.key,u.value,y[L+1],u.right,u._count+1):y[L]=new o(u._color,u.key,u.value,u.left,y[L+1],u._count+1)}for(var L=y.length-1;L>1;--L){var z=y[L-1],u=y[L];if(z._color===r||u._color===r)break;var F=y[L-2];if(F.left===z)if(z.left===u){var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.left=z.right,z._color=r,z.right=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.left===F?O.left=z:O.right=z}break}}else{var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(z.right=u.left,F._color=t,F.left=u.right,u._color=r,u.left=z,u.right=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.left===F?O.left=u:O.right=u}break}}else if(z.right===u){var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.right=z.left,z._color=r,z.left=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.right===F?O.right=z:O.left=z}break}}else{var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(z.left=u.right,F._color=t,F.right=u.left,u._color=r,u.right=z,u.left=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.right===F?O.right=u:O.left=u}break}}}return y[0]._color=r,new s(v,y[0])};function h(m,b){if(b.left){var v=h(m,b.left);if(v)return v}var v=m(b.key,b.value);if(v)return v;if(b.right)return h(m,b.right)}function p(m,b,v,u){var y=b(m,u.key);if(y<=0){if(u.left){var f=p(m,b,v,u.left);if(f)return f}var f=v(u.key,u.value);if(f)return f}if(u.right)return p(m,b,v,u.right)}function d(m,b,v,u,y){var f=v(m,y.key),P=v(b,y.key),L;if(f<=0&&(y.left&&(L=d(m,b,v,u,y.left),L)||P>0&&(L=u(y.key,y.value),L)))return L;if(P>0&&y.right)return d(m,b,v,u,y.right)}c.forEach=function(b,v,u){if(this.root)switch(arguments.length){case 1:return h(b,this.root);case 2:return p(v,this._compare,b,this.root);case 3:return this._compare(v,u)>=0?void 0:d(v,u,this._compare,b,this.root)}},Object.defineProperty(c,\"begin\",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.left;return new T(this,m)}}),Object.defineProperty(c,\"end\",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.right;return new T(this,m)}}),c.at=function(m){if(m<0)return new T(this,[]);for(var b=this.root,v=[];;){if(v.push(b),b.left){if(m=b.right._count)break;b=b.right}else break}return new T(this,[])},c.ge=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<=0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.gt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.lt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.le=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>=0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.find=function(m){for(var b=this._compare,v=this.root,u=[];v;){var y=b(m,v.key);if(u.push(v),y===0)return new T(this,u);y<=0?v=v.left:v=v.right}return new T(this,[])},c.remove=function(m){var b=this.find(m);return b?b.remove():this},c.get=function(m){for(var b=this._compare,v=this.root;v;){var u=b(m,v.key);if(u===0)return v.value;u<=0?v=v.left:v=v.right}};function T(m,b){this.tree=m,this._stack=b}var l=T.prototype;Object.defineProperty(l,\"valid\",{get:function(){return this._stack.length>0}}),Object.defineProperty(l,\"node\",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),l.clone=function(){return new T(this.tree,this._stack.slice())};function _(m,b){m.key=b.key,m.value=b.value,m.left=b.left,m.right=b.right,m._color=b._color,m._count=b._count}function w(m){for(var b,v,u,y,f=m.length-1;f>=0;--f){if(b=m[f],f===0){b._color=r;return}if(v=m[f-1],v.left===b){if(u=v.right,u.right&&u.right._color===t){if(u=v.right=n(u),y=u.right=n(u.right),v.right=u.left,u.left=v,u.right=y,u._color=v._color,b._color=r,v._color=r,y._color=r,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u;return}else if(u.left&&u.left._color===t){if(u=v.right=n(u),y=u.left=n(u.left),v.right=y.left,u.left=y.right,y.left=v,y.right=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.left===v?P.left=y:P.right=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.right=i(t,u);return}else{v.right=i(t,u);continue}else{if(u=n(u),v.right=u.left,u.left=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u,m[f]=v,f+11){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u;return}else if(u.right&&u.right._color===t){if(u=v.left=n(u),y=u.right=n(u.right),v.left=y.right,u.right=y.left,y.right=v,y.left=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.right===v?P.right=y:P.left=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.left=i(t,u);return}else{v.left=i(t,u);continue}else{if(u=n(u),v.left=u.right,u.right=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u,m[f]=v,f+1=0;--u){var v=m[u];v.left===m[u+1]?b[u]=new o(v._color,v.key,v.value,b[u+1],v.right,v._count):b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count)}if(v=b[b.length-1],v.left&&v.right){var y=b.length;for(v=v.left;v.right;)b.push(v),v=v.right;var f=b[y-1];b.push(new o(v._color,f.key,f.value,v.left,v.right,v._count)),b[y-1].key=v.key,b[y-1].value=v.value;for(var u=b.length-2;u>=y;--u)v=b[u],b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count);b[y-1].left=b[y]}if(v=b[b.length-1],v._color===t){var P=b[b.length-2];P.left===v?P.left=null:P.right===v&&(P.right=null),b.pop();for(var u=0;u0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(l,\"value\",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(l,\"index\",{get:function(){var m=0,b=this._stack;if(b.length===0){var v=this.tree.root;return v?v._count:0}else b[b.length-1].left&&(m=b[b.length-1].left._count);for(var u=b.length-2;u>=0;--u)b[u+1]===b[u].right&&(++m,b[u].left&&(m+=b[u].left._count));return m},enumerable:!0}),l.next=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.right)for(b=b.right;b;)m.push(b),b=b.left;else for(m.pop();m.length>0&&m[m.length-1].right===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,\"hasNext\",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].right)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].left===m[b])return!0;return!1}}),l.update=function(m){var b=this._stack;if(b.length===0)throw new Error(\"Can't update empty node!\");var v=new Array(b.length),u=b[b.length-1];v[v.length-1]=new o(u._color,u.key,m,u.left,u.right,u._count);for(var y=b.length-2;y>=0;--y)u=b[y],u.left===b[y+1]?v[y]=new o(u._color,u.key,u.value,v[y+1],u.right,u._count):v[y]=new o(u._color,u.key,u.value,u.left,v[y+1],u._count);return new s(this.tree._compare,v[0])},l.prev=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.left)for(b=b.left;b;)m.push(b),b=b.right;else for(m.pop();m.length>0&&m[m.length-1].left===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,\"hasPrev\",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].left)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].right===m[b])return!0;return!1}});function M(m,b){return mb?1:0}function E(m){return new s(m||M,null)}},3837:function(e,t,r){\"use strict\";e.exports=L;var o=r(4935),n=r(501),i=r(5304),a=r(6429),s=r(6444),c=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),h=ArrayBuffer,p=DataView;function d(z){return h.isView(z)&&!(z instanceof p)}function T(z){return Array.isArray(z)||d(z)}function l(z,F){return z[0]=F[0],z[1]=F[1],z[2]=F[2],z}function _(z){this.gl=z,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=[\"sans-serif\",\"sans-serif\",\"sans-serif\"],this.tickFontStyle=[\"normal\",\"normal\",\"normal\"],this.tickFontWeight=[\"normal\",\"normal\",\"normal\"],this.tickFontVariant=[\"normal\",\"normal\",\"normal\"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=[\"auto\",\"auto\",\"auto\"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=[\"x\",\"y\",\"z\"],this.labelEnable=[!0,!0,!0],this.labelFont=[\"sans-serif\",\"sans-serif\",\"sans-serif\"],this.labelFontStyle=[\"normal\",\"normal\",\"normal\"],this.labelFontWeight=[\"normal\",\"normal\",\"normal\"],this.labelFontVariant=[\"normal\",\"normal\",\"normal\"],this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=[\"auto\",\"auto\",\"auto\"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=i(z)}var w=_.prototype;w.update=function(z){z=z||{};function F(X,re,ae){if(ae in z){var j=z[ae],ee=this[ae],ie;(X?T(j)&&T(j[0]):T(j))?this[ae]=ie=[re(j[0]),re(j[1]),re(j[2])]:this[ae]=ie=[re(j),re(j),re(j)];for(var ce=0;ce<3;++ce)if(ie[ce]!==ee[ce])return!0}return!1}var B=F.bind(this,!1,Number),O=F.bind(this,!1,Boolean),I=F.bind(this,!1,String),N=F.bind(this,!0,function(X){if(T(X)){if(X.length===3)return[+X[0],+X[1],+X[2],1];if(X.length===4)return[+X[0],+X[1],+X[2],+X[3]]}return[0,0,0,1]}),U,W=!1,Q=!1;if(\"bounds\"in z)for(var le=z.bounds,se=0;se<2;++se)for(var fe=0;fe<3;++fe)le[se][fe]!==this.bounds[se][fe]&&(Q=!0),this.bounds[se][fe]=le[se][fe];if(\"ticks\"in z){U=z.ticks,W=!0,this.autoTicks=!1;for(var se=0;se<3;++se)this.tickSpacing[se]=0}else B(\"tickSpacing\")&&(this.autoTicks=!0,Q=!0);if(this._firstInit&&(\"ticks\"in z||\"tickSpacing\"in z||(this.autoTicks=!0),Q=!0,W=!0,this._firstInit=!1),Q&&this.autoTicks&&(U=s.create(this.bounds,this.tickSpacing),W=!0),W){for(var se=0;se<3;++se)U[se].sort(function(re,ae){return re.x-ae.x});s.equal(U,this.ticks)?W=!1:this.ticks=U}O(\"tickEnable\"),I(\"tickFont\")&&(W=!0),I(\"tickFontStyle\")&&(W=!0),I(\"tickFontWeight\")&&(W=!0),I(\"tickFontVariant\")&&(W=!0),B(\"tickSize\"),B(\"tickAngle\"),B(\"tickPad\"),N(\"tickColor\");var G=I(\"labels\");I(\"labelFont\")&&(G=!0),I(\"labelFontStyle\")&&(G=!0),I(\"labelFontWeight\")&&(G=!0),I(\"labelFontVariant\")&&(G=!0),O(\"labelEnable\"),B(\"labelSize\"),B(\"labelPad\"),N(\"labelColor\"),O(\"lineEnable\"),O(\"lineMirror\"),B(\"lineWidth\"),N(\"lineColor\"),O(\"lineTickEnable\"),O(\"lineTickMirror\"),B(\"lineTickLength\"),B(\"lineTickWidth\"),N(\"lineTickColor\"),O(\"gridEnable\"),B(\"gridWidth\"),N(\"gridColor\"),O(\"zeroEnable\"),N(\"zeroLineColor\"),B(\"zeroLineWidth\"),O(\"backgroundEnable\"),N(\"backgroundColor\");var $=[{family:this.labelFont[0],style:this.labelFontStyle[0],weight:this.labelFontWeight[0],variant:this.labelFontVariant[0]},{family:this.labelFont[1],style:this.labelFontStyle[1],weight:this.labelFontWeight[1],variant:this.labelFontVariant[1]},{family:this.labelFont[2],style:this.labelFontStyle[2],weight:this.labelFontWeight[2],variant:this.labelFontVariant[2]}],J=[{family:this.tickFont[0],style:this.tickFontStyle[0],weight:this.tickFontWeight[0],variant:this.tickFontVariant[0]},{family:this.tickFont[1],style:this.tickFontStyle[1],weight:this.tickFontWeight[1],variant:this.tickFontVariant[1]},{family:this.tickFont[2],style:this.tickFontStyle[2],weight:this.tickFontWeight[2],variant:this.tickFontVariant[2]}];this._text?this._text&&(G||W)&&this._text.update(this.bounds,this.labels,$,this.ticks,J):this._text=o(this.gl,this.bounds,this.labels,$,this.ticks,J),this._lines&&W&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=n(this.gl,this.bounds,this.ticks))};function M(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var E=[new M,new M,new M];function m(z,F,B,O,I){for(var N=z.primalOffset,U=z.primalMinor,W=z.mirrorOffset,Q=z.mirrorMinor,le=O[F],se=0;se<3;++se)if(F!==se){var fe=N,G=W,$=U,J=Q;le&1<0?($[se]=-1,J[se]=0):($[se]=0,J[se]=1)}}var b=[0,0,0],v={model:c,view:c,projection:c,_ortho:!1};w.isOpaque=function(){return!0},w.isTransparent=function(){return!1},w.drawTransparent=function(z){};var u=0,y=[0,0,0],f=[0,0,0],P=[0,0,0];w.draw=function(z){z=z||v;for(var ae=this.gl,F=z.model||c,B=z.view||c,O=z.projection||c,I=this.bounds,N=z._ortho||!1,U=a(F,B,O,I,N),W=U.cubeEdges,Q=U.axis,le=B[12],se=B[13],fe=B[14],G=B[15],$=N?2:1,J=$*this.pixelRatio*(O[3]*le+O[7]*se+O[11]*fe+O[15]*G)/ae.drawingBufferHeight,X=0;X<3;++X)this.lastCubeProps.cubeEdges[X]=W[X],this.lastCubeProps.axis[X]=Q[X];for(var re=E,X=0;X<3;++X)m(E[X],X,this.bounds,W,Q);for(var ae=this.gl,j=b,X=0;X<3;++X)this.backgroundEnable[X]?j[X]=Q[X]:j[X]=0;this._background.draw(F,B,O,I,j,this.backgroundColor),this._lines.bind(F,B,O,this);for(var X=0;X<3;++X){var ee=[0,0,0];Q[X]>0?ee[X]=I[1][X]:ee[X]=I[0][X];for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.gridEnable[ce]&&this._lines.drawGrid(ce,xe,this.bounds,ee,this.gridColor[ce],this.gridWidth[ce]*this.pixelRatio)}for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.zeroEnable[xe]&&Math.min(I[0][xe],I[1][xe])<=0&&Math.max(I[0][xe],I[1][xe])>=0&&this._lines.drawZero(ce,xe,this.bounds,ee,this.zeroLineColor[xe],this.zeroLineWidth[xe]*this.pixelRatio)}}for(var X=0;X<3;++X){this.lineEnable[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].primalOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio),this.lineMirror[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].mirrorOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio);for(var Te=l(y,re[X].primalMinor),Ue=l(f,re[X].mirrorMinor),Ie=this.lineTickLength,ie=0;ie<3;++ie){var Ye=J/F[5*ie];Te[ie]*=Ie[ie]*Ye,Ue[ie]*=Ie[ie]*Ye}this.lineTickEnable[X]&&this._lines.drawAxisTicks(X,re[X].primalOffset,Te,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio),this.lineTickMirror[X]&&this._lines.drawAxisTicks(X,re[X].mirrorOffset,Ue,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio)}this._lines.unbind(),this._text.bind(F,B,O,this.pixelRatio);var it,at=.5,tt,ut;function Me(et){ut=[0,0,0],ut[et]=1}function pe(et,Lt,Et){var Bt=(et+1)%3,qt=(et+2)%3,fr=Lt[Bt],ar=Lt[qt],Rr=Et[Bt],gr=Et[qt];if(fr>0&&gr>0){Me(Bt);return}else if(fr>0&&gr<0){Me(Bt);return}else if(fr<0&&gr>0){Me(Bt);return}else if(fr<0&&gr<0){Me(Bt);return}else if(ar>0&&Rr>0){Me(qt);return}else if(ar>0&&Rr<0){Me(qt);return}else if(ar<0&&Rr>0){Me(qt);return}else if(ar<0&&Rr<0){Me(qt);return}}for(var X=0;X<3;++X){for(var ue=re[X].primalMinor,Oe=re[X].mirrorMinor,rt=l(P,re[X].primalOffset),ie=0;ie<3;++ie)this.lineTickEnable[X]&&(rt[ie]+=J*ue[ie]*Math.max(this.lineTickLength[ie],0)/F[5*ie]);var ot=[0,0,0];if(ot[X]=1,this.tickEnable[X]){this.tickAngle[X]===-3600?(this.tickAngle[X]=0,this.tickAlign[X]=\"auto\"):this.tickAlign[X]=-1,tt=1,it=[this.tickAlign[X],at,tt],it[0]===\"auto\"?it[0]=u:it[0]=parseInt(\"\"+it[0]),ut=[0,0,0],pe(X,ue,Oe);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.tickPad[ie]/F[5*ie];this._text.drawTicks(X,this.tickSize[X],this.tickAngle[X],rt,this.tickColor[X],ot,ut,it)}if(this.labelEnable[X]){tt=0,ut=[0,0,0],this.labels[X].length>4&&(Me(X),tt=1),it=[this.labelAlign[X],at,tt],it[0]===\"auto\"?it[0]=u:it[0]=parseInt(\"\"+it[0]);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.labelPad[ie]/F[5*ie];rt[X]+=.5*(I[0][X]+I[1][X]),this._text.drawLabel(X,this.labelSize[X],this.labelAngle[X],rt,this.labelColor[X],[0,0,0],ut,it)}}this._text.unbind()},w.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function L(z,F){var B=new _(z);return B.update(F),B}},5304:function(e,t,r){\"use strict\";e.exports=c;var o=r(2762),n=r(8116),i=r(1879).bg;function a(h,p,d,T){this.gl=h,this.buffer=p,this.vao=d,this.shader=T}var s=a.prototype;s.draw=function(h,p,d,T,l,_){for(var w=!1,M=0;M<3;++M)w=w||l[M];if(w){var E=this.gl;E.enable(E.POLYGON_OFFSET_FILL),E.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:h,view:p,projection:d,bounds:T,enable:l,colors:_},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),E.disable(E.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function c(h){for(var p=[],d=[],T=0,l=0;l<3;++l)for(var _=(l+1)%3,w=(l+2)%3,M=[0,0,0],E=[0,0,0],m=-1;m<=1;m+=2){d.push(T,T+2,T+1,T+1,T+2,T+3),M[l]=m,E[l]=m;for(var b=-1;b<=1;b+=2){M[_]=b;for(var v=-1;v<=1;v+=2)M[w]=v,p.push(M[0],M[1],M[2],E[0],E[1],E[2]),T+=1}var u=_;_=w,w=u}var y=o(h,new Float32Array(p)),f=o(h,new Uint16Array(d),h.ELEMENT_ARRAY_BUFFER),P=n(h,[{buffer:y,type:h.FLOAT,size:3,offset:0,stride:24},{buffer:y,type:h.FLOAT,size:3,offset:12,stride:24}],f),L=i(h);return L.attributes.position.location=0,L.attributes.normal.location=1,new a(h,y,P,L)}},6429:function(e,t,r){\"use strict\";e.exports=m;var o=r(8828),n=r(6760),i=r(5202),a=r(3250),s=new Array(16),c=new Array(8),h=new Array(8),p=new Array(3),d=[0,0,0];(function(){for(var b=0;b<8;++b)c[b]=[1,1,1,1],h[b]=[1,1,1]})();function T(b,v,u){for(var y=0;y<4;++y){b[y]=u[12+y];for(var f=0;f<3;++f)b[y]+=v[f]*u[4*f+y]}}var l=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function _(b){for(var v=0;vQ&&(B|=1<Q){B|=1<h[L][1])&&(re=L);for(var ae=-1,L=0;L<3;++L){var j=re^1<h[ee][0]&&(ee=j)}}var ie=w;ie[0]=ie[1]=ie[2]=0,ie[o.log2(ae^re)]=re&ae,ie[o.log2(re^ee)]=reⅇvar ce=ee^7;ce===B||ce===X?(ce=ae^7,ie[o.log2(ee^ce)]=ce&ee):ie[o.log2(ae^ce)]=ce&ae;for(var xe=M,Te=B,N=0;N<3;++N)Te&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ?\n b - PI :\n b;\n}\n\nfloat look_horizontal_or_vertical(float a, float ratio) {\n // ratio controls the ratio between being horizontal to (vertical + horizontal)\n // if ratio is set to 0.5 then it is 50%, 50%.\n // when using a higher ratio e.g. 0.75 the result would\n // likely be more horizontal than vertical.\n\n float b = positive_angle(a);\n\n return\n (b < ( ratio) * HALF_PI) ? 0.0 :\n (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :\n (b < (2.0 + ratio) * HALF_PI) ? 0.0 :\n (b < (4.0 - ratio) * HALF_PI) ? HALF_PI :\n 0.0;\n}\n\nfloat roundTo(float a, float b) {\n return float(b * floor((a + 0.5 * b) / b));\n}\n\nfloat look_round_n_directions(float a, int n) {\n float b = positive_angle(a);\n float div = TWO_PI / float(n);\n float c = roundTo(b, div);\n return look_upwards(c);\n}\n\nfloat applyAlignOption(float rawAngle, float delta) {\n return\n (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions\n (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical\n (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis\n (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards\n (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal\n rawAngle; // otherwise return back raw input angle\n}\n\nbool isAxisTitle = (axis.x == 0.0) &&\n (axis.y == 0.0) &&\n (axis.z == 0.0);\n\nvoid main() {\n //Compute world offset\n float axisDistance = position.z;\n vec3 dataPosition = axisDistance * axis + offset;\n\n float beta = angle; // i.e. user defined attributes for each tick\n\n float axisAngle;\n float clipAngle;\n float flip;\n\n if (enableAlign) {\n axisAngle = (isAxisTitle) ? HALF_PI :\n computeViewAngle(dataPosition, dataPosition + axis);\n clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);\n\n axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;\n clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;\n\n flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),\n vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;\n\n beta += applyAlignOption(clipAngle, flip * PI);\n }\n\n //Compute plane offset\n vec2 planeCoord = position.xy * pixelScale;\n\n mat2 planeXform = scale * mat2(\n cos(beta), sin(beta),\n -sin(beta), cos(beta)\n );\n\n vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;\n\n //Compute clip position\n vec3 clipPosition = project(dataPosition);\n\n //Apply text offset in clip coordinates\n clipPosition += vec3(viewOffset, 0.0);\n\n //Done\n gl_Position = vec4(clipPosition, 1.0);\n}\n`]),c=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nvoid main() {\n gl_FragColor = color;\n}`]);t.Q=function(d){return n(d,s,c,null,[{name:\"position\",type:\"vec3\"}])};var h=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 model, view, projection;\nuniform vec3 enable;\nuniform vec3 bounds[2];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n\n vec3 signAxis = sign(bounds[1] - bounds[0]);\n\n vec3 realNormal = signAxis * normal;\n\n if(dot(realNormal, enable) > 0.0) {\n vec3 minRange = min(bounds[0], bounds[1]);\n vec3 maxRange = max(bounds[0], bounds[1]);\n vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));\n gl_Position = projection * (view * (model * vec4(nPosition, 1.0)));\n } else {\n gl_Position = vec4(0,0,0,0);\n }\n\n colorChannel = abs(realNormal);\n}\n`]),p=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 colors[3];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n gl_FragColor = colorChannel.x * colors[0] +\n colorChannel.y * colors[1] +\n colorChannel.z * colors[2];\n}`]);t.bg=function(d){return n(d,h,p,null,[{name:\"position\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}])}},4935:function(e,t,r){\"use strict\";e.exports=_;var o=r(2762),n=r(8116),i=r(4359),a=r(1879).Q,s=window||process.global||{},c=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};var h=3;function p(w,M,E,m){this.gl=w,this.shader=M,this.buffer=E,this.vao=m,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var d=p.prototype,T=[0,0];d.bind=function(w,M,E,m){this.vao.bind(),this.shader.bind();var b=this.shader.uniforms;b.model=w,b.view=M,b.projection=E,b.pixelScale=m,T[0]=this.gl.drawingBufferWidth,T[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=T},d.unbind=function(){this.vao.unbind()},d.update=function(w,M,E,m,b){var v=[];function u(N,U,W,Q,le,se){var fe=[W.style,W.weight,W.variant,W.family].join(\"_\"),G=c[fe];G||(G=c[fe]={});var $=G[U];$||($=G[U]=l(U,{triangles:!0,font:W.family,fontStyle:W.style,fontWeight:W.weight,fontVariant:W.variant,textAlign:\"center\",textBaseline:\"middle\",lineSpacing:le,styletags:se}));for(var J=(Q||12)/12,X=$.positions,re=$.cells,ae=0,j=re.length;ae=0;--ie){var ce=X[ee[ie]];v.push(J*ce[0],-J*ce[1],N)}}for(var y=[0,0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0],z=1.25,F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){P[B]=v.length/h|0,u(.5*(w[0][B]+w[1][B]),M[B],E[B],12,z,F),L[B]=(v.length/h|0)-P[B],y[B]=v.length/h|0;for(var O=0;O=0&&(h=s.length-c-1);var p=Math.pow(10,h),d=Math.round(i*a*p),T=d+\"\";if(T.indexOf(\"e\")>=0)return T;var l=d/p,_=d%p;d<0?(l=-Math.ceil(l)|0,_=-_|0):(l=Math.floor(l)|0,_=_|0);var w=\"\"+l;if(d<0&&(w=\"-\"+w),h){for(var M=\"\"+_;M.length=i[0][c];--d)h.push({x:d*a[c],text:r(a[c],d)});s.push(h)}return s}function n(i,a){for(var s=0;s<3;++s){if(i[s].length!==a[s].length)return!1;for(var c=0;cw)throw new Error(\"gl-buffer: If resizing buffer, must not specify offset\");return l.bufferSubData(_,m,E),w}function p(l,_){for(var w=o.malloc(l.length,_),M=l.length,E=0;E=0;--M){if(_[M]!==w)return!1;w*=l[M]}return!0}c.update=function(l,_){if(typeof _!=\"number\"&&(_=-1),this.bind(),typeof l==\"object\"&&typeof l.shape<\"u\"){var w=l.dtype;if(a.indexOf(w)<0&&(w=\"float32\"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var M=gl.getExtension(\"OES_element_index_uint\");M&&w!==\"uint16\"?w=\"uint32\":w=\"uint16\"}if(w===l.dtype&&d(l.shape,l.stride))l.offset===0&&l.data.length===l.shape[0]?this.length=h(this.gl,this.type,this.length,this.usage,l.data,_):this.length=h(this.gl,this.type,this.length,this.usage,l.data.subarray(l.offset,l.shape[0]),_);else{var E=o.malloc(l.size,w),m=i(E,l.shape);n.assign(m,l),_<0?this.length=h(this.gl,this.type,this.length,this.usage,E,_):this.length=h(this.gl,this.type,this.length,this.usage,E.subarray(0,l.size),_),o.free(E)}}else if(Array.isArray(l)){var b;this.type===this.gl.ELEMENT_ARRAY_BUFFER?b=p(l,\"uint16\"):b=p(l,\"float32\"),_<0?this.length=h(this.gl,this.type,this.length,this.usage,b,_):this.length=h(this.gl,this.type,this.length,this.usage,b.subarray(0,l.length),_),o.free(b)}else if(typeof l==\"object\"&&typeof l.length==\"number\")this.length=h(this.gl,this.type,this.length,this.usage,l,_);else if(typeof l==\"number\"||l===void 0){if(_>=0)throw new Error(\"gl-buffer: Cannot specify offset when resizing buffer\");l=l|0,l<=0&&(l=1),this.gl.bufferData(this.type,l|0,this.usage),this.length=l}else throw new Error(\"gl-buffer: Invalid data type\")};function T(l,_,w,M){if(w=w||l.ARRAY_BUFFER,M=M||l.DYNAMIC_DRAW,w!==l.ARRAY_BUFFER&&w!==l.ELEMENT_ARRAY_BUFFER)throw new Error(\"gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER\");if(M!==l.DYNAMIC_DRAW&&M!==l.STATIC_DRAW&&M!==l.STREAM_DRAW)throw new Error(\"gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW\");var E=l.createBuffer(),m=new s(l,w,E,0,M);return m.update(_),m}e.exports=T},6405:function(e,t,r){\"use strict\";var o=r(2931);e.exports=function(i,a){var s=i.positions,c=i.vectors,h={positions:[],vertexIntensity:[],vertexIntensityBounds:i.vertexIntensityBounds,vectors:[],cells:[],coneOffset:i.coneOffset,colormap:i.colormap};if(i.positions.length===0)return a&&(a[0]=[0,0,0],a[1]=[0,0,0]),h;for(var p=0,d=1/0,T=-1/0,l=1/0,_=-1/0,w=1/0,M=-1/0,E=null,m=null,b=[],v=1/0,u=!1,y=i.coneSizemode===\"raw\",f=0;fp&&(p=o.length(L)),f&&!y){var z=2*o.distance(E,P)/(o.length(m)+o.length(L));z?(v=Math.min(v,z),u=!1):u=!0}u||(E=P,m=L),b.push(L)}var F=[d,l,w],B=[T,_,M];a&&(a[0]=F,a[1]=B),p===0&&(p=1);var O=1/p;isFinite(v)||(v=1),h.vectorScale=v;var I=i.coneSize||(y?1:.5);i.absoluteConeSize&&(I=i.absoluteConeSize*O),h.coneScale=I;for(var f=0,N=0;f=1},l.isTransparent=function(){return this.opacity<1},l.pickSlots=1,l.setPickBase=function(b){this.pickId=b};function _(b){for(var v=p({colormap:b,nshades:256,format:\"rgba\"}),u=new Uint8Array(256*4),y=0;y<256;++y){for(var f=v[y],P=0;P<3;++P)u[4*y+P]=f[P];u[4*y+3]=f[3]*255}return h(u,[256,256,4],[4,0,1])}function w(b){for(var v=b.length,u=new Array(v),y=0;y0){var N=this.triShader;N.bind(),N.uniforms=z,this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},l.drawPick=function(b){b=b||{};for(var v=this.gl,u=b.model||d,y=b.view||d,f=b.projection||d,P=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],L=0;L<3;++L)P[0][L]=Math.max(P[0][L],this.clipBounds[0][L]),P[1][L]=Math.min(P[1][L],this.clipBounds[1][L]);this._model=[].slice.call(u),this._view=[].slice.call(y),this._projection=[].slice.call(f),this._resolution=[v.drawingBufferWidth,v.drawingBufferHeight];var z={model:u,view:y,projection:f,clipBounds:P,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},F=this.pickShader;F.bind(),F.uniforms=z,this.triangleCount>0&&(this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},l.pick=function(b){if(!b||b.id!==this.pickId)return null;var v=b.value[0]+256*b.value[1]+65536*b.value[2],u=this.cells[v],y=this.positions[u[1]].slice(0,3),f={position:y,dataCoordinate:y,index:Math.floor(u[1]/48)};return this.traceType===\"cone\"?f.index=Math.floor(u[1]/48):this.traceType===\"streamtube\"&&(f.intensity=this.intensity[u[1]],f.velocity=this.vectors[u[1]].slice(0,3),f.divergence=this.vectors[u[1]][3],f.index=v),f},l.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function M(b,v){var u=o(b,v.meshShader.vertex,v.meshShader.fragment,null,v.meshShader.attributes);return u.attributes.position.location=0,u.attributes.color.location=2,u.attributes.uv.location=3,u.attributes.vector.location=4,u}function E(b,v){var u=o(b,v.pickShader.vertex,v.pickShader.fragment,null,v.pickShader.attributes);return u.attributes.position.location=0,u.attributes.id.location=1,u.attributes.vector.location=4,u}function m(b,v,u){var y=u.shaders;arguments.length===1&&(v=b,b=v.gl);var f=M(b,y),P=E(b,y),L=a(b,h(new Uint8Array([255,255,255,255]),[1,1,4]));L.generateMipmap(),L.minFilter=b.LINEAR_MIPMAP_LINEAR,L.magFilter=b.LINEAR;var z=n(b),F=n(b),B=n(b),O=n(b),I=n(b),N=i(b,[{buffer:z,type:b.FLOAT,size:4},{buffer:I,type:b.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:B,type:b.FLOAT,size:4},{buffer:O,type:b.FLOAT,size:2},{buffer:F,type:b.FLOAT,size:4}]),U=new T(b,L,f,P,z,F,I,B,O,N,u.traceType||\"cone\");return U.update(v),U}e.exports=m},614:function(e,t,r){var o=r(3236),n=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec3 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, coneScale, coneOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * conePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(conePosition, 1.0);\n vec4 t_position = view * conePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = conePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n`]),a=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float vectorScale, coneScale, coneOffset;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n gl_Position = projection * (view * conePosition);\n f_id = id;\n f_position = position.xyz;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec4\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"vector\",type:\"vec3\"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec4\"},{name:\"id\",type:\"vec4\"},{name:\"vector\",type:\"vec3\"}]}},737:function(e){e.exports={0:\"NONE\",1:\"ONE\",2:\"LINE_LOOP\",3:\"LINE_STRIP\",4:\"TRIANGLES\",5:\"TRIANGLE_STRIP\",6:\"TRIANGLE_FAN\",256:\"DEPTH_BUFFER_BIT\",512:\"NEVER\",513:\"LESS\",514:\"EQUAL\",515:\"LEQUAL\",516:\"GREATER\",517:\"NOTEQUAL\",518:\"GEQUAL\",519:\"ALWAYS\",768:\"SRC_COLOR\",769:\"ONE_MINUS_SRC_COLOR\",770:\"SRC_ALPHA\",771:\"ONE_MINUS_SRC_ALPHA\",772:\"DST_ALPHA\",773:\"ONE_MINUS_DST_ALPHA\",774:\"DST_COLOR\",775:\"ONE_MINUS_DST_COLOR\",776:\"SRC_ALPHA_SATURATE\",1024:\"STENCIL_BUFFER_BIT\",1028:\"FRONT\",1029:\"BACK\",1032:\"FRONT_AND_BACK\",1280:\"INVALID_ENUM\",1281:\"INVALID_VALUE\",1282:\"INVALID_OPERATION\",1285:\"OUT_OF_MEMORY\",1286:\"INVALID_FRAMEBUFFER_OPERATION\",2304:\"CW\",2305:\"CCW\",2849:\"LINE_WIDTH\",2884:\"CULL_FACE\",2885:\"CULL_FACE_MODE\",2886:\"FRONT_FACE\",2928:\"DEPTH_RANGE\",2929:\"DEPTH_TEST\",2930:\"DEPTH_WRITEMASK\",2931:\"DEPTH_CLEAR_VALUE\",2932:\"DEPTH_FUNC\",2960:\"STENCIL_TEST\",2961:\"STENCIL_CLEAR_VALUE\",2962:\"STENCIL_FUNC\",2963:\"STENCIL_VALUE_MASK\",2964:\"STENCIL_FAIL\",2965:\"STENCIL_PASS_DEPTH_FAIL\",2966:\"STENCIL_PASS_DEPTH_PASS\",2967:\"STENCIL_REF\",2968:\"STENCIL_WRITEMASK\",2978:\"VIEWPORT\",3024:\"DITHER\",3042:\"BLEND\",3088:\"SCISSOR_BOX\",3089:\"SCISSOR_TEST\",3106:\"COLOR_CLEAR_VALUE\",3107:\"COLOR_WRITEMASK\",3317:\"UNPACK_ALIGNMENT\",3333:\"PACK_ALIGNMENT\",3379:\"MAX_TEXTURE_SIZE\",3386:\"MAX_VIEWPORT_DIMS\",3408:\"SUBPIXEL_BITS\",3410:\"RED_BITS\",3411:\"GREEN_BITS\",3412:\"BLUE_BITS\",3413:\"ALPHA_BITS\",3414:\"DEPTH_BITS\",3415:\"STENCIL_BITS\",3553:\"TEXTURE_2D\",4352:\"DONT_CARE\",4353:\"FASTEST\",4354:\"NICEST\",5120:\"BYTE\",5121:\"UNSIGNED_BYTE\",5122:\"SHORT\",5123:\"UNSIGNED_SHORT\",5124:\"INT\",5125:\"UNSIGNED_INT\",5126:\"FLOAT\",5386:\"INVERT\",5890:\"TEXTURE\",6401:\"STENCIL_INDEX\",6402:\"DEPTH_COMPONENT\",6406:\"ALPHA\",6407:\"RGB\",6408:\"RGBA\",6409:\"LUMINANCE\",6410:\"LUMINANCE_ALPHA\",7680:\"KEEP\",7681:\"REPLACE\",7682:\"INCR\",7683:\"DECR\",7936:\"VENDOR\",7937:\"RENDERER\",7938:\"VERSION\",9728:\"NEAREST\",9729:\"LINEAR\",9984:\"NEAREST_MIPMAP_NEAREST\",9985:\"LINEAR_MIPMAP_NEAREST\",9986:\"NEAREST_MIPMAP_LINEAR\",9987:\"LINEAR_MIPMAP_LINEAR\",10240:\"TEXTURE_MAG_FILTER\",10241:\"TEXTURE_MIN_FILTER\",10242:\"TEXTURE_WRAP_S\",10243:\"TEXTURE_WRAP_T\",10497:\"REPEAT\",10752:\"POLYGON_OFFSET_UNITS\",16384:\"COLOR_BUFFER_BIT\",32769:\"CONSTANT_COLOR\",32770:\"ONE_MINUS_CONSTANT_COLOR\",32771:\"CONSTANT_ALPHA\",32772:\"ONE_MINUS_CONSTANT_ALPHA\",32773:\"BLEND_COLOR\",32774:\"FUNC_ADD\",32777:\"BLEND_EQUATION_RGB\",32778:\"FUNC_SUBTRACT\",32779:\"FUNC_REVERSE_SUBTRACT\",32819:\"UNSIGNED_SHORT_4_4_4_4\",32820:\"UNSIGNED_SHORT_5_5_5_1\",32823:\"POLYGON_OFFSET_FILL\",32824:\"POLYGON_OFFSET_FACTOR\",32854:\"RGBA4\",32855:\"RGB5_A1\",32873:\"TEXTURE_BINDING_2D\",32926:\"SAMPLE_ALPHA_TO_COVERAGE\",32928:\"SAMPLE_COVERAGE\",32936:\"SAMPLE_BUFFERS\",32937:\"SAMPLES\",32938:\"SAMPLE_COVERAGE_VALUE\",32939:\"SAMPLE_COVERAGE_INVERT\",32968:\"BLEND_DST_RGB\",32969:\"BLEND_SRC_RGB\",32970:\"BLEND_DST_ALPHA\",32971:\"BLEND_SRC_ALPHA\",33071:\"CLAMP_TO_EDGE\",33170:\"GENERATE_MIPMAP_HINT\",33189:\"DEPTH_COMPONENT16\",33306:\"DEPTH_STENCIL_ATTACHMENT\",33635:\"UNSIGNED_SHORT_5_6_5\",33648:\"MIRRORED_REPEAT\",33901:\"ALIASED_POINT_SIZE_RANGE\",33902:\"ALIASED_LINE_WIDTH_RANGE\",33984:\"TEXTURE0\",33985:\"TEXTURE1\",33986:\"TEXTURE2\",33987:\"TEXTURE3\",33988:\"TEXTURE4\",33989:\"TEXTURE5\",33990:\"TEXTURE6\",33991:\"TEXTURE7\",33992:\"TEXTURE8\",33993:\"TEXTURE9\",33994:\"TEXTURE10\",33995:\"TEXTURE11\",33996:\"TEXTURE12\",33997:\"TEXTURE13\",33998:\"TEXTURE14\",33999:\"TEXTURE15\",34e3:\"TEXTURE16\",34001:\"TEXTURE17\",34002:\"TEXTURE18\",34003:\"TEXTURE19\",34004:\"TEXTURE20\",34005:\"TEXTURE21\",34006:\"TEXTURE22\",34007:\"TEXTURE23\",34008:\"TEXTURE24\",34009:\"TEXTURE25\",34010:\"TEXTURE26\",34011:\"TEXTURE27\",34012:\"TEXTURE28\",34013:\"TEXTURE29\",34014:\"TEXTURE30\",34015:\"TEXTURE31\",34016:\"ACTIVE_TEXTURE\",34024:\"MAX_RENDERBUFFER_SIZE\",34041:\"DEPTH_STENCIL\",34055:\"INCR_WRAP\",34056:\"DECR_WRAP\",34067:\"TEXTURE_CUBE_MAP\",34068:\"TEXTURE_BINDING_CUBE_MAP\",34069:\"TEXTURE_CUBE_MAP_POSITIVE_X\",34070:\"TEXTURE_CUBE_MAP_NEGATIVE_X\",34071:\"TEXTURE_CUBE_MAP_POSITIVE_Y\",34072:\"TEXTURE_CUBE_MAP_NEGATIVE_Y\",34073:\"TEXTURE_CUBE_MAP_POSITIVE_Z\",34074:\"TEXTURE_CUBE_MAP_NEGATIVE_Z\",34076:\"MAX_CUBE_MAP_TEXTURE_SIZE\",34338:\"VERTEX_ATTRIB_ARRAY_ENABLED\",34339:\"VERTEX_ATTRIB_ARRAY_SIZE\",34340:\"VERTEX_ATTRIB_ARRAY_STRIDE\",34341:\"VERTEX_ATTRIB_ARRAY_TYPE\",34342:\"CURRENT_VERTEX_ATTRIB\",34373:\"VERTEX_ATTRIB_ARRAY_POINTER\",34466:\"NUM_COMPRESSED_TEXTURE_FORMATS\",34467:\"COMPRESSED_TEXTURE_FORMATS\",34660:\"BUFFER_SIZE\",34661:\"BUFFER_USAGE\",34816:\"STENCIL_BACK_FUNC\",34817:\"STENCIL_BACK_FAIL\",34818:\"STENCIL_BACK_PASS_DEPTH_FAIL\",34819:\"STENCIL_BACK_PASS_DEPTH_PASS\",34877:\"BLEND_EQUATION_ALPHA\",34921:\"MAX_VERTEX_ATTRIBS\",34922:\"VERTEX_ATTRIB_ARRAY_NORMALIZED\",34930:\"MAX_TEXTURE_IMAGE_UNITS\",34962:\"ARRAY_BUFFER\",34963:\"ELEMENT_ARRAY_BUFFER\",34964:\"ARRAY_BUFFER_BINDING\",34965:\"ELEMENT_ARRAY_BUFFER_BINDING\",34975:\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",35040:\"STREAM_DRAW\",35044:\"STATIC_DRAW\",35048:\"DYNAMIC_DRAW\",35632:\"FRAGMENT_SHADER\",35633:\"VERTEX_SHADER\",35660:\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",35661:\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",35663:\"SHADER_TYPE\",35664:\"FLOAT_VEC2\",35665:\"FLOAT_VEC3\",35666:\"FLOAT_VEC4\",35667:\"INT_VEC2\",35668:\"INT_VEC3\",35669:\"INT_VEC4\",35670:\"BOOL\",35671:\"BOOL_VEC2\",35672:\"BOOL_VEC3\",35673:\"BOOL_VEC4\",35674:\"FLOAT_MAT2\",35675:\"FLOAT_MAT3\",35676:\"FLOAT_MAT4\",35678:\"SAMPLER_2D\",35680:\"SAMPLER_CUBE\",35712:\"DELETE_STATUS\",35713:\"COMPILE_STATUS\",35714:\"LINK_STATUS\",35715:\"VALIDATE_STATUS\",35716:\"INFO_LOG_LENGTH\",35717:\"ATTACHED_SHADERS\",35718:\"ACTIVE_UNIFORMS\",35719:\"ACTIVE_UNIFORM_MAX_LENGTH\",35720:\"SHADER_SOURCE_LENGTH\",35721:\"ACTIVE_ATTRIBUTES\",35722:\"ACTIVE_ATTRIBUTE_MAX_LENGTH\",35724:\"SHADING_LANGUAGE_VERSION\",35725:\"CURRENT_PROGRAM\",36003:\"STENCIL_BACK_REF\",36004:\"STENCIL_BACK_VALUE_MASK\",36005:\"STENCIL_BACK_WRITEMASK\",36006:\"FRAMEBUFFER_BINDING\",36007:\"RENDERBUFFER_BINDING\",36048:\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",36049:\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",36050:\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",36051:\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",36053:\"FRAMEBUFFER_COMPLETE\",36054:\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",36055:\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",36057:\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",36061:\"FRAMEBUFFER_UNSUPPORTED\",36064:\"COLOR_ATTACHMENT0\",36096:\"DEPTH_ATTACHMENT\",36128:\"STENCIL_ATTACHMENT\",36160:\"FRAMEBUFFER\",36161:\"RENDERBUFFER\",36162:\"RENDERBUFFER_WIDTH\",36163:\"RENDERBUFFER_HEIGHT\",36164:\"RENDERBUFFER_INTERNAL_FORMAT\",36168:\"STENCIL_INDEX8\",36176:\"RENDERBUFFER_RED_SIZE\",36177:\"RENDERBUFFER_GREEN_SIZE\",36178:\"RENDERBUFFER_BLUE_SIZE\",36179:\"RENDERBUFFER_ALPHA_SIZE\",36180:\"RENDERBUFFER_DEPTH_SIZE\",36181:\"RENDERBUFFER_STENCIL_SIZE\",36194:\"RGB565\",36336:\"LOW_FLOAT\",36337:\"MEDIUM_FLOAT\",36338:\"HIGH_FLOAT\",36339:\"LOW_INT\",36340:\"MEDIUM_INT\",36341:\"HIGH_INT\",36346:\"SHADER_COMPILER\",36347:\"MAX_VERTEX_UNIFORM_VECTORS\",36348:\"MAX_VARYING_VECTORS\",36349:\"MAX_FRAGMENT_UNIFORM_VECTORS\",37440:\"UNPACK_FLIP_Y_WEBGL\",37441:\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",37442:\"CONTEXT_LOST_WEBGL\",37443:\"UNPACK_COLORSPACE_CONVERSION_WEBGL\",37444:\"BROWSER_DEFAULT_WEBGL\"}},5171:function(e,t,r){var o=r(737);e.exports=function(i){return o[i]}},9165:function(e,t,r){\"use strict\";e.exports=T;var o=r(2762),n=r(8116),i=r(3436),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(l,_,w,M){this.gl=l,this.shader=M,this.buffer=_,this.vao=w,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var c=s.prototype;c.isOpaque=function(){return!this.hasAlpha},c.isTransparent=function(){return this.hasAlpha},c.drawTransparent=c.draw=function(l){var _=this.gl,w=this.shader.uniforms;this.shader.bind();var M=w.view=l.view||a,E=w.projection=l.projection||a;w.model=l.model||a,w.clipBounds=this.clipBounds,w.opacity=this.opacity;var m=M[12],b=M[13],v=M[14],u=M[15],y=l._ortho||!1,f=y?2:1,P=f*this.pixelRatio*(E[3]*m+E[7]*b+E[11]*v+E[15]*u)/_.drawingBufferHeight;this.vao.bind();for(var L=0;L<3;++L)_.lineWidth(this.lineWidth[L]*this.pixelRatio),w.capSize=this.capSize[L]*P,this.lineCount[L]&&_.drawArrays(_.LINES,this.lineOffset[L],this.lineCount[L]);this.vao.unbind()};function h(l,_){for(var w=0;w<3;++w)l[0][w]=Math.min(l[0][w],_[w]),l[1][w]=Math.max(l[1][w],_[w])}var p=function(){for(var l=new Array(3),_=0;_<3;++_){for(var w=[],M=1;M<=2;++M)for(var E=-1;E<=1;E+=2){var m=(M+_)%3,b=[0,0,0];b[m]=E,w.push(b)}l[_]=w}return l}();function d(l,_,w,M){for(var E=p[M],m=0;m0){var z=y.slice();z[v]+=P[1][v],E.push(y[0],y[1],y[2],L[0],L[1],L[2],L[3],0,0,0,z[0],z[1],z[2],L[0],L[1],L[2],L[3],0,0,0),h(this.bounds,z),b+=2+d(E,z,L,v)}}}this.lineCount[v]=b-this.lineOffset[v]}this.buffer.update(E)}},c.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function T(l){var _=l.gl,w=o(_),M=n(_,[{buffer:w,type:_.FLOAT,size:3,offset:0,stride:40},{buffer:w,type:_.FLOAT,size:4,offset:12,stride:40},{buffer:w,type:_.FLOAT,size:3,offset:28,stride:40}]),E=i(_);E.attributes.position.location=0,E.attributes.color.location=1,E.attributes.offset.location=2;var m=new s(_,w,M,E);return m.update(l),m}},3436:function(e,t,r){\"use strict\";var o=r(3236),n=r(9405),i=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, offset;\nattribute vec4 color;\nuniform mat4 model, view, projection;\nuniform float capSize;\nvarying vec4 fragColor;\nvarying vec3 fragPosition;\n\nvoid main() {\n vec4 worldPosition = model * vec4(position, 1.0);\n worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);\n gl_Position = projection * (view * worldPosition);\n fragColor = color;\n fragPosition = position;\n}`]),a=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float opacity;\nvarying vec3 fragPosition;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n gl_FragColor = opacity * fragColor;\n}`]);e.exports=function(s){return n(s,i,a,null,[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"offset\",type:\"vec3\"}])}},2260:function(e,t,r){\"use strict\";var o=r(7766);e.exports=b;var n=null,i,a,s,c;function h(v){var u=v.getParameter(v.FRAMEBUFFER_BINDING),y=v.getParameter(v.RENDERBUFFER_BINDING),f=v.getParameter(v.TEXTURE_BINDING_2D);return[u,y,f]}function p(v,u){v.bindFramebuffer(v.FRAMEBUFFER,u[0]),v.bindRenderbuffer(v.RENDERBUFFER,u[1]),v.bindTexture(v.TEXTURE_2D,u[2])}function d(v,u){var y=v.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL);n=new Array(y+1);for(var f=0;f<=y;++f){for(var P=new Array(y),L=0;L1&&F.drawBuffersWEBGL(n[z]);var U=y.getExtension(\"WEBGL_depth_texture\");U?B?v.depth=l(y,P,L,U.UNSIGNED_INT_24_8_WEBGL,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O&&(v.depth=l(y,P,L,y.UNSIGNED_SHORT,y.DEPTH_COMPONENT,y.DEPTH_ATTACHMENT)):O&&B?v._depth_rb=_(y,P,L,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O?v._depth_rb=_(y,P,L,y.DEPTH_COMPONENT16,y.DEPTH_ATTACHMENT):B&&(v._depth_rb=_(y,P,L,y.STENCIL_INDEX,y.STENCIL_ATTACHMENT));var W=y.checkFramebufferStatus(y.FRAMEBUFFER);if(W!==y.FRAMEBUFFER_COMPLETE){v._destroyed=!0,y.bindFramebuffer(y.FRAMEBUFFER,null),y.deleteFramebuffer(v.handle),v.handle=null,v.depth&&(v.depth.dispose(),v.depth=null),v._depth_rb&&(y.deleteRenderbuffer(v._depth_rb),v._depth_rb=null);for(var N=0;NP||y<0||y>P)throw new Error(\"gl-fbo: Can't resize FBO, invalid dimensions\");v._shape[0]=u,v._shape[1]=y;for(var L=h(f),z=0;zL||y<0||y>L)throw new Error(\"gl-fbo: Parameters are too large for FBO\");f=f||{};var z=1;if(\"color\"in f){if(z=Math.max(f.color|0,0),z<0)throw new Error(\"gl-fbo: Must specify a nonnegative number of colors\");if(z>1)if(P){if(z>v.getParameter(P.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error(\"gl-fbo: Context does not support \"+z+\" draw buffers\")}else throw new Error(\"gl-fbo: Multiple draw buffer extension not supported\")}var F=v.UNSIGNED_BYTE,B=v.getExtension(\"OES_texture_float\");if(f.float&&z>0){if(!B)throw new Error(\"gl-fbo: Context does not support floating point textures\");F=v.FLOAT}else f.preferFloat&&z>0&&B&&(F=v.FLOAT);var O=!0;\"depth\"in f&&(O=!!f.depth);var I=!1;return\"stencil\"in f&&(I=!!f.stencil),new M(v,u,y,F,z,O,I,P)}},2992:function(e,t,r){var o=r(3387).sprintf,n=r(5171),i=r(1848),a=r(1085);e.exports=s;function s(c,h,p){\"use strict\";var d=i(h)||\"of unknown name (see npm glsl-shader-name)\",T=\"unknown type\";p!==void 0&&(T=p===n.FRAGMENT_SHADER?\"fragment\":\"vertex\");for(var l=o(`Error compiling %s shader %s:\n`,T,d),_=o(\"%s%s\",l,c),w=c.split(`\n`),M={},E=0;E max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D dashTexture;\nuniform float dashScale;\nuniform float opacity;\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\n if(dashWeight < 0.5) {\n discard;\n }\n gl_FragColor = fragColor * opacity;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX 1.70141184e38\n#define FLOAT_MIN 1.17549435e-38\n\n// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl\nvec4 packFloat(float v) {\n float av = abs(v);\n\n //Handle special cases\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n float e = floor(log2(av));\n float m = av * pow(2.0, -e) - 1.0;\n\n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\n m -= c[2] / 32768.0;\n c[3] = floor(8388608.0 * m);\n\n //Unpack exponent\n float ebias = e + 127.0;\n c[0] = floor(ebias / 2.0);\n ebias -= c[0] * 2.0;\n c[1] += floor(ebias) * 128.0;\n\n //Unpack sign bit\n c[0] += 128.0 * step(0.0, -v);\n\n //Scale back to range\n return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);\n}`]),c=[{name:\"position\",type:\"vec3\"},{name:\"nextPosition\",type:\"vec3\"},{name:\"arcLength\",type:\"float\"},{name:\"lineWidth\",type:\"float\"},{name:\"color\",type:\"vec4\"}];t.createShader=function(h){return n(h,i,a,null,c)},t.createPickShader=function(h){return n(h,i,s,null,c)}},5714:function(e,t,r){\"use strict\";e.exports=v;var o=r(2762),n=r(8116),i=r(7766),a=new Uint8Array(4),s=new Float32Array(a.buffer);function c(u,y,f,P){return a[0]=P,a[1]=f,a[2]=y,a[3]=u,s[0]}var h=r(2478),p=r(9618),d=r(7319),T=d.createShader,l=d.createPickShader,_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function w(u,y){for(var f=0,P=0;P<3;++P){var L=u[P]-y[P];f+=L*L}return Math.sqrt(f)}function M(u){for(var y=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],f=0;f<3;++f)y[0][f]=Math.max(u[0][f],y[0][f]),y[1][f]=Math.min(u[1][f],y[1][f]);return y}function E(u,y,f,P){this.arcLength=u,this.position=y,this.index=f,this.dataCoordinate=P}function m(u,y,f,P,L,z){this.gl=u,this.shader=y,this.pickShader=f,this.buffer=P,this.vao=L,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=z,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=m.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(u){this.pickId=u},b.drawTransparent=b.draw=function(u){if(this.vertexCount){var y=this.gl,f=this.shader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,clipBounds:M(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.drawPick=function(u){if(this.vertexCount){var y=this.gl,f=this.pickShader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,pickId:this.pickId,clipBounds:M(this.clipBounds),screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.update=function(u){var y,f;this.dirty=!0;var P=!!u.connectGaps;\"dashScale\"in u&&(this.dashScale=u.dashScale),this.hasAlpha=!1,\"opacity\"in u&&(this.opacity=+u.opacity,this.opacity<1&&(this.hasAlpha=!0));var L=[],z=[],F=[],B=0,O=0,I=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],N=u.position||u.positions;if(N){var U=u.color||u.colors||[0,0,0,1],W=u.lineWidth||1,Q=!1;e:for(y=1;y0){for(var fe=0;fe<24;++fe)L.push(L[L.length-12]);O+=2,Q=!0}continue e}I[0][f]=Math.min(I[0][f],le[f],se[f]),I[1][f]=Math.max(I[1][f],le[f],se[f])}var G,$;Array.isArray(U[0])?(G=U.length>y-1?U[y-1]:U.length>0?U[U.length-1]:[0,0,0,1],$=U.length>y?U[y]:U.length>0?U[U.length-1]:[0,0,0,1]):G=$=U,G.length===3&&(G=[G[0],G[1],G[2],1]),$.length===3&&($=[$[0],$[1],$[2],1]),!this.hasAlpha&&G[3]<1&&(this.hasAlpha=!0);var J;Array.isArray(W)?J=W.length>y-1?W[y-1]:W.length>0?W[W.length-1]:[0,0,0,1]:J=W;var X=B;if(B+=w(le,se),Q){for(f=0;f<2;++f)L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3]);O+=2,Q=!1}L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3],le[0],le[1],le[2],se[0],se[1],se[2],X,-J,G[0],G[1],G[2],G[3],se[0],se[1],se[2],le[0],le[1],le[2],B,-J,$[0],$[1],$[2],$[3],se[0],se[1],se[2],le[0],le[1],le[2],B,J,$[0],$[1],$[2],$[3]),O+=4}}if(this.buffer.update(L),z.push(B),F.push(N[N.length-1].slice()),this.bounds=I,this.vertexCount=O,this.points=F,this.arcLength=z,\"dashes\"in u){var re=u.dashes,ae=re.slice();for(ae.unshift(0),y=1;y1.0001)return null;f+=y[E]}return Math.abs(f-1)>.001?null:[m,c(p,y),y]}},840:function(e,t,r){var o=r(3236),n=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, normal;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model\n , view\n , projection\n , inverseModel;\nuniform vec3 eyePosition\n , lightPosition;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvec4 project(vec3 p) {\n return projection * (view * (model * vec4(p, 1.0)));\n}\n\nvoid main() {\n gl_Position = project(position);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * vec4(position , 1.0);\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n f_color = color;\n f_data = position;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\n//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness\n , fresnel\n , kambient\n , kdiffuse\n , kspecular;\nuniform sampler2D texture;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (f_color.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], f_data)\n ) discard;\n\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d\n\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * f_color.a;\n}\n`]),a=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model, view, projection;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n f_color = color;\n f_data = position;\n f_uv = uv;\n}`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;\n\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}`]),c=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\nattribute float pointSize;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);\n } else {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n }\n gl_PointSize = pointSize;\n f_color = color;\n f_uv = uv;\n}`]),h=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);\n if(dot(pointR, pointR) > 0.25) {\n discard;\n }\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}`]),p=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n f_id = id;\n f_position = position;\n}`]),d=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]),T=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute float pointSize;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0, 0.0, 0.0);\n } else {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n gl_PointSize = pointSize;\n }\n f_id = id;\n f_position = position;\n}`]),l=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n}`]),_=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 contourColor;\n\nvoid main() {\n gl_FragColor = vec4(contourColor, 1.0);\n}\n`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"}]},t.wireShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"}]},t.pointShader={vertex:c,fragment:h,attributes:[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"pointSize\",type:\"float\"}]},t.pickShader={vertex:p,fragment:d,attributes:[{name:\"position\",type:\"vec3\"},{name:\"id\",type:\"vec4\"}]},t.pointPickShader={vertex:T,fragment:d,attributes:[{name:\"position\",type:\"vec3\"},{name:\"pointSize\",type:\"float\"},{name:\"id\",type:\"vec4\"}]},t.contourShader={vertex:l,fragment:_,attributes:[{name:\"position\",type:\"vec3\"}]}},7201:function(e,t,r){\"use strict\";var o=1e-6,n=1e-6,i=r(9405),a=r(2762),s=r(8116),c=r(7766),h=r(8406),p=r(6760),d=r(7608),T=r(9618),l=r(6729),_=r(7765),w=r(1888),M=r(840),E=r(7626),m=M.meshShader,b=M.wireShader,v=M.pointShader,u=M.pickShader,y=M.pointPickShader,f=M.contourShader,P=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function L(fe,G,$,J,X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et){this.gl=fe,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=G,this.dirty=!0,this.triShader=$,this.lineShader=J,this.pointShader=X,this.pickShader=re,this.pointPickShader=ae,this.contourShader=j,this.trianglePositions=ee,this.triangleColors=ce,this.triangleNormals=Te,this.triangleUVs=xe,this.triangleIds=ie,this.triangleVAO=Ue,this.triangleCount=0,this.lineWidth=1,this.edgePositions=Ie,this.edgeColors=it,this.edgeUVs=at,this.edgeIds=Ye,this.edgeVAO=tt,this.edgeCount=0,this.pointPositions=ut,this.pointColors=pe,this.pointUVs=ue,this.pointSizes=Oe,this.pointIds=Me,this.pointVAO=rt,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=ot,this.contourVAO=et,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=P,this._view=P,this._projection=P,this._resolution=[1,1]}var z=L.prototype;z.isOpaque=function(){return!this.hasAlpha},z.isTransparent=function(){return this.hasAlpha},z.pickSlots=1,z.setPickBase=function(fe){this.pickId=fe};function F(fe,G){if(!G||!G.length)return 1;for(var $=0;$fe&&$>0){var J=(G[$][0]-fe)/(G[$][0]-G[$-1][0]);return G[$][1]*(1-J)+J*G[$-1][1]}}return 1}function B(fe,G){for(var $=l({colormap:fe,nshades:256,format:\"rgba\"}),J=new Uint8Array(256*4),X=0;X<256;++X){for(var re=$[X],ae=0;ae<3;++ae)J[4*X+ae]=re[ae];G?J[4*X+3]=255*F(X/255,G):J[4*X+3]=255*re[3]}return T(J,[256,256,4],[4,0,1])}function O(fe){for(var G=fe.length,$=new Array(G),J=0;J0){var Te=this.triShader;Te.bind(),Te.uniforms=j,this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Te=this.lineShader;Te.bind(),Te.uniforms=j,this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Te=this.pointShader;Te.bind(),Te.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Te=this.contourShader;Te.bind(),Te.uniforms=j,this.contourVAO.bind(),G.drawArrays(G.LINES,0,this.contourCount),this.contourVAO.unbind()}},z.drawPick=function(fe){fe=fe||{};for(var G=this.gl,$=fe.model||P,J=fe.view||P,X=fe.projection||P,re=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],ae=0;ae<3;++ae)re[0][ae]=Math.max(re[0][ae],this.clipBounds[0][ae]),re[1][ae]=Math.min(re[1][ae],this.clipBounds[1][ae]);this._model=[].slice.call($),this._view=[].slice.call(J),this._projection=[].slice.call(X),this._resolution=[G.drawingBufferWidth,G.drawingBufferHeight];var j={model:$,view:J,projection:X,clipBounds:re,pickId:this.pickId/255},ee=this.pickShader;if(ee.bind(),ee.uniforms=j,this.triangleCount>0&&(this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var ee=this.pointPickShader;ee.bind(),ee.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}},z.pick=function(fe){if(!fe||fe.id!==this.pickId)return null;for(var G=fe.value[0]+256*fe.value[1]+65536*fe.value[2],$=this.cells[G],J=this.positions,X=new Array($.length),re=0;re<$.length;++re)X[re]=J[$[re]];var ae=fe.coord[0],j=fe.coord[1];if(!this.pickVertex){var ee=this.positions[$[0]],ie=this.positions[$[1]],ce=this.positions[$[2]],xe=[(ee[0]+ie[0]+ce[0])/3,(ee[1]+ie[1]+ce[1])/3,(ee[2]+ie[2]+ce[2])/3];return{_cellCenter:!0,position:[ae,j],index:G,cell:$,cellId:G,intensity:this.intensity[G],dataCoordinate:xe}}var Te=E(X,[ae*this.pixelRatio,this._resolution[1]-j*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!Te)return null;for(var Ue=Te[2],Ie=0,re=0;re<$.length;++re)Ie+=Ue[re]*this.intensity[$[re]];return{position:Te[1],index:$[Te[0]],cell:$,cellId:G,intensity:Ie,dataCoordinate:this.positions[$[Te[0]]]}},z.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()};function I(fe){var G=i(fe,m.vertex,m.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.normal.location=4,G}function N(fe){var G=i(fe,b.vertex,b.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G}function U(fe){var G=i(fe,v.vertex,v.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.pointSize.location=4,G}function W(fe){var G=i(fe,u.vertex,u.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G}function Q(fe){var G=i(fe,y.vertex,y.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G.attributes.pointSize.location=4,G}function le(fe){var G=i(fe,f.vertex,f.fragment);return G.attributes.position.location=0,G}function se(fe,G){arguments.length===1&&(G=fe,fe=G.gl);var $=fe.getExtension(\"OES_standard_derivatives\")||fe.getExtension(\"MOZ_OES_standard_derivatives\")||fe.getExtension(\"WEBKIT_OES_standard_derivatives\");if(!$)throw new Error(\"derivatives not supported\");var J=I(fe),X=N(fe),re=U(fe),ae=W(fe),j=Q(fe),ee=le(fe),ie=c(fe,T(new Uint8Array([255,255,255,255]),[1,1,4]));ie.generateMipmap(),ie.minFilter=fe.LINEAR_MIPMAP_LINEAR,ie.magFilter=fe.LINEAR;var ce=a(fe),xe=a(fe),Te=a(fe),Ue=a(fe),Ie=a(fe),Ye=s(fe,[{buffer:ce,type:fe.FLOAT,size:3},{buffer:Ie,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:xe,type:fe.FLOAT,size:4},{buffer:Te,type:fe.FLOAT,size:2},{buffer:Ue,type:fe.FLOAT,size:3}]),it=a(fe),at=a(fe),tt=a(fe),ut=a(fe),Me=s(fe,[{buffer:it,type:fe.FLOAT,size:3},{buffer:ut,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:at,type:fe.FLOAT,size:4},{buffer:tt,type:fe.FLOAT,size:2}]),pe=a(fe),ue=a(fe),Oe=a(fe),rt=a(fe),ot=a(fe),et=s(fe,[{buffer:pe,type:fe.FLOAT,size:3},{buffer:ot,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:ue,type:fe.FLOAT,size:4},{buffer:Oe,type:fe.FLOAT,size:2},{buffer:rt,type:fe.FLOAT,size:1}]),Lt=a(fe),Et=s(fe,[{buffer:Lt,type:fe.FLOAT,size:3}]),Bt=new L(fe,ie,J,X,re,ae,j,ee,ce,Ie,xe,Te,Ue,Ye,it,ut,at,tt,Me,pe,ot,ue,Oe,rt,et,Lt,Et);return Bt.update(G),Bt}e.exports=se},4437:function(e,t,r){\"use strict\";e.exports=h;var o=r(3025),n=r(6296),i=r(351),a=r(8512),s=r(24),c=r(7520);function h(p,d){p=p||document.body,d=d||{};var T=[.01,1/0];\"distanceLimits\"in d&&(T[0]=d.distanceLimits[0],T[1]=d.distanceLimits[1]),\"zoomMin\"in d&&(T[0]=d.zoomMin),\"zoomMax\"in d&&(T[1]=d.zoomMax);var l=n({center:d.center||[0,0,0],up:d.up||[0,1,0],eye:d.eye||[0,0,10],mode:d.mode||\"orbit\",distanceLimits:T}),_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0,M=p.clientWidth,E=p.clientHeight,m={keyBindingMode:\"rotate\",enableWheel:!0,view:l,element:p,delay:d.delay||16,rotateSpeed:d.rotateSpeed||1,zoomSpeed:d.zoomSpeed||1,translateSpeed:d.translateSpeed||1,flipX:!!d.flipX,flipY:!!d.flipY,modes:l.modes,_ortho:d._ortho||d.projection&&d.projection.type===\"orthographic\"||!1,tick:function(){var b=o(),v=this.delay,u=b-2*v;l.idle(b-v),l.recalcMatrix(u),l.flush(b-(100+v*2));for(var y=!0,f=l.computedMatrix,P=0;P<16;++P)y=y&&_[P]===f[P],_[P]=f[P];var L=p.clientWidth===M&&p.clientHeight===E;return M=p.clientWidth,E=p.clientHeight,y?!L:(w=Math.exp(l.computedRadius[0]),!0)},lookAt:function(b,v,u){l.lookAt(l.lastT(),b,v,u)},rotate:function(b,v,u){l.rotate(l.lastT(),b,v,u)},pan:function(b,v,u){l.pan(l.lastT(),b,v,u)},translate:function(b,v,u){l.translate(l.lastT(),b,v,u)}};return Object.defineProperties(m,{matrix:{get:function(){return l.computedMatrix},set:function(b){return l.setMatrix(l.lastT(),b),l.computedMatrix},enumerable:!0},mode:{get:function(){return l.getMode()},set:function(b){var v=l.computedUp.slice(),u=l.computedEye.slice(),y=l.computedCenter.slice();if(l.setMode(b),b===\"turntable\"){var f=o();l._active.lookAt(f,u,y,v),l._active.lookAt(f+500,u,y,[0,0,1]),l._active.flush(f)}return l.getMode()},enumerable:!0},center:{get:function(){return l.computedCenter},set:function(b){return l.lookAt(l.lastT(),null,b),l.computedCenter},enumerable:!0},eye:{get:function(){return l.computedEye},set:function(b){return l.lookAt(l.lastT(),b),l.computedEye},enumerable:!0},up:{get:function(){return l.computedUp},set:function(b){return l.lookAt(l.lastT(),null,null,b),l.computedUp},enumerable:!0},distance:{get:function(){return w},set:function(b){return l.setDistance(l.lastT(),b),b},enumerable:!0},distanceLimits:{get:function(){return l.getDistanceLimits(T)},set:function(b){return l.setDistanceLimits(b),b},enumerable:!0}}),p.addEventListener(\"contextmenu\",function(b){return b.preventDefault(),!1}),m._lastX=-1,m._lastY=-1,m._lastMods={shift:!1,control:!1,alt:!1,meta:!1},m.enableMouseListeners=function(){m.mouseListener=i(p,b),p.addEventListener(\"touchstart\",function(v){var u=s(v.changedTouches[0],p);b(0,u[0],u[1],m._lastMods),b(1,u[0],u[1],m._lastMods)},c?{passive:!0}:!1),p.addEventListener(\"touchmove\",function(v){var u=s(v.changedTouches[0],p);b(1,u[0],u[1],m._lastMods),v.preventDefault()},c?{passive:!1}:!1),p.addEventListener(\"touchend\",function(v){b(0,m._lastX,m._lastY,m._lastMods)},c?{passive:!0}:!1);function b(v,u,y,f){var P=m.keyBindingMode;if(P!==!1){var L=P===\"rotate\",z=P===\"pan\",F=P===\"zoom\",B=!!f.control,O=!!f.alt,I=!!f.shift,N=!!(v&1),U=!!(v&2),W=!!(v&4),Q=1/p.clientHeight,le=Q*(u-m._lastX),se=Q*(y-m._lastY),fe=m.flipX?1:-1,G=m.flipY?1:-1,$=Math.PI*m.rotateSpeed,J=o();if(m._lastX!==-1&&m._lastY!==-1&&((L&&N&&!B&&!O&&!I||N&&!B&&!O&&I)&&l.rotate(J,fe*$*le,-G*$*se,0),(z&&N&&!B&&!O&&!I||U||N&&B&&!O&&!I)&&l.pan(J,-m.translateSpeed*le*w,m.translateSpeed*se*w,0),F&&N&&!B&&!O&&!I||W||N&&!B&&O&&!I)){var X=-m.zoomSpeed*se/window.innerHeight*(J-l.lastT())*100;l.pan(J,0,0,w*(Math.exp(X)-1))}return m._lastX=u,m._lastY=y,m._lastMods=f,!0}}m.wheelListener=a(p,function(v,u){if(m.keyBindingMode!==!1&&m.enableWheel){var y=m.flipX?1:-1,f=m.flipY?1:-1,P=o();if(Math.abs(v)>Math.abs(u))l.rotate(P,0,0,-v*y*Math.PI*m.rotateSpeed/window.innerWidth);else if(!m._ortho){var L=-m.zoomSpeed*f*u/window.innerHeight*(P-l.lastT())/20;l.pan(P,0,0,w*(Math.exp(L)-1))}}},!0)},m.enableMouseListeners(),m}},799:function(e,t,r){var o=r(3236),n=r(9405),i=o([`precision mediump float;\n#define GLSLIFY 1\nattribute vec2 position;\nvarying vec2 uv;\nvoid main() {\n uv = position;\n gl_Position = vec4(position, 0, 1);\n}`]),a=o([`precision mediump float;\n#define GLSLIFY 1\n\nuniform sampler2D accumBuffer;\nvarying vec2 uv;\n\nvoid main() {\n vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));\n gl_FragColor = min(vec4(1,1,1,1), accum);\n}`]);e.exports=function(s){return n(s,i,a,null,[{name:\"position\",type:\"vec2\"}])}},4100:function(e,t,r){\"use strict\";var o=r(4437),n=r(3837),i=r(5445),a=r(4449),s=r(3589),c=r(2260),h=r(7169),p=r(351),d=r(4772),T=r(4040),l=r(799),_=r(9216)({tablet:!0,featureDetect:!0});e.exports={createScene:b,createCamera:o};function w(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function M(u,y){var f=null;try{f=u.getContext(\"webgl\",y),f||(f=u.getContext(\"experimental-webgl\",y))}catch{return null}return f}function E(u){var y=Math.round(Math.log(Math.abs(u))/Math.log(10));if(y<0){var f=Math.round(Math.pow(10,-y));return Math.ceil(u*f)/f}else if(y>0){var f=Math.round(Math.pow(10,y));return Math.ceil(u/f)*f}return Math.ceil(u)}function m(u){return typeof u==\"boolean\"?u:!0}function b(u){u=u||{},u.camera=u.camera||{};var y=u.canvas;if(!y)if(y=document.createElement(\"canvas\"),u.container){var f=u.container;f.appendChild(y)}else document.body.appendChild(y);var P=u.gl;if(P||(u.glOptions&&(_=!!u.glOptions.preserveDrawingBuffer),P=M(y,u.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:_})),!P)throw new Error(\"webgl not supported\");var L=u.bounds||[[-10,-10,-10],[10,10,10]],z=new w,F=c(P,P.drawingBufferWidth,P.drawingBufferHeight,{preferFloat:!_}),B=l(P),O=u.cameraObject&&u.cameraObject._ortho===!0||u.camera.projection&&u.camera.projection.type===\"orthographic\"||!1,I={eye:u.camera.eye||[2,0,0],center:u.camera.center||[0,0,0],up:u.camera.up||[0,1,0],zoomMin:u.camera.zoomMax||.1,zoomMax:u.camera.zoomMin||100,mode:u.camera.mode||\"turntable\",_ortho:O},N=u.axes||{},U=n(P,N);U.enable=!N.disable;var W=u.spikes||{},Q=a(P,W),le=[],se=[],fe=[],G=[],$=!0,ae=!0,J=new Array(16),X=new Array(16),re={view:null,projection:J,model:X,_ortho:!1},ae=!0,j=[P.drawingBufferWidth,P.drawingBufferHeight],ee=u.cameraObject||o(y,I),ie={gl:P,contextLost:!1,pixelRatio:u.pixelRatio||1,canvas:y,selection:z,camera:ee,axes:U,axesPixels:null,spikes:Q,bounds:L,objects:le,shape:j,aspect:u.aspectRatio||[1,1,1],pickRadius:u.pickRadius||10,zNear:u.zNear||.01,zFar:u.zFar||1e3,fovy:u.fovy||Math.PI/4,clearColor:u.clearColor||[0,0,0,0],autoResize:m(u.autoResize),autoBounds:m(u.autoBounds),autoScale:!!u.autoScale,autoCenter:m(u.autoCenter),clipToBounds:m(u.clipToBounds),snapToData:!!u.snapToData,onselect:u.onselect||null,onrender:u.onrender||null,onclick:u.onclick||null,cameraParams:re,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(ut){this.aspect[0]=ut.x,this.aspect[1]=ut.y,this.aspect[2]=ut.z,ae=!0},setBounds:function(ut,Me){this.bounds[0][ut]=Me.min,this.bounds[1][ut]=Me.max},setClearColor:function(ut){this.clearColor=ut},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ce=[P.drawingBufferWidth/ie.pixelRatio|0,P.drawingBufferHeight/ie.pixelRatio|0];function xe(){if(!ie._stopped&&ie.autoResize){var ut=y.parentNode,Me=1,pe=1;ut&&ut!==document.body?(Me=ut.clientWidth,pe=ut.clientHeight):(Me=window.innerWidth,pe=window.innerHeight);var ue=Math.ceil(Me*ie.pixelRatio)|0,Oe=Math.ceil(pe*ie.pixelRatio)|0;if(ue!==y.width||Oe!==y.height){y.width=ue,y.height=Oe;var rt=y.style;rt.position=rt.position||\"absolute\",rt.left=\"0px\",rt.top=\"0px\",rt.width=Me+\"px\",rt.height=pe+\"px\",$=!0}}}ie.autoResize&&xe(),window.addEventListener(\"resize\",xe);function Te(){for(var ut=le.length,Me=G.length,pe=0;pe0&&fe[Me-1]===0;)fe.pop(),G.pop().dispose()}ie.update=function(ut){ie._stopped||(ut=ut||{},$=!0,ae=!0)},ie.add=function(ut){ie._stopped||(ut.axes=U,le.push(ut),se.push(-1),$=!0,ae=!0,Te())},ie.remove=function(ut){if(!ie._stopped){var Me=le.indexOf(ut);Me<0||(le.splice(Me,1),se.pop(),$=!0,ae=!0,Te())}},ie.dispose=function(){if(!ie._stopped&&(ie._stopped=!0,window.removeEventListener(\"resize\",xe),y.removeEventListener(\"webglcontextlost\",Ue),ie.mouseListener.enabled=!1,!ie.contextLost)){U.dispose(),Q.dispose();for(var ut=0;utz.distance)continue;for(var Et=0;Et1e-6?(_=Math.acos(w),M=Math.sin(_),E=Math.sin((1-i)*_)/M,m=Math.sin(i*_)/M):(E=1-i,m=i),r[0]=E*a+m*p,r[1]=E*s+m*d,r[2]=E*c+m*T,r[3]=E*h+m*l,r}},5964:function(e){\"use strict\";e.exports=function(t){return!t&&t!==0?\"\":t.toString()}},9366:function(e,t,r){\"use strict\";var o=r(4359);e.exports=i;var n={};function i(a,s,c){var h=[s.style,s.weight,s.variant,s.family].join(\"_\"),p=n[h];if(p||(p=n[h]={}),a in p)return p[a];var d={textAlign:\"center\",textBaseline:\"middle\",lineHeight:1,font:s.family,fontStyle:s.style,fontWeight:s.weight,fontVariant:s.variant,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};d.triangles=!0;var T=o(a,d);d.triangles=!1;var l=o(a,d),_,w;if(c&&c!==1){for(_=0;_ max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform vec4 highlightId;\nuniform float highlightScale;\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = 1.0;\n if(distance(highlightId, id) < 0.0001) {\n scale = highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1);\n vec4 viewPosition = view * worldPosition;\n viewPosition = viewPosition / viewPosition.w;\n vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}`]),a=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float highlightScale, pixelRatio;\nuniform vec4 highlightId;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = pixelRatio;\n if(distance(highlightId.bgr, id.bgr) < 0.001) {\n scale *= highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1.0);\n vec4 viewPosition = view * worldPosition;\n vec4 clipPosition = projection * viewPosition;\n clipPosition /= clipPosition.w;\n\n gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}`]),s=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform float highlightScale;\nuniform vec4 highlightId;\nuniform vec3 axes[2];\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float scale, pixelRatio;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float lscale = pixelRatio * scale;\n if(distance(highlightId, id) < 0.0001) {\n lscale *= highlightScale;\n }\n\n vec4 clipCenter = projection * (view * (model * vec4(position, 1)));\n vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;\n vec4 clipPosition = projection * (view * (model * vec4(dataPosition, 1)));\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = dataPosition;\n }\n}\n`]),c=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float opacity;\n\nvarying vec4 interpColor;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (\n outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\n interpColor.a * opacity == 0.\n ) discard;\n gl_FragColor = interpColor * opacity;\n}\n`]),h=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float pickGroup;\n\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;\n\n gl_FragColor = vec4(pickGroup, pickId.bgr);\n}`]),p=[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"glyph\",type:\"vec2\"},{name:\"id\",type:\"vec4\"}],d={vertex:i,fragment:c,attributes:p},T={vertex:a,fragment:c,attributes:p},l={vertex:s,fragment:c,attributes:p},_={vertex:i,fragment:h,attributes:p},w={vertex:a,fragment:h,attributes:p},M={vertex:s,fragment:h,attributes:p};function E(m,b){var v=o(m,b),u=v.attributes;return u.position.location=0,u.color.location=1,u.glyph.location=2,u.id.location=3,v}t.createPerspective=function(m){return E(m,d)},t.createOrtho=function(m){return E(m,T)},t.createProject=function(m){return E(m,l)},t.createPickPerspective=function(m){return E(m,_)},t.createPickOrtho=function(m){return E(m,w)},t.createPickProject=function(m){return E(m,M)}},8418:function(e,t,r){\"use strict\";var o=r(5219),n=r(2762),i=r(8116),a=r(1888),s=r(6760),c=r(1283),h=r(9366),p=r(5964),d=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],T=ArrayBuffer,l=DataView;function _(X){return T.isView(X)&&!(X instanceof l)}function w(X){return Array.isArray(X)||_(X)}e.exports=J;function M(X,re){var ae=X[0],j=X[1],ee=X[2],ie=X[3];return X[0]=re[0]*ae+re[4]*j+re[8]*ee+re[12]*ie,X[1]=re[1]*ae+re[5]*j+re[9]*ee+re[13]*ie,X[2]=re[2]*ae+re[6]*j+re[10]*ee+re[14]*ie,X[3]=re[3]*ae+re[7]*j+re[11]*ee+re[15]*ie,X}function E(X,re,ae,j){return M(j,j,ae),M(j,j,re),M(j,j,X)}function m(X,re){this.index=X,this.dataCoordinate=this.position=re}function b(X){return X===!0||X>1?1:X}function v(X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye){this.gl=X,this.pixelRatio=1,this.shader=re,this.orthoShader=ae,this.projectShader=j,this.pointBuffer=ee,this.colorBuffer=ie,this.glyphBuffer=ce,this.idBuffer=xe,this.vao=Te,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=Ue,this.pickOrthoShader=Ie,this.pickProjectShader=Ye,this.points=[],this._selectResult=new m(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var u=v.prototype;u.pickSlots=1,u.setPickBase=function(X){this.pickId=X},u.isTransparent=function(){if(this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&this.projectHasAlpha)return!0;return!1},u.isOpaque=function(){if(!this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0,1],z=[0,0,0,1],F=d.slice(),B=[0,0,0],O=[[0,0,0],[0,0,0]];function I(X){return X[0]=X[1]=X[2]=0,X}function N(X,re){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[3]=1,X}function U(X,re,ae,j){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[ae]=j,X}function W(X){for(var re=O,ae=0;ae<2;++ae)for(var j=0;j<3;++j)re[ae][j]=Math.max(Math.min(X[ae][j],1e8),-1e8);return re}function Q(X,re,ae,j){var ee=re.axesProject,ie=re.gl,ce=X.uniforms,xe=ae.model||d,Te=ae.view||d,Ue=ae.projection||d,Ie=re.axesBounds,Ye=W(re.clipBounds),it;re.axes&&re.axes.lastCubeProps?it=re.axes.lastCubeProps.axis:it=[1,1,1],y[0]=2/ie.drawingBufferWidth,y[1]=2/ie.drawingBufferHeight,X.bind(),ce.view=Te,ce.projection=Ue,ce.screenSize=y,ce.highlightId=re.highlightId,ce.highlightScale=re.highlightScale,ce.clipBounds=Ye,ce.pickGroup=re.pickId/255,ce.pixelRatio=j;for(var at=0;at<3;++at)if(ee[at]){ce.scale=re.projectScale[at],ce.opacity=re.projectOpacity[at];for(var tt=F,ut=0;ut<16;++ut)tt[ut]=0;for(var ut=0;ut<4;++ut)tt[5*ut]=1;tt[5*at]=0,it[at]<0?tt[12+at]=Ie[0][at]:tt[12+at]=Ie[1][at],s(tt,xe,tt),ce.model=tt;var Me=(at+1)%3,pe=(at+2)%3,ue=I(f),Oe=I(P);ue[Me]=1,Oe[pe]=1;var rt=E(Ue,Te,xe,N(L,ue)),ot=E(Ue,Te,xe,N(z,Oe));if(Math.abs(rt[1])>Math.abs(ot[1])){var et=rt;rt=ot,ot=et,et=ue,ue=Oe,Oe=et;var Lt=Me;Me=pe,pe=Lt}rt[0]<0&&(ue[Me]=-1),ot[1]>0&&(Oe[pe]=-1);for(var Et=0,Bt=0,ut=0;ut<4;++ut)Et+=Math.pow(xe[4*Me+ut],2),Bt+=Math.pow(xe[4*pe+ut],2);ue[Me]/=Math.sqrt(Et),Oe[pe]/=Math.sqrt(Bt),ce.axes[0]=ue,ce.axes[1]=Oe,ce.fragClipBounds[0]=U(B,Ye[0],at,-1e8),ce.fragClipBounds[1]=U(B,Ye[1],at,1e8),re.vao.bind(),re.vao.draw(ie.TRIANGLES,re.vertexCount),re.lineWidth>0&&(ie.lineWidth(re.lineWidth*j),re.vao.draw(ie.LINES,re.lineVertexCount,re.vertexCount)),re.vao.unbind()}}var le=[-1e8,-1e8,-1e8],se=[1e8,1e8,1e8],fe=[le,se];function G(X,re,ae,j,ee,ie,ce){var xe=ae.gl;if((ie===ae.projectHasAlpha||ce)&&Q(re,ae,j,ee),ie===ae.hasAlpha||ce){X.bind();var Te=X.uniforms;Te.model=j.model||d,Te.view=j.view||d,Te.projection=j.projection||d,y[0]=2/xe.drawingBufferWidth,y[1]=2/xe.drawingBufferHeight,Te.screenSize=y,Te.highlightId=ae.highlightId,Te.highlightScale=ae.highlightScale,Te.fragClipBounds=fe,Te.clipBounds=ae.axes.bounds,Te.opacity=ae.opacity,Te.pickGroup=ae.pickId/255,Te.pixelRatio=ee,ae.vao.bind(),ae.vao.draw(xe.TRIANGLES,ae.vertexCount),ae.lineWidth>0&&(xe.lineWidth(ae.lineWidth*ee),ae.vao.draw(xe.LINES,ae.lineVertexCount,ae.vertexCount)),ae.vao.unbind()}}u.draw=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!1,!1)},u.drawTransparent=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!0,!1)},u.drawPick=function(X){var re=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;G(re,this.pickProjectShader,this,X,1,!0,!0)},u.pick=function(X){if(!X||X.id!==this.pickId)return null;var re=X.value[2]+(X.value[1]<<8)+(X.value[0]<<16);if(re>=this.pointCount||re<0)return null;var ae=this.points[re],j=this._selectResult;j.index=re;for(var ee=0;ee<3;++ee)j.position[ee]=j.dataCoordinate[ee]=ae[ee];return j},u.highlight=function(X){if(!X)this.highlightId=[1,1,1,1];else{var re=X.index,ae=re&255,j=re>>8&255,ee=re>>16&255;this.highlightId=[ae/255,j/255,ee/255,0]}};function $(X,re,ae,j){var ee;w(X)?re0){var br=0,_t=pe,Be=[0,0,0,1],Ke=[0,0,0,1],je=w(it)&&w(it[0]),Se=w(ut)&&w(ut[0]);e:for(var j=0;j0?1-Bt[0][0]:bt<0?1+Bt[1][0]:1,Rt*=Rt>0?1-Bt[0][1]:Rt<0?1+Bt[1][1]:1;for(var Nt=[bt,Rt],Rn=Lt.cells||[],Nn=Lt.positions||[],ot=0;otthis.buffer.length){n.free(this.buffer);for(var w=this.buffer=n.mallocUint8(a(_*l*4)),M=0;M<_*l*4;++M)w[M]=255}return T}}}),p.begin=function(){var T=this.gl,l=this.shape;T&&(this.fbo.bind(),T.clearColor(1,1,1,1),T.clear(T.COLOR_BUFFER_BIT|T.DEPTH_BUFFER_BIT))},p.end=function(){var T=this.gl;T&&(T.bindFramebuffer(T.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},p.query=function(T,l,_){if(!this.gl)return null;var w=this.fbo.shape.slice();T=T|0,l=l|0,typeof _!=\"number\"&&(_=1);var M=Math.min(Math.max(T-_,0),w[0])|0,E=Math.min(Math.max(T+_,0),w[0])|0,m=Math.min(Math.max(l-_,0),w[1])|0,b=Math.min(Math.max(l+_,0),w[1])|0;if(E<=M||b<=m)return null;var v=[E-M,b-m],u=i(this.buffer,[v[0],v[1],4],[4,w[0]*4,1],4*(M+w[0]*m)),y=s(u.hi(v[0],v[1],1),_,_),f=y[0],P=y[1];if(f<0||Math.pow(this.radius,2)w)for(l=w;l<_;l++)this.gl.enableVertexAttribArray(l);else if(w>_)for(l=_;l=0){for(var O=B.type.charAt(B.type.length-1)|0,I=new Array(O),N=0;N=0;)U+=1;z[F]=U}var W=new Array(w.length);function Q(){m.program=a.program(b,m._vref,m._fref,L,z);for(var le=0;le=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o(\"\",\"Invalid data type for attribute \"+m+\": \"+b);s(p,d,v[0],l,u,_,m)}else if(b.indexOf(\"mat\")>=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o(\"\",\"Invalid data type for attribute \"+m+\": \"+b);c(p,d,v,l,u,_,m)}else throw new o(\"\",\"Unknown data type for attribute \"+m+\": \"+b);break}}return _}},3327:function(e,t,r){\"use strict\";var o=r(216),n=r(8866);e.exports=s;function i(c){return function(){return c}}function a(c,h){for(var p=new Array(c),d=0;d4)throw new n(\"\",\"Invalid data type\");switch(U.charAt(0)){case\"b\":case\"i\":c[\"uniform\"+W+\"iv\"](d[z],F);break;case\"v\":c[\"uniform\"+W+\"fv\"](d[z],F);break;default:throw new n(\"\",\"Unrecognized data type for vector \"+name+\": \"+U)}}else if(U.indexOf(\"mat\")===0&&U.length===4){if(W=U.charCodeAt(U.length-1)-48,W<2||W>4)throw new n(\"\",\"Invalid uniform dimension type for matrix \"+name+\": \"+U);c[\"uniformMatrix\"+W+\"fv\"](d[z],!1,F);break}else throw new n(\"\",\"Unknown uniform data type for \"+name+\": \"+U)}}}}}function _(b,v){if(typeof v!=\"object\")return[[b,v]];var u=[];for(var y in v){var f=v[y],P=b;parseInt(y)+\"\"===y?P+=\"[\"+y+\"]\":P+=\".\"+y,typeof f==\"object\"?u.push.apply(u,_(P,f)):u.push([P,f])}return u}function w(b){switch(b){case\"bool\":return!1;case\"int\":case\"sampler2D\":case\"samplerCube\":return 0;case\"float\":return 0;default:var v=b.indexOf(\"vec\");if(0<=v&&v<=1&&b.length===4+v){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n(\"\",\"Invalid data type\");return b.charAt(0)===\"b\"?a(u,!1):a(u,0)}else if(b.indexOf(\"mat\")===0&&b.length===4){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n(\"\",\"Invalid uniform dimension type for matrix \"+name+\": \"+b);return a(u*u,0)}else throw new n(\"\",\"Unknown uniform data type for \"+name+\": \"+b)}}function M(b,v,u){if(typeof u==\"object\"){var y=E(u);Object.defineProperty(b,v,{get:i(y),set:l(u),enumerable:!0,configurable:!1})}else d[u]?Object.defineProperty(b,v,{get:T(u),set:l(u),enumerable:!0,configurable:!1}):b[v]=w(p[u].type)}function E(b){var v;if(Array.isArray(b)){v=new Array(b.length);for(var u=0;u1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var d=1;d1)for(var _=0;_\"u\"?r(606):WeakMap,a=new i,s=0;function c(M,E,m,b,v,u,y){this.id=M,this.src=E,this.type=m,this.shader=b,this.count=u,this.programs=[],this.cache=y}c.prototype.dispose=function(){if(--this.count===0){for(var M=this.cache,E=M.gl,m=this.programs,b=0,v=m.length;b 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, tubeScale;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * tubePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(tubePosition, 1.0);\n vec4 t_position = view * tubePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = tubePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n`]),a=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float tubeScale;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n gl_Position = projection * (view * tubePosition);\n f_id = id;\n f_position = position.xyz;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec4\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"vector\",type:\"vec4\"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec4\"},{name:\"id\",type:\"vec4\"},{name:\"vector\",type:\"vec4\"}]}},7815:function(e,t,r){\"use strict\";var o=r(2931),n=r(9970),i=[\"xyz\",\"xzy\",\"yxz\",\"yzx\",\"zxy\",\"zyx\"],a=function(M,E,m,b){for(var v=M.points,u=M.velocities,y=M.divergences,f=[],P=[],L=[],z=[],F=[],B=[],O=0,I=0,N=n.create(),U=n.create(),W=8,Q=0;Q0)for(var G=0;GE)return b-1}return b},h=function(M,E,m){return Mm?m:M},p=function(M,E,m){var b=E.vectors,v=E.meshgrid,u=M[0],y=M[1],f=M[2],P=v[0].length,L=v[1].length,z=v[2].length,F=c(v[0],u),B=c(v[1],y),O=c(v[2],f),I=F+1,N=B+1,U=O+1;if(F=h(F,0,P-1),I=h(I,0,P-1),B=h(B,0,L-1),N=h(N,0,L-1),O=h(O,0,z-1),U=h(U,0,z-1),F<0||B<0||O<0||I>P-1||N>L-1||U>z-1)return o.create();var W=v[0][F],Q=v[0][I],le=v[1][B],se=v[1][N],fe=v[2][O],G=v[2][U],$=(u-W)/(Q-W),J=(y-le)/(se-le),X=(f-fe)/(G-fe);isFinite($)||($=.5),isFinite(J)||(J=.5),isFinite(X)||(X=.5);var re,ae,j,ee,ie,ce;switch(m.reversedX&&(F=P-1-F,I=P-1-I),m.reversedY&&(B=L-1-B,N=L-1-N),m.reversedZ&&(O=z-1-O,U=z-1-U),m.filled){case 5:ie=O,ce=U,j=B*z,ee=N*z,re=F*z*L,ae=I*z*L;break;case 4:ie=O,ce=U,re=F*z,ae=I*z,j=B*z*P,ee=N*z*P;break;case 3:j=B,ee=N,ie=O*L,ce=U*L,re=F*L*z,ae=I*L*z;break;case 2:j=B,ee=N,re=F*L,ae=I*L,ie=O*L*P,ce=U*L*P;break;case 1:re=F,ae=I,ie=O*P,ce=U*P,j=B*P*z,ee=N*P*z;break;default:re=F,ae=I,j=B*P,ee=N*P,ie=O*P*L,ce=U*P*L;break}var xe=b[re+j+ie],Te=b[re+j+ce],Ue=b[re+ee+ie],Ie=b[re+ee+ce],Ye=b[ae+j+ie],it=b[ae+j+ce],at=b[ae+ee+ie],tt=b[ae+ee+ce],ut=o.create(),Me=o.create(),pe=o.create(),ue=o.create();o.lerp(ut,xe,Ye,$),o.lerp(Me,Te,it,$),o.lerp(pe,Ue,at,$),o.lerp(ue,Ie,tt,$);var Oe=o.create(),rt=o.create();o.lerp(Oe,ut,pe,J),o.lerp(rt,Me,ue,J);var ot=o.create();return o.lerp(ot,Oe,rt,X),ot},d=function(M,E){var m=E[0],b=E[1],v=E[2];return M[0]=m<0?-m:m,M[1]=b<0?-b:b,M[2]=v<0?-v:v,M},T=function(M){var E=1/0;M.sort(function(u,y){return u-y});for(var m=M.length,b=1;bI||ttN||utU)},Q=o.distance(E[0],E[1]),le=10*Q/b,se=le*le,fe=1,G=0,$=m.length;$>1&&(fe=l(m));for(var J=0;J<$;J++){var X=o.create();o.copy(X,m[J]);var re=[X],ae=[],j=P(X),ee=X;ae.push(j);var ie=[],ce=L(X,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe),z.push({points:re,velocities:ae,divergences:ie});for(var Te=0;Tese&&o.scale(Ue,Ue,le/Math.sqrt(Ie)),o.add(Ue,Ue,X),j=P(Ue),o.squaredDistance(ee,Ue)-se>-1e-4*se){re.push(Ue),ee=Ue,ae.push(j);var ce=L(Ue,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe)}X=Ue}}var Ye=s(z,M.colormap,G,fe);return u?Ye.tubeScale=u:(G===0&&(G=1),Ye.tubeScale=v*.5*fe/G),Ye};var _=r(6740),w=r(6405).createMesh;e.exports.createTubeMesh=function(M,E){return w(M,E,{shaders:_,traceType:\"streamtube\"})}},990:function(e,t,r){var o=r(9405),n=r(3236),i=n([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute vec3 f;\nattribute vec3 normal;\n\nuniform vec3 objectOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 lightPosition, eyePosition;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n vec3 localCoordinate = vec3(uv.zw, f.x);\n worldCoordinate = objectOffset + localCoordinate;\n mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0));\n vec4 worldPosition = (model * objectOffsetTranslation) * vec4(localCoordinate, 1.0);\n vec4 clipPosition = projection * (view * worldPosition);\n gl_Position = clipPosition;\n kill = f.y;\n value = f.z;\n planeCoordinate = uv.xy;\n\n vColor = texture2D(colormap, vec2(value, value));\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * worldPosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n lightDirection = lightPosition - cameraCoordinate.xyz;\n eyeDirection = eyePosition - cameraCoordinate.xyz;\n surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz);\n}\n`]),a=n([`precision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat beckmannSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness) {\n return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 lowerBound, upperBound;\nuniform float contourTint;\nuniform vec4 contourColor;\nuniform sampler2D colormap;\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform float vertexColor;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n if (\n kill > 0.0 ||\n vColor.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)\n ) discard;\n\n vec3 N = normalize(surfaceNormal);\n vec3 V = normalize(eyeDirection);\n vec3 L = normalize(lightDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = max(beckmannSpecular(L, V, N, roughness), 0.);\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n //decide how to interpolate color \\u2014 in vertex or in fragment\n vec4 surfaceColor =\n step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +\n step(.5, vertexColor) * vColor;\n\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;\n}\n`]),s=n([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute float f;\n\nuniform vec3 objectOffset;\nuniform mat3 permutation;\nuniform mat4 model, view, projection;\nuniform float height, zOffset;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n vec3 dataCoordinate = permutation * vec3(uv.xy, height);\n worldCoordinate = objectOffset + dataCoordinate;\n mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0));\n vec4 worldPosition = (model * objectOffsetTranslation) * vec4(dataCoordinate, 1.0);\n\n vec4 clipPosition = projection * (view * worldPosition);\n clipPosition.z += zOffset;\n\n gl_Position = clipPosition;\n value = f + objectOffset.z;\n kill = -1.0;\n planeCoordinate = uv.zw;\n\n vColor = texture2D(colormap, vec2(value, value));\n\n //Don't do lighting for contours\n surfaceNormal = vec3(1,0,0);\n eyeDirection = vec3(0,1,0);\n lightDirection = vec3(0,0,1);\n}\n`]),c=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec2 shape;\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 surfaceNormal;\n\nvec2 splitFloat(float v) {\n float vh = 255.0 * v;\n float upper = floor(vh);\n float lower = fract(vh);\n return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);\n}\n\nvoid main() {\n if ((kill > 0.0) ||\n (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;\n\n vec2 ux = splitFloat(planeCoordinate.x / shape.x);\n vec2 uy = splitFloat(planeCoordinate.y / shape.y);\n gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));\n}\n`]);t.createShader=function(h){var p=o(h,i,a,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createPickShader=function(h){var p=o(h,i,c,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createContourShader=function(h){var p=o(h,s,a,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"float\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p},t.createPickContourShader=function(h){var p=o(h,s,c,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"float\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p}},9499:function(e,t,r){\"use strict\";e.exports=re;var o=r(8828),n=r(2762),i=r(8116),a=r(7766),s=r(1888),c=r(6729),h=r(5298),p=r(9994),d=r(9618),T=r(3711),l=r(6760),_=r(7608),w=r(2478),M=r(6199),E=r(990),m=E.createShader,b=E.createContourShader,v=E.createPickShader,u=E.createPickContourShader,y=4*10,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],P=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],L=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var ae=0;ae<3;++ae){var j=L[ae],ee=(ae+1)%3,ie=(ae+2)%3;j[ee+0]=1,j[ie+3]=1,j[ae+6]=1}})();function z(ae,j,ee,ie,ce){this.position=ae,this.index=j,this.uv=ee,this.level=ie,this.dataCoordinate=ce}var F=256;function B(ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me){this.gl=ae,this.shape=j,this.bounds=ee,this.objectOffset=Me,this.intensityBounds=[],this._shader=ie,this._pickShader=ce,this._coordinateBuffer=xe,this._vao=Te,this._colorMap=Ue,this._contourShader=Ie,this._contourPickShader=Ye,this._contourBuffer=it,this._contourVAO=at,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new z([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=tt,this._dynamicVAO=ut,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var O=B.prototype;O.genColormap=function(ae,j){var ee=!1,ie=p([c({colormap:ae,nshades:F,format:\"rgba\"}).map(function(ce,xe){var Te=j?I(xe/255,j):ce[3];return Te<1&&(ee=!0),[ce[0],ce[1],ce[2],255*Te]})]);return h.divseq(ie,255),this.hasAlphaScale=ee,ie},O.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},O.isOpaque=function(){return!this.isTransparent()},O.pickSlots=1,O.setPickBase=function(ae){this.pickId=ae};function I(ae,j){if(!j||!j.length)return 1;for(var ee=0;eeae&&ee>0){var ie=(j[ee][0]-ae)/(j[ee][0]-j[ee-1][0]);return j[ee][1]*(1-ie)+ie*j[ee-1][1]}}return 1}var N=[0,0,0],U={showSurface:!1,showContour:!1,projections:[f.slice(),f.slice(),f.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function W(ae,j){var ee,ie,ce,xe=j.axes&&j.axes.lastCubeProps.axis||N,Te=j.showSurface,Ue=j.showContour;for(ee=0;ee<3;++ee)for(Te=Te||j.surfaceProject[ee],ie=0;ie<3;++ie)Ue=Ue||j.contourProject[ee][ie];for(ee=0;ee<3;++ee){var Ie=U.projections[ee];for(ie=0;ie<16;++ie)Ie[ie]=0;for(ie=0;ie<4;++ie)Ie[5*ie]=1;Ie[5*ee]=0,Ie[12+ee]=j.axesBounds[+(xe[ee]>0)][ee],l(Ie,ae.model,Ie);var Ye=U.clipBounds[ee];for(ce=0;ce<2;++ce)for(ie=0;ie<3;++ie)Ye[ce][ie]=ae.clipBounds[ce][ie];Ye[0][ee]=-1e8,Ye[1][ee]=1e8}return U.showSurface=Te,U.showContour=Ue,U}var Q={model:f,view:f,projection:f,inverseModel:f.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},le=f.slice(),se=[1,0,0,0,1,0,0,0,1];function fe(ae,j){ae=ae||{};var ee=this.gl;ee.disable(ee.CULL_FACE),this._colorMap.bind(0);var ie=Q;ie.model=ae.model||f,ie.view=ae.view||f,ie.projection=ae.projection||f,ie.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ie.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ie.objectOffset=this.objectOffset,ie.contourColor=this.contourColor[0],ie.inverseModel=_(ie.inverseModel,ie.model);for(var ce=0;ce<2;++ce)for(var xe=ie.clipBounds[ce],Te=0;Te<3;++Te)xe[Te]=Math.min(Math.max(this.clipBounds[ce][Te],-1e8),1e8);ie.kambient=this.ambientLight,ie.kdiffuse=this.diffuseLight,ie.kspecular=this.specularLight,ie.roughness=this.roughness,ie.fresnel=this.fresnel,ie.opacity=this.opacity,ie.height=0,ie.permutation=se,ie.vertexColor=this.vertexColor;var Ue=le;for(l(Ue,ie.view,ie.model),l(Ue,ie.projection,Ue),_(Ue,Ue),ce=0;ce<3;++ce)ie.eyePosition[ce]=Ue[12+ce]/Ue[15];var Ie=Ue[15];for(ce=0;ce<3;++ce)Ie+=this.lightPosition[ce]*Ue[4*ce+3];for(ce=0;ce<3;++ce){var Ye=Ue[12+ce];for(Te=0;Te<3;++Te)Ye+=Ue[4*Te+ce]*this.lightPosition[Te];ie.lightPosition[ce]=Ye/Ie}var it=W(ie,this);if(it.showSurface){for(this._shader.bind(),this._shader.uniforms=ie,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ee.TRIANGLES,this._vertexCount),ce=0;ce<3;++ce)!this.surfaceProject[ce]||!this.vertexCount||(this._shader.uniforms.model=it.projections[ce],this._shader.uniforms.clipBounds=it.clipBounds[ce],this._vao.draw(ee.TRIANGLES,this._vertexCount));this._vao.unbind()}if(it.showContour){var at=this._contourShader;ie.kambient=1,ie.kdiffuse=0,ie.kspecular=0,ie.opacity=1,at.bind(),at.uniforms=ie;var tt=this._contourVAO;for(tt.bind(),ce=0;ce<3;++ce)for(at.uniforms.permutation=L[ce],ee.lineWidth(this.contourWidth[ce]*this.pixelRatio),Te=0;Te>4)/16)/255,ce=Math.floor(ie),xe=ie-ce,Te=j[1]*(ae.value[1]+(ae.value[2]&15)/16)/255,Ue=Math.floor(Te),Ie=Te-Ue;ce+=1,Ue+=1;var Ye=ee.position;Ye[0]=Ye[1]=Ye[2]=0;for(var it=0;it<2;++it)for(var at=it?xe:1-xe,tt=0;tt<2;++tt)for(var ut=tt?Ie:1-Ie,Me=ce+it,pe=Ue+tt,ue=at*ut,Oe=0;Oe<3;++Oe)Ye[Oe]+=this._field[Oe].get(Me,pe)*ue;for(var rt=this._pickResult.level,ot=0;ot<3;++ot)if(rt[ot]=w.le(this.contourLevels[ot],Ye[ot]),rt[ot]<0)this.contourLevels[ot].length>0&&(rt[ot]=0);else if(rt[ot]Math.abs(Lt-Ye[ot])&&(rt[ot]+=1)}for(ee.index[0]=xe<.5?ce:ce+1,ee.index[1]=Ie<.5?Ue:Ue+1,ee.uv[0]=ie/j[0],ee.uv[1]=Te/j[1],Oe=0;Oe<3;++Oe)ee.dataCoordinate[Oe]=this._field[Oe].get(ee.index[0],ee.index[1]);return ee},O.padField=function(ae,j){var ee=j.shape.slice(),ie=ae.shape.slice();h.assign(ae.lo(1,1).hi(ee[0],ee[1]),j),h.assign(ae.lo(1).hi(ee[0],1),j.hi(ee[0],1)),h.assign(ae.lo(1,ie[1]-1).hi(ee[0],1),j.lo(0,ee[1]-1).hi(ee[0],1)),h.assign(ae.lo(0,1).hi(1,ee[1]),j.hi(1)),h.assign(ae.lo(ie[0]-1,1).hi(1,ee[1]),j.lo(ee[0]-1)),ae.set(0,0,j.get(0,0)),ae.set(0,ie[1]-1,j.get(0,ee[1]-1)),ae.set(ie[0]-1,0,j.get(ee[0]-1,0)),ae.set(ie[0]-1,ie[1]-1,j.get(ee[0]-1,ee[1]-1))};function $(ae,j){return Array.isArray(ae)?[j(ae[0]),j(ae[1]),j(ae[2])]:[j(ae),j(ae),j(ae)]}function J(ae){return Array.isArray(ae)?ae.length===3?[ae[0],ae[1],ae[2],1]:[ae[0],ae[1],ae[2],ae[3]]:[0,0,0,1]}function X(ae){if(Array.isArray(ae)){if(Array.isArray(ae))return[J(ae[0]),J(ae[1]),J(ae[2])];var j=J(ae);return[j.slice(),j.slice(),j.slice()]}}O.update=function(ae){ae=ae||{},this.objectOffset=ae.objectOffset||this.objectOffset,this.dirty=!0,\"contourWidth\"in ae&&(this.contourWidth=$(ae.contourWidth,Number)),\"showContour\"in ae&&(this.showContour=$(ae.showContour,Boolean)),\"showSurface\"in ae&&(this.showSurface=!!ae.showSurface),\"contourTint\"in ae&&(this.contourTint=$(ae.contourTint,Boolean)),\"contourColor\"in ae&&(this.contourColor=X(ae.contourColor)),\"contourProject\"in ae&&(this.contourProject=$(ae.contourProject,function(ui){return $(ui,Boolean)})),\"surfaceProject\"in ae&&(this.surfaceProject=ae.surfaceProject),\"dynamicColor\"in ae&&(this.dynamicColor=X(ae.dynamicColor)),\"dynamicTint\"in ae&&(this.dynamicTint=$(ae.dynamicTint,Number)),\"dynamicWidth\"in ae&&(this.dynamicWidth=$(ae.dynamicWidth,Number)),\"opacity\"in ae&&(this.opacity=ae.opacity),\"opacityscale\"in ae&&(this.opacityscale=ae.opacityscale),\"colorBounds\"in ae&&(this.colorBounds=ae.colorBounds),\"vertexColor\"in ae&&(this.vertexColor=ae.vertexColor?1:0),\"colormap\"in ae&&this._colorMap.setPixels(this.genColormap(ae.colormap,this.opacityscale));var j=ae.field||ae.coords&&ae.coords[2]||null,ee=!1;if(j||(this._field[2].shape[0]||this._field[2].shape[2]?j=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):j=this._field[2].hi(0,0)),\"field\"in ae||\"coords\"in ae){var ie=(j.shape[0]+2)*(j.shape[1]+2);ie>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(o.nextPow2(ie))),this._field[2]=d(this._field[2].data,[j.shape[0]+2,j.shape[1]+2]),this.padField(this._field[2],j),this.shape=j.shape.slice();for(var ce=this.shape,xe=0;xe<2;++xe)this._field[2].size>this._field[xe].data.length&&(s.freeFloat(this._field[xe].data),this._field[xe].data=s.mallocFloat(this._field[2].size)),this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2]);if(ae.coords){var Te=ae.coords;if(!Array.isArray(Te)||Te.length!==3)throw new Error(\"gl-surface: invalid coordinates for x/y\");for(xe=0;xe<2;++xe){var Ue=Te[xe];for(tt=0;tt<2;++tt)if(Ue.shape[tt]!==ce[tt])throw new Error(\"gl-surface: coords have incorrect shape\");this.padField(this._field[xe],Ue)}}else if(ae.ticks){var Ie=ae.ticks;if(!Array.isArray(Ie)||Ie.length!==2)throw new Error(\"gl-surface: invalid ticks\");for(xe=0;xe<2;++xe){var Ye=Ie[xe];if((Array.isArray(Ye)||Ye.length)&&(Ye=d(Ye)),Ye.shape[0]!==ce[xe])throw new Error(\"gl-surface: invalid tick length\");var it=d(Ye.data,ce);it.stride[xe]=Ye.stride[0],it.stride[xe^1]=0,this.padField(this._field[xe],it)}}else{for(xe=0;xe<2;++xe){var at=[0,0];at[xe]=1,this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2],at,0)}this._field[0].set(0,0,0);for(var tt=0;tt0){for(var ri=0;ri<5;++ri)Xt.pop();je-=1}continue e}}}Rn.push(je)}this._contourOffsets[$t]=pn,this._contourCounts[$t]=Rn}var Sn=s.mallocFloat(Xt.length);for(xe=0;xez||P<0||P>z)throw new Error(\"gl-texture2d: Invalid texture size\");return y._shape=[f,P],y.bind(),L.texImage2D(L.TEXTURE_2D,0,y.format,f,P,0,y.format,y.type,null),y._mipLevels=[0],y}function l(y,f,P,L,z,F){this.gl=y,this.handle=f,this.format=z,this.type=F,this._shape=[P,L],this._mipLevels=[0],this._magFilter=y.NEAREST,this._minFilter=y.NEAREST,this._wrapS=y.CLAMP_TO_EDGE,this._wrapT=y.CLAMP_TO_EDGE,this._anisoSamples=1;var B=this,O=[this._wrapS,this._wrapT];Object.defineProperties(O,[{get:function(){return B._wrapS},set:function(N){return B.wrapS=N}},{get:function(){return B._wrapT},set:function(N){return B.wrapT=N}}]),this._wrapVector=O;var I=[this._shape[0],this._shape[1]];Object.defineProperties(I,[{get:function(){return B._shape[0]},set:function(N){return B.width=N}},{get:function(){return B._shape[1]},set:function(N){return B.height=N}}]),this._shapeVector=I}var _=l.prototype;Object.defineProperties(_,{minFilter:{get:function(){return this._minFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension(\"OES_texture_float_linear\")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown filter mode \"+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,y),this._minFilter=y}},magFilter:{get:function(){return this._magFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension(\"OES_texture_float_linear\")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown filter mode \"+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,y),this._magFilter=y}},mipSamples:{get:function(){return this._anisoSamples},set:function(y){var f=this._anisoSamples;if(this._anisoSamples=Math.max(y,1)|0,f!==this._anisoSamples){var P=this.gl.getExtension(\"EXT_texture_filter_anisotropic\");P&&this.gl.texParameterf(this.gl.TEXTURE_2D,P.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,y),this._wrapS=y}},wrapT:{get:function(){return this._wrapT},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,y),this._wrapT=y}},wrap:{get:function(){return this._wrapVector},set:function(y){if(Array.isArray(y)||(y=[y,y]),y.length!==2)throw new Error(\"gl-texture2d: Must specify wrap mode for rows and columns\");for(var f=0;f<2;++f)if(c.indexOf(y[f])<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);this._wrapS=y[0],this._wrapT=y[1];var P=this.gl;return this.bind(),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_S,this._wrapS),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_T,this._wrapT),y}},shape:{get:function(){return this._shapeVector},set:function(y){if(!Array.isArray(y))y=[y|0,y|0];else if(y.length!==2)throw new Error(\"gl-texture2d: Invalid texture shape\");return T(this,y[0]|0,y[1]|0),[y[0]|0,y[1]|0]}},width:{get:function(){return this._shape[0]},set:function(y){return y=y|0,T(this,y,this._shape[1]),y}},height:{get:function(){return this._shape[1]},set:function(y){return y=y|0,T(this,this._shape[0],y),y}}}),_.bind=function(y){var f=this.gl;return y!==void 0&&f.activeTexture(f.TEXTURE0+(y|0)),f.bindTexture(f.TEXTURE_2D,this.handle),y!==void 0?y|0:f.getParameter(f.ACTIVE_TEXTURE)-f.TEXTURE0},_.dispose=function(){this.gl.deleteTexture(this.handle)},_.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var y=Math.min(this._shape[0],this._shape[1]),f=0;y>0;++f,y>>>=1)this._mipLevels.indexOf(f)<0&&this._mipLevels.push(f)},_.setPixels=function(y,f,P,L){var z=this.gl;this.bind(),Array.isArray(f)?(L=P,P=f[1]|0,f=f[0]|0):(f=f||0,P=P||0),L=L||0;var F=p(y)?y:y.raw;if(F){var B=this._mipLevels.indexOf(L)<0;B?(z.texImage2D(z.TEXTURE_2D,0,this.format,this.format,this.type,F),this._mipLevels.push(L)):z.texSubImage2D(z.TEXTURE_2D,L,f,P,this.format,this.type,F)}else if(y.shape&&y.stride&&y.data){if(y.shape.length<2||f+y.shape[1]>this._shape[1]>>>L||P+y.shape[0]>this._shape[0]>>>L||f<0||P<0)throw new Error(\"gl-texture2d: Texture dimensions are out of bounds\");M(z,f,P,L,this.format,this.type,this._mipLevels,y)}else throw new Error(\"gl-texture2d: Unsupported data type\")};function w(y,f){return y.length===3?f[2]===1&&f[1]===y[0]*y[2]&&f[0]===y[2]:f[0]===1&&f[1]===y[0]}function M(y,f,P,L,z,F,B,O){var I=O.dtype,N=O.shape.slice();if(N.length<2||N.length>3)throw new Error(\"gl-texture2d: Invalid ndarray, must be 2d or 3d\");var U=0,W=0,Q=w(N,O.stride.slice());I===\"float32\"?U=y.FLOAT:I===\"float64\"?(U=y.FLOAT,Q=!1,I=\"float32\"):I===\"uint8\"?U=y.UNSIGNED_BYTE:(U=y.UNSIGNED_BYTE,Q=!1,I=\"uint8\");var le=1;if(N.length===2)W=y.LUMINANCE,N=[N[0],N[1],1],O=o(O.data,N,[O.stride[0],O.stride[1],1],O.offset);else if(N.length===3){if(N[2]===1)W=y.ALPHA;else if(N[2]===2)W=y.LUMINANCE_ALPHA;else if(N[2]===3)W=y.RGB;else if(N[2]===4)W=y.RGBA;else throw new Error(\"gl-texture2d: Invalid shape for pixel coords\");le=N[2]}else throw new Error(\"gl-texture2d: Invalid shape for texture\");if((W===y.LUMINANCE||W===y.ALPHA)&&(z===y.LUMINANCE||z===y.ALPHA)&&(W=z),W!==z)throw new Error(\"gl-texture2d: Incompatible texture format for setPixels\");var se=O.size,fe=B.indexOf(L)<0;if(fe&&B.push(L),U===F&&Q)O.offset===0&&O.data.length===se?fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data):fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data.subarray(O.offset,O.offset+se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data.subarray(O.offset,O.offset+se));else{var G;F===y.FLOAT?G=i.mallocFloat32(se):G=i.mallocUint8(se);var $=o(G,N,[N[2],N[2]*N[0],1]);U===y.FLOAT&&F===y.UNSIGNED_BYTE?d($,O):n.assign($,O),fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,G.subarray(0,se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,G.subarray(0,se)),F===y.FLOAT?i.freeFloat32(G):i.freeUint8(G)}}function E(y){var f=y.createTexture();return y.bindTexture(y.TEXTURE_2D,f),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MIN_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MAG_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_S,y.CLAMP_TO_EDGE),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_T,y.CLAMP_TO_EDGE),f}function m(y,f,P,L,z){var F=y.getParameter(y.MAX_TEXTURE_SIZE);if(f<0||f>F||P<0||P>F)throw new Error(\"gl-texture2d: Invalid texture shape\");if(z===y.FLOAT&&!y.getExtension(\"OES_texture_float\"))throw new Error(\"gl-texture2d: Floating point textures not supported on this platform\");var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,L,f,P,0,L,z,null),new l(y,B,f,P,L,z)}function b(y,f,P,L,z,F){var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,z,z,F,f),new l(y,B,P,L,z,F)}function v(y,f){var P=f.dtype,L=f.shape.slice(),z=y.getParameter(y.MAX_TEXTURE_SIZE);if(L[0]<0||L[0]>z||L[1]<0||L[1]>z)throw new Error(\"gl-texture2d: Invalid texture size\");var F=w(L,f.stride.slice()),B=0;P===\"float32\"?B=y.FLOAT:P===\"float64\"?(B=y.FLOAT,F=!1,P=\"float32\"):P===\"uint8\"?B=y.UNSIGNED_BYTE:(B=y.UNSIGNED_BYTE,F=!1,P=\"uint8\");var O=0;if(L.length===2)O=y.LUMINANCE,L=[L[0],L[1],1],f=o(f.data,L,[f.stride[0],f.stride[1],1],f.offset);else if(L.length===3)if(L[2]===1)O=y.ALPHA;else if(L[2]===2)O=y.LUMINANCE_ALPHA;else if(L[2]===3)O=y.RGB;else if(L[2]===4)O=y.RGBA;else throw new Error(\"gl-texture2d: Invalid shape for pixel coords\");else throw new Error(\"gl-texture2d: Invalid shape for texture\");B===y.FLOAT&&!y.getExtension(\"OES_texture_float\")&&(B=y.UNSIGNED_BYTE,F=!1);var I,N,U=f.size;if(F)f.offset===0&&f.data.length===U?I=f.data:I=f.data.subarray(f.offset,f.offset+U);else{var W=[L[2],L[2]*L[0],1];N=i.malloc(U,P);var Q=o(N,L,W,0);(P===\"float32\"||P===\"float64\")&&B===y.UNSIGNED_BYTE?d(Q,f):n.assign(Q,f),I=N.subarray(0,U)}var le=E(y);return y.texImage2D(y.TEXTURE_2D,0,O,L[0],L[1],0,O,B,I),F||i.free(N),new l(y,le,L[0],L[1],O,B)}function u(y){if(arguments.length<=1)throw new Error(\"gl-texture2d: Missing arguments for texture2d constructor\");if(a||h(y),typeof arguments[1]==\"number\")return m(y,arguments[1],arguments[2],arguments[3]||y.RGBA,arguments[4]||y.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return m(y,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(typeof arguments[1]==\"object\"){var f=arguments[1],P=p(f)?f:f.raw;if(P)return b(y,P,f.width|0,f.height|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(f.shape&&f.data&&f.stride)return v(y,f)}throw new Error(\"gl-texture2d: Invalid arguments for texture2d constructor\")}},1433:function(e){\"use strict\";function t(r,o,n){o?o.bind():r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null);var i=r.getParameter(r.MAX_VERTEX_ATTRIBS)|0;if(n){if(n.length>i)throw new Error(\"gl-vao: Too many vertex attributes\");for(var a=0;a1?0:Math.acos(d)}},9226:function(e){e.exports=t;function t(r,o){return r[0]=Math.ceil(o[0]),r[1]=Math.ceil(o[1]),r[2]=Math.ceil(o[2]),r}},3126:function(e){e.exports=t;function t(r){var o=new Float32Array(3);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o}},3990:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r}},1091:function(e){e.exports=t;function t(){var r=new Float32Array(3);return r[0]=0,r[1]=0,r[2]=0,r}},5911:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2];return r[0]=a*p-s*h,r[1]=s*c-i*p,r[2]=i*h-a*c,r}},5455:function(e,t,r){e.exports=r(7056)},7056:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return Math.sqrt(n*n+i*i+a*a)}},4008:function(e,t,r){e.exports=r(6690)},6690:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r}},244:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]}},2613:function(e){e.exports=1e-6},9922:function(e,t,r){e.exports=n;var o=r(2613);function n(i,a){var s=i[0],c=i[1],h=i[2],p=a[0],d=a[1],T=a[2];return Math.abs(s-p)<=o*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(c-d)<=o*Math.max(1,Math.abs(c),Math.abs(d))&&Math.abs(h-T)<=o*Math.max(1,Math.abs(h),Math.abs(T))}},9265:function(e){e.exports=t;function t(r,o){return r[0]===o[0]&&r[1]===o[1]&&r[2]===o[2]}},2681:function(e){e.exports=t;function t(r,o){return r[0]=Math.floor(o[0]),r[1]=Math.floor(o[1]),r[2]=Math.floor(o[2]),r}},5137:function(e,t,r){e.exports=n;var o=r(1091)();function n(i,a,s,c,h,p){var d,T;for(a||(a=3),s||(s=0),c?T=Math.min(c*a+s,i.length):T=i.length,d=s;d0&&(s=1/Math.sqrt(s),r[0]=o[0]*s,r[1]=o[1]*s,r[2]=o[2]*s),r}},7636:function(e){e.exports=t;function t(r,o){o=o||1;var n=Math.random()*2*Math.PI,i=Math.random()*2-1,a=Math.sqrt(1-i*i)*o;return r[0]=Math.cos(n)*a,r[1]=Math.sin(n)*a,r[2]=i*o,r}},6894:function(e){e.exports=t;function t(r,o,n,i){var a=n[1],s=n[2],c=o[1]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=o[0],r[1]=a+c*d-h*p,r[2]=s+c*p+h*d,r}},109:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[2],c=o[0]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+h*p+c*d,r[1]=o[1],r[2]=s+h*d-c*p,r}},8692:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[1],c=o[0]-a,h=o[1]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+c*d-h*p,r[1]=s+c*p+h*d,r[2]=o[2],r}},2447:function(e){e.exports=t;function t(r,o){return r[0]=Math.round(o[0]),r[1]=Math.round(o[1]),r[2]=Math.round(o[2]),r}},6621:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r}},8489:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r}},1463:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o,r[1]=n,r[2]=i,r}},6141:function(e,t,r){e.exports=r(2953)},5486:function(e,t,r){e.exports=r(3066)},2953:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return n*n+i*i+a*a}},3066:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2];return o*o+n*n+i*i}},2229:function(e,t,r){e.exports=r(6843)},6843:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r}},492:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2];return r[0]=i*n[0]+a*n[3]+s*n[6],r[1]=i*n[1]+a*n[4]+s*n[7],r[2]=i*n[2]+a*n[5]+s*n[8],r}},5673:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[3]*i+n[7]*a+n[11]*s+n[15];return c=c||1,r[0]=(n[0]*i+n[4]*a+n[8]*s+n[12])/c,r[1]=(n[1]*i+n[5]*a+n[9]*s+n[13])/c,r[2]=(n[2]*i+n[6]*a+n[10]*s+n[14])/c,r}},264:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r}},4361:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]+n[0],r[1]=o[1]+n[1],r[2]=o[2]+n[2],r[3]=o[3]+n[3],r}},2335:function(e){e.exports=t;function t(r){var o=new Float32Array(4);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o[3]=r[3],o}},2933:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r}},7536:function(e){e.exports=t;function t(){var r=new Float32Array(4);return r[0]=0,r[1]=0,r[2]=0,r[3]=0,r}},4691:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return Math.sqrt(n*n+i*i+a*a+s*s)}},1373:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r[3]=o[3]/n[3],r}},3750:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]+r[3]*o[3]}},3390:function(e){e.exports=t;function t(r,o,n,i){var a=new Float32Array(4);return a[0]=r,a[1]=o,a[2]=n,a[3]=i,a}},9970:function(e,t,r){e.exports={create:r(7536),clone:r(2335),fromValues:r(3390),copy:r(2933),set:r(4578),add:r(4361),subtract:r(6860),multiply:r(3576),divide:r(1373),min:r(2334),max:r(160),scale:r(9288),scaleAndAdd:r(4844),distance:r(4691),squaredDistance:r(7960),length:r(6808),squaredLength:r(483),negate:r(1498),inverse:r(4494),normalize:r(5177),dot:r(3750),lerp:r(2573),random:r(9131),transformMat4:r(5352),transformQuat:r(4041)}},4494:function(e){e.exports=t;function t(r,o){return r[0]=1/o[0],r[1]=1/o[1],r[2]=1/o[2],r[3]=1/o[3],r}},6808:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return Math.sqrt(o*o+n*n+i*i+a*a)}},2573:function(e){e.exports=t;function t(r,o,n,i){var a=o[0],s=o[1],c=o[2],h=o[3];return r[0]=a+i*(n[0]-a),r[1]=s+i*(n[1]-s),r[2]=c+i*(n[2]-c),r[3]=h+i*(n[3]-h),r}},160:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.max(o[0],n[0]),r[1]=Math.max(o[1],n[1]),r[2]=Math.max(o[2],n[2]),r[3]=Math.max(o[3],n[3]),r}},2334:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.min(o[0],n[0]),r[1]=Math.min(o[1],n[1]),r[2]=Math.min(o[2],n[2]),r[3]=Math.min(o[3],n[3]),r}},3576:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n[0],r[1]=o[1]*n[1],r[2]=o[2]*n[2],r[3]=o[3]*n[3],r}},1498:function(e){e.exports=t;function t(r,o){return r[0]=-o[0],r[1]=-o[1],r[2]=-o[2],r[3]=-o[3],r}},5177:function(e){e.exports=t;function t(r,o){var n=o[0],i=o[1],a=o[2],s=o[3],c=n*n+i*i+a*a+s*s;return c>0&&(c=1/Math.sqrt(c),r[0]=n*c,r[1]=i*c,r[2]=a*c,r[3]=s*c),r}},9131:function(e,t,r){var o=r(5177),n=r(9288);e.exports=i;function i(a,s){return s=s||1,a[0]=Math.random(),a[1]=Math.random(),a[2]=Math.random(),a[3]=Math.random(),o(a,a),n(a,a,s),a}},9288:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r[3]=o[3]*n,r}},4844:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r[3]=o[3]+n[3]*i,r}},4578:function(e){e.exports=t;function t(r,o,n,i,a){return r[0]=o,r[1]=n,r[2]=i,r[3]=a,r}},7960:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return n*n+i*i+a*a+s*s}},483:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return o*o+n*n+i*i+a*a}},6860:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r[3]=o[3]-n[3],r}},5352:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=o[3];return r[0]=n[0]*i+n[4]*a+n[8]*s+n[12]*c,r[1]=n[1]*i+n[5]*a+n[9]*s+n[13]*c,r[2]=n[2]*i+n[6]*a+n[10]*s+n[14]*c,r[3]=n[3]*i+n[7]*a+n[11]*s+n[15]*c,r}},4041:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r[3]=o[3],r}},1848:function(e,t,r){var o=r(4905),n=r(6468);e.exports=i;function i(a){for(var s=Array.isArray(a)?a:o(a),c=0;c0)continue;ot=ue.slice(0,1).join(\"\")}return ee(ot),se+=ot.length,I=I.slice(ot.length),I.length}while(!0)}function tt(){return/[^a-fA-F0-9]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function ut(){return B===\".\"||/[eE]/.test(B)?(I.push(B),F=w,O=B,L+1):B===\"x\"&&I.length===1&&I[0]===\"0\"?(F=u,I.push(B),O=B,L+1):/[^\\d]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function Me(){return B===\"f\"&&(I.push(B),O=B,L+=1),/[eE]/.test(B)||(B===\"-\"||B===\"+\")&&/[eE]/.test(O)?(I.push(B),O=B,L+1):/[^\\d]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function pe(){if(/[^\\d\\w_]/.test(B)){var ue=I.join(\"\");return j[ue]?F=m:ae[ue]?F=E:F=M,ee(I.join(\"\")),F=c,L}return I.push(B),O=B,L+1}}},3508:function(e,t,r){var o=r(6852);o=o.slice().filter(function(n){return!/^(gl\\_|texture)/.test(n)}),e.exports=o.concat([\"gl_VertexID\",\"gl_InstanceID\",\"gl_Position\",\"gl_PointSize\",\"gl_FragCoord\",\"gl_FrontFacing\",\"gl_FragDepth\",\"gl_PointCoord\",\"gl_MaxVertexAttribs\",\"gl_MaxVertexUniformVectors\",\"gl_MaxVertexOutputVectors\",\"gl_MaxFragmentInputVectors\",\"gl_MaxVertexTextureImageUnits\",\"gl_MaxCombinedTextureImageUnits\",\"gl_MaxTextureImageUnits\",\"gl_MaxFragmentUniformVectors\",\"gl_MaxDrawBuffers\",\"gl_MinProgramTexelOffset\",\"gl_MaxProgramTexelOffset\",\"gl_DepthRangeParameters\",\"gl_DepthRange\",\"trunc\",\"round\",\"roundEven\",\"isnan\",\"isinf\",\"floatBitsToInt\",\"floatBitsToUint\",\"intBitsToFloat\",\"uintBitsToFloat\",\"packSnorm2x16\",\"unpackSnorm2x16\",\"packUnorm2x16\",\"unpackUnorm2x16\",\"packHalf2x16\",\"unpackHalf2x16\",\"outerProduct\",\"transpose\",\"determinant\",\"inverse\",\"texture\",\"textureSize\",\"textureProj\",\"textureLod\",\"textureOffset\",\"texelFetch\",\"texelFetchOffset\",\"textureProjOffset\",\"textureLodOffset\",\"textureProjLod\",\"textureProjLodOffset\",\"textureGrad\",\"textureGradOffset\",\"textureProjGrad\",\"textureProjGradOffset\"])},6852:function(e){e.exports=[\"abs\",\"acos\",\"all\",\"any\",\"asin\",\"atan\",\"ceil\",\"clamp\",\"cos\",\"cross\",\"dFdx\",\"dFdy\",\"degrees\",\"distance\",\"dot\",\"equal\",\"exp\",\"exp2\",\"faceforward\",\"floor\",\"fract\",\"gl_BackColor\",\"gl_BackLightModelProduct\",\"gl_BackLightProduct\",\"gl_BackMaterial\",\"gl_BackSecondaryColor\",\"gl_ClipPlane\",\"gl_ClipVertex\",\"gl_Color\",\"gl_DepthRange\",\"gl_DepthRangeParameters\",\"gl_EyePlaneQ\",\"gl_EyePlaneR\",\"gl_EyePlaneS\",\"gl_EyePlaneT\",\"gl_Fog\",\"gl_FogCoord\",\"gl_FogFragCoord\",\"gl_FogParameters\",\"gl_FragColor\",\"gl_FragCoord\",\"gl_FragData\",\"gl_FragDepth\",\"gl_FragDepthEXT\",\"gl_FrontColor\",\"gl_FrontFacing\",\"gl_FrontLightModelProduct\",\"gl_FrontLightProduct\",\"gl_FrontMaterial\",\"gl_FrontSecondaryColor\",\"gl_LightModel\",\"gl_LightModelParameters\",\"gl_LightModelProducts\",\"gl_LightProducts\",\"gl_LightSource\",\"gl_LightSourceParameters\",\"gl_MaterialParameters\",\"gl_MaxClipPlanes\",\"gl_MaxCombinedTextureImageUnits\",\"gl_MaxDrawBuffers\",\"gl_MaxFragmentUniformComponents\",\"gl_MaxLights\",\"gl_MaxTextureCoords\",\"gl_MaxTextureImageUnits\",\"gl_MaxTextureUnits\",\"gl_MaxVaryingFloats\",\"gl_MaxVertexAttribs\",\"gl_MaxVertexTextureImageUnits\",\"gl_MaxVertexUniformComponents\",\"gl_ModelViewMatrix\",\"gl_ModelViewMatrixInverse\",\"gl_ModelViewMatrixInverseTranspose\",\"gl_ModelViewMatrixTranspose\",\"gl_ModelViewProjectionMatrix\",\"gl_ModelViewProjectionMatrixInverse\",\"gl_ModelViewProjectionMatrixInverseTranspose\",\"gl_ModelViewProjectionMatrixTranspose\",\"gl_MultiTexCoord0\",\"gl_MultiTexCoord1\",\"gl_MultiTexCoord2\",\"gl_MultiTexCoord3\",\"gl_MultiTexCoord4\",\"gl_MultiTexCoord5\",\"gl_MultiTexCoord6\",\"gl_MultiTexCoord7\",\"gl_Normal\",\"gl_NormalMatrix\",\"gl_NormalScale\",\"gl_ObjectPlaneQ\",\"gl_ObjectPlaneR\",\"gl_ObjectPlaneS\",\"gl_ObjectPlaneT\",\"gl_Point\",\"gl_PointCoord\",\"gl_PointParameters\",\"gl_PointSize\",\"gl_Position\",\"gl_ProjectionMatrix\",\"gl_ProjectionMatrixInverse\",\"gl_ProjectionMatrixInverseTranspose\",\"gl_ProjectionMatrixTranspose\",\"gl_SecondaryColor\",\"gl_TexCoord\",\"gl_TextureEnvColor\",\"gl_TextureMatrix\",\"gl_TextureMatrixInverse\",\"gl_TextureMatrixInverseTranspose\",\"gl_TextureMatrixTranspose\",\"gl_Vertex\",\"greaterThan\",\"greaterThanEqual\",\"inversesqrt\",\"length\",\"lessThan\",\"lessThanEqual\",\"log\",\"log2\",\"matrixCompMult\",\"max\",\"min\",\"mix\",\"mod\",\"normalize\",\"not\",\"notEqual\",\"pow\",\"radians\",\"reflect\",\"refract\",\"sign\",\"sin\",\"smoothstep\",\"sqrt\",\"step\",\"tan\",\"texture2D\",\"texture2DLod\",\"texture2DProj\",\"texture2DProjLod\",\"textureCube\",\"textureCubeLod\",\"texture2DLodEXT\",\"texture2DProjLodEXT\",\"textureCubeLodEXT\",\"texture2DGradEXT\",\"texture2DProjGradEXT\",\"textureCubeGradEXT\"]},7932:function(e,t,r){var o=r(620);e.exports=o.slice().concat([\"layout\",\"centroid\",\"smooth\",\"case\",\"mat2x2\",\"mat2x3\",\"mat2x4\",\"mat3x2\",\"mat3x3\",\"mat3x4\",\"mat4x2\",\"mat4x3\",\"mat4x4\",\"uvec2\",\"uvec3\",\"uvec4\",\"samplerCubeShadow\",\"sampler2DArray\",\"sampler2DArrayShadow\",\"isampler2D\",\"isampler3D\",\"isamplerCube\",\"isampler2DArray\",\"usampler2D\",\"usampler3D\",\"usamplerCube\",\"usampler2DArray\",\"coherent\",\"restrict\",\"readonly\",\"writeonly\",\"resource\",\"atomic_uint\",\"noperspective\",\"patch\",\"sample\",\"subroutine\",\"common\",\"partition\",\"active\",\"filter\",\"image1D\",\"image2D\",\"image3D\",\"imageCube\",\"iimage1D\",\"iimage2D\",\"iimage3D\",\"iimageCube\",\"uimage1D\",\"uimage2D\",\"uimage3D\",\"uimageCube\",\"image1DArray\",\"image2DArray\",\"iimage1DArray\",\"iimage2DArray\",\"uimage1DArray\",\"uimage2DArray\",\"image1DShadow\",\"image2DShadow\",\"image1DArrayShadow\",\"image2DArrayShadow\",\"imageBuffer\",\"iimageBuffer\",\"uimageBuffer\",\"sampler1DArray\",\"sampler1DArrayShadow\",\"isampler1D\",\"isampler1DArray\",\"usampler1D\",\"usampler1DArray\",\"isampler2DRect\",\"usampler2DRect\",\"samplerBuffer\",\"isamplerBuffer\",\"usamplerBuffer\",\"sampler2DMS\",\"isampler2DMS\",\"usampler2DMS\",\"sampler2DMSArray\",\"isampler2DMSArray\",\"usampler2DMSArray\"])},620:function(e){e.exports=[\"precision\",\"highp\",\"mediump\",\"lowp\",\"attribute\",\"const\",\"uniform\",\"varying\",\"break\",\"continue\",\"do\",\"for\",\"while\",\"if\",\"else\",\"in\",\"out\",\"inout\",\"float\",\"int\",\"uint\",\"void\",\"bool\",\"true\",\"false\",\"discard\",\"return\",\"mat2\",\"mat3\",\"mat4\",\"vec2\",\"vec3\",\"vec4\",\"ivec2\",\"ivec3\",\"ivec4\",\"bvec2\",\"bvec3\",\"bvec4\",\"sampler1D\",\"sampler2D\",\"sampler3D\",\"samplerCube\",\"sampler1DShadow\",\"sampler2DShadow\",\"struct\",\"asm\",\"class\",\"union\",\"enum\",\"typedef\",\"template\",\"this\",\"packed\",\"goto\",\"switch\",\"default\",\"inline\",\"noinline\",\"volatile\",\"public\",\"static\",\"extern\",\"external\",\"interface\",\"long\",\"short\",\"double\",\"half\",\"fixed\",\"unsigned\",\"input\",\"output\",\"hvec2\",\"hvec3\",\"hvec4\",\"dvec2\",\"dvec3\",\"dvec4\",\"fvec2\",\"fvec3\",\"fvec4\",\"sampler2DRect\",\"sampler3DRect\",\"sampler2DRectShadow\",\"sizeof\",\"cast\",\"namespace\",\"using\"]},7827:function(e){e.exports=[\"<<=\",\">>=\",\"++\",\"--\",\"<<\",\">>\",\"<=\",\">=\",\"==\",\"!=\",\"&&\",\"||\",\"+=\",\"-=\",\"*=\",\"/=\",\"%=\",\"&=\",\"^^\",\"^=\",\"|=\",\"(\",\")\",\"[\",\"]\",\".\",\"!\",\"~\",\"*\",\"/\",\"%\",\"+\",\"-\",\"<\",\">\",\"&\",\"^\",\"|\",\"?\",\":\",\"=\",\",\",\";\",\"{\",\"}\"]},4905:function(e,t,r){var o=r(5874);e.exports=n;function n(i,a){var s=o(a),c=[];return c=c.concat(s(i)),c=c.concat(s(null)),c}},3236:function(e){e.exports=function(t){typeof t==\"string\"&&(t=[t]);for(var r=[].slice.call(arguments,1),o=[],n=0;n>1,T=-7,l=n?a-1:0,_=n?-1:1,w=r[o+l];for(l+=_,s=w&(1<<-T)-1,w>>=-T,T+=h;T>0;s=s*256+r[o+l],l+=_,T-=8);for(c=s&(1<<-T)-1,s>>=-T,T+=i;T>0;c=c*256+r[o+l],l+=_,T-=8);if(s===0)s=1-d;else{if(s===p)return c?NaN:(w?-1:1)*(1/0);c=c+Math.pow(2,i),s=s-d}return(w?-1:1)*c*Math.pow(2,s-i)},t.write=function(r,o,n,i,a,s){var c,h,p,d=s*8-a-1,T=(1<>1,_=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:s-1,M=i?1:-1,E=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(h=isNaN(o)?1:0,c=T):(c=Math.floor(Math.log(o)/Math.LN2),o*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+l>=1?o+=_/p:o+=_*Math.pow(2,1-l),o*p>=2&&(c++,p/=2),c+l>=T?(h=0,c=T):c+l>=1?(h=(o*p-1)*Math.pow(2,a),c=c+l):(h=o*Math.pow(2,l-1)*Math.pow(2,a),c=0));a>=8;r[n+w]=h&255,w+=M,h/=256,a-=8);for(c=c<0;r[n+w]=c&255,w+=M,c/=256,d-=8);r[n+w-M]|=E*128}},8954:function(e,t,r){\"use strict\";e.exports=l;var o=r(3250),n=r(6803).Fw;function i(_,w,M){this.vertices=_,this.adjacent=w,this.boundary=M,this.lastVisited=-1}i.prototype.flip=function(){var _=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=_;var w=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=w};function a(_,w,M){this.vertices=_,this.cell=w,this.index=M}function s(_,w){return n(_.vertices,w.vertices)}function c(_){return function(){var w=this.tuple;return _.apply(this,w)}}function h(_){var w=o[_+1];return w||(w=o),c(w)}var p=[];function d(_,w,M){this.dimension=_,this.vertices=w,this.simplices=M,this.interior=M.filter(function(b){return!b.boundary}),this.tuple=new Array(_+1);for(var E=0;E<=_;++E)this.tuple[E]=this.vertices[E];var m=p[_];m||(m=p[_]=h(_)),this.orient=m}var T=d.prototype;T.handleBoundaryDegeneracy=function(_,w){var M=this.dimension,E=this.vertices.length-1,m=this.tuple,b=this.vertices,v=[_];for(_.lastVisited=-E;v.length>0;){_=v.pop();for(var u=_.adjacent,y=0;y<=M;++y){var f=u[y];if(!(!f.boundary||f.lastVisited<=-E)){for(var P=f.vertices,L=0;L<=M;++L){var z=P[L];z<0?m[L]=w:m[L]=b[z]}var F=this.orient();if(F>0)return f;f.lastVisited=-E,F===0&&v.push(f)}}}return null},T.walk=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=w?this.interior.length*Math.random()|0:this.interior.length-1,u=this.interior[v];e:for(;!u.boundary;){for(var y=u.vertices,f=u.adjacent,P=0;P<=E;++P)b[P]=m[y[P]];u.lastVisited=M;for(var P=0;P<=E;++P){var L=f[P];if(!(L.lastVisited>=M)){var z=b[P];b[P]=_;var F=this.orient();if(b[P]=z,F<0){u=L;continue e}else L.boundary?L.lastVisited=-M:L.lastVisited=M}}return}return u},T.addPeaks=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=this.interior,u=this.simplices,y=[w];w.lastVisited=M,w.vertices[w.vertices.indexOf(-1)]=M,w.boundary=!1,v.push(w);for(var f=[];y.length>0;){var w=y.pop(),P=w.vertices,L=w.adjacent,z=P.indexOf(M);if(!(z<0)){for(var F=0;F<=E;++F)if(F!==z){var B=L[F];if(!(!B.boundary||B.lastVisited>=M)){var O=B.vertices;if(B.lastVisited!==-M){for(var I=0,N=0;N<=E;++N)O[N]<0?(I=N,b[N]=_):b[N]=m[O[N]];var U=this.orient();if(U>0){O[I]=M,B.boundary=!1,v.push(B),y.push(B),B.lastVisited=M;continue}else B.lastVisited=-M}var W=B.adjacent,Q=P.slice(),le=L.slice(),se=new i(Q,le,!0);u.push(se);var fe=W.indexOf(w);if(!(fe<0)){W[fe]=se,le[z]=B,Q[F]=-1,le[F]=w,L[F]=se,se.flip();for(var N=0;N<=E;++N){var G=Q[N];if(!(G<0||G===M)){for(var $=new Array(E-1),J=0,X=0;X<=E;++X){var re=Q[X];re<0||X===N||($[J++]=re)}f.push(new a($,se,N))}}}}}}}f.sort(s);for(var F=0;F+1=0?v[y++]=u[P]:f=P&1;if(f===(_&1)){var L=v[0];v[0]=v[1],v[1]=L}w.push(v)}}return w};function l(_,w){var M=_.length;if(M===0)throw new Error(\"Must have at least d+1 points\");var E=_[0].length;if(M<=E)throw new Error(\"Must input at least d+1 points\");var m=_.slice(0,E+1),b=o.apply(void 0,m);if(b===0)throw new Error(\"Input not in general position\");for(var v=new Array(E+1),u=0;u<=E;++u)v[u]=u;b<0&&(v[0]=1,v[1]=0);for(var y=new i(v,new Array(E+1),!1),f=y.adjacent,P=new Array(E+2),u=0;u<=E;++u){for(var L=v.slice(),z=0;z<=E;++z)z===u&&(L[z]=-1);var F=L[0];L[0]=L[1],L[1]=F;var B=new i(L,new Array(E+1),!0);f[u]=B,P[u]=B}P[E+1]=y;for(var u=0;u<=E;++u)for(var L=f[u].vertices,O=f[u].adjacent,z=0;z<=E;++z){var I=L[z];if(I<0){O[z]=y;continue}for(var N=0;N<=E;++N)f[N].vertices.indexOf(I)<0&&(O[z]=f[N])}for(var U=new d(E,m,P),W=!!w,u=E+1;u3*(P+1)?d(this,f):this.left.insert(f):this.left=b([f]);else if(f[0]>this.mid)this.right?4*(this.right.count+1)>3*(P+1)?d(this,f):this.right.insert(f):this.right=b([f]);else{var L=o.ge(this.leftPoints,f,E),z=o.ge(this.rightPoints,f,m);this.leftPoints.splice(L,0,f),this.rightPoints.splice(z,0,f)}},c.remove=function(f){var P=this.count-this.leftPoints;if(f[1]3*(P-1))return T(this,f);var z=this.left.remove(f);return z===a?(this.left=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else if(f[0]>this.mid){if(!this.right)return n;var F=this.left?this.left.count:0;if(4*F>3*(P-1))return T(this,f);var z=this.right.remove(f);return z===a?(this.right=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else{if(this.count===1)return this.leftPoints[0]===f?a:n;if(this.leftPoints.length===1&&this.leftPoints[0]===f){if(this.left&&this.right){for(var B=this,O=this.left;O.right;)B=O,O=O.right;if(B===this)O.right=this.right;else{var I=this.left,z=this.right;B.count-=O.count,B.right=O.left,O.left=I,O.right=z}h(this,O),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return i}for(var I=o.ge(this.leftPoints,f,E);I=0&&f[z][1]>=P;--z){var F=L(f[z]);if(F)return F}}function w(f,P){for(var L=0;Lthis.mid){if(this.right){var L=this.right.queryPoint(f,P);if(L)return L}return _(this.rightPoints,f,P)}else return w(this.leftPoints,P)},c.queryInterval=function(f,P,L){if(fthis.mid&&this.right){var z=this.right.queryInterval(f,P,L);if(z)return z}return Pthis.mid?_(this.rightPoints,f,L):w(this.leftPoints,L)};function M(f,P){return f-P}function E(f,P){var L=f[0]-P[0];return L||f[1]-P[1]}function m(f,P){var L=f[1]-P[1];return L||f[0]-P[0]}function b(f){if(f.length===0)return null;for(var P=[],L=0;L>1],F=[],B=[],O=[],L=0;L13)&&o!==32&&o!==133&&o!==160&&o!==5760&&o!==6158&&(o<8192||o>8205)&&o!==8232&&o!==8233&&o!==8239&&o!==8287&&o!==8288&&o!==12288&&o!==65279)return!1;return!0}},395:function(e){function t(r,o,n){return r*(1-n)+o*n}e.exports=t},2652:function(e,t,r){var o=r(4335),n=r(6864),i=r(1903),a=r(9921),s=r(7608),c=r(5665),h={length:r(1387),normalize:r(3536),dot:r(244),cross:r(5911)},p=n(),d=n(),T=[0,0,0,0],l=[[0,0,0],[0,0,0],[0,0,0]],_=[0,0,0];e.exports=function(b,v,u,y,f,P){if(v||(v=[0,0,0]),u||(u=[0,0,0]),y||(y=[0,0,0]),f||(f=[0,0,0,1]),P||(P=[0,0,0,1]),!o(p,b)||(i(d,p),d[3]=0,d[7]=0,d[11]=0,d[15]=1,Math.abs(a(d)<1e-8)))return!1;var L=p[3],z=p[7],F=p[11],B=p[12],O=p[13],I=p[14],N=p[15];if(L!==0||z!==0||F!==0){T[0]=L,T[1]=z,T[2]=F,T[3]=N;var U=s(d,d);if(!U)return!1;c(d,d),w(f,T,d)}else f[0]=f[1]=f[2]=0,f[3]=1;if(v[0]=B,v[1]=O,v[2]=I,M(l,p),u[0]=h.length(l[0]),h.normalize(l[0],l[0]),y[0]=h.dot(l[0],l[1]),E(l[1],l[1],l[0],1,-y[0]),u[1]=h.length(l[1]),h.normalize(l[1],l[1]),y[0]/=u[1],y[1]=h.dot(l[0],l[2]),E(l[2],l[2],l[0],1,-y[1]),y[2]=h.dot(l[1],l[2]),E(l[2],l[2],l[1],1,-y[2]),u[2]=h.length(l[2]),h.normalize(l[2],l[2]),y[1]/=u[2],y[2]/=u[2],h.cross(_,l[1],l[2]),h.dot(l[0],_)<0)for(var W=0;W<3;W++)u[W]*=-1,l[W][0]*=-1,l[W][1]*=-1,l[W][2]*=-1;return P[0]=.5*Math.sqrt(Math.max(1+l[0][0]-l[1][1]-l[2][2],0)),P[1]=.5*Math.sqrt(Math.max(1-l[0][0]+l[1][1]-l[2][2],0)),P[2]=.5*Math.sqrt(Math.max(1-l[0][0]-l[1][1]+l[2][2],0)),P[3]=.5*Math.sqrt(Math.max(1+l[0][0]+l[1][1]+l[2][2],0)),l[2][1]>l[1][2]&&(P[0]=-P[0]),l[0][2]>l[2][0]&&(P[1]=-P[1]),l[1][0]>l[0][1]&&(P[2]=-P[2]),!0};function w(m,b,v){var u=b[0],y=b[1],f=b[2],P=b[3];return m[0]=v[0]*u+v[4]*y+v[8]*f+v[12]*P,m[1]=v[1]*u+v[5]*y+v[9]*f+v[13]*P,m[2]=v[2]*u+v[6]*y+v[10]*f+v[14]*P,m[3]=v[3]*u+v[7]*y+v[11]*f+v[15]*P,m}function M(m,b){m[0][0]=b[0],m[0][1]=b[1],m[0][2]=b[2],m[1][0]=b[4],m[1][1]=b[5],m[1][2]=b[6],m[2][0]=b[8],m[2][1]=b[9],m[2][2]=b[10]}function E(m,b,v,u,y){m[0]=b[0]*u+v[0]*y,m[1]=b[1]*u+v[1]*y,m[2]=b[2]*u+v[2]*y}},4335:function(e){e.exports=function(r,o){var n=o[15];if(n===0)return!1;for(var i=1/n,a=0;a<16;a++)r[a]=o[a]*i;return!0}},7442:function(e,t,r){var o=r(6658),n=r(7182),i=r(2652),a=r(9921),s=r(8648),c=T(),h=T(),p=T();e.exports=d;function d(w,M,E,m){if(a(M)===0||a(E)===0)return!1;var b=i(M,c.translate,c.scale,c.skew,c.perspective,c.quaternion),v=i(E,h.translate,h.scale,h.skew,h.perspective,h.quaternion);return!b||!v?!1:(o(p.translate,c.translate,h.translate,m),o(p.skew,c.skew,h.skew,m),o(p.scale,c.scale,h.scale,m),o(p.perspective,c.perspective,h.perspective,m),s(p.quaternion,c.quaternion,h.quaternion,m),n(w,p.translate,p.scale,p.skew,p.perspective,p.quaternion),!0)}function T(){return{translate:l(),scale:l(1),skew:l(),perspective:_(),quaternion:_()}}function l(w){return[w||0,w||0,w||0]}function _(){return[0,0,0,1]}},7182:function(e,t,r){var o={identity:r(7894),translate:r(7656),multiply:r(6760),create:r(6864),scale:r(2504),fromRotationTranslation:r(6743)},n=o.create(),i=o.create();e.exports=function(s,c,h,p,d,T){return o.identity(s),o.fromRotationTranslation(s,T,c),s[3]=d[0],s[7]=d[1],s[11]=d[2],s[15]=d[3],o.identity(i),p[2]!==0&&(i[9]=p[2],o.multiply(s,s,i)),p[1]!==0&&(i[9]=0,i[8]=p[1],o.multiply(s,s,i)),p[0]!==0&&(i[8]=0,i[4]=p[0],o.multiply(s,s,i)),o.scale(s,s,h),s}},1811:function(e,t,r){\"use strict\";var o=r(2478),n=r(7442),i=r(7608),a=r(5567),s=r(2408),c=r(7089),h=r(6582),p=r(7656),d=r(2504),T=r(3536),l=[0,0,0];e.exports=E;function _(m){this._components=m.slice(),this._time=[0],this.prevMatrix=m.slice(),this.nextMatrix=m.slice(),this.computedMatrix=m.slice(),this.computedInverse=m.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var w=_.prototype;w.recalcMatrix=function(m){var b=this._time,v=o.le(b,m),u=this.computedMatrix;if(!(v<0)){var y=this._components;if(v===b.length-1)for(var f=16*v,P=0;P<16;++P)u[P]=y[f++];else{for(var L=b[v+1]-b[v],f=16*v,z=this.prevMatrix,F=!0,P=0;P<16;++P)z[P]=y[f++];for(var B=this.nextMatrix,P=0;P<16;++P)B[P]=y[f++],F=F&&z[P]===B[P];if(L<1e-6||F)for(var P=0;P<16;++P)u[P]=z[P];else n(u,z,B,(m-b[v])/L)}var O=this.computedUp;O[0]=u[1],O[1]=u[5],O[2]=u[9],T(O,O);var I=this.computedInverse;i(I,u);var N=this.computedEye,U=I[15];N[0]=I[12]/U,N[1]=I[13]/U,N[2]=I[14]/U;for(var W=this.computedCenter,Q=Math.exp(this.computedRadius[0]),P=0;P<3;++P)W[P]=N[P]-u[2+4*P]*Q}},w.idle=function(m){if(!(m1&&o(i[h[l-2]],i[h[l-1]],T)<=0;)l-=1,h.pop();for(h.push(d),l=p.length;l>1&&o(i[p[l-2]],i[p[l-1]],T)>=0;)l-=1,p.pop();p.push(d)}for(var _=new Array(p.length+h.length-2),w=0,s=0,M=h.length;s0;--E)_[w++]=p[E];return _}},351:function(e,t,r){\"use strict\";e.exports=n;var o=r(4687);function n(i,a){a||(a=i,i=window);var s=0,c=0,h=0,p={shift:!1,alt:!1,control:!1,meta:!1},d=!1;function T(f){var P=!1;return\"altKey\"in f&&(P=P||f.altKey!==p.alt,p.alt=!!f.altKey),\"shiftKey\"in f&&(P=P||f.shiftKey!==p.shift,p.shift=!!f.shiftKey),\"ctrlKey\"in f&&(P=P||f.ctrlKey!==p.control,p.control=!!f.ctrlKey),\"metaKey\"in f&&(P=P||f.metaKey!==p.meta,p.meta=!!f.metaKey),P}function l(f,P){var L=o.x(P),z=o.y(P);\"buttons\"in P&&(f=P.buttons|0),(f!==s||L!==c||z!==h||T(P))&&(s=f|0,c=L||0,h=z||0,a&&a(s,c,h,p))}function _(f){l(0,f)}function w(){(s||c||h||p.shift||p.alt||p.meta||p.control)&&(c=h=0,s=0,p.shift=p.alt=p.control=p.meta=!1,a&&a(0,0,0,p))}function M(f){T(f)&&a&&a(s,c,h,p)}function E(f){o.buttons(f)===0?l(0,f):l(s,f)}function m(f){l(s|o.buttons(f),f)}function b(f){l(s&~o.buttons(f),f)}function v(){d||(d=!0,i.addEventListener(\"mousemove\",E),i.addEventListener(\"mousedown\",m),i.addEventListener(\"mouseup\",b),i.addEventListener(\"mouseleave\",_),i.addEventListener(\"mouseenter\",_),i.addEventListener(\"mouseout\",_),i.addEventListener(\"mouseover\",_),i.addEventListener(\"blur\",w),i.addEventListener(\"keyup\",M),i.addEventListener(\"keydown\",M),i.addEventListener(\"keypress\",M),i!==window&&(window.addEventListener(\"blur\",w),window.addEventListener(\"keyup\",M),window.addEventListener(\"keydown\",M),window.addEventListener(\"keypress\",M)))}function u(){d&&(d=!1,i.removeEventListener(\"mousemove\",E),i.removeEventListener(\"mousedown\",m),i.removeEventListener(\"mouseup\",b),i.removeEventListener(\"mouseleave\",_),i.removeEventListener(\"mouseenter\",_),i.removeEventListener(\"mouseout\",_),i.removeEventListener(\"mouseover\",_),i.removeEventListener(\"blur\",w),i.removeEventListener(\"keyup\",M),i.removeEventListener(\"keydown\",M),i.removeEventListener(\"keypress\",M),i!==window&&(window.removeEventListener(\"blur\",w),window.removeEventListener(\"keyup\",M),window.removeEventListener(\"keydown\",M),window.removeEventListener(\"keypress\",M)))}v();var y={element:i};return Object.defineProperties(y,{enabled:{get:function(){return d},set:function(f){f?v():u()},enumerable:!0},buttons:{get:function(){return s},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return p},enumerable:!0}}),y}},24:function(e){var t={left:0,top:0};e.exports=r;function r(n,i,a){i=i||n.currentTarget||n.srcElement,Array.isArray(a)||(a=[0,0]);var s=n.clientX||0,c=n.clientY||0,h=o(i);return a[0]=s-h.left,a[1]=c-h.top,a}function o(n){return n===window||n===document||n===document.body?t:n.getBoundingClientRect()}},4687:function(e,t){\"use strict\";function r(a){if(typeof a==\"object\"){if(\"buttons\"in a)return a.buttons;if(\"which\"in a){var s=a.which;if(s===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1<0){if(le=1,G[J++]=p(v[P],w,M,E),P+=U,m>0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,Q=2;Q0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,O,N,ce,Ue,w,M,E)),J+=1,P+=U,Q=2;Q0){if(Q=1,G[J++]=p(v[P],w,M,E),P+=U,b>0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,le=2;le0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,N,F,Ue,ce,w,M,E)),J+=1,P+=U,le=2;le 0\"),typeof s.vertex!=\"function\"&&c(\"Must specify vertex creation function\"),typeof s.cell!=\"function\"&&c(\"Must specify cell creation function\"),typeof s.phase!=\"function\"&&c(\"Must specify phase function\");for(var T=s.getters||[],l=new Array(p),_=0;_=0?l[_]=!0:l[_]=!1;return i(s.vertex,s.cell,s.phase,d,h,l)}},6199:function(e,t,r){\"use strict\";var o=r(1338),n={zero:function(E,m,b,v){var u=E[0],y=b[0];v|=0;var f=0,P=y;for(f=0;f2&&f[1]>2&&v(y.pick(-1,-1).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,0).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,1).lo(1,1).hi(f[0]-2,f[1]-2)),f[1]>2&&(b(y.pick(0,-1).lo(1).hi(f[1]-2),u.pick(0,-1,1).lo(1).hi(f[1]-2)),m(u.pick(0,-1,0).lo(1).hi(f[1]-2))),f[1]>2&&(b(y.pick(f[0]-1,-1).lo(1).hi(f[1]-2),u.pick(f[0]-1,-1,1).lo(1).hi(f[1]-2)),m(u.pick(f[0]-1,-1,0).lo(1).hi(f[1]-2))),f[0]>2&&(b(y.pick(-1,0).lo(1).hi(f[0]-2),u.pick(-1,0,0).lo(1).hi(f[0]-2)),m(u.pick(-1,0,1).lo(1).hi(f[0]-2))),f[0]>2&&(b(y.pick(-1,f[1]-1).lo(1).hi(f[0]-2),u.pick(-1,f[1]-1,0).lo(1).hi(f[0]-2)),m(u.pick(-1,f[1]-1,1).lo(1).hi(f[0]-2))),u.set(0,0,0,0),u.set(0,0,1,0),u.set(f[0]-1,0,0,0),u.set(f[0]-1,0,1,0),u.set(0,f[1]-1,0,0),u.set(0,f[1]-1,1,0),u.set(f[0]-1,f[1]-1,0,0),u.set(f[0]-1,f[1]-1,1,0),u}}function M(E){var m=E.join(),f=p[m];if(f)return f;for(var b=E.length,v=[T,l],u=1;u<=b;++u)v.push(_(u));var y=w,f=y.apply(void 0,v);return p[m]=f,f}e.exports=function(m,b,v){if(Array.isArray(v)||(typeof v==\"string\"?v=o(b.dimension,v):v=o(b.dimension,\"clamp\")),b.size===0)return m;if(b.dimension===0)return m.set(0),m;var u=M(v);return u(m,b)}},4317:function(e){\"use strict\";function t(a,s){var c=Math.floor(s),h=s-c,p=0<=c&&c0;){O<64?(m=O,O=0):(m=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(b=I,I=0):(b=64,I-=64),l=F+O*u+I*y,M=B+O*P+I*L;var N=0,U=0,W=0,Q=f,le=u-v*f,se=y-m*u,fe=z,G=P-v*z,$=L-m*P;for(W=0;W0;){L<64?(m=L,L=0):(m=64,L-=64);for(var z=p[0]|0;z>0;){z<64?(E=z,z=0):(E=64,z-=64),l=f+L*v+z*b,M=P+L*y+z*u;var F=0,B=0,O=v,I=b-m*v,N=y,U=u-m*y;for(B=0;B0;){B<64?(b=B,B=0):(b=64,B-=64);for(var O=p[0]|0;O>0;){O<64?(E=O,O=0):(E=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(m=I,I=0):(m=64,I-=64),l=z+B*y+O*v+I*u,M=F+B*L+O*f+I*P;var N=0,U=0,W=0,Q=y,le=v-b*y,se=u-E*v,fe=L,G=f-b*L,$=P-E*f;for(W=0;W_;){N=0,U=F-m;t:for(O=0;OQ)break t;U+=f,N+=P}for(N=F,U=F-m,O=0;O>1,I=O-z,N=O+z,U=F,W=I,Q=O,le=N,se=B,fe=w+1,G=M-1,$=!0,J,X,re,ae,j,ee,ie,ce,xe,Te=0,Ue=0,Ie=0,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt,qt,fr=y,ar=T(fr),Rr=T(fr);it=b*U,at=b*W,qt=m;e:for(Ye=0;Ye0){X=U,U=W,W=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=U,U=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*le,qt=m;e:for(Ye=0;Ye0){X=U,U=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*Q,at=b*le,qt=m;e:for(Ye=0;Ye0){X=Q,Q=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*se,qt=m;e:for(Ye=0;Ye0){X=W,W=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}for(it=b*U,at=b*W,tt=b*Q,ut=b*le,Me=b*se,pe=b*F,ue=b*O,Oe=b*B,Bt=0,qt=m,Ye=0;Ye0)G--;else if(Ie<0){for(it=b*ee,at=b*fe,tt=b*G,qt=m,Ye=0;Ye0)for(;;){ie=m+G*b,Bt=0;e:for(Ye=0;Ye0){if(--GB){e:for(;;){for(ie=m+fe*b,Bt=0,qt=m,Ye=0;Ye1&&_?M(l,_[0],_[1]):M(l)}var h={\"uint32,1,0\":function(d,T){return function(l){var _=l.data,w=l.offset|0,M=l.shape,E=l.stride,m=E[0]|0,b=M[0]|0,v=E[1]|0,u=M[1]|0,y=v,f=v,P=1;b<=32?d(0,b-1,_,w,m,v,b,u,y,f,P):T(0,b-1,_,w,m,v,b,u,y,f,P)}}};function p(d,T){var l=[T,d].join(\",\"),_=h[l],w=a(d,T),M=c(d,T,w);return _(w,M)}e.exports=p},446:function(e,t,r){\"use strict\";var o=r(7640),n={};function i(a){var s=a.order,c=a.dtype,h=[s,c],p=h.join(\":\"),d=n[p];return d||(n[p]=d=o(s,c)),d(a),a}e.exports=i},9618:function(e,t,r){var o=r(7163),n=typeof Float64Array<\"u\";function i(T,l){return T[0]-l[0]}function a(){var T=this.stride,l=new Array(T.length),_;for(_=0;_=0&&(v=m|0,b+=y*v,u-=v),new w(this.data,u,y,b)},M.step=function(m){var b=this.shape[0],v=this.stride[0],u=this.offset,y=0,f=Math.ceil;return typeof m==\"number\"&&(y=m|0,y<0?(u+=v*(b-1),b=f(-b/y)):b=f(b/y),v*=y),new w(this.data,b,v,u)},M.transpose=function(m){m=m===void 0?0:m|0;var b=this.shape,v=this.stride;return new w(this.data,b[m],v[m],this.offset)},M.pick=function(m){var b=[],v=[],u=this.offset;typeof m==\"number\"&&m>=0?u=u+this.stride[0]*m|0:(b.push(this.shape[0]),v.push(this.stride[0]));var y=l[b.length+1];return y(this.data,b,v,u)},function(m,b,v,u){return new w(m,b[0],v[0],u)}},2:function(T,l,_){function w(E,m,b,v,u,y){this.data=E,this.shape=[m,b],this.stride=[v,u],this.offset=y|0}var M=w.prototype;return M.dtype=T,M.dimension=2,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(M,\"order\",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),M.set=function(m,b,v){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b,v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]=v},M.get=function(m,b){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]},M.index=function(m,b){return this.offset+this.stride[0]*m+this.stride[1]*b},M.hi=function(m,b){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,this.stride[0],this.stride[1],this.offset)},M.lo=function(m,b){var v=this.offset,u=0,y=this.shape[0],f=this.shape[1],P=this.stride[0],L=this.stride[1];return typeof m==\"number\"&&m>=0&&(u=m|0,v+=P*u,y-=u),typeof b==\"number\"&&b>=0&&(u=b|0,v+=L*u,f-=u),new w(this.data,y,f,P,L,v)},M.step=function(m,b){var v=this.shape[0],u=this.shape[1],y=this.stride[0],f=this.stride[1],P=this.offset,L=0,z=Math.ceil;return typeof m==\"number\"&&(L=m|0,L<0?(P+=y*(v-1),v=z(-v/L)):v=z(v/L),y*=L),typeof b==\"number\"&&(L=b|0,L<0?(P+=f*(u-1),u=z(-u/L)):u=z(u/L),f*=L),new w(this.data,v,u,y,f,P)},M.transpose=function(m,b){m=m===void 0?0:m|0,b=b===void 0?1:b|0;var v=this.shape,u=this.stride;return new w(this.data,v[m],v[b],u[m],u[b],this.offset)},M.pick=function(m,b){var v=[],u=[],y=this.offset;typeof m==\"number\"&&m>=0?y=y+this.stride[0]*m|0:(v.push(this.shape[0]),u.push(this.stride[0])),typeof b==\"number\"&&b>=0?y=y+this.stride[1]*b|0:(v.push(this.shape[1]),u.push(this.stride[1]));var f=l[v.length+1];return f(this.data,v,u,y)},function(m,b,v,u){return new w(m,b[0],b[1],v[0],v[1],u)}},3:function(T,l,_){function w(E,m,b,v,u,y,f,P){this.data=E,this.shape=[m,b,v],this.stride=[u,y,f],this.offset=P|0}var M=w.prototype;return M.dtype=T,M.dimension=3,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(M,\"order\",{get:function(){var m=Math.abs(this.stride[0]),b=Math.abs(this.stride[1]),v=Math.abs(this.stride[2]);return m>b?b>v?[2,1,0]:m>v?[1,2,0]:[1,0,2]:m>v?[2,0,1]:v>b?[0,1,2]:[0,2,1]}}),M.set=function(m,b,v,u){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v,u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]=u},M.get=function(m,b,v){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]},M.index=function(m,b,v){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v},M.hi=function(m,b,v){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,typeof v!=\"number\"||v<0?this.shape[2]:v|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},M.lo=function(m,b,v){var u=this.offset,y=0,f=this.shape[0],P=this.shape[1],L=this.shape[2],z=this.stride[0],F=this.stride[1],B=this.stride[2];return typeof m==\"number\"&&m>=0&&(y=m|0,u+=z*y,f-=y),typeof b==\"number\"&&b>=0&&(y=b|0,u+=F*y,P-=y),typeof v==\"number\"&&v>=0&&(y=v|0,u+=B*y,L-=y),new w(this.data,f,P,L,z,F,B,u)},M.step=function(m,b,v){var u=this.shape[0],y=this.shape[1],f=this.shape[2],P=this.stride[0],L=this.stride[1],z=this.stride[2],F=this.offset,B=0,O=Math.ceil;return typeof m==\"number\"&&(B=m|0,B<0?(F+=P*(u-1),u=O(-u/B)):u=O(u/B),P*=B),typeof b==\"number\"&&(B=b|0,B<0?(F+=L*(y-1),y=O(-y/B)):y=O(y/B),L*=B),typeof v==\"number\"&&(B=v|0,B<0?(F+=z*(f-1),f=O(-f/B)):f=O(f/B),z*=B),new w(this.data,u,y,f,P,L,z,F)},M.transpose=function(m,b,v){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0;var u=this.shape,y=this.stride;return new w(this.data,u[m],u[b],u[v],y[m],y[b],y[v],this.offset)},M.pick=function(m,b,v){var u=[],y=[],f=this.offset;typeof m==\"number\"&&m>=0?f=f+this.stride[0]*m|0:(u.push(this.shape[0]),y.push(this.stride[0])),typeof b==\"number\"&&b>=0?f=f+this.stride[1]*b|0:(u.push(this.shape[1]),y.push(this.stride[1])),typeof v==\"number\"&&v>=0?f=f+this.stride[2]*v|0:(u.push(this.shape[2]),y.push(this.stride[2]));var P=l[u.length+1];return P(this.data,u,y,f)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],v[0],v[1],v[2],u)}},4:function(T,l,_){function w(E,m,b,v,u,y,f,P,L,z){this.data=E,this.shape=[m,b,v,u],this.stride=[y,f,P,L],this.offset=z|0}var M=w.prototype;return M.dtype=T,M.dimension=4,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(M,\"order\",{get:_}),M.set=function(m,b,v,u,y){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u,y):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]=y},M.get=function(m,b,v,u){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]},M.index=function(m,b,v,u){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u},M.hi=function(m,b,v,u){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,typeof v!=\"number\"||v<0?this.shape[2]:v|0,typeof u!=\"number\"||u<0?this.shape[3]:u|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},M.lo=function(m,b,v,u){var y=this.offset,f=0,P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.stride[0],O=this.stride[1],I=this.stride[2],N=this.stride[3];return typeof m==\"number\"&&m>=0&&(f=m|0,y+=B*f,P-=f),typeof b==\"number\"&&b>=0&&(f=b|0,y+=O*f,L-=f),typeof v==\"number\"&&v>=0&&(f=v|0,y+=I*f,z-=f),typeof u==\"number\"&&u>=0&&(f=u|0,y+=N*f,F-=f),new w(this.data,P,L,z,F,B,O,I,N,y)},M.step=function(m,b,v,u){var y=this.shape[0],f=this.shape[1],P=this.shape[2],L=this.shape[3],z=this.stride[0],F=this.stride[1],B=this.stride[2],O=this.stride[3],I=this.offset,N=0,U=Math.ceil;return typeof m==\"number\"&&(N=m|0,N<0?(I+=z*(y-1),y=U(-y/N)):y=U(y/N),z*=N),typeof b==\"number\"&&(N=b|0,N<0?(I+=F*(f-1),f=U(-f/N)):f=U(f/N),F*=N),typeof v==\"number\"&&(N=v|0,N<0?(I+=B*(P-1),P=U(-P/N)):P=U(P/N),B*=N),typeof u==\"number\"&&(N=u|0,N<0?(I+=O*(L-1),L=U(-L/N)):L=U(L/N),O*=N),new w(this.data,y,f,P,L,z,F,B,O,I)},M.transpose=function(m,b,v,u){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0,u=u===void 0?3:u|0;var y=this.shape,f=this.stride;return new w(this.data,y[m],y[b],y[v],y[u],f[m],f[b],f[v],f[u],this.offset)},M.pick=function(m,b,v,u){var y=[],f=[],P=this.offset;typeof m==\"number\"&&m>=0?P=P+this.stride[0]*m|0:(y.push(this.shape[0]),f.push(this.stride[0])),typeof b==\"number\"&&b>=0?P=P+this.stride[1]*b|0:(y.push(this.shape[1]),f.push(this.stride[1])),typeof v==\"number\"&&v>=0?P=P+this.stride[2]*v|0:(y.push(this.shape[2]),f.push(this.stride[2])),typeof u==\"number\"&&u>=0?P=P+this.stride[3]*u|0:(y.push(this.shape[3]),f.push(this.stride[3]));var L=l[y.length+1];return L(this.data,y,f,P)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],b[3],v[0],v[1],v[2],v[3],u)}},5:function(l,_,w){function M(m,b,v,u,y,f,P,L,z,F,B,O){this.data=m,this.shape=[b,v,u,y,f],this.stride=[P,L,z,F,B],this.offset=O|0}var E=M.prototype;return E.dtype=l,E.dimension=5,Object.defineProperty(E,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,\"order\",{get:w}),E.set=function(b,v,u,y,f,P){return l===\"generic\"?this.data.set(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f,P):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]=P},E.get=function(b,v,u,y,f){return l===\"generic\"?this.data.get(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]},E.index=function(b,v,u,y,f){return this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f},E.hi=function(b,v,u,y,f){return new M(this.data,typeof b!=\"number\"||b<0?this.shape[0]:b|0,typeof v!=\"number\"||v<0?this.shape[1]:v|0,typeof u!=\"number\"||u<0?this.shape[2]:u|0,typeof y!=\"number\"||y<0?this.shape[3]:y|0,typeof f!=\"number\"||f<0?this.shape[4]:f|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(b,v,u,y,f){var P=this.offset,L=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],O=this.shape[3],I=this.shape[4],N=this.stride[0],U=this.stride[1],W=this.stride[2],Q=this.stride[3],le=this.stride[4];return typeof b==\"number\"&&b>=0&&(L=b|0,P+=N*L,z-=L),typeof v==\"number\"&&v>=0&&(L=v|0,P+=U*L,F-=L),typeof u==\"number\"&&u>=0&&(L=u|0,P+=W*L,B-=L),typeof y==\"number\"&&y>=0&&(L=y|0,P+=Q*L,O-=L),typeof f==\"number\"&&f>=0&&(L=f|0,P+=le*L,I-=L),new M(this.data,z,F,B,O,I,N,U,W,Q,le,P)},E.step=function(b,v,u,y,f){var P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],O=this.stride[0],I=this.stride[1],N=this.stride[2],U=this.stride[3],W=this.stride[4],Q=this.offset,le=0,se=Math.ceil;return typeof b==\"number\"&&(le=b|0,le<0?(Q+=O*(P-1),P=se(-P/le)):P=se(P/le),O*=le),typeof v==\"number\"&&(le=v|0,le<0?(Q+=I*(L-1),L=se(-L/le)):L=se(L/le),I*=le),typeof u==\"number\"&&(le=u|0,le<0?(Q+=N*(z-1),z=se(-z/le)):z=se(z/le),N*=le),typeof y==\"number\"&&(le=y|0,le<0?(Q+=U*(F-1),F=se(-F/le)):F=se(F/le),U*=le),typeof f==\"number\"&&(le=f|0,le<0?(Q+=W*(B-1),B=se(-B/le)):B=se(B/le),W*=le),new M(this.data,P,L,z,F,B,O,I,N,U,W,Q)},E.transpose=function(b,v,u,y,f){b=b===void 0?0:b|0,v=v===void 0?1:v|0,u=u===void 0?2:u|0,y=y===void 0?3:y|0,f=f===void 0?4:f|0;var P=this.shape,L=this.stride;return new M(this.data,P[b],P[v],P[u],P[y],P[f],L[b],L[v],L[u],L[y],L[f],this.offset)},E.pick=function(b,v,u,y,f){var P=[],L=[],z=this.offset;typeof b==\"number\"&&b>=0?z=z+this.stride[0]*b|0:(P.push(this.shape[0]),L.push(this.stride[0])),typeof v==\"number\"&&v>=0?z=z+this.stride[1]*v|0:(P.push(this.shape[1]),L.push(this.stride[1])),typeof u==\"number\"&&u>=0?z=z+this.stride[2]*u|0:(P.push(this.shape[2]),L.push(this.stride[2])),typeof y==\"number\"&&y>=0?z=z+this.stride[3]*y|0:(P.push(this.shape[3]),L.push(this.stride[3])),typeof f==\"number\"&&f>=0?z=z+this.stride[4]*f|0:(P.push(this.shape[4]),L.push(this.stride[4]));var F=_[P.length+1];return F(this.data,P,L,z)},function(b,v,u,y){return new M(b,v[0],v[1],v[2],v[3],v[4],u[0],u[1],u[2],u[3],u[4],y)}}};function c(T,l){var _=l===-1?\"T\":String(l),w=s[_];return l===-1?w(T):l===0?w(T,p[T][0]):w(T,p[T],a)}function h(T){if(o(T))return\"buffer\";if(n)switch(Object.prototype.toString.call(T)){case\"[object Float64Array]\":return\"float64\";case\"[object Float32Array]\":return\"float32\";case\"[object Int8Array]\":return\"int8\";case\"[object Int16Array]\":return\"int16\";case\"[object Int32Array]\":return\"int32\";case\"[object Uint8ClampedArray]\":return\"uint8_clamped\";case\"[object Uint8Array]\":return\"uint8\";case\"[object Uint16Array]\":return\"uint16\";case\"[object Uint32Array]\":return\"uint32\";case\"[object BigInt64Array]\":return\"bigint64\";case\"[object BigUint64Array]\":return\"biguint64\"}return Array.isArray(T)?\"array\":\"generic\"}var p={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function d(T,l,_,w){if(T===void 0){var u=p.array[0];return u([])}else typeof T==\"number\"&&(T=[T]);l===void 0&&(l=[T.length]);var M=l.length;if(_===void 0){_=new Array(M);for(var E=M-1,m=1;E>=0;--E)_[E]=m,m*=l[E]}if(w===void 0){w=0;for(var E=0;E>>0;e.exports=a;function a(s,c){if(isNaN(s)||isNaN(c))return NaN;if(s===c)return s;if(s===0)return c<0?-n:n;var h=o.hi(s),p=o.lo(s);return c>s==s>0?p===i?(h+=1,p=0):p+=1:p===0?(p=i,h-=1):p-=1,o.pack(p,h)}},8406:function(e,t){var r=1e-6,o=1e-6;t.vertexNormals=function(n,i,a){for(var s=i.length,c=new Array(s),h=a===void 0?r:a,p=0;ph)for(var P=c[l],L=1/Math.sqrt(v*y),f=0;f<3;++f){var z=(f+1)%3,F=(f+2)%3;P[f]+=L*(u[z]*b[F]-u[F]*b[z])}}for(var p=0;ph)for(var L=1/Math.sqrt(B),f=0;f<3;++f)P[f]*=L;else for(var f=0;f<3;++f)P[f]=0}return c},t.faceNormals=function(n,i,a){for(var s=n.length,c=new Array(s),h=a===void 0?o:a,p=0;ph?E=1/Math.sqrt(E):E=0;for(var l=0;l<3;++l)M[l]*=E;c[p]=M}return c}},4081:function(e){\"use strict\";e.exports=t;function t(r,o,n,i,a,s,c,h,p,d){var T=o+s+d;if(l>0){var l=Math.sqrt(T+1);r[0]=.5*(c-p)/l,r[1]=.5*(h-i)/l,r[2]=.5*(n-s)/l,r[3]=.5*l}else{var _=Math.max(o,s,d),l=Math.sqrt(2*_-T+1);o>=_?(r[0]=.5*l,r[1]=.5*(a+n)/l,r[2]=.5*(h+i)/l,r[3]=.5*(c-p)/l):s>=_?(r[0]=.5*(n+a)/l,r[1]=.5*l,r[2]=.5*(p+c)/l,r[3]=.5*(h-i)/l):(r[0]=.5*(i+h)/l,r[1]=.5*(c+p)/l,r[2]=.5*l,r[3]=.5*(n-a)/l)}return r}},9977:function(e,t,r){\"use strict\";e.exports=l;var o=r(9215),n=r(6582),i=r(7399),a=r(7608),s=r(4081);function c(_,w,M){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2))}function h(_,w,M,E){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2)+Math.pow(E,2))}function p(_,w){var M=w[0],E=w[1],m=w[2],b=w[3],v=h(M,E,m,b);v>1e-6?(_[0]=M/v,_[1]=E/v,_[2]=m/v,_[3]=b/v):(_[0]=_[1]=_[2]=0,_[3]=1)}function d(_,w,M){this.radius=o([M]),this.center=o(w),this.rotation=o(_),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var T=d.prototype;T.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},T.recalcMatrix=function(_){this.radius.curve(_),this.center.curve(_),this.rotation.curve(_);var w=this.computedRotation;p(w,w);var M=this.computedMatrix;i(M,w);var E=this.computedCenter,m=this.computedEye,b=this.computedUp,v=Math.exp(this.computedRadius[0]);m[0]=E[0]+v*M[2],m[1]=E[1]+v*M[6],m[2]=E[2]+v*M[10],b[0]=M[1],b[1]=M[5],b[2]=M[9];for(var u=0;u<3;++u){for(var y=0,f=0;f<3;++f)y+=M[u+4*f]*m[f];M[12+u]=-y}},T.getMatrix=function(_,w){this.recalcMatrix(_);var M=this.computedMatrix;if(w){for(var E=0;E<16;++E)w[E]=M[E];return w}return M},T.idle=function(_){this.center.idle(_),this.radius.idle(_),this.rotation.idle(_)},T.flush=function(_){this.center.flush(_),this.radius.flush(_),this.rotation.flush(_)},T.pan=function(_,w,M,E){w=w||0,M=M||0,E=E||0,this.recalcMatrix(_);var m=this.computedMatrix,b=m[1],v=m[5],u=m[9],y=c(b,v,u);b/=y,v/=y,u/=y;var f=m[0],P=m[4],L=m[8],z=f*b+P*v+L*u;f-=b*z,P-=v*z,L-=u*z;var F=c(f,P,L);f/=F,P/=F,L/=F;var B=m[2],O=m[6],I=m[10],N=B*b+O*v+I*u,U=B*f+O*P+I*L;B-=N*b+U*f,O-=N*v+U*P,I-=N*u+U*L;var W=c(B,O,I);B/=W,O/=W,I/=W;var Q=f*w+b*M,le=P*w+v*M,se=L*w+u*M;this.center.move(_,Q,le,se);var fe=Math.exp(this.computedRadius[0]);fe=Math.max(1e-4,fe+E),this.radius.set(_,Math.log(fe))},T.rotate=function(_,w,M,E){this.recalcMatrix(_),w=w||0,M=M||0;var m=this.computedMatrix,b=m[0],v=m[4],u=m[8],y=m[1],f=m[5],P=m[9],L=m[2],z=m[6],F=m[10],B=w*b+M*y,O=w*v+M*f,I=w*u+M*P,N=-(z*I-F*O),U=-(F*B-L*I),W=-(L*O-z*B),Q=Math.sqrt(Math.max(0,1-Math.pow(N,2)-Math.pow(U,2)-Math.pow(W,2))),le=h(N,U,W,Q);le>1e-6?(N/=le,U/=le,W/=le,Q/=le):(N=U=W=0,Q=1);var se=this.computedRotation,fe=se[0],G=se[1],$=se[2],J=se[3],X=fe*Q+J*N+G*W-$*U,re=G*Q+J*U+$*N-fe*W,ae=$*Q+J*W+fe*U-G*N,j=J*Q-fe*N-G*U-$*W;if(E){N=L,U=z,W=F;var ee=Math.sin(E)/c(N,U,W);N*=ee,U*=ee,W*=ee,Q=Math.cos(w),X=X*Q+j*N+re*W-ae*U,re=re*Q+j*U+ae*N-X*W,ae=ae*Q+j*W+X*U-re*N,j=j*Q-X*N-re*U-ae*W}var ie=h(X,re,ae,j);ie>1e-6?(X/=ie,re/=ie,ae/=ie,j/=ie):(X=re=ae=0,j=1),this.rotation.set(_,X,re,ae,j)},T.lookAt=function(_,w,M,E){this.recalcMatrix(_),M=M||this.computedCenter,w=w||this.computedEye,E=E||this.computedUp;var m=this.computedMatrix;n(m,w,M,E);var b=this.computedRotation;s(b,m[0],m[1],m[2],m[4],m[5],m[6],m[8],m[9],m[10]),p(b,b),this.rotation.set(_,b[0],b[1],b[2],b[3]);for(var v=0,u=0;u<3;++u)v+=Math.pow(M[u]-w[u],2);this.radius.set(_,.5*Math.log(Math.max(v,1e-6))),this.center.set(_,M[0],M[1],M[2])},T.translate=function(_,w,M,E){this.center.move(_,w||0,M||0,E||0)},T.setMatrix=function(_,w){var M=this.computedRotation;s(M,w[0],w[1],w[2],w[4],w[5],w[6],w[8],w[9],w[10]),p(M,M),this.rotation.set(_,M[0],M[1],M[2],M[3]);var E=this.computedMatrix;a(E,w);var m=E[15];if(Math.abs(m)>1e-6){var b=E[12]/m,v=E[13]/m,u=E[14]/m;this.recalcMatrix(_);var y=Math.exp(this.computedRadius[0]);this.center.set(_,b-E[2]*y,v-E[6]*y,u-E[10]*y),this.radius.idle(_)}else this.center.idle(_),this.radius.idle(_)},T.setDistance=function(_,w){w>0&&this.radius.set(_,Math.log(w))},T.setDistanceLimits=function(_,w){_>0?_=Math.log(_):_=-1/0,w>0?w=Math.log(w):w=1/0,w=Math.max(w,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=w},T.getDistanceLimits=function(_){var w=this.radius.bounds;return _?(_[0]=Math.exp(w[0][0]),_[1]=Math.exp(w[1][0]),_):[Math.exp(w[0][0]),Math.exp(w[1][0])]},T.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},T.fromJSON=function(_){var w=this.lastT(),M=_.center;M&&this.center.set(w,M[0],M[1],M[2]);var E=_.rotation;E&&this.rotation.set(w,E[0],E[1],E[2],E[3]);var m=_.distance;m&&m>0&&this.radius.set(w,Math.log(m)),this.setDistanceLimits(_.zoomMin,_.zoomMax)};function l(_){_=_||{};var w=_.center||[0,0,0],M=_.rotation||[0,0,0,1],E=_.radius||1;w=[].slice.call(w,0,3),M=[].slice.call(M,0,4),p(M,M);var m=new d(M,w,Math.log(E));return m.setDistanceLimits(_.zoomMin,_.zoomMax),(\"eye\"in _||\"up\"in _)&&m.lookAt(0,_.eye,_.center,_.up),m}},1371:function(e,t,r){\"use strict\";var o=r(3233);e.exports=function(i,a,s){return s=typeof s<\"u\"?s+\"\":\" \",o(s,a)+i}},3202:function(e){e.exports=function(r,o){o||(o=[0,\"\"]),r=String(r);var n=parseFloat(r,10);return o[0]=n,o[1]=r.match(/[\\d.\\-\\+]*\\s*(.*)/)[1]||\"\",o}},3088:function(e,t,r){\"use strict\";e.exports=n;var o=r(3140);function n(i,a){for(var s=a.length|0,c=i.length,h=[new Array(s),new Array(s)],p=0;p0){P=h[F][y][0],z=F;break}L=P[z^1];for(var B=0;B<2;++B)for(var O=h[B][y],I=0;I0&&(P=N,L=U,z=B)}return f||P&&l(P,z),L}function w(u,y){var f=h[y][u][0],P=[u];l(f,y);for(var L=f[y^1],z=y;;){for(;L!==u;)P.push(L),L=_(P[P.length-2],L,!1);if(h[0][u].length+h[1][u].length===0)break;var F=P[P.length-1],B=u,O=P[1],I=_(F,B,!0);if(o(a[F],a[B],a[O],a[I])<0)break;P.push(u),L=_(F,B)}return P}function M(u,y){return y[1]===y[y.length-1]}for(var p=0;p0;){var b=h[0][p].length,v=w(p,E);M(m,v)?m.push.apply(m,v):(m.length>0&&T.push(m),m=v)}m.length>0&&T.push(m)}return T}},5609:function(e,t,r){\"use strict\";e.exports=n;var o=r(3134);function n(i,a){for(var s=o(i,a.length),c=new Array(a.length),h=new Array(a.length),p=[],d=0;d0;){var l=p.pop();c[l]=!1;for(var _=s[l],d=0;d<_.length;++d){var w=_[d];--h[w]===0&&p.push(w)}}for(var M=new Array(a.length),E=[],d=0;d0}b=b.filter(v);for(var u=b.length,y=new Array(u),f=new Array(u),m=0;m0;){var ie=ae.pop(),ce=le[ie];c(ce,function(Ye,it){return Ye-it});var xe=ce.length,Te=j[ie],Ue;if(Te===0){var O=b[ie];Ue=[O]}for(var m=0;m=0)&&(j[Ie]=Te^1,ae.push(Ie),Te===0)){var O=b[Ie];re(O)||(O.reverse(),Ue.push(O))}}Te===0&&ee.push(Ue)}return ee}},5085:function(e,t,r){e.exports=_;var o=r(3250)[3],n=r(4209),i=r(3352),a=r(2478);function s(){return!0}function c(w){return function(M,E){var m=w[M];return m?!!m.queryPoint(E,s):!1}}function h(w){for(var M={},E=0;E0&&M[m]===E[0])b=w[m-1];else return 1;for(var v=1;b;){var u=b.key,y=o(E,u[0],u[1]);if(u[0][0]0)v=-1,b=b.right;else return 0;else if(y>0)b=b.left;else if(y<0)v=1,b=b.right;else return 0}return v}}function d(w){return 1}function T(w){return function(E){return w(E[0],E[1])?0:1}}function l(w,M){return function(m){return w(m[0],m[1])?0:M(m)}}function _(w){for(var M=w.length,E=[],m=[],b=0,v=0;v=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M)):(u=0,w>=0?(y=0,f=M):-w>=l?(y=1,f=l+2*w+M):(y=-w/l,f=w*y+M));else if(y<0)y=0,_>=0?(u=0,f=M):-_>=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M);else{var P=1/v;u*=P,y*=P,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M}else{var L,z,F,B;u<0?(L=T+_,z=l+w,z>L?(F=z-L,B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(u=0,z<=0?(y=1,f=l+2*w+M):w>=0?(y=0,f=M):(y=-w/l,f=w*y+M))):y<0?(L=T+w,z=d+_,z>L?(F=z-L,B=d-2*T+l,F>=B?(y=1,u=0,f=l+2*w+M):(y=F/B,u=1-y,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(y=0,z<=0?(u=1,f=d+2*_+M):_>=0?(u=0,f=M):(u=-_/d,f=_*u+M))):(F=l+w-T-_,F<=0?(u=0,y=1,f=l+2*w+M):(B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)))}for(var O=1-u-y,p=0;p0){var l=s[h-1];if(o(d,l)===0&&i(l)!==T){h-=1;continue}}s[h++]=d}}return s.length=h,s}},3233:function(e){\"use strict\";var t=\"\",r;e.exports=o;function o(n,i){if(typeof n!=\"string\")throw new TypeError(\"expected a string\");if(i===1)return n;if(i===2)return n+n;var a=n.length*i;if(r!==n||typeof r>\"u\")r=n,t=\"\";else if(t.length>=a)return t.substr(0,a);for(;a>t.length&&i>1;)i&1&&(t+=n),i>>=1,n+=n;return t+=n,t=t.substr(0,a),t}},3025:function(e,t,r){e.exports=r.g.performance&&r.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},7004:function(e){\"use strict\";e.exports=t;function t(r){for(var o=r.length,n=r[r.length-1],i=o,a=o-2;a>=0;--a){var s=n,c=r[a];n=s+c;var h=n-s,p=c-h;p&&(r[--i]=n,n=p)}for(var d=0,a=i;a0){if(z<=0)return F;B=L+z}else if(L<0){if(z>=0)return F;B=-(L+z)}else return F;var O=h*B;return F>=O||F<=-O?F:w(y,f,P)},function(y,f,P,L){var z=y[0]-L[0],F=f[0]-L[0],B=P[0]-L[0],O=y[1]-L[1],I=f[1]-L[1],N=P[1]-L[1],U=y[2]-L[2],W=f[2]-L[2],Q=P[2]-L[2],le=F*N,se=B*I,fe=B*O,G=z*N,$=z*I,J=F*O,X=U*(le-se)+W*(fe-G)+Q*($-J),re=(Math.abs(le)+Math.abs(se))*Math.abs(U)+(Math.abs(fe)+Math.abs(G))*Math.abs(W)+(Math.abs($)+Math.abs(J))*Math.abs(Q),ae=p*re;return X>ae||-X>ae?X:M(y,f,P,L)}];function m(u){var y=E[u.length];return y||(y=E[u.length]=_(u.length)),y.apply(void 0,u)}function b(u,y,f,P,L,z,F){return function(O,I,N,U,W){switch(arguments.length){case 0:case 1:return 0;case 2:return P(O,I);case 3:return L(O,I,N);case 4:return z(O,I,N,U);case 5:return F(O,I,N,U,W)}for(var Q=new Array(arguments.length),le=0;le0&&d>0||p<0&&d<0)return!1;var T=o(c,a,s),l=o(h,a,s);return T>0&&l>0||T<0&&l<0?!1:p===0&&d===0&&T===0&&l===0?n(a,s,c,h):!0}},8545:function(e){\"use strict\";e.exports=r;function t(o,n){var i=o+n,a=i-o,s=i-a,c=n-a,h=o-s,p=h+c;return p?[p,i]:[i]}function r(o,n){var i=o.length|0,a=n.length|0;if(i===1&&a===1)return t(o[0],-n[0]);var s=i+a,c=new Array(s),h=0,p=0,d=0,T=Math.abs,l=o[p],_=T(l),w=-n[d],M=T(w),E,m;_=a?(E=l,p+=1,p=a?(E=l,p+=1,p\"u\"&&(E=s(_));var m=_.length;if(m===0||E<1)return{cells:[],vertexIds:[],vertexWeights:[]};var b=c(w,+M),v=h(_,E),u=p(v,w,b,+M),y=d(v,w.length|0),f=a(E)(_,v.data,y,b),P=T(v),L=[].slice.call(u.data,0,u.shape[0]);return n.free(b),n.free(v.data),n.free(u.data),n.free(y),{cells:f,vertexIds:P,vertexWeights:L}}},1570:function(e){\"use strict\";e.exports=r;var t=[function(){function n(a,s,c,h){for(var p=Math.min(c,h)|0,d=Math.max(c,h)|0,T=a[2*p],l=a[2*p+1];T>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,B=h(y[F],f);B<=0?(B===0&&(z=F),P=F+1):B>0&&(L=F-1)}return z}o=l;function _(y,f){for(var P=new Array(y.length),L=0,z=P.length;L=y.length||h(y[le],F)!==0););}return P}o=_;function w(y,f){if(!f)return _(T(E(y,0)),y,0);for(var P=new Array(f),L=0;L>>N&1&&I.push(z[N]);f.push(I)}return d(f)}o=M;function E(y,f){if(f<0)return[];for(var P=[],L=(1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},2014:function(e,t,r){\"use strict\";\"use restrict\";var o=r(3105),n=r(4623);function i(u){for(var y=0,f=Math.max,P=0,L=u.length;P>1,F=c(u[z],y);F<=0?(F===0&&(L=z),f=z+1):F>0&&(P=z-1)}return L}t.findCell=T;function l(u,y){for(var f=new Array(u.length),P=0,L=f.length;P=u.length||c(u[Q],z)!==0););}return f}t.incidence=l;function _(u,y){if(!y)return l(d(M(u,0)),u,0);for(var f=new Array(y),P=0;P>>I&1&&O.push(L[I]);y.push(O)}return p(y)}t.explode=w;function M(u,y){if(y<0)return[];for(var f=[],P=(1<>1:(G>>1)-1}function P(G){for(var $=y(G);;){var J=$,X=2*G+1,re=2*(G+1),ae=G;if(X0;){var J=f(G);if(J>=0){var X=y(J);if($0){var G=O[0];return u(0,U-1),U-=1,P(0),G}return-1}function F(G,$){var J=O[G];return _[J]===$?G:(_[J]=-1/0,L(G),z(),_[J]=$,U+=1,L(U-1))}function B(G){if(!w[G]){w[G]=!0;var $=T[G],J=l[G];T[J]>=0&&(T[J]=$),l[$]>=0&&(l[$]=J),I[$]>=0&&F(I[$],v($)),I[J]>=0&&F(I[J],v(J))}}for(var O=[],I=new Array(p),M=0;M>1;M>=0;--M)P(M);for(;;){var W=z();if(W<0||_[W]>h)break;B(W)}for(var Q=[],M=0;M=0&&J>=0&&$!==J){var X=I[$],re=I[J];X!==re&&fe.push([X,re])}}),n.unique(n.normalize(fe)),{positions:Q,edges:fe}}},1303:function(e,t,r){\"use strict\";e.exports=i;var o=r(3250);function n(a,s){var c,h;if(s[0][0]s[1][0])c=s[1],h=s[0];else{var p=Math.min(a[0][1],a[1][1]),d=Math.max(a[0][1],a[1][1]),T=Math.min(s[0][1],s[1][1]),l=Math.max(s[0][1],s[1][1]);return dl?p-l:d-l}var _,w;a[0][1]s[1][0])c=s[1],h=s[0];else return n(s,a);var p,d;if(a[0][0]a[1][0])p=a[1],d=a[0];else return-n(a,s);var T=o(c,h,d),l=o(c,h,p);if(T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;if(T=o(d,p,h),l=o(d,p,c),T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;return h[0]-d[0]}},4209:function(e,t,r){\"use strict\";e.exports=l;var o=r(2478),n=r(3840),i=r(3250),a=r(1303);function s(_,w,M){this.slabs=_,this.coordinates=w,this.horizontal=M}var c=s.prototype;function h(_,w){return _.y-w}function p(_,w){for(var M=null;_;){var E=_.key,m,b;E[0][0]0)if(w[0]!==E[1][0])M=_,_=_.right;else{var u=p(_.right,w);if(u)return u;_=_.left}else{if(w[0]!==E[1][0])return _;var u=p(_.right,w);if(u)return u;_=_.left}}return M}c.castUp=function(_){var w=o.le(this.coordinates,_[0]);if(w<0)return-1;var M=this.slabs[w],E=p(this.slabs[w],_),m=-1;if(E&&(m=E.value),this.coordinates[w]===_[0]){var b=null;if(E&&(b=E.key),w>0){var v=p(this.slabs[w-1],_);v&&(b?a(v.key,b)>0&&(b=v.key,m=v.value):(m=v.value,b=v.key))}var u=this.horizontal[w];if(u.length>0){var y=o.ge(u,_[1],h);if(y=u.length)return m;f=u[y]}}if(f.start)if(b){var P=i(b[0],b[1],[_[0],f.y]);b[0][0]>b[1][0]&&(P=-P),P>0&&(m=f.index)}else m=f.index;else f.y!==_[1]&&(m=f.index)}}}return m};function d(_,w,M,E){this.y=_,this.index=w,this.start=M,this.closed=E}function T(_,w,M,E){this.x=_,this.segment=w,this.create=M,this.index=E}function l(_){for(var w=_.length,M=2*w,E=new Array(M),m=0;m1&&(w=1);for(var M=1-w,E=p.length,m=new Array(E),b=0;b0||_>0&&m<0){var b=a(w,m,M,_);T.push(b),l.push(b.slice())}m<0?l.push(M.slice()):m>0?T.push(M.slice()):(T.push(M.slice()),l.push(M.slice())),_=m}return{positive:T,negative:l}}function c(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E>=0&&T.push(w.slice()),l=E}return T}function h(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E<=0&&T.push(w.slice()),l=E}return T}},3387:function(e,t,r){var o;(function(){\"use strict\";var n={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\\x25]+/,modulo:/^\\x25{2}/,placeholder:/^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\\d]*)/i,key_access:/^\\.([a-z_][a-z_\\d]*)/i,index_access:/^\\[(\\d+)\\]/,sign:/^[+-]/};function i(p){return s(h(p),arguments)}function a(p,d){return i.apply(null,[p].concat(d||[]))}function s(p,d){var T=1,l=p.length,_,w=\"\",M,E,m,b,v,u,y,f;for(M=0;M=0),m.type){case\"b\":_=parseInt(_,10).toString(2);break;case\"c\":_=String.fromCharCode(parseInt(_,10));break;case\"d\":case\"i\":_=parseInt(_,10);break;case\"j\":_=JSON.stringify(_,null,m.width?parseInt(m.width):0);break;case\"e\":_=m.precision?parseFloat(_).toExponential(m.precision):parseFloat(_).toExponential();break;case\"f\":_=m.precision?parseFloat(_).toFixed(m.precision):parseFloat(_);break;case\"g\":_=m.precision?String(Number(_.toPrecision(m.precision))):parseFloat(_);break;case\"o\":_=(parseInt(_,10)>>>0).toString(8);break;case\"s\":_=String(_),_=m.precision?_.substring(0,m.precision):_;break;case\"t\":_=String(!!_),_=m.precision?_.substring(0,m.precision):_;break;case\"T\":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=m.precision?_.substring(0,m.precision):_;break;case\"u\":_=parseInt(_,10)>>>0;break;case\"v\":_=_.valueOf(),_=m.precision?_.substring(0,m.precision):_;break;case\"x\":_=(parseInt(_,10)>>>0).toString(16);break;case\"X\":_=(parseInt(_,10)>>>0).toString(16).toUpperCase();break}n.json.test(m.type)?w+=_:(n.number.test(m.type)&&(!y||m.sign)?(f=y?\"+\":\"-\",_=_.toString().replace(n.sign,\"\")):f=\"\",v=m.pad_char?m.pad_char===\"0\"?\"0\":m.pad_char.charAt(1):\" \",u=m.width-(f+_).length,b=m.width&&u>0?v.repeat(u):\"\",w+=m.align?f+_+b:v===\"0\"?f+b+_:b+f+_)}return w}var c=Object.create(null);function h(p){if(c[p])return c[p];for(var d=p,T,l=[],_=0;d;){if((T=n.text.exec(d))!==null)l.push(T[0]);else if((T=n.modulo.exec(d))!==null)l.push(\"%\");else if((T=n.placeholder.exec(d))!==null){if(T[2]){_|=1;var w=[],M=T[2],E=[];if((E=n.key.exec(M))!==null)for(w.push(E[1]);(M=M.substring(E[0].length))!==\"\";)if((E=n.key_access.exec(M))!==null)w.push(E[1]);else if((E=n.index_access.exec(M))!==null)w.push(E[1]);else throw new SyntaxError(\"[sprintf] failed to parse named argument key\");else throw new SyntaxError(\"[sprintf] failed to parse named argument key\");T[2]=w}else _|=2;if(_===3)throw new Error(\"[sprintf] mixing positional and named placeholders is not (yet) supported\");l.push({placeholder:T[0],param_no:T[1],keys:T[2],sign:T[3],pad_char:T[4],align:T[5],width:T[6],precision:T[7],type:T[8]})}else throw new SyntaxError(\"[sprintf] unexpected placeholder\");d=d.substring(T[0].length)}return c[p]=l}t.sprintf=i,t.vsprintf=a,typeof window<\"u\"&&(window.sprintf=i,window.vsprintf=a,o=function(){return{sprintf:i,vsprintf:a}}.call(t,r,t,e),o!==void 0&&(e.exports=o))})()},3711:function(e,t,r){\"use strict\";e.exports=h;var o=r(2640),n=r(781),i={\"2d\":function(p,d,T){var l=p({order:d,scalarArguments:3,getters:T===\"generic\"?[0]:void 0,phase:function(w,M,E,m){return w>m|0},vertex:function(w,M,E,m,b,v,u,y,f,P,L,z,F){var B=(u<<0)+(y<<1)+(f<<2)+(P<<3)|0;if(!(B===0||B===15))switch(B){case 0:L.push([w-.5,M-.5]);break;case 1:L.push([w-.25-.25*(m+E-2*F)/(E-m),M-.25-.25*(b+E-2*F)/(E-b)]);break;case 2:L.push([w-.75-.25*(-m-E+2*F)/(m-E),M-.25-.25*(v+m-2*F)/(m-v)]);break;case 3:L.push([w-.5,M-.5-.5*(b+E+v+m-4*F)/(E-b+m-v)]);break;case 4:L.push([w-.25-.25*(v+b-2*F)/(b-v),M-.75-.25*(-b-E+2*F)/(b-E)]);break;case 5:L.push([w-.5-.5*(m+E+v+b-4*F)/(E-m+b-v),M-.5]);break;case 6:L.push([w-.5-.25*(-m-E+v+b)/(m-E+b-v),M-.5-.25*(-b-E+v+m)/(b-E+m-v)]);break;case 7:L.push([w-.75-.25*(v+b-2*F)/(b-v),M-.75-.25*(v+m-2*F)/(m-v)]);break;case 8:L.push([w-.75-.25*(-v-b+2*F)/(v-b),M-.75-.25*(-v-m+2*F)/(v-m)]);break;case 9:L.push([w-.5-.25*(m+E+-v-b)/(E-m+v-b),M-.5-.25*(b+E+-v-m)/(E-b+v-m)]);break;case 10:L.push([w-.5-.5*(-m-E+-v-b+4*F)/(m-E+v-b),M-.5]);break;case 11:L.push([w-.25-.25*(-v-b+2*F)/(v-b),M-.75-.25*(b+E-2*F)/(E-b)]);break;case 12:L.push([w-.5,M-.5-.5*(-b-E+-v-m+4*F)/(b-E+v-m)]);break;case 13:L.push([w-.75-.25*(m+E-2*F)/(E-m),M-.25-.25*(-v-m+2*F)/(v-m)]);break;case 14:L.push([w-.25-.25*(-m-E+2*F)/(m-E),M-.25-.25*(-b-E+2*F)/(b-E)]);break;case 15:L.push([w-.5,M-.5]);break}},cell:function(w,M,E,m,b,v,u,y,f){b?y.push([w,M]):y.push([M,w])}});return function(_,w){var M=[],E=[];return l(_,M,E,w),{positions:M,cells:E}}}};function a(p,d){var T=p.length+\"d\",l=i[T];if(l)return l(o,p,d)}function s(p,d){for(var T=n(p,d),l=T.length,_=new Array(l),w=new Array(l),M=0;MMath.max(m,b)?v[2]=1:m>Math.max(E,b)?v[0]=1:v[1]=1;for(var u=0,y=0,f=0;f<3;++f)u+=M[f]*M[f],y+=v[f]*M[f];for(var f=0;f<3;++f)v[f]-=y/u*M[f];return s(v,v),v}function T(M,E,m,b,v,u,y,f){this.center=o(m),this.up=o(b),this.right=o(v),this.radius=o([u]),this.angle=o([y,f]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(M,E),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var P=0;P<16;++P)this.computedMatrix[P]=.5;this.recalcMatrix(0)}var l=T.prototype;l.setDistanceLimits=function(M,E){M>0?M=Math.log(M):M=-1/0,E>0?E=Math.log(E):E=1/0,E=Math.max(E,M),this.radius.bounds[0][0]=M,this.radius.bounds[1][0]=E},l.getDistanceLimits=function(M){var E=this.radius.bounds[0];return M?(M[0]=Math.exp(E[0][0]),M[1]=Math.exp(E[1][0]),M):[Math.exp(E[0][0]),Math.exp(E[1][0])]},l.recalcMatrix=function(M){this.center.curve(M),this.up.curve(M),this.right.curve(M),this.radius.curve(M),this.angle.curve(M);for(var E=this.computedUp,m=this.computedRight,b=0,v=0,u=0;u<3;++u)v+=E[u]*m[u],b+=E[u]*E[u];for(var y=Math.sqrt(b),f=0,u=0;u<3;++u)m[u]-=E[u]*v/b,f+=m[u]*m[u],E[u]/=y;for(var P=Math.sqrt(f),u=0;u<3;++u)m[u]/=P;var L=this.computedToward;a(L,E,m),s(L,L);for(var z=Math.exp(this.computedRadius[0]),F=this.computedAngle[0],B=this.computedAngle[1],O=Math.cos(F),I=Math.sin(F),N=Math.cos(B),U=Math.sin(B),W=this.computedCenter,Q=O*N,le=I*N,se=U,fe=-O*U,G=-I*U,$=N,J=this.computedEye,X=this.computedMatrix,u=0;u<3;++u){var re=Q*m[u]+le*L[u]+se*E[u];X[4*u+1]=fe*m[u]+G*L[u]+$*E[u],X[4*u+2]=re,X[4*u+3]=0}var ae=X[1],j=X[5],ee=X[9],ie=X[2],ce=X[6],xe=X[10],Te=j*xe-ee*ce,Ue=ee*ie-ae*xe,Ie=ae*ce-j*ie,Ye=h(Te,Ue,Ie);Te/=Ye,Ue/=Ye,Ie/=Ye,X[0]=Te,X[4]=Ue,X[8]=Ie;for(var u=0;u<3;++u)J[u]=W[u]+X[2+4*u]*z;for(var u=0;u<3;++u){for(var f=0,it=0;it<3;++it)f+=X[u+4*it]*J[it];X[12+u]=-f}X[15]=1},l.getMatrix=function(M,E){this.recalcMatrix(M);var m=this.computedMatrix;if(E){for(var b=0;b<16;++b)E[b]=m[b];return E}return m};var _=[0,0,0];l.rotate=function(M,E,m,b){if(this.angle.move(M,E,m),b){this.recalcMatrix(M);var v=this.computedMatrix;_[0]=v[2],_[1]=v[6],_[2]=v[10];for(var u=this.computedUp,y=this.computedRight,f=this.computedToward,P=0;P<3;++P)v[4*P]=u[P],v[4*P+1]=y[P],v[4*P+2]=f[P];i(v,v,b,_);for(var P=0;P<3;++P)u[P]=v[4*P],y[P]=v[4*P+1];this.up.set(M,u[0],u[1],u[2]),this.right.set(M,y[0],y[1],y[2])}},l.pan=function(M,E,m,b){E=E||0,m=m||0,b=b||0,this.recalcMatrix(M);var v=this.computedMatrix,u=Math.exp(this.computedRadius[0]),y=v[1],f=v[5],P=v[9],L=h(y,f,P);y/=L,f/=L,P/=L;var z=v[0],F=v[4],B=v[8],O=z*y+F*f+B*P;z-=y*O,F-=f*O,B-=P*O;var I=h(z,F,B);z/=I,F/=I,B/=I;var N=z*E+y*m,U=F*E+f*m,W=B*E+P*m;this.center.move(M,N,U,W);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+b),this.radius.set(M,Math.log(Q))},l.translate=function(M,E,m,b){this.center.move(M,E||0,m||0,b||0)},l.setMatrix=function(M,E,m,b){var v=1;typeof m==\"number\"&&(v=m|0),(v<0||v>3)&&(v=1);var u=(v+2)%3,y=(v+1)%3;E||(this.recalcMatrix(M),E=this.computedMatrix);var f=E[v],P=E[v+4],L=E[v+8];if(b){var F=Math.abs(f),B=Math.abs(P),O=Math.abs(L),I=Math.max(F,B,O);F===I?(f=f<0?-1:1,P=L=0):O===I?(L=L<0?-1:1,f=P=0):(P=P<0?-1:1,f=L=0)}else{var z=h(f,P,L);f/=z,P/=z,L/=z}var N=E[u],U=E[u+4],W=E[u+8],Q=N*f+U*P+W*L;N-=f*Q,U-=P*Q,W-=L*Q;var le=h(N,U,W);N/=le,U/=le,W/=le;var se=P*W-L*U,fe=L*N-f*W,G=f*U-P*N,$=h(se,fe,G);se/=$,fe/=$,G/=$,this.center.jump(M,pe,ue,Oe),this.radius.idle(M),this.up.jump(M,f,P,L),this.right.jump(M,N,U,W);var J,X;if(v===2){var re=E[1],ae=E[5],j=E[9],ee=re*N+ae*U+j*W,ie=re*se+ae*fe+j*G;Ue<0?J=-Math.PI/2:J=Math.PI/2,X=Math.atan2(ie,ee)}else{var ce=E[2],xe=E[6],Te=E[10],Ue=ce*f+xe*P+Te*L,Ie=ce*N+xe*U+Te*W,Ye=ce*se+xe*fe+Te*G;J=Math.asin(p(Ue)),X=Math.atan2(Ye,Ie)}this.angle.jump(M,X,J),this.recalcMatrix(M);var it=E[2],at=E[6],tt=E[10],ut=this.computedMatrix;n(ut,E);var Me=ut[15],pe=ut[12]/Me,ue=ut[13]/Me,Oe=ut[14]/Me,rt=Math.exp(this.computedRadius[0]);this.center.jump(M,pe-it*rt,ue-at*rt,Oe-tt*rt)},l.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},l.idle=function(M){this.center.idle(M),this.up.idle(M),this.right.idle(M),this.radius.idle(M),this.angle.idle(M)},l.flush=function(M){this.center.flush(M),this.up.flush(M),this.right.flush(M),this.radius.flush(M),this.angle.flush(M)},l.setDistance=function(M,E){E>0&&this.radius.set(M,Math.log(E))},l.lookAt=function(M,E,m,b){this.recalcMatrix(M),E=E||this.computedEye,m=m||this.computedCenter,b=b||this.computedUp;var v=b[0],u=b[1],y=b[2],f=h(v,u,y);if(!(f<1e-6)){v/=f,u/=f,y/=f;var P=E[0]-m[0],L=E[1]-m[1],z=E[2]-m[2],F=h(P,L,z);if(!(F<1e-6)){P/=F,L/=F,z/=F;var B=this.computedRight,O=B[0],I=B[1],N=B[2],U=v*O+u*I+y*N;O-=U*v,I-=U*u,N-=U*y;var W=h(O,I,N);if(!(W<.01&&(O=u*z-y*L,I=y*P-v*z,N=v*L-u*P,W=h(O,I,N),W<1e-6))){O/=W,I/=W,N/=W,this.up.set(M,v,u,y),this.right.set(M,O,I,N),this.center.set(M,m[0],m[1],m[2]),this.radius.set(M,Math.log(F));var Q=u*N-y*I,le=y*O-v*N,se=v*I-u*O,fe=h(Q,le,se);Q/=fe,le/=fe,se/=fe;var G=v*P+u*L+y*z,$=O*P+I*L+N*z,J=Q*P+le*L+se*z,X=Math.asin(p(G)),re=Math.atan2(J,$),ae=this.angle._state,j=ae[ae.length-1],ee=ae[ae.length-2];j=j%(2*Math.PI);var ie=Math.abs(j+2*Math.PI-re),ce=Math.abs(j-re),xe=Math.abs(j-2*Math.PI-re);ie0?N.pop():new ArrayBuffer(O)}t.mallocArrayBuffer=_;function w(B){return new Uint8Array(_(B),0,B)}t.mallocUint8=w;function M(B){return new Uint16Array(_(2*B),0,B)}t.mallocUint16=M;function E(B){return new Uint32Array(_(4*B),0,B)}t.mallocUint32=E;function m(B){return new Int8Array(_(B),0,B)}t.mallocInt8=m;function b(B){return new Int16Array(_(2*B),0,B)}t.mallocInt16=b;function v(B){return new Int32Array(_(4*B),0,B)}t.mallocInt32=v;function u(B){return new Float32Array(_(4*B),0,B)}t.mallocFloat32=t.mallocFloat=u;function y(B){return new Float64Array(_(8*B),0,B)}t.mallocFloat64=t.mallocDouble=y;function f(B){return a?new Uint8ClampedArray(_(B),0,B):w(B)}t.mallocUint8Clamped=f;function P(B){return s?new BigUint64Array(_(8*B),0,B):null}t.mallocBigUint64=P;function L(B){return c?new BigInt64Array(_(8*B),0,B):null}t.mallocBigInt64=L;function z(B){return new DataView(_(B),0,B)}t.mallocDataView=z;function F(B){B=o.nextPow2(B);var O=o.log2(B),I=d[O];return I.length>0?I.pop():new i(B)}t.mallocBuffer=F,t.clearCache=function(){for(var O=0;O<32;++O)h.UINT8[O].length=0,h.UINT16[O].length=0,h.UINT32[O].length=0,h.INT8[O].length=0,h.INT16[O].length=0,h.INT32[O].length=0,h.FLOAT[O].length=0,h.DOUBLE[O].length=0,h.BIGUINT64[O].length=0,h.BIGINT64[O].length=0,h.UINT8C[O].length=0,p[O].length=0,d[O].length=0}},1755:function(e){\"use strict\";\"use restrict\";e.exports=t;function t(o){this.roots=new Array(o),this.ranks=new Array(o);for(var n=0;n\",N=\"\",U=I.length,W=N.length,Q=F[0]===_||F[0]===E,le=0,se=-W;le>-1&&(le=B.indexOf(I,le),!(le===-1||(se=B.indexOf(N,le+U),se===-1)||se<=le));){for(var fe=le;fe=se)O[fe]=null,B=B.substr(0,fe)+\" \"+B.substr(fe+1);else if(O[fe]!==null){var G=O[fe].indexOf(F[0]);G===-1?O[fe]+=F:Q&&(O[fe]=O[fe].substr(0,G+1)+(1+parseInt(O[fe][G+1]))+O[fe].substr(G+2))}var $=le+U,J=B.substr($,se-$),X=J.indexOf(I);X!==-1?le=X:le=se+W}return O}function v(z,F,B){for(var O=F.textAlign||\"start\",I=F.textBaseline||\"alphabetic\",N=[1<<30,1<<30],U=[0,0],W=z.length,Q=0;Q/g,`\n`):B=B.replace(/\\/g,\" \");var U=\"\",W=[];for(j=0;j-1?parseInt(ue[1+ot]):0,Et=et>-1?parseInt(Oe[1+et]):0;Lt!==Et&&(rt=rt.replace(Ie(),\"?px \"),ce*=Math.pow(.75,Et-Lt),rt=rt.replace(\"?px \",Ie())),ie+=.25*G*(Et-Lt)}if(N.superscripts===!0){var Bt=ue.indexOf(_),qt=Oe.indexOf(_),fr=Bt>-1?parseInt(ue[1+Bt]):0,ar=qt>-1?parseInt(Oe[1+qt]):0;fr!==ar&&(rt=rt.replace(Ie(),\"?px \"),ce*=Math.pow(.75,ar-fr),rt=rt.replace(\"?px \",Ie())),ie-=.25*G*(ar-fr)}if(N.bolds===!0){var Rr=ue.indexOf(p)>-1,gr=Oe.indexOf(p)>-1;!Rr&&gr&&(br?rt=rt.replace(\"italic \",\"italic bold \"):rt=\"bold \"+rt),Rr&&!gr&&(rt=rt.replace(\"bold \",\"\"))}if(N.italics===!0){var br=ue.indexOf(T)>-1,_t=Oe.indexOf(T)>-1;!br&&_t&&(rt=\"italic \"+rt),br&&!_t&&(rt=rt.replace(\"italic \",\"\"))}F.font=rt}for(ae=0;ae0&&(I=O.size),O.lineSpacing&&O.lineSpacing>0&&(N=O.lineSpacing),O.styletags&&O.styletags.breaklines&&(U.breaklines=!!O.styletags.breaklines),O.styletags&&O.styletags.bolds&&(U.bolds=!!O.styletags.bolds),O.styletags&&O.styletags.italics&&(U.italics=!!O.styletags.italics),O.styletags&&O.styletags.subscripts&&(U.subscripts=!!O.styletags.subscripts),O.styletags&&O.styletags.superscripts&&(U.superscripts=!!O.styletags.superscripts)),B.font=[O.fontStyle,O.fontVariant,O.fontWeight,I+\"px\",O.font].filter(function(Q){return Q}).join(\" \"),B.textAlign=\"start\",B.textBaseline=\"alphabetic\",B.direction=\"ltr\";var W=u(F,B,z,I,N,U);return P(W,O,I)}},1538:function(e){(function(){\"use strict\";if(typeof ses<\"u\"&&ses.ok&&!ses.ok())return;function r(f){f.permitHostObjects___&&f.permitHostObjects___(r)}typeof ses<\"u\"&&(ses.weakMapPermitHostObjects=r);var o=!1;if(typeof WeakMap==\"function\"){var n=WeakMap;if(!(typeof navigator<\"u\"&&/Firefox/.test(navigator.userAgent))){var i=new n,a=Object.freeze({});if(i.set(a,1),i.get(a)!==1)o=!0;else{e.exports=WeakMap;return}}}var s=Object.prototype.hasOwnProperty,c=Object.getOwnPropertyNames,h=Object.defineProperty,p=Object.isExtensible,d=\"weakmap:\",T=d+\"ident:\"+Math.random()+\"___\";if(typeof crypto<\"u\"&&typeof crypto.getRandomValues==\"function\"&&typeof ArrayBuffer==\"function\"&&typeof Uint8Array==\"function\"){var l=new ArrayBuffer(25),_=new Uint8Array(l);crypto.getRandomValues(_),T=d+\"rand:\"+Array.prototype.map.call(_,function(f){return(f%36).toString(36)}).join(\"\")+\"___\"}function w(f){return!(f.substr(0,d.length)==d&&f.substr(f.length-3)===\"___\")}if(h(Object,\"getOwnPropertyNames\",{value:function(P){return c(P).filter(w)}}),\"getPropertyNames\"in Object){var M=Object.getPropertyNames;h(Object,\"getPropertyNames\",{value:function(P){return M(P).filter(w)}})}function E(f){if(f!==Object(f))throw new TypeError(\"Not an object: \"+f);var P=f[T];if(P&&P.key===f)return P;if(p(f)){P={key:f};try{return h(f,T,{value:P,writable:!1,enumerable:!1,configurable:!1}),P}catch{return}}}(function(){var f=Object.freeze;h(Object,\"freeze\",{value:function(F){return E(F),f(F)}});var P=Object.seal;h(Object,\"seal\",{value:function(F){return E(F),P(F)}});var L=Object.preventExtensions;h(Object,\"preventExtensions\",{value:function(F){return E(F),L(F)}})})();function m(f){return f.prototype=null,Object.freeze(f)}var b=!1;function v(){!b&&typeof console<\"u\"&&(b=!0,console.warn(\"WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future.\"))}var u=0,y=function(){this instanceof y||v();var f=[],P=[],L=u++;function z(I,N){var U,W=E(I);return W?L in W?W[L]:N:(U=f.indexOf(I),U>=0?P[U]:N)}function F(I){var N=E(I);return N?L in N:f.indexOf(I)>=0}function B(I,N){var U,W=E(I);return W?W[L]=N:(U=f.indexOf(I),U>=0?P[U]=N:(U=f.length,P[U]=N,f[U]=I)),this}function O(I){var N=E(I),U,W;return N?L in N&&delete N[L]:(U=f.indexOf(I),U<0?!1:(W=f.length-1,f[U]=void 0,P[U]=P[W],f[U]=f[W],f.length=W,P.length=W,!0))}return Object.create(y.prototype,{get___:{value:m(z)},has___:{value:m(F)},set___:{value:m(B)},delete___:{value:m(O)}})};y.prototype=Object.create(Object.prototype,{get:{value:function(P,L){return this.get___(P,L)},writable:!0,configurable:!0},has:{value:function(P){return this.has___(P)},writable:!0,configurable:!0},set:{value:function(P,L){return this.set___(P,L)},writable:!0,configurable:!0},delete:{value:function(P){return this.delete___(P)},writable:!0,configurable:!0}}),typeof n==\"function\"?function(){o&&typeof Proxy<\"u\"&&(Proxy=void 0);function f(){this instanceof y||v();var P=new n,L=void 0,z=!1;function F(N,U){return L?P.has(N)?P.get(N):L.get___(N,U):P.get(N,U)}function B(N){return P.has(N)||(L?L.has___(N):!1)}var O;o?O=function(N,U){return P.set(N,U),P.has(N)||(L||(L=new y),L.set(N,U)),this}:O=function(N,U){if(z)try{P.set(N,U)}catch{L||(L=new y),L.set___(N,U)}else P.set(N,U);return this};function I(N){var U=!!P.delete(N);return L&&L.delete___(N)||U}return Object.create(y.prototype,{get___:{value:m(F)},has___:{value:m(B)},set___:{value:m(O)},delete___:{value:m(I)},permitHostObjects___:{value:m(function(N){if(N===r)z=!0;else throw new Error(\"bogus call to permitHostObjects___\")})}})}f.prototype=y.prototype,e.exports=f,Object.defineProperty(WeakMap.prototype,\"constructor\",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<\"u\"&&(Proxy=void 0),e.exports=y)})()},236:function(e,t,r){var o=r(8284);e.exports=n;function n(){var i={};return function(a){if((typeof a!=\"object\"||a===null)&&typeof a!=\"function\")throw new Error(\"Weakmap-shim: Key must be object\");var s=a.valueOf(i);return s&&s.identity===i?s:o(a,i)}}},8284:function(e){e.exports=t;function t(r,o){var n={identity:o},i=r.valueOf;return Object.defineProperty(r,\"valueOf\",{value:function(a){return a!==o?i.apply(this,arguments):n},writable:!0}),n}},606:function(e,t,r){var o=r(236);e.exports=n;function n(){var i=o();return{get:function(a,s){var c=i(a);return c.hasOwnProperty(\"value\")?c.value:s},set:function(a,s){return i(a).value=s,this},has:function(a){return\"value\"in i(a)},delete:function(a){return delete i(a).value}}}},3349:function(e){\"use strict\";function t(){return function(s,c,h,p,d,T){var l=s[0],_=h[0],w=[0],M=_;p|=0;var E=0,m=_;for(E=0;E=0!=v>=0&&d.push(w[0]+.5+.5*(b+v)/(b-v))}p+=m,++w[0]}}}function r(){return t()}var o=r;function n(s){var c={};return function(p,d,T){var l=p.dtype,_=p.order,w=[l,_.join()].join(),M=c[w];return M||(c[w]=M=s([l,_])),M(p.shape.slice(0),p.data,p.stride,p.offset|0,d,T)}}function i(s){return n(o.bind(void 0,s))}function a(s){return i({funcName:s.funcName})}e.exports=a({funcName:\"zeroCrossings\"})},781:function(e,t,r){\"use strict\";e.exports=n;var o=r(3349);function n(i,a){var s=[];return a=+a||0,o(i.hi(i.shape[0]-1),s,a),s}},7790:function(){}},x={};function A(e){var t=x[e];if(t!==void 0)return t.exports;var r=x[e]={id:e,loaded:!1,exports:{}};return g[e].call(r.exports,r,r.exports,A),r.loaded=!0,r.exports}(function(){A.g=function(){if(typeof globalThis==\"object\")return globalThis;try{return this||new Function(\"return this\")()}catch{if(typeof window==\"object\")return window}}()})(),function(){A.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}();var S=A(1964);H.exports=S})()}}),tA=ke({\"node_modules/color-name/index.js\"(Z,H){\"use strict\";H.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}}}),mI=ke({\"node_modules/color-normalize/node_modules/color-parse/index.js\"(Z,H){\"use strict\";var g=tA();H.exports=A;var x={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function A(S){var e,t=[],r=1,o;if(typeof S==\"string\")if(S=S.toLowerCase(),g[S])t=g[S].slice(),o=\"rgb\";else if(S===\"transparent\")r=0,o=\"rgb\",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(S)){var n=S.slice(1),i=n.length,a=i<=4;r=1,a?(t=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],i===4&&(r=parseInt(n[3]+n[3],16)/255)):(t=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],i===8&&(r=parseInt(n[6]+n[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o=\"rgb\"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\\s*\\(([^\\)]*)\\)/.exec(S)){var s=e[1],c=s===\"rgb\",n=s.replace(/a$/,\"\");o=n;var i=n===\"cmyk\"?4:n===\"gray\"?1:3;t=e[2].trim().split(/\\s*[,\\/]\\s*|\\s+/).map(function(d,T){if(/%$/.test(d))return T===i?parseFloat(d)/100:n===\"rgb\"?parseFloat(d)*255/100:parseFloat(d);if(n[T]===\"h\"){if(/deg$/.test(d))return parseFloat(d);if(x[d]!==void 0)return x[d]}return parseFloat(d)}),s===n&&t.push(1),r=c||t[i]===void 0?1:t[i],t=t.slice(0,i)}else S.length>10&&/[0-9](?:\\s|\\/)/.test(S)&&(t=S.match(/([0-9]+)/g).map(function(h){return parseFloat(h)}),o=S.match(/([a-z])/ig).join(\"\").toLowerCase());else isNaN(S)?Array.isArray(S)||S.length?(t=[S[0],S[1],S[2]],o=\"rgb\",r=S.length===4?S[3]:1):S instanceof Object&&(S.r!=null||S.red!=null||S.R!=null?(o=\"rgb\",t=[S.r||S.red||S.R||0,S.g||S.green||S.G||0,S.b||S.blue||S.B||0]):(o=\"hsl\",t=[S.h||S.hue||S.H||0,S.s||S.saturation||S.S||0,S.l||S.lightness||S.L||S.b||S.brightness]),r=S.a||S.alpha||S.opacity||1,S.opacity!=null&&(r/=100)):(o=\"rgb\",t=[S>>>16,(S&65280)>>>8,S&255]);return{space:o,values:t,alpha:r}}}}),gI=ke({\"node_modules/color-normalize/node_modules/color-rgba/index.js\"(Z,H){\"use strict\";var g=mI();H.exports=function(S){Array.isArray(S)&&S.raw&&(S=String.raw.apply(null,arguments));var e,t,r,o=g(S);if(!o.space)return[];var n=[0,0,0],i=o.space[0]===\"h\"?[360,100,100]:[255,255,255];return e=Array(3),e[0]=Math.min(Math.max(o.values[0],n[0]),i[0]),e[1]=Math.min(Math.max(o.values[1],n[1]),i[1]),e[2]=Math.min(Math.max(o.values[2],n[2]),i[2]),o.space[0]===\"h\"&&(e=x(e)),e.push(Math.min(Math.max(o.alpha,0),1)),e};function x(A){var S=A[0]/360,e=A[1]/100,t=A[2]/100,r,o,n,i,a,s=0;if(e===0)return a=t*255,[a,a,a];for(o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,i=[0,0,0];s<3;)n=S+1/3*-(s-1),n<0?n++:n>1&&n--,a=6*n<1?r+(o-r)*6*n:2*n<1?o:3*n<2?r+(o-r)*(2/3-n)*6:r,i[s++]=a*255;return i}}}),V0=ke({\"node_modules/clamp/index.js\"(Z,H){H.exports=g;function g(x,A,S){return AS?S:x:xA?A:x}}}),Hx=ke({\"node_modules/dtype/index.js\"(Z,H){H.exports=function(g){switch(g){case\"int8\":return Int8Array;case\"int16\":return Int16Array;case\"int32\":return Int32Array;case\"uint8\":return Uint8Array;case\"uint16\":return Uint16Array;case\"uint32\":return Uint32Array;case\"float32\":return Float32Array;case\"float64\":return Float64Array;case\"array\":return Array;case\"uint8_clamped\":return Uint8ClampedArray}}}}),Zp=ke({\"node_modules/color-normalize/index.js\"(Z,H){\"use strict\";var g=gI(),x=V0(),A=Hx();H.exports=function(t,r){(r===\"float\"||!r)&&(r=\"array\"),r===\"uint\"&&(r=\"uint8\"),r===\"uint_clamped\"&&(r=\"uint8_clamped\");var o=A(r),n=new o(4),i=r!==\"uint8\"&&r!==\"uint8_clamped\";return(!t.length||typeof t==\"string\")&&(t=g(t),t[0]/=255,t[1]/=255,t[2]/=255),S(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:255,i&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(i?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:1):(n[0]=x(Math.floor(t[0]*255),0,255),n[1]=x(Math.floor(t[1]*255),0,255),n[2]=x(Math.floor(t[2]*255),0,255),n[3]=t[3]==null?255:x(Math.floor(t[3]*255),0,255)),n)};function S(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}}}),rp=ke({\"src/lib/str2rgbarray.js\"(Z,H){\"use strict\";var g=Zp();function x(A){return A?g(A):[0,0,0,1]}H.exports=x}}),np=ke({\"src/lib/gl_format_color.js\"(Z,H){\"use strict\";var g=Yn(),x=ru(),A=Zp(),S=ku(),e=If().defaultLine,t=Oa().isArrayOrTypedArray,r=A(e),o=1;function n(h,p){var d=h;return d[3]*=p,d}function i(h){if(g(h))return r;var p=A(h);return p.length?p:r}function a(h){return g(h)?h:o}function s(h,p,d){var T=h.color;T&&T._inputArray&&(T=T._inputArray);var l=t(T),_=t(p),w=S.extractOpts(h),M=[],E,m,b,v,u;if(w.colorscale!==void 0?E=S.makeColorScaleFuncFromTrace(h):E=i,l?m=function(f,P){return f[P]===void 0?r:A(E(f[P]))}:m=i,_?b=function(f,P){return f[P]===void 0?o:a(f[P])}:b=a,l||_)for(var y=0;y0){var d=o.c2l(h);o._lowerLogErrorBound||(o._lowerLogErrorBound=d),o._lowerErrorBound=Math.min(o._lowerLogErrorBound,d)}}else i[a]=[-s[0]*r,s[1]*r]}return i}function A(e){for(var t=0;t-1?-1:P.indexOf(\"right\")>-1?1:0}function w(P){return P==null?0:P.indexOf(\"top\")>-1?-1:P.indexOf(\"bottom\")>-1?1:0}function M(P){var L=0,z=0,F=[L,z];if(Array.isArray(P))for(var B=0;B=0){var W=T(N.position,N.delaunayColor,N.delaunayAxis);W.opacity=P.opacity,this.delaunayMesh?this.delaunayMesh.update(W):(W.gl=L,this.delaunayMesh=S(W),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},d.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function f(P,L){var z=new p(P,L.uid);return z.update(L),z}H.exports=f}}),nA=ke({\"src/traces/scatter3d/attributes.js\"(Z,H){\"use strict\";var g=Cc(),x=Il(),A=ou(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ol(),o=rA(),n=Gx(),i=To().extendFlat,a=ju().overrideAll,s=Ip(),c=g.line,h=g.marker,p=h.line,d=i({width:c.width,dash:{valType:\"enumerated\",values:s(o),dflt:\"solid\"}},A(\"line\"));function T(_){return{show:{valType:\"boolean\",dflt:!1},opacity:{valType:\"number\",min:0,max:1,dflt:1},scale:{valType:\"number\",min:0,max:10,dflt:2/3}}}var l=H.exports=a({x:g.x,y:g.y,z:{valType:\"data_array\"},text:i({},g.text,{}),texttemplate:t({},{}),hovertext:i({},g.hovertext,{}),hovertemplate:e(),xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\"),mode:i({},g.mode,{dflt:\"lines+markers\"}),surfaceaxis:{valType:\"enumerated\",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:\"color\"},projection:{x:T(\"x\"),y:T(\"y\"),z:T(\"z\")},connectgaps:g.connectgaps,line:d,marker:i({symbol:{valType:\"enumerated\",values:s(n),dflt:\"circle\",arrayOk:!0},size:i({},h.size,{dflt:8}),sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,opacity:i({},h.opacity,{arrayOk:!1}),colorbar:h.colorbar,line:i({width:i({},p.width,{arrayOk:!1})},A(\"marker.line\"))},A(\"marker\")),textposition:i({},g.textposition,{dflt:\"top center\"}),textfont:x({noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,editType:\"calc\",colorEditType:\"style\",arrayOk:!0,variantValues:[\"normal\",\"small-caps\"]}),opacity:r.opacity,hoverinfo:i({},r.hoverinfo)},\"calc\",\"nested\");l.x.editType=l.y.editType=l.z.editType=\"calc+clearAxisTypes\"}}),xI=ke({\"src/traces/scatter3d/defaults.js\"(Z,H){\"use strict\";var g=lo(),x=un(),A=vu(),S=Fd(),e=Hd(),t=Gd(),r=nA();H.exports=function(i,a,s,c){function h(E,m){return x.coerce(i,a,r,E,m)}var p=o(i,a,h,c);if(!p){a.visible=!1;return}h(\"text\"),h(\"hovertext\"),h(\"hovertemplate\"),h(\"xhoverformat\"),h(\"yhoverformat\"),h(\"zhoverformat\"),h(\"mode\"),A.hasMarkers(a)&&S(i,a,s,c,h,{noSelect:!0,noAngle:!0}),A.hasLines(a)&&(h(\"connectgaps\"),e(i,a,s,c,h)),A.hasText(a)&&(h(\"texttemplate\"),t(i,a,c,h,{noSelect:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0}));var d=(a.line||{}).color,T=(a.marker||{}).color;h(\"surfaceaxis\")>=0&&h(\"surfacecolor\",d||T);for(var l=[\"x\",\"y\",\"z\"],_=0;_<3;++_){var w=\"projection.\"+l[_];h(w+\".show\")&&(h(w+\".opacity\"),h(w+\".scale\"))}var M=g.getComponentMethod(\"errorbars\",\"supplyDefaults\");M(i,a,d||T||s,{axis:\"z\"}),M(i,a,d||T||s,{axis:\"y\",inherit:\"z\"}),M(i,a,d||T||s,{axis:\"x\",inherit:\"z\"})};function o(n,i,a,s){var c=0,h=a(\"x\"),p=a(\"y\"),d=a(\"z\"),T=g.getComponentMethod(\"calendars\",\"handleTraceDefaults\");return T(n,i,[\"x\",\"y\",\"z\"],s),h&&p&&d&&(c=Math.min(h.length,p.length,d.length),i._length=i._xlength=i._ylength=i._zlength=c),c}}}),bI=ke({\"src/traces/scatter3d/calc.js\"(Z,H){\"use strict\";var g=Lv(),x=Wd();H.exports=function(S,e){var t=[{x:!1,y:!1,trace:e,t:{}}];return g(t,e),x(S,e),t}}}),wI=ke({\"node_modules/get-canvas-context/index.js\"(Z,H){H.exports=g;function g(x,A){if(typeof x!=\"string\")throw new TypeError(\"must specify type string\");if(A=A||{},typeof document>\"u\"&&!A.canvas)return null;var S=A.canvas||document.createElement(\"canvas\");typeof A.width==\"number\"&&(S.width=A.width),typeof A.height==\"number\"&&(S.height=A.height);var e=A,t;try{var r=[x];x.indexOf(\"webgl\")===0&&r.push(\"experimental-\"+x);for(var o=0;o/g,\" \"));a[s]=d,c.tickmode=h}}o.ticks=a;for(var s=0;s<3;++s){S[s]=.5*(r.glplot.bounds[0][s]+r.glplot.bounds[1][s]);for(var T=0;T<2;++T)o.bounds[T][s]=r.glplot.bounds[T][s]}r.contourLevels=e(a)}}}),EI=ke({\"src/plots/gl3d/scene.js\"(Z,H){\"use strict\";var g=Mh().gl_plot3d,x=g.createCamera,A=g.createScene,S=TI(),e=f_(),t=lo(),r=un(),o=r.preserveDrawingBuffer(),n=Ho(),i=Ec(),a=rp(),s=iA(),c=M2(),h=AI(),p=MI(),d=SI(),T=lv().applyAutorangeOptions,l,_,w=!1;function M(z,F){var B=document.createElement(\"div\"),O=z.container;this.graphDiv=z.graphDiv;var I=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");I.style.position=\"absolute\",I.style.top=I.style.left=\"0px\",I.style.width=I.style.height=\"100%\",I.style[\"z-index\"]=20,I.style[\"pointer-events\"]=\"none\",B.appendChild(I),this.svgContainer=I,B.id=z.id,B.style.position=\"absolute\",B.style.top=B.style.left=\"0px\",B.style.width=B.style.height=\"100%\",O.appendChild(B),this.fullLayout=F,this.id=z.id||\"scene\",this.fullSceneLayout=F[this.id],this.plotArgs=[[],{},{}],this.axesOptions=h(F,F[this.id]),this.spikeOptions=p(F[this.id]),this.container=B,this.staticMode=!!z.staticPlot,this.pixelRatio=this.pixelRatio||z.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=t.getComponentMethod(\"annotations3d\",\"convert\"),this.drawAnnotations=t.getComponentMethod(\"annotations3d\",\"draw\"),this.initializeGLPlot()}var E=M.prototype;E.prepareOptions=function(){var z=this,F={canvas:z.canvas,gl:z.gl,glOptions:{preserveDrawingBuffer:o,premultipliedAlpha:!0,antialias:!0},container:z.container,axes:z.axesOptions,spikes:z.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:z.camera,pixelRatio:z.pixelRatio};if(z.staticMode){if(!_&&(l=document.createElement(\"canvas\"),_=S({canvas:l,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!_))throw new Error(\"error creating static canvas/context for image server\");F.gl=_,F.canvas=l}return F};var m=!0;E.tryCreatePlot=function(){var z=this,F=z.prepareOptions(),B=!0;try{z.glplot=A(F)}catch{if(z.staticMode||!m||o)B=!1;else{r.warn([\"webgl setup failed possibly due to\",\"false preserveDrawingBuffer config.\",\"The mobile/tablet device may not be detected by is-mobile module.\",\"Enabling preserveDrawingBuffer in second attempt to create webgl scene...\"].join(\" \"));try{o=F.glOptions.preserveDrawingBuffer=!0,z.glplot=A(F)}catch{o=F.glOptions.preserveDrawingBuffer=!1,B=!1}}}return m=!1,B},E.initializeGLCamera=function(){var z=this,F=z.fullSceneLayout.camera,B=F.projection.type===\"orthographic\";z.camera=x(z.container,{center:[F.center.x,F.center.y,F.center.z],eye:[F.eye.x,F.eye.y,F.eye.z],up:[F.up.x,F.up.y,F.up.z],_ortho:B,zoomMin:.01,zoomMax:100,mode:\"orbit\"})},E.initializeGLPlot=function(){var z=this;z.initializeGLCamera();var F=z.tryCreatePlot();if(!F)return s(z);z.traces={},z.make4thDimension();var B=z.graphDiv,O=B.layout,I=function(){var U={};return z.isCameraChanged(O)&&(U[z.id+\".camera\"]=z.getCamera()),z.isAspectChanged(O)&&(U[z.id+\".aspectratio\"]=z.glplot.getAspectratio(),O[z.id].aspectmode!==\"manual\"&&(z.fullSceneLayout.aspectmode=O[z.id].aspectmode=U[z.id+\".aspectmode\"]=\"manual\")),U},N=function(U){if(U.fullSceneLayout.dragmode!==!1){var W=I();U.saveLayout(O),U.graphDiv.emit(\"plotly_relayout\",W)}};return z.glplot.canvas&&(z.glplot.canvas.addEventListener(\"mouseup\",function(){N(z)}),z.glplot.canvas.addEventListener(\"touchstart\",function(){w=!0}),z.glplot.canvas.addEventListener(\"wheel\",function(U){if(B._context._scrollZoom.gl3d){if(z.camera._ortho){var W=U.deltaX>U.deltaY?1.1:.9090909090909091,Q=z.glplot.getAspectratio();z.glplot.setAspectratio({x:W*Q.x,y:W*Q.y,z:W*Q.z})}N(z)}},e?{passive:!1}:!1),z.glplot.canvas.addEventListener(\"mousemove\",function(){if(z.fullSceneLayout.dragmode!==!1&&z.camera.mouseListener.buttons!==0){var U=I();z.graphDiv.emit(\"plotly_relayouting\",U)}}),z.staticMode||z.glplot.canvas.addEventListener(\"webglcontextlost\",function(U){B&&B.emit&&B.emit(\"plotly_webglcontextlost\",{event:U,layer:z.id})},!1)),z.glplot.oncontextloss=function(){z.recoverContext()},z.glplot.onrender=function(){z.render()},!0},E.render=function(){var z=this,F=z.graphDiv,B,O=z.svgContainer,I=z.container.getBoundingClientRect();F._fullLayout._calcInverseTransform(F);var N=F._fullLayout._invScaleX,U=F._fullLayout._invScaleY,W=I.width*N,Q=I.height*U;O.setAttributeNS(null,\"viewBox\",\"0 0 \"+W+\" \"+Q),O.setAttributeNS(null,\"width\",W),O.setAttributeNS(null,\"height\",Q),d(z),z.glplot.axes.update(z.axesOptions);for(var le=Object.keys(z.traces),se=null,fe=z.glplot.selection,G=0;G\")):B.type===\"isosurface\"||B.type===\"volume\"?(ae.valueLabel=n.hoverLabelText(z._mockAxis,z._mockAxis.d2l(fe.traceCoordinate[3]),B.valuehoverformat),xe.push(\"value: \"+ae.valueLabel),fe.textLabel&&xe.push(fe.textLabel),ce=xe.join(\"
\")):ce=fe.textLabel;var Te={x:fe.traceCoordinate[0],y:fe.traceCoordinate[1],z:fe.traceCoordinate[2],data:X._input,fullData:X,curveNumber:X.index,pointNumber:re};i.appendArrayPointValue(Te,X,re),B._module.eventData&&(Te=X._module.eventData(Te,fe,X,{},re));var Ue={points:[Te]};if(z.fullSceneLayout.hovermode){var Ie=[];i.loneHover({trace:X,x:(.5+.5*J[0]/J[3])*W,y:(.5-.5*J[1]/J[3])*Q,xLabel:ae.xLabel,yLabel:ae.yLabel,zLabel:ae.zLabel,text:ce,name:se.name,color:i.castHoverOption(X,re,\"bgcolor\")||se.color,borderColor:i.castHoverOption(X,re,\"bordercolor\"),fontFamily:i.castHoverOption(X,re,\"font.family\"),fontSize:i.castHoverOption(X,re,\"font.size\"),fontColor:i.castHoverOption(X,re,\"font.color\"),nameLength:i.castHoverOption(X,re,\"namelength\"),textAlign:i.castHoverOption(X,re,\"align\"),hovertemplate:r.castOption(X,re,\"hovertemplate\"),hovertemplateLabels:r.extendFlat({},Te,ae),eventData:[Te]},{container:O,gd:F,inOut_bbox:Ie}),Te.bbox=Ie[0]}fe.distance<5&&(fe.buttons||w)?F.emit(\"plotly_click\",Ue):F.emit(\"plotly_hover\",Ue),this.oldEventData=Ue}else i.loneUnhover(O),this.oldEventData&&F.emit(\"plotly_unhover\",this.oldEventData),this.oldEventData=void 0;z.drawAnnotations(z)},E.recoverContext=function(){var z=this;z.glplot.dispose();var F=function(){if(z.glplot.gl.isContextLost()){requestAnimationFrame(F);return}if(!z.initializeGLPlot()){r.error(\"Catastrophic and unrecoverable WebGL error. Context lost.\");return}z.plot.apply(z,z.plotArgs)};requestAnimationFrame(F)};var b=[\"xaxis\",\"yaxis\",\"zaxis\"];function v(z,F,B){for(var O=z.fullSceneLayout,I=0;I<3;I++){var N=b[I],U=N.charAt(0),W=O[N],Q=F[U],le=F[U+\"calendar\"],se=F[\"_\"+U+\"length\"];if(!r.isArrayOrTypedArray(Q))B[0][I]=Math.min(B[0][I],0),B[1][I]=Math.max(B[1][I],se-1);else for(var fe,G=0;G<(se||Q.length);G++)if(r.isArrayOrTypedArray(Q[G]))for(var $=0;$X[1][U])X[0][U]=-1,X[1][U]=1;else{var it=X[1][U]-X[0][U];X[0][U]-=it/32,X[1][U]+=it/32}if(j=[X[0][U],X[1][U]],j=T(j,Q),X[0][U]=j[0],X[1][U]=j[1],Q.isReversed()){var at=X[0][U];X[0][U]=X[1][U],X[1][U]=at}}else j=Q.range,X[0][U]=Q.r2l(j[0]),X[1][U]=Q.r2l(j[1]);X[0][U]===X[1][U]&&(X[0][U]-=1,X[1][U]+=1),re[U]=X[1][U]-X[0][U],Q.range=[X[0][U],X[1][U]],Q.limitRange(),O.glplot.setBounds(U,{min:Q.range[0]*$[U],max:Q.range[1]*$[U]})}var tt,ut=se.aspectmode;if(ut===\"cube\")tt=[1,1,1];else if(ut===\"manual\"){var Me=se.aspectratio;tt=[Me.x,Me.y,Me.z]}else if(ut===\"auto\"||ut===\"data\"){var pe=[1,1,1];for(U=0;U<3;++U){Q=se[b[U]],le=Q.type;var ue=ae[le];pe[U]=Math.pow(ue.acc,1/ue.count)/$[U]}ut===\"data\"||Math.max.apply(null,pe)/Math.min.apply(null,pe)<=4?tt=pe:tt=[1,1,1]}else throw new Error(\"scene.js aspectRatio was not one of the enumerated types\");se.aspectratio.x=fe.aspectratio.x=tt[0],se.aspectratio.y=fe.aspectratio.y=tt[1],se.aspectratio.z=fe.aspectratio.z=tt[2],O.glplot.setAspectratio(se.aspectratio),O.viewInitial.aspectratio||(O.viewInitial.aspectratio={x:se.aspectratio.x,y:se.aspectratio.y,z:se.aspectratio.z}),O.viewInitial.aspectmode||(O.viewInitial.aspectmode=se.aspectmode);var Oe=se.domain||null,rt=F._size||null;if(Oe&&rt){var ot=O.container.style;ot.position=\"absolute\",ot.left=rt.l+Oe.x[0]*rt.w+\"px\",ot.top=rt.t+(1-Oe.y[1])*rt.h+\"px\",ot.width=rt.w*(Oe.x[1]-Oe.x[0])+\"px\",ot.height=rt.h*(Oe.y[1]-Oe.y[0])+\"px\"}O.glplot.redraw()}},E.destroy=function(){var z=this;z.glplot&&(z.camera.mouseListener.enabled=!1,z.container.removeEventListener(\"wheel\",z.camera.wheelListener),z.camera=null,z.glplot.dispose(),z.container.parentNode.removeChild(z.container),z.glplot=null)};function y(z){return[[z.eye.x,z.eye.y,z.eye.z],[z.center.x,z.center.y,z.center.z],[z.up.x,z.up.y,z.up.z]]}function f(z){return{up:{x:z.up[0],y:z.up[1],z:z.up[2]},center:{x:z.center[0],y:z.center[1],z:z.center[2]},eye:{x:z.eye[0],y:z.eye[1],z:z.eye[2]},projection:{type:z._ortho===!0?\"orthographic\":\"perspective\"}}}E.getCamera=function(){var z=this;return z.camera.view.recalcMatrix(z.camera.view.lastT()),f(z.camera)},E.setViewport=function(z){var F=this,B=z.camera;F.camera.lookAt.apply(this,y(B)),F.glplot.setAspectratio(z.aspectratio);var O=B.projection.type===\"orthographic\",I=F.camera._ortho;O!==I&&(F.glplot.redraw(),F.glplot.clearRGBA(),F.glplot.dispose(),F.initializeGLPlot())},E.isCameraChanged=function(z){var F=this,B=F.getCamera(),O=r.nestedProperty(z,F.id+\".camera\"),I=O.get();function N(le,se,fe,G){var $=[\"up\",\"center\",\"eye\"],J=[\"x\",\"y\",\"z\"];return se[$[fe]]&&le[$[fe]][J[G]]===se[$[fe]][J[G]]}var U=!1;if(I===void 0)U=!0;else{for(var W=0;W<3;W++)for(var Q=0;Q<3;Q++)if(!N(B,I,W,Q)){U=!0;break}(!I.projection||B.projection&&B.projection.type!==I.projection.type)&&(U=!0)}return U},E.isAspectChanged=function(z){var F=this,B=F.glplot.getAspectratio(),O=r.nestedProperty(z,F.id+\".aspectratio\"),I=O.get();return I===void 0||I.x!==B.x||I.y!==B.y||I.z!==B.z},E.saveLayout=function(z){var F=this,B=F.fullLayout,O,I,N,U,W,Q,le=F.isCameraChanged(z),se=F.isAspectChanged(z),fe=le||se;if(fe){var G={};if(le&&(O=F.getCamera(),I=r.nestedProperty(z,F.id+\".camera\"),N=I.get(),G[F.id+\".camera\"]=N),se&&(U=F.glplot.getAspectratio(),W=r.nestedProperty(z,F.id+\".aspectratio\"),Q=W.get(),G[F.id+\".aspectratio\"]=Q),t.call(\"_storeDirectGUIEdit\",z,B._preGUI,G),le){I.set(O);var $=r.nestedProperty(B,F.id+\".camera\");$.set(O)}if(se){W.set(U);var J=r.nestedProperty(B,F.id+\".aspectratio\");J.set(U),F.glplot.redraw()}}return fe},E.updateFx=function(z,F){var B=this,O=B.camera;if(O)if(z===\"orbit\")O.mode=\"orbit\",O.keyBindingMode=\"rotate\";else if(z===\"turntable\"){O.up=[0,0,1],O.mode=\"turntable\",O.keyBindingMode=\"rotate\";var I=B.graphDiv,N=I._fullLayout,U=B.fullSceneLayout.camera,W=U.up.x,Q=U.up.y,le=U.up.z;if(le/Math.sqrt(W*W+Q*Q+le*le)<.999){var se=B.id+\".camera.up\",fe={x:0,y:0,z:1},G={};G[se]=fe;var $=I.layout;t.call(\"_storeDirectGUIEdit\",$,N._preGUI,G),U.up=fe,r.nestedProperty($,se).set(fe)}}else O.keyBindingMode=z;B.fullSceneLayout.hovermode=F};function P(z,F,B){for(var O=0,I=B-1;O0)for(var W=255/U,Q=0;Q<3;++Q)z[N+Q]=Math.min(W*z[N+Q],255)}}E.toImage=function(z){var F=this;z||(z=\"png\"),F.staticMode&&F.container.appendChild(l),F.glplot.redraw();var B=F.glplot.gl,O=B.drawingBufferWidth,I=B.drawingBufferHeight;B.bindFramebuffer(B.FRAMEBUFFER,null);var N=new Uint8Array(O*I*4);B.readPixels(0,0,O,I,B.RGBA,B.UNSIGNED_BYTE,N),P(N,O,I),L(N,O,I);var U=document.createElement(\"canvas\");U.width=O,U.height=I;var W=U.getContext(\"2d\",{willReadFrequently:!0}),Q=W.createImageData(O,I);Q.data.set(N),W.putImageData(Q,0,0);var le;switch(z){case\"jpeg\":le=U.toDataURL(\"image/jpeg\");break;case\"webp\":le=U.toDataURL(\"image/webp\");break;default:le=U.toDataURL(\"image/png\")}return F.staticMode&&F.container.removeChild(l),le},E.setConvert=function(){for(var z=this,F=0;F<3;F++){var B=z.fullSceneLayout[b[F]];n.setConvert(B,z.fullLayout),B.setScale=r.noop}},E.make4thDimension=function(){var z=this,F=z.graphDiv,B=F._fullLayout;z._mockAxis={type:\"linear\",showexponent:\"all\",exponentformat:\"B\"},n.setConvert(z._mockAxis,B)},H.exports=M}}),CI=ke({\"src/plots/gl3d/layout/attributes.js\"(Z,H){\"use strict\";H.exports={scene:{valType:\"subplotid\",dflt:\"scene\",editType:\"calc+clearAxisTypes\"}}}}),aA=ke({\"src/plots/gl3d/layout/axis_attributes.js\"(Z,H){\"use strict\";var g=eo(),x=wh(),A=To().extendFlat,S=ju().overrideAll;H.exports=S({visible:x.visible,showspikes:{valType:\"boolean\",dflt:!0},spikesides:{valType:\"boolean\",dflt:!0},spikethickness:{valType:\"number\",min:0,dflt:2},spikecolor:{valType:\"color\",dflt:g.defaultLine},showbackground:{valType:\"boolean\",dflt:!1},backgroundcolor:{valType:\"color\",dflt:\"rgba(204, 204, 204, 0.5)\"},showaxeslabels:{valType:\"boolean\",dflt:!0},color:x.color,categoryorder:x.categoryorder,categoryarray:x.categoryarray,title:{text:x.title.text,font:x.title.font},type:A({},x.type,{values:[\"-\",\"linear\",\"log\",\"date\",\"category\"]}),autotypenumbers:x.autotypenumbers,autorange:x.autorange,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:\"plot\"},rangemode:x.rangemode,minallowed:x.minallowed,maxallowed:x.maxallowed,range:A({},x.range,{items:[{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}}],anim:!1}),tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,mirror:x.mirror,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,tickfont:x.tickfont,tickangle:x.tickangle,tickprefix:x.tickprefix,showtickprefix:x.showtickprefix,ticksuffix:x.ticksuffix,showticksuffix:x.showticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickformat:x.tickformat,tickformatstops:x.tickformatstops,hoverformat:x.hoverformat,showline:x.showline,linecolor:x.linecolor,linewidth:x.linewidth,showgrid:x.showgrid,gridcolor:A({},x.gridcolor,{dflt:\"rgb(204, 204, 204)\"}),gridwidth:x.gridwidth,zeroline:x.zeroline,zerolinecolor:x.zerolinecolor,zerolinewidth:x.zerolinewidth},\"plot\",\"from-root\")}}),oA=ke({\"src/plots/gl3d/layout/layout_attributes.js\"(Z,H){\"use strict\";var g=aA(),x=Yu().attributes,A=To().extendFlat,S=un().counterRegex;function e(t,r,o){return{x:{valType:\"number\",dflt:t,editType:\"camera\"},y:{valType:\"number\",dflt:r,editType:\"camera\"},z:{valType:\"number\",dflt:o,editType:\"camera\"},editType:\"camera\"}}H.exports={_arrayAttrRegexps:[S(\"scene\",\".annotations\",!0)],bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"plot\"},camera:{up:A(e(0,0,1),{}),center:A(e(0,0,0),{}),eye:A(e(1.25,1.25,1.25),{}),projection:{type:{valType:\"enumerated\",values:[\"perspective\",\"orthographic\"],dflt:\"perspective\",editType:\"calc\"},editType:\"calc\"},editType:\"camera\"},domain:x({name:\"scene\",editType:\"plot\"}),aspectmode:{valType:\"enumerated\",values:[\"auto\",\"cube\",\"data\",\"manual\"],dflt:\"auto\",editType:\"plot\",impliedEdits:{\"aspectratio.x\":void 0,\"aspectratio.y\":void 0,\"aspectratio.z\":void 0}},aspectratio:{x:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},y:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},z:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},editType:\"plot\",impliedEdits:{aspectmode:\"manual\"}},xaxis:g,yaxis:g,zaxis:g,dragmode:{valType:\"enumerated\",values:[\"orbit\",\"turntable\",\"zoom\",\"pan\",!1],editType:\"plot\"},hovermode:{valType:\"enumerated\",values:[\"closest\",!1],dflt:\"closest\",editType:\"modebar\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"plot\"}}}),kI=ke({\"src/plots/gl3d/layout/axis_defaults.js\"(Z,H){\"use strict\";var g=ru().mix,x=un(),A=yl(),S=aA(),e=T2(),t=s0(),r=[\"xaxis\",\"yaxis\",\"zaxis\"],o=100*136/187;H.exports=function(i,a,s){var c,h;function p(l,_){return x.coerce(c,h,S,l,_)}for(var d=0;d1;function p(d){if(!h){var T=g.validate(a[d],t[d]);if(T)return a[d]}}S(a,s,c,{type:o,attributes:t,handleDefaults:n,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:p,autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})};function n(i,a,s,c){for(var h=s(\"bgcolor\"),p=x.combine(h,c.paper_bgcolor),d=[\"up\",\"center\",\"eye\"],T=0;T.999)&&(E=\"turntable\")}else E=\"turntable\";s(\"dragmode\",E),s(\"hovermode\",c.getDfltFromLayout(\"hovermode\"))}}}),Yp=ke({\"src/plots/gl3d/index.js\"(Z){\"use strict\";var H=ju().overrideAll,g=vl(),x=EI(),A=bh().getSubplotData,S=un(),e=zd(),t=\"gl3d\",r=\"scene\";Z.name=t,Z.attr=r,Z.idRoot=r,Z.idRegex=Z.attrRegex=S.counterRegex(\"scene\"),Z.attributes=CI(),Z.layoutAttributes=oA(),Z.baseLayoutAttrOverrides=H({hoverlabel:g.hoverlabel},\"plot\",\"nested\"),Z.supplyLayoutDefaults=LI(),Z.plot=function(n){for(var i=n._fullLayout,a=n._fullData,s=i._subplots[t],c=0;c0){P=c[L];break}return P}function T(y,f){if(!(y<1||f<1)){for(var P=p(y),L=p(f),z=1,F=0;FM;)L--,L/=d(L),L++,L1?z:1};function E(y,f,P){var L=P[8]+P[2]*f[0]+P[5]*f[1];return y[0]=(P[6]+P[0]*f[0]+P[3]*f[1])/L,y[1]=(P[7]+P[1]*f[0]+P[4]*f[1])/L,y}function m(y,f,P){return b(y,f,E,P),y}function b(y,f,P,L){for(var z=[0,0],F=y.shape[0],B=y.shape[1],O=0;O0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(f[L]=!0,z=this.contourStart[L];zQ&&(this.minValues[N]=Q),this.maxValues[N]c&&(o.isomin=null,o.isomax=null);var h=a(\"x\"),p=a(\"y\"),d=a(\"z\"),T=a(\"value\");if(!h||!h.length||!p||!p.length||!d||!d.length||!T||!T.length){o.visible=!1;return}var l=x.getComponentMethod(\"calendars\",\"handleTraceDefaults\");l(r,o,[\"x\",\"y\",\"z\"],i),a(\"valuehoverformat\"),[\"x\",\"y\",\"z\"].forEach(function(E){a(E+\"hoverformat\");var m=\"caps.\"+E,b=a(m+\".show\");b&&a(m+\".fill\");var v=\"slices.\"+E,u=a(v+\".show\");u&&(a(v+\".fill\"),a(v+\".locations\"))});var _=a(\"spaceframe.show\");_&&a(\"spaceframe.fill\");var w=a(\"surface.show\");w&&(a(\"surface.count\"),a(\"surface.fill\"),a(\"surface.pattern\"));var M=a(\"contour.show\");M&&(a(\"contour.color\"),a(\"contour.width\")),[\"text\",\"hovertext\",\"hovertemplate\",\"lighting.ambient\",\"lighting.diffuse\",\"lighting.specular\",\"lighting.roughness\",\"lighting.fresnel\",\"lighting.vertexnormalsepsilon\",\"lighting.facenormalsepsilon\",\"lightposition.x\",\"lightposition.y\",\"lightposition.z\",\"flatshading\",\"opacity\"].forEach(function(E){a(E)}),S(r,o,i,a,{prefix:\"\",cLetter:\"c\"}),o._length=null}H.exports={supplyDefaults:e,supplyIsoDefaults:t}}}),Xx=ke({\"src/traces/streamtube/calc.js\"(Z,H){\"use strict\";var g=un(),x=od();function A(r,o){o._len=Math.min(o.u.length,o.v.length,o.w.length,o.x.length,o.y.length,o.z.length),o._u=t(o.u,o._len),o._v=t(o.v,o._len),o._w=t(o.w,o._len),o._x=t(o.x,o._len),o._y=t(o.y,o._len),o._z=t(o.z,o._len);var n=S(o);o._gridFill=n.fill,o._Xs=n.Xs,o._Ys=n.Ys,o._Zs=n.Zs,o._len=n.len;var i=0,a,s,c;o.starts&&(a=t(o.starts.x||[]),s=t(o.starts.y||[]),c=t(o.starts.z||[]),i=Math.min(a.length,s.length,c.length)),o._startsX=a||[],o._startsY=s||[],o._startsZ=c||[];var h=0,p=1/0,d;for(d=0;d1&&(u=o[a-1],f=n[a-1],L=i[a-1]),s=0;su?\"-\":\"+\")+\"x\"),M=M.replace(\"y\",(y>f?\"-\":\"+\")+\"y\"),M=M.replace(\"z\",(P>L?\"-\":\"+\")+\"z\");var O=function(){a=0,z=[],F=[],B=[]};(!a||a0;p--){var d=Math.min(h[p],h[p-1]),T=Math.max(h[p],h[p-1]);if(T>d&&d-1}function ee(_t,Be){return _t===null?Be:_t}function ie(_t,Be,Ke){le();var je=[Be],Se=[Ke];if(X>=1)je=[Be],Se=[Ke];else if(X>0){var He=ae(Be,Ke);je=He.xyzv,Se=He.abc}for(var Ee=0;Ee-1?Ke[Le]:Q(nt,pt,bt);Nt>-1?we[Le]=Nt:we[Le]=fe(nt,pt,bt,ee(_t,Rt))}G(we[0],we[1],we[2])}}function ce(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(2,3,0)}function xe(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(3,0,1),je(2,3,0),je(1,2,3)}function Te(_t,Be,Ke,je){var Se=_t[3];Seje&&(Se=je);for(var He=(_t[3]-Se)/(_t[3]-Be[3]+1e-9),Ee=[],we=0;we<4;we++)Ee[we]=(1-He)*_t[we]+He*Be[we];return Ee}function Ue(_t,Be,Ke){return _t>=Be&&_t<=Ke}function Ie(_t){var Be=.001*(O-B);return _t>=B-Be&&_t<=O+Be}function Ye(_t){for(var Be=[],Ke=0;Ke<4;Ke++){var je=_t[Ke];Be.push([c._x[je],c._y[je],c._z[je],c._value[je]])}return Be}var it=3;function at(_t,Be,Ke,je,Se,He){He||(He=1),Ke=[-1,-1,-1];var Ee=!1,we=[Ue(Be[0][3],je,Se),Ue(Be[1][3],je,Se),Ue(Be[2][3],je,Se)];if(!we[0]&&!we[1]&&!we[2])return!1;var Le=function(pt,bt,Rt){return Ie(bt[0][3])&&Ie(bt[1][3])&&Ie(bt[2][3])?(ie(pt,bt,Rt),!0):Hewe?[z,He]:[He,F];Bt(Be,Le[0],Le[1])}}var nt=[[Math.min(B,F),Math.max(B,F)],[Math.min(z,O),Math.max(z,O)]];[\"x\",\"y\",\"z\"].forEach(function(pt){for(var bt=[],Rt=0;Rt0&&(Rn.push(ni.id),pt===\"x\"?Nn.push([ni.distRatio,0,0]):pt===\"y\"?Nn.push([0,ni.distRatio,0]):Nn.push([0,0,ni.distRatio]))}else pt===\"x\"?pn=Rr(1,u-1):pt===\"y\"?pn=Rr(1,y-1):pn=Rr(1,f-1);Rn.length>0&&(pt===\"x\"?bt[Nt]=qt(_t,Rn,Xt,$t,Nn,bt[Nt]):pt===\"y\"?bt[Nt]=fr(_t,Rn,Xt,$t,Nn,bt[Nt]):bt[Nt]=ar(_t,Rn,Xt,$t,Nn,bt[Nt]),Nt++),pn.length>0&&(pt===\"x\"?bt[Nt]=rt(_t,pn,Xt,$t,bt[Nt]):pt===\"y\"?bt[Nt]=ot(_t,pn,Xt,$t,bt[Nt]):bt[Nt]=et(_t,pn,Xt,$t,bt[Nt]),Nt++)}var zn=c.caps[pt];zn.show&&zn.fill&&(re(zn.fill),pt===\"x\"?bt[Nt]=rt(_t,[0,u-1],Xt,$t,bt[Nt]):pt===\"y\"?bt[Nt]=ot(_t,[0,y-1],Xt,$t,bt[Nt]):bt[Nt]=et(_t,[0,f-1],Xt,$t,bt[Nt]),Nt++)}}),w===0&&se(),c._meshX=I,c._meshY=N,c._meshZ=U,c._meshIntensity=W,c._Xs=m,c._Ys=b,c._Zs=v}return br(),c}function s(c,h){var p=c.glplot.gl,d=g({gl:p}),T=new o(c,d,h.uid);return d._trace=T,T.update(h),c.glplot.add(d),T}H.exports={findNearestOnAxis:r,generateIsoMeshes:a,createIsosurfaceTrace:s}}}),OI=ke({\"src/traces/isosurface/index.js\"(Z,H){\"use strict\";H.exports={attributes:Wx(),supplyDefaults:lA().supplyDefaults,calc:uA(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:Zx().createIsosurfaceTrace,moduleType:\"trace\",name:\"isosurface\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),BI=ke({\"lib/isosurface.js\"(Z,H){\"use strict\";H.exports=OI()}}),cA=ke({\"src/traces/volume/attributes.js\"(Z,H){\"use strict\";var g=ou(),x=Wx(),A=q0(),S=Ol(),e=To().extendFlat,t=ju().overrideAll,r=H.exports=t(e({x:x.x,y:x.y,z:x.z,value:x.value,isomin:x.isomin,isomax:x.isomax,surface:x.surface,spaceframe:{show:{valType:\"boolean\",dflt:!1},fill:{valType:\"number\",min:0,max:1,dflt:1}},slices:x.slices,caps:x.caps,text:x.text,hovertext:x.hovertext,xhoverformat:x.xhoverformat,yhoverformat:x.yhoverformat,zhoverformat:x.zhoverformat,valuehoverformat:x.valuehoverformat,hovertemplate:x.hovertemplate},g(\"\",{colorAttr:\"`value`\",showScaleDflt:!0,editTypeOverride:\"calc\"}),{colorbar:x.colorbar,opacity:x.opacity,opacityscale:A.opacityscale,lightposition:x.lightposition,lighting:x.lighting,flatshading:x.flatshading,contour:x.contour,hoverinfo:e({},S.hoverinfo),showlegend:e({},S.showlegend,{dflt:!1})}),\"calc\",\"nested\");r.x.editType=r.y.editType=r.z.editType=r.value.editType=\"calc+clearAxisTypes\"}}),NI=ke({\"src/traces/volume/defaults.js\"(Z,H){\"use strict\";var g=un(),x=cA(),A=lA().supplyIsoDefaults,S=sA().opacityscaleDefaults;H.exports=function(t,r,o,n){function i(a,s){return g.coerce(t,r,x,a,s)}A(t,r,o,n,i),S(t,r,n,i)}}}),UI=ke({\"src/traces/volume/convert.js\"(Z,H){\"use strict\";var g=Mh().gl_mesh3d,x=np().parseColorScale,A=un().isArrayOrTypedArray,S=rp(),e=ku().extractOpts,t=vy(),r=Zx().findNearestOnAxis,o=Zx().generateIsoMeshes;function n(s,c,h){this.scene=s,this.uid=h,this.mesh=c,this.name=\"\",this.data=null,this.showContour=!1}var i=n.prototype;i.handlePick=function(s){if(s.object===this.mesh){var c=s.data.index,h=this.data._meshX[c],p=this.data._meshY[c],d=this.data._meshZ[c],T=this.data._Ys.length,l=this.data._Zs.length,_=r(h,this.data._Xs).id,w=r(p,this.data._Ys).id,M=r(d,this.data._Zs).id,E=s.index=M+l*w+l*T*_;s.traceCoordinate=[this.data._meshX[E],this.data._meshY[E],this.data._meshZ[E],this.data._value[E]];var m=this.data.hovertext||this.data.text;return A(m)&&m[E]!==void 0?s.textLabel=m[E]:m&&(s.textLabel=m),!0}},i.update=function(s){var c=this.scene,h=c.fullSceneLayout;this.data=o(s);function p(w,M,E,m){return M.map(function(b){return w.d2l(b,0,m)*E})}var d=t(p(h.xaxis,s._meshX,c.dataScale[0],s.xcalendar),p(h.yaxis,s._meshY,c.dataScale[1],s.ycalendar),p(h.zaxis,s._meshZ,c.dataScale[2],s.zcalendar)),T=t(s._meshI,s._meshJ,s._meshK),l={positions:d,cells:T,lightPosition:[s.lightposition.x,s.lightposition.y,s.lightposition.z],ambient:s.lighting.ambient,diffuse:s.lighting.diffuse,specular:s.lighting.specular,roughness:s.lighting.roughness,fresnel:s.lighting.fresnel,vertexNormalsEpsilon:s.lighting.vertexnormalsepsilon,faceNormalsEpsilon:s.lighting.facenormalsepsilon,opacity:s.opacity,opacityscale:s.opacityscale,contourEnable:s.contour.show,contourColor:S(s.contour.color).slice(0,3),contourWidth:s.contour.width,useFacetNormals:s.flatshading},_=e(s);l.vertexIntensity=s._meshIntensity,l.vertexIntensityBounds=[_.min,_.max],l.colormap=x(s),this.mesh.update(l)},i.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function a(s,c){var h=s.glplot.gl,p=g({gl:h}),d=new n(s,p,c.uid);return p._trace=d,d.update(c),s.glplot.add(p),d}H.exports=a}}),jI=ke({\"src/traces/volume/index.js\"(Z,H){\"use strict\";H.exports={attributes:cA(),supplyDefaults:NI(),calc:uA(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:UI(),moduleType:\"trace\",name:\"volume\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),VI=ke({\"lib/volume.js\"(Z,H){\"use strict\";H.exports=jI()}}),qI=ke({\"src/traces/mesh3d/defaults.js\"(Z,H){\"use strict\";var g=lo(),x=un(),A=Kf(),S=dy();H.exports=function(t,r,o,n){function i(p,d){return x.coerce(t,r,S,p,d)}function a(p){var d=p.map(function(T){var l=i(T);return l&&x.isArrayOrTypedArray(l)?l:null});return d.every(function(T){return T&&T.length===d[0].length})&&d}var s=a([\"x\",\"y\",\"z\"]);if(!s){r.visible=!1;return}if(a([\"i\",\"j\",\"k\"]),r.i&&(!r.j||!r.k)||r.j&&(!r.k||!r.i)||r.k&&(!r.i||!r.j)){r.visible=!1;return}var c=g.getComponentMethod(\"calendars\",\"handleTraceDefaults\");c(t,r,[\"x\",\"y\",\"z\"],n),[\"lighting.ambient\",\"lighting.diffuse\",\"lighting.specular\",\"lighting.roughness\",\"lighting.fresnel\",\"lighting.vertexnormalsepsilon\",\"lighting.facenormalsepsilon\",\"lightposition.x\",\"lightposition.y\",\"lightposition.z\",\"flatshading\",\"alphahull\",\"delaunayaxis\",\"opacity\"].forEach(function(p){i(p)});var h=i(\"contour.show\");h&&(i(\"contour.color\"),i(\"contour.width\")),\"intensity\"in t?(i(\"intensity\"),i(\"intensitymode\"),A(t,r,n,i,{prefix:\"\",cLetter:\"c\"})):(r.showscale=!1,\"facecolor\"in t?i(\"facecolor\"):\"vertexcolor\"in t?i(\"vertexcolor\"):i(\"color\",o)),i(\"text\"),i(\"hovertext\"),i(\"hovertemplate\"),i(\"xhoverformat\"),i(\"yhoverformat\"),i(\"zhoverformat\"),r._length=null}}}),HI=ke({\"src/traces/mesh3d/calc.js\"(Z,H){\"use strict\";var g=od();H.exports=function(A,S){S.intensity&&g(A,S,{vals:S.intensity,containerStr:\"\",cLetter:\"c\"})}}}),GI=ke({\"src/traces/mesh3d/convert.js\"(Z,H){\"use strict\";var g=Mh().gl_mesh3d,x=Mh().delaunay_triangulate,A=Mh().alpha_shape,S=Mh().convex_hull,e=np().parseColorScale,t=un().isArrayOrTypedArray,r=rp(),o=ku().extractOpts,n=vy();function i(l,_,w){this.scene=l,this.uid=w,this.mesh=_,this.name=\"\",this.color=\"#fff\",this.data=null,this.showContour=!1}var a=i.prototype;a.handlePick=function(l){if(l.object===this.mesh){var _=l.index=l.data.index;l.data._cellCenter?l.traceCoordinate=l.data.dataCoordinate:l.traceCoordinate=[this.data.x[_],this.data.y[_],this.data.z[_]];var w=this.data.hovertext||this.data.text;return t(w)&&w[_]!==void 0?l.textLabel=w[_]:w&&(l.textLabel=w),!0}};function s(l){for(var _=[],w=l.length,M=0;M=_-.5)return!1;return!0}a.update=function(l){var _=this.scene,w=_.fullSceneLayout;this.data=l;var M=l.x.length,E=n(c(w.xaxis,l.x,_.dataScale[0],l.xcalendar),c(w.yaxis,l.y,_.dataScale[1],l.ycalendar),c(w.zaxis,l.z,_.dataScale[2],l.zcalendar)),m;if(l.i&&l.j&&l.k){if(l.i.length!==l.j.length||l.j.length!==l.k.length||!d(l.i,M)||!d(l.j,M)||!d(l.k,M))return;m=n(h(l.i),h(l.j),h(l.k))}else l.alphahull===0?m=S(E):l.alphahull>0?m=A(l.alphahull,E):m=p(l.delaunayaxis,E);var b={positions:E,cells:m,lightPosition:[l.lightposition.x,l.lightposition.y,l.lightposition.z],ambient:l.lighting.ambient,diffuse:l.lighting.diffuse,specular:l.lighting.specular,roughness:l.lighting.roughness,fresnel:l.lighting.fresnel,vertexNormalsEpsilon:l.lighting.vertexnormalsepsilon,faceNormalsEpsilon:l.lighting.facenormalsepsilon,opacity:l.opacity,contourEnable:l.contour.show,contourColor:r(l.contour.color).slice(0,3),contourWidth:l.contour.width,useFacetNormals:l.flatshading};if(l.intensity){var v=o(l);this.color=\"#fff\";var u=l.intensitymode;b[u+\"Intensity\"]=l.intensity,b[u+\"IntensityBounds\"]=[v.min,v.max],b.colormap=e(l)}else l.vertexcolor?(this.color=l.vertexcolor[0],b.vertexColors=s(l.vertexcolor)):l.facecolor?(this.color=l.facecolor[0],b.cellColors=s(l.facecolor)):(this.color=l.color,b.meshColor=r(l.color));this.mesh.update(b)},a.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function T(l,_){var w=l.glplot.gl,M=g({gl:w}),E=new i(l,M,_.uid);return M._trace=E,E.update(_),l.glplot.add(M),E}H.exports=T}}),WI=ke({\"src/traces/mesh3d/index.js\"(Z,H){\"use strict\";H.exports={attributes:dy(),supplyDefaults:qI(),calc:HI(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:GI(),moduleType:\"trace\",name:\"mesh3d\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),XI=ke({\"lib/mesh3d.js\"(Z,H){\"use strict\";H.exports=WI()}}),fA=ke({\"src/traces/cone/attributes.js\"(Z,H){\"use strict\";var g=ou(),x=Sc().axisHoverFormat,A=Rs().hovertemplateAttrs,S=dy(),e=Ol(),t=To().extendFlat,r={x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},z:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},u:{valType:\"data_array\",editType:\"calc\"},v:{valType:\"data_array\",editType:\"calc\"},w:{valType:\"data_array\",editType:\"calc\"},sizemode:{valType:\"enumerated\",values:[\"scaled\",\"absolute\",\"raw\"],editType:\"calc\",dflt:\"scaled\"},sizeref:{valType:\"number\",editType:\"calc\",min:0},anchor:{valType:\"enumerated\",editType:\"calc\",values:[\"tip\",\"tail\",\"cm\",\"center\"],dflt:\"cm\"},text:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},hovertemplate:A({editType:\"calc\"},{keys:[\"norm\"]}),uhoverformat:x(\"u\",1),vhoverformat:x(\"v\",1),whoverformat:x(\"w\",1),xhoverformat:x(\"x\"),yhoverformat:x(\"y\"),zhoverformat:x(\"z\"),showlegend:t({},e.showlegend,{dflt:!1})};t(r,g(\"\",{colorAttr:\"u/v/w norm\",showScaleDflt:!0,editTypeOverride:\"calc\"}));var o=[\"opacity\",\"lightposition\",\"lighting\"];o.forEach(function(n){r[n]=S[n]}),r.hoverinfo=t({},e.hoverinfo,{editType:\"calc\",flags:[\"x\",\"y\",\"z\",\"u\",\"v\",\"w\",\"norm\",\"text\",\"name\"],dflt:\"x+y+z+norm+text+name\"}),H.exports=r}}),ZI=ke({\"src/traces/cone/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Kf(),A=fA();H.exports=function(e,t,r,o){function n(T,l){return g.coerce(e,t,A,T,l)}var i=n(\"u\"),a=n(\"v\"),s=n(\"w\"),c=n(\"x\"),h=n(\"y\"),p=n(\"z\");if(!i||!i.length||!a||!a.length||!s||!s.length||!c||!c.length||!h||!h.length||!p||!p.length){t.visible=!1;return}var d=n(\"sizemode\");n(\"sizeref\",d===\"raw\"?1:.5),n(\"anchor\"),n(\"lighting.ambient\"),n(\"lighting.diffuse\"),n(\"lighting.specular\"),n(\"lighting.roughness\"),n(\"lighting.fresnel\"),n(\"lightposition.x\"),n(\"lightposition.y\"),n(\"lightposition.z\"),x(e,t,o,n,{prefix:\"\",cLetter:\"c\"}),n(\"text\"),n(\"hovertext\"),n(\"hovertemplate\"),n(\"uhoverformat\"),n(\"vhoverformat\"),n(\"whoverformat\"),n(\"xhoverformat\"),n(\"yhoverformat\"),n(\"zhoverformat\"),t._length=null}}}),YI=ke({\"src/traces/cone/calc.js\"(Z,H){\"use strict\";var g=od();H.exports=function(A,S){for(var e=S.u,t=S.v,r=S.w,o=Math.min(S.x.length,S.y.length,S.z.length,e.length,t.length,r.length),n=-1/0,i=1/0,a=0;a2?d=h.slice(1,p-1):p===2?d=[(h[0]+h[1])/2]:d=h,d}function a(h){var p=h.length;return p===1?[.5,.5]:[h[1]-h[0],h[p-1]-h[p-2]]}function s(h,p){var d=h.fullSceneLayout,T=h.dataScale,l=p._len,_={};function w(fe,G){var $=d[G],J=T[r[G]];return A.simpleMap(fe,function(X){return $.d2l(X)*J})}if(_.vectors=t(w(p._u,\"xaxis\"),w(p._v,\"yaxis\"),w(p._w,\"zaxis\"),l),!l)return{positions:[],cells:[]};var M=w(p._Xs,\"xaxis\"),E=w(p._Ys,\"yaxis\"),m=w(p._Zs,\"zaxis\");_.meshgrid=[M,E,m],_.gridFill=p._gridFill;var b=p._slen;if(b)_.startingPositions=t(w(p._startsX,\"xaxis\"),w(p._startsY,\"yaxis\"),w(p._startsZ,\"zaxis\"));else{for(var v=E[0],u=i(M),y=i(m),f=new Array(u.length*y.length),P=0,L=0;Lv&&(v=P[0]),P[1]u&&(u=P[1])}function f(P){switch(P.type){case\"GeometryCollection\":P.geometries.forEach(f);break;case\"Point\":y(P.coordinates);break;case\"MultiPoint\":P.coordinates.forEach(y);break}}w.arcs.forEach(function(P){for(var L=-1,z=P.length,F;++Lv&&(v=F[0]),F[1]u&&(u=F[1])});for(E in w.objects)f(w.objects[E]);return[m,b,v,u]}function e(w,M){for(var E,m=w.length,b=m-M;b<--m;)E=w[b],w[b++]=w[m],w[m]=E}function t(w,M){return typeof M==\"string\"&&(M=w.objects[M]),M.type===\"GeometryCollection\"?{type:\"FeatureCollection\",features:M.geometries.map(function(E){return r(w,E)})}:r(w,M)}function r(w,M){var E=M.id,m=M.bbox,b=M.properties==null?{}:M.properties,v=o(w,M);return E==null&&m==null?{type:\"Feature\",properties:b,geometry:v}:m==null?{type:\"Feature\",id:E,properties:b,geometry:v}:{type:\"Feature\",id:E,bbox:m,properties:b,geometry:v}}function o(w,M){var E=A(w.transform),m=w.arcs;function b(L,z){z.length&&z.pop();for(var F=m[L<0?~L:L],B=0,O=F.length;B1)m=s(w,M,E);else for(b=0,m=new Array(v=w.arcs.length);b1)for(var z=1,F=y(P[0]),B,O;zF&&(O=P[0],P[0]=P[z],P[z]=O,F=B);return P}).filter(function(f){return f.length>0})}}function d(w,M){for(var E=0,m=w.length;E>>1;w[b]=2))throw new Error(\"n must be \\u22652\");f=w.bbox||S(w);var E=f[0],m=f[1],b=f[2],v=f[3],u;M={scale:[b-E?(b-E)/(u-1):1,v-m?(v-m)/(u-1):1],translate:[E,m]}}else f=w.bbox;var y=l(M),f,P,L=w.objects,z={};function F(I){return y(I)}function B(I){var N;switch(I.type){case\"GeometryCollection\":N={type:\"GeometryCollection\",geometries:I.geometries.map(B)};break;case\"Point\":N={type:\"Point\",coordinates:F(I.coordinates)};break;case\"MultiPoint\":N={type:\"MultiPoint\",coordinates:I.coordinates.map(F)};break;default:return I}return I.id!=null&&(N.id=I.id),I.bbox!=null&&(N.bbox=I.bbox),I.properties!=null&&(N.properties=I.properties),N}function O(I){var N=0,U=1,W=I.length,Q,le=new Array(W);for(le[0]=y(I[0],0);++N0&&(S.push(e),e=[])}return e.length>0&&S.push(e),S},Z.makeLine=function(g){return g.length===1?{type:\"LineString\",coordinates:g[0]}:{type:\"MultiLineString\",coordinates:g}},Z.makePolygon=function(g){if(g.length===1)return{type:\"Polygon\",coordinates:g};for(var x=new Array(g.length),A=0;Ae(B,z)),F)}function r(L,z,F={}){for(let O of L){if(O.length<4)throw new Error(\"Each LinearRing of a Polygon must have 4 or more Positions.\");if(O[O.length-1].length!==O[0].length)throw new Error(\"First and last Position are not equivalent.\");for(let I=0;Ir(B,z)),F)}function n(L,z,F={}){if(L.length<2)throw new Error(\"coordinates must be an array of two or more positions\");return A({type:\"LineString\",coordinates:L},z,F)}function i(L,z,F={}){return a(L.map(B=>n(B,z)),F)}function a(L,z={}){let F={type:\"FeatureCollection\"};return z.id&&(F.id=z.id),z.bbox&&(F.bbox=z.bbox),F.features=L,F}function s(L,z,F={}){return A({type:\"MultiLineString\",coordinates:L},z,F)}function c(L,z,F={}){return A({type:\"MultiPoint\",coordinates:L},z,F)}function h(L,z,F={}){return A({type:\"MultiPolygon\",coordinates:L},z,F)}function p(L,z,F={}){return A({type:\"GeometryCollection\",geometries:L},z,F)}function d(L,z=0){if(z&&!(z>=0))throw new Error(\"precision must be a positive number\");let F=Math.pow(10,z||0);return Math.round(L*F)/F}function T(L,z=\"kilometers\"){let F=g[z];if(!F)throw new Error(z+\" units is invalid\");return L*F}function l(L,z=\"kilometers\"){let F=g[z];if(!F)throw new Error(z+\" units is invalid\");return L/F}function _(L,z){return E(l(L,z))}function w(L){let z=L%360;return z<0&&(z+=360),z}function M(L){return L=L%360,L>0?L>180?L-360:L:L<-180?L+360:L}function E(L){return L%(2*Math.PI)*180/Math.PI}function m(L){return L%360*Math.PI/180}function b(L,z=\"kilometers\",F=\"kilometers\"){if(!(L>=0))throw new Error(\"length must be a positive number\");return T(l(L,z),F)}function v(L,z=\"meters\",F=\"kilometers\"){if(!(L>=0))throw new Error(\"area must be a positive number\");let B=x[z];if(!B)throw new Error(\"invalid original units\");let O=x[F];if(!O)throw new Error(\"invalid final units\");return L/B*O}function u(L){return!isNaN(L)&&L!==null&&!Array.isArray(L)}function y(L){return L!==null&&typeof L==\"object\"&&!Array.isArray(L)}function f(L){if(!L)throw new Error(\"bbox is required\");if(!Array.isArray(L))throw new Error(\"bbox must be an Array\");if(L.length!==4&&L.length!==6)throw new Error(\"bbox must be an Array of 4 or 6 numbers\");L.forEach(z=>{if(!u(z))throw new Error(\"bbox must only contain numbers\")})}function P(L){if(!L)throw new Error(\"id is required\");if([\"string\",\"number\"].indexOf(typeof L)===-1)throw new Error(\"id must be a number or a string\")}Z.areaFactors=x,Z.azimuthToBearing=M,Z.bearingToAzimuth=w,Z.convertArea=v,Z.convertLength=b,Z.degreesToRadians=m,Z.earthRadius=H,Z.factors=g,Z.feature=A,Z.featureCollection=a,Z.geometry=S,Z.geometryCollection=p,Z.isNumber=u,Z.isObject=y,Z.lengthToDegrees=_,Z.lengthToRadians=l,Z.lineString=n,Z.lineStrings=i,Z.multiLineString=s,Z.multiPoint=c,Z.multiPolygon=h,Z.point=e,Z.points=t,Z.polygon=r,Z.polygons=o,Z.radiansToDegrees=E,Z.radiansToLength=T,Z.round=d,Z.validateBBox=f,Z.validateId=P}}),$x=ke({\"node_modules/@turf/meta/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=Jx();function g(l,_,w){if(l!==null)for(var M,E,m,b,v,u,y,f=0,P=0,L,z=l.type,F=z===\"FeatureCollection\",B=z===\"Feature\",O=F?l.features.length:1,I=0;Iu||F>y||B>f){v=P,u=M,y=F,f=B,m=0;return}var O=H.lineString.call(void 0,[v,P],w.properties);if(_(O,M,E,B,m)===!1)return!1;m++,v=P})===!1)return!1}}})}function c(l,_,w){var M=w,E=!1;return s(l,function(m,b,v,u,y){E===!1&&w===void 0?M=m:M=_(M,m,b,v,u,y),E=!0}),M}function h(l,_){if(!l)throw new Error(\"geojson is required\");i(l,function(w,M,E){if(w.geometry!==null){var m=w.geometry.type,b=w.geometry.coordinates;switch(m){case\"LineString\":if(_(w,M,E,0,0)===!1)return!1;break;case\"Polygon\":for(var v=0;vi+A(a),0)}function A(n){let i=0,a;switch(n.type){case\"Polygon\":return S(n.coordinates);case\"MultiPolygon\":for(a=0;a0){i+=Math.abs(r(n[0]));for(let a=1;a=i?(s+2)%i:s+2],d=c[0]*t,T=h[1]*t,l=p[0]*t;a+=(l-d)*Math.sin(T),s++}return a*e}var o=x;Z.area=x,Z.default=o}}),s6=ke({\"node_modules/@turf/centroid/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=Jx(),g=$x();function x(S,e={}){let t=0,r=0,o=0;return g.coordEach.call(void 0,S,function(n){t+=n[0],r+=n[1],o++},!0),H.point.call(void 0,[t/o,r/o],e.properties)}var A=x;Z.centroid=x,Z.default=A}}),l6=ke({\"node_modules/@turf/bbox/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=$x();function g(A,S={}){if(A.bbox!=null&&S.recompute!==!0)return A.bbox;let e=[1/0,1/0,-1/0,-1/0];return H.coordEach.call(void 0,A,t=>{e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]0&&z[F+1][0]<0)return F;return null}switch(b===\"RUS\"||b===\"FJI\"?u=function(z){var F;if(L(z)===null)F=z;else for(F=new Array(z.length),P=0;PF?B[O++]=[z[P][0]+360,z[P][1]]:P===F?(B[O++]=z[P],B[O++]=[z[P][0],-90]):B[O++]=z[P];var I=i.tester(B);I.pts.pop(),v.push(I)}:u=function(z){v.push(i.tester(z))},E.type){case\"MultiPolygon\":for(y=0;y0?I.properties.ct=l(I):I.properties.ct=[NaN,NaN],B.fIn=z,B.fOut=I,v.push(I)}else r.log([\"Location\",B.loc,\"does not have a valid GeoJSON geometry.\",\"Traces with locationmode *geojson-id* only support\",\"*Polygon* and *MultiPolygon* geometries.\"].join(\" \"))}delete b[F]}switch(m.type){case\"FeatureCollection\":var P=m.features;for(u=0;uv&&(v=f,m=y)}else m=E;return S(m).geometry.coordinates}function _(M){var E=window.PlotlyGeoAssets||{},m=[];function b(P){return new Promise(function(L,z){g.json(P,function(F,B){if(F){delete E[P];var O=F.status===404?'GeoJSON at URL \"'+P+'\" does not exist.':\"Unexpected error while fetching from \"+P;return z(new Error(O))}return E[P]=B,L(B)})})}function v(P){return new Promise(function(L,z){var F=0,B=setInterval(function(){if(E[P]&&E[P]!==\"pending\")return clearInterval(B),L(E[P]);if(F>100)return clearInterval(B),z(\"Unexpected error while fetching from \"+P);F++},50)})}for(var u=0;u\")}}}),c6=ke({\"src/traces/scattergeo/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){x.lon=A.lon,x.lat=A.lat,x.location=A.loc?A.loc:null;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x}}}),f6=ke({\"src/traces/scattergeo/select.js\"(Z,H){\"use strict\";var g=vu(),x=Hi().BADNUM;H.exports=function(S,e){var t=S.cd,r=S.xaxis,o=S.yaxis,n=[],i=t[0].trace,a,s,c,h,p,d=!g.hasMarkers(i)&&!g.hasText(i);if(d)return[];if(e===!1)for(p=0;pX?1:J>=X?0:NaN}function A(J){return J.length===1&&(J=S(J)),{left:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)<0?ae=ee+1:j=ee}return ae},right:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)>0?j=ee:ae=ee+1}return ae}}}function S(J){return function(X,re){return x(J(X),re)}}var e=A(x),t=e.right,r=e.left;function o(J,X){X==null&&(X=n);for(var re=0,ae=J.length-1,j=J[0],ee=new Array(ae<0?0:ae);reJ?1:X>=J?0:NaN}function s(J){return J===null?NaN:+J}function c(J,X){var re=J.length,ae=0,j=-1,ee=0,ie,ce,xe=0;if(X==null)for(;++j1)return xe/(ae-1)}function h(J,X){var re=c(J,X);return re&&Math.sqrt(re)}function p(J,X){var re=J.length,ae=-1,j,ee,ie;if(X==null){for(;++ae=j)for(ee=ie=j;++aej&&(ee=j),ie=j)for(ee=ie=j;++aej&&(ee=j),ie0)return[J];if((ae=X0)for(J=Math.ceil(J/ce),X=Math.floor(X/ce),ie=new Array(ee=Math.ceil(X-J+1));++j=0?(ee>=E?10:ee>=m?5:ee>=b?2:1)*Math.pow(10,j):-Math.pow(10,-j)/(ee>=E?10:ee>=m?5:ee>=b?2:1)}function y(J,X,re){var ae=Math.abs(X-J)/Math.max(0,re),j=Math.pow(10,Math.floor(Math.log(ae)/Math.LN10)),ee=ae/j;return ee>=E?j*=10:ee>=m?j*=5:ee>=b&&(j*=2),XIe;)Ye.pop(),--it;var at=new Array(it+1),tt;for(ee=0;ee<=it;++ee)tt=at[ee]=[],tt.x0=ee>0?Ye[ee-1]:Ue,tt.x1=ee=1)return+re(J[ae-1],ae-1,J);var ae,j=(ae-1)*X,ee=Math.floor(j),ie=+re(J[ee],ee,J),ce=+re(J[ee+1],ee+1,J);return ie+(ce-ie)*(j-ee)}}function z(J,X,re){return J=l.call(J,s).sort(x),Math.ceil((re-X)/(2*(L(J,.75)-L(J,.25))*Math.pow(J.length,-1/3)))}function F(J,X,re){return Math.ceil((re-X)/(3.5*h(J)*Math.pow(J.length,-1/3)))}function B(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aeee&&(ee=j)}else for(;++ae=j)for(ee=j;++aeee&&(ee=j);return ee}function O(J,X){var re=J.length,ae=re,j=-1,ee,ie=0;if(X==null)for(;++j=0;)for(ie=J[X],re=ie.length;--re>=0;)ee[--j]=ie[re];return ee}function U(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aej&&(ee=j)}else for(;++ae=j)for(ee=j;++aej&&(ee=j);return ee}function W(J,X){for(var re=X.length,ae=new Array(re);re--;)ae[re]=J[X[re]];return ae}function Q(J,X){if(re=J.length){var re,ae=0,j=0,ee,ie=J[j];for(X==null&&(X=x);++ae0?1:Yt<0?-1:0},v=Math.sqrt,u=Math.tan;function y(Yt){return Yt>1?0:Yt<-1?n:Math.acos(Yt)}function f(Yt){return Yt>1?i:Yt<-1?-i:Math.asin(Yt)}function P(Yt){return(Yt=m(Yt/2))*Yt}function L(){}function z(Yt,dr){Yt&&B.hasOwnProperty(Yt.type)&&B[Yt.type](Yt,dr)}var F={Feature:function(Yt,dr){z(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr=0?1:-1,Cn=Wr*tn,si=l(dr),yi=m(dr),Di=G*yi,Wi=fe*si+Di*l(Cn),aa=Di*Wr*m(Cn);U.add(T(aa,Wi)),se=Yt,fe=si,G=yi}function j(Yt){return W.reset(),N(Yt,$),W*2}function ee(Yt){return[T(Yt[1],Yt[0]),f(Yt[2])]}function ie(Yt){var dr=Yt[0],tn=Yt[1],Wr=l(tn);return[Wr*l(dr),Wr*m(dr),m(tn)]}function ce(Yt,dr){return Yt[0]*dr[0]+Yt[1]*dr[1]+Yt[2]*dr[2]}function xe(Yt,dr){return[Yt[1]*dr[2]-Yt[2]*dr[1],Yt[2]*dr[0]-Yt[0]*dr[2],Yt[0]*dr[1]-Yt[1]*dr[0]]}function Te(Yt,dr){Yt[0]+=dr[0],Yt[1]+=dr[1],Yt[2]+=dr[2]}function Ue(Yt,dr){return[Yt[0]*dr,Yt[1]*dr,Yt[2]*dr]}function Ie(Yt){var dr=v(Yt[0]*Yt[0]+Yt[1]*Yt[1]+Yt[2]*Yt[2]);Yt[0]/=dr,Yt[1]/=dr,Yt[2]/=dr}var Ye,it,at,tt,ut,Me,pe,ue,Oe=A(),rt,ot,et={point:Lt,lineStart:Bt,lineEnd:qt,polygonStart:function(){et.point=fr,et.lineStart=ar,et.lineEnd=Rr,Oe.reset(),$.polygonStart()},polygonEnd:function(){$.polygonEnd(),et.point=Lt,et.lineStart=Bt,et.lineEnd=qt,U<0?(Ye=-(at=180),it=-(tt=90)):Oe>r?tt=90:Oe<-r&&(it=-90),ot[0]=Ye,ot[1]=at},sphere:function(){Ye=-(at=180),it=-(tt=90)}};function Lt(Yt,dr){rt.push(ot=[Ye=Yt,at=Yt]),drtt&&(tt=dr)}function Et(Yt,dr){var tn=ie([Yt*h,dr*h]);if(ue){var Wr=xe(ue,tn),Cn=[Wr[1],-Wr[0],0],si=xe(Cn,Wr);Ie(si),si=ee(si);var yi=Yt-ut,Di=yi>0?1:-1,Wi=si[0]*c*Di,aa,bi=p(yi)>180;bi^(Di*uttt&&(tt=aa)):(Wi=(Wi+360)%360-180,bi^(Di*uttt&&(tt=dr))),bi?Ytgr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt):at>=Ye?(Ytat&&(at=Yt)):Yt>ut?gr(Ye,Yt)>gr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt)}else rt.push(ot=[Ye=Yt,at=Yt]);drtt&&(tt=dr),ue=tn,ut=Yt}function Bt(){et.point=Et}function qt(){ot[0]=Ye,ot[1]=at,et.point=Lt,ue=null}function fr(Yt,dr){if(ue){var tn=Yt-ut;Oe.add(p(tn)>180?tn+(tn>0?360:-360):tn)}else Me=Yt,pe=dr;$.point(Yt,dr),Et(Yt,dr)}function ar(){$.lineStart()}function Rr(){fr(Me,pe),$.lineEnd(),p(Oe)>r&&(Ye=-(at=180)),ot[0]=Ye,ot[1]=at,ue=null}function gr(Yt,dr){return(dr-=Yt)<0?dr+360:dr}function br(Yt,dr){return Yt[0]-dr[0]}function _t(Yt,dr){return Yt[0]<=Yt[1]?Yt[0]<=dr&&dr<=Yt[1]:drgr(Wr[0],Wr[1])&&(Wr[1]=Cn[1]),gr(Cn[0],Wr[1])>gr(Wr[0],Wr[1])&&(Wr[0]=Cn[0])):si.push(Wr=Cn);for(yi=-1/0,tn=si.length-1,dr=0,Wr=si[tn];dr<=tn;Wr=Cn,++dr)Cn=si[dr],(Di=gr(Wr[1],Cn[0]))>yi&&(yi=Di,Ye=Cn[0],at=Wr[1])}return rt=ot=null,Ye===1/0||it===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ye,it],[at,tt]]}var Ke,je,Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt,$t,ur,pn,Rn={sphere:L,point:Nn,lineStart:ni,lineEnd:gi,polygonStart:function(){Rn.lineStart=Zt,Rn.lineEnd=Ft},polygonEnd:function(){Rn.lineStart=ni,Rn.lineEnd=gi}};function Nn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);On(tn*l(Yt),tn*m(Yt),m(dr))}function On(Yt,dr,tn){++Ke,Se+=(Yt-Se)/Ke,He+=(dr-He)/Ke,Ee+=(tn-Ee)/Ke}function ni(){Rn.point=zn}function zn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),Rn.point=Qn,On($t,ur,pn)}function Qn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=T(v((yi=ur*si-pn*Cn)*yi+(yi=pn*Wr-$t*si)*yi+(yi=$t*Cn-ur*Wr)*yi),$t*Wr+ur*Cn+pn*si);je+=yi,we+=yi*($t+($t=Wr)),Le+=yi*(ur+(ur=Cn)),nt+=yi*(pn+(pn=si)),On($t,ur,pn)}function gi(){Rn.point=Nn}function Zt(){Rn.point=Ht}function Ft(){Vt(Nt,Xt),Rn.point=Nn}function Ht(Yt,dr){Nt=Yt,Xt=dr,Yt*=h,dr*=h,Rn.point=Vt;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),On($t,ur,pn)}function Vt(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=ur*si-pn*Cn,Di=pn*Wr-$t*si,Wi=$t*Cn-ur*Wr,aa=v(yi*yi+Di*Di+Wi*Wi),bi=f(aa),zi=aa&&-bi/aa;pt+=zi*yi,bt+=zi*Di,Rt+=zi*Wi,je+=bi,we+=bi*($t+($t=Wr)),Le+=bi*(ur+(ur=Cn)),nt+=bi*(pn+(pn=si)),On($t,ur,pn)}function wr(Yt){Ke=je=Se=He=Ee=we=Le=nt=pt=bt=Rt=0,N(Yt,Rn);var dr=pt,tn=bt,Wr=Rt,Cn=dr*dr+tn*tn+Wr*Wr;return Cnn?Yt+Math.round(-Yt/s)*s:Yt,dr]}en.invert=en;function Fn(Yt,dr,tn){return(Yt%=s)?dr||tn?xn(ri(Yt),Sn(dr,tn)):ri(Yt):dr||tn?Sn(dr,tn):en}function Wn(Yt){return function(dr,tn){return dr+=Yt,[dr>n?dr-s:dr<-n?dr+s:dr,tn]}}function ri(Yt){var dr=Wn(Yt);return dr.invert=Wn(-Yt),dr}function Sn(Yt,dr){var tn=l(Yt),Wr=m(Yt),Cn=l(dr),si=m(dr);function yi(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*tn+bi*Wr;return[T(zi*Cn-di*si,bi*tn-Li*Wr),f(di*Cn+zi*si)]}return yi.invert=function(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*Cn-zi*si;return[T(zi*Cn+Li*si,bi*tn+di*Wr),f(di*tn-bi*Wr)]},yi}function ui(Yt){Yt=Fn(Yt[0]*h,Yt[1]*h,Yt.length>2?Yt[2]*h:0);function dr(tn){return tn=Yt(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn}return dr.invert=function(tn){return tn=Yt.invert(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn},dr}function gt(Yt,dr,tn,Wr,Cn,si){if(tn){var yi=l(dr),Di=m(dr),Wi=Wr*tn;Cn==null?(Cn=dr+Wr*s,si=dr-Wi/2):(Cn=yt(yi,Cn),si=yt(yi,si),(Wr>0?Cnsi)&&(Cn+=Wr*s));for(var aa,bi=Cn;Wr>0?bi>si:bi1&&Yt.push(Yt.pop().concat(Yt.shift()))},result:function(){var tn=Yt;return Yt=[],dr=null,tn}}}function Tr(Yt,dr){return p(Yt[0]-dr[0])=0;--Di)Cn.point((zi=bi[Di])[0],zi[1]);else Wr(Li.x,Li.p.x,-1,Cn);Li=Li.p}Li=Li.o,bi=Li.z,di=!di}while(!Li.v);Cn.lineEnd()}}}function Ur(Yt){if(dr=Yt.length){for(var dr,tn=0,Wr=Yt[0],Cn;++tn=0?1:-1,Ns=il*Ds,el=Ns>n,Es=po*Lo;if(Dr.add(T(Es*il*m(Ns),co*as+Es*l(Ns))),yi+=el?Ds+il*s:Ds,el^di>=tn^xa>=tn){var Bl=xe(ie(Li),ie(Ao));Ie(Bl);var _l=xe(si,Bl);Ie(_l);var cl=(el^Ds>=0?-1:1)*f(_l[2]);(Wr>cl||Wr===cl&&(Bl[0]||Bl[1]))&&(Di+=el^Ds>=0?1:-1)}}return(yi<-r||yi0){for(Wi||(Cn.polygonStart(),Wi=!0),Cn.lineStart(),as=0;as1&&Qi&2&&Lo.push(Lo.pop().concat(Lo.shift())),bi.push(Lo.filter(kt))}}return Li}}function kt(Yt){return Yt.length>1}function or(Yt,dr){return((Yt=Yt.x)[0]<0?Yt[1]-i-r:i-Yt[1])-((dr=dr.x)[0]<0?dr[1]-i-r:i-dr[1])}var yr=gn(function(){return!0},on,Zn,[-n,-i]);function on(Yt){var dr=NaN,tn=NaN,Wr=NaN,Cn;return{lineStart:function(){Yt.lineStart(),Cn=1},point:function(si,yi){var Di=si>0?n:-n,Wi=p(si-dr);p(Wi-n)0?i:-i),Yt.point(Wr,tn),Yt.lineEnd(),Yt.lineStart(),Yt.point(Di,tn),Yt.point(si,tn),Cn=0):Wr!==Di&&Wi>=n&&(p(dr-Wr)r?d((m(dr)*(si=l(Wr))*m(tn)-m(Wr)*(Cn=l(dr))*m(Yt))/(Cn*si*yi)):(dr+Wr)/2}function Zn(Yt,dr,tn,Wr){var Cn;if(Yt==null)Cn=tn*i,Wr.point(-n,Cn),Wr.point(0,Cn),Wr.point(n,Cn),Wr.point(n,0),Wr.point(n,-Cn),Wr.point(0,-Cn),Wr.point(-n,-Cn),Wr.point(-n,0),Wr.point(-n,Cn);else if(p(Yt[0]-dr[0])>r){var si=Yt[0]0,Cn=p(dr)>r;function si(bi,zi,Li,di){gt(di,Yt,tn,Li,bi,zi)}function yi(bi,zi){return l(bi)*l(zi)>dr}function Di(bi){var zi,Li,di,wa,po;return{lineStart:function(){wa=di=!1,po=1},point:function(co,mo){var Ao=[co,mo],xa,Qi=yi(co,mo),Lo=Wr?Qi?0:aa(co,mo):Qi?aa(co+(co<0?n:-n),mo):0;if(!zi&&(wa=di=Qi)&&bi.lineStart(),Qi!==di&&(xa=Wi(zi,Ao),(!xa||Tr(zi,xa)||Tr(Ao,xa))&&(Ao[2]=1)),Qi!==di)po=0,Qi?(bi.lineStart(),xa=Wi(Ao,zi),bi.point(xa[0],xa[1])):(xa=Wi(zi,Ao),bi.point(xa[0],xa[1],2),bi.lineEnd()),zi=xa;else if(Cn&&zi&&Wr^Qi){var as;!(Lo&Li)&&(as=Wi(Ao,zi,!0))&&(po=0,Wr?(bi.lineStart(),bi.point(as[0][0],as[0][1]),bi.point(as[1][0],as[1][1]),bi.lineEnd()):(bi.point(as[1][0],as[1][1]),bi.lineEnd(),bi.lineStart(),bi.point(as[0][0],as[0][1],3)))}Qi&&(!zi||!Tr(zi,Ao))&&bi.point(Ao[0],Ao[1]),zi=Ao,di=Qi,Li=Lo},lineEnd:function(){di&&bi.lineEnd(),zi=null},clean:function(){return po|(wa&&di)<<1}}}function Wi(bi,zi,Li){var di=ie(bi),wa=ie(zi),po=[1,0,0],co=xe(di,wa),mo=ce(co,co),Ao=co[0],xa=mo-Ao*Ao;if(!xa)return!Li&&bi;var Qi=dr*mo/xa,Lo=-dr*Ao/xa,as=xe(po,co),Ds=Ue(po,Qi),il=Ue(co,Lo);Te(Ds,il);var Ns=as,el=ce(Ds,Ns),Es=ce(Ns,Ns),Bl=el*el-Es*(ce(Ds,Ds)-1);if(!(Bl<0)){var _l=v(Bl),cl=Ue(Ns,(-el-_l)/Es);if(Te(cl,Ds),cl=ee(cl),!Li)return cl;var Za=bi[0],jo=zi[0],Js=bi[1],zs=zi[1],cu;jo0^cl[1]<(p(cl[0]-Za)n^(Za<=cl[0]&&cl[0]<=jo)){var Tu=Ue(Ns,(-el+_l)/Es);return Te(Tu,Ds),[cl,ee(Tu)]}}}function aa(bi,zi){var Li=Wr?Yt:n-Yt,di=0;return bi<-Li?di|=1:bi>Li&&(di|=2),zi<-Li?di|=4:zi>Li&&(di|=8),di}return gn(yi,Di,si,Wr?[0,-Yt]:[-n,Yt-n])}function wn(Yt,dr,tn,Wr,Cn,si){var yi=Yt[0],Di=Yt[1],Wi=dr[0],aa=dr[1],bi=0,zi=1,Li=Wi-yi,di=aa-Di,wa;if(wa=tn-yi,!(!Li&&wa>0)){if(wa/=Li,Li<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=Cn-yi,!(!Li&&wa<0)){if(wa/=Li,Li<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(Li>0){if(wa0)){if(wa/=di,di<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=si-Di,!(!di&&wa<0)){if(wa/=di,di<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(di>0){if(wa0&&(Yt[0]=yi+bi*Li,Yt[1]=Di+bi*di),zi<1&&(dr[0]=yi+zi*Li,dr[1]=Di+zi*di),!0}}}}}var Dn=1e9,Ui=-Dn;function pi(Yt,dr,tn,Wr){function Cn(aa,bi){return Yt<=aa&&aa<=tn&&dr<=bi&&bi<=Wr}function si(aa,bi,zi,Li){var di=0,wa=0;if(aa==null||(di=yi(aa,zi))!==(wa=yi(bi,zi))||Wi(aa,bi)<0^zi>0)do Li.point(di===0||di===3?Yt:tn,di>1?Wr:dr);while((di=(di+zi+4)%4)!==wa);else Li.point(bi[0],bi[1])}function yi(aa,bi){return p(aa[0]-Yt)0?0:3:p(aa[0]-tn)0?2:1:p(aa[1]-dr)0?1:0:bi>0?3:2}function Di(aa,bi){return Wi(aa.x,bi.x)}function Wi(aa,bi){var zi=yi(aa,1),Li=yi(bi,1);return zi!==Li?zi-Li:zi===0?bi[1]-aa[1]:zi===1?aa[0]-bi[0]:zi===2?aa[1]-bi[1]:bi[0]-aa[0]}return function(aa){var bi=aa,zi=Ir(),Li,di,wa,po,co,mo,Ao,xa,Qi,Lo,as,Ds={point:il,lineStart:Bl,lineEnd:_l,polygonStart:el,polygonEnd:Es};function il(Za,jo){Cn(Za,jo)&&bi.point(Za,jo)}function Ns(){for(var Za=0,jo=0,Js=di.length;joWr&&(zc-Kc)*(Wr-Tu)>(Fu-Tu)*(Yt-Kc)&&++Za:Fu<=Wr&&(zc-Kc)*(Wr-Tu)<(Fu-Tu)*(Yt-Kc)&&--Za;return Za}function el(){bi=zi,Li=[],di=[],as=!0}function Es(){var Za=Ns(),jo=as&&Za,Js=(Li=x.merge(Li)).length;(jo||Js)&&(aa.polygonStart(),jo&&(aa.lineStart(),si(null,null,1,aa),aa.lineEnd()),Js&&Lr(Li,Di,Za,si,aa),aa.polygonEnd()),bi=aa,Li=di=wa=null}function Bl(){Ds.point=cl,di&&di.push(wa=[]),Lo=!0,Qi=!1,Ao=xa=NaN}function _l(){Li&&(cl(po,co),mo&&Qi&&zi.rejoin(),Li.push(zi.result())),Ds.point=il,Qi&&bi.lineEnd()}function cl(Za,jo){var Js=Cn(Za,jo);if(di&&wa.push([Za,jo]),Lo)po=Za,co=jo,mo=Js,Lo=!1,Js&&(bi.lineStart(),bi.point(Za,jo));else if(Js&&Qi)bi.point(Za,jo);else{var zs=[Ao=Math.max(Ui,Math.min(Dn,Ao)),xa=Math.max(Ui,Math.min(Dn,xa))],cu=[Za=Math.max(Ui,Math.min(Dn,Za)),jo=Math.max(Ui,Math.min(Dn,jo))];wn(zs,cu,Yt,dr,tn,Wr)?(Qi||(bi.lineStart(),bi.point(zs[0],zs[1])),bi.point(cu[0],cu[1]),Js||bi.lineEnd(),as=!1):Js&&(bi.lineStart(),bi.point(Za,jo),as=!1)}Ao=Za,xa=jo,Qi=Js}return Ds}}function Ta(){var Yt=0,dr=0,tn=960,Wr=500,Cn,si,yi;return yi={stream:function(Di){return Cn&&si===Di?Cn:Cn=pi(Yt,dr,tn,Wr)(si=Di)},extent:function(Di){return arguments.length?(Yt=+Di[0][0],dr=+Di[0][1],tn=+Di[1][0],Wr=+Di[1][1],Cn=si=null,yi):[[Yt,dr],[tn,Wr]]}}}var Sa=A(),qa,to,yo,Xa={sphere:L,point:L,lineStart:Go,lineEnd:L,polygonStart:L,polygonEnd:L};function Go(){Xa.point=cs,Xa.lineEnd=pa}function pa(){Xa.point=Xa.lineEnd=L}function cs(Yt,dr){Yt*=h,dr*=h,qa=Yt,to=m(dr),yo=l(dr),Xa.point=Ko}function Ko(Yt,dr){Yt*=h,dr*=h;var tn=m(dr),Wr=l(dr),Cn=p(Yt-qa),si=l(Cn),yi=m(Cn),Di=Wr*yi,Wi=yo*tn-to*Wr*si,aa=to*tn+yo*Wr*si;Sa.add(T(v(Di*Di+Wi*Wi),aa)),qa=Yt,to=tn,yo=Wr}function gs(Yt){return Sa.reset(),N(Yt,Xa),+Sa}var Ya=[null,null],zo={type:\"LineString\",coordinates:Ya};function Ka(Yt,dr){return Ya[0]=Yt,Ya[1]=dr,gs(zo)}var Yo={Feature:function(Yt,dr){return hs(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr0&&(Cn=Ka(Yt[si],Yt[si-1]),Cn>0&&tn<=Cn&&Wr<=Cn&&(tn+Wr-Cn)*(1-Math.pow((tn-Wr)/Cn,2))r}).map(Li)).concat(x.range(_(si/aa)*aa,Cn,aa).filter(function(xa){return p(xa%zi)>r}).map(di))}return mo.lines=function(){return Ao().map(function(xa){return{type:\"LineString\",coordinates:xa}})},mo.outline=function(){return{type:\"Polygon\",coordinates:[wa(Wr).concat(po(yi).slice(1),wa(tn).reverse().slice(1),po(Di).reverse().slice(1))]}},mo.extent=function(xa){return arguments.length?mo.extentMajor(xa).extentMinor(xa):mo.extentMinor()},mo.extentMajor=function(xa){return arguments.length?(Wr=+xa[0][0],tn=+xa[1][0],Di=+xa[0][1],yi=+xa[1][1],Wr>tn&&(xa=Wr,Wr=tn,tn=xa),Di>yi&&(xa=Di,Di=yi,yi=xa),mo.precision(co)):[[Wr,Di],[tn,yi]]},mo.extentMinor=function(xa){return arguments.length?(dr=+xa[0][0],Yt=+xa[1][0],si=+xa[0][1],Cn=+xa[1][1],dr>Yt&&(xa=dr,dr=Yt,Yt=xa),si>Cn&&(xa=si,si=Cn,Cn=xa),mo.precision(co)):[[dr,si],[Yt,Cn]]},mo.step=function(xa){return arguments.length?mo.stepMajor(xa).stepMinor(xa):mo.stepMinor()},mo.stepMajor=function(xa){return arguments.length?(bi=+xa[0],zi=+xa[1],mo):[bi,zi]},mo.stepMinor=function(xa){return arguments.length?(Wi=+xa[0],aa=+xa[1],mo):[Wi,aa]},mo.precision=function(xa){return arguments.length?(co=+xa,Li=Mi(si,Cn,90),di=Da(dr,Yt,co),wa=Mi(Di,yi,90),po=Da(Wr,tn,co),mo):co},mo.extentMajor([[-180,-90+r],[180,90-r]]).extentMinor([[-180,-80-r],[180,80+r]])}function Xs(){return pl()()}function Eo(Yt,dr){var tn=Yt[0]*h,Wr=Yt[1]*h,Cn=dr[0]*h,si=dr[1]*h,yi=l(Wr),Di=m(Wr),Wi=l(si),aa=m(si),bi=yi*l(tn),zi=yi*m(tn),Li=Wi*l(Cn),di=Wi*m(Cn),wa=2*f(v(P(si-Wr)+yi*Wi*P(Cn-tn))),po=m(wa),co=wa?function(mo){var Ao=m(mo*=wa)/po,xa=m(wa-mo)/po,Qi=xa*bi+Ao*Li,Lo=xa*zi+Ao*di,as=xa*Di+Ao*aa;return[T(Lo,Qi)*c,T(as,v(Qi*Qi+Lo*Lo))*c]}:function(){return[tn*c,Wr*c]};return co.distance=wa,co}function Ys(Yt){return Yt}var As=A(),hl=A(),wl,la,Uo,vo,Ps={point:L,lineStart:L,lineEnd:L,polygonStart:function(){Ps.lineStart=ls,Ps.lineEnd=Ku},polygonEnd:function(){Ps.lineStart=Ps.lineEnd=Ps.point=L,As.add(p(hl)),hl.reset()},result:function(){var Yt=As/2;return As.reset(),Yt}};function ls(){Ps.point=no}function no(Yt,dr){Ps.point=$l,wl=Uo=Yt,la=vo=dr}function $l(Yt,dr){hl.add(vo*Yt-Uo*dr),Uo=Yt,vo=dr}function Ku(){$l(wl,la)}var Tl=1/0,Vu=Tl,Rl=-Tl,Qs=Rl,nu={point:qu,lineStart:L,lineEnd:L,polygonStart:L,polygonEnd:L,result:function(){var Yt=[[Tl,Vu],[Rl,Qs]];return Rl=Qs=-(Vu=Tl=1/0),Yt}};function qu(Yt,dr){YtRl&&(Rl=Yt),drQs&&(Qs=dr)}var kc=0,Ju=0,sh=0,uf=0,qs=0,Hc=0,bf=0,Ql=0,Al=0,oc,gc,nl,Ml,Zs={point:sl,lineStart:sc,lineEnd:ll,polygonStart:function(){Zs.lineStart=Nh,Zs.lineEnd=ds},polygonEnd:function(){Zs.point=sl,Zs.lineStart=sc,Zs.lineEnd=ll},result:function(){var Yt=Al?[bf/Al,Ql/Al]:Hc?[uf/Hc,qs/Hc]:sh?[kc/sh,Ju/sh]:[NaN,NaN];return kc=Ju=sh=uf=qs=Hc=bf=Ql=Al=0,Yt}};function sl(Yt,dr){kc+=Yt,Ju+=dr,++sh}function sc(){Zs.point=jl}function jl(Yt,dr){Zs.point=$u,sl(nl=Yt,Ml=dr)}function $u(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,sl(nl=Yt,Ml=dr)}function ll(){Zs.point=sl}function Nh(){Zs.point=Sh}function ds(){Bs(oc,gc)}function Sh(Yt,dr){Zs.point=Bs,sl(oc=nl=Yt,gc=Ml=dr)}function Bs(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,Cn=Ml*Yt-nl*dr,bf+=Cn*(nl+Yt),Ql+=Cn*(Ml+dr),Al+=Cn*3,sl(nl=Yt,Ml=dr)}function Vo(Yt){this._context=Yt}Vo.prototype={_radius:4.5,pointRadius:function(Yt){return this._radius=Yt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._context.moveTo(Yt,dr),this._point=1;break}case 1:{this._context.lineTo(Yt,dr);break}default:{this._context.moveTo(Yt+this._radius,dr),this._context.arc(Yt,dr,this._radius,0,s);break}}},result:L};var rf=A(),Qu,pu,Df,Lc,nf,Vl={point:L,lineStart:function(){Vl.point=Jf},lineEnd:function(){Qu&&zf(pu,Df),Vl.point=L},polygonStart:function(){Qu=!0},polygonEnd:function(){Qu=null},result:function(){var Yt=+rf;return rf.reset(),Yt}};function Jf(Yt,dr){Vl.point=zf,pu=Lc=Yt,Df=nf=dr}function zf(Yt,dr){Lc-=Yt,nf-=dr,rf.add(v(Lc*Lc+nf*nf)),Lc=Yt,nf=dr}function wf(){this._string=[]}wf.prototype={_radius:4.5,_circle:Gc(4.5),pointRadius:function(Yt){return(Yt=+Yt)!==this._radius&&(this._radius=Yt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push(\"Z\"),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._string.push(\"M\",Yt,\",\",dr),this._point=1;break}case 1:{this._string.push(\"L\",Yt,\",\",dr);break}default:{this._circle==null&&(this._circle=Gc(this._radius)),this._string.push(\"M\",Yt,\",\",dr,this._circle);break}}},result:function(){if(this._string.length){var Yt=this._string.join(\"\");return this._string=[],Yt}else return null}};function Gc(Yt){return\"m0,\"+Yt+\"a\"+Yt+\",\"+Yt+\" 0 1,1 0,\"+-2*Yt+\"a\"+Yt+\",\"+Yt+\" 0 1,1 0,\"+2*Yt+\"z\"}function Ff(Yt,dr){var tn=4.5,Wr,Cn;function si(yi){return yi&&(typeof tn==\"function\"&&Cn.pointRadius(+tn.apply(this,arguments)),N(yi,Wr(Cn))),Cn.result()}return si.area=function(yi){return N(yi,Wr(Ps)),Ps.result()},si.measure=function(yi){return N(yi,Wr(Vl)),Vl.result()},si.bounds=function(yi){return N(yi,Wr(nu)),nu.result()},si.centroid=function(yi){return N(yi,Wr(Zs)),Zs.result()},si.projection=function(yi){return arguments.length?(Wr=yi==null?(Yt=null,Ys):(Yt=yi).stream,si):Yt},si.context=function(yi){return arguments.length?(Cn=yi==null?(dr=null,new wf):new Vo(dr=yi),typeof tn!=\"function\"&&Cn.pointRadius(tn),si):dr},si.pointRadius=function(yi){return arguments.length?(tn=typeof yi==\"function\"?yi:(Cn.pointRadius(+yi),+yi),si):tn},si.projection(Yt).context(dr)}function $f(Yt){return{stream:ec(Yt)}}function ec(Yt){return function(dr){var tn=new Tf;for(var Wr in Yt)tn[Wr]=Yt[Wr];return tn.stream=dr,tn}}function Tf(){}Tf.prototype={constructor:Tf,point:function(Yt,dr){this.stream.point(Yt,dr)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Pc(Yt,dr,tn){var Wr=Yt.clipExtent&&Yt.clipExtent();return Yt.scale(150).translate([0,0]),Wr!=null&&Yt.clipExtent(null),N(tn,Yt.stream(nu)),dr(nu.result()),Wr!=null&&Yt.clipExtent(Wr),Yt}function Wc(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=dr[1][0]-dr[0][0],si=dr[1][1]-dr[0][1],yi=Math.min(Cn/(Wr[1][0]-Wr[0][0]),si/(Wr[1][1]-Wr[0][1])),Di=+dr[0][0]+(Cn-yi*(Wr[1][0]+Wr[0][0]))/2,Wi=+dr[0][1]+(si-yi*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*yi).translate([Di,Wi])},tn)}function Pu(Yt,dr,tn){return Wc(Yt,[[0,0],dr],tn)}function cf(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][0]-Wr[0][0]),yi=(Cn-si*(Wr[1][0]+Wr[0][0]))/2,Di=-si*Wr[0][1];Yt.scale(150*si).translate([yi,Di])},tn)}function Ic(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][1]-Wr[0][1]),yi=-si*Wr[0][0],Di=(Cn-si*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*si).translate([yi,Di])},tn)}var Ks=16,Of=l(30*h);function Eh(Yt,dr){return+dr?af(Yt,dr):Qf(Yt)}function Qf(Yt){return ec({point:function(dr,tn){dr=Yt(dr,tn),this.stream.point(dr[0],dr[1])}})}function af(Yt,dr){function tn(Wr,Cn,si,yi,Di,Wi,aa,bi,zi,Li,di,wa,po,co){var mo=aa-Wr,Ao=bi-Cn,xa=mo*mo+Ao*Ao;if(xa>4*dr&&po--){var Qi=yi+Li,Lo=Di+di,as=Wi+wa,Ds=v(Qi*Qi+Lo*Lo+as*as),il=f(as/=Ds),Ns=p(p(as)-1)dr||p((mo*_l+Ao*cl)/xa-.5)>.3||yi*Li+Di*di+Wi*wa2?Za[2]%360*h:0,_l()):[Di*c,Wi*c,aa*c]},Es.angle=function(Za){return arguments.length?(zi=Za%360*h,_l()):zi*c},Es.reflectX=function(Za){return arguments.length?(Li=Za?-1:1,_l()):Li<0},Es.reflectY=function(Za){return arguments.length?(di=Za?-1:1,_l()):di<0},Es.precision=function(Za){return arguments.length?(as=Eh(Ds,Lo=Za*Za),cl()):v(Lo)},Es.fitExtent=function(Za,jo){return Wc(Es,Za,jo)},Es.fitSize=function(Za,jo){return Pu(Es,Za,jo)},Es.fitWidth=function(Za,jo){return cf(Es,Za,jo)},Es.fitHeight=function(Za,jo){return Ic(Es,Za,jo)};function _l(){var Za=su(tn,0,0,Li,di,zi).apply(null,dr(si,yi)),jo=(zi?su:eh)(tn,Wr-Za[0],Cn-Za[1],Li,di,zi);return bi=Fn(Di,Wi,aa),Ds=xn(dr,jo),il=xn(bi,Ds),as=Eh(Ds,Lo),cl()}function cl(){return Ns=el=null,Es}return function(){return dr=Yt.apply(this,arguments),Es.invert=dr.invert&&Bl,_l()}}function Dl(Yt){var dr=0,tn=n/3,Wr=yc(Yt),Cn=Wr(dr,tn);return Cn.parallels=function(si){return arguments.length?Wr(dr=si[0]*h,tn=si[1]*h):[dr*c,tn*c]},Cn}function Rc(Yt){var dr=l(Yt);function tn(Wr,Cn){return[Wr*dr,m(Cn)/dr]}return tn.invert=function(Wr,Cn){return[Wr/dr,f(Cn*dr)]},tn}function tc(Yt,dr){var tn=m(Yt),Wr=(tn+m(dr))/2;if(p(Wr)=.12&&co<.234&&po>=-.425&&po<-.214?Cn:co>=.166&&co<.234&&po>=-.214&&po<-.115?yi:tn).invert(Li)},bi.stream=function(Li){return Yt&&dr===Li?Yt:Yt=th([tn.stream(dr=Li),Cn.stream(Li),yi.stream(Li)])},bi.precision=function(Li){return arguments.length?(tn.precision(Li),Cn.precision(Li),yi.precision(Li),zi()):tn.precision()},bi.scale=function(Li){return arguments.length?(tn.scale(Li),Cn.scale(Li*.35),yi.scale(Li),bi.translate(tn.translate())):tn.scale()},bi.translate=function(Li){if(!arguments.length)return tn.translate();var di=tn.scale(),wa=+Li[0],po=+Li[1];return Wr=tn.translate(Li).clipExtent([[wa-.455*di,po-.238*di],[wa+.455*di,po+.238*di]]).stream(aa),si=Cn.translate([wa-.307*di,po+.201*di]).clipExtent([[wa-.425*di+r,po+.12*di+r],[wa-.214*di-r,po+.234*di-r]]).stream(aa),Di=yi.translate([wa-.205*di,po+.212*di]).clipExtent([[wa-.214*di+r,po+.166*di+r],[wa-.115*di-r,po+.234*di-r]]).stream(aa),zi()},bi.fitExtent=function(Li,di){return Wc(bi,Li,di)},bi.fitSize=function(Li,di){return Pu(bi,Li,di)},bi.fitWidth=function(Li,di){return cf(bi,Li,di)},bi.fitHeight=function(Li,di){return Ic(bi,Li,di)};function zi(){return Yt=dr=null,bi}return bi.scale(1070)}function Hu(Yt){return function(dr,tn){var Wr=l(dr),Cn=l(tn),si=Yt(Wr*Cn);return[si*Cn*m(dr),si*m(tn)]}}function _c(Yt){return function(dr,tn){var Wr=v(dr*dr+tn*tn),Cn=Yt(Wr),si=m(Cn),yi=l(Cn);return[T(dr*si,Wr*yi),f(Wr&&tn*si/Wr)]}}var lc=Hu(function(Yt){return v(2/(1+Yt))});lc.invert=_c(function(Yt){return 2*f(Yt/2)});function Uh(){return Ru(lc).scale(124.75).clipAngle(180-.001)}var of=Hu(function(Yt){return(Yt=y(Yt))&&Yt/m(Yt)});of.invert=_c(function(Yt){return Yt});function ff(){return Ru(of).scale(79.4188).clipAngle(180-.001)}function Du(Yt,dr){return[Yt,M(u((i+dr)/2))]}Du.invert=function(Yt,dr){return[Yt,2*d(w(dr))-i]};function Af(){return lu(Du).scale(961/s)}function lu(Yt){var dr=Ru(Yt),tn=dr.center,Wr=dr.scale,Cn=dr.translate,si=dr.clipExtent,yi=null,Di,Wi,aa;dr.scale=function(zi){return arguments.length?(Wr(zi),bi()):Wr()},dr.translate=function(zi){return arguments.length?(Cn(zi),bi()):Cn()},dr.center=function(zi){return arguments.length?(tn(zi),bi()):tn()},dr.clipExtent=function(zi){return arguments.length?(zi==null?yi=Di=Wi=aa=null:(yi=+zi[0][0],Di=+zi[0][1],Wi=+zi[1][0],aa=+zi[1][1]),bi()):yi==null?null:[[yi,Di],[Wi,aa]]};function bi(){var zi=n*Wr(),Li=dr(ui(dr.rotate()).invert([0,0]));return si(yi==null?[[Li[0]-zi,Li[1]-zi],[Li[0]+zi,Li[1]+zi]]:Yt===Du?[[Math.max(Li[0]-zi,yi),Di],[Math.min(Li[0]+zi,Wi),aa]]:[[yi,Math.max(Li[1]-zi,Di)],[Wi,Math.min(Li[1]+zi,aa)]])}return bi()}function Xc(Yt){return u((i+Yt)/2)}function ch(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):M(tn/l(dr))/M(Xc(dr)/Xc(Yt)),Cn=tn*E(Xc(Yt),Wr)/Wr;if(!Wr)return Du;function si(yi,Di){Cn>0?Di<-i+r&&(Di=-i+r):Di>i-r&&(Di=i-r);var Wi=Cn/E(Xc(Di),Wr);return[Wi*m(Wr*yi),Cn-Wi*l(Wr*yi)]}return si.invert=function(yi,Di){var Wi=Cn-Di,aa=b(Wr)*v(yi*yi+Wi*Wi),bi=T(yi,p(Wi))*b(Wi);return Wi*Wr<0&&(bi-=n*b(yi)*b(Wi)),[bi/Wr,2*d(E(Cn/aa,1/Wr))-i]},si}function Mf(){return Dl(ch).scale(109.5).parallels([30,30])}function dl(Yt,dr){return[Yt,dr]}dl.invert=dl;function bu(){return Ru(dl).scale(152.63)}function wu(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):(tn-l(dr))/(dr-Yt),Cn=tn/Wr+Yt;if(p(Wr)r&&--Wr>0);return[Yt/(.8707+(si=tn*tn)*(-.131979+si*(-.013791+si*si*si*(.003971-.001529*si)))),tn]};function cc(){return Ru(bc).scale(175.295)}function zl(Yt,dr){return[l(dr)*m(Yt),m(dr)]}zl.invert=_c(f);function uu(){return Ru(zl).scale(249.5).clipAngle(90+r)}function fc(Yt,dr){var tn=l(dr),Wr=1+l(Yt)*tn;return[tn*m(Yt)/Wr,m(dr)/Wr]}fc.invert=_c(function(Yt){return 2*d(Yt)});function Dc(){return Ru(fc).scale(250).clipAngle(142)}function rc(Yt,dr){return[M(u((i+dr)/2)),-Yt]}rc.invert=function(Yt,dr){return[-dr,2*d(w(Yt))-i]};function Yc(){var Yt=lu(rc),dr=Yt.center,tn=Yt.rotate;return Yt.center=function(Wr){return arguments.length?dr([-Wr[1],Wr[0]]):(Wr=dr(),[Wr[1],-Wr[0]])},Yt.rotate=function(Wr){return arguments.length?tn([Wr[0],Wr[1],Wr.length>2?Wr[2]+90:90]):(Wr=tn(),[Wr[0],Wr[1],Wr[2]-90])},tn([0,0,90]).scale(159.155)}g.geoAlbers=Sl,g.geoAlbersUsa=uh,g.geoArea=j,g.geoAzimuthalEqualArea=Uh,g.geoAzimuthalEqualAreaRaw=lc,g.geoAzimuthalEquidistant=ff,g.geoAzimuthalEquidistantRaw=of,g.geoBounds=Be,g.geoCentroid=wr,g.geoCircle=Pr,g.geoClipAntimeridian=yr,g.geoClipCircle=Bn,g.geoClipExtent=Ta,g.geoClipRectangle=pi,g.geoConicConformal=Mf,g.geoConicConformalRaw=ch,g.geoConicEqualArea=xu,g.geoConicEqualAreaRaw=tc,g.geoConicEquidistant=Bf,g.geoConicEquidistantRaw=wu,g.geoContains=fs,g.geoDistance=Ka,g.geoEqualEarth=Nf,g.geoEqualEarthRaw=Zc,g.geoEquirectangular=bu,g.geoEquirectangularRaw=dl,g.geoGnomonic=Uf,g.geoGnomonicRaw=Xl,g.geoGraticule=pl,g.geoGraticule10=Xs,g.geoIdentity=Wu,g.geoInterpolate=Eo,g.geoLength=gs,g.geoMercator=Af,g.geoMercatorRaw=Du,g.geoNaturalEarth1=cc,g.geoNaturalEarth1Raw=bc,g.geoOrthographic=uu,g.geoOrthographicRaw=zl,g.geoPath=Ff,g.geoProjection=Ru,g.geoProjectionMutator=yc,g.geoRotation=ui,g.geoStereographic=Dc,g.geoStereographicRaw=fc,g.geoStream=N,g.geoTransform=$f,g.geoTransverseMercator=Yc,g.geoTransverseMercatorRaw=rc,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),h6=ke({\"node_modules/d3-geo-projection/dist/d3-geo-projection.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,mA(),G0()):x(g.d3=g.d3||{},g.d3,g.d3)})(Z,function(g,x,A){\"use strict\";var S=Math.abs,e=Math.atan,t=Math.atan2,r=Math.cos,o=Math.exp,n=Math.floor,i=Math.log,a=Math.max,s=Math.min,c=Math.pow,h=Math.round,p=Math.sign||function(Ge){return Ge>0?1:Ge<0?-1:0},d=Math.sin,T=Math.tan,l=1e-6,_=1e-12,w=Math.PI,M=w/2,E=w/4,m=Math.SQRT1_2,b=F(2),v=F(w),u=w*2,y=180/w,f=w/180;function P(Ge){return Ge?Ge/Math.sin(Ge):1}function L(Ge){return Ge>1?M:Ge<-1?-M:Math.asin(Ge)}function z(Ge){return Ge>1?0:Ge<-1?w:Math.acos(Ge)}function F(Ge){return Ge>0?Math.sqrt(Ge):0}function B(Ge){return Ge=o(2*Ge),(Ge-1)/(Ge+1)}function O(Ge){return(o(Ge)-o(-Ge))/2}function I(Ge){return(o(Ge)+o(-Ge))/2}function N(Ge){return i(Ge+F(Ge*Ge+1))}function U(Ge){return i(Ge+F(Ge*Ge-1))}function W(Ge){var $e=T(Ge/2),st=2*i(r(Ge/2))/($e*$e);function dt(St,xt){var It=r(St),rr=r(xt),sr=d(xt),pr=rr*It,kr=-((1-pr?i((1+pr)/2)/(1-pr):-.5)+st/(1+pr));return[kr*rr*d(St),kr*sr]}return dt.invert=function(St,xt){var It=F(St*St+xt*xt),rr=-Ge/2,sr=50,pr;if(!It)return[0,0];do{var kr=rr/2,Yr=r(kr),_n=d(kr),Mn=_n/Yr,Un=-i(S(Yr));rr-=pr=(2/Mn*Un-st*Mn-It)/(-Un/(_n*_n)+1-st/(2*Yr*Yr))*(Yr<0?.7:1)}while(S(pr)>l&&--sr>0);var li=d(rr);return[t(St*li,It*r(rr)),L(xt*li/It)]},dt}function Q(){var Ge=M,$e=x.geoProjectionMutator(W),st=$e(Ge);return st.radius=function(dt){return arguments.length?$e(Ge=dt*f):Ge*y},st.scale(179.976).clipAngle(147)}function le(Ge,$e){var st=r($e),dt=P(z(st*r(Ge/=2)));return[2*st*d(Ge)*dt,d($e)*dt]}le.invert=function(Ge,$e){if(!(Ge*Ge+4*$e*$e>w*w+l)){var st=Ge,dt=$e,St=25;do{var xt=d(st),It=d(st/2),rr=r(st/2),sr=d(dt),pr=r(dt),kr=d(2*dt),Yr=sr*sr,_n=pr*pr,Mn=It*It,Un=1-_n*rr*rr,li=Un?z(pr*rr)*F(ki=1/Un):ki=0,ki,Ci=2*li*pr*It-Ge,Zi=li*sr-$e,ya=ki*(_n*Mn+li*pr*rr*Yr),ro=ki*(.5*xt*kr-li*2*sr*It),Va=ki*.25*(kr*It-li*sr*_n*xt),Io=ki*(Yr*rr+li*Mn*pr),vs=ro*Va-Io*ya;if(!vs)break;var Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]}};function se(){return x.geoProjection(le).scale(152.63)}function fe(Ge){var $e=d(Ge),st=r(Ge),dt=Ge>=0?1:-1,St=T(dt*Ge),xt=(1+$e-st)/2;function It(rr,sr){var pr=r(sr),kr=r(rr/=2);return[(1+pr)*d(rr),(dt*sr>-t(kr,St)-.001?0:-dt*10)+xt+d(sr)*st-(1+pr)*$e*kr]}return It.invert=function(rr,sr){var pr=0,kr=0,Yr=50;do{var _n=r(pr),Mn=d(pr),Un=r(kr),li=d(kr),ki=1+Un,Ci=ki*Mn-rr,Zi=xt+li*st-ki*$e*_n-sr,ya=ki*_n/2,ro=-Mn*li,Va=$e*ki*Mn/2,Io=st*Un+$e*_n*li,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs/2,ts=(Ci*Va-Zi*ya)/vs;S(ts)>2&&(ts/=2),pr-=Fo,kr-=ts}while((S(Fo)>l||S(ts)>l)&&--Yr>0);return dt*kr>-t(r(pr),St)-.001?[pr*2,kr]:null},It}function G(){var Ge=20*f,$e=Ge>=0?1:-1,st=T($e*Ge),dt=x.geoProjectionMutator(fe),St=dt(Ge),xt=St.stream;return St.parallel=function(It){return arguments.length?(st=T(($e=(Ge=It*f)>=0?1:-1)*Ge),dt(Ge)):Ge*y},St.stream=function(It){var rr=St.rotate(),sr=xt(It),pr=(St.rotate([0,0]),xt(It)),kr=St.precision();return St.rotate(rr),sr.sphere=function(){pr.polygonStart(),pr.lineStart();for(var Yr=$e*-180;$e*Yr<180;Yr+=$e*90)pr.point(Yr,$e*90);if(Ge)for(;$e*(Yr-=3*$e*kr)>=-180;)pr.point(Yr,$e*-t(r(Yr*f/2),st)*y);pr.lineEnd(),pr.polygonEnd()},sr},St.scale(218.695).center([0,28.0974])}function $(Ge,$e){var st=T($e/2),dt=F(1-st*st),St=1+dt*r(Ge/=2),xt=d(Ge)*dt/St,It=st/St,rr=xt*xt,sr=It*It;return[4/3*xt*(3+rr-3*sr),4/3*It*(3+3*rr-sr)]}$.invert=function(Ge,$e){if(Ge*=3/8,$e*=3/8,!Ge&&S($e)>1)return null;var st=Ge*Ge,dt=$e*$e,St=1+st+dt,xt=F((St-F(St*St-4*$e*$e))/2),It=L(xt)/3,rr=xt?U(S($e/xt))/3:N(S(Ge))/3,sr=r(It),pr=I(rr),kr=pr*pr-sr*sr;return[p(Ge)*2*t(O(rr)*sr,.25-kr),p($e)*2*t(pr*d(It),.25+kr)]};function J(){return x.geoProjection($).scale(66.1603)}var X=F(8),re=i(1+b);function ae(Ge,$e){var st=S($e);return st_&&--dt>0);return[Ge/(r(st)*(X-1/d(st))),p($e)*st]};function j(){return x.geoProjection(ae).scale(112.314)}function ee(Ge){var $e=2*w/Ge;function st(dt,St){var xt=x.geoAzimuthalEquidistantRaw(dt,St);if(S(dt)>M){var It=t(xt[1],xt[0]),rr=F(xt[0]*xt[0]+xt[1]*xt[1]),sr=$e*h((It-M)/$e)+M,pr=t(d(It-=sr),2-r(It));It=sr+L(w/rr*d(pr))-pr,xt[0]=rr*r(It),xt[1]=rr*d(It)}return xt}return st.invert=function(dt,St){var xt=F(dt*dt+St*St);if(xt>M){var It=t(St,dt),rr=$e*h((It-M)/$e)+M,sr=It>rr?-1:1,pr=xt*r(rr-It),kr=1/T(sr*z((pr-w)/F(w*(w-2*pr)+xt*xt)));It=rr+2*e((kr+sr*F(kr*kr-3))/3),dt=xt*r(It),St=xt*d(It)}return x.geoAzimuthalEquidistantRaw.invert(dt,St)},st}function ie(){var Ge=5,$e=x.geoProjectionMutator(ee),st=$e(Ge),dt=st.stream,St=.01,xt=-r(St*f),It=d(St*f);return st.lobes=function(rr){return arguments.length?$e(Ge=+rr):Ge},st.stream=function(rr){var sr=st.rotate(),pr=dt(rr),kr=(st.rotate([0,0]),dt(rr));return st.rotate(sr),pr.sphere=function(){kr.polygonStart(),kr.lineStart();for(var Yr=0,_n=360/Ge,Mn=2*w/Ge,Un=90-180/Ge,li=M;Yr0&&S(St)>l);return dt<0?NaN:st}function Ie(Ge,$e,st){return $e===void 0&&($e=40),st===void 0&&(st=_),function(dt,St,xt,It){var rr,sr,pr;xt=xt===void 0?0:+xt,It=It===void 0?0:+It;for(var kr=0;kr<$e;kr++){var Yr=Ge(xt,It),_n=Yr[0]-dt,Mn=Yr[1]-St;if(S(_n)rr){xt-=sr/=2,It-=pr/=2;continue}rr=Un;var li=(xt>0?-1:1)*st,ki=(It>0?-1:1)*st,Ci=Ge(xt+li,It),Zi=Ge(xt,It+ki),ya=(Ci[0]-Yr[0])/li,ro=(Ci[1]-Yr[1])/li,Va=(Zi[0]-Yr[0])/ki,Io=(Zi[1]-Yr[1])/ki,vs=Io*ya-ro*Va,Fo=(S(vs)<.5?.5:1)/vs;if(sr=(Mn*Va-_n*Io)*Fo,pr=(_n*ro-Mn*ya)*Fo,xt+=sr,It+=pr,S(sr)0&&(rr[1]*=1+sr/1.5*rr[0]*rr[0]),rr}return dt.invert=Ie(dt),dt}function it(){return x.geoProjection(Ye()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function at(Ge,$e){var st=Ge*d($e),dt=30,St;do $e-=St=($e+d($e)-st)/(1+r($e));while(S(St)>l&&--dt>0);return $e/2}function tt(Ge,$e,st){function dt(St,xt){return[Ge*St*r(xt=at(st,xt)),$e*d(xt)]}return dt.invert=function(St,xt){return xt=L(xt/$e),[St/(Ge*r(xt)),L((2*xt+d(2*xt))/st)]},dt}var ut=tt(b/M,b,w);function Me(){return x.geoProjection(ut).scale(169.529)}var pe=2.00276,ue=1.11072;function Oe(Ge,$e){var st=at(w,$e);return[pe*Ge/(1/r($e)+ue/r(st)),($e+b*d(st))/pe]}Oe.invert=function(Ge,$e){var st=pe*$e,dt=$e<0?-E:E,St=25,xt,It;do It=st-b*d(dt),dt-=xt=(d(2*dt)+2*dt-w*d(It))/(2*r(2*dt)+2+w*r(It)*b*r(dt));while(S(xt)>l&&--St>0);return It=st-b*d(dt),[Ge*(1/r(It)+ue/r(dt))/pe,It]};function rt(){return x.geoProjection(Oe).scale(160.857)}function ot(Ge){var $e=0,st=x.geoProjectionMutator(Ge),dt=st($e);return dt.parallel=function(St){return arguments.length?st($e=St*f):$e*y},dt}function et(Ge,$e){return[Ge*r($e),$e]}et.invert=function(Ge,$e){return[Ge/r($e),$e]};function Lt(){return x.geoProjection(et).scale(152.63)}function Et(Ge){if(!Ge)return et;var $e=1/T(Ge);function st(dt,St){var xt=$e+Ge-St,It=xt&&dt*r(St)/xt;return[xt*d(It),$e-xt*r(It)]}return st.invert=function(dt,St){var xt=F(dt*dt+(St=$e-St)*St),It=$e+Ge-xt;return[xt/r(It)*t(dt,St),It]},st}function Bt(){return ot(Et).scale(123.082).center([0,26.1441]).parallel(45)}function qt(Ge){function $e(st,dt){var St=M-dt,xt=St&&st*Ge*d(St)/St;return[St*d(xt)/Ge,M-St*r(xt)]}return $e.invert=function(st,dt){var St=st*Ge,xt=M-dt,It=F(St*St+xt*xt),rr=t(St,xt);return[(It?It/d(It):1)*rr/Ge,M-It]},$e}function fr(){var Ge=.5,$e=x.geoProjectionMutator(qt),st=$e(Ge);return st.fraction=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(158.837)}var ar=tt(1,4/w,w);function Rr(){return x.geoProjection(ar).scale(152.63)}function gr(Ge,$e,st,dt,St,xt){var It=r(xt),rr;if(S(Ge)>1||S(xt)>1)rr=z(st*St+$e*dt*It);else{var sr=d(Ge/2),pr=d(xt/2);rr=2*L(F(sr*sr+$e*dt*pr*pr))}return S(rr)>l?[rr,t(dt*d(xt),$e*St-st*dt*It)]:[0,0]}function br(Ge,$e,st){return z((Ge*Ge+$e*$e-st*st)/(2*Ge*$e))}function _t(Ge){return Ge-2*w*n((Ge+w)/(2*w))}function Be(Ge,$e,st){for(var dt=[[Ge[0],Ge[1],d(Ge[1]),r(Ge[1])],[$e[0],$e[1],d($e[1]),r($e[1])],[st[0],st[1],d(st[1]),r(st[1])]],St=dt[2],xt,It=0;It<3;++It,St=xt)xt=dt[It],St.v=gr(xt[1]-St[1],St[3],St[2],xt[3],xt[2],xt[0]-St[0]),St.point=[0,0];var rr=br(dt[0].v[0],dt[2].v[0],dt[1].v[0]),sr=br(dt[0].v[0],dt[1].v[0],dt[2].v[0]),pr=w-rr;dt[2].point[1]=0,dt[0].point[0]=-(dt[1].point[0]=dt[0].v[0]/2);var kr=[dt[2].point[0]=dt[0].point[0]+dt[2].v[0]*r(rr),2*(dt[0].point[1]=dt[1].point[1]=dt[2].v[0]*d(rr))];function Yr(_n,Mn){var Un=d(Mn),li=r(Mn),ki=new Array(3),Ci;for(Ci=0;Ci<3;++Ci){var Zi=dt[Ci];if(ki[Ci]=gr(Mn-Zi[1],Zi[3],Zi[2],li,Un,_n-Zi[0]),!ki[Ci][0])return Zi.point;ki[Ci][1]=_t(ki[Ci][1]-Zi.v[1])}var ya=kr.slice();for(Ci=0;Ci<3;++Ci){var ro=Ci==2?0:Ci+1,Va=br(dt[Ci].v[0],ki[Ci][0],ki[ro][0]);ki[Ci][1]<0&&(Va=-Va),Ci?Ci==1?(Va=sr-Va,ya[0]-=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va)):(Va=pr-Va,ya[0]+=ki[Ci][0]*r(Va),ya[1]+=ki[Ci][0]*d(Va)):(ya[0]+=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va))}return ya[0]/=3,ya[1]/=3,ya}return Yr}function Ke(Ge){return Ge[0]*=f,Ge[1]*=f,Ge}function je(){return Se([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Se(Ge,$e,st){var dt=x.geoCentroid({type:\"MultiPoint\",coordinates:[Ge,$e,st]}),St=[-dt[0],-dt[1]],xt=x.geoRotation(St),It=Be(Ke(xt(Ge)),Ke(xt($e)),Ke(xt(st)));It.invert=Ie(It);var rr=x.geoProjection(It).rotate(St),sr=rr.center;return delete rr.rotate,rr.center=function(pr){return arguments.length?sr(xt(pr)):xt.invert(sr())},rr.clipAngle(90)}function He(Ge,$e){var st=F(1-d($e));return[2/v*Ge*st,v*(1-st)]}He.invert=function(Ge,$e){var st=(st=$e/v-1)*st;return[st>0?Ge*F(w/st)/2:0,L(1-st)]};function Ee(){return x.geoProjection(He).scale(95.6464).center([0,30])}function we(Ge){var $e=T(Ge);function st(dt,St){return[dt,(dt?dt/d(dt):1)*(d(St)*r(dt)-$e*r(St))]}return st.invert=$e?function(dt,St){dt&&(St*=d(dt)/dt);var xt=r(dt);return[dt,2*t(F(xt*xt+$e*$e-St*St)-xt,$e-St)]}:function(dt,St){return[dt,L(dt?St*T(dt)/dt:St)]},st}function Le(){return ot(we).scale(249.828).clipAngle(90)}var nt=F(3);function pt(Ge,$e){return[nt*Ge*(2*r(2*$e/3)-1)/v,nt*v*d($e/3)]}pt.invert=function(Ge,$e){var st=3*L($e/(nt*v));return[v*Ge/(nt*(2*r(2*st/3)-1)),st]};function bt(){return x.geoProjection(pt).scale(156.19)}function Rt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,d(St)/$e]}return st.invert=function(dt,St){return[dt/$e,L(St*$e)]},st}function Nt(){return ot(Rt).parallel(38.58).scale(195.044)}function Xt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,(1+$e)*T(St/2)]}return st.invert=function(dt,St){return[dt/$e,e(St/(1+$e))*2]},st}function $t(){return ot(Xt).scale(124.75)}function ur(Ge,$e){var st=F(8/(3*w));return[st*Ge*(1-S($e)/w),st*$e]}ur.invert=function(Ge,$e){var st=F(8/(3*w)),dt=$e/st;return[Ge/(st*(1-S(dt)/w)),dt]};function pn(){return x.geoProjection(ur).scale(165.664)}function Rn(Ge,$e){var st=F(4-3*d(S($e)));return[2/F(6*w)*Ge*st,p($e)*F(2*w/3)*(2-st)]}Rn.invert=function(Ge,$e){var st=2-S($e)/F(2*w/3);return[Ge*F(6*w)/(2*st),p($e)*L((4-st*st)/3)]};function Nn(){return x.geoProjection(Rn).scale(165.664)}function On(Ge,$e){var st=F(w*(4+w));return[2/st*Ge*(1+F(1-4*$e*$e/(w*w))),4/st*$e]}On.invert=function(Ge,$e){var st=F(w*(4+w))/2;return[Ge*st/(1+F(1-$e*$e*(4+w)/(4*w))),$e*st/2]};function ni(){return x.geoProjection(On).scale(180.739)}function zn(Ge,$e){var st=(2+M)*d($e);$e/=2;for(var dt=0,St=1/0;dt<10&&S(St)>l;dt++){var xt=r($e);$e-=St=($e+d($e)*(xt+2)-st)/(2*xt*(1+xt))}return[2/F(w*(4+w))*Ge*(1+r($e)),2*F(w/(4+w))*d($e)]}zn.invert=function(Ge,$e){var st=$e*F((4+w)/w)/2,dt=L(st),St=r(dt);return[Ge/(2/F(w*(4+w))*(1+St)),L((dt+st*(St+2))/(2+M))]};function Qn(){return x.geoProjection(zn).scale(180.739)}function gi(Ge,$e){return[Ge*(1+r($e))/F(2+w),2*$e/F(2+w)]}gi.invert=function(Ge,$e){var st=F(2+w),dt=$e*st/2;return[st*Ge/(1+r(dt)),dt]};function Zt(){return x.geoProjection(gi).scale(173.044)}function Ft(Ge,$e){for(var st=(1+M)*d($e),dt=0,St=1/0;dt<10&&S(St)>l;dt++)$e-=St=($e+d($e)-st)/(1+r($e));return st=F(2+w),[Ge*(1+r($e))/st,2*$e/st]}Ft.invert=function(Ge,$e){var st=1+M,dt=F(st/2);return[Ge*2*dt/(1+r($e*=dt)),L(($e+d($e))/st)]};function Ht(){return x.geoProjection(Ft).scale(173.044)}var Vt=3+2*b;function wr(Ge,$e){var st=d(Ge/=2),dt=r(Ge),St=F(r($e)),xt=r($e/=2),It=d($e)/(xt+b*dt*St),rr=F(2/(1+It*It)),sr=F((b*xt+(dt+st)*St)/(b*xt+(dt-st)*St));return[Vt*(rr*(sr-1/sr)-2*i(sr)),Vt*(rr*It*(sr+1/sr)-2*e(It))]}wr.invert=function(Ge,$e){if(!(xt=$.invert(Ge/1.2,$e*1.065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=sr*r(Yr),It=sr*d(Yr);for(var _n=xt-M,Mn=d(xt),Un=It/Mn,li=xtl||S(Un)>l)&&--li>0);return[Yr,_n]},sr}var Dr=Ur(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function nn(){return x.geoProjection(Dr).scale(149.995)}var vn=Ur(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function gn(){return x.geoProjection(vn).scale(153.93)}var kt=Ur(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function or(){return x.geoProjection(kt).scale(130.945)}function yr(Ge,$e){var st=Ge*Ge,dt=$e*$e;return[Ge*(1-.162388*dt)*(.87-952426e-9*st*st),$e*(1+dt/12)]}yr.invert=function(Ge,$e){var st=Ge,dt=$e,St=50,xt;do{var It=dt*dt;dt-=xt=(dt*(1+It/12)-$e)/(1+It/4)}while(S(xt)>l&&--St>0);St=50,Ge/=1-.162388*It;do{var rr=(rr=st*st)*rr;st-=xt=(st*(.87-952426e-9*rr)-Ge)/(.87-.00476213*rr)}while(S(xt)>l&&--St>0);return[st,dt]};function on(){return x.geoProjection(yr).scale(131.747)}var An=Ur(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Zn(){return x.geoProjection(An).scale(131.087)}function Bn(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=dt>0?-.5:.5,It=Ge(dt+xt*w,St);return It[0]-=xt*$e,It}return Ge.invert&&(st.invert=function(dt,St){var xt=dt>0?-.5:.5,It=Ge.invert(dt+xt*$e,St),rr=It[0]-xt*w;return rr<-w?rr+=2*w:rr>w&&(rr-=2*w),It[0]=rr,It}),st}function wn(Ge,$e){var st=p(Ge),dt=p($e),St=r($e),xt=r(Ge)*St,It=d(Ge)*St,rr=d(dt*$e);Ge=S(t(It,rr)),$e=L(xt),S(Ge-M)>l&&(Ge%=M);var sr=Dn(Ge>w/4?M-Ge:Ge,$e);return Ge>w/4&&(rr=sr[0],sr[0]=-sr[1],sr[1]=-rr),sr[0]*=st,sr[1]*=-dt,sr}wn.invert=function(Ge,$e){S(Ge)>1&&(Ge=p(Ge)*2-Ge),S($e)>1&&($e=p($e)*2-$e);var st=p(Ge),dt=p($e),St=-st*Ge,xt=-dt*$e,It=xt/St<1,rr=Ui(It?xt:St,It?St:xt),sr=rr[0],pr=rr[1],kr=r(pr);return It&&(sr=-M-sr),[st*(t(d(sr)*kr,-d(pr))+w),dt*L(r(sr)*kr)]};function Dn(Ge,$e){if($e===M)return[0,0];var st=d($e),dt=st*st,St=dt*dt,xt=1+St,It=1+3*St,rr=1-St,sr=L(1/F(xt)),pr=rr+dt*xt*sr,kr=(1-st)/pr,Yr=F(kr),_n=kr*xt,Mn=F(_n),Un=Yr*rr,li,ki;if(Ge===0)return[0,-(Un+dt*Mn)];var Ci=r($e),Zi=1/Ci,ya=2*st*Ci,ro=(-3*dt+sr*It)*ya,Va=(-pr*Ci-(1-st)*ro)/(pr*pr),Io=.5*Va/Yr,vs=rr*Io-2*dt*Yr*ya,Fo=dt*xt*Va+kr*It*ya,ts=-Zi*ya,bs=-Zi*Fo,fl=-2*Zi*vs,al=4*Ge/w,os;if(Ge>.222*w||$e.175*w){if(li=(Un+dt*F(_n*(1+St)-Un*Un))/(1+St),Ge>w/4)return[li,li];var is=li,Nl=.5*li;li=.5*(Nl+is),ki=50;do{var eu=F(_n-li*li),Xu=li*(fl+ts*eu)+bs*L(li/Mn)-al;if(!Xu)break;Xu<0?Nl=li:is=li,li=.5*(Nl+is)}while(S(is-Nl)>l&&--ki>0)}else{li=l,ki=25;do{var mu=li*li,El=F(_n-mu),fu=fl+ts*El,Tc=li*fu+bs*L(li/Mn)-al,Zl=fu+(bs-ts*mu)/El;li-=os=El?Tc/Zl:0}while(S(os)>l&&--ki>0)}return[li,-Un-dt*F(_n-li*li)]}function Ui(Ge,$e){for(var st=0,dt=1,St=.5,xt=50;;){var It=St*St,rr=F(St),sr=L(1/F(1+It)),pr=1-It+St*(1+It)*sr,kr=(1-rr)/pr,Yr=F(kr),_n=kr*(1+It),Mn=Yr*(1-It),Un=_n-Ge*Ge,li=F(Un),ki=$e+Mn+St*li;if(S(dt-st)<_||--xt===0||ki===0)break;ki>0?st=St:dt=St,St=.5*(st+dt)}if(!xt)return null;var Ci=L(rr),Zi=r(Ci),ya=1/Zi,ro=2*rr*Zi,Va=(-3*St+sr*(1+3*It))*ro,Io=(-pr*Zi-(1-rr)*Va)/(pr*pr),vs=.5*Io/Yr,Fo=(1-It)*vs-2*St*Yr*ro,ts=-2*ya*Fo,bs=-ya*ro,fl=-ya*(St*(1+It)*Io+kr*(1+3*It)*ro);return[w/4*(Ge*(ts+bs*li)+fl*L(Ge/F(_n))),Ci]}function pi(){return x.geoProjection(Bn(wn)).scale(239.75)}function Ta(Ge,$e,st){var dt,St,xt;return Ge?(dt=Sa(Ge,st),$e?(St=Sa($e,1-st),xt=St[1]*St[1]+st*dt[0]*dt[0]*St[0]*St[0],[[dt[0]*St[2]/xt,dt[1]*dt[2]*St[0]*St[1]/xt],[dt[1]*St[1]/xt,-dt[0]*dt[2]*St[0]*St[2]/xt],[dt[2]*St[1]*St[2]/xt,-st*dt[0]*dt[1]*St[0]/xt]]):[[dt[0],0],[dt[1],0],[dt[2],0]]):(St=Sa($e,1-st),[[0,St[0]/St[1]],[1/St[1],0],[St[2]/St[1],0]])}function Sa(Ge,$e){var st,dt,St,xt,It;if($e=1-l)return st=(1-$e)/4,dt=I(Ge),xt=B(Ge),St=1/dt,It=dt*O(Ge),[xt+st*(It-Ge)/(dt*dt),St-st*xt*St*(It-Ge),St+st*xt*St*(It+Ge),2*e(o(Ge))-M+st*(It-Ge)/dt];var rr=[1,0,0,0,0,0,0,0,0],sr=[F($e),0,0,0,0,0,0,0,0],pr=0;for(dt=F(1-$e),It=1;S(sr[pr]/rr[pr])>l&&pr<8;)st=rr[pr++],sr[pr]=(st-dt)/2,rr[pr]=(st+dt)/2,dt=F(st*dt),It*=2;St=It*rr[pr]*Ge;do xt=sr[pr]*d(dt=St)/rr[pr],St=(L(xt)+St)/2;while(--pr);return[d(St),xt=r(St),xt/r(St-dt),St]}function qa(Ge,$e,st){var dt=S(Ge),St=S($e),xt=O(St);if(dt){var It=1/d(dt),rr=1/(T(dt)*T(dt)),sr=-(rr+st*(xt*xt*It*It)-1+st),pr=(st-1)*rr,kr=(-sr+F(sr*sr-4*pr))/2;return[to(e(1/F(kr)),st)*p(Ge),to(e(F((kr/rr-1)/st)),1-st)*p($e)]}return[0,to(e(xt),1-st)*p($e)]}function to(Ge,$e){if(!$e)return Ge;if($e===1)return i(T(Ge/2+E));for(var st=1,dt=F(1-$e),St=F($e),xt=0;S(St)>l;xt++){if(Ge%w){var It=e(dt*T(Ge)/st);It<0&&(It+=w),Ge+=It+~~(Ge/w)*w}else Ge+=Ge;St=(st+dt)/2,dt=F(st*dt),St=((st=St)-dt)/2}return Ge/(c(2,xt)*st)}function yo(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=i(T(w/4+S($e)/2)),rr=o(xt*It)/F(st),sr=Xa(rr*r(xt*Ge),rr*d(xt*Ge)),pr=qa(sr[0],sr[1],dt*dt);return[-pr[1],($e>=0?1:-1)*(.5*St-pr[0])]}function Xa(Ge,$e){var st=Ge*Ge,dt=$e+1,St=1-st-$e*$e;return[.5*((Ge>=0?M:-M)-t(St,2*Ge)),-.25*i(St*St+4*st)+.5*i(dt*dt+st)]}function Go(Ge,$e){var st=$e[0]*$e[0]+$e[1]*$e[1];return[(Ge[0]*$e[0]+Ge[1]*$e[1])/st,(Ge[1]*$e[0]-Ge[0]*$e[1])/st]}yo.invert=function(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=Ta(.5*St-$e,-Ge,dt*dt),rr=Go(It[0],It[1]),sr=t(rr[1],rr[0])/xt;return[sr,2*e(o(.5/xt*i(st*rr[0]*rr[0]+st*rr[1]*rr[1])))-M]};function pa(){return x.geoProjection(Bn(yo)).scale(151.496)}function cs(Ge){var $e=d(Ge),st=r(Ge),dt=Ko(Ge);dt.invert=Ko(-Ge);function St(xt,It){var rr=dt(xt,It);xt=rr[0],It=rr[1];var sr=d(It),pr=r(It),kr=r(xt),Yr=z($e*sr+st*pr*kr),_n=d(Yr),Mn=S(_n)>l?Yr/_n:1;return[Mn*st*d(xt),(S(xt)>M?Mn:-Mn)*($e*pr-st*sr*kr)]}return St.invert=function(xt,It){var rr=F(xt*xt+It*It),sr=-d(rr),pr=r(rr),kr=rr*pr,Yr=-It*sr,_n=rr*$e,Mn=F(kr*kr+Yr*Yr-_n*_n),Un=t(kr*_n+Yr*Mn,Yr*_n-kr*Mn),li=(rr>M?-1:1)*t(xt*sr,rr*r(Un)*pr+It*d(Un)*sr);return dt.invert(li,Un)},St}function Ko(Ge){var $e=d(Ge),st=r(Ge);return function(dt,St){var xt=r(St),It=r(dt)*xt,rr=d(dt)*xt,sr=d(St);return[t(rr,It*st-sr*$e),L(sr*st+It*$e)]}}function gs(){var Ge=0,$e=x.geoProjectionMutator(cs),st=$e(Ge),dt=st.rotate,St=st.stream,xt=x.geoCircle();return st.parallel=function(It){if(!arguments.length)return Ge*y;var rr=st.rotate();return $e(Ge=It*f).rotate(rr)},st.rotate=function(It){return arguments.length?(dt.call(st,[It[0],It[1]-Ge*y]),xt.center([-It[0],-It[1]]),st):(It=dt.call(st),It[1]+=Ge*y,It)},st.stream=function(It){return It=St(It),It.sphere=function(){It.polygonStart();var rr=.01,sr=xt.radius(90-rr)().coordinates[0],pr=sr.length-1,kr=-1,Yr;for(It.lineStart();++kr=0;)It.point((Yr=sr[kr])[0],Yr[1]);It.lineEnd(),It.polygonEnd()},It},st.scale(79.4187).parallel(45).clipAngle(180-.001)}var Ya=3,zo=L(1-1/Ya)*y,Ka=Rt(0);function Yo(Ge){var $e=zo*f,st=He(w,$e)[0]-He(-w,$e)[0],dt=Ka(0,$e)[1],St=He(0,$e)[1],xt=v-St,It=u/Ge,rr=4/u,sr=dt+xt*xt*4/u;function pr(kr,Yr){var _n,Mn=S(Yr);if(Mn>$e){var Un=s(Ge-1,a(0,n((kr+w)/It)));kr+=w*(Ge-1)/Ge-Un*It,_n=He(kr,Mn),_n[0]=_n[0]*u/st-u*(Ge-1)/(2*Ge)+Un*u/Ge,_n[1]=dt+(_n[1]-St)*4*xt/u,Yr<0&&(_n[1]=-_n[1])}else _n=Ka(kr,Yr);return _n[0]*=rr,_n[1]/=sr,_n}return pr.invert=function(kr,Yr){kr/=rr,Yr*=sr;var _n=S(Yr);if(_n>dt){var Mn=s(Ge-1,a(0,n((kr+w)/It)));kr=(kr+w*(Ge-1)/Ge-Mn*It)*st/u;var Un=He.invert(kr,.25*(_n-dt)*u/xt+St);return Un[0]-=w*(Ge-1)/Ge-Mn*It,Yr<0&&(Un[1]=-Un[1]),Un}return Ka.invert(kr,Yr)},pr}function ns(Ge,$e){return[Ge,$e&1?90-l:zo]}function hs(Ge,$e){return[Ge,$e&1?-90+l:-zo]}function ho(Ge){return[Ge[0]*(1-l),Ge[1]]}function Ro(Ge){var $e=[].concat(A.range(-180,180+Ge/2,Ge).map(ns),A.range(180,-180-Ge/2,-Ge).map(hs));return{type:\"Polygon\",coordinates:[Ge===180?$e.map(ho):$e]}}function Ls(){var Ge=4,$e=x.geoProjectionMutator(Yo),st=$e(Ge),dt=st.stream;return st.lobes=function(St){return arguments.length?$e(Ge=+St):Ge},st.stream=function(St){var xt=st.rotate(),It=dt(St),rr=(st.rotate([0,0]),dt(St));return st.rotate(xt),It.sphere=function(){x.geoStream(Ro(180/Ge),rr)},It},st.scale(239.75)}function Vs(Ge){var $e=1+Ge,st=d(1/$e),dt=L(st),St=2*F(w/(xt=w+4*dt*$e)),xt,It=.5*St*($e+F(Ge*(2+Ge))),rr=Ge*Ge,sr=$e*$e;function pr(kr,Yr){var _n=1-d(Yr),Mn,Un;if(_n&&_n<2){var li=M-Yr,ki=25,Ci;do{var Zi=d(li),ya=r(li),ro=dt+t(Zi,$e-ya),Va=1+sr-2*$e*ya;li-=Ci=(li-rr*dt-$e*Zi+Va*ro-.5*_n*xt)/(2*$e*Zi*ro)}while(S(Ci)>_&&--ki>0);Mn=St*F(Va),Un=kr*ro/w}else Mn=St*(Ge+_n),Un=kr*dt/w;return[Mn*d(Un),It-Mn*r(Un)]}return pr.invert=function(kr,Yr){var _n=kr*kr+(Yr-=It)*Yr,Mn=(1+sr-_n/(St*St))/(2*$e),Un=z(Mn),li=d(Un),ki=dt+t(li,$e-Mn);return[L(kr/F(_n))*w/ki,L(1-2*(Un-rr*dt-$e*li+(1+sr-2*$e*Mn)*ki)/xt)]},pr}function Ws(){var Ge=1,$e=x.geoProjectionMutator(Vs),st=$e(Ge);return st.ratio=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(167.774).center([0,18.67])}var fs=.7109889596207567,Mi=.0528035274542;function Da(Ge,$e){return $e>-fs?(Ge=ut(Ge,$e),Ge[1]+=Mi,Ge):et(Ge,$e)}Da.invert=function(Ge,$e){return $e>-fs?ut.invert(Ge,$e-Mi):et.invert(Ge,$e)};function pl(){return x.geoProjection(Da).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Xs(Ge,$e){return S($e)>fs?(Ge=ut(Ge,$e),Ge[1]-=$e>0?Mi:-Mi,Ge):et(Ge,$e)}Xs.invert=function(Ge,$e){return S($e)>fs?ut.invert(Ge,$e+($e>0?Mi:-Mi)):et.invert(Ge,$e)};function Eo(){return x.geoProjection(Xs).scale(152.63)}function Ys(Ge,$e,st,dt){var St=F(4*w/(2*st+(1+Ge-$e/2)*d(2*st)+(Ge+$e)/2*d(4*st)+$e/2*d(6*st))),xt=F(dt*d(st)*F((1+Ge*r(2*st)+$e*r(4*st))/(1+Ge+$e))),It=st*sr(1);function rr(Yr){return F(1+Ge*r(2*Yr)+$e*r(4*Yr))}function sr(Yr){var _n=Yr*st;return(2*_n+(1+Ge-$e/2)*d(2*_n)+(Ge+$e)/2*d(4*_n)+$e/2*d(6*_n))/st}function pr(Yr){return rr(Yr)*d(Yr)}var kr=function(Yr,_n){var Mn=st*Ue(sr,It*d(_n)/st,_n/w);isNaN(Mn)&&(Mn=st*p(_n));var Un=St*rr(Mn);return[Un*xt*Yr/w*r(Mn),Un/xt*d(Mn)]};return kr.invert=function(Yr,_n){var Mn=Ue(pr,_n*xt/St);return[Yr*w/(r(Mn)*St*xt*rr(Mn)),L(st*sr(Mn/st)/It)]},st===0&&(St=F(dt/w),kr=function(Yr,_n){return[Yr*St,d(_n)/St]},kr.invert=function(Yr,_n){return[Yr/St,L(_n*St)]}),kr}function As(){var Ge=1,$e=0,st=45*f,dt=2,St=x.geoProjectionMutator(Ys),xt=St(Ge,$e,st,dt);return xt.a=function(It){return arguments.length?St(Ge=+It,$e,st,dt):Ge},xt.b=function(It){return arguments.length?St(Ge,$e=+It,st,dt):$e},xt.psiMax=function(It){return arguments.length?St(Ge,$e,st=+It*f,dt):st*y},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(180.739)}function hl(Ge,$e,st,dt,St,xt,It,rr,sr,pr,kr){if(kr.nanEncountered)return NaN;var Yr,_n,Mn,Un,li,ki,Ci,Zi,ya,ro;if(Yr=st-$e,_n=Ge($e+Yr*.25),Mn=Ge(st-Yr*.25),isNaN(_n)){kr.nanEncountered=!0;return}if(isNaN(Mn)){kr.nanEncountered=!0;return}return Un=Yr*(dt+4*_n+St)/12,li=Yr*(St+4*Mn+xt)/12,ki=Un+li,ro=(ki-It)/15,pr>sr?(kr.maxDepthCount++,ki+ro):Math.abs(ro)>1;do sr[ki]>Mn?li=ki:Un=ki,ki=Un+li>>1;while(ki>Un);var Ci=sr[ki+1]-sr[ki];return Ci&&(Ci=(Mn-sr[ki+1])/Ci),(ki+1+Ci)/It}var Yr=2*kr(1)/w*xt/st,_n=function(Mn,Un){var li=kr(S(d(Un))),ki=dt(li)*Mn;return li/=Yr,[ki,Un>=0?li:-li]};return _n.invert=function(Mn,Un){var li;return Un*=Yr,S(Un)<1&&(li=p(Un)*L(St(S(Un))*xt)),[Mn/dt(S(Un)),li]},_n}function Uo(){var Ge=0,$e=2.5,st=1.183136,dt=x.geoProjectionMutator(la),St=dt(Ge,$e,st);return St.alpha=function(xt){return arguments.length?dt(Ge=+xt,$e,st):Ge},St.k=function(xt){return arguments.length?dt(Ge,$e=+xt,st):$e},St.gamma=function(xt){return arguments.length?dt(Ge,$e,st=+xt):st},St.scale(152.63)}function vo(Ge,$e){return S(Ge[0]-$e[0])=0;--sr)st=Ge[1][sr],dt=st[0][0],St=st[0][1],xt=st[1][1],It=st[2][0],rr=st[2][1],$e.push(Ps([[It-l,rr-l],[It-l,xt+l],[dt+l,xt+l],[dt+l,St-l]],30));return{type:\"Polygon\",coordinates:[A.merge($e)]}}function no(Ge,$e,st){var dt,St;function xt(sr,pr){for(var kr=pr<0?-1:1,Yr=$e[+(pr<0)],_n=0,Mn=Yr.length-1;_nYr[_n][2][0];++_n);var Un=Ge(sr-Yr[_n][1][0],pr);return Un[0]+=Ge(Yr[_n][1][0],kr*pr>kr*Yr[_n][0][1]?Yr[_n][0][1]:pr)[0],Un}st?xt.invert=st(xt):Ge.invert&&(xt.invert=function(sr,pr){for(var kr=St[+(pr<0)],Yr=$e[+(pr<0)],_n=0,Mn=kr.length;_nUn&&(li=Mn,Mn=Un,Un=li),[[Yr,Mn],[_n,Un]]})}),It):$e.map(function(pr){return pr.map(function(kr){return[[kr[0][0]*y,kr[0][1]*y],[kr[1][0]*y,kr[1][1]*y],[kr[2][0]*y,kr[2][1]*y]]})})},$e!=null&&It.lobes($e),It}var $l=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ku(){return no(Oe,$l).scale(160.857)}var Tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Vu(){return no(Xs,Tl).scale(152.63)}var Rl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Qs(){return no(ut,Rl).scale(169.529)}var nu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function qu(){return no(ut,nu).scale(169.529).rotate([20,0])}var kc=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ju(){return no(Da,kc,Ie).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var sh=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function uf(){return no(et,sh).scale(152.63).rotate([-20,0])}function qs(Ge,$e){return[3/u*Ge*F(w*w/3-$e*$e),$e]}qs.invert=function(Ge,$e){return[u/3*Ge/F(w*w/3-$e*$e),$e]};function Hc(){return x.geoProjection(qs).scale(158.837)}function bf(Ge){function $e(st,dt){if(S(S(dt)-M)2)return null;st/=2,dt/=2;var xt=st*st,It=dt*dt,rr=2*dt/(1+xt+It);return rr=c((1+rr)/(1-rr),1/Ge),[t(2*st,1-xt-It)/Ge,L((rr-1)/(rr+1))]},$e}function Ql(){var Ge=.5,$e=x.geoProjectionMutator(bf),st=$e(Ge);return st.spacing=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(124.75)}var Al=w/b;function oc(Ge,$e){return[Ge*(1+F(r($e)))/2,$e/(r($e/2)*r(Ge/6))]}oc.invert=function(Ge,$e){var st=S(Ge),dt=S($e),St=l,xt=M;dtl||S(ki)>l)&&--St>0);return St&&[st,dt]};function Ml(){return x.geoProjection(nl).scale(139.98)}function Zs(Ge,$e){return[d(Ge)/r($e),T($e)*r(Ge)]}Zs.invert=function(Ge,$e){var st=Ge*Ge,dt=$e*$e,St=dt+1,xt=st+St,It=Ge?m*F((xt-F(xt*xt-4*st))/st):1/F(St);return[L(Ge*It),p($e)*z(It)]};function sl(){return x.geoProjection(Zs).scale(144.049).clipAngle(90-.001)}function sc(Ge){var $e=r(Ge),st=T(E+Ge/2);function dt(St,xt){var It=xt-Ge,rr=S(It)=0;)kr=Ge[pr],Yr=kr[0]+rr*(Mn=Yr)-sr*_n,_n=kr[1]+rr*_n+sr*Mn;return Yr=rr*(Mn=Yr)-sr*_n,_n=rr*_n+sr*Mn,[Yr,_n]}return st.invert=function(dt,St){var xt=20,It=dt,rr=St;do{for(var sr=$e,pr=Ge[sr],kr=pr[0],Yr=pr[1],_n=0,Mn=0,Un;--sr>=0;)pr=Ge[sr],_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=pr[0]+It*(Un=kr)-rr*Yr,Yr=pr[1]+It*Yr+rr*Un;_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=It*(Un=kr)-rr*Yr-dt,Yr=It*Yr+rr*Un-St;var li=_n*_n+Mn*Mn,ki,Ci;It-=ki=(kr*_n+Yr*Mn)/li,rr-=Ci=(Yr*_n-kr*Mn)/li}while(S(ki)+S(Ci)>l*l&&--xt>0);if(xt){var Zi=F(It*It+rr*rr),ya=2*e(Zi*.5),ro=d(ya);return[t(It*ro,Zi*r(ya)),Zi?L(rr*ro/Zi):0]}},st}var ds=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Sh=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Bs=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Vo=[[.9245,0],[0,0],[.01943,0]],rf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Qu(){return Vl(ds,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function pu(){return Vl(Sh,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Df(){return Vl(Bs,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Lc(){return Vl(Vo,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function nf(){return Vl(rf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Vl(Ge,$e){var st=x.geoProjection(Nh(Ge)).rotate($e).clipAngle(90),dt=x.geoRotation($e),St=st.center;return delete st.rotate,st.center=function(xt){return arguments.length?St(dt(xt)):dt.invert(St())},st}var Jf=F(6),zf=F(7);function wf(Ge,$e){var st=L(7*d($e)/(3*Jf));return[Jf*Ge*(2*r(2*st/3)-1)/zf,9*d(st/3)/zf]}wf.invert=function(Ge,$e){var st=3*L($e*zf/9);return[Ge*zf/(Jf*(2*r(2*st/3)-1)),L(d(st)*3*Jf/7)]};function Gc(){return x.geoProjection(wf).scale(164.859)}function Ff(Ge,$e){for(var st=(1+m)*d($e),dt=$e,St=0,xt;St<25&&(dt-=xt=(d(dt/2)+d(dt)-st)/(.5*r(dt/2)+r(dt)),!(S(xt)_&&--dt>0);return xt=st*st,It=xt*xt,rr=xt*It,[Ge/(.84719-.13063*xt+rr*rr*(-.04515+.05494*xt-.02326*It+.00331*rr)),st]};function Wc(){return x.geoProjection(Pc).scale(175.295)}function Pu(Ge,$e){return[Ge*(1+r($e))/2,2*($e-T($e/2))]}Pu.invert=function(Ge,$e){for(var st=$e/2,dt=0,St=1/0;dt<10&&S(St)>l;++dt){var xt=r($e/2);$e-=St=($e-T($e/2)-st)/(1-.5/(xt*xt))}return[2*Ge/(1+r($e)),$e]};function cf(){return x.geoProjection(Pu).scale(152.63)}var Ic=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function Ks(){return no(ce(1/0),Ic).rotate([20,0]).scale(152.63)}function Of(Ge,$e){var st=d($e),dt=r($e),St=p(Ge);if(Ge===0||S($e)===M)return[0,$e];if($e===0)return[Ge,0];if(S(Ge)===M)return[Ge*dt,M*st];var xt=w/(2*Ge)-2*Ge/w,It=2*$e/w,rr=(1-It*It)/(st-It),sr=xt*xt,pr=rr*rr,kr=1+sr/pr,Yr=1+pr/sr,_n=(xt*st/rr-xt/2)/kr,Mn=(pr*st/sr+rr/2)/Yr,Un=_n*_n+dt*dt/kr,li=Mn*Mn-(pr*st*st/sr+rr*st-1)/Yr;return[M*(_n+F(Un)*St),M*(Mn+F(li<0?0:li)*p(-$e*xt)*St)]}Of.invert=function(Ge,$e){Ge/=M,$e/=M;var st=Ge*Ge,dt=$e*$e,St=st+dt,xt=w*w;return[Ge?(St-1+F((1-St)*(1-St)+4*st))/(2*Ge)*M:0,Ue(function(It){return St*(w*d(It)-2*It)*w+4*It*It*($e-d(It))+2*w*It-xt*$e},0)]};function Eh(){return x.geoProjection(Of).scale(127.267)}var Qf=1.0148,af=.23185,lh=-.14499,Iu=.02406,eh=Qf,su=5*af,Ru=7*lh,yc=9*Iu,Dl=1.790857183;function Rc(Ge,$e){var st=$e*$e;return[Ge,$e*(Qf+st*st*(af+st*(lh+Iu*st)))]}Rc.invert=function(Ge,$e){$e>Dl?$e=Dl:$e<-Dl&&($e=-Dl);var st=$e,dt;do{var St=st*st;st-=dt=(st*(Qf+St*St*(af+St*(lh+Iu*St)))-$e)/(eh+St*St*(su+St*(Ru+yc*St)))}while(S(dt)>l);return[Ge,st]};function tc(){return x.geoProjection(Rc).scale(139.319)}function xu(Ge,$e){if(S($e)l&&--St>0);return It=T(dt),[(S($e)=0;)if(dt=$e[rr],st[0]===dt[0]&&st[1]===dt[1]){if(xt)return[xt,st];xt=st}}}function lu(Ge){for(var $e=Ge.length,st=[],dt=Ge[$e-1],St=0;St<$e;++St)st.push([dt,dt=Ge[St]]);return st}function Xc(Ge){return Ge.project.invert||Ge.children&&Ge.children.some(Xc)}var ch=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Mf=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(Ge){return Ge.map(function($e){return ch[$e]})});function dl(Ge){Ge=Ge||function(st){var dt=x.geoCentroid({type:\"MultiPoint\",coordinates:st});return x.geoGnomonic().scale(1).translate([0,0]).rotate([-dt[0],-dt[1]])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:st0?[-dt[0],0]:[180-dt[0],180])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:stdt^Mn>dt&&st<(_n-pr)*(dt-kr)/(Mn-kr)+pr&&(St=!St)}return St}function Xl(Ge,$e){var st=$e.stream,dt;if(!st)throw new Error(\"invalid projection\");switch(Ge&&Ge.type){case\"Feature\":dt=Wu;break;case\"FeatureCollection\":dt=Uf;break;default:dt=cc;break}return dt(Ge,st)}function Uf(Ge,$e){return{type:\"FeatureCollection\",features:Ge.features.map(function(st){return Wu(st,$e)})}}function Wu(Ge,$e){return{type:\"Feature\",id:Ge.id,properties:Ge.properties,geometry:cc(Ge.geometry,$e)}}function bc(Ge,$e){return{type:\"GeometryCollection\",geometries:Ge.geometries.map(function(st){return cc(st,$e)})}}function cc(Ge,$e){if(!Ge)return null;if(Ge.type===\"GeometryCollection\")return bc(Ge,$e);var st;switch(Ge.type){case\"Point\":st=fc;break;case\"MultiPoint\":st=fc;break;case\"LineString\":st=Dc;break;case\"MultiLineString\":st=Dc;break;case\"Polygon\":st=rc;break;case\"MultiPolygon\":st=rc;break;case\"Sphere\":st=rc;break;default:return null}return x.geoStream(Ge,$e(st)),st.result()}var zl=[],uu=[],fc={point:function(Ge,$e){zl.push([Ge,$e])},result:function(){var Ge=zl.length?zl.length<2?{type:\"Point\",coordinates:zl[0]}:{type:\"MultiPoint\",coordinates:zl}:null;return zl=[],Ge}},Dc={lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){zl.length&&(uu.push(zl),zl=[])},result:function(){var Ge=uu.length?uu.length<2?{type:\"LineString\",coordinates:uu[0]}:{type:\"MultiLineString\",coordinates:uu}:null;return uu=[],Ge}},rc={polygonStart:uc,lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){var Ge=zl.length;if(Ge){do zl.push(zl[0].slice());while(++Ge<4);uu.push(zl),zl=[]}},polygonEnd:uc,result:function(){if(!uu.length)return null;var Ge=[],$e=[];return uu.forEach(function(st){Zc(st)?Ge.push([st]):$e.push(st)}),$e.forEach(function(st){var dt=st[0];Ge.some(function(St){if(Nf(St[0],dt))return St.push(st),!0})||Ge.push([st])}),uu=[],Ge.length?Ge.length>1?{type:\"MultiPolygon\",coordinates:Ge}:{type:\"Polygon\",coordinates:Ge[0]}:null}};function Yc(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=S(dt)0?dt-w:dt+w,St),rr=(It[0]-It[1])*m,sr=(It[0]+It[1])*m;if(xt)return[rr,sr];var pr=$e*m,kr=rr>0^sr>0?-1:1;return[kr*rr-p(sr)*pr,kr*sr-p(rr)*pr]}return Ge.invert&&(st.invert=function(dt,St){var xt=(dt+St)*m,It=(St-dt)*m,rr=S(xt)<.5*$e&&S(It)<.5*$e;if(!rr){var sr=$e*m,pr=xt>0^It>0?-1:1,kr=-pr*dt+(It>0?1:-1)*sr,Yr=-pr*St+(xt>0?1:-1)*sr;xt=(-kr-Yr)*m,It=(kr-Yr)*m}var _n=Ge.invert(xt,It);return rr||(_n[0]+=xt>0?w:-w),_n}),x.geoProjection(st).rotate([-90,-90,45]).clipAngle(180-.001)}function Yt(){return Yc(wn).scale(176.423)}function dr(){return Yc(yo).scale(111.48)}function tn(Ge,$e){if(!(0<=($e=+$e)&&$e<=20))throw new Error(\"invalid digits\");function st(pr){var kr=pr.length,Yr=2,_n=new Array(kr);for(_n[0]=+pr[0].toFixed($e),_n[1]=+pr[1].toFixed($e);Yr2||Mn[0]!=kr[0]||Mn[1]!=kr[1])&&(Yr.push(Mn),kr=Mn)}return Yr.length===1&&pr.length>1&&Yr.push(st(pr[pr.length-1])),Yr}function xt(pr){return pr.map(St)}function It(pr){if(pr==null)return pr;var kr;switch(pr.type){case\"GeometryCollection\":kr={type:\"GeometryCollection\",geometries:pr.geometries.map(It)};break;case\"Point\":kr={type:\"Point\",coordinates:st(pr.coordinates)};break;case\"MultiPoint\":kr={type:pr.type,coordinates:dt(pr.coordinates)};break;case\"LineString\":kr={type:pr.type,coordinates:St(pr.coordinates)};break;case\"MultiLineString\":case\"Polygon\":kr={type:pr.type,coordinates:xt(pr.coordinates)};break;case\"MultiPolygon\":kr={type:\"MultiPolygon\",coordinates:pr.coordinates.map(xt)};break;default:return pr}return pr.bbox!=null&&(kr.bbox=pr.bbox),kr}function rr(pr){var kr={type:\"Feature\",properties:pr.properties,geometry:It(pr.geometry)};return pr.id!=null&&(kr.id=pr.id),pr.bbox!=null&&(kr.bbox=pr.bbox),kr}if(Ge!=null)switch(Ge.type){case\"Feature\":return rr(Ge);case\"FeatureCollection\":{var sr={type:\"FeatureCollection\",features:Ge.features.map(rr)};return Ge.bbox!=null&&(sr.bbox=Ge.bbox),sr}default:return It(Ge)}return Ge}function Wr(Ge){var $e=d(Ge);function st(dt,St){var xt=$e?T(dt*$e/2)/$e:dt/2;if(!St)return[2*xt,-Ge];var It=2*e(xt*d(St)),rr=1/T(St);return[d(It)*rr,St+(1-r(It))*rr-Ge]}return st.invert=function(dt,St){if(S(St+=Ge)l&&--rr>0);var _n=dt*(pr=T(It)),Mn=T(S(St)0?M:-M)*(sr+St*(kr-It)/2+St*St*(kr-2*sr+It)/2)]}yi.invert=function(Ge,$e){var st=$e/M,dt=st*90,St=s(18,S(dt/5)),xt=a(0,n(St));do{var It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],pr=sr-It,kr=sr-2*rr+It,Yr=2*(S(st)-rr)/pr,_n=kr/pr,Mn=Yr*(1-_n*Yr*(1-2*_n*Yr));if(Mn>=0||xt===1){dt=($e>=0?5:-5)*(Mn+St);var Un=50,li;do St=s(18,S(dt)/5),xt=n(St),Mn=St-xt,It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],dt-=(li=($e>=0?M:-M)*(rr+Mn*(sr-It)/2+Mn*Mn*(sr-2*rr+It)/2)-$e)*y;while(S(li)>_&&--Un>0);break}}while(--xt>=0);var ki=si[xt][0],Ci=si[xt+1][0],Zi=si[s(19,xt+2)][0];return[Ge/(Ci+Mn*(Zi-ki)/2+Mn*Mn*(Zi-2*Ci+ki)/2),dt*f]};function Di(){return x.geoProjection(yi).scale(152.63)}function Wi(Ge){function $e(st,dt){var St=r(dt),xt=(Ge-1)/(Ge-St*r(st));return[xt*St*d(st),xt*d(dt)]}return $e.invert=function(st,dt){var St=st*st+dt*dt,xt=F(St),It=(Ge-F(1-St*(Ge+1)/(Ge-1)))/((Ge-1)/xt+xt/(Ge-1));return[t(st*It,xt*F(1-It*It)),xt?L(dt*It/xt):0]},$e}function aa(Ge,$e){var st=Wi(Ge);if(!$e)return st;var dt=r($e),St=d($e);function xt(It,rr){var sr=st(It,rr),pr=sr[1],kr=pr*St/(Ge-1)+dt;return[sr[0]*dt/kr,pr/kr]}return xt.invert=function(It,rr){var sr=(Ge-1)/(Ge-1-rr*St);return st.invert(sr*It,sr*rr*dt)},xt}function bi(){var Ge=2,$e=0,st=x.geoProjectionMutator(aa),dt=st(Ge,$e);return dt.distance=function(St){return arguments.length?st(Ge=+St,$e):Ge},dt.tilt=function(St){return arguments.length?st(Ge,$e=St*f):$e*y},dt.scale(432.147).clipAngle(z(1/Ge)*y-1e-6)}var zi=1e-4,Li=1e4,di=-180,wa=di+zi,po=180,co=po-zi,mo=-90,Ao=mo+zi,xa=90,Qi=xa-zi;function Lo(Ge){return Ge.length>0}function as(Ge){return Math.floor(Ge*Li)/Li}function Ds(Ge){return Ge===mo||Ge===xa?[0,Ge]:[di,as(Ge)]}function il(Ge){var $e=Ge[0],st=Ge[1],dt=!1;return $e<=wa?($e=di,dt=!0):$e>=co&&($e=po,dt=!0),st<=Ao?(st=mo,dt=!0):st>=Qi&&(st=xa,dt=!0),dt?[$e,st]:Ge}function Ns(Ge){return Ge.map(il)}function el(Ge,$e,st){for(var dt=0,St=Ge.length;dt=co||kr<=Ao||kr>=Qi){xt[It]=il(sr);for(var Yr=It+1;Yrwa&&MnAo&&Un=rr)break;st.push({index:-1,polygon:$e,ring:xt=xt.slice(Yr-1)}),xt[0]=Ds(xt[0][1]),It=-1,rr=xt.length}}}}function Es(Ge){var $e,st=Ge.length,dt={},St={},xt,It,rr,sr,pr;for($e=0;$e0?w-rr:rr)*y],pr=x.geoProjection(Ge(It)).rotate(sr),kr=x.geoRotation(sr),Yr=pr.center;return delete pr.rotate,pr.center=function(_n){return arguments.length?Yr(kr(_n)):kr.invert(Yr())},pr.clipAngle(90)}function zs(Ge){var $e=r(Ge);function st(dt,St){var xt=x.geoGnomonicRaw(dt,St);return xt[0]*=$e,xt}return st.invert=function(dt,St){return x.geoGnomonicRaw.invert(dt/$e,St)},st}function cu(){return zu([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function zu(Ge,$e){return Js(zs,Ge,$e)}function nc(Ge){if(!(Ge*=2))return x.geoAzimuthalEquidistantRaw;var $e=-Ge/2,st=-$e,dt=Ge*Ge,St=T(st),xt=.5/d(st);function It(rr,sr){var pr=z(r(sr)*r(rr-$e)),kr=z(r(sr)*r(rr-st)),Yr=sr<0?-1:1;return pr*=pr,kr*=kr,[(pr-kr)/(2*Ge),Yr*F(4*dt*kr-(dt-pr+kr)*(dt-pr+kr))/(2*Ge)]}return It.invert=function(rr,sr){var pr=sr*sr,kr=r(F(pr+(_n=rr+$e)*_n)),Yr=r(F(pr+(_n=rr+st)*_n)),_n,Mn;return[t(Mn=kr-Yr,_n=(kr+Yr)*St),(sr<0?-1:1)*z(F(_n*_n+Mn*Mn)*xt)]},It}function Kc(){return Tu([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Tu(Ge,$e){return Js(nc,Ge,$e)}function zc(Ge,$e){if(S($e)l&&--rr>0);return[p(Ge)*(F(St*St+4)+St)*w/4,M*It]};function dc(){return x.geoProjection(hc).scale(127.16)}function Ne(Ge,$e,st,dt,St){function xt(It,rr){var sr=st*d(dt*rr),pr=F(1-sr*sr),kr=F(2/(1+pr*r(It*=St)));return[Ge*pr*kr*d(It),$e*sr*kr]}return xt.invert=function(It,rr){var sr=It/Ge,pr=rr/$e,kr=F(sr*sr+pr*pr),Yr=2*L(kr/2);return[t(It*T(Yr),Ge*kr)/St,kr&&L(rr*d(Yr)/($e*st*kr))/dt]},xt}function R(Ge,$e,st,dt){var St=w/3;Ge=a(Ge,l),$e=a($e,l),Ge=s(Ge,M),$e=s($e,w-l),st=a(st,0),st=s(st,100-l),dt=a(dt,l);var xt=st/100+1,It=dt/100,rr=z(xt*r(St))/St,sr=d(Ge)/d(rr*M),pr=$e/w,kr=F(It*d(Ge/2)/d($e/2)),Yr=kr/F(pr*sr*rr),_n=1/(kr*F(pr*sr*rr));return Ne(Yr,_n,sr,rr,pr)}function ne(){var Ge=65*f,$e=60*f,st=20,dt=200,St=x.geoProjectionMutator(R),xt=St(Ge,$e,st,dt);return xt.poleline=function(It){return arguments.length?St(Ge=+It*f,$e,st,dt):Ge*y},xt.parallels=function(It){return arguments.length?St(Ge,$e=+It*f,st,dt):$e*y},xt.inflation=function(It){return arguments.length?St(Ge,$e,st=+It,dt):st},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(163.775)}function be(){return ne().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var Ae=4*w+3*F(3),Fe=2*F(2*w*F(3)/Ae),ht=tt(Fe*F(3)/w,Fe,Ae/6);function wt(){return x.geoProjection(ht).scale(176.84)}function zt(Ge,$e){return[Ge*F(1-3*$e*$e/(w*w)),$e]}zt.invert=function(Ge,$e){return[Ge/F(1-3*$e*$e/(w*w)),$e]};function Jt(){return x.geoProjection(zt).scale(152.63)}function hr(Ge,$e){var st=r($e),dt=r(Ge)*st,St=1-dt,xt=r(Ge=t(d(Ge)*st,-d($e))),It=d(Ge);return st=F(1-dt*dt),[It*st-xt*St,-xt*st-It*St]}hr.invert=function(Ge,$e){var st=(Ge*Ge+$e*$e)/-2,dt=F(-st*(2+st)),St=$e*st+Ge*dt,xt=Ge*st-$e*dt,It=F(xt*xt+St*St);return[t(dt*St,It*(1+st)),It?-L(dt*xt/It):0]};function vr(){return x.geoProjection(hr).rotate([0,-90,45]).scale(124.75).clipAngle(180-.001)}function Hr(Ge,$e){var st=le(Ge,$e);return[(st[0]+Ge/M)/2,(st[1]+$e)/2]}Hr.invert=function(Ge,$e){var st=Ge,dt=$e,St=25;do{var xt=r(dt),It=d(dt),rr=d(2*dt),sr=It*It,pr=xt*xt,kr=d(st),Yr=r(st/2),_n=d(st/2),Mn=_n*_n,Un=1-pr*Yr*Yr,li=Un?z(xt*Yr)*F(ki=1/Un):ki=0,ki,Ci=.5*(2*li*xt*_n+st/M)-Ge,Zi=.5*(li*It+dt)-$e,ya=.5*ki*(pr*Mn+li*xt*Yr*sr)+.5/M,ro=ki*(kr*rr/4-li*It*_n),Va=.125*ki*(rr*_n-li*It*pr*kr),Io=.5*ki*(sr*Yr+li*Mn*xt)+.5,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]};function ln(){return x.geoProjection(Hr).scale(158.837)}g.geoNaturalEarth=x.geoNaturalEarth1,g.geoNaturalEarthRaw=x.geoNaturalEarth1Raw,g.geoAiry=Q,g.geoAiryRaw=W,g.geoAitoff=se,g.geoAitoffRaw=le,g.geoArmadillo=G,g.geoArmadilloRaw=fe,g.geoAugust=J,g.geoAugustRaw=$,g.geoBaker=j,g.geoBakerRaw=ae,g.geoBerghaus=ie,g.geoBerghausRaw=ee,g.geoBertin1953=it,g.geoBertin1953Raw=Ye,g.geoBoggs=rt,g.geoBoggsRaw=Oe,g.geoBonne=Bt,g.geoBonneRaw=Et,g.geoBottomley=fr,g.geoBottomleyRaw=qt,g.geoBromley=Rr,g.geoBromleyRaw=ar,g.geoChamberlin=Se,g.geoChamberlinRaw=Be,g.geoChamberlinAfrica=je,g.geoCollignon=Ee,g.geoCollignonRaw=He,g.geoCraig=Le,g.geoCraigRaw=we,g.geoCraster=bt,g.geoCrasterRaw=pt,g.geoCylindricalEqualArea=Nt,g.geoCylindricalEqualAreaRaw=Rt,g.geoCylindricalStereographic=$t,g.geoCylindricalStereographicRaw=Xt,g.geoEckert1=pn,g.geoEckert1Raw=ur,g.geoEckert2=Nn,g.geoEckert2Raw=Rn,g.geoEckert3=ni,g.geoEckert3Raw=On,g.geoEckert4=Qn,g.geoEckert4Raw=zn,g.geoEckert5=Zt,g.geoEckert5Raw=gi,g.geoEckert6=Ht,g.geoEckert6Raw=Ft,g.geoEisenlohr=$r,g.geoEisenlohrRaw=wr,g.geoFahey=Fn,g.geoFaheyRaw=en,g.geoFoucaut=ri,g.geoFoucautRaw=Wn,g.geoFoucautSinusoidal=ui,g.geoFoucautSinusoidalRaw=Sn,g.geoGilbert=Pr,g.geoGingery=Lr,g.geoGingeryRaw=Ir,g.geoGinzburg4=nn,g.geoGinzburg4Raw=Dr,g.geoGinzburg5=gn,g.geoGinzburg5Raw=vn,g.geoGinzburg6=or,g.geoGinzburg6Raw=kt,g.geoGinzburg8=on,g.geoGinzburg8Raw=yr,g.geoGinzburg9=Zn,g.geoGinzburg9Raw=An,g.geoGringorten=pi,g.geoGringortenRaw=wn,g.geoGuyou=pa,g.geoGuyouRaw=yo,g.geoHammer=Te,g.geoHammerRaw=ce,g.geoHammerRetroazimuthal=gs,g.geoHammerRetroazimuthalRaw=cs,g.geoHealpix=Ls,g.geoHealpixRaw=Yo,g.geoHill=Ws,g.geoHillRaw=Vs,g.geoHomolosine=Eo,g.geoHomolosineRaw=Xs,g.geoHufnagel=As,g.geoHufnagelRaw=Ys,g.geoHyperelliptical=Uo,g.geoHyperellipticalRaw=la,g.geoInterrupt=no,g.geoInterruptedBoggs=Ku,g.geoInterruptedHomolosine=Vu,g.geoInterruptedMollweide=Qs,g.geoInterruptedMollweideHemispheres=qu,g.geoInterruptedSinuMollweide=Ju,g.geoInterruptedSinusoidal=uf,g.geoKavrayskiy7=Hc,g.geoKavrayskiy7Raw=qs,g.geoLagrange=Ql,g.geoLagrangeRaw=bf,g.geoLarrivee=gc,g.geoLarriveeRaw=oc,g.geoLaskowski=Ml,g.geoLaskowskiRaw=nl,g.geoLittrow=sl,g.geoLittrowRaw=Zs,g.geoLoximuthal=jl,g.geoLoximuthalRaw=sc,g.geoMiller=ll,g.geoMillerRaw=$u,g.geoModifiedStereographic=Vl,g.geoModifiedStereographicRaw=Nh,g.geoModifiedStereographicAlaska=Qu,g.geoModifiedStereographicGs48=pu,g.geoModifiedStereographicGs50=Df,g.geoModifiedStereographicMiller=Lc,g.geoModifiedStereographicLee=nf,g.geoMollweide=Me,g.geoMollweideRaw=ut,g.geoMtFlatPolarParabolic=Gc,g.geoMtFlatPolarParabolicRaw=wf,g.geoMtFlatPolarQuartic=$f,g.geoMtFlatPolarQuarticRaw=Ff,g.geoMtFlatPolarSinusoidal=Tf,g.geoMtFlatPolarSinusoidalRaw=ec,g.geoNaturalEarth2=Wc,g.geoNaturalEarth2Raw=Pc,g.geoNellHammer=cf,g.geoNellHammerRaw=Pu,g.geoInterruptedQuarticAuthalic=Ks,g.geoNicolosi=Eh,g.geoNicolosiRaw=Of,g.geoPatterson=tc,g.geoPattersonRaw=Rc,g.geoPolyconic=Sl,g.geoPolyconicRaw=xu,g.geoPolyhedral=of,g.geoPolyhedralButterfly=dl,g.geoPolyhedralCollignon=Bf,g.geoPolyhedralWaterman=ul,g.geoProject=Xl,g.geoGringortenQuincuncial=Yt,g.geoPeirceQuincuncial=dr,g.geoPierceQuincuncial=dr,g.geoQuantize=tn,g.geoQuincuncial=Yc,g.geoRectangularPolyconic=Cn,g.geoRectangularPolyconicRaw=Wr,g.geoRobinson=Di,g.geoRobinsonRaw=yi,g.geoSatellite=bi,g.geoSatelliteRaw=aa,g.geoSinuMollweide=pl,g.geoSinuMollweideRaw=Da,g.geoSinusoidal=Lt,g.geoSinusoidalRaw=et,g.geoStitch=cl,g.geoTimes=jo,g.geoTimesRaw=Za,g.geoTwoPointAzimuthal=zu,g.geoTwoPointAzimuthalRaw=zs,g.geoTwoPointAzimuthalUsa=cu,g.geoTwoPointEquidistant=Tu,g.geoTwoPointEquidistantRaw=nc,g.geoTwoPointEquidistantUsa=Kc,g.geoVanDerGrinten=Fu,g.geoVanDerGrintenRaw=zc,g.geoVanDerGrinten2=bo,g.geoVanDerGrinten2Raw=wc,g.geoVanDerGrinten3=Fc,g.geoVanDerGrinten3Raw=Wo,g.geoVanDerGrinten4=dc,g.geoVanDerGrinten4Raw=hc,g.geoWagner=ne,g.geoWagner7=be,g.geoWagnerRaw=R,g.geoWagner4=wt,g.geoWagner4Raw=ht,g.geoWagner6=Jt,g.geoWagner6Raw=zt,g.geoWiechel=vr,g.geoWiechelRaw=hr,g.geoWinkel3=ln,g.geoWinkel3Raw=Hr,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),d6=ke({\"src/plots/geo/zoom.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=lo(),S=Math.PI/180,e=180/Math.PI,t={cursor:\"pointer\"},r={cursor:\"auto\"};function o(y,f){var P=y.projection,L;return f._isScoped?L=a:f._isClipped?L=c:L=s,L(y,P)}H.exports=o;function n(y,f){return g.behavior.zoom().translate(f.translate()).scale(f.scale())}function i(y,f,P){var L=y.id,z=y.graphDiv,F=z.layout,B=F[L],O=z._fullLayout,I=O[L],N={},U={};function W(Q,le){N[L+\".\"+Q]=x.nestedProperty(B,Q).get(),A.call(\"_storeDirectGUIEdit\",F,O._preGUI,N);var se=x.nestedProperty(I,Q);se.get()!==le&&(se.set(le),x.nestedProperty(B,Q).set(le),U[L+\".\"+Q]=le)}P(W),W(\"projection.scale\",f.scale()/y.fitScale),W(\"fitbounds\",!1),z.emit(\"plotly_relayout\",U)}function a(y,f){var P=n(y,f);function L(){g.select(this).style(t)}function z(){f.scale(g.event.scale).translate(g.event.translate),y.render(!0);var O=f.invert(y.midPt);y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.center.lon\":O[0],\"geo.center.lat\":O[1]})}function F(O){var I=f.invert(y.midPt);O(\"center.lon\",I[0]),O(\"center.lat\",I[1])}function B(){g.select(this).style(r),i(y,f,F)}return P.on(\"zoomstart\",L).on(\"zoom\",z).on(\"zoomend\",B),P}function s(y,f){var P=n(y,f),L=2,z,F,B,O,I,N,U,W,Q;function le(X){return f.invert(X)}function se(X){var re=le(X);if(!re)return!0;var ae=f(re);return Math.abs(ae[0]-X[0])>L||Math.abs(ae[1]-X[1])>L}function fe(){g.select(this).style(t),z=g.mouse(this),F=f.rotate(),B=f.translate(),O=F,I=le(z)}function G(){if(N=g.mouse(this),se(z)){P.scale(f.scale()),P.translate(f.translate());return}f.scale(g.event.scale),f.translate([B[0],g.event.translate[1]]),I?le(N)&&(W=le(N),U=[O[0]+(W[0]-I[0]),F[1],F[2]],f.rotate(U),O=U):(z=N,I=le(z)),Q=!0,y.render(!0);var X=f.rotate(),re=f.invert(y.midPt);y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.center.lon\":re[0],\"geo.center.lat\":re[1],\"geo.projection.rotation.lon\":-X[0]})}function $(){g.select(this).style(r),Q&&i(y,f,J)}function J(X){var re=f.rotate(),ae=f.invert(y.midPt);X(\"projection.rotation.lon\",-re[0]),X(\"center.lon\",ae[0]),X(\"center.lat\",ae[1])}return P.on(\"zoomstart\",fe).on(\"zoom\",G).on(\"zoomend\",$),P}function c(y,f){var P={r:f.rotate(),k:f.scale()},L=n(y,f),z=u(L,\"zoomstart\",\"zoom\",\"zoomend\"),F=0,B=L.on,O;L.on(\"zoomstart\",function(){g.select(this).style(t);var Q=g.mouse(this),le=f.rotate(),se=le,fe=f.translate(),G=p(le);O=h(f,Q),B.call(L,\"zoom\",function(){var $=g.mouse(this);if(f.scale(P.k=g.event.scale),!O)Q=$,O=h(f,Q);else if(h(f,$)){f.rotate(le).translate(fe);var J=h(f,$),X=T(O,J),re=E(d(G,X)),ae=P.r=l(re,O,se);(!isFinite(ae[0])||!isFinite(ae[1])||!isFinite(ae[2]))&&(ae=se),f.rotate(ae),se=ae}N(z.of(this,arguments))}),I(z.of(this,arguments))}).on(\"zoomend\",function(){g.select(this).style(r),B.call(L,\"zoom\",null),U(z.of(this,arguments)),i(y,f,W)}).on(\"zoom.redraw\",function(){y.render(!0);var Q=f.rotate();y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.projection.rotation.lon\":-Q[0],\"geo.projection.rotation.lat\":-Q[1]})});function I(Q){F++||Q({type:\"zoomstart\"})}function N(Q){Q({type:\"zoom\"})}function U(Q){--F||Q({type:\"zoomend\"})}function W(Q){var le=f.rotate();Q(\"projection.rotation.lon\",-le[0]),Q(\"projection.rotation.lat\",-le[1])}return g.rebind(L,z,\"on\")}function h(y,f){var P=y.invert(f);return P&&isFinite(P[0])&&isFinite(P[1])&&m(P)}function p(y){var f=.5*y[0]*S,P=.5*y[1]*S,L=.5*y[2]*S,z=Math.sin(f),F=Math.cos(f),B=Math.sin(P),O=Math.cos(P),I=Math.sin(L),N=Math.cos(L);return[F*O*N+z*B*I,z*O*N-F*B*I,F*B*N+z*O*I,F*O*I-z*B*N]}function d(y,f){var P=y[0],L=y[1],z=y[2],F=y[3],B=f[0],O=f[1],I=f[2],N=f[3];return[P*B-L*O-z*I-F*N,P*O+L*B+z*N-F*I,P*I-L*N+z*B+F*O,P*N+L*I-z*O+F*B]}function T(y,f){if(!(!y||!f)){var P=v(y,f),L=Math.sqrt(b(P,P)),z=.5*Math.acos(Math.max(-1,Math.min(1,b(y,f)))),F=Math.sin(z)/L;return L&&[Math.cos(z),P[2]*F,-P[1]*F,P[0]*F]}}function l(y,f,P){var L=M(f,2,y[0]);L=M(L,1,y[1]),L=M(L,0,y[2]-P[2]);var z=f[0],F=f[1],B=f[2],O=L[0],I=L[1],N=L[2],U=Math.atan2(F,z)*e,W=Math.sqrt(z*z+F*F),Q,le;Math.abs(I)>W?(le=(I>0?90:-90)-U,Q=0):(le=Math.asin(I/W)*e-U,Q=Math.sqrt(W*W-I*I));var se=180-le-2*U,fe=(Math.atan2(N,O)-Math.atan2(B,Q))*e,G=(Math.atan2(N,O)-Math.atan2(B,-Q))*e,$=_(P[0],P[1],le,fe),J=_(P[0],P[1],se,G);return $<=J?[le,fe,P[2]]:[se,G,P[2]]}function _(y,f,P,L){var z=w(P-y),F=w(L-f);return Math.sqrt(z*z+F*F)}function w(y){return(y%360+540)%360-180}function M(y,f,P){var L=P*S,z=y.slice(),F=f===0?1:0,B=f===2?1:2,O=Math.cos(L),I=Math.sin(L);return z[F]=y[F]*O-y[B]*I,z[B]=y[B]*O+y[F]*I,z}function E(y){return[Math.atan2(2*(y[0]*y[1]+y[2]*y[3]),1-2*(y[1]*y[1]+y[2]*y[2]))*e,Math.asin(Math.max(-1,Math.min(1,2*(y[0]*y[2]-y[3]*y[1]))))*e,Math.atan2(2*(y[0]*y[3]+y[1]*y[2]),1-2*(y[2]*y[2]+y[3]*y[3]))*e]}function m(y){var f=y[0]*S,P=y[1]*S,L=Math.cos(P);return[L*Math.cos(f),L*Math.sin(f),Math.sin(P)]}function b(y,f){for(var P=0,L=0,z=y.length;L0&&I._module.calcGeoJSON(O,L)}if(!z){var N=this.updateProjection(P,L);if(N)return;(!this.viewInitial||this.scope!==F.scope)&&this.saveViewInitial(F)}this.scope=F.scope,this.updateBaseLayers(L,F),this.updateDims(L,F),this.updateFx(L,F),s.generalUpdatePerTraceModule(this.graphDiv,this,P,F);var U=this.layers.frontplot.select(\".scatterlayer\");this.dataPoints.point=U.selectAll(\".point\"),this.dataPoints.text=U.selectAll(\"text\"),this.dataPaths.line=U.selectAll(\".js-line\");var W=this.layers.backplot.select(\".choroplethlayer\");this.dataPaths.choropleth=W.selectAll(\"path\"),this._render()},v.updateProjection=function(P,L){var z=this.graphDiv,F=L[this.id],B=L._size,O=F.domain,I=F.projection,N=F.lonaxis,U=F.lataxis,W=N._ax,Q=U._ax,le=this.projection=u(F),se=[[B.l+B.w*O.x[0],B.t+B.h*(1-O.y[1])],[B.l+B.w*O.x[1],B.t+B.h*(1-O.y[0])]],fe=F.center||{},G=I.rotation||{},$=N.range||[],J=U.range||[];if(F.fitbounds){W._length=se[1][0]-se[0][0],Q._length=se[1][1]-se[0][1],W.range=h(z,W),Q.range=h(z,Q);var X=(W.range[0]+W.range[1])/2,re=(Q.range[0]+Q.range[1])/2;if(F._isScoped)fe={lon:X,lat:re};else if(F._isClipped){fe={lon:X,lat:re},G={lon:X,lat:re,roll:G.roll};var ae=I.type,j=w.lonaxisSpan[ae]/2||180,ee=w.lataxisSpan[ae]/2||90;$=[X-j,X+j],J=[re-ee,re+ee]}else fe={lon:X,lat:re},G={lon:X,lat:G.lat,roll:G.roll}}le.center([fe.lon-G.lon,fe.lat-G.lat]).rotate([-G.lon,-G.lat,G.roll]).parallels(I.parallels);var ie=f($,J);le.fitExtent(se,ie);var ce=this.bounds=le.getBounds(ie),xe=this.fitScale=le.scale(),Te=le.translate();if(F.fitbounds){var Ue=le.getBounds(f(W.range,Q.range)),Ie=Math.min((ce[1][0]-ce[0][0])/(Ue[1][0]-Ue[0][0]),(ce[1][1]-ce[0][1])/(Ue[1][1]-Ue[0][1]));isFinite(Ie)?le.scale(Ie*xe):r.warn(\"Something went wrong during\"+this.id+\"fitbounds computations.\")}else le.scale(I.scale*xe);var Ye=this.midPt=[(ce[0][0]+ce[1][0])/2,(ce[0][1]+ce[1][1])/2];if(le.translate([Te[0]+(Ye[0]-Te[0]),Te[1]+(Ye[1]-Te[1])]).clipExtent(ce),F._isAlbersUsa){var it=le([fe.lon,fe.lat]),at=le.translate();le.translate([at[0]-(it[0]-at[0]),at[1]-(it[1]-at[1])])}},v.updateBaseLayers=function(P,L){var z=this,F=z.topojson,B=z.layers,O=z.basePaths;function I(se){return se===\"lonaxis\"||se===\"lataxis\"}function N(se){return!!w.lineLayers[se]}function U(se){return!!w.fillLayers[se]}var W=this.hasChoropleth?w.layersForChoropleth:w.layers,Q=W.filter(function(se){return N(se)||U(se)?L[\"show\"+se]:I(se)?L[se].showgrid:!0}),le=z.framework.selectAll(\".layer\").data(Q,String);le.exit().each(function(se){delete B[se],delete O[se],g.select(this).remove()}),le.enter().append(\"g\").attr(\"class\",function(se){return\"layer \"+se}).each(function(se){var fe=B[se]=g.select(this);se===\"bg\"?z.bgRect=fe.append(\"rect\").style(\"pointer-events\",\"all\"):I(se)?O[se]=fe.append(\"path\").style(\"fill\",\"none\"):se===\"backplot\"?fe.append(\"g\").classed(\"choroplethlayer\",!0):se===\"frontplot\"?fe.append(\"g\").classed(\"scatterlayer\",!0):N(se)?O[se]=fe.append(\"path\").style(\"fill\",\"none\").style(\"stroke-miterlimit\",2):U(se)&&(O[se]=fe.append(\"path\").style(\"stroke\",\"none\"))}),le.order(),le.each(function(se){var fe=O[se],G=w.layerNameToAdjective[se];se===\"frame\"?fe.datum(w.sphereSVG):N(se)||U(se)?fe.datum(m(F,F.objects[se])):I(se)&&fe.datum(y(se,L,P)).call(n.stroke,L[se].gridcolor).call(i.dashLine,L[se].griddash,L[se].gridwidth),N(se)?fe.call(n.stroke,L[G+\"color\"]).call(i.dashLine,\"\",L[G+\"width\"]):U(se)&&fe.call(n.fill,L[G+\"color\"])})},v.updateDims=function(P,L){var z=this.bounds,F=(L.framewidth||0)/2,B=z[0][0]-F,O=z[0][1]-F,I=z[1][0]-B+F,N=z[1][1]-O+F;i.setRect(this.clipRect,B,O,I,N),this.bgRect.call(i.setRect,B,O,I,N).call(n.fill,L.bgcolor),this.xaxis._offset=B,this.xaxis._length=I,this.yaxis._offset=O,this.yaxis._length=N},v.updateFx=function(P,L){var z=this,F=z.graphDiv,B=z.bgRect,O=P.dragmode,I=P.clickmode;if(z.isStatic)return;function N(){var le=z.viewInitial,se={};for(var fe in le)se[z.id+\".\"+fe]=le[fe];t.call(\"_guiRelayout\",F,se),F.emit(\"plotly_doubleclick\",null)}function U(le){return z.projection.invert([le[0]+z.xaxis._offset,le[1]+z.yaxis._offset])}var W=function(le,se){if(se.isRect){var fe=le.range={};fe[z.id]=[U([se.xmin,se.ymin]),U([se.xmax,se.ymax])]}else{var G=le.lassoPoints={};G[z.id]=se.map(U)}},Q={element:z.bgRect.node(),gd:F,plotinfo:{id:z.id,xaxis:z.xaxis,yaxis:z.yaxis,fillRangeItems:W},xaxes:[z.xaxis],yaxes:[z.yaxis],subplot:z.id,clickFn:function(le){le===2&&T(F)}};O===\"pan\"?(B.node().onmousedown=null,B.call(_(z,L)),B.on(\"dblclick.zoom\",N),F._context._scrollZoom.geo||B.on(\"wheel.zoom\",null)):(O===\"select\"||O===\"lasso\")&&(B.on(\".zoom\",null),Q.prepFn=function(le,se,fe){d(le,se,fe,Q,O)},p.init(Q)),B.on(\"mousemove\",function(){var le=z.projection.invert(r.getPositionFromD3Event());if(!le)return p.unhover(F,g.event);z.xaxis.p2c=function(){return le[0]},z.yaxis.p2c=function(){return le[1]},a.hover(F,g.event,z.id)}),B.on(\"mouseout\",function(){F._dragging||p.unhover(F,g.event)}),B.on(\"click\",function(){O!==\"select\"&&O!==\"lasso\"&&(I.indexOf(\"select\")>-1&&l(g.event,F,[z.xaxis],[z.yaxis],z.id,Q),I.indexOf(\"event\")>-1&&a.click(F,g.event))})},v.makeFramework=function(){var P=this,L=P.graphDiv,z=L._fullLayout,F=\"clip\"+z._uid+P.id;P.clipDef=z._clips.append(\"clipPath\").attr(\"id\",F),P.clipRect=P.clipDef.append(\"rect\"),P.framework=g.select(P.container).append(\"g\").attr(\"class\",\"geo \"+P.id).call(i.setClipUrl,F,L),P.project=function(B){var O=P.projection(B);return O?[O[0]-P.xaxis._offset,O[1]-P.yaxis._offset]:[null,null]},P.xaxis={_id:\"x\",c2p:function(B){return P.project(B)[0]}},P.yaxis={_id:\"y\",c2p:function(B){return P.project(B)[1]}},P.mockAxis={type:\"linear\",showexponent:\"all\",exponentformat:\"B\"},c.setConvert(P.mockAxis,z)},v.saveViewInitial=function(P){var L=P.center||{},z=P.projection,F=z.rotation||{};this.viewInitial={fitbounds:P.fitbounds,\"projection.scale\":z.scale};var B;P._isScoped?B={\"center.lon\":L.lon,\"center.lat\":L.lat}:P._isClipped?B={\"projection.rotation.lon\":F.lon,\"projection.rotation.lat\":F.lat}:B={\"center.lon\":L.lon,\"center.lat\":L.lat,\"projection.rotation.lon\":F.lon},r.extendFlat(this.viewInitial,B)},v.render=function(P){this._hasMarkerAngles&&P?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},v._render=function(){var P=this.projection,L=P.getPath(),z;function F(O){var I=P(O.lonlat);return I?o(I[0],I[1]):null}function B(O){return P.isLonLatOverEdges(O.lonlat)?\"none\":null}for(z in this.basePaths)this.basePaths[z].attr(\"d\",L);for(z in this.dataPaths)this.dataPaths[z].attr(\"d\",function(O){return L(O.geojson)});for(z in this.dataPoints)this.dataPoints[z].attr(\"display\",B).attr(\"transform\",F)};function u(P){var L=P.projection,z=L.type,F=w.projNames[z];F=\"geo\"+r.titleCase(F);for(var B=x[F]||e[F],O=B(),I=P._isSatellite?Math.acos(1/L.distance)*180/Math.PI:P._isClipped?w.lonaxisSpan[z]/2:null,N=[\"center\",\"rotate\",\"parallels\",\"clipExtent\"],U=function(le){return le?O:[]},W=0;WG}else return!1},O.getPath=function(){return A().projection(O)},O.getBounds=function(le){return O.getPath().bounds(le)},O.precision(w.precision),P._isSatellite&&O.tilt(L.tilt).distance(L.distance),I&&O.clipAngle(I-w.clipPad),O}function y(P,L,z){var F=1e-6,B=2.5,O=L[P],I=w.scopeDefaults[L.scope],N,U,W;P===\"lonaxis\"?(N=I.lonaxisRange,U=I.lataxisRange,W=function(re,ae){return[re,ae]}):P===\"lataxis\"&&(N=I.lataxisRange,U=I.lonaxisRange,W=function(re,ae){return[ae,re]});var Q={type:\"linear\",range:[N[0],N[1]-F],tick0:O.tick0,dtick:O.dtick};c.setConvert(Q,z);var le=c.calcTicks(Q);!L.isScoped&&P===\"lonaxis\"&&le.pop();for(var se=le.length,fe=new Array(se),G=0;G0&&B<0&&(B+=360);var N=(B-F)/4;return{type:\"Polygon\",coordinates:[[[F,O],[F,I],[F+N,I],[F+2*N,I],[F+3*N,I],[B,I],[B,O],[B-N,O],[B-2*N,O],[B-3*N,O],[F,O]]]}}}}),gA=ke({\"src/plots/geo/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=Yu().attributes,A=xh().dash,S=H0(),e=ju().overrideAll,t=Ip(),r={range:{valType:\"info_array\",items:[{valType:\"number\"},{valType:\"number\"}]},showgrid:{valType:\"boolean\",dflt:!1},tick0:{valType:\"number\",dflt:0},dtick:{valType:\"number\"},gridcolor:{valType:\"color\",dflt:g.lightLine},gridwidth:{valType:\"number\",min:0,dflt:1},griddash:A},o=H.exports=e({domain:x({name:\"geo\"},{}),fitbounds:{valType:\"enumerated\",values:[!1,\"locations\",\"geojson\"],dflt:!1,editType:\"plot\"},resolution:{valType:\"enumerated\",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:\"enumerated\",values:t(S.scopeDefaults),dflt:\"world\"},projection:{type:{valType:\"enumerated\",values:t(S.projNames)},rotation:{lon:{valType:\"number\"},lat:{valType:\"number\"},roll:{valType:\"number\"}},tilt:{valType:\"number\",dflt:0},distance:{valType:\"number\",min:1.001,dflt:2},parallels:{valType:\"info_array\",items:[{valType:\"number\"},{valType:\"number\"}]},scale:{valType:\"number\",min:0,dflt:1}},center:{lon:{valType:\"number\"},lat:{valType:\"number\"}},visible:{valType:\"boolean\",dflt:!0},showcoastlines:{valType:\"boolean\"},coastlinecolor:{valType:\"color\",dflt:g.defaultLine},coastlinewidth:{valType:\"number\",min:0,dflt:1},showland:{valType:\"boolean\",dflt:!1},landcolor:{valType:\"color\",dflt:S.landColor},showocean:{valType:\"boolean\",dflt:!1},oceancolor:{valType:\"color\",dflt:S.waterColor},showlakes:{valType:\"boolean\",dflt:!1},lakecolor:{valType:\"color\",dflt:S.waterColor},showrivers:{valType:\"boolean\",dflt:!1},rivercolor:{valType:\"color\",dflt:S.waterColor},riverwidth:{valType:\"number\",min:0,dflt:1},showcountries:{valType:\"boolean\"},countrycolor:{valType:\"color\",dflt:g.defaultLine},countrywidth:{valType:\"number\",min:0,dflt:1},showsubunits:{valType:\"boolean\"},subunitcolor:{valType:\"color\",dflt:g.defaultLine},subunitwidth:{valType:\"number\",min:0,dflt:1},showframe:{valType:\"boolean\"},framecolor:{valType:\"color\",dflt:g.defaultLine},framewidth:{valType:\"number\",min:0,dflt:1},bgcolor:{valType:\"color\",dflt:g.background},lonaxis:r,lataxis:r},\"plot\",\"from-root\");o.uirevision={valType:\"any\",editType:\"none\"}}}),p6=ke({\"src/plots/geo/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=Up(),A=bh().getSubplotData,S=H0(),e=gA(),t=S.axesNames;H.exports=function(n,i,a){x(n,i,a,{type:\"geo\",attributes:e,handleDefaults:r,fullData:a,partition:\"y\"})};function r(o,n,i,a){var s=A(a.fullData,\"geo\",a.id),c=s.map(function(J){return J.index}),h=i(\"resolution\"),p=i(\"scope\"),d=S.scopeDefaults[p],T=i(\"projection.type\",d.projType),l=n._isAlbersUsa=T===\"albers usa\";l&&(p=n.scope=\"usa\");var _=n._isScoped=p!==\"world\",w=n._isSatellite=T===\"satellite\",M=n._isConic=T.indexOf(\"conic\")!==-1||T===\"albers\",E=n._isClipped=!!S.lonaxisSpan[T];if(o.visible===!1){var m=g.extendDeep({},n._template);m.showcoastlines=!1,m.showcountries=!1,m.showframe=!1,m.showlakes=!1,m.showland=!1,m.showocean=!1,m.showrivers=!1,m.showsubunits=!1,m.lonaxis&&(m.lonaxis.showgrid=!1),m.lataxis&&(m.lataxis.showgrid=!1),n._template=m}for(var b=i(\"visible\"),v,u=0;u0&&U<0&&(U+=360);var W=(N+U)/2,Q;if(!l){var le=_?d.projRotate:[W,0,0];Q=i(\"projection.rotation.lon\",le[0]),i(\"projection.rotation.lat\",le[1]),i(\"projection.rotation.roll\",le[2]),v=i(\"showcoastlines\",!_&&b),v&&(i(\"coastlinecolor\"),i(\"coastlinewidth\")),v=i(\"showocean\",b?void 0:!1),v&&i(\"oceancolor\")}var se,fe;if(l?(se=-96.6,fe=38.7):(se=_?W:Q,fe=(I[0]+I[1])/2),i(\"center.lon\",se),i(\"center.lat\",fe),w&&(i(\"projection.tilt\"),i(\"projection.distance\")),M){var G=d.projParallels||[0,60];i(\"projection.parallels\",G)}i(\"projection.scale\"),v=i(\"showland\",b?void 0:!1),v&&i(\"landcolor\"),v=i(\"showlakes\",b?void 0:!1),v&&i(\"lakecolor\"),v=i(\"showrivers\",b?void 0:!1),v&&(i(\"rivercolor\"),i(\"riverwidth\")),v=i(\"showcountries\",_&&p!==\"usa\"&&b),v&&(i(\"countrycolor\"),i(\"countrywidth\")),(p===\"usa\"||p===\"north america\"&&h===50)&&(i(\"showsubunits\",b),i(\"subunitcolor\"),i(\"subunitwidth\")),_||(v=i(\"showframe\",b),v&&(i(\"framecolor\"),i(\"framewidth\"))),i(\"bgcolor\");var $=i(\"fitbounds\");$&&(delete n.projection.scale,_?(delete n.center.lon,delete n.center.lat):E?(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon,delete n.projection.rotation.lat,delete n.lonaxis.range,delete n.lataxis.range):(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon))}}}),yA=ke({\"src/plots/geo/index.js\"(Z,H){\"use strict\";var g=bh().getSubplotCalcData,x=un().counterRegex,A=v6(),S=\"geo\",e=x(S),t={};t[S]={valType:\"subplotid\",dflt:S,editType:\"calc\"};function r(i){for(var a=i._fullLayout,s=i.calcdata,c=a._subplots[S],h=0;h\")}}}}),rb=ke({\"src/traces/choropleth/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){x.location=A.location,x.z=A.z;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x.ct=r.ct,x}}}),nb=ke({\"src/traces/choropleth/select.js\"(Z,H){\"use strict\";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n,i,a,s;if(A===!1)for(o=0;o=Math.min(U,W)&&T<=Math.max(U,W)?0:1/0}if(L=Math.min(Q,le)&&l<=Math.max(Q,le)?0:1/0}B=Math.sqrt(L*L+z*z),u=w[P]}}}else for(P=w.length-1;P>-1;P--)v=w[P],y=p[v],f=d[v],L=c.c2p(y)-T,z=h.c2p(f)-l,F=Math.sqrt(L*L+z*z),F100},Z.isDotSymbol=function(g){return typeof g==\"string\"?H.DOT_RE.test(g):g>200}}}),b6=ke({\"src/traces/scattergl/defaults.js\"(Z,H){\"use strict\";var g=un(),x=lo(),A=ab(),S=W0(),e=kv(),t=vu(),r=Xg(),o=hv(),n=Fd(),i=Hd(),a=dv(),s=Gd();H.exports=function(h,p,d,T){function l(u,y){return g.coerce(h,p,S,u,y)}var _=h.marker?A.isOpenSymbol(h.marker.symbol):!1,w=t.isBubble(h),M=r(h,p,T,l);if(!M){p.visible=!1;return}o(h,p,T,l),l(\"xhoverformat\"),l(\"yhoverformat\");var E=M>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>=0?(s=c,a=c-1):i=c+1}return s}function x(r,o,n,i,a){for(var s=a+1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>0?(s=c,a=c-1):i=c+1}return s}function A(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<0?(s=c,i=c+1):a=c-1}return s}function S(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<=0?(s=c,i=c+1):a=c-1}return s}function e(r,o,n,i,a){for(;i<=a;){var s=i+a>>>1,c=r[s],h=n!==void 0?n(c,o):c-o;if(h===0)return s;h<=0?i=s+1:a=s-1}return-1}function t(r,o,n,i,a,s){return typeof n==\"function\"?s(r,o,n,i===void 0?0:i|0,a===void 0?r.length-1:a|0):s(r,o,void 0,n===void 0?0:n|0,i===void 0?r.length-1:i|0)}H.exports={ge:function(r,o,n,i,a){return t(r,o,n,i,a,g)},gt:function(r,o,n,i,a){return t(r,o,n,i,a,x)},lt:function(r,o,n,i,a){return t(r,o,n,i,a,A)},le:function(r,o,n,i,a){return t(r,o,n,i,a,S)},eq:function(r,o,n,i,a){return t(r,o,n,i,a,e)}}}}),Rv=ke({\"node_modules/pick-by-alias/index.js\"(Z,H){\"use strict\";H.exports=function(S,e,t){var r={},o,n;if(typeof e==\"string\"&&(e=x(e)),Array.isArray(e)){var i={};for(n=0;n1&&(A=arguments),typeof A==\"string\"?A=A.split(/\\s/).map(parseFloat):typeof A==\"number\"&&(A=[A]),A.length&&typeof A[0]==\"number\"?A.length===1?S={width:A[0],height:A[0],x:0,y:0}:A.length===2?S={width:A[0],height:A[1],x:0,y:0}:S={x:A[0],y:A[1],width:A[2]-A[0]||0,height:A[3]-A[1]||0}:A&&(A=g(A,{left:\"x l left Left\",top:\"y t top Top\",width:\"w width W Width\",height:\"h height W Width\",bottom:\"b bottom Bottom\",right:\"r right Right\"}),S={x:A.left||0,y:A.top||0},A.width==null?A.right?S.width=A.right-S.x:S.width=0:S.width=A.width,A.height==null?A.bottom?S.height=A.bottom-S.y:S.height=0:S.height=A.height),S}}}),$m=ke({\"node_modules/array-bounds/index.js\"(Z,H){\"use strict\";H.exports=g;function g(x,A){if(!x||x.length==null)throw Error(\"Argument should be an array\");A==null?A=1:A=Math.floor(A);for(var S=Array(A*2),e=0;et&&(t=x[o]),x[o]>>1,w;p.dtype||(p.dtype=\"array\"),typeof p.dtype==\"string\"?w=new(n(p.dtype))(_):p.dtype&&(w=p.dtype,Array.isArray(w)&&(w.length=_));for(let L=0;L<_;++L)w[L]=L;let M=[],E=[],m=[],b=[];u(0,0,1,w,0,1);let v=0;for(let L=0;Ld||I>a){for(let re=0;reie||W>ce||Q=se||j===ee)return;let xe=M[ae];ee===void 0&&(ee=xe.length);for(let Me=j;Me=B&&ue<=I&&Oe>=O&&Oe<=N&&fe.push(pe)}let Te=E[ae],Ue=Te[j*4+0],Ie=Te[j*4+1],Ye=Te[j*4+2],it=Te[j*4+3],at=$(Te,j+1),tt=re*.5,ut=ae+1;G(J,X,tt,ut,Ue,Ie||Ye||it||at),G(J,X+tt,tt,ut,Ie,Ye||it||at),G(J+tt,X,tt,ut,Ye,it||at),G(J+tt,X+tt,tt,ut,it,at)}function $(J,X){let re=null,ae=0;for(;re===null;)if(re=J[X*4+ae],ae++,ae>J.length)return null;return re}return fe}function f(L,z,F,B,O){let I=[];for(let N=0;N1&&(h=1),h<-1&&(h=-1),c*Math.acos(h)},t=function(n,i,a,s,c,h,p,d,T,l,_,w){var M=Math.pow(c,2),E=Math.pow(h,2),m=Math.pow(_,2),b=Math.pow(w,2),v=M*E-M*b-E*m;v<0&&(v=0),v/=M*b+E*m,v=Math.sqrt(v)*(p===d?-1:1);var u=v*c/h*w,y=v*-h/c*_,f=l*u-T*y+(n+a)/2,P=T*u+l*y+(i+s)/2,L=(_-u)/c,z=(w-y)/h,F=(-_-u)/c,B=(-w-y)/h,O=e(1,0,L,z),I=e(L,z,F,B);return d===0&&I>0&&(I-=x),d===1&&I<0&&(I+=x),[f,P,O,I]},r=function(n){var i=n.px,a=n.py,s=n.cx,c=n.cy,h=n.rx,p=n.ry,d=n.xAxisRotation,T=d===void 0?0:d,l=n.largeArcFlag,_=l===void 0?0:l,w=n.sweepFlag,M=w===void 0?0:w,E=[];if(h===0||p===0)return[];var m=Math.sin(T*x/360),b=Math.cos(T*x/360),v=b*(i-s)/2+m*(a-c)/2,u=-m*(i-s)/2+b*(a-c)/2;if(v===0&&u===0)return[];h=Math.abs(h),p=Math.abs(p);var y=Math.pow(v,2)/Math.pow(h,2)+Math.pow(u,2)/Math.pow(p,2);y>1&&(h*=Math.sqrt(y),p*=Math.sqrt(y));var f=t(i,a,s,c,h,p,_,M,m,b,v,u),P=g(f,4),L=P[0],z=P[1],F=P[2],B=P[3],O=Math.abs(B)/(x/4);Math.abs(1-O)<1e-7&&(O=1);var I=Math.max(Math.ceil(O),1);B/=I;for(var N=0;N4?(o=l[l.length-4],n=l[l.length-3]):(o=h,n=p),r.push(l)}return r}function A(e,t,r,o){return[\"C\",e,t,r,o,r,o]}function S(e,t,r,o,n,i){return[\"C\",e/3+2/3*r,t/3+2/3*o,n/3+2/3*r,i/3+2/3*o,n,i]}}}),bA=ke({\"node_modules/is-svg-path/index.js\"(Z,H){\"use strict\";H.exports=function(x){return typeof x!=\"string\"?!1:(x=x.trim(),!!(/^[mzlhvcsqta]\\s*[-+.0-9][^mlhvzcsqta]+/i.test(x)&&/[\\dz]$/i.test(x)&&x.length>4))}}}),L6=ke({\"node_modules/svg-path-bounds/index.js\"(Z,H){\"use strict\";var g=$y(),x=xA(),A=k6(),S=bA(),e=w0();H.exports=t;function t(r){if(Array.isArray(r)&&r.length===1&&typeof r[0]==\"string\"&&(r=r[0]),typeof r==\"string\"&&(e(S(r),\"String is not an SVG path.\"),r=g(r)),e(Array.isArray(r),\"Argument should be a string or an array of path segments.\"),r=x(r),r=A(r),!r.length)return[0,0,0,0];for(var o=[1/0,1/0,-1/0,-1/0],n=0,i=r.length;no[2]&&(o[2]=a[s+0]),a[s+1]>o[3]&&(o[3]=a[s+1]);return o}}}),P6=ke({\"node_modules/normalize-svg-path/index.js\"(Z,H){var g=Math.PI,x=o(120);H.exports=A;function A(n){for(var i,a=[],s=0,c=0,h=0,p=0,d=null,T=null,l=0,_=0,w=0,M=n.length;w7&&(a.push(E.splice(0,7)),E.unshift(\"C\"));break;case\"S\":var b=l,v=_;(i==\"C\"||i==\"S\")&&(b+=b-s,v+=v-c),E=[\"C\",b,v,E[1],E[2],E[3],E[4]];break;case\"T\":i==\"Q\"||i==\"T\"?(d=l*2-d,T=_*2-T):(d=l,T=_),E=e(l,_,d,T,E[1],E[2]);break;case\"Q\":d=E[1],T=E[2],E=e(l,_,E[1],E[2],E[3],E[4]);break;case\"L\":E=S(l,_,E[1],E[2]);break;case\"H\":E=S(l,_,E[1],_);break;case\"V\":E=S(l,_,l,E[1]);break;case\"Z\":E=S(l,_,h,p);break}i=m,l=E[E.length-2],_=E[E.length-1],E.length>4?(s=E[E.length-4],c=E[E.length-3]):(s=l,c=_),a.push(E)}return a}function S(n,i,a,s){return[\"C\",n,i,a,s,a,s]}function e(n,i,a,s,c,h){return[\"C\",n/3+2/3*a,i/3+2/3*s,c/3+2/3*a,h/3+2/3*s,c,h]}function t(n,i,a,s,c,h,p,d,T,l){if(l)f=l[0],P=l[1],u=l[2],y=l[3];else{var _=r(n,i,-c);n=_.x,i=_.y,_=r(d,T,-c),d=_.x,T=_.y;var w=(n-d)/2,M=(i-T)/2,E=w*w/(a*a)+M*M/(s*s);E>1&&(E=Math.sqrt(E),a=E*a,s=E*s);var m=a*a,b=s*s,v=(h==p?-1:1)*Math.sqrt(Math.abs((m*b-m*M*M-b*w*w)/(m*M*M+b*w*w)));v==1/0&&(v=1);var u=v*a*M/s+(n+d)/2,y=v*-s*w/a+(i+T)/2,f=Math.asin(((i-y)/s).toFixed(9)),P=Math.asin(((T-y)/s).toFixed(9));f=nP&&(f=f-g*2),!p&&P>f&&(P=P-g*2)}if(Math.abs(P-f)>x){var L=P,z=d,F=T;P=f+x*(p&&P>f?1:-1),d=u+a*Math.cos(P),T=y+s*Math.sin(P);var B=t(d,T,a,s,c,0,p,z,F,[P,L,u,y])}var O=Math.tan((P-f)/4),I=4/3*a*O,N=4/3*s*O,U=[2*n-(n+I*Math.sin(f)),2*i-(i-N*Math.cos(f)),d+I*Math.sin(P),T-N*Math.cos(P),d,T];if(l)return U;B&&(U=U.concat(B));for(var W=0;W0?r.strokeStyle=\"white\":r.strokeStyle=\"black\",r.lineWidth=Math.abs(d)),r.translate(c*.5,h*.5),r.scale(_,_),i()){var w=new Path2D(a);r.fill(w),d&&r.stroke(w)}else{var M=x(a);A(r,M),r.fill(),d&&r.stroke()}r.setTransform(1,0,0,1,0,0);var E=e(r,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:p*.5});return E}var n;function i(){if(n!=null)return n;var a=document.createElement(\"canvas\").getContext(\"2d\");if(a.canvas.width=a.canvas.height=1,!window.Path2D)return n=!1;var s=new Path2D(\"M0,0h1v1h-1v-1Z\");a.fillStyle=\"black\",a.fill(s);var c=a.getImageData(0,0,1,1);return n=c&&c.data&&c.data[3]===255}}}),eg=ke({\"src/traces/scattergl/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=D6(),A=Zp(),S=lo(),e=un(),t=e.isArrayOrTypedArray,r=$o(),o=qc(),n=np().formatColor,i=vu(),a=Hg(),s=ab(),c=$p(),h=Lp().DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},d=gd().appendArrayPointValue;function T(B,O){var I,N={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},U=B._context.plotGlPixelRatio;if(O.visible!==!0)return N;if(i.hasText(O)&&(N.text=l(B,O),N.textSel=E(B,O,O.selected),N.textUnsel=E(B,O,O.unselected)),i.hasMarkers(O)&&(N.marker=w(B,O),N.markerSel=M(B,O,O.selected),N.markerUnsel=M(B,O,O.unselected),!O.unselected&&t(O.marker.opacity))){var W=O.marker.opacity;for(N.markerUnsel.opacity=new Array(W.length),I=0;I500?\"bold\":\"normal\":B}function w(B,O){var I=O._length,N=O.marker,U={},W,Q=t(N.symbol),le=t(N.angle),se=t(N.color),fe=t(N.line.color),G=t(N.opacity),$=t(N.size),J=t(N.line.width),X;if(Q||(X=s.isOpenSymbol(N.symbol)),Q||se||fe||G||le){U.symbols=new Array(I),U.angles=new Array(I),U.colors=new Array(I),U.borderColors=new Array(I);var re=N.symbol,ae=N.angle,j=n(N,N.opacity,I),ee=n(N.line,N.opacity,I);if(!t(ee[0])){var ie=ee;for(ee=Array(I),W=0;Wc.TOO_MANY_POINTS||i.hasMarkers(O)?\"rect\":\"round\";if(fe&&O.connectgaps){var $=W[0],J=W[1];for(Q=0;Q1?se[Q]:se[0]:se,X=t(fe)?fe.length>1?fe[Q]:fe[0]:fe,re=p[J],ae=p[X],j=G?G/.8+1:0,ee=-ae*j-ae*.5;W.offset[Q]=[re*j/$,ee/$]}}return W}H.exports={style:T,markerStyle:w,markerSelection:M,linePositions:L,errorBarPositions:z,textPosition:F}}}),wA=ke({\"src/traces/scattergl/scene_update.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=S._scene,t={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},r={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return S._scene||(e=S._scene={},e.init=function(){g.extendFlat(e,r,t)},e.init(),e.update=function(n){var i=g.repeat(n,e.count);if(e.fill2d&&e.fill2d.update(i),e.scatter2d&&e.scatter2d.update(i),e.line2d&&e.line2d.update(i),e.error2d&&e.error2d.update(i.concat(i)),e.select2d&&e.select2d.update(i),e.glText)for(var a=0;a=h,u=b*2,y={},f,P=M.makeCalcdata(_,\"x\"),L=E.makeCalcdata(_,\"y\"),z=e(_,M,\"x\",P),F=e(_,E,\"y\",L),B=z.vals,O=F.vals;_._x=B,_._y=O,_.xperiodalignment&&(_._origX=P,_._xStarts=z.starts,_._xEnds=z.ends),_.yperiodalignment&&(_._origY=L,_._yStarts=F.starts,_._yEnds=F.ends);var I=new Array(u),N=new Array(b);for(f=0;f1&&x.extendFlat(m.line,a.linePositions(T,_,w)),m.errorX||m.errorY){var b=a.errorBarPositions(T,_,w,M,E);m.errorX&&x.extendFlat(m.errorX,b.x),m.errorY&&x.extendFlat(m.errorY,b.y)}return m.text&&(x.extendFlat(m.text,{positions:w},a.textPosition(T,_,m.text,m.marker)),x.extendFlat(m.textSel,{positions:w},a.textPosition(T,_,m.text,m.markerSel)),x.extendFlat(m.textUnsel,{positions:w},a.textPosition(T,_,m.text,m.markerUnsel))),m}}}),TA=ke({\"src/traces/scattergl/edit_style.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=Lp().DESELECTDIM;function S(e){var t=e[0],r=t.trace,o=t.t,n=o._scene,i=o.index,a=n.selectBatch[i],s=n.unselectBatch[i],c=n.textOptions[i],h=n.textSelectedOptions[i]||{},p=n.textUnselectedOptions[i]||{},d=g.extendFlat({},c),T,l;if(a.length||s.length){var _=h.color,w=p.color,M=c.color,E=g.isArrayOrTypedArray(M);for(d.color=new Array(r._length),T=0;T>>24,r=(S&16711680)>>>16,o=(S&65280)>>>8,n=S&255;return e===!1?[t,r,o,n]:[t/255,r/255,o/255,n/255]}}}),Rf=ke({\"node_modules/object-assign/index.js\"(Z,H){\"use strict\";var g=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function S(t){if(t==null)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(t)}function e(){try{if(!Object.assign)return!1;var t=new String(\"abc\");if(t[5]=\"de\",Object.getOwnPropertyNames(t)[0]===\"5\")return!1;for(var r={},o=0;o<10;o++)r[\"_\"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(n.join(\"\")!==\"0123456789\")return!1;var i={};return\"abcdefghijklmnopqrst\".split(\"\").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join(\"\")===\"abcdefghijklmnopqrst\"}catch{return!1}}H.exports=e()?Object.assign:function(t,r){for(var o,n=S(t),i,a=1;ay.length)&&(f=y.length);for(var P=0,L=new Array(f);P 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n`]),se.vert=d([`precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\n// \\`invariant\\` effectively turns off optimizations for the position.\n// We need this because -fast-math on M1 Macs is re-ordering\n// floating point operations in a way that causes floating point\n// precision limits to put points in the wrong locations.\ninvariant gl_Position;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 paletteSize, scale, scaleFract, translate, translateFract;\nuniform sampler2D paletteTexture;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(paletteTexture,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = (size + borderSize) * pointSizeScale;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n fragColor = color;\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n fragWidth = 1. / gl_PointSize;\n}\n`]),w&&(se.frag=se.frag.replace(\"smoothstep\",\"smoothStep\"),le.frag=le.frag.replace(\"smoothstep\",\"smoothStep\")),this.drawCircle=y(se)}b.defaults={color:\"black\",borderColor:\"transparent\",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,P=new Array(f),L=0;Lpe)?ut.tree=h(tt,{bounds:et}):pe&&pe.length&&(ut.tree=pe),ut.tree){var Lt={primitive:\"points\",usage:\"static\",data:ut.tree,type:\"uint32\"};ut.elements?ut.elements(Lt):ut.elements=B.elements(Lt)}var Et=M.float32(tt);ue({data:Et,usage:\"dynamic\"});var Bt=M.fract32(tt,Et);return Oe({data:Bt,usage:\"dynamic\"}),rt({data:new Uint8Array(ot),type:\"uint8\",usage:\"stream\"}),tt}},{marker:function(tt,ut,Me){var pe=ut.activation;if(pe.forEach(function(Bt){return Bt&&Bt.destroy&&Bt.destroy()}),pe.length=0,!tt||typeof tt[0]==\"number\"){var ue=y.addMarker(tt);pe[ue]=!0}else{for(var Oe=[],rt=0,ot=Math.min(tt.length,ut.count);rt=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var B=0,O=y.length;BL*4&&(this.tooManyColors=!0),this.updatePalette(P),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,P=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z80*I){le=fe=B[0],se=G=B[1];for(var re=I;refe&&(fe=$),J>G&&(G=J);X=Math.max(fe-le,G-se),X=X!==0?32767/X:0}return S(W,Q,I,le,se,X,0),Q}function x(B,O,I,N,U){var W,Q;if(U===F(B,O,I,N)>0)for(W=O;W=O;W-=N)Q=P(W,B[W],B[W+1],Q);return Q&&M(Q,Q.next)&&(L(Q),Q=Q.next),Q}function A(B,O){if(!B)return B;O||(O=B);var I=B,N;do if(N=!1,!I.steiner&&(M(I,I.next)||w(I.prev,I,I.next)===0)){if(L(I),I=O=I.prev,I===I.next)break;N=!0}else I=I.next;while(N||I!==O);return O}function S(B,O,I,N,U,W,Q){if(B){!Q&&W&&h(B,N,U,W);for(var le=B,se,fe;B.prev!==B.next;){if(se=B.prev,fe=B.next,W?t(B,N,U,W):e(B)){O.push(se.i/I|0),O.push(B.i/I|0),O.push(fe.i/I|0),L(B),B=fe.next,le=fe.next;continue}if(B=fe,B===le){Q?Q===1?(B=r(A(B),O,I),S(B,O,I,N,U,W,2)):Q===2&&o(B,O,I,N,U,W):S(A(B),O,I,N,U,W,1);break}}}}function e(B){var O=B.prev,I=B,N=B.next;if(w(O,I,N)>=0)return!1;for(var U=O.x,W=I.x,Q=N.x,le=O.y,se=I.y,fe=N.y,G=UW?U>Q?U:Q:W>Q?W:Q,X=le>se?le>fe?le:fe:se>fe?se:fe,re=N.next;re!==O;){if(re.x>=G&&re.x<=J&&re.y>=$&&re.y<=X&&l(U,le,W,se,Q,fe,re.x,re.y)&&w(re.prev,re,re.next)>=0)return!1;re=re.next}return!0}function t(B,O,I,N){var U=B.prev,W=B,Q=B.next;if(w(U,W,Q)>=0)return!1;for(var le=U.x,se=W.x,fe=Q.x,G=U.y,$=W.y,J=Q.y,X=lese?le>fe?le:fe:se>fe?se:fe,j=G>$?G>J?G:J:$>J?$:J,ee=d(X,re,O,I,N),ie=d(ae,j,O,I,N),ce=B.prevZ,xe=B.nextZ;ce&&ce.z>=ee&&xe&&xe.z<=ie;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0||(ce=ce.prevZ,xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0))return!1;xe=xe.nextZ}for(;ce&&ce.z>=ee;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0)return!1;ce=ce.prevZ}for(;xe&&xe.z<=ie;){if(xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0)return!1;xe=xe.nextZ}return!0}function r(B,O,I){var N=B;do{var U=N.prev,W=N.next.next;!M(U,W)&&E(U,N,N.next,W)&&u(U,W)&&u(W,U)&&(O.push(U.i/I|0),O.push(N.i/I|0),O.push(W.i/I|0),L(N),L(N.next),N=B=W),N=N.next}while(N!==B);return A(N)}function o(B,O,I,N,U,W){var Q=B;do{for(var le=Q.next.next;le!==Q.prev;){if(Q.i!==le.i&&_(Q,le)){var se=f(Q,le);Q=A(Q,Q.next),se=A(se,se.next),S(Q,O,I,N,U,W,0),S(se,O,I,N,U,W,0);return}le=le.next}Q=Q.next}while(Q!==B)}function n(B,O,I,N){var U=[],W,Q,le,se,fe;for(W=0,Q=O.length;W=I.next.y&&I.next.y!==I.y){var le=I.x+(U-I.y)*(I.next.x-I.x)/(I.next.y-I.y);if(le<=N&&le>W&&(W=le,Q=I.x=I.x&&I.x>=fe&&N!==I.x&&l(UQ.x||I.x===Q.x&&c(Q,I)))&&(Q=I,$=J)),I=I.next;while(I!==se);return Q}function c(B,O){return w(B.prev,B,O.prev)<0&&w(O.next,B,B.next)<0}function h(B,O,I,N){var U=B;do U.z===0&&(U.z=d(U.x,U.y,O,I,N)),U.prevZ=U.prev,U.nextZ=U.next,U=U.next;while(U!==B);U.prevZ.nextZ=null,U.prevZ=null,p(U)}function p(B){var O,I,N,U,W,Q,le,se,fe=1;do{for(I=B,B=null,W=null,Q=0;I;){for(Q++,N=I,le=0,O=0;O0||se>0&&N;)le!==0&&(se===0||!N||I.z<=N.z)?(U=I,I=I.nextZ,le--):(U=N,N=N.nextZ,se--),W?W.nextZ=U:B=U,U.prevZ=W,W=U;I=N}W.nextZ=null,fe*=2}while(Q>1);return B}function d(B,O,I,N,U){return B=(B-I)*U|0,O=(O-N)*U|0,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,O=(O|O<<8)&16711935,O=(O|O<<4)&252645135,O=(O|O<<2)&858993459,O=(O|O<<1)&1431655765,B|O<<1}function T(B){var O=B,I=B;do(O.x=(B-Q)*(W-le)&&(B-Q)*(N-le)>=(I-Q)*(O-le)&&(I-Q)*(W-le)>=(U-Q)*(N-le)}function _(B,O){return B.next.i!==O.i&&B.prev.i!==O.i&&!v(B,O)&&(u(B,O)&&u(O,B)&&y(B,O)&&(w(B.prev,B,O.prev)||w(B,O.prev,O))||M(B,O)&&w(B.prev,B,B.next)>0&&w(O.prev,O,O.next)>0)}function w(B,O,I){return(O.y-B.y)*(I.x-O.x)-(O.x-B.x)*(I.y-O.y)}function M(B,O){return B.x===O.x&&B.y===O.y}function E(B,O,I,N){var U=b(w(B,O,I)),W=b(w(B,O,N)),Q=b(w(I,N,B)),le=b(w(I,N,O));return!!(U!==W&&Q!==le||U===0&&m(B,I,O)||W===0&&m(B,N,O)||Q===0&&m(I,B,N)||le===0&&m(I,O,N))}function m(B,O,I){return O.x<=Math.max(B.x,I.x)&&O.x>=Math.min(B.x,I.x)&&O.y<=Math.max(B.y,I.y)&&O.y>=Math.min(B.y,I.y)}function b(B){return B>0?1:B<0?-1:0}function v(B,O){var I=B;do{if(I.i!==B.i&&I.next.i!==B.i&&I.i!==O.i&&I.next.i!==O.i&&E(I,I.next,B,O))return!0;I=I.next}while(I!==B);return!1}function u(B,O){return w(B.prev,B,B.next)<0?w(B,O,B.next)>=0&&w(B,B.prev,O)>=0:w(B,O,B.prev)<0||w(B,B.next,O)<0}function y(B,O){var I=B,N=!1,U=(B.x+O.x)/2,W=(B.y+O.y)/2;do I.y>W!=I.next.y>W&&I.next.y!==I.y&&U<(I.next.x-I.x)*(W-I.y)/(I.next.y-I.y)+I.x&&(N=!N),I=I.next;while(I!==B);return N}function f(B,O){var I=new z(B.i,B.x,B.y),N=new z(O.i,O.x,O.y),U=B.next,W=O.prev;return B.next=O,O.prev=B,I.next=U,U.prev=I,N.next=I,I.prev=N,W.next=N,N.prev=W,N}function P(B,O,I,N){var U=new z(B,O,I);return N?(U.next=N.next,U.prev=N,N.next.prev=U,N.next=U):(U.prev=U,U.next=U),U}function L(B){B.next.prev=B.prev,B.prev.next=B.next,B.prevZ&&(B.prevZ.nextZ=B.nextZ),B.nextZ&&(B.nextZ.prevZ=B.prevZ)}function z(B,O,I){this.i=B,this.x=O,this.y=I,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}g.deviation=function(B,O,I,N){var U=O&&O.length,W=U?O[0]*I:B.length,Q=Math.abs(F(B,0,W,I));if(U)for(var le=0,se=O.length;le0&&(N+=B[U-1].length,I.holes.push(N))}return I}}}),j6=ke({\"node_modules/array-normalize/index.js\"(Z,H){\"use strict\";var g=$m();H.exports=x;function x(A,S,e){if(!A||A.length==null)throw Error(\"Argument should be an array\");S==null&&(S=1),e==null&&(e=g(A,S));for(var t=0;t-1}}}),IA=ke({\"node_modules/es5-ext/string/#/contains/index.js\"(Z,H){\"use strict\";H.exports=eR()()?String.prototype.contains:tR()}}),ap=ke({\"node_modules/d/index.js\"(Z,H){\"use strict\";var g=tg(),x=LA(),A=cb(),S=PA(),e=IA(),t=H.exports=function(r,o){var n,i,a,s,c;return arguments.length<2||typeof r!=\"string\"?(s=o,o=r,r=null):s=arguments[2],g(r)?(n=e.call(r,\"c\"),i=e.call(r,\"e\"),a=e.call(r,\"w\")):(n=a=!0,i=!1),c={value:o,configurable:n,enumerable:i,writable:a},s?A(S(s),c):c};t.gs=function(r,o,n){var i,a,s,c;return typeof r!=\"string\"?(s=n,n=o,o=r,r=null):s=arguments[3],g(o)?x(o)?g(n)?x(n)||(s=n,n=void 0):n=void 0:(s=o,o=n=void 0):o=void 0,g(r)?(i=e.call(r,\"c\"),a=e.call(r,\"e\")):(i=!0,a=!1),c={get:o,set:n,configurable:i,enumerable:a},s?A(S(s),c):c}}}),X0=ke({\"node_modules/es5-ext/function/is-arguments.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=g.call(function(){return arguments}());H.exports=function(A){return g.call(A)===x}}}),Z0=ke({\"node_modules/es5-ext/string/is-string.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=g.call(\"\");H.exports=function(A){return typeof A==\"string\"||A&&typeof A==\"object\"&&(A instanceof String||g.call(A)===x)||!1}}}),rR=ke({\"node_modules/ext/global-this/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){return typeof globalThis!=\"object\"||!globalThis?!1:globalThis.Array===Array}}}),nR=ke({\"node_modules/ext/global-this/implementation.js\"(Z,H){var g=function(){if(typeof self==\"object\"&&self)return self;if(typeof window==\"object\"&&window)return window;throw new Error(\"Unable to resolve global `this`\")};H.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,\"__global__\",{get:function(){return this},configurable:!0})}catch{return g()}try{return __global__||g()}finally{delete Object.prototype.__global__}}()}}),Y0=ke({\"node_modules/ext/global-this/index.js\"(Z,H){\"use strict\";H.exports=rR()()?globalThis:nR()}}),iR=ke({\"node_modules/es6-symbol/is-implemented.js\"(Z,H){\"use strict\";var g=Y0(),x={object:!0,symbol:!0};H.exports=function(){var A=g.Symbol,S;if(typeof A!=\"function\")return!1;S=A(\"test symbol\");try{String(S)}catch{return!1}return!(!x[typeof A.iterator]||!x[typeof A.toPrimitive]||!x[typeof A.toStringTag])}}}),aR=ke({\"node_modules/es6-symbol/is-symbol.js\"(Z,H){\"use strict\";H.exports=function(g){return g?typeof g==\"symbol\"?!0:!g.constructor||g.constructor.name!==\"Symbol\"?!1:g[g.constructor.toStringTag]===\"Symbol\":!1}}}),RA=ke({\"node_modules/es6-symbol/validate-symbol.js\"(Z,H){\"use strict\";var g=aR();H.exports=function(x){if(!g(x))throw new TypeError(x+\" is not a symbol\");return x}}}),oR=ke({\"node_modules/es6-symbol/lib/private/generate-name.js\"(Z,H){\"use strict\";var g=ap(),x=Object.create,A=Object.defineProperty,S=Object.prototype,e=x(null);H.exports=function(t){for(var r=0,o,n;e[t+(r||\"\")];)++r;return t+=r||\"\",e[t]=!0,o=\"@@\"+t,A(S,o,g.gs(null,function(i){n||(n=!0,A(this,o,g(i)),n=!1)})),o}}}),sR=ke({\"node_modules/es6-symbol/lib/private/setup/standard-symbols.js\"(Z,H){\"use strict\";var g=ap(),x=Y0().Symbol;H.exports=function(A){return Object.defineProperties(A,{hasInstance:g(\"\",x&&x.hasInstance||A(\"hasInstance\")),isConcatSpreadable:g(\"\",x&&x.isConcatSpreadable||A(\"isConcatSpreadable\")),iterator:g(\"\",x&&x.iterator||A(\"iterator\")),match:g(\"\",x&&x.match||A(\"match\")),replace:g(\"\",x&&x.replace||A(\"replace\")),search:g(\"\",x&&x.search||A(\"search\")),species:g(\"\",x&&x.species||A(\"species\")),split:g(\"\",x&&x.split||A(\"split\")),toPrimitive:g(\"\",x&&x.toPrimitive||A(\"toPrimitive\")),toStringTag:g(\"\",x&&x.toStringTag||A(\"toStringTag\")),unscopables:g(\"\",x&&x.unscopables||A(\"unscopables\"))})}}}),lR=ke({\"node_modules/es6-symbol/lib/private/setup/symbol-registry.js\"(Z,H){\"use strict\";var g=ap(),x=RA(),A=Object.create(null);H.exports=function(S){return Object.defineProperties(S,{for:g(function(e){return A[e]?A[e]:A[e]=S(String(e))}),keyFor:g(function(e){var t;x(e);for(t in A)if(A[t]===e)return t})})}}}),uR=ke({\"node_modules/es6-symbol/polyfill.js\"(Z,H){\"use strict\";var g=ap(),x=RA(),A=Y0().Symbol,S=oR(),e=sR(),t=lR(),r=Object.create,o=Object.defineProperties,n=Object.defineProperty,i,a,s;if(typeof A==\"function\")try{String(A()),s=!0}catch{}else A=null;a=function(h){if(this instanceof a)throw new TypeError(\"Symbol is not a constructor\");return i(h)},H.exports=i=function c(h){var p;if(this instanceof c)throw new TypeError(\"Symbol is not a constructor\");return s?A(h):(p=r(a.prototype),h=h===void 0?\"\":String(h),o(p,{__description__:g(\"\",h),__name__:g(\"\",S(h))}))},e(i),t(i),o(a.prototype,{constructor:g(i),toString:g(\"\",function(){return this.__name__})}),o(i.prototype,{toString:g(function(){return\"Symbol (\"+x(this).__description__+\")\"}),valueOf:g(function(){return x(this)})}),n(i.prototype,i.toPrimitive,g(\"\",function(){var c=x(this);return typeof c==\"symbol\"?c:c.toString()})),n(i.prototype,i.toStringTag,g(\"c\",\"Symbol\")),n(a.prototype,i.toStringTag,g(\"c\",i.prototype[i.toStringTag])),n(a.prototype,i.toPrimitive,g(\"c\",i.prototype[i.toPrimitive]))}}),em=ke({\"node_modules/es6-symbol/index.js\"(Z,H){\"use strict\";H.exports=iR()()?Y0().Symbol:uR()}}),cR=ke({\"node_modules/es5-ext/array/#/clear.js\"(Z,H){\"use strict\";var g=ip();H.exports=function(){return g(this).length=0,this}}}),gy=ke({\"node_modules/es5-ext/object/valid-callable.js\"(Z,H){\"use strict\";H.exports=function(g){if(typeof g!=\"function\")throw new TypeError(g+\" is not a function\");return g}}}),fR=ke({\"node_modules/type/string/coerce.js\"(Z,H){\"use strict\";var g=tg(),x=ub(),A=Object.prototype.toString;H.exports=function(S){if(!g(S))return null;if(x(S)){var e=S.toString;if(typeof e!=\"function\"||e===A)return null}try{return\"\"+S}catch{return null}}}}),hR=ke({\"node_modules/type/lib/safe-to-string.js\"(Z,H){\"use strict\";H.exports=function(g){try{return g.toString()}catch{try{return String(g)}catch{return null}}}}}),dR=ke({\"node_modules/type/lib/to-short-string.js\"(Z,H){\"use strict\";var g=hR(),x=/[\\n\\r\\u2028\\u2029]/g;H.exports=function(A){var S=g(A);return S===null?\"\":(S.length>100&&(S=S.slice(0,99)+\"\\u2026\"),S=S.replace(x,function(e){switch(e){case`\n`:return\"\\\\n\";case\"\\r\":return\"\\\\r\";case\"\\u2028\":return\"\\\\u2028\";case\"\\u2029\":return\"\\\\u2029\";default:throw new Error(\"Unexpected character\")}}),S)}}}),DA=ke({\"node_modules/type/lib/resolve-exception.js\"(Z,H){\"use strict\";var g=tg(),x=ub(),A=fR(),S=dR(),e=function(t,r){return t.replace(\"%v\",S(r))};H.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!g(t)){if(\"default\"in o)return o.default;if(o.isOptional)return null}var n=A(o.errorMessage);throw g(n)||(n=r),new TypeError(e(n,t))}}}),vR=ke({\"node_modules/type/value/ensure.js\"(Z,H){\"use strict\";var g=DA(),x=tg();H.exports=function(A){return x(A)?A:g(A,\"Cannot use %v\",arguments[1])}}}),pR=ke({\"node_modules/type/plain-function/ensure.js\"(Z,H){\"use strict\";var g=DA(),x=LA();H.exports=function(A){return x(A)?A:g(A,\"%v is not a plain function\",arguments[1])}}}),mR=ke({\"node_modules/es5-ext/array/from/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){var g=Array.from,x,A;return typeof g!=\"function\"?!1:(x=[\"raz\",\"dwa\"],A=g(x),!!(A&&A!==x&&A[1]===\"dwa\"))}}}),gR=ke({\"node_modules/es5-ext/function/is-function.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);H.exports=function(A){return typeof A==\"function\"&&x(g.call(A))}}}),yR=ke({\"node_modules/es5-ext/math/sign/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){var g=Math.sign;return typeof g!=\"function\"?!1:g(10)===1&&g(-20)===-1}}}),_R=ke({\"node_modules/es5-ext/math/sign/shim.js\"(Z,H){\"use strict\";H.exports=function(g){return g=Number(g),isNaN(g)||g===0?g:g>0?1:-1}}}),xR=ke({\"node_modules/es5-ext/math/sign/index.js\"(Z,H){\"use strict\";H.exports=yR()()?Math.sign:_R()}}),bR=ke({\"node_modules/es5-ext/number/to-integer.js\"(Z,H){\"use strict\";var g=xR(),x=Math.abs,A=Math.floor;H.exports=function(S){return isNaN(S)?0:(S=Number(S),S===0||!isFinite(S)?S:g(S)*A(x(S)))}}}),wR=ke({\"node_modules/es5-ext/number/to-pos-integer.js\"(Z,H){\"use strict\";var g=bR(),x=Math.max;H.exports=function(A){return x(0,g(A))}}}),TR=ke({\"node_modules/es5-ext/array/from/shim.js\"(Z,H){\"use strict\";var g=em().iterator,x=X0(),A=gR(),S=wR(),e=gy(),t=ip(),r=Qp(),o=Z0(),n=Array.isArray,i=Function.prototype.call,a={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;H.exports=function(c){var h=arguments[1],p=arguments[2],d,T,l,_,w,M,E,m,b,v;if(c=Object(t(c)),r(h)&&e(h),!this||this===Array||!A(this)){if(!h){if(x(c))return w=c.length,w!==1?Array.apply(null,c):(_=new Array(1),_[0]=c[0],_);if(n(c)){for(_=new Array(w=c.length),T=0;T=55296&&M<=56319&&(v+=c[++T])),v=h?i.call(h,p,v,l):v,d?(a.value=v,s(_,l,a)):_[l]=v,++l;w=l}}if(w===void 0)for(w=S(c.length),d&&(_=new d(w)),T=0;T=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,\"__redo__\",e(\"c\",[a]));return}this.__redo__.forEach(function(s,c){s>=a&&(this.__redo__[c]=++s)},this),this.__redo__.push(a)}}),_onDelete:e(function(a){var s;a>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(a),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(c,h){c>a&&(this.__redo__[h]=--c)},this)))}),_onClear:e(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),o(i.prototype,r.iterator,e(function(){return this}))}}),LR=ke({\"node_modules/es6-iterator/array.js\"(Z,H){\"use strict\";var g=lb(),x=IA(),A=ap(),S=em(),e=zA(),t=Object.defineProperty,r;r=H.exports=function(o,n){if(!(this instanceof r))throw new TypeError(\"Constructor requires 'new'\");e.call(this,o),n?x.call(n,\"key+value\")?n=\"key+value\":x.call(n,\"key\")?n=\"key\":n=\"value\":n=\"value\",t(this,\"__kind__\",A(\"\",n))},g&&g(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:A(function(o){return this.__kind__===\"value\"?this.__list__[o]:this.__kind__===\"key+value\"?[o,this.__list__[o]]:o})}),t(r.prototype,S.toStringTag,A(\"c\",\"Array Iterator\"))}}),PR=ke({\"node_modules/es6-iterator/string.js\"(Z,H){\"use strict\";var g=lb(),x=ap(),A=em(),S=zA(),e=Object.defineProperty,t;t=H.exports=function(r){if(!(this instanceof t))throw new TypeError(\"Constructor requires 'new'\");r=String(r),S.call(this,r),e(this,\"__length__\",x(\"\",r.length))},g&&g(t,S),delete t.prototype.constructor,t.prototype=Object.create(S.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__=55296&&n<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,A.toStringTag,x(\"c\",\"String Iterator\"))}}),IR=ke({\"node_modules/es6-iterator/is-iterable.js\"(Z,H){\"use strict\";var g=X0(),x=Qp(),A=Z0(),S=em().iterator,e=Array.isArray;H.exports=function(t){return x(t)?e(t)||A(t)||g(t)?!0:typeof t[S]==\"function\":!1}}}),RR=ke({\"node_modules/es6-iterator/valid-iterable.js\"(Z,H){\"use strict\";var g=IR();H.exports=function(x){if(!g(x))throw new TypeError(x+\" is not iterable\");return x}}}),FA=ke({\"node_modules/es6-iterator/get.js\"(Z,H){\"use strict\";var g=X0(),x=Z0(),A=LR(),S=PR(),e=RR(),t=em().iterator;H.exports=function(r){return typeof e(r)[t]==\"function\"?r[t]():g(r)?new A(r):x(r)?new S(r):new A(r)}}}),DR=ke({\"node_modules/es6-iterator/for-of.js\"(Z,H){\"use strict\";var g=X0(),x=gy(),A=Z0(),S=FA(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;H.exports=function(o,n){var i,a=arguments[2],s,c,h,p,d,T,l;if(e(o)||g(o)?i=\"array\":A(o)?i=\"string\":o=S(o),x(n),c=function(){h=!0},i===\"array\"){r.call(o,function(_){return t.call(n,a,_,c),h});return}if(i===\"string\"){for(d=o.length,p=0;p=55296&&l<=56319&&(T+=o[++p])),t.call(n,a,T,c),!h);++p);return}for(s=o.next();!s.done;){if(t.call(n,a,s.value,c),h)return;s=o.next()}}}}),zR=ke({\"node_modules/es6-weak-map/is-native-implemented.js\"(Z,H){\"use strict\";H.exports=function(){return typeof WeakMap!=\"function\"?!1:Object.prototype.toString.call(new WeakMap)===\"[object WeakMap]\"}()}}),FR=ke({\"node_modules/es6-weak-map/polyfill.js\"(Z,H){\"use strict\";var g=Qp(),x=lb(),A=G6(),S=ip(),e=W6(),t=ap(),r=FA(),o=DR(),n=em().toStringTag,i=zR(),a=Array.isArray,s=Object.defineProperty,c=Object.prototype.hasOwnProperty,h=Object.getPrototypeOf,p;H.exports=p=function(){var d=arguments[0],T;if(!(this instanceof p))throw new TypeError(\"Constructor requires 'new'\");return T=i&&x&&WeakMap!==p?x(new WeakMap,h(this)):this,g(d)&&(a(d)||(d=r(d))),s(T,\"__weakMapData__\",t(\"c\",\"$weakMap$\"+e())),d&&o(d,function(l){S(l),T.set(l[0],l[1])}),T},i&&(x&&x(p,WeakMap),p.prototype=Object.create(WeakMap.prototype,{constructor:t(p)})),Object.defineProperties(p.prototype,{delete:t(function(d){return c.call(A(d),this.__weakMapData__)?(delete d[this.__weakMapData__],!0):!1}),get:t(function(d){if(c.call(A(d),this.__weakMapData__))return d[this.__weakMapData__]}),has:t(function(d){return c.call(A(d),this.__weakMapData__)}),set:t(function(d,T){return s(A(d),this.__weakMapData__,t(\"c\",T)),this}),toString:t(function(){return\"[object WeakMap]\"})}),s(p.prototype,n,t(\"c\",\"WeakMap\"))}}),OA=ke({\"node_modules/es6-weak-map/index.js\"(Z,H){\"use strict\";H.exports=V6()()?WeakMap:FR()}}),OR=ke({\"node_modules/array-find-index/index.js\"(Z,H){\"use strict\";H.exports=function(g,x,A){if(typeof Array.prototype.findIndex==\"function\")return g.findIndex(x,A);if(typeof x!=\"function\")throw new TypeError(\"predicate must be a function\");var S=Object(g),e=S.length;if(e===0)return-1;for(var t=0;t 0. && baClipping < length(normalWidth * endBotJoin)) {\n\t\t//handle miter clipping\n\t\tbTopCoord -= normalWidth * endTopJoin;\n\t\tbTopCoord += normalize(endTopJoin * normalWidth) * baClipping;\n\t}\n\n\tif (nextReverse) {\n\t\t//make join rectangular\n\t\tvec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;\n\t\tfloat normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);\n\t\tbBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\n\t\tbTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\n\t}\n\telse if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {\n\t\t//handle miter clipping\n\t\taBotCoord -= normalWidth * startBotJoin;\n\t\taBotCoord += normalize(startBotJoin * normalWidth) * abClipping;\n\t}\n\n\tvec2 aTopPosition = (aTopCoord) * adjustedScale + translate;\n\tvec2 aBotPosition = (aBotCoord) * adjustedScale + translate;\n\n\tvec2 bTopPosition = (bTopCoord) * adjustedScale + translate;\n\tvec2 bBotPosition = (bBotCoord) * adjustedScale + translate;\n\n\t//position is normalized 0..1 coord on the screen\n\tvec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;\n\n\tstartCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\tendCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tenableStartMiter = step(dot(currTangent, prevTangent), .5);\n\tenableEndMiter = step(dot(currTangent, nextTangent), .5);\n\n\t//bevel miter cutoffs\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n\n\t//round miter cutoffs\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n}\n`,l=`\nprecision highp float;\n\nuniform float dashLength, pixelRatio, thickness, opacity, id, miterMode;\nuniform sampler2D dashTexture;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\nvarying vec4 startCutoff, endCutoff;\nvarying vec2 startCoord, endCoord;\nvarying float enableStartMiter, enableEndMiter;\n\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\n\tvec2 diff = b - a;\n\tvec2 perp = normalize(vec2(-diff.y, diff.x));\n\treturn dot(p - a, perp);\n}\n\nvoid main() {\n\tfloat alpha = 1., distToStart, distToEnd;\n\tfloat cutoff = thickness * .5;\n\n\t//bevel miter\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToStart + 1., 0.), 1.);\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToEnd + 1., 0.), 1.);\n\t\t}\n\t}\n\n\t// round miter\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - startCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - endCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;\n\tfloat dash = texture2D(dashTexture, vec2(t, .5)).r;\n\n\tgl_FragColor = fragColor;\n\tgl_FragColor.a *= alpha * opacity * dash;\n}\n`;H.exports=_;function _(w,M){if(!(this instanceof _))return new _(w,M);if(typeof w==\"function\"?(M||(M={}),M.regl=w):M=w,M.length&&(M.positions=M),w=M.regl,!w.hasExtension(\"ANGLE_instanced_arrays\"))throw Error(\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\");this.gl=w._gl,this.regl=w,this.passes=[],this.shaders=_.shaders.has(w)?_.shaders.get(w):_.shaders.set(w,_.createShaders(w)).get(w),this.update(M)}_.dashMult=2,_.maxPatternLength=256,_.precisionThreshold=3e6,_.maxPoints=1e4,_.maxLines=2048,_.shaders=new i,_.createShaders=function(w){let M=w.buffer({usage:\"static\",type:\"float\",data:[0,1,0,0,1,1,1,0]}),E={primitive:\"triangle strip\",instances:w.prop(\"count\"),count:4,offset:0,uniforms:{miterMode:(u,y)=>y.join===\"round\"?2:1,miterLimit:w.prop(\"miterLimit\"),scale:w.prop(\"scale\"),scaleFract:w.prop(\"scaleFract\"),translateFract:w.prop(\"translateFract\"),translate:w.prop(\"translate\"),thickness:w.prop(\"thickness\"),dashTexture:w.prop(\"dashTexture\"),opacity:w.prop(\"opacity\"),pixelRatio:w.context(\"pixelRatio\"),id:w.prop(\"id\"),dashLength:w.prop(\"dashLength\"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight],depth:w.prop(\"depth\")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\"add\",alpha:\"add\"},func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},depth:{enable:(u,y)=>!y.overlay},stencil:{enable:!1},scissor:{enable:!0,box:w.prop(\"viewport\")},viewport:w.prop(\"viewport\")},m=w(A({vert:c,frag:h,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:16,divisor:1},color:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:0,divisor:1}}},E)),b;try{b=w(A({cull:{enable:!0,face:\"back\"},vert:T,frag:l,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aColor:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:0,divisor:1},bColor:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:4,divisor:1},prevCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:0,divisor:1},aCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:16,divisor:1},nextCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:24,divisor:1}}},E))}catch{b=m}return{fill:w({primitive:\"triangle\",elements:(u,y)=>y.triangles,offset:0,vert:p,frag:d,uniforms:{scale:w.prop(\"scale\"),color:w.prop(\"fill\"),scaleFract:w.prop(\"scaleFract\"),translateFract:w.prop(\"translateFract\"),translate:w.prop(\"translate\"),opacity:w.prop(\"opacity\"),pixelRatio:w.context(\"pixelRatio\"),id:w.prop(\"id\"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight]},attributes:{position:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8},positionFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:8}},blend:E.blend,depth:{enable:!1},scissor:E.scissor,stencil:E.stencil,viewport:E.viewport}),rect:m,miter:b}},_.defaults={dashes:null,join:\"miter\",miterLimit:1,thickness:10,cap:\"square\",color:\"black\",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},_.prototype.render=function(...w){w.length&&this.update(...w),this.draw()},_.prototype.draw=function(...w){return(w.length?w:this.passes).forEach((M,E)=>{if(M&&Array.isArray(M))return this.draw(...M);typeof M==\"number\"&&(M=this.passes[M]),M&&M.count>1&&M.opacity&&(this.regl._refresh(),M.fill&&M.triangles&&M.triangles.length>2&&this.shaders.fill(M),M.thickness&&(M.scale[0]*M.viewport.width>_.precisionThreshold||M.scale[1]*M.viewport.height>_.precisionThreshold?this.shaders.rect(M):M.join===\"rect\"||!M.join&&(M.thickness<=2||M.count>=_.maxPoints)?this.shaders.rect(M):this.shaders.miter(M)))}),this},_.prototype.update=function(w){if(!w)return;w.length!=null?typeof w[0]==\"number\"&&(w=[{positions:w}]):Array.isArray(w)||(w=[w]);let{regl:M,gl:E}=this;if(w.forEach((b,v)=>{let u=this.passes[v];if(b!==void 0){if(b===null){this.passes[v]=null;return}if(typeof b[0]==\"number\"&&(b={positions:b}),b=S(b,{positions:\"positions points data coords\",thickness:\"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth\",join:\"lineJoin linejoin join type mode\",miterLimit:\"miterlimit miterLimit\",dashes:\"dash dashes dasharray dash-array dashArray\",color:\"color colour stroke colors colours stroke-color strokeColor\",fill:\"fill fill-color fillColor\",opacity:\"alpha opacity\",overlay:\"overlay crease overlap intersect\",close:\"closed close closed-path closePath\",range:\"range dataBox\",viewport:\"viewport viewBox\",hole:\"holes hole hollow\",splitNull:\"splitNull\"}),u||(this.passes[v]=u={id:v,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:M.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:\"linear\",min:\"linear\"}),colorBuffer:M.buffer({usage:\"dynamic\",type:\"uint8\",data:new Uint8Array}),positionBuffer:M.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array}),positionFractBuffer:M.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array})},b=A({},_.defaults,b)),b.thickness!=null&&(u.thickness=parseFloat(b.thickness)),b.opacity!=null&&(u.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(u.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(u.overlay=!!b.overlay,v<_.maxLines&&(u.depth=2*(_.maxLines-1-v%_.maxLines)/_.maxLines-1)),b.join!=null&&(u.join=b.join),b.hole!=null&&(u.hole=b.hole),b.fill!=null&&(u.fill=b.fill?g(b.fill,\"uint8\"):null),b.viewport!=null&&(u.viewport=a(b.viewport)),u.viewport||(u.viewport=a([E.drawingBufferWidth,E.drawingBufferHeight])),b.close!=null&&(u.close=b.close),b.positions===null&&(b.positions=[]),b.positions){let P,L;if(b.positions.x&&b.positions.y){let O=b.positions.x,I=b.positions.y;L=u.count=Math.max(O.length,I.length),P=new Float64Array(L*2);for(let N=0;Nse-fe),W=[],Q=0,le=u.hole!=null?u.hole[0]:null;if(le!=null){let se=s(U,fe=>fe>=le);U=U.slice(0,se),U.push(le)}for(let se=0;seJ-le+(U[se]-Q)),$=t(fe,G);$=$.map(J=>J+Q+(J+Q{w.colorBuffer.destroy(),w.positionBuffer.destroy(),w.dashTexture.destroy()}),this.passes.length=0,this}}}),BR=ke({\"node_modules/regl-error2d/index.js\"(Z,H){\"use strict\";var g=$m(),x=Zp(),A=MA(),S=Rv(),e=Rf(),t=Qm(),{float32:r,fract32:o}=sb();H.exports=i;var n=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function i(a,s){if(typeof a==\"function\"?(s||(s={}),s.regl=a):s=a,s.length&&(s.positions=s),a=s.regl,!a.hasExtension(\"ANGLE_instanced_arrays\"))throw Error(\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\");let c=a._gl,h,p,d,T,l,_,w={color:\"black\",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},M=[];return T=a.buffer({usage:\"dynamic\",type:\"uint8\",data:new Uint8Array(0)}),p=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),d=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),l=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),_=a.buffer({usage:\"static\",type:\"float\",data:n}),v(s),h=a({vert:`\n\t\tprecision highp float;\n\n\t\tattribute vec2 position, positionFract;\n\t\tattribute vec4 error;\n\t\tattribute vec4 color;\n\n\t\tattribute vec2 direction, lineOffset, capOffset;\n\n\t\tuniform vec4 viewport;\n\t\tuniform float lineWidth, capSize;\n\t\tuniform vec2 scale, scaleFract, translate, translateFract;\n\n\t\tvarying vec4 fragColor;\n\n\t\tvoid main() {\n\t\t\tfragColor = color / 255.;\n\n\t\t\tvec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;\n\n\t\t\tvec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;\n\n\t\t\tvec2 position = position + dxy;\n\n\t\t\tvec2 pos = (position + translate) * scale\n\t\t\t\t+ (positionFract + translateFract) * scale\n\t\t\t\t+ (position + translate) * scaleFract\n\t\t\t\t+ (positionFract + translateFract) * scaleFract;\n\n\t\t\tpos += pixelOffset / viewport.zw;\n\n\t\t\tgl_Position = vec4(pos * 2. - 1., 0, 1);\n\t\t}\n\t\t`,frag:`\n\t\tprecision highp float;\n\n\t\tvarying vec4 fragColor;\n\n\t\tuniform float opacity;\n\n\t\tvoid main() {\n\t\t\tgl_FragColor = fragColor;\n\t\t\tgl_FragColor.a *= opacity;\n\t\t}\n\t\t`,uniforms:{range:a.prop(\"range\"),lineWidth:a.prop(\"lineWidth\"),capSize:a.prop(\"capSize\"),opacity:a.prop(\"opacity\"),scale:a.prop(\"scale\"),translate:a.prop(\"translate\"),scaleFract:a.prop(\"scaleFract\"),translateFract:a.prop(\"translateFract\"),viewport:(y,f)=>[f.viewport.x,f.viewport.y,y.viewportWidth,y.viewportHeight]},attributes:{color:{buffer:T,offset:(y,f)=>f.offset*4,divisor:1},position:{buffer:p,offset:(y,f)=>f.offset*8,divisor:1},positionFract:{buffer:d,offset:(y,f)=>f.offset*8,divisor:1},error:{buffer:l,offset:(y,f)=>f.offset*16,divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:\"triangles\",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\"add\",alpha:\"add\"},func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},depth:{enable:!1},scissor:{enable:!0,box:a.prop(\"viewport\")},viewport:a.prop(\"viewport\"),stencil:!1,instances:a.prop(\"count\"),count:n.length}),e(E,{update:v,draw:m,destroy:u,regl:a,gl:c,canvas:c.canvas,groups:M}),E;function E(y){y?v(y):y===null&&u(),m()}function m(y){if(typeof y==\"number\")return b(y);y&&!Array.isArray(y)&&(y=[y]),a._refresh(),M.forEach((f,P)=>{if(f){if(y&&(y[P]?f.draw=!0:f.draw=!1),!f.draw){f.draw=!0;return}b(P)}})}function b(y){typeof y==\"number\"&&(y=M[y]),y!=null&&y&&y.count&&y.color&&y.opacity&&y.positions&&y.positions.length>1&&(y.scaleRatio=[y.scale[0]*y.viewport.width,y.scale[1]*y.viewport.height],h(y),y.after&&y.after(y))}function v(y){if(!y)return;y.length!=null?typeof y[0]==\"number\"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);let f=0,P=0;if(E.groups=M=y.map((F,B)=>{let O=M[B];if(F)typeof F==\"function\"?F={after:F}:typeof F[0]==\"number\"&&(F={positions:F});else return O;return F=S(F,{color:\"color colors fill\",capSize:\"capSize cap capsize cap-size\",lineWidth:\"lineWidth line-width width line thickness\",opacity:\"opacity alpha\",range:\"range dataBox\",viewport:\"viewport viewBox\",errors:\"errors error\",positions:\"positions position data points\"}),O||(M[B]=O={id:B,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},F=e({},w,F)),A(O,F,[{lineWidth:I=>+I*.5,capSize:I=>+I*.5,opacity:parseFloat,errors:I=>(I=t(I),P+=I.length,I),positions:(I,N)=>(I=t(I,\"float64\"),N.count=Math.floor(I.length/2),N.bounds=g(I,2),N.offset=f,f+=N.count,I)},{color:(I,N)=>{let U=N.count;if(I||(I=\"transparent\"),!Array.isArray(I)||typeof I[0]==\"number\"){let Q=I;I=Array(U);for(let le=0;le{let W=N.bounds;return I||(I=W),N.scale=[1/(I[2]-I[0]),1/(I[3]-I[1])],N.translate=[-I[0],-I[1]],N.scaleFract=o(N.scale),N.translateFract=o(N.translate),I},viewport:I=>{let N;return Array.isArray(I)?N={x:I[0],y:I[1],width:I[2]-I[0],height:I[3]-I[1]}:I?(N={x:I.x||I.left||0,y:I.y||I.top||0},I.right?N.width=I.right-N.x:N.width=I.w||I.width||0,I.bottom?N.height=I.bottom-N.y:N.height=I.h||I.height||0):N={x:0,y:0,width:c.drawingBufferWidth,height:c.drawingBufferHeight},N}}]),O}),f||P){let F=M.reduce((N,U,W)=>N+(U?U.count:0),0),B=new Float64Array(F*2),O=new Uint8Array(F*4),I=new Float32Array(F*4);M.forEach((N,U)=>{if(!N)return;let{positions:W,count:Q,offset:le,color:se,errors:fe}=N;Q&&(O.set(se,le*4),I.set(fe,le*4),B.set(W,le*2))});var L=r(B);p(L);var z=o(B,L);d(z),T(O),l(I)}}function u(){p.destroy(),d.destroy(),T.destroy(),l.destroy(),_.destroy()}}}}),NR=ke({\"node_modules/unquote/index.js\"(Z,H){var g=/[\\'\\\"]/;H.exports=function(A){return A?(g.test(A.charAt(0))&&(A=A.substr(1)),g.test(A.charAt(A.length-1))&&(A=A.substr(0,A.length-1)),A):\"\"}}}),NA=ke({\"node_modules/css-global-keywords/index.json\"(){}}),UA=ke({\"node_modules/css-system-font-keywords/index.json\"(){}}),jA=ke({\"node_modules/css-font-weight-keywords/index.json\"(){}}),VA=ke({\"node_modules/css-font-style-keywords/index.json\"(){}}),qA=ke({\"node_modules/css-font-stretch-keywords/index.json\"(){}}),UR=ke({\"node_modules/parenthesis/index.js\"(Z,H){\"use strict\";function g(S,e){if(typeof S!=\"string\")return[S];var t=[S];typeof e==\"string\"||Array.isArray(e)?e={brackets:e}:e||(e={});var r=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:[\"{}\",\"[]\",\"()\"],o=e.escape||\"___\",n=!!e.flat;r.forEach(function(s){var c=new RegExp([\"\\\\\",s[0],\"[^\\\\\",s[0],\"\\\\\",s[1],\"]*\\\\\",s[1]].join(\"\")),h=[];function p(d,T,l){var _=t.push(d.slice(s[0].length,-s[1].length))-1;return h.push(_),o+_+o}t.forEach(function(d,T){for(var l,_=0;d!=l;)if(l=d,d=d.replace(c,p),_++>1e4)throw Error(\"References have circular dependency. Please, check them.\");t[T]=d}),h=h.reverse(),t=t.map(function(d){return h.forEach(function(T){d=d.replace(new RegExp(\"(\\\\\"+o+T+\"\\\\\"+o+\")\",\"g\"),s[0]+\"$1\"+s[1])}),d})});var i=new RegExp(\"\\\\\"+o+\"([0-9]+)\\\\\"+o);function a(s,c,h){for(var p=[],d,T=0;d=i.exec(s);){if(T++>1e4)throw Error(\"Circular references in parenthesis\");p.push(s.slice(0,d.index)),p.push(a(c[d[1]],c)),s=s.slice(d.index+d[0].length)}return p.push(s),p}return n?t:a(t[0],t)}function x(S,e){if(e&&e.flat){var t=e&&e.escape||\"___\",r=S[0],o;if(!r)return\"\";for(var n=new RegExp(\"\\\\\"+t+\"([0-9]+)\\\\\"+t),i=0;r!=o;){if(i++>1e4)throw Error(\"Circular references in \"+S);o=r,r=r.replace(n,a)}return r}return S.reduce(function s(c,h){return Array.isArray(h)&&(h=h.reduce(s,\"\")),c+h},\"\");function a(s,c){if(S[c]==null)throw Error(\"Reference \"+c+\"is undefined\");return S[c]}}function A(S,e){return Array.isArray(S)?x(S,e):g(S,e)}A.parse=g,A.stringify=x,H.exports=A}}),jR=ke({\"node_modules/string-split-by/index.js\"(Z,H){\"use strict\";var g=UR();H.exports=function(A,S,e){if(A==null)throw Error(\"First argument should be a string\");if(S==null)throw Error(\"Separator should be a string or a RegExp\");e?(typeof e==\"string\"||Array.isArray(e))&&(e={ignore:e}):e={},e.escape==null&&(e.escape=!0),e.ignore==null?e.ignore=[\"[]\",\"()\",\"{}\",\"<>\",'\"\"',\"''\",\"``\",\"\\u201C\\u201D\",\"\\xAB\\xBB\"]:(typeof e.ignore==\"string\"&&(e.ignore=[e.ignore]),e.ignore=e.ignore.map(function(c){return c.length===1&&(c=c+c),c}));var t=g.parse(A,{flat:!0,brackets:e.ignore}),r=t[0],o=r.split(S);if(e.escape){for(var n=[],i=0;i1&&cn===Ln&&(cn==='\"'||cn===\"'\"))return['\"'+r(tr.substr(1,tr.length-2))+'\"'];var xi=/\\[(false|true|null|\\d+|'[^']*'|\"[^\"]*\")\\]/.exec(tr);if(xi)return o(tr.substr(0,xi.index)).concat(o(xi[1])).concat(o(tr.substr(xi.index+xi[0].length)));var Ni=tr.split(\".\");if(Ni.length===1)return['\"'+r(tr)+'\"'];for(var Fi=[],Oi=0;Oi\"u\"?1:window.devicePixelRatio,ha=!1,Xo={},Aa=function(wi){},Ma=function(){};if(typeof cn==\"string\"?Ln=document.querySelector(cn):typeof cn==\"object\"&&(_(cn)?Ln=cn:w(cn)?(Fi=cn,Ni=Fi.canvas):(\"gl\"in cn?Fi=cn.gl:\"canvas\"in cn?Ni=E(cn.canvas):\"container\"in cn&&(xi=E(cn.container)),\"attributes\"in cn&&(Oi=cn.attributes),\"extensions\"in cn&&(na=M(cn.extensions)),\"optionalExtensions\"in cn&&(Ca=M(cn.optionalExtensions)),\"onDone\"in cn&&(Aa=cn.onDone),\"profile\"in cn&&(ha=!!cn.profile),\"pixelRatio\"in cn&&(ka=+cn.pixelRatio),\"cachedCode\"in cn&&(Xo=cn.cachedCode))),Ln&&(Ln.nodeName.toLowerCase()===\"canvas\"?Ni=Ln:xi=Ln),!Fi){if(!Ni){var ia=T(xi||document.body,Aa,ka);if(!ia)return null;Ni=ia.canvas,Ma=ia.onDestroy}Oi.premultipliedAlpha===void 0&&(Oi.premultipliedAlpha=!0),Fi=l(Ni,Oi)}return Fi?{gl:Fi,canvas:Ni,container:xi,extensions:na,optionalExtensions:Ca,pixelRatio:ka,profile:ha,cachedCode:Xo,onDone:Aa,onDestroy:Ma}:(Ma(),Aa(\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\"),null)}function b(tr,cn){var Ln={};function xi(Oi){var na=Oi.toLowerCase(),Ca;try{Ca=Ln[na]=tr.getExtension(na)}catch{}return!!Ca}for(var Ni=0;Ni65535)<<4,tr>>>=cn,Ln=(tr>255)<<3,tr>>>=Ln,cn|=Ln,Ln=(tr>15)<<2,tr>>>=Ln,cn|=Ln,Ln=(tr>3)<<1,tr>>>=Ln,cn|=Ln,cn|tr>>1}function I(){var tr=v(8,function(){return[]});function cn(Fi){var Oi=B(Fi),na=tr[O(Oi)>>2];return na.length>0?na.pop():new ArrayBuffer(Oi)}function Ln(Fi){tr[O(Fi.byteLength)>>2].push(Fi)}function xi(Fi,Oi){var na=null;switch(Fi){case u:na=new Int8Array(cn(Oi),0,Oi);break;case y:na=new Uint8Array(cn(Oi),0,Oi);break;case f:na=new Int16Array(cn(2*Oi),0,Oi);break;case P:na=new Uint16Array(cn(2*Oi),0,Oi);break;case L:na=new Int32Array(cn(4*Oi),0,Oi);break;case z:na=new Uint32Array(cn(4*Oi),0,Oi);break;case F:na=new Float32Array(cn(4*Oi),0,Oi);break;default:return null}return na.length!==Oi?na.subarray(0,Oi):na}function Ni(Fi){Ln(Fi.buffer)}return{alloc:cn,free:Ln,allocType:xi,freeType:Ni}}var N=I();N.zero=I();var U=3408,W=3410,Q=3411,le=3412,se=3413,fe=3414,G=3415,$=33901,J=33902,X=3379,re=3386,ae=34921,j=36347,ee=36348,ie=35661,ce=35660,xe=34930,Te=36349,Ue=34076,Ie=34024,Ye=7936,it=7937,at=7938,tt=35724,ut=34047,Me=36063,pe=34852,ue=3553,Oe=34067,rt=34069,ot=33984,et=6408,Lt=5126,Et=5121,Bt=36160,qt=36053,fr=36064,ar=16384,Rr=function(tr,cn){var Ln=1;cn.ext_texture_filter_anisotropic&&(Ln=tr.getParameter(ut));var xi=1,Ni=1;cn.webgl_draw_buffers&&(xi=tr.getParameter(pe),Ni=tr.getParameter(Me));var Fi=!!cn.oes_texture_float;if(Fi){var Oi=tr.createTexture();tr.bindTexture(ue,Oi),tr.texImage2D(ue,0,et,1,1,0,et,Lt,null);var na=tr.createFramebuffer();if(tr.bindFramebuffer(Bt,na),tr.framebufferTexture2D(Bt,fr,ue,Oi,0),tr.bindTexture(ue,null),tr.checkFramebufferStatus(Bt)!==qt)Fi=!1;else{tr.viewport(0,0,1,1),tr.clearColor(1,0,0,1),tr.clear(ar);var Ca=N.allocType(Lt,4);tr.readPixels(0,0,1,1,et,Lt,Ca),tr.getError()?Fi=!1:(tr.deleteFramebuffer(na),tr.deleteTexture(Oi),Fi=Ca[0]===1),N.freeType(Ca)}}var ka=typeof navigator<\"u\"&&(/MSIE/.test(navigator.userAgent)||/Trident\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ha=!0;if(!ka){var Xo=tr.createTexture(),Aa=N.allocType(Et,36);tr.activeTexture(ot),tr.bindTexture(Oe,Xo),tr.texImage2D(rt,0,et,3,3,0,et,Et,Aa),N.freeType(Aa),tr.bindTexture(Oe,null),tr.deleteTexture(Xo),ha=!tr.getError()}return{colorBits:[tr.getParameter(W),tr.getParameter(Q),tr.getParameter(le),tr.getParameter(se)],depthBits:tr.getParameter(fe),stencilBits:tr.getParameter(G),subpixelBits:tr.getParameter(U),extensions:Object.keys(cn).filter(function(Ma){return!!cn[Ma]}),maxAnisotropic:Ln,maxDrawbuffers:xi,maxColorAttachments:Ni,pointSizeDims:tr.getParameter($),lineWidthDims:tr.getParameter(J),maxViewportDims:tr.getParameter(re),maxCombinedTextureUnits:tr.getParameter(ie),maxCubeMapSize:tr.getParameter(Ue),maxRenderbufferSize:tr.getParameter(Ie),maxTextureUnits:tr.getParameter(xe),maxTextureSize:tr.getParameter(X),maxAttributes:tr.getParameter(ae),maxVertexUniforms:tr.getParameter(j),maxVertexTextureUnits:tr.getParameter(ce),maxVaryingVectors:tr.getParameter(ee),maxFragmentUniforms:tr.getParameter(Te),glsl:tr.getParameter(tt),renderer:tr.getParameter(it),vendor:tr.getParameter(Ye),version:tr.getParameter(at),readFloat:Fi,npotTextureCube:ha}},gr=function(tr){return tr instanceof Uint8Array||tr instanceof Uint16Array||tr instanceof Uint32Array||tr instanceof Int8Array||tr instanceof Int16Array||tr instanceof Int32Array||tr instanceof Float32Array||tr instanceof Float64Array||tr instanceof Uint8ClampedArray};function br(tr){return!!tr&&typeof tr==\"object\"&&Array.isArray(tr.shape)&&Array.isArray(tr.stride)&&typeof tr.offset==\"number\"&&tr.shape.length===tr.stride.length&&(Array.isArray(tr.data)||gr(tr.data))}var _t=function(tr){return Object.keys(tr).map(function(cn){return tr[cn]})},Be={shape:we,flatten:Ee};function Ke(tr,cn,Ln){for(var xi=0;xi0){var Oo;if(Array.isArray(qi[0])){Ba=zn(qi);for(var va=1,sa=1;sa0){if(typeof va[0]==\"number\"){var Fa=N.allocType(ca.dtype,va.length);wr(Fa,va),Ba(Fa,fo),N.freeType(Fa)}else if(Array.isArray(va[0])||gr(va[0])){Ja=zn(va);var Ia=ni(va,Ja,ca.dtype);Ba(Ia,fo),N.freeType(Ia)}}}else if(br(va)){Ja=va.shape;var ao=va.stride,Zo=0,ps=0,Na=0,Mo=0;Ja.length===1?(Zo=Ja[0],ps=1,Na=ao[0],Mo=0):Ja.length===2&&(Zo=Ja[0],ps=Ja[1],Na=ao[0],Mo=ao[1]);var ss=Array.isArray(va.data)?ca.dtype:Vt(va.data),_s=N.allocType(ss,Zo*ps);$r(_s,va.data,Zo,ps,Na,Mo,va.offset),Ba(_s,fo),N.freeType(_s)}return $a}return ba||$a(wi),$a._reglType=\"buffer\",$a._buffer=ca,$a.subdata=Oo,Ln.profile&&($a.stats=ca.stats),$a.destroy=function(){Aa(ca)},$a}function ia(){_t(Fi).forEach(function(wi){wi.buffer=tr.createBuffer(),tr.bindBuffer(wi.type,wi.buffer),tr.bufferData(wi.type,wi.persistentData||wi.byteLength,wi.usage)})}return Ln.profile&&(cn.getTotalBufferSize=function(){var wi=0;return Object.keys(Fi).forEach(function(qi){wi+=Fi[qi].stats.size}),wi}),{create:Ma,createStream:Ca,destroyStream:ka,clear:function(){_t(Fi).forEach(Aa),na.forEach(Aa)},getBuffer:function(wi){return wi&&wi._buffer instanceof Oi?wi._buffer:null},restore:ia,_initBuffer:Xo}}var en=0,Fn=0,Wn=1,ri=1,Sn=4,ui=4,gt={points:en,point:Fn,lines:Wn,line:ri,triangles:Sn,triangle:ui,\"line loop\":2,\"line strip\":3,\"triangle strip\":5,\"triangle fan\":6},yt=0,Pr=1,Ir=4,Tr=5120,Mr=5121,Lr=5122,Ur=5123,Dr=5124,nn=5125,vn=34963,gn=35040,kt=35044;function or(tr,cn,Ln,xi){var Ni={},Fi=0,Oi={uint8:Mr,uint16:Ur};cn.oes_element_index_uint&&(Oi.uint32=nn);function na(ia){this.id=Fi++,Ni[this.id]=this,this.buffer=ia,this.primType=Ir,this.vertCount=0,this.type=0}na.prototype.bind=function(){this.buffer.bind()};var Ca=[];function ka(ia){var wi=Ca.pop();return wi||(wi=new na(Ln.create(null,vn,!0,!1)._buffer)),Xo(wi,ia,gn,-1,-1,0,0),wi}function ha(ia){Ca.push(ia)}function Xo(ia,wi,qi,ba,Pa,ca,$a){ia.buffer.bind();var Ba;if(wi){var Oo=$a;!$a&&(!gr(wi)||br(wi)&&!gr(wi.data))&&(Oo=cn.oes_element_index_uint?nn:Ur),Ln._initBuffer(ia.buffer,wi,qi,Oo,3)}else tr.bufferData(vn,ca,qi),ia.buffer.dtype=Ba||Mr,ia.buffer.usage=qi,ia.buffer.dimension=3,ia.buffer.byteLength=ca;if(Ba=$a,!$a){switch(ia.buffer.dtype){case Mr:case Tr:Ba=Mr;break;case Ur:case Lr:Ba=Ur;break;case nn:case Dr:Ba=nn;break;default:}ia.buffer.dtype=Ba}ia.type=Ba;var va=Pa;va<0&&(va=ia.buffer.byteLength,Ba===Ur?va>>=1:Ba===nn&&(va>>=2)),ia.vertCount=va;var sa=ba;if(ba<0){sa=Ir;var fo=ia.buffer.dimension;fo===1&&(sa=yt),fo===2&&(sa=Pr),fo===3&&(sa=Ir)}ia.primType=sa}function Aa(ia){xi.elementsCount--,delete Ni[ia.id],ia.buffer.destroy(),ia.buffer=null}function Ma(ia,wi){var qi=Ln.create(null,vn,!0),ba=new na(qi._buffer);xi.elementsCount++;function Pa(ca){if(!ca)qi(),ba.primType=Ir,ba.vertCount=0,ba.type=Mr;else if(typeof ca==\"number\")qi(ca),ba.primType=Ir,ba.vertCount=ca|0,ba.type=Mr;else{var $a=null,Ba=kt,Oo=-1,va=-1,sa=0,fo=0;Array.isArray(ca)||gr(ca)||br(ca)?$a=ca:(\"data\"in ca&&($a=ca.data),\"usage\"in ca&&(Ba=On[ca.usage]),\"primitive\"in ca&&(Oo=gt[ca.primitive]),\"count\"in ca&&(va=ca.count|0),\"type\"in ca&&(fo=Oi[ca.type]),\"length\"in ca?sa=ca.length|0:(sa=va,fo===Ur||fo===Lr?sa*=2:(fo===nn||fo===Dr)&&(sa*=4))),Xo(ba,$a,Ba,Oo,va,sa,fo)}return Pa}return Pa(ia),Pa._reglType=\"elements\",Pa._elements=ba,Pa.subdata=function(ca,$a){return qi.subdata(ca,$a),Pa},Pa.destroy=function(){Aa(ba)},Pa}return{create:Ma,createStream:ka,destroyStream:ha,getElements:function(ia){return typeof ia==\"function\"&&ia._elements instanceof na?ia._elements:null},clear:function(){_t(Ni).forEach(Aa)}}}var yr=new Float32Array(1),on=new Uint32Array(yr.buffer),An=5123;function Zn(tr){for(var cn=N.allocType(An,tr.length),Ln=0;Ln>>31<<15,Fi=(xi<<1>>>24)-127,Oi=xi>>13&1023;if(Fi<-24)cn[Ln]=Ni;else if(Fi<-14){var na=-14-Fi;cn[Ln]=Ni+(Oi+1024>>na)}else Fi>15?cn[Ln]=Ni+31744:cn[Ln]=Ni+(Fi+15<<10)+Oi}return cn}function Bn(tr){return Array.isArray(tr)||gr(tr)}var wn=34467,Dn=3553,Ui=34067,pi=34069,Ta=6408,Sa=6406,qa=6407,to=6409,yo=6410,Xa=32854,Go=32855,pa=36194,cs=32819,Ko=32820,gs=33635,Ya=34042,zo=6402,Ka=34041,Yo=35904,ns=35906,hs=36193,ho=33776,Ro=33777,Ls=33778,Vs=33779,Ws=35986,fs=35987,Mi=34798,Da=35840,pl=35841,Xs=35842,Eo=35843,Ys=36196,As=5121,hl=5123,wl=5125,la=5126,Uo=10242,vo=10243,Ps=10497,ls=33071,no=33648,$l=10240,Ku=10241,Tl=9728,Vu=9729,Rl=9984,Qs=9985,nu=9986,qu=9987,kc=33170,Ju=4352,sh=4353,uf=4354,qs=34046,Hc=3317,bf=37440,Ql=37441,Al=37443,oc=37444,gc=33984,nl=[Rl,nu,Qs,qu],Ml=[0,to,yo,qa,Ta],Zs={};Zs[to]=Zs[Sa]=Zs[zo]=1,Zs[Ka]=Zs[yo]=2,Zs[qa]=Zs[Yo]=3,Zs[Ta]=Zs[ns]=4;function sl(tr){return\"[object \"+tr+\"]\"}var sc=sl(\"HTMLCanvasElement\"),jl=sl(\"OffscreenCanvas\"),$u=sl(\"CanvasRenderingContext2D\"),ll=sl(\"ImageBitmap\"),Nh=sl(\"HTMLImageElement\"),ds=sl(\"HTMLVideoElement\"),Sh=Object.keys(Le).concat([sc,jl,$u,ll,Nh,ds]),Bs=[];Bs[As]=1,Bs[la]=4,Bs[hs]=2,Bs[hl]=2,Bs[wl]=4;var Vo=[];Vo[Xa]=2,Vo[Go]=2,Vo[pa]=2,Vo[Ka]=4,Vo[ho]=.5,Vo[Ro]=.5,Vo[Ls]=1,Vo[Vs]=1,Vo[Ws]=.5,Vo[fs]=1,Vo[Mi]=1,Vo[Da]=.5,Vo[pl]=.25,Vo[Xs]=.5,Vo[Eo]=.25,Vo[Ys]=.5;function rf(tr){return Array.isArray(tr)&&(tr.length===0||typeof tr[0]==\"number\")}function Qu(tr){if(!Array.isArray(tr))return!1;var cn=tr.length;return!(cn===0||!Bn(tr[0]))}function pu(tr){return Object.prototype.toString.call(tr)}function Df(tr){return pu(tr)===sc}function Lc(tr){return pu(tr)===jl}function nf(tr){return pu(tr)===$u}function Vl(tr){return pu(tr)===ll}function Jf(tr){return pu(tr)===Nh}function zf(tr){return pu(tr)===ds}function wf(tr){if(!tr)return!1;var cn=pu(tr);return Sh.indexOf(cn)>=0?!0:rf(tr)||Qu(tr)||br(tr)}function Gc(tr){return Le[Object.prototype.toString.call(tr)]|0}function Ff(tr,cn){var Ln=cn.length;switch(tr.type){case As:case hl:case wl:case la:var xi=N.allocType(tr.type,Ln);xi.set(cn),tr.data=xi;break;case hs:tr.data=Zn(cn);break;default:}}function $f(tr,cn){return N.allocType(tr.type===hs?la:tr.type,cn)}function ec(tr,cn){tr.type===hs?(tr.data=Zn(cn),N.freeType(cn)):tr.data=cn}function Tf(tr,cn,Ln,xi,Ni,Fi){for(var Oi=tr.width,na=tr.height,Ca=tr.channels,ka=Oi*na*Ca,ha=$f(tr,ka),Xo=0,Aa=0;Aa=1;)na+=Oi*Ca*Ca,Ca/=2;return na}else return Oi*Ln*xi}function Wc(tr,cn,Ln,xi,Ni,Fi,Oi){var na={\"don't care\":Ju,\"dont care\":Ju,nice:uf,fast:sh},Ca={repeat:Ps,clamp:ls,mirror:no},ka={nearest:Tl,linear:Vu},ha=g({mipmap:qu,\"nearest mipmap nearest\":Rl,\"linear mipmap nearest\":Qs,\"nearest mipmap linear\":nu,\"linear mipmap linear\":qu},ka),Xo={none:0,browser:oc},Aa={uint8:As,rgba4:cs,rgb565:gs,\"rgb5 a1\":Ko},Ma={alpha:Sa,luminance:to,\"luminance alpha\":yo,rgb:qa,rgba:Ta,rgba4:Xa,\"rgb5 a1\":Go,rgb565:pa},ia={};cn.ext_srgb&&(Ma.srgb=Yo,Ma.srgba=ns),cn.oes_texture_float&&(Aa.float32=Aa.float=la),cn.oes_texture_half_float&&(Aa.float16=Aa[\"half float\"]=hs),cn.webgl_depth_texture&&(g(Ma,{depth:zo,\"depth stencil\":Ka}),g(Aa,{uint16:hl,uint32:wl,\"depth stencil\":Ya})),cn.webgl_compressed_texture_s3tc&&g(ia,{\"rgb s3tc dxt1\":ho,\"rgba s3tc dxt1\":Ro,\"rgba s3tc dxt3\":Ls,\"rgba s3tc dxt5\":Vs}),cn.webgl_compressed_texture_atc&&g(ia,{\"rgb atc\":Ws,\"rgba atc explicit alpha\":fs,\"rgba atc interpolated alpha\":Mi}),cn.webgl_compressed_texture_pvrtc&&g(ia,{\"rgb pvrtc 4bppv1\":Da,\"rgb pvrtc 2bppv1\":pl,\"rgba pvrtc 4bppv1\":Xs,\"rgba pvrtc 2bppv1\":Eo}),cn.webgl_compressed_texture_etc1&&(ia[\"rgb etc1\"]=Ys);var wi=Array.prototype.slice.call(tr.getParameter(wn));Object.keys(ia).forEach(function(We){var lt=ia[We];wi.indexOf(lt)>=0&&(Ma[We]=lt)});var qi=Object.keys(Ma);Ln.textureFormats=qi;var ba=[];Object.keys(Ma).forEach(function(We){var lt=Ma[We];ba[lt]=We});var Pa=[];Object.keys(Aa).forEach(function(We){var lt=Aa[We];Pa[lt]=We});var ca=[];Object.keys(ka).forEach(function(We){var lt=ka[We];ca[lt]=We});var $a=[];Object.keys(ha).forEach(function(We){var lt=ha[We];$a[lt]=We});var Ba=[];Object.keys(Ca).forEach(function(We){var lt=Ca[We];Ba[lt]=We});var Oo=qi.reduce(function(We,lt){var Ct=Ma[lt];return Ct===to||Ct===Sa||Ct===to||Ct===yo||Ct===zo||Ct===Ka||cn.ext_srgb&&(Ct===Yo||Ct===ns)?We[Ct]=Ct:Ct===Go||lt.indexOf(\"rgba\")>=0?We[Ct]=Ta:We[Ct]=qa,We},{});function va(){this.internalformat=Ta,this.format=Ta,this.type=As,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=oc,this.width=0,this.height=0,this.channels=0}function sa(We,lt){We.internalformat=lt.internalformat,We.format=lt.format,We.type=lt.type,We.compressed=lt.compressed,We.premultiplyAlpha=lt.premultiplyAlpha,We.flipY=lt.flipY,We.unpackAlignment=lt.unpackAlignment,We.colorSpace=lt.colorSpace,We.width=lt.width,We.height=lt.height,We.channels=lt.channels}function fo(We,lt){if(!(typeof lt!=\"object\"||!lt)){if(\"premultiplyAlpha\"in lt&&(We.premultiplyAlpha=lt.premultiplyAlpha),\"flipY\"in lt&&(We.flipY=lt.flipY),\"alignment\"in lt&&(We.unpackAlignment=lt.alignment),\"colorSpace\"in lt&&(We.colorSpace=Xo[lt.colorSpace]),\"type\"in lt){var Ct=lt.type;We.type=Aa[Ct]}var Wt=We.width,xr=We.height,Fr=We.channels,Ar=!1;\"shape\"in lt?(Wt=lt.shape[0],xr=lt.shape[1],lt.shape.length===3&&(Fr=lt.shape[2],Ar=!0)):(\"radius\"in lt&&(Wt=xr=lt.radius),\"width\"in lt&&(Wt=lt.width),\"height\"in lt&&(xr=lt.height),\"channels\"in lt&&(Fr=lt.channels,Ar=!0)),We.width=Wt|0,We.height=xr|0,We.channels=Fr|0;var Gt=!1;if(\"format\"in lt){var nr=lt.format,mr=We.internalformat=Ma[nr];We.format=Oo[mr],nr in Aa&&(\"type\"in lt||(We.type=Aa[nr])),nr in ia&&(We.compressed=!0),Gt=!0}!Ar&&Gt?We.channels=Zs[We.format]:Ar&&!Gt&&We.channels!==Ml[We.format]&&(We.format=We.internalformat=Ml[We.channels])}}function Ja(We){tr.pixelStorei(bf,We.flipY),tr.pixelStorei(Ql,We.premultiplyAlpha),tr.pixelStorei(Al,We.colorSpace),tr.pixelStorei(Hc,We.unpackAlignment)}function Fa(){va.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Ia(We,lt){var Ct=null;if(wf(lt)?Ct=lt:lt&&(fo(We,lt),\"x\"in lt&&(We.xOffset=lt.x|0),\"y\"in lt&&(We.yOffset=lt.y|0),wf(lt.data)&&(Ct=lt.data)),lt.copy){var Wt=Ni.viewportWidth,xr=Ni.viewportHeight;We.width=We.width||Wt-We.xOffset,We.height=We.height||xr-We.yOffset,We.needsCopy=!0}else if(!Ct)We.width=We.width||1,We.height=We.height||1,We.channels=We.channels||4;else if(gr(Ct))We.channels=We.channels||4,We.data=Ct,!(\"type\"in lt)&&We.type===As&&(We.type=Gc(Ct));else if(rf(Ct))We.channels=We.channels||4,Ff(We,Ct),We.alignment=1,We.needsFree=!0;else if(br(Ct)){var Fr=Ct.data;!Array.isArray(Fr)&&We.type===As&&(We.type=Gc(Fr));var Ar=Ct.shape,Gt=Ct.stride,nr,mr,zr,Gr,Xr,fn;Ar.length===3?(zr=Ar[2],fn=Gt[2]):(zr=1,fn=1),nr=Ar[0],mr=Ar[1],Gr=Gt[0],Xr=Gt[1],We.alignment=1,We.width=nr,We.height=mr,We.channels=zr,We.format=We.internalformat=Ml[zr],We.needsFree=!0,Tf(We,Fr,Gr,Xr,fn,Ct.offset)}else if(Df(Ct)||Lc(Ct)||nf(Ct))Df(Ct)||Lc(Ct)?We.element=Ct:We.element=Ct.canvas,We.width=We.element.width,We.height=We.element.height,We.channels=4;else if(Vl(Ct))We.element=Ct,We.width=Ct.width,We.height=Ct.height,We.channels=4;else if(Jf(Ct))We.element=Ct,We.width=Ct.naturalWidth,We.height=Ct.naturalHeight,We.channels=4;else if(zf(Ct))We.element=Ct,We.width=Ct.videoWidth,We.height=Ct.videoHeight,We.channels=4;else if(Qu(Ct)){var sn=We.width||Ct[0].length,Zr=We.height||Ct.length,hn=We.channels;Bn(Ct[0][0])?hn=hn||Ct[0][0].length:hn=hn||1;for(var qr=Be.shape(Ct),kn=1,Xn=0;Xn>=xr,Ct.height>>=xr,Ia(Ct,Wt[xr]),We.mipmask|=1<=0&&!(\"faces\"in lt)&&(We.genMipmaps=!0)}if(\"mag\"in lt){var Wt=lt.mag;We.magFilter=ka[Wt]}var xr=We.wrapS,Fr=We.wrapT;if(\"wrap\"in lt){var Ar=lt.wrap;typeof Ar==\"string\"?xr=Fr=Ca[Ar]:Array.isArray(Ar)&&(xr=Ca[Ar[0]],Fr=Ca[Ar[1]])}else{if(\"wrapS\"in lt){var Gt=lt.wrapS;xr=Ca[Gt]}if(\"wrapT\"in lt){var nr=lt.wrapT;Fr=Ca[nr]}}if(We.wrapS=xr,We.wrapT=Fr,\"anisotropic\"in lt){var mr=lt.anisotropic;We.anisotropic=lt.anisotropic}if(\"mipmap\"in lt){var zr=!1;switch(typeof lt.mipmap){case\"string\":We.mipmapHint=na[lt.mipmap],We.genMipmaps=!0,zr=!0;break;case\"boolean\":zr=We.genMipmaps=lt.mipmap;break;case\"object\":We.genMipmaps=!1,zr=!0;break;default:}zr&&!(\"min\"in lt)&&(We.minFilter=Rl)}}function mc(We,lt){tr.texParameteri(lt,Ku,We.minFilter),tr.texParameteri(lt,$l,We.magFilter),tr.texParameteri(lt,Uo,We.wrapS),tr.texParameteri(lt,vo,We.wrapT),cn.ext_texture_filter_anisotropic&&tr.texParameteri(lt,qs,We.anisotropic),We.genMipmaps&&(tr.hint(kc,We.mipmapHint),tr.generateMipmap(lt))}var Jc=0,tu={},Ac=Ln.maxTextureUnits,Nc=Array(Ac).map(function(){return null});function Hs(We){va.call(this),this.mipmask=0,this.internalformat=Ta,this.id=Jc++,this.refCount=1,this.target=We,this.texture=tr.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new ql,Oi.profile&&(this.stats={size:0})}function $c(We){tr.activeTexture(gc),tr.bindTexture(We.target,We.texture)}function Us(){var We=Nc[0];We?tr.bindTexture(We.target,We.texture):tr.bindTexture(Dn,null)}function ve(We){var lt=We.texture,Ct=We.unit,Wt=We.target;Ct>=0&&(tr.activeTexture(gc+Ct),tr.bindTexture(Wt,null),Nc[Ct]=null),tr.deleteTexture(lt),We.texture=null,We.params=null,We.pixels=null,We.refCount=0,delete tu[We.id],Fi.textureCount--}g(Hs.prototype,{bind:function(){var We=this;We.bindCount+=1;var lt=We.unit;if(lt<0){for(var Ct=0;Ct0)continue;Wt.unit=-1}Nc[Ct]=We,lt=Ct;break}lt>=Ac,Oi.profile&&Fi.maxTextureUnits>Xr)-zr,fn.height=fn.height||(Ct.height>>Xr)-Gr,$c(Ct),Zo(fn,Dn,zr,Gr,Xr),Us(),Mo(fn),Wt}function Fr(Ar,Gt){var nr=Ar|0,mr=Gt|0||nr;if(nr===Ct.width&&mr===Ct.height)return Wt;Wt.width=Ct.width=nr,Wt.height=Ct.height=mr,$c(Ct);for(var zr=0;Ct.mipmask>>zr;++zr){var Gr=nr>>zr,Xr=mr>>zr;if(!Gr||!Xr)break;tr.texImage2D(Dn,zr,Ct.format,Gr,Xr,0,Ct.format,Ct.type,null)}return Us(),Oi.profile&&(Ct.stats.size=Pc(Ct.internalformat,Ct.type,nr,mr,!1,!1)),Wt}return Wt(We,lt),Wt.subimage=xr,Wt.resize=Fr,Wt._reglType=\"texture2d\",Wt._texture=Ct,Oi.profile&&(Wt.stats=Ct.stats),Wt.destroy=function(){Ct.decRef()},Wt}function me(We,lt,Ct,Wt,xr,Fr){var Ar=new Hs(Ui);tu[Ar.id]=Ar,Fi.cubeCount++;var Gt=new Array(6);function nr(Gr,Xr,fn,sn,Zr,hn){var qr,kn=Ar.texInfo;for(ql.call(kn),qr=0;qr<6;++qr)Gt[qr]=rl();if(typeof Gr==\"number\"||!Gr){var Xn=Gr|0||1;for(qr=0;qr<6;++qr)_s(Gt[qr],Xn,Xn)}else if(typeof Gr==\"object\")if(Xr)Fs(Gt[0],Gr),Fs(Gt[1],Xr),Fs(Gt[2],fn),Fs(Gt[3],sn),Fs(Gt[4],Zr),Fs(Gt[5],hn);else if(pc(kn,Gr),fo(Ar,Gr),\"faces\"in Gr){var vi=Gr.faces;for(qr=0;qr<6;++qr)sa(Gt[qr],Ar),Fs(Gt[qr],vi[qr])}else for(qr=0;qr<6;++qr)Fs(Gt[qr],Gr);for(sa(Ar,Gt[0]),kn.genMipmaps?Ar.mipmask=(Gt[0].width<<1)-1:Ar.mipmask=Gt[0].mipmask,Ar.internalformat=Gt[0].internalformat,nr.width=Gt[0].width,nr.height=Gt[0].height,$c(Ar),qr=0;qr<6;++qr)iu(Gt[qr],pi+qr);for(mc(kn,Ui),Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,kn.genMipmaps,!0)),nr.format=ba[Ar.internalformat],nr.type=Pa[Ar.type],nr.mag=ca[kn.magFilter],nr.min=$a[kn.minFilter],nr.wrapS=Ba[kn.wrapS],nr.wrapT=Ba[kn.wrapT],qr=0;qr<6;++qr)Bc(Gt[qr]);return nr}function mr(Gr,Xr,fn,sn,Zr){var hn=fn|0,qr=sn|0,kn=Zr|0,Xn=Na();return sa(Xn,Ar),Xn.width=0,Xn.height=0,Ia(Xn,Xr),Xn.width=Xn.width||(Ar.width>>kn)-hn,Xn.height=Xn.height||(Ar.height>>kn)-qr,$c(Ar),Zo(Xn,pi+Gr,hn,qr,kn),Us(),Mo(Xn),nr}function zr(Gr){var Xr=Gr|0;if(Xr!==Ar.width){nr.width=Ar.width=Xr,nr.height=Ar.height=Xr,$c(Ar);for(var fn=0;fn<6;++fn)for(var sn=0;Ar.mipmask>>sn;++sn)tr.texImage2D(pi+fn,sn,Ar.format,Xr>>sn,Xr>>sn,0,Ar.format,Ar.type,null);return Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,!1,!0)),nr}}return nr(We,lt,Ct,Wt,xr,Fr),nr.subimage=mr,nr.resize=zr,nr._reglType=\"textureCube\",nr._texture=Ar,Oi.profile&&(nr.stats=Ar.stats),nr.destroy=function(){Ar.decRef()},nr}function te(){for(var We=0;We>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);else for(var xr=0;xr<6;++xr)tr.texImage2D(pi+xr,Wt,Ct.internalformat,Ct.width>>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);mc(Ct.texInfo,Ct.target)})}function Ze(){for(var We=0;We=0?Bc=!0:Ca.indexOf(ql)>=0&&(Bc=!1))),(\"depthTexture\"in Hs||\"depthStencilTexture\"in Hs)&&(Nc=!!(Hs.depthTexture||Hs.depthStencilTexture)),\"depth\"in Hs&&(typeof Hs.depth==\"boolean\"?iu=Hs.depth:(Jc=Hs.depth,Oc=!1)),\"stencil\"in Hs&&(typeof Hs.stencil==\"boolean\"?Oc=Hs.stencil:(tu=Hs.stencil,iu=!1)),\"depthStencil\"in Hs&&(typeof Hs.depthStencil==\"boolean\"?iu=Oc=Hs.depthStencil:(Ac=Hs.depthStencil,iu=!1,Oc=!1))}var Us=null,ve=null,K=null,me=null;if(Array.isArray(rl))Us=rl.map(ia);else if(rl)Us=[ia(rl)];else for(Us=new Array(mc),ss=0;ss0&&(Mo.depth=Ia[0].depth,Mo.stencil=Ia[0].stencil,Mo.depthStencil=Ia[0].depthStencil),Ia[Na]?Ia[Na](Mo):Ia[Na]=sa(Mo)}return g(ao,{width:ss,height:ss,color:ql})}function Zo(ps){var Na,Mo=ps|0;if(Mo===ao.width)return ao;var ss=ao.color;for(Na=0;Na=ss.byteLength?_s.subdata(ss):(_s.destroy(),sa.buffers[ps]=null)),sa.buffers[ps]||(_s=sa.buffers[ps]=Ni.create(Na,Mf,!1,!0)),Mo.buffer=Ni.getBuffer(_s),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1,ao[ps]=1}else Ni.getBuffer(Na)?(Mo.buffer=Ni.getBuffer(Na),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1):Ni.getBuffer(Na.buffer)?(Mo.buffer=Ni.getBuffer(Na.buffer),Mo.size=(+Na.size||Mo.buffer.dimension)|0,Mo.normalized=!!Na.normalized||!1,\"type\"in Na?Mo.type=pn[Na.type]:Mo.type=Mo.buffer.dtype,Mo.offset=(Na.offset||0)|0,Mo.stride=(Na.stride||0)|0,Mo.divisor=(Na.divisor||0)|0,Mo.state=1):\"x\"in Na&&(Mo.x=+Na.x||0,Mo.y=+Na.y||0,Mo.z=+Na.z||0,Mo.w=+Na.w||0,Mo.state=2)}for(var Fs=0;Fs1)for(var Ja=0;Jawi&&(wi=qi.stats.uniformsCount)}),wi},Ln.getMaxAttributesCount=function(){var wi=0;return ha.forEach(function(qi){qi.stats.attributesCount>wi&&(wi=qi.stats.attributesCount)}),wi});function ia(){Ni={},Fi={};for(var wi=0;wi16&&(Ln=bi(Ln,tr.length*8));for(var xi=Array(16),Ni=Array(16),Fi=0;Fi<16;Fi++)xi[Fi]=Ln[Fi]^909522486,Ni[Fi]=Ln[Fi]^1549556828;var Oi=bi(xi.concat(Yc(cn)),512+cn.length*8);return Yt(bi(Ni.concat(Oi),768))}function uu(tr){for(var cn=Uf?\"0123456789ABCDEF\":\"0123456789abcdef\",Ln=\"\",xi,Ni=0;Ni>>4&15)+cn.charAt(xi&15);return Ln}function fc(tr){for(var cn=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",Ln=\"\",xi=tr.length,Ni=0;Nitr.length*8?Ln+=Wu:Ln+=cn.charAt(Fi>>>6*(3-Oi)&63);return Ln}function Dc(tr,cn){var Ln=cn.length,xi=Array(),Ni,Fi,Oi,na,Ca=Array(Math.ceil(tr.length/2));for(Ni=0;Ni0;){for(na=Array(),Oi=0,Ni=0;Ni0||Fi>0)&&(na[na.length]=Fi);xi[xi.length]=Oi,Ca=na}var ka=\"\";for(Ni=xi.length-1;Ni>=0;Ni--)ka+=cn.charAt(xi[Ni]);var ha=Math.ceil(tr.length*8/(Math.log(cn.length)/Math.log(2)));for(Ni=ka.length;Ni>>6&31,128|xi&63):xi<=65535?cn+=String.fromCharCode(224|xi>>>12&15,128|xi>>>6&63,128|xi&63):xi<=2097151&&(cn+=String.fromCharCode(240|xi>>>18&7,128|xi>>>12&63,128|xi>>>6&63,128|xi&63));return cn}function Yc(tr){for(var cn=Array(tr.length>>2),Ln=0;Ln>5]|=(tr.charCodeAt(Ln/8)&255)<<24-Ln%32;return cn}function Yt(tr){for(var cn=\"\",Ln=0;Ln>5]>>>24-Ln%32&255);return cn}function dr(tr,cn){return tr>>>cn|tr<<32-cn}function tn(tr,cn){return tr>>>cn}function Wr(tr,cn,Ln){return tr&cn^~tr&Ln}function Cn(tr,cn,Ln){return tr&cn^tr&Ln^cn&Ln}function si(tr){return dr(tr,2)^dr(tr,13)^dr(tr,22)}function yi(tr){return dr(tr,6)^dr(tr,11)^dr(tr,25)}function Di(tr){return dr(tr,7)^dr(tr,18)^tn(tr,3)}function Wi(tr){return dr(tr,17)^dr(tr,19)^tn(tr,10)}var aa=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function bi(tr,cn){var Ln=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),xi=new Array(64),Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi;for(tr[cn>>5]|=128<<24-cn%32,tr[(cn+64>>9<<4)+15]=cn,Aa=0;Aa>16)+(cn>>16)+(Ln>>16);return xi<<16|Ln&65535}function Li(tr){return Array.prototype.slice.call(tr)}function di(tr){return Li(tr).join(\"\")}function wa(tr){var cn=tr&&tr.cache,Ln=0,xi=[],Ni=[],Fi=[];function Oi(ia,wi){var qi=wi&&wi.stable;if(!qi){for(var ba=0;ba0&&(ia.push(Pa,\"=\"),ia.push.apply(ia,Li(arguments)),ia.push(\";\")),Pa}return g(wi,{def:ba,toString:function(){return di([qi.length>0?\"var \"+qi.join(\",\")+\";\":\"\",di(ia)])}})}function Ca(){var ia=na(),wi=na(),qi=ia.toString,ba=wi.toString;function Pa(ca,$a){wi(ca,$a,\"=\",ia.def(ca,$a),\";\")}return g(function(){ia.apply(ia,Li(arguments))},{def:ia.def,entry:ia,exit:wi,save:Pa,set:function(ca,$a,Ba){Pa(ca,$a),ia(ca,$a,\"=\",Ba,\";\")},toString:function(){return qi()+ba()}})}function ka(){var ia=di(arguments),wi=Ca(),qi=Ca(),ba=wi.toString,Pa=qi.toString;return g(wi,{then:function(){return wi.apply(wi,Li(arguments)),this},else:function(){return qi.apply(qi,Li(arguments)),this},toString:function(){var ca=Pa();return ca&&(ca=\"else{\"+ca+\"}\"),di([\"if(\",ia,\"){\",ba(),\"}\",ca])}})}var ha=na(),Xo={};function Aa(ia,wi){var qi=[];function ba(){var Oo=\"a\"+qi.length;return qi.push(Oo),Oo}wi=wi||0;for(var Pa=0;Pa\":516,notequal:517,\"!=\":517,\"!==\":517,gequal:518,\">=\":518,always:519},qn={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\"increment wrap\":34055,\"decrement wrap\":34056,invert:5386},Jn={cw:Qe,ccw:vt};function ci(tr){return Array.isArray(tr)||gr(tr)||br(tr)}function oi(tr){return tr.sort(function(cn,Ln){return cn===Ae?-1:Ln===Ae?1:cn=1,xi>=2,cn)}else if(Ln===Ds){var Ni=tr.data;return new Hn(Ni.thisDep,Ni.contextDep,Ni.propDep,cn)}else{if(Ln===il)return new Hn(!1,!1,!1,cn);if(Ln===Ns){for(var Fi=!1,Oi=!1,na=!1,Ca=0;Ca=1&&(Oi=!0),ha>=2&&(na=!0)}else ka.type===Ds&&(Fi=Fi||ka.data.thisDep,Oi=Oi||ka.data.contextDep,na=na||ka.data.propDep)}return new Hn(Fi,Oi,na,cn)}else return new Hn(Ln===as,Ln===Lo,Ln===Qi,cn)}}var La=new Hn(!1,!1,!1,function(){});function io(tr,cn,Ln,xi,Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi){var qi=ka.Record,ba={add:32774,subtract:32778,\"reverse subtract\":32779};Ln.ext_blend_minmax&&(ba.min=mt,ba.max=Tt);var Pa=Ln.angle_instanced_arrays,ca=Ln.webgl_draw_buffers,$a=Ln.oes_vertex_array_object,Ba={dirty:!0,profile:wi.profile},Oo={},va=[],sa={},fo={};function Ja(Gt){return Gt.replace(\".\",\"_\")}function Fa(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Oo[zr]=Ba[zr]=!!mr,sa[zr]=nr}function Ia(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Array.isArray(mr)?(Ba[zr]=mr.slice(),Oo[zr]=mr.slice()):Ba[zr]=Oo[zr]=mr,fo[zr]=nr}function ao(Gt){return!!isNaN(Gt)}Fa(el,li),Fa(Es,Un),Ia(Bl,\"blendColor\",[0,0,0,0]),Ia(_l,\"blendEquationSeparate\",[jr,jr]),Ia(cl,\"blendFuncSeparate\",[Br,lr,Br,lr]),Fa(Za,Ci,!0),Ia(jo,\"depthFunc\",Tn),Ia(Js,\"depthRange\",[0,1]),Ia(zs,\"depthMask\",!0),Ia(cu,cu,[!0,!0,!0,!0]),Fa(zu,Mn),Ia(nc,\"cullFace\",Re),Ia(Kc,Kc,vt),Ia(Tu,Tu,1),Fa(zc,ya),Ia(Fu,\"polygonOffset\",[0,0]),Fa(wc,ro),Fa(bo,Va),Ia(Wo,\"sampleCoverage\",[1,!1]),Fa(Fc,ki),Ia(hc,\"stencilMask\",-1),Ia(dc,\"stencilFunc\",[Qt,0,-1]),Ia(Ne,\"stencilOpSeparate\",[de,Dt,Dt,Dt]),Ia(R,\"stencilOpSeparate\",[Re,Dt,Dt,Dt]),Fa(ne,Zi),Ia(be,\"scissor\",[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]),Ia(Ae,Ae,[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]);var Zo={gl:tr,context:Aa,strings:cn,next:Oo,current:Ba,draw:Xo,elements:Fi,buffer:Ni,shader:ha,attributes:ka.state,vao:ka,uniforms:Ca,framebuffer:na,extensions:Ln,timer:Ma,isBufferArgs:ci},ps={primTypes:gt,compareFuncs:En,blendFuncs:ai,blendEquations:ba,stencilOps:qn,glTypes:pn,orientationType:Jn};ca&&(ps.backBuffer=[Re],ps.drawBuffer=v(xi.maxDrawbuffers,function(Gt){return Gt===0?[0]:v(Gt,function(nr){return ti+nr})}));var Na=0;function Mo(){var Gt=wa({cache:ia}),nr=Gt.link,mr=Gt.global;Gt.id=Na++,Gt.batchId=\"0\";var zr=nr(Zo),Gr=Gt.shared={props:\"a0\"};Object.keys(Zo).forEach(function(hn){Gr[hn]=mr.def(zr,\".\",hn)});var Xr=Gt.next={},fn=Gt.current={};Object.keys(fo).forEach(function(hn){Array.isArray(Ba[hn])&&(Xr[hn]=mr.def(Gr.next,\".\",hn),fn[hn]=mr.def(Gr.current,\".\",hn))});var sn=Gt.constants={};Object.keys(ps).forEach(function(hn){sn[hn]=mr.def(JSON.stringify(ps[hn]))}),Gt.invoke=function(hn,qr){switch(qr.type){case xa:var kn=[\"this\",Gr.context,Gr.props,Gt.batchId];return hn.def(nr(qr.data),\".call(\",kn.slice(0,Math.max(qr.data.length+1,4)),\")\");case Qi:return hn.def(Gr.props,qr.data);case Lo:return hn.def(Gr.context,qr.data);case as:return hn.def(\"this\",qr.data);case Ds:return qr.data.append(Gt,hn),qr.data.ref;case il:return qr.data.toString();case Ns:return qr.data.map(function(Xn){return Gt.invoke(hn,Xn)})}},Gt.attribCache={};var Zr={};return Gt.scopeAttrib=function(hn){var qr=cn.id(hn);if(qr in Zr)return Zr[qr];var kn=ka.scope[qr];kn||(kn=ka.scope[qr]=new qi);var Xn=Zr[qr]=nr(kn);return Xn},Gt}function ss(Gt){var nr=Gt.static,mr=Gt.dynamic,zr;if(Fe in nr){var Gr=!!nr[Fe];zr=oa(function(fn,sn){return Gr}),zr.enable=Gr}else if(Fe in mr){var Xr=mr[Fe];zr=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}return zr}function _s(Gt,nr){var mr=Gt.static,zr=Gt.dynamic;if(ht in mr){var Gr=mr[ht];return Gr?(Gr=na.getFramebuffer(Gr),oa(function(fn,sn){var Zr=fn.link(Gr),hn=fn.shared;sn.set(hn.framebuffer,\".next\",Zr);var qr=hn.context;return sn.set(qr,\".\"+dt,Zr+\".width\"),sn.set(qr,\".\"+St,Zr+\".height\"),Zr})):oa(function(fn,sn){var Zr=fn.shared;sn.set(Zr.framebuffer,\".next\",\"null\");var hn=Zr.context;return sn.set(hn,\".\"+dt,hn+\".\"+sr),sn.set(hn,\".\"+St,hn+\".\"+pr),\"null\"})}else if(ht in zr){var Xr=zr[ht];return _a(Xr,function(fn,sn){var Zr=fn.invoke(sn,Xr),hn=fn.shared,qr=hn.framebuffer,kn=sn.def(qr,\".getFramebuffer(\",Zr,\")\");sn.set(qr,\".next\",kn);var Xn=hn.context;return sn.set(Xn,\".\"+dt,kn+\"?\"+kn+\".width:\"+Xn+\".\"+sr),sn.set(Xn,\".\"+St,kn+\"?\"+kn+\".height:\"+Xn+\".\"+pr),kn})}else return null}function Fs(Gt,nr,mr){var zr=Gt.static,Gr=Gt.dynamic;function Xr(Zr){if(Zr in zr){var hn=zr[Zr],qr=!0,kn=hn.x|0,Xn=hn.y|0,vi,Ji;return\"width\"in hn?vi=hn.width|0:qr=!1,\"height\"in hn?Ji=hn.height|0:qr=!1,new Hn(!qr&&nr&&nr.thisDep,!qr&&nr&&nr.contextDep,!qr&&nr&&nr.propDep,function(ja,Ea){var $i=ja.shared.context,da=vi;\"width\"in hn||(da=Ea.def($i,\".\",dt,\"-\",kn));var fa=Ji;return\"height\"in hn||(fa=Ea.def($i,\".\",St,\"-\",Xn)),[kn,Xn,da,fa]})}else if(Zr in Gr){var Pi=Gr[Zr],ea=_a(Pi,function(ja,Ea){var $i=ja.invoke(Ea,Pi),da=ja.shared.context,fa=Ea.def($i,\".x|0\"),za=Ea.def($i,\".y|0\"),Qa=Ea.def('\"width\" in ',$i,\"?\",$i,\".width|0:\",\"(\",da,\".\",dt,\"-\",fa,\")\"),Cs=Ea.def('\"height\" in ',$i,\"?\",$i,\".height|0:\",\"(\",da,\".\",St,\"-\",za,\")\");return[fa,za,Qa,Cs]});return nr&&(ea.thisDep=ea.thisDep||nr.thisDep,ea.contextDep=ea.contextDep||nr.contextDep,ea.propDep=ea.propDep||nr.propDep),ea}else return nr?new Hn(nr.thisDep,nr.contextDep,nr.propDep,function(ja,Ea){var $i=ja.shared.context;return[0,0,Ea.def($i,\".\",dt),Ea.def($i,\".\",St)]}):null}var fn=Xr(Ae);if(fn){var sn=fn;fn=new Hn(fn.thisDep,fn.contextDep,fn.propDep,function(Zr,hn){var qr=sn.append(Zr,hn),kn=Zr.shared.context;return hn.set(kn,\".\"+xt,qr[2]),hn.set(kn,\".\"+It,qr[3]),qr})}return{viewport:fn,scissor_box:Xr(be)}}function iu(Gt,nr){var mr=Gt.static,zr=typeof mr[zt]==\"string\"&&typeof mr[wt]==\"string\";if(zr){if(Object.keys(nr.dynamic).length>0)return null;var Gr=nr.static,Xr=Object.keys(Gr);if(Xr.length>0&&typeof Gr[Xr[0]]==\"number\"){for(var fn=[],sn=0;sn\"+fa+\"?\"+qr+\".constant[\"+fa+\"]:0;\"}).join(\"\"),\"}}else{\",\"if(\",vi,\"(\",qr,\".buffer)){\",ja,\"=\",Ji,\".createStream(\",Yr,\",\",qr,\".buffer);\",\"}else{\",ja,\"=\",Ji,\".getBuffer(\",qr,\".buffer);\",\"}\",Ea,'=\"type\" in ',qr,\"?\",Xn.glTypes,\"[\",qr,\".type]:\",ja,\".dtype;\",Pi.normalized,\"=!!\",qr,\".normalized;\");function $i(da){hn(Pi[da],\"=\",qr,\".\",da,\"|0;\")}return $i(\"size\"),$i(\"offset\"),$i(\"stride\"),$i(\"divisor\"),hn(\"}}\"),hn.exit(\"if(\",Pi.isStream,\"){\",Ji,\".destroyStream(\",ja,\");\",\"}\"),Pi}Gr[Xr]=_a(fn,sn)}),Gr}function mc(Gt){var nr=Gt.static,mr=Gt.dynamic,zr={};return Object.keys(nr).forEach(function(Gr){var Xr=nr[Gr];zr[Gr]=oa(function(fn,sn){return typeof Xr==\"number\"||typeof Xr==\"boolean\"?\"\"+Xr:fn.link(Xr)})}),Object.keys(mr).forEach(function(Gr){var Xr=mr[Gr];zr[Gr]=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}),zr}function Jc(Gt,nr,mr,zr,Gr){var Xr=Gt.static,fn=Gt.dynamic,sn=iu(Gt,nr),Zr=_s(Gt,Gr),hn=Fs(Gt,Zr,Gr),qr=rl(Gt,Gr),kn=Bc(Gt,Gr),Xn=Oc(Gt,Gr,sn);function vi($i){var da=hn[$i];da&&(kn[$i]=da)}vi(Ae),vi(Ja(be));var Ji=Object.keys(kn).length>0,Pi={framebuffer:Zr,draw:qr,shader:Xn,state:kn,dirty:Ji,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Pi.profile=ss(Gt,Gr),Pi.uniforms=ql(mr,Gr),Pi.drawVAO=Pi.scopeVAO=qr.vao,!Pi.drawVAO&&Xn.program&&!sn&&Ln.angle_instanced_arrays&&qr.static.elements){var ea=!0,ja=Xn.program.attributes.map(function($i){var da=nr.static[$i];return ea=ea&&!!da,da});if(ea&&ja.length>0){var Ea=ka.getVAO(ka.createVAO({attributes:ja,elements:qr.static.elements}));Pi.drawVAO=new Hn(null,null,null,function($i,da){return $i.link(Ea)}),Pi.useVAO=!0}}return sn?Pi.useVAO=!0:Pi.attributes=pc(nr,Gr),Pi.context=mc(zr,Gr),Pi}function tu(Gt,nr,mr){var zr=Gt.shared,Gr=zr.context,Xr=Gt.scope();Object.keys(mr).forEach(function(fn){nr.save(Gr,\".\"+fn);var sn=mr[fn],Zr=sn.append(Gt,nr);Array.isArray(Zr)?Xr(Gr,\".\",fn,\"=[\",Zr.join(),\"];\"):Xr(Gr,\".\",fn,\"=\",Zr,\";\")}),nr(Xr)}function Ac(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gr.gl,fn=Gr.framebuffer,sn;ca&&(sn=nr.def(Gr.extensions,\".webgl_draw_buffers\"));var Zr=Gt.constants,hn=Zr.drawBuffer,qr=Zr.backBuffer,kn;mr?kn=mr.append(Gt,nr):kn=nr.def(fn,\".next\"),zr||nr(\"if(\",kn,\"!==\",fn,\".cur){\"),nr(\"if(\",kn,\"){\",Xr,\".bindFramebuffer(\",yn,\",\",kn,\".framebuffer);\"),ca&&nr(sn,\".drawBuffersWEBGL(\",hn,\"[\",kn,\".colorAttachments.length]);\"),nr(\"}else{\",Xr,\".bindFramebuffer(\",yn,\",null);\"),ca&&nr(sn,\".drawBuffersWEBGL(\",qr,\");\"),nr(\"}\",fn,\".cur=\",kn,\";\"),zr||nr(\"}\")}function Nc(Gt,nr,mr){var zr=Gt.shared,Gr=zr.gl,Xr=Gt.current,fn=Gt.next,sn=zr.current,Zr=zr.next,hn=Gt.cond(sn,\".dirty\");va.forEach(function(qr){var kn=Ja(qr);if(!(kn in mr.state)){var Xn,vi;if(kn in fn){Xn=fn[kn],vi=Xr[kn];var Ji=v(Ba[kn].length,function(ea){return hn.def(Xn,\"[\",ea,\"]\")});hn(Gt.cond(Ji.map(function(ea,ja){return ea+\"!==\"+vi+\"[\"+ja+\"]\"}).join(\"||\")).then(Gr,\".\",fo[kn],\"(\",Ji,\");\",Ji.map(function(ea,ja){return vi+\"[\"+ja+\"]=\"+ea}).join(\";\"),\";\"))}else{Xn=hn.def(Zr,\".\",kn);var Pi=Gt.cond(Xn,\"!==\",sn,\".\",kn);hn(Pi),kn in sa?Pi(Gt.cond(Xn).then(Gr,\".enable(\",sa[kn],\");\").else(Gr,\".disable(\",sa[kn],\");\"),sn,\".\",kn,\"=\",Xn,\";\"):Pi(Gr,\".\",fo[kn],\"(\",Xn,\");\",sn,\".\",kn,\"=\",Xn,\";\")}}}),Object.keys(mr.state).length===0&&hn(sn,\".dirty=false;\"),nr(hn)}function Hs(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gt.current,fn=Gr.current,sn=Gr.gl,Zr;oi(Object.keys(mr)).forEach(function(hn){var qr=mr[hn];if(!(zr&&!zr(qr))){var kn=qr.append(Gt,nr);if(sa[hn]){var Xn=sa[hn];ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(Gt.cond(Zr).then(sn,\".enable(\",Xn,\");\").else(sn,\".disable(\",Xn,\");\")),nr(fn,\".\",hn,\"=\",Zr,\";\")):(nr(Gt.cond(kn).then(sn,\".enable(\",Xn,\");\").else(sn,\".disable(\",Xn,\");\")),nr(fn,\".\",hn,\"=\",kn,\";\"))}else if(Bn(kn)){var vi=Xr[hn];nr(sn,\".\",fo[hn],\"(\",kn,\");\",kn.map(function(Ji,Pi){return vi+\"[\"+Pi+\"]=\"+Ji}).join(\";\"),\";\")}else ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(sn,\".\",fo[hn],\"(\",Zr,\");\",fn,\".\",hn,\"=\",Zr,\";\")):nr(sn,\".\",fo[hn],\"(\",kn,\");\",fn,\".\",hn,\"=\",kn,\";\")}})}function $c(Gt,nr){Pa&&(Gt.instancing=nr.def(Gt.shared.extensions,\".angle_instanced_arrays\"))}function Us(Gt,nr,mr,zr,Gr){var Xr=Gt.shared,fn=Gt.stats,sn=Xr.current,Zr=Xr.timer,hn=mr.profile;function qr(){return typeof performance>\"u\"?\"Date.now()\":\"performance.now()\"}var kn,Xn;function vi($i){kn=nr.def(),$i(kn,\"=\",qr(),\";\"),typeof Gr==\"string\"?$i(fn,\".count+=\",Gr,\";\"):$i(fn,\".count++;\"),Ma&&(zr?(Xn=nr.def(),$i(Xn,\"=\",Zr,\".getNumPendingQueries();\")):$i(Zr,\".beginQuery(\",fn,\");\"))}function Ji($i){$i(fn,\".cpuTime+=\",qr(),\"-\",kn,\";\"),Ma&&(zr?$i(Zr,\".pushScopeStats(\",Xn,\",\",Zr,\".getNumPendingQueries(),\",fn,\");\"):$i(Zr,\".endQuery();\"))}function Pi($i){var da=nr.def(sn,\".profile\");nr(sn,\".profile=\",$i,\";\"),nr.exit(sn,\".profile=\",da,\";\")}var ea;if(hn){if(ta(hn)){hn.enable?(vi(nr),Ji(nr.exit),Pi(\"true\")):Pi(\"false\");return}ea=hn.append(Gt,nr),Pi(ea)}else ea=nr.def(sn,\".profile\");var ja=Gt.block();vi(ja),nr(\"if(\",ea,\"){\",ja,\"}\");var Ea=Gt.block();Ji(Ea),nr.exit(\"if(\",ea,\"){\",Ea,\"}\")}function ve(Gt,nr,mr,zr,Gr){var Xr=Gt.shared;function fn(Zr){switch(Zr){case vs:case fl:case Nl:return 2;case Fo:case al:case eu:return 3;case ts:case os:case Xu:return 4;default:return 1}}function sn(Zr,hn,qr){var kn=Xr.gl,Xn=nr.def(Zr,\".location\"),vi=nr.def(Xr.attributes,\"[\",Xn,\"]\"),Ji=qr.state,Pi=qr.buffer,ea=[qr.x,qr.y,qr.z,qr.w],ja=[\"buffer\",\"normalized\",\"offset\",\"stride\"];function Ea(){nr(\"if(!\",vi,\".buffer){\",kn,\".enableVertexAttribArray(\",Xn,\");}\");var da=qr.type,fa;if(qr.size?fa=nr.def(qr.size,\"||\",hn):fa=hn,nr(\"if(\",vi,\".type!==\",da,\"||\",vi,\".size!==\",fa,\"||\",ja.map(function(Qa){return vi+\".\"+Qa+\"!==\"+qr[Qa]}).join(\"||\"),\"){\",kn,\".bindBuffer(\",Yr,\",\",Pi,\".buffer);\",kn,\".vertexAttribPointer(\",[Xn,fa,da,qr.normalized,qr.stride,qr.offset],\");\",vi,\".type=\",da,\";\",vi,\".size=\",fa,\";\",ja.map(function(Qa){return vi+\".\"+Qa+\"=\"+qr[Qa]+\";\"}).join(\"\"),\"}\"),Pa){var za=qr.divisor;nr(\"if(\",vi,\".divisor!==\",za,\"){\",Gt.instancing,\".vertexAttribDivisorANGLE(\",[Xn,za],\");\",vi,\".divisor=\",za,\";}\")}}function $i(){nr(\"if(\",vi,\".buffer){\",kn,\".disableVertexAttribArray(\",Xn,\");\",vi,\".buffer=null;\",\"}if(\",po.map(function(da,fa){return vi+\".\"+da+\"!==\"+ea[fa]}).join(\"||\"),\"){\",kn,\".vertexAttrib4f(\",Xn,\",\",ea,\");\",po.map(function(da,fa){return vi+\".\"+da+\"=\"+ea[fa]+\";\"}).join(\"\"),\"}\")}Ji===mo?Ea():Ji===Ao?$i():(nr(\"if(\",Ji,\"===\",mo,\"){\"),Ea(),nr(\"}else{\"),$i(),nr(\"}\"))}zr.forEach(function(Zr){var hn=Zr.name,qr=mr.attributes[hn],kn;if(qr){if(!Gr(qr))return;kn=qr.append(Gt,nr)}else{if(!Gr(La))return;var Xn=Gt.scopeAttrib(hn);kn={},Object.keys(new qi).forEach(function(vi){kn[vi]=nr.def(Xn,\".\",vi)})}sn(Gt.link(Zr),fn(Zr.info.type),kn)})}function K(Gt,nr,mr,zr,Gr,Xr){for(var fn=Gt.shared,sn=fn.gl,Zr,hn=0;hn1){for(var ws=[],$s=[],rs=0;rs>1)\",Pi],\");\")}function za(){mr(ea,\".drawArraysInstancedANGLE(\",[Xn,vi,Ji,Pi],\");\")}qr&&qr!==\"null\"?Ea?fa():(mr(\"if(\",qr,\"){\"),fa(),mr(\"}else{\"),za(),mr(\"}\")):za()}function da(){function fa(){mr(Xr+\".drawElements(\"+[Xn,Ji,ja,vi+\"<<((\"+ja+\"-\"+co+\")>>1)\"]+\");\")}function za(){mr(Xr+\".drawArrays(\"+[Xn,vi,Ji]+\");\")}qr&&qr!==\"null\"?Ea?fa():(mr(\"if(\",qr,\"){\"),fa(),mr(\"}else{\"),za(),mr(\"}\")):za()}Pa&&(typeof Pi!=\"number\"||Pi>=0)?typeof Pi==\"string\"?(mr(\"if(\",Pi,\">0){\"),$i(),mr(\"}else if(\",Pi,\"<0){\"),da(),mr(\"}\")):$i():da()}function te(Gt,nr,mr,zr,Gr){var Xr=Mo(),fn=Xr.proc(\"body\",Gr);return Pa&&(Xr.instancing=fn.def(Xr.shared.extensions,\".angle_instanced_arrays\")),Gt(Xr,fn,mr,zr),Xr.compile().body}function ye(Gt,nr,mr,zr){$c(Gt,nr),mr.useVAO?mr.drawVAO?nr(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,nr),\");\"):nr(Gt.shared.vao,\".setVAO(\",Gt.shared.vao,\".targetVAO);\"):(nr(Gt.shared.vao,\".setVAO(null);\"),ve(Gt,nr,mr,zr.attributes,function(){return!0})),K(Gt,nr,mr,zr.uniforms,function(){return!0},!1),me(Gt,nr,nr,mr)}function Ze(Gt,nr){var mr=Gt.proc(\"draw\",1);$c(Gt,mr),tu(Gt,mr,nr.context),Ac(Gt,mr,nr.framebuffer),Nc(Gt,mr,nr),Hs(Gt,mr,nr.state),Us(Gt,mr,nr,!1,!0);var zr=nr.shader.progVar.append(Gt,mr);if(mr(Gt.shared.gl,\".useProgram(\",zr,\".program);\"),nr.shader.program)ye(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,\".setVAO(null);\");var Gr=Gt.global.def(\"{}\"),Xr=mr.def(zr,\".id\"),fn=mr.def(Gr,\"[\",Xr,\"]\");mr(Gt.cond(fn).then(fn,\".call(this,a0);\").else(fn,\"=\",Gr,\"[\",Xr,\"]=\",Gt.link(function(sn){return te(ye,Gt,nr,sn,1)}),\"(\",zr,\");\",fn,\".call(this,a0);\"))}Object.keys(nr.state).length>0&&mr(Gt.shared.current,\".dirty=true;\"),Gt.shared.vao&&mr(Gt.shared.vao,\".setVAO(null);\")}function We(Gt,nr,mr,zr){Gt.batchId=\"a1\",$c(Gt,nr);function Gr(){return!0}ve(Gt,nr,mr,zr.attributes,Gr),K(Gt,nr,mr,zr.uniforms,Gr,!1),me(Gt,nr,nr,mr)}function lt(Gt,nr,mr,zr){$c(Gt,nr);var Gr=mr.contextDep,Xr=nr.def(),fn=\"a0\",sn=\"a1\",Zr=nr.def();Gt.shared.props=Zr,Gt.batchId=Xr;var hn=Gt.scope(),qr=Gt.scope();nr(hn.entry,\"for(\",Xr,\"=0;\",Xr,\"<\",sn,\";++\",Xr,\"){\",Zr,\"=\",fn,\"[\",Xr,\"];\",qr,\"}\",hn.exit);function kn(ja){return ja.contextDep&&Gr||ja.propDep}function Xn(ja){return!kn(ja)}if(mr.needsContext&&tu(Gt,qr,mr.context),mr.needsFramebuffer&&Ac(Gt,qr,mr.framebuffer),Hs(Gt,qr,mr.state,kn),mr.profile&&kn(mr.profile)&&Us(Gt,qr,mr,!1,!0),zr)mr.useVAO?mr.drawVAO?kn(mr.drawVAO)?qr(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,qr),\");\"):hn(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,hn),\");\"):hn(Gt.shared.vao,\".setVAO(\",Gt.shared.vao,\".targetVAO);\"):(hn(Gt.shared.vao,\".setVAO(null);\"),ve(Gt,hn,mr,zr.attributes,Xn),ve(Gt,qr,mr,zr.attributes,kn)),K(Gt,hn,mr,zr.uniforms,Xn,!1),K(Gt,qr,mr,zr.uniforms,kn,!0),me(Gt,hn,qr,mr);else{var vi=Gt.global.def(\"{}\"),Ji=mr.shader.progVar.append(Gt,qr),Pi=qr.def(Ji,\".id\"),ea=qr.def(vi,\"[\",Pi,\"]\");qr(Gt.shared.gl,\".useProgram(\",Ji,\".program);\",\"if(!\",ea,\"){\",ea,\"=\",vi,\"[\",Pi,\"]=\",Gt.link(function(ja){return te(We,Gt,mr,ja,2)}),\"(\",Ji,\");}\",ea,\".call(this,a0[\",Xr,\"],\",Xr,\");\")}}function Ct(Gt,nr){var mr=Gt.proc(\"batch\",2);Gt.batchId=\"0\",$c(Gt,mr);var zr=!1,Gr=!0;Object.keys(nr.context).forEach(function(vi){zr=zr||nr.context[vi].propDep}),zr||(tu(Gt,mr,nr.context),Gr=!1);var Xr=nr.framebuffer,fn=!1;Xr?(Xr.propDep?zr=fn=!0:Xr.contextDep&&zr&&(fn=!0),fn||Ac(Gt,mr,Xr)):Ac(Gt,mr,null),nr.state.viewport&&nr.state.viewport.propDep&&(zr=!0);function sn(vi){return vi.contextDep&&zr||vi.propDep}Nc(Gt,mr,nr),Hs(Gt,mr,nr.state,function(vi){return!sn(vi)}),(!nr.profile||!sn(nr.profile))&&Us(Gt,mr,nr,!1,\"a1\"),nr.contextDep=zr,nr.needsContext=Gr,nr.needsFramebuffer=fn;var Zr=nr.shader.progVar;if(Zr.contextDep&&zr||Zr.propDep)lt(Gt,mr,nr,null);else{var hn=Zr.append(Gt,mr);if(mr(Gt.shared.gl,\".useProgram(\",hn,\".program);\"),nr.shader.program)lt(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,\".setVAO(null);\");var qr=Gt.global.def(\"{}\"),kn=mr.def(hn,\".id\"),Xn=mr.def(qr,\"[\",kn,\"]\");mr(Gt.cond(Xn).then(Xn,\".call(this,a0,a1);\").else(Xn,\"=\",qr,\"[\",kn,\"]=\",Gt.link(function(vi){return te(lt,Gt,nr,vi,2)}),\"(\",hn,\");\",Xn,\".call(this,a0,a1);\"))}}Object.keys(nr.state).length>0&&mr(Gt.shared.current,\".dirty=true;\"),Gt.shared.vao&&mr(Gt.shared.vao,\".setVAO(null);\")}function Wt(Gt,nr){var mr=Gt.proc(\"scope\",3);Gt.batchId=\"a2\";var zr=Gt.shared,Gr=zr.current;if(tu(Gt,mr,nr.context),nr.framebuffer&&nr.framebuffer.append(Gt,mr),oi(Object.keys(nr.state)).forEach(function(sn){var Zr=nr.state[sn],hn=Zr.append(Gt,mr);Bn(hn)?hn.forEach(function(qr,kn){ao(qr)?mr.set(Gt.next[sn],\"[\"+kn+\"]\",qr):mr.set(Gt.next[sn],\"[\"+kn+\"]\",Gt.link(qr,{stable:!0}))}):ta(Zr)?mr.set(zr.next,\".\"+sn,Gt.link(hn,{stable:!0})):mr.set(zr.next,\".\"+sn,hn)}),Us(Gt,mr,nr,!0,!0),[Jt,Hr,vr,ln,hr].forEach(function(sn){var Zr=nr.draw[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.draw,\".\"+sn,hn):mr.set(zr.draw,\".\"+sn,Gt.link(hn),{stable:!0})}}),Object.keys(nr.uniforms).forEach(function(sn){var Zr=nr.uniforms[sn].append(Gt,mr);Array.isArray(Zr)&&(Zr=\"[\"+Zr.map(function(hn){return ao(hn)?hn:Gt.link(hn,{stable:!0})})+\"]\"),mr.set(zr.uniforms,\"[\"+Gt.link(cn.id(sn),{stable:!0})+\"]\",Zr)}),Object.keys(nr.attributes).forEach(function(sn){var Zr=nr.attributes[sn].append(Gt,mr),hn=Gt.scopeAttrib(sn);Object.keys(new qi).forEach(function(qr){mr.set(hn,\".\"+qr,Zr[qr])})}),nr.scopeVAO){var Xr=nr.scopeVAO.append(Gt,mr);ao(Xr)?mr.set(zr.vao,\".targetVAO\",Xr):mr.set(zr.vao,\".targetVAO\",Gt.link(Xr,{stable:!0}))}function fn(sn){var Zr=nr.shader[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.shader,\".\"+sn,hn):mr.set(zr.shader,\".\"+sn,Gt.link(hn,{stable:!0}))}}fn(wt),fn(zt),Object.keys(nr.state).length>0&&(mr(Gr,\".dirty=true;\"),mr.exit(Gr,\".dirty=true;\")),mr(\"a1(\",Gt.shared.context,\",a0,\",Gt.batchId,\");\")}function xr(Gt){if(!(typeof Gt!=\"object\"||Bn(Gt))){for(var nr=Object.keys(Gt),mr=0;mr=0;--te){var ye=Zo[te];ye&&ye(ia,null,0)}Ln.flush(),ha&&ha.update()}function Fs(){!ss&&Zo.length>0&&(ss=h.next(_s))}function iu(){ss&&(h.cancel(_s),ss=null)}function Oc(te){te.preventDefault(),Ni=!0,iu(),ps.forEach(function(ye){ye()})}function rl(te){Ln.getError(),Ni=!1,Fi.restore(),Oo.restore(),Pa.restore(),va.restore(),sa.restore(),fo.restore(),$a.restore(),ha&&ha.restore(),Ja.procs.refresh(),Fs(),Na.forEach(function(ye){ye()})}ao&&(ao.addEventListener(ys,Oc,!1),ao.addEventListener(Ms,rl,!1));function Bc(){Zo.length=0,iu(),ao&&(ao.removeEventListener(ys,Oc),ao.removeEventListener(Ms,rl)),Oo.clear(),fo.clear(),sa.clear(),$a.clear(),va.clear(),ca.clear(),Pa.clear(),ha&&ha.clear(),Mo.forEach(function(te){te()})}function ql(te){function ye(Xr){var fn=g({},Xr);delete fn.uniforms,delete fn.attributes,delete fn.context,delete fn.vao,\"stencil\"in fn&&fn.stencil.op&&(fn.stencil.opBack=fn.stencil.opFront=fn.stencil.op,delete fn.stencil.op);function sn(Zr){if(Zr in fn){var hn=fn[Zr];delete fn[Zr],Object.keys(hn).forEach(function(qr){fn[Zr+\".\"+qr]=hn[qr]})}}return sn(\"blend\"),sn(\"depth\"),sn(\"cull\"),sn(\"stencil\"),sn(\"polygonOffset\"),sn(\"scissor\"),sn(\"sample\"),\"vao\"in Xr&&(fn.vao=Xr.vao),fn}function Ze(Xr,fn){var sn={},Zr={};return Object.keys(Xr).forEach(function(hn){var qr=Xr[hn];if(c.isDynamic(qr)){Zr[hn]=c.unbox(qr,hn);return}else if(fn&&Array.isArray(qr)){for(var kn=0;kn0)return Gt.call(this,zr(Xr|0),Xr|0)}else if(Array.isArray(Xr)){if(Xr.length)return Gt.call(this,Xr,Xr.length)}else return Ar.call(this,Xr)}return g(Gr,{stats:xr,destroy:function(){Fr.destroy()}})}var pc=fo.setFBO=ql({framebuffer:c.define.call(null,xl,\"framebuffer\")});function mc(te,ye){var Ze=0;Ja.procs.poll();var We=ye.color;We&&(Ln.clearColor(+We[0]||0,+We[1]||0,+We[2]||0,+We[3]||0),Ze|=tl),\"depth\"in ye&&(Ln.clearDepth(+ye.depth),Ze|=ml),\"stencil\"in ye&&(Ln.clearStencil(ye.stencil|0),Ze|=ua),Ln.clear(Ze)}function Jc(te){if(\"framebuffer\"in te)if(te.framebuffer&&te.framebuffer_reglType===\"framebufferCube\")for(var ye=0;ye<6;++ye)pc(g({framebuffer:te.framebuffer.faces[ye]},te),mc);else pc(te,mc);else mc(null,te)}function tu(te){Zo.push(te);function ye(){var Ze=Fl(Zo,te);function We(){var lt=Fl(Zo,We);Zo[lt]=Zo[Zo.length-1],Zo.length-=1,Zo.length<=0&&iu()}Zo[Ze]=We}return Fs(),{cancel:ye}}function Ac(){var te=Ia.viewport,ye=Ia.scissor_box;te[0]=te[1]=ye[0]=ye[1]=0,ia.viewportWidth=ia.framebufferWidth=ia.drawingBufferWidth=te[2]=ye[2]=Ln.drawingBufferWidth,ia.viewportHeight=ia.framebufferHeight=ia.drawingBufferHeight=te[3]=ye[3]=Ln.drawingBufferHeight}function Nc(){ia.tick+=1,ia.time=$c(),Ac(),Ja.procs.poll()}function Hs(){va.refresh(),Ac(),Ja.procs.refresh(),ha&&ha.update()}function $c(){return(p()-Xo)/1e3}Hs();function Us(te,ye){var Ze;switch(te){case\"frame\":return tu(ye);case\"lost\":Ze=ps;break;case\"restore\":Ze=Na;break;case\"destroy\":Ze=Mo;break;default:}return Ze.push(ye),{cancel:function(){for(var We=0;We=0},read:Fa,destroy:Bc,_gl:Ln,_refresh:Hs,poll:function(){Nc(),ha&&ha.update()},now:$c,stats:na,getCachedCode:ve,preloadCachedCode:K});return cn.onDone(null,me),me}return vc})}}),GR=ke({\"node_modules/gl-util/context.js\"(Z,H){\"use strict\";var g=Rv();H.exports=function(o){if(o?typeof o==\"string\"&&(o={container:o}):o={},A(o)?o={container:o}:S(o)?o={container:o}:e(o)?o={gl:o}:o=g(o,{container:\"container target element el canvas holder parent parentNode wrapper use ref root node\",gl:\"gl context webgl glContext\",attrs:\"attributes attrs contextAttributes\",pixelRatio:\"pixelRatio pxRatio px ratio pxratio pixelratio\",width:\"w width\",height:\"h height\"},!0),o.pixelRatio||(o.pixelRatio=window.pixelRatio||1),o.gl)return o.gl;if(o.canvas&&(o.container=o.canvas.parentNode),o.container){if(typeof o.container==\"string\"){var n=document.querySelector(o.container);if(!n)throw Error(\"Element \"+o.container+\" is not found\");o.container=n}A(o.container)?(o.canvas=o.container,o.container=o.canvas.parentNode):o.canvas||(o.canvas=t(),o.container.appendChild(o.canvas),x(o))}else if(!o.canvas)if(typeof document<\"u\")o.container=document.body||document.documentElement,o.canvas=t(),o.container.appendChild(o.canvas),x(o);else throw Error(\"Not DOM environment. Use headless-gl.\");return o.gl||[\"webgl\",\"experimental-webgl\",\"webgl-experimental\"].some(function(i){try{o.gl=o.canvas.getContext(i,o.attrs)}catch{}return o.gl}),o.gl};function x(r){if(r.container)if(r.container==document.body)document.body.style.width||(r.canvas.width=r.width||r.pixelRatio*window.innerWidth),document.body.style.height||(r.canvas.height=r.height||r.pixelRatio*window.innerHeight);else{var o=r.container.getBoundingClientRect();r.canvas.width=r.width||o.right-o.left,r.canvas.height=r.height||o.bottom-o.top}}function A(r){return typeof r.getContext==\"function\"&&\"width\"in r&&\"height\"in r}function S(r){return typeof r.nodeName==\"string\"&&typeof r.appendChild==\"function\"&&typeof r.getBoundingClientRect==\"function\"}function e(r){return typeof r.drawArrays==\"function\"||typeof r.drawElements==\"function\"}function t(){var r=document.createElement(\"canvas\");return r.style.position=\"absolute\",r.style.top=0,r.style.left=0,r}}}),WR=ke({\"node_modules/font-atlas/index.js\"(Z,H){\"use strict\";var g=GA(),x=[32,126];H.exports=A;function A(S){S=S||{};var e=S.shape?S.shape:S.canvas?[S.canvas.width,S.canvas.height]:[512,512],t=S.canvas||document.createElement(\"canvas\"),r=S.font,o=typeof S.step==\"number\"?[S.step,S.step]:S.step||[32,32],n=S.chars||x;if(r&&typeof r!=\"string\"&&(r=g(r)),!Array.isArray(n))n=String(n).split(\"\");else if(n.length===2&&typeof n[0]==\"number\"&&typeof n[1]==\"number\"){for(var i=[],a=n[0],s=0;a<=n[1];a++)i[s++]=String.fromCharCode(a);n=i}e=e.slice(),t.width=e[0],t.height=e[1];var c=t.getContext(\"2d\");c.fillStyle=\"#000\",c.fillRect(0,0,t.width,t.height),c.font=r,c.textAlign=\"center\",c.textBaseline=\"middle\",c.fillStyle=\"#fff\";for(var h=o[0]/2,p=o[1]/2,a=0;ae[0]-o[0]/2&&(h=o[0]/2,p+=o[1]);return t}}}),XA=ke({\"node_modules/bit-twiddle/twiddle.js\"(Z){\"use strict\";\"use restrict\";var H=32;Z.INT_BITS=H,Z.INT_MAX=2147483647,Z.INT_MIN=-1<0)-(A<0)},Z.abs=function(A){var S=A>>H-1;return(A^S)-S},Z.min=function(A,S){return S^(A^S)&-(A65535)<<4,A>>>=S,e=(A>255)<<3,A>>>=e,S|=e,e=(A>15)<<2,A>>>=e,S|=e,e=(A>3)<<1,A>>>=e,S|=e,S|A>>1},Z.log10=function(A){return A>=1e9?9:A>=1e8?8:A>=1e7?7:A>=1e6?6:A>=1e5?5:A>=1e4?4:A>=1e3?3:A>=100?2:A>=10?1:0},Z.popCount=function(A){return A=A-(A>>>1&1431655765),A=(A&858993459)+(A>>>2&858993459),(A+(A>>>4)&252645135)*16843009>>>24};function g(A){var S=32;return A&=-A,A&&S--,A&65535&&(S-=16),A&16711935&&(S-=8),A&252645135&&(S-=4),A&858993459&&(S-=2),A&1431655765&&(S-=1),S}Z.countTrailingZeros=g,Z.nextPow2=function(A){return A+=A===0,--A,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A+1},Z.prevPow2=function(A){return A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A-(A>>>1)},Z.parity=function(A){return A^=A>>>16,A^=A>>>8,A^=A>>>4,A&=15,27030>>>A&1};var x=new Array(256);(function(A){for(var S=0;S<256;++S){var e=S,t=S,r=7;for(e>>>=1;e;e>>>=1)t<<=1,t|=e&1,--r;A[S]=t<>>8&255]<<16|x[A>>>16&255]<<8|x[A>>>24&255]},Z.interleave2=function(A,S){return A&=65535,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,S&=65535,S=(S|S<<8)&16711935,S=(S|S<<4)&252645135,S=(S|S<<2)&858993459,S=(S|S<<1)&1431655765,A|S<<1},Z.deinterleave2=function(A,S){return A=A>>>S&1431655765,A=(A|A>>>1)&858993459,A=(A|A>>>2)&252645135,A=(A|A>>>4)&16711935,A=(A|A>>>16)&65535,A<<16>>16},Z.interleave3=function(A,S,e){return A&=1023,A=(A|A<<16)&4278190335,A=(A|A<<8)&251719695,A=(A|A<<4)&3272356035,A=(A|A<<2)&1227133513,S&=1023,S=(S|S<<16)&4278190335,S=(S|S<<8)&251719695,S=(S|S<<4)&3272356035,S=(S|S<<2)&1227133513,A|=S<<1,e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,A|e<<2},Z.deinterleave3=function(A,S){return A=A>>>S&1227133513,A=(A|A>>>2)&3272356035,A=(A|A>>>4)&251719695,A=(A|A>>>8)&4278190335,A=(A|A>>>16)&1023,A<<22>>22},Z.nextCombination=function(A){var S=A|A-1;return S+1|(~S&-~S)-1>>>g(A)+1}}}),XR=ke({\"node_modules/dup/dup.js\"(Z,H){\"use strict\";function g(S,e,t){var r=S[t]|0;if(r<=0)return[];var o=new Array(r),n;if(t===S.length-1)for(n=0;n\"u\"&&(e=0),typeof S){case\"number\":if(S>0)return x(S|0,e);break;case\"object\":if(typeof S.length==\"number\")return g(S,e,0);break}return[]}H.exports=A}}),ZR=ke({\"node_modules/typedarray-pool/pool.js\"(Z){\"use strict\";var H=XA(),g=XR(),x=Nm().Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var A=typeof Uint8ClampedArray<\"u\",S=typeof BigUint64Array<\"u\",e=typeof BigInt64Array<\"u\",t=window.__TYPEDARRAY_POOL;t.UINT8C||(t.UINT8C=g([32,0])),t.BIGUINT64||(t.BIGUINT64=g([32,0])),t.BIGINT64||(t.BIGINT64=g([32,0])),t.BUFFER||(t.BUFFER=g([32,0]));var r=t.DATA,o=t.BUFFER;Z.free=function(u){if(x.isBuffer(u))o[H.log2(u.length)].push(u);else{if(Object.prototype.toString.call(u)!==\"[object ArrayBuffer]\"&&(u=u.buffer),!u)return;var y=u.length||u.byteLength,f=H.log2(y)|0;r[f].push(u)}};function n(v){if(v){var u=v.length||v.byteLength,y=H.log2(u);r[y].push(v)}}function i(v){n(v.buffer)}Z.freeUint8=Z.freeUint16=Z.freeUint32=Z.freeBigUint64=Z.freeInt8=Z.freeInt16=Z.freeInt32=Z.freeBigInt64=Z.freeFloat32=Z.freeFloat=Z.freeFloat64=Z.freeDouble=Z.freeUint8Clamped=Z.freeDataView=i,Z.freeArrayBuffer=n,Z.freeBuffer=function(u){o[H.log2(u.length)].push(u)},Z.malloc=function(u,y){if(y===void 0||y===\"arraybuffer\")return a(u);switch(y){case\"uint8\":return s(u);case\"uint16\":return c(u);case\"uint32\":return h(u);case\"int8\":return p(u);case\"int16\":return d(u);case\"int32\":return T(u);case\"float\":case\"float32\":return l(u);case\"double\":case\"float64\":return _(u);case\"uint8_clamped\":return w(u);case\"bigint64\":return E(u);case\"biguint64\":return M(u);case\"buffer\":return b(u);case\"data\":case\"dataview\":return m(u);default:return null}return null};function a(u){var u=H.nextPow2(u),y=H.log2(u),f=r[y];return f.length>0?f.pop():new ArrayBuffer(u)}Z.mallocArrayBuffer=a;function s(v){return new Uint8Array(a(v),0,v)}Z.mallocUint8=s;function c(v){return new Uint16Array(a(2*v),0,v)}Z.mallocUint16=c;function h(v){return new Uint32Array(a(4*v),0,v)}Z.mallocUint32=h;function p(v){return new Int8Array(a(v),0,v)}Z.mallocInt8=p;function d(v){return new Int16Array(a(2*v),0,v)}Z.mallocInt16=d;function T(v){return new Int32Array(a(4*v),0,v)}Z.mallocInt32=T;function l(v){return new Float32Array(a(4*v),0,v)}Z.mallocFloat32=Z.mallocFloat=l;function _(v){return new Float64Array(a(8*v),0,v)}Z.mallocFloat64=Z.mallocDouble=_;function w(v){return A?new Uint8ClampedArray(a(v),0,v):s(v)}Z.mallocUint8Clamped=w;function M(v){return S?new BigUint64Array(a(8*v),0,v):null}Z.mallocBigUint64=M;function E(v){return e?new BigInt64Array(a(8*v),0,v):null}Z.mallocBigInt64=E;function m(v){return new DataView(a(v),0,v)}Z.mallocDataView=m;function b(v){v=H.nextPow2(v);var u=H.log2(v),y=o[u];return y.length>0?y.pop():new x(v)}Z.mallocBuffer=b,Z.clearCache=function(){for(var u=0;u<32;++u)t.UINT8[u].length=0,t.UINT16[u].length=0,t.UINT32[u].length=0,t.INT8[u].length=0,t.INT16[u].length=0,t.INT32[u].length=0,t.FLOAT[u].length=0,t.DOUBLE[u].length=0,t.BIGUINT64[u].length=0,t.BIGINT64[u].length=0,t.UINT8C[u].length=0,r[u].length=0,o[u].length=0}}}),YR=ke({\"node_modules/is-plain-obj/index.js\"(Z,H){\"use strict\";var g=Object.prototype.toString;H.exports=function(x){var A;return g.call(x)===\"[object Object]\"&&(A=Object.getPrototypeOf(x),A===null||A===Object.getPrototypeOf({}))}}}),ZA=ke({\"node_modules/parse-unit/index.js\"(Z,H){H.exports=function(x,A){A||(A=[0,\"\"]),x=String(x);var S=parseFloat(x,10);return A[0]=S,A[1]=x.match(/[\\d.\\-\\+]*\\s*(.*)/)[1]||\"\",A}}}),KR=ke({\"node_modules/to-px/topx.js\"(Z,H){\"use strict\";var g=ZA();H.exports=e;var x=96;function A(t,r){var o=g(getComputedStyle(t).getPropertyValue(r));return o[0]*e(o[1],t)}function S(t,r){var o=document.createElement(\"div\");o.style[\"font-size\"]=\"128\"+t,r.appendChild(o);var n=A(o,\"font-size\")/128;return r.removeChild(o),n}function e(t,r){switch(r=r||document.body,t=(t||\"px\").trim().toLowerCase(),(r===window||r===document)&&(r=document.body),t){case\"%\":return r.clientHeight/100;case\"ch\":case\"ex\":return S(t,r);case\"em\":return A(r,\"font-size\");case\"rem\":return A(document.body,\"font-size\");case\"vw\":return window.innerWidth/100;case\"vh\":return window.innerHeight/100;case\"vmin\":return Math.min(window.innerWidth,window.innerHeight)/100;case\"vmax\":return Math.max(window.innerWidth,window.innerHeight)/100;case\"in\":return x;case\"cm\":return x/2.54;case\"mm\":return x/25.4;case\"pt\":return x/72;case\"pc\":return x/6}return 1}}}),JR=ke({\"node_modules/detect-kerning/index.js\"(Z,H){\"use strict\";H.exports=S;var g=S.canvas=document.createElement(\"canvas\"),x=g.getContext(\"2d\"),A=e([32,126]);S.createPairs=e,S.ascii=A;function S(t,r){Array.isArray(t)&&(t=t.join(\", \"));var o={},n,i=16,a=.05;r&&(r.length===2&&typeof r[0]==\"number\"?n=e(r):Array.isArray(r)?n=r:(r.o?n=e(r.o):r.pairs&&(n=r.pairs),r.fontSize&&(i=r.fontSize),r.threshold!=null&&(a=r.threshold))),n||(n=A),x.font=i+\"px \"+t;for(var s=0;si*a){var d=(p-h)/i;o[c]=d*1e3}}return o}function e(t){for(var r=[],o=t[0];o<=t[1];o++)for(var n=String.fromCharCode(o),i=t[0];i0;o-=4)if(r[o]!==0)return Math.floor((o-3)*.25/t)}}}),QR=ke({\"node_modules/gl-text/dist.js\"(Z,H){\"use strict\";var g=HR(),x=Rv(),A=WA(),S=GR(),e=OA(),t=Zp(),r=WR(),o=ZR(),n=my(),i=YR(),a=ZA(),s=KR(),c=JR(),h=Rf(),p=$R(),d=Qm(),T=XA(),l=T.nextPow2,_=new e,w=!1;document.body&&(M=document.body.appendChild(document.createElement(\"div\")),M.style.font=\"italic small-caps bold condensed 16px/2 cursive\",getComputedStyle(M).fontStretch&&(w=!0),document.body.removeChild(M));var M,E=function(v){m(v)?(v={regl:v},this.gl=v.regl._gl):this.gl=S(v),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=v.regl||A({gl:this.gl}),this.charBuffer=this.regl.buffer({type:\"uint8\",usage:\"stream\"}),this.sizeBuffer=this.regl.buffer({type:\"float\",usage:\"stream\"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(i(v)?v:{})};E.prototype.createShader=function(){var v=this.regl,u=v({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},stencil:{enable:!1},depth:{enable:!1},count:v.prop(\"count\"),offset:v.prop(\"offset\"),attributes:{charOffset:{offset:4,stride:8,buffer:v.this(\"sizeBuffer\")},width:{offset:0,stride:8,buffer:v.this(\"sizeBuffer\")},char:v.this(\"charBuffer\"),position:v.this(\"position\")},uniforms:{atlasSize:function(f,P){return[P.atlas.width,P.atlas.height]},atlasDim:function(f,P){return[P.atlas.cols,P.atlas.rows]},atlas:function(f,P){return P.atlas.texture},charStep:function(f,P){return P.atlas.step},em:function(f,P){return P.atlas.em},color:v.prop(\"color\"),opacity:v.prop(\"opacity\"),viewport:v.this(\"viewportArray\"),scale:v.this(\"scale\"),align:v.prop(\"align\"),baseline:v.prop(\"baseline\"),translate:v.this(\"translate\"),positionOffset:v.prop(\"positionOffset\")},primitive:\"points\",viewport:v.this(\"viewport\"),vert:`\n\t\t\tprecision highp float;\n\t\t\tattribute float width, charOffset, char;\n\t\t\tattribute vec2 position;\n\t\t\tuniform float fontSize, charStep, em, align, baseline;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform vec4 color;\n\t\t\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvoid main () {\n\t\t\t\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\n\t\t\t\t\t+ vec2(positionOffset.x, -positionOffset.y)))\n\t\t\t\t\t/ (viewport.zw * scale.xy);\n\n\t\t\t\tvec2 position = (position + translate) * scale;\n\t\t\t\tposition += offset * scale;\n\n\t\t\t\tcharCoord = position * viewport.zw + viewport.xy;\n\n\t\t\t\tgl_Position = vec4(position * 2. - 1., 0, 1);\n\n\t\t\t\tgl_PointSize = charStep;\n\n\t\t\t\tcharId.x = mod(char, atlasDim.x);\n\t\t\t\tcharId.y = floor(char / atlasDim.x);\n\n\t\t\t\tcharWidth = width * em;\n\n\t\t\t\tfontColor = color / 255.;\n\t\t\t}`,frag:`\n\t\t\tprecision highp float;\n\t\t\tuniform float fontSize, charStep, opacity;\n\t\t\tuniform vec2 atlasSize;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform sampler2D atlas;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\n\t\t\tfloat lightness(vec4 color) {\n\t\t\t\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\n\t\t\t}\n\n\t\t\tvoid main () {\n\t\t\t\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\n\t\t\t\tfloat halfCharStep = floor(charStep * .5 + .5);\n\n\t\t\t\t// invert y and shift by 1px (FF expecially needs that)\n\t\t\t\tuv.y = charStep - uv.y;\n\n\t\t\t\t// ignore points outside of character bounding box\n\t\t\t\tfloat halfCharWidth = ceil(charWidth * .5);\n\t\t\t\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\n\t\t\t\t\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\n\n\t\t\t\tuv += charId * charStep;\n\t\t\t\tuv = uv / atlasSize;\n\n\t\t\t\tvec4 color = fontColor;\n\t\t\t\tvec4 mask = texture2D(atlas, uv);\n\n\t\t\t\tfloat maskY = lightness(mask);\n\t\t\t\t// float colorY = lightness(color);\n\t\t\t\tcolor.a *= maskY;\n\t\t\t\tcolor.a *= opacity;\n\n\t\t\t\t// color.a += .1;\n\n\t\t\t\t// antialiasing, see yiq color space y-channel formula\n\t\t\t\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\n\n\t\t\t\tgl_FragColor = color;\n\t\t\t}`}),y={};return{regl:v,draw:u,atlas:y}},E.prototype.update=function(v){var u=this;if(typeof v==\"string\")v={text:v};else if(!v)return;v=x(v,{position:\"position positions coord coords coordinates\",font:\"font fontFace fontface typeface cssFont css-font family fontFamily\",fontSize:\"fontSize fontsize size font-size\",text:\"text texts chars characters value values symbols\",align:\"align alignment textAlign textbaseline\",baseline:\"baseline textBaseline textbaseline\",direction:\"dir direction textDirection\",color:\"color colour fill fill-color fillColor textColor textcolor\",kerning:\"kerning kern\",range:\"range dataBox\",viewport:\"vp viewport viewBox viewbox viewPort\",opacity:\"opacity alpha transparency visible visibility opaque\",offset:\"offset positionOffset padding shift indent indentation\"},!0),v.opacity!=null&&(Array.isArray(v.opacity)?this.opacity=v.opacity.map(function(ue){return parseFloat(ue)}):this.opacity=parseFloat(v.opacity)),v.viewport!=null&&(this.viewport=n(v.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),v.kerning!=null&&(this.kerning=v.kerning),v.offset!=null&&(typeof v.offset==\"number\"&&(v.offset=[v.offset,0]),this.positionOffset=d(v.offset)),v.direction&&(this.direction=v.direction),v.range&&(this.range=v.range,this.scale=[1/(v.range[2]-v.range[0]),1/(v.range[3]-v.range[1])],this.translate=[-v.range[0],-v.range[1]]),v.scale&&(this.scale=v.scale),v.translate&&(this.translate=v.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!v.font&&(v.font=E.baseFontSize+\"px sans-serif\");var y=!1,f=!1;if(v.font&&(Array.isArray(v.font)?v.font:[v.font]).forEach(function(ue,Oe){if(typeof ue==\"string\")try{ue=g.parse(ue)}catch{ue=g.parse(E.baseFontSize+\"px \"+ue)}else{var rt=ue.style,ot=ue.weight,et=ue.stretch,Lt=ue.variant;ue=g.parse(g.stringify(ue)),rt&&(ue.style=rt),ot&&(ue.weight=ot),et&&(ue.stretch=et),Lt&&(ue.variant=Lt)}var Et=g.stringify({size:E.baseFontSize,family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style}),Bt=a(ue.size),qt=Math.round(Bt[0]*s(Bt[1]));if(qt!==u.fontSize[Oe]&&(f=!0,u.fontSize[Oe]=qt),(!u.font[Oe]||Et!=u.font[Oe].baseString)&&(y=!0,u.font[Oe]=E.fonts[Et],!u.font[Oe])){var fr=ue.family.join(\", \"),ar=[ue.style];ue.style!=ue.variant&&ar.push(ue.variant),ue.variant!=ue.weight&&ar.push(ue.weight),w&&ue.weight!=ue.stretch&&ar.push(ue.stretch),u.font[Oe]={baseString:Et,family:fr,weight:ue.weight,stretch:ue.stretch,style:ue.style,variant:ue.variant,width:{},kerning:{},metrics:p(fr,{origin:\"top\",fontSize:E.baseFontSize,fontStyle:ar.join(\" \")})},E.fonts[Et]=u.font[Oe]}}),(y||f)&&this.font.forEach(function(ue,Oe){var rt=g.stringify({size:u.fontSize[Oe],family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style});if(u.fontAtlas[Oe]=u.shader.atlas[rt],!u.fontAtlas[Oe]){var ot=ue.metrics;u.shader.atlas[rt]=u.fontAtlas[Oe]={fontString:rt,step:Math.ceil(u.fontSize[Oe]*ot.bottom*.5)*2,em:u.fontSize[Oe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:u.regl.texture()}}v.text==null&&(v.text=u.text)}),typeof v.text==\"string\"&&v.position&&v.position.length>2){for(var P=Array(v.position.length*.5),L=0;L2){for(var B=!v.position[0].length,O=o.mallocFloat(this.count*2),I=0,N=0;I1?u.align[Oe]:u.align[0]:u.align;if(typeof rt==\"number\")return rt;switch(rt){case\"right\":case\"end\":return-ue;case\"center\":case\"centre\":case\"middle\":return-ue*.5}return 0})),this.baseline==null&&v.baseline==null&&(v.baseline=0),v.baseline!=null&&(this.baseline=v.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ue,Oe){var rt=(u.font[Oe]||u.font[0]).metrics,ot=0;return ot+=rt.bottom*.5,typeof ue==\"number\"?ot+=ue-rt.baseline:ot+=-rt[ue],ot*=-1,ot})),v.color!=null)if(v.color||(v.color=\"transparent\"),typeof v.color==\"string\"||!isNaN(v.color))this.color=t(v.color,\"uint8\");else{var Ue;if(typeof v.color[0]==\"number\"&&v.color.length>this.counts.length){var Ie=v.color.length;Ue=o.mallocUint8(Ie);for(var Ye=(v.color.subarray||v.color.slice).bind(v.color),it=0;it4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(ut){var Me=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Me);for(var pe=0;pe1?this.counts[pe]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[pe]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(pe*4,pe*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[pe]:this.opacity,baseline:this.baselineOffset[pe]!=null?this.baselineOffset[pe]:this.baselineOffset[0],align:this.align?this.alignOffset[pe]!=null?this.alignOffset[pe]:this.alignOffset[0]:0,atlas:this.fontAtlas[pe]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(pe*2,pe*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},E.prototype.destroy=function(){},E.prototype.kerning=!0,E.prototype.position={constant:new Float32Array(2)},E.prototype.translate=null,E.prototype.scale=null,E.prototype.font=null,E.prototype.text=\"\",E.prototype.positionOffset=[0,0],E.prototype.opacity=1,E.prototype.color=new Uint8Array([0,0,0,255]),E.prototype.alignOffset=[0,0],E.maxAtlasSize=1024,E.atlasCanvas=document.createElement(\"canvas\"),E.atlasContext=E.atlasCanvas.getContext(\"2d\",{alpha:!1}),E.baseFontSize=64,E.fonts={};function m(b){return typeof b==\"function\"&&b._gl&&b.prop&&b.texture&&b.buffer}H.exports=E}}),fb=ke({\"src/lib/prepare_regl.js\"(Z,H){\"use strict\";var g=iA(),x=WA();H.exports=function(S,e,t){var r=S._fullLayout,o=!0;return r._glcanvas.each(function(n){if(n.regl){n.regl.preloadCachedCode(t);return}if(!(n.pick&&!r._has(\"parcoords\"))){try{n.regl=x({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:S._context.plotGlPixelRatio||window.devicePixelRatio,extensions:e||[],cachedCode:t||{}})}catch{o=!1}n.regl||(o=!1),o&&this.addEventListener(\"webglcontextlost\",function(i){S&&S.emit&&S.emit(\"plotly_webglcontextlost\",{event:i,layer:n.key})},!1)}}),o||g({container:r._glcontainer.node()}),o}}}),YA=ke({\"src/traces/scattergl/plot.js\"(c,H){\"use strict\";var g=SA(),x=BA(),A=BR(),S=QR(),e=un(),t=cv().selectMode,r=fb(),o=vu(),n=w2(),i=TA().styleTextSelection,a={};function s(h,p,d,T){var l=h._size,_=h.width*T,w=h.height*T,M=l.l*T,E=l.b*T,m=l.r*T,b=l.t*T,v=l.w*T,u=l.h*T;return[M+p.domain[0]*v,E+d.domain[0]*u,_-m-(1-p.domain[1])*v,w-b-(1-d.domain[1])*u]}var c=H.exports=function(p,d,T){if(T.length){var l=p._fullLayout,_=d._scene,w=d.xaxis,M=d.yaxis,E,m;if(_){var b=r(p,[\"ANGLE_instanced_arrays\",\"OES_element_index_uint\"],a);if(!b){_.init();return}var v=_.count,u=l._glcanvas.data()[0].regl;if(n(p,d,T),_.dirty){if((_.line2d||_.error2d)&&!(_.scatter2d||_.fill2d||_.glText)&&u.clear({}),_.error2d===!0&&(_.error2d=A(u)),_.line2d===!0&&(_.line2d=x(u)),_.scatter2d===!0&&(_.scatter2d=g(u)),_.fill2d===!0&&(_.fill2d=x(u)),_.glText===!0)for(_.glText=new Array(v),E=0;E_.glText.length){var y=v-_.glText.length;for(E=0;Eie&&(isNaN(ee[ce])||isNaN(ee[ce+1]));)ce-=2;j.positions=ee.slice(ie,ce+2)}return j}),_.line2d.update(_.lineOptions)),_.error2d){var L=(_.errorXOptions||[]).concat(_.errorYOptions||[]);_.error2d.update(L)}_.scatter2d&&_.scatter2d.update(_.markerOptions),_.fillOrder=e.repeat(null,v),_.fill2d&&(_.fillOptions=_.fillOptions.map(function(j,ee){var ie=T[ee];if(!(!j||!ie||!ie[0]||!ie[0].trace)){var ce=ie[0],xe=ce.trace,Te=ce.t,Ue=_.lineOptions[ee],Ie,Ye,it=[];xe._ownfill&&it.push(ee),xe._nexttrace&&it.push(ee+1),it.length&&(_.fillOrder[ee]=it);var at=[],tt=Ue&&Ue.positions||Te.positions,ut,Me;if(xe.fill===\"tozeroy\"){for(ut=0;utut&&isNaN(tt[Me+1]);)Me-=2;tt[ut+1]!==0&&(at=[tt[ut],0]),at=at.concat(tt.slice(ut,Me+2)),tt[Me+1]!==0&&(at=at.concat([tt[Me],0]))}else if(xe.fill===\"tozerox\"){for(ut=0;utut&&isNaN(tt[Me]);)Me-=2;tt[ut]!==0&&(at=[0,tt[ut+1]]),at=at.concat(tt.slice(ut,Me+2)),tt[Me]!==0&&(at=at.concat([0,tt[Me+1]]))}else if(xe.fill===\"toself\"||xe.fill===\"tonext\"){for(at=[],Ie=0,j.splitNull=!0,Ye=0;Ye-1;for(E=0;Ew&&d||_i,f;for(y?f=d.sizeAvg||Math.max(d.size,3):f=A(c,p),M=0;M<_.length;M++)w=_[M],E=h[w],m=x.getFromId(s,c._diag[w][0])||{},b=x.getFromId(s,c._diag[w][1])||{},S(s,c,m,b,T[M],T[M],f);var P=o(s,c);return P.matrix||(P.matrix=!0),P.matrixOptions=d,P.selectedOptions=t(s,c,c.selected),P.unselectedOptions=t(s,c,c.unselected),[{x:!1,y:!1,t:{},trace:c}]}}}),aD=ke({\"node_modules/performance-now/lib/performance-now.js\"(Z,H){(function(){var g,x,A,S,e,t;typeof performance<\"u\"&&performance!==null&&performance.now?H.exports=function(){return performance.now()}:typeof process<\"u\"&&process!==null&&process.hrtime?(H.exports=function(){return(g()-e)/1e6},x=process.hrtime,g=function(){var r;return r=x(),r[0]*1e9+r[1]},S=g(),t=process.uptime()*1e9,e=S-t):Date.now?(H.exports=function(){return Date.now()-A},A=Date.now()):(H.exports=function(){return new Date().getTime()-A},A=new Date().getTime())}).call(Z)}}),oD=ke({\"node_modules/raf/index.js\"(Z,H){var g=aD(),x=window,A=[\"moz\",\"webkit\"],S=\"AnimationFrame\",e=x[\"request\"+S],t=x[\"cancel\"+S]||x[\"cancelRequest\"+S];for(r=0;!e&&r{this.draw(),this.dirty=!0,this.planned=null})):(this.draw(),this.dirty=!0,S(()=>{this.dirty=!1})),this)},o.prototype.update=function(...s){if(!s.length)return;for(let p=0;pf||!d.lower&&y{c[T+_]=p})}this.scatter.draw(...c)}return this},o.prototype.destroy=function(){return this.traces.forEach(s=>{s.buffer&&s.buffer.destroy&&s.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this};function n(s,c,h){let p=s.id!=null?s.id:s,d=c,T=h;return p<<16|(d&255)<<8|T&255}function i(s,c,h){let p,d,T,l,_,w,M,E,m=s[c],b=s[h];return m.length>2?(p=m[0],T=m[2],d=m[1],l=m[3]):m.length?(p=d=m[0],T=l=m[1]):(p=m.x,d=m.y,T=m.x+m.width,l=m.y+m.height),b.length>2?(_=b[0],M=b[2],w=b[1],E=b[3]):b.length?(_=w=b[0],M=E=b[1]):(_=b.x,w=b.y,M=b.x+b.width,E=b.y+b.height),[_,d,M,l]}function a(s){if(typeof s==\"number\")return[s,s,s,s];if(s.length===2)return[s[0],s[1],s[0],s[1]];{let c=t(s);return[c.x,c.y,c.x+c.width,c.y+c.height]}}}}),uD=ke({\"src/traces/splom/plot.js\"(Z,H){\"use strict\";var g=lD(),x=un(),A=qc(),S=cv().selectMode;H.exports=function(r,o,n){if(n.length)for(var i=0;i-1,B=S(d)||!!i.selectedpoints||F,O=!0;if(B){var I=i._length;if(i.selectedpoints){s.selectBatch=i.selectedpoints;var N=i.selectedpoints,U={};for(_=0;_=W[Q][0]&&U<=W[Q][1])return!0;return!1}function c(U){U.attr(\"x\",-g.bar.captureWidth/2).attr(\"width\",g.bar.captureWidth)}function h(U){U.attr(\"visibility\",\"visible\").style(\"visibility\",\"visible\").attr(\"fill\",\"yellow\").attr(\"opacity\",0)}function p(U){if(!U.brush.filterSpecified)return\"0,\"+U.height;for(var W=d(U.brush.filter.getConsolidated(),U.height),Q=[0],le,se,fe,G=W.length?W[0][0]:null,$=0;$U[1]+Q||W=.9*U[1]+.1*U[0]?\"n\":W<=.9*U[0]+.1*U[1]?\"s\":\"ns\"}function l(){x.select(document.body).style(\"cursor\",null)}function _(U){U.attr(\"stroke-dasharray\",p)}function w(U,W){var Q=x.select(U).selectAll(\".highlight, .highlight-shadow\"),le=W?Q.transition().duration(g.bar.snapDuration).each(\"end\",W):Q;_(le)}function M(U,W){var Q=U.brush,le=Q.filterSpecified,se=NaN,fe={},G;if(le){var $=U.height,J=Q.filter.getConsolidated(),X=d(J,$),re=NaN,ae=NaN,j=NaN;for(G=0;G<=X.length;G++){var ee=X[G];if(ee&&ee[0]<=W&&W<=ee[1]){re=G;break}else if(ae=G?G-1:NaN,ee&&ee[0]>W){j=G;break}}if(se=re,isNaN(se)&&(isNaN(ae)||isNaN(j)?se=isNaN(ae)?j:ae:se=W-X[ae][1]=Ue[0]&&Te<=Ue[1]){fe.clickableOrdinalRange=Ue;break}}}return fe}function E(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.unitToPaddedPx.invert(Q),se=W.brush,fe=M(W,Q),G=fe.interval,$=se.svgBrush;if($.wasDragged=!1,$.grabbingBar=fe.region===\"ns\",$.grabbingBar){var J=G.map(W.unitToPaddedPx);$.grabPoint=Q-J[0]-g.verticalPadding,$.barLength=J[1]-J[0]}$.clickableOrdinalRange=fe.clickableOrdinalRange,$.stayingIntervals=W.multiselect&&se.filterSpecified?se.filter.getConsolidated():[],G&&($.stayingIntervals=$.stayingIntervals.filter(function(X){return X[0]!==G[0]&&X[1]!==G[1]})),$.startExtent=fe.region?G[fe.region===\"s\"?1:0]:le,W.parent.inBrushDrag=!0,$.brushStartCallback()}function m(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.brush.svgBrush;le.wasDragged=!0,le._dragging=!0,le.grabbingBar?le.newExtent=[Q-le.grabPoint,Q+le.barLength-le.grabPoint].map(W.unitToPaddedPx.invert):le.newExtent=[le.startExtent,W.unitToPaddedPx.invert(Q)].sort(e),W.brush.filterSpecified=!0,le.extent=le.stayingIntervals.concat([le.newExtent]),le.brushCallback(W),w(U.parentNode)}function b(U,W){var Q=W.brush,le=Q.filter,se=Q.svgBrush;se._dragging||(v(U,W),m(U,W),W.brush.svgBrush.wasDragged=!1),se._dragging=!1;var fe=x.event;fe.sourceEvent.stopPropagation();var G=se.grabbingBar;if(se.grabbingBar=!1,se.grabLocation=void 0,W.parent.inBrushDrag=!1,l(),!se.wasDragged){se.wasDragged=void 0,se.clickableOrdinalRange?Q.filterSpecified&&W.multiselect?se.extent.push(se.clickableOrdinalRange):(se.extent=[se.clickableOrdinalRange],Q.filterSpecified=!0):G?(se.extent=se.stayingIntervals,se.extent.length===0&&z(Q)):z(Q),se.brushCallback(W),w(U.parentNode),se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[]);return}var $=function(){le.set(le.getConsolidated())};if(W.ordinal){var J=W.unitTickvals;J[J.length-1]se.newExtent[0];se.extent=se.stayingIntervals.concat(X?[se.newExtent]:[]),se.extent.length||z(Q),se.brushCallback(W),X?w(U.parentNode,$):($(),w(U.parentNode))}else $();se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[])}function v(U,W){var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=M(W,Q),se=\"crosshair\";le.clickableOrdinalRange?se=\"pointer\":le.region&&(se=le.region+\"-resize\"),x.select(document.body).style(\"cursor\",se)}function u(U){U.on(\"mousemove\",function(W){x.event.preventDefault(),W.parent.inBrushDrag||v(this,W)}).on(\"mouseleave\",function(W){W.parent.inBrushDrag||l()}).call(x.behavior.drag().on(\"dragstart\",function(W){E(this,W)}).on(\"drag\",function(W){m(this,W)}).on(\"dragend\",function(W){b(this,W)}))}function y(U,W){return U[0]-W[0]}function f(U,W,Q){var le=Q._context.staticPlot,se=U.selectAll(\".background\").data(S);se.enter().append(\"rect\").classed(\"background\",!0).call(c).call(h).style(\"pointer-events\",le?\"none\":\"auto\").attr(\"transform\",t(0,g.verticalPadding)),se.call(u).attr(\"height\",function($){return $.height-g.verticalPadding});var fe=U.selectAll(\".highlight-shadow\").data(S);fe.enter().append(\"line\").classed(\"highlight-shadow\",!0).attr(\"x\",-g.bar.width/2).attr(\"stroke-width\",g.bar.width+g.bar.strokeWidth).attr(\"stroke\",W).attr(\"opacity\",g.bar.strokeOpacity).attr(\"stroke-linecap\",\"butt\"),fe.attr(\"y1\",function($){return $.height}).call(_);var G=U.selectAll(\".highlight\").data(S);G.enter().append(\"line\").classed(\"highlight\",!0).attr(\"x\",-g.bar.width/2).attr(\"stroke-width\",g.bar.width-g.bar.strokeWidth).attr(\"stroke\",g.bar.fillColor).attr(\"opacity\",g.bar.fillOpacity).attr(\"stroke-linecap\",\"butt\"),G.attr(\"y1\",function($){return $.height}).call(_)}function P(U,W,Q){var le=U.selectAll(\".\"+g.cn.axisBrush).data(S,A);le.enter().append(\"g\").classed(g.cn.axisBrush,!0),f(le,W,Q)}function L(U){return U.svgBrush.extent.map(function(W){return W.slice()})}function z(U){U.filterSpecified=!1,U.svgBrush.extent=[[-1/0,1/0]]}function F(U){return function(Q){var le=Q.brush,se=L(le),fe=se.slice();le.filter.set(fe),U()}}function B(U){for(var W=U.slice(),Q=[],le,se=W.shift();se;){for(le=se.slice();(se=W.shift())&&se[0]<=le[1];)le[1]=Math.max(le[1],se[1]);Q.push(le)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function O(){var U=[],W,Q;return{set:function(le){U=le.map(function(se){return se.slice().sort(e)}).sort(y),U.length===1&&U[0][0]===-1/0&&U[0][1]===1/0&&(U=[[0,-1]]),W=B(U),Q=U.reduce(function(se,fe){return[Math.min(se[0],fe[0]),Math.max(se[1],fe[1])]},[1/0,-1/0])},get:function(){return U.slice()},getConsolidated:function(){return W},getBounds:function(){return Q}}}function I(U,W,Q,le,se,fe){var G=O();return G.set(Q),{filter:G,filterSpecified:W,svgBrush:{extent:[],brushStartCallback:le,brushCallback:F(se),brushEndCallback:fe}}}function N(U,W){if(Array.isArray(U[0])?(U=U.map(function(le){return le.sort(e)}),W.multiselect?U=B(U.sort(y)):U=[U[0]]):U=[U.sort(e)],W.tickvals){var Q=W.tickvals.slice().sort(e);if(U=U.map(function(le){var se=[a(0,Q,le[0],[]),a(1,Q,le[1],[])];if(se[1]>se[0])return se}).filter(function(le){return le}),!U.length)return}return U.length>1?U:U[0]}H.exports={makeBrush:I,ensureAxisBrush:P,cleanRanges:N}}}),gD=ke({\"src/traces/parcoords/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=Ho(),r=$A(),o=QA(),n=K0().maxDimensionCount,i=hb();function a(c,h,p,d,T){var l=T(\"line.color\",p);if(x(c,\"line\")&&g.isArrayOrTypedArray(l)){if(l.length)return T(\"line.colorscale\"),A(c,h,d,T,{prefix:\"line.\",cLetter:\"c\"}),l.length;h.line.color=p}return 1/0}function s(c,h,p,d){function T(E,m){return g.coerce(c,h,r.dimensions,E,m)}var l=T(\"values\"),_=T(\"visible\");if(l&&l.length||(_=h.visible=!1),_){T(\"label\"),T(\"tickvals\"),T(\"ticktext\"),T(\"tickformat\");var w=T(\"range\");h._ax={_id:\"y\",type:\"linear\",showexponent:\"all\",exponentformat:\"B\",range:w},t.setConvert(h._ax,d.layout),T(\"multiselect\");var M=T(\"constraintrange\");M&&(h.constraintrange=o.cleanRanges(M,h))}}H.exports=function(h,p,d,T){function l(m,b){return g.coerce(h,p,r,m,b)}var _=h.dimensions;Array.isArray(_)&&_.length>n&&(g.log(\"parcoords traces support up to \"+n+\" dimensions at the moment\"),_.splice(n));var w=e(h,p,{name:\"dimensions\",layout:T,handleItemDefaults:s}),M=a(h,p,d,T,l);S(p,T,l),(!Array.isArray(w)||!w.length)&&(p.visible=!1),i(p,w,\"values\",M);var E=g.extendFlat({},T.font,{size:Math.round(T.font.size/1.2)});g.coerceFont(l,\"labelfont\",E),g.coerceFont(l,\"tickfont\",E,{autoShadowDflt:!0}),g.coerceFont(l,\"rangefont\",E),l(\"labelangle\"),l(\"labelside\"),l(\"unselected.line.color\"),l(\"unselected.line.opacity\")}}}),yD=ke({\"src/traces/parcoords/calc.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray,x=ku(),A=Dv().wrap;H.exports=function(t,r){var o,n;return x.hasColorscale(r,\"line\")&&g(r.line.color)?(o=r.line.color,n=x.extractOpts(r.line).colorscale,x.calc(t,r,{vals:o,containerStr:\"line\",cLetter:\"c\"})):(o=S(r._length),n=[[0,r.line.color],[1,r.line.color]]),A({lineColor:o,cscale:n})};function S(e){for(var t=new Array(e),r=0;r>>16,(Z&65280)>>>8,Z&255],alpha:1};if(typeof Z==\"number\")return{space:\"rgb\",values:[Z>>>16,(Z&65280)>>>8,Z&255],alpha:1};if(Z=String(Z).toLowerCase(),db.default[Z])A=db.default[Z].slice(),e=\"rgb\";else if(Z===\"transparent\")S=0,e=\"rgb\",A=[0,0,0];else if(Z[0]===\"#\"){var t=Z.slice(1),r=t.length,o=r<=4;S=1,o?(A=[parseInt(t[0]+t[0],16),parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16)],r===4&&(S=parseInt(t[3]+t[3],16)/255)):(A=[parseInt(t[0]+t[1],16),parseInt(t[2]+t[3],16),parseInt(t[4]+t[5],16)],r===8&&(S=parseInt(t[6]+t[7],16)/255)),A[0]||(A[0]=0),A[1]||(A[1]=0),A[2]||(A[2]=0),e=\"rgb\"}else if(x=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\\s*\\(([^\\)]*)\\)/.exec(Z)){var n=x[1];e=n.replace(/a$/,\"\");var i=e===\"cmyk\"?4:e===\"gray\"?1:3;A=x[2].trim().split(/\\s*[,\\/]\\s*|\\s+/),e===\"color\"&&(e=A.shift()),A=A.map(function(a,s){if(a[a.length-1]===\"%\")return a=parseFloat(a)/100,s===3?a:e===\"rgb\"?a*255:e[0]===\"h\"||e[0]===\"l\"&&!s?a*100:e===\"lab\"?a*125:e===\"lch\"?s<2?a*150:a*360:e[0]===\"o\"&&!s?a:e===\"oklab\"?a*.4:e===\"oklch\"?s<2?a*.4:a*360:a;if(e[s]===\"h\"||s===2&&e[e.length-1]===\"h\"){if(vb[a]!==void 0)return vb[a];if(a.endsWith(\"deg\"))return parseFloat(a);if(a.endsWith(\"turn\"))return parseFloat(a)*360;if(a.endsWith(\"grad\"))return parseFloat(a)*360/400;if(a.endsWith(\"rad\"))return parseFloat(a)*180/Math.PI}return a===\"none\"?0:parseFloat(a)}),S=A.length>i?A.pop():1}else/[0-9](?:\\s|\\/|,)/.test(Z)&&(A=Z.match(/([0-9]+)/g).map(function(a){return parseFloat(a)}),e=((g=(H=Z.match(/([a-z])/ig))==null?void 0:H.join(\"\"))==null?void 0:g.toLowerCase())||\"rgb\");return{space:e,values:A,alpha:S}}var db,eM,vb,xD=Er({\"node_modules/color-parse/index.js\"(){db=Ei(tA(),1),eM=_D,vb={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}}),J0,tM=Er({\"node_modules/color-space/rgb.js\"(){J0={name:\"rgb\",min:[0,0,0],max:[255,255,255],channel:[\"red\",\"green\",\"blue\"],alias:[\"RGB\"]}}}),$0,bD=Er({\"node_modules/color-space/hsl.js\"(){tM(),$0={name:\"hsl\",min:[0,0,0],max:[360,100,100],channel:[\"hue\",\"saturation\",\"lightness\"],alias:[\"HSL\"],rgb:function(Z){var H=Z[0]/360,g=Z[1]/100,x=Z[2]/100,A,S,e,t,r,o=0;if(g===0)return r=x*255,[r,r,r];for(S=x<.5?x*(1+g):x+g-x*g,A=2*x-S,t=[0,0,0];o<3;)e=H+1/3*-(o-1),e<0?e++:e>1&&e--,r=6*e<1?A+(S-A)*6*e:2*e<1?S:3*e<2?A+(S-A)*(2/3-e)*6:A,t[o++]=r*255;return t}},J0.hsl=function(Z){var H=Z[0]/255,g=Z[1]/255,x=Z[2]/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=S-A,t,r,o;return S===A?t=0:H===S?t=(g-x)/e:g===S?t=2+(x-H)/e:x===S&&(t=4+(H-g)/e),t=Math.min(t*60,360),t<0&&(t+=360),o=(A+S)/2,S===A?r=0:o<=.5?r=e/(S+A):r=e/(2-S-A),[t,r*100,o*100]}}}),rM={};Pn(rM,{default:()=>wD});function wD(Z){Array.isArray(Z)&&Z.raw&&(Z=String.raw(...arguments)),Z instanceof Number&&(Z=+Z);var H,g,x,A=eM(Z);if(!A.space)return[];let S=A.space[0]===\"h\"?$0.min:J0.min,e=A.space[0]===\"h\"?$0.max:J0.max;return H=Array(3),H[0]=Math.min(Math.max(A.values[0],S[0]),e[0]),H[1]=Math.min(Math.max(A.values[1],S[1]),e[1]),H[2]=Math.min(Math.max(A.values[2],S[2]),e[2]),A.space[0]===\"h\"&&(H=$0.rgb(H)),H.push(Math.min(Math.max(A.alpha,0),1)),H}var TD=Er({\"node_modules/color-rgba/index.js\"(){xD(),tM(),bD()}}),nM=ke({\"src/traces/parcoords/helpers.js\"(Z){\"use strict\";var H=un().isTypedArray;Z.convertTypedArray=function(g){return H(g)?Array.prototype.slice.call(g):g},Z.isOrdinal=function(g){return!!g.tickvals},Z.isVisible=function(g){return g.visible||!(\"visible\"in g)}}}),AD=ke({\"src/traces/parcoords/lines.js\"(Z,H){\"use strict\";var g=[\"precision highp float;\",\"\",\"varying vec4 fragColor;\",\"\",\"attribute vec4 p01_04, p05_08, p09_12, p13_16,\",\" p17_20, p21_24, p25_28, p29_32,\",\" p33_36, p37_40, p41_44, p45_48,\",\" p49_52, p53_56, p57_60, colors;\",\"\",\"uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,\",\" loA, hiA, loB, hiB, loC, hiC, loD, hiD;\",\"\",\"uniform vec2 resolution, viewBoxPos, viewBoxSize;\",\"uniform float maskHeight;\",\"uniform float drwLayer; // 0: context, 1: focus, 2: pick\",\"uniform vec4 contextColor;\",\"uniform sampler2D maskTexture, palette;\",\"\",\"bool isPick = (drwLayer > 1.5);\",\"bool isContext = (drwLayer < 0.5);\",\"\",\"const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);\",\"const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);\",\"\",\"float val(mat4 p, mat4 v) {\",\" return dot(matrixCompMult(p, v) * UNITS, UNITS);\",\"}\",\"\",\"float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {\",\" float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);\",\" float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);\",\" return y1 * (1.0 - ratio) + y2 * ratio;\",\"}\",\"\",\"int iMod(int a, int b) {\",\" return a - b * (a / b);\",\"}\",\"\",\"bool fOutside(float p, float lo, float hi) {\",\" return (lo < hi) && (lo > p || p > hi);\",\"}\",\"\",\"bool vOutside(vec4 p, vec4 lo, vec4 hi) {\",\" return (\",\" fOutside(p[0], lo[0], hi[0]) ||\",\" fOutside(p[1], lo[1], hi[1]) ||\",\" fOutside(p[2], lo[2], hi[2]) ||\",\" fOutside(p[3], lo[3], hi[3])\",\" );\",\"}\",\"\",\"bool mOutside(mat4 p, mat4 lo, mat4 hi) {\",\" return (\",\" vOutside(p[0], lo[0], hi[0]) ||\",\" vOutside(p[1], lo[1], hi[1]) ||\",\" vOutside(p[2], lo[2], hi[2]) ||\",\" vOutside(p[3], lo[3], hi[3])\",\" );\",\"}\",\"\",\"bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {\",\" return mOutside(A, loA, hiA) ||\",\" mOutside(B, loB, hiB) ||\",\" mOutside(C, loC, hiC) ||\",\" mOutside(D, loD, hiD);\",\"}\",\"\",\"bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {\",\" mat4 pnts[4];\",\" pnts[0] = A;\",\" pnts[1] = B;\",\" pnts[2] = C;\",\" pnts[3] = D;\",\"\",\" for(int i = 0; i < 4; ++i) {\",\" for(int j = 0; j < 4; ++j) {\",\" for(int k = 0; k < 4; ++k) {\",\" if(0 == iMod(\",\" int(255.0 * texture2D(maskTexture,\",\" vec2(\",\" (float(i * 2 + j / 2) + 0.5) / 8.0,\",\" (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight\",\" ))[3]\",\" ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),\",\" 2\",\" )) return true;\",\" }\",\" }\",\" }\",\" return false;\",\"}\",\"\",\"vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {\",\" float x = 0.5 * sign(v) + 0.5;\",\" float y = axisY(x, A, B, C, D);\",\" float z = 1.0 - abs(v);\",\"\",\" z += isContext ? 0.0 : 2.0 * float(\",\" outsideBoundingBox(A, B, C, D) ||\",\" outsideRasterMask(A, B, C, D)\",\" );\",\"\",\" return vec4(\",\" 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,\",\" z,\",\" 1.0\",\" );\",\"}\",\"\",\"void main() {\",\" mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);\",\" mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);\",\" mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);\",\" mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);\",\"\",\" float v = colors[3];\",\"\",\" gl_Position = position(isContext, v, A, B, C, D);\",\"\",\" fragColor =\",\" isContext ? vec4(contextColor) :\",\" isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));\",\"}\"].join(`\n`),x=[\"precision highp float;\",\"\",\"varying vec4 fragColor;\",\"\",\"void main() {\",\" gl_FragColor = fragColor;\",\"}\"].join(`\n`),A=K0().maxDimensionCount,S=un(),e=1e-6,t=2048,r=new Uint8Array(4),o=new Uint8Array(4),n={shape:[256,1],format:\"rgba\",type:\"uint8\",mag:\"nearest\",min:\"nearest\"};function i(b){b.read({x:0,y:0,width:1,height:1,data:r})}function a(b,v,u,y,f){var P=b._gl;P.enable(P.SCISSOR_TEST),P.scissor(v,u,y,f),b.clear({color:[0,0,0,0],depth:1})}function s(b,v,u,y,f,P){var L=P.key;function z(F){var B=Math.min(y,f-F*y);F===0&&(window.cancelAnimationFrame(u.currentRafs[L]),delete u.currentRafs[L],a(b,P.scissorX,P.scissorY,P.scissorWidth,P.viewBoxSize[1])),!u.clearOnly&&(P.count=2*B,P.offset=2*F*y,v(P),F*y+B>>8*v)%256/255}function d(b,v,u){for(var y=new Array(b*(A+4)),f=0,P=0;PIe&&(Ie=ae[ce].dim1.canvasX,Te=ce);ie===0&&a(f,0,0,B.canvasWidth,B.canvasHeight);var Ye=G(u);for(ce=0;cece._length&&(ut=ut.slice(0,ce._length));var Me=ce.tickvals,pe;function ue(Lt,Et){return{val:Lt,text:pe[Et]}}function Oe(Lt,Et){return Lt.val-Et.val}if(A(Me)&&Me.length){x.isTypedArray(Me)&&(Me=Array.from(Me)),pe=ce.ticktext,!A(pe)||!pe.length?pe=Me.map(S(ce.tickformat)):pe.length>Me.length?pe=pe.slice(0,Me.length):Me.length>pe.length&&(Me=Me.slice(0,pe.length));for(var rt=1;rt=Et||ar>=Bt)return;var Rr=et.lineLayer.readPixel(fr,Bt-1-ar),gr=Rr[3]!==0,br=gr?Rr[2]+256*(Rr[1]+256*Rr[0]):null,_t={x:fr,y:ar,clientX:Lt.clientX,clientY:Lt.clientY,dataIndex:et.model.key,curveNumber:br};br!==Te&&(gr?$.hover(_t):$.unhover&&$.unhover(_t),Te=br)}}),xe.style(\"opacity\",function(et){return et.pick?0:1}),re.style(\"background\",\"rgba(255, 255, 255, 0)\");var Ie=re.selectAll(\".\"+T.cn.parcoords).data(ce,c);Ie.exit().remove(),Ie.enter().append(\"g\").classed(T.cn.parcoords,!0).style(\"shape-rendering\",\"crispEdges\").style(\"pointer-events\",\"none\"),Ie.attr(\"transform\",function(et){return o(et.model.translateX,et.model.translateY)});var Ye=Ie.selectAll(\".\"+T.cn.parcoordsControlView).data(h,c);Ye.enter().append(\"g\").classed(T.cn.parcoordsControlView,!0),Ye.attr(\"transform\",function(et){return o(et.model.pad.l,et.model.pad.t)});var it=Ye.selectAll(\".\"+T.cn.yAxis).data(function(et){return et.dimensions},c);it.enter().append(\"g\").classed(T.cn.yAxis,!0),Ye.each(function(et){N(it,et,j)}),xe.each(function(et){if(et.viewModel){!et.lineLayer||$?et.lineLayer=_(this,et):et.lineLayer.update(et),(et.key||et.key===0)&&(et.viewModel[et.key]=et.lineLayer);var Lt=!et.context||$;et.lineLayer.render(et.viewModel.panels,Lt)}}),it.attr(\"transform\",function(et){return o(et.xScale(et.xIndex),0)}),it.call(g.behavior.drag().origin(function(et){return et}).on(\"drag\",function(et){var Lt=et.parent;ie.linePickActive(!1),et.x=Math.max(-T.overdrag,Math.min(et.model.width+T.overdrag,g.event.x)),et.canvasX=et.x*et.model.canvasPixelRatio,it.sort(function(Et,Bt){return Et.x-Bt.x}).each(function(Et,Bt){Et.xIndex=Bt,Et.x=et===Et?Et.x:Et.xScale(Et.xIndex),Et.canvasX=Et.x*Et.model.canvasPixelRatio}),N(it,Lt,j),it.filter(function(Et){return Math.abs(et.xIndex-Et.xIndex)!==0}).attr(\"transform\",function(Et){return o(Et.xScale(Et.xIndex),0)}),g.select(this).attr(\"transform\",o(et.x,0)),it.each(function(Et,Bt,qt){qt===et.parent.key&&(Lt.dimensions[Bt]=Et)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer.render&&Lt.focusLayer.render(Lt.panels)}).on(\"dragend\",function(et){var Lt=et.parent;et.x=et.xScale(et.xIndex),et.canvasX=et.x*et.model.canvasPixelRatio,N(it,Lt,j),g.select(this).attr(\"transform\",function(Et){return o(Et.x,0)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer&&Lt.focusLayer.render(Lt.panels),Lt.pickLayer&&Lt.pickLayer.render(Lt.panels,!0),ie.linePickActive(!0),$&&$.axesMoved&&$.axesMoved(Lt.key,Lt.dimensions.map(function(Et){return Et.crossfilterDimensionIndex}))})),it.exit().remove();var at=it.selectAll(\".\"+T.cn.axisOverlays).data(h,c);at.enter().append(\"g\").classed(T.cn.axisOverlays,!0),at.selectAll(\".\"+T.cn.axis).remove();var tt=at.selectAll(\".\"+T.cn.axis).data(h,c);tt.enter().append(\"g\").classed(T.cn.axis,!0),tt.each(function(et){var Lt=et.model.height/et.model.tickDistance,Et=et.domainScale,Bt=Et.domain();g.select(this).call(g.svg.axis().orient(\"left\").tickSize(4).outerTickSize(2).ticks(Lt,et.tickFormat).tickValues(et.ordinal?Bt:null).tickFormat(function(qt){return d.isOrdinal(et)?qt:W(et.model.dimensions[et.visibleIndex],qt)}).scale(Et)),i.font(tt.selectAll(\"text\"),et.model.tickFont)}),tt.selectAll(\".domain, .tick>line\").attr(\"fill\",\"none\").attr(\"stroke\",\"black\").attr(\"stroke-opacity\",.25).attr(\"stroke-width\",\"1px\"),tt.selectAll(\"text\").style(\"cursor\",\"default\");var ut=at.selectAll(\".\"+T.cn.axisHeading).data(h,c);ut.enter().append(\"g\").classed(T.cn.axisHeading,!0);var Me=ut.selectAll(\".\"+T.cn.axisTitle).data(h,c);Me.enter().append(\"text\").classed(T.cn.axisTitle,!0).attr(\"text-anchor\",\"middle\").style(\"cursor\",\"ew-resize\").style(\"pointer-events\",J?\"none\":\"auto\"),Me.text(function(et){return et.label}).each(function(et){var Lt=g.select(this);i.font(Lt,et.model.labelFont),n.convertToTspans(Lt,se)}).attr(\"transform\",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=T.axisTitleOffset;return(Lt.dir>0?\"\":o(0,2*Et+et.model.height))+r(Lt.degrees)+o(-Et*Lt.dx,-Et*Lt.dy)}).attr(\"text-anchor\",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=Math.abs(Lt.dx),Bt=Math.abs(Lt.dy);return 2*Et>Bt?Lt.dir*Lt.dx<0?\"start\":\"end\":\"middle\"});var pe=at.selectAll(\".\"+T.cn.axisExtent).data(h,c);pe.enter().append(\"g\").classed(T.cn.axisExtent,!0);var ue=pe.selectAll(\".\"+T.cn.axisExtentTop).data(h,c);ue.enter().append(\"g\").classed(T.cn.axisExtentTop,!0),ue.attr(\"transform\",o(0,-T.axisExtentOffset));var Oe=ue.selectAll(\".\"+T.cn.axisExtentTopText).data(h,c);Oe.enter().append(\"text\").classed(T.cn.axisExtentTopText,!0).call(B),Oe.text(function(et){return Q(et,!0)}).each(function(et){i.font(g.select(this),et.model.rangeFont)});var rt=pe.selectAll(\".\"+T.cn.axisExtentBottom).data(h,c);rt.enter().append(\"g\").classed(T.cn.axisExtentBottom,!0),rt.attr(\"transform\",function(et){return o(0,et.model.height+T.axisExtentOffset)});var ot=rt.selectAll(\".\"+T.cn.axisExtentBottomText).data(h,c);ot.enter().append(\"text\").classed(T.cn.axisExtentBottomText,!0).attr(\"dy\",\"0.75em\").call(B),ot.text(function(et){return Q(et,!1)}).each(function(et){i.font(g.select(this),et.model.rangeFont)}),l.ensureAxisBrush(at,ee,se)}}}),iM=ke({\"src/traces/parcoords/plot.js\"(r,H){\"use strict\";var g=MD(),x=fb(),A=nM().isVisible,S={};function e(o,n,i){var a=n.indexOf(i),s=o.indexOf(a);return s===-1&&(s+=n.length),s}function t(o,n){return function(a,s){return e(o,n,a)-e(o,n,s)}}var r=H.exports=function(n,i){var a=n._fullLayout,s=x(n,[],S);if(s){var c={},h={},p={},d={},T=a._size;i.forEach(function(E,m){var b=E[0].trace;p[m]=b.index;var v=d[m]=b.index;c[m]=n.data[v].dimensions,h[m]=n.data[v].dimensions.slice()});var l=function(E,m,b){var v=h[E][m],u=b.map(function(F){return F.slice()}),y=\"dimensions[\"+m+\"].constraintrange\",f=a._tracePreGUI[n._fullData[p[E]]._fullInput.uid];if(f[y]===void 0){var P=v.constraintrange;f[y]=P||null}var L=n._fullData[p[E]].dimensions[m];u.length?(u.length===1&&(u=u[0]),v.constraintrange=u,L.constraintrange=u.slice(),u=[u]):(delete v.constraintrange,delete L.constraintrange,u=null);var z={};z[y]=u,n.emit(\"plotly_restyle\",[z,[d[E]]])},_=function(E){n.emit(\"plotly_hover\",E)},w=function(E){n.emit(\"plotly_unhover\",E)},M=function(E,m){var b=t(m,h[E].filter(A));c[E].sort(b),h[E].filter(function(v){return!A(v)}).sort(function(v){return h[E].indexOf(v)}).forEach(function(v){c[E].splice(c[E].indexOf(v),1),c[E].splice(h[E].indexOf(v),0,v)}),n.emit(\"plotly_restyle\",[{dimensions:[c[E]]},[d[E]]])};g(n,i,{width:T.w,height:T.h,margin:{t:T.t,r:T.r,b:T.b,l:T.l}},{filterChanged:l,hover:_,unhover:w,axesMoved:M})}};r.reglPrecompiled=S}}),SD=ke({\"src/traces/parcoords/base_plot.js\"(Z){\"use strict\";var H=_i(),g=bh().getModuleCalcData,x=iM(),A=zd();Z.name=\"parcoords\",Z.plot=function(S){var e=g(S.calcdata,\"parcoords\")[0];e.length&&x(S,e)},Z.clean=function(S,e,t,r){var o=r._has&&r._has(\"parcoords\"),n=e._has&&e._has(\"parcoords\");o&&!n&&(r._paperdiv.selectAll(\".parcoords\").remove(),r._glimages.selectAll(\"*\").remove())},Z.toSVG=function(S){var e=S._fullLayout._glimages,t=H.select(S).selectAll(\".svg-container\"),r=t.filter(function(n,i){return i===t.size()-1}).selectAll(\".gl-canvas-context, .gl-canvas-focus\");function o(){var n=this,i=n.toDataURL(\"image/png\"),a=e.append(\"svg:image\");a.attr({xmlns:A.svg,\"xlink:href\":i,preserveAspectRatio:\"none\",x:0,y:0,width:n.style.width,height:n.style.height})}r.each(o),window.setTimeout(function(){H.selectAll(\"#filterBarPattern\").attr(\"id\",\"filterBarPattern\")},60)}}}),ED=ke({\"src/traces/parcoords/base_index.js\"(Z,H){\"use strict\";H.exports={attributes:$A(),supplyDefaults:gD(),calc:yD(),colorbar:{container:\"line\",min:\"cmin\",max:\"cmax\"},moduleType:\"trace\",name:\"parcoords\",basePlotModule:SD(),categories:[\"gl\",\"regl\",\"noOpacity\",\"noHover\"],meta:{}}}}),CD=ke({\"src/traces/parcoords/index.js\"(Z,H){\"use strict\";var g=ED();g.plot=iM(),H.exports=g}}),kD=ke({\"lib/parcoords.js\"(Z,H){\"use strict\";H.exports=CD()}}),aM=ke({\"src/traces/parcats/attributes.js\"(Z,H){\"use strict\";var g=To().extendFlat,x=Ol(),A=Il(),S=ou(),e=Rs().hovertemplateAttrs,t=Yu().attributes,r=g({editType:\"calc\"},S(\"line\",{editTypeOverride:\"calc\"}),{shape:{valType:\"enumerated\",values:[\"linear\",\"hspline\"],dflt:\"linear\",editType:\"plot\"},hovertemplate:e({editType:\"plot\",arrayOk:!1},{keys:[\"count\",\"probability\"]})});H.exports={domain:t({name:\"parcats\",trace:!0,editType:\"calc\"}),hoverinfo:g({},x.hoverinfo,{flags:[\"count\",\"probability\"],editType:\"plot\",arrayOk:!1}),hoveron:{valType:\"enumerated\",values:[\"category\",\"color\",\"dimension\"],dflt:\"category\",editType:\"plot\"},hovertemplate:e({editType:\"plot\",arrayOk:!1},{keys:[\"count\",\"probability\",\"category\",\"categorycount\",\"colorcount\",\"bandcolorcount\"]}),arrangement:{valType:\"enumerated\",values:[\"perpendicular\",\"freeform\",\"fixed\"],dflt:\"perpendicular\",editType:\"plot\"},bundlecolors:{valType:\"boolean\",dflt:!0,editType:\"plot\"},sortpaths:{valType:\"enumerated\",values:[\"forward\",\"backward\"],dflt:\"forward\",editType:\"plot\"},labelfont:A({editType:\"calc\"}),tickfont:A({autoShadowDflt:!0,editType:\"calc\"}),dimensions:{_isLinkedToArray:\"dimension\",label:{valType:\"string\",editType:\"calc\"},categoryorder:{valType:\"enumerated\",values:[\"trace\",\"category ascending\",\"category descending\",\"array\"],dflt:\"trace\",editType:\"calc\"},categoryarray:{valType:\"data_array\",editType:\"calc\"},ticktext:{valType:\"data_array\",editType:\"calc\"},values:{valType:\"data_array\",dflt:[],editType:\"calc\"},displayindex:{valType:\"integer\",editType:\"calc\"},editType:\"calc\",visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"}},line:r,counts:{valType:\"number\",min:0,dflt:1,arrayOk:!0,editType:\"calc\"},customdata:void 0,hoverlabel:void 0,ids:void 0,legend:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}}}),LD=ke({\"src/traces/parcats/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=aM(),r=hb(),o=Oa().isTypedArraySpec;function n(a,s,c,h,p){p(\"line.shape\"),p(\"line.hovertemplate\");var d=p(\"line.color\",h.colorway[0]);if(x(a,\"line\")&&g.isArrayOrTypedArray(d)){if(d.length)return p(\"line.colorscale\"),A(a,s,h,p,{prefix:\"line.\",cLetter:\"c\"}),d.length;s.line.color=c}return 1/0}function i(a,s){function c(w,M){return g.coerce(a,s,t.dimensions,w,M)}var h=c(\"values\"),p=c(\"visible\");if(h&&h.length||(p=s.visible=!1),p){c(\"label\"),c(\"displayindex\",s._index);var d=a.categoryarray,T=g.isArrayOrTypedArray(d)&&d.length>0||o(d),l;T&&(l=\"array\");var _=c(\"categoryorder\",l);_===\"array\"?(c(\"categoryarray\"),c(\"ticktext\")):(delete a.categoryarray,delete a.ticktext),!T&&_===\"array\"&&(s.categoryorder=\"trace\")}}H.exports=function(s,c,h,p){function d(w,M){return g.coerce(s,c,t,w,M)}var T=e(s,c,{name:\"dimensions\",handleItemDefaults:i}),l=n(s,c,h,p,d);S(c,p,d),(!Array.isArray(T)||!T.length)&&(c.visible=!1),r(c,T,\"values\",l),d(\"hoveron\"),d(\"hovertemplate\"),d(\"arrangement\"),d(\"bundlecolors\"),d(\"sortpaths\"),d(\"counts\");var _=p.font;g.coerceFont(d,\"labelfont\",_,{overrideDflt:{size:Math.round(_.size)}}),g.coerceFont(d,\"tickfont\",_,{autoShadowDflt:!0,overrideDflt:{size:Math.round(_.size/1.2)}})}}}),PD=ke({\"src/traces/parcats/calc.js\"(Z,H){\"use strict\";var g=Dv().wrap,x=ad().hasColorscale,A=od(),S=Vw(),e=$o(),t=un(),r=Yn();H.exports=function(_,w){var M=t.filterVisible(w.dimensions);if(M.length===0)return[];var E=M.map(function(G){var $;if(G.categoryorder===\"trace\")$=null;else if(G.categoryorder===\"array\")$=G.categoryarray;else{$=S(G.values);for(var J=!0,X=0;X<$.length;X++)if(!r($[X])){J=!1;break}$.sort(J?t.sorterAsc:void 0),G.categoryorder===\"category descending\"&&($=$.reverse())}return h(G.values,$)}),m,b,v;t.isArrayOrTypedArray(w.counts)?m=w.counts:m=[w.counts],p(M),M.forEach(function(G,$){d(G,E[$])});var u=w.line,y;u?(x(w,\"line\")&&A(_,w,{vals:w.line.color,containerStr:\"line\",cLetter:\"c\"}),y=e.tryColorscale(u)):y=t.identity;function f(G){var $,J;return t.isArrayOrTypedArray(u.color)?($=u.color[G%u.color.length],J=$):$=u.color,{color:y($),rawColor:J}}var P=M[0].values.length,L={},z=E.map(function(G){return G.inds});v=0;var F,B;for(F=0;F=l.length||_[l[w]]!==void 0)return!1;_[l[w]]=!0}return!0}}}),ID=ke({\"src/traces/parcats/parcats.js\"(Z,H){\"use strict\";var g=_i(),x=(Ym(),hi(Xp)).interpolateNumber,A=__(),S=Ec(),e=un(),t=e.strTranslate,r=$o(),o=ru(),n=Wl();function i(X,re,ae,j){var ee=re._context.staticPlot,ie=X.map(se.bind(0,re,ae)),ce=j.selectAll(\"g.parcatslayer\").data([null]);ce.enter().append(\"g\").attr(\"class\",\"parcatslayer\").style(\"pointer-events\",ee?\"none\":\"all\");var xe=ce.selectAll(\"g.trace.parcats\").data(ie,a),Te=xe.enter().append(\"g\").attr(\"class\",\"trace parcats\");xe.attr(\"transform\",function(ue){return t(ue.x,ue.y)}),Te.append(\"g\").attr(\"class\",\"paths\");var Ue=xe.select(\"g.paths\"),Ie=Ue.selectAll(\"path.path\").data(function(ue){return ue.paths},a);Ie.attr(\"fill\",function(ue){return ue.model.color});var Ye=Ie.enter().append(\"path\").attr(\"class\",\"path\").attr(\"stroke-opacity\",0).attr(\"fill\",function(ue){return ue.model.color}).attr(\"fill-opacity\",0);_(Ye),Ie.attr(\"d\",function(ue){return ue.svgD}),Ye.empty()||Ie.sort(c),Ie.exit().remove(),Ie.on(\"mouseover\",h).on(\"mouseout\",p).on(\"click\",l),Te.append(\"g\").attr(\"class\",\"dimensions\");var it=xe.select(\"g.dimensions\"),at=it.selectAll(\"g.dimension\").data(function(ue){return ue.dimensions},a);at.enter().append(\"g\").attr(\"class\",\"dimension\"),at.attr(\"transform\",function(ue){return t(ue.x,0)}),at.exit().remove();var tt=at.selectAll(\"g.category\").data(function(ue){return ue.categories},a),ut=tt.enter().append(\"g\").attr(\"class\",\"category\");tt.attr(\"transform\",function(ue){return t(0,ue.y)}),ut.append(\"rect\").attr(\"class\",\"catrect\").attr(\"pointer-events\",\"none\"),tt.select(\"rect.catrect\").attr(\"fill\",\"none\").attr(\"width\",function(ue){return ue.width}).attr(\"height\",function(ue){return ue.height}),E(ut);var Me=tt.selectAll(\"rect.bandrect\").data(function(ue){return ue.bands},a);Me.each(function(){e.raiseToTop(this)}),Me.attr(\"fill\",function(ue){return ue.color});var pe=Me.enter().append(\"rect\").attr(\"class\",\"bandrect\").attr(\"stroke-opacity\",0).attr(\"fill\",function(ue){return ue.color}).attr(\"fill-opacity\",0);Me.attr(\"fill\",function(ue){return ue.color}).attr(\"width\",function(ue){return ue.width}).attr(\"height\",function(ue){return ue.height}).attr(\"y\",function(ue){return ue.y}).attr(\"cursor\",function(ue){return ue.parcatsViewModel.arrangement===\"fixed\"?\"default\":ue.parcatsViewModel.arrangement===\"perpendicular\"?\"ns-resize\":\"move\"}),b(pe),Me.exit().remove(),ut.append(\"text\").attr(\"class\",\"catlabel\").attr(\"pointer-events\",\"none\"),tt.select(\"text.catlabel\").attr(\"text-anchor\",function(ue){return s(ue)?\"start\":\"end\"}).attr(\"alignment-baseline\",\"middle\").style(\"fill\",\"rgb(0, 0, 0)\").attr(\"x\",function(ue){return s(ue)?ue.width+5:-5}).attr(\"y\",function(ue){return ue.height/2}).text(function(ue){return ue.model.categoryLabel}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.categorylabelfont),n.convertToTspans(g.select(this),re)}),ut.append(\"text\").attr(\"class\",\"dimlabel\"),tt.select(\"text.dimlabel\").attr(\"text-anchor\",\"middle\").attr(\"alignment-baseline\",\"baseline\").attr(\"cursor\",function(ue){return ue.parcatsViewModel.arrangement===\"fixed\"?\"default\":\"ew-resize\"}).attr(\"x\",function(ue){return ue.width/2}).attr(\"y\",-5).text(function(ue,Oe){return Oe===0?ue.parcatsViewModel.model.dimensions[ue.model.dimensionInd].dimensionLabel:null}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.labelfont)}),tt.selectAll(\"rect.bandrect\").on(\"mouseover\",B).on(\"mouseout\",O),tt.exit().remove(),at.call(g.behavior.drag().origin(function(ue){return{x:ue.x,y:0}}).on(\"dragstart\",I).on(\"drag\",N).on(\"dragend\",U)),xe.each(function(ue){ue.traceSelection=g.select(this),ue.pathSelection=g.select(this).selectAll(\"g.paths\").selectAll(\"path.path\"),ue.dimensionSelection=g.select(this).selectAll(\"g.dimensions\").selectAll(\"g.dimension\")}),xe.exit().remove()}H.exports=function(X,re,ae,j){i(ae,X,j,re)};function a(X){return X.key}function s(X){var re=X.parcatsViewModel.dimensions.length,ae=X.parcatsViewModel.dimensions[re-1].model.dimensionInd;return X.model.dimensionInd===ae}function c(X,re){return X.model.rawColor>re.model.rawColor?1:X.model.rawColor\"),et=g.mouse(ee)[0];S.loneHover({trace:ie,x:tt-xe.left+Te.left,y:ut-xe.top+Te.top,text:ot,color:X.model.color,borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontSize:10,fontColor:Me,idealAlign:et1&&Ue.displayInd===Te.dimensions.length-1?(it=ce.left,at=\"left\"):(it=ce.left+ce.width,at=\"right\");var tt=xe.model.count,ut=xe.model.categoryLabel,Me=tt/xe.parcatsViewModel.model.count,pe={countLabel:tt,categoryLabel:ut,probabilityLabel:Me.toFixed(3)},ue=[];xe.parcatsViewModel.hoverinfoItems.indexOf(\"count\")!==-1&&ue.push([\"Count:\",pe.countLabel].join(\" \")),xe.parcatsViewModel.hoverinfoItems.indexOf(\"probability\")!==-1&&ue.push([\"P(\"+pe.categoryLabel+\"):\",pe.probabilityLabel].join(\" \"));var Oe=ue.join(\"
\");return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Oe,color:\"lightgray\",borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontSize:12,fontColor:\"black\",idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:pe,eventData:[{data:Ie._input,fullData:Ie,count:tt,category:ut,probability:Me}]}}function z(X,re,ae){var j=[];return g.select(ae.parentNode.parentNode).selectAll(\"g.category\").select(\"rect.catrect\").each(function(){var ee=this;j.push(L(X,re,ee))}),j}function F(X,re,ae){X._fullLayout._calcInverseTransform(X);var j=X._fullLayout._invScaleX,ee=X._fullLayout._invScaleY,ie=ae.getBoundingClientRect(),ce=g.select(ae).datum(),xe=ce.categoryViewModel,Te=xe.parcatsViewModel,Ue=Te.model.dimensions[xe.model.dimensionInd],Ie=Te.trace,Ye=ie.y+ie.height/2,it,at;Te.dimensions.length>1&&Ue.displayInd===Te.dimensions.length-1?(it=ie.left,at=\"left\"):(it=ie.left+ie.width,at=\"right\");var tt=xe.model.categoryLabel,ut=ce.parcatsViewModel.model.count,Me=0;ce.categoryViewModel.bands.forEach(function(qt){qt.color===ce.color&&(Me+=qt.count)});var pe=xe.model.count,ue=0;Te.pathSelection.each(function(qt){qt.model.color===ce.color&&(ue+=qt.model.count)});var Oe=Me/ut,rt=Me/ue,ot=Me/pe,et={countLabel:Me,categoryLabel:tt,probabilityLabel:Oe.toFixed(3)},Lt=[];xe.parcatsViewModel.hoverinfoItems.indexOf(\"count\")!==-1&&Lt.push([\"Count:\",et.countLabel].join(\" \")),xe.parcatsViewModel.hoverinfoItems.indexOf(\"probability\")!==-1&&(Lt.push(\"P(color \\u2229 \"+tt+\"): \"+et.probabilityLabel),Lt.push(\"P(\"+tt+\" | color): \"+rt.toFixed(3)),Lt.push(\"P(color | \"+tt+\"): \"+ot.toFixed(3)));var Et=Lt.join(\"
\"),Bt=o.mostReadable(ce.color,[\"black\",\"white\"]);return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Et,color:ce.color,borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontColor:Bt,fontSize:10,idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:et,eventData:[{data:Ie._input,fullData:Ie,category:tt,count:ut,probability:Oe,categorycount:pe,colorcount:ue,bandcolorcount:Me}]}}function B(X){if(!X.parcatsViewModel.dragDimension&&X.parcatsViewModel.hoverinfoItems.indexOf(\"skip\")===-1){var re=g.mouse(this)[1];if(re<-1)return;var ae=X.parcatsViewModel.graphDiv,j=ae._fullLayout,ee=j._paperdiv.node().getBoundingClientRect(),ie=X.parcatsViewModel.hoveron,ce=this;if(ie===\"color\"?(y(ce),P(ce,\"plotly_hover\",g.event)):(u(ce),f(ce,\"plotly_hover\",g.event)),X.parcatsViewModel.hoverinfoItems.indexOf(\"none\")===-1){var xe;ie===\"category\"?xe=L(ae,ee,ce):ie===\"color\"?xe=F(ae,ee,ce):ie===\"dimension\"&&(xe=z(ae,ee,ce)),xe&&S.loneHover(xe,{container:j._hoverlayer.node(),outerContainer:j._paper.node(),gd:ae})}}}function O(X){var re=X.parcatsViewModel;if(!re.dragDimension&&(_(re.pathSelection),E(re.dimensionSelection.selectAll(\"g.category\")),b(re.dimensionSelection.selectAll(\"g.category\").selectAll(\"rect.bandrect\")),S.loneUnhover(re.graphDiv._fullLayout._hoverlayer.node()),re.pathSelection.sort(c),re.hoverinfoItems.indexOf(\"skip\")===-1)){var ae=X.parcatsViewModel.hoveron,j=this;ae===\"color\"?P(j,\"plotly_unhover\",g.event):f(j,\"plotly_unhover\",g.event)}}function I(X){X.parcatsViewModel.arrangement!==\"fixed\"&&(X.dragDimensionDisplayInd=X.model.displayInd,X.initialDragDimensionDisplayInds=X.parcatsViewModel.model.dimensions.map(function(re){return re.displayInd}),X.dragHasMoved=!1,X.dragCategoryDisplayInd=null,g.select(this).selectAll(\"g.category\").select(\"rect.catrect\").each(function(re){var ae=g.mouse(this)[0],j=g.mouse(this)[1];-2<=ae&&ae<=re.width+2&&-2<=j&&j<=re.height+2&&(X.dragCategoryDisplayInd=re.model.displayInd,X.initialDragCategoryDisplayInds=X.model.categories.map(function(ee){return ee.displayInd}),re.model.dragY=re.y,e.raiseToTop(this.parentNode),g.select(this.parentNode).selectAll(\"rect.bandrect\").each(function(ee){ee.yIe.y+Ie.height/2&&(ie.model.displayInd=Ie.model.displayInd,Ie.model.displayInd=xe),X.dragCategoryDisplayInd=ie.model.displayInd}if(X.dragCategoryDisplayInd===null||X.parcatsViewModel.arrangement===\"freeform\"){ee.model.dragX=g.event.x;var Ye=X.parcatsViewModel.dimensions[ae],it=X.parcatsViewModel.dimensions[j];Ye!==void 0&&ee.model.dragXit.x&&(ee.model.displayInd=it.model.displayInd,it.model.displayInd=X.dragDimensionDisplayInd),X.dragDimensionDisplayInd=ee.model.displayInd}$(X.parcatsViewModel),G(X.parcatsViewModel),le(X.parcatsViewModel),Q(X.parcatsViewModel)}}function U(X){if(X.parcatsViewModel.arrangement!==\"fixed\"&&X.dragDimensionDisplayInd!==null){g.select(this).selectAll(\"text\").attr(\"font-weight\",\"normal\");var re={},ae=W(X.parcatsViewModel),j=X.parcatsViewModel.model.dimensions.map(function(it){return it.displayInd}),ee=X.initialDragDimensionDisplayInds.some(function(it,at){return it!==j[at]});ee&&j.forEach(function(it,at){var tt=X.parcatsViewModel.model.dimensions[at].containerInd;re[\"dimensions[\"+tt+\"].displayindex\"]=it});var ie=!1;if(X.dragCategoryDisplayInd!==null){var ce=X.model.categories.map(function(it){return it.displayInd});if(ie=X.initialDragCategoryDisplayInds.some(function(it,at){return it!==ce[at]}),ie){var xe=X.model.categories.slice().sort(function(it,at){return it.displayInd-at.displayInd}),Te=xe.map(function(it){return it.categoryValue}),Ue=xe.map(function(it){return it.categoryLabel});re[\"dimensions[\"+X.model.containerInd+\"].categoryarray\"]=[Te],re[\"dimensions[\"+X.model.containerInd+\"].ticktext\"]=[Ue],re[\"dimensions[\"+X.model.containerInd+\"].categoryorder\"]=\"array\"}}if(X.parcatsViewModel.hoverinfoItems.indexOf(\"skip\")===-1&&!X.dragHasMoved&&X.potentialClickBand&&(X.parcatsViewModel.hoveron===\"color\"?P(X.potentialClickBand,\"plotly_click\",g.event.sourceEvent):f(X.potentialClickBand,\"plotly_click\",g.event.sourceEvent)),X.model.dragX=null,X.dragCategoryDisplayInd!==null){var Ie=X.parcatsViewModel.dimensions[X.dragDimensionDisplayInd].categories[X.dragCategoryDisplayInd];Ie.model.dragY=null,X.dragCategoryDisplayInd=null}X.dragDimensionDisplayInd=null,X.parcatsViewModel.dragDimension=null,X.dragHasMoved=null,X.potentialClickBand=null,$(X.parcatsViewModel),G(X.parcatsViewModel);var Ye=g.transition().duration(300).ease(\"cubic-in-out\");Ye.each(function(){le(X.parcatsViewModel,!0),Q(X.parcatsViewModel,!0)}).each(\"end\",function(){(ee||ie)&&A.restyle(X.parcatsViewModel.graphDiv,re,[ae])})}}function W(X){for(var re,ae=X.graphDiv._fullData,j=0;j=0;Te--)Ue+=\"C\"+ce[Te]+\",\"+(re[Te+1]+j)+\" \"+ie[Te]+\",\"+(re[Te]+j)+\" \"+(X[Te]+ae[Te])+\",\"+(re[Te]+j),Ue+=\"l-\"+ae[Te]+\",0 \";return Ue+=\"Z\",Ue}function G(X){var re=X.dimensions,ae=X.model,j=re.map(function(Rr){return Rr.categories.map(function(gr){return gr.y})}),ee=X.model.dimensions.map(function(Rr){return Rr.categories.map(function(gr){return gr.displayInd})}),ie=X.model.dimensions.map(function(Rr){return Rr.displayInd}),ce=X.dimensions.map(function(Rr){return Rr.model.dimensionInd}),xe=re.map(function(Rr){return Rr.x}),Te=re.map(function(Rr){return Rr.width}),Ue=[];for(var Ie in ae.paths)ae.paths.hasOwnProperty(Ie)&&Ue.push(ae.paths[Ie]);function Ye(Rr){var gr=Rr.categoryInds.map(function(_t,Be){return ee[Be][_t]}),br=ce.map(function(_t){return gr[_t]});return br}Ue.sort(function(Rr,gr){var br=Ye(Rr),_t=Ye(gr);return X.sortpaths===\"backward\"&&(br.reverse(),_t.reverse()),br.push(Rr.valueInds[0]),_t.push(gr.valueInds[0]),X.bundlecolors&&(br.unshift(Rr.rawColor),_t.unshift(gr.rawColor)),br<_t?-1:br>_t?1:0});for(var it=new Array(Ue.length),at=re[0].model.count,tt=re[0].categories.map(function(Rr){return Rr.height}).reduce(function(Rr,gr){return Rr+gr}),ut=0;ut0?pe=tt*(Me.count/at):pe=0;for(var ue=new Array(j.length),Oe=0;Oe1?ce=(X.width-2*ae-j)/(ee-1):ce=0,xe=ae,Te=xe+ce*ie;var Ue=[],Ie=X.model.maxCats,Ye=re.categories.length,it=8,at=re.count,tt=X.height-it*(Ie-1),ut,Me,pe,ue,Oe,rt=(Ie-Ye)*it/2,ot=re.categories.map(function(et){return{displayInd:et.displayInd,categoryInd:et.categoryInd}});for(ot.sort(function(et,Lt){return et.displayInd-Lt.displayInd}),Oe=0;Oe0?ut=Me.count/at*tt:ut=0,pe={key:Me.valueInds[0],model:Me,width:j,height:ut,y:Me.dragY!==null?Me.dragY:rt,bands:[],parcatsViewModel:X},rt=rt+ut+it,Ue.push(pe);return{key:re.dimensionInd,x:re.dragX!==null?re.dragX:Te,y:0,width:j,model:re,categories:Ue,parcatsViewModel:X,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}}}),oM=ke({\"src/traces/parcats/plot.js\"(Z,H){\"use strict\";var g=ID();H.exports=function(A,S,e,t){var r=A._fullLayout,o=r._paper,n=r._size;g(A,o,S,{width:n.w,height:n.h,margin:{t:n.t,r:n.r,b:n.b,l:n.l}},e,t)}}}),RD=ke({\"src/traces/parcats/base_plot.js\"(Z){\"use strict\";var H=bh().getModuleCalcData,g=oM(),x=\"parcats\";Z.name=x,Z.plot=function(A,S,e,t){var r=H(A.calcdata,x);if(r.length){var o=r[0];g(A,o,e,t)}},Z.clean=function(A,S,e,t){var r=t._has&&t._has(\"parcats\"),o=S._has&&S._has(\"parcats\");r&&!o&&t._paperdiv.selectAll(\".parcats\").remove()}}}),DD=ke({\"src/traces/parcats/index.js\"(Z,H){\"use strict\";H.exports={attributes:aM(),supplyDefaults:LD(),calc:PD(),plot:oM(),colorbar:{container:\"line\",min:\"cmin\",max:\"cmax\"},moduleType:\"trace\",name:\"parcats\",basePlotModule:RD(),categories:[\"noOpacity\"],meta:{}}}}),zD=ke({\"lib/parcats.js\"(Z,H){\"use strict\";H.exports=DD()}}),op=ke({\"src/plots/mapbox/constants.js\"(Z,H){\"use strict\";var g=Ip(),x=\"1.13.4\",A='\\xA9
OpenStreetMap contributors',S=['\\xA9 Carto',A].join(\" \"),e=['Map tiles by Stamen Design','under CC BY 3.0',\"|\",'Data by OpenStreetMap contributors','under ODbL'].join(\" \"),t=['Map tiles by Stamen Design','under CC BY 3.0',\"|\",'Data by OpenStreetMap contributors','under CC BY SA'].join(\" \"),r={\"open-street-map\":{id:\"osm\",version:8,sources:{\"plotly-osm-tiles\":{type:\"raster\",attribution:A,tiles:[\"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png\",\"https://b.tile.openstreetmap.org/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-osm-tiles\",type:\"raster\",source:\"plotly-osm-tiles\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"white-bg\":{id:\"white-bg\",version:8,sources:{},layers:[{id:\"white-bg\",type:\"background\",paint:{\"background-color\":\"#FFFFFF\"},minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-positron\":{id:\"carto-positron\",version:8,sources:{\"plotly-carto-positron\":{type:\"raster\",attribution:S,tiles:[\"https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-carto-positron\",type:\"raster\",source:\"plotly-carto-positron\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-darkmatter\":{id:\"carto-darkmatter\",version:8,sources:{\"plotly-carto-darkmatter\":{type:\"raster\",attribution:S,tiles:[\"https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-carto-darkmatter\",type:\"raster\",source:\"plotly-carto-darkmatter\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-terrain\":{id:\"stamen-terrain\",version:8,sources:{\"plotly-stamen-terrain\":{type:\"raster\",attribution:e,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-terrain\",type:\"raster\",source:\"plotly-stamen-terrain\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-toner\":{id:\"stamen-toner\",version:8,sources:{\"plotly-stamen-toner\":{type:\"raster\",attribution:e,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-toner\",type:\"raster\",source:\"plotly-stamen-toner\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-watercolor\":{id:\"stamen-watercolor\",version:8,sources:{\"plotly-stamen-watercolor\":{type:\"raster\",attribution:t,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-watercolor\",type:\"raster\",source:\"plotly-stamen-watercolor\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"}},o=g(r);H.exports={requiredVersion:x,styleUrlPrefix:\"mapbox://styles/mapbox/\",styleUrlSuffix:\"v9\",styleValuesMapbox:[\"basic\",\"streets\",\"outdoors\",\"light\",\"dark\",\"satellite\",\"satellite-streets\"],styleValueDflt:\"basic\",stylesNonMapbox:r,styleValuesNonMapbox:o,traceLayerPrefix:\"plotly-trace-layer-\",layoutLayerPrefix:\"plotly-layout-layer-\",wrongVersionErrorMsg:[\"Your custom plotly.js bundle is not using the correct mapbox-gl version\",\"Please install @plotly/mapbox-gl@\"+x+\".\"].join(`\n`),noAccessTokenErrorMsg:[\"Missing Mapbox access token.\",\"Mapbox trace type require a Mapbox access token to be registered.\",\"For example:\",\" Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });\",\"More info here: https://www.mapbox.com/help/define-access-token/\"].join(`\n`),missingStyleErrorMsg:[\"No valid mapbox style found, please set `mapbox.style` to one of:\",o.join(\", \"),\"or register a Mapbox access token to use a Mapbox-served style.\"].join(`\n`),multipleTokensErrorMsg:[\"Set multiple mapbox access token across different mapbox subplot,\",\"using first token found as mapbox-gl does not allow multipleaccess tokens on the same page.\"].join(`\n`),mapOnErrorMsg:\"Mapbox error.\",mapboxLogo:{path0:\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\",path1:\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\",path2:\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\",polygon:\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34\"},styleRules:{map:\"overflow:hidden;position:relative;\",\"missing-css\":\"display:none;\",canary:\"background-color:salmon;\",\"ctrl-bottom-left\":\"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;\",\"ctrl-bottom-right\":\"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;\",ctrl:\"clear: both; pointer-events: auto; transform: translate(0, 0);\",\"ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner\":\"display: none;\",\"ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner\":\"display: block; margin-top:2px\",\"ctrl-attrib.mapboxgl-compact:hover\":\"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;\",\"ctrl-attrib.mapboxgl-compact::after\":`content: \"\"; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"%3E %3Cpath fill=\"%23333333\" fill-rule=\"evenodd\" d=\"M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0\"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,\"ctrl-attrib.mapboxgl-compact\":\"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;\",\"ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\":\"bottom: 0; right: 0\",\"ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\":\"bottom: 0; left: 0\",\"ctrl-bottom-left .mapboxgl-ctrl\":\"margin: 0 0 10px 10px; float: left;\",\"ctrl-bottom-right .mapboxgl-ctrl\":\"margin: 0 10px 10px 0; float: right;\",\"ctrl-attrib\":\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\",\"ctrl-attrib a\":\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\",\"ctrl-attrib a:hover\":\"color: inherit; text-decoration: underline;\",\"ctrl-attrib .mapbox-improve-map\":\"font-weight: bold; margin-left: 2px;\",\"attrib-empty\":\"display: none;\",\"ctrl-logo\":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version=\"1.0\" encoding=\"utf-8\"?%3E %3Csvg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 21 21\" style=\"enable-background:new 0 0 21 21;\" xml:space=\"preserve\"%3E%3Cg transform=\"translate(0,0.01)\"%3E%3Cpath d=\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\" style=\"opacity:0.9;fill:%23ffffff;enable-background:new\" class=\"st0\"/%3E%3Cpath d=\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\" style=\"opacity:0.35;enable-background:new\" class=\"st1\"/%3E%3Cpath d=\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\" style=\"opacity:0.35;enable-background:new\" class=\"st1\"/%3E%3Cpolygon points=\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 \" style=\"opacity:0.9;fill:%23ffffff;enable-background:new\" class=\"st0\"/%3E%3C/g%3E%3C/svg%3E')`}}}}),Q0=ke({\"src/plots/mapbox/layout_attributes.js\"(Z,H){\"use strict\";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=op(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt=\"Open Sans Regular, Arial Unicode MS Regular\";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex(\"mapbox\",\".layers\",!0)],domain:A({name:\"mapbox\"}),accesstoken:{valType:\"string\",noBlank:!0,strict:!0},style:{valType:\"any\",values:o.styleValuesMapbox.concat(o.styleValuesNonMapbox),dflt:o.styleValueDflt},center:{lon:{valType:\"number\",dflt:0},lat:{valType:\"number\",dflt:0}},zoom:{valType:\"number\",dflt:1},bearing:{valType:\"number\",dflt:0},pitch:{valType:\"number\",dflt:0},bounds:{west:{valType:\"number\"},east:{valType:\"number\"},south:{valType:\"number\"},north:{valType:\"number\"}},layers:r(\"layer\",{visible:{valType:\"boolean\",dflt:!0},sourcetype:{valType:\"enumerated\",values:[\"geojson\",\"vector\",\"raster\",\"image\"],dflt:\"geojson\"},source:{valType:\"any\"},sourcelayer:{valType:\"string\",dflt:\"\"},sourceattribution:{valType:\"string\"},type:{valType:\"enumerated\",values:[\"circle\",\"line\",\"fill\",\"symbol\",\"raster\"],dflt:\"circle\"},coordinates:{valType:\"any\"},below:{valType:\"string\"},color:{valType:\"color\",dflt:x},opacity:{valType:\"number\",min:0,max:1,dflt:1},minzoom:{valType:\"number\",min:0,max:24,dflt:0},maxzoom:{valType:\"number\",min:0,max:24,dflt:24},circle:{radius:{valType:\"number\",dflt:15}},line:{width:{valType:\"number\",dflt:2},dash:{valType:\"data_array\"}},fill:{outlinecolor:{valType:\"color\",dflt:x}},symbol:{icon:{valType:\"string\",dflt:\"marker\"},iconsize:{valType:\"number\",dflt:10},text:{valType:\"string\",dflt:\"\"},placement:{valType:\"enumerated\",values:[\"point\",\"line\",\"line-center\"],dflt:\"point\"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},\"plot\",\"from-root\");i.uirevision={valType:\"any\",editType:\"none\"}}}),pb=ke({\"src/traces/scattermapbox/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=Q0(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=Q0(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:\"boolean\"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:\"number\",arrayOk:!0,dflt:-1,min:-1},size:{valType:\"number\",arrayOk:!0,dflt:20,min:0},color:{valType:\"color\",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:\"markers\"}),text:n({},e.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"lat\",\"lon\",\"text\"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:\"string\",dflt:\"circle\",arrayOk:!0},angle:{valType:\"number\",dflt:\"auto\",arrayOk:!0},allowoverlap:{valType:\"boolean\",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o(\"marker\")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:\"string\"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:[\"lon\",\"lat\",\"text\",\"name\"]}),hovertemplate:g()},\"calc\",\"nested\")}}),sM=ke({\"src/traces/scattermapbox/constants.js\"(Z,H){\"use strict\";var g=[\"Metropolis Black Italic\",\"Metropolis Black\",\"Metropolis Bold Italic\",\"Metropolis Bold\",\"Metropolis Extra Bold Italic\",\"Metropolis Extra Bold\",\"Metropolis Extra Light Italic\",\"Metropolis Extra Light\",\"Metropolis Light Italic\",\"Metropolis Light\",\"Metropolis Medium Italic\",\"Metropolis Medium\",\"Metropolis Regular Italic\",\"Metropolis Regular\",\"Metropolis Semi Bold Italic\",\"Metropolis Semi Bold\",\"Metropolis Thin Italic\",\"Metropolis Thin\",\"Open Sans Bold Italic\",\"Open Sans Bold\",\"Open Sans Extrabold Italic\",\"Open Sans Extrabold\",\"Open Sans Italic\",\"Open Sans Light Italic\",\"Open Sans Light\",\"Open Sans Regular\",\"Open Sans Semibold Italic\",\"Open Sans Semibold\",\"Klokantech Noto Sans Bold\",\"Klokantech Noto Sans CJK Bold\",\"Klokantech Noto Sans CJK Regular\",\"Klokantech Noto Sans Italic\",\"Klokantech Noto Sans Regular\"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),FD=ke({\"src/traces/scattermapbox/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=pb(),o=sM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p(\"text\"),p(\"texttemplate\"),p(\"hovertext\"),p(\"hovertemplate\"),p(\"mode\"),p(\"below\"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p(\"marker.allowoverlap\"),p(\"marker.angle\");var l=s.marker;l.symbol!==\"circle\"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p(\"connectgaps\"));var _=d(\"cluster.maxzoom\"),w=d(\"cluster.step\"),M=d(\"cluster.color\",s.marker&&s.marker.color||c),E=d(\"cluster.size\"),m=d(\"cluster.opacity\"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p(\"cluster.enabled\",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:\"Open Sans Regular\",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p(\"fill\"),s.fill!==\"none\"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s(\"lon\")||[],h=s(\"lat\")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),lM=ke({\"src/traces/scattermapbox/format_labels.js\"(Z,H){\"use strict\";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),uM=ke({\"src/plots/mapbox/convert_text_opts.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=A.split(\" \"),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=[\"\",\"\"],s=[0,0];switch(t){case\"top\":a[0]=\"top\",s[1]=-i;break;case\"bottom\":a[0]=\"bottom\",s[1]=i;break}switch(r){case\"left\":a[1]=\"right\",s[0]=-n;break;case\"right\":a[1]=\"left\",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join(\"-\"):a[0]?c=a[0]:a[1]?c=a[1]:c=\"center\",{anchor:c,offset:s}}}}),OD=ke({\"src/traces/scattermapbox/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=sM().isSupportedFont,i=uM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!==\"none\",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol===\"circle\",F=P&&v.marker.symbol!==\"circle\",B=v.cluster&&v.cluster.enabled,O=h(\"fill\"),I=h(\"line\"),N=h(\"circle\"),U=h(\"symbol\"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility=\"visible\",x.extendFlat(O.paint,{\"fill-color\":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility=\"visible\",x.extendFlat(I.paint,{\"line-width\":v.line.width,\"line-color\":v.line.color,\"line-opacity\":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility=\"visible\",B&&(N.filter=[\"!\",[\"has\",\"point_count\"]],W.cluster={type:\"circle\",filter:[\"has\",\"point_count\"],layout:{visibility:\"visible\"},paint:{\"circle-color\":w(v.cluster.color,v.cluster.step),\"circle-radius\":w(v.cluster.size,v.cluster.step),\"circle-opacity\":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:\"symbol\",filter:[\"has\",\"point_count\"],paint:{},layout:{\"text-field\":\"{point_count_abbreviated}\",\"text-font\":M(v),\"text-size\":12}}),x.extendFlat(N.paint,{\"circle-color\":le.mcc,\"circle-radius\":le.mrc,\"circle-opacity\":le.mo})}if(z&&B&&(N.filter=[\"!\",[\"has\",\"point_count\"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:\"visible\",\"icon-image\":\"{symbol}-15\",\"text-field\":\"{text}\"}),F&&(x.extendFlat(U.layout,{\"icon-size\":v.marker.size/10}),\"angle\"in v.marker&&v.marker.angle!==\"auto\"&&x.extendFlat(U.layout,{\"icon-rotate\":{type:\"identity\",property:\"angle\"},\"icon-rotation-alignment\":\"map\"}),U.layout[\"icon-allow-overlap\"]=v.marker.allowoverlap,x.extendFlat(U.paint,{\"icon-opacity\":v.opacity*v.marker.opacity,\"icon-color\":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{\"text-size\":v.textfont.size,\"text-anchor\":fe.anchor,\"text-offset\":fe.offset,\"text-font\":M(v)}),x.extendFlat(U.paint,{\"text-color\":v.textfont.color,\"text-opacity\":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:\"none\"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,\"marker\")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=\" Black\":u>750?P+=\" Extra Bold\":u>650?P+=\" Bold\":u>550?P+=\" Semi Bold\":u>450?P+=\" Medium\":u>350?P+=\" Regular\":u>250?P+=\" Light\":u>150?P+=\" Extra Light\":P+=\" Thin\"):y.slice(0,2).join(\" \")===\"Open Sans\"?(P=\"Open Sans\",u>750?P+=\" Extrabold\":u>650?P+=\" Bold\":u>550?P+=\" Semibold\":u>350?P+=\" Regular\":P+=\" Light\"):y.slice(0,3).join(\" \")===\"Klokantech Noto Sans\"&&(P=\"Klokantech Noto Sans\",y[3]===\"CJK\"&&(P+=\" CJK\"),P+=u>500?\" Bold\":\" Regular\")),f&&(P+=\" Italic\"),P===\"Open Sans Regular Italic\"?P=\"Open Sans Italic\":P===\"Open Sans Regular Bold\"?P=\"Open Sans Bold\":P===\"Open Sans Regular Bold Italic\"?P=\"Open Sans Bold Italic\":P===\"Klokantech Noto Sans Regular Italic\"&&(P=\"Klokantech Noto Sans Italic\"),n(P)||(P=b);var L=P.split(\", \");return L}}}),BD=ke({\"src/traces/scattermapbox/plot.js\"(Z,H){\"use strict\";var g=un(),x=OD(),A=op().traceLayerPrefix,S={cluster:[\"cluster\",\"clusterCount\",\"circle\"],nonCluster:[\"fill\",\"line\",\"circle\",\"symbol\"]};function e(r,o,n,i){this.type=\"scattermapbox\",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:\"source-\"+o+\"-fill\",line:\"source-\"+o+\"-line\",circle:\"source-\"+o+\"-circle\",symbol:\"source-\"+o+\"-symbol\",cluster:\"source-\"+o+\"-circle\",clusterCount:\"source-\"+o+\"-circle\"},this.layerIds={fill:A+o+\"-fill\",line:A+o+\"-line\",circle:A+o+\"-circle\",symbol:A+o+\"-symbol\",cluster:A+o+\"-cluster\",clusterCount:A+o+\"-cluster-count\"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:\"geojson\",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup[\"trace-\"+i.uid],d,T,l;if(a)for(c.addSource(\"circle\",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split(\"+\"),h=c.indexOf(\"all\")!==-1,p=c.indexOf(\"lon\")!==-1,d=c.indexOf(\"lat\")!==-1,T=i.lonlat,l=[];function _(w){return w+\"\\xB0\"}return h||p&&d?l.push(\"(\"+_(T[1])+\", \"+_(T[0])+\")\"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf(\"text\")!==-1)&&S(i,n,l),l.join(\"
\")}H.exports={hoverPoints:r,getExtraText:o}}}),ND=ke({\"src/traces/scattermapbox/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),UD=ke({\"src/traces/scattermapbox/select.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s\"u\"&&(k=1e-6);var V,oe,ge,Pe,qe;for(ge=C,qe=0;qe<8;qe++){if(Pe=this.sampleCurveX(ge)-C,Math.abs(Pe)oe)return oe;for(;VPe?V=ge:oe=ge,ge=(oe-V)*.5+V}return ge},n.prototype.solve=function(C,k){return this.sampleCurveY(this.solveCurveX(C,k))};var i=a;function a(C,k){this.x=C,this.y=k}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(C){return this.clone()._add(C)},sub:function(C){return this.clone()._sub(C)},multByPoint:function(C){return this.clone()._multByPoint(C)},divByPoint:function(C){return this.clone()._divByPoint(C)},mult:function(C){return this.clone()._mult(C)},div:function(C){return this.clone()._div(C)},rotate:function(C){return this.clone()._rotate(C)},rotateAround:function(C,k){return this.clone()._rotateAround(C,k)},matMult:function(C){return this.clone()._matMult(C)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(C){return this.x===C.x&&this.y===C.y},dist:function(C){return Math.sqrt(this.distSqr(C))},distSqr:function(C){var k=C.x-this.x,V=C.y-this.y;return k*k+V*V},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(C){return Math.atan2(this.y-C.y,this.x-C.x)},angleWith:function(C){return this.angleWithSep(C.x,C.y)},angleWithSep:function(C,k){return Math.atan2(this.x*k-this.y*C,this.x*C+this.y*k)},_matMult:function(C){var k=C[0]*this.x+C[1]*this.y,V=C[2]*this.x+C[3]*this.y;return this.x=k,this.y=V,this},_add:function(C){return this.x+=C.x,this.y+=C.y,this},_sub:function(C){return this.x-=C.x,this.y-=C.y,this},_mult:function(C){return this.x*=C,this.y*=C,this},_div:function(C){return this.x/=C,this.y/=C,this},_multByPoint:function(C){return this.x*=C.x,this.y*=C.y,this},_divByPoint:function(C){return this.x/=C.x,this.y/=C.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var C=this.y;return this.y=this.x,this.x=-C,this},_rotate:function(C){var k=Math.cos(C),V=Math.sin(C),oe=k*this.x-V*this.y,ge=V*this.x+k*this.y;return this.x=oe,this.y=ge,this},_rotateAround:function(C,k){var V=Math.cos(C),oe=Math.sin(C),ge=k.x+V*(this.x-k.x)-oe*(this.y-k.y),Pe=k.y+oe*(this.x-k.x)+V*(this.y-k.y);return this.x=ge,this.y=Pe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(C){return C instanceof a?C:Array.isArray(C)?new a(C[0],C[1]):C};var s=typeof self<\"u\"?self:{};function c(C,k){if(Array.isArray(C)){if(!Array.isArray(k)||C.length!==k.length)return!1;for(var V=0;V=1)return 1;var k=C*C,V=k*C;return 4*(C<.5?V:3*(C-k)+V-.75)}function d(C,k,V,oe){var ge=new o(C,k,V,oe);return function(Pe){return ge.solve(Pe)}}var T=d(.25,.1,.25,1);function l(C,k,V){return Math.min(V,Math.max(k,C))}function _(C,k,V){var oe=V-k,ge=((C-k)%oe+oe)%oe+k;return ge===k?V:ge}function w(C,k,V){if(!C.length)return V(null,[]);var oe=C.length,ge=new Array(C.length),Pe=null;C.forEach(function(qe,ft){k(qe,function(Pt,Ut){Pt&&(Pe=Pt),ge[ft]=Ut,--oe===0&&V(Pe,ge)})})}function M(C){var k=[];for(var V in C)k.push(C[V]);return k}function E(C,k){var V=[];for(var oe in C)oe in k||V.push(oe);return V}function m(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe>k/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,C)}return C()}function f(C){return C<=1?1:Math.pow(2,Math.ceil(Math.log(C)/Math.LN2))}function P(C){return C?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(C):!1}function L(C,k){C.forEach(function(V){k[V]&&(k[V]=k[V].bind(k))})}function z(C,k){return C.indexOf(k,C.length-k.length)!==-1}function F(C,k,V){var oe={};for(var ge in C)oe[ge]=k.call(V||this,C[ge],ge,C);return oe}function B(C,k,V){var oe={};for(var ge in C)k.call(V||this,C[ge],ge,C)&&(oe[ge]=C[ge]);return oe}function O(C){return Array.isArray(C)?C.map(O):typeof C==\"object\"&&C?F(C,O):C}function I(C,k){for(var V=0;V=0)return!0;return!1}var N={};function U(C){N[C]||(typeof console<\"u\"&&console.warn(C),N[C]=!0)}function W(C,k,V){return(V.y-C.y)*(k.x-C.x)>(k.y-C.y)*(V.x-C.x)}function Q(C){for(var k=0,V=0,oe=C.length,ge=oe-1,Pe=void 0,qe=void 0;V@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)(?:\\=(?:([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)|(?:\\\"((?:[^\"\\\\]|\\\\.)*)\\\")))?/g,V={};if(C.replace(k,function(ge,Pe,qe,ft){var Pt=qe||ft;return V[Pe]=Pt?Pt.toLowerCase():!0,\"\"}),V[\"max-age\"]){var oe=parseInt(V[\"max-age\"],10);isNaN(oe)?delete V[\"max-age\"]:V[\"max-age\"]=oe}return V}var G=null;function $(C){if(G==null){var k=C.navigator?C.navigator.userAgent:null;G=!!C.safari||!!(k&&(/\\b(iPad|iPhone|iPod)\\b/.test(k)||k.match(\"Safari\")&&!k.match(\"Chrome\")))}return G}function J(C){try{var k=s[C];return k.setItem(\"_mapbox_test_\",1),k.removeItem(\"_mapbox_test_\"),!0}catch{return!1}}function X(C){return s.btoa(encodeURIComponent(C).replace(/%([0-9A-F]{2})/g,function(k,V){return String.fromCharCode(+(\"0x\"+V))}))}function re(C){return decodeURIComponent(s.atob(C).split(\"\").map(function(k){return\"%\"+(\"00\"+k.charCodeAt(0).toString(16)).slice(-2)}).join(\"\"))}var ae=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),j=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,ee=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,ie,ce,xe={now:ae,frame:function(k){var V=j(k);return{cancel:function(){return ee(V)}}},getImageData:function(k,V){V===void 0&&(V=0);var oe=s.document.createElement(\"canvas\"),ge=oe.getContext(\"2d\");if(!ge)throw new Error(\"failed to create canvas 2d context\");return oe.width=k.width,oe.height=k.height,ge.drawImage(k,0,0,k.width,k.height),ge.getImageData(-V,-V,k.width+2*V,k.height+2*V)},resolveURL:function(k){return ie||(ie=s.document.createElement(\"a\")),ie.href=k,ie.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return s.matchMedia?(ce==null&&(ce=s.matchMedia(\"(prefers-reduced-motion: reduce)\")),ce.matches):!1}},Te={API_URL:\"https://api.mapbox.com\",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf(\"https://api.mapbox.cn\")===0?\"https://events.mapbox.cn/events/v2\":this.API_URL.indexOf(\"https://api.mapbox.com\")===0?\"https://events.mapbox.com/events/v2\":null:null},FEEDBACK_URL:\"https://apps.mapbox.com/feedback\",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},Ue={supported:!1,testSupport:tt},Ie,Ye=!1,it,at=!1;s.document&&(it=s.document.createElement(\"img\"),it.onload=function(){Ie&&ut(Ie),Ie=null,at=!0},it.onerror=function(){Ye=!0,Ie=null},it.src=\"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\");function tt(C){Ye||!it||(at?ut(C):Ie=C)}function ut(C){var k=C.createTexture();C.bindTexture(C.TEXTURE_2D,k);try{if(C.texImage2D(C.TEXTURE_2D,0,C.RGBA,C.RGBA,C.UNSIGNED_BYTE,it),C.isContextLost())return;Ue.supported=!0}catch{}C.deleteTexture(k),Ye=!0}var Me=\"01\";function pe(){for(var C=\"1\",k=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\",V=\"\",oe=0;oe<10;oe++)V+=k[Math.floor(Math.random()*62)];var ge=12*60*60*1e3,Pe=[C,Me,V].join(\"\"),qe=Date.now()+ge;return{token:Pe,tokenExpiresAt:qe}}var ue=function(k,V){this._transformRequestFn=k,this._customAccessToken=V,this._createSkuToken()};ue.prototype._createSkuToken=function(){var k=pe();this._skuToken=k.token,this._skuTokenExpiresAt=k.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(k,V){return this._transformRequestFn?this._transformRequestFn(k,V)||{url:k}:{url:k}},ue.prototype.normalizeStyleURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/styles/v1\"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/fonts/v1\"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/v4/\"+oe.authority+\".json\",oe.params.push(\"secure\"),this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(k,V,oe,ge){var Pe=Bt(k);return Oe(k)?(Pe.path=\"/styles/v1\"+Pe.path+\"/sprite\"+V+oe,this._makeAPIURL(Pe,this._customAccessToken||ge)):(Pe.path+=\"\"+V+oe,qt(Pe))},ue.prototype.normalizeTileURL=function(k,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),k&&!Oe(k))return k;var oe=Bt(k),ge=/(\\.(png|jpg)\\d*)(?=$)/,Pe=/^.+\\/v4\\//,qe=xe.devicePixelRatio>=2||V===512?\"@2x\":\"\",ft=Ue.supported?\".webp\":\"$1\";oe.path=oe.path.replace(ge,\"\"+qe+ft),oe.path=oe.path.replace(Pe,\"/\"),oe.path=\"/v4\"+oe.path;var Pt=this._customAccessToken||Lt(oe.params)||Te.ACCESS_TOKEN;return Te.REQUIRE_ACCESS_TOKEN&&Pt&&this._skuToken&&oe.params.push(\"sku=\"+this._skuToken),this._makeAPIURL(oe,Pt)},ue.prototype.canonicalizeTileURL=function(k,V){var oe=\"/v4/\",ge=/\\.[\\w]+$/,Pe=Bt(k);if(!Pe.path.match(/(^\\/v4\\/)/)||!Pe.path.match(ge))return k;var qe=\"mapbox://tiles/\";qe+=Pe.path.replace(oe,\"\");var ft=Pe.params;return V&&(ft=ft.filter(function(Pt){return!Pt.match(/^access_token=/)})),ft.length&&(qe+=\"?\"+ft.join(\"&\")),qe},ue.prototype.canonicalizeTileset=function(k,V){for(var oe=V?Oe(V):!1,ge=[],Pe=0,qe=k.tiles||[];Pe=0&&k.params.splice(Pe,1)}if(ge.path!==\"/\"&&(k.path=\"\"+ge.path+k.path),!Te.REQUIRE_ACCESS_TOKEN)return qt(k);if(V=V||Te.ACCESS_TOKEN,!V)throw new Error(\"An API access token is required to use Mapbox GL. \"+oe);if(V[0]===\"s\")throw new Error(\"Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). \"+oe);return k.params=k.params.filter(function(qe){return qe.indexOf(\"access_token\")===-1}),k.params.push(\"access_token=\"+V),qt(k)};function Oe(C){return C.indexOf(\"mapbox:\")===0}var rt=/^((https?:)?\\/\\/)?([^\\/]+\\.)?mapbox\\.c(n|om)(\\/|\\?|$)/i;function ot(C){return rt.test(C)}function et(C){return C.indexOf(\"sku=\")>0&&ot(C)}function Lt(C){for(var k=0,V=C;k=1&&s.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{U(\"Unable to write to LocalStorage\")}},Rr.prototype.processRequests=function(k){},Rr.prototype.postEvent=function(k,V,oe,ge){var Pe=this;if(Te.EVENTS_URL){var qe=Bt(Te.EVENTS_URL);qe.params.push(\"access_token=\"+(ge||Te.ACCESS_TOKEN||\"\"));var ft={event:this.type,created:new Date(k).toISOString(),sdkIdentifier:\"mapbox-gl-js\",sdkVersion:r,skuId:Me,userId:this.anonId},Pt=V?m(ft,V):ft,Ut={url:qt(qe),headers:{\"Content-Type\":\"text/plain\"},body:JSON.stringify([Pt])};this.pendingRequest=en(Ut,function(Kt){Pe.pendingRequest=null,oe(Kt),Pe.saveEventData(),Pe.processRequests(ge)})}},Rr.prototype.queueRequest=function(k,V){this.queue.push(k),this.processRequests(V)};var gr=function(C){function k(){C.call(this,\"map.load\"),this.success={},this.skuToken=\"\"}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postMapLoadEvent=function(oe,ge,Pe,qe){this.skuToken=Pe,(Te.EVENTS_URL&&qe||Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(ft){return Oe(ft)||ot(ft)}))&&this.queueRequest({id:ge,timestamp:Date.now()},qe)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){var Pe=this.queue.shift(),qe=Pe.id,ft=Pe.timestamp;qe&&this.success[qe]||(this.anonId||this.fetchEventData(),P(this.anonId)||(this.anonId=y()),this.postEvent(ft,{skuToken:this.skuToken},function(Pt){Pt||qe&&(ge.success[qe]=!0)},oe))}},k}(Rr),br=function(C){function k(V){C.call(this,\"appUserTurnstile\"),this._customAccessToken=V}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postTurnstileEvent=function(oe,ge){Te.EVENTS_URL&&Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(Pe){return Oe(Pe)||ot(Pe)})&&this.queueRequest(Date.now(),ge)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Pe=ar(Te.ACCESS_TOKEN),qe=Pe?Pe.u:Te.ACCESS_TOKEN,ft=qe!==this.eventData.tokenU;P(this.anonId)||(this.anonId=y(),ft=!0);var Pt=this.queue.shift();if(this.eventData.lastSuccess){var Ut=new Date(this.eventData.lastSuccess),Kt=new Date(Pt),_r=(Pt-this.eventData.lastSuccess)/(24*60*60*1e3);ft=ft||_r>=1||_r<-1||Ut.getDate()!==Kt.getDate()}else ft=!0;if(!ft)return this.processRequests();this.postEvent(Pt,{\"enabled.telemetry\":!1},function(Vr){Vr||(ge.eventData.lastSuccess=Pt,ge.eventData.tokenU=qe)},oe)}},k}(Rr),_t=new br,Be=_t.postTurnstileEvent.bind(_t),Ke=new gr,je=Ke.postMapLoadEvent.bind(Ke),Se=\"mapbox-tiles\",He=500,Ee=50,we=1e3*60*7,Le;function nt(){s.caches&&!Le&&(Le=s.caches.open(Se))}var pt;function bt(C,k){if(pt===void 0)try{new Response(new ReadableStream),pt=!0}catch{pt=!1}pt?k(C.body):C.blob().then(k)}function Rt(C,k,V){if(nt(),!!Le){var oe={status:k.status,statusText:k.statusText,headers:new s.Headers};k.headers.forEach(function(qe,ft){return oe.headers.set(ft,qe)});var ge=fe(k.headers.get(\"Cache-Control\")||\"\");if(!ge[\"no-store\"]){ge[\"max-age\"]&&oe.headers.set(\"Expires\",new Date(V+ge[\"max-age\"]*1e3).toUTCString());var Pe=new Date(oe.headers.get(\"Expires\")).getTime()-V;PeDate.now()&&!V[\"no-cache\"]}var ur=1/0;function pn(C){ur++,ur>Ee&&(C.getActor().send(\"enforceCacheSizeLimit\",He),ur=0)}function Rn(C){nt(),Le&&Le.then(function(k){k.keys().then(function(V){for(var oe=0;oe=200&&V.status<300||V.status===0)&&V.response!==null){var ge=V.response;if(C.type===\"json\")try{ge=JSON.parse(V.response)}catch(Pe){return k(Pe)}k(null,ge,V.getResponseHeader(\"Cache-Control\"),V.getResponseHeader(\"Expires\"))}else k(new gi(V.statusText,V.status,C.url))},V.send(C.body),{cancel:function(){return V.abort()}}}var wr=function(C,k){if(!Ft(C.url)){if(s.fetch&&s.Request&&s.AbortController&&s.Request.prototype.hasOwnProperty(\"signal\"))return Ht(C,k);if(se()&&self.worker&&self.worker.actor){var V=!0;return self.worker.actor.send(\"getResource\",C,k,void 0,V)}}return Vt(C,k)},$r=function(C,k){return wr(m(C,{type:\"json\"}),k)},xn=function(C,k){return wr(m(C,{type:\"arrayBuffer\"}),k)},en=function(C,k){return wr(m(C,{method:\"POST\"}),k)};function Fn(C){var k=s.document.createElement(\"a\");return k.href=C,k.protocol===s.document.location.protocol&&k.host===s.document.location.host}var Wn=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\";function ri(C,k,V,oe){var ge=new s.Image,Pe=s.URL;ge.onload=function(){k(null,ge),Pe.revokeObjectURL(ge.src),ge.onload=null,s.requestAnimationFrame(function(){ge.src=Wn})},ge.onerror=function(){return k(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))};var qe=new s.Blob([new Uint8Array(C)],{type:\"image/png\"});ge.cacheControl=V,ge.expires=oe,ge.src=C.byteLength?Pe.createObjectURL(qe):Wn}function Sn(C,k){var V=new s.Blob([new Uint8Array(C)],{type:\"image/png\"});s.createImageBitmap(V).then(function(oe){k(null,oe)}).catch(function(oe){k(new Error(\"Could not load image because of \"+oe.message+\". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))})}var ui,gt,yt=function(){ui=[],gt=0};yt();var Pr=function(C,k){if(Ue.supported&&(C.headers||(C.headers={}),C.headers.accept=\"image/webp,*/*\"),gt>=Te.MAX_PARALLEL_IMAGE_REQUESTS){var V={requestParameters:C,callback:k,cancelled:!1,cancel:function(){this.cancelled=!0}};return ui.push(V),V}gt++;var oe=!1,ge=function(){if(!oe)for(oe=!0,gt--;ui.length&>0||this._oneTimeListeners&&this._oneTimeListeners[k]&&this._oneTimeListeners[k].length>0||this._eventedParent&&this._eventedParent.listens(k)},Dr.prototype.setEventedParent=function(k,V){return this._eventedParent=k,this._eventedParentData=V,this};var nn=8,vn={version:{required:!0,type:\"enum\",values:[8]},name:{type:\"string\"},metadata:{type:\"*\"},center:{type:\"array\",value:\"number\"},zoom:{type:\"number\"},bearing:{type:\"number\",default:0,period:360,units:\"degrees\"},pitch:{type:\"number\",default:0,units:\"degrees\"},light:{type:\"light\"},sources:{required:!0,type:\"sources\"},sprite:{type:\"string\"},glyphs:{type:\"string\"},transition:{type:\"transition\"},layers:{required:!0,type:\"array\",value:\"layer\"}},gn={\"*\":{type:\"source\"}},kt=[\"source_vector\",\"source_raster\",\"source_raster_dem\",\"source_geojson\",\"source_video\",\"source_image\"],or={type:{required:!0,type:\"enum\",values:{vector:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},attribution:{type:\"string\"},promoteId:{type:\"promoteId\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},yr={type:{required:!0,type:\"enum\",values:{raster:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},attribution:{type:\"string\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},on={type:{required:!0,type:\"enum\",values:{\"raster-dem\":{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},attribution:{type:\"string\"},encoding:{type:\"enum\",values:{terrarium:{},mapbox:{}},default:\"mapbox\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},An={type:{required:!0,type:\"enum\",values:{geojson:{}}},data:{type:\"*\"},maxzoom:{type:\"number\",default:18},attribution:{type:\"string\"},buffer:{type:\"number\",default:128,maximum:512,minimum:0},filter:{type:\"*\"},tolerance:{type:\"number\",default:.375},cluster:{type:\"boolean\",default:!1},clusterRadius:{type:\"number\",default:50,minimum:0},clusterMaxZoom:{type:\"number\"},clusterMinPoints:{type:\"number\"},clusterProperties:{type:\"*\"},lineMetrics:{type:\"boolean\",default:!1},generateId:{type:\"boolean\",default:!1},promoteId:{type:\"promoteId\"}},Zn={type:{required:!0,type:\"enum\",values:{video:{}}},urls:{required:!0,type:\"array\",value:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},Bn={type:{required:!0,type:\"enum\",values:{image:{}}},url:{required:!0,type:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},wn={id:{type:\"string\",required:!0},type:{type:\"enum\",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},\"fill-extrusion\":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:\"*\"},source:{type:\"string\"},\"source-layer\":{type:\"string\"},minzoom:{type:\"number\",minimum:0,maximum:24},maxzoom:{type:\"number\",minimum:0,maximum:24},filter:{type:\"filter\"},layout:{type:\"layout\"},paint:{type:\"paint\"}},Dn=[\"layout_fill\",\"layout_line\",\"layout_circle\",\"layout_heatmap\",\"layout_fill-extrusion\",\"layout_symbol\",\"layout_raster\",\"layout_hillshade\",\"layout_background\"],Ui={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},pi={\"fill-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Ta={\"circle-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Sa={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},qa={\"line-cap\":{type:\"enum\",values:{butt:{},round:{},square:{}},default:\"butt\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-join\":{type:\"enum\",values:{bevel:{},round:{},miter:{}},default:\"miter\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"line-miter-limit\":{type:\"number\",default:2,requires:[{\"line-join\":\"miter\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-round-limit\":{type:\"number\",default:1.05,requires:[{\"line-join\":\"round\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},to={\"symbol-placement\":{type:\"enum\",values:{point:{},line:{},\"line-center\":{}},default:\"point\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-spacing\":{type:\"number\",default:250,minimum:1,units:\"pixels\",requires:[{\"symbol-placement\":\"line\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-avoid-edges\":{type:\"boolean\",default:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"symbol-z-order\":{type:\"enum\",values:{auto:{},\"viewport-y\":{},source:{}},default:\"auto\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-optional\":{type:\"boolean\",default:!1,requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-size\":{type:\"number\",default:1,minimum:0,units:\"factor of the original icon size\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-text-fit\":{type:\"enum\",values:{none:{},width:{},height:{},both:{}},default:\"none\",requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-text-fit-padding\":{type:\"array\",value:\"number\",length:4,default:[0,0,0,0],units:\"pixels\",requires:[\"icon-image\",\"text-field\",{\"icon-text-fit\":[\"both\",\"width\",\"height\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-image\":{type:\"resolvedImage\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-keep-upright\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"icon-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-offset\":{type:\"array\",value:\"number\",length:2,default:[0,0],requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-field\":{type:\"formatted\",default:\"\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-font\":{type:\"array\",value:\"string\",default:[\"Open Sans Regular\",\"Arial Unicode MS Regular\"],requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-size\":{type:\"number\",default:16,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-width\":{type:\"number\",default:10,minimum:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-line-height\":{type:\"number\",default:1.2,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-letter-spacing\":{type:\"number\",default:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-justify\":{type:\"enum\",values:{auto:{},left:{},center:{},right:{}},default:\"center\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-radial-offset\":{type:\"number\",units:\"ems\",default:0,requires:[\"text-field\"],\"property-type\":\"data-driven\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]}},\"text-variable-anchor\":{type:\"array\",value:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"text-field\",{\"!\":\"text-variable-anchor\"}],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-angle\":{type:\"number\",default:45,units:\"degrees\",requires:[\"text-field\",{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-writing-mode\":{type:\"array\",value:\"enum\",values:{horizontal:{},vertical:{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-keep-upright\":{type:\"boolean\",default:!0,requires:[\"text-field\",{\"text-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-transform\":{type:\"enum\",values:{none:{},uppercase:{},lowercase:{}},default:\"none\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-offset\":{type:\"array\",value:\"number\",units:\"ems\",length:2,default:[0,0],requires:[\"text-field\",{\"!\":\"text-radial-offset\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-optional\":{type:\"boolean\",default:!1,requires:[\"text-field\",\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},yo={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Xa={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Go={type:\"array\",value:\"*\"},pa={type:\"enum\",values:{\"==\":{},\"!=\":{},\">\":{},\">=\":{},\"<\":{},\"<=\":{},in:{},\"!in\":{},all:{},any:{},none:{},has:{},\"!has\":{},within:{}}},cs={type:\"enum\",values:{Point:{},LineString:{},Polygon:{}}},Ko={type:\"array\",minimum:0,maximum:24,value:[\"number\",\"color\"],length:2},gs={type:\"array\",value:\"*\",minimum:1},Ya={anchor:{type:\"enum\",default:\"viewport\",values:{map:{},viewport:{}},\"property-type\":\"data-constant\",transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]}},position:{type:\"array\",default:[1.15,210,30],length:3,value:\"number\",\"property-type\":\"data-constant\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]}},color:{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},intensity:{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},zo=[\"paint_fill\",\"paint_line\",\"paint_circle\",\"paint_heatmap\",\"paint_fill-extrusion\",\"paint_symbol\",\"paint_raster\",\"paint_hillshade\",\"paint_background\"],Ka={\"fill-antialias\":{type:\"boolean\",default:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-outline-color\":{type:\"color\",transition:!0,requires:[{\"!\":\"fill-pattern\"},{\"fill-antialias\":!0}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"}},Yo={\"line-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"line-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-width\":{type:\"number\",default:1,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-gap-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-offset\":{type:\"number\",default:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-dasharray\":{type:\"array\",value:\"number\",minimum:0,transition:!0,units:\"line widths\",requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"line-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"line-gradient\":{type:\"color\",transition:!1,requires:[{\"!\":\"line-dasharray\"},{\"!\":\"line-pattern\"},{source:\"geojson\",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:[\"line-progress\"]},\"property-type\":\"color-ramp\"}},ns={\"circle-radius\":{type:\"number\",default:5,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-blur\":{type:\"number\",default:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"circle-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-scale\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-stroke-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"}},hs={\"heatmap-radius\":{type:\"number\",default:30,minimum:1,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-weight\":{type:\"number\",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-intensity\":{type:\"number\",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"heatmap-color\":{type:\"color\",default:[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,\"rgba(0, 0, 255, 0)\",.1,\"royalblue\",.3,\"cyan\",.5,\"lime\",.7,\"yellow\",1,\"red\"],transition:!1,expression:{interpolated:!0,parameters:[\"heatmap-density\"]},\"property-type\":\"color-ramp\"},\"heatmap-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},ho={\"icon-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"icon-image\",\"icon-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-color\":{type:\"color\",default:\"#000000\",transition:!0,overridable:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"text-field\",\"text-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ro={\"raster-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-hue-rotate\":{type:\"number\",default:0,period:360,transition:!0,units:\"degrees\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-min\":{type:\"number\",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-max\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-saturation\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-contrast\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-resampling\":{type:\"enum\",values:{linear:{},nearest:{}},default:\"linear\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-fade-duration\":{type:\"number\",default:300,minimum:0,transition:!1,units:\"milliseconds\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ls={\"hillshade-illumination-direction\":{type:\"number\",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-illumination-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-exaggeration\":{type:\"number\",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-shadow-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-highlight-color\":{type:\"color\",default:\"#FFFFFF\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-accent-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Vs={\"background-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"background-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"background-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"background-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ws={duration:{type:\"number\",default:300,minimum:0,units:\"milliseconds\"},delay:{type:\"number\",default:0,minimum:0,units:\"milliseconds\"}},fs={\"*\":{type:\"string\"}},Mi={$version:nn,$root:vn,sources:gn,source:kt,source_vector:or,source_raster:yr,source_raster_dem:on,source_geojson:An,source_video:Zn,source_image:Bn,layer:wn,layout:Dn,layout_background:Ui,layout_fill:pi,layout_circle:Ta,layout_heatmap:Sa,\"layout_fill-extrusion\":{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_line:qa,layout_symbol:to,layout_raster:yo,layout_hillshade:Xa,filter:Go,filter_operator:pa,geometry_type:cs,function:{expression:{type:\"expression\"},stops:{type:\"array\",value:\"function_stop\"},base:{type:\"number\",default:1,minimum:0},property:{type:\"string\",default:\"$zoom\"},type:{type:\"enum\",values:{identity:{},exponential:{},interval:{},categorical:{}},default:\"exponential\"},colorSpace:{type:\"enum\",values:{rgb:{},lab:{},hcl:{}},default:\"rgb\"},default:{type:\"*\",required:!1}},function_stop:Ko,expression:gs,light:Ya,paint:zo,paint_fill:Ka,\"paint_fill-extrusion\":{\"fill-extrusion-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-extrusion-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-extrusion-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"fill-extrusion-height\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-base\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,requires:[\"fill-extrusion-height\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-vertical-gradient\":{type:\"boolean\",default:!0,transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_line:Yo,paint_circle:ns,paint_heatmap:hs,paint_symbol:ho,paint_raster:Ro,paint_hillshade:Ls,paint_background:Vs,transition:Ws,\"property-type\":{\"data-driven\":{type:\"property-type\"},\"cross-faded\":{type:\"property-type\"},\"cross-faded-data-driven\":{type:\"property-type\"},\"color-ramp\":{type:\"property-type\"},\"data-constant\":{type:\"property-type\"},constant:{type:\"property-type\"}},promoteId:fs},Da=function(k,V,oe,ge){this.message=(k?k+\": \":\"\")+oe,ge&&(this.identifier=ge),V!=null&&V.__line__&&(this.line=V.__line__)};function pl(C){var k=C.key,V=C.value;return V?[new Da(k,V,\"constants have been deprecated as of v8\")]:[]}function Xs(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe\":C.itemType.kind===\"value\"?\"array\":\"array<\"+k+\">\"}else return C.kind}var nu=[wl,la,Uo,vo,Ps,Tl,ls,Rl(no),Vu];function qu(C,k){if(k.kind===\"error\")return null;if(C.kind===\"array\"){if(k.kind===\"array\"&&(k.N===0&&k.itemType.kind===\"value\"||!qu(C.itemType,k.itemType))&&(typeof C.N!=\"number\"||C.N===k.N))return null}else{if(C.kind===k.kind)return null;if(C.kind===\"value\")for(var V=0,oe=nu;V255?255:Ut}function ge(Ut){return Ut<0?0:Ut>1?1:Ut}function Pe(Ut){return Ut[Ut.length-1]===\"%\"?oe(parseFloat(Ut)/100*255):oe(parseInt(Ut))}function qe(Ut){return Ut[Ut.length-1]===\"%\"?ge(parseFloat(Ut)/100):ge(parseFloat(Ut))}function ft(Ut,Kt,_r){return _r<0?_r+=1:_r>1&&(_r-=1),_r*6<1?Ut+(Kt-Ut)*_r*6:_r*2<1?Kt:_r*3<2?Ut+(Kt-Ut)*(2/3-_r)*6:Ut}function Pt(Ut){var Kt=Ut.replace(/ /g,\"\").toLowerCase();if(Kt in V)return V[Kt].slice();if(Kt[0]===\"#\"){if(Kt.length===4){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=4095?[(_r&3840)>>4|(_r&3840)>>8,_r&240|(_r&240)>>4,_r&15|(_r&15)<<4,1]:null}else if(Kt.length===7){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=16777215?[(_r&16711680)>>16,(_r&65280)>>8,_r&255,1]:null}return null}var Vr=Kt.indexOf(\"(\"),Or=Kt.indexOf(\")\");if(Vr!==-1&&Or+1===Kt.length){var dn=Kt.substr(0,Vr),jn=Kt.substr(Vr+1,Or-(Vr+1)).split(\",\"),mi=1;switch(dn){case\"rgba\":if(jn.length!==4)return null;mi=qe(jn.pop());case\"rgb\":return jn.length!==3?null:[Pe(jn[0]),Pe(jn[1]),Pe(jn[2]),mi];case\"hsla\":if(jn.length!==4)return null;mi=qe(jn.pop());case\"hsl\":if(jn.length!==3)return null;var ii=(parseFloat(jn[0])%360+360)%360/360,Vi=qe(jn[1]),Ai=qe(jn[2]),ji=Ai<=.5?Ai*(Vi+1):Ai+Vi-Ai*Vi,Yi=Ai*2-ji;return[oe(ft(Yi,ji,ii+1/3)*255),oe(ft(Yi,ji,ii)*255),oe(ft(Yi,ji,ii-1/3)*255),mi];default:return null}}return null}try{k.parseCSSColor=Pt}catch{}}),uf=sh.parseCSSColor,qs=function(k,V,oe,ge){ge===void 0&&(ge=1),this.r=k,this.g=V,this.b=oe,this.a=ge};qs.parse=function(k){if(k){if(k instanceof qs)return k;if(typeof k==\"string\"){var V=uf(k);if(V)return new qs(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},qs.prototype.toString=function(){var k=this.toArray(),V=k[0],oe=k[1],ge=k[2],Pe=k[3];return\"rgba(\"+Math.round(V)+\",\"+Math.round(oe)+\",\"+Math.round(ge)+\",\"+Pe+\")\"},qs.prototype.toArray=function(){var k=this,V=k.r,oe=k.g,ge=k.b,Pe=k.a;return Pe===0?[0,0,0,0]:[V*255/Pe,oe*255/Pe,ge*255/Pe,Pe]},qs.black=new qs(0,0,0,1),qs.white=new qs(1,1,1,1),qs.transparent=new qs(0,0,0,0),qs.red=new qs(1,0,0,1);var Hc=function(k,V,oe){k?this.sensitivity=V?\"variant\":\"case\":this.sensitivity=V?\"accent\":\"base\",this.locale=oe,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:\"search\"})};Hc.prototype.compare=function(k,V){return this.collator.compare(k,V)},Hc.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var bf=function(k,V,oe,ge,Pe){this.text=k,this.image=V,this.scale=oe,this.fontStack=ge,this.textColor=Pe},Ql=function(k){this.sections=k};Ql.fromString=function(k){return new Ql([new bf(k,null,null,null,null)])},Ql.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(k){return k.text.length!==0||k.image&&k.image.name.length!==0})},Ql.factory=function(k){return k instanceof Ql?k:Ql.fromString(k)},Ql.prototype.toString=function(){return this.sections.length===0?\"\":this.sections.map(function(k){return k.text}).join(\"\")},Ql.prototype.serialize=function(){for(var k=[\"format\"],V=0,oe=this.sections;V=0&&C<=255&&typeof k==\"number\"&&k>=0&&k<=255&&typeof V==\"number\"&&V>=0&&V<=255)){var ge=typeof oe==\"number\"?[C,k,V,oe]:[C,k,V];return\"Invalid rgba value [\"+ge.join(\", \")+\"]: 'r', 'g', and 'b' must be between 0 and 255.\"}return typeof oe>\"u\"||typeof oe==\"number\"&&oe>=0&&oe<=1?null:\"Invalid rgba value [\"+[C,k,V,oe].join(\", \")+\"]: 'a' must be between 0 and 1.\"}function gc(C){if(C===null)return!0;if(typeof C==\"string\")return!0;if(typeof C==\"boolean\")return!0;if(typeof C==\"number\")return!0;if(C instanceof qs)return!0;if(C instanceof Hc)return!0;if(C instanceof Ql)return!0;if(C instanceof Al)return!0;if(Array.isArray(C)){for(var k=0,V=C;k2){var ft=k[1];if(typeof ft!=\"string\"||!(ft in sc)||ft===\"object\")return V.error('The item type argument of \"array\" must be one of string, number, boolean',1);qe=sc[ft],oe++}else qe=no;var Pt;if(k.length>3){if(k[2]!==null&&(typeof k[2]!=\"number\"||k[2]<0||k[2]!==Math.floor(k[2])))return V.error('The length argument to \"array\" must be a positive integer literal',2);Pt=k[2],oe++}ge=Rl(qe,Pt)}else ge=sc[Pe];for(var Ut=[];oe1)&&V.push(ge)}}return V.concat(this.args.map(function(Pe){return Pe.serialize()}))};var $u=function(k){this.type=Tl,this.sections=k};$u.parse=function(k,V){if(k.length<2)return V.error(\"Expected at least one argument.\");var oe=k[1];if(!Array.isArray(oe)&&typeof oe==\"object\")return V.error(\"First argument must be an image or text section.\");for(var ge=[],Pe=!1,qe=1;qe<=k.length-1;++qe){var ft=k[qe];if(Pe&&typeof ft==\"object\"&&!Array.isArray(ft)){Pe=!1;var Pt=null;if(ft[\"font-scale\"]&&(Pt=V.parse(ft[\"font-scale\"],1,la),!Pt))return null;var Ut=null;if(ft[\"text-font\"]&&(Ut=V.parse(ft[\"text-font\"],1,Rl(Uo)),!Ut))return null;var Kt=null;if(ft[\"text-color\"]&&(Kt=V.parse(ft[\"text-color\"],1,Ps),!Kt))return null;var _r=ge[ge.length-1];_r.scale=Pt,_r.font=Ut,_r.textColor=Kt}else{var Vr=V.parse(k[qe],1,no);if(!Vr)return null;var Or=Vr.type.kind;if(Or!==\"string\"&&Or!==\"value\"&&Or!==\"null\"&&Or!==\"resolvedImage\")return V.error(\"Formatted text type must be 'string', 'value', 'image' or 'null'.\");Pe=!0,ge.push({content:Vr,scale:null,font:null,textColor:null})}}return new $u(ge)},$u.prototype.evaluate=function(k){var V=function(oe){var ge=oe.content.evaluate(k);return nl(ge)===Vu?new bf(\"\",ge,null,null,null):new bf(Ml(ge),null,oe.scale?oe.scale.evaluate(k):null,oe.font?oe.font.evaluate(k).join(\",\"):null,oe.textColor?oe.textColor.evaluate(k):null)};return new Ql(this.sections.map(V))},$u.prototype.eachChild=function(k){for(var V=0,oe=this.sections;V-1),oe},ll.prototype.eachChild=function(k){k(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){return[\"image\",this.input.serialize()]};var Nh={\"to-boolean\":vo,\"to-color\":Ps,\"to-number\":la,\"to-string\":Uo},ds=function(k,V){this.type=k,this.args=V};ds.parse=function(k,V){if(k.length<2)return V.error(\"Expected at least one argument.\");var oe=k[0];if((oe===\"to-boolean\"||oe===\"to-string\")&&k.length!==2)return V.error(\"Expected one argument.\");for(var ge=Nh[oe],Pe=[],qe=1;qe4?oe=\"Invalid rbga value \"+JSON.stringify(V)+\": expected an array containing either three or four numeric values.\":oe=oc(V[0],V[1],V[2],V[3]),!oe))return new qs(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new sl(oe||\"Could not parse color from value '\"+(typeof V==\"string\"?V:String(JSON.stringify(V)))+\"'\")}else if(this.type.kind===\"number\"){for(var Pt=null,Ut=0,Kt=this.args;Ut=k[2]||C[1]<=k[1]||C[3]>=k[3])}function Jf(C,k){var V=Lc(C[0]),oe=nf(C[1]),ge=Math.pow(2,k.z);return[Math.round(V*ge*pu),Math.round(oe*ge*pu)]}function zf(C,k,V){var oe=C[0]-k[0],ge=C[1]-k[1],Pe=C[0]-V[0],qe=C[1]-V[1];return oe*qe-Pe*ge===0&&oe*Pe<=0&&ge*qe<=0}function wf(C,k,V){return k[1]>C[1]!=V[1]>C[1]&&C[0]<(V[0]-k[0])*(C[1]-k[1])/(V[1]-k[1])+k[0]}function Gc(C,k){for(var V=!1,oe=0,ge=k.length;oe0&&_r<0||Kt<0&&_r>0}function Tf(C,k,V,oe){var ge=[k[0]-C[0],k[1]-C[1]],Pe=[oe[0]-V[0],oe[1]-V[1]];return $f(Pe,ge)===0?!1:!!(ec(C,k,V,oe)&&ec(V,oe,C,k))}function Pc(C,k,V){for(var oe=0,ge=V;oeV[2]){var ge=oe*.5,Pe=C[0]-V[0]>ge?-oe:V[0]-C[0]>ge?oe:0;Pe===0&&(Pe=C[0]-V[2]>ge?-oe:V[2]-C[0]>ge?oe:0),C[0]+=Pe}Df(k,C)}function Of(C){C[0]=C[1]=1/0,C[2]=C[3]=-1/0}function Eh(C,k,V,oe){for(var ge=Math.pow(2,oe.z)*pu,Pe=[oe.x*pu,oe.y*pu],qe=[],ft=0,Pt=C;ft=0)return!1;var V=!0;return C.eachChild(function(oe){V&&!Ru(oe,k)&&(V=!1)}),V}var yc=function(k,V){this.type=V.type,this.name=k,this.boundExpression=V};yc.parse=function(k,V){if(k.length!==2||typeof k[1]!=\"string\")return V.error(\"'var' expression requires exactly one string literal argument.\");var oe=k[1];return V.scope.has(oe)?new yc(oe,V.scope.get(oe)):V.error('Unknown variable \"'+oe+'\". Make sure \"'+oe+'\" has been bound in an enclosing \"let\" expression before using it.',1)},yc.prototype.evaluate=function(k){return this.boundExpression.evaluate(k)},yc.prototype.eachChild=function(){},yc.prototype.outputDefined=function(){return!1},yc.prototype.serialize=function(){return[\"var\",this.name]};var Dl=function(k,V,oe,ge,Pe){V===void 0&&(V=[]),ge===void 0&&(ge=new hl),Pe===void 0&&(Pe=[]),this.registry=k,this.path=V,this.key=V.map(function(qe){return\"[\"+qe+\"]\"}).join(\"\"),this.scope=ge,this.errors=Pe,this.expectedType=oe};Dl.prototype.parse=function(k,V,oe,ge,Pe){return Pe===void 0&&(Pe={}),V?this.concat(V,oe,ge)._parse(k,Pe):this._parse(k,Pe)},Dl.prototype._parse=function(k,V){(k===null||typeof k==\"string\"||typeof k==\"boolean\"||typeof k==\"number\")&&(k=[\"literal\",k]);function oe(Kt,_r,Vr){return Vr===\"assert\"?new jl(_r,[Kt]):Vr===\"coerce\"?new ds(_r,[Kt]):Kt}if(Array.isArray(k)){if(k.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use [\"literal\", []].');var ge=k[0];if(typeof ge!=\"string\")return this.error(\"Expression name must be a string, but found \"+typeof ge+' instead. If you wanted a literal array, use [\"literal\", [...]].',0),null;var Pe=this.registry[ge];if(Pe){var qe=Pe.parse(k,this);if(!qe)return null;if(this.expectedType){var ft=this.expectedType,Pt=qe.type;if((ft.kind===\"string\"||ft.kind===\"number\"||ft.kind===\"boolean\"||ft.kind===\"object\"||ft.kind===\"array\")&&Pt.kind===\"value\")qe=oe(qe,ft,V.typeAnnotation||\"assert\");else if((ft.kind===\"color\"||ft.kind===\"formatted\"||ft.kind===\"resolvedImage\")&&(Pt.kind===\"value\"||Pt.kind===\"string\"))qe=oe(qe,ft,V.typeAnnotation||\"coerce\");else if(this.checkSubtype(ft,Pt))return null}if(!(qe instanceof Zs)&&qe.type.kind!==\"resolvedImage\"&&Rc(qe)){var Ut=new Bs;try{qe=new Zs(qe.type,qe.evaluate(Ut))}catch(Kt){return this.error(Kt.message),null}}return qe}return this.error('Unknown expression \"'+ge+'\". If you wanted a literal array, use [\"literal\", [...]].',0)}else return typeof k>\"u\"?this.error(\"'undefined' value invalid. Use null instead.\"):typeof k==\"object\"?this.error('Bare objects invalid. Use [\"literal\", {...}] instead.'):this.error(\"Expected an array, but found \"+typeof k+\" instead.\")},Dl.prototype.concat=function(k,V,oe){var ge=typeof k==\"number\"?this.path.concat(k):this.path,Pe=oe?this.scope.concat(oe):this.scope;return new Dl(this.registry,ge,V||null,Pe,this.errors)},Dl.prototype.error=function(k){for(var V=[],oe=arguments.length-1;oe-- >0;)V[oe]=arguments[oe+1];var ge=\"\"+this.key+V.map(function(Pe){return\"[\"+Pe+\"]\"}).join(\"\");this.errors.push(new As(ge,k))},Dl.prototype.checkSubtype=function(k,V){var oe=qu(k,V);return oe&&this.error(oe),oe};function Rc(C){if(C instanceof yc)return Rc(C.boundExpression);if(C instanceof Vo&&C.name===\"error\")return!1;if(C instanceof Qu)return!1;if(C instanceof Iu)return!1;var k=C instanceof ds||C instanceof jl,V=!0;return C.eachChild(function(oe){k?V=V&&Rc(oe):V=V&&oe instanceof Zs}),V?eh(C)&&Ru(C,[\"zoom\",\"heatmap-density\",\"line-progress\",\"accumulated\",\"is-supported-script\"]):!1}function tc(C,k){for(var V=C.length-1,oe=0,ge=V,Pe=0,qe,ft;oe<=ge;)if(Pe=Math.floor((oe+ge)/2),qe=C[Pe],ft=C[Pe+1],qe<=k){if(Pe===V||kk)ge=Pe-1;else throw new sl(\"Input is not a number.\");return 0}var xu=function(k,V,oe){this.type=k,this.input=V,this.labels=[],this.outputs=[];for(var ge=0,Pe=oe;ge=ft)return V.error('Input/output pairs for \"step\" expressions must be arranged with input values in strictly ascending order.',Ut);var _r=V.parse(Pt,Kt,Pe);if(!_r)return null;Pe=Pe||_r.type,ge.push([ft,_r])}return new xu(Pe,oe,ge)},xu.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge);return oe[qe].evaluate(k)},xu.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V0&&k.push(this.labels[V]),k.push(this.outputs[V].serialize());return k};function Sl(C,k,V){return C*(1-V)+k*V}function th(C,k,V){return new qs(Sl(C.r,k.r,V),Sl(C.g,k.g,V),Sl(C.b,k.b,V),Sl(C.a,k.a,V))}function uh(C,k,V){return C.map(function(oe,ge){return Sl(oe,k[ge],V)})}var Hu=Object.freeze({__proto__:null,number:Sl,color:th,array:uh}),_c=.95047,lc=1,Uh=1.08883,of=4/29,ff=6/29,Du=3*ff*ff,Af=ff*ff*ff,lu=Math.PI/180,Xc=180/Math.PI;function ch(C){return C>Af?Math.pow(C,1/3):C/Du+of}function Mf(C){return C>ff?C*C*C:Du*(C-of)}function dl(C){return 255*(C<=.0031308?12.92*C:1.055*Math.pow(C,1/2.4)-.055)}function bu(C){return C/=255,C<=.04045?C/12.92:Math.pow((C+.055)/1.055,2.4)}function wu(C){var k=bu(C.r),V=bu(C.g),oe=bu(C.b),ge=ch((.4124564*k+.3575761*V+.1804375*oe)/_c),Pe=ch((.2126729*k+.7151522*V+.072175*oe)/lc),qe=ch((.0193339*k+.119192*V+.9503041*oe)/Uh);return{l:116*Pe-16,a:500*(ge-Pe),b:200*(Pe-qe),alpha:C.a}}function Bf(C){var k=(C.l+16)/116,V=isNaN(C.a)?k:k+C.a/500,oe=isNaN(C.b)?k:k-C.b/200;return k=lc*Mf(k),V=_c*Mf(V),oe=Uh*Mf(oe),new qs(dl(3.2404542*V-1.5371385*k-.4985314*oe),dl(-.969266*V+1.8760108*k+.041556*oe),dl(.0556434*V-.2040259*k+1.0572252*oe),C.alpha)}function ul(C,k,V){return{l:Sl(C.l,k.l,V),a:Sl(C.a,k.a,V),b:Sl(C.b,k.b,V),alpha:Sl(C.alpha,k.alpha,V)}}function sf(C){var k=wu(C),V=k.l,oe=k.a,ge=k.b,Pe=Math.atan2(ge,oe)*Xc;return{h:Pe<0?Pe+360:Pe,c:Math.sqrt(oe*oe+ge*ge),l:V,alpha:C.a}}function xc(C){var k=C.h*lu,V=C.c,oe=C.l;return Bf({l:oe,a:Math.cos(k)*V,b:Math.sin(k)*V,alpha:C.alpha})}function Gu(C,k,V){var oe=k-C;return C+V*(oe>180||oe<-180?oe-360*Math.round(oe/360):oe)}function hf(C,k,V){return{h:Gu(C.h,k.h,V),c:Sl(C.c,k.c,V),l:Sl(C.l,k.l,V),alpha:Sl(C.alpha,k.alpha,V)}}var uc={forward:wu,reverse:Bf,interpolate:ul},Zc={forward:sf,reverse:xc,interpolate:hf},Nf=Object.freeze({__proto__:null,lab:uc,hcl:Zc}),Xl=function(k,V,oe,ge,Pe){this.type=k,this.operator=V,this.interpolation=oe,this.input=ge,this.labels=[],this.outputs=[];for(var qe=0,ft=Pe;qe1}))return V.error(\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\",1);ge={name:\"cubic-bezier\",controlPoints:Pt}}else return V.error(\"Unknown interpolation type \"+String(ge[0]),1,0);if(k.length-1<4)return V.error(\"Expected at least 4 arguments, but found only \"+(k.length-1)+\".\");if((k.length-1)%2!==0)return V.error(\"Expected an even number of arguments.\");if(Pe=V.parse(Pe,2,la),!Pe)return null;var Ut=[],Kt=null;oe===\"interpolate-hcl\"||oe===\"interpolate-lab\"?Kt=Ps:V.expectedType&&V.expectedType.kind!==\"value\"&&(Kt=V.expectedType);for(var _r=0;_r=Vr)return V.error('Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.',dn);var mi=V.parse(Or,jn,Kt);if(!mi)return null;Kt=Kt||mi.type,Ut.push([Vr,mi])}return Kt.kind!==\"number\"&&Kt.kind!==\"color\"&&!(Kt.kind===\"array\"&&Kt.itemType.kind===\"number\"&&typeof Kt.N==\"number\")?V.error(\"Type \"+Qs(Kt)+\" is not interpolatable.\"):new Xl(Kt,oe,ge,Pe,Ut)},Xl.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge),ft=V[qe],Pt=V[qe+1],Ut=Xl.interpolationFactor(this.interpolation,ge,ft,Pt),Kt=oe[qe].evaluate(k),_r=oe[qe+1].evaluate(k);return this.operator===\"interpolate\"?Hu[this.type.kind.toLowerCase()](Kt,_r,Ut):this.operator===\"interpolate-hcl\"?Zc.reverse(Zc.interpolate(Zc.forward(Kt),Zc.forward(_r),Ut)):uc.reverse(uc.interpolate(uc.forward(Kt),uc.forward(_r),Ut))},Xl.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V=oe.length)throw new sl(\"Array index out of bounds: \"+V+\" > \"+(oe.length-1)+\".\");if(V!==Math.floor(V))throw new sl(\"Array index must be an integer, but found \"+V+\" instead.\");return oe[V]},cc.prototype.eachChild=function(k){k(this.index),k(this.input)},cc.prototype.outputDefined=function(){return!1},cc.prototype.serialize=function(){return[\"at\",this.index.serialize(),this.input.serialize()]};var zl=function(k,V){this.type=vo,this.needle=k,this.haystack=V};zl.parse=function(k,V){if(k.length!==3)return V.error(\"Expected 2 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);return!oe||!ge?null:kc(oe.type,[vo,Uo,la,wl,no])?new zl(oe,ge):V.error(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(oe.type)+\" instead\")},zl.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!oe)return!1;if(!Ju(V,[\"boolean\",\"string\",\"number\",\"null\"]))throw new sl(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(nl(V))+\" instead.\");if(!Ju(oe,[\"string\",\"array\"]))throw new sl(\"Expected second argument to be of type array or string, but found \"+Qs(nl(oe))+\" instead.\");return oe.indexOf(V)>=0},zl.prototype.eachChild=function(k){k(this.needle),k(this.haystack)},zl.prototype.outputDefined=function(){return!0},zl.prototype.serialize=function(){return[\"in\",this.needle.serialize(),this.haystack.serialize()]};var uu=function(k,V,oe){this.type=la,this.needle=k,this.haystack=V,this.fromIndex=oe};uu.parse=function(k,V){if(k.length<=2||k.length>=5)return V.error(\"Expected 3 or 4 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);if(!oe||!ge)return null;if(!kc(oe.type,[vo,Uo,la,wl,no]))return V.error(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(oe.type)+\" instead\");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new uu(oe,ge,Pe):null}else return new uu(oe,ge)},uu.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!Ju(V,[\"boolean\",\"string\",\"number\",\"null\"]))throw new sl(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(nl(V))+\" instead.\");if(!Ju(oe,[\"string\",\"array\"]))throw new sl(\"Expected second argument to be of type array or string, but found \"+Qs(nl(oe))+\" instead.\");if(this.fromIndex){var ge=this.fromIndex.evaluate(k);return oe.indexOf(V,ge)}return oe.indexOf(V)},uu.prototype.eachChild=function(k){k(this.needle),k(this.haystack),this.fromIndex&&k(this.fromIndex)},uu.prototype.outputDefined=function(){return!1},uu.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var k=this.fromIndex.serialize();return[\"index-of\",this.needle.serialize(),this.haystack.serialize(),k]}return[\"index-of\",this.needle.serialize(),this.haystack.serialize()]};var fc=function(k,V,oe,ge,Pe,qe){this.inputType=k,this.type=V,this.input=oe,this.cases=ge,this.outputs=Pe,this.otherwise=qe};fc.parse=function(k,V){if(k.length<5)return V.error(\"Expected at least 4 arguments, but found only \"+(k.length-1)+\".\");if(k.length%2!==1)return V.error(\"Expected an even number of arguments.\");var oe,ge;V.expectedType&&V.expectedType.kind!==\"value\"&&(ge=V.expectedType);for(var Pe={},qe=[],ft=2;ftNumber.MAX_SAFE_INTEGER)return Kt.error(\"Branch labels must be integers no larger than \"+Number.MAX_SAFE_INTEGER+\".\");if(typeof Or==\"number\"&&Math.floor(Or)!==Or)return Kt.error(\"Numeric branch labels must be integer values.\");if(!oe)oe=nl(Or);else if(Kt.checkSubtype(oe,nl(Or)))return null;if(typeof Pe[String(Or)]<\"u\")return Kt.error(\"Branch labels must be unique.\");Pe[String(Or)]=qe.length}var dn=V.parse(Ut,ft,ge);if(!dn)return null;ge=ge||dn.type,qe.push(dn)}var jn=V.parse(k[1],1,no);if(!jn)return null;var mi=V.parse(k[k.length-1],k.length-1,ge);return!mi||jn.type.kind!==\"value\"&&V.concat(1).checkSubtype(oe,jn.type)?null:new fc(oe,ge,jn,Pe,qe,mi)},fc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=nl(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise;return oe.evaluate(k)},fc.prototype.eachChild=function(k){k(this.input),this.outputs.forEach(k),k(this.otherwise)},fc.prototype.outputDefined=function(){return this.outputs.every(function(k){return k.outputDefined()})&&this.otherwise.outputDefined()},fc.prototype.serialize=function(){for(var k=this,V=[\"match\",this.input.serialize()],oe=Object.keys(this.cases).sort(),ge=[],Pe={},qe=0,ft=oe;qe=5)return V.error(\"Expected 3 or 4 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,la);if(!oe||!ge)return null;if(!kc(oe.type,[Rl(no),Uo,no]))return V.error(\"Expected first argument to be of type array or string, but found \"+Qs(oe.type)+\" instead\");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new rc(oe.type,oe,ge,Pe):null}else return new rc(oe.type,oe,ge)},rc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=this.beginIndex.evaluate(k);if(!Ju(V,[\"string\",\"array\"]))throw new sl(\"Expected first argument to be of type array or string, but found \"+Qs(nl(V))+\" instead.\");if(this.endIndex){var ge=this.endIndex.evaluate(k);return V.slice(oe,ge)}return V.slice(oe)},rc.prototype.eachChild=function(k){k(this.input),k(this.beginIndex),this.endIndex&&k(this.endIndex)},rc.prototype.outputDefined=function(){return!1},rc.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var k=this.endIndex.serialize();return[\"slice\",this.input.serialize(),this.beginIndex.serialize(),k]}return[\"slice\",this.input.serialize(),this.beginIndex.serialize()]};function Yc(C,k){return C===\"==\"||C===\"!=\"?k.kind===\"boolean\"||k.kind===\"string\"||k.kind===\"number\"||k.kind===\"null\"||k.kind===\"value\":k.kind===\"string\"||k.kind===\"number\"||k.kind===\"value\"}function Yt(C,k,V){return k===V}function dr(C,k,V){return k!==V}function tn(C,k,V){return kV}function Cn(C,k,V){return k<=V}function si(C,k,V){return k>=V}function yi(C,k,V,oe){return oe.compare(k,V)===0}function Di(C,k,V,oe){return!yi(C,k,V,oe)}function Wi(C,k,V,oe){return oe.compare(k,V)<0}function aa(C,k,V,oe){return oe.compare(k,V)>0}function bi(C,k,V,oe){return oe.compare(k,V)<=0}function zi(C,k,V,oe){return oe.compare(k,V)>=0}function Li(C,k,V){var oe=C!==\"==\"&&C!==\"!=\";return function(){function ge(Pe,qe,ft){this.type=vo,this.lhs=Pe,this.rhs=qe,this.collator=ft,this.hasUntypedArgument=Pe.type.kind===\"value\"||qe.type.kind===\"value\"}return ge.parse=function(qe,ft){if(qe.length!==3&&qe.length!==4)return ft.error(\"Expected two or three arguments.\");var Pt=qe[0],Ut=ft.parse(qe[1],1,no);if(!Ut)return null;if(!Yc(Pt,Ut.type))return ft.concat(1).error('\"'+Pt+`\" comparisons are not supported for type '`+Qs(Ut.type)+\"'.\");var Kt=ft.parse(qe[2],2,no);if(!Kt)return null;if(!Yc(Pt,Kt.type))return ft.concat(2).error('\"'+Pt+`\" comparisons are not supported for type '`+Qs(Kt.type)+\"'.\");if(Ut.type.kind!==Kt.type.kind&&Ut.type.kind!==\"value\"&&Kt.type.kind!==\"value\")return ft.error(\"Cannot compare types '\"+Qs(Ut.type)+\"' and '\"+Qs(Kt.type)+\"'.\");oe&&(Ut.type.kind===\"value\"&&Kt.type.kind!==\"value\"?Ut=new jl(Kt.type,[Ut]):Ut.type.kind!==\"value\"&&Kt.type.kind===\"value\"&&(Kt=new jl(Ut.type,[Kt])));var _r=null;if(qe.length===4){if(Ut.type.kind!==\"string\"&&Kt.type.kind!==\"string\"&&Ut.type.kind!==\"value\"&&Kt.type.kind!==\"value\")return ft.error(\"Cannot use collator to compare non-string types.\");if(_r=ft.parse(qe[3],3,Ku),!_r)return null}return new ge(Ut,Kt,_r)},ge.prototype.evaluate=function(qe){var ft=this.lhs.evaluate(qe),Pt=this.rhs.evaluate(qe);if(oe&&this.hasUntypedArgument){var Ut=nl(ft),Kt=nl(Pt);if(Ut.kind!==Kt.kind||!(Ut.kind===\"string\"||Ut.kind===\"number\"))throw new sl('Expected arguments for \"'+C+'\" to be (string, string) or (number, number), but found ('+Ut.kind+\", \"+Kt.kind+\") instead.\")}if(this.collator&&!oe&&this.hasUntypedArgument){var _r=nl(ft),Vr=nl(Pt);if(_r.kind!==\"string\"||Vr.kind!==\"string\")return k(qe,ft,Pt)}return this.collator?V(qe,ft,Pt,this.collator.evaluate(qe)):k(qe,ft,Pt)},ge.prototype.eachChild=function(qe){qe(this.lhs),qe(this.rhs),this.collator&&qe(this.collator)},ge.prototype.outputDefined=function(){return!0},ge.prototype.serialize=function(){var qe=[C];return this.eachChild(function(ft){qe.push(ft.serialize())}),qe},ge}()}var di=Li(\"==\",Yt,yi),wa=Li(\"!=\",dr,Di),po=Li(\"<\",tn,Wi),co=Li(\">\",Wr,aa),mo=Li(\"<=\",Cn,bi),Ao=Li(\">=\",si,zi),xa=function(k,V,oe,ge,Pe){this.type=Uo,this.number=k,this.locale=V,this.currency=oe,this.minFractionDigits=ge,this.maxFractionDigits=Pe};xa.parse=function(k,V){if(k.length!==3)return V.error(\"Expected two arguments.\");var oe=V.parse(k[1],1,la);if(!oe)return null;var ge=k[2];if(typeof ge!=\"object\"||Array.isArray(ge))return V.error(\"NumberFormat options argument must be an object.\");var Pe=null;if(ge.locale&&(Pe=V.parse(ge.locale,1,Uo),!Pe))return null;var qe=null;if(ge.currency&&(qe=V.parse(ge.currency,1,Uo),!qe))return null;var ft=null;if(ge[\"min-fraction-digits\"]&&(ft=V.parse(ge[\"min-fraction-digits\"],1,la),!ft))return null;var Pt=null;return ge[\"max-fraction-digits\"]&&(Pt=V.parse(ge[\"max-fraction-digits\"],1,la),!Pt)?null:new xa(oe,Pe,qe,ft,Pt)},xa.prototype.evaluate=function(k){return new Intl.NumberFormat(this.locale?this.locale.evaluate(k):[],{style:this.currency?\"currency\":\"decimal\",currency:this.currency?this.currency.evaluate(k):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(k):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(k):void 0}).format(this.number.evaluate(k))},xa.prototype.eachChild=function(k){k(this.number),this.locale&&k(this.locale),this.currency&&k(this.currency),this.minFractionDigits&&k(this.minFractionDigits),this.maxFractionDigits&&k(this.maxFractionDigits)},xa.prototype.outputDefined=function(){return!1},xa.prototype.serialize=function(){var k={};return this.locale&&(k.locale=this.locale.serialize()),this.currency&&(k.currency=this.currency.serialize()),this.minFractionDigits&&(k[\"min-fraction-digits\"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(k[\"max-fraction-digits\"]=this.maxFractionDigits.serialize()),[\"number-format\",this.number.serialize(),k]};var Qi=function(k){this.type=la,this.input=k};Qi.parse=function(k,V){if(k.length!==2)return V.error(\"Expected 1 argument, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1);return oe?oe.type.kind!==\"array\"&&oe.type.kind!==\"string\"&&oe.type.kind!==\"value\"?V.error(\"Expected argument of type string or array, but found \"+Qs(oe.type)+\" instead.\"):new Qi(oe):null},Qi.prototype.evaluate=function(k){var V=this.input.evaluate(k);if(typeof V==\"string\")return V.length;if(Array.isArray(V))return V.length;throw new sl(\"Expected value to be of type string or array, but found \"+Qs(nl(V))+\" instead.\")},Qi.prototype.eachChild=function(k){k(this.input)},Qi.prototype.outputDefined=function(){return!1},Qi.prototype.serialize=function(){var k=[\"length\"];return this.eachChild(function(V){k.push(V.serialize())}),k};var Lo={\"==\":di,\"!=\":wa,\">\":co,\"<\":po,\">=\":Ao,\"<=\":mo,array:jl,at:cc,boolean:jl,case:Dc,coalesce:Wu,collator:Qu,format:$u,image:ll,in:zl,\"index-of\":uu,interpolate:Xl,\"interpolate-hcl\":Xl,\"interpolate-lab\":Xl,length:Qi,let:bc,literal:Zs,match:fc,number:jl,\"number-format\":xa,object:jl,slice:rc,step:xu,string:jl,\"to-boolean\":ds,\"to-color\":ds,\"to-number\":ds,\"to-string\":ds,var:yc,within:Iu};function as(C,k){var V=k[0],oe=k[1],ge=k[2],Pe=k[3];V=V.evaluate(C),oe=oe.evaluate(C),ge=ge.evaluate(C);var qe=Pe?Pe.evaluate(C):1,ft=oc(V,oe,ge,qe);if(ft)throw new sl(ft);return new qs(V/255*qe,oe/255*qe,ge/255*qe,qe)}function Ds(C,k){return C in k}function il(C,k){var V=k[C];return typeof V>\"u\"?null:V}function Ns(C,k,V,oe){for(;V<=oe;){var ge=V+oe>>1;if(k[ge]===C)return!0;k[ge]>C?oe=ge-1:V=ge+1}return!1}function el(C){return{type:C}}Vo.register(Lo,{error:[$l,[Uo],function(C,k){var V=k[0];throw new sl(V.evaluate(C))}],typeof:[Uo,[no],function(C,k){var V=k[0];return Qs(nl(V.evaluate(C)))}],\"to-rgba\":[Rl(la,4),[Ps],function(C,k){var V=k[0];return V.evaluate(C).toArray()}],rgb:[Ps,[la,la,la],as],rgba:[Ps,[la,la,la,la],as],has:{type:vo,overloads:[[[Uo],function(C,k){var V=k[0];return Ds(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return Ds(V.evaluate(C),oe.evaluate(C))}]]},get:{type:no,overloads:[[[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return il(V.evaluate(C),oe.evaluate(C))}]]},\"feature-state\":[no,[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.featureState||{})}],properties:[ls,[],function(C){return C.properties()}],\"geometry-type\":[Uo,[],function(C){return C.geometryType()}],id:[no,[],function(C){return C.id()}],zoom:[la,[],function(C){return C.globals.zoom}],\"heatmap-density\":[la,[],function(C){return C.globals.heatmapDensity||0}],\"line-progress\":[la,[],function(C){return C.globals.lineProgress||0}],accumulated:[no,[],function(C){return C.globals.accumulated===void 0?null:C.globals.accumulated}],\"+\":[la,el(la),function(C,k){for(var V=0,oe=0,ge=k;oe\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>Pe}],\"filter-id->\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>ge}],\"filter-<=\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge<=Pe}],\"filter-id-<=\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe<=ge}],\"filter->=\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>=Pe}],\"filter-id->=\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>=ge}],\"filter-has\":[vo,[no],function(C,k){var V=k[0];return V.value in C.properties()}],\"filter-has-id\":[vo,[],function(C){return C.id()!==null&&C.id()!==void 0}],\"filter-type-in\":[vo,[Rl(Uo)],function(C,k){var V=k[0];return V.value.indexOf(C.geometryType())>=0}],\"filter-id-in\":[vo,[Rl(no)],function(C,k){var V=k[0];return V.value.indexOf(C.id())>=0}],\"filter-in-small\":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return oe.value.indexOf(C.properties()[V.value])>=0}],\"filter-in-large\":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return Ns(C.properties()[V.value],oe.value,0,oe.value.length-1)}],all:{type:vo,overloads:[[[vo,vo],function(C,k){var V=k[0],oe=k[1];return V.evaluate(C)&&oe.evaluate(C)}],[el(vo),function(C,k){for(var V=0,oe=k;V-1}function Za(C){return!!C.expression&&C.expression.interpolated}function jo(C){return C instanceof Number?\"number\":C instanceof String?\"string\":C instanceof Boolean?\"boolean\":Array.isArray(C)?\"array\":C===null?\"null\":typeof C}function Js(C){return typeof C==\"object\"&&C!==null&&!Array.isArray(C)}function zs(C){return C}function cu(C,k){var V=k.type===\"color\",oe=C.stops&&typeof C.stops[0][0]==\"object\",ge=oe||C.property!==void 0,Pe=oe||!ge,qe=C.type||(Za(k)?\"exponential\":\"interval\");if(V&&(C=Xs({},C),C.stops&&(C.stops=C.stops.map(function(Ua){return[Ua[0],qs.parse(Ua[1])]})),C.default?C.default=qs.parse(C.default):C.default=qs.parse(k.default)),C.colorSpace&&C.colorSpace!==\"rgb\"&&!Nf[C.colorSpace])throw new Error(\"Unknown color space: \"+C.colorSpace);var ft,Pt,Ut;if(qe===\"exponential\")ft=Tu;else if(qe===\"interval\")ft=Kc;else if(qe===\"categorical\"){ft=nc,Pt=Object.create(null);for(var Kt=0,_r=C.stops;Kt<_r.length;Kt+=1){var Vr=_r[Kt];Pt[Vr[0]]=Vr[1]}Ut=typeof C.stops[0][0]}else if(qe===\"identity\")ft=zc;else throw new Error('Unknown function type \"'+qe+'\"');if(oe){for(var Or={},dn=[],jn=0;jn=C.stops[oe-1][0])return C.stops[oe-1][1];var ge=tc(C.stops.map(function(Pe){return Pe[0]}),V);return C.stops[ge][1]}function Tu(C,k,V){var oe=C.base!==void 0?C.base:1;if(jo(V)!==\"number\")return zu(C.default,k.default);var ge=C.stops.length;if(ge===1||V<=C.stops[0][0])return C.stops[0][1];if(V>=C.stops[ge-1][0])return C.stops[ge-1][1];var Pe=tc(C.stops.map(function(_r){return _r[0]}),V),qe=Fu(V,oe,C.stops[Pe][0],C.stops[Pe+1][0]),ft=C.stops[Pe][1],Pt=C.stops[Pe+1][1],Ut=Hu[k.type]||zs;if(C.colorSpace&&C.colorSpace!==\"rgb\"){var Kt=Nf[C.colorSpace];Ut=function(_r,Vr){return Kt.reverse(Kt.interpolate(Kt.forward(_r),Kt.forward(Vr),qe))}}return typeof ft.evaluate==\"function\"?{evaluate:function(){for(var Vr=[],Or=arguments.length;Or--;)Vr[Or]=arguments[Or];var dn=ft.evaluate.apply(void 0,Vr),jn=Pt.evaluate.apply(void 0,Vr);if(!(dn===void 0||jn===void 0))return Ut(dn,jn,qe)}}:Ut(ft,Pt,qe)}function zc(C,k,V){return k.type===\"color\"?V=qs.parse(V):k.type===\"formatted\"?V=Ql.fromString(V.toString()):k.type===\"resolvedImage\"?V=Al.fromString(V.toString()):jo(V)!==k.type&&(k.type!==\"enum\"||!k.values[V])&&(V=void 0),zu(V,C.default,k.default)}function Fu(C,k,V,oe){var ge=oe-V,Pe=C-V;return ge===0?0:k===1?Pe/ge:(Math.pow(k,Pe)-1)/(Math.pow(k,ge)-1)}var wc=function(k,V){this.expression=k,this._warningHistory={},this._evaluator=new Bs,this._defaultValue=V?Ae(V):null,this._enumValues=V&&V.type===\"enum\"?V.values:null};wc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._evaluator.globals=k,this._evaluator.feature=V,this._evaluator.featureState=oe,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe,this.expression.evaluate(this._evaluator)},wc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){this._evaluator.globals=k,this._evaluator.feature=V||null,this._evaluator.featureState=oe||null,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe||null;try{var ft=this.expression.evaluate(this._evaluator);if(ft==null||typeof ft==\"number\"&&ft!==ft)return this._defaultValue;if(this._enumValues&&!(ft in this._enumValues))throw new sl(\"Expected value to be one of \"+Object.keys(this._enumValues).map(function(Pt){return JSON.stringify(Pt)}).join(\", \")+\", but found \"+JSON.stringify(ft)+\" instead.\");return ft}catch(Pt){return this._warningHistory[Pt.message]||(this._warningHistory[Pt.message]=!0,typeof console<\"u\"&&console.warn(Pt.message)),this._defaultValue}};function bo(C){return Array.isArray(C)&&C.length>0&&typeof C[0]==\"string\"&&C[0]in Lo}function Wo(C,k){var V=new Dl(Lo,[],k?be(k):void 0),oe=V.parse(C,void 0,void 0,void 0,k&&k.type===\"string\"?{typeAnnotation:\"coerce\"}:void 0);return oe?Es(new wc(oe,k)):Bl(V.errors)}var Fc=function(k,V){this.kind=k,this._styleExpression=V,this.isStateDependent=k!==\"constant\"&&!su(V.expression)};Fc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},Fc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)};var hc=function(k,V,oe,ge){this.kind=k,this.zoomStops=oe,this._styleExpression=V,this.isStateDependent=k!==\"camera\"&&!su(V.expression),this.interpolationType=ge};hc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},hc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)},hc.prototype.interpolationFactor=function(k,V,oe){return this.interpolationType?Xl.interpolationFactor(this.interpolationType,k,V,oe):0};function dc(C,k){if(C=Wo(C,k),C.result===\"error\")return C;var V=C.value.expression,oe=eh(V);if(!oe&&!_l(k))return Bl([new As(\"\",\"data expressions not supported\")]);var ge=Ru(V,[\"zoom\"]);if(!ge&&!cl(k))return Bl([new As(\"\",\"zoom expressions not supported\")]);var Pe=ne(V);if(!Pe&&!ge)return Bl([new As(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.')]);if(Pe instanceof As)return Bl([Pe]);if(Pe instanceof Xl&&!Za(k))return Bl([new As(\"\",'\"interpolate\" expressions cannot be used with this property')]);if(!Pe)return Es(oe?new Fc(\"constant\",C.value):new Fc(\"source\",C.value));var qe=Pe instanceof Xl?Pe.interpolation:void 0;return Es(oe?new hc(\"camera\",C.value,Pe.labels,qe):new hc(\"composite\",C.value,Pe.labels,qe))}var Ne=function(k,V){this._parameters=k,this._specification=V,Xs(this,cu(this._parameters,this._specification))};Ne.deserialize=function(k){return new Ne(k._parameters,k._specification)},Ne.serialize=function(k){return{_parameters:k._parameters,_specification:k._specification}};function R(C,k){if(Js(C))return new Ne(C,k);if(bo(C)){var V=dc(C,k);if(V.result===\"error\")throw new Error(V.value.map(function(ge){return ge.key+\": \"+ge.message}).join(\", \"));return V.value}else{var oe=C;return typeof C==\"string\"&&k.type===\"color\"&&(oe=qs.parse(C)),{kind:\"constant\",evaluate:function(){return oe}}}}function ne(C){var k=null;if(C instanceof bc)k=ne(C.result);else if(C instanceof Wu)for(var V=0,oe=C.args;Voe.maximum?[new Da(k,V,V+\" is greater than the maximum value \"+oe.maximum)]:[]}function zt(C){var k=C.valueSpec,V=Eo(C.value.type),oe,ge={},Pe,qe,ft=V!==\"categorical\"&&C.value.property===void 0,Pt=!ft,Ut=jo(C.value.stops)===\"array\"&&jo(C.value.stops[0])===\"array\"&&jo(C.value.stops[0][0])===\"object\",Kt=Fe({key:C.key,value:C.value,valueSpec:C.styleSpec.function,style:C.style,styleSpec:C.styleSpec,objectElementValidators:{stops:_r,default:dn}});return V===\"identity\"&&ft&&Kt.push(new Da(C.key,C.value,'missing required property \"property\"')),V!==\"identity\"&&!C.value.stops&&Kt.push(new Da(C.key,C.value,'missing required property \"stops\"')),V===\"exponential\"&&C.valueSpec.expression&&!Za(C.valueSpec)&&Kt.push(new Da(C.key,C.value,\"exponential functions not supported\")),C.styleSpec.$version>=8&&(Pt&&!_l(C.valueSpec)?Kt.push(new Da(C.key,C.value,\"property functions not supported\")):ft&&!cl(C.valueSpec)&&Kt.push(new Da(C.key,C.value,\"zoom functions not supported\"))),(V===\"categorical\"||Ut)&&C.value.property===void 0&&Kt.push(new Da(C.key,C.value,'\"property\" property is required')),Kt;function _r(jn){if(V===\"identity\")return[new Da(jn.key,jn.value,'identity function may not have a \"stops\" property')];var mi=[],ii=jn.value;return mi=mi.concat(ht({key:jn.key,value:ii,valueSpec:jn.valueSpec,style:jn.style,styleSpec:jn.styleSpec,arrayElementValidator:Vr})),jo(ii)===\"array\"&&ii.length===0&&mi.push(new Da(jn.key,ii,\"array must have at least one stop\")),mi}function Vr(jn){var mi=[],ii=jn.value,Vi=jn.key;if(jo(ii)!==\"array\")return[new Da(Vi,ii,\"array expected, \"+jo(ii)+\" found\")];if(ii.length!==2)return[new Da(Vi,ii,\"array length 2 expected, length \"+ii.length+\" found\")];if(Ut){if(jo(ii[0])!==\"object\")return[new Da(Vi,ii,\"object expected, \"+jo(ii[0])+\" found\")];if(ii[0].zoom===void 0)return[new Da(Vi,ii,\"object stop key must have zoom\")];if(ii[0].value===void 0)return[new Da(Vi,ii,\"object stop key must have value\")];if(qe&&qe>Eo(ii[0].zoom))return[new Da(Vi,ii[0].zoom,\"stop zoom values must appear in ascending order\")];Eo(ii[0].zoom)!==qe&&(qe=Eo(ii[0].zoom),Pe=void 0,ge={}),mi=mi.concat(Fe({key:Vi+\"[0]\",value:ii[0],valueSpec:{zoom:{}},style:jn.style,styleSpec:jn.styleSpec,objectElementValidators:{zoom:wt,value:Or}}))}else mi=mi.concat(Or({key:Vi+\"[0]\",value:ii[0],valueSpec:{},style:jn.style,styleSpec:jn.styleSpec},ii));return bo(Ys(ii[1]))?mi.concat([new Da(Vi+\"[1]\",ii[1],\"expressions are not allowed in function stops.\")]):mi.concat(Fo({key:Vi+\"[1]\",value:ii[1],valueSpec:k,style:jn.style,styleSpec:jn.styleSpec}))}function Or(jn,mi){var ii=jo(jn.value),Vi=Eo(jn.value),Ai=jn.value!==null?jn.value:mi;if(!oe)oe=ii;else if(ii!==oe)return[new Da(jn.key,Ai,ii+\" stop domain type must match previous stop domain type \"+oe)];if(ii!==\"number\"&&ii!==\"string\"&&ii!==\"boolean\")return[new Da(jn.key,Ai,\"stop domain value must be a number, string, or boolean\")];if(ii!==\"number\"&&V!==\"categorical\"){var ji=\"number expected, \"+ii+\" found\";return _l(k)&&V===void 0&&(ji+='\\nIf you intended to use a categorical function, specify `\"type\": \"categorical\"`.'),[new Da(jn.key,Ai,ji)]}return V===\"categorical\"&&ii===\"number\"&&(!isFinite(Vi)||Math.floor(Vi)!==Vi)?[new Da(jn.key,Ai,\"integer expected, found \"+Vi)]:V!==\"categorical\"&&ii===\"number\"&&Pe!==void 0&&Vi=2&&C[1]!==\"$id\"&&C[1]!==\"$type\";case\"in\":return C.length>=3&&(typeof C[1]!=\"string\"||Array.isArray(C[2]));case\"!in\":case\"!has\":case\"none\":return!1;case\"==\":case\"!=\":case\">\":case\">=\":case\"<\":case\"<=\":return C.length!==3||Array.isArray(C[1])||Array.isArray(C[2]);case\"any\":case\"all\":for(var k=0,V=C.slice(1);kk?1:0}function dt(C){if(!Array.isArray(C))return!1;if(C[0]===\"within\")return!0;for(var k=1;k\"||k===\"<=\"||k===\">=\"?xt(C[1],C[2],k):k===\"any\"?It(C.slice(1)):k===\"all\"?[\"all\"].concat(C.slice(1).map(St)):k===\"none\"?[\"all\"].concat(C.slice(1).map(St).map(pr)):k===\"in\"?rr(C[1],C.slice(2)):k===\"!in\"?pr(rr(C[1],C.slice(2))):k===\"has\"?sr(C[1]):k===\"!has\"?pr(sr(C[1])):k===\"within\"?C:!0;return V}function xt(C,k,V){switch(C){case\"$type\":return[\"filter-type-\"+V,k];case\"$id\":return[\"filter-id-\"+V,k];default:return[\"filter-\"+V,C,k]}}function It(C){return[\"any\"].concat(C.map(St))}function rr(C,k){if(k.length===0)return!1;switch(C){case\"$type\":return[\"filter-type-in\",[\"literal\",k]];case\"$id\":return[\"filter-id-in\",[\"literal\",k]];default:return k.length>200&&!k.some(function(V){return typeof V!=typeof k[0]})?[\"filter-in-large\",C,[\"literal\",k.sort(st)]]:[\"filter-in-small\",C,[\"literal\",k]]}}function sr(C){switch(C){case\"$type\":return!0;case\"$id\":return[\"filter-has-id\"];default:return[\"filter-has\",C]}}function pr(C){return[\"!\",C]}function kr(C){return ln(Ys(C.value))?Jt(Xs({},C,{expressionContext:\"filter\",valueSpec:{value:\"boolean\"}})):Yr(C)}function Yr(C){var k=C.value,V=C.key;if(jo(k)!==\"array\")return[new Da(V,k,\"array expected, \"+jo(k)+\" found\")];var oe=C.styleSpec,ge,Pe=[];if(k.length<1)return[new Da(V,k,\"filter array must have at least 1 element\")];switch(Pe=Pe.concat(Hr({key:V+\"[0]\",value:k[0],valueSpec:oe.filter_operator,style:C.style,styleSpec:C.styleSpec})),Eo(k[0])){case\"<\":case\"<=\":case\">\":case\">=\":k.length>=2&&Eo(k[1])===\"$type\"&&Pe.push(new Da(V,k,'\"$type\" cannot be use with operator \"'+k[0]+'\"'));case\"==\":case\"!=\":k.length!==3&&Pe.push(new Da(V,k,'filter array for operator \"'+k[0]+'\" must have 3 elements'));case\"in\":case\"!in\":k.length>=2&&(ge=jo(k[1]),ge!==\"string\"&&Pe.push(new Da(V+\"[1]\",k[1],\"string expected, \"+ge+\" found\")));for(var qe=2;qe=Kt[Or+0]&&oe>=Kt[Or+1])?(qe[Vr]=!0,Pe.push(Ut[Vr])):qe[Vr]=!1}}},fu.prototype._forEachCell=function(C,k,V,oe,ge,Pe,qe,ft){for(var Pt=this._convertToCellCoord(C),Ut=this._convertToCellCoord(k),Kt=this._convertToCellCoord(V),_r=this._convertToCellCoord(oe),Vr=Pt;Vr<=Kt;Vr++)for(var Or=Ut;Or<=_r;Or++){var dn=this.d*Or+Vr;if(!(ft&&!ft(this._convertFromCellCoord(Vr),this._convertFromCellCoord(Or),this._convertFromCellCoord(Vr+1),this._convertFromCellCoord(Or+1)))&&ge.call(this,C,k,V,oe,dn,Pe,qe,ft))return}},fu.prototype._convertFromCellCoord=function(C){return(C-this.padding)/this.scale},fu.prototype._convertToCellCoord=function(C){return Math.max(0,Math.min(this.d-1,Math.floor(C*this.scale)+this.padding))},fu.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var C=this.cells,k=El+this.cells.length+1+1,V=0,oe=0;oe=0)){var _r=C[Kt];Ut[Kt]=Yl[Pt].shallow.indexOf(Kt)>=0?_r:mt(_r,k)}C instanceof Error&&(Ut.message=C.message)}if(Ut.$name)throw new Error(\"$name property is reserved for worker serialization logic.\");return Pt!==\"Object\"&&(Ut.$name=Pt),Ut}throw new Error(\"can't serialize object of type \"+typeof C)}function Tt(C){if(C==null||typeof C==\"boolean\"||typeof C==\"number\"||typeof C==\"string\"||C instanceof Boolean||C instanceof Number||C instanceof String||C instanceof Date||C instanceof RegExp||Qe(C)||vt(C)||ArrayBuffer.isView(C)||C instanceof Tc)return C;if(Array.isArray(C))return C.map(Tt);if(typeof C==\"object\"){var k=C.$name||\"Object\",V=Yl[k],oe=V.klass;if(!oe)throw new Error(\"can't deserialize unregistered class \"+k);if(oe.deserialize)return oe.deserialize(C);for(var ge=Object.create(oe.prototype),Pe=0,qe=Object.keys(C);Pe=0?Pt:Tt(Pt)}}return ge}throw new Error(\"can't deserialize object of type \"+typeof C)}var Qt=function(){this.first=!0};Qt.prototype.update=function(k,V){var oe=Math.floor(k);return this.first?(this.first=!1,this.lastIntegerZoom=oe,this.lastIntegerZoomTime=0,this.lastZoom=k,this.lastFloorZoom=oe,!0):(this.lastFloorZoom>oe?(this.lastIntegerZoom=oe+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&C<=255},Arabic:function(C){return C>=1536&&C<=1791},\"Arabic Supplement\":function(C){return C>=1872&&C<=1919},\"Arabic Extended-A\":function(C){return C>=2208&&C<=2303},\"Hangul Jamo\":function(C){return C>=4352&&C<=4607},\"Unified Canadian Aboriginal Syllabics\":function(C){return C>=5120&&C<=5759},Khmer:function(C){return C>=6016&&C<=6143},\"Unified Canadian Aboriginal Syllabics Extended\":function(C){return C>=6320&&C<=6399},\"General Punctuation\":function(C){return C>=8192&&C<=8303},\"Letterlike Symbols\":function(C){return C>=8448&&C<=8527},\"Number Forms\":function(C){return C>=8528&&C<=8591},\"Miscellaneous Technical\":function(C){return C>=8960&&C<=9215},\"Control Pictures\":function(C){return C>=9216&&C<=9279},\"Optical Character Recognition\":function(C){return C>=9280&&C<=9311},\"Enclosed Alphanumerics\":function(C){return C>=9312&&C<=9471},\"Geometric Shapes\":function(C){return C>=9632&&C<=9727},\"Miscellaneous Symbols\":function(C){return C>=9728&&C<=9983},\"Miscellaneous Symbols and Arrows\":function(C){return C>=11008&&C<=11263},\"CJK Radicals Supplement\":function(C){return C>=11904&&C<=12031},\"Kangxi Radicals\":function(C){return C>=12032&&C<=12255},\"Ideographic Description Characters\":function(C){return C>=12272&&C<=12287},\"CJK Symbols and Punctuation\":function(C){return C>=12288&&C<=12351},Hiragana:function(C){return C>=12352&&C<=12447},Katakana:function(C){return C>=12448&&C<=12543},Bopomofo:function(C){return C>=12544&&C<=12591},\"Hangul Compatibility Jamo\":function(C){return C>=12592&&C<=12687},Kanbun:function(C){return C>=12688&&C<=12703},\"Bopomofo Extended\":function(C){return C>=12704&&C<=12735},\"CJK Strokes\":function(C){return C>=12736&&C<=12783},\"Katakana Phonetic Extensions\":function(C){return C>=12784&&C<=12799},\"Enclosed CJK Letters and Months\":function(C){return C>=12800&&C<=13055},\"CJK Compatibility\":function(C){return C>=13056&&C<=13311},\"CJK Unified Ideographs Extension A\":function(C){return C>=13312&&C<=19903},\"Yijing Hexagram Symbols\":function(C){return C>=19904&&C<=19967},\"CJK Unified Ideographs\":function(C){return C>=19968&&C<=40959},\"Yi Syllables\":function(C){return C>=40960&&C<=42127},\"Yi Radicals\":function(C){return C>=42128&&C<=42191},\"Hangul Jamo Extended-A\":function(C){return C>=43360&&C<=43391},\"Hangul Syllables\":function(C){return C>=44032&&C<=55215},\"Hangul Jamo Extended-B\":function(C){return C>=55216&&C<=55295},\"Private Use Area\":function(C){return C>=57344&&C<=63743},\"CJK Compatibility Ideographs\":function(C){return C>=63744&&C<=64255},\"Arabic Presentation Forms-A\":function(C){return C>=64336&&C<=65023},\"Vertical Forms\":function(C){return C>=65040&&C<=65055},\"CJK Compatibility Forms\":function(C){return C>=65072&&C<=65103},\"Small Form Variants\":function(C){return C>=65104&&C<=65135},\"Arabic Presentation Forms-B\":function(C){return C>=65136&&C<=65279},\"Halfwidth and Fullwidth Forms\":function(C){return C>=65280&&C<=65519}};function lr(C){for(var k=0,V=C;k=65097&&C<=65103)||Dt[\"CJK Compatibility Ideographs\"](C)||Dt[\"CJK Compatibility\"](C)||Dt[\"CJK Radicals Supplement\"](C)||Dt[\"CJK Strokes\"](C)||Dt[\"CJK Symbols and Punctuation\"](C)&&!(C>=12296&&C<=12305)&&!(C>=12308&&C<=12319)&&C!==12336||Dt[\"CJK Unified Ideographs Extension A\"](C)||Dt[\"CJK Unified Ideographs\"](C)||Dt[\"Enclosed CJK Letters and Months\"](C)||Dt[\"Hangul Compatibility Jamo\"](C)||Dt[\"Hangul Jamo Extended-A\"](C)||Dt[\"Hangul Jamo Extended-B\"](C)||Dt[\"Hangul Jamo\"](C)||Dt[\"Hangul Syllables\"](C)||Dt.Hiragana(C)||Dt[\"Ideographic Description Characters\"](C)||Dt.Kanbun(C)||Dt[\"Kangxi Radicals\"](C)||Dt[\"Katakana Phonetic Extensions\"](C)||Dt.Katakana(C)&&C!==12540||Dt[\"Halfwidth and Fullwidth Forms\"](C)&&C!==65288&&C!==65289&&C!==65293&&!(C>=65306&&C<=65310)&&C!==65339&&C!==65341&&C!==65343&&!(C>=65371&&C<=65503)&&C!==65507&&!(C>=65512&&C<=65519)||Dt[\"Small Form Variants\"](C)&&!(C>=65112&&C<=65118)&&!(C>=65123&&C<=65126)||Dt[\"Unified Canadian Aboriginal Syllabics\"](C)||Dt[\"Unified Canadian Aboriginal Syllabics Extended\"](C)||Dt[\"Vertical Forms\"](C)||Dt[\"Yijing Hexagram Symbols\"](C)||Dt[\"Yi Syllables\"](C)||Dt[\"Yi Radicals\"](C))}function ti(C){return!!(Dt[\"Latin-1 Supplement\"](C)&&(C===167||C===169||C===174||C===177||C===188||C===189||C===190||C===215||C===247)||Dt[\"General Punctuation\"](C)&&(C===8214||C===8224||C===8225||C===8240||C===8241||C===8251||C===8252||C===8258||C===8263||C===8264||C===8265||C===8273)||Dt[\"Letterlike Symbols\"](C)||Dt[\"Number Forms\"](C)||Dt[\"Miscellaneous Technical\"](C)&&(C>=8960&&C<=8967||C>=8972&&C<=8991||C>=8996&&C<=9e3||C===9003||C>=9085&&C<=9114||C>=9150&&C<=9165||C===9167||C>=9169&&C<=9179||C>=9186&&C<=9215)||Dt[\"Control Pictures\"](C)&&C!==9251||Dt[\"Optical Character Recognition\"](C)||Dt[\"Enclosed Alphanumerics\"](C)||Dt[\"Geometric Shapes\"](C)||Dt[\"Miscellaneous Symbols\"](C)&&!(C>=9754&&C<=9759)||Dt[\"Miscellaneous Symbols and Arrows\"](C)&&(C>=11026&&C<=11055||C>=11088&&C<=11097||C>=11192&&C<=11243)||Dt[\"CJK Symbols and Punctuation\"](C)||Dt.Katakana(C)||Dt[\"Private Use Area\"](C)||Dt[\"CJK Compatibility Forms\"](C)||Dt[\"Small Form Variants\"](C)||Dt[\"Halfwidth and Fullwidth Forms\"](C)||C===8734||C===8756||C===8757||C>=9984&&C<=10087||C>=10102&&C<=10131||C===65532||C===65533)}function ai(C){return!(yn(C)||ti(C))}function En(C){return Dt.Arabic(C)||Dt[\"Arabic Supplement\"](C)||Dt[\"Arabic Extended-A\"](C)||Dt[\"Arabic Presentation Forms-A\"](C)||Dt[\"Arabic Presentation Forms-B\"](C)}function qn(C){return C>=1424&&C<=2303||Dt[\"Arabic Presentation Forms-A\"](C)||Dt[\"Arabic Presentation Forms-B\"](C)}function Jn(C,k){return!(!k&&qn(C)||C>=2304&&C<=3583||C>=3840&&C<=4255||Dt.Khmer(C))}function ci(C){for(var k=0,V=C;k-1&&(oa=Hn.error),ta&&ta(C)};function io(){oo.fire(new Lr(\"pluginStateChange\",{pluginStatus:oa,pluginURL:_a}))}var oo=new Dr,Qo=function(){return oa},uo=function(C){return C({pluginStatus:oa,pluginURL:_a}),oo.on(\"pluginStateChange\",C),C},Jo=function(C,k,V){if(V===void 0&&(V=!1),oa===Hn.deferred||oa===Hn.loading||oa===Hn.loaded)throw new Error(\"setRTLTextPlugin cannot be called multiple times.\");_a=xe.resolveURL(C),oa=Hn.deferred,ta=k,io(),V||ol()},ol=function(){if(oa!==Hn.deferred||!_a)throw new Error(\"rtl-text-plugin cannot be downloaded unless a pluginURL is specified\");oa=Hn.loading,io(),_a&&xn({url:_a},function(C){C?La(C):(oa=Hn.loaded,io())})},tl={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return oa===Hn.loaded||tl.applyArabicShaping!=null},isLoading:function(){return oa===Hn.loading},setState:function(k){oa=k.pluginStatus,_a=k.pluginURL},isParsed:function(){return tl.applyArabicShaping!=null&&tl.processBidirectionalText!=null&&tl.processStyledBidirectionalText!=null},getPluginURL:function(){return _a}},ml=function(){!tl.isLoading()&&!tl.isLoaded()&&Qo()===\"deferred\"&&ol()},ua=function(k,V){this.zoom=k,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Qt,this.transition={})};ua.prototype.isSupportedScript=function(k){return oi(k,tl.isLoaded())},ua.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ua.prototype.getCrossfadeParameters=function(){var k=this.zoom,V=k-Math.floor(k),oe=this.crossFadingFactor();return k>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*oe}:{fromScale:.5,toScale:1,t:1-(1-oe)*V}};var wo=function(k,V){this.property=k,this.value=V,this.expression=R(V===void 0?k.specification.default:V,k.specification)};wo.prototype.isDataDriven=function(){return this.expression.kind===\"source\"||this.expression.kind===\"composite\"},wo.prototype.possiblyEvaluate=function(k,V,oe){return this.property.possiblyEvaluate(this,k,V,oe)};var ys=function(k){this.property=k,this.value=new wo(k,void 0)};ys.prototype.transitioned=function(k,V){return new xl(this.property,this.value,V,m({},k.transition,this.transition),k.now)},ys.prototype.untransitioned=function(){return new xl(this.property,this.value,null,{},0)};var Ms=function(k){this._properties=k,this._values=Object.create(k.defaultTransitionablePropertyValues)};Ms.prototype.getValue=function(k){return O(this._values[k].value.value)},Ms.prototype.setValue=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].value=new wo(this._values[k].property,V===null?void 0:O(V))},Ms.prototype.getTransition=function(k){return O(this._values[k].transition)},Ms.prototype.setTransition=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].transition=O(V)||void 0},Ms.prototype.serialize=function(){for(var k={},V=0,oe=Object.keys(this._values);Vthis.end)return this.prior=null,Pe;if(this.value.isDataDriven())return this.prior=null,Pe;if(geqe.zoomHistory.lastIntegerZoom?{from:oe,to:ge}:{from:Pe,to:ge}},k.prototype.interpolate=function(oe){return oe},k}(cn),xi=function(k){this.specification=k};xi.prototype.possiblyEvaluate=function(k,V,oe,ge){if(k.value!==void 0)if(k.expression.kind===\"constant\"){var Pe=k.expression.evaluate(V,null,{},oe,ge);return this._calculate(Pe,Pe,Pe,V)}else return this._calculate(k.expression.evaluate(new ua(Math.floor(V.zoom-1),V)),k.expression.evaluate(new ua(Math.floor(V.zoom),V)),k.expression.evaluate(new ua(Math.floor(V.zoom+1),V)),V)},xi.prototype._calculate=function(k,V,oe,ge){var Pe=ge.zoom;return Pe>ge.zoomHistory.lastIntegerZoom?{from:k,to:V}:{from:oe,to:V}},xi.prototype.interpolate=function(k){return k};var Ni=function(k){this.specification=k};Ni.prototype.possiblyEvaluate=function(k,V,oe,ge){return!!k.expression.evaluate(V,null,{},oe,ge)},Ni.prototype.interpolate=function(){return!1};var Fi=function(k){this.properties=k,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var V in k){var oe=k[V];oe.specification.overridable&&this.overridableProperties.push(V);var ge=this.defaultPropertyValues[V]=new wo(oe,void 0),Pe=this.defaultTransitionablePropertyValues[V]=new ys(oe);this.defaultTransitioningPropertyValues[V]=Pe.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=ge.possiblyEvaluate({})}};de(\"DataDrivenProperty\",cn),de(\"DataConstantProperty\",tr),de(\"CrossFadedDataDrivenProperty\",Ln),de(\"CrossFadedProperty\",xi),de(\"ColorRampProperty\",Ni);var Oi=\"-transition\",na=function(C){function k(V,oe){if(C.call(this),this.id=V.id,this.type=V.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},V.type!==\"custom\"&&(V=V,this.metadata=V.metadata,this.minzoom=V.minzoom,this.maxzoom=V.maxzoom,V.type!==\"background\"&&(this.source=V.source,this.sourceLayer=V[\"source-layer\"],this.filter=V.filter),oe.layout&&(this._unevaluatedLayout=new gu(oe.layout)),oe.paint)){this._transitionablePaint=new Ms(oe.paint);for(var ge in V.paint)this.setPaintProperty(ge,V.paint[ge],{validate:!1});for(var Pe in V.layout)this.setLayoutProperty(Pe,V.layout[Pe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new vc(oe.paint)}}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},k.prototype.getLayoutProperty=function(oe){return oe===\"visibility\"?this.visibility:this._unevaluatedLayout.getValue(oe)},k.prototype.setLayoutProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe=\"layers.\"+this.id+\".layout.\"+oe;if(this._validate(eu,qe,oe,ge,Pe))return}if(oe===\"visibility\"){this.visibility=ge;return}this._unevaluatedLayout.setValue(oe,ge)},k.prototype.getPaintProperty=function(oe){return z(oe,Oi)?this._transitionablePaint.getTransition(oe.slice(0,-Oi.length)):this._transitionablePaint.getValue(oe)},k.prototype.setPaintProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe=\"layers.\"+this.id+\".paint.\"+oe;if(this._validate(Nl,qe,oe,ge,Pe))return!1}if(z(oe,Oi))return this._transitionablePaint.setTransition(oe.slice(0,-Oi.length),ge||void 0),!1;var ft=this._transitionablePaint._values[oe],Pt=ft.property.specification[\"property-type\"]===\"cross-faded-data-driven\",Ut=ft.value.isDataDriven(),Kt=ft.value;this._transitionablePaint.setValue(oe,ge),this._handleSpecialPaintPropertyUpdate(oe);var _r=this._transitionablePaint._values[oe].value,Vr=_r.isDataDriven();return Vr||Ut||Pt||this._handleOverridablePaintPropertyUpdate(oe,Kt,_r)},k.prototype._handleSpecialPaintPropertyUpdate=function(oe){},k.prototype._handleOverridablePaintPropertyUpdate=function(oe,ge,Pe){return!1},k.prototype.isHidden=function(oe){return this.minzoom&&oe=this.maxzoom?!0:this.visibility===\"none\"},k.prototype.updateTransitions=function(oe){this._transitioningPaint=this._transitionablePaint.transitioned(oe,this._transitioningPaint)},k.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},k.prototype.recalculate=function(oe,ge){oe.getCrossfadeParameters&&(this._crossfadeParameters=oe.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(oe,void 0,ge)),this.paint=this._transitioningPaint.possiblyEvaluate(oe,void 0,ge)},k.prototype.serialize=function(){var oe={id:this.id,type:this.type,source:this.source,\"source-layer\":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(oe.layout=oe.layout||{},oe.layout.visibility=this.visibility),B(oe,function(ge,Pe){return ge!==void 0&&!(Pe===\"layout\"&&!Object.keys(ge).length)&&!(Pe===\"paint\"&&!Object.keys(ge).length)})},k.prototype._validate=function(oe,ge,Pe,qe,ft){return ft===void 0&&(ft={}),ft&&ft.validate===!1?!1:Xu(this,oe.call(os,{key:ge,layerType:this.type,objectKey:Pe,value:qe,styleSpec:Mi,style:{glyphs:!0,sprite:!0}}))},k.prototype.is3D=function(){return!1},k.prototype.isTileClipped=function(){return!1},k.prototype.hasOffscreenPass=function(){return!1},k.prototype.resize=function(){},k.prototype.isStateDependent=function(){for(var oe in this.paint._values){var ge=this.paint.get(oe);if(!(!(ge instanceof Fl)||!_l(ge.property.specification))&&(ge.value.kind===\"source\"||ge.value.kind===\"composite\")&&ge.value.isStateDependent)return!0}return!1},k}(Dr),Ca={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ka=function(k,V){this._structArray=k,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ha=128,Xo=5,Aa=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};Aa.serialize=function(k,V){return k._trim(),V&&(k.isTransferred=!0,V.push(k.arrayBuffer)),{length:k.length,arrayBuffer:k.arrayBuffer}},Aa.deserialize=function(k){var V=Object.create(this.prototype);return V.arrayBuffer=k.arrayBuffer,V.length=k.length,V.capacity=k.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Aa.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Aa.prototype.clear=function(){this.length=0},Aa.prototype.resize=function(k){this.reserve(k),this.length=k},Aa.prototype.reserve=function(k){if(k>this.capacity){this.capacity=Math.max(k,Math.floor(this.capacity*Xo),ha),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Aa.prototype._refreshViews=function(){throw new Error(\"_refreshViews() must be implemented by each concrete StructArray layout\")};function Ma(C,k){k===void 0&&(k=1);var V=0,oe=0,ge=C.map(function(qe){var ft=ia(qe.type),Pt=V=wi(V,Math.max(k,ft)),Ut=qe.components||1;return oe=Math.max(oe,ft),V+=ft*Ut,{name:qe.name,type:qe.type,components:Ut,offset:Pt}}),Pe=wi(V,Math.max(oe,k));return{members:ge,size:Pe,alignment:k}}function ia(C){return Ca[C].BYTES_PER_ELEMENT}function wi(C,k){return Math.ceil(C/k)*k}var qi=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.int16[qe+0]=ge,this.int16[qe+1]=Pe,oe},k}(Aa);qi.prototype.bytesPerElement=4,de(\"StructArrayLayout2i4\",qi);var ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.int16[Pt+0]=ge,this.int16[Pt+1]=Pe,this.int16[Pt+2]=qe,this.int16[Pt+3]=ft,oe},k}(Aa);ba.prototype.bytesPerElement=8,de(\"StructArrayLayout4i8\",ba);var Pa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Pa.prototype.bytesPerElement=12,de(\"StructArrayLayout2i4i12\",Pa);var ca=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*4,_r=oe*8;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.uint8[_r+4]=qe,this.uint8[_r+5]=ft,this.uint8[_r+6]=Pt,this.uint8[_r+7]=Ut,oe},k}(Aa);ca.prototype.bytesPerElement=8,de(\"StructArrayLayout2i4ub8\",ca);var $a=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.float32[qe+0]=ge,this.float32[qe+1]=Pe,oe},k}(Aa);$a.prototype.bytesPerElement=8,de(\"StructArrayLayout2f8\",$a);var Ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=this.length;return this.resize(Or+1),this.emplace(Or,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or){var dn=oe*10;return this.uint16[dn+0]=ge,this.uint16[dn+1]=Pe,this.uint16[dn+2]=qe,this.uint16[dn+3]=ft,this.uint16[dn+4]=Pt,this.uint16[dn+5]=Ut,this.uint16[dn+6]=Kt,this.uint16[dn+7]=_r,this.uint16[dn+8]=Vr,this.uint16[dn+9]=Or,oe},k}(Aa);Ba.prototype.bytesPerElement=20,de(\"StructArrayLayout10ui20\",Ba);var Oo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn){var jn=this.length;return this.resize(jn+1),this.emplace(jn,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn){var mi=oe*12;return this.int16[mi+0]=ge,this.int16[mi+1]=Pe,this.int16[mi+2]=qe,this.int16[mi+3]=ft,this.uint16[mi+4]=Pt,this.uint16[mi+5]=Ut,this.uint16[mi+6]=Kt,this.uint16[mi+7]=_r,this.int16[mi+8]=Vr,this.int16[mi+9]=Or,this.int16[mi+10]=dn,this.int16[mi+11]=jn,oe},k}(Aa);Oo.prototype.bytesPerElement=24,de(\"StructArrayLayout4i4ui4i24\",Oo);var va=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.float32[ft+0]=ge,this.float32[ft+1]=Pe,this.float32[ft+2]=qe,oe},k}(Aa);va.prototype.bytesPerElement=12,de(\"StructArrayLayout3f12\",va);var sa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint32[Pe+0]=ge,oe},k}(Aa);sa.prototype.bytesPerElement=4,de(\"StructArrayLayout1ul4\",sa);var fo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r){var Vr=this.length;return this.resize(Vr+1),this.emplace(Vr,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=oe*10,dn=oe*5;return this.int16[Or+0]=ge,this.int16[Or+1]=Pe,this.int16[Or+2]=qe,this.int16[Or+3]=ft,this.int16[Or+4]=Pt,this.int16[Or+5]=Ut,this.uint32[dn+3]=Kt,this.uint16[Or+8]=_r,this.uint16[Or+9]=Vr,oe},k}(Aa);fo.prototype.bytesPerElement=20,de(\"StructArrayLayout6i1ul2ui20\",fo);var Ja=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Ja.prototype.bytesPerElement=12,de(\"StructArrayLayout2i2i2i12\",Ja);var Fa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft){var Pt=this.length;return this.resize(Pt+1),this.emplace(Pt,oe,ge,Pe,qe,ft)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt){var Ut=oe*4,Kt=oe*8;return this.float32[Ut+0]=ge,this.float32[Ut+1]=Pe,this.float32[Ut+2]=qe,this.int16[Kt+6]=ft,this.int16[Kt+7]=Pt,oe},k}(Aa);Fa.prototype.bytesPerElement=16,de(\"StructArrayLayout2f1f2i16\",Fa);var Ia=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*12,Ut=oe*3;return this.uint8[Pt+0]=ge,this.uint8[Pt+1]=Pe,this.float32[Ut+1]=qe,this.float32[Ut+2]=ft,oe},k}(Aa);Ia.prototype.bytesPerElement=12,de(\"StructArrayLayout2ub2f12\",Ia);var ao=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.uint16[ft+0]=ge,this.uint16[ft+1]=Pe,this.uint16[ft+2]=qe,oe},k}(Aa);ao.prototype.bytesPerElement=6,de(\"StructArrayLayout3ui6\",ao);var Zo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai){var ji=this.length;return this.resize(ji+1),this.emplace(ji,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji){var Yi=oe*24,ga=oe*12,Ga=oe*48;return this.int16[Yi+0]=ge,this.int16[Yi+1]=Pe,this.uint16[Yi+2]=qe,this.uint16[Yi+3]=ft,this.uint32[ga+2]=Pt,this.uint32[ga+3]=Ut,this.uint32[ga+4]=Kt,this.uint16[Yi+10]=_r,this.uint16[Yi+11]=Vr,this.uint16[Yi+12]=Or,this.float32[ga+7]=dn,this.float32[ga+8]=jn,this.uint8[Ga+36]=mi,this.uint8[Ga+37]=ii,this.uint8[Ga+38]=Vi,this.uint32[ga+10]=Ai,this.int16[Yi+22]=ji,oe},k}(Aa);Zo.prototype.bytesPerElement=48,de(\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\",Zo);var ps=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do){var Gs=this.length;return this.resize(Gs+1),this.emplace(Gs,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do,Gs){var Ts=oe*34,kl=oe*17;return this.int16[Ts+0]=ge,this.int16[Ts+1]=Pe,this.int16[Ts+2]=qe,this.int16[Ts+3]=ft,this.int16[Ts+4]=Pt,this.int16[Ts+5]=Ut,this.int16[Ts+6]=Kt,this.int16[Ts+7]=_r,this.uint16[Ts+8]=Vr,this.uint16[Ts+9]=Or,this.uint16[Ts+10]=dn,this.uint16[Ts+11]=jn,this.uint16[Ts+12]=mi,this.uint16[Ts+13]=ii,this.uint16[Ts+14]=Vi,this.uint16[Ts+15]=Ai,this.uint16[Ts+16]=ji,this.uint16[Ts+17]=Yi,this.uint16[Ts+18]=ga,this.uint16[Ts+19]=Ga,this.uint16[Ts+20]=Ua,this.uint16[Ts+21]=Co,this.uint16[Ts+22]=so,this.uint32[kl+12]=xo,this.float32[kl+13]=Ss,this.float32[kl+14]=ko,this.float32[kl+15]=Do,this.float32[kl+16]=Gs,oe},k}(Aa);ps.prototype.bytesPerElement=68,de(\"StructArrayLayout8i15ui1ul4f68\",ps);var Na=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.float32[Pe+0]=ge,oe},k}(Aa);Na.prototype.bytesPerElement=4,de(\"StructArrayLayout1f4\",Na);var Mo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.int16[ft+0]=ge,this.int16[ft+1]=Pe,this.int16[ft+2]=qe,oe},k}(Aa);Mo.prototype.bytesPerElement=6,de(\"StructArrayLayout3i6\",Mo);var ss=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*2,Pt=oe*4;return this.uint32[ft+0]=ge,this.uint16[Pt+2]=Pe,this.uint16[Pt+3]=qe,oe},k}(Aa);ss.prototype.bytesPerElement=8,de(\"StructArrayLayout1ul2ui8\",ss);var _s=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.uint16[qe+0]=ge,this.uint16[qe+1]=Pe,oe},k}(Aa);_s.prototype.bytesPerElement=4,de(\"StructArrayLayout2ui4\",_s);var Fs=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint16[Pe+0]=ge,oe},k}(Aa);Fs.prototype.bytesPerElement=2,de(\"StructArrayLayout1ui2\",Fs);var iu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.float32[Pt+0]=ge,this.float32[Pt+1]=Pe,this.float32[Pt+2]=qe,this.float32[Pt+3]=ft,oe},k}(Aa);iu.prototype.bytesPerElement=16,de(\"StructArrayLayout4f16\",iu);var Oc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return V.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},V.x1.get=function(){return this._structArray.int16[this._pos2+2]},V.y1.get=function(){return this._structArray.int16[this._pos2+3]},V.x2.get=function(){return this._structArray.int16[this._pos2+4]},V.y2.get=function(){return this._structArray.int16[this._pos2+5]},V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(k.prototype,V),k}(ka);Oc.prototype.size=20;var rl=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Oc(this,oe)},k}(fo);de(\"CollisionBoxArray\",rl);var Bc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},V.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},V.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},V.segment.get=function(){return this._structArray.uint16[this._pos2+10]},V.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},V.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},V.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},V.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},V.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},V.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},V.placedOrientation.set=function(oe){this._structArray.uint8[this._pos1+37]=oe},V.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},V.hidden.set=function(oe){this._structArray.uint8[this._pos1+38]=oe},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+10]=oe},V.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(k.prototype,V),k}(ka);Bc.prototype.size=48;var ql=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Bc(this,oe)},k}(Zo);de(\"PlacedSymbolArray\",ql);var pc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},V.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},V.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},V.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},V.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},V.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},V.key.get=function(){return this._structArray.uint16[this._pos2+8]},V.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},V.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},V.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},V.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},V.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},V.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},V.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},V.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},V.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},V.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},V.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},V.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},V.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+12]=oe},V.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},V.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},V.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},V.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(k.prototype,V),k}(ka);pc.prototype.size=68;var mc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new pc(this,oe)},k}(ps);de(\"SymbolInstanceArray\",mc);var Jc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getoffsetX=function(oe){return this.float32[oe*1+0]},k}(Na);de(\"GlyphOffsetArray\",Jc);var tu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getx=function(oe){return this.int16[oe*3+0]},k.prototype.gety=function(oe){return this.int16[oe*3+1]},k.prototype.gettileUnitDistanceFromAnchor=function(oe){return this.int16[oe*3+2]},k}(Mo);de(\"SymbolLineVertexArray\",tu);var Ac=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(k.prototype,V),k}(ka);Ac.prototype.size=8;var Nc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Ac(this,oe)},k}(ss);de(\"FeatureIndexArray\",Nc);var Hs=Ma([{name:\"a_pos\",components:2,type:\"Int16\"}],4),$c=Hs.members,Us=function(k){k===void 0&&(k=[]),this.segments=k};Us.prototype.prepareSegment=function(k,V,oe,ge){var Pe=this.segments[this.segments.length-1];return k>Us.MAX_VERTEX_ARRAY_LENGTH&&U(\"Max vertices per segment is \"+Us.MAX_VERTEX_ARRAY_LENGTH+\": bucket requested \"+k),(!Pe||Pe.vertexLength+k>Us.MAX_VERTEX_ARRAY_LENGTH||Pe.sortKey!==ge)&&(Pe={vertexOffset:V.length,primitiveOffset:oe.length,vertexLength:0,primitiveLength:0},ge!==void 0&&(Pe.sortKey=ge),this.segments.push(Pe)),Pe},Us.prototype.get=function(){return this.segments},Us.prototype.destroy=function(){for(var k=0,V=this.segments;k>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt,qe=qe<<13|qe>>>19,ft=(qe&65535)*5+(((qe>>>16)*5&65535)<<16)&4294967295,qe=(ft&65535)+27492+(((ft>>>16)+58964&65535)<<16);switch(Kt=0,ge){case 3:Kt^=(V.charCodeAt(_r+2)&255)<<16;case 2:Kt^=(V.charCodeAt(_r+1)&255)<<8;case 1:Kt^=V.charCodeAt(_r)&255,Kt=(Kt&65535)*Pt+(((Kt>>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt}return qe^=V.length,qe^=qe>>>16,qe=(qe&65535)*2246822507+(((qe>>>16)*2246822507&65535)<<16)&4294967295,qe^=qe>>>13,qe=(qe&65535)*3266489909+(((qe>>>16)*3266489909&65535)<<16)&4294967295,qe^=qe>>>16,qe>>>0}C.exports=k}),te=t(function(C){function k(V,oe){for(var ge=V.length,Pe=oe^ge,qe=0,ft;ge>=4;)ft=V.charCodeAt(qe)&255|(V.charCodeAt(++qe)&255)<<8|(V.charCodeAt(++qe)&255)<<16|(V.charCodeAt(++qe)&255)<<24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),ft^=ft>>>24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)^ft,ge-=4,++qe;switch(ge){case 3:Pe^=(V.charCodeAt(qe+2)&255)<<16;case 2:Pe^=(V.charCodeAt(qe+1)&255)<<8;case 1:Pe^=V.charCodeAt(qe)&255,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)}return Pe^=Pe>>>13,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16),Pe^=Pe>>>15,Pe>>>0}C.exports=k}),ye=me,Ze=me,We=te;ye.murmur3=Ze,ye.murmur2=We;var lt=function(){this.ids=[],this.positions=[],this.indexed=!1};lt.prototype.add=function(k,V,oe,ge){this.ids.push(Wt(k)),this.positions.push(V,oe,ge)},lt.prototype.getPositions=function(k){for(var V=Wt(k),oe=0,ge=this.ids.length-1;oe>1;this.ids[Pe]>=V?ge=Pe:oe=Pe+1}for(var qe=[];this.ids[oe]===V;){var ft=this.positions[3*oe],Pt=this.positions[3*oe+1],Ut=this.positions[3*oe+2];qe.push({index:ft,start:Pt,end:Ut}),oe++}return qe},lt.serialize=function(k,V){var oe=new Float64Array(k.ids),ge=new Uint32Array(k.positions);return xr(oe,ge,0,oe.length-1),V&&V.push(oe.buffer,ge.buffer),{ids:oe,positions:ge}},lt.deserialize=function(k){var V=new lt;return V.ids=k.ids,V.positions=k.positions,V.indexed=!0,V};var Ct=Math.pow(2,53)-1;function Wt(C){var k=+C;return!isNaN(k)&&k<=Ct?k:ye(String(C))}function xr(C,k,V,oe){for(;V>1],Pe=V-1,qe=oe+1;;){do Pe++;while(C[Pe]ge);if(Pe>=qe)break;Fr(C,Pe,qe),Fr(k,3*Pe,3*qe),Fr(k,3*Pe+1,3*qe+1),Fr(k,3*Pe+2,3*qe+2)}qe-Vqe.x+1||Ptqe.y+1)&&U(\"Geometry exceeds allowed extent, reduce your vector tile buffer size\")}return V}function Cs(C,k){return{type:C.type,id:C.id,properties:C.properties,geometry:k?Qa(C):[]}}function ws(C,k,V,oe,ge){C.emplaceBack(k*2+(oe+1)/2,V*2+(ge+1)/2)}var $s=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new qi,this.indexArray=new ao,this.segments=new Us,this.programConfigurations=new Pi(k.layers,k.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};$s.prototype.populate=function(k,V,oe){var ge=this.layers[0],Pe=[],qe=null;ge.type===\"circle\"&&(qe=ge.layout.get(\"circle-sort-key\"));for(var ft=0,Pt=k;ft=$i||Vr<0||Vr>=$i)){var Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,k.sortKey),dn=Or.vertexLength;ws(this.layoutVertexArray,_r,Vr,-1,-1),ws(this.layoutVertexArray,_r,Vr,1,-1),ws(this.layoutVertexArray,_r,Vr,1,1),ws(this.layoutVertexArray,_r,Vr,-1,1),this.indexArray.emplaceBack(dn,dn+1,dn+2),this.indexArray.emplaceBack(dn,dn+3,dn+2),Or.vertexLength+=4,Or.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,k,oe,{},ge)},de(\"CircleBucket\",$s,{omit:[\"layers\"]});function rs(C,k){for(var V=0;V=3){for(var Pe=0;Pe1){if(Jh(C,k))return!0;for(var oe=0;oe1?C.distSqr(V):C.distSqr(V.sub(k)._mult(ge)._add(k))}function _d(C,k){for(var V=!1,oe,ge,Pe,qe=0;qek.y!=Pe.y>k.y&&k.x<(Pe.x-ge.x)*(k.y-ge.y)/(Pe.y-ge.y)+ge.x&&(V=!V)}return V}function hh(C,k){for(var V=!1,oe=0,ge=C.length-1;oek.y!=qe.y>k.y&&k.x<(qe.x-Pe.x)*(k.y-Pe.y)/(qe.y-Pe.y)+Pe.x&&(V=!V)}return V}function xd(C,k,V,oe,ge){for(var Pe=0,qe=C;Pe=ft.x&&ge>=ft.y)return!0}var Pt=[new i(k,V),new i(k,ge),new i(oe,ge),new i(oe,V)];if(C.length>2)for(var Ut=0,Kt=Pt;Utge.x&&k.x>ge.x||C.yge.y&&k.y>ge.y)return!1;var Pe=W(C,k,V[0]);return Pe!==W(C,k,V[1])||Pe!==W(C,k,V[2])||Pe!==W(C,k,V[3])}function dh(C,k,V){var oe=k.paint.get(C).value;return oe.kind===\"constant\"?oe.value:V.programConfigurations.get(k.id).getMaxValue(C)}function $h(C){return Math.sqrt(C[0]*C[0]+C[1]*C[1])}function ld(C,k,V,oe,ge){if(!k[0]&&!k[1])return C;var Pe=i.convert(k)._mult(ge);V===\"viewport\"&&Pe._rotate(-oe);for(var qe=[],ft=0;ft0&&(Pe=1/Math.sqrt(Pe)),C[0]=k[0]*Pe,C[1]=k[1]*Pe,C[2]=k[2]*Pe,C}function Pb(C,k){return C[0]*k[0]+C[1]*k[1]+C[2]*k[2]}function Ib(C,k,V){var oe=k[0],ge=k[1],Pe=k[2],qe=V[0],ft=V[1],Pt=V[2];return C[0]=ge*Pt-Pe*ft,C[1]=Pe*qe-oe*Pt,C[2]=oe*ft-ge*qe,C}function Rb(C,k,V){var oe=k[0],ge=k[1],Pe=k[2];return C[0]=oe*V[0]+ge*V[3]+Pe*V[6],C[1]=oe*V[1]+ge*V[4]+Pe*V[7],C[2]=oe*V[2]+ge*V[5]+Pe*V[8],C}var Db=bv,JM=function(){var C=xv();return function(k,V,oe,ge,Pe,qe){var ft,Pt;for(V||(V=3),oe||(oe=0),ge?Pt=Math.min(ge*V+oe,k.length):Pt=k.length,ft=oe;ftC.width||ge.height>C.height||V.x>C.width-ge.width||V.y>C.height-ge.height)throw new RangeError(\"out of range source coordinates for image copy\");if(ge.width>k.width||ge.height>k.height||oe.x>k.width-ge.width||oe.y>k.height-ge.height)throw new RangeError(\"out of range destination coordinates for image copy\");for(var qe=C.data,ft=k.data,Pt=0;Pt80*V){ft=Ut=C[0],Pt=Kt=C[1];for(var dn=V;dnUt&&(Ut=_r),Vr>Kt&&(Kt=Vr);Or=Math.max(Ut-ft,Kt-Pt),Or=Or!==0?1/Or:0}return sm(Pe,qe,V,ft,Pt,Or),qe}function lg(C,k,V,oe,ge){var Pe,qe;if(ge===Ey(C,k,V,oe)>0)for(Pe=k;Pe=k;Pe-=oe)qe=h1(Pe,C[Pe],C[Pe+1],qe);return qe&&um(qe,qe.next)&&(hm(qe),qe=qe.next),qe}function wv(C,k){if(!C)return C;k||(k=C);var V=C,oe;do if(oe=!1,!V.steiner&&(um(V,V.next)||Uc(V.prev,V,V.next)===0)){if(hm(V),V=k=V.prev,V===V.next)break;oe=!0}else V=V.next;while(oe||V!==k);return k}function sm(C,k,V,oe,ge,Pe,qe){if(C){!qe&&Pe&&ug(C,oe,ge,Pe);for(var ft=C,Pt,Ut;C.prev!==C.next;){if(Pt=C.prev,Ut=C.next,Pe?u1(C,oe,ge,Pe):l1(C)){k.push(Pt.i/V),k.push(C.i/V),k.push(Ut.i/V),hm(C),C=Ut.next,ft=Ut.next;continue}if(C=Ut,C===ft){qe?qe===1?(C=lm(wv(C),k,V),sm(C,k,V,oe,ge,Pe,2)):qe===2&&Bd(C,k,V,oe,ge,Pe):sm(wv(C),k,V,oe,ge,Pe,1);break}}}}function l1(C){var k=C.prev,V=C,oe=C.next;if(Uc(k,V,oe)>=0)return!1;for(var ge=C.next.next;ge!==C.prev;){if(Av(k.x,k.y,V.x,V.y,oe.x,oe.y,ge.x,ge.y)&&Uc(ge.prev,ge,ge.next)>=0)return!1;ge=ge.next}return!0}function u1(C,k,V,oe){var ge=C.prev,Pe=C,qe=C.next;if(Uc(ge,Pe,qe)>=0)return!1;for(var ft=ge.xPe.x?ge.x>qe.x?ge.x:qe.x:Pe.x>qe.x?Pe.x:qe.x,Kt=ge.y>Pe.y?ge.y>qe.y?ge.y:qe.y:Pe.y>qe.y?Pe.y:qe.y,_r=Ty(ft,Pt,k,V,oe),Vr=Ty(Ut,Kt,k,V,oe),Or=C.prevZ,dn=C.nextZ;Or&&Or.z>=_r&&dn&&dn.z<=Vr;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0||(Or=Or.prevZ,dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0))return!1;dn=dn.nextZ}for(;Or&&Or.z>=_r;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0)return!1;Or=Or.prevZ}for(;dn&&dn.z<=Vr;){if(dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0)return!1;dn=dn.nextZ}return!0}function lm(C,k,V){var oe=C;do{var ge=oe.prev,Pe=oe.next.next;!um(ge,Pe)&&cg(ge,oe,oe.next,Pe)&&fm(ge,Pe)&&fm(Pe,ge)&&(k.push(ge.i/V),k.push(oe.i/V),k.push(Pe.i/V),hm(oe),hm(oe.next),oe=C=Pe),oe=oe.next}while(oe!==C);return wv(oe)}function Bd(C,k,V,oe,ge,Pe){var qe=C;do{for(var ft=qe.next.next;ft!==qe.prev;){if(qe.i!==ft.i&&hp(qe,ft)){var Pt=My(qe,ft);qe=wv(qe,qe.next),Pt=wv(Pt,Pt.next),sm(qe,k,V,oe,ge,Pe),sm(Pt,k,V,oe,ge,Pe);return}ft=ft.next}qe=qe.next}while(qe!==C)}function Tv(C,k,V,oe){var ge=[],Pe,qe,ft,Pt,Ut;for(Pe=0,qe=k.length;Pe=V.next.y&&V.next.y!==V.y){var ft=V.x+(ge-V.y)*(V.next.x-V.x)/(V.next.y-V.y);if(ft<=oe&&ft>Pe){if(Pe=ft,ft===oe){if(ge===V.y)return V;if(ge===V.next.y)return V.next}qe=V.x=V.x&&V.x>=Ut&&oe!==V.x&&Av(geqe.x||V.x===qe.x&&qb(qe,V)))&&(qe=V,_r=Vr)),V=V.next;while(V!==Pt);return qe}function qb(C,k){return Uc(C.prev,C,k.prev)<0&&Uc(k.next,C,C.next)<0}function ug(C,k,V,oe){var ge=C;do ge.z===null&&(ge.z=Ty(ge.x,ge.y,k,V,oe)),ge.prevZ=ge.prev,ge.nextZ=ge.next,ge=ge.next;while(ge!==C);ge.prevZ.nextZ=null,ge.prevZ=null,wy(ge)}function wy(C){var k,V,oe,ge,Pe,qe,ft,Pt,Ut=1;do{for(V=C,C=null,Pe=null,qe=0;V;){for(qe++,oe=V,ft=0,k=0;k0||Pt>0&&oe;)ft!==0&&(Pt===0||!oe||V.z<=oe.z)?(ge=V,V=V.nextZ,ft--):(ge=oe,oe=oe.nextZ,Pt--),Pe?Pe.nextZ=ge:C=ge,ge.prevZ=Pe,Pe=ge;V=oe}Pe.nextZ=null,Ut*=2}while(qe>1);return C}function Ty(C,k,V,oe,ge){return C=32767*(C-V)*ge,k=32767*(k-oe)*ge,C=(C|C<<8)&16711935,C=(C|C<<4)&252645135,C=(C|C<<2)&858993459,C=(C|C<<1)&1431655765,k=(k|k<<8)&16711935,k=(k|k<<4)&252645135,k=(k|k<<2)&858993459,k=(k|k<<1)&1431655765,C|k<<1}function Ay(C){var k=C,V=C;do(k.x=0&&(C-qe)*(oe-ft)-(V-qe)*(k-ft)>=0&&(V-qe)*(Pe-ft)-(ge-qe)*(oe-ft)>=0}function hp(C,k){return C.next.i!==k.i&&C.prev.i!==k.i&&!f1(C,k)&&(fm(C,k)&&fm(k,C)&&Hb(C,k)&&(Uc(C.prev,C,k.prev)||Uc(C,k.prev,k))||um(C,k)&&Uc(C.prev,C,C.next)>0&&Uc(k.prev,k,k.next)>0)}function Uc(C,k,V){return(k.y-C.y)*(V.x-k.x)-(k.x-C.x)*(V.y-k.y)}function um(C,k){return C.x===k.x&&C.y===k.y}function cg(C,k,V,oe){var ge=Uv(Uc(C,k,V)),Pe=Uv(Uc(C,k,oe)),qe=Uv(Uc(V,oe,C)),ft=Uv(Uc(V,oe,k));return!!(ge!==Pe&&qe!==ft||ge===0&&cm(C,V,k)||Pe===0&&cm(C,oe,k)||qe===0&&cm(V,C,oe)||ft===0&&cm(V,k,oe))}function cm(C,k,V){return k.x<=Math.max(C.x,V.x)&&k.x>=Math.min(C.x,V.x)&&k.y<=Math.max(C.y,V.y)&&k.y>=Math.min(C.y,V.y)}function Uv(C){return C>0?1:C<0?-1:0}function f1(C,k){var V=C;do{if(V.i!==C.i&&V.next.i!==C.i&&V.i!==k.i&&V.next.i!==k.i&&cg(V,V.next,C,k))return!0;V=V.next}while(V!==C);return!1}function fm(C,k){return Uc(C.prev,C,C.next)<0?Uc(C,k,C.next)>=0&&Uc(C,C.prev,k)>=0:Uc(C,k,C.prev)<0||Uc(C,C.next,k)<0}function Hb(C,k){var V=C,oe=!1,ge=(C.x+k.x)/2,Pe=(C.y+k.y)/2;do V.y>Pe!=V.next.y>Pe&&V.next.y!==V.y&&ge<(V.next.x-V.x)*(Pe-V.y)/(V.next.y-V.y)+V.x&&(oe=!oe),V=V.next;while(V!==C);return oe}function My(C,k){var V=new Sy(C.i,C.x,C.y),oe=new Sy(k.i,k.x,k.y),ge=C.next,Pe=k.prev;return C.next=k,k.prev=C,V.next=ge,ge.prev=V,oe.next=V,V.prev=oe,Pe.next=oe,oe.prev=Pe,oe}function h1(C,k,V,oe){var ge=new Sy(C,k,V);return oe?(ge.next=oe.next,ge.prev=oe,oe.next.prev=ge,oe.next=ge):(ge.prev=ge,ge.next=ge),ge}function hm(C){C.next.prev=C.prev,C.prev.next=C.next,C.prevZ&&(C.prevZ.nextZ=C.nextZ),C.nextZ&&(C.nextZ.prevZ=C.prevZ)}function Sy(C,k,V){this.i=C,this.x=k,this.y=V,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}fp.deviation=function(C,k,V,oe){var ge=k&&k.length,Pe=ge?k[0]*V:C.length,qe=Math.abs(Ey(C,0,Pe,V));if(ge)for(var ft=0,Pt=k.length;ft0&&(oe+=C[ge-1].length,V.holes.push(oe))}return V},sg.default=s1;function Cy(C,k,V,oe,ge){tv(C,k,V||0,oe||C.length-1,ge||d1)}function tv(C,k,V,oe,ge){for(;oe>V;){if(oe-V>600){var Pe=oe-V+1,qe=k-V+1,ft=Math.log(Pe),Pt=.5*Math.exp(2*ft/3),Ut=.5*Math.sqrt(ft*Pt*(Pe-Pt)/Pe)*(qe-Pe/2<0?-1:1),Kt=Math.max(V,Math.floor(k-qe*Pt/Pe+Ut)),_r=Math.min(oe,Math.floor(k+(Pe-qe)*Pt/Pe+Ut));tv(C,k,Kt,_r,ge)}var Vr=C[k],Or=V,dn=oe;for(dp(C,V,k),ge(C[oe],Vr)>0&&dp(C,V,oe);Or0;)dn--}ge(C[V],Vr)===0?dp(C,V,dn):(dn++,dp(C,dn,oe)),dn<=k&&(V=dn+1),k<=dn&&(oe=dn-1)}}function dp(C,k,V){var oe=C[k];C[k]=C[V],C[V]=oe}function d1(C,k){return Ck?1:0}function fg(C,k){var V=C.length;if(V<=1)return[C];for(var oe=[],ge,Pe,qe=0;qe1)for(var Pt=0;Pt>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),V===1&&(ft&&qe.push(ft),ft=[]),ft.push(new i(ge,Pe));else if(V===7)ft&&ft.push(ft[0].clone());else throw new Error(\"unknown command \"+V)}return ft&&qe.push(ft),qe},jv.prototype.bbox=function(){var C=this._pbf;C.pos=this._geometry;for(var k=C.readVarint()+C.pos,V=1,oe=0,ge=0,Pe=0,qe=1/0,ft=-1/0,Pt=1/0,Ut=-1/0;C.pos>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),geft&&(ft=ge),PeUt&&(Ut=Pe);else if(V!==7)throw new Error(\"unknown command \"+V)}return[qe,Pt,ft,Ut]},jv.prototype.toGeoJSON=function(C,k,V){var oe=this.extent*Math.pow(2,V),ge=this.extent*C,Pe=this.extent*k,qe=this.loadGeometry(),ft=jv.types[this.type],Pt,Ut;function Kt(Or){for(var dn=0;dn>3;k=oe===1?C.readString():oe===2?C.readFloat():oe===3?C.readDouble():oe===4?C.readVarint64():oe===5?C.readVarint():oe===6?C.readSVarint():oe===7?C.readBoolean():null}return k}Py.prototype.feature=function(C){if(C<0||C>=this._features.length)throw new Error(\"feature index out of bounds\");this._pbf.pos=this._features[C];var k=this._pbf.readVarint()+this._pbf.pos;return new Ly(this._pbf,k,this.extent,this._keys,this._values)};var T1=Wb;function Wb(C,k){this.layers=C.readFields(Xb,{},k)}function Xb(C,k,V){if(C===3){var oe=new rv(V,V.readVarint()+V.pos);oe.length&&(k[oe.name]=oe)}}var A1=T1,vp=Ly,M1=rv,nv={VectorTile:A1,VectorTileFeature:vp,VectorTileLayer:M1},S1=nv.VectorTileFeature.types,dg=500,pp=Math.pow(2,13);function Mv(C,k,V,oe,ge,Pe,qe,ft){C.emplaceBack(k,V,Math.floor(oe*pp)*2+qe,ge*pp*2,Pe*pp*2,Math.round(ft))}var Cd=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new Pa,this.indexArray=new ao,this.programConfigurations=new Pi(k.layers,k.zoom),this.segments=new Us,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};Cd.prototype.populate=function(k,V,oe){this.features=[],this.hasPattern=hg(\"fill-extrusion\",this.layers,V);for(var ge=0,Pe=k;ge=1){var ji=mi[Vi-1];if(!Zb(Ai,ji)){Or.vertexLength+4>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Yi=Ai.sub(ji)._perp()._unit(),ga=ji.dist(Ai);ii+ga>32768&&(ii=0),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,1,ii),ii+=ga,Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,1,ii);var Ga=Or.vertexLength;this.indexArray.emplaceBack(Ga,Ga+2,Ga+1),this.indexArray.emplaceBack(Ga+1,Ga+2,Ga+3),Or.vertexLength+=4,Or.primitiveLength+=2}}}}if(Or.vertexLength+Ut>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(Ut,this.layoutVertexArray,this.indexArray)),S1[k.type]===\"Polygon\"){for(var Ua=[],Co=[],so=Or.vertexLength,xo=0,Ss=Pt;xo$i)||C.y===k.y&&(C.y<0||C.y>$i)}function Yb(C){return C.every(function(k){return k.x<0})||C.every(function(k){return k.x>$i})||C.every(function(k){return k.y<0})||C.every(function(k){return k.y>$i})}var mp=new Fi({\"fill-extrusion-opacity\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-opacity\"]),\"fill-extrusion-color\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-color\"]),\"fill-extrusion-translate\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-translate\"]),\"fill-extrusion-translate-anchor\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-translate-anchor\"]),\"fill-extrusion-pattern\":new Ln(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-pattern\"]),\"fill-extrusion-height\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-height\"]),\"fill-extrusion-base\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-base\"]),\"fill-extrusion-vertical-gradient\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-vertical-gradient\"])}),rh={paint:mp},Sv=function(C){function k(V){C.call(this,V,rh)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.createBucket=function(oe){return new Cd(oe)},k.prototype.queryRadius=function(){return $h(this.paint.get(\"fill-extrusion-translate\"))},k.prototype.is3D=function(){return!0},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt){var _r=ld(oe,this.paint.get(\"fill-extrusion-translate\"),this.paint.get(\"fill-extrusion-translate-anchor\"),Pt.angle,Ut),Vr=this.paint.get(\"fill-extrusion-height\").evaluate(ge,Pe),Or=this.paint.get(\"fill-extrusion-base\").evaluate(ge,Pe),dn=Kb(_r,Kt,Pt,0),jn=Ry(qe,Or,Vr,Kt),mi=jn[0],ii=jn[1];return E1(mi,ii,dn)},k}(na);function Vv(C,k){return C.x*k.x+C.y*k.y}function Iy(C,k){if(C.length===1){for(var V=0,oe=k[V++],ge;!ge||oe.equals(ge);)if(ge=k[V++],!ge)return 1/0;for(;V=2&&k[Ut-1].equals(k[Ut-2]);)Ut--;for(var Kt=0;Kt0;if(Ua&&Vi>Kt){var so=Or.dist(dn);if(so>2*_r){var xo=Or.sub(Or.sub(dn)._mult(_r/so)._round());this.updateDistance(dn,xo),this.addCurrentVertex(xo,mi,0,0,Vr),dn=xo}}var Ss=dn&&jn,ko=Ss?oe:Pt?\"butt\":ge;if(Ss&&ko===\"round\"&&(gaPe&&(ko=\"bevel\"),ko===\"bevel\"&&(ga>2&&(ko=\"flipbevel\"),ga100)Ai=ii.mult(-1);else{var Do=ga*mi.add(ii).mag()/mi.sub(ii).mag();Ai._perp()._mult(Do*(Co?-1:1))}this.addCurrentVertex(Or,Ai,0,0,Vr),this.addCurrentVertex(Or,Ai.mult(-1),0,0,Vr)}else if(ko===\"bevel\"||ko===\"fakeround\"){var Gs=-Math.sqrt(ga*ga-1),Ts=Co?Gs:0,kl=Co?0:Gs;if(dn&&this.addCurrentVertex(Or,mi,Ts,kl,Vr),ko===\"fakeround\")for(var du=Math.round(Ga*180/Math.PI/zy),Ll=1;Ll2*_r){var gf=Or.add(jn.sub(Or)._mult(_r/Gf)._round());this.updateDistance(Or,gf),this.addCurrentVertex(gf,ii,0,0,Vr),Or=gf}}}}},vf.prototype.addCurrentVertex=function(k,V,oe,ge,Pe,qe){qe===void 0&&(qe=!1);var ft=V.x+V.y*oe,Pt=V.y-V.x*oe,Ut=-V.x+V.y*ge,Kt=-V.y-V.x*ge;this.addHalfVertex(k,ft,Pt,qe,!1,oe,Pe),this.addHalfVertex(k,Ut,Kt,qe,!0,-ge,Pe),this.distance>gm/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(k,V,oe,ge,Pe,qe))},vf.prototype.addHalfVertex=function(k,V,oe,ge,Pe,qe,ft){var Pt=k.x,Ut=k.y,Kt=this.lineClips?this.scaledDistance*(gm-1):this.scaledDistance,_r=Kt*pg;if(this.layoutVertexArray.emplaceBack((Pt<<1)+(ge?1:0),(Ut<<1)+(Pe?1:0),Math.round(vg*V)+128,Math.round(vg*oe)+128,(qe===0?0:qe<0?-1:1)+1|(_r&63)<<2,_r>>6),this.lineClips){var Vr=this.scaledDistance-this.lineClips.start,Or=this.lineClips.end-this.lineClips.start,dn=Vr/Or;this.layoutVertexArray2.emplaceBack(dn,this.lineClipsArray.length)}var jn=ft.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,jn),ft.primitiveLength++),Pe?this.e2=jn:this.e1=jn},vf.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},vf.prototype.updateDistance=function(k,V){this.distance+=k.dist(V),this.updateScaledDistance()},de(\"LineBucket\",vf,{omit:[\"layers\",\"patternFeatures\"]});var Fy=new Fi({\"line-cap\":new tr(Mi.layout_line[\"line-cap\"]),\"line-join\":new cn(Mi.layout_line[\"line-join\"]),\"line-miter-limit\":new tr(Mi.layout_line[\"line-miter-limit\"]),\"line-round-limit\":new tr(Mi.layout_line[\"line-round-limit\"]),\"line-sort-key\":new cn(Mi.layout_line[\"line-sort-key\"])}),Oy=new Fi({\"line-opacity\":new cn(Mi.paint_line[\"line-opacity\"]),\"line-color\":new cn(Mi.paint_line[\"line-color\"]),\"line-translate\":new tr(Mi.paint_line[\"line-translate\"]),\"line-translate-anchor\":new tr(Mi.paint_line[\"line-translate-anchor\"]),\"line-width\":new cn(Mi.paint_line[\"line-width\"]),\"line-gap-width\":new cn(Mi.paint_line[\"line-gap-width\"]),\"line-offset\":new cn(Mi.paint_line[\"line-offset\"]),\"line-blur\":new cn(Mi.paint_line[\"line-blur\"]),\"line-dasharray\":new xi(Mi.paint_line[\"line-dasharray\"]),\"line-pattern\":new Ln(Mi.paint_line[\"line-pattern\"]),\"line-gradient\":new Ni(Mi.paint_line[\"line-gradient\"])}),mg={paint:Oy,layout:Fy},$b=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.possiblyEvaluate=function(oe,ge){return ge=new ua(Math.floor(ge.zoom),{now:ge.now,fadeDuration:ge.fadeDuration,zoomHistory:ge.zoomHistory,transition:ge.transition}),C.prototype.possiblyEvaluate.call(this,oe,ge)},k.prototype.evaluate=function(oe,ge,Pe,qe){return ge=m({},ge,{zoom:Math.floor(ge.zoom)}),C.prototype.evaluate.call(this,oe,ge,Pe,qe)},k}(cn),q=new $b(mg.paint.properties[\"line-width\"].specification);q.useIntegerZoom=!0;var D=function(C){function k(V){C.call(this,V,mg),this.gradientVersion=0}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._handleSpecialPaintPropertyUpdate=function(oe){if(oe===\"line-gradient\"){var ge=this._transitionablePaint._values[\"line-gradient\"].value.expression;this.stepInterpolant=ge._styleExpression.expression instanceof xu,this.gradientVersion=(this.gradientVersion+1)%h}},k.prototype.gradientExpression=function(){return this._transitionablePaint._values[\"line-gradient\"].value.expression},k.prototype.recalculate=function(oe,ge){C.prototype.recalculate.call(this,oe,ge),this.paint._values[\"line-floorwidth\"]=q.possiblyEvaluate(this._transitioningPaint._values[\"line-width\"].value,oe)},k.prototype.createBucket=function(oe){return new vf(oe)},k.prototype.queryRadius=function(oe){var ge=oe,Pe=Y(dh(\"line-width\",this,ge),dh(\"line-gap-width\",this,ge)),qe=dh(\"line-offset\",this,ge);return Pe/2+Math.abs(qe)+$h(this.paint.get(\"line-translate\"))},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=ld(oe,this.paint.get(\"line-translate\"),this.paint.get(\"line-translate-anchor\"),Pt.angle,Ut),_r=Ut/2*Y(this.paint.get(\"line-width\").evaluate(ge,Pe),this.paint.get(\"line-gap-width\").evaluate(ge,Pe)),Vr=this.paint.get(\"line-offset\").evaluate(ge,Pe);return Vr&&(qe=he(qe,Vr*Ut)),Ou(Kt,qe,_r)},k.prototype.isTileClipped=function(){return!0},k}(na);function Y(C,k){return k>0?k+2*C:C}function he(C,k){for(var V=[],oe=new i(0,0),ge=0;ge\":\"\\uFE40\",\"?\":\"\\uFE16\",\"@\":\"\\uFF20\",\"[\":\"\\uFE47\",\"\\\\\":\"\\uFF3C\",\"]\":\"\\uFE48\",\"^\":\"\\uFF3E\",_:\"\\uFE33\",\"`\":\"\\uFF40\",\"{\":\"\\uFE37\",\"|\":\"\\u2015\",\"}\":\"\\uFE38\",\"~\":\"\\uFF5E\",\"\\xA2\":\"\\uFFE0\",\"\\xA3\":\"\\uFFE1\",\"\\xA5\":\"\\uFFE5\",\"\\xA6\":\"\\uFFE4\",\"\\xAC\":\"\\uFFE2\",\"\\xAF\":\"\\uFFE3\",\"\\u2013\":\"\\uFE32\",\"\\u2014\":\"\\uFE31\",\"\\u2018\":\"\\uFE43\",\"\\u2019\":\"\\uFE44\",\"\\u201C\":\"\\uFE41\",\"\\u201D\":\"\\uFE42\",\"\\u2026\":\"\\uFE19\",\"\\u2027\":\"\\u30FB\",\"\\u20A9\":\"\\uFFE6\",\"\\u3001\":\"\\uFE11\",\"\\u3002\":\"\\uFE12\",\"\\u3008\":\"\\uFE3F\",\"\\u3009\":\"\\uFE40\",\"\\u300A\":\"\\uFE3D\",\"\\u300B\":\"\\uFE3E\",\"\\u300C\":\"\\uFE41\",\"\\u300D\":\"\\uFE42\",\"\\u300E\":\"\\uFE43\",\"\\u300F\":\"\\uFE44\",\"\\u3010\":\"\\uFE3B\",\"\\u3011\":\"\\uFE3C\",\"\\u3014\":\"\\uFE39\",\"\\u3015\":\"\\uFE3A\",\"\\u3016\":\"\\uFE17\",\"\\u3017\":\"\\uFE18\",\"\\uFF01\":\"\\uFE15\",\"\\uFF08\":\"\\uFE35\",\"\\uFF09\":\"\\uFE36\",\"\\uFF0C\":\"\\uFE10\",\"\\uFF0D\":\"\\uFE32\",\"\\uFF0E\":\"\\u30FB\",\"\\uFF1A\":\"\\uFE13\",\"\\uFF1B\":\"\\uFE14\",\"\\uFF1C\":\"\\uFE3F\",\"\\uFF1E\":\"\\uFE40\",\"\\uFF1F\":\"\\uFE16\",\"\\uFF3B\":\"\\uFE47\",\"\\uFF3D\":\"\\uFE48\",\"\\uFF3F\":\"\\uFE33\",\"\\uFF5B\":\"\\uFE37\",\"\\uFF5C\":\"\\u2015\",\"\\uFF5D\":\"\\uFE38\",\"\\uFF5F\":\"\\uFE35\",\"\\uFF60\":\"\\uFE36\",\"\\uFF61\":\"\\uFE12\",\"\\uFF62\":\"\\uFE41\",\"\\uFF63\":\"\\uFE42\"};function Si(C){for(var k=\"\",V=0;V>1,Kt=-7,_r=V?ge-1:0,Vr=V?-1:1,Or=C[k+_r];for(_r+=Vr,Pe=Or&(1<<-Kt)-1,Or>>=-Kt,Kt+=ft;Kt>0;Pe=Pe*256+C[k+_r],_r+=Vr,Kt-=8);for(qe=Pe&(1<<-Kt)-1,Pe>>=-Kt,Kt+=oe;Kt>0;qe=qe*256+C[k+_r],_r+=Vr,Kt-=8);if(Pe===0)Pe=1-Ut;else{if(Pe===Pt)return qe?NaN:(Or?-1:1)*(1/0);qe=qe+Math.pow(2,oe),Pe=Pe-Ut}return(Or?-1:1)*qe*Math.pow(2,Pe-oe)},Po=function(C,k,V,oe,ge,Pe){var qe,ft,Pt,Ut=Pe*8-ge-1,Kt=(1<>1,Vr=ge===23?Math.pow(2,-24)-Math.pow(2,-77):0,Or=oe?0:Pe-1,dn=oe?1:-1,jn=k<0||k===0&&1/k<0?1:0;for(k=Math.abs(k),isNaN(k)||k===1/0?(ft=isNaN(k)?1:0,qe=Kt):(qe=Math.floor(Math.log(k)/Math.LN2),k*(Pt=Math.pow(2,-qe))<1&&(qe--,Pt*=2),qe+_r>=1?k+=Vr/Pt:k+=Vr*Math.pow(2,1-_r),k*Pt>=2&&(qe++,Pt/=2),qe+_r>=Kt?(ft=0,qe=Kt):qe+_r>=1?(ft=(k*Pt-1)*Math.pow(2,ge),qe=qe+_r):(ft=k*Math.pow(2,_r-1)*Math.pow(2,ge),qe=0));ge>=8;C[V+Or]=ft&255,Or+=dn,ft/=256,ge-=8);for(qe=qe<0;C[V+Or]=qe&255,Or+=dn,qe/=256,Ut-=8);C[V+Or-dn]|=jn*128},xs={read:Ha,write:Po},_o=Ra;function Ra(C){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(C)?C:new Uint8Array(C||0),this.pos=0,this.type=0,this.length=this.buf.length}Ra.Varint=0,Ra.Fixed64=1,Ra.Bytes=2,Ra.Fixed32=5;var es=65536*65536,qo=1/es,Bo=12,ma=typeof TextDecoder>\"u\"?null:new TextDecoder(\"utf8\");Ra.prototype={destroy:function(){this.buf=null},readFields:function(C,k,V){for(V=V||this.length;this.pos>3,Pe=this.pos;this.type=oe&7,C(ge,k,this),this.pos===Pe&&this.skip(oe)}return k},readMessage:function(C,k){return this.readFields(C,k,this.readVarint()+this.pos)},readFixed32:function(){var C=Vf(this.buf,this.pos);return this.pos+=4,C},readSFixed32:function(){var C=rd(this.buf,this.pos);return this.pos+=4,C},readFixed64:function(){var C=Vf(this.buf,this.pos)+Vf(this.buf,this.pos+4)*es;return this.pos+=8,C},readSFixed64:function(){var C=Vf(this.buf,this.pos)+rd(this.buf,this.pos+4)*es;return this.pos+=8,C},readFloat:function(){var C=xs.read(this.buf,this.pos,!0,23,4);return this.pos+=4,C},readDouble:function(){var C=xs.read(this.buf,this.pos,!0,52,8);return this.pos+=8,C},readVarint:function(C){var k=this.buf,V,oe;return oe=k[this.pos++],V=oe&127,oe<128||(oe=k[this.pos++],V|=(oe&127)<<7,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<14,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<21,oe<128)?V:(oe=k[this.pos],V|=(oe&15)<<28,us(V,C,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var C=this.readVarint();return C%2===1?(C+1)/-2:C/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var C=this.readVarint()+this.pos,k=this.pos;return this.pos=C,C-k>=Bo&&ma?Gl(this.buf,k,C):jh(this.buf,k,C)},readBytes:function(){var C=this.readVarint()+this.pos,k=this.buf.subarray(this.pos,C);return this.pos=C,k},readPackedVarint:function(C,k){if(this.type!==Ra.Bytes)return C.push(this.readVarint(k));var V=No(this);for(C=C||[];this.pos127;);else if(k===Ra.Bytes)this.pos=this.readVarint()+this.pos;else if(k===Ra.Fixed32)this.pos+=4;else if(k===Ra.Fixed64)this.pos+=8;else throw new Error(\"Unimplemented type: \"+k)},writeTag:function(C,k){this.writeVarint(C<<3|k)},realloc:function(C){for(var k=this.length||16;k268435455||C<0){Au(C,this);return}this.realloc(4),this.buf[this.pos++]=C&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=C>>>7&127)))},writeSVarint:function(C){this.writeVarint(C<0?-C*2-1:C*2)},writeBoolean:function(C){this.writeVarint(!!C)},writeString:function(C){C=String(C),this.realloc(C.length*4),this.pos++;var k=this.pos;this.pos=Nu(this.buf,C,this.pos);var V=this.pos-k;V>=128&&cd(k,V,this),this.pos=k-1,this.writeVarint(V),this.pos+=V},writeFloat:function(C){this.realloc(4),xs.write(this.buf,C,this.pos,!0,23,4),this.pos+=4},writeDouble:function(C){this.realloc(8),xs.write(this.buf,C,this.pos,!0,52,8),this.pos+=8},writeBytes:function(C){var k=C.length;this.writeVarint(k),this.realloc(k);for(var V=0;V=128&&cd(V,oe,this),this.pos=V-1,this.writeVarint(oe),this.pos+=oe},writeMessage:function(C,k,V){this.writeTag(C,Ra.Bytes),this.writeRawMessage(k,V)},writePackedVarint:function(C,k){k.length&&this.writeMessage(C,nh,k)},writePackedSVarint:function(C,k){k.length&&this.writeMessage(C,Cf,k)},writePackedBoolean:function(C,k){k.length&&this.writeMessage(C,Ph,k)},writePackedFloat:function(C,k){k.length&&this.writeMessage(C,kh,k)},writePackedDouble:function(C,k){k.length&&this.writeMessage(C,Lh,k)},writePackedFixed32:function(C,k){k.length&&this.writeMessage(C,jc,k)},writePackedSFixed32:function(C,k){k.length&&this.writeMessage(C,kf,k)},writePackedFixed64:function(C,k){k.length&&this.writeMessage(C,mh,k)},writePackedSFixed64:function(C,k){k.length&&this.writeMessage(C,ih,k)},writeBytesField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeBytes(k)},writeFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFixed32(k)},writeSFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeSFixed32(k)},writeFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeFixed64(k)},writeSFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeSFixed64(k)},writeVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeVarint(k)},writeSVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeSVarint(k)},writeStringField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeString(k)},writeFloatField:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFloat(k)},writeDoubleField:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeDouble(k)},writeBooleanField:function(C,k){this.writeVarintField(C,!!k)}};function us(C,k,V){var oe=V.buf,ge,Pe;if(Pe=oe[V.pos++],ge=(Pe&112)>>4,Pe<128||(Pe=oe[V.pos++],ge|=(Pe&127)<<3,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<10,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<17,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<24,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&1)<<31,Pe<128))return ks(C,ge,k);throw new Error(\"Expected varint not more than 10 bytes\")}function No(C){return C.type===Ra.Bytes?C.readVarint()+C.pos:C.pos+1}function ks(C,k,V){return V?k*4294967296+(C>>>0):(k>>>0)*4294967296+(C>>>0)}function Au(C,k){var V,oe;if(C>=0?(V=C%4294967296|0,oe=C/4294967296|0):(V=~(-C%4294967296),oe=~(-C/4294967296),V^4294967295?V=V+1|0:(V=0,oe=oe+1|0)),C>=18446744073709552e3||C<-18446744073709552e3)throw new Error(\"Given varint doesn't fit into 10 bytes\");k.realloc(10),yu(V,oe,k),Ef(oe,k)}function yu(C,k,V){V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos]=C&127}function Ef(C,k){var V=(C&7)<<4;k.buf[k.pos++]|=V|((C>>>=3)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127)))))}function cd(C,k,V){var oe=k<=16383?1:k<=2097151?2:k<=268435455?3:Math.floor(Math.log(k)/(Math.LN2*7));V.realloc(oe);for(var ge=V.pos-1;ge>=C;ge--)V.buf[ge+oe]=V.buf[ge]}function nh(C,k){for(var V=0;V>>8,C[V+2]=k>>>16,C[V+3]=k>>>24}function rd(C,k){return(C[k]|C[k+1]<<8|C[k+2]<<16)+(C[k+3]<<24)}function jh(C,k,V){for(var oe=\"\",ge=k;ge239?4:Pe>223?3:Pe>191?2:1;if(ge+ft>V)break;var Pt,Ut,Kt;ft===1?Pe<128&&(qe=Pe):ft===2?(Pt=C[ge+1],(Pt&192)===128&&(qe=(Pe&31)<<6|Pt&63,qe<=127&&(qe=null))):ft===3?(Pt=C[ge+1],Ut=C[ge+2],(Pt&192)===128&&(Ut&192)===128&&(qe=(Pe&15)<<12|(Pt&63)<<6|Ut&63,(qe<=2047||qe>=55296&&qe<=57343)&&(qe=null))):ft===4&&(Pt=C[ge+1],Ut=C[ge+2],Kt=C[ge+3],(Pt&192)===128&&(Ut&192)===128&&(Kt&192)===128&&(qe=(Pe&15)<<18|(Pt&63)<<12|(Ut&63)<<6|Kt&63,(qe<=65535||qe>=1114112)&&(qe=null))),qe===null?(qe=65533,ft=1):qe>65535&&(qe-=65536,oe+=String.fromCharCode(qe>>>10&1023|55296),qe=56320|qe&1023),oe+=String.fromCharCode(qe),ge+=ft}return oe}function Gl(C,k,V){return ma.decode(C.subarray(k,V))}function Nu(C,k,V){for(var oe=0,ge,Pe;oe55295&&ge<57344)if(Pe)if(ge<56320){C[V++]=239,C[V++]=191,C[V++]=189,Pe=ge;continue}else ge=Pe-55296<<10|ge-56320|65536,Pe=null;else{ge>56319||oe+1===k.length?(C[V++]=239,C[V++]=191,C[V++]=189):Pe=ge;continue}else Pe&&(C[V++]=239,C[V++]=191,C[V++]=189,Pe=null);ge<128?C[V++]=ge:(ge<2048?C[V++]=ge>>6|192:(ge<65536?C[V++]=ge>>12|224:(C[V++]=ge>>18|240,C[V++]=ge>>12&63|128),C[V++]=ge>>6&63|128),C[V++]=ge&63|128)}return V}var Mu=3;function nd(C,k,V){C===1&&V.readMessage(Mc,k)}function Mc(C,k,V){if(C===3){var oe=V.readMessage(gp,{}),ge=oe.id,Pe=oe.bitmap,qe=oe.width,ft=oe.height,Pt=oe.left,Ut=oe.top,Kt=oe.advance;k.push({id:ge,bitmap:new td({width:qe+2*Mu,height:ft+2*Mu},Pe),metrics:{width:qe,height:ft,left:Pt,top:Ut,advance:Kt}})}}function gp(C,k,V){C===1?k.id=V.readVarint():C===2?k.bitmap=V.readBytes():C===3?k.width=V.readVarint():C===4?k.height=V.readVarint():C===5?k.left=V.readSVarint():C===6?k.top=V.readSVarint():C===7&&(k.advance=V.readVarint())}function Nd(C){return new _o(C).readFields(nd,[])}var kd=Mu;function fd(C){for(var k=0,V=0,oe=0,ge=C;oe=0;Or--){var dn=ft[Or];if(!(Vr.w>dn.w||Vr.h>dn.h)){if(Vr.x=dn.x,Vr.y=dn.y,Ut=Math.max(Ut,Vr.y+Vr.h),Pt=Math.max(Pt,Vr.x+Vr.w),Vr.w===dn.w&&Vr.h===dn.h){var jn=ft.pop();Or=0&&ge>=k&&jd[this.text.charCodeAt(ge)];ge--)oe--;this.text=this.text.substring(k,oe),this.sectionIndex=this.sectionIndex.slice(k,oe)},qf.prototype.substring=function(k,V){var oe=new qf;return oe.text=this.text.substring(k,V),oe.sectionIndex=this.sectionIndex.slice(k,V),oe.sections=this.sections,oe},qf.prototype.toString=function(){return this.text},qf.prototype.getMaxScale=function(){var k=this;return this.sectionIndex.reduce(function(V,oe){return Math.max(V,k.sections[oe].scale)},0)},qf.prototype.addTextSection=function(k,V){this.text+=k.text,this.sections.push(qv.forText(k.scale,k.fontStack||V));for(var oe=this.sections.length-1,ge=0;ge=Ud?null:++this.imageSectionID:(this.imageSectionID=gg,this.imageSectionID)};function Qb(C,k){for(var V=[],oe=C.text,ge=0,Pe=0,qe=k;Pe=0,Kt=0,_r=0;_r0&&gf>Co&&(Co=gf)}else{var Pl=V[xo.fontStack],bl=Pl&&Pl[ko];if(bl&&bl.rect)Ts=bl.rect,Gs=bl.metrics;else{var Su=k[xo.fontStack],Uu=Su&&Su[ko];if(!Uu)continue;Gs=Uu.metrics}Do=(Yi-xo.scale)*Gi}Ll?(C.verticalizable=!0,Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=du*xo.scale+Ut):(Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=Gs.advance*xo.scale+Ut)}if(Ua.length!==0){var Rh=Vr-Ut;dn=Math.max(Rh,dn),nw(Ua,0,Ua.length-1,mi,Co)}Vr=0;var Dh=Pe*Yi+Co;Ga.lineOffset=Math.max(Co,ga),Or+=Dh,jn=Math.max(Dh,jn),++ii}var Wf=Or-yp,Hh=Ny(qe),Gh=Hh.horizontalAlign,Lf=Hh.verticalAlign;gh(C.positionedLines,mi,Gh,Lf,dn,jn,Pe,Wf,ge.length),C.top+=-Lf*Wf,C.bottom=C.top+Wf,C.left+=-Gh*dn,C.right=C.left+dn}function nw(C,k,V,oe,ge){if(!(!oe&&!ge))for(var Pe=C[V],qe=Pe.metrics.advance*Pe.scale,ft=(C[V].x+qe)*oe,Pt=k;Pt<=V;Pt++)C[Pt].x-=ft,C[Pt].y+=ge}function gh(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=(k-V)*ge,Kt=0;Pe!==qe?Kt=-ft*oe-yp:Kt=(-oe*Pt+.5)*qe;for(var _r=0,Vr=C;_r-V/2;){if(qe--,qe<0)return!1;ft-=C[qe].dist(Pe),Pe=C[qe]}ft+=C[qe].dist(C[qe+1]),qe++;for(var Pt=[],Ut=0;ftoe;)Ut-=Pt.shift().angleDelta;if(Ut>ge)return!1;qe++,ft+=_r.dist(Vr)}return!0}function rS(C){for(var k=0,V=0;VUt){var dn=(Ut-Pt)/Or,jn=Sl(_r.x,Vr.x,dn),mi=Sl(_r.y,Vr.y,dn),ii=new Ih(jn,mi,Vr.angleTo(_r),Kt);return ii._round(),!qe||tS(C,ii,ft,qe,k)?ii:void 0}Pt+=Or}}function qF(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=nS(oe,Pe,qe),Kt=iS(oe,ge),_r=Kt*qe,Vr=C[0].x===0||C[0].x===Pt||C[0].y===0||C[0].y===Pt;k-_r=0&&ji=0&&Yi=0&&Vr+Ut<=Kt){var ga=new Ih(ji,Yi,Vi,dn);ga._round(),(!oe||tS(C,ga,Pe,oe,ge))&&Or.push(ga)}}_r+=ii}return!ft&&!Or.length&&!qe&&(Or=aS(C,_r/2,V,oe,ge,Pe,qe,!0,Pt)),Or}function oS(C,k,V,oe,ge){for(var Pe=[],qe=0;qe=oe&&_r.x>=oe)&&(Kt.x>=oe?Kt=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round():_r.x>=oe&&(_r=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round()),!(Kt.y>=ge&&_r.y>=ge)&&(Kt.y>=ge?Kt=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round():_r.y>=ge&&(_r=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round()),(!Pt||!Kt.equals(Pt[Pt.length-1]))&&(Pt=[Kt],Pe.push(Pt)),Pt.push(_r)))))}return Pe}var xg=ic;function sS(C,k,V,oe){var ge=[],Pe=C.image,qe=Pe.pixelRatio,ft=Pe.paddedRect.w-2*xg,Pt=Pe.paddedRect.h-2*xg,Ut=C.right-C.left,Kt=C.bottom-C.top,_r=Pe.stretchX||[[0,ft]],Vr=Pe.stretchY||[[0,Pt]],Or=function(Pl,bl){return Pl+bl[1]-bl[0]},dn=_r.reduce(Or,0),jn=Vr.reduce(Or,0),mi=ft-dn,ii=Pt-jn,Vi=0,Ai=dn,ji=0,Yi=jn,ga=0,Ga=mi,Ua=0,Co=ii;if(Pe.content&&oe){var so=Pe.content;Vi=z1(_r,0,so[0]),ji=z1(Vr,0,so[1]),Ai=z1(_r,so[0],so[2]),Yi=z1(Vr,so[1],so[3]),ga=so[0]-Vi,Ua=so[1]-ji,Ga=so[2]-so[0]-Ai,Co=so[3]-so[1]-Yi}var xo=function(Pl,bl,Su,Uu){var Vc=F1(Pl.stretch-Vi,Ai,Ut,C.left),ef=O1(Pl.fixed-ga,Ga,Pl.stretch,dn),Gf=F1(bl.stretch-ji,Yi,Kt,C.top),gf=O1(bl.fixed-Ua,Co,bl.stretch,jn),Rh=F1(Su.stretch-Vi,Ai,Ut,C.left),Dh=O1(Su.fixed-ga,Ga,Su.stretch,dn),Wf=F1(Uu.stretch-ji,Yi,Kt,C.top),Hh=O1(Uu.fixed-Ua,Co,Uu.stretch,jn),Gh=new i(Vc,Gf),Lf=new i(Rh,Gf),Wh=new i(Rh,Wf),Ad=new i(Vc,Wf),Wv=new i(ef/qe,gf/qe),bp=new i(Dh/qe,Hh/qe),wp=k*Math.PI/180;if(wp){var Tp=Math.sin(wp),Cg=Math.cos(wp),Vd=[Cg,-Tp,Tp,Cg];Gh._matMult(Vd),Lf._matMult(Vd),Ad._matMult(Vd),Wh._matMult(Vd)}var q1=Pl.stretch+Pl.fixed,fw=Su.stretch+Su.fixed,H1=bl.stretch+bl.fixed,hw=Uu.stretch+Uu.fixed,Ld={x:Pe.paddedRect.x+xg+q1,y:Pe.paddedRect.y+xg+H1,w:fw-q1,h:hw-H1},kg=Ga/qe/Ut,G1=Co/qe/Kt;return{tl:Gh,tr:Lf,bl:Ad,br:Wh,tex:Ld,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:Wv,pixelOffsetBR:bp,minFontScaleX:kg,minFontScaleY:G1,isSDF:V}};if(!oe||!Pe.stretchX&&!Pe.stretchY)ge.push(xo({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:ft+1},{fixed:0,stretch:Pt+1}));else for(var Ss=lS(_r,mi,dn),ko=lS(Vr,ii,jn),Do=0;Do0&&(dn=Math.max(10,dn),this.circleDiameter=dn)}else{var jn=qe.top*ft-Pt,mi=qe.bottom*ft+Pt,ii=qe.left*ft-Pt,Vi=qe.right*ft+Pt,Ai=qe.collisionPadding;if(Ai&&(ii-=Ai[0]*ft,jn-=Ai[1]*ft,Vi+=Ai[2]*ft,mi+=Ai[3]*ft),Kt){var ji=new i(ii,jn),Yi=new i(Vi,jn),ga=new i(ii,mi),Ga=new i(Vi,mi),Ua=Kt*Math.PI/180;ji._rotate(Ua),Yi._rotate(Ua),ga._rotate(Ua),Ga._rotate(Ua),ii=Math.min(ji.x,Yi.x,ga.x,Ga.x),Vi=Math.max(ji.x,Yi.x,ga.x,Ga.x),jn=Math.min(ji.y,Yi.y,ga.y,Ga.y),mi=Math.max(ji.y,Yi.y,ga.y,Ga.y)}k.emplaceBack(V.x,V.y,ii,jn,Vi,mi,oe,ge,Pe)}this.boxEndIndex=k.length},bg=function(k,V){if(k===void 0&&(k=[]),V===void 0&&(V=GF),this.data=k,this.length=this.data.length,this.compare=V,this.length>0)for(var oe=(this.length>>1)-1;oe>=0;oe--)this._down(oe)};bg.prototype.push=function(k){this.data.push(k),this.length++,this._up(this.length-1)},bg.prototype.pop=function(){if(this.length!==0){var k=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),k}},bg.prototype.peek=function(){return this.data[0]},bg.prototype._up=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=oe[k];k>0;){var qe=k-1>>1,ft=oe[qe];if(ge(Pe,ft)>=0)break;oe[k]=ft,k=qe}oe[k]=Pe},bg.prototype._down=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=this.length>>1,qe=oe[k];k=0)break;oe[k]=Pt,k=ft}oe[k]=qe};function GF(C,k){return Ck?1:0}function WF(C,k,V){k===void 0&&(k=1),V===void 0&&(V=!1);for(var oe=1/0,ge=1/0,Pe=-1/0,qe=-1/0,ft=C[0],Pt=0;PtPe)&&(Pe=Ut.x),(!Pt||Ut.y>qe)&&(qe=Ut.y)}var Kt=Pe-oe,_r=qe-ge,Vr=Math.min(Kt,_r),Or=Vr/2,dn=new bg([],XF);if(Vr===0)return new i(oe,ge);for(var jn=oe;jnii.d||!ii.d)&&(ii=Ai,V&&console.log(\"found best %d after %d probes\",Math.round(1e4*Ai.d)/1e4,Vi)),!(Ai.max-ii.d<=k)&&(Or=Ai.h/2,dn.push(new wg(Ai.p.x-Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x-Or,Ai.p.y+Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y+Or,Or,C)),Vi+=4)}return V&&(console.log(\"num probes: \"+Vi),console.log(\"best distance: \"+ii.d)),ii.p}function XF(C,k){return k.max-C.max}function wg(C,k,V,oe){this.p=new i(C,k),this.h=V,this.d=ZF(this.p,oe),this.max=this.d+this.h*Math.SQRT2}function ZF(C,k){for(var V=!1,oe=1/0,ge=0;geC.y!=Kt.y>C.y&&C.x<(Kt.x-Ut.x)*(C.y-Ut.y)/(Kt.y-Ut.y)+Ut.x&&(V=!V),oe=Math.min(oe,$d(C,Ut,Kt))}return(V?1:-1)*Math.sqrt(oe)}function YF(C){for(var k=0,V=0,oe=0,ge=C[0],Pe=0,qe=ge.length,ft=qe-1;Pe=$i||Vd.y<0||Vd.y>=$i||$F(C,Vd,Cg,V,oe,ge,ko,C.layers[0],C.collisionBoxArray,k.index,k.sourceLayerIndex,C.index,ii,Yi,Ua,Pt,Ai,ga,Co,Or,k,Pe,Ut,Kt,qe)};if(so===\"line\")for(var Gs=0,Ts=oS(k.geometry,0,0,$i,$i);Gs1){var Gf=VF(ef,Ga,V.vertical||dn,oe,jn,Vi);Gf&&Do(ef,Gf)}}else if(k.type===\"Polygon\")for(var gf=0,Rh=fg(k.geometry,0);gf_p&&U(C.layerIds[0]+': Value for \"text-size\" is >= '+Uy+'. Reduce your \"text-size\".')):mi.kind===\"composite\"&&(ii=[yh*Or.compositeTextSizes[0].evaluate(qe,{},dn),yh*Or.compositeTextSizes[1].evaluate(qe,{},dn)],(ii[0]>_p||ii[1]>_p)&&U(C.layerIds[0]+': Value for \"text-size\" is >= '+Uy+'. Reduce your \"text-size\".')),C.addSymbols(C.text,jn,ii,ft,Pe,qe,Ut,k,Pt.lineStartIndex,Pt.lineLength,Vr,dn);for(var Vi=0,Ai=Kt;Vi_p&&U(C.layerIds[0]+': Value for \"icon-size\" is >= '+Uy+'. Reduce your \"icon-size\".')):Gh.kind===\"composite\"&&(Lf=[yh*Yi.compositeIconSizes[0].evaluate(ji,{},Ga),yh*Yi.compositeIconSizes[1].evaluate(ji,{},Ga)],(Lf[0]>_p||Lf[1]>_p)&&U(C.layerIds[0]+': Value for \"icon-size\" is >= '+Uy+'. Reduce your \"icon-size\".')),C.addSymbols(C.icon,Wf,Lf,Ai,Vi,ji,!1,k,so.lineStartIndex,so.lineLength,-1,Ga),Ll=C.icon.placedSymbolArray.length-1,Hh&&(Ts=Hh.length*4,C.addSymbols(C.icon,Hh,Lf,Ai,Vi,ji,Vh.vertical,k,so.lineStartIndex,so.lineLength,-1,Ga),Pl=C.icon.placedSymbolArray.length-1)}for(var Wh in oe.horizontal){var Ad=oe.horizontal[Wh];if(!xo){Su=ye(Ad.text);var Wv=ft.layout.get(\"text-rotate\").evaluate(ji,{},Ga);xo=new B1(Pt,k,Ut,Kt,_r,Ad,Vr,Or,dn,Wv)}var bp=Ad.positionedLines.length===1;if(kl+=cS(C,k,Ad,Pe,ft,dn,ji,jn,so,oe.vertical?Vh.horizontal:Vh.horizontalOnly,bp?Object.keys(oe.horizontal):[Wh],bl,Ll,Yi,Ga),bp)break}oe.vertical&&(du+=cS(C,k,oe.vertical,Pe,ft,dn,ji,jn,so,Vh.vertical,[\"vertical\"],bl,Pl,Yi,Ga));var wp=xo?xo.boxStartIndex:C.collisionBoxArray.length,Tp=xo?xo.boxEndIndex:C.collisionBoxArray.length,Cg=ko?ko.boxStartIndex:C.collisionBoxArray.length,Vd=ko?ko.boxEndIndex:C.collisionBoxArray.length,q1=Ss?Ss.boxStartIndex:C.collisionBoxArray.length,fw=Ss?Ss.boxEndIndex:C.collisionBoxArray.length,H1=Do?Do.boxStartIndex:C.collisionBoxArray.length,hw=Do?Do.boxEndIndex:C.collisionBoxArray.length,Ld=-1,kg=function(qy,ES){return qy&&qy.circleDiameter?Math.max(qy.circleDiameter,ES):ES};Ld=kg(xo,Ld),Ld=kg(ko,Ld),Ld=kg(Ss,Ld),Ld=kg(Do,Ld);var G1=Ld>-1?1:0;G1&&(Ld*=Ua/Gi),C.glyphOffsetArray.length>=hu.MAX_GLYPHS&&U(\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\"),ji.sortKey!==void 0&&C.addToSortKeyRanges(C.symbolInstances.length,ji.sortKey),C.symbolInstances.emplaceBack(k.x,k.y,bl.right>=0?bl.right:-1,bl.center>=0?bl.center:-1,bl.left>=0?bl.left:-1,bl.vertical||-1,Ll,Pl,Su,wp,Tp,Cg,Vd,q1,fw,H1,hw,Ut,kl,du,Gs,Ts,G1,0,Vr,Uu,Vc,Ld)}function QF(C,k,V,oe){var ge=C.compareText;if(!(k in ge))ge[k]=[];else for(var Pe=ge[k],qe=Pe.length-1;qe>=0;qe--)if(oe.dist(Pe[qe])0)&&(qe.value.kind!==\"constant\"||qe.value.value.length>0),Kt=Pt.value.kind!==\"constant\"||!!Pt.value.value||Object.keys(Pt.parameters).length>0,_r=Pe.get(\"symbol-sort-key\");if(this.features=[],!(!Ut&&!Kt)){for(var Vr=V.iconDependencies,Or=V.glyphDependencies,dn=V.availableImages,jn=new ua(this.zoom),mi=0,ii=k;mi=0;for(var du=0,Ll=Co.sections;du=0;Pt--)qe[Pt]={x:V[Pt].x,y:V[Pt].y,tileUnitDistanceFromAnchor:Pe},Pt>0&&(Pe+=V[Pt-1].dist(V[Pt]));for(var Ut=0;Ut0},hu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},hu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},hu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},hu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},hu.prototype.addIndicesForPlacedSymbol=function(k,V){for(var oe=k.placedSymbolArray.get(V),ge=oe.vertexStartIndex+oe.numGlyphs*4,Pe=oe.vertexStartIndex;Pe1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(k),this.sortedAngle=k,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var oe=0,ge=this.symbolInstanceIndexes;oe=0&&Ut.indexOf(ft)===Pt&&V.addIndicesForPlacedSymbol(V.text,ft)}),qe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,qe.verticalPlacedTextSymbolIndex),qe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.placedIconSymbolIndex),qe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},de(\"SymbolBucket\",hu,{omit:[\"layers\",\"collisionBoxArray\",\"features\",\"compareText\"]}),hu.MAX_GLYPHS=65535,hu.addDynamicAttributes=ow;function nO(C,k){return k.replace(/{([^{}]+)}/g,function(V,oe){return oe in C?String(C[oe]):\"\"})}var iO=new Fi({\"symbol-placement\":new tr(Mi.layout_symbol[\"symbol-placement\"]),\"symbol-spacing\":new tr(Mi.layout_symbol[\"symbol-spacing\"]),\"symbol-avoid-edges\":new tr(Mi.layout_symbol[\"symbol-avoid-edges\"]),\"symbol-sort-key\":new cn(Mi.layout_symbol[\"symbol-sort-key\"]),\"symbol-z-order\":new tr(Mi.layout_symbol[\"symbol-z-order\"]),\"icon-allow-overlap\":new tr(Mi.layout_symbol[\"icon-allow-overlap\"]),\"icon-ignore-placement\":new tr(Mi.layout_symbol[\"icon-ignore-placement\"]),\"icon-optional\":new tr(Mi.layout_symbol[\"icon-optional\"]),\"icon-rotation-alignment\":new tr(Mi.layout_symbol[\"icon-rotation-alignment\"]),\"icon-size\":new cn(Mi.layout_symbol[\"icon-size\"]),\"icon-text-fit\":new tr(Mi.layout_symbol[\"icon-text-fit\"]),\"icon-text-fit-padding\":new tr(Mi.layout_symbol[\"icon-text-fit-padding\"]),\"icon-image\":new cn(Mi.layout_symbol[\"icon-image\"]),\"icon-rotate\":new cn(Mi.layout_symbol[\"icon-rotate\"]),\"icon-padding\":new tr(Mi.layout_symbol[\"icon-padding\"]),\"icon-keep-upright\":new tr(Mi.layout_symbol[\"icon-keep-upright\"]),\"icon-offset\":new cn(Mi.layout_symbol[\"icon-offset\"]),\"icon-anchor\":new cn(Mi.layout_symbol[\"icon-anchor\"]),\"icon-pitch-alignment\":new tr(Mi.layout_symbol[\"icon-pitch-alignment\"]),\"text-pitch-alignment\":new tr(Mi.layout_symbol[\"text-pitch-alignment\"]),\"text-rotation-alignment\":new tr(Mi.layout_symbol[\"text-rotation-alignment\"]),\"text-field\":new cn(Mi.layout_symbol[\"text-field\"]),\"text-font\":new cn(Mi.layout_symbol[\"text-font\"]),\"text-size\":new cn(Mi.layout_symbol[\"text-size\"]),\"text-max-width\":new cn(Mi.layout_symbol[\"text-max-width\"]),\"text-line-height\":new tr(Mi.layout_symbol[\"text-line-height\"]),\"text-letter-spacing\":new cn(Mi.layout_symbol[\"text-letter-spacing\"]),\"text-justify\":new cn(Mi.layout_symbol[\"text-justify\"]),\"text-radial-offset\":new cn(Mi.layout_symbol[\"text-radial-offset\"]),\"text-variable-anchor\":new tr(Mi.layout_symbol[\"text-variable-anchor\"]),\"text-anchor\":new cn(Mi.layout_symbol[\"text-anchor\"]),\"text-max-angle\":new tr(Mi.layout_symbol[\"text-max-angle\"]),\"text-writing-mode\":new tr(Mi.layout_symbol[\"text-writing-mode\"]),\"text-rotate\":new cn(Mi.layout_symbol[\"text-rotate\"]),\"text-padding\":new tr(Mi.layout_symbol[\"text-padding\"]),\"text-keep-upright\":new tr(Mi.layout_symbol[\"text-keep-upright\"]),\"text-transform\":new cn(Mi.layout_symbol[\"text-transform\"]),\"text-offset\":new cn(Mi.layout_symbol[\"text-offset\"]),\"text-allow-overlap\":new tr(Mi.layout_symbol[\"text-allow-overlap\"]),\"text-ignore-placement\":new tr(Mi.layout_symbol[\"text-ignore-placement\"]),\"text-optional\":new tr(Mi.layout_symbol[\"text-optional\"])}),aO=new Fi({\"icon-opacity\":new cn(Mi.paint_symbol[\"icon-opacity\"]),\"icon-color\":new cn(Mi.paint_symbol[\"icon-color\"]),\"icon-halo-color\":new cn(Mi.paint_symbol[\"icon-halo-color\"]),\"icon-halo-width\":new cn(Mi.paint_symbol[\"icon-halo-width\"]),\"icon-halo-blur\":new cn(Mi.paint_symbol[\"icon-halo-blur\"]),\"icon-translate\":new tr(Mi.paint_symbol[\"icon-translate\"]),\"icon-translate-anchor\":new tr(Mi.paint_symbol[\"icon-translate-anchor\"]),\"text-opacity\":new cn(Mi.paint_symbol[\"text-opacity\"]),\"text-color\":new cn(Mi.paint_symbol[\"text-color\"],{runtimeType:Ps,getOverride:function(C){return C.textColor},hasOverride:function(C){return!!C.textColor}}),\"text-halo-color\":new cn(Mi.paint_symbol[\"text-halo-color\"]),\"text-halo-width\":new cn(Mi.paint_symbol[\"text-halo-width\"]),\"text-halo-blur\":new cn(Mi.paint_symbol[\"text-halo-blur\"]),\"text-translate\":new tr(Mi.paint_symbol[\"text-translate\"]),\"text-translate-anchor\":new tr(Mi.paint_symbol[\"text-translate-anchor\"])}),sw={paint:aO,layout:iO},Mg=function(k){this.type=k.property.overrides?k.property.overrides.runtimeType:wl,this.defaultValue=k};Mg.prototype.evaluate=function(k){if(k.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(k.formattedSection))return V.getOverride(k.formattedSection)}return k.feature&&k.featureState?this.defaultValue.evaluate(k.feature,k.featureState):this.defaultValue.property.specification.default},Mg.prototype.eachChild=function(k){if(!this.defaultValue.isConstant()){var V=this.defaultValue.value;k(V._styleExpression.expression)}},Mg.prototype.outputDefined=function(){return!1},Mg.prototype.serialize=function(){return null},de(\"FormatSectionOverride\",Mg,{omit:[\"defaultValue\"]});var oO=function(C){function k(V){C.call(this,V,sw)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.recalculate=function(oe,ge){if(C.prototype.recalculate.call(this,oe,ge),this.layout.get(\"icon-rotation-alignment\")===\"auto\"&&(this.layout.get(\"symbol-placement\")!==\"point\"?this.layout._values[\"icon-rotation-alignment\"]=\"map\":this.layout._values[\"icon-rotation-alignment\"]=\"viewport\"),this.layout.get(\"text-rotation-alignment\")===\"auto\"&&(this.layout.get(\"symbol-placement\")!==\"point\"?this.layout._values[\"text-rotation-alignment\"]=\"map\":this.layout._values[\"text-rotation-alignment\"]=\"viewport\"),this.layout.get(\"text-pitch-alignment\")===\"auto\"&&(this.layout._values[\"text-pitch-alignment\"]=this.layout.get(\"text-rotation-alignment\")),this.layout.get(\"icon-pitch-alignment\")===\"auto\"&&(this.layout._values[\"icon-pitch-alignment\"]=this.layout.get(\"icon-rotation-alignment\")),this.layout.get(\"symbol-placement\")===\"point\"){var Pe=this.layout.get(\"text-writing-mode\");if(Pe){for(var qe=[],ft=0,Pt=Pe;ft\",targetMapId:ge,sourceMapId:qe.mapId})}}},Sg.prototype.receive=function(k){var V=k.data,oe=V.id;if(oe&&!(V.targetMapId&&this.mapId!==V.targetMapId))if(V.type===\"\"){delete this.tasks[oe];var ge=this.cancelCallbacks[oe];delete this.cancelCallbacks[oe],ge&&ge()}else se()||V.mustQueue?(this.tasks[oe]=V,this.taskQueue.push(oe),this.invoker.trigger()):this.processTask(oe,V)},Sg.prototype.process=function(){if(this.taskQueue.length){var k=this.taskQueue.shift(),V=this.tasks[k];delete this.tasks[k],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(k,V)}},Sg.prototype.processTask=function(k,V){var oe=this;if(V.type===\"\"){var ge=this.callbacks[k];delete this.callbacks[k],ge&&(V.error?ge(Tt(V.error)):ge(null,Tt(V.data)))}else{var Pe=!1,qe=$(this.globalScope)?void 0:[],ft=V.hasCallback?function(Vr,Or){Pe=!0,delete oe.cancelCallbacks[k],oe.target.postMessage({id:k,type:\"\",sourceMapId:oe.mapId,error:Vr?mt(Vr):null,data:mt(Or,qe)},qe)}:function(Vr){Pe=!0},Pt=null,Ut=Tt(V.data);if(this.parent[V.type])Pt=this.parent[V.type](V.sourceMapId,Ut,ft);else if(this.parent.getWorkerSource){var Kt=V.type.split(\".\"),_r=this.parent.getWorkerSource(V.sourceMapId,Kt[0],Ut.source);Pt=_r[Kt[1]](Ut,ft)}else ft(new Error(\"Could not find function \"+V.type));!Pe&&Pt&&Pt.cancel&&(this.cancelCallbacks[k]=Pt.cancel)}},Sg.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener(\"message\",this.receive,!1)};function gO(C,k,V){k=Math.pow(2,V)-k-1;var oe=mS(C*256,k*256,V),ge=mS((C+1)*256,(k+1)*256,V);return oe[0]+\",\"+oe[1]+\",\"+ge[0]+\",\"+ge[1]}function mS(C,k,V){var oe=2*Math.PI*6378137/256/Math.pow(2,V),ge=C*oe-2*Math.PI*6378137/2,Pe=k*oe-2*Math.PI*6378137/2;return[ge,Pe]}var pf=function(k,V){k&&(V?this.setSouthWest(k).setNorthEast(V):k.length===4?this.setSouthWest([k[0],k[1]]).setNorthEast([k[2],k[3]]):this.setSouthWest(k[0]).setNorthEast(k[1]))};pf.prototype.setNorthEast=function(k){return this._ne=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.setSouthWest=function(k){return this._sw=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.extend=function(k){var V=this._sw,oe=this._ne,ge,Pe;if(k instanceof ac)ge=k,Pe=k;else if(k instanceof pf){if(ge=k._sw,Pe=k._ne,!ge||!Pe)return this}else{if(Array.isArray(k))if(k.length===4||k.every(Array.isArray)){var qe=k;return this.extend(pf.convert(qe))}else{var ft=k;return this.extend(ac.convert(ft))}return this}return!V&&!oe?(this._sw=new ac(ge.lng,ge.lat),this._ne=new ac(Pe.lng,Pe.lat)):(V.lng=Math.min(ge.lng,V.lng),V.lat=Math.min(ge.lat,V.lat),oe.lng=Math.max(Pe.lng,oe.lng),oe.lat=Math.max(Pe.lat,oe.lat)),this},pf.prototype.getCenter=function(){return new ac((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pf.prototype.getSouthWest=function(){return this._sw},pf.prototype.getNorthEast=function(){return this._ne},pf.prototype.getNorthWest=function(){return new ac(this.getWest(),this.getNorth())},pf.prototype.getSouthEast=function(){return new ac(this.getEast(),this.getSouth())},pf.prototype.getWest=function(){return this._sw.lng},pf.prototype.getSouth=function(){return this._sw.lat},pf.prototype.getEast=function(){return this._ne.lng},pf.prototype.getNorth=function(){return this._ne.lat},pf.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pf.prototype.toString=function(){return\"LngLatBounds(\"+this._sw.toString()+\", \"+this._ne.toString()+\")\"},pf.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pf.prototype.contains=function(k){var V=ac.convert(k),oe=V.lng,ge=V.lat,Pe=this._sw.lat<=ge&&ge<=this._ne.lat,qe=this._sw.lng<=oe&&oe<=this._ne.lng;return this._sw.lng>this._ne.lng&&(qe=this._sw.lng>=oe&&oe>=this._ne.lng),Pe&&qe},pf.convert=function(k){return!k||k instanceof pf?k:new pf(k)};var gS=63710088e-1,ac=function(k,V){if(isNaN(k)||isNaN(V))throw new Error(\"Invalid LngLat object: (\"+k+\", \"+V+\")\");if(this.lng=+k,this.lat=+V,this.lat>90||this.lat<-90)throw new Error(\"Invalid LngLat latitude value: must be between -90 and 90\")};ac.prototype.wrap=function(){return new ac(_(this.lng,-180,180),this.lat)},ac.prototype.toArray=function(){return[this.lng,this.lat]},ac.prototype.toString=function(){return\"LngLat(\"+this.lng+\", \"+this.lat+\")\"},ac.prototype.distanceTo=function(k){var V=Math.PI/180,oe=this.lat*V,ge=k.lat*V,Pe=Math.sin(oe)*Math.sin(ge)+Math.cos(oe)*Math.cos(ge)*Math.cos((k.lng-this.lng)*V),qe=gS*Math.acos(Math.min(Pe,1));return qe},ac.prototype.toBounds=function(k){k===void 0&&(k=0);var V=40075017,oe=360*k/V,ge=oe/Math.cos(Math.PI/180*this.lat);return new pf(new ac(this.lng-ge,this.lat-oe),new ac(this.lng+ge,this.lat+oe))},ac.convert=function(k){if(k instanceof ac)return k;if(Array.isArray(k)&&(k.length===2||k.length===3))return new ac(Number(k[0]),Number(k[1]));if(!Array.isArray(k)&&typeof k==\"object\"&&k!==null)return new ac(Number(\"lng\"in k?k.lng:k.lon),Number(k.lat));throw new Error(\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]\")};var yS=2*Math.PI*gS;function _S(C){return yS*Math.cos(C*Math.PI/180)}function xS(C){return(180+C)/360}function bS(C){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+C*Math.PI/360)))/360}function wS(C,k){return C/_S(k)}function yO(C){return C*360-180}function uw(C){var k=180-C*360;return 360/Math.PI*Math.atan(Math.exp(k*Math.PI/180))-90}function _O(C,k){return C*_S(uw(k))}function xO(C){return 1/Math.cos(C*Math.PI/180)}var xm=function(k,V,oe){oe===void 0&&(oe=0),this.x=+k,this.y=+V,this.z=+oe};xm.fromLngLat=function(k,V){V===void 0&&(V=0);var oe=ac.convert(k);return new xm(xS(oe.lng),bS(oe.lat),wS(V,oe.lat))},xm.prototype.toLngLat=function(){return new ac(yO(this.x),uw(this.y))},xm.prototype.toAltitude=function(){return _O(this.z,this.y)},xm.prototype.meterInMercatorCoordinateUnits=function(){return 1/yS*xO(uw(this.y))};var bm=function(k,V,oe){this.z=k,this.x=V,this.y=oe,this.key=Vy(0,k,k,V,oe)};bm.prototype.equals=function(k){return this.z===k.z&&this.x===k.x&&this.y===k.y},bm.prototype.url=function(k,V){var oe=gO(this.x,this.y,this.z),ge=bO(this.z,this.x,this.y);return k[(this.x+this.y)%k.length].replace(\"{prefix}\",(this.x%16).toString(16)+(this.y%16).toString(16)).replace(\"{z}\",String(this.z)).replace(\"{x}\",String(this.x)).replace(\"{y}\",String(V===\"tms\"?Math.pow(2,this.z)-this.y-1:this.y)).replace(\"{quadkey}\",ge).replace(\"{bbox-epsg-3857}\",oe)},bm.prototype.getTilePoint=function(k){var V=Math.pow(2,this.z);return new i((k.x*V-this.x)*$i,(k.y*V-this.y)*$i)},bm.prototype.toString=function(){return this.z+\"/\"+this.x+\"/\"+this.y};var TS=function(k,V){this.wrap=k,this.canonical=V,this.key=Vy(k,V.z,V.z,V.x,V.y)},mf=function(k,V,oe,ge,Pe){this.overscaledZ=k,this.wrap=V,this.canonical=new bm(oe,+ge,+Pe),this.key=Vy(V,k,oe,ge,Pe)};mf.prototype.equals=function(k){return this.overscaledZ===k.overscaledZ&&this.wrap===k.wrap&&this.canonical.equals(k.canonical)},mf.prototype.scaledTo=function(k){var V=this.canonical.z-k;return k>this.canonical.z?new mf(k,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new mf(k,this.wrap,k,this.canonical.x>>V,this.canonical.y>>V)},mf.prototype.calculateScaledKey=function(k,V){var oe=this.canonical.z-k;return k>this.canonical.z?Vy(this.wrap*+V,k,this.canonical.z,this.canonical.x,this.canonical.y):Vy(this.wrap*+V,k,k,this.canonical.x>>oe,this.canonical.y>>oe)},mf.prototype.isChildOf=function(k){if(k.wrap!==this.wrap)return!1;var V=this.canonical.z-k.canonical.z;return k.overscaledZ===0||k.overscaledZ>V&&k.canonical.y===this.canonical.y>>V},mf.prototype.children=function(k){if(this.overscaledZ>=k)return[new mf(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,oe=this.canonical.x*2,ge=this.canonical.y*2;return[new mf(V,this.wrap,V,oe,ge),new mf(V,this.wrap,V,oe+1,ge),new mf(V,this.wrap,V,oe,ge+1),new mf(V,this.wrap,V,oe+1,ge+1)]},mf.prototype.isLessThan=function(k){return this.wrapk.wrap?!1:this.overscaledZk.overscaledZ?!1:this.canonical.xk.canonical.x?!1:this.canonical.y0;Pe--)ge=1<=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError(\"out of range source coordinates for DEM data\");return(V+1)*this.stride+(k+1)},Hv.prototype._unpackMapbox=function(k,V,oe){return(k*256*256+V*256+oe)/10-1e4},Hv.prototype._unpackTerrarium=function(k,V,oe){return k*256+V+oe/256-32768},Hv.prototype.getPixels=function(){return new Sf({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Hv.prototype.backfillBorder=function(k,V,oe){if(this.dim!==k.dim)throw new Error(\"dem dimension mismatch\");var ge=V*this.dim,Pe=V*this.dim+this.dim,qe=oe*this.dim,ft=oe*this.dim+this.dim;switch(V){case-1:ge=Pe-1;break;case 1:Pe=ge+1;break}switch(oe){case-1:qe=ft-1;break;case 1:ft=qe+1;break}for(var Pt=-V*this.dim,Ut=-oe*this.dim,Kt=qe;Kt=0&&_r[3]>=0&&Pt.insert(ft,_r[0],_r[1],_r[2],_r[3])}},Gv.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new nv.VectorTile(new _o(this.rawTileData)).layers,this.sourceLayerCoder=new j1(this.vtLayers?Object.keys(this.vtLayers).sort():[\"_geojsonTileLayer\"])),this.vtLayers},Gv.prototype.query=function(k,V,oe,ge){var Pe=this;this.loadVTLayers();for(var qe=k.params||{},ft=$i/k.tileSize/k.scale,Pt=$e(qe.filter),Ut=k.queryGeometry,Kt=k.queryPadding*ft,_r=MS(Ut),Vr=this.grid.query(_r.minX-Kt,_r.minY-Kt,_r.maxX+Kt,_r.maxY+Kt),Or=MS(k.cameraQueryGeometry),dn=this.grid3D.query(Or.minX-Kt,Or.minY-Kt,Or.maxX+Kt,Or.maxY+Kt,function(ga,Ga,Ua,Co){return xd(k.cameraQueryGeometry,ga-Kt,Ga-Kt,Ua+Kt,Co+Kt)}),jn=0,mi=dn;jnge)Pe=!1;else if(!V)Pe=!0;else if(this.expirationTime=nn.maxzoom)&&nn.visibility!==\"none\"){c(Dr,this.zoom,Vt);var vn=Wn[nn.id]=nn.createBucket({index:Fn.bucketLayerIDs.length,layers:Dr,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:yt,sourceID:this.source});vn.populate(Pr,ri,this.tileID.canonical),Fn.bucketLayerIDs.push(Dr.map(function(wn){return wn.id}))}}}}var gn,kt,or,yr,on=e.mapObject(ri.glyphDependencies,function(wn){return Object.keys(wn).map(Number)});Object.keys(on).length?wr.send(\"getGlyphs\",{uid:this.uid,stacks:on},function(wn,Dn){gn||(gn=wn,kt=Dn,Bn.call(xn))}):kt={};var An=Object.keys(ri.iconDependencies);An.length?wr.send(\"getImages\",{icons:An,source:this.source,tileID:this.tileID,type:\"icons\"},function(wn,Dn){gn||(gn=wn,or=Dn,Bn.call(xn))}):or={};var Zn=Object.keys(ri.patternDependencies);Zn.length?wr.send(\"getImages\",{icons:Zn,source:this.source,tileID:this.tileID,type:\"patterns\"},function(wn,Dn){gn||(gn=wn,yr=Dn,Bn.call(xn))}):yr={},Bn.call(this);function Bn(){if(gn)return $r(gn);if(kt&&or&&yr){var wn=new a(kt),Dn=new e.ImageAtlas(or,yr);for(var Ui in Wn){var pi=Wn[Ui];pi instanceof e.SymbolBucket?(c(pi.layers,this.zoom,Vt),e.performSymbolLayout(pi,kt,wn.positions,or,Dn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):pi.hasPattern&&(pi instanceof e.LineBucket||pi instanceof e.FillBucket||pi instanceof e.FillExtrusionBucket)&&(c(pi.layers,this.zoom,Vt),pi.addFeatures(ri,this.tileID.canonical,Dn.patternPositions))}this.status=\"done\",$r(null,{buckets:e.values(Wn).filter(function(Ta){return!Ta.isEmpty()}),featureIndex:Fn,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:wn.image,imageAtlas:Dn,glyphMap:this.returnDependencies?kt:null,iconMap:this.returnDependencies?or:null,glyphPositions:this.returnDependencies?wn.positions:null})}}};function c(Zt,Ft,Ht){for(var Vt=new e.EvaluationParameters(Ft),wr=0,$r=Zt;wr<$r.length;wr+=1){var xn=$r[wr];xn.recalculate(Vt,Ht)}}function h(Zt,Ft){var Ht=e.getArrayBuffer(Zt.request,function(Vt,wr,$r,xn){Vt?Ft(Vt):wr&&Ft(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(wr)),rawData:wr,cacheControl:$r,expires:xn})});return function(){Ht.cancel(),Ft()}}var p=function(Ft,Ht,Vt,wr){this.actor=Ft,this.layerIndex=Ht,this.availableImages=Vt,this.loadVectorData=wr||h,this.loading={},this.loaded={}};p.prototype.loadTile=function(Ft,Ht){var Vt=this,wr=Ft.uid;this.loading||(this.loading={});var $r=Ft&&Ft.request&&Ft.request.collectResourceTiming?new e.RequestPerformance(Ft.request):!1,xn=this.loading[wr]=new s(Ft);xn.abort=this.loadVectorData(Ft,function(en,Fn){if(delete Vt.loading[wr],en||!Fn)return xn.status=\"done\",Vt.loaded[wr]=xn,Ht(en);var Wn=Fn.rawData,ri={};Fn.expires&&(ri.expires=Fn.expires),Fn.cacheControl&&(ri.cacheControl=Fn.cacheControl);var Sn={};if($r){var ui=$r.finish();ui&&(Sn.resourceTiming=JSON.parse(JSON.stringify(ui)))}xn.vectorTile=Fn.vectorTile,xn.parse(Fn.vectorTile,Vt.layerIndex,Vt.availableImages,Vt.actor,function(gt,yt){if(gt||!yt)return Ht(gt);Ht(null,e.extend({rawTileData:Wn.slice(0)},yt,ri,Sn))}),Vt.loaded=Vt.loaded||{},Vt.loaded[wr]=xn})},p.prototype.reloadTile=function(Ft,Ht){var Vt=this,wr=this.loaded,$r=Ft.uid,xn=this;if(wr&&wr[$r]){var en=wr[$r];en.showCollisionBoxes=Ft.showCollisionBoxes;var Fn=function(Wn,ri){var Sn=en.reloadCallback;Sn&&(delete en.reloadCallback,en.parse(en.vectorTile,xn.layerIndex,Vt.availableImages,xn.actor,Sn)),Ht(Wn,ri)};en.status===\"parsing\"?en.reloadCallback=Fn:en.status===\"done\"&&(en.vectorTile?en.parse(en.vectorTile,this.layerIndex,this.availableImages,this.actor,Fn):Fn())}},p.prototype.abortTile=function(Ft,Ht){var Vt=this.loading,wr=Ft.uid;Vt&&Vt[wr]&&Vt[wr].abort&&(Vt[wr].abort(),delete Vt[wr]),Ht()},p.prototype.removeTile=function(Ft,Ht){var Vt=this.loaded,wr=Ft.uid;Vt&&Vt[wr]&&delete Vt[wr],Ht()};var d=e.window.ImageBitmap,T=function(){this.loaded={}};T.prototype.loadTile=function(Ft,Ht){var Vt=Ft.uid,wr=Ft.encoding,$r=Ft.rawImageData,xn=d&&$r instanceof d?this.getImageData($r):$r,en=new e.DEMData(Vt,xn,wr);this.loaded=this.loaded||{},this.loaded[Vt]=en,Ht(null,en)},T.prototype.getImageData=function(Ft){(!this.offscreenCanvas||!this.offscreenCanvasContext)&&(this.offscreenCanvas=new OffscreenCanvas(Ft.width,Ft.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext(\"2d\")),this.offscreenCanvas.width=Ft.width,this.offscreenCanvas.height=Ft.height,this.offscreenCanvasContext.drawImage(Ft,0,0,Ft.width,Ft.height);var Ht=this.offscreenCanvasContext.getImageData(-1,-1,Ft.width+2,Ft.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:Ht.width,height:Ht.height},Ht.data)},T.prototype.removeTile=function(Ft){var Ht=this.loaded,Vt=Ft.uid;Ht&&Ht[Vt]&&delete Ht[Vt]};var l=_;function _(Zt,Ft){var Ht=Zt&&Zt.type,Vt;if(Ht===\"FeatureCollection\")for(Vt=0;Vt=0!=!!Ft&&Zt.reverse()}var E=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,m=function(Ft){this._feature=Ft,this.extent=e.EXTENT,this.type=Ft.type,this.properties=Ft.tags,\"id\"in Ft&&!isNaN(Ft.id)&&(this.id=parseInt(Ft.id,10))};m.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ft=[],Ht=0,Vt=this._feature.geometry;Ht\"u\"&&(Vt.push(en),Fn=Vt.length-1,$r[en]=Fn),Ft.writeVarint(Fn);var Wn=Ht.properties[en],ri=typeof Wn;ri!==\"string\"&&ri!==\"boolean\"&&ri!==\"number\"&&(Wn=JSON.stringify(Wn));var Sn=ri+\":\"+Wn,ui=xn[Sn];typeof ui>\"u\"&&(wr.push(Wn),ui=wr.length-1,xn[Sn]=ui),Ft.writeVarint(ui)}}function Q(Zt,Ft){return(Ft<<3)+(Zt&7)}function le(Zt){return Zt<<1^Zt>>31}function se(Zt,Ft){for(var Ht=Zt.loadGeometry(),Vt=Zt.type,wr=0,$r=0,xn=Ht.length,en=0;en>1;$(Zt,Ft,xn,Vt,wr,$r%2),G(Zt,Ft,Ht,Vt,xn-1,$r+1),G(Zt,Ft,Ht,xn+1,wr,$r+1)}}function $(Zt,Ft,Ht,Vt,wr,$r){for(;wr>Vt;){if(wr-Vt>600){var xn=wr-Vt+1,en=Ht-Vt+1,Fn=Math.log(xn),Wn=.5*Math.exp(2*Fn/3),ri=.5*Math.sqrt(Fn*Wn*(xn-Wn)/xn)*(en-xn/2<0?-1:1),Sn=Math.max(Vt,Math.floor(Ht-en*Wn/xn+ri)),ui=Math.min(wr,Math.floor(Ht+(xn-en)*Wn/xn+ri));$(Zt,Ft,Ht,Sn,ui,$r)}var gt=Ft[2*Ht+$r],yt=Vt,Pr=wr;for(J(Zt,Ft,Vt,Ht),Ft[2*wr+$r]>gt&&J(Zt,Ft,Vt,wr);ytgt;)Pr--}Ft[2*Vt+$r]===gt?J(Zt,Ft,Vt,Pr):(Pr++,J(Zt,Ft,Pr,wr)),Pr<=Ht&&(Vt=Pr+1),Ht<=Pr&&(wr=Pr-1)}}function J(Zt,Ft,Ht,Vt){X(Zt,Ht,Vt),X(Ft,2*Ht,2*Vt),X(Ft,2*Ht+1,2*Vt+1)}function X(Zt,Ft,Ht){var Vt=Zt[Ft];Zt[Ft]=Zt[Ht],Zt[Ht]=Vt}function re(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[0,Zt.length-1,0],Fn=[],Wn,ri;en.length;){var Sn=en.pop(),ui=en.pop(),gt=en.pop();if(ui-gt<=xn){for(var yt=gt;yt<=ui;yt++)Wn=Ft[2*yt],ri=Ft[2*yt+1],Wn>=Ht&&Wn<=wr&&ri>=Vt&&ri<=$r&&Fn.push(Zt[yt]);continue}var Pr=Math.floor((gt+ui)/2);Wn=Ft[2*Pr],ri=Ft[2*Pr+1],Wn>=Ht&&Wn<=wr&&ri>=Vt&&ri<=$r&&Fn.push(Zt[Pr]);var Ir=(Sn+1)%2;(Sn===0?Ht<=Wn:Vt<=ri)&&(en.push(gt),en.push(Pr-1),en.push(Ir)),(Sn===0?wr>=Wn:$r>=ri)&&(en.push(Pr+1),en.push(ui),en.push(Ir))}return Fn}function ae(Zt,Ft,Ht,Vt,wr,$r){for(var xn=[0,Zt.length-1,0],en=[],Fn=wr*wr;xn.length;){var Wn=xn.pop(),ri=xn.pop(),Sn=xn.pop();if(ri-Sn<=$r){for(var ui=Sn;ui<=ri;ui++)j(Ft[2*ui],Ft[2*ui+1],Ht,Vt)<=Fn&&en.push(Zt[ui]);continue}var gt=Math.floor((Sn+ri)/2),yt=Ft[2*gt],Pr=Ft[2*gt+1];j(yt,Pr,Ht,Vt)<=Fn&&en.push(Zt[gt]);var Ir=(Wn+1)%2;(Wn===0?Ht-wr<=yt:Vt-wr<=Pr)&&(xn.push(Sn),xn.push(gt-1),xn.push(Ir)),(Wn===0?Ht+wr>=yt:Vt+wr>=Pr)&&(xn.push(gt+1),xn.push(ri),xn.push(Ir))}return en}function j(Zt,Ft,Ht,Vt){var wr=Zt-Ht,$r=Ft-Vt;return wr*wr+$r*$r}var ee=function(Zt){return Zt[0]},ie=function(Zt){return Zt[1]},ce=function(Ft,Ht,Vt,wr,$r){Ht===void 0&&(Ht=ee),Vt===void 0&&(Vt=ie),wr===void 0&&(wr=64),$r===void 0&&($r=Float64Array),this.nodeSize=wr,this.points=Ft;for(var xn=Ft.length<65536?Uint16Array:Uint32Array,en=this.ids=new xn(Ft.length),Fn=this.coords=new $r(Ft.length*2),Wn=0;Wn=wr;ri--){var Sn=+Date.now();Fn=this._cluster(Fn,ri),this.trees[ri]=new ce(Fn,ue,Oe,xn,Float32Array),Vt&&console.log(\"z%d: %d clusters in %dms\",ri,Fn.length,+Date.now()-Sn)}return Vt&&console.timeEnd(\"total time\"),this},Te.prototype.getClusters=function(Ft,Ht){var Vt=((Ft[0]+180)%360+360)%360-180,wr=Math.max(-90,Math.min(90,Ft[1])),$r=Ft[2]===180?180:((Ft[2]+180)%360+360)%360-180,xn=Math.max(-90,Math.min(90,Ft[3]));if(Ft[2]-Ft[0]>=360)Vt=-180,$r=180;else if(Vt>$r){var en=this.getClusters([Vt,wr,180,xn],Ht),Fn=this.getClusters([-180,wr,$r,xn],Ht);return en.concat(Fn)}for(var Wn=this.trees[this._limitZoom(Ht)],ri=Wn.range(at(Vt),tt(xn),at($r),tt(wr)),Sn=[],ui=0,gt=ri;uiHt&&(Pr+=Lr.numPoints||1)}if(Pr>=Fn){for(var Ur=Sn.x*yt,Dr=Sn.y*yt,nn=en&&yt>1?this._map(Sn,!0):null,vn=(ri<<5)+(Ht+1)+this.points.length,gn=0,kt=gt;gn1)for(var An=0,Zn=gt;An>5},Te.prototype._getOriginZoom=function(Ft){return(Ft-this.points.length)%32},Te.prototype._map=function(Ft,Ht){if(Ft.numPoints)return Ht?pe({},Ft.properties):Ft.properties;var Vt=this.points[Ft.index].properties,wr=this.options.map(Vt);return Ht&&wr===Vt?pe({},wr):wr};function Ue(Zt,Ft,Ht,Vt,wr){return{x:Zt,y:Ft,zoom:1/0,id:Ht,parentId:-1,numPoints:Vt,properties:wr}}function Ie(Zt,Ft){var Ht=Zt.geometry.coordinates,Vt=Ht[0],wr=Ht[1];return{x:at(Vt),y:tt(wr),zoom:1/0,index:Ft,parentId:-1}}function Ye(Zt){return{type:\"Feature\",id:Zt.id,properties:it(Zt),geometry:{type:\"Point\",coordinates:[ut(Zt.x),Me(Zt.y)]}}}function it(Zt){var Ft=Zt.numPoints,Ht=Ft>=1e4?Math.round(Ft/1e3)+\"k\":Ft>=1e3?Math.round(Ft/100)/10+\"k\":Ft;return pe(pe({},Zt.properties),{cluster:!0,cluster_id:Zt.id,point_count:Ft,point_count_abbreviated:Ht})}function at(Zt){return Zt/360+.5}function tt(Zt){var Ft=Math.sin(Zt*Math.PI/180),Ht=.5-.25*Math.log((1+Ft)/(1-Ft))/Math.PI;return Ht<0?0:Ht>1?1:Ht}function ut(Zt){return(Zt-.5)*360}function Me(Zt){var Ft=(180-Zt*360)*Math.PI/180;return 360*Math.atan(Math.exp(Ft))/Math.PI-90}function pe(Zt,Ft){for(var Ht in Ft)Zt[Ht]=Ft[Ht];return Zt}function ue(Zt){return Zt.x}function Oe(Zt){return Zt.y}function rt(Zt,Ft,Ht,Vt){for(var wr=Vt,$r=Ht-Ft>>1,xn=Ht-Ft,en,Fn=Zt[Ft],Wn=Zt[Ft+1],ri=Zt[Ht],Sn=Zt[Ht+1],ui=Ft+3;uiwr)en=ui,wr=gt;else if(gt===wr){var yt=Math.abs(ui-$r);ytVt&&(en-Ft>3&&rt(Zt,Ft,en,Vt),Zt[en+2]=wr,Ht-en>3&&rt(Zt,en,Ht,Vt))}function ot(Zt,Ft,Ht,Vt,wr,$r){var xn=wr-Ht,en=$r-Vt;if(xn!==0||en!==0){var Fn=((Zt-Ht)*xn+(Ft-Vt)*en)/(xn*xn+en*en);Fn>1?(Ht=wr,Vt=$r):Fn>0&&(Ht+=xn*Fn,Vt+=en*Fn)}return xn=Zt-Ht,en=Ft-Vt,xn*xn+en*en}function et(Zt,Ft,Ht,Vt){var wr={id:typeof Zt>\"u\"?null:Zt,type:Ft,geometry:Ht,tags:Vt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return Lt(wr),wr}function Lt(Zt){var Ft=Zt.geometry,Ht=Zt.type;if(Ht===\"Point\"||Ht===\"MultiPoint\"||Ht===\"LineString\")Et(Zt,Ft);else if(Ht===\"Polygon\"||Ht===\"MultiLineString\")for(var Vt=0;Vt0&&(Vt?xn+=(wr*Wn-Fn*$r)/2:xn+=Math.sqrt(Math.pow(Fn-wr,2)+Math.pow(Wn-$r,2))),wr=Fn,$r=Wn}var ri=Ft.length-3;Ft[2]=1,rt(Ft,0,ri,Ht),Ft[ri+2]=1,Ft.size=Math.abs(xn),Ft.start=0,Ft.end=Ft.size}function Rr(Zt,Ft,Ht,Vt){for(var wr=0;wr1?1:Ht}function _t(Zt,Ft,Ht,Vt,wr,$r,xn,en){if(Ht/=Ft,Vt/=Ft,$r>=Ht&&xn=Vt)return null;for(var Fn=[],Wn=0;Wn=Ht&&yt=Vt)continue;var Pr=[];if(ui===\"Point\"||ui===\"MultiPoint\")Be(Sn,Pr,Ht,Vt,wr);else if(ui===\"LineString\")Ke(Sn,Pr,Ht,Vt,wr,!1,en.lineMetrics);else if(ui===\"MultiLineString\")Se(Sn,Pr,Ht,Vt,wr,!1);else if(ui===\"Polygon\")Se(Sn,Pr,Ht,Vt,wr,!0);else if(ui===\"MultiPolygon\")for(var Ir=0;Ir=Ht&&xn<=Vt&&(Ft.push(Zt[$r]),Ft.push(Zt[$r+1]),Ft.push(Zt[$r+2]))}}function Ke(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=je(Zt),Fn=wr===0?Ee:we,Wn=Zt.start,ri,Sn,ui=0;uiHt&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),xn&&(en.start=Wn+ri*Sn)):Mr>Vt?Lr=Ht&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),Ur=!0),Lr>Vt&&Mr<=Vt&&(Sn=Fn(en,gt,yt,Ir,Tr,Vt),Ur=!0),!$r&&Ur&&(xn&&(en.end=Wn+ri*Sn),Ft.push(en),en=je(Zt)),xn&&(Wn+=ri)}var Dr=Zt.length-3;gt=Zt[Dr],yt=Zt[Dr+1],Pr=Zt[Dr+2],Mr=wr===0?gt:yt,Mr>=Ht&&Mr<=Vt&&He(en,gt,yt,Pr),Dr=en.length-3,$r&&Dr>=3&&(en[Dr]!==en[0]||en[Dr+1]!==en[1])&&He(en,en[0],en[1],en[2]),en.length&&Ft.push(en)}function je(Zt){var Ft=[];return Ft.size=Zt.size,Ft.start=Zt.start,Ft.end=Zt.end,Ft}function Se(Zt,Ft,Ht,Vt,wr,$r){for(var xn=0;xnxn.maxX&&(xn.maxX=ri),Sn>xn.maxY&&(xn.maxY=Sn)}return xn}function Xt(Zt,Ft,Ht,Vt){var wr=Ft.geometry,$r=Ft.type,xn=[];if($r===\"Point\"||$r===\"MultiPoint\")for(var en=0;en0&&Ft.size<(wr?xn:Vt)){Ht.numPoints+=Ft.length/3;return}for(var en=[],Fn=0;Fnxn)&&(Ht.numSimplified++,en.push(Ft[Fn]),en.push(Ft[Fn+1])),Ht.numPoints++;wr&&ur(en,$r),Zt.push(en)}function ur(Zt,Ft){for(var Ht=0,Vt=0,wr=Zt.length,$r=wr-2;Vt0===Ft)for(Vt=0,wr=Zt.length;Vt24)throw new Error(\"maxZoom should be in the 0-24 range\");if(Ft.promoteId&&Ft.generateId)throw new Error(\"promoteId and generateId cannot be used together.\");var Vt=Bt(Zt,Ft);this.tiles={},this.tileCoords=[],Ht&&(console.timeEnd(\"preprocess data\"),console.log(\"index: maxZoom: %d, maxPoints: %d\",Ft.indexMaxZoom,Ft.indexMaxPoints),console.time(\"generate tiles\"),this.stats={},this.total=0),Vt=Le(Vt,Ft),Vt.length&&this.splitTile(Vt,0,0,0),Ht&&(Vt.length&&console.log(\"features: %d, points: %d\",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd(\"generate tiles\"),console.log(\"tiles generated:\",this.total,JSON.stringify(this.stats)))}Rn.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Rn.prototype.splitTile=function(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[Zt,Ft,Ht,Vt],Fn=this.options,Wn=Fn.debug;en.length;){Vt=en.pop(),Ht=en.pop(),Ft=en.pop(),Zt=en.pop();var ri=1<1&&console.time(\"creation\"),ui=this.tiles[Sn]=Nt(Zt,Ft,Ht,Vt,Fn),this.tileCoords.push({z:Ft,x:Ht,y:Vt}),Wn)){Wn>1&&(console.log(\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\",Ft,Ht,Vt,ui.numFeatures,ui.numPoints,ui.numSimplified),console.timeEnd(\"creation\"));var gt=\"z\"+Ft;this.stats[gt]=(this.stats[gt]||0)+1,this.total++}if(ui.source=Zt,wr){if(Ft===Fn.maxZoom||Ft===wr)continue;var yt=1<1&&console.time(\"clipping\");var Pr=.5*Fn.buffer/Fn.extent,Ir=.5-Pr,Tr=.5+Pr,Mr=1+Pr,Lr,Ur,Dr,nn,vn,gn;Lr=Ur=Dr=nn=null,vn=_t(Zt,ri,Ht-Pr,Ht+Tr,0,ui.minX,ui.maxX,Fn),gn=_t(Zt,ri,Ht+Ir,Ht+Mr,0,ui.minX,ui.maxX,Fn),Zt=null,vn&&(Lr=_t(vn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),Ur=_t(vn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),vn=null),gn&&(Dr=_t(gn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),nn=_t(gn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),gn=null),Wn>1&&console.timeEnd(\"clipping\"),en.push(Lr||[],Ft+1,Ht*2,Vt*2),en.push(Ur||[],Ft+1,Ht*2,Vt*2+1),en.push(Dr||[],Ft+1,Ht*2+1,Vt*2),en.push(nn||[],Ft+1,Ht*2+1,Vt*2+1)}}},Rn.prototype.getTile=function(Zt,Ft,Ht){var Vt=this.options,wr=Vt.extent,$r=Vt.debug;if(Zt<0||Zt>24)return null;var xn=1<1&&console.log(\"drilling down to z%d-%d-%d\",Zt,Ft,Ht);for(var Fn=Zt,Wn=Ft,ri=Ht,Sn;!Sn&&Fn>0;)Fn--,Wn=Math.floor(Wn/2),ri=Math.floor(ri/2),Sn=this.tiles[Nn(Fn,Wn,ri)];return!Sn||!Sn.source?null:($r>1&&console.log(\"found parent tile z%d-%d-%d\",Fn,Wn,ri),$r>1&&console.time(\"drilling down\"),this.splitTile(Sn.source,Fn,Wn,ri,Zt,Ft,Ht),$r>1&&console.timeEnd(\"drilling down\"),this.tiles[en]?bt(this.tiles[en],wr):null)};function Nn(Zt,Ft,Ht){return((1<=0?0:ve.button},r.remove=function(ve){ve.parentNode&&ve.parentNode.removeChild(ve)};function d(ve,K,me){var te,ye,Ze,We=e.browser.devicePixelRatio>1?\"@2x\":\"\",lt=e.getJSON(K.transformRequest(K.normalizeSpriteURL(ve,We,\".json\"),e.ResourceType.SpriteJSON),function(xr,Fr){lt=null,Ze||(Ze=xr,te=Fr,Wt())}),Ct=e.getImage(K.transformRequest(K.normalizeSpriteURL(ve,We,\".png\"),e.ResourceType.SpriteImage),function(xr,Fr){Ct=null,Ze||(Ze=xr,ye=Fr,Wt())});function Wt(){if(Ze)me(Ze);else if(te&&ye){var xr=e.browser.getImageData(ye),Fr={};for(var Ar in te){var Gt=te[Ar],nr=Gt.width,mr=Gt.height,zr=Gt.x,Gr=Gt.y,Xr=Gt.sdf,fn=Gt.pixelRatio,sn=Gt.stretchX,Zr=Gt.stretchY,hn=Gt.content,qr=new e.RGBAImage({width:nr,height:mr});e.RGBAImage.copy(xr,qr,{x:zr,y:Gr},{x:0,y:0},{width:nr,height:mr}),Fr[Ar]={data:qr,pixelRatio:fn,sdf:Xr,stretchX:sn,stretchY:Zr,content:hn}}me(null,Fr)}}return{cancel:function(){lt&&(lt.cancel(),lt=null),Ct&&(Ct.cancel(),Ct=null)}}}function T(ve){var K=ve.userImage;if(K&&K.render){var me=K.render();if(me)return ve.data.replace(new Uint8Array(K.data.buffer)),!0}return!1}var l=1,_=function(ve){function K(){ve.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.isLoaded=function(){return this.loaded},K.prototype.setLoaded=function(te){if(this.loaded!==te&&(this.loaded=te,te)){for(var ye=0,Ze=this.requestors;ye=0?1.2:1))}b.prototype.draw=function(ve){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ve,this.buffer,this.middle);for(var K=this.ctx.getImageData(0,0,this.size,this.size),me=new Uint8ClampedArray(this.size*this.size),te=0;te65535){xr(new Error(\"glyphs > 65535 not supported\"));return}if(Gt.ranges[mr]){xr(null,{stack:Fr,id:Ar,glyph:nr});return}var zr=Gt.requests[mr];zr||(zr=Gt.requests[mr]=[],y.loadGlyphRange(Fr,mr,te.url,te.requestManager,function(Gr,Xr){if(Xr){for(var fn in Xr)te._doesCharSupportLocalGlyph(+fn)||(Gt.glyphs[+fn]=Xr[+fn]);Gt.ranges[mr]=!0}for(var sn=0,Zr=zr;sn1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=void 0,mr=Ze/te*(ye+1);if(Wt.isDash){var zr=ye-Math.abs(mr);nr=Math.sqrt(Gt*Gt+zr*zr)}else nr=ye-Math.sqrt(Gt*Gt+mr*mr);this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addRegularDash=function(K){for(var me=K.length-1;me>=0;--me){var te=K[me],ye=K[me+1];te.zeroLength?K.splice(me,1):ye&&ye.isDash===te.isDash&&(ye.left=te.left,K.splice(me,1))}var Ze=K[0],We=K[K.length-1];Ze.isDash===We.isDash&&(Ze.left=We.left-this.width,We.right=Ze.right+this.width);for(var lt=this.width*this.nextRow,Ct=0,Wt=K[Ct],xr=0;xr1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=Wt.isDash?Gt:-Gt;this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addDash=function(K,me){var te=me?7:0,ye=2*te+1;if(this.nextRow+ye>this.height)return e.warnOnce(\"LineAtlas out of space\"),null;for(var Ze=0,We=0;We=te.minX&&K.x=te.minY&&K.y0&&(xr[new e.OverscaledTileID(te.overscaledZ,lt,ye.z,We,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,te.wrap,ye.z,ye.x,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,Wt,ye.z,Ct,ye.y-1).key]={backfilled:!1}),ye.y+10&&(Ze.resourceTiming=te._resourceTiming,te._resourceTiming=[]),te.fire(new e.Event(\"data\",Ze))})},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setData=function(te){var ye=this;return this._data=te,this.fire(new e.Event(\"dataloading\",{dataType:\"source\"})),this._updateWorkerData(function(Ze){if(Ze){ye.fire(new e.ErrorEvent(Ze));return}var We={dataType:\"source\",sourceDataType:\"content\"};ye._collectResourceTiming&&ye._resourceTiming&&ye._resourceTiming.length>0&&(We.resourceTiming=ye._resourceTiming,ye._resourceTiming=[]),ye.fire(new e.Event(\"data\",We))}),this},K.prototype.getClusterExpansionZoom=function(te,ye){return this.actor.send(\"geojson.getClusterExpansionZoom\",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterChildren=function(te,ye){return this.actor.send(\"geojson.getClusterChildren\",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterLeaves=function(te,ye,Ze,We){return this.actor.send(\"geojson.getClusterLeaves\",{source:this.id,clusterId:te,limit:ye,offset:Ze},We),this},K.prototype._updateWorkerData=function(te){var ye=this;this._loaded=!1;var Ze=e.extend({},this.workerOptions),We=this._data;typeof We==\"string\"?(Ze.request=this.map._requestManager.transformRequest(e.browser.resolveURL(We),e.ResourceType.Source),Ze.request.collectResourceTiming=this._collectResourceTiming):Ze.data=JSON.stringify(We),this.actor.send(this.type+\".loadData\",Ze,function(lt,Ct){ye._removed||Ct&&Ct.abandoned||(ye._loaded=!0,Ct&&Ct.resourceTiming&&Ct.resourceTiming[ye.id]&&(ye._resourceTiming=Ct.resourceTiming[ye.id].slice(0)),ye.actor.send(ye.type+\".coalesce\",{source:Ze.source},null),te(lt))})},K.prototype.loaded=function(){return this._loaded},K.prototype.loadTile=function(te,ye){var Ze=this,We=te.actor?\"reloadTile\":\"loadTile\";te.actor=this.actor;var lt={type:this.type,uid:te.uid,tileID:te.tileID,zoom:te.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};te.request=this.actor.send(We,lt,function(Ct,Wt){return delete te.request,te.unloadVectorData(),te.aborted?ye(null):Ct?ye(Ct):(te.loadVectorData(Wt,Ze.map.painter,We===\"reloadTile\"),ye(null))})},K.prototype.abortTile=function(te){te.request&&(te.request.cancel(),delete te.request),te.aborted=!0},K.prototype.unloadTile=function(te){te.unloadVectorData(),this.actor.send(\"removeTile\",{uid:te.uid,type:this.type,source:this.id})},K.prototype.onRemove=function(){this._removed=!0,this.actor.send(\"removeSource\",{type:this.type,source:this.id})},K.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},K.prototype.hasTransition=function(){return!1},K}(e.Evented),le=e.createLayout([{name:\"a_pos\",type:\"Int16\",components:2},{name:\"a_texture_pos\",type:\"Int16\",components:2}]),se=function(ve){function K(me,te,ye,Ze){ve.call(this),this.id=me,this.dispatcher=ye,this.coordinates=te.coordinates,this.type=\"image\",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ze),this.options=te}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(te,ye){var Ze=this;this._loaded=!1,this.fire(new e.Event(\"dataloading\",{dataType:\"source\"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),function(We,lt){Ze._loaded=!0,We?Ze.fire(new e.ErrorEvent(We)):lt&&(Ze.image=lt,te&&(Ze.coordinates=te),ye&&ye(),Ze._finishLoading())})},K.prototype.loaded=function(){return this._loaded},K.prototype.updateImage=function(te){var ye=this;return!this.image||!te.url?this:(this.options.url=te.url,this.load(te.coordinates,function(){ye.texture=null}),this)},K.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})))},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setCoordinates=function(te){var ye=this;this.coordinates=te;var Ze=te.map(e.MercatorCoordinate.fromLngLat);this.tileID=fe(Ze),this.minzoom=this.maxzoom=this.tileID.z;var We=Ze.map(function(lt){return ye.tileID.getTilePoint(lt)._round()});return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(We[0].x,We[0].y,0,0),this._boundsArray.emplaceBack(We[1].x,We[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(We[3].x,We[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(We[2].x,We[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event(\"data\",{dataType:\"source\",sourceDataType:\"content\"})),this},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(te,this.image,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!==\"loaded\"&&(We.state=\"loaded\",We.texture=this.texture)}}},K.prototype.loadTile=function(te,ye){this.tileID&&this.tileID.equals(te.tileID.canonical)?(this.tiles[String(te.tileID.wrap)]=te,te.buckets={},ye(null)):(te.state=\"errored\",ye(null))},K.prototype.serialize=function(){return{type:\"image\",url:this.options.url,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return!1},K}(e.Evented);function fe(ve){for(var K=1/0,me=1/0,te=-1/0,ye=-1/0,Ze=0,We=ve;Zeye.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+this.id,null,\"Playback for this video can be set only between the \"+ye.start(0)+\" and \"+ye.end(0)+\"-second mark.\"))):this.video.currentTime=te}},K.prototype.getVideo=function(){return this.video},K.prototype.onAdd=function(te){this.map||(this.map=te,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE),ye.texSubImage2D(ye.TEXTURE_2D,0,0,0,ye.RGBA,ye.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(te,this.video,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!==\"loaded\"&&(We.state=\"loaded\",We.texture=this.texture)}}},K.prototype.serialize=function(){return{type:\"video\",urls:this.urls,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this.video&&!this.video.paused},K}(se),$=function(ve){function K(me,te,ye,Ze){ve.call(this,me,te,ye,Ze),te.coordinates?(!Array.isArray(te.coordinates)||te.coordinates.length!==4||te.coordinates.some(function(We){return!Array.isArray(We)||We.length!==2||We.some(function(lt){return typeof lt!=\"number\"})}))&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'\"coordinates\" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'missing required property \"coordinates\"'))),te.animate&&typeof te.animate!=\"boolean\"&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'optional \"animate\" property must be a boolean value'))),te.canvas?typeof te.canvas!=\"string\"&&!(te.canvas instanceof e.window.HTMLCanvasElement)&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'missing required property \"canvas\"'))),this.options=te,this.animate=te.animate!==void 0?te.animate:!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new e.ErrorEvent(new Error(\"Canvas dimensions cannot be less than or equal to zero.\")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},K.prototype.getCanvas=function(){return this.canvas},K.prototype.onAdd=function(te){this.map=te,this.load(),this.canvas&&this.animate&&this.play()},K.prototype.onRemove=function(){this.pause()},K.prototype.prepare=function(){var te=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,te=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,te=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var ye=this.map.painter.context,Ze=ye.gl;this.boundsBuffer||(this.boundsBuffer=ye.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(te||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(ye,this.canvas,Ze.RGBA,{premultiply:!0});for(var We in this.tiles){var lt=this.tiles[We];lt.state!==\"loaded\"&&(lt.state=\"loaded\",lt.texture=this.texture)}}},K.prototype.serialize=function(){return{type:\"canvas\",coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this._playing},K.prototype._hasInvalidDimensions=function(){for(var te=0,ye=[this.canvas.width,this.canvas.height];tethis.max){var lt=this._getAndRemoveByKey(this.order[0]);lt&&this.onRemove(lt)}return this},Ie.prototype.has=function(K){return K.wrapped().key in this.data},Ie.prototype.getAndRemove=function(K){return this.has(K)?this._getAndRemoveByKey(K.wrapped().key):null},Ie.prototype._getAndRemoveByKey=function(K){var me=this.data[K].shift();return me.timeout&&clearTimeout(me.timeout),this.data[K].length===0&&delete this.data[K],this.order.splice(this.order.indexOf(K),1),me.value},Ie.prototype.getByKey=function(K){var me=this.data[K];return me?me[0].value:null},Ie.prototype.get=function(K){if(!this.has(K))return null;var me=this.data[K.wrapped().key][0];return me.value},Ie.prototype.remove=function(K,me){if(!this.has(K))return this;var te=K.wrapped().key,ye=me===void 0?0:this.data[te].indexOf(me),Ze=this.data[te][ye];return this.data[te].splice(ye,1),Ze.timeout&&clearTimeout(Ze.timeout),this.data[te].length===0&&delete this.data[te],this.onRemove(Ze.value),this.order.splice(this.order.indexOf(te),1),this},Ie.prototype.setMaxSize=function(K){for(this.max=K;this.order.length>this.max;){var me=this._getAndRemoveByKey(this.order[0]);me&&this.onRemove(me)}return this},Ie.prototype.filter=function(K){var me=[];for(var te in this.data)for(var ye=0,Ze=this.data[te];ye1||(Math.abs(Fr)>1&&(Math.abs(Fr+Gt)===1?Fr+=Gt:Math.abs(Fr-Gt)===1&&(Fr-=Gt)),!(!xr.dem||!Wt.dem)&&(Wt.dem.backfillBorder(xr.dem,Fr,Ar),Wt.neighboringTiles&&Wt.neighboringTiles[nr]&&(Wt.neighboringTiles[nr].backfilled=!0)))}},K.prototype.getTile=function(te){return this.getTileByID(te.key)},K.prototype.getTileByID=function(te){return this._tiles[te]},K.prototype._retainLoadedChildren=function(te,ye,Ze,We){for(var lt in this._tiles){var Ct=this._tiles[lt];if(!(We[lt]||!Ct.hasData()||Ct.tileID.overscaledZ<=ye||Ct.tileID.overscaledZ>Ze)){for(var Wt=Ct.tileID;Ct&&Ct.tileID.overscaledZ>ye+1;){var xr=Ct.tileID.scaledTo(Ct.tileID.overscaledZ-1);Ct=this._tiles[xr.key],Ct&&Ct.hasData()&&(Wt=xr)}for(var Fr=Wt;Fr.overscaledZ>ye;)if(Fr=Fr.scaledTo(Fr.overscaledZ-1),te[Fr.key]){We[Wt.key]=Wt;break}}}},K.prototype.findLoadedParent=function(te,ye){if(te.key in this._loadedParentTiles){var Ze=this._loadedParentTiles[te.key];return Ze&&Ze.tileID.overscaledZ>=ye?Ze:null}for(var We=te.overscaledZ-1;We>=ye;We--){var lt=te.scaledTo(We),Ct=this._getLoadedTile(lt);if(Ct)return Ct}},K.prototype._getLoadedTile=function(te){var ye=this._tiles[te.key];if(ye&&ye.hasData())return ye;var Ze=this._cache.getByKey(te.wrapped().key);return Ze},K.prototype.updateCacheSize=function(te){var ye=Math.ceil(te.width/this._source.tileSize)+1,Ze=Math.ceil(te.height/this._source.tileSize)+1,We=ye*Ze,lt=5,Ct=Math.floor(We*lt),Wt=typeof this._maxTileCacheSize==\"number\"?Math.min(this._maxTileCacheSize,Ct):Ct;this._cache.setMaxSize(Wt)},K.prototype.handleWrapJump=function(te){var ye=this._prevLng===void 0?te:this._prevLng,Ze=te-ye,We=Ze/360,lt=Math.round(We);if(this._prevLng=te,lt){var Ct={};for(var Wt in this._tiles){var xr=this._tiles[Wt];xr.tileID=xr.tileID.unwrapTo(xr.tileID.wrap+lt),Ct[xr.tileID.key]=xr}this._tiles=Ct;for(var Fr in this._timers)clearTimeout(this._timers[Fr]),delete this._timers[Fr];for(var Ar in this._tiles){var Gt=this._tiles[Ar];this._setTileReloadTimer(Ar,Gt)}}},K.prototype.update=function(te){var ye=this;if(this.transform=te,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(te),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ze;this.used?this._source.tileID?Ze=te.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(vi){return new e.OverscaledTileID(vi.canonical.z,vi.wrap,vi.canonical.z,vi.canonical.x,vi.canonical.y)}):(Ze=te.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ze=Ze.filter(function(vi){return ye._source.hasTile(vi)}))):Ze=[];var We=te.coveringZoomLevel(this._source),lt=Math.max(We-K.maxOverzooming,this._source.minzoom),Ct=Math.max(We+K.maxUnderzooming,this._source.minzoom),Wt=this._updateRetainedTiles(Ze,We);if(Fn(this._source.type)){for(var xr={},Fr={},Ar=Object.keys(Wt),Gt=0,nr=Ar;Gtthis._source.maxzoom){var Xr=zr.children(this._source.maxzoom)[0],fn=this.getTile(Xr);if(fn&&fn.hasData()){Ze[Xr.key]=Xr;continue}}else{var sn=zr.children(this._source.maxzoom);if(Ze[sn[0].key]&&Ze[sn[1].key]&&Ze[sn[2].key]&&Ze[sn[3].key])continue}for(var Zr=Gr.wasRequested(),hn=zr.overscaledZ-1;hn>=lt;--hn){var qr=zr.scaledTo(hn);if(We[qr.key]||(We[qr.key]=!0,Gr=this.getTile(qr),!Gr&&Zr&&(Gr=this._addTile(qr)),Gr&&(Ze[qr.key]=qr,Zr=Gr.wasRequested(),Gr.hasData())))break}}}return Ze},K.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var te in this._tiles){for(var ye=[],Ze=void 0,We=this._tiles[te].tileID;We.overscaledZ>0;){if(We.key in this._loadedParentTiles){Ze=this._loadedParentTiles[We.key];break}ye.push(We.key);var lt=We.scaledTo(We.overscaledZ-1);if(Ze=this._getLoadedTile(lt),Ze)break;We=lt}for(var Ct=0,Wt=ye;Ct0)&&(ye.hasData()&&ye.state!==\"reloading\"?this._cache.add(ye.tileID,ye,ye.getExpiryTimeout()):(ye.aborted=!0,this._abortTile(ye),this._unloadTile(ye))))},K.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var te in this._tiles)this._removeTile(te);this._cache.reset()},K.prototype.tilesIn=function(te,ye,Ze){var We=this,lt=[],Ct=this.transform;if(!Ct)return lt;for(var Wt=Ze?Ct.getCameraQueryGeometry(te):te,xr=te.map(function(hn){return Ct.pointCoordinate(hn)}),Fr=Wt.map(function(hn){return Ct.pointCoordinate(hn)}),Ar=this.getIds(),Gt=1/0,nr=1/0,mr=-1/0,zr=-1/0,Gr=0,Xr=Fr;Gr=0&&Ji[1].y+vi>=0){var Pi=xr.map(function(ja){return kn.getTilePoint(ja)}),ea=Fr.map(function(ja){return kn.getTilePoint(ja)});lt.push({tile:qr,tileID:kn,queryGeometry:Pi,cameraQueryGeometry:ea,scale:Xn})}}},Zr=0;Zr=e.browser.now())return!0}return!1},K.prototype.setFeatureState=function(te,ye,Ze){te=te||\"_geojsonTileLayer\",this._state.updateState(te,ye,Ze)},K.prototype.removeFeatureState=function(te,ye,Ze){te=te||\"_geojsonTileLayer\",this._state.removeFeatureState(te,ye,Ze)},K.prototype.getFeatureState=function(te,ye){return te=te||\"_geojsonTileLayer\",this._state.getState(te,ye)},K.prototype.setDependencies=function(te,ye,Ze){var We=this._tiles[te];We&&We.setDependencies(ye,Ze)},K.prototype.reloadTilesForDependencies=function(te,ye){for(var Ze in this._tiles){var We=this._tiles[Ze];We.hasDependency(te,ye)&&this._reloadTile(Ze,\"reloading\")}this._cache.filter(function(lt){return!lt.hasDependency(te,ye)})},K}(e.Evented);xn.maxOverzooming=10,xn.maxUnderzooming=3;function en(ve,K){var me=Math.abs(ve.wrap*2)-+(ve.wrap<0),te=Math.abs(K.wrap*2)-+(K.wrap<0);return ve.overscaledZ-K.overscaledZ||te-me||K.canonical.y-ve.canonical.y||K.canonical.x-ve.canonical.x}function Fn(ve){return ve===\"raster\"||ve===\"image\"||ve===\"video\"}function Wn(){return new e.window.Worker(Us.workerUrl)}var ri=\"mapboxgl_preloaded_worker_pool\",Sn=function(){this.active={}};Sn.prototype.acquire=function(K){if(!this.workers)for(this.workers=[];this.workers.length0?(ye-We)/lt:0;return this.points[Ze].mult(1-Ct).add(this.points[me].mult(Ct))};var wn=function(K,me,te){var ye=this.boxCells=[],Ze=this.circleCells=[];this.xCellCount=Math.ceil(K/te),this.yCellCount=Math.ceil(me/te);for(var We=0;Wethis.width||ye<0||me>this.height)return Ze?!1:[];var lt=[];if(K<=0&&me<=0&&this.width<=te&&this.height<=ye){if(Ze)return!0;for(var Ct=0;Ct0:lt}},wn.prototype._queryCircle=function(K,me,te,ye,Ze){var We=K-te,lt=K+te,Ct=me-te,Wt=me+te;if(lt<0||We>this.width||Wt<0||Ct>this.height)return ye?!1:[];var xr=[],Fr={hitTest:ye,circle:{x:K,y:me,radius:te},seenUids:{box:{},circle:{}}};return this._forEachCell(We,Ct,lt,Wt,this._queryCellCircle,xr,Fr,Ze),ye?xr.length>0:xr},wn.prototype.query=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!1,Ze)},wn.prototype.hitTest=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!0,Ze)},wn.prototype.hitTestCircle=function(K,me,te,ye){return this._queryCircle(K,me,te,!0,ye)},wn.prototype._queryCell=function(K,me,te,ye,Ze,We,lt,Ct){var Wt=lt.seenUids,xr=this.boxCells[Ze];if(xr!==null)for(var Fr=this.bboxes,Ar=0,Gt=xr;Ar=Fr[mr+0]&&ye>=Fr[mr+1]&&(!Ct||Ct(this.boxKeys[nr]))){if(lt.hitTest)return We.push(!0),!0;We.push({key:this.boxKeys[nr],x1:Fr[mr],y1:Fr[mr+1],x2:Fr[mr+2],y2:Fr[mr+3]})}}}var zr=this.circleCells[Ze];if(zr!==null)for(var Gr=this.circles,Xr=0,fn=zr;Xrlt*lt+Ct*Ct},wn.prototype._circleAndRectCollide=function(K,me,te,ye,Ze,We,lt){var Ct=(We-ye)/2,Wt=Math.abs(K-(ye+Ct));if(Wt>Ct+te)return!1;var xr=(lt-Ze)/2,Fr=Math.abs(me-(Ze+xr));if(Fr>xr+te)return!1;if(Wt<=Ct||Fr<=xr)return!0;var Ar=Wt-Ct,Gt=Fr-xr;return Ar*Ar+Gt*Gt<=te*te};function Dn(ve,K,me,te,ye){var Ze=e.create();return K?(e.scale(Ze,Ze,[1/ye,1/ye,1]),me||e.rotateZ(Ze,Ze,te.angle)):e.multiply(Ze,te.labelPlaneMatrix,ve),Ze}function Ui(ve,K,me,te,ye){if(K){var Ze=e.clone(ve);return e.scale(Ze,Ze,[ye,ye,1]),me||e.rotateZ(Ze,Ze,-te.angle),Ze}else return te.glCoordMatrix}function pi(ve,K){var me=[ve.x,ve.y,0,1];gs(me,me,K);var te=me[3];return{point:new e.Point(me[0]/te,me[1]/te),signedDistanceFromCamera:te}}function Ta(ve,K){return .5+.5*(ve/K)}function Sa(ve,K){var me=ve[0]/ve[3],te=ve[1]/ve[3],ye=me>=-K[0]&&me<=K[0]&&te>=-K[1]&&te<=K[1];return ye}function qa(ve,K,me,te,ye,Ze,We,lt){var Ct=te?ve.textSizeData:ve.iconSizeData,Wt=e.evaluateSizeForZoom(Ct,me.transform.zoom),xr=[256/me.width*2+1,256/me.height*2+1],Fr=te?ve.text.dynamicLayoutVertexArray:ve.icon.dynamicLayoutVertexArray;Fr.clear();for(var Ar=ve.lineVertexArray,Gt=te?ve.text.placedSymbolArray:ve.icon.placedSymbolArray,nr=me.transform.width/me.transform.height,mr=!1,zr=0;zrZe)return{useVertical:!0}}return(ve===e.WritingMode.vertical?K.yme.x)?{needsFlipping:!0}:null}function Xa(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr,Fr,Ar,Gt){var nr=K/24,mr=ve.lineOffsetX*nr,zr=ve.lineOffsetY*nr,Gr;if(ve.numGlyphs>1){var Xr=ve.glyphStartIndex+ve.numGlyphs,fn=ve.lineStartIndex,sn=ve.lineStartIndex+ve.lineLength,Zr=to(nr,lt,mr,zr,me,xr,Fr,ve,Ct,Ze,Ar);if(!Zr)return{notEnoughRoom:!0};var hn=pi(Zr.first.point,We).point,qr=pi(Zr.last.point,We).point;if(te&&!me){var kn=yo(ve.writingMode,hn,qr,Gt);if(kn)return kn}Gr=[Zr.first];for(var Xn=ve.glyphStartIndex+1;Xn0?ea.point:Go(Fr,Pi,vi,1,ye),Ea=yo(ve.writingMode,vi,ja,Gt);if(Ea)return Ea}var $i=pa(nr*lt.getoffsetX(ve.glyphStartIndex),mr,zr,me,xr,Fr,ve.segment,ve.lineStartIndex,ve.lineStartIndex+ve.lineLength,Ct,Ze,Ar);if(!$i)return{notEnoughRoom:!0};Gr=[$i]}for(var da=0,fa=Gr;da0?1:-1,nr=0;te&&(Gt*=-1,nr=Math.PI),Gt<0&&(nr+=Math.PI);for(var mr=Gt>0?lt+We:lt+We+1,zr=ye,Gr=ye,Xr=0,fn=0,sn=Math.abs(Ar),Zr=[];Xr+fn<=sn;){if(mr+=Gt,mr=Ct)return null;if(Gr=zr,Zr.push(zr),zr=Fr[mr],zr===void 0){var hn=new e.Point(Wt.getx(mr),Wt.gety(mr)),qr=pi(hn,xr);if(qr.signedDistanceFromCamera>0)zr=Fr[mr]=qr.point;else{var kn=mr-Gt,Xn=Xr===0?Ze:new e.Point(Wt.getx(kn),Wt.gety(kn));zr=Go(Xn,hn,Gr,sn-Xr+1,xr)}}Xr+=fn,fn=Gr.dist(zr)}var vi=(sn-Xr)/fn,Ji=zr.sub(Gr),Pi=Ji.mult(vi)._add(Gr);Pi._add(Ji._unit()._perp()._mult(me*Gt));var ea=nr+Math.atan2(zr.y-Gr.y,zr.x-Gr.x);return Zr.push(Pi),{point:Pi,angle:ea,path:Zr}}var cs=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Ko(ve,K){for(var me=0;me=1;za--)fa.push($i.path[za]);for(var Qa=1;Qa0){for(var rs=fa[0].clone(),js=fa[0].clone(),Cl=1;Cl=ea.x&&js.x<=ja.x&&rs.y>=ea.y&&js.y<=ja.y?$s=[fa]:js.xja.x||js.yja.y?$s=[]:$s=e.clipLine([fa],ea.x,ea.y,ja.x,ja.y)}for(var Ou=0,Kh=$s;Ou=this.screenRightBoundary||yethis.screenBottomBoundary},zo.prototype.isInsideGrid=function(K,me,te,ye){return te>=0&&K=0&&me0){var sn;return this.prevPlacement&&this.prevPlacement.variableOffsets[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID].text&&(sn=this.prevPlacement.variableOffsets[Ar.crossTileID].anchor),this.variableOffsets[Ar.crossTileID]={textOffset:zr,width:te,height:ye,anchor:K,textBoxScale:Ze,prevAnchor:sn},this.markUsedJustification(Gt,K,Ar,nr),Gt.allowVerticalPlacement&&(this.markUsedOrientation(Gt,nr,Ar),this.placedOrientations[Ar.crossTileID]=nr),{shift:Gr,placedGlyphBoxes:Xr}}},fs.prototype.placeLayerBucketPart=function(K,me,te){var ye=this,Ze=K.parameters,We=Ze.bucket,lt=Ze.layout,Ct=Ze.posMatrix,Wt=Ze.textLabelPlaneMatrix,xr=Ze.labelToScreenMatrix,Fr=Ze.textPixelRatio,Ar=Ze.holdingForFade,Gt=Ze.collisionBoxArray,nr=Ze.partiallyEvaluatedTextSize,mr=Ze.collisionGroup,zr=lt.get(\"text-optional\"),Gr=lt.get(\"icon-optional\"),Xr=lt.get(\"text-allow-overlap\"),fn=lt.get(\"icon-allow-overlap\"),sn=lt.get(\"text-rotation-alignment\")===\"map\",Zr=lt.get(\"text-pitch-alignment\")===\"map\",hn=lt.get(\"icon-text-fit\")!==\"none\",qr=lt.get(\"symbol-z-order\")===\"viewport-y\",kn=Xr&&(fn||!We.hasIconData()||Gr),Xn=fn&&(Xr||!We.hasTextData()||zr);!We.collisionArrays&&Gt&&We.deserializeCollisionBoxes(Gt);var vi=function($i,da){if(!me[$i.crossTileID]){if(Ar){ye.placements[$i.crossTileID]=new hs(!1,!1,!1);return}var fa=!1,za=!1,Qa=!0,Cs=null,ws={box:null,offscreen:null},$s={box:null,offscreen:null},rs=null,js=null,Cl=null,Ou=0,Kh=0,Jh=0;da.textFeatureIndex?Ou=da.textFeatureIndex:$i.useRuntimeCollisionCircles&&(Ou=$i.featureIndex),da.verticalTextFeatureIndex&&(Kh=da.verticalTextFeatureIndex);var fh=da.textBox;if(fh){var sd=function(Bu){var Hl=e.WritingMode.horizontal;if(We.allowVerticalPlacement&&!Bu&&ye.prevPlacement){var vh=ye.prevPlacement.placedOrientations[$i.crossTileID];vh&&(ye.placedOrientations[$i.crossTileID]=vh,Hl=vh,ye.markUsedOrientation(We,Hl,$i))}return Hl},$d=function(Bu,Hl){if(We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&da.verticalTextBox)for(var vh=0,Bv=We.writingModes;vh0&&(Ch=Ch.filter(function(Bu){return Bu!==dh.anchor}),Ch.unshift(dh.anchor))}var $h=function(Bu,Hl,vh){for(var Bv=Bu.x2-Bu.x1,up=Bu.y2-Bu.y1,au=$i.textBoxScale,rm=hn&&!fn?Hl:null,xv={box:[],offscreen:!1},rg=Xr?Ch.length*2:Ch.length,ed=0;ed=Ch.length,nm=ye.attemptAnchorPlacement(bv,Bu,Bv,up,au,sn,Zr,Fr,Ct,mr,ng,$i,We,vh,rm);if(nm&&(xv=nm.placedGlyphBoxes,xv&&xv.box&&xv.box.length)){fa=!0,Cs=nm.shift;break}}return xv},ld=function(){return $h(fh,da.iconBox,e.WritingMode.horizontal)},Qh=function(){var Bu=da.verticalTextBox,Hl=ws&&ws.box&&ws.box.length;return We.allowVerticalPlacement&&!Hl&&$i.numVerticalGlyphVertices>0&&Bu?$h(Bu,da.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}};$d(ld,Qh),ws&&(fa=ws.box,Qa=ws.offscreen);var zv=sd(ws&&ws.box);if(!fa&&ye.prevPlacement){var Qd=ye.prevPlacement.variableOffsets[$i.crossTileID];Qd&&(ye.variableOffsets[$i.crossTileID]=Qd,ye.markUsedJustification(We,Qd.anchor,$i,zv))}}else{var _d=function(Bu,Hl){var vh=ye.collisionIndex.placeCollisionBox(Bu,Xr,Fr,Ct,mr.predicate);return vh&&vh.box&&vh.box.length&&(ye.markUsedOrientation(We,Hl,$i),ye.placedOrientations[$i.crossTileID]=Hl),vh},hh=function(){return _d(fh,e.WritingMode.horizontal)},xd=function(){var Bu=da.verticalTextBox;return We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&Bu?_d(Bu,e.WritingMode.vertical):{box:null,offscreen:null}};$d(hh,xd),sd(ws&&ws.box&&ws.box.length)}}if(rs=ws,fa=rs&&rs.box&&rs.box.length>0,Qa=rs&&rs.offscreen,$i.useRuntimeCollisionCircles){var df=We.text.placedSymbolArray.get($i.centerJustifiedTextSymbolIndex),ev=e.evaluateSizeForFeature(We.textSizeData,nr,df),Fv=lt.get(\"text-padding\"),jf=$i.collisionCircleDiameter;js=ye.collisionIndex.placeCollisionCircles(Xr,df,We.lineVertexArray,We.glyphOffsetArray,ev,Ct,Wt,xr,te,Zr,mr.predicate,jf,Fv),fa=Xr||js.circles.length>0&&!js.collisionDetected,Qa=Qa&&js.offscreen}if(da.iconFeatureIndex&&(Jh=da.iconFeatureIndex),da.iconBox){var gv=function(Bu){var Hl=hn&&Cs?Ws(Bu,Cs.x,Cs.y,sn,Zr,ye.transform.angle):Bu;return ye.collisionIndex.placeCollisionBox(Hl,fn,Fr,Ct,mr.predicate)};$s&&$s.box&&$s.box.length&&da.verticalIconBox?(Cl=gv(da.verticalIconBox),za=Cl.box.length>0):(Cl=gv(da.iconBox),za=Cl.box.length>0),Qa=Qa&&Cl.offscreen}var sp=zr||$i.numHorizontalGlyphVertices===0&&$i.numVerticalGlyphVertices===0,lp=Gr||$i.numIconVertices===0;if(!sp&&!lp?za=fa=za&&fa:lp?sp||(za=za&&fa):fa=za&&fa,fa&&rs&&rs.box&&($s&&$s.box&&Kh?ye.collisionIndex.insertCollisionBox(rs.box,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Kh,mr.ID):ye.collisionIndex.insertCollisionBox(rs.box,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Ou,mr.ID)),za&&Cl&&ye.collisionIndex.insertCollisionBox(Cl.box,lt.get(\"icon-ignore-placement\"),We.bucketInstanceId,Jh,mr.ID),js&&(fa&&ye.collisionIndex.insertCollisionCircles(js.circles,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Ou,mr.ID),te)){var Ov=We.bucketInstanceId,yv=ye.collisionCircleArrays[Ov];yv===void 0&&(yv=ye.collisionCircleArrays[Ov]=new ho);for(var _v=0;_v=0;--Pi){var ea=Ji[Pi];vi(We.symbolInstances.get(ea),We.collisionArrays[ea])}else for(var ja=K.symbolInstanceStart;ja=0&&(We>=0&&xr!==We?K.text.placedSymbolArray.get(xr).crossTileID=0:K.text.placedSymbolArray.get(xr).crossTileID=te.crossTileID)}},fs.prototype.markUsedOrientation=function(K,me,te){for(var ye=me===e.WritingMode.horizontal||me===e.WritingMode.horizontalOnly?me:0,Ze=me===e.WritingMode.vertical?me:0,We=[te.leftJustifiedTextSymbolIndex,te.centerJustifiedTextSymbolIndex,te.rightJustifiedTextSymbolIndex],lt=0,Ct=We;lt0||Zr>0,vi=fn.numIconVertices>0,Ji=ye.placedOrientations[fn.crossTileID],Pi=Ji===e.WritingMode.vertical,ea=Ji===e.WritingMode.horizontal||Ji===e.WritingMode.horizontalOnly;if(Xn){var ja=wl(kn.text),Ea=Pi?la:ja;nr(K.text,sn,Ea);var $i=ea?la:ja;nr(K.text,Zr,$i);var da=kn.text.isHidden();[fn.rightJustifiedTextSymbolIndex,fn.centerJustifiedTextSymbolIndex,fn.leftJustifiedTextSymbolIndex].forEach(function(Jh){Jh>=0&&(K.text.placedSymbolArray.get(Jh).hidden=da||Pi?1:0)}),fn.verticalPlacedTextSymbolIndex>=0&&(K.text.placedSymbolArray.get(fn.verticalPlacedTextSymbolIndex).hidden=da||ea?1:0);var fa=ye.variableOffsets[fn.crossTileID];fa&&ye.markUsedJustification(K,fa.anchor,fn,Ji);var za=ye.placedOrientations[fn.crossTileID];za&&(ye.markUsedJustification(K,\"left\",fn,za),ye.markUsedOrientation(K,za,fn))}if(vi){var Qa=wl(kn.icon),Cs=!(Ar&&fn.verticalPlacedIconSymbolIndex&&Pi);if(fn.placedIconSymbolIndex>=0){var ws=Cs?Qa:la;nr(K.icon,fn.numIconVertices,ws),K.icon.placedSymbolArray.get(fn.placedIconSymbolIndex).hidden=kn.icon.isHidden()}if(fn.verticalPlacedIconSymbolIndex>=0){var $s=Cs?la:Qa;nr(K.icon,fn.numVerticalIconVertices,$s),K.icon.placedSymbolArray.get(fn.verticalPlacedIconSymbolIndex).hidden=kn.icon.isHidden()}}if(K.hasIconCollisionBoxData()||K.hasTextCollisionBoxData()){var rs=K.collisionArrays[Xr];if(rs){var js=new e.Point(0,0);if(rs.textBox||rs.verticalTextBox){var Cl=!0;if(Wt){var Ou=ye.variableOffsets[hn];Ou?(js=Vs(Ou.anchor,Ou.width,Ou.height,Ou.textOffset,Ou.textBoxScale),xr&&js._rotate(Fr?ye.transform.angle:-ye.transform.angle)):Cl=!1}rs.textBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||Pi,js.x,js.y),rs.verticalTextBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||ea,js.x,js.y)}var Kh=!!(!ea&&rs.verticalIconBox);rs.iconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,Kh,Ar?js.x:0,Ar?js.y:0),rs.verticalIconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,!Kh,Ar?js.x:0,Ar?js.y:0)}}},zr=0;zrK},fs.prototype.setStale=function(){this.stale=!0};function Mi(ve,K,me,te,ye){ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0)}var Da=Math.pow(2,25),pl=Math.pow(2,24),Xs=Math.pow(2,17),Eo=Math.pow(2,16),Ys=Math.pow(2,9),As=Math.pow(2,8),hl=Math.pow(2,1);function wl(ve){if(ve.opacity===0&&!ve.placed)return 0;if(ve.opacity===1&&ve.placed)return 4294967295;var K=ve.placed?1:0,me=Math.floor(ve.opacity*127);return me*Da+K*pl+me*Xs+K*Eo+me*Ys+K*As+me*hl+K}var la=0,Uo=function(K){this._sortAcrossTiles=K.layout.get(\"symbol-z-order\")!==\"viewport-y\"&&K.layout.get(\"symbol-sort-key\").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Uo.prototype.continuePlacement=function(K,me,te,ye,Ze){for(var We=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var lt=K[this._currentPlacementIndex],Ct=me[lt],Wt=this.placement.collisionIndex.transform.zoom;if(Ct.type===\"symbol\"&&(!Ct.minzoom||Ct.minzoom<=Wt)&&(!Ct.maxzoom||Ct.maxzoom>Wt)){this._inProgressLayer||(this._inProgressLayer=new Uo(Ct));var xr=this._inProgressLayer.continuePlacement(te[Ct.source],this.placement,this._showCollisionBoxes,Ct,We);if(xr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},vo.prototype.commit=function(K){return this.placement.commit(K),this.placement};var Ps=512/e.EXTENT/2,ls=function(K,me,te){this.tileID=K,this.indexedSymbolInstances={},this.bucketInstanceId=te;for(var ye=0;yeK.overscaledZ)for(var Wt in Ct){var xr=Ct[Wt];xr.tileID.isChildOf(K)&&xr.findMatches(me.symbolInstances,K,We)}else{var Fr=K.scaledTo(Number(lt)),Ar=Ct[Fr.key];Ar&&Ar.findMatches(me.symbolInstances,K,We)}}for(var Gt=0;Gt0)throw new Error(\"Unimplemented: \"+We.map(function(lt){return lt.command}).join(\", \")+\".\");return Ze.forEach(function(lt){lt.command!==\"setTransition\"&&ye[lt.command].apply(ye,lt.args)}),this.stylesheet=te,!0},K.prototype.addImage=function(te,ye){if(this.getImage(te))return this.fire(new e.ErrorEvent(new Error(\"An image with this name already exists.\")));this.imageManager.addImage(te,ye),this._afterImageUpdated(te)},K.prototype.updateImage=function(te,ye){this.imageManager.updateImage(te,ye)},K.prototype.getImage=function(te){return this.imageManager.getImage(te)},K.prototype.removeImage=function(te){if(!this.getImage(te))return this.fire(new e.ErrorEvent(new Error(\"No image with this name exists.\")));this.imageManager.removeImage(te),this._afterImageUpdated(te)},K.prototype._afterImageUpdated=function(te){this._availableImages=this.imageManager.listImages(),this._changedImages[te]=!0,this._changed=!0,this.dispatcher.broadcast(\"setImages\",this._availableImages),this.fire(new e.Event(\"data\",{dataType:\"style\"}))},K.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},K.prototype.addSource=function(te,ye,Ze){var We=this;if(Ze===void 0&&(Ze={}),this._checkLoaded(),this.sourceCaches[te]!==void 0)throw new Error(\"There is already a source with this ID\");if(!ye.type)throw new Error(\"The type property must be defined, but only the following properties were given: \"+Object.keys(ye).join(\", \")+\".\");var lt=[\"vector\",\"raster\",\"geojson\",\"video\",\"image\"],Ct=lt.indexOf(ye.type)>=0;if(!(Ct&&this._validate(e.validateStyle.source,\"sources.\"+te,ye,null,Ze))){this.map&&this.map._collectResourceTiming&&(ye.collectResourceTiming=!0);var Wt=this.sourceCaches[te]=new xn(te,ye,this.dispatcher);Wt.style=this,Wt.setEventedParent(this,function(){return{isSourceLoaded:We.loaded(),source:Wt.serialize(),sourceId:te}}),Wt.onAdd(this.map),this._changed=!0}},K.prototype.removeSource=function(te){if(this._checkLoaded(),this.sourceCaches[te]===void 0)throw new Error(\"There is no source with this ID\");for(var ye in this._layers)if(this._layers[ye].source===te)return this.fire(new e.ErrorEvent(new Error('Source \"'+te+'\" cannot be removed while layer \"'+ye+'\" is using it.')));var Ze=this.sourceCaches[te];delete this.sourceCaches[te],delete this._updatedSources[te],Ze.fire(new e.Event(\"data\",{sourceDataType:\"metadata\",dataType:\"source\",sourceId:te})),Ze.setEventedParent(null),Ze.clearTiles(),Ze.onRemove&&Ze.onRemove(this.map),this._changed=!0},K.prototype.setGeoJSONSourceData=function(te,ye){this._checkLoaded();var Ze=this.sourceCaches[te].getSource();Ze.setData(ye),this._changed=!0},K.prototype.getSource=function(te){return this.sourceCaches[te]&&this.sourceCaches[te].getSource()},K.prototype.addLayer=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=te.id;if(this.getLayer(We)){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+We+'\" already exists on this map')));return}var lt;if(te.type===\"custom\"){if(Tl(this,e.validateCustomStyleLayer(te)))return;lt=e.createStyleLayer(te)}else{if(typeof te.source==\"object\"&&(this.addSource(We,te.source),te=e.clone$1(te),te=e.extend(te,{source:We})),this._validate(e.validateStyle.layer,\"layers.\"+We,te,{arrayIndex:-1},Ze))return;lt=e.createStyleLayer(te),this._validateLayer(lt),lt.setEventedParent(this,{layer:{id:We}}),this._serializedLayers[lt.id]=lt.serialize()}var Ct=ye?this._order.indexOf(ye):this._order.length;if(ye&&Ct===-1){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+ye+'\" does not exist on this map.')));return}if(this._order.splice(Ct,0,We),this._layerOrderChanged=!0,this._layers[We]=lt,this._removedLayers[We]&<.source&<.type!==\"custom\"){var Wt=this._removedLayers[We];delete this._removedLayers[We],Wt.type!==lt.type?this._updatedSources[lt.source]=\"clear\":(this._updatedSources[lt.source]=\"reload\",this.sourceCaches[lt.source].pause())}this._updateLayer(lt),lt.onAdd&<.onAdd(this.map)},K.prototype.moveLayer=function(te,ye){this._checkLoaded(),this._changed=!0;var Ze=this._layers[te];if(!Ze){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be moved.\")));return}if(te!==ye){var We=this._order.indexOf(te);this._order.splice(We,1);var lt=ye?this._order.indexOf(ye):this._order.length;if(ye&<===-1){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+ye+'\" does not exist on this map.')));return}this._order.splice(lt,0,te),this._layerOrderChanged=!0}},K.prototype.removeLayer=function(te){this._checkLoaded();var ye=this._layers[te];if(!ye){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be removed.\")));return}ye.setEventedParent(null);var Ze=this._order.indexOf(te);this._order.splice(Ze,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[te]=ye,delete this._layers[te],delete this._serializedLayers[te],delete this._updatedLayers[te],delete this._updatedPaintProps[te],ye.onRemove&&ye.onRemove(this.map)},K.prototype.getLayer=function(te){return this._layers[te]},K.prototype.hasLayer=function(te){return te in this._layers},K.prototype.setLayerZoomRange=function(te,ye,Ze){this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot have zoom extent.\")));return}We.minzoom===ye&&We.maxzoom===Ze||(ye!=null&&(We.minzoom=ye),Ze!=null&&(We.maxzoom=Ze),this._updateLayer(We))},K.prototype.setFilter=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be filtered.\")));return}if(!e.deepEqual(We.filter,ye)){if(ye==null){We.filter=void 0,this._updateLayer(We);return}this._validate(e.validateStyle.filter,\"layers.\"+We.id+\".filter\",ye,null,Ze)||(We.filter=e.clone$1(ye),this._updateLayer(We))}},K.prototype.getFilter=function(te){return e.clone$1(this.getLayer(te).filter)},K.prototype.setLayoutProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be styled.\")));return}e.deepEqual(lt.getLayoutProperty(ye),Ze)||(lt.setLayoutProperty(ye,Ze,We),this._updateLayer(lt))},K.prototype.getLayoutProperty=function(te,ye){var Ze=this.getLayer(te);if(!Ze){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style.\")));return}return Ze.getLayoutProperty(ye)},K.prototype.setPaintProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be styled.\")));return}if(!e.deepEqual(lt.getPaintProperty(ye),Ze)){var Ct=lt.setPaintProperty(ye,Ze,We);Ct&&this._updateLayer(lt),this._changed=!0,this._updatedPaintProps[te]=!0}},K.prototype.getPaintProperty=function(te,ye){return this.getLayer(te).getPaintProperty(ye)},K.prototype.setFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=te.sourceLayer,lt=this.sourceCaches[Ze];if(lt===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+Ze+\"' does not exist in the map's style.\")));return}var Ct=lt.getSource().type;if(Ct===\"geojson\"&&We){this.fire(new e.ErrorEvent(new Error(\"GeoJSON sources cannot have a sourceLayer parameter.\")));return}if(Ct===\"vector\"&&!We){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}te.id===void 0&&this.fire(new e.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))),lt.setFeatureState(We,te.id,ye)},K.prototype.removeFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=this.sourceCaches[Ze];if(We===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+Ze+\"' does not exist in the map's style.\")));return}var lt=We.getSource().type,Ct=lt===\"vector\"?te.sourceLayer:void 0;if(lt===\"vector\"&&!Ct){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}if(ye&&typeof te.id!=\"string\"&&typeof te.id!=\"number\"){this.fire(new e.ErrorEvent(new Error(\"A feature id is required to remove its specific state property.\")));return}We.removeFeatureState(Ct,te.id,ye)},K.prototype.getFeatureState=function(te){this._checkLoaded();var ye=te.source,Ze=te.sourceLayer,We=this.sourceCaches[ye];if(We===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+ye+\"' does not exist in the map's style.\")));return}var lt=We.getSource().type;if(lt===\"vector\"&&!Ze){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}return te.id===void 0&&this.fire(new e.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))),We.getFeatureState(Ze,te.id)},K.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},K.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,function(te){return te.serialize()}),layers:this._serializeLayers(this._order)},function(te){return te!==void 0})},K.prototype._updateLayer=function(te){this._updatedLayers[te.id]=!0,te.source&&!this._updatedSources[te.source]&&this.sourceCaches[te.source].getSource().type!==\"raster\"&&(this._updatedSources[te.source]=\"reload\",this.sourceCaches[te.source].pause()),this._changed=!0},K.prototype._flattenAndSortRenderedFeatures=function(te){for(var ye=this,Ze=function(ea){return ye._layers[ea].type===\"fill-extrusion\"},We={},lt=[],Ct=this._order.length-1;Ct>=0;Ct--){var Wt=this._order[Ct];if(Ze(Wt)){We[Wt]=Ct;for(var xr=0,Fr=te;xr=0;Xr--){var fn=this._order[Xr];if(Ze(fn))for(var sn=lt.length-1;sn>=0;sn--){var Zr=lt[sn].feature;if(We[Zr.layer.id] 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\",sc=\"attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}\",jl=\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\",$u=\"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\",ll=\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\",Nh=\"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}\",ds=`#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Sh=`attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}`,Bs=`varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Vo=`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,rf=`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Qu=`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,pu=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Df=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`,Lc=`varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,nf=`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Vl=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Jf=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,zf=`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,wf=\"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\",Gc=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Ff=\"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\",$f=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,ec=`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Tf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Pc=`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Wc=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Pu=`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,cf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Ic=`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,Ks=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Of=\"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\",Eh=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Qf=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,af=`#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,lh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,Iu=`#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,eh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,su=ul(kc,Ju),Ru=ul(sh,uf),yc=ul(qs,Hc),Dl=ul(bf,Ql),Rc=ul(Al,oc),tc=ul(gc,nl),xu=ul(Ml,Zs),Sl=ul(sl,sc),th=ul(jl,$u),uh=ul(ll,Nh),Hu=ul(ds,Sh),_c=ul(Bs,Vo),lc=ul(rf,Qu),Uh=ul(pu,Df),of=ul(Lc,nf),ff=ul(Vl,Jf),Du=ul(zf,wf),Af=ul(Gc,Ff),lu=ul($f,ec),Xc=ul(Tf,Pc),ch=ul(Wc,Pu),Mf=ul(cf,Ic),dl=ul(Ks,Of),bu=ul(Eh,Qf),wu=ul(af,lh),Bf=ul(Iu,eh);function ul(ve,K){var me=/#pragma mapbox: ([\\w]+) ([\\w]+) ([\\w]+) ([\\w]+)/g,te=K.match(/attribute ([\\w]+) ([\\w]+)/g),ye=ve.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),Ze=K.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),We=Ze?Ze.concat(ye):ye,lt={};return ve=ve.replace(me,function(Ct,Wt,xr,Fr,Ar){return lt[Ar]=!0,Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nvarying `+xr+\" \"+Fr+\" \"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`}),K=K.replace(me,function(Ct,Wt,xr,Fr,Ar){var Gt=Fr===\"float\"?\"vec2\":\"vec4\",nr=Ar.match(/color/)?\"color\":Gt;return lt[Ar]?Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nuniform lowp float u_`+Ar+`_t;\nattribute `+xr+\" \"+Gt+\" a_\"+Ar+`;\nvarying `+xr+\" \"+Fr+\" \"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:nr===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+Ar+\" = a_\"+Ar+`;\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+Ar+\" = unpack_mix_\"+nr+\"(a_\"+Ar+\", u_\"+Ar+`_t);\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nuniform lowp float u_`+Ar+`_t;\nattribute `+xr+\" \"+Gt+\" a_\"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:nr===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = a_\"+Ar+`;\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = unpack_mix_\"+nr+\"(a_\"+Ar+\", u_\"+Ar+`_t);\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`}),{fragmentSource:ve,vertexSource:K,staticAttributes:te,staticUniforms:We}}var sf=Object.freeze({__proto__:null,prelude:su,background:Ru,backgroundPattern:yc,circle:Dl,clippingMask:Rc,heatmap:tc,heatmapTexture:xu,collisionBox:Sl,collisionCircle:th,debug:uh,fill:Hu,fillOutline:_c,fillOutlinePattern:lc,fillPattern:Uh,fillExtrusion:of,fillExtrusionPattern:ff,hillshadePrepare:Du,hillshade:Af,line:lu,lineGradient:Xc,linePattern:ch,lineSDF:Mf,raster:dl,symbolIcon:bu,symbolSDF:wu,symbolTextAndIcon:Bf}),xc=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};xc.prototype.bind=function(K,me,te,ye,Ze,We,lt,Ct){this.context=K;for(var Wt=this.boundPaintVertexBuffers.length!==ye.length,xr=0;!Wt&&xr>16,lt>>16],u_pixel_coord_lower:[We&65535,lt&65535]}}function Zc(ve,K,me,te){var ye=me.imageManager.getPattern(ve.from.toString()),Ze=me.imageManager.getPattern(ve.to.toString()),We=me.imageManager.getPixelSize(),lt=We.width,Ct=We.height,Wt=Math.pow(2,te.tileID.overscaledZ),xr=te.tileSize*Math.pow(2,me.transform.tileZoom)/Wt,Fr=xr*(te.tileID.canonical.x+te.tileID.wrap*Wt),Ar=xr*te.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:ye.tl,u_pattern_br_a:ye.br,u_pattern_tl_b:Ze.tl,u_pattern_br_b:Ze.br,u_texsize:[lt,Ct],u_mix:K.t,u_pattern_size_a:ye.displaySize,u_pattern_size_b:Ze.displaySize,u_scale_a:K.fromScale,u_scale_b:K.toScale,u_tile_units_to_pixels:1/Ka(te,1,me.transform.tileZoom),u_pixel_coord_upper:[Fr>>16,Ar>>16],u_pixel_coord_lower:[Fr&65535,Ar&65535]}}var Nf=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Xl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_height_factor:new e.Uniform1f(ve,K.u_height_factor),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Uf=function(ve,K,me,te){var ye=K.style.light,Ze=ye.properties.get(\"position\"),We=[Ze.x,Ze.y,Ze.z],lt=e.create$1();ye.properties.get(\"anchor\")===\"viewport\"&&e.fromRotation(lt,-K.transform.angle),e.transformMat3(We,We,lt);var Ct=ye.properties.get(\"color\");return{u_matrix:ve,u_lightpos:We,u_lightintensity:ye.properties.get(\"intensity\"),u_lightcolor:[Ct.r,Ct.g,Ct.b],u_vertical_gradient:+me,u_opacity:te}},Wu=function(ve,K,me,te,ye,Ze,We){return e.extend(Uf(ve,K,me,te),uc(Ze,K,We),{u_height_factor:-Math.pow(2,ye.overscaledZ)/We.tileSize/8})},bc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},cc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},zl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world)}},uu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},fc=function(ve){return{u_matrix:ve}},Dc=function(ve,K,me,te){return e.extend(fc(ve),uc(me,K,te))},rc=function(ve,K){return{u_matrix:ve,u_world:K}},Yc=function(ve,K,me,te,ye){return e.extend(Dc(ve,K,me,te),{u_world:ye})},Yt=function(ve,K){return{u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(ve,K.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},dr=function(ve,K,me,te){var ye=ve.transform,Ze,We;if(te.paint.get(\"circle-pitch-alignment\")===\"map\"){var lt=Ka(me,1,ye.zoom);Ze=!0,We=[lt,lt]}else Ze=!1,We=ye.pixelsToGLUnits;return{u_camera_to_center_distance:ye.cameraToCenterDistance,u_scale_with_map:+(te.paint.get(\"circle-pitch-scale\")===\"map\"),u_matrix:ve.translatePosMatrix(K.posMatrix,me,te.paint.get(\"circle-translate\"),te.paint.get(\"circle-translate-anchor\")),u_pitch_with_map:+Ze,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:We}},tn=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(ve,K.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_overscale_factor:new e.Uniform1f(ve,K.u_overscale_factor)}},Wr=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_inv_matrix:new e.UniformMatrix4f(ve,K.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(ve,K.u_viewport_size)}},Cn=function(ve,K,me){var te=Ka(me,1,K.zoom),ye=Math.pow(2,K.zoom-me.tileID.overscaledZ),Ze=me.tileID.overscaleFactor();return{u_matrix:ve,u_camera_to_center_distance:K.cameraToCenterDistance,u_pixels_to_tile_units:te,u_extrude_scale:[K.pixelsToGLUnits[0]/(te*ye),K.pixelsToGLUnits[1]/(te*ye)],u_overscale_factor:Ze}},si=function(ve,K,me){return{u_matrix:ve,u_inv_matrix:K,u_camera_to_center_distance:me.cameraToCenterDistance,u_viewport_size:[me.width,me.height]}},yi=function(ve,K){return{u_color:new e.UniformColor(ve,K.u_color),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_overlay:new e.Uniform1i(ve,K.u_overlay),u_overlay_scale:new e.Uniform1f(ve,K.u_overlay_scale)}},Di=function(ve,K,me){return me===void 0&&(me=1),{u_matrix:ve,u_color:K,u_overlay:0,u_overlay_scale:me}},Wi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},aa=function(ve){return{u_matrix:ve}},bi=function(ve,K){return{u_extrude_scale:new e.Uniform1f(ve,K.u_extrude_scale),u_intensity:new e.Uniform1f(ve,K.u_intensity),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},zi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_color_ramp:new e.Uniform1i(ve,K.u_color_ramp),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Li=function(ve,K,me,te){return{u_matrix:ve,u_extrude_scale:Ka(K,1,me),u_intensity:te}},di=function(ve,K,me,te){var ye=e.create();e.ortho(ye,0,ve.width,ve.height,0,0,1);var Ze=ve.context.gl;return{u_matrix:ye,u_world:[Ze.drawingBufferWidth,Ze.drawingBufferHeight],u_image:me,u_color_ramp:te,u_opacity:K.paint.get(\"heatmap-opacity\")}},wa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_latrange:new e.Uniform2f(ve,K.u_latrange),u_light:new e.Uniform2f(ve,K.u_light),u_shadow:new e.UniformColor(ve,K.u_shadow),u_highlight:new e.UniformColor(ve,K.u_highlight),u_accent:new e.UniformColor(ve,K.u_accent)}},po=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_dimension:new e.Uniform2f(ve,K.u_dimension),u_zoom:new e.Uniform1f(ve,K.u_zoom),u_unpack:new e.Uniform4f(ve,K.u_unpack)}},co=function(ve,K,me){var te=me.paint.get(\"hillshade-shadow-color\"),ye=me.paint.get(\"hillshade-highlight-color\"),Ze=me.paint.get(\"hillshade-accent-color\"),We=me.paint.get(\"hillshade-illumination-direction\")*(Math.PI/180);me.paint.get(\"hillshade-illumination-anchor\")===\"viewport\"&&(We-=ve.transform.angle);var lt=!ve.options.moving;return{u_matrix:ve.transform.calculatePosMatrix(K.tileID.toUnwrapped(),lt),u_image:0,u_latrange:Ao(ve,K.tileID),u_light:[me.paint.get(\"hillshade-exaggeration\"),We],u_shadow:te,u_highlight:ye,u_accent:Ze}},mo=function(ve,K){var me=K.stride,te=e.create();return e.ortho(te,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(te,te,[0,-e.EXTENT,0]),{u_matrix:te,u_image:1,u_dimension:[me,me],u_zoom:ve.overscaledZ,u_unpack:K.getUnpackVector()}};function Ao(ve,K){var me=Math.pow(2,K.canonical.z),te=K.canonical.y;return[new e.MercatorCoordinate(0,te/me).toLngLat().lat,new e.MercatorCoordinate(0,(te+1)/me).toLngLat().lat]}var xa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels)}},Qi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_image:new e.Uniform1i(ve,K.u_image),u_image_height:new e.Uniform1f(ve,K.u_image_height)}},Lo=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_image:new e.Uniform1i(ve,K.u_image),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},as=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(ve,K.u_patternscale_a),u_patternscale_b:new e.Uniform2f(ve,K.u_patternscale_b),u_sdfgamma:new e.Uniform1f(ve,K.u_sdfgamma),u_image:new e.Uniform1i(ve,K.u_image),u_tex_y_a:new e.Uniform1f(ve,K.u_tex_y_a),u_tex_y_b:new e.Uniform1f(ve,K.u_tex_y_b),u_mix:new e.Uniform1f(ve,K.u_mix)}},Ds=function(ve,K,me){var te=ve.transform;return{u_matrix:Bl(ve,K,me),u_ratio:1/Ka(K,1,te.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/te.pixelsToGLUnits[0],1/te.pixelsToGLUnits[1]]}},il=function(ve,K,me,te){return e.extend(Ds(ve,K,me),{u_image:0,u_image_height:te})},Ns=function(ve,K,me,te){var ye=ve.transform,Ze=Es(K,ye);return{u_matrix:Bl(ve,K,me),u_texsize:K.imageAtlasTexture.size,u_ratio:1/Ka(K,1,ye.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[Ze,te.fromScale,te.toScale],u_fade:te.t,u_units_to_pixels:[1/ye.pixelsToGLUnits[0],1/ye.pixelsToGLUnits[1]]}},el=function(ve,K,me,te,ye){var Ze=ve.transform,We=ve.lineAtlas,lt=Es(K,Ze),Ct=me.layout.get(\"line-cap\")===\"round\",Wt=We.getDash(te.from,Ct),xr=We.getDash(te.to,Ct),Fr=Wt.width*ye.fromScale,Ar=xr.width*ye.toScale;return e.extend(Ds(ve,K,me),{u_patternscale_a:[lt/Fr,-Wt.height/2],u_patternscale_b:[lt/Ar,-xr.height/2],u_sdfgamma:We.width/(Math.min(Fr,Ar)*256*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:Wt.y,u_tex_y_b:xr.y,u_mix:ye.t})};function Es(ve,K){return 1/Ka(ve,1,K.tileZoom)}function Bl(ve,K,me){return ve.translatePosMatrix(K.tileID.posMatrix,K,me.paint.get(\"line-translate\"),me.paint.get(\"line-translate-anchor\"))}var _l=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_tl_parent:new e.Uniform2f(ve,K.u_tl_parent),u_scale_parent:new e.Uniform1f(ve,K.u_scale_parent),u_buffer_scale:new e.Uniform1f(ve,K.u_buffer_scale),u_fade_t:new e.Uniform1f(ve,K.u_fade_t),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image0:new e.Uniform1i(ve,K.u_image0),u_image1:new e.Uniform1i(ve,K.u_image1),u_brightness_low:new e.Uniform1f(ve,K.u_brightness_low),u_brightness_high:new e.Uniform1f(ve,K.u_brightness_high),u_saturation_factor:new e.Uniform1f(ve,K.u_saturation_factor),u_contrast_factor:new e.Uniform1f(ve,K.u_contrast_factor),u_spin_weights:new e.Uniform3f(ve,K.u_spin_weights)}},cl=function(ve,K,me,te,ye){return{u_matrix:ve,u_tl_parent:K,u_scale_parent:me,u_buffer_scale:1,u_fade_t:te.mix,u_opacity:te.opacity*ye.paint.get(\"raster-opacity\"),u_image0:0,u_image1:1,u_brightness_low:ye.paint.get(\"raster-brightness-min\"),u_brightness_high:ye.paint.get(\"raster-brightness-max\"),u_saturation_factor:Js(ye.paint.get(\"raster-saturation\")),u_contrast_factor:jo(ye.paint.get(\"raster-contrast\")),u_spin_weights:Za(ye.paint.get(\"raster-hue-rotate\"))}};function Za(ve){ve*=Math.PI/180;var K=Math.sin(ve),me=Math.cos(ve);return[(2*me+1)/3,(-Math.sqrt(3)*K-me+1)/3,(Math.sqrt(3)*K-me+1)/3]}function jo(ve){return ve>0?1/(1-ve):1+ve}function Js(ve){return ve>0?1-1/(1.001-ve):-ve}var zs=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture)}},cu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},zu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texsize_icon:new e.Uniform2f(ve,K.u_texsize_icon),u_texture:new e.Uniform1i(ve,K.u_texture),u_texture_icon:new e.Uniform1i(ve,K.u_texture_icon),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},nc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){var xr=ye.transform;return{u_is_size_zoom_constant:+(ve===\"constant\"||ve===\"source\"),u_is_size_feature_constant:+(ve===\"constant\"||ve===\"camera\"),u_size_t:K?K.uSizeT:0,u_size:K?K.uSize:0,u_camera_to_center_distance:xr.cameraToCenterDistance,u_pitch:xr.pitch/360*2*Math.PI,u_rotate_symbol:+me,u_aspect_ratio:xr.width/xr.height,u_fade_change:ye.options.fadeDuration?ye.symbolFadeChange:1,u_matrix:Ze,u_label_plane_matrix:We,u_coord_matrix:lt,u_is_text:+Ct,u_pitch_with_map:+te,u_texsize:Wt,u_texture:0}},Kc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr){var Fr=ye.transform;return e.extend(nc(ve,K,me,te,ye,Ze,We,lt,Ct,Wt),{u_gamma_scale:te?Math.cos(Fr._pitch)*Fr.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+xr})},Tu=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){return e.extend(Kc(ve,K,me,te,ye,Ze,We,lt,!0,Ct,!0),{u_texsize_icon:Wt,u_texture_icon:1})},zc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_color:new e.UniformColor(ve,K.u_color)}},Fu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image:new e.Uniform1i(ve,K.u_image),u_pattern_tl_a:new e.Uniform2f(ve,K.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(ve,K.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(ve,K.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(ve,K.u_pattern_br_b),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_mix:new e.Uniform1f(ve,K.u_mix),u_pattern_size_a:new e.Uniform2f(ve,K.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(ve,K.u_pattern_size_b),u_scale_a:new e.Uniform1f(ve,K.u_scale_a),u_scale_b:new e.Uniform1f(ve,K.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(ve,K.u_tile_units_to_pixels)}},wc=function(ve,K,me){return{u_matrix:ve,u_opacity:K,u_color:me}},bo=function(ve,K,me,te,ye,Ze){return e.extend(Zc(te,Ze,me,ye),{u_matrix:ve,u_opacity:K})},Wo={fillExtrusion:Nf,fillExtrusionPattern:Xl,fill:bc,fillPattern:cc,fillOutline:zl,fillOutlinePattern:uu,circle:Yt,collisionBox:tn,collisionCircle:Wr,debug:yi,clippingMask:Wi,heatmap:bi,heatmapTexture:zi,hillshade:wa,hillshadePrepare:po,line:xa,lineGradient:Qi,linePattern:Lo,lineSDF:as,raster:_l,symbolIcon:zs,symbolSDF:cu,symbolTextAndIcon:zu,background:zc,backgroundPattern:Fu},Fc;function hc(ve,K,me,te,ye,Ze,We){for(var lt=ve.context,Ct=lt.gl,Wt=ve.useProgram(\"collisionBox\"),xr=[],Fr=0,Ar=0,Gt=0;Gt0){var sn=e.create(),Zr=Gr;e.mul(sn,zr.placementInvProjMatrix,ve.transform.glCoordMatrix),e.mul(sn,sn,zr.placementViewportMatrix),xr.push({circleArray:fn,circleOffset:Ar,transform:Zr,invTransform:sn}),Fr+=fn.length/4,Ar=Fr}Xr&&Wt.draw(lt,Ct.LINES,Nn.disabled,zn.disabled,ve.colorModeForRenderPass(),wr.disabled,Cn(Gr,ve.transform,mr),me.id,Xr.layoutVertexBuffer,Xr.indexBuffer,Xr.segments,null,ve.transform.zoom,null,null,Xr.collisionVertexBuffer)}}if(!(!We||!xr.length)){var hn=ve.useProgram(\"collisionCircle\"),qr=new e.StructArrayLayout2f1f2i16;qr.resize(Fr*4),qr._trim();for(var kn=0,Xn=0,vi=xr;Xn=0&&(nr[zr.associatedIconIndex]={shiftedAnchor:ea,angle:ja})}}if(xr){Gt.clear();for(var $i=ve.icon.placedSymbolArray,da=0;da<$i.length;da++){var fa=$i.get(da);if(fa.hidden)Ko(fa.numGlyphs,Gt);else{var za=nr[da];if(!za)Ko(fa.numGlyphs,Gt);else for(var Qa=0;Qa0){var We=e.browser.now(),lt=(We-ve.timeAdded)/Ze,Ct=K?(We-K.timeAdded)/Ze:-1,Wt=me.getSource(),xr=ye.coveringZoomLevel({tileSize:Wt.tileSize,roundZoom:Wt.roundZoom}),Fr=!K||Math.abs(K.tileID.overscaledZ-xr)>Math.abs(ve.tileID.overscaledZ-xr),Ar=Fr&&ve.refreshedUponExpiration?1:e.clamp(Fr?lt:1-Ct,0,1);return ve.refreshedUponExpiration&<>=1&&(ve.refreshedUponExpiration=!1),K?{opacity:1,mix:1-Ar}:{opacity:Ar,mix:0}}else return{opacity:1,mix:0}}function pr(ve,K,me){var te=me.paint.get(\"background-color\"),ye=me.paint.get(\"background-opacity\");if(ye!==0){var Ze=ve.context,We=Ze.gl,lt=ve.transform,Ct=lt.tileSize,Wt=me.paint.get(\"background-pattern\");if(!ve.isPatternMissing(Wt)){var xr=!Wt&&te.a===1&&ye===1&&ve.opaquePassEnabledForLayer()?\"opaque\":\"translucent\";if(ve.renderPass===xr){var Fr=zn.disabled,Ar=ve.depthModeForSublayer(0,xr===\"opaque\"?Nn.ReadWrite:Nn.ReadOnly),Gt=ve.colorModeForRenderPass(),nr=ve.useProgram(Wt?\"backgroundPattern\":\"background\"),mr=lt.coveringTiles({tileSize:Ct});Wt&&(Ze.activeTexture.set(We.TEXTURE0),ve.imageManager.bind(ve.context));for(var zr=me.getCrossfadeParameters(),Gr=0,Xr=mr;Gr \"+me.overscaledZ);var Gr=zr+\" \"+Gt+\"kb\";Io(ve,Gr),We.draw(te,ye.TRIANGLES,lt,Ct,Ft.alphaBlended,wr.disabled,Di(Ze,e.Color.transparent,mr),xr,ve.debugBuffer,ve.quadTriangleIndexBuffer,ve.debugSegments)}function Io(ve,K){ve.initDebugOverlayCanvas();var me=ve.debugOverlayCanvas,te=ve.context.gl,ye=ve.debugOverlayCanvas.getContext(\"2d\");ye.clearRect(0,0,me.width,me.height),ye.shadowColor=\"white\",ye.shadowBlur=2,ye.lineWidth=1.5,ye.strokeStyle=\"white\",ye.textBaseline=\"top\",ye.font=\"bold 36px Open Sans, sans-serif\",ye.fillText(K,5,5),ye.strokeText(K,5,5),ve.debugOverlayTexture.update(me),ve.debugOverlayTexture.bind(te.LINEAR,te.CLAMP_TO_EDGE)}function vs(ve,K,me){var te=ve.context,ye=me.implementation;if(ve.renderPass===\"offscreen\"){var Ze=ye.prerender;Ze&&(ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),Ze.call(ye,te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState())}else if(ve.renderPass===\"translucent\"){ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),te.setStencilMode(zn.disabled);var We=ye.renderingMode===\"3d\"?new Nn(ve.context.gl.LEQUAL,Nn.ReadWrite,ve.depthRangeFor3D):ve.depthModeForSublayer(0,Nn.ReadOnly);te.setDepthMode(We),ye.render(te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState(),te.bindFramebuffer.set(null)}}var Fo={symbol:R,circle:zt,heatmap:Jt,line:ln,fill:Ge,\"fill-extrusion\":st,hillshade:St,raster:rr,background:pr,debug:ro,custom:vs},ts=function(K,me){this.context=new $r(K),this.transform=me,this._tileTextures={},this.setup(),this.numSublayers=xn.maxUnderzooming+xn.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ku,this.gpuTimers={}};ts.prototype.resize=function(K,me){if(this.width=K*e.browser.devicePixelRatio,this.height=me*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var te=0,ye=this.style._order;te256&&this.clearStencil(),te.setColorMode(Ft.disabled),te.setDepthMode(Nn.disabled);var Ze=this.useProgram(\"clippingMask\");this._tileClippingMaskIDs={};for(var We=0,lt=me;We256&&this.clearStencil();var K=this.nextStencilID++,me=this.context.gl;return new zn({func:me.NOTEQUAL,mask:255},K,255,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilModeForClipping=function(K){var me=this.context.gl;return new zn({func:me.EQUAL,mask:255},this._tileClippingMaskIDs[K.key],0,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilConfigForOverlap=function(K){var me,te=this.context.gl,ye=K.sort(function(Wt,xr){return xr.overscaledZ-Wt.overscaledZ}),Ze=ye[ye.length-1].overscaledZ,We=ye[0].overscaledZ-Ze+1;if(We>1){this.currentStencilSource=void 0,this.nextStencilID+We>256&&this.clearStencil();for(var lt={},Ct=0;Ct=0;this.currentLayer--){var sn=this.style._layers[ye[this.currentLayer]],Zr=Ze[sn.source],hn=Ct[sn.source];this._renderTileClippingMasks(sn,hn),this.renderLayer(this,Zr,sn,hn)}for(this.renderPass=\"translucent\",this.currentLayer=0;this.currentLayer0?me.pop():null},ts.prototype.isPatternMissing=function(K){if(!K)return!1;if(!K.from||!K.to)return!0;var me=this.imageManager.getPattern(K.from.toString()),te=this.imageManager.getPattern(K.to.toString());return!me||!te},ts.prototype.useProgram=function(K,me){this.cache=this.cache||{};var te=\"\"+K+(me?me.cacheKey:\"\")+(this._showOverdrawInspector?\"/overdraw\":\"\");return this.cache[te]||(this.cache[te]=new hf(this.context,K,sf[K],me,Wo[K],this._showOverdrawInspector)),this.cache[te]},ts.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},ts.prototype.setBaseState=function(){var K=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(K.FUNC_ADD)},ts.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=e.window.document.createElement(\"canvas\"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var K=this.context.gl;this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,K.RGBA)}},ts.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var bs=function(K,me){this.points=K,this.planes=me};bs.fromInvProjectionMatrix=function(K,me,te){var ye=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ze=Math.pow(2,te),We=ye.map(function(Wt){return e.transformMat4([],Wt,K)}).map(function(Wt){return e.scale$1([],Wt,1/Wt[3]/me*Ze)}),lt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],Ct=lt.map(function(Wt){var xr=e.sub([],We[Wt[0]],We[Wt[1]]),Fr=e.sub([],We[Wt[2]],We[Wt[1]]),Ar=e.normalize([],e.cross([],xr,Fr)),Gt=-e.dot(Ar,We[Wt[1]]);return Ar.concat(Gt)});return new bs(We,Ct)};var fl=function(K,me){this.min=K,this.max=me,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};fl.prototype.quadrant=function(K){for(var me=[K%2===0,K<2],te=e.clone$2(this.min),ye=e.clone$2(this.max),Ze=0;Ze=0;if(We===0)return 0;We!==me.length&&(te=!1)}if(te)return 2;for(var Ct=0;Ct<3;Ct++){for(var Wt=Number.MAX_VALUE,xr=-Number.MAX_VALUE,Fr=0;Frthis.max[Ct]-this.min[Ct])return 0}return 1};var al=function(K,me,te,ye){if(K===void 0&&(K=0),me===void 0&&(me=0),te===void 0&&(te=0),ye===void 0&&(ye=0),isNaN(K)||K<0||isNaN(me)||me<0||isNaN(te)||te<0||isNaN(ye)||ye<0)throw new Error(\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\");this.top=K,this.bottom=me,this.left=te,this.right=ye};al.prototype.interpolate=function(K,me,te){return me.top!=null&&K.top!=null&&(this.top=e.number(K.top,me.top,te)),me.bottom!=null&&K.bottom!=null&&(this.bottom=e.number(K.bottom,me.bottom,te)),me.left!=null&&K.left!=null&&(this.left=e.number(K.left,me.left,te)),me.right!=null&&K.right!=null&&(this.right=e.number(K.right,me.right,te)),this},al.prototype.getCenter=function(K,me){var te=e.clamp((this.left+K-this.right)/2,0,K),ye=e.clamp((this.top+me-this.bottom)/2,0,me);return new e.Point(te,ye)},al.prototype.equals=function(K){return this.top===K.top&&this.bottom===K.bottom&&this.left===K.left&&this.right===K.right},al.prototype.clone=function(){return new al(this.top,this.bottom,this.left,this.right)},al.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var os=function(K,me,te,ye,Ze){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ze===void 0?!0:Ze,this._minZoom=K||0,this._maxZoom=me||22,this._minPitch=te??0,this._maxPitch=ye??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new al,this._posMatrixCache={},this._alignedPosMatrixCache={}},is={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};os.prototype.clone=function(){var K=new os(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return K.tileSize=this.tileSize,K.latRange=this.latRange,K.width=this.width,K.height=this.height,K._center=this._center,K.zoom=this.zoom,K.angle=this.angle,K._fov=this._fov,K._pitch=this._pitch,K._unmodified=this._unmodified,K._edgeInsets=this._edgeInsets.clone(),K._calcMatrices(),K},is.minZoom.get=function(){return this._minZoom},is.minZoom.set=function(ve){this._minZoom!==ve&&(this._minZoom=ve,this.zoom=Math.max(this.zoom,ve))},is.maxZoom.get=function(){return this._maxZoom},is.maxZoom.set=function(ve){this._maxZoom!==ve&&(this._maxZoom=ve,this.zoom=Math.min(this.zoom,ve))},is.minPitch.get=function(){return this._minPitch},is.minPitch.set=function(ve){this._minPitch!==ve&&(this._minPitch=ve,this.pitch=Math.max(this.pitch,ve))},is.maxPitch.get=function(){return this._maxPitch},is.maxPitch.set=function(ve){this._maxPitch!==ve&&(this._maxPitch=ve,this.pitch=Math.min(this.pitch,ve))},is.renderWorldCopies.get=function(){return this._renderWorldCopies},is.renderWorldCopies.set=function(ve){ve===void 0?ve=!0:ve===null&&(ve=!1),this._renderWorldCopies=ve},is.worldSize.get=function(){return this.tileSize*this.scale},is.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},is.size.get=function(){return new e.Point(this.width,this.height)},is.bearing.get=function(){return-this.angle/Math.PI*180},is.bearing.set=function(ve){var K=-e.wrap(ve,-180,180)*Math.PI/180;this.angle!==K&&(this._unmodified=!1,this.angle=K,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},is.pitch.get=function(){return this._pitch/Math.PI*180},is.pitch.set=function(ve){var K=e.clamp(ve,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==K&&(this._unmodified=!1,this._pitch=K,this._calcMatrices())},is.fov.get=function(){return this._fov/Math.PI*180},is.fov.set=function(ve){ve=Math.max(.01,Math.min(60,ve)),this._fov!==ve&&(this._unmodified=!1,this._fov=ve/180*Math.PI,this._calcMatrices())},is.zoom.get=function(){return this._zoom},is.zoom.set=function(ve){var K=Math.min(Math.max(ve,this.minZoom),this.maxZoom);this._zoom!==K&&(this._unmodified=!1,this._zoom=K,this.scale=this.zoomScale(K),this.tileZoom=Math.floor(K),this.zoomFraction=K-this.tileZoom,this._constrain(),this._calcMatrices())},is.center.get=function(){return this._center},is.center.set=function(ve){ve.lat===this._center.lat&&ve.lng===this._center.lng||(this._unmodified=!1,this._center=ve,this._constrain(),this._calcMatrices())},is.padding.get=function(){return this._edgeInsets.toJSON()},is.padding.set=function(ve){this._edgeInsets.equals(ve)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ve,1),this._calcMatrices())},is.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},os.prototype.isPaddingEqual=function(K){return this._edgeInsets.equals(K)},os.prototype.interpolatePadding=function(K,me,te){this._unmodified=!1,this._edgeInsets.interpolate(K,me,te),this._constrain(),this._calcMatrices()},os.prototype.coveringZoomLevel=function(K){var me=(K.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/K.tileSize));return Math.max(0,me)},os.prototype.getVisibleUnwrappedCoordinates=function(K){var me=[new e.UnwrappedTileID(0,K)];if(this._renderWorldCopies)for(var te=this.pointCoordinate(new e.Point(0,0)),ye=this.pointCoordinate(new e.Point(this.width,0)),Ze=this.pointCoordinate(new e.Point(this.width,this.height)),We=this.pointCoordinate(new e.Point(0,this.height)),lt=Math.floor(Math.min(te.x,ye.x,Ze.x,We.x)),Ct=Math.floor(Math.max(te.x,ye.x,Ze.x,We.x)),Wt=1,xr=lt-Wt;xr<=Ct+Wt;xr++)xr!==0&&me.push(new e.UnwrappedTileID(xr,K));return me},os.prototype.coveringTiles=function(K){var me=this.coveringZoomLevel(K),te=me;if(K.minzoom!==void 0&&meK.maxzoom&&(me=K.maxzoom);var ye=e.MercatorCoordinate.fromLngLat(this.center),Ze=Math.pow(2,me),We=[Ze*ye.x,Ze*ye.y,0],lt=bs.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,me),Ct=K.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ct=me);var Wt=3,xr=function(Pi){return{aabb:new fl([Pi*Ze,0,0],[(Pi+1)*Ze,Ze,0]),zoom:0,x:0,y:0,wrap:Pi,fullyVisible:!1}},Fr=[],Ar=[],Gt=me,nr=K.reparseOverscaled?te:me;if(this._renderWorldCopies)for(var mr=1;mr<=3;mr++)Fr.push(xr(-mr)),Fr.push(xr(mr));for(Fr.push(xr(0));Fr.length>0;){var zr=Fr.pop(),Gr=zr.x,Xr=zr.y,fn=zr.fullyVisible;if(!fn){var sn=zr.aabb.intersects(lt);if(sn===0)continue;fn=sn===2}var Zr=zr.aabb.distanceX(We),hn=zr.aabb.distanceY(We),qr=Math.max(Math.abs(Zr),Math.abs(hn)),kn=Wt+(1<kn&&zr.zoom>=Ct){Ar.push({tileID:new e.OverscaledTileID(zr.zoom===Gt?nr:zr.zoom,zr.wrap,zr.zoom,Gr,Xr),distanceSq:e.sqrLen([We[0]-.5-Gr,We[1]-.5-Xr])});continue}for(var Xn=0;Xn<4;Xn++){var vi=(Gr<<1)+Xn%2,Ji=(Xr<<1)+(Xn>>1);Fr.push({aabb:zr.aabb.quadrant(Xn),zoom:zr.zoom+1,x:vi,y:Ji,wrap:zr.wrap,fullyVisible:fn})}}return Ar.sort(function(Pi,ea){return Pi.distanceSq-ea.distanceSq}).map(function(Pi){return Pi.tileID})},os.prototype.resize=function(K,me){this.width=K,this.height=me,this.pixelsToGLUnits=[2/K,-2/me],this._constrain(),this._calcMatrices()},is.unmodified.get=function(){return this._unmodified},os.prototype.zoomScale=function(K){return Math.pow(2,K)},os.prototype.scaleZoom=function(K){return Math.log(K)/Math.LN2},os.prototype.project=function(K){var me=e.clamp(K.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(K.lng)*this.worldSize,e.mercatorYfromLat(me)*this.worldSize)},os.prototype.unproject=function(K){return new e.MercatorCoordinate(K.x/this.worldSize,K.y/this.worldSize).toLngLat()},is.point.get=function(){return this.project(this.center)},os.prototype.setLocationAtPoint=function(K,me){var te=this.pointCoordinate(me),ye=this.pointCoordinate(this.centerPoint),Ze=this.locationCoordinate(K),We=new e.MercatorCoordinate(Ze.x-(te.x-ye.x),Ze.y-(te.y-ye.y));this.center=this.coordinateLocation(We),this._renderWorldCopies&&(this.center=this.center.wrap())},os.prototype.locationPoint=function(K){return this.coordinatePoint(this.locationCoordinate(K))},os.prototype.pointLocation=function(K){return this.coordinateLocation(this.pointCoordinate(K))},os.prototype.locationCoordinate=function(K){return e.MercatorCoordinate.fromLngLat(K)},os.prototype.coordinateLocation=function(K){return K.toLngLat()},os.prototype.pointCoordinate=function(K){var me=0,te=[K.x,K.y,0,1],ye=[K.x,K.y,1,1];e.transformMat4(te,te,this.pixelMatrixInverse),e.transformMat4(ye,ye,this.pixelMatrixInverse);var Ze=te[3],We=ye[3],lt=te[0]/Ze,Ct=ye[0]/We,Wt=te[1]/Ze,xr=ye[1]/We,Fr=te[2]/Ze,Ar=ye[2]/We,Gt=Fr===Ar?0:(me-Fr)/(Ar-Fr);return new e.MercatorCoordinate(e.number(lt,Ct,Gt)/this.worldSize,e.number(Wt,xr,Gt)/this.worldSize)},os.prototype.coordinatePoint=function(K){var me=[K.x*this.worldSize,K.y*this.worldSize,0,1];return e.transformMat4(me,me,this.pixelMatrix),new e.Point(me[0]/me[3],me[1]/me[3])},os.prototype.getBounds=function(){return new e.LngLatBounds().extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},os.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},os.prototype.setMaxBounds=function(K){K?(this.lngRange=[K.getWest(),K.getEast()],this.latRange=[K.getSouth(),K.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},os.prototype.calculatePosMatrix=function(K,me){me===void 0&&(me=!1);var te=K.key,ye=me?this._alignedPosMatrixCache:this._posMatrixCache;if(ye[te])return ye[te];var Ze=K.canonical,We=this.worldSize/this.zoomScale(Ze.z),lt=Ze.x+Math.pow(2,Ze.z)*K.wrap,Ct=e.identity(new Float64Array(16));return e.translate(Ct,Ct,[lt*We,Ze.y*We,0]),e.scale(Ct,Ct,[We/e.EXTENT,We/e.EXTENT,1]),e.multiply(Ct,me?this.alignedProjMatrix:this.projMatrix,Ct),ye[te]=new Float32Array(Ct),ye[te]},os.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},os.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var K=-90,me=90,te=-180,ye=180,Ze,We,lt,Ct,Wt=this.size,xr=this._unmodified;if(this.latRange){var Fr=this.latRange;K=e.mercatorYfromLat(Fr[1])*this.worldSize,me=e.mercatorYfromLat(Fr[0])*this.worldSize,Ze=me-Kme&&(Ct=me-zr)}if(this.lngRange){var Gr=Gt.x,Xr=Wt.x/2;Gr-Xrye&&(lt=ye-Xr)}(lt!==void 0||Ct!==void 0)&&(this.center=this.unproject(new e.Point(lt!==void 0?lt:Gt.x,Ct!==void 0?Ct:Gt.y))),this._unmodified=xr,this._constraining=!1}},os.prototype._calcMatrices=function(){if(this.height){var K=this._fov/2,me=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(K)*this.height;var te=Math.PI/2+this._pitch,ye=this._fov*(.5+me.y/this.height),Ze=Math.sin(ye)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-te-ye,.01,Math.PI-.01)),We=this.point,lt=We.x,Ct=We.y,Wt=Math.cos(Math.PI/2-this._pitch)*Ze+this.cameraToCenterDistance,xr=Wt*1.01,Fr=this.height/50,Ar=new Float64Array(16);e.perspective(Ar,this._fov,this.width/this.height,Fr,xr),Ar[8]=-me.x*2/this.width,Ar[9]=me.y*2/this.height,e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[0,0,-this.cameraToCenterDistance]),e.rotateX(Ar,Ar,this._pitch),e.rotateZ(Ar,Ar,this.angle),e.translate(Ar,Ar,[-lt,-Ct,0]),this.mercatorMatrix=e.scale([],Ar,[this.worldSize,this.worldSize,this.worldSize]),e.scale(Ar,Ar,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=Ar,this.invProjMatrix=e.invert([],this.projMatrix);var Gt=this.width%2/2,nr=this.height%2/2,mr=Math.cos(this.angle),zr=Math.sin(this.angle),Gr=lt-Math.round(lt)+mr*Gt+zr*nr,Xr=Ct-Math.round(Ct)+mr*nr+zr*Gt,fn=new Float64Array(Ar);if(e.translate(fn,fn,[Gr>.5?Gr-1:Gr,Xr>.5?Xr-1:Xr,0]),this.alignedProjMatrix=fn,Ar=e.create(),e.scale(Ar,Ar,[this.width/2,-this.height/2,1]),e.translate(Ar,Ar,[1,-1,0]),this.labelPlaneMatrix=Ar,Ar=e.create(),e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[-1,-1,0]),e.scale(Ar,Ar,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ar,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),Ar=e.invert(new Float64Array(16),this.pixelMatrix),!Ar)throw new Error(\"failed to invert matrix\");this.pixelMatrixInverse=Ar,this._posMatrixCache={},this._alignedPosMatrixCache={}}},os.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var K=this.pointCoordinate(new e.Point(0,0)),me=[K.x*this.worldSize,K.y*this.worldSize,0,1],te=e.transformMat4(me,me,this.pixelMatrix);return te[3]/this.cameraToCenterDistance},os.prototype.getCameraPoint=function(){var K=this._pitch,me=Math.tan(K)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,me))},os.prototype.getCameraQueryGeometry=function(K){var me=this.getCameraPoint();if(K.length===1)return[K[0],me];for(var te=me.x,ye=me.y,Ze=me.x,We=me.y,lt=0,Ct=K;lt=3&&!K.some(function(te){return isNaN(te)})){var me=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(K[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+K[2],+K[1]],zoom:+K[0],bearing:me,pitch:+(K[4]||0)}),!0}return!1},eu.prototype._updateHashUnthrottled=function(){var K=e.window.location.href.replace(/(#.+)?$/,this.getHashString());try{e.window.history.replaceState(e.window.history.state,null,K)}catch{}};var Xu={linearity:.3,easing:e.bezier(0,0,.3,1)},mu=e.extend({deceleration:2500,maxSpeed:1400},Xu),El=e.extend({deceleration:20,maxSpeed:1400},Xu),fu=e.extend({deceleration:1e3,maxSpeed:360},Xu),Tc=e.extend({deceleration:1e3,maxSpeed:90},Xu),Zl=function(K){this._map=K,this.clear()};Zl.prototype.clear=function(){this._inertiaBuffer=[]},Zl.prototype.record=function(K){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:K})},Zl.prototype._drainInertiaBuffer=function(){for(var K=this._inertiaBuffer,me=e.browser.now(),te=160;K.length>0&&me-K[0].time>te;)K.shift()},Zl.prototype._onMoveEnd=function(K){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var me={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},te=0,ye=this._inertiaBuffer;te=this._clickTolerance||this._map.fire(new Re(K.type,this._map,K))},mt.prototype.dblclick=function(K){return this._firePreventable(new Re(K.type,this._map,K))},mt.prototype.mouseover=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.mouseout=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.touchstart=function(K){return this._firePreventable(new Qe(K.type,this._map,K))},mt.prototype.touchmove=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchend=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchcancel=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype._firePreventable=function(K){if(this._map.fire(K),K.defaultPrevented)return{}},mt.prototype.isEnabled=function(){return!0},mt.prototype.isActive=function(){return!1},mt.prototype.enable=function(){},mt.prototype.disable=function(){};var Tt=function(K){this._map=K};Tt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Tt.prototype.mousemove=function(K){this._map.fire(new Re(K.type,this._map,K))},Tt.prototype.mousedown=function(){this._delayContextMenu=!0},Tt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Re(\"contextmenu\",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Tt.prototype.contextmenu=function(K){this._delayContextMenu?this._contextMenuEvent=K:this._map.fire(new Re(K.type,this._map,K)),this._map.listens(\"contextmenu\")&&K.preventDefault()},Tt.prototype.isEnabled=function(){return!0},Tt.prototype.isActive=function(){return!1},Tt.prototype.enable=function(){},Tt.prototype.disable=function(){};var Qt=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._container=K.getContainer(),this._clickTolerance=me.clickTolerance||1};Qt.prototype.isEnabled=function(){return!!this._enabled},Qt.prototype.isActive=function(){return!!this._active},Qt.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Qt.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Qt.prototype.mousedown=function(K,me){this.isEnabled()&&K.shiftKey&&K.button===0&&(r.disableDrag(),this._startPos=this._lastPos=me,this._active=!0)},Qt.prototype.mousemoveWindow=function(K,me){if(this._active){var te=me;if(!(this._lastPos.equals(te)||!this._box&&te.dist(this._startPos)this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=K.timeStamp),te.length===this.numTouches&&(this.centroid=lr(me),this.touches=Dt(te,me)))},yn.prototype.touchmove=function(K,me,te){if(!(this.aborted||!this.centroid)){var ye=Dt(te,me);for(var Ze in this.touches){var We=this.touches[Ze],lt=ye[Ze];(!lt||lt.dist(We)>Tn)&&(this.aborted=!0)}}},yn.prototype.touchend=function(K,me,te){if((!this.centroid||K.timeStamp-this.startTime>jr)&&(this.aborted=!0),te.length===0){var ye=!this.aborted&&this.centroid;if(this.reset(),ye)return ye}};var ti=function(K){this.singleTap=new yn(K),this.numTaps=K.numTaps,this.reset()};ti.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ti.prototype.touchstart=function(K,me,te){this.singleTap.touchstart(K,me,te)},ti.prototype.touchmove=function(K,me,te){this.singleTap.touchmove(K,me,te)},ti.prototype.touchend=function(K,me,te){var ye=this.singleTap.touchend(K,me,te);if(ye){var Ze=K.timeStamp-this.lastTime0&&(this._active=!0);var ye=Dt(te,me),Ze=new e.Point(0,0),We=new e.Point(0,0),lt=0;for(var Ct in ye){var Wt=ye[Ct],xr=this._touches[Ct];xr&&(Ze._add(Wt),We._add(Wt.sub(xr)),lt++,ye[Ct]=Wt)}if(this._touches=ye,!(ltMath.abs(ve.x)}var ua=100,wo=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.reset=function(){ve.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},K.prototype._start=function(te){this._lastPoints=te,ml(te[0].sub(te[1]))&&(this._valid=!1)},K.prototype._move=function(te,ye,Ze){var We=te[0].sub(this._lastPoints[0]),lt=te[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(We,lt,Ze.timeStamp),!!this._valid){this._lastPoints=te,this._active=!0;var Ct=(We.y+lt.y)/2,Wt=-.5;return{pitchDelta:Ct*Wt}}},K.prototype.gestureBeginsVertically=function(te,ye,Ze){if(this._valid!==void 0)return this._valid;var We=2,lt=te.mag()>=We,Ct=ye.mag()>=We;if(!(!lt&&!Ct)){if(!lt||!Ct)return this._firstMove===void 0&&(this._firstMove=Ze),Ze-this._firstMove0==ye.y>0;return ml(te)&&ml(ye)&&Wt}},K}(La),ys={panStep:100,bearingStep:15,pitchStep:10},Ms=function(){var K=ys;this._panStep=K.panStep,this._bearingStep=K.bearingStep,this._pitchStep=K.pitchStep,this._rotationDisabled=!1};Ms.prototype.reset=function(){this._active=!1},Ms.prototype.keydown=function(K){var me=this;if(!(K.altKey||K.ctrlKey||K.metaKey)){var te=0,ye=0,Ze=0,We=0,lt=0;switch(K.keyCode){case 61:case 107:case 171:case 187:te=1;break;case 189:case 109:case 173:te=-1;break;case 37:K.shiftKey?ye=-1:(K.preventDefault(),We=-1);break;case 39:K.shiftKey?ye=1:(K.preventDefault(),We=1);break;case 38:K.shiftKey?Ze=1:(K.preventDefault(),lt=-1);break;case 40:K.shiftKey?Ze=-1:(K.preventDefault(),lt=1);break;default:return}return this._rotationDisabled&&(ye=0,Ze=0),{cameraAnimation:function(Ct){var Wt=Ct.getZoom();Ct.easeTo({duration:300,easeId:\"keyboardHandler\",easing:xl,zoom:te?Math.round(Wt)+te*(K.shiftKey?2:1):Wt,bearing:Ct.getBearing()+ye*me._bearingStep,pitch:Ct.getPitch()+Ze*me._pitchStep,offset:[-We*me._panStep,-lt*me._panStep],center:Ct.getCenter()},{originalEvent:K})}}}},Ms.prototype.enable=function(){this._enabled=!0},Ms.prototype.disable=function(){this._enabled=!1,this.reset()},Ms.prototype.isEnabled=function(){return this._enabled},Ms.prototype.isActive=function(){return this._active},Ms.prototype.disableRotation=function(){this._rotationDisabled=!0},Ms.prototype.enableRotation=function(){this._rotationDisabled=!1};function xl(ve){return ve*(2-ve)}var Ul=4.000244140625,gu=1/100,Fl=1/450,vc=2,tr=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._handler=me,this._delta=0,this._defaultZoomRate=gu,this._wheelZoomRate=Fl,e.bindAll([\"_onTimeout\"],this)};tr.prototype.setZoomRate=function(K){this._defaultZoomRate=K},tr.prototype.setWheelZoomRate=function(K){this._wheelZoomRate=K},tr.prototype.isEnabled=function(){return!!this._enabled},tr.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},tr.prototype.isZooming=function(){return!!this._zooming},tr.prototype.enable=function(K){this.isEnabled()||(this._enabled=!0,this._aroundCenter=K&&K.around===\"center\")},tr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},tr.prototype.wheel=function(K){if(this.isEnabled()){var me=K.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?K.deltaY*40:K.deltaY,te=e.browser.now(),ye=te-(this._lastWheelEventTime||0);this._lastWheelEventTime=te,me!==0&&me%Ul===0?this._type=\"wheel\":me!==0&&Math.abs(me)<4?this._type=\"trackpad\":ye>400?(this._type=null,this._lastValue=me,this._timeout=setTimeout(this._onTimeout,40,K)):this._type||(this._type=Math.abs(ye*me)<200?\"trackpad\":\"wheel\",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,me+=this._lastValue)),K.shiftKey&&me&&(me=me/4),this._type&&(this._lastWheelEvent=K,this._delta-=me,this._active||this._start(K)),K.preventDefault()}},tr.prototype._onTimeout=function(K){this._type=\"wheel\",this._delta-=this._lastValue,this._active||this._start(K)},tr.prototype._start=function(K){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var me=r.mousePos(this._el,K);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(me)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},tr.prototype.renderFrame=function(){var K=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var me=this._map.transform;if(this._delta!==0){var te=this._type===\"wheel\"&&Math.abs(this._delta)>Ul?this._wheelZoomRate:this._defaultZoomRate,ye=vc/(1+Math.exp(-Math.abs(this._delta*te)));this._delta<0&&ye!==0&&(ye=1/ye);var Ze=typeof this._targetZoom==\"number\"?me.zoomScale(this._targetZoom):me.scale;this._targetZoom=Math.min(me.maxZoom,Math.max(me.minZoom,me.scaleZoom(Ze*ye))),this._type===\"wheel\"&&(this._startZoom=me.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var We=typeof this._targetZoom==\"number\"?this._targetZoom:me.zoom,lt=this._startZoom,Ct=this._easing,Wt=!1,xr;if(this._type===\"wheel\"&<&&Ct){var Fr=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),Ar=Ct(Fr);xr=e.number(lt,We,Ar),Fr<1?this._frameId||(this._frameId=!0):Wt=!0}else xr=We,Wt=!0;return this._active=!0,Wt&&(this._active=!1,this._finishTimeout=setTimeout(function(){K._zooming=!1,K._handler._triggerRenderFrame(),delete K._targetZoom,delete K._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Wt,zoomDelta:xr-me.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},tr.prototype._smoothOutEasing=function(K){var me=e.ease;if(this._prevEase){var te=this._prevEase,ye=(e.browser.now()-te.start)/te.duration,Ze=te.easing(ye+.01)-te.easing(ye),We=.27/Math.sqrt(Ze*Ze+1e-4)*.01,lt=Math.sqrt(.27*.27-We*We);me=e.bezier(We,lt,.25,1)}return this._prevEase={start:e.browser.now(),duration:K,easing:me},me},tr.prototype.reset=function(){this._active=!1};var cn=function(K,me){this._clickZoom=K,this._tapZoom=me};cn.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cn.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cn.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cn.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var Ln=function(){this.reset()};Ln.prototype.reset=function(){this._active=!1},Ln.prototype.dblclick=function(K,me){return K.preventDefault(),{cameraAnimation:function(te){te.easeTo({duration:300,zoom:te.getZoom()+(K.shiftKey?-1:1),around:te.unproject(me)},{originalEvent:K})}}},Ln.prototype.enable=function(){this._enabled=!0},Ln.prototype.disable=function(){this._enabled=!1,this.reset()},Ln.prototype.isEnabled=function(){return this._enabled},Ln.prototype.isActive=function(){return this._active};var xi=function(){this._tap=new ti({numTouches:1,numTaps:1}),this.reset()};xi.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},xi.prototype.touchstart=function(K,me,te){this._swipePoint||(this._tapTime&&K.timeStamp-this._tapTime>Br&&this.reset(),this._tapTime?te.length>0&&(this._swipePoint=me[0],this._swipeTouch=te[0].identifier):this._tap.touchstart(K,me,te))},xi.prototype.touchmove=function(K,me,te){if(!this._tapTime)this._tap.touchmove(K,me,te);else if(this._swipePoint){if(te[0].identifier!==this._swipeTouch)return;var ye=me[0],Ze=ye.y-this._swipePoint.y;return this._swipePoint=ye,K.preventDefault(),this._active=!0,{zoomDelta:Ze/128}}},xi.prototype.touchend=function(K,me,te){if(this._tapTime)this._swipePoint&&te.length===0&&this.reset();else{var ye=this._tap.touchend(K,me,te);ye&&(this._tapTime=K.timeStamp)}},xi.prototype.touchcancel=function(){this.reset()},xi.prototype.enable=function(){this._enabled=!0},xi.prototype.disable=function(){this._enabled=!1,this.reset()},xi.prototype.isEnabled=function(){return this._enabled},xi.prototype.isActive=function(){return this._active};var Ni=function(K,me,te){this._el=K,this._mousePan=me,this._touchPan=te};Ni.prototype.enable=function(K){this._inertiaOptions=K||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add(\"mapboxgl-touch-drag-pan\")},Ni.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove(\"mapboxgl-touch-drag-pan\")},Ni.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ni.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Fi=function(K,me,te){this._pitchWithRotate=K.pitchWithRotate,this._mouseRotate=me,this._mousePitch=te};Fi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Fi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Fi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Fi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var Oi=function(K,me,te,ye){this._el=K,this._touchZoom=me,this._touchRotate=te,this._tapDragZoom=ye,this._rotationDisabled=!1,this._enabled=!0};Oi.prototype.enable=function(K){this._touchZoom.enable(K),this._rotationDisabled||this._touchRotate.enable(K),this._tapDragZoom.enable(),this._el.classList.add(\"mapboxgl-touch-zoom-rotate\")},Oi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove(\"mapboxgl-touch-zoom-rotate\")},Oi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},Oi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},Oi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},Oi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var na=function(ve){return ve.zoom||ve.drag||ve.pitch||ve.rotate},Ca=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K}(e.Event);function ka(ve){return ve.panDelta&&ve.panDelta.mag()||ve.zoomDelta||ve.bearingDelta||ve.pitchDelta}var ha=function(K,me){this._map=K,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Zl(K),this._bearingSnap=me.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(me),e.bindAll([\"handleEvent\",\"handleWindowEvent\"],this);var te=this._el;this._listeners=[[te,\"touchstart\",{passive:!0}],[te,\"touchmove\",{passive:!1}],[te,\"touchend\",void 0],[te,\"touchcancel\",void 0],[te,\"mousedown\",void 0],[te,\"mousemove\",void 0],[te,\"mouseup\",void 0],[e.window.document,\"mousemove\",{capture:!0}],[e.window.document,\"mouseup\",void 0],[te,\"mouseover\",void 0],[te,\"mouseout\",void 0],[te,\"dblclick\",void 0],[te,\"click\",void 0],[te,\"keydown\",{capture:!1}],[te,\"keyup\",void 0],[te,\"wheel\",{passive:!1}],[te,\"contextmenu\",void 0],[e.window,\"blur\",void 0]];for(var ye=0,Ze=this._listeners;yelt?Math.min(2,Zr):Math.max(.5,Zr),Pi=Math.pow(Ji,1-Xn),ea=We.unproject(fn.add(sn.mult(Xn*Pi)).mult(vi));We.setLocationAtPoint(We.renderWorldCopies?ea.wrap():ea,zr)}Ze._fireMoveEvents(ye)},function(Xn){Ze._afterEase(ye,Xn)},te),this},K.prototype._prepareEase=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._moving=!0,!ye&&!Ze.moving&&this.fire(new e.Event(\"movestart\",te)),this._zooming&&!Ze.zooming&&this.fire(new e.Event(\"zoomstart\",te)),this._rotating&&!Ze.rotating&&this.fire(new e.Event(\"rotatestart\",te)),this._pitching&&!Ze.pitching&&this.fire(new e.Event(\"pitchstart\",te))},K.prototype._fireMoveEvents=function(te){this.fire(new e.Event(\"move\",te)),this._zooming&&this.fire(new e.Event(\"zoom\",te)),this._rotating&&this.fire(new e.Event(\"rotate\",te)),this._pitching&&this.fire(new e.Event(\"pitch\",te))},K.prototype._afterEase=function(te,ye){if(!(this._easeId&&ye&&this._easeId===ye)){delete this._easeId;var Ze=this._zooming,We=this._rotating,lt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ze&&this.fire(new e.Event(\"zoomend\",te)),We&&this.fire(new e.Event(\"rotateend\",te)),lt&&this.fire(new e.Event(\"pitchend\",te)),this.fire(new e.Event(\"moveend\",te))}},K.prototype.flyTo=function(te,ye){var Ze=this;if(!te.essential&&e.browser.prefersReducedMotion){var We=e.pick(te,[\"center\",\"zoom\",\"bearing\",\"pitch\",\"around\"]);return this.jumpTo(We,ye)}this.stop(),te=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},te);var lt=this.transform,Ct=this.getZoom(),Wt=this.getBearing(),xr=this.getPitch(),Fr=this.getPadding(),Ar=\"zoom\"in te?e.clamp(+te.zoom,lt.minZoom,lt.maxZoom):Ct,Gt=\"bearing\"in te?this._normalizeBearing(te.bearing,Wt):Wt,nr=\"pitch\"in te?+te.pitch:xr,mr=\"padding\"in te?te.padding:lt.padding,zr=lt.zoomScale(Ar-Ct),Gr=e.Point.convert(te.offset),Xr=lt.centerPoint.add(Gr),fn=lt.pointLocation(Xr),sn=e.LngLat.convert(te.center||fn);this._normalizeCenter(sn);var Zr=lt.project(fn),hn=lt.project(sn).sub(Zr),qr=te.curve,kn=Math.max(lt.width,lt.height),Xn=kn/zr,vi=hn.mag();if(\"minZoom\"in te){var Ji=e.clamp(Math.min(te.minZoom,Ct,Ar),lt.minZoom,lt.maxZoom),Pi=kn/lt.zoomScale(Ji-Ct);qr=Math.sqrt(Pi/vi*2)}var ea=qr*qr;function ja(rs){var js=(Xn*Xn-kn*kn+(rs?-1:1)*ea*ea*vi*vi)/(2*(rs?Xn:kn)*ea*vi);return Math.log(Math.sqrt(js*js+1)-js)}function Ea(rs){return(Math.exp(rs)-Math.exp(-rs))/2}function $i(rs){return(Math.exp(rs)+Math.exp(-rs))/2}function da(rs){return Ea(rs)/$i(rs)}var fa=ja(0),za=function(rs){return $i(fa)/$i(fa+qr*rs)},Qa=function(rs){return kn*(($i(fa)*da(fa+qr*rs)-Ea(fa))/ea)/vi},Cs=(ja(1)-fa)/qr;if(Math.abs(vi)<1e-6||!isFinite(Cs)){if(Math.abs(kn-Xn)<1e-6)return this.easeTo(te,ye);var ws=Xnte.maxDuration&&(te.duration=0),this._zooming=!0,this._rotating=Wt!==Gt,this._pitching=nr!==xr,this._padding=!lt.isPaddingEqual(mr),this._prepareEase(ye,!1),this._ease(function(rs){var js=rs*Cs,Cl=1/za(js);lt.zoom=rs===1?Ar:Ct+lt.scaleZoom(Cl),Ze._rotating&&(lt.bearing=e.number(Wt,Gt,rs)),Ze._pitching&&(lt.pitch=e.number(xr,nr,rs)),Ze._padding&&(lt.interpolatePadding(Fr,mr,rs),Xr=lt.centerPoint.add(Gr));var Ou=rs===1?sn:lt.unproject(Zr.add(hn.mult(Qa(js))).mult(Cl));lt.setLocationAtPoint(lt.renderWorldCopies?Ou.wrap():Ou,Xr),Ze._fireMoveEvents(ye)},function(){return Ze._afterEase(ye)},te),this},K.prototype.isEasing=function(){return!!this._easeFrameId},K.prototype.stop=function(){return this._stop()},K.prototype._stop=function(te,ye){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ze=this._onEaseEnd;delete this._onEaseEnd,Ze.call(this,ye)}if(!te){var We=this.handlers;We&&We.stop(!1)}return this},K.prototype._ease=function(te,ye,Ze){Ze.animate===!1||Ze.duration===0?(te(1),ye()):(this._easeStart=e.browser.now(),this._easeOptions=Ze,this._onEaseFrame=te,this._onEaseEnd=ye,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},K.prototype._renderFrameCallback=function(){var te=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(te)),te<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},K.prototype._normalizeBearing=function(te,ye){te=e.wrap(te,-180,180);var Ze=Math.abs(te-ye);return Math.abs(te-360-ye)180?-360:Ze<-180?360:0}},K}(e.Evented),Aa=function(K){K===void 0&&(K={}),this.options=K,e.bindAll([\"_toggleAttribution\",\"_updateEditLink\",\"_updateData\",\"_updateCompact\"],this)};Aa.prototype.getDefaultPosition=function(){return\"bottom-right\"},Aa.prototype.onAdd=function(K){var me=this.options&&this.options.compact;return this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-attrib\"),this._compactButton=r.create(\"button\",\"mapboxgl-ctrl-attrib-button\",this._container),this._compactButton.addEventListener(\"click\",this._toggleAttribution),this._setElementTitle(this._compactButton,\"ToggleAttribution\"),this._innerContainer=r.create(\"div\",\"mapboxgl-ctrl-attrib-inner\",this._container),this._innerContainer.setAttribute(\"role\",\"list\"),me&&this._container.classList.add(\"mapboxgl-compact\"),this._updateAttributions(),this._updateEditLink(),this._map.on(\"styledata\",this._updateData),this._map.on(\"sourcedata\",this._updateData),this._map.on(\"moveend\",this._updateEditLink),me===void 0&&(this._map.on(\"resize\",this._updateCompact),this._updateCompact()),this._container},Aa.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"styledata\",this._updateData),this._map.off(\"sourcedata\",this._updateData),this._map.off(\"moveend\",this._updateEditLink),this._map.off(\"resize\",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Aa.prototype._setElementTitle=function(K,me){var te=this._map._getUIString(\"AttributionControl.\"+me);K.title=te,K.setAttribute(\"aria-label\",te)},Aa.prototype._toggleAttribution=function(){this._container.classList.contains(\"mapboxgl-compact-show\")?(this._container.classList.remove(\"mapboxgl-compact-show\"),this._compactButton.setAttribute(\"aria-pressed\",\"false\")):(this._container.classList.add(\"mapboxgl-compact-show\"),this._compactButton.setAttribute(\"aria-pressed\",\"true\"))},Aa.prototype._updateEditLink=function(){var K=this._editLink;K||(K=this._editLink=this._container.querySelector(\".mapbox-improve-map\"));var me=[{key:\"owner\",value:this.styleOwner},{key:\"id\",value:this.styleId},{key:\"access_token\",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(K){var te=me.reduce(function(ye,Ze,We){return Ze.value&&(ye+=Ze.key+\"=\"+Ze.value+(We=0)return!1;return!0});var lt=K.join(\" | \");lt!==this._attribHTML&&(this._attribHTML=lt,K.length?(this._innerContainer.innerHTML=lt,this._container.classList.remove(\"mapboxgl-attrib-empty\")):this._container.classList.add(\"mapboxgl-attrib-empty\"),this._editLink=null)}},Aa.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add(\"mapboxgl-compact\"):this._container.classList.remove(\"mapboxgl-compact\",\"mapboxgl-compact-show\")};var Ma=function(){e.bindAll([\"_updateLogo\"],this),e.bindAll([\"_updateCompact\"],this)};Ma.prototype.onAdd=function(K){this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl\");var me=r.create(\"a\",\"mapboxgl-ctrl-logo\");return me.target=\"_blank\",me.rel=\"noopener nofollow\",me.href=\"https://www.mapbox.com/\",me.setAttribute(\"aria-label\",this._map._getUIString(\"LogoControl.Title\")),me.setAttribute(\"rel\",\"noopener nofollow\"),this._container.appendChild(me),this._container.style.display=\"none\",this._map.on(\"sourcedata\",this._updateLogo),this._updateLogo(),this._map.on(\"resize\",this._updateCompact),this._updateCompact(),this._container},Ma.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"sourcedata\",this._updateLogo),this._map.off(\"resize\",this._updateCompact)},Ma.prototype.getDefaultPosition=function(){return\"bottom-left\"},Ma.prototype._updateLogo=function(K){(!K||K.sourceDataType===\"metadata\")&&(this._container.style.display=this._logoRequired()?\"block\":\"none\")},Ma.prototype._logoRequired=function(){if(this._map.style){var K=this._map.style.sourceCaches;for(var me in K){var te=K[me].getSource();if(te.mapbox_logo)return!0}return!1}},Ma.prototype._updateCompact=function(){var K=this._container.children;if(K.length){var me=K[0];this._map.getCanvasContainer().offsetWidth<250?me.classList.add(\"mapboxgl-compact\"):me.classList.remove(\"mapboxgl-compact\")}};var ia=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};ia.prototype.add=function(K){var me=++this._id,te=this._queue;return te.push({callback:K,id:me,cancelled:!1}),me},ia.prototype.remove=function(K){for(var me=this._currentlyRunning,te=me?this._queue.concat(me):this._queue,ye=0,Ze=te;yete.maxZoom)throw new Error(\"maxZoom must be greater than or equal to minZoom\");if(te.minPitch!=null&&te.maxPitch!=null&&te.minPitch>te.maxPitch)throw new Error(\"maxPitch must be greater than or equal to minPitch\");if(te.minPitch!=null&&te.minPitchOo)throw new Error(\"maxPitch must be less than or equal to \"+Oo);var Ze=new os(te.minZoom,te.maxZoom,te.minPitch,te.maxPitch,te.renderWorldCopies);if(ve.call(this,Ze,te),this._interactive=te.interactive,this._maxTileCacheSize=te.maxTileCacheSize,this._failIfMajorPerformanceCaveat=te.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=te.preserveDrawingBuffer,this._antialias=te.antialias,this._trackResize=te.trackResize,this._bearingSnap=te.bearingSnap,this._refreshExpiredTiles=te.refreshExpiredTiles,this._fadeDuration=te.fadeDuration,this._crossSourceCollisions=te.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=te.collectResourceTiming,this._renderTaskQueue=new ia,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},wi,te.locale),this._clickTolerance=te.clickTolerance,this._requestManager=new e.RequestManager(te.transformRequest,te.accessToken),typeof te.container==\"string\"){if(this._container=e.window.document.getElementById(te.container),!this._container)throw new Error(\"Container '\"+te.container+\"' not found.\")}else if(te.container instanceof ba)this._container=te.container;else throw new Error(\"Invalid type: 'container' must be a String or HTMLElement.\");if(te.maxBounds&&this.setMaxBounds(te.maxBounds),e.bindAll([\"_onWindowOnline\",\"_onWindowResize\",\"_onMapScroll\",\"_contextLost\",\"_contextRestored\"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error(\"Failed to initialize WebGL.\");this.on(\"move\",function(){return ye._update(!1)}),this.on(\"moveend\",function(){return ye._update(!1)}),this.on(\"zoom\",function(){return ye._update(!0)}),typeof e.window<\"u\"&&(e.window.addEventListener(\"online\",this._onWindowOnline,!1),e.window.addEventListener(\"resize\",this._onWindowResize,!1),e.window.addEventListener(\"orientationchange\",this._onWindowResize,!1)),this.handlers=new ha(this,te);var We=typeof te.hash==\"string\"&&te.hash||void 0;this._hash=te.hash&&new eu(We).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:te.center,zoom:te.zoom,bearing:te.bearing,pitch:te.pitch}),te.bounds&&(this.resize(),this.fitBounds(te.bounds,e.extend({},te.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=te.localIdeographFontFamily,te.style&&this.setStyle(te.style,{localIdeographFontFamily:te.localIdeographFontFamily}),te.attributionControl&&this.addControl(new Aa({customAttribution:te.customAttribution})),this.addControl(new Ma,te.logoPosition),this.on(\"style.load\",function(){ye.transform.unmodified&&ye.jumpTo(ye.style.stylesheet)}),this.on(\"data\",function(lt){ye._update(lt.dataType===\"style\"),ye.fire(new e.Event(lt.dataType+\"data\",lt))}),this.on(\"dataloading\",function(lt){ye.fire(new e.Event(lt.dataType+\"dataloading\",lt))})}ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K;var me={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return K.prototype._getMapId=function(){return this._mapId},K.prototype.addControl=function(ye,Ze){if(Ze===void 0&&(ye.getDefaultPosition?Ze=ye.getDefaultPosition():Ze=\"top-right\"),!ye||!ye.onAdd)return this.fire(new e.ErrorEvent(new Error(\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\")));var We=ye.onAdd(this);this._controls.push(ye);var lt=this._controlPositions[Ze];return Ze.indexOf(\"bottom\")!==-1?lt.insertBefore(We,lt.firstChild):lt.appendChild(We),this},K.prototype.removeControl=function(ye){if(!ye||!ye.onRemove)return this.fire(new e.ErrorEvent(new Error(\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\")));var Ze=this._controls.indexOf(ye);return Ze>-1&&this._controls.splice(Ze,1),ye.onRemove(this),this},K.prototype.hasControl=function(ye){return this._controls.indexOf(ye)>-1},K.prototype.resize=function(ye){var Ze=this._containerDimensions(),We=Ze[0],lt=Ze[1];this._resizeCanvas(We,lt),this.transform.resize(We,lt),this.painter.resize(We,lt);var Ct=!this._moving;return Ct&&(this.stop(),this.fire(new e.Event(\"movestart\",ye)).fire(new e.Event(\"move\",ye))),this.fire(new e.Event(\"resize\",ye)),Ct&&this.fire(new e.Event(\"moveend\",ye)),this},K.prototype.getBounds=function(){return this.transform.getBounds()},K.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},K.prototype.setMaxBounds=function(ye){return this.transform.setMaxBounds(e.LngLatBounds.convert(ye)),this._update()},K.prototype.setMinZoom=function(ye){if(ye=ye??ca,ye>=ca&&ye<=this.transform.maxZoom)return this.transform.minZoom=ye,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=ye,this._update(),this.getZoom()>ye&&this.setZoom(ye),this;throw new Error(\"maxZoom must be greater than the current minZoom\")},K.prototype.getMaxZoom=function(){return this.transform.maxZoom},K.prototype.setMinPitch=function(ye){if(ye=ye??Ba,ye=Ba&&ye<=this.transform.maxPitch)return this.transform.minPitch=ye,this._update(),this.getPitch()Oo)throw new Error(\"maxPitch must be less than or equal to \"+Oo);if(ye>=this.transform.minPitch)return this.transform.maxPitch=ye,this._update(),this.getPitch()>ye&&this.setPitch(ye),this;throw new Error(\"maxPitch must be greater than the current minPitch\")},K.prototype.getMaxPitch=function(){return this.transform.maxPitch},K.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},K.prototype.setRenderWorldCopies=function(ye){return this.transform.renderWorldCopies=ye,this._update()},K.prototype.project=function(ye){return this.transform.locationPoint(e.LngLat.convert(ye))},K.prototype.unproject=function(ye){return this.transform.pointLocation(e.Point.convert(ye))},K.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},K.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},K.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},K.prototype._createDelegatedListener=function(ye,Ze,We){var lt=this,Ct;if(ye===\"mouseenter\"||ye===\"mouseover\"){var Wt=!1,xr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Wt||(Wt=!0,We.call(lt,new Re(ye,lt,zr.originalEvent,{features:Gr}))):Wt=!1},Fr=function(){Wt=!1};return{layer:Ze,listener:We,delegates:{mousemove:xr,mouseout:Fr}}}else if(ye===\"mouseleave\"||ye===\"mouseout\"){var Ar=!1,Gt=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Ar=!0:Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))},nr=function(zr){Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))};return{layer:Ze,listener:We,delegates:{mousemove:Gt,mouseout:nr}}}else{var mr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length&&(zr.features=Gr,We.call(lt,zr),delete zr.features)};return{layer:Ze,listener:We,delegates:(Ct={},Ct[ye]=mr,Ct)}}},K.prototype.on=function(ye,Ze,We){if(We===void 0)return ve.prototype.on.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[ye]=this._delegatedListeners[ye]||[],this._delegatedListeners[ye].push(lt);for(var Ct in lt.delegates)this.on(Ct,lt.delegates[Ct]);return this},K.prototype.once=function(ye,Ze,We){if(We===void 0)return ve.prototype.once.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);for(var Ct in lt.delegates)this.once(Ct,lt.delegates[Ct]);return this},K.prototype.off=function(ye,Ze,We){var lt=this;if(We===void 0)return ve.prototype.off.call(this,ye,Ze);var Ct=function(Wt){for(var xr=Wt[ye],Fr=0;Fr180;){var We=me.locationPoint(ve);if(We.x>=0&&We.y>=0&&We.x<=me.width&&We.y<=me.height)break;ve.lng>me.center.lng?ve.lng-=360:ve.lng+=360}return ve}var Zo={center:\"translate(-50%,-50%)\",top:\"translate(-50%,0)\",\"top-left\":\"translate(0,0)\",\"top-right\":\"translate(-100%,0)\",bottom:\"translate(-50%,-100%)\",\"bottom-left\":\"translate(0,-100%)\",\"bottom-right\":\"translate(-100%,-100%)\",left:\"translate(0,-50%)\",right:\"translate(-100%,-50%)\"};function ps(ve,K,me){var te=ve.classList;for(var ye in Zo)te.remove(\"mapboxgl-\"+me+\"-anchor-\"+ye);te.add(\"mapboxgl-\"+me+\"-anchor-\"+K)}var Na=function(ve){function K(me,te){if(ve.call(this),(me instanceof e.window.HTMLElement||te)&&(me=e.extend({element:me},te)),e.bindAll([\"_update\",\"_onMove\",\"_onUp\",\"_addDragHandler\",\"_onMapClick\",\"_onKeyPress\"],this),this._anchor=me&&me.anchor||\"center\",this._color=me&&me.color||\"#3FB1CE\",this._scale=me&&me.scale||1,this._draggable=me&&me.draggable||!1,this._clickTolerance=me&&me.clickTolerance||0,this._isDragging=!1,this._state=\"inactive\",this._rotation=me&&me.rotation||0,this._rotationAlignment=me&&me.rotationAlignment||\"auto\",this._pitchAlignment=me&&me.pitchAlignment&&me.pitchAlignment!==\"auto\"?me.pitchAlignment:this._rotationAlignment,!me||!me.element){this._defaultMarker=!0,this._element=r.create(\"div\"),this._element.setAttribute(\"aria-label\",\"Map marker\");var ye=r.createNS(\"http://www.w3.org/2000/svg\",\"svg\"),Ze=41,We=27;ye.setAttributeNS(null,\"display\",\"block\"),ye.setAttributeNS(null,\"height\",Ze+\"px\"),ye.setAttributeNS(null,\"width\",We+\"px\"),ye.setAttributeNS(null,\"viewBox\",\"0 0 \"+We+\" \"+Ze);var lt=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");lt.setAttributeNS(null,\"stroke\",\"none\"),lt.setAttributeNS(null,\"stroke-width\",\"1\"),lt.setAttributeNS(null,\"fill\",\"none\"),lt.setAttributeNS(null,\"fill-rule\",\"evenodd\");var Ct=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");Ct.setAttributeNS(null,\"fill-rule\",\"nonzero\");var Wt=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");Wt.setAttributeNS(null,\"transform\",\"translate(3.0, 29.0)\"),Wt.setAttributeNS(null,\"fill\",\"#000000\");for(var xr=[{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"9.5\",ry:\"4.77275007\"},{rx:\"8.5\",ry:\"4.29549936\"},{rx:\"7.5\",ry:\"3.81822308\"},{rx:\"6.5\",ry:\"3.34094679\"},{rx:\"5.5\",ry:\"2.86367051\"},{rx:\"4.5\",ry:\"2.38636864\"}],Fr=0,Ar=xr;Fr=ye}this._isDragging&&(this._pos=te.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents=\"none\",this._state===\"pending\"&&(this._state=\"active\",this.fire(new e.Event(\"dragstart\"))),this.fire(new e.Event(\"drag\")))},K.prototype._onUp=function(){this._element.style.pointerEvents=\"auto\",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),this._state===\"active\"&&this.fire(new e.Event(\"dragend\")),this._state=\"inactive\"},K.prototype._addDragHandler=function(te){this._element.contains(te.originalEvent.target)&&(te.preventDefault(),this._positionDelta=te.point.sub(this._pos).add(this._offset),this._pointerdownPos=te.point,this._state=\"pending\",this._map.on(\"mousemove\",this._onMove),this._map.on(\"touchmove\",this._onMove),this._map.once(\"mouseup\",this._onUp),this._map.once(\"touchend\",this._onUp))},K.prototype.setDraggable=function(te){return this._draggable=!!te,this._map&&(te?(this._map.on(\"mousedown\",this._addDragHandler),this._map.on(\"touchstart\",this._addDragHandler)):(this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler))),this},K.prototype.isDraggable=function(){return this._draggable},K.prototype.setRotation=function(te){return this._rotation=te||0,this._update(),this},K.prototype.getRotation=function(){return this._rotation},K.prototype.setRotationAlignment=function(te){return this._rotationAlignment=te||\"auto\",this._update(),this},K.prototype.getRotationAlignment=function(){return this._rotationAlignment},K.prototype.setPitchAlignment=function(te){return this._pitchAlignment=te&&te!==\"auto\"?te:this._rotationAlignment,this._update(),this},K.prototype.getPitchAlignment=function(){return this._pitchAlignment},K}(e.Evented),Mo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},ss;function _s(ve){ss!==void 0?ve(ss):e.window.navigator.permissions!==void 0?e.window.navigator.permissions.query({name:\"geolocation\"}).then(function(K){ss=K.state!==\"denied\",ve(ss)}):(ss=!!e.window.navigator.geolocation,ve(ss))}var Fs=0,iu=!1,Oc=function(ve){function K(me){ve.call(this),this.options=e.extend({},Mo,me),e.bindAll([\"_onSuccess\",\"_onError\",\"_onZoom\",\"_finish\",\"_setupUI\",\"_updateCamera\",\"_updateMarker\"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.onAdd=function(te){return this._map=te,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-group\"),_s(this._setupUI),this._container},K.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off(\"zoom\",this._onZoom),this._map=void 0,Fs=0,iu=!1},K.prototype._isOutOfMapMaxBounds=function(te){var ye=this._map.getMaxBounds(),Ze=te.coords;return ye&&(Ze.longitudeye.getEast()||Ze.latitudeye.getNorth())},K.prototype._setErrorState=function(){switch(this._watchState){case\"WAITING_ACTIVE\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");break;case\"ACTIVE_LOCK\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");break;case\"BACKGROUND\":this._watchState=\"BACKGROUND_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");break}},K.prototype._onSuccess=function(te){if(this._map){if(this._isOutOfMapMaxBounds(te)){this._setErrorState(),this.fire(new e.Event(\"outofmaxbounds\",te)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=te,this._watchState){case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"BACKGROUND\":case\"BACKGROUND_ERROR\":this._watchState=\"BACKGROUND\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");break}this.options.showUserLocation&&this._watchState!==\"OFF\"&&this._updateMarker(te),(!this.options.trackUserLocation||this._watchState===\"ACTIVE_LOCK\")&&this._updateCamera(te),this.options.showUserLocation&&this._dotElement.classList.remove(\"mapboxgl-user-location-dot-stale\"),this.fire(new e.Event(\"geolocate\",te)),this._finish()}},K.prototype._updateCamera=function(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude),Ze=te.coords.accuracy,We=this._map.getBearing(),lt=e.extend({bearing:We},this.options.fitBoundsOptions);this._map.fitBounds(ye.toBounds(Ze),lt,{geolocateSource:!0})},K.prototype._updateMarker=function(te){if(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude);this._accuracyCircleMarker.setLngLat(ye).addTo(this._map),this._userLocationDotMarker.setLngLat(ye).addTo(this._map),this._accuracy=te.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},K.prototype._updateCircleRadius=function(){var te=this._map._container.clientHeight/2,ye=this._map.unproject([0,te]),Ze=this._map.unproject([1,te]),We=ye.distanceTo(Ze),lt=Math.ceil(2*this._accuracy/We);this._circleElement.style.width=lt+\"px\",this._circleElement.style.height=lt+\"px\"},K.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},K.prototype._onError=function(te){if(this._map){if(this.options.trackUserLocation)if(te.code===1){this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.disabled=!0;var ye=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.title=ye,this._geolocateButton.setAttribute(\"aria-label\",ye),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(te.code===3&&iu)return;this._setErrorState()}this._watchState!==\"OFF\"&&this.options.showUserLocation&&this._dotElement.classList.add(\"mapboxgl-user-location-dot-stale\"),this.fire(new e.Event(\"error\",te)),this._finish()}},K.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},K.prototype._setupUI=function(te){var ye=this;if(this._container.addEventListener(\"contextmenu\",function(lt){return lt.preventDefault()}),this._geolocateButton=r.create(\"button\",\"mapboxgl-ctrl-geolocate\",this._container),r.create(\"span\",\"mapboxgl-ctrl-icon\",this._geolocateButton).setAttribute(\"aria-hidden\",!0),this._geolocateButton.type=\"button\",te===!1){e.warnOnce(\"Geolocation support is not available so the GeolocateControl will be disabled.\");var Ze=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ze,this._geolocateButton.setAttribute(\"aria-label\",Ze)}else{var We=this._map._getUIString(\"GeolocateControl.FindMyLocation\");this._geolocateButton.title=We,this._geolocateButton.setAttribute(\"aria-label\",We)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this._watchState=\"OFF\"),this.options.showUserLocation&&(this._dotElement=r.create(\"div\",\"mapboxgl-user-location-dot\"),this._userLocationDotMarker=new Na(this._dotElement),this._circleElement=r.create(\"div\",\"mapboxgl-user-location-accuracy-circle\"),this._accuracyCircleMarker=new Na({element:this._circleElement,pitchAlignment:\"map\"}),this.options.trackUserLocation&&(this._watchState=\"OFF\"),this._map.on(\"zoom\",this._onZoom)),this._geolocateButton.addEventListener(\"click\",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on(\"movestart\",function(lt){var Ct=lt.originalEvent&<.originalEvent.type===\"resize\";!lt.geolocateSource&&ye._watchState===\"ACTIVE_LOCK\"&&!Ct&&(ye._watchState=\"BACKGROUND\",ye._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\"),ye._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),ye.fire(new e.Event(\"trackuserlocationend\")))})},K.prototype.trigger=function(){if(!this._setup)return e.warnOnce(\"Geolocate control triggered before added to a map\"),!1;if(this.options.trackUserLocation){switch(this._watchState){case\"OFF\":this._watchState=\"WAITING_ACTIVE\",this.fire(new e.Event(\"trackuserlocationstart\"));break;case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":case\"BACKGROUND_ERROR\":Fs--,iu=!1,this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this.fire(new e.Event(\"trackuserlocationend\"));break;case\"BACKGROUND\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event(\"trackuserlocationstart\"));break}switch(this._watchState){case\"WAITING_ACTIVE\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"ACTIVE_LOCK\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"ACTIVE_ERROR\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");break;case\"BACKGROUND\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");break;case\"BACKGROUND_ERROR\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\");break}if(this._watchState===\"OFF\"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"true\"),Fs++;var te;Fs>1?(te={maximumAge:6e5,timeout:0},iu=!0):(te=this.options.positionOptions,iu=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,te)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},K.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this.options.showUserLocation&&this._updateMarker(null)},K}(e.Evented),rl={maxWidth:100,unit:\"metric\"},Bc=function(K){this.options=e.extend({},rl,K),e.bindAll([\"_onMove\",\"setUnit\"],this)};Bc.prototype.getDefaultPosition=function(){return\"bottom-left\"},Bc.prototype._onMove=function(){ql(this._map,this._container,this.options)},Bc.prototype.onAdd=function(K){return this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-scale\",K.getContainer()),this._map.on(\"move\",this._onMove),this._onMove(),this._container},Bc.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"move\",this._onMove),this._map=void 0},Bc.prototype.setUnit=function(K){this.options.unit=K,ql(this._map,this._container,this.options)};function ql(ve,K,me){var te=me&&me.maxWidth||100,ye=ve._container.clientHeight/2,Ze=ve.unproject([0,ye]),We=ve.unproject([te,ye]),lt=Ze.distanceTo(We);if(me&&me.unit===\"imperial\"){var Ct=3.2808*lt;if(Ct>5280){var Wt=Ct/5280;pc(K,te,Wt,ve._getUIString(\"ScaleControl.Miles\"))}else pc(K,te,Ct,ve._getUIString(\"ScaleControl.Feet\"))}else if(me&&me.unit===\"nautical\"){var xr=lt/1852;pc(K,te,xr,ve._getUIString(\"ScaleControl.NauticalMiles\"))}else lt>=1e3?pc(K,te,lt/1e3,ve._getUIString(\"ScaleControl.Kilometers\")):pc(K,te,lt,ve._getUIString(\"ScaleControl.Meters\"))}function pc(ve,K,me,te){var ye=Jc(me),Ze=ye/me;ve.style.width=K*Ze+\"px\",ve.innerHTML=ye+\" \"+te}function mc(ve){var K=Math.pow(10,Math.ceil(-Math.log(ve)/Math.LN10));return Math.round(ve*K)/K}function Jc(ve){var K=Math.pow(10,(\"\"+Math.floor(ve)).length-1),me=ve/K;return me=me>=10?10:me>=5?5:me>=3?3:me>=2?2:me>=1?1:mc(me),K*me}var tu=function(K){this._fullscreen=!1,K&&K.container&&(K.container instanceof e.window.HTMLElement?this._container=K.container:e.warnOnce(\"Full screen control 'container' must be a DOM element.\")),e.bindAll([\"_onClickFullscreen\",\"_changeIcon\"],this),\"onfullscreenchange\"in e.window.document?this._fullscreenchange=\"fullscreenchange\":\"onmozfullscreenchange\"in e.window.document?this._fullscreenchange=\"mozfullscreenchange\":\"onwebkitfullscreenchange\"in e.window.document?this._fullscreenchange=\"webkitfullscreenchange\":\"onmsfullscreenchange\"in e.window.document&&(this._fullscreenchange=\"MSFullscreenChange\")};tu.prototype.onAdd=function(K){return this._map=K,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-group\"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display=\"none\",e.warnOnce(\"This device does not support fullscreen mode.\")),this._controlContainer},tu.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},tu.prototype._setupUI=function(){var K=this._fullscreenButton=r.create(\"button\",\"mapboxgl-ctrl-fullscreen\",this._controlContainer);r.create(\"span\",\"mapboxgl-ctrl-icon\",K).setAttribute(\"aria-hidden\",!0),K.type=\"button\",this._updateTitle(),this._fullscreenButton.addEventListener(\"click\",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._updateTitle=function(){var K=this._getTitle();this._fullscreenButton.setAttribute(\"aria-label\",K),this._fullscreenButton.title=K},tu.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?\"FullscreenControl.Exit\":\"FullscreenControl.Enter\")},tu.prototype._isFullscreen=function(){return this._fullscreen},tu.prototype._changeIcon=function(){var K=e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement;K===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-shrink\"),this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-fullscreen\"),this._updateTitle())},tu.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Ac={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:\"\",maxWidth:\"240px\"},Nc=[\"a[href]\",\"[tabindex]:not([tabindex='-1'])\",\"[contenteditable]:not([contenteditable='false'])\",\"button:not([disabled])\",\"input:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\"].join(\", \"),Hs=function(ve){function K(me){ve.call(this),this.options=e.extend(Object.create(Ac),me),e.bindAll([\"_update\",\"_onClose\",\"remove\",\"_onMouseMove\",\"_onMouseUp\",\"_onDrag\"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.addTo=function(te){return this._map&&this.remove(),this._map=te,this.options.closeOnClick&&this._map.on(\"click\",this._onClose),this.options.closeOnMove&&this._map.on(\"move\",this._onClose),this._map.on(\"remove\",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"mouseup\",this._onMouseUp),this._container&&this._container.classList.add(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")):this._map.on(\"move\",this._update),this.fire(new e.Event(\"open\")),this},K.prototype.isOpen=function(){return!!this._map},K.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off(\"move\",this._update),this._map.off(\"move\",this._onClose),this._map.off(\"click\",this._onClose),this._map.off(\"remove\",this.remove),this._map.off(\"mousemove\",this._onMouseMove),this._map.off(\"mouseup\",this._onMouseUp),this._map.off(\"drag\",this._onDrag),delete this._map),this.fire(new e.Event(\"close\")),this},K.prototype.getLngLat=function(){return this._lngLat},K.prototype.setLngLat=function(te){return this._lngLat=e.LngLat.convert(te),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on(\"move\",this._update),this._map.off(\"mousemove\",this._onMouseMove),this._container&&this._container.classList.remove(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.remove(\"mapboxgl-track-pointer\")),this},K.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off(\"move\",this._update),this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"drag\",this._onDrag),this._container&&this._container.classList.add(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")),this},K.prototype.getElement=function(){return this._container},K.prototype.setText=function(te){return this.setDOMContent(e.window.document.createTextNode(te))},K.prototype.setHTML=function(te){var ye=e.window.document.createDocumentFragment(),Ze=e.window.document.createElement(\"body\"),We;for(Ze.innerHTML=te;We=Ze.firstChild,!!We;)ye.appendChild(We);return this.setDOMContent(ye)},K.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},K.prototype.setMaxWidth=function(te){return this.options.maxWidth=te,this._update(),this},K.prototype.setDOMContent=function(te){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=r.create(\"div\",\"mapboxgl-popup-content\",this._container);return this._content.appendChild(te),this._createCloseButton(),this._update(),this._focusFirstElement(),this},K.prototype.addClassName=function(te){this._container&&this._container.classList.add(te)},K.prototype.removeClassName=function(te){this._container&&this._container.classList.remove(te)},K.prototype.setOffset=function(te){return this.options.offset=te,this._update(),this},K.prototype.toggleClassName=function(te){if(this._container)return this._container.classList.toggle(te)},K.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=r.create(\"button\",\"mapboxgl-popup-close-button\",this._content),this._closeButton.type=\"button\",this._closeButton.setAttribute(\"aria-label\",\"Close popup\"),this._closeButton.innerHTML=\"×\",this._closeButton.addEventListener(\"click\",this._onClose))},K.prototype._onMouseUp=function(te){this._update(te.point)},K.prototype._onMouseMove=function(te){this._update(te.point)},K.prototype._onDrag=function(te){this._update(te.point)},K.prototype._update=function(te){var ye=this,Ze=this._lngLat||this._trackPointer;if(!(!this._map||!Ze||!this._content)&&(this._container||(this._container=r.create(\"div\",\"mapboxgl-popup\",this._map.getContainer()),this._tip=r.create(\"div\",\"mapboxgl-popup-tip\",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(\" \").forEach(function(Gt){return ye._container.classList.add(Gt)}),this._trackPointer&&this._container.classList.add(\"mapboxgl-popup-track-pointer\")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ao(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!te))){var We=this._pos=this._trackPointer&&te?te:this._map.project(this._lngLat),lt=this.options.anchor,Ct=$c(this.options.offset);if(!lt){var Wt=this._container.offsetWidth,xr=this._container.offsetHeight,Fr;We.y+Ct.bottom.ythis._map.transform.height-xr?Fr=[\"bottom\"]:Fr=[],We.xthis._map.transform.width-Wt/2&&Fr.push(\"right\"),Fr.length===0?lt=\"bottom\":lt=Fr.join(\"-\")}var Ar=We.add(Ct[lt]).round();r.setTransform(this._container,Zo[lt]+\" translate(\"+Ar.x+\"px,\"+Ar.y+\"px)\"),ps(this._container,lt,\"popup\")}},K.prototype._focusFirstElement=function(){if(!(!this.options.focusAfterOpen||!this._container)){var te=this._container.querySelector(Nc);te&&te.focus()}},K.prototype._onClose=function(){this.remove()},K}(e.Evented);function $c(ve){if(ve)if(typeof ve==\"number\"){var K=Math.round(Math.sqrt(.5*Math.pow(ve,2)));return{center:new e.Point(0,0),top:new e.Point(0,ve),\"top-left\":new e.Point(K,K),\"top-right\":new e.Point(-K,K),bottom:new e.Point(0,-ve),\"bottom-left\":new e.Point(K,-K),\"bottom-right\":new e.Point(-K,-K),left:new e.Point(ve,0),right:new e.Point(-ve,0)}}else if(ve instanceof e.Point||Array.isArray(ve)){var me=e.Point.convert(ve);return{center:me,top:me,\"top-left\":me,\"top-right\":me,bottom:me,\"bottom-left\":me,\"bottom-right\":me,left:me,right:me}}else return{center:e.Point.convert(ve.center||[0,0]),top:e.Point.convert(ve.top||[0,0]),\"top-left\":e.Point.convert(ve[\"top-left\"]||[0,0]),\"top-right\":e.Point.convert(ve[\"top-right\"]||[0,0]),bottom:e.Point.convert(ve.bottom||[0,0]),\"bottom-left\":e.Point.convert(ve[\"bottom-left\"]||[0,0]),\"bottom-right\":e.Point.convert(ve[\"bottom-right\"]||[0,0]),left:e.Point.convert(ve.left||[0,0]),right:e.Point.convert(ve.right||[0,0])};else return $c(new e.Point(0,0))}var Us={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:sa,NavigationControl:Fa,GeolocateControl:Oc,AttributionControl:Aa,ScaleControl:Bc,FullscreenControl:tu,Popup:Hs,Marker:Na,Style:nu,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:Pr,clearPrewarmedResources:Ir,get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(ve){e.config.ACCESS_TOKEN=ve},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(ve){e.config.API_URL=ve},get workerCount(){return Sn.workerCount},set workerCount(ve){Sn.workerCount=ve},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ve){e.config.MAX_PARALLEL_IMAGE_REQUESTS=ve},clearStorage:function(K){e.clearTileCache(K)},workerUrl:\"\"};return Us}),A})}}),jD=ke({\"src/plots/mapbox/layers.js\"(Z,H){\"use strict\";var g=un(),x=Wl().sanitizeHTML,A=uM(),S=op();function e(i,a){this.subplot=i,this.uid=i.uid+\"-\"+a,this.index=a,this.idSource=\"source-\"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType===\"image\"&&i.sourcetype===\"image\"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup[\"layout-\"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup[\"layout-\"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapboxLayerId=function(i){if(i===\"traces\")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case\"circle\":g.extendFlat(s,{\"circle-radius\":i.circle.radius,\"circle-color\":i.color,\"circle-opacity\":i.opacity});break;case\"line\":g.extendFlat(s,{\"line-width\":i.line.width,\"line-color\":i.color,\"line-opacity\":i.opacity,\"line-dasharray\":i.line.dash});break;case\"fill\":g.extendFlat(s,{\"fill-color\":i.color,\"fill-outline-color\":i.fill.outlinecolor,\"fill-opacity\":i.opacity});break;case\"symbol\":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{\"icon-image\":c.icon+\"-15\",\"icon-size\":c.iconsize/10,\"text-field\":c.text,\"text-size\":c.textfont.size,\"text-anchor\":h.anchor,\"text-offset\":h.offset,\"symbol-placement\":c.placement}),g.extendFlat(s,{\"icon-color\":i.color,\"text-color\":c.textfont.color,\"text-opacity\":i.opacity});break;case\"raster\":g.extendFlat(s,{\"raster-fade-duration\":0,\"raster-opacity\":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a===\"geojson\"?h=\"data\":a===\"vector\"?h=typeof s==\"string\"?\"url\":\"tiles\":a===\"raster\"?(h=\"tiles\",c.tileSize=256):a===\"image\"&&(h=\"url\",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),VD=ke({\"src/plots/mapbox/mapbox.js\"(Z,H){\"use strict\";var g=cM(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=op(),d=jD();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+\"-\"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y=b[u.id];u.map&&y.accesstoken!==u.accessToken&&(u.map.remove(),u.map=null,u.styleObj=null,u.traceHash={},u.layerList=[]);var f;u.map?f=new Promise(function(P,L){u.updateMap(m,b,P,L)}):f=new Promise(function(P,L){u.createMap(m,b,P,L)}),v.push(f)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style,b);y.accessToken=f.accesstoken;var L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0}));F._canvas.style.left=\"0px\",F._canvas.style.top=\"0px\",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var B=[];B.push(new Promise(function(O){F.once(\"load\",O)})),B=B.concat(A.fetchTraceGeoData(m)),Promise.all(B).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style,b);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once(\"styledata\",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf(\"event\")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off(\"click\",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on(\"zoomstart\",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off(\"zoomstart\",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener(\"touchstart\",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on(\"click\",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+\"px\",u.height=v.h*(b.y[1]-b.y[0])+\"px\",u.left=v.l+b.x[0]*v.w+\"px\",u.top=v.t+(1-b.y[1])*v.h+\"px\",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yB/2){var O=P.split(\"|\").join(\"
\");z.text(O).attr(\"data-unformatted\",O).call(o.convertToTspans,d),F=r.bBox(z.node())}z.attr(\"transform\",x(-3,-F.height+8)),L.insert(\"rect\",\".static-attribution\").attr({x:-F.width-6,y:-F.height-3,width:F.width+6,height:F.height+3,fill:\"rgba(255, 255, 255, 0.75)\"});var I=1;F.width+6>B&&(I=B/(F.width+6));var N=[_.l+_.w*E.x[1],_.t+_.h*(1-E.y[0])];L.attr(\"transform\",x(N[0],N[1])+A(I))}};function h(d,T){var l=d._fullLayout,_=d._context;if(_.mapboxAccessToken===\"\")return\"\";for(var w=[],M=[],E=!1,m=!1,b=0;b1&&g.warn(a.multipleTokensErrorMsg),w[0]):(M.length&&g.log([\"Listed mapbox access token(s)\",M.join(\",\"),\"but did not use a Mapbox map style, ignoring token(s).\"].join(\" \")),\"\")}function p(d){return typeof d==\"string\"&&(a.styleValuesMapbox.indexOf(d)!==-1||d.indexOf(\"mapbox://\")===0||d.indexOf(\"stamen\")===0)}Z.updateFx=function(d){for(var T=d._fullLayout,l=T._subplots[i],_=0;_=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup[\"trace-\"+n.uid];return r.map.addSource(a,{type:\"geojson\",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),ZD=ke({\"src/traces/choroplethmapbox/index.js\"(Z,H){\"use strict\";var g=[\"*choroplethmapbox* trace is deprecated!\",\"Please consider switching to the *choroplethmap* trace type and `map` subplots.\",\"Learn more at: https://plotly.com/python/maplibre-migration/\",\"as well as https://plotly.com/javascript/maplibre-migration/\"].join(\" \");H.exports={attributes:fM(),supplyDefaults:WD(),colorbar:Np(),calc:Qx(),plot:XD(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(x,A){if(A){var S=A[0].trace;S._glTrace.updateOnSelect(A)}},getBelow:function(x,A){for(var S=A.getMapLayers(),e=S.length-2;e>=0;e--){var t=S[e].id;if(typeof t==\"string\"&&t.indexOf(\"water\")===0){for(var r=e+1;r0?+d[h]:0),c.push({type:\"Feature\",geometry:{type:\"Point\",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup[\"trace-\"+o.uid];return t.map.addSource(i,{type:\"geojson\",data:a.geojson}),n._addLayers(a,s),n}}}),ez=ke({\"src/traces/densitymapbox/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=mb().hoverPoints,A=mb().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,\"z\"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),\"hover\").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),tz=ke({\"src/traces/densitymapbox/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),rz=ke({\"src/traces/densitymapbox/index.js\"(Z,H){\"use strict\";var g=[\"*densitymapbox* trace is deprecated!\",\"Please consider switching to the *densitymap* trace type and `map` subplots.\",\"Learn more at: https://plotly.com/python/maplibre-migration/\",\"as well as https://plotly.com/javascript/maplibre-migration/\"].join(\" \");H.exports={attributes:dM(),supplyDefaults:KD(),colorbar:Np(),formatLabels:lM(),calc:JD(),plot:QD(),hoverPoints:ez(),eventData:tz(),getBelow:function(x,A){for(var S=A.getMapLayers(),e=0;eESRI\"},ortoInstaMaps:{type:\"raster\",tiles:[\"https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png\"],tileSize:256,maxzoom:13},ortoICGC:{type:\"raster\",tiles:[\"https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg\"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:\"vector\",url:\"https://geoserveis.icgc.cat/contextmaps/basemap.json\"}},sprite:\"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1\",glyphs:\"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf\",layers:[{id:\"background\",type:\"background\",paint:{\"background-color\":\"#F4F9F4\"}},{id:\"ortoEsri\",type:\"raster\",source:\"ortoEsri\",maxzoom:16,layout:{visibility:\"visible\"}},{id:\"ortoICGC\",type:\"raster\",source:\"ortoICGC\",minzoom:13.1,maxzoom:19,layout:{visibility:\"visible\"}},{id:\"ortoInstaMaps\",type:\"raster\",source:\"ortoInstaMaps\",maxzoom:13,layout:{visibility:\"visible\"}},{id:\"waterway_tunnel\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"waterway\",minzoom:14,filter:[\"all\",[\"in\",\"class\",\"river\",\"stream\",\"canal\"],[\"==\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,6]]},\"line-dasharray\":[2,4]}},{id:\"waterway-other\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"!in\",\"class\",\"canal\",\"river\",\"stream\"],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,2]]}}},{id:\"waterway-stream-canal\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"all\",[\"in\",\"class\",\"canal\",\"stream\"],[\"!=\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,6]]}}},{id:\"waterway-river\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"all\",[\"==\",\"class\",\"river\"],[\"!=\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.2,stops:[[10,.8],[20,4]]},\"line-opacity\":.5}},{id:\"water-offset\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",maxzoom:8,filter:[\"==\",\"$type\",\"Polygon\"],layout:{visibility:\"visible\"},paint:{\"fill-opacity\":0,\"fill-color\":\"#a0c8f0\",\"fill-translate\":{base:1,stops:[[6,[2,0]],[8,[0,0]]]}}},{id:\"water\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",layout:{visibility:\"visible\"},paint:{\"fill-color\":\"hsl(210, 67%, 85%)\",\"fill-opacity\":0}},{id:\"water-pattern\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",layout:{visibility:\"visible\"},paint:{\"fill-translate\":[0,2.5],\"fill-pattern\":\"wave\",\"fill-opacity\":1}},{id:\"landcover-ice-shelf\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"landcover\",filter:[\"==\",\"subclass\",\"ice_shelf\"],layout:{visibility:\"visible\"},paint:{\"fill-color\":\"#fff\",\"fill-opacity\":{base:1,stops:[[0,.9],[10,.3]]}}},{id:\"tunnel-service-track-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"service\",\"track\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-dasharray\":[.5,.25],\"line-width\":{base:1.2,stops:[[15,1],[16,4],[20,11]]}}},{id:\"tunnel-minor-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"minor\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-opacity\":{stops:[[12,0],[12.5,1]]},\"line-width\":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:\"tunnel-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:\"tunnel-trunk-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.7}},{id:\"tunnel-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-dasharray\":[.5,.25],\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.5}},{id:\"tunnel-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-dasharray\":[1.5,.75],\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:\"tunnel-service-track\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"service\",\"track\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-width\":{base:1.2,stops:[[15.5,0],[16,2],[20,7.5]]}}},{id:\"tunnel-minor\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"minor_road\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:\"tunnel-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff4c6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,10]]}}},{id:\"tunnel-trunk-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff4c6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"tunnel-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#ffdaa6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"tunnel-railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]},\"line-dasharray\":[2,2]}},{id:\"ferry\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"in\",\"class\",\"ferry\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(108, 159, 182, 1)\",\"line-width\":1.1,\"line-dasharray\":[2,2]}},{id:\"aeroway-taxiway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:12,filter:[\"all\",[\"in\",\"class\",\"taxiway\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(153, 153, 153, 1)\",\"line-width\":{base:1.5,stops:[[11,2],[17,12]]},\"line-opacity\":1}},{id:\"aeroway-runway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:12,filter:[\"all\",[\"in\",\"class\",\"runway\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(153, 153, 153, 1)\",\"line-width\":{base:1.5,stops:[[11,5],[17,55]]},\"line-opacity\":1}},{id:\"aeroway-taxiway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:4,filter:[\"all\",[\"in\",\"class\",\"taxiway\"],[\"==\",\"$type\",\"LineString\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(255, 255, 255, 1)\",\"line-width\":{base:1.5,stops:[[11,1],[17,10]]},\"line-opacity\":{base:1,stops:[[11,0],[12,1]]}}},{id:\"aeroway-runway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:4,filter:[\"all\",[\"in\",\"class\",\"runway\"],[\"==\",\"$type\",\"LineString\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(255, 255, 255, 1)\",\"line-width\":{base:1.5,stops:[[11,4],[17,50]]},\"line-opacity\":{base:1,stops:[[11,0],[12,1]]}}},{id:\"highway-motorway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:12,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"highway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"highway-minor-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!=\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-opacity\":{stops:[[12,0],[12.5,0]]},\"line-width\":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:\"highway-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":.5,\"line-width\":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:\"highway-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":{stops:[[7,0],[8,.6]]},\"line-width\":{base:1.2,stops:[[7,0],[8,.6],[9,1.5],[20,22]]}}},{id:\"highway-trunk-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"trunk\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":{stops:[[5,0],[6,.5]]},\"line-width\":{base:1.2,stops:[[5,0],[6,.6],[7,1.5],[20,22]]}}},{id:\"highway-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:4,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[4,0],[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":{stops:[[4,0],[5,.5]]}}},{id:\"highway-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-dasharray\":[1.5,.75],\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:\"highway-motorway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:12,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"highway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"highway-minor\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!=\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-opacity\":.5,\"line-width\":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:\"highway-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[8,.5],[20,13]]},\"line-opacity\":.5}},{id:\"highway-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[8.5,0],[9,.5],[20,18]]},\"line-opacity\":0}},{id:\"highway-trunk\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"trunk\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"highway-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"railway-transit\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"transit\"],[\"!in\",\"brunnel\",\"tunnel\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.77)\",\"line-width\":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:\"railway-transit-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"transit\"],[\"!in\",\"brunnel\",\"tunnel\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.68)\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:\"railway-service\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"rail\"],[\"has\",\"service\"]]],paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.77)\",\"line-width\":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:\"railway-service-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"rail\"],[\"has\",\"service\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.68)\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:\"railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!has\",\"service\"],[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"rail\"]]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:\"railway-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!has\",\"service\"],[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"rail\"]]],paint:{\"line-color\":\"#bbb\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:\"bridge-motorway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"bridge-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"bridge-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[8,1.5],[20,28]]}}},{id:\"bridge-trunk-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(28, 76%, 67%)\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,26]]}}},{id:\"bridge-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.5}},{id:\"bridge-path-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#f8f4f0\",\"line-width\":{base:1.2,stops:[[15,1.2],[20,18]]}}},{id:\"bridge-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]},\"line-dasharray\":[1.5,.75]}},{id:\"bridge-motorway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"bridge-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"bridge-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,20]]}}},{id:\"bridge-trunk-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]}}},{id:\"bridge-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"bridge-railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:\"bridge-railway-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:\"cablecar\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"==\",\"class\",\"cable_car\"],layout:{visibility:\"visible\",\"line-cap\":\"round\"},paint:{\"line-color\":\"hsl(0, 0%, 70%)\",\"line-width\":{base:1,stops:[[11,1],[19,2.5]]}}},{id:\"cablecar-dash\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"==\",\"class\",\"cable_car\"],layout:{visibility:\"visible\",\"line-cap\":\"round\"},paint:{\"line-color\":\"hsl(0, 0%, 70%)\",\"line-width\":{base:1,stops:[[11,3],[19,5.5]]},\"line-dasharray\":[2,3]}},{id:\"boundary-land-level-4\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\">=\",\"admin_level\",4],[\"<=\",\"admin_level\",8],[\"!=\",\"maritime\",1]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#9e9cab\",\"line-dasharray\":[3,1,1,1],\"line-width\":{base:1.4,stops:[[4,.4],[5,1],[12,3]]},\"line-opacity\":.6}},{id:\"boundary-land-level-2\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"==\",\"admin_level\",2],[\"!=\",\"maritime\",1],[\"!=\",\"disputed\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(248, 7%, 66%)\",\"line-width\":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,2]]}}},{id:\"boundary-land-disputed\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"!=\",\"maritime\",1],[\"==\",\"disputed\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(248, 7%, 70%)\",\"line-dasharray\":[1,3],\"line-width\":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,8]]}}},{id:\"boundary-water\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"in\",\"admin_level\",2,4],[\"==\",\"maritime\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"rgba(154, 189, 214, 1)\",\"line-width\":{base:1,stops:[[0,.6],[4,1],[5,1],[12,1]]},\"line-opacity\":{stops:[[6,0],[10,0]]}}},{id:\"waterway-name\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"waterway\",minzoom:13,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"has\",\"name\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":\"{name:latin} {name:nonlatin}\",\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"line\",\"text-letter-spacing\":.2,\"symbol-spacing\":350},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-lakeline\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"==\",\"$type\",\"LineString\"],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"line\",\"symbol-spacing\":350,\"text-letter-spacing\":.2},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-ocean\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"==\",\"class\",\"ocean\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":\"{name:latin}\",\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"point\",\"symbol-spacing\":350,\"text-letter-spacing\":.2},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-other\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"!in\",\"class\",\"ocean\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":{stops:[[0,10],[6,14]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"point\",\"symbol-spacing\":350,\"text-letter-spacing\":.2,visibility:\"visible\"},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"poi-level-3\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:16,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\">=\",\"rank\",25]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"poi-level-2\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:15,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"<=\",\"rank\",24],[\">=\",\"rank\",15]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"poi-level-1\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:14,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"<=\",\"rank\",14],[\"has\",\"name\"]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":11,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"rgba(191, 228, 172, 1)\",\"text-halo-width\":1,\"text-halo-color\":\"rgba(30, 29, 29, 1)\"}},{id:\"poi-railway\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:13,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"has\",\"name\"],[\"==\",\"class\",\"railway\"],[\"==\",\"subclass\",\"station\"]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9,\"icon-optional\":!1,\"icon-ignore-placement\":!1,\"icon-allow-overlap\":!1,\"text-ignore-placement\":!1,\"text-allow-overlap\":!1,\"text-optional\":!0},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"road_oneway\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:15,filter:[\"all\",[\"==\",\"oneway\",1],[\"in\",\"class\",\"motorway\",\"trunk\",\"primary\",\"secondary\",\"tertiary\",\"minor\",\"service\"]],layout:{\"symbol-placement\":\"line\",\"icon-image\":\"oneway\",\"symbol-spacing\":75,\"icon-padding\":2,\"icon-rotation-alignment\":\"map\",\"icon-rotate\":90,\"icon-size\":{stops:[[15,.5],[19,1]]}},paint:{\"icon-opacity\":.5}},{id:\"road_oneway_opposite\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:15,filter:[\"all\",[\"==\",\"oneway\",-1],[\"in\",\"class\",\"motorway\",\"trunk\",\"primary\",\"secondary\",\"tertiary\",\"minor\",\"service\"]],layout:{\"symbol-placement\":\"line\",\"icon-image\":\"oneway\",\"symbol-spacing\":75,\"icon-padding\":2,\"icon-rotation-alignment\":\"map\",\"icon-rotate\":-90,\"icon-size\":{stops:[[15,.5],[19,1]]}},paint:{\"icon-opacity\":.5}},{id:\"highway-name-path\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:15.5,filter:[\"==\",\"class\",\"path\"],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-color\":\"#f8f4f0\",\"text-color\":\"hsl(30, 23%, 62%)\",\"text-halo-width\":.5}},{id:\"highway-name-minor\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:15,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-blur\":.5,\"text-color\":\"#765\",\"text-halo-width\":1}},{id:\"highway-name-major\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:12.2,filter:[\"in\",\"class\",\"primary\",\"secondary\",\"tertiary\",\"trunk\"],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-blur\":.5,\"text-color\":\"#765\",\"text-halo-width\":1}},{id:\"highway-shield\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:8,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"!in\",\"network\",\"us-interstate\",\"us-highway\",\"us-state\"]],layout:{\"text-size\":10,\"icon-image\":\"road_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[10,\"point\"],[11,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-opacity\":1,\"text-color\":\"rgba(20, 19, 19, 1)\",\"text-halo-color\":\"rgba(230, 221, 221, 0)\",\"text-halo-width\":2,\"icon-color\":\"rgba(183, 18, 18, 1)\",\"icon-opacity\":.3,\"icon-halo-color\":\"rgba(183, 55, 55, 0)\"}},{id:\"highway-shield-us-interstate\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:7,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"in\",\"network\",\"us-interstate\"]],layout:{\"text-size\":10,\"icon-image\":\"{network}_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[7,\"point\"],[7,\"line\"],[8,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\"}},{id:\"highway-shield-us-other\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:9,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"in\",\"network\",\"us-highway\",\"us-state\"]],layout:{\"text-size\":10,\"icon-image\":\"{network}_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[10,\"point\"],[11,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\"}},{id:\"place-other\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",minzoom:12,filter:[\"!in\",\"class\",\"city\",\"town\",\"village\",\"country\",\"continent\"],layout:{\"text-letter-spacing\":.1,\"text-size\":{base:1.2,stops:[[12,10],[15,14]]},\"text-font\":[\"Noto Sans Bold\"],\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-transform\":\"uppercase\",\"text-max-width\":9,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255,255,255,1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(57, 28, 28, 1)\"}},{id:\"place-village\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",minzoom:10,filter:[\"==\",\"class\",\"village\"],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[10,12],[15,16]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255, 255, 255, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(10, 9, 9, 0.8)\"}},{id:\"place-town\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"==\",\"class\",\"town\"],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[10,14],[15,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255, 255, 255, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(22, 22, 22, 0.8)\"}},{id:\"place-city\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"!=\",\"capital\",2],[\"==\",\"class\",\"city\"]],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[7,14],[11,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-city-capital\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"capital\",2],[\"==\",\"class\",\"city\"]],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[7,14],[11,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,\"icon-image\":\"star_11\",\"text-offset\":[.4,0],\"icon-size\":.8,\"text-anchor\":\"left\",visibility:\"visible\"},paint:{\"text-color\":\"#333\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-other\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\">=\",\"rank\",3],[\"!has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[3,11],[7,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-3\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\">=\",\"rank\",3],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[3,11],[7,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-2\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\"==\",\"rank\",2],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[2,11],[5,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-1\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\"==\",\"rank\",1],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[1,11],[4,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-continent\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",maxzoom:1,filter:[\"==\",\"class\",\"continent\"],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":14,\"text-max-width\":6.25,\"text-transform\":\"uppercase\",visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}}],id:\"qebnlkra6\"}}}),az=ke({\"src/plots/map/styles/arcgis-sat.js\"(Z,H){H.exports={version:8,name:\"orto\",metadata:{},center:[1.537786,41.837539],zoom:12,bearing:0,pitch:0,light:{anchor:\"viewport\",color:\"white\",intensity:.4,position:[1.15,45,30]},sources:{ortoEsri:{type:\"raster\",tiles:[\"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}\"],tileSize:256,maxzoom:18,attribution:\"ESRI © ESRI\"},ortoInstaMaps:{type:\"raster\",tiles:[\"https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png\"],tileSize:256,maxzoom:13},ortoICGC:{type:\"raster\",tiles:[\"https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg\"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:\"vector\",url:\"https://geoserveis.icgc.cat/contextmaps/basemap.json\"}},sprite:\"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1\",glyphs:\"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf\",layers:[{id:\"background\",type:\"background\",paint:{\"background-color\":\"#F4F9F4\"}},{id:\"ortoEsri\",type:\"raster\",source:\"ortoEsri\",maxzoom:16,layout:{visibility:\"visible\"}},{id:\"ortoICGC\",type:\"raster\",source:\"ortoICGC\",minzoom:13.1,maxzoom:19,layout:{visibility:\"visible\"}},{id:\"ortoInstaMaps\",type:\"raster\",source:\"ortoInstaMaps\",maxzoom:13,layout:{visibility:\"visible\"}}]}}}),tm=ke({\"src/plots/map/constants.js\"(Z,H){\"use strict\";var g=Ip(),x=iz(),A=az(),S='\\xA9 OpenStreetMap contributors',e=\"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json\",t=\"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json\",r=\"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json\",o=\"https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json\",n=\"https://basemaps.cartocdn.com/gl/dark-matter-nolabels-gl-style/style.json\",i=\"https://basemaps.cartocdn.com/gl/voyager-nolabels-gl-style/style.json\",a={basic:r,streets:r,outdoors:r,light:e,dark:t,satellite:A,\"satellite-streets\":x,\"open-street-map\":{id:\"osm\",version:8,sources:{\"plotly-osm-tiles\":{type:\"raster\",attribution:S,tiles:[\"https://tile.openstreetmap.org/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-osm-tiles\",type:\"raster\",source:\"plotly-osm-tiles\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"white-bg\":{id:\"white-bg\",version:8,sources:{},layers:[{id:\"white-bg\",type:\"background\",paint:{\"background-color\":\"#FFFFFF\"},minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-positron\":e,\"carto-darkmatter\":t,\"carto-voyager\":r,\"carto-positron-nolabels\":o,\"carto-darkmatter-nolabels\":n,\"carto-voyager-nolabels\":i},s=g(a);H.exports={styleValueDflt:\"basic\",stylesMap:a,styleValuesMap:s,traceLayerPrefix:\"plotly-trace-layer-\",layoutLayerPrefix:\"plotly-layout-layer-\",missingStyleErrorMsg:[\"No valid maplibre style found, please set `map.style` to one of:\",s.join(\", \"),\"or use a tile service.\"].join(`\n`),mapOnErrorMsg:\"Map error.\"}}}),e1=ke({\"src/plots/map/layout_attributes.js\"(Z,H){\"use strict\";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=tm(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt=\"Open Sans Regular, Arial Unicode MS Regular\";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex(\"map\",\".layers\",!0)],domain:A({name:\"map\"}),style:{valType:\"any\",values:o.styleValuesMap,dflt:o.styleValueDflt},center:{lon:{valType:\"number\",dflt:0},lat:{valType:\"number\",dflt:0}},zoom:{valType:\"number\",dflt:1},bearing:{valType:\"number\",dflt:0},pitch:{valType:\"number\",dflt:0},bounds:{west:{valType:\"number\"},east:{valType:\"number\"},south:{valType:\"number\"},north:{valType:\"number\"}},layers:r(\"layer\",{visible:{valType:\"boolean\",dflt:!0},sourcetype:{valType:\"enumerated\",values:[\"geojson\",\"vector\",\"raster\",\"image\"],dflt:\"geojson\"},source:{valType:\"any\"},sourcelayer:{valType:\"string\",dflt:\"\"},sourceattribution:{valType:\"string\"},type:{valType:\"enumerated\",values:[\"circle\",\"line\",\"fill\",\"symbol\",\"raster\"],dflt:\"circle\"},coordinates:{valType:\"any\"},below:{valType:\"string\"},color:{valType:\"color\",dflt:x},opacity:{valType:\"number\",min:0,max:1,dflt:1},minzoom:{valType:\"number\",min:0,max:24,dflt:0},maxzoom:{valType:\"number\",min:0,max:24,dflt:24},circle:{radius:{valType:\"number\",dflt:15}},line:{width:{valType:\"number\",dflt:2},dash:{valType:\"data_array\"}},fill:{outlinecolor:{valType:\"color\",dflt:x}},symbol:{icon:{valType:\"string\",dflt:\"marker\"},iconsize:{valType:\"number\",dflt:10},text:{valType:\"string\",dflt:\"\"},placement:{valType:\"enumerated\",values:[\"point\",\"line\",\"line-center\"],dflt:\"point\"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},\"plot\",\"from-root\");i.uirevision={valType:\"any\",editType:\"none\"}}}),yb=ke({\"src/traces/scattermap/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=e1(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=e1(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:\"boolean\"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:\"number\",arrayOk:!0,dflt:-1,min:-1},size:{valType:\"number\",arrayOk:!0,dflt:20,min:0},color:{valType:\"color\",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:\"markers\"}),text:n({},e.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"lat\",\"lon\",\"text\"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:\"string\",dflt:\"circle\",arrayOk:!0},angle:{valType:\"number\",dflt:\"auto\",arrayOk:!0},allowoverlap:{valType:\"boolean\",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o(\"marker\")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:\"string\"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:[\"lon\",\"lat\",\"text\",\"name\"]}),hovertemplate:g()},\"calc\",\"nested\")}}),vM=ke({\"src/traces/scattermap/constants.js\"(Z,H){\"use strict\";var g=[\"Metropolis Black Italic\",\"Metropolis Black\",\"Metropolis Bold Italic\",\"Metropolis Bold\",\"Metropolis Extra Bold Italic\",\"Metropolis Extra Bold\",\"Metropolis Extra Light Italic\",\"Metropolis Extra Light\",\"Metropolis Light Italic\",\"Metropolis Light\",\"Metropolis Medium Italic\",\"Metropolis Medium\",\"Metropolis Regular Italic\",\"Metropolis Regular\",\"Metropolis Semi Bold Italic\",\"Metropolis Semi Bold\",\"Metropolis Thin Italic\",\"Metropolis Thin\",\"Open Sans Bold Italic\",\"Open Sans Bold\",\"Open Sans Extrabold Italic\",\"Open Sans Extrabold\",\"Open Sans Italic\",\"Open Sans Light Italic\",\"Open Sans Light\",\"Open Sans Regular\",\"Open Sans Semibold Italic\",\"Open Sans Semibold\",\"Klokantech Noto Sans Bold\",\"Klokantech Noto Sans CJK Bold\",\"Klokantech Noto Sans CJK Regular\",\"Klokantech Noto Sans Italic\",\"Klokantech Noto Sans Regular\"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),oz=ke({\"src/traces/scattermap/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=yb(),o=vM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p(\"text\"),p(\"texttemplate\"),p(\"hovertext\"),p(\"hovertemplate\"),p(\"mode\"),p(\"below\"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p(\"marker.allowoverlap\"),p(\"marker.angle\");var l=s.marker;l.symbol!==\"circle\"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p(\"connectgaps\"));var _=d(\"cluster.maxzoom\"),w=d(\"cluster.step\"),M=d(\"cluster.color\",s.marker&&s.marker.color||c),E=d(\"cluster.size\"),m=d(\"cluster.opacity\"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p(\"cluster.enabled\",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:\"Open Sans Regular\",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p(\"fill\"),s.fill!==\"none\"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s(\"lon\")||[],h=s(\"lat\")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),pM=ke({\"src/traces/scattermap/format_labels.js\"(Z,H){\"use strict\";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),mM=ke({\"src/plots/map/convert_text_opts.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=A.split(\" \"),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=[\"\",\"\"],s=[0,0];switch(t){case\"top\":a[0]=\"top\",s[1]=-i;break;case\"bottom\":a[0]=\"bottom\",s[1]=i;break}switch(r){case\"left\":a[1]=\"right\",s[0]=-n;break;case\"right\":a[1]=\"left\",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join(\"-\"):a[0]?c=a[0]:a[1]?c=a[1]:c=\"center\",{anchor:c,offset:s}}}}),sz=ke({\"src/traces/scattermap/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=vM().isSupportedFont,i=mM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!==\"none\",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol===\"circle\",F=P&&v.marker.symbol!==\"circle\",B=v.cluster&&v.cluster.enabled,O=h(\"fill\"),I=h(\"line\"),N=h(\"circle\"),U=h(\"symbol\"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility=\"visible\",x.extendFlat(O.paint,{\"fill-color\":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility=\"visible\",x.extendFlat(I.paint,{\"line-width\":v.line.width,\"line-color\":v.line.color,\"line-opacity\":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility=\"visible\",B&&(N.filter=[\"!\",[\"has\",\"point_count\"]],W.cluster={type:\"circle\",filter:[\"has\",\"point_count\"],layout:{visibility:\"visible\"},paint:{\"circle-color\":w(v.cluster.color,v.cluster.step),\"circle-radius\":w(v.cluster.size,v.cluster.step),\"circle-opacity\":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:\"symbol\",filter:[\"has\",\"point_count\"],paint:{},layout:{\"text-field\":\"{point_count_abbreviated}\",\"text-font\":M(v),\"text-size\":12}}),x.extendFlat(N.paint,{\"circle-color\":le.mcc,\"circle-radius\":le.mrc,\"circle-opacity\":le.mo})}if(z&&B&&(N.filter=[\"!\",[\"has\",\"point_count\"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:\"visible\",\"icon-image\":\"{symbol}-15\",\"text-field\":\"{text}\"}),F&&(x.extendFlat(U.layout,{\"icon-size\":v.marker.size/10}),\"angle\"in v.marker&&v.marker.angle!==\"auto\"&&x.extendFlat(U.layout,{\"icon-rotate\":{type:\"identity\",property:\"angle\"},\"icon-rotation-alignment\":\"map\"}),U.layout[\"icon-allow-overlap\"]=v.marker.allowoverlap,x.extendFlat(U.paint,{\"icon-opacity\":v.opacity*v.marker.opacity,\"icon-color\":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{\"text-size\":v.textfont.size,\"text-anchor\":fe.anchor,\"text-offset\":fe.offset,\"text-font\":M(v)}),x.extendFlat(U.paint,{\"text-color\":v.textfont.color,\"text-opacity\":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:\"none\"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,\"marker\")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=\" Black\":u>750?P+=\" Extra Bold\":u>650?P+=\" Bold\":u>550?P+=\" Semi Bold\":u>450?P+=\" Medium\":u>350?P+=\" Regular\":u>250?P+=\" Light\":u>150?P+=\" Extra Light\":P+=\" Thin\"):y.slice(0,2).join(\" \")===\"Open Sans\"?(P=\"Open Sans\",u>750?P+=\" Extrabold\":u>650?P+=\" Bold\":u>550?P+=\" Semibold\":u>350?P+=\" Regular\":P+=\" Light\"):y.slice(0,3).join(\" \")===\"Klokantech Noto Sans\"&&(P=\"Klokantech Noto Sans\",y[3]===\"CJK\"&&(P+=\" CJK\"),P+=u>500?\" Bold\":\" Regular\")),f&&(P+=\" Italic\"),P===\"Open Sans Regular Italic\"?P=\"Open Sans Italic\":P===\"Open Sans Regular Bold\"?P=\"Open Sans Bold\":P===\"Open Sans Regular Bold Italic\"?P=\"Open Sans Bold Italic\":P===\"Klokantech Noto Sans Regular Italic\"&&(P=\"Klokantech Noto Sans Italic\"),n(P)||(P=b);var L=P.split(\", \");return L}}}),lz=ke({\"src/traces/scattermap/plot.js\"(Z,H){\"use strict\";var g=un(),x=sz(),A=tm().traceLayerPrefix,S={cluster:[\"cluster\",\"clusterCount\",\"circle\"],nonCluster:[\"fill\",\"line\",\"circle\",\"symbol\"]};function e(r,o,n,i){this.type=\"scattermap\",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:\"source-\"+o+\"-fill\",line:\"source-\"+o+\"-line\",circle:\"source-\"+o+\"-circle\",symbol:\"source-\"+o+\"-symbol\",cluster:\"source-\"+o+\"-circle\",clusterCount:\"source-\"+o+\"-circle\"},this.layerIds={fill:A+o+\"-fill\",line:A+o+\"-line\",circle:A+o+\"-circle\",symbol:A+o+\"-symbol\",cluster:A+o+\"-cluster\",clusterCount:A+o+\"-cluster-count\"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:\"geojson\",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup[\"trace-\"+i.uid],d,T,l;if(a)for(c.addSource(\"circle\",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split(\"+\"),h=c.indexOf(\"all\")!==-1,p=c.indexOf(\"lon\")!==-1,d=c.indexOf(\"lat\")!==-1,T=i.lonlat,l=[];function _(w){return w+\"\\xB0\"}return h||p&&d?l.push(\"(\"+_(T[1])+\", \"+_(T[0])+\")\"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf(\"text\")!==-1)&&S(i,n,l),l.join(\"
\")}H.exports={hoverPoints:r,getExtraText:o}}}),uz=ke({\"src/traces/scattermap/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),cz=ke({\"src/traces/scattermap/select.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var c=r(a);let h,p;function d(){return h==null&&(h=typeof OffscreenCanvas<\"u\"&&new OffscreenCanvas(1,1).getContext(\"2d\")&&typeof createImageBitmap==\"function\"),h}function T(){if(p==null&&(p=!1,d())){let D=new OffscreenCanvas(5,5).getContext(\"2d\",{willReadFrequently:!0});if(D){for(let he=0;he<5*5;he++){let Ce=4*he;D.fillStyle=`rgb(${Ce},${Ce+1},${Ce+2})`,D.fillRect(he%5,Math.floor(he/5),1,1)}let Y=D.getImageData(0,0,5,5).data;for(let he=0;he<5*5*4;he++)if(he%4!=3&&Y[he]!==he){p=!0;break}}}return p||!1}function l(q,D,Y,he){let Ce=new c(q,D,Y,he);return Ve=>Ce.solve(Ve)}let _=l(.25,.1,.25,1);function w(q,D,Y){return Math.min(Y,Math.max(D,q))}function M(q,D,Y){let he=Y-D,Ce=((q-D)%he+he)%he+D;return Ce===D?Y:Ce}function E(q,...D){for(let Y of D)for(let he in Y)q[he]=Y[he];return q}let m=1;function b(q,D,Y){let he={};for(let Ce in q)he[Ce]=D.call(this,q[Ce],Ce,q);return he}function v(q,D,Y){let he={};for(let Ce in q)D.call(this,q[Ce],Ce,q)&&(he[Ce]=q[Ce]);return he}function u(q){return Array.isArray(q)?q.map(u):typeof q==\"object\"&&q?b(q,u):q}let y={};function f(q){y[q]||(typeof console<\"u\"&&console.warn(q),y[q]=!0)}function P(q,D,Y){return(Y.y-q.y)*(D.x-q.x)>(D.y-q.y)*(Y.x-q.x)}function L(q){return typeof WorkerGlobalScope<\"u\"&&q!==void 0&&q instanceof WorkerGlobalScope}let z=null;function F(q){return typeof ImageBitmap<\"u\"&&q instanceof ImageBitmap}let B=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\";function O(q,D,Y,he,Ce){return t(this,void 0,void 0,function*(){if(typeof VideoFrame>\"u\")throw new Error(\"VideoFrame not supported\");let Ve=new VideoFrame(q,{timestamp:0});try{let Xe=Ve?.format;if(!Xe||!Xe.startsWith(\"BGR\")&&!Xe.startsWith(\"RGB\"))throw new Error(`Unrecognized format ${Xe}`);let ct=Xe.startsWith(\"BGR\"),At=new Uint8ClampedArray(he*Ce*4);if(yield Ve.copyTo(At,function(Ot,er,cr,Sr,Nr){let rn=4*Math.max(-er,0),mn=(Math.max(0,cr)-cr)*Sr*4+rn,Gn=4*Sr,ei=Math.max(0,er),Ri=Math.max(0,cr);return{rect:{x:ei,y:Ri,width:Math.min(Ot.width,er+Sr)-ei,height:Math.min(Ot.height,cr+Nr)-Ri},layout:[{offset:mn,stride:Gn}]}}(q,D,Y,he,Ce)),ct)for(let Ot=0;OtL(self)?self.worker&&self.worker.referrer:(window.location.protocol===\"blob:\"?window.parent:window).location.href,$=function(q,D){if(/:\\/\\//.test(q.url)&&!/^https?:|^file:/.test(q.url)){let he=le(q.url);if(he)return he(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:\"GR\",data:q,targetMapId:se},D)}if(!(/^file:/.test(Y=q.url)||/^file:/.test(G())&&!/^\\w+:/.test(Y))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,\"signal\"))return function(he,Ce){return t(this,void 0,void 0,function*(){let Ve=new Request(he.url,{method:he.method||\"GET\",body:he.body,credentials:he.credentials,headers:he.headers,cache:he.cache,referrer:G(),signal:Ce.signal});he.type!==\"json\"||Ve.headers.has(\"Accept\")||Ve.headers.set(\"Accept\",\"application/json\");let Xe=yield fetch(Ve);if(!Xe.ok){let Ot=yield Xe.blob();throw new fe(Xe.status,Xe.statusText,he.url,Ot)}let ct;ct=he.type===\"arrayBuffer\"||he.type===\"image\"?Xe.arrayBuffer():he.type===\"json\"?Xe.json():Xe.text();let At=yield ct;if(Ce.signal.aborted)throw W();return{data:At,cacheControl:Xe.headers.get(\"Cache-Control\"),expires:Xe.headers.get(\"Expires\")}})}(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:\"GR\",data:q,mustQueue:!0,targetMapId:se},D)}var Y;return function(he,Ce){return new Promise((Ve,Xe)=>{var ct;let At=new XMLHttpRequest;At.open(he.method||\"GET\",he.url,!0),he.type!==\"arrayBuffer\"&&he.type!==\"image\"||(At.responseType=\"arraybuffer\");for(let Ot in he.headers)At.setRequestHeader(Ot,he.headers[Ot]);he.type===\"json\"&&(At.responseType=\"text\",!((ct=he.headers)===null||ct===void 0)&&ct.Accept||At.setRequestHeader(\"Accept\",\"application/json\")),At.withCredentials=he.credentials===\"include\",At.onerror=()=>{Xe(new Error(At.statusText))},At.onload=()=>{if(!Ce.signal.aborted)if((At.status>=200&&At.status<300||At.status===0)&&At.response!==null){let Ot=At.response;if(he.type===\"json\")try{Ot=JSON.parse(At.response)}catch(er){return void Xe(er)}Ve({data:Ot,cacheControl:At.getResponseHeader(\"Cache-Control\"),expires:At.getResponseHeader(\"Expires\")})}else{let Ot=new Blob([At.response],{type:At.getResponseHeader(\"Content-Type\")});Xe(new fe(At.status,At.statusText,he.url,Ot))}},Ce.signal.addEventListener(\"abort\",()=>{At.abort(),Xe(W())}),At.send(he.body)})}(q,D)};function J(q){if(!q||q.indexOf(\"://\")<=0||q.indexOf(\"data:image/\")===0||q.indexOf(\"blob:\")===0)return!0;let D=new URL(q),Y=window.location;return D.protocol===Y.protocol&&D.host===Y.host}function X(q,D,Y){Y[q]&&Y[q].indexOf(D)!==-1||(Y[q]=Y[q]||[],Y[q].push(D))}function re(q,D,Y){if(Y&&Y[q]){let he=Y[q].indexOf(D);he!==-1&&Y[q].splice(he,1)}}class ae{constructor(D,Y={}){E(this,Y),this.type=D}}class j extends ae{constructor(D,Y={}){super(\"error\",E({error:D},Y))}}class ee{on(D,Y){return this._listeners=this._listeners||{},X(D,Y,this._listeners),this}off(D,Y){return re(D,Y,this._listeners),re(D,Y,this._oneTimeListeners),this}once(D,Y){return Y?(this._oneTimeListeners=this._oneTimeListeners||{},X(D,Y,this._oneTimeListeners),this):new Promise(he=>this.once(D,he))}fire(D,Y){typeof D==\"string\"&&(D=new ae(D,Y||{}));let he=D.type;if(this.listens(he)){D.target=this;let Ce=this._listeners&&this._listeners[he]?this._listeners[he].slice():[];for(let ct of Ce)ct.call(this,D);let Ve=this._oneTimeListeners&&this._oneTimeListeners[he]?this._oneTimeListeners[he].slice():[];for(let ct of Ve)re(he,ct,this._oneTimeListeners),ct.call(this,D);let Xe=this._eventedParent;Xe&&(E(D,typeof this._eventedParentData==\"function\"?this._eventedParentData():this._eventedParentData),Xe.fire(D))}else D instanceof j&&console.error(D.error);return this}listens(D){return this._listeners&&this._listeners[D]&&this._listeners[D].length>0||this._oneTimeListeners&&this._oneTimeListeners[D]&&this._oneTimeListeners[D].length>0||this._eventedParent&&this._eventedParent.listens(D)}setEventedParent(D,Y){return this._eventedParent=D,this._eventedParentData=Y,this}}var ie={$version:8,$root:{version:{required:!0,type:\"enum\",values:[8]},name:{type:\"string\"},metadata:{type:\"*\"},center:{type:\"array\",value:\"number\"},zoom:{type:\"number\"},bearing:{type:\"number\",default:0,period:360,units:\"degrees\"},pitch:{type:\"number\",default:0,units:\"degrees\"},light:{type:\"light\"},sky:{type:\"sky\"},projection:{type:\"projection\"},terrain:{type:\"terrain\"},sources:{required:!0,type:\"sources\"},sprite:{type:\"sprite\"},glyphs:{type:\"string\"},transition:{type:\"transition\"},layers:{required:!0,type:\"array\",value:\"layer\"}},sources:{\"*\":{type:\"source\"}},source:[\"source_vector\",\"source_raster\",\"source_raster_dem\",\"source_geojson\",\"source_video\",\"source_image\"],source_vector:{type:{required:!0,type:\"enum\",values:{vector:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},attribution:{type:\"string\"},promoteId:{type:\"promoteId\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_raster:{type:{required:!0,type:\"enum\",values:{raster:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},attribution:{type:\"string\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_raster_dem:{type:{required:!0,type:\"enum\",values:{\"raster-dem\":{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},attribution:{type:\"string\"},encoding:{type:\"enum\",values:{terrarium:{},mapbox:{},custom:{}},default:\"mapbox\"},redFactor:{type:\"number\",default:1},blueFactor:{type:\"number\",default:1},greenFactor:{type:\"number\",default:1},baseShift:{type:\"number\",default:0},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_geojson:{type:{required:!0,type:\"enum\",values:{geojson:{}}},data:{required:!0,type:\"*\"},maxzoom:{type:\"number\",default:18},attribution:{type:\"string\"},buffer:{type:\"number\",default:128,maximum:512,minimum:0},filter:{type:\"*\"},tolerance:{type:\"number\",default:.375},cluster:{type:\"boolean\",default:!1},clusterRadius:{type:\"number\",default:50,minimum:0},clusterMaxZoom:{type:\"number\"},clusterMinPoints:{type:\"number\"},clusterProperties:{type:\"*\"},lineMetrics:{type:\"boolean\",default:!1},generateId:{type:\"boolean\",default:!1},promoteId:{type:\"promoteId\"}},source_video:{type:{required:!0,type:\"enum\",values:{video:{}}},urls:{required:!0,type:\"array\",value:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},source_image:{type:{required:!0,type:\"enum\",values:{image:{}}},url:{required:!0,type:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},layer:{id:{type:\"string\",required:!0},type:{type:\"enum\",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},\"fill-extrusion\":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:\"*\"},source:{type:\"string\"},\"source-layer\":{type:\"string\"},minzoom:{type:\"number\",minimum:0,maximum:24},maxzoom:{type:\"number\",minimum:0,maximum:24},filter:{type:\"filter\"},layout:{type:\"layout\"},paint:{type:\"paint\"}},layout:[\"layout_fill\",\"layout_line\",\"layout_circle\",\"layout_heatmap\",\"layout_fill-extrusion\",\"layout_symbol\",\"layout_raster\",\"layout_hillshade\",\"layout_background\"],layout_background:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_fill:{\"fill-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_circle:{\"circle-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_heatmap:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},\"layout_fill-extrusion\":{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_line:{\"line-cap\":{type:\"enum\",values:{butt:{},round:{},square:{}},default:\"butt\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-join\":{type:\"enum\",values:{bevel:{},round:{},miter:{}},default:\"miter\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"line-miter-limit\":{type:\"number\",default:2,requires:[{\"line-join\":\"miter\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-round-limit\":{type:\"number\",default:1.05,requires:[{\"line-join\":\"round\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_symbol:{\"symbol-placement\":{type:\"enum\",values:{point:{},line:{},\"line-center\":{}},default:\"point\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-spacing\":{type:\"number\",default:250,minimum:1,units:\"pixels\",requires:[{\"symbol-placement\":\"line\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-avoid-edges\":{type:\"boolean\",default:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"symbol-z-order\":{type:\"enum\",values:{auto:{},\"viewport-y\":{},source:{}},default:\"auto\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"!\":\"icon-overlap\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-overlap\":{type:\"enum\",values:{never:{},always:{},cooperative:{}},requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-optional\":{type:\"boolean\",default:!1,requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-size\":{type:\"number\",default:1,minimum:0,units:\"factor of the original icon size\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-text-fit\":{type:\"enum\",values:{none:{},width:{},height:{},both:{}},default:\"none\",requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-text-fit-padding\":{type:\"array\",value:\"number\",length:4,default:[0,0,0,0],units:\"pixels\",requires:[\"icon-image\",\"text-field\",{\"icon-text-fit\":[\"both\",\"width\",\"height\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-image\":{type:\"resolvedImage\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-padding\":{type:\"padding\",default:[2],units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-keep-upright\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"icon-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-offset\":{type:\"array\",value:\"number\",length:2,default:[0,0],requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},\"viewport-glyph\":{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-field\":{type:\"formatted\",default:\"\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-font\":{type:\"array\",value:\"string\",default:[\"Open Sans Regular\",\"Arial Unicode MS Regular\"],requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-size\":{type:\"number\",default:16,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-width\":{type:\"number\",default:10,minimum:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-line-height\":{type:\"number\",default:1.2,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-letter-spacing\":{type:\"number\",default:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-justify\":{type:\"enum\",values:{auto:{},left:{},center:{},right:{}},default:\"center\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-radial-offset\":{type:\"number\",units:\"ems\",default:0,requires:[\"text-field\"],\"property-type\":\"data-driven\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]}},\"text-variable-anchor\":{type:\"array\",value:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-variable-anchor-offset\":{type:\"variableAnchorOffsetCollection\",requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"text-field\",{\"!\":\"text-variable-anchor\"}],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-angle\":{type:\"number\",default:45,units:\"degrees\",requires:[\"text-field\",{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-writing-mode\":{type:\"array\",value:\"enum\",values:{horizontal:{},vertical:{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-keep-upright\":{type:\"boolean\",default:!0,requires:[\"text-field\",{\"text-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-transform\":{type:\"enum\",values:{none:{},uppercase:{},lowercase:{}},default:\"none\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-offset\":{type:\"array\",value:\"number\",units:\"ems\",length:2,default:[0,0],requires:[\"text-field\",{\"!\":\"text-radial-offset\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"text-field\",{\"!\":\"text-overlap\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-overlap\":{type:\"enum\",values:{never:{},always:{},cooperative:{}},requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-optional\":{type:\"boolean\",default:!1,requires:[\"text-field\",\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_raster:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_hillshade:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},filter:{type:\"array\",value:\"*\"},filter_operator:{type:\"enum\",values:{\"==\":{},\"!=\":{},\">\":{},\">=\":{},\"<\":{},\"<=\":{},in:{},\"!in\":{},all:{},any:{},none:{},has:{},\"!has\":{}}},geometry_type:{type:\"enum\",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:\"expression\"},stops:{type:\"array\",value:\"function_stop\"},base:{type:\"number\",default:1,minimum:0},property:{type:\"string\",default:\"$zoom\"},type:{type:\"enum\",values:{identity:{},exponential:{},interval:{},categorical:{}},default:\"exponential\"},colorSpace:{type:\"enum\",values:{rgb:{},lab:{},hcl:{}},default:\"rgb\"},default:{type:\"*\",required:!1}},function_stop:{type:\"array\",minimum:0,maximum:24,value:[\"number\",\"color\"],length:2},expression:{type:\"array\",value:\"*\",minimum:1},light:{anchor:{type:\"enum\",default:\"viewport\",values:{map:{},viewport:{}},\"property-type\":\"data-constant\",transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]}},position:{type:\"array\",default:[1.15,210,30],length:3,value:\"number\",\"property-type\":\"data-constant\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]}},color:{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},intensity:{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},sky:{\"sky-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#88C6FC\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"horizon-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"fog-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"fog-ground-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"horizon-fog-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"sky-horizon-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"atmosphere-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},terrain:{source:{type:\"string\",required:!0},exaggeration:{type:\"number\",minimum:0,default:1}},projection:{type:{type:\"enum\",default:\"mercator\",values:{mercator:{},globe:{}}}},paint:[\"paint_fill\",\"paint_line\",\"paint_circle\",\"paint_heatmap\",\"paint_fill-extrusion\",\"paint_symbol\",\"paint_raster\",\"paint_hillshade\",\"paint_background\"],paint_fill:{\"fill-antialias\":{type:\"boolean\",default:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-outline-color\":{type:\"color\",transition:!0,requires:[{\"!\":\"fill-pattern\"},{\"fill-antialias\":!0}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"}},\"paint_fill-extrusion\":{\"fill-extrusion-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-extrusion-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-extrusion-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"fill-extrusion-height\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-base\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,requires:[\"fill-extrusion-height\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-vertical-gradient\":{type:\"boolean\",default:!0,transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_line:{\"line-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"line-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-width\":{type:\"number\",default:1,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-gap-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-offset\":{type:\"number\",default:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-dasharray\":{type:\"array\",value:\"number\",minimum:0,transition:!0,units:\"line widths\",requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"line-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"line-gradient\":{type:\"color\",transition:!1,requires:[{\"!\":\"line-dasharray\"},{\"!\":\"line-pattern\"},{source:\"geojson\",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:[\"line-progress\"]},\"property-type\":\"color-ramp\"}},paint_circle:{\"circle-radius\":{type:\"number\",default:5,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-blur\":{type:\"number\",default:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"circle-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-scale\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-stroke-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"}},paint_heatmap:{\"heatmap-radius\":{type:\"number\",default:30,minimum:1,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-weight\":{type:\"number\",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-intensity\":{type:\"number\",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"heatmap-color\":{type:\"color\",default:[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,\"rgba(0, 0, 255, 0)\",.1,\"royalblue\",.3,\"cyan\",.5,\"lime\",.7,\"yellow\",1,\"red\"],transition:!1,expression:{interpolated:!0,parameters:[\"heatmap-density\"]},\"property-type\":\"color-ramp\"},\"heatmap-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_symbol:{\"icon-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"icon-image\",\"icon-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-color\":{type:\"color\",default:\"#000000\",transition:!0,overridable:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"text-field\",\"text-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_raster:{\"raster-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-hue-rotate\":{type:\"number\",default:0,period:360,transition:!0,units:\"degrees\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-min\":{type:\"number\",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-max\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-saturation\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-contrast\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-resampling\":{type:\"enum\",values:{linear:{},nearest:{}},default:\"linear\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-fade-duration\":{type:\"number\",default:300,minimum:0,transition:!1,units:\"milliseconds\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_hillshade:{\"hillshade-illumination-direction\":{type:\"number\",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-illumination-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-exaggeration\":{type:\"number\",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-shadow-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-highlight-color\":{type:\"color\",default:\"#FFFFFF\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-accent-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_background:{\"background-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"background-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"background-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"background-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},transition:{duration:{type:\"number\",default:300,minimum:0,units:\"milliseconds\"},delay:{type:\"number\",default:0,minimum:0,units:\"milliseconds\"}},\"property-type\":{\"data-driven\":{type:\"property-type\"},\"cross-faded\":{type:\"property-type\"},\"cross-faded-data-driven\":{type:\"property-type\"},\"color-ramp\":{type:\"property-type\"},\"data-constant\":{type:\"property-type\"},constant:{type:\"property-type\"}},promoteId:{\"*\":{type:\"string\"}}};let ce=[\"type\",\"source\",\"source-layer\",\"minzoom\",\"maxzoom\",\"filter\",\"layout\"];function xe(q,D){let Y={};for(let he in q)he!==\"ref\"&&(Y[he]=q[he]);return ce.forEach(he=>{he in D&&(Y[he]=D[he])}),Y}function Te(q,D){if(Array.isArray(q)){if(!Array.isArray(D)||q.length!==D.length)return!1;for(let Y=0;Y`:q.itemType.kind===\"value\"?\"array\":`array<${D}>`}return q.kind}let je=[ot,et,Lt,Et,Bt,Rr,qt,Be(fr),gr,br,_t];function Se(q,D){if(D.kind===\"error\")return null;if(q.kind===\"array\"){if(D.kind===\"array\"&&(D.N===0&&D.itemType.kind===\"value\"||!Se(q.itemType,D.itemType))&&(typeof q.N!=\"number\"||q.N===D.N))return null}else{if(q.kind===D.kind)return null;if(q.kind===\"value\"){for(let Y of je)if(!Se(Y,D))return null}}return`Expected ${Ke(q)} but found ${Ke(D)} instead.`}function He(q,D){return D.some(Y=>Y.kind===q.kind)}function Ee(q,D){return D.some(Y=>Y===\"null\"?q===null:Y===\"array\"?Array.isArray(q):Y===\"object\"?q&&!Array.isArray(q)&&typeof q==\"object\":Y===typeof q)}function we(q,D){return q.kind===\"array\"&&D.kind===\"array\"?q.itemType.kind===D.itemType.kind&&typeof q.N==\"number\":q.kind===D.kind}let Le=.96422,nt=.82521,pt=4/29,bt=6/29,Rt=3*bt*bt,Nt=bt*bt*bt,Xt=Math.PI/180,$t=180/Math.PI;function ur(q){return(q%=360)<0&&(q+=360),q}function pn([q,D,Y,he]){let Ce,Ve,Xe=Nn((.2225045*(q=Rn(q))+.7168786*(D=Rn(D))+.0606169*(Y=Rn(Y)))/1);q===D&&D===Y?Ce=Ve=Xe:(Ce=Nn((.4360747*q+.3850649*D+.1430804*Y)/Le),Ve=Nn((.0139322*q+.0971045*D+.7141733*Y)/nt));let ct=116*Xe-16;return[ct<0?0:ct,500*(Ce-Xe),200*(Xe-Ve),he]}function Rn(q){return q<=.04045?q/12.92:Math.pow((q+.055)/1.055,2.4)}function Nn(q){return q>Nt?Math.pow(q,1/3):q/Rt+pt}function On([q,D,Y,he]){let Ce=(q+16)/116,Ve=isNaN(D)?Ce:Ce+D/500,Xe=isNaN(Y)?Ce:Ce-Y/200;return Ce=1*zn(Ce),Ve=Le*zn(Ve),Xe=nt*zn(Xe),[ni(3.1338561*Ve-1.6168667*Ce-.4906146*Xe),ni(-.9787684*Ve+1.9161415*Ce+.033454*Xe),ni(.0719453*Ve-.2289914*Ce+1.4052427*Xe),he]}function ni(q){return(q=q<=.00304?12.92*q:1.055*Math.pow(q,1/2.4)-.055)<0?0:q>1?1:q}function zn(q){return q>bt?q*q*q:Rt*(q-pt)}function Qn(q){return parseInt(q.padEnd(2,q),16)/255}function gi(q,D){return Zt(D?q/100:q,0,1)}function Zt(q,D,Y){return Math.min(Math.max(D,q),Y)}function Ft(q){return!q.some(Number.isNaN)}let Ht={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]};class Vt{constructor(D,Y,he,Ce=1,Ve=!0){this.r=D,this.g=Y,this.b=he,this.a=Ce,Ve||(this.r*=Ce,this.g*=Ce,this.b*=Ce,Ce||this.overwriteGetter(\"rgb\",[D,Y,he,Ce]))}static parse(D){if(D instanceof Vt)return D;if(typeof D!=\"string\")return;let Y=function(he){if((he=he.toLowerCase().trim())===\"transparent\")return[0,0,0,0];let Ce=Ht[he];if(Ce){let[Xe,ct,At]=Ce;return[Xe/255,ct/255,At/255,1]}if(he.startsWith(\"#\")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(he)){let Xe=he.length<6?1:2,ct=1;return[Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+Xe)||\"ff\")]}if(he.startsWith(\"rgb\")){let Xe=he.match(/^rgba?\\(\\s*([\\de.+-]+)(%)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)(%)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)(%)?(?:\\s*([,\\/])\\s*([\\de.+-]+)(%)?)?\\s*\\)$/);if(Xe){let[ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri]=Xe,fi=[er||\" \",Nr||\" \",Gn].join(\"\");if(fi===\" \"||fi===\" /\"||fi===\",,\"||fi===\",,,\"){let Si=[Ot,Sr,mn].join(\"\"),Gi=Si===\"%%%\"?100:Si===\"\"?255:0;if(Gi){let Ha=[Zt(+At/Gi,0,1),Zt(+cr/Gi,0,1),Zt(+rn/Gi,0,1),ei?gi(+ei,Ri):1];if(Ft(Ha))return Ha}}return}}let Ve=he.match(/^hsla?\\(\\s*([\\de.+-]+)(?:deg)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)%(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)%(?:\\s*([,\\/])\\s*([\\de.+-]+)(%)?)?\\s*\\)$/);if(Ve){let[Xe,ct,At,Ot,er,cr,Sr,Nr,rn]=Ve,mn=[At||\" \",er||\" \",Sr].join(\"\");if(mn===\" \"||mn===\" /\"||mn===\",,\"||mn===\",,,\"){let Gn=[+ct,Zt(+Ot,0,100),Zt(+cr,0,100),Nr?gi(+Nr,rn):1];if(Ft(Gn))return function([ei,Ri,fi,Si]){function Gi(Ha){let Po=(Ha+ei/30)%12,xs=Ri*Math.min(fi,1-fi);return fi-xs*Math.max(-1,Math.min(Po-3,9-Po,1))}return ei=ur(ei),Ri/=100,fi/=100,[Gi(0),Gi(8),Gi(4),Si]}(Gn)}}}(D);return Y?new Vt(...Y,!1):void 0}get rgb(){let{r:D,g:Y,b:he,a:Ce}=this,Ve=Ce||1/0;return this.overwriteGetter(\"rgb\",[D/Ve,Y/Ve,he/Ve,Ce])}get hcl(){return this.overwriteGetter(\"hcl\",function(D){let[Y,he,Ce,Ve]=pn(D),Xe=Math.sqrt(he*he+Ce*Ce);return[Math.round(1e4*Xe)?ur(Math.atan2(Ce,he)*$t):NaN,Xe,Y,Ve]}(this.rgb))}get lab(){return this.overwriteGetter(\"lab\",pn(this.rgb))}overwriteGetter(D,Y){return Object.defineProperty(this,D,{value:Y}),Y}toString(){let[D,Y,he,Ce]=this.rgb;return`rgba(${[D,Y,he].map(Ve=>Math.round(255*Ve)).join(\",\")},${Ce})`}}Vt.black=new Vt(0,0,0,1),Vt.white=new Vt(1,1,1,1),Vt.transparent=new Vt(0,0,0,0),Vt.red=new Vt(1,0,0,1);class wr{constructor(D,Y,he){this.sensitivity=D?Y?\"variant\":\"case\":Y?\"accent\":\"base\",this.locale=he,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:\"search\"})}compare(D,Y){return this.collator.compare(D,Y)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class $r{constructor(D,Y,he,Ce,Ve){this.text=D,this.image=Y,this.scale=he,this.fontStack=Ce,this.textColor=Ve}}class xn{constructor(D){this.sections=D}static fromString(D){return new xn([new $r(D,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(D=>D.text.length!==0||D.image&&D.image.name.length!==0)}static factory(D){return D instanceof xn?D:xn.fromString(D)}toString(){return this.sections.length===0?\"\":this.sections.map(D=>D.text).join(\"\")}}class en{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof en)return D;if(typeof D==\"number\")return new en([D,D,D,D]);if(Array.isArray(D)&&!(D.length<1||D.length>4)){for(let Y of D)if(typeof Y!=\"number\")return;switch(D.length){case 1:D=[D[0],D[0],D[0],D[0]];break;case 2:D=[D[0],D[1],D[0],D[1]];break;case 3:D=[D[0],D[1],D[2],D[1]]}return new en(D)}}toString(){return JSON.stringify(this.values)}}let Fn=new Set([\"center\",\"left\",\"right\",\"top\",\"bottom\",\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"]);class Wn{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof Wn)return D;if(Array.isArray(D)&&!(D.length<1)&&D.length%2==0){for(let Y=0;Y=0&&q<=255&&typeof D==\"number\"&&D>=0&&D<=255&&typeof Y==\"number\"&&Y>=0&&Y<=255?he===void 0||typeof he==\"number\"&&he>=0&&he<=1?null:`Invalid rgba value [${[q,D,Y,he].join(\", \")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof he==\"number\"?[q,D,Y,he]:[q,D,Y]).join(\", \")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ui(q){if(q===null||typeof q==\"string\"||typeof q==\"boolean\"||typeof q==\"number\"||q instanceof Vt||q instanceof wr||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri)return!0;if(Array.isArray(q)){for(let D of q)if(!ui(D))return!1;return!0}if(typeof q==\"object\"){for(let D in q)if(!ui(q[D]))return!1;return!0}return!1}function gt(q){if(q===null)return ot;if(typeof q==\"string\")return Lt;if(typeof q==\"boolean\")return Et;if(typeof q==\"number\")return et;if(q instanceof Vt)return Bt;if(q instanceof wr)return ar;if(q instanceof xn)return Rr;if(q instanceof en)return gr;if(q instanceof Wn)return _t;if(q instanceof ri)return br;if(Array.isArray(q)){let D=q.length,Y;for(let he of q){let Ce=gt(he);if(Y){if(Y===Ce)continue;Y=fr;break}Y=Ce}return Be(Y||fr,D)}return qt}function yt(q){let D=typeof q;return q===null?\"\":D===\"string\"||D===\"number\"||D===\"boolean\"?String(q):q instanceof Vt||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri?q.toString():JSON.stringify(q)}class Pr{constructor(D,Y){this.type=D,this.value=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'literal' expression requires exactly one argument, but found ${D.length-1} instead.`);if(!ui(D[1]))return Y.error(\"invalid value\");let he=D[1],Ce=gt(he),Ve=Y.expectedType;return Ce.kind!==\"array\"||Ce.N!==0||!Ve||Ve.kind!==\"array\"||typeof Ve.N==\"number\"&&Ve.N!==0||(Ce=Ve),new Pr(Ce,he)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Ir{constructor(D){this.name=\"ExpressionEvaluationError\",this.message=D}toJSON(){return this.message}}let Tr={string:Lt,number:et,boolean:Et,object:qt};class Mr{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he,Ce=1,Ve=D[0];if(Ve===\"array\"){let ct,At;if(D.length>2){let Ot=D[1];if(typeof Ot!=\"string\"||!(Ot in Tr)||Ot===\"object\")return Y.error('The item type argument of \"array\" must be one of string, number, boolean',1);ct=Tr[Ot],Ce++}else ct=fr;if(D.length>3){if(D[2]!==null&&(typeof D[2]!=\"number\"||D[2]<0||D[2]!==Math.floor(D[2])))return Y.error('The length argument to \"array\" must be a positive integer literal',2);At=D[2],Ce++}he=Be(ct,At)}else{if(!Tr[Ve])throw new Error(`Types doesn't contain name = ${Ve}`);he=Tr[Ve]}let Xe=[];for(;CeD.outputDefined())}}let Lr={\"to-boolean\":Et,\"to-color\":Bt,\"to-number\":et,\"to-string\":Lt};class Ur{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he=D[0];if(!Lr[he])throw new Error(`Can't parse ${he} as it is not part of the known types`);if((he===\"to-boolean\"||he===\"to-string\")&&D.length!==2)return Y.error(\"Expected one argument.\");let Ce=Lr[he],Ve=[];for(let Xe=1;Xe4?`Invalid rbga value ${JSON.stringify(Y)}: expected an array containing either three or four numeric values.`:Sn(Y[0],Y[1],Y[2],Y[3]),!he))return new Vt(Y[0]/255,Y[1]/255,Y[2]/255,Y[3])}throw new Ir(he||`Could not parse color from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"padding\":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=en.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse padding from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"variableAnchorOffsetCollection\":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=Wn.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse variableAnchorOffsetCollection from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"number\":{let Y=null;for(let he of this.args){if(Y=he.evaluate(D),Y===null)return 0;let Ce=Number(Y);if(!isNaN(Ce))return Ce}throw new Ir(`Could not convert ${JSON.stringify(Y)} to number.`)}case\"formatted\":return xn.fromString(yt(this.args[0].evaluate(D)));case\"resolvedImage\":return ri.fromString(yt(this.args[0].evaluate(D)));default:return yt(this.args[0].evaluate(D))}}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}let Dr=[\"Unknown\",\"Point\",\"LineString\",\"Polygon\"];class nn{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&\"id\"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type==\"number\"?Dr[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&\"geometry\"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(D){let Y=this._parseColorCache[D];return Y||(Y=this._parseColorCache[D]=Vt.parse(D)),Y}}class vn{constructor(D,Y,he=[],Ce,Ve=new rt,Xe=[]){this.registry=D,this.path=he,this.key=he.map(ct=>`[${ct}]`).join(\"\"),this.scope=Ve,this.errors=Xe,this.expectedType=Ce,this._isConstant=Y}parse(D,Y,he,Ce,Ve={}){return Y?this.concat(Y,he,Ce)._parse(D,Ve):this._parse(D,Ve)}_parse(D,Y){function he(Ce,Ve,Xe){return Xe===\"assert\"?new Mr(Ve,[Ce]):Xe===\"coerce\"?new Ur(Ve,[Ce]):Ce}if(D!==null&&typeof D!=\"string\"&&typeof D!=\"boolean\"&&typeof D!=\"number\"||(D=[\"literal\",D]),Array.isArray(D)){if(D.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use [\"literal\", []].');let Ce=D[0];if(typeof Ce!=\"string\")return this.error(`Expression name must be a string, but found ${typeof Ce} instead. If you wanted a literal array, use [\"literal\", [...]].`,0),null;let Ve=this.registry[Ce];if(Ve){let Xe=Ve.parse(D,this);if(!Xe)return null;if(this.expectedType){let ct=this.expectedType,At=Xe.type;if(ct.kind!==\"string\"&&ct.kind!==\"number\"&&ct.kind!==\"boolean\"&&ct.kind!==\"object\"&&ct.kind!==\"array\"||At.kind!==\"value\")if(ct.kind!==\"color\"&&ct.kind!==\"formatted\"&&ct.kind!==\"resolvedImage\"||At.kind!==\"value\"&&At.kind!==\"string\")if(ct.kind!==\"padding\"||At.kind!==\"value\"&&At.kind!==\"number\"&&At.kind!==\"array\")if(ct.kind!==\"variableAnchorOffsetCollection\"||At.kind!==\"value\"&&At.kind!==\"array\"){if(this.checkSubtype(ct,At))return null}else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"assert\")}if(!(Xe instanceof Pr)&&Xe.type.kind!==\"resolvedImage\"&&this._isConstant(Xe)){let ct=new nn;try{Xe=new Pr(Xe.type,Xe.evaluate(ct))}catch(At){return this.error(At.message),null}}return Xe}return this.error(`Unknown expression \"${Ce}\". If you wanted a literal array, use [\"literal\", [...]].`,0)}return this.error(D===void 0?\"'undefined' value invalid. Use null instead.\":typeof D==\"object\"?'Bare objects invalid. Use [\"literal\", {...}] instead.':`Expected an array, but found ${typeof D} instead.`)}concat(D,Y,he){let Ce=typeof D==\"number\"?this.path.concat(D):this.path,Ve=he?this.scope.concat(he):this.scope;return new vn(this.registry,this._isConstant,Ce,Y||null,Ve,this.errors)}error(D,...Y){let he=`${this.key}${Y.map(Ce=>`[${Ce}]`).join(\"\")}`;this.errors.push(new Oe(he,D))}checkSubtype(D,Y){let he=Se(D,Y);return he&&this.error(he),he}}class gn{constructor(D,Y){this.type=Y.type,this.bindings=[].concat(D),this.result=Y}evaluate(D){return this.result.evaluate(D)}eachChild(D){for(let Y of this.bindings)D(Y[1]);D(this.result)}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found ${D.length-1} instead.`);let he=[];for(let Ve=1;Ve=he.length)throw new Ir(`Array index out of bounds: ${Y} > ${he.length-1}.`);if(Y!==Math.floor(Y))throw new Ir(`Array index must be an integer, but found ${Y} instead.`);return he[Y]}eachChild(D){D(this.index),D(this.input)}outputDefined(){return!1}}class yr{constructor(D,Y){this.type=Et,this.needle=D,this.haystack=Y}static parse(D,Y){if(D.length!==3)return Y.error(`Expected 2 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);return he&&Ce?He(he.type,[Et,Lt,et,ot,fr])?new yr(he,Ce):Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`):null}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!he)return!1;if(!Ee(Y,[\"boolean\",\"string\",\"number\",\"null\"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);if(!Ee(he,[\"string\",\"array\"]))throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`);return he.indexOf(Y)>=0}eachChild(D){D(this.needle),D(this.haystack)}outputDefined(){return!0}}class on{constructor(D,Y,he){this.type=et,this.needle=D,this.haystack=Y,this.fromIndex=he}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);if(!he||!Ce)return null;if(!He(he.type,[Et,Lt,et,ot,fr]))return Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new on(he,Ce,Ve):null}return new on(he,Ce)}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!Ee(Y,[\"boolean\",\"string\",\"number\",\"null\"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);let Ce;if(this.fromIndex&&(Ce=this.fromIndex.evaluate(D)),Ee(he,[\"string\"])){let Ve=he.indexOf(Y,Ce);return Ve===-1?-1:[...he.slice(0,Ve)].length}if(Ee(he,[\"array\"]))return he.indexOf(Y,Ce);throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`)}eachChild(D){D(this.needle),D(this.haystack),this.fromIndex&&D(this.fromIndex)}outputDefined(){return!1}}class An{constructor(D,Y,he,Ce,Ve,Xe){this.inputType=D,this.type=Y,this.input=he,this.cases=Ce,this.outputs=Ve,this.otherwise=Xe}static parse(D,Y){if(D.length<5)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if(D.length%2!=1)return Y.error(\"Expected an even number of arguments.\");let he,Ce;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(Ce=Y.expectedType);let Ve={},Xe=[];for(let Ot=2;OtNumber.MAX_SAFE_INTEGER)return Sr.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof rn==\"number\"&&Math.floor(rn)!==rn)return Sr.error(\"Numeric branch labels must be integer values.\");if(he){if(Sr.checkSubtype(he,gt(rn)))return null}else he=gt(rn);if(Ve[String(rn)]!==void 0)return Sr.error(\"Branch labels must be unique.\");Ve[String(rn)]=Xe.length}let Nr=Y.parse(cr,Ot,Ce);if(!Nr)return null;Ce=Ce||Nr.type,Xe.push(Nr)}let ct=Y.parse(D[1],1,fr);if(!ct)return null;let At=Y.parse(D[D.length-1],D.length-1,Ce);return At?ct.type.kind!==\"value\"&&Y.concat(1).checkSubtype(he,ct.type)?null:new An(he,Ce,ct,Ve,Xe,At):null}evaluate(D){let Y=this.input.evaluate(D);return(gt(Y)===this.inputType&&this.outputs[this.cases[Y]]||this.otherwise).evaluate(D)}eachChild(D){D(this.input),this.outputs.forEach(D),D(this.otherwise)}outputDefined(){return this.outputs.every(D=>D.outputDefined())&&this.otherwise.outputDefined()}}class Zn{constructor(D,Y,he){this.type=D,this.branches=Y,this.otherwise=he}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found only ${D.length-1}.`);if(D.length%2!=0)return Y.error(\"Expected an odd number of arguments.\");let he;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(he=Y.expectedType);let Ce=[];for(let Xe=1;XeY.outputDefined())&&this.otherwise.outputDefined()}}class Bn{constructor(D,Y,he,Ce){this.type=D,this.input=Y,this.beginIndex=he,this.endIndex=Ce}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,et);if(!he||!Ce)return null;if(!He(he.type,[Be(fr),Lt,fr]))return Y.error(`Expected first argument to be of type array or string, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new Bn(he.type,he,Ce,Ve):null}return new Bn(he.type,he,Ce)}evaluate(D){let Y=this.input.evaluate(D),he=this.beginIndex.evaluate(D),Ce;if(this.endIndex&&(Ce=this.endIndex.evaluate(D)),Ee(Y,[\"string\"]))return[...Y].slice(he,Ce).join(\"\");if(Ee(Y,[\"array\"]))return Y.slice(he,Ce);throw new Ir(`Expected first argument to be of type array or string, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input),D(this.beginIndex),this.endIndex&&D(this.endIndex)}outputDefined(){return!1}}function wn(q,D){let Y=q.length-1,he,Ce,Ve=0,Xe=Y,ct=0;for(;Ve<=Xe;)if(ct=Math.floor((Ve+Xe)/2),he=q[ct],Ce=q[ct+1],he<=D){if(ct===Y||DD))throw new Ir(\"Input is not a number.\");Xe=ct-1}return 0}class Dn{constructor(D,Y,he){this.type=D,this.input=Y,this.labels=[],this.outputs=[];for(let[Ce,Ve]of he)this.labels.push(Ce),this.outputs.push(Ve)}static parse(D,Y){if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error(\"Expected an even number of arguments.\");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=[],Ve=null;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(Ve=Y.expectedType);for(let Xe=1;Xe=ct)return Y.error('Input/output pairs for \"step\" expressions must be arranged with input values in strictly ascending order.',Ot);let cr=Y.parse(At,er,Ve);if(!cr)return null;Ve=Ve||cr.type,Ce.push([ct,cr])}return new Dn(Ve,he,Ce)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;return Ce>=Y[Ve-1]?he[Ve-1].evaluate(D):he[wn(Y,Ce)].evaluate(D)}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Ui(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,\"default\")?q.default:q}var pi=Ta;function Ta(q,D,Y,he){this.cx=3*q,this.bx=3*(Y-q)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*D,this.by=3*(he-D)-this.cy,this.ay=1-this.cy-this.by,this.p1x=q,this.p1y=D,this.p2x=Y,this.p2y=he}Ta.prototype={sampleCurveX:function(q){return((this.ax*q+this.bx)*q+this.cx)*q},sampleCurveY:function(q){return((this.ay*q+this.by)*q+this.cy)*q},sampleCurveDerivativeX:function(q){return(3*this.ax*q+2*this.bx)*q+this.cx},solveCurveX:function(q,D){if(D===void 0&&(D=1e-6),q<0)return 0;if(q>1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var Sa=Ui(pi);function qa(q,D,Y){return q+Y*(D-q)}function to(q,D,Y){return q.map((he,Ce)=>qa(he,D[Ce],Y))}let yo={number:qa,color:function(q,D,Y,he=\"rgb\"){switch(he){case\"rgb\":{let[Ce,Ve,Xe,ct]=to(q.rgb,D.rgb,Y);return new Vt(Ce,Ve,Xe,ct,!1)}case\"hcl\":{let[Ce,Ve,Xe,ct]=q.hcl,[At,Ot,er,cr]=D.hcl,Sr,Nr;if(isNaN(Ce)||isNaN(At))isNaN(Ce)?isNaN(At)?Sr=NaN:(Sr=At,Xe!==1&&Xe!==0||(Nr=Ot)):(Sr=Ce,er!==1&&er!==0||(Nr=Ve));else{let Ri=At-Ce;At>Ce&&Ri>180?Ri-=360:At180&&(Ri+=360),Sr=Ce+Y*Ri}let[rn,mn,Gn,ei]=function([Ri,fi,Si,Gi]){return Ri=isNaN(Ri)?0:Ri*Xt,On([Si,Math.cos(Ri)*fi,Math.sin(Ri)*fi,Gi])}([Sr,Nr??qa(Ve,Ot,Y),qa(Xe,er,Y),qa(ct,cr,Y)]);return new Vt(rn,mn,Gn,ei,!1)}case\"lab\":{let[Ce,Ve,Xe,ct]=On(to(q.lab,D.lab,Y));return new Vt(Ce,Ve,Xe,ct,!1)}}},array:to,padding:function(q,D,Y){return new en(to(q.values,D.values,Y))},variableAnchorOffsetCollection:function(q,D,Y){let he=q.values,Ce=D.values;if(he.length!==Ce.length)throw new Ir(`Cannot interpolate values of different length. from: ${q.toString()}, to: ${D.toString()}`);let Ve=[];for(let Xe=0;Xetypeof er!=\"number\"||er<0||er>1))return Y.error(\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\",1);Ce={name:\"cubic-bezier\",controlPoints:Ot}}}if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error(\"Expected an even number of arguments.\");if(Ve=Y.parse(Ve,2,et),!Ve)return null;let ct=[],At=null;he===\"interpolate-hcl\"||he===\"interpolate-lab\"?At=Bt:Y.expectedType&&Y.expectedType.kind!==\"value\"&&(At=Y.expectedType);for(let Ot=0;Ot=er)return Y.error('Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.',Sr);let rn=Y.parse(cr,Nr,At);if(!rn)return null;At=At||rn.type,ct.push([er,rn])}return we(At,et)||we(At,Bt)||we(At,gr)||we(At,_t)||we(At,Be(et))?new Xa(At,he,Ce,Ve,ct):Y.error(`Type ${Ke(At)} is not interpolatable.`)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;if(Ce>=Y[Ve-1])return he[Ve-1].evaluate(D);let Xe=wn(Y,Ce),ct=Xa.interpolationFactor(this.interpolation,Ce,Y[Xe],Y[Xe+1]),At=he[Xe].evaluate(D),Ot=he[Xe+1].evaluate(D);switch(this.operator){case\"interpolate\":return yo[this.type.kind](At,Ot,ct);case\"interpolate-hcl\":return yo.color(At,Ot,ct,\"hcl\");case\"interpolate-lab\":return yo.color(At,Ot,ct,\"lab\")}}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Go(q,D,Y,he){let Ce=he-Y,Ve=q-Y;return Ce===0?0:D===1?Ve/Ce:(Math.pow(D,Ve)-1)/(Math.pow(D,Ce)-1)}class pa{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expectected at least one argument.\");let he=null,Ce=Y.expectedType;Ce&&Ce.kind!==\"value\"&&(he=Ce);let Ve=[];for(let ct of D.slice(1)){let At=Y.parse(ct,1+Ve.length,he,void 0,{typeAnnotation:\"omit\"});if(!At)return null;he=he||At.type,Ve.push(At)}if(!he)throw new Error(\"No output type\");let Xe=Ce&&Ve.some(ct=>Se(Ce,ct.type));return new pa(Xe?fr:he,Ve)}evaluate(D){let Y,he=null,Ce=0;for(let Ve of this.args)if(Ce++,he=Ve.evaluate(D),he&&he instanceof ri&&!he.available&&(Y||(Y=he.name),he=null,Ce===this.args.length&&(he=Y)),he!==null)break;return he}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}function cs(q,D){return q===\"==\"||q===\"!=\"?D.kind===\"boolean\"||D.kind===\"string\"||D.kind===\"number\"||D.kind===\"null\"||D.kind===\"value\":D.kind===\"string\"||D.kind===\"number\"||D.kind===\"value\"}function Ko(q,D,Y,he){return he.compare(D,Y)===0}function gs(q,D,Y){let he=q!==\"==\"&&q!==\"!=\";return class GS{constructor(Ve,Xe,ct){this.type=Et,this.lhs=Ve,this.rhs=Xe,this.collator=ct,this.hasUntypedArgument=Ve.type.kind===\"value\"||Xe.type.kind===\"value\"}static parse(Ve,Xe){if(Ve.length!==3&&Ve.length!==4)return Xe.error(\"Expected two or three arguments.\");let ct=Ve[0],At=Xe.parse(Ve[1],1,fr);if(!At)return null;if(!cs(ct,At.type))return Xe.concat(1).error(`\"${ct}\" comparisons are not supported for type '${Ke(At.type)}'.`);let Ot=Xe.parse(Ve[2],2,fr);if(!Ot)return null;if(!cs(ct,Ot.type))return Xe.concat(2).error(`\"${ct}\" comparisons are not supported for type '${Ke(Ot.type)}'.`);if(At.type.kind!==Ot.type.kind&&At.type.kind!==\"value\"&&Ot.type.kind!==\"value\")return Xe.error(`Cannot compare types '${Ke(At.type)}' and '${Ke(Ot.type)}'.`);he&&(At.type.kind===\"value\"&&Ot.type.kind!==\"value\"?At=new Mr(Ot.type,[At]):At.type.kind!==\"value\"&&Ot.type.kind===\"value\"&&(Ot=new Mr(At.type,[Ot])));let er=null;if(Ve.length===4){if(At.type.kind!==\"string\"&&Ot.type.kind!==\"string\"&&At.type.kind!==\"value\"&&Ot.type.kind!==\"value\")return Xe.error(\"Cannot use collator to compare non-string types.\");if(er=Xe.parse(Ve[3],3,ar),!er)return null}return new GS(At,Ot,er)}evaluate(Ve){let Xe=this.lhs.evaluate(Ve),ct=this.rhs.evaluate(Ve);if(he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==Ot.kind||At.kind!==\"string\"&&At.kind!==\"number\")throw new Ir(`Expected arguments for \"${q}\" to be (string, string) or (number, number), but found (${At.kind}, ${Ot.kind}) instead.`)}if(this.collator&&!he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==\"string\"||Ot.kind!==\"string\")return D(Ve,Xe,ct)}return this.collator?Y(Ve,Xe,ct,this.collator.evaluate(Ve)):D(Ve,Xe,ct)}eachChild(Ve){Ve(this.lhs),Ve(this.rhs),this.collator&&Ve(this.collator)}outputDefined(){return!0}}}let Ya=gs(\"==\",function(q,D,Y){return D===Y},Ko),zo=gs(\"!=\",function(q,D,Y){return D!==Y},function(q,D,Y,he){return!Ko(0,D,Y,he)}),Ka=gs(\"<\",function(q,D,Y){return D\",function(q,D,Y){return D>Y},function(q,D,Y,he){return he.compare(D,Y)>0}),ns=gs(\"<=\",function(q,D,Y){return D<=Y},function(q,D,Y,he){return he.compare(D,Y)<=0}),hs=gs(\">=\",function(q,D,Y){return D>=Y},function(q,D,Y,he){return he.compare(D,Y)>=0});class ho{constructor(D,Y,he){this.type=ar,this.locale=he,this.caseSensitive=D,this.diacriticSensitive=Y}static parse(D,Y){if(D.length!==2)return Y.error(\"Expected one argument.\");let he=D[1];if(typeof he!=\"object\"||Array.isArray(he))return Y.error(\"Collator options argument must be an object.\");let Ce=Y.parse(he[\"case-sensitive\"]!==void 0&&he[\"case-sensitive\"],1,Et);if(!Ce)return null;let Ve=Y.parse(he[\"diacritic-sensitive\"]!==void 0&&he[\"diacritic-sensitive\"],1,Et);if(!Ve)return null;let Xe=null;return he.locale&&(Xe=Y.parse(he.locale,1,Lt),!Xe)?null:new ho(Ce,Ve,Xe)}evaluate(D){return new wr(this.caseSensitive.evaluate(D),this.diacriticSensitive.evaluate(D),this.locale?this.locale.evaluate(D):null)}eachChild(D){D(this.caseSensitive),D(this.diacriticSensitive),this.locale&&D(this.locale)}outputDefined(){return!1}}class Ro{constructor(D,Y,he,Ce,Ve){this.type=Lt,this.number=D,this.locale=Y,this.currency=he,this.minFractionDigits=Ce,this.maxFractionDigits=Ve}static parse(D,Y){if(D.length!==3)return Y.error(\"Expected two arguments.\");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=D[2];if(typeof Ce!=\"object\"||Array.isArray(Ce))return Y.error(\"NumberFormat options argument must be an object.\");let Ve=null;if(Ce.locale&&(Ve=Y.parse(Ce.locale,1,Lt),!Ve))return null;let Xe=null;if(Ce.currency&&(Xe=Y.parse(Ce.currency,1,Lt),!Xe))return null;let ct=null;if(Ce[\"min-fraction-digits\"]&&(ct=Y.parse(Ce[\"min-fraction-digits\"],1,et),!ct))return null;let At=null;return Ce[\"max-fraction-digits\"]&&(At=Y.parse(Ce[\"max-fraction-digits\"],1,et),!At)?null:new Ro(he,Ve,Xe,ct,At)}evaluate(D){return new Intl.NumberFormat(this.locale?this.locale.evaluate(D):[],{style:this.currency?\"currency\":\"decimal\",currency:this.currency?this.currency.evaluate(D):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(D):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(D):void 0}).format(this.number.evaluate(D))}eachChild(D){D(this.number),this.locale&&D(this.locale),this.currency&&D(this.currency),this.minFractionDigits&&D(this.minFractionDigits),this.maxFractionDigits&&D(this.maxFractionDigits)}outputDefined(){return!1}}class Ls{constructor(D){this.type=Rr,this.sections=D}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he=D[1];if(!Array.isArray(he)&&typeof he==\"object\")return Y.error(\"First argument must be an image or text section.\");let Ce=[],Ve=!1;for(let Xe=1;Xe<=D.length-1;++Xe){let ct=D[Xe];if(Ve&&typeof ct==\"object\"&&!Array.isArray(ct)){Ve=!1;let At=null;if(ct[\"font-scale\"]&&(At=Y.parse(ct[\"font-scale\"],1,et),!At))return null;let Ot=null;if(ct[\"text-font\"]&&(Ot=Y.parse(ct[\"text-font\"],1,Be(Lt)),!Ot))return null;let er=null;if(ct[\"text-color\"]&&(er=Y.parse(ct[\"text-color\"],1,Bt),!er))return null;let cr=Ce[Ce.length-1];cr.scale=At,cr.font=Ot,cr.textColor=er}else{let At=Y.parse(D[Xe],1,fr);if(!At)return null;let Ot=At.type.kind;if(Ot!==\"string\"&&Ot!==\"value\"&&Ot!==\"null\"&&Ot!==\"resolvedImage\")return Y.error(\"Formatted text type must be 'string', 'value', 'image' or 'null'.\");Ve=!0,Ce.push({content:At,scale:null,font:null,textColor:null})}}return new Ls(Ce)}evaluate(D){return new xn(this.sections.map(Y=>{let he=Y.content.evaluate(D);return gt(he)===br?new $r(\"\",he,null,null,null):new $r(yt(he),null,Y.scale?Y.scale.evaluate(D):null,Y.font?Y.font.evaluate(D).join(\",\"):null,Y.textColor?Y.textColor.evaluate(D):null)}))}eachChild(D){for(let Y of this.sections)D(Y.content),Y.scale&&D(Y.scale),Y.font&&D(Y.font),Y.textColor&&D(Y.textColor)}outputDefined(){return!1}}class Vs{constructor(D){this.type=br,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(\"Expected two arguments.\");let he=Y.parse(D[1],1,Lt);return he?new Vs(he):Y.error(\"No image name provided.\")}evaluate(D){let Y=this.input.evaluate(D),he=ri.fromString(Y);return he&&D.availableImages&&(he.available=D.availableImages.indexOf(Y)>-1),he}eachChild(D){D(this.input)}outputDefined(){return!1}}class Ws{constructor(D){this.type=et,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(`Expected 1 argument, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1);return he?he.type.kind!==\"array\"&&he.type.kind!==\"string\"&&he.type.kind!==\"value\"?Y.error(`Expected argument of type string or array, but found ${Ke(he.type)} instead.`):new Ws(he):null}evaluate(D){let Y=this.input.evaluate(D);if(typeof Y==\"string\")return[...Y].length;if(Array.isArray(Y))return Y.length;throw new Ir(`Expected value to be of type string or array, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input)}outputDefined(){return!1}}let fs=8192;function Mi(q,D){let Y=(180+q[0])/360,he=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q[1]*Math.PI/360)))/360,Ce=Math.pow(2,D.z);return[Math.round(Y*Ce*fs),Math.round(he*Ce*fs)]}function Da(q,D){let Y=Math.pow(2,D.z);return[(Ce=(q[0]/fs+D.x)/Y,360*Ce-180),(he=(q[1]/fs+D.y)/Y,360/Math.PI*Math.atan(Math.exp((180-360*he)*Math.PI/180))-90)];var he,Ce}function pl(q,D){q[0]=Math.min(q[0],D[0]),q[1]=Math.min(q[1],D[1]),q[2]=Math.max(q[2],D[0]),q[3]=Math.max(q[3],D[1])}function Xs(q,D){return!(q[0]<=D[0]||q[2]>=D[2]||q[1]<=D[1]||q[3]>=D[3])}function Eo(q,D,Y){let he=q[0]-D[0],Ce=q[1]-D[1],Ve=q[0]-Y[0],Xe=q[1]-Y[1];return he*Xe-Ve*Ce==0&&he*Ve<=0&&Ce*Xe<=0}function Ys(q,D,Y,he){return(Ce=[he[0]-Y[0],he[1]-Y[1]])[0]*(Ve=[D[0]-q[0],D[1]-q[1]])[1]-Ce[1]*Ve[0]!=0&&!(!vo(q,D,Y,he)||!vo(Y,he,q,D));var Ce,Ve}function As(q,D,Y){for(let he of Y)for(let Ce=0;Ce(Ce=q)[1]!=(Xe=ct[At+1])[1]>Ce[1]&&Ce[0]<(Xe[0]-Ve[0])*(Ce[1]-Ve[1])/(Xe[1]-Ve[1])+Ve[0]&&(he=!he)}var Ce,Ve,Xe;return he}function wl(q,D){for(let Y of D)if(hl(q,Y))return!0;return!1}function la(q,D){for(let Y of q)if(!hl(Y,D))return!1;for(let Y=0;Y0&&ct<0||Xe<0&&ct>0}function Ps(q,D,Y){let he=[];for(let Ce=0;CeY[2]){let Ce=.5*he,Ve=q[0]-Y[0]>Ce?-he:Y[0]-q[0]>Ce?he:0;Ve===0&&(Ve=q[0]-Y[2]>Ce?-he:Y[2]-q[0]>Ce?he:0),q[0]+=Ve}pl(D,q)}function $l(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let ct of q)for(let At of ct){let Ot=[At.x+Ve[0],At.y+Ve[1]];no(Ot,D,Y,Ce),Xe.push(Ot)}return Xe}function Ku(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let At of q){let Ot=[];for(let er of At){let cr=[er.x+Ve[0],er.y+Ve[1]];pl(D,cr),Ot.push(cr)}Xe.push(Ot)}if(D[2]-D[0]<=Ce/2){(ct=D)[0]=ct[1]=1/0,ct[2]=ct[3]=-1/0;for(let At of Xe)for(let Ot of At)no(Ot,D,Y,Ce)}var ct;return Xe}class Tl{constructor(D,Y){this.type=Et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'within' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type===\"FeatureCollection\"){let Ce=[];for(let Ve of he.features){let{type:Xe,coordinates:ct}=Ve.geometry;Xe===\"Polygon\"&&Ce.push(ct),Xe===\"MultiPolygon\"&&Ce.push(...ct)}if(Ce.length)return new Tl(he,{type:\"MultiPolygon\",coordinates:Ce})}else if(he.type===\"Feature\"){let Ce=he.geometry.type;if(Ce===\"Polygon\"||Ce===\"MultiPolygon\")return new Tl(he,he.geometry)}else if(he.type===\"Polygon\"||he.type===\"MultiPolygon\")return new Tl(he,he)}return Y.error(\"'within' expression requires valid geojson object that contains polygon geometry type.\")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()===\"Point\")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type===\"Polygon\"){let ct=Ps(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!hl(Ot,ct))return!1}if(he.type===\"MultiPolygon\"){let ct=ls(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!wl(Ot,ct))return!1}return!0}(D,this.geometries);if(D.geometryType()===\"LineString\")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type===\"Polygon\"){let ct=Ps(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!la(Ot,ct))return!1}if(he.type===\"MultiPolygon\"){let ct=ls(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!Uo(Ot,ct))return!1}return!0}(D,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let Vu=class{constructor(q=[],D=(Y,he)=>Yhe?1:0){if(this.data=q,this.length=this.data.length,this.compare=D,this.length>0)for(let Y=(this.length>>1)-1;Y>=0;Y--)this._down(Y)}push(q){this.data.push(q),this._up(this.length++)}pop(){if(this.length===0)return;let q=this.data[0],D=this.data.pop();return--this.length>0&&(this.data[0]=D,this._down(0)),q}peek(){return this.data[0]}_up(q){let{data:D,compare:Y}=this,he=D[q];for(;q>0;){let Ce=q-1>>1,Ve=D[Ce];if(Y(he,Ve)>=0)break;D[q]=Ve,q=Ce}D[q]=he}_down(q){let{data:D,compare:Y}=this,he=this.length>>1,Ce=D[q];for(;q=0)break;D[q]=D[Ve],q=Ve}D[q]=Ce}};function Rl(q,D,Y,he,Ce){Qs(q,D,Y,he||q.length-1,Ce||qu)}function Qs(q,D,Y,he,Ce){for(;he>Y;){if(he-Y>600){var Ve=he-Y+1,Xe=D-Y+1,ct=Math.log(Ve),At=.5*Math.exp(2*ct/3),Ot=.5*Math.sqrt(ct*At*(Ve-At)/Ve)*(Xe-Ve/2<0?-1:1);Qs(q,D,Math.max(Y,Math.floor(D-Xe*At/Ve+Ot)),Math.min(he,Math.floor(D+(Ve-Xe)*At/Ve+Ot)),Ce)}var er=q[D],cr=Y,Sr=he;for(nu(q,Y,D),Ce(q[he],er)>0&&nu(q,Y,he);cr0;)Sr--}Ce(q[Y],er)===0?nu(q,Y,Sr):nu(q,++Sr,he),Sr<=D&&(Y=Sr+1),D<=Sr&&(he=Sr-1)}}function nu(q,D,Y){var he=q[D];q[D]=q[Y],q[Y]=he}function qu(q,D){return qD?1:0}function kc(q,D){if(q.length<=1)return[q];let Y=[],he,Ce;for(let Ve of q){let Xe=sh(Ve);Xe!==0&&(Ve.area=Math.abs(Xe),Ce===void 0&&(Ce=Xe<0),Ce===Xe<0?(he&&Y.push(he),he=[Ve]):he.push(Ve))}if(he&&Y.push(he),D>1)for(let Ve=0;Ve1?(Ot=D[At+1][0],er=D[At+1][1]):Nr>0&&(Ot+=cr/this.kx*Nr,er+=Sr/this.ky*Nr)),cr=this.wrap(Y[0]-Ot)*this.kx,Sr=(Y[1]-er)*this.ky;let rn=cr*cr+Sr*Sr;rn180;)D-=360;return D}}function Ql(q,D){return D[0]-q[0]}function Al(q){return q[1]-q[0]+1}function oc(q,D){return q[1]>=q[0]&&q[1]q[1])return[null,null];let Y=Al(q);if(D){if(Y===2)return[q,null];let Ce=Math.floor(Y/2);return[[q[0],q[0]+Ce],[q[0]+Ce,q[1]]]}if(Y===1)return[q,null];let he=Math.floor(Y/2)-1;return[[q[0],q[0]+he],[q[0]+he+1,q[1]]]}function nl(q,D){if(!oc(D,q.length))return[1/0,1/0,-1/0,-1/0];let Y=[1/0,1/0,-1/0,-1/0];for(let he=D[0];he<=D[1];++he)pl(Y,q[he]);return Y}function Ml(q){let D=[1/0,1/0,-1/0,-1/0];for(let Y of q)for(let he of Y)pl(D,he);return D}function Zs(q){return q[0]!==-1/0&&q[1]!==-1/0&&q[2]!==1/0&&q[3]!==1/0}function sl(q,D,Y){if(!Zs(q)||!Zs(D))return NaN;let he=0,Ce=0;return q[2]D[2]&&(he=q[0]-D[2]),q[1]>D[3]&&(Ce=q[1]-D[3]),q[3]=he)return he;if(Xs(Ce,Ve)){if(Sh(q,D))return 0}else if(Sh(D,q))return 0;let Xe=1/0;for(let ct of q)for(let At=0,Ot=ct.length,er=Ot-1;At0;){let At=Xe.pop();if(At[0]>=Ve)continue;let Ot=At[1],er=D?50:100;if(Al(Ot)<=er){if(!oc(Ot,q.length))return NaN;if(D){let cr=ds(q,Ot,Y,he);if(isNaN(cr)||cr===0)return cr;Ve=Math.min(Ve,cr)}else for(let cr=Ot[0];cr<=Ot[1];++cr){let Sr=Nh(q[cr],Y,he);if(Ve=Math.min(Ve,Sr),Ve===0)return 0}}else{let cr=gc(Ot,D);Vo(Xe,Ve,he,q,ct,cr[0]),Vo(Xe,Ve,he,q,ct,cr[1])}}return Ve}function pu(q,D,Y,he,Ce,Ve=1/0){let Xe=Math.min(Ve,Ce.distance(q[0],Y[0]));if(Xe===0)return Xe;let ct=new Vu([[0,[0,q.length-1],[0,Y.length-1]]],Ql);for(;ct.length>0;){let At=ct.pop();if(At[0]>=Xe)continue;let Ot=At[1],er=At[2],cr=D?50:100,Sr=he?50:100;if(Al(Ot)<=cr&&Al(er)<=Sr){if(!oc(Ot,q.length)&&oc(er,Y.length))return NaN;let Nr;if(D&&he)Nr=$u(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr);else if(D&&!he){let rn=q.slice(Ot[0],Ot[1]+1);for(let mn=er[0];mn<=er[1];++mn)if(Nr=sc(Y[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else if(!D&&he){let rn=Y.slice(er[0],er[1]+1);for(let mn=Ot[0];mn<=Ot[1];++mn)if(Nr=sc(q[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else Nr=ll(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr)}else{let Nr=gc(Ot,D),rn=gc(er,he);rf(ct,Xe,Ce,q,Y,Nr[0],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[0],rn[1]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[1])}}return Xe}function Df(q){return q.type===\"MultiPolygon\"?q.coordinates.map(D=>({type:\"Polygon\",coordinates:D})):q.type===\"MultiLineString\"?q.coordinates.map(D=>({type:\"LineString\",coordinates:D})):q.type===\"MultiPoint\"?q.coordinates.map(D=>({type:\"Point\",coordinates:D})):[q]}class Lc{constructor(D,Y){this.type=et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'distance' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type===\"FeatureCollection\")return new Lc(he,he.features.map(Ce=>Df(Ce.geometry)).flat());if(he.type===\"Feature\")return new Lc(he,Df(he.geometry));if(\"type\"in he&&\"coordinates\"in he)return new Lc(he,Df(he))}return Y.error(\"'distance' expression requires valid geojson object that contains polygon geometry type.\")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()===\"Point\")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case\"Point\":ct=Math.min(ct,pu(Ve,!1,[At.coordinates],!1,Xe,ct));break;case\"LineString\":ct=Math.min(ct,pu(Ve,!1,At.coordinates,!0,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Qu(Ve,!1,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()===\"LineString\")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case\"Point\":ct=Math.min(ct,pu(Ve,!0,[At.coordinates],!1,Xe,ct));break;case\"LineString\":ct=Math.min(ct,pu(Ve,!0,At.coordinates,!0,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Qu(Ve,!0,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()===\"Polygon\")return function(Y,he){let Ce=Y.geometry();if(Ce.length===0||Ce[0].length===0)return NaN;let Ve=kc(Ce,0).map(At=>At.map(Ot=>Ot.map(er=>Da([er.x,er.y],Y.canonical)))),Xe=new bf(Ve[0][0][0][1]),ct=1/0;for(let At of he)for(let Ot of Ve){switch(At.type){case\"Point\":ct=Math.min(ct,Qu([At.coordinates],!1,Ot,Xe,ct));break;case\"LineString\":ct=Math.min(ct,Qu(At.coordinates,!0,Ot,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Bs(Ot,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}let nf={\"==\":Ya,\"!=\":zo,\">\":Yo,\"<\":Ka,\">=\":hs,\"<=\":ns,array:Mr,at:or,boolean:Mr,case:Zn,coalesce:pa,collator:ho,format:Ls,image:Vs,in:yr,\"index-of\":on,interpolate:Xa,\"interpolate-hcl\":Xa,\"interpolate-lab\":Xa,length:Ws,let:gn,literal:Pr,match:An,number:Mr,\"number-format\":Ro,object:Mr,slice:Bn,step:Dn,string:Mr,\"to-boolean\":Ur,\"to-color\":Ur,\"to-number\":Ur,\"to-string\":Ur,var:kt,within:Tl,distance:Lc};class Vl{constructor(D,Y,he,Ce){this.name=D,this.type=Y,this._evaluate=he,this.args=Ce}evaluate(D){return this._evaluate(D,this.args)}eachChild(D){this.args.forEach(D)}outputDefined(){return!1}static parse(D,Y){let he=D[0],Ce=Vl.definitions[he];if(!Ce)return Y.error(`Unknown expression \"${he}\". If you wanted a literal array, use [\"literal\", [...]].`,0);let Ve=Array.isArray(Ce)?Ce[0]:Ce.type,Xe=Array.isArray(Ce)?[[Ce[1],Ce[2]]]:Ce.overloads,ct=Xe.filter(([Ot])=>!Array.isArray(Ot)||Ot.length===D.length-1),At=null;for(let[Ot,er]of ct){At=new vn(Y.registry,Ff,Y.path,null,Y.scope);let cr=[],Sr=!1;for(let Nr=1;Nr{return Sr=cr,Array.isArray(Sr)?`(${Sr.map(Ke).join(\", \")})`:`(${Ke(Sr.type)}...)`;var Sr}).join(\" | \"),er=[];for(let cr=1;cr{Y=D?Y&&Ff(he):Y&&he instanceof Pr}),!!Y&&$f(q)&&Tf(q,[\"zoom\",\"heatmap-density\",\"line-progress\",\"accumulated\",\"is-supported-script\"])}function $f(q){if(q instanceof Vl&&(q.name===\"get\"&&q.args.length===1||q.name===\"feature-state\"||q.name===\"has\"&&q.args.length===1||q.name===\"properties\"||q.name===\"geometry-type\"||q.name===\"id\"||/^filter-/.test(q.name))||q instanceof Tl||q instanceof Lc)return!1;let D=!0;return q.eachChild(Y=>{D&&!$f(Y)&&(D=!1)}),D}function ec(q){if(q instanceof Vl&&q.name===\"feature-state\")return!1;let D=!0;return q.eachChild(Y=>{D&&!ec(Y)&&(D=!1)}),D}function Tf(q,D){if(q instanceof Vl&&D.indexOf(q.name)>=0)return!1;let Y=!0;return q.eachChild(he=>{Y&&!Tf(he,D)&&(Y=!1)}),Y}function Pc(q){return{result:\"success\",value:q}}function Wc(q){return{result:\"error\",value:q}}function Pu(q){return q[\"property-type\"]===\"data-driven\"||q[\"property-type\"]===\"cross-faded-data-driven\"}function cf(q){return!!q.expression&&q.expression.parameters.indexOf(\"zoom\")>-1}function Ic(q){return!!q.expression&&q.expression.interpolated}function Ks(q){return q instanceof Number?\"number\":q instanceof String?\"string\":q instanceof Boolean?\"boolean\":Array.isArray(q)?\"array\":q===null?\"null\":typeof q}function Of(q){return typeof q==\"object\"&&q!==null&&!Array.isArray(q)}function Eh(q){return q}function Qf(q,D){let Y=D.type===\"color\",he=q.stops&&typeof q.stops[0][0]==\"object\",Ce=he||!(he||q.property!==void 0),Ve=q.type||(Ic(D)?\"exponential\":\"interval\");if(Y||D.type===\"padding\"){let er=Y?Vt.parse:en.parse;(q=ue({},q)).stops&&(q.stops=q.stops.map(cr=>[cr[0],er(cr[1])])),q.default=er(q.default?q.default:D.default)}if(q.colorSpace&&(Xe=q.colorSpace)!==\"rgb\"&&Xe!==\"hcl\"&&Xe!==\"lab\")throw new Error(`Unknown color space: \"${q.colorSpace}\"`);var Xe;let ct,At,Ot;if(Ve===\"exponential\")ct=eh;else if(Ve===\"interval\")ct=Iu;else if(Ve===\"categorical\"){ct=lh,At=Object.create(null);for(let er of q.stops)At[er[0]]=er[1];Ot=typeof q.stops[0][0]}else{if(Ve!==\"identity\")throw new Error(`Unknown function type \"${Ve}\"`);ct=su}if(he){let er={},cr=[];for(let rn=0;rnrn[0]),evaluate:({zoom:rn},mn)=>eh({stops:Sr,base:q.base},D,rn).evaluate(rn,mn)}}if(Ce){let er=Ve===\"exponential\"?{name:\"exponential\",base:q.base!==void 0?q.base:1}:null;return{kind:\"camera\",interpolationType:er,interpolationFactor:Xa.interpolationFactor.bind(void 0,er),zoomStops:q.stops.map(cr=>cr[0]),evaluate:({zoom:cr})=>ct(q,D,cr,At,Ot)}}return{kind:\"source\",evaluate(er,cr){let Sr=cr&&cr.properties?cr.properties[q.property]:void 0;return Sr===void 0?af(q.default,D.default):ct(q,D,Sr,At,Ot)}}}function af(q,D,Y){return q!==void 0?q:D!==void 0?D:Y!==void 0?Y:void 0}function lh(q,D,Y,he,Ce){return af(typeof Y===Ce?he[Y]:void 0,q.default,D.default)}function Iu(q,D,Y){if(Ks(Y)!==\"number\")return af(q.default,D.default);let he=q.stops.length;if(he===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[he-1][0])return q.stops[he-1][1];let Ce=wn(q.stops.map(Ve=>Ve[0]),Y);return q.stops[Ce][1]}function eh(q,D,Y){let he=q.base!==void 0?q.base:1;if(Ks(Y)!==\"number\")return af(q.default,D.default);let Ce=q.stops.length;if(Ce===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[Ce-1][0])return q.stops[Ce-1][1];let Ve=wn(q.stops.map(er=>er[0]),Y),Xe=function(er,cr,Sr,Nr){let rn=Nr-Sr,mn=er-Sr;return rn===0?0:cr===1?mn/rn:(Math.pow(cr,mn)-1)/(Math.pow(cr,rn)-1)}(Y,he,q.stops[Ve][0],q.stops[Ve+1][0]),ct=q.stops[Ve][1],At=q.stops[Ve+1][1],Ot=yo[D.type]||Eh;return typeof ct.evaluate==\"function\"?{evaluate(...er){let cr=ct.evaluate.apply(void 0,er),Sr=At.evaluate.apply(void 0,er);if(cr!==void 0&&Sr!==void 0)return Ot(cr,Sr,Xe,q.colorSpace)}}:Ot(ct,At,Xe,q.colorSpace)}function su(q,D,Y){switch(D.type){case\"color\":Y=Vt.parse(Y);break;case\"formatted\":Y=xn.fromString(Y.toString());break;case\"resolvedImage\":Y=ri.fromString(Y.toString());break;case\"padding\":Y=en.parse(Y);break;default:Ks(Y)===D.type||D.type===\"enum\"&&D.values[Y]||(Y=void 0)}return af(Y,q.default,D.default)}Vl.register(nf,{error:[{kind:\"error\"},[Lt],(q,[D])=>{throw new Ir(D.evaluate(q))}],typeof:[Lt,[fr],(q,[D])=>Ke(gt(D.evaluate(q)))],\"to-rgba\":[Be(et,4),[Bt],(q,[D])=>{let[Y,he,Ce,Ve]=D.evaluate(q).rgb;return[255*Y,255*he,255*Ce,Ve]}],rgb:[Bt,[et,et,et],Jf],rgba:[Bt,[et,et,et,et],Jf],has:{type:Et,overloads:[[[Lt],(q,[D])=>zf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>zf(D.evaluate(q),Y.evaluate(q))]]},get:{type:fr,overloads:[[[Lt],(q,[D])=>wf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>wf(D.evaluate(q),Y.evaluate(q))]]},\"feature-state\":[fr,[Lt],(q,[D])=>wf(D.evaluate(q),q.featureState||{})],properties:[qt,[],q=>q.properties()],\"geometry-type\":[Lt,[],q=>q.geometryType()],id:[fr,[],q=>q.id()],zoom:[et,[],q=>q.globals.zoom],\"heatmap-density\":[et,[],q=>q.globals.heatmapDensity||0],\"line-progress\":[et,[],q=>q.globals.lineProgress||0],accumulated:[fr,[],q=>q.globals.accumulated===void 0?null:q.globals.accumulated],\"+\":[et,Gc(et),(q,D)=>{let Y=0;for(let he of D)Y+=he.evaluate(q);return Y}],\"*\":[et,Gc(et),(q,D)=>{let Y=1;for(let he of D)Y*=he.evaluate(q);return Y}],\"-\":{type:et,overloads:[[[et,et],(q,[D,Y])=>D.evaluate(q)-Y.evaluate(q)],[[et],(q,[D])=>-D.evaluate(q)]]},\"/\":[et,[et,et],(q,[D,Y])=>D.evaluate(q)/Y.evaluate(q)],\"%\":[et,[et,et],(q,[D,Y])=>D.evaluate(q)%Y.evaluate(q)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],\"^\":[et,[et,et],(q,[D,Y])=>Math.pow(D.evaluate(q),Y.evaluate(q))],sqrt:[et,[et],(q,[D])=>Math.sqrt(D.evaluate(q))],log10:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN10],ln:[et,[et],(q,[D])=>Math.log(D.evaluate(q))],log2:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN2],sin:[et,[et],(q,[D])=>Math.sin(D.evaluate(q))],cos:[et,[et],(q,[D])=>Math.cos(D.evaluate(q))],tan:[et,[et],(q,[D])=>Math.tan(D.evaluate(q))],asin:[et,[et],(q,[D])=>Math.asin(D.evaluate(q))],acos:[et,[et],(q,[D])=>Math.acos(D.evaluate(q))],atan:[et,[et],(q,[D])=>Math.atan(D.evaluate(q))],min:[et,Gc(et),(q,D)=>Math.min(...D.map(Y=>Y.evaluate(q)))],max:[et,Gc(et),(q,D)=>Math.max(...D.map(Y=>Y.evaluate(q)))],abs:[et,[et],(q,[D])=>Math.abs(D.evaluate(q))],round:[et,[et],(q,[D])=>{let Y=D.evaluate(q);return Y<0?-Math.round(-Y):Math.round(Y)}],floor:[et,[et],(q,[D])=>Math.floor(D.evaluate(q))],ceil:[et,[et],(q,[D])=>Math.ceil(D.evaluate(q))],\"filter-==\":[Et,[Lt,fr],(q,[D,Y])=>q.properties()[D.value]===Y.value],\"filter-id-==\":[Et,[fr],(q,[D])=>q.id()===D.value],\"filter-type-==\":[Et,[Lt],(q,[D])=>q.geometryType()===D.value],\"filter-<\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>Ce}],\"filter-id->\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>he}],\"filter-<=\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he<=Ce}],\"filter-id-<=\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y<=he}],\"filter->=\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>=Ce}],\"filter-id->=\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>=he}],\"filter-has\":[Et,[fr],(q,[D])=>D.value in q.properties()],\"filter-has-id\":[Et,[],q=>q.id()!==null&&q.id()!==void 0],\"filter-type-in\":[Et,[Be(Lt)],(q,[D])=>D.value.indexOf(q.geometryType())>=0],\"filter-id-in\":[Et,[Be(fr)],(q,[D])=>D.value.indexOf(q.id())>=0],\"filter-in-small\":[Et,[Lt,Be(fr)],(q,[D,Y])=>Y.value.indexOf(q.properties()[D.value])>=0],\"filter-in-large\":[Et,[Lt,Be(fr)],(q,[D,Y])=>function(he,Ce,Ve,Xe){for(;Ve<=Xe;){let ct=Ve+Xe>>1;if(Ce[ct]===he)return!0;Ce[ct]>he?Xe=ct-1:Ve=ct+1}return!1}(q.properties()[D.value],Y.value,0,Y.value.length-1)],all:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)&&Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(!Y.evaluate(q))return!1;return!0}]]},any:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)||Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(Y.evaluate(q))return!0;return!1}]]},\"!\":[Et,[Et],(q,[D])=>!D.evaluate(q)],\"is-supported-script\":[Et,[Lt],(q,[D])=>{let Y=q.globals&&q.globals.isSupportedScript;return!Y||Y(D.evaluate(q))}],upcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toUpperCase()],downcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toLowerCase()],concat:[Lt,Gc(fr),(q,D)=>D.map(Y=>yt(Y.evaluate(q))).join(\"\")],\"resolved-locale\":[Lt,[ar],(q,[D])=>D.evaluate(q).resolvedLocale()]});class Ru{constructor(D,Y){var he;this.expression=D,this._warningHistory={},this._evaluator=new nn,this._defaultValue=Y?(he=Y).type===\"color\"&&Of(he.default)?new Vt(0,0,0,0):he.type===\"color\"?Vt.parse(he.default)||null:he.type===\"padding\"?en.parse(he.default)||null:he.type===\"variableAnchorOffsetCollection\"?Wn.parse(he.default)||null:he.default===void 0?null:he.default:null,this._enumValues=Y&&Y.type===\"enum\"?Y.values:null}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._evaluator.globals=D,this._evaluator.feature=Y,this._evaluator.featureState=he,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe,this.expression.evaluate(this._evaluator)}evaluate(D,Y,he,Ce,Ve,Xe){this._evaluator.globals=D,this._evaluator.feature=Y||null,this._evaluator.featureState=he||null,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe||null;try{let ct=this.expression.evaluate(this._evaluator);if(ct==null||typeof ct==\"number\"&&ct!=ct)return this._defaultValue;if(this._enumValues&&!(ct in this._enumValues))throw new Ir(`Expected value to be one of ${Object.keys(this._enumValues).map(At=>JSON.stringify(At)).join(\", \")}, but found ${JSON.stringify(ct)} instead.`);return ct}catch(ct){return this._warningHistory[ct.message]||(this._warningHistory[ct.message]=!0,typeof console<\"u\"&&console.warn(ct.message)),this._defaultValue}}}function yc(q){return Array.isArray(q)&&q.length>0&&typeof q[0]==\"string\"&&q[0]in nf}function Dl(q,D){let Y=new vn(nf,Ff,[],D?function(Ce){let Ve={color:Bt,string:Lt,number:et,enum:Lt,boolean:Et,formatted:Rr,padding:gr,resolvedImage:br,variableAnchorOffsetCollection:_t};return Ce.type===\"array\"?Be(Ve[Ce.value]||fr,Ce.length):Ve[Ce.type]}(D):void 0),he=Y.parse(q,void 0,void 0,void 0,D&&D.type===\"string\"?{typeAnnotation:\"coerce\"}:void 0);return he?Pc(new Ru(he,D)):Wc(Y.errors)}class Rc{constructor(D,Y){this.kind=D,this._styleExpression=Y,this.isStateDependent=D!==\"constant\"&&!ec(Y.expression)}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}}class tc{constructor(D,Y,he,Ce){this.kind=D,this.zoomStops=he,this._styleExpression=Y,this.isStateDependent=D!==\"camera\"&&!ec(Y.expression),this.interpolationType=Ce}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}interpolationFactor(D,Y,he){return this.interpolationType?Xa.interpolationFactor(this.interpolationType,D,Y,he):0}}function xu(q,D){let Y=Dl(q,D);if(Y.result===\"error\")return Y;let he=Y.value.expression,Ce=$f(he);if(!Ce&&!Pu(D))return Wc([new Oe(\"\",\"data expressions not supported\")]);let Ve=Tf(he,[\"zoom\"]);if(!Ve&&!cf(D))return Wc([new Oe(\"\",\"zoom expressions not supported\")]);let Xe=th(he);return Xe||Ve?Xe instanceof Oe?Wc([Xe]):Xe instanceof Xa&&!Ic(D)?Wc([new Oe(\"\",'\"interpolate\" expressions cannot be used with this property')]):Pc(Xe?new tc(Ce?\"camera\":\"composite\",Y.value,Xe.labels,Xe instanceof Xa?Xe.interpolation:void 0):new Rc(Ce?\"constant\":\"source\",Y.value)):Wc([new Oe(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.')])}class Sl{constructor(D,Y){this._parameters=D,this._specification=Y,ue(this,Qf(this._parameters,this._specification))}static deserialize(D){return new Sl(D._parameters,D._specification)}static serialize(D){return{_parameters:D._parameters,_specification:D._specification}}}function th(q){let D=null;if(q instanceof gn)D=th(q.result);else if(q instanceof pa){for(let Y of q.args)if(D=th(Y),D)break}else(q instanceof Dn||q instanceof Xa)&&q.input instanceof Vl&&q.input.name===\"zoom\"&&(D=q);return D instanceof Oe||q.eachChild(Y=>{let he=th(Y);he instanceof Oe?D=he:!D&&he?D=new Oe(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.'):D&&he&&D!==he&&(D=new Oe(\"\",'Only one zoom-based \"step\" or \"interpolate\" subexpression may be used in an expression.'))}),D}function uh(q){if(q===!0||q===!1)return!0;if(!Array.isArray(q)||q.length===0)return!1;switch(q[0]){case\"has\":return q.length>=2&&q[1]!==\"$id\"&&q[1]!==\"$type\";case\"in\":return q.length>=3&&(typeof q[1]!=\"string\"||Array.isArray(q[2]));case\"!in\":case\"!has\":case\"none\":return!1;case\"==\":case\"!=\":case\">\":case\">=\":case\"<\":case\"<=\":return q.length!==3||Array.isArray(q[1])||Array.isArray(q[2]);case\"any\":case\"all\":for(let D of q.slice(1))if(!uh(D)&&typeof D!=\"boolean\")return!1;return!0;default:return!0}}let Hu={type:\"boolean\",default:!1,transition:!1,\"property-type\":\"data-driven\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]}};function _c(q){if(q==null)return{filter:()=>!0,needGeometry:!1};uh(q)||(q=of(q));let D=Dl(q,Hu);if(D.result===\"error\")throw new Error(D.value.map(Y=>`${Y.key}: ${Y.message}`).join(\", \"));return{filter:(Y,he,Ce)=>D.value.evaluate(Y,he,{},Ce),needGeometry:Uh(q)}}function lc(q,D){return qD?1:0}function Uh(q){if(!Array.isArray(q))return!1;if(q[0]===\"within\"||q[0]===\"distance\")return!0;for(let D=1;D\"||D===\"<=\"||D===\">=\"?ff(q[1],q[2],D):D===\"any\"?(Y=q.slice(1),[\"any\"].concat(Y.map(of))):D===\"all\"?[\"all\"].concat(q.slice(1).map(of)):D===\"none\"?[\"all\"].concat(q.slice(1).map(of).map(lu)):D===\"in\"?Du(q[1],q.slice(2)):D===\"!in\"?lu(Du(q[1],q.slice(2))):D===\"has\"?Af(q[1]):D!==\"!has\"||lu(Af(q[1]));var Y}function ff(q,D,Y){switch(q){case\"$type\":return[`filter-type-${Y}`,D];case\"$id\":return[`filter-id-${Y}`,D];default:return[`filter-${Y}`,q,D]}}function Du(q,D){if(D.length===0)return!1;switch(q){case\"$type\":return[\"filter-type-in\",[\"literal\",D]];case\"$id\":return[\"filter-id-in\",[\"literal\",D]];default:return D.length>200&&!D.some(Y=>typeof Y!=typeof D[0])?[\"filter-in-large\",q,[\"literal\",D.sort(lc)]]:[\"filter-in-small\",q,[\"literal\",D]]}}function Af(q){switch(q){case\"$type\":return!0;case\"$id\":return[\"filter-has-id\"];default:return[\"filter-has\",q]}}function lu(q){return[\"!\",q]}function Xc(q){let D=typeof q;if(D===\"number\"||D===\"boolean\"||D===\"string\"||q==null)return JSON.stringify(q);if(Array.isArray(q)){let Ce=\"[\";for(let Ve of q)Ce+=`${Xc(Ve)},`;return`${Ce}]`}let Y=Object.keys(q).sort(),he=\"{\";for(let Ce=0;Cehe.maximum?[new pe(D,Y,`${Y} is greater than the maximum value ${he.maximum}`)]:[]}function sf(q){let D=q.valueSpec,Y=dl(q.value.type),he,Ce,Ve,Xe={},ct=Y!==\"categorical\"&&q.value.property===void 0,At=!ct,Ot=Ks(q.value.stops)===\"array\"&&Ks(q.value.stops[0])===\"array\"&&Ks(q.value.stops[0][0])===\"object\",er=wu({key:q.key,value:q.value,valueSpec:q.styleSpec.function,validateSpec:q.validateSpec,style:q.style,styleSpec:q.styleSpec,objectElementValidators:{stops:function(Nr){if(Y===\"identity\")return[new pe(Nr.key,Nr.value,'identity function may not have a \"stops\" property')];let rn=[],mn=Nr.value;return rn=rn.concat(Bf({key:Nr.key,value:mn,valueSpec:Nr.valueSpec,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,arrayElementValidator:cr})),Ks(mn)===\"array\"&&mn.length===0&&rn.push(new pe(Nr.key,mn,\"array must have at least one stop\")),rn},default:function(Nr){return Nr.validateSpec({key:Nr.key,value:Nr.value,valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec})}}});return Y===\"identity\"&&ct&&er.push(new pe(q.key,q.value,'missing required property \"property\"')),Y===\"identity\"||q.value.stops||er.push(new pe(q.key,q.value,'missing required property \"stops\"')),Y===\"exponential\"&&q.valueSpec.expression&&!Ic(q.valueSpec)&&er.push(new pe(q.key,q.value,\"exponential functions not supported\")),q.styleSpec.$version>=8&&(At&&!Pu(q.valueSpec)?er.push(new pe(q.key,q.value,\"property functions not supported\")):ct&&!cf(q.valueSpec)&&er.push(new pe(q.key,q.value,\"zoom functions not supported\"))),Y!==\"categorical\"&&!Ot||q.value.property!==void 0||er.push(new pe(q.key,q.value,'\"property\" property is required')),er;function cr(Nr){let rn=[],mn=Nr.value,Gn=Nr.key;if(Ks(mn)!==\"array\")return[new pe(Gn,mn,`array expected, ${Ks(mn)} found`)];if(mn.length!==2)return[new pe(Gn,mn,`array length 2 expected, length ${mn.length} found`)];if(Ot){if(Ks(mn[0])!==\"object\")return[new pe(Gn,mn,`object expected, ${Ks(mn[0])} found`)];if(mn[0].zoom===void 0)return[new pe(Gn,mn,\"object stop key must have zoom\")];if(mn[0].value===void 0)return[new pe(Gn,mn,\"object stop key must have value\")];if(Ve&&Ve>dl(mn[0].zoom))return[new pe(Gn,mn[0].zoom,\"stop zoom values must appear in ascending order\")];dl(mn[0].zoom)!==Ve&&(Ve=dl(mn[0].zoom),Ce=void 0,Xe={}),rn=rn.concat(wu({key:`${Gn}[0]`,value:mn[0],valueSpec:{zoom:{}},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,objectElementValidators:{zoom:ul,value:Sr}}))}else rn=rn.concat(Sr({key:`${Gn}[0]`,value:mn[0],valueSpec:{},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec},mn));return yc(bu(mn[1]))?rn.concat([new pe(`${Gn}[1]`,mn[1],\"expressions are not allowed in function stops.\")]):rn.concat(Nr.validateSpec({key:`${Gn}[1]`,value:mn[1],valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec}))}function Sr(Nr,rn){let mn=Ks(Nr.value),Gn=dl(Nr.value),ei=Nr.value!==null?Nr.value:rn;if(he){if(mn!==he)return[new pe(Nr.key,ei,`${mn} stop domain type must match previous stop domain type ${he}`)]}else he=mn;if(mn!==\"number\"&&mn!==\"string\"&&mn!==\"boolean\")return[new pe(Nr.key,ei,\"stop domain value must be a number, string, or boolean\")];if(mn!==\"number\"&&Y!==\"categorical\"){let Ri=`number expected, ${mn} found`;return Pu(D)&&Y===void 0&&(Ri+='\\nIf you intended to use a categorical function, specify `\"type\": \"categorical\"`.'),[new pe(Nr.key,ei,Ri)]}return Y!==\"categorical\"||mn!==\"number\"||isFinite(Gn)&&Math.floor(Gn)===Gn?Y!==\"categorical\"&&mn===\"number\"&&Ce!==void 0&&Gnnew pe(`${q.key}${he.key}`,q.value,he.message));let Y=D.value.expression||D.value._styleExpression.expression;if(q.expressionContext===\"property\"&&q.propertyKey===\"text-font\"&&!Y.outputDefined())return[new pe(q.key,q.value,`Invalid data expression for \"${q.propertyKey}\". Output values must be contained as literals within the expression.`)];if(q.expressionContext===\"property\"&&q.propertyType===\"layout\"&&!ec(Y))return[new pe(q.key,q.value,'\"feature-state\" data expressions are not supported with layout properties.')];if(q.expressionContext===\"filter\"&&!ec(Y))return[new pe(q.key,q.value,'\"feature-state\" data expressions are not supported with filters.')];if(q.expressionContext&&q.expressionContext.indexOf(\"cluster\")===0){if(!Tf(Y,[\"zoom\",\"feature-state\"]))return[new pe(q.key,q.value,'\"zoom\" and \"feature-state\" expressions are not supported with cluster properties.')];if(q.expressionContext===\"cluster-initial\"&&!$f(Y))return[new pe(q.key,q.value,\"Feature data expressions are not supported with initial expression part of cluster properties.\")]}return[]}function Gu(q){let D=q.key,Y=q.value,he=q.valueSpec,Ce=[];return Array.isArray(he.values)?he.values.indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${he.values.join(\", \")}], ${JSON.stringify(Y)} found`)):Object.keys(he.values).indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${Object.keys(he.values).join(\", \")}], ${JSON.stringify(Y)} found`)),Ce}function hf(q){return uh(bu(q.value))?xc(ue({},q,{expressionContext:\"filter\",valueSpec:{value:\"boolean\"}})):uc(q)}function uc(q){let D=q.value,Y=q.key;if(Ks(D)!==\"array\")return[new pe(Y,D,`array expected, ${Ks(D)} found`)];let he=q.styleSpec,Ce,Ve=[];if(D.length<1)return[new pe(Y,D,\"filter array must have at least 1 element\")];switch(Ve=Ve.concat(Gu({key:`${Y}[0]`,value:D[0],valueSpec:he.filter_operator,style:q.style,styleSpec:q.styleSpec})),dl(D[0])){case\"<\":case\"<=\":case\">\":case\">=\":D.length>=2&&dl(D[1])===\"$type\"&&Ve.push(new pe(Y,D,`\"$type\" cannot be use with operator \"${D[0]}\"`));case\"==\":case\"!=\":D.length!==3&&Ve.push(new pe(Y,D,`filter array for operator \"${D[0]}\" must have 3 elements`));case\"in\":case\"!in\":D.length>=2&&(Ce=Ks(D[1]),Ce!==\"string\"&&Ve.push(new pe(`${Y}[1]`,D[1],`string expected, ${Ce} found`)));for(let Xe=2;Xe{Ot in Y&&D.push(new pe(he,Y[Ot],`\"${Ot}\" is prohibited for ref layers`))}),Ce.layers.forEach(Ot=>{dl(Ot.id)===ct&&(At=Ot)}),At?At.ref?D.push(new pe(he,Y.ref,\"ref cannot reference another ref layer\")):Xe=dl(At.type):D.push(new pe(he,Y.ref,`ref layer \"${ct}\" not found`))}else if(Xe!==\"background\")if(Y.source){let At=Ce.sources&&Ce.sources[Y.source],Ot=At&&dl(At.type);At?Ot===\"vector\"&&Xe===\"raster\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a raster source`)):Ot!==\"raster-dem\"&&Xe===\"hillshade\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a raster-dem source`)):Ot===\"raster\"&&Xe!==\"raster\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a vector source`)):Ot!==\"vector\"||Y[\"source-layer\"]?Ot===\"raster-dem\"&&Xe!==\"hillshade\"?D.push(new pe(he,Y.source,\"raster-dem source can only be used with layer type 'hillshade'.\")):Xe!==\"line\"||!Y.paint||!Y.paint[\"line-gradient\"]||Ot===\"geojson\"&&At.lineMetrics||D.push(new pe(he,Y,`layer \"${Y.id}\" specifies a line-gradient, which requires a GeoJSON source with \\`lineMetrics\\` enabled.`)):D.push(new pe(he,Y,`layer \"${Y.id}\" must specify a \"source-layer\"`)):D.push(new pe(he,Y.source,`source \"${Y.source}\" not found`))}else D.push(new pe(he,Y,'missing required property \"source\"'));return D=D.concat(wu({key:he,value:Y,valueSpec:Ve.layer,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{\"*\":()=>[],type:()=>q.validateSpec({key:`${he}.type`,value:Y.type,valueSpec:Ve.layer.type,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,object:Y,objectKey:\"type\"}),filter:hf,layout:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{\"*\":Ot=>Xl(ue({layerType:Xe},Ot))}}),paint:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{\"*\":Ot=>Nf(ue({layerType:Xe},Ot))}})}})),D}function Wu(q){let D=q.value,Y=q.key,he=Ks(D);return he!==\"string\"?[new pe(Y,D,`string expected, ${he} found`)]:[]}let bc={promoteId:function({key:q,value:D}){if(Ks(D)===\"string\")return Wu({key:q,value:D});{let Y=[];for(let he in D)Y.push(...Wu({key:`${q}.${he}`,value:D[he]}));return Y}}};function cc(q){let D=q.value,Y=q.key,he=q.styleSpec,Ce=q.style,Ve=q.validateSpec;if(!D.type)return[new pe(Y,D,'\"type\" is required')];let Xe=dl(D.type),ct;switch(Xe){case\"vector\":case\"raster\":return ct=wu({key:Y,value:D,valueSpec:he[`source_${Xe.replace(\"-\",\"_\")}`],style:q.style,styleSpec:he,objectElementValidators:bc,validateSpec:Ve}),ct;case\"raster-dem\":return ct=function(At){var Ot;let er=(Ot=At.sourceName)!==null&&Ot!==void 0?Ot:\"\",cr=At.value,Sr=At.styleSpec,Nr=Sr.source_raster_dem,rn=At.style,mn=[],Gn=Ks(cr);if(cr===void 0)return mn;if(Gn!==\"object\")return mn.push(new pe(\"source_raster_dem\",cr,`object expected, ${Gn} found`)),mn;let ei=dl(cr.encoding)===\"custom\",Ri=[\"redFactor\",\"greenFactor\",\"blueFactor\",\"baseShift\"],fi=At.value.encoding?`\"${At.value.encoding}\"`:\"Default\";for(let Si in cr)!ei&&Ri.includes(Si)?mn.push(new pe(Si,cr[Si],`In \"${er}\": \"${Si}\" is only valid when \"encoding\" is set to \"custom\". ${fi} encoding found`)):Nr[Si]?mn=mn.concat(At.validateSpec({key:Si,value:cr[Si],valueSpec:Nr[Si],validateSpec:At.validateSpec,style:rn,styleSpec:Sr})):mn.push(new pe(Si,cr[Si],`unknown property \"${Si}\"`));return mn}({sourceName:Y,value:D,style:q.style,styleSpec:he,validateSpec:Ve}),ct;case\"geojson\":if(ct=wu({key:Y,value:D,valueSpec:he.source_geojson,style:Ce,styleSpec:he,validateSpec:Ve,objectElementValidators:bc}),D.cluster)for(let At in D.clusterProperties){let[Ot,er]=D.clusterProperties[At],cr=typeof Ot==\"string\"?[Ot,[\"accumulated\"],[\"get\",At]]:Ot;ct.push(...xc({key:`${Y}.${At}.map`,value:er,validateSpec:Ve,expressionContext:\"cluster-map\"})),ct.push(...xc({key:`${Y}.${At}.reduce`,value:cr,validateSpec:Ve,expressionContext:\"cluster-reduce\"}))}return ct;case\"video\":return wu({key:Y,value:D,valueSpec:he.source_video,style:Ce,validateSpec:Ve,styleSpec:he});case\"image\":return wu({key:Y,value:D,valueSpec:he.source_image,style:Ce,validateSpec:Ve,styleSpec:he});case\"canvas\":return[new pe(Y,null,\"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.\",\"source.canvas\")];default:return Gu({key:`${Y}.type`,value:D.type,valueSpec:{values:[\"vector\",\"raster\",\"raster-dem\",\"geojson\",\"video\",\"image\"]},style:Ce,validateSpec:Ve,styleSpec:he})}}function zl(q){let D=q.value,Y=q.styleSpec,he=Y.light,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!==\"object\")return Ve=Ve.concat([new pe(\"light\",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D){let At=ct.match(/^(.*)-transition$/);Ve=Ve.concat(At&&he[At[1]]&&he[At[1]].transition?q.validateSpec({key:ct,value:D[ct],valueSpec:Y.transition,validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)])}return Ve}function uu(q){let D=q.value,Y=q.styleSpec,he=Y.sky,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!==\"object\")return[new pe(\"sky\",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Xe}function fc(q){let D=q.value,Y=q.styleSpec,he=Y.terrain,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!==\"object\")return Ve=Ve.concat([new pe(\"terrain\",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D)Ve=Ve.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Ve}function Dc(q){let D=[],Y=q.value,he=q.key;if(Array.isArray(Y)){let Ce=[],Ve=[];for(let Xe in Y)Y[Xe].id&&Ce.includes(Y[Xe].id)&&D.push(new pe(he,Y,`all the sprites' ids must be unique, but ${Y[Xe].id} is duplicated`)),Ce.push(Y[Xe].id),Y[Xe].url&&Ve.includes(Y[Xe].url)&&D.push(new pe(he,Y,`all the sprites' URLs must be unique, but ${Y[Xe].url} is duplicated`)),Ve.push(Y[Xe].url),D=D.concat(wu({key:`${he}[${Xe}]`,value:Y[Xe],valueSpec:{id:{type:\"string\",required:!0},url:{type:\"string\",required:!0}},validateSpec:q.validateSpec}));return D}return Wu({key:he,value:Y})}let rc={\"*\":()=>[],array:Bf,boolean:function(q){let D=q.value,Y=q.key,he=Ks(D);return he!==\"boolean\"?[new pe(Y,D,`boolean expected, ${he} found`)]:[]},number:ul,color:function(q){let D=q.key,Y=q.value,he=Ks(Y);return he!==\"string\"?[new pe(D,Y,`color expected, ${he} found`)]:Vt.parse(String(Y))?[]:[new pe(D,Y,`color expected, \"${Y}\" found`)]},constants:Mf,enum:Gu,filter:hf,function:sf,layer:Uf,object:wu,source:cc,light:zl,sky:uu,terrain:fc,projection:function(q){let D=q.value,Y=q.styleSpec,he=Y.projection,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!==\"object\")return[new pe(\"projection\",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Xe},string:Wu,formatted:function(q){return Wu(q).length===0?[]:xc(q)},resolvedImage:function(q){return Wu(q).length===0?[]:xc(q)},padding:function(q){let D=q.key,Y=q.value;if(Ks(Y)===\"array\"){if(Y.length<1||Y.length>4)return[new pe(D,Y,`padding requires 1 to 4 values; ${Y.length} values found`)];let he={type:\"number\"},Ce=[];for(let Ve=0;Ve[]}})),q.constants&&(Y=Y.concat(Mf({key:\"constants\",value:q.constants,style:q,styleSpec:D,validateSpec:Yc}))),Wr(Y)}function tn(q){return function(D){return q(Jr(an({},D),{validateSpec:Yc}))}}function Wr(q){return[].concat(q).sort((D,Y)=>D.line-Y.line)}function Cn(q){return function(...D){return Wr(q.apply(this,D))}}dr.source=Cn(tn(cc)),dr.sprite=Cn(tn(Dc)),dr.glyphs=Cn(tn(Yt)),dr.light=Cn(tn(zl)),dr.sky=Cn(tn(uu)),dr.terrain=Cn(tn(fc)),dr.layer=Cn(tn(Uf)),dr.filter=Cn(tn(hf)),dr.paintProperty=Cn(tn(Nf)),dr.layoutProperty=Cn(tn(Xl));let si=dr,yi=si.light,Di=si.sky,Wi=si.paintProperty,aa=si.layoutProperty;function bi(q,D){let Y=!1;if(D&&D.length)for(let he of D)q.fire(new j(new Error(he.message))),Y=!0;return Y}class zi{constructor(D,Y,he){let Ce=this.cells=[];if(D instanceof ArrayBuffer){this.arrayBuffer=D;let Xe=new Int32Array(this.arrayBuffer);D=Xe[0],this.d=(Y=Xe[1])+2*(he=Xe[2]);for(let At=0;At=cr[rn+0]&&Ce>=cr[rn+1])?(ct[Nr]=!0,Xe.push(er[Nr])):ct[Nr]=!1}}}}_forEachCell(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=this._convertToCellCoord(D),er=this._convertToCellCoord(Y),cr=this._convertToCellCoord(he),Sr=this._convertToCellCoord(Ce);for(let Nr=Ot;Nr<=cr;Nr++)for(let rn=er;rn<=Sr;rn++){let mn=this.d*rn+Nr;if((!At||At(this._convertFromCellCoord(Nr),this._convertFromCellCoord(rn),this._convertFromCellCoord(Nr+1),this._convertFromCellCoord(rn+1)))&&Ve.call(this,D,Y,he,Ce,mn,Xe,ct,At))return}}_convertFromCellCoord(D){return(D-this.padding)/this.scale}_convertToCellCoord(D){return Math.max(0,Math.min(this.d-1,Math.floor(D*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;let D=this.cells,Y=3+this.cells.length+1+1,he=0;for(let Xe=0;Xe=0)continue;let Xe=q[Ve];Ce[Ve]=Li[Y].shallow.indexOf(Ve)>=0?Xe:mo(Xe,D)}q instanceof Error&&(Ce.message=q.message)}if(Ce.$name)throw new Error(\"$name property is reserved for worker serialization logic.\");return Y!==\"Object\"&&(Ce.$name=Y),Ce}function Ao(q){if(co(q))return q;if(Array.isArray(q))return q.map(Ao);if(typeof q!=\"object\")throw new Error(\"can't deserialize object of type \"+typeof q);let D=po(q)||\"Object\";if(!Li[D])throw new Error(`can't deserialize unregistered class ${D}`);let{klass:Y}=Li[D];if(!Y)throw new Error(`can't deserialize unregistered class ${D}`);if(Y.deserialize)return Y.deserialize(q);let he=Object.create(Y.prototype);for(let Ce of Object.keys(q)){if(Ce===\"$name\")continue;let Ve=q[Ce];he[Ce]=Li[D].shallow.indexOf(Ce)>=0?Ve:Ao(Ve)}return he}class xa{constructor(){this.first=!0}update(D,Y){let he=Math.floor(D);return this.first?(this.first=!1,this.lastIntegerZoom=he,this.lastIntegerZoomTime=0,this.lastZoom=D,this.lastFloorZoom=he,!0):(this.lastFloorZoom>he?(this.lastIntegerZoom=he+1,this.lastIntegerZoomTime=Y):this.lastFloorZoomq>=128&&q<=255,\"Hangul Jamo\":q=>q>=4352&&q<=4607,Khmer:q=>q>=6016&&q<=6143,\"General Punctuation\":q=>q>=8192&&q<=8303,\"Letterlike Symbols\":q=>q>=8448&&q<=8527,\"Number Forms\":q=>q>=8528&&q<=8591,\"Miscellaneous Technical\":q=>q>=8960&&q<=9215,\"Control Pictures\":q=>q>=9216&&q<=9279,\"Optical Character Recognition\":q=>q>=9280&&q<=9311,\"Enclosed Alphanumerics\":q=>q>=9312&&q<=9471,\"Geometric Shapes\":q=>q>=9632&&q<=9727,\"Miscellaneous Symbols\":q=>q>=9728&&q<=9983,\"Miscellaneous Symbols and Arrows\":q=>q>=11008&&q<=11263,\"Ideographic Description Characters\":q=>q>=12272&&q<=12287,\"CJK Symbols and Punctuation\":q=>q>=12288&&q<=12351,Katakana:q=>q>=12448&&q<=12543,Kanbun:q=>q>=12688&&q<=12703,\"CJK Strokes\":q=>q>=12736&&q<=12783,\"Enclosed CJK Letters and Months\":q=>q>=12800&&q<=13055,\"CJK Compatibility\":q=>q>=13056&&q<=13311,\"Yijing Hexagram Symbols\":q=>q>=19904&&q<=19967,\"Private Use Area\":q=>q>=57344&&q<=63743,\"Vertical Forms\":q=>q>=65040&&q<=65055,\"CJK Compatibility Forms\":q=>q>=65072&&q<=65103,\"Small Form Variants\":q=>q>=65104&&q<=65135,\"Halfwidth and Fullwidth Forms\":q=>q>=65280&&q<=65519};function Lo(q){for(let D of q)if(Es(D.charCodeAt(0)))return!0;return!1}function as(q){for(let D of q)if(!Ns(D.charCodeAt(0)))return!1;return!0}function Ds(q){let D=q.map(Y=>{try{return new RegExp(`\\\\p{sc=${Y}}`,\"u\").source}catch{return null}}).filter(Y=>Y);return new RegExp(D.join(\"|\"),\"u\")}let il=Ds([\"Arab\",\"Dupl\",\"Mong\",\"Ougr\",\"Syrc\"]);function Ns(q){return!il.test(String.fromCodePoint(q))}let el=Ds([\"Bopo\",\"Hani\",\"Hira\",\"Kana\",\"Kits\",\"Nshu\",\"Tang\",\"Yiii\"]);function Es(q){return!(q!==746&&q!==747&&(q<4352||!(Qi[\"CJK Compatibility Forms\"](q)&&!(q>=65097&&q<=65103)||Qi[\"CJK Compatibility\"](q)||Qi[\"CJK Strokes\"](q)||!(!Qi[\"CJK Symbols and Punctuation\"](q)||q>=12296&&q<=12305||q>=12308&&q<=12319||q===12336)||Qi[\"Enclosed CJK Letters and Months\"](q)||Qi[\"Ideographic Description Characters\"](q)||Qi.Kanbun(q)||Qi.Katakana(q)&&q!==12540||!(!Qi[\"Halfwidth and Fullwidth Forms\"](q)||q===65288||q===65289||q===65293||q>=65306&&q<=65310||q===65339||q===65341||q===65343||q>=65371&&q<=65503||q===65507||q>=65512&&q<=65519)||!(!Qi[\"Small Form Variants\"](q)||q>=65112&&q<=65118||q>=65123&&q<=65126)||Qi[\"Vertical Forms\"](q)||Qi[\"Yijing Hexagram Symbols\"](q)||new RegExp(\"\\\\p{sc=Cans}\",\"u\").test(String.fromCodePoint(q))||new RegExp(\"\\\\p{sc=Hang}\",\"u\").test(String.fromCodePoint(q))||el.test(String.fromCodePoint(q)))))}function Bl(q){return!(Es(q)||function(D){return!!(Qi[\"Latin-1 Supplement\"](D)&&(D===167||D===169||D===174||D===177||D===188||D===189||D===190||D===215||D===247)||Qi[\"General Punctuation\"](D)&&(D===8214||D===8224||D===8225||D===8240||D===8241||D===8251||D===8252||D===8258||D===8263||D===8264||D===8265||D===8273)||Qi[\"Letterlike Symbols\"](D)||Qi[\"Number Forms\"](D)||Qi[\"Miscellaneous Technical\"](D)&&(D>=8960&&D<=8967||D>=8972&&D<=8991||D>=8996&&D<=9e3||D===9003||D>=9085&&D<=9114||D>=9150&&D<=9165||D===9167||D>=9169&&D<=9179||D>=9186&&D<=9215)||Qi[\"Control Pictures\"](D)&&D!==9251||Qi[\"Optical Character Recognition\"](D)||Qi[\"Enclosed Alphanumerics\"](D)||Qi[\"Geometric Shapes\"](D)||Qi[\"Miscellaneous Symbols\"](D)&&!(D>=9754&&D<=9759)||Qi[\"Miscellaneous Symbols and Arrows\"](D)&&(D>=11026&&D<=11055||D>=11088&&D<=11097||D>=11192&&D<=11243)||Qi[\"CJK Symbols and Punctuation\"](D)||Qi.Katakana(D)||Qi[\"Private Use Area\"](D)||Qi[\"CJK Compatibility Forms\"](D)||Qi[\"Small Form Variants\"](D)||Qi[\"Halfwidth and Fullwidth Forms\"](D)||D===8734||D===8756||D===8757||D>=9984&&D<=10087||D>=10102&&D<=10131||D===65532||D===65533)}(q))}let _l=Ds([\"Adlm\",\"Arab\",\"Armi\",\"Avst\",\"Chrs\",\"Cprt\",\"Egyp\",\"Elym\",\"Gara\",\"Hatr\",\"Hebr\",\"Hung\",\"Khar\",\"Lydi\",\"Mand\",\"Mani\",\"Mend\",\"Merc\",\"Mero\",\"Narb\",\"Nbat\",\"Nkoo\",\"Orkh\",\"Palm\",\"Phli\",\"Phlp\",\"Phnx\",\"Prti\",\"Rohg\",\"Samr\",\"Sarb\",\"Sogo\",\"Syrc\",\"Thaa\",\"Todr\",\"Yezi\"]);function cl(q){return _l.test(String.fromCodePoint(q))}function Za(q,D){return!(!D&&cl(q)||q>=2304&&q<=3583||q>=3840&&q<=4255||Qi.Khmer(q))}function jo(q){for(let D of q)if(cl(D.charCodeAt(0)))return!0;return!1}let Js=new class{constructor(){this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus=\"unavailable\",this.pluginURL=null}setState(q){this.pluginStatus=q.pluginStatus,this.pluginURL=q.pluginURL}getState(){return{pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(q){this.applyArabicShaping=q.applyArabicShaping,this.processBidirectionalText=q.processBidirectionalText,this.processStyledBidirectionalText=q.processStyledBidirectionalText}isParsed(){return this.applyArabicShaping!=null&&this.processBidirectionalText!=null&&this.processStyledBidirectionalText!=null}getPluginURL(){return this.pluginURL}getRTLTextPluginStatus(){return this.pluginStatus}};class zs{constructor(D,Y){this.zoom=D,Y?(this.now=Y.now,this.fadeDuration=Y.fadeDuration,this.zoomHistory=Y.zoomHistory,this.transition=Y.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new xa,this.transition={})}isSupportedScript(D){return function(Y,he){for(let Ce of Y)if(!Za(Ce.charCodeAt(0),he))return!1;return!0}(D,Js.getRTLTextPluginStatus()===\"loaded\")}crossFadingFactor(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){let D=this.zoom,Y=D-Math.floor(D),he=this.crossFadingFactor();return D>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:Y+(1-Y)*he}:{fromScale:.5,toScale:1,t:1-(1-he)*Y}}}class cu{constructor(D,Y){this.property=D,this.value=Y,this.expression=function(he,Ce){if(Of(he))return new Sl(he,Ce);if(yc(he)){let Ve=xu(he,Ce);if(Ve.result===\"error\")throw new Error(Ve.value.map(Xe=>`${Xe.key}: ${Xe.message}`).join(\", \"));return Ve.value}{let Ve=he;return Ce.type===\"color\"&&typeof he==\"string\"?Ve=Vt.parse(he):Ce.type!==\"padding\"||typeof he!=\"number\"&&!Array.isArray(he)?Ce.type===\"variableAnchorOffsetCollection\"&&Array.isArray(he)&&(Ve=Wn.parse(he)):Ve=en.parse(he),{kind:\"constant\",evaluate:()=>Ve}}}(Y===void 0?D.specification.default:Y,D.specification)}isDataDriven(){return this.expression.kind===\"source\"||this.expression.kind===\"composite\"}possiblyEvaluate(D,Y,he){return this.property.possiblyEvaluate(this,D,Y,he)}}class zu{constructor(D){this.property=D,this.value=new cu(D,void 0)}transitioned(D,Y){return new Kc(this.property,this.value,Y,E({},D.transition,this.transition),D.now)}untransitioned(){return new Kc(this.property,this.value,null,{},0)}}class nc{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitionablePropertyValues)}getValue(D){return u(this._values[D].value.value)}setValue(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].value=new cu(this._values[D].property,Y===null?void 0:u(Y))}getTransition(D){return u(this._values[D].transition)}setTransition(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].transition=u(Y)||void 0}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he);let Ce=this.getTransition(Y);Ce!==void 0&&(D[`${Y}-transition`]=Ce)}return D}transitioned(D,Y){let he=new Tu(this._properties);for(let Ce of Object.keys(this._values))he._values[Ce]=this._values[Ce].transitioned(D,Y._values[Ce]);return he}untransitioned(){let D=new Tu(this._properties);for(let Y of Object.keys(this._values))D._values[Y]=this._values[Y].untransitioned();return D}}class Kc{constructor(D,Y,he,Ce,Ve){this.property=D,this.value=Y,this.begin=Ve+Ce.delay||0,this.end=this.begin+Ce.duration||0,D.specification.transition&&(Ce.delay||Ce.duration)&&(this.prior=he)}possiblyEvaluate(D,Y,he){let Ce=D.now||0,Ve=this.value.possiblyEvaluate(D,Y,he),Xe=this.prior;if(Xe){if(Ce>this.end)return this.prior=null,Ve;if(this.value.isDataDriven())return this.prior=null,Ve;if(Ce=1)return 1;let Ot=At*At,er=Ot*At;return 4*(At<.5?er:3*(At-Ot)+er-.75)}(ct))}}return Ve}}class Tu{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitioningPropertyValues)}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}hasTransition(){for(let D of Object.keys(this._values))if(this._values[D].prior)return!0;return!1}}class zc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPropertyValues)}hasValue(D){return this._values[D].value!==void 0}getValue(D){return u(this._values[D].value)}setValue(D,Y){this._values[D]=new cu(this._values[D].property,Y===null?void 0:u(Y))}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he)}return D}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}}class Fu{constructor(D,Y,he){this.property=D,this.value=Y,this.parameters=he}isConstant(){return this.value.kind===\"constant\"}constantOr(D){return this.value.kind===\"constant\"?this.value.value:D}evaluate(D,Y,he,Ce){return this.property.evaluate(this.value,this.parameters,D,Y,he,Ce)}}class wc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPossiblyEvaluatedValues)}get(D){return this._values[D]}}class bo{constructor(D){this.specification=D}possiblyEvaluate(D,Y){if(D.isDataDriven())throw new Error(\"Value should not be data driven\");return D.expression.evaluate(Y)}interpolate(D,Y,he){let Ce=yo[this.specification.type];return Ce?Ce(D,Y,he):D}}class Wo{constructor(D,Y){this.specification=D,this.overrides=Y}possiblyEvaluate(D,Y,he,Ce){return new Fu(this,D.expression.kind===\"constant\"||D.expression.kind===\"camera\"?{kind:\"constant\",value:D.expression.evaluate(Y,null,{},he,Ce)}:D.expression,Y)}interpolate(D,Y,he){if(D.value.kind!==\"constant\"||Y.value.kind!==\"constant\")return D;if(D.value.value===void 0||Y.value.value===void 0)return new Fu(this,{kind:\"constant\",value:void 0},D.parameters);let Ce=yo[this.specification.type];if(Ce){let Ve=Ce(D.value.value,Y.value.value,he);return new Fu(this,{kind:\"constant\",value:Ve},D.parameters)}return D}evaluate(D,Y,he,Ce,Ve,Xe){return D.kind===\"constant\"?D.value:D.evaluate(Y,he,Ce,Ve,Xe)}}class Fc extends Wo{possiblyEvaluate(D,Y,he,Ce){if(D.value===void 0)return new Fu(this,{kind:\"constant\",value:void 0},Y);if(D.expression.kind===\"constant\"){let Ve=D.expression.evaluate(Y,null,{},he,Ce),Xe=D.property.specification.type===\"resolvedImage\"&&typeof Ve!=\"string\"?Ve.name:Ve,ct=this._calculate(Xe,Xe,Xe,Y);return new Fu(this,{kind:\"constant\",value:ct},Y)}if(D.expression.kind===\"camera\"){let Ve=this._calculate(D.expression.evaluate({zoom:Y.zoom-1}),D.expression.evaluate({zoom:Y.zoom}),D.expression.evaluate({zoom:Y.zoom+1}),Y);return new Fu(this,{kind:\"constant\",value:Ve},Y)}return new Fu(this,D.expression,Y)}evaluate(D,Y,he,Ce,Ve,Xe){if(D.kind===\"source\"){let ct=D.evaluate(Y,he,Ce,Ve,Xe);return this._calculate(ct,ct,ct,Y)}return D.kind===\"composite\"?this._calculate(D.evaluate({zoom:Math.floor(Y.zoom)-1},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)+1},he,Ce),Y):D.value}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class hc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){if(D.value!==void 0){if(D.expression.kind===\"constant\"){let Ve=D.expression.evaluate(Y,null,{},he,Ce);return this._calculate(Ve,Ve,Ve,Y)}return this._calculate(D.expression.evaluate(new zs(Math.floor(Y.zoom-1),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom+1),Y)),Y)}}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class dc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){return!!D.expression.evaluate(Y,null,{},he,Ce)}interpolate(){return!1}}class Ne{constructor(D){this.properties=D,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(let Y in D){let he=D[Y];he.specification.overridable&&this.overridableProperties.push(Y);let Ce=this.defaultPropertyValues[Y]=new cu(he,void 0),Ve=this.defaultTransitionablePropertyValues[Y]=new zu(he);this.defaultTransitioningPropertyValues[Y]=Ve.untransitioned(),this.defaultPossiblyEvaluatedValues[Y]=Ce.possiblyEvaluate({})}}}di(\"DataDrivenProperty\",Wo),di(\"DataConstantProperty\",bo),di(\"CrossFadedDataDrivenProperty\",Fc),di(\"CrossFadedProperty\",hc),di(\"ColorRampProperty\",dc);let R=\"-transition\";class ne extends ee{constructor(D,Y){if(super(),this.id=D.id,this.type=D.type,this._featureFilter={filter:()=>!0,needGeometry:!1},D.type!==\"custom\"&&(this.metadata=D.metadata,this.minzoom=D.minzoom,this.maxzoom=D.maxzoom,D.type!==\"background\"&&(this.source=D.source,this.sourceLayer=D[\"source-layer\"],this.filter=D.filter),Y.layout&&(this._unevaluatedLayout=new zc(Y.layout)),Y.paint)){this._transitionablePaint=new nc(Y.paint);for(let he in D.paint)this.setPaintProperty(he,D.paint[he],{validate:!1});for(let he in D.layout)this.setLayoutProperty(he,D.layout[he],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new wc(Y.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(D){return D===\"visibility\"?this.visibility:this._unevaluatedLayout.getValue(D)}setLayoutProperty(D,Y,he={}){Y!=null&&this._validate(aa,`layers.${this.id}.layout.${D}`,D,Y,he)||(D!==\"visibility\"?this._unevaluatedLayout.setValue(D,Y):this.visibility=Y)}getPaintProperty(D){return D.endsWith(R)?this._transitionablePaint.getTransition(D.slice(0,-11)):this._transitionablePaint.getValue(D)}setPaintProperty(D,Y,he={}){if(Y!=null&&this._validate(Wi,`layers.${this.id}.paint.${D}`,D,Y,he))return!1;if(D.endsWith(R))return this._transitionablePaint.setTransition(D.slice(0,-11),Y||void 0),!1;{let Ce=this._transitionablePaint._values[D],Ve=Ce.property.specification[\"property-type\"]===\"cross-faded-data-driven\",Xe=Ce.value.isDataDriven(),ct=Ce.value;this._transitionablePaint.setValue(D,Y),this._handleSpecialPaintPropertyUpdate(D);let At=this._transitionablePaint._values[D].value;return At.isDataDriven()||Xe||Ve||this._handleOverridablePaintPropertyUpdate(D,ct,At)}}_handleSpecialPaintPropertyUpdate(D){}_handleOverridablePaintPropertyUpdate(D,Y,he){return!1}isHidden(D){return!!(this.minzoom&&D=this.maxzoom)||this.visibility===\"none\"}updateTransitions(D){this._transitioningPaint=this._transitionablePaint.transitioned(D,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(D,Y){D.getCrossfadeParameters&&(this._crossfadeParameters=D.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(D,void 0,Y)),this.paint=this._transitioningPaint.possiblyEvaluate(D,void 0,Y)}serialize(){let D={id:this.id,type:this.type,source:this.source,\"source-layer\":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(D.layout=D.layout||{},D.layout.visibility=this.visibility),v(D,(Y,he)=>!(Y===void 0||he===\"layout\"&&!Object.keys(Y).length||he===\"paint\"&&!Object.keys(Y).length))}_validate(D,Y,he,Ce,Ve={}){return(!Ve||Ve.validate!==!1)&&bi(this,D.call(si,{key:Y,layerType:this.type,objectKey:he,value:Ce,styleSpec:ie,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(let D in this.paint._values){let Y=this.paint.get(D);if(Y instanceof Fu&&Pu(Y.property.specification)&&(Y.value.kind===\"source\"||Y.value.kind===\"composite\")&&Y.value.isStateDependent)return!0}return!1}}let be={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class Ae{constructor(D,Y){this._structArray=D,this._pos1=Y*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class Fe{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(D,Y){return D._trim(),Y&&(D.isTransferred=!0,Y.push(D.arrayBuffer)),{length:D.length,arrayBuffer:D.arrayBuffer}}static deserialize(D){let Y=Object.create(this.prototype);return Y.arrayBuffer=D.arrayBuffer,Y.length=D.length,Y.capacity=D.arrayBuffer.byteLength/Y.bytesPerElement,Y._refreshViews(),Y}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(D){this.reserve(D),this.length=D}reserve(D){if(D>this.capacity){this.capacity=Math.max(D,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);let Y=this.uint8;this._refreshViews(),Y&&this.uint8.set(Y)}}_refreshViews(){throw new Error(\"_refreshViews() must be implemented by each concrete StructArray layout\")}}function ht(q,D=1){let Y=0,he=0;return{members:q.map(Ce=>{let Ve=be[Ce.type].BYTES_PER_ELEMENT,Xe=Y=wt(Y,Math.max(D,Ve)),ct=Ce.components||1;return he=Math.max(he,Ve),Y+=Ve*ct,{name:Ce.name,type:Ce.type,components:ct,offset:Xe}}),size:wt(Y,Math.max(he,D)),alignment:D}}function wt(q,D){return Math.ceil(q/D)*D}class zt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.int16[Ce+0]=Y,this.int16[Ce+1]=he,D}}zt.prototype.bytesPerElement=4,di(\"StructArrayLayout2i4\",zt);class Jt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.int16[Ve+0]=Y,this.int16[Ve+1]=he,this.int16[Ve+2]=Ce,D}}Jt.prototype.bytesPerElement=6,di(\"StructArrayLayout3i6\",Jt);class hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.int16[Xe+0]=Y,this.int16[Xe+1]=he,this.int16[Xe+2]=Ce,this.int16[Xe+3]=Ve,D}}hr.prototype.bytesPerElement=8,di(\"StructArrayLayout4i8\",hr);class vr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}vr.prototype.bytesPerElement=12,di(\"StructArrayLayout2i4i12\",vr);class Hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=4*D,Ot=8*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.uint8[Ot+4]=Ce,this.uint8[Ot+5]=Ve,this.uint8[Ot+6]=Xe,this.uint8[Ot+7]=ct,D}}Hr.prototype.bytesPerElement=8,di(\"StructArrayLayout2i4ub8\",Hr);class ln extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.float32[Ce+0]=Y,this.float32[Ce+1]=he,D}}ln.prototype.bytesPerElement=8,di(\"StructArrayLayout2f8\",ln);class Ge extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=this.length;return this.resize(cr+1),this.emplace(cr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=10*D;return this.uint16[Sr+0]=Y,this.uint16[Sr+1]=he,this.uint16[Sr+2]=Ce,this.uint16[Sr+3]=Ve,this.uint16[Sr+4]=Xe,this.uint16[Sr+5]=ct,this.uint16[Sr+6]=At,this.uint16[Sr+7]=Ot,this.uint16[Sr+8]=er,this.uint16[Sr+9]=cr,D}}Ge.prototype.bytesPerElement=20,di(\"StructArrayLayout10ui20\",Ge);class $e extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr){let Nr=this.length;return this.resize(Nr+1),this.emplace(Nr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr){let rn=12*D;return this.int16[rn+0]=Y,this.int16[rn+1]=he,this.int16[rn+2]=Ce,this.int16[rn+3]=Ve,this.uint16[rn+4]=Xe,this.uint16[rn+5]=ct,this.uint16[rn+6]=At,this.uint16[rn+7]=Ot,this.int16[rn+8]=er,this.int16[rn+9]=cr,this.int16[rn+10]=Sr,this.int16[rn+11]=Nr,D}}$e.prototype.bytesPerElement=24,di(\"StructArrayLayout4i4ui4i24\",$e);class st extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.float32[Ve+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}st.prototype.bytesPerElement=12,di(\"StructArrayLayout3f12\",st);class dt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint32[1*D+0]=Y,D}}dt.prototype.bytesPerElement=4,di(\"StructArrayLayout1ul4\",dt);class St extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot){let er=this.length;return this.resize(er+1),this.emplace(er,D,Y,he,Ce,Ve,Xe,ct,At,Ot)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=10*D,Sr=5*D;return this.int16[cr+0]=Y,this.int16[cr+1]=he,this.int16[cr+2]=Ce,this.int16[cr+3]=Ve,this.int16[cr+4]=Xe,this.int16[cr+5]=ct,this.uint32[Sr+3]=At,this.uint16[cr+8]=Ot,this.uint16[cr+9]=er,D}}St.prototype.bytesPerElement=20,di(\"StructArrayLayout6i1ul2ui20\",St);class xt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}xt.prototype.bytesPerElement=12,di(\"StructArrayLayout2i2i2i12\",xt);class It extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve){let Xe=this.length;return this.resize(Xe+1),this.emplace(Xe,D,Y,he,Ce,Ve)}emplace(D,Y,he,Ce,Ve,Xe){let ct=4*D,At=8*D;return this.float32[ct+0]=Y,this.float32[ct+1]=he,this.float32[ct+2]=Ce,this.int16[At+6]=Ve,this.int16[At+7]=Xe,D}}It.prototype.bytesPerElement=16,di(\"StructArrayLayout2f1f2i16\",It);class rr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=16*D,Ot=4*D,er=8*D;return this.uint8[At+0]=Y,this.uint8[At+1]=he,this.float32[Ot+1]=Ce,this.float32[Ot+2]=Ve,this.int16[er+6]=Xe,this.int16[er+7]=ct,D}}rr.prototype.bytesPerElement=16,di(\"StructArrayLayout2ub2f2i16\",rr);class sr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[Ve+0]=Y,this.uint16[Ve+1]=he,this.uint16[Ve+2]=Ce,D}}sr.prototype.bytesPerElement=6,di(\"StructArrayLayout3ui6\",sr);class pr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei){let Ri=this.length;return this.resize(Ri+1),this.emplace(Ri,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri){let fi=24*D,Si=12*D,Gi=48*D;return this.int16[fi+0]=Y,this.int16[fi+1]=he,this.uint16[fi+2]=Ce,this.uint16[fi+3]=Ve,this.uint32[Si+2]=Xe,this.uint32[Si+3]=ct,this.uint32[Si+4]=At,this.uint16[fi+10]=Ot,this.uint16[fi+11]=er,this.uint16[fi+12]=cr,this.float32[Si+7]=Sr,this.float32[Si+8]=Nr,this.uint8[Gi+36]=rn,this.uint8[Gi+37]=mn,this.uint8[Gi+38]=Gn,this.uint32[Si+10]=ei,this.int16[fi+22]=Ri,D}}pr.prototype.bytesPerElement=48,di(\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\",pr);class kr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo){let Bo=this.length;return this.resize(Bo+1),this.emplace(Bo,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo,Bo){let ma=32*D,us=16*D;return this.int16[ma+0]=Y,this.int16[ma+1]=he,this.int16[ma+2]=Ce,this.int16[ma+3]=Ve,this.int16[ma+4]=Xe,this.int16[ma+5]=ct,this.int16[ma+6]=At,this.int16[ma+7]=Ot,this.uint16[ma+8]=er,this.uint16[ma+9]=cr,this.uint16[ma+10]=Sr,this.uint16[ma+11]=Nr,this.uint16[ma+12]=rn,this.uint16[ma+13]=mn,this.uint16[ma+14]=Gn,this.uint16[ma+15]=ei,this.uint16[ma+16]=Ri,this.uint16[ma+17]=fi,this.uint16[ma+18]=Si,this.uint16[ma+19]=Gi,this.uint16[ma+20]=Ha,this.uint16[ma+21]=Po,this.uint16[ma+22]=xs,this.uint32[us+12]=_o,this.float32[us+13]=Ra,this.float32[us+14]=es,this.uint16[ma+30]=qo,this.uint16[ma+31]=Bo,D}}kr.prototype.bytesPerElement=64,di(\"StructArrayLayout8i15ui1ul2f2ui64\",kr);class Yr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.float32[1*D+0]=Y,D}}Yr.prototype.bytesPerElement=4,di(\"StructArrayLayout1f4\",Yr);class _n extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[6*D+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}_n.prototype.bytesPerElement=12,di(\"StructArrayLayout1ui2f12\",_n);class Mn extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=4*D;return this.uint32[2*D+0]=Y,this.uint16[Ve+2]=he,this.uint16[Ve+3]=Ce,D}}Mn.prototype.bytesPerElement=8,di(\"StructArrayLayout1ul2ui8\",Mn);class Un extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.uint16[Ce+0]=Y,this.uint16[Ce+1]=he,D}}Un.prototype.bytesPerElement=4,di(\"StructArrayLayout2ui4\",Un);class li extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint16[1*D+0]=Y,D}}li.prototype.bytesPerElement=2,di(\"StructArrayLayout1ui2\",li);class ki extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.float32[Xe+0]=Y,this.float32[Xe+1]=he,this.float32[Xe+2]=Ce,this.float32[Xe+3]=Ve,D}}ki.prototype.bytesPerElement=16,di(\"StructArrayLayout4f16\",ki);class Ci extends Ae{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new i(this.anchorPointX,this.anchorPointY)}}Ci.prototype.size=20;class Zi extends St{get(D){return new Ci(this,D)}}di(\"CollisionBoxArray\",Zi);class ya extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(D){this._structArray.uint8[this._pos1+37]=D}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(D){this._structArray.uint8[this._pos1+38]=D}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(D){this._structArray.uint32[this._pos4+10]=D}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}ya.prototype.size=48;class ro extends pr{get(D){return new ya(this,D)}}di(\"PlacedSymbolArray\",ro);class Va extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(D){this._structArray.uint32[this._pos4+12]=D}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Va.prototype.size=64;class Io extends kr{get(D){return new Va(this,D)}}di(\"SymbolInstanceArray\",Io);class vs extends Yr{getoffsetX(D){return this.float32[1*D+0]}}di(\"GlyphOffsetArray\",vs);class Fo extends Jt{getx(D){return this.int16[3*D+0]}gety(D){return this.int16[3*D+1]}gettileUnitDistanceFromAnchor(D){return this.int16[3*D+2]}}di(\"SymbolLineVertexArray\",Fo);class ts extends Ae{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}ts.prototype.size=12;class bs extends _n{get(D){return new ts(this,D)}}di(\"TextAnchorOffsetArray\",bs);class fl extends Ae{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}fl.prototype.size=8;class al extends Mn{get(D){return new fl(this,D)}}di(\"FeatureIndexArray\",al);class os extends zt{}class is extends zt{}class Nl extends zt{}class eu extends vr{}class Xu extends Hr{}class mu extends ln{}class El extends Ge{}class fu extends $e{}class Tc extends st{}class Zl extends dt{}class Yl extends xt{}class de extends rr{}class Re extends sr{}class Qe extends Un{}let vt=ht([{name:\"a_pos\",components:2,type:\"Int16\"}],4),{members:mt}=vt;class Tt{constructor(D=[]){this.segments=D}prepareSegment(D,Y,he,Ce){let Ve=this.segments[this.segments.length-1];return D>Tt.MAX_VERTEX_ARRAY_LENGTH&&f(`Max vertices per segment is ${Tt.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${D}`),(!Ve||Ve.vertexLength+D>Tt.MAX_VERTEX_ARRAY_LENGTH||Ve.sortKey!==Ce)&&(Ve={vertexOffset:Y.length,primitiveOffset:he.length,vertexLength:0,primitiveLength:0},Ce!==void 0&&(Ve.sortKey=Ce),this.segments.push(Ve)),Ve}get(){return this.segments}destroy(){for(let D of this.segments)for(let Y in D.vaos)D.vaos[Y].destroy()}static simpleSegment(D,Y,he,Ce){return new Tt([{vertexOffset:D,primitiveOffset:Y,vertexLength:he,primitiveLength:Ce,vaos:{},sortKey:0}])}}function Qt(q,D){return 256*(q=w(Math.floor(q),0,255))+w(Math.floor(D),0,255)}Tt.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,di(\"SegmentVector\",Tt);let Dt=ht([{name:\"a_pattern_from\",components:4,type:\"Uint16\"},{name:\"a_pattern_to\",components:4,type:\"Uint16\"},{name:\"a_pixel_ratio_from\",components:1,type:\"Uint16\"},{name:\"a_pixel_ratio_to\",components:1,type:\"Uint16\"}]);var lr={exports:{}},Br={exports:{}};Br.exports=function(q,D){var Y,he,Ce,Ve,Xe,ct,At,Ot;for(he=q.length-(Y=3&q.length),Ce=D,Xe=3432918353,ct=461845907,Ot=0;Ot>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295)<<13|Ce>>>19))+((5*(Ce>>>16)&65535)<<16)&4294967295))+((58964+(Ve>>>16)&65535)<<16);switch(At=0,Y){case 3:At^=(255&q.charCodeAt(Ot+2))<<16;case 2:At^=(255&q.charCodeAt(Ot+1))<<8;case 1:Ce^=At=(65535&(At=(At=(65535&(At^=255&q.charCodeAt(Ot)))*Xe+(((At>>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295}return Ce^=q.length,Ce=2246822507*(65535&(Ce^=Ce>>>16))+((2246822507*(Ce>>>16)&65535)<<16)&4294967295,Ce=3266489909*(65535&(Ce^=Ce>>>13))+((3266489909*(Ce>>>16)&65535)<<16)&4294967295,(Ce^=Ce>>>16)>>>0};var jr=Br.exports,Tn={exports:{}};Tn.exports=function(q,D){for(var Y,he=q.length,Ce=D^he,Ve=0;he>=4;)Y=1540483477*(65535&(Y=255&q.charCodeAt(Ve)|(255&q.charCodeAt(++Ve))<<8|(255&q.charCodeAt(++Ve))<<16|(255&q.charCodeAt(++Ve))<<24))+((1540483477*(Y>>>16)&65535)<<16),Ce=1540483477*(65535&Ce)+((1540483477*(Ce>>>16)&65535)<<16)^(Y=1540483477*(65535&(Y^=Y>>>24))+((1540483477*(Y>>>16)&65535)<<16)),he-=4,++Ve;switch(he){case 3:Ce^=(255&q.charCodeAt(Ve+2))<<16;case 2:Ce^=(255&q.charCodeAt(Ve+1))<<8;case 1:Ce=1540483477*(65535&(Ce^=255&q.charCodeAt(Ve)))+((1540483477*(Ce>>>16)&65535)<<16)}return Ce=1540483477*(65535&(Ce^=Ce>>>13))+((1540483477*(Ce>>>16)&65535)<<16),(Ce^=Ce>>>15)>>>0};var yn=jr,ti=Tn.exports;lr.exports=yn,lr.exports.murmur3=yn,lr.exports.murmur2=ti;var ai=r(lr.exports);class En{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(D,Y,he,Ce){this.ids.push(qn(D)),this.positions.push(Y,he,Ce)}getPositions(D){if(!this.indexed)throw new Error(\"Trying to get index, but feature positions are not indexed\");let Y=qn(D),he=0,Ce=this.ids.length-1;for(;he>1;this.ids[Xe]>=Y?Ce=Xe:he=Xe+1}let Ve=[];for(;this.ids[he]===Y;)Ve.push({index:this.positions[3*he],start:this.positions[3*he+1],end:this.positions[3*he+2]}),he++;return Ve}static serialize(D,Y){let he=new Float64Array(D.ids),Ce=new Uint32Array(D.positions);return Jn(he,Ce,0,he.length-1),Y&&Y.push(he.buffer,Ce.buffer),{ids:he,positions:Ce}}static deserialize(D){let Y=new En;return Y.ids=D.ids,Y.positions=D.positions,Y.indexed=!0,Y}}function qn(q){let D=+q;return!isNaN(D)&&D<=Number.MAX_SAFE_INTEGER?D:ai(String(q))}function Jn(q,D,Y,he){for(;Y>1],Ve=Y-1,Xe=he+1;for(;;){do Ve++;while(q[Ve]Ce);if(Ve>=Xe)break;ci(q,Ve,Xe),ci(D,3*Ve,3*Xe),ci(D,3*Ve+1,3*Xe+1),ci(D,3*Ve+2,3*Xe+2)}Xe-Y`u_${Ce}`),this.type=he}setUniform(D,Y,he){D.set(he.constantOr(this.value))}getBinding(D,Y,he){return this.type===\"color\"?new oa(D,Y):new Hn(D,Y)}}class oo{constructor(D,Y){this.uniformNames=Y.map(he=>`u_${he}`),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(D,Y){this.pixelRatioFrom=Y.pixelRatio,this.pixelRatioTo=D.pixelRatio,this.patternFrom=Y.tlbr,this.patternTo=D.tlbr}setUniform(D,Y,he,Ce){let Ve=Ce===\"u_pattern_to\"?this.patternTo:Ce===\"u_pattern_from\"?this.patternFrom:Ce===\"u_pixel_ratio_to\"?this.pixelRatioTo:Ce===\"u_pixel_ratio_from\"?this.pixelRatioFrom:null;Ve&&D.set(Ve)}getBinding(D,Y,he){return he.substr(0,9)===\"u_pattern\"?new ta(D,Y):new Hn(D,Y)}}class Qo{constructor(D,Y,he,Ce){this.expression=D,this.type=he,this.maxValue=0,this.paintVertexAttributes=Y.map(Ve=>({name:`a_${Ve}`,type:\"Float32\",components:he===\"color\"?2:1,offset:0})),this.paintVertexArray=new Ce}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.paintVertexArray.length,ct=this.expression.evaluate(new zs(0),Y,{},Ce,[],Ve);this.paintVertexArray.resize(D),this._setPaintValue(Xe,D,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:0},he,Ce);this._setPaintValue(D,Y,Ve)}_setPaintValue(D,Y,he){if(this.type===\"color\"){let Ce=La(he);for(let Ve=D;Ve`u_${ct}_t`),this.type=he,this.useIntegerZoom=Ce,this.zoom=Ve,this.maxValue=0,this.paintVertexAttributes=Y.map(ct=>({name:`a_${ct}`,type:\"Float32\",components:he===\"color\"?4:2,offset:0})),this.paintVertexArray=new Xe}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.expression.evaluate(new zs(this.zoom),Y,{},Ce,[],Ve),ct=this.expression.evaluate(new zs(this.zoom+1),Y,{},Ce,[],Ve),At=this.paintVertexArray.length;this.paintVertexArray.resize(D),this._setPaintValue(At,D,Xe,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:this.zoom},he,Ce),Xe=this.expression.evaluate({zoom:this.zoom+1},he,Ce);this._setPaintValue(D,Y,Ve,Xe)}_setPaintValue(D,Y,he,Ce){if(this.type===\"color\"){let Ve=La(he),Xe=La(Ce);for(let ct=D;ct`#define HAS_UNIFORM_${Ce}`))}return D}getBinderAttributes(){let D=[];for(let Y in this.binders){let he=this.binders[Y];if(he instanceof Qo||he instanceof uo)for(let Ce=0;Ce!0){this.programConfigurations={};for(let Ce of D)this.programConfigurations[Ce.id]=new ol(Ce,Y,he);this.needsUpload=!1,this._featureMap=new En,this._bufferOffset=0}populatePaintArrays(D,Y,he,Ce,Ve,Xe){for(let ct in this.programConfigurations)this.programConfigurations[ct].populatePaintArrays(D,Y,Ce,Ve,Xe);Y.id!==void 0&&this._featureMap.add(Y.id,he,this._bufferOffset,D),this._bufferOffset=D,this.needsUpload=!0}updatePaintArrays(D,Y,he,Ce){for(let Ve of he)this.needsUpload=this.programConfigurations[Ve.id].updatePaintArrays(D,this._featureMap,Y,Ve,Ce)||this.needsUpload}get(D){return this.programConfigurations[D]}upload(D){if(this.needsUpload){for(let Y in this.programConfigurations)this.programConfigurations[Y].upload(D);this.needsUpload=!1}}destroy(){for(let D in this.programConfigurations)this.programConfigurations[D].destroy()}}function ml(q,D){return{\"text-opacity\":[\"opacity\"],\"icon-opacity\":[\"opacity\"],\"text-color\":[\"fill_color\"],\"icon-color\":[\"fill_color\"],\"text-halo-color\":[\"halo_color\"],\"icon-halo-color\":[\"halo_color\"],\"text-halo-blur\":[\"halo_blur\"],\"icon-halo-blur\":[\"halo_blur\"],\"text-halo-width\":[\"halo_width\"],\"icon-halo-width\":[\"halo_width\"],\"line-gap-width\":[\"gapwidth\"],\"line-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"],\"fill-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"],\"fill-extrusion-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"]}[q]||[q.replace(`${D}-`,\"\").replace(/-/g,\"_\")]}function ua(q,D,Y){let he={color:{source:ln,composite:ki},number:{source:Yr,composite:ln}},Ce=function(Ve){return{\"line-pattern\":{source:El,composite:El},\"fill-pattern\":{source:El,composite:El},\"fill-extrusion-pattern\":{source:El,composite:El}}[Ve]}(q);return Ce&&Ce[Y]||he[D][Y]}di(\"ConstantBinder\",io),di(\"CrossFadedConstantBinder\",oo),di(\"SourceExpressionBinder\",Qo),di(\"CrossFadedCompositeBinder\",Jo),di(\"CompositeExpressionBinder\",uo),di(\"ProgramConfiguration\",ol,{omit:[\"_buffers\"]}),di(\"ProgramConfigurationSet\",tl);let wo=8192,ys=Math.pow(2,14)-1,Ms=-ys-1;function xl(q){let D=wo/q.extent,Y=q.loadGeometry();for(let he=0;heXe.x+1||AtXe.y+1)&&f(\"Geometry exceeds allowed extent, reduce your vector tile buffer size\")}}return Y}function Ul(q,D){return{type:q.type,id:q.id,properties:q.properties,geometry:D?xl(q):[]}}function gu(q,D,Y,he,Ce){q.emplaceBack(2*D+(he+1)/2,2*Y+(Ce+1)/2)}class Fl{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new is,this.indexArray=new Re,this.segments=new Tt,this.programConfigurations=new tl(D.layers,D.zoom),this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){let Ce=this.layers[0],Ve=[],Xe=null,ct=!1;Ce.type===\"circle\"&&(Xe=Ce.layout.get(\"circle-sort-key\"),ct=!Xe.isConstant());for(let{feature:At,id:Ot,index:er,sourceLayerIndex:cr}of D){let Sr=this.layers[0]._featureFilter.needGeometry,Nr=Ul(At,Sr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Nr,he))continue;let rn=ct?Xe.evaluate(Nr,{},he):void 0,mn={id:Ot,properties:At.properties,type:At.type,sourceLayerIndex:cr,index:er,geometry:Sr?Nr.geometry:xl(At),patterns:{},sortKey:rn};Ve.push(mn)}ct&&Ve.sort((At,Ot)=>At.sortKey-Ot.sortKey);for(let At of Ve){let{geometry:Ot,index:er,sourceLayerIndex:cr}=At,Sr=D[er].feature;this.addFeature(At,Ot,er,he),Y.featureIndex.insert(Sr,Ot,er,cr,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,mt),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(D,Y,he,Ce){for(let Ve of Y)for(let Xe of Ve){let ct=Xe.x,At=Xe.y;if(ct<0||ct>=wo||At<0||At>=wo)continue;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,D.sortKey),er=Ot.vertexLength;gu(this.layoutVertexArray,ct,At,-1,-1),gu(this.layoutVertexArray,ct,At,1,-1),gu(this.layoutVertexArray,ct,At,1,1),gu(this.layoutVertexArray,ct,At,-1,1),this.indexArray.emplaceBack(er,er+1,er+2),this.indexArray.emplaceBack(er,er+3,er+2),Ot.vertexLength+=4,Ot.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,{},Ce)}}function vc(q,D){for(let Y=0;Y1){if(xi(q,D))return!0;for(let he=0;he1?Y:Y.sub(D)._mult(Ce)._add(D))}function na(q,D){let Y,he,Ce,Ve=!1;for(let Xe=0;XeD.y!=Ce.y>D.y&&D.x<(Ce.x-he.x)*(D.y-he.y)/(Ce.y-he.y)+he.x&&(Ve=!Ve)}return Ve}function Ca(q,D){let Y=!1;for(let he=0,Ce=q.length-1;heD.y!=Xe.y>D.y&&D.x<(Xe.x-Ve.x)*(D.y-Ve.y)/(Xe.y-Ve.y)+Ve.x&&(Y=!Y)}return Y}function ka(q,D,Y){let he=Y[0],Ce=Y[2];if(q.xCe.x&&D.x>Ce.x||q.yCe.y&&D.y>Ce.y)return!1;let Ve=P(q,D,Y[0]);return Ve!==P(q,D,Y[1])||Ve!==P(q,D,Y[2])||Ve!==P(q,D,Y[3])}function ha(q,D,Y){let he=D.paint.get(q).value;return he.kind===\"constant\"?he.value:Y.programConfigurations.get(D.id).getMaxValue(q)}function Xo(q){return Math.sqrt(q[0]*q[0]+q[1]*q[1])}function Aa(q,D,Y,he,Ce){if(!D[0]&&!D[1])return q;let Ve=i.convert(D)._mult(Ce);Y===\"viewport\"&&Ve._rotate(-he);let Xe=[];for(let ct=0;ctsa(Gn,mn))}(Ot,At),Nr=cr?er*ct:er;for(let rn of Ce)for(let mn of rn){let Gn=cr?mn:sa(mn,At),ei=Nr,Ri=Oo([],[mn.x,mn.y,0,1],At);if(this.paint.get(\"circle-pitch-scale\")===\"viewport\"&&this.paint.get(\"circle-pitch-alignment\")===\"map\"?ei*=Ri[3]/Xe.cameraToCenterDistance:this.paint.get(\"circle-pitch-scale\")===\"map\"&&this.paint.get(\"circle-pitch-alignment\")===\"viewport\"&&(ei*=Xe.cameraToCenterDistance/Ri[3]),tr(Sr,Gn,ei))return!0}return!1}}function sa(q,D){let Y=Oo([],[q.x,q.y,0,1],D);return new i(Y[0]/Y[3],Y[1]/Y[3])}class fo extends Fl{}let Ja;di(\"HeatmapBucket\",fo,{omit:[\"layers\"]});var Fa={get paint(){return Ja=Ja||new Ne({\"heatmap-radius\":new Wo(ie.paint_heatmap[\"heatmap-radius\"]),\"heatmap-weight\":new Wo(ie.paint_heatmap[\"heatmap-weight\"]),\"heatmap-intensity\":new bo(ie.paint_heatmap[\"heatmap-intensity\"]),\"heatmap-color\":new dc(ie.paint_heatmap[\"heatmap-color\"]),\"heatmap-opacity\":new bo(ie.paint_heatmap[\"heatmap-opacity\"])})}};function Ia(q,{width:D,height:Y},he,Ce){if(Ce){if(Ce instanceof Uint8ClampedArray)Ce=new Uint8Array(Ce.buffer);else if(Ce.length!==D*Y*he)throw new RangeError(`mismatched image size. expected: ${Ce.length} but got: ${D*Y*he}`)}else Ce=new Uint8Array(D*Y*he);return q.width=D,q.height=Y,q.data=Ce,q}function ao(q,{width:D,height:Y},he){if(D===q.width&&Y===q.height)return;let Ce=Ia({},{width:D,height:Y},he);Zo(q,Ce,{x:0,y:0},{x:0,y:0},{width:Math.min(q.width,D),height:Math.min(q.height,Y)},he),q.width=D,q.height=Y,q.data=Ce.data}function Zo(q,D,Y,he,Ce,Ve){if(Ce.width===0||Ce.height===0)return D;if(Ce.width>q.width||Ce.height>q.height||Y.x>q.width-Ce.width||Y.y>q.height-Ce.height)throw new RangeError(\"out of range source coordinates for image copy\");if(Ce.width>D.width||Ce.height>D.height||he.x>D.width-Ce.width||he.y>D.height-Ce.height)throw new RangeError(\"out of range destination coordinates for image copy\");let Xe=q.data,ct=D.data;if(Xe===ct)throw new Error(\"srcData equals dstData, so image is already copied\");for(let At=0;At{D[q.evaluationKey]=At;let Ot=q.expression.evaluate(D);Ce.data[Xe+ct+0]=Math.floor(255*Ot.r/Ot.a),Ce.data[Xe+ct+1]=Math.floor(255*Ot.g/Ot.a),Ce.data[Xe+ct+2]=Math.floor(255*Ot.b/Ot.a),Ce.data[Xe+ct+3]=Math.floor(255*Ot.a)};if(q.clips)for(let Xe=0,ct=0;Xe80*Y){ct=1/0,At=1/0;let er=-1/0,cr=-1/0;for(let Sr=Y;Srer&&(er=Nr),rn>cr&&(cr=rn)}Ot=Math.max(er-ct,cr-At),Ot=Ot!==0?32767/Ot:0}return Jc(Ve,Xe,Y,ct,At,Ot,0),Xe}function pc(q,D,Y,he,Ce){let Ve;if(Ce===function(Xe,ct,At,Ot){let er=0;for(let cr=ct,Sr=At-Ot;cr0)for(let Xe=D;Xe=D;Xe-=he)Ve=Ar(Xe/he|0,q[Xe],q[Xe+1],Ve);return Ve&&We(Ve,Ve.next)&&(Gt(Ve),Ve=Ve.next),Ve}function mc(q,D){if(!q)return q;D||(D=q);let Y,he=q;do if(Y=!1,he.steiner||!We(he,he.next)&&Ze(he.prev,he,he.next)!==0)he=he.next;else{if(Gt(he),he=D=he.prev,he===he.next)break;Y=!0}while(Y||he!==D);return D}function Jc(q,D,Y,he,Ce,Ve,Xe){if(!q)return;!Xe&&Ve&&function(At,Ot,er,cr){let Sr=At;do Sr.z===0&&(Sr.z=K(Sr.x,Sr.y,Ot,er,cr)),Sr.prevZ=Sr.prev,Sr.nextZ=Sr.next,Sr=Sr.next;while(Sr!==At);Sr.prevZ.nextZ=null,Sr.prevZ=null,function(Nr){let rn,mn=1;do{let Gn,ei=Nr;Nr=null;let Ri=null;for(rn=0;ei;){rn++;let fi=ei,Si=0;for(let Ha=0;Ha0||Gi>0&&fi;)Si!==0&&(Gi===0||!fi||ei.z<=fi.z)?(Gn=ei,ei=ei.nextZ,Si--):(Gn=fi,fi=fi.nextZ,Gi--),Ri?Ri.nextZ=Gn:Nr=Gn,Gn.prevZ=Ri,Ri=Gn;ei=fi}Ri.nextZ=null,mn*=2}while(rn>1)}(Sr)}(q,he,Ce,Ve);let ct=q;for(;q.prev!==q.next;){let At=q.prev,Ot=q.next;if(Ve?Ac(q,he,Ce,Ve):tu(q))D.push(At.i,q.i,Ot.i),Gt(q),q=Ot.next,ct=Ot.next;else if((q=Ot)===ct){Xe?Xe===1?Jc(q=Nc(mc(q),D),D,Y,he,Ce,Ve,2):Xe===2&&Hs(q,D,Y,he,Ce,Ve):Jc(mc(q),D,Y,he,Ce,Ve,1);break}}}function tu(q){let D=q.prev,Y=q,he=q.next;if(Ze(D,Y,he)>=0)return!1;let Ce=D.x,Ve=Y.x,Xe=he.x,ct=D.y,At=Y.y,Ot=he.y,er=CeVe?Ce>Xe?Ce:Xe:Ve>Xe?Ve:Xe,Nr=ct>At?ct>Ot?ct:Ot:At>Ot?At:Ot,rn=he.next;for(;rn!==D;){if(rn.x>=er&&rn.x<=Sr&&rn.y>=cr&&rn.y<=Nr&&te(Ce,ct,Ve,At,Xe,Ot,rn.x,rn.y)&&Ze(rn.prev,rn,rn.next)>=0)return!1;rn=rn.next}return!0}function Ac(q,D,Y,he){let Ce=q.prev,Ve=q,Xe=q.next;if(Ze(Ce,Ve,Xe)>=0)return!1;let ct=Ce.x,At=Ve.x,Ot=Xe.x,er=Ce.y,cr=Ve.y,Sr=Xe.y,Nr=ctAt?ct>Ot?ct:Ot:At>Ot?At:Ot,Gn=er>cr?er>Sr?er:Sr:cr>Sr?cr:Sr,ei=K(Nr,rn,D,Y,he),Ri=K(mn,Gn,D,Y,he),fi=q.prevZ,Si=q.nextZ;for(;fi&&fi.z>=ei&&Si&&Si.z<=Ri;){if(fi.x>=Nr&&fi.x<=mn&&fi.y>=rn&&fi.y<=Gn&&fi!==Ce&&fi!==Xe&&te(ct,er,At,cr,Ot,Sr,fi.x,fi.y)&&Ze(fi.prev,fi,fi.next)>=0||(fi=fi.prevZ,Si.x>=Nr&&Si.x<=mn&&Si.y>=rn&&Si.y<=Gn&&Si!==Ce&&Si!==Xe&&te(ct,er,At,cr,Ot,Sr,Si.x,Si.y)&&Ze(Si.prev,Si,Si.next)>=0))return!1;Si=Si.nextZ}for(;fi&&fi.z>=ei;){if(fi.x>=Nr&&fi.x<=mn&&fi.y>=rn&&fi.y<=Gn&&fi!==Ce&&fi!==Xe&&te(ct,er,At,cr,Ot,Sr,fi.x,fi.y)&&Ze(fi.prev,fi,fi.next)>=0)return!1;fi=fi.prevZ}for(;Si&&Si.z<=Ri;){if(Si.x>=Nr&&Si.x<=mn&&Si.y>=rn&&Si.y<=Gn&&Si!==Ce&&Si!==Xe&&te(ct,er,At,cr,Ot,Sr,Si.x,Si.y)&&Ze(Si.prev,Si,Si.next)>=0)return!1;Si=Si.nextZ}return!0}function Nc(q,D){let Y=q;do{let he=Y.prev,Ce=Y.next.next;!We(he,Ce)&<(he,Y,Y.next,Ce)&&xr(he,Ce)&&xr(Ce,he)&&(D.push(he.i,Y.i,Ce.i),Gt(Y),Gt(Y.next),Y=q=Ce),Y=Y.next}while(Y!==q);return mc(Y)}function Hs(q,D,Y,he,Ce,Ve){let Xe=q;do{let ct=Xe.next.next;for(;ct!==Xe.prev;){if(Xe.i!==ct.i&&ye(Xe,ct)){let At=Fr(Xe,ct);return Xe=mc(Xe,Xe.next),At=mc(At,At.next),Jc(Xe,D,Y,he,Ce,Ve,0),void Jc(At,D,Y,he,Ce,Ve,0)}ct=ct.next}Xe=Xe.next}while(Xe!==q)}function $c(q,D){return q.x-D.x}function Us(q,D){let Y=function(Ce,Ve){let Xe=Ve,ct=Ce.x,At=Ce.y,Ot,er=-1/0;do{if(At<=Xe.y&&At>=Xe.next.y&&Xe.next.y!==Xe.y){let mn=Xe.x+(At-Xe.y)*(Xe.next.x-Xe.x)/(Xe.next.y-Xe.y);if(mn<=ct&&mn>er&&(er=mn,Ot=Xe.x=Xe.x&&Xe.x>=Sr&&ct!==Xe.x&&te(AtOt.x||Xe.x===Ot.x&&ve(Ot,Xe)))&&(Ot=Xe,rn=mn)}Xe=Xe.next}while(Xe!==cr);return Ot}(q,D);if(!Y)return D;let he=Fr(Y,q);return mc(he,he.next),mc(Y,Y.next)}function ve(q,D){return Ze(q.prev,q,D.prev)<0&&Ze(D.next,q,q.next)<0}function K(q,D,Y,he,Ce){return(q=1431655765&((q=858993459&((q=252645135&((q=16711935&((q=(q-Y)*Ce|0)|q<<8))|q<<4))|q<<2))|q<<1))|(D=1431655765&((D=858993459&((D=252645135&((D=16711935&((D=(D-he)*Ce|0)|D<<8))|D<<4))|D<<2))|D<<1))<<1}function me(q){let D=q,Y=q;do(D.x=(q-Xe)*(Ve-ct)&&(q-Xe)*(he-ct)>=(Y-Xe)*(D-ct)&&(Y-Xe)*(Ve-ct)>=(Ce-Xe)*(he-ct)}function ye(q,D){return q.next.i!==D.i&&q.prev.i!==D.i&&!function(Y,he){let Ce=Y;do{if(Ce.i!==Y.i&&Ce.next.i!==Y.i&&Ce.i!==he.i&&Ce.next.i!==he.i&<(Ce,Ce.next,Y,he))return!0;Ce=Ce.next}while(Ce!==Y);return!1}(q,D)&&(xr(q,D)&&xr(D,q)&&function(Y,he){let Ce=Y,Ve=!1,Xe=(Y.x+he.x)/2,ct=(Y.y+he.y)/2;do Ce.y>ct!=Ce.next.y>ct&&Ce.next.y!==Ce.y&&Xe<(Ce.next.x-Ce.x)*(ct-Ce.y)/(Ce.next.y-Ce.y)+Ce.x&&(Ve=!Ve),Ce=Ce.next;while(Ce!==Y);return Ve}(q,D)&&(Ze(q.prev,q,D.prev)||Ze(q,D.prev,D))||We(q,D)&&Ze(q.prev,q,q.next)>0&&Ze(D.prev,D,D.next)>0)}function Ze(q,D,Y){return(D.y-q.y)*(Y.x-D.x)-(D.x-q.x)*(Y.y-D.y)}function We(q,D){return q.x===D.x&&q.y===D.y}function lt(q,D,Y,he){let Ce=Wt(Ze(q,D,Y)),Ve=Wt(Ze(q,D,he)),Xe=Wt(Ze(Y,he,q)),ct=Wt(Ze(Y,he,D));return Ce!==Ve&&Xe!==ct||!(Ce!==0||!Ct(q,Y,D))||!(Ve!==0||!Ct(q,he,D))||!(Xe!==0||!Ct(Y,q,he))||!(ct!==0||!Ct(Y,D,he))}function Ct(q,D,Y){return D.x<=Math.max(q.x,Y.x)&&D.x>=Math.min(q.x,Y.x)&&D.y<=Math.max(q.y,Y.y)&&D.y>=Math.min(q.y,Y.y)}function Wt(q){return q>0?1:q<0?-1:0}function xr(q,D){return Ze(q.prev,q,q.next)<0?Ze(q,D,q.next)>=0&&Ze(q,q.prev,D)>=0:Ze(q,D,q.prev)<0||Ze(q,q.next,D)<0}function Fr(q,D){let Y=nr(q.i,q.x,q.y),he=nr(D.i,D.x,D.y),Ce=q.next,Ve=D.prev;return q.next=D,D.prev=q,Y.next=Ce,Ce.prev=Y,he.next=Y,Y.prev=he,Ve.next=he,he.prev=Ve,he}function Ar(q,D,Y,he){let Ce=nr(q,D,Y);return he?(Ce.next=he.next,Ce.prev=he,he.next.prev=Ce,he.next=Ce):(Ce.prev=Ce,Ce.next=Ce),Ce}function Gt(q){q.next.prev=q.prev,q.prev.next=q.next,q.prevZ&&(q.prevZ.nextZ=q.nextZ),q.nextZ&&(q.nextZ.prevZ=q.prevZ)}function nr(q,D,Y){return{i:q,x:D,y:Y,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function mr(q,D,Y){let he=Y.patternDependencies,Ce=!1;for(let Ve of D){let Xe=Ve.paint.get(`${q}-pattern`);Xe.isConstant()||(Ce=!0);let ct=Xe.constantOr(null);ct&&(Ce=!0,he[ct.to]=!0,he[ct.from]=!0)}return Ce}function zr(q,D,Y,he,Ce){let Ve=Ce.patternDependencies;for(let Xe of D){let ct=Xe.paint.get(`${q}-pattern`).value;if(ct.kind!==\"constant\"){let At=ct.evaluate({zoom:he-1},Y,{},Ce.availableImages),Ot=ct.evaluate({zoom:he},Y,{},Ce.availableImages),er=ct.evaluate({zoom:he+1},Y,{},Ce.availableImages);At=At&&At.name?At.name:At,Ot=Ot&&Ot.name?Ot.name:Ot,er=er&&er.name?er.name:er,Ve[At]=!0,Ve[Ot]=!0,Ve[er]=!0,Y.patterns[Xe.id]={min:At,mid:Ot,max:er}}}return Y}class Gr{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Nl,this.indexArray=new Re,this.indexArray2=new Qe,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.segments2=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr(\"fill\",this.layers,Y);let Ce=this.layers[0].layout.get(\"fill-sort-key\"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he,Y.availableImages):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr(\"fill\",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,Bc),this.indexBuffer=D.createIndexBuffer(this.indexArray),this.indexBuffer2=D.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct=0;for(let Nr of Xe)ct+=Nr.length;let At=this.segments.prepareSegment(ct,this.layoutVertexArray,this.indexArray),Ot=At.vertexLength,er=[],cr=[];for(let Nr of Xe){if(Nr.length===0)continue;Nr!==Xe[0]&&cr.push(er.length/2);let rn=this.segments2.prepareSegment(Nr.length,this.layoutVertexArray,this.indexArray2),mn=rn.vertexLength;this.layoutVertexArray.emplaceBack(Nr[0].x,Nr[0].y),this.indexArray2.emplaceBack(mn+Nr.length-1,mn),er.push(Nr[0].x),er.push(Nr[0].y);for(let Gn=1;Gn>3}if(Ce--,he===1||he===2)Ve+=q.readSVarint(),Xe+=q.readSVarint(),he===1&&(D&&ct.push(D),D=[]),D.push(new vi(Ve,Xe));else{if(he!==7)throw new Error(\"unknown command \"+he);D&&D.push(D[0].clone())}}return D&&ct.push(D),ct},Pi.prototype.bbox=function(){var q=this._pbf;q.pos=this._geometry;for(var D=q.readVarint()+q.pos,Y=1,he=0,Ce=0,Ve=0,Xe=1/0,ct=-1/0,At=1/0,Ot=-1/0;q.pos>3}if(he--,Y===1||Y===2)(Ce+=q.readSVarint())ct&&(ct=Ce),(Ve+=q.readSVarint())Ot&&(Ot=Ve);else if(Y!==7)throw new Error(\"unknown command \"+Y)}return[Xe,At,ct,Ot]},Pi.prototype.toGeoJSON=function(q,D,Y){var he,Ce,Ve=this.extent*Math.pow(2,Y),Xe=this.extent*q,ct=this.extent*D,At=this.loadGeometry(),Ot=Pi.types[this.type];function er(Nr){for(var rn=0;rn>3;Ce=Xe===1?he.readString():Xe===2?he.readFloat():Xe===3?he.readDouble():Xe===4?he.readVarint64():Xe===5?he.readVarint():Xe===6?he.readSVarint():Xe===7?he.readBoolean():null}return Ce}(Y))}da.prototype.feature=function(q){if(q<0||q>=this._features.length)throw new Error(\"feature index out of bounds\");this._pbf.pos=this._features[q];var D=this._pbf.readVarint()+this._pbf.pos;return new Ea(this._pbf,D,this.extent,this._keys,this._values)};var za=$i;function Qa(q,D,Y){if(q===3){var he=new za(Y,Y.readVarint()+Y.pos);he.length&&(D[he.name]=he)}}Xn.VectorTile=function(q,D){this.layers=q.readFields(Qa,{},D)},Xn.VectorTileFeature=Ji,Xn.VectorTileLayer=$i;let Cs=Xn.VectorTileFeature.types,ws=Math.pow(2,13);function $s(q,D,Y,he,Ce,Ve,Xe,ct){q.emplaceBack(D,Y,2*Math.floor(he*ws)+Xe,Ce*ws*2,Ve*ws*2,Math.round(ct))}class rs{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new eu,this.centroidVertexArray=new os,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.features=[],this.hasPattern=mr(\"fill-extrusion\",this.layers,Y);for(let{feature:Ce,id:Ve,index:Xe,sourceLayerIndex:ct}of D){let At=this.layers[0]._featureFilter.needGeometry,Ot=Ul(Ce,At);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Ot,he))continue;let er={id:Ve,sourceLayerIndex:ct,index:Xe,geometry:At?Ot.geometry:xl(Ce),properties:Ce.properties,type:Ce.type,patterns:{}};this.hasPattern?this.features.push(zr(\"fill-extrusion\",this.layers,er,this.zoom,Y)):this.addFeature(er,er.geometry,Xe,he,{}),Y.featureIndex.insert(Ce,er.geometry,Xe,ct,this.index,!0)}}addFeatures(D,Y,he){for(let Ce of this.features){let{geometry:Ve}=Ce;this.addFeature(Ce,Ve,Ce.index,Y,he)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0&&this.centroidVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,kn),this.centroidVertexBuffer=D.createVertexBuffer(this.centroidVertexArray,qr.members,!0),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct={x:0,y:0,vertexCount:0},At=0;for(let rn of Xe)At+=rn.length;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(let rn of Xe){if(rn.length===0||Cl(rn))continue;let mn=0;for(let Gn=0;Gn=1){let Ri=rn[Gn-1];if(!js(ei,Ri)){Ot.vertexLength+4>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));let fi=ei.sub(Ri)._perp()._unit(),Si=Ri.dist(ei);mn+Si>32768&&(mn=0),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,1,mn),ct.x+=2*ei.x,ct.y+=2*ei.y,ct.vertexCount+=2,mn+=Si,$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,1,mn),ct.x+=2*Ri.x,ct.y+=2*Ri.y,ct.vertexCount+=2;let Gi=Ot.vertexLength;this.indexArray.emplaceBack(Gi,Gi+2,Gi+1),this.indexArray.emplaceBack(Gi+1,Gi+2,Gi+3),Ot.vertexLength+=4,Ot.primitiveLength+=2}}}}if(Ot.vertexLength+At>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(At,this.layoutVertexArray,this.indexArray)),Cs[D.type]!==\"Polygon\")continue;let er=[],cr=[],Sr=Ot.vertexLength;for(let rn of Xe)if(rn.length!==0){rn!==Xe[0]&&cr.push(er.length/2);for(let mn=0;mnwo)||q.y===D.y&&(q.y<0||q.y>wo)}function Cl(q){return q.every(D=>D.x<0)||q.every(D=>D.x>wo)||q.every(D=>D.y<0)||q.every(D=>D.y>wo)}let Ou;di(\"FillExtrusionBucket\",rs,{omit:[\"layers\",\"features\"]});var Kh={get paint(){return Ou=Ou||new Ne({\"fill-extrusion-opacity\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-opacity\"]),\"fill-extrusion-color\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-color\"]),\"fill-extrusion-translate\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-translate\"]),\"fill-extrusion-translate-anchor\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-translate-anchor\"]),\"fill-extrusion-pattern\":new Fc(ie[\"paint_fill-extrusion\"][\"fill-extrusion-pattern\"]),\"fill-extrusion-height\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-height\"]),\"fill-extrusion-base\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-base\"]),\"fill-extrusion-vertical-gradient\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-vertical-gradient\"])})}};class Jh extends ne{constructor(D){super(D,Kh)}createBucket(D){return new rs(D)}queryRadius(){return Xo(this.paint.get(\"fill-extrusion-translate\"))}is3D(){return!0}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=Aa(D,this.paint.get(\"fill-extrusion-translate\"),this.paint.get(\"fill-extrusion-translate-anchor\"),Xe.angle,ct),er=this.paint.get(\"fill-extrusion-height\").evaluate(Y,he),cr=this.paint.get(\"fill-extrusion-base\").evaluate(Y,he),Sr=function(rn,mn,Gn,ei){let Ri=[];for(let fi of rn){let Si=[fi.x,fi.y,0,1];Oo(Si,Si,mn),Ri.push(new i(Si[0]/Si[3],Si[1]/Si[3]))}return Ri}(Ot,At),Nr=function(rn,mn,Gn,ei){let Ri=[],fi=[],Si=ei[8]*mn,Gi=ei[9]*mn,Ha=ei[10]*mn,Po=ei[11]*mn,xs=ei[8]*Gn,_o=ei[9]*Gn,Ra=ei[10]*Gn,es=ei[11]*Gn;for(let qo of rn){let Bo=[],ma=[];for(let us of qo){let No=us.x,ks=us.y,Au=ei[0]*No+ei[4]*ks+ei[12],yu=ei[1]*No+ei[5]*ks+ei[13],Ef=ei[2]*No+ei[6]*ks+ei[14],cd=ei[3]*No+ei[7]*ks+ei[15],nh=Ef+Ha,Cf=cd+Po,kh=Au+xs,Lh=yu+_o,Ph=Ef+Ra,jc=cd+es,kf=new i((Au+Si)/Cf,(yu+Gi)/Cf);kf.z=nh/Cf,Bo.push(kf);let mh=new i(kh/jc,Lh/jc);mh.z=Ph/jc,ma.push(mh)}Ri.push(Bo),fi.push(ma)}return[Ri,fi]}(Ce,cr,er,At);return function(rn,mn,Gn){let ei=1/0;cn(Gn,mn)&&(ei=sd(Gn,mn[0]));for(let Ri=0;RiY.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(Y=>{this.gradients[Y.id]={}}),this.layoutVertexArray=new Xu,this.layoutVertexArray2=new mu,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr(\"line\",this.layers,Y);let Ce=this.layers[0].layout.get(\"line-sort-key\"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr(\"line\",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=D.createVertexBuffer(this.layoutVertexArray2,xd)),this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,_d),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(D){if(D.properties&&Object.prototype.hasOwnProperty.call(D.properties,\"mapbox_clip_start\")&&Object.prototype.hasOwnProperty.call(D.properties,\"mapbox_clip_end\"))return{start:+D.properties.mapbox_clip_start,end:+D.properties.mapbox_clip_end}}addFeature(D,Y,he,Ce,Ve){let Xe=this.layers[0].layout,ct=Xe.get(\"line-join\").evaluate(D,{}),At=Xe.get(\"line-cap\"),Ot=Xe.get(\"line-miter-limit\"),er=Xe.get(\"line-round-limit\");this.lineClips=this.lineFeatureClips(D);for(let cr of Y)this.addLine(cr,D,ct,At,Ot,er);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,Ve,Ce)}addLine(D,Y,he,Ce,Ve,Xe){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let ei=0;ei=2&&D[At-1].equals(D[At-2]);)At--;let Ot=0;for(;Ot0;if(Po&&ei>Ot){let es=Sr.dist(Nr);if(es>2*er){let qo=Sr.sub(Sr.sub(Nr)._mult(er/es)._round());this.updateDistance(Nr,qo),this.addCurrentVertex(qo,mn,0,0,cr),Nr=qo}}let _o=Nr&&rn,Ra=_o?he:ct?\"butt\":Ce;if(_o&&Ra===\"round\"&&(GiVe&&(Ra=\"bevel\"),Ra===\"bevel\"&&(Gi>2&&(Ra=\"flipbevel\"),Gi100)Ri=Gn.mult(-1);else{let es=Gi*mn.add(Gn).mag()/mn.sub(Gn).mag();Ri._perp()._mult(es*(xs?-1:1))}this.addCurrentVertex(Sr,Ri,0,0,cr),this.addCurrentVertex(Sr,Ri.mult(-1),0,0,cr)}else if(Ra===\"bevel\"||Ra===\"fakeround\"){let es=-Math.sqrt(Gi*Gi-1),qo=xs?es:0,Bo=xs?0:es;if(Nr&&this.addCurrentVertex(Sr,mn,qo,Bo,cr),Ra===\"fakeround\"){let ma=Math.round(180*Ha/Math.PI/20);for(let us=1;us2*er){let qo=Sr.add(rn.sub(Sr)._mult(er/es)._round());this.updateDistance(Sr,qo),this.addCurrentVertex(qo,Gn,0,0,cr),Sr=qo}}}}addCurrentVertex(D,Y,he,Ce,Ve,Xe=!1){let ct=Y.y*Ce-Y.x,At=-Y.y-Y.x*Ce;this.addHalfVertex(D,Y.x+Y.y*he,Y.y-Y.x*he,Xe,!1,he,Ve),this.addHalfVertex(D,ct,At,Xe,!0,-Ce,Ve),this.distance>$h/2&&this.totalDistance===0&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(D,Y,he,Ce,Ve,Xe))}addHalfVertex({x:D,y:Y},he,Ce,Ve,Xe,ct,At){let Ot=.5*(this.lineClips?this.scaledDistance*($h-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((D<<1)+(Ve?1:0),(Y<<1)+(Xe?1:0),Math.round(63*he)+128,Math.round(63*Ce)+128,1+(ct===0?0:ct<0?-1:1)|(63&Ot)<<2,Ot>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);let er=At.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,er),At.primitiveLength++),Xe?this.e2=er:this.e1=er}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(D,Y){this.distance+=D.dist(Y),this.updateScaledDistance()}}let Qh,zv;di(\"LineBucket\",ld,{omit:[\"layers\",\"patternFeatures\"]});var Qd={get paint(){return zv=zv||new Ne({\"line-opacity\":new Wo(ie.paint_line[\"line-opacity\"]),\"line-color\":new Wo(ie.paint_line[\"line-color\"]),\"line-translate\":new bo(ie.paint_line[\"line-translate\"]),\"line-translate-anchor\":new bo(ie.paint_line[\"line-translate-anchor\"]),\"line-width\":new Wo(ie.paint_line[\"line-width\"]),\"line-gap-width\":new Wo(ie.paint_line[\"line-gap-width\"]),\"line-offset\":new Wo(ie.paint_line[\"line-offset\"]),\"line-blur\":new Wo(ie.paint_line[\"line-blur\"]),\"line-dasharray\":new hc(ie.paint_line[\"line-dasharray\"]),\"line-pattern\":new Fc(ie.paint_line[\"line-pattern\"]),\"line-gradient\":new dc(ie.paint_line[\"line-gradient\"])})},get layout(){return Qh=Qh||new Ne({\"line-cap\":new bo(ie.layout_line[\"line-cap\"]),\"line-join\":new Wo(ie.layout_line[\"line-join\"]),\"line-miter-limit\":new bo(ie.layout_line[\"line-miter-limit\"]),\"line-round-limit\":new bo(ie.layout_line[\"line-round-limit\"]),\"line-sort-key\":new Wo(ie.layout_line[\"line-sort-key\"])})}};class df extends Wo{possiblyEvaluate(D,Y){return Y=new zs(Math.floor(Y.zoom),{now:Y.now,fadeDuration:Y.fadeDuration,zoomHistory:Y.zoomHistory,transition:Y.transition}),super.possiblyEvaluate(D,Y)}evaluate(D,Y,he,Ce){return Y=E({},Y,{zoom:Math.floor(Y.zoom)}),super.evaluate(D,Y,he,Ce)}}let ev;class Fv extends ne{constructor(D){super(D,Qd),this.gradientVersion=0,ev||(ev=new df(Qd.paint.properties[\"line-width\"].specification),ev.useIntegerZoom=!0)}_handleSpecialPaintPropertyUpdate(D){if(D===\"line-gradient\"){let Y=this.gradientExpression();this.stepInterpolant=!!function(he){return he._styleExpression!==void 0}(Y)&&Y._styleExpression.expression instanceof Dn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values[\"line-gradient\"].value.expression}recalculate(D,Y){super.recalculate(D,Y),this.paint._values[\"line-floorwidth\"]=ev.possiblyEvaluate(this._transitioningPaint._values[\"line-width\"].value,D)}createBucket(D){return new ld(D)}queryRadius(D){let Y=D,he=jf(ha(\"line-width\",this,Y),ha(\"line-gap-width\",this,Y)),Ce=ha(\"line-offset\",this,Y);return he/2+Math.abs(Ce)+Xo(this.paint.get(\"line-translate\"))}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct){let At=Aa(D,this.paint.get(\"line-translate\"),this.paint.get(\"line-translate-anchor\"),Xe.angle,ct),Ot=ct/2*jf(this.paint.get(\"line-width\").evaluate(Y,he),this.paint.get(\"line-gap-width\").evaluate(Y,he)),er=this.paint.get(\"line-offset\").evaluate(Y,he);return er&&(Ce=function(cr,Sr){let Nr=[];for(let rn=0;rn=3){for(let Gn=0;Gn0?D+2*q:q}let gv=ht([{name:\"a_pos_offset\",components:4,type:\"Int16\"},{name:\"a_data\",components:4,type:\"Uint16\"},{name:\"a_pixeloffset\",components:4,type:\"Int16\"}],4),sp=ht([{name:\"a_projected_pos\",components:3,type:\"Float32\"}],4);ht([{name:\"a_fade_opacity\",components:1,type:\"Uint32\"}],4);let lp=ht([{name:\"a_placed\",components:2,type:\"Uint8\"},{name:\"a_shift\",components:2,type:\"Float32\"},{name:\"a_box_real\",components:2,type:\"Int16\"}]);ht([{type:\"Int16\",name:\"anchorPointX\"},{type:\"Int16\",name:\"anchorPointY\"},{type:\"Int16\",name:\"x1\"},{type:\"Int16\",name:\"y1\"},{type:\"Int16\",name:\"x2\"},{type:\"Int16\",name:\"y2\"},{type:\"Uint32\",name:\"featureIndex\"},{type:\"Uint16\",name:\"sourceLayerIndex\"},{type:\"Uint16\",name:\"bucketIndex\"}]);let Ov=ht([{name:\"a_pos\",components:2,type:\"Int16\"},{name:\"a_anchor_pos\",components:2,type:\"Int16\"},{name:\"a_extrude\",components:2,type:\"Int16\"}],4),yv=ht([{name:\"a_pos\",components:2,type:\"Float32\"},{name:\"a_radius\",components:1,type:\"Float32\"},{name:\"a_flags\",components:2,type:\"Int16\"}],4);function _v(q,D,Y){return q.sections.forEach(he=>{he.text=function(Ce,Ve,Xe){let ct=Ve.layout.get(\"text-transform\").evaluate(Xe,{});return ct===\"uppercase\"?Ce=Ce.toLocaleUpperCase():ct===\"lowercase\"&&(Ce=Ce.toLocaleLowerCase()),Js.applyArabicShaping&&(Ce=Js.applyArabicShaping(Ce)),Ce}(he.text,D,Y)}),q}ht([{name:\"triangle\",components:3,type:\"Uint16\"}]),ht([{type:\"Int16\",name:\"anchorX\"},{type:\"Int16\",name:\"anchorY\"},{type:\"Uint16\",name:\"glyphStartIndex\"},{type:\"Uint16\",name:\"numGlyphs\"},{type:\"Uint32\",name:\"vertexStartIndex\"},{type:\"Uint32\",name:\"lineStartIndex\"},{type:\"Uint32\",name:\"lineLength\"},{type:\"Uint16\",name:\"segment\"},{type:\"Uint16\",name:\"lowerSize\"},{type:\"Uint16\",name:\"upperSize\"},{type:\"Float32\",name:\"lineOffsetX\"},{type:\"Float32\",name:\"lineOffsetY\"},{type:\"Uint8\",name:\"writingMode\"},{type:\"Uint8\",name:\"placedOrientation\"},{type:\"Uint8\",name:\"hidden\"},{type:\"Uint32\",name:\"crossTileID\"},{type:\"Int16\",name:\"associatedIconIndex\"}]),ht([{type:\"Int16\",name:\"anchorX\"},{type:\"Int16\",name:\"anchorY\"},{type:\"Int16\",name:\"rightJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"centerJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"leftJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"verticalPlacedTextSymbolIndex\"},{type:\"Int16\",name:\"placedIconSymbolIndex\"},{type:\"Int16\",name:\"verticalPlacedIconSymbolIndex\"},{type:\"Uint16\",name:\"key\"},{type:\"Uint16\",name:\"textBoxStartIndex\"},{type:\"Uint16\",name:\"textBoxEndIndex\"},{type:\"Uint16\",name:\"verticalTextBoxStartIndex\"},{type:\"Uint16\",name:\"verticalTextBoxEndIndex\"},{type:\"Uint16\",name:\"iconBoxStartIndex\"},{type:\"Uint16\",name:\"iconBoxEndIndex\"},{type:\"Uint16\",name:\"verticalIconBoxStartIndex\"},{type:\"Uint16\",name:\"verticalIconBoxEndIndex\"},{type:\"Uint16\",name:\"featureIndex\"},{type:\"Uint16\",name:\"numHorizontalGlyphVertices\"},{type:\"Uint16\",name:\"numVerticalGlyphVertices\"},{type:\"Uint16\",name:\"numIconVertices\"},{type:\"Uint16\",name:\"numVerticalIconVertices\"},{type:\"Uint16\",name:\"useRuntimeCollisionCircles\"},{type:\"Uint32\",name:\"crossTileID\"},{type:\"Float32\",name:\"textBoxScale\"},{type:\"Float32\",name:\"collisionCircleDiameter\"},{type:\"Uint16\",name:\"textAnchorOffsetStartIndex\"},{type:\"Uint16\",name:\"textAnchorOffsetEndIndex\"}]),ht([{type:\"Float32\",name:\"offsetX\"}]),ht([{type:\"Int16\",name:\"x\"},{type:\"Int16\",name:\"y\"},{type:\"Int16\",name:\"tileUnitDistanceFromAnchor\"}]),ht([{type:\"Uint16\",name:\"textAnchor\"},{type:\"Float32\",components:2,name:\"textOffset\"}]);let Bu={\"!\":\"\\uFE15\",\"#\":\"\\uFF03\",$:\"\\uFF04\",\"%\":\"\\uFF05\",\"&\":\"\\uFF06\",\"(\":\"\\uFE35\",\")\":\"\\uFE36\",\"*\":\"\\uFF0A\",\"+\":\"\\uFF0B\",\",\":\"\\uFE10\",\"-\":\"\\uFE32\",\".\":\"\\u30FB\",\"/\":\"\\uFF0F\",\":\":\"\\uFE13\",\";\":\"\\uFE14\",\"<\":\"\\uFE3F\",\"=\":\"\\uFF1D\",\">\":\"\\uFE40\",\"?\":\"\\uFE16\",\"@\":\"\\uFF20\",\"[\":\"\\uFE47\",\"\\\\\":\"\\uFF3C\",\"]\":\"\\uFE48\",\"^\":\"\\uFF3E\",_:\"\\uFE33\",\"`\":\"\\uFF40\",\"{\":\"\\uFE37\",\"|\":\"\\u2015\",\"}\":\"\\uFE38\",\"~\":\"\\uFF5E\",\"\\xA2\":\"\\uFFE0\",\"\\xA3\":\"\\uFFE1\",\"\\xA5\":\"\\uFFE5\",\"\\xA6\":\"\\uFFE4\",\"\\xAC\":\"\\uFFE2\",\"\\xAF\":\"\\uFFE3\",\"\\u2013\":\"\\uFE32\",\"\\u2014\":\"\\uFE31\",\"\\u2018\":\"\\uFE43\",\"\\u2019\":\"\\uFE44\",\"\\u201C\":\"\\uFE41\",\"\\u201D\":\"\\uFE42\",\"\\u2026\":\"\\uFE19\",\"\\u2027\":\"\\u30FB\",\"\\u20A9\":\"\\uFFE6\",\"\\u3001\":\"\\uFE11\",\"\\u3002\":\"\\uFE12\",\"\\u3008\":\"\\uFE3F\",\"\\u3009\":\"\\uFE40\",\"\\u300A\":\"\\uFE3D\",\"\\u300B\":\"\\uFE3E\",\"\\u300C\":\"\\uFE41\",\"\\u300D\":\"\\uFE42\",\"\\u300E\":\"\\uFE43\",\"\\u300F\":\"\\uFE44\",\"\\u3010\":\"\\uFE3B\",\"\\u3011\":\"\\uFE3C\",\"\\u3014\":\"\\uFE39\",\"\\u3015\":\"\\uFE3A\",\"\\u3016\":\"\\uFE17\",\"\\u3017\":\"\\uFE18\",\"\\uFF01\":\"\\uFE15\",\"\\uFF08\":\"\\uFE35\",\"\\uFF09\":\"\\uFE36\",\"\\uFF0C\":\"\\uFE10\",\"\\uFF0D\":\"\\uFE32\",\"\\uFF0E\":\"\\u30FB\",\"\\uFF1A\":\"\\uFE13\",\"\\uFF1B\":\"\\uFE14\",\"\\uFF1C\":\"\\uFE3F\",\"\\uFF1E\":\"\\uFE40\",\"\\uFF1F\":\"\\uFE16\",\"\\uFF3B\":\"\\uFE47\",\"\\uFF3D\":\"\\uFE48\",\"\\uFF3F\":\"\\uFE33\",\"\\uFF5B\":\"\\uFE37\",\"\\uFF5C\":\"\\u2015\",\"\\uFF5D\":\"\\uFE38\",\"\\uFF5F\":\"\\uFE35\",\"\\uFF60\":\"\\uFE36\",\"\\uFF61\":\"\\uFE12\",\"\\uFF62\":\"\\uFE41\",\"\\uFF63\":\"\\uFE42\"};var Hl=24,vh=au,Bv=function(q,D,Y,he,Ce){var Ve,Xe,ct=8*Ce-he-1,At=(1<>1,er=-7,cr=Y?Ce-1:0,Sr=Y?-1:1,Nr=q[D+cr];for(cr+=Sr,Ve=Nr&(1<<-er)-1,Nr>>=-er,er+=ct;er>0;Ve=256*Ve+q[D+cr],cr+=Sr,er-=8);for(Xe=Ve&(1<<-er)-1,Ve>>=-er,er+=he;er>0;Xe=256*Xe+q[D+cr],cr+=Sr,er-=8);if(Ve===0)Ve=1-Ot;else{if(Ve===At)return Xe?NaN:1/0*(Nr?-1:1);Xe+=Math.pow(2,he),Ve-=Ot}return(Nr?-1:1)*Xe*Math.pow(2,Ve-he)},up=function(q,D,Y,he,Ce,Ve){var Xe,ct,At,Ot=8*Ve-Ce-1,er=(1<>1,Sr=Ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nr=he?0:Ve-1,rn=he?1:-1,mn=D<0||D===0&&1/D<0?1:0;for(D=Math.abs(D),isNaN(D)||D===1/0?(ct=isNaN(D)?1:0,Xe=er):(Xe=Math.floor(Math.log(D)/Math.LN2),D*(At=Math.pow(2,-Xe))<1&&(Xe--,At*=2),(D+=Xe+cr>=1?Sr/At:Sr*Math.pow(2,1-cr))*At>=2&&(Xe++,At/=2),Xe+cr>=er?(ct=0,Xe=er):Xe+cr>=1?(ct=(D*At-1)*Math.pow(2,Ce),Xe+=cr):(ct=D*Math.pow(2,cr-1)*Math.pow(2,Ce),Xe=0));Ce>=8;q[Y+Nr]=255&ct,Nr+=rn,ct/=256,Ce-=8);for(Xe=Xe<0;q[Y+Nr]=255&Xe,Nr+=rn,Xe/=256,Ot-=8);q[Y+Nr-rn]|=128*mn};function au(q){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(q)?q:new Uint8Array(q||0),this.pos=0,this.type=0,this.length=this.buf.length}au.Varint=0,au.Fixed64=1,au.Bytes=2,au.Fixed32=5;var rm=4294967296,xv=1/rm,rg=typeof TextDecoder>\"u\"?null:new TextDecoder(\"utf-8\");function ed(q){return q.type===au.Bytes?q.readVarint()+q.pos:q.pos+1}function bv(q,D,Y){return Y?4294967296*D+(q>>>0):4294967296*(D>>>0)+(q>>>0)}function ng(q,D,Y){var he=D<=16383?1:D<=2097151?2:D<=268435455?3:Math.floor(Math.log(D)/(7*Math.LN2));Y.realloc(he);for(var Ce=Y.pos-1;Ce>=q;Ce--)Y.buf[Ce+he]=Y.buf[Ce]}function nm(q,D){for(var Y=0;Y>>8,q[Y+2]=D>>>16,q[Y+3]=D>>>24}function r1(q,D){return(q[D]|q[D+1]<<8|q[D+2]<<16)+(q[D+3]<<24)}au.prototype={destroy:function(){this.buf=null},readFields:function(q,D,Y){for(Y=Y||this.length;this.pos>3,Ve=this.pos;this.type=7&he,q(Ce,D,this),this.pos===Ve&&this.skip(he)}return D},readMessage:function(q,D){return this.readFields(q,D,this.readVarint()+this.pos)},readFixed32:function(){var q=Nv(this.buf,this.pos);return this.pos+=4,q},readSFixed32:function(){var q=r1(this.buf,this.pos);return this.pos+=4,q},readFixed64:function(){var q=Nv(this.buf,this.pos)+Nv(this.buf,this.pos+4)*rm;return this.pos+=8,q},readSFixed64:function(){var q=Nv(this.buf,this.pos)+r1(this.buf,this.pos+4)*rm;return this.pos+=8,q},readFloat:function(){var q=Bv(this.buf,this.pos,!0,23,4);return this.pos+=4,q},readDouble:function(){var q=Bv(this.buf,this.pos,!0,52,8);return this.pos+=8,q},readVarint:function(q){var D,Y,he=this.buf;return D=127&(Y=he[this.pos++]),Y<128?D:(D|=(127&(Y=he[this.pos++]))<<7,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<14,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<21,Y<128?D:function(Ce,Ve,Xe){var ct,At,Ot=Xe.buf;if(ct=(112&(At=Ot[Xe.pos++]))>>4,At<128||(ct|=(127&(At=Ot[Xe.pos++]))<<3,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<10,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<17,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<24,At<128)||(ct|=(1&(At=Ot[Xe.pos++]))<<31,At<128))return bv(Ce,ct,Ve);throw new Error(\"Expected varint not more than 10 bytes\")}(D|=(15&(Y=he[this.pos]))<<28,q,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var q=this.readVarint();return q%2==1?(q+1)/-2:q/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var q=this.readVarint()+this.pos,D=this.pos;return this.pos=q,q-D>=12&&rg?function(Y,he,Ce){return rg.decode(Y.subarray(he,Ce))}(this.buf,D,q):function(Y,he,Ce){for(var Ve=\"\",Xe=he;Xe239?4:er>223?3:er>191?2:1;if(Xe+Sr>Ce)break;Sr===1?er<128&&(cr=er):Sr===2?(192&(ct=Y[Xe+1]))==128&&(cr=(31&er)<<6|63&ct)<=127&&(cr=null):Sr===3?(At=Y[Xe+2],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&((cr=(15&er)<<12|(63&ct)<<6|63&At)<=2047||cr>=55296&&cr<=57343)&&(cr=null)):Sr===4&&(At=Y[Xe+2],Ot=Y[Xe+3],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&(192&Ot)==128&&((cr=(15&er)<<18|(63&ct)<<12|(63&At)<<6|63&Ot)<=65535||cr>=1114112)&&(cr=null)),cr===null?(cr=65533,Sr=1):cr>65535&&(cr-=65536,Ve+=String.fromCharCode(cr>>>10&1023|55296),cr=56320|1023&cr),Ve+=String.fromCharCode(cr),Xe+=Sr}return Ve}(this.buf,D,q)},readBytes:function(){var q=this.readVarint()+this.pos,D=this.buf.subarray(this.pos,q);return this.pos=q,D},readPackedVarint:function(q,D){if(this.type!==au.Bytes)return q.push(this.readVarint(D));var Y=ed(this);for(q=q||[];this.pos127;);else if(D===au.Bytes)this.pos=this.readVarint()+this.pos;else if(D===au.Fixed32)this.pos+=4;else{if(D!==au.Fixed64)throw new Error(\"Unimplemented type: \"+D);this.pos+=8}},writeTag:function(q,D){this.writeVarint(q<<3|D)},realloc:function(q){for(var D=this.length||16;D268435455||q<0?function(D,Y){var he,Ce;if(D>=0?(he=D%4294967296|0,Ce=D/4294967296|0):(Ce=~(-D/4294967296),4294967295^(he=~(-D%4294967296))?he=he+1|0:(he=0,Ce=Ce+1|0)),D>=18446744073709552e3||D<-18446744073709552e3)throw new Error(\"Given varint doesn't fit into 10 bytes\");Y.realloc(10),function(Ve,Xe,ct){ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,ct.buf[ct.pos]=127&(Ve>>>=7)}(he,0,Y),function(Ve,Xe){var ct=(7&Ve)<<4;Xe.buf[Xe.pos++]|=ct|((Ve>>>=3)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve)))))}(Ce,Y)}(q,this):(this.realloc(4),this.buf[this.pos++]=127&q|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=q>>>7&127))))},writeSVarint:function(q){this.writeVarint(q<0?2*-q-1:2*q)},writeBoolean:function(q){this.writeVarint(!!q)},writeString:function(q){q=String(q),this.realloc(4*q.length),this.pos++;var D=this.pos;this.pos=function(he,Ce,Ve){for(var Xe,ct,At=0;At55295&&Xe<57344){if(!ct){Xe>56319||At+1===Ce.length?(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189):ct=Xe;continue}if(Xe<56320){he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=Xe;continue}Xe=ct-55296<<10|Xe-56320|65536,ct=null}else ct&&(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=null);Xe<128?he[Ve++]=Xe:(Xe<2048?he[Ve++]=Xe>>6|192:(Xe<65536?he[Ve++]=Xe>>12|224:(he[Ve++]=Xe>>18|240,he[Ve++]=Xe>>12&63|128),he[Ve++]=Xe>>6&63|128),he[Ve++]=63&Xe|128)}return Ve}(this.buf,q,this.pos);var Y=this.pos-D;Y>=128&&ng(D,Y,this),this.pos=D-1,this.writeVarint(Y),this.pos+=Y},writeFloat:function(q){this.realloc(4),up(this.buf,q,this.pos,!0,23,4),this.pos+=4},writeDouble:function(q){this.realloc(8),up(this.buf,q,this.pos,!0,52,8),this.pos+=8},writeBytes:function(q){var D=q.length;this.writeVarint(D),this.realloc(D);for(var Y=0;Y=128&&ng(Y,he,this),this.pos=Y-1,this.writeVarint(he),this.pos+=he},writeMessage:function(q,D,Y){this.writeTag(q,au.Bytes),this.writeRawMessage(D,Y)},writePackedVarint:function(q,D){D.length&&this.writeMessage(q,nm,D)},writePackedSVarint:function(q,D){D.length&&this.writeMessage(q,Pb,D)},writePackedBoolean:function(q,D){D.length&&this.writeMessage(q,Db,D)},writePackedFloat:function(q,D){D.length&&this.writeMessage(q,Ib,D)},writePackedDouble:function(q,D){D.length&&this.writeMessage(q,Rb,D)},writePackedFixed32:function(q,D){D.length&&this.writeMessage(q,JM,D)},writePackedSFixed32:function(q,D){D.length&&this.writeMessage(q,zb,D)},writePackedFixed64:function(q,D){D.length&&this.writeMessage(q,Fb,D)},writePackedSFixed64:function(q,D){D.length&&this.writeMessage(q,Ob,D)},writeBytesField:function(q,D){this.writeTag(q,au.Bytes),this.writeBytes(D)},writeFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeFixed32(D)},writeSFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeSFixed32(D)},writeFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeFixed64(D)},writeSFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeSFixed64(D)},writeVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeVarint(D)},writeSVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeSVarint(D)},writeStringField:function(q,D){this.writeTag(q,au.Bytes),this.writeString(D)},writeFloatField:function(q,D){this.writeTag(q,au.Fixed32),this.writeFloat(D)},writeDoubleField:function(q,D){this.writeTag(q,au.Fixed64),this.writeDouble(D)},writeBooleanField:function(q,D){this.writeVarintField(q,!!D)}};var yy=r(vh);let _y=3;function $M(q,D,Y){q===1&&Y.readMessage(Bb,D)}function Bb(q,D,Y){if(q===3){let{id:he,bitmap:Ce,width:Ve,height:Xe,left:ct,top:At,advance:Ot}=Y.readMessage(n1,{});D.push({id:he,bitmap:new ps({width:Ve+2*_y,height:Xe+2*_y},Ce),metrics:{width:Ve,height:Xe,left:ct,top:At,advance:Ot}})}}function n1(q,D,Y){q===1?D.id=Y.readVarint():q===2?D.bitmap=Y.readBytes():q===3?D.width=Y.readVarint():q===4?D.height=Y.readVarint():q===5?D.left=Y.readSVarint():q===6?D.top=Y.readSVarint():q===7&&(D.advance=Y.readVarint())}let i1=_y;function xy(q){let D=0,Y=0;for(let Xe of q)D+=Xe.w*Xe.h,Y=Math.max(Y,Xe.w);q.sort((Xe,ct)=>ct.h-Xe.h);let he=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(D/.95)),Y),h:1/0}],Ce=0,Ve=0;for(let Xe of q)for(let ct=he.length-1;ct>=0;ct--){let At=he[ct];if(!(Xe.w>At.w||Xe.h>At.h)){if(Xe.x=At.x,Xe.y=At.y,Ve=Math.max(Ve,Xe.y+Xe.h),Ce=Math.max(Ce,Xe.x+Xe.w),Xe.w===At.w&&Xe.h===At.h){let Ot=he.pop();ct=0&&he>=D&&og[this.text.charCodeAt(he)];he--)Y--;this.text=this.text.substring(D,Y),this.sectionIndex=this.sectionIndex.slice(D,Y)}substring(D,Y){let he=new cp;return he.text=this.text.substring(D,Y),he.sectionIndex=this.sectionIndex.slice(D,Y),he.sections=this.sections,he}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((D,Y)=>Math.max(D,this.sections[Y].scale),0)}addTextSection(D,Y){this.text+=D.text,this.sections.push(am.forText(D.scale,D.fontStack||Y));let he=this.sections.length-1;for(let Ce=0;Ce=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function om(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=cp.fromFeature(q,Ce),Gn;cr===e.ah.vertical&&mn.verticalizePunctuation();let{processBidirectionalText:ei,processStyledBidirectionalText:Ri}=Js;if(ei&&mn.sections.length===1){Gn=[];let Gi=ei(mn.toString(),fp(mn,Ot,Ve,D,he,Nr));for(let Ha of Gi){let Po=new cp;Po.text=Ha,Po.sections=mn.sections;for(let xs=0;xs0&&hd>Qc&&(Qc=hd)}else{let ic=Po[Gl.fontStack],lf=ic&&ic[Mu];if(lf&&lf.rect)gp=lf.rect,Mc=lf.metrics;else{let hd=Ha[Gl.fontStack],iv=hd&&hd[Mu];if(!iv)continue;Mc=iv.metrics}nd=(kf-Gl.scale)*Hl}fd?(Gi.verticalizable=!0,Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=kd*Gl.scale+ma):(Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=Mc.advance*Gl.scale+ma)}Vf.length!==0&&(yu=Math.max(ks-ma,yu),wv(Vf,0,Vf.length-1,cd,Qc)),ks=0;let rd=Ra*kf+Qc;ih.lineOffset=Math.max(Qc,mh),Au+=rd,Ef=Math.max(rd,Ef),++nh}var Cf;let kh=Au-Sf,{horizontalAlign:Lh,verticalAlign:Ph}=lg(es);(function(jc,kf,mh,ih,Vf,Qc,rd,jh,Gl){let Nu=(kf-mh)*Vf,Mu=0;Mu=Qc!==rd?-jh*ih-Sf:(-ih*Gl+.5)*rd;for(let nd of jc)for(let Mc of nd.positionedGlyphs)Mc.x+=Nu,Mc.y+=Mu})(Gi.positionedLines,cd,Lh,Ph,yu,Ef,Ra,kh,_o.length),Gi.top+=-Ph*kh,Gi.bottom=Gi.top+kh,Gi.left+=-Lh*yu,Gi.right=Gi.left+yu}(Si,D,Y,he,Gn,Xe,ct,At,cr,Ot,Sr,rn),!function(Gi){for(let Ha of Gi)if(Ha.positionedGlyphs.length!==0)return!1;return!0}(fi)&&Si}let og={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Nb={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Ub={40:!0};function a1(q,D,Y,he,Ce,Ve){if(D.imageName){let Xe=he[D.imageName];return Xe?Xe.displaySize[0]*D.scale*Hl/Ve+Ce:0}{let Xe=Y[D.fontStack],ct=Xe&&Xe[q];return ct?ct.metrics.advance*D.scale+Ce:0}}function o1(q,D,Y,he){let Ce=Math.pow(q-D,2);return he?q=0,Ot=0;for(let cr=0;crOt){let er=Math.ceil(Ve/Ot);Ce*=er/Xe,Xe=er}return{x1:he,y1:Ce,x2:he+Ve,y2:Ce+Xe}}function u1(q,D,Y,he,Ce,Ve){let Xe=q.image,ct;if(Xe.content){let Gn=Xe.content,ei=Xe.pixelRatio||1;ct=[Gn[0]/ei,Gn[1]/ei,Xe.displaySize[0]-Gn[2]/ei,Xe.displaySize[1]-Gn[3]/ei]}let At=D.left*Ve,Ot=D.right*Ve,er,cr,Sr,Nr;Y===\"width\"||Y===\"both\"?(Nr=Ce[0]+At-he[3],cr=Ce[0]+Ot+he[1]):(Nr=Ce[0]+(At+Ot-Xe.displaySize[0])/2,cr=Nr+Xe.displaySize[0]);let rn=D.top*Ve,mn=D.bottom*Ve;return Y===\"height\"||Y===\"both\"?(er=Ce[1]+rn-he[0],Sr=Ce[1]+mn+he[2]):(er=Ce[1]+(rn+mn-Xe.displaySize[1])/2,Sr=er+Xe.displaySize[1]),{image:Xe,top:er,right:cr,bottom:Sr,left:Nr,collisionPadding:ct}}let lm=255,Bd=128,Tv=lm*Bd;function c1(q,D){let{expression:Y}=D;if(Y.kind===\"constant\")return{kind:\"constant\",layoutSize:Y.evaluate(new zs(q+1))};if(Y.kind===\"source\")return{kind:\"source\"};{let{zoomStops:he,interpolationType:Ce}=Y,Ve=0;for(;VeXe.id),this.index=D.index,this.pixelRatio=D.pixelRatio,this.sourceLayerIndex=D.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=Pa([]),this.placementViewportMatrix=Pa([]);let Y=this.layers[0]._unevaluatedLayout._values;this.textSizeData=c1(this.zoom,Y[\"text-size\"]),this.iconSizeData=c1(this.zoom,Y[\"icon-size\"]);let he=this.layers[0].layout,Ce=he.get(\"symbol-sort-key\"),Ve=he.get(\"symbol-z-order\");this.canOverlap=by(he,\"text-overlap\",\"text-allow-overlap\")!==\"never\"||by(he,\"icon-overlap\",\"icon-allow-overlap\")!==\"never\"||he.get(\"text-ignore-placement\")||he.get(\"icon-ignore-placement\"),this.sortFeaturesByKey=Ve!==\"viewport-y\"&&!Ce.isConstant(),this.sortFeaturesByY=(Ve===\"viewport-y\"||Ve===\"auto\"&&!this.sortFeaturesByKey)&&this.canOverlap,he.get(\"symbol-placement\")===\"point\"&&(this.writingModes=he.get(\"text-writing-mode\").map(Xe=>e.ah[Xe])),this.stateDependentLayerIds=this.layers.filter(Xe=>Xe.isStateDependent()).map(Xe=>Xe.id),this.sourceID=D.sourceID}createArrays(){this.text=new Ay(new tl(this.layers,this.zoom,D=>/^text/.test(D))),this.icon=new Ay(new tl(this.layers,this.zoom,D=>/^icon/.test(D))),this.glyphOffsetArray=new vs,this.lineVertexArray=new Fo,this.symbolInstances=new Io,this.textAnchorOffsets=new bs}calculateGlyphDependencies(D,Y,he,Ce,Ve){for(let Xe=0;Xe0)&&(Xe.value.kind!==\"constant\"||Xe.value.value.length>0),er=At.value.kind!==\"constant\"||!!At.value.value||Object.keys(At.parameters).length>0,cr=Ve.get(\"symbol-sort-key\");if(this.features=[],!Ot&&!er)return;let Sr=Y.iconDependencies,Nr=Y.glyphDependencies,rn=Y.availableImages,mn=new zs(this.zoom);for(let{feature:Gn,id:ei,index:Ri,sourceLayerIndex:fi}of D){let Si=Ce._featureFilter.needGeometry,Gi=Ul(Gn,Si);if(!Ce._featureFilter.filter(mn,Gi,he))continue;let Ha,Po;if(Si||(Gi.geometry=xl(Gn)),Ot){let _o=Ce.getValueAndResolveTokens(\"text-field\",Gi,he,rn),Ra=xn.factory(_o),es=this.hasRTLText=this.hasRTLText||Ty(Ra);(!es||Js.getRTLTextPluginStatus()===\"unavailable\"||es&&Js.isParsed())&&(Ha=_v(Ra,Ce,Gi))}if(er){let _o=Ce.getValueAndResolveTokens(\"icon-image\",Gi,he,rn);Po=_o instanceof ri?_o:ri.fromString(_o)}if(!Ha&&!Po)continue;let xs=this.sortFeaturesByKey?cr.evaluate(Gi,{},he):void 0;if(this.features.push({id:ei,text:Ha,icon:Po,index:Ri,sourceLayerIndex:fi,geometry:Gi.geometry,properties:Gn.properties,type:Vb[Gn.type],sortKey:xs}),Po&&(Sr[Po.name]=!0),Ha){let _o=Xe.evaluate(Gi,{},he).join(\",\"),Ra=Ve.get(\"text-rotation-alignment\")!==\"viewport\"&&Ve.get(\"symbol-placement\")!==\"point\";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(e.ah.vertical)>=0;for(let es of Ha.sections)if(es.image)Sr[es.image.name]=!0;else{let qo=Lo(Ha.toString()),Bo=es.fontStack||_o,ma=Nr[Bo]=Nr[Bo]||{};this.calculateGlyphDependencies(es.text,ma,Ra,this.allowVerticalPlacement,qo)}}}Ve.get(\"symbol-placement\")===\"line\"&&(this.features=function(Gn){let ei={},Ri={},fi=[],Si=0;function Gi(_o){fi.push(Gn[_o]),Si++}function Ha(_o,Ra,es){let qo=Ri[_o];return delete Ri[_o],Ri[Ra]=qo,fi[qo].geometry[0].pop(),fi[qo].geometry[0]=fi[qo].geometry[0].concat(es[0]),qo}function Po(_o,Ra,es){let qo=ei[Ra];return delete ei[Ra],ei[_o]=qo,fi[qo].geometry[0].shift(),fi[qo].geometry[0]=es[0].concat(fi[qo].geometry[0]),qo}function xs(_o,Ra,es){let qo=es?Ra[0][Ra[0].length-1]:Ra[0][0];return`${_o}:${qo.x}:${qo.y}`}for(let _o=0;_o_o.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((Gn,ei)=>Gn.sortKey-ei.sortKey)}update(D,Y,he){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(D,Y,this.layers,he),this.icon.programConfigurations.updatePaintArrays(D,Y,this.layers,he))}isEmpty(){return this.symbolInstances.length===0&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(D){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(D),this.iconCollisionBox.upload(D)),this.text.upload(D,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(D,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(D,Y){let he=this.lineVertexArray.length;if(D.segment!==void 0){let Ce=D.dist(Y[D.segment+1]),Ve=D.dist(Y[D.segment]),Xe={};for(let ct=D.segment+1;ct=0;ct--)Xe[ct]={x:Y[ct].x,y:Y[ct].y,tileUnitDistanceFromAnchor:Ve},ct>0&&(Ve+=Y[ct-1].dist(Y[ct]));for(let ct=0;ct0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(D,Y){let he=D.placedSymbolArray.get(Y),Ce=he.vertexStartIndex+4*he.numGlyphs;for(let Ve=he.vertexStartIndex;VeCe[ct]-Ce[At]||Ve[At]-Ve[ct]),Xe}addToSortKeyRanges(D,Y){let he=this.sortKeyRanges[this.sortKeyRanges.length-1];he&&he.sortKey===Y?he.symbolInstanceEnd=D+1:this.sortKeyRanges.push({sortKey:Y,symbolInstanceStart:D,symbolInstanceEnd:D+1})}sortFeatures(D){if(this.sortFeaturesByY&&this.sortedAngle!==D&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(D),this.sortedAngle=D,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(let Y of this.symbolInstanceIndexes){let he=this.symbolInstances.get(Y);this.featureSortOrder.push(he.featureIndex),[he.rightJustifiedTextSymbolIndex,he.centerJustifiedTextSymbolIndex,he.leftJustifiedTextSymbolIndex].forEach((Ce,Ve,Xe)=>{Ce>=0&&Xe.indexOf(Ce)===Ve&&this.addIndicesForPlacedSymbol(this.text,Ce)}),he.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,he.verticalPlacedTextSymbolIndex),he.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.placedIconSymbolIndex),he.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}let Uc,um;di(\"SymbolBucket\",hp,{omit:[\"layers\",\"collisionBoxArray\",\"features\",\"compareText\"]}),hp.MAX_GLYPHS=65535,hp.addDynamicAttributes=wy;var cg={get paint(){return um=um||new Ne({\"icon-opacity\":new Wo(ie.paint_symbol[\"icon-opacity\"]),\"icon-color\":new Wo(ie.paint_symbol[\"icon-color\"]),\"icon-halo-color\":new Wo(ie.paint_symbol[\"icon-halo-color\"]),\"icon-halo-width\":new Wo(ie.paint_symbol[\"icon-halo-width\"]),\"icon-halo-blur\":new Wo(ie.paint_symbol[\"icon-halo-blur\"]),\"icon-translate\":new bo(ie.paint_symbol[\"icon-translate\"]),\"icon-translate-anchor\":new bo(ie.paint_symbol[\"icon-translate-anchor\"]),\"text-opacity\":new Wo(ie.paint_symbol[\"text-opacity\"]),\"text-color\":new Wo(ie.paint_symbol[\"text-color\"],{runtimeType:Bt,getOverride:q=>q.textColor,hasOverride:q=>!!q.textColor}),\"text-halo-color\":new Wo(ie.paint_symbol[\"text-halo-color\"]),\"text-halo-width\":new Wo(ie.paint_symbol[\"text-halo-width\"]),\"text-halo-blur\":new Wo(ie.paint_symbol[\"text-halo-blur\"]),\"text-translate\":new bo(ie.paint_symbol[\"text-translate\"]),\"text-translate-anchor\":new bo(ie.paint_symbol[\"text-translate-anchor\"])})},get layout(){return Uc=Uc||new Ne({\"symbol-placement\":new bo(ie.layout_symbol[\"symbol-placement\"]),\"symbol-spacing\":new bo(ie.layout_symbol[\"symbol-spacing\"]),\"symbol-avoid-edges\":new bo(ie.layout_symbol[\"symbol-avoid-edges\"]),\"symbol-sort-key\":new Wo(ie.layout_symbol[\"symbol-sort-key\"]),\"symbol-z-order\":new bo(ie.layout_symbol[\"symbol-z-order\"]),\"icon-allow-overlap\":new bo(ie.layout_symbol[\"icon-allow-overlap\"]),\"icon-overlap\":new bo(ie.layout_symbol[\"icon-overlap\"]),\"icon-ignore-placement\":new bo(ie.layout_symbol[\"icon-ignore-placement\"]),\"icon-optional\":new bo(ie.layout_symbol[\"icon-optional\"]),\"icon-rotation-alignment\":new bo(ie.layout_symbol[\"icon-rotation-alignment\"]),\"icon-size\":new Wo(ie.layout_symbol[\"icon-size\"]),\"icon-text-fit\":new bo(ie.layout_symbol[\"icon-text-fit\"]),\"icon-text-fit-padding\":new bo(ie.layout_symbol[\"icon-text-fit-padding\"]),\"icon-image\":new Wo(ie.layout_symbol[\"icon-image\"]),\"icon-rotate\":new Wo(ie.layout_symbol[\"icon-rotate\"]),\"icon-padding\":new Wo(ie.layout_symbol[\"icon-padding\"]),\"icon-keep-upright\":new bo(ie.layout_symbol[\"icon-keep-upright\"]),\"icon-offset\":new Wo(ie.layout_symbol[\"icon-offset\"]),\"icon-anchor\":new Wo(ie.layout_symbol[\"icon-anchor\"]),\"icon-pitch-alignment\":new bo(ie.layout_symbol[\"icon-pitch-alignment\"]),\"text-pitch-alignment\":new bo(ie.layout_symbol[\"text-pitch-alignment\"]),\"text-rotation-alignment\":new bo(ie.layout_symbol[\"text-rotation-alignment\"]),\"text-field\":new Wo(ie.layout_symbol[\"text-field\"]),\"text-font\":new Wo(ie.layout_symbol[\"text-font\"]),\"text-size\":new Wo(ie.layout_symbol[\"text-size\"]),\"text-max-width\":new Wo(ie.layout_symbol[\"text-max-width\"]),\"text-line-height\":new bo(ie.layout_symbol[\"text-line-height\"]),\"text-letter-spacing\":new Wo(ie.layout_symbol[\"text-letter-spacing\"]),\"text-justify\":new Wo(ie.layout_symbol[\"text-justify\"]),\"text-radial-offset\":new Wo(ie.layout_symbol[\"text-radial-offset\"]),\"text-variable-anchor\":new bo(ie.layout_symbol[\"text-variable-anchor\"]),\"text-variable-anchor-offset\":new Wo(ie.layout_symbol[\"text-variable-anchor-offset\"]),\"text-anchor\":new Wo(ie.layout_symbol[\"text-anchor\"]),\"text-max-angle\":new bo(ie.layout_symbol[\"text-max-angle\"]),\"text-writing-mode\":new bo(ie.layout_symbol[\"text-writing-mode\"]),\"text-rotate\":new Wo(ie.layout_symbol[\"text-rotate\"]),\"text-padding\":new bo(ie.layout_symbol[\"text-padding\"]),\"text-keep-upright\":new bo(ie.layout_symbol[\"text-keep-upright\"]),\"text-transform\":new Wo(ie.layout_symbol[\"text-transform\"]),\"text-offset\":new Wo(ie.layout_symbol[\"text-offset\"]),\"text-allow-overlap\":new bo(ie.layout_symbol[\"text-allow-overlap\"]),\"text-overlap\":new bo(ie.layout_symbol[\"text-overlap\"]),\"text-ignore-placement\":new bo(ie.layout_symbol[\"text-ignore-placement\"]),\"text-optional\":new bo(ie.layout_symbol[\"text-optional\"])})}};class cm{constructor(D){if(D.property.overrides===void 0)throw new Error(\"overrides must be provided to instantiate FormatSectionOverride class\");this.type=D.property.overrides?D.property.overrides.runtimeType:ot,this.defaultValue=D}evaluate(D){if(D.formattedSection){let Y=this.defaultValue.property.overrides;if(Y&&Y.hasOverride(D.formattedSection))return Y.getOverride(D.formattedSection)}return D.feature&&D.featureState?this.defaultValue.evaluate(D.feature,D.featureState):this.defaultValue.property.specification.default}eachChild(D){this.defaultValue.isConstant()||D(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}di(\"FormatSectionOverride\",cm,{omit:[\"defaultValue\"]});class Uv extends ne{constructor(D){super(D,cg)}recalculate(D,Y){if(super.recalculate(D,Y),this.layout.get(\"icon-rotation-alignment\")===\"auto\"&&(this.layout._values[\"icon-rotation-alignment\"]=this.layout.get(\"symbol-placement\")!==\"point\"?\"map\":\"viewport\"),this.layout.get(\"text-rotation-alignment\")===\"auto\"&&(this.layout._values[\"text-rotation-alignment\"]=this.layout.get(\"symbol-placement\")!==\"point\"?\"map\":\"viewport\"),this.layout.get(\"text-pitch-alignment\")===\"auto\"&&(this.layout._values[\"text-pitch-alignment\"]=this.layout.get(\"text-rotation-alignment\")===\"map\"?\"map\":\"viewport\"),this.layout.get(\"icon-pitch-alignment\")===\"auto\"&&(this.layout._values[\"icon-pitch-alignment\"]=this.layout.get(\"icon-rotation-alignment\")),this.layout.get(\"symbol-placement\")===\"point\"){let he=this.layout.get(\"text-writing-mode\");if(he){let Ce=[];for(let Ve of he)Ce.indexOf(Ve)<0&&Ce.push(Ve);this.layout._values[\"text-writing-mode\"]=Ce}else this.layout._values[\"text-writing-mode\"]=[\"horizontal\"]}this._setPaintOverrides()}getValueAndResolveTokens(D,Y,he,Ce){let Ve=this.layout.get(D).evaluate(Y,{},he,Ce),Xe=this._unevaluatedLayout._values[D];return Xe.isDataDriven()||yc(Xe.value)||!Ve?Ve:function(ct,At){return At.replace(/{([^{}]+)}/g,(Ot,er)=>ct&&er in ct?String(ct[er]):\"\")}(Y.properties,Ve)}createBucket(D){return new hp(D)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error(\"Should take a different path in FeatureIndex\")}_setPaintOverrides(){for(let D of cg.paint.overridableProperties){if(!Uv.hasPaintOverride(this.layout,D))continue;let Y=this.paint.get(D),he=new cm(Y),Ce=new Ru(he,Y.property.specification),Ve=null;Ve=Y.value.kind===\"constant\"||Y.value.kind===\"source\"?new Rc(\"source\",Ce):new tc(\"composite\",Ce,Y.value.zoomStops),this.paint._values[D]=new Fu(Y.property,Ve,Y.parameters)}}_handleOverridablePaintPropertyUpdate(D,Y,he){return!(!this.layout||Y.isDataDriven()||he.isDataDriven())&&Uv.hasPaintOverride(this.layout,D)}static hasPaintOverride(D,Y){let he=D.get(\"text-field\"),Ce=cg.paint.properties[Y],Ve=!1,Xe=ct=>{for(let At of ct)if(Ce.overrides&&Ce.overrides.hasOverride(At))return void(Ve=!0)};if(he.value.kind===\"constant\"&&he.value.value instanceof xn)Xe(he.value.value.sections);else if(he.value.kind===\"source\"){let ct=Ot=>{Ve||(Ot instanceof Pr&>(Ot.value)===Rr?Xe(Ot.value.sections):Ot instanceof Ls?Xe(Ot.sections):Ot.eachChild(ct))},At=he.value;At._styleExpression&&ct(At._styleExpression.expression)}return Ve}}let f1;var fm={get paint(){return f1=f1||new Ne({\"background-color\":new bo(ie.paint_background[\"background-color\"]),\"background-pattern\":new hc(ie.paint_background[\"background-pattern\"]),\"background-opacity\":new bo(ie.paint_background[\"background-opacity\"])})}};class Hb extends ne{constructor(D){super(D,fm)}}let My;var h1={get paint(){return My=My||new Ne({\"raster-opacity\":new bo(ie.paint_raster[\"raster-opacity\"]),\"raster-hue-rotate\":new bo(ie.paint_raster[\"raster-hue-rotate\"]),\"raster-brightness-min\":new bo(ie.paint_raster[\"raster-brightness-min\"]),\"raster-brightness-max\":new bo(ie.paint_raster[\"raster-brightness-max\"]),\"raster-saturation\":new bo(ie.paint_raster[\"raster-saturation\"]),\"raster-contrast\":new bo(ie.paint_raster[\"raster-contrast\"]),\"raster-resampling\":new bo(ie.paint_raster[\"raster-resampling\"]),\"raster-fade-duration\":new bo(ie.paint_raster[\"raster-fade-duration\"])})}};class hm extends ne{constructor(D){super(D,h1)}}class Sy extends ne{constructor(D){super(D,{}),this.onAdd=Y=>{this.implementation.onAdd&&this.implementation.onAdd(Y,Y.painter.context.gl)},this.onRemove=Y=>{this.implementation.onRemove&&this.implementation.onRemove(Y,Y.painter.context.gl)},this.implementation=D}is3D(){return this.implementation.renderingMode===\"3d\"}hasOffscreenPass(){return this.implementation.prerender!==void 0}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error(\"Custom layers cannot be serialized\")}}class Ey{constructor(D){this._methodToThrottle=D,this._triggered=!1,typeof MessageChannel<\"u\"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._methodToThrottle()},0))}remove(){delete this._channel,this._methodToThrottle=()=>{}}}let Cy=63710088e-1;class tv{constructor(D,Y){if(isNaN(D)||isNaN(Y))throw new Error(`Invalid LngLat object: (${D}, ${Y})`);if(this.lng=+D,this.lat=+Y,this.lat>90||this.lat<-90)throw new Error(\"Invalid LngLat latitude value: must be between -90 and 90\")}wrap(){return new tv(M(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(D){let Y=Math.PI/180,he=this.lat*Y,Ce=D.lat*Y,Ve=Math.sin(he)*Math.sin(Ce)+Math.cos(he)*Math.cos(Ce)*Math.cos((D.lng-this.lng)*Y);return Cy*Math.acos(Math.min(Ve,1))}static convert(D){if(D instanceof tv)return D;if(Array.isArray(D)&&(D.length===2||D.length===3))return new tv(Number(D[0]),Number(D[1]));if(!Array.isArray(D)&&typeof D==\"object\"&&D!==null)return new tv(Number(\"lng\"in D?D.lng:D.lon),Number(D.lat));throw new Error(\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]\")}}let dp=2*Math.PI*Cy;function d1(q){return dp*Math.cos(q*Math.PI/180)}function fg(q){return(180+q)/360}function v1(q){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q*Math.PI/360)))/360}function hg(q,D){return q/d1(D)}function dm(q){return 360/Math.PI*Math.atan(Math.exp((180-360*q)*Math.PI/180))-90}class vm{constructor(D,Y,he=0){this.x=+D,this.y=+Y,this.z=+he}static fromLngLat(D,Y=0){let he=tv.convert(D);return new vm(fg(he.lng),v1(he.lat),hg(Y,he.lat))}toLngLat(){return new tv(360*this.x-180,dm(this.y))}toAltitude(){return this.z*d1(dm(this.y))}meterInMercatorCoordinateUnits(){return 1/dp*(D=dm(this.y),1/Math.cos(D*Math.PI/180));var D}}function bd(q,D,Y){var he=2*Math.PI*6378137/256/Math.pow(2,Y);return[q*he-2*Math.PI*6378137/2,D*he-2*Math.PI*6378137/2]}class ky{constructor(D,Y,he){if(!function(Ce,Ve,Xe){return!(Ce<0||Ce>25||Xe<0||Xe>=Math.pow(2,Ce)||Ve<0||Ve>=Math.pow(2,Ce))}(D,Y,he))throw new Error(`x=${Y}, y=${he}, z=${D} outside of bounds. 0<=x<${Math.pow(2,D)}, 0<=y<${Math.pow(2,D)} 0<=z<=25 `);this.z=D,this.x=Y,this.y=he,this.key=pm(0,D,D,Y,he)}equals(D){return this.z===D.z&&this.x===D.x&&this.y===D.y}url(D,Y,he){let Ce=(Xe=this.y,ct=this.z,At=bd(256*(Ve=this.x),256*(Xe=Math.pow(2,ct)-Xe-1),ct),Ot=bd(256*(Ve+1),256*(Xe+1),ct),At[0]+\",\"+At[1]+\",\"+Ot[0]+\",\"+Ot[1]);var Ve,Xe,ct,At,Ot;let er=function(cr,Sr,Nr){let rn,mn=\"\";for(let Gn=cr;Gn>0;Gn--)rn=1<1?\"@2x\":\"\").replace(/{quadkey}/g,er).replace(/{bbox-epsg-3857}/g,Ce)}isChildOf(D){let Y=this.z-D.z;return Y>0&&D.x===this.x>>Y&&D.y===this.y>>Y}getTilePoint(D){let Y=Math.pow(2,this.z);return new i((D.x*Y-this.x)*wo,(D.y*Y-this.y)*wo)}toString(){return`${this.z}/${this.x}/${this.y}`}}class p1{constructor(D,Y){this.wrap=D,this.canonical=Y,this.key=pm(D,Y.z,Y.z,Y.x,Y.y)}}class ud{constructor(D,Y,he,Ce,Ve){if(D= z; overscaledZ = ${D}; z = ${he}`);this.overscaledZ=D,this.wrap=Y,this.canonical=new ky(he,+Ce,+Ve),this.key=pm(Y,D,he,Ce,Ve)}clone(){return new ud(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(D){return this.overscaledZ===D.overscaledZ&&this.wrap===D.wrap&&this.canonical.equals(D.canonical)}scaledTo(D){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let Y=this.canonical.z-D;return D>this.canonical.z?new ud(D,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ud(D,this.wrap,D,this.canonical.x>>Y,this.canonical.y>>Y)}calculateScaledKey(D,Y){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let he=this.canonical.z-D;return D>this.canonical.z?pm(this.wrap*+Y,D,this.canonical.z,this.canonical.x,this.canonical.y):pm(this.wrap*+Y,D,D,this.canonical.x>>he,this.canonical.y>>he)}isChildOf(D){if(D.wrap!==this.wrap)return!1;let Y=this.canonical.z-D.canonical.z;return D.overscaledZ===0||D.overscaledZ>Y&&D.canonical.y===this.canonical.y>>Y}children(D){if(this.overscaledZ>=D)return[new ud(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];let Y=this.canonical.z+1,he=2*this.canonical.x,Ce=2*this.canonical.y;return[new ud(Y,this.wrap,Y,he,Ce),new ud(Y,this.wrap,Y,he+1,Ce),new ud(Y,this.wrap,Y,he,Ce+1),new ud(Y,this.wrap,Y,he+1,Ce+1)]}isLessThan(D){return this.wrapD.wrap)&&(this.overscaledZD.overscaledZ)&&(this.canonical.xD.canonical.x)&&this.canonical.ythis.max&&(this.max=cr),cr=this.dim+1||Y<-1||Y>=this.dim+1)throw new RangeError(\"out of range source coordinates for DEM data\");return(Y+1)*this.stride+(D+1)}unpack(D,Y,he){return D*this.redFactor+Y*this.greenFactor+he*this.blueFactor-this.baseShift}getPixels(){return new Na({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(D,Y,he){if(this.dim!==D.dim)throw new Error(\"dem dimension mismatch\");let Ce=Y*this.dim,Ve=Y*this.dim+this.dim,Xe=he*this.dim,ct=he*this.dim+this.dim;switch(Y){case-1:Ce=Ve-1;break;case 1:Ve=Ce+1}switch(he){case-1:Xe=ct-1;break;case 1:ct=Xe+1}let At=-Y*this.dim,Ot=-he*this.dim;for(let er=Xe;er=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${D} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[D]}}class Ly{constructor(D,Y,he,Ce,Ve){this.type=\"Feature\",this._vectorTileFeature=D,D._z=Y,D._x=he,D._y=Ce,this.properties=D.properties,this.id=Ve}get geometry(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(D){this._geometry=D}toJSON(){let D={geometry:this.geometry};for(let Y in this)Y!==\"_geometry\"&&Y!==\"_vectorTileFeature\"&&(D[Y]=this[Y]);return D}}class jv{constructor(D,Y){this.tileID=D,this.x=D.canonical.x,this.y=D.canonical.y,this.z=D.canonical.z,this.grid=new zi(wo,16,0),this.grid3D=new zi(wo,16,0),this.featureIndexArray=new al,this.promoteId=Y}insert(D,Y,he,Ce,Ve,Xe){let ct=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(he,Ce,Ve);let At=Xe?this.grid3D:this.grid;for(let Ot=0;Ot=0&&cr[3]>=0&&At.insert(ct,cr[0],cr[1],cr[2],cr[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new Xn.VectorTile(new yy(this.rawTileData)).layers,this.sourceLayerCoder=new g1(this.vtLayers?Object.keys(this.vtLayers).sort():[\"_geojsonTileLayer\"])),this.vtLayers}query(D,Y,he,Ce){this.loadVTLayers();let Ve=D.params||{},Xe=wo/D.tileSize/D.scale,ct=_c(Ve.filter),At=D.queryGeometry,Ot=D.queryPadding*Xe,er=_1(At),cr=this.grid.query(er.minX-Ot,er.minY-Ot,er.maxX+Ot,er.maxY+Ot),Sr=_1(D.cameraQueryGeometry),Nr=this.grid3D.query(Sr.minX-Ot,Sr.minY-Ot,Sr.maxX+Ot,Sr.maxY+Ot,(Gn,ei,Ri,fi)=>function(Si,Gi,Ha,Po,xs){for(let Ra of Si)if(Gi<=Ra.x&&Ha<=Ra.y&&Po>=Ra.x&&xs>=Ra.y)return!0;let _o=[new i(Gi,Ha),new i(Gi,xs),new i(Po,xs),new i(Po,Ha)];if(Si.length>2){for(let Ra of _o)if(Ca(Si,Ra))return!0}for(let Ra=0;Ra(fi||(fi=xl(Si)),Gi.queryIntersectsFeature(At,Si,Ha,fi,this.z,D.transform,Xe,D.pixelPosMatrix)))}return rn}loadMatchingFeature(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=this.bucketLayerIDs[Y];if(Xe&&!function(Gn,ei){for(let Ri=0;Ri=0)return!0;return!1}(Xe,Sr))return;let Nr=this.sourceLayerCoder.decode(he),rn=this.vtLayers[Nr].feature(Ce);if(Ve.needGeometry){let Gn=Ul(rn,!0);if(!Ve.filter(new zs(this.tileID.overscaledZ),Gn,this.tileID.canonical))return}else if(!Ve.filter(new zs(this.tileID.overscaledZ),rn))return;let mn=this.getId(rn,Nr);for(let Gn=0;Gn{let ct=D instanceof wc?D.get(Xe):null;return ct&&ct.evaluate?ct.evaluate(Y,he,Ce):ct})}function _1(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return{minX:D,minY:Y,maxX:he,maxY:Ce}}function Gb(q,D){return D-q}function x1(q,D,Y,he,Ce){let Ve=[];for(let Xe=0;Xe=he&&cr.x>=he||(er.x>=he?er=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round():cr.x>=he&&(cr=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round()),er.y>=Ce&&cr.y>=Ce||(er.y>=Ce?er=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round():cr.y>=Ce&&(cr=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round()),At&&er.equals(At[At.length-1])||(At=[er],Ve.push(At)),At.push(cr)))))}}return Ve}di(\"FeatureIndex\",jv,{omit:[\"rawTileData\",\"sourceLayerCoder\"]});class rv extends i{constructor(D,Y,he,Ce){super(D,Y),this.angle=he,Ce!==void 0&&(this.segment=Ce)}clone(){return new rv(this.x,this.y,this.angle,this.segment)}}function Py(q,D,Y,he,Ce){if(D.segment===void 0||Y===0)return!0;let Ve=D,Xe=D.segment+1,ct=0;for(;ct>-Y/2;){if(Xe--,Xe<0)return!1;ct-=q[Xe].dist(Ve),Ve=q[Xe]}ct+=q[Xe].dist(q[Xe+1]),Xe++;let At=[],Ot=0;for(;cthe;)Ot-=At.shift().angleDelta;if(Ot>Ce)return!1;Xe++,ct+=er.dist(cr)}return!0}function b1(q){let D=0;for(let Y=0;YOt){let rn=(Ot-At)/Nr,mn=yo.number(cr.x,Sr.x,rn),Gn=yo.number(cr.y,Sr.y,rn),ei=new rv(mn,Gn,Sr.angleTo(cr),er);return ei._round(),!Xe||Py(q,ei,ct,Xe,D)?ei:void 0}At+=Nr}}function Xb(q,D,Y,he,Ce,Ve,Xe,ct,At){let Ot=w1(he,Ve,Xe),er=T1(he,Ce),cr=er*Xe,Sr=q[0].x===0||q[0].x===At||q[0].y===0||q[0].y===At;return D-cr=0&&Si=0&&Gi=0&&Sr+Ot<=er){let Ha=new rv(Si,Gi,Ri,rn);Ha._round(),he&&!Py(q,Ha,Ve,he,Ce)||Nr.push(Ha)}}cr+=ei}return ct||Nr.length||Xe||(Nr=A1(q,cr/2,Y,he,Ce,Ve,Xe,!0,At)),Nr}di(\"Anchor\",rv);let vp=ph;function M1(q,D,Y,he){let Ce=[],Ve=q.image,Xe=Ve.pixelRatio,ct=Ve.paddedRect.w-2*vp,At=Ve.paddedRect.h-2*vp,Ot={x1:q.left,y1:q.top,x2:q.right,y2:q.bottom},er=Ve.stretchX||[[0,ct]],cr=Ve.stretchY||[[0,At]],Sr=(ma,us)=>ma+us[1]-us[0],Nr=er.reduce(Sr,0),rn=cr.reduce(Sr,0),mn=ct-Nr,Gn=At-rn,ei=0,Ri=Nr,fi=0,Si=rn,Gi=0,Ha=mn,Po=0,xs=Gn;if(Ve.content&&he){let ma=Ve.content,us=ma[2]-ma[0],No=ma[3]-ma[1];(Ve.textFitWidth||Ve.textFitHeight)&&(Ot=l1(q)),ei=nv(er,0,ma[0]),fi=nv(cr,0,ma[1]),Ri=nv(er,ma[0],ma[2]),Si=nv(cr,ma[1],ma[3]),Gi=ma[0]-ei,Po=ma[1]-fi,Ha=us-Ri,xs=No-Si}let _o=Ot.x1,Ra=Ot.y1,es=Ot.x2-_o,qo=Ot.y2-Ra,Bo=(ma,us,No,ks)=>{let Au=dg(ma.stretch-ei,Ri,es,_o),yu=pp(ma.fixed-Gi,Ha,ma.stretch,Nr),Ef=dg(us.stretch-fi,Si,qo,Ra),cd=pp(us.fixed-Po,xs,us.stretch,rn),nh=dg(No.stretch-ei,Ri,es,_o),Cf=pp(No.fixed-Gi,Ha,No.stretch,Nr),kh=dg(ks.stretch-fi,Si,qo,Ra),Lh=pp(ks.fixed-Po,xs,ks.stretch,rn),Ph=new i(Au,Ef),jc=new i(nh,Ef),kf=new i(nh,kh),mh=new i(Au,kh),ih=new i(yu/Xe,cd/Xe),Vf=new i(Cf/Xe,Lh/Xe),Qc=D*Math.PI/180;if(Qc){let Gl=Math.sin(Qc),Nu=Math.cos(Qc),Mu=[Nu,-Gl,Gl,Nu];Ph._matMult(Mu),jc._matMult(Mu),mh._matMult(Mu),kf._matMult(Mu)}let rd=ma.stretch+ma.fixed,jh=us.stretch+us.fixed;return{tl:Ph,tr:jc,bl:mh,br:kf,tex:{x:Ve.paddedRect.x+vp+rd,y:Ve.paddedRect.y+vp+jh,w:No.stretch+No.fixed-rd,h:ks.stretch+ks.fixed-jh},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:ih,pixelOffsetBR:Vf,minFontScaleX:Ha/Xe/es,minFontScaleY:xs/Xe/qo,isSDF:Y}};if(he&&(Ve.stretchX||Ve.stretchY)){let ma=S1(er,mn,Nr),us=S1(cr,Gn,rn);for(let No=0;No0&&(mn=Math.max(10,mn),this.circleDiameter=mn)}else{let Sr=!((cr=Xe.image)===null||cr===void 0)&&cr.content&&(Xe.image.textFitWidth||Xe.image.textFitHeight)?l1(Xe):{x1:Xe.left,y1:Xe.top,x2:Xe.right,y2:Xe.bottom};Sr.y1=Sr.y1*ct-At[0],Sr.y2=Sr.y2*ct+At[2],Sr.x1=Sr.x1*ct-At[3],Sr.x2=Sr.x2*ct+At[1];let Nr=Xe.collisionPadding;if(Nr&&(Sr.x1-=Nr[0]*ct,Sr.y1-=Nr[1]*ct,Sr.x2+=Nr[2]*ct,Sr.y2+=Nr[3]*ct),er){let rn=new i(Sr.x1,Sr.y1),mn=new i(Sr.x2,Sr.y1),Gn=new i(Sr.x1,Sr.y2),ei=new i(Sr.x2,Sr.y2),Ri=er*Math.PI/180;rn._rotate(Ri),mn._rotate(Ri),Gn._rotate(Ri),ei._rotate(Ri),Sr.x1=Math.min(rn.x,mn.x,Gn.x,ei.x),Sr.x2=Math.max(rn.x,mn.x,Gn.x,ei.x),Sr.y1=Math.min(rn.y,mn.y,Gn.y,ei.y),Sr.y2=Math.max(rn.y,mn.y,Gn.y,ei.y)}D.emplaceBack(Y.x,Y.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,he,Ce,Ve)}this.boxEndIndex=D.length}}class Cd{constructor(D=[],Y=(he,Ce)=>heCe?1:0){if(this.data=D,this.length=this.data.length,this.compare=Y,this.length>0)for(let he=(this.length>>1)-1;he>=0;he--)this._down(he)}push(D){this.data.push(D),this._up(this.length++)}pop(){if(this.length===0)return;let D=this.data[0],Y=this.data.pop();return--this.length>0&&(this.data[0]=Y,this._down(0)),D}peek(){return this.data[0]}_up(D){let{data:Y,compare:he}=this,Ce=Y[D];for(;D>0;){let Ve=D-1>>1,Xe=Y[Ve];if(he(Ce,Xe)>=0)break;Y[D]=Xe,D=Ve}Y[D]=Ce}_down(D){let{data:Y,compare:he}=this,Ce=this.length>>1,Ve=Y[D];for(;D=0)break;Y[D]=Y[Xe],D=Xe}Y[D]=Ve}}function Zb(q,D=1,Y=!1){let he=1/0,Ce=1/0,Ve=-1/0,Xe=-1/0,ct=q[0];for(let Nr=0;NrVe)&&(Ve=rn.x),(!Nr||rn.y>Xe)&&(Xe=rn.y)}let At=Math.min(Ve-he,Xe-Ce),Ot=At/2,er=new Cd([],Yb);if(At===0)return new i(he,Ce);for(let Nr=he;Nrcr.d||!cr.d)&&(cr=Nr,Y&&console.log(\"found best %d after %d probes\",Math.round(1e4*Nr.d)/1e4,Sr)),Nr.max-cr.d<=D||(Ot=Nr.h/2,er.push(new mp(Nr.p.x-Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x-Ot,Nr.p.y+Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y+Ot,Ot,q)),Sr+=4)}return Y&&(console.log(`num probes: ${Sr}`),console.log(`best distance: ${cr.d}`)),cr.p}function Yb(q,D){return D.max-q.max}function mp(q,D,Y,he){this.p=new i(q,D),this.h=Y,this.d=function(Ce,Ve){let Xe=!1,ct=1/0;for(let At=0;AtCe.y!=rn.y>Ce.y&&Ce.x<(rn.x-Nr.x)*(Ce.y-Nr.y)/(rn.y-Nr.y)+Nr.x&&(Xe=!Xe),ct=Math.min(ct,Oi(Ce,Nr,rn))}}return(Xe?1:-1)*Math.sqrt(ct)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}var rh;e.aq=void 0,(rh=e.aq||(e.aq={}))[rh.center=1]=\"center\",rh[rh.left=2]=\"left\",rh[rh.right=3]=\"right\",rh[rh.top=4]=\"top\",rh[rh.bottom=5]=\"bottom\",rh[rh[\"top-left\"]=6]=\"top-left\",rh[rh[\"top-right\"]=7]=\"top-right\",rh[rh[\"bottom-left\"]=8]=\"bottom-left\",rh[rh[\"bottom-right\"]=9]=\"bottom-right\";let Sv=7,Vv=Number.POSITIVE_INFINITY;function Iy(q,D){return D[1]!==Vv?function(Y,he,Ce){let Ve=0,Xe=0;switch(he=Math.abs(he),Ce=Math.abs(Ce),Y){case\"top-right\":case\"top-left\":case\"top\":Xe=Ce-Sv;break;case\"bottom-right\":case\"bottom-left\":case\"bottom\":Xe=-Ce+Sv}switch(Y){case\"top-right\":case\"bottom-right\":case\"right\":Ve=-he;break;case\"top-left\":case\"bottom-left\":case\"left\":Ve=he}return[Ve,Xe]}(q,D[0],D[1]):function(Y,he){let Ce=0,Ve=0;he<0&&(he=0);let Xe=he/Math.SQRT2;switch(Y){case\"top-right\":case\"top-left\":Ve=Xe-Sv;break;case\"bottom-right\":case\"bottom-left\":Ve=-Xe+Sv;break;case\"bottom\":Ve=-he+Sv;break;case\"top\":Ve=he-Sv}switch(Y){case\"top-right\":case\"bottom-right\":Ce=-Xe;break;case\"top-left\":case\"bottom-left\":Ce=Xe;break;case\"left\":Ce=he;break;case\"right\":Ce=-he}return[Ce,Ve]}(q,D[0])}function E1(q,D,Y){var he;let Ce=q.layout,Ve=(he=Ce.get(\"text-variable-anchor-offset\"))===null||he===void 0?void 0:he.evaluate(D,{},Y);if(Ve){let ct=Ve.values,At=[];for(let Ot=0;OtSr*Hl);er.startsWith(\"top\")?cr[1]-=Sv:er.startsWith(\"bottom\")&&(cr[1]+=Sv),At[Ot+1]=cr}return new Wn(At)}let Xe=Ce.get(\"text-variable-anchor\");if(Xe){let ct;ct=q._unevaluatedLayout.getValue(\"text-radial-offset\")!==void 0?[Ce.get(\"text-radial-offset\").evaluate(D,{},Y)*Hl,Vv]:Ce.get(\"text-offset\").evaluate(D,{},Y).map(Ot=>Ot*Hl);let At=[];for(let Ot of Xe)At.push(Ot,Iy(Ot,ct));return new Wn(At)}return null}function Ry(q){switch(q){case\"right\":case\"top-right\":case\"bottom-right\":return\"right\";case\"left\":case\"top-left\":case\"bottom-left\":return\"left\"}return\"center\"}function Kb(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=Ve.textMaxSize.evaluate(D,{});cr===void 0&&(cr=Xe);let Sr=q.layers[0].layout,Nr=Sr.get(\"icon-offset\").evaluate(D,{},er),rn=k1(Y.horizontal),mn=Xe/24,Gn=q.tilePixelRatio*mn,ei=q.tilePixelRatio*cr/24,Ri=q.tilePixelRatio*ct,fi=q.tilePixelRatio*Sr.get(\"symbol-spacing\"),Si=Sr.get(\"text-padding\")*q.tilePixelRatio,Gi=function(ma,us,No,ks=1){let Au=ma.get(\"icon-padding\").evaluate(us,{},No),yu=Au&&Au.values;return[yu[0]*ks,yu[1]*ks,yu[2]*ks,yu[3]*ks]}(Sr,D,er,q.tilePixelRatio),Ha=Sr.get(\"text-max-angle\")/180*Math.PI,Po=Sr.get(\"text-rotation-alignment\")!==\"viewport\"&&Sr.get(\"symbol-placement\")!==\"point\",xs=Sr.get(\"icon-rotation-alignment\")===\"map\"&&Sr.get(\"symbol-placement\")!==\"point\",_o=Sr.get(\"symbol-placement\"),Ra=fi/2,es=Sr.get(\"icon-text-fit\"),qo;he&&es!==\"none\"&&(q.allowVerticalPlacement&&Y.vertical&&(qo=u1(he,Y.vertical,es,Sr.get(\"icon-text-fit-padding\"),Nr,mn)),rn&&(he=u1(he,rn,es,Sr.get(\"icon-text-fit-padding\"),Nr,mn)));let Bo=(ma,us)=>{us.x<0||us.x>=wo||us.y<0||us.y>=wo||function(No,ks,Au,yu,Ef,cd,nh,Cf,kh,Lh,Ph,jc,kf,mh,ih,Vf,Qc,rd,jh,Gl,Nu,Mu,nd,Mc,gp){let Nd=No.addToLineVertexArray(ks,Au),kd,fd,ic,lf,hd=0,iv=0,Vh=0,yp=0,By=-1,gg=-1,Ud={},qv=ai(\"\");if(No.allowVerticalPlacement&&yu.vertical){let gh=Cf.layout.get(\"text-rotate\").evaluate(Nu,{},Mc)+90;ic=new Mv(kh,ks,Lh,Ph,jc,yu.vertical,kf,mh,ih,gh),nh&&(lf=new Mv(kh,ks,Lh,Ph,jc,nh,Qc,rd,ih,gh))}if(Ef){let gh=Cf.layout.get(\"icon-rotate\").evaluate(Nu,{}),dd=Cf.layout.get(\"icon-text-fit\")!==\"none\",Ev=M1(Ef,gh,nd,dd),Ih=nh?M1(nh,gh,nd,dd):void 0;fd=new Mv(kh,ks,Lh,Ph,jc,Ef,Qc,rd,!1,gh),hd=4*Ev.length;let yh=No.iconSizeData,Td=null;yh.kind===\"source\"?(Td=[Bd*Cf.layout.get(\"icon-size\").evaluate(Nu,{})],Td[0]>Tv&&f(`${No.layerIds[0]}: Value for \"icon-size\" is >= ${lm}. Reduce your \"icon-size\".`)):yh.kind===\"composite\"&&(Td=[Bd*Mu.compositeIconSizes[0].evaluate(Nu,{},Mc),Bd*Mu.compositeIconSizes[1].evaluate(Nu,{},Mc)],(Td[0]>Tv||Td[1]>Tv)&&f(`${No.layerIds[0]}: Value for \"icon-size\" is >= ${lm}. Reduce your \"icon-size\".`)),No.addSymbols(No.icon,Ev,Td,Gl,jh,Nu,e.ah.none,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),By=No.icon.placedSymbolArray.length-1,Ih&&(iv=4*Ih.length,No.addSymbols(No.icon,Ih,Td,Gl,jh,Nu,e.ah.vertical,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),gg=No.icon.placedSymbolArray.length-1)}let qf=Object.keys(yu.horizontal);for(let gh of qf){let dd=yu.horizontal[gh];if(!kd){qv=ai(dd.text);let Ih=Cf.layout.get(\"text-rotate\").evaluate(Nu,{},Mc);kd=new Mv(kh,ks,Lh,Ph,jc,dd,kf,mh,ih,Ih)}let Ev=dd.positionedLines.length===1;if(Vh+=C1(No,ks,dd,cd,Cf,ih,Nu,Vf,Nd,yu.vertical?e.ah.horizontal:e.ah.horizontalOnly,Ev?qf:[gh],Ud,By,Mu,Mc),Ev)break}yu.vertical&&(yp+=C1(No,ks,yu.vertical,cd,Cf,ih,Nu,Vf,Nd,e.ah.vertical,[\"vertical\"],Ud,gg,Mu,Mc));let Qb=kd?kd.boxStartIndex:No.collisionBoxArray.length,yg=kd?kd.boxEndIndex:No.collisionBoxArray.length,jd=ic?ic.boxStartIndex:No.collisionBoxArray.length,qh=ic?ic.boxEndIndex:No.collisionBoxArray.length,R1=fd?fd.boxStartIndex:No.collisionBoxArray.length,ew=fd?fd.boxEndIndex:No.collisionBoxArray.length,D1=lf?lf.boxStartIndex:No.collisionBoxArray.length,tw=lf?lf.boxEndIndex:No.collisionBoxArray.length,wd=-1,ym=(gh,dd)=>gh&&gh.circleDiameter?Math.max(gh.circleDiameter,dd):dd;wd=ym(kd,wd),wd=ym(ic,wd),wd=ym(fd,wd),wd=ym(lf,wd);let _g=wd>-1?1:0;_g&&(wd*=gp/Hl),No.glyphOffsetArray.length>=hp.MAX_GLYPHS&&f(\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\"),Nu.sortKey!==void 0&&No.addToSortKeyRanges(No.symbolInstances.length,Nu.sortKey);let Ny=E1(Cf,Nu,Mc),[rw,nw]=function(gh,dd){let Ev=gh.length,Ih=dd?.values;if(Ih?.length>0)for(let yh=0;yh=0?Ud.right:-1,Ud.center>=0?Ud.center:-1,Ud.left>=0?Ud.left:-1,Ud.vertical||-1,By,gg,qv,Qb,yg,jd,qh,R1,ew,D1,tw,Lh,Vh,yp,hd,iv,_g,0,kf,wd,rw,nw)}(q,us,ma,Y,he,Ce,qo,q.layers[0],q.collisionBoxArray,D.index,D.sourceLayerIndex,q.index,Gn,[Si,Si,Si,Si],Po,At,Ri,Gi,xs,Nr,D,Ve,Ot,er,Xe)};if(_o===\"line\")for(let ma of x1(D.geometry,0,0,wo,wo)){let us=Xb(ma,fi,Ha,Y.vertical||rn,he,24,ei,q.overscaling,wo);for(let No of us)rn&&Jb(q,rn.text,Ra,No)||Bo(ma,No)}else if(_o===\"line-center\"){for(let ma of D.geometry)if(ma.length>1){let us=Wb(ma,Ha,Y.vertical||rn,he,24,ei);us&&Bo(ma,us)}}else if(D.type===\"Polygon\")for(let ma of kc(D.geometry,0)){let us=Zb(ma,16);Bo(ma[0],new rv(us.x,us.y,0))}else if(D.type===\"LineString\")for(let ma of D.geometry)Bo(ma,new rv(ma[0].x,ma[0].y,0));else if(D.type===\"Point\")for(let ma of D.geometry)for(let us of ma)Bo([us],new rv(us.x,us.y,0))}function C1(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=function(Ri,fi,Si,Gi,Ha,Po,xs,_o){let Ra=Gi.layout.get(\"text-rotate\").evaluate(Po,{})*Math.PI/180,es=[];for(let qo of fi.positionedLines)for(let Bo of qo.positionedGlyphs){if(!Bo.rect)continue;let ma=Bo.rect||{},us=i1+1,No=!0,ks=1,Au=0,yu=(Ha||_o)&&Bo.vertical,Ef=Bo.metrics.advance*Bo.scale/2;if(_o&&fi.verticalizable&&(Au=qo.lineOffset/2-(Bo.imageName?-(Hl-Bo.metrics.width*Bo.scale)/2:(Bo.scale-1)*Hl)),Bo.imageName){let Gl=xs[Bo.imageName];No=Gl.sdf,ks=Gl.pixelRatio,us=ph/ks}let cd=Ha?[Bo.x+Ef,Bo.y]:[0,0],nh=Ha?[0,0]:[Bo.x+Ef+Si[0],Bo.y+Si[1]-Au],Cf=[0,0];yu&&(Cf=nh,nh=[0,0]);let kh=Bo.metrics.isDoubleResolution?2:1,Lh=(Bo.metrics.left-us)*Bo.scale-Ef+nh[0],Ph=(-Bo.metrics.top-us)*Bo.scale+nh[1],jc=Lh+ma.w/kh*Bo.scale/ks,kf=Ph+ma.h/kh*Bo.scale/ks,mh=new i(Lh,Ph),ih=new i(jc,Ph),Vf=new i(Lh,kf),Qc=new i(jc,kf);if(yu){let Gl=new i(-Ef,Ef-Sf),Nu=-Math.PI/2,Mu=Hl/2-Ef,nd=new i(5-Sf-Mu,-(Bo.imageName?Mu:0)),Mc=new i(...Cf);mh._rotateAround(Nu,Gl)._add(nd)._add(Mc),ih._rotateAround(Nu,Gl)._add(nd)._add(Mc),Vf._rotateAround(Nu,Gl)._add(nd)._add(Mc),Qc._rotateAround(Nu,Gl)._add(nd)._add(Mc)}if(Ra){let Gl=Math.sin(Ra),Nu=Math.cos(Ra),Mu=[Nu,-Gl,Gl,Nu];mh._matMult(Mu),ih._matMult(Mu),Vf._matMult(Mu),Qc._matMult(Mu)}let rd=new i(0,0),jh=new i(0,0);es.push({tl:mh,tr:ih,bl:Vf,br:Qc,tex:ma,writingMode:fi.writingMode,glyphOffset:cd,sectionIndex:Bo.sectionIndex,isSDF:No,pixelOffsetTL:rd,pixelOffsetBR:jh,minFontScaleX:0,minFontScaleY:0})}return es}(0,Y,ct,Ce,Ve,Xe,he,q.allowVerticalPlacement),Gn=q.textSizeData,ei=null;Gn.kind===\"source\"?(ei=[Bd*Ce.layout.get(\"text-size\").evaluate(Xe,{})],ei[0]>Tv&&f(`${q.layerIds[0]}: Value for \"text-size\" is >= ${lm}. Reduce your \"text-size\".`)):Gn.kind===\"composite\"&&(ei=[Bd*Nr.compositeTextSizes[0].evaluate(Xe,{},rn),Bd*Nr.compositeTextSizes[1].evaluate(Xe,{},rn)],(ei[0]>Tv||ei[1]>Tv)&&f(`${q.layerIds[0]}: Value for \"text-size\" is >= ${lm}. Reduce your \"text-size\".`)),q.addSymbols(q.text,mn,ei,ct,Ve,Xe,Ot,D,At.lineStartIndex,At.lineLength,Sr,rn);for(let Ri of er)cr[Ri]=q.text.placedSymbolArray.length-1;return 4*mn.length}function k1(q){for(let D in q)return q[D];return null}function Jb(q,D,Y,he){let Ce=q.compareText;if(D in Ce){let Ve=Ce[D];for(let Xe=Ve.length-1;Xe>=0;Xe--)if(he.dist(Ve[Xe])>4;if(Ce!==1)throw new Error(`Got v${Ce} data when expected v1.`);let Ve=L1[15&he];if(!Ve)throw new Error(\"Unrecognized array type.\");let[Xe]=new Uint16Array(D,2,1),[ct]=new Uint32Array(D,4,1);return new Dy(ct,Xe,Ve,D)}constructor(D,Y=64,he=Float64Array,Ce){if(isNaN(D)||D<0)throw new Error(`Unpexpected numItems value: ${D}.`);this.numItems=+D,this.nodeSize=Math.min(Math.max(+Y,2),65535),this.ArrayType=he,this.IndexArrayType=D<65536?Uint16Array:Uint32Array;let Ve=L1.indexOf(this.ArrayType),Xe=2*D*this.ArrayType.BYTES_PER_ELEMENT,ct=D*this.IndexArrayType.BYTES_PER_ELEMENT,At=(8-ct%8)%8;if(Ve<0)throw new Error(`Unexpected typed array class: ${he}.`);Ce&&Ce instanceof ArrayBuffer?(this.data=Ce,this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=2*D,this._finished=!0):(this.data=new ArrayBuffer(8+Xe+ct+At),this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+Ve]),new Uint16Array(this.data,2,1)[0]=Y,new Uint32Array(this.data,4,1)[0]=D)}add(D,Y){let he=this._pos>>1;return this.ids[he]=he,this.coords[this._pos++]=D,this.coords[this._pos++]=Y,he}finish(){let D=this._pos>>1;if(D!==this.numItems)throw new Error(`Added ${D} items when expected ${this.numItems}.`);return vg(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(D,Y,he,Ce){if(!this._finished)throw new Error(\"Data not yet indexed - call index.finish().\");let{ids:Ve,coords:Xe,nodeSize:ct}=this,At=[0,Ve.length-1,0],Ot=[];for(;At.length;){let er=At.pop()||0,cr=At.pop()||0,Sr=At.pop()||0;if(cr-Sr<=ct){for(let Gn=Sr;Gn<=cr;Gn++){let ei=Xe[2*Gn],Ri=Xe[2*Gn+1];ei>=D&&ei<=he&&Ri>=Y&&Ri<=Ce&&Ot.push(Ve[Gn])}continue}let Nr=Sr+cr>>1,rn=Xe[2*Nr],mn=Xe[2*Nr+1];rn>=D&&rn<=he&&mn>=Y&&mn<=Ce&&Ot.push(Ve[Nr]),(er===0?D<=rn:Y<=mn)&&(At.push(Sr),At.push(Nr-1),At.push(1-er)),(er===0?he>=rn:Ce>=mn)&&(At.push(Nr+1),At.push(cr),At.push(1-er))}return Ot}within(D,Y,he){if(!this._finished)throw new Error(\"Data not yet indexed - call index.finish().\");let{ids:Ce,coords:Ve,nodeSize:Xe}=this,ct=[0,Ce.length-1,0],At=[],Ot=he*he;for(;ct.length;){let er=ct.pop()||0,cr=ct.pop()||0,Sr=ct.pop()||0;if(cr-Sr<=Xe){for(let Gn=Sr;Gn<=cr;Gn++)I1(Ve[2*Gn],Ve[2*Gn+1],D,Y)<=Ot&&At.push(Ce[Gn]);continue}let Nr=Sr+cr>>1,rn=Ve[2*Nr],mn=Ve[2*Nr+1];I1(rn,mn,D,Y)<=Ot&&At.push(Ce[Nr]),(er===0?D-he<=rn:Y-he<=mn)&&(ct.push(Sr),ct.push(Nr-1),ct.push(1-er)),(er===0?D+he>=rn:Y+he>=mn)&&(ct.push(Nr+1),ct.push(cr),ct.push(1-er))}return At}}function vg(q,D,Y,he,Ce,Ve){if(Ce-he<=Y)return;let Xe=he+Ce>>1;P1(q,D,Xe,he,Ce,Ve),vg(q,D,Y,he,Xe-1,1-Ve),vg(q,D,Y,Xe+1,Ce,1-Ve)}function P1(q,D,Y,he,Ce,Ve){for(;Ce>he;){if(Ce-he>600){let Ot=Ce-he+1,er=Y-he+1,cr=Math.log(Ot),Sr=.5*Math.exp(2*cr/3),Nr=.5*Math.sqrt(cr*Sr*(Ot-Sr)/Ot)*(er-Ot/2<0?-1:1);P1(q,D,Y,Math.max(he,Math.floor(Y-er*Sr/Ot+Nr)),Math.min(Ce,Math.floor(Y+(Ot-er)*Sr/Ot+Nr)),Ve)}let Xe=D[2*Y+Ve],ct=he,At=Ce;for(mm(q,D,he,Y),D[2*Ce+Ve]>Xe&&mm(q,D,he,Ce);ctXe;)At--}D[2*he+Ve]===Xe?mm(q,D,he,At):(At++,mm(q,D,At,Ce)),At<=Y&&(he=At+1),Y<=At&&(Ce=At-1)}}function mm(q,D,Y,he){zy(q,Y,he),zy(D,2*Y,2*he),zy(D,2*Y+1,2*he+1)}function zy(q,D,Y){let he=q[D];q[D]=q[Y],q[Y]=he}function I1(q,D,Y,he){let Ce=q-Y,Ve=D-he;return Ce*Ce+Ve*Ve}var pg;e.bg=void 0,(pg=e.bg||(e.bg={})).create=\"create\",pg.load=\"load\",pg.fullLoad=\"fullLoad\";let gm=null,vf=[],Fy=1e3/60,Oy=\"loadTime\",mg=\"fullLoadTime\",$b={mark(q){performance.mark(q)},frame(q){let D=q;gm!=null&&vf.push(D-gm),gm=D},clearMetrics(){gm=null,vf=[],performance.clearMeasures(Oy),performance.clearMeasures(mg);for(let q in e.bg)performance.clearMarks(e.bg[q])},getPerformanceMetrics(){performance.measure(Oy,e.bg.create,e.bg.load),performance.measure(mg,e.bg.create,e.bg.fullLoad);let q=performance.getEntriesByName(Oy)[0].duration,D=performance.getEntriesByName(mg)[0].duration,Y=vf.length,he=1/(vf.reduce((Ve,Xe)=>Ve+Xe,0)/Y/1e3),Ce=vf.filter(Ve=>Ve>Fy).reduce((Ve,Xe)=>Ve+(Xe-Fy)/Fy,0);return{loadTime:q,fullLoadTime:D,fps:he,percentDroppedFrames:Ce/(Y+Ce)*100,totalFrames:Y}}};e.$=class extends hr{},e.A=ba,e.B=Di,e.C=function(q){if(z==null){let D=q.navigator?q.navigator.userAgent:null;z=!!q.safari||!(!D||!(/\\b(iPad|iPhone|iPod)\\b/.test(D)||D.match(\"Safari\")&&!D.match(\"Chrome\")))}return z},e.D=bo,e.E=ee,e.F=class{constructor(q,D){this.target=q,this.mapId=D,this.resolveRejects={},this.tasks={},this.taskQueue=[],this.abortControllers={},this.messageHandlers={},this.invoker=new Ey(()=>this.process()),this.subscription=function(Y,he,Ce,Ve){return Y.addEventListener(he,Ce,!1),{unsubscribe:()=>{Y.removeEventListener(he,Ce,!1)}}}(this.target,\"message\",Y=>this.receive(Y)),this.globalScope=L(self)?q:window}registerMessageHandler(q,D){this.messageHandlers[q]=D}sendAsync(q,D){return new Promise((Y,he)=>{let Ce=Math.round(1e18*Math.random()).toString(36).substring(0,10);this.resolveRejects[Ce]={resolve:Y,reject:he},D&&D.signal.addEventListener(\"abort\",()=>{delete this.resolveRejects[Ce];let ct={id:Ce,type:\"\",origin:location.origin,targetMapId:q.targetMapId,sourceMapId:this.mapId};this.target.postMessage(ct)},{once:!0});let Ve=[],Xe=Object.assign(Object.assign({},q),{id:Ce,sourceMapId:this.mapId,origin:location.origin,data:mo(q.data,Ve)});this.target.postMessage(Xe,{transfer:Ve})})}receive(q){let D=q.data,Y=D.id;if(!(D.origin!==\"file://\"&&location.origin!==\"file://\"&&D.origin!==\"resource://android\"&&location.origin!==\"resource://android\"&&D.origin!==location.origin||D.targetMapId&&this.mapId!==D.targetMapId)){if(D.type===\"\"){delete this.tasks[Y];let he=this.abortControllers[Y];return delete this.abortControllers[Y],void(he&&he.abort())}if(L(self)||D.mustQueue)return this.tasks[Y]=D,this.taskQueue.push(Y),void this.invoker.trigger();this.processTask(Y,D)}}process(){if(this.taskQueue.length===0)return;let q=this.taskQueue.shift(),D=this.tasks[q];delete this.tasks[q],this.taskQueue.length>0&&this.invoker.trigger(),D&&this.processTask(q,D)}processTask(q,D){return t(this,void 0,void 0,function*(){if(D.type===\"\"){let Ce=this.resolveRejects[q];return delete this.resolveRejects[q],Ce?void(D.error?Ce.reject(Ao(D.error)):Ce.resolve(Ao(D.data))):void 0}if(!this.messageHandlers[D.type])return void this.completeTask(q,new Error(`Could not find a registered handler for ${D.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(\", \")}`));let Y=Ao(D.data),he=new AbortController;this.abortControllers[q]=he;try{let Ce=yield this.messageHandlers[D.type](D.sourceMapId,Y,he);this.completeTask(q,null,Ce)}catch(Ce){this.completeTask(q,Ce)}})}completeTask(q,D,Y){let he=[];delete this.abortControllers[q];let Ce={id:q,type:\"\",sourceMapId:this.mapId,origin:location.origin,error:D?mo(D):null,data:mo(Y,he)};this.target.postMessage(Ce,{transfer:he})}remove(){this.invoker.remove(),this.subscription.unsubscribe()}},e.G=se,e.H=function(){var q=new ba(16);return ba!=Float32Array&&(q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[11]=0,q[12]=0,q[13]=0,q[14]=0),q[0]=1,q[5]=1,q[10]=1,q[15]=1,q},e.I=ig,e.J=function(q,D,Y){var he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn=Y[0],Gn=Y[1],ei=Y[2];return D===q?(q[12]=D[0]*mn+D[4]*Gn+D[8]*ei+D[12],q[13]=D[1]*mn+D[5]*Gn+D[9]*ei+D[13],q[14]=D[2]*mn+D[6]*Gn+D[10]*ei+D[14],q[15]=D[3]*mn+D[7]*Gn+D[11]*ei+D[15]):(Ce=D[1],Ve=D[2],Xe=D[3],ct=D[4],At=D[5],Ot=D[6],er=D[7],cr=D[8],Sr=D[9],Nr=D[10],rn=D[11],q[0]=he=D[0],q[1]=Ce,q[2]=Ve,q[3]=Xe,q[4]=ct,q[5]=At,q[6]=Ot,q[7]=er,q[8]=cr,q[9]=Sr,q[10]=Nr,q[11]=rn,q[12]=he*mn+ct*Gn+cr*ei+D[12],q[13]=Ce*mn+At*Gn+Sr*ei+D[13],q[14]=Ve*mn+Ot*Gn+Nr*ei+D[14],q[15]=Xe*mn+er*Gn+rn*ei+D[15]),q},e.K=function(q,D,Y){var he=Y[0],Ce=Y[1],Ve=Y[2];return q[0]=D[0]*he,q[1]=D[1]*he,q[2]=D[2]*he,q[3]=D[3]*he,q[4]=D[4]*Ce,q[5]=D[5]*Ce,q[6]=D[6]*Ce,q[7]=D[7]*Ce,q[8]=D[8]*Ve,q[9]=D[9]*Ve,q[10]=D[10]*Ve,q[11]=D[11]*Ve,q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15],q},e.L=ca,e.M=function(q,D){let Y={};for(let he=0;he{let D=window.document.createElement(\"video\");return D.muted=!0,new Promise(Y=>{D.onloadstart=()=>{Y(D)};for(let he of q){let Ce=window.document.createElement(\"source\");J(he)||(D.crossOrigin=\"Anonymous\"),Ce.src=he,D.appendChild(Ce)}})},e.a4=function(){return m++},e.a5=Zi,e.a6=hp,e.a7=_c,e.a8=Ul,e.a9=Ly,e.aA=function(q){if(q.type===\"custom\")return new Sy(q);switch(q.type){case\"background\":return new Hb(q);case\"circle\":return new va(q);case\"fill\":return new Zr(q);case\"fill-extrusion\":return new Jh(q);case\"heatmap\":return new _s(q);case\"hillshade\":return new Oc(q);case\"line\":return new Fv(q);case\"raster\":return new hm(q);case\"symbol\":return new Uv(q)}},e.aB=u,e.aC=function(q,D){if(!q)return[{command:\"setStyle\",args:[D]}];let Y=[];try{if(!Te(q.version,D.version))return[{command:\"setStyle\",args:[D]}];Te(q.center,D.center)||Y.push({command:\"setCenter\",args:[D.center]}),Te(q.zoom,D.zoom)||Y.push({command:\"setZoom\",args:[D.zoom]}),Te(q.bearing,D.bearing)||Y.push({command:\"setBearing\",args:[D.bearing]}),Te(q.pitch,D.pitch)||Y.push({command:\"setPitch\",args:[D.pitch]}),Te(q.sprite,D.sprite)||Y.push({command:\"setSprite\",args:[D.sprite]}),Te(q.glyphs,D.glyphs)||Y.push({command:\"setGlyphs\",args:[D.glyphs]}),Te(q.transition,D.transition)||Y.push({command:\"setTransition\",args:[D.transition]}),Te(q.light,D.light)||Y.push({command:\"setLight\",args:[D.light]}),Te(q.terrain,D.terrain)||Y.push({command:\"setTerrain\",args:[D.terrain]}),Te(q.sky,D.sky)||Y.push({command:\"setSky\",args:[D.sky]}),Te(q.projection,D.projection)||Y.push({command:\"setProjection\",args:[D.projection]});let he={},Ce=[];(function(Xe,ct,At,Ot){let er;for(er in ct=ct||{},Xe=Xe||{})Object.prototype.hasOwnProperty.call(Xe,er)&&(Object.prototype.hasOwnProperty.call(ct,er)||Ye(er,At,Ot));for(er in ct)Object.prototype.hasOwnProperty.call(ct,er)&&(Object.prototype.hasOwnProperty.call(Xe,er)?Te(Xe[er],ct[er])||(Xe[er].type===\"geojson\"&&ct[er].type===\"geojson\"&&at(Xe,ct,er)?Ue(At,{command:\"setGeoJSONSourceData\",args:[er,ct[er].data]}):it(er,ct,At,Ot)):Ie(er,ct,At))})(q.sources,D.sources,Ce,he);let Ve=[];q.layers&&q.layers.forEach(Xe=>{\"source\"in Xe&&he[Xe.source]?Y.push({command:\"removeLayer\",args:[Xe.id]}):Ve.push(Xe)}),Y=Y.concat(Ce),function(Xe,ct,At){ct=ct||[];let Ot=(Xe=Xe||[]).map(ut),er=ct.map(ut),cr=Xe.reduce(Me,{}),Sr=ct.reduce(Me,{}),Nr=Ot.slice(),rn=Object.create(null),mn,Gn,ei,Ri,fi;for(let Si=0,Gi=0;Si@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)(?:\\=(?:([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)|(?:\\\"((?:[^\"\\\\]|\\\\.)*)\\\")))?/g,(Y,he,Ce,Ve)=>{let Xe=Ce||Ve;return D[he]=!Xe||Xe.toLowerCase(),\"\"}),D[\"max-age\"]){let Y=parseInt(D[\"max-age\"],10);isNaN(Y)?delete D[\"max-age\"]:D[\"max-age\"]=Y}return D},e.ab=function(q,D){let Y=[];for(let he in q)he in D||Y.push(he);return Y},e.ac=w,e.ad=function(q,D,Y){var he=Math.sin(Y),Ce=Math.cos(Y),Ve=D[0],Xe=D[1],ct=D[2],At=D[3],Ot=D[4],er=D[5],cr=D[6],Sr=D[7];return D!==q&&(q[8]=D[8],q[9]=D[9],q[10]=D[10],q[11]=D[11],q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15]),q[0]=Ve*Ce+Ot*he,q[1]=Xe*Ce+er*he,q[2]=ct*Ce+cr*he,q[3]=At*Ce+Sr*he,q[4]=Ot*Ce-Ve*he,q[5]=er*Ce-Xe*he,q[6]=cr*Ce-ct*he,q[7]=Sr*Ce-At*he,q},e.ae=function(q){var D=new ba(16);return D[0]=q[0],D[1]=q[1],D[2]=q[2],D[3]=q[3],D[4]=q[4],D[5]=q[5],D[6]=q[6],D[7]=q[7],D[8]=q[8],D[9]=q[9],D[10]=q[10],D[11]=q[11],D[12]=q[12],D[13]=q[13],D[14]=q[14],D[15]=q[15],D},e.af=Oo,e.ag=function(q,D){let Y=0,he=0;if(q.kind===\"constant\")he=q.layoutSize;else if(q.kind!==\"source\"){let{interpolationType:Ce,minZoom:Ve,maxZoom:Xe}=q,ct=Ce?w(Xa.interpolationFactor(Ce,D,Ve,Xe),0,1):0;q.kind===\"camera\"?he=yo.number(q.minSize,q.maxSize,ct):Y=ct}return{uSizeT:Y,uSize:he}},e.ai=function(q,{uSize:D,uSizeT:Y},{lowerSize:he,upperSize:Ce}){return q.kind===\"source\"?he/Bd:q.kind===\"composite\"?yo.number(he/Bd,Ce/Bd,Y):D},e.aj=wy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*Ri)*ma,q[11]=(cr*Si-er*Ha-Nr*Ri)*ma,q[12]=(ct*_o-Xe*es-At*xs)*ma,q[13]=(Y*es-he*_o+Ce*xs)*ma,q[14]=(mn*fi-rn*Gi-Gn*Ri)*ma,q[15]=(er*Gi-cr*fi+Sr*Ri)*ma,q):null},e.at=Ry,e.au=lg,e.av=Dy,e.aw=function(){let q={},D=ie.$version;for(let Y in ie.$root){let he=ie.$root[Y];if(he.required){let Ce=null;Ce=Y===\"version\"?D:he.type===\"array\"?[]:{},Ce!=null&&(q[Y]=Ce)}}return q},e.ax=xa,e.ay=G,e.az=function(q){q=q.slice();let D=Object.create(null);for(let Y=0;Y25||he<0||he>=1||Y<0||Y>=1)},e.bc=function(q,D){return q[0]=D[0],q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[5]=D[1],q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[10]=D[2],q[11]=0,q[12]=0,q[13]=0,q[14]=0,q[15]=1,q},e.bd=class extends Jt{},e.be=Cy,e.bf=$b,e.bh=fe,e.bi=function(q,D){Q.REGISTERED_PROTOCOLS[q]=D},e.bj=function(q){delete Q.REGISTERED_PROTOCOLS[q]},e.bk=function(q,D){let Y={};for(let Ce=0;CeBo*Hl)}let _o=Xe?\"center\":Y.get(\"text-justify\").evaluate(Ot,{},q.canonical),Ra=Y.get(\"symbol-placement\")===\"point\"?Y.get(\"text-max-width\").evaluate(Ot,{},q.canonical)*Hl:1/0,es=()=>{q.bucket.allowVerticalPlacement&&Lo(Si)&&(rn.vertical=om(mn,q.glyphMap,q.glyphPositions,q.imagePositions,er,Ra,Ve,Po,\"left\",Ha,ei,e.ah.vertical,!0,Sr,cr))};if(!Xe&&xs){let qo=new Set;if(_o===\"auto\")for(let ma=0;mat(void 0,void 0,void 0,function*(){if(q.byteLength===0)return createImageBitmap(new ImageData(1,1));let D=new Blob([new Uint8Array(q)],{type:\"image/png\"});try{return createImageBitmap(D)}catch(Y){throw new Error(`Could not load image because of ${Y.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}}),e.e=E,e.f=q=>new Promise((D,Y)=>{let he=new Image;he.onload=()=>{D(he),URL.revokeObjectURL(he.src),he.onload=null,window.requestAnimationFrame(()=>{he.src=B})},he.onerror=()=>Y(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"));let Ce=new Blob([new Uint8Array(q)],{type:\"image/png\"});he.src=q.byteLength?URL.createObjectURL(Ce):B}),e.g=le,e.h=(q,D)=>$(E(q,{type:\"json\"}),D),e.i=L,e.j=j,e.k=ae,e.l=(q,D)=>$(E(q,{type:\"arrayBuffer\"}),D),e.m=$,e.n=function(q){return new yy(q).readFields($M,[])},e.o=ps,e.p=xy,e.q=Ne,e.r=yi,e.s=J,e.t=bi,e.u=si,e.v=ie,e.w=f,e.x=function([q,D,Y]){return D+=90,D*=Math.PI/180,Y*=Math.PI/180,{x:q*Math.cos(D)*Math.sin(Y),y:q*Math.sin(D)*Math.sin(Y),z:q*Math.cos(Y)}},e.y=yo,e.z=zs}),A(\"worker\",[\"./shared\"],function(e){\"use strict\";class t{constructor(Be){this.keyCache={},Be&&this.replace(Be)}replace(Be){this._layerConfigs={},this._layers={},this.update(Be,[])}update(Be,Ke){for(let Se of Be){this._layerConfigs[Se.id]=Se;let He=this._layers[Se.id]=e.aA(Se);He._featureFilter=e.a7(He.filter),this.keyCache[Se.id]&&delete this.keyCache[Se.id]}for(let Se of Ke)delete this.keyCache[Se],delete this._layerConfigs[Se],delete this._layers[Se];this.familiesBySource={};let je=e.bk(Object.values(this._layerConfigs),this.keyCache);for(let Se of je){let He=Se.map(bt=>this._layers[bt.id]),Ee=He[0];if(Ee.visibility===\"none\")continue;let we=Ee.source||\"\",Le=this.familiesBySource[we];Le||(Le=this.familiesBySource[we]={});let nt=Ee.sourceLayer||\"_geojsonTileLayer\",pt=Le[nt];pt||(pt=Le[nt]=[]),pt.push(He)}}}class r{constructor(Be){let Ke={},je=[];for(let we in Be){let Le=Be[we],nt=Ke[we]={};for(let pt in Le){let bt=Le[+pt];if(!bt||bt.bitmap.width===0||bt.bitmap.height===0)continue;let Rt={x:0,y:0,w:bt.bitmap.width+2,h:bt.bitmap.height+2};je.push(Rt),nt[pt]={rect:Rt,metrics:bt.metrics}}}let{w:Se,h:He}=e.p(je),Ee=new e.o({width:Se||1,height:He||1});for(let we in Be){let Le=Be[we];for(let nt in Le){let pt=Le[+nt];if(!pt||pt.bitmap.width===0||pt.bitmap.height===0)continue;let bt=Ke[we][nt].rect;e.o.copy(pt.bitmap,Ee,{x:0,y:0},{x:bt.x+1,y:bt.y+1},pt.bitmap)}}this.image=Ee,this.positions=Ke}}e.bl(\"GlyphAtlas\",r);class o{constructor(Be){this.tileID=new e.S(Be.tileID.overscaledZ,Be.tileID.wrap,Be.tileID.canonical.z,Be.tileID.canonical.x,Be.tileID.canonical.y),this.uid=Be.uid,this.zoom=Be.zoom,this.pixelRatio=Be.pixelRatio,this.tileSize=Be.tileSize,this.source=Be.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=Be.showCollisionBoxes,this.collectResourceTiming=!!Be.collectResourceTiming,this.returnDependencies=!!Be.returnDependencies,this.promoteId=Be.promoteId,this.inFlightDependencies=[]}parse(Be,Ke,je,Se){return e._(this,void 0,void 0,function*(){this.status=\"parsing\",this.data=Be,this.collisionBoxArray=new e.a5;let He=new e.bm(Object.keys(Be.layers).sort()),Ee=new e.bn(this.tileID,this.promoteId);Ee.bucketLayerIDs=[];let we={},Le={featureIndex:Ee,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:je},nt=Ke.familiesBySource[this.source];for(let ni in nt){let zn=Be.layers[ni];if(!zn)continue;zn.version===1&&e.w(`Vector tile source \"${this.source}\" layer \"${ni}\" does not use vector tile spec v2 and therefore may have some rendering errors.`);let Qn=He.encode(ni),gi=[];for(let Zt=0;Zt=Ft.maxzoom||Ft.visibility!==\"none\"&&(n(Zt,this.zoom,je),(we[Ft.id]=Ft.createBucket({index:Ee.bucketLayerIDs.length,layers:Zt,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Qn,sourceID:this.source})).populate(gi,Le,this.tileID.canonical),Ee.bucketLayerIDs.push(Zt.map(Ht=>Ht.id)))}}let pt=e.aF(Le.glyphDependencies,ni=>Object.keys(ni).map(Number));this.inFlightDependencies.forEach(ni=>ni?.abort()),this.inFlightDependencies=[];let bt=Promise.resolve({});if(Object.keys(pt).length){let ni=new AbortController;this.inFlightDependencies.push(ni),bt=Se.sendAsync({type:\"GG\",data:{stacks:pt,source:this.source,tileID:this.tileID,type:\"glyphs\"}},ni)}let Rt=Object.keys(Le.iconDependencies),Nt=Promise.resolve({});if(Rt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),Nt=Se.sendAsync({type:\"GI\",data:{icons:Rt,source:this.source,tileID:this.tileID,type:\"icons\"}},ni)}let Xt=Object.keys(Le.patternDependencies),$t=Promise.resolve({});if(Xt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),$t=Se.sendAsync({type:\"GI\",data:{icons:Xt,source:this.source,tileID:this.tileID,type:\"patterns\"}},ni)}let[ur,pn,Rn]=yield Promise.all([bt,Nt,$t]),Nn=new r(ur),On=new e.bo(pn,Rn);for(let ni in we){let zn=we[ni];zn instanceof e.a6?(n(zn.layers,this.zoom,je),e.bp({bucket:zn,glyphMap:ur,glyphPositions:Nn.positions,imageMap:pn,imagePositions:On.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):zn.hasPattern&&(zn instanceof e.bq||zn instanceof e.br||zn instanceof e.bs)&&(n(zn.layers,this.zoom,je),zn.addFeatures(Le,this.tileID.canonical,On.patternPositions))}return this.status=\"done\",{buckets:Object.values(we).filter(ni=>!ni.isEmpty()),featureIndex:Ee,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Nn.image,imageAtlas:On,glyphMap:this.returnDependencies?ur:null,iconMap:this.returnDependencies?pn:null,glyphPositions:this.returnDependencies?Nn.positions:null}})}}function n(_t,Be,Ke){let je=new e.z(Be);for(let Se of _t)Se.recalculate(je,Ke)}class i{constructor(Be,Ke,je){this.actor=Be,this.layerIndex=Ke,this.availableImages=je,this.fetching={},this.loading={},this.loaded={}}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield e.l(Be.request,Ke);try{return{vectorTile:new e.bt.VectorTile(new e.bu(je.data)),rawData:je.data,cacheControl:je.cacheControl,expires:je.expires}}catch(Se){let He=new Uint8Array(je.data),Ee=`Unable to parse the tile at ${Be.request.url}, `;throw Ee+=He[0]===31&&He[1]===139?\"please make sure the data is not gzipped and that you have configured the relevant header in the server\":`got error: ${Se.message}`,new Error(Ee)}})}loadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid,je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request),Se=new o(Be);this.loading[Ke]=Se;let He=new AbortController;Se.abort=He;try{let Ee=yield this.loadVectorTile(Be,He);if(delete this.loading[Ke],!Ee)return null;let we=Ee.rawData,Le={};Ee.expires&&(Le.expires=Ee.expires),Ee.cacheControl&&(Le.cacheControl=Ee.cacheControl);let nt={};if(je){let bt=je.finish();bt&&(nt.resourceTiming=JSON.parse(JSON.stringify(bt)))}Se.vectorTile=Ee.vectorTile;let pt=Se.parse(Ee.vectorTile,this.layerIndex,this.availableImages,this.actor);this.loaded[Ke]=Se,this.fetching[Ke]={rawTileData:we,cacheControl:Le,resourceTiming:nt};try{let bt=yield pt;return e.e({rawTileData:we.slice(0)},bt,Le,nt)}finally{delete this.fetching[Ke]}}catch(Ee){throw delete this.loading[Ke],Se.status=\"done\",this.loaded[Ke]=Se,Ee}})}reloadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid;if(!this.loaded||!this.loaded[Ke])throw new Error(\"Should not be trying to reload a tile that was never loaded or has been removed\");let je=this.loaded[Ke];if(je.showCollisionBoxes=Be.showCollisionBoxes,je.status===\"parsing\"){let Se=yield je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor),He;if(this.fetching[Ke]){let{rawTileData:Ee,cacheControl:we,resourceTiming:Le}=this.fetching[Ke];delete this.fetching[Ke],He=e.e({rawTileData:Ee.slice(0)},Se,we,Le)}else He=Se;return He}if(je.status===\"done\"&&je.vectorTile)return je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor)})}abortTile(Be){return e._(this,void 0,void 0,function*(){let Ke=this.loading,je=Be.uid;Ke&&Ke[je]&&Ke[je].abort&&(Ke[je].abort.abort(),delete Ke[je])})}removeTile(Be){return e._(this,void 0,void 0,function*(){this.loaded&&this.loaded[Be.uid]&&delete this.loaded[Be.uid]})}}class a{constructor(){this.loaded={}}loadTile(Be){return e._(this,void 0,void 0,function*(){let{uid:Ke,encoding:je,rawImageData:Se,redFactor:He,greenFactor:Ee,blueFactor:we,baseShift:Le}=Be,nt=Se.width+2,pt=Se.height+2,bt=e.b(Se)?new e.R({width:nt,height:pt},yield e.bw(Se,-1,-1,nt,pt)):Se,Rt=new e.bx(Ke,bt,je,He,Ee,we,Le);return this.loaded=this.loaded||{},this.loaded[Ke]=Rt,Rt})}removeTile(Be){let Ke=this.loaded,je=Be.uid;Ke&&Ke[je]&&delete Ke[je]}}function s(_t,Be){if(_t.length!==0){c(_t[0],Be);for(var Ke=1;Ke<_t.length;Ke++)c(_t[Ke],!Be)}}function c(_t,Be){for(var Ke=0,je=0,Se=0,He=_t.length,Ee=He-1;Se=Math.abs(we)?Ke-Le+we:we-Le+Ke,Ke=Le}Ke+je>=0!=!!Be&&_t.reverse()}var h=e.by(function _t(Be,Ke){var je,Se=Be&&Be.type;if(Se===\"FeatureCollection\")for(je=0;je>31}function L(_t,Be){for(var Ke=_t.loadGeometry(),je=_t.type,Se=0,He=0,Ee=Ke.length,we=0;we_t},O=Math.fround||(I=new Float32Array(1),_t=>(I[0]=+_t,I[0]));var I;let N=3,U=5,W=6;class Q{constructor(Be){this.options=Object.assign(Object.create(B),Be),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(Be){let{log:Ke,minZoom:je,maxZoom:Se}=this.options;Ke&&console.time(\"total time\");let He=`prepare ${Be.length} points`;Ke&&console.time(He),this.points=Be;let Ee=[];for(let Le=0;Le=je;Le--){let nt=+Date.now();we=this.trees[Le]=this._createTree(this._cluster(we,Le)),Ke&&console.log(\"z%d: %d clusters in %dms\",Le,we.numItems,+Date.now()-nt)}return Ke&&console.timeEnd(\"total time\"),this}getClusters(Be,Ke){let je=((Be[0]+180)%360+360)%360-180,Se=Math.max(-90,Math.min(90,Be[1])),He=Be[2]===180?180:((Be[2]+180)%360+360)%360-180,Ee=Math.max(-90,Math.min(90,Be[3]));if(Be[2]-Be[0]>=360)je=-180,He=180;else if(je>He){let bt=this.getClusters([je,Se,180,Ee],Ke),Rt=this.getClusters([-180,Se,He,Ee],Ke);return bt.concat(Rt)}let we=this.trees[this._limitZoom(Ke)],Le=we.range(fe(je),G(Ee),fe(He),G(Se)),nt=we.data,pt=[];for(let bt of Le){let Rt=this.stride*bt;pt.push(nt[Rt+U]>1?le(nt,Rt,this.clusterProps):this.points[nt[Rt+N]])}return pt}getChildren(Be){let Ke=this._getOriginId(Be),je=this._getOriginZoom(Be),Se=\"No cluster with the specified id.\",He=this.trees[je];if(!He)throw new Error(Se);let Ee=He.data;if(Ke*this.stride>=Ee.length)throw new Error(Se);let we=this.options.radius/(this.options.extent*Math.pow(2,je-1)),Le=He.within(Ee[Ke*this.stride],Ee[Ke*this.stride+1],we),nt=[];for(let pt of Le){let bt=pt*this.stride;Ee[bt+4]===Be&&nt.push(Ee[bt+U]>1?le(Ee,bt,this.clusterProps):this.points[Ee[bt+N]])}if(nt.length===0)throw new Error(Se);return nt}getLeaves(Be,Ke,je){let Se=[];return this._appendLeaves(Se,Be,Ke=Ke||10,je=je||0,0),Se}getTile(Be,Ke,je){let Se=this.trees[this._limitZoom(Be)],He=Math.pow(2,Be),{extent:Ee,radius:we}=this.options,Le=we/Ee,nt=(je-Le)/He,pt=(je+1+Le)/He,bt={features:[]};return this._addTileFeatures(Se.range((Ke-Le)/He,nt,(Ke+1+Le)/He,pt),Se.data,Ke,je,He,bt),Ke===0&&this._addTileFeatures(Se.range(1-Le/He,nt,1,pt),Se.data,He,je,He,bt),Ke===He-1&&this._addTileFeatures(Se.range(0,nt,Le/He,pt),Se.data,-1,je,He,bt),bt.features.length?bt:null}getClusterExpansionZoom(Be){let Ke=this._getOriginZoom(Be)-1;for(;Ke<=this.options.maxZoom;){let je=this.getChildren(Be);if(Ke++,je.length!==1)break;Be=je[0].properties.cluster_id}return Ke}_appendLeaves(Be,Ke,je,Se,He){let Ee=this.getChildren(Ke);for(let we of Ee){let Le=we.properties;if(Le&&Le.cluster?He+Le.point_count<=Se?He+=Le.point_count:He=this._appendLeaves(Be,Le.cluster_id,je,Se,He):He1,pt,bt,Rt;if(nt)pt=se(Ke,Le,this.clusterProps),bt=Ke[Le],Rt=Ke[Le+1];else{let $t=this.points[Ke[Le+N]];pt=$t.properties;let[ur,pn]=$t.geometry.coordinates;bt=fe(ur),Rt=G(pn)}let Nt={type:1,geometry:[[Math.round(this.options.extent*(bt*He-je)),Math.round(this.options.extent*(Rt*He-Se))]],tags:pt},Xt;Xt=nt||this.options.generateId?Ke[Le+N]:this.points[Ke[Le+N]].id,Xt!==void 0&&(Nt.id=Xt),Ee.features.push(Nt)}}_limitZoom(Be){return Math.max(this.options.minZoom,Math.min(Math.floor(+Be),this.options.maxZoom+1))}_cluster(Be,Ke){let{radius:je,extent:Se,reduce:He,minPoints:Ee}=this.options,we=je/(Se*Math.pow(2,Ke)),Le=Be.data,nt=[],pt=this.stride;for(let bt=0;btKe&&(ur+=Le[Rn+U])}if(ur>$t&&ur>=Ee){let pn,Rn=Rt*$t,Nn=Nt*$t,On=-1,ni=((bt/pt|0)<<5)+(Ke+1)+this.points.length;for(let zn of Xt){let Qn=zn*pt;if(Le[Qn+2]<=Ke)continue;Le[Qn+2]=Ke;let gi=Le[Qn+U];Rn+=Le[Qn]*gi,Nn+=Le[Qn+1]*gi,Le[Qn+4]=ni,He&&(pn||(pn=this._map(Le,bt,!0),On=this.clusterProps.length,this.clusterProps.push(pn)),He(pn,this._map(Le,Qn)))}Le[bt+4]=ni,nt.push(Rn/ur,Nn/ur,1/0,ni,-1,ur),He&&nt.push(On)}else{for(let pn=0;pn1)for(let pn of Xt){let Rn=pn*pt;if(!(Le[Rn+2]<=Ke)){Le[Rn+2]=Ke;for(let Nn=0;Nn>5}_getOriginZoom(Be){return(Be-this.points.length)%32}_map(Be,Ke,je){if(Be[Ke+U]>1){let Ee=this.clusterProps[Be[Ke+W]];return je?Object.assign({},Ee):Ee}let Se=this.points[Be[Ke+N]].properties,He=this.options.map(Se);return je&&He===Se?Object.assign({},He):He}}function le(_t,Be,Ke){return{type:\"Feature\",id:_t[Be+N],properties:se(_t,Be,Ke),geometry:{type:\"Point\",coordinates:[(je=_t[Be],360*(je-.5)),$(_t[Be+1])]}};var je}function se(_t,Be,Ke){let je=_t[Be+U],Se=je>=1e4?`${Math.round(je/1e3)}k`:je>=1e3?Math.round(je/100)/10+\"k\":je,He=_t[Be+W],Ee=He===-1?{}:Object.assign({},Ke[He]);return Object.assign(Ee,{cluster:!0,cluster_id:_t[Be+N],point_count:je,point_count_abbreviated:Se})}function fe(_t){return _t/360+.5}function G(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function $(_t){let Be=(180-360*_t)*Math.PI/180;return 360*Math.atan(Math.exp(Be))/Math.PI-90}function J(_t,Be,Ke,je){let Se=je,He=Be+(Ke-Be>>1),Ee,we=Ke-Be,Le=_t[Be],nt=_t[Be+1],pt=_t[Ke],bt=_t[Ke+1];for(let Rt=Be+3;RtSe)Ee=Rt,Se=Nt;else if(Nt===Se){let Xt=Math.abs(Rt-He);Xtje&&(Ee-Be>3&&J(_t,Be,Ee,je),_t[Ee+2]=Se,Ke-Ee>3&&J(_t,Ee,Ke,je))}function X(_t,Be,Ke,je,Se,He){let Ee=Se-Ke,we=He-je;if(Ee!==0||we!==0){let Le=((_t-Ke)*Ee+(Be-je)*we)/(Ee*Ee+we*we);Le>1?(Ke=Se,je=He):Le>0&&(Ke+=Ee*Le,je+=we*Le)}return Ee=_t-Ke,we=Be-je,Ee*Ee+we*we}function re(_t,Be,Ke,je){let Se={id:_t??null,type:Be,geometry:Ke,tags:je,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};if(Be===\"Point\"||Be===\"MultiPoint\"||Be===\"LineString\")ae(Se,Ke);else if(Be===\"Polygon\")ae(Se,Ke[0]);else if(Be===\"MultiLineString\")for(let He of Ke)ae(Se,He);else if(Be===\"MultiPolygon\")for(let He of Ke)ae(Se,He[0]);return Se}function ae(_t,Be){for(let Ke=0;Ke0&&(Ee+=je?(Se*pt-nt*He)/2:Math.sqrt(Math.pow(nt-Se,2)+Math.pow(pt-He,2))),Se=nt,He=pt}let we=Be.length-3;Be[2]=1,J(Be,0,we,Ke),Be[we+2]=1,Be.size=Math.abs(Ee),Be.start=0,Be.end=Be.size}function ce(_t,Be,Ke,je){for(let Se=0;Se<_t.length;Se++){let He=[];ie(_t[Se],He,Ke,je),Be.push(He)}}function xe(_t){return _t/360+.5}function Te(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function Ue(_t,Be,Ke,je,Se,He,Ee,we){if(je/=Be,He>=(Ke/=Be)&&Ee=je)return null;let Le=[];for(let nt of _t){let pt=nt.geometry,bt=nt.type,Rt=Se===0?nt.minX:nt.minY,Nt=Se===0?nt.maxX:nt.maxY;if(Rt>=Ke&&Nt=je)continue;let Xt=[];if(bt===\"Point\"||bt===\"MultiPoint\")Ie(pt,Xt,Ke,je,Se);else if(bt===\"LineString\")Ye(pt,Xt,Ke,je,Se,!1,we.lineMetrics);else if(bt===\"MultiLineString\")at(pt,Xt,Ke,je,Se,!1);else if(bt===\"Polygon\")at(pt,Xt,Ke,je,Se,!0);else if(bt===\"MultiPolygon\")for(let $t of pt){let ur=[];at($t,ur,Ke,je,Se,!0),ur.length&&Xt.push(ur)}if(Xt.length){if(we.lineMetrics&&bt===\"LineString\"){for(let $t of Xt)Le.push(re(nt.id,bt,$t,nt.tags));continue}bt!==\"LineString\"&&bt!==\"MultiLineString\"||(Xt.length===1?(bt=\"LineString\",Xt=Xt[0]):bt=\"MultiLineString\"),bt!==\"Point\"&&bt!==\"MultiPoint\"||(bt=Xt.length===3?\"Point\":\"MultiPoint\"),Le.push(re(nt.id,bt,Xt,nt.tags))}}return Le.length?Le:null}function Ie(_t,Be,Ke,je,Se){for(let He=0;He<_t.length;He+=3){let Ee=_t[He+Se];Ee>=Ke&&Ee<=je&&tt(Be,_t[He],_t[He+1],_t[He+2])}}function Ye(_t,Be,Ke,je,Se,He,Ee){let we=it(_t),Le=Se===0?ut:Me,nt,pt,bt=_t.start;for(let ur=0;ur<_t.length-3;ur+=3){let pn=_t[ur],Rn=_t[ur+1],Nn=_t[ur+2],On=_t[ur+3],ni=_t[ur+4],zn=Se===0?pn:Rn,Qn=Se===0?On:ni,gi=!1;Ee&&(nt=Math.sqrt(Math.pow(pn-On,2)+Math.pow(Rn-ni,2))),znKe&&(pt=Le(we,pn,Rn,On,ni,Ke),Ee&&(we.start=bt+nt*pt)):zn>je?Qn=Ke&&(pt=Le(we,pn,Rn,On,ni,Ke),gi=!0),Qn>je&&zn<=je&&(pt=Le(we,pn,Rn,On,ni,je),gi=!0),!He&&gi&&(Ee&&(we.end=bt+nt*pt),Be.push(we),we=it(_t)),Ee&&(bt+=nt)}let Rt=_t.length-3,Nt=_t[Rt],Xt=_t[Rt+1],$t=Se===0?Nt:Xt;$t>=Ke&&$t<=je&&tt(we,Nt,Xt,_t[Rt+2]),Rt=we.length-3,He&&Rt>=3&&(we[Rt]!==we[0]||we[Rt+1]!==we[1])&&tt(we,we[0],we[1],we[2]),we.length&&Be.push(we)}function it(_t){let Be=[];return Be.size=_t.size,Be.start=_t.start,Be.end=_t.end,Be}function at(_t,Be,Ke,je,Se,He){for(let Ee of _t)Ye(Ee,Be,Ke,je,Se,He,!1)}function tt(_t,Be,Ke,je){_t.push(Be,Ke,je)}function ut(_t,Be,Ke,je,Se,He){let Ee=(He-Be)/(je-Be);return tt(_t,He,Ke+(Se-Ke)*Ee,1),Ee}function Me(_t,Be,Ke,je,Se,He){let Ee=(He-Ke)/(Se-Ke);return tt(_t,Be+(je-Be)*Ee,He,1),Ee}function pe(_t,Be){let Ke=[];for(let je=0;je<_t.length;je++){let Se=_t[je],He=Se.type,Ee;if(He===\"Point\"||He===\"MultiPoint\"||He===\"LineString\")Ee=ue(Se.geometry,Be);else if(He===\"MultiLineString\"||He===\"Polygon\"){Ee=[];for(let we of Se.geometry)Ee.push(ue(we,Be))}else if(He===\"MultiPolygon\"){Ee=[];for(let we of Se.geometry){let Le=[];for(let nt of we)Le.push(ue(nt,Be));Ee.push(Le)}}Ke.push(re(Se.id,He,Ee,Se.tags))}return Ke}function ue(_t,Be){let Ke=[];Ke.size=_t.size,_t.start!==void 0&&(Ke.start=_t.start,Ke.end=_t.end);for(let je=0;je<_t.length;je+=3)Ke.push(_t[je]+Be,_t[je+1],_t[je+2]);return Ke}function Oe(_t,Be){if(_t.transformed)return _t;let Ke=1<<_t.z,je=_t.x,Se=_t.y;for(let He of _t.features){let Ee=He.geometry,we=He.type;if(He.geometry=[],we===1)for(let Le=0;Le0&&Be.size<(Se?Ee:je))return void(Ke.numPoints+=Be.length/3);let we=[];for(let Le=0;LeEe)&&(Ke.numSimplified++,we.push(Be[Le],Be[Le+1])),Ke.numPoints++;Se&&function(Le,nt){let pt=0;for(let bt=0,Rt=Le.length,Nt=Rt-2;bt0===nt)for(let bt=0,Rt=Le.length;bt24)throw new Error(\"maxZoom should be in the 0-24 range\");if(Ke.promoteId&&Ke.generateId)throw new Error(\"promoteId and generateId cannot be used together.\");let Se=function(He,Ee){let we=[];if(He.type===\"FeatureCollection\")for(let Le=0;Le1&&console.time(\"creation\"),Nt=this.tiles[Rt]=ot(Be,Ke,je,Se,nt),this.tileCoords.push({z:Ke,x:je,y:Se}),pt)){pt>1&&(console.log(\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\",Ke,je,Se,Nt.numFeatures,Nt.numPoints,Nt.numSimplified),console.timeEnd(\"creation\"));let gi=`z${Ke}`;this.stats[gi]=(this.stats[gi]||0)+1,this.total++}if(Nt.source=Be,He==null){if(Ke===nt.indexMaxZoom||Nt.numPoints<=nt.indexMaxPoints)continue}else{if(Ke===nt.maxZoom||Ke===He)continue;if(He!=null){let gi=He-Ke;if(je!==Ee>>gi||Se!==we>>gi)continue}}if(Nt.source=null,Be.length===0)continue;pt>1&&console.time(\"clipping\");let Xt=.5*nt.buffer/nt.extent,$t=.5-Xt,ur=.5+Xt,pn=1+Xt,Rn=null,Nn=null,On=null,ni=null,zn=Ue(Be,bt,je-Xt,je+ur,0,Nt.minX,Nt.maxX,nt),Qn=Ue(Be,bt,je+$t,je+pn,0,Nt.minX,Nt.maxX,nt);Be=null,zn&&(Rn=Ue(zn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),Nn=Ue(zn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),zn=null),Qn&&(On=Ue(Qn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),ni=Ue(Qn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),Qn=null),pt>1&&console.timeEnd(\"clipping\"),Le.push(Rn||[],Ke+1,2*je,2*Se),Le.push(Nn||[],Ke+1,2*je,2*Se+1),Le.push(On||[],Ke+1,2*je+1,2*Se),Le.push(ni||[],Ke+1,2*je+1,2*Se+1)}}getTile(Be,Ke,je){Be=+Be,Ke=+Ke,je=+je;let Se=this.options,{extent:He,debug:Ee}=Se;if(Be<0||Be>24)return null;let we=1<1&&console.log(\"drilling down to z%d-%d-%d\",Be,Ke,je);let nt,pt=Be,bt=Ke,Rt=je;for(;!nt&&pt>0;)pt--,bt>>=1,Rt>>=1,nt=this.tiles[qt(pt,bt,Rt)];return nt&&nt.source?(Ee>1&&(console.log(\"found parent tile z%d-%d-%d\",pt,bt,Rt),console.time(\"drilling down\")),this.splitTile(nt.source,pt,bt,Rt,Be,Ke,je),Ee>1&&console.timeEnd(\"drilling down\"),this.tiles[Le]?Oe(this.tiles[Le],He):null):null}}function qt(_t,Be,Ke){return 32*((1<<_t)*Ke+Be)+_t}function fr(_t,Be){return Be?_t.properties[Be]:_t.id}function ar(_t,Be){if(_t==null)return!0;if(_t.type===\"Feature\")return fr(_t,Be)!=null;if(_t.type===\"FeatureCollection\"){let Ke=new Set;for(let je of _t.features){let Se=fr(je,Be);if(Se==null||Ke.has(Se))return!1;Ke.add(Se)}return!0}return!1}function Rr(_t,Be){let Ke=new Map;if(_t!=null)if(_t.type===\"Feature\")Ke.set(fr(_t,Be),_t);else for(let je of _t.features)Ke.set(fr(je,Be),je);return Ke}class gr extends i{constructor(){super(...arguments),this._dataUpdateable=new Map}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=Be.tileID.canonical;if(!this._geoJSONIndex)throw new Error(\"Unable to parse the data into a cluster or geojson\");let Se=this._geoJSONIndex.getTile(je.z,je.x,je.y);if(!Se)return null;let He=new class{constructor(we){this.layers={_geojsonTileLayer:this},this.name=\"_geojsonTileLayer\",this.extent=e.X,this.length=we.length,this._features=we}feature(we){return new class{constructor(Le){this._feature=Le,this.extent=e.X,this.type=Le.type,this.properties=Le.tags,\"id\"in Le&&!isNaN(Le.id)&&(this.id=parseInt(Le.id,10))}loadGeometry(){if(this._feature.type===1){let Le=[];for(let nt of this._feature.geometry)Le.push([new e.P(nt[0],nt[1])]);return Le}{let Le=[];for(let nt of this._feature.geometry){let pt=[];for(let bt of nt)pt.push(new e.P(bt[0],bt[1]));Le.push(pt)}return Le}}toGeoJSON(Le,nt,pt){return p.call(this,Le,nt,pt)}}(this._features[we])}}(Se.features),Ee=F(He);return Ee.byteOffset===0&&Ee.byteLength===Ee.buffer.byteLength||(Ee=new Uint8Array(Ee)),{vectorTile:He,rawData:Ee.buffer}})}loadData(Be){return e._(this,void 0,void 0,function*(){var Ke;(Ke=this._pendingRequest)===null||Ke===void 0||Ke.abort();let je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request);this._pendingRequest=new AbortController;try{this._pendingData=this.loadAndProcessGeoJSON(Be,this._pendingRequest),this._geoJSONIndex=Be.cluster?new Q(function({superclusterOptions:Ee,clusterProperties:we}){if(!we||!Ee)return Ee;let Le={},nt={},pt={accumulated:null,zoom:0},bt={properties:null},Rt=Object.keys(we);for(let Nt of Rt){let[Xt,$t]=we[Nt],ur=e.bC($t),pn=e.bC(typeof Xt==\"string\"?[Xt,[\"accumulated\"],[\"get\",Nt]]:Xt);Le[Nt]=ur.value,nt[Nt]=pn.value}return Ee.map=Nt=>{bt.properties=Nt;let Xt={};for(let $t of Rt)Xt[$t]=Le[$t].evaluate(pt,bt);return Xt},Ee.reduce=(Nt,Xt)=>{bt.properties=Xt;for(let $t of Rt)pt.accumulated=Nt[$t],Nt[$t]=nt[$t].evaluate(pt,bt)},Ee}(Be)).load((yield this._pendingData).features):(Se=yield this._pendingData,new Bt(Se,Be.geojsonVtOptions)),this.loaded={};let He={};if(je){let Ee=je.finish();Ee&&(He.resourceTiming={},He.resourceTiming[Be.source]=JSON.parse(JSON.stringify(Ee)))}return He}catch(He){if(delete this._pendingRequest,e.bB(He))return{abandoned:!0};throw He}var Se})}getData(){return e._(this,void 0,void 0,function*(){return this._pendingData})}reloadTile(Be){let Ke=this.loaded;return Ke&&Ke[Be.uid]?super.reloadTile(Be):this.loadTile(Be)}loadAndProcessGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield this.loadGeoJSON(Be,Ke);if(delete this._pendingRequest,typeof je!=\"object\")throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(h(je,!0),Be.filter){let Se=e.bC(Be.filter,{type:\"boolean\",\"property-type\":\"data-driven\",overridable:!1,transition:!1});if(Se.result===\"error\")throw new Error(Se.value.map(Ee=>`${Ee.key}: ${Ee.message}`).join(\", \"));je={type:\"FeatureCollection\",features:je.features.filter(Ee=>Se.value.evaluate({zoom:0},Ee))}}return je})}loadGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let{promoteId:je}=Be;if(Be.request){let Se=yield e.h(Be.request,Ke);return this._dataUpdateable=ar(Se.data,je)?Rr(Se.data,je):void 0,Se.data}if(typeof Be.data==\"string\")try{let Se=JSON.parse(Be.data);return this._dataUpdateable=ar(Se,je)?Rr(Se,je):void 0,Se}catch{throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`)}if(!Be.dataDiff)throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(!this._dataUpdateable)throw new Error(`Cannot update existing geojson data in ${Be.source}`);return function(Se,He,Ee){var we,Le,nt,pt;if(He.removeAll&&Se.clear(),He.remove)for(let bt of He.remove)Se.delete(bt);if(He.add)for(let bt of He.add){let Rt=fr(bt,Ee);Rt!=null&&Se.set(Rt,bt)}if(He.update)for(let bt of He.update){let Rt=Se.get(bt.id);if(Rt==null)continue;let Nt=!bt.removeAllProperties&&(((we=bt.removeProperties)===null||we===void 0?void 0:we.length)>0||((Le=bt.addOrUpdateProperties)===null||Le===void 0?void 0:Le.length)>0);if((bt.newGeometry||bt.removeAllProperties||Nt)&&(Rt=Object.assign({},Rt),Se.set(bt.id,Rt),Nt&&(Rt.properties=Object.assign({},Rt.properties))),bt.newGeometry&&(Rt.geometry=bt.newGeometry),bt.removeAllProperties)Rt.properties={};else if(((nt=bt.removeProperties)===null||nt===void 0?void 0:nt.length)>0)for(let Xt of bt.removeProperties)Object.prototype.hasOwnProperty.call(Rt.properties,Xt)&&delete Rt.properties[Xt];if(((pt=bt.addOrUpdateProperties)===null||pt===void 0?void 0:pt.length)>0)for(let{key:Xt,value:$t}of bt.addOrUpdateProperties)Rt.properties[Xt]=$t}}(this._dataUpdateable,Be.dataDiff,je),{type:\"FeatureCollection\",features:Array.from(this._dataUpdateable.values())}})}removeSource(Be){return e._(this,void 0,void 0,function*(){this._pendingRequest&&this._pendingRequest.abort()})}getClusterExpansionZoom(Be){return this._geoJSONIndex.getClusterExpansionZoom(Be.clusterId)}getClusterChildren(Be){return this._geoJSONIndex.getChildren(Be.clusterId)}getClusterLeaves(Be){return this._geoJSONIndex.getLeaves(Be.clusterId,Be.limit,Be.offset)}}class br{constructor(Be){this.self=Be,this.actor=new e.F(Be),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.self.registerWorkerSource=(Ke,je)=>{if(this.externalWorkerSourceTypes[Ke])throw new Error(`Worker source with name \"${Ke}\" already registered.`);this.externalWorkerSourceTypes[Ke]=je},this.self.addProtocol=e.bi,this.self.removeProtocol=e.bj,this.self.registerRTLTextPlugin=Ke=>{if(e.bD.isParsed())throw new Error(\"RTL text plugin already registered.\");e.bD.setMethods(Ke)},this.actor.registerMessageHandler(\"LDT\",(Ke,je)=>this._getDEMWorkerSource(Ke,je.source).loadTile(je)),this.actor.registerMessageHandler(\"RDT\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getDEMWorkerSource(Ke,je.source).removeTile(je)})),this.actor.registerMessageHandler(\"GCEZ\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterExpansionZoom(je)})),this.actor.registerMessageHandler(\"GCC\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterChildren(je)})),this.actor.registerMessageHandler(\"GCL\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterLeaves(je)})),this.actor.registerMessageHandler(\"LD\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadData(je)),this.actor.registerMessageHandler(\"GD\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).getData()),this.actor.registerMessageHandler(\"LT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadTile(je)),this.actor.registerMessageHandler(\"RT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).reloadTile(je)),this.actor.registerMessageHandler(\"AT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).abortTile(je)),this.actor.registerMessageHandler(\"RMT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).removeTile(je)),this.actor.registerMessageHandler(\"RS\",(Ke,je)=>e._(this,void 0,void 0,function*(){if(!this.workerSources[Ke]||!this.workerSources[Ke][je.type]||!this.workerSources[Ke][je.type][je.source])return;let Se=this.workerSources[Ke][je.type][je.source];delete this.workerSources[Ke][je.type][je.source],Se.removeSource!==void 0&&Se.removeSource(je)})),this.actor.registerMessageHandler(\"RM\",Ke=>e._(this,void 0,void 0,function*(){delete this.layerIndexes[Ke],delete this.availableImages[Ke],delete this.workerSources[Ke],delete this.demWorkerSources[Ke]})),this.actor.registerMessageHandler(\"SR\",(Ke,je)=>e._(this,void 0,void 0,function*(){this.referrer=je})),this.actor.registerMessageHandler(\"SRPS\",(Ke,je)=>this._syncRTLPluginState(Ke,je)),this.actor.registerMessageHandler(\"IS\",(Ke,je)=>e._(this,void 0,void 0,function*(){this.self.importScripts(je)})),this.actor.registerMessageHandler(\"SI\",(Ke,je)=>this._setImages(Ke,je)),this.actor.registerMessageHandler(\"UL\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).update(je.layers,je.removedIds)})),this.actor.registerMessageHandler(\"SL\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).replace(je)}))}_setImages(Be,Ke){return e._(this,void 0,void 0,function*(){this.availableImages[Be]=Ke;for(let je in this.workerSources[Be]){let Se=this.workerSources[Be][je];for(let He in Se)Se[He].availableImages=Ke}})}_syncRTLPluginState(Be,Ke){return e._(this,void 0,void 0,function*(){if(e.bD.isParsed())return e.bD.getState();if(Ke.pluginStatus!==\"loading\")return e.bD.setState(Ke),Ke;let je=Ke.pluginURL;if(this.self.importScripts(je),e.bD.isParsed()){let Se={pluginStatus:\"loaded\",pluginURL:je};return e.bD.setState(Se),Se}throw e.bD.setState({pluginStatus:\"error\",pluginURL:\"\"}),new Error(`RTL Text Plugin failed to import scripts from ${je}`)})}_getAvailableImages(Be){let Ke=this.availableImages[Be];return Ke||(Ke=[]),Ke}_getLayerIndex(Be){let Ke=this.layerIndexes[Be];return Ke||(Ke=this.layerIndexes[Be]=new t),Ke}_getWorkerSource(Be,Ke,je){if(this.workerSources[Be]||(this.workerSources[Be]={}),this.workerSources[Be][Ke]||(this.workerSources[Be][Ke]={}),!this.workerSources[Be][Ke][je]){let Se={sendAsync:(He,Ee)=>(He.targetMapId=Be,this.actor.sendAsync(He,Ee))};switch(Ke){case\"vector\":this.workerSources[Be][Ke][je]=new i(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;case\"geojson\":this.workerSources[Be][Ke][je]=new gr(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;default:this.workerSources[Be][Ke][je]=new this.externalWorkerSourceTypes[Ke](Se,this._getLayerIndex(Be),this._getAvailableImages(Be))}}return this.workerSources[Be][Ke][je]}_getDEMWorkerSource(Be,Ke){return this.demWorkerSources[Be]||(this.demWorkerSources[Be]={}),this.demWorkerSources[Be][Ke]||(this.demWorkerSources[Be][Ke]=new a),this.demWorkerSources[Be][Ke]}}return e.i(self)&&(self.worker=new br(self)),br}),A(\"index\",[\"exports\",\"./shared\"],function(e,t){\"use strict\";var r=\"4.7.1\";let o,n,i={now:typeof performance<\"u\"&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frameAsync:Ne=>new Promise((R,ne)=>{let be=requestAnimationFrame(R);Ne.signal.addEventListener(\"abort\",()=>{cancelAnimationFrame(be),ne(t.c())})}),getImageData(Ne,R=0){return this.getImageCanvasContext(Ne).getImageData(-R,-R,Ne.width+2*R,Ne.height+2*R)},getImageCanvasContext(Ne){let R=window.document.createElement(\"canvas\"),ne=R.getContext(\"2d\",{willReadFrequently:!0});if(!ne)throw new Error(\"failed to create canvas 2d context\");return R.width=Ne.width,R.height=Ne.height,ne.drawImage(Ne,0,0,Ne.width,Ne.height),ne},resolveURL:Ne=>(o||(o=document.createElement(\"a\")),o.href=Ne,o.href),hardwareConcurrency:typeof navigator<\"u\"&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(n==null&&(n=matchMedia(\"(prefers-reduced-motion: reduce)\")),n.matches)}};class a{static testProp(R){if(!a.docStyle)return R[0];for(let ne=0;ne{window.removeEventListener(\"click\",a.suppressClickInternal,!0)},0)}static getScale(R){let ne=R.getBoundingClientRect();return{x:ne.width/R.offsetWidth||1,y:ne.height/R.offsetHeight||1,boundingClientRect:ne}}static getPoint(R,ne,be){let Ae=ne.boundingClientRect;return new t.P((be.clientX-Ae.left)/ne.x-R.clientLeft,(be.clientY-Ae.top)/ne.y-R.clientTop)}static mousePos(R,ne){let be=a.getScale(R);return a.getPoint(R,be,ne)}static touchPos(R,ne){let be=[],Ae=a.getScale(R);for(let Fe=0;Fe{c&&T(c),c=null,d=!0},h.onerror=()=>{p=!0,c=null},h.src=\"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\"),function(Ne){let R,ne,be,Ae;Ne.resetRequestQueue=()=>{R=[],ne=0,be=0,Ae={}},Ne.addThrottleControl=zt=>{let Jt=be++;return Ae[Jt]=zt,Jt},Ne.removeThrottleControl=zt=>{delete Ae[zt],ht()},Ne.getImage=(zt,Jt,hr=!0)=>new Promise((vr,Hr)=>{s.supported&&(zt.headers||(zt.headers={}),zt.headers.accept=\"image/webp,*/*\"),t.e(zt,{type:\"image\"}),R.push({abortController:Jt,requestParameters:zt,supportImageRefresh:hr,state:\"queued\",onError:ln=>{Hr(ln)},onSuccess:ln=>{vr(ln)}}),ht()});let Fe=zt=>t._(this,void 0,void 0,function*(){zt.state=\"running\";let{requestParameters:Jt,supportImageRefresh:hr,onError:vr,onSuccess:Hr,abortController:ln}=zt,Ge=hr===!1&&!t.i(self)&&!t.g(Jt.url)&&(!Jt.headers||Object.keys(Jt.headers).reduce((dt,St)=>dt&&St===\"accept\",!0));ne++;let $e=Ge?wt(Jt,ln):t.m(Jt,ln);try{let dt=yield $e;delete zt.abortController,zt.state=\"completed\",dt.data instanceof HTMLImageElement||t.b(dt.data)?Hr(dt):dt.data&&Hr({data:yield(st=dt.data,typeof createImageBitmap==\"function\"?t.d(st):t.f(st)),cacheControl:dt.cacheControl,expires:dt.expires})}catch(dt){delete zt.abortController,vr(dt)}finally{ne--,ht()}var st}),ht=()=>{let zt=(()=>{for(let Jt of Object.keys(Ae))if(Ae[Jt]())return!0;return!1})()?t.a.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.a.MAX_PARALLEL_IMAGE_REQUESTS;for(let Jt=ne;Jt0;Jt++){let hr=R.shift();hr.abortController.signal.aborted?Jt--:Fe(hr)}},wt=(zt,Jt)=>new Promise((hr,vr)=>{let Hr=new Image,ln=zt.url,Ge=zt.credentials;Ge&&Ge===\"include\"?Hr.crossOrigin=\"use-credentials\":(Ge&&Ge===\"same-origin\"||!t.s(ln))&&(Hr.crossOrigin=\"anonymous\"),Jt.signal.addEventListener(\"abort\",()=>{Hr.src=\"\",vr(t.c())}),Hr.fetchPriority=\"high\",Hr.onload=()=>{Hr.onerror=Hr.onload=null,hr({data:Hr})},Hr.onerror=()=>{Hr.onerror=Hr.onload=null,Jt.signal.aborted||vr(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))},Hr.src=ln})}(l||(l={})),l.resetRequestQueue();class _{constructor(R){this._transformRequestFn=R}transformRequest(R,ne){return this._transformRequestFn&&this._transformRequestFn(R,ne)||{url:R}}setTransformRequest(R){this._transformRequestFn=R}}function w(Ne){var R=new t.A(3);return R[0]=Ne[0],R[1]=Ne[1],R[2]=Ne[2],R}var M,E=function(Ne,R,ne){return Ne[0]=R[0]-ne[0],Ne[1]=R[1]-ne[1],Ne[2]=R[2]-ne[2],Ne};M=new t.A(3),t.A!=Float32Array&&(M[0]=0,M[1]=0,M[2]=0);var m=function(Ne){var R=Ne[0],ne=Ne[1];return R*R+ne*ne};function b(Ne){let R=[];if(typeof Ne==\"string\")R.push({id:\"default\",url:Ne});else if(Ne&&Ne.length>0){let ne=[];for(let{id:be,url:Ae}of Ne){let Fe=`${be}${Ae}`;ne.indexOf(Fe)===-1&&(ne.push(Fe),R.push({id:be,url:Ae}))}}return R}function v(Ne,R,ne){let be=Ne.split(\"?\");return be[0]+=`${R}${ne}`,be.join(\"?\")}(function(){var Ne=new t.A(2);t.A!=Float32Array&&(Ne[0]=0,Ne[1]=0)})();class u{constructor(R,ne,be,Ae){this.context=R,this.format=be,this.texture=R.gl.createTexture(),this.update(ne,Ae)}update(R,ne,be){let{width:Ae,height:Fe}=R,ht=!(this.size&&this.size[0]===Ae&&this.size[1]===Fe||be),{context:wt}=this,{gl:zt}=wt;if(this.useMipmap=!!(ne&&ne.useMipmap),zt.bindTexture(zt.TEXTURE_2D,this.texture),wt.pixelStoreUnpackFlipY.set(!1),wt.pixelStoreUnpack.set(1),wt.pixelStoreUnpackPremultiplyAlpha.set(this.format===zt.RGBA&&(!ne||ne.premultiply!==!1)),ht)this.size=[Ae,Fe],R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texImage2D(zt.TEXTURE_2D,0,this.format,this.format,zt.UNSIGNED_BYTE,R):zt.texImage2D(zt.TEXTURE_2D,0,this.format,Ae,Fe,0,this.format,zt.UNSIGNED_BYTE,R.data);else{let{x:Jt,y:hr}=be||{x:0,y:0};R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,zt.RGBA,zt.UNSIGNED_BYTE,R):zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,Ae,Fe,zt.RGBA,zt.UNSIGNED_BYTE,R.data)}this.useMipmap&&this.isSizePowerOfTwo()&&zt.generateMipmap(zt.TEXTURE_2D)}bind(R,ne,be){let{context:Ae}=this,{gl:Fe}=Ae;Fe.bindTexture(Fe.TEXTURE_2D,this.texture),be!==Fe.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(be=Fe.LINEAR),R!==this.filter&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,R),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,be||R),this.filter=R),ne!==this.wrap&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,ne),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,ne),this.wrap=ne)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){let{gl:R}=this.context;R.deleteTexture(this.texture),this.texture=null}}function y(Ne){let{userImage:R}=Ne;return!!(R&&R.render&&R.render())&&(Ne.data.replace(new Uint8Array(R.data.buffer)),!0)}class f extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(R){if(this.loaded!==R&&(this.loaded=R,R)){for(let{ids:ne,promiseResolve:be}of this.requestors)be(this._getImagesForIds(ne));this.requestors=[]}}getImage(R){let ne=this.images[R];if(ne&&!ne.data&&ne.spriteData){let be=ne.spriteData;ne.data=new t.R({width:be.width,height:be.height},be.context.getImageData(be.x,be.y,be.width,be.height).data),ne.spriteData=null}return ne}addImage(R,ne){if(this.images[R])throw new Error(`Image id ${R} already exist, use updateImage instead`);this._validate(R,ne)&&(this.images[R]=ne)}_validate(R,ne){let be=!0,Ae=ne.data||ne.spriteData;return this._validateStretch(ne.stretchX,Ae&&Ae.width)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"stretchX\" value`))),be=!1),this._validateStretch(ne.stretchY,Ae&&Ae.height)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"stretchY\" value`))),be=!1),this._validateContent(ne.content,ne)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"content\" value`))),be=!1),be}_validateStretch(R,ne){if(!R)return!0;let be=0;for(let Ae of R){if(Ae[0]{let Ae=!0;if(!this.isLoaded())for(let Fe of R)this.images[Fe]||(Ae=!1);this.isLoaded()||Ae?ne(this._getImagesForIds(R)):this.requestors.push({ids:R,promiseResolve:ne})})}_getImagesForIds(R){let ne={};for(let be of R){let Ae=this.getImage(be);Ae||(this.fire(new t.k(\"styleimagemissing\",{id:be})),Ae=this.getImage(be)),Ae?ne[be]={data:Ae.data.clone(),pixelRatio:Ae.pixelRatio,sdf:Ae.sdf,version:Ae.version,stretchX:Ae.stretchX,stretchY:Ae.stretchY,content:Ae.content,textFitWidth:Ae.textFitWidth,textFitHeight:Ae.textFitHeight,hasRenderCallback:!!(Ae.userImage&&Ae.userImage.render)}:t.w(`Image \"${be}\" could not be loaded. Please make sure you have added the image with map.addImage() or a \"sprite\" property in your style. You can provide missing images by listening for the \"styleimagemissing\" map event.`)}return ne}getPixelSize(){let{width:R,height:ne}=this.atlasImage;return{width:R,height:ne}}getPattern(R){let ne=this.patterns[R],be=this.getImage(R);if(!be)return null;if(ne&&ne.position.version===be.version)return ne.position;if(ne)ne.position.version=be.version;else{let Ae={w:be.data.width+2,h:be.data.height+2,x:0,y:0},Fe=new t.I(Ae,be);this.patterns[R]={bin:Ae,position:Fe}}return this._updatePatternAtlas(),this.patterns[R].position}bind(R){let ne=R.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new u(R,this.atlasImage,ne.RGBA),this.atlasTexture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE)}_updatePatternAtlas(){let R=[];for(let Fe in this.patterns)R.push(this.patterns[Fe].bin);let{w:ne,h:be}=t.p(R),Ae=this.atlasImage;Ae.resize({width:ne||1,height:be||1});for(let Fe in this.patterns){let{bin:ht}=this.patterns[Fe],wt=ht.x+1,zt=ht.y+1,Jt=this.getImage(Fe).data,hr=Jt.width,vr=Jt.height;t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt},{width:hr,height:vr}),t.R.copy(Jt,Ae,{x:0,y:vr-1},{x:wt,y:zt-1},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt+vr},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:hr-1,y:0},{x:wt-1,y:zt},{width:1,height:vr}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt+hr,y:zt},{width:1,height:vr})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(R){for(let ne of R){if(this.callbackDispatchedThisFrame[ne])continue;this.callbackDispatchedThisFrame[ne]=!0;let be=this.getImage(ne);be||t.w(`Image with ID: \"${ne}\" was not found`),y(be)&&this.updateImage(ne,be)}}}let P=1e20;function L(Ne,R,ne,be,Ae,Fe,ht,wt,zt){for(let Jt=R;Jt-1);zt++,Fe[zt]=wt,ht[zt]=Jt,ht[zt+1]=P}for(let wt=0,zt=0;wt65535)throw new Error(\"glyphs > 65535 not supported\");if(be.ranges[Fe])return{stack:R,id:ne,glyph:Ae};if(!this.url)throw new Error(\"glyphsUrl is not set\");if(!be.requests[Fe]){let wt=F.loadGlyphRange(R,Fe,this.url,this.requestManager);be.requests[Fe]=wt}let ht=yield be.requests[Fe];for(let wt in ht)this._doesCharSupportLocalGlyph(+wt)||(be.glyphs[+wt]=ht[+wt]);return be.ranges[Fe]=!0,{stack:R,id:ne,glyph:ht[ne]||null}})}_doesCharSupportLocalGlyph(R){return!!this.localIdeographFontFamily&&new RegExp(\"\\\\p{Ideo}|\\\\p{sc=Hang}|\\\\p{sc=Hira}|\\\\p{sc=Kana}\",\"u\").test(String.fromCodePoint(R))}_tinySDF(R,ne,be){let Ae=this.localIdeographFontFamily;if(!Ae||!this._doesCharSupportLocalGlyph(be))return;let Fe=R.tinySDF;if(!Fe){let wt=\"400\";/bold/i.test(ne)?wt=\"900\":/medium/i.test(ne)?wt=\"500\":/light/i.test(ne)&&(wt=\"200\"),Fe=R.tinySDF=new F.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:Ae,fontWeight:wt})}let ht=Fe.draw(String.fromCharCode(be));return{id:be,bitmap:new t.o({width:ht.width||60,height:ht.height||60},ht.data),metrics:{width:ht.glyphWidth/2||24,height:ht.glyphHeight/2||24,left:ht.glyphLeft/2+.5||0,top:ht.glyphTop/2-27.5||-8,advance:ht.glyphAdvance/2||24,isDoubleResolution:!0}}}}F.loadGlyphRange=function(Ne,R,ne,be){return t._(this,void 0,void 0,function*(){let Ae=256*R,Fe=Ae+255,ht=be.transformRequest(ne.replace(\"{fontstack}\",Ne).replace(\"{range}\",`${Ae}-${Fe}`),\"Glyphs\"),wt=yield t.l(ht,new AbortController);if(!wt||!wt.data)throw new Error(`Could not load glyph range. range: ${R}, ${Ae}-${Fe}`);let zt={};for(let Jt of t.n(wt.data))zt[Jt.id]=Jt;return zt})},F.TinySDF=class{constructor({fontSize:Ne=24,buffer:R=3,radius:ne=8,cutoff:be=.25,fontFamily:Ae=\"sans-serif\",fontWeight:Fe=\"normal\",fontStyle:ht=\"normal\"}={}){this.buffer=R,this.cutoff=be,this.radius=ne;let wt=this.size=Ne+4*R,zt=this._createCanvas(wt),Jt=this.ctx=zt.getContext(\"2d\",{willReadFrequently:!0});Jt.font=`${ht} ${Fe} ${Ne}px ${Ae}`,Jt.textBaseline=\"alphabetic\",Jt.textAlign=\"left\",Jt.fillStyle=\"black\",this.gridOuter=new Float64Array(wt*wt),this.gridInner=new Float64Array(wt*wt),this.f=new Float64Array(wt),this.z=new Float64Array(wt+1),this.v=new Uint16Array(wt)}_createCanvas(Ne){let R=document.createElement(\"canvas\");return R.width=R.height=Ne,R}draw(Ne){let{width:R,actualBoundingBoxAscent:ne,actualBoundingBoxDescent:be,actualBoundingBoxLeft:Ae,actualBoundingBoxRight:Fe}=this.ctx.measureText(Ne),ht=Math.ceil(ne),wt=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(Fe-Ae))),zt=Math.min(this.size-this.buffer,ht+Math.ceil(be)),Jt=wt+2*this.buffer,hr=zt+2*this.buffer,vr=Math.max(Jt*hr,0),Hr=new Uint8ClampedArray(vr),ln={data:Hr,width:Jt,height:hr,glyphWidth:wt,glyphHeight:zt,glyphTop:ht,glyphLeft:0,glyphAdvance:R};if(wt===0||zt===0)return ln;let{ctx:Ge,buffer:$e,gridInner:st,gridOuter:dt}=this;Ge.clearRect($e,$e,wt,zt),Ge.fillText(Ne,$e,$e+ht);let St=Ge.getImageData($e,$e,wt,zt);dt.fill(P,0,vr),st.fill(0,0,vr);for(let xt=0;xt0?pr*pr:0,st[sr]=pr<0?pr*pr:0}}L(dt,0,0,Jt,hr,Jt,this.f,this.v,this.z),L(st,$e,$e,wt,zt,Jt,this.f,this.v,this.z);for(let xt=0;xt1&&(zt=R[++wt]);let hr=Math.abs(Jt-zt.left),vr=Math.abs(Jt-zt.right),Hr=Math.min(hr,vr),ln,Ge=Fe/be*(Ae+1);if(zt.isDash){let $e=Ae-Math.abs(Ge);ln=Math.sqrt(Hr*Hr+$e*$e)}else ln=Ae-Math.sqrt(Hr*Hr+Ge*Ge);this.data[ht+Jt]=Math.max(0,Math.min(255,ln+128))}}}addRegularDash(R){for(let wt=R.length-1;wt>=0;--wt){let zt=R[wt],Jt=R[wt+1];zt.zeroLength?R.splice(wt,1):Jt&&Jt.isDash===zt.isDash&&(Jt.left=zt.left,R.splice(wt,1))}let ne=R[0],be=R[R.length-1];ne.isDash===be.isDash&&(ne.left=be.left-this.width,be.right=ne.right+this.width);let Ae=this.width*this.nextRow,Fe=0,ht=R[Fe];for(let wt=0;wt1&&(ht=R[++Fe]);let zt=Math.abs(wt-ht.left),Jt=Math.abs(wt-ht.right),hr=Math.min(zt,Jt);this.data[Ae+wt]=Math.max(0,Math.min(255,(ht.isDash?hr:-hr)+128))}}addDash(R,ne){let be=ne?7:0,Ae=2*be+1;if(this.nextRow+Ae>this.height)return t.w(\"LineAtlas out of space\"),null;let Fe=0;for(let wt=0;wt{ne.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[Q]}numActive(){return Object.keys(this.active).length}}let se=Math.floor(i.hardwareConcurrency/2),fe,G;function $(){return fe||(fe=new le),fe}le.workerCount=t.C(globalThis)?Math.max(Math.min(se,3),1):1;class J{constructor(R,ne){this.workerPool=R,this.actors=[],this.currentActor=0,this.id=ne;let be=this.workerPool.acquire(ne);for(let Ae=0;Ae{ne.remove()}),this.actors=[],R&&this.workerPool.release(this.id)}registerMessageHandler(R,ne){for(let be of this.actors)be.registerMessageHandler(R,ne)}}function X(){return G||(G=new J($(),t.G),G.registerMessageHandler(\"GR\",(Ne,R,ne)=>t.m(R,ne))),G}function re(Ne,R){let ne=t.H();return t.J(ne,ne,[1,1,0]),t.K(ne,ne,[.5*Ne.width,.5*Ne.height,1]),t.L(ne,ne,Ne.calculatePosMatrix(R.toUnwrapped()))}function ae(Ne,R,ne,be,Ae,Fe){let ht=function(vr,Hr,ln){if(vr)for(let Ge of vr){let $e=Hr[Ge];if($e&&$e.source===ln&&$e.type===\"fill-extrusion\")return!0}else for(let Ge in Hr){let $e=Hr[Ge];if($e.source===ln&&$e.type===\"fill-extrusion\")return!0}return!1}(Ae&&Ae.layers,R,Ne.id),wt=Fe.maxPitchScaleFactor(),zt=Ne.tilesIn(be,wt,ht);zt.sort(j);let Jt=[];for(let vr of zt)Jt.push({wrappedTileID:vr.tileID.wrapped().key,queryResults:vr.tile.queryRenderedFeatures(R,ne,Ne._state,vr.queryGeometry,vr.cameraQueryGeometry,vr.scale,Ae,Fe,wt,re(Ne.transform,vr.tileID))});let hr=function(vr){let Hr={},ln={};for(let Ge of vr){let $e=Ge.queryResults,st=Ge.wrappedTileID,dt=ln[st]=ln[st]||{};for(let St in $e){let xt=$e[St],It=dt[St]=dt[St]||{},rr=Hr[St]=Hr[St]||[];for(let sr of xt)It[sr.featureIndex]||(It[sr.featureIndex]=!0,rr.push(sr))}}return Hr}(Jt);for(let vr in hr)hr[vr].forEach(Hr=>{let ln=Hr.feature,Ge=Ne.getFeatureState(ln.layer[\"source-layer\"],ln.id);ln.source=ln.layer.source,ln.layer[\"source-layer\"]&&(ln.sourceLayer=ln.layer[\"source-layer\"]),ln.state=Ge});return hr}function j(Ne,R){let ne=Ne.tileID,be=R.tileID;return ne.overscaledZ-be.overscaledZ||ne.canonical.y-be.canonical.y||ne.wrap-be.wrap||ne.canonical.x-be.canonical.x}function ee(Ne,R,ne){return t._(this,void 0,void 0,function*(){let be=Ne;if(Ne.url?be=(yield t.h(R.transformRequest(Ne.url,\"Source\"),ne)).data:yield i.frameAsync(ne),!be)return null;let Ae=t.M(t.e(be,Ne),[\"tiles\",\"minzoom\",\"maxzoom\",\"attribution\",\"bounds\",\"scheme\",\"tileSize\",\"encoding\"]);return\"vector_layers\"in be&&be.vector_layers&&(Ae.vectorLayerIds=be.vector_layers.map(Fe=>Fe.id)),Ae})}class ie{constructor(R,ne){R&&(ne?this.setSouthWest(R).setNorthEast(ne):Array.isArray(R)&&(R.length===4?this.setSouthWest([R[0],R[1]]).setNorthEast([R[2],R[3]]):this.setSouthWest(R[0]).setNorthEast(R[1])))}setNorthEast(R){return this._ne=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}setSouthWest(R){return this._sw=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}extend(R){let ne=this._sw,be=this._ne,Ae,Fe;if(R instanceof t.N)Ae=R,Fe=R;else{if(!(R instanceof ie))return Array.isArray(R)?R.length===4||R.every(Array.isArray)?this.extend(ie.convert(R)):this.extend(t.N.convert(R)):R&&(\"lng\"in R||\"lon\"in R)&&\"lat\"in R?this.extend(t.N.convert(R)):this;if(Ae=R._sw,Fe=R._ne,!Ae||!Fe)return this}return ne||be?(ne.lng=Math.min(Ae.lng,ne.lng),ne.lat=Math.min(Ae.lat,ne.lat),be.lng=Math.max(Fe.lng,be.lng),be.lat=Math.max(Fe.lat,be.lat)):(this._sw=new t.N(Ae.lng,Ae.lat),this._ne=new t.N(Fe.lng,Fe.lat)),this}getCenter(){return new t.N((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.N(this.getWest(),this.getNorth())}getSouthEast(){return new t.N(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(R){let{lng:ne,lat:be}=t.N.convert(R),Ae=this._sw.lng<=ne&&ne<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Ae=this._sw.lng>=ne&&ne>=this._ne.lng),this._sw.lat<=be&&be<=this._ne.lat&&Ae}static convert(R){return R instanceof ie?R:R&&new ie(R)}static fromLngLat(R,ne=0){let be=360*ne/40075017,Ae=be/Math.cos(Math.PI/180*R.lat);return new ie(new t.N(R.lng-Ae,R.lat-be),new t.N(R.lng+Ae,R.lat+be))}adjustAntiMeridian(){let R=new t.N(this._sw.lng,this._sw.lat),ne=new t.N(this._ne.lng,this._ne.lat);return new ie(R,R.lng>ne.lng?new t.N(ne.lng+360,ne.lat):ne)}}class ce{constructor(R,ne,be){this.bounds=ie.convert(this.validateBounds(R)),this.minzoom=ne||0,this.maxzoom=be||24}validateBounds(R){return Array.isArray(R)&&R.length===4?[Math.max(-180,R[0]),Math.max(-90,R[1]),Math.min(180,R[2]),Math.min(90,R[3])]:[-180,-90,180,90]}contains(R){let ne=Math.pow(2,R.z),be=Math.floor(t.O(this.bounds.getWest())*ne),Ae=Math.floor(t.Q(this.bounds.getNorth())*ne),Fe=Math.ceil(t.O(this.bounds.getEast())*ne),ht=Math.ceil(t.Q(this.bounds.getSouth())*ne);return R.x>=be&&R.x=Ae&&R.y{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}serialize(){return t.e({},this._options)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be={request:this.map._requestManager.transformRequest(ne,\"Tile\"),uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,tileSize:this.tileSize*R.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};be.request.collectResourceTiming=this._collectResourceTiming;let Ae=\"RT\";if(R.actor&&R.state!==\"expired\"){if(R.state===\"loading\")return new Promise((Fe,ht)=>{R.reloadPromise={resolve:Fe,reject:ht}})}else R.actor=this.dispatcher.getActor(),Ae=\"LT\";R.abortController=new AbortController;try{let Fe=yield R.actor.sendAsync({type:Ae,data:be},R.abortController);if(delete R.abortController,R.aborted)return;this._afterTileLoadWorkerResponse(R,Fe)}catch(Fe){if(delete R.abortController,R.aborted)return;if(Fe&&Fe.status!==404)throw Fe;this._afterTileLoadWorkerResponse(R,null)}})}_afterTileLoadWorkerResponse(R,ne){if(ne&&ne.resourceTiming&&(R.resourceTiming=ne.resourceTiming),ne&&this.map._refreshExpiredTiles&&R.setExpiryData(ne),R.loadVectorData(ne,this.map.painter),R.reloadPromise){let be=R.reloadPromise;R.reloadPromise=null,this.loadTile(R).then(be.resolve).catch(be.reject)}}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.actor&&(yield R.actor.sendAsync({type:\"AT\",data:{uid:R.uid,type:this.type,source:this.id}}))})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),R.actor&&(yield R.actor.sendAsync({type:\"RMT\",data:{uid:R.uid,type:this.type,source:this.id}}))})}hasTransition(){return!1}}class Te extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.setEventedParent(Ae),this.type=\"raster\",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme=\"xyz\",this.tileSize=512,this._loaded=!1,this._options=t.e({type:\"raster\"},ne),t.e(this,t.M(ne,[\"url\",\"scheme\",\"tileSize\"]))}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k(\"dataloading\",{dataType:\"source\"})),this._tileJSONRequest=new AbortController;try{let R=yield ee(this._options,this.map._requestManager,this._tileJSONRequest);this._tileJSONRequest=null,this._loaded=!0,R&&(t.e(this,R),R.bounds&&(this.tileBounds=new ce(R.bounds,this.minzoom,this.maxzoom)),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"content\"})))}catch(R){this._tileJSONRequest=null,this.fire(new t.j(R))}})}loaded(){return this._loaded}onAdd(R){this.map=R,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}setSourceProperty(R){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),R(),this.load()}setTiles(R){return this.setSourceProperty(()=>{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}serialize(){return t.e({},this._options)}hasTile(R){return!this.tileBounds||this.tileBounds.contains(R.canonical)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);R.abortController=new AbortController;try{let be=yield l.getImage(this.map._requestManager.transformRequest(ne,\"Tile\"),R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state=\"unloaded\");if(be&&be.data){this.map._refreshExpiredTiles&&be.cacheControl&&be.expires&&R.setExpiryData({cacheControl:be.cacheControl,expires:be.expires});let Ae=this.map.painter.context,Fe=Ae.gl,ht=be.data;R.texture=this.map.painter.getTileTexture(ht.width),R.texture?R.texture.update(ht,{useMipmap:!0}):(R.texture=new u(Ae,ht,Fe.RGBA,{useMipmap:!0}),R.texture.bind(Fe.LINEAR,Fe.CLAMP_TO_EDGE,Fe.LINEAR_MIPMAP_NEAREST)),R.state=\"loaded\"}}catch(be){if(delete R.abortController,R.aborted)R.state=\"unloaded\";else if(be)throw R.state=\"errored\",be}})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController)})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.texture&&this.map.painter.saveTileTexture(R.texture)})}hasTransition(){return!1}}class Ue extends Te{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.type=\"raster-dem\",this.maxzoom=22,this._options=t.e({type:\"raster-dem\"},ne),this.encoding=ne.encoding||\"mapbox\",this.redFactor=ne.redFactor,this.greenFactor=ne.greenFactor,this.blueFactor=ne.blueFactor,this.baseShift=ne.baseShift}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be=this.map._requestManager.transformRequest(ne,\"Tile\");R.neighboringTiles=this._getNeighboringTiles(R.tileID),R.abortController=new AbortController;try{let Ae=yield l.getImage(be,R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state=\"unloaded\");if(Ae&&Ae.data){let Fe=Ae.data;this.map._refreshExpiredTiles&&Ae.cacheControl&&Ae.expires&&R.setExpiryData({cacheControl:Ae.cacheControl,expires:Ae.expires});let ht=t.b(Fe)&&t.U()?Fe:yield this.readImageNow(Fe),wt={type:this.type,uid:R.uid,source:this.id,rawImageData:ht,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(!R.actor||R.state===\"expired\"){R.actor=this.dispatcher.getActor();let zt=yield R.actor.sendAsync({type:\"LDT\",data:wt});R.dem=zt,R.needsHillshadePrepare=!0,R.needsTerrainPrepare=!0,R.state=\"loaded\"}}}catch(Ae){if(delete R.abortController,R.aborted)R.state=\"unloaded\";else if(Ae)throw R.state=\"errored\",Ae}})}readImageNow(R){return t._(this,void 0,void 0,function*(){if(typeof VideoFrame<\"u\"&&t.V()){let ne=R.width+2,be=R.height+2;try{return new t.R({width:ne,height:be},yield t.W(R,-1,-1,ne,be))}catch{}}return i.getImageData(R,1)})}_getNeighboringTiles(R){let ne=R.canonical,be=Math.pow(2,ne.z),Ae=(ne.x-1+be)%be,Fe=ne.x===0?R.wrap-1:R.wrap,ht=(ne.x+1+be)%be,wt=ne.x+1===be?R.wrap+1:R.wrap,zt={};return zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y).key]={backfilled:!1},ne.y>0&&(zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,R.wrap,ne.z,ne.x,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y-1).key]={backfilled:!1}),ne.y+10&&t.e(Fe,{resourceTiming:Ae}),this.fire(new t.k(\"data\",Object.assign(Object.assign({},Fe),{sourceDataType:\"metadata\"}))),this.fire(new t.k(\"data\",Object.assign(Object.assign({},Fe),{sourceDataType:\"content\"})))}catch(be){if(this._pendingLoads--,this._removed)return void this.fire(new t.k(\"dataabort\",{dataType:\"source\"}));this.fire(new t.j(be))}})}loaded(){return this._pendingLoads===0}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.actor?\"RT\":\"LT\";R.actor=this.actor;let be={type:this.type,uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};R.abortController=new AbortController;let Ae=yield this.actor.sendAsync({type:ne,data:be},R.abortController);delete R.abortController,R.unloadVectorData(),R.aborted||R.loadVectorData(Ae,this.map.painter,ne===\"RT\")})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.aborted=!0})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),yield this.actor.sendAsync({type:\"RMT\",data:{uid:R.uid,type:this.type,source:this.id}})})}onRemove(){this._removed=!0,this.actor.sendAsync({type:\"RS\",data:{type:this.type,source:this.id}})}serialize(){return t.e({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var Ye=t.Y([{name:\"a_pos\",type:\"Int16\",components:2},{name:\"a_texture_pos\",type:\"Int16\",components:2}]);class it extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.coordinates=ne.coordinates,this.type=\"image\",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ae),this.options=ne}load(R){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k(\"dataloading\",{dataType:\"source\"})),this.url=this.options.url,this._request=new AbortController;try{let ne=yield l.getImage(this.map._requestManager.transformRequest(this.url,\"Image\"),this._request);this._request=null,this._loaded=!0,ne&&ne.data&&(this.image=ne.data,R&&(this.coordinates=R),this._finishLoading())}catch(ne){this._request=null,this._loaded=!0,this.fire(new t.j(ne))}})}loaded(){return this._loaded}updateImage(R){return R.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=R.url,this.load(R.coordinates).finally(()=>{this.texture=null}),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})))}onAdd(R){this.map=R,this.load()}onRemove(){this._request&&(this._request.abort(),this._request=null)}setCoordinates(R){this.coordinates=R;let ne=R.map(t.Z.fromLngLat);this.tileID=function(Ae){let Fe=1/0,ht=1/0,wt=-1/0,zt=-1/0;for(let Hr of Ae)Fe=Math.min(Fe,Hr.x),ht=Math.min(ht,Hr.y),wt=Math.max(wt,Hr.x),zt=Math.max(zt,Hr.y);let Jt=Math.max(wt-Fe,zt-ht),hr=Math.max(0,Math.floor(-Math.log(Jt)/Math.LN2)),vr=Math.pow(2,hr);return new t.a1(hr,Math.floor((Fe+wt)/2*vr),Math.floor((ht+zt)/2*vr))}(ne),this.minzoom=this.maxzoom=this.tileID.z;let be=ne.map(Ae=>this.tileID.getTilePoint(Ae)._round());return this._boundsArray=new t.$,this._boundsArray.emplaceBack(be[0].x,be[0].y,0,0),this._boundsArray.emplaceBack(be[1].x,be[1].y,t.X,0),this._boundsArray.emplaceBack(be[3].x,be[3].y,0,t.X),this._boundsArray.emplaceBack(be[2].x,be[2].y,t.X,t.X),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"content\"})),this}prepare(){if(Object.keys(this.tiles).length===0||!this.image)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture||(this.texture=new u(R,this.image,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!==\"loaded\"&&(Fe.state=\"loaded\",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}loadTile(R){return t._(this,void 0,void 0,function*(){this.tileID&&this.tileID.equals(R.tileID.canonical)?(this.tiles[String(R.tileID.wrap)]=R,R.buckets={}):R.state=\"errored\"})}serialize(){return{type:\"image\",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class at extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.roundZoom=!0,this.type=\"video\",this.options=ne}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1;let R=this.options;this.urls=[];for(let ne of R.urls)this.urls.push(this.map._requestManager.transformRequest(ne,\"Source\").url);try{let ne=yield t.a3(this.urls);if(this._loaded=!0,!ne)return;this.video=ne,this.video.loop=!0,this.video.addEventListener(\"playing\",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading()}catch(ne){this.fire(new t.j(ne))}})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(R){if(this.video){let ne=this.video.seekable;Rne.end(0)?this.fire(new t.j(new t.a2(`sources.${this.id}`,null,`Playback for this video can be set only between the ${ne.start(0)} and ${ne.end(0)}-second mark.`))):this.video.currentTime=R}}getVideo(){return this.video}onAdd(R){this.map||(this.map=R,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(Object.keys(this.tiles).length===0||this.video.readyState<2)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE),ne.texSubImage2D(ne.TEXTURE_2D,0,0,0,ne.RGBA,ne.UNSIGNED_BYTE,this.video)):(this.texture=new u(R,this.video,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!==\"loaded\"&&(Fe.state=\"loaded\",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}serialize(){return{type:\"video\",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class tt extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),ne.coordinates?Array.isArray(ne.coordinates)&&ne.coordinates.length===4&&!ne.coordinates.some(Fe=>!Array.isArray(Fe)||Fe.length!==2||Fe.some(ht=>typeof ht!=\"number\"))||this.fire(new t.j(new t.a2(`sources.${R}`,null,'\"coordinates\" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property \"coordinates\"'))),ne.animate&&typeof ne.animate!=\"boolean\"&&this.fire(new t.j(new t.a2(`sources.${R}`,null,'optional \"animate\" property must be a boolean value'))),ne.canvas?typeof ne.canvas==\"string\"||ne.canvas instanceof HTMLCanvasElement||this.fire(new t.j(new t.a2(`sources.${R}`,null,'\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property \"canvas\"'))),this.options=ne,this.animate=ne.animate===void 0||ne.animate}load(){return t._(this,void 0,void 0,function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.j(new Error(\"Canvas dimensions cannot be less than or equal to zero.\"))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())})}getCanvas(){return this.canvas}onAdd(R){this.map=R,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let R=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,R=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,R=!0),this._hasInvalidDimensions()||Object.keys(this.tiles).length===0)return;let ne=this.map.painter.context,be=ne.gl;this.boundsBuffer||(this.boundsBuffer=ne.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?(R||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new u(ne,this.canvas,be.RGBA,{premultiply:!0});let Ae=!1;for(let Fe in this.tiles){let ht=this.tiles[Fe];ht.state!==\"loaded\"&&(ht.state=\"loaded\",ht.texture=this.texture,Ae=!0)}Ae&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}serialize(){return{type:\"canvas\",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(let R of[this.canvas.width,this.canvas.height])if(isNaN(R)||R<=0)return!0;return!1}}let ut={},Me=Ne=>{switch(Ne){case\"geojson\":return Ie;case\"image\":return it;case\"raster\":return Te;case\"raster-dem\":return Ue;case\"vector\":return xe;case\"video\":return at;case\"canvas\":return tt}return ut[Ne]},pe=\"RTLPluginLoaded\";class ue extends t.E{constructor(){super(...arguments),this.status=\"unavailable\",this.url=null,this.dispatcher=X()}_syncState(R){return this.status=R,this.dispatcher.broadcast(\"SRPS\",{pluginStatus:R,pluginURL:this.url}).catch(ne=>{throw this.status=\"error\",ne})}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status=\"unavailable\",this.url=null}setRTLTextPlugin(R){return t._(this,arguments,void 0,function*(ne,be=!1){if(this.url)throw new Error(\"setRTLTextPlugin cannot be called multiple times.\");if(this.url=i.resolveURL(ne),!this.url)throw new Error(`requested url ${ne} is invalid`);if(this.status===\"unavailable\"){if(!be)return this._requestImport();this.status=\"deferred\",this._syncState(this.status)}else if(this.status===\"requested\")return this._requestImport()})}_requestImport(){return t._(this,void 0,void 0,function*(){yield this._syncState(\"loading\"),this.status=\"loaded\",this.fire(new t.k(pe))})}lazyLoad(){this.status===\"unavailable\"?this.status=\"requested\":this.status===\"deferred\"&&this._requestImport()}}let Oe=null;function rt(){return Oe||(Oe=new ue),Oe}class ot{constructor(R,ne){this.timeAdded=0,this.fadeEndTime=0,this.tileID=R,this.uid=t.a4(),this.uses=0,this.tileSize=ne,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttCoords={},this.expiredRequestCount=0,this.state=\"loading\"}registerFadeDuration(R){let ne=R+this.timeAdded;neFe.getLayer(Jt)).filter(Boolean);if(zt.length!==0){wt.layers=zt,wt.stateDependentLayerIds&&(wt.stateDependentLayers=wt.stateDependentLayerIds.map(Jt=>zt.filter(hr=>hr.id===Jt)[0]));for(let Jt of zt)ht[Jt.id]=wt}}return ht}(R.buckets,ne.style),this.hasSymbolBuckets=!1;for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6){if(this.hasSymbolBuckets=!0,!be)break;Fe.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6&&Fe.hasRTLText){this.hasRTLText=!0,rt().lazyLoad();break}}this.queryPadding=0;for(let Ae in this.buckets){let Fe=this.buckets[Ae];this.queryPadding=Math.max(this.queryPadding,ne.style.getLayer(Ae).queryRadius(Fe))}R.imageAtlas&&(this.imageAtlas=R.imageAtlas),R.glyphAtlasImage&&(this.glyphAtlasImage=R.glyphAtlasImage)}else this.collisionBoxArray=new t.a5}unloadVectorData(){for(let R in this.buckets)this.buckets[R].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state=\"unloaded\"}getBucket(R){return this.buckets[R.id]}upload(R){for(let be in this.buckets){let Ae=this.buckets[be];Ae.uploadPending()&&Ae.upload(R)}let ne=R.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new u(R,this.imageAtlas.image,ne.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new u(R,this.glyphAtlasImage,ne.ALPHA),this.glyphAtlasImage=null)}prepare(R){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(R,this.imageAtlasTexture)}queryRenderedFeatures(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:Ae,cameraQueryGeometry:Fe,scale:ht,tileSize:this.tileSize,pixelPosMatrix:hr,transform:zt,params:wt,queryPadding:this.queryPadding*Jt},R,ne,be):{}}querySourceFeatures(R,ne){let be=this.latestFeatureIndex;if(!be||!be.rawTileData)return;let Ae=be.loadVTLayers(),Fe=ne&&ne.sourceLayer?ne.sourceLayer:\"\",ht=Ae._geojsonTileLayer||Ae[Fe];if(!ht)return;let wt=t.a7(ne&&ne.filter),{z:zt,x:Jt,y:hr}=this.tileID.canonical,vr={z:zt,x:Jt,y:hr};for(let Hr=0;Hrbe)Ae=!1;else if(ne)if(this.expirationTime{this.remove(R,Fe)},be)),this.data[Ae].push(Fe),this.order.push(Ae),this.order.length>this.max){let ht=this._getAndRemoveByKey(this.order[0]);ht&&this.onRemove(ht)}return this}has(R){return R.wrapped().key in this.data}getAndRemove(R){return this.has(R)?this._getAndRemoveByKey(R.wrapped().key):null}_getAndRemoveByKey(R){let ne=this.data[R].shift();return ne.timeout&&clearTimeout(ne.timeout),this.data[R].length===0&&delete this.data[R],this.order.splice(this.order.indexOf(R),1),ne.value}getByKey(R){let ne=this.data[R];return ne?ne[0].value:null}get(R){return this.has(R)?this.data[R.wrapped().key][0].value:null}remove(R,ne){if(!this.has(R))return this;let be=R.wrapped().key,Ae=ne===void 0?0:this.data[be].indexOf(ne),Fe=this.data[be][Ae];return this.data[be].splice(Ae,1),Fe.timeout&&clearTimeout(Fe.timeout),this.data[be].length===0&&delete this.data[be],this.onRemove(Fe.value),this.order.splice(this.order.indexOf(be),1),this}setMaxSize(R){for(this.max=R;this.order.length>this.max;){let ne=this._getAndRemoveByKey(this.order[0]);ne&&this.onRemove(ne)}return this}filter(R){let ne=[];for(let be in this.data)for(let Ae of this.data[be])R(Ae.value)||ne.push(Ae);for(let be of ne)this.remove(be.value.tileID,be)}}class Lt{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(R,ne,be){let Ae=String(ne);if(this.stateChanges[R]=this.stateChanges[R]||{},this.stateChanges[R][Ae]=this.stateChanges[R][Ae]||{},t.e(this.stateChanges[R][Ae],be),this.deletedStates[R]===null){this.deletedStates[R]={};for(let Fe in this.state[R])Fe!==Ae&&(this.deletedStates[R][Fe]=null)}else if(this.deletedStates[R]&&this.deletedStates[R][Ae]===null){this.deletedStates[R][Ae]={};for(let Fe in this.state[R][Ae])be[Fe]||(this.deletedStates[R][Ae][Fe]=null)}else for(let Fe in be)this.deletedStates[R]&&this.deletedStates[R][Ae]&&this.deletedStates[R][Ae][Fe]===null&&delete this.deletedStates[R][Ae][Fe]}removeFeatureState(R,ne,be){if(this.deletedStates[R]===null)return;let Ae=String(ne);if(this.deletedStates[R]=this.deletedStates[R]||{},be&&ne!==void 0)this.deletedStates[R][Ae]!==null&&(this.deletedStates[R][Ae]=this.deletedStates[R][Ae]||{},this.deletedStates[R][Ae][be]=null);else if(ne!==void 0)if(this.stateChanges[R]&&this.stateChanges[R][Ae])for(be in this.deletedStates[R][Ae]={},this.stateChanges[R][Ae])this.deletedStates[R][Ae][be]=null;else this.deletedStates[R][Ae]=null;else this.deletedStates[R]=null}getState(R,ne){let be=String(ne),Ae=t.e({},(this.state[R]||{})[be],(this.stateChanges[R]||{})[be]);if(this.deletedStates[R]===null)return{};if(this.deletedStates[R]){let Fe=this.deletedStates[R][ne];if(Fe===null)return{};for(let ht in Fe)delete Ae[ht]}return Ae}initializeTileState(R,ne){R.setFeatureState(this.state,ne)}coalesceChanges(R,ne){let be={};for(let Ae in this.stateChanges){this.state[Ae]=this.state[Ae]||{};let Fe={};for(let ht in this.stateChanges[Ae])this.state[Ae][ht]||(this.state[Ae][ht]={}),t.e(this.state[Ae][ht],this.stateChanges[Ae][ht]),Fe[ht]=this.state[Ae][ht];be[Ae]=Fe}for(let Ae in this.deletedStates){this.state[Ae]=this.state[Ae]||{};let Fe={};if(this.deletedStates[Ae]===null)for(let ht in this.state[Ae])Fe[ht]={},this.state[Ae][ht]={};else for(let ht in this.deletedStates[Ae]){if(this.deletedStates[Ae][ht]===null)this.state[Ae][ht]={};else for(let wt of Object.keys(this.deletedStates[Ae][ht]))delete this.state[Ae][ht][wt];Fe[ht]=this.state[Ae][ht]}be[Ae]=be[Ae]||{},t.e(be[Ae],Fe)}if(this.stateChanges={},this.deletedStates={},Object.keys(be).length!==0)for(let Ae in R)R[Ae].setFeatureState(be,ne)}}class Et extends t.E{constructor(R,ne,be){super(),this.id=R,this.dispatcher=be,this.on(\"data\",Ae=>this._dataHandler(Ae)),this.on(\"dataloading\",()=>{this._sourceErrored=!1}),this.on(\"error\",()=>{this._sourceErrored=this._source.loaded()}),this._source=((Ae,Fe,ht,wt)=>{let zt=new(Me(Fe.type))(Ae,Fe,ht,wt);if(zt.id!==Ae)throw new Error(`Expected Source id to be ${Ae} instead of ${zt.id}`);return zt})(R,ne,be,this),this._tiles={},this._cache=new et(0,Ae=>this._unloadTile(Ae)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new Lt,this._didEmitContent=!1,this._updated=!1}onAdd(R){this.map=R,this._maxTileCacheSize=R?R._maxTileCacheSize:null,this._maxTileCacheZoomLevels=R?R._maxTileCacheZoomLevels:null,this._source&&this._source.onAdd&&this._source.onAdd(R)}onRemove(R){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(R)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;if(!(this.used===void 0&&this.usedForTerrain===void 0||this.used||this.usedForTerrain))return!0;if(!this._updated)return!1;for(let R in this._tiles){let ne=this._tiles[R];if(ne.state!==\"loaded\"&&ne.state!==\"errored\")return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;let R=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,R&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(R,ne,be){return t._(this,void 0,void 0,function*(){try{yield this._source.loadTile(R),this._tileLoaded(R,ne,be)}catch(Ae){R.state=\"errored\",Ae.status!==404?this._source.fire(new t.j(Ae,{tile:R})):this.update(this.transform,this.terrain)}})}_unloadTile(R){this._source.unloadTile&&this._source.unloadTile(R)}_abortTile(R){this._source.abortTile&&this._source.abortTile(R),this._source.fire(new t.k(\"dataabort\",{tile:R,coord:R.tileID,dataType:\"source\"}))}serialize(){return this._source.serialize()}prepare(R){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(let ne in this._tiles){let be=this._tiles[ne];be.upload(R),be.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map(R=>R.tileID).sort(Bt).map(R=>R.key)}getRenderableIds(R){let ne=[];for(let be in this._tiles)this._isIdRenderable(be,R)&&ne.push(this._tiles[be]);return R?ne.sort((be,Ae)=>{let Fe=be.tileID,ht=Ae.tileID,wt=new t.P(Fe.canonical.x,Fe.canonical.y)._rotate(this.transform.angle),zt=new t.P(ht.canonical.x,ht.canonical.y)._rotate(this.transform.angle);return Fe.overscaledZ-ht.overscaledZ||zt.y-wt.y||zt.x-wt.x}).map(be=>be.tileID.key):ne.map(be=>be.tileID).sort(Bt).map(be=>be.key)}hasRenderableParent(R){let ne=this.findLoadedParent(R,0);return!!ne&&this._isIdRenderable(ne.tileID.key)}_isIdRenderable(R,ne){return this._tiles[R]&&this._tiles[R].hasData()&&!this._coveredTiles[R]&&(ne||!this._tiles[R].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(let R in this._tiles)this._tiles[R].state!==\"errored\"&&this._reloadTile(R,\"reloading\")}}_reloadTile(R,ne){return t._(this,void 0,void 0,function*(){let be=this._tiles[R];be&&(be.state!==\"loading\"&&(be.state=ne),yield this._loadTile(be,R,ne))})}_tileLoaded(R,ne,be){R.timeAdded=i.now(),be===\"expired\"&&(R.refreshedUponExpiration=!0),this._setTileReloadTimer(ne,R),this.getSource().type===\"raster-dem\"&&R.dem&&this._backfillDEM(R),this._state.initializeTileState(R,this.map?this.map.painter:null),R.aborted||this._source.fire(new t.k(\"data\",{dataType:\"source\",tile:R,coord:R.tileID}))}_backfillDEM(R){let ne=this.getRenderableIds();for(let Ae=0;Ae1||(Math.abs(ht)>1&&(Math.abs(ht+zt)===1?ht+=zt:Math.abs(ht-zt)===1&&(ht-=zt)),Fe.dem&&Ae.dem&&(Ae.dem.backfillBorder(Fe.dem,ht,wt),Ae.neighboringTiles&&Ae.neighboringTiles[Jt]&&(Ae.neighboringTiles[Jt].backfilled=!0)))}}getTile(R){return this.getTileByID(R.key)}getTileByID(R){return this._tiles[R]}_retainLoadedChildren(R,ne,be,Ae){for(let Fe in this._tiles){let ht=this._tiles[Fe];if(Ae[Fe]||!ht.hasData()||ht.tileID.overscaledZ<=ne||ht.tileID.overscaledZ>be)continue;let wt=ht.tileID;for(;ht&&ht.tileID.overscaledZ>ne+1;){let Jt=ht.tileID.scaledTo(ht.tileID.overscaledZ-1);ht=this._tiles[Jt.key],ht&&ht.hasData()&&(wt=Jt)}let zt=wt;for(;zt.overscaledZ>ne;)if(zt=zt.scaledTo(zt.overscaledZ-1),R[zt.key]){Ae[wt.key]=wt;break}}}findLoadedParent(R,ne){if(R.key in this._loadedParentTiles){let be=this._loadedParentTiles[R.key];return be&&be.tileID.overscaledZ>=ne?be:null}for(let be=R.overscaledZ-1;be>=ne;be--){let Ae=R.scaledTo(be),Fe=this._getLoadedTile(Ae);if(Fe)return Fe}}findLoadedSibling(R){return this._getLoadedTile(R)}_getLoadedTile(R){let ne=this._tiles[R.key];return ne&&ne.hasData()?ne:this._cache.getByKey(R.wrapped().key)}updateCacheSize(R){let ne=Math.ceil(R.width/this._source.tileSize)+1,be=Math.ceil(R.height/this._source.tileSize)+1,Ae=Math.floor(ne*be*(this._maxTileCacheZoomLevels===null?t.a.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),Fe=typeof this._maxTileCacheSize==\"number\"?Math.min(this._maxTileCacheSize,Ae):Ae;this._cache.setMaxSize(Fe)}handleWrapJump(R){let ne=Math.round((R-(this._prevLng===void 0?R:this._prevLng))/360);if(this._prevLng=R,ne){let be={};for(let Ae in this._tiles){let Fe=this._tiles[Ae];Fe.tileID=Fe.tileID.unwrapTo(Fe.tileID.wrap+ne),be[Fe.tileID.key]=Fe}this._tiles=be;for(let Ae in this._timers)clearTimeout(this._timers[Ae]),delete this._timers[Ae];for(let Ae in this._tiles)this._setTileReloadTimer(Ae,this._tiles[Ae])}}_updateCoveredAndRetainedTiles(R,ne,be,Ae,Fe,ht){let wt={},zt={},Jt=Object.keys(R),hr=i.now();for(let vr of Jt){let Hr=R[vr],ln=this._tiles[vr];if(!ln||ln.fadeEndTime!==0&&ln.fadeEndTime<=hr)continue;let Ge=this.findLoadedParent(Hr,ne),$e=this.findLoadedSibling(Hr),st=Ge||$e||null;st&&(this._addTile(st.tileID),wt[st.tileID.key]=st.tileID),zt[vr]=Hr}this._retainLoadedChildren(zt,Ae,be,R);for(let vr in wt)R[vr]||(this._coveredTiles[vr]=!0,R[vr]=wt[vr]);if(ht){let vr={},Hr={};for(let ln of Fe)this._tiles[ln.key].hasData()?vr[ln.key]=ln:Hr[ln.key]=ln;for(let ln in Hr){let Ge=Hr[ln].children(this._source.maxzoom);this._tiles[Ge[0].key]&&this._tiles[Ge[1].key]&&this._tiles[Ge[2].key]&&this._tiles[Ge[3].key]&&(vr[Ge[0].key]=R[Ge[0].key]=Ge[0],vr[Ge[1].key]=R[Ge[1].key]=Ge[1],vr[Ge[2].key]=R[Ge[2].key]=Ge[2],vr[Ge[3].key]=R[Ge[3].key]=Ge[3],delete Hr[ln])}for(let ln in Hr){let Ge=Hr[ln],$e=this.findLoadedParent(Ge,this._source.minzoom),st=this.findLoadedSibling(Ge),dt=$e||st||null;if(dt){vr[dt.tileID.key]=R[dt.tileID.key]=dt.tileID;for(let St in vr)vr[St].isChildOf(dt.tileID)&&delete vr[St]}}for(let ln in this._tiles)vr[ln]||(this._coveredTiles[ln]=!0)}}update(R,ne){if(!this._sourceLoaded||this._paused)return;let be;this.transform=R,this.terrain=ne,this.updateCacheSize(R),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?be=R.getVisibleUnwrappedCoordinates(this._source.tileID).map(hr=>new t.S(hr.canonical.z,hr.wrap,hr.canonical.z,hr.canonical.x,hr.canonical.y)):(be=R.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:ne}),this._source.hasTile&&(be=be.filter(hr=>this._source.hasTile(hr)))):be=[];let Ae=R.coveringZoomLevel(this._source),Fe=Math.max(Ae-Et.maxOverzooming,this._source.minzoom),ht=Math.max(Ae+Et.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){let hr={};for(let vr of be)if(vr.canonical.z>this._source.minzoom){let Hr=vr.scaledTo(vr.canonical.z-1);hr[Hr.key]=Hr;let ln=vr.scaledTo(Math.max(this._source.minzoom,Math.min(vr.canonical.z,5)));hr[ln.key]=ln}be=be.concat(Object.values(hr))}let wt=be.length===0&&!this._updated&&this._didEmitContent;this._updated=!0,wt&&this.fire(new t.k(\"data\",{sourceDataType:\"idle\",dataType:\"source\",sourceId:this.id}));let zt=this._updateRetainedTiles(be,Ae);qt(this._source.type)&&this._updateCoveredAndRetainedTiles(zt,Fe,ht,Ae,be,ne);for(let hr in zt)this._tiles[hr].clearFadeHold();let Jt=t.ab(this._tiles,zt);for(let hr of Jt){let vr=this._tiles[hr];vr.hasSymbolBuckets&&!vr.holdingForFade()?vr.setHoldDuration(this.map._fadeDuration):vr.hasSymbolBuckets&&!vr.symbolFadeFinished()||this._removeTile(hr)}this._updateLoadedParentTileCache(),this._updateLoadedSiblingTileCache()}releaseSymbolFadeTiles(){for(let R in this._tiles)this._tiles[R].holdingForFade()&&this._removeTile(R)}_updateRetainedTiles(R,ne){var be;let Ae={},Fe={},ht=Math.max(ne-Et.maxOverzooming,this._source.minzoom),wt=Math.max(ne+Et.maxUnderzooming,this._source.minzoom),zt={};for(let Jt of R){let hr=this._addTile(Jt);Ae[Jt.key]=Jt,hr.hasData()||nethis._source.maxzoom){let Hr=Jt.children(this._source.maxzoom)[0],ln=this.getTile(Hr);if(ln&&ln.hasData()){Ae[Hr.key]=Hr;continue}}else{let Hr=Jt.children(this._source.maxzoom);if(Ae[Hr[0].key]&&Ae[Hr[1].key]&&Ae[Hr[2].key]&&Ae[Hr[3].key])continue}let vr=hr.wasRequested();for(let Hr=Jt.overscaledZ-1;Hr>=ht;--Hr){let ln=Jt.scaledTo(Hr);if(Fe[ln.key])break;if(Fe[ln.key]=!0,hr=this.getTile(ln),!hr&&vr&&(hr=this._addTile(ln)),hr){let Ge=hr.hasData();if((Ge||!(!((be=this.map)===null||be===void 0)&&be.cancelPendingTileRequestsWhileZooming)||vr)&&(Ae[ln.key]=ln),vr=hr.wasRequested(),Ge)break}}}return Ae}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(let R in this._tiles){let ne=[],be,Ae=this._tiles[R].tileID;for(;Ae.overscaledZ>0;){if(Ae.key in this._loadedParentTiles){be=this._loadedParentTiles[Ae.key];break}ne.push(Ae.key);let Fe=Ae.scaledTo(Ae.overscaledZ-1);if(be=this._getLoadedTile(Fe),be)break;Ae=Fe}for(let Fe of ne)this._loadedParentTiles[Fe]=be}}_updateLoadedSiblingTileCache(){this._loadedSiblingTiles={};for(let R in this._tiles){let ne=this._tiles[R].tileID,be=this._getLoadedTile(ne);this._loadedSiblingTiles[ne.key]=be}}_addTile(R){let ne=this._tiles[R.key];if(ne)return ne;ne=this._cache.getAndRemove(R),ne&&(this._setTileReloadTimer(R.key,ne),ne.tileID=R,this._state.initializeTileState(ne,this.map?this.map.painter:null),this._cacheTimers[R.key]&&(clearTimeout(this._cacheTimers[R.key]),delete this._cacheTimers[R.key],this._setTileReloadTimer(R.key,ne)));let be=ne;return ne||(ne=new ot(R,this._source.tileSize*R.overscaleFactor()),this._loadTile(ne,R.key,ne.state)),ne.uses++,this._tiles[R.key]=ne,be||this._source.fire(new t.k(\"dataloading\",{tile:ne,coord:ne.tileID,dataType:\"source\"})),ne}_setTileReloadTimer(R,ne){R in this._timers&&(clearTimeout(this._timers[R]),delete this._timers[R]);let be=ne.getExpiryTimeout();be&&(this._timers[R]=setTimeout(()=>{this._reloadTile(R,\"expired\"),delete this._timers[R]},be))}_removeTile(R){let ne=this._tiles[R];ne&&(ne.uses--,delete this._tiles[R],this._timers[R]&&(clearTimeout(this._timers[R]),delete this._timers[R]),ne.uses>0||(ne.hasData()&&ne.state!==\"reloading\"?this._cache.add(ne.tileID,ne,ne.getExpiryTimeout()):(ne.aborted=!0,this._abortTile(ne),this._unloadTile(ne))))}_dataHandler(R){let ne=R.sourceDataType;R.dataType===\"source\"&&ne===\"metadata\"&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&R.dataType===\"source\"&&ne===\"content\"&&(this.reload(),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0)}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(let R in this._tiles)this._removeTile(R);this._cache.reset()}tilesIn(R,ne,be){let Ae=[],Fe=this.transform;if(!Fe)return Ae;let ht=be?Fe.getCameraQueryGeometry(R):R,wt=R.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),zt=ht.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),Jt=this.getIds(),hr=1/0,vr=1/0,Hr=-1/0,ln=-1/0;for(let Ge of zt)hr=Math.min(hr,Ge.x),vr=Math.min(vr,Ge.y),Hr=Math.max(Hr,Ge.x),ln=Math.max(ln,Ge.y);for(let Ge=0;Ge=0&&xt[1].y+St>=0){let It=wt.map(sr=>st.getTilePoint(sr)),rr=zt.map(sr=>st.getTilePoint(sr));Ae.push({tile:$e,tileID:st,queryGeometry:It,cameraQueryGeometry:rr,scale:dt})}}return Ae}getVisibleCoordinates(R){let ne=this.getRenderableIds(R).map(be=>this._tiles[be].tileID);for(let be of ne)be.posMatrix=this.transform.calculatePosMatrix(be.toUnwrapped());return ne}hasTransition(){if(this._source.hasTransition())return!0;if(qt(this._source.type)){let R=i.now();for(let ne in this._tiles)if(this._tiles[ne].fadeEndTime>=R)return!0}return!1}setFeatureState(R,ne,be){this._state.updateState(R=R||\"_geojsonTileLayer\",ne,be)}removeFeatureState(R,ne,be){this._state.removeFeatureState(R=R||\"_geojsonTileLayer\",ne,be)}getFeatureState(R,ne){return this._state.getState(R=R||\"_geojsonTileLayer\",ne)}setDependencies(R,ne,be){let Ae=this._tiles[R];Ae&&Ae.setDependencies(ne,be)}reloadTilesForDependencies(R,ne){for(let be in this._tiles)this._tiles[be].hasDependency(R,ne)&&this._reloadTile(be,\"reloading\");this._cache.filter(be=>!be.hasDependency(R,ne))}}function Bt(Ne,R){let ne=Math.abs(2*Ne.wrap)-+(Ne.wrap<0),be=Math.abs(2*R.wrap)-+(R.wrap<0);return Ne.overscaledZ-R.overscaledZ||be-ne||R.canonical.y-Ne.canonical.y||R.canonical.x-Ne.canonical.x}function qt(Ne){return Ne===\"raster\"||Ne===\"image\"||Ne===\"video\"}Et.maxOverzooming=10,Et.maxUnderzooming=3;class fr{constructor(R,ne){this.reset(R,ne)}reset(R,ne){this.points=R||[],this._distances=[0];for(let be=1;be0?(Ae-ht)/wt:0;return this.points[Fe].mult(1-zt).add(this.points[ne].mult(zt))}}function ar(Ne,R){let ne=!0;return Ne===\"always\"||Ne!==\"never\"&&R!==\"never\"||(ne=!1),ne}class Rr{constructor(R,ne,be){let Ae=this.boxCells=[],Fe=this.circleCells=[];this.xCellCount=Math.ceil(R/be),this.yCellCount=Math.ceil(ne/be);for(let ht=0;htthis.width||Ae<0||ne>this.height)return[];let zt=[];if(R<=0&&ne<=0&&this.width<=be&&this.height<=Ae){if(Fe)return[{key:null,x1:R,y1:ne,x2:be,y2:Ae}];for(let Jt=0;Jt0}hitTestCircle(R,ne,be,Ae,Fe){let ht=R-be,wt=R+be,zt=ne-be,Jt=ne+be;if(wt<0||ht>this.width||Jt<0||zt>this.height)return!1;let hr=[];return this._forEachCell(ht,zt,wt,Jt,this._queryCellCircle,hr,{hitTest:!0,overlapMode:Ae,circle:{x:R,y:ne,radius:be},seenUids:{box:{},circle:{}}},Fe),hr.length>0}_queryCell(R,ne,be,Ae,Fe,ht,wt,zt){let{seenUids:Jt,hitTest:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!Jt.box[$e]){Jt.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(R<=Ge[st+2]&&ne<=Ge[st+3]&&be>=Ge[st+0]&&Ae>=Ge[st+1]&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))&&(ht.push({key:dt,x1:Ge[st],y1:Ge[st+1],x2:Ge[st+2],y2:Ge[st+3]}),hr))return!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!Jt.circle[$e]){Jt.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circleAndRectCollide(Ge[st],Ge[st+1],Ge[st+2],R,ne,be,Ae)&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))){let St=Ge[st],xt=Ge[st+1],It=Ge[st+2];if(ht.push({key:dt,x1:St-It,y1:xt-It,x2:St+It,y2:xt+It}),hr)return!0}}}return!1}_queryCellCircle(R,ne,be,Ae,Fe,ht,wt,zt){let{circle:Jt,seenUids:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!hr.box[$e]){hr.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(this._circleAndRectCollide(Jt.x,Jt.y,Jt.radius,Ge[st+0],Ge[st+1],Ge[st+2],Ge[st+3])&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!hr.circle[$e]){hr.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circlesCollide(Ge[st],Ge[st+1],Ge[st+2],Jt.x,Jt.y,Jt.radius)&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}}_forEachCell(R,ne,be,Ae,Fe,ht,wt,zt){let Jt=this._convertToXCellCoord(R),hr=this._convertToYCellCoord(ne),vr=this._convertToXCellCoord(be),Hr=this._convertToYCellCoord(Ae);for(let ln=Jt;ln<=vr;ln++)for(let Ge=hr;Ge<=Hr;Ge++)if(Fe.call(this,R,ne,be,Ae,this.xCellCount*Ge+ln,ht,wt,zt))return}_convertToXCellCoord(R){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(R*this.xScale)))}_convertToYCellCoord(R){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(R*this.yScale)))}_circlesCollide(R,ne,be,Ae,Fe,ht){let wt=Ae-R,zt=Fe-ne,Jt=be+ht;return Jt*Jt>wt*wt+zt*zt}_circleAndRectCollide(R,ne,be,Ae,Fe,ht,wt){let zt=(ht-Ae)/2,Jt=Math.abs(R-(Ae+zt));if(Jt>zt+be)return!1;let hr=(wt-Fe)/2,vr=Math.abs(ne-(Fe+hr));if(vr>hr+be)return!1;if(Jt<=zt||vr<=hr)return!0;let Hr=Jt-zt,ln=vr-hr;return Hr*Hr+ln*ln<=be*be}}function gr(Ne,R,ne,be,Ae){let Fe=t.H();return R?(t.K(Fe,Fe,[1/Ae,1/Ae,1]),ne||t.ad(Fe,Fe,be.angle)):t.L(Fe,be.labelPlaneMatrix,Ne),Fe}function br(Ne,R,ne,be,Ae){if(R){let Fe=t.ae(Ne);return t.K(Fe,Fe,[Ae,Ae,1]),ne||t.ad(Fe,Fe,-be.angle),Fe}return be.glCoordMatrix}function _t(Ne,R,ne,be){let Ae;be?(Ae=[Ne,R,be(Ne,R),1],t.af(Ae,Ae,ne)):(Ae=[Ne,R,0,1],$t(Ae,Ae,ne));let Fe=Ae[3];return{point:new t.P(Ae[0]/Fe,Ae[1]/Fe),signedDistanceFromCamera:Fe,isOccluded:!1}}function Be(Ne,R){return .5+Ne/R*.5}function Ke(Ne,R){return Ne.x>=-R[0]&&Ne.x<=R[0]&&Ne.y>=-R[1]&&Ne.y<=R[1]}function je(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge){let $e=be?Ne.textSizeData:Ne.iconSizeData,st=t.ag($e,ne.transform.zoom),dt=[256/ne.width*2+1,256/ne.height*2+1],St=be?Ne.text.dynamicLayoutVertexArray:Ne.icon.dynamicLayoutVertexArray;St.clear();let xt=Ne.lineVertexArray,It=be?Ne.text.placedSymbolArray:Ne.icon.placedSymbolArray,rr=ne.transform.width/ne.transform.height,sr=!1;for(let pr=0;prMath.abs(ne.x-R.x)*be?{useVertical:!0}:(Ne===t.ah.vertical?R.yne.x)?{needsFlipping:!0}:null}function Ee(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){let vr=ne/24,Hr=R.lineOffsetX*vr,ln=R.lineOffsetY*vr,Ge;if(R.numGlyphs>1){let $e=R.glyphStartIndex+R.numGlyphs,st=R.lineStartIndex,dt=R.lineStartIndex+R.lineLength,St=Se(vr,wt,Hr,ln,be,R,hr,Ne);if(!St)return{notEnoughRoom:!0};let xt=_t(St.first.point.x,St.first.point.y,ht,Ne.getElevation).point,It=_t(St.last.point.x,St.last.point.y,ht,Ne.getElevation).point;if(Ae&&!be){let rr=He(R.writingMode,xt,It,Jt);if(rr)return rr}Ge=[St.first];for(let rr=R.glyphStartIndex+1;rr<$e-1;rr++)Ge.push(Rt(vr*wt.getoffsetX(rr),Hr,ln,be,R.segment,st,dt,Ne,hr));Ge.push(St.last)}else{if(Ae&&!be){let st=_t(Ne.tileAnchorPoint.x,Ne.tileAnchorPoint.y,Fe,Ne.getElevation).point,dt=R.lineStartIndex+R.segment+1,St=new t.P(Ne.lineVertexArray.getx(dt),Ne.lineVertexArray.gety(dt)),xt=_t(St.x,St.y,Fe,Ne.getElevation),It=xt.signedDistanceFromCamera>0?xt.point:function(sr,pr,kr,Yr,_n,Mn){return we(sr,pr,kr,1,_n,Mn)}(Ne.tileAnchorPoint,St,st,0,Fe,Ne),rr=He(R.writingMode,st,It,Jt);if(rr)return rr}let $e=Rt(vr*wt.getoffsetX(R.glyphStartIndex),Hr,ln,be,R.segment,R.lineStartIndex,R.lineStartIndex+R.lineLength,Ne,hr);if(!$e||Ne.projectionCache.anyProjectionOccluded)return{notEnoughRoom:!0};Ge=[$e]}for(let $e of Ge)t.aj(zt,$e.point,$e.angle);return{}}function we(Ne,R,ne,be,Ae,Fe){let ht=Ne.add(Ne.sub(R)._unit()),wt=Ae!==void 0?_t(ht.x,ht.y,Ae,Fe.getElevation).point:nt(ht.x,ht.y,Fe).point,zt=ne.sub(wt);return ne.add(zt._mult(be/zt.mag()))}function Le(Ne,R,ne){let be=R.projectionCache;if(be.projections[Ne])return be.projections[Ne];let Ae=new t.P(R.lineVertexArray.getx(Ne),R.lineVertexArray.gety(Ne)),Fe=nt(Ae.x,Ae.y,R);if(Fe.signedDistanceFromCamera>0)return be.projections[Ne]=Fe.point,be.anyProjectionOccluded=be.anyProjectionOccluded||Fe.isOccluded,Fe.point;let ht=Ne-ne.direction;return function(wt,zt,Jt,hr,vr){return we(wt,zt,Jt,hr,void 0,vr)}(ne.distanceFromAnchor===0?R.tileAnchorPoint:new t.P(R.lineVertexArray.getx(ht),R.lineVertexArray.gety(ht)),Ae,ne.previousVertex,ne.absOffsetX-ne.distanceFromAnchor+1,R)}function nt(Ne,R,ne){let be=Ne+ne.translation[0],Ae=R+ne.translation[1],Fe;return!ne.pitchWithMap&&ne.projection.useSpecialProjectionForSymbols?(Fe=ne.projection.projectTileCoordinates(be,Ae,ne.unwrappedTileID,ne.getElevation),Fe.point.x=(.5*Fe.point.x+.5)*ne.width,Fe.point.y=(.5*-Fe.point.y+.5)*ne.height):(Fe=_t(be,Ae,ne.labelPlaneMatrix,ne.getElevation),Fe.isOccluded=!1),Fe}function pt(Ne,R,ne){return Ne._unit()._perp()._mult(R*ne)}function bt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){if(wt.projectionCache.offsets[Ne])return wt.projectionCache.offsets[Ne];let Jt=ne.add(R);if(Ne+zt.direction=Ae)return wt.projectionCache.offsets[Ne]=Jt,Jt;let hr=Le(Ne+zt.direction,wt,zt),vr=pt(hr.sub(ne),ht,zt.direction),Hr=ne.add(vr),ln=hr.add(vr);return wt.projectionCache.offsets[Ne]=t.ak(Fe,Jt,Hr,ln)||Jt,wt.projectionCache.offsets[Ne]}function Rt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){let Jt=be?Ne-R:Ne+R,hr=Jt>0?1:-1,vr=0;be&&(hr*=-1,vr=Math.PI),hr<0&&(vr+=Math.PI);let Hr,ln=hr>0?Fe+Ae:Fe+Ae+1;wt.projectionCache.cachedAnchorPoint?Hr=wt.projectionCache.cachedAnchorPoint:(Hr=nt(wt.tileAnchorPoint.x,wt.tileAnchorPoint.y,wt).point,wt.projectionCache.cachedAnchorPoint=Hr);let Ge,$e,st=Hr,dt=Hr,St=0,xt=0,It=Math.abs(Jt),rr=[],sr;for(;St+xt<=It;){if(ln+=hr,ln=ht)return null;St+=xt,dt=st,$e=Ge;let Yr={absOffsetX:It,direction:hr,distanceFromAnchor:St,previousVertex:dt};if(st=Le(ln,wt,Yr),ne===0)rr.push(dt),sr=st.sub(dt);else{let _n,Mn=st.sub(dt);_n=Mn.mag()===0?pt(Le(ln+hr,wt,Yr).sub(st),ne,hr):pt(Mn,ne,hr),$e||($e=dt.add(_n)),Ge=bt(ln,_n,st,Fe,ht,$e,ne,wt,Yr),rr.push($e),sr=Ge.sub($e)}xt=sr.mag()}let pr=sr._mult((It-St)/xt)._add($e||dt),kr=vr+Math.atan2(st.y-dt.y,st.x-dt.x);return rr.push(pr),{point:pr,angle:zt?kr:0,path:rr}}let Nt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Xt(Ne,R){for(let ne=0;ne=1;Va--)Zi.push(ki.path[Va]);for(let Va=1;VaIo.signedDistanceFromCamera<=0)?[]:Va.map(Io=>Io.point)}let ro=[];if(Zi.length>0){let Va=Zi[0].clone(),Io=Zi[0].clone();for(let vs=1;vs=Mn.x&&Io.x<=Un.x&&Va.y>=Mn.y&&Io.y<=Un.y?[Zi]:Io.xUn.x||Io.yUn.y?[]:t.al([Zi],Mn.x,Mn.y,Un.x,Un.y)}for(let Va of ro){li.reset(Va,.25*_n);let Io=0;Io=li.length<=.5*_n?1:Math.ceil(li.paddedLength/ya)+1;for(let vs=0;vs_t(Ae.x,Ae.y,be,ne.getElevation))}queryRenderedSymbols(R){if(R.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};let ne=[],be=1/0,Ae=1/0,Fe=-1/0,ht=-1/0;for(let hr of R){let vr=new t.P(hr.x+ur,hr.y+ur);be=Math.min(be,vr.x),Ae=Math.min(Ae,vr.y),Fe=Math.max(Fe,vr.x),ht=Math.max(ht,vr.y),ne.push(vr)}let wt=this.grid.query(be,Ae,Fe,ht).concat(this.ignoredGrid.query(be,Ae,Fe,ht)),zt={},Jt={};for(let hr of wt){let vr=hr.key;if(zt[vr.bucketInstanceId]===void 0&&(zt[vr.bucketInstanceId]={}),zt[vr.bucketInstanceId][vr.featureIndex])continue;let Hr=[new t.P(hr.x1,hr.y1),new t.P(hr.x2,hr.y1),new t.P(hr.x2,hr.y2),new t.P(hr.x1,hr.y2)];t.am(ne,Hr)&&(zt[vr.bucketInstanceId][vr.featureIndex]=!0,Jt[vr.bucketInstanceId]===void 0&&(Jt[vr.bucketInstanceId]=[]),Jt[vr.bucketInstanceId].push(vr.featureIndex))}return Jt}insertCollisionBox(R,ne,be,Ae,Fe,ht){(be?this.ignoredGrid:this.grid).insert({bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne},R[0],R[1],R[2],R[3])}insertCollisionCircles(R,ne,be,Ae,Fe,ht){let wt=be?this.ignoredGrid:this.grid,zt={bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne};for(let Jt=0;Jt=this.screenRightBoundary||Aethis.screenBottomBoundary}isInsideGrid(R,ne,be,Ae){return be>=0&&R=0&&nethis.projectAndGetPerspectiveRatio(be,_n.x,_n.y,Ae,Jt));kr=Yr.some(_n=>!_n.isOccluded),pr=Yr.map(_n=>_n.point)}else kr=!0;return{box:t.ao(pr),allPointsOccluded:!kr}}}function Rn(Ne,R,ne){return R*(t.X/(Ne.tileSize*Math.pow(2,ne-Ne.tileID.overscaledZ)))}class Nn{constructor(R,ne,be,Ae){this.opacity=R?Math.max(0,Math.min(1,R.opacity+(R.placed?ne:-ne))):Ae&&be?1:0,this.placed=be}isHidden(){return this.opacity===0&&!this.placed}}class On{constructor(R,ne,be,Ae,Fe){this.text=new Nn(R?R.text:null,ne,be,Fe),this.icon=new Nn(R?R.icon:null,ne,Ae,Fe)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class ni{constructor(R,ne,be){this.text=R,this.icon=ne,this.skipFade=be}}class zn{constructor(){this.invProjMatrix=t.H(),this.viewportMatrix=t.H(),this.circles=[]}}class Qn{constructor(R,ne,be,Ae,Fe){this.bucketInstanceId=R,this.featureIndex=ne,this.sourceLayerIndex=be,this.bucketIndex=Ae,this.tileID=Fe}}class gi{constructor(R){this.crossSourceCollisions=R,this.maxGroupID=0,this.collisionGroups={}}get(R){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[R]){let ne=++this.maxGroupID;this.collisionGroups[R]={ID:ne,predicate:be=>be.collisionGroupID===ne}}return this.collisionGroups[R]}}function Zt(Ne,R,ne,be,Ae){let{horizontalAlign:Fe,verticalAlign:ht}=t.au(Ne);return new t.P(-(Fe-.5)*R+be[0]*Ae,-(ht-.5)*ne+be[1]*Ae)}class Ft{constructor(R,ne,be,Ae,Fe,ht){this.transform=R.clone(),this.terrain=be,this.collisionIndex=new pn(this.transform,ne),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=Ae,this.retainedQueryData={},this.collisionGroups=new gi(Fe),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=ht,ht&&(ht.prevPlacement=void 0),this.placedOrientations={}}_getTerrainElevationFunc(R){let ne=this.terrain;return ne?(be,Ae)=>ne.getElevation(R,be,Ae):null}getBucketParts(R,ne,be,Ae){let Fe=be.getBucket(ne),ht=be.latestFeatureIndex;if(!Fe||!ht||ne.id!==Fe.layerIds[0])return;let wt=be.collisionBoxArray,zt=Fe.layers[0].layout,Jt=Fe.layers[0].paint,hr=Math.pow(2,this.transform.zoom-be.tileID.overscaledZ),vr=be.tileSize/t.X,Hr=be.tileID.toUnwrapped(),ln=this.transform.calculatePosMatrix(Hr),Ge=zt.get(\"text-pitch-alignment\")===\"map\",$e=zt.get(\"text-rotation-alignment\")===\"map\",st=Rn(be,1,this.transform.zoom),dt=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get(\"text-translate\"),Jt.get(\"text-translate-anchor\")),St=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get(\"icon-translate\"),Jt.get(\"icon-translate-anchor\")),xt=gr(ln,Ge,$e,this.transform,st),It=null;if(Ge){let sr=br(ln,Ge,$e,this.transform,st);It=t.L([],this.transform.labelPlaneMatrix,sr)}this.retainedQueryData[Fe.bucketInstanceId]=new Qn(Fe.bucketInstanceId,ht,Fe.sourceLayerIndex,Fe.index,be.tileID);let rr={bucket:Fe,layout:zt,translationText:dt,translationIcon:St,posMatrix:ln,unwrappedTileID:Hr,textLabelPlaneMatrix:xt,labelToScreenMatrix:It,scale:hr,textPixelRatio:vr,holdingForFade:be.holdingForFade(),collisionBoxArray:wt,partiallyEvaluatedTextSize:t.ag(Fe.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(Fe.sourceID)};if(Ae)for(let sr of Fe.sortKeyRanges){let{sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr}=sr;R.push({sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr,parameters:rr})}else R.push({symbolInstanceStart:0,symbolInstanceEnd:Fe.symbolInstances.length,parameters:rr})}attemptAnchorPlacement(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St,xt){let It=t.aq[R.textAnchor],rr=[R.textOffset0,R.textOffset1],sr=Zt(It,be,Ae,rr,Fe),pr=this.collisionIndex.placeCollisionBox(ne,Hr,zt,Jt,hr,wt,ht,st,vr.predicate,xt,sr);if((!St||this.collisionIndex.placeCollisionBox(St,Hr,zt,Jt,hr,wt,ht,dt,vr.predicate,xt,sr).placeable)&&pr.placeable){let kr;if(this.prevPlacement&&this.prevPlacement.variableOffsets[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID].text&&(kr=this.prevPlacement.variableOffsets[ln.crossTileID].anchor),ln.crossTileID===0)throw new Error(\"symbolInstance.crossTileID can't be 0\");return this.variableOffsets[ln.crossTileID]={textOffset:rr,width:be,height:Ae,anchor:It,textBoxScale:Fe,prevAnchor:kr},this.markUsedJustification(Ge,It,ln,$e),Ge.allowVerticalPlacement&&(this.markUsedOrientation(Ge,$e,ln),this.placedOrientations[ln.crossTileID]=$e),{shift:sr,placedGlyphBoxes:pr}}}placeLayerBucketPart(R,ne,be){let{bucket:Ae,layout:Fe,translationText:ht,translationIcon:wt,posMatrix:zt,unwrappedTileID:Jt,textLabelPlaneMatrix:hr,labelToScreenMatrix:vr,textPixelRatio:Hr,holdingForFade:ln,collisionBoxArray:Ge,partiallyEvaluatedTextSize:$e,collisionGroup:st}=R.parameters,dt=Fe.get(\"text-optional\"),St=Fe.get(\"icon-optional\"),xt=t.ar(Fe,\"text-overlap\",\"text-allow-overlap\"),It=xt===\"always\",rr=t.ar(Fe,\"icon-overlap\",\"icon-allow-overlap\"),sr=rr===\"always\",pr=Fe.get(\"text-rotation-alignment\")===\"map\",kr=Fe.get(\"text-pitch-alignment\")===\"map\",Yr=Fe.get(\"icon-text-fit\")!==\"none\",_n=Fe.get(\"symbol-z-order\")===\"viewport-y\",Mn=It&&(sr||!Ae.hasIconData()||St),Un=sr&&(It||!Ae.hasTextData()||dt);!Ae.collisionArrays&&Ge&&Ae.deserializeCollisionBoxes(Ge);let li=this._getTerrainElevationFunc(this.retainedQueryData[Ae.bucketInstanceId].tileID),ki=(Ci,Zi,ya)=>{var ro,Va;if(ne[Ci.crossTileID])return;if(ln)return void(this.placements[Ci.crossTileID]=new ni(!1,!1,!1));let Io=!1,vs=!1,Fo=!0,ts=null,bs={box:null,placeable:!1,offscreen:null},fl={box:null,placeable:!1,offscreen:null},al=null,os=null,is=null,Nl=0,eu=0,Xu=0;Zi.textFeatureIndex?Nl=Zi.textFeatureIndex:Ci.useRuntimeCollisionCircles&&(Nl=Ci.featureIndex),Zi.verticalTextFeatureIndex&&(eu=Zi.verticalTextFeatureIndex);let mu=Zi.textBox;if(mu){let Zl=Qe=>{let vt=t.ah.horizontal;if(Ae.allowVerticalPlacement&&!Qe&&this.prevPlacement){let mt=this.prevPlacement.placedOrientations[Ci.crossTileID];mt&&(this.placedOrientations[Ci.crossTileID]=mt,vt=mt,this.markUsedOrientation(Ae,vt,Ci))}return vt},Yl=(Qe,vt)=>{if(Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&Zi.verticalTextBox){for(let mt of Ae.writingModes)if(mt===t.ah.vertical?(bs=vt(),fl=bs):bs=Qe(),bs&&bs.placeable)break}else bs=Qe()},de=Ci.textAnchorOffsetStartIndex,Re=Ci.textAnchorOffsetEndIndex;if(Re===de){let Qe=(vt,mt)=>{let Tt=this.collisionIndex.placeCollisionBox(vt,xt,Hr,zt,Jt,kr,pr,ht,st.predicate,li);return Tt&&Tt.placeable&&(this.markUsedOrientation(Ae,mt,Ci),this.placedOrientations[Ci.crossTileID]=mt),Tt};Yl(()=>Qe(mu,t.ah.horizontal),()=>{let vt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&vt?Qe(vt,t.ah.vertical):{box:null,offscreen:null}}),Zl(bs&&bs.placeable)}else{let Qe=t.aq[(Va=(ro=this.prevPlacement)===null||ro===void 0?void 0:ro.variableOffsets[Ci.crossTileID])===null||Va===void 0?void 0:Va.anchor],vt=(Tt,Qt,Dt)=>{let lr=Tt.x2-Tt.x1,Br=Tt.y2-Tt.y1,jr=Ci.textBoxScale,Tn=Yr&&rr===\"never\"?Qt:null,yn=null,ti=xt===\"never\"?1:2,ai=\"never\";Qe&&ti++;for(let En=0;Envt(mu,Zi.iconBox,t.ah.horizontal),()=>{let Tt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&(!bs||!bs.placeable)&&Ci.numVerticalGlyphVertices>0&&Tt?vt(Tt,Zi.verticalIconBox,t.ah.vertical):{box:null,occluded:!0,offscreen:null}}),bs&&(Io=bs.placeable,Fo=bs.offscreen);let mt=Zl(bs&&bs.placeable);if(!Io&&this.prevPlacement){let Tt=this.prevPlacement.variableOffsets[Ci.crossTileID];Tt&&(this.variableOffsets[Ci.crossTileID]=Tt,this.markUsedJustification(Ae,Tt.anchor,Ci,mt))}}}if(al=bs,Io=al&&al.placeable,Fo=al&&al.offscreen,Ci.useRuntimeCollisionCircles){let Zl=Ae.text.placedSymbolArray.get(Ci.centerJustifiedTextSymbolIndex),Yl=t.ai(Ae.textSizeData,$e,Zl),de=Fe.get(\"text-padding\");os=this.collisionIndex.placeCollisionCircles(xt,Zl,Ae.lineVertexArray,Ae.glyphOffsetArray,Yl,zt,Jt,hr,vr,be,kr,st.predicate,Ci.collisionCircleDiameter,de,ht,li),os.circles.length&&os.collisionDetected&&!be&&t.w(\"Collisions detected, but collision boxes are not shown\"),Io=It||os.circles.length>0&&!os.collisionDetected,Fo=Fo&&os.offscreen}if(Zi.iconFeatureIndex&&(Xu=Zi.iconFeatureIndex),Zi.iconBox){let Zl=Yl=>this.collisionIndex.placeCollisionBox(Yl,rr,Hr,zt,Jt,kr,pr,wt,st.predicate,li,Yr&&ts?ts:void 0);fl&&fl.placeable&&Zi.verticalIconBox?(is=Zl(Zi.verticalIconBox),vs=is.placeable):(is=Zl(Zi.iconBox),vs=is.placeable),Fo=Fo&&is.offscreen}let El=dt||Ci.numHorizontalGlyphVertices===0&&Ci.numVerticalGlyphVertices===0,fu=St||Ci.numIconVertices===0;El||fu?fu?El||(vs=vs&&Io):Io=vs&&Io:vs=Io=vs&&Io;let Tc=vs&&is.placeable;if(Io&&al.placeable&&this.collisionIndex.insertCollisionBox(al.box,xt,Fe.get(\"text-ignore-placement\"),Ae.bucketInstanceId,fl&&fl.placeable&&eu?eu:Nl,st.ID),Tc&&this.collisionIndex.insertCollisionBox(is.box,rr,Fe.get(\"icon-ignore-placement\"),Ae.bucketInstanceId,Xu,st.ID),os&&Io&&this.collisionIndex.insertCollisionCircles(os.circles,xt,Fe.get(\"text-ignore-placement\"),Ae.bucketInstanceId,Nl,st.ID),be&&this.storeCollisionData(Ae.bucketInstanceId,ya,Zi,al,is,os),Ci.crossTileID===0)throw new Error(\"symbolInstance.crossTileID can't be 0\");if(Ae.bucketInstanceId===0)throw new Error(\"bucket.bucketInstanceId can't be 0\");this.placements[Ci.crossTileID]=new ni(Io||Mn,vs||Un,Fo||Ae.justReloaded),ne[Ci.crossTileID]=!0};if(_n){if(R.symbolInstanceStart!==0)throw new Error(\"bucket.bucketInstanceId should be 0\");let Ci=Ae.getSortedSymbolIndexes(this.transform.angle);for(let Zi=Ci.length-1;Zi>=0;--Zi){let ya=Ci[Zi];ki(Ae.symbolInstances.get(ya),Ae.collisionArrays[ya],ya)}}else for(let Ci=R.symbolInstanceStart;Ci=0&&(R.text.placedSymbolArray.get(wt).crossTileID=Fe>=0&&wt!==Fe?0:be.crossTileID)}markUsedOrientation(R,ne,be){let Ae=ne===t.ah.horizontal||ne===t.ah.horizontalOnly?ne:0,Fe=ne===t.ah.vertical?ne:0,ht=[be.leftJustifiedTextSymbolIndex,be.centerJustifiedTextSymbolIndex,be.rightJustifiedTextSymbolIndex];for(let wt of ht)R.text.placedSymbolArray.get(wt).placedOrientation=Ae;be.verticalPlacedTextSymbolIndex&&(R.text.placedSymbolArray.get(be.verticalPlacedTextSymbolIndex).placedOrientation=Fe)}commit(R){this.commitTime=R,this.zoomAtLastRecencyCheck=this.transform.zoom;let ne=this.prevPlacement,be=!1;this.prevZoomAdjustment=ne?ne.zoomAdjustment(this.transform.zoom):0;let Ae=ne?ne.symbolFadeChange(R):1,Fe=ne?ne.opacities:{},ht=ne?ne.variableOffsets:{},wt=ne?ne.placedOrientations:{};for(let zt in this.placements){let Jt=this.placements[zt],hr=Fe[zt];hr?(this.opacities[zt]=new On(hr,Ae,Jt.text,Jt.icon),be=be||Jt.text!==hr.text.placed||Jt.icon!==hr.icon.placed):(this.opacities[zt]=new On(null,Ae,Jt.text,Jt.icon,Jt.skipFade),be=be||Jt.text||Jt.icon)}for(let zt in Fe){let Jt=Fe[zt];if(!this.opacities[zt]){let hr=new On(Jt,Ae,!1,!1);hr.isHidden()||(this.opacities[zt]=hr,be=be||Jt.text.placed||Jt.icon.placed)}}for(let zt in ht)this.variableOffsets[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.variableOffsets[zt]=ht[zt]);for(let zt in wt)this.placedOrientations[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.placedOrientations[zt]=wt[zt]);if(ne&&ne.lastPlacementChangeTime===void 0)throw new Error(\"Last placement time for previous placement is not defined\");be?this.lastPlacementChangeTime=R:typeof this.lastPlacementChangeTime!=\"number\"&&(this.lastPlacementChangeTime=ne?ne.lastPlacementChangeTime:R)}updateLayerOpacities(R,ne){let be={};for(let Ae of ne){let Fe=Ae.getBucket(R);Fe&&Ae.latestFeatureIndex&&R.id===Fe.layerIds[0]&&this.updateBucketOpacities(Fe,Ae.tileID,be,Ae.collisionBoxArray)}}updateBucketOpacities(R,ne,be,Ae){R.hasTextData()&&(R.text.opacityVertexArray.clear(),R.text.hasVisibleVertices=!1),R.hasIconData()&&(R.icon.opacityVertexArray.clear(),R.icon.hasVisibleVertices=!1),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexArray.clear(),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexArray.clear();let Fe=R.layers[0],ht=Fe.layout,wt=new On(null,0,!1,!1,!0),zt=ht.get(\"text-allow-overlap\"),Jt=ht.get(\"icon-allow-overlap\"),hr=Fe._unevaluatedLayout.hasValue(\"text-variable-anchor\")||Fe._unevaluatedLayout.hasValue(\"text-variable-anchor-offset\"),vr=ht.get(\"text-rotation-alignment\")===\"map\",Hr=ht.get(\"text-pitch-alignment\")===\"map\",ln=ht.get(\"icon-text-fit\")!==\"none\",Ge=new On(null,0,zt&&(Jt||!R.hasIconData()||ht.get(\"icon-optional\")),Jt&&(zt||!R.hasTextData()||ht.get(\"text-optional\")),!0);!R.collisionArrays&&Ae&&(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData())&&R.deserializeCollisionBoxes(Ae);let $e=(dt,St,xt)=>{for(let It=0;It0,kr=this.placedOrientations[St.crossTileID],Yr=kr===t.ah.vertical,_n=kr===t.ah.horizontal||kr===t.ah.horizontalOnly;if(xt>0||It>0){let Un=ri(sr.text);$e(R.text,xt,Yr?Sn:Un),$e(R.text,It,_n?Sn:Un);let li=sr.text.isHidden();[St.rightJustifiedTextSymbolIndex,St.centerJustifiedTextSymbolIndex,St.leftJustifiedTextSymbolIndex].forEach(Zi=>{Zi>=0&&(R.text.placedSymbolArray.get(Zi).hidden=li||Yr?1:0)}),St.verticalPlacedTextSymbolIndex>=0&&(R.text.placedSymbolArray.get(St.verticalPlacedTextSymbolIndex).hidden=li||_n?1:0);let ki=this.variableOffsets[St.crossTileID];ki&&this.markUsedJustification(R,ki.anchor,St,kr);let Ci=this.placedOrientations[St.crossTileID];Ci&&(this.markUsedJustification(R,\"left\",St,Ci),this.markUsedOrientation(R,Ci,St))}if(pr){let Un=ri(sr.icon),li=!(ln&&St.verticalPlacedIconSymbolIndex&&Yr);St.placedIconSymbolIndex>=0&&($e(R.icon,St.numIconVertices,li?Un:Sn),R.icon.placedSymbolArray.get(St.placedIconSymbolIndex).hidden=sr.icon.isHidden()),St.verticalPlacedIconSymbolIndex>=0&&($e(R.icon,St.numVerticalIconVertices,li?Sn:Un),R.icon.placedSymbolArray.get(St.verticalPlacedIconSymbolIndex).hidden=sr.icon.isHidden())}let Mn=st&&st.has(dt)?st.get(dt):{text:null,icon:null};if(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData()){let Un=R.collisionArrays[dt];if(Un){let li=new t.P(0,0);if(Un.textBox||Un.verticalTextBox){let ki=!0;if(hr){let Ci=this.variableOffsets[rr];Ci?(li=Zt(Ci.anchor,Ci.width,Ci.height,Ci.textOffset,Ci.textBoxScale),vr&&li._rotate(Hr?this.transform.angle:-this.transform.angle)):ki=!1}if(Un.textBox||Un.verticalTextBox){let Ci;Un.textBox&&(Ci=Yr),Un.verticalTextBox&&(Ci=_n),Ht(R.textCollisionBox.collisionVertexArray,sr.text.placed,!ki||Ci,Mn.text,li.x,li.y)}}if(Un.iconBox||Un.verticalIconBox){let ki=!!(!_n&&Un.verticalIconBox),Ci;Un.iconBox&&(Ci=ki),Un.verticalIconBox&&(Ci=!ki),Ht(R.iconCollisionBox.collisionVertexArray,sr.icon.placed,Ci,Mn.icon,ln?li.x:0,ln?li.y:0)}}}}if(R.sortFeatures(this.transform.angle),this.retainedQueryData[R.bucketInstanceId]&&(this.retainedQueryData[R.bucketInstanceId].featureSortOrder=R.featureSortOrder),R.hasTextData()&&R.text.opacityVertexBuffer&&R.text.opacityVertexBuffer.updateData(R.text.opacityVertexArray),R.hasIconData()&&R.icon.opacityVertexBuffer&&R.icon.opacityVertexBuffer.updateData(R.icon.opacityVertexArray),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexBuffer&&R.iconCollisionBox.collisionVertexBuffer.updateData(R.iconCollisionBox.collisionVertexArray),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexBuffer&&R.textCollisionBox.collisionVertexBuffer.updateData(R.textCollisionBox.collisionVertexArray),R.text.opacityVertexArray.length!==R.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${R.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${R.text.layoutVertexArray.length}) / 4`);if(R.icon.opacityVertexArray.length!==R.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${R.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${R.icon.layoutVertexArray.length}) / 4`);if(R.bucketInstanceId in this.collisionCircleArrays){let dt=this.collisionCircleArrays[R.bucketInstanceId];R.placementInvProjMatrix=dt.invProjMatrix,R.placementViewportMatrix=dt.viewportMatrix,R.collisionCircleArray=dt.circles,delete this.collisionCircleArrays[R.bucketInstanceId]}}symbolFadeChange(R){return this.fadeDuration===0?1:(R-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(R){return Math.max(0,(this.transform.zoom-R)/1.5)}hasTransitions(R){return this.stale||R-this.lastPlacementChangeTimeR}setStale(){this.stale=!0}}function Ht(Ne,R,ne,be,Ae,Fe){be&&be.length!==0||(be=[0,0,0,0]);let ht=be[0]-ur,wt=be[1]-ur,zt=be[2]-ur,Jt=be[3]-ur;Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,Jt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,Jt)}let Vt=Math.pow(2,25),wr=Math.pow(2,24),$r=Math.pow(2,17),xn=Math.pow(2,16),en=Math.pow(2,9),Fn=Math.pow(2,8),Wn=Math.pow(2,1);function ri(Ne){if(Ne.opacity===0&&!Ne.placed)return 0;if(Ne.opacity===1&&Ne.placed)return 4294967295;let R=Ne.placed?1:0,ne=Math.floor(127*Ne.opacity);return ne*Vt+R*wr+ne*$r+R*xn+ne*en+R*Fn+ne*Wn+R}let Sn=0;function ui(){return{isOccluded:(Ne,R,ne)=>!1,getPitchedTextCorrection:(Ne,R,ne)=>1,get useSpecialProjectionForSymbols(){return!1},projectTileCoordinates(Ne,R,ne,be){throw new Error(\"Not implemented.\")},translatePosition:(Ne,R,ne,be)=>function(Ae,Fe,ht,wt,zt=!1){if(!ht[0]&&!ht[1])return[0,0];let Jt=zt?wt===\"map\"?Ae.angle:0:wt===\"viewport\"?-Ae.angle:0;if(Jt){let hr=Math.sin(Jt),vr=Math.cos(Jt);ht=[ht[0]*vr-ht[1]*hr,ht[0]*hr+ht[1]*vr]}return[zt?ht[0]:Rn(Fe,ht[0],Ae.zoom),zt?ht[1]:Rn(Fe,ht[1],Ae.zoom)]}(Ne,R,ne,be),getCircleRadiusCorrection:Ne=>1}}class gt{constructor(R){this._sortAcrossTiles=R.layout.get(\"symbol-z-order\")!==\"viewport-y\"&&!R.layout.get(\"symbol-sort-key\").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(R,ne,be,Ae,Fe){let ht=this._bucketParts;for(;this._currentTileIndexwt.sortKey-zt.sortKey));this._currentPartIndex!this._forceFullPlacement&&i.now()-Ae>2;for(;this._currentPlacementIndex>=0;){let ht=ne[R[this._currentPlacementIndex]],wt=this.placement.collisionIndex.transform.zoom;if(ht.type===\"symbol\"&&(!ht.minzoom||ht.minzoom<=wt)&&(!ht.maxzoom||ht.maxzoom>wt)){if(this._inProgressLayer||(this._inProgressLayer=new gt(ht)),this._inProgressLayer.continuePlacement(be[ht.source],this.placement,this._showCollisionBoxes,ht,Fe))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(R){return this.placement.commit(R),this.placement}}let Pr=512/t.X/2;class Ir{constructor(R,ne,be){this.tileID=R,this.bucketInstanceId=be,this._symbolsByKey={};let Ae=new Map;for(let Fe=0;Fe({x:Math.floor(zt.anchorX*Pr),y:Math.floor(zt.anchorY*Pr)})),crossTileIDs:ht.map(zt=>zt.crossTileID)};if(wt.positions.length>128){let zt=new t.av(wt.positions.length,16,Uint16Array);for(let{x:Jt,y:hr}of wt.positions)zt.add(Jt,hr);zt.finish(),delete wt.positions,wt.index=zt}this._symbolsByKey[Fe]=wt}}getScaledCoordinates(R,ne){let{x:be,y:Ae,z:Fe}=this.tileID.canonical,{x:ht,y:wt,z:zt}=ne.canonical,Jt=Pr/Math.pow(2,zt-Fe),hr=(wt*t.X+R.anchorY)*Jt,vr=Ae*t.X*Pr;return{x:Math.floor((ht*t.X+R.anchorX)*Jt-be*t.X*Pr),y:Math.floor(hr-vr)}}findMatches(R,ne,be){let Ae=this.tileID.canonical.zR)}}class Tr{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class Mr{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(R){let ne=Math.round((R-this.lng)/360);if(ne!==0)for(let be in this.indexes){let Ae=this.indexes[be],Fe={};for(let ht in Ae){let wt=Ae[ht];wt.tileID=wt.tileID.unwrapTo(wt.tileID.wrap+ne),Fe[wt.tileID.key]=wt}this.indexes[be]=Fe}this.lng=R}addBucket(R,ne,be){if(this.indexes[R.overscaledZ]&&this.indexes[R.overscaledZ][R.key]){if(this.indexes[R.overscaledZ][R.key].bucketInstanceId===ne.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(R.overscaledZ,this.indexes[R.overscaledZ][R.key])}for(let Fe=0;FeR.overscaledZ)for(let wt in ht){let zt=ht[wt];zt.tileID.isChildOf(R)&&zt.findMatches(ne.symbolInstances,R,Ae)}else{let wt=ht[R.scaledTo(Number(Fe)).key];wt&&wt.findMatches(ne.symbolInstances,R,Ae)}}for(let Fe=0;Fe{ne[be]=!0});for(let be in this.layerIndexes)ne[be]||delete this.layerIndexes[be]}}let Ur=(Ne,R)=>t.t(Ne,R&&R.filter(ne=>ne.identifier!==\"source.canvas\")),Dr=t.aw();class nn extends t.E{constructor(R,ne={}){super(),this._rtlPluginLoaded=()=>{for(let be in this.sourceCaches){let Ae=this.sourceCaches[be].getSource().type;Ae!==\"vector\"&&Ae!==\"geojson\"||this.sourceCaches[be].reload()}},this.map=R,this.dispatcher=new J($(),R._getMapId()),this.dispatcher.registerMessageHandler(\"GG\",(be,Ae)=>this.getGlyphs(be,Ae)),this.dispatcher.registerMessageHandler(\"GI\",(be,Ae)=>this.getImages(be,Ae)),this.imageManager=new f,this.imageManager.setEventedParent(this),this.glyphManager=new F(R._requestManager,ne.localIdeographFontFamily),this.lineAtlas=new W(256,512),this.crossTileSymbolIndex=new Lr,this._spritesImagesIds={},this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ax,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast(\"SR\",t.ay()),rt().on(pe,this._rtlPluginLoaded),this.on(\"data\",be=>{if(be.dataType!==\"source\"||be.sourceDataType!==\"metadata\")return;let Ae=this.sourceCaches[be.sourceId];if(!Ae)return;let Fe=Ae.getSource();if(Fe&&Fe.vectorLayerIds)for(let ht in this._layers){let wt=this._layers[ht];wt.source===Fe.id&&this._validateLayer(wt)}})}loadURL(R,ne={},be){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),ne.validate=typeof ne.validate!=\"boolean\"||ne.validate;let Ae=this.map._requestManager.transformRequest(R,\"Style\");this._loadStyleRequest=new AbortController;let Fe=this._loadStyleRequest;t.h(Ae,this._loadStyleRequest).then(ht=>{this._loadStyleRequest=null,this._load(ht.data,ne,be)}).catch(ht=>{this._loadStyleRequest=null,ht&&!Fe.signal.aborted&&this.fire(new t.j(ht))})}loadJSON(R,ne={},be){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(()=>{this._frameRequest=null,ne.validate=ne.validate!==!1,this._load(R,ne,be)}).catch(()=>{})}loadEmpty(){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),this._load(Dr,{validate:!1})}_load(R,ne,be){var Ae;let Fe=ne.transformStyle?ne.transformStyle(be,R):R;if(!ne.validate||!Ur(this,t.u(Fe))){this._loaded=!0,this.stylesheet=Fe;for(let ht in Fe.sources)this.addSource(ht,Fe.sources[ht],{validate:!1});Fe.sprite?this._loadSprite(Fe.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(Fe.glyphs),this._createLayers(),this.light=new I(this.stylesheet.light),this.sky=new U(this.stylesheet.sky),this.map.setTerrain((Ae=this.stylesheet.terrain)!==null&&Ae!==void 0?Ae:null),this.fire(new t.k(\"data\",{dataType:\"style\"})),this.fire(new t.k(\"style.load\"))}}_createLayers(){let R=t.az(this.stylesheet.layers);this.dispatcher.broadcast(\"SL\",R),this._order=R.map(ne=>ne.id),this._layers={},this._serializedLayers=null;for(let ne of R){let be=t.aA(ne);be.setEventedParent(this,{layer:{id:ne.id}}),this._layers[ne.id]=be}}_loadSprite(R,ne=!1,be=void 0){let Ae;this.imageManager.setLoaded(!1),this._spriteRequest=new AbortController,function(Fe,ht,wt,zt){return t._(this,void 0,void 0,function*(){let Jt=b(Fe),hr=wt>1?\"@2x\":\"\",vr={},Hr={};for(let{id:ln,url:Ge}of Jt){let $e=ht.transformRequest(v(Ge,hr,\".json\"),\"SpriteJSON\");vr[ln]=t.h($e,zt);let st=ht.transformRequest(v(Ge,hr,\".png\"),\"SpriteImage\");Hr[ln]=l.getImage(st,zt)}return yield Promise.all([...Object.values(vr),...Object.values(Hr)]),function(ln,Ge){return t._(this,void 0,void 0,function*(){let $e={};for(let st in ln){$e[st]={};let dt=i.getImageCanvasContext((yield Ge[st]).data),St=(yield ln[st]).data;for(let xt in St){let{width:It,height:rr,x:sr,y:pr,sdf:kr,pixelRatio:Yr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki}=St[xt];$e[st][xt]={data:null,pixelRatio:Yr,sdf:kr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki,spriteData:{width:It,height:rr,x:sr,y:pr,context:dt}}}}return $e})}(vr,Hr)})}(R,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then(Fe=>{if(this._spriteRequest=null,Fe)for(let ht in Fe){this._spritesImagesIds[ht]=[];let wt=this._spritesImagesIds[ht]?this._spritesImagesIds[ht].filter(zt=>!(zt in Fe)):[];for(let zt of wt)this.imageManager.removeImage(zt),this._changedImages[zt]=!0;for(let zt in Fe[ht]){let Jt=ht===\"default\"?zt:`${ht}:${zt}`;this._spritesImagesIds[ht].push(Jt),Jt in this.imageManager.images?this.imageManager.updateImage(Jt,Fe[ht][zt],!1):this.imageManager.addImage(Jt,Fe[ht][zt]),ne&&(this._changedImages[Jt]=!0)}}}).catch(Fe=>{this._spriteRequest=null,Ae=Fe,this.fire(new t.j(Ae))}).finally(()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),ne&&(this._changed=!0),this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"})),be&&be(Ae)})}_unloadSprite(){for(let R of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(R),this._changedImages[R]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}_validateLayer(R){let ne=this.sourceCaches[R.source];if(!ne)return;let be=R.sourceLayer;if(!be)return;let Ae=ne.getSource();(Ae.type===\"geojson\"||Ae.vectorLayerIds&&Ae.vectorLayerIds.indexOf(be)===-1)&&this.fire(new t.j(new Error(`Source layer \"${be}\" does not exist on source \"${Ae.id}\" as specified by style layer \"${R.id}\".`)))}loaded(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(let R in this.sourceCaches)if(!this.sourceCaches[R].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeByIds(R,ne=!1){let be=this._serializedAllLayers();if(!R||R.length===0)return Object.values(ne?t.aB(be):be);let Ae=[];for(let Fe of R)if(be[Fe]){let ht=ne?t.aB(be[Fe]):be[Fe];Ae.push(ht)}return Ae}_serializedAllLayers(){let R=this._serializedLayers;if(R)return R;R=this._serializedLayers={};let ne=Object.keys(this._layers);for(let be of ne){let Ae=this._layers[be];Ae.type!==\"custom\"&&(R[be]=Ae.serialize())}return R}hasTransitions(){if(this.light&&this.light.hasTransition()||this.sky&&this.sky.hasTransition())return!0;for(let R in this.sourceCaches)if(this.sourceCaches[R].hasTransition())return!0;for(let R in this._layers)if(this._layers[R].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error(\"Style is not done loading.\")}update(R){if(!this._loaded)return;let ne=this._changed;if(ne){let Ae=Object.keys(this._updatedLayers),Fe=Object.keys(this._removedLayers);(Ae.length||Fe.length)&&this._updateWorkerLayers(Ae,Fe);for(let ht in this._updatedSources){let wt=this._updatedSources[ht];if(wt===\"reload\")this._reloadSource(ht);else{if(wt!==\"clear\")throw new Error(`Invalid action ${wt}`);this._clearSource(ht)}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(let ht in this._updatedPaintProps)this._layers[ht].updateTransitions(R);this.light.updateTransitions(R),this.sky.updateTransitions(R),this._resetUpdates()}let be={};for(let Ae in this.sourceCaches){let Fe=this.sourceCaches[Ae];be[Ae]=Fe.used,Fe.used=!1}for(let Ae of this._order){let Fe=this._layers[Ae];Fe.recalculate(R,this._availableImages),!Fe.isHidden(R.zoom)&&Fe.source&&(this.sourceCaches[Fe.source].used=!0)}for(let Ae in be){let Fe=this.sourceCaches[Ae];!!be[Ae]!=!!Fe.used&&Fe.fire(new t.k(\"data\",{sourceDataType:\"visibility\",dataType:\"source\",sourceId:Ae}))}this.light.recalculate(R),this.sky.recalculate(R),this.z=R.zoom,ne&&this.fire(new t.k(\"data\",{dataType:\"style\"}))}_updateTilesForChangedImages(){let R=Object.keys(this._changedImages);if(R.length){for(let ne in this.sourceCaches)this.sourceCaches[ne].reloadTilesForDependencies([\"icons\",\"patterns\"],R);this._changedImages={}}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(let R in this.sourceCaches)this.sourceCaches[R].reloadTilesForDependencies([\"glyphs\"],[\"\"]);this._glyphsDidChange=!1}}_updateWorkerLayers(R,ne){this.dispatcher.broadcast(\"UL\",{layers:this._serializeByIds(R,!1),removedIds:ne})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1}setState(R,ne={}){var be;this._checkLoaded();let Ae=this.serialize();if(R=ne.transformStyle?ne.transformStyle(Ae,R):R,((be=ne.validate)===null||be===void 0||be)&&Ur(this,t.u(R)))return!1;(R=t.aB(R)).layers=t.az(R.layers);let Fe=t.aC(Ae,R),ht=this._getOperationsToPerform(Fe);if(ht.unimplemented.length>0)throw new Error(`Unimplemented: ${ht.unimplemented.join(\", \")}.`);if(ht.operations.length===0)return!1;for(let wt of ht.operations)wt();return this.stylesheet=R,this._serializedLayers=null,!0}_getOperationsToPerform(R){let ne=[],be=[];for(let Ae of R)switch(Ae.command){case\"setCenter\":case\"setZoom\":case\"setBearing\":case\"setPitch\":continue;case\"addLayer\":ne.push(()=>this.addLayer.apply(this,Ae.args));break;case\"removeLayer\":ne.push(()=>this.removeLayer.apply(this,Ae.args));break;case\"setPaintProperty\":ne.push(()=>this.setPaintProperty.apply(this,Ae.args));break;case\"setLayoutProperty\":ne.push(()=>this.setLayoutProperty.apply(this,Ae.args));break;case\"setFilter\":ne.push(()=>this.setFilter.apply(this,Ae.args));break;case\"addSource\":ne.push(()=>this.addSource.apply(this,Ae.args));break;case\"removeSource\":ne.push(()=>this.removeSource.apply(this,Ae.args));break;case\"setLayerZoomRange\":ne.push(()=>this.setLayerZoomRange.apply(this,Ae.args));break;case\"setLight\":ne.push(()=>this.setLight.apply(this,Ae.args));break;case\"setGeoJSONSourceData\":ne.push(()=>this.setGeoJSONSourceData.apply(this,Ae.args));break;case\"setGlyphs\":ne.push(()=>this.setGlyphs.apply(this,Ae.args));break;case\"setSprite\":ne.push(()=>this.setSprite.apply(this,Ae.args));break;case\"setSky\":ne.push(()=>this.setSky.apply(this,Ae.args));break;case\"setTerrain\":ne.push(()=>this.map.setTerrain.apply(this,Ae.args));break;case\"setTransition\":ne.push(()=>{});break;default:be.push(Ae.command)}return{operations:ne,unimplemented:be}}addImage(R,ne){if(this.getImage(R))return this.fire(new t.j(new Error(`An image named \"${R}\" already exists.`)));this.imageManager.addImage(R,ne),this._afterImageUpdated(R)}updateImage(R,ne){this.imageManager.updateImage(R,ne)}getImage(R){return this.imageManager.getImage(R)}removeImage(R){if(!this.getImage(R))return this.fire(new t.j(new Error(`An image named \"${R}\" does not exist.`)));this.imageManager.removeImage(R),this._afterImageUpdated(R)}_afterImageUpdated(R){this._availableImages=this.imageManager.listImages(),this._changedImages[R]=!0,this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(R,ne,be={}){if(this._checkLoaded(),this.sourceCaches[R]!==void 0)throw new Error(`Source \"${R}\" already exists.`);if(!ne.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(ne).join(\", \")}.`);if([\"vector\",\"raster\",\"geojson\",\"video\",\"image\"].indexOf(ne.type)>=0&&this._validate(t.u.source,`sources.${R}`,ne,null,be))return;this.map&&this.map._collectResourceTiming&&(ne.collectResourceTiming=!0);let Ae=this.sourceCaches[R]=new Et(R,ne,this.dispatcher);Ae.style=this,Ae.setEventedParent(this,()=>({isSourceLoaded:Ae.loaded(),source:Ae.serialize(),sourceId:R})),Ae.onAdd(this.map),this._changed=!0}removeSource(R){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(\"There is no source with this ID\");for(let be in this._layers)if(this._layers[be].source===R)return this.fire(new t.j(new Error(`Source \"${R}\" cannot be removed while layer \"${be}\" is using it.`)));let ne=this.sourceCaches[R];delete this.sourceCaches[R],delete this._updatedSources[R],ne.fire(new t.k(\"data\",{sourceDataType:\"metadata\",dataType:\"source\",sourceId:R})),ne.setEventedParent(null),ne.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(R,ne){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(`There is no source with this ID=${R}`);let be=this.sourceCaches[R].getSource();if(be.type!==\"geojson\")throw new Error(`geojsonSource.type is ${be.type}, which is !== 'geojson`);be.setData(ne),this._changed=!0}getSource(R){return this.sourceCaches[R]&&this.sourceCaches[R].getSource()}addLayer(R,ne,be={}){this._checkLoaded();let Ae=R.id;if(this.getLayer(Ae))return void this.fire(new t.j(new Error(`Layer \"${Ae}\" already exists on this map.`)));let Fe;if(R.type===\"custom\"){if(Ur(this,t.aD(R)))return;Fe=t.aA(R)}else{if(\"source\"in R&&typeof R.source==\"object\"&&(this.addSource(Ae,R.source),R=t.aB(R),R=t.e(R,{source:Ae})),this._validate(t.u.layer,`layers.${Ae}`,R,{arrayIndex:-1},be))return;Fe=t.aA(R),this._validateLayer(Fe),Fe.setEventedParent(this,{layer:{id:Ae}})}let ht=ne?this._order.indexOf(ne):this._order.length;if(ne&&ht===-1)this.fire(new t.j(new Error(`Cannot add layer \"${Ae}\" before non-existing layer \"${ne}\".`)));else{if(this._order.splice(ht,0,Ae),this._layerOrderChanged=!0,this._layers[Ae]=Fe,this._removedLayers[Ae]&&Fe.source&&Fe.type!==\"custom\"){let wt=this._removedLayers[Ae];delete this._removedLayers[Ae],wt.type!==Fe.type?this._updatedSources[Fe.source]=\"clear\":(this._updatedSources[Fe.source]=\"reload\",this.sourceCaches[Fe.source].pause())}this._updateLayer(Fe),Fe.onAdd&&Fe.onAdd(this.map)}}moveLayer(R,ne){if(this._checkLoaded(),this._changed=!0,!this._layers[R])return void this.fire(new t.j(new Error(`The layer '${R}' does not exist in the map's style and cannot be moved.`)));if(R===ne)return;let be=this._order.indexOf(R);this._order.splice(be,1);let Ae=ne?this._order.indexOf(ne):this._order.length;ne&&Ae===-1?this.fire(new t.j(new Error(`Cannot move layer \"${R}\" before non-existing layer \"${ne}\".`))):(this._order.splice(Ae,0,R),this._layerOrderChanged=!0)}removeLayer(R){this._checkLoaded();let ne=this._layers[R];if(!ne)return void this.fire(new t.j(new Error(`Cannot remove non-existing layer \"${R}\".`)));ne.setEventedParent(null);let be=this._order.indexOf(R);this._order.splice(be,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[R]=ne,delete this._layers[R],this._serializedLayers&&delete this._serializedLayers[R],delete this._updatedLayers[R],delete this._updatedPaintProps[R],ne.onRemove&&ne.onRemove(this.map)}getLayer(R){return this._layers[R]}getLayersOrder(){return[...this._order]}hasLayer(R){return R in this._layers}setLayerZoomRange(R,ne,be){this._checkLoaded();let Ae=this.getLayer(R);Ae?Ae.minzoom===ne&&Ae.maxzoom===be||(ne!=null&&(Ae.minzoom=ne),be!=null&&(Ae.maxzoom=be),this._updateLayer(Ae)):this.fire(new t.j(new Error(`Cannot set the zoom range of non-existing layer \"${R}\".`)))}setFilter(R,ne,be={}){this._checkLoaded();let Ae=this.getLayer(R);if(Ae){if(!t.aE(Ae.filter,ne))return ne==null?(Ae.filter=void 0,void this._updateLayer(Ae)):void(this._validate(t.u.filter,`layers.${Ae.id}.filter`,ne,null,be)||(Ae.filter=t.aB(ne),this._updateLayer(Ae)))}else this.fire(new t.j(new Error(`Cannot filter non-existing layer \"${R}\".`)))}getFilter(R){return t.aB(this.getLayer(R).filter)}setLayoutProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getLayoutProperty(ne),be)||(Fe.setLayoutProperty(ne,be,Ae),this._updateLayer(Fe)):this.fire(new t.j(new Error(`Cannot style non-existing layer \"${R}\".`)))}getLayoutProperty(R,ne){let be=this.getLayer(R);if(be)return be.getLayoutProperty(ne);this.fire(new t.j(new Error(`Cannot get style of non-existing layer \"${R}\".`)))}setPaintProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getPaintProperty(ne),be)||(Fe.setPaintProperty(ne,be,Ae)&&this._updateLayer(Fe),this._changed=!0,this._updatedPaintProps[R]=!0,this._serializedLayers=null):this.fire(new t.j(new Error(`Cannot style non-existing layer \"${R}\".`)))}getPaintProperty(R,ne){return this.getLayer(R).getPaintProperty(ne)}setFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=R.sourceLayer,Fe=this.sourceCaches[be];if(Fe===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let ht=Fe.getSource().type;ht===\"geojson\"&&Ae?this.fire(new t.j(new Error(\"GeoJSON sources cannot have a sourceLayer parameter.\"))):ht!==\"vector\"||Ae?(R.id===void 0&&this.fire(new t.j(new Error(\"The feature id parameter must be provided.\"))),Fe.setFeatureState(Ae,R.id,ne)):this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")))}removeFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=this.sourceCaches[be];if(Ae===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let Fe=Ae.getSource().type,ht=Fe===\"vector\"?R.sourceLayer:void 0;Fe!==\"vector\"||ht?ne&&typeof R.id!=\"string\"&&typeof R.id!=\"number\"?this.fire(new t.j(new Error(\"A feature id is required to remove its specific state property.\"))):Ae.removeFeatureState(ht,R.id,ne):this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")))}getFeatureState(R){this._checkLoaded();let ne=R.source,be=R.sourceLayer,Ae=this.sourceCaches[ne];if(Ae!==void 0)return Ae.getSource().type!==\"vector\"||be?(R.id===void 0&&this.fire(new t.j(new Error(\"The feature id parameter must be provided.\"))),Ae.getFeatureState(be,R.id)):void this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));this.fire(new t.j(new Error(`The source '${ne}' does not exist in the map's style.`)))}getTransition(){return t.e({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){if(!this._loaded)return;let R=t.aF(this.sourceCaches,Fe=>Fe.serialize()),ne=this._serializeByIds(this._order,!0),be=this.map.getTerrain()||void 0,Ae=this.stylesheet;return t.aG({version:Ae.version,name:Ae.name,metadata:Ae.metadata,light:Ae.light,sky:Ae.sky,center:Ae.center,zoom:Ae.zoom,bearing:Ae.bearing,pitch:Ae.pitch,sprite:Ae.sprite,glyphs:Ae.glyphs,transition:Ae.transition,sources:R,layers:ne,terrain:be},Fe=>Fe!==void 0)}_updateLayer(R){this._updatedLayers[R.id]=!0,R.source&&!this._updatedSources[R.source]&&this.sourceCaches[R.source].getSource().type!==\"raster\"&&(this._updatedSources[R.source]=\"reload\",this.sourceCaches[R.source].pause()),this._serializedLayers=null,this._changed=!0}_flattenAndSortRenderedFeatures(R){let ne=ht=>this._layers[ht].type===\"fill-extrusion\",be={},Ae=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt)){be[wt]=ht;for(let zt of R){let Jt=zt[wt];if(Jt)for(let hr of Jt)Ae.push(hr)}}}Ae.sort((ht,wt)=>wt.intersectionZ-ht.intersectionZ);let Fe=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt))for(let zt=Ae.length-1;zt>=0;zt--){let Jt=Ae[zt].feature;if(be[Jt.layer.id]{let kr=dt.featureSortOrder;if(kr){let Yr=kr.indexOf(sr.featureIndex);return kr.indexOf(pr.featureIndex)-Yr}return pr.featureIndex-sr.featureIndex});for(let sr of rr)It.push(sr)}}for(let dt in Ge)Ge[dt].forEach(St=>{let xt=St.feature,It=Jt[wt[dt].source].getFeatureState(xt.layer[\"source-layer\"],xt.id);xt.source=xt.layer.source,xt.layer[\"source-layer\"]&&(xt.sourceLayer=xt.layer[\"source-layer\"]),xt.state=It});return Ge}(this._layers,ht,this.sourceCaches,R,ne,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(Fe)}querySourceFeatures(R,ne){ne&&ne.filter&&this._validate(t.u.filter,\"querySourceFeatures.filter\",ne.filter,null,ne);let be=this.sourceCaches[R];return be?function(Ae,Fe){let ht=Ae.getRenderableIds().map(Jt=>Ae.getTileByID(Jt)),wt=[],zt={};for(let Jt=0;JtHr.getTileByID(ln)).sort((ln,Ge)=>Ge.tileID.overscaledZ-ln.tileID.overscaledZ||(ln.tileID.isLessThan(Ge.tileID)?-1:1))}let vr=this.crossTileSymbolIndex.addLayer(hr,zt[hr.source],R.center.lng);ht=ht||vr}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((Fe=Fe||this._layerOrderChanged||be===0)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(i.now(),R.zoom))&&(this.pauseablePlacement=new yt(R,this.map.terrain,this._order,Fe,ne,be,Ae,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,zt),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(i.now()),wt=!0),ht&&this.pauseablePlacement.placement.setStale()),wt||ht)for(let Jt of this._order){let hr=this._layers[Jt];hr.type===\"symbol\"&&this.placement.updateLayerOpacities(hr,zt[hr.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(i.now())}_releaseSymbolFadeTiles(){for(let R in this.sourceCaches)this.sourceCaches[R].releaseSymbolFadeTiles()}getImages(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.imageManager.getImages(ne.icons);this._updateTilesForChangedImages();let Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,ne.icons),be})}getGlyphs(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.glyphManager.getGlyphs(ne.stacks),Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,[\"\"]),be})}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(R,ne={}){this._checkLoaded(),R&&this._validate(t.u.glyphs,\"glyphs\",R,null,ne)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=R,this.glyphManager.entries={},this.glyphManager.setURL(R))}addSprite(R,ne,be={},Ae){this._checkLoaded();let Fe=[{id:R,url:ne}],ht=[...b(this.stylesheet.sprite),...Fe];this._validate(t.u.sprite,\"sprite\",ht,null,be)||(this.stylesheet.sprite=ht,this._loadSprite(Fe,!0,Ae))}removeSprite(R){this._checkLoaded();let ne=b(this.stylesheet.sprite);if(ne.find(be=>be.id===R)){if(this._spritesImagesIds[R])for(let be of this._spritesImagesIds[R])this.imageManager.removeImage(be),this._changedImages[be]=!0;ne.splice(ne.findIndex(be=>be.id===R),1),this.stylesheet.sprite=ne.length>0?ne:void 0,delete this._spritesImagesIds[R],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}else this.fire(new t.j(new Error(`Sprite \"${R}\" doesn't exists on this map.`)))}getSprite(){return b(this.stylesheet.sprite)}setSprite(R,ne={},be){this._checkLoaded(),R&&this._validate(t.u.sprite,\"sprite\",R,null,ne)||(this.stylesheet.sprite=R,R?this._loadSprite(R,!0,be):(this._unloadSprite(),be&&be(null)))}}var vn=t.Y([{name:\"a_pos\",type:\"Int16\",components:2}]);let gn={prelude:kt(`#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\n`,`#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}\n#ifdef TERRAIN3D\nuniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth;\n#endif\nconst highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) {\n#ifdef TERRAIN3D\nhighp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0));\n#else\nreturn 1.0;\n#endif\n}float calculate_visibility(vec4 pos) {\n#ifdef TERRAIN3D\nvec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}`),background:kt(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),backgroundPattern:kt(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}\"),circle:kt(`varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),clippingMask:kt(\"void main() {gl_FragColor=vec4(1.0);}\",\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),heatmap:kt(`uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,get_elevation(floor(a_pos*0.5)),1);gl_Position=u_matrix*pos;}`),heatmapTexture:kt(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}\"),collisionBox:kt(\"varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\",\"attribute vec2 a_anchor_pos;attribute vec2 a_placed;attribute vec2 a_box_real;uniform mat4 u_matrix;uniform vec2 u_pixel_extrude_scale;varying float v_placed;varying float v_notUsed;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}\"),collisionCircle:kt(\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\",\"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\"),debug:kt(\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\",\"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}\"),fill:kt(`#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}`),fillOutline:kt(`varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillOutlinePattern:kt(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillPattern:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),fillExtrusion:kt(`varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),fillExtrusionPattern:kt(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),hillshadePrepare:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\"),hillshade:kt(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\"),line:kt(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}`),lineGradient:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}`),linePattern:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),lineSDF:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),raster:kt(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\"),symbolIcon:kt(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_tex;varying float v_fade_opacity;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}`),symbolSDF:kt(`#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);inner_edge=inner_edge+gamma*gamma_scale;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);if (u_is_halo) {lowp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha=min(smoothstep(halo_edge-gamma_scaled,halo_edge+gamma_scaled,dist),1.0-alpha);}gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_data0;varying vec3 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),symbolTextAndIcon:kt(`#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec4 v_data0;varying vec4 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:kt(\"uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;varying vec2 v_texture_pos;varying float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture2D(u_texture,v_texture_pos);if (v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);gl_FragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {gl_FragColor=surface_color;}}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform mat4 u_fog_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;varying float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}\"),terrainDepth:kt(\"varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);v_depth=gl_Position.z/gl_Position.w;}\"),terrainCoords:kt(\"precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);}\"),sky:kt(\"uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform float u_horizon;uniform float u_sky_horizon_blend;void main() {float y=gl_FragCoord.y;if (y > u_horizon) {float blend=y-u_horizon;if (blend < u_sky_horizon_blend) {gl_FragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {gl_FragColor=u_sky_color;}}}\",\"attribute vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}\")};function kt(Ne,R){let ne=/#pragma mapbox: ([\\w]+) ([\\w]+) ([\\w]+) ([\\w]+)/g,be=R.match(/attribute ([\\w]+) ([\\w]+)/g),Ae=Ne.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),Fe=R.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),ht=Fe?Fe.concat(Ae):Ae,wt={};return{fragmentSource:Ne=Ne.replace(ne,(zt,Jt,hr,vr,Hr)=>(wt[Hr]=!0,Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nvarying ${hr} ${vr} ${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`)),vertexSource:R=R.replace(ne,(zt,Jt,hr,vr,Hr)=>{let ln=vr===\"float\"?\"vec2\":\"vec4\",Ge=Hr.match(/color/)?\"color\":ln;return wt[Hr]?Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nuniform lowp float u_${Hr}_t;\nattribute ${hr} ${ln} a_${Hr};\nvarying ${hr} ${vr} ${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:Ge===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${Hr} = a_${Hr};\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t);\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nuniform lowp float u_${Hr}_t;\nattribute ${hr} ${ln} a_${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:Ge===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = a_${Hr};\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t);\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`}),staticAttributes:be,staticUniforms:ht}}class or{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(R,ne,be,Ae,Fe,ht,wt,zt,Jt){this.context=R;let hr=this.boundPaintVertexBuffers.length!==Ae.length;for(let vr=0;!hr&&vr({u_matrix:Ne,u_texture:0,u_ele_delta:R,u_fog_matrix:ne,u_fog_color:be?be.properties.get(\"fog-color\"):t.aM.white,u_fog_ground_blend:be?be.properties.get(\"fog-ground-blend\"):1,u_fog_ground_blend_opacity:be?be.calculateFogBlendOpacity(Ae):0,u_horizon_color:be?be.properties.get(\"horizon-color\"):t.aM.white,u_horizon_fog_blend:be?be.properties.get(\"horizon-fog-blend\"):1});function on(Ne){let R=[];for(let ne=0;ne({u_depth:new t.aH(sr,pr.u_depth),u_terrain:new t.aH(sr,pr.u_terrain),u_terrain_dim:new t.aI(sr,pr.u_terrain_dim),u_terrain_matrix:new t.aJ(sr,pr.u_terrain_matrix),u_terrain_unpack:new t.aK(sr,pr.u_terrain_unpack),u_terrain_exaggeration:new t.aI(sr,pr.u_terrain_exaggeration)}))(R,rr),this.binderUniforms=be?be.getUniforms(R,rr):[]}draw(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St){let xt=R.gl;if(this.failedToCreate)return;if(R.program.set(this.program),R.setDepthMode(be),R.setStencilMode(Ae),R.setColorMode(Fe),R.setCullFace(ht),zt){R.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,zt.depthTexture),R.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,zt.texture);for(let rr in this.terrainUniforms)this.terrainUniforms[rr].set(zt[rr])}for(let rr in this.fixedUniforms)this.fixedUniforms[rr].set(wt[rr]);$e&&$e.setUniforms(R,this.binderUniforms,ln,{zoom:Ge});let It=0;switch(ne){case xt.LINES:It=2;break;case xt.TRIANGLES:It=3;break;case xt.LINE_STRIP:It=1}for(let rr of Hr.get()){let sr=rr.vaos||(rr.vaos={});(sr[Jt]||(sr[Jt]=new or)).bind(R,this,hr,$e?$e.getPaintVertexBuffers():[],vr,rr.vertexOffset,st,dt,St),xt.drawElements(ne,rr.primitiveLength*It,xt.UNSIGNED_SHORT,rr.primitiveOffset*It*2)}}}function Zn(Ne,R,ne){let be=1/Rn(ne,1,R.transform.tileZoom),Ae=Math.pow(2,ne.tileID.overscaledZ),Fe=ne.tileSize*Math.pow(2,R.transform.tileZoom)/Ae,ht=Fe*(ne.tileID.canonical.x+ne.tileID.wrap*Ae),wt=Fe*ne.tileID.canonical.y;return{u_image:0,u_texsize:ne.imageAtlasTexture.size,u_scale:[be,Ne.fromScale,Ne.toScale],u_fade:Ne.t,u_pixel_coord_upper:[ht>>16,wt>>16],u_pixel_coord_lower:[65535&ht,65535&wt]}}let Bn=(Ne,R,ne,be)=>{let Ae=R.style.light,Fe=Ae.properties.get(\"position\"),ht=[Fe.x,Fe.y,Fe.z],wt=function(){var Jt=new t.A(9);return t.A!=Float32Array&&(Jt[1]=0,Jt[2]=0,Jt[3]=0,Jt[5]=0,Jt[6]=0,Jt[7]=0),Jt[0]=1,Jt[4]=1,Jt[8]=1,Jt}();Ae.properties.get(\"anchor\")===\"viewport\"&&function(Jt,hr){var vr=Math.sin(hr),Hr=Math.cos(hr);Jt[0]=Hr,Jt[1]=vr,Jt[2]=0,Jt[3]=-vr,Jt[4]=Hr,Jt[5]=0,Jt[6]=0,Jt[7]=0,Jt[8]=1}(wt,-R.transform.angle),function(Jt,hr,vr){var Hr=hr[0],ln=hr[1],Ge=hr[2];Jt[0]=Hr*vr[0]+ln*vr[3]+Ge*vr[6],Jt[1]=Hr*vr[1]+ln*vr[4]+Ge*vr[7],Jt[2]=Hr*vr[2]+ln*vr[5]+Ge*vr[8]}(ht,ht,wt);let zt=Ae.properties.get(\"color\");return{u_matrix:Ne,u_lightpos:ht,u_lightintensity:Ae.properties.get(\"intensity\"),u_lightcolor:[zt.r,zt.g,zt.b],u_vertical_gradient:+ne,u_opacity:be}},wn=(Ne,R,ne,be,Ae,Fe,ht)=>t.e(Bn(Ne,R,ne,be),Zn(Fe,R,ht),{u_height_factor:-Math.pow(2,Ae.overscaledZ)/ht.tileSize/8}),Dn=Ne=>({u_matrix:Ne}),Ui=(Ne,R,ne,be)=>t.e(Dn(Ne),Zn(ne,R,be)),pi=(Ne,R)=>({u_matrix:Ne,u_world:R}),Ta=(Ne,R,ne,be,Ae)=>t.e(Ui(Ne,R,ne,be),{u_world:Ae}),Sa=(Ne,R,ne,be)=>{let Ae=Ne.transform,Fe,ht;if(be.paint.get(\"circle-pitch-alignment\")===\"map\"){let wt=Rn(ne,1,Ae.zoom);Fe=!0,ht=[wt,wt]}else Fe=!1,ht=Ae.pixelsToGLUnits;return{u_camera_to_center_distance:Ae.cameraToCenterDistance,u_scale_with_map:+(be.paint.get(\"circle-pitch-scale\")===\"map\"),u_matrix:Ne.translatePosMatrix(R.posMatrix,ne,be.paint.get(\"circle-translate\"),be.paint.get(\"circle-translate-anchor\")),u_pitch_with_map:+Fe,u_device_pixel_ratio:Ne.pixelRatio,u_extrude_scale:ht}},qa=(Ne,R,ne)=>({u_matrix:Ne,u_inv_matrix:R,u_camera_to_center_distance:ne.cameraToCenterDistance,u_viewport_size:[ne.width,ne.height]}),to=(Ne,R,ne=1)=>({u_matrix:Ne,u_color:R,u_overlay:0,u_overlay_scale:ne}),yo=Ne=>({u_matrix:Ne}),Xa=(Ne,R,ne,be)=>({u_matrix:Ne,u_extrude_scale:Rn(R,1,ne),u_intensity:be}),Go=(Ne,R,ne,be)=>{let Ae=t.H();t.aP(Ae,0,Ne.width,Ne.height,0,0,1);let Fe=Ne.context.gl;return{u_matrix:Ae,u_world:[Fe.drawingBufferWidth,Fe.drawingBufferHeight],u_image:ne,u_color_ramp:be,u_opacity:R.paint.get(\"heatmap-opacity\")}};function pa(Ne,R){let ne=Math.pow(2,R.canonical.z),be=R.canonical.y;return[new t.Z(0,be/ne).toLngLat().lat,new t.Z(0,(be+1)/ne).toLngLat().lat]}let cs=(Ne,R,ne,be)=>{let Ae=Ne.transform;return{u_matrix:Ka(Ne,R,ne,be),u_ratio:1/Rn(R,1,Ae.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_units_to_pixels:[1/Ae.pixelsToGLUnits[0],1/Ae.pixelsToGLUnits[1]]}},Ko=(Ne,R,ne,be,Ae)=>t.e(cs(Ne,R,ne,Ae),{u_image:0,u_image_height:be}),gs=(Ne,R,ne,be,Ae)=>{let Fe=Ne.transform,ht=zo(R,Fe);return{u_matrix:Ka(Ne,R,ne,Ae),u_texsize:R.imageAtlasTexture.size,u_ratio:1/Rn(R,1,Fe.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_image:0,u_scale:[ht,be.fromScale,be.toScale],u_fade:be.t,u_units_to_pixels:[1/Fe.pixelsToGLUnits[0],1/Fe.pixelsToGLUnits[1]]}},Ya=(Ne,R,ne,be,Ae,Fe)=>{let ht=Ne.lineAtlas,wt=zo(R,Ne.transform),zt=ne.layout.get(\"line-cap\")===\"round\",Jt=ht.getDash(be.from,zt),hr=ht.getDash(be.to,zt),vr=Jt.width*Ae.fromScale,Hr=hr.width*Ae.toScale;return t.e(cs(Ne,R,ne,Fe),{u_patternscale_a:[wt/vr,-Jt.height/2],u_patternscale_b:[wt/Hr,-hr.height/2],u_sdfgamma:ht.width/(256*Math.min(vr,Hr)*Ne.pixelRatio)/2,u_image:0,u_tex_y_a:Jt.y,u_tex_y_b:hr.y,u_mix:Ae.t})};function zo(Ne,R){return 1/Rn(Ne,1,R.tileZoom)}function Ka(Ne,R,ne,be){return Ne.translatePosMatrix(be?be.posMatrix:R.tileID.posMatrix,R,ne.paint.get(\"line-translate\"),ne.paint.get(\"line-translate-anchor\"))}let Yo=(Ne,R,ne,be,Ae)=>{return{u_matrix:Ne,u_tl_parent:R,u_scale_parent:ne,u_buffer_scale:1,u_fade_t:be.mix,u_opacity:be.opacity*Ae.paint.get(\"raster-opacity\"),u_image0:0,u_image1:1,u_brightness_low:Ae.paint.get(\"raster-brightness-min\"),u_brightness_high:Ae.paint.get(\"raster-brightness-max\"),u_saturation_factor:(ht=Ae.paint.get(\"raster-saturation\"),ht>0?1-1/(1.001-ht):-ht),u_contrast_factor:(Fe=Ae.paint.get(\"raster-contrast\"),Fe>0?1/(1-Fe):1+Fe),u_spin_weights:ns(Ae.paint.get(\"raster-hue-rotate\"))};var Fe,ht};function ns(Ne){Ne*=Math.PI/180;let R=Math.sin(Ne),ne=Math.cos(Ne);return[(2*ne+1)/3,(-Math.sqrt(3)*R-ne+1)/3,(Math.sqrt(3)*R-ne+1)/3]}let hs=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>{let Ge=ht.transform;return{u_is_size_zoom_constant:+(Ne===\"constant\"||Ne===\"source\"),u_is_size_feature_constant:+(Ne===\"constant\"||Ne===\"camera\"),u_size_t:R?R.uSizeT:0,u_size:R?R.uSize:0,u_camera_to_center_distance:Ge.cameraToCenterDistance,u_pitch:Ge.pitch/360*2*Math.PI,u_rotate_symbol:+ne,u_aspect_ratio:Ge.width/Ge.height,u_fade_change:ht.options.fadeDuration?ht.symbolFadeChange:1,u_matrix:wt,u_label_plane_matrix:zt,u_coord_matrix:Jt,u_is_text:+vr,u_pitch_with_map:+be,u_is_along_line:Ae,u_is_variable_anchor:Fe,u_texsize:Hr,u_texture:0,u_translation:hr,u_pitched_scale:ln}},ho=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge)=>{let $e=ht.transform;return t.e(hs(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,Ge),{u_gamma_scale:be?Math.cos($e._pitch)*$e.cameraToCenterDistance:1,u_device_pixel_ratio:ht.pixelRatio,u_is_halo:+ln})},Ro=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>t.e(ho(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,!0,vr,!0,ln),{u_texsize_icon:Hr,u_texture_icon:1}),Ls=(Ne,R,ne)=>({u_matrix:Ne,u_opacity:R,u_color:ne}),Vs=(Ne,R,ne,be,Ae,Fe)=>t.e(function(ht,wt,zt,Jt){let hr=zt.imageManager.getPattern(ht.from.toString()),vr=zt.imageManager.getPattern(ht.to.toString()),{width:Hr,height:ln}=zt.imageManager.getPixelSize(),Ge=Math.pow(2,Jt.tileID.overscaledZ),$e=Jt.tileSize*Math.pow(2,zt.transform.tileZoom)/Ge,st=$e*(Jt.tileID.canonical.x+Jt.tileID.wrap*Ge),dt=$e*Jt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:hr.tl,u_pattern_br_a:hr.br,u_pattern_tl_b:vr.tl,u_pattern_br_b:vr.br,u_texsize:[Hr,ln],u_mix:wt.t,u_pattern_size_a:hr.displaySize,u_pattern_size_b:vr.displaySize,u_scale_a:wt.fromScale,u_scale_b:wt.toScale,u_tile_units_to_pixels:1/Rn(Jt,1,zt.transform.tileZoom),u_pixel_coord_upper:[st>>16,dt>>16],u_pixel_coord_lower:[65535&st,65535&dt]}}(be,Fe,ne,Ae),{u_matrix:Ne,u_opacity:R}),Ws={fillExtrusion:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_opacity:new t.aI(Ne,R.u_opacity)}),fillExtrusionPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_height_factor:new t.aI(Ne,R.u_height_factor),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade),u_opacity:new t.aI(Ne,R.u_opacity)}),fill:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),fillPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),fillOutline:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world)}),fillOutlinePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),circle:(Ne,R)=>({u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_scale_with_map:new t.aH(Ne,R.u_scale_with_map),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_extrude_scale:new t.aO(Ne,R.u_extrude_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_matrix:new t.aJ(Ne,R.u_matrix)}),collisionBox:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_pixel_extrude_scale:new t.aO(Ne,R.u_pixel_extrude_scale)}),collisionCircle:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_inv_matrix:new t.aJ(Ne,R.u_inv_matrix),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_viewport_size:new t.aO(Ne,R.u_viewport_size)}),debug:(Ne,R)=>({u_color:new t.aL(Ne,R.u_color),u_matrix:new t.aJ(Ne,R.u_matrix),u_overlay:new t.aH(Ne,R.u_overlay),u_overlay_scale:new t.aI(Ne,R.u_overlay_scale)}),clippingMask:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmap:(Ne,R)=>({u_extrude_scale:new t.aI(Ne,R.u_extrude_scale),u_intensity:new t.aI(Ne,R.u_intensity),u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmapTexture:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_color_ramp:new t.aH(Ne,R.u_color_ramp),u_opacity:new t.aI(Ne,R.u_opacity)}),hillshade:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_latrange:new t.aO(Ne,R.u_latrange),u_light:new t.aO(Ne,R.u_light),u_shadow:new t.aL(Ne,R.u_shadow),u_highlight:new t.aL(Ne,R.u_highlight),u_accent:new t.aL(Ne,R.u_accent)}),hillshadePrepare:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_dimension:new t.aO(Ne,R.u_dimension),u_zoom:new t.aI(Ne,R.u_zoom),u_unpack:new t.aK(Ne,R.u_unpack)}),line:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels)}),lineGradient:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_image:new t.aH(Ne,R.u_image),u_image_height:new t.aI(Ne,R.u_image_height)}),linePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texsize:new t.aO(Ne,R.u_texsize),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_image:new t.aH(Ne,R.u_image),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),lineSDF:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_patternscale_a:new t.aO(Ne,R.u_patternscale_a),u_patternscale_b:new t.aO(Ne,R.u_patternscale_b),u_sdfgamma:new t.aI(Ne,R.u_sdfgamma),u_image:new t.aH(Ne,R.u_image),u_tex_y_a:new t.aI(Ne,R.u_tex_y_a),u_tex_y_b:new t.aI(Ne,R.u_tex_y_b),u_mix:new t.aI(Ne,R.u_mix)}),raster:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_tl_parent:new t.aO(Ne,R.u_tl_parent),u_scale_parent:new t.aI(Ne,R.u_scale_parent),u_buffer_scale:new t.aI(Ne,R.u_buffer_scale),u_fade_t:new t.aI(Ne,R.u_fade_t),u_opacity:new t.aI(Ne,R.u_opacity),u_image0:new t.aH(Ne,R.u_image0),u_image1:new t.aH(Ne,R.u_image1),u_brightness_low:new t.aI(Ne,R.u_brightness_low),u_brightness_high:new t.aI(Ne,R.u_brightness_high),u_saturation_factor:new t.aI(Ne,R.u_saturation_factor),u_contrast_factor:new t.aI(Ne,R.u_contrast_factor),u_spin_weights:new t.aN(Ne,R.u_spin_weights)}),symbolIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolSDF:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolTextAndIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texsize_icon:new t.aO(Ne,R.u_texsize_icon),u_texture:new t.aH(Ne,R.u_texture),u_texture_icon:new t.aH(Ne,R.u_texture_icon),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),background:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_color:new t.aL(Ne,R.u_color)}),backgroundPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_image:new t.aH(Ne,R.u_image),u_pattern_tl_a:new t.aO(Ne,R.u_pattern_tl_a),u_pattern_br_a:new t.aO(Ne,R.u_pattern_br_a),u_pattern_tl_b:new t.aO(Ne,R.u_pattern_tl_b),u_pattern_br_b:new t.aO(Ne,R.u_pattern_br_b),u_texsize:new t.aO(Ne,R.u_texsize),u_mix:new t.aI(Ne,R.u_mix),u_pattern_size_a:new t.aO(Ne,R.u_pattern_size_a),u_pattern_size_b:new t.aO(Ne,R.u_pattern_size_b),u_scale_a:new t.aI(Ne,R.u_scale_a),u_scale_b:new t.aI(Ne,R.u_scale_b),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_tile_units_to_pixels:new t.aI(Ne,R.u_tile_units_to_pixels)}),terrain:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_ele_delta:new t.aI(Ne,R.u_ele_delta),u_fog_matrix:new t.aJ(Ne,R.u_fog_matrix),u_fog_color:new t.aL(Ne,R.u_fog_color),u_fog_ground_blend:new t.aI(Ne,R.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.aI(Ne,R.u_fog_ground_blend_opacity),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon_fog_blend:new t.aI(Ne,R.u_horizon_fog_blend)}),terrainDepth:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),terrainCoords:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_terrain_coords_id:new t.aI(Ne,R.u_terrain_coords_id),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),sky:(Ne,R)=>({u_sky_color:new t.aL(Ne,R.u_sky_color),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon:new t.aI(Ne,R.u_horizon),u_sky_horizon_blend:new t.aI(Ne,R.u_sky_horizon_blend)})};class fs{constructor(R,ne,be){this.context=R;let Ae=R.gl;this.buffer=Ae.createBuffer(),this.dynamicDraw=!!be,this.context.unbindVAO(),R.bindElementBuffer.set(this.buffer),Ae.bufferData(Ae.ELEMENT_ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Ae.DYNAMIC_DRAW:Ae.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(R){let ne=this.context.gl;if(!this.dynamicDraw)throw new Error(\"Attempted to update data while not in dynamic mode.\");this.context.unbindVAO(),this.bind(),ne.bufferSubData(ne.ELEMENT_ARRAY_BUFFER,0,R.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}let Mi={Int8:\"BYTE\",Uint8:\"UNSIGNED_BYTE\",Int16:\"SHORT\",Uint16:\"UNSIGNED_SHORT\",Int32:\"INT\",Uint32:\"UNSIGNED_INT\",Float32:\"FLOAT\"};class Da{constructor(R,ne,be,Ae){this.length=ne.length,this.attributes=be,this.itemSize=ne.bytesPerElement,this.dynamicDraw=Ae,this.context=R;let Fe=R.gl;this.buffer=Fe.createBuffer(),R.bindVertexBuffer.set(this.buffer),Fe.bufferData(Fe.ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Fe.DYNAMIC_DRAW:Fe.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(R){if(R.length!==this.length)throw new Error(`Length of new data is ${R.length}, which doesn't match current length of ${this.length}`);let ne=this.context.gl;this.bind(),ne.bufferSubData(ne.ARRAY_BUFFER,0,R.arrayBuffer)}enableAttributes(R,ne){for(let be=0;be0){let sr=t.H();t.aQ(sr,xt.placementInvProjMatrix,Ne.transform.glCoordMatrix),t.aQ(sr,sr,xt.placementViewportMatrix),zt.push({circleArray:rr,circleOffset:hr,transform:St.posMatrix,invTransform:sr,coord:St}),Jt+=rr.length/4,hr=Jt}It&&wt.draw(Fe,ht.LINES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,{u_matrix:St.posMatrix,u_pixel_extrude_scale:[1/(vr=Ne.transform).width,1/vr.height]},Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St),ne.id,It.layoutVertexBuffer,It.indexBuffer,It.segments,null,Ne.transform.zoom,null,null,It.collisionVertexBuffer)}var vr;if(!Ae||!zt.length)return;let Hr=Ne.useProgram(\"collisionCircle\"),ln=new t.aR;ln.resize(4*Jt),ln._trim();let Ge=0;for(let dt of zt)for(let St=0;St=0&&(dt[xt.associatedIconIndex]={shiftedAnchor:ya,angle:ro})}else Xt(xt.numGlyphs,$e)}if(Jt){st.clear();let St=Ne.icon.placedSymbolArray;for(let xt=0;xtNe.style.map.terrain.getElevation(Mn,Dt,lr):null,Qt=ne.layout.get(\"text-rotation-alignment\")===\"map\";je(li,Mn.posMatrix,Ne,Ae,eu,mu,dt,Jt,Qt,$e,Mn.toUnwrapped(),Ge.width,Ge.height,El,Tt)}let Zl=Mn.posMatrix,Yl=Ae&&kr||Tc,de=St||Yl?pu:eu,Re=Xu,Qe=Zi&&ne.paint.get(Ae?\"text-halo-width\":\"icon-halo-width\").constantOr(1)!==0,vt;vt=Zi?li.iconsInText?Ro(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Fo,al,_n):ho(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,!0,_n):hs(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,_n);let mt={program:Va,buffers:ki,uniformValues:vt,atlasTexture:ts,atlasTextureIcon:os,atlasInterpolation:bs,atlasInterpolationIcon:fl,isSDF:Zi,hasHalo:Qe};if(rr&&li.canOverlap){sr=!0;let Tt=ki.segments.get();for(let Qt of Tt)Yr.push({segments:new t.a0([Qt]),sortKey:Qt.sortKey,state:mt,terrainData:vs})}else Yr.push({segments:ki.segments,sortKey:0,state:mt,terrainData:vs})}sr&&Yr.sort((Mn,Un)=>Mn.sortKey-Un.sortKey);for(let Mn of Yr){let Un=Mn.state;if(Hr.activeTexture.set(ln.TEXTURE0),Un.atlasTexture.bind(Un.atlasInterpolation,ln.CLAMP_TO_EDGE),Un.atlasTextureIcon&&(Hr.activeTexture.set(ln.TEXTURE1),Un.atlasTextureIcon&&Un.atlasTextureIcon.bind(Un.atlasInterpolationIcon,ln.CLAMP_TO_EDGE)),Un.isSDF){let li=Un.uniformValues;Un.hasHalo&&(li.u_is_halo=1,zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,li,Mn.terrainData)),li.u_is_halo=0}zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,Un.uniformValues,Mn.terrainData)}}function zf(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt){let hr=be.context;Ae.draw(hr,hr.gl.TRIANGLES,Fe,ht,wt,Vo.disabled,zt,Jt,ne.id,Ne.layoutVertexBuffer,Ne.indexBuffer,R,ne.paint,be.transform.zoom,Ne.programConfigurations.get(ne.id),Ne.dynamicLayoutVertexBuffer,Ne.opacityVertexBuffer)}function wf(Ne,R,ne,be){let Ae=Ne.context,Fe=Ae.gl,ht=Bs.disabled,wt=new ll([Fe.ONE,Fe.ONE],t.aM.transparent,[!0,!0,!0,!0]),zt=R.getBucket(ne);if(!zt)return;let Jt=be.key,hr=ne.heatmapFbos.get(Jt);hr||(hr=Ff(Ae,R.tileSize,R.tileSize),ne.heatmapFbos.set(Jt,hr)),Ae.bindFramebuffer.set(hr.framebuffer),Ae.viewport.set([0,0,R.tileSize,R.tileSize]),Ae.clear({color:t.aM.transparent});let vr=zt.programConfigurations.get(ne.id),Hr=Ne.useProgram(\"heatmap\",vr),ln=Ne.style.map.terrain.getTerrainData(be);Hr.draw(Ae,Fe.TRIANGLES,ds.disabled,ht,wt,Vo.disabled,Xa(be.posMatrix,R,Ne.transform.zoom,ne.paint.get(\"heatmap-intensity\")),ln,ne.id,zt.layoutVertexBuffer,zt.indexBuffer,zt.segments,ne.paint,Ne.transform.zoom,vr)}function Gc(Ne,R,ne){let be=Ne.context,Ae=be.gl;be.setColorMode(Ne.colorModeForRenderPass());let Fe=$f(be,R),ht=ne.key,wt=R.heatmapFbos.get(ht);wt&&(be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,wt.colorAttachment.get()),be.activeTexture.set(Ae.TEXTURE1),Fe.bind(Ae.LINEAR,Ae.CLAMP_TO_EDGE),Ne.useProgram(\"heatmapTexture\").draw(be,Ae.TRIANGLES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,Go(Ne,R,0,1),null,R.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments,R.paint,Ne.transform.zoom),wt.destroy(),R.heatmapFbos.delete(ht))}function Ff(Ne,R,ne){var be,Ae;let Fe=Ne.gl,ht=Fe.createTexture();Fe.bindTexture(Fe.TEXTURE_2D,ht),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,Fe.LINEAR),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,Fe.LINEAR);let wt=(be=Ne.HALF_FLOAT)!==null&&be!==void 0?be:Fe.UNSIGNED_BYTE,zt=(Ae=Ne.RGBA16F)!==null&&Ae!==void 0?Ae:Fe.RGBA;Fe.texImage2D(Fe.TEXTURE_2D,0,zt,R,ne,0,Fe.RGBA,wt,null);let Jt=Ne.createFramebuffer(R,ne,!1,!1);return Jt.colorAttachment.set(ht),Jt}function $f(Ne,R){return R.colorRampTexture||(R.colorRampTexture=new u(Ne,R.colorRamp,Ne.gl.RGBA)),R.colorRampTexture}function ec(Ne,R,ne,be,Ae){if(!ne||!be||!be.imageAtlas)return;let Fe=be.imageAtlas.patternPositions,ht=Fe[ne.to.toString()],wt=Fe[ne.from.toString()];if(!ht&&wt&&(ht=wt),!wt&&ht&&(wt=ht),!ht||!wt){let zt=Ae.getPaintProperty(R);ht=Fe[zt],wt=Fe[zt]}ht&&wt&&Ne.setConstantPatternPositions(ht,wt)}function Tf(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context.gl,zt=\"fill-pattern\",Jt=ne.paint.get(zt),hr=Jt&&Jt.constantOr(1),vr=ne.getCrossfadeParameters(),Hr,ln,Ge,$e,st;ht?(ln=hr&&!ne.getPaintProperty(\"fill-outline-color\")?\"fillOutlinePattern\":\"fillOutline\",Hr=wt.LINES):(ln=hr?\"fillPattern\":\"fill\",Hr=wt.TRIANGLES);let dt=Jt.constantOr(null);for(let St of be){let xt=R.getTile(St);if(hr&&!xt.patternsLoaded())continue;let It=xt.getBucket(ne);if(!It)continue;let rr=It.programConfigurations.get(ne.id),sr=Ne.useProgram(ln,rr),pr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St);hr&&(Ne.context.activeTexture.set(wt.TEXTURE0),xt.imageAtlasTexture.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),rr.updatePaintBuffers(vr)),ec(rr,zt,dt,xt,ne);let kr=pr?St:null,Yr=Ne.translatePosMatrix(kr?kr.posMatrix:St.posMatrix,xt,ne.paint.get(\"fill-translate\"),ne.paint.get(\"fill-translate-anchor\"));if(ht){$e=It.indexBuffer2,st=It.segments2;let _n=[wt.drawingBufferWidth,wt.drawingBufferHeight];Ge=ln===\"fillOutlinePattern\"&&hr?Ta(Yr,Ne,vr,xt,_n):pi(Yr,_n)}else $e=It.indexBuffer,st=It.segments,Ge=hr?Ui(Yr,Ne,vr,xt):Dn(Yr);sr.draw(Ne.context,Hr,Ae,Ne.stencilModeForClipping(St),Fe,Vo.disabled,Ge,pr,ne.id,It.layoutVertexBuffer,$e,st,ne.paint,Ne.transform.zoom,rr)}}function Pc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=\"fill-extrusion-pattern\",hr=ne.paint.get(Jt),vr=hr.constantOr(1),Hr=ne.getCrossfadeParameters(),ln=ne.paint.get(\"fill-extrusion-opacity\"),Ge=hr.constantOr(null);for(let $e of be){let st=R.getTile($e),dt=st.getBucket(ne);if(!dt)continue;let St=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData($e),xt=dt.programConfigurations.get(ne.id),It=Ne.useProgram(vr?\"fillExtrusionPattern\":\"fillExtrusion\",xt);vr&&(Ne.context.activeTexture.set(zt.TEXTURE0),st.imageAtlasTexture.bind(zt.LINEAR,zt.CLAMP_TO_EDGE),xt.updatePaintBuffers(Hr)),ec(xt,Jt,Ge,st,ne);let rr=Ne.translatePosMatrix($e.posMatrix,st,ne.paint.get(\"fill-extrusion-translate\"),ne.paint.get(\"fill-extrusion-translate-anchor\")),sr=ne.paint.get(\"fill-extrusion-vertical-gradient\"),pr=vr?wn(rr,Ne,sr,ln,$e,Hr,st):Bn(rr,Ne,sr,ln);It.draw(wt,wt.gl.TRIANGLES,Ae,Fe,ht,Vo.backCCW,pr,St,ne.id,dt.layoutVertexBuffer,dt.indexBuffer,dt.segments,ne.paint,Ne.transform.zoom,xt,Ne.style.map.terrain&&dt.centroidVertexBuffer)}}function Wc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=ne.fbo;if(!Jt)return;let hr=Ne.useProgram(\"hillshade\"),vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(R);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Jt.colorAttachment.get()),hr.draw(wt,zt.TRIANGLES,Ae,Fe,ht,Vo.disabled,((Hr,ln,Ge,$e)=>{let st=Ge.paint.get(\"hillshade-shadow-color\"),dt=Ge.paint.get(\"hillshade-highlight-color\"),St=Ge.paint.get(\"hillshade-accent-color\"),xt=Ge.paint.get(\"hillshade-illumination-direction\")*(Math.PI/180);Ge.paint.get(\"hillshade-illumination-anchor\")===\"viewport\"&&(xt-=Hr.transform.angle);let It=!Hr.options.moving;return{u_matrix:$e?$e.posMatrix:Hr.transform.calculatePosMatrix(ln.tileID.toUnwrapped(),It),u_image:0,u_latrange:pa(0,ln.tileID),u_light:[Ge.paint.get(\"hillshade-exaggeration\"),xt],u_shadow:st,u_highlight:dt,u_accent:St}})(Ne,ne,be,vr?R:null),vr,be.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments)}function Pu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl,zt=R.dem;if(zt&&zt.data){let Jt=zt.dim,hr=zt.stride,vr=zt.getPixels();if(ht.activeTexture.set(wt.TEXTURE1),ht.pixelStoreUnpackPremultiplyAlpha.set(!1),R.demTexture=R.demTexture||Ne.getTileTexture(hr),R.demTexture){let ln=R.demTexture;ln.update(vr,{premultiply:!1}),ln.bind(wt.NEAREST,wt.CLAMP_TO_EDGE)}else R.demTexture=new u(ht,vr,wt.RGBA,{premultiply:!1}),R.demTexture.bind(wt.NEAREST,wt.CLAMP_TO_EDGE);ht.activeTexture.set(wt.TEXTURE0);let Hr=R.fbo;if(!Hr){let ln=new u(ht,{width:Jt,height:Jt,data:null},wt.RGBA);ln.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),Hr=R.fbo=ht.createFramebuffer(Jt,Jt,!0,!1),Hr.colorAttachment.set(ln.texture)}ht.bindFramebuffer.set(Hr.framebuffer),ht.viewport.set([0,0,Jt,Jt]),Ne.useProgram(\"hillshadePrepare\").draw(ht,wt.TRIANGLES,be,Ae,Fe,Vo.disabled,((ln,Ge)=>{let $e=Ge.stride,st=t.H();return t.aP(st,0,t.X,-t.X,0,0,1),t.J(st,st,[0,-t.X,0]),{u_matrix:st,u_image:1,u_dimension:[$e,$e],u_zoom:ln.overscaledZ,u_unpack:Ge.getUnpackVector()}})(R.tileID,zt),null,ne.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments),R.needsHillshadePrepare=!1}}function cf(Ne,R,ne,be,Ae,Fe){let ht=be.paint.get(\"raster-fade-duration\");if(!Fe&&ht>0){let wt=i.now(),zt=(wt-Ne.timeAdded)/ht,Jt=R?(wt-R.timeAdded)/ht:-1,hr=ne.getSource(),vr=Ae.coveringZoomLevel({tileSize:hr.tileSize,roundZoom:hr.roundZoom}),Hr=!R||Math.abs(R.tileID.overscaledZ-vr)>Math.abs(Ne.tileID.overscaledZ-vr),ln=Hr&&Ne.refreshedUponExpiration?1:t.ac(Hr?zt:1-Jt,0,1);return Ne.refreshedUponExpiration&&zt>=1&&(Ne.refreshedUponExpiration=!1),R?{opacity:1,mix:1-ln}:{opacity:ln,mix:0}}return{opacity:1,mix:0}}let Ic=new t.aM(1,0,0,1),Ks=new t.aM(0,1,0,1),Of=new t.aM(0,0,1,1),Eh=new t.aM(1,0,1,1),Qf=new t.aM(0,1,1,1);function af(Ne,R,ne,be){Iu(Ne,0,R+ne/2,Ne.transform.width,ne,be)}function lh(Ne,R,ne,be){Iu(Ne,R-ne/2,0,ne,Ne.transform.height,be)}function Iu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl;wt.enable(wt.SCISSOR_TEST),wt.scissor(R*Ne.pixelRatio,ne*Ne.pixelRatio,be*Ne.pixelRatio,Ae*Ne.pixelRatio),ht.clear({color:Fe}),wt.disable(wt.SCISSOR_TEST)}function eh(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=ne.posMatrix,ht=Ne.useProgram(\"debug\"),wt=ds.disabled,zt=Bs.disabled,Jt=Ne.colorModeForRenderPass(),hr=\"$debug\",vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(ne);be.activeTexture.set(Ae.TEXTURE0);let Hr=R.getTileByID(ne.key).latestRawTileData,ln=Math.floor((Hr&&Hr.byteLength||0)/1024),Ge=R.getTile(ne).tileSize,$e=512/Math.min(Ge,512)*(ne.overscaledZ/Ne.transform.zoom)*.5,st=ne.canonical.toString();ne.overscaledZ!==ne.canonical.z&&(st+=` => ${ne.overscaledZ}`),function(dt,St){dt.initDebugOverlayCanvas();let xt=dt.debugOverlayCanvas,It=dt.context.gl,rr=dt.debugOverlayCanvas.getContext(\"2d\");rr.clearRect(0,0,xt.width,xt.height),rr.shadowColor=\"white\",rr.shadowBlur=2,rr.lineWidth=1.5,rr.strokeStyle=\"white\",rr.textBaseline=\"top\",rr.font=\"bold 36px Open Sans, sans-serif\",rr.fillText(St,5,5),rr.strokeText(St,5,5),dt.debugOverlayTexture.update(xt),dt.debugOverlayTexture.bind(It.LINEAR,It.CLAMP_TO_EDGE)}(Ne,`${st} ${ln}kB`),ht.draw(be,Ae.TRIANGLES,wt,zt,ll.alphaBlended,Vo.disabled,to(Fe,t.aM.transparent,$e),null,hr,Ne.debugBuffer,Ne.quadTriangleIndexBuffer,Ne.debugSegments),ht.draw(be,Ae.LINE_STRIP,wt,zt,Jt,Vo.disabled,to(Fe,t.aM.red),vr,hr,Ne.debugBuffer,Ne.tileBorderIndexBuffer,Ne.debugSegments)}function su(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=Ne.colorModeForRenderPass(),ht=new ds(Ae.LEQUAL,ds.ReadWrite,Ne.depthRangeFor3D),wt=Ne.useProgram(\"terrain\"),zt=R.getTerrainMesh();be.bindFramebuffer.set(null),be.viewport.set([0,0,Ne.width,Ne.height]);for(let Jt of ne){let hr=Ne.renderToTexture.getTexture(Jt),vr=R.getTerrainData(Jt.tileID);be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,hr.texture);let Hr=Ne.transform.calculatePosMatrix(Jt.tileID.toUnwrapped()),ln=R.getMeshFrameDelta(Ne.transform.zoom),Ge=Ne.transform.calculateFogMatrix(Jt.tileID.toUnwrapped()),$e=yr(Hr,ln,Ge,Ne.style.sky,Ne.transform.pitch);wt.draw(be,Ae.TRIANGLES,ht,Bs.disabled,Fe,Vo.backCCW,$e,vr,\"terrain\",zt.vertexBuffer,zt.indexBuffer,zt.segments)}}class Ru{constructor(R,ne,be){this.vertexBuffer=R,this.indexBuffer=ne,this.segments=be}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}class yc{constructor(R,ne){this.context=new Nh(R),this.transform=ne,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:t.an(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Et.maxUnderzooming+Et.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Lr}resize(R,ne,be){if(this.width=Math.floor(R*be),this.height=Math.floor(ne*be),this.pixelRatio=be,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(let Ae of this.style._order)this.style._layers[Ae].resize()}setup(){let R=this.context,ne=new t.aX;ne.emplaceBack(0,0),ne.emplaceBack(t.X,0),ne.emplaceBack(0,t.X),ne.emplaceBack(t.X,t.X),this.tileExtentBuffer=R.createVertexBuffer(ne,vn.members),this.tileExtentSegments=t.a0.simpleSegment(0,0,4,2);let be=new t.aX;be.emplaceBack(0,0),be.emplaceBack(t.X,0),be.emplaceBack(0,t.X),be.emplaceBack(t.X,t.X),this.debugBuffer=R.createVertexBuffer(be,vn.members),this.debugSegments=t.a0.simpleSegment(0,0,4,5);let Ae=new t.$;Ae.emplaceBack(0,0,0,0),Ae.emplaceBack(t.X,0,t.X,0),Ae.emplaceBack(0,t.X,0,t.X),Ae.emplaceBack(t.X,t.X,t.X,t.X),this.rasterBoundsBuffer=R.createVertexBuffer(Ae,Ye.members),this.rasterBoundsSegments=t.a0.simpleSegment(0,0,4,2);let Fe=new t.aX;Fe.emplaceBack(0,0),Fe.emplaceBack(1,0),Fe.emplaceBack(0,1),Fe.emplaceBack(1,1),this.viewportBuffer=R.createVertexBuffer(Fe,vn.members),this.viewportSegments=t.a0.simpleSegment(0,0,4,2);let ht=new t.aZ;ht.emplaceBack(0),ht.emplaceBack(1),ht.emplaceBack(3),ht.emplaceBack(2),ht.emplaceBack(0),this.tileBorderIndexBuffer=R.createIndexBuffer(ht);let wt=new t.aY;wt.emplaceBack(0,1,2),wt.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=R.createIndexBuffer(wt);let zt=this.context.gl;this.stencilClearMode=new Bs({func:zt.ALWAYS,mask:0},0,255,zt.ZERO,zt.ZERO,zt.ZERO)}clearStencil(){let R=this.context,ne=R.gl;this.nextStencilID=1,this.currentStencilSource=void 0;let be=t.H();t.aP(be,0,this.width,this.height,0,0,1),t.K(be,be,[ne.drawingBufferWidth,ne.drawingBufferHeight,0]),this.useProgram(\"clippingMask\").draw(R,ne.TRIANGLES,ds.disabled,this.stencilClearMode,ll.disabled,Vo.disabled,yo(be),null,\"$clipping\",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(R,ne){if(this.currentStencilSource===R.source||!R.isTileClipped()||!ne||!ne.length)return;this.currentStencilSource=R.source;let be=this.context,Ae=be.gl;this.nextStencilID+ne.length>256&&this.clearStencil(),be.setColorMode(ll.disabled),be.setDepthMode(ds.disabled);let Fe=this.useProgram(\"clippingMask\");this._tileClippingMaskIDs={};for(let ht of ne){let wt=this._tileClippingMaskIDs[ht.key]=this.nextStencilID++,zt=this.style.map.terrain&&this.style.map.terrain.getTerrainData(ht);Fe.draw(be,Ae.TRIANGLES,ds.disabled,new Bs({func:Ae.ALWAYS,mask:0},wt,255,Ae.KEEP,Ae.KEEP,Ae.REPLACE),ll.disabled,Vo.disabled,yo(ht.posMatrix),zt,\"$clipping\",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();let R=this.nextStencilID++,ne=this.context.gl;return new Bs({func:ne.NOTEQUAL,mask:255},R,255,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilModeForClipping(R){let ne=this.context.gl;return new Bs({func:ne.EQUAL,mask:255},this._tileClippingMaskIDs[R.key],0,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilConfigForOverlap(R){let ne=this.context.gl,be=R.sort((ht,wt)=>wt.overscaledZ-ht.overscaledZ),Ae=be[be.length-1].overscaledZ,Fe=be[0].overscaledZ-Ae+1;if(Fe>1){this.currentStencilSource=void 0,this.nextStencilID+Fe>256&&this.clearStencil();let ht={};for(let wt=0;wt({u_sky_color:dt.properties.get(\"sky-color\"),u_horizon_color:dt.properties.get(\"horizon-color\"),u_horizon:(St.height/2+St.getHorizon())*xt,u_sky_horizon_blend:dt.properties.get(\"sky-horizon-blend\")*St.height/2*xt}))(Jt,zt.style.map.transform,zt.pixelRatio),ln=new ds(vr.LEQUAL,ds.ReadWrite,[0,1]),Ge=Bs.disabled,$e=zt.colorModeForRenderPass(),st=zt.useProgram(\"sky\");if(!Jt.mesh){let dt=new t.aX;dt.emplaceBack(-1,-1),dt.emplaceBack(1,-1),dt.emplaceBack(1,1),dt.emplaceBack(-1,1);let St=new t.aY;St.emplaceBack(0,1,2),St.emplaceBack(0,2,3),Jt.mesh=new Ru(hr.createVertexBuffer(dt,vn.members),hr.createIndexBuffer(St),t.a0.simpleSegment(0,0,dt.length,St.length))}st.draw(hr,vr.TRIANGLES,ln,Ge,$e,Vo.disabled,Hr,void 0,\"sky\",Jt.mesh.vertexBuffer,Jt.mesh.indexBuffer,Jt.mesh.segments)}(this,this.style.sky),this._showOverdrawInspector=ne.showOverdrawInspector,this.depthRangeFor3D=[0,1-(R._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass=\"opaque\",this.currentLayer=be.length-1;this.currentLayer>=0;this.currentLayer--){let zt=this.style._layers[be[this.currentLayer]],Jt=Ae[zt.source],hr=Fe[zt.source];this._renderTileClippingMasks(zt,hr),this.renderLayer(this,Jt,zt,hr)}for(this.renderPass=\"translucent\",this.currentLayer=0;this.currentLayerst.source&&!st.isHidden(hr)?[Jt.sourceCaches[st.source]]:[]),ln=Hr.filter(st=>st.getSource().type===\"vector\"),Ge=Hr.filter(st=>st.getSource().type!==\"vector\"),$e=st=>{(!vr||vr.getSource().maxzoom$e(st)),vr||Ge.forEach(st=>$e(st)),vr}(this.style,this.transform.zoom);zt&&function(Jt,hr,vr){for(let Hr=0;Hr0),Ae&&(t.b0(ne,be),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.sourceCache.getRenderableTiles(),ln=Fe.useProgram(\"terrainDepth\");wt.bindFramebuffer.set(ht.getFramebuffer(\"depth\").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1});for(let Ge of Hr){let $e=ht.getTerrainData(Ge.tileID),st={u_matrix:Fe.transform.calculatePosMatrix(Ge.tileID.toUnwrapped()),u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};ln.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,st,$e,\"terrain\",vr.vertexBuffer,vr.indexBuffer,vr.segments)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain),function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.getCoordsTexture(),ln=ht.sourceCache.getRenderableTiles(),Ge=Fe.useProgram(\"terrainCoords\");wt.bindFramebuffer.set(ht.getFramebuffer(\"coords\").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1}),ht.coordsIndex=[];for(let $e of ln){let st=ht.getTerrainData($e.tileID);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Hr.texture);let dt={u_matrix:Fe.transform.calculatePosMatrix($e.tileID.toUnwrapped()),u_terrain_coords_id:(255-ht.coordsIndex.length)/255,u_texture:0,u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};Ge.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,dt,st,\"terrain\",vr.vertexBuffer,vr.indexBuffer,vr.segments),ht.coordsIndex.push($e.tileID.key)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain))}renderLayer(R,ne,be,Ae){if(!be.isHidden(this.transform.zoom)&&(be.type===\"background\"||be.type===\"custom\"||(Ae||[]).length))switch(this.id=be.id,be.type){case\"symbol\":(function(Fe,ht,wt,zt,Jt){if(Fe.renderPass!==\"translucent\")return;let hr=Bs.disabled,vr=Fe.colorModeForRenderPass();(wt._unevaluatedLayout.hasValue(\"text-variable-anchor\")||wt._unevaluatedLayout.hasValue(\"text-variable-anchor-offset\"))&&function(Hr,ln,Ge,$e,st,dt,St,xt,It){let rr=ln.transform,sr=ui(),pr=st===\"map\",kr=dt===\"map\";for(let Yr of Hr){let _n=$e.getTile(Yr),Mn=_n.getBucket(Ge);if(!Mn||!Mn.text||!Mn.text.segments.get().length)continue;let Un=t.ag(Mn.textSizeData,rr.zoom),li=Rn(_n,1,ln.transform.zoom),ki=gr(Yr.posMatrix,kr,pr,ln.transform,li),Ci=Ge.layout.get(\"icon-text-fit\")!==\"none\"&&Mn.hasIconData();if(Un){let Zi=Math.pow(2,rr.zoom-_n.tileID.overscaledZ),ya=ln.style.map.terrain?(Va,Io)=>ln.style.map.terrain.getElevation(Yr,Va,Io):null,ro=sr.translatePosition(rr,_n,St,xt);nf(Mn,pr,kr,It,rr,ki,Yr.posMatrix,Zi,Un,Ci,sr,ro,Yr.toUnwrapped(),ya)}}}(zt,Fe,wt,ht,wt.layout.get(\"text-rotation-alignment\"),wt.layout.get(\"text-pitch-alignment\"),wt.paint.get(\"text-translate\"),wt.paint.get(\"text-translate-anchor\"),Jt),wt.paint.get(\"icon-opacity\").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!1,wt.paint.get(\"icon-translate\"),wt.paint.get(\"icon-translate-anchor\"),wt.layout.get(\"icon-rotation-alignment\"),wt.layout.get(\"icon-pitch-alignment\"),wt.layout.get(\"icon-keep-upright\"),hr,vr),wt.paint.get(\"text-opacity\").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!0,wt.paint.get(\"text-translate\"),wt.paint.get(\"text-translate-anchor\"),wt.layout.get(\"text-rotation-alignment\"),wt.layout.get(\"text-pitch-alignment\"),wt.layout.get(\"text-keep-upright\"),hr,vr),ht.map.showCollisionBoxes&&(Qu(Fe,ht,wt,zt,!0),Qu(Fe,ht,wt,zt,!1))})(R,ne,be,Ae,this.style.placement.variableOffsets);break;case\"circle\":(function(Fe,ht,wt,zt){if(Fe.renderPass!==\"translucent\")return;let Jt=wt.paint.get(\"circle-opacity\"),hr=wt.paint.get(\"circle-stroke-width\"),vr=wt.paint.get(\"circle-stroke-opacity\"),Hr=!wt.layout.get(\"circle-sort-key\").isConstant();if(Jt.constantOr(1)===0&&(hr.constantOr(1)===0||vr.constantOr(1)===0))return;let ln=Fe.context,Ge=ln.gl,$e=Fe.depthModeForSublayer(0,ds.ReadOnly),st=Bs.disabled,dt=Fe.colorModeForRenderPass(),St=[];for(let xt=0;xtxt.sortKey-It.sortKey);for(let xt of St){let{programConfiguration:It,program:rr,layoutVertexBuffer:sr,indexBuffer:pr,uniformValues:kr,terrainData:Yr}=xt.state;rr.draw(ln,Ge.TRIANGLES,$e,st,dt,Vo.disabled,kr,Yr,wt.id,sr,pr,xt.segments,wt.paint,Fe.transform.zoom,It)}})(R,ne,be,Ae);break;case\"heatmap\":(function(Fe,ht,wt,zt){if(wt.paint.get(\"heatmap-opacity\")===0)return;let Jt=Fe.context;if(Fe.style.map.terrain){for(let hr of zt){let vr=ht.getTile(hr);ht.hasRenderableParent(hr)||(Fe.renderPass===\"offscreen\"?wf(Fe,vr,wt,hr):Fe.renderPass===\"translucent\"&&Gc(Fe,wt,hr))}Jt.viewport.set([0,0,Fe.width,Fe.height])}else Fe.renderPass===\"offscreen\"?function(hr,vr,Hr,ln){let Ge=hr.context,$e=Ge.gl,st=Bs.disabled,dt=new ll([$e.ONE,$e.ONE],t.aM.transparent,[!0,!0,!0,!0]);(function(St,xt,It){let rr=St.gl;St.activeTexture.set(rr.TEXTURE1),St.viewport.set([0,0,xt.width/4,xt.height/4]);let sr=It.heatmapFbos.get(t.aU);sr?(rr.bindTexture(rr.TEXTURE_2D,sr.colorAttachment.get()),St.bindFramebuffer.set(sr.framebuffer)):(sr=Ff(St,xt.width/4,xt.height/4),It.heatmapFbos.set(t.aU,sr))})(Ge,hr,Hr),Ge.clear({color:t.aM.transparent});for(let St=0;St20&&hr.texParameterf(hr.TEXTURE_2D,Jt.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,Jt.extTextureFilterAnisotropicMax);let Mn=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(St),Un=Mn?St:null,li=Un?Un.posMatrix:Fe.transform.calculatePosMatrix(St.toUnwrapped(),dt),ki=Yo(li,Yr||[0,0],kr||1,pr,wt);vr instanceof it?Hr.draw(Jt,hr.TRIANGLES,xt,Bs.disabled,ln,Vo.disabled,ki,Mn,wt.id,vr.boundsBuffer,Fe.quadTriangleIndexBuffer,vr.boundsSegments):Hr.draw(Jt,hr.TRIANGLES,xt,Ge[St.overscaledZ],ln,Vo.disabled,ki,Mn,wt.id,Fe.rasterBoundsBuffer,Fe.quadTriangleIndexBuffer,Fe.rasterBoundsSegments)}})(R,ne,be,Ae);break;case\"background\":(function(Fe,ht,wt,zt){let Jt=wt.paint.get(\"background-color\"),hr=wt.paint.get(\"background-opacity\");if(hr===0)return;let vr=Fe.context,Hr=vr.gl,ln=Fe.transform,Ge=ln.tileSize,$e=wt.paint.get(\"background-pattern\");if(Fe.isPatternMissing($e))return;let st=!$e&&Jt.a===1&&hr===1&&Fe.opaquePassEnabledForLayer()?\"opaque\":\"translucent\";if(Fe.renderPass!==st)return;let dt=Bs.disabled,St=Fe.depthModeForSublayer(0,st===\"opaque\"?ds.ReadWrite:ds.ReadOnly),xt=Fe.colorModeForRenderPass(),It=Fe.useProgram($e?\"backgroundPattern\":\"background\"),rr=zt||ln.coveringTiles({tileSize:Ge,terrain:Fe.style.map.terrain});$e&&(vr.activeTexture.set(Hr.TEXTURE0),Fe.imageManager.bind(Fe.context));let sr=wt.getCrossfadeParameters();for(let pr of rr){let kr=zt?pr.posMatrix:Fe.transform.calculatePosMatrix(pr.toUnwrapped()),Yr=$e?Vs(kr,hr,Fe,$e,{tileID:pr,tileSize:Ge},sr):Ls(kr,hr,Jt),_n=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(pr);It.draw(vr,Hr.TRIANGLES,St,dt,xt,Vo.disabled,Yr,_n,wt.id,Fe.tileExtentBuffer,Fe.quadTriangleIndexBuffer,Fe.tileExtentSegments)}})(R,0,be,Ae);break;case\"custom\":(function(Fe,ht,wt){let zt=Fe.context,Jt=wt.implementation;if(Fe.renderPass===\"offscreen\"){let hr=Jt.prerender;hr&&(Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),hr.call(Jt,zt.gl,Fe.transform.customLayerMatrix()),zt.setDirty(),Fe.setBaseState())}else if(Fe.renderPass===\"translucent\"){Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),zt.setStencilMode(Bs.disabled);let hr=Jt.renderingMode===\"3d\"?new ds(Fe.context.gl.LEQUAL,ds.ReadWrite,Fe.depthRangeFor3D):Fe.depthModeForSublayer(0,ds.ReadOnly);zt.setDepthMode(hr),Jt.render(zt.gl,Fe.transform.customLayerMatrix(),{farZ:Fe.transform.farZ,nearZ:Fe.transform.nearZ,fov:Fe.transform._fov,modelViewProjectionMatrix:Fe.transform.modelViewProjectionMatrix,projectionMatrix:Fe.transform.projectionMatrix}),zt.setDirty(),Fe.setBaseState(),zt.bindFramebuffer.set(null)}})(R,0,be)}}translatePosMatrix(R,ne,be,Ae,Fe){if(!be[0]&&!be[1])return R;let ht=Fe?Ae===\"map\"?this.transform.angle:0:Ae===\"viewport\"?-this.transform.angle:0;if(ht){let Jt=Math.sin(ht),hr=Math.cos(ht);be=[be[0]*hr-be[1]*Jt,be[0]*Jt+be[1]*hr]}let wt=[Fe?be[0]:Rn(ne,be[0],this.transform.zoom),Fe?be[1]:Rn(ne,be[1],this.transform.zoom),0],zt=new Float32Array(16);return t.J(zt,R,wt),zt}saveTileTexture(R){let ne=this._tileTextures[R.size[0]];ne?ne.push(R):this._tileTextures[R.size[0]]=[R]}getTileTexture(R){let ne=this._tileTextures[R];return ne&&ne.length>0?ne.pop():null}isPatternMissing(R){if(!R)return!1;if(!R.from||!R.to)return!0;let ne=this.imageManager.getPattern(R.from.toString()),be=this.imageManager.getPattern(R.to.toString());return!ne||!be}useProgram(R,ne){this.cache=this.cache||{};let be=R+(ne?ne.cacheKey:\"\")+(this._showOverdrawInspector?\"/overdraw\":\"\")+(this.style.map.terrain?\"/terrain\":\"\");return this.cache[be]||(this.cache[be]=new An(this.context,gn[R],ne,Ws[R],this._showOverdrawInspector,this.style.map.terrain)),this.cache[be]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){let R=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(R.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement(\"canvas\"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new u(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){let{drawingBufferWidth:R,drawingBufferHeight:ne}=this.context.gl;return this.width!==R||this.height!==ne}}class Dl{constructor(R,ne){this.points=R,this.planes=ne}static fromInvProjectionMatrix(R,ne,be){let Ae=Math.pow(2,be),Fe=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(wt=>{let zt=1/(wt=t.af([],wt,R))[3]/ne*Ae;return t.b1(wt,wt,[zt,zt,1/wt[3],zt])}),ht=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(wt=>{let zt=function(Hr,ln){var Ge=ln[0],$e=ln[1],st=ln[2],dt=Ge*Ge+$e*$e+st*st;return dt>0&&(dt=1/Math.sqrt(dt)),Hr[0]=ln[0]*dt,Hr[1]=ln[1]*dt,Hr[2]=ln[2]*dt,Hr}([],function(Hr,ln,Ge){var $e=ln[0],st=ln[1],dt=ln[2],St=Ge[0],xt=Ge[1],It=Ge[2];return Hr[0]=st*It-dt*xt,Hr[1]=dt*St-$e*It,Hr[2]=$e*xt-st*St,Hr}([],E([],Fe[wt[0]],Fe[wt[1]]),E([],Fe[wt[2]],Fe[wt[1]]))),Jt=-((hr=zt)[0]*(vr=Fe[wt[1]])[0]+hr[1]*vr[1]+hr[2]*vr[2]);var hr,vr;return zt.concat(Jt)});return new Dl(Fe,ht)}}class Rc{constructor(R,ne){this.min=R,this.max=ne,this.center=function(be,Ae,Fe){return be[0]=.5*Ae[0],be[1]=.5*Ae[1],be[2]=.5*Ae[2],be}([],function(be,Ae,Fe){return be[0]=Ae[0]+Fe[0],be[1]=Ae[1]+Fe[1],be[2]=Ae[2]+Fe[2],be}([],this.min,this.max))}quadrant(R){let ne=[R%2==0,R<2],be=w(this.min),Ae=w(this.max);for(let Fe=0;Fe=0&&ht++;if(ht===0)return 0;ht!==ne.length&&(be=!1)}if(be)return 2;for(let Ae=0;Ae<3;Ae++){let Fe=Number.MAX_VALUE,ht=-Number.MAX_VALUE;for(let wt=0;wtthis.max[Ae]-this.min[Ae])return 0}return 1}}class tc{constructor(R=0,ne=0,be=0,Ae=0){if(isNaN(R)||R<0||isNaN(ne)||ne<0||isNaN(be)||be<0||isNaN(Ae)||Ae<0)throw new Error(\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\");this.top=R,this.bottom=ne,this.left=be,this.right=Ae}interpolate(R,ne,be){return ne.top!=null&&R.top!=null&&(this.top=t.y.number(R.top,ne.top,be)),ne.bottom!=null&&R.bottom!=null&&(this.bottom=t.y.number(R.bottom,ne.bottom,be)),ne.left!=null&&R.left!=null&&(this.left=t.y.number(R.left,ne.left,be)),ne.right!=null&&R.right!=null&&(this.right=t.y.number(R.right,ne.right,be)),this}getCenter(R,ne){let be=t.ac((this.left+R-this.right)/2,0,R),Ae=t.ac((this.top+ne-this.bottom)/2,0,ne);return new t.P(be,Ae)}equals(R){return this.top===R.top&&this.bottom===R.bottom&&this.left===R.left&&this.right===R.right}clone(){return new tc(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}let xu=85.051129;class Sl{constructor(R,ne,be,Ae,Fe){this.tileSize=512,this._renderWorldCopies=Fe===void 0||!!Fe,this._minZoom=R||0,this._maxZoom=ne||22,this._minPitch=be??0,this._maxPitch=Ae??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.N(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new tc,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={},this.minElevationForCurrentTile=0}clone(){let R=new Sl(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return R.apply(this),R}apply(R){this.tileSize=R.tileSize,this.latRange=R.latRange,this.lngRange=R.lngRange,this.width=R.width,this.height=R.height,this._center=R._center,this._elevation=R._elevation,this.minElevationForCurrentTile=R.minElevationForCurrentTile,this.zoom=R.zoom,this.angle=R.angle,this._fov=R._fov,this._pitch=R._pitch,this._unmodified=R._unmodified,this._edgeInsets=R._edgeInsets.clone(),this._calcMatrices()}get minZoom(){return this._minZoom}set minZoom(R){this._minZoom!==R&&(this._minZoom=R,this.zoom=Math.max(this.zoom,R))}get maxZoom(){return this._maxZoom}set maxZoom(R){this._maxZoom!==R&&(this._maxZoom=R,this.zoom=Math.min(this.zoom,R))}get minPitch(){return this._minPitch}set minPitch(R){this._minPitch!==R&&(this._minPitch=R,this.pitch=Math.max(this.pitch,R))}get maxPitch(){return this._maxPitch}set maxPitch(R){this._maxPitch!==R&&(this._maxPitch=R,this.pitch=Math.min(this.pitch,R))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(R){R===void 0?R=!0:R===null&&(R=!1),this._renderWorldCopies=R}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(R){let ne=-t.b3(R,-180,180)*Math.PI/180;this.angle!==ne&&(this._unmodified=!1,this.angle=ne,this._calcMatrices(),this.rotationMatrix=function(){var be=new t.A(4);return t.A!=Float32Array&&(be[1]=0,be[2]=0),be[0]=1,be[3]=1,be}(),function(be,Ae,Fe){var ht=Ae[0],wt=Ae[1],zt=Ae[2],Jt=Ae[3],hr=Math.sin(Fe),vr=Math.cos(Fe);be[0]=ht*vr+zt*hr,be[1]=wt*vr+Jt*hr,be[2]=ht*-hr+zt*vr,be[3]=wt*-hr+Jt*vr}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(R){let ne=t.ac(R,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ne&&(this._unmodified=!1,this._pitch=ne,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(R){R=Math.max(.01,Math.min(60,R)),this._fov!==R&&(this._unmodified=!1,this._fov=R/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(R){let ne=Math.min(Math.max(R,this.minZoom),this.maxZoom);this._zoom!==ne&&(this._unmodified=!1,this._zoom=ne,this.tileZoom=Math.max(0,Math.floor(ne)),this.scale=this.zoomScale(ne),this._constrain(),this._calcMatrices())}get center(){return this._center}set center(R){R.lat===this._center.lat&&R.lng===this._center.lng||(this._unmodified=!1,this._center=R,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(R){R!==this._elevation&&(this._elevation=R,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(R){this._edgeInsets.equals(R)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,R,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(R){return this._edgeInsets.equals(R)}interpolatePadding(R,ne,be){this._unmodified=!1,this._edgeInsets.interpolate(R,ne,be),this._constrain(),this._calcMatrices()}coveringZoomLevel(R){let ne=(R.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/R.tileSize));return Math.max(0,ne)}getVisibleUnwrappedCoordinates(R){let ne=[new t.b4(0,R)];if(this._renderWorldCopies){let be=this.pointCoordinate(new t.P(0,0)),Ae=this.pointCoordinate(new t.P(this.width,0)),Fe=this.pointCoordinate(new t.P(this.width,this.height)),ht=this.pointCoordinate(new t.P(0,this.height)),wt=Math.floor(Math.min(be.x,Ae.x,Fe.x,ht.x)),zt=Math.floor(Math.max(be.x,Ae.x,Fe.x,ht.x)),Jt=1;for(let hr=wt-Jt;hr<=zt+Jt;hr++)hr!==0&&ne.push(new t.b4(hr,R))}return ne}coveringTiles(R){var ne,be;let Ae=this.coveringZoomLevel(R),Fe=Ae;if(R.minzoom!==void 0&&AeR.maxzoom&&(Ae=R.maxzoom);let ht=this.pointCoordinate(this.getCameraPoint()),wt=t.Z.fromLngLat(this.center),zt=Math.pow(2,Ae),Jt=[zt*ht.x,zt*ht.y,0],hr=[zt*wt.x,zt*wt.y,0],vr=Dl.fromInvProjectionMatrix(this.invModelViewProjectionMatrix,this.worldSize,Ae),Hr=R.minzoom||0;!R.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(Hr=Ae);let ln=R.terrain?2/Math.min(this.tileSize,R.tileSize)*this.tileSize:3,Ge=xt=>({aabb:new Rc([xt*zt,0,0],[(xt+1)*zt,zt,0]),zoom:0,x:0,y:0,wrap:xt,fullyVisible:!1}),$e=[],st=[],dt=Ae,St=R.reparseOverscaled?Fe:Ae;if(this._renderWorldCopies)for(let xt=1;xt<=3;xt++)$e.push(Ge(-xt)),$e.push(Ge(xt));for($e.push(Ge(0));$e.length>0;){let xt=$e.pop(),It=xt.x,rr=xt.y,sr=xt.fullyVisible;if(!sr){let Mn=xt.aabb.intersects(vr);if(Mn===0)continue;sr=Mn===2}let pr=R.terrain?Jt:hr,kr=xt.aabb.distanceX(pr),Yr=xt.aabb.distanceY(pr),_n=Math.max(Math.abs(kr),Math.abs(Yr));if(xt.zoom===dt||_n>ln+(1<=Hr){let Mn=dt-xt.zoom,Un=Jt[0]-.5-(It<>1),ki=xt.zoom+1,Ci=xt.aabb.quadrant(Mn);if(R.terrain){let Zi=new t.S(ki,xt.wrap,ki,Un,li),ya=R.terrain.getMinMaxElevation(Zi),ro=(ne=ya.minElevation)!==null&&ne!==void 0?ne:this.elevation,Va=(be=ya.maxElevation)!==null&&be!==void 0?be:this.elevation;Ci=new Rc([Ci.min[0],Ci.min[1],ro],[Ci.max[0],Ci.max[1],Va])}$e.push({aabb:Ci,zoom:ki,x:Un,y:li,wrap:xt.wrap,fullyVisible:sr})}}return st.sort((xt,It)=>xt.distanceSq-It.distanceSq).map(xt=>xt.tileID)}resize(R,ne){this.width=R,this.height=ne,this.pixelsToGLUnits=[2/R,-2/ne],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(R){return Math.pow(2,R)}scaleZoom(R){return Math.log(R)/Math.LN2}project(R){let ne=t.ac(R.lat,-85.051129,xu);return new t.P(t.O(R.lng)*this.worldSize,t.Q(ne)*this.worldSize)}unproject(R){return new t.Z(R.x/this.worldSize,R.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(R){let ne=this.elevation,be=Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter,Ae=this.pointLocation(this.centerPoint,R),Fe=R.getElevationForLngLatZoom(Ae,this.tileZoom);if(!(this.elevation-Fe))return;let ht=be+ne-Fe,wt=Math.cos(this._pitch)*this.cameraToCenterDistance/ht/t.b5(1,Ae.lat),zt=this.scaleZoom(wt/this.tileSize);this._elevation=Fe,this._center=Ae,this.zoom=zt}setLocationAtPoint(R,ne){let be=this.pointCoordinate(ne),Ae=this.pointCoordinate(this.centerPoint),Fe=this.locationCoordinate(R),ht=new t.Z(Fe.x-(be.x-Ae.x),Fe.y-(be.y-Ae.y));this.center=this.coordinateLocation(ht),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(R,ne){return ne?this.coordinatePoint(this.locationCoordinate(R),ne.getElevationForLngLatZoom(R,this.tileZoom),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(R))}pointLocation(R,ne){return this.coordinateLocation(this.pointCoordinate(R,ne))}locationCoordinate(R){return t.Z.fromLngLat(R)}coordinateLocation(R){return R&&R.toLngLat()}pointCoordinate(R,ne){if(ne){let Hr=ne.pointCoordinate(R);if(Hr!=null)return Hr}let be=[R.x,R.y,0,1],Ae=[R.x,R.y,1,1];t.af(be,be,this.pixelMatrixInverse),t.af(Ae,Ae,this.pixelMatrixInverse);let Fe=be[3],ht=Ae[3],wt=be[1]/Fe,zt=Ae[1]/ht,Jt=be[2]/Fe,hr=Ae[2]/ht,vr=Jt===hr?0:(0-Jt)/(hr-Jt);return new t.Z(t.y.number(be[0]/Fe,Ae[0]/ht,vr)/this.worldSize,t.y.number(wt,zt,vr)/this.worldSize)}coordinatePoint(R,ne=0,be=this.pixelMatrix){let Ae=[R.x*this.worldSize,R.y*this.worldSize,ne,1];return t.af(Ae,Ae,be),new t.P(Ae[0]/Ae[3],Ae[1]/Ae[3])}getBounds(){let R=Math.max(0,this.height/2-this.getHorizon());return new ie().extend(this.pointLocation(new t.P(0,R))).extend(this.pointLocation(new t.P(this.width,R))).extend(this.pointLocation(new t.P(this.width,this.height))).extend(this.pointLocation(new t.P(0,this.height)))}getMaxBounds(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new ie([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(R){R?(this.lngRange=[R.getWest(),R.getEast()],this.latRange=[R.getSouth(),R.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-85.051129,xu])}calculateTileMatrix(R){let ne=R.canonical,be=this.worldSize/this.zoomScale(ne.z),Ae=ne.x+Math.pow(2,ne.z)*R.wrap,Fe=t.an(new Float64Array(16));return t.J(Fe,Fe,[Ae*be,ne.y*be,0]),t.K(Fe,Fe,[be/t.X,be/t.X,1]),Fe}calculatePosMatrix(R,ne=!1){let be=R.key,Ae=ne?this._alignedPosMatrixCache:this._posMatrixCache;if(Ae[be])return Ae[be];let Fe=this.calculateTileMatrix(R);return t.L(Fe,ne?this.alignedModelViewProjectionMatrix:this.modelViewProjectionMatrix,Fe),Ae[be]=new Float32Array(Fe),Ae[be]}calculateFogMatrix(R){let ne=R.key,be=this._fogMatrixCache;if(be[ne])return be[ne];let Ae=this.calculateTileMatrix(R);return t.L(Ae,this.fogMatrix,Ae),be[ne]=new Float32Array(Ae),be[ne]}customLayerMatrix(){return this.mercatorMatrix.slice()}getConstrained(R,ne){ne=t.ac(+ne,this.minZoom,this.maxZoom);let be={center:new t.N(R.lng,R.lat),zoom:ne},Ae=this.lngRange;if(!this._renderWorldCopies&&Ae===null){let xt=179.9999999999;Ae=[-xt,xt]}let Fe=this.tileSize*this.zoomScale(be.zoom),ht=0,wt=Fe,zt=0,Jt=Fe,hr=0,vr=0,{x:Hr,y:ln}=this.size;if(this.latRange){let xt=this.latRange;ht=t.Q(xt[1])*Fe,wt=t.Q(xt[0])*Fe,wt-htwt&&(dt=wt-xt)}if(Ae){let xt=(zt+Jt)/2,It=Ge;this._renderWorldCopies&&(It=t.b3(Ge,xt-Fe/2,xt+Fe/2));let rr=Hr/2;It-rrJt&&(st=Jt-rr)}if(st!==void 0||dt!==void 0){let xt=new t.P(st??Ge,dt??$e);be.center=this.unproject.call({worldSize:Fe},xt).wrap()}return be}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;let R=this._unmodified,{center:ne,zoom:be}=this.getConstrained(this.center,this.zoom);this.center=ne,this.zoom=be,this._unmodified=R,this._constraining=!1}_calcMatrices(){if(!this.height)return;let R=this.centerOffset,ne=this.point.x,be=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=t.b5(1,this.center.lat)*this.worldSize;let Ae=t.an(new Float64Array(16));t.K(Ae,Ae,[this.width/2,-this.height/2,1]),t.J(Ae,Ae,[1,-1,0]),this.labelPlaneMatrix=Ae,Ae=t.an(new Float64Array(16)),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[-1,-1,0]),t.K(Ae,Ae,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ae;let Fe=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch),ht=Math.min(this.elevation,this.minElevationForCurrentTile),wt=Fe-ht*this._pixelPerMeter/Math.cos(this._pitch),zt=ht<0?wt:Fe,Jt=Math.PI/2+this._pitch,hr=this._fov*(.5+R.y/this.height),vr=Math.sin(hr)*zt/Math.sin(t.ac(Math.PI-Jt-hr,.01,Math.PI-.01)),Hr=this.getHorizon(),ln=2*Math.atan(Hr/this.cameraToCenterDistance)*(.5+R.y/(2*Hr)),Ge=Math.sin(ln)*zt/Math.sin(t.ac(Math.PI-Jt-ln,.01,Math.PI-.01)),$e=Math.min(vr,Ge);this.farZ=1.01*(Math.cos(Math.PI/2-this._pitch)*$e+zt),this.nearZ=this.height/50,Ae=new Float64Array(16),t.b6(Ae,this._fov,this.width/this.height,this.nearZ,this.farZ),Ae[8]=2*-R.x/this.width,Ae[9]=2*R.y/this.height,this.projectionMatrix=t.ae(Ae),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[0,0,-this.cameraToCenterDistance]),t.b7(Ae,Ae,this._pitch),t.ad(Ae,Ae,this.angle),t.J(Ae,Ae,[-ne,-be,0]),this.mercatorMatrix=t.K([],Ae,[this.worldSize,this.worldSize,this.worldSize]),t.K(Ae,Ae,[1,1,this._pixelPerMeter]),this.pixelMatrix=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae),t.J(Ae,Ae,[0,0,-this.elevation]),this.modelViewProjectionMatrix=Ae,this.invModelViewProjectionMatrix=t.as([],Ae),this.fogMatrix=new Float64Array(16),t.b6(this.fogMatrix,this._fov,this.width/this.height,Fe,this.farZ),this.fogMatrix[8]=2*-R.x/this.width,this.fogMatrix[9]=2*R.y/this.height,t.K(this.fogMatrix,this.fogMatrix,[1,-1,1]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.cameraToCenterDistance]),t.b7(this.fogMatrix,this.fogMatrix,this._pitch),t.ad(this.fogMatrix,this.fogMatrix,this.angle),t.J(this.fogMatrix,this.fogMatrix,[-ne,-be,0]),t.K(this.fogMatrix,this.fogMatrix,[1,1,this._pixelPerMeter]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.elevation]),this.pixelMatrix3D=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae);let st=this.width%2/2,dt=this.height%2/2,St=Math.cos(this.angle),xt=Math.sin(this.angle),It=ne-Math.round(ne)+St*st+xt*dt,rr=be-Math.round(be)+St*dt+xt*st,sr=new Float64Array(Ae);if(t.J(sr,sr,[It>.5?It-1:It,rr>.5?rr-1:rr,0]),this.alignedModelViewProjectionMatrix=sr,Ae=t.as(new Float64Array(16),this.pixelMatrix),!Ae)throw new Error(\"failed to invert matrix\");this.pixelMatrixInverse=Ae,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;let R=this.pointCoordinate(new t.P(0,0)),ne=[R.x*this.worldSize,R.y*this.worldSize,0,1];return t.af(ne,ne,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){let R=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(0,R))}getCameraQueryGeometry(R){let ne=this.getCameraPoint();if(R.length===1)return[R[0],ne];{let be=ne.x,Ae=ne.y,Fe=ne.x,ht=ne.y;for(let wt of R)be=Math.min(be,wt.x),Ae=Math.min(Ae,wt.y),Fe=Math.max(Fe,wt.x),ht=Math.max(ht,wt.y);return[new t.P(be,Ae),new t.P(Fe,Ae),new t.P(Fe,ht),new t.P(be,ht),new t.P(be,Ae)]}}lngLatToCameraDepth(R,ne){let be=this.locationCoordinate(R),Ae=[be.x*this.worldSize,be.y*this.worldSize,ne,1];return t.af(Ae,Ae,this.modelViewProjectionMatrix),Ae[2]/Ae[3]}}function th(Ne,R){let ne,be=!1,Ae=null,Fe=null,ht=()=>{Ae=null,be&&(Ne.apply(Fe,ne),Ae=setTimeout(ht,R),be=!1)};return(...wt)=>(be=!0,Fe=this,ne=wt,Ae||ht(),Ae)}class uh{constructor(R){this._getCurrentHash=()=>{let ne=window.location.hash.replace(\"#\",\"\");if(this._hashName){let be;return ne.split(\"&\").map(Ae=>Ae.split(\"=\")).forEach(Ae=>{Ae[0]===this._hashName&&(be=Ae)}),(be&&be[1]||\"\").split(\"/\")}return ne.split(\"/\")},this._onHashChange=()=>{let ne=this._getCurrentHash();if(ne.length>=3&&!ne.some(be=>isNaN(be))){let be=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(ne[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+ne[2],+ne[1]],zoom:+ne[0],bearing:be,pitch:+(ne[4]||0)}),!0}return!1},this._updateHashUnthrottled=()=>{let ne=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,ne)},this._removeHash=()=>{let ne=this._getCurrentHash();if(ne.length===0)return;let be=ne.join(\"/\"),Ae=be;Ae.split(\"&\").length>0&&(Ae=Ae.split(\"&\")[0]),this._hashName&&(Ae=`${this._hashName}=${be}`);let Fe=window.location.hash.replace(Ae,\"\");Fe.startsWith(\"#&\")?Fe=Fe.slice(0,1)+Fe.slice(2):Fe===\"#\"&&(Fe=\"\");let ht=window.location.href.replace(/(#.+)?$/,Fe);ht=ht.replace(\"&&\",\"&\"),window.history.replaceState(window.history.state,null,ht)},this._updateHash=th(this._updateHashUnthrottled,300),this._hashName=R&&encodeURIComponent(R)}addTo(R){return this._map=R,addEventListener(\"hashchange\",this._onHashChange,!1),this._map.on(\"moveend\",this._updateHash),this}remove(){return removeEventListener(\"hashchange\",this._onHashChange,!1),this._map.off(\"moveend\",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(R){let ne=this._map.getCenter(),be=Math.round(100*this._map.getZoom())/100,Ae=Math.ceil((be*Math.LN2+Math.log(512/360/.5))/Math.LN10),Fe=Math.pow(10,Ae),ht=Math.round(ne.lng*Fe)/Fe,wt=Math.round(ne.lat*Fe)/Fe,zt=this._map.getBearing(),Jt=this._map.getPitch(),hr=\"\";if(hr+=R?`/${ht}/${wt}/${be}`:`${be}/${wt}/${ht}`,(zt||Jt)&&(hr+=\"/\"+Math.round(10*zt)/10),Jt&&(hr+=`/${Math.round(Jt)}`),this._hashName){let vr=this._hashName,Hr=!1,ln=window.location.hash.slice(1).split(\"&\").map(Ge=>{let $e=Ge.split(\"=\")[0];return $e===vr?(Hr=!0,`${$e}=${hr}`):Ge}).filter(Ge=>Ge);return Hr||ln.push(`${vr}=${hr}`),`#${ln.join(\"&\")}`}return`#${hr}`}}let Hu={linearity:.3,easing:t.b8(0,0,.3,1)},_c=t.e({deceleration:2500,maxSpeed:1400},Hu),lc=t.e({deceleration:20,maxSpeed:1400},Hu),Uh=t.e({deceleration:1e3,maxSpeed:360},Hu),of=t.e({deceleration:1e3,maxSpeed:90},Hu);class ff{constructor(R){this._map=R,this.clear()}clear(){this._inertiaBuffer=[]}record(R){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:i.now(),settings:R})}_drainInertiaBuffer(){let R=this._inertiaBuffer,ne=i.now();for(;R.length>0&&ne-R[0].time>160;)R.shift()}_onMoveEnd(R){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;let ne={zoom:0,bearing:0,pitch:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(let{settings:Fe}of this._inertiaBuffer)ne.zoom+=Fe.zoomDelta||0,ne.bearing+=Fe.bearingDelta||0,ne.pitch+=Fe.pitchDelta||0,Fe.panDelta&&ne.pan._add(Fe.panDelta),Fe.around&&(ne.around=Fe.around),Fe.pinchAround&&(ne.pinchAround=Fe.pinchAround);let be=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,Ae={};if(ne.pan.mag()){let Fe=Af(ne.pan.mag(),be,t.e({},_c,R||{}));Ae.offset=ne.pan.mult(Fe.amount/ne.pan.mag()),Ae.center=this._map.transform.center,Du(Ae,Fe)}if(ne.zoom){let Fe=Af(ne.zoom,be,lc);Ae.zoom=this._map.transform.zoom+Fe.amount,Du(Ae,Fe)}if(ne.bearing){let Fe=Af(ne.bearing,be,Uh);Ae.bearing=this._map.transform.bearing+t.ac(Fe.amount,-179,179),Du(Ae,Fe)}if(ne.pitch){let Fe=Af(ne.pitch,be,of);Ae.pitch=this._map.transform.pitch+Fe.amount,Du(Ae,Fe)}if(Ae.zoom||Ae.bearing){let Fe=ne.pinchAround===void 0?ne.around:ne.pinchAround;Ae.around=Fe?this._map.unproject(Fe):this._map.getCenter()}return this.clear(),t.e(Ae,{noMoveStart:!0})}}function Du(Ne,R){(!Ne.duration||Ne.durationne.unproject(zt)),wt=Fe.reduce((zt,Jt,hr,vr)=>zt.add(Jt.div(vr.length)),new t.P(0,0));super(R,{points:Fe,point:wt,lngLats:ht,lngLat:ne.unproject(wt),originalEvent:be}),this._defaultPrevented=!1}}class ch extends t.k{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(R,ne,be){super(R,{originalEvent:be}),this._defaultPrevented=!1}}class Mf{constructor(R,ne){this._map=R,this._clickTolerance=ne.clickTolerance}reset(){delete this._mousedownPos}wheel(R){return this._firePreventable(new ch(R.type,this._map,R))}mousedown(R,ne){return this._mousedownPos=ne,this._firePreventable(new lu(R.type,this._map,R))}mouseup(R){this._map.fire(new lu(R.type,this._map,R))}click(R,ne){this._mousedownPos&&this._mousedownPos.dist(ne)>=this._clickTolerance||this._map.fire(new lu(R.type,this._map,R))}dblclick(R){return this._firePreventable(new lu(R.type,this._map,R))}mouseover(R){this._map.fire(new lu(R.type,this._map,R))}mouseout(R){this._map.fire(new lu(R.type,this._map,R))}touchstart(R){return this._firePreventable(new Xc(R.type,this._map,R))}touchmove(R){this._map.fire(new Xc(R.type,this._map,R))}touchend(R){this._map.fire(new Xc(R.type,this._map,R))}touchcancel(R){this._map.fire(new Xc(R.type,this._map,R))}_firePreventable(R){if(this._map.fire(R),R.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class dl{constructor(R){this._map=R}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(R){this._map.fire(new lu(R.type,this._map,R))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new lu(\"contextmenu\",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(R){this._delayContextMenu?this._contextMenuEvent=R:this._ignoreContextMenu||this._map.fire(new lu(R.type,this._map,R)),this._map.listens(\"contextmenu\")&&R.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class bu{constructor(R){this._map=R}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return{lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(R){return this.transform.pointLocation(t.P.convert(R),this._map.terrain)}}class wu{constructor(R,ne){this._map=R,this._tr=new bu(R),this._el=R.getCanvasContainer(),this._container=R.getContainer(),this._clickTolerance=ne.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(R,ne){this.isEnabled()&&R.shiftKey&&R.button===0&&(a.disableDrag(),this._startPos=this._lastPos=ne,this._active=!0)}mousemoveWindow(R,ne){if(!this._active)return;let be=ne;if(this._lastPos.equals(be)||!this._box&&be.dist(this._startPos)Fe.fitScreenCoordinates(be,Ae,this._tr.bearing,{linear:!0})};this._fireEvent(\"boxzoomcancel\",R)}keydown(R){this._active&&R.keyCode===27&&(this.reset(),this._fireEvent(\"boxzoomcancel\",R))}reset(){this._active=!1,this._container.classList.remove(\"maplibregl-crosshair\"),this._box&&(a.remove(this._box),this._box=null),a.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(R,ne){return this._map.fire(new t.k(R,{originalEvent:ne}))}}function Bf(Ne,R){if(Ne.length!==R.length)throw new Error(`The number of touches and points are not equal - touches ${Ne.length}, points ${R.length}`);let ne={};for(let be=0;bethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=R.timeStamp),be.length===this.numTouches&&(this.centroid=function(Ae){let Fe=new t.P(0,0);for(let ht of Ae)Fe._add(ht);return Fe.div(Ae.length)}(ne),this.touches=Bf(be,ne)))}touchmove(R,ne,be){if(this.aborted||!this.centroid)return;let Ae=Bf(be,ne);for(let Fe in this.touches){let ht=Ae[Fe];(!ht||ht.dist(this.touches[Fe])>30)&&(this.aborted=!0)}}touchend(R,ne,be){if((!this.centroid||R.timeStamp-this.startTime>500)&&(this.aborted=!0),be.length===0){let Ae=!this.aborted&&this.centroid;if(this.reset(),Ae)return Ae}}}class sf{constructor(R){this.singleTap=new ul(R),this.numTaps=R.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(R,ne,be){this.singleTap.touchstart(R,ne,be)}touchmove(R,ne,be){this.singleTap.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this.singleTap.touchend(R,ne,be);if(Ae){let Fe=R.timeStamp-this.lastTime<500,ht=!this.lastTap||this.lastTap.dist(Ae)<30;if(Fe&&ht||this.reset(),this.count++,this.lastTime=R.timeStamp,this.lastTap=Ae,this.count===this.numTaps)return this.reset(),Ae}}}class xc{constructor(R){this._tr=new bu(R),this._zoomIn=new sf({numTouches:1,numTaps:2}),this._zoomOut=new sf({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(R,ne,be){this._zoomIn.touchstart(R,ne,be),this._zoomOut.touchstart(R,ne,be)}touchmove(R,ne,be){this._zoomIn.touchmove(R,ne,be),this._zoomOut.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this._zoomIn.touchend(R,ne,be),Fe=this._zoomOut.touchend(R,ne,be),ht=this._tr;return Ae?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom+1,around:ht.unproject(Ae)},{originalEvent:R})}):Fe?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom-1,around:ht.unproject(Fe)},{originalEvent:R})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Gu{constructor(R){this._enabled=!!R.enable,this._moveStateManager=R.moveStateManager,this._clickTolerance=R.clickTolerance||1,this._moveFunction=R.move,this._activateOnStart=!!R.activateOnStart,R.assignEvents(this),this.reset()}reset(R){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(R)}_move(...R){let ne=this._moveFunction(...R);if(ne.bearingDelta||ne.pitchDelta||ne.around||ne.panDelta)return this._active=!0,ne}dragStart(R,ne){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(R)&&(this._moveStateManager.startMove(R),this._lastPoint=ne.length?ne[0]:ne,this._activateOnStart&&this._lastPoint&&(this._active=!0))}dragMove(R,ne){if(!this.isEnabled())return;let be=this._lastPoint;if(!be)return;if(R.preventDefault(),!this._moveStateManager.isValidMoveEvent(R))return void this.reset(R);let Ae=ne.length?ne[0]:ne;return!this._moved&&Ae.dist(be){Ne.mousedown=Ne.dragStart,Ne.mousemoveWindow=Ne.dragMove,Ne.mouseup=Ne.dragEnd,Ne.contextmenu=R=>{R.preventDefault()}},Xl=({enable:Ne,clickTolerance:R,bearingDegreesPerPixelMoved:ne=.8})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({bearingDelta:(Fe.x-Ae.x)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})},Uf=({enable:Ne,clickTolerance:R,pitchDegreesPerPixelMoved:ne=-.5})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({pitchDelta:(Fe.y-Ae.y)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})};class Wu{constructor(R,ne){this._clickTolerance=R.clickTolerance||1,this._map=ne,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0)}_shouldBePrevented(R){return R<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(R,ne,be){return this._calculateTransform(R,ne,be)}touchmove(R,ne,be){if(this._active){if(!this._shouldBePrevented(be.length))return R.preventDefault(),this._calculateTransform(R,ne,be);this._map.cooperativeGestures.notifyGestureBlocked(\"touch_pan\",R)}}touchend(R,ne,be){this._calculateTransform(R,ne,be),this._active&&this._shouldBePrevented(be.length)&&this.reset()}touchcancel(){this.reset()}_calculateTransform(R,ne,be){be.length>0&&(this._active=!0);let Ae=Bf(be,ne),Fe=new t.P(0,0),ht=new t.P(0,0),wt=0;for(let Jt in Ae){let hr=Ae[Jt],vr=this._touches[Jt];vr&&(Fe._add(hr),ht._add(hr.sub(vr)),wt++,Ae[Jt]=hr)}if(this._touches=Ae,this._shouldBePrevented(wt)||!ht.mag())return;let zt=ht.div(wt);return this._sum._add(zt),this._sum.mag()Math.abs(Ne.x)}class Yc extends bc{constructor(R){super(),this._currentTouchCount=0,this._map=R}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(R,ne,be){super.touchstart(R,ne,be),this._currentTouchCount=be.length}_start(R){this._lastPoints=R,rc(R[0].sub(R[1]))&&(this._valid=!1)}_move(R,ne,be){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;let Ae=R[0].sub(this._lastPoints[0]),Fe=R[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(Ae,Fe,be.timeStamp),this._valid?(this._lastPoints=R,this._active=!0,{pitchDelta:(Ae.y+Fe.y)/2*-.5}):void 0}gestureBeginsVertically(R,ne,be){if(this._valid!==void 0)return this._valid;let Ae=R.mag()>=2,Fe=ne.mag()>=2;if(!Ae&&!Fe)return;if(!Ae||!Fe)return this._firstMove===void 0&&(this._firstMove=be),be-this._firstMove<100&&void 0;let ht=R.y>0==ne.y>0;return rc(R)&&rc(ne)&&ht}}let Yt={panStep:100,bearingStep:15,pitchStep:10};class dr{constructor(R){this._tr=new bu(R);let ne=Yt;this._panStep=ne.panStep,this._bearingStep=ne.bearingStep,this._pitchStep=ne.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(R){if(R.altKey||R.ctrlKey||R.metaKey)return;let ne=0,be=0,Ae=0,Fe=0,ht=0;switch(R.keyCode){case 61:case 107:case 171:case 187:ne=1;break;case 189:case 109:case 173:ne=-1;break;case 37:R.shiftKey?be=-1:(R.preventDefault(),Fe=-1);break;case 39:R.shiftKey?be=1:(R.preventDefault(),Fe=1);break;case 38:R.shiftKey?Ae=1:(R.preventDefault(),ht=-1);break;case 40:R.shiftKey?Ae=-1:(R.preventDefault(),ht=1);break;default:return}return this._rotationDisabled&&(be=0,Ae=0),{cameraAnimation:wt=>{let zt=this._tr;wt.easeTo({duration:300,easeId:\"keyboardHandler\",easing:tn,zoom:ne?Math.round(zt.zoom)+ne*(R.shiftKey?2:1):zt.zoom,bearing:zt.bearing+be*this._bearingStep,pitch:zt.pitch+Ae*this._pitchStep,offset:[-Fe*this._panStep,-ht*this._panStep],center:zt.center},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function tn(Ne){return Ne*(2-Ne)}let Wr=4.000244140625;class Cn{constructor(R,ne){this._onTimeout=be=>{this._type=\"wheel\",this._delta-=this._lastValue,this._active||this._start(be)},this._map=R,this._tr=new bu(R),this._triggerRenderFrame=ne,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222}setZoomRate(R){this._defaultZoomRate=R}setWheelZoomRate(R){this._wheelZoomRate=R}isEnabled(){return!!this._enabled}isActive(){return!!this._active||this._finishTimeout!==void 0}isZooming(){return!!this._zooming}enable(R){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!R&&R.around===\"center\")}disable(){this.isEnabled()&&(this._enabled=!1)}_shouldBePrevented(R){return!!this._map.cooperativeGestures.isEnabled()&&!(R.ctrlKey||this._map.cooperativeGestures.isBypassed(R))}wheel(R){if(!this.isEnabled())return;if(this._shouldBePrevented(R))return void this._map.cooperativeGestures.notifyGestureBlocked(\"wheel_zoom\",R);let ne=R.deltaMode===WheelEvent.DOM_DELTA_LINE?40*R.deltaY:R.deltaY,be=i.now(),Ae=be-(this._lastWheelEventTime||0);this._lastWheelEventTime=be,ne!==0&&ne%Wr==0?this._type=\"wheel\":ne!==0&&Math.abs(ne)<4?this._type=\"trackpad\":Ae>400?(this._type=null,this._lastValue=ne,this._timeout=setTimeout(this._onTimeout,40,R)):this._type||(this._type=Math.abs(Ae*ne)<200?\"trackpad\":\"wheel\",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ne+=this._lastValue)),R.shiftKey&&ne&&(ne/=4),this._type&&(this._lastWheelEvent=R,this._delta-=ne,this._active||this._start(R)),R.preventDefault()}_start(R){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);let ne=a.mousePos(this._map.getCanvas(),R),be=this._tr;this._around=ne.y>be.transform.height/2-be.transform.getHorizon()?t.N.convert(this._aroundCenter?be.center:be.unproject(ne)):t.N.convert(be.center),this._aroundPoint=be.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._triggerRenderFrame())}renderFrame(){if(!this._frameId||(this._frameId=null,!this.isActive()))return;let R=this._tr.transform;if(this._delta!==0){let zt=this._type===\"wheel\"&&Math.abs(this._delta)>Wr?this._wheelZoomRate:this._defaultZoomRate,Jt=2/(1+Math.exp(-Math.abs(this._delta*zt)));this._delta<0&&Jt!==0&&(Jt=1/Jt);let hr=typeof this._targetZoom==\"number\"?R.zoomScale(this._targetZoom):R.scale;this._targetZoom=Math.min(R.maxZoom,Math.max(R.minZoom,R.scaleZoom(hr*Jt))),this._type===\"wheel\"&&(this._startZoom=R.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}let ne=typeof this._targetZoom==\"number\"?this._targetZoom:R.zoom,be=this._startZoom,Ae=this._easing,Fe,ht=!1,wt=i.now()-this._lastWheelEventTime;if(this._type===\"wheel\"&&be&&Ae&&wt){let zt=Math.min(wt/200,1),Jt=Ae(zt);Fe=t.y.number(be,ne,Jt),zt<1?this._frameId||(this._frameId=!0):ht=!0}else Fe=ne,ht=!0;return this._active=!0,ht&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!ht,zoomDelta:Fe-R.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(R){let ne=t.b9;if(this._prevEase){let be=this._prevEase,Ae=(i.now()-be.start)/be.duration,Fe=be.easing(Ae+.01)-be.easing(Ae),ht=.27/Math.sqrt(Fe*Fe+1e-4)*.01,wt=Math.sqrt(.0729-ht*ht);ne=t.b8(ht,wt,.25,1)}return this._prevEase={start:i.now(),duration:R,easing:ne},ne}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout)}}class si{constructor(R,ne){this._clickZoom=R,this._tapZoom=ne}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class yi{constructor(R){this._tr=new bu(R),this.reset()}reset(){this._active=!1}dblclick(R,ne){return R.preventDefault(),{cameraAnimation:be=>{be.easeTo({duration:300,zoom:this._tr.zoom+(R.shiftKey?-1:1),around:this._tr.unproject(ne)},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Di{constructor(){this._tap=new sf({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset()}touchstart(R,ne,be){if(!this._swipePoint)if(this._tapTime){let Ae=ne[0],Fe=R.timeStamp-this._tapTime<500,ht=this._tapPoint.dist(Ae)<30;Fe&&ht?be.length>0&&(this._swipePoint=Ae,this._swipeTouch=be[0].identifier):this.reset()}else this._tap.touchstart(R,ne,be)}touchmove(R,ne,be){if(this._tapTime){if(this._swipePoint){if(be[0].identifier!==this._swipeTouch)return;let Ae=ne[0],Fe=Ae.y-this._swipePoint.y;return this._swipePoint=Ae,R.preventDefault(),this._active=!0,{zoomDelta:Fe/128}}}else this._tap.touchmove(R,ne,be)}touchend(R,ne,be){if(this._tapTime)this._swipePoint&&be.length===0&&this.reset();else{let Ae=this._tap.touchend(R,ne,be);Ae&&(this._tapTime=R.timeStamp,this._tapPoint=Ae)}}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Wi{constructor(R,ne,be){this._el=R,this._mousePan=ne,this._touchPan=be}enable(R){this._inertiaOptions=R||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add(\"maplibregl-touch-drag-pan\")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove(\"maplibregl-touch-drag-pan\")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class aa{constructor(R,ne,be){this._pitchWithRotate=R.pitchWithRotate,this._mouseRotate=ne,this._mousePitch=be}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class bi{constructor(R,ne,be,Ae){this._el=R,this._touchZoom=ne,this._touchRotate=be,this._tapDragZoom=Ae,this._rotationDisabled=!1,this._enabled=!0}enable(R){this._touchZoom.enable(R),this._rotationDisabled||this._touchRotate.enable(R),this._tapDragZoom.enable(),this._el.classList.add(\"maplibregl-touch-zoom-rotate\")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove(\"maplibregl-touch-zoom-rotate\")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}class zi{constructor(R,ne){this._bypassKey=navigator.userAgent.indexOf(\"Mac\")!==-1?\"metaKey\":\"ctrlKey\",this._map=R,this._options=ne,this._enabled=!1}isActive(){return!1}reset(){}_setupUI(){if(this._container)return;let R=this._map.getCanvasContainer();R.classList.add(\"maplibregl-cooperative-gestures\"),this._container=a.create(\"div\",\"maplibregl-cooperative-gesture-screen\",R);let ne=this._map._getUIString(\"CooperativeGesturesHandler.WindowsHelpText\");this._bypassKey===\"metaKey\"&&(ne=this._map._getUIString(\"CooperativeGesturesHandler.MacHelpText\"));let be=this._map._getUIString(\"CooperativeGesturesHandler.MobileHelpText\"),Ae=document.createElement(\"div\");Ae.className=\"maplibregl-desktop-message\",Ae.textContent=ne,this._container.appendChild(Ae);let Fe=document.createElement(\"div\");Fe.className=\"maplibregl-mobile-message\",Fe.textContent=be,this._container.appendChild(Fe),this._container.setAttribute(\"aria-hidden\",\"true\")}_destroyUI(){this._container&&(a.remove(this._container),this._map.getCanvasContainer().classList.remove(\"maplibregl-cooperative-gestures\")),delete this._container}enable(){this._setupUI(),this._enabled=!0}disable(){this._enabled=!1,this._destroyUI()}isEnabled(){return this._enabled}isBypassed(R){return R[this._bypassKey]}notifyGestureBlocked(R,ne){this._enabled&&(this._map.fire(new t.k(\"cooperativegestureprevented\",{gestureType:R,originalEvent:ne})),this._container.classList.add(\"maplibregl-show\"),setTimeout(()=>{this._container.classList.remove(\"maplibregl-show\")},100))}}let Li=Ne=>Ne.zoom||Ne.drag||Ne.pitch||Ne.rotate;class di extends t.k{}function wa(Ne){return Ne.panDelta&&Ne.panDelta.mag()||Ne.zoomDelta||Ne.bearingDelta||Ne.pitchDelta}class po{constructor(R,ne){this.handleWindowEvent=Ae=>{this.handleEvent(Ae,`${Ae.type}Window`)},this.handleEvent=(Ae,Fe)=>{if(Ae.type===\"blur\")return void this.stop(!0);this._updatingCamera=!0;let ht=Ae.type===\"renderFrame\"?void 0:Ae,wt={needsRenderFrame:!1},zt={},Jt={},hr=Ae.touches,vr=hr?this._getMapTouches(hr):void 0,Hr=vr?a.touchPos(this._map.getCanvas(),vr):a.mousePos(this._map.getCanvas(),Ae);for(let{handlerName:$e,handler:st,allowed:dt}of this._handlers){if(!st.isEnabled())continue;let St;this._blockedByActive(Jt,dt,$e)?st.reset():st[Fe||Ae.type]&&(St=st[Fe||Ae.type](Ae,Hr,vr),this.mergeHandlerResult(wt,zt,St,$e,ht),St&&St.needsRenderFrame&&this._triggerRenderFrame()),(St||st.isActive())&&(Jt[$e]=st)}let ln={};for(let $e in this._previousActiveHandlers)Jt[$e]||(ln[$e]=ht);this._previousActiveHandlers=Jt,(Object.keys(ln).length||wa(wt))&&(this._changes.push([wt,zt,ln]),this._triggerRenderFrame()),(Object.keys(Jt).length||wa(wt))&&this._map._stop(!0),this._updatingCamera=!1;let{cameraAnimation:Ge}=wt;Ge&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],Ge(this._map))},this._map=R,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ff(R),this._bearingSnap=ne.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ne);let be=this._el;this._listeners=[[be,\"touchstart\",{passive:!0}],[be,\"touchmove\",{passive:!1}],[be,\"touchend\",void 0],[be,\"touchcancel\",void 0],[be,\"mousedown\",void 0],[be,\"mousemove\",void 0],[be,\"mouseup\",void 0],[document,\"mousemove\",{capture:!0}],[document,\"mouseup\",void 0],[be,\"mouseover\",void 0],[be,\"mouseout\",void 0],[be,\"dblclick\",void 0],[be,\"click\",void 0],[be,\"keydown\",{capture:!1}],[be,\"keyup\",void 0],[be,\"wheel\",{passive:!1}],[be,\"contextmenu\",void 0],[window,\"blur\",void 0]];for(let[Ae,Fe,ht]of this._listeners)a.addEventListener(Ae,Fe,Ae===document?this.handleWindowEvent:this.handleEvent,ht)}destroy(){for(let[R,ne,be]of this._listeners)a.removeEventListener(R,ne,R===document?this.handleWindowEvent:this.handleEvent,be)}_addDefaultHandlers(R){let ne=this._map,be=ne.getCanvasContainer();this._add(\"mapEvent\",new Mf(ne,R));let Ae=ne.boxZoom=new wu(ne,R);this._add(\"boxZoom\",Ae),R.interactive&&R.boxZoom&&Ae.enable();let Fe=ne.cooperativeGestures=new zi(ne,R.cooperativeGestures);this._add(\"cooperativeGestures\",Fe),R.cooperativeGestures&&Fe.enable();let ht=new xc(ne),wt=new yi(ne);ne.doubleClickZoom=new si(wt,ht),this._add(\"tapZoom\",ht),this._add(\"clickZoom\",wt),R.interactive&&R.doubleClickZoom&&ne.doubleClickZoom.enable();let zt=new Di;this._add(\"tapDragZoom\",zt);let Jt=ne.touchPitch=new Yc(ne);this._add(\"touchPitch\",Jt),R.interactive&&R.touchPitch&&ne.touchPitch.enable(R.touchPitch);let hr=Xl(R),vr=Uf(R);ne.dragRotate=new aa(R,hr,vr),this._add(\"mouseRotate\",hr,[\"mousePitch\"]),this._add(\"mousePitch\",vr,[\"mouseRotate\"]),R.interactive&&R.dragRotate&&ne.dragRotate.enable();let Hr=(({enable:St,clickTolerance:xt})=>{let It=new uc({checkCorrectEvent:rr=>a.mouseButton(rr)===0&&!rr.ctrlKey});return new Gu({clickTolerance:xt,move:(rr,sr)=>({around:sr,panDelta:sr.sub(rr)}),activateOnStart:!0,moveStateManager:It,enable:St,assignEvents:Nf})})(R),ln=new Wu(R,ne);ne.dragPan=new Wi(be,Hr,ln),this._add(\"mousePan\",Hr),this._add(\"touchPan\",ln,[\"touchZoom\",\"touchRotate\"]),R.interactive&&R.dragPan&&ne.dragPan.enable(R.dragPan);let Ge=new Dc,$e=new uu;ne.touchZoomRotate=new bi(be,$e,Ge,zt),this._add(\"touchRotate\",Ge,[\"touchPan\",\"touchZoom\"]),this._add(\"touchZoom\",$e,[\"touchPan\",\"touchRotate\"]),R.interactive&&R.touchZoomRotate&&ne.touchZoomRotate.enable(R.touchZoomRotate);let st=ne.scrollZoom=new Cn(ne,()=>this._triggerRenderFrame());this._add(\"scrollZoom\",st,[\"mousePan\"]),R.interactive&&R.scrollZoom&&ne.scrollZoom.enable(R.scrollZoom);let dt=ne.keyboard=new dr(ne);this._add(\"keyboard\",dt),R.interactive&&R.keyboard&&ne.keyboard.enable(),this._add(\"blockableMapEvent\",new dl(ne))}_add(R,ne,be){this._handlers.push({handlerName:R,handler:ne,allowed:be}),this._handlersById[R]=ne}stop(R){if(!this._updatingCamera){for(let{handler:ne}of this._handlers)ne.reset();this._inertia.clear(),this._fireEvents({},{},R),this._changes=[]}}isActive(){for(let{handler:R}of this._handlers)if(R.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Li(this._eventsInProgress)||this.isZooming()}_blockedByActive(R,ne,be){for(let Ae in R)if(Ae!==be&&(!ne||ne.indexOf(Ae)<0))return!0;return!1}_getMapTouches(R){let ne=[];for(let be of R)this._el.contains(be.target)&&ne.push(be);return ne}mergeHandlerResult(R,ne,be,Ae,Fe){if(!be)return;t.e(R,be);let ht={handlerName:Ae,originalEvent:be.originalEvent||Fe};be.zoomDelta!==void 0&&(ne.zoom=ht),be.panDelta!==void 0&&(ne.drag=ht),be.pitchDelta!==void 0&&(ne.pitch=ht),be.bearingDelta!==void 0&&(ne.rotate=ht)}_applyChanges(){let R={},ne={},be={};for(let[Ae,Fe,ht]of this._changes)Ae.panDelta&&(R.panDelta=(R.panDelta||new t.P(0,0))._add(Ae.panDelta)),Ae.zoomDelta&&(R.zoomDelta=(R.zoomDelta||0)+Ae.zoomDelta),Ae.bearingDelta&&(R.bearingDelta=(R.bearingDelta||0)+Ae.bearingDelta),Ae.pitchDelta&&(R.pitchDelta=(R.pitchDelta||0)+Ae.pitchDelta),Ae.around!==void 0&&(R.around=Ae.around),Ae.pinchAround!==void 0&&(R.pinchAround=Ae.pinchAround),Ae.noInertia&&(R.noInertia=Ae.noInertia),t.e(ne,Fe),t.e(be,ht);this._updateMapTransform(R,ne,be),this._changes=[]}_updateMapTransform(R,ne,be){let Ae=this._map,Fe=Ae._getTransformForUpdate(),ht=Ae.terrain;if(!(wa(R)||ht&&this._terrainMovement))return this._fireEvents(ne,be,!0);let{panDelta:wt,zoomDelta:zt,bearingDelta:Jt,pitchDelta:hr,around:vr,pinchAround:Hr}=R;Hr!==void 0&&(vr=Hr),Ae._stop(!0),vr=vr||Ae.transform.centerPoint;let ln=Fe.pointLocation(wt?vr.sub(wt):vr);Jt&&(Fe.bearing+=Jt),hr&&(Fe.pitch+=hr),zt&&(Fe.zoom+=zt),ht?this._terrainMovement||!ne.drag&&!ne.zoom?ne.drag&&this._terrainMovement?Fe.center=Fe.pointLocation(Fe.centerPoint.sub(wt)):Fe.setLocationAtPoint(ln,vr):(this._terrainMovement=!0,this._map._elevationFreeze=!0,Fe.setLocationAtPoint(ln,vr)):Fe.setLocationAtPoint(ln,vr),Ae._applyUpdatedTransform(Fe),this._map._update(),R.noInertia||this._inertia.record(R),this._fireEvents(ne,be,!0)}_fireEvents(R,ne,be){let Ae=Li(this._eventsInProgress),Fe=Li(R),ht={};for(let vr in R){let{originalEvent:Hr}=R[vr];this._eventsInProgress[vr]||(ht[`${vr}start`]=Hr),this._eventsInProgress[vr]=R[vr]}!Ae&&Fe&&this._fireEvent(\"movestart\",Fe.originalEvent);for(let vr in ht)this._fireEvent(vr,ht[vr]);Fe&&this._fireEvent(\"move\",Fe.originalEvent);for(let vr in R){let{originalEvent:Hr}=R[vr];this._fireEvent(vr,Hr)}let wt={},zt;for(let vr in this._eventsInProgress){let{handlerName:Hr,originalEvent:ln}=this._eventsInProgress[vr];this._handlersById[Hr].isActive()||(delete this._eventsInProgress[vr],zt=ne[Hr]||ln,wt[`${vr}end`]=zt)}for(let vr in wt)this._fireEvent(vr,wt[vr]);let Jt=Li(this._eventsInProgress),hr=(Ae||Fe)&&!Jt;if(hr&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;let vr=this._map._getTransformForUpdate();vr.recalculateZoom(this._map.terrain),this._map._applyUpdatedTransform(vr)}if(be&&hr){this._updatingCamera=!0;let vr=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),Hr=ln=>ln!==0&&-this._bearingSnap{delete this._frameId,this.handleEvent(new di(\"renderFrame\",{timeStamp:R})),this._applyChanges()})}_triggerRenderFrame(){this._frameId===void 0&&(this._frameId=this._requestFrame())}}class co extends t.E{constructor(R,ne){super(),this._renderFrameCallback=()=>{let be=Math.min((i.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(be)),be<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},this._moving=!1,this._zooming=!1,this.transform=R,this._bearingSnap=ne.bearingSnap,this.on(\"moveend\",()=>{delete this._requestedCameraState})}getCenter(){return new t.N(this.transform.center.lng,this.transform.center.lat)}setCenter(R,ne){return this.jumpTo({center:R},ne)}panBy(R,ne,be){return R=t.P.convert(R).mult(-1),this.panTo(this.transform.center,t.e({offset:R},ne),be)}panTo(R,ne,be){return this.easeTo(t.e({center:R},ne),be)}getZoom(){return this.transform.zoom}setZoom(R,ne){return this.jumpTo({zoom:R},ne),this}zoomTo(R,ne,be){return this.easeTo(t.e({zoom:R},ne),be)}zoomIn(R,ne){return this.zoomTo(this.getZoom()+1,R,ne),this}zoomOut(R,ne){return this.zoomTo(this.getZoom()-1,R,ne),this}getBearing(){return this.transform.bearing}setBearing(R,ne){return this.jumpTo({bearing:R},ne),this}getPadding(){return this.transform.padding}setPadding(R,ne){return this.jumpTo({padding:R},ne),this}rotateTo(R,ne,be){return this.easeTo(t.e({bearing:R},ne),be)}resetNorth(R,ne){return this.rotateTo(0,t.e({duration:1e3},R),ne),this}resetNorthPitch(R,ne){return this.easeTo(t.e({bearing:0,pitch:0,duration:1e3},R),ne),this}snapToNorth(R,ne){return Math.abs(this.getBearing()){if(this._zooming&&(Ae.zoom=t.y.number(Fe,st,pr)),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,pr)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,pr)),this._padding&&(Ae.interpolatePadding(zt,vr,pr),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(pr),It)Ae.setLocationAtPoint(It,rr);else{let kr=Ae.zoomScale(Ae.zoom-Fe),Yr=st>Fe?Math.min(2,xt):Math.max(.5,xt),_n=Math.pow(Yr,1-pr),Mn=Ae.unproject(dt.add(St.mult(pr*_n)).mult(kr));Ae.setLocationAtPoint(Ae.renderWorldCopies?Mn.wrap():Mn,ln)}this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},pr=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne,pr)},R),this}_prepareEase(R,ne,be={}){this._moving=!0,ne||be.moving||this.fire(new t.k(\"movestart\",R)),this._zooming&&!be.zooming&&this.fire(new t.k(\"zoomstart\",R)),this._rotating&&!be.rotating&&this.fire(new t.k(\"rotatestart\",R)),this._pitching&&!be.pitching&&this.fire(new t.k(\"pitchstart\",R))}_prepareElevation(R){this._elevationCenter=R,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(R,this.transform.tileZoom),this._elevationFreeze=!0}_updateElevation(R){this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);let ne=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(R<1&&ne!==this._elevationTarget){let be=this._elevationTarget-this._elevationStart;this._elevationStart+=R*(be-(ne-(be*R+this._elevationStart))/(1-R)),this._elevationTarget=ne}this.transform.elevation=t.y.number(this._elevationStart,this._elevationTarget,R)}_finalizeElevation(){this._elevationFreeze=!1,this.transform.recalculateZoom(this.terrain)}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(R){let ne=R.getCameraPosition(),be=this.terrain.getElevationForLngLatZoom(ne.lngLat,R.zoom);if(ne.altitudethis._elevateCameraIfInsideTerrain(Ae)),this.transformCameraUpdate&&ne.push(Ae=>this.transformCameraUpdate(Ae)),!ne.length)return;let be=R.clone();for(let Ae of ne){let Fe=be.clone(),{center:ht,zoom:wt,pitch:zt,bearing:Jt,elevation:hr}=Ae(Fe);ht&&(Fe.center=ht),wt!==void 0&&(Fe.zoom=wt),zt!==void 0&&(Fe.pitch=zt),Jt!==void 0&&(Fe.bearing=Jt),hr!==void 0&&(Fe.elevation=hr),be.apply(Fe)}this.transform.apply(be)}_fireMoveEvents(R){this.fire(new t.k(\"move\",R)),this._zooming&&this.fire(new t.k(\"zoom\",R)),this._rotating&&this.fire(new t.k(\"rotate\",R)),this._pitching&&this.fire(new t.k(\"pitch\",R))}_afterEase(R,ne){if(this._easeId&&ne&&this._easeId===ne)return;delete this._easeId;let be=this._zooming,Ae=this._rotating,Fe=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,be&&this.fire(new t.k(\"zoomend\",R)),Ae&&this.fire(new t.k(\"rotateend\",R)),Fe&&this.fire(new t.k(\"pitchend\",R)),this.fire(new t.k(\"moveend\",R))}flyTo(R,ne){var be;if(!R.essential&&i.prefersReducedMotion){let Zi=t.M(R,[\"center\",\"zoom\",\"bearing\",\"pitch\",\"around\"]);return this.jumpTo(Zi,ne)}this.stop(),R=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.b9},R);let Ae=this._getTransformForUpdate(),Fe=Ae.zoom,ht=Ae.bearing,wt=Ae.pitch,zt=Ae.padding,Jt=\"bearing\"in R?this._normalizeBearing(R.bearing,ht):ht,hr=\"pitch\"in R?+R.pitch:wt,vr=\"padding\"in R?R.padding:Ae.padding,Hr=t.P.convert(R.offset),ln=Ae.centerPoint.add(Hr),Ge=Ae.pointLocation(ln),{center:$e,zoom:st}=Ae.getConstrained(t.N.convert(R.center||Ge),(be=R.zoom)!==null&&be!==void 0?be:Fe);this._normalizeCenter($e,Ae);let dt=Ae.zoomScale(st-Fe),St=Ae.project(Ge),xt=Ae.project($e).sub(St),It=R.curve,rr=Math.max(Ae.width,Ae.height),sr=rr/dt,pr=xt.mag();if(\"minZoom\"in R){let Zi=t.ac(Math.min(R.minZoom,Fe,st),Ae.minZoom,Ae.maxZoom),ya=rr/Ae.zoomScale(Zi-Fe);It=Math.sqrt(ya/pr*2)}let kr=It*It;function Yr(Zi){let ya=(sr*sr-rr*rr+(Zi?-1:1)*kr*kr*pr*pr)/(2*(Zi?sr:rr)*kr*pr);return Math.log(Math.sqrt(ya*ya+1)-ya)}function _n(Zi){return(Math.exp(Zi)-Math.exp(-Zi))/2}function Mn(Zi){return(Math.exp(Zi)+Math.exp(-Zi))/2}let Un=Yr(!1),li=function(Zi){return Mn(Un)/Mn(Un+It*Zi)},ki=function(Zi){return rr*((Mn(Un)*(_n(ya=Un+It*Zi)/Mn(ya))-_n(Un))/kr)/pr;var ya},Ci=(Yr(!0)-Un)/It;if(Math.abs(pr)<1e-6||!isFinite(Ci)){if(Math.abs(rr-sr)<1e-6)return this.easeTo(R,ne);let Zi=sr0,li=ya=>Math.exp(Zi*It*ya)}return R.duration=\"duration\"in R?+R.duration:1e3*Ci/(\"screenSpeed\"in R?+R.screenSpeed/It:+R.speed),R.maxDuration&&R.duration>R.maxDuration&&(R.duration=0),this._zooming=!0,this._rotating=ht!==Jt,this._pitching=hr!==wt,this._padding=!Ae.isPaddingEqual(vr),this._prepareEase(ne,!1),this.terrain&&this._prepareElevation($e),this._ease(Zi=>{let ya=Zi*Ci,ro=1/li(ya);Ae.zoom=Zi===1?st:Fe+Ae.scaleZoom(ro),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,Zi)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,Zi)),this._padding&&(Ae.interpolatePadding(zt,vr,Zi),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(Zi);let Va=Zi===1?$e:Ae.unproject(St.add(xt.mult(ki(ya))).mult(ro));Ae.setLocationAtPoint(Ae.renderWorldCopies?Va.wrap():Va,ln),this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},()=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne)},R),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(R,ne){var be;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){let Ae=this._onEaseEnd;delete this._onEaseEnd,Ae.call(this,ne)}return R||(be=this.handlers)===null||be===void 0||be.stop(!1),this}_ease(R,ne,be){be.animate===!1||be.duration===0?(R(1),ne()):(this._easeStart=i.now(),this._easeOptions=be,this._onEaseFrame=R,this._onEaseEnd=ne,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_normalizeBearing(R,ne){R=t.b3(R,-180,180);let be=Math.abs(R-ne);return Math.abs(R-360-ne)180?-360:be<-180?360:0}queryTerrainElevation(R){return this.terrain?this.terrain.getElevationForLngLatZoom(t.N.convert(R),this.transform.tileZoom)-this.transform.elevation:null}}let mo={compact:!0,customAttribution:'MapLibre'};class Ao{constructor(R=mo){this._toggleAttribution=()=>{this._container.classList.contains(\"maplibregl-compact\")&&(this._container.classList.contains(\"maplibregl-compact-show\")?(this._container.setAttribute(\"open\",\"\"),this._container.classList.remove(\"maplibregl-compact-show\")):(this._container.classList.add(\"maplibregl-compact-show\"),this._container.removeAttribute(\"open\")))},this._updateData=ne=>{!ne||ne.sourceDataType!==\"metadata\"&&ne.sourceDataType!==\"visibility\"&&ne.dataType!==\"style\"&&ne.type!==\"terrain\"||this._updateAttributions()},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact===!1?this._container.setAttribute(\"open\",\"\"):this._container.classList.contains(\"maplibregl-compact\")||this._container.classList.contains(\"maplibregl-attrib-empty\")||(this._container.setAttribute(\"open\",\"\"),this._container.classList.add(\"maplibregl-compact\",\"maplibregl-compact-show\")):(this._container.setAttribute(\"open\",\"\"),this._container.classList.contains(\"maplibregl-compact\")&&this._container.classList.remove(\"maplibregl-compact\",\"maplibregl-compact-show\"))},this._updateCompactMinimize=()=>{this._container.classList.contains(\"maplibregl-compact\")&&this._container.classList.contains(\"maplibregl-compact-show\")&&this._container.classList.remove(\"maplibregl-compact-show\")},this.options=R}getDefaultPosition(){return\"bottom-right\"}onAdd(R){return this._map=R,this._compact=this.options.compact,this._container=a.create(\"details\",\"maplibregl-ctrl maplibregl-ctrl-attrib\"),this._compactButton=a.create(\"summary\",\"maplibregl-ctrl-attrib-button\",this._container),this._compactButton.addEventListener(\"click\",this._toggleAttribution),this._setElementTitle(this._compactButton,\"ToggleAttribution\"),this._innerContainer=a.create(\"div\",\"maplibregl-ctrl-attrib-inner\",this._container),this._updateAttributions(),this._updateCompact(),this._map.on(\"styledata\",this._updateData),this._map.on(\"sourcedata\",this._updateData),this._map.on(\"terrain\",this._updateData),this._map.on(\"resize\",this._updateCompact),this._map.on(\"drag\",this._updateCompactMinimize),this._container}onRemove(){a.remove(this._container),this._map.off(\"styledata\",this._updateData),this._map.off(\"sourcedata\",this._updateData),this._map.off(\"terrain\",this._updateData),this._map.off(\"resize\",this._updateCompact),this._map.off(\"drag\",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(R,ne){let be=this._map._getUIString(`AttributionControl.${ne}`);R.title=be,R.setAttribute(\"aria-label\",be)}_updateAttributions(){if(!this._map.style)return;let R=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?R=R.concat(this.options.customAttribution.map(Ae=>typeof Ae!=\"string\"?\"\":Ae)):typeof this.options.customAttribution==\"string\"&&R.push(this.options.customAttribution)),this._map.style.stylesheet){let Ae=this._map.style.stylesheet;this.styleOwner=Ae.owner,this.styleId=Ae.id}let ne=this._map.style.sourceCaches;for(let Ae in ne){let Fe=ne[Ae];if(Fe.used||Fe.usedForTerrain){let ht=Fe.getSource();ht.attribution&&R.indexOf(ht.attribution)<0&&R.push(ht.attribution)}}R=R.filter(Ae=>String(Ae).trim()),R.sort((Ae,Fe)=>Ae.length-Fe.length),R=R.filter((Ae,Fe)=>{for(let ht=Fe+1;ht=0)return!1;return!0});let be=R.join(\" | \");be!==this._attribHTML&&(this._attribHTML=be,R.length?(this._innerContainer.innerHTML=be,this._container.classList.remove(\"maplibregl-attrib-empty\")):this._container.classList.add(\"maplibregl-attrib-empty\"),this._updateCompact(),this._editLink=null)}}class xa{constructor(R={}){this._updateCompact=()=>{let ne=this._container.children;if(ne.length){let be=ne[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact!==!1&&be.classList.add(\"maplibregl-compact\"):be.classList.remove(\"maplibregl-compact\")}},this.options=R}getDefaultPosition(){return\"bottom-left\"}onAdd(R){this._map=R,this._compact=this.options&&this.options.compact,this._container=a.create(\"div\",\"maplibregl-ctrl\");let ne=a.create(\"a\",\"maplibregl-ctrl-logo\");return ne.target=\"_blank\",ne.rel=\"noopener nofollow\",ne.href=\"https://maplibre.org/\",ne.setAttribute(\"aria-label\",this._map._getUIString(\"LogoControl.Title\")),ne.setAttribute(\"rel\",\"noopener nofollow\"),this._container.appendChild(ne),this._container.style.display=\"block\",this._map.on(\"resize\",this._updateCompact),this._updateCompact(),this._container}onRemove(){a.remove(this._container),this._map.off(\"resize\",this._updateCompact),this._map=void 0,this._compact=void 0}}class Qi{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(R){let ne=++this._id;return this._queue.push({callback:R,id:ne,cancelled:!1}),ne}remove(R){let ne=this._currentlyRunning,be=ne?this._queue.concat(ne):this._queue;for(let Ae of be)if(Ae.id===R)return void(Ae.cancelled=!0)}run(R=0){if(this._currentlyRunning)throw new Error(\"Attempting to run(), but is already running.\");let ne=this._currentlyRunning=this._queue;this._queue=[];for(let be of ne)if(!be.cancelled&&(be.callback(R),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}var Lo=t.Y([{name:\"a_pos3d\",type:\"Int16\",components:3}]);class as extends t.E{constructor(R){super(),this.sourceCache=R,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,R.usedForTerrain=!0,R.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null}update(R,ne){this.sourceCache.update(R,ne),this._renderableTilesKeys=[];let be={};for(let Ae of R.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:ne}))be[Ae.key]=!0,this._renderableTilesKeys.push(Ae.key),this._tiles[Ae.key]||(Ae.posMatrix=new Float64Array(16),t.aP(Ae.posMatrix,0,t.X,0,t.X,0,1),this._tiles[Ae.key]=new ot(Ae,this.tileSize));for(let Ae in this._tiles)be[Ae]||delete this._tiles[Ae]}freeRtt(R){for(let ne in this._tiles){let be=this._tiles[ne];(!R||be.tileID.equals(R)||be.tileID.isChildOf(R)||R.isChildOf(be.tileID))&&(be.rtt=[])}}getRenderableTiles(){return this._renderableTilesKeys.map(R=>this.getTileByID(R))}getTileByID(R){return this._tiles[R]}getTerrainCoords(R){let ne={};for(let be of this._renderableTilesKeys){let Ae=this._tiles[be].tileID;if(Ae.canonical.equals(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16),t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),ne[be]=Fe}else if(Ae.canonical.isChildOf(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=Ae.canonical.z-R.canonical.z,wt=Ae.canonical.x-(Ae.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,Jt,0,Jt,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[-wt*Jt,-zt*Jt,0]),ne[be]=Fe}else if(R.canonical.isChildOf(Ae.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=R.canonical.z-Ae.canonical.z,wt=R.canonical.x-(R.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[wt*Jt,zt*Jt,0]),t.K(Fe.posMatrix,Fe.posMatrix,[1/2**ht,1/2**ht,0]),ne[be]=Fe}}return ne}getSourceTile(R,ne){let be=this.sourceCache._source,Ae=R.overscaledZ-this.deltaZoom;if(Ae>be.maxzoom&&(Ae=be.maxzoom),Ae=be.minzoom&&(!Fe||!Fe.dem);)Fe=this.sourceCache.getTileByID(R.scaledTo(Ae--).key);return Fe}tilesAfterTime(R=Date.now()){return Object.values(this._tiles).filter(ne=>ne.timeAdded>=R)}}class Ds{constructor(R,ne,be){this.painter=R,this.sourceCache=new as(ne),this.options=be,this.exaggeration=typeof be.exaggeration==\"number\"?be.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024}getDEMElevation(R,ne,be,Ae=t.X){var Fe;if(!(ne>=0&&ne=0&&beR.canonical.z&&(R.canonical.z>=Ae?Fe=R.canonical.z-Ae:t.w(\"cannot calculate elevation if elevation maxzoom > source.maxzoom\"));let ht=R.canonical.x-(R.canonical.x>>Fe<>Fe<>8<<4|Fe>>8,ne[ht+3]=0;let be=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(ne.buffer)),Ae=new u(R,be,R.gl.RGBA,{premultiply:!1});return Ae.bind(R.gl.NEAREST,R.gl.CLAMP_TO_EDGE),this._coordsTexture=Ae,Ae}pointCoordinate(R){this.painter.maybeDrawDepthAndCoords(!0);let ne=new Uint8Array(4),be=this.painter.context,Ae=be.gl,Fe=Math.round(R.x*this.painter.pixelRatio/devicePixelRatio),ht=Math.round(R.y*this.painter.pixelRatio/devicePixelRatio),wt=Math.round(this.painter.height/devicePixelRatio);be.bindFramebuffer.set(this.getFramebuffer(\"coords\").framebuffer),Ae.readPixels(Fe,wt-ht-1,1,1,Ae.RGBA,Ae.UNSIGNED_BYTE,ne),be.bindFramebuffer.set(null);let zt=ne[0]+(ne[2]>>4<<8),Jt=ne[1]+((15&ne[2])<<8),hr=this.coordsIndex[255-ne[3]],vr=hr&&this.sourceCache.getTileByID(hr);if(!vr)return null;let Hr=this._coordsTextureSize,ln=(1<R.id!==ne),this._recentlyUsed.push(R.id)}stampObject(R){R.stamp=++this._stamp}getOrCreateFreeObject(){for(let ne of this._recentlyUsed)if(!this._objects[ne].inUse)return this._objects[ne];if(this._objects.length>=this._size)throw new Error(\"No free RenderPool available, call freeAllObjects() required!\");let R=this._createObject(this._objects.length);return this._objects.push(R),R}freeObject(R){R.inUse=!1}freeAllObjects(){for(let R of this._objects)this.freeObject(R)}isFull(){return!(this._objects.length!R.inUse)===!1}}let Ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0};class el{constructor(R,ne){this.painter=R,this.terrain=ne,this.pool=new il(R.context,30,ne.sourceCache.tileSize*ne.qualityFactor)}destruct(){this.pool.destruct()}getTexture(R){return this.pool.getObjectForId(R.rtt[this._stacks.length-1].id).texture}prepareForRender(R,ne){this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.sourceCache.getRenderableTiles(),this._renderableLayerIds=R._order.filter(be=>!R._layers[be].isHidden(ne)),this._coordsDescendingInv={};for(let be in R.sourceCaches){this._coordsDescendingInv[be]={};let Ae=R.sourceCaches[be].getVisibleCoordinates();for(let Fe of Ae){let ht=this.terrain.sourceCache.getTerrainCoords(Fe);for(let wt in ht)this._coordsDescendingInv[be][wt]||(this._coordsDescendingInv[be][wt]=[]),this._coordsDescendingInv[be][wt].push(ht[wt])}}this._coordsDescendingInvStr={};for(let be of R._order){let Ae=R._layers[be],Fe=Ae.source;if(Ns[Ae.type]&&!this._coordsDescendingInvStr[Fe]){this._coordsDescendingInvStr[Fe]={};for(let ht in this._coordsDescendingInv[Fe])this._coordsDescendingInvStr[Fe][ht]=this._coordsDescendingInv[Fe][ht].map(wt=>wt.key).sort().join()}}for(let be of this._renderableTiles)for(let Ae in this._coordsDescendingInvStr){let Fe=this._coordsDescendingInvStr[Ae][be.tileID.key];Fe&&Fe!==be.rttCoords[Ae]&&(be.rtt=[])}}renderLayer(R){if(R.isHidden(this.painter.transform.zoom))return!1;let ne=R.type,be=this.painter,Ae=this._renderableLayerIds[this._renderableLayerIds.length-1]===R.id;if(Ns[ne]&&(this._prevType&&Ns[this._prevType]||this._stacks.push([]),this._prevType=ne,this._stacks[this._stacks.length-1].push(R.id),!Ae))return!0;if(Ns[this._prevType]||Ns[ne]&&Ae){this._prevType=ne;let Fe=this._stacks.length-1,ht=this._stacks[Fe]||[];for(let wt of this._renderableTiles){if(this.pool.isFull()&&(su(this.painter,this.terrain,this._rttTiles),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(wt),wt.rtt[Fe]){let Jt=this.pool.getObjectForId(wt.rtt[Fe].id);if(Jt.stamp===wt.rtt[Fe].stamp){this.pool.useObject(Jt);continue}}let zt=this.pool.getOrCreateFreeObject();this.pool.useObject(zt),this.pool.stampObject(zt),wt.rtt[Fe]={id:zt.id,stamp:zt.stamp},be.context.bindFramebuffer.set(zt.fbo.framebuffer),be.context.clear({color:t.aM.transparent,stencil:0}),be.currentStencilSource=void 0;for(let Jt=0;Jt{Ne.touchstart=Ne.dragStart,Ne.touchmoveWindow=Ne.dragMove,Ne.touchend=Ne.dragEnd},Za={showCompass:!0,showZoom:!0,visualizePitch:!1};class jo{constructor(R,ne,be=!1){this.mousedown=ht=>{this.startMouse(t.e({},ht,{ctrlKey:!0,preventDefault:()=>ht.preventDefault()}),a.mousePos(this.element,ht)),a.addEventListener(window,\"mousemove\",this.mousemove),a.addEventListener(window,\"mouseup\",this.mouseup)},this.mousemove=ht=>{this.moveMouse(ht,a.mousePos(this.element,ht))},this.mouseup=ht=>{this.mouseRotate.dragEnd(ht),this.mousePitch&&this.mousePitch.dragEnd(ht),this.offTemp()},this.touchstart=ht=>{ht.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.startTouch(ht,this._startPos),a.addEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.addEventListener(window,\"touchend\",this.touchend))},this.touchmove=ht=>{ht.targetTouches.length!==1?this.reset():(this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.moveTouch(ht,this._lastPos))},this.touchend=ht=>{ht.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),this.touchRotate.reset(),this.touchPitch&&this.touchPitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()},this._clickTolerance=10;let Ae=R.dragRotate._mouseRotate.getClickTolerance(),Fe=R.dragRotate._mousePitch.getClickTolerance();this.element=ne,this.mouseRotate=Xl({clickTolerance:Ae,enable:!0}),this.touchRotate=(({enable:ht,clickTolerance:wt,bearingDegreesPerPixelMoved:zt=.8})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({bearingDelta:(vr.x-hr.x)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Ae,enable:!0}),this.map=R,be&&(this.mousePitch=Uf({clickTolerance:Fe,enable:!0}),this.touchPitch=(({enable:ht,clickTolerance:wt,pitchDegreesPerPixelMoved:zt=-.5})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({pitchDelta:(vr.y-hr.y)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Fe,enable:!0})),a.addEventListener(ne,\"mousedown\",this.mousedown),a.addEventListener(ne,\"touchstart\",this.touchstart,{passive:!1}),a.addEventListener(ne,\"touchcancel\",this.reset)}startMouse(R,ne){this.mouseRotate.dragStart(R,ne),this.mousePitch&&this.mousePitch.dragStart(R,ne),a.disableDrag()}startTouch(R,ne){this.touchRotate.dragStart(R,ne),this.touchPitch&&this.touchPitch.dragStart(R,ne),a.disableDrag()}moveMouse(R,ne){let be=this.map,{bearingDelta:Ae}=this.mouseRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.mousePitch){let{pitchDelta:Fe}=this.mousePitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}moveTouch(R,ne){let be=this.map,{bearingDelta:Ae}=this.touchRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.touchPitch){let{pitchDelta:Fe}=this.touchPitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}off(){let R=this.element;a.removeEventListener(R,\"mousedown\",this.mousedown),a.removeEventListener(R,\"touchstart\",this.touchstart,{passive:!1}),a.removeEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.removeEventListener(window,\"touchend\",this.touchend),a.removeEventListener(R,\"touchcancel\",this.reset),this.offTemp()}offTemp(){a.enableDrag(),a.removeEventListener(window,\"mousemove\",this.mousemove),a.removeEventListener(window,\"mouseup\",this.mouseup),a.removeEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.removeEventListener(window,\"touchend\",this.touchend)}}let Js;function zs(Ne,R,ne){let be=new t.N(Ne.lng,Ne.lat);if(Ne=new t.N(Ne.lng,Ne.lat),R){let Ae=new t.N(Ne.lng-360,Ne.lat),Fe=new t.N(Ne.lng+360,Ne.lat),ht=ne.locationPoint(Ne).distSqr(R);ne.locationPoint(Ae).distSqr(R)180;){let Ae=ne.locationPoint(Ne);if(Ae.x>=0&&Ae.y>=0&&Ae.x<=ne.width&&Ae.y<=ne.height)break;Ne.lng>ne.center.lng?Ne.lng-=360:Ne.lng+=360}return Ne.lng!==be.lng&&ne.locationPoint(Ne).y>ne.height/2-ne.getHorizon()?Ne:be}let cu={center:\"translate(-50%,-50%)\",top:\"translate(-50%,0)\",\"top-left\":\"translate(0,0)\",\"top-right\":\"translate(-100%,0)\",bottom:\"translate(-50%,-100%)\",\"bottom-left\":\"translate(0,-100%)\",\"bottom-right\":\"translate(-100%,-100%)\",left:\"translate(0,-50%)\",right:\"translate(-100%,-50%)\"};function zu(Ne,R,ne){let be=Ne.classList;for(let Ae in cu)be.remove(`maplibregl-${ne}-anchor-${Ae}`);be.add(`maplibregl-${ne}-anchor-${R}`)}class nc extends t.E{constructor(R){if(super(),this._onKeyPress=ne=>{let be=ne.code,Ae=ne.charCode||ne.keyCode;be!==\"Space\"&&be!==\"Enter\"&&Ae!==32&&Ae!==13||this.togglePopup()},this._onMapClick=ne=>{let be=ne.originalEvent.target,Ae=this._element;this._popup&&(be===Ae||Ae.contains(be))&&this.togglePopup()},this._update=ne=>{var be;if(!this._map)return;let Ae=this._map.loaded()&&!this._map.isMoving();(ne?.type===\"terrain\"||ne?.type===\"render\"&&!Ae)&&this._map.once(\"render\",this._update),this._lngLat=this._map.transform.renderWorldCopies?zs(this._lngLat,this._flatPos,this._map.transform):(be=this._lngLat)===null||be===void 0?void 0:be.wrap(),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationPoint(this._lngLat)._add(this._offset));let Fe=\"\";this._rotationAlignment===\"viewport\"||this._rotationAlignment===\"auto\"?Fe=`rotateZ(${this._rotation}deg)`:this._rotationAlignment===\"map\"&&(Fe=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let ht=\"\";this._pitchAlignment===\"viewport\"||this._pitchAlignment===\"auto\"?ht=\"rotateX(0deg)\":this._pitchAlignment===\"map\"&&(ht=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||ne&&ne.type!==\"moveend\"||(this._pos=this._pos.round()),a.setTransform(this._element,`${cu[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${ht} ${Fe}`),i.frameAsync(new AbortController).then(()=>{this._updateOpacity(ne&&ne.type===\"moveend\")}).catch(()=>{})},this._onMove=ne=>{if(!this._isDragging){let be=this._clickTolerance||this._map._clickTolerance;this._isDragging=ne.point.dist(this._pointerdownPos)>=be}this._isDragging&&(this._pos=ne.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents=\"none\",this._state===\"pending\"&&(this._state=\"active\",this.fire(new t.k(\"dragstart\"))),this.fire(new t.k(\"drag\")))},this._onUp=()=>{this._element.style.pointerEvents=\"auto\",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),this._state===\"active\"&&this.fire(new t.k(\"dragend\")),this._state=\"inactive\"},this._addDragHandler=ne=>{this._element.contains(ne.originalEvent.target)&&(ne.preventDefault(),this._positionDelta=ne.point.sub(this._pos).add(this._offset),this._pointerdownPos=ne.point,this._state=\"pending\",this._map.on(\"mousemove\",this._onMove),this._map.on(\"touchmove\",this._onMove),this._map.once(\"mouseup\",this._onUp),this._map.once(\"touchend\",this._onUp))},this._anchor=R&&R.anchor||\"center\",this._color=R&&R.color||\"#3FB1CE\",this._scale=R&&R.scale||1,this._draggable=R&&R.draggable||!1,this._clickTolerance=R&&R.clickTolerance||0,this._subpixelPositioning=R&&R.subpixelPositioning||!1,this._isDragging=!1,this._state=\"inactive\",this._rotation=R&&R.rotation||0,this._rotationAlignment=R&&R.rotationAlignment||\"auto\",this._pitchAlignment=R&&R.pitchAlignment&&R.pitchAlignment!==\"auto\"?R.pitchAlignment:this._rotationAlignment,this.setOpacity(),this.setOpacity(R?.opacity,R?.opacityWhenCovered),R&&R.element)this._element=R.element,this._offset=t.P.convert(R&&R.offset||[0,0]);else{this._defaultMarker=!0,this._element=a.create(\"div\");let ne=a.createNS(\"http://www.w3.org/2000/svg\",\"svg\"),be=41,Ae=27;ne.setAttributeNS(null,\"display\",\"block\"),ne.setAttributeNS(null,\"height\",`${be}px`),ne.setAttributeNS(null,\"width\",`${Ae}px`),ne.setAttributeNS(null,\"viewBox\",`0 0 ${Ae} ${be}`);let Fe=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Fe.setAttributeNS(null,\"stroke\",\"none\"),Fe.setAttributeNS(null,\"stroke-width\",\"1\"),Fe.setAttributeNS(null,\"fill\",\"none\"),Fe.setAttributeNS(null,\"fill-rule\",\"evenodd\");let ht=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");ht.setAttributeNS(null,\"fill-rule\",\"nonzero\");let wt=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");wt.setAttributeNS(null,\"transform\",\"translate(3.0, 29.0)\"),wt.setAttributeNS(null,\"fill\",\"#000000\");let zt=[{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"9.5\",ry:\"4.77275007\"},{rx:\"8.5\",ry:\"4.29549936\"},{rx:\"7.5\",ry:\"3.81822308\"},{rx:\"6.5\",ry:\"3.34094679\"},{rx:\"5.5\",ry:\"2.86367051\"},{rx:\"4.5\",ry:\"2.38636864\"}];for(let dt of zt){let St=a.createNS(\"http://www.w3.org/2000/svg\",\"ellipse\");St.setAttributeNS(null,\"opacity\",\"0.04\"),St.setAttributeNS(null,\"cx\",\"10.5\"),St.setAttributeNS(null,\"cy\",\"5.80029008\"),St.setAttributeNS(null,\"rx\",dt.rx),St.setAttributeNS(null,\"ry\",dt.ry),wt.appendChild(St)}let Jt=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Jt.setAttributeNS(null,\"fill\",this._color);let hr=a.createNS(\"http://www.w3.org/2000/svg\",\"path\");hr.setAttributeNS(null,\"d\",\"M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z\"),Jt.appendChild(hr);let vr=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");vr.setAttributeNS(null,\"opacity\",\"0.25\"),vr.setAttributeNS(null,\"fill\",\"#000000\");let Hr=a.createNS(\"http://www.w3.org/2000/svg\",\"path\");Hr.setAttributeNS(null,\"d\",\"M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z\"),vr.appendChild(Hr);let ln=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");ln.setAttributeNS(null,\"transform\",\"translate(6.0, 7.0)\"),ln.setAttributeNS(null,\"fill\",\"#FFFFFF\");let Ge=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Ge.setAttributeNS(null,\"transform\",\"translate(8.0, 8.0)\");let $e=a.createNS(\"http://www.w3.org/2000/svg\",\"circle\");$e.setAttributeNS(null,\"fill\",\"#000000\"),$e.setAttributeNS(null,\"opacity\",\"0.25\"),$e.setAttributeNS(null,\"cx\",\"5.5\"),$e.setAttributeNS(null,\"cy\",\"5.5\"),$e.setAttributeNS(null,\"r\",\"5.4999962\");let st=a.createNS(\"http://www.w3.org/2000/svg\",\"circle\");st.setAttributeNS(null,\"fill\",\"#FFFFFF\"),st.setAttributeNS(null,\"cx\",\"5.5\"),st.setAttributeNS(null,\"cy\",\"5.5\"),st.setAttributeNS(null,\"r\",\"5.4999962\"),Ge.appendChild($e),Ge.appendChild(st),ht.appendChild(wt),ht.appendChild(Jt),ht.appendChild(vr),ht.appendChild(ln),ht.appendChild(Ge),ne.appendChild(ht),ne.setAttributeNS(null,\"height\",be*this._scale+\"px\"),ne.setAttributeNS(null,\"width\",Ae*this._scale+\"px\"),this._element.appendChild(ne),this._offset=t.P.convert(R&&R.offset||[0,-14])}if(this._element.classList.add(\"maplibregl-marker\"),this._element.addEventListener(\"dragstart\",ne=>{ne.preventDefault()}),this._element.addEventListener(\"mousedown\",ne=>{ne.preventDefault()}),zu(this._element,this._anchor,\"marker\"),R&&R.className)for(let ne of R.className.split(\" \"))this._element.classList.add(ne);this._popup=null}addTo(R){return this.remove(),this._map=R,this._element.setAttribute(\"aria-label\",R._getUIString(\"Marker.Title\")),R.getCanvasContainer().appendChild(this._element),R.on(\"move\",this._update),R.on(\"moveend\",this._update),R.on(\"terrain\",this._update),this.setDraggable(this._draggable),this._update(),this._map.on(\"click\",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off(\"click\",this._onMapClick),this._map.off(\"move\",this._update),this._map.off(\"moveend\",this._update),this._map.off(\"terrain\",this._update),this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler),this._map.off(\"mouseup\",this._onUp),this._map.off(\"touchend\",this._onUp),this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),delete this._map),a.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(R){return this._lngLat=t.N.convert(R),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(R){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener(\"keypress\",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute(\"tabindex\")),R){if(!(\"offset\"in R.options)){let Ae=Math.abs(13.5)/Math.SQRT2;R.options.offset=this._defaultMarker?{top:[0,0],\"top-left\":[0,0],\"top-right\":[0,0],bottom:[0,-38.1],\"bottom-left\":[Ae,-1*(38.1-13.5+Ae)],\"bottom-right\":[-Ae,-1*(38.1-13.5+Ae)],left:[13.5,-1*(38.1-13.5)],right:[-13.5,-1*(38.1-13.5)]}:this._offset}this._popup=R,this._originalTabIndex=this._element.getAttribute(\"tabindex\"),this._originalTabIndex||this._element.setAttribute(\"tabindex\",\"0\"),this._element.addEventListener(\"keypress\",this._onKeyPress)}return this}setSubpixelPositioning(R){return this._subpixelPositioning=R,this}getPopup(){return this._popup}togglePopup(){let R=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:R?(R.isOpen()?R.remove():(R.setLngLat(this._lngLat),R.addTo(this._map)),this):this}_updateOpacity(R=!1){var ne,be;if(!(!((ne=this._map)===null||ne===void 0)&&ne.terrain))return void(this._element.style.opacity!==this._opacity&&(this._element.style.opacity=this._opacity));if(R)this._opacityTimeout=null;else{if(this._opacityTimeout)return;this._opacityTimeout=setTimeout(()=>{this._opacityTimeout=null},100)}let Ae=this._map,Fe=Ae.terrain.depthAtPoint(this._pos),ht=Ae.terrain.getElevationForLngLatZoom(this._lngLat,Ae.transform.tileZoom);if(Ae.transform.lngLatToCameraDepth(this._lngLat,ht)-Fe<.006)return void(this._element.style.opacity=this._opacity);let wt=-this._offset.y/Ae.transform._pixelPerMeter,zt=Math.sin(Ae.getPitch()*Math.PI/180)*wt,Jt=Ae.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),hr=Ae.transform.lngLatToCameraDepth(this._lngLat,ht+zt)-Jt>.006;!((be=this._popup)===null||be===void 0)&&be.isOpen()&&hr&&this._popup.remove(),this._element.style.opacity=hr?this._opacityWhenCovered:this._opacity}getOffset(){return this._offset}setOffset(R){return this._offset=t.P.convert(R),this._update(),this}addClassName(R){this._element.classList.add(R)}removeClassName(R){this._element.classList.remove(R)}toggleClassName(R){return this._element.classList.toggle(R)}setDraggable(R){return this._draggable=!!R,this._map&&(R?(this._map.on(\"mousedown\",this._addDragHandler),this._map.on(\"touchstart\",this._addDragHandler)):(this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(R){return this._rotation=R||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(R){return this._rotationAlignment=R||\"auto\",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(R){return this._pitchAlignment=R&&R!==\"auto\"?R:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(R,ne){return R===void 0&&ne===void 0&&(this._opacity=\"1\",this._opacityWhenCovered=\"0.2\"),R!==void 0&&(this._opacity=R),ne!==void 0&&(this._opacityWhenCovered=ne),this._map&&this._updateOpacity(!0),this}}let Kc={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Tu=0,zc=!1,Fu={maxWidth:100,unit:\"metric\"};function wc(Ne,R,ne){let be=ne&&ne.maxWidth||100,Ae=Ne._container.clientHeight/2,Fe=Ne.unproject([0,Ae]),ht=Ne.unproject([be,Ae]),wt=Fe.distanceTo(ht);if(ne&&ne.unit===\"imperial\"){let zt=3.2808*wt;zt>5280?bo(R,be,zt/5280,Ne._getUIString(\"ScaleControl.Miles\")):bo(R,be,zt,Ne._getUIString(\"ScaleControl.Feet\"))}else ne&&ne.unit===\"nautical\"?bo(R,be,wt/1852,Ne._getUIString(\"ScaleControl.NauticalMiles\")):wt>=1e3?bo(R,be,wt/1e3,Ne._getUIString(\"ScaleControl.Kilometers\")):bo(R,be,wt,Ne._getUIString(\"ScaleControl.Meters\"))}function bo(Ne,R,ne,be){let Ae=function(Fe){let ht=Math.pow(10,`${Math.floor(Fe)}`.length-1),wt=Fe/ht;return wt=wt>=10?10:wt>=5?5:wt>=3?3:wt>=2?2:wt>=1?1:function(zt){let Jt=Math.pow(10,Math.ceil(-Math.log(zt)/Math.LN10));return Math.round(zt*Jt)/Jt}(wt),ht*wt}(ne);Ne.style.width=R*(Ae/ne)+\"px\",Ne.innerHTML=`${Ae} ${be}`}let Wo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:\"\",maxWidth:\"240px\",subpixelPositioning:!1},Fc=[\"a[href]\",\"[tabindex]:not([tabindex='-1'])\",\"[contenteditable]:not([contenteditable='false'])\",\"button:not([disabled])\",\"input:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\"].join(\", \");function hc(Ne){if(Ne){if(typeof Ne==\"number\"){let R=Math.round(Math.abs(Ne)/Math.SQRT2);return{center:new t.P(0,0),top:new t.P(0,Ne),\"top-left\":new t.P(R,R),\"top-right\":new t.P(-R,R),bottom:new t.P(0,-Ne),\"bottom-left\":new t.P(R,-R),\"bottom-right\":new t.P(-R,-R),left:new t.P(Ne,0),right:new t.P(-Ne,0)}}if(Ne instanceof t.P||Array.isArray(Ne)){let R=t.P.convert(Ne);return{center:R,top:R,\"top-left\":R,\"top-right\":R,bottom:R,\"bottom-left\":R,\"bottom-right\":R,left:R,right:R}}return{center:t.P.convert(Ne.center||[0,0]),top:t.P.convert(Ne.top||[0,0]),\"top-left\":t.P.convert(Ne[\"top-left\"]||[0,0]),\"top-right\":t.P.convert(Ne[\"top-right\"]||[0,0]),bottom:t.P.convert(Ne.bottom||[0,0]),\"bottom-left\":t.P.convert(Ne[\"bottom-left\"]||[0,0]),\"bottom-right\":t.P.convert(Ne[\"bottom-right\"]||[0,0]),left:t.P.convert(Ne.left||[0,0]),right:t.P.convert(Ne.right||[0,0])}}return hc(new t.P(0,0))}let dc=r;e.AJAXError=t.bh,e.Evented=t.E,e.LngLat=t.N,e.MercatorCoordinate=t.Z,e.Point=t.P,e.addProtocol=t.bi,e.config=t.a,e.removeProtocol=t.bj,e.AttributionControl=Ao,e.BoxZoomHandler=wu,e.CanvasSource=tt,e.CooperativeGesturesHandler=zi,e.DoubleClickZoomHandler=si,e.DragPanHandler=Wi,e.DragRotateHandler=aa,e.EdgeInsets=tc,e.FullscreenControl=class extends t.E{constructor(Ne={}){super(),this._onFullscreenChange=()=>{var R;let ne=window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement;for(;!((R=ne?.shadowRoot)===null||R===void 0)&&R.fullscreenElement;)ne=ne.shadowRoot.fullscreenElement;ne===this._container!==this._fullscreen&&this._handleFullscreenChange()},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen()},this._fullscreen=!1,Ne&&Ne.container&&(Ne.container instanceof HTMLElement?this._container=Ne.container:t.w(\"Full screen control 'container' must be a DOM element.\")),\"onfullscreenchange\"in document?this._fullscreenchange=\"fullscreenchange\":\"onmozfullscreenchange\"in document?this._fullscreenchange=\"mozfullscreenchange\":\"onwebkitfullscreenchange\"in document?this._fullscreenchange=\"webkitfullscreenchange\":\"onmsfullscreenchange\"in document&&(this._fullscreenchange=\"MSFullscreenChange\")}onAdd(Ne){return this._map=Ne,this._container||(this._container=this._map.getContainer()),this._controlContainer=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._setupUI(),this._controlContainer}onRemove(){a.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange)}_setupUI(){let Ne=this._fullscreenButton=a.create(\"button\",\"maplibregl-ctrl-fullscreen\",this._controlContainer);a.create(\"span\",\"maplibregl-ctrl-icon\",Ne).setAttribute(\"aria-hidden\",\"true\"),Ne.type=\"button\",this._updateTitle(),this._fullscreenButton.addEventListener(\"click\",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange)}_updateTitle(){let Ne=this._getTitle();this._fullscreenButton.setAttribute(\"aria-label\",Ne),this._fullscreenButton.title=Ne}_getTitle(){return this._map._getUIString(this._isFullscreen()?\"FullscreenControl.Exit\":\"FullscreenControl.Enter\")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(\"maplibregl-ctrl-shrink\"),this._fullscreenButton.classList.toggle(\"maplibregl-ctrl-fullscreen\"),this._updateTitle(),this._fullscreen?(this.fire(new t.k(\"fullscreenstart\")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.k(\"fullscreenend\")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable())}_exitFullscreen(){window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen()}_requestFullscreen(){this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen()}_togglePseudoFullScreen(){this._container.classList.toggle(\"maplibregl-pseudo-fullscreen\"),this._handleFullscreenChange(),this._map.resize()}},e.GeoJSONSource=Ie,e.GeolocateControl=class extends t.E{constructor(Ne){super(),this._onSuccess=R=>{if(this._map){if(this._isOutOfMapMaxBounds(R))return this._setErrorState(),this.fire(new t.k(\"outofmaxbounds\",R)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=R,this._watchState){case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"BACKGROUND\":case\"BACKGROUND_ERROR\":this._watchState=\"BACKGROUND\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background\");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&this._watchState!==\"OFF\"&&this._updateMarker(R),this.options.trackUserLocation&&this._watchState!==\"ACTIVE_LOCK\"||this._updateCamera(R),this.options.showUserLocation&&this._dotElement.classList.remove(\"maplibregl-user-location-dot-stale\"),this.fire(new t.k(\"geolocate\",R)),this._finish()}},this._updateCamera=R=>{let ne=new t.N(R.coords.longitude,R.coords.latitude),be=R.coords.accuracy,Ae=this._map.getBearing(),Fe=t.e({bearing:Ae},this.options.fitBoundsOptions),ht=ie.fromLngLat(ne,be);this._map.fitBounds(ht,Fe,{geolocateSource:!0})},this._updateMarker=R=>{if(R){let ne=new t.N(R.coords.longitude,R.coords.latitude);this._accuracyCircleMarker.setLngLat(ne).addTo(this._map),this._userLocationDotMarker.setLngLat(ne).addTo(this._map),this._accuracy=R.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},this._onZoom=()=>{this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},this._onError=R=>{if(this._map){if(this.options.trackUserLocation)if(R.code===1){this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.disabled=!0;let ne=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(R.code===3&&zc)return;this._setErrorState()}this._watchState!==\"OFF\"&&this.options.showUserLocation&&this._dotElement.classList.add(\"maplibregl-user-location-dot-stale\"),this.fire(new t.k(\"error\",R)),this._finish()}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},this._setupUI=()=>{this._map&&(this._container.addEventListener(\"contextmenu\",R=>R.preventDefault()),this._geolocateButton=a.create(\"button\",\"maplibregl-ctrl-geolocate\",this._container),a.create(\"span\",\"maplibregl-ctrl-icon\",this._geolocateButton).setAttribute(\"aria-hidden\",\"true\"),this._geolocateButton.type=\"button\",this._geolocateButton.disabled=!0)},this._finishSetupUI=R=>{if(this._map){if(R===!1){t.w(\"Geolocation support is not available so the GeolocateControl will be disabled.\");let ne=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.disabled=!0,this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne)}else{let ne=this._map._getUIString(\"GeolocateControl.FindMyLocation\");this._geolocateButton.disabled=!1,this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this._watchState=\"OFF\"),this.options.showUserLocation&&(this._dotElement=a.create(\"div\",\"maplibregl-user-location-dot\"),this._userLocationDotMarker=new nc({element:this._dotElement}),this._circleElement=a.create(\"div\",\"maplibregl-user-location-accuracy-circle\"),this._accuracyCircleMarker=new nc({element:this._circleElement,pitchAlignment:\"map\"}),this.options.trackUserLocation&&(this._watchState=\"OFF\"),this._map.on(\"zoom\",this._onZoom)),this._geolocateButton.addEventListener(\"click\",()=>this.trigger()),this._setup=!0,this.options.trackUserLocation&&this._map.on(\"movestart\",ne=>{ne.geolocateSource||this._watchState!==\"ACTIVE_LOCK\"||ne.originalEvent&&ne.originalEvent.type===\"resize\"||(this._watchState=\"BACKGROUND\",this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this.fire(new t.k(\"trackuserlocationend\")),this.fire(new t.k(\"userlocationlostfocus\")))})}},this.options=t.e({},Kc,Ne)}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._setupUI(),function(){return t._(this,arguments,void 0,function*(R=!1){if(Js!==void 0&&!R)return Js;if(window.navigator.permissions===void 0)return Js=!!window.navigator.geolocation,Js;try{Js=(yield window.navigator.permissions.query({name:\"geolocation\"})).state!==\"denied\"}catch{Js=!!window.navigator.geolocation}return Js})}().then(R=>this._finishSetupUI(R)),this._container}onRemove(){this._geolocationWatchID!==void 0&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),a.remove(this._container),this._map.off(\"zoom\",this._onZoom),this._map=void 0,Tu=0,zc=!1}_isOutOfMapMaxBounds(Ne){let R=this._map.getMaxBounds(),ne=Ne.coords;return R&&(ne.longitudeR.getEast()||ne.latitudeR.getNorth())}_setErrorState(){switch(this._watchState){case\"WAITING_ACTIVE\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active-error\");break;case\"ACTIVE_LOCK\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\");break;case\"BACKGROUND\":this._watchState=\"BACKGROUND_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\");break;case\"ACTIVE_ERROR\":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadius(){let Ne=this._map.getBounds(),R=Ne.getSouthEast(),ne=Ne.getNorthEast(),be=R.distanceTo(ne),Ae=Math.ceil(this._accuracy/(be/this._map._container.clientHeight)*2);this._circleElement.style.width=`${Ae}px`,this._circleElement.style.height=`${Ae}px`}trigger(){if(!this._setup)return t.w(\"Geolocate control triggered before added to a map\"),!1;if(this.options.trackUserLocation){switch(this._watchState){case\"OFF\":this._watchState=\"WAITING_ACTIVE\",this.fire(new t.k(\"trackuserlocationstart\"));break;case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":case\"BACKGROUND_ERROR\":Tu--,zc=!1,this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this.fire(new t.k(\"trackuserlocationend\"));break;case\"BACKGROUND\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.k(\"trackuserlocationstart\")),this.fire(new t.k(\"userlocationfocus\"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case\"WAITING_ACTIVE\":this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"ACTIVE_LOCK\":this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"OFF\":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if(this._watchState===\"OFF\"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let Ne;this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"true\"),Tu++,Tu>1?(Ne={maximumAge:6e5,timeout:0},zc=!0):(Ne=this.options.positionOptions,zc=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,Ne)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this.options.showUserLocation&&this._updateMarker(null)}},e.Hash=uh,e.ImageSource=it,e.KeyboardHandler=dr,e.LngLatBounds=ie,e.LogoControl=xa,e.Map=class extends co{constructor(Ne){t.bf.mark(t.bg.create);let R=Object.assign(Object.assign({},_l),Ne);if(R.minZoom!=null&&R.maxZoom!=null&&R.minZoom>R.maxZoom)throw new Error(\"maxZoom must be greater than or equal to minZoom\");if(R.minPitch!=null&&R.maxPitch!=null&&R.minPitch>R.maxPitch)throw new Error(\"maxPitch must be greater than or equal to minPitch\");if(R.minPitch!=null&&R.minPitch<0)throw new Error(\"minPitch must be greater than or equal to 0\");if(R.maxPitch!=null&&R.maxPitch>85)throw new Error(\"maxPitch must be less than or equal to 85\");if(super(new Sl(R.minZoom,R.maxZoom,R.minPitch,R.maxPitch,R.renderWorldCopies),{bearingSnap:R.bearingSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new Qi,this._controls=[],this._mapId=t.a4(),this._contextLost=ne=>{ne.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.fire(new t.k(\"webglcontextlost\",{originalEvent:ne}))},this._contextRestored=ne=>{this._setupPainter(),this.resize(),this._update(),this.fire(new t.k(\"webglcontextrestored\",{originalEvent:ne}))},this._onMapScroll=ne=>{if(ne.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update()},this._interactive=R.interactive,this._maxTileCacheSize=R.maxTileCacheSize,this._maxTileCacheZoomLevels=R.maxTileCacheZoomLevels,this._failIfMajorPerformanceCaveat=R.failIfMajorPerformanceCaveat===!0,this._preserveDrawingBuffer=R.preserveDrawingBuffer===!0,this._antialias=R.antialias===!0,this._trackResize=R.trackResize===!0,this._bearingSnap=R.bearingSnap,this._refreshExpiredTiles=R.refreshExpiredTiles===!0,this._fadeDuration=R.fadeDuration,this._crossSourceCollisions=R.crossSourceCollisions===!0,this._collectResourceTiming=R.collectResourceTiming===!0,this._locale=Object.assign(Object.assign({},Es),R.locale),this._clickTolerance=R.clickTolerance,this._overridePixelRatio=R.pixelRatio,this._maxCanvasSize=R.maxCanvasSize,this.transformCameraUpdate=R.transformCameraUpdate,this.cancelPendingTileRequestsWhileZooming=R.cancelPendingTileRequestsWhileZooming===!0,this._imageQueueHandle=l.addThrottleControl(()=>this.isMoving()),this._requestManager=new _(R.transformRequest),typeof R.container==\"string\"){if(this._container=document.getElementById(R.container),!this._container)throw new Error(`Container '${R.container}' not found.`)}else{if(!(R.container instanceof HTMLElement))throw new Error(\"Invalid type: 'container' must be a String or HTMLElement.\");this._container=R.container}if(R.maxBounds&&this.setMaxBounds(R.maxBounds),this._setupContainer(),this._setupPainter(),this.on(\"move\",()=>this._update(!1)).on(\"moveend\",()=>this._update(!1)).on(\"zoom\",()=>this._update(!0)).on(\"terrain\",()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)}).once(\"idle\",()=>{this._idleTriggered=!0}),typeof window<\"u\"){addEventListener(\"online\",this._onWindowOnline,!1);let ne=!1,be=th(Ae=>{this._trackResize&&!this._removed&&(this.resize(Ae),this.redraw())},50);this._resizeObserver=new ResizeObserver(Ae=>{ne?be(Ae):ne=!0}),this._resizeObserver.observe(this._container)}this.handlers=new po(this,R),this._hash=R.hash&&new uh(typeof R.hash==\"string\"&&R.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:R.center,zoom:R.zoom,bearing:R.bearing,pitch:R.pitch}),R.bounds&&(this.resize(),this.fitBounds(R.bounds,t.e({},R.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=R.localIdeographFontFamily,this._validateStyle=R.validateStyle,R.style&&this.setStyle(R.style,{localIdeographFontFamily:R.localIdeographFontFamily}),R.attributionControl&&this.addControl(new Ao(typeof R.attributionControl==\"boolean\"?void 0:R.attributionControl)),R.maplibreLogo&&this.addControl(new xa,R.logoPosition),this.on(\"style.load\",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on(\"data\",ne=>{this._update(ne.dataType===\"style\"),this.fire(new t.k(`${ne.dataType}data`,ne))}),this.on(\"dataloading\",ne=>{this.fire(new t.k(`${ne.dataType}dataloading`,ne))}),this.on(\"dataabort\",ne=>{this.fire(new t.k(\"sourcedataabort\",ne))})}_getMapId(){return this._mapId}addControl(Ne,R){if(R===void 0&&(R=Ne.getDefaultPosition?Ne.getDefaultPosition():\"top-right\"),!Ne||!Ne.onAdd)return this.fire(new t.j(new Error(\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\")));let ne=Ne.onAdd(this);this._controls.push(Ne);let be=this._controlPositions[R];return R.indexOf(\"bottom\")!==-1?be.insertBefore(ne,be.firstChild):be.appendChild(ne),this}removeControl(Ne){if(!Ne||!Ne.onRemove)return this.fire(new t.j(new Error(\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\")));let R=this._controls.indexOf(Ne);return R>-1&&this._controls.splice(R,1),Ne.onRemove(this),this}hasControl(Ne){return this._controls.indexOf(Ne)>-1}calculateCameraOptionsFromTo(Ne,R,ne,be){return be==null&&this.terrain&&(be=this.terrain.getElevationForLngLatZoom(ne,this.transform.tileZoom)),super.calculateCameraOptionsFromTo(Ne,R,ne,be)}resize(Ne){var R;let ne=this._containerDimensions(),be=ne[0],Ae=ne[1],Fe=this._getClampedPixelRatio(be,Ae);if(this._resizeCanvas(be,Ae,Fe),this.painter.resize(be,Ae,Fe),this.painter.overLimit()){let wt=this.painter.context.gl;this._maxCanvasSize=[wt.drawingBufferWidth,wt.drawingBufferHeight];let zt=this._getClampedPixelRatio(be,Ae);this._resizeCanvas(be,Ae,zt),this.painter.resize(be,Ae,zt)}this.transform.resize(be,Ae),(R=this._requestedCameraState)===null||R===void 0||R.resize(be,Ae);let ht=!this._moving;return ht&&(this.stop(),this.fire(new t.k(\"movestart\",Ne)).fire(new t.k(\"move\",Ne))),this.fire(new t.k(\"resize\",Ne)),ht&&this.fire(new t.k(\"moveend\",Ne)),this}_getClampedPixelRatio(Ne,R){let{0:ne,1:be}=this._maxCanvasSize,Ae=this.getPixelRatio(),Fe=Ne*Ae,ht=R*Ae;return Math.min(Fe>ne?ne/Fe:1,ht>be?be/ht:1)*Ae}getPixelRatio(){var Ne;return(Ne=this._overridePixelRatio)!==null&&Ne!==void 0?Ne:devicePixelRatio}setPixelRatio(Ne){this._overridePixelRatio=Ne,this.resize()}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(Ne){return this.transform.setMaxBounds(ie.convert(Ne)),this._update()}setMinZoom(Ne){if((Ne=Ne??-2)>=-2&&Ne<=this.transform.maxZoom)return this.transform.minZoom=Ne,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=Ne,this._update(),this.getZoom()>Ne&&this.setZoom(Ne),this;throw new Error(\"maxZoom must be greater than the current minZoom\")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(Ne){if((Ne=Ne??0)<0)throw new Error(\"minPitch must be greater than or equal to 0\");if(Ne>=0&&Ne<=this.transform.maxPitch)return this.transform.minPitch=Ne,this._update(),this.getPitch()85)throw new Error(\"maxPitch must be less than or equal to 85\");if(Ne>=this.transform.minPitch)return this.transform.maxPitch=Ne,this._update(),this.getPitch()>Ne&&this.setPitch(Ne),this;throw new Error(\"maxPitch must be greater than the current minPitch\")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(Ne){return this.transform.renderWorldCopies=Ne,this._update()}project(Ne){return this.transform.locationPoint(t.N.convert(Ne),this.style&&this.terrain)}unproject(Ne){return this.transform.pointLocation(t.P.convert(Ne),this.terrain)}isMoving(){var Ne;return this._moving||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isMoving())}isZooming(){var Ne;return this._zooming||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isZooming())}isRotating(){var Ne;return this._rotating||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isRotating())}_createDelegatedListener(Ne,R,ne){if(Ne===\"mouseenter\"||Ne===\"mouseover\"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:Fe=>{let ht=R.filter(zt=>this.getLayer(zt)),wt=ht.length!==0?this.queryRenderedFeatures(Fe.point,{layers:ht}):[];wt.length?be||(be=!0,ne.call(this,new lu(Ne,this,Fe.originalEvent,{features:wt}))):be=!1},mouseout:()=>{be=!1}}}}if(Ne===\"mouseleave\"||Ne===\"mouseout\"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:ht=>{let wt=R.filter(zt=>this.getLayer(zt));(wt.length!==0?this.queryRenderedFeatures(ht.point,{layers:wt}):[]).length?be=!0:be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))},mouseout:ht=>{be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))}}}}{let be=Ae=>{let Fe=R.filter(wt=>this.getLayer(wt)),ht=Fe.length!==0?this.queryRenderedFeatures(Ae.point,{layers:Fe}):[];ht.length&&(Ae.features=ht,ne.call(this,Ae),delete Ae.features)};return{layers:R,listener:ne,delegates:{[Ne]:be}}}}_saveDelegatedListener(Ne,R){this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[Ne]=this._delegatedListeners[Ne]||[],this._delegatedListeners[Ne].push(R)}_removeDelegatedListener(Ne,R,ne){if(!this._delegatedListeners||!this._delegatedListeners[Ne])return;let be=this._delegatedListeners[Ne];for(let Ae=0;AeR.includes(ht))){for(let ht in Fe.delegates)this.off(ht,Fe.delegates[ht]);return void be.splice(Ae,1)}}}on(Ne,R,ne){if(ne===void 0)return super.on(Ne,R);let be=this._createDelegatedListener(Ne,typeof R==\"string\"?[R]:R,ne);this._saveDelegatedListener(Ne,be);for(let Ae in be.delegates)this.on(Ae,be.delegates[Ae]);return this}once(Ne,R,ne){if(ne===void 0)return super.once(Ne,R);let be=typeof R==\"string\"?[R]:R,Ae=this._createDelegatedListener(Ne,be,ne);for(let Fe in Ae.delegates){let ht=Ae.delegates[Fe];Ae.delegates[Fe]=(...wt)=>{this._removeDelegatedListener(Ne,be,ne),ht(...wt)}}this._saveDelegatedListener(Ne,Ae);for(let Fe in Ae.delegates)this.once(Fe,Ae.delegates[Fe]);return this}off(Ne,R,ne){return ne===void 0?super.off(Ne,R):(this._removeDelegatedListener(Ne,typeof R==\"string\"?[R]:R,ne),this)}queryRenderedFeatures(Ne,R){if(!this.style)return[];let ne,be=Ne instanceof t.P||Array.isArray(Ne),Ae=be?Ne:[[0,0],[this.transform.width,this.transform.height]];if(R=R||(be?{}:Ne)||{},Ae instanceof t.P||typeof Ae[0]==\"number\")ne=[t.P.convert(Ae)];else{let Fe=t.P.convert(Ae[0]),ht=t.P.convert(Ae[1]);ne=[Fe,new t.P(ht.x,Fe.y),ht,new t.P(Fe.x,ht.y),Fe]}return this.style.queryRenderedFeatures(ne,R,this.transform)}querySourceFeatures(Ne,R){return this.style.querySourceFeatures(Ne,R)}setStyle(Ne,R){return(R=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},R)).diff!==!1&&R.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&Ne?(this._diffStyle(Ne,R),this):(this._localIdeographFontFamily=R.localIdeographFontFamily,this._updateStyle(Ne,R))}setTransformRequest(Ne){return this._requestManager.setTransformRequest(Ne),this}_getUIString(Ne){let R=this._locale[Ne];if(R==null)throw new Error(`Missing UI string '${Ne}'`);return R}_updateStyle(Ne,R){if(R.transformStyle&&this.style&&!this.style._loaded)return void this.style.once(\"style.load\",()=>this._updateStyle(Ne,R));let ne=this.style&&R.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!Ne)),Ne?(this.style=new nn(this,R||{}),this.style.setEventedParent(this,{style:this.style}),typeof Ne==\"string\"?this.style.loadURL(Ne,R,ne):this.style.loadJSON(Ne,R,ne),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new nn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(Ne,R){if(typeof Ne==\"string\"){let ne=this._requestManager.transformRequest(Ne,\"Style\");t.h(ne,new AbortController).then(be=>{this._updateDiff(be.data,R)}).catch(be=>{be&&this.fire(new t.j(be))})}else typeof Ne==\"object\"&&this._updateDiff(Ne,R)}_updateDiff(Ne,R){try{this.style.setState(Ne,R)&&this._update(!0)}catch(ne){t.w(`Unable to perform style diff: ${ne.message||ne.error||ne}. Rebuilding the style from scratch.`),this._updateStyle(Ne,R)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():t.w(\"There is no style added to the map.\")}addSource(Ne,R){return this._lazyInitEmptyStyle(),this.style.addSource(Ne,R),this._update(!0)}isSourceLoaded(Ne){let R=this.style&&this.style.sourceCaches[Ne];if(R!==void 0)return R.loaded();this.fire(new t.j(new Error(`There is no source with ID '${Ne}'`)))}setTerrain(Ne){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off(\"data\",this._terrainDataCallback),Ne){let R=this.style.sourceCaches[Ne.source];if(!R)throw new Error(`cannot load terrain, because there exists no source with ID: ${Ne.source}`);this.terrain===null&&R.reload();for(let ne in this.style._layers){let be=this.style._layers[ne];be.type===\"hillshade\"&&be.source===Ne.source&&t.w(\"You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.\")}this.terrain=new Ds(this.painter,R,Ne),this.painter.renderToTexture=new el(this.painter,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._terrainDataCallback=ne=>{ne.dataType===\"style\"?this.terrain.sourceCache.freeRtt():ne.dataType===\"source\"&&ne.tile&&(ne.sourceId!==Ne.source||this._elevationFreeze||(this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.terrain.sourceCache.freeRtt(ne.tile.tileID))},this.style.on(\"data\",this._terrainDataCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.minElevationForCurrentTile=0,this.transform.elevation=0;return this.fire(new t.k(\"terrain\",{terrain:Ne})),this}getTerrain(){var Ne,R;return(R=(Ne=this.terrain)===null||Ne===void 0?void 0:Ne.options)!==null&&R!==void 0?R:null}areTilesLoaded(){let Ne=this.style&&this.style.sourceCaches;for(let R in Ne){let ne=Ne[R]._tiles;for(let be in ne){let Ae=ne[be];if(Ae.state!==\"loaded\"&&Ae.state!==\"errored\")return!1}}return!0}removeSource(Ne){return this.style.removeSource(Ne),this._update(!0)}getSource(Ne){return this.style.getSource(Ne)}addImage(Ne,R,ne={}){let{pixelRatio:be=1,sdf:Ae=!1,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt}=ne;if(this._lazyInitEmptyStyle(),!(R instanceof HTMLImageElement||t.b(R))){if(R.width===void 0||R.height===void 0)return this.fire(new t.j(new Error(\"Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\")));{let{width:hr,height:vr,data:Hr}=R,ln=R;return this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},new Uint8Array(Hr)),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0,userImage:ln}),ln.onAdd&&ln.onAdd(this,Ne),this}}{let{width:hr,height:vr,data:Hr}=i.getImageData(R);this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},Hr),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0})}}updateImage(Ne,R){let ne=this.style.getImage(Ne);if(!ne)return this.fire(new t.j(new Error(\"The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.\")));let be=R instanceof HTMLImageElement||t.b(R)?i.getImageData(R):R,{width:Ae,height:Fe,data:ht}=be;if(Ae===void 0||Fe===void 0)return this.fire(new t.j(new Error(\"Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\")));if(Ae!==ne.data.width||Fe!==ne.data.height)return this.fire(new t.j(new Error(\"The width and height of the updated image must be that same as the previous version of the image\")));let wt=!(R instanceof HTMLImageElement||t.b(R));return ne.data.replace(ht,wt),this.style.updateImage(Ne,ne),this}getImage(Ne){return this.style.getImage(Ne)}hasImage(Ne){return Ne?!!this.style.getImage(Ne):(this.fire(new t.j(new Error(\"Missing required image id\"))),!1)}removeImage(Ne){this.style.removeImage(Ne)}loadImage(Ne){return l.getImage(this._requestManager.transformRequest(Ne,\"Image\"),new AbortController)}listImages(){return this.style.listImages()}addLayer(Ne,R){return this._lazyInitEmptyStyle(),this.style.addLayer(Ne,R),this._update(!0)}moveLayer(Ne,R){return this.style.moveLayer(Ne,R),this._update(!0)}removeLayer(Ne){return this.style.removeLayer(Ne),this._update(!0)}getLayer(Ne){return this.style.getLayer(Ne)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(Ne,R,ne){return this.style.setLayerZoomRange(Ne,R,ne),this._update(!0)}setFilter(Ne,R,ne={}){return this.style.setFilter(Ne,R,ne),this._update(!0)}getFilter(Ne){return this.style.getFilter(Ne)}setPaintProperty(Ne,R,ne,be={}){return this.style.setPaintProperty(Ne,R,ne,be),this._update(!0)}getPaintProperty(Ne,R){return this.style.getPaintProperty(Ne,R)}setLayoutProperty(Ne,R,ne,be={}){return this.style.setLayoutProperty(Ne,R,ne,be),this._update(!0)}getLayoutProperty(Ne,R){return this.style.getLayoutProperty(Ne,R)}setGlyphs(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(Ne,R),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(Ne,R,ne={}){return this._lazyInitEmptyStyle(),this.style.addSprite(Ne,R,ne,be=>{be||this._update(!0)}),this}removeSprite(Ne){return this._lazyInitEmptyStyle(),this.style.removeSprite(Ne),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setSprite(Ne,R,ne=>{ne||this._update(!0)}),this}setLight(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setLight(Ne,R),this._update(!0)}getLight(){return this.style.getLight()}setSky(Ne){return this._lazyInitEmptyStyle(),this.style.setSky(Ne),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(Ne,R){return this.style.setFeatureState(Ne,R),this._update()}removeFeatureState(Ne,R){return this.style.removeFeatureState(Ne,R),this._update()}getFeatureState(Ne){return this.style.getFeatureState(Ne)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let Ne=0,R=0;return this._container&&(Ne=this._container.clientWidth||400,R=this._container.clientHeight||300),[Ne,R]}_setupContainer(){let Ne=this._container;Ne.classList.add(\"maplibregl-map\");let R=this._canvasContainer=a.create(\"div\",\"maplibregl-canvas-container\",Ne);this._interactive&&R.classList.add(\"maplibregl-interactive\"),this._canvas=a.create(\"canvas\",\"maplibregl-canvas\",R),this._canvas.addEventListener(\"webglcontextlost\",this._contextLost,!1),this._canvas.addEventListener(\"webglcontextrestored\",this._contextRestored,!1),this._canvas.setAttribute(\"tabindex\",this._interactive?\"0\":\"-1\"),this._canvas.setAttribute(\"aria-label\",this._getUIString(\"Map.Title\")),this._canvas.setAttribute(\"role\",\"region\");let ne=this._containerDimensions(),be=this._getClampedPixelRatio(ne[0],ne[1]);this._resizeCanvas(ne[0],ne[1],be);let Ae=this._controlContainer=a.create(\"div\",\"maplibregl-control-container\",Ne),Fe=this._controlPositions={};[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"].forEach(ht=>{Fe[ht]=a.create(\"div\",`maplibregl-ctrl-${ht} `,Ae)}),this._container.addEventListener(\"scroll\",this._onMapScroll,!1)}_resizeCanvas(Ne,R,ne){this._canvas.width=Math.floor(ne*Ne),this._canvas.height=Math.floor(ne*R),this._canvas.style.width=`${Ne}px`,this._canvas.style.height=`${R}px`}_setupPainter(){let Ne={alpha:!0,stencil:!0,depth:!0,failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1},R=null;this._canvas.addEventListener(\"webglcontextcreationerror\",be=>{R={requestedAttributes:Ne},be&&(R.statusMessage=be.statusMessage,R.type=be.type)},{once:!0});let ne=this._canvas.getContext(\"webgl2\",Ne)||this._canvas.getContext(\"webgl\",Ne);if(!ne){let be=\"Failed to initialize WebGL\";throw R?(R.message=be,new Error(JSON.stringify(R))):new Error(be)}this.painter=new yc(ne,this.transform),s.testSupport(ne)}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(Ne){return this.style&&this.style._loaded?(this._styleDirty=this._styleDirty||Ne,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(Ne){return this._update(),this._renderTaskQueue.add(Ne)}_cancelRenderFrame(Ne){this._renderTaskQueue.remove(Ne)}_render(Ne){let R=this._idleTriggered?this._fadeDuration:0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(Ne),this._removed)return;let ne=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;let Ae=this.transform.zoom,Fe=i.now();this.style.zoomHistory.update(Ae,Fe);let ht=new t.z(Ae,{now:Fe,fadeDuration:R,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),wt=ht.crossFadingFactor();wt===1&&wt===this._crossFadingFactor||(ne=!0,this._crossFadingFactor=wt),this.style.update(ht)}this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.sourceCache.update(this.transform,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._elevationFreeze||(this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.minElevationForCurrentTile=0,this.transform.elevation=0),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,R,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:R,showPadding:this.showPadding}),this.fire(new t.k(\"render\")),this.loaded()&&!this._loaded&&(this._loaded=!0,t.bf.mark(t.bg.load),this.fire(new t.k(\"load\"))),this.style&&(this.style.hasTransitions()||ne)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();let be=this._sourcesDirty||this._styleDirty||this._placementDirty;return be||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.k(\"idle\")),!this._loaded||this._fullyLoaded||be||(this._fullyLoaded=!0,t.bf.mark(t.bg.fullLoad)),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var Ne;this._hash&&this._hash.remove();for(let ne of this._controls)ne.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof window<\"u\"&&removeEventListener(\"online\",this._onWindowOnline,!1),l.removeThrottleControl(this._imageQueueHandle),(Ne=this._resizeObserver)===null||Ne===void 0||Ne.disconnect();let R=this.painter.context.gl.getExtension(\"WEBGL_lose_context\");R?.loseContext&&R.loseContext(),this._canvas.removeEventListener(\"webglcontextrestored\",this._contextRestored,!1),this._canvas.removeEventListener(\"webglcontextlost\",this._contextLost,!1),a.remove(this._canvasContainer),a.remove(this._controlContainer),this._container.classList.remove(\"maplibregl-map\"),t.bf.clearMetrics(),this._removed=!0,this.fire(new t.k(\"remove\"))}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(Ne=>{t.bf.frame(Ne),this._frameRequest=null,this._render(Ne)}).catch(()=>{}))}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(Ne){this._showTileBoundaries!==Ne&&(this._showTileBoundaries=Ne,this._update())}get showPadding(){return!!this._showPadding}set showPadding(Ne){this._showPadding!==Ne&&(this._showPadding=Ne,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(Ne){this._showCollisionBoxes!==Ne&&(this._showCollisionBoxes=Ne,Ne?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(Ne){this._showOverdrawInspector!==Ne&&(this._showOverdrawInspector=Ne,this._update())}get repaint(){return!!this._repaint}set repaint(Ne){this._repaint!==Ne&&(this._repaint=Ne,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(Ne){this._vertices=Ne,this._update()}get version(){return Bl}getCameraTargetElevation(){return this.transform.elevation}},e.MapMouseEvent=lu,e.MapTouchEvent=Xc,e.MapWheelEvent=ch,e.Marker=nc,e.NavigationControl=class{constructor(Ne){this._updateZoomButtons=()=>{let R=this._map.getZoom(),ne=R===this._map.getMaxZoom(),be=R===this._map.getMinZoom();this._zoomInButton.disabled=ne,this._zoomOutButton.disabled=be,this._zoomInButton.setAttribute(\"aria-disabled\",ne.toString()),this._zoomOutButton.setAttribute(\"aria-disabled\",be.toString())},this._rotateCompassArrow=()=>{let R=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=R},this._setButtonTitle=(R,ne)=>{let be=this._map._getUIString(`NavigationControl.${ne}`);R.title=be,R.setAttribute(\"aria-label\",be)},this.options=t.e({},Za,Ne),this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._container.addEventListener(\"contextmenu\",R=>R.preventDefault()),this.options.showZoom&&(this._zoomInButton=this._createButton(\"maplibregl-ctrl-zoom-in\",R=>this._map.zoomIn({},{originalEvent:R})),a.create(\"span\",\"maplibregl-ctrl-icon\",this._zoomInButton).setAttribute(\"aria-hidden\",\"true\"),this._zoomOutButton=this._createButton(\"maplibregl-ctrl-zoom-out\",R=>this._map.zoomOut({},{originalEvent:R})),a.create(\"span\",\"maplibregl-ctrl-icon\",this._zoomOutButton).setAttribute(\"aria-hidden\",\"true\")),this.options.showCompass&&(this._compass=this._createButton(\"maplibregl-ctrl-compass\",R=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:R}):this._map.resetNorth({},{originalEvent:R})}),this._compassIcon=a.create(\"span\",\"maplibregl-ctrl-icon\",this._compass),this._compassIcon.setAttribute(\"aria-hidden\",\"true\"))}onAdd(Ne){return this._map=Ne,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,\"ZoomIn\"),this._setButtonTitle(this._zoomOutButton,\"ZoomOut\"),this._map.on(\"zoom\",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,\"ResetBearing\"),this.options.visualizePitch&&this._map.on(\"pitch\",this._rotateCompassArrow),this._map.on(\"rotate\",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new jo(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){a.remove(this._container),this.options.showZoom&&this._map.off(\"zoom\",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off(\"pitch\",this._rotateCompassArrow),this._map.off(\"rotate\",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(Ne,R){let ne=a.create(\"button\",Ne,this._container);return ne.type=\"button\",ne.addEventListener(\"click\",R),ne}},e.Popup=class extends t.E{constructor(Ne){super(),this.remove=()=>(this._content&&a.remove(this._content),this._container&&(a.remove(this._container),delete this._container),this._map&&(this._map.off(\"move\",this._update),this._map.off(\"move\",this._onClose),this._map.off(\"click\",this._onClose),this._map.off(\"remove\",this.remove),this._map.off(\"mousemove\",this._onMouseMove),this._map.off(\"mouseup\",this._onMouseUp),this._map.off(\"drag\",this._onDrag),this._map._canvasContainer.classList.remove(\"maplibregl-track-pointer\"),delete this._map,this.fire(new t.k(\"close\"))),this),this._onMouseUp=R=>{this._update(R.point)},this._onMouseMove=R=>{this._update(R.point)},this._onDrag=R=>{this._update(R.point)},this._update=R=>{var ne;if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=a.create(\"div\",\"maplibregl-popup\",this._map.getContainer()),this._tip=a.create(\"div\",\"maplibregl-popup-tip\",this._container),this._container.appendChild(this._content),this.options.className)for(let wt of this.options.className.split(\" \"))this._container.classList.add(wt);this._closeButton&&this._closeButton.setAttribute(\"aria-label\",this._map._getUIString(\"Popup.Close\")),this._trackPointer&&this._container.classList.add(\"maplibregl-popup-track-pointer\")}if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=this._map.transform.renderWorldCopies&&!this._trackPointer?zs(this._lngLat,this._flatPos,this._map.transform):(ne=this._lngLat)===null||ne===void 0?void 0:ne.wrap(),this._trackPointer&&!R)return;let be=this._flatPos=this._pos=this._trackPointer&&R?R:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&R?R:this._map.transform.locationPoint(this._lngLat));let Ae=this.options.anchor,Fe=hc(this.options.offset);if(!Ae){let wt=this._container.offsetWidth,zt=this._container.offsetHeight,Jt;Jt=be.y+Fe.bottom.ythis._map.transform.height-zt?[\"bottom\"]:[],be.xthis._map.transform.width-wt/2&&Jt.push(\"right\"),Ae=Jt.length===0?\"bottom\":Jt.join(\"-\")}let ht=be.add(Fe[Ae]);this.options.subpixelPositioning||(ht=ht.round()),a.setTransform(this._container,`${cu[Ae]} translate(${ht.x}px,${ht.y}px)`),zu(this._container,Ae,\"popup\")},this._onClose=()=>{this.remove()},this.options=t.e(Object.create(Wo),Ne)}addTo(Ne){return this._map&&this.remove(),this._map=Ne,this.options.closeOnClick&&this._map.on(\"click\",this._onClose),this.options.closeOnMove&&this._map.on(\"move\",this._onClose),this._map.on(\"remove\",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"mouseup\",this._onMouseUp),this._container&&this._container.classList.add(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"maplibregl-track-pointer\")):this._map.on(\"move\",this._update),this.fire(new t.k(\"open\")),this}isOpen(){return!!this._map}getLngLat(){return this._lngLat}setLngLat(Ne){return this._lngLat=t.N.convert(Ne),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on(\"move\",this._update),this._map.off(\"mousemove\",this._onMouseMove),this._container&&this._container.classList.remove(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.remove(\"maplibregl-track-pointer\")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off(\"move\",this._update),this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"drag\",this._onDrag),this._container&&this._container.classList.add(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"maplibregl-track-pointer\")),this}getElement(){return this._container}setText(Ne){return this.setDOMContent(document.createTextNode(Ne))}setHTML(Ne){let R=document.createDocumentFragment(),ne=document.createElement(\"body\"),be;for(ne.innerHTML=Ne;be=ne.firstChild,be;)R.appendChild(be);return this.setDOMContent(R)}getMaxWidth(){var Ne;return(Ne=this._container)===null||Ne===void 0?void 0:Ne.style.maxWidth}setMaxWidth(Ne){return this.options.maxWidth=Ne,this._update(),this}setDOMContent(Ne){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=a.create(\"div\",\"maplibregl-popup-content\",this._container);return this._content.appendChild(Ne),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(Ne){return this._container&&this._container.classList.add(Ne),this}removeClassName(Ne){return this._container&&this._container.classList.remove(Ne),this}setOffset(Ne){return this.options.offset=Ne,this._update(),this}toggleClassName(Ne){if(this._container)return this._container.classList.toggle(Ne)}setSubpixelPositioning(Ne){this.options.subpixelPositioning=Ne}_createCloseButton(){this.options.closeButton&&(this._closeButton=a.create(\"button\",\"maplibregl-popup-close-button\",this._content),this._closeButton.type=\"button\",this._closeButton.innerHTML=\"×\",this._closeButton.addEventListener(\"click\",this._onClose))}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;let Ne=this._container.querySelector(Fc);Ne&&Ne.focus()}},e.RasterDEMTileSource=Ue,e.RasterTileSource=Te,e.ScaleControl=class{constructor(Ne){this._onMove=()=>{wc(this._map,this._container,this.options)},this.setUnit=R=>{this.options.unit=R,wc(this._map,this._container,this.options)},this.options=Object.assign(Object.assign({},Fu),Ne)}getDefaultPosition(){return\"bottom-left\"}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-scale\",Ne.getContainer()),this._map.on(\"move\",this._onMove),this._onMove(),this._container}onRemove(){a.remove(this._container),this._map.off(\"move\",this._onMove),this._map=void 0}},e.ScrollZoomHandler=Cn,e.Style=nn,e.TerrainControl=class{constructor(Ne){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove(\"maplibregl-ctrl-terrain\"),this._terrainButton.classList.remove(\"maplibregl-ctrl-terrain-enabled\"),this._map.terrain?(this._terrainButton.classList.add(\"maplibregl-ctrl-terrain-enabled\"),this._terrainButton.title=this._map._getUIString(\"TerrainControl.Disable\")):(this._terrainButton.classList.add(\"maplibregl-ctrl-terrain\"),this._terrainButton.title=this._map._getUIString(\"TerrainControl.Enable\"))},this.options=Ne}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._terrainButton=a.create(\"button\",\"maplibregl-ctrl-terrain\",this._container),a.create(\"span\",\"maplibregl-ctrl-icon\",this._terrainButton).setAttribute(\"aria-hidden\",\"true\"),this._terrainButton.type=\"button\",this._terrainButton.addEventListener(\"click\",this._toggleTerrain),this._updateTerrainIcon(),this._map.on(\"terrain\",this._updateTerrainIcon),this._container}onRemove(){a.remove(this._container),this._map.off(\"terrain\",this._updateTerrainIcon),this._map=void 0}},e.TwoFingersTouchPitchHandler=Yc,e.TwoFingersTouchRotateHandler=Dc,e.TwoFingersTouchZoomHandler=uu,e.TwoFingersTouchZoomRotateHandler=bi,e.VectorTileSource=xe,e.VideoSource=at,e.addSourceType=(Ne,R)=>t._(void 0,void 0,void 0,function*(){if(Me(Ne))throw new Error(`A source type called \"${Ne}\" already exists.`);((ne,be)=>{ut[ne]=be})(Ne,R)}),e.clearPrewarmedResources=function(){let Ne=fe;Ne&&(Ne.isPreloaded()&&Ne.numActive()===1?(Ne.release(Q),fe=null):console.warn(\"Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()\"))},e.getMaxParallelImageRequests=function(){return t.a.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return rt().getRTLTextPluginStatus()},e.getVersion=function(){return dc},e.getWorkerCount=function(){return le.workerCount},e.getWorkerUrl=function(){return t.a.WORKER_URL},e.importScriptInWorkers=function(Ne){return X().broadcast(\"IS\",Ne)},e.prewarm=function(){$().acquire(Q)},e.setMaxParallelImageRequests=function(Ne){t.a.MAX_PARALLEL_IMAGE_REQUESTS=Ne},e.setRTLTextPlugin=function(Ne,R){return rt().setRTLTextPlugin(Ne,R)},e.setWorkerCount=function(Ne){le.workerCount=Ne},e.setWorkerUrl=function(Ne){t.a.WORKER_URL=Ne}});var S=g;return S})}}),hz=ke({\"src/plots/map/layers.js\"(Z,H){\"use strict\";var g=un(),x=Wl().sanitizeHTML,A=mM(),S=tm();function e(i,a){this.subplot=i,this.uid=i.uid+\"-\"+a,this.index=a,this.idSource=\"source-\"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType===\"image\"&&i.sourcetype===\"image\"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup[\"layout-\"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup[\"layout-\"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapLayerId=function(i){if(i===\"traces\")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case\"circle\":g.extendFlat(s,{\"circle-radius\":i.circle.radius,\"circle-color\":i.color,\"circle-opacity\":i.opacity});break;case\"line\":g.extendFlat(s,{\"line-width\":i.line.width,\"line-color\":i.color,\"line-opacity\":i.opacity,\"line-dasharray\":i.line.dash});break;case\"fill\":g.extendFlat(s,{\"fill-color\":i.color,\"fill-outline-color\":i.fill.outlinecolor,\"fill-opacity\":i.opacity});break;case\"symbol\":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{\"icon-image\":c.icon+\"-15\",\"icon-size\":c.iconsize/10,\"text-field\":c.text,\"text-size\":c.textfont.size,\"text-anchor\":h.anchor,\"text-offset\":h.offset,\"symbol-placement\":c.placement}),g.extendFlat(s,{\"icon-color\":i.color,\"text-color\":c.textfont.color,\"text-opacity\":i.opacity});break;case\"raster\":g.extendFlat(s,{\"raster-fade-duration\":0,\"raster-opacity\":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a===\"geojson\"?h=\"data\":a===\"vector\"?h=typeof s==\"string\"?\"url\":\"tiles\":a===\"raster\"?(h=\"tiles\",c.tileSize=256):a===\"image\"&&(h=\"url\",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),dz=ke({\"src/plots/map/map.js\"(Z,H){\"use strict\";var g=fz(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=tm(),d=hz();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+\"-\"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y;u.map?y=new Promise(function(f,P){u.updateMap(m,b,f,P)}):y=new Promise(function(f,P){u.createMap(m,b,f,P)}),v.push(y)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style),L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0})),B={};F.on(\"styleimagemissing\",function(I){var N=I.id;if(!B[N]&&N.includes(\"-15\")){B[N]=!0;var U=new Image(15,15);U.onload=function(){F.addImage(N,U)},U.crossOrigin=\"Anonymous\",U.src=\"https://unpkg.com/maki@2.1.0/icons/\"+N+\".svg\"}}),F.setTransformRequest(function(I){return I=I.replace(\"https://fonts.openmaptiles.org/Open Sans Extrabold\",\"https://fonts.openmaptiles.org/Open Sans Extra Bold\"),I=I.replace(\"https://tiles.basemaps.cartocdn.com/fonts/Open Sans Extrabold\",\"https://fonts.openmaptiles.org/Open Sans Extra Bold\"),I=I.replace(\"https://fonts.openmaptiles.org/Open Sans Regular,Arial Unicode MS Regular\",\"https://fonts.openmaptiles.org/Klokantech Noto Sans Regular\"),{url:I}}),F._canvas.style.left=\"0px\",F._canvas.style.top=\"0px\",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var O=[];O.push(new Promise(function(I){F.once(\"load\",I)})),O=O.concat(A.fetchTraceGeoData(m)),Promise.all(O).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once(\"styledata\",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf(\"event\")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off(\"click\",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on(\"zoomstart\",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off(\"zoomstart\",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener(\"touchstart\",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on(\"click\",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+\"px\",u.height=v.h*(b.y[1]-b.y[0])+\"px\",u.left=v.l+b.x[0]*v.w+\"px\",u.top=v.t+(1-b.y[1])*v.h+\"px\",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yv/2){var u=M.split(\"|\").join(\"
\");m.text(u).attr(\"data-unformatted\",u).call(r.convertToTspans,i),b=t.bBox(m.node())}m.attr(\"transform\",g(-3,-b.height+8)),E.insert(\"rect\",\".static-attribution\").attr({x:-b.width-6,y:-b.height-3,width:b.width+6,height:b.height+3,fill:\"rgba(255, 255, 255, 0.75)\"});var y=1;b.width+6>v&&(y=v/(b.width+6));var f=[c.l+c.w*d.x[1],c.t+c.h*(1-d.y[0])];E.attr(\"transform\",g(f[0],f[1])+x(y))}},Z.updateFx=function(i){for(var a=i._fullLayout,s=a._subplots[n],c=0;c=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup[\"trace-\"+n.uid];return r.map.addSource(a,{type:\"geojson\",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),_z=ke({\"src/traces/choroplethmap/index.js\"(Z,H){\"use strict\";H.exports={attributes:gM(),supplyDefaults:gz(),colorbar:Np(),calc:Qx(),plot:yz(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(g,x){if(x){var A=x[0].trace;A._glTrace.updateOnSelect(x)}},getBelow:function(g,x){for(var A=x.getMapLayers(),S=A.length-2;S>=0;S--){var e=A[S].id;if(typeof e==\"string\"&&e.indexOf(\"water\")===0){for(var t=S+1;t0?+d[h]:0),c.push({type:\"Feature\",geometry:{type:\"Point\",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup[\"trace-\"+o.uid];return t.map.addSource(i,{type:\"geojson\",data:a.geojson}),n._addLayers(a,s),n}}}),Mz=ke({\"src/traces/densitymap/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=_b().hoverPoints,A=_b().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,\"z\"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),\"hover\").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),Sz=ke({\"src/traces/densitymap/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),Ez=ke({\"src/traces/densitymap/index.js\"(Z,H){\"use strict\";H.exports={attributes:_M(),supplyDefaults:bz(),colorbar:Np(),formatLabels:pM(),calc:wz(),plot:Az(),hoverPoints:Mz(),eventData:Sz(),getBelow:function(g,x){for(var A=x.getMapLayers(),S=0;S0;){l=w[w.length-1];var M=x[l];if(r[l]=0&&n[l].push(o[m])}r[l]=E}else{if(e[l]===S[l]){for(var b=[],v=[],u=0,E=_.length-1;E>=0;--E){var y=_[E];if(t[y]=!1,b.push(y),v.push(n[y]),u+=n[y].length,o[y]=s.length,y===l){_.length=E;break}}s.push(b);for(var f=new Array(u),E=0;Em&&(m=a.source[_]),a.target[_]>m&&(m=a.target[_]);var b=m+1;n.node._count=b;var v,u=n.node.groups,y={};for(_=0;_0&&e(B,b)&&e(O,b)&&!(y.hasOwnProperty(B)&&y.hasOwnProperty(O)&&y[B]===y[O])){y.hasOwnProperty(O)&&(O=y[O]),y.hasOwnProperty(B)&&(B=y[B]),B=+B,O=+O,d[B]=d[O]=!0;var I=\"\";a.label&&a.label[_]&&(I=a.label[_]);var N=null;I&&T.hasOwnProperty(I)&&(N=T[I]),s.push({pointNumber:_,label:I,color:c?a.color[_]:a.color,hovercolor:h?a.hovercolor[_]:a.hovercolor,customdata:p?a.customdata[_]:a.customdata,concentrationscale:N,source:B,target:O,value:+F}),z.source.push(B),z.target.push(O)}}var U=b+u.length,W=S(i.color),Q=S(i.customdata),le=[];for(_=0;_b-1,childrenNodes:[],pointNumber:_,label:se,color:W?i.color[_]:i.color,customdata:Q?i.customdata[_]:i.customdata})}var fe=!1;return o(U,z.source,z.target)&&(fe=!0),{circular:fe,links:s,nodes:le,groups:u,groupLookup:y}}function o(n,i,a){for(var s=x.init2dArray(n,0),c=0;c1})}H.exports=function(i,a){var s=r(a);return A({circular:s.circular,_nodes:s.nodes,_links:s.links,_groups:s.groups,_groupLookup:s.groupLookup})}}}),Pz=ke({\"node_modules/d3-quadtree/dist/d3-quadtree.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(b){var v=+this._x.call(null,b),u=+this._y.call(null,b);return A(this.cover(v,u),v,u,b)}function A(b,v,u,y){if(isNaN(v)||isNaN(u))return b;var f,P=b._root,L={data:y},z=b._x0,F=b._y0,B=b._x1,O=b._y1,I,N,U,W,Q,le,se,fe;if(!P)return b._root=L,b;for(;P.length;)if((Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N,f=P,!(P=P[se=le<<1|Q]))return f[se]=L,b;if(U=+b._x.call(null,P.data),W=+b._y.call(null,P.data),v===U&&u===W)return L.next=P,f?f[se]=L:b._root=L,b;do f=f?f[se]=new Array(4):b._root=new Array(4),(Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N;while((se=le<<1|Q)===(fe=(W>=N)<<1|U>=I));return f[fe]=P,f[se]=L,b}function S(b){var v,u,y=b.length,f,P,L=new Array(y),z=new Array(y),F=1/0,B=1/0,O=-1/0,I=-1/0;for(u=0;uO&&(O=f),PI&&(I=P));if(F>O||B>I)return this;for(this.cover(F,B).cover(O,I),u=0;ub||b>=f||y>v||v>=P;)switch(B=(vO||(z=W.y0)>I||(F=W.x1)=se)<<1|b>=le)&&(W=N[N.length-1],N[N.length-1]=N[N.length-1-Q],N[N.length-1-Q]=W)}else{var fe=b-+this._x.call(null,U.data),G=v-+this._y.call(null,U.data),$=fe*fe+G*G;if($=(N=(L+F)/2))?L=N:F=N,(Q=I>=(U=(z+B)/2))?z=U:B=U,v=u,!(u=u[le=Q<<1|W]))return this;if(!u.length)break;(v[le+1&3]||v[le+2&3]||v[le+3&3])&&(y=v,se=le)}for(;u.data!==b;)if(f=u,!(u=u.next))return this;return(P=u.next)&&delete u.next,f?(P?f.next=P:delete f.next,this):v?(P?v[le]=P:delete v[le],(u=v[0]||v[1]||v[2]||v[3])&&u===(v[3]||v[2]||v[1]||v[0])&&!u.length&&(y?y[se]=u:this._root=u),this):(this._root=P,this)}function a(b){for(var v=0,u=b.length;v=d.length)return l!=null&&m.sort(l),_!=null?_(m):m;for(var y=-1,f=m.length,P=d[b++],L,z,F=S(),B,O=v();++yd.length)return m;var v,u=T[b-1];return _!=null&&b>=d.length?v=m.entries():(v=[],m.each(function(y,f){v.push({key:f,values:E(y,b)})})),u!=null?v.sort(function(y,f){return u(y.key,f.key)}):v}return w={object:function(m){return M(m,0,t,r)},map:function(m){return M(m,0,o,n)},entries:function(m){return E(M(m,0,o,n),0)},key:function(m){return d.push(m),w},sortKeys:function(m){return T[d.length-1]=m,w},sortValues:function(m){return l=m,w},rollup:function(m){return _=m,w}}}function t(){return{}}function r(d,T,l){d[T]=l}function o(){return S()}function n(d,T,l){d.set(T,l)}function i(){}var a=S.prototype;i.prototype=s.prototype={constructor:i,has:a.has,add:function(d){return d+=\"\",this[x+d]=d,this},remove:a.remove,clear:a.clear,values:a.keys,size:a.size,empty:a.empty,each:a.each};function s(d,T){var l=new i;if(d instanceof i)d.each(function(M){l.add(M)});else if(d){var _=-1,w=d.length;if(T==null)for(;++_=0&&(a=i.slice(s+1),i=i.slice(0,s)),i&&!n.hasOwnProperty(i))throw new Error(\"unknown type: \"+i);return{type:i,name:a}})}S.prototype=A.prototype={constructor:S,on:function(o,n){var i=this._,a=e(o+\"\",i),s,c=-1,h=a.length;if(arguments.length<2){for(;++c0)for(var i=new Array(s),a=0,s,c;a=0&&b._call.call(null,v),b=b._next;--x}function l(){n=(o=a.now())+i,x=A=0;try{T()}finally{x=0,w(),n=0}}function _(){var b=a.now(),v=b-o;v>e&&(i-=v,o=b)}function w(){for(var b,v=t,u,y=1/0;v;)v._call?(y>v._time&&(y=v._time),b=v,v=v._next):(u=v._next,v._next=null,v=b?b._next=u:t=u);r=b,M(y)}function M(b){if(!x){A&&(A=clearTimeout(A));var v=b-n;v>24?(b<1/0&&(A=setTimeout(l,b-a.now()-i)),S&&(S=clearInterval(S))):(S||(o=a.now(),S=setInterval(_,e)),x=1,s(l))}}function E(b,v,u){var y=new p;return v=v==null?0:+v,y.restart(function(f){y.stop(),b(f+v)},v,u),y}function m(b,v,u){var y=new p,f=v;return v==null?(y.restart(b,v,u),y):(v=+v,u=u==null?c():+u,y.restart(function P(L){L+=f,y.restart(P,f+=v,u),b(L)},v,u),y)}g.interval=m,g.now=c,g.timeout=E,g.timer=d,g.timerFlush=T,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Dz=ke({\"node_modules/d3-force/dist/d3-force.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,Pz(),bb(),Iz(),Rz()):x(g.d3=g.d3||{},g.d3,g.d3,g.d3,g.d3)})(Z,function(g,x,A,S,e){\"use strict\";function t(b,v){var u;b==null&&(b=0),v==null&&(v=0);function y(){var f,P=u.length,L,z=0,F=0;for(f=0;fI.index){var ee=N-re.x-re.vx,ie=U-re.y-re.vy,ce=ee*ee+ie*ie;ceN+j||JU+j||XF.r&&(F.r=F[B].r)}function z(){if(v){var F,B=v.length,O;for(u=new Array(B),F=0;F1?(Q==null?z.remove(W):z.set(W,U(Q)),v):z.get(W)},find:function(W,Q,le){var se=0,fe=b.length,G,$,J,X,re;for(le==null?le=1/0:le*=le,se=0;se1?(B.on(W,Q),v):B.on(W)}}}function w(){var b,v,u,y=r(-30),f,P=1,L=1/0,z=.81;function F(N){var U,W=b.length,Q=x.quadtree(b,p,d).visitAfter(O);for(u=N,U=0;U=L)return;(N.data!==v||N.next)&&(le===0&&(le=o(),G+=le*le),se===0&&(se=o(),G+=se*se),GS)if(!(Math.abs(l*p-d*T)>S)||!s)this._+=\"L\"+(this._x1=o)+\",\"+(this._y1=n);else{var w=i-c,M=a-h,E=p*p+d*d,m=w*w+M*M,b=Math.sqrt(E),v=Math.sqrt(_),u=s*Math.tan((x-Math.acos((E+_-m)/(2*b*v)))/2),y=u/v,f=u/b;Math.abs(y-1)>S&&(this._+=\"L\"+(o+y*T)+\",\"+(n+y*l)),this._+=\"A\"+s+\",\"+s+\",0,0,\"+ +(l*w>T*M)+\",\"+(this._x1=o+f*p)+\",\"+(this._y1=n+f*d)}},arc:function(o,n,i,a,s,c){o=+o,n=+n,i=+i,c=!!c;var h=i*Math.cos(a),p=i*Math.sin(a),d=o+h,T=n+p,l=1^c,_=c?a-s:s-a;if(i<0)throw new Error(\"negative radius: \"+i);this._x1===null?this._+=\"M\"+d+\",\"+T:(Math.abs(this._x1-d)>S||Math.abs(this._y1-T)>S)&&(this._+=\"L\"+d+\",\"+T),i&&(_<0&&(_=_%A+A),_>e?this._+=\"A\"+i+\",\"+i+\",0,1,\"+l+\",\"+(o-h)+\",\"+(n-p)+\"A\"+i+\",\"+i+\",0,1,\"+l+\",\"+(this._x1=d)+\",\"+(this._y1=T):_>S&&(this._+=\"A\"+i+\",\"+i+\",0,\"+ +(_>=x)+\",\"+l+\",\"+(this._x1=o+i*Math.cos(s))+\",\"+(this._y1=n+i*Math.sin(s))))},rect:function(o,n,i,a){this._+=\"M\"+(this._x0=this._x1=+o)+\",\"+(this._y0=this._y1=+n)+\"h\"+ +i+\"v\"+ +a+\"h\"+-i+\"Z\"},toString:function(){return this._}},g.path=r,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),wM=ke({\"node_modules/d3-shape/dist/d3-shape.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,zz()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){\"use strict\";function A(kt){return function(){return kt}}var S=Math.abs,e=Math.atan2,t=Math.cos,r=Math.max,o=Math.min,n=Math.sin,i=Math.sqrt,a=1e-12,s=Math.PI,c=s/2,h=2*s;function p(kt){return kt>1?0:kt<-1?s:Math.acos(kt)}function d(kt){return kt>=1?c:kt<=-1?-c:Math.asin(kt)}function T(kt){return kt.innerRadius}function l(kt){return kt.outerRadius}function _(kt){return kt.startAngle}function w(kt){return kt.endAngle}function M(kt){return kt&&kt.padAngle}function E(kt,or,yr,on,An,Zn,Bn,wn){var Dn=yr-kt,Ui=on-or,pi=Bn-An,Ta=wn-Zn,Sa=Ta*Dn-pi*Ui;if(!(Sa*SaLs*Ls+Vs*Vs&&(Ka=ns,Yo=hs),{cx:Ka,cy:Yo,x01:-pi,y01:-Ta,x11:Ka*(An/gs-1),y11:Yo*(An/gs-1)}}function b(){var kt=T,or=l,yr=A(0),on=null,An=_,Zn=w,Bn=M,wn=null;function Dn(){var Ui,pi,Ta=+kt.apply(this,arguments),Sa=+or.apply(this,arguments),qa=An.apply(this,arguments)-c,to=Zn.apply(this,arguments)-c,yo=S(to-qa),Xa=to>qa;if(wn||(wn=Ui=x.path()),Saa))wn.moveTo(0,0);else if(yo>h-a)wn.moveTo(Sa*t(qa),Sa*n(qa)),wn.arc(0,0,Sa,qa,to,!Xa),Ta>a&&(wn.moveTo(Ta*t(to),Ta*n(to)),wn.arc(0,0,Ta,to,qa,Xa));else{var Go=qa,pa=to,cs=qa,Ko=to,gs=yo,Ya=yo,zo=Bn.apply(this,arguments)/2,Ka=zo>a&&(on?+on.apply(this,arguments):i(Ta*Ta+Sa*Sa)),Yo=o(S(Sa-Ta)/2,+yr.apply(this,arguments)),ns=Yo,hs=Yo,ho,Ro;if(Ka>a){var Ls=d(Ka/Ta*n(zo)),Vs=d(Ka/Sa*n(zo));(gs-=Ls*2)>a?(Ls*=Xa?1:-1,cs+=Ls,Ko-=Ls):(gs=0,cs=Ko=(qa+to)/2),(Ya-=Vs*2)>a?(Vs*=Xa?1:-1,Go+=Vs,pa-=Vs):(Ya=0,Go=pa=(qa+to)/2)}var Ws=Sa*t(Go),fs=Sa*n(Go),Mi=Ta*t(Ko),Da=Ta*n(Ko);if(Yo>a){var pl=Sa*t(pa),Xs=Sa*n(pa),Eo=Ta*t(cs),Ys=Ta*n(cs),As;if(yoa?hs>a?(ho=m(Eo,Ys,Ws,fs,Sa,hs,Xa),Ro=m(pl,Xs,Mi,Da,Sa,hs,Xa),wn.moveTo(ho.cx+ho.x01,ho.cy+ho.y01),hsa)||!(gs>a)?wn.lineTo(Mi,Da):ns>a?(ho=m(Mi,Da,pl,Xs,Ta,-ns,Xa),Ro=m(Ws,fs,Eo,Ys,Ta,-ns,Xa),wn.lineTo(ho.cx+ho.x01,ho.cy+ho.y01),ns=Sa;--qa)wn.point(pa[qa],cs[qa]);wn.lineEnd(),wn.areaEnd()}Xa&&(pa[Ta]=+kt(yo,Ta,pi),cs[Ta]=+yr(yo,Ta,pi),wn.point(or?+or(yo,Ta,pi):pa[Ta],on?+on(yo,Ta,pi):cs[Ta]))}if(Go)return wn=null,Go+\"\"||null}function Ui(){return P().defined(An).curve(Bn).context(Zn)}return Dn.x=function(pi){return arguments.length?(kt=typeof pi==\"function\"?pi:A(+pi),or=null,Dn):kt},Dn.x0=function(pi){return arguments.length?(kt=typeof pi==\"function\"?pi:A(+pi),Dn):kt},Dn.x1=function(pi){return arguments.length?(or=pi==null?null:typeof pi==\"function\"?pi:A(+pi),Dn):or},Dn.y=function(pi){return arguments.length?(yr=typeof pi==\"function\"?pi:A(+pi),on=null,Dn):yr},Dn.y0=function(pi){return arguments.length?(yr=typeof pi==\"function\"?pi:A(+pi),Dn):yr},Dn.y1=function(pi){return arguments.length?(on=pi==null?null:typeof pi==\"function\"?pi:A(+pi),Dn):on},Dn.lineX0=Dn.lineY0=function(){return Ui().x(kt).y(yr)},Dn.lineY1=function(){return Ui().x(kt).y(on)},Dn.lineX1=function(){return Ui().x(or).y(yr)},Dn.defined=function(pi){return arguments.length?(An=typeof pi==\"function\"?pi:A(!!pi),Dn):An},Dn.curve=function(pi){return arguments.length?(Bn=pi,Zn!=null&&(wn=Bn(Zn)),Dn):Bn},Dn.context=function(pi){return arguments.length?(pi==null?Zn=wn=null:wn=Bn(Zn=pi),Dn):Zn},Dn}function z(kt,or){return orkt?1:or>=kt?0:NaN}function F(kt){return kt}function B(){var kt=F,or=z,yr=null,on=A(0),An=A(h),Zn=A(0);function Bn(wn){var Dn,Ui=wn.length,pi,Ta,Sa=0,qa=new Array(Ui),to=new Array(Ui),yo=+on.apply(this,arguments),Xa=Math.min(h,Math.max(-h,An.apply(this,arguments)-yo)),Go,pa=Math.min(Math.abs(Xa)/Ui,Zn.apply(this,arguments)),cs=pa*(Xa<0?-1:1),Ko;for(Dn=0;Dn0&&(Sa+=Ko);for(or!=null?qa.sort(function(gs,Ya){return or(to[gs],to[Ya])}):yr!=null&&qa.sort(function(gs,Ya){return yr(wn[gs],wn[Ya])}),Dn=0,Ta=Sa?(Xa-Ui*cs)/Sa:0;Dn0?Ko*Ta:0)+cs,to[pi]={data:wn[pi],index:Dn,value:Ko,startAngle:yo,endAngle:Go,padAngle:pa};return to}return Bn.value=function(wn){return arguments.length?(kt=typeof wn==\"function\"?wn:A(+wn),Bn):kt},Bn.sortValues=function(wn){return arguments.length?(or=wn,yr=null,Bn):or},Bn.sort=function(wn){return arguments.length?(yr=wn,or=null,Bn):yr},Bn.startAngle=function(wn){return arguments.length?(on=typeof wn==\"function\"?wn:A(+wn),Bn):on},Bn.endAngle=function(wn){return arguments.length?(An=typeof wn==\"function\"?wn:A(+wn),Bn):An},Bn.padAngle=function(wn){return arguments.length?(Zn=typeof wn==\"function\"?wn:A(+wn),Bn):Zn},Bn}var O=N(u);function I(kt){this._curve=kt}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(kt,or){this._curve.point(or*Math.sin(kt),or*-Math.cos(kt))}};function N(kt){function or(yr){return new I(kt(yr))}return or._curve=kt,or}function U(kt){var or=kt.curve;return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt.curve=function(yr){return arguments.length?or(N(yr)):or()._curve},kt}function W(){return U(P().curve(O))}function Q(){var kt=L().curve(O),or=kt.curve,yr=kt.lineX0,on=kt.lineX1,An=kt.lineY0,Zn=kt.lineY1;return kt.angle=kt.x,delete kt.x,kt.startAngle=kt.x0,delete kt.x0,kt.endAngle=kt.x1,delete kt.x1,kt.radius=kt.y,delete kt.y,kt.innerRadius=kt.y0,delete kt.y0,kt.outerRadius=kt.y1,delete kt.y1,kt.lineStartAngle=function(){return U(yr())},delete kt.lineX0,kt.lineEndAngle=function(){return U(on())},delete kt.lineX1,kt.lineInnerRadius=function(){return U(An())},delete kt.lineY0,kt.lineOuterRadius=function(){return U(Zn())},delete kt.lineY1,kt.curve=function(Bn){return arguments.length?or(N(Bn)):or()._curve},kt}function le(kt,or){return[(or=+or)*Math.cos(kt-=Math.PI/2),or*Math.sin(kt)]}var se=Array.prototype.slice;function fe(kt){return kt.source}function G(kt){return kt.target}function $(kt){var or=fe,yr=G,on=y,An=f,Zn=null;function Bn(){var wn,Dn=se.call(arguments),Ui=or.apply(this,Dn),pi=yr.apply(this,Dn);if(Zn||(Zn=wn=x.path()),kt(Zn,+on.apply(this,(Dn[0]=Ui,Dn)),+An.apply(this,Dn),+on.apply(this,(Dn[0]=pi,Dn)),+An.apply(this,Dn)),wn)return Zn=null,wn+\"\"||null}return Bn.source=function(wn){return arguments.length?(or=wn,Bn):or},Bn.target=function(wn){return arguments.length?(yr=wn,Bn):yr},Bn.x=function(wn){return arguments.length?(on=typeof wn==\"function\"?wn:A(+wn),Bn):on},Bn.y=function(wn){return arguments.length?(An=typeof wn==\"function\"?wn:A(+wn),Bn):An},Bn.context=function(wn){return arguments.length?(Zn=wn??null,Bn):Zn},Bn}function J(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or=(or+on)/2,yr,or,An,on,An)}function X(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or,yr=(yr+An)/2,on,yr,on,An)}function re(kt,or,yr,on,An){var Zn=le(or,yr),Bn=le(or,yr=(yr+An)/2),wn=le(on,yr),Dn=le(on,An);kt.moveTo(Zn[0],Zn[1]),kt.bezierCurveTo(Bn[0],Bn[1],wn[0],wn[1],Dn[0],Dn[1])}function ae(){return $(J)}function j(){return $(X)}function ee(){var kt=$(re);return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt}var ie={draw:function(kt,or){var yr=Math.sqrt(or/s);kt.moveTo(yr,0),kt.arc(0,0,yr,0,h)}},ce={draw:function(kt,or){var yr=Math.sqrt(or/5)/2;kt.moveTo(-3*yr,-yr),kt.lineTo(-yr,-yr),kt.lineTo(-yr,-3*yr),kt.lineTo(yr,-3*yr),kt.lineTo(yr,-yr),kt.lineTo(3*yr,-yr),kt.lineTo(3*yr,yr),kt.lineTo(yr,yr),kt.lineTo(yr,3*yr),kt.lineTo(-yr,3*yr),kt.lineTo(-yr,yr),kt.lineTo(-3*yr,yr),kt.closePath()}},xe=Math.sqrt(1/3),Te=xe*2,Ue={draw:function(kt,or){var yr=Math.sqrt(or/Te),on=yr*xe;kt.moveTo(0,-yr),kt.lineTo(on,0),kt.lineTo(0,yr),kt.lineTo(-on,0),kt.closePath()}},Ie=.8908130915292852,Ye=Math.sin(s/10)/Math.sin(7*s/10),it=Math.sin(h/10)*Ye,at=-Math.cos(h/10)*Ye,tt={draw:function(kt,or){var yr=Math.sqrt(or*Ie),on=it*yr,An=at*yr;kt.moveTo(0,-yr),kt.lineTo(on,An);for(var Zn=1;Zn<5;++Zn){var Bn=h*Zn/5,wn=Math.cos(Bn),Dn=Math.sin(Bn);kt.lineTo(Dn*yr,-wn*yr),kt.lineTo(wn*on-Dn*An,Dn*on+wn*An)}kt.closePath()}},ut={draw:function(kt,or){var yr=Math.sqrt(or),on=-yr/2;kt.rect(on,on,yr,yr)}},Me=Math.sqrt(3),pe={draw:function(kt,or){var yr=-Math.sqrt(or/(Me*3));kt.moveTo(0,yr*2),kt.lineTo(-Me*yr,-yr),kt.lineTo(Me*yr,-yr),kt.closePath()}},ue=-.5,Oe=Math.sqrt(3)/2,rt=1/Math.sqrt(12),ot=(rt/2+1)*3,et={draw:function(kt,or){var yr=Math.sqrt(or/ot),on=yr/2,An=yr*rt,Zn=on,Bn=yr*rt+yr,wn=-Zn,Dn=Bn;kt.moveTo(on,An),kt.lineTo(Zn,Bn),kt.lineTo(wn,Dn),kt.lineTo(ue*on-Oe*An,Oe*on+ue*An),kt.lineTo(ue*Zn-Oe*Bn,Oe*Zn+ue*Bn),kt.lineTo(ue*wn-Oe*Dn,Oe*wn+ue*Dn),kt.lineTo(ue*on+Oe*An,ue*An-Oe*on),kt.lineTo(ue*Zn+Oe*Bn,ue*Bn-Oe*Zn),kt.lineTo(ue*wn+Oe*Dn,ue*Dn-Oe*wn),kt.closePath()}},Lt=[ie,ce,Ue,ut,tt,pe,et];function Et(){var kt=A(ie),or=A(64),yr=null;function on(){var An;if(yr||(yr=An=x.path()),kt.apply(this,arguments).draw(yr,+or.apply(this,arguments)),An)return yr=null,An+\"\"||null}return on.type=function(An){return arguments.length?(kt=typeof An==\"function\"?An:A(An),on):kt},on.size=function(An){return arguments.length?(or=typeof An==\"function\"?An:A(+An),on):or},on.context=function(An){return arguments.length?(yr=An??null,on):yr},on}function Bt(){}function qt(kt,or,yr){kt._context.bezierCurveTo((2*kt._x0+kt._x1)/3,(2*kt._y0+kt._y1)/3,(kt._x0+2*kt._x1)/3,(kt._y0+2*kt._y1)/3,(kt._x0+4*kt._x1+or)/6,(kt._y0+4*kt._y1+yr)/6)}function fr(kt){this._context=kt}fr.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:qt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);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:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function ar(kt){return new fr(kt)}function Rr(kt){this._context=kt}Rr.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x2=kt,this._y2=or;break;case 1:this._point=2,this._x3=kt,this._y3=or;break;case 2:this._point=3,this._x4=kt,this._y4=or,this._context.moveTo((this._x0+4*this._x1+kt)/6,(this._y0+4*this._y1+or)/6);break;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function gr(kt){return new Rr(kt)}function br(kt){this._context=kt}br.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var yr=(this._x0+4*this._x1+kt)/6,on=(this._y0+4*this._y1+or)/6;this._line?this._context.lineTo(yr,on):this._context.moveTo(yr,on);break;case 3:this._point=4;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function _t(kt){return new br(kt)}function Be(kt,or){this._basis=new fr(kt),this._beta=or}Be.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length-1;if(yr>0)for(var on=kt[0],An=or[0],Zn=kt[yr]-on,Bn=or[yr]-An,wn=-1,Dn;++wn<=yr;)Dn=wn/yr,this._basis.point(this._beta*kt[wn]+(1-this._beta)*(on+Dn*Zn),this._beta*or[wn]+(1-this._beta)*(An+Dn*Bn));this._x=this._y=null,this._basis.lineEnd()},point:function(kt,or){this._x.push(+kt),this._y.push(+or)}};var Ke=function kt(or){function yr(on){return or===1?new fr(on):new Be(on,or)}return yr.beta=function(on){return kt(+on)},yr}(.85);function je(kt,or,yr){kt._context.bezierCurveTo(kt._x1+kt._k*(kt._x2-kt._x0),kt._y1+kt._k*(kt._y2-kt._y0),kt._x2+kt._k*(kt._x1-or),kt._y2+kt._k*(kt._y1-yr),kt._x2,kt._y2)}function Se(kt,or){this._context=kt,this._k=(1-or)/6}Se.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:je(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2,this._x1=kt,this._y1=or;break;case 2:this._point=3;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var He=function kt(or){function yr(on){return new Se(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Ee(kt,or){this._context=kt,this._k=(1-or)/6}Ee.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var we=function kt(or){function yr(on){return new Ee(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Le(kt,or){this._context=kt,this._k=(1-or)/6}Le.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,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:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var nt=function kt(or){function yr(on){return new Le(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function pt(kt,or,yr){var on=kt._x1,An=kt._y1,Zn=kt._x2,Bn=kt._y2;if(kt._l01_a>a){var wn=2*kt._l01_2a+3*kt._l01_a*kt._l12_a+kt._l12_2a,Dn=3*kt._l01_a*(kt._l01_a+kt._l12_a);on=(on*wn-kt._x0*kt._l12_2a+kt._x2*kt._l01_2a)/Dn,An=(An*wn-kt._y0*kt._l12_2a+kt._y2*kt._l01_2a)/Dn}if(kt._l23_a>a){var Ui=2*kt._l23_2a+3*kt._l23_a*kt._l12_a+kt._l12_2a,pi=3*kt._l23_a*(kt._l23_a+kt._l12_a);Zn=(Zn*Ui+kt._x1*kt._l23_2a-or*kt._l12_2a)/pi,Bn=(Bn*Ui+kt._y1*kt._l23_2a-yr*kt._l12_2a)/pi}kt._context.bezierCurveTo(on,An,Zn,Bn,kt._x2,kt._y2)}function bt(kt,or){this._context=kt,this._alpha=or}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Rt=function kt(or){function yr(on){return or?new bt(on,or):new Se(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function Nt(kt,or){this._context=kt,this._alpha=or}Nt.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Xt=function kt(or){function yr(on){return or?new Nt(on,or):new Ee(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function $t(kt,or){this._context=kt,this._alpha=or}$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,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:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var ur=function kt(or){function yr(on){return or?new $t(on,or):new Le(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function pn(kt){this._context=kt}pn.prototype={areaStart:Bt,areaEnd:Bt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(kt,or){kt=+kt,or=+or,this._point?this._context.lineTo(kt,or):(this._point=1,this._context.moveTo(kt,or))}};function Rn(kt){return new pn(kt)}function Nn(kt){return kt<0?-1:1}function On(kt,or,yr){var on=kt._x1-kt._x0,An=or-kt._x1,Zn=(kt._y1-kt._y0)/(on||An<0&&-0),Bn=(yr-kt._y1)/(An||on<0&&-0),wn=(Zn*An+Bn*on)/(on+An);return(Nn(Zn)+Nn(Bn))*Math.min(Math.abs(Zn),Math.abs(Bn),.5*Math.abs(wn))||0}function ni(kt,or){var yr=kt._x1-kt._x0;return yr?(3*(kt._y1-kt._y0)/yr-or)/2:or}function zn(kt,or,yr){var on=kt._x0,An=kt._y0,Zn=kt._x1,Bn=kt._y1,wn=(Zn-on)/3;kt._context.bezierCurveTo(on+wn,An+wn*or,Zn-wn,Bn-wn*yr,Zn,Bn)}function Qn(kt){this._context=kt}Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zn(this,this._t0,ni(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){var yr=NaN;if(kt=+kt,or=+or,!(kt===this._x1&&or===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3,zn(this,ni(this,yr=On(this,kt,or)),yr);break;default:zn(this,this._t0,yr=On(this,kt,or));break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or,this._t0=yr}}};function gi(kt){this._context=new Zt(kt)}(gi.prototype=Object.create(Qn.prototype)).point=function(kt,or){Qn.prototype.point.call(this,or,kt)};function Zt(kt){this._context=kt}Zt.prototype={moveTo:function(kt,or){this._context.moveTo(or,kt)},closePath:function(){this._context.closePath()},lineTo:function(kt,or){this._context.lineTo(or,kt)},bezierCurveTo:function(kt,or,yr,on,An,Zn){this._context.bezierCurveTo(or,kt,on,yr,Zn,An)}};function Ft(kt){return new Qn(kt)}function Ht(kt){return new gi(kt)}function Vt(kt){this._context=kt}Vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length;if(yr)if(this._line?this._context.lineTo(kt[0],or[0]):this._context.moveTo(kt[0],or[0]),yr===2)this._context.lineTo(kt[1],or[1]);else for(var on=wr(kt),An=wr(or),Zn=0,Bn=1;Bn=0;--or)An[or]=(Bn[or]-An[or+1])/Zn[or];for(Zn[yr-1]=(kt[yr]+An[yr-1])/2,or=0;or=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,or),this._context.lineTo(kt,or);else{var yr=this._x*(1-this._t)+kt*this._t;this._context.lineTo(yr,this._y),this._context.lineTo(yr,or)}break}}this._x=kt,this._y=or}};function en(kt){return new xn(kt,.5)}function Fn(kt){return new xn(kt,0)}function Wn(kt){return new xn(kt,1)}function ri(kt,or){if((Bn=kt.length)>1)for(var yr=1,on,An,Zn=kt[or[0]],Bn,wn=Zn.length;yr=0;)yr[or]=or;return yr}function ui(kt,or){return kt[or]}function gt(){var kt=A([]),or=Sn,yr=ri,on=ui;function An(Zn){var Bn=kt.apply(this,arguments),wn,Dn=Zn.length,Ui=Bn.length,pi=new Array(Ui),Ta;for(wn=0;wn0){for(var yr,on,An=0,Zn=kt[0].length,Bn;An0)for(var yr,on=0,An,Zn,Bn,wn,Dn,Ui=kt[or[0]].length;on0?(An[0]=Bn,An[1]=Bn+=Zn):Zn<0?(An[1]=wn,An[0]=wn+=Zn):(An[0]=0,An[1]=Zn)}function Ir(kt,or){if((An=kt.length)>0){for(var yr=0,on=kt[or[0]],An,Zn=on.length;yr0)||!((Zn=(An=kt[or[0]]).length)>0))){for(var yr=0,on=1,An,Zn,Bn;onZn&&(Zn=An,yr=or);return yr}function Ur(kt){var or=kt.map(Dr);return Sn(kt).sort(function(yr,on){return or[yr]-or[on]})}function Dr(kt){for(var or=0,yr=-1,on=kt.length,An;++yr0;--re)ee(X*=.99),ie(),j(X),ie();function ae(){var ce=x.max(J,function(Ue){return Ue.length}),xe=U*(P-y)/(ce-1);z>xe&&(z=xe);var Te=x.min(J,function(Ue){return(P-y-(Ue.length-1)*z)/x.sum(Ue,h)});J.forEach(function(Ue){Ue.forEach(function(Ie,Ye){Ie.y1=(Ie.y0=Ye)+Ie.value*Te})}),$.links.forEach(function(Ue){Ue.width=Ue.value*Te})}function j(ce){J.forEach(function(xe){xe.forEach(function(Te){if(Te.targetLinks.length){var Ue=(x.sum(Te.targetLinks,d)/x.sum(Te.targetLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ee(ce){J.slice().reverse().forEach(function(xe){xe.forEach(function(Te){if(Te.sourceLinks.length){var Ue=(x.sum(Te.sourceLinks,T)/x.sum(Te.sourceLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ie(){J.forEach(function(ce){var xe,Te,Ue=y,Ie=ce.length,Ye;for(ce.sort(c),Ye=0;Ye0&&(xe.y0+=Te,xe.y1+=Te),Ue=xe.y1+z;if(Te=Ue-z-P,Te>0)for(Ue=xe.y0-=Te,xe.y1-=Te,Ye=Ie-2;Ye>=0;--Ye)xe=ce[Ye],Te=xe.y1+z-Ue,Te>0&&(xe.y0-=Te,xe.y1-=Te),Ue=xe.y0})}}function G($){$.nodes.forEach(function(J){J.sourceLinks.sort(s),J.targetLinks.sort(a)}),$.nodes.forEach(function(J){var X=J.y0,re=X;J.sourceLinks.forEach(function(ae){ae.y0=X+ae.width/2,X+=ae.width}),J.targetLinks.forEach(function(ae){ae.y1=re+ae.width/2,re+=ae.width})})}return W};function m(u){return[u.source.x1,u.y0]}function b(u){return[u.target.x0,u.y1]}var v=function(){return S.linkHorizontal().source(m).target(b)};g.sankey=E,g.sankeyCenter=n,g.sankeyLeft=t,g.sankeyRight=r,g.sankeyJustify=o,g.sankeyLinkHorizontal=v,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Oz=ke({\"node_modules/elementary-circuits-directed-graph/johnson.js\"(Z,H){var g=bM();H.exports=function(A,S){var e=[],t=[],r=[],o={},n=[],i;function a(M){r[M]=!1,o.hasOwnProperty(M)&&Object.keys(o[M]).forEach(function(E){delete o[M][E],r[E]&&a(E)})}function s(M){var E=!1;t.push(M),r[M]=!0;var m,b;for(m=0;m=M})}function p(M){h(M);for(var E=A,m=g(E),b=m.components.filter(function(z){return z.length>1}),v=1/0,u,y=0;y\"u\"?\"undefined\":s(Se))!==\"object\"&&(Se=Ke.source=m(Be,Se)),(typeof He>\"u\"?\"undefined\":s(He))!==\"object\"&&(He=Ke.target=m(Be,He)),Se.sourceLinks.push(Ke),He.targetLinks.push(Ke)}),_t}function qt(_t){_t.nodes.forEach(function(Be){Be.partOfCycle=!1,Be.value=Math.max(x.sum(Be.sourceLinks,d),x.sum(Be.targetLinks,d)),Be.sourceLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)}),Be.targetLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)})})}function fr(_t){var Be=0,Ke=0,je=0,Se=0,He=x.max(_t.nodes,function(Ee){return Ee.column});return _t.links.forEach(function(Ee){Ee.circular&&(Ee.circularLinkType==\"top\"?Be=Be+Ee.width:Ke=Ke+Ee.width,Ee.target.column==0&&(Se=Se+Ee.width),Ee.source.column==He&&(je=je+Ee.width))}),Be=Be>0?Be+v+u:Be,Ke=Ke>0?Ke+v+u:Ke,je=je>0?je+v+u:je,Se=Se>0?Se+v+u:Se,{top:Be,bottom:Ke,left:Se,right:je}}function ar(_t,Be){var Ke=x.max(_t.nodes,function(nt){return nt.column}),je=it-Ie,Se=at-Ye,He=je+Be.right+Be.left,Ee=Se+Be.top+Be.bottom,we=je/He,Le=Se/Ee;return Ie=Ie*we+Be.left,it=Be.right==0?it:it*we,Ye=Ye*Le+Be.top,at=at*Le,_t.nodes.forEach(function(nt){nt.x0=Ie+nt.column*((it-Ie-tt)/Ke),nt.x1=nt.x0+tt}),Le}function Rr(_t){var Be,Ke,je;for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.depth=je,Se.sourceLinks.forEach(function(He){Ke.indexOf(He.target)<0&&!He.circular&&Ke.push(He.target)})});for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.height=je,Se.targetLinks.forEach(function(He){Ke.indexOf(He.source)<0&&!He.circular&&Ke.push(He.source)})});_t.nodes.forEach(function(Se){Se.column=Math.floor(pe.call(null,Se,je))})}function gr(_t,Be,Ke){var je=A.nest().key(function(nt){return nt.column}).sortKeys(x.ascending).entries(_t.nodes).map(function(nt){return nt.values});Ee(Ke),Le();for(var Se=1,He=Be;He>0;--He)we(Se*=.99,Ke),Le();function Ee(nt){if(et){var pt=1/0;je.forEach(function(Xt){var $t=at*et/(Xt.length+1);pt=$t0))if(Xt==0&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else if(Xt==bt-1&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else{var pn=0,Rn=x.mean($t.sourceLinks,_),Nn=x.mean($t.targetLinks,l);Rn&&Nn?pn=(Rn+Nn)/2:pn=Rn||Nn;var On=(pn-T($t))*nt;$t.y0+=On,$t.y1+=On}})})}function Le(){je.forEach(function(nt){var pt,bt,Rt=Ye,Nt=nt.length,Xt;for(nt.sort(p),Xt=0;Xt0&&(pt.y0+=bt,pt.y1+=bt),Rt=pt.y1+ut;if(bt=Rt-ut-at,bt>0)for(Rt=pt.y0-=bt,pt.y1-=bt,Xt=Nt-2;Xt>=0;--Xt)pt=nt[Xt],bt=pt.y1+ut-Rt,bt>0&&(pt.y0-=bt,pt.y1-=bt),Rt=pt.y0})}}function br(_t){_t.nodes.forEach(function(Be){Be.sourceLinks.sort(h),Be.targetLinks.sort(c)}),_t.nodes.forEach(function(Be){var Ke=Be.y0,je=Ke,Se=Be.y1,He=Se;Be.sourceLinks.forEach(function(Ee){Ee.circular?(Ee.y0=Se-Ee.width/2,Se=Se-Ee.width):(Ee.y0=Ke+Ee.width/2,Ke+=Ee.width)}),Be.targetLinks.forEach(function(Ee){Ee.circular?(Ee.y1=He-Ee.width/2,He=He-Ee.width):(Ee.y1=je+Ee.width/2,je+=Ee.width)})})}return Et}function P(Ie,Ye,it){var at=0;if(it===null){for(var tt=[],ut=0;utYe.source.column)}function B(Ie,Ye){var it=0;Ie.sourceLinks.forEach(function(tt){it=tt.circular&&!Te(tt,Ye)?it+1:it});var at=0;return Ie.targetLinks.forEach(function(tt){at=tt.circular&&!Te(tt,Ye)?at+1:at}),it+at}function O(Ie){var Ye=Ie.source.sourceLinks,it=0;Ye.forEach(function(ut){it=ut.circular?it+1:it});var at=Ie.target.targetLinks,tt=0;return at.forEach(function(ut){tt=ut.circular?tt+1:tt}),!(it>1||tt>1)}function I(Ie,Ye,it){return Ie.sort(W),Ie.forEach(function(at,tt){var ut=0;if(Te(at,it)&&O(at))at.circularPathData.verticalBuffer=ut+at.width/2;else{var Me=0;for(Me;Meut?pe:ut}at.circularPathData.verticalBuffer=ut+at.width/2}}),Ie}function N(Ie,Ye,it,at){var tt=5,ut=x.min(Ie.links,function(ue){return ue.source.y0});Ie.links.forEach(function(ue){ue.circular&&(ue.circularPathData={})});var Me=Ie.links.filter(function(ue){return ue.circularLinkType==\"top\"});I(Me,Ye,at);var pe=Ie.links.filter(function(ue){return ue.circularLinkType==\"bottom\"});I(pe,Ye,at),Ie.links.forEach(function(ue){if(ue.circular){if(ue.circularPathData.arcRadius=ue.width+u,ue.circularPathData.leftNodeBuffer=tt,ue.circularPathData.rightNodeBuffer=tt,ue.circularPathData.sourceWidth=ue.source.x1-ue.source.x0,ue.circularPathData.sourceX=ue.source.x0+ue.circularPathData.sourceWidth,ue.circularPathData.targetX=ue.target.x0,ue.circularPathData.sourceY=ue.y0,ue.circularPathData.targetY=ue.y1,Te(ue,at)&&O(ue))ue.circularPathData.leftSmallArcRadius=u+ue.width/2,ue.circularPathData.leftLargeArcRadius=u+ue.width/2,ue.circularPathData.rightSmallArcRadius=u+ue.width/2,ue.circularPathData.rightLargeArcRadius=u+ue.width/2,ue.circularLinkType==\"bottom\"?(ue.circularPathData.verticalFullExtent=ue.source.y1+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ue.source.y0-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius);else{var Oe=ue.source.column,rt=ue.circularLinkType,ot=Ie.links.filter(function(Et){return Et.source.column==Oe&&Et.circularLinkType==rt});ue.circularLinkType==\"bottom\"?ot.sort(le):ot.sort(Q);var et=0;ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.leftSmallArcRadius=u+ue.width/2+et,ue.circularPathData.leftLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),Oe=ue.target.column,ot=Ie.links.filter(function(Et){return Et.target.column==Oe&&Et.circularLinkType==rt}),ue.circularLinkType==\"bottom\"?ot.sort(fe):ot.sort(se),et=0,ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.rightSmallArcRadius=u+ue.width/2+et,ue.circularPathData.rightLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),ue.circularLinkType==\"bottom\"?(ue.circularPathData.verticalFullExtent=Math.max(it,ue.source.y1,ue.target.y1)+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ut-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius)}ue.circularPathData.leftInnerExtent=ue.circularPathData.sourceX+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightInnerExtent=ue.circularPathData.targetX-ue.circularPathData.rightNodeBuffer,ue.circularPathData.leftFullExtent=ue.circularPathData.sourceX+ue.circularPathData.leftLargeArcRadius+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightFullExtent=ue.circularPathData.targetX-ue.circularPathData.rightLargeArcRadius-ue.circularPathData.rightNodeBuffer}if(ue.circular)ue.path=U(ue);else{var Lt=S.linkHorizontal().source(function(Et){var Bt=Et.source.x0+(Et.source.x1-Et.source.x0),qt=Et.y0;return[Bt,qt]}).target(function(Et){var Bt=Et.target.x0,qt=Et.y1;return[Bt,qt]});ue.path=Lt(ue)}})}function U(Ie){var Ye=\"\";return Ie.circularLinkType==\"top\"?Ye=\"M\"+Ie.circularPathData.sourceX+\" \"+Ie.circularPathData.sourceY+\" L\"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.sourceY+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftSmallArcRadius+\" 0 0 0 \"+Ie.circularPathData.leftFullExtent+\" \"+(Ie.circularPathData.sourceY-Ie.circularPathData.leftSmallArcRadius)+\" L\"+Ie.circularPathData.leftFullExtent+\" \"+Ie.circularPathData.verticalLeftInnerExtent+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftLargeArcRadius+\" 0 0 0 \"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" L\"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightLargeArcRadius+\" 0 0 0 \"+Ie.circularPathData.rightFullExtent+\" \"+Ie.circularPathData.verticalRightInnerExtent+\" L\"+Ie.circularPathData.rightFullExtent+\" \"+(Ie.circularPathData.targetY-Ie.circularPathData.rightSmallArcRadius)+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightSmallArcRadius+\" 0 0 0 \"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.targetY+\" L\"+Ie.circularPathData.targetX+\" \"+Ie.circularPathData.targetY:Ye=\"M\"+Ie.circularPathData.sourceX+\" \"+Ie.circularPathData.sourceY+\" L\"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.sourceY+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftSmallArcRadius+\" 0 0 1 \"+Ie.circularPathData.leftFullExtent+\" \"+(Ie.circularPathData.sourceY+Ie.circularPathData.leftSmallArcRadius)+\" L\"+Ie.circularPathData.leftFullExtent+\" \"+Ie.circularPathData.verticalLeftInnerExtent+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftLargeArcRadius+\" 0 0 1 \"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" L\"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightLargeArcRadius+\" 0 0 1 \"+Ie.circularPathData.rightFullExtent+\" \"+Ie.circularPathData.verticalRightInnerExtent+\" L\"+Ie.circularPathData.rightFullExtent+\" \"+(Ie.circularPathData.targetY+Ie.circularPathData.rightSmallArcRadius)+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightSmallArcRadius+\" 0 0 1 \"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.targetY+\" L\"+Ie.circularPathData.targetX+\" \"+Ie.circularPathData.targetY,Ye}function W(Ie,Ye){return G(Ie)==G(Ye)?Ie.circularLinkType==\"bottom\"?le(Ie,Ye):Q(Ie,Ye):G(Ye)-G(Ie)}function Q(Ie,Ye){return Ie.y0-Ye.y0}function le(Ie,Ye){return Ye.y0-Ie.y0}function se(Ie,Ye){return Ie.y1-Ye.y1}function fe(Ie,Ye){return Ye.y1-Ie.y1}function G(Ie){return Ie.target.column-Ie.source.column}function $(Ie){return Ie.target.x0-Ie.source.x1}function J(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)==\"up\"?Ie.y1+at:Ie.y1-at;return tt}function X(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)==\"up\"?Ie.y1-at:Ie.y1+at;return tt}function re(Ie,Ye,it,at){Ie.links.forEach(function(tt){if(!tt.circular&&tt.target.column-tt.source.column>1){var ut=tt.source.column+1,Me=tt.target.column-1,pe=1,ue=Me-ut+1;for(pe=1;ut<=Me;ut++,pe++)Ie.nodes.forEach(function(Oe){if(Oe.column==ut){var rt=pe/(ue+1),ot=Math.pow(1-rt,3),et=3*rt*Math.pow(1-rt,2),Lt=3*Math.pow(rt,2)*(1-rt),Et=Math.pow(rt,3),Bt=ot*tt.y0+et*tt.y0+Lt*tt.y1+Et*tt.y1,qt=Bt-tt.width/2,fr=Bt+tt.width/2,ar;qt>Oe.y0&&qtOe.y0&&frOe.y1&&j(Rr,ar,Ye,it)})):qtOe.y1&&(ar=fr-Oe.y0+10,Oe=j(Oe,ar,Ye,it),Ie.nodes.forEach(function(Rr){b(Rr,at)==b(Oe,at)||Rr.column!=Oe.column||Rr.y0Oe.y1&&j(Rr,ar,Ye,it)}))}})}})}function ae(Ie,Ye){return Ie.y0>Ye.y0&&Ie.y0Ye.y0&&Ie.y1Ye.y1}function j(Ie,Ye,it,at){return Ie.y0+Ye>=it&&Ie.y1+Ye<=at&&(Ie.y0=Ie.y0+Ye,Ie.y1=Ie.y1+Ye,Ie.targetLinks.forEach(function(tt){tt.y1=tt.y1+Ye}),Ie.sourceLinks.forEach(function(tt){tt.y0=tt.y0+Ye})),Ie}function ee(Ie,Ye,it,at){Ie.nodes.forEach(function(tt){at&&tt.y+(tt.y1-tt.y0)>Ye&&(tt.y=tt.y-(tt.y+(tt.y1-tt.y0)-Ye));var ut=Ie.links.filter(function(ue){return b(ue.source,it)==b(tt,it)}),Me=ut.length;Me>1&&ut.sort(function(ue,Oe){if(!ue.circular&&!Oe.circular){if(ue.target.column==Oe.target.column)return ue.y1-Oe.y1;if(ce(ue,Oe)){if(ue.target.column>Oe.target.column){var rt=X(Oe,ue);return ue.y1-rt}if(Oe.target.column>ue.target.column){var ot=X(ue,Oe);return ot-Oe.y1}}else return ue.y1-Oe.y1}if(ue.circular&&!Oe.circular)return ue.circularLinkType==\"top\"?-1:1;if(Oe.circular&&!ue.circular)return Oe.circularLinkType==\"top\"?1:-1;if(ue.circular&&Oe.circular)return ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType==\"top\"?ue.target.column===Oe.target.column?ue.target.y1-Oe.target.y1:Oe.target.column-ue.target.column:ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType==\"bottom\"?ue.target.column===Oe.target.column?Oe.target.y1-ue.target.y1:ue.target.column-Oe.target.column:ue.circularLinkType==\"top\"?-1:1});var pe=tt.y0;ut.forEach(function(ue){ue.y0=pe+ue.width/2,pe=pe+ue.width}),ut.forEach(function(ue,Oe){if(ue.circularLinkType==\"bottom\"){var rt=Oe+1,ot=0;for(rt;rt1&&tt.sort(function(pe,ue){if(!pe.circular&&!ue.circular){if(pe.source.column==ue.source.column)return pe.y0-ue.y0;if(ce(pe,ue)){if(ue.source.column0?\"up\":\"down\"}function Te(Ie,Ye){return b(Ie.source,Ye)==b(Ie.target,Ye)}function Ue(Ie,Ye,it){var at=Ie.nodes,tt=Ie.links,ut=!1,Me=!1;if(tt.forEach(function(et){et.circularLinkType==\"top\"?ut=!0:et.circularLinkType==\"bottom\"&&(Me=!0)}),ut==!1||Me==!1){var pe=x.min(at,function(et){return et.y0}),ue=x.max(at,function(et){return et.y1}),Oe=ue-pe,rt=it-Ye,ot=rt/Oe;at.forEach(function(et){var Lt=(et.y1-et.y0)*ot;et.y0=(et.y0-pe)*ot,et.y1=et.y0+Lt}),tt.forEach(function(et){et.y0=(et.y0-pe)*ot,et.y1=(et.y1-pe)*ot,et.width=et.width*ot})}}g.sankeyCircular=f,g.sankeyCenter=i,g.sankeyLeft=r,g.sankeyRight=o,g.sankeyJustify=n,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),TM=ke({\"src/traces/sankey/constants.js\"(Z,H){\"use strict\";H.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:\"linear\",cn:{sankey:\"sankey\",sankeyLinks:\"sankey-links\",sankeyLink:\"sankey-link\",sankeyNodeSet:\"sankey-node-set\",sankeyNode:\"sankey-node\",nodeRect:\"node-rect\",nodeLabel:\"node-label\"}}}}),Nz=ke({\"src/traces/sankey/render.js\"(Z,H){\"use strict\";var g=Dz(),x=(Ym(),hi(Xp)).interpolateNumber,A=_i(),S=Fz(),e=Bz(),t=TM(),r=ru(),o=eo(),n=$o(),i=un(),a=i.strTranslate,s=i.strRotate,c=Dv(),h=c.keyFun,p=c.repeat,d=c.unwrap,T=Wl(),l=lo(),_=Yf(),w=_.CAP_SHIFT,M=_.LINE_SPACING,E=3;function m(J,X,re){var ae=d(X),j=ae.trace,ee=j.domain,ie=j.orientation===\"h\",ce=j.node.pad,xe=j.node.thickness,Te={justify:S.sankeyJustify,left:S.sankeyLeft,right:S.sankeyRight,center:S.sankeyCenter}[j.node.align],Ue=J.width*(ee.x[1]-ee.x[0]),Ie=J.height*(ee.y[1]-ee.y[0]),Ye=ae._nodes,it=ae._links,at=ae.circular,tt;at?tt=e.sankeyCircular().circularLinkGap(0):tt=S.sankey(),tt.iterations(t.sankeyIterations).size(ie?[Ue,Ie]:[Ie,Ue]).nodeWidth(xe).nodePadding(ce).nodeId(function(Rr){return Rr.pointNumber}).nodeAlign(Te).nodes(Ye).links(it);var ut=tt();tt.nodePadding()=Be||(_t=Be-br.y0,_t>1e-6&&(br.y0+=_t,br.y1+=_t)),Be=br.y1+ce})}function Bt(Rr){var gr=Rr.map(function(He,Ee){return{x0:He.x0,index:Ee}}).sort(function(He,Ee){return He.x0-Ee.x0}),br=[],_t=-1,Be,Ke=-1/0,je;for(Me=0;MeKe+xe&&(_t+=1,Be=Se.x0),Ke=Se.x0,br[_t]||(br[_t]=[]),br[_t].push(Se),je=Be-Se.x0,Se.x0+=je,Se.x1+=je}return br}if(j.node.x.length&&j.node.y.length){for(Me=0;Me0?\" L \"+j.targetX+\" \"+j.targetY:\"\")+\"Z\"):(re=\"M \"+(j.targetX-X)+\" \"+(j.targetY-ae)+\" L \"+(j.rightInnerExtent-X)+\" \"+(j.targetY-ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightSmallArcRadius+ae)+\" 0 0 0 \"+(j.rightFullExtent-ae-X)+\" \"+(j.targetY+j.rightSmallArcRadius)+\" L \"+(j.rightFullExtent-ae-X)+\" \"+j.verticalRightInnerExtent,ee&&ie?re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightInnerExtent-ae-X)+\" \"+(j.verticalFullExtent+ae)+\" L \"+(j.rightFullExtent+ae-X-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent:ee?re+=\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent-X-ae-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.leftFullExtent+ae+(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent:re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightInnerExtent-X)+\" \"+(j.verticalFullExtent+ae)+\" L \"+j.leftInnerExtent+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.leftLargeArcRadius+ae)+\" \"+(j.leftLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent,re+=\" L \"+(j.leftFullExtent+ae)+\" \"+(j.sourceY+j.leftSmallArcRadius)+\" A \"+(j.leftLargeArcRadius+ae)+\" \"+(j.leftSmallArcRadius+ae)+\" 0 0 0 \"+j.leftInnerExtent+\" \"+(j.sourceY-ae)+\" L \"+j.sourceX+\" \"+(j.sourceY-ae)+\" L \"+j.sourceX+\" \"+(j.sourceY+ae)+\" L \"+j.leftInnerExtent+\" \"+(j.sourceY+ae)+\" A \"+(j.leftLargeArcRadius-ae)+\" \"+(j.leftSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent-ae)+\" \"+(j.sourceY+j.leftSmallArcRadius)+\" L \"+(j.leftFullExtent-ae)+\" \"+j.verticalLeftInnerExtent,ee&&ie?re+=\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent-ae-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.rightFullExtent+ae-X+(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent:ee?re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+(j.verticalFullExtent+ae)+\" L \"+(j.rightFullExtent-X-ae)+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent:re+=\" A \"+(j.leftLargeArcRadius-ae)+\" \"+(j.leftLargeArcRadius-ae)+\" 0 0 1 \"+j.leftInnerExtent+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.rightInnerExtent-X)+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightLargeArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent,re+=\" L \"+(j.rightFullExtent+ae-X)+\" \"+(j.targetY+j.rightSmallArcRadius)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightInnerExtent-X)+\" \"+(j.targetY+ae)+\" L \"+(j.targetX-X)+\" \"+(j.targetY+ae)+(X>0?\" L \"+j.targetX+\" \"+j.targetY:\"\")+\"Z\"),re}function u(){var J=.5;function X(re){var ae=re.linkArrowLength;if(re.link.circular)return v(re.link,ae);var j=Math.abs((re.link.target.x0-re.link.source.x1)/2);ae>j&&(ae=j);var ee=re.link.source.x1,ie=re.link.target.x0-ae,ce=x(ee,ie),xe=ce(J),Te=ce(1-J),Ue=re.link.y0-re.link.width/2,Ie=re.link.y0+re.link.width/2,Ye=re.link.y1-re.link.width/2,it=re.link.y1+re.link.width/2,at=\"M\"+ee+\",\"+Ue,tt=\"C\"+xe+\",\"+Ue+\" \"+Te+\",\"+Ye+\" \"+ie+\",\"+Ye,ut=\"C\"+Te+\",\"+it+\" \"+xe+\",\"+Ie+\" \"+ee+\",\"+Ie,Me=ae>0?\"L\"+(ie+ae)+\",\"+(Ye+re.link.width/2):\"\";return Me+=\"L\"+ie+\",\"+it,at+tt+Me+ut+\"Z\"}return X}function y(J,X){var re=r(X.color),ae=t.nodePadAcross,j=J.nodePad/2;X.dx=X.x1-X.x0,X.dy=X.y1-X.y0;var ee=X.dx,ie=Math.max(.5,X.dy),ce=\"node_\"+X.pointNumber;return X.group&&(ce=i.randstr()),X.trace=J.trace,X.curveNumber=J.trace.index,{index:X.pointNumber,key:ce,partOfGroup:X.partOfGroup||!1,group:X.group,traceId:J.key,trace:J.trace,node:X,nodePad:J.nodePad,nodeLineColor:J.nodeLineColor,nodeLineWidth:J.nodeLineWidth,textFont:J.textFont,size:J.horizontal?J.height:J.width,visibleWidth:Math.ceil(ee),visibleHeight:ie,zoneX:-ae,zoneY:-j,zoneWidth:ee+2*ae,zoneHeight:ie+2*j,labelY:J.horizontal?X.dy/2+1:X.dx/2+1,left:X.originalLayer===1,sizeAcross:J.width,forceLayouts:J.forceLayouts,horizontal:J.horizontal,darkBackground:re.getBrightness()<=128,tinyColorHue:o.tinyRGB(re),tinyColorAlpha:re.getAlpha(),valueFormat:J.valueFormat,valueSuffix:J.valueSuffix,sankey:J.sankey,graph:J.graph,arrangement:J.arrangement,uniqueNodeLabelPathId:[J.guid,J.key,ce].join(\"_\"),interactionState:J.interactionState,figure:J}}function f(J){J.attr(\"transform\",function(X){return a(X.node.x0.toFixed(3),X.node.y0.toFixed(3))})}function P(J){J.call(f)}function L(J,X){J.call(P),X.attr(\"d\",u())}function z(J){J.attr(\"width\",function(X){return X.node.x1-X.node.x0}).attr(\"height\",function(X){return X.visibleHeight})}function F(J){return J.link.width>1||J.linkLineWidth>0}function B(J){var X=a(J.translateX,J.translateY);return X+(J.horizontal?\"matrix(1 0 0 1 0 0)\":\"matrix(0 1 1 0 0 0)\")}function O(J,X,re){J.on(\".basic\",null).on(\"mouseover.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.hover(this,ae,X),ae.interactionState.hovered=[this,ae])}).on(\"mousemove.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.follow(this,ae),ae.interactionState.hovered=[this,ae])}).on(\"mouseout.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1)}).on(\"click.basic\",function(ae){ae.interactionState.hovered&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1),!ae.interactionState.dragInProgress&&!ae.partOfGroup&&re.select(this,ae,X)})}function I(J,X,re,ae){var j=A.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on(\"dragstart\",function(ee){if(ee.arrangement!==\"fixed\"&&(i.ensureSingle(ae._fullLayout._infolayer,\"g\",\"dragcover\",function(ce){ae._fullLayout._dragCover=ce}),i.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,se(ee.node),ee.interactionState.hovered&&(re.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement===\"snap\")){var ie=ee.traceId+\"|\"+ee.key;ee.forceLayouts[ie]?ee.forceLayouts[ie].alpha(1):N(J,ie,ee,ae),U(J,X,ee,ie,ae)}}).on(\"drag\",function(ee){if(ee.arrangement!==\"fixed\"){var ie=A.event.x,ce=A.event.y;ee.arrangement===\"snap\"?(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2,ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2):(ee.arrangement===\"freeform\"&&(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2),ce=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,ce)),ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2),se(ee.node),ee.arrangement!==\"snap\"&&(ee.sankey.update(ee.graph),L(J.filter(fe(ee)),X))}}).on(\"dragend\",function(ee){if(ee.arrangement!==\"fixed\"){ee.interactionState.dragInProgress=!1;for(var ie=0;ie0)window.requestAnimationFrame(ee);else{var xe=re.node.originalX;re.node.x0=xe-re.visibleWidth/2,re.node.x1=xe+re.visibleWidth/2,Q(re,j)}})}function W(J,X,re,ae){return function(){for(var ee=0,ie=0;ie0&&ae.forceLayouts[X].alpha(0)}}function Q(J,X){for(var re=[],ae=[],j=0;j\"),color:_(G,\"bgcolor\")||t.addOpacity(ae.color,1),borderColor:_(G,\"bordercolor\"),fontFamily:_(G,\"font.family\"),fontSize:_(G,\"font.size\"),fontColor:_(G,\"font.color\"),fontWeight:_(G,\"font.weight\"),fontStyle:_(G,\"font.style\"),fontVariant:_(G,\"font.variant\"),fontTextcase:_(G,\"font.textcase\"),fontLineposition:_(G,\"font.lineposition\"),fontShadow:_(G,\"font.shadow\"),nameLength:_(G,\"namelength\"),textAlign:_(G,\"align\"),idealAlign:g.event.x\"),color:_(G,\"bgcolor\")||fe.tinyColorHue,borderColor:_(G,\"bordercolor\"),fontFamily:_(G,\"font.family\"),fontSize:_(G,\"font.size\"),fontColor:_(G,\"font.color\"),fontWeight:_(G,\"font.weight\"),fontStyle:_(G,\"font.style\"),fontVariant:_(G,\"font.variant\"),fontTextcase:_(G,\"font.textcase\"),fontLineposition:_(G,\"font.lineposition\"),fontShadow:_(G,\"font.shadow\"),nameLength:_(G,\"namelength\"),textAlign:_(G,\"align\"),idealAlign:\"left\",hovertemplate:G.hovertemplate,hovertemplateLabels:ee,eventData:[fe.node]},{container:m._hoverlayer.node(),outerContainer:m._paper.node(),gd:M});a(xe,.85),s(xe)}}},le=function(se,fe,G){M._fullLayout.hovermode!==!1&&(g.select(se).call(d,fe,G),fe.node.trace.node.hoverinfo!==\"skip\"&&(fe.node.fullData=fe.node.trace,M.emit(\"plotly_unhover\",{event:g.event,points:[fe.node]})),e.loneUnhover(m._hoverlayer.node()))};S(M,b,E,{width:v.w,height:v.h,margin:{t:v.t,r:v.r,b:v.b,l:v.l}},{linkEvents:{hover:P,follow:I,unhover:N,select:f},nodeEvents:{hover:W,follow:Q,unhover:le,select:U}})}}}),Uz=ke({\"src/traces/sankey/base_plot.js\"(Z){\"use strict\";var H=ju().overrideAll,g=bh().getModuleCalcData,x=AM(),A=vl(),S=uv(),e=Xh(),t=tf().prepSelect,r=un(),o=lo(),n=\"sankey\";Z.name=n,Z.baseLayoutAttrOverrides=H({hoverlabel:A.hoverlabel},\"plot\",\"nested\"),Z.plot=function(a){var s=g(a.calcdata,n)[0];x(a,s),Z.updateFx(a)},Z.clean=function(a,s,c,h){var p=h._has&&h._has(n),d=s._has&&s._has(n);p&&!d&&(h._paperdiv.selectAll(\".sankey\").remove(),h._paperdiv.selectAll(\".bgsankey\").remove())},Z.updateFx=function(a){for(var s=0;s0}H.exports=function(F,B,O,I){var N=F._fullLayout,U;w(O)&&I&&(U=I()),S.makeTraceGroups(N._indicatorlayer,B,\"trace\").each(function(W){var Q=W[0],le=Q.trace,se=g.select(this),fe=le._hasGauge,G=le._isAngular,$=le._isBullet,J=le.domain,X={w:N._size.w*(J.x[1]-J.x[0]),h:N._size.h*(J.y[1]-J.y[0]),l:N._size.l+N._size.w*J.x[0],r:N._size.r+N._size.w*(1-J.x[1]),t:N._size.t+N._size.h*(1-J.y[1]),b:N._size.b+N._size.h*J.y[0]},re=X.l+X.w/2,ae=X.t+X.h/2,j=Math.min(X.w/2,X.h),ee=i.innerRadius*j,ie,ce,xe,Te=le.align||\"center\";if(ce=ae,!fe)ie=X.l+l[Te]*X.w,xe=function(ue){return y(ue,X.w,X.h)};else if(G&&(ie=re,ce=ae+j/2,xe=function(ue){return f(ue,.9*ee)}),$){var Ue=i.bulletPadding,Ie=1-i.bulletNumberDomainSize+Ue;ie=X.l+(Ie+(1-Ie)*l[Te])*X.w,xe=function(ue){return y(ue,(i.bulletNumberDomainSize-Ue)*X.w,X.h)}}m(F,se,W,{numbersX:ie,numbersY:ce,numbersScaler:xe,transitionOpts:O,onComplete:U});var Ye,it;fe&&(Ye={range:le.gauge.axis.range,color:le.gauge.bgcolor,line:{color:le.gauge.bordercolor,width:0},thickness:1},it={range:le.gauge.axis.range,color:\"rgba(0, 0, 0, 0)\",line:{color:le.gauge.bordercolor,width:le.gauge.borderwidth},thickness:1});var at=se.selectAll(\"g.angular\").data(G?W:[]);at.exit().remove();var tt=se.selectAll(\"g.angularaxis\").data(G?W:[]);tt.exit().remove(),G&&E(F,se,W,{radius:j,innerRadius:ee,gauge:at,layer:tt,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var ut=se.selectAll(\"g.bullet\").data($?W:[]);ut.exit().remove();var Me=se.selectAll(\"g.bulletaxis\").data($?W:[]);Me.exit().remove(),$&&M(F,se,W,{gauge:ut,layer:Me,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var pe=se.selectAll(\"text.title\").data(W);pe.exit().remove(),pe.enter().append(\"text\").classed(\"title\",!0),pe.attr(\"text-anchor\",function(){return $?T.right:T[le.title.align]}).text(le.title.text).call(n.font,le.title.font).call(a.convertToTspans,F),pe.attr(\"transform\",function(){var ue=X.l+X.w*l[le.title.align],Oe,rt=i.titlePadding,ot=n.bBox(pe.node());if(fe){if(G)if(le.gauge.axis.visible){var et=n.bBox(tt.node());Oe=et.top-rt-ot.bottom}else Oe=X.t+X.h/2-j/2-ot.bottom-rt;$&&(Oe=ce-(ot.top+ot.bottom)/2,ue=X.l-i.bulletPadding*X.w)}else Oe=le._numbersTop-rt-ot.bottom;return t(ue,Oe)})})};function M(z,F,B,O){var I=B[0].trace,N=O.gauge,U=O.layer,W=O.gaugeBg,Q=O.gaugeOutline,le=O.size,se=I.domain,fe=O.transitionOpts,G=O.onComplete,$,J,X,re,ae;N.enter().append(\"g\").classed(\"bullet\",!0),N.attr(\"transform\",t(le.l,le.t)),U.enter().append(\"g\").classed(\"bulletaxis\",!0).classed(\"crisp\",!0),U.selectAll(\"g.xbulletaxistick,path,text\").remove();var j=le.h,ee=I.gauge.bar.thickness*j,ie=se.x[0],ce=se.x[0]+(se.x[1]-se.x[0])*(I._hasNumber||I._hasDelta?1-i.bulletNumberDomainSize:1);$=u(z,I.gauge.axis),$._id=\"xbulletaxis\",$.domain=[ie,ce],$.setScale(),J=s.calcTicks($),X=s.makeTransTickFn($),re=s.getTickSigns($)[2],ae=le.t+le.h,$.visible&&(s.drawTicks(z,$,{vals:$.ticks===\"inside\"?s.clipEnds($,J):J,layer:U,path:s.makeTickPath($,ae,re),transFn:X}),s.drawLabels(z,$,{vals:J,layer:U,transFn:X,labelFns:s.makeLabelFns($,ae)}));function xe(tt){tt.attr(\"width\",function(ut){return Math.max(0,$.c2p(ut.range[1])-$.c2p(ut.range[0]))}).attr(\"x\",function(ut){return $.c2p(ut.range[0])}).attr(\"y\",function(ut){return .5*(1-ut.thickness)*j}).attr(\"height\",function(ut){return ut.thickness*j})}var Te=[W].concat(I.gauge.steps),Ue=N.selectAll(\"g.bg-bullet\").data(Te);Ue.enter().append(\"g\").classed(\"bg-bullet\",!0).append(\"rect\"),Ue.select(\"rect\").call(xe).call(b),Ue.exit().remove();var Ie=N.selectAll(\"g.value-bullet\").data([I.gauge.bar]);Ie.enter().append(\"g\").classed(\"value-bullet\",!0).append(\"rect\"),Ie.select(\"rect\").attr(\"height\",ee).attr(\"y\",(j-ee)/2).call(b),w(fe)?Ie.select(\"rect\").transition().duration(fe.duration).ease(fe.easing).each(\"end\",function(){G&&G()}).each(\"interrupt\",function(){G&&G()}).attr(\"width\",Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y)))):Ie.select(\"rect\").attr(\"width\",typeof B[0].y==\"number\"?Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y))):0),Ie.exit().remove();var Ye=B.filter(function(){return I.gauge.threshold.value||I.gauge.threshold.value===0}),it=N.selectAll(\"g.threshold-bullet\").data(Ye);it.enter().append(\"g\").classed(\"threshold-bullet\",!0).append(\"line\"),it.select(\"line\").attr(\"x1\",$.c2p(I.gauge.threshold.value)).attr(\"x2\",$.c2p(I.gauge.threshold.value)).attr(\"y1\",(1-I.gauge.threshold.thickness)/2*j).attr(\"y2\",(1-(1-I.gauge.threshold.thickness)/2)*j).call(d.stroke,I.gauge.threshold.line.color).style(\"stroke-width\",I.gauge.threshold.line.width),it.exit().remove();var at=N.selectAll(\"g.gauge-outline\").data([Q]);at.enter().append(\"g\").classed(\"gauge-outline\",!0).append(\"rect\"),at.select(\"rect\").call(xe).call(b),at.exit().remove()}function E(z,F,B,O){var I=B[0].trace,N=O.size,U=O.radius,W=O.innerRadius,Q=O.gaugeBg,le=O.gaugeOutline,se=[N.l+N.w/2,N.t+N.h/2+U/2],fe=O.gauge,G=O.layer,$=O.transitionOpts,J=O.onComplete,X=Math.PI/2;function re(Lt){var Et=I.gauge.axis.range[0],Bt=I.gauge.axis.range[1],qt=(Lt-Et)/(Bt-Et)*Math.PI-X;return qt<-X?-X:qt>X?X:qt}function ae(Lt){return g.svg.arc().innerRadius((W+U)/2-Lt/2*(U-W)).outerRadius((W+U)/2+Lt/2*(U-W)).startAngle(-X)}function j(Lt){Lt.attr(\"d\",function(Et){return ae(Et.thickness).startAngle(re(Et.range[0])).endAngle(re(Et.range[1]))()})}var ee,ie,ce,xe;fe.enter().append(\"g\").classed(\"angular\",!0),fe.attr(\"transform\",t(se[0],se[1])),G.enter().append(\"g\").classed(\"angularaxis\",!0).classed(\"crisp\",!0),G.selectAll(\"g.xangularaxistick,path,text\").remove(),ee=u(z,I.gauge.axis),ee.type=\"linear\",ee.range=I.gauge.axis.range,ee._id=\"xangularaxis\",ee.ticklabeloverflow=\"allow\",ee.setScale();var Te=function(Lt){return(ee.range[0]-Lt.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Ue={},Ie=s.makeLabelFns(ee,0),Ye=Ie.labelStandoff;Ue.xFn=function(Lt){var Et=Te(Lt);return Math.cos(Et)*Ye},Ue.yFn=function(Lt){var Et=Te(Lt),Bt=Math.sin(Et)>0?.2:1;return-Math.sin(Et)*(Ye+Lt.fontSize*Bt)+Math.abs(Math.cos(Et))*(Lt.fontSize*o)},Ue.anchorFn=function(Lt){var Et=Te(Lt),Bt=Math.cos(Et);return Math.abs(Bt)<.1?\"middle\":Bt>0?\"start\":\"end\"},Ue.heightFn=function(Lt,Et,Bt){var qt=Te(Lt);return-.5*(1+Math.sin(qt))*Bt};var it=function(Lt){return t(se[0]+U*Math.cos(Lt),se[1]-U*Math.sin(Lt))};ce=function(Lt){return it(Te(Lt))};var at=function(Lt){var Et=Te(Lt);return it(Et)+\"rotate(\"+-r(Et)+\")\"};if(ie=s.calcTicks(ee),xe=s.getTickSigns(ee)[2],ee.visible){xe=ee.ticks===\"inside\"?-1:1;var tt=(ee.linewidth||1)/2;s.drawTicks(z,ee,{vals:ie,layer:G,path:\"M\"+xe*tt+\",0h\"+xe*ee.ticklen,transFn:at}),s.drawLabels(z,ee,{vals:ie,layer:G,transFn:ce,labelFns:Ue})}var ut=[Q].concat(I.gauge.steps),Me=fe.selectAll(\"g.bg-arc\").data(ut);Me.enter().append(\"g\").classed(\"bg-arc\",!0).append(\"path\"),Me.select(\"path\").call(j).call(b),Me.exit().remove();var pe=ae(I.gauge.bar.thickness),ue=fe.selectAll(\"g.value-arc\").data([I.gauge.bar]);ue.enter().append(\"g\").classed(\"value-arc\",!0).append(\"path\");var Oe=ue.select(\"path\");w($)?(Oe.transition().duration($.duration).ease($.easing).each(\"end\",function(){J&&J()}).each(\"interrupt\",function(){J&&J()}).attrTween(\"d\",v(pe,re(B[0].lastY),re(B[0].y))),I._lastValue=B[0].y):Oe.attr(\"d\",typeof B[0].y==\"number\"?pe.endAngle(re(B[0].y)):\"M0,0Z\"),Oe.call(b),ue.exit().remove(),ut=[];var rt=I.gauge.threshold.value;(rt||rt===0)&&ut.push({range:[rt,rt],color:I.gauge.threshold.color,line:{color:I.gauge.threshold.line.color,width:I.gauge.threshold.line.width},thickness:I.gauge.threshold.thickness});var ot=fe.selectAll(\"g.threshold-arc\").data(ut);ot.enter().append(\"g\").classed(\"threshold-arc\",!0).append(\"path\"),ot.select(\"path\").call(j).call(b),ot.exit().remove();var et=fe.selectAll(\"g.gauge-outline\").data([le]);et.enter().append(\"g\").classed(\"gauge-outline\",!0).append(\"path\"),et.select(\"path\").call(j).call(b),et.exit().remove()}function m(z,F,B,O){var I=B[0].trace,N=O.numbersX,U=O.numbersY,W=I.align||\"center\",Q=T[W],le=O.transitionOpts,se=O.onComplete,fe=S.ensureSingle(F,\"g\",\"numbers\"),G,$,J,X=[];I._hasNumber&&X.push(\"number\"),I._hasDelta&&(X.push(\"delta\"),I.delta.position===\"left\"&&X.reverse());var re=fe.selectAll(\"text\").data(X);re.enter().append(\"text\"),re.attr(\"text-anchor\",function(){return Q}).attr(\"class\",function(it){return it}).attr(\"x\",null).attr(\"y\",null).attr(\"dx\",null).attr(\"dy\",null),re.exit().remove();function ae(it,at,tt,ut){if(it.match(\"s\")&&tt>=0!=ut>=0&&!at(tt).slice(-1).match(_)&&!at(ut).slice(-1).match(_)){var Me=it.slice().replace(\"s\",\"f\").replace(/\\d+/,function(ue){return parseInt(ue)-1}),pe=u(z,{tickformat:Me});return function(ue){return Math.abs(ue)<1?s.tickText(pe,ue).text:at(ue)}}else return at}function j(){var it=u(z,{tickformat:I.number.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ue){return s.tickText(it,ue).text},tt=I.number.suffix,ut=I.number.prefix,Me=fe.select(\"text.number\");function pe(){var ue=typeof B[0].y==\"number\"?ut+at(B[0].y)+tt:\"-\";Me.text(ue).call(n.font,I.number.font).call(a.convertToTspans,z)}return w(le)?Me.transition().duration(le.duration).ease(le.easing).each(\"end\",function(){pe(),se&&se()}).each(\"interrupt\",function(){pe(),se&&se()}).attrTween(\"text\",function(){var ue=g.select(this),Oe=A(B[0].lastY,B[0].y);I._lastValue=B[0].y;var rt=ae(I.number.valueformat,at,B[0].lastY,B[0].y);return function(ot){ue.text(ut+rt(Oe(ot))+tt)}}):pe(),G=P(ut+at(B[0].y)+tt,I.number.font,Q,z),Me}function ee(){var it=u(z,{tickformat:I.delta.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ot){return s.tickText(it,ot).text},tt=I.delta.suffix,ut=I.delta.prefix,Me=function(ot){var et=I.delta.relative?ot.relativeDelta:ot.delta;return et},pe=function(ot,et){return ot===0||typeof ot!=\"number\"||isNaN(ot)?\"-\":(ot>0?I.delta.increasing.symbol:I.delta.decreasing.symbol)+ut+et(ot)+tt},ue=function(ot){return ot.delta>=0?I.delta.increasing.color:I.delta.decreasing.color};I._deltaLastValue===void 0&&(I._deltaLastValue=Me(B[0]));var Oe=fe.select(\"text.delta\");Oe.call(n.font,I.delta.font).call(d.fill,ue({delta:I._deltaLastValue}));function rt(){Oe.text(pe(Me(B[0]),at)).call(d.fill,ue(B[0])).call(a.convertToTspans,z)}return w(le)?Oe.transition().duration(le.duration).ease(le.easing).tween(\"text\",function(){var ot=g.select(this),et=Me(B[0]),Lt=I._deltaLastValue,Et=ae(I.delta.valueformat,at,Lt,et),Bt=A(Lt,et);return I._deltaLastValue=et,function(qt){ot.text(pe(Bt(qt),Et)),ot.call(d.fill,ue({delta:Bt(qt)}))}}).each(\"end\",function(){rt(),se&&se()}).each(\"interrupt\",function(){rt(),se&&se()}):rt(),$=P(pe(Me(B[0]),at),I.delta.font,Q,z),Oe}var ie=I.mode+I.align,ce;if(I._hasDelta&&(ce=ee(),ie+=I.delta.position+I.delta.font.size+I.delta.font.family+I.delta.valueformat,ie+=I.delta.increasing.symbol+I.delta.decreasing.symbol,J=$),I._hasNumber&&(j(),ie+=I.number.font.size+I.number.font.family+I.number.valueformat+I.number.suffix+I.number.prefix,J=G),I._hasDelta&&I._hasNumber){var xe=[(G.left+G.right)/2,(G.top+G.bottom)/2],Te=[($.left+$.right)/2,($.top+$.bottom)/2],Ue,Ie,Ye=.75*I.delta.font.size;I.delta.position===\"left\"&&(Ue=L(I,\"deltaPos\",0,-1*(G.width*l[I.align]+$.width*(1-l[I.align])+Ye),ie,Math.min),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:$.left+Ue,right:G.right,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position===\"right\"&&(Ue=L(I,\"deltaPos\",0,G.width*(1-l[I.align])+$.width*l[I.align]+Ye,ie,Math.max),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:G.left,right:$.right+Ue,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position===\"bottom\"&&(Ue=null,Ie=$.height,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height,bottom:G.bottom+$.height}),I.delta.position===\"top\"&&(Ue=null,Ie=G.top,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height-$.height,bottom:G.bottom}),ce.attr({dx:Ue,dy:Ie})}(I._hasNumber||I._hasDelta)&&fe.attr(\"transform\",function(){var it=O.numbersScaler(J);ie+=it[2];var at=L(I,\"numbersScale\",1,it[0],ie,Math.min),tt;I._scaleNumbers||(at=1),I._isAngular?tt=U-at*J.bottom:tt=U-at*(J.top+J.bottom)/2,I._numbersTop=at*J.top+tt;var ut=J[W];W===\"center\"&&(ut=(J.left+J.right)/2);var Me=N-at*ut;return Me=L(I,\"numbersTranslate\",0,Me,ie,Math.max),t(Me,tt)+e(at)})}function b(z){z.each(function(F){d.stroke(g.select(this),F.line.color)}).each(function(F){d.fill(g.select(this),F.color)}).style(\"stroke-width\",function(F){return F.line.width})}function v(z,F,B){return function(){var O=x(F,B);return function(I){return z.endAngle(O(I))()}}}function u(z,F,B){var O=z._fullLayout,I=S.extendFlat({type:\"linear\",ticks:\"outside\",range:B,showline:!0},F),N={type:\"linear\",_id:\"x\"+F._id},U={letter:\"x\",font:O.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function W(Q,le){return S.coerce(I,N,p,Q,le)}return c(I,N,W,U,O),h(I,N,W,U),N}function y(z,F,B){var O=Math.min(F/z.width,B/z.height);return[O,z,F+\"x\"+B]}function f(z,F){var B=Math.sqrt(z.width/2*(z.width/2)+z.height*z.height),O=F/B;return[O,z,F]}function P(z,F,B,O){var I=document.createElementNS(\"http://www.w3.org/2000/svg\",\"text\"),N=g.select(I);return N.text(z).attr(\"x\",0).attr(\"y\",0).attr(\"text-anchor\",B).attr(\"data-unformatted\",z).call(a.convertToTspans,O).call(n.font,F),n.bBox(N.node())}function L(z,F,B,O,I,N){var U=\"_cache\"+F;z[U]&&z[U].key===I||(z[U]={key:I,value:B});var W=S.aggNums(N,null,[z[U].value,O],2);return z[U].value=W,W}}}),Zz=ke({\"src/traces/indicator/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"indicator\",basePlotModule:Hz(),categories:[\"svg\",\"noOpacity\",\"noHover\"],animatable:!0,attributes:MM(),supplyDefaults:Gz().supplyDefaults,calc:Wz().calc,plot:Xz(),meta:{}}}}),Yz=ke({\"lib/indicator.js\"(Z,H){\"use strict\";H.exports=Zz()}}),EM=ke({\"src/traces/table/attributes.js\"(Z,H){\"use strict\";var g=Dm(),x=To().extendFlat,A=ju().overrideAll,S=Il(),e=Yu().attributes,t=Sc().descriptionOnlyNumbers,r=H.exports=A({domain:e({name:\"table\",trace:!0}),columnwidth:{valType:\"number\",arrayOk:!0,dflt:null},columnorder:{valType:\"data_array\"},header:{values:{valType:\"data_array\",dflt:[]},format:{valType:\"data_array\",dflt:[],description:t(\"cell value\")},prefix:{valType:\"string\",arrayOk:!0,dflt:null},suffix:{valType:\"string\",arrayOk:!0,dflt:null},height:{valType:\"number\",dflt:28},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:\"number\",arrayOk:!0,dflt:1},color:{valType:\"color\",arrayOk:!0,dflt:\"grey\"}},fill:{color:{valType:\"color\",arrayOk:!0,dflt:\"white\"}},font:x({},S({arrayOk:!0}))},cells:{values:{valType:\"data_array\",dflt:[]},format:{valType:\"data_array\",dflt:[],description:t(\"cell value\")},prefix:{valType:\"string\",arrayOk:!0,dflt:null},suffix:{valType:\"string\",arrayOk:!0,dflt:null},height:{valType:\"number\",dflt:20},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:\"number\",arrayOk:!0,dflt:1},color:{valType:\"color\",arrayOk:!0,dflt:\"grey\"}},fill:{color:{valType:\"color\",arrayOk:!0,dflt:\"white\"}},font:x({},S({arrayOk:!0}))}},\"calc\",\"from-root\")}}),Kz=ke({\"src/traces/table/defaults.js\"(Z,H){\"use strict\";var g=un(),x=EM(),A=Yu().defaults;function S(e,t){for(var r=e.columnorder||[],o=e.header.values.length,n=r.slice(0,o),i=n.slice().sort(function(c,h){return c-h}),a=n.map(function(c){return i.indexOf(c)}),s=a.length;s\",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:\"cubic-out\",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:\"cubic-out\",uplift:5,wrapSpacer:\" \",wrapSplitCharacter:\" \",cn:{table:\"table\",tableControlView:\"table-control-view\",scrollBackground:\"scroll-background\",yColumn:\"y-column\",columnBlock:\"column-block\",scrollAreaClip:\"scroll-area-clip\",scrollAreaClipRect:\"scroll-area-clip-rect\",columnBoundary:\"column-boundary\",columnBoundaryClippath:\"column-boundary-clippath\",columnBoundaryRect:\"column-boundary-rect\",columnCells:\"column-cells\",columnCell:\"column-cell\",cellRect:\"cell-rect\",cellText:\"cell-text\",cellTextHolder:\"cell-text-holder\",scrollbarKit:\"scrollbar-kit\",scrollbar:\"scrollbar\",scrollbarSlider:\"scrollbar-slider\",scrollbarGlyph:\"scrollbar-glyph\",scrollbarCaptureZone:\"scrollbar-capture-zone\"}}}}),$z=ke({\"src/traces/table/data_preparation_helper.js\"(Z,H){\"use strict\";var g=CM(),x=To().extendFlat,A=Yn(),S=Oa().isTypedArray,e=Oa().isArrayOrTypedArray;H.exports=function(p,d){var T=o(d.cells.values),l=function(Q){return Q.slice(d.header.values.length,Q.length)},_=o(d.header.values);_.length&&!_[0].length&&(_[0]=[\"\"],_=o(_));var w=_.concat(l(T).map(function(){return n((_[0]||[\"\"]).length)})),M=d.domain,E=Math.floor(p._fullLayout._size.w*(M.x[1]-M.x[0])),m=Math.floor(p._fullLayout._size.h*(M.y[1]-M.y[0])),b=d.header.values.length?w[0].map(function(){return d.header.height}):[g.emptyHeaderHeight],v=T.length?T[0].map(function(){return d.cells.height}):[],u=b.reduce(r,0),y=m-u,f=y+g.uplift,P=s(v,f),L=s(b,u),z=a(L,[]),F=a(P,z),B={},O=d._fullInput.columnorder;e(O)&&(O=Array.from(O)),O=O.concat(l(T.map(function(Q,le){return le})));var I=w.map(function(Q,le){var se=e(d.columnwidth)?d.columnwidth[Math.min(le,d.columnwidth.length-1)]:d.columnwidth;return A(se)?Number(se):1}),N=I.reduce(r,0);I=I.map(function(Q){return Q/N*E});var U=Math.max(t(d.header.line.width),t(d.cells.line.width)),W={key:d.uid+p._context.staticPlot,translateX:M.x[0]*p._fullLayout._size.w,translateY:p._fullLayout._size.h*(1-M.y[1]),size:p._fullLayout._size,width:E,maxLineWidth:U,height:m,columnOrder:O,groupHeight:m,rowBlocks:F,headerRowBlocks:z,scrollY:0,cells:x({},d.cells,{values:T}),headerCells:x({},d.header,{values:w}),gdColumns:w.map(function(Q){return Q[0]}),gdColumnsOriginalOrder:w.map(function(Q){return Q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:w.map(function(Q,le){var se=B[Q];B[Q]=(se||0)+1;var fe=Q+\"__\"+B[Q];return{key:fe,label:Q,specIndex:le,xIndex:O[le],xScale:i,x:void 0,calcdata:void 0,columnWidth:I[le]}})};return W.columns.forEach(function(Q){Q.calcdata=W,Q.x=i(Q)}),W};function t(h){if(e(h)){for(var p=0,d=0;d=p||m===h.length-1)&&(d[l]=w,w.key=E++,w.firstRowIndex=M,w.lastRowIndex=m,w=c(),l+=_,M=m+1,_=0);return d}function c(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}}}),Qz=ke({\"src/traces/table/data_split_helpers.js\"(Z){\"use strict\";var H=To().extendFlat;Z.splitToPanels=function(x){var A=[0,0],S=H({},x,{key:\"header\",type:\"header\",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!0,values:x.calcdata.headerCells.values[x.specIndex],rowBlocks:x.calcdata.headerRowBlocks,calcdata:H({},x.calcdata,{cells:x.calcdata.headerCells})}),e=H({},x,{key:\"cells1\",type:\"cells\",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks}),t=H({},x,{key:\"cells2\",type:\"cells\",page:1,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks});return[e,t,S]},Z.splitToCells=function(x){var A=g(x);return(x.values||[]).slice(A[0],A[1]).map(function(S,e){var t=typeof S==\"string\"&&S.match(/[<$&> ]/)?\"_keybuster_\"+Math.random():\"\";return{keyWithinBlock:e+t,key:A[0]+e,column:x,calcdata:x.calcdata,page:x.page,rowBlocks:x.rowBlocks,value:S}})};function g(x){var A=x.rowBlocks[x.page],S=A?A.rows[0].rowIndex:0,e=A?S+A.rows.length:0;return[S,e]}}}),kM=ke({\"src/traces/table/plot.js\"(Z,H){\"use strict\";var g=CM(),x=_i(),A=un(),S=A.numberFormat,e=Dv(),t=$o(),r=Wl(),o=un().raiseToTop,n=un().strTranslate,i=un().cancelTransition,a=$z(),s=Qz(),c=eo();H.exports=function(ie,ce){var xe=!ie._context.staticPlot,Te=ie._fullLayout._paper.selectAll(\".\"+g.cn.table).data(ce.map(function(et){var Lt=e.unwrap(et),Et=Lt.trace;return a(ie,Et)}),e.keyFun);Te.exit().remove(),Te.enter().append(\"g\").classed(g.cn.table,!0).attr(\"overflow\",\"visible\").style(\"box-sizing\",\"content-box\").style(\"position\",\"absolute\").style(\"left\",0).style(\"overflow\",\"visible\").style(\"shape-rendering\",\"crispEdges\").style(\"pointer-events\",\"all\"),Te.attr(\"width\",function(et){return et.width+et.size.l+et.size.r}).attr(\"height\",function(et){return et.height+et.size.t+et.size.b}).attr(\"transform\",function(et){return n(et.translateX,et.translateY)});var Ue=Te.selectAll(\".\"+g.cn.tableControlView).data(e.repeat,e.keyFun),Ie=Ue.enter().append(\"g\").classed(g.cn.tableControlView,!0).style(\"box-sizing\",\"content-box\");if(xe){var Ye=\"onwheel\"in document?\"wheel\":\"mousewheel\";Ie.on(\"mousemove\",function(et){Ue.filter(function(Lt){return et===Lt}).call(l,ie)}).on(Ye,function(et){if(!et.scrollbarState.wheeling){et.scrollbarState.wheeling=!0;var Lt=et.scrollY+x.event.deltaY,Et=Q(ie,Ue,null,Lt)(et);Et||(x.event.stopPropagation(),x.event.preventDefault()),et.scrollbarState.wheeling=!1}}).call(l,ie,!0)}Ue.attr(\"transform\",function(et){return n(et.size.l,et.size.t)});var it=Ue.selectAll(\".\"+g.cn.scrollBackground).data(e.repeat,e.keyFun);it.enter().append(\"rect\").classed(g.cn.scrollBackground,!0).attr(\"fill\",\"none\"),it.attr(\"width\",function(et){return et.width}).attr(\"height\",function(et){return et.height}),Ue.each(function(et){t.setClipUrl(x.select(this),p(ie,et),ie)});var at=Ue.selectAll(\".\"+g.cn.yColumn).data(function(et){return et.columns},e.keyFun);at.enter().append(\"g\").classed(g.cn.yColumn,!0),at.exit().remove(),at.attr(\"transform\",function(et){return n(et.x,0)}),xe&&at.call(x.behavior.drag().origin(function(et){var Lt=x.select(this);return B(Lt,et,-g.uplift),o(this),et.calcdata.columnDragInProgress=!0,l(Ue.filter(function(Et){return et.calcdata.key===Et.key}),ie),et}).on(\"drag\",function(et){var Lt=x.select(this),Et=function(fr){return(et===fr?x.event.x:fr.x)+fr.columnWidth/2};et.x=Math.max(-g.overdrag,Math.min(et.calcdata.width+g.overdrag-et.columnWidth,x.event.x));var Bt=T(at).filter(function(fr){return fr.calcdata.key===et.calcdata.key}),qt=Bt.sort(function(fr,ar){return Et(fr)-Et(ar)});qt.forEach(function(fr,ar){fr.xIndex=ar,fr.x=et===fr?fr.x:fr.xScale(fr)}),at.filter(function(fr){return et!==fr}).transition().ease(g.transitionEase).duration(g.transitionDuration).attr(\"transform\",function(fr){return n(fr.x,0)}),Lt.call(i).attr(\"transform\",n(et.x,-g.uplift))}).on(\"dragend\",function(et){var Lt=x.select(this),Et=et.calcdata;et.x=et.xScale(et),et.calcdata.columnDragInProgress=!1,B(Lt,et,0),z(ie,Et,Et.columns.map(function(Bt){return Bt.xIndex}))})),at.each(function(et){t.setClipUrl(x.select(this),d(ie,et),ie)});var tt=at.selectAll(\".\"+g.cn.columnBlock).data(s.splitToPanels,e.keyFun);tt.enter().append(\"g\").classed(g.cn.columnBlock,!0).attr(\"id\",function(et){return et.key}),tt.style(\"cursor\",function(et){return et.dragHandle?\"ew-resize\":et.calcdata.scrollbarState.barWiggleRoom?\"ns-resize\":\"default\"});var ut=tt.filter(I),Me=tt.filter(O);xe&&Me.call(x.behavior.drag().origin(function(et){return x.event.stopPropagation(),et}).on(\"drag\",Q(ie,Ue,-1)).on(\"dragend\",function(){})),_(ie,Ue,ut,tt),_(ie,Ue,Me,tt);var pe=Ue.selectAll(\".\"+g.cn.scrollAreaClip).data(e.repeat,e.keyFun);pe.enter().append(\"clipPath\").classed(g.cn.scrollAreaClip,!0).attr(\"id\",function(et){return p(ie,et)});var ue=pe.selectAll(\".\"+g.cn.scrollAreaClipRect).data(e.repeat,e.keyFun);ue.enter().append(\"rect\").classed(g.cn.scrollAreaClipRect,!0).attr(\"x\",-g.overdrag).attr(\"y\",-g.uplift).attr(\"fill\",\"none\"),ue.attr(\"width\",function(et){return et.width+2*g.overdrag}).attr(\"height\",function(et){return et.height+g.uplift});var Oe=at.selectAll(\".\"+g.cn.columnBoundary).data(e.repeat,e.keyFun);Oe.enter().append(\"g\").classed(g.cn.columnBoundary,!0);var rt=at.selectAll(\".\"+g.cn.columnBoundaryClippath).data(e.repeat,e.keyFun);rt.enter().append(\"clipPath\").classed(g.cn.columnBoundaryClippath,!0),rt.attr(\"id\",function(et){return d(ie,et)});var ot=rt.selectAll(\".\"+g.cn.columnBoundaryRect).data(e.repeat,e.keyFun);ot.enter().append(\"rect\").classed(g.cn.columnBoundaryRect,!0).attr(\"fill\",\"none\"),ot.attr(\"width\",function(et){return et.columnWidth+2*h(et)}).attr(\"height\",function(et){return et.calcdata.height+2*h(et)+g.uplift}).attr(\"x\",function(et){return-h(et)}).attr(\"y\",function(et){return-h(et)}),W(null,Me,Ue)};function h(ee){return Math.ceil(ee.calcdata.maxLineWidth/2)}function p(ee,ie){return\"clip\"+ee._fullLayout._uid+\"_scrollAreaBottomClip_\"+ie.key}function d(ee,ie){return\"clip\"+ee._fullLayout._uid+\"_columnBoundaryClippath_\"+ie.calcdata.key+\"_\"+ie.specIndex}function T(ee){return[].concat.apply([],ee.map(function(ie){return ie})).map(function(ie){return ie.__data__})}function l(ee,ie,ce){function xe(at){var tt=at.rowBlocks;return J(tt,tt.length-1)+(tt.length?X(tt[tt.length-1],1/0):1)}var Te=ee.selectAll(\".\"+g.cn.scrollbarKit).data(e.repeat,e.keyFun);Te.enter().append(\"g\").classed(g.cn.scrollbarKit,!0).style(\"shape-rendering\",\"geometricPrecision\"),Te.each(function(at){var tt=at.scrollbarState;tt.totalHeight=xe(at),tt.scrollableAreaHeight=at.groupHeight-N(at),tt.currentlyVisibleHeight=Math.min(tt.totalHeight,tt.scrollableAreaHeight),tt.ratio=tt.currentlyVisibleHeight/tt.totalHeight,tt.barLength=Math.max(tt.ratio*tt.currentlyVisibleHeight,g.goldenRatio*g.scrollbarWidth),tt.barWiggleRoom=tt.currentlyVisibleHeight-tt.barLength,tt.wiggleRoom=Math.max(0,tt.totalHeight-tt.scrollableAreaHeight),tt.topY=tt.barWiggleRoom===0?0:at.scrollY/tt.wiggleRoom*tt.barWiggleRoom,tt.bottomY=tt.topY+tt.barLength,tt.dragMultiplier=tt.wiggleRoom/tt.barWiggleRoom}).attr(\"transform\",function(at){var tt=at.width+g.scrollbarWidth/2+g.scrollbarOffset;return n(tt,N(at))});var Ue=Te.selectAll(\".\"+g.cn.scrollbar).data(e.repeat,e.keyFun);Ue.enter().append(\"g\").classed(g.cn.scrollbar,!0);var Ie=Ue.selectAll(\".\"+g.cn.scrollbarSlider).data(e.repeat,e.keyFun);Ie.enter().append(\"g\").classed(g.cn.scrollbarSlider,!0),Ie.attr(\"transform\",function(at){return n(0,at.scrollbarState.topY||0)});var Ye=Ie.selectAll(\".\"+g.cn.scrollbarGlyph).data(e.repeat,e.keyFun);Ye.enter().append(\"line\").classed(g.cn.scrollbarGlyph,!0).attr(\"stroke\",\"black\").attr(\"stroke-width\",g.scrollbarWidth).attr(\"stroke-linecap\",\"round\").attr(\"y1\",g.scrollbarWidth/2),Ye.attr(\"y2\",function(at){return at.scrollbarState.barLength-g.scrollbarWidth/2}).attr(\"stroke-opacity\",function(at){return at.columnDragInProgress||!at.scrollbarState.barWiggleRoom||ce?0:.4}),Ye.transition().delay(0).duration(0),Ye.transition().delay(g.scrollbarHideDelay).duration(g.scrollbarHideDuration).attr(\"stroke-opacity\",0);var it=Ue.selectAll(\".\"+g.cn.scrollbarCaptureZone).data(e.repeat,e.keyFun);it.enter().append(\"line\").classed(g.cn.scrollbarCaptureZone,!0).attr(\"stroke\",\"white\").attr(\"stroke-opacity\",.01).attr(\"stroke-width\",g.scrollbarCaptureWidth).attr(\"stroke-linecap\",\"butt\").attr(\"y1\",0).on(\"mousedown\",function(at){var tt=x.event.y,ut=this.getBoundingClientRect(),Me=at.scrollbarState,pe=tt-ut.top,ue=x.scale.linear().domain([0,Me.scrollableAreaHeight]).range([0,Me.totalHeight]).clamp(!0);Me.topY<=pe&&pe<=Me.bottomY||Q(ie,ee,null,ue(pe-Me.barLength/2))(at)}).call(x.behavior.drag().origin(function(at){return x.event.stopPropagation(),at.scrollbarState.scrollbarScrollInProgress=!0,at}).on(\"drag\",Q(ie,ee)).on(\"dragend\",function(){})),it.attr(\"y2\",function(at){return at.scrollbarState.scrollableAreaHeight}),ie._context.staticPlot&&(Ye.remove(),it.remove())}function _(ee,ie,ce,xe){var Te=w(ce),Ue=M(Te);v(Ue);var Ie=E(Ue);y(Ie);var Ye=b(Ue),it=m(Ye);u(it),f(it,ie,xe,ee),$(Ue)}function w(ee){var ie=ee.selectAll(\".\"+g.cn.columnCells).data(e.repeat,e.keyFun);return ie.enter().append(\"g\").classed(g.cn.columnCells,!0),ie.exit().remove(),ie}function M(ee){var ie=ee.selectAll(\".\"+g.cn.columnCell).data(s.splitToCells,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"g\").classed(g.cn.columnCell,!0),ie.exit().remove(),ie}function E(ee){var ie=ee.selectAll(\".\"+g.cn.cellRect).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"rect\").classed(g.cn.cellRect,!0),ie}function m(ee){var ie=ee.selectAll(\".\"+g.cn.cellText).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"text\").classed(g.cn.cellText,!0).style(\"cursor\",function(){return\"auto\"}).on(\"mousedown\",function(){x.event.stopPropagation()}),ie}function b(ee){var ie=ee.selectAll(\".\"+g.cn.cellTextHolder).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"g\").classed(g.cn.cellTextHolder,!0).style(\"shape-rendering\",\"geometricPrecision\"),ie}function v(ee){ee.each(function(ie,ce){var xe=ie.calcdata.cells.font,Te=ie.column.specIndex,Ue={size:F(xe.size,Te,ce),color:F(xe.color,Te,ce),family:F(xe.family,Te,ce),weight:F(xe.weight,Te,ce),style:F(xe.style,Te,ce),variant:F(xe.variant,Te,ce),textcase:F(xe.textcase,Te,ce),lineposition:F(xe.lineposition,Te,ce),shadow:F(xe.shadow,Te,ce)};ie.rowNumber=ie.key,ie.align=F(ie.calcdata.cells.align,Te,ce),ie.cellBorderWidth=F(ie.calcdata.cells.line.width,Te,ce),ie.font=Ue})}function u(ee){ee.each(function(ie){t.font(x.select(this),ie.font)})}function y(ee){ee.attr(\"width\",function(ie){return ie.column.columnWidth}).attr(\"stroke-width\",function(ie){return ie.cellBorderWidth}).each(function(ie){var ce=x.select(this);c.stroke(ce,F(ie.calcdata.cells.line.color,ie.column.specIndex,ie.rowNumber)),c.fill(ce,F(ie.calcdata.cells.fill.color,ie.column.specIndex,ie.rowNumber))})}function f(ee,ie,ce,xe){ee.text(function(Te){var Ue=Te.column.specIndex,Ie=Te.rowNumber,Ye=Te.value,it=typeof Ye==\"string\",at=it&&Ye.match(/
/i),tt=!it||at;Te.mayHaveMarkup=it&&Ye.match(/[<&>]/);var ut=P(Ye);Te.latex=ut;var Me=ut?\"\":F(Te.calcdata.cells.prefix,Ue,Ie)||\"\",pe=ut?\"\":F(Te.calcdata.cells.suffix,Ue,Ie)||\"\",ue=ut?null:F(Te.calcdata.cells.format,Ue,Ie)||null,Oe=Me+(ue?S(ue)(Te.value):Te.value)+pe,rt;Te.wrappingNeeded=!Te.wrapped&&!tt&&!ut&&(rt=L(Oe)),Te.cellHeightMayIncrease=at||ut||Te.mayHaveMarkup||(rt===void 0?L(Oe):rt),Te.needsConvertToTspans=Te.mayHaveMarkup||Te.wrappingNeeded||Te.latex;var ot;if(Te.wrappingNeeded){var et=g.wrapSplitCharacter===\" \"?Oe.replace(/Te&&xe.push(Ue),Te+=it}return xe}function W(ee,ie,ce){var xe=T(ie)[0];if(xe!==void 0){var Te=xe.rowBlocks,Ue=xe.calcdata,Ie=J(Te,Te.length),Ye=xe.calcdata.groupHeight-N(xe),it=Ue.scrollY=Math.max(0,Math.min(Ie-Ye,Ue.scrollY)),at=U(Te,it,Ye);at.length===1&&(at[0]===Te.length-1?at.unshift(at[0]-1):at.push(at[0]+1)),at[0]%2&&at.reverse(),ie.each(function(tt,ut){tt.page=at[ut],tt.scrollY=it}),ie.attr(\"transform\",function(tt){var ut=J(tt.rowBlocks,tt.page)-tt.scrollY;return n(0,ut)}),ee&&(le(ee,ce,ie,at,xe.prevPages,xe,0),le(ee,ce,ie,at,xe.prevPages,xe,1),l(ce,ee))}}function Q(ee,ie,ce,xe){return function(Ue){var Ie=Ue.calcdata?Ue.calcdata:Ue,Ye=ie.filter(function(ut){return Ie.key===ut.key}),it=ce||Ie.scrollbarState.dragMultiplier,at=Ie.scrollY;Ie.scrollY=xe===void 0?Ie.scrollY+it*x.event.dy:xe;var tt=Ye.selectAll(\".\"+g.cn.yColumn).selectAll(\".\"+g.cn.columnBlock).filter(O);return W(ee,tt,Ye),Ie.scrollY===at}}function le(ee,ie,ce,xe,Te,Ue,Ie){var Ye=xe[Ie]!==Te[Ie];Ye&&(clearTimeout(Ue.currentRepaint[Ie]),Ue.currentRepaint[Ie]=setTimeout(function(){var it=ce.filter(function(at,tt){return tt===Ie&&xe[tt]!==Te[tt]});_(ee,ie,it,ce),Te[Ie]=xe[Ie]}))}function se(ee,ie,ce,xe){return function(){var Ue=x.select(ie.parentNode);Ue.each(function(Ie){var Ye=Ie.fragments;Ue.selectAll(\"tspan.line\").each(function(Oe,rt){Ye[rt].width=this.getComputedTextLength()});var it=Ye[Ye.length-1].width,at=Ye.slice(0,-1),tt=[],ut,Me,pe=0,ue=Ie.column.columnWidth-2*g.cellPad;for(Ie.value=\"\";at.length;)ut=at.shift(),Me=ut.width+it,pe+Me>ue&&(Ie.value+=tt.join(g.wrapSpacer)+g.lineBreaker,tt=[],pe=0),tt.push(ut.text),pe+=Me;pe&&(Ie.value+=tt.join(g.wrapSpacer)),Ie.wrapped=!0}),Ue.selectAll(\"tspan.line\").remove(),f(Ue.select(\".\"+g.cn.cellText),ce,ee,xe),x.select(ie.parentNode.parentNode).call($)}}function fe(ee,ie,ce,xe,Te){return function(){if(!Te.settledY){var Ie=x.select(ie.parentNode),Ye=ae(Te),it=Te.key-Ye.firstRowIndex,at=Ye.rows[it].rowHeight,tt=Te.cellHeightMayIncrease?ie.parentNode.getBoundingClientRect().height+2*g.cellPad:at,ut=Math.max(tt,at),Me=ut-Ye.rows[it].rowHeight;Me&&(Ye.rows[it].rowHeight=ut,ee.selectAll(\".\"+g.cn.columnCell).call($),W(null,ee.filter(O),0),l(ce,xe,!0)),Ie.attr(\"transform\",function(){var pe=this,ue=pe.parentNode,Oe=ue.getBoundingClientRect(),rt=x.select(pe.parentNode).select(\".\"+g.cn.cellRect).node().getBoundingClientRect(),ot=pe.transform.baseVal.consolidate(),et=rt.top-Oe.top+(ot?ot.matrix.f:g.cellPad);return n(G(Te,x.select(pe.parentNode).select(\".\"+g.cn.cellTextHolder).node().getBoundingClientRect().width),et)}),Te.settledY=!0}}}function G(ee,ie){switch(ee.align){case\"left\":return g.cellPad;case\"right\":return ee.column.columnWidth-(ie||0)-g.cellPad;case\"center\":return(ee.column.columnWidth-(ie||0))/2;default:return g.cellPad}}function $(ee){ee.attr(\"transform\",function(ie){var ce=ie.rowBlocks[0].auxiliaryBlocks.reduce(function(Ie,Ye){return Ie+X(Ye,1/0)},0),xe=ae(ie),Te=X(xe,ie.key),Ue=Te+ce;return n(0,Ue)}).selectAll(\".\"+g.cn.cellRect).attr(\"height\",function(ie){return j(ae(ie),ie.key).rowHeight})}function J(ee,ie){for(var ce=0,xe=ie-1;xe>=0;xe--)ce+=re(ee[xe]);return ce}function X(ee,ie){for(var ce=0,xe=0;xeS.length&&(A=A.slice(0,S.length)):A=[],t=0;t90&&(p-=180,i=-i),{angle:p,flip:i,p:x.c2p(e,A,S),offsetMultplier:a}}}}),u8=ke({\"src/traces/carpet/plot.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=LM(),S=PM(),e=l8(),t=Wl(),r=un(),o=r.strRotate,n=r.strTranslate,i=Yf();H.exports=function(_,w,M,E){var m=_._context.staticPlot,b=w.xaxis,v=w.yaxis,u=_._fullLayout,y=u._clips;r.makeTraceGroups(E,M,\"trace\").each(function(f){var P=g.select(this),L=f[0],z=L.trace,F=z.aaxis,B=z.baxis,O=r.ensureSingle(P,\"g\",\"minorlayer\"),I=r.ensureSingle(P,\"g\",\"majorlayer\"),N=r.ensureSingle(P,\"g\",\"boundarylayer\"),U=r.ensureSingle(P,\"g\",\"labellayer\");P.style(\"opacity\",z.opacity),s(b,v,I,F,\"a\",F._gridlines,!0,m),s(b,v,I,B,\"b\",B._gridlines,!0,m),s(b,v,O,F,\"a\",F._minorgridlines,!0,m),s(b,v,O,B,\"b\",B._minorgridlines,!0,m),s(b,v,N,F,\"a-boundary\",F._boundarylines,m),s(b,v,N,B,\"b-boundary\",B._boundarylines,m);var W=c(_,b,v,z,L,U,F._labels,\"a-label\"),Q=c(_,b,v,z,L,U,B._labels,\"b-label\");h(_,U,z,L,b,v,W,Q),a(z,L,y,b,v)})};function a(l,_,w,M,E){var m,b,v,u,y=w.select(\"#\"+l._clipPathId);y.size()||(y=w.append(\"clipPath\").classed(\"carpetclip\",!0));var f=r.ensureSingle(y,\"path\",\"carpetboundary\"),P=_.clipsegments,L=[];for(u=0;u0?\"start\":\"end\",\"data-notex\":1}).call(x.font,P.font).text(P.text).call(t.convertToTspans,l),I=x.bBox(this);O.attr(\"transform\",n(z.p[0],z.p[1])+o(z.angle)+n(P.axis.labelpadding*B,I.height*.3)),y=Math.max(y,I.width+P.axis.labelpadding)}),u.exit().remove(),f.maxExtent=y,f}function h(l,_,w,M,E,m,b,v){var u,y,f,P,L=r.aggNums(Math.min,null,w.a),z=r.aggNums(Math.max,null,w.a),F=r.aggNums(Math.min,null,w.b),B=r.aggNums(Math.max,null,w.b);u=.5*(L+z),y=F,f=w.ab2xy(u,y,!0),P=w.dxyda_rough(u,y),b.angle===void 0&&r.extendFlat(b,e(w,E,m,f,w.dxydb_rough(u,y))),T(l,_,w,M,f,P,w.aaxis,E,m,b,\"a-title\"),u=L,y=.5*(F+B),f=w.ab2xy(u,y,!0),P=w.dxydb_rough(u,y),v.angle===void 0&&r.extendFlat(v,e(w,E,m,f,w.dxyda_rough(u,y))),T(l,_,w,M,f,P,w.baxis,E,m,v,\"b-title\")}var p=i.LINE_SPACING,d=(1-i.MID_SHIFT)/p+1;function T(l,_,w,M,E,m,b,v,u,y,f){var P=[];b.title.text&&P.push(b.title.text);var L=_.selectAll(\"text.\"+f).data(P),z=y.maxExtent;L.enter().append(\"text\").classed(f,!0),L.each(function(){var F=e(w,v,u,E,m);[\"start\",\"both\"].indexOf(b.showticklabels)===-1&&(z=0);var B=b.title.font.size;z+=B+b.title.offset;var O=y.angle+(y.flip<0?180:0),I=(O-F.angle+450)%360,N=I>90&&I<270,U=g.select(this);U.text(b.title.text).call(t.convertToTspans,l),N&&(z=(-t.lineCount(U)+d)*p*B-z),U.attr(\"transform\",n(F.p[0],F.p[1])+o(F.angle)+n(0,z)).attr(\"text-anchor\",\"middle\").call(x.font,b.title.font)}),L.exit().remove()}}}),c8=ke({\"src/traces/carpet/cheater_basis.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S){var e,t,r,o,n,i,a=[],s=g(x)?x.length:x,c=g(A)?A.length:A,h=g(x)?x:null,p=g(A)?A:null;h&&(r=(h.length-1)/(h[h.length-1]-h[0])/(s-1)),p&&(o=(p.length-1)/(p[p.length-1]-p[0])/(c-1));var d,T=1/0,l=-1/0;for(t=0;t=10)return null;for(var e=1/0,t=-1/0,r=A.length,o=0;o0&&(X=S.dxydi([],W-1,le,0,se),ee.push(fe[0]+X[0]/3),ie.push(fe[1]+X[1]/3),re=S.dxydi([],W-1,le,1,se),ee.push(J[0]-re[0]/3),ie.push(J[1]-re[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;else for(W=S.a2i(U),G=Math.floor(Math.max(0,Math.min(F-2,W))),$=W-G,ce.length=F,ce.crossLength=B,ce.xy=function(xe){return S.evalxy([],W,xe)},ce.dxy=function(xe,Te){return S.dxydj([],G,xe,$,Te)},Q=0;Q0&&(ae=S.dxydj([],G,Q-1,$,0),ee.push(fe[0]+ae[0]/3),ie.push(fe[1]+ae[1]/3),j=S.dxydj([],G,Q-1,$,1),ee.push(J[0]-j[0]/3),ie.push(J[1]-j[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;return ce.axisLetter=e,ce.axis=E,ce.crossAxis=y,ce.value=U,ce.constvar=t,ce.index=h,ce.x=ee,ce.y=ie,ce.smoothing=y.smoothing,ce}function N(U){var W,Q,le,se,fe,G=[],$=[],J={};if(J.length=M.length,J.crossLength=u.length,e===\"b\")for(le=Math.max(0,Math.min(B-2,U)),fe=Math.min(1,Math.max(0,U-le)),J.xy=function(X){return S.evalxy([],X,U)},J.dxy=function(X,re){return S.dxydi([],X,le,re,fe)},W=0;WM.length-1)&&m.push(x(N(o),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s;hM.length-1)&&!(T<0||T>M.length-1))for(l=M[n],_=M[T],r=0;rM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash})));E.startline&&v.push(x(N(0),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(N(M.length-1),{color:E.endlinecolor,width:E.endlinewidth}))}else{for(i=5e-15,a=[Math.floor((M[M.length-1]-E.tick0)/E.dtick*(1+i)),Math.ceil((M[0]-E.tick0)/E.dtick/(1+i))].sort(function(U,W){return U-W}),s=a[0],c=a[1],h=s;h<=c;h++)p=E.tick0+E.dtick*h,m.push(x(I(p),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s-1;hM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash}));E.startline&&v.push(x(I(M[0]),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(I(M[M.length-1]),{color:E.endlinecolor,width:E.endlinewidth}))}}}}),d8=ke({\"src/traces/carpet/calc_labels.js\"(Z,H){\"use strict\";var g=Ho(),x=To().extendFlat;H.exports=function(S,e){var t,r,o,n,i,a=e._labels=[],s=e._gridlines;for(t=0;t=0;t--)r[s-t]=x[c][t],o[s-t]=A[c][t];for(n.push({x:r,y:o,bicubic:i}),t=c,r=[],o=[];t>=0;t--)r[c-t]=x[t][0],o[c-t]=A[t][0];return n.push({x:r,y:o,bicubic:a}),n}}}),p8=ke({\"src/traces/carpet/smooth_fill_2d_array.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S,e){var t,r,o,n=[],i=[],a=A[0].length,s=A.length;function c(Q,le){var se=0,fe,G=0;return Q>0&&(fe=A[le][Q-1])!==void 0&&(G++,se+=fe),Q0&&(fe=A[le-1][Q])!==void 0&&(G++,se+=fe),le0&&r0&&tu);return g.log(\"Smoother converged to\",y,\"after\",P,\"iterations\"),A}}}),m8=ke({\"src/traces/carpet/constants.js\"(Z,H){\"use strict\";H.exports={RELATIVE_CULL_TOLERANCE:1e-6}}}),g8=ke({\"src/traces/carpet/catmull_rom.js\"(Z,H){\"use strict\";var g=.5;H.exports=function(A,S,e,t){var r=A[0]-S[0],o=A[1]-S[1],n=e[0]-S[0],i=e[1]-S[1],a=Math.pow(r*r+o*o,g/2),s=Math.pow(n*n+i*i,g/2),c=(s*s*r-a*a*n)*t,h=(s*s*o-a*a*i)*t,p=s*(a+s)*3,d=a*(a+s)*3;return[[S[0]+(p&&c/p),S[1]+(p&&h/p)],[S[0]-(d&&c/d),S[1]-(d&&h/d)]]}}}),y8=ke({\"src/traces/carpet/compute_control_points.js\"(Z,H){\"use strict\";var g=g8(),x=un().ensureArray;function A(S,e,t){var r=-.5*t[0]+1.5*e[0],o=-.5*t[1]+1.5*e[1];return[(2*r+S[0])/3,(2*o+S[1])/3]}H.exports=function(e,t,r,o,n,i){var a,s,c,h,p,d,T,l,_,w,M=r[0].length,E=r.length,m=n?3*M-2:M,b=i?3*E-2:E;for(e=x(e,b),t=x(t,b),c=0;cp&&mT&&bd||bl},o.setScale=function(){var m=o._x,b=o._y,v=A(o._xctrl,o._yctrl,m,b,c.smoothing,h.smoothing);o._xctrl=v[0],o._yctrl=v[1],o.evalxy=S([o._xctrl,o._yctrl],a,s,c.smoothing,h.smoothing),o.dxydi=e([o._xctrl,o._yctrl],c.smoothing,h.smoothing),o.dxydj=t([o._xctrl,o._yctrl],c.smoothing,h.smoothing)},o.i2a=function(m){var b=Math.max(0,Math.floor(m[0]),a-2),v=m[0]-b;return(1-v)*n[b]+v*n[b+1]},o.j2b=function(m){var b=Math.max(0,Math.floor(m[1]),a-2),v=m[1]-b;return(1-v)*i[b]+v*i[b+1]},o.ij2ab=function(m){return[o.i2a(m[0]),o.j2b(m[1])]},o.a2i=function(m){var b=Math.max(0,Math.min(x(m,n),a-2)),v=n[b],u=n[b+1];return Math.max(0,Math.min(a-1,b+(m-v)/(u-v)))},o.b2j=function(m){var b=Math.max(0,Math.min(x(m,i),s-2)),v=i[b],u=i[b+1];return Math.max(0,Math.min(s-1,b+(m-v)/(u-v)))},o.ab2ij=function(m){return[o.a2i(m[0]),o.b2j(m[1])]},o.i2c=function(m,b){return o.evalxy([],m,b)},o.ab2xy=function(m,b,v){if(!v&&(mn[a-1]|bi[s-1]))return[!1,!1];var u=o.a2i(m),y=o.b2j(b),f=o.evalxy([],u,y);if(v){var P=0,L=0,z=[],F,B,O,I;mn[a-1]?(F=a-2,B=1,P=(m-n[a-1])/(n[a-1]-n[a-2])):(F=Math.max(0,Math.min(a-2,Math.floor(u))),B=u-F),bi[s-1]?(O=s-2,I=1,L=(b-i[s-1])/(i[s-1]-i[s-2])):(O=Math.max(0,Math.min(s-2,Math.floor(y))),I=y-O),P&&(o.dxydi(z,F,O,B,I),f[0]+=z[0]*P,f[1]+=z[1]*P),L&&(o.dxydj(z,F,O,B,I),f[0]+=z[0]*L,f[1]+=z[1]*L)}return f},o.c2p=function(m,b,v){return[b.c2p(m[0]),v.c2p(m[1])]},o.p2x=function(m,b,v){return[b.p2c(m[0]),v.p2c(m[1])]},o.dadi=function(m){var b=Math.max(0,Math.min(n.length-2,m));return n[b+1]-n[b]},o.dbdj=function(m){var b=Math.max(0,Math.min(i.length-2,m));return i[b+1]-i[b]},o.dxyda=function(m,b,v,u){var y=o.dxydi(null,m,b,v,u),f=o.dadi(m,v);return[y[0]/f,y[1]/f]},o.dxydb=function(m,b,v,u){var y=o.dxydj(null,m,b,v,u),f=o.dbdj(b,u);return[y[0]/f,y[1]/f]},o.dxyda_rough=function(m,b,v){var u=_*(v||.1),y=o.ab2xy(m+u,b,!0),f=o.ab2xy(m-u,b,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dxydb_rough=function(m,b,v){var u=w*(v||.1),y=o.ab2xy(m,b+u,!0),f=o.ab2xy(m,b-u,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dpdx=function(m){return m._m},o.dpdy=function(m){return m._m}}}}),T8=ke({\"src/traces/carpet/calc.js\"(Z,H){\"use strict\";var g=Ho(),x=un().isArray1D,A=c8(),S=f8(),e=h8(),t=d8(),r=v8(),o=U_(),n=p8(),i=N_(),a=w8();H.exports=function(c,h){var p=g.getFromId(c,h.xaxis),d=g.getFromId(c,h.yaxis),T=h.aaxis,l=h.baxis,_=h.x,w=h.y,M=[];_&&x(_)&&M.push(\"x\"),w&&x(w)&&M.push(\"y\"),M.length&&i(h,T,l,\"a\",\"b\",M);var E=h._a=h._a||h.a,m=h._b=h._b||h.b;_=h._x||h.x,w=h._y||h.y;var b={};if(h._cheater){var v=T.cheatertype===\"index\"?E.length:E,u=l.cheatertype===\"index\"?m.length:m;_=A(v,u,h.cheaterslope)}h._x=_=o(_),h._y=w=o(w),n(_,E,m),n(w,E,m),a(h),h.setScale();var y=S(_),f=S(w),P=.5*(y[1]-y[0]),L=.5*(y[1]+y[0]),z=.5*(f[1]-f[0]),F=.5*(f[1]+f[0]),B=1.3;return y=[L-P*B,L+P*B],f=[F-z*B,F+z*B],h._extremes[p._id]=g.findExtremes(p,y,{padded:!0}),h._extremes[d._id]=g.findExtremes(d,f,{padded:!0}),e(h,\"a\",\"b\"),e(h,\"b\",\"a\"),t(h,T),t(h,l),b.clipsegments=r(h._xctrl,h._yctrl,T,l),b.x=_,b.y=w,b.a=E,b.b=m,[b]}}}),A8=ke({\"src/traces/carpet/index.js\"(Z,H){\"use strict\";H.exports={attributes:wb(),supplyDefaults:s8(),plot:u8(),calc:T8(),animatable:!0,isContainer:!0,moduleType:\"trace\",name:\"carpet\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"carpet\",\"carpetAxis\",\"notLegendIsolatable\",\"noMultiCategory\",\"noHover\",\"noSortingByValue\"],meta:{}}}}),M8=ke({\"lib/carpet.js\"(Z,H){\"use strict\";H.exports=A8()}}),IM=ke({\"src/traces/scattercarpet/attributes.js\"(Z,H){\"use strict\";var g=fv(),x=Cc(),A=Ol(),S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=ou(),r=To().extendFlat,o=x.marker,n=x.line,i=o.line;H.exports={carpet:{valType:\"string\",editType:\"calc\"},a:{valType:\"data_array\",editType:\"calc\"},b:{valType:\"data_array\",editType:\"calc\"},mode:r({},x.mode,{dflt:\"markers\"}),text:r({},x.text,{}),texttemplate:e({editType:\"plot\"},{keys:[\"a\",\"b\",\"text\"]}),hovertext:r({},x.hovertext,{}),line:{color:n.color,width:n.width,dash:n.dash,backoff:n.backoff,shape:r({},n.shape,{values:[\"linear\",\"spline\"]}),smoothing:n.smoothing,editType:\"calc\"},connectgaps:x.connectgaps,fill:r({},x.fill,{values:[\"none\",\"toself\",\"tonext\"],dflt:\"none\"}),fillcolor:g(),marker:r({symbol:o.symbol,opacity:o.opacity,maxdisplayed:o.maxdisplayed,angle:o.angle,angleref:o.angleref,standoff:o.standoff,size:o.size,sizeref:o.sizeref,sizemin:o.sizemin,sizemode:o.sizemode,line:r({width:i.width,editType:\"calc\"},t(\"marker.line\")),gradient:o.gradient,editType:\"calc\"},t(\"marker\")),textfont:x.textfont,textposition:x.textposition,selected:x.selected,unselected:x.unselected,hoverinfo:r({},A.hoverinfo,{flags:[\"a\",\"b\",\"text\",\"name\"]}),hoveron:x.hoveron,hovertemplate:S(),zorder:x.zorder}}}),S8=ke({\"src/traces/scattercarpet/defaults.js\"(Z,H){\"use strict\";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=IM();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}p(\"carpet\"),s.xaxis=\"x\",s.yaxis=\"y\";var d=p(\"a\"),T=p(\"b\"),l=Math.min(d.length,T.length);if(!l){s.visible=!1;return}s._length=l,p(\"text\"),p(\"texttemplate\"),p(\"hovertext\");var _=l0?b=E.labelprefix.replace(/ = $/,\"\"):b=E._hovertitle,l.push(b+\": \"+m.toFixed(3)+E.labelsuffix)}if(!p.hovertemplate){var w=h.hi||p.hoverinfo,M=w.split(\"+\");M.indexOf(\"all\")!==-1&&(M=[\"a\",\"b\",\"text\"]),M.indexOf(\"a\")!==-1&&_(d.aaxis,h.a),M.indexOf(\"b\")!==-1&&_(d.baxis,h.b),l.push(\"y: \"+n.yLabel),M.indexOf(\"text\")!==-1&&x(h,p,l),n.extraText=l.join(\"
\")}return o}}}),P8=ke({\"src/traces/scattercarpet/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){var r=e[t];return x.a=r.a,x.b=r.b,x.y=r.y,x}}}),I8=ke({\"src/traces/scattercarpet/index.js\"(Z,H){\"use strict\";H.exports={attributes:IM(),supplyDefaults:S8(),colorbar:Bh(),formatLabels:E8(),calc:C8(),plot:k8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:L8(),selectPoints:$g(),eventData:P8(),moduleType:\"trace\",name:\"scattercarpet\",basePlotModule:xf(),categories:[\"svg\",\"carpet\",\"symbols\",\"showLegend\",\"carpetDependent\",\"zoomScale\"],meta:{}}}}),R8=ke({\"lib/scattercarpet.js\"(Z,H){\"use strict\";H.exports=I8()}}),RM=ke({\"src/traces/contourcarpet/attributes.js\"(Z,H){\"use strict\";var g=ty(),x=v0(),A=ou(),S=To().extendFlat,e=x.contours;H.exports=S({carpet:{valType:\"string\",editType:\"calc\"},z:g.z,a:g.x,a0:g.x0,da:g.dx,b:g.y,b0:g.y0,db:g.dy,text:g.text,hovertext:g.hovertext,transpose:g.transpose,atype:g.xtype,btype:g.ytype,fillcolor:x.fillcolor,autocontour:x.autocontour,ncontours:x.ncontours,contours:{type:e.type,start:e.start,end:e.end,size:e.size,coloring:{valType:\"enumerated\",values:[\"fill\",\"lines\",\"none\"],dflt:\"fill\",editType:\"calc\"},showlines:e.showlines,showlabels:e.showlabels,labelfont:e.labelfont,labelformat:e.labelformat,operation:e.operation,value:e.value,editType:\"calc\",impliedEdits:{autocontour:!1}},line:{color:x.line.color,width:x.line.width,dash:x.line.dash,smoothing:x.line.smoothing,editType:\"plot\"},zorder:x.zorder},A(\"\",{cLetter:\"z\",autoColorDflt:!1}))}}),DM=ke({\"src/traces/contourcarpet/defaults.js\"(Z,H){\"use strict\";var g=un(),x=B_(),A=RM(),S=l3(),e=$_(),t=Q_();H.exports=function(o,n,i,a){function s(d,T){return g.coerce(o,n,A,d,T)}function c(d){return g.coerce2(o,n,A,d)}if(s(\"carpet\"),o.a&&o.b){var h=x(o,n,s,a,\"a\",\"b\");if(!h){n.visible=!1;return}s(\"text\");var p=s(\"contours.type\")===\"constraint\";p?S(o,n,s,a,i,{hasHover:!1}):(e(o,n,s,c),t(o,n,s,a,{hasHover:!1}))}else n._defaultColor=i,n._length=null;s(\"zorder\")}}}),D8=ke({\"src/traces/contourcarpet/calc.js\"(Z,H){\"use strict\";var g=od(),x=un(),A=N_(),S=U_(),e=j_(),t=V_(),r=W2(),o=DM(),n=Tb(),i=Q2();H.exports=function(c,h){var p=h._carpetTrace=n(c,h);if(!(!p||!p.visible||p.visible===\"legendonly\")){if(!h.a||!h.b){var d=c.data[p.index],T=c.data[h.index];T.a||(T.a=d.a),T.b||(T.b=d.b),o(T,h,h._defaultColor,c._fullLayout)}var l=a(c,h);return i(h,h._z),l}};function a(s,c){var h=c._carpetTrace,p=h.aaxis,d=h.baxis,T,l,_,w,M,E,m;p._minDtick=0,d._minDtick=0,x.isArray1D(c.z)&&A(c,p,d,\"a\",\"b\",[\"z\"]),T=c._a=c._a||c.a,w=c._b=c._b||c.b,T=T?p.makeCalcdata(c,\"_a\"):[],w=w?d.makeCalcdata(c,\"_b\"):[],l=c.a0||0,_=c.da||1,M=c.b0||0,E=c.db||1,m=c._z=S(c._z||c.z,c.transpose),c._emptypoints=t(m),e(m,c._emptypoints);var b=x.maxRowLength(m),v=c.xtype===\"scaled\"?\"\":T,u=r(c,v,l,_,b,p),y=c.ytype===\"scaled\"?\"\":w,f=r(c,y,M,E,m.length,d),P={a:u,b:f,z:m};return c.contours.type===\"levels\"&&c.contours.coloring!==\"none\"&&g(s,c,{vals:m,containerStr:\"\",cLetter:\"z\"}),[P]}}}),z8=ke({\"src/traces/carpet/axis_aligned_line.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S,e){var t,r,o,n,i,a,s,c,h,p,d,T,l,_=g(S)?\"a\":\"b\",w=_===\"a\"?x.aaxis:x.baxis,M=w.smoothing,E=_===\"a\"?x.a2i:x.b2j,m=_===\"a\"?S:e,b=_===\"a\"?e:S,v=_===\"a\"?A.a.length:A.b.length,u=_===\"a\"?A.b.length:A.a.length,y=Math.floor(_===\"a\"?x.b2j(b):x.a2i(b)),f=_===\"a\"?function(le){return x.evalxy([],le,y)}:function(le){return x.evalxy([],y,le)};M&&(o=Math.max(0,Math.min(u-2,y)),n=y-o,r=_===\"a\"?function(le,se){return x.dxydi([],le,o,se,n)}:function(le,se){return x.dxydj([],o,le,n,se)});var P=E(m[0]),L=E(m[1]),z=P0?Math.floor:Math.ceil,O=z>0?Math.ceil:Math.floor,I=z>0?Math.min:Math.max,N=z>0?Math.max:Math.min,U=B(P+F),W=O(L-F);s=f(P);var Q=[[s]];for(t=U;t*z=0;ce--)j=N.clipsegments[ce],ee=x([],j.x,P.c2p),ie=x([],j.y,L.c2p),ee.reverse(),ie.reverse(),xe.push(A(ee,ie,j.bicubic));var Te=\"M\"+xe.join(\"L\")+\"Z\";M(F,N.clipsegments,P,L,se,G),E(O,F,P,L,ae,J,$,I,N,G,Te),d(F,le,v,B,Q,u,I),S.setClipUrl(F,I._clipPathId,v)})};function p(b,v){var u,y,f,P,L,z,F,B,O;for(u=0;ule&&(y.max=le),y.len=y.max-y.min}function l(b,v,u){var y=b.getPointAtLength(v),f=b.getPointAtLength(u),P=f.x-y.x,L=f.y-y.y,z=Math.sqrt(P*P+L*L);return[P/z,L/z]}function _(b){var v=Math.sqrt(b[0]*b[0]+b[1]*b[1]);return[b[0]/v,b[1]/v]}function w(b,v){var u=Math.abs(b[0]*v[0]+b[1]*v[1]),y=Math.sqrt(1-u*u);return y/u}function M(b,v,u,y,f,P){var L,z,F,B,O=e.ensureSingle(b,\"g\",\"contourbg\"),I=O.selectAll(\"path\").data(P===\"fill\"&&!f?[0]:[]);I.enter().append(\"path\"),I.exit().remove();var N=[];for(B=0;B=0&&(U=ee,Q=le):Math.abs(N[1]-U[1])=0&&(U=ee,Q=le):e.log(\"endpt to newendpt is not vert. or horz.\",N,U,ee)}if(Q>=0)break;B+=ae(N,U),N=U}if(Q===v.edgepaths.length){e.log(\"unclosed perimeter path\");break}F=Q,I=O.indexOf(F)===-1,I&&(F=O[0],B+=ae(N,U)+\"Z\",N=null)}for(F=0;Fm):E=z>f,m=z;var F=p(f,P,L,z);F.pos=y,F.yc=(f+z)/2,F.i=u,F.dir=E?\"increasing\":\"decreasing\",F.x=F.pos,F.y=[L,P],b&&(F.orig_p=s[u]),w&&(F.tx=a.text[u]),M&&(F.htx=a.hovertext[u]),v.push(F)}else v.push({pos:y,empty:!0})}return a._extremes[h._id]=A.findExtremes(h,g.concat(l,T),{padded:!0}),v.length&&(v[0].t={labels:{open:x(i,\"open:\")+\" \",high:x(i,\"high:\")+\" \",low:x(i,\"low:\")+\" \",close:x(i,\"close:\")+\" \"}}),v}function n(i,a,s){var c=s._minDiff;if(!c){var h=i._fullData,p=[];c=1/0;var d;for(d=0;d\"+_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat)):(O=x.extendFlat({},M),O.y0=O.y1=B,O.yLabelVal=F,O.yLabel=_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat),O.name=\"\",w.push(O),P[F]=O)}return w}function a(s,c,h,p){var d=s.cd,T=s.ya,l=d[0].trace,_=d[0].t,w=n(s,c,h,p);if(!w)return[];var M=w.index,E=d[M],m=w.index=E.i,b=E.dir;function v(F){return _.labels[F]+g.hoverLabelText(T,l[F][m],l.yhoverformat)}var u=E.hi||l.hoverinfo,y=u.split(\"+\"),f=u===\"all\",P=f||y.indexOf(\"y\")!==-1,L=f||y.indexOf(\"text\")!==-1,z=P?[v(\"open\"),v(\"high\"),v(\"low\"),v(\"close\")+\" \"+r[b]]:[];return L&&e(E,l,z),w.extraText=z.join(\"
\"),w.y0=w.y1=T.c2p(E.yc,!0),[w]}H.exports={hoverPoints:o,hoverSplit:i,hoverOnPoints:a}}}),BM=ke({\"src/traces/ohlc/select.js\"(Z,H){\"use strict\";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n=S[0].t.bPos||0;if(A===!1)for(o=0;oc?function(l){return l<=0}:function(l){return l>=0};n.c2g=function(l){var _=n.c2l(l)-s;return(T(_)?_:0)+d},n.g2c=function(l){return n.l2c(l+s-d)},n.g2p=function(l){return l*p},n.c2p=function(l){return n.g2p(n.c2g(l))}}}function t(n,i){return i===\"degrees\"?A(n):n}function r(n,i){return i===\"degrees\"?S(n):n}function o(n,i){var a=n.type;if(a===\"linear\"){var s=n.d2c,c=n.c2d;n.d2c=function(h,p){return t(s(h),p)},n.c2d=function(h,p){return c(r(h,p))}}n.makeCalcdata=function(h,p){var d=h[p],T=h._length,l,_,w=function(v){return n.d2c(v,h.thetaunit)};if(d)for(l=new Array(T),_=0;_0?v:1/0},E=A(w,M),m=g.mod(E+1,w.length);return[w[E],w[m]]}function p(_){return Math.abs(_)>1e-10?_:0}function d(_,w,M){w=w||0,M=M||0;for(var E=_.length,m=new Array(E),b=0;b0?1:0}function x(r){var o=r[0],n=r[1];if(!isFinite(o)||!isFinite(n))return[1,0];var i=(o+1)*(o+1)+n*n;return[(o*o+n*n-1)/i,2*n/i]}function A(r,o){var n=o[0],i=o[1];return[n*r.radius+r.cx,-i*r.radius+r.cy]}function S(r,o){return o*r.radius}function e(r,o,n,i){var a=A(r,x([n,o])),s=a[0],c=a[1],h=A(r,x([i,o])),p=h[0],d=h[1];if(o===0)return[\"M\"+s+\",\"+c,\"L\"+p+\",\"+d].join(\" \");var T=S(r,1/Math.abs(o));return[\"M\"+s+\",\"+c,\"A\"+T+\",\"+T+\" 0 0,\"+(o<0?1:0)+\" \"+p+\",\"+d].join(\" \")}function t(r,o,n,i){var a=S(r,1/(o+1)),s=A(r,x([o,n])),c=s[0],h=s[1],p=A(r,x([o,i])),d=p[0],T=p[1];if(g(n)!==g(i)){var l=A(r,x([o,0])),_=l[0],w=l[1];return[\"M\"+c+\",\"+h,\"A\"+a+\",\"+a+\" 0 0,\"+(0it?(at=ie,tt=ie*it,pe=(ce-tt)/X.h/2,ut=[j[0],j[1]],Me=[ee[0]+pe,ee[1]-pe]):(at=ce/it,tt=ce,pe=(ie-at)/X.w/2,ut=[j[0]+pe,j[1]-pe],Me=[ee[0],ee[1]]),$.xLength2=at,$.yLength2=tt,$.xDomain2=ut,$.yDomain2=Me;var ue=$.xOffset2=X.l+X.w*ut[0],Oe=$.yOffset2=X.t+X.h*(1-Me[1]),rt=$.radius=at/Ue,ot=$.innerRadius=$.getHole(G)*rt,et=$.cx=ue-rt*Te[0],Lt=$.cy=Oe+rt*Te[3],Et=$.cxx=et-ue,Bt=$.cyy=Lt-Oe,qt=re.side,fr;qt===\"counterclockwise\"?(fr=qt,qt=\"top\"):qt===\"clockwise\"&&(fr=qt,qt=\"bottom\"),$.radialAxis=$.mockAxis(fe,G,re,{_id:\"x\",side:qt,_trueSide:fr,domain:[ot/X.w,rt/X.w]}),$.angularAxis=$.mockAxis(fe,G,ae,{side:\"right\",domain:[0,Math.PI],autorange:!1}),$.doAutoRange(fe,G),$.updateAngularAxis(fe,G),$.updateRadialAxis(fe,G),$.updateRadialAxisTitle(fe,G),$.xaxis=$.mockCartesianAxis(fe,G,{_id:\"x\",domain:ut}),$.yaxis=$.mockCartesianAxis(fe,G,{_id:\"y\",domain:Me});var ar=$.pathSubplot();$.clipPaths.forTraces.select(\"path\").attr(\"d\",ar).attr(\"transform\",t(Et,Bt)),J.frontplot.attr(\"transform\",t(ue,Oe)).call(o.setClipUrl,$._hasClipOnAxisFalse?null:$.clipIds.forTraces,$.gd),J.bg.attr(\"d\",ar).attr(\"transform\",t(et,Lt)).call(r.fill,G.bgcolor)},U.mockAxis=function(fe,G,$,J){var X=S.extendFlat({},$,J);return s(X,G,fe),X},U.mockCartesianAxis=function(fe,G,$){var J=this,X=J.isSmith,re=$._id,ae=S.extendFlat({type:\"linear\"},$);a(ae,fe);var j={x:[0,2],y:[1,3]};return ae.setRange=function(){var ee=J.sectorBBox,ie=j[re],ce=J.radialAxis._rl,xe=(ce[1]-ce[0])/(1-J.getHole(G));ae.range=[ee[ie[0]]*xe,ee[ie[1]]*xe]},ae.isPtWithinRange=re===\"x\"&&!X?function(ee){return J.isPtInside(ee)}:function(){return!0},ae.setRange(),ae.setScale(),ae},U.doAutoRange=function(fe,G){var $=this,J=$.gd,X=$.radialAxis,re=$.getRadial(G);c(J,X);var ae=X.range;if(re.range=ae.slice(),re._input.range=ae.slice(),X._rl=[X.r2l(ae[0],null,\"gregorian\"),X.r2l(ae[1],null,\"gregorian\")],X.minallowed!==void 0){var j=X.r2l(X.minallowed);X._rl[0]>X._rl[1]?X._rl[1]=Math.max(X._rl[1],j):X._rl[0]=Math.max(X._rl[0],j)}if(X.maxallowed!==void 0){var ee=X.r2l(X.maxallowed);X._rl[0]90&&ce<=270&&(xe.tickangle=180);var Ie=Ue?function(rt){var ot=z($,f([rt.x,0]));return t(ot[0]-j,ot[1]-ee)}:function(rt){return t(xe.l2p(rt.x)+ae,0)},Ye=Ue?function(rt){return L($,rt.x,-1/0,1/0)}:function(rt){return $.pathArc(xe.r2p(rt.x)+ae)},it=W(ie);if($.radialTickLayout!==it&&(X[\"radial-axis\"].selectAll(\".xtick\").remove(),$.radialTickLayout=it),Te){xe.setScale();var at=0,tt=Ue?(xe.tickvals||[]).filter(function(rt){return rt>=0}).map(function(rt){return i.tickText(xe,rt,!0,!1)}):i.calcTicks(xe),ut=Ue?tt:i.clipEnds(xe,tt),Me=i.getTickSigns(xe)[2];Ue&&((xe.ticks===\"top\"&&xe.side===\"bottom\"||xe.ticks===\"bottom\"&&xe.side===\"top\")&&(Me=-Me),xe.ticks===\"top\"&&xe.side===\"top\"&&(at=-xe.ticklen),xe.ticks===\"bottom\"&&xe.side===\"bottom\"&&(at=xe.ticklen)),i.drawTicks(J,xe,{vals:tt,layer:X[\"radial-axis\"],path:i.makeTickPath(xe,0,Me),transFn:Ie,crisp:!1}),i.drawGrid(J,xe,{vals:ut,layer:X[\"radial-grid\"],path:Ye,transFn:S.noop,crisp:!1}),i.drawLabels(J,xe,{vals:tt,layer:X[\"radial-axis\"],transFn:Ie,labelFns:i.makeLabelFns(xe,at)})}var pe=$.radialAxisAngle=$.vangles?I(le(O(ie.angle),$.vangles)):ie.angle,ue=t(j,ee),Oe=ue+e(-pe);se(X[\"radial-axis\"],Te&&(ie.showticklabels||ie.ticks),{transform:Oe}),se(X[\"radial-grid\"],Te&&ie.showgrid,{transform:Ue?\"\":ue}),se(X[\"radial-line\"].select(\"line\"),Te&&ie.showline,{x1:Ue?-re:ae,y1:0,x2:re,y2:0,transform:Oe}).attr(\"stroke-width\",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateRadialAxisTitle=function(fe,G,$){if(!this.isSmith){var J=this,X=J.gd,re=J.radius,ae=J.cx,j=J.cy,ee=J.getRadial(G),ie=J.id+\"title\",ce=0;if(ee.title){var xe=o.bBox(J.layers[\"radial-axis\"].node()).height,Te=ee.title.font.size,Ue=ee.side;ce=Ue===\"top\"?Te:Ue===\"counterclockwise\"?-(xe+Te*.4):xe+Te*.8}var Ie=$!==void 0?$:J.radialAxisAngle,Ye=O(Ie),it=Math.cos(Ye),at=Math.sin(Ye),tt=ae+re/2*it+ce*at,ut=j-re/2*at+ce*it;J.layers[\"radial-axis-title\"]=T.draw(X,ie,{propContainer:ee,propName:J.id+\".radialaxis.title\",placeholder:F(X,\"Click to enter radial axis title\"),attributes:{x:tt,y:ut,\"text-anchor\":\"middle\"},transform:{rotate:-Ie}})}},U.updateAngularAxis=function(fe,G){var $=this,J=$.gd,X=$.layers,re=$.radius,ae=$.innerRadius,j=$.cx,ee=$.cy,ie=$.getAngular(G),ce=$.angularAxis,xe=$.isSmith;xe||($.fillViewInitialKey(\"angularaxis.rotation\",ie.rotation),ce.setGeometry(),ce.setScale());var Te=xe?function(ot){var et=z($,f([0,ot.x]));return Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2}:function(ot){return ce.t2g(ot.x)};ce.type===\"linear\"&&ce.thetaunit===\"radians\"&&(ce.tick0=I(ce.tick0),ce.dtick=I(ce.dtick));var Ue=function(ot){return t(j+re*Math.cos(ot),ee-re*Math.sin(ot))},Ie=xe?function(ot){var et=z($,f([0,ot.x]));return t(et[0],et[1])}:function(ot){return Ue(Te(ot))},Ye=xe?function(ot){var et=z($,f([0,ot.x])),Lt=Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2;return t(et[0],et[1])+e(-I(Lt))}:function(ot){var et=Te(ot);return Ue(et)+e(-I(et))},it=xe?function(ot){return P($,ot.x,0,1/0)}:function(ot){var et=Te(ot),Lt=Math.cos(et),Et=Math.sin(et);return\"M\"+[j+ae*Lt,ee-ae*Et]+\"L\"+[j+re*Lt,ee-re*Et]},at=i.makeLabelFns(ce,0),tt=at.labelStandoff,ut={};ut.xFn=function(ot){var et=Te(ot);return Math.cos(et)*tt},ut.yFn=function(ot){var et=Te(ot),Lt=Math.sin(et)>0?.2:1;return-Math.sin(et)*(tt+ot.fontSize*Lt)+Math.abs(Math.cos(et))*(ot.fontSize*b)},ut.anchorFn=function(ot){var et=Te(ot),Lt=Math.cos(et);return Math.abs(Lt)<.1?\"middle\":Lt>0?\"start\":\"end\"},ut.heightFn=function(ot,et,Lt){var Et=Te(ot);return-.5*(1+Math.sin(Et))*Lt};var Me=W(ie);$.angularTickLayout!==Me&&(X[\"angular-axis\"].selectAll(\".\"+ce._id+\"tick\").remove(),$.angularTickLayout=Me);var pe=xe?[1/0].concat(ce.tickvals||[]).map(function(ot){return i.tickText(ce,ot,!0,!1)}):i.calcTicks(ce);xe&&(pe[0].text=\"\\u221E\",pe[0].fontSize*=1.75);var ue;if(G.gridshape===\"linear\"?(ue=pe.map(Te),S.angleDelta(ue[0],ue[1])<0&&(ue=ue.slice().reverse())):ue=null,$.vangles=ue,ce.type===\"category\"&&(pe=pe.filter(function(ot){return S.isAngleInsideSector(Te(ot),$.sectorInRad)})),ce.visible){var Oe=ce.ticks===\"inside\"?-1:1,rt=(ce.linewidth||1)/2;i.drawTicks(J,ce,{vals:pe,layer:X[\"angular-axis\"],path:\"M\"+Oe*rt+\",0h\"+Oe*ce.ticklen,transFn:Ye,crisp:!1}),i.drawGrid(J,ce,{vals:pe,layer:X[\"angular-grid\"],path:it,transFn:S.noop,crisp:!1}),i.drawLabels(J,ce,{vals:pe,layer:X[\"angular-axis\"],repositionOnUpdate:!0,transFn:Ie,labelFns:ut})}se(X[\"angular-line\"].select(\"path\"),ie.showline,{d:$.pathSubplot(),transform:t(j,ee)}).attr(\"stroke-width\",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateFx=function(fe,G){if(!this.gd._context.staticPlot){var $=!this.isSmith;$&&(this.updateAngularDrag(fe),this.updateRadialDrag(fe,G,0),this.updateRadialDrag(fe,G,1)),this.updateHoverAndMainDrag(fe)}},U.updateHoverAndMainDrag=function(fe){var G=this,$=G.isSmith,J=G.gd,X=G.layers,re=fe._zoomlayer,ae=v.MINZOOM,j=v.OFFEDGE,ee=G.radius,ie=G.innerRadius,ce=G.cx,xe=G.cy,Te=G.cxx,Ue=G.cyy,Ie=G.sectorInRad,Ye=G.vangles,it=G.radialAxis,at=u.clampTiny,tt=u.findXYatLength,ut=u.findEnclosingVertexAngles,Me=v.cornerHalfWidth,pe=v.cornerLen/2,ue,Oe,rt=h.makeDragger(X,\"path\",\"maindrag\",fe.dragmode===!1?\"none\":\"crosshair\");g.select(rt).attr(\"d\",G.pathSubplot()).attr(\"transform\",t(ce,xe)),rt.onmousemove=function(Xt){d.hover(J,Xt,G.id),J._fullLayout._lasthover=rt,J._fullLayout._hoversubplot=G.id},rt.onmouseout=function(Xt){J._dragging||p.unhover(J,Xt)};var ot={element:rt,gd:J,subplot:G.id,plotinfo:{id:G.id,xaxis:G.xaxis,yaxis:G.yaxis},xaxes:[G.xaxis],yaxes:[G.yaxis]},et,Lt,Et,Bt,qt,fr,ar,Rr,gr;function br(Xt,$t){return Math.sqrt(Xt*Xt+$t*$t)}function _t(Xt,$t){return br(Xt-Te,$t-Ue)}function Be(Xt,$t){return Math.atan2(Ue-$t,Xt-Te)}function Ke(Xt,$t){return[Xt*Math.cos($t),Xt*Math.sin(-$t)]}function je(Xt,$t){if(Xt===0)return G.pathSector(2*Me);var ur=pe/Xt,pn=$t-ur,Rn=$t+ur,Nn=Math.max(0,Math.min(Xt,ee)),On=Nn-Me,ni=Nn+Me;return\"M\"+Ke(On,pn)+\"A\"+[On,On]+\" 0,0,0 \"+Ke(On,Rn)+\"L\"+Ke(ni,Rn)+\"A\"+[ni,ni]+\" 0,0,1 \"+Ke(ni,pn)+\"Z\"}function Se(Xt,$t,ur){if(Xt===0)return G.pathSector(2*Me);var pn=Ke(Xt,$t),Rn=Ke(Xt,ur),Nn=at((pn[0]+Rn[0])/2),On=at((pn[1]+Rn[1])/2),ni,zn;if(Nn&&On){var Qn=On/Nn,gi=-1/Qn,Zt=tt(Me,Qn,Nn,On);ni=tt(pe,gi,Zt[0][0],Zt[0][1]),zn=tt(pe,gi,Zt[1][0],Zt[1][1])}else{var Ft,Ht;On?(Ft=pe,Ht=Me):(Ft=Me,Ht=pe),ni=[[Nn-Ft,On-Ht],[Nn+Ft,On-Ht]],zn=[[Nn-Ft,On+Ht],[Nn+Ft,On+Ht]]}return\"M\"+ni.join(\"L\")+\"L\"+zn.reverse().join(\"L\")+\"Z\"}function He(){Et=null,Bt=null,qt=G.pathSubplot(),fr=!1;var Xt=J._fullLayout[G.id];ar=x(Xt.bgcolor).getLuminance(),Rr=h.makeZoombox(re,ar,ce,xe,qt),Rr.attr(\"fill-rule\",\"evenodd\"),gr=h.makeCorners(re,ce,xe),w(J)}function Ee(Xt,$t){return $t=Math.max(Math.min($t,ee),ie),Xtae?(Xt<$t?(Et=Xt,Bt=$t):(Et=$t,Bt=Xt),!0):(Et=null,Bt=null,!1)}function we(Xt,$t){Xt=Xt||qt,$t=$t||\"M0,0Z\",Rr.attr(\"d\",Xt),gr.attr(\"d\",$t),h.transitionZoombox(Rr,gr,fr,ar),fr=!0;var ur={};Rt(ur),J.emit(\"plotly_relayouting\",ur)}function Le(Xt,$t){Xt=Xt*ue,$t=$t*Oe;var ur=et+Xt,pn=Lt+$t,Rn=_t(et,Lt),Nn=Math.min(_t(ur,pn),ee),On=Be(et,Lt),ni,zn;Ee(Rn,Nn)&&(ni=qt+G.pathSector(Bt),Et&&(ni+=G.pathSector(Et)),zn=je(Et,On)+je(Bt,On)),we(ni,zn)}function nt(Xt,$t,ur,pn){var Rn=u.findIntersectionXY(ur,pn,ur,[Xt-Te,Ue-$t]);return br(Rn[0],Rn[1])}function pt(Xt,$t){var ur=et+Xt,pn=Lt+$t,Rn=Be(et,Lt),Nn=Be(ur,pn),On=ut(Rn,Ye),ni=ut(Nn,Ye),zn=nt(et,Lt,On[0],On[1]),Qn=Math.min(nt(ur,pn,ni[0],ni[1]),ee),gi,Zt;Ee(zn,Qn)&&(gi=qt+G.pathSector(Bt),Et&&(gi+=G.pathSector(Et)),Zt=[Se(Et,On[0],On[1]),Se(Bt,On[0],On[1])].join(\" \")),we(gi,Zt)}function bt(){if(h.removeZoombox(J),!(Et===null||Bt===null)){var Xt={};Rt(Xt),h.showDoubleClickNotifier(J),A.call(\"_guiRelayout\",J,Xt)}}function Rt(Xt){var $t=it._rl,ur=($t[1]-$t[0])/(1-ie/ee)/ee,pn=[$t[0]+(Et-ie)*ur,$t[0]+(Bt-ie)*ur];Xt[G.id+\".radialaxis.range\"]=pn}function Nt(Xt,$t){var ur=J._fullLayout.clickmode;if(h.removeZoombox(J),Xt===2){var pn={};for(var Rn in G.viewInitial)pn[G.id+\".\"+Rn]=G.viewInitial[Rn];J.emit(\"plotly_doubleclick\",null),A.call(\"_guiRelayout\",J,pn)}ur.indexOf(\"select\")>-1&&Xt===1&&_($t,J,[G.xaxis],[G.yaxis],G.id,ot),ur.indexOf(\"event\")>-1&&d.click(J,$t,G.id)}ot.prepFn=function(Xt,$t,ur){var pn=J._fullLayout.dragmode,Rn=rt.getBoundingClientRect();J._fullLayout._calcInverseTransform(J);var Nn=J._fullLayout._invTransform;ue=J._fullLayout._invScaleX,Oe=J._fullLayout._invScaleY;var On=S.apply3DTransform(Nn)($t-Rn.left,ur-Rn.top);if(et=On[0],Lt=On[1],Ye){var ni=u.findPolygonOffset(ee,Ie[0],Ie[1],Ye);et+=Te+ni[0],Lt+=Ue+ni[1]}switch(pn){case\"zoom\":ot.clickFn=Nt,$||(Ye?ot.moveFn=pt:ot.moveFn=Le,ot.doneFn=bt,He(Xt,$t,ur));break;case\"select\":case\"lasso\":l(Xt,$t,ur,ot,pn);break}},p.init(ot)},U.updateRadialDrag=function(fe,G,$){var J=this,X=J.gd,re=J.layers,ae=J.radius,j=J.innerRadius,ee=J.cx,ie=J.cy,ce=J.radialAxis,xe=v.radialDragBoxSize,Te=xe/2;if(!ce.visible)return;var Ue=O(J.radialAxisAngle),Ie=ce._rl,Ye=Ie[0],it=Ie[1],at=Ie[$],tt=.75*(Ie[1]-Ie[0])/(1-J.getHole(G))/ae,ut,Me,pe;$?(ut=ee+(ae+Te)*Math.cos(Ue),Me=ie-(ae+Te)*Math.sin(Ue),pe=\"radialdrag\"):(ut=ee+(j-Te)*Math.cos(Ue),Me=ie-(j-Te)*Math.sin(Ue),pe=\"radialdrag-inner\");var ue=h.makeRectDragger(re,pe,\"crosshair\",-Te,-Te,xe,xe),Oe={element:ue,gd:X};fe.dragmode===!1&&(Oe.dragmode=!1),se(g.select(ue),ce.visible&&j0!=($?et>Ye:et=90||X>90&&re>=450?Ue=1:j<=0&&ie<=0?Ue=0:Ue=Math.max(j,ie),X<=180&&re>=180||X>180&&re>=540?ce=-1:ae>=0&&ee>=0?ce=0:ce=Math.min(ae,ee),X<=270&&re>=270||X>270&&re>=630?xe=-1:j>=0&&ie>=0?xe=0:xe=Math.min(j,ie),re>=360?Te=1:ae<=0&&ee<=0?Te=0:Te=Math.max(ae,ee),[ce,xe,Te,Ue]}function le(fe,G){var $=function(X){return S.angleDist(fe,X)},J=S.findIndexOfMin(G,$);return G[J]}function se(fe,G,$){return G?(fe.attr(\"display\",null),fe.attr($)):fe&&fe.attr(\"display\",\"none\"),fe}}}),qM=ke({\"src/plots/polar/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},\"plot\",\"from-root\"),r=e({tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,ticklabelstep:x.ticklabelstep,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickfont:x.tickfont,tickangle:x.tickangle,tickformat:x.tickformat,tickformatstops:x.tickformatstops,layer:x.layer},\"plot\",\"from-root\"),o={visible:S({},x.visible,{dflt:!0}),type:S({},x.type,{values:[\"-\",\"linear\",\"log\",\"date\",\"category\"]}),autotypenumbers:x.autotypenumbers,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:\"plot\"},autorange:S({},x.autorange,{editType:\"plot\"}),rangemode:{valType:\"enumerated\",values:[\"tozero\",\"nonnegative\",\"normal\"],dflt:\"tozero\",editType:\"calc\"},minallowed:S({},x.minallowed,{editType:\"plot\"}),maxallowed:S({},x.maxallowed,{editType:\"plot\"}),range:S({},x.range,{items:[{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}}],editType:\"plot\"}),categoryorder:x.categoryorder,categoryarray:x.categoryarray,angle:{valType:\"angle\",editType:\"plot\"},autotickangles:x.autotickangles,side:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"clockwise\",editType:\"plot\"},title:{text:S({},x.title.text,{editType:\"plot\",dflt:\"\"}),font:S({},x.title.font,{editType:\"plot\"}),editType:\"plot\"},hoverformat:x.hoverformat,uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"};S(o,t,r);var n={visible:S({},x.visible,{dflt:!0}),type:{valType:\"enumerated\",values:[\"-\",\"linear\",\"category\"],dflt:\"-\",editType:\"calc\",_noTemplating:!0},autotypenumbers:x.autotypenumbers,categoryorder:x.categoryorder,categoryarray:x.categoryarray,thetaunit:{valType:\"enumerated\",values:[\"radians\",\"degrees\"],dflt:\"degrees\",editType:\"calc\"},period:{valType:\"number\",editType:\"calc\",min:0},direction:{valType:\"enumerated\",values:[\"counterclockwise\",\"clockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"angle\",editType:\"calc\"},hoverformat:x.hoverformat,uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"};S(n,t,r),H.exports={domain:A({name:\"polar\",editType:\"plot\"}),sector:{valType:\"info_array\",items:[{valType:\"number\",editType:\"plot\"},{valType:\"number\",editType:\"plot\"}],dflt:[0,360],editType:\"plot\"},hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"plot\"},bgcolor:{valType:\"color\",editType:\"plot\",dflt:g.background},radialaxis:o,angularaxis:n,gridshape:{valType:\"enumerated\",values:[\"circular\",\"linear\"],dflt:\"circular\",editType:\"plot\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"}}}),Z8=ke({\"src/plots/polar/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=Pm(),r=qg(),o=Dp(),n=zp(),i=T_(),a=o0(),s=Jw(),c=Gg(),h=qM(),p=UM(),d=Mb(),T=d.axisNames;function l(w,M,E,m){var b=E(\"bgcolor\");m.bgColor=x.combine(b,m.paper_bgcolor);var v=E(\"sector\");E(\"hole\");var u=e(m.fullData,d.name,m.id),y=m.layoutOut,f;function P(xe,Te){return E(f+\".\"+xe,Te)}for(var L=0;L\")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),J8=ke({\"src/traces/scatterpolar/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"scatterpolar\",basePlotModule:Eb(),categories:[\"polar\",\"symbols\",\"showLegend\",\"scatter-like\"],attributes:t1(),supplyDefaults:Cb().supplyDefaults,colorbar:Bh(),formatLabels:kb(),calc:Y8(),plot:K8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:Lb().hoverPoints,selectPoints:$g(),meta:{}}}}),$8=ke({\"lib/scatterpolar.js\"(Z,H){\"use strict\";H.exports=J8()}}),HM=ke({\"src/traces/scatterpolargl/attributes.js\"(Z,H){\"use strict\";var g=t1(),x=W0(),A=Rs().texttemplateAttrs;H.exports={mode:g.mode,r:g.r,theta:g.theta,r0:g.r0,dr:g.dr,theta0:g.theta0,dtheta:g.dtheta,thetaunit:g.thetaunit,text:g.text,texttemplate:A({editType:\"plot\"},{keys:[\"r\",\"theta\",\"text\"]}),hovertext:g.hovertext,hovertemplate:g.hovertemplate,line:{color:x.line.color,width:x.line.width,dash:x.line.dash,editType:\"calc\"},connectgaps:x.connectgaps,marker:x.marker,fill:x.fill,fillcolor:x.fillcolor,textposition:x.textposition,textfont:x.textfont,hoverinfo:g.hoverinfo,selected:g.selected,unselected:g.unselected}}}),Q8=ke({\"src/traces/scatterpolargl/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Cb().handleRThetaDefaults,S=Fd(),e=Hd(),t=Gd(),r=dv(),o=kv().PTS_LINESONLY,n=HM();H.exports=function(a,s,c,h){function p(T,l){return g.coerce(a,s,n,T,l)}var d=A(a,s,h,p);if(!d){s.visible=!1;return}p(\"thetaunit\"),p(\"mode\",d=r&&(m.marker.cluster=_.tree),m.marker&&(m.markerSel.positions=m.markerUnsel.positions=m.marker.positions=y),m.line&&y.length>1&&t.extendFlat(m.line,e.linePositions(i,l,y)),m.text&&(t.extendFlat(m.text,{positions:y},e.textPosition(i,l,m.text,m.marker)),t.extendFlat(m.textSel,{positions:y},e.textPosition(i,l,m.text,m.markerSel)),t.extendFlat(m.textUnsel,{positions:y},e.textPosition(i,l,m.text,m.markerUnsel))),m.fill&&!p.fill2d&&(p.fill2d=!0),m.marker&&!p.scatter2d&&(p.scatter2d=!0),m.line&&!p.line2d&&(p.line2d=!0),m.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(m.line),p.fillOptions.push(m.fill),p.markerOptions.push(m.marker),p.markerSelectedOptions.push(m.markerSel),p.markerUnselectedOptions.push(m.markerUnsel),p.textOptions.push(m.text),p.textSelectedOptions.push(m.textSel),p.textUnselectedOptions.push(m.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),_.x=f,_.y=P,_.rawx=f,_.rawy=P,_.r=M,_.theta=E,_.positions=y,_._scene=p,_.index=p.count,p.count++}}),A(i,a,s)}},H.exports.reglPrecompiled=o}}),aF=ke({\"src/traces/scatterpolargl/index.js\"(Z,H){\"use strict\";var g=nF();g.plot=iF(),H.exports=g}}),oF=ke({\"lib/scatterpolargl.js\"(Z,H){\"use strict\";H.exports=aF()}}),GM=ke({\"src/traces/barpolar/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=To().extendFlat,A=t1(),S=Pv();H.exports={r:A.r,theta:A.theta,r0:A.r0,dr:A.dr,theta0:A.theta0,dtheta:A.dtheta,thetaunit:A.thetaunit,base:x({},S.base,{}),offset:x({},S.offset,{}),width:x({},S.width,{}),text:x({},S.text,{}),hovertext:x({},S.hovertext,{}),marker:e(),hoverinfo:A.hoverinfo,hovertemplate:g(),selected:S.selected,unselected:S.unselected};function e(){var t=x({},S.marker);return delete t.cornerradius,t}}}),WM=ke({\"src/traces/barpolar/layout_attributes.js\"(Z,H){\"use strict\";H.exports={barmode:{valType:\"enumerated\",values:[\"stack\",\"overlay\"],dflt:\"stack\",editType:\"calc\"},bargap:{valType:\"number\",dflt:.1,min:0,max:1,editType:\"calc\"}}}}),sF=ke({\"src/traces/barpolar/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Cb().handleRThetaDefaults,A=I_(),S=GM();H.exports=function(t,r,o,n){function i(s,c){return g.coerce(t,r,S,s,c)}var a=x(t,r,n,i);if(!a){r.visible=!1;return}i(\"thetaunit\"),i(\"base\"),i(\"offset\"),i(\"width\"),i(\"text\"),i(\"hovertext\"),i(\"hovertemplate\"),A(t,r,i,o,n),g.coerceSelectionMarkerOpacity(r,i)}}}),lF=ke({\"src/traces/barpolar/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=WM();H.exports=function(A,S,e){var t={},r;function o(a,s){return g.coerce(A[r]||{},S[r],x,a,s)}for(var n=0;n0?(h=s,p=c):(h=c,p=s);var d=e.findEnclosingVertexAngles(h,r.vangles)[0],T=e.findEnclosingVertexAngles(p,r.vangles)[1],l=[d,(h+p)/2,T];return e.pathPolygonAnnulus(i,a,h,p,l,o,n)}:function(i,a,s,c){return A.pathAnnulus(i,a,s,c,o,n)}}}}),cF=ke({\"src/traces/barpolar/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=un(),A=Qg().getTraceColor,S=x.fillText,e=Lb().makeHoverPointText,t=Sb().isPtInsidePolygon;H.exports=function(o,n,i){var a=o.cd,s=a[0].trace,c=o.subplot,h=c.radialAxis,p=c.angularAxis,d=c.vangles,T=d?t:x.isPtInsideSector,l=o.maxHoverDistance,_=p._period||2*Math.PI,w=Math.abs(h.g2p(Math.sqrt(n*n+i*i))),M=Math.atan2(i,n);h.range[0]>h.range[1]&&(M+=Math.PI);var E=function(u){return T(w,M,[u.rp0,u.rp1],[u.thetag0,u.thetag1],d)?l+Math.min(1,Math.abs(u.thetag1-u.thetag0)/_)-1+(u.rp1-w)/(u.rp1-u.rp0)-1:1/0};if(g.getClosest(a,E,o),o.index!==!1){var m=o.index,b=a[m];o.x0=o.x1=b.ct[0],o.y0=o.y1=b.ct[1];var v=x.extendFlat({},b,{r:b.s,theta:b.p});return S(b,s,o),e(v,s,c,o),o.hovertemplate=s.hovertemplate,o.color=A(s,b),o.xLabelVal=o.yLabelVal=void 0,b.s<0&&(o.idealAlign=\"left\"),[o]}}}}),fF=ke({\"src/traces/barpolar/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"barpolar\",basePlotModule:Eb(),categories:[\"polar\",\"bar\",\"showLegend\"],attributes:GM(),layoutAttributes:WM(),supplyDefaults:sF(),supplyLayoutDefaults:lF(),calc:XM().calc,crossTraceCalc:XM().crossTraceCalc,plot:uF(),colorbar:Bh(),formatLabels:kb(),style:Yd().style,styleOnSelect:Yd().styleOnSelect,hoverPoints:cF(),selectPoints:ey(),meta:{}}}}),hF=ke({\"lib/barpolar.js\"(Z,H){\"use strict\";H.exports=fF()}}),ZM=ke({\"src/plots/smith/constants.js\"(Z,H){\"use strict\";H.exports={attr:\"subplot\",name:\"smith\",axisNames:[\"realaxis\",\"imaginaryaxis\"],axisName2dataArray:{imaginaryaxis:\"imag\",realaxis:\"real\"}}}}),YM=ke({\"src/plots/smith/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},\"plot\",\"from-root\"),r=e({ticklen:x.ticklen,tickwidth:S({},x.tickwidth,{dflt:2}),tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,tickfont:x.tickfont,tickformat:x.tickformat,hoverformat:x.hoverformat,layer:x.layer},\"plot\",\"from-root\"),o=S({visible:S({},x.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:\"data_array\",editType:\"plot\"},tickangle:S({},x.tickangle,{dflt:90}),ticks:{valType:\"enumerated\",values:[\"top\",\"bottom\",\"\"],editType:\"ticks\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\"],dflt:\"top\",editType:\"plot\"},editType:\"calc\"},t,r),n=S({visible:S({},x.visible,{dflt:!0}),tickvals:{valType:\"data_array\",editType:\"plot\"},ticks:x.ticks,editType:\"calc\"},t,r);H.exports={domain:A({name:\"smith\",editType:\"plot\"}),bgcolor:{valType:\"color\",editType:\"plot\",dflt:g.background},realaxis:o,imaginaryaxis:n,editType:\"calc\"}}}),dF=ke({\"src/plots/smith/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=zp(),r=Dp(),o=o0(),n=Cv(),i=YM(),a=ZM(),s=a.axisNames,c=p(function(d){return g.isTypedArray(d)&&(d=Array.from(d)),d.slice().reverse().map(function(T){return-T}).concat([0]).concat(d)},String);function h(d,T,l,_){var w=l(\"bgcolor\");_.bgColor=x.combine(w,_.paper_bgcolor);var M=e(_.fullData,a.name,_.id),E=_.layoutOut,m;function b(U,W){return l(m+\".\"+U,W)}for(var v=0;v\")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),xF=ke({\"src/traces/scattersmith/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"scattersmith\",basePlotModule:vF(),categories:[\"smith\",\"symbols\",\"showLegend\",\"scatter-like\"],attributes:KM(),supplyDefaults:pF(),colorbar:Bh(),formatLabels:mF(),calc:gF(),plot:yF(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:_F().hoverPoints,selectPoints:$g(),meta:{}}}}),bF=ke({\"lib/scattersmith.js\"(Z,H){\"use strict\";H.exports=xF()}}),Yh=ke({\"node_modules/world-calendars/dist/main.js\"(Z,H){var g=Rf();function x(){this.regionalOptions=[],this.regionalOptions[\"\"]={invalidCalendar:\"Calendar {0} not found\",invalidDate:\"Invalid {0} date\",invalidMonth:\"Invalid {0} month\",invalidYear:\"Invalid {0} year\",differentCalendars:\"Cannot mix {0} and {1} dates\"},this.local=this.regionalOptions[\"\"],this.calendars={},this._localCals={}}g(x.prototype,{instance:function(o,n){o=(o||\"gregorian\").toLowerCase(),n=n||\"\";var i=this._localCals[o+\"-\"+n];if(!i&&this.calendars[o]&&(i=new this.calendars[o](n),this._localCals[o+\"-\"+n]=i),!i)throw(this.local.invalidCalendar||this.regionalOptions[\"\"].invalidCalendar).replace(/\\{0\\}/,o);return i},newDate:function(o,n,i,a,s){return a=(o!=null&&o.year?o.calendar():typeof a==\"string\"?this.instance(a,s):a)||this.instance(),a.newDate(o,n,i)},substituteDigits:function(o){return function(n){return(n+\"\").replace(/[0-9]/g,function(i){return o[i]})}},substituteChineseDigits:function(o,n){return function(i){for(var a=\"\",s=0;i>0;){var c=i%10;a=(c===0?\"\":o[c]+n[s])+a,s++,i=Math.floor(i/10)}return a.indexOf(o[1]+n[1])===0&&(a=a.substr(1)),a||o[0]}}});function A(o,n,i,a){if(this._calendar=o,this._year=n,this._month=i,this._day=a,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(r.local.invalidDate||r.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name)}function S(o,n){return o=\"\"+o,\"000000\".substring(0,n-o.length)+o}g(A.prototype,{newDate:function(o,n,i){return this._calendar.newDate(o??this,n,i)},year:function(o){return arguments.length===0?this._year:this.set(o,\"y\")},month:function(o){return arguments.length===0?this._month:this.set(o,\"m\")},day:function(o){return arguments.length===0?this._day:this.set(o,\"d\")},date:function(o,n,i){if(!this._calendar.isValid(o,n,i))throw(r.local.invalidDate||r.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name);return this._year=o,this._month=n,this._day=i,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,n){return this._calendar.add(this,o,n)},set:function(o,n){return this._calendar.set(this,o,n)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(r.local.differentCalendars||r.regionalOptions[\"\"].differentCalendars).replace(/\\{0\\}/,this._calendar.local.name).replace(/\\{1\\}/,o._calendar.local.name);var n=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?\"-\":\"\")+S(Math.abs(this.year()),4)+\"-\"+S(this.month(),2)+\"-\"+S(this.day(),2)}});function e(){this.shortYearCutoff=\"+10\"}g(e.prototype,{_validateLevel:0,newDate:function(o,n,i){return o==null?this.today():(o.year&&(this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),i=o.day(),n=o.month(),o=o.year()),new A(this,o,n,i))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return(n.year()<0?\"-\":\"\")+S(Math.abs(n.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear),12},monthOfYear:function(o,n){var i=this._validate(o,n,this.minDay,r.local.invalidMonth||r.regionalOptions[\"\"].invalidMonth);return(i.month()+this.monthsInYear(i)-this.firstMonth)%this.monthsInYear(i)+this.minMonth},fromMonthOfYear:function(o,n){var i=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,i,this.minDay,r.local.invalidMonth||r.regionalOptions[\"\"].invalidMonth),i},daysInYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);return a.toJD()-this.newDate(a.year(),this.fromMonthOfYear(a.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);return(Math.floor(this.toJD(a))+2)%this.daysInWeek()},extraInfo:function(o,n,i){return this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),{}},add:function(o,n,i){return this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),this._correctAdd(o,this._add(o,n,i),n,i)},_add:function(o,n,i){if(this._validateLevel++,i===\"d\"||i===\"w\"){var a=o.toJD()+n*(i===\"w\"?this.daysInWeek():1),s=o.calendar().fromJD(a);return this._validateLevel--,[s.year(),s.month(),s.day()]}try{var c=o.year()+(i===\"y\"?n:0),h=o.monthOfYear()+(i===\"m\"?n:0),s=o.day(),p=function(l){for(;h_-1+l.minMonth;)c++,h-=_,_=l.monthsInYear(c)};i===\"y\"?(o.month()!==this.fromMonthOfYear(c,h)&&(h=this.newDate(c,o.month(),this.minDay).monthOfYear()),h=Math.min(h,this.monthsInYear(c)),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h)))):i===\"m\"&&(p(this),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h))));var d=[c,this.fromMonthOfYear(c,h),s];return this._validateLevel--,d}catch(T){throw this._validateLevel--,T}},_correctAdd:function(o,n,i,a){if(!this.hasYearZero&&(a===\"y\"||a===\"m\")&&(n[0]===0||o.year()>0!=n[0]>0)){var s={y:[1,1,\"y\"],m:[1,this.monthsInYear(-1),\"m\"],w:[this.daysInWeek(),this.daysInYear(-1),\"d\"],d:[1,this.daysInYear(-1),\"d\"]}[a],c=i<0?-1:1;n=this._add(o,i*s[0]+c*s[1],s[2])}return o.date(n[0],n[1],n[2])},set:function(o,n,i){this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);var a=i===\"y\"?n:o.year(),s=i===\"m\"?n:o.month(),c=i===\"d\"?n:o.day();return(i===\"y\"||i===\"m\")&&(c=Math.min(c,this.daysInMonth(a,s))),o.date(a,s,c)},isValid:function(o,n,i){this._validateLevel++;var a=this.hasYearZero||o!==0;if(a){var s=this.newDate(o,n,this.minDay);a=n>=this.minMonth&&n-this.minMonth=this.minDay&&i-this.minDay13.5?13:1),T=s-(d>2.5?4716:4715);return T<=0&&T--,this.newDate(T,d,p)},toJSDate:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),s=new Date(a.year(),a.month()-1,a.day());return s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0),s.setHours(s.getHours()>12?s.getHours()+2:0),s},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var r=H.exports=new x;r.cdate=A,r.baseCalendar=e,r.calendars.gregorian=t}}),wF=ke({\"node_modules/world-calendars/dist/plus.js\"(){var Z=Rf(),H=Yh();Z(H.regionalOptions[\"\"],{invalidArguments:\"Invalid arguments\",invalidFormat:\"Cannot format a date from another calendar\",missingNumberAt:\"Missing number at position {0}\",unknownNameAt:\"Unknown name at position {0}\",unexpectedLiteralAt:\"Unexpected literal at position {0}\",unexpectedText:\"Additional text found at end\"}),H.local=H.regionalOptions[\"\"],Z(H.cdate.prototype,{formatDate:function(g,x){return typeof g!=\"string\"&&(x=g,g=\"\"),this._calendar.formatDate(g||\"\",this,x)}}),Z(H.baseCalendar.prototype,{UNIX_EPOCH:H.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:H.instance().jdEpoch,TICKS_PER_DAY:24*60*60*1e7,ATOM:\"yyyy-mm-dd\",COOKIE:\"D, dd M yyyy\",FULL:\"DD, MM d, yyyy\",ISO_8601:\"yyyy-mm-dd\",JULIAN:\"J\",RFC_822:\"D, d M yy\",RFC_850:\"DD, dd-M-yy\",RFC_1036:\"D, d M yy\",RFC_1123:\"D, d M yyyy\",RFC_2822:\"D, d M yyyy\",RSS:\"D, d M yy\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yyyy-mm-dd\",formatDate:function(g,x,A){if(typeof g!=\"string\"&&(A=x,x=g,g=\"\"),!x)return\"\";if(x.calendar()!==this)throw H.local.invalidFormat||H.regionalOptions[\"\"].invalidFormat;g=g||this.local.dateFormat,A=A||{};for(var S=A.dayNamesShort||this.local.dayNamesShort,e=A.dayNames||this.local.dayNames,t=A.monthNumbers||this.local.monthNumbers,r=A.monthNamesShort||this.local.monthNamesShort,o=A.monthNames||this.local.monthNames,n=A.calculateWeek||this.local.calculateWeek,i=function(M,E){for(var m=1;w+m1},a=function(M,E,m,b){var v=\"\"+E;if(i(M,b))for(;v.length1},_=function(P,L){var z=l(P,L),F=[2,3,z?4:2,z?4:2,10,11,20][\"oyYJ@!\".indexOf(P)+1],B=new RegExp(\"^-?\\\\d{1,\"+F+\"}\"),O=x.substring(v).match(B);if(!O)throw(H.local.missingNumberAt||H.regionalOptions[\"\"].missingNumberAt).replace(/\\{0\\}/,v);return v+=O[0].length,parseInt(O[0],10)},w=this,M=function(){if(typeof o==\"function\"){l(\"m\");var P=o.call(w,x.substring(v));return v+=P.length,P}return _(\"m\")},E=function(P,L,z,F){for(var B=l(P,F)?z:L,O=0;O-1){c=1,h=p;for(var f=this.daysInMonth(s,c);h>f;f=this.daysInMonth(s,c))c++,h-=f}return a>-1?this.fromJD(a):this.newDate(s,c,h)},determineDate:function(g,x,A,S,e){A&&typeof A!=\"object\"&&(e=S,S=A,A=null),typeof S!=\"string\"&&(e=S,S=\"\");var t=this,r=function(o){try{return t.parseDate(S,o,e)}catch{}o=o.toLowerCase();for(var n=(o.match(/^c/)&&A?A.newDate():null)||t.today(),i=/([+-]?[0-9]+)\\s*(d|w|m|y)?/g,a=i.exec(o);a;)n.add(parseInt(a[1],10),a[2]||\"d\"),a=i.exec(o);return n};return x=x?x.newDate():null,g=g==null?x:typeof g==\"string\"?r(g):typeof g==\"number\"?isNaN(g)||g===1/0||g===-1/0?x:t.today().add(g,\"d\"):t.newDate(g),g}})}}),TF=ke({\"node_modules/world-calendars/dist/calendars/chinese.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(a){this.local=this.regionalOptions[a||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Chinese\",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{\"\":{name:\"Chinese\",epochs:[\"BEC\",\"EC\"],monthNumbers:function(a,s){if(typeof a==\"string\"){var c=a.match(S);return c?c[0]:\"\"}var h=this._validateYear(a),p=a.month(),d=\"\"+this.toChineseMonth(h,p);return s&&d.length<2&&(d=\"0\"+d),this.isIntercalaryMonth(h,p)&&(d+=\"i\"),d},monthNames:function(a){if(typeof a==\"string\"){var s=a.match(e);return s?s[0]:\"\"}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=[\"\\u4E00\\u6708\",\"\\u4E8C\\u6708\",\"\\u4E09\\u6708\",\"\\u56DB\\u6708\",\"\\u4E94\\u6708\",\"\\u516D\\u6708\",\"\\u4E03\\u6708\",\"\\u516B\\u6708\",\"\\u4E5D\\u6708\",\"\\u5341\\u6708\",\"\\u5341\\u4E00\\u6708\",\"\\u5341\\u4E8C\\u6708\"][p-1];return this.isIntercalaryMonth(c,h)&&(d=\"\\u95F0\"+d),d},monthNamesShort:function(a){if(typeof a==\"string\"){var s=a.match(t);return s?s[0]:\"\"}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"][p-1];return this.isIntercalaryMonth(c,h)&&(d=\"\\u95F0\"+d),d},parseMonth:function(a,s){a=this._validateYear(a);var c=parseInt(s),h;if(isNaN(c))s[0]===\"\\u95F0\"&&(h=!0,s=s.substring(1)),s[s.length-1]===\"\\u6708\"&&(s=s.substring(0,s.length-1)),c=1+[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"].indexOf(s);else{var p=s[s.length-1];h=p===\"i\"||p===\"I\"}var d=this.toMonthIndex(a,c,h);return d},dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},_validateYear:function(a,s){if(a.year&&(a=a.year()),typeof a!=\"number\"||a<1888||a>2111)throw s.replace(/\\{0\\}/,this.local.name);return a},toMonthIndex:function(a,s,c){var h=this.intercalaryMonth(a),p=c&&s!==h;if(p||s<1||s>12)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var d;return h?!c&&s<=h?d=s-1:d=s:d=s-1,d},toChineseMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a),h=c?12:11;if(s<0||s>h)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var p;return c?s>13;return c},isIntercalaryMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a);return!!c&&c===s},leapYear:function(a){return this.intercalaryMonth(a)!==0},weekOfYear:function(a,s,c){var h=this._validateYear(a,Z.local.invalidyear),p=o[h-o[0]],d=p>>9&4095,T=p>>5&15,l=p&31,_;_=g.newDate(d,T,l),_.add(4-(_.dayOfWeek()||7),\"d\");var w=this.toJD(a,s,c)-_.toJD();return 1+Math.floor(w/7)},monthsInYear:function(a){return this.leapYear(a)?13:12},daysInMonth:function(a,s){a.year&&(s=a.month(),a=a.year()),a=this._validateYear(a);var c=r[a-r[0]],h=c>>13,p=h?12:11;if(s>p)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var d=c&1<<12-s?30:29;return d},weekDay:function(a,s,c){return(this.dayOfWeek(a,s,c)||7)<6},toJD:function(a,s,c){var h=this._validate(a,d,c,Z.local.invalidDate);a=this._validateYear(h.year()),s=h.month(),c=h.day();var p=this.isIntercalaryMonth(a,s),d=this.toChineseMonth(a,s),T=i(a,d,c,p);return g.toJD(T.year,T.month,T.day)},fromJD:function(a){var s=g.fromJD(a),c=n(s.year(),s.month(),s.day()),h=this.toMonthIndex(c.year,c.month,c.isIntercalary);return this.newDate(c.year,h,c.day)},fromString:function(a){var s=a.match(A),c=this._validateYear(+s[1]),h=+s[2],p=!!s[3],d=this.toMonthIndex(c,h,p),T=+s[4];return this.newDate(c,d,T)},add:function(a,s,c){var h=a.year(),p=a.month(),d=this.isIntercalaryMonth(h,p),T=this.toChineseMonth(h,p),l=Object.getPrototypeOf(x.prototype).add.call(this,a,s,c);if(c===\"y\"){var _=l.year(),w=l.month(),M=this.isIntercalaryMonth(_,T),E=d&&M?this.toMonthIndex(_,T,!0):this.toMonthIndex(_,T,!1);E!==w&&l.month(E)}return l}});var A=/^\\s*(-?\\d\\d\\d\\d|\\d\\d)[-/](\\d?\\d)([iI]?)[-/](\\d?\\d)/m,S=/^\\d?\\d[iI]?/m,e=/^闰?十?[一二三四五六七八九]?月/m,t=/^闰?十?[一二三四五六七八九]?/m;Z.calendars.chinese=x;var r=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],o=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function n(a,s,c,h){var p,d;if(typeof a==\"object\")p=a,d=s||{};else{var T=typeof a==\"number\"&&a>=1888&&a<=2111;if(!T)throw new Error(\"Solar year outside range 1888-2111\");var l=typeof s==\"number\"&&s>=1&&s<=12;if(!l)throw new Error(\"Solar month outside range 1 - 12\");var _=typeof c==\"number\"&&c>=1&&c<=31;if(!_)throw new Error(\"Solar day outside range 1 - 31\");p={year:a,month:s,day:c},d=h||{}}var w=o[p.year-o[0]],M=p.year<<9|p.month<<5|p.day;d.year=M>=w?p.year:p.year-1,w=o[d.year-o[0]];var E=w>>9&4095,m=w>>5&15,b=w&31,v,u=new Date(E,m-1,b),y=new Date(p.year,p.month-1,p.day);v=Math.round((y-u)/(24*3600*1e3));var f=r[d.year-r[0]],P;for(P=0;P<13;P++){var L=f&1<<12-P?30:29;if(v>13;return!z||P=1888&&a<=2111;if(!l)throw new Error(\"Lunar year outside range 1888-2111\");var _=typeof s==\"number\"&&s>=1&&s<=12;if(!_)throw new Error(\"Lunar month outside range 1 - 12\");var w=typeof c==\"number\"&&c>=1&&c<=30;if(!w)throw new Error(\"Lunar day outside range 1 - 30\");var M;typeof h==\"object\"?(M=!1,d=h):(M=!!h,d=p||{}),T={year:a,month:s,day:c,isIntercalary:M}}var E;E=T.day-1;var m=r[T.year-r[0]],b=m>>13,v;b&&(T.month>b||T.isIntercalary)?v=T.month:v=T.month-1;for(var u=0;u>9&4095,L=f>>5&15,z=f&31,F=new Date(P,L-1,z+E);return d.year=F.getFullYear(),d.month=1+F.getMonth(),d.day=F.getDate(),d}}}),AF=ke({\"node_modules/world-calendars/dist/calendars/coptic.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Coptic\",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Coptic\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Thout\",\"Paopi\",\"Hathor\",\"Koiak\",\"Tobi\",\"Meshir\",\"Paremhat\",\"Paremoude\",\"Pashons\",\"Paoni\",\"Epip\",\"Mesori\",\"Pi Kogi Enavot\"],monthNamesShort:[\"Tho\",\"Pao\",\"Hath\",\"Koi\",\"Tob\",\"Mesh\",\"Pat\",\"Pad\",\"Pash\",\"Pao\",\"Epi\",\"Meso\",\"PiK\"],dayNames:[\"Tkyriaka\",\"Pesnau\",\"Pshoment\",\"Peftoou\",\"Ptiou\",\"Psoou\",\"Psabbaton\"],dayNamesShort:[\"Tky\",\"Pes\",\"Psh\",\"Pef\",\"Pti\",\"Pso\",\"Psa\"],dayNamesMin:[\"Tk\",\"Pes\",\"Psh\",\"Pef\",\"Pt\",\"Pso\",\"Psa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.coptic=g}}),MF=ke({\"node_modules/world-calendars/dist/calendars/discworld.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Discworld\",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Discworld\",epochs:[\"BUC\",\"UC\"],monthNames:[\"Ick\",\"Offle\",\"February\",\"March\",\"April\",\"May\",\"June\",\"Grune\",\"August\",\"Spune\",\"Sektober\",\"Ember\",\"December\"],monthNamesShort:[\"Ick\",\"Off\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Gru\",\"Aug\",\"Spu\",\"Sek\",\"Emb\",\"Dec\"],dayNames:[\"Sunday\",\"Octeday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Oct\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Oc\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:2,isRTL:!1}},leapYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),!1},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),13},daysInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),400},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/8)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return(t.day()+1)%8},weekDay:function(A,S,e){var t=this.dayOfWeek(A,S,e);return t>=2&&t<=6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{century:x[Math.floor((t.year()-1)/100)+1]||\"\"}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return A=t.year()+(t.year()<0?1:0),S=t.month(),e=t.day(),e+(S>1?16:0)+(S>2?(S-2)*32:0)+(A-1)*400+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A+.5)-Math.floor(this.jdEpoch)-1;var S=Math.floor(A/400)+1;A-=(S-1)*400,A+=A>15?16:0;var e=Math.floor(A/32)+1,t=A-(e-1)*32+1;return this.newDate(S<=0?S-1:S,e,t)}});var x={20:\"Fruitbat\",21:\"Anchovy\"};Z.calendars.discworld=g}}),SF=ke({\"node_modules/world-calendars/dist/calendars/ethiopian.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Ethiopian\",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Ethiopian\",epochs:[\"BEE\",\"EE\"],monthNames:[\"Meskerem\",\"Tikemet\",\"Hidar\",\"Tahesas\",\"Tir\",\"Yekatit\",\"Megabit\",\"Miazia\",\"Genbot\",\"Sene\",\"Hamle\",\"Nehase\",\"Pagume\"],monthNamesShort:[\"Mes\",\"Tik\",\"Hid\",\"Tah\",\"Tir\",\"Yek\",\"Meg\",\"Mia\",\"Gen\",\"Sen\",\"Ham\",\"Neh\",\"Pag\"],dayNames:[\"Ehud\",\"Segno\",\"Maksegno\",\"Irob\",\"Hamus\",\"Arb\",\"Kidame\"],dayNamesShort:[\"Ehu\",\"Seg\",\"Mak\",\"Iro\",\"Ham\",\"Arb\",\"Kid\"],dayNamesMin:[\"Eh\",\"Se\",\"Ma\",\"Ir\",\"Ha\",\"Ar\",\"Ki\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.ethiopian=g}}),EF=ke({\"node_modules/world-calendars/dist/calendars/hebrew.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Hebrew\",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{\"\":{name:\"Hebrew\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Nisan\",\"Iyar\",\"Sivan\",\"Tammuz\",\"Av\",\"Elul\",\"Tishrei\",\"Cheshvan\",\"Kislev\",\"Tevet\",\"Shevat\",\"Adar\",\"Adar II\"],monthNamesShort:[\"Nis\",\"Iya\",\"Siv\",\"Tam\",\"Av\",\"Elu\",\"Tis\",\"Che\",\"Kis\",\"Tev\",\"She\",\"Ada\",\"Ad2\"],dayNames:[\"Yom Rishon\",\"Yom Sheni\",\"Yom Shlishi\",\"Yom Revi'i\",\"Yom Chamishi\",\"Yom Shishi\",\"Yom Shabbat\"],dayNamesShort:[\"Ris\",\"She\",\"Shl\",\"Rev\",\"Cha\",\"Shi\",\"Sha\"],dayNamesMin:[\"Ri\",\"She\",\"Shl\",\"Re\",\"Ch\",\"Shi\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this._leapYear(S.year())},_leapYear:function(A){return A=A<0?A+1:A,x(A*7+1,19)<7},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),this._leapYear(A.year?A.year():A)?13:12},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return A=S.year(),this.toJD(A===-1?1:A+1,7,1)-this.toJD(A,7,1)},daysInMonth:function(A,S){return A.year&&(S=A.month(),A=A.year()),this._validate(A,S,this.minDay,Z.local.invalidMonth),S===12&&this.leapYear(A)||S===8&&x(this.daysInYear(A),10)===5?30:S===9&&x(this.daysInYear(A),10)===3?29:this.daysPerMonth[S-1]},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{yearType:(this.leapYear(t)?\"embolismic\":\"common\")+\" \"+[\"deficient\",\"regular\",\"complete\"][this.daysInYear(t)%10-3]}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A<=0?A+1:A,o=this.jdEpoch+this._delay1(r)+this._delay2(r)+e+1;if(S<7){for(var n=7;n<=this.monthsInYear(A);n++)o+=this.daysInMonth(A,n);for(var n=1;n=this.toJD(S===-1?1:S+1,7,1);)S++;for(var e=Athis.toJD(S,e,this.daysInMonth(S,e));)e++;var t=A-this.toJD(S,e,1)+1;return this.newDate(S,e,t)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.hebrew=g}}),CF=ke({\"node_modules/world-calendars/dist/calendars/islamic.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Islamic\",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Islamic\",epochs:[\"BH\",\"AH\"],monthNames:[\"Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' al-thani\",\"Jumada al-awwal\",\"Jumada al-thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-ahad\",\"Yawm al-ithnayn\",\"Yawm ath-thulaathaa'\",\"Yawm al-arbi'aa'\",\"Yawm al-kham\\u012Bs\",\"Yawm al-jum'a\",\"Yawm as-sabt\"],dayNamesShort:[\"Aha\",\"Ith\",\"Thu\",\"Arb\",\"Kha\",\"Jum\",\"Sab\"],dayNamesMin:[\"Ah\",\"It\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);return(A.year()*11+14)%30<11},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){return this.leapYear(x)?355:354},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===12&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==5},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x=x<=0?x+1:x,S+Math.ceil(29.5*(A-1))+(x-1)*354+Math.floor((3+11*x)/30)+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x)+.5;var A=Math.floor((30*(x-this.jdEpoch)+10646)/10631);A=A<=0?A-1:A;var S=Math.min(12,Math.ceil((x-29-this.toJD(A,1,1))/29.5)+1),e=x-this.toJD(A,S,1)+1;return this.newDate(A,S,e)}}),Z.calendars.islamic=g}}),kF=ke({\"node_modules/world-calendars/dist/calendars/julian.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Julian\",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Julian\",epochs:[\"BC\",\"AD\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm/dd/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()<0?A.year()+1:A.year();return S%4===0},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(4-(e.dayOfWeek()||7),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===2&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x<0&&x++,A<=2&&(x--,A+=12),Math.floor(365.25*(x+4716))+Math.floor(30.6001*(A+1))+S-1524.5},fromJD:function(x){var A=Math.floor(x+.5),S=A+1524,e=Math.floor((S-122.1)/365.25),t=Math.floor(365.25*e),r=Math.floor((S-t)/30.6001),o=r-Math.floor(r<14?1:13),n=e-Math.floor(o>2?4716:4715),i=S-t-Math.floor(30.6001*r);return n<=0&&n--,this.newDate(n,o,i)}}),Z.calendars.julian=g}}),LF=ke({\"node_modules/world-calendars/dist/calendars/mayan.js\"(){var Z=Yh(),H=Rf();function g(S){this.local=this.regionalOptions[S||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Mayan\",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{\"\":{name:\"Mayan\",epochs:[\"\",\"\"],monthNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],monthNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],dayNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesMin:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],digits:null,dateFormat:\"YYYY.m.d\",firstDay:0,isRTL:!1,haabMonths:[\"Pop\",\"Uo\",\"Zip\",\"Zotz\",\"Tzec\",\"Xul\",\"Yaxkin\",\"Mol\",\"Chen\",\"Yax\",\"Zac\",\"Ceh\",\"Mac\",\"Kankin\",\"Muan\",\"Pax\",\"Kayab\",\"Cumku\",\"Uayeb\"],tzolkinMonths:[\"Imix\",\"Ik\",\"Akbal\",\"Kan\",\"Chicchan\",\"Cimi\",\"Manik\",\"Lamat\",\"Muluc\",\"Oc\",\"Chuen\",\"Eb\",\"Ben\",\"Ix\",\"Men\",\"Cib\",\"Caban\",\"Etznab\",\"Cauac\",\"Ahau\"]}},leapYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),!1},formatYear:function(S){var e=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear);S=e.year();var t=Math.floor(S/400);S=S%400,S+=S<0?400:0;var r=Math.floor(S/20);return t+\".\"+r+\".\"+S%20},forYear:function(S){if(S=S.split(\".\"),S.length<3)throw\"Invalid Mayan year\";for(var e=0,t=0;t19||t>0&&r<0)throw\"Invalid Mayan year\";e=e*20+r}return e},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),18},weekOfYear:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),0},daysInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),360},daysInMonth:function(S,e){return this._validate(S,e,this.minDay,Z.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()},weekDay:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),!0},extraInfo:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate),o=r.toJD(),n=this._toHaab(o),i=this._toTzolkin(o);return{haabMonthName:this.local.haabMonths[n[0]-1],haabMonth:n[0],haabDay:n[1],tzolkinDayName:this.local.tzolkinMonths[i[0]-1],tzolkinDay:i[0],tzolkinTrecena:i[1]}},_toHaab:function(S){S-=this.jdEpoch;var e=x(S+8+17*20,365);return[Math.floor(e/20)+1,x(e,20)]},_toTzolkin:function(S){return S-=this.jdEpoch,[A(S+20,20),A(S+4,13)]},toJD:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()+r.month()*20+r.year()*360+this.jdEpoch},fromJD:function(S){S=Math.floor(S)+.5-this.jdEpoch;var e=Math.floor(S/360);S=S%360,S+=S<0?360:0;var t=Math.floor(S/20),r=S%20;return this.newDate(e,t,r)}});function x(S,e){return S-e*Math.floor(S/e)}function A(S,e){return x(S-1,e)+1}Z.calendars.mayan=g}}),PF=ke({\"node_modules/world-calendars/dist/calendars/nanakshahi.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar;var x=Z.instance(\"gregorian\");H(g.prototype,{name:\"Nanakshahi\",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Nanakshahi\",epochs:[\"BN\",\"AN\"],monthNames:[\"Chet\",\"Vaisakh\",\"Jeth\",\"Harh\",\"Sawan\",\"Bhadon\",\"Assu\",\"Katak\",\"Maghar\",\"Poh\",\"Magh\",\"Phagun\"],monthNamesShort:[\"Che\",\"Vai\",\"Jet\",\"Har\",\"Saw\",\"Bha\",\"Ass\",\"Kat\",\"Mgr\",\"Poh\",\"Mgh\",\"Pha\"],dayNames:[\"Somvaar\",\"Mangalvar\",\"Budhvaar\",\"Veervaar\",\"Shukarvaar\",\"Sanicharvaar\",\"Etvaar\"],dayNamesShort:[\"Som\",\"Mangal\",\"Budh\",\"Veer\",\"Shukar\",\"Sanichar\",\"Et\"],dayNamesMin:[\"So\",\"Ma\",\"Bu\",\"Ve\",\"Sh\",\"Sa\",\"Et\"],digits:null,dateFormat:\"dd-mm-yyyy\",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear);return x.leapYear(S.year()+(S.year()<1?1:0)+1469)},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(1-(t.dayOfWeek()||7),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidMonth),r=t.year();r<0&&r++;for(var o=t.day(),n=1;n=this.toJD(S+1,1,1);)S++;for(var e=A-Math.floor(this.toJD(S,1,1)+.5)+1,t=1;e>this.daysInMonth(S,t);)e-=this.daysInMonth(S,t),t++;return this.newDate(S,t,e)}}),Z.calendars.nanakshahi=g}}),IF=ke({\"node_modules/world-calendars/dist/calendars/nepali.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Nepali\",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{\"\":{name:\"Nepali\",epochs:[\"BBS\",\"ABS\"],monthNames:[\"Baisakh\",\"Jestha\",\"Ashadh\",\"Shrawan\",\"Bhadra\",\"Ashwin\",\"Kartik\",\"Mangsir\",\"Paush\",\"Mangh\",\"Falgun\",\"Chaitra\"],monthNamesShort:[\"Bai\",\"Je\",\"As\",\"Shra\",\"Bha\",\"Ash\",\"Kar\",\"Mang\",\"Pau\",\"Ma\",\"Fal\",\"Chai\"],dayNames:[\"Aaitabaar\",\"Sombaar\",\"Manglbaar\",\"Budhabaar\",\"Bihibaar\",\"Shukrabaar\",\"Shanibaar\"],dayNamesShort:[\"Aaita\",\"Som\",\"Mangl\",\"Budha\",\"Bihi\",\"Shukra\",\"Shani\"],dayNamesMin:[\"Aai\",\"So\",\"Man\",\"Bu\",\"Bi\",\"Shu\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:1,isRTL:!1}},leapYear:function(x){return this.daysInYear(x)!==this.daysPerYear},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);if(x=A.year(),typeof this.NEPALI_CALENDAR_DATA[x]>\"u\")return this.daysPerYear;for(var S=0,e=this.minMonth;e<=12;e++)S+=this.NEPALI_CALENDAR_DATA[x][e];return S},daysInMonth:function(x,A){return x.year&&(A=x.month(),x=x.year()),this._validate(x,A,this.minDay,Z.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[x]>\"u\"?this.daysPerMonth[A-1]:this.NEPALI_CALENDAR_DATA[x][A]},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);x=e.year(),A=e.month(),S=e.day();var t=Z.instance(),r=0,o=A,n=x;this._createMissingCalendarData(x);var i=x-(o>9||o===9&&S>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(A!==9&&(r=S,o--);o!==9;)o<=0&&(o=12,n--),r+=this.NEPALI_CALENDAR_DATA[n][o],o--;return A===9?(r+=S-this.NEPALI_CALENDAR_DATA[n][0],r<0&&(r+=t.daysInYear(i))):r+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],t.newDate(i,1,1).add(r,\"d\").toJD()},fromJD:function(x){var A=Z.instance(),S=A.fromJD(x),e=S.year(),t=S.dayOfYear(),r=e+56;this._createMissingCalendarData(r);for(var o=9,n=this.NEPALI_CALENDAR_DATA[r][0],i=this.NEPALI_CALENDAR_DATA[r][o]-n+1;t>i;)o++,o>12&&(o=1,r++),i+=this.NEPALI_CALENDAR_DATA[r][o];var a=this.NEPALI_CALENDAR_DATA[r][o]-(i-t);return this.newDate(r,o,a)},_createMissingCalendarData:function(x){var A=this.daysPerMonth.slice(0);A.unshift(17);for(var S=x-1;S\"u\"&&(this.NEPALI_CALENDAR_DATA[S]=A)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),Z.calendars.nepali=g}}),RF=ke({\"node_modules/world-calendars/dist/calendars/persian.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Persian\",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Persian\",epochs:[\"BP\",\"AP\"],monthNames:[\"Farvardin\",\"Ordibehesht\",\"Khordad\",\"Tir\",\"Mordad\",\"Shahrivar\",\"Mehr\",\"Aban\",\"Azar\",\"Day\",\"Bahman\",\"Esfand\"],monthNamesShort:[\"Far\",\"Ord\",\"Kho\",\"Tir\",\"Mor\",\"Sha\",\"Meh\",\"Aba\",\"Aza\",\"Day\",\"Bah\",\"Esf\"],dayNames:[\"Yekshambe\",\"Doshambe\",\"Seshambe\",\"Ch\\xE6harshambe\",\"Panjshambe\",\"Jom'e\",\"Shambe\"],dayNamesShort:[\"Yek\",\"Do\",\"Se\",\"Ch\\xE6\",\"Panj\",\"Jom\",\"Sha\"],dayNamesMin:[\"Ye\",\"Do\",\"Se\",\"Ch\",\"Pa\",\"Jo\",\"Sh\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return((S.year()-(S.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-((t.dayOfWeek()+1)%7),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A-(A>=0?474:473),o=474+x(r,2820);return e+(S<=7?(S-1)*31:(S-1)*30+6)+Math.floor((o*682-110)/2816)+(o-1)*365+Math.floor(r/2820)*1029983+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A)+.5;var S=A-this.toJD(475,1,1),e=Math.floor(S/1029983),t=x(S,1029983),r=2820;if(t!==1029982){var o=Math.floor(t/366),n=x(t,366);r=Math.floor((2134*o+2816*n+2815)/1028522)+o+1}var i=r+2820*e+474;i=i<=0?i-1:i;var a=A-this.toJD(i,1,1)+1,s=a<=186?Math.ceil(a/31):Math.ceil((a-6)/30),c=A-this.toJD(i,s,1)+1;return this.newDate(i,s,c)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.persian=g,Z.calendars.jalali=g}}),DF=ke({\"node_modules/world-calendars/dist/calendars/taiwan.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Taiwan\",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Taiwan\",epochs:[\"BROC\",\"ROC\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)},_g2tYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)}}),Z.calendars.taiwan=x}}),zF=ke({\"node_modules/world-calendars/dist/calendars/thai.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Thai\",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Thai\",epochs:[\"BBE\",\"BE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)},_g2tYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)}}),Z.calendars.thai=x}}),FF=ke({\"node_modules/world-calendars/dist/calendars/ummalqura.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"UmmAlQura\",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Umm al-Qura\",epochs:[\"BH\",\"AH\"],monthNames:[\"Al-Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' Al-Thani\",\"Jumada Al-Awwal\",\"Jumada Al-Thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-Ahad\",\"Yawm al-Ithnain\",\"Yawm al-Thal\\u0101th\\u0101\\u2019\",\"Yawm al-Arba\\u2018\\u0101\\u2019\",\"Yawm al-Kham\\u012Bs\",\"Yawm al-Jum\\u2018a\",\"Yawm al-Sabt\"],dayNamesMin:[\"Ah\",\"Ith\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!0}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this.daysInYear(S.year())===355},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){for(var S=0,e=1;e<=12;e++)S+=this.daysInMonth(A,e);return S},daysInMonth:function(A,S){for(var e=this._validate(A,S,this.minDay,Z.local.invalidMonth),t=e.toJD()-24e5+.5,r=0,o=0;ot)return x[r]-x[r-1];r++}return 30},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate),r=12*(t.year()-1)+t.month()-15292,o=t.day()+x[r-1]-1;return o+24e5-.5},fromJD:function(A){for(var S=A-24e5+.5,e=0,t=0;tS);t++)e++;var r=e+15292,o=Math.floor((r-1)/12),n=o+1,i=r-12*o,a=S-x[e-1]+1;return this.newDate(n,i,a)},isValid:function(A,S,e){var t=Z.baseCalendar.prototype.isValid.apply(this,arguments);return t&&(A=A.year!=null?A.year:A,t=A>=1276&&A<=1500),t},_validate:function(A,S,e,t){var r=Z.baseCalendar.prototype._validate.apply(this,arguments);if(r.year<1276||r.year>1500)throw t.replace(/\\{0\\}/,this.local.name);return r}}),Z.calendars.ummalqura=g;var x=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]}}),OF=ke({\"src/components/calendars/calendars.js\"(Z,H){\"use strict\";H.exports=Yh(),wF(),TF(),AF(),MF(),SF(),EF(),CF(),kF(),LF(),PF(),IF(),RF(),DF(),zF(),FF()}}),BF=ke({\"src/components/calendars/index.js\"(Z,H){\"use strict\";var g=OF(),x=un(),A=Hi(),S=A.EPOCHJD,e=A.ONEDAY,t={valType:\"enumerated\",values:x.sortObjectKeys(g.calendars),editType:\"calc\",dflt:\"gregorian\"},r=function(m,b,v,u){var y={};return y[v]=t,x.coerce(m,b,y,v,u)},o=function(m,b,v,u){for(var y=0;y0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)<0?(Vn=ms+1,Bi-=Oa+1):Bi=Oa}return Vn}Je.lowerBound=Cr;function Kr(Ii,Ki,$n,Kn,Yn){Kn===void 0&&(Kn=0),Yn===void 0&&(Yn=-1);var Hi=Ii.length;if(Hi===0)return 0;Kn<0?Kn=Math.max(0,Kn+Hi):Kn=Math.min(Kn,Hi-1),Yn<0?Yn=Math.max(0,Yn+Hi):Yn=Math.min(Yn,Hi-1);for(var Vn=Kn,Bi=Yn-Kn+1;Bi>0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)>0?Bi=Oa:(Vn=ms+1,Bi-=Oa+1)}return Vn}Je.upperBound=Kr;function Qr(Ii,Ki,$n){if(Ii===Ki)return!0;if(Ii.length!==Ki.length)return!1;for(var Kn=0,Yn=Ii.length;Kn=Hi&&($n=Yn<0?Hi-1:Hi),Kn===void 0?Kn=Yn<0?-1:Hi:Kn<0?Kn=Math.max(Kn+Hi,Yn<0?-1:0):Kn>=Hi&&(Kn=Yn<0?Hi-1:Hi);var Vn;Yn<0&&Kn>=$n||Yn>0&&$n>=Kn?Vn=0:Yn<0?Vn=Math.floor((Kn-$n+1)/Yn+1):Vn=Math.floor((Kn-$n-1)/Yn+1);for(var Bi=[],Oa=0;Oa=Kn))){var Hi=Kn-$n+1;if(Ki>0?Ki=Ki%Hi:Ki<0&&(Ki=(Ki%Hi+Hi)%Hi),Ki!==0){var Vn=$n+Ki;an(Ii,$n,Vn-1),an(Ii,Vn,Kn),an(Ii,$n,Kn)}}}Je.rotate=Jr;function Er(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn!==0){$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);var Hi;Kn<$n?Hi=Kn+1+(Yn-$n):Hi=Kn-$n+1;for(var Vn=0;VnKi;--Yn)Ii[Yn]=Ii[Yn-1];Ii[Ki]=$n}Je.insert=ke;function Pn(Ii,Ki){var $n=Ii.length;if(Ki<0&&(Ki+=$n),!(Ki<0||Ki>=$n)){for(var Kn=Ii[Ki],Yn=Ki+1;Yn<$n;++Yn)Ii[Yn-1]=Ii[Yn];return Ii.length=$n-1,Kn}}Je.removeAt=Pn;function Ti(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=ze(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeFirstOf=Ti;function Ei(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn=_e(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeLastOf=Ei;function hi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ii[Vn]===Ki||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ii[Vn]===Ki?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllOf=hi;function Xi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn,Hi=De(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeFirstWhere=Xi;function ra(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn,Hi=Mt(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeLastWhere=ra;function _i(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ki(Ii[Vn],Vn)||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ki(Ii[Vn],Vn)?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllWhere=_i})(Wa||(Wa={}));function Pd(Je){var ze;return typeof Je.iter==\"function\"?ze=Je.iter():ze=new IO(Je),ze}function Os(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++)===!1)return}function LS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(!ze(Mt,_e++))return!1;return!0}function PS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++))return!0;return!1}function IS(Je){for(var ze=0,_e=[],De=Pd(Je),Mt;(Mt=De.next())!==void 0;)_e[ze++]=Mt;return _e}var IO=function(){function Je(ze){this._index=0,this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},Je}(),QO=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?ze:this.next()}},Je}(),eB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?this._source[ze]:this.next()}},Je}(),tB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?[ze,this._source[ze]]:this.next()}},Je}(),rB=function(){function Je(ze){this._fn=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){throw new Error(\"An `FnIterator` cannot be cloned.\")},Je.prototype.next=function(){return this._fn.call(void 0)},Je}();function pw(){for(var Je=[],ze=0;ze0&&(Mt=De);return Mt}}function Ap(Je,ze){return new zO(Pd(Je),ze)}var zO=function(){function Je(ze,_e){this._index=0,this._source=ze,this._fn=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source.clone(),this._fn);return ze._index=this._index,ze},Je.prototype.next=function(){var ze=this._source.next();if(ze!==void 0)return this._fn.call(void 0,ze,this._index++)},Je}();var iB=function(){function Je(ze,_e,De){this._index=0,this._start=ze,this._stop=_e,this._step=De,this._length=vw.rangeLength(ze,_e,De)}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._start,this._stop,this._step);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},Je}(),vw;(function(Je){function ze(_e,De,Mt){return Mt===0?1/0:_e>De&&Mt>0||_e=this._source.length))return this._source[this._index--]},Je}();var aB=function(){function Je(ze,_e){this._source=ze,this._step=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._step)},Je.prototype.next=function(){for(var ze=this._source.next(),_e=this._step-1;_e>0;--_e)this._source.next();return ze},Je}(),Lg;(function(Je){function ze(ir,Cr,Kr){Kr===void 0&&(Kr=0);for(var Qr=new Array(Cr.length),bn=0,In=Kr,an=Cr.length;bnCr?1:0}Je.cmp=jt})(Lg||(Lg={}));var oB=function(){function Je(ze,_e){this._source=ze,this._count=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._count)},Je.prototype.next=function(){if(!(this._count<=0)){var ze=this._source.next();if(ze!==void 0)return this._count--,ze}},Je}();var sB=function(){function Je(ze){this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.map(function(ze){return ze.clone()}))},Je.prototype.next=function(){for(var ze=new Array(this._source.length),_e=0,De=this._source.length;_e=Kr.left&&ir=Kr.top&&Cr=Cr.bottom)){if(Kr.topCr.bottom&&Kr.height>=Cr.height){jt.scrollTop-=Cr.top-Kr.top;return}if(Kr.topCr.height){jt.scrollTop-=Cr.bottom-Kr.bottom;return}if(Kr.bottom>Cr.bottom&&Kr.height0;){if(Er(_e)){In++;continue}if(Er(De)){an++;continue}if(Er(Mt)){an++;continue}if(Er(ir)){Jr++;continue}if(Er(Cr)){an++;continue}if(Er(jt)){Jr++;continue}if(!Er(Kr))return 0}return In=Math.min(In,255),an=Math.min(an,255),Jr=Math.min(Jr,255),In<<16|an<<8|Jr}Je.calculateSingle=ze;var _e=/^#[^\\s\\+>~#\\.\\[:]+/,De=/^\\.[^\\s\\+>~#\\.\\[:]+/,Mt=/^\\[[^\\]]+\\]/,jt=/^[^\\s\\+>~#\\.\\[:]+/,ir=/^(::[^\\s\\+>~#\\.\\[:]+|:first-line|:first-letter|:before|:after)/,Cr=/^:[^\\s\\+>~#\\.\\[:]+/,Kr=/^[\\s\\+>~\\*]+/,Qr=/:not\\(([^\\)]+)\\)/g})(av||(av={}));var OS=function(){function Je(ze){this._root=new Xf.LeafNode,this.cmp=ze}return Object.defineProperty(Je.prototype,\"isEmpty\",{get:function(){return this._root.size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"size\",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"first\",{get:function(){var ze=Xf.firstLeaf(this._root);return ze.size>0?ze.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"last\",{get:function(){var ze=Xf.lastLeaf(this._root);return ze.size>0?ze.items[ze.size-1]:void 0},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return Xf.iterItems(this._root)},Je.prototype.retro=function(){return Xf.retroItems(this._root)},Je.prototype.slice=function(ze,_e){return Xf.sliceItems(this._root,ze,_e)},Je.prototype.retroSlice=function(ze,_e){return Xf.retroSliceItems(this._root,ze,_e)},Je.prototype.at=function(ze){return Xf.itemAt(this._root,ze)},Je.prototype.has=function(ze,_e){return Xf.hasItem(this._root,ze,_e)},Je.prototype.indexOf=function(ze,_e){return Xf.indexOf(this._root,ze,_e)},Je.prototype.get=function(ze,_e){return Xf.getItem(this._root,ze,_e)},Je.prototype.assign=function(ze){this.clear(),this.update(ze)},Je.prototype.insert=function(ze){var _e=Xf.insertItem(this._root,ze,this.cmp);return this._root=Xf.maybeSplitRoot(this._root),_e},Je.prototype.update=function(ze){var _e=this;Os(ze,function(De){_e.insert(De)})},Je.prototype.delete=function(ze,_e){var De=Xf.deleteItem(this._root,ze,_e);return this._root=Xf.maybeExtractRoot(this._root),De},Je.prototype.remove=function(ze){var _e=Xf.removeItem(this._root,ze);return this._root=Xf.maybeExtractRoot(this._root),_e},Je.prototype.clear=function(){Xf.clear(this._root),this._root=new Xf.LeafNode},Je}();(function(Je){function ze(_e,De){var Mt=new Je(De);return Mt.assign(_e),Mt}Je.from=ze})(OS||(OS={}));var Xf;(function(Je){var ze=function(){function Vn(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(Vn.prototype,\"type\",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"size\",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"width\",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Vn}();Je.BranchNode=ze;var _e=function(){function Vn(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(Vn.prototype,\"type\",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"size\",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"width\",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Vn}();Je.LeafNode=_e;function De(Vn){for(;Vn.type===0;)Vn=Vn.children[0];return Vn}Je.firstLeaf=De;function Mt(Vn){for(;Vn.type===0;)Vn=Vn.children[Vn.children.length-1];return Vn}Je.lastLeaf=Mt;function jt(Vn){var Bi=De(Vn);return new ra(Bi,0,-1)}Je.iterItems=jt;function ir(Vn){var Bi=Mt(Vn);return new _i(Bi,Bi.size-1,-1)}Je.retroItems=ir;function Cr(Vn,Bi,Oa){Bi===void 0?Bi=0:Bi<0?Bi=Math.max(0,Bi+Vn.size):Bi=Math.min(Bi,Vn.size),Oa===void 0?Oa=Vn.size:Oa<0?Oa=Math.max(0,Oa+Vn.size):Oa=Math.min(Oa,Vn.size);var ms=Math.max(0,Oa-Bi);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new ra(Vn,Bi,ms)}Je.sliceItems=Cr;function Kr(Vn,Bi,Oa){Bi===void 0?Bi=Vn.size-1:Bi<0?Bi=Math.max(-1,Bi+Vn.size):Bi=Math.min(Bi,Vn.size-1),Oa===void 0?Oa=-1:Oa<0?Oa=Math.max(-1,Oa+Vn.size):Oa=Math.min(Oa,Vn.size-1);var ms=Math.max(0,Bi-Oa);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new _i(Vn,Bi,ms)}Je.retroSliceItems=Kr;function Qr(Vn,Bi){if(Bi<0&&(Bi+=Vn.size),!(Bi<0||Bi>=Vn.size)){for(;Vn.type===0;){var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa-1]),Vn=Vn.children[Oa]}return Vn.items[Bi]}}Je.itemAt=Qr;function bn(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0}Je.hasItem=bn;function In(Vn,Bi,Oa){for(var ms=0;Vn.type===0;){var Is=Ki(Vn.items,Bi,Oa);Is>0&&(ms+=Vn.sizes[Is-1]),Vn=Vn.children[Is]}var Cu=$n(Vn.items,Bi,Oa);return Cu>=0?ms+Cu:-ms+Cu}Je.indexOf=In;function an(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0?Vn.items[Is]:void 0}Je.getItem=an;function Jr(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa),Is;return ms>=0?(Is=Vn.items[ms],Vn.items[ms]=Bi):(Is=void 0,Wa.insert(Vn.items,-ms-1,Bi)),Is}var Cu=Ki(Vn.items,Bi,Oa),Zf=Vn.children[Cu],Sd=Zf.size,_f=Jr(Zf,Bi,Oa),ru=Zf.size;if(Vn.items[Cu]=Zf.items[0],Sd===ru)return _f;if(Zf.width>hi){var To=Yn(Zf);Wa.insert(Vn.children,Cu+1,To),Wa.insert(Vn.items,Cu+1,To.items[0])}return Kn(Vn,Cu),_f}Je.insertItem=Jr;function Er(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa);return ms<0?void 0:Wa.removeAt(Vn.items,ms)}var Is=Ki(Vn.items,Bi,Oa),Cu=Vn.children[Is],Zf=Cu.size,Sd=Er(Cu,Bi,Oa),_f=Cu.size;return Zf===_f||(Vn.items[Is]=Cu.items[0],Cu.width=Vn.size)){if(Vn.type===1)return Wa.removeAt(Vn.items,Bi);var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa]);var ms=Vn.children[Oa],Is=ke(ms,Bi);return Vn.items[Oa]=ms.items[0],ms.width1)return Vn;var Bi=Vn.children.pop();return Pn(Vn),Bi}Je.maybeExtractRoot=Ei;var hi=32,Xi=hi>>1,ra=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},Vn}(),_i=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},Vn}();function Ii(Vn,Bi){for(var Oa=Vn.length,ms=0;msBi)return ms;return Oa-1}function Ki(Vn,Bi,Oa){for(var ms=Vn.length,Is=1;Is0)return Is-1;return ms-1}function $n(Vn,Bi,Oa){for(var ms=Vn.length,Is=0;Is0)return-Is-1}return-ms-1}function Kn(Vn,Bi){for(var Oa=Vn.sizes,ms=Vn.children,Is=Bi>0?Oa[Bi-1]:0,Cu=ms.length;BiXi;if(Il&&Ed&&To){var vl=_f,Jl=ru;return vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Bi}if(Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Bi-1}if(Il&&!Ed&&To){var vl=_f,Jl=ru;return(Oa=Jl.items).unshift.apply(Oa,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),vl.prev&&(vl.prev.next=Jl),Jl.prev=vl.prev,Pn(vl),Bi}if(Il&&!Ed&&!To){var vl=_f,Jl=ru;return(ms=Jl.items).push.apply(ms,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),vl.next&&(vl.next.prev=Jl),Jl.next=vl.next,Pn(vl),Bi-1}if(!Il&&Ed&&To){var vl=_f,Jl=ru;return vl.children.push(Jl.children.shift()),vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Kn(vl,vl.width-1),Kn(Jl,0),Bi}if(!Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.children.unshift(Jl.children.pop()),vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Kn(vl,0),Kn(Jl,Jl.width-1),Bi-1}if(!Il&&!Ed&&To){var vl=_f,Jl=ru;return(Is=Jl.children).unshift.apply(Is,vl.children),(Cu=Jl.items).unshift.apply(Cu,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi}if(!Il&&!Ed&&!To){var vl=_f,Jl=ru;return(Zf=Jl.children).push.apply(Zf,vl.children),(Sd=Jl.items).push.apply(Sd,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi-1}throw\"unreachable\"}})(Xf||(Xf={}));var W1=function(){function Je(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(Je.prototype,\"isEmpty\",{get:function(){return this._size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"size\",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"length\",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"first\",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"last\",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"firstNode\",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"lastNode\",{get:function(){return this._last},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return new Je.ForwardValueIterator(this._first)},Je.prototype.retro=function(){return new Je.RetroValueIterator(this._last)},Je.prototype.nodes=function(){return new Je.ForwardNodeIterator(this._first)},Je.prototype.retroNodes=function(){return new Je.RetroNodeIterator(this._last)},Je.prototype.assign=function(ze){var _e=this;this.clear(),Os(ze,function(De){_e.addLast(De)})},Je.prototype.push=function(ze){this.addLast(ze)},Je.prototype.pop=function(){return this.removeLast()},Je.prototype.shift=function(ze){this.addFirst(ze)},Je.prototype.unshift=function(){return this.removeFirst()},Je.prototype.addFirst=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._first?(_e.next=this._first,this._first.prev=_e,this._first=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.addLast=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._last?(_e.prev=this._last,this._last.next=_e,this._last=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.insertBefore=function(ze,_e){if(!_e||_e===this._first)return this.addFirst(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error(\"Reference node is not owned by the list.\");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.prev;return De.next=Mt,De.prev=jt,Mt.prev=De,jt.next=De,this._size++,De},Je.prototype.insertAfter=function(ze,_e){if(!_e||_e===this._last)return this.addLast(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error(\"Reference node is not owned by the list.\");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.next;return De.next=jt,De.prev=Mt,Mt.next=De,jt.prev=De,this._size++,De},Je.prototype.removeFirst=function(){var ze=this._first;if(ze)return ze===this._last?(this._first=null,this._last=null):(this._first=ze.next,this._first.prev=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeLast=function(){var ze=this._last;if(ze)return ze===this._first?(this._first=null,this._last=null):(this._last=ze.prev,this._last.next=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeNode=function(ze){if(!(ze instanceof Xv.LinkedListNode)||ze.list!==this)throw new Error(\"Node is not owned by the list.\");var _e=ze;_e===this._first&&_e===this._last?(this._first=null,this._last=null):_e===this._first?(this._first=_e.next,this._first.prev=null):_e===this._last?(this._last=_e.prev,this._last.next=null):(_e.next.prev=_e.prev,_e.prev.next=_e.next),_e.list=null,_e.next=null,_e.prev=null,this._size--},Je.prototype.clear=function(){for(var ze=this._first;ze;){var _e=ze.next;ze.list=null,ze.prev=null,ze.next=null,ze=_e}this._first=null,this._last=null,this._size=0},Je}();(function(Je){function ze(ir){var Cr=new Je;return Cr.assign(ir),Cr}Je.from=ze;var _e=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr.value}},ir}();Je.ForwardValueIterator=_e;var De=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr.value}},ir}();Je.RetroValueIterator=De;var Mt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr}},ir}();Je.ForwardNodeIterator=Mt;var jt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr}},ir}();Je.RetroNodeIterator=jt})(W1||(W1={}));var Xv;(function(Je){var ze=function(){function _e(De,Mt){this.list=null,this.next=null,this.prev=null,this.list=De,this.value=Mt}return _e}();Je.LinkedListNode=ze})(Xv||(Xv={}));var gw=function(Je,ze){return gw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},gw(Je,ze)};function BO(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");gw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Rd=function(){function Je(ze){this.type=ze}return Object.defineProperty(Je.prototype,\"isConflatable\",{get:function(){return!1},enumerable:!0,configurable:!0}),Je.prototype.conflate=function(ze){return!1},Je}(),Ig=function(Je){BO(ze,Je);function ze(){return Je!==null&&Je.apply(this,arguments)||this}return Object.defineProperty(ze.prototype,\"isConflatable\",{get:function(){return!0},enumerable:!0,configurable:!0}),ze.prototype.conflate=function(_e){return!0},ze}(Rd),go;(function(Je){function ze($n,Kn){var Yn=bn.get($n);if(!Yn||Yn.length===0){Ei($n,Kn);return}var Hi=LS(zS(Yn),function(Vn){return Vn?Ti(Vn,$n,Kn):!0});Hi&&Ei($n,Kn)}Je.sendMessage=ze;function _e($n,Kn){if(!Kn.isConflatable){hi($n,Kn);return}var Yn=PS(Qr,function(Hi){return Hi.handler!==$n||!Hi.msg||Hi.msg.type!==Kn.type||!Hi.msg.isConflatable?!1:Hi.msg.conflate(Kn)});Yn||hi($n,Kn)}Je.postMessage=_e;function De($n,Kn){var Yn=bn.get($n);Yn&&Yn.indexOf(Kn)!==-1||(Yn?Yn.push(Kn):bn.set($n,[Kn]))}Je.installMessageHook=De;function Mt($n,Kn){var Yn=bn.get($n);if(Yn){var Hi=Yn.indexOf(Kn);Hi!==-1&&(Yn[Hi]=null,ra(Yn))}}Je.removeMessageHook=Mt;function jt($n){var Kn=bn.get($n);Kn&&Kn.length>0&&(Wa.fill(Kn,null),ra(Kn)),Os(Qr,function(Yn){Yn.handler===$n&&(Yn.handler=null,Yn.msg=null)})}Je.clearData=jt;function ir(){Er||Jr===0||(Pn(Jr),Er=!0,Xi(),Er=!1)}Je.flush=ir;function Cr(){return an}Je.getExceptionHandler=Cr;function Kr($n){var Kn=an;return an=$n,Kn}Je.setExceptionHandler=Kr;var Qr=new W1,bn=new WeakMap,In=new Set,an=function($n){console.error($n)},Jr=0,Er=!1,ke=function(){var $n=typeof requestAnimationFrame==\"function\";return $n?requestAnimationFrame:setImmediate}(),Pn=function(){var $n=typeof cancelAnimationFrame==\"function\";return $n?cancelAnimationFrame:clearImmediate}();function Ti($n,Kn,Yn){var Hi=!0;try{typeof $n==\"function\"?Hi=$n(Kn,Yn):Hi=$n.messageHook(Kn,Yn)}catch(Vn){an(Vn)}return Hi}function Ei($n,Kn){try{$n.processMessage(Kn)}catch(Yn){an(Yn)}}function hi($n,Kn){Qr.addLast({handler:$n,msg:Kn}),Jr===0&&(Jr=ke(Xi))}function Xi(){if(Jr=0,!Qr.isEmpty){var $n={handler:null,msg:null};for(Qr.addLast($n);;){var Kn=Qr.removeFirst();if(Kn===$n)return;Kn.handler&&Kn.msg&&ze(Kn.handler,Kn.msg)}}}function ra($n){In.size===0&&ke(_i),In.add($n)}function _i(){In.forEach(Ii),In.clear()}function Ii($n){Wa.removeAllWhere($n,Ki)}function Ki($n){return $n===null}})(go||(go={}));var vd=function(){function Je(ze){this._pid=Tm.nextPID(),this.name=ze.name,this._create=ze.create,this._coerce=ze.coerce||null,this._compare=ze.compare||null,this._changed=ze.changed||null}return Je.prototype.get=function(ze){var _e,De=Tm.ensureMap(ze);return this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze),_e},Je.prototype.set=function(ze,_e){var De,Mt=Tm.ensureMap(ze);this._pid in Mt?De=Mt[this._pid]:De=Mt[this._pid]=this._createValue(ze);var jt=this._coerceValue(ze,_e);this._maybeNotify(ze,De,Mt[this._pid]=jt)},Je.prototype.coerce=function(ze){var _e,De=Tm.ensureMap(ze);this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze);var Mt=this._coerceValue(ze,_e);this._maybeNotify(ze,_e,De[this._pid]=Mt)},Je.prototype._createValue=function(ze){var _e=this._create;return _e(ze)},Je.prototype._coerceValue=function(ze,_e){var De=this._coerce;return De?De(ze,_e):_e},Je.prototype._compareValue=function(ze,_e){var De=this._compare;return De?De(ze,_e):ze===_e},Je.prototype._maybeNotify=function(ze,_e,De){var Mt=this._changed;Mt&&!this._compareValue(_e,De)&&Mt(ze,_e,De)},Je}();(function(Je){function ze(_e){Tm.ownerData.delete(_e)}Je.clearData=ze})(vd||(vd={}));var Tm;(function(Je){Je.ownerData=new WeakMap,Je.nextPID=function(){var _e=0;return function(){var De=Math.random(),Mt=(\"\"+De).slice(2);return\"pid-\"+Mt+\"-\"+_e++}}();function ze(_e){var De=Je.ownerData.get(_e);return De||(De=Object.create(null),Je.ownerData.set(_e,De),De)}Je.ensureMap=ze})(Tm||(Tm={}));var Kl=function(){function Je(ze){this._blockedCount=0,this.sender=ze}return Je.prototype.block=function(ze){this._blockedCount++;try{ze()}finally{this._blockedCount--}},Je.prototype.connect=function(ze,_e){return Md.connect(this,ze,_e)},Je.prototype.disconnect=function(ze,_e){return Md.disconnect(this,ze,_e)},Je.prototype.emit=function(ze){this._blockedCount||Md.emit(this,ze)},Je}();(function(Je){function ze(Qr,bn){var In=Md.blockedProperty;In.set(Qr,In.get(Qr)+1);try{bn()}finally{In.set(Qr,In.get(Qr)-1)}}Je.blockAll=ze;function _e(Qr,bn){Md.disconnectBetween(Qr,bn)}Je.disconnectBetween=_e;function De(Qr){Md.disconnectSender(Qr)}Je.disconnectSender=De;function Mt(Qr){Md.disconnectReceiver(Qr)}Je.disconnectReceiver=Mt;function jt(Qr){Md.disconnectAll(Qr)}Je.disconnectAll=jt;function ir(Qr){Md.disconnectAll(Qr)}Je.clearData=ir;function Cr(){return Md.exceptionHandler}Je.getExceptionHandler=Cr;function Kr(Qr){var bn=Md.exceptionHandler;return Md.exceptionHandler=Qr,bn}Je.setExceptionHandler=Kr})(Kl||(Kl={}));var Md;(function(Je){Je.exceptionHandler=function(Ei){console.error(Ei)};function ze(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(ra||(ra=[],Kr.set(Ei.sender,ra)),an(ra,Ei,hi,Xi))return!1;var _i=Xi||hi,Ii=Qr.get(_i);Ii||(Ii=[],Qr.set(_i,Ii));var Ki={signal:Ei,slot:hi,thisArg:Xi};return ra.push(Ki),Ii.push(Ki),!0}Je.connect=ze;function _e(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(!ra||ra.length===0)return!1;var _i=an(ra,Ei,hi,Xi);if(!_i)return!1;var Ii=Xi||hi,Ki=Qr.get(Ii);return _i.signal=null,Er(ra),Er(Ki),!0}Je.disconnect=_e;function De(Ei,hi){var Xi=Kr.get(Ei);if(!(!Xi||Xi.length===0)){var ra=Qr.get(hi);!ra||ra.length===0||(Os(ra,function(_i){_i.signal&&_i.signal.sender===Ei&&(_i.signal=null)}),Er(Xi),Er(ra))}}Je.disconnectBetween=De;function Mt(Ei){var hi=Kr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.thisArg||Xi.slot;Xi.signal=null,Er(Qr.get(ra))}}),Er(hi))}Je.disconnectSender=Mt;function jt(Ei){var hi=Qr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.signal.sender;Xi.signal=null,Er(Kr.get(ra))}}),Er(hi))}Je.disconnectReceiver=jt;function ir(Ei){Mt(Ei),jt(Ei)}Je.disconnectAll=ir;function Cr(Ei,hi){if(!(Je.blockedProperty.get(Ei.sender)>0)){var Xi=Kr.get(Ei.sender);if(!(!Xi||Xi.length===0))for(var ra=0,_i=Xi.length;ra<_i;++ra){var Ii=Xi[ra];Ii.signal===Ei&&Jr(Ii,hi)}}}Je.emit=Cr;var Kr=new WeakMap,Qr=new WeakMap,bn=new Set,In=function(){var Ei=typeof requestAnimationFrame==\"function\";return Ei?requestAnimationFrame:setImmediate}();function an(Ei,hi,Xi,ra){return Pg(Ei,function(_i){return _i.signal===hi&&_i.slot===Xi&&_i.thisArg===ra})}function Jr(Ei,hi){var Xi=Ei.signal,ra=Ei.slot,_i=Ei.thisArg;try{ra.call(_i,Xi.sender,hi)}catch(Ii){Je.exceptionHandler(Ii)}}function Er(Ei){bn.size===0&&In(ke),bn.add(Ei)}function ke(){bn.forEach(Pn),bn.clear()}function Pn(Ei){Wa.removeAllWhere(Ei,Ti)}function Ti(Ei){return Ei.signal===null}Je.blockedProperty=new vd({name:\"blocked\",create:function(){return 0}})})(Md||(Md={}));var yw=function(Je,ze){return yw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},yw(Je,ze)};function NS(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");yw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Mp=function(){function Je(ze){this._fn=ze}return Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){if(this._fn){var ze=this._fn;this._fn=null,ze()}},Je}(),bB=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(Mp),_w=function(){function Je(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach(function(ze){ze.dispose()}),this._items.clear())},Je.prototype.contains=function(ze){return this._items.has(ze)},Je.prototype.add=function(ze){this._items.add(ze)},Je.prototype.remove=function(ze){this._items.delete(ze)},Je.prototype.clear=function(){this._items.clear()},Je}();(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(_w||(_w={}));var BS=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(_w);(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(BS||(BS={}));var Sp=function(){function Je(ze){var _e=this;this._onScrollFrame=function(){if(_e._scrollTarget){var De=_e._scrollTarget,Mt=De.element,jt=De.edge,ir=De.distance,Cr=id.SCROLL_EDGE_SIZE-ir,Kr=Math.pow(Cr/id.SCROLL_EDGE_SIZE,2),Qr=Math.max(1,Math.round(Kr*id.SCROLL_EDGE_SIZE));switch(jt){case\"top\":Mt.scrollTop-=Qr;break;case\"left\":Mt.scrollLeft-=Qr;break;case\"right\":Mt.scrollLeft+=Qr;break;case\"bottom\":Mt.scrollTop+=Qr;break}requestAnimationFrame(_e._onScrollFrame)}},this._disposed=!1,this._dropAction=\"none\",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=ze.document||document,this.mimeData=ze.mimeData,this.dragImage=ze.dragImage||null,this.proposedAction=ze.proposedAction||\"copy\",this.supportedActions=ze.supportedActions||\"all\",this.source=ze.source||null}return Je.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var ze=id.createMouseEvent(\"pointerup\",-1,-1);id.dispatchDragLeave(this,this._currentTarget,null,ze)}this._finalize(\"none\")}},Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Je.prototype.start=function(ze,_e){var De=this;if(this._disposed)return Promise.resolve(\"none\");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(ze,_e),this._promise=new Promise(function(jt,ir){De._resolve=jt});var Mt=id.createMouseEvent(\"pointermove\",ze,_e);return document.dispatchEvent(Mt),this._promise},Je.prototype.handleEvent=function(ze){switch(ze.type){case\"mousemove\":this._evtMouseMove(ze);break;case\"mouseup\":this._evtMouseUp(ze);break;case\"pointermove\":this._evtMouseMove(ze);break;case\"pointerup\":this._evtMouseUp(ze);break;case\"keydown\":this._evtKeyDown(ze);break;default:ze.preventDefault(),ze.stopPropagation();break}},Je.prototype.moveDragImage=function(ze,_e){if(this.dragImage){var De=this.dragImage.style;De.top=_e+\"px\",De.left=ze+\"px\"}},Je.prototype._evtMouseMove=function(ze){ze.preventDefault(),ze.stopPropagation(),this._updateCurrentTarget(ze),this._updateDragScroll(ze),this.moveDragImage(ze.clientX,ze.clientY)},Je.prototype._evtMouseUp=function(ze){if(ze.preventDefault(),ze.stopPropagation(),ze.button===0){if(this._updateCurrentTarget(ze),!this._currentTarget){this._finalize(\"none\");return}if(this._dropAction===\"none\"){id.dispatchDragLeave(this,this._currentTarget,null,ze),this._finalize(\"none\");return}var _e=id.dispatchDrop(this,this._currentTarget,ze);this._finalize(_e)}},Je.prototype._evtKeyDown=function(ze){ze.preventDefault(),ze.stopPropagation(),ze.keyCode===27&&this.dispose()},Je.prototype._addListeners=function(){document.addEventListener(\"mousedown\",this,!0),document.addEventListener(\"mousemove\",this,!0),document.addEventListener(\"mouseup\",this,!0),document.addEventListener(\"mouseenter\",this,!0),document.addEventListener(\"mouseleave\",this,!0),document.addEventListener(\"mouseover\",this,!0),document.addEventListener(\"mouseout\",this,!0),document.addEventListener(\"pointerdown\",this,!0),document.addEventListener(\"pointermove\",this,!0),document.addEventListener(\"pointerup\",this,!0),document.addEventListener(\"pointerenter\",this,!0),document.addEventListener(\"pointerleave\",this,!0),document.addEventListener(\"pointerover\",this,!0),document.addEventListener(\"pointerout\",this,!0),document.addEventListener(\"keydown\",this,!0),document.addEventListener(\"keyup\",this,!0),document.addEventListener(\"keypress\",this,!0),document.addEventListener(\"contextmenu\",this,!0)},Je.prototype._removeListeners=function(){document.removeEventListener(\"mousedown\",this,!0),document.removeEventListener(\"mousemove\",this,!0),document.removeEventListener(\"mouseup\",this,!0),document.removeEventListener(\"mouseenter\",this,!0),document.removeEventListener(\"mouseleave\",this,!0),document.removeEventListener(\"mouseover\",this,!0),document.removeEventListener(\"mouseout\",this,!0),document.removeEventListener(\"pointerdown\",this,!0),document.removeEventListener(\"pointermove\",this,!0),document.removeEventListener(\"pointerup\",this,!0),document.removeEventListener(\"pointerenter\",this,!0),document.removeEventListener(\"pointerleave\",this,!0),document.removeEventListener(\"pointerover\",this,!0),document.removeEventListener(\"pointerout\",this,!0),document.removeEventListener(\"keydown\",this,!0),document.removeEventListener(\"keyup\",this,!0),document.removeEventListener(\"keypress\",this,!0),document.removeEventListener(\"contextmenu\",this,!0)},Je.prototype._updateDragScroll=function(ze){var _e=id.findScrollTarget(ze);!this._scrollTarget&&!_e||(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=_e)},Je.prototype._updateCurrentTarget=function(ze){var _e=this._currentTarget,De=this._currentTarget,Mt=this._currentElement,jt=this.document.elementFromPoint(ze.clientX,ze.clientY);this._currentElement=jt,jt!==Mt&&jt!==De&&id.dispatchDragExit(this,De,jt,ze),jt!==Mt&&jt!==De&&(De=id.dispatchDragEnter(this,jt,De,ze)),De!==_e&&(this._currentTarget=De,id.dispatchDragLeave(this,_e,De,ze));var ir=id.dispatchDragOver(this,De,ze);this._setDropAction(ir)},Je.prototype._attachDragImage=function(ze,_e){if(this.dragImage){this.dragImage.classList.add(\"lm-mod-drag-image\"),this.dragImage.classList.add(\"p-mod-drag-image\");var De=this.dragImage.style;De.pointerEvents=\"none\",De.position=\"fixed\",De.top=_e+\"px\",De.left=ze+\"px\";var Mt=this.document instanceof Document?this.document.body:this.document.firstElementChild;Mt.appendChild(this.dragImage)}},Je.prototype._detachDragImage=function(){if(this.dragImage){var ze=this.dragImage.parentNode;ze&&ze.removeChild(this.dragImage)}},Je.prototype._setDropAction=function(ze){if(ze=id.validateAction(ze,this.supportedActions),!(this._override&&this._dropAction===ze))switch(ze){case\"none\":this._dropAction=ze,this._override=Je.overrideCursor(\"no-drop\",this.document);break;case\"copy\":this._dropAction=ze,this._override=Je.overrideCursor(\"copy\",this.document);break;case\"link\":this._dropAction=ze,this._override=Je.overrideCursor(\"alias\",this.document);break;case\"move\":this._dropAction=ze,this._override=Je.overrideCursor(\"move\",this.document);break}},Je.prototype._finalize=function(ze){var _e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction=\"none\",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,_e&&_e(ze)},Je}();(function(Je){function ze(De,Mt){Mt===void 0&&(Mt=document);var jt=++_e,ir=Mt instanceof Document?Mt.body:Mt.firstElementChild;return ir.style.cursor=De,ir.classList.add(\"lm-mod-override-cursor\"),ir.classList.add(\"p-mod-override-cursor\"),new Mp(function(){jt===_e&&(ir.style.cursor=\"\",ir.classList.remove(\"lm-mod-override-cursor\"),ir.classList.remove(\"p-mod-override-cursor\"))})}Je.overrideCursor=ze;var _e=0})(Sp||(Sp={}));var id;(function(Je){Je.SCROLL_EDGE_SIZE=20;function ze(an,Jr){return Qr[an]&bn[Jr]?an:\"none\"}Je.validateAction=ze;function _e(an,Jr,Er){var ke=document.createEvent(\"MouseEvent\");return ke.initMouseEvent(an,!0,!0,window,0,0,0,Jr,Er,!1,!1,!1,!1,0,null),ke}Je.createMouseEvent=_e;function De(an){for(var Jr=an.clientX,Er=an.clientY,ke=document.elementFromPoint(Jr,Er);ke;ke=ke.parentElement){var Pn=ke.hasAttribute(\"data-lm-dragscroll\");if(Pn=Pn||ke.hasAttribute(\"data-p-dragscroll\"),!!Pn){var Ti=0,Ei=0;ke===document.body&&(Ti=window.pageXOffset,Ei=window.pageYOffset);var hi=ke.getBoundingClientRect(),Xi=hi.top+Ei,ra=hi.left+Ti,_i=ra+hi.width,Ii=Xi+hi.height;if(!(Jr=_i||Er=Ii)){var Ki=Jr-ra+1,$n=Er-Xi+1,Kn=_i-Jr,Yn=Ii-Er,Hi=Math.min(Ki,$n,Kn,Yn);if(!(Hi>Je.SCROLL_EDGE_SIZE)){var Vn=void 0;switch(Hi){case Yn:Vn=\"bottom\";break;case $n:Vn=\"top\";break;case Kn:Vn=\"right\";break;case Ki:Vn=\"left\";break;default:throw\"unreachable\"}var Bi=ke.scrollWidth-ke.clientWidth,Oa=ke.scrollHeight-ke.clientHeight,ms=void 0;switch(Vn){case\"top\":ms=Oa>0&&ke.scrollTop>0;break;case\"left\":ms=Bi>0&&ke.scrollLeft>0;break;case\"right\":ms=Bi>0&&ke.scrollLeft0&&ke.scrollTop0&&(Kr=ke)}return{cmd:bn,ctrl:In,alt:Qr,shift:an,key:Kr}}Je.parseKeystroke=ze;function _e(Cr){var Kr=\"\",Qr=ze(Cr);return Qr.ctrl&&(Kr+=\"Ctrl \"),Qr.alt&&(Kr+=\"Alt \"),Qr.shift&&(Kr+=\"Shift \"),Qr.cmd&&zh.IS_MAC&&(Kr+=\"Cmd \"),Kr+Qr.key}Je.normalizeKeystroke=_e;function De(Cr){var Kr;return zh.IS_WIN?Kr=Cr.winKeys||Cr.keys:zh.IS_MAC?Kr=Cr.macKeys||Cr.keys:Kr=Cr.linuxKeys||Cr.keys,Kr.map(_e)}Je.normalizeKeys=De;function Mt(Cr){return typeof Cr==\"string\"?Kr(Cr):Cr.map(Kr).join(\", \");function Kr(Qr){var bn=[],In=zh.IS_MAC?\" \":\"+\",an=ze(Qr);return an.ctrl&&bn.push(\"Ctrl\"),an.alt&&bn.push(\"Alt\"),an.shift&&bn.push(\"Shift\"),zh.IS_MAC&&an.cmd&&bn.push(\"Cmd\"),bn.push(an.key),bn.map(Ep.formatKey).join(In)}}Je.formatKeystroke=Mt;function jt(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);return Kr.isModifierKey(Qr)}Je.isModifierKeyPressed=jt;function ir(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);if(!Qr||Kr.isModifierKey(Qr))return\"\";var bn=[];return Cr.ctrlKey&&bn.push(\"Ctrl\"),Cr.altKey&&bn.push(\"Alt\"),Cr.shiftKey&&bn.push(\"Shift\"),Cr.metaKey&&zh.IS_MAC&&bn.push(\"Cmd\"),bn.push(Qr),bn.join(\" \")}Je.keystrokeForKeydownEvent=ir})(Dg||(Dg={}));var Ep;(function(Je){Je.CHORD_TIMEOUT=1e3;function ze(hi){var Xi,ra;return!hi.icon||typeof hi.icon==\"string\"?(ra=Er(hi.iconClass||hi.icon,Kr),Xi=ra):(ra=Er(hi.iconClass,Kr),Xi=Er(hi.icon,Jr)),{execute:hi.execute,describedBy:Tw({args:null},hi.describedBy),label:Er(hi.label,Kr),mnemonic:Er(hi.mnemonic,Qr),icon:Xi,iconClass:ra,iconLabel:Er(hi.iconLabel,Kr),caption:Er(hi.caption,Kr),usage:Er(hi.usage,Kr),className:Er(hi.className,Kr),dataset:Er(hi.dataset,an),isEnabled:hi.isEnabled||bn,isToggled:hi.isToggled||In,isToggleable:hi.isToggleable||!!hi.isToggled,isVisible:hi.isVisible||bn}}Je.createCommand=ze;function _e(hi){return{keys:Dg.normalizeKeys(hi),selector:ke(hi),command:hi.command,args:hi.args||pd.JSONExt.emptyObject}}Je.createKeyBinding=_e;function De(hi,Xi,ra){for(var _i=null,Ii=!1,Ki=1/0,$n=0,Kn=0,Yn=hi.length;KnKi)){var Oa=ov.calculateSpecificity(Hi.selector);(!_i||Bi=$n)&&(_i=Hi,Ki=Bi,$n=Oa)}}}return{exact:_i,partial:Ii}}Je.matchKeyBinding=De;function Mt(hi){hi.target.dispatchEvent(Ei(hi))}Je.replayKeyEvent=Mt;function jt(hi){return zh.IS_MAC?ir.hasOwnProperty(hi)?ir[hi]:hi:Cr.hasOwnProperty(hi)?Cr[hi]:hi}Je.formatKey=jt;var ir={Backspace:\"\\u232B\",Tab:\"\\u21E5\",Enter:\"\\u21A9\",Shift:\"\\u21E7\",Ctrl:\"\\u2303\",Alt:\"\\u2325\",Escape:\"\\u238B\",PageUp:\"\\u21DE\",PageDown:\"\\u21DF\",End:\"\\u2198\",Home:\"\\u2196\",ArrowLeft:\"\\u2190\",ArrowUp:\"\\u2191\",ArrowRight:\"\\u2192\",ArrowDown:\"\\u2193\",Delete:\"\\u2326\",Cmd:\"\\u2318\"},Cr={Escape:\"Esc\",PageUp:\"Page Up\",PageDown:\"Page Down\",ArrowLeft:\"Left\",ArrowUp:\"Up\",ArrowRight:\"Right\",ArrowDown:\"Down\",Delete:\"Del\"},Kr=function(){return\"\"},Qr=function(){return-1},bn=function(){return!0},In=function(){return!1},an=function(){return{}},Jr=function(){};function Er(hi,Xi){return hi===void 0?Xi:typeof hi==\"function\"?hi:function(){return hi}}function ke(hi){if(hi.selector.indexOf(\",\")!==-1)throw new Error(\"Selector cannot contain commas: \"+hi.selector);if(!ov.isValid(hi.selector))throw new Error(\"Invalid selector: \"+hi.selector);return hi.selector}function Pn(hi,Xi){if(hi.lengthXi.length?2:1}function Ti(hi,Xi){for(var ra=Xi.target,_i=Xi.currentTarget,Ii=0;ra!==null;ra=ra.parentElement,++Ii){if(ra.hasAttribute(\"data-lm-suppress-shortcuts\")||ra.hasAttribute(\"data-p-suppress-shortcuts\"))return-1;if(ov.matches(ra,hi))return Ii;if(ra===_i)return-1}return-1}function Ei(hi){var Xi=document.createEvent(\"Event\"),ra=hi.bubbles||!0,_i=hi.cancelable||!0;return Xi.initEvent(hi.type||\"keydown\",ra,_i),Xi.key=hi.key||\"\",Xi.keyCode=hi.keyCode||0,Xi.which=hi.keyCode||0,Xi.ctrlKey=hi.ctrlKey||!1,Xi.altKey=hi.altKey||!1,Xi.shiftKey=hi.shiftKey||!1,Xi.metaKey=hi.metaKey||!1,Xi.view=hi.view||window,Xi}})(Ep||(Ep={}));var Aw=function(Je,ze){return Aw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},Aw(Je,ze)};function UO(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");Aw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Z1=function(){function Je(ze){this.type=\"text\",this.content=ze}return Je}(),Y1=function(){function Je(ze,_e,De,Mt){this.type=\"element\",this.tag=ze,this.attrs=_e,this.children=De,this.renderer=Mt}return Je}(),RB=function(Je){UO(ze,Je);function ze(_e,De,Mt){return Je.call(this,_e,De,[],Mt||void 0)||this}return ze}(Y1);function _u(Je){for(var ze={},_e,De=[],Mt=1,jt=arguments.length;Mt=Ti.length){_e(ke[Xi],Jr);continue}var ra=Ti[Xi],_i=ke[Xi];if(ra===_i){Ei=Ei.nextSibling;continue}if(ra.type===\"text\"&&_i.type===\"text\"){Ei.textContent!==_i.content&&(Ei.textContent=_i.content),Ei=Ei.nextSibling;continue}if(ra.type===\"text\"||_i.type===\"text\"){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(!ra.renderer!=!_i.renderer){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}var Ii=_i.attrs.key;if(Ii&&Ii in Pn){var Ki=Pn[Ii];Ki.vNode!==ra&&(Wa.move(Ti,Ti.indexOf(Ki.vNode,Xi+1),Xi),Jr.insertBefore(Ki.element,Ei),ra=Ki.vNode,Ei=Ki.element)}if(ra===_i){Ei=Ei.nextSibling;continue}var $n=ra.attrs.key;if($n&&$n!==Ii){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(ra.tag!==_i.tag){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}Cr(Ei,ra.attrs,_i.attrs),_i.renderer?_i.renderer.render(Ei,{attrs:_i.attrs,children:_i.children}):De(Ei,ra.children,_i.children),Ei=Ei.nextSibling}Mt(Jr,Ti,hi,!0)}}Je.updateContent=De;function Mt(Jr,Er,ke,Pn){for(var Ti=Er.length-1;Ti>=ke;--Ti){var Ei=Er[Ti],hi=Pn?Jr.lastChild:Jr.childNodes[Ti];Ei.type===\"text\"||(Ei.renderer&&Ei.renderer.unrender?Ei.renderer.unrender(hi,{attrs:Ei.attrs,children:Ei.children}):Mt(hi,Ei.children,0,!1)),Pn&&Jr.removeChild(hi)}}var jt={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function ir(Jr,Er){for(var ke in Er)ke in jt||(ke.substr(0,2)===\"on\"?Jr[ke]=Er[ke]:Jr.setAttribute(ke,Er[ke]));Er.className!==void 0&&Jr.setAttribute(\"class\",Er.className),Er.htmlFor!==void 0&&Jr.setAttribute(\"for\",Er.htmlFor),Er.dataset&&Kr(Jr,Er.dataset),Er.style&&bn(Jr,Er.style)}function Cr(Jr,Er,ke){if(Er!==ke){var Pn;for(Pn in Er)Pn in jt||Pn in ke||(Pn.substr(0,2)===\"on\"?Jr[Pn]=null:Jr.removeAttribute(Pn));for(Pn in ke)Pn in jt||Er[Pn]===ke[Pn]||(Pn.substr(0,2)===\"on\"?Jr[Pn]=ke[Pn]:Jr.setAttribute(Pn,ke[Pn]));Er.className!==ke.className&&(ke.className!==void 0?Jr.setAttribute(\"class\",ke.className):Jr.removeAttribute(\"class\")),Er.htmlFor!==ke.htmlFor&&(ke.htmlFor!==void 0?Jr.setAttribute(\"for\",ke.htmlFor):Jr.removeAttribute(\"for\")),Er.dataset!==ke.dataset&&Qr(Jr,Er.dataset||{},ke.dataset||{}),Er.style!==ke.style&&In(Jr,Er.style||{},ke.style||{})}}function Kr(Jr,Er){for(var ke in Er)Jr.setAttribute(\"data-\"+ke,Er[ke])}function Qr(Jr,Er,ke){for(var Pn in Er)Pn in ke||Jr.removeAttribute(\"data-\"+Pn);for(var Ti in ke)Er[Ti]!==ke[Ti]&&Jr.setAttribute(\"data-\"+Ti,ke[Ti])}function bn(Jr,Er){var ke=Jr.style,Pn;for(Pn in Er)ke[Pn]=Er[Pn]}function In(Jr,Er,ke){var Pn=Jr.style,Ti;for(Ti in Er)Ti in ke||(Pn[Ti]=\"\");for(Ti in ke)Er[Ti]!==ke[Ti]&&(Pn[Ti]=ke[Ti])}function an(Jr,Er){for(var ke=Jr.firstChild,Pn=Object.create(null),Ti=0,Ei=Er;Ti0&&(In+=Er.stretch,an++)}if(ir===bn)return 0;if(ir<=Kr){for(var Jr=0;Jr=Qr){for(var Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,In-=Er.stretch,Er.size=Er.maxSize,Er.done=!0,hi--,an--):(Xi-=Ii,Er.size+=Ii)}}for(;hi>0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,Er.size=Er.maxSize,Er.done=!0,hi--):(Xi-=Ii,Er.size+=Ii))}}return 0}Je.calc=ze;function _e(jt,ir,Cr){jt.length===0||Cr===0||(Cr>0?De(jt,ir,Cr):Mt(jt,ir,-Cr))}Je.adjust=_e;function De(jt,ir,Cr){for(var Kr=0,Qr=0;Qr<=ir;++Qr){var bn=jt[Qr];Kr+=bn.maxSize-bn.size}for(var In=0,Qr=ir+1,an=jt.length;Qr=0&&Jr>0;--Qr){var bn=jt[Qr],Er=bn.maxSize-bn.size;Er>=Jr?(bn.sizeHint=bn.size+Jr,Jr=0):(bn.sizeHint=bn.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir+1,an=jt.length;Qr0;++Qr){var bn=jt[Qr],Er=bn.size-bn.minSize;Er>=ke?(bn.sizeHint=bn.size-ke,ke=0):(bn.sizeHint=bn.size-Er,ke-=Er)}}function Mt(jt,ir,Cr){for(var Kr=0,Qr=ir+1,bn=jt.length;Qr0;++Qr){var In=jt[Qr],Er=In.maxSize-In.size;Er>=Jr?(In.sizeHint=In.size+Jr,Jr=0):(In.sizeHint=In.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir;Qr>=0&&ke>0;--Qr){var In=jt[Qr],Er=In.size-In.minSize;Er>=ke?(In.sizeHint=In.size-ke,ke=0):(In.sizeHint=In.size-Er,ke-=Er)}}})(Dd||(Dd={}));var Sw=function(){function Je(ze){this._label=\"\",this._caption=\"\",this._mnemonic=-1,this._iconClass=\"\",this._iconLabel=\"\",this._className=\"\",this._closable=!1,this._changed=new Kl(this),this._isDisposed=!1,this.owner=ze.owner,ze.label!==void 0&&(this._label=ze.label),ze.mnemonic!==void 0&&(this._mnemonic=ze.mnemonic),ze.icon!==void 0?typeof ze.icon==\"string\"?(this._icon=null,this._iconClass=ze.icon):this._icon=ze.icon:this._icon=null,ze.iconClass!==void 0&&(this._iconClass=ze.iconClass),ze.iconLabel!==void 0&&(this._iconLabel=ze.iconLabel),ze.iconRenderer!==void 0&&(this._icon=ze.iconRenderer),ze.caption!==void 0&&(this._caption=ze.caption),ze.className!==void 0&&(this._className=ze.className),ze.closable!==void 0&&(this._closable=ze.closable),this._dataset=ze.dataset||{}}return Object.defineProperty(Je.prototype,\"changed\",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"label\",{get:function(){return this._label},set:function(ze){this._label!==ze&&(this._label=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"mnemonic\",{get:function(){return this._mnemonic},set:function(ze){this._mnemonic!==ze&&(this._mnemonic=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"icon\",{get:function(){return this._icon===null?this.iconClass:this._icon},set:function(ze){if(typeof ze==\"string\")this._icon=null,this.iconClass=ze;else{if(this._icon===ze)return;this._icon=ze,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconClass\",{get:function(){return this._iconClass},set:function(ze){this._iconClass!==ze&&(this._iconClass=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconLabel\",{get:function(){return this._iconLabel},set:function(ze){this._iconLabel!==ze&&(this._iconLabel=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconRenderer\",{get:function(){return this._icon||void 0},set:function(ze){this.icon=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"caption\",{get:function(){return this._caption},set:function(ze){this._caption!==ze&&(this._caption=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"className\",{get:function(){return this._className},set:function(ze){this._className!==ze&&(this._className=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"closable\",{get:function(){return this._closable},set:function(ze){this._closable!==ze&&(this._closable=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"dataset\",{get:function(){return this._dataset},set:function(ze){this._dataset!==ze&&(this._dataset=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,Kl.clearData(this))},Je}(),So=function(){function Je(ze){ze===void 0&&(ze={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new Kl(this),this._hiddenMode=Je.HiddenMode.Display,this.node=K1.createNode(ze),this.addClass(\"lm-Widget\"),this.addClass(\"p-Widget\")}return Je.prototype.dispose=function(){this.isDisposed||(this.setFlag(Je.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Je.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Kl.clearData(this),go.clearData(this),vd.clearData(this))},Object.defineProperty(Je.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this.testFlag(Je.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isAttached\",{get:function(){return this.testFlag(Je.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isHidden\",{get:function(){return this.testFlag(Je.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isVisible\",{get:function(){return this.testFlag(Je.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"title\",{get:function(){return K1.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"id\",{get:function(){return this.node.id},set:function(ze){this.node.id=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"dataset\",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"hiddenMode\",{get:function(){return this._hiddenMode},set:function(ze){this._hiddenMode!==ze&&(this.isHidden&&this._toggleHidden(!1),ze==Je.HiddenMode.Scale?this.node.style.willChange=\"transform\":this.node.style.willChange=\"auto\",this._hiddenMode=ze,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"parent\",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(ze&&this.contains(ze))throw new Error(\"Invalid parent widget.\");if(this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage(\"child-removed\",this);go.sendMessage(this._parent,_e)}if(this._parent=ze,this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage(\"child-added\",this);go.sendMessage(this._parent,_e)}this.isDisposed||go.sendMessage(this,Je.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"layout\",{get:function(){return this._layout},set:function(ze){if(this._layout!==ze){if(this.testFlag(Je.Flag.DisallowLayout))throw new Error(\"Cannot set widget layout.\");if(this._layout)throw new Error(\"Cannot change widget layout.\");if(ze.parent)throw new Error(\"Cannot change layout parent.\");this._layout=ze,ze.parent=this}},enumerable:!0,configurable:!0}),Je.prototype.children=function(){return this._layout?this._layout.iter():Id()},Je.prototype.contains=function(ze){for(var _e=ze;_e;_e=_e._parent)if(_e===this)return!0;return!1},Je.prototype.hasClass=function(ze){return this.node.classList.contains(ze)},Je.prototype.addClass=function(ze){this.node.classList.add(ze)},Je.prototype.removeClass=function(ze){this.node.classList.remove(ze)},Je.prototype.toggleClass=function(ze,_e){return _e===!0?(this.node.classList.add(ze),!0):_e===!1?(this.node.classList.remove(ze),!1):this.node.classList.toggle(ze)},Je.prototype.update=function(){go.postMessage(this,Je.Msg.UpdateRequest)},Je.prototype.fit=function(){go.postMessage(this,Je.Msg.FitRequest)},Je.prototype.activate=function(){go.postMessage(this,Je.Msg.ActivateRequest)},Je.prototype.close=function(){go.sendMessage(this,Je.Msg.CloseRequest)},Je.prototype.show=function(){if(this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeShow),this.clearFlag(Je.Flag.IsHidden),this.node.removeAttribute(\"aria-hidden\"),this._toggleHidden(!1),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterShow),this.parent)){var ze=new Je.ChildMessage(\"child-shown\",this);go.sendMessage(this.parent,ze)}},Je.prototype.hide=function(){if(!this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeHide),this.setFlag(Je.Flag.IsHidden),this.node.setAttribute(\"aria-hidden\",\"true\"),this._toggleHidden(!0),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterHide),this.parent)){var ze=new Je.ChildMessage(\"child-hidden\",this);go.sendMessage(this.parent,ze)}},Je.prototype.setHidden=function(ze){ze?this.hide():this.show()},Je.prototype.testFlag=function(ze){return(this._flags&ze)!==0},Je.prototype.setFlag=function(ze){this._flags|=ze},Je.prototype.clearFlag=function(ze){this._flags&=~ze},Je.prototype.processMessage=function(ze){switch(ze.type){case\"resize\":this.notifyLayout(ze),this.onResize(ze);break;case\"update-request\":this.notifyLayout(ze),this.onUpdateRequest(ze);break;case\"fit-request\":this.notifyLayout(ze),this.onFitRequest(ze);break;case\"before-show\":this.notifyLayout(ze),this.onBeforeShow(ze);break;case\"after-show\":this.setFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterShow(ze);break;case\"before-hide\":this.notifyLayout(ze),this.onBeforeHide(ze);break;case\"after-hide\":this.clearFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterHide(ze);break;case\"before-attach\":this.notifyLayout(ze),this.onBeforeAttach(ze);break;case\"after-attach\":!this.isHidden&&(!this.parent||this.parent.isVisible)&&this.setFlag(Je.Flag.IsVisible),this.setFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterAttach(ze);break;case\"before-detach\":this.notifyLayout(ze),this.onBeforeDetach(ze);break;case\"after-detach\":this.clearFlag(Je.Flag.IsVisible),this.clearFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterDetach(ze);break;case\"activate-request\":this.notifyLayout(ze),this.onActivateRequest(ze);break;case\"close-request\":this.notifyLayout(ze),this.onCloseRequest(ze);break;case\"child-added\":this.notifyLayout(ze),this.onChildAdded(ze);break;case\"child-removed\":this.notifyLayout(ze),this.onChildRemoved(ze);break;default:this.notifyLayout(ze);break}},Je.prototype.notifyLayout=function(ze){this._layout&&this._layout.processParentMessage(ze)},Je.prototype.onCloseRequest=function(ze){this.parent?this.parent=null:this.isAttached&&Je.detach(this)},Je.prototype.onResize=function(ze){},Je.prototype.onUpdateRequest=function(ze){},Je.prototype.onFitRequest=function(ze){},Je.prototype.onActivateRequest=function(ze){},Je.prototype.onBeforeShow=function(ze){},Je.prototype.onAfterShow=function(ze){},Je.prototype.onBeforeHide=function(ze){},Je.prototype.onAfterHide=function(ze){},Je.prototype.onBeforeAttach=function(ze){},Je.prototype.onAfterAttach=function(ze){},Je.prototype.onBeforeDetach=function(ze){},Je.prototype.onAfterDetach=function(ze){},Je.prototype.onChildAdded=function(ze){},Je.prototype.onChildRemoved=function(ze){},Je.prototype._toggleHidden=function(ze){if(ze)switch(this._hiddenMode){case Je.HiddenMode.Display:this.addClass(\"lm-mod-hidden\"),this.addClass(\"p-mod-hidden\");break;case Je.HiddenMode.Scale:this.node.style.transform=\"scale(0)\";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility=\"hidden\",this.node.style.zIndex=\"-1\";break}else switch(this._hiddenMode){case Je.HiddenMode.Display:this.removeClass(\"lm-mod-hidden\"),this.removeClass(\"p-mod-hidden\");break;case Je.HiddenMode.Scale:this.node.style.transform=\"\";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility=\"\",this.node.style.zIndex=\"\";break}},Je}();(function(Je){(function(jt){jt[jt.Display=0]=\"Display\",jt[jt.Scale=1]=\"Scale\",jt[jt.ContentVisibility=2]=\"ContentVisibility\"})(Je.HiddenMode||(Je.HiddenMode={})),function(jt){jt[jt.IsDisposed=1]=\"IsDisposed\",jt[jt.IsAttached=2]=\"IsAttached\",jt[jt.IsHidden=4]=\"IsHidden\",jt[jt.IsVisible=8]=\"IsVisible\",jt[jt.DisallowLayout=16]=\"DisallowLayout\"}(Je.Flag||(Je.Flag={})),function(jt){jt.BeforeShow=new Rd(\"before-show\"),jt.AfterShow=new Rd(\"after-show\"),jt.BeforeHide=new Rd(\"before-hide\"),jt.AfterHide=new Rd(\"after-hide\"),jt.BeforeAttach=new Rd(\"before-attach\"),jt.AfterAttach=new Rd(\"after-attach\"),jt.BeforeDetach=new Rd(\"before-detach\"),jt.AfterDetach=new Rd(\"after-detach\"),jt.ParentChanged=new Rd(\"parent-changed\"),jt.UpdateRequest=new Ig(\"update-request\"),jt.FitRequest=new Ig(\"fit-request\"),jt.ActivateRequest=new Ig(\"activate-request\"),jt.CloseRequest=new Ig(\"close-request\")}(Je.Msg||(Je.Msg={}));var ze=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,Cr)||this;return Qr.child=Kr,Qr}return ir}(Rd);Je.ChildMessage=ze;var _e=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,\"resize\")||this;return Qr.width=Cr,Qr.height=Kr,Qr}return ir}(Rd);Je.ResizeMessage=_e,function(jt){jt.UnknownSize=new jt(-1,-1)}(_e=Je.ResizeMessage||(Je.ResizeMessage={}));function De(jt,ir,Cr){if(Cr===void 0&&(Cr=null),jt.parent)throw new Error(\"Cannot attach a child widget.\");if(jt.isAttached||jt.node.isConnected)throw new Error(\"Widget is already attached.\");if(!ir.isConnected)throw new Error(\"Host is not attached.\");go.sendMessage(jt,Je.Msg.BeforeAttach),ir.insertBefore(jt.node,Cr),go.sendMessage(jt,Je.Msg.AfterAttach)}Je.attach=De;function Mt(jt){if(jt.parent)throw new Error(\"Cannot detach a child widget.\");if(!jt.isAttached||!jt.node.isConnected)throw new Error(\"Widget is not attached.\");go.sendMessage(jt,Je.Msg.BeforeDetach),jt.node.parentNode.removeChild(jt.node),go.sendMessage(jt,Je.Msg.AfterDetach)}Je.detach=Mt})(So||(So={}));var K1;(function(Je){Je.titleProperty=new vd({name:\"title\",create:function(_e){return new Sw({owner:_e})}});function ze(_e){return _e.node||document.createElement(_e.tag||\"div\")}Je.createNode=ze})(K1||(K1={}));var kp=function(){function Je(ze){ze===void 0&&(ze={}),this._disposed=!1,this._parent=null,this._fitPolicy=ze.fitPolicy||\"set-min-size\"}return Je.prototype.dispose=function(){this._parent=null,this._disposed=!0,Kl.clearData(this),vd.clearData(this)},Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"parent\",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(this._parent)throw new Error(\"Cannot change parent widget.\");if(ze.layout!==this)throw new Error(\"Invalid parent widget.\");this._parent=ze,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"fitPolicy\",{get:function(){return this._fitPolicy},set:function(ze){if(this._fitPolicy!==ze&&(this._fitPolicy=ze,this._parent)){var _e=this._parent.node.style;_e.minWidth=\"\",_e.minHeight=\"\",_e.maxWidth=\"\",_e.maxHeight=\"\",this._parent.fit()}},enumerable:!0,configurable:!0}),Je.prototype.processParentMessage=function(ze){switch(ze.type){case\"resize\":this.onResize(ze);break;case\"update-request\":this.onUpdateRequest(ze);break;case\"fit-request\":this.onFitRequest(ze);break;case\"before-show\":this.onBeforeShow(ze);break;case\"after-show\":this.onAfterShow(ze);break;case\"before-hide\":this.onBeforeHide(ze);break;case\"after-hide\":this.onAfterHide(ze);break;case\"before-attach\":this.onBeforeAttach(ze);break;case\"after-attach\":this.onAfterAttach(ze);break;case\"before-detach\":this.onBeforeDetach(ze);break;case\"after-detach\":this.onAfterDetach(ze);break;case\"child-removed\":this.onChildRemoved(ze);break;case\"child-shown\":this.onChildShown(ze);break;case\"child-hidden\":this.onChildHidden(ze);break}},Je.prototype.init=function(){var ze=this;Os(this,function(_e){_e.parent=ze.parent})},Je.prototype.onResize=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onUpdateRequest=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onBeforeAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onBeforeHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onChildRemoved=function(ze){this.removeWidget(ze.child)},Je.prototype.onFitRequest=function(ze){},Je.prototype.onChildShown=function(ze){},Je.prototype.onChildHidden=function(ze){},Je}();(function(Je){function ze(jt){return zg.horizontalAlignmentProperty.get(jt)}Je.getHorizontalAlignment=ze;function _e(jt,ir){zg.horizontalAlignmentProperty.set(jt,ir)}Je.setHorizontalAlignment=_e;function De(jt){return zg.verticalAlignmentProperty.get(jt)}Je.getVerticalAlignment=De;function Mt(jt,ir){zg.verticalAlignmentProperty.set(jt,ir)}Je.setVerticalAlignment=Mt})(kp||(kp={}));var Zy=function(){function Je(ze){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=ze,this.widget.node.style.position=\"absolute\"}return Je.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var ze=this.widget.node.style;ze.position=\"\",ze.top=\"\",ze.left=\"\",ze.width=\"\",ze.height=\"\"}},Object.defineProperty(Je.prototype,\"minWidth\",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"minHeight\",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"maxWidth\",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"maxHeight\",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isHidden\",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isVisible\",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isAttached\",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),Je.prototype.fit=function(){var ze=Eu.sizeLimits(this.widget.node);this._minWidth=ze.minWidth,this._minHeight=ze.minHeight,this._maxWidth=ze.maxWidth,this._maxHeight=ze.maxHeight},Je.prototype.update=function(ze,_e,De,Mt){var jt=Math.max(this._minWidth,Math.min(De,this._maxWidth)),ir=Math.max(this._minHeight,Math.min(Mt,this._maxHeight));if(jt0;)this._widgets.pop().dispose();Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"widgets\",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return Pd(this._widgets)},ze.prototype.addWidget=function(_e){this.insertWidget(this._widgets.length,_e)},ze.prototype.insertWidget=function(_e,De){De.parent=this.parent;var Mt=this._widgets.indexOf(De),jt=Math.max(0,Math.min(_e,this._widgets.length));if(Mt===-1){Wa.insert(this._widgets,jt,De),this.parent&&this.attachWidget(jt,De);return}jt===this._widgets.length&&jt--,Mt!==jt&&(Wa.move(this._widgets,Mt,jt),this.parent&&this.moveWidget(Mt,jt,De))},ze.prototype.removeWidget=function(_e){this.removeWidgetAt(this._widgets.indexOf(_e))},ze.prototype.removeWidgetAt=function(_e){var De=Wa.removeAt(this._widgets,_e);De&&this.parent&&this.detachWidget(_e,De)},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De,Mt){_e.attachWidget(Mt,De)})},ze.prototype.attachWidget=function(_e,De){var Mt=this.parent.node.children[_e];this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.insertBefore(De.node,Mt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach)},ze.prototype.moveWidget=function(_e,De,Mt){this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeDetach),this.parent.node.removeChild(Mt.node),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterDetach);var jt=this.parent.node.children[De];this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeAttach),this.parent.node.insertBefore(Mt.node,jt),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterAttach)},ze.prototype.detachWidget=function(_e,De){this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach)},ze}(kp),Gy;(function(Je){function ze(_e){return Math.max(0,Math.floor(_e))}Je.clampDimension=ze})(Gy||(Gy={}));var Wy=Gy,Em=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De.widgetOffset=0,De._fixed=0,De._spacing=4,De._dirty=!1,De._hasNormedSizes=!1,De._sizers=[],De._items=[],De._handles=[],De._box=null,De._alignment=\"start\",De._orientation=\"horizontal\",De.renderer=_e.renderer,_e.orientation!==void 0&&(De._orientation=_e.orientation),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Gy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"orientation\",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._orientation=_e,this.parent&&(this.parent.dataset.orientation=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"alignment\",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Gy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"handles\",{get:function(){return this._handles},enumerable:!0,configurable:!0}),ze.prototype.absoluteSizes=function(){return this._sizers.map(function(_e){return _e.size})},ze.prototype.relativeSizes=function(){return Kv.normalize(this._sizers.map(function(_e){return _e.size}))},ze.prototype.setRelativeSizes=function(_e,De){De===void 0&&(De=!0);for(var Mt=this._sizers.length,jt=_e.slice(0,Mt);jt.length0&&(Kr.sizeHint=Kr.size)}Dd.adjust(this._sizers,_e,jt),this.parent&&this.parent.update()}}},ze.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){var Mt=new Zy(De),jt=Kv.createHandle(this.renderer),ir=Kv.averageSize(this._sizers),Cr=Kv.createSizer(ir);Wa.insert(this._items,_e,Mt),Wa.insert(this._sizers,_e,Cr),Wa.insert(this._handles,_e,jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.node.appendChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),Wa.move(this._handles,_e,De),this.parent.fit()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e),jt=Wa.removeAt(this._handles,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.node.removeChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype.updateItemPosition=function(_e,De,Mt,jt,ir,Cr,Kr){var Qr=this._items[_e];if(!Qr.isHidden){var bn=this._handles[_e].style;De?(Mt+=this.widgetOffset,Qr.update(Mt,jt,Kr,ir),Mt+=Kr,bn.top=jt+\"px\",bn.left=Mt+\"px\",bn.width=this._spacing+\"px\",bn.height=ir+\"px\"):(jt+=this.widgetOffset,Qr.update(Mt,jt,Cr,Kr),jt+=Kr,bn.top=jt+\"px\",bn.left=Mt+\"px\",bn.width=Cr+\"px\",bn.height=this._spacing+\"px\")}},ze.prototype._fit=function(){for(var _e=0,De=-1,Mt=0,jt=this._items.length;Mt0&&(bn.sizeHint=bn.size),Qr.isHidden){bn.minSize=0,bn.maxSize=0;continue}Qr.fit(),bn.stretch=ze.getStretch(Qr.widget),ir?(bn.minSize=Qr.minWidth,bn.maxSize=Qr.maxWidth,Cr+=Qr.minWidth,Kr=Math.max(Kr,Qr.minHeight)):(bn.minSize=Qr.minHeight,bn.maxSize=Qr.maxHeight,Kr+=Qr.minHeight,Cr=Math.max(Cr,Qr.minWidth))}var In=this._box=Eu.boxSizing(this.parent.node);Cr+=In.horizontalSum,Kr+=In.verticalSum;var an=this.parent.node.style;an.minWidth=Cr+\"px\",an.minHeight=Kr+\"px\",this._dirty=!0,this.parent.parent&&go.sendMessage(this.parent.parent,So.Msg.FitRequest),this._dirty&&go.sendMessage(this.parent,So.Msg.UpdateRequest)},ze.prototype._update=function(_e,De){this._dirty=!1;for(var Mt=0,jt=0,ir=this._items.length;jt0){var Er=void 0;if(Jr?Er=Math.max(0,Qr-this._fixed):Er=Math.max(0,bn-this._fixed),this._hasNormedSizes){for(var ke=0,Pn=this._sizers;ke0)switch(this._alignment){case\"start\":break;case\"center\":In=0,an=Ei/2;break;case\"end\":In=0,an=Ei;break;case\"justify\":In=Ei/Mt,an=0;break;default:throw\"unreachable\"}}for(var jt=0,ir=this._items.length;jt=0&&(this.layout.updateTitle(De,_e.owner),this.update())},ze.prototype._computeWidgetSize=function(_e){var De=this.layout,Mt=De.widgets[_e];if(Mt){var jt=Mt.isHidden,ir=De.absoluteSizes(),Cr=(jt?-1:1)*this.spacing,Kr=ir.reduce(function(Jr,Er){return Jr+Er}),Qr=VO(ir);if(jt){var an=this._widgetSizesCache.get(Mt);if(!an)return;Qr[_e]+=an;var In=Qr.map(function(Er){return Er-an>0}).lastIndexOf(!0);In===-1?Qr.forEach(function(Er,ke){ke!==_e&&(Qr[ke]-=ir[ke]/Kr*(an-Cr))}):Qr[In]-=an-Cr}else{var bn=ir[_e];this._widgetSizesCache.set(Mt,bn),Qr[_e]=0;var In=Qr.map(function(Jr){return Jr>0}).lastIndexOf(!0);if(In===-1)return;Qr[In]=ir[In]+bn+Cr}return Qr.map(function(Jr){return Jr/(Kr+Cr)})}},ze.prototype._evtClick=function(_e){var De=_e.target;if(De){var Mt=Wa.findFirstIndex(this.titles,function(jt){return jt.contains(De)});Mt>=0&&(_e.preventDefault(),_e.stopPropagation(),this._toggleExpansion(Mt))}},ze.prototype._eventKeyDown=function(_e){if(!_e.defaultPrevented){var De=_e.target,Mt=!1;if(De){var jt=Wa.findFirstIndex(this.titles,function(bn){return bn.contains(De)});if(jt>=0){var ir=_e.keyCode.toString();if(_e.key.match(/Space|Enter/)||ir.match(/13|32/))De.click(),Mt=!0;else if(this.orientation===\"horizontal\"?_e.key.match(/ArrowLeft|ArrowRight/)||ir.match(/37|39/):_e.key.match(/ArrowUp|ArrowDown/)||ir.match(/38|40/)){var Cr=_e.key.match(/ArrowLeft|ArrowUp/)||ir.match(/37|38/)?-1:1,Kr=this.titles.length,Qr=(jt+Kr+Cr)%Kr;this.titles[Qr].focus(),Mt=!0}else _e.key===\"End\"||ir===\"35\"?(this.titles[this.titles.length-1].focus(),Mt=!0):(_e.key===\"Home\"||ir===\"36\")&&(this.titles[0].focus(),Mt=!0)}Mt&&_e.preventDefault()}}},ze.prototype._toggleExpansion=function(_e){var De=this.titles[_e],Mt=this.layout.widgets[_e],jt=this._computeWidgetSize(_e);jt&&this.setRelativeSizes(jt,!1),Mt.isHidden?(De.classList.add(\"lm-mod-expanded\"),De.setAttribute(\"aria-expanded\",\"true\"),Mt.show()):(De.classList.remove(\"lm-mod-expanded\"),De.setAttribute(\"aria-expanded\",\"false\"),Mt.hide())},ze}(Xy);(function(Je){var ze=function(_e){yf(De,_e);function De(){var Mt=_e.call(this)||this;return Mt.titleClassName=\"lm-AccordionPanel-title\",Mt._titleID=0,Mt._titleKeys=new WeakMap,Mt._uuid=++De._nInstance,Mt}return De.prototype.createCollapseIcon=function(Mt){return document.createElement(\"span\")},De.prototype.createSectionTitle=function(Mt){var jt=document.createElement(\"h3\");jt.setAttribute(\"role\",\"button\"),jt.setAttribute(\"tabindex\",\"0\"),jt.id=this.createTitleKey(Mt),jt.className=this.titleClassName;for(var ir in Mt.dataset)jt.dataset[ir]=Mt.dataset[ir];var Cr=jt.appendChild(this.createCollapseIcon(Mt));Cr.className=\"lm-AccordionPanel-titleCollapser\";var Kr=jt.appendChild(document.createElement(\"span\"));return Kr.className=\"lm-AccordionPanel-titleLabel\",Kr.textContent=Mt.label,Kr.title=Mt.caption||Mt.label,jt},De.prototype.createTitleKey=function(Mt){var jt=this._titleKeys.get(Mt);return jt===void 0&&(jt=\"title-key-\"+this._uuid+\"-\"+this._titleID++,this._titleKeys.set(Mt,jt)),jt},De._nInstance=0,De}(Xy.Renderer);Je.Renderer=ze,Je.defaultRenderer=new ze})(kw||(kw={}));var Lw;(function(Je){function ze(_e){return _e.layout||new qO({renderer:_e.renderer||kw.defaultRenderer,orientation:_e.orientation,alignment:_e.alignment,spacing:_e.spacing,titleSpace:_e.titleSpace})}Je.createLayout=ze})(Lw||(Lw={}));var sv=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this)||this;return De._fixed=0,De._spacing=4,De._dirty=!1,De._sizers=[],De._items=[],De._box=null,De._alignment=\"start\",De._direction=\"top-to-bottom\",_e.direction!==void 0&&(De._direction=_e.direction),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"direction\",{get:function(){return this._direction},set:function(_e){this._direction!==_e&&(this._direction=_e,this.parent&&(this.parent.dataset.direction=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"alignment\",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){Wa.insert(this._items,_e,new Zy(De)),Wa.insert(this._sizers,_e,new Cp),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=this._items.length;De0)switch(this._alignment){case\"start\":break;case\"center\":an=0,Jr=In/2;break;case\"end\":an=0,Jr=In;break;case\"justify\":an=In/Mt,Jr=0;break;default:throw\"unreachable\"}for(var jt=0,ir=this._items.length;jt=jt.length)Mt.scrollTop=0;else{var Ti=Mt.children[Kr];Eu.scrollIntoViewIfNeeded(Mt,Ti)}},ze.prototype._evtClick=function(_e){if(_e.button===0){if(_e.target.classList.contains(\"lm-close-icon\")){this.inputNode.value=\"\",this.refresh();return}var De=Wa.findFirstIndex(this.contentNode.children,function(Mt){return Mt.contains(_e.target)});De!==-1&&(_e.preventDefault(),_e.stopPropagation(),this._execute(De))}},ze.prototype._evtKeyDown=function(_e){if(!(_e.altKey||_e.ctrlKey||_e.metaKey||_e.shiftKey))switch(_e.keyCode){case 13:_e.preventDefault(),_e.stopPropagation(),this._execute(this._activeIndex);break;case 38:_e.preventDefault(),_e.stopPropagation(),this._activatePreviousItem();break;case 40:_e.preventDefault(),_e.stopPropagation(),this._activateNextItem();break}},ze.prototype._activateNextItem=function(){if(!(!this._results||this._results.length===0)){var _e=this._activeIndex,De=this._results.length,Mt=_e=this._items.length)&&(_e=-1),_e!==-1&&!md.canActivate(this._items[_e])&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"items\",{get:function(){return this._items},enumerable:!0,configurable:!0}),ze.prototype.activateNextItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<_e-1?De+1:0,jt=Mt===0?_e-1:Mt-1;this.activeIndex=Wa.findFirstIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.activatePreviousItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<=0?_e-1:De-1,jt=Mt===_e-1?0:Mt+1;this.activeIndex=Wa.findLastIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.triggerActiveItem=function(){if(this.isAttached){var _e=this.activeItem;if(_e){if(this._cancelOpenTimer(),this._cancelCloseTimer(),_e.type===\"submenu\"){this._openChildMenu(!0);return}this.rootMenu.close();var De=_e.command,Mt=_e.args;this.commands.isEnabled(De,Mt)?this.commands.execute(De,Mt):console.log(\"Command '\"+De+\"' is disabled.\")}}},ze.prototype.addItem=function(_e){return this.insertItem(this._items.length,_e)},ze.prototype.insertItem=function(_e,De){this.isAttached&&this.close(),this.activeIndex=-1;var Mt=Math.max(0,Math.min(_e,this._items.length)),jt=md.createItem(this,De);return Wa.insert(this._items,Mt,jt),this.update(),jt},ze.prototype.removeItem=function(_e){this.removeItemAt(this._items.indexOf(_e))},ze.prototype.removeItemAt=function(_e){this.isAttached&&this.close(),this.activeIndex=-1;var De=Wa.removeAt(this._items,_e);De&&this.update()},ze.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,this._items.length!==0&&(this._items.length=0,this.update())},ze.prototype.open=function(_e,De,Mt){if(Mt===void 0&&(Mt={}),!this.isAttached){var jt=Mt.forceX||!1,ir=Mt.forceY||!1;md.openRootMenu(this,_e,De,jt,ir),this.activate()}},ze.prototype.handleEvent=function(_e){switch(_e.type){case\"keydown\":this._evtKeyDown(_e);break;case\"mouseup\":this._evtMouseUp(_e);break;case\"mousemove\":this._evtMouseMove(_e);break;case\"mouseenter\":this._evtMouseEnter(_e);break;case\"mouseleave\":this._evtMouseLeave(_e);break;case\"mousedown\":this._evtMouseDown(_e);break;case\"contextmenu\":_e.preventDefault(),_e.stopPropagation();break}},ze.prototype.onBeforeAttach=function(_e){this.node.addEventListener(\"keydown\",this),this.node.addEventListener(\"mouseup\",this),this.node.addEventListener(\"mousemove\",this),this.node.addEventListener(\"mouseenter\",this),this.node.addEventListener(\"mouseleave\",this),this.node.addEventListener(\"contextmenu\",this),document.addEventListener(\"mousedown\",this,!0)},ze.prototype.onAfterDetach=function(_e){this.node.removeEventListener(\"keydown\",this),this.node.removeEventListener(\"mouseup\",this),this.node.removeEventListener(\"mousemove\",this),this.node.removeEventListener(\"mouseenter\",this),this.node.removeEventListener(\"mouseleave\",this),this.node.removeEventListener(\"contextmenu\",this),document.removeEventListener(\"mousedown\",this,!0)},ze.prototype.onActivateRequest=function(_e){this.isAttached&&this.node.focus()},ze.prototype.onUpdateRequest=function(_e){for(var De=this,Mt=this._items,jt=this.renderer,ir=this._activeIndex,Cr=md.computeCollapsed(Mt),Kr=new Array(Mt.length),Qr=function(an,Jr){var Er=Mt[an],ke=an===ir,Pn=Cr[an];Kr[an]=jt.renderItem({item:Er,active:ke,collapsed:Pn,onfocus:function(){De.activeIndex=an}})},bn=0,In=Mt.length;bn=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:\"lm-Menu-itemMnemonic p-Menu-itemMnemonic\"},Qr);return[Cr,bn,Kr]},_e.prototype.formatShortcut=function(De){var Mt=De.item.keyBinding;return Mt?Dg.formatKeystroke(Mt.keys):null},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(Og||(Og={}));var md;(function(Je){Je.TIMER_DELAY=300,Je.SUBMENU_OVERLAP=3;var ze=null,_e=0;function De(){return _e>0?(_e--,ze):bn()}function Mt(){ze=bn(),_e++}Je.saveWindowData=Mt;function jt(){var ke=document.createElement(\"div\"),Pn=document.createElement(\"ul\");return Pn.className=\"lm-Menu-content\",Pn.classList.add(\"p-Menu-content\"),ke.appendChild(Pn),Pn.setAttribute(\"role\",\"menu\"),ke.tabIndex=0,ke}Je.createNode=jt;function ir(ke){return ke.type!==\"separator\"&&ke.isEnabled&&ke.isVisible}Je.canActivate=ir;function Cr(ke,Pn){return new Er(ke.commands,Pn)}Je.createItem=Cr;function Kr(ke,Pn,Ti){for(var Ei=ke;Ei;Ei=Ei.childMenu)if(Eu.hitTest(Ei.node,Pn,Ti))return!0;return!1}Je.hitTestMenus=Kr;function Qr(ke){var Pn=new Array(ke.length);Wa.fill(Pn,!1);for(var Ti=0,Ei=ke.length;Ti=0;--Xi){var hi=ke[Xi];if(hi.isVisible){if(hi.type!==\"separator\")break;Pn[Xi]=!0}}for(var ra=!1;++Tira+Ii&&(Pn=ra+Ii-Vn),!hi&&Ti+Bi>_i+Ki&&(Ti>_i+Ki?Ti=_i+Ki-Bi:Ti=Ti-Bi),Yn.transform=\"translate(\"+Math.max(0,Pn)+\"px, \"+Math.max(0,Ti)+\"px\",Yn.opacity=\"1\"}Je.openRootMenu=In;function an(ke,Pn){var Ti=De(),Ei=Ti.pageXOffset,hi=Ti.pageYOffset,Xi=Ti.clientWidth,ra=Ti.clientHeight;go.sendMessage(ke,So.Msg.UpdateRequest);var _i=ra,Ii=ke.node,Ki=Ii.style;Ki.opacity=\"0\",Ki.maxHeight=_i+\"px\",So.attach(ke,document.body);var $n=Ii.getBoundingClientRect(),Kn=$n.width,Yn=$n.height,Hi=Eu.boxSizing(ke.node),Vn=Pn.getBoundingClientRect(),Bi=Vn.right-Je.SUBMENU_OVERLAP;Bi+Kn>Ei+Xi&&(Bi=Vn.left+Je.SUBMENU_OVERLAP-Kn);var Oa=Vn.top-Hi.borderTop-Hi.paddingTop;Oa+Yn>hi+ra&&(Oa=Vn.bottom+Hi.borderBottom+Hi.paddingBottom-Yn),Ki.transform=\"translate(\"+Math.max(0,Bi)+\"px, \"+Math.max(0,Oa)+\"px\",Ki.opacity=\"1\"}Je.openSubmenu=an;function Jr(ke,Pn,Ti){for(var Ei=-1,hi=-1,Xi=!1,ra=Pn.toUpperCase(),_i=0,Ii=ke.length;_i=0&&Yn=this._titles.length)&&(_e=-1),this._currentIndex!==_e){var De=this._currentIndex,Mt=this._titles[De]||null,jt=_e,ir=this._titles[jt]||null;this._currentIndex=jt,this._previousTitle=Mt,this.update(),this._currentChanged.emit({previousIndex:De,previousTitle:Mt,currentIndex:jt,currentTitle:ir})}},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"name\",{get:function(){return this._name},set:function(_e){this._name=_e,_e?this.contentNode.setAttribute(\"aria-label\",_e):this.contentNode.removeAttribute(\"aria-label\")},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"orientation\",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._releaseMouse(),this._orientation=_e,this.dataset.orientation=_e,this.contentNode.setAttribute(\"aria-orientation\",_e))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"addButtonEnabled\",{get:function(){return this._addButtonEnabled},set:function(_e){this._addButtonEnabled!==_e&&(this._addButtonEnabled=_e,_e?this.addButtonNode.classList.remove(\"lm-mod-hidden\"):this.addButtonNode.classList.add(\"lm-mod-hidden\"))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"titles\",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"contentNode\",{get:function(){return this.node.getElementsByClassName(\"lm-TabBar-content\")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"addButtonNode\",{get:function(){return this.node.getElementsByClassName(\"lm-TabBar-addButton\")[0]},enumerable:!0,configurable:!0}),ze.prototype.addTab=function(_e){return this.insertTab(this._titles.length,_e)},ze.prototype.insertTab=function(_e,De){this._releaseMouse();var Mt=qd.asTitle(De),jt=this._titles.indexOf(Mt),ir=Math.max(0,Math.min(_e,this._titles.length));return jt===-1?(Wa.insert(this._titles,ir,Mt),Mt.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(ir,Mt),Mt):(ir===this._titles.length&&ir--,jt===ir||(Wa.move(this._titles,jt,ir),this.update(),this._adjustCurrentForMove(jt,ir)),Mt)},ze.prototype.removeTab=function(_e){this.removeTabAt(this._titles.indexOf(_e))},ze.prototype.removeTabAt=function(_e){this._releaseMouse();var De=Wa.removeAt(this._titles,_e);De&&(De.changed.disconnect(this._onTitleChanged,this),De===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(_e,De))},ze.prototype.clearTabs=function(){if(this._titles.length!==0){this._releaseMouse();for(var _e=0,De=this._titles;_e0&&ir.children[0].focus()}}}},ze.prototype._evtKeyDown=function(_e){_e.preventDefault(),_e.stopPropagation(),_e.keyCode===27&&this._releaseMouse()},ze.prototype._evtMouseDown=function(_e){if(!(_e.button!==0&&_e.button!==1)&&!this._dragData){var De=this.addButtonEnabled&&this.addButtonNode.contains(_e.target),Mt=this.contentNode.children,jt=Wa.findFirstIndex(Mt,function(Cr){return Eu.hitTest(Cr,_e.clientX,_e.clientY)});if(!(jt===-1&&!De)&&(_e.preventDefault(),_e.stopPropagation(),this._dragData={tab:Mt[jt],index:jt,pressX:_e.clientX,pressY:_e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener(\"mouseup\",this,!0),this.document.addEventListener(\"pointerup\",this,!0),!(_e.button===1||De))){var ir=Mt[jt].querySelector(this.renderer.closeIconSelector);ir&&ir.contains(_e.target)||(this.tabsMovable&&(this.document.addEventListener(\"mousemove\",this,!0),this.document.addEventListener(\"pointermove\",this,!0),this.document.addEventListener(\"keydown\",this,!0),this.document.addEventListener(\"contextmenu\",this,!0)),this.allowDeselect&&this.currentIndex===jt?this.currentIndex=-1:this.currentIndex=jt,this.currentIndex!==-1&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},ze.prototype._evtMouseMove=function(_e){var De=this._dragData;if(De){_e.preventDefault(),_e.stopPropagation();var Mt=this.contentNode.children;if(!(!De.dragActive&&!qd.dragExceeded(De,_e))){if(!De.dragActive){var jt=De.tab.getBoundingClientRect();this._orientation===\"horizontal\"?(De.tabPos=De.tab.offsetLeft,De.tabSize=jt.width,De.tabPressPos=De.pressX-jt.left):(De.tabPos=De.tab.offsetTop,De.tabSize=jt.height,De.tabPressPos=De.pressY-jt.top),De.tabLayout=qd.snapTabLayout(Mt,this._orientation),De.contentRect=this.contentNode.getBoundingClientRect(),De.override=Sp.overrideCursor(\"default\"),De.tab.classList.add(\"lm-mod-dragging\"),this.addClass(\"lm-mod-dragging\"),De.tab.classList.add(\"p-mod-dragging\"),this.addClass(\"p-mod-dragging\"),De.dragActive=!0}if(!De.detachRequested&&qd.detachExceeded(De,_e)){De.detachRequested=!0;var ir=De.index,Cr=_e.clientX,Kr=_e.clientY,Qr=Mt[ir],bn=this._titles[ir];if(this._tabDetachRequested.emit({index:ir,title:bn,tab:Qr,clientX:Cr,clientY:Kr}),De.dragAborted)return}qd.layoutTabs(Mt,De,_e,this._orientation)}}},ze.prototype._evtMouseUp=function(_e){var De=this;if(!(_e.button!==0&&_e.button!==1)){var Mt=this._dragData;if(Mt){if(_e.preventDefault(),_e.stopPropagation(),this.document.removeEventListener(\"mousemove\",this,!0),this.document.removeEventListener(\"mouseup\",this,!0),this.document.removeEventListener(\"pointermove\",this,!0),this.document.removeEventListener(\"pointerup\",this,!0),this.document.removeEventListener(\"keydown\",this,!0),this.document.removeEventListener(\"contextmenu\",this,!0),!Mt.dragActive){this._dragData=null;var jt=this.addButtonEnabled&&this.addButtonNode.contains(_e.target);if(jt){this._addRequested.emit(void 0);return}var ir=this.contentNode.children,Cr=Wa.findFirstIndex(ir,function(In){return Eu.hitTest(In,_e.clientX,_e.clientY)});if(Cr!==Mt.index)return;var Kr=this._titles[Cr];if(!Kr.closable)return;if(_e.button===1){this._tabCloseRequested.emit({index:Cr,title:Kr});return}var Qr=ir[Cr].querySelector(this.renderer.closeIconSelector);if(Qr&&Qr.contains(_e.target)){this._tabCloseRequested.emit({index:Cr,title:Kr});return}return}if(_e.button===0){qd.finalizeTabPosition(Mt,this._orientation),Mt.tab.classList.remove(\"lm-mod-dragging\"),Mt.tab.classList.remove(\"p-mod-dragging\");var bn=qd.parseTransitionDuration(Mt.tab);setTimeout(function(){if(!Mt.dragAborted){De._dragData=null,qd.resetTabPositions(De.contentNode.children,De._orientation),Mt.override.dispose(),De.removeClass(\"lm-mod-dragging\"),De.removeClass(\"p-mod-dragging\");var In=Mt.index,an=Mt.targetIndex;an===-1||In===an||(Wa.move(De._titles,In,an),De._adjustCurrentForMove(In,an),De._tabMoved.emit({fromIndex:In,toIndex:an,title:De._titles[an]}),go.sendMessage(De,So.Msg.UpdateRequest))}},bn)}}}},ze.prototype._releaseMouse=function(){var _e=this._dragData;_e&&(this._dragData=null,this.document.removeEventListener(\"mousemove\",this,!0),this.document.removeEventListener(\"mouseup\",this,!0),this.document.removeEventListener(\"pointermove\",this,!0),this.document.removeEventListener(\"pointerup\",this,!0),this.document.removeEventListener(\"keydown\",this,!0),this.document.removeEventListener(\"contextmenu\",this,!0),_e.dragAborted=!0,_e.dragActive&&(qd.resetTabPositions(this.contentNode.children,this._orientation),_e.override.dispose(),_e.tab.classList.remove(\"lm-mod-dragging\"),this.removeClass(\"lm-mod-dragging\"),_e.tab.classList.remove(\"p-mod-dragging\"),this.removeClass(\"p-mod-dragging\")))},ze.prototype._adjustCurrentForInsert=function(_e,De){var Mt=this.currentTitle,jt=this._currentIndex,ir=this.insertBehavior;if(ir===\"select-tab\"||ir===\"select-tab-if-needed\"&&jt===-1){this._currentIndex=_e,this._previousTitle=Mt,this._currentChanged.emit({previousIndex:jt,previousTitle:Mt,currentIndex:_e,currentTitle:De});return}jt>=_e&&this._currentIndex++},ze.prototype._adjustCurrentForMove=function(_e,De){this._currentIndex===_e?this._currentIndex=De:this._currentIndex<_e&&this._currentIndex>=De?this._currentIndex++:this._currentIndex>_e&&this._currentIndex<=De&&this._currentIndex--},ze.prototype._adjustCurrentForRemove=function(_e,De){var Mt=this._currentIndex,jt=this.removeBehavior;if(Mt!==_e){Mt>_e&&this._currentIndex--;return}if(this._titles.length===0){this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null});return}if(jt===\"select-tab-after\"){this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt===\"select-tab-before\"){this._currentIndex=Math.max(0,_e-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt===\"select-previous-tab\"){this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null})},ze.prototype._onTitleChanged=function(_e){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){this.closeIconSelector=\".lm-TabBar-tabCloseIcon\",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++_e._nInstance}return _e.prototype.renderTab=function(De){var Mt=De.title.caption,jt=this.createTabKey(De),ir=jt,Cr=this.createTabStyle(De),Kr=this.createTabClass(De),Qr=this.createTabDataset(De),bn=this.createTabARIA(De);return De.title.closable?_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De),this.renderCloseIcon(De)):_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=De.title,jt=this.createIconClass(De);return typeof Mt.icon==\"string\"?_u.div({className:jt},Mt.iconLabel):_u.div({className:jt},Mt.icon,Mt.iconLabel)},_e.prototype.renderLabel=function(De){return _u.div({className:\"lm-TabBar-tabLabel p-TabBar-tabLabel\"},De.title.label)},_e.prototype.renderCloseIcon=function(De){return _u.div({className:\"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon\"})},_e.prototype.createTabKey=function(De){var Mt=this._tabKeys.get(De.title);return Mt===void 0&&(Mt=\"tab-key-\"+this._uuid+\"-\"+this._tabID++,this._tabKeys.set(De.title,Mt)),Mt},_e.prototype.createTabStyle=function(De){return{zIndex:\"\"+De.zIndex}},_e.prototype.createTabClass=function(De){var Mt=\"lm-TabBar-tab\";return Mt+=\" p-TabBar-tab\",De.title.className&&(Mt+=\" \"+De.title.className),De.title.closable&&(Mt+=\" lm-mod-closable\",Mt+=\" p-mod-closable\"),De.current&&(Mt+=\" lm-mod-current\",Mt+=\" p-mod-current\"),Mt},_e.prototype.createTabDataset=function(De){return De.title.dataset},_e.prototype.createTabARIA=function(De){return{role:\"tab\",\"aria-selected\":De.current.toString()}},_e.prototype.createIconClass=function(De){var Mt=\"lm-TabBar-tabIcon\";Mt+=\" p-TabBar-tabIcon\";var jt=De.title.iconClass;return jt?Mt+\" \"+jt:Mt},_e._nInstance=0,_e}();Je.Renderer=ze,Je.defaultRenderer=new ze,Je.addButtonSelector=\".lm-TabBar-addButton\"})(Bg||(Bg={}));var qd;(function(Je){Je.DRAG_THRESHOLD=5,Je.DETACH_THRESHOLD=20;function ze(){var bn=document.createElement(\"div\"),In=document.createElement(\"ul\");In.setAttribute(\"role\",\"tablist\"),In.className=\"lm-TabBar-content\",In.classList.add(\"p-TabBar-content\"),bn.appendChild(In);var an=document.createElement(\"div\");return an.className=\"lm-TabBar-addButton lm-mod-hidden\",bn.appendChild(an),bn}Je.createNode=ze;function _e(bn){return bn instanceof Sw?bn:new Sw(bn)}Je.asTitle=_e;function De(bn){var In=window.getComputedStyle(bn);return 1e3*(parseFloat(In.transitionDuration)||0)}Je.parseTransitionDuration=De;function Mt(bn,In){for(var an=new Array(bn.length),Jr=0,Er=bn.length;Jr=Je.DRAG_THRESHOLD||Jr>=Je.DRAG_THRESHOLD}Je.dragExceeded=jt;function ir(bn,In){var an=bn.contentRect;return In.clientX=an.right+Je.DETACH_THRESHOLD||In.clientY=an.bottom+Je.DETACH_THRESHOLD}Je.detachExceeded=ir;function Cr(bn,In,an,Jr){var Er,ke,Pn,Ti;Jr===\"horizontal\"?(Er=In.pressX,ke=an.clientX-In.contentRect.left,Pn=an.clientX,Ti=In.contentRect.width):(Er=In.pressY,ke=an.clientY-In.contentRect.top,Pn=an.clientY,Ti=In.contentRect.height);for(var Ei=In.index,hi=ke-In.tabPressPos,Xi=hi+In.tabSize,ra=0,_i=bn.length;ra<_i;++ra){var Ii=void 0,Ki=In.tabLayout[ra],$n=Ki.pos+(Ki.size>>1);if(raIn.index&&Xi>$n)Ii=-In.tabSize-Ki.margin+\"px\",Ei=Math.max(Ei,ra);else if(ra===In.index){var Kn=Pn-Er,Yn=Ti-(In.tabPos+In.tabSize);Ii=Math.max(-In.tabPos,Math.min(Kn,Yn))+\"px\"}else Ii=\"\";Jr===\"horizontal\"?bn[ra].style.left=Ii:bn[ra].style.top=Ii}In.targetIndex=Ei}Je.layoutTabs=Cr;function Kr(bn,In){var an;In===\"horizontal\"?an=bn.contentRect.width:an=bn.contentRect.height;var Jr;if(bn.targetIndex===bn.index)Jr=0;else if(bn.targetIndex>bn.index){var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos+Er.size-bn.tabSize-bn.tabPos}else{var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos-bn.tabPos}var ke=an-(bn.tabPos+bn.tabSize),Pn=Math.max(-bn.tabPos,Math.min(Jr,ke));In===\"horizontal\"?bn.tab.style.left=Pn+\"px\":bn.tab.style.top=Pn+\"px\"}Je.finalizeTabPosition=Kr;function Qr(bn,In){Os(bn,function(an){In===\"horizontal\"?an.style.left=\"\":an.style.top=\"\"})}Je.resetTabPositions=Qr})(qd||(qd={}));var HO=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De._spacing=4,De._dirty=!1,De._root=null,De._box=null,De._items=new Map,De.renderer=_e.renderer,_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De._document=_e.document||document,De._hiddenMode=_e.hiddenMode!==void 0?_e.hiddenMode:So.HiddenMode.Display,De}return ze.prototype.dispose=function(){var _e=this.iter();this._items.forEach(function(De){De.dispose()}),this._box=null,this._root=null,this._items.clear(),Os(_e,function(De){De.dispose()}),Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"hiddenMode\",{get:function(){return this._hiddenMode},set:function(_e){var De=this;this._hiddenMode!==_e&&(this._hiddenMode=_e,Os(this.tabBars(),function(Mt){Mt.titles.length>1&&Mt.titles.forEach(function(jt){jt.owner.hiddenMode=De._hiddenMode})}))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"isEmpty\",{get:function(){return this._root===null},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return this._root?this._root.iterAllWidgets():Id()},ze.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():Id()},ze.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():Id()},ze.prototype.tabBars=function(){return this._root?this._root.iterTabBars():Id()},ze.prototype.handles=function(){return this._root?this._root.iterHandles():Id()},ze.prototype.moveHandle=function(_e,De,Mt){var jt=_e.classList.contains(\"lm-mod-hidden\");if(jt=jt||_e.classList.contains(\"p-mod-hidden\"),!(!this._root||jt)){var ir=this._root.findSplitNode(_e);if(ir){var Cr;ir.node.orientation===\"horizontal\"?Cr=De-_e.offsetLeft:Cr=Mt-_e.offsetTop,Cr!==0&&(ir.node.holdSizes(),Dd.adjust(ir.node.sizers,ir.index,Cr),this.parent&&this.parent.update())}}},ze.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},ze.prototype.restoreLayout=function(_e){var De=this,Mt=new Set,jt;_e.main?jt=ah.normalizeAreaConfig(_e.main,Mt):jt=null;var ir=this.widgets(),Cr=this.tabBars(),Kr=this.handles();this._root=null,Os(ir,function(Qr){Mt.has(Qr)||(Qr.parent=null)}),Os(Cr,function(Qr){Qr.dispose()}),Os(Kr,function(Qr){Qr.parentNode&&Qr.parentNode.removeChild(Qr)}),Mt.forEach(function(Qr){Qr.parent=De.parent}),jt?this._root=ah.realizeAreaConfig(jt,{createTabBar:function(Qr){return De._createTabBar()},createHandle:function(){return De._createHandle()}},this._document):this._root=null,this.parent&&(Mt.forEach(function(Qr){De.attachWidget(Qr)}),this.parent.fit())},ze.prototype.addWidget=function(_e,De){De===void 0&&(De={});var Mt=De.ref||null,jt=De.mode||\"tab-after\",ir=null;if(this._root&&Mt&&(ir=this._root.findTabNode(Mt)),Mt&&!ir)throw new Error(\"Reference widget is not in the layout.\");switch(_e.parent=this.parent,jt){case\"tab-after\":this._insertTab(_e,Mt,ir,!0);break;case\"tab-before\":this._insertTab(_e,Mt,ir,!1);break;case\"split-top\":this._insertSplit(_e,Mt,ir,\"vertical\",!1);break;case\"split-left\":this._insertSplit(_e,Mt,ir,\"horizontal\",!1);break;case\"split-right\":this._insertSplit(_e,Mt,ir,\"horizontal\",!0);break;case\"split-bottom\":this._insertSplit(_e,Mt,ir,\"vertical\",!0);break}this.parent&&(this.attachWidget(_e),this.parent.fit())},ze.prototype.removeWidget=function(_e){this._removeWidget(_e),this.parent&&(this.detachWidget(_e),this.parent.fit())},ze.prototype.hitTestTabAreas=function(_e,De){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=Eu.boxSizing(this.parent.node));var Mt=this.parent.node.getBoundingClientRect(),jt=_e-Mt.left-this._box.borderLeft,ir=De-Mt.top-this._box.borderTop,Cr=this._root.hitTestTabNodes(jt,ir);if(!Cr)return null;var Kr=Cr.tabBar,Qr=Cr.top,bn=Cr.left,In=Cr.width,an=Cr.height,Jr=this._box.borderLeft+this._box.borderRight,Er=this._box.borderTop+this._box.borderBottom,ke=Mt.width-Jr-(bn+In),Pn=Mt.height-Er-(Qr+an);return{tabBar:Kr,x:jt,y:ir,top:Qr,left:bn,right:ke,bottom:Pn,width:In,height:an}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)}),Os(this.handles(),function(De){_e.parent.node.appendChild(De)}),this.parent.fit()},ze.prototype.attachWidget=function(_e){this.parent.node!==_e.node.parentNode&&(this._items.set(_e,new Zy(_e)),this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach))},ze.prototype.detachWidget=function(_e){if(this.parent.node===_e.node.parentNode){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach);var De=this._items.get(_e);De&&(this._items.delete(_e),De.dispose())}},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._removeWidget=function(_e){if(this._root){var De=this._root.findTabNode(_e);if(De){if(ah.removeAria(_e),De.tabBar.titles.length>1){if(De.tabBar.removeTab(_e.title),this._hiddenMode===So.HiddenMode.Scale&&De.tabBar.titles.length==1){var Mt=De.tabBar.titles[0].owner;Mt.hiddenMode=So.HiddenMode.Display}return}if(De.tabBar.dispose(),this._root===De){this._root=null;return}this._root.holdAllSizes();var jt=De.parent;De.parent=null;var ir=Wa.removeFirstOf(jt.children,De),Cr=Wa.removeAt(jt.handles,ir);if(Wa.removeAt(jt.sizers,ir),Cr.parentNode&&Cr.parentNode.removeChild(Cr),jt.children.length>1){jt.syncHandles();return}var Kr=jt.parent;jt.parent=null;var Qr=jt.children[0],bn=jt.handles[0];if(jt.children.length=0,jt.handles.length=0,jt.sizers.length=0,bn.parentNode&&bn.parentNode.removeChild(bn),this._root===jt){Qr.parent=null,this._root=Qr;return}var In=Kr,an=In.children.indexOf(jt);if(Qr instanceof ah.TabLayoutNode){Qr.parent=In,In.children[an]=Qr;return}var Jr=Wa.removeAt(In.handles,an);Wa.removeAt(In.children,an),Wa.removeAt(In.sizers,an),Jr.parentNode&&Jr.parentNode.removeChild(Jr);for(var Er=0,ke=Qr.children.length;Er=this._left+this._width||Er=this._top+this._height?null:this},an.prototype.createConfig=function(){var Jr=this.tabBar.titles.map(function(ke){return ke.owner}),Er=this.tabBar.currentIndex;return{type:\"tab-area\",widgets:Jr,currentIndex:Er}},an.prototype.holdAllSizes=function(){},an.prototype.fit=function(Jr,Er){var ke=0,Pn=0,Ti=1/0,Ei=1/0,hi=Er.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Er.get(Xi.owner):void 0,_i=this.sizers,Ii=_i[0],Ki=_i[1];return hi&&hi.fit(),ra&&ra.fit(),hi&&!hi.isHidden?(ke=Math.max(ke,hi.minWidth),Pn+=hi.minHeight,Ii.minSize=hi.minHeight,Ii.maxSize=hi.maxHeight):(Ii.minSize=0,Ii.maxSize=0),ra&&!ra.isHidden?(ke=Math.max(ke,ra.minWidth),Pn+=ra.minHeight,Ki.minSize=ra.minHeight,Ki.maxSize=1/0):(Ki.minSize=0,Ki.maxSize=1/0),{minWidth:ke,minHeight:Pn,maxWidth:Ti,maxHeight:Ei}},an.prototype.update=function(Jr,Er,ke,Pn,Ti,Ei){this._top=Er,this._left=Jr,this._width=ke,this._height=Pn;var hi=Ei.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Ei.get(Xi.owner):void 0;if(Dd.calc(this.sizers,Pn),hi&&!hi.isHidden){var _i=this.sizers[0].size;hi.update(Jr,Er,ke,_i),Er+=_i}if(ra&&!ra.isHidden){var _i=this.sizers[1].size;ra.update(Jr,Er,ke,_i)}},an}();Je.TabLayoutNode=Mt;var jt=function(){function an(Jr){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=Jr}return an.prototype.iterAllWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterAllWidgets()});return new wm(Jr)},an.prototype.iterUserWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterUserWidgets()});return new wm(Jr)},an.prototype.iterSelectedWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterSelectedWidgets()});return new wm(Jr)},an.prototype.iterTabBars=function(){var Jr=Ap(this.children,function(Er){return Er.iterTabBars()});return new wm(Jr)},an.prototype.iterHandles=function(){var Jr=Ap(this.children,function(Er){return Er.iterHandles()});return pw(this.handles,new wm(Jr))},an.prototype.findTabNode=function(Jr){for(var Er=0,ke=this.children.length;Er=Er.length)&&(ke=0),{type:\"tab-area\",widgets:Er,currentIndex:ke}}function Qr(an,Jr){for(var Er=an.orientation,ke=[],Pn=[],Ti=0,Ei=an.children.length;Tira&&Ei>ra&&Ti>_i&&hi>_i)return{zone:\"widget-all\",target:ke};Pn/=ra,Ti/=_i,Ei/=ra,hi/=_i;var Ii=Math.min(Pn,Ti,Ei,hi),Ki;switch(Ii){case Pn:Ki=\"widget-left\";break;case Ti:Ki=\"widget-top\";break;case Ei:Ki=\"widget-right\";break;case hi:Ki=\"widget-bottom\";break;default:throw\"unreachable\"}return{zone:Ki,target:ke}}Je.findDropTarget=_e;function De(Mt){return Mt.titles.length===0?null:Mt.currentTitle?Mt.currentTitle.owner:Mt.titles[Mt.titles.length-1].owner}Je.getDropRef=De})(Pf||(Pf={}));var WB=function(){function Je(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new Kl(this),this._currentChanged=new Kl(this)}return Je.prototype.dispose=function(){var ze=this;this._counter<0||(this._counter=-1,Kl.clearData(this),Os(this._widgets,function(_e){_e.node.removeEventListener(\"focus\",ze,!0),_e.node.removeEventListener(\"blur\",ze,!0)}),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(Je.prototype,\"currentChanged\",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"activeChanged\",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"currentWidget\",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"activeWidget\",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"widgets\",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),Je.prototype.focusNumber=function(ze){var _e=this._numbers.get(ze);return _e===void 0?-1:_e},Je.prototype.has=function(ze){return this._numbers.has(ze)},Je.prototype.add=function(ze){if(!this._numbers.has(ze)){var _e=ze.node.contains(document.activeElement),De=_e?this._counter++:-1;this._widgets.push(ze),this._numbers.set(ze,De),this._nodes.set(ze.node,ze),ze.node.addEventListener(\"focus\",this,!0),ze.node.addEventListener(\"blur\",this,!0),ze.disposed.connect(this._onWidgetDisposed,this),_e&&this._setWidgets(ze,ze)}},Je.prototype.remove=function(ze){var _e=this;if(this._numbers.has(ze)&&(ze.disposed.disconnect(this._onWidgetDisposed,this),ze.node.removeEventListener(\"focus\",this,!0),ze.node.removeEventListener(\"blur\",this,!0),Wa.removeFirstOf(this._widgets,ze),this._nodes.delete(ze.node),this._numbers.delete(ze),this._currentWidget===ze)){var De=RS(this._widgets,function(jt){return _e._numbers.get(jt)!==-1}),Mt=DS(De,function(jt,ir){var Cr=_e._numbers.get(jt),Kr=_e._numbers.get(ir);return Cr-Kr})||null;this._setWidgets(Mt,null)}},Je.prototype.handleEvent=function(ze){switch(ze.type){case\"focus\":this._evtFocus(ze);break;case\"blur\":this._evtBlur(ze);break}},Je.prototype._setWidgets=function(ze,_e){var De=this._currentWidget;this._currentWidget=ze;var Mt=this._activeWidget;this._activeWidget=_e,De!==ze&&this._currentChanged.emit({oldValue:De,newValue:ze}),Mt!==_e&&this._activeChanged.emit({oldValue:Mt,newValue:_e})},Je.prototype._evtFocus=function(ze){var _e=this._nodes.get(ze.currentTarget);_e!==this._currentWidget&&this._numbers.set(_e,this._counter++),this._setWidgets(_e,_e)},Je.prototype._evtBlur=function(ze){var _e=this._nodes.get(ze.currentTarget),De=ze.relatedTarget;if(!De){this._setWidgets(this._currentWidget,null);return}if(!_e.node.contains(De)&&!Pg(this._widgets,function(Mt){return Mt.node.contains(De)})){this._setWidgets(this._currentWidget,null);return}},Je.prototype._onWidgetDisposed=function(ze){this.remove(ze)},Je}(),Iw=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,_e)||this;return De._dirty=!1,De._rowSpacing=4,De._columnSpacing=4,De._items=[],De._rowStarts=[],De._columnStarts=[],De._rowSizers=[new Cp],De._columnSizers=[new Cp],De._box=null,_e.rowCount!==void 0&&_h.reallocSizers(De._rowSizers,_e.rowCount),_e.columnCount!==void 0&&_h.reallocSizers(De._columnSizers,_e.columnCount),_e.rowSpacing!==void 0&&(De._rowSpacing=_h.clampValue(_e.rowSpacing)),_e.columnSpacing!==void 0&&(De._columnSpacing=_h.clampValue(_e.columnSpacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){var De=_e.widget;_e.dispose(),De.dispose()}),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"rowCount\",{get:function(){return this._rowSizers.length},set:function(_e){_e!==this.rowCount&&(_h.reallocSizers(this._rowSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"columnCount\",{get:function(){return this._columnSizers.length},set:function(_e){_e!==this.columnCount&&(_h.reallocSizers(this._columnSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"rowSpacing\",{get:function(){return this._rowSpacing},set:function(_e){_e=_h.clampValue(_e),this._rowSpacing!==_e&&(this._rowSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"columnSpacing\",{get:function(){return this._columnSpacing},set:function(_e){_e=_h.clampValue(_e),this._columnSpacing!==_e&&(this._columnSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.rowStretch=function(_e){var De=this._rowSizers[_e];return De?De.stretch:-1},ze.prototype.setRowStretch=function(_e,De){var Mt=this._rowSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.columnStretch=function(_e){var De=this._columnSizers[_e];return De?De.stretch:-1},ze.prototype.setColumnStretch=function(_e,De){var Mt=this._columnSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.iter=function(){return Ap(this._items,function(_e){return _e.widget})},ze.prototype.addWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(Mt){return Mt.widget===_e});De===-1&&(this._items.push(new Zy(_e)),this.parent&&this.attachWidget(_e))},ze.prototype.removeWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(jt){return jt.widget===_e});if(De!==-1){var Mt=Wa.removeAt(this._items,De);this.parent&&this.detachWidget(_e),Mt.dispose()}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)})},ze.prototype.attachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.detachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=this.rowCount;_eQr&&(Kr.length=Qr)}Je.reallocSizers=jt;function ir(Kr,Qr,bn,In){if(!(bn=In))for(var ke=(In-Jr)/(bn-Qr+1),Er=Qr;Er<=bn;++Er)Kr[Er].minSize+=ke}}Je.distributeMin=ir;function Cr(Kr){Kr.parent&&Kr.parent.layout instanceof Iw&&Kr.parent.fit()}})(_h||(_h={}));var HS=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,{node:Q1.createNode()})||this;return De._activeIndex=-1,De._tabFocusIndex=0,De._menus=[],De._childMenu=null,De.addClass(\"lm-MenuBar\"),De.addClass(\"p-MenuBar\"),De.setFlag(So.Flag.DisallowLayout),De.renderer=_e.renderer||ze.defaultRenderer,De._forceItemsPosition=_e.forceItemsPosition||{forceX:!0,forceY:!0},De}return ze.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"childMenu\",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"contentNode\",{get:function(){return this.node.getElementsByClassName(\"lm-MenuBar-content\")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"activeMenu\",{get:function(){return this._menus[this._activeIndex]||null},set:function(_e){this.activeIndex=_e?this._menus.indexOf(_e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"activeIndex\",{get:function(){return this._activeIndex},set:function(_e){(_e<0||_e>=this._menus.length)&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,_e!==-1&&(this._tabFocusIndex=_e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"menus\",{get:function(){return this._menus},enumerable:!0,configurable:!0}),ze.prototype.openActiveMenu=function(){this._activeIndex!==-1&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},ze.prototype.addMenu=function(_e){this.insertMenu(this._menus.length,_e)},ze.prototype.insertMenu=function(_e,De){this._closeChildMenu();var Mt=this._menus.indexOf(De),jt=Math.max(0,Math.min(_e,this._menus.length));if(Mt===-1){Wa.insert(this._menus,jt,De),De.addClass(\"lm-MenuBar-menu\"),De.addClass(\"p-MenuBar-menu\"),De.aboutToClose.connect(this._onMenuAboutToClose,this),De.menuRequested.connect(this._onMenuMenuRequested,this),De.title.changed.connect(this._onTitleChanged,this),this.update();return}jt===this._menus.length&&jt--,Mt!==jt&&(Wa.move(this._menus,Mt,jt),this.update())},ze.prototype.removeMenu=function(_e){this.removeMenuAt(this._menus.indexOf(_e))},ze.prototype.removeMenuAt=function(_e){this._closeChildMenu();var De=Wa.removeAt(this._menus,_e);De&&(De.aboutToClose.disconnect(this._onMenuAboutToClose,this),De.menuRequested.disconnect(this._onMenuMenuRequested,this),De.title.changed.disconnect(this._onTitleChanged,this),De.removeClass(\"lm-MenuBar-menu\"),De.removeClass(\"p-MenuBar-menu\"),this.update())},ze.prototype.clearMenus=function(){if(this._menus.length!==0){this._closeChildMenu();for(var _e=0,De=this._menus;_e=0&&this._tabFocusIndex\"u\"||typeof Cr>\"u\")&&(De=this._positionForMenu(this._activeIndex),ir=De.left,Cr=De.top),jt||(this.addClass(\"lm-mod-active\"),this.addClass(\"p-mod-active\")),Mt.items.length>0&&Mt.open(ir,Cr,this._forceItemsPosition)}},ze.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass(\"lm-mod-active\"),this.removeClass(\"p-mod-active\"),document.removeEventListener(\"mousedown\",this,!0);var _e=this._childMenu;this._childMenu=null,_e.close(),this.activeIndex=-1}},ze.prototype._onMenuAboutToClose=function(_e){_e===this._childMenu&&(this.removeClass(\"lm-mod-active\"),this.removeClass(\"p-mod-active\"),document.removeEventListener(\"mousedown\",this,!0),this._childMenu=null,this.activeIndex=-1)},ze.prototype._onMenuMenuRequested=function(_e,De){if(_e===this._childMenu){var Mt=this._activeIndex,jt=this._menus.length;switch(De){case\"next\":this.activeIndex=Mt===jt-1?0:Mt+1;break;case\"previous\":this.activeIndex=Mt===0?jt-1:Mt-1;break}this.openActiveMenu()}},ze.prototype._onTitleChanged=function(){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){}return _e.prototype.renderItem=function(De){var Mt=this.createItemClass(De),jt=this.createItemDataset(De),ir=this.createItemARIA(De);return _u.li(Fh({className:Mt,dataset:jt,tabindex:De.tabbable?\"0\":\"-1\",onfocus:De.onfocus},ir),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=this.createIconClass(De);return typeof De.title.icon==\"string\"?_u.div({className:Mt},De.title.iconLabel):_u.div({className:Mt},De.title.icon,De.title.iconLabel)},_e.prototype.renderLabel=function(De){var Mt=this.formatLabel(De);return _u.div({className:\"lm-MenuBar-itemLabel p-MenuBar-itemLabel\"},Mt)},_e.prototype.createItemClass=function(De){var Mt=\"lm-MenuBar-item\";return Mt+=\" p-MenuBar-item\",De.title.className&&(Mt+=\" \"+De.title.className),De.active&&(Mt+=\" lm-mod-active\",Mt+=\" p-mod-active\"),Mt},_e.prototype.createItemDataset=function(De){return De.title.dataset},_e.prototype.createItemARIA=function(De){return{role:\"menuitem\",\"aria-haspopup\":\"true\"}},_e.prototype.createIconClass=function(De){var Mt=\"lm-MenuBar-itemIcon\";Mt+=\" p-MenuBar-itemIcon\";var jt=De.title.iconClass;return jt?Mt+\" \"+jt:Mt},_e.prototype.formatLabel=function(De){var Mt=De.title,jt=Mt.label,ir=Mt.mnemonic;if(ir<0||ir>=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:\"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic\"},Qr);return[Cr,bn,Kr]},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(HS||(HS={}));var Q1;(function(Je){function ze(){var De=document.createElement(\"div\"),Mt=document.createElement(\"ul\");return Mt.className=\"lm-MenuBar-content\",Mt.classList.add(\"p-MenuBar-content\"),De.appendChild(Mt),Mt.setAttribute(\"role\",\"menubar\"),De}Je.createNode=ze;function _e(De,Mt,jt){for(var ir=-1,Cr=-1,Kr=!1,Qr=Mt.toUpperCase(),bn=0,In=De.length;bn=0&&Er1&&this.widgets.forEach(function(Mt){Mt.hiddenMode=De._hiddenMode}))},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,Je.prototype.dispose.call(this)},ze.prototype.attachWidget=function(_e,De){this._hiddenMode===So.HiddenMode.Scale&&this._items.length>0?(this._items.length===1&&(this.widgets[0].hiddenMode=So.HiddenMode.Scale),De.hiddenMode=So.HiddenMode.Scale):De.hiddenMode=So.HiddenMode.Display,Wa.insert(this._items,_e,new Zy(De)),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.widget.node.style.zIndex=\"\",this._hiddenMode===So.HiddenMode.Scale&&(De.hiddenMode=So.HiddenMode.Display,this._items.length===1&&(this._items[0].widget.hiddenMode=So.HiddenMode.Display)),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=0,jt=this._items.length;Mt{ZS.default.react(this.node,this._data,this._plotly_layout,this._config)})}},YO={safe:!0,mimeTypes:[YS],createRenderer:Je=>new zw(Je)},KO={id:\"@jupyterlab/plotly-extension:factory\",rendererFactory:YO,rank:0,dataType:\"json\",fileTypes:[{name:\"plotly\",mimeTypes:[YS],extensions:[\".plotly\",\".plotly.json\"],iconClass:ZO}],documentWidgetFactoryOptions:{name:\"Plotly\",primaryFileType:\"plotly\",fileTypes:[\"plotly\",\"json\"],defaultFor:[\"plotly\"]}},w7=KO;export{zw as PlotlyMimeRenderer,w7 as default,YO as rendererFactory};\n/*! Bundled license information:\n\nplotly.js/dist/plotly.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *)\n (*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n (*!\n * pad-left \n *\n * Copyright (c) 2014-2015, Jon Schlinkert.\n * Licensed under the MIT license.\n *)\n (*!\n * repeat-string \n *\n * Copyright (c) 2014-2015, Jon Schlinkert.\n * Licensed under the MIT License.\n *)\n (*! Bundled license information:\n \n native-promise-only/lib/npo.src.js:\n (*! Native Promise Only\n v0.8.1 (c) Kyle Simpson\n MIT License: http://getify.mit-license.org\n *)\n \n polybooljs/index.js:\n (*\n * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc\n * @license MIT\n * @preserve Project Home: https://github.com/voidqk/polybooljs\n *)\n \n ieee754/index.js:\n (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *)\n \n buffer/index.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n \n safe-buffer/index.js:\n (*! safe-buffer. MIT License. Feross Aboukhadijeh *)\n \n assert/build/internal/util/comparisons.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n \n object-assign/index.js:\n (*\n object-assign\n (c) Sindre Sorhus\n @license MIT\n *)\n \n maplibre-gl/dist/maplibre-gl.js:\n (**\n * MapLibre GL JS\n * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.1/LICENSE.txt\n *)\n *)\n\n@lumino/messaging/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/disposable/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/commands/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/virtualdom/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/widgets/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n*/\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js new file mode 100644 index 00000000000..1ba7d3d0bfd --- /dev/null +++ b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js @@ -0,0 +1,368 @@ +var _JUPYTERLAB; +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "webpack/container/entry/plotly-jupyter-mime-renderer": +/*!***********************!*\ + !*** container entry ***! + \***********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var moduleMap = { + "./index": () => { + return __webpack_require__.e("js_mimerenderer_js").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js"))))); + }, + "./mimeExtension": () => { + return __webpack_require__.e("js_mimerenderer_js").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js"))))); + } +}; +var get = (module, getScope) => { + __webpack_require__.R = getScope; + getScope = ( + __webpack_require__.o(moduleMap, module) + ? moduleMap[module]() + : Promise.resolve().then(() => { + throw new Error('Module "' + module + '" does not exist in container.'); + }) + ); + __webpack_require__.R = undefined; + return getScope; +}; +var init = (shareScope, initScope) => { + if (!__webpack_require__.S) return; + var name = "default" + var oldScope = __webpack_require__.S[name]; + if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope"); + __webpack_require__.S[name] = shareScope; + return __webpack_require__.I(name, initScope); +}; + +// This exports getters to disallow modifications +__webpack_require__.d(exports, { + get: () => (get), + init: () => (init) +}); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = __webpack_module_cache__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/amd options */ +/******/ (() => { +/******/ __webpack_require__.amdO = {}; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/ensure chunk */ +/******/ (() => { +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/get javascript chunk filename */ +/******/ (() => { +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => { +/******/ // return url for filenames based on template +/******/ return "" + chunkId + "." + "55332f9c879f105c1219" + ".js"; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/global */ +/******/ (() => { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/load script */ +/******/ (() => { +/******/ var inProgress = {}; +/******/ var dataWebpackPrefix = "plotly-jupyter-mime-renderer:"; +/******/ // loadScript function to load a script via script tag +/******/ __webpack_require__.l = (url, done, key, chunkId) => { +/******/ if(inProgress[url]) { inProgress[url].push(done); return; } +/******/ var script, needAttach; +/******/ if(key !== undefined) { +/******/ var scripts = document.getElementsByTagName("script"); +/******/ for(var i = 0; i < scripts.length; i++) { +/******/ var s = scripts[i]; +/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } +/******/ } +/******/ } +/******/ if(!script) { +/******/ needAttach = true; +/******/ script = document.createElement('script'); +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); +/******/ +/******/ script.src = url; +/******/ } +/******/ inProgress[url] = [done]; +/******/ var onScriptComplete = (prev, event) => { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var doneFns = inProgress[url]; +/******/ delete inProgress[url]; +/******/ script.parentNode && script.parentNode.removeChild(script); +/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ if(prev) return prev(event); +/******/ } +/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(null, script.onerror); +/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ needAttach && document.head.appendChild(script); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/sharing */ +/******/ (() => { +/******/ __webpack_require__.S = {}; +/******/ var initPromises = {}; +/******/ var initTokens = {}; +/******/ __webpack_require__.I = (name, initScope) => { +/******/ if(!initScope) initScope = []; +/******/ // handling circular init calls +/******/ var initToken = initTokens[name]; +/******/ if(!initToken) initToken = initTokens[name] = {}; +/******/ if(initScope.indexOf(initToken) >= 0) return; +/******/ initScope.push(initToken); +/******/ // only runs once +/******/ if(initPromises[name]) return initPromises[name]; +/******/ // creates a new share scope if needed +/******/ if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {}; +/******/ // runs all init snippets from all modules reachable +/******/ var scope = __webpack_require__.S[name]; +/******/ var warn = (msg) => { +/******/ if (typeof console !== "undefined" && console.warn) console.warn(msg); +/******/ }; +/******/ var uniqueName = "plotly-jupyter-mime-renderer"; +/******/ var register = (name, version, factory, eager) => { +/******/ var versions = scope[name] = scope[name] || {}; +/******/ var activeVersion = versions[version]; +/******/ if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager }; +/******/ }; +/******/ var initExternal = (id) => { +/******/ var handleError = (err) => (warn("Initialization of sharing external failed: " + err)); +/******/ try { +/******/ var module = __webpack_require__(id); +/******/ if(!module) return; +/******/ var initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope)) +/******/ if(module.then) return promises.push(module.then(initFn, handleError)); +/******/ var initResult = initFn(module); +/******/ if(initResult && initResult.then) return promises.push(initResult['catch'](handleError)); +/******/ } catch(err) { handleError(err); } +/******/ } +/******/ var promises = []; +/******/ switch(name) { +/******/ case "default": { +/******/ register("plotly-jupyter-mime-renderer", "0.1.0", () => (__webpack_require__.e("js_mimerenderer_js").then(() => (() => (__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js")))))); +/******/ } +/******/ break; +/******/ } +/******/ if(!promises.length) return initPromises[name] = 1; +/******/ return initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1)); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/publicPath */ +/******/ (() => { +/******/ var scriptUrl; +/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; +/******/ var document = __webpack_require__.g.document; +/******/ if (!scriptUrl && document) { +/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') +/******/ scriptUrl = document.currentScript.src; +/******/ if (!scriptUrl) { +/******/ var scripts = document.getElementsByTagName("script"); +/******/ if(scripts.length) { +/******/ var i = scripts.length - 1; +/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ } +/******/ } +/******/ } +/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration +/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. +/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); +/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); +/******/ __webpack_require__.p = scriptUrl; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "plotly-jupyter-mime-renderer": 0 +/******/ }; +/******/ +/******/ __webpack_require__.f.j = (chunkId, promises) => { +/******/ // JSONP chunk loading for javascript +/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ if(true) { // all chunks have JS +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ var loadingEnded = (event) => { +/******/ if(__webpack_require__.o(installedChunks, chunkId)) { +/******/ installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; +/******/ if(installedChunkData) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ installedChunkData[1](error); +/******/ } +/******/ } +/******/ }; +/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); +/******/ } +/******/ } +/******/ } +/******/ }; +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ // no on chunks loaded +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ +/******/ } +/******/ +/******/ var chunkLoadingGlobal = self["webpackChunkplotly_jupyter_mime_renderer"] = self["webpackChunkplotly_jupyter_mime_renderer"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // module cache are used so entry inlining is disabled +/******/ // startup +/******/ // Load entry module and return exports +/******/ var __webpack_exports__ = __webpack_require__("webpack/container/entry/plotly-jupyter-mime-renderer"); +/******/ (_JUPYTERLAB = typeof _JUPYTERLAB === "undefined" ? {} : _JUPYTERLAB)["plotly-jupyter-mime-renderer"] = __webpack_exports__; +/******/ +/******/ })() +; +//# sourceMappingURL=remoteEntry.7b27ec6d46d83104dde7.js.map \ No newline at end of file diff --git a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map new file mode 100644 index 00000000000..1cd9acd395a --- /dev/null +++ b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"remoteEntry.7b27ec6d46d83104dde7.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;UCjCD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;;;;WC5BA;;;;;WCAA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA;WACA,uBAAuB,4BAA4B;WACnD;WACA;WACA;WACA,iBAAiB,oBAAoB;WACrC;WACA,mGAAmG,YAAY;WAC/G;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE,iCAAiC;WACpG;WACA;WACA;WACA;;;;;WCzCA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,oJAAoJ;WACpJ;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,IAAI,aAAa;WACjB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7CA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WClBA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,iCAAiC;;WAEjC;WACA;WACA;WACA,KAAK;WACL,eAAe;WACf;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;;;;;UErFA;UACA;UACA;UACA","sources":["webpack://plotly-jupyter-mime-renderer/webpack/container-entry","webpack://plotly-jupyter-mime-renderer/webpack/bootstrap","webpack://plotly-jupyter-mime-renderer/webpack/runtime/amd options","webpack://plotly-jupyter-mime-renderer/webpack/runtime/define property getters","webpack://plotly-jupyter-mime-renderer/webpack/runtime/ensure chunk","webpack://plotly-jupyter-mime-renderer/webpack/runtime/get javascript chunk filename","webpack://plotly-jupyter-mime-renderer/webpack/runtime/global","webpack://plotly-jupyter-mime-renderer/webpack/runtime/hasOwnProperty shorthand","webpack://plotly-jupyter-mime-renderer/webpack/runtime/load script","webpack://plotly-jupyter-mime-renderer/webpack/runtime/make namespace object","webpack://plotly-jupyter-mime-renderer/webpack/runtime/sharing","webpack://plotly-jupyter-mime-renderer/webpack/runtime/publicPath","webpack://plotly-jupyter-mime-renderer/webpack/runtime/jsonp chunk loading","webpack://plotly-jupyter-mime-renderer/webpack/before-startup","webpack://plotly-jupyter-mime-renderer/webpack/startup","webpack://plotly-jupyter-mime-renderer/webpack/after-startup"],"sourcesContent":["var moduleMap = {\n\t\"./index\": () => {\n\t\treturn __webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\")))));\n\t},\n\t\"./mimeExtension\": () => {\n\t\treturn __webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\")))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.amdO = {};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + \"55332f9c879f105c1219\" + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"plotly-jupyter-mime-renderer:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"plotly-jupyter-mime-renderer\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"plotly-jupyter-mime-renderer\", \"0.1.0\", () => (__webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => (__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\"))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"plotly-jupyter-mime-renderer\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkplotly_jupyter_mime_renderer\"] = self[\"webpackChunkplotly_jupyter_mime_renderer\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(\"webpack/container/entry/plotly-jupyter-mime-renderer\");\n",""],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/plotly/labextension/static/style.js b/plotly/labextension/static/style.js new file mode 100644 index 00000000000..cdf3d73b837 --- /dev/null +++ b/plotly/labextension/static/style.js @@ -0,0 +1,4 @@ +/* This is a generated file of CSS imports */ +/* It was generated by @jupyterlab/builder in Build.ensureAssets() */ + + diff --git a/pyproject.toml b/pyproject.toml index 579a914d6a4..f2993e1ab68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "jupyter_packaging~=0.10.0", "wheel"] build-backend = "setuptools.build_meta" [project.urls] @@ -83,3 +83,16 @@ exclude = ''' | versioneer.py ) ''' + +[tool.jupyter-packaging.options] +skip-if-exists = ["plotly/labextension/static/style.js"] + +[tool.jupyter-packaging.builder] +factory = "jupyter_packaging.npm_builder" + +[tool.jupyter-packaging.build-args] +build_cmd = "build:prod" +npm = ["jlpm"] + +[project.entry-points."jupyterlab.mime_renderers"] +"application/vnd.plotly.v1+json" = "plotly:plugin" \ No newline at end of file From 583dea98b4870294c2b84e2bb35c6593fd76a006 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Wed, 19 Mar 2025 16:13:22 -0500 Subject: [PATCH 03/19] Use original code to maintain image load --- .gitignore | 2 + js/index.ts | 274 +- package-lock.json | 155 +- package.json | 5 +- plotly/__init__.py | 2 +- plotly/io/_base_renderers.py | 1 + plotly/labextension/build_log.json | 717 --- plotly/labextension/package.json | 7 +- ...js_mimerenderer_js.55332f9c879f105c1219.js | 4161 ----------------- ...imerenderer_js.55332f9c879f105c1219.js.map | 1 - .../remoteEntry.7b27ec6d46d83104dde7.js | 368 -- .../remoteEntry.7b27ec6d46d83104dde7.js.map | 1 - plotly/labextension/static/style.js | 4 - pyproject.toml | 7 +- 14 files changed, 257 insertions(+), 5448 deletions(-) delete mode 100644 plotly/labextension/build_log.json delete mode 100644 plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js delete mode 100644 plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map delete mode 100644 plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js delete mode 100644 plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map delete mode 100644 plotly/labextension/static/style.js diff --git a/.gitignore b/.gitignore index 0da5fe396a6..7aa80b3f35d 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,8 @@ doc/.ipynb_checkpoints tags doc/check-or-enforce-order.py plotly/package_data/widgetbundle.js +plotly/labextension/static +js/mimerenderer.js tests/percy/*.html tests/percy/pandas2/*.html diff --git a/js/index.ts b/js/index.ts index ab63035e1e9..59abd449dca 100644 --- a/js/index.ts +++ b/js/index.ts @@ -1,82 +1,248 @@ +// Copyright (c) Jupyter Development Team. +// Distributed under the terms of the Modified BSD License. + import { IRenderMime } from '@jupyterlab/rendermime-interfaces'; import { Widget } from '@lumino/widgets'; -import Plotly from "plotly.js"; - -/** -* The default mime type for the extension. -*/ -const MIME_TYPE = 'plotly/vnd'; +import type PlotlyType from "plotly.js"; +import { Message } from "@lumino/messaging"; /** -* The CSS class to add to the Plotly Widget. -*/ + * The CSS class to add to the Plotly Widget. + */ const CSS_CLASS = "jp-RenderedPlotly"; /** -* The CSS class for a Plotly icon. -*/ + * The CSS class for a Plotly icon. + */ const CSS_ICON_CLASS = "jp-MaterialIcon jp-PlotlyIcon"; /** -* A widget for rendering mp4. -*/ -export class PlotlyMimeRenderer extends Widget implements IRenderMime.IRenderer { - private _data: any; - private _config: any; - private _plotly_layout: any; - /** - * Construct a new output widget. - */ - constructor(options: any) { - super(); - this.addClass(CSS_CLASS); - this._data = options.data; - this._config = options.config; - this._plotly_layout = options.layout; + * The MIME type for Plotly. + * The version of this follows the major version of Plotly. + */ +export const MIME_TYPE = "application/vnd.plotly.v1+json"; + +interface IPlotlySpec { + data: PlotlyType.Data; + layout: PlotlyType.Layout; + frames?: PlotlyType.Frame[]; +} + +export class RenderedPlotly extends Widget implements IRenderMime.IRenderer { + /** + * Create a new widget for rendering Plotly. + */ + constructor(options: IRenderMime.IRendererOptions) { + super(); + this.addClass(CSS_CLASS); + this._mimeType = options.mimeType; + + // Create image element + this._img_el = document.createElement("img"); + this._img_el.className = "plot-img"; + this.node.appendChild(this._img_el); + + // Install image hover callback + this._img_el.addEventListener("mouseenter", (event) => { + this.createGraph(this._model); + }); + } + + /** + * Render Plotly into this widget's node. + */ + renderModel(model: IRenderMime.IMimeModel): Promise { + if (this.hasGraphElement()) { + // We already have a graph, don't overwrite it + return Promise.resolve(); } - - /** - * Render plotly into this widget's node. - */ - renderModel(model: IRenderMime.IMimeModel): Promise { - return new Promise((resolve, reject) => { - Plotly.react(this.node, this._data, this._plotly_layout, this._config) - }); + + // Save off reference to model so that we can regenerate the plot later + this._model = model; + + // Check for PNG data in mime bundle + const png_data = model.data["image/png"]; + if (png_data !== undefined && png_data !== null) { + // We have PNG data, use it + this.updateImage(png_data); + return Promise.resolve(); + } else { + // Create a new graph + return this.createGraph(model); } + } + + private hasGraphElement() { + // Check for the presence of the .plot-container element that plotly.js + // places at the top of the figure structure + return this.node.querySelector(".plot-container") !== null; + } + + private updateImage(png_data: string) { + this.hideGraph(); + this._img_el.src = "data:image/png;base64," + png_data; + this.showImage(); + } + + private hideGraph() { + // Hide the graph if there is one + let el = this.node.querySelector(".plot-container"); + if (el !== null && el !== undefined) { + el.style.display = "none"; + } + } + + private showGraph() { + // Show the graph if there is one + let el = this.node.querySelector(".plot-container"); + if (el !== null && el !== undefined) { + el.style.display = "block"; + } + } + + private hideImage() { + // Hide the image element + let el = this.node.querySelector(".plot-img"); + if (el !== null && el !== undefined) { + el.style.display = "none"; + } + } + + private showImage() { + // Show the image element + let el = this.node.querySelector(".plot-img"); + if (el !== null && el !== undefined) { + el.style.display = "block"; + } + } + + private createGraph(model: IRenderMime.IMimeModel): Promise { + const { data, layout, frames, config } = model.data[this._mimeType] as + | any + | IPlotlySpec; + + if (!layout.height) { + layout.height = 360; + } + + // Load plotly asynchronously + const loadPlotly = async (): Promise => { + if (RenderedPlotly.Plotly === null) { + RenderedPlotly.Plotly = await import("plotly.js"); + RenderedPlotly._resolveLoadingPlotly(); + } + return RenderedPlotly.loadingPlotly; + }; + + return loadPlotly() + .then(() => RenderedPlotly.Plotly!.react(this.node, data, layout, config)) + .then((plot) => { + this.showGraph(); + this.hideImage(); + this.update(); + if (frames) { + RenderedPlotly.Plotly!.addFrames(this.node, frames); + } + if (this.node.offsetWidth > 0 && this.node.offsetHeight > 0) { + RenderedPlotly.Plotly!.toImage(plot, { + format: "png", + width: this.node.offsetWidth, + height: this.node.offsetHeight, + }).then((url: string) => { + const imageData = url.split(",")[1]; + if (model.data["image/png"] !== imageData) { + model.setData({ + data: { + ...model.data, + "image/png": imageData, + }, + }); + } + }); + } + + // Handle webgl context lost events + (this.node).on( + "plotly_webglcontextlost", + () => { + const png_data = model.data["image/png"]; + if (png_data !== undefined && png_data !== null) { + // We have PNG data, use it + this.updateImage(png_data); + return Promise.resolve(); + } + } + ); + }); + } + + /** + * A message handler invoked on an `'after-show'` message. + */ + protected onAfterShow(msg: Message): void { + this.update(); + } + + /** + * A message handler invoked on a `'resize'` message. + */ + protected onResize(msg: Widget.ResizeMessage): void { + this.update(); + } + + /** + * A message handler invoked on an `'update-request'` message. + */ + protected onUpdateRequest(msg: Message): void { + if (RenderedPlotly.Plotly && this.isVisible && this.hasGraphElement()) { + RenderedPlotly.Plotly.redraw(this.node).then(() => { + RenderedPlotly.Plotly!.Plots.resize(this.node); + }); + } + } + + private _mimeType: string; + private _img_el: HTMLImageElement; + private _model: IRenderMime.IMimeModel; + + private static Plotly: typeof PlotlyType | null = null; + private static _resolveLoadingPlotly: () => void; + private static loadingPlotly = new Promise((resolve) => { + RenderedPlotly._resolveLoadingPlotly = resolve; + }); } /** -* A mime renderer factory for mp4 data. -*/ + * A mime renderer factory for Plotly data. + */ export const rendererFactory: IRenderMime.IRendererFactory = { - safe: true, - mimeTypes: [MIME_TYPE], - createRenderer: options => new PlotlyMimeRenderer(options) + safe: true, + mimeTypes: [MIME_TYPE], + createRenderer: (options) => new RenderedPlotly(options), }; -/** -* Extension definition. -*/ -const extension: IRenderMime.IExtension = { +const extensions: IRenderMime.IExtension | IRenderMime.IExtension[] = [ + { id: "@jupyterlab/plotly-extension:factory", rendererFactory, rank: 0, dataType: "json", fileTypes: [ - { - name: "plotly", - mimeTypes: [MIME_TYPE], - extensions: [".plotly", ".plotly.json"], - iconClass: CSS_ICON_CLASS, - }, + { + name: "plotly", + mimeTypes: [MIME_TYPE], + extensions: [".plotly", ".plotly.json"], + iconClass: CSS_ICON_CLASS, + }, ], documentWidgetFactoryOptions: { - name: "Plotly", - primaryFileType: "plotly", - fileTypes: ["plotly", "json"], - defaultFor: ["plotly"], + name: "Plotly", + primaryFileType: "plotly", + fileTypes: ["plotly", "json"], + defaultFor: ["plotly"], }, -} + }, +]; -export default extension; \ No newline at end of file +export default extensions; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 82379219366..69bfa62ca2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { - "name": "plotly-jupyter-mime-renderer", + "name": "jupyterlab-plotly", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "plotly-jupyter-mime-renderer", + "name": "jupyterlab-plotly", "version": "0.1.0", "dependencies": { - "@lumino/widgets": "^1.16.0", + "@lumino/widgets": "~2.4.0", "lodash-es": "^4.17.21", "plotly.js": "3.0.1" }, @@ -692,8 +692,7 @@ "node_modules/@lumino/algorithm": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-2.0.2.tgz", - "integrity": "sha512-cI8yJ2+QK1yM5ZRU3Kuaw9fJ/64JEDZEwWWp7+U0cd/mvcZ44BGdJJ29w+tIet1QXxPAvnsUleWyQ5qm4qUouA==", - "dev": true + "integrity": "sha512-cI8yJ2+QK1yM5ZRU3Kuaw9fJ/64JEDZEwWWp7+U0cd/mvcZ44BGdJJ29w+tIet1QXxPAvnsUleWyQ5qm4qUouA==" }, "node_modules/@lumino/application": { "version": "2.4.2", @@ -729,7 +728,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-2.0.2.tgz", "integrity": "sha512-o0QmfV1D3WhAeA8GI1/YmEPaK89JtHVa764rQ5T0LdbDEwUtUDbjavHs1E/+y66tNTXz9RUJ4D2rcSb9tysYsg==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2" } @@ -738,7 +736,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-2.3.1.tgz", "integrity": "sha512-DpX1kkE4PhILpvK1T4ZnaFb6UP4+YTkdZifvN3nbiomD64O2CTd+wcWIBpZMgy6MMgbVgrE8dzHxHk1EsKxNxw==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2", "@lumino/coreutils": "^2.2.0", @@ -753,7 +750,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-2.2.0.tgz", "integrity": "sha512-x5wnQ/GjWBayJ6vXVaUi6+Q6ETDdcUiH9eSfpRZFbgMQyyM6pi6baKqJBK2CHkCc/YbAEl6ipApTgm3KOJ/I3g==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2" } @@ -762,7 +758,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-2.1.3.tgz", "integrity": "sha512-k5KXy/+T3UItiWHY4WwQawnsJnGo3aNtP5CTRKqo4+tbTNuhc3rTSvygJlNKIbEfIZXW2EWYnwfFDozkYx95eA==", - "dev": true, "dependencies": { "@lumino/signaling": "^2.1.3" } @@ -770,14 +765,12 @@ "node_modules/@lumino/domutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-2.0.2.tgz", - "integrity": "sha512-2Kp6YHaMNI1rKB0PrALvOsZBHPy2EvVVAvJLWjlCm8MpWOVETjFp0MA9QpMubT9I76aKbaI5s1o1NJyZ8Y99pQ==", - "dev": true + "integrity": "sha512-2Kp6YHaMNI1rKB0PrALvOsZBHPy2EvVVAvJLWjlCm8MpWOVETjFp0MA9QpMubT9I76aKbaI5s1o1NJyZ8Y99pQ==" }, "node_modules/@lumino/dragdrop": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-2.1.5.tgz", "integrity": "sha512-zqwR4GakrQBKZOW6S5pj2nfrQDurOErAoe9x3HS3BKLa1AzWA+t9PD5NESOKd81NqXFHjiMirSyFkTUs6pw+uA==", - "dev": true, "dependencies": { "@lumino/coreutils": "^2.2.0", "@lumino/disposable": "^2.1.3" @@ -786,14 +779,12 @@ "node_modules/@lumino/keyboard": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-2.0.2.tgz", - "integrity": "sha512-icRUpvswDaFjqmAJNbQRb/aTu6Iugo6Y2oC08TiIwhQtLS9W+Ee9VofdqvbPSvCm6DkyP+DCWMuA3KXZ4V4g4g==", - "dev": true + "integrity": "sha512-icRUpvswDaFjqmAJNbQRb/aTu6Iugo6Y2oC08TiIwhQtLS9W+Ee9VofdqvbPSvCm6DkyP+DCWMuA3KXZ4V4g4g==" }, "node_modules/@lumino/messaging": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-2.0.2.tgz", "integrity": "sha512-2sUF07cYA0f3mDil41Eh5sfBk0aGAH/mOh1I4+vyRUsKyBqp4WTUtpJFd8xVJGAntygxwnebIygkIaXXTIQvxA==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2", "@lumino/collections": "^2.0.2" @@ -802,14 +793,12 @@ "node_modules/@lumino/properties": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-2.0.2.tgz", - "integrity": "sha512-b312oA3Bh97WFK8efXejYmC3DVJmvzJk72LQB7H3fXhfqS5jUWvL7MSnNmgcQvGzl9fIhDWDWjhtSTi0KGYYBg==", - "dev": true + "integrity": "sha512-b312oA3Bh97WFK8efXejYmC3DVJmvzJk72LQB7H3fXhfqS5jUWvL7MSnNmgcQvGzl9fIhDWDWjhtSTi0KGYYBg==" }, "node_modules/@lumino/signaling": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-2.1.3.tgz", "integrity": "sha512-9Wd4iMk8F1i6pYjy65bqKuPlzQMicyL9xy1/ccS20kovPcfD074waneL/7BVe+3M8i+fGa3x2qjbWrBzOdTdNw==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2", "@lumino/coreutils": "^2.2.0" @@ -819,121 +808,26 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-2.0.2.tgz", "integrity": "sha512-HYZThOtZSoknjdXA102xpy5CiXtTFCVz45EXdWeYLx3NhuEwuAIX93QBBIhupalmtFlRg1yhdDNV40HxJ4kcXg==", - "dev": true, "dependencies": { "@lumino/algorithm": "^2.0.2" } }, "node_modules/@lumino/widgets": { - "version": "1.37.2", - "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-1.37.2.tgz", - "integrity": "sha512-NHKu1NBDo6ETBDoNrqSkornfUCwc8EFFzw6+LWBfYVxn2PIwciq2SdiJGEyNqL+0h/A9eVKb5ui5z4cwpRekmQ==", - "dependencies": { - "@lumino/algorithm": "^1.9.2", - "@lumino/commands": "^1.21.1", - "@lumino/coreutils": "^1.12.1", - "@lumino/disposable": "^1.10.4", - "@lumino/domutils": "^1.8.2", - "@lumino/dragdrop": "^1.14.5", - "@lumino/keyboard": "^1.8.2", - "@lumino/messaging": "^1.10.3", - "@lumino/properties": "^1.8.2", - "@lumino/signaling": "^1.11.1", - "@lumino/virtualdom": "^1.14.3" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/algorithm": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-1.9.2.tgz", - "integrity": "sha512-Z06lp/yuhz8CtIir3PNTGnuk7909eXt4ukJsCzChsGuot2l5Fbs96RJ/FOHgwCedaX74CtxPjXHXoszFbUA+4A==" - }, - "node_modules/@lumino/widgets/node_modules/@lumino/collections": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-1.9.3.tgz", - "integrity": "sha512-2i2Wf1xnfTgEgdyKEpqM16bcYRIhUOGCDzaVCEZACVG9R1CgYwOe3zfn71slBQOVSjjRgwYrgLXu4MBpt6YK+g==", - "dependencies": { - "@lumino/algorithm": "^1.9.2" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/commands": { - "version": "1.21.1", - "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-1.21.1.tgz", - "integrity": "sha512-d1zJmwz5bHU0BM/Rl3tRdZ7/WgXnFB0bM7x7Bf0XDlmX++jnU9k0j3mh6/5JqCGLmIApKCRwVqSaV7jPmSJlcQ==", - "dependencies": { - "@lumino/algorithm": "^1.9.2", - "@lumino/coreutils": "^1.12.1", - "@lumino/disposable": "^1.10.4", - "@lumino/domutils": "^1.8.2", - "@lumino/keyboard": "^1.8.2", - "@lumino/signaling": "^1.11.1", - "@lumino/virtualdom": "^1.14.3" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/coreutils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-1.12.1.tgz", - "integrity": "sha512-JLu3nTHzJk9N8ohZ85u75YxemMrmDzJdNgZztfP7F7T7mxND3YVNCkJG35a6aJ7edu1sIgCjBxOvV+hv27iYvQ==", - "peerDependencies": { - "crypto": "1.0.1" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/disposable": { - "version": "1.10.4", - "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-1.10.4.tgz", - "integrity": "sha512-4ZxyYcyzUS+ZeB2KAH9oAH3w0DUUceiVr+FIZHZ2TAYGWZI/85WlqJtfm0xjwEpCwLLW1TDqJrISuZu3iMmVMA==", - "dependencies": { - "@lumino/algorithm": "^1.9.2", - "@lumino/signaling": "^1.11.1" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/domutils": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-1.8.2.tgz", - "integrity": "sha512-QIpMfkPJrs4GrWBuJf2Sn1fpyVPmvqUUAeD8xAQo8+4V5JAT0vUDLxZ9HijefMgNCi3+Bs8Z3lQwRCrz+cFP1A==" - }, - "node_modules/@lumino/widgets/node_modules/@lumino/dragdrop": { - "version": "1.14.5", - "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-1.14.5.tgz", - "integrity": "sha512-LC5xB82+xGF8hFyl716TMpV32OIMIMl+s3RU1PaqDkD6B7PkgiVk6NkJ4X9/GcEvl2igkvlGQt/3L7qxDAJNxw==", - "dependencies": { - "@lumino/coreutils": "^1.12.1", - "@lumino/disposable": "^1.10.4" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/keyboard": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-1.8.2.tgz", - "integrity": "sha512-Dy+XqQ1wXbcnuYtjys5A0pAqf4SpAFl9NY6owyIhXAo0Va7w3LYp3jgiP1xAaBAwMuUppiUAfrbjrysZuZ625g==" - }, - "node_modules/@lumino/widgets/node_modules/@lumino/messaging": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-1.10.3.tgz", - "integrity": "sha512-F/KOwMCdqvdEG8CYAJcBSadzp6aI7a47Fr60zAKGqZATSRRRV41q53iXU7HjFPqQqQIvdn9Z7J32rBEAyQAzww==", - "dependencies": { - "@lumino/algorithm": "^1.9.2", - "@lumino/collections": "^1.9.3" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/properties": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-1.8.2.tgz", - "integrity": "sha512-EkjI9Cw8R0U+xC9HxdFSu7X1tz1H1vKu20cGvJ2gU+CXlMB1DvoYJCYxCThByHZ+kURTAap4SE5x8HvKwNPbig==" - }, - "node_modules/@lumino/widgets/node_modules/@lumino/signaling": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-1.11.1.tgz", - "integrity": "sha512-YCUmgw08VoyMN5KxzqPO3KMx+cwdPv28tAN06C0K7Q/dQf+oufb1XocuhZb5selTrTmmuXeizaYxgLIQGdS1fA==", - "dependencies": { - "@lumino/algorithm": "^1.9.2", - "@lumino/properties": "^1.8.2" - } - }, - "node_modules/@lumino/widgets/node_modules/@lumino/virtualdom": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-1.14.3.tgz", - "integrity": "sha512-5joUC1yuxeXbpfbSBm/OR8Mu9HoTo6PDX0RKqzlJ9o97iml7zayFN/ynzcxScKGQAo9iaXOY8uVIvGUT8FnsGw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.4.0.tgz", + "integrity": "sha512-n7MqRKj+g/aRnI3dl4EJw/Bkt5/LSwGcn3sA9opn88CMZmAzjC33ac+q6zijovjCX8yDud7KKK8yPFTwOFaxhg==", "dependencies": { - "@lumino/algorithm": "^1.9.2" + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" } }, "node_modules/@mapbox/geojson-rewind": { @@ -2283,13 +2177,6 @@ "node": ">= 8" } }, - "node_modules/crypto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz", - "integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==", - "deprecated": "This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.", - "peer": true - }, "node_modules/css-font": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/css-font/-/css-font-1.2.0.tgz", diff --git a/package.json b/package.json index c3959aeb8e4..606ed6a92e8 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,18 @@ { - "name": "plotly-jupyter-mime-renderer", + "name": "jupyterlab-plotly", "version": "0.1.0", "main": "js/mimerenderer.js", "scripts": { "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=plotly/package_data/widgetbundle.js js/widget.ts", "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=js/mimerenderer.js js/index.ts", + "build": "npm run build:widget && npm run build:mimerenderer", "watch": "npm run build -- --watch --sourcemap=inline", "typecheck": "tsc --noEmit" }, "dependencies": { "lodash-es": "^4.17.21", "plotly.js": "3.0.1", - "@lumino/widgets": "^1.16.0" + "@lumino/widgets": "~2.4.0" }, "devDependencies": { "@jupyterlab/builder": "^4.3.6", diff --git a/plotly/__init__.py b/plotly/__init__.py index addb2683e6a..ed8fd86ee3a 100644 --- a/plotly/__init__.py +++ b/plotly/__init__.py @@ -187,7 +187,7 @@ def _jupyter_labextension_paths(): """ return [{ 'src': 'labextension', - 'dest': 'jupyterlab_plotly', + 'dest': 'jupyterlab-plotly', }] # For the mime renderer extension diff --git a/plotly/io/_base_renderers.py b/plotly/io/_base_renderers.py index 9363fe1efd6..b3e1a657519 100644 --- a/plotly/io/_base_renderers.py +++ b/plotly/io/_base_renderers.py @@ -85,6 +85,7 @@ def __init__(self, config=None): self.config = dict(config) if config else {} def to_mimebundle(self, fig_dict): + print("in PlotlyRenderer") config = _get_jconfig(self.config) if config: fig_dict["config"] = config diff --git a/plotly/labextension/build_log.json b/plotly/labextension/build_log.json deleted file mode 100644 index d38f766285e..00000000000 --- a/plotly/labextension/build_log.json +++ /dev/null @@ -1,717 +0,0 @@ -[ - { - "bail": true, - "module": { - "rules": [ - { - "test": "/\\.raw\\.css$/", - "type": "asset/source" - }, - { - "test": "/(? { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PlotlyMimeRenderer: () => (/* binding */ zw), -/* harmony export */ "default": () => (/* binding */ w7), -/* harmony export */ rendererFactory: () => (/* binding */ YO) -/* harmony export */ }); -/* provided dependency */ var process = __webpack_require__(/*! process/browser */ "./node_modules/process/browser.js"); -var SO=Object.create;var CS=Object.defineProperty;var EO=Object.getOwnPropertyDescriptor;var CO=Object.getOwnPropertyNames;var kO=Object.getPrototypeOf,LO=Object.prototype.hasOwnProperty;var kS=(Je,ze)=>()=>(ze||Je((ze={exports:{}}).exports,ze),ze.exports);var PO=(Je,ze,_e,De)=>{if(ze&&typeof ze=="object"||typeof ze=="function")for(let Mt of CO(ze))!LO.call(Je,Mt)&&Mt!==_e&&CS(Je,Mt,{get:()=>ze[Mt],enumerable:!(De=EO(ze,Mt))||De.enumerable});return Je};var dw=(Je,ze,_e)=>(_e=Je!=null?SO(kO(Je)):{},PO(ze||!Je||!Je.__esModule?CS(_e,"default",{value:Je,enumerable:!0}):_e,Je));var xw=kS((X1,US)=>{(function(Je,ze){typeof X1=="object"&&typeof US<"u"?ze(X1):typeof define=="function"&&__webpack_require__.amdO?define(["exports"],ze):(Je=typeof globalThis<"u"?globalThis:Je||self,ze(Je.lumino_coreutils={}))})(X1,function(Je){"use strict";Je.JSONExt=void 0,function(ir){ir.emptyObject=Object.freeze({}),ir.emptyArray=Object.freeze([]);function Cr(Pn){return Pn===null||typeof Pn=="boolean"||typeof Pn=="number"||typeof Pn=="string"}ir.isPrimitive=Cr;function Kr(Pn){return Array.isArray(Pn)}ir.isArray=Kr;function Qr(Pn){return!Cr(Pn)&&!Kr(Pn)}ir.isObject=Qr;function bn(Pn,Ti){if(Pn===Ti)return!0;if(Cr(Pn)||Cr(Ti))return!1;var Ei=Kr(Pn),hi=Kr(Ti);return Ei!==hi?!1:Ei&&hi?an(Pn,Ti):Jr(Pn,Ti)}ir.deepEqual=bn;function In(Pn){return Cr(Pn)?Pn:Kr(Pn)?Er(Pn):ke(Pn)}ir.deepCopy=In;function an(Pn,Ti){if(Pn===Ti)return!0;if(Pn.length!==Ti.length)return!1;for(var Ei=0,hi=Pn.length;Ei>>0),ir[Kr]=Cr&255,Cr>>>=8}Je.Random=void 0,function(ir){ir.getRandomValues=function(){var Cr=typeof window<"u"&&(window.crypto||window.msCrypto)||null;return Cr&&typeof Cr.getRandomValues=="function"?function(Qr){return Cr.getRandomValues(Qr)}:Mt}()}(Je.Random||(Je.Random={}));function jt(ir){for(var Cr=new Uint8Array(16),Kr=new Array(256),Qr=0;Qr<16;++Qr)Kr[Qr]="0"+Qr.toString(16);for(var Qr=16;Qr<256;++Qr)Kr[Qr]=Qr.toString(16);return function(){return ir(Cr),Cr[6]=64|Cr[6]&15,Cr[8]=128|Cr[8]&63,Kr[Cr[0]]+Kr[Cr[1]]+Kr[Cr[2]]+Kr[Cr[3]]+"-"+Kr[Cr[4]]+Kr[Cr[5]]+"-"+Kr[Cr[6]]+Kr[Cr[7]]+"-"+Kr[Cr[8]]+Kr[Cr[9]]+"-"+Kr[Cr[10]]+Kr[Cr[11]]+Kr[Cr[12]]+Kr[Cr[13]]+Kr[Cr[14]]+Kr[Cr[15]]}}Je.UUID=void 0,function(ir){ir.uuid4=jt(Je.Random.getRandomValues)}(Je.UUID||(Je.UUID={})),Je.MimeData=ze,Je.PromiseDelegate=_e,Je.Token=De,Object.defineProperty(Je,"__esModule",{value:!0})})});var XS=kS((WS,r_)=>{(function(Je,ze){typeof r_=="object"&&r_.exports?r_.exports=ze():Je.moduleName=ze()})(typeof self<"u"?self:WS,()=>{"use strict";var Je=(()=>{var ze=Object.create,_e=Object.defineProperty,De=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertyNames,Cr=Object.getOwnPropertySymbols,Kr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,In=(Z,H,g)=>H in Z?_e(Z,H,{enumerable:!0,configurable:!0,writable:!0,value:g}):Z[H]=g,an=(Z,H)=>{for(var g in H||(H={}))Qr.call(H,g)&&In(Z,g,H[g]);if(Cr)for(var g of Cr(H))bn.call(H,g)&&In(Z,g,H[g]);return Z},Jr=(Z,H)=>De(Z,jt(H)),Er=(Z,H)=>function(){return Z&&(H=(0,Z[ir(Z)[0]])(Z=0)),H},ke=(Z,H)=>function(){return H||(0,Z[ir(Z)[0]])((H={exports:{}}).exports,H),H.exports},Pn=(Z,H)=>{for(var g in H)_e(Z,g,{get:H[g],enumerable:!0})},Ti=(Z,H,g,x)=>{if(H&&typeof H=="object"||typeof H=="function")for(let A of ir(H))!Qr.call(Z,A)&&A!==g&&_e(Z,A,{get:()=>H[A],enumerable:!(x=Mt(H,A))||x.enumerable});return Z},Ei=(Z,H,g)=>(g=Z!=null?ze(Kr(Z)):{},Ti(H||!Z||!Z.__esModule?_e(g,"default",{value:Z,enumerable:!0}):g,Z)),hi=Z=>Ti(_e({},"__esModule",{value:!0}),Z),Xi=ke({"src/version.js"(Z){"use strict";Z.version="3.0.1"}}),ra=ke({"node_modules/native-promise-only/lib/npo.src.js"(Z,H){(function(x,A,S){A[x]=A[x]||S(),typeof H<"u"&&H.exports&&(H.exports=A[x])})("Promise",typeof window<"u"?window:Z,function(){"use strict";var x,A,S,e=Object.prototype.toString,t=typeof setImmediate<"u"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},"x",{}),x=function(_,w,M,E){return Object.defineProperty(_,w,{value:M,writable:!0,configurable:E!==!1})}}catch{x=function(w,M,E){return w[M]=E,w}}S=function(){var _,w,M;function E(m,b){this.fn=m,this.self=b,this.next=void 0}return{add:function(b,v){M=new E(b,v),w?w.next=M:_=M,w=M,M=void 0},drain:function(){var b=_;for(_=w=A=void 0;b;)b.fn.call(b.self),b=b.next}}}();function r(l,_){S.add(l,_),A||(A=t(S.drain))}function o(l){var _,w=typeof l;return l!=null&&(w=="object"||w=="function")&&(_=l.then),typeof _=="function"?_:!1}function n(){for(var l=0;l0&&r(n,w))}catch(M){s.call(new h(w),M)}}}function s(l){var _=this;_.triggered||(_.triggered=!0,_.def&&(_=_.def),_.msg=l,_.state=2,_.chain.length>0&&r(n,_))}function c(l,_,w,M){for(var E=0;E<_.length;E++)(function(b){l.resolve(_[b]).then(function(u){w(b,u)},M)})(E)}function h(l){this.def=l,this.triggered=!1}function p(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var _=new p(this);this.then=function(M,E){var m={success:typeof M=="function"?M:!0,failure:typeof E=="function"?E:!1};return m.promise=new this.constructor(function(v,u){if(typeof v!="function"||typeof u!="function")throw TypeError("Not a function");m.resolve=v,m.reject=u}),_.chain.push(m),_.state!==0&&r(n,_),m.promise},this.catch=function(M){return this.then(void 0,M)};try{l.call(void 0,function(M){a.call(_,M)},function(M){s.call(_,M)})}catch(w){s.call(_,w)}}var T=x({},"constructor",d,!1);return d.prototype=T,x(T,"__NPO__",0,!1),x(d,"resolve",function(_){var w=this;return _&&typeof _=="object"&&_.__NPO__===1?_:new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");E(_)})}),x(d,"reject",function(_){return new this(function(M,E){if(typeof M!="function"||typeof E!="function")throw TypeError("Not a function");E(_)})}),x(d,"all",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):_.length===0?w.resolve([]):new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");var b=_.length,v=Array(b),u=0;c(w,_,function(f,P){v[f]=P,++u===b&&E(v)},m)})}),x(d,"race",function(_){var w=this;return e.call(_)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(E,m){if(typeof E!="function"||typeof m!="function")throw TypeError("Not a function");c(w,_,function(v,u){E(u)},m)})}),d})}}),_i=ke({"node_modules/@plotly/d3/d3.js"(Z,H){(function(){var g={version:"3.8.2"},x=[].slice,A=function(de){return x.call(de)},S=self.document;function e(de){return de&&(de.ownerDocument||de.document||de).documentElement}function t(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(S)try{A(S.documentElement.childNodes)[0].nodeType}catch{A=function(Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=Re[Qe];return vt}}if(Date.now||(Date.now=function(){return+new Date}),S)try{S.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,o=r.setAttribute,n=r.setAttributeNS,i=this.CSSStyleDeclaration.prototype,a=i.setProperty;r.setAttribute=function(Re,Qe){o.call(this,Re,Qe+"")},r.setAttributeNS=function(Re,Qe,vt){n.call(this,Re,Qe,vt+"")},i.setProperty=function(Re,Qe,vt){a.call(this,Re,Qe+"",vt)}}g.ascending=s;function s(de,Re){return deRe?1:de>=Re?0:NaN}g.descending=function(de,Re){return Rede?1:Re>=de?0:NaN},g.min=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}return mt},g.max=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}return mt},g.extent=function(de,Re){var Qe=-1,vt=de.length,mt,Tt,Qt;if(arguments.length===1){for(;++Qe=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt1)return Qt/(lr-1)},g.deviation=function(){var de=g.variance.apply(this,arguments);return de&&Math.sqrt(de)};function p(de){return{left:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)<0?vt=Tt+1:mt=Tt}return vt},right:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)>0?mt=Tt:vt=Tt+1}return vt}}}var d=p(s);g.bisectLeft=d.left,g.bisect=g.bisectRight=d.right,g.bisector=function(de){return p(de.length===1?function(Re,Qe){return s(de(Re),Qe)}:de)},g.shuffle=function(de,Re,Qe){(vt=arguments.length)<3&&(Qe=de.length,vt<2&&(Re=0));for(var vt=Qe-Re,mt,Tt;vt;)Tt=Math.random()*vt--|0,mt=de[vt+Re],de[vt+Re]=de[Tt+Re],de[Tt+Re]=mt;return de},g.permute=function(de,Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=de[Re[Qe]];return vt},g.pairs=function(de){for(var Re=0,Qe=de.length-1,vt,mt=de[0],Tt=new Array(Qe<0?0:Qe);Re=0;)for(Qt=de[Re],Qe=Qt.length;--Qe>=0;)Tt[--mt]=Qt[Qe];return Tt};var l=Math.abs;g.range=function(de,Re,Qe){if(arguments.length<3&&(Qe=1,arguments.length<2&&(Re=de,de=0)),(Re-de)/Qe===1/0)throw new Error("infinite range");var vt=[],mt=_(l(Qe)),Tt=-1,Qt;if(de*=mt,Re*=mt,Qe*=mt,Qe<0)for(;(Qt=de+Qe*++Tt)>Re;)vt.push(Qt/mt);else for(;(Qt=de+Qe*++Tt)=Re.length)return mt?mt.call(de,lr):vt?lr.sort(vt):lr;for(var jr=-1,Tn=lr.length,yn=Re[Br++],ti,ai,En,qn=new M,Jn;++jr=Re.length)return Dt;var Br=[],jr=Qe[lr++];return Dt.forEach(function(Tn,yn){Br.push({key:Tn,values:Qt(yn,lr)})}),jr?Br.sort(function(Tn,yn){return jr(Tn.key,yn.key)}):Br}return de.map=function(Dt,lr){return Tt(lr,Dt,0)},de.entries=function(Dt){return Qt(Tt(g.map,Dt,0),0)},de.key=function(Dt){return Re.push(Dt),de},de.sortKeys=function(Dt){return Qe[Re.length-1]=Dt,de},de.sortValues=function(Dt){return vt=Dt,de},de.rollup=function(Dt){return mt=Dt,de},de},g.set=function(de){var Re=new z;if(de)for(var Qe=0,vt=de.length;Qe=0&&(vt=de.slice(Qe+1),de=de.slice(0,Qe)),de)return arguments.length<2?this[de].on(vt):this[de].on(vt,Re);if(arguments.length===2){if(Re==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(vt,null);return this}};function W(de){var Re=[],Qe=new M;function vt(){for(var mt=Re,Tt=-1,Qt=mt.length,Dt;++Tt=0&&(Qe=de.slice(0,Re))!=="xmlns"&&(de=de.slice(Re+1)),ce.hasOwnProperty(Qe)?{space:ce[Qe],local:de}:de}},ae.attr=function(de,Re){if(arguments.length<2){if(typeof de=="string"){var Qe=this.node();return de=g.ns.qualify(de),de.local?Qe.getAttributeNS(de.space,de.local):Qe.getAttribute(de)}for(Re in de)this.each(xe(Re,de[Re]));return this}return this.each(xe(de,Re))};function xe(de,Re){de=g.ns.qualify(de);function Qe(){this.removeAttribute(de)}function vt(){this.removeAttributeNS(de.space,de.local)}function mt(){this.setAttribute(de,Re)}function Tt(){this.setAttributeNS(de.space,de.local,Re)}function Qt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttribute(de):this.setAttribute(de,lr)}function Dt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,lr)}return Re==null?de.local?vt:Qe:typeof Re=="function"?de.local?Dt:Qt:de.local?Tt:mt}function Te(de){return de.trim().replace(/\s+/g," ")}ae.classed=function(de,Re){if(arguments.length<2){if(typeof de=="string"){var Qe=this.node(),vt=(de=Ie(de)).length,mt=-1;if(Re=Qe.classList){for(;++mt=0;)(Tt=Qe[vt])&&(mt&&mt!==Tt.nextSibling&&mt.parentNode.insertBefore(Tt,mt),mt=Tt);return this},ae.sort=function(de){de=Oe.apply(this,arguments);for(var Re=-1,Qe=this.length;++Re=Re&&(Re=mt+1);!(lr=Qt[Re])&&++Re0&&(de=de.slice(0,mt));var Qt=Bt.get(de);Qt&&(de=Qt,Tt=fr);function Dt(){var jr=this[vt];jr&&(this.removeEventListener(de,jr,jr.$),delete this[vt])}function lr(){var jr=Tt(Re,A(arguments));Dt.call(this),this.addEventListener(de,this[vt]=jr,jr.$=Qe),jr._=Re}function Br(){var jr=new RegExp("^__on([^.]+)"+g.requote(de)+"$"),Tn;for(var yn in this)if(Tn=yn.match(jr)){var ti=this[yn];this.removeEventListener(Tn[1],ti,ti.$),delete this[yn]}}return mt?Re?lr:Dt:Re?N:Br}var Bt=g.map({mouseenter:"mouseover",mouseleave:"mouseout"});S&&Bt.forEach(function(de){"on"+de in S&&Bt.remove(de)});function qt(de,Re){return function(Qe){var vt=g.event;g.event=Qe,Re[0]=this.__data__;try{de.apply(this,Re)}finally{g.event=vt}}}function fr(de,Re){var Qe=qt(de,Re);return function(vt){var mt=this,Tt=vt.relatedTarget;(!Tt||Tt!==mt&&!(Tt.compareDocumentPosition(mt)&8))&&Qe.call(mt,vt)}}var ar,Rr=0;function gr(de){var Re=".dragsuppress-"+ ++Rr,Qe="click"+Re,vt=g.select(t(de)).on("touchmove"+Re,Q).on("dragstart"+Re,Q).on("selectstart"+Re,Q);if(ar==null&&(ar="onselectstart"in de?!1:O(de.style,"userSelect")),ar){var mt=e(de).style,Tt=mt[ar];mt[ar]="none"}return function(Qt){if(vt.on(Re,null),ar&&(mt[ar]=Tt),Qt){var Dt=function(){vt.on(Qe,null)};vt.on(Qe,function(){Q(),Dt()},!0),setTimeout(Dt,0)}}}g.mouse=function(de){return _t(de,le())};var br=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function _t(de,Re){Re.changedTouches&&(Re=Re.changedTouches[0]);var Qe=de.ownerSVGElement||de;if(Qe.createSVGPoint){var vt=Qe.createSVGPoint();if(br<0){var mt=t(de);if(mt.scrollX||mt.scrollY){Qe=g.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var Tt=Qe[0][0].getScreenCTM();br=!(Tt.f||Tt.e),Qe.remove()}}return br?(vt.x=Re.pageX,vt.y=Re.pageY):(vt.x=Re.clientX,vt.y=Re.clientY),vt=vt.matrixTransform(de.getScreenCTM().inverse()),[vt.x,vt.y]}var Qt=de.getBoundingClientRect();return[Re.clientX-Qt.left-de.clientLeft,Re.clientY-Qt.top-de.clientTop]}g.touch=function(de,Re,Qe){if(arguments.length<3&&(Qe=Re,Re=le().changedTouches),Re){for(var vt=0,mt=Re.length,Tt;vt0?1:de<0?-1:0}function bt(de,Re,Qe){return(Re[0]-de[0])*(Qe[1]-de[1])-(Re[1]-de[1])*(Qe[0]-de[0])}function Rt(de){return de>1?0:de<-1?Se:Math.acos(de)}function Nt(de){return de>1?we:de<-1?-we:Math.asin(de)}function Xt(de){return((de=Math.exp(de))-1/de)/2}function $t(de){return((de=Math.exp(de))+1/de)/2}function ur(de){return((de=Math.exp(2*de))-1)/(de+1)}function pn(de){return(de=Math.sin(de/2))*de}var Rn=Math.SQRT2,Nn=2,On=4;g.interpolateZoom=function(de,Re){var Qe=de[0],vt=de[1],mt=de[2],Tt=Re[0],Qt=Re[1],Dt=Re[2],lr=Tt-Qe,Br=Qt-vt,jr=lr*lr+Br*Br,Tn,yn;if(jr0&&(ua=ua.transition().duration(Qt)),ua.call(oi.event)}function io(){qn&&qn.domain(En.range().map(function(ua){return(ua-de.x)/de.k}).map(En.invert)),ci&&ci.domain(Jn.range().map(function(ua){return(ua-de.y)/de.k}).map(Jn.invert))}function oo(ua){Dt++||ua({type:"zoomstart"})}function Qo(ua){io(),ua({type:"zoom",scale:de.k,translate:[de.x,de.y]})}function uo(ua){--Dt||(ua({type:"zoomend"}),Qe=null)}function Jo(){var ua=this,wo=ai.of(ua,arguments),ys=0,Ms=g.select(t(ua)).on(Br,gu).on(jr,Fl),xl=Hn(g.mouse(ua)),Ul=gr(ua);Va.call(ua),oo(wo);function gu(){ys=1,_a(g.mouse(ua),xl),Qo(wo)}function Fl(){Ms.on(Br,null).on(jr,null),Ul(ys),uo(wo)}}function ol(){var ua=this,wo=ai.of(ua,arguments),ys={},Ms=0,xl,Ul=".zoom-"+g.event.changedTouches[0].identifier,gu="touchmove"+Ul,Fl="touchend"+Ul,vc=[],tr=g.select(ua),cn=gr(ua);xi(),oo(wo),tr.on(lr,null).on(yn,xi);function Ln(){var Oi=g.touches(ua);return xl=de.k,Oi.forEach(function(na){na.identifier in ys&&(ys[na.identifier]=Hn(na))}),Oi}function xi(){var Oi=g.event.target;g.select(Oi).on(gu,Ni).on(Fl,Fi),vc.push(Oi);for(var na=g.event.changedTouches,Ca=0,ka=na.length;Ca1){var Aa=ha[0],Ma=ha[1],ia=Aa[0]-Ma[0],wi=Aa[1]-Ma[1];Ms=ia*ia+wi*wi}}function Ni(){var Oi=g.touches(ua),na,Ca,ka,ha;Va.call(ua);for(var Xo=0,Aa=Oi.length;Xo1?1:Re,Qe=Qe<0?0:Qe>1?1:Qe,mt=Qe<=.5?Qe*(1+Re):Qe+Re-Qe*Re,vt=2*Qe-mt;function Tt(Dt){return Dt>360?Dt-=360:Dt<0&&(Dt+=360),Dt<60?vt+(mt-vt)*Dt/60:Dt<180?mt:Dt<240?vt+(mt-vt)*(240-Dt)/60:vt}function Qt(Dt){return Math.round(Tt(Dt)*255)}return new Tr(Qt(de+120),Qt(de),Qt(de-120))}g.hcl=Vt;function Vt(de,Re,Qe){return this instanceof Vt?(this.h=+de,this.c=+Re,void(this.l=+Qe)):arguments.length<2?de instanceof Vt?new Vt(de.h,de.c,de.l):de instanceof xn?gt(de.l,de.a,de.b):gt((de=gn((de=g.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Vt(de,Re,Qe)}var wr=Vt.prototype=new gi;wr.brighter=function(de){return new Vt(this.h,this.c,Math.min(100,this.l+en*(arguments.length?de:1)))},wr.darker=function(de){return new Vt(this.h,this.c,Math.max(0,this.l-en*(arguments.length?de:1)))},wr.rgb=function(){return $r(this.h,this.c,this.l).rgb()};function $r(de,Re,Qe){return isNaN(de)&&(de=0),isNaN(Re)&&(Re=0),new xn(Qe,Math.cos(de*=Le)*Re,Math.sin(de)*Re)}g.lab=xn;function xn(de,Re,Qe){return this instanceof xn?(this.l=+de,this.a=+Re,void(this.b=+Qe)):arguments.length<2?de instanceof xn?new xn(de.l,de.a,de.b):de instanceof Vt?$r(de.h,de.c,de.l):gn((de=Tr(de)).r,de.g,de.b):new xn(de,Re,Qe)}var en=18,Fn=.95047,Wn=1,ri=1.08883,Sn=xn.prototype=new gi;Sn.brighter=function(de){return new xn(Math.min(100,this.l+en*(arguments.length?de:1)),this.a,this.b)},Sn.darker=function(de){return new xn(Math.max(0,this.l-en*(arguments.length?de:1)),this.a,this.b)},Sn.rgb=function(){return ui(this.l,this.a,this.b)};function ui(de,Re,Qe){var vt=(de+16)/116,mt=vt+Re/500,Tt=vt-Qe/200;return mt=yt(mt)*Fn,vt=yt(vt)*Wn,Tt=yt(Tt)*ri,new Tr(Ir(3.2404542*mt-1.5371385*vt-.4985314*Tt),Ir(-.969266*mt+1.8760108*vt+.041556*Tt),Ir(.0556434*mt-.2040259*vt+1.0572252*Tt))}function gt(de,Re,Qe){return de>0?new Vt(Math.atan2(Qe,Re)*nt,Math.sqrt(Re*Re+Qe*Qe),de):new Vt(NaN,NaN,de)}function yt(de){return de>.206893034?de*de*de:(de-4/29)/7.787037}function Pr(de){return de>.008856?Math.pow(de,1/3):7.787037*de+4/29}function Ir(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,1/2.4)-.055))}g.rgb=Tr;function Tr(de,Re,Qe){return this instanceof Tr?(this.r=~~de,this.g=~~Re,void(this.b=~~Qe)):arguments.length<2?de instanceof Tr?new Tr(de.r,de.g,de.b):nn(""+de,Tr,Ht):new Tr(de,Re,Qe)}function Mr(de){return new Tr(de>>16,de>>8&255,de&255)}function Lr(de){return Mr(de)+""}var Ur=Tr.prototype=new gi;Ur.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var Re=this.r,Qe=this.g,vt=this.b,mt=30;return!Re&&!Qe&&!vt?new Tr(mt,mt,mt):(Re&&Re>4,vt=vt>>4|vt,mt=lr&240,mt=mt>>4|mt,Tt=lr&15,Tt=Tt<<4|Tt):de.length===7&&(vt=(lr&16711680)>>16,mt=(lr&65280)>>8,Tt=lr&255)),Re(vt,mt,Tt))}function vn(de,Re,Qe){var vt=Math.min(de/=255,Re/=255,Qe/=255),mt=Math.max(de,Re,Qe),Tt=mt-vt,Qt,Dt,lr=(mt+vt)/2;return Tt?(Dt=lr<.5?Tt/(mt+vt):Tt/(2-mt-vt),de==mt?Qt=(Re-Qe)/Tt+(Re0&&lr<1?0:Qt),new Zt(Qt,Dt,lr)}function gn(de,Re,Qe){de=kt(de),Re=kt(Re),Qe=kt(Qe);var vt=Pr((.4124564*de+.3575761*Re+.1804375*Qe)/Fn),mt=Pr((.2126729*de+.7151522*Re+.072175*Qe)/Wn),Tt=Pr((.0193339*de+.119192*Re+.9503041*Qe)/ri);return xn(116*mt-16,500*(vt-mt),200*(mt-Tt))}function kt(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function or(de){var Re=parseFloat(de);return de.charAt(de.length-1)==="%"?Math.round(Re*2.55):Re}var yr=g.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});yr.forEach(function(de,Re){yr.set(de,Mr(Re))});function on(de){return typeof de=="function"?de:function(){return de}}g.functor=on,g.xhr=An(F);function An(de){return function(Re,Qe,vt){return arguments.length===2&&typeof Qe=="function"&&(vt=Qe,Qe=null),Zn(Re,Qe,de,vt)}}function Zn(de,Re,Qe,vt){var mt={},Tt=g.dispatch("beforesend","progress","load","error"),Qt={},Dt=new XMLHttpRequest,lr=null;self.XDomainRequest&&!("withCredentials"in Dt)&&/^(http(s)?:)?\/\//.test(de)&&(Dt=new XDomainRequest),"onload"in Dt?Dt.onload=Dt.onerror=Br:Dt.onreadystatechange=function(){Dt.readyState>3&&Br()};function Br(){var jr=Dt.status,Tn;if(!jr&&wn(Dt)||jr>=200&&jr<300||jr===304){try{Tn=Qe.call(mt,Dt)}catch(yn){Tt.error.call(mt,yn);return}Tt.load.call(mt,Tn)}else Tt.error.call(mt,Dt)}return Dt.onprogress=function(jr){var Tn=g.event;g.event=jr;try{Tt.progress.call(mt,Dt)}finally{g.event=Tn}},mt.header=function(jr,Tn){return jr=(jr+"").toLowerCase(),arguments.length<2?Qt[jr]:(Tn==null?delete Qt[jr]:Qt[jr]=Tn+"",mt)},mt.mimeType=function(jr){return arguments.length?(Re=jr==null?null:jr+"",mt):Re},mt.responseType=function(jr){return arguments.length?(lr=jr,mt):lr},mt.response=function(jr){return Qe=jr,mt},["get","post"].forEach(function(jr){mt[jr]=function(){return mt.send.apply(mt,[jr].concat(A(arguments)))}}),mt.send=function(jr,Tn,yn){if(arguments.length===2&&typeof Tn=="function"&&(yn=Tn,Tn=null),Dt.open(jr,de,!0),Re!=null&&!("accept"in Qt)&&(Qt.accept=Re+",*/*"),Dt.setRequestHeader)for(var ti in Qt)Dt.setRequestHeader(ti,Qt[ti]);return Re!=null&&Dt.overrideMimeType&&Dt.overrideMimeType(Re),lr!=null&&(Dt.responseType=lr),yn!=null&&mt.on("error",yn).on("load",function(ai){yn(null,ai)}),Tt.beforesend.call(mt,Dt),Dt.send(Tn??null),mt},mt.abort=function(){return Dt.abort(),mt},g.rebind(mt,Tt,"on"),vt==null?mt:mt.get(Bn(vt))}function Bn(de){return de.length===1?function(Re,Qe){de(Re==null?Qe:null)}:de}function wn(de){var Re=de.responseType;return Re&&Re!=="text"?de.response:de.responseText}g.dsv=function(de,Re){var Qe=new RegExp('["'+de+` -]`),vt=de.charCodeAt(0);function mt(Br,jr,Tn){arguments.length<3&&(Tn=jr,jr=null);var yn=Zn(Br,Re,jr==null?Tt:Qt(jr),Tn);return yn.row=function(ti){return arguments.length?yn.response((jr=ti)==null?Tt:Qt(ti)):jr},yn}function Tt(Br){return mt.parse(Br.responseText)}function Qt(Br){return function(jr){return mt.parse(jr.responseText,Br)}}mt.parse=function(Br,jr){var Tn;return mt.parseRows(Br,function(yn,ti){if(Tn)return Tn(yn,ti-1);var ai=function(En){for(var qn={},Jn=yn.length,ci=0;ci=ai)return yn;if(ci)return ci=!1,Tn;var ta=En;if(Br.charCodeAt(ta)===34){for(var oa=ta;oa++24?(isFinite(Re)&&(clearTimeout(Ta),Ta=setTimeout(to,Re)),pi=0):(pi=1,Sa(to))}g.timer.flush=function(){yo(),Xa()};function yo(){for(var de=Date.now(),Re=Dn;Re;)de>=Re.t&&Re.c(de-Re.t)&&(Re.c=null),Re=Re.n;return de}function Xa(){for(var de,Re=Dn,Qe=1/0;Re;)Re.c?(Re.t=0;--Dt)En.push(mt[Br[Tn[Dt]][2]]);for(Dt=+ti;Dt1&&bt(de[Qe[vt-2]],de[Qe[vt-1]],de[mt])<=0;)--vt;Qe[vt++]=mt}return Qe.slice(0,vt)}function Ko(de,Re){return de[0]-Re[0]||de[1]-Re[1]}g.geom.polygon=function(de){return G(de,gs),de};var gs=g.geom.polygon.prototype=[];gs.area=function(){for(var de=-1,Re=this.length,Qe,vt=this[Re-1],mt=0;++deKe)Dt=Dt.L;else if(Qt=Re-Eo(Dt,Qe),Qt>Ke){if(!Dt.R){vt=Dt;break}Dt=Dt.R}else{Tt>-Ke?(vt=Dt.P,mt=Dt):Qt>-Ke?(vt=Dt,mt=Dt.N):vt=mt=Dt;break}var lr=fs(de);if(hs.insert(vt,lr),!(!vt&&!mt)){if(vt===mt){Uo(vt),mt=fs(vt.site),hs.insert(lr,mt),lr.edge=mt.edge=$l(vt.site,lr.site),la(vt),la(mt);return}if(!mt){lr.edge=$l(vt.site,lr.site);return}Uo(vt),Uo(mt);var Br=vt.site,jr=Br.x,Tn=Br.y,yn=de.x-jr,ti=de.y-Tn,ai=mt.site,En=ai.x-jr,qn=ai.y-Tn,Jn=2*(yn*qn-ti*En),ci=yn*yn+ti*ti,oi=En*En+qn*qn,Hn={x:(qn*ci-ti*oi)/Jn+jr,y:(yn*oi-En*ci)/Jn+Tn};Tl(mt.edge,Br,ai,Hn),lr.edge=$l(Br,de,null,Hn),mt.edge=$l(de,ai,null,Hn),la(vt),la(mt)}}function Xs(de,Re){var Qe=de.site,vt=Qe.x,mt=Qe.y,Tt=mt-Re;if(!Tt)return vt;var Qt=de.P;if(!Qt)return-1/0;Qe=Qt.site;var Dt=Qe.x,lr=Qe.y,Br=lr-Re;if(!Br)return Dt;var jr=Dt-vt,Tn=1/Tt-1/Br,yn=jr/Br;return Tn?(-yn+Math.sqrt(yn*yn-2*Tn*(jr*jr/(-2*Br)-lr+Br/2+mt-Tt/2)))/Tn+vt:(vt+Dt)/2}function Eo(de,Re){var Qe=de.N;if(Qe)return Xs(Qe,Re);var vt=de.site;return vt.y===Re?vt.x:1/0}function Ys(de){this.site=de,this.edges=[]}Ys.prototype.prepare=function(){for(var de=this.edges,Re=de.length,Qe;Re--;)Qe=de[Re].edge,(!Qe.b||!Qe.a)&&de.splice(Re,1);return de.sort(hl),de.length};function As(de){for(var Re=de[0][0],Qe=de[1][0],vt=de[0][1],mt=de[1][1],Tt,Qt,Dt,lr,Br=ns,jr=Br.length,Tn,yn,ti,ai,En,qn;jr--;)if(Tn=Br[jr],!(!Tn||!Tn.prepare()))for(ti=Tn.edges,ai=ti.length,yn=0;ynKe||l(lr-Qt)>Ke)&&(ti.splice(yn,0,new Vu(Ku(Tn.site,qn,l(Dt-Re)Ke?{x:Re,y:l(Tt-Re)Ke?{x:l(Qt-mt)Ke?{x:Qe,y:l(Tt-Qe)Ke?{x:l(Qt-vt)=-je)){var yn=lr*lr+Br*Br,ti=jr*jr+qn*qn,ai=(qn*yn-Br*ti)/Tn,En=(lr*ti-jr*yn)/Tn,qn=En+Dt,Jn=Vs.pop()||new wl;Jn.arc=de,Jn.site=mt,Jn.x=ai+Qt,Jn.y=qn+Math.sqrt(ai*ai+En*En),Jn.cy=qn,de.circle=Jn;for(var ci=null,oi=Ls._;oi;)if(Jn.y0)){if(En/=ti,ti<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=Qe-Dt,!(!ti&&En<0)){if(En/=ti,ti<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ti>0){if(En0)){if(En/=ai,ai<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=vt-lr,!(!ai&&En<0)){if(En/=ai,ai<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ai>0){if(En0&&(mt.a={x:Dt+Tn*ti,y:lr+Tn*ai}),yn<1&&(mt.b={x:Dt+yn*ti,y:lr+yn*ai}),mt}}}}}}function Ps(de){for(var Re=Yo,Qe=vo(de[0][0],de[0][1],de[1][0],de[1][1]),vt=Re.length,mt;vt--;)mt=Re[vt],(!ls(mt,de)||!Qe(mt)||l(mt.a.x-mt.b.x)=Tt)return;if(jr>yn){if(!vt)vt={x:ai,y:Qt};else if(vt.y>=Dt)return;Qe={x:ai,y:Dt}}else{if(!vt)vt={x:ai,y:Dt};else if(vt.y1)if(jr>yn){if(!vt)vt={x:(Qt-Jn)/qn,y:Qt};else if(vt.y>=Dt)return;Qe={x:(Dt-Jn)/qn,y:Dt}}else{if(!vt)vt={x:(Dt-Jn)/qn,y:Dt};else if(vt.y=Tt)return;Qe={x:Tt,y:qn*Tt+Jn}}else{if(!vt)vt={x:Tt,y:qn*Tt+Jn};else if(vt.x=jr&&Jn.x<=yn&&Jn.y>=Tn&&Jn.y<=ti?[[jr,ti],[yn,ti],[yn,Tn],[jr,Tn]]:[];ci.point=lr[En]}),Br}function Dt(lr){return lr.map(function(Br,jr){return{x:Math.round(vt(Br,jr)/Ke)*Ke,y:Math.round(mt(Br,jr)/Ke)*Ke,i:jr}})}return Qt.links=function(lr){return Ju(Dt(lr)).edges.filter(function(Br){return Br.l&&Br.r}).map(function(Br){return{source:lr[Br.l.i],target:lr[Br.r.i]}})},Qt.triangles=function(lr){var Br=[];return Ju(Dt(lr)).cells.forEach(function(jr,Tn){for(var yn=jr.site,ti=jr.edges.sort(hl),ai=-1,En=ti.length,qn,Jn,ci=ti[En-1].edge,oi=ci.l===yn?ci.r:ci.l;++aioi&&(oi=jr.x),jr.y>Hn&&(Hn=jr.y),ti.push(jr.x),ai.push(jr.y);else for(En=0;Enoi&&(oi=ta),oa>Hn&&(Hn=oa),ti.push(ta),ai.push(oa)}var _a=oi-Jn,La=Hn-ci;_a>La?Hn=ci+_a:oi=Jn+La;function io(uo,Jo,ol,tl,ml,ua,wo,ys){if(!(isNaN(ol)||isNaN(tl)))if(uo.leaf){var Ms=uo.x,xl=uo.y;if(Ms!=null)if(l(Ms-ol)+l(xl-tl)<.01)oo(uo,Jo,ol,tl,ml,ua,wo,ys);else{var Ul=uo.point;uo.x=uo.y=uo.point=null,oo(uo,Ul,Ms,xl,ml,ua,wo,ys),oo(uo,Jo,ol,tl,ml,ua,wo,ys)}else uo.x=ol,uo.y=tl,uo.point=Jo}else oo(uo,Jo,ol,tl,ml,ua,wo,ys)}function oo(uo,Jo,ol,tl,ml,ua,wo,ys){var Ms=(ml+wo)*.5,xl=(ua+ys)*.5,Ul=ol>=Ms,gu=tl>=xl,Fl=gu<<1|Ul;uo.leaf=!1,uo=uo.nodes[Fl]||(uo.nodes[Fl]=Ql()),Ul?ml=Ms:wo=Ms,gu?ua=xl:ys=xl,io(uo,Jo,ol,tl,ml,ua,wo,ys)}var Qo=Ql();if(Qo.add=function(uo){io(Qo,uo,+Tn(uo,++En),+yn(uo,En),Jn,ci,oi,Hn)},Qo.visit=function(uo){Al(uo,Qo,Jn,ci,oi,Hn)},Qo.find=function(uo){return oc(Qo,uo[0],uo[1],Jn,ci,oi,Hn)},En=-1,Re==null){for(;++EnTt||yn>Qt||ti=ta,La=Qe>=oa,io=La<<1|_a,oo=io+4;ioQe&&(Tt=Re.slice(Qe,Tt),Dt[Qt]?Dt[Qt]+=Tt:Dt[++Qt]=Tt),(vt=vt[0])===(mt=mt[0])?Dt[Qt]?Dt[Qt]+=mt:Dt[++Qt]=mt:(Dt[++Qt]=null,lr.push({i:Qt,x:Ml(vt,mt)})),Qe=sc.lastIndex;return Qe=0&&!(vt=g.interpolators[Qe](de,Re)););return vt}g.interpolators=[function(de,Re){var Qe=typeof Re;return(Qe==="string"?yr.has(Re.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Re)?gc:Zs:Re instanceof gi?gc:Array.isArray(Re)?$u:Qe==="object"&&isNaN(Re)?nl:Ml)(de,Re)}],g.interpolateArray=$u;function $u(de,Re){var Qe=[],vt=[],mt=de.length,Tt=Re.length,Qt=Math.min(de.length,Re.length),Dt;for(Dt=0;Dt=0?de.slice(0,Re):de,vt=Re>=0?de.slice(Re+1):"in";return Qe=Nh.get(Qe)||ll,vt=ds.get(vt)||F,Sh(vt(Qe.apply(null,x.call(arguments,1))))};function Sh(de){return function(Re){return Re<=0?0:Re>=1?1:de(Re)}}function Bs(de){return function(Re){return 1-de(1-Re)}}function Vo(de){return function(Re){return .5*(Re<.5?de(2*Re):2-de(2-2*Re))}}function rf(de){return de*de}function Qu(de){return de*de*de}function pu(de){if(de<=0)return 0;if(de>=1)return 1;var Re=de*de,Qe=Re*de;return 4*(de<.5?Qe:3*(de-Re)+Qe-.75)}function Df(de){return function(Re){return Math.pow(Re,de)}}function Lc(de){return 1-Math.cos(de*we)}function nf(de){return Math.pow(2,10*(de-1))}function Vl(de){return 1-Math.sqrt(1-de*de)}function Jf(de,Re){var Qe;return arguments.length<2&&(Re=.45),arguments.length?Qe=Re/He*Math.asin(1/de):(de=1,Qe=Re/4),function(vt){return 1+de*Math.pow(2,-10*vt)*Math.sin((vt-Qe)*He/Re)}}function zf(de){return de||(de=1.70158),function(Re){return Re*Re*((de+1)*Re-de)}}function wf(de){return de<1/2.75?7.5625*de*de:de<2/2.75?7.5625*(de-=1.5/2.75)*de+.75:de<2.5/2.75?7.5625*(de-=2.25/2.75)*de+.9375:7.5625*(de-=2.625/2.75)*de+.984375}g.interpolateHcl=Gc;function Gc(de,Re){de=g.hcl(de),Re=g.hcl(Re);var Qe=de.h,vt=de.c,mt=de.l,Tt=Re.h-Qe,Qt=Re.c-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.c:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return $r(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateHsl=Ff;function Ff(de,Re){de=g.hsl(de),Re=g.hsl(Re);var Qe=de.h,vt=de.s,mt=de.l,Tt=Re.h-Qe,Qt=Re.s-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.s:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return Ht(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateLab=$f;function $f(de,Re){de=g.lab(de),Re=g.lab(Re);var Qe=de.l,vt=de.a,mt=de.b,Tt=Re.l-Qe,Qt=Re.a-vt,Dt=Re.b-mt;return function(lr){return ui(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+""}}g.interpolateRound=ec;function ec(de,Re){return Re-=de,function(Qe){return Math.round(de+Re*Qe)}}g.transform=function(de){var Re=S.createElementNS(g.ns.prefix.svg,"g");return(g.transform=function(Qe){if(Qe!=null){Re.setAttribute("transform",Qe);var vt=Re.transform.baseVal.consolidate()}return new Tf(vt?vt.matrix:cf)})(de)};function Tf(de){var Re=[de.a,de.b],Qe=[de.c,de.d],vt=Wc(Re),mt=Pc(Re,Qe),Tt=Wc(Pu(Qe,Re,-mt))||0;Re[0]*Qe[1]180?Re+=360:Re-de>180&&(de+=360),vt.push({i:Qe.push(Ic(Qe)+"rotate(",null,")")-2,x:Ml(de,Re)})):Re&&Qe.push(Ic(Qe)+"rotate("+Re+")")}function Eh(de,Re,Qe,vt){de!==Re?vt.push({i:Qe.push(Ic(Qe)+"skewX(",null,")")-2,x:Ml(de,Re)}):Re&&Qe.push(Ic(Qe)+"skewX("+Re+")")}function Qf(de,Re,Qe,vt){if(de[0]!==Re[0]||de[1]!==Re[1]){var mt=Qe.push(Ic(Qe)+"scale(",null,",",null,")");vt.push({i:mt-4,x:Ml(de[0],Re[0])},{i:mt-2,x:Ml(de[1],Re[1])})}else(Re[0]!==1||Re[1]!==1)&&Qe.push(Ic(Qe)+"scale("+Re+")")}function af(de,Re){var Qe=[],vt=[];return de=g.transform(de),Re=g.transform(Re),Ks(de.translate,Re.translate,Qe,vt),Of(de.rotate,Re.rotate,Qe,vt),Eh(de.skew,Re.skew,Qe,vt),Qf(de.scale,Re.scale,Qe,vt),de=Re=null,function(mt){for(var Tt=-1,Qt=vt.length,Dt;++Tt0?Tt=Hn:(Qe.c=null,Qe.t=NaN,Qe=null,Re.end({type:"end",alpha:Tt=0})):Hn>0&&(Re.start({type:"start",alpha:Tt=Hn}),Qe=qa(de.tick)),de):Tt},de.start=function(){var Hn,ta=ti.length,oa=ai.length,_a=vt[0],La=vt[1],io,oo;for(Hn=0;Hn=0;)Tt.push(jr=Br[lr]),jr.parent=Dt,jr.depth=Dt.depth+1;Qe&&(Dt.value=0),Dt.children=Br}else Qe&&(Dt.value=+Qe.call(vt,Dt,Dt.depth)||0),delete Dt.children;return lc(mt,function(Tn){var yn,ti;de&&(yn=Tn.children)&&yn.sort(de),Qe&&(ti=Tn.parent)&&(ti.value+=Tn.value)}),Qt}return vt.sort=function(mt){return arguments.length?(de=mt,vt):de},vt.children=function(mt){return arguments.length?(Re=mt,vt):Re},vt.value=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt.revalue=function(mt){return Qe&&(_c(mt,function(Tt){Tt.children&&(Tt.value=0)}),lc(mt,function(Tt){var Qt;Tt.children||(Tt.value=+Qe.call(vt,Tt,Tt.depth)||0),(Qt=Tt.parent)&&(Qt.value+=Tt.value)})),mt},vt};function Hu(de,Re){return g.rebind(de,Re,"sort","children","value"),de.nodes=de,de.links=Du,de}function _c(de,Re){for(var Qe=[de];(de=Qe.pop())!=null;)if(Re(de),(mt=de.children)&&(vt=mt.length))for(var vt,mt;--vt>=0;)Qe.push(mt[vt])}function lc(de,Re){for(var Qe=[de],vt=[];(de=Qe.pop())!=null;)if(vt.push(de),(Qt=de.children)&&(Tt=Qt.length))for(var mt=-1,Tt,Qt;++mtmt&&(mt=Dt),vt.push(Dt)}for(Qt=0;Qtvt&&(Qe=Re,vt=mt);return Qe}function ul(de){return de.reduce(sf,0)}function sf(de,Re){return de+Re[1]}g.layout.histogram=function(){var de=!0,Re=Number,Qe=hf,vt=xc;function mt(Tt,yn){for(var Dt=[],lr=Tt.map(Re,this),Br=Qe.call(this,lr,yn),jr=vt.call(this,Br,lr,yn),Tn,yn=-1,ti=lr.length,ai=jr.length-1,En=de?1:1/ti,qn;++yn0)for(yn=-1;++yn=Br[0]&&qn<=Br[1]&&(Tn=Dt[g.bisect(jr,qn,1,ai)-1],Tn.y+=En,Tn.push(Tt[yn]));return Dt}return mt.value=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.range=function(Tt){return arguments.length?(Qe=on(Tt),mt):Qe},mt.bins=function(Tt){return arguments.length?(vt=typeof Tt=="number"?function(Qt){return Gu(Qt,Tt)}:on(Tt),mt):vt},mt.frequency=function(Tt){return arguments.length?(de=!!Tt,mt):de},mt};function xc(de,Re){return Gu(de,Math.ceil(Math.log(Re.length)/Math.LN2+1))}function Gu(de,Re){for(var Qe=-1,vt=+de[0],mt=(de[1]-vt)/Re,Tt=[];++Qe<=Re;)Tt[Qe]=mt*Qe+vt;return Tt}function hf(de){return[g.min(de),g.max(de)]}g.layout.pack=function(){var de=g.layout.hierarchy().sort(uc),Re=0,Qe=[1,1],vt;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br=Qe[0],jr=Qe[1],Tn=vt==null?Math.sqrt:typeof vt=="function"?vt:function(){return vt};if(lr.x=lr.y=0,lc(lr,function(ti){ti.r=+Tn(ti.value)}),lc(lr,Uf),Re){var yn=Re*(vt?1:Math.max(2*lr.r/Br,2*lr.r/jr))/2;lc(lr,function(ti){ti.r+=yn}),lc(lr,Uf),lc(lr,function(ti){ti.r-=yn})}return cc(lr,Br/2,jr/2,vt?1:1/Math.max(2*lr.r/Br,2*lr.r/jr)),Dt}return mt.size=function(Tt){return arguments.length?(Qe=Tt,mt):Qe},mt.radius=function(Tt){return arguments.length?(vt=Tt==null||typeof Tt=="function"?Tt:+Tt,mt):vt},mt.padding=function(Tt){return arguments.length?(Re=+Tt,mt):Re},Hu(mt,de)};function uc(de,Re){return de.value-Re.value}function Zc(de,Re){var Qe=de._pack_next;de._pack_next=Re,Re._pack_prev=de,Re._pack_next=Qe,Qe._pack_prev=Re}function Nf(de,Re){de._pack_next=Re,Re._pack_prev=de}function Xl(de,Re){var Qe=Re.x-de.x,vt=Re.y-de.y,mt=de.r+Re.r;return .999*mt*mt>Qe*Qe+vt*vt}function Uf(de){if(!(Re=de.children)||!(yn=Re.length))return;var Re,Qe=1/0,vt=-1/0,mt=1/0,Tt=-1/0,Qt,Dt,lr,Br,jr,Tn,yn;function ti(Hn){Qe=Math.min(Hn.x-Hn.r,Qe),vt=Math.max(Hn.x+Hn.r,vt),mt=Math.min(Hn.y-Hn.r,mt),Tt=Math.max(Hn.y+Hn.r,Tt)}if(Re.forEach(Wu),Qt=Re[0],Qt.x=-Qt.r,Qt.y=0,ti(Qt),yn>1&&(Dt=Re[1],Dt.x=Dt.r,Dt.y=0,ti(Dt),yn>2))for(lr=Re[2],zl(Qt,Dt,lr),ti(lr),Zc(Qt,lr),Qt._pack_prev=lr,Zc(lr,Dt),Dt=Qt._pack_next,Br=3;Brqn.x&&(qn=ta),ta.depth>Jn.depth&&(Jn=ta)});var ci=Re(En,qn)/2-En.x,oi=Qe[0]/(qn.x+Re(qn,En)/2+ci),Hn=Qe[1]/(Jn.depth||1);_c(ti,function(ta){ta.x=(ta.x+ci)*oi,ta.y=ta.depth*Hn})}return yn}function Tt(jr){for(var Tn={A:null,children:[jr]},yn=[Tn],ti;(ti=yn.pop())!=null;)for(var ai=ti.children,En,qn=0,Jn=ai.length;qn0&&(rc(Yt(En,jr,yn),jr,ta),Jn+=ta,ci+=ta),oi+=En.m,Jn+=ti.m,Hn+=qn.m,ci+=ai.m;En&&!Dc(ai)&&(ai.t=En,ai.m+=oi-ci),ti&&!fc(qn)&&(qn.t=ti,qn.m+=Jn-Hn,yn=jr)}return yn}function Br(jr){jr.x*=Qe[0],jr.y=jr.depth*Qe[1]}return mt.separation=function(jr){return arguments.length?(Re=jr,mt):Re},mt.size=function(jr){return arguments.length?(vt=(Qe=jr)==null?Br:null,mt):vt?null:Qe},mt.nodeSize=function(jr){return arguments.length?(vt=(Qe=jr)==null?null:Br,mt):vt?Qe:null},Hu(mt,de)};function uu(de,Re){return de.parent==Re.parent?1:2}function fc(de){var Re=de.children;return Re.length?Re[0]:de.t}function Dc(de){var Re=de.children,Qe;return(Qe=Re.length)?Re[Qe-1]:de.t}function rc(de,Re,Qe){var vt=Qe/(Re.i-de.i);Re.c-=vt,Re.s+=Qe,de.c+=vt,Re.z+=Qe,Re.m+=Qe}function Yc(de){for(var Re=0,Qe=0,vt=de.children,mt=vt.length,Tt;--mt>=0;)Tt=vt[mt],Tt.z+=Re,Tt.m+=Re,Re+=Tt.s+(Qe+=Tt.c)}function Yt(de,Re,Qe){return de.a.parent===Re.parent?de.a:Qe}g.layout.cluster=function(){var de=g.layout.hierarchy().sort(null).value(null),Re=uu,Qe=[1,1],vt=!1;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br,jr=0;lc(lr,function(En){var qn=En.children;qn&&qn.length?(En.x=tn(qn),En.y=dr(qn)):(En.x=Br?jr+=Re(En,Br):0,En.y=0,Br=En)});var Tn=Wr(lr),yn=Cn(lr),ti=Tn.x-Re(Tn,yn)/2,ai=yn.x+Re(yn,Tn)/2;return lc(lr,vt?function(En){En.x=(En.x-lr.x)*Qe[0],En.y=(lr.y-En.y)*Qe[1]}:function(En){En.x=(En.x-ti)/(ai-ti)*Qe[0],En.y=(1-(lr.y?En.y/lr.y:1))*Qe[1]}),Dt}return mt.separation=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.size=function(Tt){return arguments.length?(vt=(Qe=Tt)==null,mt):vt?null:Qe},mt.nodeSize=function(Tt){return arguments.length?(vt=(Qe=Tt)!=null,mt):vt?Qe:null},Hu(mt,de)};function dr(de){return 1+g.max(de,function(Re){return Re.y})}function tn(de){return de.reduce(function(Re,Qe){return Re+Qe.x},0)/de.length}function Wr(de){var Re=de.children;return Re&&Re.length?Wr(Re[0]):de}function Cn(de){var Re=de.children,Qe;return Re&&(Qe=Re.length)?Cn(Re[Qe-1]):de}g.layout.treemap=function(){var de=g.layout.hierarchy(),Re=Math.round,Qe=[1,1],vt=null,mt=si,Tt=!1,Qt,Dt="squarify",lr=.5*(1+Math.sqrt(5));function Br(En,qn){for(var Jn=-1,ci=En.length,oi,Hn;++Jn0;)ci.push(Hn=oi[La-1]),ci.area+=Hn.area,Dt!=="squarify"||(oa=yn(ci,_a))<=ta?(oi.pop(),ta=oa):(ci.area-=ci.pop().area,ti(ci,_a,Jn,!1),_a=Math.min(Jn.dx,Jn.dy),ci.length=ci.area=0,ta=1/0);ci.length&&(ti(ci,_a,Jn,!0),ci.length=ci.area=0),qn.forEach(jr)}}function Tn(En){var qn=En.children;if(qn&&qn.length){var Jn=mt(En),ci=qn.slice(),oi,Hn=[];for(Br(ci,Jn.dx*Jn.dy/En.value),Hn.area=0;oi=ci.pop();)Hn.push(oi),Hn.area+=oi.area,oi.z!=null&&(ti(Hn,oi.z?Jn.dx:Jn.dy,Jn,!ci.length),Hn.length=Hn.area=0);qn.forEach(Tn)}}function yn(En,qn){for(var Jn=En.area,ci,oi=0,Hn=1/0,ta=-1,oa=En.length;++taoi&&(oi=ci));return Jn*=Jn,qn*=qn,Jn?Math.max(qn*oi*lr/Jn,Jn/(qn*Hn*lr)):1/0}function ti(En,qn,Jn,ci){var oi=-1,Hn=En.length,ta=Jn.x,oa=Jn.y,_a=qn?Re(En.area/qn):0,La;if(qn==Jn.dx){for((ci||_a>Jn.dy)&&(_a=Jn.dy);++oiJn.dx)&&(_a=Jn.dx);++oi1);return de+Re*vt*Math.sqrt(-2*Math.log(Tt)/Tt)}},logNormal:function(){var de=g.random.normal.apply(g,arguments);return function(){return Math.exp(de())}},bates:function(de){var Re=g.random.irwinHall(de);return function(){return Re()/de}},irwinHall:function(de){return function(){for(var Re=0,Qe=0;Qe2?di:aa,Br=vt?Iu:lh;return mt=lr(de,Re,Br,Qe),Tt=lr(Re,de,Br,jl),Dt}function Dt(lr){return mt(lr)}return Dt.invert=function(lr){return Tt(lr)},Dt.domain=function(lr){return arguments.length?(de=lr.map(Number),Qt()):de},Dt.range=function(lr){return arguments.length?(Re=lr,Qt()):Re},Dt.rangeRound=function(lr){return Dt.range(lr).interpolate(ec)},Dt.clamp=function(lr){return arguments.length?(vt=lr,Qt()):vt},Dt.interpolate=function(lr){return arguments.length?(Qe=lr,Qt()):Qe},Dt.ticks=function(lr){return Ao(de,lr)},Dt.tickFormat=function(lr,Br){return d3_scale_linearTickFormat(de,lr,Br)},Dt.nice=function(lr){return co(de,lr),Qt()},Dt.copy=function(){return wa(de,Re,Qe,vt)},Qt()}function po(de,Re){return g.rebind(de,Re,"range","rangeRound","interpolate","clamp")}function co(de,Re){return bi(de,zi(mo(de,Re)[2])),bi(de,zi(mo(de,Re)[2])),de}function mo(de,Re){Re==null&&(Re=10);var Qe=Di(de),vt=Qe[1]-Qe[0],mt=Math.pow(10,Math.floor(Math.log(vt/Re)/Math.LN10)),Tt=Re/vt*mt;return Tt<=.15?mt*=10:Tt<=.35?mt*=5:Tt<=.75&&(mt*=2),Qe[0]=Math.ceil(Qe[0]/mt)*mt,Qe[1]=Math.floor(Qe[1]/mt)*mt+mt*.5,Qe[2]=mt,Qe}function Ao(de,Re){return g.range.apply(g,mo(de,Re))}var xa={s:1,g:1,p:1,r:1,e:1};function Qi(de){return-Math.floor(Math.log(de)/Math.LN10+.01)}function Lo(de,Re){var Qe=Qi(Re[2]);return de in xa?Math.abs(Qe-Qi(Math.max(l(Re[0]),l(Re[1]))))+ +(de!=="e"):Qe-(de==="%")*2}g.scale.log=function(){return as(g.scale.linear().domain([0,1]),10,!0,[1,10])};function as(de,Re,Qe,vt){function mt(Dt){return(Qe?Math.log(Dt<0?0:Dt):-Math.log(Dt>0?0:-Dt))/Math.log(Re)}function Tt(Dt){return Qe?Math.pow(Re,Dt):-Math.pow(Re,-Dt)}function Qt(Dt){return de(mt(Dt))}return Qt.invert=function(Dt){return Tt(de.invert(Dt))},Qt.domain=function(Dt){return arguments.length?(Qe=Dt[0]>=0,de.domain((vt=Dt.map(Number)).map(mt)),Qt):vt},Qt.base=function(Dt){return arguments.length?(Re=+Dt,de.domain(vt.map(mt)),Qt):Re},Qt.nice=function(){var Dt=bi(vt.map(mt),Qe?Math:Ds);return de.domain(Dt),vt=Dt.map(Tt),Qt},Qt.ticks=function(){var Dt=Di(vt),lr=[],Br=Dt[0],jr=Dt[1],Tn=Math.floor(mt(Br)),yn=Math.ceil(mt(jr)),ti=Re%1?2:Re;if(isFinite(yn-Tn)){if(Qe){for(;Tn0;ai--)lr.push(Tt(Tn)*ai);for(Tn=0;lr[Tn]jr;yn--);lr=lr.slice(Tn,yn)}return lr},Qt.copy=function(){return as(de.copy(),Re,Qe,vt)},po(Qt,de)}var Ds={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};g.scale.pow=function(){return il(g.scale.linear(),1,[0,1])};function il(de,Re,Qe){var vt=Ns(Re),mt=Ns(1/Re);function Tt(Qt){return de(vt(Qt))}return Tt.invert=function(Qt){return mt(de.invert(Qt))},Tt.domain=function(Qt){return arguments.length?(de.domain((Qe=Qt.map(Number)).map(vt)),Tt):Qe},Tt.ticks=function(Qt){return Ao(Qe,Qt)},Tt.tickFormat=function(Qt,Dt){return d3_scale_linearTickFormat(Qe,Qt,Dt)},Tt.nice=function(Qt){return Tt.domain(co(Qe,Qt))},Tt.exponent=function(Qt){return arguments.length?(vt=Ns(Re=Qt),mt=Ns(1/Re),de.domain(Qe.map(vt)),Tt):Re},Tt.copy=function(){return il(de.copy(),Re,Qe)},po(Tt,de)}function Ns(de){return function(Re){return Re<0?-Math.pow(-Re,de):Math.pow(Re,de)}}g.scale.sqrt=function(){return g.scale.pow().exponent(.5)},g.scale.ordinal=function(){return el([],{t:"range",a:[[]]})};function el(de,Re){var Qe,vt,mt;function Tt(Dt){return vt[((Qe.get(Dt)||(Re.t==="range"?Qe.set(Dt,de.push(Dt)):NaN))-1)%vt.length]}function Qt(Dt,lr){return g.range(de.length).map(function(Br){return Dt+lr*Br})}return Tt.domain=function(Dt){if(!arguments.length)return de;de=[],Qe=new M;for(var lr=-1,Br=Dt.length,jr;++lr0?Qe[Tt-1]:de[0],Ttyn?0:1;if(jr=Ee)return lr(jr,ai)+(Br?lr(Br,1-ai):"")+"Z";var En,qn,Jn,ci,oi=0,Hn=0,ta,oa,_a,La,io,oo,Qo,uo,Jo=[];if((ci=(+Qt.apply(this,arguments)||0)/2)&&(Jn=vt===zu?Math.sqrt(Br*Br+jr*jr):+vt.apply(this,arguments),ai||(Hn*=-1),jr&&(Hn=Nt(Jn/jr*Math.sin(ci))),Br&&(oi=Nt(Jn/Br*Math.sin(ci)))),jr){ta=jr*Math.cos(Tn+Hn),oa=jr*Math.sin(Tn+Hn),_a=jr*Math.cos(yn-Hn),La=jr*Math.sin(yn-Hn);var ol=Math.abs(yn-Tn-2*Hn)<=Se?0:1;if(Hn&&wc(ta,oa,_a,La)===ai^ol){var tl=(Tn+yn)/2;ta=jr*Math.cos(tl),oa=jr*Math.sin(tl),_a=La=null}}else ta=oa=0;if(Br){io=Br*Math.cos(yn-oi),oo=Br*Math.sin(yn-oi),Qo=Br*Math.cos(Tn+oi),uo=Br*Math.sin(Tn+oi);var ml=Math.abs(Tn-yn+2*oi)<=Se?0:1;if(oi&&wc(io,oo,Qo,uo)===1-ai^ml){var ua=(Tn+yn)/2;io=Br*Math.cos(ua),oo=Br*Math.sin(ua),Qo=uo=null}}else io=oo=0;if(ti>Ke&&(En=Math.min(Math.abs(jr-Br)/2,+Qe.apply(this,arguments)))>.001){qn=Br0?0:1}function bo(de,Re,Qe,vt,mt){var Tt=de[0]-Re[0],Qt=de[1]-Re[1],Dt=(mt?vt:-vt)/Math.sqrt(Tt*Tt+Qt*Qt),lr=Dt*Qt,Br=-Dt*Tt,jr=de[0]+lr,Tn=de[1]+Br,yn=Re[0]+lr,ti=Re[1]+Br,ai=(jr+yn)/2,En=(Tn+ti)/2,qn=yn-jr,Jn=ti-Tn,ci=qn*qn+Jn*Jn,oi=Qe-vt,Hn=jr*ti-yn*Tn,ta=(Jn<0?-1:1)*Math.sqrt(Math.max(0,oi*oi*ci-Hn*Hn)),oa=(Hn*Jn-qn*ta)/ci,_a=(-Hn*qn-Jn*ta)/ci,La=(Hn*Jn+qn*ta)/ci,io=(-Hn*qn+Jn*ta)/ci,oo=oa-ai,Qo=_a-En,uo=La-ai,Jo=io-En;return oo*oo+Qo*Qo>uo*uo+Jo*Jo&&(oa=La,_a=io),[[oa-lr,_a-Br],[oa*Qe/oi,_a*Qe/oi]]}function Wo(){return!0}function Fc(de){var Re=Go,Qe=pa,vt=Wo,mt=dc,Tt=mt.key,Qt=.7;function Dt(lr){var Br=[],jr=[],Tn=-1,yn=lr.length,ti,ai=on(Re),En=on(Qe);function qn(){Br.push("M",mt(de(jr),Qt))}for(;++Tn1?de.join("L"):de+"Z"}function Ne(de){return de.join("L")+"Z"}function R(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],",",vt[1]];++Re1&&mt.push("H",vt[0]),mt.join("")}function ne(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],",",vt[1]];++Re1){Dt=Re[1],Tt=de[lr],lr++,vt+="C"+(mt[0]+Qt[0])+","+(mt[1]+Qt[1])+","+(Tt[0]-Dt[0])+","+(Tt[1]-Dt[1])+","+Tt[0]+","+Tt[1];for(var Br=2;Br9&&(Tt=Qe*3/Math.sqrt(Tt),Qt[Dt]=Tt*vt,Qt[Dt+1]=Tt*mt));for(Dt=-1;++Dt<=lr;)Tt=(de[Math.min(lr,Dt+1)][0]-de[Math.max(0,Dt-1)][0])/(6*(1+Qt[Dt]*Qt[Dt])),Re.push([Tt||0,Qt[Dt]*Tt||0]);return Re}function rr(de){return de.length<3?dc(de):de[0]+wt(de,It(de))}g.svg.line.radial=function(){var de=Fc(sr);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function sr(de){for(var Re,Qe=-1,vt=de.length,mt,Tt;++QeSe)+",1 "+Tn}function Br(jr,Tn,yn,ti){return"Q 0,0 "+ti}return Tt.radius=function(jr){return arguments.length?(Qe=on(jr),Tt):Qe},Tt.source=function(jr){return arguments.length?(de=on(jr),Tt):de},Tt.target=function(jr){return arguments.length?(Re=on(jr),Tt):Re},Tt.startAngle=function(jr){return arguments.length?(vt=on(jr),Tt):vt},Tt.endAngle=function(jr){return arguments.length?(mt=on(jr),Tt):mt},Tt};function _n(de){return de.radius}g.svg.diagonal=function(){var de=kr,Re=Yr,Qe=Mn;function vt(mt,Tt){var Qt=de.call(this,mt,Tt),Dt=Re.call(this,mt,Tt),lr=(Qt.y+Dt.y)/2,Br=[Qt,{x:Qt.x,y:lr},{x:Dt.x,y:lr},Dt];return Br=Br.map(Qe),"M"+Br[0]+"C"+Br[1]+" "+Br[2]+" "+Br[3]}return vt.source=function(mt){return arguments.length?(de=on(mt),vt):de},vt.target=function(mt){return arguments.length?(Re=on(mt),vt):Re},vt.projection=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt};function Mn(de){return[de.x,de.y]}g.svg.diagonal.radial=function(){var de=g.svg.diagonal(),Re=Mn,Qe=de.projection;return de.projection=function(vt){return arguments.length?Qe(Un(Re=vt)):Re},de};function Un(de){return function(){var Re=de.apply(this,arguments),Qe=Re[0],vt=Re[1]-we;return[Qe*Math.cos(vt),Qe*Math.sin(vt)]}}g.svg.symbol=function(){var de=ki,Re=li;function Qe(vt,mt){return(Zi.get(de.call(this,vt,mt))||Ci)(Re.call(this,vt,mt))}return Qe.type=function(vt){return arguments.length?(de=on(vt),Qe):de},Qe.size=function(vt){return arguments.length?(Re=on(vt),Qe):Re},Qe};function li(){return 64}function ki(){return"circle"}function Ci(de){var Re=Math.sqrt(de/Se);return"M0,"+Re+"A"+Re+","+Re+" 0 1,1 0,"+-Re+"A"+Re+","+Re+" 0 1,1 0,"+Re+"Z"}var Zi=g.map({circle:Ci,cross:function(de){var Re=Math.sqrt(de/5)/2;return"M"+-3*Re+","+-Re+"H"+-Re+"V"+-3*Re+"H"+Re+"V"+-Re+"H"+3*Re+"V"+Re+"H"+Re+"V"+3*Re+"H"+-Re+"V"+Re+"H"+-3*Re+"Z"},diamond:function(de){var Re=Math.sqrt(de/(2*ro)),Qe=Re*ro;return"M0,"+-Re+"L"+Qe+",0 0,"+Re+" "+-Qe+",0Z"},square:function(de){var Re=Math.sqrt(de)/2;return"M"+-Re+","+-Re+"L"+Re+","+-Re+" "+Re+","+Re+" "+-Re+","+Re+"Z"},"triangle-down":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return"M0,"+Qe+"L"+Re+","+-Qe+" "+-Re+","+-Qe+"Z"},"triangle-up":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return"M0,"+-Qe+"L"+Re+","+Qe+" "+-Re+","+Qe+"Z"}});g.svg.symbolTypes=Zi.keys();var ya=Math.sqrt(3),ro=Math.tan(30*Le);ae.transition=function(de){for(var Re=bs||++ts,Qe=is(de),vt=[],mt,Tt,Qt=fl||{time:Date.now(),ease:pu,delay:0,duration:250},Dt=-1,lr=this.length;++Dt0;)Tn[--ci].call(de,Jn);if(qn>=1)return Qt.event&&Qt.event.end.call(de,de.__data__,Re),--Tt.count?delete Tt[vt]:delete de[Qe],1}Qt||(Dt=mt.time,lr=qa(yn,0,Dt),Qt=Tt[vt]={tween:new M,time:Dt,timer:lr,delay:mt.delay,duration:mt.duration,ease:mt.ease,index:Re},mt=null,++Tt.count)}g.svg.axis=function(){var de=g.scale.linear(),Re=eu,Qe=6,vt=6,mt=3,Tt=[10],Qt=null,Dt;function lr(Br){Br.each(function(){var jr=g.select(this),Tn=this.__chart__||de,yn=this.__chart__=de.copy(),ti=Qt??(yn.ticks?yn.ticks.apply(yn,Tt):yn.domain()),ai=Dt??(yn.tickFormat?yn.tickFormat.apply(yn,Tt):F),En=jr.selectAll(".tick").data(ti,yn),qn=En.enter().insert("g",".domain").attr("class","tick").style("opacity",Ke),Jn=g.transition(En.exit()).style("opacity",Ke).remove(),ci=g.transition(En.order()).style("opacity",1),oi=Math.max(Qe,0)+mt,Hn,ta=Wi(yn),oa=jr.selectAll(".domain").data([0]),_a=(oa.enter().append("path").attr("class","domain"),g.transition(oa));qn.append("line"),qn.append("text");var La=qn.select("line"),io=ci.select("line"),oo=En.select("text").text(ai),Qo=qn.select("text"),uo=ci.select("text"),Jo=Re==="top"||Re==="left"?-1:1,ol,tl,ml,ua;if(Re==="bottom"||Re==="top"?(Hn=mu,ol="x",ml="y",tl="x2",ua="y2",oo.attr("dy",Jo<0?"0em":".71em").style("text-anchor","middle"),_a.attr("d","M"+ta[0]+","+Jo*vt+"V0H"+ta[1]+"V"+Jo*vt)):(Hn=El,ol="y",ml="x",tl="y2",ua="x2",oo.attr("dy",".32em").style("text-anchor",Jo<0?"end":"start"),_a.attr("d","M"+Jo*vt+","+ta[0]+"H0V"+ta[1]+"H"+Jo*vt)),La.attr(ua,Jo*Qe),Qo.attr(ml,Jo*oi),io.attr(tl,0).attr(ua,Jo*Qe),uo.attr(ol,0).attr(ml,Jo*oi),yn.rangeBand){var wo=yn,ys=wo.rangeBand()/2;Tn=yn=function(Ms){return wo(Ms)+ys}}else Tn.rangeBand?Tn=yn:Jn.call(Hn,yn,Tn);qn.call(Hn,Tn,yn),ci.call(Hn,yn,yn)})}return lr.scale=function(Br){return arguments.length?(de=Br,lr):de},lr.orient=function(Br){return arguments.length?(Re=Br in Xu?Br+"":eu,lr):Re},lr.ticks=function(){return arguments.length?(Tt=A(arguments),lr):Tt},lr.tickValues=function(Br){return arguments.length?(Qt=Br,lr):Qt},lr.tickFormat=function(Br){return arguments.length?(Dt=Br,lr):Dt},lr.tickSize=function(Br){var jr=arguments.length;return jr?(Qe=+Br,vt=+arguments[jr-1],lr):Qe},lr.innerTickSize=function(Br){return arguments.length?(Qe=+Br,lr):Qe},lr.outerTickSize=function(Br){return arguments.length?(vt=+Br,lr):vt},lr.tickPadding=function(Br){return arguments.length?(mt=+Br,lr):mt},lr.tickSubdivide=function(){return arguments.length&&lr},lr};var eu="bottom",Xu={top:1,right:1,bottom:1,left:1};function mu(de,Re,Qe){de.attr("transform",function(vt){var mt=Re(vt);return"translate("+(isFinite(mt)?mt:Qe(vt))+",0)"})}function El(de,Re,Qe){de.attr("transform",function(vt){var mt=Re(vt);return"translate(0,"+(isFinite(mt)?mt:Qe(vt))+")"})}g.svg.brush=function(){var de=se(jr,"brushstart","brush","brushend"),Re=null,Qe=null,vt=[0,0],mt=[0,0],Tt,Qt,Dt=!0,lr=!0,Br=Tc[0];function jr(En){En.each(function(){var qn=g.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",ai).on("touchstart.brush",ai),Jn=qn.selectAll(".background").data([0]);Jn.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),qn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ci=qn.selectAll(".resize").data(Br,F);ci.exit().remove(),ci.enter().append("g").attr("class",function(oa){return"resize "+oa}).style("cursor",function(oa){return fu[oa]}).append("rect").attr("x",function(oa){return/[ew]$/.test(oa)?-3:null}).attr("y",function(oa){return/^[ns]/.test(oa)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ci.style("display",jr.empty()?"none":null);var oi=g.transition(qn),Hn=g.transition(Jn),ta;Re&&(ta=Wi(Re),Hn.attr("x",ta[0]).attr("width",ta[1]-ta[0]),yn(oi)),Qe&&(ta=Wi(Qe),Hn.attr("y",ta[0]).attr("height",ta[1]-ta[0]),ti(oi)),Tn(oi)})}jr.event=function(En){En.each(function(){var qn=de.of(this,arguments),Jn={x:vt,y:mt,i:Tt,j:Qt},ci=this.__chart__||Jn;this.__chart__=Jn,bs?g.select(this).transition().each("start.brush",function(){Tt=ci.i,Qt=ci.j,vt=ci.x,mt=ci.y,qn({type:"brushstart"})}).tween("brush:brush",function(){var oi=$u(vt,Jn.x),Hn=$u(mt,Jn.y);return Tt=Qt=null,function(ta){vt=Jn.x=oi(ta),mt=Jn.y=Hn(ta),qn({type:"brush",mode:"resize"})}}).each("end.brush",function(){Tt=Jn.i,Qt=Jn.j,qn({type:"brush",mode:"resize"}),qn({type:"brushend"})}):(qn({type:"brushstart"}),qn({type:"brush",mode:"resize"}),qn({type:"brushend"}))})};function Tn(En){En.selectAll(".resize").attr("transform",function(qn){return"translate("+vt[+/e$/.test(qn)]+","+mt[+/^s/.test(qn)]+")"})}function yn(En){En.select(".extent").attr("x",vt[0]),En.selectAll(".extent,.n>rect,.s>rect").attr("width",vt[1]-vt[0])}function ti(En){En.select(".extent").attr("y",mt[0]),En.selectAll(".extent,.e>rect,.w>rect").attr("height",mt[1]-mt[0])}function ai(){var En=this,qn=g.select(g.event.target),Jn=de.of(En,arguments),ci=g.select(En),oi=qn.datum(),Hn=!/^(n|s)$/.test(oi)&&Re,ta=!/^(e|w)$/.test(oi)&&Qe,oa=qn.classed("extent"),_a=gr(En),La,io=g.mouse(En),oo,Qo=g.select(t(En)).on("keydown.brush",ol).on("keyup.brush",tl);if(g.event.changedTouches?Qo.on("touchmove.brush",ml).on("touchend.brush",wo):Qo.on("mousemove.brush",ml).on("mouseup.brush",wo),ci.interrupt().selectAll("*").interrupt(),oa)io[0]=vt[0]-io[0],io[1]=mt[0]-io[1];else if(oi){var uo=+/w$/.test(oi),Jo=+/^n/.test(oi);oo=[vt[1-uo]-io[0],mt[1-Jo]-io[1]],io[0]=vt[uo],io[1]=mt[Jo]}else g.event.altKey&&(La=io.slice());ci.style("pointer-events","none").selectAll(".resize").style("display",null),g.select("body").style("cursor",qn.style("cursor")),Jn({type:"brushstart"}),ml();function ol(){g.event.keyCode==32&&(oa||(La=null,io[0]-=vt[1],io[1]-=mt[1],oa=2),Q())}function tl(){g.event.keyCode==32&&oa==2&&(io[0]+=vt[1],io[1]+=mt[1],oa=0,Q())}function ml(){var ys=g.mouse(En),Ms=!1;oo&&(ys[0]+=oo[0],ys[1]+=oo[1]),oa||(g.event.altKey?(La||(La=[(vt[0]+vt[1])/2,(mt[0]+mt[1])/2]),io[0]=vt[+(ys[0]0))return qt;do qt.push(fr=new Date(+Lt)),Oe(Lt,Bt),ue(Lt);while(fr=Et)for(;ue(Et),!Lt(Et);)Et.setTime(Et-1)},function(Et,Bt){if(Et>=Et)if(Bt<0)for(;++Bt<=0;)for(;Oe(Et,-1),!Lt(Et););else for(;--Bt>=0;)for(;Oe(Et,1),!Lt(Et););})},rt&&(et.count=function(Lt,Et){return x.setTime(+Lt),A.setTime(+Et),ue(x),ue(A),Math.floor(rt(x,A))},et.every=function(Lt){return Lt=Math.floor(Lt),!isFinite(Lt)||!(Lt>0)?null:Lt>1?et.filter(ot?function(Et){return ot(Et)%Lt===0}:function(Et){return et.count(0,Et)%Lt===0}):et}),et}var e=S(function(){},function(ue,Oe){ue.setTime(+ue+Oe)},function(ue,Oe){return Oe-ue});e.every=function(ue){return ue=Math.floor(ue),!isFinite(ue)||!(ue>0)?null:ue>1?S(function(Oe){Oe.setTime(Math.floor(Oe/ue)*ue)},function(Oe,rt){Oe.setTime(+Oe+rt*ue)},function(Oe,rt){return(rt-Oe)/ue}):e};var t=e.range,r=1e3,o=6e4,n=36e5,i=864e5,a=6048e5,s=S(function(ue){ue.setTime(ue-ue.getMilliseconds())},function(ue,Oe){ue.setTime(+ue+Oe*r)},function(ue,Oe){return(Oe-ue)/r},function(ue){return ue.getUTCSeconds()}),c=s.range,h=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getMinutes()}),p=h.range,d=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r-ue.getMinutes()*o)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getHours()}),T=d.range,l=S(function(ue){ue.setHours(0,0,0,0)},function(ue,Oe){ue.setDate(ue.getDate()+Oe)},function(ue,Oe){return(Oe-ue-(Oe.getTimezoneOffset()-ue.getTimezoneOffset())*o)/i},function(ue){return ue.getDate()-1}),_=l.range;function w(ue){return S(function(Oe){Oe.setDate(Oe.getDate()-(Oe.getDay()+7-ue)%7),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setDate(Oe.getDate()+rt*7)},function(Oe,rt){return(rt-Oe-(rt.getTimezoneOffset()-Oe.getTimezoneOffset())*o)/a})}var M=w(0),E=w(1),m=w(2),b=w(3),v=w(4),u=w(5),y=w(6),f=M.range,P=E.range,L=m.range,z=b.range,F=v.range,B=u.range,O=y.range,I=S(function(ue){ue.setDate(1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setMonth(ue.getMonth()+Oe)},function(ue,Oe){return Oe.getMonth()-ue.getMonth()+(Oe.getFullYear()-ue.getFullYear())*12},function(ue){return ue.getMonth()}),N=I.range,U=S(function(ue){ue.setMonth(0,1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setFullYear(ue.getFullYear()+Oe)},function(ue,Oe){return Oe.getFullYear()-ue.getFullYear()},function(ue){return ue.getFullYear()});U.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setFullYear(Math.floor(Oe.getFullYear()/ue)*ue),Oe.setMonth(0,1),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setFullYear(Oe.getFullYear()+rt*ue)})};var W=U.range,Q=S(function(ue){ue.setUTCSeconds(0,0)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getUTCMinutes()}),le=Q.range,se=S(function(ue){ue.setUTCMinutes(0,0,0)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getUTCHours()}),fe=se.range,G=S(function(ue){ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCDate(ue.getUTCDate()+Oe)},function(ue,Oe){return(Oe-ue)/i},function(ue){return ue.getUTCDate()-1}),$=G.range;function J(ue){return S(function(Oe){Oe.setUTCDate(Oe.getUTCDate()-(Oe.getUTCDay()+7-ue)%7),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCDate(Oe.getUTCDate()+rt*7)},function(Oe,rt){return(rt-Oe)/a})}var X=J(0),re=J(1),ae=J(2),j=J(3),ee=J(4),ie=J(5),ce=J(6),xe=X.range,Te=re.range,Ue=ae.range,Ie=j.range,Ye=ee.range,it=ie.range,at=ce.range,tt=S(function(ue){ue.setUTCDate(1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCMonth(ue.getUTCMonth()+Oe)},function(ue,Oe){return Oe.getUTCMonth()-ue.getUTCMonth()+(Oe.getUTCFullYear()-ue.getUTCFullYear())*12},function(ue){return ue.getUTCMonth()}),ut=tt.range,Me=S(function(ue){ue.setUTCMonth(0,1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCFullYear(ue.getUTCFullYear()+Oe)},function(ue,Oe){return Oe.getUTCFullYear()-ue.getUTCFullYear()},function(ue){return ue.getUTCFullYear()});Me.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setUTCFullYear(Math.floor(Oe.getUTCFullYear()/ue)*ue),Oe.setUTCMonth(0,1),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCFullYear(Oe.getUTCFullYear()+rt*ue)})};var pe=Me.range;g.timeDay=l,g.timeDays=_,g.timeFriday=u,g.timeFridays=B,g.timeHour=d,g.timeHours=T,g.timeInterval=S,g.timeMillisecond=e,g.timeMilliseconds=t,g.timeMinute=h,g.timeMinutes=p,g.timeMonday=E,g.timeMondays=P,g.timeMonth=I,g.timeMonths=N,g.timeSaturday=y,g.timeSaturdays=O,g.timeSecond=s,g.timeSeconds=c,g.timeSunday=M,g.timeSundays=f,g.timeThursday=v,g.timeThursdays=F,g.timeTuesday=m,g.timeTuesdays=L,g.timeWednesday=b,g.timeWednesdays=z,g.timeWeek=M,g.timeWeeks=f,g.timeYear=U,g.timeYears=W,g.utcDay=G,g.utcDays=$,g.utcFriday=ie,g.utcFridays=it,g.utcHour=se,g.utcHours=fe,g.utcMillisecond=e,g.utcMilliseconds=t,g.utcMinute=Q,g.utcMinutes=le,g.utcMonday=re,g.utcMondays=Te,g.utcMonth=tt,g.utcMonths=ut,g.utcSaturday=ce,g.utcSaturdays=at,g.utcSecond=s,g.utcSeconds=c,g.utcSunday=X,g.utcSundays=xe,g.utcThursday=ee,g.utcThursdays=Ye,g.utcTuesday=ae,g.utcTuesdays=Ue,g.utcWednesday=j,g.utcWednesdays=Ie,g.utcWeek=X,g.utcWeeks=xe,g.utcYear=Me,g.utcYears=pe,Object.defineProperty(g,"__esModule",{value:!0})})}}),Ki=ke({"node_modules/d3-time-format/dist/d3-time-format.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,Ii()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){"use strict";function A(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L);return Ke.setFullYear(Be.y),Ke}return new Date(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L)}function S(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(Date.UTC(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L));return Ke.setUTCFullYear(Be.y),Ke}return new Date(Date.UTC(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L))}function e(Be,Ke,je){return{y:Be,m:Ke,d:je,H:0,M:0,S:0,L:0}}function t(Be){var Ke=Be.dateTime,je=Be.date,Se=Be.time,He=Be.periods,Ee=Be.days,we=Be.shortDays,Le=Be.months,nt=Be.shortMonths,pt=c(He),bt=h(He),Rt=c(Ee),Nt=h(Ee),Xt=c(we),$t=h(we),ur=c(Le),pn=h(Le),Rn=c(nt),Nn=h(nt),On={a:Wn,A:ri,b:Sn,B:ui,c:null,d:I,e:I,f:le,H:N,I:U,j:W,L:Q,m:se,M:fe,p:gt,q:yt,Q:Et,s:Bt,S:G,u:$,U:J,V:X,w:re,W:ae,x:null,X:null,y:j,Y:ee,Z:ie,"%":Lt},ni={a:Pr,A:Ir,b:Tr,B:Mr,c:null,d:ce,e:ce,f:Ye,H:xe,I:Te,j:Ue,L:Ie,m:it,M:at,p:Lr,q:Ur,Q:Et,s:Bt,S:tt,u:ut,U:Me,V:pe,w:ue,W:Oe,x:null,X:null,y:rt,Y:ot,Z:et,"%":Lt},zn={a:Ht,A:Vt,b:wr,B:$r,c:xn,d:v,e:v,f:z,H:y,I:y,j:u,L,m:b,M:f,p:Ft,q:m,Q:B,s:O,S:P,u:d,U:T,V:l,w:p,W:_,x:en,X:Fn,y:M,Y:w,Z:E,"%":F};On.x=Qn(je,On),On.X=Qn(Se,On),On.c=Qn(Ke,On),ni.x=Qn(je,ni),ni.X=Qn(Se,ni),ni.c=Qn(Ke,ni);function Qn(Dr,nn){return function(vn){var gn=[],kt=-1,or=0,yr=Dr.length,on,An,Zn;for(vn instanceof Date||(vn=new Date(+vn));++kt53)return null;"w"in gn||(gn.w=1),"Z"in gn?(or=S(e(gn.y,0,1)),yr=or.getUTCDay(),or=yr>4||yr===0?x.utcMonday.ceil(or):x.utcMonday(or),or=x.utcDay.offset(or,(gn.V-1)*7),gn.y=or.getUTCFullYear(),gn.m=or.getUTCMonth(),gn.d=or.getUTCDate()+(gn.w+6)%7):(or=A(e(gn.y,0,1)),yr=or.getDay(),or=yr>4||yr===0?x.timeMonday.ceil(or):x.timeMonday(or),or=x.timeDay.offset(or,(gn.V-1)*7),gn.y=or.getFullYear(),gn.m=or.getMonth(),gn.d=or.getDate()+(gn.w+6)%7)}else("W"in gn||"U"in gn)&&("w"in gn||(gn.w="u"in gn?gn.u%7:"W"in gn?1:0),yr="Z"in gn?S(e(gn.y,0,1)).getUTCDay():A(e(gn.y,0,1)).getDay(),gn.m=0,gn.d="W"in gn?(gn.w+6)%7+gn.W*7-(yr+5)%7:gn.w+gn.U*7-(yr+6)%7);return"Z"in gn?(gn.H+=gn.Z/100|0,gn.M+=gn.Z%100,S(gn)):A(gn)}}function Zt(Dr,nn,vn,gn){for(var kt=0,or=nn.length,yr=vn.length,on,An;kt=yr)return-1;if(on=nn.charCodeAt(kt++),on===37){if(on=nn.charAt(kt++),An=zn[on in r?nn.charAt(kt++):on],!An||(gn=An(Dr,vn,gn))<0)return-1}else if(on!=vn.charCodeAt(gn++))return-1}return gn}function Ft(Dr,nn,vn){var gn=pt.exec(nn.slice(vn));return gn?(Dr.p=bt[gn[0].toLowerCase()],vn+gn[0].length):-1}function Ht(Dr,nn,vn){var gn=Xt.exec(nn.slice(vn));return gn?(Dr.w=$t[gn[0].toLowerCase()],vn+gn[0].length):-1}function Vt(Dr,nn,vn){var gn=Rt.exec(nn.slice(vn));return gn?(Dr.w=Nt[gn[0].toLowerCase()],vn+gn[0].length):-1}function wr(Dr,nn,vn){var gn=Rn.exec(nn.slice(vn));return gn?(Dr.m=Nn[gn[0].toLowerCase()],vn+gn[0].length):-1}function $r(Dr,nn,vn){var gn=ur.exec(nn.slice(vn));return gn?(Dr.m=pn[gn[0].toLowerCase()],vn+gn[0].length):-1}function xn(Dr,nn,vn){return Zt(Dr,Ke,nn,vn)}function en(Dr,nn,vn){return Zt(Dr,je,nn,vn)}function Fn(Dr,nn,vn){return Zt(Dr,Se,nn,vn)}function Wn(Dr){return we[Dr.getDay()]}function ri(Dr){return Ee[Dr.getDay()]}function Sn(Dr){return nt[Dr.getMonth()]}function ui(Dr){return Le[Dr.getMonth()]}function gt(Dr){return He[+(Dr.getHours()>=12)]}function yt(Dr){return 1+~~(Dr.getMonth()/3)}function Pr(Dr){return we[Dr.getUTCDay()]}function Ir(Dr){return Ee[Dr.getUTCDay()]}function Tr(Dr){return nt[Dr.getUTCMonth()]}function Mr(Dr){return Le[Dr.getUTCMonth()]}function Lr(Dr){return He[+(Dr.getUTCHours()>=12)]}function Ur(Dr){return 1+~~(Dr.getUTCMonth()/3)}return{format:function(Dr){var nn=Qn(Dr+="",On);return nn.toString=function(){return Dr},nn},parse:function(Dr){var nn=gi(Dr+="",!1);return nn.toString=function(){return Dr},nn},utcFormat:function(Dr){var nn=Qn(Dr+="",ni);return nn.toString=function(){return Dr},nn},utcParse:function(Dr){var nn=gi(Dr+="",!0);return nn.toString=function(){return Dr},nn}}}var r={"-":"",_:" ",0:"0"},o=/^\s*\d+/,n=/^%/,i=/[\\^$*+?|[\]().{}]/g;function a(Be,Ke,je){var Se=Be<0?"-":"",He=(Se?-Be:Be)+"",Ee=He.length;return Se+(Ee68?1900:2e3),je+Se[0].length):-1}function E(Be,Ke,je){var Se=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ke.slice(je,je+6));return Se?(Be.Z=Se[1]?0:-(Se[2]+(Se[3]||"00")),je+Se[0].length):-1}function m(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+1));return Se?(Be.q=Se[0]*3-3,je+Se[0].length):-1}function b(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.m=Se[0]-1,je+Se[0].length):-1}function v(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.d=+Se[0],je+Se[0].length):-1}function u(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.m=0,Be.d=+Se[0],je+Se[0].length):-1}function y(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.H=+Se[0],je+Se[0].length):-1}function f(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.M=+Se[0],je+Se[0].length):-1}function P(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.S=+Se[0],je+Se[0].length):-1}function L(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.L=+Se[0],je+Se[0].length):-1}function z(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+6));return Se?(Be.L=Math.floor(Se[0]/1e3),je+Se[0].length):-1}function F(Be,Ke,je){var Se=n.exec(Ke.slice(je,je+1));return Se?je+Se[0].length:-1}function B(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.Q=+Se[0],je+Se[0].length):-1}function O(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.s=+Se[0],je+Se[0].length):-1}function I(Be,Ke){return a(Be.getDate(),Ke,2)}function N(Be,Ke){return a(Be.getHours(),Ke,2)}function U(Be,Ke){return a(Be.getHours()%12||12,Ke,2)}function W(Be,Ke){return a(1+x.timeDay.count(x.timeYear(Be),Be),Ke,3)}function Q(Be,Ke){return a(Be.getMilliseconds(),Ke,3)}function le(Be,Ke){return Q(Be,Ke)+"000"}function se(Be,Ke){return a(Be.getMonth()+1,Ke,2)}function fe(Be,Ke){return a(Be.getMinutes(),Ke,2)}function G(Be,Ke){return a(Be.getSeconds(),Ke,2)}function $(Be){var Ke=Be.getDay();return Ke===0?7:Ke}function J(Be,Ke){return a(x.timeSunday.count(x.timeYear(Be)-1,Be),Ke,2)}function X(Be,Ke){var je=Be.getDay();return Be=je>=4||je===0?x.timeThursday(Be):x.timeThursday.ceil(Be),a(x.timeThursday.count(x.timeYear(Be),Be)+(x.timeYear(Be).getDay()===4),Ke,2)}function re(Be){return Be.getDay()}function ae(Be,Ke){return a(x.timeMonday.count(x.timeYear(Be)-1,Be),Ke,2)}function j(Be,Ke){return a(Be.getFullYear()%100,Ke,2)}function ee(Be,Ke){return a(Be.getFullYear()%1e4,Ke,4)}function ie(Be){var Ke=Be.getTimezoneOffset();return(Ke>0?"-":(Ke*=-1,"+"))+a(Ke/60|0,"0",2)+a(Ke%60,"0",2)}function ce(Be,Ke){return a(Be.getUTCDate(),Ke,2)}function xe(Be,Ke){return a(Be.getUTCHours(),Ke,2)}function Te(Be,Ke){return a(Be.getUTCHours()%12||12,Ke,2)}function Ue(Be,Ke){return a(1+x.utcDay.count(x.utcYear(Be),Be),Ke,3)}function Ie(Be,Ke){return a(Be.getUTCMilliseconds(),Ke,3)}function Ye(Be,Ke){return Ie(Be,Ke)+"000"}function it(Be,Ke){return a(Be.getUTCMonth()+1,Ke,2)}function at(Be,Ke){return a(Be.getUTCMinutes(),Ke,2)}function tt(Be,Ke){return a(Be.getUTCSeconds(),Ke,2)}function ut(Be){var Ke=Be.getUTCDay();return Ke===0?7:Ke}function Me(Be,Ke){return a(x.utcSunday.count(x.utcYear(Be)-1,Be),Ke,2)}function pe(Be,Ke){var je=Be.getUTCDay();return Be=je>=4||je===0?x.utcThursday(Be):x.utcThursday.ceil(Be),a(x.utcThursday.count(x.utcYear(Be),Be)+(x.utcYear(Be).getUTCDay()===4),Ke,2)}function ue(Be){return Be.getUTCDay()}function Oe(Be,Ke){return a(x.utcMonday.count(x.utcYear(Be)-1,Be),Ke,2)}function rt(Be,Ke){return a(Be.getUTCFullYear()%100,Ke,2)}function ot(Be,Ke){return a(Be.getUTCFullYear()%1e4,Ke,4)}function et(){return"+0000"}function Lt(){return"%"}function Et(Be){return+Be}function Bt(Be){return Math.floor(+Be/1e3)}var qt;fr({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"]});function fr(Be){return qt=t(Be),g.timeFormat=qt.format,g.timeParse=qt.parse,g.utcFormat=qt.utcFormat,g.utcParse=qt.utcParse,qt}var ar="%Y-%m-%dT%H:%M:%S.%LZ";function Rr(Be){return Be.toISOString()}var gr=Date.prototype.toISOString?Rr:g.utcFormat(ar);function br(Be){var Ke=new Date(Be);return isNaN(Ke)?null:Ke}var _t=+new Date("2000-01-01T00:00:00.000Z")?br:g.utcParse(ar);g.isoFormat=gr,g.isoParse=_t,g.timeFormatDefaultLocale=fr,g.timeFormatLocale=t,Object.defineProperty(g,"__esModule",{value:!0})})}}),$n=ke({"node_modules/d3-format/dist/d3-format.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=typeof globalThis<"u"?globalThis:g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(b){return Math.abs(b=Math.round(b))>=1e21?b.toLocaleString("en").replace(/,/g,""):b.toString(10)}function A(b,v){if((u=(b=v?b.toExponential(v-1):b.toExponential()).indexOf("e"))<0)return null;var u,y=b.slice(0,u);return[y.length>1?y[0]+y.slice(2):y,+b.slice(u+1)]}function S(b){return b=A(Math.abs(b)),b?b[1]:NaN}function e(b,v){return function(u,y){for(var f=u.length,P=[],L=0,z=b[0],F=0;f>0&&z>0&&(F+z+1>y&&(z=Math.max(1,y-F)),P.push(u.substring(f-=z,f+z)),!((F+=z+1)>y));)z=b[L=(L+1)%b.length];return P.reverse().join(v)}}function t(b){return function(v){return v.replace(/[0-9]/g,function(u){return b[+u]})}}var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(b){if(!(v=r.exec(b)))throw new Error("invalid format: "+b);var v;return new n({fill:v[1],align:v[2],sign:v[3],symbol:v[4],zero:v[5],width:v[6],comma:v[7],precision:v[8]&&v[8].slice(1),trim:v[9],type:v[10]})}o.prototype=n.prototype;function n(b){this.fill=b.fill===void 0?" ":b.fill+"",this.align=b.align===void 0?">":b.align+"",this.sign=b.sign===void 0?"-":b.sign+"",this.symbol=b.symbol===void 0?"":b.symbol+"",this.zero=!!b.zero,this.width=b.width===void 0?void 0:+b.width,this.comma=!!b.comma,this.precision=b.precision===void 0?void 0:+b.precision,this.trim=!!b.trim,this.type=b.type===void 0?"":b.type+""}n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function i(b){e:for(var v=b.length,u=1,y=-1,f;u0&&(y=0);break}return y>0?b.slice(0,y)+b.slice(f+1):b}var a;function s(b,v){var u=A(b,v);if(!u)return b+"";var y=u[0],f=u[1],P=f-(a=Math.max(-8,Math.min(8,Math.floor(f/3)))*3)+1,L=y.length;return P===L?y:P>L?y+new Array(P-L+1).join("0"):P>0?y.slice(0,P)+"."+y.slice(P):"0."+new Array(1-P).join("0")+A(b,Math.max(0,v+P-1))[0]}function c(b,v){var u=A(b,v);if(!u)return b+"";var y=u[0],f=u[1];return f<0?"0."+new Array(-f).join("0")+y:y.length>f+1?y.slice(0,f+1)+"."+y.slice(f+1):y+new Array(f-y.length+2).join("0")}var h={"%":function(b,v){return(b*100).toFixed(v)},b:function(b){return Math.round(b).toString(2)},c:function(b){return b+""},d:x,e:function(b,v){return b.toExponential(v)},f:function(b,v){return b.toFixed(v)},g:function(b,v){return b.toPrecision(v)},o:function(b){return Math.round(b).toString(8)},p:function(b,v){return c(b*100,v)},r:c,s,X:function(b){return Math.round(b).toString(16).toUpperCase()},x:function(b){return Math.round(b).toString(16)}};function p(b){return b}var d=Array.prototype.map,T=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function l(b){var v=b.grouping===void 0||b.thousands===void 0?p:e(d.call(b.grouping,Number),b.thousands+""),u=b.currency===void 0?"":b.currency[0]+"",y=b.currency===void 0?"":b.currency[1]+"",f=b.decimal===void 0?".":b.decimal+"",P=b.numerals===void 0?p:t(d.call(b.numerals,String)),L=b.percent===void 0?"%":b.percent+"",z=b.minus===void 0?"-":b.minus+"",F=b.nan===void 0?"NaN":b.nan+"";function B(I){I=o(I);var N=I.fill,U=I.align,W=I.sign,Q=I.symbol,le=I.zero,se=I.width,fe=I.comma,G=I.precision,$=I.trim,J=I.type;J==="n"?(fe=!0,J="g"):h[J]||(G===void 0&&(G=12),$=!0,J="g"),(le||N==="0"&&U==="=")&&(le=!0,N="0",U="=");var X=Q==="$"?u:Q==="#"&&/[boxX]/.test(J)?"0"+J.toLowerCase():"",re=Q==="$"?y:/[%p]/.test(J)?L:"",ae=h[J],j=/[defgprs%]/.test(J);G=G===void 0?6:/[gprs]/.test(J)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G));function ee(ie){var ce=X,xe=re,Te,Ue,Ie;if(J==="c")xe=ae(ie)+xe,ie="";else{ie=+ie;var Ye=ie<0||1/ie<0;if(ie=isNaN(ie)?F:ae(Math.abs(ie),G),$&&(ie=i(ie)),Ye&&+ie==0&&W!=="+"&&(Ye=!1),ce=(Ye?W==="("?W:z:W==="-"||W==="("?"":W)+ce,xe=(J==="s"?T[8+a/3]:"")+xe+(Ye&&W==="("?")":""),j){for(Te=-1,Ue=ie.length;++TeIe||Ie>57){xe=(Ie===46?f+ie.slice(Te+1):ie.slice(Te))+xe,ie=ie.slice(0,Te);break}}}fe&&!le&&(ie=v(ie,1/0));var it=ce.length+ie.length+xe.length,at=it>1)+ce+ie+xe+at.slice(it);break;default:ie=at+ce+ie+xe;break}return P(ie)}return ee.toString=function(){return I+""},ee}function O(I,N){var U=B((I=o(I),I.type="f",I)),W=Math.max(-8,Math.min(8,Math.floor(S(N)/3)))*3,Q=Math.pow(10,-W),le=T[8+W/3];return function(se){return U(Q*se)+le}}return{format:B,formatPrefix:O}}var _;w({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function w(b){return _=l(b),g.format=_.format,g.formatPrefix=_.formatPrefix,_}function M(b){return Math.max(0,-S(Math.abs(b)))}function E(b,v){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(S(v)/3)))*3-S(Math.abs(b)))}function m(b,v){return b=Math.abs(b),v=Math.abs(v)-b,Math.max(0,S(v)-S(b))+1}g.FormatSpecifier=n,g.formatDefaultLocale=w,g.formatLocale=l,g.formatSpecifier=o,g.precisionFixed=M,g.precisionPrefix=E,g.precisionRound=m,Object.defineProperty(g,"__esModule",{value:!0})})}}),Kn=ke({"node_modules/is-string-blank/index.js"(Z,H){"use strict";H.exports=function(g){for(var x=g.length,A,S=0;S13)&&A!==32&&A!==133&&A!==160&&A!==5760&&A!==6158&&(A<8192||A>8205)&&A!==8232&&A!==8233&&A!==8239&&A!==8287&&A!==8288&&A!==12288&&A!==65279)return!1;return!0}}}),Yn=ke({"node_modules/fast-isnumeric/index.js"(Z,H){"use strict";var g=Kn();H.exports=function(x){var A=typeof x;if(A==="string"){var S=x;if(x=+x,x===0&&g(S))return!1}else if(A!=="number")return!1;return x-x<1}}}),Hi=ke({"src/constants/numerical.js"(Z,H){"use strict";H.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"\u2212"}}}),Vn=ke({"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=typeof globalThis<"u"?globalThis:g||self,x(g["base64-arraybuffer"]={}))})(Z,function(g){"use strict";for(var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256),S=0;S>2],a+=x[(o[n]&3)<<4|o[n+1]>>4],a+=x[(o[n+1]&15)<<2|o[n+2]>>6],a+=x[o[n+2]&63];return i%3===2?a=a.substring(0,a.length-1)+"=":i%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t=function(r){var o=r.length*.75,n=r.length,i,a=0,s,c,h,p;r[r.length-1]==="="&&(o--,r[r.length-2]==="="&&o--);var d=new ArrayBuffer(o),T=new Uint8Array(d);for(i=0;i>4,T[a++]=(c&15)<<4|h>>2,T[a++]=(h&3)<<6|p&63;return d};g.decode=t,g.encode=e,Object.defineProperty(g,"__esModule",{value:!0})})}}),Bi=ke({"src/lib/is_plain_object.js"(Z,H){"use strict";H.exports=function(x){return window&&window.process&&window.process.versions?Object.prototype.toString.call(x)==="[object Object]":Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x).hasOwnProperty("hasOwnProperty")}}}),Oa=ke({"src/lib/array.js"(Z){"use strict";var H=Vn().decode,g=Bi(),x=Array.isArray,A=ArrayBuffer,S=DataView;function e(s){return A.isView(s)&&!(s instanceof S)}Z.isTypedArray=e;function t(s){return x(s)||e(s)}Z.isArrayOrTypedArray=t;function r(s){return!t(s[0])}Z.isArray1D=r,Z.ensureArray=function(s,c){return x(s)||(s=[]),s.length=c,s};var o={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};o.uint8c=o.u1c,o.uint8=o.u1,o.int8=o.i1,o.uint16=o.u2,o.int16=o.i2,o.uint32=o.u4,o.int32=o.i4,o.float32=o.f4,o.float64=o.f8;function n(s){return s.constructor===ArrayBuffer}Z.isArrayBuffer=n,Z.decodeTypedArraySpec=function(s){var c=[],h=i(s),p=h.dtype,d=o[p];if(!d)throw new Error('Error in dtype: "'+p+'"');var T=d.BYTES_PER_ELEMENT,l=h.bdata;n(l)||(l=H(l));var _=h.shape===void 0?[l.byteLength/T]:(""+h.shape).split(",");_.reverse();var w=_.length,M,E,m=+_[0],b=T*m,v=0;if(w===1)c=new d(l);else if(w===2)for(M=+_[1],E=0;E2)return d[M]=d[M]|e,_.set(w,null);if(l){for(c=M;c0)return Math.log(A)/Math.LN10;var e=Math.log(Math.min(S[0],S[1]))/Math.LN10;return g(e)||(e=Math.log(Math.max(S[0],S[1]))/Math.LN10-6),e}}}),Sd=ke({"src/lib/relink_private.js"(Z,H){"use strict";var g=Oa().isArrayOrTypedArray,x=Bi();H.exports=function A(S,e){for(var t in e){var r=e[t],o=S[t];if(o!==r)if(t.charAt(0)==="_"||typeof r=="function"){if(t in S)continue;S[t]=r}else if(g(r)&&g(o)&&x(r[0])){if(t==="customdata"||t==="ids")continue;for(var n=Math.min(r.length,o.length),i=0;iS/2?A-Math.round(A/S)*S:A}H.exports={mod:g,modHalf:x}}}),ru=ke({"node_modules/tinycolor2/tinycolor.js"(Z,H){(function(g){var x=/^\s+/,A=/\s+$/,S=0,e=g.round,t=g.min,r=g.max,o=g.random;function n(j,ee){if(j=j||"",ee=ee||{},j instanceof n)return j;if(!(this instanceof n))return new n(j,ee);var ie=i(j);this._originalInput=j,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=e(100*this._a)/100,this._format=ee.format||ie.format,this._gradientType=ee.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ie.ok,this._tc_id=S++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},getLuminance:function(){var j=this.toRgb(),ee,ie,ce,xe,Te,Ue;return ee=j.r/255,ie=j.g/255,ce=j.b/255,ee<=.03928?xe=ee/12.92:xe=g.pow((ee+.055)/1.055,2.4),ie<=.03928?Te=ie/12.92:Te=g.pow((ie+.055)/1.055,2.4),ce<=.03928?Ue=ce/12.92:Ue=g.pow((ce+.055)/1.055,2.4),.2126*xe+.7152*Te+.0722*Ue},setAlpha:function(j){return this._a=I(j),this._roundA=e(100*this._a)/100,this},toHsv:function(){var j=h(this._r,this._g,this._b);return{h:j.h*360,s:j.s,v:j.v,a:this._a}},toHsvString:function(){var j=h(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.v*100);return this._a==1?"hsv("+ee+", "+ie+"%, "+ce+"%)":"hsva("+ee+", "+ie+"%, "+ce+"%, "+this._roundA+")"},toHsl:function(){var j=s(this._r,this._g,this._b);return{h:j.h*360,s:j.s,l:j.l,a:this._a}},toHslString:function(){var j=s(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.l*100);return this._a==1?"hsl("+ee+", "+ie+"%, "+ce+"%)":"hsla("+ee+", "+ie+"%, "+ce+"%, "+this._roundA+")"},toHex:function(j){return d(this._r,this._g,this._b,j)},toHexString:function(j){return"#"+this.toHex(j)},toHex8:function(j){return T(this._r,this._g,this._b,this._a,j)},toHex8String:function(j){return"#"+this.toHex8(j)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+e(this._r)+", "+e(this._g)+", "+e(this._b)+")":"rgba("+e(this._r)+", "+e(this._g)+", "+e(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:e(N(this._r,255)*100)+"%",g:e(N(this._g,255)*100)+"%",b:e(N(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+e(N(this._r,255)*100)+"%, "+e(N(this._g,255)*100)+"%, "+e(N(this._b,255)*100)+"%)":"rgba("+e(N(this._r,255)*100)+"%, "+e(N(this._g,255)*100)+"%, "+e(N(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:B[d(this._r,this._g,this._b,!0)]||!1},toFilter:function(j){var ee="#"+l(this._r,this._g,this._b,this._a),ie=ee,ce=this._gradientType?"GradientType = 1, ":"";if(j){var xe=n(j);ie="#"+l(xe._r,xe._g,xe._b,xe._a)}return"progid:DXImageTransform.Microsoft.gradient("+ce+"startColorstr="+ee+",endColorstr="+ie+")"},toString:function(j){var ee=!!j;j=j||this._format;var ie=!1,ce=this._a<1&&this._a>=0,xe=!ee&&ce&&(j==="hex"||j==="hex6"||j==="hex3"||j==="hex4"||j==="hex8"||j==="name");return xe?j==="name"&&this._a===0?this.toName():this.toRgbString():(j==="rgb"&&(ie=this.toRgbString()),j==="prgb"&&(ie=this.toPercentageRgbString()),(j==="hex"||j==="hex6")&&(ie=this.toHexString()),j==="hex3"&&(ie=this.toHexString(!0)),j==="hex4"&&(ie=this.toHex8String(!0)),j==="hex8"&&(ie=this.toHex8String()),j==="name"&&(ie=this.toName()),j==="hsl"&&(ie=this.toHslString()),j==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(j,ee){var ie=j.apply(null,[this].concat([].slice.call(ee)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(E,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(j,ee){return j.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(u,arguments)},monochromatic:function(){return this._applyCombination(z,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(f,arguments)}},n.fromRatio=function(j,ee){if(typeof j=="object"){var ie={};for(var ce in j)j.hasOwnProperty(ce)&&(ce==="a"?ie[ce]=j[ce]:ie[ce]=fe(j[ce]));j=ie}return n(j,ee)};function i(j){var ee={r:0,g:0,b:0},ie=1,ce=null,xe=null,Te=null,Ue=!1,Ie=!1;return typeof j=="string"&&(j=re(j)),typeof j=="object"&&(X(j.r)&&X(j.g)&&X(j.b)?(ee=a(j.r,j.g,j.b),Ue=!0,Ie=String(j.r).substr(-1)==="%"?"prgb":"rgb"):X(j.h)&&X(j.s)&&X(j.v)?(ce=fe(j.s),xe=fe(j.v),ee=p(j.h,ce,xe),Ue=!0,Ie="hsv"):X(j.h)&&X(j.s)&&X(j.l)&&(ce=fe(j.s),Te=fe(j.l),ee=c(j.h,ce,Te),Ue=!0,Ie="hsl"),j.hasOwnProperty("a")&&(ie=j.a)),ie=I(ie),{ok:Ue,format:j.format||Ie,r:t(255,r(ee.r,0)),g:t(255,r(ee.g,0)),b:t(255,r(ee.b,0)),a:ie}}function a(j,ee,ie){return{r:N(j,255)*255,g:N(ee,255)*255,b:N(ie,255)*255}}function s(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=(ce+xe)/2;if(ce==xe)Te=Ue=0;else{var Ye=ce-xe;switch(Ue=Ie>.5?Ye/(2-ce-xe):Ye/(ce+xe),ce){case j:Te=(ee-ie)/Ye+(ee1&&(tt-=1),tt<1/6?it+(at-it)*6*tt:tt<1/2?at:tt<2/3?it+(at-it)*(2/3-tt)*6:it}if(ee===0)ce=xe=Te=ie;else{var Ie=ie<.5?ie*(1+ee):ie+ee-ie*ee,Ye=2*ie-Ie;ce=Ue(Ye,Ie,j+1/3),xe=Ue(Ye,Ie,j),Te=Ue(Ye,Ie,j-1/3)}return{r:ce*255,g:xe*255,b:Te*255}}function h(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=ce,Ye=ce-xe;if(Ue=ce===0?0:Ye/ce,ce==xe)Te=0;else{switch(ce){case j:Te=(ee-ie)/Ye+(ee>1)+720)%360;--ee;)ce.h=(ce.h+xe)%360,Te.push(n(ce));return Te}function z(j,ee){ee=ee||6;for(var ie=n(j).toHsv(),ce=ie.h,xe=ie.s,Te=ie.v,Ue=[],Ie=1/ee;ee--;)Ue.push(n({h:ce,s:xe,v:Te})),Te=(Te+Ie)%1;return Ue}n.mix=function(j,ee,ie){ie=ie===0?0:ie||50;var ce=n(j).toRgb(),xe=n(ee).toRgb(),Te=ie/100,Ue={r:(xe.r-ce.r)*Te+ce.r,g:(xe.g-ce.g)*Te+ce.g,b:(xe.b-ce.b)*Te+ce.b,a:(xe.a-ce.a)*Te+ce.a};return n(Ue)},n.readability=function(j,ee){var ie=n(j),ce=n(ee);return(g.max(ie.getLuminance(),ce.getLuminance())+.05)/(g.min(ie.getLuminance(),ce.getLuminance())+.05)},n.isReadable=function(j,ee,ie){var ce=n.readability(j,ee),xe,Te;switch(Te=!1,xe=ae(ie),xe.level+xe.size){case"AAsmall":case"AAAlarge":Te=ce>=4.5;break;case"AAlarge":Te=ce>=3;break;case"AAAsmall":Te=ce>=7;break}return Te},n.mostReadable=function(j,ee,ie){var ce=null,xe=0,Te,Ue,Ie,Ye;ie=ie||{},Ue=ie.includeFallbackColors,Ie=ie.level,Ye=ie.size;for(var it=0;itxe&&(xe=Te,ce=n(ee[it]));return n.isReadable(j,ce,{level:Ie,size:Ye})||!Ue?ce:(ie.includeFallbackColors=!1,n.mostReadable(j,["#fff","#000"],ie))};var F=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=n.hexNames=O(F);function O(j){var ee={};for(var ie in j)j.hasOwnProperty(ie)&&(ee[j[ie]]=ie);return ee}function I(j){return j=parseFloat(j),(isNaN(j)||j<0||j>1)&&(j=1),j}function N(j,ee){Q(j)&&(j="100%");var ie=le(j);return j=t(ee,r(0,parseFloat(j))),ie&&(j=parseInt(j*ee,10)/100),g.abs(j-ee)<1e-6?1:j%ee/parseFloat(ee)}function U(j){return t(1,r(0,j))}function W(j){return parseInt(j,16)}function Q(j){return typeof j=="string"&&j.indexOf(".")!=-1&&parseFloat(j)===1}function le(j){return typeof j=="string"&&j.indexOf("%")!=-1}function se(j){return j.length==1?"0"+j:""+j}function fe(j){return j<=1&&(j=j*100+"%"),j}function G(j){return g.round(parseFloat(j)*255).toString(16)}function $(j){return W(j)/255}var J=function(){var j="[-\\+]?\\d+%?",ee="[-\\+]?\\d*\\.\\d+%?",ie="(?:"+ee+")|(?:"+j+")",ce="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?",xe="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?";return{CSS_UNIT:new RegExp(ie),rgb:new RegExp("rgb"+ce),rgba:new RegExp("rgba"+xe),hsl:new RegExp("hsl"+ce),hsla:new RegExp("hsla"+xe),hsv:new RegExp("hsv"+ce),hsva:new RegExp("hsva"+xe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function X(j){return!!J.CSS_UNIT.exec(j)}function re(j){j=j.replace(x,"").replace(A,"").toLowerCase();var ee=!1;if(F[j])j=F[j],ee=!0;else if(j=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ie;return(ie=J.rgb.exec(j))?{r:ie[1],g:ie[2],b:ie[3]}:(ie=J.rgba.exec(j))?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=J.hsl.exec(j))?{h:ie[1],s:ie[2],l:ie[3]}:(ie=J.hsla.exec(j))?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=J.hsv.exec(j))?{h:ie[1],s:ie[2],v:ie[3]}:(ie=J.hsva.exec(j))?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=J.hex8.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),a:$(ie[4]),format:ee?"name":"hex8"}:(ie=J.hex6.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),format:ee?"name":"hex"}:(ie=J.hex4.exec(j))?{r:W(ie[1]+""+ie[1]),g:W(ie[2]+""+ie[2]),b:W(ie[3]+""+ie[3]),a:$(ie[4]+""+ie[4]),format:ee?"name":"hex8"}:(ie=J.hex3.exec(j))?{r:W(ie[1]+""+ie[1]),g:W(ie[2]+""+ie[2]),b:W(ie[3]+""+ie[3]),format:ee?"name":"hex"}:!1}function ae(j){var ee,ie;return j=j||{level:"AA",size:"small"},ee=(j.level||"AA").toUpperCase(),ie=(j.size||"small").toLowerCase(),ee!=="AA"&&ee!=="AAA"&&(ee="AA"),ie!=="small"&&ie!=="large"&&(ie="small"),{level:ee,size:ie}}typeof H<"u"&&H.exports?H.exports=n:window.tinycolor=n})(Math)}}),To=ke({"src/lib/extend.js"(Z){"use strict";var H=Bi(),g=Array.isArray;function x(S,e){var t,r;for(t=0;t=0)))return n;if(h===3)s[h]>1&&(s[h]=1);else if(s[h]>=1)return n}var p=Math.round(s[0]*255)+", "+Math.round(s[1]*255)+", "+Math.round(s[2]*255);return c?"rgba("+p+", "+s[3]+")":"rgb("+p+")"}}}),Lp=ke({"src/constants/interactions.js"(Z,H){"use strict";H.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Ng=ke({"src/lib/regex.js"(Z){"use strict";Z.counter=function(H,g,x,A){var S=(g||"")+(x?"":"$"),e=A===!1?"":"^";return H==="xy"?new RegExp(e+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+S):new RegExp(e+H+"([2-9]|[1-9][0-9]+)?"+S)}}}),KS=ke({"src/lib/coerce.js"(Z){"use strict";var H=Yn(),g=ru(),x=To().extendFlat,A=Ol(),S=Cm(),e=eo(),t=Lp().DESELECTDIM,r=ms(),o=Ng().counter,n=_f().modHalf,i=Oa().isArrayOrTypedArray,a=Oa().isTypedArraySpec,s=Oa().decodeTypedArraySpec;Z.valObjectMeta={data_array:{coerceFunction:function(h,p,d){p.set(i(h)?h:a(h)?s(h):d)}},enumerated:{coerceFunction:function(h,p,d,T){T.coerceNumber&&(h=+h),T.values.indexOf(h)===-1?p.set(d):p.set(h)},validateFunction:function(h,p){p.coerceNumber&&(h=+h);for(var d=p.values,T=0;TT.max?p.set(d):p.set(+h)}},integer:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}a(h)&&(h=s(h)),h%1||!H(h)||T.min!==void 0&&hT.max?p.set(d):p.set(+h)}},string:{coerceFunction:function(h,p,d,T){if(typeof h!="string"){var l=typeof h=="number";T.strict===!0||!l?p.set(d):p.set(String(h))}else T.noBlank&&!h?p.set(d):p.set(h)}},color:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),g(h).isValid()?p.set(h):p.set(d)}},colorlist:{coerceFunction:function(h,p,d){function T(l){return g(l).isValid()}!Array.isArray(h)||!h.length?p.set(d):h.every(T)?p.set(h):p.set(d)}},colorscale:{coerceFunction:function(h,p,d){p.set(S.get(h,d))}},angle:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),h==="auto"?p.set("auto"):H(h)?p.set(n(+h,360)):p.set(d)}},subplotid:{coerceFunction:function(h,p,d,T){var l=T.regex||o(d);if(typeof h=="string"&&l.test(h)){p.set(h);return}p.set(d)},validateFunction:function(h,p){var d=p.dflt;return h===d?!0:typeof h!="string"?!1:!!o(d).test(h)}},flaglist:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}if(typeof h!="string"){p.set(d);return}for(var l=h.split("+"),_=0;_/g),h=0;h1){var e=["LOG:"];for(S=0;S1){var t=[];for(S=0;S"),"long")}},A.warn=function(){var S;if(g.logging>0){var e=["WARN:"];for(S=0;S0){var t=[];for(S=0;S"),"stick")}},A.error=function(){var S;if(g.logging>0){var e=["ERROR:"];for(S=0;S0){var t=[];for(S=0;S"),"stick")}}}}),n_=ke({"src/lib/noop.js"(Z,H){"use strict";H.exports=function(){}}}),Ow=ke({"src/lib/push_unique.js"(Z,H){"use strict";H.exports=function(x,A){if(A instanceof RegExp){for(var S=A.toString(),e=0;e0){for(var r=[],o=0;o=l&&F<=_?F:e}if(typeof F!="string"&&typeof F!="number")return e;F=String(F);var U=d(B),W=F.charAt(0);U&&(W==="G"||W==="g")&&(F=F.substr(1),B="");var Q=U&&B.substr(0,7)==="chinese",le=F.match(Q?h:c);if(!le)return e;var se=le[1],fe=le[3]||"1",G=Number(le[5]||1),$=Number(le[7]||0),J=Number(le[9]||0),X=Number(le[11]||0);if(U){if(se.length===2)return e;se=Number(se);var re;try{var ae=a.getComponentMethod("calendars","getCal")(B);if(Q){var j=fe.charAt(fe.length-1)==="i";fe=parseInt(fe,10),re=ae.newDate(se,ae.toMonthIndex(se,fe,j),G)}else re=ae.newDate(se,Number(fe),G)}catch{return e}return re?(re.toJD()-i)*t+$*r+J*o+X*n:e}se.length===2?se=(Number(se)+2e3-p)%100+p:se=Number(se),fe-=1;var ee=new Date(Date.UTC(2e3,fe,G,$,J));return ee.setUTCFullYear(se),ee.getUTCMonth()!==fe||ee.getUTCDate()!==G?e:ee.getTime()+X*n},l=Z.MIN_MS=Z.dateTime2ms("-9999"),_=Z.MAX_MS=Z.dateTime2ms("9999-12-31 23:59:59.9999"),Z.isDateTime=function(F,B){return Z.dateTime2ms(F,B)!==e};function w(F,B){return String(F+Math.pow(10,B)).substr(1)}var M=90*t,E=3*r,m=5*o;Z.ms2DateTime=function(F,B,O){if(typeof F!="number"||!(F>=l&&F<=_))return e;B||(B=0);var I=Math.floor(A(F+.05,1)*10),N=Math.round(F-I/10),U,W,Q,le,se,fe;if(d(O)){var G=Math.floor(N/t)+i,$=Math.floor(A(F,t));try{U=a.getComponentMethod("calendars","getCal")(O).fromJD(G).formatDate("yyyy-mm-dd")}catch{U=s("G%Y-%m-%d")(new Date(N))}if(U.charAt(0)==="-")for(;U.length<11;)U="-0"+U.substr(1);else for(;U.length<10;)U="0"+U;W=B=l+t&&F<=_-t))return e;var B=Math.floor(A(F+.05,1)*10),O=new Date(Math.round(F-B/10)),I=H("%Y-%m-%d")(O),N=O.getHours(),U=O.getMinutes(),W=O.getSeconds(),Q=O.getUTCMilliseconds()*10+B;return b(I,N,U,W,Q)};function b(F,B,O,I,N){if((B||O||I||N)&&(F+=" "+w(B,2)+":"+w(O,2),(I||N)&&(F+=":"+w(I,2),N))){for(var U=4;N%10===0;)U-=1,N/=10;F+="."+w(N,U)}return F}Z.cleanDate=function(F,B,O){if(F===e)return B;if(Z.isJSDate(F)||typeof F=="number"&&isFinite(F)){if(d(O))return x.error("JS Dates and milliseconds are incompatible with world calendars",F),B;if(F=Z.ms2DateTimeLocal(+F),!F&&B!==void 0)return B}else if(!Z.isDateTime(F,O))return x.error("unrecognized date",F),B;return F};var v=/%\d?f/g,u=/%h/g,y={1:"1",2:"1",3:"2",4:"2"};function f(F,B,O,I){F=F.replace(v,function(U){var W=Math.min(+U.charAt(1)||6,6),Q=(B/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,"")||"0";return Q});var N=new Date(Math.floor(B+.05));if(F=F.replace(u,function(){return y[O("%q")(N)]}),d(I))try{F=a.getComponentMethod("calendars","worldCalFmt")(F,B,I)}catch{return"Invalid"}return O(F)(N)}var P=[59,59.9,59.99,59.999,59.9999];function L(F,B){var O=A(F+.05,t),I=w(Math.floor(O/r),2)+":"+w(A(Math.floor(O/o),60),2);if(B!=="M"){g(B)||(B=0);var N=Math.min(A(F/n,60),P[B]),U=(100+N).toFixed(B).substr(1);B>0&&(U=U.replace(/0+$/,"").replace(/[\.]$/,"")),I+=":"+U}return I}Z.formatDate=function(F,B,O,I,N,U){if(N=d(N)&&N,!B)if(O==="y")B=U.year;else if(O==="m")B=U.month;else if(O==="d")B=U.dayMonth+` -`+U.year;else return L(F,O)+` -`+f(U.dayMonthYear,F,I,N);return f(B,F,I,N)};var z=3*t;Z.incrementMonth=function(F,B,O){O=d(O)&&O;var I=A(F,t);if(F=Math.round(F-I),O)try{var N=Math.round(F/t)+i,U=a.getComponentMethod("calendars","getCal")(O),W=U.fromJD(N);return B%12?U.add(W,B,"m"):U.add(W,B/12,"y"),(W.toJD()-i)*t+I}catch{x.error("invalid ms "+F+" in calendar "+O)}var Q=new Date(F+z);return Q.setUTCMonth(Q.getUTCMonth()+B)+I-z},Z.findExactDates=function(F,B){for(var O=0,I=0,N=0,U=0,W,Q,le=d(B)&&a.getComponentMethod("calendars","getCal")(B),se=0;se1?(i[c-1]-i[0])/(c-1):1,d,T;for(p>=0?T=a?e:t:T=a?o:r,n+=p*S*(a?-1:1)*(p>=0?1:-1);s90&&g.log("Long binary search..."),s-1};function e(n,i){return ni}function o(n,i){return n>=i}Z.sorterAsc=function(n,i){return n-i},Z.sorterDes=function(n,i){return i-n},Z.distinctVals=function(n){var i=n.slice();i.sort(Z.sorterAsc);var a;for(a=i.length-1;a>-1&&i[a]===A;a--);for(var s=i[a]-i[0]||1,c=s/(a||1)/1e4,h=[],p,d=0;d<=a;d++){var T=i[d],l=T-p;p===void 0?(h.push(T),p=T):l>c&&(s=Math.min(s,l),h.push(T),p=T)}return{vals:h,minDiff:s}},Z.roundUp=function(n,i,a){for(var s=0,c=i.length-1,h,p=0,d=a?0:1,T=a?1:0,l=a?Math.ceil:Math.floor;s0&&(s=1),a&&s)return n.sort(i)}return s?n:n.reverse()},Z.findIndexOfMin=function(n,i){i=i||x;for(var a=1/0,s,c=0;cS.length)&&(e=S.length),H(A)||(A=!1),g(S[0])){for(r=new Array(e),t=0;tx.length-1)return x[x.length-1];var S=A%1;return S*x[Math.ceil(A)]+(1-S)*x[Math.floor(A)]}}}),LE=ke({"src/lib/angles.js"(Z,H){"use strict";var g=_f(),x=g.mod,A=g.modHalf,S=Math.PI,e=2*S;function t(T){return T/180*S}function r(T){return T/S*180}function o(T){return Math.abs(T[1]-T[0])>e-1e-14}function n(T,l){return A(l-T,e)}function i(T,l){return Math.abs(n(T,l))}function a(T,l){if(o(l))return!0;var _,w;l[0]w&&(w+=e);var M=x(T,e),E=M+e;return M>=_&&M<=w||E>=_&&E<=w}function s(T,l,_,w){if(!a(l,w))return!1;var M,E;return _[0]<_[1]?(M=_[0],E=_[1]):(M=_[1],E=_[0]),T>=M&&T<=E}function c(T,l,_,w,M,E,m){M=M||0,E=E||0;var b=o([_,w]),v,u,y,f,P;b?(v=0,u=S,y=e):_1/3&&g.x<2/3},Z.isRightAnchor=function(g){return g.xanchor==="right"||g.xanchor==="auto"&&g.x>=2/3},Z.isTopAnchor=function(g){return g.yanchor==="top"||g.yanchor==="auto"&&g.y>=2/3},Z.isMiddleAnchor=function(g){return g.yanchor==="middle"||g.yanchor==="auto"&&g.y>1/3&&g.y<2/3},Z.isBottomAnchor=function(g){return g.yanchor==="bottom"||g.yanchor==="auto"&&g.y<=1/3}}}),IE=ke({"src/lib/geometry2d.js"(Z){"use strict";var H=_f().mod;Z.segmentsIntersect=g;function g(t,r,o,n,i,a,s,c){var h=o-t,p=i-t,d=s-i,T=n-r,l=a-r,_=c-a,w=h*_-d*T;if(w===0)return null;var M=(p*_-d*l)/w,E=(p*T-h*l)/w;return E<0||E>1||M<0||M>1?null:{x:t+h*M,y:r+T*M}}Z.segmentDistance=function(r,o,n,i,a,s,c,h){if(g(r,o,n,i,a,s,c,h))return 0;var p=n-r,d=i-o,T=c-a,l=h-s,_=p*p+d*d,w=T*T+l*l,M=Math.min(x(p,d,_,a-r,s-o),x(p,d,_,c-r,h-o),x(T,l,w,r-a,o-s),x(T,l,w,n-a,i-s));return Math.sqrt(M)};function x(t,r,o,n,i){var a=n*t+i*r;if(a<0)return n*n+i*i;if(a>o){var s=n-t,c=i-r;return s*s+c*c}else{var h=n*r-i*t;return h*h/o}}var A,S,e;Z.getTextLocation=function(r,o,n,i){if((r!==S||i!==e)&&(A={},S=r,e=i),A[n])return A[n];var a=r.getPointAtLength(H(n-i/2,o)),s=r.getPointAtLength(H(n+i/2,o)),c=Math.atan((s.y-a.y)/(s.x-a.x)),h=r.getPointAtLength(H(n,o)),p=(h.x*4+a.x+s.x)/6,d=(h.y*4+a.y+s.y)/6,T={x:p,y:d,theta:c};return A[n]=T,T},Z.clearLocationCache=function(){S=null},Z.getVisibleSegment=function(r,o,n){var i=o.left,a=o.right,s=o.top,c=o.bottom,h=0,p=r.getTotalLength(),d=p,T,l;function _(M){var E=r.getPointAtLength(M);M===0?T=E:M===p&&(l=E);var m=E.xa?E.x-a:0,b=E.yc?E.y-c:0;return Math.sqrt(m*m+b*b)}for(var w=_(h);w;){if(h+=w+n,h>d)return;w=_(h)}for(w=_(d);w;){if(d-=w+n,h>d)return;w=_(d)}return{min:h,max:d,len:d-h,total:p,isClosed:h===0&&d===p&&Math.abs(T.x-l.x)<.1&&Math.abs(T.y-l.y)<.1}},Z.findPointOnPath=function(r,o,n,i){i=i||{};for(var a=i.pathLength||r.getTotalLength(),s=i.tolerance||.001,c=i.iterationLimit||30,h=r.getPointAtLength(0)[n]>r.getPointAtLength(a)[n]?-1:1,p=0,d=0,T=a,l,_,w;p0?T=l:d=l,p++}return _}}}),l_=ke({"src/lib/throttle.js"(Z){"use strict";var H={};Z.throttle=function(A,S,e){var t=H[A],r=Date.now();if(!t){for(var o in H)H[o].tst.ts+S){n();return}t.timer=setTimeout(function(){n(),t.timer=null},S)},Z.done=function(x){var A=H[x];return!A||!A.timer?Promise.resolve():new Promise(function(S){var e=A.onDone;A.onDone=function(){e&&e(),S(),A.onDone=null}})},Z.clear=function(x){if(x)g(H[x]),delete H[x];else for(var A in H)Z.clear(A)};function g(x){x&&x.timer!==null&&(clearTimeout(x.timer),x.timer=null)}}}),RE=ke({"src/lib/clear_responsive.js"(Z,H){"use strict";H.exports=function(x){x._responsiveChartHandler&&(window.removeEventListener("resize",x._responsiveChartHandler),delete x._responsiveChartHandler)}}}),DE=ke({"node_modules/is-mobile/index.js"(Z,H){"use strict";H.exports=S,H.exports.isMobile=S,H.exports.default=S;var g=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,x=/CrOS/,A=/android|ipad|playbook|silk/i;function S(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;let r=g.test(t)&&!x.test(t)||!!e.tablet&&A.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}}}),zE=ke({"src/lib/preserve_drawing_buffer.js"(Z,H){"use strict";var g=Yn(),x=DE();H.exports=function(e){var t;if(e&&e.hasOwnProperty("userAgent")?t=e.userAgent:t=A(),typeof t!="string")return!0;var r=x({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!r)for(var o=t.split(" "),n=1;n-1;a--){var s=o[a];if(s.substr(0,8)==="Version/"){var c=s.substr(8).split(".")[0];if(g(c)&&(c=+c),c>=13)return!0}}}return r};function A(){var S;return typeof navigator<"u"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers["user-agent"]=="string"&&(S=S.headers["user-agent"]),S}}}),FE=ke({"src/lib/make_trace_groups.js"(Z,H){"use strict";var g=_i();H.exports=function(A,S,e){var t=A.selectAll("g."+e.replace(/\s/g,".")).data(S,function(o){return o[0].trace.uid});t.exit().remove(),t.enter().append("g").attr("class",e),t.order();var r=A.classed("rangeplot")?"nodeRangePlot3":"node3";return t.each(function(o){o[0][r]=g.select(this)}),t}}}),OE=ke({"src/lib/localize.js"(Z,H){"use strict";var g=lo();H.exports=function(A,S){for(var e=A._context.locale,t=0;t<2;t++){for(var r=A._context.locales,o=0;o<2;o++){var n=(r[e]||{}).dictionary;if(n){var i=n[S];if(i)return i}r=g.localeRegistry}var a=e.split("-")[0];if(a===e)break;e=a}return S}}}),Vw=ke({"src/lib/filter_unique.js"(Z,H){"use strict";H.exports=function(x){for(var A={},S=[],e=0,t=0;t1?(S*x+S*A)/S:x+A,t=String(e).length;if(t>16){var r=String(A).length,o=String(x).length;if(t>=o+r){var n=parseFloat(e).toPrecision(12);n.indexOf("e+")===-1&&(e=+n)}}return e}}}),UE=ke({"src/lib/clean_number.js"(Z,H){"use strict";var g=Yn(),x=Hi().BADNUM,A=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;H.exports=function(e){return typeof e=="string"&&(e=e.replace(A,"")),g(e)?Number(e):x}}}),un=ke({"src/lib/index.js"(Z,H){"use strict";var g=_i(),x=Ki().utcFormat,A=$n().format,S=Yn(),e=Hi(),t=e.FP_SAFE,r=-t,o=e.BADNUM,n=H.exports={};n.adjustFormat=function(ae){return!ae||/^\d[.]\df/.test(ae)||/[.]\d%/.test(ae)?ae:ae==="0.f"?"~f":/^\d%/.test(ae)?"~%":/^\ds/.test(ae)?"~s":!/^[~,.0$]/.test(ae)&&/[&fps]/.test(ae)?"~"+ae:ae};var i={};n.warnBadFormat=function(re){var ae=String(re);i[ae]||(i[ae]=1,n.warn('encountered bad format: "'+ae+'"'))},n.noFormat=function(re){return String(re)},n.numberFormat=function(re){var ae;try{ae=A(n.adjustFormat(re))}catch{return n.warnBadFormat(re),n.noFormat}return ae},n.nestedProperty=ms(),n.keyedContainer=Is(),n.relativeAttr=Cu(),n.isPlainObject=Bi(),n.toLogRange=Zf(),n.relinkPrivateKeys=Sd();var a=Oa();n.isArrayBuffer=a.isArrayBuffer,n.isTypedArray=a.isTypedArray,n.isArrayOrTypedArray=a.isArrayOrTypedArray,n.isArray1D=a.isArray1D,n.ensureArray=a.ensureArray,n.concat=a.concat,n.maxRowLength=a.maxRowLength,n.minRowLength=a.minRowLength;var s=_f();n.mod=s.mod,n.modHalf=s.modHalf;var c=KS();n.valObjectMeta=c.valObjectMeta,n.coerce=c.coerce,n.coerce2=c.coerce2,n.coerceFont=c.coerceFont,n.coercePattern=c.coercePattern,n.coerceHoverinfo=c.coerceHoverinfo,n.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,n.validate=c.validate;var h=CE();n.dateTime2ms=h.dateTime2ms,n.isDateTime=h.isDateTime,n.ms2DateTime=h.ms2DateTime,n.ms2DateTimeLocal=h.ms2DateTimeLocal,n.cleanDate=h.cleanDate,n.isJSDate=h.isJSDate,n.formatDate=h.formatDate,n.incrementMonth=h.incrementMonth,n.dateTick0=h.dateTick0,n.dfltRange=h.dfltRange,n.findExactDates=h.findExactDates,n.MIN_MS=h.MIN_MS,n.MAX_MS=h.MAX_MS;var p=s_();n.findBin=p.findBin,n.sorterAsc=p.sorterAsc,n.sorterDes=p.sorterDes,n.distinctVals=p.distinctVals,n.roundUp=p.roundUp,n.sort=p.sort,n.findIndexOfMin=p.findIndexOfMin,n.sortObjectKeys=Ip();var d=kE();n.aggNums=d.aggNums,n.len=d.len,n.mean=d.mean,n.geometricMean=d.geometricMean,n.median=d.median,n.midRange=d.midRange,n.variance=d.variance,n.stdev=d.stdev,n.interp=d.interp;var T=i_();n.init2dArray=T.init2dArray,n.transposeRagged=T.transposeRagged,n.dot=T.dot,n.translationMatrix=T.translationMatrix,n.rotationMatrix=T.rotationMatrix,n.rotationXYMatrix=T.rotationXYMatrix,n.apply3DTransform=T.apply3DTransform,n.apply2DTransform=T.apply2DTransform,n.apply2DTransform2=T.apply2DTransform2,n.convertCssMatrix=T.convertCssMatrix,n.inverseTransformMatrix=T.inverseTransformMatrix;var l=LE();n.deg2rad=l.deg2rad,n.rad2deg=l.rad2deg,n.angleDelta=l.angleDelta,n.angleDist=l.angleDist,n.isFullCircle=l.isFullCircle,n.isAngleInsideSector=l.isAngleInsideSector,n.isPtInsideSector=l.isPtInsideSector,n.pathArc=l.pathArc,n.pathSector=l.pathSector,n.pathAnnulus=l.pathAnnulus;var _=PE();n.isLeftAnchor=_.isLeftAnchor,n.isCenterAnchor=_.isCenterAnchor,n.isRightAnchor=_.isRightAnchor,n.isTopAnchor=_.isTopAnchor,n.isMiddleAnchor=_.isMiddleAnchor,n.isBottomAnchor=_.isBottomAnchor;var w=IE();n.segmentsIntersect=w.segmentsIntersect,n.segmentDistance=w.segmentDistance,n.getTextLocation=w.getTextLocation,n.clearLocationCache=w.clearLocationCache,n.getVisibleSegment=w.getVisibleSegment,n.findPointOnPath=w.findPointOnPath;var M=To();n.extendFlat=M.extendFlat,n.extendDeep=M.extendDeep,n.extendDeepAll=M.extendDeepAll,n.extendDeepNoArrays=M.extendDeepNoArrays;var E=Pp();n.log=E.log,n.warn=E.warn,n.error=E.error;var m=Ng();n.counterRegex=m.counter;var b=l_();n.throttle=b.throttle,n.throttleDone=b.done,n.clearThrottle=b.clear;var v=Yy();n.getGraphDiv=v.getGraphDiv,n.isPlotDiv=v.isPlotDiv,n.removeElement=v.removeElement,n.addStyleRule=v.addStyleRule,n.addRelatedStyleRule=v.addRelatedStyleRule,n.deleteRelatedStyleRule=v.deleteRelatedStyleRule,n.setStyleOnHover=v.setStyleOnHover,n.getFullTransformMatrix=v.getFullTransformMatrix,n.getElementTransformMatrix=v.getElementTransformMatrix,n.getElementAndAncestors=v.getElementAndAncestors,n.equalDomRects=v.equalDomRects,n.clearResponsive=RE(),n.preserveDrawingBuffer=zE(),n.makeTraceGroups=FE(),n._=OE(),n.notifier=Fw(),n.filterUnique=Vw(),n.filterVisible=BE(),n.pushUnique=Ow(),n.increment=NE(),n.cleanNumber=UE(),n.ensureNumber=function(ae){return S(ae)?(ae=Number(ae),ae>t||ae=ae?!1:S(re)&&re>=0&&re%1===0},n.noop=n_(),n.identity=Jy(),n.repeat=function(re,ae){for(var j=new Array(ae),ee=0;eej?Math.max(j,Math.min(ae,re)):Math.max(ae,Math.min(j,re))},n.bBoxIntersect=function(re,ae,j){return j=j||0,re.left<=ae.right+j&&ae.left<=re.right+j&&re.top<=ae.bottom+j&&ae.top<=re.bottom+j},n.simpleMap=function(re,ae,j,ee,ie){for(var ce=re.length,xe=new Array(ce),Te=0;Te=Math.pow(2,j)?ie>10?(n.warn("randstr failed uniqueness"),xe):re(ae,j,ee,(ie||0)+1):xe},n.OptionControl=function(re,ae){re||(re={}),ae||(ae="opt");var j={};return j.optionList=[],j._newoption=function(ee){ee[ae]=re,j[ee.name]=ee,j.optionList.push(ee)},j["_"+ae]=re,j},n.smooth=function(re,ae){if(ae=Math.round(ae)||0,ae<2)return re;var j=re.length,ee=2*j,ie=2*ae-1,ce=new Array(ie),xe=new Array(j),Te,Ue,Ie,Ye;for(Te=0;Te=ee&&(Ie-=ee*Math.floor(Ie/ee)),Ie<0?Ie=-1-Ie:Ie>=j&&(Ie=ee-1-Ie),Ye+=re[Ie]*ce[Ue];xe[Te]=Ye}return xe},n.syncOrAsync=function(re,ae,j){var ee,ie;function ce(){return n.syncOrAsync(re,ae,j)}for(;re.length;)if(ie=re.splice(0,1)[0],ee=ie(ae),ee&&ee.then)return ee.then(ce);return j&&j(ae)},n.stripTrailingSlash=function(re){return re.substr(-1)==="/"?re.substr(0,re.length-1):re},n.noneOrAll=function(re,ae,j){if(re){var ee=!1,ie=!0,ce,xe;for(ce=0;ce0?ie:0})},n.fillArray=function(re,ae,j,ee){if(ee=ee||n.identity,n.isArrayOrTypedArray(re))for(var ie=0;ie1?ie+xe[1]:"";if(ce&&(xe.length>1||Te.length>4||j))for(;ee.test(Te);)Te=Te.replace(ee,"$1"+ce+"$2");return Te+Ue},n.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;n.templateString=function(re,ae){var j={};return re.replace(n.TEMPLATE_STRING_REGEX,function(ee,ie){var ce;return O.test(ie)?ce=ae[ie]:(j[ie]=j[ie]||n.nestedProperty(ae,ie).get,ce=j[ie](!0)),ce!==void 0?ce:""})};var I={max:10,count:0,name:"hovertemplate"};n.hovertemplateString=function(){return se.apply(I,arguments)};var N={max:10,count:0,name:"texttemplate"};n.texttemplateString=function(){return se.apply(N,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function W(re){var ae=re.match(U);return ae?{key:ae[1],op:ae[2],number:Number(ae[3])}:{key:re,op:null,number:null}}var Q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};n.texttemplateStringForShapes=function(){return se.apply(Q,arguments)};var le=/^[:|\|]/;function se(re,ae,j){var ee=this,ie=arguments;return ae||(ae={}),re.replace(n.TEMPLATE_STRING_REGEX,function(ce,xe,Te){var Ue=xe==="xother"||xe==="yother",Ie=xe==="_xother"||xe==="_yother",Ye=xe==="_xother_"||xe==="_yother_",it=xe==="xother_"||xe==="yother_",at=Ue||Ie||it||Ye,tt=xe;(Ie||Ye)&&(tt=tt.substring(1)),(it||Ye)&&(tt=tt.substring(0,tt.length-1));var ut=null,Me=null;if(ee.parseMultDiv){var pe=W(tt);tt=pe.key,ut=pe.op,Me=pe.number}var ue;if(at){if(ue=ae[tt],ue===void 0)return""}else{var Oe,rt;for(rt=3;rt=fe&&xe<=G,Ie=Te>=fe&&Te<=G;if(Ue&&(ee=10*ee+xe-fe),Ie&&(ie=10*ie+Te-fe),!Ue||!Ie){if(ee!==ie)return ee-ie;if(xe!==Te)return xe-Te}}return ie-ee};var $=2e9;n.seedPseudoRandom=function(){$=2e9},n.pseudoRandom=function(){var re=$;return $=(69069*$+1)%4294967296,Math.abs($-re)<429496729?n.pseudoRandom():$/4294967296},n.fillText=function(re,ae,j){var ee=Array.isArray(j)?function(xe){j.push(xe)}:function(xe){j.text=xe},ie=n.extractOption(re,ae,"htx","hovertext");if(n.isValidTextValue(ie))return ee(ie);var ce=n.extractOption(re,ae,"tx","text");if(n.isValidTextValue(ce))return ee(ce)},n.isValidTextValue=function(re){return re||re===0},n.formatPercent=function(re,ae){ae=ae||0;for(var j=(Math.round(100*re*Math.pow(10,ae))*Math.pow(.1,ae)).toFixed(ae)+"%",ee=0;ee1&&(Ie=1):Ie=0,n.strTranslate(ie-Ie*(j+xe),ce-Ie*(ee+Te))+n.strScale(Ie)+(Ue?"rotate("+Ue+(ae?"":" "+j+" "+ee)+")":"")},n.setTransormAndDisplay=function(re,ae){re.attr("transform",n.getTextTransform(ae)),re.style("display",ae.scale?null:"none")},n.ensureUniformFontSize=function(re,ae){var j=n.extendFlat({},ae);return j.size=Math.max(ae.size,re._fullLayout.uniformtext.minsize||0),j},n.join2=function(re,ae,j){var ee=re.length;return ee>1?re.slice(0,-1).join(ae)+j+re[ee-1]:re.join(ae)},n.bigFont=function(re){return Math.round(1.2*re)};var J=n.getFirefoxVersion(),X=J!==null&&J<86;n.getPositionFromD3Event=function(){return X?[g.event.layerX,g.event.layerY]:[g.event.offsetX,g.event.offsetY]}}}),jE=ke({"build/plotcss.js"(){"use strict";var Z=un(),H={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(x in H)g=x.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier"),Z.addStyleRule(g,H[x]);var g,x}}),qw=ke({"node_modules/is-browser/client.js"(Z,H){H.exports=!0}}),Hw=ke({"node_modules/has-hover/index.js"(Z,H){"use strict";var g=qw(),x;typeof window.matchMedia=="function"?x=!window.matchMedia("(hover: none)").matches:x=g,H.exports=x}}),Lm=ke({"node_modules/events/events.js"(Z,H){"use strict";var g=typeof Reflect=="object"?Reflect:null,x=g&&typeof g.apply=="function"?g.apply:function(E,m,b){return Function.prototype.apply.call(E,m,b)},A;g&&typeof g.ownKeys=="function"?A=g.ownKeys:Object.getOwnPropertySymbols?A=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:A=function(E){return Object.getOwnPropertyNames(E)};function S(M){console&&console.warn&&console.warn(M)}var e=Number.isNaN||function(E){return E!==E};function t(){t.init.call(this)}H.exports=t,H.exports.once=l,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var r=10;function o(M){if(typeof M!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof M)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(M){if(typeof M!="number"||M<0||e(M))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+M+".");r=M}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||e(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this};function n(M){return M._maxListeners===void 0?t.defaultMaxListeners:M._maxListeners}t.prototype.getMaxListeners=function(){return n(this)},t.prototype.emit=function(E){for(var m=[],b=1;b0&&(y=m[0]),y instanceof Error)throw y;var f=new Error("Unhandled error."+(y?" ("+y.message+")":""));throw f.context=y,f}var P=u[E];if(P===void 0)return!1;if(typeof P=="function")x(P,this,m);else for(var L=P.length,z=p(P,L),b=0;b0&&y.length>v&&!y.warned){y.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+y.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=M,f.type=E,f.count=y.length,S(f)}return M}t.prototype.addListener=function(E,m){return i(this,E,m,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(E,m){return i(this,E,m,!0)};function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(M,E,m){var b={fired:!1,wrapFn:void 0,target:M,type:E,listener:m},v=a.bind(b);return v.listener=m,b.wrapFn=v,v}t.prototype.once=function(E,m){return o(m),this.on(E,s(this,E,m)),this},t.prototype.prependOnceListener=function(E,m){return o(m),this.prependListener(E,s(this,E,m)),this},t.prototype.removeListener=function(E,m){var b,v,u,y,f;if(o(m),v=this._events,v===void 0)return this;if(b=v[E],b===void 0)return this;if(b===m||b.listener===m)--this._eventsCount===0?this._events=Object.create(null):(delete v[E],v.removeListener&&this.emit("removeListener",E,b.listener||m));else if(typeof b!="function"){for(u=-1,y=b.length-1;y>=0;y--)if(b[y]===m||b[y].listener===m){f=b[y].listener,u=y;break}if(u<0)return this;u===0?b.shift():d(b,u),b.length===1&&(v[E]=b[0]),v.removeListener!==void 0&&this.emit("removeListener",E,f||m)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(E){var m,b,v;if(b=this._events,b===void 0)return this;if(b.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):b[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete b[E]),this;if(arguments.length===0){var u=Object.keys(b),y;for(v=0;v=0;v--)this.removeListener(E,m[v]);return this};function c(M,E,m){var b=M._events;if(b===void 0)return[];var v=b[E];return v===void 0?[]:typeof v=="function"?m?[v.listener||v]:[v]:m?T(v):p(v,v.length)}t.prototype.listeners=function(E){return c(this,E,!0)},t.prototype.rawListeners=function(E){return c(this,E,!1)},t.listenerCount=function(M,E){return typeof M.listenerCount=="function"?M.listenerCount(E):h.call(M,E)},t.prototype.listenerCount=h;function h(M){var E=this._events;if(E!==void 0){var m=E[M];if(typeof m=="function")return 1;if(m!==void 0)return m.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]};function p(M,E){for(var m=new Array(E),b=0;bx.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)},S.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},S.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},S.undo=function(t){var r,o;if(!(t.undoQueue===void 0||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=t.undoQueue.queue.length)){for(r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=I.length)return!1;if(L.dimensions===2){if(F++,z.length===F)return L;var N=z[F];if(!w(N))return!1;L=I[O][N]}else L=I[O]}else L=I}}return L}function w(L){return L===Math.round(L)&&L>=0}function M(L){var z,F;z=H.modules[L]._module,F=z.basePlotModule;var B={};B.type=null;var O=o({},x),I=o({},z.attributes);Z.crawl(I,function(W,Q,le,se,fe){a(O,fe).set(void 0),W===void 0&&a(I,fe).set(void 0)}),o(B,O),H.traceIs(L,"noOpacity")&&delete B.opacity,H.traceIs(L,"showLegend")||(delete B.showlegend,delete B.legendgroup),H.traceIs(L,"noHover")&&(delete B.hoverinfo,delete B.hoverlabel),z.selectPoints||delete B.selectedpoints,o(B,I),F.attributes&&o(B,F.attributes),B.type=L;var N={meta:z.meta||{},categories:z.categories||{},animatable:!!z.animatable,type:L,attributes:b(B)};if(z.layoutAttributes){var U={};o(U,z.layoutAttributes),N.layoutAttributes=b(U)}return z.animatable||Z.crawl(N,function(W){Z.isValObject(W)&&"anim"in W&&delete W.anim}),N}function E(){var L={},z,F;o(L,A);for(z in H.subplotsRegistry)if(F=H.subplotsRegistry[z],!!F.layoutAttributes)if(Array.isArray(F.attr))for(var B=0;B=n&&(o._input||{})._templateitemname;a&&(i=n);var s=r+"["+i+"]",c;function h(){c={},a&&(c[s]={},c[s][x]=a)}h();function p(_,w){c[_]=w}function d(_,w){a?H.nestedProperty(c[s],_).set(w):c[s+"."+_]=w}function T(){var _=c;return h(),_}function l(_,w){_&&d(_,w);var M=T();for(var E in M)H.nestedProperty(t,E).set(M[E])}return{modifyBase:p,modifyItem:d,getUpdateObj:T,applyUpdate:l}}}}),oh=ke({"src/plots/cartesian/constants.js"(Z,H){"use strict";var g=Ng().counter;H.exports={idRegex:{x:g("x","( domain)?"),y:g("y","( domain)?")},attrRegex:g("[xy]axis"),xAxisMatch:g("xaxis"),yAxisMatch:g("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"},zindexSeparator:"z"}}}),qc=ke({"src/plots/cartesian/axis_ids.js"(Z){"use strict";var H=lo(),g=oh();Z.id2name=function(S){if(!(typeof S!="string"||!S.match(g.AX_ID_PATTERN))){var e=S.split(" ")[0].substr(1);return e==="1"&&(e=""),S.charAt(0)+"axis"+e}},Z.name2id=function(S){if(S.match(g.AX_NAME_PATTERN)){var e=S.substr(5);return e==="1"&&(e=""),S.charAt(0)+e}},Z.cleanId=function(S,e,t){var r=/( domain)$/.test(S);if(!(typeof S!="string"||!S.match(g.AX_ID_PATTERN))&&!(e&&S.charAt(0)!==e)&&!(r&&!t)){var o=S.split(" ")[0].substr(1).replace(/^0+/,"");return o==="1"&&(o=""),S.charAt(0)+o+(r&&t?" domain":"")}},Z.list=function(A,S,e){var t=A._fullLayout;if(!t)return[];var r=Z.listIds(A,S),o=new Array(r.length),n;for(n=0;nt?1:-1:+(A.substr(1)||1)-+(S.substr(1)||1)},Z.ref2id=function(A){return/^[xyz]/.test(A)?A.split(" ")[0]:!1};function x(A,S){if(S&&S.length){for(var e=0;e0?".":"")+a;g.isPlainObject(s)?t(s,o,c,i+1):o(c,a,s)}})}}}),Zu=ke({"src/plots/plots.js"(Z,H){"use strict";var g=_i(),x=Ki().timeFormatLocale,A=$n().formatLocale,S=Yn(),e=Vn(),t=lo(),r=Vg(),o=yl(),n=un(),i=eo(),a=Hi().BADNUM,s=qc(),c=Rp().clearOutline,h=u_(),p=Ky(),d=Gw(),T=bh().getModuleCalcData,l=n.relinkPrivateKeys,_=n._,w=H.exports={};n.extendFlat(w,t),w.attributes=Ol(),w.attributes.type.values=w.allTypes,w.fontAttrs=Il(),w.layoutAttributes=Ug();var M=qE();w.executeAPICommand=M.executeAPICommand,w.computeAPICommandBindings=M.computeAPICommandBindings,w.manageCommandObserver=M.manageCommandObserver,w.hasSimpleAPICommandBindings=M.hasSimpleAPICommandBindings,w.redrawText=function(G){return G=n.getGraphDiv(G),new Promise(function($){setTimeout(function(){G._fullLayout&&(t.getComponentMethod("annotations","draw")(G),t.getComponentMethod("legend","draw")(G),t.getComponentMethod("colorbar","draw")(G),$(w.previousPromises(G)))},300)})},w.resize=function(G){G=n.getGraphDiv(G);var $,J=new Promise(function(X,re){(!G||n.isHidden(G))&&re(new Error("Resize must be passed a displayed plot div element.")),G._redrawTimer&&clearTimeout(G._redrawTimer),G._resolveResize&&($=G._resolveResize),G._resolveResize=X,G._redrawTimer=setTimeout(function(){if(!G.layout||G.layout.width&&G.layout.height||n.isHidden(G)){X(G);return}delete G.layout.width,delete G.layout.height;var ae=G.changed;G.autoplay=!0,t.call("relayout",G,{autosize:!0}).then(function(){G.changed=ae,G._resolveResize===X&&(delete G._resolveResize,X(G))})},100)});return $&&$(J),J},w.previousPromises=function(G){if((G._promises||[]).length)return Promise.all(G._promises).then(function(){G._promises=[]})},w.addLinks=function(G){if(!(!G._context.showLink&&!G._context.showSources)){var $=G._fullLayout,J=n.ensureSingle($._paper,"text","js-plot-link-container",function(ie){ie.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:i.defaultLine,"pointer-events":"all"}).each(function(){var ce=g.select(this);ce.append("tspan").classed("js-link-to-tool",!0),ce.append("tspan").classed("js-link-spacer",!0),ce.append("tspan").classed("js-sourcelinks",!0)})}),X=J.node(),re={y:$._paper.attr("height")-9};document.body.contains(X)&&X.getComputedTextLength()>=$.width-20?(re["text-anchor"]="start",re.x=5):(re["text-anchor"]="end",re.x=$._paper.attr("width")-7),J.attr(re);var ae=J.select(".js-link-to-tool"),j=J.select(".js-link-spacer"),ee=J.select(".js-sourcelinks");G._context.showSources&&G._context.showSources(G),G._context.showLink&&E(G,ae),j.text(ae.text()&&ee.text()?" - ":"")}};function E(G,$){$.text("");var J=$.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(G._context.linkText+" \xBB");if(G._context.sendData)J.on("click",function(){w.sendDataToCloud(G)});else{var X=window.location.pathname.split("/"),re=window.location.search;J.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+X[2].split(".")[0]+"/"+X[1]+re})}}w.sendDataToCloud=function(G){var $=(window.PLOTLYENV||{}).BASE_URL||G._context.plotlyServerURL;if($){G.emit("plotly_beforeexport");var J=g.select(G).append("div").attr("id","hiddenform").style("display","none"),X=J.append("form").attr({action:$+"/external",method:"post",target:"_blank"}),re=X.append("input").attr({type:"text",name:"data"});return re.node().value=w.graphJson(G,!1,"keepdata"),X.node().submit(),J.remove(),G.emit("plotly_afterexport"),!1}};var m=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],b=["year","month","dayMonth","dayMonthYear"];w.supplyDefaults=function(G,$){var J=$&&$.skipUpdateCalc,X=G._fullLayout||{};if(X._skipDefaults){delete X._skipDefaults;return}var re=G._fullLayout={},ae=G.layout||{},j=G._fullData||[],ee=G._fullData=[],ie=G.data||[],ce=G.calcdata||[],xe=G._context||{},Te;G._transitionData||w.createTransitionData(G),re._dfltTitle={plot:_(G,"Click to enter Plot title"),subtitle:_(G,"Click to enter Plot subtitle"),x:_(G,"Click to enter X axis title"),y:_(G,"Click to enter Y axis title"),colorbar:_(G,"Click to enter Colorscale title"),annotation:_(G,"new text")},re._traceWord=_(G,"trace");var Ue=y(G,m);if(re._mapboxAccessToken=xe.mapboxAccessToken,X._initialAutoSizeIsDone){var Ie=X.width,Ye=X.height;w.supplyLayoutGlobalDefaults(ae,re,Ue),ae.width||(re.width=Ie),ae.height||(re.height=Ye),w.sanitizeMargins(re)}else{w.supplyLayoutGlobalDefaults(ae,re,Ue);var it=!ae.width||!ae.height,at=re.autosize,tt=xe.autosizable,ut=it&&(at||tt);ut?w.plotAutoSize(G,ae,re):it&&w.sanitizeMargins(re),!at&&it&&(ae.width=re.width,ae.height=re.height)}re._d3locale=f(Ue,re.separators),re._extraFormat=y(G,b),re._initialAutoSizeIsDone=!0,re._dataLength=ie.length,re._modules=[],re._visibleModules=[],re._basePlotModules=[];var Me=re._subplots=u(),pe=re._splomAxes={x:{},y:{}},ue=re._splomSubplots={};re._splomGridDflt={},re._scatterStackOpts={},re._firstScatter={},re._alignmentOpts={},re._colorAxes={},re._requestRangeslider={},re._traceUids=v(j,ie),w.supplyDataDefaults(ie,ee,ae,re);var Oe=Object.keys(pe.x),rt=Object.keys(pe.y);if(Oe.length>1&&rt.length>1){for(t.getComponentMethod("grid","sizeDefaults")(ae,re),Te=0;Te15&&rt.length>15&&re.shapes.length===0&&re.images.length===0,w.linkSubplots(ee,re,j,X),w.cleanPlot(ee,re,j,X);var Bt=!!(X._has&&X._has("cartesian")),qt=!!(re._has&&re._has("cartesian")),fr=Bt,ar=qt;fr&&!ar?X._bgLayer.remove():ar&&!fr&&(re._shouldCreateBgLayer=!0),X._zoomlayer&&!G._dragging&&c({_fullLayout:X}),P(ee,re),l(re,X),t.getComponentMethod("colorscale","crossTraceDefaults")(ee,re),re._preGUI||(re._preGUI={}),re._tracePreGUI||(re._tracePreGUI={});var Rr=re._tracePreGUI,gr={},br;for(br in Rr)gr[br]="old";for(Te=0;Te0){var xe=1-2*ae;j=Math.round(xe*j),ee=Math.round(xe*ee)}}var Te=w.layoutAttributes.width.min,Ue=w.layoutAttributes.height.min;j1,Ye=!J.height&&Math.abs(X.height-ee)>1;(Ye||Ie)&&(Ie&&(X.width=j),Ye&&(X.height=ee)),$._initialAutoSize||($._initialAutoSize={width:j,height:ee}),w.sanitizeMargins(X)},w.supplyLayoutModuleDefaults=function(G,$,J,X){var re=t.componentsRegistry,ae=$._basePlotModules,j,ee,ie,ce=t.subplotsRegistry.cartesian;for(j in re)ie=re[j],ie.includeBasePlot&&ie.includeBasePlot(G,$);ae.length||ae.push(ce),$._has("cartesian")&&(t.getComponentMethod("grid","contentDefaults")(G,$),ce.finalizeSubplots(G,$));for(var xe in $._subplots)$._subplots[xe].sort(n.subplotSort);for(ee=0;ee1&&(J.l/=at,J.r/=at)}if(Ue){var tt=(J.t+J.b)/Ue;tt>1&&(J.t/=tt,J.b/=tt)}var ut=J.xl!==void 0?J.xl:J.x,Me=J.xr!==void 0?J.xr:J.x,pe=J.yt!==void 0?J.yt:J.y,ue=J.yb!==void 0?J.yb:J.y;Ie[$]={l:{val:ut,size:J.l+it},r:{val:Me,size:J.r+it},b:{val:ue,size:J.b+it},t:{val:pe,size:J.t+it}},Ye[$]=1}if(!X._replotting)return w.doAutoMargin(G)}};function I(G){if("_redrawFromAutoMarginCount"in G._fullLayout)return!1;var $=s.list(G,"",!0);for(var J in $)if($[J].autoshift||$[J].shift)return!0;return!1}w.doAutoMargin=function(G){var $=G._fullLayout,J=$.width,X=$.height;$._size||($._size={}),F($);var re=$._size,ae=$.margin,j={t:0,b:0,l:0,r:0},ee=n.extendFlat({},re),ie=ae.l,ce=ae.r,xe=ae.t,Te=ae.b,Ue=$._pushmargin,Ie=$._pushmarginIds,Ye=$.minreducedwidth,it=$.minreducedheight;if(ae.autoexpand!==!1){for(var at in Ue)Ie[at]||delete Ue[at];var tt=G._fullLayout._reservedMargin;for(var ut in tt)for(var Me in tt[ut]){var pe=tt[ut][Me];j[Me]=Math.max(j[Me],pe)}Ue.base={l:{val:0,size:ie},r:{val:1,size:ce},t:{val:1,size:xe},b:{val:0,size:Te}};for(var ue in j){var Oe=0;for(var rt in Ue)rt!=="base"&&S(Ue[rt][ue].size)&&(Oe=Ue[rt][ue].size>Oe?Ue[rt][ue].size:Oe);var ot=Math.max(0,ae[ue]-Oe);j[ue]=Math.max(0,j[ue]-ot)}for(var et in Ue){var Lt=Ue[et].l||{},Et=Ue[et].b||{},Bt=Lt.val,qt=Lt.size,fr=Et.val,ar=Et.size,Rr=J-j.r-j.l,gr=X-j.t-j.b;for(var br in Ue){if(S(qt)&&Ue[br].r){var _t=Ue[br].r.val,Be=Ue[br].r.size;if(_t>Bt){var Ke=(qt*_t+(Be-Rr)*Bt)/(_t-Bt),je=(Be*(1-Bt)+(qt-Rr)*(1-_t))/(_t-Bt);Ke+je>ie+ce&&(ie=Ke,ce=je)}}if(S(ar)&&Ue[br].t){var Se=Ue[br].t.val,He=Ue[br].t.size;if(Se>fr){var Ee=(ar*Se+(He-gr)*fr)/(Se-fr),we=(He*(1-fr)+(ar-gr)*(1-Se))/(Se-fr);Ee+we>Te+xe&&(Te=Ee,xe=we)}}}}}var Le=n.constrain(J-ae.l-ae.r,B,Ye),nt=n.constrain(X-ae.t-ae.b,O,it),pt=Math.max(0,J-Le),bt=Math.max(0,X-nt);if(pt){var Rt=(ie+ce)/pt;Rt>1&&(ie/=Rt,ce/=Rt)}if(bt){var Nt=(Te+xe)/bt;Nt>1&&(Te/=Nt,xe/=Nt)}if(re.l=Math.round(ie)+j.l,re.r=Math.round(ce)+j.r,re.t=Math.round(xe)+j.t,re.b=Math.round(Te)+j.b,re.p=Math.round(ae.pad),re.w=Math.round(J)-re.l-re.r,re.h=Math.round(X)-re.t-re.b,!$._replotting&&(w.didMarginChange(ee,re)||I(G))){"_redrawFromAutoMarginCount"in $?$._redrawFromAutoMarginCount++:$._redrawFromAutoMarginCount=1;var Xt=3*(1+Object.keys(Ie).length);if($._redrawFromAutoMarginCount1)return!0}return!1},w.graphJson=function(G,$,J,X,re,ae){(re&&$&&!G._fullData||re&&!$&&!G._fullLayout)&&w.supplyDefaults(G);var j=re?G._fullData:G.data,ee=re?G._fullLayout:G.layout,ie=(G._transitionData||{})._frames;function ce(Ue,Ie){if(typeof Ue=="function")return Ie?"_function_":null;if(n.isPlainObject(Ue)){var Ye={},it;return Object.keys(Ue).sort().forEach(function(Me){if(["_","["].indexOf(Me.charAt(0))===-1){if(typeof Ue[Me]=="function"){Ie&&(Ye[Me]="_function");return}if(J==="keepdata"){if(Me.substr(Me.length-3)==="src")return}else if(J==="keepstream"){if(it=Ue[Me+"src"],typeof it=="string"&&it.indexOf(":")>0&&!n.isPlainObject(Ue.stream))return}else if(J!=="keepall"&&(it=Ue[Me+"src"],typeof it=="string"&&it.indexOf(":")>0))return;Ye[Me]=ce(Ue[Me],Ie)}}),Ye}var at=Array.isArray(Ue),tt=n.isTypedArray(Ue);if((at||tt)&&Ue.dtype&&Ue.shape){var ut=Ue.bdata;return ce({dtype:Ue.dtype,shape:Ue.shape,bdata:n.isArrayBuffer(ut)?e.encode(ut):ut},Ie)}return at?Ue.map(function(Me){return ce(Me,Ie)}):tt?n.simpleMap(Ue,n.identity):n.isJSDate(Ue)?n.ms2DateTimeLocal(+Ue):Ue}var xe={data:(j||[]).map(function(Ue){var Ie=ce(Ue);return $&&delete Ie.fit,Ie})};if(!$&&(xe.layout=ce(ee),re)){var Te=ee._size;xe.layout.computed={margin:{b:Te.b,l:Te.l,r:Te.r,t:Te.t}}}return ie&&(xe.frames=ce(ie)),ae&&(xe.config=ce(G._context,!0)),X==="object"?xe:JSON.stringify(xe)},w.modifyFrames=function(G,$){var J,X,re,ae=G._transitionData._frames,j=G._transitionData._frameHash;for(J=0;J<$.length;J++)switch(X=$[J],X.type){case"replace":re=X.value;var ee=(ae[X.index]||{}).name,ie=re.name;ae[X.index]=j[ie]=re,ie!==ee&&(delete j[ee],j[ie]=re);break;case"insert":re=X.value,j[re.name]=re,ae.splice(X.index,0,re);break;case"delete":re=ae[X.index],delete j[re.name],ae.splice(X.index,1);break}return Promise.resolve()},w.computeFrame=function(G,$){var J=G._transitionData._frameHash,X,re,ae,j;if(!$)throw new Error("computeFrame must be given a string frame name");var ee=J[$.toString()];if(!ee)return!1;for(var ie=[ee],ce=[ee.name];ee.baseframe&&(ee=J[ee.baseframe.toString()])&&ce.indexOf(ee.name)===-1;)ie.push(ee),ce.push(ee.name);for(var xe={};ee=ie.pop();)if(ee.layout&&(xe.layout=w.extendLayout(xe.layout,ee.layout)),ee.data){if(xe.data||(xe.data=[]),re=ee.traces,!re)for(re=[],X=0;X0&&(G._transitioningWithDuration=!0),G._transitionData._interruptCallbacks.push(function(){X=!0}),J.redraw&&G._transitionData._interruptCallbacks.push(function(){return t.call("redraw",G)}),G._transitionData._interruptCallbacks.push(function(){G.emit("plotly_transitioninterrupted",[])});var Ue=0,Ie=0;function Ye(){return Ue++,function(){Ie++,!X&&Ie===Ue&&ee(Te)}}J.runFn(Ye),setTimeout(Ye())})}function ee(Te){if(G._transitionData)return ae(G._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(J.redraw)return t.call("redraw",G)}).then(function(){G._transitioning=!1,G._transitioningWithDuration=!1,G.emit("plotly_transitioned",[])}).then(Te)}function ie(){if(G._transitionData)return G._transitioning=!1,re(G._transitionData._interruptCallbacks)}var ce=[w.previousPromises,ie,J.prepareFn,w.rehover,w.reselect,j],xe=n.syncOrAsync(ce,G);return(!xe||!xe.then)&&(xe=Promise.resolve()),xe.then(function(){return G})}w.doCalcdata=function(G,$){var J=s.list(G),X=G._fullData,re=G._fullLayout,ae,j,ee,ie,ce=new Array(X.length),xe=(G.calcdata||[]).slice();for(G.calcdata=ce,re._numBoxes=0,re._numViolins=0,re._violinScaleGroupStats={},G._hmpixcount=0,G._hmlumcount=0,re._piecolormap={},re._sunburstcolormap={},re._treemapcolormap={},re._iciclecolormap={},re._funnelareacolormap={},ee=0;ee=0;ie--)if(ue[ie].enabled){ae._indexToPoints=ue[ie]._indexToPoints;break}j&&j.calc&&(pe=j.calc(G,ae))}(!Array.isArray(pe)||!pe[0])&&(pe=[{x:a,y:a}]),pe[0].t||(pe[0].t={}),pe[0].trace=ae,ce[ut]=pe}}for(se(J,X,re),ee=0;eeee||Ie>ie)&&(ae.style("overflow","hidden"),Te=ae.node().getBoundingClientRect(),Ue=Te.width,Ie=Te.height);var Ye=+O.attr("x"),it=+O.attr("y"),at=G||O.node().getBoundingClientRect().height,tt=-at/4;if(le[0]==="y")j.attr({transform:"rotate("+[-90,Ye,it]+")"+x(-Ue/2,tt-Ie/2)});else if(le[0]==="l")it=tt-Ie/2;else if(le[0]==="a"&&le.indexOf("atitle")!==0)Ye=0,it=tt;else{var ut=O.attr("text-anchor");Ye=Ye-Ue*(ut==="middle"?.5:ut==="end"?1:0),it=it+tt-Ie/2}ae.attr({x:Ye,y:it}),N&&N.call(O,j),fe(j)})})):se(),O};var t=/(<|<|<)/g,r=/(>|>|>)/g;function o(O){return O.replace(t,"\\lt ").replace(r,"\\gt ")}var n=[["$","$"],["\\(","\\)"]];function i(O,I,N){var U=parseInt((MathJax.version||"").split(".")[0]);if(U!==2&&U!==3){g.warn("No MathJax version:",MathJax.version);return}var W,Q,le,se,fe=function(){return Q=g.extendDeepAll({},MathJax.Hub.config),le=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:n},displayAlign:"left"})},G=function(){Q=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=n},$=function(){if(W=MathJax.Hub.config.menuSettings.renderer,W!=="SVG")return MathJax.Hub.setRenderer("SVG")},J=function(){W=MathJax.config.startup.output,W!=="svg"&&(MathJax.config.startup.output="svg")},X=function(){var ce="math-output-"+g.randstr({},64);se=H.select("body").append("div").attr({id:ce}).style({visibility:"hidden",position:"absolute","font-size":I.fontSize+"px"}).text(o(O));var xe=se.node();return U===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},re=function(){var ce=se.select(U===2?".MathJax_SVG":".MathJax"),xe=!ce.empty()&&se.select("svg").node();if(!xe)g.log("There was an error in the tex syntax.",O),N();else{var Te=xe.getBoundingClientRect(),Ue;U===2?Ue=H.select("body").select("#MathJax_SVG_glyphs"):Ue=ce.select("defs"),N(ce,Ue,Te)}se.remove()},ae=function(){if(W!=="SVG")return MathJax.Hub.setRenderer(W)},j=function(){W!=="svg"&&(MathJax.config.startup.output=W)},ee=function(){return le!==void 0&&(MathJax.Hub.processSectionDelay=le),MathJax.Hub.Config(Q)},ie=function(){MathJax.config=Q};U===2?MathJax.Hub.Queue(fe,$,X,re,ae,ee):U===3&&(G(),J(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){X(),re(),j(),ie()}))}var a={sup:"font-size:70%",sub:"font-size:70%",s:"text-decoration:line-through",u:"text-decoration:underline",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="\u200B",p=["http:","https:","mailto:","",void 0,":"],d=Z.NEWLINES=/(\r\n?|\n)/g,T=/(<[^<>]*>)/,l=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;Z.BR_TAG_ALL=//gi;var w=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,M=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,E=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,m=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function b(O,I){if(!O)return null;var N=O.match(I),U=N&&(N[3]||N[4]);return U&&f(U)}var v=/(^|;)\s*color:/;Z.plainText=function(O,I){I=I||{};for(var N=I.len!==void 0&&I.len!==-1?I.len:1/0,U=I.allowedTags!==void 0?I.allowedTags:["br"],W="...",Q=W.length,le=O.split(T),se=[],fe="",G=0,$=0;$Q?se.push(J.substr(0,j-Q)+W):se.push(J.substr(0,j));break}fe=""}}return se.join("")};var u={mu:"\u03BC",amp:"&",lt:"<",gt:">",nbsp:"\xA0",times:"\xD7",plusmn:"\xB1",deg:"\xB0"},y=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function f(O){return O.replace(y,function(I,N){var U;return N.charAt(0)==="#"?U=P(N.charAt(1)==="x"?parseInt(N.substr(2),16):parseInt(N.substr(1),10)):U=u[N],U||I})}Z.convertEntities=f;function P(O){if(!(O>1114111)){var I=String.fromCodePoint;if(I)return I(O);var N=String.fromCharCode;return O<=65535?N(O):N((O>>10)+55232,O%1024+56320)}}function L(O,I){I=I.replace(d," ");var N=!1,U=[],W,Q=-1;function le(){Q++;var Ie=document.createElementNS(A.svg,"tspan");H.select(Ie).attr({class:"line",dy:Q*S+"em"}),O.appendChild(Ie),W=Ie;var Ye=U;if(U=[{node:Ie}],Ye.length>1)for(var it=1;it.",I);return}var Ye=U.pop();Ie!==Ye.type&&g.log("Start tag <"+Ye.type+"> doesnt match end tag <"+Ie+">. Pretending it did match.",I),W=U[U.length-1].node}var $=_.test(I);$?le():(W=O,U=[{node:O}]);for(var J=I.split(T),X=0;X=0;_--,w++){var M=d[_];l[w]=[1-M[0],M[1]]}return l}function c(d,T){T=T||{};for(var l=d.domain,_=d.range,w=_.length,M=new Array(w),E=0;Ed-h?h=d-(p-d):p-d=0?_=o.colorscale.sequential:_=o.colorscale.sequentialminus,s._sync("colorscale",_)}}}}),ku=ke({"src/components/colorscale/index.js"(Z,H){"use strict";var g=Cm(),x=ad();H.exports={moduleType:"component",name:"colorscale",attributes:ou(),layoutAttributes:Ww(),supplyLayoutDefaults:HE(),handleDefaults:Kf(),crossTraceDefaults:GE(),calc:od(),scales:g.scales,defaultScale:g.defaultScale,getScale:g.get,isValidScale:g.isValid,hasColorscale:x.hasColorscale,extractOpts:x.extractOpts,extractScale:x.extractScale,flipScale:x.flipScale,makeColorScaleFunc:x.makeColorScaleFunc,makeColorScaleFuncFromTrace:x.makeColorScaleFuncFromTrace}}}),vu=ke({"src/traces/scatter/subtypes.js"(Z,H){"use strict";var g=un(),x=Oa().isTypedArraySpec;H.exports={hasLines:function(A){return A.visible&&A.mode&&A.mode.indexOf("lines")!==-1},hasMarkers:function(A){return A.visible&&(A.mode&&A.mode.indexOf("markers")!==-1||A.type==="splom")},hasText:function(A){return A.visible&&A.mode&&A.mode.indexOf("text")!==-1},isBubble:function(A){var S=A.marker;return g.isPlainObject(S)&&(g.isArrayOrTypedArray(S.size)||x(S.size))}}}}),Hg=ke({"src/traces/scatter/make_bubble_size_func.js"(Z,H){"use strict";var g=Yn();H.exports=function(A,S){S||(S=2);var e=A.marker,t=e.sizeref||1,r=e.sizemin||0,o=e.sizemode==="area"?function(n){return Math.sqrt(n/t)}:function(n){return n/t};return function(n){var i=o(n/S);return g(i)&&i>0?Math.max(i,r):0}}}}),gd=ke({"src/components/fx/helpers.js"(Z){"use strict";var H=un();Z.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},Z.isTraceInSubplots=function(t,r){if(t.type==="splom"){for(var o=t.xaxes||[],n=t.yaxes||[],i=0;i=0&&o.index2&&(r.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==g[a])return i.unshift(n),r.push(i);if(i.length0&&(pe=100,Me=Me.replace("-open","")),Me.indexOf("-dot")>0&&(pe+=200,Me=Me.replace("-dot","")),Me=l.symbolNames.indexOf(Me),Me>=0&&(Me+=pe)}return Me%100>=v||Me>=400?0:Math.floor(Math.max(Me,0))};function y(Me,pe,ue,Oe){var rt=Me%100;return l.symbolFuncs[rt](pe,ue,Oe)+(Me>=200?u:"")}var f=A("~f"),P={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};l.gradient=function(Me,pe,ue,Oe,rt,ot){var et=P[Oe];return L(Me,pe,ue,et.type,rt,ot,et.start,et.stop,!1,et.reversed)};function L(Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt){var qt=rt.length,fr;Oe==="linear"?fr={node:"linearGradient",attrs:{x1:et.x,y1:et.y,x2:Lt.x,y2:Lt.y,gradientUnits:Et?"userSpaceOnUse":"objectBoundingBox"},reversed:Bt}:Oe==="radial"&&(fr={node:"radialGradient",reversed:Bt});for(var ar=new Array(qt),Rr=0;Rr=0&&Me.i===void 0&&(Me.i=ot.i),pe.style("opacity",Oe.selectedOpacityFn?Oe.selectedOpacityFn(Me):Me.mo===void 0?et.opacity:Me.mo),Oe.ms2mrc){var Et;Me.ms==="various"||et.size==="various"?Et=3:Et=Oe.ms2mrc(Me.ms),Me.mrc=Et,Oe.selectedSizeFn&&(Et=Me.mrc=Oe.selectedSizeFn(Me));var Bt=l.symbolNumber(Me.mx||et.symbol)||0;Me.om=Bt%200>=100;var qt=ut(Me,ue),fr=ee(Me,ue);pe.attr("d",y(Bt,Et,qt,fr))}var ar=!1,Rr,gr,br;if(Me.so)br=Lt.outlierwidth,gr=Lt.outliercolor,Rr=et.outliercolor;else{var _t=(Lt||{}).width;br=(Me.mlw+1||_t+1||(Me.trace?(Me.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Me?gr=Me.mlcc=Oe.lineScale(Me.mlc):x.isArrayOrTypedArray(Lt.color)?gr=r.defaultLine:gr=Lt.color,x.isArrayOrTypedArray(et.color)&&(Rr=r.defaultLine,ar=!0),"mc"in Me?Rr=Me.mcc=Oe.markerScale(Me.mc):Rr=et.color||et.colors||"rgba(0,0,0,0)",Oe.selectedColorFn&&(Rr=Oe.selectedColorFn(Me))}if(Me.om)pe.call(r.stroke,Rr).style({"stroke-width":(br||1)+"px",fill:"none"});else{pe.style("stroke-width",(Me.isBlank?0:br)+"px");var Be=et.gradient,Ke=Me.mgt;Ke?ar=!0:Ke=Be&&Be.type,x.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],P[Ke]||(Ke=0));var je=et.pattern,Se=je&&l.getPatternAttr(je.shape,Me.i,"");if(Ke&&Ke!=="none"){var He=Me.mgc;He?ar=!0:He=Be.color;var Ee=ue.uid;ar&&(Ee+="-"+Me.i),l.gradient(pe,rt,Ee,Ke,[[0,He],[1,Rr]],"fill")}else if(Se){var we=!1,Le=je.fgcolor;!Le&&ot&&ot.color&&(Le=ot.color,we=!0);var nt=l.getPatternAttr(Le,Me.i,ot&&ot.color||null),pt=l.getPatternAttr(je.bgcolor,Me.i,null),bt=je.fgopacity,Rt=l.getPatternAttr(je.size,Me.i,8),Nt=l.getPatternAttr(je.solidity,Me.i,.3);we=we||Me.mcc||x.isArrayOrTypedArray(je.shape)||x.isArrayOrTypedArray(je.bgcolor)||x.isArrayOrTypedArray(je.fgcolor)||x.isArrayOrTypedArray(je.size)||x.isArrayOrTypedArray(je.solidity);var Xt=ue.uid;we&&(Xt+="-"+Me.i),l.pattern(pe,"point",rt,Xt,Se,Rt,Nt,Me.mcc,je.fillmode,pt,nt,bt)}else x.isArrayOrTypedArray(Rr)?r.fill(pe,Rr[Me.i]):r.fill(pe,Rr);br&&r.stroke(pe,gr)}},l.makePointStyleFns=function(Me){var pe={},ue=Me.marker;return pe.markerScale=l.tryColorscale(ue,""),pe.lineScale=l.tryColorscale(ue,"line"),t.traceIs(Me,"symbols")&&(pe.ms2mrc=p.isBubble(Me)?d(Me):function(){return(ue.size||6)/2}),Me.selectedpoints&&x.extendFlat(pe,l.makeSelectedPointStyleFns(Me)),pe},l.makeSelectedPointStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.marker||{},ot=ue.marker||{},et=Oe.marker||{},Lt=rt.opacity,Et=ot.opacity,Bt=et.opacity,qt=Et!==void 0,fr=Bt!==void 0;(x.isArrayOrTypedArray(Lt)||qt||fr)&&(pe.selectedOpacityFn=function(Se){var He=Se.mo===void 0?rt.opacity:Se.mo;return Se.selected?qt?Et:He:fr?Bt:h*He});var ar=rt.color,Rr=ot.color,gr=et.color;(Rr||gr)&&(pe.selectedColorFn=function(Se){var He=Se.mcc||ar;return Se.selected?Rr||He:gr||He});var br=rt.size,_t=ot.size,Be=et.size,Ke=_t!==void 0,je=Be!==void 0;return t.traceIs(Me,"symbols")&&(Ke||je)&&(pe.selectedSizeFn=function(Se){var He=Se.mrc||br/2;return Se.selected?Ke?_t/2:He:je?Be/2:He}),pe},l.makeSelectedTextStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.textfont||{},ot=ue.textfont||{},et=Oe.textfont||{},Lt=rt.color,Et=ot.color,Bt=et.color;return pe.selectedTextColorFn=function(qt){var fr=qt.tc||Lt;return qt.selected?Et||fr:Bt||(Et?fr:r.addOpacity(fr,h))},pe},l.selectedPointStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedPointStyleFns(pe),Oe=pe.marker||{},rt=[];ue.selectedOpacityFn&&rt.push(function(ot,et){ot.style("opacity",ue.selectedOpacityFn(et))}),ue.selectedColorFn&&rt.push(function(ot,et){r.fill(ot,ue.selectedColorFn(et))}),ue.selectedSizeFn&&rt.push(function(ot,et){var Lt=et.mx||Oe.symbol||0,Et=ue.selectedSizeFn(et);ot.attr("d",y(l.symbolNumber(Lt),Et,ut(et,pe),ee(et,pe))),et.mrc2=Et}),rt.length&&Me.each(function(ot){for(var et=g.select(this),Lt=0;Lt0?ue:0}l.textPointStyle=function(Me,pe,ue){if(Me.size()){var Oe;if(pe.selectedpoints){var rt=l.makeSelectedTextStyleFns(pe);Oe=rt.selectedTextColorFn}var ot=pe.texttemplate,et=ue._fullLayout;Me.each(function(Lt){var Et=g.select(this),Bt=ot?x.extractOption(Lt,pe,"txt","texttemplate"):x.extractOption(Lt,pe,"tx","text");if(!Bt&&Bt!==0){Et.remove();return}if(ot){var qt=pe._module.formatLabels,fr=qt?qt(Lt,pe,et):{},ar={};T(ar,pe,Lt.i);var Rr=pe._meta||{};Bt=x.texttemplateString(Bt,fr,et._d3locale,ar,Lt,Rr)}var gr=Lt.tp||pe.textposition,br=B(Lt,pe),_t=Oe?Oe(Lt):Lt.tc||pe.textfont.color;Et.call(l.font,{family:Lt.tf||pe.textfont.family,weight:Lt.tw||pe.textfont.weight,style:Lt.ty||pe.textfont.style,variant:Lt.tv||pe.textfont.variant,textcase:Lt.tC||pe.textfont.textcase,lineposition:Lt.tE||pe.textfont.lineposition,shadow:Lt.tS||pe.textfont.shadow,size:br,color:_t}).text(Bt).call(i.convertToTspans,ue).call(F,gr,br,Lt.mrc)})}},l.selectedTextStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedTextStyleFns(pe);Me.each(function(Oe){var rt=g.select(this),ot=ue.selectedTextColorFn(Oe),et=Oe.tp||pe.textposition,Lt=B(Oe,pe);r.fill(rt,ot);var Et=t.traceIs(pe,"bar-like");F(rt,et,Lt,Oe.mrc2||Oe.mrc,Et)})}};var O=.5;l.smoothopen=function(Me,pe){if(Me.length<3)return"M"+Me.join("L");var ue="M"+Me[0],Oe=[],rt;for(rt=1;rt=Et||Se>=qt&&Se<=Et)&&(He<=fr&&He>=Bt||He>=fr&&He<=Bt)&&(Me=[Se,He])}return Me}l.applyBackoff=G,l.makeTester=function(){var Me=x.ensureSingleById(g.select("body"),"svg","js-plotly-tester",function(ue){ue.attr(a.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),pe=x.ensureSingle(Me,"path","js-reference-point",function(ue){ue.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});l.tester=Me,l.testref=pe},l.savedBBoxes={};var $=0,J=1e4;l.bBox=function(Me,pe,ue){ue||(ue=X(Me));var Oe;if(ue){if(Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}else if(Me.childNodes.length===1){var rt=Me.childNodes[0];if(ue=X(rt),ue){var ot=+rt.getAttribute("x")||0,et=+rt.getAttribute("y")||0,Lt=rt.getAttribute("transform");if(!Lt){var Et=l.bBox(rt,!1,ue);return ot&&(Et.left+=ot,Et.right+=ot),et&&(Et.top+=et,Et.bottom+=et),Et}if(ue+="~"+ot+"~"+et+"~"+Lt,Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}}var Bt,qt;pe?Bt=Me:(qt=l.tester.node(),Bt=Me.cloneNode(!0),qt.appendChild(Bt)),g.select(Bt).attr("transform",null).call(i.positionText,0,0);var fr=Bt.getBoundingClientRect(),ar=l.testref.node().getBoundingClientRect();pe||qt.removeChild(Bt);var Rr={height:fr.height,width:fr.width,left:fr.left-ar.left,top:fr.top-ar.top,right:fr.right-ar.left,bottom:fr.bottom-ar.top};return $>=J&&(l.savedBBoxes={},$=0),ue&&(l.savedBBoxes[ue]=Rr),$++,x.extendFlat({},Rr)};function X(Me){var pe=Me.getAttribute("data-unformatted");if(pe!==null)return pe+Me.getAttribute("data-math")+Me.getAttribute("text-anchor")+Me.getAttribute("style")}l.setClipUrl=function(Me,pe,ue){Me.attr("clip-path",re(pe,ue))};function re(Me,pe){if(!Me)return null;var ue=pe._context,Oe=ue._exportedPlot?"":ue._baseUrl||"";return Oe?"url('"+Oe+"#"+Me+"')":"url(#"+Me+")"}l.getTranslate=function(Me){var pe=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,ue=Me.attr?"attr":"getAttribute",Oe=Me[ue]("transform")||"",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(" ")}).split(" ");return{x:+rt[0]||0,y:+rt[1]||0}},l.setTranslate=function(Me,pe,ue){var Oe=/(\btranslate\(.*?\);?)/,rt=Me.attr?"attr":"getAttribute",ot=Me.attr?"attr":"setAttribute",et=Me[rt]("transform")||"";return pe=pe||0,ue=ue||0,et=et.replace(Oe,"").trim(),et+=n(pe,ue),et=et.trim(),Me[ot]("transform",et),et},l.getScale=function(Me){var pe=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,ue=Me.attr?"attr":"getAttribute",Oe=Me[ue]("transform")||"",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(" ")}).split(" ");return{x:+rt[0]||1,y:+rt[1]||1}},l.setScale=function(Me,pe,ue){var Oe=/(\bscale\(.*?\);?)/,rt=Me.attr?"attr":"getAttribute",ot=Me.attr?"attr":"setAttribute",et=Me[rt]("transform")||"";return pe=pe||1,ue=ue||1,et=et.replace(Oe,"").trim(),et+="scale("+pe+","+ue+")",et=et.trim(),Me[ot]("transform",et),et};var ae=/\s*sc.*/;l.setPointGroupScale=function(Me,pe,ue){if(pe=pe||1,ue=ue||1,!!Me){var Oe=pe===1&&ue===1?"":"scale("+pe+","+ue+")";Me.each(function(){var rt=(this.getAttribute("transform")||"").replace(ae,"");rt+=Oe,rt=rt.trim(),this.setAttribute("transform",rt)})}};var j=/translate\([^)]*\)\s*$/;l.setTextPointsScale=function(Me,pe,ue){Me&&Me.each(function(){var Oe,rt=g.select(this),ot=rt.select("text");if(ot.node()){var et=parseFloat(ot.attr("x")||0),Lt=parseFloat(ot.attr("y")||0),Et=(rt.attr("transform")||"").match(j);pe===1&&ue===1?Oe=[]:Oe=[n(et,Lt),"scale("+pe+","+ue+")",n(-et,-Lt)],Et&&Oe.push(Et),rt.attr("transform",Oe.join(""))}})};function ee(Me,pe){var ue;return Me&&(ue=Me.mf),ue===void 0&&(ue=pe.marker&&pe.marker.standoff||0),!pe._geo&&!pe._xA?-ue:ue}l.getMarkerStandoff=ee;var ie=Math.atan2,ce=Math.cos,xe=Math.sin;function Te(Me,pe){var ue=pe[0],Oe=pe[1];return[ue*ce(Me)-Oe*xe(Me),ue*xe(Me)+Oe*ce(Me)]}var Ue,Ie,Ye,it,at,tt;function ut(Me,pe){var ue=Me.ma;ue===void 0&&(ue=pe.marker.angle,(!ue||x.isArrayOrTypedArray(ue))&&(ue=0));var Oe,rt,ot=pe.marker.angleref;if(ot==="previous"||ot==="north"){if(pe._geo){var et=pe._geo.project(Me.lonlat);Oe=et[0],rt=et[1]}else{var Lt=pe._xA,Et=pe._yA;if(Lt&&Et)Oe=Lt.c2p(Me.x),rt=Et.c2p(Me.y);else return 90}if(pe._geo){var Bt=Me.lonlat[0],qt=Me.lonlat[1],fr=pe._geo.project([Bt,qt+1e-5]),ar=pe._geo.project([Bt+1e-5,qt]),Rr=ie(ar[1]-rt,ar[0]-Oe),gr=ie(fr[1]-rt,fr[0]-Oe),br;if(ot==="north")br=ue/180*Math.PI;else if(ot==="previous"){var _t=Bt/180*Math.PI,Be=qt/180*Math.PI,Ke=Ue/180*Math.PI,je=Ie/180*Math.PI,Se=Ke-_t,He=ce(je)*xe(Se),Ee=xe(je)*ce(Be)-ce(je)*xe(Be)*ce(Se);br=-ie(He,Ee)-Math.PI,Ue=Bt,Ie=qt}var we=Te(Rr,[ce(br),0]),Le=Te(gr,[xe(br),0]);ue=ie(we[1]+Le[1],we[0]+Le[0])/Math.PI*180,ot==="previous"&&!(tt===pe.uid&&Me.i===at+1)&&(ue=null)}if(ot==="previous"&&!pe._geo)if(tt===pe.uid&&Me.i===at+1&&S(Oe)&&S(rt)){var nt=Oe-Ye,pt=rt-it,bt=pe.line&&pe.line.shape||"",Rt=bt.slice(bt.length-1);Rt==="h"&&(pt=0),Rt==="v"&&(nt=0),ue+=ie(pt,nt)/Math.PI*180+90}else ue=null}return Ye=Oe,it=rt,at=Me.i,tt=pe.uid,ue}l.getMarkerAngle=ut}}),Im=ke({"src/components/titles/index.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=$o(),o=eo(),n=Wl(),i=Lp(),a=Yf().OPPOSITE_SIDE,s=/ [XY][0-9]* /,c=1.6,h=1.6;function p(d,T,l){var _=d._fullLayout,w=l.propContainer,M=l.propName,E=l.placeholder,m=l.traceIndex,b=l.avoid||{},v=l.attributes,u=l.transform,y=l.containerGroup,f=1,P=w.title,L=(P&&P.text?P.text:"").trim(),z=!1,F=P&&P.font?P.font:{},B=F.family,O=F.size,I=F.color,N=F.weight,U=F.style,W=F.variant,Q=F.textcase,le=F.lineposition,se=F.shadow,fe=l.subtitlePropName,G=!!fe,$=l.subtitlePlaceholder,J=(w.title||{}).subtitle||{text:"",font:{}},X=J.text.trim(),re=!1,ae=1,j=J.font,ee=j.family,ie=j.size,ce=j.color,xe=j.weight,Te=j.style,Ue=j.variant,Ie=j.textcase,Ye=j.lineposition,it=j.shadow,at;M==="title.text"?at="titleText":M.indexOf("axis")!==-1?at="axisTitleText":M.indexOf("colorbar"!==-1)&&(at="colorbarTitleText");var tt=d._context.edits[at];function ut(ar,Rr){return ar===void 0||Rr===void 0?!1:ar.replace(s," % ")===Rr.replace(s," % ")}L===""?f=0:ut(L,E)&&(tt||(L=""),f=.2,z=!0),G&&(X===""?ae=0:ut(X,$)&&(tt||(X=""),ae=.2,re=!0)),l._meta?L=e.templateString(L,l._meta):_._meta&&(L=e.templateString(L,_._meta));var Me=L||X||tt,pe;y||(y=e.ensureSingle(_._infolayer,"g","g-"+T),pe=_._hColorbarMoveTitle);var ue=y.selectAll("text."+T).data(Me?[0]:[]);ue.enter().append("text"),ue.text(L).attr("class",T),ue.exit().remove();var Oe=null,rt=T+"-subtitle",ot=X||tt;if(G&&ot&&(Oe=y.selectAll("text."+rt).data(ot?[0]:[]),Oe.enter().append("text"),Oe.text(X).attr("class",rt),Oe.exit().remove()),!Me)return y;function et(ar,Rr){e.syncOrAsync([Lt,Et],{title:ar,subtitle:Rr})}function Lt(ar){var Rr=ar.title,gr=ar.subtitle,br;!u&&pe&&(u={}),u?(br="",u.rotate&&(br+="rotate("+[u.rotate,v.x,v.y]+")"),(u.offset||pe)&&(br+=t(0,(u.offset||0)-(pe||0)))):br=null,Rr.attr("transform",br);function _t(Ee){if(Ee){var we=g.select(Ee.node().parentNode).select("."+rt);if(!we.empty()){var Le=Ee.node().getBBox();if(Le.height){var nt=Le.y+Le.height+c*ie;we.attr("y",nt)}}}}if(Rr.style("opacity",f*o.opacity(I)).call(r.font,{color:o.rgb(I),size:g.round(O,2),family:B,weight:N,style:U,variant:W,textcase:Q,shadow:se,lineposition:le}).attr(v).call(n.convertToTspans,d,_t),gr){var Be=y.select("."+T+"-math-group"),Ke=Rr.node().getBBox(),je=Be.node()?Be.node().getBBox():void 0,Se=je?je.y+je.height+c*ie:Ke.y+Ke.height+h*ie,He=e.extendFlat({},v,{y:Se});gr.attr("transform",br),gr.style("opacity",ae*o.opacity(ce)).call(r.font,{color:o.rgb(ce),size:g.round(ie,2),family:ee,weight:xe,style:Te,variant:Ue,textcase:Ie,shadow:it,lineposition:Ye}).attr(He).call(n.convertToTspans,d)}return A.previousPromises(d)}function Et(ar){var Rr=ar.title,gr=g.select(Rr.node().parentNode);if(b&&b.selection&&b.side&&L){gr.attr("transform",null);var br=a[b.side],_t=b.side==="left"||b.side==="top"?-1:1,Be=x(b.pad)?b.pad:2,Ke=r.bBox(gr.node()),je={t:0,b:0,l:0,r:0},Se=d._fullLayout._reservedMargin;for(var He in Se)for(var Ee in Se[He]){var we=Se[He][Ee];je[Ee]=Math.max(je[Ee],we)}var Le={left:je.l,top:je.t,right:_.width-je.r,bottom:_.height-je.b},nt=b.maxShift||_t*(Le[b.side]-Ke[b.side]),pt=0;if(nt<0)pt=nt;else{var bt=b.offsetLeft||0,Rt=b.offsetTop||0;Ke.left-=bt,Ke.right-=bt,Ke.top-=Rt,Ke.bottom-=Rt,b.selection.each(function(){var Xt=r.bBox(this);e.bBoxIntersect(Ke,Xt,Be)&&(pt=Math.max(pt,_t*(Xt[b.side]-Ke[br])+Be))}),pt=Math.min(nt,pt),w._titleScoot=Math.abs(pt)}if(pt>0||nt<0){var Nt={left:[-pt,0],right:[pt,0],top:[0,-pt],bottom:[0,pt]}[b.side];gr.attr("transform",t(Nt[0],Nt[1]))}}}ue.call(et,Oe);function Bt(ar,Rr){ar.text(Rr).on("mouseover.opacity",function(){g.select(this).transition().duration(i.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){g.select(this).transition().duration(i.HIDE_PLACEHOLDER).style("opacity",0)})}if(tt&&(L?ue.on(".opacity",null):(Bt(ue,E),z=!0),ue.call(n.makeEditable,{gd:d}).on("edit",function(ar){m!==void 0?S.call("_guiRestyle",d,M,ar,m):S.call("_guiRelayout",d,M,ar)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(et)}).on("input",function(ar){this.text(ar||" ").call(n.positionText,v.x,v.y)}),G)){if(G&&!L){var qt=ue.node().getBBox(),fr=qt.y+qt.height+h*ie;Oe.attr("y",fr)}X?Oe.on(".opacity",null):(Bt(Oe,$),re=!0),Oe.call(n.makeEditable,{gd:d}).on("edit",function(ar){S.call("_guiRelayout",d,"title.subtitle.text",ar)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(et)}).on("input",function(ar){this.text(ar||" ").call(n.positionText,Oe.attr("x"),Oe.attr("y"))})}return ue.classed("js-placeholder",z),Oe&&Oe.classed("js-placeholder",re),y}H.exports={draw:p,SUBTITLE_PADDING_EM:h,SUBTITLE_PADDING_MATHJAX_EM:c}}}),Cv=ke({"src/plots/cartesian/set_convert.js"(Z,H){"use strict";var g=_i(),x=Ki().utcFormat,A=un(),S=A.numberFormat,e=Yn(),t=A.cleanNumber,r=A.ms2DateTime,o=A.dateTime2ms,n=A.ensureNumber,i=A.isArrayOrTypedArray,a=Hi(),s=a.FP_SAFE,c=a.BADNUM,h=a.LOG_CLIP,p=a.ONEWEEK,d=a.ONEDAY,T=a.ONEHOUR,l=a.ONEMIN,_=a.ONESEC,w=qc(),M=oh(),E=M.HOUR_PATTERN,m=M.WEEKDAY_PATTERN;function b(u){return Math.pow(10,u)}function v(u){return u!=null}H.exports=function(y,f){f=f||{};var P=y._id||"x",L=P.charAt(0);function z(X,re){if(X>0)return Math.log(X)/Math.LN10;if(X<=0&&re&&y.range&&y.range.length===2){var ae=y.range[0],j=y.range[1];return .5*(ae+j-2*h*Math.abs(ae-j))}else return c}function F(X,re,ae,j){if((j||{}).msUTC&&e(X))return+X;var ee=o(X,ae||y.calendar);if(ee===c)if(e(X)){X=+X;var ie=Math.floor(A.mod(X+.05,1)*10),ce=Math.round(X-ie/10);ee=o(new Date(ce))+ie/10}else return c;return ee}function B(X,re,ae){return r(X,re,ae||y.calendar)}function O(X){return y._categories[Math.round(X)]}function I(X){if(v(X)){if(y._categoriesMap===void 0&&(y._categoriesMap={}),y._categoriesMap[X]!==void 0)return y._categoriesMap[X];y._categories.push(typeof X=="number"?String(X):X);var re=y._categories.length-1;return y._categoriesMap[X]=re,re}return c}function N(X,re){for(var ae=new Array(re),j=0;jy.range[1]&&(ae=!ae);for(var j=ae?-1:1,ee=j*X,ie=0,ce=0;ceTe)ie=ce+1;else{ie=ee<(xe+Te)/2?ce:ce+1;break}}var Ue=y._B[ie]||0;return isFinite(Ue)?le(X,y._m2,Ue):0},G=function(X){var re=y._rangebreaks.length;if(!re)return se(X,y._m,y._b);for(var ae=0,j=0;jy._rangebreaks[j].pmax&&(ae=j+1);return se(X,y._m2,y._B[ae])}}y.c2l=y.type==="log"?z:n,y.l2c=y.type==="log"?b:n,y.l2p=fe,y.p2l=G,y.c2p=y.type==="log"?function(X,re){return fe(z(X,re))}:fe,y.p2c=y.type==="log"?function(X){return b(G(X))}:G,["linear","-"].indexOf(y.type)!==-1?(y.d2r=y.r2d=y.d2c=y.r2c=y.d2l=y.r2l=t,y.c2d=y.c2r=y.l2d=y.l2r=n,y.d2p=y.r2p=function(X){return y.l2p(t(X))},y.p2d=y.p2r=G,y.cleanPos=n):y.type==="log"?(y.d2r=y.d2l=function(X,re){return z(t(X),re)},y.r2d=y.r2c=function(X){return b(t(X))},y.d2c=y.r2l=t,y.c2d=y.l2r=n,y.c2r=z,y.l2d=b,y.d2p=function(X,re){return y.l2p(y.d2r(X,re))},y.p2d=function(X){return b(G(X))},y.r2p=function(X){return y.l2p(t(X))},y.p2r=G,y.cleanPos=n):y.type==="date"?(y.d2r=y.r2d=A.identity,y.d2c=y.r2c=y.d2l=y.r2l=F,y.c2d=y.c2r=y.l2d=y.l2r=B,y.d2p=y.r2p=function(X,re,ae){return y.l2p(F(X,0,ae))},y.p2d=y.p2r=function(X,re,ae){return B(G(X),re,ae)},y.cleanPos=function(X){return A.cleanDate(X,c,y.calendar)}):y.type==="category"?(y.d2c=y.d2l=I,y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=Q(X);return re!==void 0?re:y.fraction2r(.5)},y.l2r=y.c2r=n,y.r2l=Q,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return typeof X=="string"&&X!==""?X:n(X)}):y.type==="multicategory"&&(y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=W(X);return re!==void 0?re:y.fraction2r(.5)},y.r2c_just_indices=U,y.l2r=y.c2r=n,y.r2l=W,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return Array.isArray(X)||typeof X=="string"&&X!==""?X:n(X)},y.setupMultiCategory=function(X){var re=y._traceIndices,ae,j,ee=y._matchGroup;if(ee&&y._categories.length===0){for(var ie in ee)if(ie!==P){var ce=f[w.id2name(ie)];re=re.concat(ce._traceIndices)}}var xe=[[0,{}],[0,{}]],Te=[];for(ae=0;aece[1]&&(j[ie?0:1]=ae),j[0]===j[1]){var xe=y.l2r(re),Te=y.l2r(ae);if(re!==void 0){var Ue=xe+1;ae!==void 0&&(Ue=Math.min(Ue,Te)),j[ie?1:0]=Ue}if(ae!==void 0){var Ie=Te+1;re!==void 0&&(Ie=Math.max(Ie,xe)),j[ie?0:1]=Ie}}}},y.cleanRange=function(X,re){y._cleanRange(X,re),y.limitRange(X)},y._cleanRange=function(X,re){re||(re={}),X||(X="range");var ae=A.nestedProperty(y,X).get(),j,ee;if(y.type==="date"?ee=A.dfltRange(y.calendar):L==="y"?ee=M.DFLTRANGEY:y._name==="realaxis"?ee=[0,1]:ee=re.dfltRange||M.DFLTRANGEX,ee=ee.slice(),(y.rangemode==="tozero"||y.rangemode==="nonnegative")&&(ee[0]=0),!ae||ae.length!==2){A.nestedProperty(y,X).set(ee);return}var ie=ae[0]===null,ce=ae[1]===null;for(y.type==="date"&&!y.autorange&&(ae[0]=A.cleanDate(ae[0],c,y.calendar),ae[1]=A.cleanDate(ae[1],c,y.calendar)),j=0;j<2;j++)if(y.type==="date"){if(!A.isDateTime(ae[j],y.calendar)){y[X]=ee;break}if(y.r2l(ae[0])===y.r2l(ae[1])){var xe=A.constrain(y.r2l(ae[0]),A.MIN_MS+1e3,A.MAX_MS-1e3);ae[0]=y.l2r(xe-1e3),ae[1]=y.l2r(xe+1e3);break}}else{if(!e(ae[j]))if(!(ie||ce)&&e(ae[1-j]))ae[j]=ae[1-j]*(j?10:.1);else{y[X]=ee;break}if(ae[j]<-s?ae[j]=-s:ae[j]>s&&(ae[j]=s),ae[0]===ae[1]){var Te=Math.max(1,Math.abs(ae[0]*1e-6));ae[0]-=Te,ae[1]+=Te}}},y.setScale=function(X){var re=f._size;if(y.overlaying){var ae=w.getFromId({_fullLayout:f},y.overlaying);y.domain=ae.domain}var j=X&&y._r?"_r":"range",ee=y.calendar;y.cleanRange(j);var ie=y.r2l(y[j][0],ee),ce=y.r2l(y[j][1],ee),xe=L==="y";if(xe?(y._offset=re.t+(1-y.domain[1])*re.h,y._length=re.h*(y.domain[1]-y.domain[0]),y._m=y._length/(ie-ce),y._b=-y._m*ce):(y._offset=re.l+y.domain[0]*re.w,y._length=re.w*(y.domain[1]-y.domain[0]),y._m=y._length/(ce-ie),y._b=-y._m*ie),y._rangebreaks=[],y._lBreaks=0,y._m2=0,y._B=[],y.rangebreaks){var Te,Ue;if(y._rangebreaks=y.locateBreaks(Math.min(ie,ce),Math.max(ie,ce)),y._rangebreaks.length){for(Te=0;Tece&&(Ie=!Ie),Ie&&y._rangebreaks.reverse();var Ye=Ie?-1:1;for(y._m2=Ye*y._length/(Math.abs(ce-ie)-y._lBreaks),y._B.push(-y._m2*(xe?ce:ie)),Te=0;Teee&&(ee+=7,ieee&&(ee+=24,ie=j&&ie=j&&X=et.min&&(ueet.max&&(et.max=Oe),rt=!1)}rt&&ce.push({min:ue,max:Oe})}};for(ae=0;ae_*2}function a(h){return Math.max(1,(h-1)/1e3)}function s(h,p){for(var d=h.length,T=a(d),l=0,_=0,w={},M=0;Ml*2}function c(h){return S(h[0])&&S(h[1])}}}),lv=ke({"src/plots/cartesian/autorange.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=un(),S=Hi().FP_SAFE,e=lo(),t=$o(),r=qc(),o=r.getFromId,n=r.isLinked;H.exports={applyAutorangeOptions:y,getAutoRange:i,makePadFn:s,doAutoRange:d,findExtremes:T,concatExtremes:p};function i(f,P){var L,z,F=[],B=f._fullLayout,O=s(B,P,0),I=s(B,P,1),N=p(f,P),U=N.min,W=N.max;if(U.length===0||W.length===0)return A.simpleMap(P.range,P.r2l);var Q=U[0].val,le=W[0].val;for(L=1;L0&&(Te=re-O(ee)-I(ie),Te>ae?Ue/Te>j&&(ce=ee,xe=ie,j=Ue/Te):Ue/re>j&&(ce={val:ee.val,nopad:1},xe={val:ie.val,nopad:1},j=Ue/re));function Ie(ut,Me){return Math.max(ut,I(Me))}if(Q===le){var Ye=Q-1,it=Q+1;if(J)if(Q===0)F=[0,1];else{var at=(Q>0?W:U).reduce(Ie,0),tt=Q/(1-Math.min(.5,at/re));F=Q>0?[0,tt]:[tt,0]}else X?F=[Math.max(0,Ye),Math.max(1,it)]:F=[Ye,it]}else J?(ce.val>=0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:0,nopad:1})):X&&(ce.val-j*O(ce)<0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:1,nopad:1})),j=(xe.val-ce.val-a(P,ee.val,ie.val))/(re-O(ce)-I(xe)),F=[ce.val-j*O(ce),xe.val+j*I(xe)];return F=y(F,P),P.limitRange&&P.limitRange(),fe&&F.reverse(),A.simpleMap(F,P.l2r||Number)}function a(f,P,L){var z=0;if(f.rangebreaks)for(var F=f.locateBreaks(P,L),B=0;B0?L.ppadplus:L.ppadminus)||L.ppad||0),ee=ae((f._m>0?L.ppadminus:L.ppadplus)||L.ppad||0),ie=ae(L.vpadplus||L.vpad),ce=ae(L.vpadminus||L.vpad);if(!U){if(X=1/0,re=-1/0,N)for(Q=0;Q0&&(X=le),le>re&&le-S&&(X=le),le>re&&le=Ue;Q--)Te(Q);return{min:z,max:F,opts:L}}function l(f,P,L,z){w(f,P,L,z,E)}function _(f,P,L,z){w(f,P,L,z,m)}function w(f,P,L,z,F){for(var B=z.tozero,O=z.extrapad,I=!0,N=0;N=L&&(U.extrapad||!O)){I=!1;break}else F(P,U.val)&&U.pad<=L&&(O||!U.extrapad)&&(f.splice(N,1),N--)}if(I){var W=B&&P===0;f.push({val:P,pad:W?0:L,extrapad:W?!1:O})}}function M(f){return x(f)&&Math.abs(f)=P}function b(f,P){var L=P.autorangeoptions;return L&&L.minallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.minallowed:L&&L.clipmin!==void 0&&u(P,L.clipmin,L.clipmax)?Math.max(f,P.d2l(L.clipmin)):f}function v(f,P){var L=P.autorangeoptions;return L&&L.maxallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.maxallowed:L&&L.clipmax!==void 0&&u(P,L.clipmin,L.clipmax)?Math.min(f,P.d2l(L.clipmax)):f}function u(f,P,L){return P!==void 0&&L!==void 0?(P=f.d2l(P),L=f.d2l(L),P=N&&(B=N,L=N),O<=N&&(O=N,z=N)}}return L=b(L,P),z=v(z,P),[L,z]}}}),Ho=ke({"src/plots/cartesian/axes.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=Wl(),o=Im(),n=eo(),i=$o(),a=wh(),s=Zw(),c=Hi(),h=c.ONEMAXYEAR,p=c.ONEAVGYEAR,d=c.ONEMINYEAR,T=c.ONEMAXQUARTER,l=c.ONEAVGQUARTER,_=c.ONEMINQUARTER,w=c.ONEMAXMONTH,M=c.ONEAVGMONTH,E=c.ONEMINMONTH,m=c.ONEWEEK,b=c.ONEDAY,v=b/2,u=c.ONEHOUR,y=c.ONEMIN,f=c.ONESEC,P=c.ONEMILLI,L=c.ONEMICROSEC,z=c.MINUS_SIGN,F=c.BADNUM,B={K:"zeroline"},O={K:"gridline",L:"path"},I={K:"minor-gridline",L:"path"},N={K:"tick",L:"path"},U={K:"tick",L:"text"},W={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},Q=Yf(),le=Q.MID_SHIFT,se=Q.CAP_SHIFT,fe=Q.LINE_SPACING,G=Q.OPPOSITE_SIDE,$=3,J=H.exports={};J.setConvert=Cv();var X=Gg(),re=qc(),ae=re.idSort,j=re.isLinked;J.id2name=re.id2name,J.name2id=re.name2id,J.cleanId=re.cleanId,J.list=re.list,J.listIds=re.listIds,J.getFromId=re.getFromId,J.getFromTrace=re.getFromTrace;var ee=lv();J.getAutoRange=ee.getAutoRange,J.findExtremes=ee.findExtremes;var ie=1e-4;function ce(gt){var yt=(gt[1]-gt[0])*ie;return[gt[0]-yt,gt[1]+yt]}J.coerceRef=function(gt,yt,Pr,Ir,Tr,Mr){var Lr=Ir.charAt(Ir.length-1),Ur=Pr._fullLayout._subplots[Lr+"axis"],Dr=Ir+"ref",nn={};return Tr||(Tr=Ur[0]||(typeof Mr=="string"?Mr:Mr[0])),Mr||(Mr=Tr),Ur=Ur.concat(Ur.map(function(vn){return vn+" domain"})),nn[Dr]={valType:"enumerated",values:Ur.concat(Mr?typeof Mr=="string"?[Mr]:Mr:[]),dflt:Tr},e.coerce(gt,yt,nn,Dr)},J.getRefType=function(gt){return gt===void 0?gt:gt==="paper"?"paper":gt==="pixel"?"pixel":/( domain)$/.test(gt)?"domain":"range"},J.coercePosition=function(gt,yt,Pr,Ir,Tr,Mr){var Lr,Ur,Dr=J.getRefType(Ir);if(Dr!=="range")Lr=e.ensureNumber,Ur=Pr(Tr,Mr);else{var nn=J.getFromId(yt,Ir);Mr=nn.fraction2r(Mr),Ur=Pr(Tr,Mr),Lr=nn.cleanPos}gt[Tr]=Lr(Ur)},J.cleanPosition=function(gt,yt,Pr){var Ir=Pr==="paper"||Pr==="pixel"?e.ensureNumber:J.getFromId(yt,Pr).cleanPos;return Ir(gt)},J.redrawComponents=function(gt,yt){yt=yt||J.listIds(gt);var Pr=gt._fullLayout;function Ir(Tr,Mr,Lr,Ur){for(var Dr=S.getComponentMethod(Tr,Mr),nn={},vn=0;vn2e-6||((Pr-gt._forceTick0)/gt._minDtick%1+1.000001)%1>2e-6)&&(gt._minDtick=0))},J.saveRangeInitial=function(gt,yt){for(var Pr=J.list(gt,"",!0),Ir=!1,Tr=0;Trgn*.3||nn(Ir)||nn(Tr))){var kt=Pr.dtick/2;gt+=gt+ktLr){var Ur=Number(Pr.substr(1));Mr.exactYears>Lr&&Ur%12===0?gt=J.tickIncrement(gt,"M6","reverse")+b*1.5:Mr.exactMonths>Lr?gt=J.tickIncrement(gt,"M1","reverse")+b*15.5:gt-=v;var Dr=J.tickIncrement(gt,Pr);if(Dr<=Ir)return Dr}return gt}J.prepMinorTicks=function(gt,yt,Pr){if(!yt.minor.dtick){delete gt.dtick;var Ir=yt.dtick&&x(yt._tmin),Tr;if(Ir){var Mr=J.tickIncrement(yt._tmin,yt.dtick,!0);Tr=[yt._tmin,Mr*.99+yt._tmin*.01]}else{var Lr=e.simpleMap(yt.range,yt.r2l);Tr=[Lr[0],.8*Lr[0]+.2*Lr[1]]}if(gt.range=e.simpleMap(Tr,yt.l2r),gt._isMinor=!0,J.prepTicks(gt,Pr),Ir){var Ur=x(yt.dtick),Dr=x(gt.dtick),nn=Ur?yt.dtick:+yt.dtick.substring(1),vn=Dr?gt.dtick:+gt.dtick.substring(1);Ur&&Dr?it(nn,vn)?nn===2*m&&vn===2*b&&(gt.dtick=m):nn===2*m&&vn===3*b?gt.dtick=m:nn===m&&!(yt._input.minor||{}).nticks?gt.dtick=b:at(nn/vn,2.5)?gt.dtick=nn/2:gt.dtick=nn:String(yt.dtick).charAt(0)==="M"?Dr?gt.dtick="M1":it(nn,vn)?nn>=12&&vn===2&&(gt.dtick="M3"):gt.dtick=yt.dtick:String(gt.dtick).charAt(0)==="L"?String(yt.dtick).charAt(0)==="L"?it(nn,vn)||(gt.dtick=at(nn/vn,2.5)?yt.dtick/2:yt.dtick):gt.dtick="D1":gt.dtick==="D2"&&+yt.dtick>1&&(gt.dtick=1)}gt.range=yt.range}yt.minor._tick0Init===void 0&&(gt.tick0=yt.tick0)};function it(gt,yt){return Math.abs((gt/yt+.5)%1-.5)<.001}function at(gt,yt){return Math.abs(gt/yt-1)<.001}J.prepTicks=function(gt,yt){var Pr=e.simpleMap(gt.range,gt.r2l,void 0,void 0,yt);if(gt.tickmode==="auto"||!gt.dtick){var Ir=gt.nticks,Tr;Ir||(gt.type==="category"||gt.type==="multicategory"?(Tr=gt.tickfont?e.bigFont(gt.tickfont.size||12):15,Ir=gt._length/Tr):(Tr=gt._id.charAt(0)==="y"?40:80,Ir=e.constrain(gt._length/Tr,4,9)+1),gt._name==="radialaxis"&&(Ir*=2)),gt.minor&>.minor.tickmode!=="array"||gt.tickmode==="array"&&(Ir*=100),gt._roughDTick=Math.abs(Pr[1]-Pr[0])/Ir,J.autoTicks(gt,gt._roughDTick),gt._minDtick>0&>.dtick0?(Mr=Ir-1,Lr=Ir):(Mr=Ir,Lr=Ir);var Ur=gt[Mr].value,Dr=gt[Lr].value,nn=Math.abs(Dr-Ur),vn=Pr||nn,gn=0;vn>=d?nn>=d&&nn<=h?gn=nn:gn=p:Pr===l&&vn>=_?nn>=_&&nn<=T?gn=nn:gn=l:vn>=E?nn>=E&&nn<=w?gn=nn:gn=M:Pr===m&&vn>=m?gn=m:vn>=b?gn=b:Pr===v&&vn>=v?gn=v:Pr===u&&vn>=u&&(gn=u);var kt;gn>=nn&&(gn=nn,kt=!0);var or=Tr+gn;if(yt.rangebreaks&&gn>0){for(var yr=84,on=0,An=0;Anm&&(gn=nn)}(gn>0||Ir===0)&&(gt[Ir].periodX=Tr+gn/2)}}J.calcTicks=function(yt,Pr){for(var Ir=yt.type,Tr=yt.calendar,Mr=yt.ticklabelstep,Lr=yt.ticklabelmode==="period",Ur=yt.range[0]>yt.range[1],Dr=!yt.ticklabelindex||e.isArrayOrTypedArray(yt.ticklabelindex)?yt.ticklabelindex:[yt.ticklabelindex],nn=e.simpleMap(yt.range,yt.r2l,void 0,void 0,Pr),vn=nn[1]=(wn?0:1);Dn--){var Ui=!Dn;Dn?(yt._dtickInit=yt.dtick,yt._tick0Init=yt.tick0):(yt.minor._dtickInit=yt.minor.dtick,yt.minor._tick0Init=yt.minor.tick0);var pi=Dn?yt:e.extendFlat({},yt,yt.minor);if(Ui?J.prepMinorTicks(pi,yt,Pr):J.prepTicks(pi,Pr),pi.tickmode==="array"){Dn?(An=[],yr=Oe(yt,!Ui)):(Zn=[],on=Oe(yt,!Ui));continue}if(pi.tickmode==="sync"){An=[],yr=ue(yt);continue}var Ta=ce(nn),Sa=Ta[0],qa=Ta[1],to=x(pi.dtick),yo=Ir==="log"&&!(to||pi.dtick.charAt(0)==="L"),Xa=J.tickFirst(pi,Pr);if(Dn){if(yt._tmin=Xa,Xa=qa:pa<=qa;pa=J.tickIncrement(pa,gs,vn,Tr)){if(Dn&&cs++,pi.rangebreaks&&!vn){if(pa=kt)break}if(An.length>or||pa===Go)break;Go=pa;var Ya={value:pa};Dn?(yo&&pa!==(pa|0)&&(Ya.simpleLabel=!0),Mr>1&&cs%Mr&&(Ya.skipLabel=!0),An.push(Ya)):(Ya.minor=!0,Zn.push(Ya))}}if(!Zn||Zn.length<2)Dr=!1;else{var zo=(Zn[1].value-Zn[0].value)*(Ur?-1:1);ui(zo,yt.tickformat)||(Dr=!1)}if(!Dr)Bn=An;else{var Ka=An.concat(Zn);Lr&&An.length&&(Ka=Ka.slice(1)),Ka=Ka.sort(function(vo,Ps){return vo.value-Ps.value}).filter(function(vo,Ps,ls){return Ps===0||vo.value!==ls[Ps-1].value});var Yo=Ka.map(function(vo,Ps){return vo.minor===void 0&&!vo.skipLabel?Ps:null}).filter(function(vo){return vo!==null});Yo.forEach(function(vo){Dr.map(function(Ps){var ls=vo+Ps;ls>=0&&ls-1;Mi--){if(An[Mi].drop){An.splice(Mi,1);continue}An[Mi].value=en(An[Mi].value,yt);var Eo=yt.c2p(An[Mi].value);(Da?Xs>Eo-pl:Xskt||nokt&&(ls.periodX=kt),noTr&&ktp)yt/=p,Ir=Tr(10),gt.dtick="M"+12*fr(yt,Ir,rt);else if(Mr>M)yt/=M,gt.dtick="M"+fr(yt,1,ot);else if(Mr>b){if(gt.dtick=fr(yt,b,gt._hasDayOfWeekBreaks?[1,2,7,14]:Lt),!Pr){var Lr=J.getTickFormat(gt),Ur=gt.ticklabelmode==="period";Ur&&(gt._rawTick0=gt.tick0),/%[uVW]/.test(Lr)?gt.tick0=e.dateTick0(gt.calendar,2):gt.tick0=e.dateTick0(gt.calendar,1),Ur&&(gt._dowTick0=gt.tick0)}}else Mr>u?gt.dtick=fr(yt,u,ot):Mr>y?gt.dtick=fr(yt,y,et):Mr>f?gt.dtick=fr(yt,f,et):(Ir=Tr(10),gt.dtick=fr(yt,Ir,rt))}else if(gt.type==="log"){gt.tick0=0;var Dr=e.simpleMap(gt.range,gt.r2l);if(gt._isMinor&&(yt*=1.5),yt>.7)gt.dtick=Math.ceil(yt);else if(Math.abs(Dr[1]-Dr[0])<1){var nn=1.5*Math.abs((Dr[1]-Dr[0])/yt);yt=Math.abs(Math.pow(10,Dr[1])-Math.pow(10,Dr[0]))/nn,Ir=Tr(10),gt.dtick="L"+fr(yt,Ir,rt)}else gt.dtick=yt>.3?"D2":"D1"}else gt.type==="category"||gt.type==="multicategory"?(gt.tick0=0,gt.dtick=Math.ceil(Math.max(yt,1))):xn(gt)?(gt.tick0=0,Ir=1,gt.dtick=fr(yt,Ir,qt)):(gt.tick0=0,Ir=Tr(10),gt.dtick=fr(yt,Ir,rt));if(gt.dtick===0&&(gt.dtick=1),!x(gt.dtick)&&typeof gt.dtick!="string"){var vn=gt.dtick;throw gt.dtick=1,"ax.dtick error: "+String(vn)}};function ar(gt){var yt=gt.dtick;if(gt._tickexponent=0,!x(yt)&&typeof yt!="string"&&(yt=1),(gt.type==="category"||gt.type==="multicategory")&&(gt._tickround=null),gt.type==="date"){var Pr=gt.r2l(gt.tick0),Ir=gt.l2r(Pr).replace(/(^-|i)/g,""),Tr=Ir.length;if(String(yt).charAt(0)==="M")Tr>10||Ir.substr(5)!=="01-01"?gt._tickround="d":gt._tickround=+yt.substr(1)%12===0?"y":"m";else if(yt>=b&&Tr<=10||yt>=b*15)gt._tickround="d";else if(yt>=y&&Tr<=16||yt>=u)gt._tickround="M";else if(yt>=f&&Tr<=19||yt>=y)gt._tickround="S";else{var Mr=gt.l2r(Pr+yt).replace(/^-/,"").length;gt._tickround=Math.max(Tr,Mr)-20,gt._tickround<0&&(gt._tickround=4)}}else if(x(yt)||yt.charAt(0)==="L"){var Lr=gt.range.map(gt.r2d||Number);x(yt)||(yt=Number(yt.substr(1))),gt._tickround=2-Math.floor(Math.log(yt)/Math.LN10+.01);var Ur=Math.max(Math.abs(Lr[0]),Math.abs(Lr[1])),Dr=Math.floor(Math.log(Ur)/Math.LN10+.01),nn=gt.minexponent===void 0?3:gt.minexponent;Math.abs(Dr)>nn&&(Ee(gt.exponentformat)&&!we(Dr)?gt._tickexponent=3*Math.round((Dr-1)/3):gt._tickexponent=Dr)}else gt._tickround=null}J.tickIncrement=function(gt,yt,Pr,Ir){var Tr=Pr?-1:1;if(x(yt))return e.increment(gt,Tr*yt);var Mr=yt.charAt(0),Lr=Tr*Number(yt.substr(1));if(Mr==="M")return e.incrementMonth(gt,Lr,Ir);if(Mr==="L")return Math.log(Math.pow(10,gt)+Lr)/Math.LN10;if(Mr==="D"){var Ur=yt==="D2"?Bt:Et,Dr=gt+Tr*.01,nn=e.roundUp(e.mod(Dr,1),Ur,Pr);return Math.floor(Dr)+Math.log(g.round(Math.pow(10,nn),1))/Math.LN10}throw"unrecognized dtick "+String(yt)},J.tickFirst=function(gt,yt){var Pr=gt.r2l||Number,Ir=e.simpleMap(gt.range,Pr,void 0,void 0,yt),Tr=Ir[1]=0&&Zn<=gt._length?An:null};if(Mr&&e.isArrayOrTypedArray(gt.ticktext)){var gn=e.simpleMap(gt.range,gt.r2l),kt=(Math.abs(gn[1]-gn[0])-(gt._lBreaks||0))/1e4;for(nn=0;nn"+Ur;else{var nn=Fn(gt),vn=gt._trueSide||gt.side;(!nn&&vn==="top"||nn&&vn==="bottom")&&(Lr+="
")}yt.text=Lr}function br(gt,yt,Pr,Ir,Tr){var Mr=gt.dtick,Lr=yt.x,Ur=gt.tickformat,Dr=typeof Mr=="string"&&Mr.charAt(0);if(Tr==="never"&&(Tr=""),Ir&&Dr!=="L"&&(Mr="L3",Dr="L"),Ur||Dr==="L")yt.text=Le(Math.pow(10,Lr),gt,Tr,Ir);else if(x(Mr)||Dr==="D"&&e.mod(Lr+.01,1)<.1){var nn=Math.round(Lr),vn=Math.abs(nn),gn=gt.exponentformat;gn==="power"||Ee(gn)&&we(nn)?(nn===0?yt.text=1:nn===1?yt.text="10":yt.text="10"+(nn>1?"":z)+vn+"",yt.fontSize*=1.25):(gn==="e"||gn==="E")&&vn>2?yt.text="1"+gn+(nn>0?"+":z)+vn:(yt.text=Le(Math.pow(10,Lr),gt,"","fakehover"),Mr==="D1"&>._id.charAt(0)==="y"&&(yt.dy-=yt.fontSize/6))}else if(Dr==="D")yt.text=String(Math.round(Math.pow(10,e.mod(Lr,1)))),yt.fontSize*=.75;else throw"unrecognized dtick "+String(Mr);if(gt.dtick==="D1"){var kt=String(yt.text).charAt(0);(kt==="0"||kt==="1")&&(gt._id.charAt(0)==="y"?yt.dx-=yt.fontSize/4:(yt.dy+=yt.fontSize/2,yt.dx+=(gt.range[1]>gt.range[0]?1:-1)*yt.fontSize*(Lr<0?.5:.25)))}}function _t(gt,yt){var Pr=gt._categories[Math.round(yt.x)];Pr===void 0&&(Pr=""),yt.text=String(Pr)}function Be(gt,yt,Pr){var Ir=Math.round(yt.x),Tr=gt._categories[Ir]||[],Mr=Tr[1]===void 0?"":String(Tr[1]),Lr=Tr[0]===void 0?"":String(Tr[0]);Pr?yt.text=Lr+" - "+Mr:(yt.text=Mr,yt.text2=Lr)}function Ke(gt,yt,Pr,Ir,Tr){Tr==="never"?Tr="":gt.showexponent==="all"&&Math.abs(yt.x/gt.dtick)<1e-6&&(Tr="hide"),yt.text=Le(yt.x,gt,Tr,Ir)}function je(gt,yt,Pr,Ir,Tr){if(gt.thetaunit==="radians"&&!Pr){var Mr=yt.x/180;if(Mr===0)yt.text="0";else{var Lr=Se(Mr);if(Lr[1]>=100)yt.text=Le(e.deg2rad(yt.x),gt,Tr,Ir);else{var Ur=yt.x<0;Lr[1]===1?Lr[0]===1?yt.text="\u03C0":yt.text=Lr[0]+"\u03C0":yt.text=["",Lr[0],"","\u2044","",Lr[1],"","\u03C0"].join(""),Ur&&(yt.text=z+yt.text)}}}else yt.text=Le(yt.x,gt,Tr,Ir)}function Se(gt){function yt(Ur,Dr){return Math.abs(Ur-Dr)<=1e-6}function Pr(Ur,Dr){return yt(Dr,0)?Ur:Pr(Dr,Ur%Dr)}function Ir(Ur){for(var Dr=1;!yt(Math.round(Ur*Dr)/Dr,Ur);)Dr*=10;return Dr}var Tr=Ir(gt),Mr=gt*Tr,Lr=Math.abs(Pr(Mr,Tr));return[Math.round(Mr/Lr),Math.round(Tr/Lr)]}var He=["f","p","n","\u03BC","m","","k","M","G","T"];function Ee(gt){return gt==="SI"||gt==="B"}function we(gt){return gt>14||gt<-15}function Le(gt,yt,Pr,Ir){var Tr=gt<0,Mr=yt._tickround,Lr=Pr||yt.exponentformat||"B",Ur=yt._tickexponent,Dr=J.getTickFormat(yt),nn=yt.separatethousands;if(Ir){var vn={exponentformat:Lr,minexponent:yt.minexponent,dtick:yt.showexponent==="none"?yt.dtick:x(gt)&&Math.abs(gt)||1,range:yt.showexponent==="none"?yt.range.map(yt.r2d):[0,gt||1]};ar(vn),Mr=(Number(vn._tickround)||0)+4,Ur=vn._tickexponent,yt.hoverformat&&(Dr=yt.hoverformat)}if(Dr)return yt._numFormat(Dr)(gt).replace(/-/g,z);var gn=Math.pow(10,-Mr)/2;if(Lr==="none"&&(Ur=0),gt=Math.abs(gt),gt"+yr+"":Lr==="B"&&Ur===9?gt+="B":Ee(Lr)&&(gt+=He[Ur/3+5])}return Tr?z+gt:gt}J.getTickFormat=function(gt){var yt;function Pr(Dr){return typeof Dr!="string"?Dr:Number(Dr.replace("M",""))*M}function Ir(Dr,nn){var vn=["L","D"];if(typeof Dr==typeof nn){if(typeof Dr=="number")return Dr-nn;var gn=vn.indexOf(Dr.charAt(0)),kt=vn.indexOf(nn.charAt(0));return gn===kt?Number(Dr.replace(/(L|D)/g,""))-Number(nn.replace(/(L|D)/g,"")):gn-kt}else return typeof Dr=="number"?1:-1}function Tr(Dr,nn,vn){var gn=vn||function(yr){return yr},kt=nn[0],or=nn[1];return(!kt&&typeof kt!="number"||gn(kt)<=gn(Dr))&&(!or&&typeof or!="number"||gn(or)>=gn(Dr))}function Mr(Dr,nn){var vn=nn[0]===null,gn=nn[1]===null,kt=Ir(Dr,nn[0])>=0,or=Ir(Dr,nn[1])<=0;return(vn||kt)&&(gn||or)}var Lr,Ur;if(gt.tickformatstops&>.tickformatstops.length>0)switch(gt.type){case"date":case"linear":{for(yt=0;yt=0&&Tr.unshift(Tr.splice(vn,1).shift())}});var Ur={false:{left:0,right:0}};return e.syncOrAsync(Tr.map(function(Dr){return function(){if(Dr){var nn=J.getFromId(gt,Dr);Pr||(Pr={}),Pr.axShifts=Ur,Pr.overlayingShiftedAx=Lr;var vn=J.drawOne(gt,nn,Pr);return nn._shiftPusher&&ri(nn,nn._fullDepth||0,Ur,!0),nn._r=nn.range.slice(),nn._rl=e.simpleMap(nn._r,nn.r2l),vn}}}))},J.drawOne=function(gt,yt,Pr){Pr=Pr||{};var Ir=Pr.axShifts||{},Tr=Pr.overlayingShiftedAx||[],Mr,Lr,Ur;yt.setScale();var Dr=gt._fullLayout,nn=yt._id,vn=nn.charAt(0),gn=J.counterLetter(nn),kt=Dr._plots[yt._mainSubplot];if(!kt)return;if(yt._shiftPusher=yt.autoshift||Tr.indexOf(yt._id)!==-1||Tr.indexOf(yt.overlaying)!==-1,yt._shiftPusher&yt.anchor==="free"){var or=yt.linewidth/2||0;yt.ticks==="inside"&&(or+=yt.ticklen),ri(yt,or,Ir,!0),ri(yt,yt.shift||0,Ir,!1)}(Pr.skipTitle!==!0||yt._shift===void 0)&&(yt._shift=Sn(yt,Ir));var yr=kt[vn+"axislayer"],on=yt._mainLinePosition,An=on+=yt._shift,Zn=yt._mainMirrorPosition,Bn=yt._vals=J.calcTicks(yt),wn=[yt.mirror,An,Zn].join("_");for(Mr=0;Mr0?ls.bottom-vo:0,Ps))));var Tl=0,Vu=0;if(yt._shiftPusher&&(Tl=Math.max(Ps,ls.height>0?la==="l"?vo-ls.left:ls.right-vo:0),yt.title.text!==Dr._dfltTitle[vn]&&(Vu=(yt._titleStandoff||0)+(yt._titleScoot||0),la==="l"&&(Vu+=Rn(yt))),yt._fullDepth=Math.max(Tl,Vu)),yt.automargin){no={x:0,y:0,r:0,l:0,t:0,b:0};var Rl=[0,1],Qs=typeof yt._shift=="number"?yt._shift:0;if(vn==="x"){if(la==="b"?no[la]=yt._depth:(no[la]=yt._depth=Math.max(ls.width>0?vo-ls.top:0,Ps),Rl.reverse()),ls.width>0){var nu=ls.right-(yt._offset+yt._length);nu>0&&(no.xr=1,no.r=nu);var qu=yt._offset-ls.left;qu>0&&(no.xl=0,no.l=qu)}}else if(la==="l"?(yt._depth=Math.max(ls.height>0?vo-ls.left:0,Ps),no[la]=yt._depth-Qs):(yt._depth=Math.max(ls.height>0?ls.right-vo:0,Ps),no[la]=yt._depth+Qs,Rl.reverse()),ls.height>0){var kc=ls.bottom-(yt._offset+yt._length);kc>0&&(no.yb=0,no.b=kc);var Ju=yt._offset-ls.top;Ju>0&&(no.yt=1,no.t=Ju)}no[gn]=yt.anchor==="free"?yt.position:yt._anchorAxis.domain[Rl[0]],yt.title.text!==Dr._dfltTitle[vn]&&(no[la]+=Rn(yt)+(yt.title.standoff||0)),yt.mirror&&yt.anchor!=="free"&&($l={x:0,y:0,r:0,l:0,t:0,b:0},$l[Uo]=yt.linewidth,yt.mirror&&yt.mirror!==!0&&($l[Uo]+=Ps),yt.mirror===!0||yt.mirror==="ticks"?$l[gn]=yt._anchorAxis.domain[Rl[1]]:(yt.mirror==="all"||yt.mirror==="allticks")&&($l[gn]=[yt._counterDomainMin,yt._counterDomainMax][Rl[1]]))}wl&&(Ku=S.getComponentMethod("rangeslider","autoMarginOpts")(gt,yt)),typeof yt.automargin=="string"&&(nt(no,yt.automargin),nt($l,yt.automargin)),A.autoMargin(gt,gi(yt),no),A.autoMargin(gt,Zt(yt),$l),A.autoMargin(gt,Ft(yt),Ku)}),e.syncOrAsync(As)}};function nt(gt,yt){if(gt){var Pr=Object.keys(W).reduce(function(Ir,Tr){return yt.indexOf(Tr)!==-1&&W[Tr].forEach(function(Mr){Ir[Mr]=1}),Ir},{});Object.keys(gt).forEach(function(Ir){Pr[Ir]||(Ir.length===1?gt[Ir]=0:delete gt[Ir])})}}function pt(gt,yt){var Pr=[],Ir,Tr=function(Mr,Lr){var Ur=Mr.xbnd[Lr];Ur!==null&&Pr.push(e.extendFlat({},Mr,{x:Ur}))};if(yt.length){for(Ir=0;Irgt.range[1],Ur=gt.ticklabelposition&>.ticklabelposition.indexOf("inside")!==-1,Dr=!Ur;if(Pr){var nn=Lr?-1:1;Pr=Pr*nn}if(Ir){var vn=gt.side,gn=Ur&&(vn==="top"||vn==="left")||Dr&&(vn==="bottom"||vn==="right")?1:-1;Ir=Ir*gn}return gt._id.charAt(0)==="x"?function(kt){return t(Tr+gt._offset+gt.l2p(Xt(kt))+Pr,Mr+Ir)}:function(kt){return t(Mr+Ir,Tr+gt._offset+gt.l2p(Xt(kt))+Pr)}};function Xt(gt){return gt.periodX!==void 0?gt.periodX:gt.x}function $t(gt){var yt=gt.ticklabelposition||"",Pr=function(or){return yt.indexOf(or)!==-1},Ir=Pr("top"),Tr=Pr("left"),Mr=Pr("right"),Lr=Pr("bottom"),Ur=Pr("inside"),Dr=Lr||Tr||Ir||Mr;if(!Dr&&!Ur)return[0,0];var nn=gt.side,vn=Dr?(gt.tickwidth||0)/2:0,gn=$,kt=gt.tickfont?gt.tickfont.size:12;return(Lr||Ir)&&(vn+=kt*se,gn+=(gt.linewidth||0)/2),(Tr||Mr)&&(vn+=(gt.linewidth||0)/2,gn+=$),Ur&&nn==="top"&&(gn-=kt*(1-se)),(Tr||Ir)&&(vn=-vn),(nn==="bottom"||nn==="right")&&(gn=-gn),[Dr?vn:0,Ur?gn:0]}J.makeTickPath=function(gt,yt,Pr,Ir){Ir||(Ir={});var Tr=Ir.minor;if(Tr&&!gt.minor)return"";var Mr=Ir.len!==void 0?Ir.len:Tr?gt.minor.ticklen:gt.ticklen,Lr=gt._id.charAt(0),Ur=(gt.linewidth||1)/2;return Lr==="x"?"M0,"+(yt+Ur*Pr)+"v"+Mr*Pr:"M"+(yt+Ur*Pr)+",0h"+Mr*Pr},J.makeLabelFns=function(gt,yt,Pr){var Ir=gt.ticklabelposition||"",Tr=function(Xa){return Ir.indexOf(Xa)!==-1},Mr=Tr("top"),Lr=Tr("left"),Ur=Tr("right"),Dr=Tr("bottom"),nn=Dr||Lr||Mr||Ur,vn=Tr("inside"),gn=Ir==="inside"&>.ticks==="inside"||!vn&>.ticks==="outside"&>.tickson!=="boundaries",kt=0,or=0,yr=gn?gt.ticklen:0;if(vn?yr*=-1:nn&&(yr=0),gn&&(kt+=yr,Pr)){var on=e.deg2rad(Pr);kt=yr*Math.cos(on)+1,or=yr*Math.sin(on)}gt.showticklabels&&(gn||gt.showline)&&(kt+=.2*gt.tickfont.size),kt+=(gt.linewidth||1)/2*(vn?-1:1);var An={labelStandoff:kt,labelShift:or},Zn,Bn,wn,Dn,Ui=0,pi=gt.side,Ta=gt._id.charAt(0),Sa=gt.tickangle,qa;if(Ta==="x")qa=!vn&&pi==="bottom"||vn&&pi==="top",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=or*Dn,Bn=yt+kt*Dn,wn=qa?1:-.2,Math.abs(Sa)===90&&(vn?wn+=le:Sa===-90&&pi==="bottom"?wn=se:Sa===90&&pi==="top"?wn=le:wn=.5,Ui=le/2*(Sa/90)),An.xFn=function(Xa){return Xa.dx+Zn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*wn},An.anchorFn=function(Xa,Go){if(nn){if(Lr)return"end";if(Ur)return"start"}return!x(Go)||Go===0||Go===180?"middle":Go*Dn<0!==vn?"end":"start"},An.heightFn=function(Xa,Go,pa){return Go<-60||Go>60?-.5*pa:gt.side==="top"!==vn?-pa:0};else if(Ta==="y"){if(qa=!vn&&pi==="left"||vn&&pi==="right",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=kt,Bn=or*Dn,wn=0,!vn&&Math.abs(Sa)===90&&(Sa===-90&&pi==="left"||Sa===90&&pi==="right"?wn=se:wn=.5),vn){var to=x(Sa)?+Sa:0;if(to!==0){var yo=e.deg2rad(to);Ui=Math.abs(Math.sin(yo))*se*Dn,wn=0}}An.xFn=function(Xa){return Xa.dx+yt-(Zn+Xa.fontSize*wn)*Dn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*le},An.anchorFn=function(Xa,Go){return x(Go)&&Math.abs(Go)===90?"middle":qa?"end":"start"},An.heightFn=function(Xa,Go,pa){return gt.side==="right"&&(Go*=-1),Go<-30?-pa:Go<30?-.5*pa:0}}return An};function ur(gt){return[gt.text,gt.x,gt.axInfo,gt.font,gt.fontSize,gt.fontColor].join("_")}J.drawTicks=function(gt,yt,Pr){Pr=Pr||{};var Ir=yt._id+"tick",Tr=[].concat(yt.minor&&yt.minor.ticks?Pr.vals.filter(function(Lr){return Lr.minor&&!Lr.noTick}):[]).concat(yt.ticks?Pr.vals.filter(function(Lr){return!Lr.minor&&!Lr.noTick}):[]),Mr=Pr.layer.selectAll("path."+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().append("path").classed(Ir,1).classed("ticks",1).classed("crisp",Pr.crisp!==!1).each(function(Lr){return n.stroke(g.select(this),Lr.minor?yt.minor.tickcolor:yt.tickcolor)}).style("stroke-width",function(Lr){return i.crispRound(gt,Lr.minor?yt.minor.tickwidth:yt.tickwidth,1)+"px"}).attr("d",Pr.path).style("display",null),Wn(yt,[N]),Mr.attr("transform",Pr.transFn)},J.drawGrid=function(gt,yt,Pr){if(Pr=Pr||{},yt.tickmode!=="sync"){var Ir=yt._id+"grid",Tr=yt.minor&&yt.minor.showgrid,Mr=Tr?Pr.vals.filter(function(Zn){return Zn.minor}):[],Lr=yt.showgrid?Pr.vals.filter(function(Zn){return!Zn.minor}):[],Ur=Pr.counterAxis;if(Ur&&J.shouldShowZeroLine(gt,yt,Ur))for(var Dr=yt.tickmode==="array",nn=0;nn=0;yr--){var on=yr?kt:or;if(on){var An=on.selectAll("path."+Ir).data(yr?Lr:Mr,ur);An.exit().remove(),An.enter().append("path").classed(Ir,1).classed("crisp",Pr.crisp!==!1),An.attr("transform",Pr.transFn).attr("d",Pr.path).each(function(Zn){return n.stroke(g.select(this),Zn.minor?yt.minor.gridcolor:yt.gridcolor||"#ddd")}).style("stroke-dasharray",function(Zn){return i.dashStyle(Zn.minor?yt.minor.griddash:yt.griddash,Zn.minor?yt.minor.gridwidth:yt.gridwidth)}).style("stroke-width",function(Zn){return(Zn.minor?gn:yt._gw)+"px"}).style("display",null),typeof Pr.path=="function"&&An.attr("d",Pr.path)}}Wn(yt,[O,I])}},J.drawZeroLine=function(gt,yt,Pr){Pr=Pr||Pr;var Ir=yt._id+"zl",Tr=J.shouldShowZeroLine(gt,yt,Pr.counterAxis),Mr=Pr.layer.selectAll("path."+Ir).data(Tr?[{x:0,id:yt._id}]:[]);Mr.exit().remove(),Mr.enter().append("path").classed(Ir,1).classed("zl",1).classed("crisp",Pr.crisp!==!1).each(function(){Pr.layer.selectAll("path").sort(function(Lr,Ur){return ae(Lr.id,Ur.id)})}),Mr.attr("transform",Pr.transFn).attr("d",Pr.path).call(n.stroke,yt.zerolinecolor||n.defaultLine).style("stroke-width",i.crispRound(gt,yt.zerolinewidth,yt._gw||1)+"px").style("display",null),Wn(yt,[B])},J.drawLabels=function(gt,yt,Pr){Pr=Pr||{};var Ir=gt._fullLayout,Tr=yt._id,Mr=Pr.cls||Tr+"tick",Lr=Pr.vals.filter(function(Ya){return Ya.text}),Ur=Pr.labelFns,Dr=Pr.secondary?0:yt.tickangle,nn=(yt._prevTickAngles||{})[Mr],vn=Pr.layer.selectAll("g."+Mr).data(yt.showticklabels?Lr:[],ur),gn=[];vn.enter().append("g").classed(Mr,1).append("text").attr("text-anchor","middle").each(function(Ya){var zo=g.select(this),Ka=gt._promises.length;zo.call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya)).call(i.font,{family:Ya.font,size:Ya.fontSize,color:Ya.fontColor,weight:Ya.fontWeight,style:Ya.fontStyle,variant:Ya.fontVariant,textcase:Ya.fontTextcase,lineposition:Ya.fontLineposition,shadow:Ya.fontShadow}).text(Ya.text).call(r.convertToTspans,gt),gt._promises[Ka]?gn.push(gt._promises.pop().then(function(){kt(zo,Dr)})):kt(zo,Dr)}),Wn(yt,[U]),vn.exit().remove(),Pr.repositionOnUpdate&&vn.each(function(Ya){g.select(this).select("text").call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya))});function kt(Ya,zo){Ya.each(function(Ka){var Yo=g.select(this),ns=Yo.select(".text-math-group"),hs=Ur.anchorFn(Ka,zo),ho=Pr.transFn.call(Yo.node(),Ka)+(x(zo)&&+zo!=0?" rotate("+zo+","+Ur.xFn(Ka)+","+(Ur.yFn(Ka)-Ka.fontSize/2)+")":""),Ro=r.lineCount(Yo),Ls=fe*Ka.fontSize,Vs=Ur.heightFn(Ka,x(zo)?+zo:0,(Ro-1)*Ls);if(Vs&&(ho+=t(0,Vs)),ns.empty()){var Ws=Yo.select("text");Ws.attr({transform:ho,"text-anchor":hs}),Ws.style("opacity",1),yt._adjustTickLabelsOverflow&&yt._adjustTickLabelsOverflow()}else{var fs=i.bBox(ns.node()).width,Mi=fs*{end:-.5,start:.5}[hs];ns.attr("transform",ho+t(Mi,0))}})}yt._adjustTickLabelsOverflow=function(){var Ya=yt.ticklabeloverflow;if(!(!Ya||Ya==="allow")){var zo=Ya.indexOf("hide")!==-1,Ka=yt._id.charAt(0)==="x",Yo=0,ns=Ka?gt._fullLayout.width:gt._fullLayout.height;if(Ya.indexOf("domain")!==-1){var hs=e.simpleMap(yt.range,yt.r2l);Yo=yt.l2p(hs[0])+yt._offset,ns=yt.l2p(hs[1])+yt._offset}var ho=Math.min(Yo,ns),Ro=Math.max(Yo,ns),Ls=yt.side,Vs=1/0,Ws=-1/0;vn.each(function(pl){var Xs=g.select(this),Eo=Xs.select(".text-math-group");if(Eo.empty()){var Ys=i.bBox(Xs.node()),As=0;Ka?(Ys.right>Ro||Ys.leftRo||Ys.top+(yt.tickangle?0:pl.fontSize/4)yt["_visibleLabelMin_"+hs._id]?pl.style("display","none"):Ro.K==="tick"&&!ho&&pl.style("display",null)})})})})},kt(vn,nn+1?nn:Dr);function or(){return gn.length&&Promise.all(gn)}var yr=null;function on(){if(kt(vn,Dr),Lr.length&&yt.autotickangles&&(yt.type!=="log"||String(yt.dtick).charAt(0)!=="D")){yr=yt.autotickangles[0];var Ya=0,zo=[],Ka,Yo=1;vn.each(function(ls){Ya=Math.max(Ya,ls.fontSize);var no=yt.l2p(ls.x),$l=Qn(this),Ku=i.bBox($l.node());Yo=Math.max(Yo,r.lineCount($l)),zo.push({top:0,bottom:10,height:10,left:no-Ku.width/2,right:no+Ku.width/2+2,width:Ku.width+2})});var ns=(yt.tickson==="boundaries"||yt.showdividers)&&!Pr.secondary,hs=Lr.length,ho=Math.abs((Lr[hs-1].x-Lr[0].x)*yt._m)/(hs-1),Ro=ns?ho/2:ho,Ls=ns?yt.ticklen:Ya*1.25*Yo,Vs=Math.sqrt(Math.pow(Ro,2)+Math.pow(Ls,2)),Ws=Ro/Vs,fs=yt.autotickangles.map(function(ls){return ls*Math.PI/180}),Mi=fs.find(function(ls){return Math.abs(Math.cos(ls))<=Ws});Mi===void 0&&(Mi=fs.reduce(function(ls,no){return Math.abs(Math.cos(ls))cs*pa&&(yo=pa,Sa[Ta]=qa[Ta]=Xa[Ta])}var Ko=Math.abs(yo-to);Ko-Dn>0?(Ko-=Dn,Dn*=1+Dn/Ko):Dn=0,yt._id.charAt(0)!=="y"&&(Dn=-Dn),Sa[pi]=Bn.p2r(Bn.r2p(qa[pi])+Ui*Dn),Bn.autorange==="min"||Bn.autorange==="max reversed"?(Sa[0]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0):(Bn.autorange==="max"||Bn.autorange==="min reversed")&&(Sa[1]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0),Ir._insideTickLabelsUpdaterange[Bn._name+".range"]=Sa}var gs=e.syncOrAsync(An);return gs&&gs.then&>._promises.push(gs),gs};function pn(gt,yt,Pr){var Ir=yt._id+"divider",Tr=Pr.vals,Mr=Pr.layer.selectAll("path."+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().insert("path",":first-child").classed(Ir,1).classed("crisp",1).call(n.stroke,yt.dividercolor).style("stroke-width",i.crispRound(gt,yt.dividerwidth,1)+"px"),Mr.attr("transform",Pr.transFn).attr("d",Pr.path)}J.getPxPosition=function(gt,yt){var Pr=gt._fullLayout._size,Ir=yt._id.charAt(0),Tr=yt.side,Mr;if(yt.anchor!=="free"?Mr=yt._anchorAxis:Ir==="x"?Mr={_offset:Pr.t+(1-(yt.position||0))*Pr.h,_length:0}:Ir==="y"&&(Mr={_offset:Pr.l+(yt.position||0)*Pr.w+yt._shift,_length:0}),Tr==="top"||Tr==="left")return Mr._offset;if(Tr==="bottom"||Tr==="right")return Mr._offset+Mr._length};function Rn(gt){var yt=gt.title.font.size,Pr=(gt.title.text.match(r.BR_TAG_ALL)||[]).length;return gt.title.hasOwnProperty("standoff")?yt*(se+Pr*fe):Pr?yt*(Pr+1)*fe:yt}function Nn(gt,yt){var Pr=gt._fullLayout,Ir=yt._id,Tr=Ir.charAt(0),Mr=yt.title.font.size,Lr,Ur=(yt.title.text.match(r.BR_TAG_ALL)||[]).length;if(yt.title.hasOwnProperty("standoff"))yt.side==="bottom"||yt.side==="right"?Lr=yt._depth+yt.title.standoff+Mr*se:(yt.side==="top"||yt.side==="left")&&(Lr=yt._depth+yt.title.standoff+Mr*(le+Ur*fe));else{var Dr=Fn(yt);if(yt.type==="multicategory")Lr=yt._depth;else{var nn=1.5*Mr;Dr&&(nn=.5*Mr,yt.ticks==="outside"&&(nn+=yt.ticklen)),Lr=10+nn+(yt.linewidth?yt.linewidth-1:0)}Dr||(Tr==="x"?Lr+=yt.side==="top"?Mr*(yt.showticklabels?1:0):Mr*(yt.showticklabels?1.5:.5):Lr+=yt.side==="right"?Mr*(yt.showticklabels?1:.5):Mr*(yt.showticklabels?.5:0))}var vn=J.getPxPosition(gt,yt),gn,kt,or;Tr==="x"?(kt=yt._offset+yt._length/2,or=yt.side==="top"?vn-Lr:vn+Lr):(or=yt._offset+yt._length/2,kt=yt.side==="right"?vn+Lr:vn-Lr,gn={rotate:"-90",offset:0});var yr;if(yt.type!=="multicategory"){var on=yt._selections[yt._id+"tick"];if(yr={selection:on,side:yt.side},on&&on.node()&&on.node().parentNode){var An=i.getTranslate(on.node().parentNode);yr.offsetLeft=An.x,yr.offsetTop=An.y}yt.title.hasOwnProperty("standoff")&&(yr.pad=0)}return yt._titleStandoff=Lr,o.draw(gt,Ir+"title",{propContainer:yt,propName:yt._name+".title.text",placeholder:Pr._dfltTitle[Tr],avoid:yr,transform:gn,attributes:{x:kt,y:or,"text-anchor":"middle"}})}J.shouldShowZeroLine=function(gt,yt,Pr){var Ir=e.simpleMap(yt.range,yt.r2l);return Ir[0]*Ir[1]<=0&&yt.zeroline&&(yt.type==="linear"||yt.type==="-")&&!(yt.rangebreaks&&yt.maskBreaks(0)===F)&&(On(yt,0)||!ni(gt,yt,Pr,Ir)||zn(gt,yt))},J.clipEnds=function(gt,yt){return yt.filter(function(Pr){return On(gt,Pr.x)})};function On(gt,yt){var Pr=gt.l2p(yt);return Pr>1&&Pr1)for(Tr=1;Tr=Tr.min&>=L:/%L/.test(yt)?gt>=P:/%[SX]/.test(yt)?gt>=f:/%M/.test(yt)?gt>=y:/%[HI]/.test(yt)?gt>=u:/%p/.test(yt)?gt>=v:/%[Aadejuwx]/.test(yt)?gt>=b:/%[UVW]/.test(yt)?gt>=m:/%[Bbm]/.test(yt)?gt>=E:/%[q]/.test(yt)?gt>=_:/%[Yy]/.test(yt)?gt>=d:!0}}}),Jw=ke({"src/plots/cartesian/autorange_options_defaults.js"(Z,H){"use strict";H.exports=function(x,A,S){var e,t;if(S){var r=A==="reversed"||A==="min reversed"||A==="max reversed";e=S[r?1:0],t=S[r?0:1]}var o=x("autorangeoptions.minallowed",t===null?e:void 0),n=x("autorangeoptions.maxallowed",e===null?t:void 0);o===void 0&&x("autorangeoptions.clipmin"),n===void 0&&x("autorangeoptions.clipmax"),x("autorangeoptions.include")}}}),$w=ke({"src/plots/cartesian/range_defaults.js"(Z,H){"use strict";var g=Jw();H.exports=function(A,S,e,t){var r=S._template||{},o=S.type||r.type||"-";e("minallowed"),e("maxallowed");var n=e("range");if(!n){var i;!t.noInsiderange&&o!=="log"&&(i=e("insiderange"),i&&(i[0]===null||i[1]===null)&&(S.insiderange=!1,i=void 0),i&&(n=e("range",i)))}var a=S.getAutorangeDflt(n,t),s=e("autorange",a),c;n&&(n[0]===null&&n[1]===null||(n[0]===null||n[1]===null)&&(s==="reversed"||s===!0)||n[0]!==null&&(s==="min"||s==="max reversed")||n[1]!==null&&(s==="max"||s==="min reversed"))&&(n=void 0,delete S.range,S.autorange=!0,c=!0),c||(a=S.getAutorangeDflt(n,t),s=e("autorange",a)),s&&(g(e,s,n),(o==="linear"||o==="-")&&e("rangemode")),S.cleanRange()}}}),XE=ke({"node_modules/mouse-event-offset/index.js"(Z,H){var g={left:0,top:0};H.exports=x;function x(S,e,t){e=e||S.currentTarget||S.srcElement,Array.isArray(t)||(t=[0,0]);var r=S.clientX||0,o=S.clientY||0,n=A(e);return t[0]=r-n.left,t[1]=o-n.top,t}function A(S){return S===window||S===document||S===document.body?g:S.getBoundingClientRect()}}}),f_=ke({"node_modules/has-passive-events/index.js"(Z,H){"use strict";var g=qw();function x(){var A=!1;try{var S=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("test",null,S),window.removeEventListener("test",null,S)}catch{A=!1}return A}H.exports=g&&x()}}),ZE=ke({"src/components/dragelement/align.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){var r=(x-S)/(e-S),o=r+A/(e-S),n=(r+o)/2;return t==="left"||t==="bottom"?r:t==="center"||t==="middle"?n:t==="right"||t==="top"?o:r<2/3-n?r:o>4/3-n?o:n}}}),YE=ke({"src/components/dragelement/cursor.js"(Z,H){"use strict";var g=un(),x=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];H.exports=function(S,e,t,r){return t==="left"?S=0:t==="center"?S=1:t==="right"?S=2:S=g.constrain(Math.floor(S*3),0,2),r==="bottom"?e=0:r==="middle"?e=1:r==="top"?e=2:e=g.constrain(Math.floor(e*3),0,2),x[e][S]}}}),KE=ke({"src/components/dragelement/unhover.js"(Z,H){"use strict";var g=jg(),x=l_(),A=Yy().getGraphDiv,S=Ed(),e=H.exports={};e.wrapped=function(t,r,o){t=A(t),t._fullLayout&&x.clear(t._fullLayout._uid+S.HOVERID),e.raw(t,r,o)},e.raw=function(r,o){var n=r._fullLayout,i=r._hoverdata;o||(o={}),!(o.target&&!r._dragged&&g.triggerHandler(r,"plotly_beforehover",o)===!1)&&(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),r._hoverdata=void 0,o.target&&i&&r.emit("plotly_unhover",{event:o,points:i}))}}}),Xh=ke({"src/components/dragelement/index.js"(Z,H){"use strict";var g=XE(),x=Hw(),A=f_(),S=un().removeElement,e=oh(),t=H.exports={};t.align=ZE(),t.getCursor=YE();var r=KE();t.unhover=r.wrapped,t.unhoverRaw=r.raw,t.init=function(a){var s=a.gd,c=1,h=s._context.doubleClickDelay,p=a.element,d,T,l,_,w,M,E,m;s._mouseDownTime||(s._mouseDownTime=0),p.style.pointerEvents="all",p.onmousedown=u,A?(p._ontouchstart&&p.removeEventListener("touchstart",p._ontouchstart),p._ontouchstart=u,p.addEventListener("touchstart",u,{passive:!1})):p.ontouchstart=u;function b(P,L,z){return Math.abs(P)"u"&&typeof P.clientY>"u"&&(P.clientX=d,P.clientY=T),l=new Date().getTime(),l-s._mouseDownTimeh&&(c=Math.max(c-1,1)),s._dragged)a.doneFn&&a.doneFn();else{var L;M.target===E?L=M:(L={target:E,srcElement:E,toElement:E},Object.keys(M).concat(Object.keys(M.__proto__)).forEach(z=>{var F=M[z];!L[z]&&typeof F!="function"&&(L[z]=F)})),a.clickFn&&a.clickFn(c,L),m||E.dispatchEvent(new MouseEvent("click",P))}s._dragging=!1,s._dragged=!1}};function o(){var i=document.createElement("div");i.className="dragcover";var a=i.style;return a.position="fixed",a.left=0,a.right=0,a.top=0,a.bottom=0,a.zIndex=999999999,a.background="none",document.body.appendChild(i),i}t.coverSlip=o;function n(i){return g(i.changedTouches?i.changedTouches[0]:i,document.body)}}}),uv=ke({"src/lib/setcursor.js"(Z,H){"use strict";H.exports=function(x,A){(x.attr("class")||"").split(" ").forEach(function(S){S.indexOf("cursor-")===0&&x.classed(S,!1)}),A&&x.classed("cursor-"+A,!0)}}}),JE=ke({"src/lib/override_cursor.js"(Z,H){"use strict";var g=uv(),x="data-savedcursor",A="!!";H.exports=function(e,t){var r=e.attr(x);if(t){if(!r){for(var o=(e.attr("class")||"").split(" "),n=0;n(n==="legend"?1:0));if(P===!1&&(a[n]=void 0),!(P===!1&&!c.uirevision)&&(p("uirevision",a.uirevision),P!==!1)){p("borderwidth");var L=p("orientation"),z=p("yref"),F=p("xref"),B=L==="h",O=z==="paper",I=F==="paper",N,U,W,Q="left";B?(N=0,g.getComponentMethod("rangeslider","isVisible")(i.xaxis)?O?(U=1.1,W="bottom"):(U=1,W="top"):O?(U=-.1,W="top"):(U=0,W="bottom")):(U=1,W="auto",I?N=1.02:(N=1,Q="right")),x.coerce(c,h,{x:{valType:"number",editType:"legend",min:I?-2:0,max:I?3:1,dflt:N}},"x"),x.coerce(c,h,{y:{valType:"number",editType:"legend",min:O?-2:0,max:O?3:1,dflt:U}},"y"),p("traceorder",b),r.isGrouped(a[n])&&p("tracegroupgap"),p("entrywidth"),p("entrywidthmode"),p("indentation"),p("itemsizing"),p("itemwidth"),p("itemclick"),p("itemdoubleclick"),p("groupclick"),p("xanchor",Q),p("yanchor",W),p("valign"),x.noneOrAll(c,h,["x","y"]);var le=p("title.text");if(le){p("title.side",B?"left":"top");var se=x.extendFlat({},d,{size:x.bigFont(d.size)});x.coerceFont(p,"title.font",se)}}}}H.exports=function(i,a,s){var c,h=s.slice(),p=a.shapes;if(p)for(c=0;cP&&(f=P)}u[d][0]._groupMinRank=f,u[d][0]._preGroupSort=d}var L=function(N,U){return N[0]._groupMinRank-U[0]._groupMinRank||N[0]._preGroupSort-U[0]._preGroupSort},z=function(N,U){return N.trace.legendrank-U.trace.legendrank||N._preSort-U._preSort};for(u.forEach(function(N,U){N[0]._preGroupSort=U}),u.sort(L),d=0;d0)re=$.width;else return 0;return v?X:Math.min(re,J)};M.each(function(G){var $=g.select(this),J=A.ensureSingle($,"g","layers");J.style("opacity",G[0].trace.opacity);var X=m.indentation,re=m.valign,ae=G[0].lineHeight,j=G[0].height;if(re==="middle"&&X===0||!ae||!j)J.attr("transform",null);else{var ee={top:1,bottom:-1}[re],ie=ee*(.5*(ae-j+3))||0,ce=m.indentation;J.attr("transform",S(ce,ie))}var xe=J.selectAll("g.legendfill").data([G]);xe.enter().append("g").classed("legendfill",!0);var Te=J.selectAll("g.legendlines").data([G]);Te.enter().append("g").classed("legendlines",!0);var Ue=J.selectAll("g.legendsymbols").data([G]);Ue.enter().append("g").classed("legendsymbols",!0),Ue.selectAll("g.legendpoints").data([G]).enter().append("g").classed("legendpoints",!0)}).each(fe).each(F).each(O).each(B).each(N).each(le).each(Q).each(L).each(z).each(U).each(W);function L(G){var $=l(G),J=$.showFill,X=$.showLine,re=$.showGradientLine,ae=$.showGradientFill,j=$.anyFill,ee=$.anyLine,ie=G[0],ce=ie.trace,xe,Te,Ue=r(ce),Ie=Ue.colorscale,Ye=Ue.reversescale,it=function(Oe){if(Oe.size())if(J)e.fillGroupStyle(Oe,E,!0);else{var rt="legendfill-"+ce.uid;e.gradient(Oe,E,rt,T(Ye),Ie,"fill")}},at=function(Oe){if(Oe.size()){var rt="legendline-"+ce.uid;e.lineGroupStyle(Oe),e.gradient(Oe,E,rt,T(Ye),Ie,"stroke")}},tt=o.hasMarkers(ce)||!j?"M5,0":ee?"M5,-2":"M5,-3",ut=g.select(this),Me=ut.select(".legendfill").selectAll("path").data(J||ae?[G]:[]);if(Me.enter().append("path").classed("js-fill",!0),Me.exit().remove(),Me.attr("d",tt+"h"+u+"v6h-"+u+"z").call(it),X||re){var pe=P(void 0,ce.line,p,c);Te=A.minExtend(ce,{line:{width:pe}}),xe=[A.minExtend(ie,{trace:Te})]}var ue=ut.select(".legendlines").selectAll("path").data(X||re?[xe]:[]);ue.enter().append("path").classed("js-line",!0),ue.exit().remove(),ue.attr("d",tt+(re?"l"+u+",0.0001":"h"+u)).call(X?e.lineGroupStyle:at)}function z(G){var $=l(G),J=$.anyFill,X=$.anyLine,re=$.showLine,ae=$.showMarker,j=G[0],ee=j.trace,ie=!ae&&!X&&!J&&o.hasText(ee),ce,xe;function Te(Me,pe,ue,Oe){var rt=A.nestedProperty(ee,Me).get(),ot=A.isArrayOrTypedArray(rt)&&pe?pe(rt):rt;if(v&&ot&&Oe!==void 0&&(ot=Oe),ue){if(otue[1])return ue[1]}return ot}function Ue(Me){return j._distinct&&j.index&&Me[j.index]?Me[j.index]:Me[0]}if(ae||ie||re){var Ie={},Ye={};if(ae){Ie.mc=Te("marker.color",Ue),Ie.mx=Te("marker.symbol",Ue),Ie.mo=Te("marker.opacity",A.mean,[.2,1]),Ie.mlc=Te("marker.line.color",Ue),Ie.mlw=Te("marker.line.width",A.mean,[0,5],h),Ye.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var it=Te("marker.size",A.mean,[2,16],s);Ie.ms=it,Ye.marker.size=it}re&&(Ye.line={width:Te("line.width",Ue,[0,10],c)}),ie&&(Ie.tx="Aa",Ie.tp=Te("textposition",Ue),Ie.ts=10,Ie.tc=Te("textfont.color",Ue),Ie.tf=Te("textfont.family",Ue),Ie.tw=Te("textfont.weight",Ue),Ie.ty=Te("textfont.style",Ue),Ie.tv=Te("textfont.variant",Ue),Ie.tC=Te("textfont.textcase",Ue),Ie.tE=Te("textfont.lineposition",Ue),Ie.tS=Te("textfont.shadow",Ue)),ce=[A.minExtend(j,Ie)],xe=A.minExtend(ee,Ye),xe.selectedpoints=null,xe.texttemplate=null}var at=g.select(this).select("g.legendpoints"),tt=at.selectAll("path.scatterpts").data(ae?ce:[]);tt.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",f),tt.exit().remove(),tt.call(e.pointStyle,xe,E),ae&&(ce[0].mrc=3);var ut=at.selectAll("g.pointtext").data(ie?ce:[]);ut.enter().append("g").classed("pointtext",!0).append("text").attr("transform",f),ut.exit().remove(),ut.selectAll("text").call(e.textPointStyle,xe,E)}function F(G){var $=G[0].trace,J=$.type==="waterfall";if(G[0]._distinct&&J){var X=G[0].trace[G[0].dir].marker;return G[0].mc=X.color,G[0].mlw=X.line.width,G[0].mlc=X.line.color,I(G,this,"waterfall")}var re=[];$.visible&&J&&(re=G[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var ae=g.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(re);ae.enter().append("path").classed("legendwaterfall",!0).attr("transform",f).style("stroke-miterlimit",1),ae.exit().remove(),ae.each(function(j){var ee=g.select(this),ie=$[j[0]].marker,ce=P(void 0,ie.line,d,h);ee.attr("d",j[1]).style("stroke-width",ce+"px").call(t.fill,ie.color),ce&&ee.call(t.stroke,ie.line.color)})}function B(G){I(G,this)}function O(G){I(G,this,"funnel")}function I(G,$,J){var X=G[0].trace,re=X.marker||{},ae=re.line||{},j=re.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",ee=J?X.visible&&X.type===J:x.traceIs(X,"bar"),ie=g.select($).select("g.legendpoints").selectAll("path.legend"+J).data(ee?[G]:[]);ie.enter().append("path").classed("legend"+J,!0).attr("d",j).attr("transform",f),ie.exit().remove(),ie.each(function(ce){var xe=g.select(this),Te=ce[0],Ue=P(Te.mlw,re.line,d,h);xe.style("stroke-width",Ue+"px");var Ie=Te.mcc;if(!m._inHover&&"mc"in Te){var Ye=r(re),it=Ye.mid;it===void 0&&(it=(Ye.max+Ye.min)/2),Ie=e.tryColorscale(re,"")(it)}var at=Ie||Te.mc||re.color,tt=re.pattern,ut=tt&&e.getPatternAttr(tt.shape,0,"");if(ut){var Me=e.getPatternAttr(tt.bgcolor,0,null),pe=e.getPatternAttr(tt.fgcolor,0,null),ue=tt.fgopacity,Oe=_(tt.size,8,10),rt=_(tt.solidity,.5,1),ot="legend-"+X.uid;xe.call(e.pattern,"legend",E,ot,ut,Oe,rt,Ie,tt.fillmode,Me,pe,ue)}else xe.call(t.fill,at);Ue&&t.stroke(xe,Te.mlc||ae.color)})}function N(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendbox").data($.visible&&x.traceIs($,"box-violin")?[G]:[]);J.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",f),J.exit().remove(),J.each(function(){var X=g.select(this);if(($.boxpoints==="all"||$.points==="all")&&t.opacity($.fillcolor)===0&&t.opacity(($.line||{}).color)===0){var re=A.minExtend($,{marker:{size:v?s:A.constrain($.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});J.call(e.pointStyle,re,E)}else{var ae=P(void 0,$.line,d,h);X.style("stroke-width",ae+"px").call(t.fill,$.fillcolor),ae&&t.stroke(X,$.line.color)}})}function U(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendcandle").data($.visible&&$.type==="candlestick"?[G,G]:[]);J.enter().append("path").classed("legendcandle",!0).attr("d",function(X,re){return re?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",f).style("stroke-miterlimit",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?"increasing":"decreasing"],ee=P(void 0,j.line,d,h);ae.style("stroke-width",ee+"px").call(t.fill,j.fillcolor),ee&&t.stroke(ae,j.line.color)})}function W(G){var $=G[0].trace,J=g.select(this).select("g.legendpoints").selectAll("path.legendohlc").data($.visible&&$.type==="ohlc"?[G,G]:[]);J.enter().append("path").classed("legendohlc",!0).attr("d",function(X,re){return re?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",f).style("stroke-miterlimit",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?"increasing":"decreasing"],ee=P(void 0,j.line,d,h);ae.style("fill","none").call(e.dashLine,j.line.dash,ee),ee&&t.stroke(ae,j.line.color)})}function Q(G){se(G,this,"pie")}function le(G){se(G,this,"funnelarea")}function se(G,$,J){var X=G[0],re=X.trace,ae=J?re.visible&&re.type===J:x.traceIs(re,J),j=g.select($).select("g.legendpoints").selectAll("path.legend"+J).data(ae?[G]:[]);if(j.enter().append("path").classed("legend"+J,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",f),j.exit().remove(),j.size()){var ee=re.marker||{},ie=P(i(ee.line.width,X.pts),ee.line,d,h),ce="pieLike",xe=A.minExtend(re,{marker:{line:{width:ie}}},ce),Te=A.minExtend(X,{trace:xe},ce);n(j,Te,xe,E)}}function fe(G){var $=G[0].trace,J,X=[];if($.visible)switch($.type){case"histogram2d":case"heatmap":X=[["M-15,-2V4H15V-2Z"]],J=!0;break;case"choropleth":case"choroplethmapbox":case"choroplethmap":X=[["M-6,-6V6H6V-6Z"]],J=!0;break;case"densitymapbox":case"densitymap":X=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],J="radial";break;case"cone":X=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],J=!1;break;case"streamtube":X=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],J=!1;break;case"surface":X=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],J=!0;break;case"mesh3d":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],J=!1;break;case"volume":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],J=!0;break;case"isosurface":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],J=!1;break}var re=g.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(X);re.enter().append("path").classed("legend3dandfriends",!0).attr("transform",f).style("stroke-miterlimit",1),re.exit().remove(),re.each(function(ae,j){var ee=g.select(this),ie=r($),ce=ie.colorscale,xe=ie.reversescale,Te=function(it){if(it.size()){var at="legendfill-"+$.uid;e.gradient(it,E,at,T(xe,J==="radial"),ce,"fill")}},Ue;if(ce){if(!J){var Ye=ce.length;Ue=j===0?ce[xe?Ye-1:0][1]:j===1?ce[xe?0:Ye-1][1]:ce[Math.floor((Ye-1)/2)][1]}}else{var Ie=$.vertexcolor||$.facecolor||$.color;Ue=A.isArrayOrTypedArray(Ie)?Ie[j]||Ie[0]:Ie}ee.attr("d",ae[0]),Ue?ee.call(t.fill,Ue):ee.call(Te)})}};function T(w,M){var E=M?"radial":"horizontal";return E+(w?"":"reversed")}function l(w){var M=w[0].trace,E=M.contours,m=o.hasLines(M),b=o.hasMarkers(M),v=M.visible&&M.fill&&M.fill!=="none",u=!1,y=!1;if(E){var f=E.coloring;f==="lines"?u=!0:m=f==="none"||f==="heatmap"||E.showlines,E.type==="constraint"?v=E._operation!=="=":(f==="fill"||f==="heatmap")&&(y=!0)}return{showMarker:b,showLine:m,showFill:v,showGradientLine:u,showGradientFill:y,anyLine:m||u,anyFill:v||y}}function _(w,M,E){return w&&A.isArrayOrTypedArray(w)?M:w>E?E:w}}}),n2=ke({"src/components/legend/draw.js"(Z,H){"use strict";var g=_i(),x=un(),A=Zu(),S=lo(),e=jg(),t=Xh(),r=$o(),o=eo(),n=Wl(),i=$E(),a=t2(),s=Yf(),c=s.LINE_SPACING,h=s.FROM_TL,p=s.FROM_BR,d=QE(),T=r2(),l=h_(),_=1,w=/^legend[0-9]*$/;H.exports=function(U,W){if(W)E(U,W);else{var Q=U._fullLayout,le=Q._legends,se=Q._infolayer.selectAll('[class^="legend"]');se.each(function(){var J=g.select(this),X=J.attr("class"),re=X.split(" ")[0];re.match(w)&&le.indexOf(re)===-1&&J.remove()});for(var fe=0;fe1)}var ee=Q.hiddenlabels||[];if(!G&&(!Q.showlegend||!$.length))return fe.selectAll("."+le).remove(),Q._topdefs.select("#"+se).remove(),A.autoMargin(N,le);var ie=x.ensureSingle(fe,"g",le,function(tt){G||tt.attr("pointer-events","all")}),ce=x.ensureSingleById(Q._topdefs,"clipPath",se,function(tt){tt.append("rect")}),xe=x.ensureSingle(ie,"rect","bg",function(tt){tt.attr("shape-rendering","crispEdges")});xe.call(o.stroke,W.bordercolor).call(o.fill,W.bgcolor).style("stroke-width",W.borderwidth+"px");var Te=x.ensureSingle(ie,"g","scrollbox"),Ue=W.title;W._titleWidth=0,W._titleHeight=0;var Ie;Ue.text?(Ie=x.ensureSingle(Te,"text",le+"titletext"),Ie.attr("text-anchor","start").call(r.font,Ue.font).text(Ue.text),f(Ie,Te,N,W,_)):Te.selectAll("."+le+"titletext").remove();var Ye=x.ensureSingle(ie,"rect","scrollbar",function(tt){tt.attr(a.scrollBarEnterAttrs).call(o.fill,a.scrollBarColor)}),it=Te.selectAll("g.groups").data($);it.enter().append("g").attr("class","groups"),it.exit().remove();var at=it.selectAll("g.traces").data(x.identity);at.enter().append("g").attr("class","traces"),at.exit().remove(),at.style("opacity",function(tt){var ut=tt[0].trace;return S.traceIs(ut,"pie-like")?ee.indexOf(tt[0].label)!==-1?.5:1:ut.visible==="legendonly"?.5:1}).each(function(){g.select(this).call(v,N,W)}).call(T,N,W).each(function(){G||g.select(this).call(y,N,le)}),x.syncOrAsync([A.previousPromises,function(){return z(N,it,at,W)},function(){var tt=Q._size,ut=W.borderwidth,Me=W.xref==="paper",pe=W.yref==="paper";if(Ue.text&&M(Ie,W,ut),!G){var ue,Oe;Me?ue=tt.l+tt.w*W.x-h[B(W)]*W._width:ue=Q.width*W.x-h[B(W)]*W._width,pe?Oe=tt.t+tt.h*(1-W.y)-h[O(W)]*W._effHeight:Oe=Q.height*(1-W.y)-h[O(W)]*W._effHeight;var rt=F(N,le,ue,Oe);if(rt)return;if(Q.margin.autoexpand){var ot=ue,et=Oe;ue=Me?x.constrain(ue,0,Q.width-W._width):ot,Oe=pe?x.constrain(Oe,0,Q.height-W._effHeight):et,ue!==ot&&x.log("Constrain "+le+".x to make legend fit inside graph"),Oe!==et&&x.log("Constrain "+le+".y to make legend fit inside graph")}r.setTranslate(ie,ue,Oe)}if(Ye.on(".drag",null),ie.on("wheel",null),G||W._height<=W._maxHeight||N._context.staticPlot){var Lt=W._effHeight;G&&(Lt=W._height),xe.attr({width:W._width-ut,height:Lt-ut,x:ut/2,y:ut/2}),r.setTranslate(Te,0,0),ce.select("rect").attr({width:W._width-2*ut,height:Lt-2*ut,x:ut,y:ut}),r.setClipUrl(Te,se,N),r.setRect(Ye,0,0,0,0),delete W._scrollY}else{var Et=Math.max(a.scrollBarMinHeight,W._effHeight*W._effHeight/W._height),Bt=W._effHeight-Et-2*a.scrollBarMargin,qt=W._height-W._effHeight,fr=Bt/qt,ar=Math.min(W._scrollY||0,qt);xe.attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-ut,x:ut/2,y:ut/2}),ce.select("rect").attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-2*ut,x:ut,y:ut+ar}),r.setClipUrl(Te,se,N),Se(ar,Et,fr),ie.on("wheel",function(){ar=x.constrain(W._scrollY+g.event.deltaY/Bt*qt,0,qt),Se(ar,Et,fr),ar!==0&&ar!==qt&&g.event.preventDefault()});var Rr,gr,br,_t=function(nt,pt,bt){var Rt=(bt-pt)/fr+nt;return x.constrain(Rt,0,qt)},Be=function(nt,pt,bt){var Rt=(pt-bt)/fr+nt;return x.constrain(Rt,0,qt)},Ke=g.behavior.drag().on("dragstart",function(){var nt=g.event.sourceEvent;nt.type==="touchstart"?Rr=nt.changedTouches[0].clientY:Rr=nt.clientY,br=ar}).on("drag",function(){var nt=g.event.sourceEvent;nt.buttons===2||nt.ctrlKey||(nt.type==="touchmove"?gr=nt.changedTouches[0].clientY:gr=nt.clientY,ar=_t(br,Rr,gr),Se(ar,Et,fr))});Ye.call(Ke);var je=g.behavior.drag().on("dragstart",function(){var nt=g.event.sourceEvent;nt.type==="touchstart"&&(Rr=nt.changedTouches[0].clientY,br=ar)}).on("drag",function(){var nt=g.event.sourceEvent;nt.type==="touchmove"&&(gr=nt.changedTouches[0].clientY,ar=Be(br,Rr,gr),Se(ar,Et,fr))});Te.call(je)}function Se(nt,pt,bt){W._scrollY=N._fullLayout[le]._scrollY=nt,r.setTranslate(Te,0,-nt),r.setRect(Ye,W._width,a.scrollBarMargin+nt*bt,a.scrollBarWidth,pt),ce.select("rect").attr("y",ut+nt)}if(N._context.edits.legendPosition){var He,Ee,we,Le;ie.classed("cursor-move",!0),t.init({element:ie.node(),gd:N,prepFn:function(nt){if(nt.target!==Ye.node()){var pt=r.getTranslate(ie);we=pt.x,Le=pt.y}},moveFn:function(nt,pt){if(we!==void 0&&Le!==void 0){var bt=we+nt,Rt=Le+pt;r.setTranslate(ie,bt,Rt),He=t.align(bt,W._width,tt.l,tt.l+tt.w,W.xanchor),Ee=t.align(Rt+W._height,-W._height,tt.t+tt.h,tt.t,W.yanchor)}},doneFn:function(){if(He!==void 0&&Ee!==void 0){var nt={};nt[le+".x"]=He,nt[le+".y"]=Ee,S.call("_guiRelayout",N,nt)}},clickFn:function(nt,pt){var bt=fe.selectAll("g.traces").filter(function(){var Rt=this.getBoundingClientRect();return pt.clientX>=Rt.left&&pt.clientX<=Rt.right&&pt.clientY>=Rt.top&&pt.clientY<=Rt.bottom});bt.size()>0&&b(N,ie,bt,nt,pt)}})}}],N)}}function m(N,U,W){var Q=N[0],le=Q.width,se=U.entrywidthmode,fe=Q.trace.legendwidth||U.entrywidth;return se==="fraction"?U._maxWidth*fe:W+(fe||le)}function b(N,U,W,Q,le){var se=W.data()[0][0].trace,fe={event:le,node:W.node(),curveNumber:se.index,expandedIndex:se.index,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};se._group&&(fe.group=se._group),S.traceIs(se,"pie-like")&&(fe.label=W.datum()[0].label);var G=e.triggerHandler(N,"plotly_legendclick",fe);if(Q===1){if(G===!1)return;U._clickTimeout=setTimeout(function(){N._fullLayout&&i(W,N,Q)},N._context.doubleClickDelay)}else if(Q===2){U._clickTimeout&&clearTimeout(U._clickTimeout),N._legendMouseDownTime=0;var $=e.triggerHandler(N,"plotly_legenddoubleclick",fe);$!==!1&&G!==!1&&i(W,N,Q)}}function v(N,U,W){var Q=I(W),le=N.data()[0][0],se=le.trace,fe=S.traceIs(se,"pie-like"),G=!W._inHover&&U._context.edits.legendText&&!fe,$=W._maxNameLength,J,X;le.groupTitle?(J=le.groupTitle.text,X=le.groupTitle.font):(X=W.font,W.entries?J=le.text:(J=fe?le.label:se.name,se._meta&&(J=x.templateString(J,se._meta))));var re=x.ensureSingle(N,"text",Q+"text");re.attr("text-anchor","start").call(r.font,X).text(G?u(J,$):J);var ae=W.indentation+W.itemwidth+a.itemGap*2;n.positionText(re,ae,0),G?re.call(n.makeEditable,{gd:U,text:J}).call(f,N,U,W).on("edit",function(j){this.text(u(j,$)).call(f,N,U,W);var ee=le.trace._fullInput||{},ie={};return ie.name=j,ee._isShape?S.call("_guiRelayout",U,"shapes["+se.index+"].name",ie.name):S.call("_guiRestyle",U,ie,se.index)}):f(re,N,U,W)}function u(N,U){var W=Math.max(4,U);if(N&&N.trim().length>=W/2)return N;N=N||"";for(var Q=W-N.length;Q>0;Q--)N+=" ";return N}function y(N,U,W){var Q=U._context.doubleClickDelay,le,se=1,fe=x.ensureSingle(N,"rect",W+"toggle",function(G){U._context.staticPlot||G.style("cursor","pointer").attr("pointer-events","all"),G.call(o.fill,"rgba(0,0,0,0)")});U._context.staticPlot||(fe.on("mousedown",function(){le=new Date().getTime(),le-U._legendMouseDownTimeQ&&(se=Math.max(se-1,1)),b(U,G,N,se,g.event)}}))}function f(N,U,W,Q,le){Q._inHover&&N.attr("data-notex",!0),n.convertToTspans(N,W,function(){P(U,W,Q,le)})}function P(N,U,W,Q){var le=N.data()[0][0];if(!W._inHover&&le&&!le.trace.showlegend){N.remove();return}var se=N.select("g[class*=math-group]"),fe=se.node(),G=I(W);W||(W=U._fullLayout[G]);var $=W.borderwidth,J;Q===_?J=W.title.font:le.groupTitle?J=le.groupTitle.font:J=W.font;var X=J.size*c,re,ae;if(fe){var j=r.bBox(fe);re=j.height,ae=j.width,Q===_?r.setTranslate(se,$,$+re*.75):r.setTranslate(se,0,re*.25)}else{var ee="."+G+(Q===_?"title":"")+"text",ie=N.select(ee),ce=n.lineCount(ie),xe=ie.node();if(re=X*ce,ae=xe?r.bBox(xe).width:0,Q===_)W.title.side==="left"&&(ae+=a.itemGap*2),n.positionText(ie,$+a.titlePad,$+X);else{var Te=a.itemGap*2+W.indentation+W.itemwidth;le.groupTitle&&(Te=a.itemGap,ae-=W.indentation+W.itemwidth),n.positionText(ie,Te,-X*((ce-1)/2-.3))}}Q===_?(W._titleWidth=ae,W._titleHeight=re):(le.lineHeight=X,le.height=Math.max(re,16)+3,le.width=ae)}function L(N){var U=0,W=0,Q=N.title.side;return Q&&(Q.indexOf("left")!==-1&&(U=N._titleWidth),Q.indexOf("top")!==-1&&(W=N._titleHeight)),[U,W]}function z(N,U,W,Q){var le=N._fullLayout,se=I(Q);Q||(Q=le[se]);var fe=le._size,G=l.isVertical(Q),$=l.isGrouped(Q),J=Q.entrywidthmode==="fraction",X=Q.borderwidth,re=2*X,ae=a.itemGap,j=Q.indentation+Q.itemwidth+ae*2,ee=2*(X+ae),ie=O(Q),ce=Q.y<0||Q.y===0&&ie==="top",xe=Q.y>1||Q.y===1&&ie==="bottom",Te=Q.tracegroupgap,Ue={};Q._maxHeight=Math.max(ce||xe?le.height/2:fe.h,30);var Ie=0;Q._width=0,Q._height=0;var Ye=L(Q);if(G)W.each(function(br){var _t=br[0].height;r.setTranslate(this,X+Ye[0],X+Ye[1]+Q._height+_t/2+ae),Q._height+=_t,Q._width=Math.max(Q._width,br[0].width)}),Ie=j+Q._width,Q._width+=ae+j+re,Q._height+=ee,$&&(U.each(function(br,_t){r.setTranslate(this,0,_t*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var it=B(Q),at=Q.x<0||Q.x===0&&it==="right",tt=Q.x>1||Q.x===1&&it==="left",ut=xe||ce,Me=le.width/2;Q._maxWidth=Math.max(at?ut&&it==="left"?fe.l+fe.w:Me:tt?ut&&it==="right"?fe.r+fe.w:Me:fe.w,2*j);var pe=0,ue=0;W.each(function(br){var _t=m(br,Q,j);pe=Math.max(pe,_t),ue+=_t}),Ie=null;var Oe=0;if($){var rt=0,ot=0,et=0;U.each(function(){var br=0,_t=0;g.select(this).selectAll("g.traces").each(function(Ke){var je=m(Ke,Q,j),Se=Ke[0].height;r.setTranslate(this,Ye[0],Ye[1]+X+ae+Se/2+_t),_t+=Se,br=Math.max(br,je),Ue[Ke[0].trace.legendgroup]=br});var Be=br+ae;ot>0&&Be+X+ot>Q._maxWidth?(Oe=Math.max(Oe,ot),ot=0,et+=rt+Te,rt=_t):rt=Math.max(rt,_t),r.setTranslate(this,ot,et),ot+=Be}),Q._width=Math.max(Oe,ot)+X,Q._height=et+rt+ee}else{var Lt=W.size(),Et=ue+re+(Lt-1)*ae=Q._maxWidth&&(Oe=Math.max(Oe,ar),qt=0,fr+=Bt,Q._height+=Bt,Bt=0),r.setTranslate(this,Ye[0]+X+qt,Ye[1]+X+fr+_t/2+ae),ar=qt+Be+ae,qt+=Ke,Bt=Math.max(Bt,_t)}),Et?(Q._width=qt+re,Q._height=Bt+ee):(Q._width=Math.max(Oe,ar)+re,Q._height+=Bt+ee)}}Q._width=Math.ceil(Math.max(Q._width+Ye[0],Q._titleWidth+2*(X+a.titlePad))),Q._height=Math.ceil(Math.max(Q._height+Ye[1],Q._titleHeight+2*(X+a.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Rr=N._context.edits,gr=Rr.legendText||Rr.legendPosition;W.each(function(br){var _t=g.select(this).select("."+se+"toggle"),Be=br[0].height,Ke=br[0].trace.legendgroup,je=m(br,Q,j);$&&Ke!==""&&(je=Ue[Ke]);var Se=gr?j:Ie||je;!G&&!J&&(Se+=ae/2),r.setRect(_t,0,-Be/2,Se,Be)})}function F(N,U,W,Q){var le=N._fullLayout,se=le[U],fe=B(se),G=O(se),$=se.xref==="paper",J=se.yref==="paper";N._fullLayout._reservedMargin[U]={};var X=se.y<.5?"b":"t",re=se.x<.5?"l":"r",ae={r:le.width-W,l:W+se._width,b:le.height-Q,t:Q+se._effHeight};if($&&J)return A.autoMargin(N,U,{x:se.x,y:se.y,l:se._width*h[fe],r:se._width*p[fe],b:se._effHeight*p[G],t:se._effHeight*h[G]});$?N._fullLayout._reservedMargin[U][X]=ae[X]:J||se.orientation==="v"?N._fullLayout._reservedMargin[U][re]=ae[re]:N._fullLayout._reservedMargin[U][X]=ae[X]}function B(N){return x.isRightAnchor(N)?"right":x.isCenterAnchor(N)?"center":"left"}function O(N){return x.isBottomAnchor(N)?"bottom":x.isMiddleAnchor(N)?"middle":"top"}function I(N){return N._id||"legend"}}}),i2=ke({"src/components/fx/hover.js"(Z){"use strict";var H=_i(),g=Yn(),x=ru(),A=un(),S=A.pushUnique,e=A.strTranslate,t=A.strRotate,r=jg(),o=Wl(),n=JE(),i=$o(),a=eo(),s=Xh(),c=Ho(),h=oh().zindexSeparator,p=lo(),d=gd(),T=Ed(),l=e2(),_=n2(),w=T.YANGLE,M=Math.PI*w/180,E=1/Math.sin(M),m=Math.cos(M),b=Math.sin(M),v=T.HOVERARROWSIZE,u=T.HOVERTEXTPAD,y={box:!0,ohlc:!0,violin:!0,candlestick:!0},f={scatter:!0,scattergl:!0,splom:!0};function P(j,ee){return j.distance-ee.distance}Z.hover=function(ee,ie,ce,xe){ee=A.getGraphDiv(ee);var Te=ie.target;A.throttle(ee._fullLayout._uid+T.HOVERID,T.HOVERMINTIME,function(){L(ee,ie,ce,xe,Te)})},Z.loneHover=function(ee,ie){var ce=!0;Array.isArray(ee)||(ce=!1,ee=[ee]);var xe=ie.gd,Te=X(xe),Ue=re(xe),Ie=ee.map(function(Oe){var rt=Oe._x0||Oe.x0||Oe.x||0,ot=Oe._x1||Oe.x1||Oe.x||0,et=Oe._y0||Oe.y0||Oe.y||0,Lt=Oe._y1||Oe.y1||Oe.y||0,Et=Oe.eventData;if(Et){var Bt=Math.min(rt,ot),qt=Math.max(rt,ot),fr=Math.min(et,Lt),ar=Math.max(et,Lt),Rr=Oe.trace;if(p.traceIs(Rr,"gl3d")){var gr=xe._fullLayout[Rr.scene]._scene.container,br=gr.offsetLeft,_t=gr.offsetTop;Bt+=br,qt+=br,fr+=_t,ar+=_t}Et.bbox={x0:Bt+Ue,x1:qt+Ue,y0:fr+Te,y1:ar+Te},ie.inOut_bbox&&ie.inOut_bbox.push(Et.bbox)}else Et=!1;return{color:Oe.color||a.defaultLine,x0:Oe.x0||Oe.x||0,x1:Oe.x1||Oe.x||0,y0:Oe.y0||Oe.y||0,y1:Oe.y1||Oe.y||0,xLabel:Oe.xLabel,yLabel:Oe.yLabel,zLabel:Oe.zLabel,text:Oe.text,name:Oe.name,idealAlign:Oe.idealAlign,borderColor:Oe.borderColor,fontFamily:Oe.fontFamily,fontSize:Oe.fontSize,fontColor:Oe.fontColor,fontWeight:Oe.fontWeight,fontStyle:Oe.fontStyle,fontVariant:Oe.fontVariant,nameLength:Oe.nameLength,textAlign:Oe.textAlign,trace:Oe.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:Oe.hovertemplate||!1,hovertemplateLabels:Oe.hovertemplateLabels||!1,eventData:Et}}),Ye=!1,it=B(Ie,{gd:xe,hovermode:"closest",rotateLabels:Ye,bgColor:ie.bgColor||a.background,container:H.select(ie.container),outerContainer:ie.outerContainer||ie.container}),at=it.hoverLabels,tt=5,ut=0,Me=0;at.sort(function(Oe,rt){return Oe.y0-rt.y0}).each(function(Oe,rt){var ot=Oe.y0-Oe.by/2;ot-ttqt[0]._length||ni<0||ni>fr[0]._length)return s.unhoverRaw(j,ee)}if(ee.pointerX=On+qt[0]._offset,ee.pointerY=ni+fr[0]._offset,"xval"in ee?je=d.flat(Te,ee.xval):je=d.p2c(qt,On),"yval"in ee?Se=d.flat(Te,ee.yval):Se=d.p2c(fr,ni),!g(je[0])||!g(Se[0]))return A.warn("Fx.hover failed",ee,j),s.unhoverRaw(j,ee)}var gi=1/0;function Zt(pa,cs){for(Ee=0;Ee$t&&(Be.splice(0,$t),gi=Be[0].distance),tt&&_t!==0&&Be.length===0){Xt.distance=_t,Xt.index=!1;var Ka=Le._module.hoverPoints(Xt,Rt,Nt,"closest",{hoverLayer:Ie._hoverlayer});if(Ka&&(Ka=Ka.filter(function(Ls){return Ls.spikeDistance<=_t})),Ka&&Ka.length){var Yo,ns=Ka.filter(function(Ls){return Ls.xa.showspikes&&Ls.xa.spikesnap!=="hovered data"});if(ns.length){var hs=ns[0];g(hs.x0)&&g(hs.y0)&&(Yo=Ht(hs),(!ur.vLinePoint||ur.vLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.vLinePoint=Yo))}var ho=Ka.filter(function(Ls){return Ls.ya.showspikes&&Ls.ya.spikesnap!=="hovered data"});if(ho.length){var Ro=ho[0];g(Ro.x0)&&g(Ro.y0)&&(Yo=Ht(Ro),(!ur.hLinePoint||ur.hLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.hLinePoint=Yo))}}}}}Zt();function Ft(pa,cs,Ko){for(var gs=null,Ya=1/0,zo,Ka=0;Ka0&&Math.abs(pa.distance)Pr-1;nn--)Dr(Be[nn]);Be=Mr,xn()}var vn=j._hoverdata,gn=[],kt=X(j),or=re(j);for(He=0;He1||Be.length>1)||ut==="closest"&&pn&&Be.length>1,to=a.combine(Ie.plot_bgcolor||a.background,Ie.paper_bgcolor),yo=B(Be,{gd:j,hovermode:ut,rotateLabels:qa,bgColor:to,container:Ie._hoverlayer,outerContainer:Ie._paper.node(),commonLabelOpts:Ie.hoverlabel,hoverdistance:Ie.hoverdistance}),Xa=yo.hoverLabels;if(d.isUnifiedHover(ut)||(I(Xa,qa,Ie,yo.commonLabelBoundingBox),W(Xa,qa,Ie._invScaleX,Ie._invScaleY)),xe&&xe.tagName){var Go=p.getComponentMethod("annotations","hasClickToShow")(j,gn);n(H.select(xe),Go?"pointer":"")}!xe||ce||!se(j,ee,vn)||(vn&&j.emit("plotly_unhover",{event:ee,points:vn}),j.emit("plotly_hover",{event:ee,points:j._hoverdata,xaxes:qt,yaxes:fr,xvals:je,yvals:Se}))}function z(j){return[j.trace.index,j.index,j.x0,j.y0,j.name,j.attr,j.xa?j.xa._id:"",j.ya?j.ya._id:""].join(",")}var F=/([\s\S]*)<\/extra>/;function B(j,ee){var ie=ee.gd,ce=ie._fullLayout,xe=ee.hovermode,Te=ee.rotateLabels,Ue=ee.bgColor,Ie=ee.container,Ye=ee.outerContainer,it=ee.commonLabelOpts||{};if(j.length===0)return[[]];var at=ee.fontFamily||T.HOVERFONT,tt=ee.fontSize||T.HOVERFONTSIZE,ut=ee.fontWeight||ce.font.weight,Me=ee.fontStyle||ce.font.style,pe=ee.fontVariant||ce.font.variant,ue=ee.fontTextcase||ce.font.textcase,Oe=ee.fontLineposition||ce.font.lineposition,rt=ee.fontShadow||ce.font.shadow,ot=j[0],et=ot.xa,Lt=ot.ya,Et=xe.charAt(0),Bt=Et+"Label",qt=ot[Bt];if(qt===void 0&&et.type==="multicategory")for(var fr=0;frce.width-vn&&(gn=ce.width-vn),ui.attr("d","M"+(Ur-gn)+",0L"+(Ur-gn+v)+","+nn+v+"H"+vn+"v"+nn+(u*2+Lr.height)+"H"+-vn+"V"+nn+v+"H"+(Ur-gn-v)+"Z"),Ur=gn,Ee.minX=Ur-vn,Ee.maxX=Ur+vn,et.side==="top"?(Ee.minY=Dr-(u*2+Lr.height),Ee.maxY=Dr-u):(Ee.minY=Dr+u,Ee.maxY=Dr+(u*2+Lr.height))}else{var kt,or,yr;Lt.side==="right"?(kt="start",or=1,yr="",Ur=et._offset+et._length):(kt="end",or=-1,yr="-",Ur=et._offset),Dr=Lt._offset+(ot.y0+ot.y1)/2,gt.attr("text-anchor",kt),ui.attr("d","M0,0L"+yr+v+","+v+"V"+(u+Lr.height/2)+"h"+yr+(u*2+Lr.width)+"V-"+(u+Lr.height/2)+"H"+yr+v+"V-"+v+"Z"),Ee.minY=Dr-(u+Lr.height/2),Ee.maxY=Dr+(u+Lr.height/2),Lt.side==="right"?(Ee.minX=Ur+v,Ee.maxX=Ur+v+(u*2+Lr.width)):(Ee.minX=Ur-v-(u*2+Lr.width),Ee.maxX=Ur-v);var on=Lr.height/2,An=Rr-Lr.top-on,Zn="clip"+ce._uid+"commonlabel"+Lt._id,Bn;if(Ur=0?Fn=wr:$r+ni=0?Fn=$r:xn+ni=0?Wn=Ht:Vt+zn=0?Wn=Vt:en+zn=0,(Sn.idealAlign==="top"||!Ui)&&pi?(yr-=An/2,Sn.anchor="end"):Ui?(yr+=An/2,Sn.anchor="start"):Sn.anchor="middle",Sn.crossPos=yr;else{if(Sn.pos=yr,Ui=or+on/2+Dn<=gr,pi=or-on/2-Dn>=0,(Sn.idealAlign==="left"||!Ui)&&pi)or-=on/2,Sn.anchor="end";else if(Ui)or+=on/2,Sn.anchor="start";else{Sn.anchor="middle";var Ta=Dn/2,Sa=or+Ta-gr,qa=or-Ta;Sa>0&&(or-=Sa),qa<0&&(or+=-qa)}Sn.crossPos=or}Dr.attr("text-anchor",Sn.anchor),vn&&nn.attr("text-anchor",Sn.anchor),ui.attr("transform",e(or,yr)+(Te?t(w):""))}),{hoverLabels:ri,commonLabelBoundingBox:Ee}}function O(j,ee,ie,ce,xe,Te){var Ue="",Ie="";j.nameOverride!==void 0&&(j.name=j.nameOverride),j.name&&(j.trace._meta&&(j.name=A.templateString(j.name,j.trace._meta)),Ue=G(j.name,j.nameLength));var Ye=ie.charAt(0),it=Ye==="x"?"y":"x";j.zLabel!==void 0?(j.xLabel!==void 0&&(Ie+="x: "+j.xLabel+"
"),j.yLabel!==void 0&&(Ie+="y: "+j.yLabel+"
"),j.trace.type!=="choropleth"&&j.trace.type!=="choroplethmapbox"&&j.trace.type!=="choroplethmap"&&(Ie+=(Ie?"z: ":"")+j.zLabel)):ee&&j[Ye+"Label"]===xe?Ie=j[it+"Label"]||"":j.xLabel===void 0?j.yLabel!==void 0&&j.trace.type!=="scattercarpet"&&(Ie=j.yLabel):j.yLabel===void 0?Ie=j.xLabel:Ie="("+j.xLabel+", "+j.yLabel+")",(j.text||j.text===0)&&!Array.isArray(j.text)&&(Ie+=(Ie?"
":"")+j.text),j.extraText!==void 0&&(Ie+=(Ie?"
":"")+j.extraText),Te&&Ie===""&&!j.hovertemplate&&(Ue===""&&Te.remove(),Ie=Ue);var at=j.hovertemplate||!1;if(at){var tt=j.hovertemplateLabels||j;j[Ye+"Label"]!==xe&&(tt[Ye+"other"]=tt[Ye+"Val"],tt[Ye+"otherLabel"]=tt[Ye+"Label"]),Ie=A.hovertemplateString(at,tt,ce._d3locale,j.eventData[0]||{},j.trace._meta),Ie=Ie.replace(F,function(ut,Me){return Ue=G(Me,j.nameLength),""})}return[Ie,Ue]}function I(j,ee,ie,ce){var xe=ee?"xa":"ya",Te=ee?"ya":"xa",Ue=0,Ie=1,Ye=j.size(),it=new Array(Ye),at=0,tt=ce.minX,ut=ce.maxX,Me=ce.minY,pe=ce.maxY,ue=function(je){return je*ie._invScaleX},Oe=function(je){return je*ie._invScaleY};j.each(function(je){var Se=je[xe],He=je[Te],Ee=Se._id.charAt(0)==="x",we=Se.range;at===0&&we&&we[0]>we[1]!==Ee&&(Ie=-1);var Le=0,nt=Ee?ie.width:ie.height;if(ie.hovermode==="x"||ie.hovermode==="y"){var pt=N(je,ee),bt=je.anchor,Rt=bt==="end"?-1:1,Nt,Xt;if(bt==="middle")Nt=je.crossPos+(Ee?Oe(pt.y-je.by/2):ue(je.bx/2+je.tx2width/2)),Xt=Nt+(Ee?Oe(je.by):ue(je.bx));else if(Ee)Nt=je.crossPos+Oe(v+pt.y)-Oe(je.by/2-v),Xt=Nt+Oe(je.by);else{var $t=ue(Rt*v+pt.x),ur=$t+ue(Rt*je.bx);Nt=je.crossPos+Math.min($t,ur),Xt=je.crossPos+Math.max($t,ur)}Ee?Me!==void 0&&pe!==void 0&&Math.min(Xt,pe)-Math.max(Nt,Me)>1&&(He.side==="left"?(Le=He._mainLinePosition,nt=ie.width):nt=He._mainLinePosition):tt!==void 0&&ut!==void 0&&Math.min(Xt,ut)-Math.max(Nt,tt)>1&&(He.side==="top"?(Le=He._mainLinePosition,nt=ie.height):nt=He._mainLinePosition)}it[at++]=[{datum:je,traceIndex:je.trace.index,dp:0,pos:je.pos,posref:je.posref,size:je.by*(Ee?E:1)/2,pmin:Le,pmax:nt}]}),it.sort(function(je,Se){return je[0].posref-Se[0].posref||Ie*(Se[0].traceIndex-je[0].traceIndex)});var rt,ot,et,Lt,Et,Bt,qt;function fr(je){var Se=je[0],He=je[je.length-1];if(ot=Se.pmin-Se.pos-Se.dp+Se.size,et=He.pos+He.dp+He.size-Se.pmax,ot>.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp+=ot;rt=!1}if(!(et<.01)){if(ot<-.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp-=et;rt=!1}if(rt){var Ee=0;for(Lt=0;LtSe.pmax&&Ee++;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos>Se.pmax-1&&(Bt.del=!0,Ee--);for(Lt=0;Lt=0;Et--)je[Et].dp-=et;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos+Bt.dp+Bt.size>Se.pmax&&(Bt.del=!0,Ee--)}}}for(;!rt&&Ue<=Ye;){for(Ue++,rt=!0,Lt=0;Lt.01){for(Et=Rr.length-1;Et>=0;Et--)Rr[Et].dp+=ot;for(ar.push.apply(ar,Rr),it.splice(Lt+1,1),qt=0,Et=ar.length-1;Et>=0;Et--)qt+=ar[Et].dp;for(et=qt/ar.length,Et=ar.length-1;Et>=0;Et--)ar[Et].dp-=et;rt=!1}else Lt++}it.forEach(fr)}for(Lt=it.length-1;Lt>=0;Lt--){var _t=it[Lt];for(Et=_t.length-1;Et>=0;Et--){var Be=_t[Et],Ke=Be.datum;Ke.offset=Be.dp,Ke.del=Be.del}}}function N(j,ee){var ie=0,ce=j.offset;return ee&&(ce*=-b,ie=j.offset*m),{x:ie,y:ce}}function U(j){var ee={start:1,end:-1,middle:0}[j.anchor],ie=ee*(v+u),ce=ie+ee*(j.txwidth+u),xe=j.anchor==="middle";return xe&&(ie-=j.tx2width/2,ce+=j.txwidth/2+u),{alignShift:ee,textShiftX:ie,text2ShiftX:ce}}function W(j,ee,ie,ce){var xe=function(Ue){return Ue*ie},Te=function(Ue){return Ue*ce};j.each(function(Ue){var Ie=H.select(this);if(Ue.del)return Ie.remove();var Ye=Ie.select("text.nums"),it=Ue.anchor,at=it==="end"?-1:1,tt=U(Ue),ut=N(Ue,ee),Me=ut.x,pe=ut.y,ue=it==="middle";Ie.select("path").attr("d",ue?"M-"+xe(Ue.bx/2+Ue.tx2width/2)+","+Te(pe-Ue.by/2)+"h"+xe(Ue.bx)+"v"+Te(Ue.by)+"h-"+xe(Ue.bx)+"Z":"M0,0L"+xe(at*v+Me)+","+Te(v+pe)+"v"+Te(Ue.by/2-v)+"h"+xe(at*Ue.bx)+"v-"+Te(Ue.by)+"H"+xe(at*v+Me)+"V"+Te(pe-v)+"Z");var Oe=Me+tt.textShiftX,rt=pe+Ue.ty0-Ue.by/2+u,ot=Ue.textAlign||"auto";ot!=="auto"&&(ot==="left"&&it!=="start"?(Ye.attr("text-anchor","start"),Oe=ue?-Ue.bx/2-Ue.tx2width/2+u:-Ue.bx-u):ot==="right"&&it!=="end"&&(Ye.attr("text-anchor","end"),Oe=ue?Ue.bx/2-Ue.tx2width/2-u:Ue.bx+u)),Ye.call(o.positionText,xe(Oe),Te(rt)),Ue.tx2width&&(Ie.select("text.name").call(o.positionText,xe(tt.text2ShiftX+tt.alignShift*u+Me),Te(pe+Ue.ty0-Ue.by/2+u)),Ie.select("rect").call(i.setRect,xe(tt.text2ShiftX+(tt.alignShift-1)*Ue.tx2width/2+Me),Te(pe-Ue.by/2-1),xe(Ue.tx2width),Te(Ue.by+2)))})}function Q(j,ee){var ie=j.index,ce=j.trace||{},xe=j.cd[0],Te=j.cd[ie]||{};function Ue(ut){return ut||g(ut)&&ut===0}var Ie=Array.isArray(ie)?function(ut,Me){var pe=A.castOption(xe,ie,ut);return Ue(pe)?pe:A.extractOption({},ce,"",Me)}:function(ut,Me){return A.extractOption(Te,ce,ut,Me)};function Ye(ut,Me,pe){var ue=Ie(Me,pe);Ue(ue)&&(j[ut]=ue)}if(Ye("hoverinfo","hi","hoverinfo"),Ye("bgcolor","hbg","hoverlabel.bgcolor"),Ye("borderColor","hbc","hoverlabel.bordercolor"),Ye("fontFamily","htf","hoverlabel.font.family"),Ye("fontSize","hts","hoverlabel.font.size"),Ye("fontColor","htc","hoverlabel.font.color"),Ye("fontWeight","htw","hoverlabel.font.weight"),Ye("fontStyle","hty","hoverlabel.font.style"),Ye("fontVariant","htv","hoverlabel.font.variant"),Ye("nameLength","hnl","hoverlabel.namelength"),Ye("textAlign","hta","hoverlabel.align"),j.posref=ee==="y"||ee==="closest"&&ce.orientation==="h"?j.xa._offset+(j.x0+j.x1)/2:j.ya._offset+(j.y0+j.y1)/2,j.x0=A.constrain(j.x0,0,j.xa._length),j.x1=A.constrain(j.x1,0,j.xa._length),j.y0=A.constrain(j.y0,0,j.ya._length),j.y1=A.constrain(j.y1,0,j.ya._length),j.xLabelVal!==void 0&&(j.xLabel="xLabel"in j?j.xLabel:c.hoverLabelText(j.xa,j.xLabelVal,ce.xhoverformat),j.xVal=j.xa.c2d(j.xLabelVal)),j.yLabelVal!==void 0&&(j.yLabel="yLabel"in j?j.yLabel:c.hoverLabelText(j.ya,j.yLabelVal,ce.yhoverformat),j.yVal=j.ya.c2d(j.yLabelVal)),j.zLabelVal!==void 0&&j.zLabel===void 0&&(j.zLabel=String(j.zLabelVal)),!isNaN(j.xerr)&&!(j.xa.type==="log"&&j.xerr<=0)){var it=c.tickText(j.xa,j.xa.c2l(j.xerr),"hover").text;j.xerrneg!==void 0?j.xLabel+=" +"+it+" / -"+c.tickText(j.xa,j.xa.c2l(j.xerrneg),"hover").text:j.xLabel+=" \xB1 "+it,ee==="x"&&(j.distance+=1)}if(!isNaN(j.yerr)&&!(j.ya.type==="log"&&j.yerr<=0)){var at=c.tickText(j.ya,j.ya.c2l(j.yerr),"hover").text;j.yerrneg!==void 0?j.yLabel+=" +"+at+" / -"+c.tickText(j.ya,j.ya.c2l(j.yerrneg),"hover").text:j.yLabel+=" \xB1 "+at,ee==="y"&&(j.distance+=1)}var tt=j.hoverinfo||j.trace.hoverinfo;return tt&&tt!=="all"&&(tt=Array.isArray(tt)?tt:tt.split("+"),tt.indexOf("x")===-1&&(j.xLabel=void 0),tt.indexOf("y")===-1&&(j.yLabel=void 0),tt.indexOf("z")===-1&&(j.zLabel=void 0),tt.indexOf("text")===-1&&(j.text=void 0),tt.indexOf("name")===-1&&(j.name=void 0)),j}function le(j,ee,ie){var ce=ie.container,xe=ie.fullLayout,Te=xe._size,Ue=ie.event,Ie=!!ee.hLinePoint,Ye=!!ee.vLinePoint,it,at;if(ce.selectAll(".spikeline").remove(),!!(Ye||Ie)){var tt=a.combine(xe.plot_bgcolor,xe.paper_bgcolor);if(Ie){var ut=ee.hLinePoint,Me,pe;it=ut&&ut.xa,at=ut&&ut.ya;var ue=at.spikesnap;ue==="cursor"?(Me=Ue.pointerX,pe=Ue.pointerY):(Me=it._offset+ut.x,pe=at._offset+ut.y);var Oe=x.readability(ut.color,tt)<1.5?a.contrast(tt):ut.color,rt=at.spikemode,ot=at.spikethickness,et=at.spikecolor||Oe,Lt=c.getPxPosition(j,at),Et,Bt;if(rt.indexOf("toaxis")!==-1||rt.indexOf("across")!==-1){if(rt.indexOf("toaxis")!==-1&&(Et=Lt,Bt=Me),rt.indexOf("across")!==-1){var qt=at._counterDomainMin,fr=at._counterDomainMax;at.anchor==="free"&&(qt=Math.min(qt,at.position),fr=Math.max(fr,at.position)),Et=Te.l+qt*Te.w,Bt=Te.l+fr*Te.w}ce.insert("line",":first-child").attr({x1:Et,x2:Bt,y1:pe,y2:pe,"stroke-width":ot,stroke:et,"stroke-dasharray":i.dashStyle(at.spikedash,ot)}).classed("spikeline",!0).classed("crisp",!0),ce.insert("line",":first-child").attr({x1:Et,x2:Bt,y1:pe,y2:pe,"stroke-width":ot+2,stroke:tt}).classed("spikeline",!0).classed("crisp",!0)}rt.indexOf("marker")!==-1&&ce.insert("circle",":first-child").attr({cx:Lt+(at.side!=="right"?ot:-ot),cy:pe,r:ot,fill:et}).classed("spikeline",!0)}if(Ye){var ar=ee.vLinePoint,Rr,gr;it=ar&&ar.xa,at=ar&&ar.ya;var br=it.spikesnap;br==="cursor"?(Rr=Ue.pointerX,gr=Ue.pointerY):(Rr=it._offset+ar.x,gr=at._offset+ar.y);var _t=x.readability(ar.color,tt)<1.5?a.contrast(tt):ar.color,Be=it.spikemode,Ke=it.spikethickness,je=it.spikecolor||_t,Se=c.getPxPosition(j,it),He,Ee;if(Be.indexOf("toaxis")!==-1||Be.indexOf("across")!==-1){if(Be.indexOf("toaxis")!==-1&&(He=Se,Ee=gr),Be.indexOf("across")!==-1){var we=it._counterDomainMin,Le=it._counterDomainMax;it.anchor==="free"&&(we=Math.min(we,it.position),Le=Math.max(Le,it.position)),He=Te.t+(1-Le)*Te.h,Ee=Te.t+(1-we)*Te.h}ce.insert("line",":first-child").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,"stroke-width":Ke,stroke:je,"stroke-dasharray":i.dashStyle(it.spikedash,Ke)}).classed("spikeline",!0).classed("crisp",!0),ce.insert("line",":first-child").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,"stroke-width":Ke+2,stroke:tt}).classed("spikeline",!0).classed("crisp",!0)}Be.indexOf("marker")!==-1&&ce.insert("circle",":first-child").attr({cx:Rr,cy:Se-(it.side!=="top"?Ke:-Ke),r:Ke,fill:je}).classed("spikeline",!0)}}}function se(j,ee,ie){if(!ie||ie.length!==j._hoverdata.length)return!0;for(var ce=ie.length-1;ce>=0;ce--){var xe=ie[ce],Te=j._hoverdata[ce];if(xe.curveNumber!==Te.curveNumber||String(xe.pointNumber)!==String(Te.pointNumber)||String(xe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function fe(j,ee){return!ee||ee.vLinePoint!==j._spikepoints.vLinePoint||ee.hLinePoint!==j._spikepoints.hLinePoint}function G(j,ee){return o.plainText(j||"",{len:ee,allowedTags:["br","sub","sup","b","i","em","s","u"]})}function $(j,ee){for(var ie=ee.charAt(0),ce=[],xe=[],Te=[],Ue=0;Ue"," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}}}),v_=ke({"src/components/shapes/draw_newshape/constants.js"(Z,H){"use strict";var g=32;H.exports={CIRCLE_SIDES:g,i000:0,i090:g/4,i180:g/2,i270:g/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}}}),p_=ke({"src/components/selections/helpers.js"(Z,H){"use strict";var g=un().strTranslate;function x(t,r){switch(t.type){case"log":return t.p2d(r);case"date":return t.p2r(r,0,t.calendar);default:return t.p2r(r)}}function A(t,r){switch(t.type){case"log":return t.d2p(r);case"date":return t.r2p(r,0,t.calendar);default:return t.r2p(r)}}function S(t){var r=t._id.charAt(0)==="y"?1:0;return function(o){return x(t,o[r])}}function e(t){return g(t.xaxis._offset,t.yaxis._offset)}H.exports={p2r:x,r2p:A,axValue:S,getTransform:e}}}),Op=ke({"src/components/shapes/draw_newshape/helpers.js"(Z){"use strict";var H=$y(),g=v_(),x=g.CIRCLE_SIDES,A=g.SQRT2,S=p_(),e=S.p2r,t=S.r2p,r=[0,3,4,5,6,1,2],o=[0,3,4,1,2];Z.writePaths=function(a){var s=a.length;if(!s)return"M0,0Z";for(var c="",h=0;h0&&_l&&(w="X"),w});return h>l&&(_=_.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+c)),p+_})}function S(e,t){t=t||0;var r=0;return t&&e&&(e.type==="category"||e.type==="multicategory")&&(r=(e.r2p(1)-e.r2p(0))*t),r}}}),s2=ke({"src/components/shapes/display_labels.js"(Z,H){"use strict";var g=un(),x=Ho(),A=Wl(),S=$o(),e=Op().readPaths,t=Bp(),r=t.getPathString,o=a_(),n=Yf().FROM_TL;H.exports=function(c,h,p,d){if(d.selectAll(".shape-label").remove(),!!(p.label.text||p.label.texttemplate)){var T;if(p.label.texttemplate){var l={};if(p.type!=="path"){var _=x.getFromId(c,p.xref),w=x.getFromId(c,p.yref);for(var M in o){var E=o[M](p,_,w);E!==void 0&&(l[M]=E)}}T=g.texttemplateStringForShapes(p.label.texttemplate,{},c._fullLayout._d3locale,l)}else T=p.label.text;var m={"data-index":h},b=p.label.font,v={"data-notex":1},u=d.append("g").attr(m).classed("shape-label",!0),y=u.append("text").attr(v).classed("shape-label-text",!0).text(T),f,P,L,z;if(p.path){var F=r(c,p),B=e(F,c);f=1/0,L=1/0,P=-1/0,z=-1/0;for(var O=0;O=s?d=c-p:d=p-c,-180/Math.PI*Math.atan2(d,T)}function a(s,c,h,p,d,T,l){var _=d.label.textposition,w=d.label.textangle,M=d.label.padding,E=d.type,m=Math.PI/180*T,b=Math.sin(m),v=Math.cos(m),u=d.label.xanchor,y=d.label.yanchor,f,P,L,z;if(E==="line"){_==="start"?(f=s,P=c):_==="end"?(f=h,P=p):(f=(s+h)/2,P=(c+p)/2),u==="auto"&&(_==="start"?w==="auto"?h>s?u="left":hs?u="right":hs?u="right":hs?u="left":h1&&!(tt.length===2&&tt[1][0]==="Z")&&(G===0&&(tt[0][0]="M"),f[fe]=tt,B(),O())}}function ce(tt,ut){if(tt===2){fe=+ut.srcElement.getAttribute("data-i"),G=+ut.srcElement.getAttribute("data-j");var Me=f[fe];!T(Me)&&!l(Me)&&ie()}}function xe(tt){le=[];for(var ut=0;utB&&we>O&&!Se.shiftKey?s.getCursor(Le/Ee,1-nt/we):"move";c(f,pt),Et=pt.split("-")[0]}}function ar(Se){l(y)||(I&&($=ue(P.xanchor)),N&&(J=Oe(P.yanchor)),P.type==="path"?Te=P.path:(le=I?P.x0:ue(P.x0),se=N?P.y0:Oe(P.y0),fe=I?P.x1:ue(P.x1),G=N?P.y1:Oe(P.y1)),leG?(X=se,ee="y0",re=G,ie="y1"):(X=G,ee="y1",re=se,ie="y0"),fr(Se),Be(z,P),je(f,P,y),Lt.moveFn=Et==="move"?br:_t,Lt.altKey=Se.altKey)}function Rr(){l(y)||(c(f),Ke(z),M(f,y,P),x.call("_guiRelayout",y,F.getUpdateObj()))}function gr(){l(y)||Ke(z)}function br(Se,He){if(P.type==="path"){var Ee=function(nt){return nt},we=Ee,Le=Ee;I?Q("xanchor",P.xanchor=rt($+Se)):(we=function(pt){return rt(ue(pt)+Se)},Ie&&Ie.type==="date"&&(we=p.encodeDate(we))),N?Q("yanchor",P.yanchor=ot(J+He)):(Le=function(pt){return ot(Oe(pt)+He)},it&&it.type==="date"&&(Le=p.encodeDate(Le))),Q("path",P.path=m(Te,we,Le))}else I?Q("xanchor",P.xanchor=rt($+Se)):(Q("x0",P.x0=rt(le+Se)),Q("x1",P.x1=rt(fe+Se))),N?Q("yanchor",P.yanchor=ot(J+He)):(Q("y0",P.y0=ot(se+He)),Q("y1",P.y1=ot(G+He)));f.attr("d",d(y,P)),Be(z,P),r(y,L,P,Ue)}function _t(Se,He){if(W){var Ee=function(zn){return zn},we=Ee,Le=Ee;I?Q("xanchor",P.xanchor=rt($+Se)):(we=function(Qn){return rt(ue(Qn)+Se)},Ie&&Ie.type==="date"&&(we=p.encodeDate(we))),N?Q("yanchor",P.yanchor=ot(J+He)):(Le=function(Qn){return ot(Oe(Qn)+He)},it&&it.type==="date"&&(Le=p.encodeDate(Le))),Q("path",P.path=m(Te,we,Le))}else if(U){if(Et==="resize-over-start-point"){var nt=le+Se,pt=N?se-He:se+He;Q("x0",P.x0=I?nt:rt(nt)),Q("y0",P.y0=N?pt:ot(pt))}else if(Et==="resize-over-end-point"){var bt=fe+Se,Rt=N?G-He:G+He;Q("x1",P.x1=I?bt:rt(bt)),Q("y1",P.y1=N?Rt:ot(Rt))}}else{var Nt=function(zn){return Et.indexOf(zn)!==-1},Xt=Nt("n"),$t=Nt("s"),ur=Nt("w"),pn=Nt("e"),Rn=Xt?X+He:X,Nn=$t?re+He:re,On=ur?ae+Se:ae,ni=pn?j+Se:j;N&&(Xt&&(Rn=X-He),$t&&(Nn=re-He)),(!N&&Nn-Rn>O||N&&Rn-Nn>O)&&(Q(ee,P[ee]=N?Rn:ot(Rn)),Q(ie,P[ie]=N?Nn:ot(Nn))),ni-On>B&&(Q(ce,P[ce]=I?On:rt(On)),Q(xe,P[xe]=I?ni:rt(ni)))}f.attr("d",d(y,P)),Be(z,P),r(y,L,P,Ue)}function Be(Se,He){(I||N)&&Ee();function Ee(){var we=He.type!=="path",Le=Se.selectAll(".visual-cue").data([0]),nt=1;Le.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":nt}).classed("visual-cue",!0);var pt=ue(I?He.xanchor:A.midRange(we?[He.x0,He.x1]:p.extractPathCoords(He.path,h.paramIsX))),bt=Oe(N?He.yanchor:A.midRange(we?[He.y0,He.y1]:p.extractPathCoords(He.path,h.paramIsY)));if(pt=p.roundPositionForSharpStrokeRendering(pt,nt),bt=p.roundPositionForSharpStrokeRendering(bt,nt),I&&N){var Rt="M"+(pt-1-nt)+","+(bt-1-nt)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";Le.attr("d",Rt)}else if(I){var Nt="M"+(pt-1-nt)+","+(bt-9-nt)+"v18 h2 v-18 Z";Le.attr("d",Nt)}else{var Xt="M"+(pt-9-nt)+","+(bt-1-nt)+"h18 v2 h-18 Z";Le.attr("d",Xt)}}}function Ke(Se){Se.selectAll(".visual-cue").remove()}function je(Se,He,Ee){var we=He.xref,Le=He.yref,nt=S.getFromId(Ee,we),pt=S.getFromId(Ee,Le),bt="";we!=="paper"&&!nt.autorange&&(bt+=we),Le!=="paper"&&!pt.autorange&&(bt+=Le),i.setClipUrl(Se,bt?"clip"+Ee._fullLayout._uid+bt:null,Ee)}}function m(y,f,P){return y.replace(h.segmentRE,function(L){var z=0,F=L.charAt(0),B=h.paramIsX[F],O=h.paramIsY[F],I=h.numParams[F],N=L.substr(1).replace(h.paramRE,function(U){return z>=I||(B[z]?U=f(U):O[z]&&(U=P(U)),z++),U});return F+N})}function b(y,f){if(_(y)){var P=f.node(),L=+P.getAttribute("data-index");if(L>=0){if(L===y._fullLayout._activeShapeIndex){v(y);return}y._fullLayout._activeShapeIndex=L,y._fullLayout._deactivateShape=v,T(y)}}}function v(y){if(_(y)){var f=y._fullLayout._activeShapeIndex;f>=0&&(o(y),delete y._fullLayout._activeShapeIndex,T(y))}}function u(y){if(_(y)){o(y);var f=y._fullLayout._activeShapeIndex,P=(y.layout||{}).shapes||[];if(f1?(se=["toggleHover"],fe=["resetViews"]):u?(le=["zoomInGeo","zoomOutGeo"],se=["hoverClosestGeo"],fe=["resetGeo"]):v?(se=["hoverClosest3d"],fe=["resetCameraDefault3d","resetCameraLastSave3d"]):L?(le=["zoomInMapbox","zoomOutMapbox"],se=["toggleHover"],fe=["resetViewMapbox"]):z?(le=["zoomInMap","zoomOutMap"],se=["toggleHover"],fe=["resetViewMap"]):y?se=["hoverClosestPie"]:O?(se=["hoverClosestCartesian","hoverCompareCartesian"],fe=["resetViewSankey"]):se=["toggleHover"],b&&se.push("toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"),(s(T)||N)&&(se=[]),b&&!I&&(le=["zoomIn2d","zoomOut2d","autoScale2d"],fe[0]!=="resetViews"&&(fe=["resetScale2d"])),v?G=["zoom3d","pan3d","orbitRotation","tableRotation"]:b&&!I||P?G=["zoom2d","pan2d"]:L||z||u?G=["pan2d"]:F&&(G=["zoom2d"]),a(T)&&G.push("select2d","lasso2d");var $=[],J=function(j){$.indexOf(j)===-1&&se.indexOf(j)!==-1&&$.push(j)};if(Array.isArray(E)){for(var X=[],re=0;rew?T.substr(w):l.substr(_))+M}function c(p,d){for(var T=d._size,l=T.h/T.w,_={},w=Object.keys(p),M=0;Mt*P&&!B)){for(w=0;wG&&iese&&(se=ie);var xe=(se-le)/(2*fe);u/=xe,le=m.l2r(le),se=m.l2r(se),m.range=m._input.range=U=O[1]||W[1]<=O[0])&&Q[0]I[0])return!0}return!1}function M(O){var I=O._fullLayout,N=I._size,U=N.p,W=i.list(O,"",!0),Q,le,se,fe,G,$;if(I._paperdiv.style({width:O._context.responsive&&I.autosize&&!O._context._hasZeroWidth&&!O.layout.width?"100%":I.width+"px",height:O._context.responsive&&I.autosize&&!O._context._hasZeroHeight&&!O.layout.height?"100%":I.height+"px"}).selectAll(".main-svg").call(r.setSize,I.width,I.height),O._context.setBackground(O,I.paper_bgcolor),Z.drawMainTitle(O),n.manage(O),!I._has("cartesian"))return x.previousPromises(O);function J(je,Se,He){var Ee=je._lw/2;if(je._id.charAt(0)==="x"){if(Se){if(He==="top")return Se._offset-U-Ee}else return N.t+N.h*(1-(je.position||0))+Ee%1;return Se._offset+Se._length+U+Ee}if(Se){if(He==="right")return Se._offset+Se._length+U+Ee}else return N.l+N.w*(je.position||0)+Ee%1;return Se._offset-U-Ee}for(Q=0;Q0){f(O,Q,G,fe),se.attr({x:le,y:Q,"text-anchor":U,dy:z(I.yanchor)}).call(S.positionText,le,Q);var $=(I.text.match(S.BR_TAG_ALL)||[]).length;if($){var J=a.LINE_SPACING*$+a.MID_SHIFT;I.y===0&&(J=-J),se.selectAll(".line").each(function(){var ee=+this.getAttribute("dy").slice(0,-2)-J+"em";this.setAttribute("dy",ee)})}var X=H.selectAll(".gtitle-subtitle");if(X.node()){var re=se.node().getBBox(),ae=re.y+re.height,j=ae+o.SUBTITLE_PADDING_EM*I.subtitle.font.size;X.attr({x:le,y:j,"text-anchor":U,dy:z(I.yanchor)}).call(S.positionText,le,j)}}}};function v(O,I,N,U,W){var Q=I.yref==="paper"?O._fullLayout._size.h:O._fullLayout.height,le=A.isTopAnchor(I)?U:U-W,se=N==="b"?Q-le:le;return A.isTopAnchor(I)&&N==="t"||A.isBottomAnchor(I)&&N==="b"?!1:se.5?"t":"b",le=O._fullLayout.margin[Q],se=0;return I.yref==="paper"?se=N+I.pad.t+I.pad.b:I.yref==="container"&&(se=u(Q,U,W,O._fullLayout.height,N)+I.pad.t+I.pad.b),se>le?se:0}function f(O,I,N,U){var W="title.automargin",Q=O._fullLayout.title,le=Q.y>.5?"t":"b",se={x:Q.x,y:Q.y,t:0,b:0},fe={};Q.yref==="paper"&&v(O,Q,le,I,U)?se[le]=N:Q.yref==="container"&&(fe[le]=N,O._fullLayout._reservedMargin[W]=fe),x.allowAutoMargin(O,W),x.autoMargin(O,W,se)}function P(O,I){var N=O.title,U=O._size,W=0;switch(I===d?W=N.pad.l:I===l&&(W=-N.pad.r),N.xref){case"paper":return U.l+U.w*N.x+W;case"container":default:return O.width*N.x+W}}function L(O,I){var N=O.title,U=O._size,W=0;if(I==="0em"||!I?W=-N.pad.b:I===a.CAP_SHIFT+"em"&&(W=N.pad.t),N.y==="auto")return U.t/2;switch(N.yref){case"paper":return U.t+U.h-U.h*N.y+W;case"container":default:return O.height-O.height*N.y+W}}function z(O){return O==="top"?a.CAP_SHIFT+.3+"em":O==="bottom"?"-0.3em":a.MID_SHIFT+"em"}function F(O){var I=O.title,N=T;return A.isRightAnchor(I)?N=l:A.isLeftAnchor(I)&&(N=d),N}function B(O){var I=O.title,N="0em";return A.isTopAnchor(I)?N=a.CAP_SHIFT+"em":A.isMiddleAnchor(I)&&(N=a.MID_SHIFT+"em"),N}Z.doTraceStyle=function(O){var I=O.calcdata,N=[],U;for(U=0;U=0;F--){var B=E.append("path").attr(b).style("opacity",F?.1:v).call(S.stroke,y).call(S.fill,u).call(e.dashLine,F?"solid":P,F?4+f:f);if(s(B,d,_),L){var O=t(d.layout,"selections",_);B.style({cursor:"move"});var I={element:B.node(),plotinfo:w,gd:d,editHelpers:O,isActiveSelection:!0},N=g(m,d);x(N,B,I)}else B.style("pointer-events",F?"all":"none");z[F]=B}var U=z[0],W=z[1];W.node().addEventListener("click",function(){return c(d,U)})}}function s(d,T,l){var _=l.xref+l.yref;e.setClipUrl(d,"clip"+T._fullLayout._uid+_,T)}function c(d,T){if(i(d)){var l=T.node(),_=+l.getAttribute("data-index");if(_>=0){if(_===d._fullLayout._activeSelectionIndex){p(d);return}d._fullLayout._activeSelectionIndex=_,d._fullLayout._deactivateSelection=p,n(d)}}}function h(d){if(i(d)){var T=d._fullLayout.selections.length-1;d._fullLayout._activeSelectionIndex=T,d._fullLayout._deactivateSelection=p,n(d)}}function p(d){if(i(d)){var T=d._fullLayout._activeSelectionIndex;T>=0&&(A(d),delete d._fullLayout._activeSelectionIndex,n(d))}}}}),u5=ke({"node_modules/polybooljs/lib/build-log.js"(Z,H){function g(){var x,A=0,S=!1;function e(t,r){return x.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),x}return x={list:[],segmentId:function(){return A++},checkIntersection:function(t,r){return e("check",{seg1:t,seg2:r})},segmentChop:function(t,r){return e("div_seg",{seg:t,pt:r}),e("chop",{seg:t,pt:r})},statusRemove:function(t){return e("pop_seg",{seg:t})},segmentUpdate:function(t){return e("seg_update",{seg:t})},segmentNew:function(t,r){return e("new_seg",{seg:t,primary:r})},segmentRemove:function(t){return e("rem_seg",{seg:t})},tempStatus:function(t,r,o){return e("temp_status",{seg:t,above:r,below:o})},rewind:function(t){return e("rewind",{seg:t})},status:function(t,r,o){return e("status",{seg:t,above:r,below:o})},vert:function(t){return t===S?x:(S=t,e("vert",{x:t}))},log:function(t){return typeof t!="string"&&(t=JSON.stringify(t,!1," ")),e("log",{txt:t})},reset:function(){return e("reset")},selected:function(t){return e("selected",{segs:t})},chainStart:function(t){return e("chain_start",{seg:t})},chainRemoveHead:function(t,r){return e("chain_rem_head",{index:t,pt:r})},chainRemoveTail:function(t,r){return e("chain_rem_tail",{index:t,pt:r})},chainNew:function(t,r){return e("chain_new",{pt1:t,pt2:r})},chainMatch:function(t){return e("chain_match",{index:t})},chainClose:function(t){return e("chain_close",{index:t})},chainAddHead:function(t,r){return e("chain_add_head",{index:t,pt:r})},chainAddTail:function(t,r){return e("chain_add_tail",{index:t,pt:r})},chainConnect:function(t,r){return e("chain_con",{index1:t,index2:r})},chainReverse:function(t){return e("chain_rev",{index:t})},chainJoin:function(t,r){return e("chain_join",{index1:t,index2:r})},done:function(){return e("done")}},x}H.exports=g}}),c5=ke({"node_modules/polybooljs/lib/epsilon.js"(Z,H){function g(x){typeof x!="number"&&(x=1e-10);var A={epsilon:function(S){return typeof S=="number"&&(x=S),x},pointAboveOrOnLine:function(S,e,t){var r=e[0],o=e[1],n=t[0],i=t[1],a=S[0],s=S[1];return(n-r)*(s-o)-(i-o)*(a-r)>=-x},pointBetween:function(S,e,t){var r=S[1]-e[1],o=t[0]-e[0],n=S[0]-e[0],i=t[1]-e[1],a=n*o+r*i;if(a-x)},pointsSameX:function(S,e){return Math.abs(S[0]-e[0])x!=n-r>x&&(o-s)*(r-c)/(n-c)+s-t>x&&(i=!i),o=s,n=c}return i}};return A}H.exports=g}}),f5=ke({"node_modules/polybooljs/lib/linked-list.js"(Z,H){var g={create:function(){var x={root:{root:!0,next:null},exists:function(A){return!(A===null||A===x.root)},isEmpty:function(){return x.root.next===null},getHead:function(){return x.root.next},insertBefore:function(A,S){for(var e=x.root,t=x.root.next;t!==null;){if(S(t)){A.prev=t.prev,A.next=t,t.prev.next=A,t.prev=A;return}e=t,t=t.next}e.next=A,A.prev=e,A.next=null},findTransition:function(A){for(var S=x.root,e=x.root.next;e!==null&&!A(e);)S=e,e=e.next;return{before:S===x.root?null:S,after:e,insert:function(t){return t.prev=S,t.next=e,S.next=t,e!==null&&(e.prev=t),t}}}};return x},node:function(x){return x.prev=null,x.next=null,x.remove=function(){x.prev.next=x.next,x.next&&(x.next.prev=x.prev),x.prev=null,x.next=null},x}};H.exports=g}}),h5=ke({"node_modules/polybooljs/lib/intersecter.js"(Z,H){var g=f5();function x(A,S,e){function t(T,l){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:null,below:null},otherFill:null}}function r(T,l,_){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:_.myFill.above,below:_.myFill.below},otherFill:null}}var o=g.create();function n(T,l,_,w,M,E){var m=S.pointsCompare(l,M);return m!==0?m:S.pointsSame(_,E)?0:T!==w?T?1:-1:S.pointAboveOrOnLine(_,w?M:E,w?E:M)?1:-1}function i(T,l){o.insertBefore(T,function(_){var w=n(T.isStart,T.pt,l,_.isStart,_.pt,_.other.pt);return w<0})}function a(T,l){var _=g.node({isStart:!0,pt:T.start,seg:T,primary:l,other:null,status:null});return i(_,T.end),_}function s(T,l,_){var w=g.node({isStart:!1,pt:l.end,seg:l,primary:_,other:T,status:null});T.other=w,i(w,T.pt)}function c(T,l){var _=a(T,l);return s(_,T,l),_}function h(T,l){e&&e.segmentChop(T.seg,l),T.other.remove(),T.seg.end=l,T.other.pt=l,i(T.other,T.pt)}function p(T,l){var _=r(l,T.seg.end,T.seg);return h(T,l),c(_,T.primary)}function d(T,l){var _=g.create();function w(O,I){var N=O.seg.start,U=O.seg.end,W=I.seg.start,Q=I.seg.end;return S.pointsCollinear(N,W,Q)?S.pointsCollinear(U,W,Q)||S.pointAboveOrOnLine(U,W,Q)?1:-1:S.pointAboveOrOnLine(N,W,Q)?1:-1}function M(O){return _.findTransition(function(I){var N=w(O,I.ev);return N>0})}function E(O,I){var N=O.seg,U=I.seg,W=N.start,Q=N.end,le=U.start,se=U.end;e&&e.checkIntersection(N,U);var fe=S.linesIntersect(W,Q,le,se);if(fe===!1){if(!S.pointsCollinear(W,Q,le)||S.pointsSame(W,se)||S.pointsSame(Q,le))return!1;var G=S.pointsSame(W,le),$=S.pointsSame(Q,se);if(G&&$)return I;var J=!G&&S.pointBetween(W,le,se),X=!$&&S.pointBetween(Q,le,se);if(G)return X?p(I,Q):p(O,se),I;J&&($||(X?p(I,Q):p(O,se)),p(I,W))}else fe.alongA===0&&(fe.alongB===-1?p(O,le):fe.alongB===0?p(O,fe.pt):fe.alongB===1&&p(O,se)),fe.alongB===0&&(fe.alongA===-1?p(I,W):fe.alongA===0?p(I,fe.pt):fe.alongA===1&&p(I,Q));return!1}for(var m=[];!o.isEmpty();){var b=o.getHead();if(e&&e.vert(b.pt[0]),b.isStart){let O=function(){if(y){var I=E(b,y);if(I)return I}return f?E(b,f):!1};var v=O;e&&e.segmentNew(b.seg,b.primary);var u=M(b),y=u.before?u.before.ev:null,f=u.after?u.after.ev:null;e&&e.tempStatus(b.seg,y?y.seg:!1,f?f.seg:!1);var P=O();if(P){if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,L&&(P.seg.myFill.above=!P.seg.myFill.above)}else P.seg.otherFill=b.seg.myFill;e&&e.segmentUpdate(P.seg),b.other.remove(),b.remove()}if(o.getHead()!==b){e&&e.rewind(b.seg);continue}if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,f?b.seg.myFill.below=f.seg.myFill.above:b.seg.myFill.below=T,L?b.seg.myFill.above=!b.seg.myFill.below:b.seg.myFill.above=b.seg.myFill.below}else if(b.seg.otherFill===null){var z;f?b.primary===f.primary?z=f.seg.otherFill.above:z=f.seg.myFill.above:z=b.primary?l:T,b.seg.otherFill={above:z,below:z}}e&&e.status(b.seg,y?y.seg:!1,f?f.seg:!1),b.other.status=u.insert(g.node({ev:b}))}else{var F=b.status;if(F===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(_.exists(F.prev)&&_.exists(F.next)&&E(F.prev.ev,F.next.ev),e&&e.statusRemove(F.ev.seg),F.remove(),!b.primary){var B=b.seg.myFill;b.seg.myFill=b.seg.otherFill,b.seg.otherFill=B}m.push(b.seg)}o.getHead().remove()}return e&&e.done(),m}return A?{addRegion:function(T){for(var l,_=T[T.length-1],w=0;wr!=p>r&&t<(h-s)*(r-c)/(p-c)+s;d&&(o=!o)}return o}}}),n0=ke({"src/lib/polygon.js"(Z,H){"use strict";var g=i_().dot,x=Hi().BADNUM,A=H.exports={};A.tester=function(e){var t=e.slice(),r=t[0][0],o=r,n=t[0][1],i=n,a;for((t[t.length-1][0]!==t[0][0]||t[t.length-1][1]!==t[0][1])&&t.push(t[0]),a=1;ao||M===x||Mi||_&&c(l))}function p(l,_){var w=l[0],M=l[1];if(w===x||wo||M===x||Mi)return!1;var E=t.length,m=t[0][0],b=t[0][1],v=0,u,y,f,P,L;for(u=1;uMath.max(y,m)||M>Math.max(f,b)))if(Ma||Math.abs(g(p,c))>o)return!0;return!1},A.filter=function(e,t){var r=[e[0]],o=0,n=0;function i(s){e.push(s);var c=r.length,h=o;r.splice(n+1);for(var p=h+1;p1){var a=e.pop();i(a)}return{addPt:i,raw:e,filtered:r}}}}),y5=ke({"src/components/selections/constants.js"(Z,H){"use strict";H.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:"-select"}}}),_5=ke({"src/components/selections/select.js"(Z,H){"use strict";var g=m5(),x=g5(),A=lo(),S=$o().dashStyle,e=eo(),t=Ec(),r=gd().makeEventData,o=cv(),n=o.freeMode,i=o.rectMode,a=o.drawMode,s=o.openMode,c=o.selectMode,h=Bp(),p=t0(),d=g_(),T=Rp().clearOutline,l=Op(),_=l.handleEllipse,w=l.readPaths,M=m_().newShapes,E=o2(),m=d2().activateLastSelection,b=un(),v=b.sorterAsc,u=n0(),y=l_(),f=qc().getFromId,P=e0(),L=r0().redrawReglTraces,z=y5(),F=z.MINSELECT,B=u.filter,O=u.tester,I=p_(),N=I.p2r,U=I.axValue,W=I.getTransform;function Q(Be){return Be.subplot!==void 0}function le(Be,Ke,je,Se,He){var Ee=!Q(Se),we=n(He),Le=i(He),nt=s(He),pt=a(He),bt=c(He),Rt=He==="drawline",Nt=He==="drawcircle",Xt=Rt||Nt,$t=Se.gd,ur=$t._fullLayout,pn=bt&&ur.newselection.mode==="immediate"&&Ee,Rn=ur._zoomlayer,Nn=Se.element.getBoundingClientRect(),On=Se.plotinfo,ni=W(On),zn=Ke-Nn.left,Qn=je-Nn.top;ur._calcInverseTransform($t);var gi=b.apply3DTransform(ur._invTransform)(zn,Qn);zn=gi[0],Qn=gi[1];var Zt=ur._invScaleX,Ft=ur._invScaleY,Ht=zn,Vt=Qn,wr="M"+zn+","+Qn,$r=Se.xaxes[0],xn=Se.yaxes[0],en=$r._length,Fn=xn._length,Wn=Be.altKey&&!(a(He)&&nt),ri,Sn,ui,gt,yt,Pr,Ir;X(Be,$t,Se),we&&(ri=B([[zn,Qn]],z.BENDPX));var Tr=Rn.selectAll("path.select-outline-"+On.id).data([1]),Mr=pt?ur.newshape:ur.newselection;pt&&(Se.hasText=Mr.label.text||Mr.label.texttemplate);var Lr=pt&&!nt?Mr.fillcolor:"rgba(0,0,0,0)",Ur=Mr.line.color||(Ee?e.contrast($t._fullLayout.plot_bgcolor):"#7f7f7f");Tr.enter().append("path").attr("class","select-outline select-outline-"+On.id).style({opacity:pt?Mr.opacity/2:1,"stroke-dasharray":S(Mr.line.dash,Mr.line.width),"stroke-width":Mr.line.width+"px","shape-rendering":"crispEdges"}).call(e.stroke,Ur).call(e.fill,Lr).attr("fill-rule","evenodd").classed("cursor-move",!!pt).attr("transform",ni).attr("d",wr+"Z");var Dr=Rn.append("path").attr("class","zoombox-corners").style({fill:e.background,stroke:e.defaultLine,"stroke-width":1}).attr("transform",ni).attr("d","M0,0Z");if(pt&&Se.hasText){var nn=Rn.select(".label-temp");nn.empty()&&(nn=Rn.append("g").classed("label-temp",!0).classed("select-outline",!0).style({opacity:.8}))}var vn=ur._uid+z.SELECTID,gn=[],kt=ie($t,Se.xaxes,Se.yaxes,Se.subplot);pn&&!Be.shiftKey&&(Se._clearSubplotSelections=function(){if(Ee){var yr=$r._id,on=xn._id;ot($t,yr,on,kt);for(var An=($t.layout||{}).selections||[],Zn=[],Bn=!1,wn=0;wn=0){$t._fullLayout._deactivateShape($t);return}if(!pt){var An=ur.clickmode;y.done(vn).then(function(){if(y.clear(vn),yr===2){for(Tr.remove(),yt=0;yt-1&&se(on,$t,Se.xaxes,Se.yaxes,Se.subplot,Se,Tr),An==="event"&&br($t,void 0);t.click($t,on,On.id)}).catch(b.error)}},Se.doneFn=function(){Dr.remove(),y.done(vn).then(function(){y.clear(vn),!pn&>&&Se.selectionDefs&&(gt.subtract=Wn,Se.selectionDefs.push(gt),Se.mergedPolygons.length=0,[].push.apply(Se.mergedPolygons,ui)),(pn||pt)&&j(Se,pn),Se.doneFnCompleted&&Se.doneFnCompleted(gn),bt&&br($t,Ir)}).catch(b.error)}}function se(Be,Ke,je,Se,He,Ee,we){var Le=Ke._hoverdata,nt=Ke._fullLayout,pt=nt.clickmode,bt=pt.indexOf("event")>-1,Rt=[],Nt,Xt,$t,ur,pn,Rn,Nn,On,ni,zn;if(xe(Le)){X(Be,Ke,Ee),Nt=ie(Ke,je,Se,He);var Qn=Te(Le,Nt),gi=Qn.pointNumbers.length>0;if(gi?Ie(Nt,Qn):Ye(Nt)&&(Nn=Ue(Qn))){for(we&&we.remove(),zn=0;zn=0}function ae(Be){return Be._fullLayout._activeSelectionIndex>=0}function j(Be,Ke){var je=Be.dragmode,Se=Be.plotinfo,He=Be.gd;re(He)&&He._fullLayout._deactivateShape(He),ae(He)&&He._fullLayout._deactivateSelection(He);var Ee=He._fullLayout,we=Ee._zoomlayer,Le=a(je),nt=c(je);if(Le||nt){var pt=we.selectAll(".select-outline-"+Se.id);if(pt&&He._fullLayout._outlining){var bt;Le&&(bt=M(pt,Be)),bt&&A.call("_guiRelayout",He,{shapes:bt});var Rt;nt&&!Q(Be)&&(Rt=E(pt,Be)),Rt&&(He._fullLayout._noEmitSelectedAtStart=!0,A.call("_guiRelayout",He,{selections:Rt}).then(function(){Ke&&m(He)})),He._fullLayout._outlining=!1}}Se.selection={},Se.selection.selectionDefs=Be.selectionDefs=[],Se.selection.mergedPolygons=Be.mergedPolygons=[]}function ee(Be){return Be._id}function ie(Be,Ke,je,Se){if(!Be.calcdata)return[];var He=[],Ee=Ke.map(ee),we=je.map(ee),Le,nt,pt;for(pt=0;pt0,Ee=He?Se[0]:je;return Ke.selectedpoints?Ke.selectedpoints.indexOf(Ee)>-1:!1}function Ie(Be,Ke){var je=[],Se,He,Ee,we;for(we=0;we0&&je.push(Se);if(je.length===1&&(Ee=je[0]===Ke.searchInfo,Ee&&(He=Ke.searchInfo.cd[0].trace,He.selectedpoints.length===Ke.pointNumbers.length))){for(we=0;we1||(Ke+=Se.selectedpoints.length,Ke>1)))return!1;return Ke===1}function it(Be,Ke,je){var Se;for(Se=0;Se-1&&Ke;if(!we&&Ke){var yr=Lt(Be,!0);if(yr.length){var on=yr[0].xref,An=yr[0].yref;if(on&&An){var Zn=qt(yr),Bn=ar([f(Be,on,"x"),f(Be,An,"y")]);Bn(gn,Zn)}}Be._fullLayout._noEmitSelectedAtStart?Be._fullLayout._noEmitSelectedAtStart=!1:or&&br(Be,gn),Nt._reselect=!1}if(!we&&Nt._deselect){var wn=Nt._deselect;Le=wn.xref,nt=wn.yref,rt(Le,nt,bt)||ot(Be,Le,nt,Se),or&&(gn.points.length?br(Be,gn):_t(Be)),Nt._deselect=!1}return{eventData:gn,selectionTesters:je}}function Oe(Be){var Ke=Be.calcdata;if(Ke)for(var je=0;je=0){Lr._fullLayout._deactivateShape(Lr);return}var Ur=Lr._fullLayout.clickmode;if($(Lr),Tr===2&&!Me&&Sn(),ut)Ur.indexOf("select")>-1&&v(Mr,Lr,ot,et,xe.id,bt),Ur.indexOf("event")>-1&&a.click(Lr,Mr,xe.id);else if(Tr===1&&Me){var Dr=it?ue:pe,nn=it==="s"||at==="w"?0:1,vn=Dr._name+".range["+nn+"]",gn=I(Dr,nn),kt="left",or="middle";if(Dr.fixedrange)return;it?(or=it==="n"?"top":"bottom",Dr.side==="right"&&(kt="right")):at==="e"&&(kt="right"),Lr._context.showAxisRangeEntryBoxes&&g.select(pt).call(o.makeEditable,{gd:Lr,immediate:!0,background:Lr._fullLayout.paper_bgcolor,text:String(gn),fill:Dr.tickfont?Dr.tickfont.color:"#444",horizontalAlign:kt,verticalAlign:or}).on("edit",function(yr){var on=Dr.d2r(yr);on!==void 0&&t.call("_guiRelayout",Lr,vn,on)})}}h.init(bt);var Xt,$t,ur,pn,Rn,Nn,On,ni,zn,Qn;function gi(Tr,Mr,Lr){var Ur=pt.getBoundingClientRect();Xt=Mr-Ur.left,$t=Lr-Ur.top,ce._fullLayout._calcInverseTransform(ce);var Dr=x.apply3DTransform(ce._fullLayout._invTransform)(Xt,$t);Xt=Dr[0],$t=Dr[1],ur={l:Xt,r:Xt,w:0,t:$t,b:$t,h:0},pn=ce._hmpixcount?ce._hmlumcount/ce._hmpixcount:S(ce._fullLayout.plot_bgcolor).getLuminance(),Rn="M0,0H"+Bt+"V"+qt+"H0V0",Nn=!1,On="xy",Qn=!1,ni=le(tt,pn,Lt,Et,Rn),zn=se(tt,Lt,Et)}function Zt(Tr,Mr){if(ce._transitioningWithDuration)return!1;var Lr=Math.max(0,Math.min(Bt,Ee*Tr+Xt)),Ur=Math.max(0,Math.min(qt,we*Mr+$t)),Dr=Math.abs(Lr-Xt),nn=Math.abs(Ur-$t);ur.l=Math.min(Xt,Lr),ur.r=Math.max(Xt,Lr),ur.t=Math.min($t,Ur),ur.b=Math.max($t,Ur);function vn(){On="",ur.r=ur.l,ur.t=ur.b,zn.attr("d","M0,0Z")}if(fr.isSubplotConstrained)Dr>P||nn>P?(On="xy",Dr/Bt>nn/qt?(nn=Dr*qt/Bt,$t>Ur?ur.t=$t-nn:ur.b=$t+nn):(Dr=nn*Bt/qt,Xt>Lr?ur.l=Xt-Dr:ur.r=Xt+Dr),zn.attr("d",ae(ur))):vn();else if(ar.isSubplotConstrained)if(Dr>P||nn>P){On="xy";var gn=Math.min(ur.l/Bt,(qt-ur.b)/qt),kt=Math.max(ur.r/Bt,(qt-ur.t)/qt);ur.l=gn*Bt,ur.r=kt*Bt,ur.b=(1-gn)*qt,ur.t=(1-kt)*qt,zn.attr("d",ae(ur))}else vn();else!gr||nn0){var yr;if(ar.isSubplotConstrained||!Rr&&gr.length===1){for(yr=0;yr1&&(vn.maxallowed!==void 0&&_t===(vn.range[0]1&&(gn.maxallowed!==void 0&&Be===(gn.range[0]=0?Math.min(ce,.9):1/(1/Math.max(ce,-.3)+3.222))}function Q(ce,xe,Te){return ce?ce==="nsew"?Te?"":xe==="pan"?"move":"crosshair":ce.toLowerCase()+"-resize":"pointer"}function le(ce,xe,Te,Ue,Ie){return ce.append("path").attr("class","zoombox").style({fill:xe>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",r(Te,Ue)).attr("d",Ie+"Z")}function se(ce,xe,Te){return ce.append("path").attr("class","zoombox-corners").style({fill:n.background,stroke:n.defaultLine,"stroke-width":1,opacity:0}).attr("transform",r(xe,Te)).attr("d","M0,0Z")}function fe(ce,xe,Te,Ue,Ie,Ye){ce.attr("d",Ue+"M"+Te.l+","+Te.t+"v"+Te.h+"h"+Te.w+"v-"+Te.h+"h-"+Te.w+"Z"),G(ce,xe,Ie,Ye)}function G(ce,xe,Te,Ue){Te||(ce.transition().style("fill",Ue>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),xe.transition().style("opacity",1).duration(200))}function $(ce){g.select(ce).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function J(ce){L&&ce.data&&ce._context.showTips&&(x.notifier(x._(ce,"Double-click to zoom back out"),"long"),L=!1)}function X(ce,xe){return"M"+(ce.l-.5)+","+(xe-P-.5)+"h-3v"+(2*P+1)+"h3ZM"+(ce.r+.5)+","+(xe-P-.5)+"h3v"+(2*P+1)+"h-3Z"}function re(ce,xe){return"M"+(xe-P-.5)+","+(ce.t-.5)+"v-3h"+(2*P+1)+"v3ZM"+(xe-P-.5)+","+(ce.b+.5)+"v3h"+(2*P+1)+"v-3Z"}function ae(ce){var xe=Math.floor(Math.min(ce.b-ce.t,ce.r-ce.l,P)/2);return"M"+(ce.l-3.5)+","+(ce.t-.5+xe)+"h3v"+-xe+"h"+xe+"v-3h-"+(xe+3)+"ZM"+(ce.r+3.5)+","+(ce.t-.5+xe)+"h-3v"+-xe+"h"+-xe+"v-3h"+(xe+3)+"ZM"+(ce.r+3.5)+","+(ce.b+.5-xe)+"h-3v"+xe+"h"+-xe+"v3h"+(xe+3)+"ZM"+(ce.l-3.5)+","+(ce.b+.5-xe)+"h3v"+xe+"h"+xe+"v3h-"+(xe+3)+"Z"}function j(ce,xe,Te,Ue,Ie){for(var Ye=!1,it={},at={},tt,ut,Me,pe,ue=(Ie||{}).xaHash,Oe=(Ie||{}).yaHash,rt=0;rt1&&x.warn("Full array edits are incompatible with other edits",c);var w=i[""][""];if(t(w))n.set(null);else if(Array.isArray(w))n.set(w);else return x.warn("Unrecognized full array edit value",c,w),!0;return T?!1:(h(l,_),p(o),!0)}var M=Object.keys(i).map(Number).sort(A),E=n.get(),m=E||[],b=s(_,c).get(),v=[],u=-1,y=m.length,f,P,L,z,F,B,O,I;for(f=0;fm.length-(O?0:1)){x.warn("index out of range",c,L);continue}if(B!==void 0)F.length>1&&x.warn("Insertion & removal are incompatible with edits to the same index.",c,L),t(B)?v.push(L):O?(B==="add"&&(B={}),m.splice(L,0,B),b&&b.splice(L,0,{})):x.warn("Unrecognized full object edit value",c,L,B),u===-1&&(u=L);else for(P=0;P=0;f--)m.splice(v[f],1),b&&b.splice(v[f],1);if(m.length?E||n.set(m):n.set(null),T)return!1;if(h(l,_),d!==g){var N;if(u===-1)N=M;else{for(y=Math.max(m.length,y),N=[],f=0;f=u));f++)N.push(L);for(f=u;f0&&A.log("Clearing previous rejected promises from queue."),l._promises=[]},Z.cleanLayout=function(l){var _,w;l||(l={}),l.xaxis1&&(l.xaxis||(l.xaxis=l.xaxis1),delete l.xaxis1),l.yaxis1&&(l.yaxis||(l.yaxis=l.yaxis1),delete l.yaxis1),l.scene1&&(l.scene||(l.scene=l.scene1),delete l.scene1);var M=(S.subplotsRegistry.cartesian||{}).attrRegex,E=(S.subplotsRegistry.polar||{}).attrRegex,m=(S.subplotsRegistry.ternary||{}).attrRegex,b=(S.subplotsRegistry.gl3d||{}).attrRegex,v=Object.keys(l);for(_=0;_3?(O.x=1.02,O.xanchor="left"):O.x<-2&&(O.x=-.02,O.xanchor="right"),O.y>3?(O.y=1.02,O.yanchor="bottom"):O.y<-2&&(O.y=-.02,O.yanchor="top")),l.dragmode==="rotate"&&(l.dragmode="orbit"),t.clean(l),l.template&&l.template.layout&&Z.cleanLayout(l.template.layout),l};function i(l,_){var w=l[_],M=_.charAt(0);w&&w!=="paper"&&(l[_]=r(w,M,!0))}Z.cleanData=function(l){for(var _=0;_0)return l.substr(0,_)}Z.hasParent=function(l,_){for(var w=d(_);w;){if(w in l)return!0;w=d(w)}return!1};var T=["x","y","z"];Z.clearAxisTypes=function(l,_,w){for(var M=0;M<_.length;M++)for(var E=l._fullData[M],m=0;m<3;m++){var b=o(l,E,T[m]);if(b&&b.type!=="log"){var v=b._name,u=b._id.substr(1);if(u.substr(0,5)==="scene"){if(w[u]!==void 0)continue;v=u+"."+v}var y=v+".type";w[v]===void 0&&w[y]===void 0&&A.nestedProperty(l.layout,y).set(null)}}}}}),__=ke({"src/plot_api/plot_api.js"(Z){"use strict";var H=_i(),g=Yn(),x=Hw(),A=un(),S=A.nestedProperty,e=jg(),t=VE(),r=lo(),o=Vg(),n=Zu(),i=Ho(),a=$w(),s=wh(),c=$o(),h=eo(),p=g2().initInteractions,d=zd(),T=tf().clearOutline,l=km().dfltConfig,_=T5(),w=A5(),M=r0(),E=ju(),m=oh().AX_NAME_PATTERN,b=0,v=5;function u(Se,He,Ee,we){var Le;if(Se=A.getGraphDiv(Se),e.init(Se),A.isPlainObject(He)){var nt=He;He=nt.data,Ee=nt.layout,we=nt.config,Le=nt.frames}var pt=e.triggerHandler(Se,"plotly_beforeplot",[He,Ee,we]);if(pt===!1)return Promise.reject();!He&&!Ee&&!A.isPlotDiv(Se)&&A.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",Se);function bt(){if(Le)return Z.addFrames(Se,Le)}z(Se,we),Ee||(Ee={}),H.select(Se).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(Se._promises)||(Se._promises=[]);var Rt=(Se.data||[]).length===0&&Array.isArray(He);Array.isArray(He)&&(w.cleanData(He),Rt?Se.data=He:Se.data.push.apply(Se.data,He),Se.empty=!1),(!Se.layout||Rt)&&(Se.layout=w.cleanLayout(Ee)),n.supplyDefaults(Se);var Nt=Se._fullLayout,Xt=Nt._has("cartesian");Nt._replotting=!0,(Rt||Nt._shouldCreateBgLayer)&&(je(Se),Nt._shouldCreateBgLayer&&delete Nt._shouldCreateBgLayer),c.initGradients(Se),c.initPatterns(Se),Rt&&i.saveShowSpikeInitial(Se);var $t=!Se.calcdata||Se.calcdata.length!==(Se._fullData||[]).length;$t&&n.doCalcdata(Se);for(var ur=0;ur=Se.data.length||Le<-Se.data.length)throw new Error(Ee+" must be valid indices for gd.data.");if(He.indexOf(Le,we+1)>-1||Le>=0&&He.indexOf(-Se.data.length+Le)>-1||Le<0&&He.indexOf(Se.data.length+Le)>-1)throw new Error("each index in "+Ee+" must be unique.")}}function N(Se,He,Ee){if(!Array.isArray(Se.data))throw new Error("gd.data must be an array.");if(typeof He>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(He)||(He=[He]),I(Se,He,"currentIndices"),typeof Ee<"u"&&!Array.isArray(Ee)&&(Ee=[Ee]),typeof Ee<"u"&&I(Se,Ee,"newIndices"),typeof Ee<"u"&&He.length!==Ee.length)throw new Error("current and new indices must be of equal length.")}function U(Se,He,Ee){var we,Le;if(!Array.isArray(Se.data))throw new Error("gd.data must be an array.");if(typeof He>"u")throw new Error("traces must be defined.");for(Array.isArray(He)||(He=[He]),we=0;we"u")throw new Error("indices must be an integer or array of integers");I(Se,Ee,"indices");for(var nt in He){if(!Array.isArray(He[nt])||He[nt].length!==Ee.length)throw new Error("attribute "+nt+" must be an array of length equal to indices array length");if(Le&&(!(nt in we)||!Array.isArray(we[nt])||we[nt].length!==He[nt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function Q(Se,He,Ee,we){var Le=A.isPlainObject(we),nt=[],pt,bt,Rt,Nt,Xt;Array.isArray(Ee)||(Ee=[Ee]),Ee=O(Ee,Se.data.length-1);for(var $t in He)for(var ur=0;ur=0&&Xt<$t.length?$t.splice(0,$t.length-Xt):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.prependTraces,bt,fe,arguments),pt}function G(Se,He,Ee,we){Se=A.getGraphDiv(Se);function Le(Rt,Nt,Xt){var $t,ur;if(A.isTypedArray(Rt))if(Xt<=0){var pn=new Rt.constructor(0),Rn=se(Nt,Rt);Xt<0?($t=Rn,ur=pn):($t=pn,ur=Rn)}else if($t=new Rt.constructor(Xt),ur=new Rt.constructor(Rt.length+Nt.length-Xt),Xt===Nt.length)$t.set(Nt),ur.set(Rt);else if(Xt=0&&Xt<$t.length?$t.splice(Xt,$t.length):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.extendTraces,bt,G,arguments),pt}function $(Se,He,Ee){Se=A.getGraphDiv(Se);var we=[],Le=Z.deleteTraces,nt=$,pt=[Se,we],bt=[Se,He],Rt,Nt;for(U(Se,He,Ee),Array.isArray(He)||(He=[He]),He=He.map(function(Xt){return A.extendFlat({},Xt)}),w.cleanData(He),Rt=0;Rt"u")return Nt=Z.redraw(Se),t.add(Se,Le,pt,nt,bt),Nt;Array.isArray(Ee)||(Ee=[Ee]);try{N(Se,we,Ee)}catch(Xt){throw Se.data.splice(Se.data.length-He.length,He.length),Xt}return t.startSequence(Se),t.add(Se,Le,pt,nt,bt),Nt=Z.moveTraces(Se,we,Ee),t.stopSequence(Se),Nt}function J(Se,He){Se=A.getGraphDiv(Se);var Ee=[],we=Z.addTraces,Le=J,nt=[Se,Ee,He],pt=[Se,He],bt,Rt;if(typeof He>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(He)||(He=[He]),I(Se,He,"indices"),He=O(He,Se.data.length-1),He.sort(A.sorterDes),bt=0;bt"u")for(Ee=[],Nt=0;Nt0&&typeof Vt.parts[xn]!="string";)xn--;var en=Vt.parts[xn],Fn=Vt.parts[xn-1]+"."+en,Wn=Vt.parts.slice(0,xn).join("."),ri=S(Se.layout,Wn).get(),Sn=S(we,Wn).get(),ui=Vt.get();if(wr!==void 0){ni[Ht]=wr,zn[Ht]=en==="reverse"?wr:ae(ui);var gt=o.getLayoutValObject(we,Vt.parts);if(gt&>.impliedEdits&&wr!==null)for(var yt in gt.impliedEdits)Qn(A.relativeAttr(Ht,yt),gt.impliedEdits[yt]);if(["width","height"].indexOf(Ht)!==-1)if(wr){Qn("autosize",null);var Pr=Ht==="height"?"width":"height";Qn(Pr,we[Pr])}else we[Ht]=Se._initialAutoSize[Ht];else if(Ht==="autosize")Qn("width",wr?null:we.width),Qn("height",wr?null:we.height);else if(Fn.match(Ie))Ft(Fn),S(we,Wn+"._inputRange").set(null);else if(Fn.match(Ye)){Ft(Fn),S(we,Wn+"._inputRange").set(null);var Ir=S(we,Wn).get();Ir._inputDomain&&(Ir._input.domain=Ir._inputDomain.slice())}else Fn.match(it)&&S(we,Wn+"._inputDomain").set(null);if(en==="type"){Zt=ri;var Tr=Sn.type==="linear"&&wr==="log",Mr=Sn.type==="log"&&wr==="linear";if(Tr||Mr){if(!Zt||!Zt.range)Qn(Wn+".autorange",!0);else if(Sn.autorange)Tr&&(Zt.range=Zt.range[1]>Zt.range[0]?[1,2]:[2,1]);else{var Lr=Zt.range[0],Ur=Zt.range[1];Tr?(Lr<=0&&Ur<=0&&Qn(Wn+".autorange",!0),Lr<=0?Lr=Ur/1e6:Ur<=0&&(Ur=Lr/1e6),Qn(Wn+".range[0]",Math.log(Lr)/Math.LN10),Qn(Wn+".range[1]",Math.log(Ur)/Math.LN10)):(Qn(Wn+".range[0]",Math.pow(10,Lr)),Qn(Wn+".range[1]",Math.pow(10,Ur)))}Array.isArray(we._subplots.polar)&&we._subplots.polar.length&&we[Vt.parts[0]]&&Vt.parts[1]==="radialaxis"&&delete we[Vt.parts[0]]._subplot.viewInitial["radialaxis.range"],r.getComponentMethod("annotations","convertCoords")(Se,Sn,wr,Qn),r.getComponentMethod("images","convertCoords")(Se,Sn,wr,Qn)}else Qn(Wn+".autorange",!0),Qn(Wn+".range",null);S(we,Wn+"._inputRange").set(null)}else if(en.match(m)){var Dr=S(we,Ht).get(),nn=(wr||{}).type;(!nn||nn==="-")&&(nn="linear"),r.getComponentMethod("annotations","convertCoords")(Se,Dr,nn,Qn),r.getComponentMethod("images","convertCoords")(Se,Dr,nn,Qn)}var vn=_.containerArrayMatch(Ht);if(vn){Xt=vn.array,$t=vn.index;var gn=vn.property,kt=gt||{editType:"calc"};$t!==""&&gn===""&&(_.isAddVal(wr)?zn[Ht]=null:_.isRemoveVal(wr)?zn[Ht]=(S(Ee,Xt).get()||[])[$t]:A.warn("unrecognized full object value",He)),E.update(On,kt),Nt[Xt]||(Nt[Xt]={});var or=Nt[Xt][$t];or||(or=Nt[Xt][$t]={}),or[gn]=wr,delete He[Ht]}else en==="reverse"?(ri.range?ri.range.reverse():(Qn(Wn+".autorange",!0),ri.range=[1,0]),Sn.autorange?On.calc=!0:On.plot=!0):(Ht==="dragmode"&&(wr===!1&&ui!==!1||wr!==!1&&ui===!1)||we._has("scatter-like")&&we._has("regl")&&Ht==="dragmode"&&(wr==="lasso"||wr==="select")&&!(ui==="lasso"||ui==="select")?On.plot=!0:gt?E.update(On,gt):On.calc=!0,Vt.set(wr))}}for(Xt in Nt){var yr=_.applyContainerArrayChanges(Se,nt(Ee,Xt),Nt[Xt],On,nt);yr||(On.plot=!0)}for(var on in gi){Zt=i.getFromId(Se,on);var An=Zt&&Zt._constraintGroup;if(An){On.calc=!0;for(var Zn in An)gi[Zn]||(i.getFromId(Se,Zn)._constraintShrinkable=!0)}}(tt(Se)||He.height||He.width)&&(On.plot=!0);var Bn=we.shapes;for($t=0;$t1;)if(we.pop(),Ee=S(He,we.join(".")+".uirevision").get(),Ee!==void 0)return Ee;return He.uirevision}function ot(Se,He){for(var Ee=0;Ee=Le.length?Le[0]:Le[Nt]:Le}function bt(Nt){return Array.isArray(nt)?Nt>=nt.length?nt[0]:nt[Nt]:nt}function Rt(Nt,Xt){var $t=0;return function(){if(Nt&&++$t===Xt)return Nt()}}return new Promise(function(Nt,Xt){function $t(){if(we._frameQueue.length!==0){for(;we._frameQueue.length;){var en=we._frameQueue.pop();en.onInterrupt&&en.onInterrupt()}Se.emit("plotly_animationinterrupted",[])}}function ur(en){if(en.length!==0){for(var Fn=0;Fnwe._timeToNext&&Rn()};en()}var On=0;function ni(en){return Array.isArray(Le)?On>=Le.length?en.transitionOpts=Le[On]:en.transitionOpts=Le[0]:en.transitionOpts=Le,On++,en}var zn,Qn,gi=[],Zt=He==null,Ft=Array.isArray(He),Ht=!Zt&&!Ft&&A.isPlainObject(He);if(Ht)gi.push({type:"object",data:ni(A.extendFlat({},He))});else if(Zt||["string","number"].indexOf(typeof He)!==-1)for(zn=0;zn0&&$r$r)&&xn.push(Qn);gi=xn}}gi.length>0?ur(gi):(Se.emit("plotly_animated"),Nt())})}function br(Se,He,Ee){if(Se=A.getGraphDiv(Se),He==null)return Promise.resolve();if(!A.isPlotDiv(Se))throw new Error("This element is not a Plotly plot: "+Se+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var we,Le,nt,pt,bt=Se._transitionData._frames,Rt=Se._transitionData._frameHash;if(!Array.isArray(He))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+He);var Nt=bt.length+He.length*2,Xt=[],$t={};for(we=He.length-1;we>=0;we--)if(A.isPlainObject(He[we])){var ur=He[we].name,pn=(Rt[ur]||$t[ur]||{}).name,Rn=He[we].name,Nn=Rt[pn]||$t[pn];pn&&Rn&&typeof Rn=="number"&&Nn&&bVt.index?-1:Ht.index=0;we--){if(Le=Xt[we].frame,typeof Le.name=="number"&&A.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;Rt[Le.name="frame "+Se._transitionData._counter++];);if(Rt[Le.name]){for(nt=0;nt=0;Ee--)we=He[Ee],nt.push({type:"delete",index:we}),pt.unshift({type:"insert",index:we,value:Le[we]});var bt=n.modifyFrames,Rt=n.modifyFrames,Nt=[Se,pt],Xt=[Se,nt];return t&&t.add(Se,bt,Nt,Rt,Xt),n.modifyFrames(Se,nt)}function Be(Se){Se=A.getGraphDiv(Se);var He=Se._fullLayout||{},Ee=Se._fullData||[];return n.cleanPlot([],{},Ee,He),n.purge(Se),e.purge(Se),He._container&&He._container.remove(),delete Se._context,Se}function Ke(Se){var He=Se._fullLayout,Ee=Se.getBoundingClientRect();if(!A.equalDomRects(Ee,He._lastBBox)){var we=He._invTransform=A.inverseTransformMatrix(A.getFullTransformMatrix(Se));He._invScaleX=Math.sqrt(we[0][0]*we[0][0]+we[0][1]*we[0][1]+we[0][2]*we[0][2]),He._invScaleY=Math.sqrt(we[1][0]*we[1][0]+we[1][1]*we[1][1]+we[1][2]*we[1][2]),He._lastBBox=Ee}}function je(Se){var He=H.select(Se),Ee=Se._fullLayout;if(Ee._calcInverseTransform=Ke,Ee._calcInverseTransform(Se),Ee._container=He.selectAll(".plot-container").data([0]),Ee._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0).style({width:"100%",height:"100%"}),Ee._paperdiv=Ee._container.selectAll(".svg-container").data([0]),Ee._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),Ee._glcontainer=Ee._paperdiv.selectAll(".gl-container").data([{}]),Ee._glcontainer.enter().append("div").classed("gl-container",!0),Ee._paperdiv.selectAll(".main-svg").remove(),Ee._paperdiv.select(".modebar-container").remove(),Ee._paper=Ee._paperdiv.insert("svg",":first-child").classed("main-svg",!0),Ee._toppaper=Ee._paperdiv.append("svg").classed("main-svg",!0),Ee._modebardiv=Ee._paperdiv.append("div"),delete Ee._modeBar,Ee._hoverpaper=Ee._paperdiv.append("svg").classed("main-svg",!0),!Ee._uid){var we={};H.selectAll("defs").each(function(){this.id&&(we[this.id.split("-")[1]]=1)}),Ee._uid=A.randstr(we)}Ee._paperdiv.selectAll(".main-svg").attr(d.svgAttrs),Ee._defs=Ee._paper.append("defs").attr("id","defs-"+Ee._uid),Ee._clips=Ee._defs.append("g").classed("clips",!0),Ee._topdefs=Ee._toppaper.append("defs").attr("id","topdefs-"+Ee._uid),Ee._topclips=Ee._topdefs.append("g").classed("clips",!0),Ee._bgLayer=Ee._paper.append("g").classed("bglayer",!0),Ee._draggers=Ee._paper.append("g").classed("draglayer",!0);var Le=Ee._paper.append("g").classed("layer-below",!0);Ee._imageLowerLayer=Le.append("g").classed("imagelayer",!0),Ee._shapeLowerLayer=Le.append("g").classed("shapelayer",!0),Ee._cartesianlayer=Ee._paper.append("g").classed("cartesianlayer",!0),Ee._polarlayer=Ee._paper.append("g").classed("polarlayer",!0),Ee._smithlayer=Ee._paper.append("g").classed("smithlayer",!0),Ee._ternarylayer=Ee._paper.append("g").classed("ternarylayer",!0),Ee._geolayer=Ee._paper.append("g").classed("geolayer",!0),Ee._funnelarealayer=Ee._paper.append("g").classed("funnelarealayer",!0),Ee._pielayer=Ee._paper.append("g").classed("pielayer",!0),Ee._iciclelayer=Ee._paper.append("g").classed("iciclelayer",!0),Ee._treemaplayer=Ee._paper.append("g").classed("treemaplayer",!0),Ee._sunburstlayer=Ee._paper.append("g").classed("sunburstlayer",!0),Ee._indicatorlayer=Ee._toppaper.append("g").classed("indicatorlayer",!0),Ee._glimages=Ee._paper.append("g").classed("glimages",!0);var nt=Ee._toppaper.append("g").classed("layer-above",!0);Ee._imageUpperLayer=nt.append("g").classed("imagelayer",!0),Ee._shapeUpperLayer=nt.append("g").classed("shapelayer",!0),Ee._selectionLayer=Ee._toppaper.append("g").classed("selectionlayer",!0),Ee._infolayer=Ee._toppaper.append("g").classed("infolayer",!0),Ee._menulayer=Ee._toppaper.append("g").classed("menulayer",!0),Ee._zoomlayer=Ee._toppaper.append("g").classed("zoomlayer",!0),Ee._hoverlayer=Ee._hoverpaper.append("g").classed("hoverlayer",!0),Ee._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),Se.emit("plotly_framework")}Z.animate=gr,Z.addFrames=br,Z.deleteFrames=_t,Z.addTraces=$,Z.deleteTraces=J,Z.extendTraces=fe,Z.moveTraces=X,Z.prependTraces=G,Z.newPlot=B,Z._doPlot=u,Z.purge=Be,Z.react=Bt,Z.redraw=F,Z.relayout=xe,Z.restyle=re,Z.setPlotConfig=f,Z.update=ut,Z._guiRelayout=Me(xe),Z._guiRestyle=Me(re),Z._guiUpdate=Me(ut),Z._storeDirectGUIEdit=ie}}),Jv=ke({"src/snapshot/helpers.js"(Z){"use strict";var H=lo();Z.getDelay=function(A){return A._has&&(A._has("gl3d")||A._has("mapbox")||A._has("map"))?500:0},Z.getRedrawFunc=function(A){return function(){H.getComponentMethod("colorbar","draw")(A)}},Z.encodeSVG=function(A){return"data:image/svg+xml,"+encodeURIComponent(A)},Z.encodeJSON=function(A){return"data:application/json,"+encodeURIComponent(A)};var g=window.URL||window.webkitURL;Z.createObjectURL=function(A){return g.createObjectURL(A)},Z.revokeObjectURL=function(A){return g.revokeObjectURL(A)},Z.createBlob=function(A,S){if(S==="svg")return new window.Blob([A],{type:"image/svg+xml;charset=utf-8"});if(S==="full-json")return new window.Blob([A],{type:"application/json;charset=utf-8"});var e=x(window.atob(A));return new window.Blob([e],{type:"image/"+S})},Z.octetStream=function(A){document.location.href="data:application/octet-stream"+A};function x(A){for(var S=A.length,e=new ArrayBuffer(S),t=new Uint8Array(e),r=0;r")!==-1?"":s.html(h).text()});return s.remove(),c}function i(a){return a.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")}H.exports=function(s,c,h){var p=s._fullLayout,d=p._paper,T=p._toppaper,l=p.width,_=p.height,w;d.insert("rect",":first-child").call(A.setRect,0,0,l,_).call(S.fill,p.paper_bgcolor);var M=p._basePlotModules||[];for(w=0;w1&&E.push(s("object","layout"))),x.supplyDefaults(m);for(var u=m._fullData,y=b.length,f=0;fP.length&&M.push(s("unused",E,y.concat(P.length)));var I=P.length,N=Array.isArray(O);N&&(I=Math.min(I,O.length));var U,W,Q,le,se;if(L.dimensions===2)for(W=0;WP[W].length&&M.push(s("unused",E,y.concat(W,P[W].length)));var fe=P[W].length;for(U=0;U<(N?Math.min(fe,O[W].length):fe);U++)Q=N?O[W][U]:O,le=f[W][U],se=P[W][U],g.validate(le,Q)?se!==le&&se!==+le&&M.push(s("dynamic",E,y.concat(W,U),le,se)):M.push(s("value",E,y.concat(W,U),le))}else M.push(s("array",E,y.concat(W),f[W]));else for(W=0;WF?M.push({code:"unused",traceType:f,templateCount:z,dataCount:F}):F>z&&M.push({code:"reused",traceType:f,templateCount:z,dataCount:F})}}function B(O,I){for(var N in O)if(N.charAt(0)!=="_"){var U=O[N],W=s(O,N,I);g(U)?(Array.isArray(O)&&U._template===!1&&U.templateitemname&&M.push({code:"missing",path:W,templateitemname:U.templateitemname}),B(U,W)):Array.isArray(U)&&c(U)&&B(U,W)}}if(B({data:m,layout:E},""),M.length)return M.map(h)};function c(p){for(var d=0;d=0;h--){var p=e[h];if(p.type==="scatter"&&p.xaxis===s.xaxis&&p.yaxis===s.yaxis){p.opacity=void 0;break}}}}}}}),P5=ke({"src/traces/scatter/layout_defaults.js"(Z,H){"use strict";var g=un(),x=u_();H.exports=function(A,S){function e(r,o){return g.coerce(A,S,x,r,o)}var t=S.barmode==="group";S.scattermode==="group"&&e("scattergap",t?S.bargap:.2)}}}),vv=ke({"src/plots/cartesian/align_period.js"(Z,H){"use strict";var g=Yn(),x=un(),A=x.dateTime2ms,S=x.incrementMonth,e=Hi(),t=e.ONEAVGMONTH;H.exports=function(o,n,i,a){if(n.type!=="date")return{vals:a};var s=o[i+"periodalignment"];if(!s)return{vals:a};var c=o[i+"period"],h;if(g(c)){if(c=+c,c<=0)return{vals:a}}else if(typeof c=="string"&&c.charAt(0)==="M"){var p=+c.substring(1);if(p>0&&Math.round(p)===p)h=p;else return{vals:a}}for(var d=n.calendar,T=s==="start",l=s==="end",_=o[i+"period0"],w=A(_,d)||0,M=[],E=[],m=[],b=a.length,v=0;vu;)P=S(P,-h,d);for(;P<=u;)P=S(P,h,d);f=S(P,-h,d)}else{for(y=Math.round((u-w)/c),P=w+y*c;P>u;)P-=c;for(;P<=u;)P+=c;f=P-c}M[v]=T?f:l?P:(f+P)/2,E[v]=f,m[v]=P}return{vals:M,starts:E,ends:m}}}}),Wd=ke({"src/traces/scatter/colorscale_calc.js"(Z,H){"use strict";var g=ad().hasColorscale,x=od(),A=vu();H.exports=function(e,t){A.hasLines(t)&&g(t,"line")&&x(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),A.hasMarkers(t)&&(g(t,"marker")&&x(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),g(t,"marker.line")&&x(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}}}),Lv=ke({"src/traces/scatter/arrays_to_calcdata.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){for(var e=0;eB&&f[I].gap;)I--;for(U=f[I].s,O=f.length-1;O>I;O--)f[O].s=U;for(;BN+O||!g(I))}for(var W=0;Wz[d]&&d0?e:t)/(d._m*_*(d._m>0?e:t)))),Rt*=1e3}if(Nt===A){if(l&&(Nt=d.c2p(bt.y,!0)),Nt===A)return!1;Nt*=1e3}return[Rt,Nt]}function ee(pt,bt,Rt,Nt){var Xt=Rt-pt,$t=Nt-bt,ur=.5-pt,pn=.5-bt,Rn=Xt*Xt+$t*$t,Nn=Xt*ur+$t*pn;if(Nn>0&&Nn1||Math.abs(ur.y-Rt[0][1])>1)&&(ur=[ur.x,ur.y],Nt&&Te(ur,pt)Ye||pt[1]at)return[n(pt[0],Ie,Ye),n(pt[1],it,at)]}function Lt(pt,bt){if(pt[0]===bt[0]&&(pt[0]===Ie||pt[0]===Ye)||pt[1]===bt[1]&&(pt[1]===it||pt[1]===at))return!0}function Et(pt,bt){var Rt=[],Nt=et(pt),Xt=et(bt);return Nt&&Xt&&Lt(Nt,Xt)||(Nt&&Rt.push(Nt),Xt&&Rt.push(Xt)),Rt}function Bt(pt,bt,Rt){return function(Nt,Xt){var $t=et(Nt),ur=et(Xt),pn=[];if($t&&ur&&Lt($t,ur))return pn;$t&&pn.push($t),ur&&pn.push(ur);var Rn=2*r.constrain((Nt[pt]+Xt[pt])/2,bt,Rt)-(($t||Nt)[pt]+(ur||Xt)[pt]);if(Rn){var Nn;$t&&ur?Nn=Rn>0==$t[pt]>ur[pt]?$t:ur:Nn=$t||ur,Nn[pt]+=Rn}return pn}}var qt;v==="linear"||v==="spline"?qt=ot:v==="hv"||v==="vh"?qt=Et:v==="hvh"?qt=Bt(0,Ie,Ye):v==="vhv"&&(qt=Bt(1,it,at));function fr(pt,bt){var Rt=bt[0]-pt[0],Nt=(bt[1]-pt[1])/Rt,Xt=(pt[1]*bt[0]-bt[1]*pt[0])/Rt;return Xt>0?[Nt>0?Ie:Ye,at]:[Nt>0?Ye:Ie,it]}function ar(pt){var bt=pt[0],Rt=pt[1],Nt=bt===z[F-1][0],Xt=Rt===z[F-1][1];if(!(Nt&&Xt))if(F>1){var $t=bt===z[F-2][0],ur=Rt===z[F-2][1];Nt&&(bt===Ie||bt===Ye)&&$t?ur?F--:z[F-1]=pt:Xt&&(Rt===it||Rt===at)&&ur?$t?F--:z[F-1]=pt:z[F++]=pt}else z[F++]=pt}function Rr(pt){z[F-1][0]!==pt[0]&&z[F-1][1]!==pt[1]&&ar([pe,ue]),ar(pt),Oe=null,pe=ue=0}var gr=r.isArrayOrTypedArray(E);function br(pt){if(pt&&M&&(pt.i=B,pt.d=s,pt.trace=h,pt.marker=gr?E[pt.i]:E,pt.backoff=M),ie=pt[0]/_,ce=pt[1]/w,ut=pt[0]Ye?Ye:0,Me=pt[1]at?at:0,ut||Me){if(!F)z[F++]=[ut||pt[0],Me||pt[1]];else if(Oe){var bt=qt(Oe,pt);bt.length>1&&(Rr(bt[0]),z[F++]=bt[1])}else rt=qt(z[F-1],pt)[0],z[F++]=rt;var Rt=z[F-1];ut&&Me&&(Rt[0]!==ut||Rt[1]!==Me)?(Oe&&(pe!==ut&&ue!==Me?ar(pe&&ue?fr(Oe,pt):[pe||ut,ue||Me]):pe&&ue&&ar([pe,ue])),ar([ut,Me])):pe-ut&&ue-Me&&ar([ut||pe,Me||ue]),Oe=pt,pe=ut,ue=Me}else Oe&&Rr(qt(Oe,pt)[0]),z[F++]=pt}for(B=0;Bxe(W,_t))break;I=W,J=se[0]*le[0]+se[1]*le[1],J>G?(G=J,N=W,Q=!1):J<$&&($=J,U=W,Q=!0)}if(Q?(br(N),I!==U&&br(U)):(U!==O&&br(U),I!==N&&br(N)),br(I),B>=s.length||!W)break;br(W),O=W}}Oe&&ar([pe||Oe[0],ue||Oe[1]]),f.push(z.slice(0,F))}var Be=v.slice(v.length-1);if(M&&Be!=="h"&&Be!=="v"){for(var Ke=!1,je=-1,Se=[],He=0;He=0?i=p:(i=p=h,h++),i0,v=n(p,d,T);if(M=l.selectAll("g.trace").data(v,function(y){return y[0].trace.uid}),M.enter().append("g").attr("class",function(y){return"trace scatter trace"+y[0].trace.uid}).style("stroke-miterlimit",2),M.order(),a(p,M,d),b){w&&(E=w());var u=g.transition().duration(_.duration).ease(_.easing).each("end",function(){E&&E()}).each("interrupt",function(){E&&E()});u.each(function(){l.selectAll("g.trace").each(function(y,f){s(p,f,d,y,v,this,_)})})}else M.each(function(y,f){s(p,f,d,y,v,this,_)});m&&M.exit().remove(),l.selectAll("path:not([d])").remove()};function a(h,p,d){p.each(function(T){var l=S(g.select(this),"g","fills");t.setClipUrl(l,d.layerClipId,h);var _=T[0].trace,w=[];_._ownfill&&w.push("_ownFill"),_._nexttrace&&w.push("_nextFill");var M=l.selectAll("g").data(w,e);M.enter().append("g"),M.exit().each(function(E){_[E]=null}).remove(),M.order().each(function(E){_[E]=S(g.select(this),"path","js-fill")})})}function s(h,p,d,T,l,_,w){var M=h._context.staticPlot,E;c(h,p,d,T,l);var m=!!w&&w.duration>0;function b(ar){return m?ar.transition():ar}var v=d.xaxis,u=d.yaxis,y=T[0].trace,f=y.line,P=g.select(_),L=S(P,"g","errorbars"),z=S(P,"g","lines"),F=S(P,"g","points"),B=S(P,"g","text");if(x.getComponentMethod("errorbars","plot")(h,L,d,w),y.visible!==!0)return;b(P).style("opacity",y.opacity);var O,I,N=y.fill.charAt(y.fill.length-1);N!=="x"&&N!=="y"&&(N="");var U,W;N==="y"?(U=1,W=u.c2p(0,!0)):N==="x"&&(U=0,W=v.c2p(0,!0)),T[0][d.isRangePlot?"nodeRangePlot3":"node3"]=P;var Q="",le=[],se=y._prevtrace,fe=null,G=null;se&&(Q=se._prevRevpath||"",I=se._nextFill,le=se._ownPolygons,fe=se._fillsegments,G=se._fillElement);var $,J,X="",re="",ae,j,ee,ie,ce,xe,Te=[];y._polygons=[];var Ue=[],Ie=[],Ye=A.noop;if(O=y._ownFill,r.hasLines(y)||y.fill!=="none"){I&&I.datum(T),["hv","vh","hvh","vhv"].indexOf(f.shape)!==-1?(ae=t.steps(f.shape),j=t.steps(f.shape.split("").reverse().join(""))):f.shape==="spline"?ae=j=function(ar){var Rr=ar[ar.length-1];return ar.length>1&&ar[0][0]===Rr[0]&&ar[0][1]===Rr[1]?t.smoothclosed(ar.slice(1),f.smoothing):t.smoothopen(ar,f.smoothing)}:ae=j=function(ar){return"M"+ar.join("L")},ee=function(ar){return j(ar.reverse())},Ie=o(T,{xaxis:v,yaxis:u,trace:y,connectGaps:y.connectgaps,baseTolerance:Math.max(f.width||1,3)/4,shape:f.shape,backoff:f.backoff,simplify:f.simplify,fill:y.fill}),Ue=new Array(Ie.length);var it=0;for(E=0;E=M[0]&&P.x<=M[1]&&P.y>=E[0]&&P.y<=E[1]}),u=Math.ceil(v.length/b),y=0;l.forEach(function(P,L){var z=P[0].trace;r.hasMarkers(z)&&z.marker.maxdisplayed>0&&L=Math.min(se,fe)&&d<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(h.c2p(le.x)-d);return J=Math.min(se,fe)&&T<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(p.c2p(le.y)-T);return Jre!=Ue>=re&&(ce=ee[j-1][0],xe=ee[j][0],Ue-Te&&(ie=ce+(xe-ce)*(re-Te)/(Ue-Te),G=Math.min(G,ie),$=Math.max($,ie)));return G=Math.max(G,0),$=Math.min($,h._length),{x0:G,x1:$,y0:re,y1:re}}if(_.indexOf("fills")!==-1&&c._fillElement){var U=I(c._fillElement)&&!I(c._fillExclusionElement);if(U){var W=N(c._polygons);W===null&&(W={x0:l[0],x1:l[0],y0:l[1],y1:l[1]});var Q=e.defaultLine;return e.opacity(c.fillcolor)?Q=c.fillcolor:e.opacity((c.line||{}).color)&&(Q=c.line.color),g.extendFlat(o,{distance:o.maxHoverDistance,x0:W.x0,x1:W.x1,y0:W.y0,y1:W.y1,color:Q,hovertemplate:!1}),delete o.index,c.text&&!g.isArrayOrTypedArray(c.text)?o.text=String(c.text):o.text=c.name,[o]}}}}}),$g=ke({"src/traces/scatter/select.js"(Z,H){"use strict";var g=vu();H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=[],n=e[0].trace,i,a,s,c,h=!g.hasMarkers(n)&&!g.hasText(n);if(h)return[];if(S===!1)for(i=0;i0&&(a["_"+n+"axes"]||{})[o])return a;if((a[n+"axis"]||n)===o){if(t(a,n))return a;if((a[n]||[]).length||a[n+"0"])return a}}}function e(r){return{v:"x",h:"y"}[r.orientation||"v"]}function t(r,o){var n=e(r),i=g(r,"box-violin"),a=g(r._fullInput||{},"candlestick");return i&&!a&&o===n&&r[n]===void 0&&r[n+"0"]===void 0}}}),T_=ke({"src/plots/cartesian/category_order_defaults.js"(Z,H){"use strict";var g=Oa().isTypedArraySpec;function x(A,S){var e=S.dataAttr||A._id.charAt(0),t={},r,o,n;if(S.axData)r=S.axData;else for(r=[],o=0;o0||g(o),i;n&&(i="array");var a=t("categoryorder",i),s;a==="array"&&(s=t("categoryarray")),!n&&a==="array"&&(a=e.categoryorder="trace"),a==="trace"?e._initialCategories=[]:a==="array"?e._initialCategories=s.slice():(s=x(e,r).sort(),a==="category ascending"?e._initialCategories=s:a==="category descending"&&(e._initialCategories=s.reverse()))}}}}),o0=ke({"src/plots/cartesian/line_grid_defaults.js"(Z,H){"use strict";var g=ru().mix,x=If(),A=un();H.exports=function(e,t,r,o){o=o||{};var n=o.dfltColor;function i(y,f){return A.coerce2(e,t,o.attributes,y,f)}var a=i("linecolor",n),s=i("linewidth"),c=r("showline",o.showLine||!!a||!!s);c||(delete t.linecolor,delete t.linewidth);var h=g(n,o.bgColor,o.blend||x.lightFraction).toRgbString(),p=i("gridcolor",h),d=i("gridwidth"),T=i("griddash"),l=r("showgrid",o.showGrid||!!p||!!d||!!T);if(l||(delete t.gridcolor,delete t.gridwidth,delete t.griddash),o.hasMinor){var _=g(t.gridcolor,o.bgColor,67).toRgbString(),w=i("minor.gridcolor",_),M=i("minor.gridwidth",t.gridwidth||1),E=i("minor.griddash",t.griddash||"solid"),m=r("minor.showgrid",!!w||!!M||!!E);m||(delete t.minor.gridcolor,delete t.minor.gridwidth,delete t.minor.griddash)}if(!o.noZeroLine){var b=i("zerolinecolor",n),v=i("zerolinewidth"),u=r("zeroline",o.showGrid||!!b||!!v);u||(delete t.zerolinecolor,delete t.zerolinewidth)}}}}),s0=ke({"src/plots/cartesian/axis_defaults.js"(Z,H){"use strict";var g=Yn(),x=lo(),A=un(),S=yl(),e=Oh(),t=wh(),r=Pm(),o=qg(),n=Dp(),i=zp(),a=T_(),s=o0(),c=$w(),h=Cv(),p=oh().WEEKDAY_PATTERN,d=oh().HOUR_PATTERN;H.exports=function(M,E,m,b,v){var u=b.letter,y=b.font||{},f=b.splomStash||{},P=m("visible",!b.visibleDflt),L=E._template||{},z=E.type||L.type||"-",F;if(z==="date"){var B=x.getComponentMethod("calendars","handleDefaults");B(M,E,"calendar",b.calendar),b.noTicklabelmode||(F=m("ticklabelmode"))}!b.noTicklabelindex&&(z==="date"||z==="linear")&&m("ticklabelindex");var O="";(!b.noTicklabelposition||z==="multicategory")&&(O=A.coerce(M,E,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:F==="period"?["outside","inside"]:u==="x"?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),b.noTicklabeloverflow||m("ticklabeloverflow",O.indexOf("inside")!==-1?"hide past domain":z==="category"||z==="multicategory"?"allow":"hide past div"),h(E,v),c(M,E,m,b),a(M,E,m,b),z!=="category"&&!b.noHover&&m("hoverformat");var I=m("color"),N=I!==t.color.dflt?I:y.color,U=f.label||v._dfltTitle[u];if(i(M,E,m,z,b),!P)return E;m("title.text",U),A.coerceFont(m,"title.font",y,{overrideDflt:{size:A.bigFont(y.size),color:N}}),r(M,E,m,z);var W=b.hasMinor;if(W&&(S.newContainer(E,"minor"),r(M,E,m,z,{isMinor:!0})),n(M,E,m,z,b),o(M,E,m,b),W){var Q=b.isMinor;b.isMinor=!0,o(M,E,m,b),b.isMinor=Q}s(M,E,m,{dfltColor:I,bgColor:b.bgColor,showGrid:b.showGrid,hasMinor:W,attributes:t}),W&&!E.minor.ticks&&!E.minor.showgrid&&delete E.minor,(E.showline||E.ticks)&&m("mirror");var le=z==="multicategory";if(!b.noTickson&&(z==="category"||le)&&(E.ticks||E.showgrid)){var se;le&&(se="boundaries");var fe=m("tickson",se);fe==="boundaries"&&delete E.ticklabelposition}if(le){var G=m("showdividers");G&&(m("dividercolor"),m("dividerwidth"))}if(z==="date")if(e(M,E,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:T}),!E.rangebreaks.length)delete E.rangebreaks;else{for(var $=0;$=2){var u="",y,f;if(v.length===2){for(y=0;y<2;y++)if(f=_(v[y]),f){u=p;break}}var P=m("pattern",u);if(P===p)for(y=0;y<2;y++)f=_(v[y]),f&&(M.bounds[y]=v[y]=f-1);if(P)for(y=0;y<2;y++)switch(f=v[y],P){case p:if(!g(f)){M.enabled=!1;return}if(f=+f,f!==Math.floor(f)||f<0||f>=7){M.enabled=!1;return}M.bounds[y]=v[y]=f;break;case d:if(!g(f)){M.enabled=!1;return}if(f=+f,f<0||f>24){M.enabled=!1;return}M.bounds[y]=v[y]=f;break}if(E.autorange===!1){var L=E.range;if(L[0]L[1]){M.enabled=!1;return}}else if(v[0]>L[0]&&v[1]m[1]-1/4096&&(e.domain=h),x.noneOrAll(S.domain,e.domain,h),e.tickmode==="sync"&&(e.tickmode="auto")}return t("layer"),e}}}),z5=ke({"src/plots/cartesian/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=gd().isUnifiedHover,S=a2(),e=yl(),t=Ug(),r=wh(),o=T2(),n=s0(),i=Rm(),a=A_(),s=qc(),c=s.id2name,h=s.name2id,p=oh().AX_ID_PATTERN,d=lo(),T=d.traceIs,l=d.getComponentMethod;function _(w,M,E){Array.isArray(w[M])?w[M].push(E):w[M]=[E]}H.exports=function(M,E,m){var b=E.autotypenumbers,v={},u={},y={},f={},P={},L={},z={},F={},B={},O={},I,N;for(I=0;I rect").call(S.setTranslate,0,0).call(S.setScale,1,1),E.plot.call(S.setTranslate,m._offset,b._offset).call(S.setScale,1,1);var v=E.plot.selectAll(".scatterlayer .trace");v.selectAll(".point").call(S.setPointGroupScale,1,1),v.selectAll(".textpoint").call(S.setTextPointsScale,1,1),v.call(S.hideOutsideRangePoints,E)}function c(E,m){var b=E.plotinfo,v=b.xaxis,u=b.yaxis,y=v._length,f=u._length,P=!!E.xr1,L=!!E.yr1,z=[];if(P){var F=A.simpleMap(E.xr0,v.r2l),B=A.simpleMap(E.xr1,v.r2l),O=F[1]-F[0],I=B[1]-B[0];z[0]=(F[0]*(1-m)+m*B[0]-F[0])/(F[1]-F[0])*y,z[2]=y*(1-m+m*I/O),v.range[0]=v.l2r(F[0]*(1-m)+m*B[0]),v.range[1]=v.l2r(F[1]*(1-m)+m*B[1])}else z[0]=0,z[2]=y;if(L){var N=A.simpleMap(E.yr0,u.r2l),U=A.simpleMap(E.yr1,u.r2l),W=N[1]-N[0],Q=U[1]-U[0];z[1]=(N[1]*(1-m)+m*U[1]-N[1])/(N[0]-N[1])*f,z[3]=f*(1-m+m*Q/W),u.range[0]=v.l2r(N[0]*(1-m)+m*U[0]),u.range[1]=u.l2r(N[1]*(1-m)+m*U[1])}else z[1]=0,z[3]=f;e.drawOne(r,v,{skipTitle:!0}),e.drawOne(r,u,{skipTitle:!0}),e.redrawComponents(r,[v._id,u._id]);var le=P?y/z[2]:1,se=L?f/z[3]:1,fe=P?z[0]:0,G=L?z[1]:0,$=P?z[0]/z[2]*y:0,J=L?z[1]/z[3]*f:0,X=v._offset-$,re=u._offset-J;b.clipRect.call(S.setTranslate,fe,G).call(S.setScale,1/le,1/se),b.plot.call(S.setTranslate,X,re).call(S.setScale,le,se),S.setPointGroupScale(b.zoomScalePts,1/le,1/se),S.setTextPointsScale(b.zoomScaleTxt,1/le,1/se)}var h;i&&(h=i());function p(){for(var E={},m=0;mn.duration?(p(),_=window.cancelAnimationFrame(M)):_=window.requestAnimationFrame(M)}return T=Date.now(),_=window.requestAnimationFrame(M),Promise.resolve()}}}),xf=ke({"src/plots/cartesian/index.js"(Z){"use strict";var H=_i(),g=lo(),x=un(),A=Zu(),S=$o(),e=bh().getModuleCalcData,t=qc(),r=oh(),o=zd(),n=x.ensureSingle;function i(T,l,_){return x.ensureSingle(T,l,_,function(w){w.datum(_)})}var a=r.zindexSeparator;Z.name="cartesian",Z.attr=["xaxis","yaxis"],Z.idRoot=["x","y"],Z.idRegex=r.idRegex,Z.attrRegex=r.attrRegex,Z.attributes=D5(),Z.layoutAttributes=wh(),Z.supplyLayoutDefaults=z5(),Z.transitionAxes=F5(),Z.finalizeSubplots=function(T,l){var _=l._subplots,w=_.xaxis,M=_.yaxis,E=_.cartesian,m=E,b={},v={},u,y,f;for(u=0;u0){var L=P.id;if(L.indexOf(a)!==-1)continue;L+=a+(u+1),P=x.extendFlat({},P,{id:L,plot:M._cartesianlayer.selectAll(".subplot").select("."+L)})}for(var z=[],F,B=0;B1&&(W+=a+U),N.push(b+W),m=0;m1,f=l.mainplotinfo;if(!l.mainplot||y)if(u)l.xlines=n(w,"path","xlines-above"),l.ylines=n(w,"path","ylines-above"),l.xaxislayer=n(w,"g","xaxislayer-above"),l.yaxislayer=n(w,"g","yaxislayer-above");else{if(!m){var P=n(w,"g","layer-subplot");l.shapelayer=n(P,"g","shapelayer"),l.imagelayer=n(P,"g","imagelayer"),f&&y?(l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer):(l.minorGridlayer=n(w,"g","minor-gridlayer"),l.gridlayer=n(w,"g","gridlayer"),l.zerolinelayer=n(w,"g","zerolinelayer"));var L=n(w,"g","layer-between");l.shapelayerBetween=n(L,"g","shapelayer"),l.imagelayerBetween=n(L,"g","imagelayer"),n(w,"path","xlines-below"),n(w,"path","ylines-below"),l.overlinesBelow=n(w,"g","overlines-below"),n(w,"g","xaxislayer-below"),n(w,"g","yaxislayer-below"),l.overaxesBelow=n(w,"g","overaxes-below")}l.overplot=n(w,"g","overplot"),l.plot=n(l.overplot,"g",M),m||(l.xlines=n(w,"path","xlines-above"),l.ylines=n(w,"path","ylines-above"),l.overlinesAbove=n(w,"g","overlines-above"),n(w,"g","xaxislayer-above"),n(w,"g","yaxislayer-above"),l.overaxesAbove=n(w,"g","overaxes-above"),l.xlines=w.select(".xlines-"+b),l.ylines=w.select(".ylines-"+v),l.xaxislayer=w.select(".xaxislayer-"+b),l.yaxislayer=w.select(".yaxislayer-"+v))}else{var z=f.plotgroup,F=M+"-x",B=M+"-y";l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer,n(f.overlinesBelow,"path",F),n(f.overlinesBelow,"path",B),n(f.overaxesBelow,"g",F),n(f.overaxesBelow,"g",B),l.plot=n(f.overplot,"g",M),n(f.overlinesAbove,"path",F),n(f.overlinesAbove,"path",B),n(f.overaxesAbove,"g",F),n(f.overaxesAbove,"g",B),l.xlines=z.select(".overlines-"+b).select("."+F),l.ylines=z.select(".overlines-"+v).select("."+B),l.xaxislayer=z.select(".overaxes-"+b).select("."+F),l.yaxislayer=z.select(".overaxes-"+v).select("."+B)}m||(u||(i(l.minorGridlayer,"g",l.xaxis._id),i(l.minorGridlayer,"g",l.yaxis._id),l.minorGridlayer.selectAll("g").map(function(O){return O[0]}).sort(t.idSort),i(l.gridlayer,"g",l.xaxis._id),i(l.gridlayer,"g",l.yaxis._id),l.gridlayer.selectAll("g").map(function(O){return O[0]}).sort(t.idSort)),l.xlines.style("fill","none").classed("crisp",!0),l.ylines.style("fill","none").classed("crisp",!0))}function p(T,l){if(T){var _={};T.each(function(v){var u=v[0],y=H.select(this);y.remove(),d(u,l),_[u]=!0});for(var w in l._plots)for(var M=l._plots[w],E=M.overlays||[],m=0;m=0,l=i.indexOf("end")>=0,_=c.backoff*p+a.standoff,w=h.backoff*d+a.startstandoff,M,E,m,b;if(s.nodeName==="line"){M={x:+n.attr("x1"),y:+n.attr("y1")},E={x:+n.attr("x2"),y:+n.attr("y2")};var v=M.x-E.x,u=M.y-E.y;if(m=Math.atan2(u,v),b=m+Math.PI,_&&w&&_+w>Math.sqrt(v*v+u*u)){W();return}if(_){if(_*_>v*v+u*u){W();return}var y=_*Math.cos(m),f=_*Math.sin(m);E.x+=y,E.y+=f,n.attr({x2:E.x,y2:E.y})}if(w){if(w*w>v*v+u*u){W();return}var P=w*Math.cos(m),L=w*Math.sin(m);M.x-=P,M.y-=L,n.attr({x1:M.x,y1:M.y})}}else if(s.nodeName==="path"){var z=s.getTotalLength(),F="";if(z<_+w){W();return}var B=s.getPointAtLength(0),O=s.getPointAtLength(.1);m=Math.atan2(B.y-O.y,B.x-O.x),M=s.getPointAtLength(Math.min(w,z)),F="0px,"+w+"px,";var I=s.getPointAtLength(z),N=s.getPointAtLength(z-.1);b=Math.atan2(I.y-N.y,I.x-N.x),E=s.getPointAtLength(Math.max(0,z-_));var U=F?w+_:_;F+=z-U+"px,"+z+"px",n.style("stroke-dasharray",F)}function W(){n.style("stroke-dasharray","0px,100px")}function Q(le,se,fe,G){le.path&&(le.noRotate&&(fe=0),g.select(s.parentNode).append("path").attr({class:n.attr("class"),d:le.path,transform:r(se.x,se.y)+t(fe*180/Math.PI)+e(G)}).style({fill:x.rgb(a.arrowcolor),"stroke-width":0}))}T&&Q(h,M,m,d),l&&Q(c,E,b,p)}}}),M_=ke({"src/components/annotations/draw.js"(Z,H){"use strict";var g=_i(),x=lo(),A=Zu(),S=un(),e=S.strTranslate,t=Ho(),r=eo(),o=$o(),n=Ec(),i=Wl(),a=uv(),s=Xh(),c=yl().arrayEditor,h=B5();H.exports={draw:p,drawOne:d,drawRaw:l};function p(_){var w=_._fullLayout;w._infolayer.selectAll(".annotation").remove();for(var M=0;M2/3?zn="right":zn="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[zn]}for(var rt=!1,ot=["x","y"],et=0;et1)&&(Bt===Et?(Le=qt.r2fraction(w["a"+Lt]),(Le<0||Le>1)&&(rt=!0)):rt=!0),Ke=qt._offset+qt.r2p(w[Lt]),He=.5}else{var nt=we==="domain";Lt==="x"?(Se=w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.l+u.w*Se):(Se=1-w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.t+u.h*Se),He=w.showarrow?.5:Se}if(w.showarrow){Be.head=Ke;var pt=w["a"+Lt];if(Ee=ar*Oe(.5,w.xanchor)-Rr*Oe(.5,w.yanchor),Bt===Et){var bt=t.getRefType(Bt);bt==="domain"?(Lt==="y"&&(pt=1-pt),Be.tail=qt._offset+qt._length*pt):bt==="paper"?Lt==="y"?(pt=1-pt,Be.tail=u.t+u.h*pt):Be.tail=u.l+u.w*pt:Be.tail=qt._offset+qt.r2p(pt),je=Ee}else Be.tail=Ke+pt,je=Ee+pt;Be.text=Be.tail+Ee;var Rt=v[Lt==="x"?"width":"height"];if(Et==="paper"&&(Be.head=S.constrain(Be.head,1,Rt-1)),Bt==="pixel"){var Nt=-Math.max(Be.tail-3,Be.text),Xt=Math.min(Be.tail+3,Be.text)-Rt;Nt>0?(Be.tail+=Nt,Be.text+=Nt):Xt>0&&(Be.tail-=Xt,Be.text-=Xt)}Be.tail+=_t,Be.head+=_t}else Ee=gr*Oe(He,br),je=Ee,Be.text=Ke+Ee;Be.text+=_t,Ee+=_t,je+=_t,w["_"+Lt+"padplus"]=gr/2+je,w["_"+Lt+"padminus"]=gr/2-je,w["_"+Lt+"size"]=gr,w["_"+Lt+"shift"]=Ee}if(rt){fe.remove();return}var $t=0,ur=0;if(w.align!=="left"&&($t=(ut-at)*(w.align==="center"?.5:1)),w.valign!=="top"&&(ur=(Me-tt)*(w.valign==="middle"?.5:1)),Ye)Ie.select("svg").attr({x:J+$t-1,y:J+ur}).call(o.setClipUrl,re?O:null,_);else{var pn=J+ur-it.top,Rn=J+$t-it.left;ie.call(i.positionText,Rn,pn).call(o.setClipUrl,re?O:null,_)}ae.select("rect").call(o.setRect,J,J,ut,Me),X.call(o.setRect,G/2,G/2,pe-G,ue-G),fe.call(o.setTranslate,Math.round(I.x.text-pe/2),Math.round(I.y.text-ue/2)),W.attr({transform:"rotate("+N+","+I.x.text+","+I.y.text+")"});var Nn=function(ni,zn){U.selectAll(".annotation-arrow-g").remove();var Qn=I.x.head,gi=I.y.head,Zt=I.x.tail+ni,Ft=I.y.tail+zn,Ht=I.x.text+ni,Vt=I.y.text+zn,wr=S.rotationXYMatrix(N,Ht,Vt),$r=S.apply2DTransform(wr),xn=S.apply2DTransform2(wr),en=+X.attr("width"),Fn=+X.attr("height"),Wn=Ht-.5*en,ri=Wn+en,Sn=Vt-.5*Fn,ui=Sn+Fn,gt=[[Wn,Sn,Wn,ui],[Wn,ui,ri,ui],[ri,ui,ri,Sn],[ri,Sn,Wn,Sn]].map(xn);if(!gt.reduce(function(kt,or){return kt^!!S.segmentsIntersect(Qn,gi,Qn+1e6,gi+1e6,or[0],or[1],or[2],or[3])},!1)){gt.forEach(function(kt){var or=S.segmentsIntersect(Zt,Ft,Qn,gi,kt[0],kt[1],kt[2],kt[3]);or&&(Zt=or.x,Ft=or.y)});var yt=w.arrowwidth,Pr=w.arrowcolor,Ir=w.arrowside,Tr=U.append("g").style({opacity:r.opacity(Pr)}).classed("annotation-arrow-g",!0),Mr=Tr.append("path").attr("d","M"+Zt+","+Ft+"L"+Qn+","+gi).style("stroke-width",yt+"px").call(r.stroke,r.rgb(Pr));if(h(Mr,Ir,w),y.annotationPosition&&Mr.node().parentNode&&!E){var Lr=Qn,Ur=gi;if(w.standoff){var Dr=Math.sqrt(Math.pow(Qn-Zt,2)+Math.pow(gi-Ft,2));Lr+=w.standoff*(Zt-Qn)/Dr,Ur+=w.standoff*(Ft-gi)/Dr}var nn=Tr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Zt-Lr)+","+(Ft-Ur),transform:e(Lr,Ur)}).style("stroke-width",yt+6+"px").call(r.stroke,"rgba(0,0,0,0)").call(r.fill,"rgba(0,0,0,0)"),vn,gn;s.init({element:nn.node(),gd:_,prepFn:function(){var kt=o.getTranslate(fe);vn=kt.x,gn=kt.y,m&&m.autorange&&z(m._name+".autorange",!0),b&&b.autorange&&z(b._name+".autorange",!0)},moveFn:function(kt,or){var yr=$r(vn,gn),on=yr[0]+kt,An=yr[1]+or;fe.call(o.setTranslate,on,An),F("x",T(m,kt,"x",u,w)),F("y",T(b,or,"y",u,w)),w.axref===w.xref&&F("ax",T(m,kt,"ax",u,w)),w.ayref===w.yref&&F("ay",T(b,or,"ay",u,w)),Tr.attr("transform",e(kt,or)),W.attr({transform:"rotate("+N+","+on+","+An+")"})},doneFn:function(){x.call("_guiRelayout",_,B());var kt=document.querySelector(".js-notes-box-panel");kt&&kt.redraw(kt.selectedObj)}})}}};if(w.showarrow&&Nn(0,0),Q){var On;s.init({element:fe.node(),gd:_,prepFn:function(){On=W.attr("transform")},moveFn:function(ni,zn){var Qn="pointer";if(w.showarrow)w.axref===w.xref?F("ax",T(m,ni,"ax",u,w)):F("ax",w.ax+ni),w.ayref===w.yref?F("ay",T(b,zn,"ay",u.w,w)):F("ay",w.ay+zn),Nn(ni,zn);else{if(E)return;var gi,Zt;if(m)gi=T(m,ni,"x",u,w);else{var Ft=w._xsize/u.w,Ht=w.x+(w._xshift-w.xshift)/u.w-Ft/2;gi=s.align(Ht+ni/u.w,Ft,0,1,w.xanchor)}if(b)Zt=T(b,zn,"y",u,w);else{var Vt=w._ysize/u.h,wr=w.y-(w._yshift+w.yshift)/u.h-Vt/2;Zt=s.align(wr-zn/u.h,Vt,0,1,w.yanchor)}F("x",gi),F("y",Zt),(!m||!b)&&(Qn=s.getCursor(m?.5:gi,b?.5:Zt,w.xanchor,w.yanchor))}W.attr({transform:e(ni,zn)+On}),a(fe,Qn)},clickFn:function(ni,zn){w.captureevents&&_.emit("plotly_clickannotation",se(zn))},doneFn:function(){a(fe),x.call("_guiRelayout",_,B());var ni=document.querySelector(".js-notes-box-panel");ni&&ni.redraw(ni.selectedObj)}})}}y.annotationText?ie.call(i.makeEditable,{delegate:fe,gd:_}).call(ce).on("edit",function(Te){w.text=Te,this.call(ce),F("text",Te),m&&m.autorange&&z(m._name+".autorange",!0),b&&b.autorange&&z(b._name+".autorange",!0),x.call("_guiRelayout",_,B())}):ie.call(ce)}}}),N5=ke({"src/components/annotations/click.js"(Z,H){"use strict";var g=un(),x=lo(),A=yl().arrayEditor;H.exports={hasClickToShow:S,onClick:e};function S(o,n){var i=t(o,n);return i.on.length>0||i.explicitOff.length>0}function e(o,n){var i=t(o,n),a=i.on,s=i.off.concat(i.explicitOff),c={},h=o._fullLayout.annotations,p,d;if(a.length||s.length){for(p=0;p1){a=!0;break}}a?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+n+'"]').remove():(i._pdata=x(e.glplot.cameraParams,[t.xaxis.r2l(i.x)*r[0],t.yaxis.r2l(i.y)*r[1],t.zaxis.r2l(i.z)*r[2]]),g(e.graphDiv,i,n,e.id,i._xa,i._ya))}}}}),X5=ke({"src/components/annotations3d/index.js"(Z,H){"use strict";var g=lo(),x=un();H.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:S_()}}},layoutAttributes:S_(),handleDefaults:H5(),includeBasePlot:A,convert:G5(),draw:W5()};function A(S,e){var t=g.subplotsRegistry.gl3d;if(t)for(var r=t.attrRegex,o=Object.keys(S),n=0;n0?l+p:p;return{ppad:p,ppadplus:d?w:M,ppadminus:d?M:w}}else return{ppad:p}}function o(n,i,a){var s=n._id.charAt(0)==="x"?"x":"y",c=n.type==="category"||n.type==="multicategory",h,p,d=0,T=0,l=c?n.r2c:n.d2c,_=i[s+"sizemode"]==="scaled";if(_?(h=i[s+"0"],p=i[s+"1"],c&&(d=i[s+"0shift"],T=i[s+"1shift"])):(h=i[s+"anchor"],p=i[s+"anchor"]),h!==void 0)return[l(h)+d,l(p)+T];if(i.path){var w=1/0,M=-1/0,E=i.path.match(A.segmentRE),m,b,v,u,y;for(n.type==="date"&&(l=S.decodeDate(l)),m=0;mM&&(M=y)));if(M>=w)return[w,M]}}}}),J5=ke({"src/components/shapes/index.js"(Z,H){"use strict";var g=y_();H.exports={moduleType:"component",name:"shapes",layoutAttributes:S2(),supplyLayoutDefaults:Z5(),supplyDrawNewShapeDefaults:Y5(),includeBasePlot:a0()("shapes"),calcAutorange:K5(),draw:g.draw,drawOne:g.drawOne}}}),E2=ke({"src/components/images/attributes.js"(Z,H){"use strict";var g=oh(),x=yl().templatedArray,A=i0();H.exports=x("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw"},source:{valType:"string",editType:"arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},sizex:{valType:"number",dflt:0,editType:"arraydraw"},sizey:{valType:"number",dflt:0,editType:"arraydraw"},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},x:{valType:"any",dflt:0,editType:"arraydraw"},y:{valType:"any",dflt:0,editType:"arraydraw"},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw"},xref:{valType:"enumerated",values:["paper",g.idRegex.x.toString()],dflt:"paper",editType:"arraydraw"},yref:{valType:"enumerated",values:["paper",g.idRegex.y.toString()],dflt:"paper",editType:"arraydraw"},editType:"arraydraw"})}}),$5=ke({"src/components/images/defaults.js"(Z,H){"use strict";var g=un(),x=Ho(),A=Oh(),S=E2(),e="images";H.exports=function(o,n){var i={name:e,handleItemDefaults:t};A(o,n,i)};function t(r,o,n){function i(_,w){return g.coerce(r,o,S,_,w)}var a=i("source"),s=i("visible",!!a);if(!s)return o;i("layer"),i("xanchor"),i("yanchor"),i("sizex"),i("sizey"),i("sizing"),i("opacity");for(var c={_fullLayout:n},h=["x","y"],p=0;p<2;p++){var d=h[p],T=x.coerceRef(r,o,c,d,"paper",void 0);if(T!=="paper"){var l=x.getFromId(c,T);l._imgIndices.push(o._index)}x.coercePosition(o,c,i,T,d,0)}return o}}}),Q5=ke({"src/components/images/draw.js"(Z,H){"use strict";var g=_i(),x=$o(),A=Ho(),S=qc(),e=zd();H.exports=function(r){var o=r._fullLayout,n=[],i={},a=[],s,c;for(c=0;c0);h&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),g.noneOrAll(n,i,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),g.coerceFont(s,"font",a.font),s("bgcolor",a.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function o(n,i){function a(c,h){return g.coerce(n,i,t,c,h)}var s=a("visible",n.method==="skip"||Array.isArray(n.args));s&&(a("method"),a("args"),a("args2"),a("label"),a("execute"))}}}),nC=ke({"src/components/updatemenus/scrollbox.js"(Z,H){"use strict";H.exports=e;var g=_i(),x=eo(),A=$o(),S=un();function e(t,r,o){this.gd=t,this.container=r,this.id=o,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}e.barWidth=2,e.barLength=20,e.barRadius=2,e.barPad=1,e.barColor="#808BA4",e.prototype.enable=function(r,o,n){var i=this.gd._fullLayout,a=i.width,s=i.height;this.position=r;var c=this.position.l,h=this.position.w,p=this.position.t,d=this.position.h,T=this.position.direction,l=T==="down",_=T==="left",w=T==="right",M=T==="up",E=h,m=d,b,v,u,y;!l&&!_&&!w&&!M&&(this.position.direction="down",l=!0);var f=l||M;f?(b=c,v=b+E,l?(u=p,y=Math.min(u+m,s),m=y-u):(y=p+m,u=Math.max(y-m,0),m=y-u)):(u=p,y=u+m,_?(v=c+E,b=Math.max(v-E,0),E=v-b):(b=c,v=Math.min(b+E,a),E=v-b)),this._box={l:b,t:u,w:E,h:m};var P=h>E,L=e.barLength+2*e.barPad,z=e.barWidth+2*e.barPad,F=c,B=p+d;B+z>s&&(B=s-z);var O=this.container.selectAll("rect.scrollbar-horizontal").data(P?[0]:[]);O.exit().on(".drag",null).remove(),O.enter().append("rect").classed("scrollbar-horizontal",!0).call(x.fill,e.barColor),P?(this.hbar=O.attr({rx:e.barRadius,ry:e.barRadius,x:F,y:B,width:L,height:z}),this._hbarXMin=F+L/2,this._hbarTranslateMax=E-L):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=d>m,N=e.barWidth+2*e.barPad,U=e.barLength+2*e.barPad,W=c+h,Q=p;W+N>a&&(W=a-N);var le=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);le.exit().on(".drag",null).remove(),le.enter().append("rect").classed("scrollbar-vertical",!0).call(x.fill,e.barColor),I?(this.vbar=le.attr({rx:e.barRadius,ry:e.barRadius,x:W,y:Q,width:N,height:U}),this._vbarYMin=Q+U/2,this._vbarTranslateMax=m-U):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var se=this.id,fe=b-.5,G=I?v+N+.5:v+.5,$=u-.5,J=P?y+z+.5:y+.5,X=i._topdefs.selectAll("#"+se).data(P||I?[0]:[]);if(X.exit().remove(),X.enter().append("clipPath").attr("id",se).append("rect"),P||I?(this._clipRect=X.select("rect").attr({x:Math.floor(fe),y:Math.floor($),width:Math.ceil(G)-Math.floor(fe),height:Math.ceil(J)-Math.floor($)}),this.container.call(A.setClipUrl,se,this.gd),this.bg.attr({x:c,y:p,width:h,height:d})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(A.setClipUrl,null),delete this._clipRect),P||I){var re=g.behavior.drag().on("dragstart",function(){g.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ae=g.behavior.drag().on("dragstart",function(){g.event.sourceEvent.preventDefault(),g.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));P&&this.hbar.on(".drag",null).call(ae),I&&this.vbar.on(".drag",null).call(ae)}this.setTranslate(o,n)},e.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(A.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},e.prototype._onBoxDrag=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r-=g.event.dx),this.vbar&&(o-=g.event.dy),this.setTranslate(r,o)},e.prototype._onBoxWheel=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r+=g.event.deltaY),this.vbar&&(o+=g.event.deltaY),this.setTranslate(r,o)},e.prototype._onBarDrag=function(){var r=this.translateX,o=this.translateY;if(this.hbar){var n=r+this._hbarXMin,i=n+this._hbarTranslateMax,a=S.constrain(g.event.x,n,i),s=(a-n)/(i-n),c=this.position.w-this._box.w;r=s*c}if(this.vbar){var h=o+this._vbarYMin,p=h+this._vbarTranslateMax,d=S.constrain(g.event.y,h,p),T=(d-h)/(p-h),l=this.position.h-this._box.h;o=T*l}this.setTranslate(r,o)},e.prototype.setTranslate=function(r,o){var n=this.position.w-this._box.w,i=this.position.h-this._box.h;if(r=S.constrain(r||0,0,n),o=S.constrain(o||0,0,i),this.translateX=r,this.translateY=o,this.container.call(A.setTranslate,this._box.l-this.position.l-r,this._box.t-this.position.t-o),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+r-.5),y:Math.floor(this.position.t+o-.5)}),this.hbar){var a=r/n;this.hbar.call(A.setTranslate,r+a*this._hbarTranslateMax,o)}if(this.vbar){var s=o/i;this.vbar.call(A.setTranslate,r,o+s*this._vbarTranslateMax)}}}}),iC=ke({"src/components/updatemenus/draw.js"(Z,H){"use strict";var g=_i(),x=Zu(),A=eo(),S=$o(),e=un(),t=Wl(),r=yl().arrayEditor,o=Yf().LINE_SPACING,n=E_(),i=nC();H.exports=function(L){var z=L._fullLayout,F=e.filterVisible(z[n.name]);function B(se){x.autoMargin(L,u(se))}var O=z._menulayer.selectAll("g."+n.containerClassName).data(F.length>0?[0]:[]);if(O.enter().append("g").classed(n.containerClassName,!0).style("cursor","pointer"),O.exit().each(function(){g.select(this).selectAll("g."+n.headerGroupClassName).each(B)}).remove(),F.length!==0){var I=O.selectAll("g."+n.headerGroupClassName).data(F,a);I.enter().append("g").classed(n.headerGroupClassName,!0);for(var N=e.ensureSingle(O,"g",n.dropdownButtonGroupClassName,function(se){se.style("pointer-events","all")}),U=0;U0?[0]:[]);W.enter().append("g").classed(n.containerClassName,!0).style("cursor",I?null:"ew-resize");function Q(G){G._commandObserver&&(G._commandObserver.remove(),delete G._commandObserver),x.autoMargin(O,h(G))}if(W.exit().each(function(){g.select(this).selectAll("g."+n.groupClassName).each(Q)}).remove(),U.length!==0){var le=W.selectAll("g."+n.groupClassName).data(U,d);le.enter().append("g").classed(n.groupClassName,!0),le.exit().each(Q).remove();for(var se=0;se0&&(le=le.transition().duration(O.transition.duration).ease(O.transition.easing)),le.attr("transform",t(Q-n.gripWidth*.5,O._dims.currentValueTotalHeight))}}function P(B,O){var I=B._dims;return I.inputAreaStart+n.stepInset+(I.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,O))}function L(B,O){var I=B._dims;return Math.min(1,Math.max(0,(O-n.stepInset-I.inputAreaStart)/(I.inputAreaLength-2*n.stepInset-2*I.inputAreaStart)))}function z(B,O,I){var N=I._dims,U=e.ensureSingle(B,"rect",n.railTouchRectClass,function(W){W.call(v,O,B,I).style("pointer-events","all")});U.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,n.tickOffset+I.ticklen+N.labelHeight)}).call(A.fill,I.bgcolor).attr("opacity",0),S.setTranslate(U,0,N.currentValueTotalHeight)}function F(B,O){var I=O._dims,N=I.inputAreaLength-n.railInset*2,U=e.ensureSingle(B,"rect",n.railRectClass);U.attr({width:N,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,"shape-rendering":"crispEdges"}).call(A.stroke,O.bordercolor).call(A.fill,O.bgcolor).style("stroke-width",O.borderwidth+"px"),S.setTranslate(U,n.railInset,(I.inputAreaWidth-n.railWidth)*.5+I.currentValueTotalHeight)}}}),lC=ke({"src/components/sliders/index.js"(Z,H){"use strict";var g=l0();H.exports={moduleType:"component",name:g.name,layoutAttributes:k2(),supplyLayoutDefaults:oC(),draw:sC()}}}),C_=ke({"src/components/rangeslider/attributes.js"(Z,H){"use strict";var g=If();H.exports={bgcolor:{valType:"color",dflt:g.background,editType:"plot"},bordercolor:{valType:"color",dflt:g.defaultLine,editType:"plot"},borderwidth:{valType:"integer",dflt:0,min:0,editType:"plot"},autorange:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},range:{valType:"info_array",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1}},thickness:{valType:"number",dflt:.15,min:0,max:1,editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"}}}),L2=ke({"src/components/rangeslider/oppaxis_attributes.js"(Z,H){"use strict";H.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",editType:"calc"},range:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},editType:"calc"}}}),k_=ke({"src/components/rangeslider/constants.js"(Z,H){"use strict";H.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}}}),uC=ke({"src/components/rangeslider/helpers.js"(Z){"use strict";var H=qc(),g=Wl(),x=k_(),A=Yf().LINE_SPACING,S=x.name;function e(t){var r=t&&t[S];return r&&r.visible}Z.isVisible=e,Z.makeData=function(t){for(var r=H.list({_fullLayout:t},"x",!0),o=t.margin,n=[],i=0;i=at.max)Ye=ce[it+1];else if(Ie=at.pmax)Ye=ce[it+1];else if(Ie0?v.touches[0].clientX:0}function p(v,u,y,f){if(u._context.staticPlot)return;var P=v.select("rect."+c.slideBoxClassName).node(),L=v.select("rect."+c.grabAreaMinClassName).node(),z=v.select("rect."+c.grabAreaMaxClassName).node();function F(){var B=g.event,O=B.target,I=h(B),N=I-v.node().getBoundingClientRect().left,U=f.d2p(y._rl[0]),W=f.d2p(y._rl[1]),Q=a.coverSlip();this.addEventListener("touchmove",le),this.addEventListener("touchend",se),Q.addEventListener("mousemove",le),Q.addEventListener("mouseup",se);function le(fe){var G=h(fe),$=+G-I,J,X,re;switch(O){case P:if(re="ew-resize",U+$>y._length||W+$<0)return;J=U+$,X=W+$;break;case L:if(re="col-resize",U+$>y._length)return;J=U+$,X=W;break;case z:if(re="col-resize",W+$<0)return;J=U,X=W+$;break;default:re="ew-resize",J=N,X=N+$;break}if(X0);if(_){var w=o(a,s,c);T("x",w[0]),T("y",w[1]),g.noneOrAll(i,a,["x","y"]),T("xanchor"),T("yanchor"),g.coerceFont(T,"font",s.font);var M=T("bgcolor");T("activecolor",x.contrast(M,t.lightAmount,t.darkAmount)),T("bordercolor"),T("borderwidth")}};function r(n,i,a,s){var c=s.calendar;function h(T,l){return g.coerce(n,i,e.buttons,T,l)}var p=h("visible");if(p){var d=h("step");d!=="all"&&(c&&c!=="gregorian"&&(d==="month"||d==="year")?i.stepmode="backward":h("stepmode"),h("count")),h("label")}}function o(n,i,a){for(var s=a.filter(function(d){return i[d].anchor===n._id}),c=0,h=0;h1)){delete c.grid;return}if(!T&&!l&&!_){var y=b("pattern")==="independent";y&&(T=!0)}m._hasSubplotGrid=T;var f=b("roworder"),P=f==="top to bottom",L=T?.2:.1,z=T?.3:.1,F,B;w&&c._splomGridDflt&&(F=c._splomGridDflt.xside,B=c._splomGridDflt.yside),m._domains={x:n("x",b,L,F,u),y:n("y",b,z,B,v,P)}}function n(s,c,h,p,d,T){var l=c(s+"gap",h),_=c("domain."+s);c(s+"side",p);for(var w=new Array(d),M=_[0],E=(_[1]-M)/(d-l),m=E*(1-l),b=0;b0,p=r._context.staticPlot;o.each(function(d){var T=d[0].trace,l=T.error_x||{},_=T.error_y||{},w;T.ids&&(w=function(b){return b.id});var M=S.hasMarkers(T)&&T.marker.maxdisplayed>0;!_.visible&&!l.visible&&(d=[]);var E=g.select(this).selectAll("g.errorbar").data(d,w);if(E.exit().remove(),!!d.length){l.visible||E.selectAll("path.xerror").remove(),_.visible||E.selectAll("path.yerror").remove(),E.style("opacity",1);var m=E.enter().append("g").classed("errorbar",!0);h&&m.style("opacity",0).transition().duration(i.duration).style("opacity",1),A.setClipUrl(E,n.layerClipId,r),E.each(function(b){var v=g.select(this),u=e(b,s,c);if(!(M&&!b.vis)){var y,f=v.select("path.yerror");if(_.visible&&x(u.x)&&x(u.yh)&&x(u.ys)){var P=_.width;y="M"+(u.x-P)+","+u.yh+"h"+2*P+"m-"+P+",0V"+u.ys,u.noYS||(y+="m-"+P+",0h"+2*P),a=!f.size(),a?f=v.append("path").style("vector-effect",p?"none":"non-scaling-stroke").classed("yerror",!0):h&&(f=f.transition().duration(i.duration).ease(i.easing)),f.attr("d",y)}else f.remove();var L=v.select("path.xerror");if(l.visible&&x(u.y)&&x(u.xh)&&x(u.xs)){var z=(l.copy_ystyle?_:l).width;y="M"+u.xh+","+(u.y-z)+"v"+2*z+"m0,-"+z+"H"+u.xs,u.noXS||(y+="m0,-"+z+"v"+2*z),a=!L.size(),a?L=v.append("path").style("vector-effect",p?"none":"non-scaling-stroke").classed("xerror",!0):h&&(L=L.transition().duration(i.duration).ease(i.easing)),L.attr("d",y)}else L.remove()}})}})};function e(t,r,o){var n={x:r.c2p(t.x),y:o.c2p(t.y)};return t.yh!==void 0&&(n.yh=o.c2p(t.yh),n.ys=o.c2p(t.ys),x(n.ys)||(n.noYS=!0,n.ys=o.c2p(t.ys,!0))),t.xh!==void 0&&(n.xh=r.c2p(t.xh),n.xs=r.c2p(t.xs),x(n.xs)||(n.noXS=!0,n.xs=r.c2p(t.xs,!0))),n}}}),bC=ke({"src/components/errorbars/style.js"(Z,H){"use strict";var g=_i(),x=eo();H.exports=function(S){S.each(function(e){var t=e[0].trace,r=t.error_y||{},o=t.error_x||{},n=g.select(this);n.selectAll("path.yerror").style("stroke-width",r.thickness+"px").call(x.stroke,r.color),o.copy_ystyle&&(o=r),n.selectAll("path.xerror").style("stroke-width",o.thickness+"px").call(x.stroke,o.color)})}}}),wC=ke({"src/components/errorbars/index.js"(Z,H){"use strict";var g=un(),x=ju().overrideAll,A=R2(),S={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A)};delete S.error_x.copy_zstyle,delete S.error_y.copy_zstyle,delete S.error_y.copy_ystyle;var e={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A),error_z:g.extendFlat({},A)};delete e.error_x.copy_ystyle,delete e.error_y.copy_ystyle,delete e.error_z.copy_ystyle,delete e.error_z.copy_zstyle,H.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:S,bar:S,histogram:S,scatter3d:x(e,"calc","nested"),scattergl:x(S,"calc","nested")}},supplyDefaults:yC(),calc:_C(),makeComputeError:D2(),plot:xC(),style:bC(),hoverInfo:t};function t(r,o,n){(o.error_y||{}).visible&&(n.yerr=r.yh-r.y,o.error_y.symmetric||(n.yerrneg=r.y-r.ys)),(o.error_x||{}).visible&&(n.xerr=r.xh-r.x,o.error_x.symmetric||(n.xerrneg=r.x-r.xs))}}}),TC=ke({"src/components/colorbar/constants.js"(Z,H){"use strict";H.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}}}),AC=ke({"src/components/colorbar/draw.js"(Z,H){"use strict";var g=_i(),x=ru(),A=Zu(),S=lo(),e=Ho(),t=Xh(),r=un(),o=r.strTranslate,n=To().extendFlat,i=uv(),a=$o(),s=eo(),c=Im(),h=Wl(),p=ad().flipScale,d=s0(),T=A_(),l=wh(),_=Yf(),w=_.LINE_SPACING,M=_.FROM_TL,E=_.FROM_BR,m=TC().cn;function b(L){var z=L._fullLayout,F=z._infolayer.selectAll("g."+m.colorbar).data(v(L),function(B){return B._id});F.enter().append("g").attr("class",function(B){return B._id}).classed(m.colorbar,!0),F.each(function(B){var O=g.select(this);r.ensureSingle(O,"rect",m.cbbg),r.ensureSingle(O,"g",m.cbfills),r.ensureSingle(O,"g",m.cblines),r.ensureSingle(O,"g",m.cbaxis,function(N){N.classed(m.crisp,!0)}),r.ensureSingle(O,"g",m.cbtitleunshift,function(N){N.append("g").classed(m.cbtitle,!0)}),r.ensureSingle(O,"rect",m.cboutline);var I=u(O,B,L);I&&I.then&&(L._promises||[]).push(I),L._context.edits.colorbarPosition&&y(O,B,L)}),F.exit().each(function(B){A.autoMargin(L,B._id)}).remove(),F.order()}function v(L){var z=L._fullLayout,F=L.calcdata,B=[],O,I,N,U;function W(j){return n(j,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof U.calc=="function"?U.calc(L,N,O):(O._fillgradient=I.reversescale?p(I.colorscale):I.colorscale,O._zrange=[I[U.min],I[U.max]])}for(var le=0;le1){var Be=Math.pow(10,Math.floor(Math.log(_t)/Math.LN10));gr*=Be*r.roundUp(_t/Be,[2,5,10]),(Math.abs(it.start)/it.size+1e-6)%1<2e-6&&(ar.tick0=0)}ar.dtick=gr}ar.domain=B?[qt+$/ee.h,qt+Oe-$/ee.h]:[qt+G/ee.w,qt+Oe-G/ee.w],ar.setScale(),L.attr("transform",o(Math.round(ee.l),Math.round(ee.t)));var Ke=L.select("."+m.cbtitleunshift).attr("transform",o(-Math.round(ee.l),-Math.round(ee.t))),je=ar.ticklabelposition,Se=ar.title.font.size,He=L.select("."+m.cbaxis),Ee,we=0,Le=0;function nt(Xt,$t){var ur={propContainer:ar,propName:z._propPrefix+"title",traceIndex:z._traceIndex,_meta:z._meta,placeholder:j._dfltTitle.colorbar,containerGroup:L.select("."+m.cbtitle)},pn=Xt.charAt(0)==="h"?Xt.substr(1):"h"+Xt;L.selectAll("."+pn+",."+pn+"-math-group").remove(),c.draw(F,Xt,n(ur,$t||{}))}function pt(){if(B&&Rr||!B&&!Rr){var Xt,$t;Te==="top"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt-Oe)+3+Se*.75),Te==="bottom"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt)-3-Se*.25),Te==="right"&&($t=$+ee.t+ot*X+3+Se*.75,Xt=G+ee.l+rt*qt),nt(ar._id+"title",{attributes:{x:Xt,y:$t,"text-anchor":B?"start":"middle"}})}}function bt(){if(B&&!Rr||!B&&Rr){var Xt=ar.position||0,$t=ar._offset+ar._length/2,ur,pn;if(Te==="right")pn=$t,ur=ee.l+rt*Xt+10+Se*(ar.showticklabels?1:.5);else if(ur=$t,Te==="bottom"&&(pn=ee.t+ot*Xt+10+(je.indexOf("inside")===-1?ar.tickfont.size:0)+(ar.ticks!=="intside"&&z.ticklen||0)),Te==="top"){var Rn=xe.text.split("
").length;pn=ee.t+ot*Xt+10-Me-w*Se*Rn}nt((B?"h":"v")+ar._id+"title",{avoid:{selection:g.select(F).selectAll("g."+ar._id+"tick"),side:Te,offsetTop:B?0:ee.t,offsetLeft:B?ee.l:0,maxShift:B?j.width:j.height},attributes:{x:ur,y:pn,"text-anchor":"middle"},transform:{rotate:B?-90:0,offset:0}})}}function Rt(){if(!B&&!Rr||B&&Rr){var Xt=L.select("."+m.cbtitle),$t=Xt.select("text"),ur=[-W/2,W/2],pn=Xt.select(".h"+ar._id+"title-math-group").node(),Rn=15.6;$t.node()&&(Rn=parseInt($t.node().style.fontSize,10)*w);var Nn;if(pn?(Nn=a.bBox(pn),Le=Nn.width,we=Nn.height,we>Rn&&(ur[1]-=(we-Rn)/2)):$t.node()&&!$t.classed(m.jsPlaceholder)&&(Nn=a.bBox($t.node()),Le=Nn.width,we=Nn.height),B){if(we){if(we+=5,Te==="top")ar.domain[1]-=we/ee.h,ur[1]*=-1;else{ar.domain[0]+=we/ee.h;var On=h.lineCount($t);ur[1]+=(1-On)*Rn}Xt.attr("transform",o(ur[0],ur[1])),ar.setScale()}}else Le&&(Te==="right"&&(ar.domain[0]+=(Le+Se/2)/ee.w),Xt.attr("transform",o(ur[0],ur[1])),ar.setScale())}L.selectAll("."+m.cbfills+",."+m.cblines).attr("transform",B?o(0,Math.round(ee.h*(1-ar.domain[1]))):o(Math.round(ee.w*ar.domain[0]),0)),He.attr("transform",B?o(0,Math.round(-ee.t)):o(Math.round(-ee.l),0));var ni=L.select("."+m.cbfills).selectAll("rect."+m.cbfill).attr("style","").data(tt);ni.enter().append("rect").classed(m.cbfill,!0).attr("style",""),ni.exit().remove();var zn=Ue.map(ar.c2p).map(Math.round).sort(function(Ht,Vt){return Ht-Vt});ni.each(function(Ht,Vt){var wr=[Vt===0?Ue[0]:(tt[Vt]+tt[Vt-1])/2,Vt===tt.length-1?Ue[1]:(tt[Vt]+tt[Vt+1])/2].map(ar.c2p).map(Math.round);B&&(wr[1]=r.constrain(wr[1]+(wr[1]>wr[0])?1:-1,zn[0],zn[1]));var $r=g.select(this).attr(B?"x":"y",et).attr(B?"y":"x",g.min(wr)).attr(B?"width":"height",Math.max(Me,2)).attr(B?"height":"width",Math.max(g.max(wr)-g.min(wr),2));if(z._fillgradient)a.gradient($r,F,z._id,B?"vertical":"horizontalreversed",z._fillgradient,"fill");else{var xn=Ye(Ht).replace("e-","");$r.attr("fill",x(xn).toHexString())}});var Qn=L.select("."+m.cblines).selectAll("path."+m.cbline).data(ce.color&&ce.width?ut:[]);Qn.enter().append("path").classed(m.cbline,!0),Qn.exit().remove(),Qn.each(function(Ht){var Vt=et,wr=Math.round(ar.c2p(Ht))+ce.width/2%1;g.select(this).attr("d","M"+(B?Vt+","+wr:wr+","+Vt)+(B?"h":"v")+Me).call(a.lineGroupStyle,ce.width,Ie(Ht),ce.dash)}),He.selectAll("g."+ar._id+"tick,path").remove();var gi=et+Me+(W||0)/2-(z.ticks==="outside"?1:0),Zt=e.calcTicks(ar),Ft=e.getTickSigns(ar)[2];return e.drawTicks(F,ar,{vals:ar.ticks==="inside"?e.clipEnds(ar,Zt):Zt,layer:He,path:e.makeTickPath(ar,gi,Ft),transFn:e.makeTransTickFn(ar)}),e.drawLabels(F,ar,{vals:Zt,layer:He,transFn:e.makeTransTickLabelFn(ar),labelFns:e.makeLabelFns(ar,gi)})}function Nt(){var Xt,$t=Me+W/2;je.indexOf("inside")===-1&&(Xt=a.bBox(He.node()),$t+=B?Xt.width:Xt.height),Ee=Ke.select("text");var ur=0,pn=B&&Te==="top",Rn=!B&&Te==="right",Nn=0;if(Ee.node()&&!Ee.classed(m.jsPlaceholder)){var On,ni=Ke.select(".h"+ar._id+"title-math-group").node();ni&&(B&&Rr||!B&&!Rr)?(Xt=a.bBox(ni),ur=Xt.width,On=Xt.height):(Xt=a.bBox(Ke.node()),ur=Xt.right-ee.l-(B?et:fr),On=Xt.bottom-ee.t-(B?fr:et),!B&&Te==="top"&&($t+=Xt.height,Nn=Xt.height)),Rn&&(Ee.attr("transform",o(ur/2+Se/2,0)),ur*=2),$t=Math.max($t,B?ur:On)}var zn=(B?G:$)*2+$t+Q+W/2,Qn=0;!B&&xe.text&&fe==="bottom"&&X<=0&&(Qn=zn/2,zn+=Qn,Nn+=Qn),j._hColorbarMoveTitle=Qn,j._hColorbarMoveCBTitle=Nn;var gi=Q+W,Zt=(B?et:fr)-gi/2-(B?G:0),Ft=(B?fr:et)-(B?ue:$+Nn-Qn);L.select("."+m.cbbg).attr("x",Zt).attr("y",Ft).attr(B?"width":"height",Math.max(zn-Qn,2)).attr(B?"height":"width",Math.max(ue+gi,2)).call(s.fill,le).call(s.stroke,z.bordercolor).style("stroke-width",Q);var Ht=Rn?Math.max(ur-10,0):0;L.selectAll("."+m.cboutline).attr("x",(B?et:fr+G)+Ht).attr("y",(B?fr+$-ue:et)+(pn?we:0)).attr(B?"width":"height",Math.max(Me,2)).attr(B?"height":"width",Math.max(ue-(B?2*$+we:2*G+Ht),2)).call(s.stroke,z.outlinecolor).style({fill:"none","stroke-width":W});var Vt=B?Lt*zn:0,wr=B?0:(1-Et)*zn-Nn;if(Vt=ae?ee.l-Vt:-Vt,wr=re?ee.t-wr:-wr,L.attr("transform",o(Vt,wr)),!B&&(Q||x(le).getAlpha()&&!x.equals(j.paper_bgcolor,le))){var $r=He.selectAll("text"),xn=$r[0].length,en=L.select("."+m.cbbg).node(),Fn=a.bBox(en),Wn=a.getTranslate(L),ri=2;$r.each(function(Ur,Dr){var nn=0,vn=xn-1;if(Dr===nn||Dr===vn){var gn=a.bBox(this),kt=a.getTranslate(this),or;if(Dr===vn){var yr=gn.right+kt.x,on=Fn.right+Wn.x+fr-Q-ri+J;or=on-yr,or>0&&(or=0)}else if(Dr===nn){var An=gn.left+kt.x,Zn=Fn.left+Wn.x+fr+Q+ri;or=Zn-An,or<0&&(or=0)}or&&(xn<3?this.setAttribute("transform","translate("+or+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var Sn={},ui=M[se],gt=E[se],yt=M[fe],Pr=E[fe],Ir=zn-Me;B?(I==="pixels"?(Sn.y=X,Sn.t=ue*yt,Sn.b=ue*Pr):(Sn.t=Sn.b=0,Sn.yt=X+O*yt,Sn.yb=X-O*Pr),U==="pixels"?(Sn.x=J,Sn.l=zn*ui,Sn.r=zn*gt):(Sn.l=Ir*ui,Sn.r=Ir*gt,Sn.xl=J-N*ui,Sn.xr=J+N*gt)):(I==="pixels"?(Sn.x=J,Sn.l=ue*ui,Sn.r=ue*gt):(Sn.l=Sn.r=0,Sn.xl=J+O*ui,Sn.xr=J-O*gt),U==="pixels"?(Sn.y=1-X,Sn.t=zn*yt,Sn.b=zn*Pr):(Sn.t=Ir*yt,Sn.b=Ir*Pr,Sn.yt=X-N*yt,Sn.yb=X+N*Pr));var Tr=z.y<.5?"b":"t",Mr=z.x<.5?"l":"r";F._fullLayout._reservedMargin[z._id]={};var Lr={r:j.width-Zt-Vt,l:Zt+Sn.r,b:j.height-Ft-wr,t:Ft+Sn.b};ae&&re?A.autoMargin(F,z._id,Sn):ae?F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]:re||B?F._fullLayout._reservedMargin[z._id][Mr]=Lr[Mr]:F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]}return r.syncOrAsync([A.previousPromises,pt,Rt,bt,A.previousPromises,Nt],F)}function y(L,z,F){var B=z.orientation==="v",O=F._fullLayout,I=O._size,N,U,W;t.init({element:L.node(),gd:F,prepFn:function(){N=L.attr("transform"),i(L)},moveFn:function(Q,le){L.attr("transform",N+o(Q,le)),U=t.align((B?z._uFrac:z._vFrac)+Q/I.w,B?z._thickFrac:z._lenFrac,0,1,z.xanchor),W=t.align((B?z._vFrac:1-z._uFrac)-le/I.h,B?z._lenFrac:z._thickFrac,0,1,z.yanchor);var se=t.getCursor(U,W,z.xanchor,z.yanchor);i(L,se)},doneFn:function(){if(i(L),U!==void 0&&W!==void 0){var Q={};Q[z._propPrefix+"x"]=U,Q[z._propPrefix+"y"]=W,z._traceIndex!==void 0?S.call("_guiRestyle",F,Q,z._traceIndex):S.call("_guiRelayout",F,Q)}}})}function f(L,z,F){var B=z._levels,O=[],I=[],N,U,W=B.end+B.size/100,Q=B.size,le=1.001*F[0]-.001*F[1],se=1.001*F[1]-.001*F[0];for(U=0;U<1e5&&(N=B.start+U*Q,!(Q>0?N>=W:N<=W));U++)N>le&&N0?N>=W:N<=W));U++)N>F[0]&&N-1}H.exports=function(o,n){var i,a=o.data,s=o.layout,c=S([],a),h=S({},s,e(n.tileClass)),p=o._context||{};if(n.width&&(h.width=n.width),n.height&&(h.height=n.height),n.tileClass==="thumbnail"||n.tileClass==="themes__thumb"){h.annotations=[];var d=Object.keys(h);for(i=0;i=0)return p}else if(typeof p=="string"&&(p=p.trim(),p.slice(-1)==="%"&&g(p.slice(0,-1))&&(p=+p.slice(0,-1),p>=0)))return p+"%"}function h(p,d,T,l,_,w){w=w||{};var M=w.moduleHasSelected!==!1,E=w.moduleHasUnselected!==!1,m=w.moduleHasConstrain!==!1,b=w.moduleHasCliponaxis!==!1,v=w.moduleHasTextangle!==!1,u=w.moduleHasInsideanchor!==!1,y=!!w.hasPathbar,f=Array.isArray(_)||_==="auto",P=f||_==="inside",L=f||_==="outside";if(P||L){var z=i(l,"textfont",T.font),F=x.extendFlat({},z),B=p.textfont&&p.textfont.color,O=!B;if(O&&delete F.color,i(l,"insidetextfont",F),y){var I=x.extendFlat({},z);O&&delete I.color,i(l,"pathbar.textfont",I)}L&&i(l,"outsidetextfont",z),M&&l("selected.textfont.color"),E&&l("unselected.textfont.color"),m&&l("constraintext"),b&&l("cliponaxis"),v&&l("textangle"),l("texttemplate")}P&&u&&l("insidetextanchor")}H.exports={supplyDefaults:a,crossTraceDefaults:s,handleText:h,validateCornerradius:c}}}),F2=ke({"src/traces/bar/layout_defaults.js"(Z,H){"use strict";var g=lo(),x=Ho(),A=un(),S=P_(),e=Od().validateCornerradius;H.exports=function(t,r,o){function n(M,E){return A.coerce(t,r,S,M,E)}for(var i=!1,a=!1,s=!1,c={},h=n("barmode"),p=h==="group",d=0;d0&&!c[l]&&(s=!0),c[l]=!0),T.visible&&T.type==="histogram"){var _=x.getFromId({_fullLayout:r},T[T.orientation==="v"?"xaxis":"yaxis"]);_.type!=="category"&&(a=!0)}}if(!i){delete r.barmode;return}h!=="overlay"&&n("barnorm"),n("bargap",a&&!s?0:.2),n("bargroupgap");var w=n("barcornerradius");r.barcornerradius=e(w)}}}),u0=ke({"src/traces/bar/arrays_to_calcdata.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){for(var e=0;er;if(!o)return S}return e!==void 0?e:A.dflt},Z.coerceColor=function(A,S,e){return g(S).isValid()?S:e!==void 0?e:A.dflt},Z.coerceEnumerated=function(A,S,e){return A.coerceNumber&&(S=+S),A.values.indexOf(S)!==-1?S:e!==void 0?e:A.dflt},Z.getValue=function(A,S){var e;return x(A)?S1||y.bargap===0&&y.bargroupgap===0&&!f[0].trace.marker.line.width)&&g.select(this).attr("shape-rendering","crispEdges")}),v.selectAll("g.points").each(function(f){var P=g.select(this),L=f[0].trace;c(P,L,b)}),e.getComponentMethod("errorbars","style")(v)}function c(b,v,u){A.pointStyle(b.selectAll("path"),v,u),h(b,v,u)}function h(b,v,u){b.selectAll("text").each(function(y){var f=g.select(this),P=S.ensureUniformFontSize(u,l(f,y,v,u));A.font(f,P)})}function p(b,v,u){var y=v[0].trace;y.selectedpoints?d(u,y,b):(c(u,y,b),e.getComponentMethod("errorbars","style")(u))}function d(b,v,u){A.selectedPointStyle(b.selectAll("path"),v),T(b.selectAll("text"),v,u)}function T(b,v,u){b.each(function(y){var f=g.select(this),P;if(y.selected){P=S.ensureUniformFontSize(u,l(f,y,v,u));var L=v.selected.textfont&&v.selected.textfont.color;L&&(P.color=L),A.font(f,P)}else A.selectedTextStyle(f,v)})}function l(b,v,u,y){var f=y._fullLayout.font,P=u.textfont;if(b.classed("bartext-inside")){var L=m(v,u);P=w(u,v.i,f,L)}else b.classed("bartext-outside")&&(P=M(u,v.i,f));return P}function _(b,v,u){return E(o,b.textfont,v,u)}function w(b,v,u,y){var f=_(b,v,u),P=b._input.textfont===void 0||b._input.textfont.color===void 0||Array.isArray(b.textfont.color)&&b.textfont.color[v]===void 0;return P&&(f={color:x.contrast(y),family:f.family,size:f.size,weight:f.weight,style:f.style,variant:f.variant,textcase:f.textcase,lineposition:f.lineposition,shadow:f.shadow}),E(n,b.insidetextfont,v,f)}function M(b,v,u){var y=_(b,v,u);return E(i,b.outsidetextfont,v,y)}function E(b,v,u,y){v=v||{};var f=a.getValue(v.family,u),P=a.getValue(v.size,u),L=a.getValue(v.color,u),z=a.getValue(v.weight,u),F=a.getValue(v.style,u),B=a.getValue(v.variant,u),O=a.getValue(v.textcase,u),I=a.getValue(v.lineposition,u),N=a.getValue(v.shadow,u);return{family:a.coerceString(b.family,f,y.family),size:a.coerceNumber(b.size,P,y.size),color:a.coerceColor(b.color,L,y.color),weight:a.coerceString(b.weight,z,y.weight),style:a.coerceString(b.style,F,y.style),variant:a.coerceString(b.variant,B,y.variant),textcase:a.coerceString(b.variant,O,y.textcase),lineposition:a.coerceString(b.variant,I,y.lineposition),shadow:a.coerceString(b.variant,N,y.shadow)}}function m(b,v){return v.type==="waterfall"?v[b.dir].marker.color:b.mcc||b.mc||v.marker.color}H.exports={style:s,styleTextPoints:h,styleOnSelect:p,getInsideTextFont:w,getOutsideTextFont:M,getBarColor:m,resizeText:t}}}),Bm=ke({"src/traces/bar/plot.js"(Z,H){"use strict";var g=_i(),x=Yn(),A=un(),S=Wl(),e=eo(),t=$o(),r=lo(),o=Ho().tickText,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Yd(),c=R_(),h=Om(),p=Pv(),d=p.text,T=p.textposition,l=gd().appendArrayPointValue,_=h.TEXTPAD;function w(Q){return Q.id}function M(Q){if(Q.ids)return w}function E(Q){return(Q>0)-(Q<0)}function m(Q,le){return Q0}function y(Q,le,se,fe,G,$){var J=le.xaxis,X=le.yaxis,re=Q._fullLayout,ae=Q._context.staticPlot;G||(G={mode:re.barmode,norm:re.barmode,gap:re.bargap,groupgap:re.bargroupgap},a("bar",re));var j=A.makeTraceGroups(fe,se,"trace bars").each(function(ee){var ie=g.select(this),ce=ee[0].trace,xe=ee[0].t,Te=ce.type==="waterfall",Ue=ce.type==="funnel",Ie=ce.type==="histogram",Ye=ce.type==="bar",it=Ye||Ue,at=0;Te&&ce.connector.visible&&ce.connector.mode==="between"&&(at=ce.connector.line.width/2);var tt=ce.orientation==="h",ut=u(G),Me=A.ensureSingle(ie,"g","points"),pe=M(ce),ue=Me.selectAll("g.point").data(A.identity,pe);ue.enter().append("g").classed("point",!0),ue.exit().remove(),ue.each(function(rt,ot){var et=g.select(this),Lt=b(rt,J,X,tt),Et=Lt[0][0],Bt=Lt[0][1],qt=Lt[1][0],fr=Lt[1][1],ar=(tt?Bt-Et:fr-qt)===0;ar&&it&&c.getLineWidth(ce,rt)&&(ar=!1),ar||(ar=!x(Et)||!x(Bt)||!x(qt)||!x(fr)),rt.isBlank=ar,ar&&(tt?Bt=Et:fr=qt),at&&!ar&&(tt?(Et-=m(Et,Bt)*at,Bt+=m(Et,Bt)*at):(qt-=m(qt,fr)*at,fr+=m(qt,fr)*at));var Rr,gr;if(ce.type==="waterfall"){if(!ar){var br=ce[rt.dir].marker;Rr=br.line.width,gr=br.color}}else Rr=c.getLineWidth(ce,rt),gr=rt.mc||ce.marker.color;function _t(gi){var Zt=g.round(Rr/2%1,2);return G.gap===0&&G.groupgap===0?g.round(Math.round(gi)-Zt,2):gi}function Be(gi,Zt,Ft){return Ft&&gi===Zt?gi:Math.abs(gi-Zt)>=2?_t(gi):gi>Zt?Math.ceil(gi):Math.floor(gi)}var Ke=e.opacity(gr),je=Ke<1||Rr>.01?_t:Be;Q._context.staticPlot||(Et=je(Et,Bt,tt),Bt=je(Bt,Et,tt),qt=je(qt,fr,!tt),fr=je(fr,qt,!tt));var Se=tt?J.c2p:X.c2p,He;rt.s0>0?He=rt._sMax:rt.s0<0?He=rt._sMin:He=rt.s1>0?rt._sMax:rt._sMin;function Ee(gi,Zt){if(!gi)return 0;var Ft=Math.abs(tt?fr-qt:Bt-Et),Ht=Math.abs(tt?Bt-Et:fr-qt),Vt=je(Math.abs(Se(He,!0)-Se(0,!0))),wr=rt.hasB?Math.min(Ft/2,Ht/2):Math.min(Ft/2,Vt),$r;if(Zt==="%"){var xn=Math.min(50,gi);$r=Ft*(xn/100)}else $r=gi;return je(Math.max(Math.min($r,wr),0))}var we=Ye||Ie?Ee(xe.cornerradiusvalue,xe.cornerradiusform):0,Le,nt,pt="M"+Et+","+qt+"V"+fr+"H"+Bt+"V"+qt+"Z",bt=0;if(we&&rt.s){var Rt=E(rt.s0)===0||E(rt.s)===E(rt.s0)?rt.s1:rt.s0;if(bt=je(rt.hasB?0:Math.abs(Se(He,!0)-Se(Rt,!0))),bt0?Math.sqrt(bt*(2*we-bt)):0,Rn=Nt>0?Math.max:Math.min;Le="M"+Et+","+qt+"V"+(fr-ur*Xt)+"H"+Rn(Bt-(we-bt)*Nt,Et)+"A "+we+","+we+" 0 0 "+$t+" "+Bt+","+(fr-we*Xt-pn)+"V"+(qt+we*Xt+pn)+"A "+we+","+we+" 0 0 "+$t+" "+Rn(Bt-(we-bt)*Nt,Et)+","+(qt+ur*Xt)+"Z"}else if(rt.hasB)Le="M"+(Et+we*Nt)+","+qt+"A "+we+","+we+" 0 0 "+$t+" "+Et+","+(qt+we*Xt)+"V"+(fr-we*Xt)+"A "+we+","+we+" 0 0 "+$t+" "+(Et+we*Nt)+","+fr+"H"+(Bt-we*Nt)+"A "+we+","+we+" 0 0 "+$t+" "+Bt+","+(fr-we*Xt)+"V"+(qt+we*Xt)+"A "+we+","+we+" 0 0 "+$t+" "+(Bt-we*Nt)+","+qt+"Z";else{nt=Math.abs(fr-qt)+bt;var Nn=nt0?Math.sqrt(bt*(2*we-bt)):0,ni=Xt>0?Math.max:Math.min;Le="M"+(Et+Nn*Nt)+","+qt+"V"+ni(fr-(we-bt)*Xt,qt)+"A "+we+","+we+" 0 0 "+$t+" "+(Et+we*Nt-On)+","+fr+"H"+(Bt-we*Nt+On)+"A "+we+","+we+" 0 0 "+$t+" "+(Bt-Nn*Nt)+","+ni(fr-(we-bt)*Xt,qt)+"V"+qt+"Z"}}else Le=pt}else Le=pt;var zn=v(A.ensureSingle(et,"path"),re,G,$);if(zn.style("vector-effect",ae?"none":"non-scaling-stroke").attr("d",isNaN((Bt-Et)*(fr-qt))||ar&&Q._context.staticPlot?"M0,0Z":Le).call(t.setClipUrl,le.layerClipId,Q),!re.uniformtext.mode&&ut){var Qn=t.makePointStyleFns(ce);t.singlePointStyle(rt,zn,ce,Qn,Q)}f(Q,le,et,ee,ot,Et,Bt,qt,fr,we,bt,G,$),le.layerClipId&&t.hideOutsideRangePoint(rt,et.select("text"),J,X,ce.xcalendar,ce.ycalendar)});var Oe=ce.cliponaxis===!1;t.setClipUrl(ie,Oe?null:le.layerClipId,Q)});r.getComponentMethod("errorbars","plot")(Q,j,le,G)}function f(Q,le,se,fe,G,$,J,X,re,ae,j,ee,ie){var ce=le.xaxis,xe=le.yaxis,Te=Q._fullLayout,Ue;function Ie(nt,pt,bt){var Rt=A.ensureSingle(nt,"text").text(pt).attr({class:"bartext bartext-"+Ue,"text-anchor":"middle","data-notex":1}).call(t.font,bt).call(S.convertToTspans,Q);return Rt}var Ye=fe[0].trace,it=Ye.orientation==="h",at=I(Te,fe,G,ce,xe);Ue=N(Ye,G);var tt=ee.mode==="stack"||ee.mode==="relative",ut=fe[G],Me=!tt||ut._outmost,pe=ut.hasB,ue=ae&&ae-j>_;if(!at||Ue==="none"||(ut.isBlank||$===J||X===re)&&(Ue==="auto"||Ue==="inside")){se.select("text").remove();return}var Oe=Te.font,rt=s.getBarColor(fe[G],Ye),ot=s.getInsideTextFont(Ye,G,Oe,rt),et=s.getOutsideTextFont(Ye,G,Oe),Lt=Ye.insidetextanchor||"end",Et=se.datum();it?ce.type==="log"&&Et.s0<=0&&(ce.range[0]0&&_t>0,je;ue?pe?je=P(fr-2*ae,ar,br,_t,it)||P(fr,ar-2*ae,br,_t,it):it?je=P(fr-(ae-j),ar,br,_t,it)||P(fr,ar-2*(ae-j),br,_t,it):je=P(fr,ar-(ae-j),br,_t,it)||P(fr-2*(ae-j),ar,br,_t,it):je=P(fr,ar,br,_t,it),Ke&&je?Ue="inside":(Ue="outside",Rr.remove(),Rr=null)}else Ue="inside";if(!Rr){Be=A.ensureUniformFontSize(Q,Ue==="outside"?et:ot),Rr=Ie(se,at,Be);var Se=Rr.attr("transform");if(Rr.attr("transform",""),gr=t.bBox(Rr.node()),br=gr.width,_t=gr.height,Rr.attr("transform",Se),br<=0||_t<=0){Rr.remove();return}}var He=Ye.textangle,Ee,we;Ue==="outside"?(we=Ye.constraintext==="both"||Ye.constraintext==="outside",Ee=O($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He})):(we=Ye.constraintext==="both"||Ye.constraintext==="inside",Ee=F($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He,anchor:Lt,hasB:pe,r:ae,overhead:j})),Ee.fontSize=Be.size,i(Ye.type==="histogram"?"bar":Ye.type,Ee,Te),ut.transform=Ee;var Le=v(Rr,Te,ee,ie);A.setTransormAndDisplay(Le,Ee)}function P(Q,le,se,fe,G){if(Q<0||le<0)return!1;var $=se<=Q&&fe<=le,J=se<=le&&fe<=Q,X=G?Q>=se*(le/fe):le>=fe*(Q/se);return $||J||X}function L(Q){return Q==="auto"?0:Q}function z(Q,le){var se=Math.PI/180*le,fe=Math.abs(Math.sin(se)),G=Math.abs(Math.cos(se));return{x:Q.width*G+Q.height*fe,y:Q.width*fe+Q.height*G}}function F(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=$.anchor,j=ae==="end",ee=ae==="start",ie=$.leftToRight||0,ce=(ie+1)/2,xe=1-ce,Te=$.hasB,Ue=$.r,Ie=$.overhead,Ye=G.width,it=G.height,at=Math.abs(le-Q),tt=Math.abs(fe-se),ut=at>2*_&&tt>2*_?_:0;at-=2*ut,tt-=2*ut;var Me=L(re);re==="auto"&&!(Ye<=at&&it<=tt)&&(Ye>at||it>tt)&&(!(Ye>tt||it>at)||Ye_){var rt=B(Q,le,se,fe,pe,Ue,Ie,J,Te);ue=rt.scale,Oe=rt.pad}else ue=1,X&&(ue=Math.min(1,at/pe.x,tt/pe.y)),Oe=0;var ot=G.left*xe+G.right*ce,et=(G.top+G.bottom)/2,Lt=(Q+_)*xe+(le-_)*ce,Et=(se+fe)/2,Bt=0,qt=0;if(ee||j){var fr=(J?pe.x:pe.y)/2;Ue&&(j||Te)&&(ut+=Oe);var ar=J?m(Q,le):m(se,fe);J?ee?(Lt=Q+ar*ut,Bt=-ar*fr):(Lt=le-ar*ut,Bt=ar*fr):ee?(Et=se+ar*ut,qt=-ar*fr):(Et=fe-ar*ut,qt=ar*fr)}return{textX:ot,textY:et,targetX:Lt,targetY:Et,anchorX:Bt,anchorY:qt,scale:ue,rotate:Me}}function B(Q,le,se,fe,G,$,J,X,re){var ae=Math.max(0,Math.abs(le-Q)-2*_),j=Math.max(0,Math.abs(fe-se)-2*_),ee=$-_,ie=J?ee-Math.sqrt(ee*ee-(ee-J)*(ee-J)):ee,ce=re?ee*2:X?ee-J:2*ie,xe=re?ee*2:X?2*ie:ee-J,Te,Ue,Ie,Ye,it;return G.y/G.x>=j/(ae-ce)?Ye=j/G.y:G.y/G.x<=(j-xe)/ae?Ye=ae/G.x:!re&&X?(Te=G.x*G.x+G.y*G.y/4,Ue=-2*G.x*(ae-ee)-G.y*(j/2-ee),Ie=(ae-ee)*(ae-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):re?(Te=(G.x*G.x+G.y*G.y)/4,Ue=-G.x*(ae/2-ee)-G.y*(j/2-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):(Te=G.x*G.x/4+G.y*G.y,Ue=-G.x*(ae/2-ee)-2*G.y*(j-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j-ee)*(j-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)),Ye=Math.min(1,Ye),X?it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(j-G.y*Ye)/2)*(ee-(j-G.y*Ye)/2)))-J):it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(ae-G.x*Ye)/2)*(ee-(ae-G.x*Ye)/2)))-J),{scale:Ye,pad:it}}function O(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=G.width,j=G.height,ee=Math.abs(le-Q),ie=Math.abs(fe-se),ce;J?ce=ie>2*_?_:0:ce=ee>2*_?_:0;var xe=1;X&&(xe=J?Math.min(1,ie/j):Math.min(1,ee/ae));var Te=L(re),Ue=z(G,Te),Ie=(J?Ue.x:Ue.y)/2,Ye=(G.left+G.right)/2,it=(G.top+G.bottom)/2,at=(Q+le)/2,tt=(se+fe)/2,ut=0,Me=0,pe=J?m(le,Q):m(se,fe);return J?(at=le-pe*ce,ut=pe*Ie):(tt=fe+pe*ce,Me=-pe*Ie),{textX:Ye,textY:it,targetX:at,targetY:tt,anchorX:ut,anchorY:Me,scale:xe,rotate:Te}}function I(Q,le,se,fe,G){var $=le[0].trace,J=$.texttemplate,X;return J?X=U(Q,le,se,fe,G):$.textinfo?X=W(le,se,fe,G):X=c.getValue($.text,se),c.coerceString(d,X)}function N(Q,le){var se=c.getValue(Q.textposition,le);return c.coerceEnumerated(T,se)}function U(Q,le,se,fe,G){var $=le[0].trace,J=A.castOption($,se,"texttemplate");if(!J)return"";var X=$.type==="histogram",re=$.type==="waterfall",ae=$.type==="funnel",j=$.orientation==="h",ee,ie,ce,xe;j?(ee="y",ie=G,ce="x",xe=fe):(ee="x",ie=fe,ce="y",xe=G);function Te(ut){return o(ie,ie.c2l(ut),!0).text}function Ue(ut){return o(xe,xe.c2l(ut),!0).text}var Ie=le[se],Ye={};Ye.label=Ie.p,Ye.labelLabel=Ye[ee+"Label"]=Te(Ie.p);var it=A.castOption($,Ie.i,"text");(it===0||it)&&(Ye.text=it),Ye.value=Ie.s,Ye.valueLabel=Ye[ce+"Label"]=Ue(Ie.s);var at={};l(at,$,Ie.i),(X||at.x===void 0)&&(at.x=j?Ye.value:Ye.label),(X||at.y===void 0)&&(at.y=j?Ye.label:Ye.value),(X||at.xLabel===void 0)&&(at.xLabel=j?Ye.valueLabel:Ye.labelLabel),(X||at.yLabel===void 0)&&(at.yLabel=j?Ye.labelLabel:Ye.valueLabel),re&&(Ye.delta=+Ie.rawS||Ie.s,Ye.deltaLabel=Ue(Ye.delta),Ye.final=Ie.v,Ye.finalLabel=Ue(Ye.final),Ye.initial=Ye.final-Ye.delta,Ye.initialLabel=Ue(Ye.initial)),ae&&(Ye.value=Ie.s,Ye.valueLabel=Ue(Ye.value),Ye.percentInitial=Ie.begR,Ye.percentInitialLabel=A.formatPercent(Ie.begR),Ye.percentPrevious=Ie.difR,Ye.percentPreviousLabel=A.formatPercent(Ie.difR),Ye.percentTotal=Ie.sumR,Ye.percenTotalLabel=A.formatPercent(Ie.sumR));var tt=A.castOption($,Ie.i,"customdata");return tt&&(Ye.customdata=tt),A.texttemplateString(J,Ye,Q._d3locale,at,Ye,$._meta||{})}function W(Q,le,se,fe){var G=Q[0].trace,$=G.orientation==="h",J=G.type==="waterfall",X=G.type==="funnel";function re(tt){var ut=$?fe:se;return o(ut,tt,!0).text}function ae(tt){var ut=$?se:fe;return o(ut,+tt,!0).text}var j=G.textinfo,ee=Q[le],ie=j.split("+"),ce=[],xe,Te=function(tt){return ie.indexOf(tt)!==-1};if(Te("label")&&ce.push(re(Q[le].p)),Te("text")&&(xe=A.castOption(G,ee.i,"text"),(xe===0||xe)&&ce.push(xe)),J){var Ue=+ee.rawS||ee.s,Ie=ee.v,Ye=Ie-Ue;Te("initial")&&ce.push(ae(Ye)),Te("delta")&&ce.push(ae(Ue)),Te("final")&&ce.push(ae(Ie))}if(X){Te("value")&&ce.push(ae(ee.s));var it=0;Te("percent initial")&&it++,Te("percent previous")&&it++,Te("percent total")&&it++;var at=it>1;Te("percent initial")&&(xe=A.formatPercent(ee.begR),at&&(xe+=" of initial"),ce.push(xe)),Te("percent previous")&&(xe=A.formatPercent(ee.difR),at&&(xe+=" of previous"),ce.push(xe)),Te("percent total")&&(xe=A.formatPercent(ee.sumR),at&&(xe+=" of total"),ce.push(xe))}return ce.join("
")}H.exports={plot:y,toMoveInsideBar:F}}}),Qg=ke({"src/traces/bar/hover.js"(Z,H){"use strict";var g=Ec(),x=lo(),A=eo(),S=un().fillText,e=R_().getLineWidth,t=Ho().hoverLabelText,r=Hi().BADNUM;function o(a,s,c,h,p){var d=n(a,s,c,h,p);if(d){var T=d.cd,l=T[0].trace,_=T[d.index];return d.color=i(l,_),x.getComponentMethod("errorbars","hoverInfo")(_,l,d),[d]}}function n(a,s,c,h,p){var d=a.cd,T=d[0].trace,l=d[0].t,_=h==="closest",w=T.type==="waterfall",M=a.maxHoverDistance,E=a.maxSpikeDistance,m,b,v,u,y,f,P;T.orientation==="h"?(m=c,b=s,v="y",u="x",y=fe,f=Q):(m=s,b=c,v="x",u="y",f=fe,y=Q);var L=T[v+"period"],z=_||L;function F(xe){return O(xe,-1)}function B(xe){return O(xe,1)}function O(xe,Te){var Ue=xe.w;return xe[v]+Te*Ue/2}function I(xe){return xe[v+"End"]-xe[v+"Start"]}var N=_?F:L?function(xe){return xe.p-I(xe)/2}:function(xe){return Math.min(F(xe),xe.p-l.bardelta/2)},U=_?B:L?function(xe){return xe.p+I(xe)/2}:function(xe){return Math.max(B(xe),xe.p+l.bardelta/2)};function W(xe,Te,Ue){return p.finiteRange&&(Ue=0),g.inbox(xe-m,Te-m,Ue+Math.min(1,Math.abs(Te-xe)/P)-1)}function Q(xe){return W(N(xe),U(xe),M)}function le(xe){return W(F(xe),B(xe),E)}function se(xe){var Te=xe[u];if(w){var Ue=Math.abs(xe.rawS)||0;b>0?Te+=Ue:b<0&&(Te-=Ue)}return Te}function fe(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,M+(Ie-Te)/(Ie-Ue)-1)}function G(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,E+(Ie-Te)/(Ie-Ue)-1)}var $=a[v+"a"],J=a[u+"a"];P=Math.abs($.r2c($.range[1])-$.r2c($.range[0]));function X(xe){return(y(xe)+f(xe))/2}var re=g.getDistanceFunction(h,y,f,X);if(g.getClosest(d,re,a),a.index!==!1&&d[a.index].p!==r){z||(N=function(xe){return Math.min(F(xe),xe.p-l.bargroupwidth/2)},U=function(xe){return Math.max(B(xe),xe.p+l.bargroupwidth/2)});var ae=a.index,j=d[ae],ee=T.base?j.b+j.s:j.s;a[u+"0"]=a[u+"1"]=J.c2p(j[u],!0),a[u+"LabelVal"]=ee;var ie=l.extents[l.extents.round(j.p)];a[v+"0"]=$.c2p(_?N(j):ie[0],!0),a[v+"1"]=$.c2p(_?U(j):ie[1],!0);var ce=j.orig_p!==void 0;return a[v+"LabelVal"]=ce?j.orig_p:j.p,a.labelLabel=t($,a[v+"LabelVal"],T[v+"hoverformat"]),a.valueLabel=t(J,a[u+"LabelVal"],T[u+"hoverformat"]),a.baseLabel=t(J,j.b,T[u+"hoverformat"]),a.spikeDistance=(G(j)+le(j))/2,a[v+"Spike"]=$.c2p(j.p,!0),S(j,T,a),a.hovertemplate=T.hovertemplate,a}}function i(a,s){var c=s.mcc||a.marker.color,h=s.mlcc||a.marker.line.color,p=e(a,s);if(A.opacity(c))return c;if(A.opacity(h)&&p)return h}H.exports={hoverPoints:o,hoverOnBars:n,getTraceColor:i}}}),DC=ke({"src/traces/bar/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),S.orientation==="h"?(x.label=x.y,x.value=x.x):(x.label=x.x,x.value=x.y),x}}}),ey=ke({"src/traces/bar/select.js"(Z,H){"use strict";H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=e[0].trace,n=o.type==="funnel",i=o.orientation==="h",a=[],s;if(S===!1)for(s=0;s0?(L="v",v>0?z=Math.min(y,u):z=Math.min(u)):v>0?(L="h",z=Math.min(y)):z=0;if(!z){c.visible=!1;return}c._length=z;var N=h("orientation",L);c._hasPreCompStats?N==="v"&&v===0?(h("x0",0),h("dx",1)):N==="h"&&b===0&&(h("y0",0),h("dy",1)):N==="v"&&v===0?h("x0"):N==="h"&&b===0&&h("y0");var U=x.getComponentMethod("calendars","handleTraceDefaults");U(s,c,["x","y"],p)}function i(s,c,h,p){var d=p.prefix,T=g.coerce2(s,c,r,"marker.outliercolor"),l=h("marker.line.outliercolor"),_="outliers";c._hasPreCompStats?_="all":(T||l)&&(_="suspectedoutliers");var w=h(d+"points",_);w?(h("jitter",w==="all"?.3:0),h("pointpos",w==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",c.line.color),h("marker.line.color"),h("marker.line.width"),w==="suspectedoutliers"&&(h("marker.line.outliercolor",c.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete c.marker;var M=h("hoveron");(M==="all"||M.indexOf("points")!==-1)&&h("hovertemplate"),g.coerceSelectionMarkerOpacity(c,h)}function a(s,c){var h,p;function d(w){return g.coerce(p._input,p,r,w)}for(var T=0;Tse.uf};if(E._hasPreCompStats){var ae=E[z],j=function(ar){return L.d2c((E[ar]||[])[f])},ee=1/0,ie=-1/0;for(f=0;f=se.q1&&se.q3>=se.med){var xe=j("lowerfence");se.lf=xe!==e&&xe<=se.q1?xe:p(se,G,$);var Te=j("upperfence");se.uf=Te!==e&&Te>=se.q3?Te:d(se,G,$);var Ue=j("mean");se.mean=Ue!==e?Ue:$?S.mean(G,$):(se.q1+se.q3)/2;var Ie=j("sd");se.sd=Ue!==e&&Ie>=0?Ie:$?S.stdev(G,$,se.mean):se.q3-se.q1,se.lo=T(se),se.uo=l(se);var Ye=j("notchspan");Ye=Ye!==e&&Ye>0?Ye:_(se,$),se.ln=se.med-Ye,se.un=se.med+Ye;var it=se.lf,at=se.uf;E.boxpoints&&G.length&&(it=Math.min(it,G[0]),at=Math.max(at,G[$-1])),E.notched&&(it=Math.min(it,se.ln),at=Math.max(at,se.un)),se.min=it,se.max=at}else{S.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+se.q1,"median = "+se.med,"q3 = "+se.q3].join(` -`));var tt;se.med!==e?tt=se.med:se.q1!==e?se.q3!==e?tt=(se.q1+se.q3)/2:tt=se.q1:se.q3!==e?tt=se.q3:tt=0,se.med=tt,se.q1=se.q3=tt,se.lf=se.uf=tt,se.mean=se.sd=tt,se.ln=se.un=tt,se.min=se.max=tt}ee=Math.min(ee,se.min),ie=Math.max(ie,se.max),se.pts2=fe.filter(re),u.push(se)}}E._extremes[L._id]=x.findExtremes(L,[ee,ie],{padded:!0})}else{var ut=L.makeCalcdata(E,z),Me=o(Q,le),pe=Q.length,ue=n(pe);for(f=0;f=0&&Oe0){if(se={},se.pos=se[B]=Q[f],fe=se.pts=ue[f].sort(c),G=se[z]=fe.map(h),$=G.length,se.min=G[0],se.max=G[$-1],se.mean=S.mean(G,$),se.sd=S.stdev(G,$,se.mean)*E.sdmultiple,se.med=S.interp(G,.5),$%2&&(Lt||Et)){var Bt,qt;Lt?(Bt=G.slice(0,$/2),qt=G.slice($/2+1)):Et&&(Bt=G.slice(0,$/2+1),qt=G.slice($/2)),se.q1=S.interp(Bt,.5),se.q3=S.interp(qt,.5)}else se.q1=S.interp(G,.25),se.q3=S.interp(G,.75);se.lf=p(se,G,$),se.uf=d(se,G,$),se.lo=T(se),se.uo=l(se);var fr=_(se,$);se.ln=se.med-fr,se.un=se.med+fr,rt=Math.min(rt,se.ln),ot=Math.max(ot,se.un),se.pts2=fe.filter(re),u.push(se)}E.notched&&S.isTypedArray(ut)&&(ut=Array.from(ut)),E._extremes[L._id]=x.findExtremes(L,E.notched?ut.concat([rt,ot]):ut,{padded:!0})}return s(u,E),u.length>0?(u[0].t={num:m[y],dPos:le,posLetter:B,valLetter:z,labels:{med:t(M,"median:"),min:t(M,"min:"),q1:t(M,"q1:"),q3:t(M,"q3:"),max:t(M,"max:"),mean:E.boxmean==="sd"||E.sizemode==="sd"?t(M,"mean \xB1 \u03C3:").replace("\u03C3",E.sdmultiple===1?"\u03C3":E.sdmultiple+"\u03C3"):t(M,"mean:"),lf:t(M,"lower fence:"),uf:t(M,"upper fence:")}},m[y]++,u):[{t:{empty:!0}}]};function r(w,M,E,m){var b=M in w,v=M+"0"in w,u="d"+M in w;if(b||v&&u){var y=E.makeCalcdata(w,M),f=A(w,E,M,y).vals;return[f,y]}var P;v?P=w[M+"0"]:"name"in w&&(E.type==="category"||g(w.name)&&["linear","log"].indexOf(E.type)!==-1||S.isDateTime(w.name)&&E.type==="date")?P=w.name:P=m;for(var L=E.type==="multicategory"?E.r2c_just_indices(P):E.d2c(P,0,w[M+"calendar"]),z=w._length,F=new Array(z),B=0;B1,v=1-s[r+"gap"],u=1-s[r+"groupgap"];for(p=0;p0;if(L==="positive"?(se=z*(P?1:.5),$=G,fe=$=B):L==="negative"?(se=$=B,fe=z*(P?1:.5),J=G):(se=fe=z,$=J=G),ie){var ce=y.pointpos,xe=y.jitter,Te=y.marker.size/2,Ue=0;ce+xe>=0&&(Ue=G*(ce+xe),Ue>se?(ee=!0,ae=Te,X=Ue):Ue>$&&(ae=Te,X=se)),Ue<=se&&(X=se);var Ie=0;ce-xe<=0&&(Ie=-G*(ce-xe),Ie>fe?(ee=!0,j=Te,re=Ie):Ie>J&&(j=Te,re=fe)),Ie<=fe&&(re=fe)}else X=se,re=fe;var Ye=new Array(T.length);for(d=0;dE.lo&&(N.so=!0)}return b});M.enter().append("path").classed("point",!0),M.exit().remove(),M.call(A.translatePoints,h,p)}function n(i,a,s,c){var h=a.val,p=a.pos,d=!!p.rangebreaks,T=c.bPos,l=c.bPosPxOffset||0,_=s.boxmean||(s.meanline||{}).visible,w,M;Array.isArray(c.bdPos)?(w=c.bdPos[0],M=c.bdPos[1]):(w=c.bdPos,M=c.bdPos);var E=i.selectAll("path.mean").data(s.type==="box"&&s.boxmean||s.type==="violin"&&s.box.visible&&s.meanline.visible?x.identity:[]);E.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),E.exit().remove(),E.each(function(m){var b=p.c2l(m.pos+T,!0),v=p.l2p(b-w)+l,u=p.l2p(b+M)+l,y=d?(v+u)/2:p.l2p(b)+l,f=h.c2p(m.mean,!0),P=h.c2p(m.mean-m.sd,!0),L=h.c2p(m.mean+m.sd,!0);s.orientation==="h"?g.select(this).attr("d","M"+f+","+v+"V"+u+(_==="sd"?"m0,0L"+P+","+y+"L"+f+","+v+"L"+L+","+y+"Z":"")):g.select(this).attr("d","M"+v+","+f+"H"+u+(_==="sd"?"m0,0L"+y+","+P+"L"+v+","+f+"L"+y+","+L+"Z":""))})}H.exports={plot:t,plotBoxAndWhiskers:r,plotPoints:o,plotBoxMean:n}}}),O_=ke({"src/traces/box/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=$o();function S(t,r,o){var n=o||g.select(t).selectAll("g.trace.boxes");n.style("opacity",function(i){return i[0].trace.opacity}),n.each(function(i){var a=g.select(this),s=i[0].trace,c=s.line.width;function h(T,l,_,w){T.style("stroke-width",l+"px").call(x.stroke,_).call(x.fill,w)}var p=a.selectAll("path.box");if(s.type==="candlestick")p.each(function(T){if(!T.empty){var l=g.select(this),_=s[T.dir];h(l,_.line.width,_.line.color,_.fillcolor),l.style("opacity",s.selectedpoints&&!T.selected?.3:1)}});else{h(p,c,s.line.color,s.fillcolor),a.selectAll("path.mean").style({"stroke-width":c,"stroke-dasharray":2*c+"px,"+c+"px"}).call(x.stroke,s.line.color);var d=a.selectAll("path.point");A.pointStyle(d,s,t)}})}function e(t,r,o){var n=r[0].trace,i=o.selectAll("path.point");n.selectedpoints?A.selectedPointStyle(i,n):A.pointStyle(i,n,t)}H.exports={style:S,styleOnSelect:e}}}),B2=ke({"src/traces/box/hover.js"(Z,H){"use strict";var g=Ho(),x=un(),A=Ec(),S=eo(),e=x.fillText;function t(n,i,a,s){var c=n.cd,h=c[0].trace,p=h.hoveron,d=[],T;return p.indexOf("boxes")!==-1&&(d=d.concat(r(n,i,a,s))),p.indexOf("points")!==-1&&(T=o(n,i,a)),s==="closest"?T?[T]:d:(T&&d.push(T),d)}function r(n,i,a,s){var c=n.cd,h=n.xa,p=n.ya,d=c[0].trace,T=c[0].t,l=d.type==="violin",_,w,M,E,m,b,v,u,y,f,P,L=T.bdPos,z,F,B=T.wHover,O=function(Ie){return M.c2l(Ie.pos)+T.bPos-M.c2l(b)};l&&d.side!=="both"?(d.side==="positive"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye,Ye+B,f)},z=L,F=0),d.side==="negative"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye,f)},z=0,F=L)):(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye+B,f)},z=F=L);var I;l?I=function(Ie){return A.inbox(Ie.span[0]-m,Ie.span[1]-m,f)}:I=function(Ie){return A.inbox(Ie.min-m,Ie.max-m,f)},d.orientation==="h"?(m=i,b=a,v=I,u=y,_="y",M=p,w="x",E=h):(m=a,b=i,v=y,u=I,_="x",M=h,w="y",E=p);var N=Math.min(1,L/Math.abs(M.r2c(M.range[1])-M.r2c(M.range[0])));f=n.maxHoverDistance-N,P=n.maxSpikeDistance-N;function U(Ie){return(v(Ie)+u(Ie))/2}var W=A.getDistanceFunction(s,v,u,U);if(A.getClosest(c,W,n),n.index===!1)return[];var Q=c[n.index],le=d.line.color,se=(d.marker||{}).color;S.opacity(le)&&d.line.width?n.color=le:S.opacity(se)&&d.boxpoints?n.color=se:n.color=d.fillcolor,n[_+"0"]=M.c2p(Q.pos+T.bPos-F,!0),n[_+"1"]=M.c2p(Q.pos+T.bPos+z,!0),n[_+"LabelVal"]=Q.orig_p!==void 0?Q.orig_p:Q.pos;var fe=_+"Spike";n.spikeDistance=U(Q)*P/f,n[fe]=M.c2p(Q.pos,!0);var G=d.boxmean||d.sizemode==="sd"||(d.meanline||{}).visible,$=d.boxpoints||d.points,J=$&&G?["max","uf","q3","med","mean","q1","lf","min"]:$&&!G?["max","uf","q3","med","q1","lf","min"]:!$&&G?["max","q3","med","mean","q1","min"]:["max","q3","med","q1","min"],X=E.range[1]0&&(o=!0);for(var s=0;st){var r=t-S[x];return S[x]=t,r}}else return S[x]=t,t;return 0},max:function(x,A,S,e){var t=e[A];if(g(t))if(t=Number(t),g(S[x])){if(S[x]v&&vS){var f=u===x?1:6,P=u===x?"M12":"M1";return function(L,z){var F=T.c2d(L,x,l),B=F.indexOf("-",f);B>0&&(F=F.substr(0,B));var O=T.d2c(F,0,l);if(Or?c>S?c>x*1.1?x:c>A*1.1?A:S:c>e?e:c>t?t:r:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function a(c,h,p,d,T,l){if(d&&c>S){var _=s(h,T,l),w=s(p,T,l),M=c===x?0:1;return _[M]!==w[M]}return Math.floor(p/c)-Math.floor(h/c)>.1}function s(c,h,p){var d=h.c2d(c,x,p).split("-");return d[0]===""&&(d.unshift(),d[0]="-"+d[0]),d}}}),G2=ke({"src/traces/histogram/calc.js"(Z,H){"use strict";var g=Yn(),x=un(),A=lo(),S=Ho(),e=u0(),t=j2(),r=V2(),o=q2(),n=H2();function i(p,d){var T=[],l=[],_=d.orientation==="h",w=S.getFromId(p,_?d.yaxis:d.xaxis),M=_?"y":"x",E={x:"y",y:"x"}[M],m=d[M+"calendar"],b=d.cumulative,v,u=a(p,d,w,M),y=u[0],f=u[1],P=typeof y.size=="string",L=[],z=P?L:y,F=[],B=[],O=[],I=0,N=d.histnorm,U=d.histfunc,W=N.indexOf("density")!==-1,Q,le,se;b.enabled&&W&&(N=N.replace(/ ?density$/,""),W=!1);var fe=U==="max"||U==="min",G=fe?null:0,$=t.count,J=r[N],X=!1,re=function(pe){return w.r2c(pe,0,m)},ae;for(x.isArrayOrTypedArray(d[E])&&U!=="count"&&(ae=d[E],X=U==="avg",$=t[U]),v=re(y.start),le=re(y.end)+(v-S.tickIncrement(v,y.size,!1,m))/1e6;v=0&&se=tt;v--)if(l[v]){ut=v;break}for(v=tt;v<=ut;v++)if(g(T[v])&&g(l[v])){var Me={p:T[v],s:l[v],b:0};b.enabled||(Me.pts=O[v],ce?Me.ph0=Me.ph1=O[v].length?f[O[v][0]]:T[v]:(d._computePh=!0,Me.ph0=Ye(L[v]),Me.ph1=Ye(L[v+1],!0))),at.push(Me)}return at.length===1&&(at[0].width1=S.tickIncrement(at[0].p,y.size,!1,m)-at[0].p),e(at,d),x.isArrayOrTypedArray(d.selectedpoints)&&x.tagSelected(at,d,Ue),at}function a(p,d,T,l,_){var w=l+"bins",M=p._fullLayout,E=d["_"+l+"bingroup"],m=M._histogramBinOpts[E],b=M.barmode==="overlay",v,u,y,f,P,L,z,F=function(Ie){return T.r2c(Ie,0,f)},B=function(Ie){return T.c2r(Ie,0,f)},O=T.type==="date"?function(Ie){return Ie||Ie===0?x.cleanDate(Ie,null,f):null}:function(Ie){return g(Ie)?Number(Ie):null};function I(Ie,Ye,it){Ye[Ie+"Found"]?(Ye[Ie]=O(Ye[Ie]),Ye[Ie]===null&&(Ye[Ie]=it[Ie])):(L[Ie]=Ye[Ie]=it[Ie],x.nestedProperty(u[0],w+"."+Ie).set(it[Ie]))}if(d["_"+l+"autoBinFinished"])delete d["_"+l+"autoBinFinished"];else{u=m.traces;var N=[],U=!0,W=!1,Q=!1;for(v=0;v"u"){if(_)return[se,P,!0];se=s(p,d,T,l,w)}z=y.cumulative||{},z.enabled&&z.currentbin!=="include"&&(z.direction==="decreasing"?se.start=B(S.tickIncrement(F(se.start),se.size,!0,f)):se.end=B(S.tickIncrement(F(se.end),se.size,!1,f))),m.size=se.size,m.sizeFound||(L.size=se.size,x.nestedProperty(u[0],w+".size").set(se.size)),I("start",m,se),I("end",m,se)}P=d["_"+l+"pos0"],delete d["_"+l+"pos0"];var G=d._input[w]||{},$=x.extendFlat({},m),J=m.start,X=T.r2l(G.start),re=X!==void 0;if((m.startFound||re)&&X!==T.r2l(J)){var ae=re?X:x.aggNums(Math.min,null,P),j={type:T.type==="category"||T.type==="multicategory"?"linear":T.type,r2l:T.r2l,dtick:m.size,tick0:J,calendar:f,range:[ae,S.tickIncrement(ae,m.size,!1,f)].map(T.l2r)},ee=S.tickFirst(j);ee>T.r2l(ae)&&(ee=S.tickIncrement(ee,m.size,!0,f)),$.start=T.l2r(ee),re||x.nestedProperty(d,w+".start").set($.start)}var ie=m.end,ce=T.r2l(G.end),xe=ce!==void 0;if((m.endFound||xe)&&ce!==T.r2l(ie)){var Te=xe?ce:x.aggNums(Math.max,null,P);$.end=T.l2r(Te),xe||x.nestedProperty(d,w+".start").set($.end)}var Ue="autobin"+l;return d._input[Ue]===!1&&(d._input[w]=x.extendFlat({},d[w]||{}),delete d._input[Ue],delete d[Ue]),[$,P]}function s(p,d,T,l,_){var w=p._fullLayout,M=c(p,d),E=!1,m=1/0,b=[d],v,u,y;for(v=0;v=0;l--)E(l);else if(d==="increasing"){for(l=1;l=0;l--)p[l]+=p[l+1];T==="exclude"&&(p.push(0),p.shift())}}H.exports={calc:i,calcAllAutoBins:a}}}),jC=ke({"src/traces/histogram2d/calc.js"(Z,H){"use strict";var g=un(),x=Ho(),A=j2(),S=V2(),e=q2(),t=H2(),r=G2().calcAllAutoBins;H.exports=function(s,c){var h=x.getFromId(s,c.xaxis),p=x.getFromId(s,c.yaxis),d=c.xcalendar,T=c.ycalendar,l=function(Be){return h.r2c(Be,0,d)},_=function(Be){return p.r2c(Be,0,T)},w=function(Be){return h.c2r(Be,0,d)},M=function(Be){return p.c2r(Be,0,T)},E,m,b,v,u=r(s,c,h,"x"),y=u[0],f=u[1],P=r(s,c,p,"y"),L=P[0],z=P[1],F=c._length;f.length>F&&f.splice(F,f.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],O=[],I=[],N=typeof y.size=="string",U=typeof L.size=="string",W=[],Q=[],le=N?W:y,se=U?Q:L,fe=0,G=[],$=[],J=c.histnorm,X=c.histfunc,re=J.indexOf("density")!==-1,ae=X==="max"||X==="min",j=ae?null:0,ee=A.count,ie=S[J],ce=!1,xe=[],Te=[],Ue="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";Ue&&X!=="count"&&(ce=X==="avg",ee=A[X]);var Ie=y.size,Ye=l(y.start),it=l(y.end)+(Ye-x.tickIncrement(Ye,Ie,!1,d))/1e6;for(E=Ye;E=0&&b=0&&vx;i++)n=e(r,o,S(n));return n>x&&g.log("interp2d didn't converge quickly",n),r};function e(t,r,o){var n=0,i,a,s,c,h,p,d,T,l,_,w,M,E;for(c=0;cM&&(n=Math.max(n,Math.abs(t[a][s]-w)/(E-M))))}return n}}}),V_=ke({"src/traces/heatmap/find_empties.js"(Z,H){"use strict";var g=un().maxRowLength;H.exports=function(A){var S=[],e={},t=[],r=A[0],o=[],n=[0,0,0],i=g(A),a,s,c,h,p,d,T,l;for(s=0;s=0;p--)h=t[p],s=h[0],c=h[1],d=((e[[s-1,c]]||n)[2]+(e[[s+1,c]]||n)[2]+(e[[s,c-1]]||n)[2]+(e[[s,c+1]]||n)[2])/20,d&&(T[h]=[s,c,d],t.splice(p,1),l=!0);if(!l)throw"findEmpties iterated with no new neighbors";for(h in T)e[h]=T[h],S.push(T[h])}return S.sort(function(_,w){return w[2]-_[2]})}}}),W2=ke({"src/traces/heatmap/make_bound_array.js"(Z,H){"use strict";var g=lo(),x=un().isArrayOrTypedArray;H.exports=function(S,e,t,r,o,n){var i=[],a=g.traceIs(S,"contour"),s=g.traceIs(S,"histogram"),c,h,p,d=x(e)&&e.length>1;if(d&&!s&&n.type!=="category"){var T=e.length;if(T<=o){if(a)i=Array.from(e).slice(0,o);else if(o===1)n.type==="log"?i=[.5*e[0],2*e[0]]:i=[e[0]-.5,e[0]+.5];else if(n.type==="log"){for(i=[Math.pow(e[0],1.5)/Math.pow(e[1],.5)],p=1;p1){var J=($[$.length-1]-$[0])/($.length-1),X=Math.abs(J/100);for(F=0;F<$.length-1;F++)if(Math.abs($[F+1]-$[F]-J)>X)return!1}return!0}T._islinear=!1,l.type==="log"||_.type==="log"?E==="fast"&&I("log axis found"):N(m)?N(y)?T._islinear=!0:E==="fast"&&I("y scale is not linear"):E==="fast"&&I("x scale is not linear");var U=x.maxRowLength(z),W=T.xtype==="scaled"?"":m,Q=a(T,W,b,v,U,l),le=T.ytype==="scaled"?"":y,se=a(T,le,f,P,z.length,_);T._extremes[l._id]=A.findExtremes(l,Q),T._extremes[_._id]=A.findExtremes(_,se);var fe={x:Q,y:se,z,text:T._text||T.text,hovertext:T._hovertext||T.hovertext};if(T.xperiodalignment&&u&&(fe.orig_x=u),T.yperiodalignment&&L&&(fe.orig_y=L),W&&W.length===Q.length-1&&(fe.xCenter=W),le&&le.length===se.length-1&&(fe.yCenter=le),M&&(fe.xRanges=B.xRanges,fe.yRanges=B.yRanges,fe.pts=B.pts),w||t(d,T,{vals:z,cLetter:"z"}),w&&T.contours&&T.contours.coloring==="heatmap"){var G={type:T.type==="contour"?"heatmap":"histogram2d",xcalendar:T.xcalendar,ycalendar:T.ycalendar};fe.xfill=a(G,W,b,v,U,l),fe.yfill=a(G,le,f,P,z.length,_)}return[fe]};function c(p){for(var d=[],T=p.length,l=0;l0;)re=y.c2p(N[ie]),ie--;for(re0;)ee=f.c2p(U[ie]),ie--;ee=y._length||re<=0||j>=f._length||ee<=0;if(it){var at=L.selectAll("image").data([]);at.exit().remove(),_(L);return}var tt,ut;Te==="fast"?(tt=G,ut=fe):(tt=Ie,ut=Ye);var Me=document.createElement("canvas");Me.width=tt,Me.height=ut;var pe=Me.getContext("2d",{willReadFrequently:!0}),ue=a(F,{noNumericCheck:!0,returnArray:!0}),Oe,rt;Te==="fast"?(Oe=$?function(Dn){return G-1-Dn}:t.identity,rt=J?function(Dn){return fe-1-Dn}:t.identity):(Oe=function(Dn){return t.constrain(Math.round(y.c2p(N[Dn])-X),0,Ie)},rt=function(Dn){return t.constrain(Math.round(f.c2p(U[Dn])-j),0,Ye)});var ot=rt(0),et=[ot,ot],Lt=$?0:1,Et=J?0:1,Bt=0,qt=0,fr=0,ar=0,Rr,gr,br,_t,Be;function Ke(Dn,Ui){if(Dn!==void 0){var pi=ue(Dn);return pi[0]=Math.round(pi[0]),pi[1]=Math.round(pi[1]),pi[2]=Math.round(pi[2]),Bt+=Ui,qt+=pi[0]*Ui,fr+=pi[1]*Ui,ar+=pi[2]*Ui,pi}return[0,0,0,0]}function je(Dn,Ui,pi,Ta){var Sa=Dn[pi.bin0];if(Sa===void 0)return Ke(void 0,1);var qa=Dn[pi.bin1],to=Ui[pi.bin0],yo=Ui[pi.bin1],Xa=qa-Sa||0,Go=to-Sa||0,pa;return qa===void 0?yo===void 0?pa=0:to===void 0?pa=2*(yo-Sa):pa=(2*yo-to-Sa)*2/3:yo===void 0?to===void 0?pa=0:pa=(2*Sa-qa-to)*2/3:to===void 0?pa=(2*yo-qa-Sa)*2/3:pa=yo+Sa-qa-to,Ke(Sa+pi.frac*Xa+Ta.frac*(Go+pi.frac*pa))}if(Te!=="default"){var Se=0,He;try{He=new Uint8Array(tt*ut*4)}catch{He=new Array(tt*ut*4)}if(Te==="smooth"){var Ee=W||N,we=Q||U,Le=new Array(Ee.length),nt=new Array(we.length),pt=new Array(Ie),bt=W?M:w,Rt=Q?M:w,Nt,Xt,$t;for(ie=0;ieWn||Wn>f._length))for(ce=$r;ceSn||Sn>y._length)){var ui=o({x:ri,y:Fn},F,m._fullLayout);ui.x=ri,ui.y=Fn;var gt=z.z[ie][ce];gt===void 0?(ui.z="",ui.zLabel=""):(ui.z=gt,ui.zLabel=e.tickText(Zt,gt,"hover").text);var yt=z.text&&z.text[ie]&&z.text[ie][ce];(yt===void 0||yt===!1)&&(yt=""),ui.text=yt;var Pr=t.texttemplateString(Qn,ui,m._fullLayout._d3locale,ui,F._meta||{});if(Pr){var Ir=Pr.split("
"),Tr=Ir.length,Mr=0;for(xe=0;xe=_[0].length||P<0||P>_.length)return}else{if(g.inbox(o-T[0],o-T[T.length-1],0)>0||g.inbox(n-l[0],n-l[l.length-1],0)>0)return;if(s){var L;for(b=[2*T[0]-T[1]],L=1;L=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}}}),v0=ke({"src/traces/contour/attributes.js"(Z,H){"use strict";var g=ty(),x=Cc(),A=Sc(),S=A.axisHoverFormat,e=A.descriptionOnlyNumbers,t=ou(),r=xh().dash,o=Il(),n=To().extendFlat,i=J_(),a=i.COMPARISON_OPS2,s=i.INTERVAL_OPS,c=x.line;H.exports=n({z:g.z,x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:x.xperiod0,yperiod0:x.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,text:g.text,hovertext:g.hovertext,transpose:g.transpose,xtype:g.xtype,ytype:g.ytype,xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:g.hovertemplate,texttemplate:n({},g.texttemplate,{}),textfont:n({},g.textfont,{}),hoverongaps:g.hoverongaps,connectgaps:n({},g.connectgaps,{}),fillcolor:{valType:"color",editType:"calc"},autocontour:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"contours.start":void 0,"contours.end":void 0,"contours.size":void 0}},ncontours:{valType:"integer",dflt:15,min:1,editType:"calc"},contours:{type:{valType:"enumerated",values:["levels","constraint"],dflt:"levels",editType:"calc"},start:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},end:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},size:{valType:"number",dflt:null,min:0,editType:"plot",impliedEdits:{"^autocontour":!1}},coloring:{valType:"enumerated",values:["fill","heatmap","lines","none"],dflt:"fill",editType:"calc"},showlines:{valType:"boolean",dflt:!0,editType:"plot"},showlabels:{valType:"boolean",dflt:!1,editType:"plot"},labelfont:o({editType:"plot",colorEditType:"style"}),labelformat:{valType:"string",dflt:"",editType:"plot",description:e("contour label")},operation:{valType:"enumerated",values:[].concat(a).concat(s),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},editType:"calc",impliedEdits:{autocontour:!1}},line:{color:n({},c.color,{editType:"style+colorbars"}),width:{valType:"number",min:0,editType:"style+colorbars"},dash:r,smoothing:n({},c.smoothing,{}),editType:"plot"},zorder:x.zorder},t("",{cLetter:"z",autoColorDflt:!1,editTypeOverride:"calc"}))}}),J2=ke({"src/traces/histogram2dcontour/attributes.js"(Z,H){"use strict";var g=K_(),x=v0(),A=ou(),S=Sc().axisHoverFormat,e=To().extendFlat;H.exports=e({x:g.x,y:g.y,z:g.z,marker:g.marker,histnorm:g.histnorm,histfunc:g.histfunc,nbinsx:g.nbinsx,xbins:g.xbins,nbinsy:g.nbinsy,ybins:g.ybins,autobinx:g.autobinx,autobiny:g.autobiny,bingroup:g.bingroup,xbingroup:g.xbingroup,ybingroup:g.ybingroup,autocontour:x.autocontour,ncontours:x.ncontours,contours:x.contours,line:{color:x.line.color,width:e({},x.line.width,{dflt:.5}),dash:x.line.dash,smoothing:x.line.smoothing,editType:"plot"},xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z",1),hovertemplate:g.hovertemplate,texttemplate:x.texttemplate,textfont:x.textfont},A("",{cLetter:"z",editTypeOverride:"calc"}))}}),$_=ke({"src/traces/contour/contours_defaults.js"(Z,H){"use strict";H.exports=function(x,A,S,e){var t=e("contours.start"),r=e("contours.end"),o=t===!1||r===!1,n=S("contours.size"),i;o?i=A.autocontour=!0:i=S("autocontour",!1),(i||!n)&&S("ncontours")}}}),$2=ke({"src/traces/contour/label_defaults.js"(Z,H){"use strict";var g=un();H.exports=function(A,S,e,t){t||(t={});var r=A("contours.showlabels");if(r){var o=S.font;g.coerceFont(A,"contours.labelfont",o,{overrideDflt:{color:e}}),A("contours.labelformat")}t.hasHover!==!1&&A("zhoverformat")}}}),Q_=ke({"src/traces/contour/style_defaults.js"(Z,H){"use strict";var g=Kf(),x=$2();H.exports=function(S,e,t,r,o){var n=t("contours.coloring"),i,a="";n==="fill"&&(i=t("contours.showlines")),i!==!1&&(n!=="lines"&&(a=t("line.color","#000")),t("line.width",.5),t("line.dash")),n!=="none"&&(S.showlegend!==!0&&(e.showlegend=!1),e._dfltShowLegend=!1,g(S,e,r,t,{prefix:"",cLetter:"z"})),t("line.smoothing"),x(t,r,a,o)}}}),QC=ke({"src/traces/histogram2dcontour/defaults.js"(Z,H){"use strict";var g=un(),x=K2(),A=$_(),S=Q_(),e=d0(),t=J2();H.exports=function(o,n,i,a){function s(h,p){return g.coerce(o,n,t,h,p)}function c(h){return g.coerce2(o,n,t,h)}x(o,n,s,a),n.visible!==!1&&(A(o,n,s,c),S(o,n,s,a),s("xhoverformat"),s("yhoverformat"),s("hovertemplate"),n.contours&&n.contours.coloring==="heatmap"&&e(s,a))}}}),Q2=ke({"src/traces/contour/set_contours.js"(Z,H){"use strict";var g=Ho(),x=un();H.exports=function(e,t){var r=e.contours;if(e.autocontour){var o=e.zmin,n=e.zmax;(e.zauto||o===void 0)&&(o=x.aggNums(Math.min,null,t)),(e.zauto||n===void 0)&&(n=x.aggNums(Math.max,null,t));var i=A(o,n,e.ncontours);r.size=i.dtick,r.start=g.tickFirst(i),i.range.reverse(),r.end=g.tickFirst(i),r.start===o&&(r.start+=r.size),r.end===n&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),e._input.contours||(e._input.contours={}),x.extendFlat(e._input.contours,{start:r.start,end:r.end,size:r.size}),e._input.autocontour=!0}else if(r.type!=="constraint"){var a=r.start,s=r.end,c=e._input.contours;if(a>s&&(r.start=c.start=s,s=r.end=c.end=a,a=r.start),!(r.size>0)){var h;a===s?h=1:h=A(a,s,e.ncontours).dtick,c.size=r.size=h}}};function A(S,e,t){var r={type:"linear",range:[S,e]};return g.autoTicks(r,(e-S)/(t||15)),r}}}),p0=ke({"src/traces/contour/end_plus.js"(Z,H){"use strict";H.exports=function(x){return x.end+x.size/1e6}}}),e3=ke({"src/traces/contour/calc.js"(Z,H){"use strict";var g=ku(),x=q_(),A=Q2(),S=p0();H.exports=function(t,r){var o=x(t,r),n=o[0].z;A(r,n);var i=r.contours,a=g.extractOpts(r),s;if(i.coloring==="heatmap"&&a.auto&&r.autocontour===!1){var c=i.start,h=S(i),p=i.size||1,d=Math.floor((h-c)/p)+1;isFinite(p)||(p=1,d=1);var T=c-p/2,l=T+d*p;s=[T,l]}else s=n;return g.calc(t,r,{vals:s,cLetter:"z"}),o}}}),m0=ke({"src/traces/contour/constants.js"(Z,H){"use strict";H.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}}}),t3=ke({"src/traces/contour/make_crossings.js"(Z,H){"use strict";var g=m0();H.exports=function(S){var e=S[0].z,t=e.length,r=e[0].length,o=t===2||r===2,n,i,a,s,c,h,p,d,T;for(i=0;iA?0:1)+(S[0][1]>A?0:2)+(S[1][1]>A?0:4)+(S[1][0]>A?0:8);if(e===5||e===10){var t=(S[0][0]+S[0][1]+S[1][0]+S[1][1])/4;return A>t?e===5?713:1114:e===5?104:208}return e===15?0:e}}}),r3=ke({"src/traces/contour/find_all_paths.js"(Z,H){"use strict";var g=un(),x=m0();H.exports=function(n,i,a){var s,c,h,p,d;for(i=i||.01,a=a||.01,h=0;h20?(h=x.CHOOSESADDLE[h][(p[0]||p[1])<0?0:1],o.crossings[c]=x.SADDLEREMAINDER[h]):delete o.crossings[c],p=x.NEWDELTA[h],!p){g.log("Found bad marching index:",h,n,o.level);break}d.push(r(o,n,p)),n[0]+=p[0],n[1]+=p[1],c=n.join(","),A(d[d.length-1],d[d.length-2],a,s)&&d.pop();var E=p[0]&&(n[0]<0||n[0]>l-2)||p[1]&&(n[1]<0||n[1]>T-2),m=n[0]===_[0]&&n[1]===_[1]&&p[0]===w[0]&&p[1]===w[1];if(m||i&&E)break;h=o.crossings[c]}M===1e4&&g.log("Infinite loop in contour?");var b=A(d[0],d[d.length-1],a,s),v=0,u=.2*o.smoothing,y=[],f=0,P,L,z,F,B,O,I,N,U,W,Q;for(M=1;M=f;M--)if(P=y[M],P=f&&P+y[L]N&&U--,o.edgepaths[U]=Q.concat(d,W));break}G||(o.edgepaths[N]=d.concat(W))}for(N=0;N20&&n?o===208||o===1114?a=i[0]===0?1:-1:s=i[1]===0?1:-1:x.BOTTOMSTART.indexOf(o)!==-1?s=1:x.LEFTSTART.indexOf(o)!==-1?a=1:x.TOPSTART.indexOf(o)!==-1?s=-1:a=-1,[a,s]}function r(o,n,i){var a=n[0]+Math.max(i[0],0),s=n[1]+Math.max(i[1],0),c=o.z[s][a],h=o.xaxis,p=o.yaxis;if(i[1]){var d=(o.level-c)/(o.z[s][a+1]-c),T=(d!==1?(1-d)*h.c2l(o.x[a]):0)+(d!==0?d*h.c2l(o.x[a+1]):0);return[h.c2p(h.l2c(T),!0),p.c2p(o.y[s],!0),a+d,s]}else{var l=(o.level-c)/(o.z[s+1][a]-c),_=(l!==1?(1-l)*p.c2l(o.y[s]):0)+(l!==0?l*p.c2l(o.y[s+1]):0);return[h.c2p(o.x[a],!0),p.c2p(p.l2c(_),!0),a,s+l]}}}}),ek=ke({"src/traces/contour/constraint_mapping.js"(Z,H){"use strict";var g=J_(),x=Yn();H.exports={"[]":S("[]"),"][":S("]["),">":e(">"),"<":e("<"),"=":e("=")};function A(t,r){var o=Array.isArray(r),n;function i(a){return x(a)?+a:null}return g.COMPARISON_OPS2.indexOf(t)!==-1?n=i(o?r[0]:r):g.INTERVAL_OPS.indexOf(t)!==-1?n=o?[i(r[0]),i(r[1])]:[i(r),i(r)]:g.SET_OPS.indexOf(t)!==-1&&(n=o?r.map(i):[i(r)]),n}function S(t){return function(r){r=A(t,r);var o=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]);return{start:o,end:n,size:n-o}}}function e(t){return function(r){return r=A(t,r),{start:r,end:1/0,size:1/0}}}}}),n3=ke({"src/traces/contour/empty_pathinfo.js"(Z,H){"use strict";var g=un(),x=ek(),A=p0();H.exports=function(e,t,r){for(var o=e.type==="constraint"?x[e._operation](e.value):e,n=o.size,i=[],a=A(o),s=r.trace._carpetTrace,c=s?{xaxis:s.aaxis,yaxis:s.baxis,x:r.a,y:r.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y},h=o.start;h1e3){g.warn("Too many contours, clipping at 1000",e);break}return i}}}),i3=ke({"src/traces/contour/convert_to_constraints.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e,t,r,o=function(a){return a.reverse()},n=function(a){return a};switch(S){case"=":case"<":return A;case">":for(A.length!==1&&g.warn("Contour data invalid for the specified inequality operation."),t=A[0],e=0;er.level||r.starts.length&&t===r.level)}break;case"constraint":if(A.prefixBoundary=!1,A.edgepaths.length)return;var o=A.x.length,n=A.y.length,i=-1/0,a=1/0;for(e=0;e":s>i&&(A.prefixBoundary=!0);break;case"<":(si||A.starts.length&&h===a)&&(A.prefixBoundary=!0);break;case"][":c=Math.min(s[0],s[1]),h=Math.max(s[0],s[1]),ci&&(A.prefixBoundary=!0);break}break}}}}),ex=ke({"src/traces/contour/plot.js"(Z){"use strict";var H=_i(),g=un(),x=$o(),A=ku(),S=Wl(),e=Ho(),t=Cv(),r=G_(),o=t3(),n=r3(),i=n3(),a=i3(),s=a3(),c=m0(),h=c.LABELOPTIMIZER;Z.plot=function(m,b,v,u){var y=b.xaxis,f=b.yaxis;g.makeTraceGroups(u,v,"contour").each(function(P){var L=H.select(this),z=P[0],F=z.trace,B=z.x,O=z.y,I=F.contours,N=i(I,b,z),U=g.ensureSingle(L,"g","heatmapcoloring"),W=[];I.coloring==="heatmap"&&(W=[P]),r(m,b,W,U),o(N),n(N);var Q=y.c2p(B[0],!0),le=y.c2p(B[B.length-1],!0),se=f.c2p(O[0],!0),fe=f.c2p(O[O.length-1],!0),G=[[Q,fe],[le,fe],[le,se],[Q,se]],$=N;I.type==="constraint"&&($=a(N,I._operation)),p(L,G,I),d(L,$,G,I),l(L,N,m,z,I),w(L,b,m,z,G)})};function p(E,m,b){var v=g.ensureSingle(E,"g","contourbg"),u=v.selectAll("path").data(b.coloring==="fill"?[0]:[]);u.enter().append("path"),u.exit().remove(),u.attr("d","M"+m.join("L")+"Z").style("stroke","none")}function d(E,m,b,v){var u=v.coloring==="fill"||v.type==="constraint"&&v._operation!=="=",y="M"+b.join("L")+"Z";u&&s(m,v);var f=g.ensureSingle(E,"g","contourfill"),P=f.selectAll("path").data(u?m:[]);P.enter().append("path"),P.exit().remove(),P.each(function(L){var z=(L.prefixBoundary?y:"")+T(L,b);z?H.select(this).attr("d",z).style("stroke","none"):H.select(this).remove()})}function T(E,m){var b="",v=0,u=E.edgepaths.map(function(Q,le){return le}),y=!0,f,P,L,z,F,B;function O(Q){return Math.abs(Q[1]-m[0][1])<.01}function I(Q){return Math.abs(Q[1]-m[2][1])<.01}function N(Q){return Math.abs(Q[0]-m[0][0])<.01}function U(Q){return Math.abs(Q[0]-m[2][0])<.01}for(;u.length;){for(B=x.smoothopen(E.edgepaths[v],E.smoothing),b+=y?B:B.replace(/^M/,"L"),u.splice(u.indexOf(v),1),f=E.edgepaths[v][E.edgepaths[v].length-1],z=-1,L=0;L<4;L++){if(!f){g.log("Missing end?",v,E);break}for(O(f)&&!U(f)?P=m[1]:N(f)?P=m[0]:I(f)?P=m[3]:U(f)&&(P=m[2]),F=0;F=0&&(P=W,z=F):Math.abs(f[1]-P[1])<.01?Math.abs(f[1]-W[1])<.01&&(W[0]-f[0])*(P[0]-W[0])>=0&&(P=W,z=F):g.log("endpt to newendpt is not vert. or horz.",f,P,W)}if(f=P,z>=0)break;b+="L"+P}if(z===E.edgepaths.length){g.log("unclosed perimeter path");break}v=z,y=u.indexOf(v)===-1,y&&(v=u[0],b+="Z")}for(v=0;vh.MAXCOST*2)break;O&&(P/=2),f=z-P/2,L=f+P*1.5}if(B<=h.MAXCOST)return F};function _(E,m,b,v){var u=m.width/2,y=m.height/2,f=E.x,P=E.y,L=E.theta,z=Math.cos(L)*u,F=Math.sin(L)*u,B=(f>v.center?v.right-f:f-v.left)/(z+Math.abs(Math.sin(L)*y)),O=(P>v.middle?v.bottom-P:P-v.top)/(Math.abs(F)+Math.cos(L)*y);if(B<1||O<1)return 1/0;var I=h.EDGECOST*(1/(B-1)+1/(O-1));I+=h.ANGLECOST*L*L;for(var N=f-z,U=P-F,W=f+z,Q=P+F,le=0;le=w)&&(r<=_&&(r=_),o>=w&&(o=w),i=Math.floor((o-r)/n)+1,a=0),l=0;l_&&(p.unshift(_),d.unshift(d[0])),p[p.length-1]2?s.value=s.value.slice(2):s.length===0?s.value=[0,1]:s.length<2?(c=parseFloat(s.value[0]),s.value=[c,c+1]):s.value=[parseFloat(s.value[0]),parseFloat(s.value[1])]:g(s.value)&&(c=parseFloat(s.value),s.value=[c,c+1])):(a("contours.value",0),g(s.value)||(r(s.value)?s.value=parseFloat(s.value[0]):s.value=0))}}}),nk=ke({"src/traces/contour/defaults.js"(Z,H){"use strict";var g=un(),x=B_(),A=hv(),S=l3(),e=$_(),t=Q_(),r=d0(),o=v0();H.exports=function(i,a,s,c){function h(l,_){return g.coerce(i,a,o,l,_)}function p(l){return g.coerce2(i,a,o,l)}var d=x(i,a,h,c);if(!d){a.visible=!1;return}A(i,a,c,h),h("xhoverformat"),h("yhoverformat"),h("text"),h("hovertext"),h("hoverongaps"),h("hovertemplate");var T=h("contours.type")==="constraint";h("connectgaps",g.isArray1D(a.z)),T?S(i,a,h,c,s):(e(i,a,h,p),t(i,a,h,c)),a.contours&&a.contours.coloring==="heatmap"&&r(h,c),h("zorder")}}}),ik=ke({"src/traces/contour/index.js"(Z,H){"use strict";H.exports={attributes:v0(),supplyDefaults:nk(),calc:e3(),plot:ex().plot,style:tx(),colorbar:rx(),hoverPoints:s3(),moduleType:"trace",name:"contour",basePlotModule:xf(),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{}}}}),ak=ke({"lib/contour.js"(Z,H){"use strict";H.exports=ik()}}),u3=ke({"src/traces/scatterternary/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Cc(),e=Ol(),t=ou(),r=xh().dash,o=To().extendFlat,n=S.marker,i=S.line,a=n.line;H.exports={a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},c:{valType:"data_array",editType:"calc"},sum:{valType:"number",dflt:0,min:0,editType:"calc"},mode:o({},S.mode,{dflt:"markers"}),text:o({},S.text,{}),texttemplate:x({editType:"plot"},{keys:["a","b","c","text"]}),hovertext:o({},S.hovertext,{}),line:{color:i.color,width:i.width,dash:r,backoff:i.backoff,shape:o({},i.shape,{values:["linear","spline"]}),smoothing:i.smoothing,editType:"calc"},connectgaps:S.connectgaps,cliponaxis:S.cliponaxis,fill:o({},S.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:A(),marker:o({symbol:n.symbol,opacity:n.opacity,angle:n.angle,angleref:n.angleref,standoff:n.standoff,maxdisplayed:n.maxdisplayed,size:n.size,sizeref:n.sizeref,sizemin:n.sizemin,sizemode:n.sizemode,line:o({width:a.width,editType:"calc"},t("marker.line")),gradient:n.gradient,editType:"calc"},t("marker")),textfont:S.textfont,textposition:S.textposition,selected:S.selected,unselected:S.unselected,hoverinfo:o({},e.hoverinfo,{flags:["a","b","c","text","name"]}),hoveron:S.hoveron,hovertemplate:g()}}}),ok=ke({"src/traces/scatterternary/defaults.js"(Z,H){"use strict";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=u3();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}var d=p("a"),T=p("b"),l=p("c"),_;if(d?(_=d.length,T?(_=Math.min(_,T.length),l&&(_=Math.min(_,l.length))):l?_=Math.min(_,l.length):_=0):T&&l&&(_=Math.min(T.length,l.length)),!_){s.visible=!1;return}s._length=_,p("sum"),p("text"),p("hovertext"),s.hoveron!=="fills"&&p("hovertemplate");var w=_"),o.hovertemplate=h.hovertemplate,r}}}),fk=ke({"src/traces/scatterternary/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){if(A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),e[t]){var r=e[t];x.a=r.a,x.b=r.b,x.c=r.c}else x.a=A.a,x.b=A.b,x.c=A.c;return x}}}),hk=ke({"src/plots/ternary/ternary.js"(Z,H){"use strict";var g=_i(),x=ru(),A=lo(),S=un(),e=S.strTranslate,t=S._,r=eo(),o=$o(),n=Cv(),i=To().extendFlat,a=Zu(),s=Ho(),c=Xh(),h=Ec(),p=cv(),d=p.freeMode,T=p.rectMode,l=Im(),_=tf().prepSelect,w=tf().selectOnClick,M=tf().clearOutline,E=tf().clearSelectionsCache,m=oh();function b(I,N){this.id=I.id,this.graphDiv=I.graphDiv,this.init(N),this.makeFramework(N),this.updateFx(N),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}H.exports=b;var v=b.prototype;v.init=function(I){this.container=I._ternarylayer,this.defs=I._defs,this.layoutId=I._uid,this.traceHash={},this.layers={}},v.plot=function(I,N){var U=this,W=N[U.id],Q=N._size;U._hasClipOnAxisFalse=!1;for(var le=0;leu*$?(ce=$,ie=ce*u):(ie=G,ce=ie/u),xe=se*ie/G,Te=fe*ce/$,j=N.l+N.w*Q-ie/2,ee=N.t+N.h*(1-le)-ce/2,U.x0=j,U.y0=ee,U.w=ie,U.h=ce,U.sum=J,U.xaxis={type:"linear",range:[X+2*ae-J,J-X-2*re],domain:[Q-xe/2,Q+xe/2],_id:"x"},n(U.xaxis,U.graphDiv._fullLayout),U.xaxis.setScale(),U.xaxis.isPtWithinRange=function(Oe){return Oe.a>=U.aaxis.range[0]&&Oe.a<=U.aaxis.range[1]&&Oe.b>=U.baxis.range[1]&&Oe.b<=U.baxis.range[0]&&Oe.c>=U.caxis.range[1]&&Oe.c<=U.caxis.range[0]},U.yaxis={type:"linear",range:[X,J-re-ae],domain:[le-Te/2,le+Te/2],_id:"y"},n(U.yaxis,U.graphDiv._fullLayout),U.yaxis.setScale(),U.yaxis.isPtWithinRange=function(){return!0};var Ue=U.yaxis.domain[0],Ie=U.aaxis=i({},I.aaxis,{range:[X,J-re-ae],side:"left",tickangle:(+I.aaxis.tickangle||0)-30,domain:[Ue,Ue+Te*u],anchor:"free",position:0,_id:"y",_length:ie});n(Ie,U.graphDiv._fullLayout),Ie.setScale();var Ye=U.baxis=i({},I.baxis,{range:[J-X-ae,re],side:"bottom",domain:U.xaxis.domain,anchor:"free",position:0,_id:"x",_length:ie});n(Ye,U.graphDiv._fullLayout),Ye.setScale();var it=U.caxis=i({},I.caxis,{range:[J-X-re,ae],side:"right",tickangle:(+I.caxis.tickangle||0)+30,domain:[Ue,Ue+Te*u],anchor:"free",position:0,_id:"y",_length:ie});n(it,U.graphDiv._fullLayout),it.setScale();var at="M"+j+","+(ee+ce)+"h"+ie+"l-"+ie/2+",-"+ce+"Z";U.clipDef.select("path").attr("d",at),U.layers.plotbg.select("path").attr("d",at);var tt="M0,"+ce+"h"+ie+"l-"+ie/2+",-"+ce+"Z";U.clipDefRelative.select("path").attr("d",tt);var ut=e(j,ee);U.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ut),U.clipDefRelative.select("path").attr("transform",null);var Me=e(j-Ye._offset,ee+ce);U.layers.baxis.attr("transform",Me),U.layers.bgrid.attr("transform",Me);var pe=e(j+ie/2,ee)+"rotate(30)"+e(0,-Ie._offset);U.layers.aaxis.attr("transform",pe),U.layers.agrid.attr("transform",pe);var ue=e(j+ie/2,ee)+"rotate(-30)"+e(0,-it._offset);U.layers.caxis.attr("transform",ue),U.layers.cgrid.attr("transform",ue),U.drawAxes(!0),U.layers.aline.select("path").attr("d",Ie.showline?"M"+j+","+(ee+ce)+"l"+ie/2+",-"+ce:"M0,0").call(r.stroke,Ie.linecolor||"#000").style("stroke-width",(Ie.linewidth||0)+"px"),U.layers.bline.select("path").attr("d",Ye.showline?"M"+j+","+(ee+ce)+"h"+ie:"M0,0").call(r.stroke,Ye.linecolor||"#000").style("stroke-width",(Ye.linewidth||0)+"px"),U.layers.cline.select("path").attr("d",it.showline?"M"+(j+ie/2)+","+ee+"l"+ie/2+","+ce:"M0,0").call(r.stroke,it.linecolor||"#000").style("stroke-width",(it.linewidth||0)+"px"),U.graphDiv._context.staticPlot||U.initInteractions(),o.setClipUrl(U.layers.frontplot,U._hasClipOnAxisFalse?null:U.clipId,U.graphDiv)},v.drawAxes=function(I){var N=this,U=N.graphDiv,W=N.id.substr(7)+"title",Q=N.layers,le=N.aaxis,se=N.baxis,fe=N.caxis;if(N.drawAx(le),N.drawAx(se),N.drawAx(fe),I){var G=Math.max(le.showticklabels?le.tickfont.size/2:0,(fe.showticklabels?fe.tickfont.size*.75:0)+(fe.ticks==="outside"?fe.ticklen*.87:0)),$=(se.showticklabels?se.tickfont.size:0)+(se.ticks==="outside"?se.ticklen:0)+3;Q["a-title"]=l.draw(U,"a"+W,{propContainer:le,propName:N.id+".aaxis.title",placeholder:t(U,"Click to enter Component A title"),attributes:{x:N.x0+N.w/2,y:N.y0-le.title.font.size/3-G,"text-anchor":"middle"}}),Q["b-title"]=l.draw(U,"b"+W,{propContainer:se,propName:N.id+".baxis.title",placeholder:t(U,"Click to enter Component B title"),attributes:{x:N.x0-$,y:N.y0+N.h+se.title.font.size*.83+$,"text-anchor":"middle"}}),Q["c-title"]=l.draw(U,"c"+W,{propContainer:fe,propName:N.id+".caxis.title",placeholder:t(U,"Click to enter Component C title"),attributes:{x:N.x0+N.w+$,y:N.y0+N.h+fe.title.font.size*.83+$,"text-anchor":"middle"}})}},v.drawAx=function(I){var N=this,U=N.graphDiv,W=I._name,Q=W.charAt(0),le=I._id,se=N.layers[W],fe=30,G=Q+"tickLayout",$=y(I);N[G]!==$&&(se.selectAll("."+le+"tick").remove(),N[G]=$),I.setScale();var J=s.calcTicks(I),X=s.clipEnds(I,J),re=s.makeTransTickFn(I),ae=s.getTickSigns(I)[2],j=S.deg2rad(fe),ee=ae*(I.linewidth||1)/2,ie=ae*I.ticklen,ce=N.w,xe=N.h,Te=Q==="b"?"M0,"+ee+"l"+Math.sin(j)*ie+","+Math.cos(j)*ie:"M"+ee+",0l"+Math.cos(j)*ie+","+-Math.sin(j)*ie,Ue={a:"M0,0l"+xe+",-"+ce/2,b:"M0,0l-"+ce/2+",-"+xe,c:"M0,0l-"+xe+","+ce/2}[Q];s.drawTicks(U,I,{vals:I.ticks==="inside"?X:J,layer:se,path:Te,transFn:re,crisp:!1}),s.drawGrid(U,I,{vals:X,layer:N.layers[Q+"grid"],path:Ue,transFn:re,crisp:!1}),s.drawLabels(U,I,{vals:J,layer:se,transFn:re,labelFns:s.makeLabelFns(I,0,fe)})};function y(I){return I.ticks+String(I.ticklen)+String(I.showticklabels)}var f=m.MINZOOM/2+.87,P="m-0.87,.5h"+f+"v3h-"+(f+5.2)+"l"+(f/2+2.6)+",-"+(f*.87+4.5)+"l2.6,1.5l-"+f/2+","+f*.87+"Z",L="m0.87,.5h-"+f+"v3h"+(f+5.2)+"l-"+(f/2+2.6)+",-"+(f*.87+4.5)+"l-2.6,1.5l"+f/2+","+f*.87+"Z",z="m0,1l"+f/2+","+f*.87+"l2.6,-1.5l-"+(f/2+2.6)+",-"+(f*.87+4.5)+"l-"+(f/2+2.6)+","+(f*.87+4.5)+"l2.6,1.5l"+f/2+",-"+f*.87+"Z",F="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",B=!0;v.clearOutline=function(){E(this.dragOptions),M(this.dragOptions.gd)},v.initInteractions=function(){var I=this,N=I.layers.plotbg.select("path").node(),U=I.graphDiv,W=U._fullLayout._zoomlayer,Q,le;this.dragOptions={element:N,gd:U,plotinfo:{id:I.id,domain:U._fullLayout[I.id].domain,xaxis:I.xaxis,yaxis:I.yaxis},subplot:I.id,prepFn:function(Me,pe,ue){I.dragOptions.xaxes=[I.xaxis],I.dragOptions.yaxes=[I.yaxis],Q=U._fullLayout._invScaleX,le=U._fullLayout._invScaleY;var Oe=I.dragOptions.dragmode=U._fullLayout.dragmode;d(Oe)?I.dragOptions.minDrag=1:I.dragOptions.minDrag=void 0,Oe==="zoom"?(I.dragOptions.moveFn=Ye,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=it,xe(Me,pe,ue)):Oe==="pan"?(I.dragOptions.moveFn=tt,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=ut,at(),I.clearOutline(U)):(T(Oe)||d(Oe))&&_(Me,pe,ue,I.dragOptions,Oe)}};var se,fe,G,$,J,X,re,ae,j,ee;function ie(Me){var pe={};return pe[I.id+".aaxis.min"]=Me.a,pe[I.id+".baxis.min"]=Me.b,pe[I.id+".caxis.min"]=Me.c,pe}function ce(Me,pe){var ue=U._fullLayout.clickmode;O(U),Me===2&&(U.emit("plotly_doubleclick",null),A.call("_guiRelayout",U,ie({a:0,b:0,c:0}))),ue.indexOf("select")>-1&&Me===1&&w(pe,U,[I.xaxis],[I.yaxis],I.id,I.dragOptions),ue.indexOf("event")>-1&&h.click(U,pe,I.id)}function xe(Me,pe,ue){var Oe=N.getBoundingClientRect();se=pe-Oe.left,fe=ue-Oe.top,U._fullLayout._calcInverseTransform(U);var rt=U._fullLayout._invTransform,ot=S.apply3DTransform(rt)(se,fe);se=ot[0],fe=ot[1],G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G,$=I.aaxis.range[1]-G.a,X=x(I.graphDiv._fullLayout[I.id].bgcolor).getLuminance(),re="M0,"+I.h+"L"+I.w/2+", 0L"+I.w+","+I.h+"Z",ae=!1,j=W.append("path").attr("class","zoombox").attr("transform",e(I.x0,I.y0)).style({fill:X>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",re),ee=W.append("path").attr("class","zoombox-corners").attr("transform",e(I.x0,I.y0)).style({fill:r.background,stroke:r.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),I.clearOutline(U)}function Te(Me,pe){return 1-pe/I.h}function Ue(Me,pe){return 1-(Me+(I.h-pe)/Math.sqrt(3))/I.w}function Ie(Me,pe){return(Me-(I.h-pe)/Math.sqrt(3))/I.w}function Ye(Me,pe){var ue=se+Me*Q,Oe=fe+pe*le,rt=Math.max(0,Math.min(1,Te(se,fe),Te(ue,Oe))),ot=Math.max(0,Math.min(1,Ue(se,fe),Ue(ue,Oe))),et=Math.max(0,Math.min(1,Ie(se,fe),Ie(ue,Oe))),Lt=(rt/2+et)*I.w,Et=(1-rt/2-ot)*I.w,Bt=(Lt+Et)/2,qt=Et-Lt,fr=(1-rt)*I.h,ar=fr-qt/u;qt.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ee.transition().style("opacity",1).duration(200),ae=!0),U.emit("plotly_relayouting",ie(J))}function it(){O(U),J!==G&&(A.call("_guiRelayout",U,ie(J)),B&&U.data&&U._context.showTips&&(S.notifier(t(U,"Double-click to zoom back out"),"long"),B=!1))}function at(){G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G}function tt(Me,pe){var ue=Me/I.xaxis._m,Oe=pe/I.yaxis._m;J={a:G.a-Oe,b:G.b+(ue+Oe)/2,c:G.c-(ue-Oe)/2};var rt=[J.a,J.b,J.c].sort(S.sorterAsc),ot={a:rt.indexOf(J.a),b:rt.indexOf(J.b),c:rt.indexOf(J.c)};rt[0]<0&&(rt[1]+rt[0]/2<0?(rt[2]+=rt[0]+rt[1],rt[0]=rt[1]=0):(rt[2]+=rt[0]/2,rt[1]+=rt[0]/2,rt[0]=0),J={a:rt[ot.a],b:rt[ot.b],c:rt[ot.c]},pe=(G.a-J.a)*I.yaxis._m,Me=(G.c-J.c-G.b+J.b)*I.xaxis._m);var et=e(I.x0+Me,I.y0+pe);I.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",et);var Lt=e(-Me,-pe);I.clipDefRelative.select("path").attr("transform",Lt),I.aaxis.range=[J.a,I.sum-J.b-J.c],I.baxis.range=[I.sum-J.a-J.c,J.b],I.caxis.range=[I.sum-J.a-J.b,J.c],I.drawAxes(!1),I._hasClipOnAxisFalse&&I.plotContainer.select(".scatterlayer").selectAll(".trace").call(o.hideOutsideRangePoints,I),U.emit("plotly_relayouting",ie(J))}function ut(){A.call("_guiRelayout",U,ie(J))}N.onmousemove=function(Me){h.hover(U,Me,I.id),U._fullLayout._lasthover=N,U._fullLayout._hoversubplot=I.id},N.onmouseout=function(Me){U._dragging||c.unhover(U,Me)},c.init(this.dragOptions)};function O(I){g.select(I).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}}}),c3=ke({"src/plots/ternary/layout_attributes.js"(Z,H){"use strict";var g=If(),x=Yu().attributes,A=wh(),S=ju().overrideAll,e=To().extendFlat,t={title:{text:A.title.text,font:A.title.font},color:A.color,tickmode:A.minor.tickmode,nticks:e({},A.nticks,{dflt:6,min:1}),tick0:A.tick0,dtick:A.dtick,tickvals:A.tickvals,ticktext:A.ticktext,ticks:A.ticks,ticklen:A.ticklen,tickwidth:A.tickwidth,tickcolor:A.tickcolor,ticklabelstep:A.ticklabelstep,showticklabels:A.showticklabels,labelalias:A.labelalias,showtickprefix:A.showtickprefix,tickprefix:A.tickprefix,showticksuffix:A.showticksuffix,ticksuffix:A.ticksuffix,showexponent:A.showexponent,exponentformat:A.exponentformat,minexponent:A.minexponent,separatethousands:A.separatethousands,tickfont:A.tickfont,tickangle:A.tickangle,tickformat:A.tickformat,tickformatstops:A.tickformatstops,hoverformat:A.hoverformat,showline:e({},A.showline,{dflt:!0}),linecolor:A.linecolor,linewidth:A.linewidth,showgrid:e({},A.showgrid,{dflt:!0}),gridcolor:A.gridcolor,gridwidth:A.gridwidth,griddash:A.griddash,layer:A.layer,min:{valType:"number",dflt:0,min:0}},r=H.exports=S({domain:x({name:"ternary"}),bgcolor:{valType:"color",dflt:g.background},sum:{valType:"number",dflt:1,min:0},aaxis:t,baxis:t,caxis:t},"plot","from-root");r.uirevision={valType:"any",editType:"none"},r.aaxis.uirevision=r.baxis.uirevision=r.caxis.uirevision={valType:"any",editType:"none"}}}),Up=ke({"src/plots/subplot_defaults.js"(Z,H){"use strict";var g=un(),x=yl(),A=Yu().defaults;H.exports=function(e,t,r,o){var n=o.type,i=o.attributes,a=o.handleDefaults,s=o.partition||"x",c=t._subplots[n],h=c.length,p=h&&c[0].replace(/\d+$/,""),d,T;function l(E,m){return g.coerce(d,T,i,E,m)}for(var _=0;_=_&&(b.min=0,v.min=0,u.min=0,h.aaxis&&delete h.aaxis.min,h.baxis&&delete h.baxis.min,h.caxis&&delete h.caxis.min)}function c(h,p,d,T){var l=i[p._name];function _(y,f){return A.coerce(h,p,l,y,f)}_("uirevision",T.uirevision),p.type="linear";var w=_("color"),M=w!==l.color.dflt?w:d.font.color,E=p._name,m=E.charAt(0).toUpperCase(),b="Component "+m,v=_("title.text",b);p._hovertitle=v===b?v:m,A.coerceFont(_,"title.font",d.font,{overrideDflt:{size:A.bigFont(d.font.size),color:M}}),_("min"),o(h,p,_,"linear"),t(h,p,_,"linear"),e(h,p,_,"linear",{noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0}),r(h,p,_,{outerTicks:!0});var u=_("showticklabels");u&&(A.coerceFont(_,"tickfont",d.font,{overrideDflt:{color:M}}),_("tickangle"),_("tickformat")),n(h,p,_,{dfltColor:w,bgColor:d.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:l}),_("hoverformat"),_("layer")}}}),vk=ke({"src/plots/ternary/index.js"(Z){"use strict";var H=hk(),g=bh().getSubplotCalcData,x=un().counterRegex,A="ternary";Z.name=A;var S=Z.attr="subplot";Z.idRoot=A,Z.idRegex=Z.attrRegex=x(A);var e=Z.attributes={};e[S]={valType:"subplotid",dflt:"ternary",editType:"calc"},Z.layoutAttributes=c3(),Z.supplyLayoutDefaults=dk(),Z.plot=function(r){for(var o=r._fullLayout,n=r.calcdata,i=o._subplots[A],a=0;a0){var E=r.xa,m=r.ya,b,v,u,y,f;h.orientation==="h"?(f=o,b="y",u=m,v="x",y=E):(f=n,b="x",u=E,v="y",y=m);var P=c[r.index];if(f>=P.span[0]&&f<=P.span[1]){var L=x.extendFlat({},r),z=y.c2p(f,!0),F=e.getKdeValue(P,h,f),B=e.getPositionOnKdePath(P,h,z),O=u._offset,I=u._length;L[b+"0"]=B[0],L[b+"1"]=B[1],L[v+"0"]=L[v+"1"]=z,L[v+"Label"]=v+": "+A.hoverLabelText(y,f,h[v+"hoverformat"])+", "+c[0].t.labels.kde+" "+F.toFixed(3);for(var N=0,U=0;U path").each(function(d){if(!d.isBlank){var T=p.marker;g.select(this).call(A.fill,d.mc||T.color).call(A.stroke,d.mlc||T.line.color).call(x.dashLine,T.line.dash,d.mlw||T.line.width).style("opacity",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(".regions").each(function(){g.select(this).selectAll("path").style("stroke-width",0).call(A.fill,p.connector.fillcolor)}),h.selectAll(".lines").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll("path"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),Rk=ke({"src/traces/funnel/hover.js"(Z,H){"use strict";var g=eo().opacity,x=Qg().hoverOnBars,A=un().formatPercent;H.exports=function(t,r,o,n,i){var a=x(t,r,o,n,i);if(a){var s=a.cd,c=s[0].trace,h=c.orientation==="h",p=a.index,d=s[p],T=h?"x":"y";a[T+"LabelVal"]=d.s,a.percentInitial=d.begR,a.percentInitialLabel=A(d.begR,1),a.percentPrevious=d.difR,a.percentPreviousLabel=A(d.difR,1),a.percentTotal=d.sumR,a.percentTotalLabel=A(d.sumR,1);var l=d.hi||c.hoverinfo,_=[];if(l&&l!=="none"&&l!=="skip"){var w=l==="all",M=l.split("+"),E=function(m){return w||M.indexOf(m)!==-1};E("percent initial")&&_.push(a.percentInitialLabel+" of initial"),E("percent previous")&&_.push(a.percentPreviousLabel+" of previous"),E("percent total")&&_.push(a.percentTotalLabel+" of total")}return a.extraText=_.join("
"),a.color=S(c,d),[a]}};function S(e,t){var r=e.marker,o=t.mc||r.color,n=t.mlc||r.line.color,i=t.mlw||r.line.width;if(g(o))return o;if(g(n)&&i)return n}}}),Dk=ke({"src/traces/funnel/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,"percentInitial"in A&&(x.percentInitial=A.percentInitial),"percentPrevious"in A&&(x.percentPrevious=A.percentPrevious),"percentTotal"in A&&(x.percentTotal=A.percentTotal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),zk=ke({"src/traces/funnel/index.js"(Z,H){"use strict";H.exports={attributes:d3(),layoutAttributes:v3(),supplyDefaults:p3().supplyDefaults,crossTraceDefaults:p3().crossTraceDefaults,supplyLayoutDefaults:Ek(),calc:kk(),crossTraceCalc:Lk(),plot:Pk(),style:Ik().style,hoverPoints:Rk(),eventData:Dk(),selectPoints:ey(),moduleType:"trace",name:"funnel",basePlotModule:xf(),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}}}),Fk=ke({"lib/funnel.js"(Z,H){"use strict";H.exports=zk()}}),Ok=ke({"src/traces/waterfall/constants.js"(Z,H){"use strict";H.exports={eventDataKeys:["initial","delta","final"]}}}),m3=ke({"src/traces/waterfall/attributes.js"(Z,H){"use strict";var g=Pv(),x=Cc().line,A=Ol(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ok(),o=To().extendFlat,n=eo();function i(a){return{marker:{color:o({},g.marker.color,{arrayOk:!1,editType:"style"}),line:{color:o({},g.marker.line.color,{arrayOk:!1,editType:"style"}),width:o({},g.marker.line.width,{arrayOk:!1,editType:"style"}),editType:"style"},editType:"style"},editType:"style"}}H.exports={measure:{valType:"data_array",dflt:[],editType:"calc"},base:{valType:"number",dflt:null,arrayOk:!1,editType:"calc"},x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:g.xperiod0,yperiod0:g.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,xhoverformat:S("x"),yhoverformat:S("y"),hovertext:g.hovertext,hovertemplate:e({},{keys:r.eventDataKeys}),hoverinfo:o({},A.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:t({editType:"plot"},{keys:r.eventDataKeys.concat(["label"])}),text:g.text,textposition:g.textposition,insidetextanchor:g.insidetextanchor,textangle:g.textangle,textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:g.outsidetextfont,constraintext:g.constraintext,cliponaxis:g.cliponaxis,orientation:g.orientation,offset:g.offset,width:g.width,increasing:i("increasing"),decreasing:i("decreasing"),totals:i("intermediate sums and total"),connector:{line:{color:o({},x.color,{dflt:n.defaultLine}),width:o({},x.width,{editType:"plot"}),dash:x.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,zorder:g.zorder}}}),g3=ke({"src/traces/waterfall/layout_attributes.js"(Z,H){"use strict";H.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}}}),ry=ke({"src/constants/delta.js"(Z,H){"use strict";H.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"\u25B2"},DECREASING:{COLOR:"#FF4136",SYMBOL:"\u25BC"}}}}),y3=ke({"src/traces/waterfall/defaults.js"(Z,H){"use strict";var g=un(),x=zm(),A=Od().handleText,S=Xg(),e=hv(),t=m3(),r=eo(),o=ry(),n=o.INCREASING.COLOR,i=o.DECREASING.COLOR,a="#4499FF";function s(p,d,T){p(d+".marker.color",T),p(d+".marker.line.color",r.defaultLine),p(d+".marker.line.width")}function c(p,d,T,l){function _(b,v){return g.coerce(p,d,t,b,v)}var w=S(p,d,l,_);if(!w){d.visible=!1;return}e(p,d,l,_),_("xhoverformat"),_("yhoverformat"),_("measure"),_("orientation",d.x&&!d.y?"h":"v"),_("base"),_("offset"),_("width"),_("text"),_("hovertext"),_("hovertemplate");var M=_("textposition");A(p,d,l,_,M,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),d.textposition!=="none"&&(_("texttemplate"),d.texttemplate||_("textinfo")),s(_,"increasing",n),s(_,"decreasing",i),s(_,"totals",a);var E=_("connector.visible");if(E){_("connector.mode");var m=_("connector.line.width");m&&(_("connector.line.color"),_("connector.line.dash"))}_("zorder")}function h(p,d){var T,l;function _(M){return g.coerce(l._input,l,t,M)}if(d.waterfallmode==="group")for(var w=0;w0&&(_?f+="M"+u[0]+","+y[1]+"V"+y[0]:f+="M"+u[1]+","+y[0]+"H"+u[0]),w!=="between"&&(m.isSum||b path").each(function(d){if(!d.isBlank){var T=p[d.dir].marker;g.select(this).call(A.fill,T.color).call(A.stroke,T.line.color).call(x.dashLine,T.line.dash,T.line.width).style("opacity",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(".lines").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll("path"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),qk=ke({"src/traces/waterfall/hover.js"(Z,H){"use strict";var g=Ho().hoverLabelText,x=eo().opacity,A=Qg().hoverOnBars,S=ry(),e={increasing:S.INCREASING.SYMBOL,decreasing:S.DECREASING.SYMBOL};H.exports=function(o,n,i,a,s){var c=A(o,n,i,a,s);if(!c)return;var h=c.cd,p=h[0].trace,d=p.orientation==="h",T=d?"x":"y",l=d?o.xa:o.ya;function _(P){return g(l,P,p[T+"hoverformat"])}var w=c.index,M=h[w],E=M.isSum?M.b+M.s:M.rawS;c.initial=M.b+M.s-E,c.delta=E,c.final=c.initial+c.delta;var m=_(Math.abs(c.delta));c.deltaLabel=E<0?"("+m+")":m,c.finalLabel=_(c.final),c.initialLabel=_(c.initial);var b=M.hi||p.hoverinfo,v=[];if(b&&b!=="none"&&b!=="skip"){var u=b==="all",y=b.split("+"),f=function(P){return u||y.indexOf(P)!==-1};M.isSum||(f("final")&&(d?!f("x"):!f("y"))&&v.push(c.finalLabel),f("delta")&&(E<0?v.push(c.deltaLabel+" "+e.decreasing):v.push(c.deltaLabel+" "+e.increasing)),f("initial")&&v.push("Initial: "+c.initialLabel))}return v.length&&(c.extraText=v.join("
")),c.color=t(p,M),[c]};function t(r,o){var n=r[o.dir].marker,i=n.color,a=n.line.color,s=n.line.width;if(x(i))return i;if(x(a)&&s)return a}}}),Hk=ke({"src/traces/waterfall/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.x="xVal"in A?A.xVal:A.x,x.y="yVal"in A?A.yVal:A.y,"initial"in A&&(x.initial=A.initial),"delta"in A&&(x.delta=A.delta),"final"in A&&(x.final=A.final),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),Gk=ke({"src/traces/waterfall/index.js"(Z,H){"use strict";H.exports={attributes:m3(),layoutAttributes:g3(),supplyDefaults:y3().supplyDefaults,crossTraceDefaults:y3().crossTraceDefaults,supplyLayoutDefaults:Bk(),calc:Nk(),crossTraceCalc:Uk(),plot:jk(),style:Vk().style,hoverPoints:qk(),eventData:Hk(),selectPoints:ey(),moduleType:"trace",name:"waterfall",basePlotModule:xf(),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}}}),Wk=ke({"lib/waterfall.js"(Z,H){"use strict";H.exports=Gk()}}),ny=ke({"src/traces/image/constants.js"(Z,H){"use strict";H.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(g){return g.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(g){var x=g.slice(0,3);return x[1]=x[1]+"%",x[2]=x[2]+"%",x},suffix:["\xB0","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(g){var x=g.slice(0,4);return x[1]=x[1]+"%",x[2]=x[2]+"%",x},suffix:["\xB0","%","%",""]}}}}}),_3=ke({"src/traces/image/attributes.js"(Z,H){"use strict";var g=Ol(),x=Cc().zorder,A=Rs().hovertemplateAttrs,S=To().extendFlat,e=ny().colormodel,t=["rgb","rgba","rgba256","hsl","hsla"],r=[],o=[];for(i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");p===-1&&(p=h);var d=p===h?0:4-p%4;return[p,d]}function r(c){var h=t(c),p=h[0],d=h[1];return(p+d)*3/4-d}function o(c,h,p){return(h+p)*3/4-p}function n(c){var h,p=t(c),d=p[0],T=p[1],l=new x(o(c,d,T)),_=0,w=T>0?d-4:d,M;for(M=0;M>16&255,l[_++]=h>>8&255,l[_++]=h&255;return T===2&&(h=g[c.charCodeAt(M)]<<2|g[c.charCodeAt(M+1)]>>4,l[_++]=h&255),T===1&&(h=g[c.charCodeAt(M)]<<10|g[c.charCodeAt(M+1)]<<4|g[c.charCodeAt(M+2)]>>2,l[_++]=h>>8&255,l[_++]=h&255),l}function i(c){return H[c>>18&63]+H[c>>12&63]+H[c>>6&63]+H[c&63]}function a(c,h,p){for(var d,T=[],l=h;lw?w:_+l));return d===1?(h=c[p-1],T.push(H[h>>2]+H[h<<4&63]+"==")):d===2&&(h=(c[p-2]<<8)+c[p-1],T.push(H[h>>10]+H[h>>4&63]+H[h<<2&63]+"=")),T.join("")}}}),Yk=ke({"node_modules/ieee754/index.js"(Z){Z.read=function(H,g,x,A,S){var e,t,r=S*8-A-1,o=(1<>1,i=-7,a=x?S-1:0,s=x?-1:1,c=H[g+a];for(a+=s,e=c&(1<<-i)-1,c>>=-i,i+=r;i>0;e=e*256+H[g+a],a+=s,i-=8);for(t=e&(1<<-i)-1,e>>=-i,i+=A;i>0;t=t*256+H[g+a],a+=s,i-=8);if(e===0)e=1-n;else{if(e===o)return t?NaN:(c?-1:1)*(1/0);t=t+Math.pow(2,A),e=e-n}return(c?-1:1)*t*Math.pow(2,e-A)},Z.write=function(H,g,x,A,S,e){var t,r,o,n=e*8-S-1,i=(1<>1,s=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=A?0:e-1,h=A?1:-1,p=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(r=isNaN(g)?1:0,t=i):(t=Math.floor(Math.log(g)/Math.LN2),g*(o=Math.pow(2,-t))<1&&(t--,o*=2),t+a>=1?g+=s/o:g+=s*Math.pow(2,1-a),g*o>=2&&(t++,o/=2),t+a>=i?(r=0,t=i):t+a>=1?(r=(g*o-1)*Math.pow(2,S),t=t+a):(r=g*Math.pow(2,a-1)*Math.pow(2,S),t=0));S>=8;H[x+c]=r&255,c+=h,r/=256,S-=8);for(t=t<0;H[x+c]=t&255,c+=h,t/=256,n-=8);H[x+c-h]|=p*128}}}),Nm=ke({"node_modules/buffer/index.js"(Z){"use strict";var H=Zk(),g=Yk(),x=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=t,Z.SlowBuffer=T,Z.INSPECT_MAX_BYTES=50;var A=2147483647;Z.kMaxLength=A,t.TYPED_ARRAY_SUPPORT=S(),!t.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function S(){try{let Me=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Me,pe),Me.foo()===42}catch{return!1}}Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}});function e(Me){if(Me>A)throw new RangeError('The value "'+Me+'" is invalid for option "size"');let pe=new Uint8Array(Me);return Object.setPrototypeOf(pe,t.prototype),pe}function t(Me,pe,ue){if(typeof Me=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return i(Me)}return r(Me,pe,ue)}t.poolSize=8192;function r(Me,pe,ue){if(typeof Me=="string")return a(Me,pe);if(ArrayBuffer.isView(Me))return c(Me);if(Me==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me);if(Ye(Me,ArrayBuffer)||Me&&Ye(Me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ye(Me,SharedArrayBuffer)||Me&&Ye(Me.buffer,SharedArrayBuffer)))return h(Me,pe,ue);if(typeof Me=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let Oe=Me.valueOf&&Me.valueOf();if(Oe!=null&&Oe!==Me)return t.from(Oe,pe,ue);let rt=p(Me);if(rt)return rt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Me[Symbol.toPrimitive]=="function")return t.from(Me[Symbol.toPrimitive]("string"),pe,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me)}t.from=function(Me,pe,ue){return r(Me,pe,ue)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array);function o(Me){if(typeof Me!="number")throw new TypeError('"size" argument must be of type number');if(Me<0)throw new RangeError('The value "'+Me+'" is invalid for option "size"')}function n(Me,pe,ue){return o(Me),Me<=0?e(Me):pe!==void 0?typeof ue=="string"?e(Me).fill(pe,ue):e(Me).fill(pe):e(Me)}t.alloc=function(Me,pe,ue){return n(Me,pe,ue)};function i(Me){return o(Me),e(Me<0?0:d(Me)|0)}t.allocUnsafe=function(Me){return i(Me)},t.allocUnsafeSlow=function(Me){return i(Me)};function a(Me,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!t.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);let ue=l(Me,pe)|0,Oe=e(ue),rt=Oe.write(Me,pe);return rt!==ue&&(Oe=Oe.slice(0,rt)),Oe}function s(Me){let pe=Me.length<0?0:d(Me.length)|0,ue=e(pe);for(let Oe=0;Oe=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return Me|0}function T(Me){return+Me!=Me&&(Me=0),t.alloc(+Me)}t.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==t.prototype},t.compare=function(pe,ue){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),Ye(ue,Uint8Array)&&(ue=t.from(ue,ue.offset,ue.byteLength)),!t.isBuffer(pe)||!t.isBuffer(ue))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===ue)return 0;let Oe=pe.length,rt=ue.length;for(let ot=0,et=Math.min(Oe,rt);otrt.length?(t.isBuffer(et)||(et=t.from(et)),et.copy(rt,ot)):Uint8Array.prototype.set.call(rt,et,ot);else if(t.isBuffer(et))et.copy(rt,ot);else throw new TypeError('"list" argument must be an Array of Buffers');ot+=et.length}return rt};function l(Me,pe){if(t.isBuffer(Me))return Me.length;if(ArrayBuffer.isView(Me)||Ye(Me,ArrayBuffer))return Me.byteLength;if(typeof Me!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Me);let ue=Me.length,Oe=arguments.length>2&&arguments[2]===!0;if(!Oe&&ue===0)return 0;let rt=!1;for(;;)switch(pe){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return ce(Me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue*2;case"hex":return ue>>>1;case"base64":return Ue(Me).length;default:if(rt)return Oe?-1:ce(Me).length;pe=(""+pe).toLowerCase(),rt=!0}}t.byteLength=l;function _(Me,pe,ue){let Oe=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,pe>>>=0,ue<=pe))return"";for(Me||(Me="utf8");;)switch(Me){case"hex":return O(this,pe,ue);case"utf8":case"utf-8":return P(this,pe,ue);case"ascii":return F(this,pe,ue);case"latin1":case"binary":return B(this,pe,ue);case"base64":return f(this,pe,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,pe,ue);default:if(Oe)throw new TypeError("Unknown encoding: "+Me);Me=(Me+"").toLowerCase(),Oe=!0}}t.prototype._isBuffer=!0;function w(Me,pe,ue){let Oe=Me[pe];Me[pe]=Me[ue],Me[ue]=Oe}t.prototype.swap16=function(){let pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ue=0;ueue&&(pe+=" ... "),""},x&&(t.prototype[x]=t.prototype.inspect),t.prototype.compare=function(pe,ue,Oe,rt,ot){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),!t.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ue===void 0&&(ue=0),Oe===void 0&&(Oe=pe?pe.length:0),rt===void 0&&(rt=0),ot===void 0&&(ot=this.length),ue<0||Oe>pe.length||rt<0||ot>this.length)throw new RangeError("out of range index");if(rt>=ot&&ue>=Oe)return 0;if(rt>=ot)return-1;if(ue>=Oe)return 1;if(ue>>>=0,Oe>>>=0,rt>>>=0,ot>>>=0,this===pe)return 0;let et=ot-rt,Lt=Oe-ue,Et=Math.min(et,Lt),Bt=this.slice(rt,ot),qt=pe.slice(ue,Oe);for(let fr=0;fr2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,it(ue)&&(ue=rt?0:Me.length-1),ue<0&&(ue=Me.length+ue),ue>=Me.length){if(rt)return-1;ue=Me.length-1}else if(ue<0)if(rt)ue=0;else return-1;if(typeof pe=="string"&&(pe=t.from(pe,Oe)),t.isBuffer(pe))return pe.length===0?-1:E(Me,pe,ue,Oe,rt);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(Me,pe,ue):Uint8Array.prototype.lastIndexOf.call(Me,pe,ue):E(Me,[pe],ue,Oe,rt);throw new TypeError("val must be string, number or Buffer")}function E(Me,pe,ue,Oe,rt){let ot=1,et=Me.length,Lt=pe.length;if(Oe!==void 0&&(Oe=String(Oe).toLowerCase(),Oe==="ucs2"||Oe==="ucs-2"||Oe==="utf16le"||Oe==="utf-16le")){if(Me.length<2||pe.length<2)return-1;ot=2,et/=2,Lt/=2,ue/=2}function Et(qt,fr){return ot===1?qt[fr]:qt.readUInt16BE(fr*ot)}let Bt;if(rt){let qt=-1;for(Bt=ue;Btet&&(ue=et-Lt),Bt=ue;Bt>=0;Bt--){let qt=!0;for(let fr=0;frrt&&(Oe=rt)):Oe=rt;let ot=pe.length;Oe>ot/2&&(Oe=ot/2);let et;for(et=0;et>>0,isFinite(Oe)?(Oe=Oe>>>0,rt===void 0&&(rt="utf8")):(rt=Oe,Oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let ot=this.length-ue;if((Oe===void 0||Oe>ot)&&(Oe=ot),pe.length>0&&(Oe<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");let et=!1;for(;;)switch(rt){case"hex":return m(this,pe,ue,Oe);case"utf8":case"utf-8":return b(this,pe,ue,Oe);case"ascii":case"latin1":case"binary":return v(this,pe,ue,Oe);case"base64":return u(this,pe,ue,Oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,pe,ue,Oe);default:if(et)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),et=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function f(Me,pe,ue){return pe===0&&ue===Me.length?H.fromByteArray(Me):H.fromByteArray(Me.slice(pe,ue))}function P(Me,pe,ue){ue=Math.min(Me.length,ue);let Oe=[],rt=pe;for(;rt239?4:ot>223?3:ot>191?2:1;if(rt+Lt<=ue){let Et,Bt,qt,fr;switch(Lt){case 1:ot<128&&(et=ot);break;case 2:Et=Me[rt+1],(Et&192)===128&&(fr=(ot&31)<<6|Et&63,fr>127&&(et=fr));break;case 3:Et=Me[rt+1],Bt=Me[rt+2],(Et&192)===128&&(Bt&192)===128&&(fr=(ot&15)<<12|(Et&63)<<6|Bt&63,fr>2047&&(fr<55296||fr>57343)&&(et=fr));break;case 4:Et=Me[rt+1],Bt=Me[rt+2],qt=Me[rt+3],(Et&192)===128&&(Bt&192)===128&&(qt&192)===128&&(fr=(ot&15)<<18|(Et&63)<<12|(Bt&63)<<6|qt&63,fr>65535&&fr<1114112&&(et=fr))}}et===null?(et=65533,Lt=1):et>65535&&(et-=65536,Oe.push(et>>>10&1023|55296),et=56320|et&1023),Oe.push(et),rt+=Lt}return z(Oe)}var L=4096;function z(Me){let pe=Me.length;if(pe<=L)return String.fromCharCode.apply(String,Me);let ue="",Oe=0;for(;OeOe)&&(ue=Oe);let rt="";for(let ot=pe;otOe&&(pe=Oe),ue<0?(ue+=Oe,ue<0&&(ue=0)):ue>Oe&&(ue=Oe),ueue)throw new RangeError("Trying to access beyond buffer length")}t.prototype.readUintLE=t.prototype.readUIntLE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe+--ue],ot=1;for(;ue>0&&(ot*=256);)rt+=this[pe+--ue]*ot;return rt},t.prototype.readUint8=t.prototype.readUInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]},t.prototype.readUint16LE=t.prototype.readUInt16LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]|this[pe+1]<<8},t.prototype.readUint16BE=t.prototype.readUInt16BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]<<8|this[pe+1]},t.prototype.readUint32LE=t.prototype.readUInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},t.prototype.readUint32BE=t.prototype.readUInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},t.prototype.readBigUInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue+this[++pe]*2**8+this[++pe]*2**16+this[++pe]*2**24,ot=this[++pe]+this[++pe]*2**8+this[++pe]*2**16+Oe*2**24;return BigInt(rt)+(BigInt(ot)<>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue*2**24+this[++pe]*2**16+this[++pe]*2**8+this[++pe],ot=this[++pe]*2**24+this[++pe]*2**16+this[++pe]*2**8+Oe;return(BigInt(rt)<>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et=ot&&(rt-=Math.pow(2,8*ue)),rt},t.prototype.readIntBE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=ue,ot=1,et=this[pe+--rt];for(;rt>0&&(ot*=256);)et+=this[pe+--rt]*ot;return ot*=128,et>=ot&&(et-=Math.pow(2,8*ue)),et},t.prototype.readInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},t.prototype.readInt16LE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe]|this[pe+1]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt16BE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe+1]|this[pe]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},t.prototype.readInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},t.prototype.readBigInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=this[pe+4]+this[pe+5]*2**8+this[pe+6]*2**16+(Oe<<24);return(BigInt(rt)<>>0,ae(pe,"offset");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=(ue<<24)+this[++pe]*2**16+this[++pe]*2**8+this[++pe];return(BigInt(rt)<>>0,ue||N(pe,4,this.length),g.read(this,pe,!0,23,4)},t.prototype.readFloatBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),g.read(this,pe,!1,23,4)},t.prototype.readDoubleLE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!0,52,8)},t.prototype.readDoubleBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!1,52,8)};function U(Me,pe,ue,Oe,rt,ot){if(!t.isBuffer(Me))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>rt||peMe.length)throw new RangeError("Index out of range")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=1,et=0;for(this[ue]=pe&255;++et>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=Oe-1,et=1;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)this[ue+ot]=pe/et&255;return ue+Oe},t.prototype.writeUint8=t.prototype.writeUInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,255,0),this[ue]=pe&255,ue+1},t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue+3]=pe>>>24,this[ue+2]=pe>>>16,this[ue+1]=pe>>>8,this[ue]=pe&255,ue+4},t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4};function W(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,ue}function Q(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue+7]=ot,ot=ot>>8,Me[ue+6]=ot,ot=ot>>8,Me[ue+5]=ot,ot=ot>>8,Me[ue+4]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue+3]=et,et=et>>8,Me[ue+2]=et,et=et>>8,Me[ue+1]=et,et=et>>8,Me[ue]=et,ue+8}t.prototype.writeBigUInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,BigInt(0),BigInt("0xffffffffffffffff"))}),t.prototype.writeBigUInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,BigInt(0),BigInt("0xffffffffffffffff"))}),t.prototype.writeIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=0,et=1,Lt=0;for(this[ue]=pe&255;++ot>0)-Lt&255;return ue+Oe},t.prototype.writeIntBE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=Oe-1,et=1,Lt=0;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)pe<0&&Lt===0&&this[ue+ot+1]!==0&&(Lt=1),this[ue+ot]=(pe/et>>0)-Lt&255;return ue+Oe},t.prototype.writeInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,127,-128),pe<0&&(pe=255+pe+1),this[ue]=pe&255,ue+1},t.prototype.writeInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),this[ue]=pe&255,this[ue+1]=pe>>>8,this[ue+2]=pe>>>16,this[ue+3]=pe>>>24,ue+4},t.prototype.writeInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4},t.prototype.writeBigInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),t.prototype.writeBigInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function le(Me,pe,ue,Oe,rt,ot){if(ue+Oe>Me.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function se(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,4,34028234663852886e22,-34028234663852886e22),g.write(Me,pe,ue,Oe,23,4),ue+4}t.prototype.writeFloatLE=function(pe,ue,Oe){return se(this,pe,ue,!0,Oe)},t.prototype.writeFloatBE=function(pe,ue,Oe){return se(this,pe,ue,!1,Oe)};function fe(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,8,17976931348623157e292,-17976931348623157e292),g.write(Me,pe,ue,Oe,52,8),ue+8}t.prototype.writeDoubleLE=function(pe,ue,Oe){return fe(this,pe,ue,!0,Oe)},t.prototype.writeDoubleBE=function(pe,ue,Oe){return fe(this,pe,ue,!1,Oe)},t.prototype.copy=function(pe,ue,Oe,rt){if(!t.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(Oe||(Oe=0),!rt&&rt!==0&&(rt=this.length),ue>=pe.length&&(ue=pe.length),ue||(ue=0),rt>0&&rt=this.length)throw new RangeError("Index out of range");if(rt<0)throw new RangeError("sourceEnd out of bounds");rt>this.length&&(rt=this.length),pe.length-ue>>0,Oe=Oe===void 0?this.length:Oe>>>0,pe||(pe=0);let ot;if(typeof pe=="number")for(ot=ue;ot2**32?rt=J(String(ue)):typeof ue=="bigint"&&(rt=String(ue),(ue>BigInt(2)**BigInt(32)||ue<-(BigInt(2)**BigInt(32)))&&(rt=J(rt)),rt+="n"),Oe+=` It must be ${pe}. Received ${rt}`,Oe},RangeError);function J(Me){let pe="",ue=Me.length,Oe=Me[0]==="-"?1:0;for(;ue>=Oe+4;ue-=3)pe=`_${Me.slice(ue-3,ue)}${pe}`;return`${Me.slice(0,ue)}${pe}`}function X(Me,pe,ue){ae(pe,"offset"),(Me[pe]===void 0||Me[pe+ue]===void 0)&&j(pe,Me.length-(ue+1))}function re(Me,pe,ue,Oe,rt,ot){if(Me>ue||Me3?pe===0||pe===BigInt(0)?Lt=`>= 0${et} and < 2${et} ** ${(ot+1)*8}${et}`:Lt=`>= -(2${et} ** ${(ot+1)*8-1}${et}) and < 2 ** ${(ot+1)*8-1}${et}`:Lt=`>= ${pe}${et} and <= ${ue}${et}`,new G.ERR_OUT_OF_RANGE("value",Lt,Me)}X(Oe,rt,ot)}function ae(Me,pe){if(typeof Me!="number")throw new G.ERR_INVALID_ARG_TYPE(pe,"number",Me)}function j(Me,pe,ue){throw Math.floor(Me)!==Me?(ae(Me,ue),new G.ERR_OUT_OF_RANGE(ue||"offset","an integer",Me)):pe<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE(ue||"offset",`>= ${ue?1:0} and <= ${pe}`,Me)}var ee=/[^+/0-9A-Za-z-_]/g;function ie(Me){if(Me=Me.split("=")[0],Me=Me.trim().replace(ee,""),Me.length<2)return"";for(;Me.length%4!==0;)Me=Me+"=";return Me}function ce(Me,pe){pe=pe||1/0;let ue,Oe=Me.length,rt=null,ot=[];for(let et=0;et55295&&ue<57344){if(!rt){if(ue>56319){(pe-=3)>-1&&ot.push(239,191,189);continue}else if(et+1===Oe){(pe-=3)>-1&&ot.push(239,191,189);continue}rt=ue;continue}if(ue<56320){(pe-=3)>-1&&ot.push(239,191,189),rt=ue;continue}ue=(rt-55296<<10|ue-56320)+65536}else rt&&(pe-=3)>-1&&ot.push(239,191,189);if(rt=null,ue<128){if((pe-=1)<0)break;ot.push(ue)}else if(ue<2048){if((pe-=2)<0)break;ot.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((pe-=3)<0)break;ot.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((pe-=4)<0)break;ot.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error("Invalid code point")}return ot}function xe(Me){let pe=[];for(let ue=0;ue>8,rt=ue%256,ot.push(rt),ot.push(Oe);return ot}function Ue(Me){return H.toByteArray(ie(Me))}function Ie(Me,pe,ue,Oe){let rt;for(rt=0;rt=pe.length||rt>=Me.length);++rt)pe[rt+ue]=Me[rt];return rt}function Ye(Me,pe){return Me instanceof pe||Me!=null&&Me.constructor!=null&&Me.constructor.name!=null&&Me.constructor.name===pe.name}function it(Me){return Me!==Me}var at=function(){let Me="0123456789abcdef",pe=new Array(256);for(let ue=0;ue<16;++ue){let Oe=ue*16;for(let rt=0;rt<16;++rt)pe[Oe+rt]=Me[ue]+Me[rt]}return pe}();function tt(Me){return typeof BigInt>"u"?ut:Me}function ut(){throw new Error("BigInt not supported")}}}),ix=ke({"node_modules/has-symbols/shams.js"(Z,H){"use strict";H.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var x={},A=Symbol("test"),S=Object(A);if(typeof A=="string"||Object.prototype.toString.call(A)!=="[object Symbol]"||Object.prototype.toString.call(S)!=="[object Symbol]")return!1;var e=42;x[A]=e;for(A in x)return!1;if(typeof Object.keys=="function"&&Object.keys(x).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(x).length!==0)return!1;var t=Object.getOwnPropertySymbols(x);if(t.length!==1||t[0]!==A||!Object.prototype.propertyIsEnumerable.call(x,A))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var r=Object.getOwnPropertyDescriptor(x,A);if(r.value!==e||r.enumerable!==!0)return!1}return!0}}}),g0=ke({"node_modules/has-tostringtag/shams.js"(Z,H){"use strict";var g=ix();H.exports=function(){return g()&&!!Symbol.toStringTag}}}),Kk=ke({"node_modules/es-errors/index.js"(Z,H){"use strict";H.exports=Error}}),Jk=ke({"node_modules/es-errors/eval.js"(Z,H){"use strict";H.exports=EvalError}}),$k=ke({"node_modules/es-errors/range.js"(Z,H){"use strict";H.exports=RangeError}}),Qk=ke({"node_modules/es-errors/ref.js"(Z,H){"use strict";H.exports=ReferenceError}}),b3=ke({"node_modules/es-errors/syntax.js"(Z,H){"use strict";H.exports=SyntaxError}}),y0=ke({"node_modules/es-errors/type.js"(Z,H){"use strict";H.exports=TypeError}}),eL=ke({"node_modules/es-errors/uri.js"(Z,H){"use strict";H.exports=URIError}}),tL=ke({"node_modules/has-symbols/index.js"(Z,H){"use strict";var g=typeof Symbol<"u"&&Symbol,x=ix();H.exports=function(){return typeof g!="function"||typeof Symbol!="function"||typeof g("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:x()}}}),rL=ke({"node_modules/has-proto/index.js"(Z,H){"use strict";var g={foo:{}},x=Object;H.exports=function(){return{__proto__:g}.foo===g.foo&&!({__proto__:null}instanceof x)}}}),nL=ke({"node_modules/function-bind/implementation.js"(Z,H){"use strict";var g="Function.prototype.bind called on incompatible ",x=Object.prototype.toString,A=Math.max,S="[object Function]",e=function(n,i){for(var a=[],s=0;s"u"||!d?g:d(Uint8Array),_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":h&&d?d([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":x,"%eval%":eval,"%EvalError%":A,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":T,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&d?d(d([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!h||!d?g:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":S,"%ReferenceError%":e,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!h||!d?g:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&d?d(""[Symbol.iterator]()):g,"%Symbol%":h?Symbol:g,"%SyntaxError%":t,"%ThrowTypeError%":c,"%TypedArray%":l,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":o,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet};if(d)try{null.error}catch(O){w=d(d(O)),_["%Error.prototype%"]=w}var w,M=function O(I){var N;if(I==="%AsyncFunction%")N=i("async function () {}");else if(I==="%GeneratorFunction%")N=i("function* () {}");else if(I==="%AsyncGeneratorFunction%")N=i("async function* () {}");else if(I==="%AsyncGenerator%"){var U=O("%AsyncGeneratorFunction%");U&&(N=U.prototype)}else if(I==="%AsyncIteratorPrototype%"){var W=O("%AsyncGenerator%");W&&d&&(N=d(W.prototype))}return _[I]=N,N},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=ax(),b=iL(),v=m.call(Function.call,Array.prototype.concat),u=m.call(Function.apply,Array.prototype.splice),y=m.call(Function.call,String.prototype.replace),f=m.call(Function.call,String.prototype.slice),P=m.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,F=function(I){var N=f(I,0,1),U=f(I,-1);if(N==="%"&&U!=="%")throw new t("invalid intrinsic syntax, expected closing `%`");if(U==="%"&&N!=="%")throw new t("invalid intrinsic syntax, expected opening `%`");var W=[];return y(I,L,function(Q,le,se,fe){W[W.length]=se?y(fe,z,"$1"):le||Q}),W},B=function(I,N){var U=I,W;if(b(E,U)&&(W=E[U],U="%"+W[0]+"%"),b(_,U)){var Q=_[U];if(Q===T&&(Q=M(U)),typeof Q>"u"&&!N)throw new r("intrinsic "+I+" exists, but is not available. Please file an issue!");return{alias:W,name:U,value:Q}}throw new t("intrinsic "+I+" does not exist!")};H.exports=function(I,N){if(typeof I!="string"||I.length===0)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof N!="boolean")throw new r('"allowMissing" argument must be a boolean');if(P(/^%?[^%]*%?$/,I)===null)throw new t("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var U=F(I),W=U.length>0?U[0]:"",Q=B("%"+W+"%",N),le=Q.name,se=Q.value,fe=!1,G=Q.alias;G&&(W=G[0],u(U,v([0,1],G)));for(var $=1,J=!0;$=U.length){var j=a(se,X);J=!!j,J&&"get"in j&&!("originalValue"in j.get)?se=j.get:se=se[X]}else J=b(se,X),se=se[X];J&&!fe&&(_[le]=se)}}return se}}}),ox=ke({"node_modules/es-define-property/index.js"(Z,H){"use strict";var g=iy(),x=g("%Object.defineProperty%",!0)||!1;if(x)try{x({},"a",{value:1})}catch{x=!1}H.exports=x}}),_0=ke({"node_modules/gopd/index.js"(Z,H){"use strict";var g=iy(),x=g("%Object.getOwnPropertyDescriptor%",!0);if(x)try{x([],"length")}catch{x=null}H.exports=x}}),aL=ke({"node_modules/define-data-property/index.js"(Z,H){"use strict";var g=ox(),x=b3(),A=y0(),S=_0();H.exports=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new A("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new A("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new A("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new A("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new A("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new A("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!S&&S(t,r);if(g)g(t,r,{configurable:a===null&&c?c.configurable:!a,enumerable:n===null&&c?c.enumerable:!n,value:o,writable:i===null&&c?c.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new x("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}}),w3=ke({"node_modules/has-property-descriptors/index.js"(Z,H){"use strict";var g=ox(),x=function(){return!!g};x.hasArrayLengthDefineBug=function(){if(!g)return null;try{return g([],"length",{value:1}).length!==1}catch{return!0}},H.exports=x}}),oL=ke({"node_modules/set-function-length/index.js"(Z,H){"use strict";var g=iy(),x=aL(),A=w3()(),S=_0(),e=y0(),t=g("%Math.floor%");H.exports=function(o,n){if(typeof o!="function")throw new e("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||t(n)!==n)throw new e("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],a=!0,s=!0;if("length"in o&&S){var c=S(o,"length");c&&!c.configurable&&(a=!1),c&&!c.writable&&(s=!1)}return(a||s||!i)&&(A?x(o,"length",n,!0,!0):x(o,"length",n)),o}}}),x0=ke({"node_modules/call-bind/index.js"(Z,H){"use strict";var g=ax(),x=iy(),A=oL(),S=y0(),e=x("%Function.prototype.apply%"),t=x("%Function.prototype.call%"),r=x("%Reflect.apply%",!0)||g.call(t,e),o=ox(),n=x("%Math.max%");H.exports=function(s){if(typeof s!="function")throw new S("a function is required");var c=r(g,t,arguments);return A(c,1+n(0,s.length-(arguments.length-1)),!0)};var i=function(){return r(g,e,arguments)};o?o(H.exports,"apply",{value:i}):H.exports.apply=i}}),ay=ke({"node_modules/call-bind/callBound.js"(Z,H){"use strict";var g=iy(),x=x0(),A=x(g("String.prototype.indexOf"));H.exports=function(e,t){var r=g(e,!!t);return typeof r=="function"&&A(e,".prototype.")>-1?x(r):r}}}),sL=ke({"node_modules/is-arguments/index.js"(Z,H){"use strict";var g=g0()(),x=ay(),A=x("Object.prototype.toString"),S=function(o){return g&&o&&typeof o=="object"&&Symbol.toStringTag in o?!1:A(o)==="[object Arguments]"},e=function(o){return S(o)?!0:o!==null&&typeof o=="object"&&typeof o.length=="number"&&o.length>=0&&A(o)!=="[object Array]"&&A(o.callee)==="[object Function]"},t=function(){return S(arguments)}();S.isLegacyArguments=e,H.exports=t?S:e}}),lL=ke({"node_modules/is-generator-function/index.js"(Z,H){"use strict";var g=Object.prototype.toString,x=Function.prototype.toString,A=/^\s*(?:function)?\*/,S=g0()(),e=Object.getPrototypeOf,t=function(){if(!S)return!1;try{return Function("return function*() {}")()}catch{}},r;H.exports=function(n){if(typeof n!="function")return!1;if(A.test(x.call(n)))return!0;if(!S){var i=g.call(n);return i==="[object GeneratorFunction]"}if(!e)return!1;if(typeof r>"u"){var a=t();r=a?e(a):!1}return e(n)===r}}}),uL=ke({"node_modules/is-callable/index.js"(Z,H){"use strict";var g=Function.prototype.toString,x=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,A,S;if(typeof x=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw S}}),S={},x(function(){throw 42},null,A)}catch(_){_!==S&&(x=null)}else x=null;var e=/^\s*class\b/,t=function(w){try{var M=g.call(w);return e.test(M)}catch{return!1}},r=function(w){try{return t(w)?!1:(g.call(w),!0)}catch{return!1}},o=Object.prototype.toString,n="[object Object]",i="[object Function]",a="[object GeneratorFunction]",s="[object HTMLAllCollection]",c="[object HTML document.all class]",h="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,d=!(0 in[,]),T=function(){return!1};typeof document=="object"&&(l=document.all,o.call(l)===o.call(document.all)&&(T=function(w){if((d||!w)&&(typeof w>"u"||typeof w=="object"))try{var M=o.call(w);return(M===s||M===c||M===h||M===n)&&w("")==null}catch{}return!1}));var l;H.exports=x?function(w){if(T(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;try{x(w,null,A)}catch(M){if(M!==S)return!1}return!t(w)&&r(w)}:function(w){if(T(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;if(p)return r(w);if(t(w))return!1;var M=o.call(w);return M!==i&&M!==a&&!/^\[object HTML/.test(M)?!1:r(w)}}}),T3=ke({"node_modules/for-each/index.js"(Z,H){"use strict";var g=uL(),x=Object.prototype.toString,A=Object.prototype.hasOwnProperty,S=function(n,i,a){for(var s=0,c=n.length;s=3&&(s=a),x.call(n)==="[object Array]"?S(n,i,s):typeof n=="string"?e(n,i,s):t(n,i,s)};H.exports=r}}),A3=ke({"node_modules/available-typed-arrays/index.js"(Z,H){"use strict";var g=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],x=typeof globalThis>"u"?window:globalThis;H.exports=function(){for(var S=[],e=0;e"u"?window:globalThis,n=x(),i=S("String.prototype.slice"),a=Object.getPrototypeOf,s=S("Array.prototype.indexOf",!0)||function(T,l){for(var _=0;_-1?l:l!=="Object"?!1:p(T)}return e?h(T):null}}}),fL=ke({"node_modules/is-typed-array/index.js"(Z,H){"use strict";var g=T3(),x=A3(),A=ay(),S=A("Object.prototype.toString"),e=g0()(),t=_0(),r=typeof globalThis>"u"?window:globalThis,o=x(),n=A("Array.prototype.indexOf",!0)||function(p,d){for(var T=0;T-1}return t?c(p):!1}}}),M3=ke({"node_modules/util/support/types.js"(Z){"use strict";var H=sL(),g=lL(),x=cL(),A=fL();function S(Te){return Te.call.bind(Te)}var e=typeof BigInt<"u",t=typeof Symbol<"u",r=S(Object.prototype.toString),o=S(Number.prototype.valueOf),n=S(String.prototype.valueOf),i=S(Boolean.prototype.valueOf);e&&(a=S(BigInt.prototype.valueOf));var a;t&&(s=S(Symbol.prototype.valueOf));var s;function c(Te,Ue){if(typeof Te!="object")return!1;try{return Ue(Te),!0}catch{return!1}}Z.isArgumentsObject=H,Z.isGeneratorFunction=g,Z.isTypedArray=A;function h(Te){return typeof Promise<"u"&&Te instanceof Promise||Te!==null&&typeof Te=="object"&&typeof Te.then=="function"&&typeof Te.catch=="function"}Z.isPromise=h;function p(Te){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Te):A(Te)||W(Te)}Z.isArrayBufferView=p;function d(Te){return x(Te)==="Uint8Array"}Z.isUint8Array=d;function T(Te){return x(Te)==="Uint8ClampedArray"}Z.isUint8ClampedArray=T;function l(Te){return x(Te)==="Uint16Array"}Z.isUint16Array=l;function _(Te){return x(Te)==="Uint32Array"}Z.isUint32Array=_;function w(Te){return x(Te)==="Int8Array"}Z.isInt8Array=w;function M(Te){return x(Te)==="Int16Array"}Z.isInt16Array=M;function E(Te){return x(Te)==="Int32Array"}Z.isInt32Array=E;function m(Te){return x(Te)==="Float32Array"}Z.isFloat32Array=m;function b(Te){return x(Te)==="Float64Array"}Z.isFloat64Array=b;function v(Te){return x(Te)==="BigInt64Array"}Z.isBigInt64Array=v;function u(Te){return x(Te)==="BigUint64Array"}Z.isBigUint64Array=u;function y(Te){return r(Te)==="[object Map]"}y.working=typeof Map<"u"&&y(new Map);function f(Te){return typeof Map>"u"?!1:y.working?y(Te):Te instanceof Map}Z.isMap=f;function P(Te){return r(Te)==="[object Set]"}P.working=typeof Set<"u"&&P(new Set);function L(Te){return typeof Set>"u"?!1:P.working?P(Te):Te instanceof Set}Z.isSet=L;function z(Te){return r(Te)==="[object WeakMap]"}z.working=typeof WeakMap<"u"&&z(new WeakMap);function F(Te){return typeof WeakMap>"u"?!1:z.working?z(Te):Te instanceof WeakMap}Z.isWeakMap=F;function B(Te){return r(Te)==="[object WeakSet]"}B.working=typeof WeakSet<"u"&&B(new WeakSet);function O(Te){return B(Te)}Z.isWeakSet=O;function I(Te){return r(Te)==="[object ArrayBuffer]"}I.working=typeof ArrayBuffer<"u"&&I(new ArrayBuffer);function N(Te){return typeof ArrayBuffer>"u"?!1:I.working?I(Te):Te instanceof ArrayBuffer}Z.isArrayBuffer=N;function U(Te){return r(Te)==="[object DataView]"}U.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&U(new DataView(new ArrayBuffer(1),0,1));function W(Te){return typeof DataView>"u"?!1:U.working?U(Te):Te instanceof DataView}Z.isDataView=W;var Q=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function le(Te){return r(Te)==="[object SharedArrayBuffer]"}function se(Te){return typeof Q>"u"?!1:(typeof le.working>"u"&&(le.working=le(new Q)),le.working?le(Te):Te instanceof Q)}Z.isSharedArrayBuffer=se;function fe(Te){return r(Te)==="[object AsyncFunction]"}Z.isAsyncFunction=fe;function G(Te){return r(Te)==="[object Map Iterator]"}Z.isMapIterator=G;function $(Te){return r(Te)==="[object Set Iterator]"}Z.isSetIterator=$;function J(Te){return r(Te)==="[object Generator]"}Z.isGeneratorObject=J;function X(Te){return r(Te)==="[object WebAssembly.Module]"}Z.isWebAssemblyCompiledModule=X;function re(Te){return c(Te,o)}Z.isNumberObject=re;function ae(Te){return c(Te,n)}Z.isStringObject=ae;function j(Te){return c(Te,i)}Z.isBooleanObject=j;function ee(Te){return e&&c(Te,a)}Z.isBigIntObject=ee;function ie(Te){return t&&c(Te,s)}Z.isSymbolObject=ie;function ce(Te){return re(Te)||ae(Te)||j(Te)||ee(Te)||ie(Te)}Z.isBoxedPrimitive=ce;function xe(Te){return typeof Uint8Array<"u"&&(N(Te)||se(Te))}Z.isAnyArrayBuffer=xe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Te){Object.defineProperty(Z,Te,{enumerable:!1,value:function(){throw new Error(Te+" is not supported in userland")}})})}}),S3=ke({"node_modules/util/support/isBufferBrowser.js"(Z,H){H.exports=function(x){return x&&typeof x=="object"&&typeof x.copy=="function"&&typeof x.fill=="function"&&typeof x.readUInt8=="function"}}}),E3=ke({"(disabled):node_modules/util/util.js"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case"%s":return String(le[Q++]);case"%d":return Number(le[Q++]);case"%j":try{return JSON.stringify(le[Q++])}catch{return"[Circular]"}default:return $}}),G=le[Q];Q"u")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S="false",S=S.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A=new RegExp("^"+S+"$","i");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error("%s %d: %s",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function t(U,W){var Q=e.styles[W];return Q?"\x1B["+e.colors[Q][0]+"m"+U+"\x1B["+e.colors[Q][1]+"m":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf("message")>=0||fe.indexOf("description")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?": "+W.name:"";return U.stylize("[Function"+$+"]","special")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),"regexp");if(v(W))return U.stylize(Date.prototype.toString.call(W),"date");if(u(W))return a(W)}var J="",X=!1,re=["{","}"];if(p(W)&&(X=!0,re=["[","]"]),y(W)){var ae=W.name?": "+W.name:"";J=" [Function"+ae+"]"}if(m(W)&&(J=" "+RegExp.prototype.toString.call(W)),v(W)&&(J=" "+Date.prototype.toUTCString.call(W)),u(W)&&(J=" "+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),"regexp"):U.stylize("[Object]","special");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize("undefined","undefined");if(w(W)){var Q="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(Q,"string")}if(_(W))return U.stylize(""+W,"number");if(d(W))return U.stylize(""+W,"boolean");if(T(W))return U.stylize("null","null")}function a(U){return"["+Error.prototype.toString.call(U)+"]"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push("");return se.forEach(function(J){J.match(/^\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize("[Getter/Setter]","special"):$=U.stylize("[Getter]","special"):J.set&&($=U.stylize("[Setter]","special")),B(le,se)||(G="["+se+"]"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(` -`)>-1&&(fe?$=$.split(` -`).map(function(X){return" "+X}).join(` -`).slice(2):$=` -`+$.split(` -`).map(function(X){return" "+X}).join(` -`))):$=U.stylize("[Circular]","special")),E(G)){if(fe&&se.match(/^\d+$/))return $;G=JSON.stringify(""+se),G.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=U.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=U.stylize(G,"string"))}return G+": "+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(` -`)>=0&&le++,fe+G.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?Q[0]+(W===""?"":W+` - `)+" "+U.join(`, - `)+" "+Q[1]:Q[0]+W+" "+U.join(", ")+" "+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U=="boolean"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U=="number"}Z.isNumber=_;function w(U){return typeof U=="string"}Z.isString=w;function M(U){return typeof U=="symbol"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)==="[object RegExp]"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U=="object"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)==="[object Date]"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)==="[object Error]"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U=="function"}Z.isFunction=y;function f(U){return U===null||typeof U=="boolean"||typeof U=="number"||typeof U=="string"||typeof U=="symbol"||typeof U>"u"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?"0"+U.toString(10):U.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(":");return[U.getDate(),z[U.getMonth()],W].join(" ")}Z.log=function(){console.log("%s - %s",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Z.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$0?this.tail.next=d:this.head=d,this.tail=d,++this.length}},{key:"unshift",value:function(p){var d={data:p,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length}},{key:"shift",value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(p){if(this.length===0)return"";for(var d=this.head,T=""+d.data;d=d.next;)T+=p+d.data;return T}},{key:"concat",value:function(p){if(this.length===0)return o.alloc(0);for(var d=o.allocUnsafe(p>>>0),T=this.head,l=0;T;)s(T.data,d,l),l+=T.data.length,T=T.next;return d}},{key:"consume",value:function(p,d){var T;return p_.length?_.length:p;if(w===_.length?l+=_:l+=_.slice(0,p),p-=w,p===0){w===_.length?(++T,d.next?this.head=d.next:this.head=this.tail=null):(this.head=d,d.data=_.slice(w));break}++T}return this.length-=T,l}},{key:"_getBuffer",value:function(p){var d=o.allocUnsafe(p),T=this.head,l=1;for(T.data.copy(d),p-=T.data.length;T=T.next;){var _=T.data,w=p>_.length?_.length:p;if(_.copy(d,d.length-p,0,w),p-=w,p===0){w===_.length?(++l,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=_.slice(w));break}++l}return this.length-=l,d}},{key:a,value:function(p,d){return i(this,x({},d,{depth:0,customInspect:!1}))}}]),c}()}}),C3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js"(Z,H){"use strict";function g(r,o){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(e,this,r)):process.nextTick(e,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(s){!o&&s?n._writableState?n._writableState.errorEmitted?process.nextTick(A,n):(n._writableState.errorEmitted=!0,process.nextTick(x,n,s)):process.nextTick(x,n,s):o?(process.nextTick(A,n),o(s)):process.nextTick(A,n)}),this)}function x(r,o){e(r,o),A(r)}function A(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function e(r,o){r.emit("error",o)}function t(r,o){var n=r._readableState,i=r._writableState;n&&n.autoDestroy||i&&i.autoDestroy?r.destroy(o):r.emit("error",o)}H.exports={destroy:g,undestroy:S,errorOrDestroy:t}}}),Um=ke({"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"(Z,H){"use strict";function g(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var x={};function A(o,n,i){i||(i=Error);function a(c,h,p){return typeof n=="string"?n:n(c,h,p)}var s=function(c){g(h,c);function h(p,d,T){return c.call(this,a(p,d,T))||this}return h}(i);s.prototype.name=i.name,s.prototype.code=o,x[o]=s}function S(o,n){if(Array.isArray(o)){var i=o.length;return o=o.map(function(a){return String(a)}),i>2?"one of ".concat(n," ").concat(o.slice(0,i-1).join(", "),", or ")+o[i-1]:i===2?"one of ".concat(n," ").concat(o[0]," or ").concat(o[1]):"of ".concat(n," ").concat(o[0])}else return"of ".concat(n," ").concat(String(o))}function e(o,n,i){return o.substr(!i||i<0?0:+i,n.length)===n}function t(o,n,i){return(i===void 0||i>o.length)&&(i=o.length),o.substring(i-n.length,i)===n}function r(o,n,i){return typeof i!="number"&&(i=0),i+n.length>o.length?!1:o.indexOf(n,i)!==-1}A("ERR_INVALID_OPT_VALUE",function(o,n){return'The value "'+n+'" is invalid for option "'+o+'"'},TypeError),A("ERR_INVALID_ARG_TYPE",function(o,n,i){var a;typeof n=="string"&&e(n,"not ")?(a="must not be",n=n.replace(/^not /,"")):a="must be";var s;if(t(o," argument"))s="The ".concat(o," ").concat(a," ").concat(S(n,"type"));else{var c=r(o,".")?"property":"argument";s='The "'.concat(o,'" ').concat(c," ").concat(a," ").concat(S(n,"type"))}return s+=". Received type ".concat(typeof i),s},TypeError),A("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),A("ERR_METHOD_NOT_IMPLEMENTED",function(o){return"The "+o+" method is not implemented"}),A("ERR_STREAM_PREMATURE_CLOSE","Premature close"),A("ERR_STREAM_DESTROYED",function(o){return"Cannot call "+o+" after a stream was destroyed"}),A("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),A("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),A("ERR_STREAM_WRITE_AFTER_END","write after end"),A("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),A("ERR_UNKNOWN_ENCODING",function(o){return"Unknown encoding: "+o},TypeError),A("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),H.exports.codes=x}}),k3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js"(Z,H){"use strict";var g=Um().codes.ERR_INVALID_OPT_VALUE;function x(S,e,t){return S.highWaterMark!=null?S.highWaterMark:e?S[t]:null}function A(S,e,t,r){var o=x(e,r,t);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var n=r?t:"highWaterMark";throw new g(n,o)}return Math.floor(o)}return S.objectMode?16:16*1024}H.exports={getHighWaterMark:A}}}),dL=ke({"node_modules/util-deprecate/browser.js"(Z,H){H.exports=g;function g(A,S){if(x("noDeprecation"))return A;var e=!1;function t(){if(!e){if(x("throwDeprecation"))throw new Error(S);x("traceDeprecation")?console.trace(S):console.warn(S),e=!0}return A.apply(this,arguments)}return t}function x(A){try{if(!window.localStorage)return!1}catch{return!1}var S=window.localStorage[A];return S==null?!1:String(S).toLowerCase()==="true"}}}),L3=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js"(Z,H){"use strict";H.exports=v;function g(G){var $=this;this.next=null,this.entry=null,this.finish=function(){fe($,G)}}var x;v.WritableState=m;var A={deprecate:dL()},S=x3(),e=Nm().Buffer,t=window.Uint8Array||function(){};function r(G){return e.from(G)}function o(G){return e.isBuffer(G)||G instanceof t}var n=C3(),i=k3(),a=i.getHighWaterMark,s=Um().codes,c=s.ERR_INVALID_ARG_TYPE,h=s.ERR_METHOD_NOT_IMPLEMENTED,p=s.ERR_MULTIPLE_CALLBACK,d=s.ERR_STREAM_CANNOT_PIPE,T=s.ERR_STREAM_DESTROYED,l=s.ERR_STREAM_NULL_VALUES,_=s.ERR_STREAM_WRITE_AFTER_END,w=s.ERR_UNKNOWN_ENCODING,M=n.errorOrDestroy;$v()(v,S);function E(){}function m(G,$,J){x=x||jm(),G=G||{},typeof J!="boolean"&&(J=$ instanceof x),this.objectMode=!!G.objectMode,J&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=a(this,G,"writableHighWaterMark",J),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=G.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=G.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(re){B($,re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=G.emitClose!==!1,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}m.prototype.getBuffer=function(){for(var $=this.bufferedRequest,J=[];$;)J.push($),$=$.next;return J},function(){try{Object.defineProperty(m.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var b;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function($){return b.call(this,$)?!0:this!==v?!1:$&&$._writableState instanceof m}})):b=function($){return $ instanceof this};function v(G){x=x||jm();var $=this instanceof x;if(!$&&!b.call(v,this))return new v(G);this._writableState=new m(G,this,$),this.writable=!0,G&&(typeof G.write=="function"&&(this._write=G.write),typeof G.writev=="function"&&(this._writev=G.writev),typeof G.destroy=="function"&&(this._destroy=G.destroy),typeof G.final=="function"&&(this._final=G.final)),S.call(this)}v.prototype.pipe=function(){M(this,new d)};function u(G,$){var J=new _;M(G,J),process.nextTick($,J)}function y(G,$,J,X){var re;return J===null?re=new l:typeof J!="string"&&!$.objectMode&&(re=new c("chunk",["string","Buffer"],J)),re?(M(G,re),process.nextTick(X,re),!1):!0}v.prototype.write=function(G,$,J){var X=this._writableState,re=!1,ae=!X.objectMode&&o(G);return ae&&!e.isBuffer(G)&&(G=r(G)),typeof $=="function"&&(J=$,$=null),ae?$="buffer":$||($=X.defaultEncoding),typeof J!="function"&&(J=E),X.ending?u(this,J):(ae||y(this,X,G,J))&&(X.pendingcb++,re=P(this,X,ae,G,$,J)),re},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&N(this,G))},v.prototype.setDefaultEncoding=function($){if(typeof $=="string"&&($=$.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf(($+"").toLowerCase())>-1))throw new w($);return this._writableState.defaultEncoding=$,this},Object.defineProperty(v.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function f(G,$,J){return!G.objectMode&&G.decodeStrings!==!1&&typeof $=="string"&&($=e.from($,J)),$}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(G,$,J,X,re,ae){if(!J){var j=f($,X,re);X!==j&&(J=!0,re="buffer",X=j)}var ee=$.objectMode?1:X.length;$.length+=ee;var ie=$.length<$.highWaterMark;if(ie||($.needDrain=!0),$.writing||$.corked){var ce=$.lastBufferedRequest;$.lastBufferedRequest={chunk:X,encoding:re,isBuf:J,callback:ae,next:null},ce?ce.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else L(G,$,!1,ee,X,re,ae);return ie}function L(G,$,J,X,re,ae,j){$.writelen=X,$.writecb=j,$.writing=!0,$.sync=!0,$.destroyed?$.onwrite(new T("write")):J?G._writev(re,$.onwrite):G._write(re,ae,$.onwrite),$.sync=!1}function z(G,$,J,X,re){--$.pendingcb,J?(process.nextTick(re,X),process.nextTick(le,G,$),G._writableState.errorEmitted=!0,M(G,X)):(re(X),G._writableState.errorEmitted=!0,M(G,X),le(G,$))}function F(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}function B(G,$){var J=G._writableState,X=J.sync,re=J.writecb;if(typeof re!="function")throw new p;if(F(J),$)z(G,J,X,$,re);else{var ae=U(J)||G.destroyed;!ae&&!J.corked&&!J.bufferProcessing&&J.bufferedRequest&&N(G,J),X?process.nextTick(O,G,J,ae,re):O(G,J,ae,re)}}function O(G,$,J,X){J||I(G,$),$.pendingcb--,X(),le(G,$)}function I(G,$){$.length===0&&$.needDrain&&($.needDrain=!1,G.emit("drain"))}function N(G,$){$.bufferProcessing=!0;var J=$.bufferedRequest;if(G._writev&&J&&J.next){var X=$.bufferedRequestCount,re=new Array(X),ae=$.corkedRequestsFree;ae.entry=J;for(var j=0,ee=!0;J;)re[j]=J,J.isBuf||(ee=!1),J=J.next,j+=1;re.allBuffers=ee,L(G,$,!0,$.length,re,"",ae.finish),$.pendingcb++,$.lastBufferedRequest=null,ae.next?($.corkedRequestsFree=ae.next,ae.next=null):$.corkedRequestsFree=new g($),$.bufferedRequestCount=0}else{for(;J;){var ie=J.chunk,ce=J.encoding,xe=J.callback,Te=$.objectMode?1:ie.length;if(L(G,$,!1,Te,ie,ce,xe),J=J.next,$.bufferedRequestCount--,$.writing)break}J===null&&($.lastBufferedRequest=null)}$.bufferedRequest=J,$.bufferProcessing=!1}v.prototype._write=function(G,$,J){J(new h("_write()"))},v.prototype._writev=null,v.prototype.end=function(G,$,J){var X=this._writableState;return typeof G=="function"?(J=G,G=null,$=null):typeof $=="function"&&(J=$,$=null),G!=null&&this.write(G,$),X.corked&&(X.corked=1,this.uncork()),X.ending||se(this,X,J),this},Object.defineProperty(v.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function U(G){return G.ending&&G.length===0&&G.bufferedRequest===null&&!G.finished&&!G.writing}function W(G,$){G._final(function(J){$.pendingcb--,J&&M(G,J),$.prefinished=!0,G.emit("prefinish"),le(G,$)})}function Q(G,$){!$.prefinished&&!$.finalCalled&&(typeof G._final=="function"&&!$.destroyed?($.pendingcb++,$.finalCalled=!0,process.nextTick(W,G,$)):($.prefinished=!0,G.emit("prefinish")))}function le(G,$){var J=U($);if(J&&(Q(G,$),$.pendingcb===0&&($.finished=!0,G.emit("finish"),$.autoDestroy))){var X=G._readableState;(!X||X.autoDestroy&&X.endEmitted)&&G.destroy()}return J}function se(G,$,J){$.ending=!0,le(G,$),J&&($.finished?process.nextTick(J):G.once("finish",J)),$.ended=!0,G.writable=!1}function fe(G,$,J){var X=G.entry;for(G.entry=null;X;){var re=X.callback;$.pendingcb--,re(J),X=X.next}$.corkedRequestsFree.next=G}Object.defineProperty(v.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),v.prototype.destroy=n.destroy,v.prototype._undestroy=n.undestroy,v.prototype._destroy=function(G,$){$(G)}}}),jm=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js"(Z,H){"use strict";var g=Object.keys||function(i){var a=[];for(var s in i)a.push(s);return a};H.exports=r;var x=I3(),A=L3();for($v()(r,x),S=g(A.prototype),t=0;t>5===6?2:T>>4===14?3:T>>3===30?4:T>>6===2?-1:-2}function t(T,l,_){var w=l.length-1;if(w<_)return 0;var M=e(l[w]);return M>=0?(M>0&&(T.lastNeed=M-1),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(T.lastNeed=M-2),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(M===2?M=0:T.lastNeed=M-3),M):0))}function r(T,l,_){if((l[0]&192)!==128)return T.lastNeed=0,"\uFFFD";if(T.lastNeed>1&&l.length>1){if((l[1]&192)!==128)return T.lastNeed=1,"\uFFFD";if(T.lastNeed>2&&l.length>2&&(l[2]&192)!==128)return T.lastNeed=2,"\uFFFD"}}function o(T){var l=this.lastTotal-this.lastNeed,_=r(this,T,l);if(_!==void 0)return _;if(this.lastNeed<=T.length)return T.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);T.copy(this.lastChar,l,0,T.length),this.lastNeed-=T.length}function n(T,l){var _=t(this,T,l);if(!this.lastNeed)return T.toString("utf8",l);this.lastTotal=_;var w=T.length-(_-this.lastNeed);return T.copy(this.lastChar,0,w),T.toString("utf8",l,w)}function i(T){var l=T&&T.length?this.write(T):"";return this.lastNeed?l+"\uFFFD":l}function a(T,l){if((T.length-l)%2===0){var _=T.toString("utf16le",l);if(_){var w=_.charCodeAt(_.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=T[T.length-1],T.toString("utf16le",l,T.length-1)}function s(T){var l=T&&T.length?this.write(T):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return l+this.lastChar.toString("utf16le",0,_)}return l}function c(T,l){var _=(T.length-l)%3;return _===0?T.toString("base64",l):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=T[T.length-1]:(this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1]),T.toString("base64",l,T.length-_))}function h(T){var l=T&&T.length?this.write(T):"";return this.lastNeed?l+this.lastChar.toString("base64",0,3-this.lastNeed):l}function p(T){return T.toString(this.encoding)}function d(T){return T&&T.length?this.write(T):""}}}),sx=ke({"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(Z,H){"use strict";var g=Um().codes.ERR_STREAM_PREMATURE_CLOSE;function x(t){var r=!1;return function(){if(!r){r=!0;for(var o=arguments.length,n=new Array(o),i=0;i0)if(typeof ee!="string"&&!Te.objectMode&&Object.getPrototypeOf(ee)!==e.prototype&&(ee=r(ee)),ce)Te.endEmitted?m(j,new _):P(j,Te,ee,!0);else if(Te.ended)m(j,new T);else{if(Te.destroyed)return!1;Te.reading=!1,Te.decoder&&!ie?(ee=Te.decoder.write(ee),Te.objectMode||ee.length!==0?P(j,Te,ee,!1):U(j,Te)):P(j,Te,ee,!1)}else ce||(Te.reading=!1,U(j,Te))}return!Te.ended&&(Te.length=z?j=z:(j--,j|=j>>>1,j|=j>>>2,j|=j>>>4,j|=j>>>8,j|=j>>>16,j++),j}function B(j,ee){return j<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:j!==j?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(j>ee.highWaterMark&&(ee.highWaterMark=F(j)),j<=ee.length?j:ee.ended?ee.length:(ee.needReadable=!0,0))}y.prototype.read=function(j){i("read",j),j=parseInt(j,10);var ee=this._readableState,ie=j;if(j!==0&&(ee.emittedReadable=!1),j===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return i("read: emitReadable",ee.length,ee.ended),ee.length===0&&ee.ended?X(this):I(this),null;if(j=B(j,ee),j===0&&ee.ended)return ee.length===0&&X(this),null;var ce=ee.needReadable;i("need readable",ce),(ee.length===0||ee.length-j0?xe=J(j,ee):xe=null,xe===null?(ee.needReadable=ee.length<=ee.highWaterMark,j=0):(ee.length-=j,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),ie!==j&&ee.ended&&X(this)),xe!==null&&this.emit("data",xe),xe};function O(j,ee){if(i("onEofChunk"),!ee.ended){if(ee.decoder){var ie=ee.decoder.end();ie&&ie.length&&(ee.buffer.push(ie),ee.length+=ee.objectMode?1:ie.length)}ee.ended=!0,ee.sync?I(j):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,N(j)))}}function I(j){var ee=j._readableState;i("emitReadable",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(i("emitReadable",ee.flowing),ee.emittedReadable=!0,process.nextTick(N,j))}function N(j){var ee=j._readableState;i("emitReadable_",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(j.emit("readable"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,$(j)}function U(j,ee){ee.readingMore||(ee.readingMore=!0,process.nextTick(W,j,ee))}function W(j,ee){for(;!ee.reading&&!ee.ended&&(ee.length1&&ae(ce.pipes,j)!==-1)&&!it&&(i("false write response, pause",ce.awaitDrain),ce.awaitDrain++),ie.pause())}function ut(Oe){i("onerror",Oe),ue(),j.removeListener("error",ut),A(j,"error")===0&&m(j,Oe)}v(j,"error",ut);function Me(){j.removeListener("finish",pe),ue()}j.once("close",Me);function pe(){i("onfinish"),j.removeListener("close",Me),ue()}j.once("finish",pe);function ue(){i("unpipe"),ie.unpipe(j)}return j.emit("pipe",ie),ce.flowing||(i("pipe resume"),ie.resume()),j};function Q(j){return function(){var ie=j._readableState;i("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&A(j,"data")&&(ie.flowing=!0,$(j))}}y.prototype.unpipe=function(j){var ee=this._readableState,ie={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return j&&j!==ee.pipes?this:(j||(j=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,j&&j.emit("unpipe",this,ie),this);if(!j){var ce=ee.pipes,xe=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var Te=0;Te0,ce.flowing!==!1&&this.resume()):j==="readable"&&!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.flowing=!1,ce.emittedReadable=!1,i("on readable",ce.length,ce.reading),ce.length?I(this):ce.reading||process.nextTick(se,this)),ie},y.prototype.addListener=y.prototype.on,y.prototype.removeListener=function(j,ee){var ie=S.prototype.removeListener.call(this,j,ee);return j==="readable"&&process.nextTick(le,this),ie},y.prototype.removeAllListeners=function(j){var ee=S.prototype.removeAllListeners.apply(this,arguments);return(j==="readable"||j===void 0)&&process.nextTick(le,this),ee};function le(j){var ee=j._readableState;ee.readableListening=j.listenerCount("readable")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:j.listenerCount("data")>0&&j.resume()}function se(j){i("readable nexttick read 0"),j.read(0)}y.prototype.resume=function(){var j=this._readableState;return j.flowing||(i("resume"),j.flowing=!j.readableListening,fe(this,j)),j.paused=!1,this};function fe(j,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,process.nextTick(G,j,ee))}function G(j,ee){i("resume",ee.reading),ee.reading||j.read(0),ee.resumeScheduled=!1,j.emit("resume"),$(j),ee.flowing&&!ee.reading&&j.read(0)}y.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function $(j){var ee=j._readableState;for(i("flow",ee.flowing);ee.flowing&&j.read()!==null;);}y.prototype.wrap=function(j){var ee=this,ie=this._readableState,ce=!1;j.on("end",function(){if(i("wrapped end"),ie.decoder&&!ie.ended){var Ue=ie.decoder.end();Ue&&Ue.length&&ee.push(Ue)}ee.push(null)}),j.on("data",function(Ue){if(i("wrapped data"),ie.decoder&&(Ue=ie.decoder.write(Ue)),!(ie.objectMode&&Ue==null)&&!(!ie.objectMode&&(!Ue||!Ue.length))){var Ie=ee.push(Ue);Ie||(ce=!0,j.pause())}});for(var xe in j)this[xe]===void 0&&typeof j[xe]=="function"&&(this[xe]=function(Ie){return function(){return j[Ie].apply(j,arguments)}}(xe));for(var Te=0;Te=ee.length?(ee.decoder?ie=ee.buffer.join(""):ee.buffer.length===1?ie=ee.buffer.first():ie=ee.buffer.concat(ee.length),ee.buffer.clear()):ie=ee.buffer.consume(j,ee.decoder),ie}function X(j){var ee=j._readableState;i("endReadable",ee.endEmitted),ee.endEmitted||(ee.ended=!0,process.nextTick(re,ee,j))}function re(j,ee){if(i("endReadableNT",j.endEmitted,j.length),!j.endEmitted&&j.length===0&&(j.endEmitted=!0,ee.readable=!1,ee.emit("end"),j.autoDestroy)){var ie=ee._writableState;(!ie||ie.autoDestroy&&ie.finished)&&ee.destroy()}}typeof Symbol=="function"&&(y.from=function(j,ee){return E===void 0&&(E=mL()),E(y,j,ee)});function ae(j,ee){for(var ie=0,ce=j.length;ie0;return o(_,M,E,function(m){T||(T=m),m&&l.forEach(n),!M&&(l.forEach(n),d(T))})});return h.reduce(i)}H.exports=s}}),_L=ke({"node_modules/stream-browserify/index.js"(Z,H){H.exports=A;var g=Lm().EventEmitter,x=$v();x(A,g),A.Readable=I3(),A.Writable=L3(),A.Duplex=jm(),A.Transform=R3(),A.PassThrough=gL(),A.finished=sx(),A.pipeline=yL(),A.Stream=A;function A(){g.call(this)}A.prototype.pipe=function(S,e){var t=this;function r(h){S.writable&&S.write(h)===!1&&t.pause&&t.pause()}t.on("data",r);function o(){t.readable&&t.resume&&t.resume()}S.on("drain",o),!S._isStdio&&(!e||e.end!==!1)&&(t.on("end",i),t.on("close",a));var n=!1;function i(){n||(n=!0,S.end())}function a(){n||(n=!0,typeof S.destroy=="function"&&S.destroy())}function s(h){if(c(),g.listenerCount(this,"error")===0)throw h}t.on("error",s),S.on("error",s);function c(){t.removeListener("data",r),S.removeListener("drain",o),t.removeListener("end",i),t.removeListener("close",a),t.removeListener("error",s),S.removeListener("error",s),t.removeListener("end",c),t.removeListener("close",c),S.removeListener("close",c)}return t.on("end",c),t.on("close",c),S.on("close",c),S.emit("pipe",t),S}}}),oy=ke({"node_modules/util/util.js"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case"%s":return String(le[Q++]);case"%d":return Number(le[Q++]);case"%j":try{return JSON.stringify(le[Q++])}catch{return"[Circular]"}default:return $}}),G=le[Q];Q"u")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S="false",S=S.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A=new RegExp("^"+S+"$","i");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error("%s %d: %s",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function t(U,W){var Q=e.styles[W];return Q?"\x1B["+e.colors[Q][0]+"m"+U+"\x1B["+e.colors[Q][1]+"m":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf("message")>=0||fe.indexOf("description")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?": "+W.name:"";return U.stylize("[Function"+$+"]","special")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),"regexp");if(v(W))return U.stylize(Date.prototype.toString.call(W),"date");if(u(W))return a(W)}var J="",X=!1,re=["{","}"];if(p(W)&&(X=!0,re=["[","]"]),y(W)){var ae=W.name?": "+W.name:"";J=" [Function"+ae+"]"}if(m(W)&&(J=" "+RegExp.prototype.toString.call(W)),v(W)&&(J=" "+Date.prototype.toUTCString.call(W)),u(W)&&(J=" "+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),"regexp"):U.stylize("[Object]","special");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize("undefined","undefined");if(w(W)){var Q="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(Q,"string")}if(_(W))return U.stylize(""+W,"number");if(d(W))return U.stylize(""+W,"boolean");if(T(W))return U.stylize("null","null")}function a(U){return"["+Error.prototype.toString.call(U)+"]"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push("");return se.forEach(function(J){J.match(/^\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize("[Getter/Setter]","special"):$=U.stylize("[Getter]","special"):J.set&&($=U.stylize("[Setter]","special")),B(le,se)||(G="["+se+"]"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(` -`)>-1&&(fe?$=$.split(` -`).map(function(X){return" "+X}).join(` -`).slice(2):$=` -`+$.split(` -`).map(function(X){return" "+X}).join(` -`))):$=U.stylize("[Circular]","special")),E(G)){if(fe&&se.match(/^\d+$/))return $;G=JSON.stringify(""+se),G.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=U.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=U.stylize(G,"string"))}return G+": "+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(` -`)>=0&&le++,fe+G.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?Q[0]+(W===""?"":W+` - `)+" "+U.join(`, - `)+" "+Q[1]:Q[0]+W+" "+U.join(", ")+" "+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U=="boolean"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U=="number"}Z.isNumber=_;function w(U){return typeof U=="string"}Z.isString=w;function M(U){return typeof U=="symbol"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)==="[object RegExp]"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U=="object"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)==="[object Date]"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)==="[object Error]"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U=="function"}Z.isFunction=y;function f(U){return U===null||typeof U=="boolean"||typeof U=="number"||typeof U=="string"||typeof U=="symbol"||typeof U>"u"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?"0"+U.toString(10):U.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(":");return[U.getDate(),z[U.getMonth()],W].join(" ")}Z.log=function(){console.log("%s - %s",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Z.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(E){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},c(E)}var h={},p,d;function T(E,m,b){b||(b=Error);function v(y,f,P){return typeof m=="string"?m:m(y,f,P)}var u=function(y){r(P,y);var f=n(P);function P(L,z,F){var B;return t(this,P),B=f.call(this,v(L,z,F)),B.code=E,B}return A(P)}(b);h[E]=u}function l(E,m){if(Array.isArray(E)){var b=E.length;return E=E.map(function(v){return String(v)}),b>2?"one of ".concat(m," ").concat(E.slice(0,b-1).join(", "),", or ")+E[b-1]:b===2?"one of ".concat(m," ").concat(E[0]," or ").concat(E[1]):"of ".concat(m," ").concat(E[0])}else return"of ".concat(m," ").concat(String(E))}function _(E,m,b){return E.substr(!b||b<0?0:+b,m.length)===m}function w(E,m,b){return(b===void 0||b>E.length)&&(b=E.length),E.substring(b-m.length,b)===m}function M(E,m,b){return typeof b!="number"&&(b=0),b+m.length>E.length?!1:E.indexOf(m,b)!==-1}T("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),T("ERR_INVALID_ARG_TYPE",function(E,m,b){p===void 0&&(p=w0()),p(typeof E=="string","'name' must be a string");var v;typeof m=="string"&&_(m,"not ")?(v="must not be",m=m.replace(/^not /,"")):v="must be";var u;if(w(E," argument"))u="The ".concat(E," ").concat(v," ").concat(l(m,"type"));else{var y=M(E,".")?"property":"argument";u='The "'.concat(E,'" ').concat(y," ").concat(v," ").concat(l(m,"type"))}return u+=". Received type ".concat(g(b)),u},TypeError),T("ERR_INVALID_ARG_VALUE",function(E,m){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";d===void 0&&(d=oy());var v=d.inspect(m);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(E,"' ").concat(b,". Received ").concat(v)},TypeError,RangeError),T("ERR_INVALID_RETURN_VALUE",function(E,m,b){var v;return b&&b.constructor&&b.constructor.name?v="instance of ".concat(b.constructor.name):v="type ".concat(g(b)),"Expected ".concat(E,' to be returned from the "').concat(m,'"')+" function but got ".concat(v,".")},TypeError),T("ERR_MISSING_ARGS",function(){for(var E=arguments.length,m=new Array(E),b=0;b0,"At least one arg needs to be specified");var v="The ",u=m.length;switch(m=m.map(function(y){return'"'.concat(y,'"')}),u){case 1:v+="".concat(m[0]," argument");break;case 2:v+="".concat(m[0]," and ").concat(m[1]," arguments");break;default:v+=m.slice(0,u-1).join(", "),v+=", and ".concat(m[u-1]," arguments");break}return"".concat(v," must be specified")},TypeError),H.exports.codes=h}}),xL=ke({"node_modules/assert/build/internal/assert/assertion_error.js"(Z,H){"use strict";function g(N,U){var W=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);U&&(Q=Q.filter(function(le){return Object.getOwnPropertyDescriptor(N,le).enumerable})),W.push.apply(W,Q)}return W}function x(N){for(var U=1;U"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d(N){return Function.toString.call(N).indexOf("[native code]")!==-1}function T(N,U){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Q,le){return Q.__proto__=le,Q},T(N,U)}function l(N){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},l(N)}function _(N){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},_(N)}var w=oy(),M=w.inspect,E=D3(),m=E.codes.ERR_INVALID_ARG_TYPE;function b(N,U,W){return(W===void 0||W>N.length)&&(W=N.length),N.substring(W-U.length,W)===U}function v(N,U){if(U=Math.floor(U),N.length==0||U==0)return"";var W=N.length*U;for(U=Math.floor(Math.log(U)/Math.log(2));U;)N+=N,U--;return N+=N.substring(0,W-N.length),N}var u="",y="",f="",P="",L={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},z=10;function F(N){var U=Object.keys(N),W=Object.create(Object.getPrototypeOf(N));return U.forEach(function(Q){W[Q]=N[Q]}),Object.defineProperty(W,"message",{value:N.message}),W}function B(N){return M(N,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(N,U,W){var Q="",le="",se=0,fe="",G=!1,$=B(N),J=$.split(` -`),X=B(U).split(` -`),re=0,ae="";if(W==="strictEqual"&&_(N)==="object"&&_(U)==="object"&&N!==null&&U!==null&&(W="strictEqualObject"),J.length===1&&X.length===1&&J[0]!==X[0]){var j=J[0].length+X[0].length;if(j<=z){if((_(N)!=="object"||N===null)&&(_(U)!=="object"||U===null)&&(N!==0||U!==0))return"".concat(L[W],` - -`)+"".concat(J[0]," !== ").concat(X[0],` -`)}else if(W!=="strictEqualObject"){var ee=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(j2&&(ae=` - `.concat(v(" ",re),"^"),re=0)}}}for(var ie=J[J.length-1],ce=X[X.length-1];ie===ce&&(re++<2?fe=` - `.concat(ie).concat(fe):Q=ie,J.pop(),X.pop(),!(J.length===0||X.length===0));)ie=J[J.length-1],ce=X[X.length-1];var xe=Math.max(J.length,X.length);if(xe===0){var Te=$.split(` -`);if(Te.length>30)for(Te[26]="".concat(u,"...").concat(P);Te.length>27;)Te.pop();return"".concat(L.notIdentical,` - -`).concat(Te.join(` -`),` -`)}re>3&&(fe=` -`.concat(u,"...").concat(P).concat(fe),G=!0),Q!==""&&(fe=` - `.concat(Q).concat(fe),Q="");var Ue=0,Ie=L[W]+` -`.concat(y,"+ actual").concat(P," ").concat(f,"- expected").concat(P),Ye=" ".concat(u,"...").concat(P," Lines skipped");for(re=0;re1&&re>2&&(it>4?(le+=` -`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` - `.concat(X[re-2]),Ue++),le+=` - `.concat(X[re-1]),Ue++),se=re,Q+=` -`.concat(f,"-").concat(P," ").concat(X[re]),Ue++;else if(X.length1&&re>2&&(it>4?(le+=` -`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` - `.concat(J[re-2]),Ue++),le+=` - `.concat(J[re-1]),Ue++),se=re,le+=` -`.concat(y,"+").concat(P," ").concat(J[re]),Ue++;else{var at=X[re],tt=J[re],ut=tt!==at&&(!b(tt,",")||tt.slice(0,-1)!==at);ut&&b(at,",")&&at.slice(0,-1)===tt&&(ut=!1,tt+=","),ut?(it>1&&re>2&&(it>4?(le+=` -`.concat(u,"...").concat(P),G=!0):it>3&&(le+=` - `.concat(J[re-2]),Ue++),le+=` - `.concat(J[re-1]),Ue++),se=re,le+=` -`.concat(y,"+").concat(P," ").concat(tt),Q+=` -`.concat(f,"-").concat(P," ").concat(at),Ue+=2):(le+=Q,Q="",(it===1||re===0)&&(le+=` - `.concat(tt),Ue++))}if(Ue>20&&re30)for(j[26]="".concat(u,"...").concat(P);j.length>27;)j.pop();j.length===1?se=W.call(this,"".concat(ae," ").concat(j[0])):se=W.call(this,"".concat(ae,` - -`).concat(j.join(` -`),` -`))}else{var ee=B(J),ie="",ce=L[G];G==="notDeepEqual"||G==="notEqual"?(ee="".concat(L[G],` - -`).concat(ee),ee.length>1024&&(ee="".concat(ee.slice(0,1021),"..."))):(ie="".concat(B(X)),ee.length>512&&(ee="".concat(ee.slice(0,509),"...")),ie.length>512&&(ie="".concat(ie.slice(0,509),"...")),G==="deepEqual"||G==="equal"?ee="".concat(ce,` - -`).concat(ee,` - -should equal - -`):ie=" ".concat(G," ").concat(ie)),se=W.call(this,"".concat(ee).concat(ie))}return Error.stackTraceLimit=re,se.generatedMessage=!fe,Object.defineProperty(s(se),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),se.code="ERR_ASSERTION",se.actual=J,se.expected=X,se.operator=G,Error.captureStackTrace&&Error.captureStackTrace(s(se),$),se.stack,se.name="AssertionError",a(se)}return t(Q,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:U,value:function(se,fe){return M(this,x(x({},fe),{},{customInspect:!1,depth:0}))}}]),Q}(c(Error),M.custom);H.exports=I}}),z3=ke({"node_modules/object-keys/isArguments.js"(Z,H){"use strict";var g=Object.prototype.toString;H.exports=function(A){var S=g.call(A),e=S==="[object Arguments]";return e||(e=S!=="[object Array]"&&A!==null&&typeof A=="object"&&typeof A.length=="number"&&A.length>=0&&g.call(A.callee)==="[object Function]"),e}}}),bL=ke({"node_modules/object-keys/implementation.js"(Z,H){"use strict";var g;Object.keys||(x=Object.prototype.hasOwnProperty,A=Object.prototype.toString,S=z3(),e=Object.prototype.propertyIsEnumerable,t=!e.call({toString:null},"toString"),r=e.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=function(c){var h=c.constructor;return h&&h.prototype===c},i={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if(typeof window>"u")return!1;for(var c in window)try{if(!i["$"+c]&&x.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{n(window[c])}catch{return!0}}catch{return!0}return!1}(),s=function(c){if(typeof window>"u"||!a)return n(c);try{return n(c)}catch{return!1}},g=function(h){var p=h!==null&&typeof h=="object",d=A.call(h)==="[object Function]",T=S(h),l=p&&A.call(h)==="[object String]",_=[];if(!p&&!d&&!T)throw new TypeError("Object.keys called on a non-object");var w=r&&d;if(l&&h.length>0&&!x.call(h,0))for(var M=0;M0)for(var E=0;E2?arguments[2]:{},h=g(s);x&&(h=S.call(h,Object.getOwnPropertySymbols(s)));for(var p=0;pMe.length)&&(pe=Me.length);for(var ue=0,Oe=new Array(pe);ue10)return!0;for(var pe=0;pe57)return!0}return Me.length===10&&Me>=Math.pow(2,32)}function I(Me){return Object.keys(Me).filter(O).concat(s(Me).filter(Object.prototype.propertyIsEnumerable.bind(Me)))}function N(Me,pe){if(Me===pe)return 0;for(var ue=Me.length,Oe=pe.length,rt=0,ot=Math.min(ue,Oe);rt1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae0)return t(i);if(s==="number"&&isNaN(i)===!1)return a.long?o(i):r(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function t(i){if(i=String(i),!(i.length>100)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(i);if(a){var s=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return s*e;case"days":case"day":case"d":return s*S;case"hours":case"hour":case"hrs":case"hr":case"h":return s*A;case"minutes":case"minute":case"mins":case"min":case"m":return s*x;case"seconds":case"second":case"secs":case"sec":case"s":return s*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function r(i){return i>=S?Math.round(i/S)+"d":i>=A?Math.round(i/A)+"h":i>=x?Math.round(i/x)+"m":i>=g?Math.round(i/g)+"s":i+"ms"}function o(i){return n(i,S,"day")||n(i,A,"hour")||n(i,x,"minute")||n(i,g,"second")||i+" ms"}function n(i,a,s){if(!(i=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}Z.formatters.j=function(r){try{return JSON.stringify(r)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}};function x(r){var o=this.useColors;if(r[0]=(o?"%c":"")+this.namespace+(o?" %c":" ")+r[0]+(o?"%c ":" ")+"+"+Z.humanize(this.diff),!!o){var n="color: "+this.color;r.splice(1,0,n,"color: inherit");var i=0,a=0;r[0].replace(/%[a-zA-Z%]/g,function(s){s!=="%%"&&(i++,s==="%c"&&(a=i))}),r.splice(a,0,n)}}function A(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function S(r){try{r==null?Z.storage.removeItem("debug"):Z.storage.debug=r}catch{}}function e(){var r;try{r=Z.storage.debug}catch{}return!r&&typeof process<"u"&&"env"in process&&(r=process.env.DEBUG),r}Z.enable(e());function t(){try{return window.localStorage}catch{}}}}),IL=ke({"node_modules/stream-parser/index.js"(Z,H){var g=w0(),x=PL()("stream-parser");H.exports=r;var A=-1,S=0,e=1,t=2;function r(l){var _=l&&typeof l._transform=="function",w=l&&typeof l._write=="function";if(!_&&!w)throw new Error("must pass a Writable or Transform stream in");x("extending Parser into stream"),l._bytes=n,l._skipBytes=i,_&&(l._passthrough=a),_?l._transform=c:l._write=s}function o(l){x("initializing parser stream"),l._parserBytesLeft=0,l._parserBuffers=[],l._parserBuffered=0,l._parserState=A,l._parserCallback=null,typeof l.push=="function"&&(l._parserOutput=l.push.bind(l)),l._parserInit=!0}function n(l,_){g(!this._parserCallback,'there is already a "callback" set!'),g(isFinite(l)&&l>0,'can only buffer a finite number of bytes > 0, got "'+l+'"'),this._parserInit||o(this),x("buffering %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=S}function i(l,_){g(!this._parserCallback,'there is already a "callback" set!'),g(l>0,'can only skip > 0 bytes, got "'+l+'"'),this._parserInit||o(this),x("skipping %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=e}function a(l,_){g(!this._parserCallback,'There is already a "callback" set!'),g(l>0,'can only pass through > 0 bytes, got "'+l+'"'),this._parserInit||o(this),x("passing through %o bytes",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=t}function s(l,_,w){this._parserInit||o(this),x("write(%o bytes)",l.length),typeof _=="function"&&(w=_),d(this,l,null,w)}function c(l,_,w){this._parserInit||o(this),x("transform(%o bytes)",l.length),typeof _!="function"&&(_=this._parserOutput),d(this,l,_,w)}function h(l,_,w,M){return l._parserBytesLeft<=0?M(new Error("got data but not currently parsing anything")):_.length<=l._parserBytesLeft?function(){return p(l,_,w,M)}:function(){var E=_.slice(0,l._parserBytesLeft);return p(l,E,w,function(m){if(m)return M(m);if(_.length>E.length)return function(){return h(l,_.slice(E.length),w,M)}})}}function p(l,_,w,M){if(l._parserBytesLeft-=_.length,x("%o bytes left for stream piece",l._parserBytesLeft),l._parserState===S?(l._parserBuffers.push(_),l._parserBuffered+=_.length):l._parserState===t&&w(_),l._parserBytesLeft===0){var E=l._parserCallback;if(E&&l._parserState===S&&l._parserBuffers.length>1&&(_=Buffer.concat(l._parserBuffers,l._parserBuffered)),l._parserState!==S&&(_=null),l._parserCallback=null,l._parserBuffered=0,l._parserState=A,l._parserBuffers.splice(0),E){var m=[];_&&m.push(_),w&&m.push(w);var b=E.length>m.length;b&&m.push(T(M));var v=E.apply(l,m);if(!b||M===v)return M}}else return M}var d=T(h);function T(l){return function(){for(var _=l.apply(this,arguments);typeof _=="function";)_=_();return _}}}}),Lu=ke({"node_modules/probe-image-size/lib/common.js"(Z){"use strict";var H=_L().Transform,g=IL();function x(){H.call(this,{readableObjectMode:!0})}x.prototype=Object.create(H.prototype),x.prototype.constructor=x,g(x.prototype),Z.ParserStream=x,Z.sliceEq=function(S,e,t){for(var r=e,o=0;o>4&15,h=a[4]&15,p=a[5]>>4&15,d=g(a,6),T=8,l=0;ld.width||p.width===d.width&&p.height>d.height?p:d}),c=a.reduce(function(p,d){return p.height>d.height||p.height===d.height&&p.width>d.width?p:d}),h;return s.width>c.height||s.width===c.height&&s.height>c.width?h=s:h=c,h}H.exports.readSizeFromMeta=function(a){var s={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(n(a,s),!!s.sizes.length){var c=i(s.sizes),h=1;s.transforms.forEach(function(d){var T={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},l={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(d.type==="imir"&&(d.value===0?h=l[h]:(h=l[h],h=T[h],h=T[h])),d.type==="irot")for(var _=0;_0&&!this.aborted;){var t=this.ifds_to_read.shift();t.offset&&this.scan_ifd(t.id,t.offset,S)}},A.prototype.read_uint16=function(S){var e=this.input;if(S+2>e.length)throw g("unexpected EOF","EBADDATA");return this.big_endian?e[S]*256+e[S+1]:e[S]+e[S+1]*256},A.prototype.read_uint32=function(S){var e=this.input;if(S+4>e.length)throw g("unexpected EOF","EBADDATA");return this.big_endian?e[S]*16777216+e[S+1]*65536+e[S+2]*256+e[S+3]:e[S]+e[S+1]*256+e[S+2]*65536+e[S+3]*16777216},A.prototype.is_subifd_link=function(S,e){return S===0&&e===34665||S===0&&e===34853||S===34665&&e===40965},A.prototype.exif_format_length=function(S){switch(S){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},A.prototype.exif_format_read=function(S,e){var t;switch(S){case 1:case 2:return t=this.input[e],t;case 6:return t=this.input[e],t|(t&128)*33554430;case 3:return t=this.read_uint16(e),t;case 8:return t=this.read_uint16(e),t|(t&32768)*131070;case 4:return t=this.read_uint32(e),t;case 9:return t=this.read_uint32(e),t|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},A.prototype.scan_ifd=function(S,e,t){var r=this.read_uint16(e);e+=2;for(var o=0;othis.input.length)throw g("unexpected EOF","EBADDATA");for(var d=[],T=h,l=0;l0&&(this.ifds_to_read.push({id:n,offset:d[0]}),p=!0);var w={is_big_endian:this.big_endian,ifd:S,tag:n,format:i,count:a,entry_offset:e+this.start,data_length:c,data_offset:h+this.start,value:d,is_subifd_link:p};if(t(w)===!1){this.aborted=!0;return}e+=12}S===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(e)})},H.exports.ExifParser=A,H.exports.get_orientation=function(S){var e=0;try{return new A(S,0,S.length).each(function(t){if(t.ifd===0&&t.tag===274&&Array.isArray(t.value))return e=t.value[0],!1}),e}catch{return-1}}}}),DL=ke({"node_modules/probe-image-size/lib/parse_sync/avif.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=RL(),e=ux(),t=g("ftyp");H.exports=function(r){if(x(r,4,t)){var o=S.unbox(r,0);if(o){var n=S.getMimeType(o.data);if(n){for(var i,a=o.end;;){var s=S.unbox(r,a);if(!s)break;if(a=s.end,s.boxtype==="mdat")return;if(s.boxtype==="meta"){i=s.data;break}}if(i){var c=S.readSizeFromMeta(i);if(c){var h={width:c.width,height:c.height,type:n.type,mime:n.mime,wUnits:"px",hUnits:"px"};if(c.variants.length>1&&(h.variants=c.variants),c.orientation&&(h.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=r.length){var p=A(r,c.exif_location.offset),d=r.slice(c.exif_location.offset+p+4,c.exif_location.offset+c.exif_location.length),T=e.get_orientation(d);T>0&&(h.orientation=T)}return h}}}}}}}}),zL=ke({"node_modules/probe-image-size/lib/parse_sync/bmp.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g("BM");H.exports=function(e){if(!(e.length<26)&&x(e,0,S))return{width:A(e,18),height:A(e,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}}}),FL=ke({"node_modules/probe-image-size/lib/parse_sync/gif.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g("GIF87a"),e=g("GIF89a");H.exports=function(t){if(!(t.length<10)&&!(!x(t,0,S)&&!x(t,0,e)))return{width:A(t,6),height:A(t,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}}}),OL=ke({"node_modules/probe-image-size/lib/parse_sync/ico.js"(Z,H){"use strict";var g=Lu().readUInt16LE,x=0,A=1,S=16;H.exports=function(e){var t=g(e,0),r=g(e,2),o=g(e,4);if(!(t!==x||r!==A||!o)){for(var n=[],i={width:0,height:0},a=0;ai.width||c>i.height)&&(i=h)}return{width:i.width,height:i.height,variants:n,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}}}),BL=ke({"node_modules/probe-image-size/lib/parse_sync/jpeg.js"(Z,H){"use strict";var g=Lu().readUInt16BE,x=Lu().str2arr,A=Lu().sliceEq,S=ux(),e=x("Exif\0\0");H.exports=function(t){if(!(t.length<2)&&!(t[0]!==255||t[1]!==216||t[2]!==255))for(var r=2;;){for(;;){if(t.length-r<2)return;if(t[r++]===255)break}for(var o=t[r++],n;o===255;)o=t[r++];if(208<=o&&o<=217||o===1)n=0;else if(192<=o&&o<=254){if(t.length-r<2)return;n=g(t,r)-2,r+=2}else return;if(o===217||o===218)return;var i;if(o===225&&n>=10&&A(t,r,e)&&(i=S.get_orientation(t.slice(r+6,r+n))),n>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(t.length-r0&&(a.orientation=i),a}r+=n}}}}),NL=ke({"node_modules/probe-image-size/lib/parse_sync/png.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(`\x89PNG\r - -`),e=g("IHDR");H.exports=function(t){if(!(t.length<24)&&x(t,0,S)&&x(t,12,e))return{width:A(t,16),height:A(t,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}}}),UL=ke({"node_modules/probe-image-size/lib/parse_sync/psd.js"(Z,H){"use strict";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g("8BPS\0");H.exports=function(e){if(!(e.length<22)&&x(e,0,S))return{width:A(e,18),height:A(e,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}}}),jL=ke({"node_modules/probe-image-size/lib/parse_sync/svg.js"(Z,H){"use strict";function g(s){return s===32||s===9||s===13||s===10}function x(s){return typeof s=="number"&&isFinite(s)&&s>0}function A(s){var c=0,h=s.length;for(s[0]===239&&s[1]===187&&s[2]===191&&(c=3);c]*>/,e=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,t=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,r=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,o=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,n=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function i(s){var c=s.match(t),h=s.match(r),p=s.match(o);return{width:c&&(c[1]||c[2]),height:h&&(h[1]||h[2]),viewbox:p&&(p[1]||p[2])}}function a(s){return n.test(s)?s.match(n)[0]:"px"}H.exports=function(s){if(A(s)){for(var c="",h=0;h>14&16383)+1,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function i(a,s){return{width:(a[s+6]<<16|a[s+5]<<8|a[s+4])+1,height:(a[s+9]<a.length)){for(;s+8=10?c=c||o(a,s+8):d==="VP8L"&&T>=9?c=c||n(a,s+8):d==="VP8X"&&T>=10?c=c||i(a,s+8):d==="EXIF"&&(h=e.get_orientation(a.slice(s+8,s+8+T)),s=1/0),s+=8+T}if(c)return h>0&&(c.orientation=h),c}}}}}),HL=ke({"node_modules/probe-image-size/lib/parsers_sync.js"(Z,H){"use strict";H.exports={avif:DL(),bmp:zL(),gif:FL(),ico:OL(),jpeg:BL(),png:NL(),psd:UL(),svg:jL(),tiff:VL(),webp:qL()}}}),GL=ke({"node_modules/probe-image-size/sync.js"(Z,H){"use strict";var g=HL();function x(A){for(var S=Object.keys(g),e=0;e0;)P=c.c2p(E+B*u),B--;for(B=0;z===void 0&&B0;)F=h.c2p(m+B*y),B--;if(PG[0];if($||J){var X=f+I/2,re=z+N/2;se+="transform:"+A(X+"px",re+"px")+"scale("+($?-1:1)+","+(J?-1:1)+")"+A(-X+"px",-re+"px")+";"}}le.attr("style",se);var ae=new Promise(function(j){if(_._hasZ)j();else if(_._hasSource)if(_._canvas&&_._canvas.el.width===b&&_._canvas.el.height===v&&_._canvas.source===_.source)j();else{var ee=document.createElement("canvas");ee.width=b,ee.height=v;var ie=ee.getContext("2d",{willReadFrequently:!0});_._image=_._image||new Image;var ce=_._image;ce.onload=function(){ie.drawImage(ce,0,0),_._canvas={el:ee,source:_.source},j()},ce.setAttribute("src",_.source)}}).then(function(){var j,ee;if(_._hasZ)ee=Q(function(xe,Te){var Ue=M[Te][xe];return x.isTypedArray(Ue)&&(Ue=Array.from(Ue)),Ue}),j=ee.toDataURL("image/png");else if(_._hasSource)if(w)j=_.source;else{var ie=_._canvas.el.getContext("2d",{willReadFrequently:!0}),ce=ie.getImageData(0,0,b,v).data;ee=Q(function(xe,Te){var Ue=4*(Te*b+xe);return[ce[Ue],ce[Ue+1],ce[Ue+2],ce[Ue+3]]}),j=ee.toDataURL("image/png")}le.attr({"xlink:href":j,height:N,width:I,x:f,y:z})});n._promises.push(ae)})}}}),YL=ke({"src/traces/image/style.js"(Z,H){"use strict";var g=_i();H.exports=function(A){g.select(A).selectAll(".im image").style("opacity",function(S){return S[0].trace.opacity})}}}),KL=ke({"src/traces/image/hover.js"(Z,H){"use strict";var g=Ec(),x=un(),A=x.isArrayOrTypedArray,S=ny();H.exports=function(t,r,o){var n=t.cd[0],i=n.trace,a=t.xa,s=t.ya;if(!(g.inbox(r-n.x0,r-(n.x0+n.w*i.dx),0)>0||g.inbox(o-n.y0,o-(n.y0+n.h*i.dy),0)>0)){var c=Math.floor((r-n.x0)/i.dx),h=Math.floor(Math.abs(o-n.y0)/i.dy),p;if(i._hasZ?p=n.z[h][c]:i._hasSource&&(p=i._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),!!p){var d=n.hi||i.hoverinfo,T;if(d){var l=d.split("+");l.indexOf("all")!==-1&&(l=["color"]),l.indexOf("color")!==-1&&(T=!0)}var _=S.colormodel[i.colormodel],w=_.colormodel||i.colormodel,M=w.length,E=i._scaler(p),m=_.suffix,b=[];(i.hovertemplate||T)&&(b.push("["+[E[0]+m[0],E[1]+m[1],E[2]+m[2]].join(", ")),M===4&&b.push(", "+E[3]+m[3]),b.push("]"),b=b.join(""),t.extraText=w.toUpperCase()+": "+b);var v;A(i.hovertext)&&A(i.hovertext[h])?v=i.hovertext[h][c]:A(i.text)&&A(i.text[h])&&(v=i.text[h][c]);var u=s.c2p(n.y0+(h+.5)*i.dy),y=n.x0+(c+.5)*i.dx,f=n.y0+(h+.5)*i.dy,P="["+p.slice(0,i.colormodel.length).join(", ")+"]";return[x.extendFlat(t,{index:[h,c],x0:a.c2p(n.x0+c*i.dx),x1:a.c2p(n.x0+(c+1)*i.dx),y0:u,y1:u,color:E,xVal:y,xLabelVal:y,yVal:f,yLabelVal:f,zLabelVal:P,text:v,hovertemplateLabels:{zLabel:P,colorLabel:b,"color[0]Label":E[0]+m[0],"color[1]Label":E[1]+m[1],"color[2]Label":E[2]+m[2],"color[3]Label":E[3]+m[3]}})]}}}}}),JL=ke({"src/traces/image/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return"xVal"in A&&(x.x=A.xVal),"yVal"in A&&(x.y=A.yVal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x.color=A.color,x.colormodel=A.trace.colormodel,x.z||(x.z=A.color),x}}}),$L=ke({"src/traces/image/index.js"(Z,H){"use strict";H.exports={attributes:_3(),supplyDefaults:Xk(),calc:XL(),plot:ZL(),style:YL(),hoverPoints:KL(),eventData:JL(),moduleType:"trace",name:"image",basePlotModule:xf(),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}}}),QL=ke({"lib/image.js"(Z,H){"use strict";H.exports=$L()}}),Vm=ke({"src/traces/pie/attributes.js"(Z,H){"use strict";var g=Ol(),x=Yu().attributes,A=Il(),S=If(),e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=To().extendFlat,o=xh().pattern,n=A({editType:"plot",arrayOk:!0,colorEditType:"plot"});H.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:S.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},pattern:o,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:r({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:e({},{keys:["label","color","value","percent","text"]}),texttemplate:t({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:r({},n,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:r({},n,{}),outsidetextfont:r({},n,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:r({},n,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:x({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"}}}}),qm=ke({"src/traces/pie/defaults.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Vm(),S=Yu().defaults,e=Od().handleText,t=un().coercePattern;function r(i,a){var s=x.isArrayOrTypedArray(i),c=x.isArrayOrTypedArray(a),h=Math.min(s?i.length:1/0,c?a.length:1/0);if(isFinite(h)||(h=0),h&&c){for(var p,d=0;d0){p=!0;break}}p||(h=0)}return{hasLabels:s,hasValues:c,len:h}}function o(i,a,s,c,h){var p=c("marker.line.width");p&&c("marker.line.color",h?void 0:s.paper_bgcolor);var d=c("marker.colors");t(c,"marker.pattern",d),i.marker&&!a.marker.pattern.fgcolor&&(a.marker.pattern.fgcolor=i.marker.colors),a.marker.pattern.bgcolor||(a.marker.pattern.bgcolor=s.paper_bgcolor)}function n(i,a,s,c){function h(f,P){return x.coerce(i,a,A,f,P)}var p=h("labels"),d=h("values"),T=r(p,d),l=T.len;if(a._hasLabels=T.hasLabels,a._hasValues=T.hasValues,!a._hasLabels&&a._hasValues&&(h("label0"),h("dlabel")),!l){a.visible=!1;return}a._length=l,o(i,a,c,h,!0),h("scalegroup");var _=h("text"),w=h("texttemplate"),M;if(w||(M=h("textinfo",x.isArrayOrTypedArray(_)?"text+percent":"percent")),h("hovertext"),h("hovertemplate"),w||M&&M!=="none"){var E=h("textposition");e(i,a,c,h,E,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var m=Array.isArray(E)||E==="auto",b=m||E==="outside";b&&h("automargin"),(E==="inside"||E==="auto"||Array.isArray(E))&&h("insidetextorientation")}else M==="none"&&h("textposition","none");S(a,c,h);var v=h("hole"),u=h("title.text");if(u){var y=h("title.position",v?"middle center":"top center");!v&&y==="middle center"&&(a.title.position="top center"),x.coerceFont(h,"title.font",c.font)}h("sort"),h("direction"),h("rotation"),h("pull")}H.exports={handleLabelsAndValues:r,handleMarkerDefaults:o,supplyDefaults:n}}}),cx=ke({"src/traces/pie/layout_attributes.js"(Z,H){"use strict";H.exports={hiddenlabels:{valType:"data_array",editType:"calc"},piecolorway:{valType:"colorlist",editType:"calc"},extendpiecolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),eP=ke({"src/traces/pie/layout_defaults.js"(Z,H){"use strict";var g=un(),x=cx();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("hiddenlabels"),t("piecolorway",e.colorway),t("extendpiecolors")}}}),sy=ke({"src/traces/pie/calc.js"(Z,H){"use strict";var g=Yn(),x=ru(),A=eo(),S={};function e(n,i){var a=[],s=n._fullLayout,c=s.hiddenlabels||[],h=i.labels,p=i.marker.colors||[],d=i.values,T=i._length,l=i._hasValues&&T,_,w;if(i.dlabel)for(h=new Array(T),_=0;_=0});var P=i.type==="funnelarea"?b:i.sort;return P&&a.sort(function(L,z){return z.v-L.v}),a[0]&&(a[0].vTotal=m),a}function t(n){return function(a,s){return!a||(a=x(a),!a.isValid())?!1:(a=A.addOpacity(a,a.getAlpha()),n[s]||(n[s]=a),a)}}function r(n,i){var a=(i||{}).type;a||(a="pie");var s=n._fullLayout,c=n.calcdata,h=s[a+"colorway"],p=s["_"+a+"colormap"];s["extend"+a+"colors"]&&(h=o(h,S));for(var d=0,T=0;T0&&(rt+=Et*ue.pxmid[0],ot+=Et*ue.pxmid[1])}ue.cxFinal=rt,ue.cyFinal=ot;function Bt(_t,Be,Ke,je){var Se=je*(Be[0]-_t[0]),He=je*(Be[1]-_t[1]);return"a"+je*ce.r+","+je*ce.r+" 0 "+ue.largeArc+(Ke?" 1 ":" 0 ")+Se+","+He}var qt=xe.hole;if(ue.v===ce.vTotal){var fr="M"+(rt+ue.px0[0])+","+(ot+ue.px0[1])+Bt(ue.px0,ue.pxmid,!0,1)+Bt(ue.pxmid,ue.px0,!0,1)+"Z";qt?Lt.attr("d","M"+(rt+qt*ue.px0[0])+","+(ot+qt*ue.px0[1])+Bt(ue.px0,ue.pxmid,!1,qt)+Bt(ue.pxmid,ue.px0,!1,qt)+"Z"+fr):Lt.attr("d",fr)}else{var ar=Bt(ue.px0,ue.px1,!0,1);if(qt){var Rr=1-qt;Lt.attr("d","M"+(rt+qt*ue.px1[0])+","+(ot+qt*ue.px1[1])+Bt(ue.px1,ue.px0,!1,qt)+"l"+Rr*ue.px0[0]+","+Rr*ue.px0[1]+ar+"Z")}else Lt.attr("d","M"+rt+","+ot+"l"+ue.px0[0]+","+ue.px0[1]+ar+"Z")}fe($,ue,ce);var gr=h.castOption(xe.textposition,ue.pts),br=et.selectAll("g.slicetext").data(ue.text&&gr!=="none"?[0]:[]);br.enter().append("g").classed("slicetext",!0),br.exit().remove(),br.each(function(){var _t=t.ensureSingle(g.select(this),"text","",function(Le){Le.attr("data-notex",1)}),Be=t.ensureUniformFontSize($,gr==="outside"?w(xe,ue,re.font):M(xe,ue,re.font));_t.text(ue.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(e.font,Be).call(n.convertToTspans,$);var Ke=e.bBox(_t.node()),je;if(gr==="outside")je=z(Ke,ue);else if(je=m(Ke,ue,ce),gr==="auto"&&je.scale<1){var Se=t.ensureUniformFontSize($,xe.outsidetextfont);_t.call(e.font,Se),Ke=e.bBox(_t.node()),je=z(Ke,ue)}var He=je.textPosAngle,Ee=He===void 0?ue.pxmid:se(ce.r,He);if(je.targetX=rt+Ee[0]*je.rCenter+(je.x||0),je.targetY=ot+Ee[1]*je.rCenter+(je.y||0),G(je,Ke),je.outside){var we=je.targetY;ue.yLabelMin=we-Ke.height/2,ue.yLabelMid=we,ue.yLabelMax=we+Ke.height/2,ue.labelExtraX=0,ue.labelExtraY=0,Ie=!0}je.fontSize=Be.size,a(xe.type,je,re),ee[Oe].transform=je,t.setTransormAndDisplay(_t,je)})});var Ye=g.select(this).selectAll("g.titletext").data(xe.title.text?[0]:[]);if(Ye.enter().append("g").classed("titletext",!0),Ye.exit().remove(),Ye.each(function(){var ue=t.ensureSingle(g.select(this),"text","",function(ot){ot.attr("data-notex",1)}),Oe=xe.title.text;xe._meta&&(Oe=t.templateString(Oe,xe._meta)),ue.text(Oe).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(e.font,xe.title.font).call(n.convertToTspans,$);var rt;xe.title.position==="middle center"?rt=F(ce):rt=B(ce,ae),ue.attr("transform",o(rt.x,rt.y)+r(Math.min(1,rt.scale))+o(rt.tx,rt.ty))}),Ie&&U(Ue,xe),l(Te,xe),Ie&&xe.automargin){var it=e.bBox(ie.node()),at=xe.domain,tt=ae.w*(at.x[1]-at.x[0]),ut=ae.h*(at.y[1]-at.y[0]),Me=(.5*tt-ce.r)/ae.w,pe=(.5*ut-ce.r)/ae.h;x.autoMargin($,"pie."+xe.uid+".automargin",{xl:at.x[0]-Me,xr:at.x[1]+Me,yb:at.y[0]-pe,yt:at.y[1]+pe,l:Math.max(ce.cx-ce.r-it.left,0),r:Math.max(it.right-(ce.cx+ce.r),0),b:Math.max(it.bottom-(ce.cy+ce.r),0),t:Math.max(ce.cy-ce.r-it.top,0),pad:5})}})});setTimeout(function(){j.selectAll("tspan").each(function(){var ee=g.select(this);ee.attr("dy")&&ee.attr("dy",ee.attr("dy"))})},0)}function l($,J){$.each(function(X){var re=g.select(this);if(!X.labelExtraX&&!X.labelExtraY){re.select("path.textline").remove();return}var ae=re.select("g.slicetext text");X.transform.targetX+=X.labelExtraX,X.transform.targetY+=X.labelExtraY,t.setTransormAndDisplay(ae,X.transform);var j=X.cxFinal+X.pxmid[0],ee=X.cyFinal+X.pxmid[1],ie="M"+j+","+ee,ce=(X.yLabelMax-X.yLabelMin)*(X.pxmid[0]<0?-1:1)/4;if(X.labelExtraX){var xe=X.labelExtraX*X.pxmid[1]/X.pxmid[0],Te=X.yLabelMid+X.labelExtraY-(X.cyFinal+X.pxmid[1]);Math.abs(xe)>Math.abs(Te)?ie+="l"+Te*X.pxmid[0]/X.pxmid[1]+","+Te+"H"+(j+X.labelExtraX+ce):ie+="l"+X.labelExtraX+","+xe+"v"+(Te-xe)+"h"+ce}else ie+="V"+(X.yLabelMid+X.labelExtraY)+"h"+ce;t.ensureSingle(re,"path","textline").call(S.stroke,J.outsidetextfont.color).attr({"stroke-width":Math.min(2,J.outsidetextfont.size/8),d:ie,fill:"none"})})}function _($,J,X){var re=X[0],ae=re.cx,j=re.cy,ee=re.trace,ie=ee.type==="funnelarea";"_hasHoverLabel"in ee||(ee._hasHoverLabel=!1),"_hasHoverEvent"in ee||(ee._hasHoverEvent=!1),$.on("mouseover",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];if(!(J._dragging||xe.hovermode===!1)){var Ue=Te.hoverinfo;if(Array.isArray(Ue)&&(Ue=A.castHoverinfo({hoverinfo:[h.castOption(Ue,ce.pts)],_module:ee._module},xe,0)),Ue==="all"&&(Ue="label+text+value+percent+name"),Te.hovertemplate||Ue!=="none"&&Ue!=="skip"&&Ue){var Ie=ce.rInscribed||0,Ye=ae+ce.pxmid[0]*(1-Ie),it=j+ce.pxmid[1]*(1-Ie),at=xe.separators,tt=[];if(Ue&&Ue.indexOf("label")!==-1&&tt.push(ce.label),ce.text=h.castOption(Te.hovertext||Te.text,ce.pts),Ue&&Ue.indexOf("text")!==-1){var ut=ce.text;t.isValidTextValue(ut)&&tt.push(ut)}ce.value=ce.v,ce.valueLabel=h.formatPieValue(ce.v,at),Ue&&Ue.indexOf("value")!==-1&&tt.push(ce.valueLabel),ce.percent=ce.v/re.vTotal,ce.percentLabel=h.formatPiePercent(ce.percent,at),Ue&&Ue.indexOf("percent")!==-1&&tt.push(ce.percentLabel);var Me=Te.hoverlabel,pe=Me.font,ue=[];A.loneHover({trace:ee,x0:Ye-Ie*re.r,x1:Ye+Ie*re.r,y:it,_x0:ie?ae+ce.TL[0]:Ye-Ie*re.r,_x1:ie?ae+ce.TR[0]:Ye+Ie*re.r,_y0:ie?j+ce.TL[1]:it-Ie*re.r,_y1:ie?j+ce.BL[1]:it+Ie*re.r,text:tt.join("
"),name:Te.hovertemplate||Ue.indexOf("name")!==-1?Te.name:void 0,idealAlign:ce.pxmid[0]<0?"left":"right",color:h.castOption(Me.bgcolor,ce.pts)||ce.color,borderColor:h.castOption(Me.bordercolor,ce.pts),fontFamily:h.castOption(pe.family,ce.pts),fontSize:h.castOption(pe.size,ce.pts),fontColor:h.castOption(pe.color,ce.pts),nameLength:h.castOption(Me.namelength,ce.pts),textAlign:h.castOption(Me.align,ce.pts),hovertemplate:h.castOption(Te.hovertemplate,ce.pts),hovertemplateLabels:ce,eventData:[p(ce,Te)]},{container:xe._hoverlayer.node(),outerContainer:xe._paper.node(),gd:J,inOut_bbox:ue}),ce.bbox=ue[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,J.emit("plotly_hover",{points:[p(ce,Te)],event:g.event})}}),$.on("mouseout",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index],Ue=g.select(this).datum();ee._hasHoverEvent&&(ce.originalEvent=g.event,J.emit("plotly_unhover",{points:[p(Ue,Te)],event:g.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(A.loneUnhover(xe._hoverlayer.node()),ee._hasHoverLabel=!1)}),$.on("click",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];J._dragging||xe.hovermode===!1||(J._hoverdata=[p(ce,Te)],A.click(J,g.event))})}function w($,J,X){var re=h.castOption($.outsidetextfont.color,J.pts)||h.castOption($.textfont.color,J.pts)||X.color,ae=h.castOption($.outsidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.outsidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.outsidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.outsidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.outsidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.outsidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.outsidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.outsidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re,family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function M($,J,X){var re=h.castOption($.insidetextfont.color,J.pts);!re&&$._input.textfont&&(re=h.castOption($._input.textfont.color,J.pts));var ae=h.castOption($.insidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.insidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.insidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.insidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.insidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.insidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.insidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.insidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re||S.contrast(J.color),family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function E($,J){for(var X,re,ae=0;ae<$.length;ae++)if(X=$[ae][0],re=X.trace,re.title.text){var j=re.title.text;re._meta&&(j=t.templateString(j,re._meta));var ee=e.tester.append("text").attr("data-notex",1).text(j).call(e.font,re.title.font).call(n.convertToTspans,J),ie=e.bBox(ee.node(),!0);X.titleBox={width:ie.width,height:ie.height},ee.remove()}}function m($,J,X){var re=X.r||J.rpx1,ae=J.rInscribed,j=J.startangle===J.stopangle;if(j)return{rCenter:1-ae,scale:0,rotate:0,textPosAngle:0};var ee=J.ring,ie=ee===1&&Math.abs(J.startangle-J.stopangle)===Math.PI*2,ce=J.halfangle,xe=J.midangle,Te=X.trace.insidetextorientation,Ue=Te==="horizontal",Ie=Te==="tangential",Ye=Te==="radial",it=Te==="auto",at=[],tt;if(!it){var ut=function(et,Lt){if(b(J,et)){var Et=Math.abs(et-J.startangle),Bt=Math.abs(et-J.stopangle),qt=Et=-4;Me-=2)ut(Math.PI*Me,"tan");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1),"tan")}if(Ue||Ye){for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1.5),"rad");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+.5),"rad")}}if(ie||it||Ue){var pe=Math.sqrt($.width*$.width+$.height*$.height);if(tt={scale:ae*re*2/pe,rCenter:1-ae,rotate:0},tt.textPosAngle=(J.startangle+J.stopangle)/2,tt.scale>=1)return tt;at.push(tt)}(it||Ye)&&(tt=v($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt)),(it||Ie)&&(tt=u($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt));for(var ue=0,Oe=0,rt=0;rt=1)break}return at[ue]}function b($,J){var X=$.startangle,re=$.stopangle;return X>J&&J>re||X0?1:-1)/2,y:j/(1+X*X/(re*re)),outside:!0}}function F($){var J=Math.sqrt($.titleBox.width*$.titleBox.width+$.titleBox.height*$.titleBox.height);return{x:$.cx,y:$.cy,scale:$.trace.hole*$.r*2/J,tx:0,ty:-$.titleBox.height/2+$.trace.title.font.size}}function B($,J){var X=1,re=1,ae,j=$.trace,ee={x:$.cx,y:$.cy},ie={tx:0,ty:0};ie.ty+=j.title.font.size,ae=N(j),j.title.position.indexOf("top")!==-1?(ee.y-=(1+ae)*$.r,ie.ty-=$.titleBox.height):j.title.position.indexOf("bottom")!==-1&&(ee.y+=(1+ae)*$.r);var ce=O($.r,$.trace.aspectratio),xe=J.w*(j.domain.x[1]-j.domain.x[0])/2;return j.title.position.indexOf("left")!==-1?(xe=xe+ce,ee.x-=(1+ae)*ce,ie.tx+=$.titleBox.width/2):j.title.position.indexOf("center")!==-1?xe*=2:j.title.position.indexOf("right")!==-1&&(xe=xe+ce,ee.x+=(1+ae)*ce,ie.tx-=$.titleBox.width/2),X=xe/$.titleBox.width,re=I($,J)/$.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(X,re),tx:ie.tx,ty:ie.ty}}function O($,J){return $/(J===void 0?1:J)}function I($,J){var X=$.trace,re=J.h*(X.domain.y[1]-X.domain.y[0]);return Math.min($.titleBox.height,re/2)}function N($){var J=$.pull;if(!J)return 0;var X;if(t.isArrayOrTypedArray(J))for(J=0,X=0;X<$.pull.length;X++)$.pull[X]>J&&(J=$.pull[X]);return J}function U($,J){var X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it;function at(pe,ue){return pe.pxmid[1]-ue.pxmid[1]}function tt(pe,ue){return ue.pxmid[1]-pe.pxmid[1]}function ut(pe,ue){ue||(ue={});var Oe=ue.labelExtraY+(re?ue.yLabelMax:ue.yLabelMin),rt=re?pe.yLabelMin:pe.yLabelMax,ot=re?pe.yLabelMax:pe.yLabelMin,et=pe.cyFinal+ee(pe.px0[1],pe.px1[1]),Lt=Oe-rt,Et,Bt,qt,fr,ar,Rr;if(Lt*ce>0&&(pe.labelExtraY=Lt),!!t.isArrayOrTypedArray(J.pull))for(Bt=0;Bt=(h.castOption(J.pull,qt.pts)||0))&&((pe.pxmid[1]-qt.pxmid[1])*ce>0?(fr=qt.cyFinal+ee(qt.px0[1],qt.px1[1]),Lt=fr-rt-pe.labelExtraY,Lt*ce>0&&(pe.labelExtraY+=Lt)):(ot+pe.labelExtraY-et)*ce>0&&(Et=3*ie*Math.abs(Bt-Ue.indexOf(pe)),ar=qt.cxFinal+j(qt.px0[0],qt.px1[0]),Rr=ar+Et-(pe.cxFinal+pe.pxmid[0])-pe.labelExtraX,Rr*ie>0&&(pe.labelExtraX+=Rr)))}for(re=0;re<2;re++)for(ae=re?at:tt,ee=re?Math.max:Math.min,ce=re?1:-1,X=0;X<2;X++){for(j=X?Math.max:Math.min,ie=X?1:-1,xe=$[re][X],xe.sort(ae),Te=$[1-re][X],Ue=Te.concat(xe),Ye=[],Ie=0;Ie1?(xe=X.r,Te=xe/ae.aspectratio):(Te=X.r,xe=Te*ae.aspectratio),xe*=(1+ae.baseratio)/2,ce=xe*Te}ee=Math.min(ee,ce/X.vTotal)}for(re=0;re<$.length;re++)if(X=$[re][0],ae=X.trace,ae.scalegroup===ie){var Ue=ee*X.vTotal;ae.type==="funnelarea"&&(Ue/=(1+ae.baseratio)/2,Ue/=ae.aspectratio),X.r=Math.sqrt(Ue)}}}function le($){var J=$[0],X=J.r,re=J.trace,ae=h.getRotationAngle(re.rotation),j=2*Math.PI/J.vTotal,ee="px0",ie="px1",ce,xe,Te;if(re.direction==="counterclockwise"){for(ce=0;ce<$.length&&$[ce].hidden;ce++);if(ce===$.length)return;ae+=j*$[ce].v,j*=-1,ee="px1",ie="px0"}for(Te=se(X,ae),ce=0;ce<$.length;ce++)xe=$[ce],!xe.hidden&&(xe[ee]=Te,xe.startangle=ae,ae+=j*xe.v/2,xe.pxmid=se(X,ae),xe.midangle=ae,ae+=j*xe.v/2,Te=se(X,ae),xe.stopangle=ae,xe[ie]=Te,xe.largeArc=xe.v>J.vTotal/2?1:0,xe.halfangle=Math.PI*Math.min(xe.v/J.vTotal,.5),xe.ring=1-re.hole,xe.rInscribed=L(xe,J))}function se($,J){return[$*Math.sin(J),-$*Math.cos(J)]}function fe($,J,X){var re=$._fullLayout,ae=X.trace,j=ae.texttemplate,ee=ae.textinfo;if(!j&&ee&&ee!=="none"){var ie=ee.split("+"),ce=function(ue){return ie.indexOf(ue)!==-1},xe=ce("label"),Te=ce("text"),Ue=ce("value"),Ie=ce("percent"),Ye=re.separators,it;if(it=xe?[J.label]:[],Te){var at=h.getFirstFilled(ae.text,J.pts);d(at)&&it.push(at)}Ue&&it.push(h.formatPieValue(J.v,Ye)),Ie&&it.push(h.formatPiePercent(J.v/X.vTotal,Ye)),J.text=it.join("
")}function tt(ue){return{label:ue.label,value:ue.v,valueLabel:h.formatPieValue(ue.v,re.separators),percent:ue.v/X.vTotal,percentLabel:h.formatPiePercent(ue.v/X.vTotal,re.separators),color:ue.color,text:ue.text,customdata:t.castOption(ae,ue.i,"customdata")}}if(j){var ut=t.castOption(ae,J.i,"texttemplate");if(!ut)J.text="";else{var Me=tt(J),pe=h.getFirstFilled(ae.text,J.pts);(d(pe)||pe==="")&&(Me.text=pe),J.text=t.texttemplateString(ut,Me,$._fullLayout._d3locale,Me,ae._meta||{})}}}function G($,J){var X=$.rotate*Math.PI/180,re=Math.cos(X),ae=Math.sin(X),j=(J.left+J.right)/2,ee=(J.top+J.bottom)/2;$.textX=j*re-ee*ae,$.textY=j*ae+ee*re,$.noCenter=!0}H.exports={plot:T,formatSliceLabel:fe,transformInsideText:m,determineInsideTextFont:M,positionTitleOutside:B,prerenderTitles:E,layoutAreas:W,attachFxHandlers:_,computeTransform:G}}}),rP=ke({"src/traces/pie/style.js"(Z,H){"use strict";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._pielayer.selectAll(".trace");A(e,t,"pie"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll("path.surface").each(function(a){g.select(this).call(x,a,n,e)})})}}}),nP=ke({"src/traces/pie/base_plot.js"(Z){"use strict";var H=Zu();Z.name="pie",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),iP=ke({"src/traces/pie/index.js"(Z,H){"use strict";H.exports={attributes:Vm(),supplyDefaults:qm().supplyDefaults,supplyLayoutDefaults:eP(),layoutAttributes:cx(),calc:sy().calc,crossTraceCalc:sy().crossTraceCalc,plot:fx().plot,style:rP(),styleOne:Wg(),moduleType:"trace",name:"pie",basePlotModule:nP(),categories:["pie-like","pie","showLegend"],meta:{}}}}),aP=ke({"lib/pie.js"(Z,H){"use strict";H.exports=iP()}}),oP=ke({"src/traces/sunburst/base_plot.js"(Z){"use strict";var H=Zu();Z.name="sunburst",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),U3=ke({"src/traces/sunburst/constants.js"(Z,H){"use strict";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}}}),T0=ke({"src/traces/sunburst/attributes.js"(Z,H){"use strict";var g=Ol(),x=Rs().hovertemplateAttrs,A=Rs().texttemplateAttrs,S=ou(),e=Yu().attributes,t=Vm(),r=U3(),o=To().extendFlat,n=xh().pattern;H.exports={labels:{valType:"data_array",editType:"calc"},parents:{valType:"data_array",editType:"calc"},values:{valType:"data_array",editType:"calc"},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc"},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc"},level:{valType:"any",editType:"plot",anim:!0},maxdepth:{valType:"integer",editType:"plot",dflt:-1},marker:o({colors:{valType:"data_array",editType:"calc"},line:{color:o({},t.marker.line.color,{dflt:null}),width:o({},t.marker.line.width,{dflt:1}),editType:"calc"},pattern:n,editType:"calc"},S("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1},editType:"plot"},text:t.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot"},texttemplate:A({editType:"plot"},{keys:r.eventDataKeys.concat(["label","value"])}),hovertext:t.hovertext,hoverinfo:o({},g.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:x({},{keys:r.eventDataKeys}),textfont:t.textfont,insidetextorientation:t.insidetextorientation,insidetextfont:t.insidetextfont,outsidetextfont:o({},t.outsidetextfont,{}),rotation:{valType:"angle",dflt:0,editType:"plot"},sort:t.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)"},editType:"calc"},domain:e({name:"sunburst",trace:!0,editType:"calc"})}}}),j3=ke({"src/traces/sunburst/layout_attributes.js"(Z,H){"use strict";H.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),sP=ke({"src/traces/sunburst/defaults.js"(Z,H){"use strict";var g=un(),x=T0(),A=Yu().defaults,S=Od().handleText,e=qm().handleMarkerDefaults,t=ku(),r=t.hasColorscale,o=t.handleDefaults;H.exports=function(i,a,s,c){function h(M,E){return g.coerce(i,a,x,M,E)}var p=h("labels"),d=h("parents");if(!p||!p.length||!d||!d.length){a.visible=!1;return}var T=h("values");T&&T.length?h("branchvalues"):h("count"),h("level"),h("maxdepth"),e(i,a,c,h);var l=a._hasColorscale=r(i,"marker","colors")||(i.marker||{}).coloraxis;l&&o(i,a,c,h,{prefix:"marker.",cLetter:"c"}),h("leaf.opacity",l?1:.7);var _=h("text");h("texttemplate"),a.texttemplate||h("textinfo",g.isArrayOrTypedArray(_)?"text+label":"label"),h("hovertext"),h("hovertemplate");var w="auto";S(i,a,c,h,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("insidetextorientation"),h("sort"),h("rotation"),h("root.color"),A(a,c,h),a._length=null}}}),lP=ke({"src/traces/sunburst/layout_defaults.js"(Z,H){"use strict";var g=un(),x=j3();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("sunburstcolorway",e.colorway),t("extendsunburstcolors")}}}),A0=ke({"node_modules/d3-hierarchy/dist/d3-hierarchy.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(je,Se){return je.parent===Se.parent?1:2}function A(je){return je.reduce(S,0)/je.length}function S(je,Se){return je+Se.x}function e(je){return 1+je.reduce(t,0)}function t(je,Se){return Math.max(je,Se.y)}function r(je){for(var Se;Se=je.children;)je=Se[0];return je}function o(je){for(var Se;Se=je.children;)je=Se[Se.length-1];return je}function n(){var je=x,Se=1,He=1,Ee=!1;function we(Le){var nt,pt=0;Le.eachAfter(function($t){var ur=$t.children;ur?($t.x=A(ur),$t.y=e(ur)):($t.x=nt?pt+=je($t,nt):0,$t.y=0,nt=$t)});var bt=r(Le),Rt=o(Le),Nt=bt.x-je(bt,Rt)/2,Xt=Rt.x+je(Rt,bt)/2;return Le.eachAfter(Ee?function($t){$t.x=($t.x-Le.x)*Se,$t.y=(Le.y-$t.y)*He}:function($t){$t.x=($t.x-Nt)/(Xt-Nt)*Se,$t.y=(1-(Le.y?$t.y/Le.y:1))*He})}return we.separation=function(Le){return arguments.length?(je=Le,we):je},we.size=function(Le){return arguments.length?(Ee=!1,Se=+Le[0],He=+Le[1],we):Ee?null:[Se,He]},we.nodeSize=function(Le){return arguments.length?(Ee=!0,Se=+Le[0],He=+Le[1],we):Ee?[Se,He]:null},we}function i(je){var Se=0,He=je.children,Ee=He&&He.length;if(!Ee)Se=1;else for(;--Ee>=0;)Se+=He[Ee].value;je.value=Se}function a(){return this.eachAfter(i)}function s(je){var Se=this,He,Ee=[Se],we,Le,nt;do for(He=Ee.reverse(),Ee=[];Se=He.pop();)if(je(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;--we)He.push(Ee[we]);return this}function h(je){for(var Se=this,He=[Se],Ee=[],we,Le,nt;Se=He.pop();)if(Ee.push(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;)He+=Ee[we].value;Se.value=He})}function d(je){return this.eachBefore(function(Se){Se.children&&Se.children.sort(je)})}function T(je){for(var Se=this,He=l(Se,je),Ee=[Se];Se!==He;)Se=Se.parent,Ee.push(Se);for(var we=Ee.length;je!==He;)Ee.splice(we,0,je),je=je.parent;return Ee}function l(je,Se){if(je===Se)return je;var He=je.ancestors(),Ee=Se.ancestors(),we=null;for(je=He.pop(),Se=Ee.pop();je===Se;)we=je,je=He.pop(),Se=Ee.pop();return we}function _(){for(var je=this,Se=[je];je=je.parent;)Se.push(je);return Se}function w(){var je=[];return this.each(function(Se){je.push(Se)}),je}function M(){var je=[];return this.eachBefore(function(Se){Se.children||je.push(Se)}),je}function E(){var je=this,Se=[];return je.each(function(He){He!==je&&Se.push({source:He.parent,target:He})}),Se}function m(je,Se){var He=new f(je),Ee=+je.value&&(He.value=je.value),we,Le=[He],nt,pt,bt,Rt;for(Se==null&&(Se=v);we=Le.pop();)if(Ee&&(we.value=+we.data.value),(pt=Se(we.data))&&(Rt=pt.length))for(we.children=new Array(Rt),bt=Rt-1;bt>=0;--bt)Le.push(nt=we.children[bt]=new f(pt[bt])),nt.parent=we,nt.depth=we.depth+1;return He.eachBefore(y)}function b(){return m(this).eachBefore(u)}function v(je){return je.children}function u(je){je.data=je.data.data}function y(je){var Se=0;do je.height=Se;while((je=je.parent)&&je.height<++Se)}function f(je){this.data=je,this.depth=this.height=0,this.parent=null}f.prototype=m.prototype={constructor:f,count:a,each:s,eachAfter:h,eachBefore:c,sum:p,sort:d,path:T,ancestors:_,descendants:w,leaves:M,links:E,copy:b};var P=Array.prototype.slice;function L(je){for(var Se=je.length,He,Ee;Se;)Ee=Math.random()*Se--|0,He=je[Se],je[Se]=je[Ee],je[Ee]=He;return je}function z(je){for(var Se=0,He=(je=L(P.call(je))).length,Ee=[],we,Le;Se0&&He*He>Ee*Ee+we*we}function I(je,Se){for(var He=0;Hebt?(we=(Rt+bt-Le)/(2*Rt),pt=Math.sqrt(Math.max(0,bt/Rt-we*we)),He.x=je.x-we*Ee-pt*nt,He.y=je.y-we*nt+pt*Ee):(we=(Rt+Le-bt)/(2*Rt),pt=Math.sqrt(Math.max(0,Le/Rt-we*we)),He.x=Se.x+we*Ee-pt*nt,He.y=Se.y+we*nt+pt*Ee)):(He.x=Se.x+He.r,He.y=Se.y)}function se(je,Se){var He=je.r+Se.r-1e-6,Ee=Se.x-je.x,we=Se.y-je.y;return He>0&&He*He>Ee*Ee+we*we}function fe(je){var Se=je._,He=je.next._,Ee=Se.r+He.r,we=(Se.x*He.r+He.x*Se.r)/Ee,Le=(Se.y*He.r+He.y*Se.r)/Ee;return we*we+Le*Le}function G(je){this._=je,this.next=null,this.previous=null}function $(je){if(!(we=je.length))return 0;var Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt;if(Se=je[0],Se.x=0,Se.y=0,!(we>1))return Se.r;if(He=je[1],Se.x=-He.r,He.x=Se.r,He.y=0,!(we>2))return Se.r+He.r;le(He,Se,Ee=je[2]),Se=new G(Se),He=new G(He),Ee=new G(Ee),Se.next=Ee.previous=He,He.next=Se.previous=Ee,Ee.next=He.previous=Se;e:for(pt=3;pt0)throw new Error("cycle");return pt}return He.id=function(Ee){return arguments.length?(je=re(Ee),He):je},He.parentId=function(Ee){return arguments.length?(Se=re(Ee),He):Se},He}function ue(je,Se){return je.parent===Se.parent?1:2}function Oe(je){var Se=je.children;return Se?Se[0]:je.t}function rt(je){var Se=je.children;return Se?Se[Se.length-1]:je.t}function ot(je,Se,He){var Ee=He/(Se.i-je.i);Se.c-=Ee,Se.s+=He,je.c+=Ee,Se.z+=He,Se.m+=He}function et(je){for(var Se=0,He=0,Ee=je.children,we=Ee.length,Le;--we>=0;)Le=Ee[we],Le.z+=Se,Le.m+=Se,Se+=Le.s+(He+=Le.c)}function Lt(je,Se,He){return je.a.parent===Se.parent?je.a:He}function Et(je,Se){this._=je,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Se}Et.prototype=Object.create(f.prototype);function Bt(je){for(var Se=new Et(je,0),He,Ee=[Se],we,Le,nt,pt;He=Ee.pop();)if(Le=He._.children)for(He.children=new Array(pt=Le.length),nt=pt-1;nt>=0;--nt)Ee.push(we=He.children[nt]=new Et(Le[nt],nt)),we.parent=He;return(Se.parent=new Et(null,0)).children=[Se],Se}function qt(){var je=ue,Se=1,He=1,Ee=null;function we(Rt){var Nt=Bt(Rt);if(Nt.eachAfter(Le),Nt.parent.m=-Nt.z,Nt.eachBefore(nt),Ee)Rt.eachBefore(bt);else{var Xt=Rt,$t=Rt,ur=Rt;Rt.eachBefore(function(ni){ni.x$t.x&&($t=ni),ni.depth>ur.depth&&(ur=ni)});var pn=Xt===$t?1:je(Xt,$t)/2,Rn=pn-Xt.x,Nn=Se/($t.x+pn+Rn),On=He/(ur.depth||1);Rt.eachBefore(function(ni){ni.x=(ni.x+Rn)*Nn,ni.y=ni.depth*On})}return Rt}function Le(Rt){var Nt=Rt.children,Xt=Rt.parent.children,$t=Rt.i?Xt[Rt.i-1]:null;if(Nt){et(Rt);var ur=(Nt[0].z+Nt[Nt.length-1].z)/2;$t?(Rt.z=$t.z+je(Rt._,$t._),Rt.m=Rt.z-ur):Rt.z=ur}else $t&&(Rt.z=$t.z+je(Rt._,$t._));Rt.parent.A=pt(Rt,$t,Rt.parent.A||Xt[0])}function nt(Rt){Rt._.x=Rt.z+Rt.parent.m,Rt.m+=Rt.parent.m}function pt(Rt,Nt,Xt){if(Nt){for(var $t=Rt,ur=Rt,pn=Nt,Rn=$t.parent.children[0],Nn=$t.m,On=ur.m,ni=pn.m,zn=Rn.m,Qn;pn=rt(pn),$t=Oe($t),pn&&$t;)Rn=Oe(Rn),ur=rt(ur),ur.a=Rt,Qn=pn.z+ni-$t.z-Nn+je(pn._,$t._),Qn>0&&(ot(Lt(pn,Rt,Xt),Rt,Qn),Nn+=Qn,On+=Qn),ni+=pn.m,Nn+=$t.m,zn+=Rn.m,On+=ur.m;pn&&!rt(ur)&&(ur.t=pn,ur.m+=ni-On),$t&&!Oe(Rn)&&(Rn.t=$t,Rn.m+=Nn-zn,Xt=Rt)}return Xt}function bt(Rt){Rt.x*=Se,Rt.y=Rt.depth*He}return we.separation=function(Rt){return arguments.length?(je=Rt,we):je},we.size=function(Rt){return arguments.length?(Ee=!1,Se=+Rt[0],He=+Rt[1],we):Ee?null:[Se,He]},we.nodeSize=function(Rt){return arguments.length?(Ee=!0,Se=+Rt[0],He=+Rt[1],we):Ee?[Se,He]:null},we}function fr(je,Se,He,Ee,we){for(var Le=je.children,nt,pt=-1,bt=Le.length,Rt=je.value&&(we-He)/je.value;++ptni&&(ni=Rt),Zt=Nn*Nn*gi,zn=Math.max(ni/Zt,Zt/On),zn>Qn){Nn-=Rt;break}Qn=zn}nt.push(bt={value:Nn,dice:ur1?Ee:1)},He}(ar);function br(){var je=gr,Se=!1,He=1,Ee=1,we=[0],Le=ae,nt=ae,pt=ae,bt=ae,Rt=ae;function Nt($t){return $t.x0=$t.y0=0,$t.x1=He,$t.y1=Ee,$t.eachBefore(Xt),we=[0],Se&&$t.eachBefore(Ue),$t}function Xt($t){var ur=we[$t.depth],pn=$t.x0+ur,Rn=$t.y0+ur,Nn=$t.x1-ur,On=$t.y1-ur;Nn=$t-1){var ni=Le[Xt];ni.x0=pn,ni.y0=Rn,ni.x1=Nn,ni.y1=On;return}for(var zn=Rt[Xt],Qn=ur/2+zn,gi=Xt+1,Zt=$t-1;gi>>1;Rt[Ft]On-Rn){var wr=(pn*Vt+Nn*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,wr,On),Nt(gi,$t,Vt,wr,Rn,Nn,On)}else{var $r=(Rn*Vt+On*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,Nn,$r),Nt(gi,$t,Vt,pn,$r,Nn,On)}}}function Be(je,Se,He,Ee,we){(je.depth&1?fr:Ie)(je,Se,He,Ee,we)}var Ke=function je(Se){function He(Ee,we,Le,nt,pt){if((bt=Ee._squarify)&&bt.ratio===Se)for(var bt,Rt,Nt,Xt,$t=-1,ur,pn=bt.length,Rn=Ee.value;++$t1?Ee:1)},He}(ar);g.cluster=n,g.hierarchy=m,g.pack=ie,g.packEnclose=z,g.packSiblings=J,g.partition=Ye,g.stratify=pe,g.tree=qt,g.treemap=br,g.treemapBinary=_t,g.treemapDice=Ie,g.treemapResquarify=Ke,g.treemapSlice=fr,g.treemapSliceDice=Be,g.treemapSquarify=gr,Object.defineProperty(g,"__esModule",{value:!0})})}}),M0=ke({"src/traces/sunburst/calc.js"(Z){"use strict";var H=A0(),g=Yn(),x=un(),A=ku().makeColorScaleFuncFromTrace,S=sy().makePullColorFn,e=sy().generateExtendedColors,t=ku().calc,r=Hi().ALMOST_EQUAL,o={},n={},i={};Z.calc=function(s,c){var h=s._fullLayout,p=c.ids,d=x.isArrayOrTypedArray(p),T=c.labels,l=c.parents,_=c.values,w=x.isArrayOrTypedArray(_),M=[],E={},m={},b=function(J,X){E[J]?E[J].push(X):E[J]=[X],m[X]=1},v=function(J){return J||typeof J=="number"},u=function(J){return!w||g(_[J])&&_[J]>=0},y,f,P;d?(y=Math.min(p.length,l.length),f=function(J){return v(p[J])&&u(J)},P=function(J){return String(p[J])}):(y=Math.min(T.length,l.length),f=function(J){return v(T[J])&&u(J)},P=function(J){return String(T[J])}),w&&(y=Math.min(y,_.length));for(var L=0;L1){for(var N=x.randstr(),U=0;U>8&15|H>>4&240,H>>4&15|H&240,(H&15)<<4|H&15,1):g===8?S0(H>>24&255,H>>16&255,H>>8&255,(H&255)/255):g===4?S0(H>>12&15|H>>8&240,H>>8&15|H>>4&240,H>>4&15|H&240,((H&15)<<4|H&15)/255):null):(H=J3.exec(Z))?new Th(H[1],H[2],H[3],1):(H=$3.exec(Z))?new Th(H[1]*255/100,H[2]*255/100,H[3]*255/100,1):(H=Q3.exec(Z))?S0(H[1],H[2],H[3],H[4]):(H=eT.exec(Z))?S0(H[1]*255/100,H[2]*255/100,H[3]*255/100,H[4]):(H=tT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,1):(H=rT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,H[4]):mx.hasOwnProperty(Z)?H3(mx[Z]):Z==="transparent"?new Th(NaN,NaN,NaN,0):null}function H3(Z){return new Th(Z>>16&255,Z>>8&255,Z&255,1)}function S0(Z,H,g,x){return x<=0&&(Z=H=g=NaN),new Th(Z,H,g,x)}function dx(Z){return Z instanceof Qv||(Z=uy(Z)),Z?(Z=Z.rgb(),new Th(Z.r,Z.g,Z.b,Z.opacity)):new Th}function E0(Z,H,g,x){return arguments.length===1?dx(Z):new Th(Z,H,g,x??1)}function Th(Z,H,g,x){this.r=+Z,this.g=+H,this.b=+g,this.opacity=+x}function G3(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}`}function fP(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}${Vp((isNaN(this.opacity)?1:this.opacity)*255)}`}function W3(){let Z=C0(this.opacity);return`${Z===1?"rgb(":"rgba("}${jp(this.r)}, ${jp(this.g)}, ${jp(this.b)}${Z===1?")":`, ${Z})`}`}function C0(Z){return isNaN(Z)?1:Math.max(0,Math.min(1,Z))}function jp(Z){return Math.max(0,Math.min(255,Math.round(Z)||0))}function Vp(Z){return Z=jp(Z),(Z<16?"0":"")+Z.toString(16)}function X3(Z,H,g,x){return x<=0?Z=H=g=NaN:g<=0||g>=1?Z=H=NaN:H<=0&&(Z=NaN),new Kd(Z,H,g,x)}function Z3(Z){if(Z instanceof Kd)return new Kd(Z.h,Z.s,Z.l,Z.opacity);if(Z instanceof Qv||(Z=uy(Z)),!Z)return new Kd;if(Z instanceof Kd)return Z;Z=Z.rgb();var H=Z.r/255,g=Z.g/255,x=Z.b/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=NaN,t=S-A,r=(S+A)/2;return t?(H===S?e=(g-x)/t+(g0&&r<1?0:e,new Kd(e,t,r,Z.opacity)}function vx(Z,H,g,x){return arguments.length===1?Z3(Z):new Kd(Z,H,g,x??1)}function Kd(Z,H,g,x){this.h=+Z,this.s=+H,this.l=+g,this.opacity=+x}function Y3(Z){return Z=(Z||0)%360,Z<0?Z+360:Z}function k0(Z){return Math.max(0,Math.min(1,Z||0))}function px(Z,H,g){return(Z<60?H+(g-H)*Z/60:Z<180?g:Z<240?H+(g-H)*(240-Z)/60:H)*255}var ep,qp,Hp,Gm,Jd,K3,J3,$3,Q3,eT,tT,rT,mx,gx=Er({"node_modules/d3-color/src/color.js"(){hx(),ep=.7,qp=1/ep,Hp="\\s*([+-]?\\d+)\\s*",Gm="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Jd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",K3=/^#([0-9a-f]{3,8})$/,J3=new RegExp(`^rgb\\(${Hp},${Hp},${Hp}\\)$`),$3=new RegExp(`^rgb\\(${Jd},${Jd},${Jd}\\)$`),Q3=new RegExp(`^rgba\\(${Hp},${Hp},${Hp},${Gm}\\)$`),eT=new RegExp(`^rgba\\(${Jd},${Jd},${Jd},${Gm}\\)$`),tT=new RegExp(`^hsl\\(${Gm},${Jd},${Jd}\\)$`),rT=new RegExp(`^hsla\\(${Gm},${Jd},${Jd},${Gm}\\)$`),mx={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Hm(Qv,uy,{copy(Z){return Object.assign(new this.constructor,this,Z)},displayable(){return this.rgb().displayable()},hex:V3,formatHex:V3,formatHex8:uP,formatHsl:cP,formatRgb:q3,toString:q3}),Hm(Th,E0,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},rgb(){return this},clamp(){return new Th(jp(this.r),jp(this.g),jp(this.b),C0(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:G3,formatHex:G3,formatHex8:fP,formatRgb:W3,toString:W3})),Hm(Kd,vx,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},rgb(){var Z=this.h%360+(this.h<0)*360,H=isNaN(Z)||isNaN(this.s)?0:this.s,g=this.l,x=g+(g<.5?g:1-g)*H,A=2*g-x;return new Th(px(Z>=240?Z-240:Z+120,A,x),px(Z,A,x),px(Z<120?Z+240:Z-120,A,x),this.opacity)},clamp(){return new Kd(Y3(this.h),k0(this.s),k0(this.l),C0(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(){let Z=C0(this.opacity);return`${Z===1?"hsl(":"hsla("}${Y3(this.h)}, ${k0(this.s)*100}%, ${k0(this.l)*100}%${Z===1?")":`, ${Z})`}`}}))}}),yx,_x,nT=Er({"node_modules/d3-color/src/math.js"(){yx=Math.PI/180,_x=180/Math.PI}});function iT(Z){if(Z instanceof pv)return new pv(Z.l,Z.a,Z.b,Z.opacity);if(Z instanceof Iv)return aT(Z);Z instanceof Th||(Z=dx(Z));var H=Ax(Z.r),g=Ax(Z.g),x=Ax(Z.b),A=bx((.2225045*H+.7168786*g+.0606169*x)/Ex),S,e;return H===g&&g===x?S=e=A:(S=bx((.4360747*H+.3850649*g+.1430804*x)/Sx),e=bx((.0139322*H+.0971045*g+.7141733*x)/Cx)),new pv(116*A-16,500*(S-A),200*(A-e),Z.opacity)}function xx(Z,H,g,x){return arguments.length===1?iT(Z):new pv(Z,H,g,x??1)}function pv(Z,H,g,x){this.l=+Z,this.a=+H,this.b=+g,this.opacity=+x}function bx(Z){return Z>oT?Math.pow(Z,.3333333333333333):Z/Lx+kx}function wx(Z){return Z>Gp?Z*Z*Z:Lx*(Z-kx)}function Tx(Z){return 255*(Z<=.0031308?12.92*Z:1.055*Math.pow(Z,.4166666666666667)-.055)}function Ax(Z){return(Z/=255)<=.04045?Z/12.92:Math.pow((Z+.055)/1.055,2.4)}function hP(Z){if(Z instanceof Iv)return new Iv(Z.h,Z.c,Z.l,Z.opacity);if(Z instanceof pv||(Z=iT(Z)),Z.a===0&&Z.b===0)return new Iv(NaN,0=1?(g=1,H-1):Math.floor(g*H),A=Z[x],S=Z[x+1],e=x>0?Z[x-1]:2*A-S,t=x()=>Z}});function hT(Z,H){return function(g){return Z+g*H}}function mP(Z,H,g){return Z=Math.pow(Z,g),H=Math.pow(H,g)-Z,g=1/g,function(x){return Math.pow(Z+x*H,g)}}function I0(Z,H){var g=H-Z;return g?hT(Z,g>180||g<-180?g-360*Math.round(g/360):g):hy(isNaN(Z)?H:Z)}function gP(Z){return(Z=+Z)==1?Ah:function(H,g){return g-H?mP(H,g,Z):hy(isNaN(H)?g:H)}}function Ah(Z,H){var g=H-Z;return g?hT(Z,g):hy(isNaN(Z)?H:Z)}var Zm=Er({"node_modules/d3-interpolate/src/color.js"(){fT()}});function dT(Z){return function(H){var g=H.length,x=new Array(g),A=new Array(g),S=new Array(g),e,t;for(e=0;eg&&(S=H.slice(g,S),t[e]?t[e]+=S:t[++e]=S),(x=x[0])===(A=A[0])?t[e]?t[e]+=A:t[++e]=A:(t[++e]=null,r.push({i:e,x:mv(x,A)})),g=F0.lastIndex;return g180?n+=360:n-o>180&&(o+=360),a.push({i:i.push(A(i)+"rotate(",null,x)-2,x:mv(o,n)})):n&&i.push(A(i)+"rotate("+n+x)}function t(o,n,i,a){o!==n?a.push({i:i.push(A(i)+"skewX(",null,x)-2,x:mv(o,n)}):n&&i.push(A(i)+"skewX("+n+x)}function r(o,n,i,a,s,c){if(o!==i||n!==a){var h=s.push(A(s)+"scale(",null,",",null,")");c.push({i:h-4,x:mv(o,i)},{i:h-2,x:mv(n,a)})}else(i!==1||a!==1)&&s.push(A(s)+"scale("+i+","+a+")")}return function(o,n){var i=[],a=[];return o=Z(o),n=Z(n),S(o.translateX,o.translateY,n.translateX,n.translateY,i,a),e(o.rotate,n.rotate,i,a),t(o.skewX,n.skewX,i,a),r(o.scaleX,o.scaleY,n.scaleX,n.scaleY,i,a),o=n=null,function(s){for(var c=-1,h=a.length,p;++cO0,interpolateArray:()=>yP,interpolateBasis:()=>lT,interpolateBasisClosed:()=>uT,interpolateCubehelix:()=>UT,interpolateCubehelixLong:()=>jT,interpolateDate:()=>xT,interpolateDiscrete:()=>bP,interpolateHcl:()=>OT,interpolateHclLong:()=>BT,interpolateHsl:()=>DT,interpolateHslLong:()=>zT,interpolateHue:()=>TP,interpolateLab:()=>FP,interpolateNumber:()=>mv,interpolateNumberArray:()=>Ox,interpolateObject:()=>wT,interpolateRgb:()=>R0,interpolateRgbBasis:()=>vT,interpolateRgbBasisClosed:()=>pT,interpolateRound:()=>MP,interpolateString:()=>AT,interpolateTransformCss:()=>CT,interpolateTransformSvg:()=>kT,interpolateZoom:()=>IT,piecewise:()=>UP,quantize:()=>VP});var Ym=Er({"node_modules/d3-interpolate/src/index.js"(){B0(),_T(),Fx(),cT(),bT(),wP(),AP(),D0(),Bx(),TT(),SP(),MT(),PP(),DP(),mT(),zP(),OP(),BP(),NP(),jP(),qP()}}),Ux=ke({"src/traces/sunburst/fill_one.js"(Z,H){"use strict";var g=$o(),x=eo();H.exports=function(S,e,t,r,o){var n=e.data.data,i=n.i,a=o||n.color;if(i>=0){e.i=n.i;var s=t.marker;s.pattern?(!s.colors||!s.pattern.shape)&&(s.color=a,e.color=a):(s.color=a,e.color=a),g.pointStyle(S,t,r,e)}else x.fill(S,a)}}}),VT=ke({"src/traces/sunburst/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._sunburstlayer.selectAll(".trace");S(o,n,"sunburst"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style("opacity",c.opacity),a.selectAll("path.surface").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,"marker.line.color")||x.defaultLine,d=A.castOption(i,h,"marker.line.width")||0;o.call(e,n,i,a).style("stroke-width",d).call(x.stroke,p).style("opacity",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),tp=ke({"src/traces/sunburst/helpers.js"(Z){"use strict";var H=un(),g=eo(),x=uv(),A=Fp();Z.findEntryWithLevel=function(r,o){var n;return o&&r.eachAfter(function(i){if(Z.getPtId(i)===o)return n=i.copy()}),n||r},Z.findEntryWithChild=function(r,o){var n;return r.eachAfter(function(i){for(var a=i.children||[],s=0;s0)},Z.getMaxDepth=function(r){return r.maxdepth>=0?r.maxdepth:1/0},Z.isHeader=function(r,o){return!(Z.isLeaf(r)||r.depth===o._maxDepth-1)};function t(r){return r.data.data.pid}Z.getParent=function(r,o){return Z.findEntryWithLevel(r,t(o))},Z.listPath=function(r,o){var n=r.parent;if(!n)return[];var i=o?[n.data[o]]:[n];return Z.listPath(n,o).concat(i)},Z.getPath=function(r){return Z.listPath(r,"label").join("/")+"/"},Z.formatValue=A.formatPieValue,Z.formatPercent=function(r,o){var n=H.formatPercent(r,0);return n==="0%"&&(n=A.formatPiePercent(r,o)),n}}}),j0=ke({"src/traces/sunburst/fx.js"(Z,H){"use strict";var g=_i(),x=lo(),A=gd().appendArrayPointValue,S=Ec(),e=un(),t=jg(),r=tp(),o=Fp(),n=o.formatPieValue;H.exports=function(s,c,h,p,d){var T=p[0],l=T.trace,_=T.hierarchy,w=l.type==="sunburst",M=l.type==="treemap"||l.type==="icicle";"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1);var E=function(v){var u=h._fullLayout;if(!(h._dragging||u.hovermode===!1)){var y=h._fullData[l.index],f=v.data.data,P=f.i,L=r.isHierarchyRoot(v),z=r.getParent(_,v),F=r.getValue(v),B=function(ee){return e.castOption(y,P,ee)},O=B("hovertemplate"),I=S.castHoverinfo(y,u,P),N=u.separators,U;if(O||I&&I!=="none"&&I!=="skip"){var W,Q;w&&(W=T.cx+v.pxmid[0]*(1-v.rInscribed),Q=T.cy+v.pxmid[1]*(1-v.rInscribed)),M&&(W=v._hoverX,Q=v._hoverY);var le={},se=[],fe=[],G=function(ee){return se.indexOf(ee)!==-1};I&&(se=I==="all"?y._module.attributes.hoverinfo.flags:I.split("+")),le.label=f.label,G("label")&&le.label&&fe.push(le.label),f.hasOwnProperty("v")&&(le.value=f.v,le.valueLabel=n(le.value,N),G("value")&&fe.push(le.valueLabel)),le.currentPath=v.currentPath=r.getPath(v.data),G("current path")&&!L&&fe.push(le.currentPath);var $,J=[],X=function(){J.indexOf($)===-1&&(fe.push($),J.push($))};le.percentParent=v.percentParent=F/r.getValue(z),le.parent=v.parentString=r.getPtLabel(z),G("percent parent")&&($=r.formatPercent(le.percentParent,N)+" of "+le.parent,X()),le.percentEntry=v.percentEntry=F/r.getValue(c),le.entry=v.entry=r.getPtLabel(c),G("percent entry")&&!L&&!v.onPathbar&&($=r.formatPercent(le.percentEntry,N)+" of "+le.entry,X()),le.percentRoot=v.percentRoot=F/r.getValue(_),le.root=v.root=r.getPtLabel(_),G("percent root")&&!L&&($=r.formatPercent(le.percentRoot,N)+" of "+le.root,X()),le.text=B("hovertext")||B("text"),G("text")&&($=le.text,e.isValidTextValue($)&&fe.push($)),U=[i(v,y,d.eventDataKeys)];var re={trace:y,y:Q,_x0:v._x0,_x1:v._x1,_y0:v._y0,_y1:v._y1,text:fe.join("
"),name:O||G("name")?y.name:void 0,color:B("hoverlabel.bgcolor")||f.color,borderColor:B("hoverlabel.bordercolor"),fontFamily:B("hoverlabel.font.family"),fontSize:B("hoverlabel.font.size"),fontColor:B("hoverlabel.font.color"),fontWeight:B("hoverlabel.font.weight"),fontStyle:B("hoverlabel.font.style"),fontVariant:B("hoverlabel.font.variant"),nameLength:B("hoverlabel.namelength"),textAlign:B("hoverlabel.align"),hovertemplate:O,hovertemplateLabels:le,eventData:U};w&&(re.x0=W-v.rInscribed*v.rpx1,re.x1=W+v.rInscribed*v.rpx1,re.idealAlign=v.pxmid[0]<0?"left":"right"),M&&(re.x=W,re.idealAlign=W<0?"left":"right");var ae=[];S.loneHover(re,{container:u._hoverlayer.node(),outerContainer:u._paper.node(),gd:h,inOut_bbox:ae}),U[0].bbox=ae[0],l._hasHoverLabel=!0}if(M){var j=s.select("path.surface");d.styleOne(j,v,y,h,{hovered:!0})}l._hasHoverEvent=!0,h.emit("plotly_hover",{points:U||[i(v,y,d.eventDataKeys)],event:g.event})}},m=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=g.select(this).datum();if(l._hasHoverEvent&&(v.originalEvent=g.event,h.emit("plotly_unhover",{points:[i(f,y,d.eventDataKeys)],event:g.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(S.loneUnhover(u._hoverlayer.node()),l._hasHoverLabel=!1),M){var P=s.select("path.surface");d.styleOne(P,f,y,h,{hovered:!1})}},b=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=w&&(r.isHierarchyRoot(v)||r.isLeaf(v)),P=r.getPtId(v),L=r.isEntry(v)?r.findEntryWithChild(_,P):r.findEntryWithLevel(_,P),z=r.getPtId(L),F={points:[i(v,y,d.eventDataKeys)],event:g.event};f||(F.nextLevel=z);var B=t.triggerHandler(h,"plotly_"+l.type+"click",F);if(B!==!1&&u.hovermode&&(h._hoverdata=[i(v,y,d.eventDataKeys)],S.click(h,g.event)),!f&&B!==!1&&!h._dragging&&!h._transitioning){x.call("_storeDirectGUIEdit",y,u._tracePreGUI[y.uid],{level:y.level});var O={data:[{level:z}],traces:[l.index]},I={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:"immediate",fromcurrent:!0};S.loneUnhover(u._hoverlayer.node()),x.call("animate",h,O,I)}};s.on("mouseover",E),s.on("mouseout",m),s.on("click",b)};function i(a,s,c){for(var h=a.data.data,p={curveNumber:s.index,pointNumber:h.i,data:s._input,fullData:s},d=0;dot.x1?2*Math.PI:0)+ee;et=ue.rpx1Ye?2*Math.PI:0)+ee;rt={x0:et,x1:et}}else rt={rpx0:se,rpx1:se},S.extendFlat(rt,pe(ue));else rt={rpx0:0,rpx1:0};else rt={x0:ee,x1:ee};return x(rt,ot)}function Me(ue){var Oe=J[T.getPtId(ue)],rt,ot=ue.transform;if(Oe)rt=Oe;else if(rt={rpx1:ue.rpx1,transform:{textPosAngle:ot.textPosAngle,scale:0,rotate:ot.rotate,rCenter:ot.rCenter,x:ot.x,y:ot.y}},$)if(ue.parent)if(Ye){var et=ue.x1>Ye?2*Math.PI:0;rt.x0=rt.x1=et}else S.extendFlat(rt,pe(ue));else rt.x0=rt.x1=ee;else rt.x0=rt.x1=ee;var Lt=x(rt.transform.textPosAngle,ue.transform.textPosAngle),Et=x(rt.rpx1,ue.rpx1),Bt=x(rt.x0,ue.x0),qt=x(rt.x1,ue.x1),fr=x(rt.transform.scale,ot.scale),ar=x(rt.transform.rotate,ot.rotate),Rr=ot.rCenter===0?3:rt.transform.rCenter===0?1/3:1,gr=x(rt.transform.rCenter,ot.rCenter),br=function(_t){return gr(Math.pow(_t,Rr))};return function(_t){var Be=Et(_t),Ke=Bt(_t),je=qt(_t),Se=br(_t),He=xe(Be,(Ke+je)/2),Ee=Lt(_t),we={pxmid:He,rpx1:Be,transform:{textPosAngle:Ee,rCenter:Se,x:ot.x,y:ot.y}};return r(B.type,ot,f),{transform:{targetX:Ue(we),targetY:Ie(we),scale:fr(_t),rotate:ar(_t),rCenter:Se}}}}function pe(ue){var Oe=ue.parent,rt=J[T.getPtId(Oe)],ot={};if(rt){var et=Oe.children,Lt=et.indexOf(ue),Et=et.length,Bt=x(rt.x0,rt.x1);ot.x0=Bt(Lt/Et),ot.x1=Bt(Lt/Et)}else ot.x0=ot.x1=0;return ot}}function _(m){return g.partition().size([2*Math.PI,m.height+1])(m)}Z.formatSliceLabel=function(m,b,v,u,y){var f=v.texttemplate,P=v.textinfo;if(!f&&(!P||P==="none"))return"";var L=y.separators,z=u[0],F=m.data.data,B=z.hierarchy,O=T.isHierarchyRoot(m),I=T.getParent(B,m),N=T.getValue(m);if(!f){var U=P.split("+"),W=function(ae){return U.indexOf(ae)!==-1},Q=[],le;if(W("label")&&F.label&&Q.push(F.label),F.hasOwnProperty("v")&&W("value")&&Q.push(T.formatValue(F.v,L)),!O){W("current path")&&Q.push(T.getPath(m.data));var se=0;W("percent parent")&&se++,W("percent entry")&&se++,W("percent root")&&se++;var fe=se>1;if(se){var G,$=function(ae){le=T.formatPercent(G,L),fe&&(le+=" of "+ae),Q.push(le)};W("percent parent")&&!O&&(G=N/T.getValue(I),$("parent")),W("percent entry")&&(G=N/T.getValue(b),$("entry")),W("percent root")&&(G=N/T.getValue(B),$("root"))}}return W("text")&&(le=S.castOption(v,F.i,"text"),S.isValidTextValue(le)&&Q.push(le)),Q.join("
")}var J=S.castOption(v,F.i,"texttemplate");if(!J)return"";var X={};F.label&&(X.label=F.label),F.hasOwnProperty("v")&&(X.value=F.v,X.valueLabel=T.formatValue(F.v,L)),X.currentPath=T.getPath(m.data),O||(X.percentParent=N/T.getValue(I),X.percentParentLabel=T.formatPercent(X.percentParent,L),X.parent=T.getPtLabel(I)),X.percentEntry=N/T.getValue(b),X.percentEntryLabel=T.formatPercent(X.percentEntry,L),X.entry=T.getPtLabel(b),X.percentRoot=N/T.getValue(B),X.percentRootLabel=T.formatPercent(X.percentRoot,L),X.root=T.getPtLabel(B),F.hasOwnProperty("color")&&(X.color=F.color);var re=S.castOption(v,F.i,"text");return(S.isValidTextValue(re)||re==="")&&(X.text=re),X.customdata=S.castOption(v,F.i,"customdata"),S.texttemplateString(J,X,y._d3locale,X,v._meta||{})};function w(m){return m.rpx0===0&&S.isFullCircle([m.x0,m.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(m.halfangle)),m.ring/2))}function M(m){return E(m.rpx1,m.transform.textPosAngle)}function E(m,b){return[m*Math.sin(b),-m*Math.cos(b)]}}}),HP=ke({"src/traces/sunburst/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"sunburst",basePlotModule:oP(),categories:[],animatable:!0,attributes:T0(),layoutAttributes:j3(),supplyDefaults:sP(),supplyLayoutDefaults:lP(),calc:M0().calc,crossTraceCalc:M0().crossTraceCalc,plot:jx().plot,style:VT().style,colorbar:Bh(),meta:{}}}}),GP=ke({"lib/sunburst.js"(Z,H){"use strict";H.exports=HP()}}),WP=ke({"src/traces/treemap/base_plot.js"(Z){"use strict";var H=Zu();Z.name="treemap",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),Km=ke({"src/traces/treemap/constants.js"(Z,H){"use strict";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}}}),Vx=ke({"src/traces/treemap/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Km(),o=To().extendFlat,n=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",editType:"plot"},squarifyratio:{valType:"number",min:1,dflt:1,editType:"plot"},flip:{valType:"flaglist",flags:["x","y"],dflt:"",editType:"plot"},pad:{valType:"number",min:0,dflt:3,editType:"plot"},editType:"calc"},marker:o({pad:{t:{valType:"number",min:0,editType:"plot"},l:{valType:"number",min:0,editType:"plot"},r:{valType:"number",min:0,editType:"plot"},b:{valType:"number",min:0,editType:"plot"},editType:"calc"},colors:t.marker.colors,pattern:n,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style"},line:t.marker.line,cornerradius:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},A("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,editType:"plot"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:o({},e.textfont,{}),editType:"calc"},text:e.text,textinfo:t.textinfo,texttemplate:x({editType:"plot"},{keys:r.eventDataKeys.concat(["label","value"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:r.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:o({},e.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:e.sort,root:t.root,domain:S({name:"treemap",trace:!0,editType:"calc"})}}}),qT=ke({"src/traces/treemap/layout_attributes.js"(Z,H){"use strict";H.exports={treemapcolorway:{valType:"colorlist",editType:"calc"},extendtreemapcolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),XP=ke({"src/traces/treemap/defaults.js"(Z,H){"use strict";var g=un(),x=Vx(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(y,f){return g.coerce(s,c,x,y,f)}var T=d("labels"),l=d("parents");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d("values");_&&_.length?d("branchvalues"):d("count"),d("level"),d("maxdepth");var w=d("tiling.packing");w==="squarify"&&d("tiling.squarifyratio"),d("tiling.flip"),d("tiling.pad");var M=d("text");d("texttemplate"),c.texttemplate||d("textinfo",g.isArrayOrTypedArray(M)?"text+label":"label"),d("hovertext"),d("hovertemplate");var E=d("pathbar.visible"),m="auto";e(s,c,p,d,m,{hasPathbar:E,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d("textposition");var b=c.textposition.indexOf("bottom")!==-1;r(s,c,p,d);var v=c._hasColorscale=n(s,"marker","colors")||(s.marker||{}).coloraxis;v?i(s,c,p,d,{prefix:"marker.",cLetter:"c"}):d("marker.depthfade",!(c.marker.colors||[]).length);var u=c.textfont.size*2;d("marker.pad.t",b?u/4:u),d("marker.pad.l",u/4),d("marker.pad.r",u/4),d("marker.pad.b",b?u:u/4),d("marker.cornerradius"),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},E&&(d("pathbar.thickness",c.pathbar.textfont.size+2*t),d("pathbar.side"),d("pathbar.edgeshape")),d("sort"),d("root.color"),S(c,p,d),c._length=null}}}),ZP=ke({"src/traces/treemap/layout_defaults.js"(Z,H){"use strict";var g=un(),x=qT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("treemapcolorway",e.colorway),t("extendtreemapcolors")}}}),HT=ke({"src/traces/treemap/calc.js"(Z){"use strict";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc("treemap",g)}}}),GT=ke({"src/traces/treemap/flip_tree.js"(Z,H){"use strict";H.exports=function g(x,A,S){var e;S.swapXY&&(e=x.x0,x.x0=x.y0,x.y0=e,e=x.x1,x.x1=x.y1,x.y1=e),S.flipX&&(e=x.x0,x.x0=A[0]-x.x1,x.x1=A[0]-e),S.flipY&&(e=x.y0,x.y0=A[1]-x.y1,x.y1=A[1]-e);var t=x.children;if(t)for(var r=0;r0)for(var u=0;u").join(" ")||"";var fe=x.ensureSingle(le,"g","slicetext"),G=x.ensureSingle(fe,"text","",function(J){J.attr("data-notex",1)}),$=x.ensureUniformFontSize(s,o.determineTextFont(B,Q,z.font,{onPathbar:!0}));G.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(A.font,$).call(S.convertToTspans,s),Q.textBB=A.bBox(G.node()),Q.transform=m(Q,{fontSize:$.size,onPathbar:!0}),Q.transform.fontSize=$.size,v?G.transition().attrTween("transform",function(J){var X=f(J,i,P,[l,_]);return function(re){return b(X(re))}}):G.attr("transform",b(Q))})}}}),KP=ke({"src/traces/treemap/plot_one.js"(Z,H){"use strict";var g=_i(),x=(Ym(),hi(Xp)).interpolate,A=tp(),S=un(),e=Om().TEXTPAD,t=Bm(),r=t.toMoveInsideBar,o=Zh(),n=o.recordMinTextSize,i=Km(),a=YP();function s(c){return A.isHierarchyRoot(c)?"":A.getPtId(c)}H.exports=function(h,p,d,T,l){var _=h._fullLayout,w=p[0],M=w.trace,E=M.type,m=E==="icicle",b=w.hierarchy,v=A.findEntryWithLevel(b,M.level),u=g.select(d),y=u.selectAll("g.pathbar"),f=u.selectAll("g.slice");if(!v){y.remove(),f.remove();return}var P=A.isHierarchyRoot(v),L=!_.uniformtext.mode&&A.hasTransition(T),z=A.getMaxDepth(M),F=function(gr){return gr.data.depth-v.data.depth-1?N+Q:-(W+Q):0,se={x0:U,x1:U,y0:le,y1:le+W},fe=function(gr,br,_t){var Be=M.tiling.pad,Ke=function(Ee){return Ee-Be<=br.x0},je=function(Ee){return Ee+Be>=br.x1},Se=function(Ee){return Ee-Be<=br.y0},He=function(Ee){return Ee+Be>=br.y1};return gr.x0===br.x0&&gr.x1===br.x1&&gr.y0===br.y0&&gr.y1===br.y1?{x0:gr.x0,x1:gr.x1,y0:gr.y0,y1:gr.y1}:{x0:Ke(gr.x0-Be)?0:je(gr.x0-Be)?_t[0]:gr.x0,x1:Ke(gr.x1+Be)?0:je(gr.x1+Be)?_t[0]:gr.x1,y0:Se(gr.y0-Be)?0:He(gr.y0-Be)?_t[1]:gr.y0,y1:Se(gr.y1+Be)?0:He(gr.y1+Be)?_t[1]:gr.y1}},G=null,$={},J={},X=null,re=function(gr,br){return br?$[s(gr)]:J[s(gr)]},ae=function(gr,br,_t,Be){if(br)return $[s(b)]||se;var Ke=J[M.level]||_t;return F(gr)?fe(gr,Ke,Be):{}};w.hasMultipleRoots&&P&&z++,M._maxDepth=z,M._backgroundColor=_.paper_bgcolor,M._entryDepth=v.data.depth,M._atRootLevel=P;var j=-I/2+B.l+B.w*(O.x[1]+O.x[0])/2,ee=-N/2+B.t+B.h*(1-(O.y[1]+O.y[0])/2),ie=function(gr){return j+gr},ce=function(gr){return ee+gr},xe=ce(0),Te=ie(0),Ue=function(gr){return Te+gr},Ie=function(gr){return xe+gr};function Ye(gr,br){return gr+","+br}var it=Ue(0),at=function(gr){gr.x=Math.max(it,gr.x)},tt=M.pathbar.edgeshape,ut=function(gr){var br=Ue(Math.max(Math.min(gr.x0,gr.x0),0)),_t=Ue(Math.min(Math.max(gr.x1,gr.x1),U)),Be=Ie(gr.y0),Ke=Ie(gr.y1),je=W/2,Se={},He={};Se.x=br,He.x=_t,Se.y=He.y=(Be+Ke)/2;var Ee={x:br,y:Be},we={x:_t,y:Be},Le={x:_t,y:Ke},nt={x:br,y:Ke};return tt===">"?(Ee.x-=je,we.x-=je,Le.x-=je,nt.x-=je):tt==="/"?(Le.x-=je,nt.x-=je,Se.x-=je/2,He.x-=je/2):tt==="\\"?(Ee.x-=je,we.x-=je,Se.x-=je/2,He.x-=je/2):tt==="<"&&(Se.x-=je,He.x-=je),at(Ee),at(nt),at(Se),at(we),at(Le),at(He),"M"+Ye(Ee.x,Ee.y)+"L"+Ye(we.x,we.y)+"L"+Ye(He.x,He.y)+"L"+Ye(Le.x,Le.y)+"L"+Ye(nt.x,nt.y)+"L"+Ye(Se.x,Se.y)+"Z"},Me=M[m?"tiling":"marker"].pad,pe=function(gr){return M.textposition.indexOf(gr)!==-1},ue=pe("top"),Oe=pe("left"),rt=pe("right"),ot=pe("bottom"),et=function(gr){var br=ie(gr.x0),_t=ie(gr.x1),Be=ce(gr.y0),Ke=ce(gr.y1),je=_t-br,Se=Ke-Be;if(!je||!Se)return"";var He=M.marker.cornerradius||0,Ee=Math.min(He,je/2,Se/2);Ee&&gr.data&&gr.data.data&&gr.data.data.label&&(ue&&(Ee=Math.min(Ee,Me.t)),Oe&&(Ee=Math.min(Ee,Me.l)),rt&&(Ee=Math.min(Ee,Me.r)),ot&&(Ee=Math.min(Ee,Me.b)));var we=function(Le,nt){return Ee?"a"+Ye(Ee,Ee)+" 0 0 1 "+Ye(Le,nt):""};return"M"+Ye(br,Be+Ee)+we(Ee,-Ee)+"L"+Ye(_t-Ee,Be)+we(Ee,Ee)+"L"+Ye(_t,Ke-Ee)+we(-Ee,Ee)+"L"+Ye(br+Ee,Ke)+we(-Ee,-Ee)+"Z"},Lt=function(gr,br){var _t=gr.x0,Be=gr.x1,Ke=gr.y0,je=gr.y1,Se=gr.textBB,He=ue||br.isHeader&&!ot,Ee=He?"start":ot?"end":"middle",we=pe("right"),Le=pe("left")||br.onPathbar,nt=Le?-1:we?1:0;if(br.isHeader){if(_t+=(m?Me:Me.l)-e,Be-=(m?Me:Me.r)-e,_t>=Be){var pt=(_t+Be)/2;_t=pt,Be=pt}var bt;ot?(bt=je-(m?Me:Me.b),Ke-1,flipY:O.tiling.flip.indexOf("y")>-1,pad:{inner:O.tiling.pad,top:O.marker.pad.t,left:O.marker.pad.l,right:O.marker.pad.r,bottom:O.marker.pad.b}}),le=Q.descendants(),se=1/0,fe=-1/0;le.forEach(function(re){var ae=re.depth;ae>=O._maxDepth?(re.x0=re.x1=(re.x0+re.x1)/2,re.y0=re.y1=(re.y0+re.y1)/2):(se=Math.min(se,ae),fe=Math.max(fe,ae))}),d=d.data(le,o.getPtId),O._maxVisibleLayers=isFinite(fe)?fe-se+1:0,d.enter().append("g").classed("slice",!0),u(d,a,L,[l,_],E),d.order();var G=null;if(v&&P){var $=o.getPtId(P);d.each(function(re){G===null&&o.getPtId(re)===$&&(G={x0:re.x0,x1:re.x1,y0:re.y0,y1:re.y1})})}var J=function(){return G||{x0:0,x1:l,y0:0,y1:_}},X=d;return v&&(X=X.transition().each("end",function(){var re=g.select(this);o.setSliceCursor(re,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(re){var ae=o.isHeader(re,O);re._x0=w(re.x0),re._x1=w(re.x1),re._y0=M(re.y0),re._y1=M(re.y1),re._hoverX=w(re.x1-O.marker.pad.r),re._hoverY=M(U?re.y1-O.marker.pad.b/2:re.y0+O.marker.pad.t/2);var j=g.select(this),ee=x.ensureSingle(j,"path","surface",function(Ie){Ie.style("pointer-events",z?"none":"all")});v?ee.transition().attrTween("d",function(Ie){var Ye=y(Ie,a,J(),[l,_]);return function(it){return E(Ye(it))}}):ee.attr("d",E),j.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ee.call(t,re,O,c,{hovered:!1}),re.x0===re.x1||re.y0===re.y1?re._text="":ae?re._text=W?"":o.getPtLabel(re)||"":re._text=i(re,p,O,h,F)||"";var ie=x.ensureSingle(j,"g","slicetext"),ce=x.ensureSingle(ie,"text","",function(Ie){Ie.attr("data-notex",1)}),xe=x.ensureUniformFontSize(c,o.determineTextFont(O,re,F.font)),Te=re._text||" ",Ue=ae&&Te.indexOf("
")===-1;ce.text(Te).classed("slicetext",!0).attr("text-anchor",N?"end":I||Ue?"start":"middle").call(A.font,xe).call(S.convertToTspans,c),re.textBB=A.bBox(ce.node()),re.transform=m(re,{fontSize:xe.size,isHeader:ae}),re.transform.fontSize=xe.size,v?ce.transition().attrTween("transform",function(Ie){var Ye=f(Ie,a,J(),[l,_]);return function(it){return b(Ye(it))}}):ce.attr("transform",b(re))}),G}}}),$P=ke({"src/traces/treemap/plot.js"(Z,H){"use strict";var g=XT(),x=JP();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:"treemap",drawDescendants:x})}}}),QP=ke({"src/traces/treemap/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"treemap",basePlotModule:WP(),categories:[],animatable:!0,attributes:Vx(),layoutAttributes:qT(),supplyDefaults:XP(),supplyLayoutDefaults:ZP(),calc:HT().calc,crossTraceCalc:HT().crossTraceCalc,plot:$P(),style:qx().style,colorbar:Bh(),meta:{}}}}),eI=ke({"lib/treemap.js"(Z,H){"use strict";H.exports=QP()}}),tI=ke({"src/traces/icicle/base_plot.js"(Z){"use strict";var H=Zu();Z.name="icicle",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),ZT=ke({"src/traces/icicle/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Vx(),o=Km(),n=To().extendFlat,i=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"plot"},flip:r.tiling.flip,pad:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},marker:n({colors:t.marker.colors,line:t.marker.line,pattern:i,editType:"calc"},A("marker",{colorAttr:"colors",anim:!1})),leaf:t.leaf,pathbar:r.pathbar,text:e.text,textinfo:t.textinfo,texttemplate:x({editType:"plot"},{keys:o.eventDataKeys.concat(["label","value"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:o.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:r.outsidetextfont,textposition:r.textposition,sort:e.sort,root:t.root,domain:S({name:"icicle",trace:!0,editType:"calc"})}}}),YT=ke({"src/traces/icicle/layout_attributes.js"(Z,H){"use strict";H.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),rI=ke({"src/traces/icicle/defaults.js"(Z,H){"use strict";var g=un(),x=ZT(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(b,v){return g.coerce(s,c,x,b,v)}var T=d("labels"),l=d("parents");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d("values");_&&_.length?d("branchvalues"):d("count"),d("level"),d("maxdepth"),d("tiling.orientation"),d("tiling.flip"),d("tiling.pad");var w=d("text");d("texttemplate"),c.texttemplate||d("textinfo",g.isArrayOrTypedArray(w)?"text+label":"label"),d("hovertext"),d("hovertemplate");var M=d("pathbar.visible"),E="auto";e(s,c,p,d,E,{hasPathbar:M,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d("textposition"),r(s,c,p,d);var m=c._hasColorscale=n(s,"marker","colors")||(s.marker||{}).coloraxis;m&&i(s,c,p,d,{prefix:"marker.",cLetter:"c"}),d("leaf.opacity",m?1:.7),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},M&&(d("pathbar.thickness",c.pathbar.textfont.size+2*t),d("pathbar.side"),d("pathbar.edgeshape")),d("sort"),d("root.color"),S(c,p,d),c._length=null}}}),nI=ke({"src/traces/icicle/layout_defaults.js"(Z,H){"use strict";var g=un(),x=YT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("iciclecolorway",e.colorway),t("extendiciclecolors")}}}),KT=ke({"src/traces/icicle/calc.js"(Z){"use strict";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc("icicle",g)}}}),iI=ke({"src/traces/icicle/partition.js"(Z,H){"use strict";var g=A0(),x=GT();H.exports=function(S,e,t){var r=t.flipX,o=t.flipY,n=t.orientation==="h",i=t.maxDepth,a=e[0],s=e[1];i&&(a=(S.height+1)*e[0]/Math.min(S.height+1,i),s=(S.height+1)*e[1]/Math.min(S.height+1,i));var c=g.partition().padding(t.pad.inner).size(n?[e[1],a]:[e[0],s])(S);return(n||r||o)&&x(c,e,{swapXY:n,flipX:r,flipY:o}),c}}}),JT=ke({"src/traces/icicle/style.js"(Z,H){"use strict";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._iciclelayer.selectAll(".trace");S(o,n,"icicle"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style("opacity",c.opacity),a.selectAll("path.surface").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,"marker.line.color")||x.defaultLine,d=A.castOption(i,h,"marker.line.width")||0;o.call(e,n,i,a).style("stroke-width",d).call(x.stroke,p).style("opacity",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),aI=ke({"src/traces/icicle/draw_descendants.js"(Z,H){"use strict";var g=_i(),x=un(),A=$o(),S=Wl(),e=iI(),t=JT().styleOne,r=Km(),o=tp(),n=j0(),i=jx().formatSliceLabel,a=!1;H.exports=function(c,h,p,d,T){var l=T.width,_=T.height,w=T.viewX,M=T.viewY,E=T.pathSlice,m=T.toMoveInsideSlice,b=T.strTransform,v=T.hasTransition,u=T.handleSlicesExit,y=T.makeUpdateSliceInterpolator,f=T.makeUpdateTextInterpolator,P=T.prevEntry,L={},z=c._context.staticPlot,F=c._fullLayout,B=h[0],O=B.trace,I=O.textposition.indexOf("left")!==-1,N=O.textposition.indexOf("right")!==-1,U=O.textposition.indexOf("bottom")!==-1,W=e(p,[l,_],{flipX:O.tiling.flip.indexOf("x")>-1,flipY:O.tiling.flip.indexOf("y")>-1,orientation:O.tiling.orientation,pad:{inner:O.tiling.pad},maxDepth:O._maxDepth}),Q=W.descendants(),le=1/0,se=-1/0;Q.forEach(function(X){var re=X.depth;re>=O._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(le=Math.min(le,re),se=Math.max(se,re))}),d=d.data(Q,o.getPtId),O._maxVisibleLayers=isFinite(se)?se-le+1:0,d.enter().append("g").classed("slice",!0),u(d,a,L,[l,_],E),d.order();var fe=null;if(v&&P){var G=o.getPtId(P);d.each(function(X){fe===null&&o.getPtId(X)===G&&(fe={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var $=function(){return fe||{x0:0,x1:l,y0:0,y1:_}},J=d;return v&&(J=J.transition().each("end",function(){var X=g.select(this);o.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),J.each(function(X){X._x0=w(X.x0),X._x1=w(X.x1),X._y0=M(X.y0),X._y1=M(X.y1),X._hoverX=w(X.x1-O.tiling.pad),X._hoverY=M(U?X.y1-O.tiling.pad/2:X.y0+O.tiling.pad/2);var re=g.select(this),ae=x.ensureSingle(re,"path","surface",function(ce){ce.style("pointer-events",z?"none":"all")});v?ae.transition().attrTween("d",function(ce){var xe=y(ce,a,$(),[l,_],{orientation:O.tiling.orientation,flipX:O.tiling.flip.indexOf("x")>-1,flipY:O.tiling.flip.indexOf("y")>-1});return function(Te){return E(xe(Te))}}):ae.attr("d",E),re.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ae.call(t,X,O,c,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=i(X,p,O,h,F)||"";var j=x.ensureSingle(re,"g","slicetext"),ee=x.ensureSingle(j,"text","",function(ce){ce.attr("data-notex",1)}),ie=x.ensureUniformFontSize(c,o.determineTextFont(O,X,F.font));ee.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",N?"end":I?"start":"middle").call(A.font,ie).call(S.convertToTspans,c),X.textBB=A.bBox(ee.node()),X.transform=m(X,{fontSize:ie.size}),X.transform.fontSize=ie.size,v?ee.transition().attrTween("transform",function(ce){var xe=f(ce,a,$(),[l,_]);return function(Te){return b(xe(Te))}}):ee.attr("transform",b(X))}),fe}}}),oI=ke({"src/traces/icicle/plot.js"(Z,H){"use strict";var g=XT(),x=aI();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:"icicle",drawDescendants:x})}}}),sI=ke({"src/traces/icicle/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"icicle",basePlotModule:tI(),categories:[],animatable:!0,attributes:ZT(),layoutAttributes:YT(),supplyDefaults:rI(),supplyLayoutDefaults:nI(),calc:KT().calc,crossTraceCalc:KT().crossTraceCalc,plot:oI(),style:JT().style,colorbar:Bh(),meta:{}}}}),lI=ke({"lib/icicle.js"(Z,H){"use strict";H.exports=sI()}}),uI=ke({"src/traces/funnelarea/base_plot.js"(Z){"use strict";var H=Zu();Z.name="funnelarea",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),$T=ke({"src/traces/funnelarea/attributes.js"(Z,H){"use strict";var g=Vm(),x=Ol(),A=Yu().attributes,S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=To().extendFlat;H.exports={labels:g.labels,label0:g.label0,dlabel:g.dlabel,values:g.values,marker:{colors:g.marker.colors,line:{color:t({},g.marker.line.color,{dflt:null}),width:t({},g.marker.line.width,{dflt:1}),editType:"calc"},pattern:g.marker.pattern,editType:"calc"},text:g.text,hovertext:g.hovertext,scalegroup:t({},g.scalegroup,{}),textinfo:t({},g.textinfo,{flags:["label","text","value","percent"]}),texttemplate:e({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:t({},x.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:S({},{keys:["label","color","value","text","percent"]}),textposition:t({},g.textposition,{values:["inside","none"],dflt:"inside"}),textfont:g.textfont,insidetextfont:g.insidetextfont,title:{text:g.title.text,font:g.title.font,position:t({},g.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:A({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}}}),QT=ke({"src/traces/funnelarea/layout_attributes.js"(Z,H){"use strict";var g=cx().hiddenlabels;H.exports={hiddenlabels:g,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}}}),cI=ke({"src/traces/funnelarea/defaults.js"(Z,H){"use strict";var g=un(),x=$T(),A=Yu().defaults,S=Od().handleText,e=qm().handleLabelsAndValues,t=qm().handleMarkerDefaults;H.exports=function(o,n,i,a){function s(E,m){return g.coerce(o,n,x,E,m)}var c=s("labels"),h=s("values"),p=e(c,h),d=p.len;if(n._hasLabels=p.hasLabels,n._hasValues=p.hasValues,!n._hasLabels&&n._hasValues&&(s("label0"),s("dlabel")),!d){n.visible=!1;return}n._length=d,t(o,n,a,s),s("scalegroup");var T=s("text"),l=s("texttemplate"),_;if(l||(_=s("textinfo",Array.isArray(T)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),l||_&&_!=="none"){var w=s("textposition");S(o,n,a,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}else _==="none"&&s("textposition","none");A(n,a,s);var M=s("title.text");M&&(s("title.position"),g.coerceFont(s,"title.font",a.font)),s("aspectratio"),s("baseratio")}}}),fI=ke({"src/traces/funnelarea/layout_defaults.js"(Z,H){"use strict";var g=un(),x=QT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t("hiddenlabels"),t("funnelareacolorway",e.colorway),t("extendfunnelareacolors")}}}),eA=ke({"src/traces/funnelarea/calc.js"(Z,H){"use strict";var g=sy();function x(S,e){return g.calc(S,e)}function A(S){g.crossTraceCalc(S,{type:"funnelarea"})}H.exports={calc:x,crossTraceCalc:A}}}),hI=ke({"src/traces/funnelarea/plot.js"(Z,H){"use strict";var g=_i(),x=$o(),A=un(),S=A.strScale,e=A.strTranslate,t=Wl(),r=Bm(),o=r.toMoveInsideBar,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Fp(),c=fx(),h=c.attachFxHandlers,p=c.determineInsideTextFont,d=c.layoutAreas,T=c.prerenderTitles,l=c.positionTitleOutside,_=c.formatSliceLabel;H.exports=function(b,v){var u=b._context.staticPlot,y=b._fullLayout;a("funnelarea",y),T(v,b),d(v,y._size),A.makeTraceGroups(y._funnelarealayer,v,"trace").each(function(f){var P=g.select(this),L=f[0],z=L.trace;E(f),P.each(function(){var F=g.select(this).selectAll("g.slice").data(f);F.enter().append("g").classed("slice",!0),F.exit().remove(),F.each(function(O,I){if(O.hidden){g.select(this).selectAll("path,g").remove();return}O.pointNumber=O.i,O.curveNumber=z.index;var N=L.cx,U=L.cy,W=g.select(this),Q=W.selectAll("path.surface").data([O]);Q.enter().append("path").classed("surface",!0).style({"pointer-events":u?"none":"all"}),W.call(h,b,f);var le="M"+(N+O.TR[0])+","+(U+O.TR[1])+w(O.TR,O.BR)+w(O.BR,O.BL)+w(O.BL,O.TL)+"Z";Q.attr("d",le),_(b,O,L);var se=s.castOption(z.textposition,O.pts),fe=W.selectAll("g.slicetext").data(O.text&&se!=="none"?[0]:[]);fe.enter().append("g").classed("slicetext",!0),fe.exit().remove(),fe.each(function(){var G=A.ensureSingle(g.select(this),"text","",function(ie){ie.attr("data-notex",1)}),$=A.ensureUniformFontSize(b,p(z,O,y.font));G.text(O.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(x.font,$).call(t.convertToTspans,b);var J=x.bBox(G.node()),X,re,ae,j=Math.min(O.BL[1],O.BR[1])+U,ee=Math.max(O.TL[1],O.TR[1])+U;re=Math.max(O.TL[0],O.BL[0])+N,ae=Math.min(O.TR[0],O.BR[0])+N,X=o(re,ae,j,ee,J,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"}),X.fontSize=$.size,i(z.type,X,y),f[I].transform=X,A.setTransormAndDisplay(G,X)})});var B=g.select(this).selectAll("g.titletext").data(z.title.text?[0]:[]);B.enter().append("g").classed("titletext",!0),B.exit().remove(),B.each(function(){var O=A.ensureSingle(g.select(this),"text","",function(U){U.attr("data-notex",1)}),I=z.title.text;z._meta&&(I=A.templateString(I,z._meta)),O.text(I).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(x.font,z.title.font).call(t.convertToTspans,b);var N=l(L,y._size);O.attr("transform",e(N.x,N.y)+S(Math.min(1,N.scale))+e(N.tx,N.ty))})})})};function w(m,b){var v=b[0]-m[0],u=b[1]-m[1];return"l"+v+","+u}function M(m,b){return[.5*(m[0]+b[0]),.5*(m[1]+b[1])]}function E(m){if(!m.length)return;var b=m[0],v=b.trace,u=v.aspectratio,y=v.baseratio;y>.999&&(y=.999);var f=Math.pow(y,2),P=b.vTotal,L=P*f/(1-f),z=P,F=L/P;function B(){var ce=Math.sqrt(F);return{x:ce,y:-ce}}function O(){var ce=B();return[ce.x,ce.y]}var I,N=[];N.push(O());var U,W;for(U=m.length-1;U>-1;U--)if(W=m[U],!W.hidden){var Q=W.v/z;F+=Q,N.push(O())}var le=1/0,se=-1/0;for(U=0;U-1;U--)if(W=m[U],!W.hidden){j+=1;var ee=N[j][0],ie=N[j][1];W.TL=[-ee,ie],W.TR=[ee,ie],W.BL=re,W.BR=ae,W.pxmid=M(W.TR,W.BR),re=W.TL,ae=W.TR}}}}),dI=ke({"src/traces/funnelarea/style.js"(Z,H){"use strict";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(".trace");A(e,t,"funnelarea"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll("path.surface").each(function(a){g.select(this).call(x,a,n,e)})})}}}),vI=ke({"src/traces/funnelarea/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"funnelarea",basePlotModule:uI(),categories:["pie-like","funnelarea","showLegend"],attributes:$T(),layoutAttributes:QT(),supplyDefaults:cI(),supplyLayoutDefaults:fI(),calc:eA().calc,crossTraceCalc:eA().crossTraceCalc,plot:hI(),style:dI(),styleOne:Wg(),meta:{}}}}),pI=ke({"lib/funnelarea.js"(Z,H){"use strict";H.exports=vI()}}),Mh=ke({"stackgl_modules/index.js"(Z,H){(function(){var g={1964:function(e,t,r){e.exports={alpha_shape:r(3502),convex_hull:r(7352),delaunay_triangulate:r(7642),gl_cone3d:r(6405),gl_error3d:r(9165),gl_line3d:r(5714),gl_mesh3d:r(7201),gl_plot3d:r(4100),gl_scatter3d:r(8418),gl_streamtube3d:r(7815),gl_surface3d:r(9499),ndarray:r(9618),ndarray_linear_interpolate:r(4317)}},4793:function(e,t,r){"use strict";var o;function n(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function i(Ee,we){for(var Le=0;Lev)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');var we=new Uint8Array(Ee);return Object.setPrototypeOf(we,f.prototype),we}function f(Ee,we,Le){if(typeof Ee=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return F(Ee)}return P(Ee,we,Le)}f.poolSize=8192;function P(Ee,we,Le){if(typeof Ee=="string")return B(Ee,we);if(ArrayBuffer.isView(Ee))return I(Ee);if(Ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+M(Ee));if(Be(Ee,ArrayBuffer)||Ee&&Be(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Be(Ee,SharedArrayBuffer)||Ee&&Be(Ee.buffer,SharedArrayBuffer)))return N(Ee,we,Le);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var nt=Ee.valueOf&&Ee.valueOf();if(nt!=null&&nt!==Ee)return f.from(nt,we,Le);var pt=U(Ee);if(pt)return pt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return f.from(Ee[Symbol.toPrimitive]("string"),we,Le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+M(Ee))}f.from=function(Ee,we,Le){return P(Ee,we,Le)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function L(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function z(Ee,we,Le){return L(Ee),Ee<=0?y(Ee):we!==void 0?typeof Le=="string"?y(Ee).fill(we,Le):y(Ee).fill(we):y(Ee)}f.alloc=function(Ee,we,Le){return z(Ee,we,Le)};function F(Ee){return L(Ee),y(Ee<0?0:W(Ee)|0)}f.allocUnsafe=function(Ee){return F(Ee)},f.allocUnsafeSlow=function(Ee){return F(Ee)};function B(Ee,we){if((typeof we!="string"||we==="")&&(we="utf8"),!f.isEncoding(we))throw new TypeError("Unknown encoding: "+we);var Le=le(Ee,we)|0,nt=y(Le),pt=nt.write(Ee,we);return pt!==Le&&(nt=nt.slice(0,pt)),nt}function O(Ee){for(var we=Ee.length<0?0:W(Ee.length)|0,Le=y(we),nt=0;nt=v)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v.toString(16)+" bytes");return Ee|0}function Q(Ee){return+Ee!=Ee&&(Ee=0),f.alloc(+Ee)}f.isBuffer=function(we){return we!=null&&we._isBuffer===!0&&we!==f.prototype},f.compare=function(we,Le){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),Be(Le,Uint8Array)&&(Le=f.from(Le,Le.offset,Le.byteLength)),!f.isBuffer(we)||!f.isBuffer(Le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(we===Le)return 0;for(var nt=we.length,pt=Le.length,bt=0,Rt=Math.min(nt,pt);btpt.length?(f.isBuffer(Rt)||(Rt=f.from(Rt)),Rt.copy(pt,bt)):Uint8Array.prototype.set.call(pt,Rt,bt);else if(f.isBuffer(Rt))Rt.copy(pt,bt);else throw new TypeError('"list" argument must be an Array of Buffers');bt+=Rt.length}return pt};function le(Ee,we){if(f.isBuffer(Ee))return Ee.length;if(ArrayBuffer.isView(Ee)||Be(Ee,ArrayBuffer))return Ee.byteLength;if(typeof Ee!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+M(Ee));var Le=Ee.length,nt=arguments.length>2&&arguments[2]===!0;if(!nt&&Le===0)return 0;for(var pt=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":return ar(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le*2;case"hex":return Le>>>1;case"base64":return br(Ee).length;default:if(pt)return nt?-1:ar(Ee).length;we=(""+we).toLowerCase(),pt=!0}}f.byteLength=le;function se(Ee,we,Le){var nt=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,we>>>=0,Le<=we))return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return Ie(this,we,Le);case"utf8":case"utf-8":return ie(this,we,Le);case"ascii":return Te(this,we,Le);case"latin1":case"binary":return Ue(this,we,Le);case"base64":return ee(this,we,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,we,Le);default:if(nt)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),nt=!0}}f.prototype._isBuffer=!0;function fe(Ee,we,Le){var nt=Ee[we];Ee[we]=Ee[Le],Ee[Le]=nt}f.prototype.swap16=function(){var we=this.length;if(we%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Le=0;LeLe&&(we+=" ... "),""},b&&(f.prototype[b]=f.prototype.inspect),f.prototype.compare=function(we,Le,nt,pt,bt){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),!f.isBuffer(we))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+M(we));if(Le===void 0&&(Le=0),nt===void 0&&(nt=we?we.length:0),pt===void 0&&(pt=0),bt===void 0&&(bt=this.length),Le<0||nt>we.length||pt<0||bt>this.length)throw new RangeError("out of range index");if(pt>=bt&&Le>=nt)return 0;if(pt>=bt)return-1;if(Le>=nt)return 1;if(Le>>>=0,nt>>>=0,pt>>>=0,bt>>>=0,this===we)return 0;for(var Rt=bt-pt,Nt=nt-Le,Xt=Math.min(Rt,Nt),$t=this.slice(pt,bt),ur=we.slice(Le,nt),pn=0;pn2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,Ke(Le)&&(Le=pt?0:Ee.length-1),Le<0&&(Le=Ee.length+Le),Le>=Ee.length){if(pt)return-1;Le=Ee.length-1}else if(Le<0)if(pt)Le=0;else return-1;if(typeof we=="string"&&(we=f.from(we,nt)),f.isBuffer(we))return we.length===0?-1:$(Ee,we,Le,nt,pt);if(typeof we=="number")return we=we&255,typeof Uint8Array.prototype.indexOf=="function"?pt?Uint8Array.prototype.indexOf.call(Ee,we,Le):Uint8Array.prototype.lastIndexOf.call(Ee,we,Le):$(Ee,[we],Le,nt,pt);throw new TypeError("val must be string, number or Buffer")}function $(Ee,we,Le,nt,pt){var bt=1,Rt=Ee.length,Nt=we.length;if(nt!==void 0&&(nt=String(nt).toLowerCase(),nt==="ucs2"||nt==="ucs-2"||nt==="utf16le"||nt==="utf-16le")){if(Ee.length<2||we.length<2)return-1;bt=2,Rt/=2,Nt/=2,Le/=2}function Xt(Nn,On){return bt===1?Nn[On]:Nn.readUInt16BE(On*bt)}var $t;if(pt){var ur=-1;for($t=Le;$tRt&&(Le=Rt-Nt),$t=Le;$t>=0;$t--){for(var pn=!0,Rn=0;Rnpt&&(nt=pt)):nt=pt;var bt=we.length;nt>bt/2&&(nt=bt/2);var Rt;for(Rt=0;Rt>>0,isFinite(nt)?(nt=nt>>>0,pt===void 0&&(pt="utf8")):(pt=nt,nt=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var bt=this.length-Le;if((nt===void 0||nt>bt)&&(nt=bt),we.length>0&&(nt<0||Le<0)||Le>this.length)throw new RangeError("Attempt to write outside buffer bounds");pt||(pt="utf8");for(var Rt=!1;;)switch(pt){case"hex":return J(this,we,Le,nt);case"utf8":case"utf-8":return X(this,we,Le,nt);case"ascii":case"latin1":case"binary":return re(this,we,Le,nt);case"base64":return ae(this,we,Le,nt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,we,Le,nt);default:if(Rt)throw new TypeError("Unknown encoding: "+pt);pt=(""+pt).toLowerCase(),Rt=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ee(Ee,we,Le){return we===0&&Le===Ee.length?E.fromByteArray(Ee):E.fromByteArray(Ee.slice(we,Le))}function ie(Ee,we,Le){Le=Math.min(Ee.length,Le);for(var nt=[],pt=we;pt239?4:bt>223?3:bt>191?2:1;if(pt+Nt<=Le){var Xt=void 0,$t=void 0,ur=void 0,pn=void 0;switch(Nt){case 1:bt<128&&(Rt=bt);break;case 2:Xt=Ee[pt+1],(Xt&192)===128&&(pn=(bt&31)<<6|Xt&63,pn>127&&(Rt=pn));break;case 3:Xt=Ee[pt+1],$t=Ee[pt+2],(Xt&192)===128&&($t&192)===128&&(pn=(bt&15)<<12|(Xt&63)<<6|$t&63,pn>2047&&(pn<55296||pn>57343)&&(Rt=pn));break;case 4:Xt=Ee[pt+1],$t=Ee[pt+2],ur=Ee[pt+3],(Xt&192)===128&&($t&192)===128&&(ur&192)===128&&(pn=(bt&15)<<18|(Xt&63)<<12|($t&63)<<6|ur&63,pn>65535&&pn<1114112&&(Rt=pn))}}Rt===null?(Rt=65533,Nt=1):Rt>65535&&(Rt-=65536,nt.push(Rt>>>10&1023|55296),Rt=56320|Rt&1023),nt.push(Rt),pt+=Nt}return xe(nt)}var ce=4096;function xe(Ee){var we=Ee.length;if(we<=ce)return String.fromCharCode.apply(String,Ee);for(var Le="",nt=0;ntnt)&&(Le=nt);for(var pt="",bt=we;btnt&&(we=nt),Le<0?(Le+=nt,Le<0&&(Le=0)):Le>nt&&(Le=nt),LeLe)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we+--Le],bt=1;Le>0&&(bt*=256);)pt+=this[we+--Le]*bt;return pt},f.prototype.readUint8=f.prototype.readUInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]|this[we+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]<<8|this[we+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+this[we+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]*16777216+(this[we+1]<<16|this[we+2]<<8|this[we+3])},f.prototype.readBigUInt64LE=Se(function(we){we=we>>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,24),bt=this[++we]+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+nt*Math.pow(2,24);return BigInt(pt)+(BigInt(bt)<>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we],bt=this[++we]*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+nt;return(BigInt(pt)<>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt=bt&&(pt-=Math.pow(2,8*Le)),pt},f.prototype.readIntBE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=Le,bt=1,Rt=this[we+--pt];pt>0&&(bt*=256);)Rt+=this[we+--pt]*bt;return bt*=128,Rt>=bt&&(Rt-=Math.pow(2,8*Le)),Rt},f.prototype.readInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]&128?(255-this[we]+1)*-1:this[we]},f.prototype.readInt16LE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we]|this[we+1]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt16BE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we+1]|this[we]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},f.prototype.readInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},f.prototype.readBigInt64LE=Se(function(we){we=we>>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=this[we+4]+this[we+5]*Math.pow(2,8)+this[we+6]*Math.pow(2,16)+(nt<<24);return(BigInt(pt)<>>0,Et(we,"offset");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=(Le<<24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we];return(BigInt(pt)<>>0,Le||it(we,4,this.length),m.read(this,we,!0,23,4)},f.prototype.readFloatBE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),m.read(this,we,!1,23,4)},f.prototype.readDoubleLE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!0,52,8)},f.prototype.readDoubleBE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!1,52,8)};function at(Ee,we,Le,nt,pt,bt){if(!f.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>pt||weEe.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=1,Nt=0;for(this[Le]=we&255;++Nt>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=nt-1,Nt=1;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)this[Le+Rt]=we/Nt&255;return Le+nt},f.prototype.writeUint8=f.prototype.writeUInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,255,0),this[Le]=we&255,Le+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le+3]=we>>>24,this[Le+2]=we>>>16,this[Le+1]=we>>>8,this[Le]=we&255,Le+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4};function tt(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Le}function ut(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le+7]=bt,bt=bt>>8,Ee[Le+6]=bt,bt=bt>>8,Ee[Le+5]=bt,bt=bt>>8,Ee[Le+4]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le+3]=Rt,Rt=Rt>>8,Ee[Le+2]=Rt,Rt=Rt>>8,Ee[Le+1]=Rt,Rt=Rt>>8,Ee[Le]=Rt,Le+8}f.prototype.writeBigUInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=0,Nt=1,Xt=0;for(this[Le]=we&255;++Rt>0)-Xt&255;return Le+nt},f.prototype.writeIntBE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=nt-1,Nt=1,Xt=0;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)we<0&&Xt===0&&this[Le+Rt+1]!==0&&(Xt=1),this[Le+Rt]=(we/Nt>>0)-Xt&255;return Le+nt},f.prototype.writeInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,127,-128),we<0&&(we=255+we+1),this[Le]=we&255,Le+1},f.prototype.writeInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),this[Le]=we&255,this[Le+1]=we>>>8,this[Le+2]=we>>>16,this[Le+3]=we>>>24,Le+4},f.prototype.writeInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4},f.prototype.writeBigInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Me(Ee,we,Le,nt,pt,bt){if(Le+nt>Ee.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function pe(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,4,34028234663852886e22,-34028234663852886e22),m.write(Ee,we,Le,nt,23,4),Le+4}f.prototype.writeFloatLE=function(we,Le,nt){return pe(this,we,Le,!0,nt)},f.prototype.writeFloatBE=function(we,Le,nt){return pe(this,we,Le,!1,nt)};function ue(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,8,17976931348623157e292,-17976931348623157e292),m.write(Ee,we,Le,nt,52,8),Le+8}f.prototype.writeDoubleLE=function(we,Le,nt){return ue(this,we,Le,!0,nt)},f.prototype.writeDoubleBE=function(we,Le,nt){return ue(this,we,Le,!1,nt)},f.prototype.copy=function(we,Le,nt,pt){if(!f.isBuffer(we))throw new TypeError("argument should be a Buffer");if(nt||(nt=0),!pt&&pt!==0&&(pt=this.length),Le>=we.length&&(Le=we.length),Le||(Le=0),pt>0&&pt=this.length)throw new RangeError("Index out of range");if(pt<0)throw new RangeError("sourceEnd out of bounds");pt>this.length&&(pt=this.length),we.length-Le>>0,nt=nt===void 0?this.length:nt>>>0,we||(we=0);var Rt;if(typeof we=="number")for(Rt=Le;RtMath.pow(2,32)?pt=ot(String(Le)):typeof Le=="bigint"&&(pt=String(Le),(Le>Math.pow(BigInt(2),BigInt(32))||Le<-Math.pow(BigInt(2),BigInt(32)))&&(pt=ot(pt)),pt+="n"),nt+=" It must be ".concat(we,". Received ").concat(pt),nt},RangeError);function ot(Ee){for(var we="",Le=Ee.length,nt=Ee[0]==="-"?1:0;Le>=nt+4;Le-=3)we="_".concat(Ee.slice(Le-3,Le)).concat(we);return"".concat(Ee.slice(0,Le)).concat(we)}function et(Ee,we,Le){Et(we,"offset"),(Ee[we]===void 0||Ee[we+Le]===void 0)&&Bt(we,Ee.length-(Le+1))}function Lt(Ee,we,Le,nt,pt,bt){if(Ee>Le||Ee3?we===0||we===BigInt(0)?Nt=">= 0".concat(Rt," and < 2").concat(Rt," ** ").concat((bt+1)*8).concat(Rt):Nt=">= -(2".concat(Rt," ** ").concat((bt+1)*8-1).concat(Rt,") and < 2 ** ")+"".concat((bt+1)*8-1).concat(Rt):Nt=">= ".concat(we).concat(Rt," and <= ").concat(Le).concat(Rt),new Oe.ERR_OUT_OF_RANGE("value",Nt,Ee)}et(nt,pt,bt)}function Et(Ee,we){if(typeof Ee!="number")throw new Oe.ERR_INVALID_ARG_TYPE(we,"number",Ee)}function Bt(Ee,we,Le){throw Math.floor(Ee)!==Ee?(Et(Ee,Le),new Oe.ERR_OUT_OF_RANGE(Le||"offset","an integer",Ee)):we<0?new Oe.ERR_BUFFER_OUT_OF_BOUNDS:new Oe.ERR_OUT_OF_RANGE(Le||"offset",">= ".concat(Le?1:0," and <= ").concat(we),Ee)}var qt=/[^+/0-9A-Za-z-_]/g;function fr(Ee){if(Ee=Ee.split("=")[0],Ee=Ee.trim().replace(qt,""),Ee.length<2)return"";for(;Ee.length%4!==0;)Ee=Ee+"=";return Ee}function ar(Ee,we){we=we||1/0;for(var Le,nt=Ee.length,pt=null,bt=[],Rt=0;Rt55295&&Le<57344){if(!pt){if(Le>56319){(we-=3)>-1&&bt.push(239,191,189);continue}else if(Rt+1===nt){(we-=3)>-1&&bt.push(239,191,189);continue}pt=Le;continue}if(Le<56320){(we-=3)>-1&&bt.push(239,191,189),pt=Le;continue}Le=(pt-55296<<10|Le-56320)+65536}else pt&&(we-=3)>-1&&bt.push(239,191,189);if(pt=null,Le<128){if((we-=1)<0)break;bt.push(Le)}else if(Le<2048){if((we-=2)<0)break;bt.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((we-=3)<0)break;bt.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((we-=4)<0)break;bt.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error("Invalid code point")}return bt}function Rr(Ee){for(var we=[],Le=0;Le>8,pt=Le%256,bt.push(pt),bt.push(nt);return bt}function br(Ee){return E.toByteArray(fr(Ee))}function _t(Ee,we,Le,nt){var pt;for(pt=0;pt=we.length||pt>=Ee.length);++pt)we[pt+Le]=Ee[pt];return pt}function Be(Ee,we){return Ee instanceof we||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===we.name}function Ke(Ee){return Ee!==Ee}var je=function(){for(var Ee="0123456789abcdef",we=new Array(256),Le=0;Le<16;++Le)for(var nt=Le*16,pt=0;pt<16;++pt)we[nt+pt]=Ee[Le]+Ee[pt];return we}();function Se(Ee){return typeof BigInt>"u"?He:Ee}function He(){throw new Error("BigInt not supported")}},9216:function(e){"use strict";e.exports=n,e.exports.isMobile=n,e.exports.default=n;var t=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,o=/android|ipad|playbook|silk/i;function n(i){i||(i={});var a=i.ua;if(!a&&typeof navigator<"u"&&(a=navigator.userAgent),a&&a.headers&&typeof a.headers["user-agent"]=="string"&&(a=a.headers["user-agent"]),typeof a!="string")return!1;var s=t.test(a)&&!r.test(a)||!!i.tablet&&o.test(a);return!s&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&a.indexOf("Macintosh")!==-1&&a.indexOf("Safari")!==-1&&(s=!0),s}},6296:function(e,t,r){"use strict";e.exports=c;var o=r(7261),n=r(9977),i=r(1811);function a(h,p){this._controllerNames=Object.keys(h),this._controllerList=this._controllerNames.map(function(d){return h[d]}),this._mode=p,this._active=h[p],this._active||(this._mode="turntable",this._active=h.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;s.flush=function(h){for(var p=this._controllerList,d=0;d"u"?r(1538):WeakMap,n=r(2762),i=r(8116),a=new o;function s(c){var h=a.get(c),p=h&&(h._triangleBuffer.handle||h._triangleBuffer.buffer);if(!p||!c.isBuffer(p)){var d=n(c,new Float32Array([-1,-1,-1,4,4,-1]));h=i(c,[{buffer:d,type:c.FLOAT,size:2}]),h._triangleBuffer=d,a.set(c,h)}h.bind(),c.drawArrays(c.TRIANGLES,0,3),h.unbind()}e.exports=s},1085:function(e,t,r){var o=r(1371);e.exports=n;function n(i,a,s){a=typeof a=="number"?a:1,s=s||": ";var c=i.split(/\r?\n/),h=String(c.length+a-1).length;return c.map(function(p,d){var T=d+a,l=String(T).length,_=o(T,h-l);return _+s+p}).join(` -`)}},3952:function(e,t,r){"use strict";e.exports=i;var o=r(3250);function n(a,s){for(var c=new Array(s+1),h=0;h0)throw new Error("Invalid string. Length must be a multiple of 4");var E=w.indexOf("=");E===-1&&(E=M);var m=E===M?0:4-E%4;return[E,m]}function h(w){var M=c(w),E=M[0],m=M[1];return(E+m)*3/4-m}function p(w,M,E){return(M+E)*3/4-E}function d(w){var M,E=c(w),m=E[0],b=E[1],v=new n(p(w,m,b)),u=0,y=b>0?m-4:m,f;for(f=0;f>16&255,v[u++]=M>>8&255,v[u++]=M&255;return b===2&&(M=o[w.charCodeAt(f)]<<2|o[w.charCodeAt(f+1)]>>4,v[u++]=M&255),b===1&&(M=o[w.charCodeAt(f)]<<10|o[w.charCodeAt(f+1)]<<4|o[w.charCodeAt(f+2)]>>2,v[u++]=M>>8&255,v[u++]=M&255),v}function T(w){return r[w>>18&63]+r[w>>12&63]+r[w>>6&63]+r[w&63]}function l(w,M,E){for(var m,b=[],v=M;vy?y:u+v));return m===1?(M=w[E-1],b.push(r[M>>2]+r[M<<4&63]+"==")):m===2&&(M=(w[E-2]<<8)+w[E-1],b.push(r[M>>10]+r[M>>4&63]+r[M<<2&63]+"=")),b.join("")}},3865:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).add(a[0].mul(i[1])),i[1].mul(a[1]))}},1318:function(e){"use strict";e.exports=t;function t(r,o){return r[0].mul(o[1]).cmp(o[0].mul(r[1]))}},8697:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]),i[1].mul(a[0]))}},7842:function(e,t,r){"use strict";var o=r(6330),n=r(1533),i=r(2651),a=r(6768),s=r(869),c=r(8697);e.exports=h;function h(p,d){if(o(p))return d?c(p,h(d)):[p[0].clone(),p[1].clone()];var T=0,l,_;if(n(p))l=p.clone();else if(typeof p=="string")l=a(p);else{if(p===0)return[i(0),i(1)];if(p===Math.floor(p))l=i(p);else{for(;p!==Math.floor(p);)p=p*Math.pow(2,256),T-=256;l=i(p)}}if(o(d))l.mul(d[1]),_=d[0].clone();else if(n(d))_=d.clone();else if(typeof d=="string")_=a(d);else if(!d)_=i(1);else if(d===Math.floor(d))_=i(d);else{for(;d!==Math.floor(d);)d=d*Math.pow(2,256),T+=256;_=i(d)}return T>0?l=l.ushln(T):T<0&&(_=_.ushln(-T)),s(l,_)}},6330:function(e,t,r){"use strict";var o=r(1533);e.exports=n;function n(i){return Array.isArray(i)&&i.length===2&&o(i[0])&&o(i[1])}},5716:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return i.cmp(new o(0))}},1369:function(e,t,r){"use strict";var o=r(5716);e.exports=n;function n(i){var a=i.length,s=i.words,c=0;if(a===1)c=s[0];else if(a===2)c=s[0]+s[1]*67108864;else for(var h=0;h20?52:c+32}},1533:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return i&&typeof i=="object"&&!!i.words}},2651:function(e,t,r){"use strict";var o=r(6859),n=r(2361);e.exports=i;function i(a){var s=n.exponent(a);return s<52?new o(a):new o(a*Math.pow(2,52-s)).ushln(s-52)}},869:function(e,t,r){"use strict";var o=r(2651),n=r(5716);e.exports=i;function i(a,s){var c=n(a),h=n(s);if(c===0)return[o(0),o(1)];if(h===0)return[o(0),o(0)];h<0&&(a=a.neg(),s=s.neg());var p=a.gcd(s);return p.cmpn(1)?[a.div(p),s.div(p)]:[a,s]}},6768:function(e,t,r){"use strict";var o=r(6859);e.exports=n;function n(i){return new o(i)}},6504:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[0]),i[1].mul(a[1]))}},7721:function(e,t,r){"use strict";var o=r(5716);e.exports=n;function n(i){return o(i[0])*o(i[1])}},5572:function(e,t,r){"use strict";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).sub(i[1].mul(a[0])),i[1].mul(a[1]))}},946:function(e,t,r){"use strict";var o=r(1369),n=r(4025);e.exports=i;function i(a){var s=a[0],c=a[1];if(s.cmpn(0)===0)return 0;var h=s.abs().divmod(c.abs()),p=h.div,d=o(p),T=h.mod,l=s.negative!==c.negative?-1:1;if(T.cmpn(0)===0)return l*d;if(d){var _=n(d)+4,w=o(T.ushln(_).divRound(c));return l*(d+w*Math.pow(2,-_))}else{var M=c.bitLength()-T.bitLength()+53,w=o(T.ushln(M).divRound(c));return M<1023?l*w*Math.pow(2,-M):(w*=Math.pow(2,-1023),l*w*Math.pow(2,1023-M))}}},2478:function(e){"use strict";function t(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>=0?(T=l,d=l-1):p=l+1}return T}function r(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>0?(T=l,d=l-1):p=l+1}return T}function o(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<0?(T=l,p=l+1):d=l-1}return T}function n(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<=0?(T=l,p=l+1):d=l-1}return T}function i(s,c,h,p,d){for(;p<=d;){var T=p+d>>>1,l=s[T],_=h!==void 0?h(l,c):l-c;if(_===0)return T;_<=0?p=T+1:d=T-1}return-1}function a(s,c,h,p,d,T){return typeof h=="function"?T(s,c,h,p===void 0?0:p|0,d===void 0?s.length-1:d|0):T(s,c,void 0,h===void 0?0:h|0,p===void 0?s.length-1:p|0)}e.exports={ge:function(s,c,h,p,d){return a(s,c,h,p,d,t)},gt:function(s,c,h,p,d){return a(s,c,h,p,d,r)},lt:function(s,c,h,p,d){return a(s,c,h,p,d,o)},le:function(s,c,h,p,d){return a(s,c,h,p,d,n)},eq:function(s,c,h,p,d){return a(s,c,h,p,d,i)}}},8828:function(e,t){"use strict";"use restrict";var r=32;t.INT_BITS=r,t.INT_MAX=2147483647,t.INT_MIN=-1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},6859:function(e,t,r){e=r.nmd(e),function(o,n){"use strict";function i(O,I){if(!O)throw new Error(I||"Assertion failed")}function a(O,I){O.super_=I;var N=function(){};N.prototype=I.prototype,O.prototype=new N,O.prototype.constructor=O}function s(O,I,N){if(s.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((I==="le"||I==="be")&&(N=I,I=10),this._init(O||0,I||10,N||"be"))}typeof o=="object"?o.exports=s:n.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<"u"&&typeof window.Buffer<"u"?c=window.Buffer:c=r(7790).Buffer}catch{}s.isBN=function(I){return I instanceof s?!0:I!==null&&typeof I=="object"&&I.constructor.wordSize===s.wordSize&&Array.isArray(I.words)},s.max=function(I,N){return I.cmp(N)>0?I:N},s.min=function(I,N){return I.cmp(N)<0?I:N},s.prototype._init=function(I,N,U){if(typeof I=="number")return this._initNumber(I,N,U);if(typeof I=="object")return this._initArray(I,N,U);N==="hex"&&(N=16),i(N===(N|0)&&N>=2&&N<=36),I=I.toString().replace(/\s+/g,"");var W=0;I[0]==="-"&&(W++,this.negative=1),W=0;W-=3)le=I[W]|I[W-1]<<8|I[W-2]<<16,this.words[Q]|=le<>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);else if(U==="le")for(W=0,Q=0;W>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);return this.strip()};function h(O,I){var N=O.charCodeAt(I);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function p(O,I,N){var U=h(O,N);return N-1>=I&&(U|=h(O,N-1)<<4),U}s.prototype._parseHex=function(I,N,U){this.length=Math.ceil((I.length-N)/6),this.words=new Array(this.length);for(var W=0;W=N;W-=2)se=p(I,N,W)<=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8;else{var fe=I.length-N;for(W=fe%2===0?N+1:N;W=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8}this.strip()};function d(O,I,N,U){for(var W=0,Q=Math.min(O.length,N),le=I;le=49?W+=se-49+10:se>=17?W+=se-17+10:W+=se}return W}s.prototype._parseBase=function(I,N,U){this.words=[0],this.length=1;for(var W=0,Q=1;Q<=67108863;Q*=N)W++;W--,Q=Q/N|0;for(var le=I.length-U,se=le%W,fe=Math.min(le,le-se)+U,G=0,$=U;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(I,N){I=I||10,N=N|0||1;var U;if(I===16||I==="hex"){U="";for(var W=0,Q=0,le=0;le>>24-W&16777215,Q!==0||le!==this.length-1?U=T[6-fe.length]+fe+U:U=fe+U,W+=2,W>=26&&(W-=26,le--)}for(Q!==0&&(U=Q.toString(16)+U);U.length%N!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(I===(I|0)&&I>=2&&I<=36){var G=l[I],$=_[I];U="";var J=this.clone();for(J.negative=0;!J.isZero();){var X=J.modn($).toString(I);J=J.idivn($),J.isZero()?U=X+U:U=T[G-X.length]+X+U}for(this.isZero()&&(U="0"+U);U.length%N!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}i(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var I=this.words[0];return this.length===2?I+=this.words[1]*67108864:this.length===3&&this.words[2]===1?I+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-I:I},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(I,N){return i(typeof c<"u"),this.toArrayLike(c,I,N)},s.prototype.toArray=function(I,N){return this.toArrayLike(Array,I,N)},s.prototype.toArrayLike=function(I,N,U){var W=this.byteLength(),Q=U||Math.max(1,W);i(W<=Q,"byte array longer than desired length"),i(Q>0,"Requested array length <= 0"),this.strip();var le=N==="le",se=new I(Q),fe,G,$=this.clone();if(le){for(G=0;!$.isZero();G++)fe=$.andln(255),$.iushrn(8),se[G]=fe;for(;G=4096&&(U+=13,N>>>=13),N>=64&&(U+=7,N>>>=7),N>=8&&(U+=4,N>>>=4),N>=2&&(U+=2,N>>>=2),U+N},s.prototype._zeroBits=function(I){if(I===0)return 26;var N=I,U=0;return N&8191||(U+=13,N>>>=13),N&127||(U+=7,N>>>=7),N&15||(U+=4,N>>>=4),N&3||(U+=2,N>>>=2),N&1||U++,U},s.prototype.bitLength=function(){var I=this.words[this.length-1],N=this._countBits(I);return(this.length-1)*26+N};function w(O){for(var I=new Array(O.bitLength()),N=0;N>>W}return I}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var I=0,N=0;NI.length?this.clone().ior(I):I.clone().ior(this)},s.prototype.uor=function(I){return this.length>I.length?this.clone().iuor(I):I.clone().iuor(this)},s.prototype.iuand=function(I){var N;this.length>I.length?N=I:N=this;for(var U=0;UI.length?this.clone().iand(I):I.clone().iand(this)},s.prototype.uand=function(I){return this.length>I.length?this.clone().iuand(I):I.clone().iuand(this)},s.prototype.iuxor=function(I){var N,U;this.length>I.length?(N=this,U=I):(N=I,U=this);for(var W=0;WI.length?this.clone().ixor(I):I.clone().ixor(this)},s.prototype.uxor=function(I){return this.length>I.length?this.clone().iuxor(I):I.clone().iuxor(this)},s.prototype.inotn=function(I){i(typeof I=="number"&&I>=0);var N=Math.ceil(I/26)|0,U=I%26;this._expand(N),U>0&&N--;for(var W=0;W0&&(this.words[W]=~this.words[W]&67108863>>26-U),this.strip()},s.prototype.notn=function(I){return this.clone().inotn(I)},s.prototype.setn=function(I,N){i(typeof I=="number"&&I>=0);var U=I/26|0,W=I%26;return this._expand(U+1),N?this.words[U]=this.words[U]|1<I.length?(U=this,W=I):(U=I,W=this);for(var Q=0,le=0;le>>26;for(;Q!==0&&le>>26;if(this.length=U.length,Q!==0)this.words[this.length]=Q,this.length++;else if(U!==this)for(;leI.length?this.clone().iadd(I):I.clone().iadd(this)},s.prototype.isub=function(I){if(I.negative!==0){I.negative=0;var N=this.iadd(I);return I.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(I),this.negative=1,this._normSign();var U=this.cmp(I);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,Q;U>0?(W=this,Q=I):(W=I,Q=this);for(var le=0,se=0;se>26,this.words[se]=N&67108863;for(;le!==0&&se>26,this.words[se]=N&67108863;if(le===0&&se>>26,J=fe&67108863,X=Math.min(G,I.length-1),re=Math.max(0,G-O.length+1);re<=X;re++){var ae=G-re|0;W=O.words[ae]|0,Q=I.words[re]|0,le=W*Q+J,$+=le/67108864|0,J=le&67108863}N.words[G]=J|0,fe=$|0}return fe!==0?N.words[G]=fe|0:N.length--,N.strip()}var E=function(I,N,U){var W=I.words,Q=N.words,le=U.words,se=0,fe,G,$,J=W[0]|0,X=J&8191,re=J>>>13,ae=W[1]|0,j=ae&8191,ee=ae>>>13,ie=W[2]|0,ce=ie&8191,xe=ie>>>13,Te=W[3]|0,Ue=Te&8191,Ie=Te>>>13,Ye=W[4]|0,it=Ye&8191,at=Ye>>>13,tt=W[5]|0,ut=tt&8191,Me=tt>>>13,pe=W[6]|0,ue=pe&8191,Oe=pe>>>13,rt=W[7]|0,ot=rt&8191,et=rt>>>13,Lt=W[8]|0,Et=Lt&8191,Bt=Lt>>>13,qt=W[9]|0,fr=qt&8191,ar=qt>>>13,Rr=Q[0]|0,gr=Rr&8191,br=Rr>>>13,_t=Q[1]|0,Be=_t&8191,Ke=_t>>>13,je=Q[2]|0,Se=je&8191,He=je>>>13,Ee=Q[3]|0,we=Ee&8191,Le=Ee>>>13,nt=Q[4]|0,pt=nt&8191,bt=nt>>>13,Rt=Q[5]|0,Nt=Rt&8191,Xt=Rt>>>13,$t=Q[6]|0,ur=$t&8191,pn=$t>>>13,Rn=Q[7]|0,Nn=Rn&8191,On=Rn>>>13,ni=Q[8]|0,zn=ni&8191,Qn=ni>>>13,gi=Q[9]|0,Zt=gi&8191,Ft=gi>>>13;U.negative=I.negative^N.negative,U.length=19,fe=Math.imul(X,gr),G=Math.imul(X,br),G=G+Math.imul(re,gr)|0,$=Math.imul(re,br);var Ht=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,fe=Math.imul(j,gr),G=Math.imul(j,br),G=G+Math.imul(ee,gr)|0,$=Math.imul(ee,br),fe=fe+Math.imul(X,Be)|0,G=G+Math.imul(X,Ke)|0,G=G+Math.imul(re,Be)|0,$=$+Math.imul(re,Ke)|0;var Vt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,fe=Math.imul(ce,gr),G=Math.imul(ce,br),G=G+Math.imul(xe,gr)|0,$=Math.imul(xe,br),fe=fe+Math.imul(j,Be)|0,G=G+Math.imul(j,Ke)|0,G=G+Math.imul(ee,Be)|0,$=$+Math.imul(ee,Ke)|0,fe=fe+Math.imul(X,Se)|0,G=G+Math.imul(X,He)|0,G=G+Math.imul(re,Se)|0,$=$+Math.imul(re,He)|0;var wr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(wr>>>26)|0,wr&=67108863,fe=Math.imul(Ue,gr),G=Math.imul(Ue,br),G=G+Math.imul(Ie,gr)|0,$=Math.imul(Ie,br),fe=fe+Math.imul(ce,Be)|0,G=G+Math.imul(ce,Ke)|0,G=G+Math.imul(xe,Be)|0,$=$+Math.imul(xe,Ke)|0,fe=fe+Math.imul(j,Se)|0,G=G+Math.imul(j,He)|0,G=G+Math.imul(ee,Se)|0,$=$+Math.imul(ee,He)|0,fe=fe+Math.imul(X,we)|0,G=G+Math.imul(X,Le)|0,G=G+Math.imul(re,we)|0,$=$+Math.imul(re,Le)|0;var $r=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+($r>>>26)|0,$r&=67108863,fe=Math.imul(it,gr),G=Math.imul(it,br),G=G+Math.imul(at,gr)|0,$=Math.imul(at,br),fe=fe+Math.imul(Ue,Be)|0,G=G+Math.imul(Ue,Ke)|0,G=G+Math.imul(Ie,Be)|0,$=$+Math.imul(Ie,Ke)|0,fe=fe+Math.imul(ce,Se)|0,G=G+Math.imul(ce,He)|0,G=G+Math.imul(xe,Se)|0,$=$+Math.imul(xe,He)|0,fe=fe+Math.imul(j,we)|0,G=G+Math.imul(j,Le)|0,G=G+Math.imul(ee,we)|0,$=$+Math.imul(ee,Le)|0,fe=fe+Math.imul(X,pt)|0,G=G+Math.imul(X,bt)|0,G=G+Math.imul(re,pt)|0,$=$+Math.imul(re,bt)|0;var xn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(xn>>>26)|0,xn&=67108863,fe=Math.imul(ut,gr),G=Math.imul(ut,br),G=G+Math.imul(Me,gr)|0,$=Math.imul(Me,br),fe=fe+Math.imul(it,Be)|0,G=G+Math.imul(it,Ke)|0,G=G+Math.imul(at,Be)|0,$=$+Math.imul(at,Ke)|0,fe=fe+Math.imul(Ue,Se)|0,G=G+Math.imul(Ue,He)|0,G=G+Math.imul(Ie,Se)|0,$=$+Math.imul(Ie,He)|0,fe=fe+Math.imul(ce,we)|0,G=G+Math.imul(ce,Le)|0,G=G+Math.imul(xe,we)|0,$=$+Math.imul(xe,Le)|0,fe=fe+Math.imul(j,pt)|0,G=G+Math.imul(j,bt)|0,G=G+Math.imul(ee,pt)|0,$=$+Math.imul(ee,bt)|0,fe=fe+Math.imul(X,Nt)|0,G=G+Math.imul(X,Xt)|0,G=G+Math.imul(re,Nt)|0,$=$+Math.imul(re,Xt)|0;var en=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(en>>>26)|0,en&=67108863,fe=Math.imul(ue,gr),G=Math.imul(ue,br),G=G+Math.imul(Oe,gr)|0,$=Math.imul(Oe,br),fe=fe+Math.imul(ut,Be)|0,G=G+Math.imul(ut,Ke)|0,G=G+Math.imul(Me,Be)|0,$=$+Math.imul(Me,Ke)|0,fe=fe+Math.imul(it,Se)|0,G=G+Math.imul(it,He)|0,G=G+Math.imul(at,Se)|0,$=$+Math.imul(at,He)|0,fe=fe+Math.imul(Ue,we)|0,G=G+Math.imul(Ue,Le)|0,G=G+Math.imul(Ie,we)|0,$=$+Math.imul(Ie,Le)|0,fe=fe+Math.imul(ce,pt)|0,G=G+Math.imul(ce,bt)|0,G=G+Math.imul(xe,pt)|0,$=$+Math.imul(xe,bt)|0,fe=fe+Math.imul(j,Nt)|0,G=G+Math.imul(j,Xt)|0,G=G+Math.imul(ee,Nt)|0,$=$+Math.imul(ee,Xt)|0,fe=fe+Math.imul(X,ur)|0,G=G+Math.imul(X,pn)|0,G=G+Math.imul(re,ur)|0,$=$+Math.imul(re,pn)|0;var Fn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,fe=Math.imul(ot,gr),G=Math.imul(ot,br),G=G+Math.imul(et,gr)|0,$=Math.imul(et,br),fe=fe+Math.imul(ue,Be)|0,G=G+Math.imul(ue,Ke)|0,G=G+Math.imul(Oe,Be)|0,$=$+Math.imul(Oe,Ke)|0,fe=fe+Math.imul(ut,Se)|0,G=G+Math.imul(ut,He)|0,G=G+Math.imul(Me,Se)|0,$=$+Math.imul(Me,He)|0,fe=fe+Math.imul(it,we)|0,G=G+Math.imul(it,Le)|0,G=G+Math.imul(at,we)|0,$=$+Math.imul(at,Le)|0,fe=fe+Math.imul(Ue,pt)|0,G=G+Math.imul(Ue,bt)|0,G=G+Math.imul(Ie,pt)|0,$=$+Math.imul(Ie,bt)|0,fe=fe+Math.imul(ce,Nt)|0,G=G+Math.imul(ce,Xt)|0,G=G+Math.imul(xe,Nt)|0,$=$+Math.imul(xe,Xt)|0,fe=fe+Math.imul(j,ur)|0,G=G+Math.imul(j,pn)|0,G=G+Math.imul(ee,ur)|0,$=$+Math.imul(ee,pn)|0,fe=fe+Math.imul(X,Nn)|0,G=G+Math.imul(X,On)|0,G=G+Math.imul(re,Nn)|0,$=$+Math.imul(re,On)|0;var Wn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,fe=Math.imul(Et,gr),G=Math.imul(Et,br),G=G+Math.imul(Bt,gr)|0,$=Math.imul(Bt,br),fe=fe+Math.imul(ot,Be)|0,G=G+Math.imul(ot,Ke)|0,G=G+Math.imul(et,Be)|0,$=$+Math.imul(et,Ke)|0,fe=fe+Math.imul(ue,Se)|0,G=G+Math.imul(ue,He)|0,G=G+Math.imul(Oe,Se)|0,$=$+Math.imul(Oe,He)|0,fe=fe+Math.imul(ut,we)|0,G=G+Math.imul(ut,Le)|0,G=G+Math.imul(Me,we)|0,$=$+Math.imul(Me,Le)|0,fe=fe+Math.imul(it,pt)|0,G=G+Math.imul(it,bt)|0,G=G+Math.imul(at,pt)|0,$=$+Math.imul(at,bt)|0,fe=fe+Math.imul(Ue,Nt)|0,G=G+Math.imul(Ue,Xt)|0,G=G+Math.imul(Ie,Nt)|0,$=$+Math.imul(Ie,Xt)|0,fe=fe+Math.imul(ce,ur)|0,G=G+Math.imul(ce,pn)|0,G=G+Math.imul(xe,ur)|0,$=$+Math.imul(xe,pn)|0,fe=fe+Math.imul(j,Nn)|0,G=G+Math.imul(j,On)|0,G=G+Math.imul(ee,Nn)|0,$=$+Math.imul(ee,On)|0,fe=fe+Math.imul(X,zn)|0,G=G+Math.imul(X,Qn)|0,G=G+Math.imul(re,zn)|0,$=$+Math.imul(re,Qn)|0;var ri=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ri>>>26)|0,ri&=67108863,fe=Math.imul(fr,gr),G=Math.imul(fr,br),G=G+Math.imul(ar,gr)|0,$=Math.imul(ar,br),fe=fe+Math.imul(Et,Be)|0,G=G+Math.imul(Et,Ke)|0,G=G+Math.imul(Bt,Be)|0,$=$+Math.imul(Bt,Ke)|0,fe=fe+Math.imul(ot,Se)|0,G=G+Math.imul(ot,He)|0,G=G+Math.imul(et,Se)|0,$=$+Math.imul(et,He)|0,fe=fe+Math.imul(ue,we)|0,G=G+Math.imul(ue,Le)|0,G=G+Math.imul(Oe,we)|0,$=$+Math.imul(Oe,Le)|0,fe=fe+Math.imul(ut,pt)|0,G=G+Math.imul(ut,bt)|0,G=G+Math.imul(Me,pt)|0,$=$+Math.imul(Me,bt)|0,fe=fe+Math.imul(it,Nt)|0,G=G+Math.imul(it,Xt)|0,G=G+Math.imul(at,Nt)|0,$=$+Math.imul(at,Xt)|0,fe=fe+Math.imul(Ue,ur)|0,G=G+Math.imul(Ue,pn)|0,G=G+Math.imul(Ie,ur)|0,$=$+Math.imul(Ie,pn)|0,fe=fe+Math.imul(ce,Nn)|0,G=G+Math.imul(ce,On)|0,G=G+Math.imul(xe,Nn)|0,$=$+Math.imul(xe,On)|0,fe=fe+Math.imul(j,zn)|0,G=G+Math.imul(j,Qn)|0,G=G+Math.imul(ee,zn)|0,$=$+Math.imul(ee,Qn)|0,fe=fe+Math.imul(X,Zt)|0,G=G+Math.imul(X,Ft)|0,G=G+Math.imul(re,Zt)|0,$=$+Math.imul(re,Ft)|0;var Sn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,fe=Math.imul(fr,Be),G=Math.imul(fr,Ke),G=G+Math.imul(ar,Be)|0,$=Math.imul(ar,Ke),fe=fe+Math.imul(Et,Se)|0,G=G+Math.imul(Et,He)|0,G=G+Math.imul(Bt,Se)|0,$=$+Math.imul(Bt,He)|0,fe=fe+Math.imul(ot,we)|0,G=G+Math.imul(ot,Le)|0,G=G+Math.imul(et,we)|0,$=$+Math.imul(et,Le)|0,fe=fe+Math.imul(ue,pt)|0,G=G+Math.imul(ue,bt)|0,G=G+Math.imul(Oe,pt)|0,$=$+Math.imul(Oe,bt)|0,fe=fe+Math.imul(ut,Nt)|0,G=G+Math.imul(ut,Xt)|0,G=G+Math.imul(Me,Nt)|0,$=$+Math.imul(Me,Xt)|0,fe=fe+Math.imul(it,ur)|0,G=G+Math.imul(it,pn)|0,G=G+Math.imul(at,ur)|0,$=$+Math.imul(at,pn)|0,fe=fe+Math.imul(Ue,Nn)|0,G=G+Math.imul(Ue,On)|0,G=G+Math.imul(Ie,Nn)|0,$=$+Math.imul(Ie,On)|0,fe=fe+Math.imul(ce,zn)|0,G=G+Math.imul(ce,Qn)|0,G=G+Math.imul(xe,zn)|0,$=$+Math.imul(xe,Qn)|0,fe=fe+Math.imul(j,Zt)|0,G=G+Math.imul(j,Ft)|0,G=G+Math.imul(ee,Zt)|0,$=$+Math.imul(ee,Ft)|0;var ui=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ui>>>26)|0,ui&=67108863,fe=Math.imul(fr,Se),G=Math.imul(fr,He),G=G+Math.imul(ar,Se)|0,$=Math.imul(ar,He),fe=fe+Math.imul(Et,we)|0,G=G+Math.imul(Et,Le)|0,G=G+Math.imul(Bt,we)|0,$=$+Math.imul(Bt,Le)|0,fe=fe+Math.imul(ot,pt)|0,G=G+Math.imul(ot,bt)|0,G=G+Math.imul(et,pt)|0,$=$+Math.imul(et,bt)|0,fe=fe+Math.imul(ue,Nt)|0,G=G+Math.imul(ue,Xt)|0,G=G+Math.imul(Oe,Nt)|0,$=$+Math.imul(Oe,Xt)|0,fe=fe+Math.imul(ut,ur)|0,G=G+Math.imul(ut,pn)|0,G=G+Math.imul(Me,ur)|0,$=$+Math.imul(Me,pn)|0,fe=fe+Math.imul(it,Nn)|0,G=G+Math.imul(it,On)|0,G=G+Math.imul(at,Nn)|0,$=$+Math.imul(at,On)|0,fe=fe+Math.imul(Ue,zn)|0,G=G+Math.imul(Ue,Qn)|0,G=G+Math.imul(Ie,zn)|0,$=$+Math.imul(Ie,Qn)|0,fe=fe+Math.imul(ce,Zt)|0,G=G+Math.imul(ce,Ft)|0,G=G+Math.imul(xe,Zt)|0,$=$+Math.imul(xe,Ft)|0;var gt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(gt>>>26)|0,gt&=67108863,fe=Math.imul(fr,we),G=Math.imul(fr,Le),G=G+Math.imul(ar,we)|0,$=Math.imul(ar,Le),fe=fe+Math.imul(Et,pt)|0,G=G+Math.imul(Et,bt)|0,G=G+Math.imul(Bt,pt)|0,$=$+Math.imul(Bt,bt)|0,fe=fe+Math.imul(ot,Nt)|0,G=G+Math.imul(ot,Xt)|0,G=G+Math.imul(et,Nt)|0,$=$+Math.imul(et,Xt)|0,fe=fe+Math.imul(ue,ur)|0,G=G+Math.imul(ue,pn)|0,G=G+Math.imul(Oe,ur)|0,$=$+Math.imul(Oe,pn)|0,fe=fe+Math.imul(ut,Nn)|0,G=G+Math.imul(ut,On)|0,G=G+Math.imul(Me,Nn)|0,$=$+Math.imul(Me,On)|0,fe=fe+Math.imul(it,zn)|0,G=G+Math.imul(it,Qn)|0,G=G+Math.imul(at,zn)|0,$=$+Math.imul(at,Qn)|0,fe=fe+Math.imul(Ue,Zt)|0,G=G+Math.imul(Ue,Ft)|0,G=G+Math.imul(Ie,Zt)|0,$=$+Math.imul(Ie,Ft)|0;var yt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(yt>>>26)|0,yt&=67108863,fe=Math.imul(fr,pt),G=Math.imul(fr,bt),G=G+Math.imul(ar,pt)|0,$=Math.imul(ar,bt),fe=fe+Math.imul(Et,Nt)|0,G=G+Math.imul(Et,Xt)|0,G=G+Math.imul(Bt,Nt)|0,$=$+Math.imul(Bt,Xt)|0,fe=fe+Math.imul(ot,ur)|0,G=G+Math.imul(ot,pn)|0,G=G+Math.imul(et,ur)|0,$=$+Math.imul(et,pn)|0,fe=fe+Math.imul(ue,Nn)|0,G=G+Math.imul(ue,On)|0,G=G+Math.imul(Oe,Nn)|0,$=$+Math.imul(Oe,On)|0,fe=fe+Math.imul(ut,zn)|0,G=G+Math.imul(ut,Qn)|0,G=G+Math.imul(Me,zn)|0,$=$+Math.imul(Me,Qn)|0,fe=fe+Math.imul(it,Zt)|0,G=G+Math.imul(it,Ft)|0,G=G+Math.imul(at,Zt)|0,$=$+Math.imul(at,Ft)|0;var Pr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,fe=Math.imul(fr,Nt),G=Math.imul(fr,Xt),G=G+Math.imul(ar,Nt)|0,$=Math.imul(ar,Xt),fe=fe+Math.imul(Et,ur)|0,G=G+Math.imul(Et,pn)|0,G=G+Math.imul(Bt,ur)|0,$=$+Math.imul(Bt,pn)|0,fe=fe+Math.imul(ot,Nn)|0,G=G+Math.imul(ot,On)|0,G=G+Math.imul(et,Nn)|0,$=$+Math.imul(et,On)|0,fe=fe+Math.imul(ue,zn)|0,G=G+Math.imul(ue,Qn)|0,G=G+Math.imul(Oe,zn)|0,$=$+Math.imul(Oe,Qn)|0,fe=fe+Math.imul(ut,Zt)|0,G=G+Math.imul(ut,Ft)|0,G=G+Math.imul(Me,Zt)|0,$=$+Math.imul(Me,Ft)|0;var Ir=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,fe=Math.imul(fr,ur),G=Math.imul(fr,pn),G=G+Math.imul(ar,ur)|0,$=Math.imul(ar,pn),fe=fe+Math.imul(Et,Nn)|0,G=G+Math.imul(Et,On)|0,G=G+Math.imul(Bt,Nn)|0,$=$+Math.imul(Bt,On)|0,fe=fe+Math.imul(ot,zn)|0,G=G+Math.imul(ot,Qn)|0,G=G+Math.imul(et,zn)|0,$=$+Math.imul(et,Qn)|0,fe=fe+Math.imul(ue,Zt)|0,G=G+Math.imul(ue,Ft)|0,G=G+Math.imul(Oe,Zt)|0,$=$+Math.imul(Oe,Ft)|0;var Tr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,fe=Math.imul(fr,Nn),G=Math.imul(fr,On),G=G+Math.imul(ar,Nn)|0,$=Math.imul(ar,On),fe=fe+Math.imul(Et,zn)|0,G=G+Math.imul(Et,Qn)|0,G=G+Math.imul(Bt,zn)|0,$=$+Math.imul(Bt,Qn)|0,fe=fe+Math.imul(ot,Zt)|0,G=G+Math.imul(ot,Ft)|0,G=G+Math.imul(et,Zt)|0,$=$+Math.imul(et,Ft)|0;var Mr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,fe=Math.imul(fr,zn),G=Math.imul(fr,Qn),G=G+Math.imul(ar,zn)|0,$=Math.imul(ar,Qn),fe=fe+Math.imul(Et,Zt)|0,G=G+Math.imul(Et,Ft)|0,G=G+Math.imul(Bt,Zt)|0,$=$+Math.imul(Bt,Ft)|0;var Lr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,fe=Math.imul(fr,Zt),G=Math.imul(fr,Ft),G=G+Math.imul(ar,Zt)|0,$=Math.imul(ar,Ft);var Ur=(se+fe|0)+((G&8191)<<13)|0;return se=($+(G>>>13)|0)+(Ur>>>26)|0,Ur&=67108863,le[0]=Ht,le[1]=Vt,le[2]=wr,le[3]=$r,le[4]=xn,le[5]=en,le[6]=Fn,le[7]=Wn,le[8]=ri,le[9]=Sn,le[10]=ui,le[11]=gt,le[12]=yt,le[13]=Pr,le[14]=Ir,le[15]=Tr,le[16]=Mr,le[17]=Lr,le[18]=Ur,se!==0&&(le[19]=se,U.length++),U};Math.imul||(E=M);function m(O,I,N){N.negative=I.negative^O.negative,N.length=O.length+I.length;for(var U=0,W=0,Q=0;Q>>26)|0,W+=le>>>26,le&=67108863}N.words[Q]=se,U=le,le=W}return U!==0?N.words[Q]=U:N.length--,N.strip()}function b(O,I,N){var U=new v;return U.mulp(O,I,N)}s.prototype.mulTo=function(I,N){var U,W=this.length+I.length;return this.length===10&&I.length===10?U=E(this,I,N):W<63?U=M(this,I,N):W<1024?U=m(this,I,N):U=b(this,I,N),U};function v(O,I){this.x=O,this.y=I}v.prototype.makeRBT=function(I){for(var N=new Array(I),U=s.prototype._countBits(I)-1,W=0;W>=1;return W},v.prototype.permute=function(I,N,U,W,Q,le){for(var se=0;se>>1)Q++;return 1<>>13,U[2*le+1]=Q&8191,Q=Q>>>13;for(le=2*N;le>=26,N+=W/67108864|0,N+=Q>>>26,this.words[U]=Q&67108863}return N!==0&&(this.words[U]=N,this.length++),this},s.prototype.muln=function(I){return this.clone().imuln(I)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(I){var N=w(I);if(N.length===0)return new s(1);for(var U=this,W=0;W=0);var N=I%26,U=(I-N)/26,W=67108863>>>26-N<<26-N,Q;if(N!==0){var le=0;for(Q=0;Q>>26-N}le&&(this.words[Q]=le,this.length++)}if(U!==0){for(Q=this.length-1;Q>=0;Q--)this.words[Q+U]=this.words[Q];for(Q=0;Q=0);var W;N?W=(N-N%26)/26:W=0;var Q=I%26,le=Math.min((I-Q)/26,this.length),se=67108863^67108863>>>Q<le)for(this.length-=le,G=0;G=0&&($!==0||G>=W);G--){var J=this.words[G]|0;this.words[G]=$<<26-Q|J>>>Q,$=J&se}return fe&&$!==0&&(fe.words[fe.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(I,N,U){return i(this.negative===0),this.iushrn(I,N,U)},s.prototype.shln=function(I){return this.clone().ishln(I)},s.prototype.ushln=function(I){return this.clone().iushln(I)},s.prototype.shrn=function(I){return this.clone().ishrn(I)},s.prototype.ushrn=function(I){return this.clone().iushrn(I)},s.prototype.testn=function(I){i(typeof I=="number"&&I>=0);var N=I%26,U=(I-N)/26,W=1<=0);var N=I%26,U=(I-N)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(N!==0&&U++,this.length=Math.min(U,this.length),N!==0){var W=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},s.prototype.isubn=function(I){if(i(typeof I=="number"),i(I<67108864),I<0)return this.iaddn(-I);if(this.negative!==0)return this.negative=0,this.iaddn(I),this.negative=1,this;if(this.words[0]-=I,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(fe/67108864|0),this.words[Q+U]=le&67108863}for(;Q>26,this.words[Q+U]=le&67108863;if(se===0)return this.strip();for(i(se===-1),se=0,Q=0;Q>26,this.words[Q]=le&67108863;return this.negative=1,this.strip()},s.prototype._wordDiv=function(I,N){var U=this.length-I.length,W=this.clone(),Q=I,le=Q.words[Q.length-1]|0,se=this._countBits(le);U=26-se,U!==0&&(Q=Q.ushln(U),W.iushln(U),le=Q.words[Q.length-1]|0);var fe=W.length-Q.length,G;if(N!=="mod"){G=new s(null),G.length=fe+1,G.words=new Array(G.length);for(var $=0;$=0;X--){var re=(W.words[Q.length+X]|0)*67108864+(W.words[Q.length+X-1]|0);for(re=Math.min(re/le|0,67108863),W._ishlnsubmul(Q,re,X);W.negative!==0;)re--,W.negative=0,W._ishlnsubmul(Q,1,X),W.isZero()||(W.negative^=1);G&&(G.words[X]=re)}return G&&G.strip(),W.strip(),N!=="div"&&U!==0&&W.iushrn(U),{div:G||null,mod:W}},s.prototype.divmod=function(I,N,U){if(i(!I.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var W,Q,le;return this.negative!==0&&I.negative===0?(le=this.neg().divmod(I,N),N!=="mod"&&(W=le.div.neg()),N!=="div"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.iadd(I)),{div:W,mod:Q}):this.negative===0&&I.negative!==0?(le=this.divmod(I.neg(),N),N!=="mod"&&(W=le.div.neg()),{div:W,mod:le.mod}):this.negative&I.negative?(le=this.neg().divmod(I.neg(),N),N!=="div"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.isub(I)),{div:le.div,mod:Q}):I.length>this.length||this.cmp(I)<0?{div:new s(0),mod:this}:I.length===1?N==="div"?{div:this.divn(I.words[0]),mod:null}:N==="mod"?{div:null,mod:new s(this.modn(I.words[0]))}:{div:this.divn(I.words[0]),mod:new s(this.modn(I.words[0]))}:this._wordDiv(I,N)},s.prototype.div=function(I){return this.divmod(I,"div",!1).div},s.prototype.mod=function(I){return this.divmod(I,"mod",!1).mod},s.prototype.umod=function(I){return this.divmod(I,"mod",!0).mod},s.prototype.divRound=function(I){var N=this.divmod(I);if(N.mod.isZero())return N.div;var U=N.div.negative!==0?N.mod.isub(I):N.mod,W=I.ushrn(1),Q=I.andln(1),le=U.cmp(W);return le<0||Q===1&&le===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},s.prototype.modn=function(I){i(I<=67108863);for(var N=(1<<26)%I,U=0,W=this.length-1;W>=0;W--)U=(N*U+(this.words[W]|0))%I;return U},s.prototype.idivn=function(I){i(I<=67108863);for(var N=0,U=this.length-1;U>=0;U--){var W=(this.words[U]|0)+N*67108864;this.words[U]=W/I|0,N=W%I}return this.strip()},s.prototype.divn=function(I){return this.clone().idivn(I)},s.prototype.egcd=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=new s(0),se=new s(1),fe=0;N.isEven()&&U.isEven();)N.iushrn(1),U.iushrn(1),++fe;for(var G=U.clone(),$=N.clone();!N.isZero();){for(var J=0,X=1;!(N.words[0]&X)&&J<26;++J,X<<=1);if(J>0)for(N.iushrn(J);J-- >0;)(W.isOdd()||Q.isOdd())&&(W.iadd(G),Q.isub($)),W.iushrn(1),Q.iushrn(1);for(var re=0,ae=1;!(U.words[0]&ae)&&re<26;++re,ae<<=1);if(re>0)for(U.iushrn(re);re-- >0;)(le.isOdd()||se.isOdd())&&(le.iadd(G),se.isub($)),le.iushrn(1),se.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(le),Q.isub(se)):(U.isub(N),le.isub(W),se.isub(Q))}return{a:le,b:se,gcd:U.iushln(fe)}},s.prototype._invmp=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=U.clone();N.cmpn(1)>0&&U.cmpn(1)>0;){for(var se=0,fe=1;!(N.words[0]&fe)&&se<26;++se,fe<<=1);if(se>0)for(N.iushrn(se);se-- >0;)W.isOdd()&&W.iadd(le),W.iushrn(1);for(var G=0,$=1;!(U.words[0]&$)&&G<26;++G,$<<=1);if(G>0)for(U.iushrn(G);G-- >0;)Q.isOdd()&&Q.iadd(le),Q.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(Q)):(U.isub(N),Q.isub(W))}var J;return N.cmpn(1)===0?J=W:J=Q,J.cmpn(0)<0&&J.iadd(I),J},s.prototype.gcd=function(I){if(this.isZero())return I.abs();if(I.isZero())return this.abs();var N=this.clone(),U=I.clone();N.negative=0,U.negative=0;for(var W=0;N.isEven()&&U.isEven();W++)N.iushrn(1),U.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;U.isEven();)U.iushrn(1);var Q=N.cmp(U);if(Q<0){var le=N;N=U,U=le}else if(Q===0||U.cmpn(1)===0)break;N.isub(U)}while(!0);return U.iushln(W)},s.prototype.invm=function(I){return this.egcd(I).a.umod(I)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(I){return this.words[0]&I},s.prototype.bincn=function(I){i(typeof I=="number");var N=I%26,U=(I-N)/26,W=1<>>26,se&=67108863,this.words[le]=se}return Q!==0&&(this.words[le]=Q,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(I){var N=I<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var U;if(this.length>1)U=1;else{N&&(I=-I),i(I<=67108863,"Number is too big");var W=this.words[0]|0;U=W===I?0:WI.length)return 1;if(this.length=0;U--){var W=this.words[U]|0,Q=I.words[U]|0;if(W!==Q){WQ&&(N=1);break}}return N},s.prototype.gtn=function(I){return this.cmpn(I)===1},s.prototype.gt=function(I){return this.cmp(I)===1},s.prototype.gten=function(I){return this.cmpn(I)>=0},s.prototype.gte=function(I){return this.cmp(I)>=0},s.prototype.ltn=function(I){return this.cmpn(I)===-1},s.prototype.lt=function(I){return this.cmp(I)===-1},s.prototype.lten=function(I){return this.cmpn(I)<=0},s.prototype.lte=function(I){return this.cmp(I)<=0},s.prototype.eqn=function(I){return this.cmpn(I)===0},s.prototype.eq=function(I){return this.cmp(I)===0},s.red=function(I){return new F(I)},s.prototype.toRed=function(I){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),I.convertTo(this)._forceRed(I)},s.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(I){return this.red=I,this},s.prototype.forceRed=function(I){return i(!this.red,"Already a number in reduction context"),this._forceRed(I)},s.prototype.redAdd=function(I){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,I)},s.prototype.redIAdd=function(I){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,I)},s.prototype.redSub=function(I){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,I)},s.prototype.redISub=function(I){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,I)},s.prototype.redShl=function(I){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,I)},s.prototype.redMul=function(I){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,I),this.red.mul(this,I)},s.prototype.redIMul=function(I){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,I),this.red.imul(this,I)},s.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(I){return i(this.red&&!I.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,I)};var u={k256:null,p224:null,p192:null,p25519:null};function y(O,I){this.name=O,this.p=new s(I,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}y.prototype._tmp=function(){var I=new s(null);return I.words=new Array(Math.ceil(this.n/13)),I},y.prototype.ireduce=function(I){var N=I,U;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),U=N.bitLength();while(U>this.n);var W=U0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},y.prototype.split=function(I,N){I.iushrn(this.n,0,N)},y.prototype.imulK=function(I){return I.imul(this.k)};function f(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(f,y),f.prototype.split=function(I,N){for(var U=4194303,W=Math.min(I.length,9),Q=0;Q>>22,le=se}le>>>=22,I.words[Q-10]=le,le===0&&I.length>10?I.length-=10:I.length-=9},f.prototype.imulK=function(I){I.words[I.length]=0,I.words[I.length+1]=0,I.length+=2;for(var N=0,U=0;U>>=26,I.words[U]=Q,N=W}return N!==0&&(I.words[I.length++]=N),I},s._prime=function(I){if(u[I])return u[I];var N;if(I==="k256")N=new f;else if(I==="p224")N=new P;else if(I==="p192")N=new L;else if(I==="p25519")N=new z;else throw new Error("Unknown prime "+I);return u[I]=N,N};function F(O){if(typeof O=="string"){var I=s._prime(O);this.m=I.p,this.prime=I}else i(O.gtn(1),"modulus must be greater than 1"),this.m=O,this.prime=null}F.prototype._verify1=function(I){i(I.negative===0,"red works only with positives"),i(I.red,"red works only with red numbers")},F.prototype._verify2=function(I,N){i((I.negative|N.negative)===0,"red works only with positives"),i(I.red&&I.red===N.red,"red works only with red numbers")},F.prototype.imod=function(I){return this.prime?this.prime.ireduce(I)._forceRed(this):I.umod(this.m)._forceRed(this)},F.prototype.neg=function(I){return I.isZero()?I.clone():this.m.sub(I)._forceRed(this)},F.prototype.add=function(I,N){this._verify2(I,N);var U=I.add(N);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},F.prototype.iadd=function(I,N){this._verify2(I,N);var U=I.iadd(N);return U.cmp(this.m)>=0&&U.isub(this.m),U},F.prototype.sub=function(I,N){this._verify2(I,N);var U=I.sub(N);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},F.prototype.isub=function(I,N){this._verify2(I,N);var U=I.isub(N);return U.cmpn(0)<0&&U.iadd(this.m),U},F.prototype.shl=function(I,N){return this._verify1(I),this.imod(I.ushln(N))},F.prototype.imul=function(I,N){return this._verify2(I,N),this.imod(I.imul(N))},F.prototype.mul=function(I,N){return this._verify2(I,N),this.imod(I.mul(N))},F.prototype.isqr=function(I){return this.imul(I,I.clone())},F.prototype.sqr=function(I){return this.mul(I,I)},F.prototype.sqrt=function(I){if(I.isZero())return I.clone();var N=this.m.andln(3);if(i(N%2===1),N===3){var U=this.m.add(new s(1)).iushrn(2);return this.pow(I,U)}for(var W=this.m.subn(1),Q=0;!W.isZero()&&W.andln(1)===0;)Q++,W.iushrn(1);i(!W.isZero());var le=new s(1).toRed(this),se=le.redNeg(),fe=this.m.subn(1).iushrn(1),G=this.m.bitLength();for(G=new s(2*G*G).toRed(this);this.pow(G,fe).cmp(se)!==0;)G.redIAdd(se);for(var $=this.pow(G,W),J=this.pow(I,W.addn(1).iushrn(1)),X=this.pow(I,W),re=Q;X.cmp(le)!==0;){for(var ae=X,j=0;ae.cmp(le)!==0;j++)ae=ae.redSqr();i(j=0;Q--){for(var $=N.words[Q],J=G-1;J>=0;J--){var X=$>>J&1;if(le!==W[0]&&(le=this.sqr(le)),X===0&&se===0){fe=0;continue}se<<=1,se|=X,fe++,!(fe!==U&&(Q!==0||J!==0))&&(le=this.mul(le,W[se]),fe=0,se=0)}G=26}return le},F.prototype.convertTo=function(I){var N=I.umod(this.m);return N===I?N.clone():N},F.prototype.convertFrom=function(I){var N=I.clone();return N.red=null,N},s.mont=function(I){return new B(I)};function B(O){F.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(B,F),B.prototype.convertTo=function(I){return this.imod(I.ushln(this.shift))},B.prototype.convertFrom=function(I){var N=this.imod(I.mul(this.rinv));return N.red=null,N},B.prototype.imul=function(I,N){if(I.isZero()||N.isZero())return I.words[0]=0,I.length=1,I;var U=I.imul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.mul=function(I,N){if(I.isZero()||N.isZero())return new s(0)._forceRed(this);var U=I.mul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.invm=function(I){var N=this.imod(I._invmp(this.m).mul(this.r2));return N._forceRed(this)}}(e,this)},6204:function(e){"use strict";e.exports=t;function t(r){var o,n,i,a=r.length,s=0;for(o=0;o>>1;if(!(v<=0)){var u,y=o.mallocDouble(2*v*m),f=o.mallocInt32(m);if(m=s(_,v,y,f),m>0){if(v===1&&E)n.init(m),u=n.sweepComplete(v,M,0,m,y,f,0,m,y,f);else{var P=o.mallocDouble(2*v*b),L=o.mallocInt32(b);b=s(w,v,P,L),b>0&&(n.init(m+b),v===1?u=n.sweepBipartite(v,M,0,m,y,f,0,b,P,L):u=i(v,M,E,m,y,f,b,P,L),o.free(P),o.free(L))}o.free(y),o.free(f)}return u}}}var h;function p(_,w){h.push([_,w])}function d(_){return h=[],c(_,_,p,!0),h}function T(_,w){return h=[],c(_,w,p,!1),h}function l(_,w,M){switch(arguments.length){case 1:return d(_);case 2:return typeof w=="function"?c(_,_,w,!0):T(_,w);case 3:return c(_,w,M,!1);default:throw new Error("box-intersect: Invalid arguments")}}},2455:function(e,t){"use strict";function r(){function i(c,h,p,d,T,l,_,w,M,E,m){for(var b=2*c,v=d,u=b*d;vM-w?i(c,h,p,d,T,l,_,w,M,E,m):a(c,h,p,d,T,l,_,w,M,E,m)}return s}function o(){function i(p,d,T,l,_,w,M,E,m,b,v){for(var u=2*p,y=l,f=u*l;y<_;++y,f+=u){var P=w[d+f],L=w[d+f+p],z=M[y];e:for(var F=E,B=u*E;Fb-m?l?i(p,d,T,_,w,M,E,m,b,v,u):a(p,d,T,_,w,M,E,m,b,v,u):l?s(p,d,T,_,w,M,E,m,b,v,u):c(p,d,T,_,w,M,E,m,b,v,u)}return h}function n(i){return i?r():o()}t.partial=n(!1),t.full=n(!0)},7150:function(e,t,r){"use strict";e.exports=O;var o=r(1888),n=r(8828),i=r(2455),a=i.partial,s=i.full,c=r(855),h=r(3545),p=r(8105),d=128,T=1<<22,l=1<<22,_=p("!(lo>=p0)&&!(p1>=hi)"),w=p("lo===p0"),M=p("lo0;){$-=1;var re=$*v,ae=f[re],j=f[re+1],ee=f[re+2],ie=f[re+3],ce=f[re+4],xe=f[re+5],Te=$*u,Ue=P[Te],Ie=P[Te+1],Ye=xe&1,it=!!(xe&16),at=Q,tt=le,ut=fe,Me=G;if(Ye&&(at=fe,tt=G,ut=Q,Me=le),!(xe&2&&(ee=M(I,ae,j,ee,at,tt,Ie),j>=ee))&&!(xe&4&&(j=E(I,ae,j,ee,at,tt,Ue),j>=ee))){var pe=ee-j,ue=ce-ie;if(it){if(I*pe*(pe+ue)p&&T[b+h]>E;--m,b-=_){for(var v=b,u=b+_,y=0;y<_;++y,++v,++u){var f=T[v];T[v]=T[u],T[u]=f}var P=l[m];l[m]=l[m-1],l[m-1]=P}}function s(c,h,p,d,T,l){if(d<=p+1)return p;for(var _=p,w=d,M=d+p>>>1,E=2*c,m=M,b=T[E*M+h];_=P?(m=f,b=P):y>=z?(m=u,b=y):(m=L,b=z):P>=z?(m=f,b=P):z>=y?(m=u,b=y):(m=L,b=z);for(var O=E*(w-1),I=E*m,F=0;F=p0)&&!(p1>=hi)":h};function r(p){return t[p]}function o(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(P===M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function n(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(PL;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function i(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function a(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function s(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(P<=M&&M<=L)if(v===f)v+=1,b+=E;else{for(var z=0;E>z;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function c(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(Pz;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function h(p,d,T,l,_,w,M,E){for(var m=2*p,b=m*T,v=b,u=T,y=d,f=p+d,P=T;l>P;++P,b+=m){var L=_[b+y],z=_[b+f];if(!(L>=M)&&!(E>=z))if(u===P)u+=1,v+=m;else{for(var F=0;m>F;++F){var B=_[b+F];_[b+F]=_[v],_[v++]=B}var O=w[P];w[P]=w[u],w[u++]=O}}return u}},4192:function(e){"use strict";e.exports=r;var t=32;function r(d,T){T<=4*t?o(0,T-1,d):p(0,T-1,d)}function o(d,T,l){for(var _=2*(d+1),w=d+1;w<=T;++w){for(var M=l[_++],E=l[_++],m=w,b=_-2;m-- >d;){var v=l[b-2],u=l[b-1];if(vl[T+1]:!0}function h(d,T,l,_){d*=2;var w=_[d];return w>1,m=E-_,b=E+_,v=w,u=m,y=E,f=b,P=M,L=d+1,z=T-1,F=0;c(v,u,l)&&(F=v,v=u,u=F),c(f,P,l)&&(F=f,f=P,P=F),c(v,y,l)&&(F=v,v=y,y=F),c(u,y,l)&&(F=u,u=y,y=F),c(v,f,l)&&(F=v,v=f,f=F),c(y,f,l)&&(F=y,y=f,f=F),c(u,P,l)&&(F=u,u=P,P=F),c(u,y,l)&&(F=u,u=y,y=F),c(f,P,l)&&(F=f,f=P,P=F);for(var B=l[2*u],O=l[2*u+1],I=l[2*f],N=l[2*f+1],U=2*v,W=2*y,Q=2*P,le=2*w,se=2*E,fe=2*M,G=0;G<2;++G){var $=l[U+G],J=l[W+G],X=l[Q+G];l[le+G]=$,l[se+G]=J,l[fe+G]=X}i(m,d,l),i(b,T,l);for(var re=L;re<=z;++re)if(h(re,B,O,l))re!==L&&n(re,L,l),++L;else if(!h(re,I,N,l))for(;;)if(h(z,I,N,l)){h(z,B,O,l)?(a(re,L,z,l),++L,--z):(n(re,z,l),--z);break}else{if(--z>>1;i(_,J);for(var X=0,re=0,se=0;se=a)ae=ae-a|0,M(p,d,re--,ae);else if(ae>=0)M(c,h,X--,ae);else if(ae<=-a){ae=-ae-a|0;for(var j=0;j>>1;i(_,J);for(var X=0,re=0,ae=0,se=0;se>1===_[2*se+3]>>1&&(ee=2,se+=1),j<0){for(var ie=-(j>>1)-1,ce=0;ce>1)-1;ee===0?M(c,h,X--,ie):ee===1?M(p,d,re--,ie):ee===2&&M(T,l,ae--,ie)}}}function v(y,f,P,L,z,F,B,O,I,N,U,W){var Q=0,le=2*y,se=f,fe=f+y,G=1,$=1;L?$=a:G=a;for(var J=z;J>>1;i(_,j);for(var ee=0,J=0;J=a?(ce=!L,X-=a):(ce=!!L,X-=1),ce)E(c,h,ee++,X);else{var xe=W[X],Te=le*X,Ue=U[Te+f+1],Ie=U[Te+f+1+y];e:for(var Ye=0;Ye>>1;i(_,X);for(var re=0,fe=0;fe=a)c[re++]=G-a;else{G-=1;var j=U[G],ee=Q*G,ie=N[ee+f+1],ce=N[ee+f+1+y];e:for(var xe=0;xe=0;--xe)if(c[xe]===G){for(var Ye=xe+1;Ye0;){for(var w=h.pop(),T=h.pop(),M=-1,E=-1,l=d[T],b=1;b=0||(c.flip(T,w),i(s,c,h,M,T,E),i(s,c,h,T,E,M),i(s,c,h,E,w,M),i(s,c,h,w,M,E))}}},5023:function(e,t,r){"use strict";var o=r(2478);e.exports=h;function n(p,d,T,l,_,w,M){this.cells=p,this.neighbor=d,this.flags=l,this.constraint=T,this.active=_,this.next=w,this.boundary=M}var i=n.prototype;function a(p,d){return p[0]-d[0]||p[1]-d[1]||p[2]-d[2]}i.locate=function(){var p=[0,0,0];return function(d,T,l){var _=d,w=T,M=l;return T0||M.length>0;){for(;w.length>0;){var u=w.pop();if(E[u]!==-_){E[u]=_;for(var y=m[u],f=0;f<3;++f){var P=v[3*u+f];P>=0&&E[P]===0&&(b[3*u+f]?M.push(P):(w.push(P),E[P]=_))}}}var L=M;M=w,w=L,M.length=0,_=-_}var z=c(m,E,d);return T?z.concat(l.boundary):z}},8902:function(e,t,r){"use strict";var o=r(2478),n=r(3250)[3],i=0,a=1,s=2;e.exports=M;function c(E,m,b,v,u){this.a=E,this.b=m,this.idx=b,this.lowerIds=v,this.upperIds=u}function h(E,m,b,v){this.a=E,this.b=m,this.type=b,this.idx=v}function p(E,m){var b=E.a[0]-m.a[0]||E.a[1]-m.a[1]||E.type-m.type;return b||E.type!==i&&(b=n(E.a,E.b,m.b),b)?b:E.idx-m.idx}function d(E,m){return n(E.a,E.b,m)}function T(E,m,b,v,u){for(var y=o.lt(m,v,d),f=o.gt(m,v,d),P=y;P1&&n(b[z[B-2]],b[z[B-1]],v)>0;)E.push([z[B-1],z[B-2],u]),B-=1;z.length=B,z.push(u);for(var F=L.upperIds,B=F.length;B>1&&n(b[F[B-2]],b[F[B-1]],v)<0;)E.push([F[B-2],F[B-1],u]),B-=1;F.length=B,F.push(u)}}function l(E,m){var b;return E.a[0]L[0]&&u.push(new h(L,P,s,y),new h(P,L,a,y))}u.sort(p);for(var z=u[0].a[0]-(1+Math.abs(u[0].a[0]))*Math.pow(2,-52),F=[new c([z,1],[z,0],-1,[],[],[],[])],B=[],y=0,O=u.length;y=0}}(),i.removeTriangle=function(c,h,p){var d=this.stars;a(d[c],h,p),a(d[h],p,c),a(d[p],c,h)},i.addTriangle=function(c,h,p){var d=this.stars;d[c].push(h,p),d[h].push(p,c),d[p].push(c,h)},i.opposite=function(c,h){for(var p=this.stars[h],d=1,T=p.length;d=0;--I){var $=B[I];N=$[0];var J=z[N],X=J[0],re=J[1],ae=L[X],j=L[re];if((ae[0]-j[0]||ae[1]-j[1])<0){var ee=X;X=re,re=ee}J[0]=X;var ie=J[1]=$[1],ce;for(O&&(ce=J[2]);I>0&&B[I-1][0]===N;){var $=B[--I],xe=$[1];O?z.push([ie,xe,ce]):z.push([ie,xe]),ie=xe}O?z.push([ie,re,ce]):z.push([ie,re])}return U}function m(L,z,F){for(var B=z.length,O=new o(B),I=[],N=0;Nz[2]?1:0)}function u(L,z,F){if(L.length!==0){if(z)for(var B=0;B0||N.length>0}function P(L,z,F){var B;if(F){B=z;for(var O=new Array(z.length),I=0;IE+1)throw new Error(w+" map requires nshades to be at least size "+_.length);Array.isArray(h.alpha)?h.alpha.length!==2?m=[1,1]:m=h.alpha.slice():typeof h.alpha=="number"?m=[h.alpha,h.alpha]:m=[1,1],p=_.map(function(P){return Math.round(P.index*E)}),m[0]=Math.min(Math.max(m[0],0),1),m[1]=Math.min(Math.max(m[1],0),1);var v=_.map(function(P,L){var z=_[L].index,F=_[L].rgb.slice();return F.length===4&&F[3]>=0&&F[3]<=1||(F[3]=m[0]+(m[1]-m[0])*z),F}),u=[];for(b=0;b=0}function h(p,d,T,l){var _=o(d,T,l);if(_===0){var w=n(o(p,d,T)),M=n(o(p,d,l));if(w===M){if(w===0){var E=c(p,d,T),m=c(p,d,l);return E===m?0:E?1:-1}return 0}else{if(M===0)return w>0||c(p,d,l)?-1:1;if(w===0)return M>0||c(p,d,T)?1:-1}return n(M-w)}var b=o(p,d,T);if(b>0)return _>0&&o(p,d,l)>0?1:-1;if(b<0)return _>0||o(p,d,l)>0?1:-1;var v=o(p,d,l);return v>0||c(p,d,T)?1:-1}},8572:function(e){"use strict";e.exports=function(r){return r<0?-1:r>0?1:0}},8507:function(e){e.exports=o;var t=Math.min;function r(n,i){return n-i}function o(n,i){var a=n.length,s=n.length-i.length;if(s)return s;switch(a){case 0:return 0;case 1:return n[0]-i[0];case 2:return n[0]+n[1]-i[0]-i[1]||t(n[0],n[1])-t(i[0],i[1]);case 3:var c=n[0]+n[1],h=i[0]+i[1];if(s=c+n[2]-(h+i[2]),s)return s;var p=t(n[0],n[1]),d=t(i[0],i[1]);return t(p,n[2])-t(d,i[2])||t(p+n[2],c)-t(d+i[2],h);case 4:var T=n[0],l=n[1],_=n[2],w=n[3],M=i[0],E=i[1],m=i[2],b=i[3];return T+l+_+w-(M+E+m+b)||t(T,l,_,w)-t(M,E,m,b,M)||t(T+l,T+_,T+w,l+_,l+w,_+w)-t(M+E,M+m,M+b,E+m,E+b,m+b)||t(T+l+_,T+l+w,T+_+w,l+_+w)-t(M+E+m,M+E+b,M+m+b,E+m+b);default:for(var v=n.slice().sort(r),u=i.slice().sort(r),y=0;yr[n][0]&&(n=i);return on?[[n],[o]]:[[o]]}},4750:function(e,t,r){"use strict";e.exports=n;var o=r(3090);function n(i){var a=o(i),s=a.length;if(s<=2)return[];for(var c=new Array(s),h=a[s-1],p=0;p=h[M]&&(w+=1);l[_]=w}}return c}function s(c,h){try{return o(c,!0)}catch{var p=n(c);if(p.length<=h)return[];var d=i(c,p),T=o(d,!0);return a(T,p)}}},4769:function(e){"use strict";function t(o,n,i,a,s,c){var h=6*s*s-6*s,p=3*s*s-4*s+1,d=-6*s*s+6*s,T=3*s*s-2*s;if(o.length){c||(c=new Array(o.length));for(var l=o.length-1;l>=0;--l)c[l]=h*o[l]+p*n[l]+d*i[l]+T*a[l];return c}return h*o+p*n+d*i[l]+T*a}function r(o,n,i,a,s,c){var h=s-1,p=s*s,d=h*h,T=(1+2*s)*d,l=s*d,_=p*(3-2*s),w=p*h;if(o.length){c||(c=new Array(o.length));for(var M=o.length-1;M>=0;--M)c[M]=T*o[M]+l*n[M]+_*i[M]+w*a[M];return c}return T*o+l*n+_*i+w*a}e.exports=r,e.exports.derivative=t},7642:function(e,t,r){"use strict";var o=r(8954),n=r(1682);e.exports=c;function i(h,p){this.point=h,this.index=p}function a(h,p){for(var d=h.point,T=p.point,l=d.length,_=0;_=2)return!1;F[O]=I}return!0}):z=z.filter(function(F){for(var B=0;B<=T;++B){var O=y[F[B]];if(O<0)return!1;F[B]=O}return!0}),T&1)for(var w=0;w>>31},e.exports.exponent=function(_){var w=e.exports.hi(_);return(w<<1>>>21)-1023},e.exports.fraction=function(_){var w=e.exports.lo(_),M=e.exports.hi(_),E=M&(1<<20)-1;return M&2146435072&&(E+=1048576),[w,E]},e.exports.denormalized=function(_){var w=e.exports.hi(_);return!(w&2146435072)}},1338:function(e){"use strict";function t(n,i,a){var s=n[a]|0;if(s<=0)return[];var c=new Array(s),h;if(a===n.length-1)for(h=0;h"u"&&(i=0),typeof n){case"number":if(n>0)return r(n|0,i);break;case"object":if(typeof n.length=="number")return t(n,i,0);break}return[]}e.exports=o},3134:function(e,t,r){"use strict";e.exports=n;var o=r(1682);function n(i,a){var s=i.length;if(typeof a!="number"){a=0;for(var c=0;c=T-1)for(var b=w.length-1,u=p-d[T-1],v=0;v=T-1)for(var m=w.length-1,b=p-d[T-1],v=0;v=0;--T)if(p[--d])return!1;return!0},s.jump=function(p){var d=this.lastT(),T=this.dimension;if(!(p0;--v)l.push(i(E[v-1],m[v-1],arguments[v])),_.push(0)}},s.push=function(p){var d=this.lastT(),T=this.dimension;if(!(p1e-6?1/M:0;this._time.push(p);for(var u=T;u>0;--u){var y=i(m[u-1],b[u-1],arguments[u]);l.push(y),_.push((y-l[w++])*v)}}},s.set=function(p){var d=this.dimension;if(!(p0;--E)T.push(i(w[E-1],M[E-1],arguments[E])),l.push(0)}},s.move=function(p){var d=this.lastT(),T=this.dimension;if(!(p<=d||arguments.length!==T+1)){var l=this._state,_=this._velocity,w=l.length-this.dimension,M=this.bounds,E=M[0],m=M[1],b=p-d,v=b>1e-6?1/b:0;this._time.push(p);for(var u=T;u>0;--u){var y=arguments[u];l.push(i(E[u-1],m[u-1],l[w++]+y)),_.push(y*v)}}},s.idle=function(p){var d=this.lastT();if(!(p=0;--v)l.push(i(E[v],m[v],l[w]+b*_[w])),_.push(0),w+=1}};function c(p){for(var d=new Array(p),T=0;T=0;--L){var u=y[L];f[L]<=0?y[L]=new o(u._color,u.key,u.value,y[L+1],u.right,u._count+1):y[L]=new o(u._color,u.key,u.value,u.left,y[L+1],u._count+1)}for(var L=y.length-1;L>1;--L){var z=y[L-1],u=y[L];if(z._color===r||u._color===r)break;var F=y[L-2];if(F.left===z)if(z.left===u){var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.left=z.right,z._color=r,z.right=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.left===F?O.left=z:O.right=z}break}}else{var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(z.right=u.left,F._color=t,F.left=u.right,u._color=r,u.left=z,u.right=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.left===F?O.left=u:O.right=u}break}}else if(z.right===u){var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.right=z.left,z._color=r,z.left=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.right===F?O.right=z:O.left=z}break}}else{var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(z.left=u.right,F._color=t,F.right=u.left,u._color=r,u.right=z,u.left=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.right===F?O.right=u:O.left=u}break}}}return y[0]._color=r,new s(v,y[0])};function h(m,b){if(b.left){var v=h(m,b.left);if(v)return v}var v=m(b.key,b.value);if(v)return v;if(b.right)return h(m,b.right)}function p(m,b,v,u){var y=b(m,u.key);if(y<=0){if(u.left){var f=p(m,b,v,u.left);if(f)return f}var f=v(u.key,u.value);if(f)return f}if(u.right)return p(m,b,v,u.right)}function d(m,b,v,u,y){var f=v(m,y.key),P=v(b,y.key),L;if(f<=0&&(y.left&&(L=d(m,b,v,u,y.left),L)||P>0&&(L=u(y.key,y.value),L)))return L;if(P>0&&y.right)return d(m,b,v,u,y.right)}c.forEach=function(b,v,u){if(this.root)switch(arguments.length){case 1:return h(b,this.root);case 2:return p(v,this._compare,b,this.root);case 3:return this._compare(v,u)>=0?void 0:d(v,u,this._compare,b,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.left;return new T(this,m)}}),Object.defineProperty(c,"end",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.right;return new T(this,m)}}),c.at=function(m){if(m<0)return new T(this,[]);for(var b=this.root,v=[];;){if(v.push(b),b.left){if(m=b.right._count)break;b=b.right}else break}return new T(this,[])},c.ge=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<=0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.gt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.lt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.le=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>=0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.find=function(m){for(var b=this._compare,v=this.root,u=[];v;){var y=b(m,v.key);if(u.push(v),y===0)return new T(this,u);y<=0?v=v.left:v=v.right}return new T(this,[])},c.remove=function(m){var b=this.find(m);return b?b.remove():this},c.get=function(m){for(var b=this._compare,v=this.root;v;){var u=b(m,v.key);if(u===0)return v.value;u<=0?v=v.left:v=v.right}};function T(m,b){this.tree=m,this._stack=b}var l=T.prototype;Object.defineProperty(l,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(l,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),l.clone=function(){return new T(this.tree,this._stack.slice())};function _(m,b){m.key=b.key,m.value=b.value,m.left=b.left,m.right=b.right,m._color=b._color,m._count=b._count}function w(m){for(var b,v,u,y,f=m.length-1;f>=0;--f){if(b=m[f],f===0){b._color=r;return}if(v=m[f-1],v.left===b){if(u=v.right,u.right&&u.right._color===t){if(u=v.right=n(u),y=u.right=n(u.right),v.right=u.left,u.left=v,u.right=y,u._color=v._color,b._color=r,v._color=r,y._color=r,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u;return}else if(u.left&&u.left._color===t){if(u=v.right=n(u),y=u.left=n(u.left),v.right=y.left,u.left=y.right,y.left=v,y.right=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.left===v?P.left=y:P.right=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.right=i(t,u);return}else{v.right=i(t,u);continue}else{if(u=n(u),v.right=u.left,u.left=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u,m[f]=v,f+11){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u;return}else if(u.right&&u.right._color===t){if(u=v.left=n(u),y=u.right=n(u.right),v.left=y.right,u.right=y.left,y.right=v,y.left=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.right===v?P.right=y:P.left=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.left=i(t,u);return}else{v.left=i(t,u);continue}else{if(u=n(u),v.left=u.right,u.right=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u,m[f]=v,f+1=0;--u){var v=m[u];v.left===m[u+1]?b[u]=new o(v._color,v.key,v.value,b[u+1],v.right,v._count):b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count)}if(v=b[b.length-1],v.left&&v.right){var y=b.length;for(v=v.left;v.right;)b.push(v),v=v.right;var f=b[y-1];b.push(new o(v._color,f.key,f.value,v.left,v.right,v._count)),b[y-1].key=v.key,b[y-1].value=v.value;for(var u=b.length-2;u>=y;--u)v=b[u],b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count);b[y-1].left=b[y]}if(v=b[b.length-1],v._color===t){var P=b[b.length-2];P.left===v?P.left=null:P.right===v&&(P.right=null),b.pop();for(var u=0;u0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(l,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(l,"index",{get:function(){var m=0,b=this._stack;if(b.length===0){var v=this.tree.root;return v?v._count:0}else b[b.length-1].left&&(m=b[b.length-1].left._count);for(var u=b.length-2;u>=0;--u)b[u+1]===b[u].right&&(++m,b[u].left&&(m+=b[u].left._count));return m},enumerable:!0}),l.next=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.right)for(b=b.right;b;)m.push(b),b=b.left;else for(m.pop();m.length>0&&m[m.length-1].right===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,"hasNext",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].right)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].left===m[b])return!0;return!1}}),l.update=function(m){var b=this._stack;if(b.length===0)throw new Error("Can't update empty node!");var v=new Array(b.length),u=b[b.length-1];v[v.length-1]=new o(u._color,u.key,m,u.left,u.right,u._count);for(var y=b.length-2;y>=0;--y)u=b[y],u.left===b[y+1]?v[y]=new o(u._color,u.key,u.value,v[y+1],u.right,u._count):v[y]=new o(u._color,u.key,u.value,u.left,v[y+1],u._count);return new s(this.tree._compare,v[0])},l.prev=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.left)for(b=b.left;b;)m.push(b),b=b.right;else for(m.pop();m.length>0&&m[m.length-1].left===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,"hasPrev",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].left)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].right===m[b])return!0;return!1}});function M(m,b){return mb?1:0}function E(m){return new s(m||M,null)}},3837:function(e,t,r){"use strict";e.exports=L;var o=r(4935),n=r(501),i=r(5304),a=r(6429),s=r(6444),c=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),h=ArrayBuffer,p=DataView;function d(z){return h.isView(z)&&!(z instanceof p)}function T(z){return Array.isArray(z)||d(z)}function l(z,F){return z[0]=F[0],z[1]=F[1],z[2]=F[2],z}function _(z){this.gl=z,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickFontStyle=["normal","normal","normal"],this.tickFontWeight=["normal","normal","normal"],this.tickFontVariant=["normal","normal","normal"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont=["sans-serif","sans-serif","sans-serif"],this.labelFontStyle=["normal","normal","normal"],this.labelFontWeight=["normal","normal","normal"],this.labelFontVariant=["normal","normal","normal"],this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=i(z)}var w=_.prototype;w.update=function(z){z=z||{};function F(X,re,ae){if(ae in z){var j=z[ae],ee=this[ae],ie;(X?T(j)&&T(j[0]):T(j))?this[ae]=ie=[re(j[0]),re(j[1]),re(j[2])]:this[ae]=ie=[re(j),re(j),re(j)];for(var ce=0;ce<3;++ce)if(ie[ce]!==ee[ce])return!0}return!1}var B=F.bind(this,!1,Number),O=F.bind(this,!1,Boolean),I=F.bind(this,!1,String),N=F.bind(this,!0,function(X){if(T(X)){if(X.length===3)return[+X[0],+X[1],+X[2],1];if(X.length===4)return[+X[0],+X[1],+X[2],+X[3]]}return[0,0,0,1]}),U,W=!1,Q=!1;if("bounds"in z)for(var le=z.bounds,se=0;se<2;++se)for(var fe=0;fe<3;++fe)le[se][fe]!==this.bounds[se][fe]&&(Q=!0),this.bounds[se][fe]=le[se][fe];if("ticks"in z){U=z.ticks,W=!0,this.autoTicks=!1;for(var se=0;se<3;++se)this.tickSpacing[se]=0}else B("tickSpacing")&&(this.autoTicks=!0,Q=!0);if(this._firstInit&&("ticks"in z||"tickSpacing"in z||(this.autoTicks=!0),Q=!0,W=!0,this._firstInit=!1),Q&&this.autoTicks&&(U=s.create(this.bounds,this.tickSpacing),W=!0),W){for(var se=0;se<3;++se)U[se].sort(function(re,ae){return re.x-ae.x});s.equal(U,this.ticks)?W=!1:this.ticks=U}O("tickEnable"),I("tickFont")&&(W=!0),I("tickFontStyle")&&(W=!0),I("tickFontWeight")&&(W=!0),I("tickFontVariant")&&(W=!0),B("tickSize"),B("tickAngle"),B("tickPad"),N("tickColor");var G=I("labels");I("labelFont")&&(G=!0),I("labelFontStyle")&&(G=!0),I("labelFontWeight")&&(G=!0),I("labelFontVariant")&&(G=!0),O("labelEnable"),B("labelSize"),B("labelPad"),N("labelColor"),O("lineEnable"),O("lineMirror"),B("lineWidth"),N("lineColor"),O("lineTickEnable"),O("lineTickMirror"),B("lineTickLength"),B("lineTickWidth"),N("lineTickColor"),O("gridEnable"),B("gridWidth"),N("gridColor"),O("zeroEnable"),N("zeroLineColor"),B("zeroLineWidth"),O("backgroundEnable"),N("backgroundColor");var $=[{family:this.labelFont[0],style:this.labelFontStyle[0],weight:this.labelFontWeight[0],variant:this.labelFontVariant[0]},{family:this.labelFont[1],style:this.labelFontStyle[1],weight:this.labelFontWeight[1],variant:this.labelFontVariant[1]},{family:this.labelFont[2],style:this.labelFontStyle[2],weight:this.labelFontWeight[2],variant:this.labelFontVariant[2]}],J=[{family:this.tickFont[0],style:this.tickFontStyle[0],weight:this.tickFontWeight[0],variant:this.tickFontVariant[0]},{family:this.tickFont[1],style:this.tickFontStyle[1],weight:this.tickFontWeight[1],variant:this.tickFontVariant[1]},{family:this.tickFont[2],style:this.tickFontStyle[2],weight:this.tickFontWeight[2],variant:this.tickFontVariant[2]}];this._text?this._text&&(G||W)&&this._text.update(this.bounds,this.labels,$,this.ticks,J):this._text=o(this.gl,this.bounds,this.labels,$,this.ticks,J),this._lines&&W&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=n(this.gl,this.bounds,this.ticks))};function M(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var E=[new M,new M,new M];function m(z,F,B,O,I){for(var N=z.primalOffset,U=z.primalMinor,W=z.mirrorOffset,Q=z.mirrorMinor,le=O[F],se=0;se<3;++se)if(F!==se){var fe=N,G=W,$=U,J=Q;le&1<0?($[se]=-1,J[se]=0):($[se]=0,J[se]=1)}}var b=[0,0,0],v={model:c,view:c,projection:c,_ortho:!1};w.isOpaque=function(){return!0},w.isTransparent=function(){return!1},w.drawTransparent=function(z){};var u=0,y=[0,0,0],f=[0,0,0],P=[0,0,0];w.draw=function(z){z=z||v;for(var ae=this.gl,F=z.model||c,B=z.view||c,O=z.projection||c,I=this.bounds,N=z._ortho||!1,U=a(F,B,O,I,N),W=U.cubeEdges,Q=U.axis,le=B[12],se=B[13],fe=B[14],G=B[15],$=N?2:1,J=$*this.pixelRatio*(O[3]*le+O[7]*se+O[11]*fe+O[15]*G)/ae.drawingBufferHeight,X=0;X<3;++X)this.lastCubeProps.cubeEdges[X]=W[X],this.lastCubeProps.axis[X]=Q[X];for(var re=E,X=0;X<3;++X)m(E[X],X,this.bounds,W,Q);for(var ae=this.gl,j=b,X=0;X<3;++X)this.backgroundEnable[X]?j[X]=Q[X]:j[X]=0;this._background.draw(F,B,O,I,j,this.backgroundColor),this._lines.bind(F,B,O,this);for(var X=0;X<3;++X){var ee=[0,0,0];Q[X]>0?ee[X]=I[1][X]:ee[X]=I[0][X];for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.gridEnable[ce]&&this._lines.drawGrid(ce,xe,this.bounds,ee,this.gridColor[ce],this.gridWidth[ce]*this.pixelRatio)}for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.zeroEnable[xe]&&Math.min(I[0][xe],I[1][xe])<=0&&Math.max(I[0][xe],I[1][xe])>=0&&this._lines.drawZero(ce,xe,this.bounds,ee,this.zeroLineColor[xe],this.zeroLineWidth[xe]*this.pixelRatio)}}for(var X=0;X<3;++X){this.lineEnable[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].primalOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio),this.lineMirror[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].mirrorOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio);for(var Te=l(y,re[X].primalMinor),Ue=l(f,re[X].mirrorMinor),Ie=this.lineTickLength,ie=0;ie<3;++ie){var Ye=J/F[5*ie];Te[ie]*=Ie[ie]*Ye,Ue[ie]*=Ie[ie]*Ye}this.lineTickEnable[X]&&this._lines.drawAxisTicks(X,re[X].primalOffset,Te,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio),this.lineTickMirror[X]&&this._lines.drawAxisTicks(X,re[X].mirrorOffset,Ue,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio)}this._lines.unbind(),this._text.bind(F,B,O,this.pixelRatio);var it,at=.5,tt,ut;function Me(et){ut=[0,0,0],ut[et]=1}function pe(et,Lt,Et){var Bt=(et+1)%3,qt=(et+2)%3,fr=Lt[Bt],ar=Lt[qt],Rr=Et[Bt],gr=Et[qt];if(fr>0&&gr>0){Me(Bt);return}else if(fr>0&&gr<0){Me(Bt);return}else if(fr<0&&gr>0){Me(Bt);return}else if(fr<0&&gr<0){Me(Bt);return}else if(ar>0&&Rr>0){Me(qt);return}else if(ar>0&&Rr<0){Me(qt);return}else if(ar<0&&Rr>0){Me(qt);return}else if(ar<0&&Rr<0){Me(qt);return}}for(var X=0;X<3;++X){for(var ue=re[X].primalMinor,Oe=re[X].mirrorMinor,rt=l(P,re[X].primalOffset),ie=0;ie<3;++ie)this.lineTickEnable[X]&&(rt[ie]+=J*ue[ie]*Math.max(this.lineTickLength[ie],0)/F[5*ie]);var ot=[0,0,0];if(ot[X]=1,this.tickEnable[X]){this.tickAngle[X]===-3600?(this.tickAngle[X]=0,this.tickAlign[X]="auto"):this.tickAlign[X]=-1,tt=1,it=[this.tickAlign[X],at,tt],it[0]==="auto"?it[0]=u:it[0]=parseInt(""+it[0]),ut=[0,0,0],pe(X,ue,Oe);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.tickPad[ie]/F[5*ie];this._text.drawTicks(X,this.tickSize[X],this.tickAngle[X],rt,this.tickColor[X],ot,ut,it)}if(this.labelEnable[X]){tt=0,ut=[0,0,0],this.labels[X].length>4&&(Me(X),tt=1),it=[this.labelAlign[X],at,tt],it[0]==="auto"?it[0]=u:it[0]=parseInt(""+it[0]);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.labelPad[ie]/F[5*ie];rt[X]+=.5*(I[0][X]+I[1][X]),this._text.drawLabel(X,this.labelSize[X],this.labelAngle[X],rt,this.labelColor[X],[0,0,0],ut,it)}}this._text.unbind()},w.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function L(z,F){var B=new _(z);return B.update(F),B}},5304:function(e,t,r){"use strict";e.exports=c;var o=r(2762),n=r(8116),i=r(1879).bg;function a(h,p,d,T){this.gl=h,this.buffer=p,this.vao=d,this.shader=T}var s=a.prototype;s.draw=function(h,p,d,T,l,_){for(var w=!1,M=0;M<3;++M)w=w||l[M];if(w){var E=this.gl;E.enable(E.POLYGON_OFFSET_FILL),E.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:h,view:p,projection:d,bounds:T,enable:l,colors:_},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),E.disable(E.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function c(h){for(var p=[],d=[],T=0,l=0;l<3;++l)for(var _=(l+1)%3,w=(l+2)%3,M=[0,0,0],E=[0,0,0],m=-1;m<=1;m+=2){d.push(T,T+2,T+1,T+1,T+2,T+3),M[l]=m,E[l]=m;for(var b=-1;b<=1;b+=2){M[_]=b;for(var v=-1;v<=1;v+=2)M[w]=v,p.push(M[0],M[1],M[2],E[0],E[1],E[2]),T+=1}var u=_;_=w,w=u}var y=o(h,new Float32Array(p)),f=o(h,new Uint16Array(d),h.ELEMENT_ARRAY_BUFFER),P=n(h,[{buffer:y,type:h.FLOAT,size:3,offset:0,stride:24},{buffer:y,type:h.FLOAT,size:3,offset:12,stride:24}],f),L=i(h);return L.attributes.position.location=0,L.attributes.normal.location=1,new a(h,y,P,L)}},6429:function(e,t,r){"use strict";e.exports=m;var o=r(8828),n=r(6760),i=r(5202),a=r(3250),s=new Array(16),c=new Array(8),h=new Array(8),p=new Array(3),d=[0,0,0];(function(){for(var b=0;b<8;++b)c[b]=[1,1,1,1],h[b]=[1,1,1]})();function T(b,v,u){for(var y=0;y<4;++y){b[y]=u[12+y];for(var f=0;f<3;++f)b[y]+=v[f]*u[4*f+y]}}var l=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function _(b){for(var v=0;vQ&&(B|=1<Q){B|=1<h[L][1])&&(re=L);for(var ae=-1,L=0;L<3;++L){var j=re^1<h[ee][0]&&(ee=j)}}var ie=w;ie[0]=ie[1]=ie[2]=0,ie[o.log2(ae^re)]=re&ae,ie[o.log2(re^ee)]=reⅇvar ce=ee^7;ce===B||ce===X?(ce=ae^7,ie[o.log2(ee^ce)]=ce&ee):ie[o.log2(ae^ce)]=ce&ae;for(var xe=M,Te=B,N=0;N<3;++N)Te&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ? - b - PI : - b; -} - -float look_horizontal_or_vertical(float a, float ratio) { - // ratio controls the ratio between being horizontal to (vertical + horizontal) - // if ratio is set to 0.5 then it is 50%, 50%. - // when using a higher ratio e.g. 0.75 the result would - // likely be more horizontal than vertical. - - float b = positive_angle(a); - - return - (b < ( ratio) * HALF_PI) ? 0.0 : - (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI : - (b < (2.0 + ratio) * HALF_PI) ? 0.0 : - (b < (4.0 - ratio) * HALF_PI) ? HALF_PI : - 0.0; -} - -float roundTo(float a, float b) { - return float(b * floor((a + 0.5 * b) / b)); -} - -float look_round_n_directions(float a, int n) { - float b = positive_angle(a); - float div = TWO_PI / float(n); - float c = roundTo(b, div); - return look_upwards(c); -} - -float applyAlignOption(float rawAngle, float delta) { - return - (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions - (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical - (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis - (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards - (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal - rawAngle; // otherwise return back raw input angle -} - -bool isAxisTitle = (axis.x == 0.0) && - (axis.y == 0.0) && - (axis.z == 0.0); - -void main() { - //Compute world offset - float axisDistance = position.z; - vec3 dataPosition = axisDistance * axis + offset; - - float beta = angle; // i.e. user defined attributes for each tick - - float axisAngle; - float clipAngle; - float flip; - - if (enableAlign) { - axisAngle = (isAxisTitle) ? HALF_PI : - computeViewAngle(dataPosition, dataPosition + axis); - clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir); - - axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0; - clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0; - - flip = (dot(vec2(cos(axisAngle), sin(axisAngle)), - vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0; - - beta += applyAlignOption(clipAngle, flip * PI); - } - - //Compute plane offset - vec2 planeCoord = position.xy * pixelScale; - - mat2 planeXform = scale * mat2( - cos(beta), sin(beta), - -sin(beta), cos(beta) - ); - - vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution; - - //Compute clip position - vec3 clipPosition = project(dataPosition); - - //Apply text offset in clip coordinates - clipPosition += vec3(viewOffset, 0.0); - - //Done - gl_Position = vec4(clipPosition, 1.0); -} -`]),c=o([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 color; -void main() { - gl_FragColor = color; -}`]);t.Q=function(d){return n(d,s,c,null,[{name:"position",type:"vec3"}])};var h=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec3 normal; - -uniform mat4 model, view, projection; -uniform vec3 enable; -uniform vec3 bounds[2]; - -varying vec3 colorChannel; - -void main() { - - vec3 signAxis = sign(bounds[1] - bounds[0]); - - vec3 realNormal = signAxis * normal; - - if(dot(realNormal, enable) > 0.0) { - vec3 minRange = min(bounds[0], bounds[1]); - vec3 maxRange = max(bounds[0], bounds[1]); - vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0)); - gl_Position = projection * (view * (model * vec4(nPosition, 1.0))); - } else { - gl_Position = vec4(0,0,0,0); - } - - colorChannel = abs(realNormal); -} -`]),p=o([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 colors[3]; - -varying vec3 colorChannel; - -void main() { - gl_FragColor = colorChannel.x * colors[0] + - colorChannel.y * colors[1] + - colorChannel.z * colors[2]; -}`]);t.bg=function(d){return n(d,h,p,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},4935:function(e,t,r){"use strict";e.exports=_;var o=r(2762),n=r(8116),i=r(4359),a=r(1879).Q,s=window||process.global||{},c=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};var h=3;function p(w,M,E,m){this.gl=w,this.shader=M,this.buffer=E,this.vao=m,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var d=p.prototype,T=[0,0];d.bind=function(w,M,E,m){this.vao.bind(),this.shader.bind();var b=this.shader.uniforms;b.model=w,b.view=M,b.projection=E,b.pixelScale=m,T[0]=this.gl.drawingBufferWidth,T[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=T},d.unbind=function(){this.vao.unbind()},d.update=function(w,M,E,m,b){var v=[];function u(N,U,W,Q,le,se){var fe=[W.style,W.weight,W.variant,W.family].join("_"),G=c[fe];G||(G=c[fe]={});var $=G[U];$||($=G[U]=l(U,{triangles:!0,font:W.family,fontStyle:W.style,fontWeight:W.weight,fontVariant:W.variant,textAlign:"center",textBaseline:"middle",lineSpacing:le,styletags:se}));for(var J=(Q||12)/12,X=$.positions,re=$.cells,ae=0,j=re.length;ae=0;--ie){var ce=X[ee[ie]];v.push(J*ce[0],-J*ce[1],N)}}for(var y=[0,0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0],z=1.25,F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){P[B]=v.length/h|0,u(.5*(w[0][B]+w[1][B]),M[B],E[B],12,z,F),L[B]=(v.length/h|0)-P[B],y[B]=v.length/h|0;for(var O=0;O=0&&(h=s.length-c-1);var p=Math.pow(10,h),d=Math.round(i*a*p),T=d+"";if(T.indexOf("e")>=0)return T;var l=d/p,_=d%p;d<0?(l=-Math.ceil(l)|0,_=-_|0):(l=Math.floor(l)|0,_=_|0);var w=""+l;if(d<0&&(w="-"+w),h){for(var M=""+_;M.length=i[0][c];--d)h.push({x:d*a[c],text:r(a[c],d)});s.push(h)}return s}function n(i,a){for(var s=0;s<3;++s){if(i[s].length!==a[s].length)return!1;for(var c=0;cw)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return l.bufferSubData(_,m,E),w}function p(l,_){for(var w=o.malloc(l.length,_),M=l.length,E=0;E=0;--M){if(_[M]!==w)return!1;w*=l[M]}return!0}c.update=function(l,_){if(typeof _!="number"&&(_=-1),this.bind(),typeof l=="object"&&typeof l.shape<"u"){var w=l.dtype;if(a.indexOf(w)<0&&(w="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var M=gl.getExtension("OES_element_index_uint");M&&w!=="uint16"?w="uint32":w="uint16"}if(w===l.dtype&&d(l.shape,l.stride))l.offset===0&&l.data.length===l.shape[0]?this.length=h(this.gl,this.type,this.length,this.usage,l.data,_):this.length=h(this.gl,this.type,this.length,this.usage,l.data.subarray(l.offset,l.shape[0]),_);else{var E=o.malloc(l.size,w),m=i(E,l.shape);n.assign(m,l),_<0?this.length=h(this.gl,this.type,this.length,this.usage,E,_):this.length=h(this.gl,this.type,this.length,this.usage,E.subarray(0,l.size),_),o.free(E)}}else if(Array.isArray(l)){var b;this.type===this.gl.ELEMENT_ARRAY_BUFFER?b=p(l,"uint16"):b=p(l,"float32"),_<0?this.length=h(this.gl,this.type,this.length,this.usage,b,_):this.length=h(this.gl,this.type,this.length,this.usage,b.subarray(0,l.length),_),o.free(b)}else if(typeof l=="object"&&typeof l.length=="number")this.length=h(this.gl,this.type,this.length,this.usage,l,_);else if(typeof l=="number"||l===void 0){if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");l=l|0,l<=0&&(l=1),this.gl.bufferData(this.type,l|0,this.usage),this.length=l}else throw new Error("gl-buffer: Invalid data type")};function T(l,_,w,M){if(w=w||l.ARRAY_BUFFER,M=M||l.DYNAMIC_DRAW,w!==l.ARRAY_BUFFER&&w!==l.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(M!==l.DYNAMIC_DRAW&&M!==l.STATIC_DRAW&&M!==l.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var E=l.createBuffer(),m=new s(l,w,E,0,M);return m.update(_),m}e.exports=T},6405:function(e,t,r){"use strict";var o=r(2931);e.exports=function(i,a){var s=i.positions,c=i.vectors,h={positions:[],vertexIntensity:[],vertexIntensityBounds:i.vertexIntensityBounds,vectors:[],cells:[],coneOffset:i.coneOffset,colormap:i.colormap};if(i.positions.length===0)return a&&(a[0]=[0,0,0],a[1]=[0,0,0]),h;for(var p=0,d=1/0,T=-1/0,l=1/0,_=-1/0,w=1/0,M=-1/0,E=null,m=null,b=[],v=1/0,u=!1,y=i.coneSizemode==="raw",f=0;fp&&(p=o.length(L)),f&&!y){var z=2*o.distance(E,P)/(o.length(m)+o.length(L));z?(v=Math.min(v,z),u=!1):u=!0}u||(E=P,m=L),b.push(L)}var F=[d,l,w],B=[T,_,M];a&&(a[0]=F,a[1]=B),p===0&&(p=1);var O=1/p;isFinite(v)||(v=1),h.vectorScale=v;var I=i.coneSize||(y?1:.5);i.absoluteConeSize&&(I=i.absoluteConeSize*O),h.coneScale=I;for(var f=0,N=0;f=1},l.isTransparent=function(){return this.opacity<1},l.pickSlots=1,l.setPickBase=function(b){this.pickId=b};function _(b){for(var v=p({colormap:b,nshades:256,format:"rgba"}),u=new Uint8Array(256*4),y=0;y<256;++y){for(var f=v[y],P=0;P<3;++P)u[4*y+P]=f[P];u[4*y+3]=f[3]*255}return h(u,[256,256,4],[4,0,1])}function w(b){for(var v=b.length,u=new Array(v),y=0;y0){var N=this.triShader;N.bind(),N.uniforms=z,this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},l.drawPick=function(b){b=b||{};for(var v=this.gl,u=b.model||d,y=b.view||d,f=b.projection||d,P=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],L=0;L<3;++L)P[0][L]=Math.max(P[0][L],this.clipBounds[0][L]),P[1][L]=Math.min(P[1][L],this.clipBounds[1][L]);this._model=[].slice.call(u),this._view=[].slice.call(y),this._projection=[].slice.call(f),this._resolution=[v.drawingBufferWidth,v.drawingBufferHeight];var z={model:u,view:y,projection:f,clipBounds:P,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},F=this.pickShader;F.bind(),F.uniforms=z,this.triangleCount>0&&(this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},l.pick=function(b){if(!b||b.id!==this.pickId)return null;var v=b.value[0]+256*b.value[1]+65536*b.value[2],u=this.cells[v],y=this.positions[u[1]].slice(0,3),f={position:y,dataCoordinate:y,index:Math.floor(u[1]/48)};return this.traceType==="cone"?f.index=Math.floor(u[1]/48):this.traceType==="streamtube"&&(f.intensity=this.intensity[u[1]],f.velocity=this.vectors[u[1]].slice(0,3),f.divergence=this.vectors[u[1]][3],f.index=v),f},l.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function M(b,v){var u=o(b,v.meshShader.vertex,v.meshShader.fragment,null,v.meshShader.attributes);return u.attributes.position.location=0,u.attributes.color.location=2,u.attributes.uv.location=3,u.attributes.vector.location=4,u}function E(b,v){var u=o(b,v.pickShader.vertex,v.pickShader.fragment,null,v.pickShader.attributes);return u.attributes.position.location=0,u.attributes.id.location=1,u.attributes.vector.location=4,u}function m(b,v,u){var y=u.shaders;arguments.length===1&&(v=b,b=v.gl);var f=M(b,y),P=E(b,y),L=a(b,h(new Uint8Array([255,255,255,255]),[1,1,4]));L.generateMipmap(),L.minFilter=b.LINEAR_MIPMAP_LINEAR,L.magFilter=b.LINEAR;var z=n(b),F=n(b),B=n(b),O=n(b),I=n(b),N=i(b,[{buffer:z,type:b.FLOAT,size:4},{buffer:I,type:b.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:B,type:b.FLOAT,size:4},{buffer:O,type:b.FLOAT,size:2},{buffer:F,type:b.FLOAT,size:4}]),U=new T(b,L,f,P,z,F,I,B,O,N,u.traceType||"cone");return U.update(v),U}e.exports=m},614:function(e,t,r){var o=r(3236),n=o([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec3 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, coneScale, coneOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * conePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(conePosition, 1.0); - vec4 t_position = view * conePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = conePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),i=o([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),a=o([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float vectorScale, coneScale, coneOffset; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - gl_Position = projection * (view * conePosition); - f_id = id; - f_position = position.xyz; -} -`]),s=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},737:function(e){e.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},5171:function(e,t,r){var o=r(737);e.exports=function(i){return o[i]}},9165:function(e,t,r){"use strict";e.exports=T;var o=r(2762),n=r(8116),i=r(3436),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(l,_,w,M){this.gl=l,this.shader=M,this.buffer=_,this.vao=w,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var c=s.prototype;c.isOpaque=function(){return!this.hasAlpha},c.isTransparent=function(){return this.hasAlpha},c.drawTransparent=c.draw=function(l){var _=this.gl,w=this.shader.uniforms;this.shader.bind();var M=w.view=l.view||a,E=w.projection=l.projection||a;w.model=l.model||a,w.clipBounds=this.clipBounds,w.opacity=this.opacity;var m=M[12],b=M[13],v=M[14],u=M[15],y=l._ortho||!1,f=y?2:1,P=f*this.pixelRatio*(E[3]*m+E[7]*b+E[11]*v+E[15]*u)/_.drawingBufferHeight;this.vao.bind();for(var L=0;L<3;++L)_.lineWidth(this.lineWidth[L]*this.pixelRatio),w.capSize=this.capSize[L]*P,this.lineCount[L]&&_.drawArrays(_.LINES,this.lineOffset[L],this.lineCount[L]);this.vao.unbind()};function h(l,_){for(var w=0;w<3;++w)l[0][w]=Math.min(l[0][w],_[w]),l[1][w]=Math.max(l[1][w],_[w])}var p=function(){for(var l=new Array(3),_=0;_<3;++_){for(var w=[],M=1;M<=2;++M)for(var E=-1;E<=1;E+=2){var m=(M+_)%3,b=[0,0,0];b[m]=E,w.push(b)}l[_]=w}return l}();function d(l,_,w,M){for(var E=p[M],m=0;m0){var z=y.slice();z[v]+=P[1][v],E.push(y[0],y[1],y[2],L[0],L[1],L[2],L[3],0,0,0,z[0],z[1],z[2],L[0],L[1],L[2],L[3],0,0,0),h(this.bounds,z),b+=2+d(E,z,L,v)}}}this.lineCount[v]=b-this.lineOffset[v]}this.buffer.update(E)}},c.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function T(l){var _=l.gl,w=o(_),M=n(_,[{buffer:w,type:_.FLOAT,size:3,offset:0,stride:40},{buffer:w,type:_.FLOAT,size:4,offset:12,stride:40},{buffer:w,type:_.FLOAT,size:3,offset:28,stride:40}]),E=i(_);E.attributes.position.location=0,E.attributes.color.location=1,E.attributes.offset.location=2;var m=new s(_,w,M,E);return m.update(l),m}},3436:function(e,t,r){"use strict";var o=r(3236),n=r(9405),i=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position, offset; -attribute vec4 color; -uniform mat4 model, view, projection; -uniform float capSize; -varying vec4 fragColor; -varying vec3 fragPosition; - -void main() { - vec4 worldPosition = model * vec4(position, 1.0); - worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0); - gl_Position = projection * (view * worldPosition); - fragColor = color; - fragPosition = position; -}`]),a=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float opacity; -varying vec3 fragPosition; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], fragPosition) || - fragColor.a * opacity == 0. - ) discard; - - gl_FragColor = opacity * fragColor; -}`]);e.exports=function(s){return n(s,i,a,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},2260:function(e,t,r){"use strict";var o=r(7766);e.exports=b;var n=null,i,a,s,c;function h(v){var u=v.getParameter(v.FRAMEBUFFER_BINDING),y=v.getParameter(v.RENDERBUFFER_BINDING),f=v.getParameter(v.TEXTURE_BINDING_2D);return[u,y,f]}function p(v,u){v.bindFramebuffer(v.FRAMEBUFFER,u[0]),v.bindRenderbuffer(v.RENDERBUFFER,u[1]),v.bindTexture(v.TEXTURE_2D,u[2])}function d(v,u){var y=v.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL);n=new Array(y+1);for(var f=0;f<=y;++f){for(var P=new Array(y),L=0;L1&&F.drawBuffersWEBGL(n[z]);var U=y.getExtension("WEBGL_depth_texture");U?B?v.depth=l(y,P,L,U.UNSIGNED_INT_24_8_WEBGL,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O&&(v.depth=l(y,P,L,y.UNSIGNED_SHORT,y.DEPTH_COMPONENT,y.DEPTH_ATTACHMENT)):O&&B?v._depth_rb=_(y,P,L,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O?v._depth_rb=_(y,P,L,y.DEPTH_COMPONENT16,y.DEPTH_ATTACHMENT):B&&(v._depth_rb=_(y,P,L,y.STENCIL_INDEX,y.STENCIL_ATTACHMENT));var W=y.checkFramebufferStatus(y.FRAMEBUFFER);if(W!==y.FRAMEBUFFER_COMPLETE){v._destroyed=!0,y.bindFramebuffer(y.FRAMEBUFFER,null),y.deleteFramebuffer(v.handle),v.handle=null,v.depth&&(v.depth.dispose(),v.depth=null),v._depth_rb&&(y.deleteRenderbuffer(v._depth_rb),v._depth_rb=null);for(var N=0;NP||y<0||y>P)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");v._shape[0]=u,v._shape[1]=y;for(var L=h(f),z=0;zL||y<0||y>L)throw new Error("gl-fbo: Parameters are too large for FBO");f=f||{};var z=1;if("color"in f){if(z=Math.max(f.color|0,0),z<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(z>1)if(P){if(z>v.getParameter(P.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+z+" draw buffers")}else throw new Error("gl-fbo: Multiple draw buffer extension not supported")}var F=v.UNSIGNED_BYTE,B=v.getExtension("OES_texture_float");if(f.float&&z>0){if(!B)throw new Error("gl-fbo: Context does not support floating point textures");F=v.FLOAT}else f.preferFloat&&z>0&&B&&(F=v.FLOAT);var O=!0;"depth"in f&&(O=!!f.depth);var I=!1;return"stencil"in f&&(I=!!f.stencil),new M(v,u,y,F,z,O,I,P)}},2992:function(e,t,r){var o=r(3387).sprintf,n=r(5171),i=r(1848),a=r(1085);e.exports=s;function s(c,h,p){"use strict";var d=i(h)||"of unknown name (see npm glsl-shader-name)",T="unknown type";p!==void 0&&(T=p===n.FRAGMENT_SHADER?"fragment":"vertex");for(var l=o(`Error compiling %s shader %s: -`,T,d),_=o("%s%s",l,c),w=c.split(` -`),M={},E=0;E max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D dashTexture; -uniform float dashScale; -uniform float opacity; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], worldPosition) || - fragColor.a * opacity == 0. - ) discard; - - float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r; - if(dashWeight < 0.5) { - discard; - } - gl_FragColor = fragColor * opacity; -} -`]),s=o([`precision highp float; -#define GLSLIFY 1 - -#define FLOAT_MAX 1.70141184e38 -#define FLOAT_MIN 1.17549435e-38 - -// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl -vec4 packFloat(float v) { - float av = abs(v); - - //Handle special cases - if(av < FLOAT_MIN) { - return vec4(0.0, 0.0, 0.0, 0.0); - } else if(v > FLOAT_MAX) { - return vec4(127.0, 128.0, 0.0, 0.0) / 255.0; - } else if(v < -FLOAT_MAX) { - return vec4(255.0, 128.0, 0.0, 0.0) / 255.0; - } - - vec4 c = vec4(0,0,0,0); - - //Compute exponent and mantissa - float e = floor(log2(av)); - float m = av * pow(2.0, -e) - 1.0; - - //Unpack mantissa - c[1] = floor(128.0 * m); - m -= c[1] / 128.0; - c[2] = floor(32768.0 * m); - m -= c[2] / 32768.0; - c[3] = floor(8388608.0 * m); - - //Unpack exponent - float ebias = e + 127.0; - c[0] = floor(ebias / 2.0); - ebias -= c[0] * 2.0; - c[1] += floor(ebias) * 128.0; - - //Unpack sign bit - c[0] += 128.0 * step(0.0, -v); - - //Scale back to range - return c / 255.0; -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform float pickId; -uniform vec3 clipBounds[2]; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard; - - gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz); -}`]),c=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];t.createShader=function(h){return n(h,i,a,null,c)},t.createPickShader=function(h){return n(h,i,s,null,c)}},5714:function(e,t,r){"use strict";e.exports=v;var o=r(2762),n=r(8116),i=r(7766),a=new Uint8Array(4),s=new Float32Array(a.buffer);function c(u,y,f,P){return a[0]=P,a[1]=f,a[2]=y,a[3]=u,s[0]}var h=r(2478),p=r(9618),d=r(7319),T=d.createShader,l=d.createPickShader,_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function w(u,y){for(var f=0,P=0;P<3;++P){var L=u[P]-y[P];f+=L*L}return Math.sqrt(f)}function M(u){for(var y=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],f=0;f<3;++f)y[0][f]=Math.max(u[0][f],y[0][f]),y[1][f]=Math.min(u[1][f],y[1][f]);return y}function E(u,y,f,P){this.arcLength=u,this.position=y,this.index=f,this.dataCoordinate=P}function m(u,y,f,P,L,z){this.gl=u,this.shader=y,this.pickShader=f,this.buffer=P,this.vao=L,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=z,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=m.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(u){this.pickId=u},b.drawTransparent=b.draw=function(u){if(this.vertexCount){var y=this.gl,f=this.shader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,clipBounds:M(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.drawPick=function(u){if(this.vertexCount){var y=this.gl,f=this.pickShader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,pickId:this.pickId,clipBounds:M(this.clipBounds),screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.update=function(u){var y,f;this.dirty=!0;var P=!!u.connectGaps;"dashScale"in u&&(this.dashScale=u.dashScale),this.hasAlpha=!1,"opacity"in u&&(this.opacity=+u.opacity,this.opacity<1&&(this.hasAlpha=!0));var L=[],z=[],F=[],B=0,O=0,I=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],N=u.position||u.positions;if(N){var U=u.color||u.colors||[0,0,0,1],W=u.lineWidth||1,Q=!1;e:for(y=1;y0){for(var fe=0;fe<24;++fe)L.push(L[L.length-12]);O+=2,Q=!0}continue e}I[0][f]=Math.min(I[0][f],le[f],se[f]),I[1][f]=Math.max(I[1][f],le[f],se[f])}var G,$;Array.isArray(U[0])?(G=U.length>y-1?U[y-1]:U.length>0?U[U.length-1]:[0,0,0,1],$=U.length>y?U[y]:U.length>0?U[U.length-1]:[0,0,0,1]):G=$=U,G.length===3&&(G=[G[0],G[1],G[2],1]),$.length===3&&($=[$[0],$[1],$[2],1]),!this.hasAlpha&&G[3]<1&&(this.hasAlpha=!0);var J;Array.isArray(W)?J=W.length>y-1?W[y-1]:W.length>0?W[W.length-1]:[0,0,0,1]:J=W;var X=B;if(B+=w(le,se),Q){for(f=0;f<2;++f)L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3]);O+=2,Q=!1}L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3],le[0],le[1],le[2],se[0],se[1],se[2],X,-J,G[0],G[1],G[2],G[3],se[0],se[1],se[2],le[0],le[1],le[2],B,-J,$[0],$[1],$[2],$[3],se[0],se[1],se[2],le[0],le[1],le[2],B,J,$[0],$[1],$[2],$[3]),O+=4}}if(this.buffer.update(L),z.push(B),F.push(N[N.length-1].slice()),this.bounds=I,this.vertexCount=O,this.points=F,this.arcLength=z,"dashes"in u){var re=u.dashes,ae=re.slice();for(ae.unshift(0),y=1;y1.0001)return null;f+=y[E]}return Math.abs(f-1)>.001?null:[m,c(p,y),y]}},840:function(e,t,r){var o=r(3236),n=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position, normal; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model - , view - , projection - , inverseModel; -uniform vec3 eyePosition - , lightPosition; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -vec4 project(vec3 p) { - return projection * (view * (model * vec4(p, 1.0))); -} - -void main() { - gl_Position = project(position); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * vec4(position , 1.0); - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - f_color = color; - f_data = position; - f_uv = uv; -} -`]),i=o([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness - , fresnel - , kambient - , kdiffuse - , kspecular; -uniform sampler2D texture; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (f_color.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], f_data) - ) discard; - - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d - - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * f_color.a; -} -`]),a=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model, view, projection; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - gl_Position = projection * (view * (model * vec4(position, 1.0))); - f_color = color; - f_data = position; - f_uv = uv; -}`]),s=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard; - - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),c=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; -attribute float pointSize; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0); - } else { - gl_Position = projection * (view * (model * vec4(position, 1.0))); - } - gl_PointSize = pointSize; - f_color = color; - f_uv = uv; -}`]),h=o([`precision highp float; -#define GLSLIFY 1 - -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5); - if(dot(pointR, pointR) > 0.25) { - discard; - } - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),p=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 id; - -uniform mat4 model, view, projection; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - gl_Position = projection * (view * (model * vec4(position, 1.0))); - f_id = id; - f_position = position; -}`]),d=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]),T=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute float pointSize; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0, 0.0, 0.0); - } else { - gl_Position = projection * (view * (model * vec4(position, 1.0))); - gl_PointSize = pointSize; - } - f_id = id; - f_position = position; -}`]),l=o([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; - -uniform mat4 model, view, projection; - -void main() { - gl_Position = projection * (view * (model * vec4(position, 1.0))); -}`]),_=o([`precision highp float; -#define GLSLIFY 1 - -uniform vec3 contourColor; - -void main() { - gl_FragColor = vec4(contourColor, 1.0); -} -`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.wireShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.pointShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},t.pickShader={vertex:p,fragment:d,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},t.pointPickShader={vertex:T,fragment:d,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},t.contourShader={vertex:l,fragment:_,attributes:[{name:"position",type:"vec3"}]}},7201:function(e,t,r){"use strict";var o=1e-6,n=1e-6,i=r(9405),a=r(2762),s=r(8116),c=r(7766),h=r(8406),p=r(6760),d=r(7608),T=r(9618),l=r(6729),_=r(7765),w=r(1888),M=r(840),E=r(7626),m=M.meshShader,b=M.wireShader,v=M.pointShader,u=M.pickShader,y=M.pointPickShader,f=M.contourShader,P=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function L(fe,G,$,J,X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et){this.gl=fe,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=G,this.dirty=!0,this.triShader=$,this.lineShader=J,this.pointShader=X,this.pickShader=re,this.pointPickShader=ae,this.contourShader=j,this.trianglePositions=ee,this.triangleColors=ce,this.triangleNormals=Te,this.triangleUVs=xe,this.triangleIds=ie,this.triangleVAO=Ue,this.triangleCount=0,this.lineWidth=1,this.edgePositions=Ie,this.edgeColors=it,this.edgeUVs=at,this.edgeIds=Ye,this.edgeVAO=tt,this.edgeCount=0,this.pointPositions=ut,this.pointColors=pe,this.pointUVs=ue,this.pointSizes=Oe,this.pointIds=Me,this.pointVAO=rt,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=ot,this.contourVAO=et,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=P,this._view=P,this._projection=P,this._resolution=[1,1]}var z=L.prototype;z.isOpaque=function(){return!this.hasAlpha},z.isTransparent=function(){return this.hasAlpha},z.pickSlots=1,z.setPickBase=function(fe){this.pickId=fe};function F(fe,G){if(!G||!G.length)return 1;for(var $=0;$fe&&$>0){var J=(G[$][0]-fe)/(G[$][0]-G[$-1][0]);return G[$][1]*(1-J)+J*G[$-1][1]}}return 1}function B(fe,G){for(var $=l({colormap:fe,nshades:256,format:"rgba"}),J=new Uint8Array(256*4),X=0;X<256;++X){for(var re=$[X],ae=0;ae<3;++ae)J[4*X+ae]=re[ae];G?J[4*X+3]=255*F(X/255,G):J[4*X+3]=255*re[3]}return T(J,[256,256,4],[4,0,1])}function O(fe){for(var G=fe.length,$=new Array(G),J=0;J0){var Te=this.triShader;Te.bind(),Te.uniforms=j,this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Te=this.lineShader;Te.bind(),Te.uniforms=j,this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Te=this.pointShader;Te.bind(),Te.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Te=this.contourShader;Te.bind(),Te.uniforms=j,this.contourVAO.bind(),G.drawArrays(G.LINES,0,this.contourCount),this.contourVAO.unbind()}},z.drawPick=function(fe){fe=fe||{};for(var G=this.gl,$=fe.model||P,J=fe.view||P,X=fe.projection||P,re=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],ae=0;ae<3;++ae)re[0][ae]=Math.max(re[0][ae],this.clipBounds[0][ae]),re[1][ae]=Math.min(re[1][ae],this.clipBounds[1][ae]);this._model=[].slice.call($),this._view=[].slice.call(J),this._projection=[].slice.call(X),this._resolution=[G.drawingBufferWidth,G.drawingBufferHeight];var j={model:$,view:J,projection:X,clipBounds:re,pickId:this.pickId/255},ee=this.pickShader;if(ee.bind(),ee.uniforms=j,this.triangleCount>0&&(this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var ee=this.pointPickShader;ee.bind(),ee.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}},z.pick=function(fe){if(!fe||fe.id!==this.pickId)return null;for(var G=fe.value[0]+256*fe.value[1]+65536*fe.value[2],$=this.cells[G],J=this.positions,X=new Array($.length),re=0;re<$.length;++re)X[re]=J[$[re]];var ae=fe.coord[0],j=fe.coord[1];if(!this.pickVertex){var ee=this.positions[$[0]],ie=this.positions[$[1]],ce=this.positions[$[2]],xe=[(ee[0]+ie[0]+ce[0])/3,(ee[1]+ie[1]+ce[1])/3,(ee[2]+ie[2]+ce[2])/3];return{_cellCenter:!0,position:[ae,j],index:G,cell:$,cellId:G,intensity:this.intensity[G],dataCoordinate:xe}}var Te=E(X,[ae*this.pixelRatio,this._resolution[1]-j*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!Te)return null;for(var Ue=Te[2],Ie=0,re=0;re<$.length;++re)Ie+=Ue[re]*this.intensity[$[re]];return{position:Te[1],index:$[Te[0]],cell:$,cellId:G,intensity:Ie,dataCoordinate:this.positions[$[Te[0]]]}},z.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()};function I(fe){var G=i(fe,m.vertex,m.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.normal.location=4,G}function N(fe){var G=i(fe,b.vertex,b.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G}function U(fe){var G=i(fe,v.vertex,v.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.pointSize.location=4,G}function W(fe){var G=i(fe,u.vertex,u.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G}function Q(fe){var G=i(fe,y.vertex,y.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G.attributes.pointSize.location=4,G}function le(fe){var G=i(fe,f.vertex,f.fragment);return G.attributes.position.location=0,G}function se(fe,G){arguments.length===1&&(G=fe,fe=G.gl);var $=fe.getExtension("OES_standard_derivatives")||fe.getExtension("MOZ_OES_standard_derivatives")||fe.getExtension("WEBKIT_OES_standard_derivatives");if(!$)throw new Error("derivatives not supported");var J=I(fe),X=N(fe),re=U(fe),ae=W(fe),j=Q(fe),ee=le(fe),ie=c(fe,T(new Uint8Array([255,255,255,255]),[1,1,4]));ie.generateMipmap(),ie.minFilter=fe.LINEAR_MIPMAP_LINEAR,ie.magFilter=fe.LINEAR;var ce=a(fe),xe=a(fe),Te=a(fe),Ue=a(fe),Ie=a(fe),Ye=s(fe,[{buffer:ce,type:fe.FLOAT,size:3},{buffer:Ie,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:xe,type:fe.FLOAT,size:4},{buffer:Te,type:fe.FLOAT,size:2},{buffer:Ue,type:fe.FLOAT,size:3}]),it=a(fe),at=a(fe),tt=a(fe),ut=a(fe),Me=s(fe,[{buffer:it,type:fe.FLOAT,size:3},{buffer:ut,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:at,type:fe.FLOAT,size:4},{buffer:tt,type:fe.FLOAT,size:2}]),pe=a(fe),ue=a(fe),Oe=a(fe),rt=a(fe),ot=a(fe),et=s(fe,[{buffer:pe,type:fe.FLOAT,size:3},{buffer:ot,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:ue,type:fe.FLOAT,size:4},{buffer:Oe,type:fe.FLOAT,size:2},{buffer:rt,type:fe.FLOAT,size:1}]),Lt=a(fe),Et=s(fe,[{buffer:Lt,type:fe.FLOAT,size:3}]),Bt=new L(fe,ie,J,X,re,ae,j,ee,ce,Ie,xe,Te,Ue,Ye,it,ut,at,tt,Me,pe,ot,ue,Oe,rt,et,Lt,Et);return Bt.update(G),Bt}e.exports=se},4437:function(e,t,r){"use strict";e.exports=h;var o=r(3025),n=r(6296),i=r(351),a=r(8512),s=r(24),c=r(7520);function h(p,d){p=p||document.body,d=d||{};var T=[.01,1/0];"distanceLimits"in d&&(T[0]=d.distanceLimits[0],T[1]=d.distanceLimits[1]),"zoomMin"in d&&(T[0]=d.zoomMin),"zoomMax"in d&&(T[1]=d.zoomMax);var l=n({center:d.center||[0,0,0],up:d.up||[0,1,0],eye:d.eye||[0,0,10],mode:d.mode||"orbit",distanceLimits:T}),_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0,M=p.clientWidth,E=p.clientHeight,m={keyBindingMode:"rotate",enableWheel:!0,view:l,element:p,delay:d.delay||16,rotateSpeed:d.rotateSpeed||1,zoomSpeed:d.zoomSpeed||1,translateSpeed:d.translateSpeed||1,flipX:!!d.flipX,flipY:!!d.flipY,modes:l.modes,_ortho:d._ortho||d.projection&&d.projection.type==="orthographic"||!1,tick:function(){var b=o(),v=this.delay,u=b-2*v;l.idle(b-v),l.recalcMatrix(u),l.flush(b-(100+v*2));for(var y=!0,f=l.computedMatrix,P=0;P<16;++P)y=y&&_[P]===f[P],_[P]=f[P];var L=p.clientWidth===M&&p.clientHeight===E;return M=p.clientWidth,E=p.clientHeight,y?!L:(w=Math.exp(l.computedRadius[0]),!0)},lookAt:function(b,v,u){l.lookAt(l.lastT(),b,v,u)},rotate:function(b,v,u){l.rotate(l.lastT(),b,v,u)},pan:function(b,v,u){l.pan(l.lastT(),b,v,u)},translate:function(b,v,u){l.translate(l.lastT(),b,v,u)}};return Object.defineProperties(m,{matrix:{get:function(){return l.computedMatrix},set:function(b){return l.setMatrix(l.lastT(),b),l.computedMatrix},enumerable:!0},mode:{get:function(){return l.getMode()},set:function(b){var v=l.computedUp.slice(),u=l.computedEye.slice(),y=l.computedCenter.slice();if(l.setMode(b),b==="turntable"){var f=o();l._active.lookAt(f,u,y,v),l._active.lookAt(f+500,u,y,[0,0,1]),l._active.flush(f)}return l.getMode()},enumerable:!0},center:{get:function(){return l.computedCenter},set:function(b){return l.lookAt(l.lastT(),null,b),l.computedCenter},enumerable:!0},eye:{get:function(){return l.computedEye},set:function(b){return l.lookAt(l.lastT(),b),l.computedEye},enumerable:!0},up:{get:function(){return l.computedUp},set:function(b){return l.lookAt(l.lastT(),null,null,b),l.computedUp},enumerable:!0},distance:{get:function(){return w},set:function(b){return l.setDistance(l.lastT(),b),b},enumerable:!0},distanceLimits:{get:function(){return l.getDistanceLimits(T)},set:function(b){return l.setDistanceLimits(b),b},enumerable:!0}}),p.addEventListener("contextmenu",function(b){return b.preventDefault(),!1}),m._lastX=-1,m._lastY=-1,m._lastMods={shift:!1,control:!1,alt:!1,meta:!1},m.enableMouseListeners=function(){m.mouseListener=i(p,b),p.addEventListener("touchstart",function(v){var u=s(v.changedTouches[0],p);b(0,u[0],u[1],m._lastMods),b(1,u[0],u[1],m._lastMods)},c?{passive:!0}:!1),p.addEventListener("touchmove",function(v){var u=s(v.changedTouches[0],p);b(1,u[0],u[1],m._lastMods),v.preventDefault()},c?{passive:!1}:!1),p.addEventListener("touchend",function(v){b(0,m._lastX,m._lastY,m._lastMods)},c?{passive:!0}:!1);function b(v,u,y,f){var P=m.keyBindingMode;if(P!==!1){var L=P==="rotate",z=P==="pan",F=P==="zoom",B=!!f.control,O=!!f.alt,I=!!f.shift,N=!!(v&1),U=!!(v&2),W=!!(v&4),Q=1/p.clientHeight,le=Q*(u-m._lastX),se=Q*(y-m._lastY),fe=m.flipX?1:-1,G=m.flipY?1:-1,$=Math.PI*m.rotateSpeed,J=o();if(m._lastX!==-1&&m._lastY!==-1&&((L&&N&&!B&&!O&&!I||N&&!B&&!O&&I)&&l.rotate(J,fe*$*le,-G*$*se,0),(z&&N&&!B&&!O&&!I||U||N&&B&&!O&&!I)&&l.pan(J,-m.translateSpeed*le*w,m.translateSpeed*se*w,0),F&&N&&!B&&!O&&!I||W||N&&!B&&O&&!I)){var X=-m.zoomSpeed*se/window.innerHeight*(J-l.lastT())*100;l.pan(J,0,0,w*(Math.exp(X)-1))}return m._lastX=u,m._lastY=y,m._lastMods=f,!0}}m.wheelListener=a(p,function(v,u){if(m.keyBindingMode!==!1&&m.enableWheel){var y=m.flipX?1:-1,f=m.flipY?1:-1,P=o();if(Math.abs(v)>Math.abs(u))l.rotate(P,0,0,-v*y*Math.PI*m.rotateSpeed/window.innerWidth);else if(!m._ortho){var L=-m.zoomSpeed*f*u/window.innerHeight*(P-l.lastT())/20;l.pan(P,0,0,w*(Math.exp(L)-1))}}},!0)},m.enableMouseListeners(),m}},799:function(e,t,r){var o=r(3236),n=r(9405),i=o([`precision mediump float; -#define GLSLIFY 1 -attribute vec2 position; -varying vec2 uv; -void main() { - uv = position; - gl_Position = vec4(position, 0, 1); -}`]),a=o([`precision mediump float; -#define GLSLIFY 1 - -uniform sampler2D accumBuffer; -varying vec2 uv; - -void main() { - vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); - gl_FragColor = min(vec4(1,1,1,1), accum); -}`]);e.exports=function(s){return n(s,i,a,null,[{name:"position",type:"vec2"}])}},4100:function(e,t,r){"use strict";var o=r(4437),n=r(3837),i=r(5445),a=r(4449),s=r(3589),c=r(2260),h=r(7169),p=r(351),d=r(4772),T=r(4040),l=r(799),_=r(9216)({tablet:!0,featureDetect:!0});e.exports={createScene:b,createCamera:o};function w(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function M(u,y){var f=null;try{f=u.getContext("webgl",y),f||(f=u.getContext("experimental-webgl",y))}catch{return null}return f}function E(u){var y=Math.round(Math.log(Math.abs(u))/Math.log(10));if(y<0){var f=Math.round(Math.pow(10,-y));return Math.ceil(u*f)/f}else if(y>0){var f=Math.round(Math.pow(10,y));return Math.ceil(u/f)*f}return Math.ceil(u)}function m(u){return typeof u=="boolean"?u:!0}function b(u){u=u||{},u.camera=u.camera||{};var y=u.canvas;if(!y)if(y=document.createElement("canvas"),u.container){var f=u.container;f.appendChild(y)}else document.body.appendChild(y);var P=u.gl;if(P||(u.glOptions&&(_=!!u.glOptions.preserveDrawingBuffer),P=M(y,u.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:_})),!P)throw new Error("webgl not supported");var L=u.bounds||[[-10,-10,-10],[10,10,10]],z=new w,F=c(P,P.drawingBufferWidth,P.drawingBufferHeight,{preferFloat:!_}),B=l(P),O=u.cameraObject&&u.cameraObject._ortho===!0||u.camera.projection&&u.camera.projection.type==="orthographic"||!1,I={eye:u.camera.eye||[2,0,0],center:u.camera.center||[0,0,0],up:u.camera.up||[0,1,0],zoomMin:u.camera.zoomMax||.1,zoomMax:u.camera.zoomMin||100,mode:u.camera.mode||"turntable",_ortho:O},N=u.axes||{},U=n(P,N);U.enable=!N.disable;var W=u.spikes||{},Q=a(P,W),le=[],se=[],fe=[],G=[],$=!0,ae=!0,J=new Array(16),X=new Array(16),re={view:null,projection:J,model:X,_ortho:!1},ae=!0,j=[P.drawingBufferWidth,P.drawingBufferHeight],ee=u.cameraObject||o(y,I),ie={gl:P,contextLost:!1,pixelRatio:u.pixelRatio||1,canvas:y,selection:z,camera:ee,axes:U,axesPixels:null,spikes:Q,bounds:L,objects:le,shape:j,aspect:u.aspectRatio||[1,1,1],pickRadius:u.pickRadius||10,zNear:u.zNear||.01,zFar:u.zFar||1e3,fovy:u.fovy||Math.PI/4,clearColor:u.clearColor||[0,0,0,0],autoResize:m(u.autoResize),autoBounds:m(u.autoBounds),autoScale:!!u.autoScale,autoCenter:m(u.autoCenter),clipToBounds:m(u.clipToBounds),snapToData:!!u.snapToData,onselect:u.onselect||null,onrender:u.onrender||null,onclick:u.onclick||null,cameraParams:re,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(ut){this.aspect[0]=ut.x,this.aspect[1]=ut.y,this.aspect[2]=ut.z,ae=!0},setBounds:function(ut,Me){this.bounds[0][ut]=Me.min,this.bounds[1][ut]=Me.max},setClearColor:function(ut){this.clearColor=ut},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ce=[P.drawingBufferWidth/ie.pixelRatio|0,P.drawingBufferHeight/ie.pixelRatio|0];function xe(){if(!ie._stopped&&ie.autoResize){var ut=y.parentNode,Me=1,pe=1;ut&&ut!==document.body?(Me=ut.clientWidth,pe=ut.clientHeight):(Me=window.innerWidth,pe=window.innerHeight);var ue=Math.ceil(Me*ie.pixelRatio)|0,Oe=Math.ceil(pe*ie.pixelRatio)|0;if(ue!==y.width||Oe!==y.height){y.width=ue,y.height=Oe;var rt=y.style;rt.position=rt.position||"absolute",rt.left="0px",rt.top="0px",rt.width=Me+"px",rt.height=pe+"px",$=!0}}}ie.autoResize&&xe(),window.addEventListener("resize",xe);function Te(){for(var ut=le.length,Me=G.length,pe=0;pe0&&fe[Me-1]===0;)fe.pop(),G.pop().dispose()}ie.update=function(ut){ie._stopped||(ut=ut||{},$=!0,ae=!0)},ie.add=function(ut){ie._stopped||(ut.axes=U,le.push(ut),se.push(-1),$=!0,ae=!0,Te())},ie.remove=function(ut){if(!ie._stopped){var Me=le.indexOf(ut);Me<0||(le.splice(Me,1),se.pop(),$=!0,ae=!0,Te())}},ie.dispose=function(){if(!ie._stopped&&(ie._stopped=!0,window.removeEventListener("resize",xe),y.removeEventListener("webglcontextlost",Ue),ie.mouseListener.enabled=!1,!ie.contextLost)){U.dispose(),Q.dispose();for(var ut=0;utz.distance)continue;for(var Et=0;Et1e-6?(_=Math.acos(w),M=Math.sin(_),E=Math.sin((1-i)*_)/M,m=Math.sin(i*_)/M):(E=1-i,m=i),r[0]=E*a+m*p,r[1]=E*s+m*d,r[2]=E*c+m*T,r[3]=E*h+m*l,r}},5964:function(e){"use strict";e.exports=function(t){return!t&&t!==0?"":t.toString()}},9366:function(e,t,r){"use strict";var o=r(4359);e.exports=i;var n={};function i(a,s,c){var h=[s.style,s.weight,s.variant,s.family].join("_"),p=n[h];if(p||(p=n[h]={}),a in p)return p[a];var d={textAlign:"center",textBaseline:"middle",lineHeight:1,font:s.family,fontStyle:s.style,fontWeight:s.weight,fontVariant:s.variant,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};d.triangles=!0;var T=o(a,d);d.triangles=!1;var l=o(a,d),_,w;if(c&&c!==1){for(_=0;_ max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform vec4 highlightId; -uniform float highlightScale; -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = 1.0; - if(distance(highlightId, id) < 0.0001) { - scale = highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1); - vec4 viewPosition = view * worldPosition; - viewPosition = viewPosition / viewPosition.w; - vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0)); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = position; - } -}`]),a=n([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float highlightScale, pixelRatio; -uniform vec4 highlightId; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = pixelRatio; - if(distance(highlightId.bgr, id.bgr) < 0.001) { - scale *= highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1.0); - vec4 viewPosition = view * worldPosition; - vec4 clipPosition = projection * viewPosition; - clipPosition /= clipPosition.w; - - gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0); - interpColor = color; - pickId = id; - dataCoordinate = position; - } -}`]),s=n([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform float highlightScale; -uniform vec4 highlightId; -uniform vec3 axes[2]; -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float scale, pixelRatio; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float lscale = pixelRatio * scale; - if(distance(highlightId, id) < 0.0001) { - lscale *= highlightScale; - } - - vec4 clipCenter = projection * (view * (model * vec4(position, 1))); - vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y; - vec4 clipPosition = projection * (view * (model * vec4(dataPosition, 1))); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = dataPosition; - } -} -`]),c=n([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float opacity; - -varying vec4 interpColor; -varying vec3 dataCoordinate; - -void main() { - if ( - outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) || - interpColor.a * opacity == 0. - ) discard; - gl_FragColor = interpColor * opacity; -} -`]),h=n([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float pickGroup; - -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard; - - gl_FragColor = vec4(pickGroup, pickId.bgr); -}`]),p=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],d={vertex:i,fragment:c,attributes:p},T={vertex:a,fragment:c,attributes:p},l={vertex:s,fragment:c,attributes:p},_={vertex:i,fragment:h,attributes:p},w={vertex:a,fragment:h,attributes:p},M={vertex:s,fragment:h,attributes:p};function E(m,b){var v=o(m,b),u=v.attributes;return u.position.location=0,u.color.location=1,u.glyph.location=2,u.id.location=3,v}t.createPerspective=function(m){return E(m,d)},t.createOrtho=function(m){return E(m,T)},t.createProject=function(m){return E(m,l)},t.createPickPerspective=function(m){return E(m,_)},t.createPickOrtho=function(m){return E(m,w)},t.createPickProject=function(m){return E(m,M)}},8418:function(e,t,r){"use strict";var o=r(5219),n=r(2762),i=r(8116),a=r(1888),s=r(6760),c=r(1283),h=r(9366),p=r(5964),d=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],T=ArrayBuffer,l=DataView;function _(X){return T.isView(X)&&!(X instanceof l)}function w(X){return Array.isArray(X)||_(X)}e.exports=J;function M(X,re){var ae=X[0],j=X[1],ee=X[2],ie=X[3];return X[0]=re[0]*ae+re[4]*j+re[8]*ee+re[12]*ie,X[1]=re[1]*ae+re[5]*j+re[9]*ee+re[13]*ie,X[2]=re[2]*ae+re[6]*j+re[10]*ee+re[14]*ie,X[3]=re[3]*ae+re[7]*j+re[11]*ee+re[15]*ie,X}function E(X,re,ae,j){return M(j,j,ae),M(j,j,re),M(j,j,X)}function m(X,re){this.index=X,this.dataCoordinate=this.position=re}function b(X){return X===!0||X>1?1:X}function v(X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye){this.gl=X,this.pixelRatio=1,this.shader=re,this.orthoShader=ae,this.projectShader=j,this.pointBuffer=ee,this.colorBuffer=ie,this.glyphBuffer=ce,this.idBuffer=xe,this.vao=Te,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=Ue,this.pickOrthoShader=Ie,this.pickProjectShader=Ye,this.points=[],this._selectResult=new m(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var u=v.prototype;u.pickSlots=1,u.setPickBase=function(X){this.pickId=X},u.isTransparent=function(){if(this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&this.projectHasAlpha)return!0;return!1},u.isOpaque=function(){if(!this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0,1],z=[0,0,0,1],F=d.slice(),B=[0,0,0],O=[[0,0,0],[0,0,0]];function I(X){return X[0]=X[1]=X[2]=0,X}function N(X,re){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[3]=1,X}function U(X,re,ae,j){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[ae]=j,X}function W(X){for(var re=O,ae=0;ae<2;++ae)for(var j=0;j<3;++j)re[ae][j]=Math.max(Math.min(X[ae][j],1e8),-1e8);return re}function Q(X,re,ae,j){var ee=re.axesProject,ie=re.gl,ce=X.uniforms,xe=ae.model||d,Te=ae.view||d,Ue=ae.projection||d,Ie=re.axesBounds,Ye=W(re.clipBounds),it;re.axes&&re.axes.lastCubeProps?it=re.axes.lastCubeProps.axis:it=[1,1,1],y[0]=2/ie.drawingBufferWidth,y[1]=2/ie.drawingBufferHeight,X.bind(),ce.view=Te,ce.projection=Ue,ce.screenSize=y,ce.highlightId=re.highlightId,ce.highlightScale=re.highlightScale,ce.clipBounds=Ye,ce.pickGroup=re.pickId/255,ce.pixelRatio=j;for(var at=0;at<3;++at)if(ee[at]){ce.scale=re.projectScale[at],ce.opacity=re.projectOpacity[at];for(var tt=F,ut=0;ut<16;++ut)tt[ut]=0;for(var ut=0;ut<4;++ut)tt[5*ut]=1;tt[5*at]=0,it[at]<0?tt[12+at]=Ie[0][at]:tt[12+at]=Ie[1][at],s(tt,xe,tt),ce.model=tt;var Me=(at+1)%3,pe=(at+2)%3,ue=I(f),Oe=I(P);ue[Me]=1,Oe[pe]=1;var rt=E(Ue,Te,xe,N(L,ue)),ot=E(Ue,Te,xe,N(z,Oe));if(Math.abs(rt[1])>Math.abs(ot[1])){var et=rt;rt=ot,ot=et,et=ue,ue=Oe,Oe=et;var Lt=Me;Me=pe,pe=Lt}rt[0]<0&&(ue[Me]=-1),ot[1]>0&&(Oe[pe]=-1);for(var Et=0,Bt=0,ut=0;ut<4;++ut)Et+=Math.pow(xe[4*Me+ut],2),Bt+=Math.pow(xe[4*pe+ut],2);ue[Me]/=Math.sqrt(Et),Oe[pe]/=Math.sqrt(Bt),ce.axes[0]=ue,ce.axes[1]=Oe,ce.fragClipBounds[0]=U(B,Ye[0],at,-1e8),ce.fragClipBounds[1]=U(B,Ye[1],at,1e8),re.vao.bind(),re.vao.draw(ie.TRIANGLES,re.vertexCount),re.lineWidth>0&&(ie.lineWidth(re.lineWidth*j),re.vao.draw(ie.LINES,re.lineVertexCount,re.vertexCount)),re.vao.unbind()}}var le=[-1e8,-1e8,-1e8],se=[1e8,1e8,1e8],fe=[le,se];function G(X,re,ae,j,ee,ie,ce){var xe=ae.gl;if((ie===ae.projectHasAlpha||ce)&&Q(re,ae,j,ee),ie===ae.hasAlpha||ce){X.bind();var Te=X.uniforms;Te.model=j.model||d,Te.view=j.view||d,Te.projection=j.projection||d,y[0]=2/xe.drawingBufferWidth,y[1]=2/xe.drawingBufferHeight,Te.screenSize=y,Te.highlightId=ae.highlightId,Te.highlightScale=ae.highlightScale,Te.fragClipBounds=fe,Te.clipBounds=ae.axes.bounds,Te.opacity=ae.opacity,Te.pickGroup=ae.pickId/255,Te.pixelRatio=ee,ae.vao.bind(),ae.vao.draw(xe.TRIANGLES,ae.vertexCount),ae.lineWidth>0&&(xe.lineWidth(ae.lineWidth*ee),ae.vao.draw(xe.LINES,ae.lineVertexCount,ae.vertexCount)),ae.vao.unbind()}}u.draw=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!1,!1)},u.drawTransparent=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!0,!1)},u.drawPick=function(X){var re=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;G(re,this.pickProjectShader,this,X,1,!0,!0)},u.pick=function(X){if(!X||X.id!==this.pickId)return null;var re=X.value[2]+(X.value[1]<<8)+(X.value[0]<<16);if(re>=this.pointCount||re<0)return null;var ae=this.points[re],j=this._selectResult;j.index=re;for(var ee=0;ee<3;++ee)j.position[ee]=j.dataCoordinate[ee]=ae[ee];return j},u.highlight=function(X){if(!X)this.highlightId=[1,1,1,1];else{var re=X.index,ae=re&255,j=re>>8&255,ee=re>>16&255;this.highlightId=[ae/255,j/255,ee/255,0]}};function $(X,re,ae,j){var ee;w(X)?re0){var br=0,_t=pe,Be=[0,0,0,1],Ke=[0,0,0,1],je=w(it)&&w(it[0]),Se=w(ut)&&w(ut[0]);e:for(var j=0;j0?1-Bt[0][0]:bt<0?1+Bt[1][0]:1,Rt*=Rt>0?1-Bt[0][1]:Rt<0?1+Bt[1][1]:1;for(var Nt=[bt,Rt],Rn=Lt.cells||[],Nn=Lt.positions||[],ot=0;otthis.buffer.length){n.free(this.buffer);for(var w=this.buffer=n.mallocUint8(a(_*l*4)),M=0;M<_*l*4;++M)w[M]=255}return T}}}),p.begin=function(){var T=this.gl,l=this.shape;T&&(this.fbo.bind(),T.clearColor(1,1,1,1),T.clear(T.COLOR_BUFFER_BIT|T.DEPTH_BUFFER_BIT))},p.end=function(){var T=this.gl;T&&(T.bindFramebuffer(T.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},p.query=function(T,l,_){if(!this.gl)return null;var w=this.fbo.shape.slice();T=T|0,l=l|0,typeof _!="number"&&(_=1);var M=Math.min(Math.max(T-_,0),w[0])|0,E=Math.min(Math.max(T+_,0),w[0])|0,m=Math.min(Math.max(l-_,0),w[1])|0,b=Math.min(Math.max(l+_,0),w[1])|0;if(E<=M||b<=m)return null;var v=[E-M,b-m],u=i(this.buffer,[v[0],v[1],4],[4,w[0]*4,1],4*(M+w[0]*m)),y=s(u.hi(v[0],v[1],1),_,_),f=y[0],P=y[1];if(f<0||Math.pow(this.radius,2)w)for(l=w;l<_;l++)this.gl.enableVertexAttribArray(l);else if(w>_)for(l=_;l=0){for(var O=B.type.charAt(B.type.length-1)|0,I=new Array(O),N=0;N=0;)U+=1;z[F]=U}var W=new Array(w.length);function Q(){m.program=a.program(b,m._vref,m._fref,L,z);for(var le=0;le=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o("","Invalid data type for attribute "+m+": "+b);s(p,d,v[0],l,u,_,m)}else if(b.indexOf("mat")>=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o("","Invalid data type for attribute "+m+": "+b);c(p,d,v,l,u,_,m)}else throw new o("","Unknown data type for attribute "+m+": "+b);break}}return _}},3327:function(e,t,r){"use strict";var o=r(216),n=r(8866);e.exports=s;function i(c){return function(){return c}}function a(c,h){for(var p=new Array(c),d=0;d4)throw new n("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+W+"iv"](d[z],F);break;case"v":c["uniform"+W+"fv"](d[z],F);break;default:throw new n("","Unrecognized data type for vector "+name+": "+U)}}else if(U.indexOf("mat")===0&&U.length===4){if(W=U.charCodeAt(U.length-1)-48,W<2||W>4)throw new n("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+W+"fv"](d[z],!1,F);break}else throw new n("","Unknown uniform data type for "+name+": "+U)}}}}}function _(b,v){if(typeof v!="object")return[[b,v]];var u=[];for(var y in v){var f=v[y],P=b;parseInt(y)+""===y?P+="["+y+"]":P+="."+y,typeof f=="object"?u.push.apply(u,_(P,f)):u.push([P,f])}return u}function w(b){switch(b){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":return 0;case"float":return 0;default:var v=b.indexOf("vec");if(0<=v&&v<=1&&b.length===4+v){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n("","Invalid data type");return b.charAt(0)==="b"?a(u,!1):a(u,0)}else if(b.indexOf("mat")===0&&b.length===4){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n("","Invalid uniform dimension type for matrix "+name+": "+b);return a(u*u,0)}else throw new n("","Unknown uniform data type for "+name+": "+b)}}function M(b,v,u){if(typeof u=="object"){var y=E(u);Object.defineProperty(b,v,{get:i(y),set:l(u),enumerable:!0,configurable:!1})}else d[u]?Object.defineProperty(b,v,{get:T(u),set:l(u),enumerable:!0,configurable:!1}):b[v]=w(p[u].type)}function E(b){var v;if(Array.isArray(b)){v=new Array(b.length);for(var u=0;u1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var d=1;d1)for(var _=0;_"u"?r(606):WeakMap,a=new i,s=0;function c(M,E,m,b,v,u,y){this.id=M,this.src=E,this.type=m,this.shader=b,this.count=u,this.programs=[],this.cache=y}c.prototype.dispose=function(){if(--this.count===0){for(var M=this.cache,E=M.gl,m=this.programs,b=0,v=m.length;b 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, tubeScale; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * tubePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(tubePosition, 1.0); - vec4 t_position = view * tubePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = tubePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),i=o([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),a=o([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float tubeScale; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - gl_Position = projection * (view * tubePosition); - f_id = id; - f_position = position.xyz; -} -`]),s=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7815:function(e,t,r){"use strict";var o=r(2931),n=r(9970),i=["xyz","xzy","yxz","yzx","zxy","zyx"],a=function(M,E,m,b){for(var v=M.points,u=M.velocities,y=M.divergences,f=[],P=[],L=[],z=[],F=[],B=[],O=0,I=0,N=n.create(),U=n.create(),W=8,Q=0;Q0)for(var G=0;GE)return b-1}return b},h=function(M,E,m){return Mm?m:M},p=function(M,E,m){var b=E.vectors,v=E.meshgrid,u=M[0],y=M[1],f=M[2],P=v[0].length,L=v[1].length,z=v[2].length,F=c(v[0],u),B=c(v[1],y),O=c(v[2],f),I=F+1,N=B+1,U=O+1;if(F=h(F,0,P-1),I=h(I,0,P-1),B=h(B,0,L-1),N=h(N,0,L-1),O=h(O,0,z-1),U=h(U,0,z-1),F<0||B<0||O<0||I>P-1||N>L-1||U>z-1)return o.create();var W=v[0][F],Q=v[0][I],le=v[1][B],se=v[1][N],fe=v[2][O],G=v[2][U],$=(u-W)/(Q-W),J=(y-le)/(se-le),X=(f-fe)/(G-fe);isFinite($)||($=.5),isFinite(J)||(J=.5),isFinite(X)||(X=.5);var re,ae,j,ee,ie,ce;switch(m.reversedX&&(F=P-1-F,I=P-1-I),m.reversedY&&(B=L-1-B,N=L-1-N),m.reversedZ&&(O=z-1-O,U=z-1-U),m.filled){case 5:ie=O,ce=U,j=B*z,ee=N*z,re=F*z*L,ae=I*z*L;break;case 4:ie=O,ce=U,re=F*z,ae=I*z,j=B*z*P,ee=N*z*P;break;case 3:j=B,ee=N,ie=O*L,ce=U*L,re=F*L*z,ae=I*L*z;break;case 2:j=B,ee=N,re=F*L,ae=I*L,ie=O*L*P,ce=U*L*P;break;case 1:re=F,ae=I,ie=O*P,ce=U*P,j=B*P*z,ee=N*P*z;break;default:re=F,ae=I,j=B*P,ee=N*P,ie=O*P*L,ce=U*P*L;break}var xe=b[re+j+ie],Te=b[re+j+ce],Ue=b[re+ee+ie],Ie=b[re+ee+ce],Ye=b[ae+j+ie],it=b[ae+j+ce],at=b[ae+ee+ie],tt=b[ae+ee+ce],ut=o.create(),Me=o.create(),pe=o.create(),ue=o.create();o.lerp(ut,xe,Ye,$),o.lerp(Me,Te,it,$),o.lerp(pe,Ue,at,$),o.lerp(ue,Ie,tt,$);var Oe=o.create(),rt=o.create();o.lerp(Oe,ut,pe,J),o.lerp(rt,Me,ue,J);var ot=o.create();return o.lerp(ot,Oe,rt,X),ot},d=function(M,E){var m=E[0],b=E[1],v=E[2];return M[0]=m<0?-m:m,M[1]=b<0?-b:b,M[2]=v<0?-v:v,M},T=function(M){var E=1/0;M.sort(function(u,y){return u-y});for(var m=M.length,b=1;bI||ttN||utU)},Q=o.distance(E[0],E[1]),le=10*Q/b,se=le*le,fe=1,G=0,$=m.length;$>1&&(fe=l(m));for(var J=0;J<$;J++){var X=o.create();o.copy(X,m[J]);var re=[X],ae=[],j=P(X),ee=X;ae.push(j);var ie=[],ce=L(X,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe),z.push({points:re,velocities:ae,divergences:ie});for(var Te=0;Tese&&o.scale(Ue,Ue,le/Math.sqrt(Ie)),o.add(Ue,Ue,X),j=P(Ue),o.squaredDistance(ee,Ue)-se>-1e-4*se){re.push(Ue),ee=Ue,ae.push(j);var ce=L(Ue,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe)}X=Ue}}var Ye=s(z,M.colormap,G,fe);return u?Ye.tubeScale=u:(G===0&&(G=1),Ye.tubeScale=v*.5*fe/G),Ye};var _=r(6740),w=r(6405).createMesh;e.exports.createTubeMesh=function(M,E){return w(M,E,{shaders:_,traceType:"streamtube"})}},990:function(e,t,r){var o=r(9405),n=r(3236),i=n([`precision highp float; -#define GLSLIFY 1 - -attribute vec4 uv; -attribute vec3 f; -attribute vec3 normal; - -uniform vec3 objectOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 lightPosition, eyePosition; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 localCoordinate = vec3(uv.zw, f.x); - worldCoordinate = objectOffset + localCoordinate; - mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0)); - vec4 worldPosition = (model * objectOffsetTranslation) * vec4(localCoordinate, 1.0); - vec4 clipPosition = projection * (view * worldPosition); - gl_Position = clipPosition; - kill = f.y; - value = f.z; - planeCoordinate = uv.xy; - - vColor = texture2D(colormap, vec2(value, value)); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * worldPosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - lightDirection = lightPosition - cameraCoordinate.xyz; - eyeDirection = eyePosition - cameraCoordinate.xyz; - surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz); -} -`]),a=n([`precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float beckmannSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness) { - return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 lowerBound, upperBound; -uniform float contourTint; -uniform vec4 contourColor; -uniform sampler2D colormap; -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform float vertexColor; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - if ( - kill > 0.0 || - vColor.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], worldCoordinate) - ) discard; - - vec3 N = normalize(surfaceNormal); - vec3 V = normalize(eyeDirection); - vec3 L = normalize(lightDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = max(beckmannSpecular(L, V, N, roughness), 0.); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - //decide how to interpolate color \u2014 in vertex or in fragment - vec4 surfaceColor = - step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) + - step(.5, vertexColor) * vColor; - - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = mix(litColor, contourColor, contourTint) * opacity; -} -`]),s=n([`precision highp float; -#define GLSLIFY 1 - -attribute vec4 uv; -attribute float f; - -uniform vec3 objectOffset; -uniform mat3 permutation; -uniform mat4 model, view, projection; -uniform float height, zOffset; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 dataCoordinate = permutation * vec3(uv.xy, height); - worldCoordinate = objectOffset + dataCoordinate; - mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0)); - vec4 worldPosition = (model * objectOffsetTranslation) * vec4(dataCoordinate, 1.0); - - vec4 clipPosition = projection * (view * worldPosition); - clipPosition.z += zOffset; - - gl_Position = clipPosition; - value = f + objectOffset.z; - kill = -1.0; - planeCoordinate = uv.zw; - - vColor = texture2D(colormap, vec2(value, value)); - - //Don't do lighting for contours - surfaceNormal = vec3(1,0,0); - eyeDirection = vec3(0,1,0); - lightDirection = vec3(0,0,1); -} -`]),c=n([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec2 shape; -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 surfaceNormal; - -vec2 splitFloat(float v) { - float vh = 255.0 * v; - float upper = floor(vh); - float lower = fract(vh); - return vec2(upper / 255.0, floor(lower * 16.0) / 16.0); -} - -void main() { - if ((kill > 0.0) || - (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard; - - vec2 ux = splitFloat(planeCoordinate.x / shape.x); - vec2 uy = splitFloat(planeCoordinate.y / shape.y); - gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0)); -} -`]);t.createShader=function(h){var p=o(h,i,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createPickShader=function(h){var p=o(h,i,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createContourShader=function(h){var p=o(h,s,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p},t.createPickContourShader=function(h){var p=o(h,s,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p}},9499:function(e,t,r){"use strict";e.exports=re;var o=r(8828),n=r(2762),i=r(8116),a=r(7766),s=r(1888),c=r(6729),h=r(5298),p=r(9994),d=r(9618),T=r(3711),l=r(6760),_=r(7608),w=r(2478),M=r(6199),E=r(990),m=E.createShader,b=E.createContourShader,v=E.createPickShader,u=E.createPickContourShader,y=4*10,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],P=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],L=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var ae=0;ae<3;++ae){var j=L[ae],ee=(ae+1)%3,ie=(ae+2)%3;j[ee+0]=1,j[ie+3]=1,j[ae+6]=1}})();function z(ae,j,ee,ie,ce){this.position=ae,this.index=j,this.uv=ee,this.level=ie,this.dataCoordinate=ce}var F=256;function B(ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me){this.gl=ae,this.shape=j,this.bounds=ee,this.objectOffset=Me,this.intensityBounds=[],this._shader=ie,this._pickShader=ce,this._coordinateBuffer=xe,this._vao=Te,this._colorMap=Ue,this._contourShader=Ie,this._contourPickShader=Ye,this._contourBuffer=it,this._contourVAO=at,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new z([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=tt,this._dynamicVAO=ut,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var O=B.prototype;O.genColormap=function(ae,j){var ee=!1,ie=p([c({colormap:ae,nshades:F,format:"rgba"}).map(function(ce,xe){var Te=j?I(xe/255,j):ce[3];return Te<1&&(ee=!0),[ce[0],ce[1],ce[2],255*Te]})]);return h.divseq(ie,255),this.hasAlphaScale=ee,ie},O.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},O.isOpaque=function(){return!this.isTransparent()},O.pickSlots=1,O.setPickBase=function(ae){this.pickId=ae};function I(ae,j){if(!j||!j.length)return 1;for(var ee=0;eeae&&ee>0){var ie=(j[ee][0]-ae)/(j[ee][0]-j[ee-1][0]);return j[ee][1]*(1-ie)+ie*j[ee-1][1]}}return 1}var N=[0,0,0],U={showSurface:!1,showContour:!1,projections:[f.slice(),f.slice(),f.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function W(ae,j){var ee,ie,ce,xe=j.axes&&j.axes.lastCubeProps.axis||N,Te=j.showSurface,Ue=j.showContour;for(ee=0;ee<3;++ee)for(Te=Te||j.surfaceProject[ee],ie=0;ie<3;++ie)Ue=Ue||j.contourProject[ee][ie];for(ee=0;ee<3;++ee){var Ie=U.projections[ee];for(ie=0;ie<16;++ie)Ie[ie]=0;for(ie=0;ie<4;++ie)Ie[5*ie]=1;Ie[5*ee]=0,Ie[12+ee]=j.axesBounds[+(xe[ee]>0)][ee],l(Ie,ae.model,Ie);var Ye=U.clipBounds[ee];for(ce=0;ce<2;++ce)for(ie=0;ie<3;++ie)Ye[ce][ie]=ae.clipBounds[ce][ie];Ye[0][ee]=-1e8,Ye[1][ee]=1e8}return U.showSurface=Te,U.showContour=Ue,U}var Q={model:f,view:f,projection:f,inverseModel:f.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},le=f.slice(),se=[1,0,0,0,1,0,0,0,1];function fe(ae,j){ae=ae||{};var ee=this.gl;ee.disable(ee.CULL_FACE),this._colorMap.bind(0);var ie=Q;ie.model=ae.model||f,ie.view=ae.view||f,ie.projection=ae.projection||f,ie.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ie.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ie.objectOffset=this.objectOffset,ie.contourColor=this.contourColor[0],ie.inverseModel=_(ie.inverseModel,ie.model);for(var ce=0;ce<2;++ce)for(var xe=ie.clipBounds[ce],Te=0;Te<3;++Te)xe[Te]=Math.min(Math.max(this.clipBounds[ce][Te],-1e8),1e8);ie.kambient=this.ambientLight,ie.kdiffuse=this.diffuseLight,ie.kspecular=this.specularLight,ie.roughness=this.roughness,ie.fresnel=this.fresnel,ie.opacity=this.opacity,ie.height=0,ie.permutation=se,ie.vertexColor=this.vertexColor;var Ue=le;for(l(Ue,ie.view,ie.model),l(Ue,ie.projection,Ue),_(Ue,Ue),ce=0;ce<3;++ce)ie.eyePosition[ce]=Ue[12+ce]/Ue[15];var Ie=Ue[15];for(ce=0;ce<3;++ce)Ie+=this.lightPosition[ce]*Ue[4*ce+3];for(ce=0;ce<3;++ce){var Ye=Ue[12+ce];for(Te=0;Te<3;++Te)Ye+=Ue[4*Te+ce]*this.lightPosition[Te];ie.lightPosition[ce]=Ye/Ie}var it=W(ie,this);if(it.showSurface){for(this._shader.bind(),this._shader.uniforms=ie,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ee.TRIANGLES,this._vertexCount),ce=0;ce<3;++ce)!this.surfaceProject[ce]||!this.vertexCount||(this._shader.uniforms.model=it.projections[ce],this._shader.uniforms.clipBounds=it.clipBounds[ce],this._vao.draw(ee.TRIANGLES,this._vertexCount));this._vao.unbind()}if(it.showContour){var at=this._contourShader;ie.kambient=1,ie.kdiffuse=0,ie.kspecular=0,ie.opacity=1,at.bind(),at.uniforms=ie;var tt=this._contourVAO;for(tt.bind(),ce=0;ce<3;++ce)for(at.uniforms.permutation=L[ce],ee.lineWidth(this.contourWidth[ce]*this.pixelRatio),Te=0;Te>4)/16)/255,ce=Math.floor(ie),xe=ie-ce,Te=j[1]*(ae.value[1]+(ae.value[2]&15)/16)/255,Ue=Math.floor(Te),Ie=Te-Ue;ce+=1,Ue+=1;var Ye=ee.position;Ye[0]=Ye[1]=Ye[2]=0;for(var it=0;it<2;++it)for(var at=it?xe:1-xe,tt=0;tt<2;++tt)for(var ut=tt?Ie:1-Ie,Me=ce+it,pe=Ue+tt,ue=at*ut,Oe=0;Oe<3;++Oe)Ye[Oe]+=this._field[Oe].get(Me,pe)*ue;for(var rt=this._pickResult.level,ot=0;ot<3;++ot)if(rt[ot]=w.le(this.contourLevels[ot],Ye[ot]),rt[ot]<0)this.contourLevels[ot].length>0&&(rt[ot]=0);else if(rt[ot]Math.abs(Lt-Ye[ot])&&(rt[ot]+=1)}for(ee.index[0]=xe<.5?ce:ce+1,ee.index[1]=Ie<.5?Ue:Ue+1,ee.uv[0]=ie/j[0],ee.uv[1]=Te/j[1],Oe=0;Oe<3;++Oe)ee.dataCoordinate[Oe]=this._field[Oe].get(ee.index[0],ee.index[1]);return ee},O.padField=function(ae,j){var ee=j.shape.slice(),ie=ae.shape.slice();h.assign(ae.lo(1,1).hi(ee[0],ee[1]),j),h.assign(ae.lo(1).hi(ee[0],1),j.hi(ee[0],1)),h.assign(ae.lo(1,ie[1]-1).hi(ee[0],1),j.lo(0,ee[1]-1).hi(ee[0],1)),h.assign(ae.lo(0,1).hi(1,ee[1]),j.hi(1)),h.assign(ae.lo(ie[0]-1,1).hi(1,ee[1]),j.lo(ee[0]-1)),ae.set(0,0,j.get(0,0)),ae.set(0,ie[1]-1,j.get(0,ee[1]-1)),ae.set(ie[0]-1,0,j.get(ee[0]-1,0)),ae.set(ie[0]-1,ie[1]-1,j.get(ee[0]-1,ee[1]-1))};function $(ae,j){return Array.isArray(ae)?[j(ae[0]),j(ae[1]),j(ae[2])]:[j(ae),j(ae),j(ae)]}function J(ae){return Array.isArray(ae)?ae.length===3?[ae[0],ae[1],ae[2],1]:[ae[0],ae[1],ae[2],ae[3]]:[0,0,0,1]}function X(ae){if(Array.isArray(ae)){if(Array.isArray(ae))return[J(ae[0]),J(ae[1]),J(ae[2])];var j=J(ae);return[j.slice(),j.slice(),j.slice()]}}O.update=function(ae){ae=ae||{},this.objectOffset=ae.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ae&&(this.contourWidth=$(ae.contourWidth,Number)),"showContour"in ae&&(this.showContour=$(ae.showContour,Boolean)),"showSurface"in ae&&(this.showSurface=!!ae.showSurface),"contourTint"in ae&&(this.contourTint=$(ae.contourTint,Boolean)),"contourColor"in ae&&(this.contourColor=X(ae.contourColor)),"contourProject"in ae&&(this.contourProject=$(ae.contourProject,function(ui){return $(ui,Boolean)})),"surfaceProject"in ae&&(this.surfaceProject=ae.surfaceProject),"dynamicColor"in ae&&(this.dynamicColor=X(ae.dynamicColor)),"dynamicTint"in ae&&(this.dynamicTint=$(ae.dynamicTint,Number)),"dynamicWidth"in ae&&(this.dynamicWidth=$(ae.dynamicWidth,Number)),"opacity"in ae&&(this.opacity=ae.opacity),"opacityscale"in ae&&(this.opacityscale=ae.opacityscale),"colorBounds"in ae&&(this.colorBounds=ae.colorBounds),"vertexColor"in ae&&(this.vertexColor=ae.vertexColor?1:0),"colormap"in ae&&this._colorMap.setPixels(this.genColormap(ae.colormap,this.opacityscale));var j=ae.field||ae.coords&&ae.coords[2]||null,ee=!1;if(j||(this._field[2].shape[0]||this._field[2].shape[2]?j=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):j=this._field[2].hi(0,0)),"field"in ae||"coords"in ae){var ie=(j.shape[0]+2)*(j.shape[1]+2);ie>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(o.nextPow2(ie))),this._field[2]=d(this._field[2].data,[j.shape[0]+2,j.shape[1]+2]),this.padField(this._field[2],j),this.shape=j.shape.slice();for(var ce=this.shape,xe=0;xe<2;++xe)this._field[2].size>this._field[xe].data.length&&(s.freeFloat(this._field[xe].data),this._field[xe].data=s.mallocFloat(this._field[2].size)),this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2]);if(ae.coords){var Te=ae.coords;if(!Array.isArray(Te)||Te.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(xe=0;xe<2;++xe){var Ue=Te[xe];for(tt=0;tt<2;++tt)if(Ue.shape[tt]!==ce[tt])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[xe],Ue)}}else if(ae.ticks){var Ie=ae.ticks;if(!Array.isArray(Ie)||Ie.length!==2)throw new Error("gl-surface: invalid ticks");for(xe=0;xe<2;++xe){var Ye=Ie[xe];if((Array.isArray(Ye)||Ye.length)&&(Ye=d(Ye)),Ye.shape[0]!==ce[xe])throw new Error("gl-surface: invalid tick length");var it=d(Ye.data,ce);it.stride[xe]=Ye.stride[0],it.stride[xe^1]=0,this.padField(this._field[xe],it)}}else{for(xe=0;xe<2;++xe){var at=[0,0];at[xe]=1,this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2],at,0)}this._field[0].set(0,0,0);for(var tt=0;tt0){for(var ri=0;ri<5;++ri)Xt.pop();je-=1}continue e}}}Rn.push(je)}this._contourOffsets[$t]=pn,this._contourCounts[$t]=Rn}var Sn=s.mallocFloat(Xt.length);for(xe=0;xez||P<0||P>z)throw new Error("gl-texture2d: Invalid texture size");return y._shape=[f,P],y.bind(),L.texImage2D(L.TEXTURE_2D,0,y.format,f,P,0,y.format,y.type,null),y._mipLevels=[0],y}function l(y,f,P,L,z,F){this.gl=y,this.handle=f,this.format=z,this.type=F,this._shape=[P,L],this._mipLevels=[0],this._magFilter=y.NEAREST,this._minFilter=y.NEAREST,this._wrapS=y.CLAMP_TO_EDGE,this._wrapT=y.CLAMP_TO_EDGE,this._anisoSamples=1;var B=this,O=[this._wrapS,this._wrapT];Object.defineProperties(O,[{get:function(){return B._wrapS},set:function(N){return B.wrapS=N}},{get:function(){return B._wrapT},set:function(N){return B.wrapT=N}}]),this._wrapVector=O;var I=[this._shape[0],this._shape[1]];Object.defineProperties(I,[{get:function(){return B._shape[0]},set:function(N){return B.width=N}},{get:function(){return B._shape[1]},set:function(N){return B.height=N}}]),this._shapeVector=I}var _=l.prototype;Object.defineProperties(_,{minFilter:{get:function(){return this._minFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension("OES_texture_float_linear")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error("gl-texture2d: Unknown filter mode "+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,y),this._minFilter=y}},magFilter:{get:function(){return this._magFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension("OES_texture_float_linear")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error("gl-texture2d: Unknown filter mode "+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,y),this._magFilter=y}},mipSamples:{get:function(){return this._anisoSamples},set:function(y){var f=this._anisoSamples;if(this._anisoSamples=Math.max(y,1)|0,f!==this._anisoSamples){var P=this.gl.getExtension("EXT_texture_filter_anisotropic");P&&this.gl.texParameterf(this.gl.TEXTURE_2D,P.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,y),this._wrapS=y}},wrapT:{get:function(){return this._wrapT},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,y),this._wrapT=y}},wrap:{get:function(){return this._wrapVector},set:function(y){if(Array.isArray(y)||(y=[y,y]),y.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var f=0;f<2;++f)if(c.indexOf(y[f])<0)throw new Error("gl-texture2d: Unknown wrap mode "+y);this._wrapS=y[0],this._wrapT=y[1];var P=this.gl;return this.bind(),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_S,this._wrapS),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_T,this._wrapT),y}},shape:{get:function(){return this._shapeVector},set:function(y){if(!Array.isArray(y))y=[y|0,y|0];else if(y.length!==2)throw new Error("gl-texture2d: Invalid texture shape");return T(this,y[0]|0,y[1]|0),[y[0]|0,y[1]|0]}},width:{get:function(){return this._shape[0]},set:function(y){return y=y|0,T(this,y,this._shape[1]),y}},height:{get:function(){return this._shape[1]},set:function(y){return y=y|0,T(this,this._shape[0],y),y}}}),_.bind=function(y){var f=this.gl;return y!==void 0&&f.activeTexture(f.TEXTURE0+(y|0)),f.bindTexture(f.TEXTURE_2D,this.handle),y!==void 0?y|0:f.getParameter(f.ACTIVE_TEXTURE)-f.TEXTURE0},_.dispose=function(){this.gl.deleteTexture(this.handle)},_.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var y=Math.min(this._shape[0],this._shape[1]),f=0;y>0;++f,y>>>=1)this._mipLevels.indexOf(f)<0&&this._mipLevels.push(f)},_.setPixels=function(y,f,P,L){var z=this.gl;this.bind(),Array.isArray(f)?(L=P,P=f[1]|0,f=f[0]|0):(f=f||0,P=P||0),L=L||0;var F=p(y)?y:y.raw;if(F){var B=this._mipLevels.indexOf(L)<0;B?(z.texImage2D(z.TEXTURE_2D,0,this.format,this.format,this.type,F),this._mipLevels.push(L)):z.texSubImage2D(z.TEXTURE_2D,L,f,P,this.format,this.type,F)}else if(y.shape&&y.stride&&y.data){if(y.shape.length<2||f+y.shape[1]>this._shape[1]>>>L||P+y.shape[0]>this._shape[0]>>>L||f<0||P<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");M(z,f,P,L,this.format,this.type,this._mipLevels,y)}else throw new Error("gl-texture2d: Unsupported data type")};function w(y,f){return y.length===3?f[2]===1&&f[1]===y[0]*y[2]&&f[0]===y[2]:f[0]===1&&f[1]===y[0]}function M(y,f,P,L,z,F,B,O){var I=O.dtype,N=O.shape.slice();if(N.length<2||N.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var U=0,W=0,Q=w(N,O.stride.slice());I==="float32"?U=y.FLOAT:I==="float64"?(U=y.FLOAT,Q=!1,I="float32"):I==="uint8"?U=y.UNSIGNED_BYTE:(U=y.UNSIGNED_BYTE,Q=!1,I="uint8");var le=1;if(N.length===2)W=y.LUMINANCE,N=[N[0],N[1],1],O=o(O.data,N,[O.stride[0],O.stride[1],1],O.offset);else if(N.length===3){if(N[2]===1)W=y.ALPHA;else if(N[2]===2)W=y.LUMINANCE_ALPHA;else if(N[2]===3)W=y.RGB;else if(N[2]===4)W=y.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");le=N[2]}else throw new Error("gl-texture2d: Invalid shape for texture");if((W===y.LUMINANCE||W===y.ALPHA)&&(z===y.LUMINANCE||z===y.ALPHA)&&(W=z),W!==z)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var se=O.size,fe=B.indexOf(L)<0;if(fe&&B.push(L),U===F&&Q)O.offset===0&&O.data.length===se?fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data):fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data.subarray(O.offset,O.offset+se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data.subarray(O.offset,O.offset+se));else{var G;F===y.FLOAT?G=i.mallocFloat32(se):G=i.mallocUint8(se);var $=o(G,N,[N[2],N[2]*N[0],1]);U===y.FLOAT&&F===y.UNSIGNED_BYTE?d($,O):n.assign($,O),fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,G.subarray(0,se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,G.subarray(0,se)),F===y.FLOAT?i.freeFloat32(G):i.freeUint8(G)}}function E(y){var f=y.createTexture();return y.bindTexture(y.TEXTURE_2D,f),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MIN_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MAG_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_S,y.CLAMP_TO_EDGE),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_T,y.CLAMP_TO_EDGE),f}function m(y,f,P,L,z){var F=y.getParameter(y.MAX_TEXTURE_SIZE);if(f<0||f>F||P<0||P>F)throw new Error("gl-texture2d: Invalid texture shape");if(z===y.FLOAT&&!y.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,L,f,P,0,L,z,null),new l(y,B,f,P,L,z)}function b(y,f,P,L,z,F){var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,z,z,F,f),new l(y,B,P,L,z,F)}function v(y,f){var P=f.dtype,L=f.shape.slice(),z=y.getParameter(y.MAX_TEXTURE_SIZE);if(L[0]<0||L[0]>z||L[1]<0||L[1]>z)throw new Error("gl-texture2d: Invalid texture size");var F=w(L,f.stride.slice()),B=0;P==="float32"?B=y.FLOAT:P==="float64"?(B=y.FLOAT,F=!1,P="float32"):P==="uint8"?B=y.UNSIGNED_BYTE:(B=y.UNSIGNED_BYTE,F=!1,P="uint8");var O=0;if(L.length===2)O=y.LUMINANCE,L=[L[0],L[1],1],f=o(f.data,L,[f.stride[0],f.stride[1],1],f.offset);else if(L.length===3)if(L[2]===1)O=y.ALPHA;else if(L[2]===2)O=y.LUMINANCE_ALPHA;else if(L[2]===3)O=y.RGB;else if(L[2]===4)O=y.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");else throw new Error("gl-texture2d: Invalid shape for texture");B===y.FLOAT&&!y.getExtension("OES_texture_float")&&(B=y.UNSIGNED_BYTE,F=!1);var I,N,U=f.size;if(F)f.offset===0&&f.data.length===U?I=f.data:I=f.data.subarray(f.offset,f.offset+U);else{var W=[L[2],L[2]*L[0],1];N=i.malloc(U,P);var Q=o(N,L,W,0);(P==="float32"||P==="float64")&&B===y.UNSIGNED_BYTE?d(Q,f):n.assign(Q,f),I=N.subarray(0,U)}var le=E(y);return y.texImage2D(y.TEXTURE_2D,0,O,L[0],L[1],0,O,B,I),F||i.free(N),new l(y,le,L[0],L[1],O,B)}function u(y){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");if(a||h(y),typeof arguments[1]=="number")return m(y,arguments[1],arguments[2],arguments[3]||y.RGBA,arguments[4]||y.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return m(y,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(typeof arguments[1]=="object"){var f=arguments[1],P=p(f)?f:f.raw;if(P)return b(y,P,f.width|0,f.height|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(f.shape&&f.data&&f.stride)return v(y,f)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")}},1433:function(e){"use strict";function t(r,o,n){o?o.bind():r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null);var i=r.getParameter(r.MAX_VERTEX_ATTRIBS)|0;if(n){if(n.length>i)throw new Error("gl-vao: Too many vertex attributes");for(var a=0;a1?0:Math.acos(d)}},9226:function(e){e.exports=t;function t(r,o){return r[0]=Math.ceil(o[0]),r[1]=Math.ceil(o[1]),r[2]=Math.ceil(o[2]),r}},3126:function(e){e.exports=t;function t(r){var o=new Float32Array(3);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o}},3990:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r}},1091:function(e){e.exports=t;function t(){var r=new Float32Array(3);return r[0]=0,r[1]=0,r[2]=0,r}},5911:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2];return r[0]=a*p-s*h,r[1]=s*c-i*p,r[2]=i*h-a*c,r}},5455:function(e,t,r){e.exports=r(7056)},7056:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return Math.sqrt(n*n+i*i+a*a)}},4008:function(e,t,r){e.exports=r(6690)},6690:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r}},244:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]}},2613:function(e){e.exports=1e-6},9922:function(e,t,r){e.exports=n;var o=r(2613);function n(i,a){var s=i[0],c=i[1],h=i[2],p=a[0],d=a[1],T=a[2];return Math.abs(s-p)<=o*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(c-d)<=o*Math.max(1,Math.abs(c),Math.abs(d))&&Math.abs(h-T)<=o*Math.max(1,Math.abs(h),Math.abs(T))}},9265:function(e){e.exports=t;function t(r,o){return r[0]===o[0]&&r[1]===o[1]&&r[2]===o[2]}},2681:function(e){e.exports=t;function t(r,o){return r[0]=Math.floor(o[0]),r[1]=Math.floor(o[1]),r[2]=Math.floor(o[2]),r}},5137:function(e,t,r){e.exports=n;var o=r(1091)();function n(i,a,s,c,h,p){var d,T;for(a||(a=3),s||(s=0),c?T=Math.min(c*a+s,i.length):T=i.length,d=s;d0&&(s=1/Math.sqrt(s),r[0]=o[0]*s,r[1]=o[1]*s,r[2]=o[2]*s),r}},7636:function(e){e.exports=t;function t(r,o){o=o||1;var n=Math.random()*2*Math.PI,i=Math.random()*2-1,a=Math.sqrt(1-i*i)*o;return r[0]=Math.cos(n)*a,r[1]=Math.sin(n)*a,r[2]=i*o,r}},6894:function(e){e.exports=t;function t(r,o,n,i){var a=n[1],s=n[2],c=o[1]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=o[0],r[1]=a+c*d-h*p,r[2]=s+c*p+h*d,r}},109:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[2],c=o[0]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+h*p+c*d,r[1]=o[1],r[2]=s+h*d-c*p,r}},8692:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[1],c=o[0]-a,h=o[1]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+c*d-h*p,r[1]=s+c*p+h*d,r[2]=o[2],r}},2447:function(e){e.exports=t;function t(r,o){return r[0]=Math.round(o[0]),r[1]=Math.round(o[1]),r[2]=Math.round(o[2]),r}},6621:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r}},8489:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r}},1463:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o,r[1]=n,r[2]=i,r}},6141:function(e,t,r){e.exports=r(2953)},5486:function(e,t,r){e.exports=r(3066)},2953:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return n*n+i*i+a*a}},3066:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2];return o*o+n*n+i*i}},2229:function(e,t,r){e.exports=r(6843)},6843:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r}},492:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2];return r[0]=i*n[0]+a*n[3]+s*n[6],r[1]=i*n[1]+a*n[4]+s*n[7],r[2]=i*n[2]+a*n[5]+s*n[8],r}},5673:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[3]*i+n[7]*a+n[11]*s+n[15];return c=c||1,r[0]=(n[0]*i+n[4]*a+n[8]*s+n[12])/c,r[1]=(n[1]*i+n[5]*a+n[9]*s+n[13])/c,r[2]=(n[2]*i+n[6]*a+n[10]*s+n[14])/c,r}},264:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r}},4361:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]+n[0],r[1]=o[1]+n[1],r[2]=o[2]+n[2],r[3]=o[3]+n[3],r}},2335:function(e){e.exports=t;function t(r){var o=new Float32Array(4);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o[3]=r[3],o}},2933:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r}},7536:function(e){e.exports=t;function t(){var r=new Float32Array(4);return r[0]=0,r[1]=0,r[2]=0,r[3]=0,r}},4691:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return Math.sqrt(n*n+i*i+a*a+s*s)}},1373:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r[3]=o[3]/n[3],r}},3750:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]+r[3]*o[3]}},3390:function(e){e.exports=t;function t(r,o,n,i){var a=new Float32Array(4);return a[0]=r,a[1]=o,a[2]=n,a[3]=i,a}},9970:function(e,t,r){e.exports={create:r(7536),clone:r(2335),fromValues:r(3390),copy:r(2933),set:r(4578),add:r(4361),subtract:r(6860),multiply:r(3576),divide:r(1373),min:r(2334),max:r(160),scale:r(9288),scaleAndAdd:r(4844),distance:r(4691),squaredDistance:r(7960),length:r(6808),squaredLength:r(483),negate:r(1498),inverse:r(4494),normalize:r(5177),dot:r(3750),lerp:r(2573),random:r(9131),transformMat4:r(5352),transformQuat:r(4041)}},4494:function(e){e.exports=t;function t(r,o){return r[0]=1/o[0],r[1]=1/o[1],r[2]=1/o[2],r[3]=1/o[3],r}},6808:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return Math.sqrt(o*o+n*n+i*i+a*a)}},2573:function(e){e.exports=t;function t(r,o,n,i){var a=o[0],s=o[1],c=o[2],h=o[3];return r[0]=a+i*(n[0]-a),r[1]=s+i*(n[1]-s),r[2]=c+i*(n[2]-c),r[3]=h+i*(n[3]-h),r}},160:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.max(o[0],n[0]),r[1]=Math.max(o[1],n[1]),r[2]=Math.max(o[2],n[2]),r[3]=Math.max(o[3],n[3]),r}},2334:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.min(o[0],n[0]),r[1]=Math.min(o[1],n[1]),r[2]=Math.min(o[2],n[2]),r[3]=Math.min(o[3],n[3]),r}},3576:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n[0],r[1]=o[1]*n[1],r[2]=o[2]*n[2],r[3]=o[3]*n[3],r}},1498:function(e){e.exports=t;function t(r,o){return r[0]=-o[0],r[1]=-o[1],r[2]=-o[2],r[3]=-o[3],r}},5177:function(e){e.exports=t;function t(r,o){var n=o[0],i=o[1],a=o[2],s=o[3],c=n*n+i*i+a*a+s*s;return c>0&&(c=1/Math.sqrt(c),r[0]=n*c,r[1]=i*c,r[2]=a*c,r[3]=s*c),r}},9131:function(e,t,r){var o=r(5177),n=r(9288);e.exports=i;function i(a,s){return s=s||1,a[0]=Math.random(),a[1]=Math.random(),a[2]=Math.random(),a[3]=Math.random(),o(a,a),n(a,a,s),a}},9288:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r[3]=o[3]*n,r}},4844:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r[3]=o[3]+n[3]*i,r}},4578:function(e){e.exports=t;function t(r,o,n,i,a){return r[0]=o,r[1]=n,r[2]=i,r[3]=a,r}},7960:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return n*n+i*i+a*a+s*s}},483:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return o*o+n*n+i*i+a*a}},6860:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r[3]=o[3]-n[3],r}},5352:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=o[3];return r[0]=n[0]*i+n[4]*a+n[8]*s+n[12]*c,r[1]=n[1]*i+n[5]*a+n[9]*s+n[13]*c,r[2]=n[2]*i+n[6]*a+n[10]*s+n[14]*c,r[3]=n[3]*i+n[7]*a+n[11]*s+n[15]*c,r}},4041:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r[3]=o[3],r}},1848:function(e,t,r){var o=r(4905),n=r(6468);e.exports=i;function i(a){for(var s=Array.isArray(a)?a:o(a),c=0;c0)continue;ot=ue.slice(0,1).join("")}return ee(ot),se+=ot.length,I=I.slice(ot.length),I.length}while(!0)}function tt(){return/[^a-fA-F0-9]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function ut(){return B==="."||/[eE]/.test(B)?(I.push(B),F=w,O=B,L+1):B==="x"&&I.length===1&&I[0]==="0"?(F=u,I.push(B),O=B,L+1):/[^\d]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function Me(){return B==="f"&&(I.push(B),O=B,L+=1),/[eE]/.test(B)||(B==="-"||B==="+")&&/[eE]/.test(O)?(I.push(B),O=B,L+1):/[^\d]/.test(B)?(ee(I.join("")),F=c,L):(I.push(B),O=B,L+1)}function pe(){if(/[^\d\w_]/.test(B)){var ue=I.join("");return j[ue]?F=m:ae[ue]?F=E:F=M,ee(I.join("")),F=c,L}return I.push(B),O=B,L+1}}},3508:function(e,t,r){var o=r(6852);o=o.slice().filter(function(n){return!/^(gl\_|texture)/.test(n)}),e.exports=o.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},6852:function(e){e.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},7932:function(e,t,r){var o=r(620);e.exports=o.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},620:function(e){e.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},7827:function(e){e.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},4905:function(e,t,r){var o=r(5874);e.exports=n;function n(i,a){var s=o(a),c=[];return c=c.concat(s(i)),c=c.concat(s(null)),c}},3236:function(e){e.exports=function(t){typeof t=="string"&&(t=[t]);for(var r=[].slice.call(arguments,1),o=[],n=0;n>1,T=-7,l=n?a-1:0,_=n?-1:1,w=r[o+l];for(l+=_,s=w&(1<<-T)-1,w>>=-T,T+=h;T>0;s=s*256+r[o+l],l+=_,T-=8);for(c=s&(1<<-T)-1,s>>=-T,T+=i;T>0;c=c*256+r[o+l],l+=_,T-=8);if(s===0)s=1-d;else{if(s===p)return c?NaN:(w?-1:1)*(1/0);c=c+Math.pow(2,i),s=s-d}return(w?-1:1)*c*Math.pow(2,s-i)},t.write=function(r,o,n,i,a,s){var c,h,p,d=s*8-a-1,T=(1<>1,_=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:s-1,M=i?1:-1,E=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(h=isNaN(o)?1:0,c=T):(c=Math.floor(Math.log(o)/Math.LN2),o*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+l>=1?o+=_/p:o+=_*Math.pow(2,1-l),o*p>=2&&(c++,p/=2),c+l>=T?(h=0,c=T):c+l>=1?(h=(o*p-1)*Math.pow(2,a),c=c+l):(h=o*Math.pow(2,l-1)*Math.pow(2,a),c=0));a>=8;r[n+w]=h&255,w+=M,h/=256,a-=8);for(c=c<0;r[n+w]=c&255,w+=M,c/=256,d-=8);r[n+w-M]|=E*128}},8954:function(e,t,r){"use strict";e.exports=l;var o=r(3250),n=r(6803).Fw;function i(_,w,M){this.vertices=_,this.adjacent=w,this.boundary=M,this.lastVisited=-1}i.prototype.flip=function(){var _=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=_;var w=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=w};function a(_,w,M){this.vertices=_,this.cell=w,this.index=M}function s(_,w){return n(_.vertices,w.vertices)}function c(_){return function(){var w=this.tuple;return _.apply(this,w)}}function h(_){var w=o[_+1];return w||(w=o),c(w)}var p=[];function d(_,w,M){this.dimension=_,this.vertices=w,this.simplices=M,this.interior=M.filter(function(b){return!b.boundary}),this.tuple=new Array(_+1);for(var E=0;E<=_;++E)this.tuple[E]=this.vertices[E];var m=p[_];m||(m=p[_]=h(_)),this.orient=m}var T=d.prototype;T.handleBoundaryDegeneracy=function(_,w){var M=this.dimension,E=this.vertices.length-1,m=this.tuple,b=this.vertices,v=[_];for(_.lastVisited=-E;v.length>0;){_=v.pop();for(var u=_.adjacent,y=0;y<=M;++y){var f=u[y];if(!(!f.boundary||f.lastVisited<=-E)){for(var P=f.vertices,L=0;L<=M;++L){var z=P[L];z<0?m[L]=w:m[L]=b[z]}var F=this.orient();if(F>0)return f;f.lastVisited=-E,F===0&&v.push(f)}}}return null},T.walk=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=w?this.interior.length*Math.random()|0:this.interior.length-1,u=this.interior[v];e:for(;!u.boundary;){for(var y=u.vertices,f=u.adjacent,P=0;P<=E;++P)b[P]=m[y[P]];u.lastVisited=M;for(var P=0;P<=E;++P){var L=f[P];if(!(L.lastVisited>=M)){var z=b[P];b[P]=_;var F=this.orient();if(b[P]=z,F<0){u=L;continue e}else L.boundary?L.lastVisited=-M:L.lastVisited=M}}return}return u},T.addPeaks=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=this.interior,u=this.simplices,y=[w];w.lastVisited=M,w.vertices[w.vertices.indexOf(-1)]=M,w.boundary=!1,v.push(w);for(var f=[];y.length>0;){var w=y.pop(),P=w.vertices,L=w.adjacent,z=P.indexOf(M);if(!(z<0)){for(var F=0;F<=E;++F)if(F!==z){var B=L[F];if(!(!B.boundary||B.lastVisited>=M)){var O=B.vertices;if(B.lastVisited!==-M){for(var I=0,N=0;N<=E;++N)O[N]<0?(I=N,b[N]=_):b[N]=m[O[N]];var U=this.orient();if(U>0){O[I]=M,B.boundary=!1,v.push(B),y.push(B),B.lastVisited=M;continue}else B.lastVisited=-M}var W=B.adjacent,Q=P.slice(),le=L.slice(),se=new i(Q,le,!0);u.push(se);var fe=W.indexOf(w);if(!(fe<0)){W[fe]=se,le[z]=B,Q[F]=-1,le[F]=w,L[F]=se,se.flip();for(var N=0;N<=E;++N){var G=Q[N];if(!(G<0||G===M)){for(var $=new Array(E-1),J=0,X=0;X<=E;++X){var re=Q[X];re<0||X===N||($[J++]=re)}f.push(new a($,se,N))}}}}}}}f.sort(s);for(var F=0;F+1=0?v[y++]=u[P]:f=P&1;if(f===(_&1)){var L=v[0];v[0]=v[1],v[1]=L}w.push(v)}}return w};function l(_,w){var M=_.length;if(M===0)throw new Error("Must have at least d+1 points");var E=_[0].length;if(M<=E)throw new Error("Must input at least d+1 points");var m=_.slice(0,E+1),b=o.apply(void 0,m);if(b===0)throw new Error("Input not in general position");for(var v=new Array(E+1),u=0;u<=E;++u)v[u]=u;b<0&&(v[0]=1,v[1]=0);for(var y=new i(v,new Array(E+1),!1),f=y.adjacent,P=new Array(E+2),u=0;u<=E;++u){for(var L=v.slice(),z=0;z<=E;++z)z===u&&(L[z]=-1);var F=L[0];L[0]=L[1],L[1]=F;var B=new i(L,new Array(E+1),!0);f[u]=B,P[u]=B}P[E+1]=y;for(var u=0;u<=E;++u)for(var L=f[u].vertices,O=f[u].adjacent,z=0;z<=E;++z){var I=L[z];if(I<0){O[z]=y;continue}for(var N=0;N<=E;++N)f[N].vertices.indexOf(I)<0&&(O[z]=f[N])}for(var U=new d(E,m,P),W=!!w,u=E+1;u3*(P+1)?d(this,f):this.left.insert(f):this.left=b([f]);else if(f[0]>this.mid)this.right?4*(this.right.count+1)>3*(P+1)?d(this,f):this.right.insert(f):this.right=b([f]);else{var L=o.ge(this.leftPoints,f,E),z=o.ge(this.rightPoints,f,m);this.leftPoints.splice(L,0,f),this.rightPoints.splice(z,0,f)}},c.remove=function(f){var P=this.count-this.leftPoints;if(f[1]3*(P-1))return T(this,f);var z=this.left.remove(f);return z===a?(this.left=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else if(f[0]>this.mid){if(!this.right)return n;var F=this.left?this.left.count:0;if(4*F>3*(P-1))return T(this,f);var z=this.right.remove(f);return z===a?(this.right=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else{if(this.count===1)return this.leftPoints[0]===f?a:n;if(this.leftPoints.length===1&&this.leftPoints[0]===f){if(this.left&&this.right){for(var B=this,O=this.left;O.right;)B=O,O=O.right;if(B===this)O.right=this.right;else{var I=this.left,z=this.right;B.count-=O.count,B.right=O.left,O.left=I,O.right=z}h(this,O),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return i}for(var I=o.ge(this.leftPoints,f,E);I=0&&f[z][1]>=P;--z){var F=L(f[z]);if(F)return F}}function w(f,P){for(var L=0;Lthis.mid){if(this.right){var L=this.right.queryPoint(f,P);if(L)return L}return _(this.rightPoints,f,P)}else return w(this.leftPoints,P)},c.queryInterval=function(f,P,L){if(fthis.mid&&this.right){var z=this.right.queryInterval(f,P,L);if(z)return z}return Pthis.mid?_(this.rightPoints,f,L):w(this.leftPoints,L)};function M(f,P){return f-P}function E(f,P){var L=f[0]-P[0];return L||f[1]-P[1]}function m(f,P){var L=f[1]-P[1];return L||f[0]-P[0]}function b(f){if(f.length===0)return null;for(var P=[],L=0;L>1],F=[],B=[],O=[],L=0;L13)&&o!==32&&o!==133&&o!==160&&o!==5760&&o!==6158&&(o<8192||o>8205)&&o!==8232&&o!==8233&&o!==8239&&o!==8287&&o!==8288&&o!==12288&&o!==65279)return!1;return!0}},395:function(e){function t(r,o,n){return r*(1-n)+o*n}e.exports=t},2652:function(e,t,r){var o=r(4335),n=r(6864),i=r(1903),a=r(9921),s=r(7608),c=r(5665),h={length:r(1387),normalize:r(3536),dot:r(244),cross:r(5911)},p=n(),d=n(),T=[0,0,0,0],l=[[0,0,0],[0,0,0],[0,0,0]],_=[0,0,0];e.exports=function(b,v,u,y,f,P){if(v||(v=[0,0,0]),u||(u=[0,0,0]),y||(y=[0,0,0]),f||(f=[0,0,0,1]),P||(P=[0,0,0,1]),!o(p,b)||(i(d,p),d[3]=0,d[7]=0,d[11]=0,d[15]=1,Math.abs(a(d)<1e-8)))return!1;var L=p[3],z=p[7],F=p[11],B=p[12],O=p[13],I=p[14],N=p[15];if(L!==0||z!==0||F!==0){T[0]=L,T[1]=z,T[2]=F,T[3]=N;var U=s(d,d);if(!U)return!1;c(d,d),w(f,T,d)}else f[0]=f[1]=f[2]=0,f[3]=1;if(v[0]=B,v[1]=O,v[2]=I,M(l,p),u[0]=h.length(l[0]),h.normalize(l[0],l[0]),y[0]=h.dot(l[0],l[1]),E(l[1],l[1],l[0],1,-y[0]),u[1]=h.length(l[1]),h.normalize(l[1],l[1]),y[0]/=u[1],y[1]=h.dot(l[0],l[2]),E(l[2],l[2],l[0],1,-y[1]),y[2]=h.dot(l[1],l[2]),E(l[2],l[2],l[1],1,-y[2]),u[2]=h.length(l[2]),h.normalize(l[2],l[2]),y[1]/=u[2],y[2]/=u[2],h.cross(_,l[1],l[2]),h.dot(l[0],_)<0)for(var W=0;W<3;W++)u[W]*=-1,l[W][0]*=-1,l[W][1]*=-1,l[W][2]*=-1;return P[0]=.5*Math.sqrt(Math.max(1+l[0][0]-l[1][1]-l[2][2],0)),P[1]=.5*Math.sqrt(Math.max(1-l[0][0]+l[1][1]-l[2][2],0)),P[2]=.5*Math.sqrt(Math.max(1-l[0][0]-l[1][1]+l[2][2],0)),P[3]=.5*Math.sqrt(Math.max(1+l[0][0]+l[1][1]+l[2][2],0)),l[2][1]>l[1][2]&&(P[0]=-P[0]),l[0][2]>l[2][0]&&(P[1]=-P[1]),l[1][0]>l[0][1]&&(P[2]=-P[2]),!0};function w(m,b,v){var u=b[0],y=b[1],f=b[2],P=b[3];return m[0]=v[0]*u+v[4]*y+v[8]*f+v[12]*P,m[1]=v[1]*u+v[5]*y+v[9]*f+v[13]*P,m[2]=v[2]*u+v[6]*y+v[10]*f+v[14]*P,m[3]=v[3]*u+v[7]*y+v[11]*f+v[15]*P,m}function M(m,b){m[0][0]=b[0],m[0][1]=b[1],m[0][2]=b[2],m[1][0]=b[4],m[1][1]=b[5],m[1][2]=b[6],m[2][0]=b[8],m[2][1]=b[9],m[2][2]=b[10]}function E(m,b,v,u,y){m[0]=b[0]*u+v[0]*y,m[1]=b[1]*u+v[1]*y,m[2]=b[2]*u+v[2]*y}},4335:function(e){e.exports=function(r,o){var n=o[15];if(n===0)return!1;for(var i=1/n,a=0;a<16;a++)r[a]=o[a]*i;return!0}},7442:function(e,t,r){var o=r(6658),n=r(7182),i=r(2652),a=r(9921),s=r(8648),c=T(),h=T(),p=T();e.exports=d;function d(w,M,E,m){if(a(M)===0||a(E)===0)return!1;var b=i(M,c.translate,c.scale,c.skew,c.perspective,c.quaternion),v=i(E,h.translate,h.scale,h.skew,h.perspective,h.quaternion);return!b||!v?!1:(o(p.translate,c.translate,h.translate,m),o(p.skew,c.skew,h.skew,m),o(p.scale,c.scale,h.scale,m),o(p.perspective,c.perspective,h.perspective,m),s(p.quaternion,c.quaternion,h.quaternion,m),n(w,p.translate,p.scale,p.skew,p.perspective,p.quaternion),!0)}function T(){return{translate:l(),scale:l(1),skew:l(),perspective:_(),quaternion:_()}}function l(w){return[w||0,w||0,w||0]}function _(){return[0,0,0,1]}},7182:function(e,t,r){var o={identity:r(7894),translate:r(7656),multiply:r(6760),create:r(6864),scale:r(2504),fromRotationTranslation:r(6743)},n=o.create(),i=o.create();e.exports=function(s,c,h,p,d,T){return o.identity(s),o.fromRotationTranslation(s,T,c),s[3]=d[0],s[7]=d[1],s[11]=d[2],s[15]=d[3],o.identity(i),p[2]!==0&&(i[9]=p[2],o.multiply(s,s,i)),p[1]!==0&&(i[9]=0,i[8]=p[1],o.multiply(s,s,i)),p[0]!==0&&(i[8]=0,i[4]=p[0],o.multiply(s,s,i)),o.scale(s,s,h),s}},1811:function(e,t,r){"use strict";var o=r(2478),n=r(7442),i=r(7608),a=r(5567),s=r(2408),c=r(7089),h=r(6582),p=r(7656),d=r(2504),T=r(3536),l=[0,0,0];e.exports=E;function _(m){this._components=m.slice(),this._time=[0],this.prevMatrix=m.slice(),this.nextMatrix=m.slice(),this.computedMatrix=m.slice(),this.computedInverse=m.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var w=_.prototype;w.recalcMatrix=function(m){var b=this._time,v=o.le(b,m),u=this.computedMatrix;if(!(v<0)){var y=this._components;if(v===b.length-1)for(var f=16*v,P=0;P<16;++P)u[P]=y[f++];else{for(var L=b[v+1]-b[v],f=16*v,z=this.prevMatrix,F=!0,P=0;P<16;++P)z[P]=y[f++];for(var B=this.nextMatrix,P=0;P<16;++P)B[P]=y[f++],F=F&&z[P]===B[P];if(L<1e-6||F)for(var P=0;P<16;++P)u[P]=z[P];else n(u,z,B,(m-b[v])/L)}var O=this.computedUp;O[0]=u[1],O[1]=u[5],O[2]=u[9],T(O,O);var I=this.computedInverse;i(I,u);var N=this.computedEye,U=I[15];N[0]=I[12]/U,N[1]=I[13]/U,N[2]=I[14]/U;for(var W=this.computedCenter,Q=Math.exp(this.computedRadius[0]),P=0;P<3;++P)W[P]=N[P]-u[2+4*P]*Q}},w.idle=function(m){if(!(m1&&o(i[h[l-2]],i[h[l-1]],T)<=0;)l-=1,h.pop();for(h.push(d),l=p.length;l>1&&o(i[p[l-2]],i[p[l-1]],T)>=0;)l-=1,p.pop();p.push(d)}for(var _=new Array(p.length+h.length-2),w=0,s=0,M=h.length;s0;--E)_[w++]=p[E];return _}},351:function(e,t,r){"use strict";e.exports=n;var o=r(4687);function n(i,a){a||(a=i,i=window);var s=0,c=0,h=0,p={shift:!1,alt:!1,control:!1,meta:!1},d=!1;function T(f){var P=!1;return"altKey"in f&&(P=P||f.altKey!==p.alt,p.alt=!!f.altKey),"shiftKey"in f&&(P=P||f.shiftKey!==p.shift,p.shift=!!f.shiftKey),"ctrlKey"in f&&(P=P||f.ctrlKey!==p.control,p.control=!!f.ctrlKey),"metaKey"in f&&(P=P||f.metaKey!==p.meta,p.meta=!!f.metaKey),P}function l(f,P){var L=o.x(P),z=o.y(P);"buttons"in P&&(f=P.buttons|0),(f!==s||L!==c||z!==h||T(P))&&(s=f|0,c=L||0,h=z||0,a&&a(s,c,h,p))}function _(f){l(0,f)}function w(){(s||c||h||p.shift||p.alt||p.meta||p.control)&&(c=h=0,s=0,p.shift=p.alt=p.control=p.meta=!1,a&&a(0,0,0,p))}function M(f){T(f)&&a&&a(s,c,h,p)}function E(f){o.buttons(f)===0?l(0,f):l(s,f)}function m(f){l(s|o.buttons(f),f)}function b(f){l(s&~o.buttons(f),f)}function v(){d||(d=!0,i.addEventListener("mousemove",E),i.addEventListener("mousedown",m),i.addEventListener("mouseup",b),i.addEventListener("mouseleave",_),i.addEventListener("mouseenter",_),i.addEventListener("mouseout",_),i.addEventListener("mouseover",_),i.addEventListener("blur",w),i.addEventListener("keyup",M),i.addEventListener("keydown",M),i.addEventListener("keypress",M),i!==window&&(window.addEventListener("blur",w),window.addEventListener("keyup",M),window.addEventListener("keydown",M),window.addEventListener("keypress",M)))}function u(){d&&(d=!1,i.removeEventListener("mousemove",E),i.removeEventListener("mousedown",m),i.removeEventListener("mouseup",b),i.removeEventListener("mouseleave",_),i.removeEventListener("mouseenter",_),i.removeEventListener("mouseout",_),i.removeEventListener("mouseover",_),i.removeEventListener("blur",w),i.removeEventListener("keyup",M),i.removeEventListener("keydown",M),i.removeEventListener("keypress",M),i!==window&&(window.removeEventListener("blur",w),window.removeEventListener("keyup",M),window.removeEventListener("keydown",M),window.removeEventListener("keypress",M)))}v();var y={element:i};return Object.defineProperties(y,{enabled:{get:function(){return d},set:function(f){f?v():u()},enumerable:!0},buttons:{get:function(){return s},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return p},enumerable:!0}}),y}},24:function(e){var t={left:0,top:0};e.exports=r;function r(n,i,a){i=i||n.currentTarget||n.srcElement,Array.isArray(a)||(a=[0,0]);var s=n.clientX||0,c=n.clientY||0,h=o(i);return a[0]=s-h.left,a[1]=c-h.top,a}function o(n){return n===window||n===document||n===document.body?t:n.getBoundingClientRect()}},4687:function(e,t){"use strict";function r(a){if(typeof a=="object"){if("buttons"in a)return a.buttons;if("which"in a){var s=a.which;if(s===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1<0){if(le=1,G[J++]=p(v[P],w,M,E),P+=U,m>0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,Q=2;Q0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,O,N,ce,Ue,w,M,E)),J+=1,P+=U,Q=2;Q0){if(Q=1,G[J++]=p(v[P],w,M,E),P+=U,b>0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,le=2;le0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,N,F,Ue,ce,w,M,E)),J+=1,P+=U,le=2;le 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var T=s.getters||[],l=new Array(p),_=0;_=0?l[_]=!0:l[_]=!1;return i(s.vertex,s.cell,s.phase,d,h,l)}},6199:function(e,t,r){"use strict";var o=r(1338),n={zero:function(E,m,b,v){var u=E[0],y=b[0];v|=0;var f=0,P=y;for(f=0;f2&&f[1]>2&&v(y.pick(-1,-1).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,0).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,1).lo(1,1).hi(f[0]-2,f[1]-2)),f[1]>2&&(b(y.pick(0,-1).lo(1).hi(f[1]-2),u.pick(0,-1,1).lo(1).hi(f[1]-2)),m(u.pick(0,-1,0).lo(1).hi(f[1]-2))),f[1]>2&&(b(y.pick(f[0]-1,-1).lo(1).hi(f[1]-2),u.pick(f[0]-1,-1,1).lo(1).hi(f[1]-2)),m(u.pick(f[0]-1,-1,0).lo(1).hi(f[1]-2))),f[0]>2&&(b(y.pick(-1,0).lo(1).hi(f[0]-2),u.pick(-1,0,0).lo(1).hi(f[0]-2)),m(u.pick(-1,0,1).lo(1).hi(f[0]-2))),f[0]>2&&(b(y.pick(-1,f[1]-1).lo(1).hi(f[0]-2),u.pick(-1,f[1]-1,0).lo(1).hi(f[0]-2)),m(u.pick(-1,f[1]-1,1).lo(1).hi(f[0]-2))),u.set(0,0,0,0),u.set(0,0,1,0),u.set(f[0]-1,0,0,0),u.set(f[0]-1,0,1,0),u.set(0,f[1]-1,0,0),u.set(0,f[1]-1,1,0),u.set(f[0]-1,f[1]-1,0,0),u.set(f[0]-1,f[1]-1,1,0),u}}function M(E){var m=E.join(),f=p[m];if(f)return f;for(var b=E.length,v=[T,l],u=1;u<=b;++u)v.push(_(u));var y=w,f=y.apply(void 0,v);return p[m]=f,f}e.exports=function(m,b,v){if(Array.isArray(v)||(typeof v=="string"?v=o(b.dimension,v):v=o(b.dimension,"clamp")),b.size===0)return m;if(b.dimension===0)return m.set(0),m;var u=M(v);return u(m,b)}},4317:function(e){"use strict";function t(a,s){var c=Math.floor(s),h=s-c,p=0<=c&&c0;){O<64?(m=O,O=0):(m=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(b=I,I=0):(b=64,I-=64),l=F+O*u+I*y,M=B+O*P+I*L;var N=0,U=0,W=0,Q=f,le=u-v*f,se=y-m*u,fe=z,G=P-v*z,$=L-m*P;for(W=0;W0;){L<64?(m=L,L=0):(m=64,L-=64);for(var z=p[0]|0;z>0;){z<64?(E=z,z=0):(E=64,z-=64),l=f+L*v+z*b,M=P+L*y+z*u;var F=0,B=0,O=v,I=b-m*v,N=y,U=u-m*y;for(B=0;B0;){B<64?(b=B,B=0):(b=64,B-=64);for(var O=p[0]|0;O>0;){O<64?(E=O,O=0):(E=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(m=I,I=0):(m=64,I-=64),l=z+B*y+O*v+I*u,M=F+B*L+O*f+I*P;var N=0,U=0,W=0,Q=y,le=v-b*y,se=u-E*v,fe=L,G=f-b*L,$=P-E*f;for(W=0;W_;){N=0,U=F-m;t:for(O=0;OQ)break t;U+=f,N+=P}for(N=F,U=F-m,O=0;O>1,I=O-z,N=O+z,U=F,W=I,Q=O,le=N,se=B,fe=w+1,G=M-1,$=!0,J,X,re,ae,j,ee,ie,ce,xe,Te=0,Ue=0,Ie=0,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt,qt,fr=y,ar=T(fr),Rr=T(fr);it=b*U,at=b*W,qt=m;e:for(Ye=0;Ye0){X=U,U=W,W=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=U,U=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*le,qt=m;e:for(Ye=0;Ye0){X=U,U=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*Q,at=b*le,qt=m;e:for(Ye=0;Ye0){X=Q,Q=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*se,qt=m;e:for(Ye=0;Ye0){X=W,W=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}for(it=b*U,at=b*W,tt=b*Q,ut=b*le,Me=b*se,pe=b*F,ue=b*O,Oe=b*B,Bt=0,qt=m,Ye=0;Ye0)G--;else if(Ie<0){for(it=b*ee,at=b*fe,tt=b*G,qt=m,Ye=0;Ye0)for(;;){ie=m+G*b,Bt=0;e:for(Ye=0;Ye0){if(--GB){e:for(;;){for(ie=m+fe*b,Bt=0,qt=m,Ye=0;Ye1&&_?M(l,_[0],_[1]):M(l)}var h={"uint32,1,0":function(d,T){return function(l){var _=l.data,w=l.offset|0,M=l.shape,E=l.stride,m=E[0]|0,b=M[0]|0,v=E[1]|0,u=M[1]|0,y=v,f=v,P=1;b<=32?d(0,b-1,_,w,m,v,b,u,y,f,P):T(0,b-1,_,w,m,v,b,u,y,f,P)}}};function p(d,T){var l=[T,d].join(","),_=h[l],w=a(d,T),M=c(d,T,w);return _(w,M)}e.exports=p},446:function(e,t,r){"use strict";var o=r(7640),n={};function i(a){var s=a.order,c=a.dtype,h=[s,c],p=h.join(":"),d=n[p];return d||(n[p]=d=o(s,c)),d(a),a}e.exports=i},9618:function(e,t,r){var o=r(7163),n=typeof Float64Array<"u";function i(T,l){return T[0]-l[0]}function a(){var T=this.stride,l=new Array(T.length),_;for(_=0;_=0&&(v=m|0,b+=y*v,u-=v),new w(this.data,u,y,b)},M.step=function(m){var b=this.shape[0],v=this.stride[0],u=this.offset,y=0,f=Math.ceil;return typeof m=="number"&&(y=m|0,y<0?(u+=v*(b-1),b=f(-b/y)):b=f(b/y),v*=y),new w(this.data,b,v,u)},M.transpose=function(m){m=m===void 0?0:m|0;var b=this.shape,v=this.stride;return new w(this.data,b[m],v[m],this.offset)},M.pick=function(m){var b=[],v=[],u=this.offset;typeof m=="number"&&m>=0?u=u+this.stride[0]*m|0:(b.push(this.shape[0]),v.push(this.stride[0]));var y=l[b.length+1];return y(this.data,b,v,u)},function(m,b,v,u){return new w(m,b[0],v[0],u)}},2:function(T,l,_){function w(E,m,b,v,u,y){this.data=E,this.shape=[m,b],this.stride=[v,u],this.offset=y|0}var M=w.prototype;return M.dtype=T,M.dimension=2,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(M,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),M.set=function(m,b,v){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b,v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]=v},M.get=function(m,b){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]},M.index=function(m,b){return this.offset+this.stride[0]*m+this.stride[1]*b},M.hi=function(m,b){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,this.stride[0],this.stride[1],this.offset)},M.lo=function(m,b){var v=this.offset,u=0,y=this.shape[0],f=this.shape[1],P=this.stride[0],L=this.stride[1];return typeof m=="number"&&m>=0&&(u=m|0,v+=P*u,y-=u),typeof b=="number"&&b>=0&&(u=b|0,v+=L*u,f-=u),new w(this.data,y,f,P,L,v)},M.step=function(m,b){var v=this.shape[0],u=this.shape[1],y=this.stride[0],f=this.stride[1],P=this.offset,L=0,z=Math.ceil;return typeof m=="number"&&(L=m|0,L<0?(P+=y*(v-1),v=z(-v/L)):v=z(v/L),y*=L),typeof b=="number"&&(L=b|0,L<0?(P+=f*(u-1),u=z(-u/L)):u=z(u/L),f*=L),new w(this.data,v,u,y,f,P)},M.transpose=function(m,b){m=m===void 0?0:m|0,b=b===void 0?1:b|0;var v=this.shape,u=this.stride;return new w(this.data,v[m],v[b],u[m],u[b],this.offset)},M.pick=function(m,b){var v=[],u=[],y=this.offset;typeof m=="number"&&m>=0?y=y+this.stride[0]*m|0:(v.push(this.shape[0]),u.push(this.stride[0])),typeof b=="number"&&b>=0?y=y+this.stride[1]*b|0:(v.push(this.shape[1]),u.push(this.stride[1]));var f=l[v.length+1];return f(this.data,v,u,y)},function(m,b,v,u){return new w(m,b[0],b[1],v[0],v[1],u)}},3:function(T,l,_){function w(E,m,b,v,u,y,f,P){this.data=E,this.shape=[m,b,v],this.stride=[u,y,f],this.offset=P|0}var M=w.prototype;return M.dtype=T,M.dimension=3,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(M,"order",{get:function(){var m=Math.abs(this.stride[0]),b=Math.abs(this.stride[1]),v=Math.abs(this.stride[2]);return m>b?b>v?[2,1,0]:m>v?[1,2,0]:[1,0,2]:m>v?[2,0,1]:v>b?[0,1,2]:[0,2,1]}}),M.set=function(m,b,v,u){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v,u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]=u},M.get=function(m,b,v){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]},M.index=function(m,b,v){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v},M.hi=function(m,b,v){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,typeof v!="number"||v<0?this.shape[2]:v|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},M.lo=function(m,b,v){var u=this.offset,y=0,f=this.shape[0],P=this.shape[1],L=this.shape[2],z=this.stride[0],F=this.stride[1],B=this.stride[2];return typeof m=="number"&&m>=0&&(y=m|0,u+=z*y,f-=y),typeof b=="number"&&b>=0&&(y=b|0,u+=F*y,P-=y),typeof v=="number"&&v>=0&&(y=v|0,u+=B*y,L-=y),new w(this.data,f,P,L,z,F,B,u)},M.step=function(m,b,v){var u=this.shape[0],y=this.shape[1],f=this.shape[2],P=this.stride[0],L=this.stride[1],z=this.stride[2],F=this.offset,B=0,O=Math.ceil;return typeof m=="number"&&(B=m|0,B<0?(F+=P*(u-1),u=O(-u/B)):u=O(u/B),P*=B),typeof b=="number"&&(B=b|0,B<0?(F+=L*(y-1),y=O(-y/B)):y=O(y/B),L*=B),typeof v=="number"&&(B=v|0,B<0?(F+=z*(f-1),f=O(-f/B)):f=O(f/B),z*=B),new w(this.data,u,y,f,P,L,z,F)},M.transpose=function(m,b,v){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0;var u=this.shape,y=this.stride;return new w(this.data,u[m],u[b],u[v],y[m],y[b],y[v],this.offset)},M.pick=function(m,b,v){var u=[],y=[],f=this.offset;typeof m=="number"&&m>=0?f=f+this.stride[0]*m|0:(u.push(this.shape[0]),y.push(this.stride[0])),typeof b=="number"&&b>=0?f=f+this.stride[1]*b|0:(u.push(this.shape[1]),y.push(this.stride[1])),typeof v=="number"&&v>=0?f=f+this.stride[2]*v|0:(u.push(this.shape[2]),y.push(this.stride[2]));var P=l[u.length+1];return P(this.data,u,y,f)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],v[0],v[1],v[2],u)}},4:function(T,l,_){function w(E,m,b,v,u,y,f,P,L,z){this.data=E,this.shape=[m,b,v,u],this.stride=[y,f,P,L],this.offset=z|0}var M=w.prototype;return M.dtype=T,M.dimension=4,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(M,"order",{get:_}),M.set=function(m,b,v,u,y){return T==="generic"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u,y):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]=y},M.get=function(m,b,v,u){return T==="generic"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]},M.index=function(m,b,v,u){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u},M.hi=function(m,b,v,u){return new w(this.data,typeof m!="number"||m<0?this.shape[0]:m|0,typeof b!="number"||b<0?this.shape[1]:b|0,typeof v!="number"||v<0?this.shape[2]:v|0,typeof u!="number"||u<0?this.shape[3]:u|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},M.lo=function(m,b,v,u){var y=this.offset,f=0,P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.stride[0],O=this.stride[1],I=this.stride[2],N=this.stride[3];return typeof m=="number"&&m>=0&&(f=m|0,y+=B*f,P-=f),typeof b=="number"&&b>=0&&(f=b|0,y+=O*f,L-=f),typeof v=="number"&&v>=0&&(f=v|0,y+=I*f,z-=f),typeof u=="number"&&u>=0&&(f=u|0,y+=N*f,F-=f),new w(this.data,P,L,z,F,B,O,I,N,y)},M.step=function(m,b,v,u){var y=this.shape[0],f=this.shape[1],P=this.shape[2],L=this.shape[3],z=this.stride[0],F=this.stride[1],B=this.stride[2],O=this.stride[3],I=this.offset,N=0,U=Math.ceil;return typeof m=="number"&&(N=m|0,N<0?(I+=z*(y-1),y=U(-y/N)):y=U(y/N),z*=N),typeof b=="number"&&(N=b|0,N<0?(I+=F*(f-1),f=U(-f/N)):f=U(f/N),F*=N),typeof v=="number"&&(N=v|0,N<0?(I+=B*(P-1),P=U(-P/N)):P=U(P/N),B*=N),typeof u=="number"&&(N=u|0,N<0?(I+=O*(L-1),L=U(-L/N)):L=U(L/N),O*=N),new w(this.data,y,f,P,L,z,F,B,O,I)},M.transpose=function(m,b,v,u){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0,u=u===void 0?3:u|0;var y=this.shape,f=this.stride;return new w(this.data,y[m],y[b],y[v],y[u],f[m],f[b],f[v],f[u],this.offset)},M.pick=function(m,b,v,u){var y=[],f=[],P=this.offset;typeof m=="number"&&m>=0?P=P+this.stride[0]*m|0:(y.push(this.shape[0]),f.push(this.stride[0])),typeof b=="number"&&b>=0?P=P+this.stride[1]*b|0:(y.push(this.shape[1]),f.push(this.stride[1])),typeof v=="number"&&v>=0?P=P+this.stride[2]*v|0:(y.push(this.shape[2]),f.push(this.stride[2])),typeof u=="number"&&u>=0?P=P+this.stride[3]*u|0:(y.push(this.shape[3]),f.push(this.stride[3]));var L=l[y.length+1];return L(this.data,y,f,P)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],b[3],v[0],v[1],v[2],v[3],u)}},5:function(l,_,w){function M(m,b,v,u,y,f,P,L,z,F,B,O){this.data=m,this.shape=[b,v,u,y,f],this.stride=[P,L,z,F,B],this.offset=O|0}var E=M.prototype;return E.dtype=l,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(b,v,u,y,f,P){return l==="generic"?this.data.set(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f,P):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]=P},E.get=function(b,v,u,y,f){return l==="generic"?this.data.get(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]},E.index=function(b,v,u,y,f){return this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f},E.hi=function(b,v,u,y,f){return new M(this.data,typeof b!="number"||b<0?this.shape[0]:b|0,typeof v!="number"||v<0?this.shape[1]:v|0,typeof u!="number"||u<0?this.shape[2]:u|0,typeof y!="number"||y<0?this.shape[3]:y|0,typeof f!="number"||f<0?this.shape[4]:f|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(b,v,u,y,f){var P=this.offset,L=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],O=this.shape[3],I=this.shape[4],N=this.stride[0],U=this.stride[1],W=this.stride[2],Q=this.stride[3],le=this.stride[4];return typeof b=="number"&&b>=0&&(L=b|0,P+=N*L,z-=L),typeof v=="number"&&v>=0&&(L=v|0,P+=U*L,F-=L),typeof u=="number"&&u>=0&&(L=u|0,P+=W*L,B-=L),typeof y=="number"&&y>=0&&(L=y|0,P+=Q*L,O-=L),typeof f=="number"&&f>=0&&(L=f|0,P+=le*L,I-=L),new M(this.data,z,F,B,O,I,N,U,W,Q,le,P)},E.step=function(b,v,u,y,f){var P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],O=this.stride[0],I=this.stride[1],N=this.stride[2],U=this.stride[3],W=this.stride[4],Q=this.offset,le=0,se=Math.ceil;return typeof b=="number"&&(le=b|0,le<0?(Q+=O*(P-1),P=se(-P/le)):P=se(P/le),O*=le),typeof v=="number"&&(le=v|0,le<0?(Q+=I*(L-1),L=se(-L/le)):L=se(L/le),I*=le),typeof u=="number"&&(le=u|0,le<0?(Q+=N*(z-1),z=se(-z/le)):z=se(z/le),N*=le),typeof y=="number"&&(le=y|0,le<0?(Q+=U*(F-1),F=se(-F/le)):F=se(F/le),U*=le),typeof f=="number"&&(le=f|0,le<0?(Q+=W*(B-1),B=se(-B/le)):B=se(B/le),W*=le),new M(this.data,P,L,z,F,B,O,I,N,U,W,Q)},E.transpose=function(b,v,u,y,f){b=b===void 0?0:b|0,v=v===void 0?1:v|0,u=u===void 0?2:u|0,y=y===void 0?3:y|0,f=f===void 0?4:f|0;var P=this.shape,L=this.stride;return new M(this.data,P[b],P[v],P[u],P[y],P[f],L[b],L[v],L[u],L[y],L[f],this.offset)},E.pick=function(b,v,u,y,f){var P=[],L=[],z=this.offset;typeof b=="number"&&b>=0?z=z+this.stride[0]*b|0:(P.push(this.shape[0]),L.push(this.stride[0])),typeof v=="number"&&v>=0?z=z+this.stride[1]*v|0:(P.push(this.shape[1]),L.push(this.stride[1])),typeof u=="number"&&u>=0?z=z+this.stride[2]*u|0:(P.push(this.shape[2]),L.push(this.stride[2])),typeof y=="number"&&y>=0?z=z+this.stride[3]*y|0:(P.push(this.shape[3]),L.push(this.stride[3])),typeof f=="number"&&f>=0?z=z+this.stride[4]*f|0:(P.push(this.shape[4]),L.push(this.stride[4]));var F=_[P.length+1];return F(this.data,P,L,z)},function(b,v,u,y){return new M(b,v[0],v[1],v[2],v[3],v[4],u[0],u[1],u[2],u[3],u[4],y)}}};function c(T,l){var _=l===-1?"T":String(l),w=s[_];return l===-1?w(T):l===0?w(T,p[T][0]):w(T,p[T],a)}function h(T){if(o(T))return"buffer";if(n)switch(Object.prototype.toString.call(T)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(T)?"array":"generic"}var p={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function d(T,l,_,w){if(T===void 0){var u=p.array[0];return u([])}else typeof T=="number"&&(T=[T]);l===void 0&&(l=[T.length]);var M=l.length;if(_===void 0){_=new Array(M);for(var E=M-1,m=1;E>=0;--E)_[E]=m,m*=l[E]}if(w===void 0){w=0;for(var E=0;E>>0;e.exports=a;function a(s,c){if(isNaN(s)||isNaN(c))return NaN;if(s===c)return s;if(s===0)return c<0?-n:n;var h=o.hi(s),p=o.lo(s);return c>s==s>0?p===i?(h+=1,p=0):p+=1:p===0?(p=i,h-=1):p-=1,o.pack(p,h)}},8406:function(e,t){var r=1e-6,o=1e-6;t.vertexNormals=function(n,i,a){for(var s=i.length,c=new Array(s),h=a===void 0?r:a,p=0;ph)for(var P=c[l],L=1/Math.sqrt(v*y),f=0;f<3;++f){var z=(f+1)%3,F=(f+2)%3;P[f]+=L*(u[z]*b[F]-u[F]*b[z])}}for(var p=0;ph)for(var L=1/Math.sqrt(B),f=0;f<3;++f)P[f]*=L;else for(var f=0;f<3;++f)P[f]=0}return c},t.faceNormals=function(n,i,a){for(var s=n.length,c=new Array(s),h=a===void 0?o:a,p=0;ph?E=1/Math.sqrt(E):E=0;for(var l=0;l<3;++l)M[l]*=E;c[p]=M}return c}},4081:function(e){"use strict";e.exports=t;function t(r,o,n,i,a,s,c,h,p,d){var T=o+s+d;if(l>0){var l=Math.sqrt(T+1);r[0]=.5*(c-p)/l,r[1]=.5*(h-i)/l,r[2]=.5*(n-s)/l,r[3]=.5*l}else{var _=Math.max(o,s,d),l=Math.sqrt(2*_-T+1);o>=_?(r[0]=.5*l,r[1]=.5*(a+n)/l,r[2]=.5*(h+i)/l,r[3]=.5*(c-p)/l):s>=_?(r[0]=.5*(n+a)/l,r[1]=.5*l,r[2]=.5*(p+c)/l,r[3]=.5*(h-i)/l):(r[0]=.5*(i+h)/l,r[1]=.5*(c+p)/l,r[2]=.5*l,r[3]=.5*(n-a)/l)}return r}},9977:function(e,t,r){"use strict";e.exports=l;var o=r(9215),n=r(6582),i=r(7399),a=r(7608),s=r(4081);function c(_,w,M){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2))}function h(_,w,M,E){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2)+Math.pow(E,2))}function p(_,w){var M=w[0],E=w[1],m=w[2],b=w[3],v=h(M,E,m,b);v>1e-6?(_[0]=M/v,_[1]=E/v,_[2]=m/v,_[3]=b/v):(_[0]=_[1]=_[2]=0,_[3]=1)}function d(_,w,M){this.radius=o([M]),this.center=o(w),this.rotation=o(_),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var T=d.prototype;T.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},T.recalcMatrix=function(_){this.radius.curve(_),this.center.curve(_),this.rotation.curve(_);var w=this.computedRotation;p(w,w);var M=this.computedMatrix;i(M,w);var E=this.computedCenter,m=this.computedEye,b=this.computedUp,v=Math.exp(this.computedRadius[0]);m[0]=E[0]+v*M[2],m[1]=E[1]+v*M[6],m[2]=E[2]+v*M[10],b[0]=M[1],b[1]=M[5],b[2]=M[9];for(var u=0;u<3;++u){for(var y=0,f=0;f<3;++f)y+=M[u+4*f]*m[f];M[12+u]=-y}},T.getMatrix=function(_,w){this.recalcMatrix(_);var M=this.computedMatrix;if(w){for(var E=0;E<16;++E)w[E]=M[E];return w}return M},T.idle=function(_){this.center.idle(_),this.radius.idle(_),this.rotation.idle(_)},T.flush=function(_){this.center.flush(_),this.radius.flush(_),this.rotation.flush(_)},T.pan=function(_,w,M,E){w=w||0,M=M||0,E=E||0,this.recalcMatrix(_);var m=this.computedMatrix,b=m[1],v=m[5],u=m[9],y=c(b,v,u);b/=y,v/=y,u/=y;var f=m[0],P=m[4],L=m[8],z=f*b+P*v+L*u;f-=b*z,P-=v*z,L-=u*z;var F=c(f,P,L);f/=F,P/=F,L/=F;var B=m[2],O=m[6],I=m[10],N=B*b+O*v+I*u,U=B*f+O*P+I*L;B-=N*b+U*f,O-=N*v+U*P,I-=N*u+U*L;var W=c(B,O,I);B/=W,O/=W,I/=W;var Q=f*w+b*M,le=P*w+v*M,se=L*w+u*M;this.center.move(_,Q,le,se);var fe=Math.exp(this.computedRadius[0]);fe=Math.max(1e-4,fe+E),this.radius.set(_,Math.log(fe))},T.rotate=function(_,w,M,E){this.recalcMatrix(_),w=w||0,M=M||0;var m=this.computedMatrix,b=m[0],v=m[4],u=m[8],y=m[1],f=m[5],P=m[9],L=m[2],z=m[6],F=m[10],B=w*b+M*y,O=w*v+M*f,I=w*u+M*P,N=-(z*I-F*O),U=-(F*B-L*I),W=-(L*O-z*B),Q=Math.sqrt(Math.max(0,1-Math.pow(N,2)-Math.pow(U,2)-Math.pow(W,2))),le=h(N,U,W,Q);le>1e-6?(N/=le,U/=le,W/=le,Q/=le):(N=U=W=0,Q=1);var se=this.computedRotation,fe=se[0],G=se[1],$=se[2],J=se[3],X=fe*Q+J*N+G*W-$*U,re=G*Q+J*U+$*N-fe*W,ae=$*Q+J*W+fe*U-G*N,j=J*Q-fe*N-G*U-$*W;if(E){N=L,U=z,W=F;var ee=Math.sin(E)/c(N,U,W);N*=ee,U*=ee,W*=ee,Q=Math.cos(w),X=X*Q+j*N+re*W-ae*U,re=re*Q+j*U+ae*N-X*W,ae=ae*Q+j*W+X*U-re*N,j=j*Q-X*N-re*U-ae*W}var ie=h(X,re,ae,j);ie>1e-6?(X/=ie,re/=ie,ae/=ie,j/=ie):(X=re=ae=0,j=1),this.rotation.set(_,X,re,ae,j)},T.lookAt=function(_,w,M,E){this.recalcMatrix(_),M=M||this.computedCenter,w=w||this.computedEye,E=E||this.computedUp;var m=this.computedMatrix;n(m,w,M,E);var b=this.computedRotation;s(b,m[0],m[1],m[2],m[4],m[5],m[6],m[8],m[9],m[10]),p(b,b),this.rotation.set(_,b[0],b[1],b[2],b[3]);for(var v=0,u=0;u<3;++u)v+=Math.pow(M[u]-w[u],2);this.radius.set(_,.5*Math.log(Math.max(v,1e-6))),this.center.set(_,M[0],M[1],M[2])},T.translate=function(_,w,M,E){this.center.move(_,w||0,M||0,E||0)},T.setMatrix=function(_,w){var M=this.computedRotation;s(M,w[0],w[1],w[2],w[4],w[5],w[6],w[8],w[9],w[10]),p(M,M),this.rotation.set(_,M[0],M[1],M[2],M[3]);var E=this.computedMatrix;a(E,w);var m=E[15];if(Math.abs(m)>1e-6){var b=E[12]/m,v=E[13]/m,u=E[14]/m;this.recalcMatrix(_);var y=Math.exp(this.computedRadius[0]);this.center.set(_,b-E[2]*y,v-E[6]*y,u-E[10]*y),this.radius.idle(_)}else this.center.idle(_),this.radius.idle(_)},T.setDistance=function(_,w){w>0&&this.radius.set(_,Math.log(w))},T.setDistanceLimits=function(_,w){_>0?_=Math.log(_):_=-1/0,w>0?w=Math.log(w):w=1/0,w=Math.max(w,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=w},T.getDistanceLimits=function(_){var w=this.radius.bounds;return _?(_[0]=Math.exp(w[0][0]),_[1]=Math.exp(w[1][0]),_):[Math.exp(w[0][0]),Math.exp(w[1][0])]},T.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},T.fromJSON=function(_){var w=this.lastT(),M=_.center;M&&this.center.set(w,M[0],M[1],M[2]);var E=_.rotation;E&&this.rotation.set(w,E[0],E[1],E[2],E[3]);var m=_.distance;m&&m>0&&this.radius.set(w,Math.log(m)),this.setDistanceLimits(_.zoomMin,_.zoomMax)};function l(_){_=_||{};var w=_.center||[0,0,0],M=_.rotation||[0,0,0,1],E=_.radius||1;w=[].slice.call(w,0,3),M=[].slice.call(M,0,4),p(M,M);var m=new d(M,w,Math.log(E));return m.setDistanceLimits(_.zoomMin,_.zoomMax),("eye"in _||"up"in _)&&m.lookAt(0,_.eye,_.center,_.up),m}},1371:function(e,t,r){"use strict";var o=r(3233);e.exports=function(i,a,s){return s=typeof s<"u"?s+"":" ",o(s,a)+i}},3202:function(e){e.exports=function(r,o){o||(o=[0,""]),r=String(r);var n=parseFloat(r,10);return o[0]=n,o[1]=r.match(/[\d.\-\+]*\s*(.*)/)[1]||"",o}},3088:function(e,t,r){"use strict";e.exports=n;var o=r(3140);function n(i,a){for(var s=a.length|0,c=i.length,h=[new Array(s),new Array(s)],p=0;p0){P=h[F][y][0],z=F;break}L=P[z^1];for(var B=0;B<2;++B)for(var O=h[B][y],I=0;I0&&(P=N,L=U,z=B)}return f||P&&l(P,z),L}function w(u,y){var f=h[y][u][0],P=[u];l(f,y);for(var L=f[y^1],z=y;;){for(;L!==u;)P.push(L),L=_(P[P.length-2],L,!1);if(h[0][u].length+h[1][u].length===0)break;var F=P[P.length-1],B=u,O=P[1],I=_(F,B,!0);if(o(a[F],a[B],a[O],a[I])<0)break;P.push(u),L=_(F,B)}return P}function M(u,y){return y[1]===y[y.length-1]}for(var p=0;p0;){var b=h[0][p].length,v=w(p,E);M(m,v)?m.push.apply(m,v):(m.length>0&&T.push(m),m=v)}m.length>0&&T.push(m)}return T}},5609:function(e,t,r){"use strict";e.exports=n;var o=r(3134);function n(i,a){for(var s=o(i,a.length),c=new Array(a.length),h=new Array(a.length),p=[],d=0;d0;){var l=p.pop();c[l]=!1;for(var _=s[l],d=0;d<_.length;++d){var w=_[d];--h[w]===0&&p.push(w)}}for(var M=new Array(a.length),E=[],d=0;d0}b=b.filter(v);for(var u=b.length,y=new Array(u),f=new Array(u),m=0;m0;){var ie=ae.pop(),ce=le[ie];c(ce,function(Ye,it){return Ye-it});var xe=ce.length,Te=j[ie],Ue;if(Te===0){var O=b[ie];Ue=[O]}for(var m=0;m=0)&&(j[Ie]=Te^1,ae.push(Ie),Te===0)){var O=b[Ie];re(O)||(O.reverse(),Ue.push(O))}}Te===0&&ee.push(Ue)}return ee}},5085:function(e,t,r){e.exports=_;var o=r(3250)[3],n=r(4209),i=r(3352),a=r(2478);function s(){return!0}function c(w){return function(M,E){var m=w[M];return m?!!m.queryPoint(E,s):!1}}function h(w){for(var M={},E=0;E0&&M[m]===E[0])b=w[m-1];else return 1;for(var v=1;b;){var u=b.key,y=o(E,u[0],u[1]);if(u[0][0]0)v=-1,b=b.right;else return 0;else if(y>0)b=b.left;else if(y<0)v=1,b=b.right;else return 0}return v}}function d(w){return 1}function T(w){return function(E){return w(E[0],E[1])?0:1}}function l(w,M){return function(m){return w(m[0],m[1])?0:M(m)}}function _(w){for(var M=w.length,E=[],m=[],b=0,v=0;v=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M)):(u=0,w>=0?(y=0,f=M):-w>=l?(y=1,f=l+2*w+M):(y=-w/l,f=w*y+M));else if(y<0)y=0,_>=0?(u=0,f=M):-_>=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M);else{var P=1/v;u*=P,y*=P,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M}else{var L,z,F,B;u<0?(L=T+_,z=l+w,z>L?(F=z-L,B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(u=0,z<=0?(y=1,f=l+2*w+M):w>=0?(y=0,f=M):(y=-w/l,f=w*y+M))):y<0?(L=T+w,z=d+_,z>L?(F=z-L,B=d-2*T+l,F>=B?(y=1,u=0,f=l+2*w+M):(y=F/B,u=1-y,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(y=0,z<=0?(u=1,f=d+2*_+M):_>=0?(u=0,f=M):(u=-_/d,f=_*u+M))):(F=l+w-T-_,F<=0?(u=0,y=1,f=l+2*w+M):(B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)))}for(var O=1-u-y,p=0;p0){var l=s[h-1];if(o(d,l)===0&&i(l)!==T){h-=1;continue}}s[h++]=d}}return s.length=h,s}},3233:function(e){"use strict";var t="",r;e.exports=o;function o(n,i){if(typeof n!="string")throw new TypeError("expected a string");if(i===1)return n;if(i===2)return n+n;var a=n.length*i;if(r!==n||typeof r>"u")r=n,t="";else if(t.length>=a)return t.substr(0,a);for(;a>t.length&&i>1;)i&1&&(t+=n),i>>=1,n+=n;return t+=n,t=t.substr(0,a),t}},3025:function(e,t,r){e.exports=r.g.performance&&r.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},7004:function(e){"use strict";e.exports=t;function t(r){for(var o=r.length,n=r[r.length-1],i=o,a=o-2;a>=0;--a){var s=n,c=r[a];n=s+c;var h=n-s,p=c-h;p&&(r[--i]=n,n=p)}for(var d=0,a=i;a0){if(z<=0)return F;B=L+z}else if(L<0){if(z>=0)return F;B=-(L+z)}else return F;var O=h*B;return F>=O||F<=-O?F:w(y,f,P)},function(y,f,P,L){var z=y[0]-L[0],F=f[0]-L[0],B=P[0]-L[0],O=y[1]-L[1],I=f[1]-L[1],N=P[1]-L[1],U=y[2]-L[2],W=f[2]-L[2],Q=P[2]-L[2],le=F*N,se=B*I,fe=B*O,G=z*N,$=z*I,J=F*O,X=U*(le-se)+W*(fe-G)+Q*($-J),re=(Math.abs(le)+Math.abs(se))*Math.abs(U)+(Math.abs(fe)+Math.abs(G))*Math.abs(W)+(Math.abs($)+Math.abs(J))*Math.abs(Q),ae=p*re;return X>ae||-X>ae?X:M(y,f,P,L)}];function m(u){var y=E[u.length];return y||(y=E[u.length]=_(u.length)),y.apply(void 0,u)}function b(u,y,f,P,L,z,F){return function(O,I,N,U,W){switch(arguments.length){case 0:case 1:return 0;case 2:return P(O,I);case 3:return L(O,I,N);case 4:return z(O,I,N,U);case 5:return F(O,I,N,U,W)}for(var Q=new Array(arguments.length),le=0;le0&&d>0||p<0&&d<0)return!1;var T=o(c,a,s),l=o(h,a,s);return T>0&&l>0||T<0&&l<0?!1:p===0&&d===0&&T===0&&l===0?n(a,s,c,h):!0}},8545:function(e){"use strict";e.exports=r;function t(o,n){var i=o+n,a=i-o,s=i-a,c=n-a,h=o-s,p=h+c;return p?[p,i]:[i]}function r(o,n){var i=o.length|0,a=n.length|0;if(i===1&&a===1)return t(o[0],-n[0]);var s=i+a,c=new Array(s),h=0,p=0,d=0,T=Math.abs,l=o[p],_=T(l),w=-n[d],M=T(w),E,m;_=a?(E=l,p+=1,p=a?(E=l,p+=1,p"u"&&(E=s(_));var m=_.length;if(m===0||E<1)return{cells:[],vertexIds:[],vertexWeights:[]};var b=c(w,+M),v=h(_,E),u=p(v,w,b,+M),y=d(v,w.length|0),f=a(E)(_,v.data,y,b),P=T(v),L=[].slice.call(u.data,0,u.shape[0]);return n.free(b),n.free(v.data),n.free(u.data),n.free(y),{cells:f,vertexIds:P,vertexWeights:L}}},1570:function(e){"use strict";e.exports=r;var t=[function(){function n(a,s,c,h){for(var p=Math.min(c,h)|0,d=Math.max(c,h)|0,T=a[2*p],l=a[2*p+1];T>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,B=h(y[F],f);B<=0?(B===0&&(z=F),P=F+1):B>0&&(L=F-1)}return z}o=l;function _(y,f){for(var P=new Array(y.length),L=0,z=P.length;L=y.length||h(y[le],F)!==0););}return P}o=_;function w(y,f){if(!f)return _(T(E(y,0)),y,0);for(var P=new Array(f),L=0;L>>N&1&&I.push(z[N]);f.push(I)}return d(f)}o=M;function E(y,f){if(f<0)return[];for(var P=[],L=(1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},2014:function(e,t,r){"use strict";"use restrict";var o=r(3105),n=r(4623);function i(u){for(var y=0,f=Math.max,P=0,L=u.length;P>1,F=c(u[z],y);F<=0?(F===0&&(L=z),f=z+1):F>0&&(P=z-1)}return L}t.findCell=T;function l(u,y){for(var f=new Array(u.length),P=0,L=f.length;P=u.length||c(u[Q],z)!==0););}return f}t.incidence=l;function _(u,y){if(!y)return l(d(M(u,0)),u,0);for(var f=new Array(y),P=0;P>>I&1&&O.push(L[I]);y.push(O)}return p(y)}t.explode=w;function M(u,y){if(y<0)return[];for(var f=[],P=(1<>1:(G>>1)-1}function P(G){for(var $=y(G);;){var J=$,X=2*G+1,re=2*(G+1),ae=G;if(X0;){var J=f(G);if(J>=0){var X=y(J);if($0){var G=O[0];return u(0,U-1),U-=1,P(0),G}return-1}function F(G,$){var J=O[G];return _[J]===$?G:(_[J]=-1/0,L(G),z(),_[J]=$,U+=1,L(U-1))}function B(G){if(!w[G]){w[G]=!0;var $=T[G],J=l[G];T[J]>=0&&(T[J]=$),l[$]>=0&&(l[$]=J),I[$]>=0&&F(I[$],v($)),I[J]>=0&&F(I[J],v(J))}}for(var O=[],I=new Array(p),M=0;M>1;M>=0;--M)P(M);for(;;){var W=z();if(W<0||_[W]>h)break;B(W)}for(var Q=[],M=0;M=0&&J>=0&&$!==J){var X=I[$],re=I[J];X!==re&&fe.push([X,re])}}),n.unique(n.normalize(fe)),{positions:Q,edges:fe}}},1303:function(e,t,r){"use strict";e.exports=i;var o=r(3250);function n(a,s){var c,h;if(s[0][0]s[1][0])c=s[1],h=s[0];else{var p=Math.min(a[0][1],a[1][1]),d=Math.max(a[0][1],a[1][1]),T=Math.min(s[0][1],s[1][1]),l=Math.max(s[0][1],s[1][1]);return dl?p-l:d-l}var _,w;a[0][1]s[1][0])c=s[1],h=s[0];else return n(s,a);var p,d;if(a[0][0]a[1][0])p=a[1],d=a[0];else return-n(a,s);var T=o(c,h,d),l=o(c,h,p);if(T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;if(T=o(d,p,h),l=o(d,p,c),T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;return h[0]-d[0]}},4209:function(e,t,r){"use strict";e.exports=l;var o=r(2478),n=r(3840),i=r(3250),a=r(1303);function s(_,w,M){this.slabs=_,this.coordinates=w,this.horizontal=M}var c=s.prototype;function h(_,w){return _.y-w}function p(_,w){for(var M=null;_;){var E=_.key,m,b;E[0][0]0)if(w[0]!==E[1][0])M=_,_=_.right;else{var u=p(_.right,w);if(u)return u;_=_.left}else{if(w[0]!==E[1][0])return _;var u=p(_.right,w);if(u)return u;_=_.left}}return M}c.castUp=function(_){var w=o.le(this.coordinates,_[0]);if(w<0)return-1;var M=this.slabs[w],E=p(this.slabs[w],_),m=-1;if(E&&(m=E.value),this.coordinates[w]===_[0]){var b=null;if(E&&(b=E.key),w>0){var v=p(this.slabs[w-1],_);v&&(b?a(v.key,b)>0&&(b=v.key,m=v.value):(m=v.value,b=v.key))}var u=this.horizontal[w];if(u.length>0){var y=o.ge(u,_[1],h);if(y=u.length)return m;f=u[y]}}if(f.start)if(b){var P=i(b[0],b[1],[_[0],f.y]);b[0][0]>b[1][0]&&(P=-P),P>0&&(m=f.index)}else m=f.index;else f.y!==_[1]&&(m=f.index)}}}return m};function d(_,w,M,E){this.y=_,this.index=w,this.start=M,this.closed=E}function T(_,w,M,E){this.x=_,this.segment=w,this.create=M,this.index=E}function l(_){for(var w=_.length,M=2*w,E=new Array(M),m=0;m1&&(w=1);for(var M=1-w,E=p.length,m=new Array(E),b=0;b0||_>0&&m<0){var b=a(w,m,M,_);T.push(b),l.push(b.slice())}m<0?l.push(M.slice()):m>0?T.push(M.slice()):(T.push(M.slice()),l.push(M.slice())),_=m}return{positive:T,negative:l}}function c(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E>=0&&T.push(w.slice()),l=E}return T}function h(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E<=0&&T.push(w.slice()),l=E}return T}},3387:function(e,t,r){var o;(function(){"use strict";var n={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(p){return s(h(p),arguments)}function a(p,d){return i.apply(null,[p].concat(d||[]))}function s(p,d){var T=1,l=p.length,_,w="",M,E,m,b,v,u,y,f;for(M=0;M=0),m.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,m.width?parseInt(m.width):0);break;case"e":_=m.precision?parseFloat(_).toExponential(m.precision):parseFloat(_).toExponential();break;case"f":_=m.precision?parseFloat(_).toFixed(m.precision):parseFloat(_);break;case"g":_=m.precision?String(Number(_.toPrecision(m.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=m.precision?_.substring(0,m.precision):_;break;case"t":_=String(!!_),_=m.precision?_.substring(0,m.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=m.precision?_.substring(0,m.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=m.precision?_.substring(0,m.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase();break}n.json.test(m.type)?w+=_:(n.number.test(m.type)&&(!y||m.sign)?(f=y?"+":"-",_=_.toString().replace(n.sign,"")):f="",v=m.pad_char?m.pad_char==="0"?"0":m.pad_char.charAt(1):" ",u=m.width-(f+_).length,b=m.width&&u>0?v.repeat(u):"",w+=m.align?f+_+b:v==="0"?f+b+_:b+f+_)}return w}var c=Object.create(null);function h(p){if(c[p])return c[p];for(var d=p,T,l=[],_=0;d;){if((T=n.text.exec(d))!==null)l.push(T[0]);else if((T=n.modulo.exec(d))!==null)l.push("%");else if((T=n.placeholder.exec(d))!==null){if(T[2]){_|=1;var w=[],M=T[2],E=[];if((E=n.key.exec(M))!==null)for(w.push(E[1]);(M=M.substring(E[0].length))!=="";)if((E=n.key_access.exec(M))!==null)w.push(E[1]);else if((E=n.index_access.exec(M))!==null)w.push(E[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");T[2]=w}else _|=2;if(_===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");l.push({placeholder:T[0],param_no:T[1],keys:T[2],sign:T[3],pad_char:T[4],align:T[5],width:T[6],precision:T[7],type:T[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");d=d.substring(T[0].length)}return c[p]=l}t.sprintf=i,t.vsprintf=a,typeof window<"u"&&(window.sprintf=i,window.vsprintf=a,o=function(){return{sprintf:i,vsprintf:a}}.call(t,r,t,e),o!==void 0&&(e.exports=o))})()},3711:function(e,t,r){"use strict";e.exports=h;var o=r(2640),n=r(781),i={"2d":function(p,d,T){var l=p({order:d,scalarArguments:3,getters:T==="generic"?[0]:void 0,phase:function(w,M,E,m){return w>m|0},vertex:function(w,M,E,m,b,v,u,y,f,P,L,z,F){var B=(u<<0)+(y<<1)+(f<<2)+(P<<3)|0;if(!(B===0||B===15))switch(B){case 0:L.push([w-.5,M-.5]);break;case 1:L.push([w-.25-.25*(m+E-2*F)/(E-m),M-.25-.25*(b+E-2*F)/(E-b)]);break;case 2:L.push([w-.75-.25*(-m-E+2*F)/(m-E),M-.25-.25*(v+m-2*F)/(m-v)]);break;case 3:L.push([w-.5,M-.5-.5*(b+E+v+m-4*F)/(E-b+m-v)]);break;case 4:L.push([w-.25-.25*(v+b-2*F)/(b-v),M-.75-.25*(-b-E+2*F)/(b-E)]);break;case 5:L.push([w-.5-.5*(m+E+v+b-4*F)/(E-m+b-v),M-.5]);break;case 6:L.push([w-.5-.25*(-m-E+v+b)/(m-E+b-v),M-.5-.25*(-b-E+v+m)/(b-E+m-v)]);break;case 7:L.push([w-.75-.25*(v+b-2*F)/(b-v),M-.75-.25*(v+m-2*F)/(m-v)]);break;case 8:L.push([w-.75-.25*(-v-b+2*F)/(v-b),M-.75-.25*(-v-m+2*F)/(v-m)]);break;case 9:L.push([w-.5-.25*(m+E+-v-b)/(E-m+v-b),M-.5-.25*(b+E+-v-m)/(E-b+v-m)]);break;case 10:L.push([w-.5-.5*(-m-E+-v-b+4*F)/(m-E+v-b),M-.5]);break;case 11:L.push([w-.25-.25*(-v-b+2*F)/(v-b),M-.75-.25*(b+E-2*F)/(E-b)]);break;case 12:L.push([w-.5,M-.5-.5*(-b-E+-v-m+4*F)/(b-E+v-m)]);break;case 13:L.push([w-.75-.25*(m+E-2*F)/(E-m),M-.25-.25*(-v-m+2*F)/(v-m)]);break;case 14:L.push([w-.25-.25*(-m-E+2*F)/(m-E),M-.25-.25*(-b-E+2*F)/(b-E)]);break;case 15:L.push([w-.5,M-.5]);break}},cell:function(w,M,E,m,b,v,u,y,f){b?y.push([w,M]):y.push([M,w])}});return function(_,w){var M=[],E=[];return l(_,M,E,w),{positions:M,cells:E}}}};function a(p,d){var T=p.length+"d",l=i[T];if(l)return l(o,p,d)}function s(p,d){for(var T=n(p,d),l=T.length,_=new Array(l),w=new Array(l),M=0;MMath.max(m,b)?v[2]=1:m>Math.max(E,b)?v[0]=1:v[1]=1;for(var u=0,y=0,f=0;f<3;++f)u+=M[f]*M[f],y+=v[f]*M[f];for(var f=0;f<3;++f)v[f]-=y/u*M[f];return s(v,v),v}function T(M,E,m,b,v,u,y,f){this.center=o(m),this.up=o(b),this.right=o(v),this.radius=o([u]),this.angle=o([y,f]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(M,E),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var P=0;P<16;++P)this.computedMatrix[P]=.5;this.recalcMatrix(0)}var l=T.prototype;l.setDistanceLimits=function(M,E){M>0?M=Math.log(M):M=-1/0,E>0?E=Math.log(E):E=1/0,E=Math.max(E,M),this.radius.bounds[0][0]=M,this.radius.bounds[1][0]=E},l.getDistanceLimits=function(M){var E=this.radius.bounds[0];return M?(M[0]=Math.exp(E[0][0]),M[1]=Math.exp(E[1][0]),M):[Math.exp(E[0][0]),Math.exp(E[1][0])]},l.recalcMatrix=function(M){this.center.curve(M),this.up.curve(M),this.right.curve(M),this.radius.curve(M),this.angle.curve(M);for(var E=this.computedUp,m=this.computedRight,b=0,v=0,u=0;u<3;++u)v+=E[u]*m[u],b+=E[u]*E[u];for(var y=Math.sqrt(b),f=0,u=0;u<3;++u)m[u]-=E[u]*v/b,f+=m[u]*m[u],E[u]/=y;for(var P=Math.sqrt(f),u=0;u<3;++u)m[u]/=P;var L=this.computedToward;a(L,E,m),s(L,L);for(var z=Math.exp(this.computedRadius[0]),F=this.computedAngle[0],B=this.computedAngle[1],O=Math.cos(F),I=Math.sin(F),N=Math.cos(B),U=Math.sin(B),W=this.computedCenter,Q=O*N,le=I*N,se=U,fe=-O*U,G=-I*U,$=N,J=this.computedEye,X=this.computedMatrix,u=0;u<3;++u){var re=Q*m[u]+le*L[u]+se*E[u];X[4*u+1]=fe*m[u]+G*L[u]+$*E[u],X[4*u+2]=re,X[4*u+3]=0}var ae=X[1],j=X[5],ee=X[9],ie=X[2],ce=X[6],xe=X[10],Te=j*xe-ee*ce,Ue=ee*ie-ae*xe,Ie=ae*ce-j*ie,Ye=h(Te,Ue,Ie);Te/=Ye,Ue/=Ye,Ie/=Ye,X[0]=Te,X[4]=Ue,X[8]=Ie;for(var u=0;u<3;++u)J[u]=W[u]+X[2+4*u]*z;for(var u=0;u<3;++u){for(var f=0,it=0;it<3;++it)f+=X[u+4*it]*J[it];X[12+u]=-f}X[15]=1},l.getMatrix=function(M,E){this.recalcMatrix(M);var m=this.computedMatrix;if(E){for(var b=0;b<16;++b)E[b]=m[b];return E}return m};var _=[0,0,0];l.rotate=function(M,E,m,b){if(this.angle.move(M,E,m),b){this.recalcMatrix(M);var v=this.computedMatrix;_[0]=v[2],_[1]=v[6],_[2]=v[10];for(var u=this.computedUp,y=this.computedRight,f=this.computedToward,P=0;P<3;++P)v[4*P]=u[P],v[4*P+1]=y[P],v[4*P+2]=f[P];i(v,v,b,_);for(var P=0;P<3;++P)u[P]=v[4*P],y[P]=v[4*P+1];this.up.set(M,u[0],u[1],u[2]),this.right.set(M,y[0],y[1],y[2])}},l.pan=function(M,E,m,b){E=E||0,m=m||0,b=b||0,this.recalcMatrix(M);var v=this.computedMatrix,u=Math.exp(this.computedRadius[0]),y=v[1],f=v[5],P=v[9],L=h(y,f,P);y/=L,f/=L,P/=L;var z=v[0],F=v[4],B=v[8],O=z*y+F*f+B*P;z-=y*O,F-=f*O,B-=P*O;var I=h(z,F,B);z/=I,F/=I,B/=I;var N=z*E+y*m,U=F*E+f*m,W=B*E+P*m;this.center.move(M,N,U,W);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+b),this.radius.set(M,Math.log(Q))},l.translate=function(M,E,m,b){this.center.move(M,E||0,m||0,b||0)},l.setMatrix=function(M,E,m,b){var v=1;typeof m=="number"&&(v=m|0),(v<0||v>3)&&(v=1);var u=(v+2)%3,y=(v+1)%3;E||(this.recalcMatrix(M),E=this.computedMatrix);var f=E[v],P=E[v+4],L=E[v+8];if(b){var F=Math.abs(f),B=Math.abs(P),O=Math.abs(L),I=Math.max(F,B,O);F===I?(f=f<0?-1:1,P=L=0):O===I?(L=L<0?-1:1,f=P=0):(P=P<0?-1:1,f=L=0)}else{var z=h(f,P,L);f/=z,P/=z,L/=z}var N=E[u],U=E[u+4],W=E[u+8],Q=N*f+U*P+W*L;N-=f*Q,U-=P*Q,W-=L*Q;var le=h(N,U,W);N/=le,U/=le,W/=le;var se=P*W-L*U,fe=L*N-f*W,G=f*U-P*N,$=h(se,fe,G);se/=$,fe/=$,G/=$,this.center.jump(M,pe,ue,Oe),this.radius.idle(M),this.up.jump(M,f,P,L),this.right.jump(M,N,U,W);var J,X;if(v===2){var re=E[1],ae=E[5],j=E[9],ee=re*N+ae*U+j*W,ie=re*se+ae*fe+j*G;Ue<0?J=-Math.PI/2:J=Math.PI/2,X=Math.atan2(ie,ee)}else{var ce=E[2],xe=E[6],Te=E[10],Ue=ce*f+xe*P+Te*L,Ie=ce*N+xe*U+Te*W,Ye=ce*se+xe*fe+Te*G;J=Math.asin(p(Ue)),X=Math.atan2(Ye,Ie)}this.angle.jump(M,X,J),this.recalcMatrix(M);var it=E[2],at=E[6],tt=E[10],ut=this.computedMatrix;n(ut,E);var Me=ut[15],pe=ut[12]/Me,ue=ut[13]/Me,Oe=ut[14]/Me,rt=Math.exp(this.computedRadius[0]);this.center.jump(M,pe-it*rt,ue-at*rt,Oe-tt*rt)},l.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},l.idle=function(M){this.center.idle(M),this.up.idle(M),this.right.idle(M),this.radius.idle(M),this.angle.idle(M)},l.flush=function(M){this.center.flush(M),this.up.flush(M),this.right.flush(M),this.radius.flush(M),this.angle.flush(M)},l.setDistance=function(M,E){E>0&&this.radius.set(M,Math.log(E))},l.lookAt=function(M,E,m,b){this.recalcMatrix(M),E=E||this.computedEye,m=m||this.computedCenter,b=b||this.computedUp;var v=b[0],u=b[1],y=b[2],f=h(v,u,y);if(!(f<1e-6)){v/=f,u/=f,y/=f;var P=E[0]-m[0],L=E[1]-m[1],z=E[2]-m[2],F=h(P,L,z);if(!(F<1e-6)){P/=F,L/=F,z/=F;var B=this.computedRight,O=B[0],I=B[1],N=B[2],U=v*O+u*I+y*N;O-=U*v,I-=U*u,N-=U*y;var W=h(O,I,N);if(!(W<.01&&(O=u*z-y*L,I=y*P-v*z,N=v*L-u*P,W=h(O,I,N),W<1e-6))){O/=W,I/=W,N/=W,this.up.set(M,v,u,y),this.right.set(M,O,I,N),this.center.set(M,m[0],m[1],m[2]),this.radius.set(M,Math.log(F));var Q=u*N-y*I,le=y*O-v*N,se=v*I-u*O,fe=h(Q,le,se);Q/=fe,le/=fe,se/=fe;var G=v*P+u*L+y*z,$=O*P+I*L+N*z,J=Q*P+le*L+se*z,X=Math.asin(p(G)),re=Math.atan2(J,$),ae=this.angle._state,j=ae[ae.length-1],ee=ae[ae.length-2];j=j%(2*Math.PI);var ie=Math.abs(j+2*Math.PI-re),ce=Math.abs(j-re),xe=Math.abs(j-2*Math.PI-re);ie0?N.pop():new ArrayBuffer(O)}t.mallocArrayBuffer=_;function w(B){return new Uint8Array(_(B),0,B)}t.mallocUint8=w;function M(B){return new Uint16Array(_(2*B),0,B)}t.mallocUint16=M;function E(B){return new Uint32Array(_(4*B),0,B)}t.mallocUint32=E;function m(B){return new Int8Array(_(B),0,B)}t.mallocInt8=m;function b(B){return new Int16Array(_(2*B),0,B)}t.mallocInt16=b;function v(B){return new Int32Array(_(4*B),0,B)}t.mallocInt32=v;function u(B){return new Float32Array(_(4*B),0,B)}t.mallocFloat32=t.mallocFloat=u;function y(B){return new Float64Array(_(8*B),0,B)}t.mallocFloat64=t.mallocDouble=y;function f(B){return a?new Uint8ClampedArray(_(B),0,B):w(B)}t.mallocUint8Clamped=f;function P(B){return s?new BigUint64Array(_(8*B),0,B):null}t.mallocBigUint64=P;function L(B){return c?new BigInt64Array(_(8*B),0,B):null}t.mallocBigInt64=L;function z(B){return new DataView(_(B),0,B)}t.mallocDataView=z;function F(B){B=o.nextPow2(B);var O=o.log2(B),I=d[O];return I.length>0?I.pop():new i(B)}t.mallocBuffer=F,t.clearCache=function(){for(var O=0;O<32;++O)h.UINT8[O].length=0,h.UINT16[O].length=0,h.UINT32[O].length=0,h.INT8[O].length=0,h.INT16[O].length=0,h.INT32[O].length=0,h.FLOAT[O].length=0,h.DOUBLE[O].length=0,h.BIGUINT64[O].length=0,h.BIGINT64[O].length=0,h.UINT8C[O].length=0,p[O].length=0,d[O].length=0}},1755:function(e){"use strict";"use restrict";e.exports=t;function t(o){this.roots=new Array(o),this.ranks=new Array(o);for(var n=0;n",N="",U=I.length,W=N.length,Q=F[0]===_||F[0]===E,le=0,se=-W;le>-1&&(le=B.indexOf(I,le),!(le===-1||(se=B.indexOf(N,le+U),se===-1)||se<=le));){for(var fe=le;fe=se)O[fe]=null,B=B.substr(0,fe)+" "+B.substr(fe+1);else if(O[fe]!==null){var G=O[fe].indexOf(F[0]);G===-1?O[fe]+=F:Q&&(O[fe]=O[fe].substr(0,G+1)+(1+parseInt(O[fe][G+1]))+O[fe].substr(G+2))}var $=le+U,J=B.substr($,se-$),X=J.indexOf(I);X!==-1?le=X:le=se+W}return O}function v(z,F,B){for(var O=F.textAlign||"start",I=F.textBaseline||"alphabetic",N=[1<<30,1<<30],U=[0,0],W=z.length,Q=0;Q/g,` -`):B=B.replace(/\/g," ");var U="",W=[];for(j=0;j-1?parseInt(ue[1+ot]):0,Et=et>-1?parseInt(Oe[1+et]):0;Lt!==Et&&(rt=rt.replace(Ie(),"?px "),ce*=Math.pow(.75,Et-Lt),rt=rt.replace("?px ",Ie())),ie+=.25*G*(Et-Lt)}if(N.superscripts===!0){var Bt=ue.indexOf(_),qt=Oe.indexOf(_),fr=Bt>-1?parseInt(ue[1+Bt]):0,ar=qt>-1?parseInt(Oe[1+qt]):0;fr!==ar&&(rt=rt.replace(Ie(),"?px "),ce*=Math.pow(.75,ar-fr),rt=rt.replace("?px ",Ie())),ie-=.25*G*(ar-fr)}if(N.bolds===!0){var Rr=ue.indexOf(p)>-1,gr=Oe.indexOf(p)>-1;!Rr&&gr&&(br?rt=rt.replace("italic ","italic bold "):rt="bold "+rt),Rr&&!gr&&(rt=rt.replace("bold ",""))}if(N.italics===!0){var br=ue.indexOf(T)>-1,_t=Oe.indexOf(T)>-1;!br&&_t&&(rt="italic "+rt),br&&!_t&&(rt=rt.replace("italic ",""))}F.font=rt}for(ae=0;ae0&&(I=O.size),O.lineSpacing&&O.lineSpacing>0&&(N=O.lineSpacing),O.styletags&&O.styletags.breaklines&&(U.breaklines=!!O.styletags.breaklines),O.styletags&&O.styletags.bolds&&(U.bolds=!!O.styletags.bolds),O.styletags&&O.styletags.italics&&(U.italics=!!O.styletags.italics),O.styletags&&O.styletags.subscripts&&(U.subscripts=!!O.styletags.subscripts),O.styletags&&O.styletags.superscripts&&(U.superscripts=!!O.styletags.superscripts)),B.font=[O.fontStyle,O.fontVariant,O.fontWeight,I+"px",O.font].filter(function(Q){return Q}).join(" "),B.textAlign="start",B.textBaseline="alphabetic",B.direction="ltr";var W=u(F,B,z,I,N,U);return P(W,O,I)}},1538:function(e){(function(){"use strict";if(typeof ses<"u"&&ses.ok&&!ses.ok())return;function r(f){f.permitHostObjects___&&f.permitHostObjects___(r)}typeof ses<"u"&&(ses.weakMapPermitHostObjects=r);var o=!1;if(typeof WeakMap=="function"){var n=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var i=new n,a=Object.freeze({});if(i.set(a,1),i.get(a)!==1)o=!0;else{e.exports=WeakMap;return}}}var s=Object.prototype.hasOwnProperty,c=Object.getOwnPropertyNames,h=Object.defineProperty,p=Object.isExtensible,d="weakmap:",T=d+"ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var l=new ArrayBuffer(25),_=new Uint8Array(l);crypto.getRandomValues(_),T=d+"rand:"+Array.prototype.map.call(_,function(f){return(f%36).toString(36)}).join("")+"___"}function w(f){return!(f.substr(0,d.length)==d&&f.substr(f.length-3)==="___")}if(h(Object,"getOwnPropertyNames",{value:function(P){return c(P).filter(w)}}),"getPropertyNames"in Object){var M=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(P){return M(P).filter(w)}})}function E(f){if(f!==Object(f))throw new TypeError("Not an object: "+f);var P=f[T];if(P&&P.key===f)return P;if(p(f)){P={key:f};try{return h(f,T,{value:P,writable:!1,enumerable:!1,configurable:!1}),P}catch{return}}}(function(){var f=Object.freeze;h(Object,"freeze",{value:function(F){return E(F),f(F)}});var P=Object.seal;h(Object,"seal",{value:function(F){return E(F),P(F)}});var L=Object.preventExtensions;h(Object,"preventExtensions",{value:function(F){return E(F),L(F)}})})();function m(f){return f.prototype=null,Object.freeze(f)}var b=!1;function v(){!b&&typeof console<"u"&&(b=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var u=0,y=function(){this instanceof y||v();var f=[],P=[],L=u++;function z(I,N){var U,W=E(I);return W?L in W?W[L]:N:(U=f.indexOf(I),U>=0?P[U]:N)}function F(I){var N=E(I);return N?L in N:f.indexOf(I)>=0}function B(I,N){var U,W=E(I);return W?W[L]=N:(U=f.indexOf(I),U>=0?P[U]=N:(U=f.length,P[U]=N,f[U]=I)),this}function O(I){var N=E(I),U,W;return N?L in N&&delete N[L]:(U=f.indexOf(I),U<0?!1:(W=f.length-1,f[U]=void 0,P[U]=P[W],f[U]=f[W],f.length=W,P.length=W,!0))}return Object.create(y.prototype,{get___:{value:m(z)},has___:{value:m(F)},set___:{value:m(B)},delete___:{value:m(O)}})};y.prototype=Object.create(Object.prototype,{get:{value:function(P,L){return this.get___(P,L)},writable:!0,configurable:!0},has:{value:function(P){return this.has___(P)},writable:!0,configurable:!0},set:{value:function(P,L){return this.set___(P,L)},writable:!0,configurable:!0},delete:{value:function(P){return this.delete___(P)},writable:!0,configurable:!0}}),typeof n=="function"?function(){o&&typeof Proxy<"u"&&(Proxy=void 0);function f(){this instanceof y||v();var P=new n,L=void 0,z=!1;function F(N,U){return L?P.has(N)?P.get(N):L.get___(N,U):P.get(N,U)}function B(N){return P.has(N)||(L?L.has___(N):!1)}var O;o?O=function(N,U){return P.set(N,U),P.has(N)||(L||(L=new y),L.set(N,U)),this}:O=function(N,U){if(z)try{P.set(N,U)}catch{L||(L=new y),L.set___(N,U)}else P.set(N,U);return this};function I(N){var U=!!P.delete(N);return L&&L.delete___(N)||U}return Object.create(y.prototype,{get___:{value:m(F)},has___:{value:m(B)},set___:{value:m(O)},delete___:{value:m(I)},permitHostObjects___:{value:m(function(N){if(N===r)z=!0;else throw new Error("bogus call to permitHostObjects___")})}})}f.prototype=y.prototype,e.exports=f,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),e.exports=y)})()},236:function(e,t,r){var o=r(8284);e.exports=n;function n(){var i={};return function(a){if((typeof a!="object"||a===null)&&typeof a!="function")throw new Error("Weakmap-shim: Key must be object");var s=a.valueOf(i);return s&&s.identity===i?s:o(a,i)}}},8284:function(e){e.exports=t;function t(r,o){var n={identity:o},i=r.valueOf;return Object.defineProperty(r,"valueOf",{value:function(a){return a!==o?i.apply(this,arguments):n},writable:!0}),n}},606:function(e,t,r){var o=r(236);e.exports=n;function n(){var i=o();return{get:function(a,s){var c=i(a);return c.hasOwnProperty("value")?c.value:s},set:function(a,s){return i(a).value=s,this},has:function(a){return"value"in i(a)},delete:function(a){return delete i(a).value}}}},3349:function(e){"use strict";function t(){return function(s,c,h,p,d,T){var l=s[0],_=h[0],w=[0],M=_;p|=0;var E=0,m=_;for(E=0;E=0!=v>=0&&d.push(w[0]+.5+.5*(b+v)/(b-v))}p+=m,++w[0]}}}function r(){return t()}var o=r;function n(s){var c={};return function(p,d,T){var l=p.dtype,_=p.order,w=[l,_.join()].join(),M=c[w];return M||(c[w]=M=s([l,_])),M(p.shape.slice(0),p.data,p.stride,p.offset|0,d,T)}}function i(s){return n(o.bind(void 0,s))}function a(s){return i({funcName:s.funcName})}e.exports=a({funcName:"zeroCrossings"})},781:function(e,t,r){"use strict";e.exports=n;var o=r(3349);function n(i,a){var s=[];return a=+a||0,o(i.hi(i.shape[0]-1),s,a),s}},7790:function(){}},x={};function A(e){var t=x[e];if(t!==void 0)return t.exports;var r=x[e]={id:e,loaded:!1,exports:{}};return g[e].call(r.exports,r,r.exports,A),r.loaded=!0,r.exports}(function(){A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})(),function(){A.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}();var S=A(1964);H.exports=S})()}}),tA=ke({"node_modules/color-name/index.js"(Z,H){"use strict";H.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}}}),mI=ke({"node_modules/color-normalize/node_modules/color-parse/index.js"(Z,H){"use strict";var g=tA();H.exports=A;var x={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function A(S){var e,t=[],r=1,o;if(typeof S=="string")if(S=S.toLowerCase(),g[S])t=g[S].slice(),o="rgb";else if(S==="transparent")r=0,o="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(S)){var n=S.slice(1),i=n.length,a=i<=4;r=1,a?(t=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],i===4&&(r=parseInt(n[3]+n[3],16)/255)):(t=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],i===8&&(r=parseInt(n[6]+n[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(S)){var s=e[1],c=s==="rgb",n=s.replace(/a$/,"");o=n;var i=n==="cmyk"?4:n==="gray"?1:3;t=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(d,T){if(/%$/.test(d))return T===i?parseFloat(d)/100:n==="rgb"?parseFloat(d)*255/100:parseFloat(d);if(n[T]==="h"){if(/deg$/.test(d))return parseFloat(d);if(x[d]!==void 0)return x[d]}return parseFloat(d)}),s===n&&t.push(1),r=c||t[i]===void 0?1:t[i],t=t.slice(0,i)}else S.length>10&&/[0-9](?:\s|\/)/.test(S)&&(t=S.match(/([0-9]+)/g).map(function(h){return parseFloat(h)}),o=S.match(/([a-z])/ig).join("").toLowerCase());else isNaN(S)?Array.isArray(S)||S.length?(t=[S[0],S[1],S[2]],o="rgb",r=S.length===4?S[3]:1):S instanceof Object&&(S.r!=null||S.red!=null||S.R!=null?(o="rgb",t=[S.r||S.red||S.R||0,S.g||S.green||S.G||0,S.b||S.blue||S.B||0]):(o="hsl",t=[S.h||S.hue||S.H||0,S.s||S.saturation||S.S||0,S.l||S.lightness||S.L||S.b||S.brightness]),r=S.a||S.alpha||S.opacity||1,S.opacity!=null&&(r/=100)):(o="rgb",t=[S>>>16,(S&65280)>>>8,S&255]);return{space:o,values:t,alpha:r}}}}),gI=ke({"node_modules/color-normalize/node_modules/color-rgba/index.js"(Z,H){"use strict";var g=mI();H.exports=function(S){Array.isArray(S)&&S.raw&&(S=String.raw.apply(null,arguments));var e,t,r,o=g(S);if(!o.space)return[];var n=[0,0,0],i=o.space[0]==="h"?[360,100,100]:[255,255,255];return e=Array(3),e[0]=Math.min(Math.max(o.values[0],n[0]),i[0]),e[1]=Math.min(Math.max(o.values[1],n[1]),i[1]),e[2]=Math.min(Math.max(o.values[2],n[2]),i[2]),o.space[0]==="h"&&(e=x(e)),e.push(Math.min(Math.max(o.alpha,0),1)),e};function x(A){var S=A[0]/360,e=A[1]/100,t=A[2]/100,r,o,n,i,a,s=0;if(e===0)return a=t*255,[a,a,a];for(o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,i=[0,0,0];s<3;)n=S+1/3*-(s-1),n<0?n++:n>1&&n--,a=6*n<1?r+(o-r)*6*n:2*n<1?o:3*n<2?r+(o-r)*(2/3-n)*6:r,i[s++]=a*255;return i}}}),V0=ke({"node_modules/clamp/index.js"(Z,H){H.exports=g;function g(x,A,S){return AS?S:x:xA?A:x}}}),Hx=ke({"node_modules/dtype/index.js"(Z,H){H.exports=function(g){switch(g){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}}}),Zp=ke({"node_modules/color-normalize/index.js"(Z,H){"use strict";var g=gI(),x=V0(),A=Hx();H.exports=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var o=A(r),n=new o(4),i=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=g(t),t[0]/=255,t[1]/=255,t[2]/=255),S(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:255,i&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(i?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:1):(n[0]=x(Math.floor(t[0]*255),0,255),n[1]=x(Math.floor(t[1]*255),0,255),n[2]=x(Math.floor(t[2]*255),0,255),n[3]=t[3]==null?255:x(Math.floor(t[3]*255),0,255)),n)};function S(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}}}),rp=ke({"src/lib/str2rgbarray.js"(Z,H){"use strict";var g=Zp();function x(A){return A?g(A):[0,0,0,1]}H.exports=x}}),np=ke({"src/lib/gl_format_color.js"(Z,H){"use strict";var g=Yn(),x=ru(),A=Zp(),S=ku(),e=If().defaultLine,t=Oa().isArrayOrTypedArray,r=A(e),o=1;function n(h,p){var d=h;return d[3]*=p,d}function i(h){if(g(h))return r;var p=A(h);return p.length?p:r}function a(h){return g(h)?h:o}function s(h,p,d){var T=h.color;T&&T._inputArray&&(T=T._inputArray);var l=t(T),_=t(p),w=S.extractOpts(h),M=[],E,m,b,v,u;if(w.colorscale!==void 0?E=S.makeColorScaleFuncFromTrace(h):E=i,l?m=function(f,P){return f[P]===void 0?r:A(E(f[P]))}:m=i,_?b=function(f,P){return f[P]===void 0?o:a(f[P])}:b=a,l||_)for(var y=0;y0){var d=o.c2l(h);o._lowerLogErrorBound||(o._lowerLogErrorBound=d),o._lowerErrorBound=Math.min(o._lowerLogErrorBound,d)}}else i[a]=[-s[0]*r,s[1]*r]}return i}function A(e){for(var t=0;t-1?-1:P.indexOf("right")>-1?1:0}function w(P){return P==null?0:P.indexOf("top")>-1?-1:P.indexOf("bottom")>-1?1:0}function M(P){var L=0,z=0,F=[L,z];if(Array.isArray(P))for(var B=0;B=0){var W=T(N.position,N.delaunayColor,N.delaunayAxis);W.opacity=P.opacity,this.delaunayMesh?this.delaunayMesh.update(W):(W.gl=L,this.delaunayMesh=S(W),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},d.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function f(P,L){var z=new p(P,L.uid);return z.update(L),z}H.exports=f}}),nA=ke({"src/traces/scatter3d/attributes.js"(Z,H){"use strict";var g=Cc(),x=Il(),A=ou(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ol(),o=rA(),n=Gx(),i=To().extendFlat,a=ju().overrideAll,s=Ip(),c=g.line,h=g.marker,p=h.line,d=i({width:c.width,dash:{valType:"enumerated",values:s(o),dflt:"solid"}},A("line"));function T(_){return{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:2/3}}}var l=H.exports=a({x:g.x,y:g.y,z:{valType:"data_array"},text:i({},g.text,{}),texttemplate:t({},{}),hovertext:i({},g.hovertext,{}),hovertemplate:e(),xhoverformat:S("x"),yhoverformat:S("y"),zhoverformat:S("z"),mode:i({},g.mode,{dflt:"lines+markers"}),surfaceaxis:{valType:"enumerated",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:"color"},projection:{x:T("x"),y:T("y"),z:T("z")},connectgaps:g.connectgaps,line:d,marker:i({symbol:{valType:"enumerated",values:s(n),dflt:"circle",arrayOk:!0},size:i({},h.size,{dflt:8}),sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,opacity:i({},h.opacity,{arrayOk:!1}),colorbar:h.colorbar,line:i({width:i({},p.width,{arrayOk:!1})},A("marker.line"))},A("marker")),textposition:i({},g.textposition,{dflt:"top center"}),textfont:x({noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,editType:"calc",colorEditType:"style",arrayOk:!0,variantValues:["normal","small-caps"]}),opacity:r.opacity,hoverinfo:i({},r.hoverinfo)},"calc","nested");l.x.editType=l.y.editType=l.z.editType="calc+clearAxisTypes"}}),xI=ke({"src/traces/scatter3d/defaults.js"(Z,H){"use strict";var g=lo(),x=un(),A=vu(),S=Fd(),e=Hd(),t=Gd(),r=nA();H.exports=function(i,a,s,c){function h(E,m){return x.coerce(i,a,r,E,m)}var p=o(i,a,h,c);if(!p){a.visible=!1;return}h("text"),h("hovertext"),h("hovertemplate"),h("xhoverformat"),h("yhoverformat"),h("zhoverformat"),h("mode"),A.hasMarkers(a)&&S(i,a,s,c,h,{noSelect:!0,noAngle:!0}),A.hasLines(a)&&(h("connectgaps"),e(i,a,s,c,h)),A.hasText(a)&&(h("texttemplate"),t(i,a,c,h,{noSelect:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0}));var d=(a.line||{}).color,T=(a.marker||{}).color;h("surfaceaxis")>=0&&h("surfacecolor",d||T);for(var l=["x","y","z"],_=0;_<3;++_){var w="projection."+l[_];h(w+".show")&&(h(w+".opacity"),h(w+".scale"))}var M=g.getComponentMethod("errorbars","supplyDefaults");M(i,a,d||T||s,{axis:"z"}),M(i,a,d||T||s,{axis:"y",inherit:"z"}),M(i,a,d||T||s,{axis:"x",inherit:"z"})};function o(n,i,a,s){var c=0,h=a("x"),p=a("y"),d=a("z"),T=g.getComponentMethod("calendars","handleTraceDefaults");return T(n,i,["x","y","z"],s),h&&p&&d&&(c=Math.min(h.length,p.length,d.length),i._length=i._xlength=i._ylength=i._zlength=c),c}}}),bI=ke({"src/traces/scatter3d/calc.js"(Z,H){"use strict";var g=Lv(),x=Wd();H.exports=function(S,e){var t=[{x:!1,y:!1,trace:e,t:{}}];return g(t,e),x(S,e),t}}}),wI=ke({"node_modules/get-canvas-context/index.js"(Z,H){H.exports=g;function g(x,A){if(typeof x!="string")throw new TypeError("must specify type string");if(A=A||{},typeof document>"u"&&!A.canvas)return null;var S=A.canvas||document.createElement("canvas");typeof A.width=="number"&&(S.width=A.width),typeof A.height=="number"&&(S.height=A.height);var e=A,t;try{var r=[x];x.indexOf("webgl")===0&&r.push("experimental-"+x);for(var o=0;o/g," "));a[s]=d,c.tickmode=h}}o.ticks=a;for(var s=0;s<3;++s){S[s]=.5*(r.glplot.bounds[0][s]+r.glplot.bounds[1][s]);for(var T=0;T<2;++T)o.bounds[T][s]=r.glplot.bounds[T][s]}r.contourLevels=e(a)}}}),EI=ke({"src/plots/gl3d/scene.js"(Z,H){"use strict";var g=Mh().gl_plot3d,x=g.createCamera,A=g.createScene,S=TI(),e=f_(),t=lo(),r=un(),o=r.preserveDrawingBuffer(),n=Ho(),i=Ec(),a=rp(),s=iA(),c=M2(),h=AI(),p=MI(),d=SI(),T=lv().applyAutorangeOptions,l,_,w=!1;function M(z,F){var B=document.createElement("div"),O=z.container;this.graphDiv=z.graphDiv;var I=document.createElementNS("http://www.w3.org/2000/svg","svg");I.style.position="absolute",I.style.top=I.style.left="0px",I.style.width=I.style.height="100%",I.style["z-index"]=20,I.style["pointer-events"]="none",B.appendChild(I),this.svgContainer=I,B.id=z.id,B.style.position="absolute",B.style.top=B.style.left="0px",B.style.width=B.style.height="100%",O.appendChild(B),this.fullLayout=F,this.id=z.id||"scene",this.fullSceneLayout=F[this.id],this.plotArgs=[[],{},{}],this.axesOptions=h(F,F[this.id]),this.spikeOptions=p(F[this.id]),this.container=B,this.staticMode=!!z.staticPlot,this.pixelRatio=this.pixelRatio||z.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=t.getComponentMethod("annotations3d","convert"),this.drawAnnotations=t.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var E=M.prototype;E.prepareOptions=function(){var z=this,F={canvas:z.canvas,gl:z.gl,glOptions:{preserveDrawingBuffer:o,premultipliedAlpha:!0,antialias:!0},container:z.container,axes:z.axesOptions,spikes:z.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:z.camera,pixelRatio:z.pixelRatio};if(z.staticMode){if(!_&&(l=document.createElement("canvas"),_=S({canvas:l,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!_))throw new Error("error creating static canvas/context for image server");F.gl=_,F.canvas=l}return F};var m=!0;E.tryCreatePlot=function(){var z=this,F=z.prepareOptions(),B=!0;try{z.glplot=A(F)}catch{if(z.staticMode||!m||o)B=!1;else{r.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{o=F.glOptions.preserveDrawingBuffer=!0,z.glplot=A(F)}catch{o=F.glOptions.preserveDrawingBuffer=!1,B=!1}}}return m=!1,B},E.initializeGLCamera=function(){var z=this,F=z.fullSceneLayout.camera,B=F.projection.type==="orthographic";z.camera=x(z.container,{center:[F.center.x,F.center.y,F.center.z],eye:[F.eye.x,F.eye.y,F.eye.z],up:[F.up.x,F.up.y,F.up.z],_ortho:B,zoomMin:.01,zoomMax:100,mode:"orbit"})},E.initializeGLPlot=function(){var z=this;z.initializeGLCamera();var F=z.tryCreatePlot();if(!F)return s(z);z.traces={},z.make4thDimension();var B=z.graphDiv,O=B.layout,I=function(){var U={};return z.isCameraChanged(O)&&(U[z.id+".camera"]=z.getCamera()),z.isAspectChanged(O)&&(U[z.id+".aspectratio"]=z.glplot.getAspectratio(),O[z.id].aspectmode!=="manual"&&(z.fullSceneLayout.aspectmode=O[z.id].aspectmode=U[z.id+".aspectmode"]="manual")),U},N=function(U){if(U.fullSceneLayout.dragmode!==!1){var W=I();U.saveLayout(O),U.graphDiv.emit("plotly_relayout",W)}};return z.glplot.canvas&&(z.glplot.canvas.addEventListener("mouseup",function(){N(z)}),z.glplot.canvas.addEventListener("touchstart",function(){w=!0}),z.glplot.canvas.addEventListener("wheel",function(U){if(B._context._scrollZoom.gl3d){if(z.camera._ortho){var W=U.deltaX>U.deltaY?1.1:.9090909090909091,Q=z.glplot.getAspectratio();z.glplot.setAspectratio({x:W*Q.x,y:W*Q.y,z:W*Q.z})}N(z)}},e?{passive:!1}:!1),z.glplot.canvas.addEventListener("mousemove",function(){if(z.fullSceneLayout.dragmode!==!1&&z.camera.mouseListener.buttons!==0){var U=I();z.graphDiv.emit("plotly_relayouting",U)}}),z.staticMode||z.glplot.canvas.addEventListener("webglcontextlost",function(U){B&&B.emit&&B.emit("plotly_webglcontextlost",{event:U,layer:z.id})},!1)),z.glplot.oncontextloss=function(){z.recoverContext()},z.glplot.onrender=function(){z.render()},!0},E.render=function(){var z=this,F=z.graphDiv,B,O=z.svgContainer,I=z.container.getBoundingClientRect();F._fullLayout._calcInverseTransform(F);var N=F._fullLayout._invScaleX,U=F._fullLayout._invScaleY,W=I.width*N,Q=I.height*U;O.setAttributeNS(null,"viewBox","0 0 "+W+" "+Q),O.setAttributeNS(null,"width",W),O.setAttributeNS(null,"height",Q),d(z),z.glplot.axes.update(z.axesOptions);for(var le=Object.keys(z.traces),se=null,fe=z.glplot.selection,G=0;G")):B.type==="isosurface"||B.type==="volume"?(ae.valueLabel=n.hoverLabelText(z._mockAxis,z._mockAxis.d2l(fe.traceCoordinate[3]),B.valuehoverformat),xe.push("value: "+ae.valueLabel),fe.textLabel&&xe.push(fe.textLabel),ce=xe.join("
")):ce=fe.textLabel;var Te={x:fe.traceCoordinate[0],y:fe.traceCoordinate[1],z:fe.traceCoordinate[2],data:X._input,fullData:X,curveNumber:X.index,pointNumber:re};i.appendArrayPointValue(Te,X,re),B._module.eventData&&(Te=X._module.eventData(Te,fe,X,{},re));var Ue={points:[Te]};if(z.fullSceneLayout.hovermode){var Ie=[];i.loneHover({trace:X,x:(.5+.5*J[0]/J[3])*W,y:(.5-.5*J[1]/J[3])*Q,xLabel:ae.xLabel,yLabel:ae.yLabel,zLabel:ae.zLabel,text:ce,name:se.name,color:i.castHoverOption(X,re,"bgcolor")||se.color,borderColor:i.castHoverOption(X,re,"bordercolor"),fontFamily:i.castHoverOption(X,re,"font.family"),fontSize:i.castHoverOption(X,re,"font.size"),fontColor:i.castHoverOption(X,re,"font.color"),nameLength:i.castHoverOption(X,re,"namelength"),textAlign:i.castHoverOption(X,re,"align"),hovertemplate:r.castOption(X,re,"hovertemplate"),hovertemplateLabels:r.extendFlat({},Te,ae),eventData:[Te]},{container:O,gd:F,inOut_bbox:Ie}),Te.bbox=Ie[0]}fe.distance<5&&(fe.buttons||w)?F.emit("plotly_click",Ue):F.emit("plotly_hover",Ue),this.oldEventData=Ue}else i.loneUnhover(O),this.oldEventData&&F.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;z.drawAnnotations(z)},E.recoverContext=function(){var z=this;z.glplot.dispose();var F=function(){if(z.glplot.gl.isContextLost()){requestAnimationFrame(F);return}if(!z.initializeGLPlot()){r.error("Catastrophic and unrecoverable WebGL error. Context lost.");return}z.plot.apply(z,z.plotArgs)};requestAnimationFrame(F)};var b=["xaxis","yaxis","zaxis"];function v(z,F,B){for(var O=z.fullSceneLayout,I=0;I<3;I++){var N=b[I],U=N.charAt(0),W=O[N],Q=F[U],le=F[U+"calendar"],se=F["_"+U+"length"];if(!r.isArrayOrTypedArray(Q))B[0][I]=Math.min(B[0][I],0),B[1][I]=Math.max(B[1][I],se-1);else for(var fe,G=0;G<(se||Q.length);G++)if(r.isArrayOrTypedArray(Q[G]))for(var $=0;$X[1][U])X[0][U]=-1,X[1][U]=1;else{var it=X[1][U]-X[0][U];X[0][U]-=it/32,X[1][U]+=it/32}if(j=[X[0][U],X[1][U]],j=T(j,Q),X[0][U]=j[0],X[1][U]=j[1],Q.isReversed()){var at=X[0][U];X[0][U]=X[1][U],X[1][U]=at}}else j=Q.range,X[0][U]=Q.r2l(j[0]),X[1][U]=Q.r2l(j[1]);X[0][U]===X[1][U]&&(X[0][U]-=1,X[1][U]+=1),re[U]=X[1][U]-X[0][U],Q.range=[X[0][U],X[1][U]],Q.limitRange(),O.glplot.setBounds(U,{min:Q.range[0]*$[U],max:Q.range[1]*$[U]})}var tt,ut=se.aspectmode;if(ut==="cube")tt=[1,1,1];else if(ut==="manual"){var Me=se.aspectratio;tt=[Me.x,Me.y,Me.z]}else if(ut==="auto"||ut==="data"){var pe=[1,1,1];for(U=0;U<3;++U){Q=se[b[U]],le=Q.type;var ue=ae[le];pe[U]=Math.pow(ue.acc,1/ue.count)/$[U]}ut==="data"||Math.max.apply(null,pe)/Math.min.apply(null,pe)<=4?tt=pe:tt=[1,1,1]}else throw new Error("scene.js aspectRatio was not one of the enumerated types");se.aspectratio.x=fe.aspectratio.x=tt[0],se.aspectratio.y=fe.aspectratio.y=tt[1],se.aspectratio.z=fe.aspectratio.z=tt[2],O.glplot.setAspectratio(se.aspectratio),O.viewInitial.aspectratio||(O.viewInitial.aspectratio={x:se.aspectratio.x,y:se.aspectratio.y,z:se.aspectratio.z}),O.viewInitial.aspectmode||(O.viewInitial.aspectmode=se.aspectmode);var Oe=se.domain||null,rt=F._size||null;if(Oe&&rt){var ot=O.container.style;ot.position="absolute",ot.left=rt.l+Oe.x[0]*rt.w+"px",ot.top=rt.t+(1-Oe.y[1])*rt.h+"px",ot.width=rt.w*(Oe.x[1]-Oe.x[0])+"px",ot.height=rt.h*(Oe.y[1]-Oe.y[0])+"px"}O.glplot.redraw()}},E.destroy=function(){var z=this;z.glplot&&(z.camera.mouseListener.enabled=!1,z.container.removeEventListener("wheel",z.camera.wheelListener),z.camera=null,z.glplot.dispose(),z.container.parentNode.removeChild(z.container),z.glplot=null)};function y(z){return[[z.eye.x,z.eye.y,z.eye.z],[z.center.x,z.center.y,z.center.z],[z.up.x,z.up.y,z.up.z]]}function f(z){return{up:{x:z.up[0],y:z.up[1],z:z.up[2]},center:{x:z.center[0],y:z.center[1],z:z.center[2]},eye:{x:z.eye[0],y:z.eye[1],z:z.eye[2]},projection:{type:z._ortho===!0?"orthographic":"perspective"}}}E.getCamera=function(){var z=this;return z.camera.view.recalcMatrix(z.camera.view.lastT()),f(z.camera)},E.setViewport=function(z){var F=this,B=z.camera;F.camera.lookAt.apply(this,y(B)),F.glplot.setAspectratio(z.aspectratio);var O=B.projection.type==="orthographic",I=F.camera._ortho;O!==I&&(F.glplot.redraw(),F.glplot.clearRGBA(),F.glplot.dispose(),F.initializeGLPlot())},E.isCameraChanged=function(z){var F=this,B=F.getCamera(),O=r.nestedProperty(z,F.id+".camera"),I=O.get();function N(le,se,fe,G){var $=["up","center","eye"],J=["x","y","z"];return se[$[fe]]&&le[$[fe]][J[G]]===se[$[fe]][J[G]]}var U=!1;if(I===void 0)U=!0;else{for(var W=0;W<3;W++)for(var Q=0;Q<3;Q++)if(!N(B,I,W,Q)){U=!0;break}(!I.projection||B.projection&&B.projection.type!==I.projection.type)&&(U=!0)}return U},E.isAspectChanged=function(z){var F=this,B=F.glplot.getAspectratio(),O=r.nestedProperty(z,F.id+".aspectratio"),I=O.get();return I===void 0||I.x!==B.x||I.y!==B.y||I.z!==B.z},E.saveLayout=function(z){var F=this,B=F.fullLayout,O,I,N,U,W,Q,le=F.isCameraChanged(z),se=F.isAspectChanged(z),fe=le||se;if(fe){var G={};if(le&&(O=F.getCamera(),I=r.nestedProperty(z,F.id+".camera"),N=I.get(),G[F.id+".camera"]=N),se&&(U=F.glplot.getAspectratio(),W=r.nestedProperty(z,F.id+".aspectratio"),Q=W.get(),G[F.id+".aspectratio"]=Q),t.call("_storeDirectGUIEdit",z,B._preGUI,G),le){I.set(O);var $=r.nestedProperty(B,F.id+".camera");$.set(O)}if(se){W.set(U);var J=r.nestedProperty(B,F.id+".aspectratio");J.set(U),F.glplot.redraw()}}return fe},E.updateFx=function(z,F){var B=this,O=B.camera;if(O)if(z==="orbit")O.mode="orbit",O.keyBindingMode="rotate";else if(z==="turntable"){O.up=[0,0,1],O.mode="turntable",O.keyBindingMode="rotate";var I=B.graphDiv,N=I._fullLayout,U=B.fullSceneLayout.camera,W=U.up.x,Q=U.up.y,le=U.up.z;if(le/Math.sqrt(W*W+Q*Q+le*le)<.999){var se=B.id+".camera.up",fe={x:0,y:0,z:1},G={};G[se]=fe;var $=I.layout;t.call("_storeDirectGUIEdit",$,N._preGUI,G),U.up=fe,r.nestedProperty($,se).set(fe)}}else O.keyBindingMode=z;B.fullSceneLayout.hovermode=F};function P(z,F,B){for(var O=0,I=B-1;O0)for(var W=255/U,Q=0;Q<3;++Q)z[N+Q]=Math.min(W*z[N+Q],255)}}E.toImage=function(z){var F=this;z||(z="png"),F.staticMode&&F.container.appendChild(l),F.glplot.redraw();var B=F.glplot.gl,O=B.drawingBufferWidth,I=B.drawingBufferHeight;B.bindFramebuffer(B.FRAMEBUFFER,null);var N=new Uint8Array(O*I*4);B.readPixels(0,0,O,I,B.RGBA,B.UNSIGNED_BYTE,N),P(N,O,I),L(N,O,I);var U=document.createElement("canvas");U.width=O,U.height=I;var W=U.getContext("2d",{willReadFrequently:!0}),Q=W.createImageData(O,I);Q.data.set(N),W.putImageData(Q,0,0);var le;switch(z){case"jpeg":le=U.toDataURL("image/jpeg");break;case"webp":le=U.toDataURL("image/webp");break;default:le=U.toDataURL("image/png")}return F.staticMode&&F.container.removeChild(l),le},E.setConvert=function(){for(var z=this,F=0;F<3;F++){var B=z.fullSceneLayout[b[F]];n.setConvert(B,z.fullLayout),B.setScale=r.noop}},E.make4thDimension=function(){var z=this,F=z.graphDiv,B=F._fullLayout;z._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},n.setConvert(z._mockAxis,B)},H.exports=M}}),CI=ke({"src/plots/gl3d/layout/attributes.js"(Z,H){"use strict";H.exports={scene:{valType:"subplotid",dflt:"scene",editType:"calc+clearAxisTypes"}}}}),aA=ke({"src/plots/gl3d/layout/axis_attributes.js"(Z,H){"use strict";var g=eo(),x=wh(),A=To().extendFlat,S=ju().overrideAll;H.exports=S({visible:x.visible,showspikes:{valType:"boolean",dflt:!0},spikesides:{valType:"boolean",dflt:!0},spikethickness:{valType:"number",min:0,dflt:2},spikecolor:{valType:"color",dflt:g.defaultLine},showbackground:{valType:"boolean",dflt:!1},backgroundcolor:{valType:"color",dflt:"rgba(204, 204, 204, 0.5)"},showaxeslabels:{valType:"boolean",dflt:!0},color:x.color,categoryorder:x.categoryorder,categoryarray:x.categoryarray,title:{text:x.title.text,font:x.title.font},type:A({},x.type,{values:["-","linear","log","date","category"]}),autotypenumbers:x.autotypenumbers,autorange:x.autorange,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:"plot"},rangemode:x.rangemode,minallowed:x.minallowed,maxallowed:x.maxallowed,range:A({},x.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],anim:!1}),tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,mirror:x.mirror,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,tickfont:x.tickfont,tickangle:x.tickangle,tickprefix:x.tickprefix,showtickprefix:x.showtickprefix,ticksuffix:x.ticksuffix,showticksuffix:x.showticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickformat:x.tickformat,tickformatstops:x.tickformatstops,hoverformat:x.hoverformat,showline:x.showline,linecolor:x.linecolor,linewidth:x.linewidth,showgrid:x.showgrid,gridcolor:A({},x.gridcolor,{dflt:"rgb(204, 204, 204)"}),gridwidth:x.gridwidth,zeroline:x.zeroline,zerolinecolor:x.zerolinecolor,zerolinewidth:x.zerolinewidth},"plot","from-root")}}),oA=ke({"src/plots/gl3d/layout/layout_attributes.js"(Z,H){"use strict";var g=aA(),x=Yu().attributes,A=To().extendFlat,S=un().counterRegex;function e(t,r,o){return{x:{valType:"number",dflt:t,editType:"camera"},y:{valType:"number",dflt:r,editType:"camera"},z:{valType:"number",dflt:o,editType:"camera"},editType:"camera"}}H.exports={_arrayAttrRegexps:[S("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:A(e(0,0,1),{}),center:A(e(0,0,0),{}),eye:A(e(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:x({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:g,yaxis:g,zaxis:g,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot"}}}),kI=ke({"src/plots/gl3d/layout/axis_defaults.js"(Z,H){"use strict";var g=ru().mix,x=un(),A=yl(),S=aA(),e=T2(),t=s0(),r=["xaxis","yaxis","zaxis"],o=100*136/187;H.exports=function(i,a,s){var c,h;function p(l,_){return x.coerce(c,h,S,l,_)}for(var d=0;d1;function p(d){if(!h){var T=g.validate(a[d],t[d]);if(T)return a[d]}}S(a,s,c,{type:o,attributes:t,handleDefaults:n,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:p,autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})};function n(i,a,s,c){for(var h=s("bgcolor"),p=x.combine(h,c.paper_bgcolor),d=["up","center","eye"],T=0;T.999)&&(E="turntable")}else E="turntable";s("dragmode",E),s("hovermode",c.getDfltFromLayout("hovermode"))}}}),Yp=ke({"src/plots/gl3d/index.js"(Z){"use strict";var H=ju().overrideAll,g=vl(),x=EI(),A=bh().getSubplotData,S=un(),e=zd(),t="gl3d",r="scene";Z.name=t,Z.attr=r,Z.idRoot=r,Z.idRegex=Z.attrRegex=S.counterRegex("scene"),Z.attributes=CI(),Z.layoutAttributes=oA(),Z.baseLayoutAttrOverrides=H({hoverlabel:g.hoverlabel},"plot","nested"),Z.supplyLayoutDefaults=LI(),Z.plot=function(n){for(var i=n._fullLayout,a=n._fullData,s=i._subplots[t],c=0;c0){P=c[L];break}return P}function T(y,f){if(!(y<1||f<1)){for(var P=p(y),L=p(f),z=1,F=0;FM;)L--,L/=d(L),L++,L1?z:1};function E(y,f,P){var L=P[8]+P[2]*f[0]+P[5]*f[1];return y[0]=(P[6]+P[0]*f[0]+P[3]*f[1])/L,y[1]=(P[7]+P[1]*f[0]+P[4]*f[1])/L,y}function m(y,f,P){return b(y,f,E,P),y}function b(y,f,P,L){for(var z=[0,0],F=y.shape[0],B=y.shape[1],O=0;O0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(f[L]=!0,z=this.contourStart[L];zQ&&(this.minValues[N]=Q),this.maxValues[N]c&&(o.isomin=null,o.isomax=null);var h=a("x"),p=a("y"),d=a("z"),T=a("value");if(!h||!h.length||!p||!p.length||!d||!d.length||!T||!T.length){o.visible=!1;return}var l=x.getComponentMethod("calendars","handleTraceDefaults");l(r,o,["x","y","z"],i),a("valuehoverformat"),["x","y","z"].forEach(function(E){a(E+"hoverformat");var m="caps."+E,b=a(m+".show");b&&a(m+".fill");var v="slices."+E,u=a(v+".show");u&&(a(v+".fill"),a(v+".locations"))});var _=a("spaceframe.show");_&&a("spaceframe.fill");var w=a("surface.show");w&&(a("surface.count"),a("surface.fill"),a("surface.pattern"));var M=a("contour.show");M&&(a("contour.color"),a("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(E){a(E)}),S(r,o,i,a,{prefix:"",cLetter:"c"}),o._length=null}H.exports={supplyDefaults:e,supplyIsoDefaults:t}}}),Xx=ke({"src/traces/streamtube/calc.js"(Z,H){"use strict";var g=un(),x=od();function A(r,o){o._len=Math.min(o.u.length,o.v.length,o.w.length,o.x.length,o.y.length,o.z.length),o._u=t(o.u,o._len),o._v=t(o.v,o._len),o._w=t(o.w,o._len),o._x=t(o.x,o._len),o._y=t(o.y,o._len),o._z=t(o.z,o._len);var n=S(o);o._gridFill=n.fill,o._Xs=n.Xs,o._Ys=n.Ys,o._Zs=n.Zs,o._len=n.len;var i=0,a,s,c;o.starts&&(a=t(o.starts.x||[]),s=t(o.starts.y||[]),c=t(o.starts.z||[]),i=Math.min(a.length,s.length,c.length)),o._startsX=a||[],o._startsY=s||[],o._startsZ=c||[];var h=0,p=1/0,d;for(d=0;d1&&(u=o[a-1],f=n[a-1],L=i[a-1]),s=0;su?"-":"+")+"x"),M=M.replace("y",(y>f?"-":"+")+"y"),M=M.replace("z",(P>L?"-":"+")+"z");var O=function(){a=0,z=[],F=[],B=[]};(!a||a0;p--){var d=Math.min(h[p],h[p-1]),T=Math.max(h[p],h[p-1]);if(T>d&&d-1}function ee(_t,Be){return _t===null?Be:_t}function ie(_t,Be,Ke){le();var je=[Be],Se=[Ke];if(X>=1)je=[Be],Se=[Ke];else if(X>0){var He=ae(Be,Ke);je=He.xyzv,Se=He.abc}for(var Ee=0;Ee-1?Ke[Le]:Q(nt,pt,bt);Nt>-1?we[Le]=Nt:we[Le]=fe(nt,pt,bt,ee(_t,Rt))}G(we[0],we[1],we[2])}}function ce(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(2,3,0)}function xe(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(3,0,1),je(2,3,0),je(1,2,3)}function Te(_t,Be,Ke,je){var Se=_t[3];Seje&&(Se=je);for(var He=(_t[3]-Se)/(_t[3]-Be[3]+1e-9),Ee=[],we=0;we<4;we++)Ee[we]=(1-He)*_t[we]+He*Be[we];return Ee}function Ue(_t,Be,Ke){return _t>=Be&&_t<=Ke}function Ie(_t){var Be=.001*(O-B);return _t>=B-Be&&_t<=O+Be}function Ye(_t){for(var Be=[],Ke=0;Ke<4;Ke++){var je=_t[Ke];Be.push([c._x[je],c._y[je],c._z[je],c._value[je]])}return Be}var it=3;function at(_t,Be,Ke,je,Se,He){He||(He=1),Ke=[-1,-1,-1];var Ee=!1,we=[Ue(Be[0][3],je,Se),Ue(Be[1][3],je,Se),Ue(Be[2][3],je,Se)];if(!we[0]&&!we[1]&&!we[2])return!1;var Le=function(pt,bt,Rt){return Ie(bt[0][3])&&Ie(bt[1][3])&&Ie(bt[2][3])?(ie(pt,bt,Rt),!0):Hewe?[z,He]:[He,F];Bt(Be,Le[0],Le[1])}}var nt=[[Math.min(B,F),Math.max(B,F)],[Math.min(z,O),Math.max(z,O)]];["x","y","z"].forEach(function(pt){for(var bt=[],Rt=0;Rt0&&(Rn.push(ni.id),pt==="x"?Nn.push([ni.distRatio,0,0]):pt==="y"?Nn.push([0,ni.distRatio,0]):Nn.push([0,0,ni.distRatio]))}else pt==="x"?pn=Rr(1,u-1):pt==="y"?pn=Rr(1,y-1):pn=Rr(1,f-1);Rn.length>0&&(pt==="x"?bt[Nt]=qt(_t,Rn,Xt,$t,Nn,bt[Nt]):pt==="y"?bt[Nt]=fr(_t,Rn,Xt,$t,Nn,bt[Nt]):bt[Nt]=ar(_t,Rn,Xt,$t,Nn,bt[Nt]),Nt++),pn.length>0&&(pt==="x"?bt[Nt]=rt(_t,pn,Xt,$t,bt[Nt]):pt==="y"?bt[Nt]=ot(_t,pn,Xt,$t,bt[Nt]):bt[Nt]=et(_t,pn,Xt,$t,bt[Nt]),Nt++)}var zn=c.caps[pt];zn.show&&zn.fill&&(re(zn.fill),pt==="x"?bt[Nt]=rt(_t,[0,u-1],Xt,$t,bt[Nt]):pt==="y"?bt[Nt]=ot(_t,[0,y-1],Xt,$t,bt[Nt]):bt[Nt]=et(_t,[0,f-1],Xt,$t,bt[Nt]),Nt++)}}),w===0&&se(),c._meshX=I,c._meshY=N,c._meshZ=U,c._meshIntensity=W,c._Xs=m,c._Ys=b,c._Zs=v}return br(),c}function s(c,h){var p=c.glplot.gl,d=g({gl:p}),T=new o(c,d,h.uid);return d._trace=T,T.update(h),c.glplot.add(d),T}H.exports={findNearestOnAxis:r,generateIsoMeshes:a,createIsosurfaceTrace:s}}}),OI=ke({"src/traces/isosurface/index.js"(Z,H){"use strict";H.exports={attributes:Wx(),supplyDefaults:lA().supplyDefaults,calc:uA(),colorbar:{min:"cmin",max:"cmax"},plot:Zx().createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),BI=ke({"lib/isosurface.js"(Z,H){"use strict";H.exports=OI()}}),cA=ke({"src/traces/volume/attributes.js"(Z,H){"use strict";var g=ou(),x=Wx(),A=q0(),S=Ol(),e=To().extendFlat,t=ju().overrideAll,r=H.exports=t(e({x:x.x,y:x.y,z:x.z,value:x.value,isomin:x.isomin,isomax:x.isomax,surface:x.surface,spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:1}},slices:x.slices,caps:x.caps,text:x.text,hovertext:x.hovertext,xhoverformat:x.xhoverformat,yhoverformat:x.yhoverformat,zhoverformat:x.zhoverformat,valuehoverformat:x.valuehoverformat,hovertemplate:x.hovertemplate},g("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{colorbar:x.colorbar,opacity:x.opacity,opacityscale:A.opacityscale,lightposition:x.lightposition,lighting:x.lighting,flatshading:x.flatshading,contour:x.contour,hoverinfo:e({},S.hoverinfo),showlegend:e({},S.showlegend,{dflt:!1})}),"calc","nested");r.x.editType=r.y.editType=r.z.editType=r.value.editType="calc+clearAxisTypes"}}),NI=ke({"src/traces/volume/defaults.js"(Z,H){"use strict";var g=un(),x=cA(),A=lA().supplyIsoDefaults,S=sA().opacityscaleDefaults;H.exports=function(t,r,o,n){function i(a,s){return g.coerce(t,r,x,a,s)}A(t,r,o,n,i),S(t,r,n,i)}}}),UI=ke({"src/traces/volume/convert.js"(Z,H){"use strict";var g=Mh().gl_mesh3d,x=np().parseColorScale,A=un().isArrayOrTypedArray,S=rp(),e=ku().extractOpts,t=vy(),r=Zx().findNearestOnAxis,o=Zx().generateIsoMeshes;function n(s,c,h){this.scene=s,this.uid=h,this.mesh=c,this.name="",this.data=null,this.showContour=!1}var i=n.prototype;i.handlePick=function(s){if(s.object===this.mesh){var c=s.data.index,h=this.data._meshX[c],p=this.data._meshY[c],d=this.data._meshZ[c],T=this.data._Ys.length,l=this.data._Zs.length,_=r(h,this.data._Xs).id,w=r(p,this.data._Ys).id,M=r(d,this.data._Zs).id,E=s.index=M+l*w+l*T*_;s.traceCoordinate=[this.data._meshX[E],this.data._meshY[E],this.data._meshZ[E],this.data._value[E]];var m=this.data.hovertext||this.data.text;return A(m)&&m[E]!==void 0?s.textLabel=m[E]:m&&(s.textLabel=m),!0}},i.update=function(s){var c=this.scene,h=c.fullSceneLayout;this.data=o(s);function p(w,M,E,m){return M.map(function(b){return w.d2l(b,0,m)*E})}var d=t(p(h.xaxis,s._meshX,c.dataScale[0],s.xcalendar),p(h.yaxis,s._meshY,c.dataScale[1],s.ycalendar),p(h.zaxis,s._meshZ,c.dataScale[2],s.zcalendar)),T=t(s._meshI,s._meshJ,s._meshK),l={positions:d,cells:T,lightPosition:[s.lightposition.x,s.lightposition.y,s.lightposition.z],ambient:s.lighting.ambient,diffuse:s.lighting.diffuse,specular:s.lighting.specular,roughness:s.lighting.roughness,fresnel:s.lighting.fresnel,vertexNormalsEpsilon:s.lighting.vertexnormalsepsilon,faceNormalsEpsilon:s.lighting.facenormalsepsilon,opacity:s.opacity,opacityscale:s.opacityscale,contourEnable:s.contour.show,contourColor:S(s.contour.color).slice(0,3),contourWidth:s.contour.width,useFacetNormals:s.flatshading},_=e(s);l.vertexIntensity=s._meshIntensity,l.vertexIntensityBounds=[_.min,_.max],l.colormap=x(s),this.mesh.update(l)},i.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function a(s,c){var h=s.glplot.gl,p=g({gl:h}),d=new n(s,p,c.uid);return p._trace=d,d.update(c),s.glplot.add(p),d}H.exports=a}}),jI=ke({"src/traces/volume/index.js"(Z,H){"use strict";H.exports={attributes:cA(),supplyDefaults:NI(),calc:uA(),colorbar:{min:"cmin",max:"cmax"},plot:UI(),moduleType:"trace",name:"volume",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),VI=ke({"lib/volume.js"(Z,H){"use strict";H.exports=jI()}}),qI=ke({"src/traces/mesh3d/defaults.js"(Z,H){"use strict";var g=lo(),x=un(),A=Kf(),S=dy();H.exports=function(t,r,o,n){function i(p,d){return x.coerce(t,r,S,p,d)}function a(p){var d=p.map(function(T){var l=i(T);return l&&x.isArrayOrTypedArray(l)?l:null});return d.every(function(T){return T&&T.length===d[0].length})&&d}var s=a(["x","y","z"]);if(!s){r.visible=!1;return}if(a(["i","j","k"]),r.i&&(!r.j||!r.k)||r.j&&(!r.k||!r.i)||r.k&&(!r.i||!r.j)){r.visible=!1;return}var c=g.getComponentMethod("calendars","handleTraceDefaults");c(t,r,["x","y","z"],n),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach(function(p){i(p)});var h=i("contour.show");h&&(i("contour.color"),i("contour.width")),"intensity"in t?(i("intensity"),i("intensitymode"),A(t,r,n,i,{prefix:"",cLetter:"c"})):(r.showscale=!1,"facecolor"in t?i("facecolor"):"vertexcolor"in t?i("vertexcolor"):i("color",o)),i("text"),i("hovertext"),i("hovertemplate"),i("xhoverformat"),i("yhoverformat"),i("zhoverformat"),r._length=null}}}),HI=ke({"src/traces/mesh3d/calc.js"(Z,H){"use strict";var g=od();H.exports=function(A,S){S.intensity&&g(A,S,{vals:S.intensity,containerStr:"",cLetter:"c"})}}}),GI=ke({"src/traces/mesh3d/convert.js"(Z,H){"use strict";var g=Mh().gl_mesh3d,x=Mh().delaunay_triangulate,A=Mh().alpha_shape,S=Mh().convex_hull,e=np().parseColorScale,t=un().isArrayOrTypedArray,r=rp(),o=ku().extractOpts,n=vy();function i(l,_,w){this.scene=l,this.uid=w,this.mesh=_,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var a=i.prototype;a.handlePick=function(l){if(l.object===this.mesh){var _=l.index=l.data.index;l.data._cellCenter?l.traceCoordinate=l.data.dataCoordinate:l.traceCoordinate=[this.data.x[_],this.data.y[_],this.data.z[_]];var w=this.data.hovertext||this.data.text;return t(w)&&w[_]!==void 0?l.textLabel=w[_]:w&&(l.textLabel=w),!0}};function s(l){for(var _=[],w=l.length,M=0;M=_-.5)return!1;return!0}a.update=function(l){var _=this.scene,w=_.fullSceneLayout;this.data=l;var M=l.x.length,E=n(c(w.xaxis,l.x,_.dataScale[0],l.xcalendar),c(w.yaxis,l.y,_.dataScale[1],l.ycalendar),c(w.zaxis,l.z,_.dataScale[2],l.zcalendar)),m;if(l.i&&l.j&&l.k){if(l.i.length!==l.j.length||l.j.length!==l.k.length||!d(l.i,M)||!d(l.j,M)||!d(l.k,M))return;m=n(h(l.i),h(l.j),h(l.k))}else l.alphahull===0?m=S(E):l.alphahull>0?m=A(l.alphahull,E):m=p(l.delaunayaxis,E);var b={positions:E,cells:m,lightPosition:[l.lightposition.x,l.lightposition.y,l.lightposition.z],ambient:l.lighting.ambient,diffuse:l.lighting.diffuse,specular:l.lighting.specular,roughness:l.lighting.roughness,fresnel:l.lighting.fresnel,vertexNormalsEpsilon:l.lighting.vertexnormalsepsilon,faceNormalsEpsilon:l.lighting.facenormalsepsilon,opacity:l.opacity,contourEnable:l.contour.show,contourColor:r(l.contour.color).slice(0,3),contourWidth:l.contour.width,useFacetNormals:l.flatshading};if(l.intensity){var v=o(l);this.color="#fff";var u=l.intensitymode;b[u+"Intensity"]=l.intensity,b[u+"IntensityBounds"]=[v.min,v.max],b.colormap=e(l)}else l.vertexcolor?(this.color=l.vertexcolor[0],b.vertexColors=s(l.vertexcolor)):l.facecolor?(this.color=l.facecolor[0],b.cellColors=s(l.facecolor)):(this.color=l.color,b.meshColor=r(l.color));this.mesh.update(b)},a.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function T(l,_){var w=l.glplot.gl,M=g({gl:w}),E=new i(l,M,_.uid);return M._trace=E,E.update(_),l.glplot.add(M),E}H.exports=T}}),WI=ke({"src/traces/mesh3d/index.js"(Z,H){"use strict";H.exports={attributes:dy(),supplyDefaults:qI(),calc:HI(),colorbar:{min:"cmin",max:"cmax"},plot:GI(),moduleType:"trace",name:"mesh3d",basePlotModule:Yp(),categories:["gl3d","showLegend"],meta:{}}}}),XI=ke({"lib/mesh3d.js"(Z,H){"use strict";H.exports=WI()}}),fA=ke({"src/traces/cone/attributes.js"(Z,H){"use strict";var g=ou(),x=Sc().axisHoverFormat,A=Rs().hovertemplateAttrs,S=dy(),e=Ol(),t=To().extendFlat,r={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute","raw"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:A({editType:"calc"},{keys:["norm"]}),uhoverformat:x("u",1),vhoverformat:x("v",1),whoverformat:x("w",1),xhoverformat:x("x"),yhoverformat:x("y"),zhoverformat:x("z"),showlegend:t({},e.showlegend,{dflt:!1})};t(r,g("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var o=["opacity","lightposition","lighting"];o.forEach(function(n){r[n]=S[n]}),r.hoverinfo=t({},e.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),H.exports=r}}),ZI=ke({"src/traces/cone/defaults.js"(Z,H){"use strict";var g=un(),x=Kf(),A=fA();H.exports=function(e,t,r,o){function n(T,l){return g.coerce(e,t,A,T,l)}var i=n("u"),a=n("v"),s=n("w"),c=n("x"),h=n("y"),p=n("z");if(!i||!i.length||!a||!a.length||!s||!s.length||!c||!c.length||!h||!h.length||!p||!p.length){t.visible=!1;return}var d=n("sizemode");n("sizeref",d==="raw"?1:.5),n("anchor"),n("lighting.ambient"),n("lighting.diffuse"),n("lighting.specular"),n("lighting.roughness"),n("lighting.fresnel"),n("lightposition.x"),n("lightposition.y"),n("lightposition.z"),x(e,t,o,n,{prefix:"",cLetter:"c"}),n("text"),n("hovertext"),n("hovertemplate"),n("uhoverformat"),n("vhoverformat"),n("whoverformat"),n("xhoverformat"),n("yhoverformat"),n("zhoverformat"),t._length=null}}}),YI=ke({"src/traces/cone/calc.js"(Z,H){"use strict";var g=od();H.exports=function(A,S){for(var e=S.u,t=S.v,r=S.w,o=Math.min(S.x.length,S.y.length,S.z.length,e.length,t.length,r.length),n=-1/0,i=1/0,a=0;a2?d=h.slice(1,p-1):p===2?d=[(h[0]+h[1])/2]:d=h,d}function a(h){var p=h.length;return p===1?[.5,.5]:[h[1]-h[0],h[p-1]-h[p-2]]}function s(h,p){var d=h.fullSceneLayout,T=h.dataScale,l=p._len,_={};function w(fe,G){var $=d[G],J=T[r[G]];return A.simpleMap(fe,function(X){return $.d2l(X)*J})}if(_.vectors=t(w(p._u,"xaxis"),w(p._v,"yaxis"),w(p._w,"zaxis"),l),!l)return{positions:[],cells:[]};var M=w(p._Xs,"xaxis"),E=w(p._Ys,"yaxis"),m=w(p._Zs,"zaxis");_.meshgrid=[M,E,m],_.gridFill=p._gridFill;var b=p._slen;if(b)_.startingPositions=t(w(p._startsX,"xaxis"),w(p._startsY,"yaxis"),w(p._startsZ,"zaxis"));else{for(var v=E[0],u=i(M),y=i(m),f=new Array(u.length*y.length),P=0,L=0;Lv&&(v=P[0]),P[1]u&&(u=P[1])}function f(P){switch(P.type){case"GeometryCollection":P.geometries.forEach(f);break;case"Point":y(P.coordinates);break;case"MultiPoint":P.coordinates.forEach(y);break}}w.arcs.forEach(function(P){for(var L=-1,z=P.length,F;++Lv&&(v=F[0]),F[1]u&&(u=F[1])});for(E in w.objects)f(w.objects[E]);return[m,b,v,u]}function e(w,M){for(var E,m=w.length,b=m-M;b<--m;)E=w[b],w[b++]=w[m],w[m]=E}function t(w,M){return typeof M=="string"&&(M=w.objects[M]),M.type==="GeometryCollection"?{type:"FeatureCollection",features:M.geometries.map(function(E){return r(w,E)})}:r(w,M)}function r(w,M){var E=M.id,m=M.bbox,b=M.properties==null?{}:M.properties,v=o(w,M);return E==null&&m==null?{type:"Feature",properties:b,geometry:v}:m==null?{type:"Feature",id:E,properties:b,geometry:v}:{type:"Feature",id:E,bbox:m,properties:b,geometry:v}}function o(w,M){var E=A(w.transform),m=w.arcs;function b(L,z){z.length&&z.pop();for(var F=m[L<0?~L:L],B=0,O=F.length;B1)m=s(w,M,E);else for(b=0,m=new Array(v=w.arcs.length);b1)for(var z=1,F=y(P[0]),B,O;zF&&(O=P[0],P[0]=P[z],P[z]=O,F=B);return P}).filter(function(f){return f.length>0})}}function d(w,M){for(var E=0,m=w.length;E>>1;w[b]=2))throw new Error("n must be \u22652");f=w.bbox||S(w);var E=f[0],m=f[1],b=f[2],v=f[3],u;M={scale:[b-E?(b-E)/(u-1):1,v-m?(v-m)/(u-1):1],translate:[E,m]}}else f=w.bbox;var y=l(M),f,P,L=w.objects,z={};function F(I){return y(I)}function B(I){var N;switch(I.type){case"GeometryCollection":N={type:"GeometryCollection",geometries:I.geometries.map(B)};break;case"Point":N={type:"Point",coordinates:F(I.coordinates)};break;case"MultiPoint":N={type:"MultiPoint",coordinates:I.coordinates.map(F)};break;default:return I}return I.id!=null&&(N.id=I.id),I.bbox!=null&&(N.bbox=I.bbox),I.properties!=null&&(N.properties=I.properties),N}function O(I){var N=0,U=1,W=I.length,Q,le=new Array(W);for(le[0]=y(I[0],0);++N0&&(S.push(e),e=[])}return e.length>0&&S.push(e),S},Z.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},Z.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var x=new Array(g.length),A=0;Ae(B,z)),F)}function r(L,z,F={}){for(let O of L){if(O.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(O[O.length-1].length!==O[0].length)throw new Error("First and last Position are not equivalent.");for(let I=0;Ir(B,z)),F)}function n(L,z,F={}){if(L.length<2)throw new Error("coordinates must be an array of two or more positions");return A({type:"LineString",coordinates:L},z,F)}function i(L,z,F={}){return a(L.map(B=>n(B,z)),F)}function a(L,z={}){let F={type:"FeatureCollection"};return z.id&&(F.id=z.id),z.bbox&&(F.bbox=z.bbox),F.features=L,F}function s(L,z,F={}){return A({type:"MultiLineString",coordinates:L},z,F)}function c(L,z,F={}){return A({type:"MultiPoint",coordinates:L},z,F)}function h(L,z,F={}){return A({type:"MultiPolygon",coordinates:L},z,F)}function p(L,z,F={}){return A({type:"GeometryCollection",geometries:L},z,F)}function d(L,z=0){if(z&&!(z>=0))throw new Error("precision must be a positive number");let F=Math.pow(10,z||0);return Math.round(L*F)/F}function T(L,z="kilometers"){let F=g[z];if(!F)throw new Error(z+" units is invalid");return L*F}function l(L,z="kilometers"){let F=g[z];if(!F)throw new Error(z+" units is invalid");return L/F}function _(L,z){return E(l(L,z))}function w(L){let z=L%360;return z<0&&(z+=360),z}function M(L){return L=L%360,L>0?L>180?L-360:L:L<-180?L+360:L}function E(L){return L%(2*Math.PI)*180/Math.PI}function m(L){return L%360*Math.PI/180}function b(L,z="kilometers",F="kilometers"){if(!(L>=0))throw new Error("length must be a positive number");return T(l(L,z),F)}function v(L,z="meters",F="kilometers"){if(!(L>=0))throw new Error("area must be a positive number");let B=x[z];if(!B)throw new Error("invalid original units");let O=x[F];if(!O)throw new Error("invalid final units");return L/B*O}function u(L){return!isNaN(L)&&L!==null&&!Array.isArray(L)}function y(L){return L!==null&&typeof L=="object"&&!Array.isArray(L)}function f(L){if(!L)throw new Error("bbox is required");if(!Array.isArray(L))throw new Error("bbox must be an Array");if(L.length!==4&&L.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");L.forEach(z=>{if(!u(z))throw new Error("bbox must only contain numbers")})}function P(L){if(!L)throw new Error("id is required");if(["string","number"].indexOf(typeof L)===-1)throw new Error("id must be a number or a string")}Z.areaFactors=x,Z.azimuthToBearing=M,Z.bearingToAzimuth=w,Z.convertArea=v,Z.convertLength=b,Z.degreesToRadians=m,Z.earthRadius=H,Z.factors=g,Z.feature=A,Z.featureCollection=a,Z.geometry=S,Z.geometryCollection=p,Z.isNumber=u,Z.isObject=y,Z.lengthToDegrees=_,Z.lengthToRadians=l,Z.lineString=n,Z.lineStrings=i,Z.multiLineString=s,Z.multiPoint=c,Z.multiPolygon=h,Z.point=e,Z.points=t,Z.polygon=r,Z.polygons=o,Z.radiansToDegrees=E,Z.radiansToLength=T,Z.round=d,Z.validateBBox=f,Z.validateId=P}}),$x=ke({"node_modules/@turf/meta/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=Jx();function g(l,_,w){if(l!==null)for(var M,E,m,b,v,u,y,f=0,P=0,L,z=l.type,F=z==="FeatureCollection",B=z==="Feature",O=F?l.features.length:1,I=0;Iu||F>y||B>f){v=P,u=M,y=F,f=B,m=0;return}var O=H.lineString.call(void 0,[v,P],w.properties);if(_(O,M,E,B,m)===!1)return!1;m++,v=P})===!1)return!1}}})}function c(l,_,w){var M=w,E=!1;return s(l,function(m,b,v,u,y){E===!1&&w===void 0?M=m:M=_(M,m,b,v,u,y),E=!0}),M}function h(l,_){if(!l)throw new Error("geojson is required");i(l,function(w,M,E){if(w.geometry!==null){var m=w.geometry.type,b=w.geometry.coordinates;switch(m){case"LineString":if(_(w,M,E,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vi+A(a),0)}function A(n){let i=0,a;switch(n.type){case"Polygon":return S(n.coordinates);case"MultiPolygon":for(a=0;a0){i+=Math.abs(r(n[0]));for(let a=1;a=i?(s+2)%i:s+2],d=c[0]*t,T=h[1]*t,l=p[0]*t;a+=(l-d)*Math.sin(T),s++}return a*e}var o=x;Z.area=x,Z.default=o}}),s6=ke({"node_modules/@turf/centroid/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=Jx(),g=$x();function x(S,e={}){let t=0,r=0,o=0;return g.coordEach.call(void 0,S,function(n){t+=n[0],r+=n[1],o++},!0),H.point.call(void 0,[t/o,r/o],e.properties)}var A=x;Z.centroid=x,Z.default=A}}),l6=ke({"node_modules/@turf/bbox/dist/cjs/index.cjs"(Z){"use strict";Object.defineProperty(Z,"__esModule",{value:!0});var H=$x();function g(A,S={}){if(A.bbox!=null&&S.recompute!==!0)return A.bbox;let e=[1/0,1/0,-1/0,-1/0];return H.coordEach.call(void 0,A,t=>{e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]0&&z[F+1][0]<0)return F;return null}switch(b==="RUS"||b==="FJI"?u=function(z){var F;if(L(z)===null)F=z;else for(F=new Array(z.length),P=0;PF?B[O++]=[z[P][0]+360,z[P][1]]:P===F?(B[O++]=z[P],B[O++]=[z[P][0],-90]):B[O++]=z[P];var I=i.tester(B);I.pts.pop(),v.push(I)}:u=function(z){v.push(i.tester(z))},E.type){case"MultiPolygon":for(y=0;y0?I.properties.ct=l(I):I.properties.ct=[NaN,NaN],B.fIn=z,B.fOut=I,v.push(I)}else r.log(["Location",B.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete b[F]}switch(m.type){case"FeatureCollection":var P=m.features;for(u=0;uv&&(v=f,m=y)}else m=E;return S(m).geometry.coordinates}function _(M){var E=window.PlotlyGeoAssets||{},m=[];function b(P){return new Promise(function(L,z){g.json(P,function(F,B){if(F){delete E[P];var O=F.status===404?'GeoJSON at URL "'+P+'" does not exist.':"Unexpected error while fetching from "+P;return z(new Error(O))}return E[P]=B,L(B)})})}function v(P){return new Promise(function(L,z){var F=0,B=setInterval(function(){if(E[P]&&E[P]!=="pending")return clearInterval(B),L(E[P]);if(F>100)return clearInterval(B),z("Unexpected error while fetching from "+P);F++},50)})}for(var u=0;u")}}}),c6=ke({"src/traces/scattergeo/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){x.lon=A.lon,x.lat=A.lat,x.location=A.loc?A.loc:null;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x}}}),f6=ke({"src/traces/scattergeo/select.js"(Z,H){"use strict";var g=vu(),x=Hi().BADNUM;H.exports=function(S,e){var t=S.cd,r=S.xaxis,o=S.yaxis,n=[],i=t[0].trace,a,s,c,h,p,d=!g.hasMarkers(i)&&!g.hasText(i);if(d)return[];if(e===!1)for(p=0;pX?1:J>=X?0:NaN}function A(J){return J.length===1&&(J=S(J)),{left:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)<0?ae=ee+1:j=ee}return ae},right:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)>0?j=ee:ae=ee+1}return ae}}}function S(J){return function(X,re){return x(J(X),re)}}var e=A(x),t=e.right,r=e.left;function o(J,X){X==null&&(X=n);for(var re=0,ae=J.length-1,j=J[0],ee=new Array(ae<0?0:ae);reJ?1:X>=J?0:NaN}function s(J){return J===null?NaN:+J}function c(J,X){var re=J.length,ae=0,j=-1,ee=0,ie,ce,xe=0;if(X==null)for(;++j1)return xe/(ae-1)}function h(J,X){var re=c(J,X);return re&&Math.sqrt(re)}function p(J,X){var re=J.length,ae=-1,j,ee,ie;if(X==null){for(;++ae=j)for(ee=ie=j;++aej&&(ee=j),ie=j)for(ee=ie=j;++aej&&(ee=j),ie0)return[J];if((ae=X0)for(J=Math.ceil(J/ce),X=Math.floor(X/ce),ie=new Array(ee=Math.ceil(X-J+1));++j=0?(ee>=E?10:ee>=m?5:ee>=b?2:1)*Math.pow(10,j):-Math.pow(10,-j)/(ee>=E?10:ee>=m?5:ee>=b?2:1)}function y(J,X,re){var ae=Math.abs(X-J)/Math.max(0,re),j=Math.pow(10,Math.floor(Math.log(ae)/Math.LN10)),ee=ae/j;return ee>=E?j*=10:ee>=m?j*=5:ee>=b&&(j*=2),XIe;)Ye.pop(),--it;var at=new Array(it+1),tt;for(ee=0;ee<=it;++ee)tt=at[ee]=[],tt.x0=ee>0?Ye[ee-1]:Ue,tt.x1=ee=1)return+re(J[ae-1],ae-1,J);var ae,j=(ae-1)*X,ee=Math.floor(j),ie=+re(J[ee],ee,J),ce=+re(J[ee+1],ee+1,J);return ie+(ce-ie)*(j-ee)}}function z(J,X,re){return J=l.call(J,s).sort(x),Math.ceil((re-X)/(2*(L(J,.75)-L(J,.25))*Math.pow(J.length,-1/3)))}function F(J,X,re){return Math.ceil((re-X)/(3.5*h(J)*Math.pow(J.length,-1/3)))}function B(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aeee&&(ee=j)}else for(;++ae=j)for(ee=j;++aeee&&(ee=j);return ee}function O(J,X){var re=J.length,ae=re,j=-1,ee,ie=0;if(X==null)for(;++j=0;)for(ie=J[X],re=ie.length;--re>=0;)ee[--j]=ie[re];return ee}function U(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aej&&(ee=j)}else for(;++ae=j)for(ee=j;++aej&&(ee=j);return ee}function W(J,X){for(var re=X.length,ae=new Array(re);re--;)ae[re]=J[X[re]];return ae}function Q(J,X){if(re=J.length){var re,ae=0,j=0,ee,ie=J[j];for(X==null&&(X=x);++ae0?1:Yt<0?-1:0},v=Math.sqrt,u=Math.tan;function y(Yt){return Yt>1?0:Yt<-1?n:Math.acos(Yt)}function f(Yt){return Yt>1?i:Yt<-1?-i:Math.asin(Yt)}function P(Yt){return(Yt=m(Yt/2))*Yt}function L(){}function z(Yt,dr){Yt&&B.hasOwnProperty(Yt.type)&&B[Yt.type](Yt,dr)}var F={Feature:function(Yt,dr){z(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr=0?1:-1,Cn=Wr*tn,si=l(dr),yi=m(dr),Di=G*yi,Wi=fe*si+Di*l(Cn),aa=Di*Wr*m(Cn);U.add(T(aa,Wi)),se=Yt,fe=si,G=yi}function j(Yt){return W.reset(),N(Yt,$),W*2}function ee(Yt){return[T(Yt[1],Yt[0]),f(Yt[2])]}function ie(Yt){var dr=Yt[0],tn=Yt[1],Wr=l(tn);return[Wr*l(dr),Wr*m(dr),m(tn)]}function ce(Yt,dr){return Yt[0]*dr[0]+Yt[1]*dr[1]+Yt[2]*dr[2]}function xe(Yt,dr){return[Yt[1]*dr[2]-Yt[2]*dr[1],Yt[2]*dr[0]-Yt[0]*dr[2],Yt[0]*dr[1]-Yt[1]*dr[0]]}function Te(Yt,dr){Yt[0]+=dr[0],Yt[1]+=dr[1],Yt[2]+=dr[2]}function Ue(Yt,dr){return[Yt[0]*dr,Yt[1]*dr,Yt[2]*dr]}function Ie(Yt){var dr=v(Yt[0]*Yt[0]+Yt[1]*Yt[1]+Yt[2]*Yt[2]);Yt[0]/=dr,Yt[1]/=dr,Yt[2]/=dr}var Ye,it,at,tt,ut,Me,pe,ue,Oe=A(),rt,ot,et={point:Lt,lineStart:Bt,lineEnd:qt,polygonStart:function(){et.point=fr,et.lineStart=ar,et.lineEnd=Rr,Oe.reset(),$.polygonStart()},polygonEnd:function(){$.polygonEnd(),et.point=Lt,et.lineStart=Bt,et.lineEnd=qt,U<0?(Ye=-(at=180),it=-(tt=90)):Oe>r?tt=90:Oe<-r&&(it=-90),ot[0]=Ye,ot[1]=at},sphere:function(){Ye=-(at=180),it=-(tt=90)}};function Lt(Yt,dr){rt.push(ot=[Ye=Yt,at=Yt]),drtt&&(tt=dr)}function Et(Yt,dr){var tn=ie([Yt*h,dr*h]);if(ue){var Wr=xe(ue,tn),Cn=[Wr[1],-Wr[0],0],si=xe(Cn,Wr);Ie(si),si=ee(si);var yi=Yt-ut,Di=yi>0?1:-1,Wi=si[0]*c*Di,aa,bi=p(yi)>180;bi^(Di*uttt&&(tt=aa)):(Wi=(Wi+360)%360-180,bi^(Di*uttt&&(tt=dr))),bi?Ytgr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt):at>=Ye?(Ytat&&(at=Yt)):Yt>ut?gr(Ye,Yt)>gr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt)}else rt.push(ot=[Ye=Yt,at=Yt]);drtt&&(tt=dr),ue=tn,ut=Yt}function Bt(){et.point=Et}function qt(){ot[0]=Ye,ot[1]=at,et.point=Lt,ue=null}function fr(Yt,dr){if(ue){var tn=Yt-ut;Oe.add(p(tn)>180?tn+(tn>0?360:-360):tn)}else Me=Yt,pe=dr;$.point(Yt,dr),Et(Yt,dr)}function ar(){$.lineStart()}function Rr(){fr(Me,pe),$.lineEnd(),p(Oe)>r&&(Ye=-(at=180)),ot[0]=Ye,ot[1]=at,ue=null}function gr(Yt,dr){return(dr-=Yt)<0?dr+360:dr}function br(Yt,dr){return Yt[0]-dr[0]}function _t(Yt,dr){return Yt[0]<=Yt[1]?Yt[0]<=dr&&dr<=Yt[1]:drgr(Wr[0],Wr[1])&&(Wr[1]=Cn[1]),gr(Cn[0],Wr[1])>gr(Wr[0],Wr[1])&&(Wr[0]=Cn[0])):si.push(Wr=Cn);for(yi=-1/0,tn=si.length-1,dr=0,Wr=si[tn];dr<=tn;Wr=Cn,++dr)Cn=si[dr],(Di=gr(Wr[1],Cn[0]))>yi&&(yi=Di,Ye=Cn[0],at=Wr[1])}return rt=ot=null,Ye===1/0||it===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ye,it],[at,tt]]}var Ke,je,Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt,$t,ur,pn,Rn={sphere:L,point:Nn,lineStart:ni,lineEnd:gi,polygonStart:function(){Rn.lineStart=Zt,Rn.lineEnd=Ft},polygonEnd:function(){Rn.lineStart=ni,Rn.lineEnd=gi}};function Nn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);On(tn*l(Yt),tn*m(Yt),m(dr))}function On(Yt,dr,tn){++Ke,Se+=(Yt-Se)/Ke,He+=(dr-He)/Ke,Ee+=(tn-Ee)/Ke}function ni(){Rn.point=zn}function zn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),Rn.point=Qn,On($t,ur,pn)}function Qn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=T(v((yi=ur*si-pn*Cn)*yi+(yi=pn*Wr-$t*si)*yi+(yi=$t*Cn-ur*Wr)*yi),$t*Wr+ur*Cn+pn*si);je+=yi,we+=yi*($t+($t=Wr)),Le+=yi*(ur+(ur=Cn)),nt+=yi*(pn+(pn=si)),On($t,ur,pn)}function gi(){Rn.point=Nn}function Zt(){Rn.point=Ht}function Ft(){Vt(Nt,Xt),Rn.point=Nn}function Ht(Yt,dr){Nt=Yt,Xt=dr,Yt*=h,dr*=h,Rn.point=Vt;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),On($t,ur,pn)}function Vt(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=ur*si-pn*Cn,Di=pn*Wr-$t*si,Wi=$t*Cn-ur*Wr,aa=v(yi*yi+Di*Di+Wi*Wi),bi=f(aa),zi=aa&&-bi/aa;pt+=zi*yi,bt+=zi*Di,Rt+=zi*Wi,je+=bi,we+=bi*($t+($t=Wr)),Le+=bi*(ur+(ur=Cn)),nt+=bi*(pn+(pn=si)),On($t,ur,pn)}function wr(Yt){Ke=je=Se=He=Ee=we=Le=nt=pt=bt=Rt=0,N(Yt,Rn);var dr=pt,tn=bt,Wr=Rt,Cn=dr*dr+tn*tn+Wr*Wr;return Cnn?Yt+Math.round(-Yt/s)*s:Yt,dr]}en.invert=en;function Fn(Yt,dr,tn){return(Yt%=s)?dr||tn?xn(ri(Yt),Sn(dr,tn)):ri(Yt):dr||tn?Sn(dr,tn):en}function Wn(Yt){return function(dr,tn){return dr+=Yt,[dr>n?dr-s:dr<-n?dr+s:dr,tn]}}function ri(Yt){var dr=Wn(Yt);return dr.invert=Wn(-Yt),dr}function Sn(Yt,dr){var tn=l(Yt),Wr=m(Yt),Cn=l(dr),si=m(dr);function yi(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*tn+bi*Wr;return[T(zi*Cn-di*si,bi*tn-Li*Wr),f(di*Cn+zi*si)]}return yi.invert=function(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*Cn-zi*si;return[T(zi*Cn+Li*si,bi*tn+di*Wr),f(di*tn-bi*Wr)]},yi}function ui(Yt){Yt=Fn(Yt[0]*h,Yt[1]*h,Yt.length>2?Yt[2]*h:0);function dr(tn){return tn=Yt(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn}return dr.invert=function(tn){return tn=Yt.invert(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn},dr}function gt(Yt,dr,tn,Wr,Cn,si){if(tn){var yi=l(dr),Di=m(dr),Wi=Wr*tn;Cn==null?(Cn=dr+Wr*s,si=dr-Wi/2):(Cn=yt(yi,Cn),si=yt(yi,si),(Wr>0?Cnsi)&&(Cn+=Wr*s));for(var aa,bi=Cn;Wr>0?bi>si:bi1&&Yt.push(Yt.pop().concat(Yt.shift()))},result:function(){var tn=Yt;return Yt=[],dr=null,tn}}}function Tr(Yt,dr){return p(Yt[0]-dr[0])=0;--Di)Cn.point((zi=bi[Di])[0],zi[1]);else Wr(Li.x,Li.p.x,-1,Cn);Li=Li.p}Li=Li.o,bi=Li.z,di=!di}while(!Li.v);Cn.lineEnd()}}}function Ur(Yt){if(dr=Yt.length){for(var dr,tn=0,Wr=Yt[0],Cn;++tn=0?1:-1,Ns=il*Ds,el=Ns>n,Es=po*Lo;if(Dr.add(T(Es*il*m(Ns),co*as+Es*l(Ns))),yi+=el?Ds+il*s:Ds,el^di>=tn^xa>=tn){var Bl=xe(ie(Li),ie(Ao));Ie(Bl);var _l=xe(si,Bl);Ie(_l);var cl=(el^Ds>=0?-1:1)*f(_l[2]);(Wr>cl||Wr===cl&&(Bl[0]||Bl[1]))&&(Di+=el^Ds>=0?1:-1)}}return(yi<-r||yi0){for(Wi||(Cn.polygonStart(),Wi=!0),Cn.lineStart(),as=0;as1&&Qi&2&&Lo.push(Lo.pop().concat(Lo.shift())),bi.push(Lo.filter(kt))}}return Li}}function kt(Yt){return Yt.length>1}function or(Yt,dr){return((Yt=Yt.x)[0]<0?Yt[1]-i-r:i-Yt[1])-((dr=dr.x)[0]<0?dr[1]-i-r:i-dr[1])}var yr=gn(function(){return!0},on,Zn,[-n,-i]);function on(Yt){var dr=NaN,tn=NaN,Wr=NaN,Cn;return{lineStart:function(){Yt.lineStart(),Cn=1},point:function(si,yi){var Di=si>0?n:-n,Wi=p(si-dr);p(Wi-n)0?i:-i),Yt.point(Wr,tn),Yt.lineEnd(),Yt.lineStart(),Yt.point(Di,tn),Yt.point(si,tn),Cn=0):Wr!==Di&&Wi>=n&&(p(dr-Wr)r?d((m(dr)*(si=l(Wr))*m(tn)-m(Wr)*(Cn=l(dr))*m(Yt))/(Cn*si*yi)):(dr+Wr)/2}function Zn(Yt,dr,tn,Wr){var Cn;if(Yt==null)Cn=tn*i,Wr.point(-n,Cn),Wr.point(0,Cn),Wr.point(n,Cn),Wr.point(n,0),Wr.point(n,-Cn),Wr.point(0,-Cn),Wr.point(-n,-Cn),Wr.point(-n,0),Wr.point(-n,Cn);else if(p(Yt[0]-dr[0])>r){var si=Yt[0]0,Cn=p(dr)>r;function si(bi,zi,Li,di){gt(di,Yt,tn,Li,bi,zi)}function yi(bi,zi){return l(bi)*l(zi)>dr}function Di(bi){var zi,Li,di,wa,po;return{lineStart:function(){wa=di=!1,po=1},point:function(co,mo){var Ao=[co,mo],xa,Qi=yi(co,mo),Lo=Wr?Qi?0:aa(co,mo):Qi?aa(co+(co<0?n:-n),mo):0;if(!zi&&(wa=di=Qi)&&bi.lineStart(),Qi!==di&&(xa=Wi(zi,Ao),(!xa||Tr(zi,xa)||Tr(Ao,xa))&&(Ao[2]=1)),Qi!==di)po=0,Qi?(bi.lineStart(),xa=Wi(Ao,zi),bi.point(xa[0],xa[1])):(xa=Wi(zi,Ao),bi.point(xa[0],xa[1],2),bi.lineEnd()),zi=xa;else if(Cn&&zi&&Wr^Qi){var as;!(Lo&Li)&&(as=Wi(Ao,zi,!0))&&(po=0,Wr?(bi.lineStart(),bi.point(as[0][0],as[0][1]),bi.point(as[1][0],as[1][1]),bi.lineEnd()):(bi.point(as[1][0],as[1][1]),bi.lineEnd(),bi.lineStart(),bi.point(as[0][0],as[0][1],3)))}Qi&&(!zi||!Tr(zi,Ao))&&bi.point(Ao[0],Ao[1]),zi=Ao,di=Qi,Li=Lo},lineEnd:function(){di&&bi.lineEnd(),zi=null},clean:function(){return po|(wa&&di)<<1}}}function Wi(bi,zi,Li){var di=ie(bi),wa=ie(zi),po=[1,0,0],co=xe(di,wa),mo=ce(co,co),Ao=co[0],xa=mo-Ao*Ao;if(!xa)return!Li&&bi;var Qi=dr*mo/xa,Lo=-dr*Ao/xa,as=xe(po,co),Ds=Ue(po,Qi),il=Ue(co,Lo);Te(Ds,il);var Ns=as,el=ce(Ds,Ns),Es=ce(Ns,Ns),Bl=el*el-Es*(ce(Ds,Ds)-1);if(!(Bl<0)){var _l=v(Bl),cl=Ue(Ns,(-el-_l)/Es);if(Te(cl,Ds),cl=ee(cl),!Li)return cl;var Za=bi[0],jo=zi[0],Js=bi[1],zs=zi[1],cu;jo0^cl[1]<(p(cl[0]-Za)n^(Za<=cl[0]&&cl[0]<=jo)){var Tu=Ue(Ns,(-el+_l)/Es);return Te(Tu,Ds),[cl,ee(Tu)]}}}function aa(bi,zi){var Li=Wr?Yt:n-Yt,di=0;return bi<-Li?di|=1:bi>Li&&(di|=2),zi<-Li?di|=4:zi>Li&&(di|=8),di}return gn(yi,Di,si,Wr?[0,-Yt]:[-n,Yt-n])}function wn(Yt,dr,tn,Wr,Cn,si){var yi=Yt[0],Di=Yt[1],Wi=dr[0],aa=dr[1],bi=0,zi=1,Li=Wi-yi,di=aa-Di,wa;if(wa=tn-yi,!(!Li&&wa>0)){if(wa/=Li,Li<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=Cn-yi,!(!Li&&wa<0)){if(wa/=Li,Li<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(Li>0){if(wa0)){if(wa/=di,di<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=si-Di,!(!di&&wa<0)){if(wa/=di,di<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(di>0){if(wa0&&(Yt[0]=yi+bi*Li,Yt[1]=Di+bi*di),zi<1&&(dr[0]=yi+zi*Li,dr[1]=Di+zi*di),!0}}}}}var Dn=1e9,Ui=-Dn;function pi(Yt,dr,tn,Wr){function Cn(aa,bi){return Yt<=aa&&aa<=tn&&dr<=bi&&bi<=Wr}function si(aa,bi,zi,Li){var di=0,wa=0;if(aa==null||(di=yi(aa,zi))!==(wa=yi(bi,zi))||Wi(aa,bi)<0^zi>0)do Li.point(di===0||di===3?Yt:tn,di>1?Wr:dr);while((di=(di+zi+4)%4)!==wa);else Li.point(bi[0],bi[1])}function yi(aa,bi){return p(aa[0]-Yt)0?0:3:p(aa[0]-tn)0?2:1:p(aa[1]-dr)0?1:0:bi>0?3:2}function Di(aa,bi){return Wi(aa.x,bi.x)}function Wi(aa,bi){var zi=yi(aa,1),Li=yi(bi,1);return zi!==Li?zi-Li:zi===0?bi[1]-aa[1]:zi===1?aa[0]-bi[0]:zi===2?aa[1]-bi[1]:bi[0]-aa[0]}return function(aa){var bi=aa,zi=Ir(),Li,di,wa,po,co,mo,Ao,xa,Qi,Lo,as,Ds={point:il,lineStart:Bl,lineEnd:_l,polygonStart:el,polygonEnd:Es};function il(Za,jo){Cn(Za,jo)&&bi.point(Za,jo)}function Ns(){for(var Za=0,jo=0,Js=di.length;joWr&&(zc-Kc)*(Wr-Tu)>(Fu-Tu)*(Yt-Kc)&&++Za:Fu<=Wr&&(zc-Kc)*(Wr-Tu)<(Fu-Tu)*(Yt-Kc)&&--Za;return Za}function el(){bi=zi,Li=[],di=[],as=!0}function Es(){var Za=Ns(),jo=as&&Za,Js=(Li=x.merge(Li)).length;(jo||Js)&&(aa.polygonStart(),jo&&(aa.lineStart(),si(null,null,1,aa),aa.lineEnd()),Js&&Lr(Li,Di,Za,si,aa),aa.polygonEnd()),bi=aa,Li=di=wa=null}function Bl(){Ds.point=cl,di&&di.push(wa=[]),Lo=!0,Qi=!1,Ao=xa=NaN}function _l(){Li&&(cl(po,co),mo&&Qi&&zi.rejoin(),Li.push(zi.result())),Ds.point=il,Qi&&bi.lineEnd()}function cl(Za,jo){var Js=Cn(Za,jo);if(di&&wa.push([Za,jo]),Lo)po=Za,co=jo,mo=Js,Lo=!1,Js&&(bi.lineStart(),bi.point(Za,jo));else if(Js&&Qi)bi.point(Za,jo);else{var zs=[Ao=Math.max(Ui,Math.min(Dn,Ao)),xa=Math.max(Ui,Math.min(Dn,xa))],cu=[Za=Math.max(Ui,Math.min(Dn,Za)),jo=Math.max(Ui,Math.min(Dn,jo))];wn(zs,cu,Yt,dr,tn,Wr)?(Qi||(bi.lineStart(),bi.point(zs[0],zs[1])),bi.point(cu[0],cu[1]),Js||bi.lineEnd(),as=!1):Js&&(bi.lineStart(),bi.point(Za,jo),as=!1)}Ao=Za,xa=jo,Qi=Js}return Ds}}function Ta(){var Yt=0,dr=0,tn=960,Wr=500,Cn,si,yi;return yi={stream:function(Di){return Cn&&si===Di?Cn:Cn=pi(Yt,dr,tn,Wr)(si=Di)},extent:function(Di){return arguments.length?(Yt=+Di[0][0],dr=+Di[0][1],tn=+Di[1][0],Wr=+Di[1][1],Cn=si=null,yi):[[Yt,dr],[tn,Wr]]}}}var Sa=A(),qa,to,yo,Xa={sphere:L,point:L,lineStart:Go,lineEnd:L,polygonStart:L,polygonEnd:L};function Go(){Xa.point=cs,Xa.lineEnd=pa}function pa(){Xa.point=Xa.lineEnd=L}function cs(Yt,dr){Yt*=h,dr*=h,qa=Yt,to=m(dr),yo=l(dr),Xa.point=Ko}function Ko(Yt,dr){Yt*=h,dr*=h;var tn=m(dr),Wr=l(dr),Cn=p(Yt-qa),si=l(Cn),yi=m(Cn),Di=Wr*yi,Wi=yo*tn-to*Wr*si,aa=to*tn+yo*Wr*si;Sa.add(T(v(Di*Di+Wi*Wi),aa)),qa=Yt,to=tn,yo=Wr}function gs(Yt){return Sa.reset(),N(Yt,Xa),+Sa}var Ya=[null,null],zo={type:"LineString",coordinates:Ya};function Ka(Yt,dr){return Ya[0]=Yt,Ya[1]=dr,gs(zo)}var Yo={Feature:function(Yt,dr){return hs(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr0&&(Cn=Ka(Yt[si],Yt[si-1]),Cn>0&&tn<=Cn&&Wr<=Cn&&(tn+Wr-Cn)*(1-Math.pow((tn-Wr)/Cn,2))r}).map(Li)).concat(x.range(_(si/aa)*aa,Cn,aa).filter(function(xa){return p(xa%zi)>r}).map(di))}return mo.lines=function(){return Ao().map(function(xa){return{type:"LineString",coordinates:xa}})},mo.outline=function(){return{type:"Polygon",coordinates:[wa(Wr).concat(po(yi).slice(1),wa(tn).reverse().slice(1),po(Di).reverse().slice(1))]}},mo.extent=function(xa){return arguments.length?mo.extentMajor(xa).extentMinor(xa):mo.extentMinor()},mo.extentMajor=function(xa){return arguments.length?(Wr=+xa[0][0],tn=+xa[1][0],Di=+xa[0][1],yi=+xa[1][1],Wr>tn&&(xa=Wr,Wr=tn,tn=xa),Di>yi&&(xa=Di,Di=yi,yi=xa),mo.precision(co)):[[Wr,Di],[tn,yi]]},mo.extentMinor=function(xa){return arguments.length?(dr=+xa[0][0],Yt=+xa[1][0],si=+xa[0][1],Cn=+xa[1][1],dr>Yt&&(xa=dr,dr=Yt,Yt=xa),si>Cn&&(xa=si,si=Cn,Cn=xa),mo.precision(co)):[[dr,si],[Yt,Cn]]},mo.step=function(xa){return arguments.length?mo.stepMajor(xa).stepMinor(xa):mo.stepMinor()},mo.stepMajor=function(xa){return arguments.length?(bi=+xa[0],zi=+xa[1],mo):[bi,zi]},mo.stepMinor=function(xa){return arguments.length?(Wi=+xa[0],aa=+xa[1],mo):[Wi,aa]},mo.precision=function(xa){return arguments.length?(co=+xa,Li=Mi(si,Cn,90),di=Da(dr,Yt,co),wa=Mi(Di,yi,90),po=Da(Wr,tn,co),mo):co},mo.extentMajor([[-180,-90+r],[180,90-r]]).extentMinor([[-180,-80-r],[180,80+r]])}function Xs(){return pl()()}function Eo(Yt,dr){var tn=Yt[0]*h,Wr=Yt[1]*h,Cn=dr[0]*h,si=dr[1]*h,yi=l(Wr),Di=m(Wr),Wi=l(si),aa=m(si),bi=yi*l(tn),zi=yi*m(tn),Li=Wi*l(Cn),di=Wi*m(Cn),wa=2*f(v(P(si-Wr)+yi*Wi*P(Cn-tn))),po=m(wa),co=wa?function(mo){var Ao=m(mo*=wa)/po,xa=m(wa-mo)/po,Qi=xa*bi+Ao*Li,Lo=xa*zi+Ao*di,as=xa*Di+Ao*aa;return[T(Lo,Qi)*c,T(as,v(Qi*Qi+Lo*Lo))*c]}:function(){return[tn*c,Wr*c]};return co.distance=wa,co}function Ys(Yt){return Yt}var As=A(),hl=A(),wl,la,Uo,vo,Ps={point:L,lineStart:L,lineEnd:L,polygonStart:function(){Ps.lineStart=ls,Ps.lineEnd=Ku},polygonEnd:function(){Ps.lineStart=Ps.lineEnd=Ps.point=L,As.add(p(hl)),hl.reset()},result:function(){var Yt=As/2;return As.reset(),Yt}};function ls(){Ps.point=no}function no(Yt,dr){Ps.point=$l,wl=Uo=Yt,la=vo=dr}function $l(Yt,dr){hl.add(vo*Yt-Uo*dr),Uo=Yt,vo=dr}function Ku(){$l(wl,la)}var Tl=1/0,Vu=Tl,Rl=-Tl,Qs=Rl,nu={point:qu,lineStart:L,lineEnd:L,polygonStart:L,polygonEnd:L,result:function(){var Yt=[[Tl,Vu],[Rl,Qs]];return Rl=Qs=-(Vu=Tl=1/0),Yt}};function qu(Yt,dr){YtRl&&(Rl=Yt),drQs&&(Qs=dr)}var kc=0,Ju=0,sh=0,uf=0,qs=0,Hc=0,bf=0,Ql=0,Al=0,oc,gc,nl,Ml,Zs={point:sl,lineStart:sc,lineEnd:ll,polygonStart:function(){Zs.lineStart=Nh,Zs.lineEnd=ds},polygonEnd:function(){Zs.point=sl,Zs.lineStart=sc,Zs.lineEnd=ll},result:function(){var Yt=Al?[bf/Al,Ql/Al]:Hc?[uf/Hc,qs/Hc]:sh?[kc/sh,Ju/sh]:[NaN,NaN];return kc=Ju=sh=uf=qs=Hc=bf=Ql=Al=0,Yt}};function sl(Yt,dr){kc+=Yt,Ju+=dr,++sh}function sc(){Zs.point=jl}function jl(Yt,dr){Zs.point=$u,sl(nl=Yt,Ml=dr)}function $u(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,sl(nl=Yt,Ml=dr)}function ll(){Zs.point=sl}function Nh(){Zs.point=Sh}function ds(){Bs(oc,gc)}function Sh(Yt,dr){Zs.point=Bs,sl(oc=nl=Yt,gc=Ml=dr)}function Bs(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,Cn=Ml*Yt-nl*dr,bf+=Cn*(nl+Yt),Ql+=Cn*(Ml+dr),Al+=Cn*3,sl(nl=Yt,Ml=dr)}function Vo(Yt){this._context=Yt}Vo.prototype={_radius:4.5,pointRadius:function(Yt){return this._radius=Yt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._context.moveTo(Yt,dr),this._point=1;break}case 1:{this._context.lineTo(Yt,dr);break}default:{this._context.moveTo(Yt+this._radius,dr),this._context.arc(Yt,dr,this._radius,0,s);break}}},result:L};var rf=A(),Qu,pu,Df,Lc,nf,Vl={point:L,lineStart:function(){Vl.point=Jf},lineEnd:function(){Qu&&zf(pu,Df),Vl.point=L},polygonStart:function(){Qu=!0},polygonEnd:function(){Qu=null},result:function(){var Yt=+rf;return rf.reset(),Yt}};function Jf(Yt,dr){Vl.point=zf,pu=Lc=Yt,Df=nf=dr}function zf(Yt,dr){Lc-=Yt,nf-=dr,rf.add(v(Lc*Lc+nf*nf)),Lc=Yt,nf=dr}function wf(){this._string=[]}wf.prototype={_radius:4.5,_circle:Gc(4.5),pointRadius:function(Yt){return(Yt=+Yt)!==this._radius&&(this._radius=Yt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._string.push("M",Yt,",",dr),this._point=1;break}case 1:{this._string.push("L",Yt,",",dr);break}default:{this._circle==null&&(this._circle=Gc(this._radius)),this._string.push("M",Yt,",",dr,this._circle);break}}},result:function(){if(this._string.length){var Yt=this._string.join("");return this._string=[],Yt}else return null}};function Gc(Yt){return"m0,"+Yt+"a"+Yt+","+Yt+" 0 1,1 0,"+-2*Yt+"a"+Yt+","+Yt+" 0 1,1 0,"+2*Yt+"z"}function Ff(Yt,dr){var tn=4.5,Wr,Cn;function si(yi){return yi&&(typeof tn=="function"&&Cn.pointRadius(+tn.apply(this,arguments)),N(yi,Wr(Cn))),Cn.result()}return si.area=function(yi){return N(yi,Wr(Ps)),Ps.result()},si.measure=function(yi){return N(yi,Wr(Vl)),Vl.result()},si.bounds=function(yi){return N(yi,Wr(nu)),nu.result()},si.centroid=function(yi){return N(yi,Wr(Zs)),Zs.result()},si.projection=function(yi){return arguments.length?(Wr=yi==null?(Yt=null,Ys):(Yt=yi).stream,si):Yt},si.context=function(yi){return arguments.length?(Cn=yi==null?(dr=null,new wf):new Vo(dr=yi),typeof tn!="function"&&Cn.pointRadius(tn),si):dr},si.pointRadius=function(yi){return arguments.length?(tn=typeof yi=="function"?yi:(Cn.pointRadius(+yi),+yi),si):tn},si.projection(Yt).context(dr)}function $f(Yt){return{stream:ec(Yt)}}function ec(Yt){return function(dr){var tn=new Tf;for(var Wr in Yt)tn[Wr]=Yt[Wr];return tn.stream=dr,tn}}function Tf(){}Tf.prototype={constructor:Tf,point:function(Yt,dr){this.stream.point(Yt,dr)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Pc(Yt,dr,tn){var Wr=Yt.clipExtent&&Yt.clipExtent();return Yt.scale(150).translate([0,0]),Wr!=null&&Yt.clipExtent(null),N(tn,Yt.stream(nu)),dr(nu.result()),Wr!=null&&Yt.clipExtent(Wr),Yt}function Wc(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=dr[1][0]-dr[0][0],si=dr[1][1]-dr[0][1],yi=Math.min(Cn/(Wr[1][0]-Wr[0][0]),si/(Wr[1][1]-Wr[0][1])),Di=+dr[0][0]+(Cn-yi*(Wr[1][0]+Wr[0][0]))/2,Wi=+dr[0][1]+(si-yi*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*yi).translate([Di,Wi])},tn)}function Pu(Yt,dr,tn){return Wc(Yt,[[0,0],dr],tn)}function cf(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][0]-Wr[0][0]),yi=(Cn-si*(Wr[1][0]+Wr[0][0]))/2,Di=-si*Wr[0][1];Yt.scale(150*si).translate([yi,Di])},tn)}function Ic(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][1]-Wr[0][1]),yi=-si*Wr[0][0],Di=(Cn-si*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*si).translate([yi,Di])},tn)}var Ks=16,Of=l(30*h);function Eh(Yt,dr){return+dr?af(Yt,dr):Qf(Yt)}function Qf(Yt){return ec({point:function(dr,tn){dr=Yt(dr,tn),this.stream.point(dr[0],dr[1])}})}function af(Yt,dr){function tn(Wr,Cn,si,yi,Di,Wi,aa,bi,zi,Li,di,wa,po,co){var mo=aa-Wr,Ao=bi-Cn,xa=mo*mo+Ao*Ao;if(xa>4*dr&&po--){var Qi=yi+Li,Lo=Di+di,as=Wi+wa,Ds=v(Qi*Qi+Lo*Lo+as*as),il=f(as/=Ds),Ns=p(p(as)-1)dr||p((mo*_l+Ao*cl)/xa-.5)>.3||yi*Li+Di*di+Wi*wa2?Za[2]%360*h:0,_l()):[Di*c,Wi*c,aa*c]},Es.angle=function(Za){return arguments.length?(zi=Za%360*h,_l()):zi*c},Es.reflectX=function(Za){return arguments.length?(Li=Za?-1:1,_l()):Li<0},Es.reflectY=function(Za){return arguments.length?(di=Za?-1:1,_l()):di<0},Es.precision=function(Za){return arguments.length?(as=Eh(Ds,Lo=Za*Za),cl()):v(Lo)},Es.fitExtent=function(Za,jo){return Wc(Es,Za,jo)},Es.fitSize=function(Za,jo){return Pu(Es,Za,jo)},Es.fitWidth=function(Za,jo){return cf(Es,Za,jo)},Es.fitHeight=function(Za,jo){return Ic(Es,Za,jo)};function _l(){var Za=su(tn,0,0,Li,di,zi).apply(null,dr(si,yi)),jo=(zi?su:eh)(tn,Wr-Za[0],Cn-Za[1],Li,di,zi);return bi=Fn(Di,Wi,aa),Ds=xn(dr,jo),il=xn(bi,Ds),as=Eh(Ds,Lo),cl()}function cl(){return Ns=el=null,Es}return function(){return dr=Yt.apply(this,arguments),Es.invert=dr.invert&&Bl,_l()}}function Dl(Yt){var dr=0,tn=n/3,Wr=yc(Yt),Cn=Wr(dr,tn);return Cn.parallels=function(si){return arguments.length?Wr(dr=si[0]*h,tn=si[1]*h):[dr*c,tn*c]},Cn}function Rc(Yt){var dr=l(Yt);function tn(Wr,Cn){return[Wr*dr,m(Cn)/dr]}return tn.invert=function(Wr,Cn){return[Wr/dr,f(Cn*dr)]},tn}function tc(Yt,dr){var tn=m(Yt),Wr=(tn+m(dr))/2;if(p(Wr)=.12&&co<.234&&po>=-.425&&po<-.214?Cn:co>=.166&&co<.234&&po>=-.214&&po<-.115?yi:tn).invert(Li)},bi.stream=function(Li){return Yt&&dr===Li?Yt:Yt=th([tn.stream(dr=Li),Cn.stream(Li),yi.stream(Li)])},bi.precision=function(Li){return arguments.length?(tn.precision(Li),Cn.precision(Li),yi.precision(Li),zi()):tn.precision()},bi.scale=function(Li){return arguments.length?(tn.scale(Li),Cn.scale(Li*.35),yi.scale(Li),bi.translate(tn.translate())):tn.scale()},bi.translate=function(Li){if(!arguments.length)return tn.translate();var di=tn.scale(),wa=+Li[0],po=+Li[1];return Wr=tn.translate(Li).clipExtent([[wa-.455*di,po-.238*di],[wa+.455*di,po+.238*di]]).stream(aa),si=Cn.translate([wa-.307*di,po+.201*di]).clipExtent([[wa-.425*di+r,po+.12*di+r],[wa-.214*di-r,po+.234*di-r]]).stream(aa),Di=yi.translate([wa-.205*di,po+.212*di]).clipExtent([[wa-.214*di+r,po+.166*di+r],[wa-.115*di-r,po+.234*di-r]]).stream(aa),zi()},bi.fitExtent=function(Li,di){return Wc(bi,Li,di)},bi.fitSize=function(Li,di){return Pu(bi,Li,di)},bi.fitWidth=function(Li,di){return cf(bi,Li,di)},bi.fitHeight=function(Li,di){return Ic(bi,Li,di)};function zi(){return Yt=dr=null,bi}return bi.scale(1070)}function Hu(Yt){return function(dr,tn){var Wr=l(dr),Cn=l(tn),si=Yt(Wr*Cn);return[si*Cn*m(dr),si*m(tn)]}}function _c(Yt){return function(dr,tn){var Wr=v(dr*dr+tn*tn),Cn=Yt(Wr),si=m(Cn),yi=l(Cn);return[T(dr*si,Wr*yi),f(Wr&&tn*si/Wr)]}}var lc=Hu(function(Yt){return v(2/(1+Yt))});lc.invert=_c(function(Yt){return 2*f(Yt/2)});function Uh(){return Ru(lc).scale(124.75).clipAngle(180-.001)}var of=Hu(function(Yt){return(Yt=y(Yt))&&Yt/m(Yt)});of.invert=_c(function(Yt){return Yt});function ff(){return Ru(of).scale(79.4188).clipAngle(180-.001)}function Du(Yt,dr){return[Yt,M(u((i+dr)/2))]}Du.invert=function(Yt,dr){return[Yt,2*d(w(dr))-i]};function Af(){return lu(Du).scale(961/s)}function lu(Yt){var dr=Ru(Yt),tn=dr.center,Wr=dr.scale,Cn=dr.translate,si=dr.clipExtent,yi=null,Di,Wi,aa;dr.scale=function(zi){return arguments.length?(Wr(zi),bi()):Wr()},dr.translate=function(zi){return arguments.length?(Cn(zi),bi()):Cn()},dr.center=function(zi){return arguments.length?(tn(zi),bi()):tn()},dr.clipExtent=function(zi){return arguments.length?(zi==null?yi=Di=Wi=aa=null:(yi=+zi[0][0],Di=+zi[0][1],Wi=+zi[1][0],aa=+zi[1][1]),bi()):yi==null?null:[[yi,Di],[Wi,aa]]};function bi(){var zi=n*Wr(),Li=dr(ui(dr.rotate()).invert([0,0]));return si(yi==null?[[Li[0]-zi,Li[1]-zi],[Li[0]+zi,Li[1]+zi]]:Yt===Du?[[Math.max(Li[0]-zi,yi),Di],[Math.min(Li[0]+zi,Wi),aa]]:[[yi,Math.max(Li[1]-zi,Di)],[Wi,Math.min(Li[1]+zi,aa)]])}return bi()}function Xc(Yt){return u((i+Yt)/2)}function ch(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):M(tn/l(dr))/M(Xc(dr)/Xc(Yt)),Cn=tn*E(Xc(Yt),Wr)/Wr;if(!Wr)return Du;function si(yi,Di){Cn>0?Di<-i+r&&(Di=-i+r):Di>i-r&&(Di=i-r);var Wi=Cn/E(Xc(Di),Wr);return[Wi*m(Wr*yi),Cn-Wi*l(Wr*yi)]}return si.invert=function(yi,Di){var Wi=Cn-Di,aa=b(Wr)*v(yi*yi+Wi*Wi),bi=T(yi,p(Wi))*b(Wi);return Wi*Wr<0&&(bi-=n*b(yi)*b(Wi)),[bi/Wr,2*d(E(Cn/aa,1/Wr))-i]},si}function Mf(){return Dl(ch).scale(109.5).parallels([30,30])}function dl(Yt,dr){return[Yt,dr]}dl.invert=dl;function bu(){return Ru(dl).scale(152.63)}function wu(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):(tn-l(dr))/(dr-Yt),Cn=tn/Wr+Yt;if(p(Wr)r&&--Wr>0);return[Yt/(.8707+(si=tn*tn)*(-.131979+si*(-.013791+si*si*si*(.003971-.001529*si)))),tn]};function cc(){return Ru(bc).scale(175.295)}function zl(Yt,dr){return[l(dr)*m(Yt),m(dr)]}zl.invert=_c(f);function uu(){return Ru(zl).scale(249.5).clipAngle(90+r)}function fc(Yt,dr){var tn=l(dr),Wr=1+l(Yt)*tn;return[tn*m(Yt)/Wr,m(dr)/Wr]}fc.invert=_c(function(Yt){return 2*d(Yt)});function Dc(){return Ru(fc).scale(250).clipAngle(142)}function rc(Yt,dr){return[M(u((i+dr)/2)),-Yt]}rc.invert=function(Yt,dr){return[-dr,2*d(w(Yt))-i]};function Yc(){var Yt=lu(rc),dr=Yt.center,tn=Yt.rotate;return Yt.center=function(Wr){return arguments.length?dr([-Wr[1],Wr[0]]):(Wr=dr(),[Wr[1],-Wr[0]])},Yt.rotate=function(Wr){return arguments.length?tn([Wr[0],Wr[1],Wr.length>2?Wr[2]+90:90]):(Wr=tn(),[Wr[0],Wr[1],Wr[2]-90])},tn([0,0,90]).scale(159.155)}g.geoAlbers=Sl,g.geoAlbersUsa=uh,g.geoArea=j,g.geoAzimuthalEqualArea=Uh,g.geoAzimuthalEqualAreaRaw=lc,g.geoAzimuthalEquidistant=ff,g.geoAzimuthalEquidistantRaw=of,g.geoBounds=Be,g.geoCentroid=wr,g.geoCircle=Pr,g.geoClipAntimeridian=yr,g.geoClipCircle=Bn,g.geoClipExtent=Ta,g.geoClipRectangle=pi,g.geoConicConformal=Mf,g.geoConicConformalRaw=ch,g.geoConicEqualArea=xu,g.geoConicEqualAreaRaw=tc,g.geoConicEquidistant=Bf,g.geoConicEquidistantRaw=wu,g.geoContains=fs,g.geoDistance=Ka,g.geoEqualEarth=Nf,g.geoEqualEarthRaw=Zc,g.geoEquirectangular=bu,g.geoEquirectangularRaw=dl,g.geoGnomonic=Uf,g.geoGnomonicRaw=Xl,g.geoGraticule=pl,g.geoGraticule10=Xs,g.geoIdentity=Wu,g.geoInterpolate=Eo,g.geoLength=gs,g.geoMercator=Af,g.geoMercatorRaw=Du,g.geoNaturalEarth1=cc,g.geoNaturalEarth1Raw=bc,g.geoOrthographic=uu,g.geoOrthographicRaw=zl,g.geoPath=Ff,g.geoProjection=Ru,g.geoProjectionMutator=yc,g.geoRotation=ui,g.geoStereographic=Dc,g.geoStereographicRaw=fc,g.geoStream=N,g.geoTransform=$f,g.geoTransverseMercator=Yc,g.geoTransverseMercatorRaw=rc,Object.defineProperty(g,"__esModule",{value:!0})})}}),h6=ke({"node_modules/d3-geo-projection/dist/d3-geo-projection.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,mA(),G0()):x(g.d3=g.d3||{},g.d3,g.d3)})(Z,function(g,x,A){"use strict";var S=Math.abs,e=Math.atan,t=Math.atan2,r=Math.cos,o=Math.exp,n=Math.floor,i=Math.log,a=Math.max,s=Math.min,c=Math.pow,h=Math.round,p=Math.sign||function(Ge){return Ge>0?1:Ge<0?-1:0},d=Math.sin,T=Math.tan,l=1e-6,_=1e-12,w=Math.PI,M=w/2,E=w/4,m=Math.SQRT1_2,b=F(2),v=F(w),u=w*2,y=180/w,f=w/180;function P(Ge){return Ge?Ge/Math.sin(Ge):1}function L(Ge){return Ge>1?M:Ge<-1?-M:Math.asin(Ge)}function z(Ge){return Ge>1?0:Ge<-1?w:Math.acos(Ge)}function F(Ge){return Ge>0?Math.sqrt(Ge):0}function B(Ge){return Ge=o(2*Ge),(Ge-1)/(Ge+1)}function O(Ge){return(o(Ge)-o(-Ge))/2}function I(Ge){return(o(Ge)+o(-Ge))/2}function N(Ge){return i(Ge+F(Ge*Ge+1))}function U(Ge){return i(Ge+F(Ge*Ge-1))}function W(Ge){var $e=T(Ge/2),st=2*i(r(Ge/2))/($e*$e);function dt(St,xt){var It=r(St),rr=r(xt),sr=d(xt),pr=rr*It,kr=-((1-pr?i((1+pr)/2)/(1-pr):-.5)+st/(1+pr));return[kr*rr*d(St),kr*sr]}return dt.invert=function(St,xt){var It=F(St*St+xt*xt),rr=-Ge/2,sr=50,pr;if(!It)return[0,0];do{var kr=rr/2,Yr=r(kr),_n=d(kr),Mn=_n/Yr,Un=-i(S(Yr));rr-=pr=(2/Mn*Un-st*Mn-It)/(-Un/(_n*_n)+1-st/(2*Yr*Yr))*(Yr<0?.7:1)}while(S(pr)>l&&--sr>0);var li=d(rr);return[t(St*li,It*r(rr)),L(xt*li/It)]},dt}function Q(){var Ge=M,$e=x.geoProjectionMutator(W),st=$e(Ge);return st.radius=function(dt){return arguments.length?$e(Ge=dt*f):Ge*y},st.scale(179.976).clipAngle(147)}function le(Ge,$e){var st=r($e),dt=P(z(st*r(Ge/=2)));return[2*st*d(Ge)*dt,d($e)*dt]}le.invert=function(Ge,$e){if(!(Ge*Ge+4*$e*$e>w*w+l)){var st=Ge,dt=$e,St=25;do{var xt=d(st),It=d(st/2),rr=r(st/2),sr=d(dt),pr=r(dt),kr=d(2*dt),Yr=sr*sr,_n=pr*pr,Mn=It*It,Un=1-_n*rr*rr,li=Un?z(pr*rr)*F(ki=1/Un):ki=0,ki,Ci=2*li*pr*It-Ge,Zi=li*sr-$e,ya=ki*(_n*Mn+li*pr*rr*Yr),ro=ki*(.5*xt*kr-li*2*sr*It),Va=ki*.25*(kr*It-li*sr*_n*xt),Io=ki*(Yr*rr+li*Mn*pr),vs=ro*Va-Io*ya;if(!vs)break;var Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]}};function se(){return x.geoProjection(le).scale(152.63)}function fe(Ge){var $e=d(Ge),st=r(Ge),dt=Ge>=0?1:-1,St=T(dt*Ge),xt=(1+$e-st)/2;function It(rr,sr){var pr=r(sr),kr=r(rr/=2);return[(1+pr)*d(rr),(dt*sr>-t(kr,St)-.001?0:-dt*10)+xt+d(sr)*st-(1+pr)*$e*kr]}return It.invert=function(rr,sr){var pr=0,kr=0,Yr=50;do{var _n=r(pr),Mn=d(pr),Un=r(kr),li=d(kr),ki=1+Un,Ci=ki*Mn-rr,Zi=xt+li*st-ki*$e*_n-sr,ya=ki*_n/2,ro=-Mn*li,Va=$e*ki*Mn/2,Io=st*Un+$e*_n*li,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs/2,ts=(Ci*Va-Zi*ya)/vs;S(ts)>2&&(ts/=2),pr-=Fo,kr-=ts}while((S(Fo)>l||S(ts)>l)&&--Yr>0);return dt*kr>-t(r(pr),St)-.001?[pr*2,kr]:null},It}function G(){var Ge=20*f,$e=Ge>=0?1:-1,st=T($e*Ge),dt=x.geoProjectionMutator(fe),St=dt(Ge),xt=St.stream;return St.parallel=function(It){return arguments.length?(st=T(($e=(Ge=It*f)>=0?1:-1)*Ge),dt(Ge)):Ge*y},St.stream=function(It){var rr=St.rotate(),sr=xt(It),pr=(St.rotate([0,0]),xt(It)),kr=St.precision();return St.rotate(rr),sr.sphere=function(){pr.polygonStart(),pr.lineStart();for(var Yr=$e*-180;$e*Yr<180;Yr+=$e*90)pr.point(Yr,$e*90);if(Ge)for(;$e*(Yr-=3*$e*kr)>=-180;)pr.point(Yr,$e*-t(r(Yr*f/2),st)*y);pr.lineEnd(),pr.polygonEnd()},sr},St.scale(218.695).center([0,28.0974])}function $(Ge,$e){var st=T($e/2),dt=F(1-st*st),St=1+dt*r(Ge/=2),xt=d(Ge)*dt/St,It=st/St,rr=xt*xt,sr=It*It;return[4/3*xt*(3+rr-3*sr),4/3*It*(3+3*rr-sr)]}$.invert=function(Ge,$e){if(Ge*=3/8,$e*=3/8,!Ge&&S($e)>1)return null;var st=Ge*Ge,dt=$e*$e,St=1+st+dt,xt=F((St-F(St*St-4*$e*$e))/2),It=L(xt)/3,rr=xt?U(S($e/xt))/3:N(S(Ge))/3,sr=r(It),pr=I(rr),kr=pr*pr-sr*sr;return[p(Ge)*2*t(O(rr)*sr,.25-kr),p($e)*2*t(pr*d(It),.25+kr)]};function J(){return x.geoProjection($).scale(66.1603)}var X=F(8),re=i(1+b);function ae(Ge,$e){var st=S($e);return st_&&--dt>0);return[Ge/(r(st)*(X-1/d(st))),p($e)*st]};function j(){return x.geoProjection(ae).scale(112.314)}function ee(Ge){var $e=2*w/Ge;function st(dt,St){var xt=x.geoAzimuthalEquidistantRaw(dt,St);if(S(dt)>M){var It=t(xt[1],xt[0]),rr=F(xt[0]*xt[0]+xt[1]*xt[1]),sr=$e*h((It-M)/$e)+M,pr=t(d(It-=sr),2-r(It));It=sr+L(w/rr*d(pr))-pr,xt[0]=rr*r(It),xt[1]=rr*d(It)}return xt}return st.invert=function(dt,St){var xt=F(dt*dt+St*St);if(xt>M){var It=t(St,dt),rr=$e*h((It-M)/$e)+M,sr=It>rr?-1:1,pr=xt*r(rr-It),kr=1/T(sr*z((pr-w)/F(w*(w-2*pr)+xt*xt)));It=rr+2*e((kr+sr*F(kr*kr-3))/3),dt=xt*r(It),St=xt*d(It)}return x.geoAzimuthalEquidistantRaw.invert(dt,St)},st}function ie(){var Ge=5,$e=x.geoProjectionMutator(ee),st=$e(Ge),dt=st.stream,St=.01,xt=-r(St*f),It=d(St*f);return st.lobes=function(rr){return arguments.length?$e(Ge=+rr):Ge},st.stream=function(rr){var sr=st.rotate(),pr=dt(rr),kr=(st.rotate([0,0]),dt(rr));return st.rotate(sr),pr.sphere=function(){kr.polygonStart(),kr.lineStart();for(var Yr=0,_n=360/Ge,Mn=2*w/Ge,Un=90-180/Ge,li=M;Yr0&&S(St)>l);return dt<0?NaN:st}function Ie(Ge,$e,st){return $e===void 0&&($e=40),st===void 0&&(st=_),function(dt,St,xt,It){var rr,sr,pr;xt=xt===void 0?0:+xt,It=It===void 0?0:+It;for(var kr=0;kr<$e;kr++){var Yr=Ge(xt,It),_n=Yr[0]-dt,Mn=Yr[1]-St;if(S(_n)rr){xt-=sr/=2,It-=pr/=2;continue}rr=Un;var li=(xt>0?-1:1)*st,ki=(It>0?-1:1)*st,Ci=Ge(xt+li,It),Zi=Ge(xt,It+ki),ya=(Ci[0]-Yr[0])/li,ro=(Ci[1]-Yr[1])/li,Va=(Zi[0]-Yr[0])/ki,Io=(Zi[1]-Yr[1])/ki,vs=Io*ya-ro*Va,Fo=(S(vs)<.5?.5:1)/vs;if(sr=(Mn*Va-_n*Io)*Fo,pr=(_n*ro-Mn*ya)*Fo,xt+=sr,It+=pr,S(sr)0&&(rr[1]*=1+sr/1.5*rr[0]*rr[0]),rr}return dt.invert=Ie(dt),dt}function it(){return x.geoProjection(Ye()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function at(Ge,$e){var st=Ge*d($e),dt=30,St;do $e-=St=($e+d($e)-st)/(1+r($e));while(S(St)>l&&--dt>0);return $e/2}function tt(Ge,$e,st){function dt(St,xt){return[Ge*St*r(xt=at(st,xt)),$e*d(xt)]}return dt.invert=function(St,xt){return xt=L(xt/$e),[St/(Ge*r(xt)),L((2*xt+d(2*xt))/st)]},dt}var ut=tt(b/M,b,w);function Me(){return x.geoProjection(ut).scale(169.529)}var pe=2.00276,ue=1.11072;function Oe(Ge,$e){var st=at(w,$e);return[pe*Ge/(1/r($e)+ue/r(st)),($e+b*d(st))/pe]}Oe.invert=function(Ge,$e){var st=pe*$e,dt=$e<0?-E:E,St=25,xt,It;do It=st-b*d(dt),dt-=xt=(d(2*dt)+2*dt-w*d(It))/(2*r(2*dt)+2+w*r(It)*b*r(dt));while(S(xt)>l&&--St>0);return It=st-b*d(dt),[Ge*(1/r(It)+ue/r(dt))/pe,It]};function rt(){return x.geoProjection(Oe).scale(160.857)}function ot(Ge){var $e=0,st=x.geoProjectionMutator(Ge),dt=st($e);return dt.parallel=function(St){return arguments.length?st($e=St*f):$e*y},dt}function et(Ge,$e){return[Ge*r($e),$e]}et.invert=function(Ge,$e){return[Ge/r($e),$e]};function Lt(){return x.geoProjection(et).scale(152.63)}function Et(Ge){if(!Ge)return et;var $e=1/T(Ge);function st(dt,St){var xt=$e+Ge-St,It=xt&&dt*r(St)/xt;return[xt*d(It),$e-xt*r(It)]}return st.invert=function(dt,St){var xt=F(dt*dt+(St=$e-St)*St),It=$e+Ge-xt;return[xt/r(It)*t(dt,St),It]},st}function Bt(){return ot(Et).scale(123.082).center([0,26.1441]).parallel(45)}function qt(Ge){function $e(st,dt){var St=M-dt,xt=St&&st*Ge*d(St)/St;return[St*d(xt)/Ge,M-St*r(xt)]}return $e.invert=function(st,dt){var St=st*Ge,xt=M-dt,It=F(St*St+xt*xt),rr=t(St,xt);return[(It?It/d(It):1)*rr/Ge,M-It]},$e}function fr(){var Ge=.5,$e=x.geoProjectionMutator(qt),st=$e(Ge);return st.fraction=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(158.837)}var ar=tt(1,4/w,w);function Rr(){return x.geoProjection(ar).scale(152.63)}function gr(Ge,$e,st,dt,St,xt){var It=r(xt),rr;if(S(Ge)>1||S(xt)>1)rr=z(st*St+$e*dt*It);else{var sr=d(Ge/2),pr=d(xt/2);rr=2*L(F(sr*sr+$e*dt*pr*pr))}return S(rr)>l?[rr,t(dt*d(xt),$e*St-st*dt*It)]:[0,0]}function br(Ge,$e,st){return z((Ge*Ge+$e*$e-st*st)/(2*Ge*$e))}function _t(Ge){return Ge-2*w*n((Ge+w)/(2*w))}function Be(Ge,$e,st){for(var dt=[[Ge[0],Ge[1],d(Ge[1]),r(Ge[1])],[$e[0],$e[1],d($e[1]),r($e[1])],[st[0],st[1],d(st[1]),r(st[1])]],St=dt[2],xt,It=0;It<3;++It,St=xt)xt=dt[It],St.v=gr(xt[1]-St[1],St[3],St[2],xt[3],xt[2],xt[0]-St[0]),St.point=[0,0];var rr=br(dt[0].v[0],dt[2].v[0],dt[1].v[0]),sr=br(dt[0].v[0],dt[1].v[0],dt[2].v[0]),pr=w-rr;dt[2].point[1]=0,dt[0].point[0]=-(dt[1].point[0]=dt[0].v[0]/2);var kr=[dt[2].point[0]=dt[0].point[0]+dt[2].v[0]*r(rr),2*(dt[0].point[1]=dt[1].point[1]=dt[2].v[0]*d(rr))];function Yr(_n,Mn){var Un=d(Mn),li=r(Mn),ki=new Array(3),Ci;for(Ci=0;Ci<3;++Ci){var Zi=dt[Ci];if(ki[Ci]=gr(Mn-Zi[1],Zi[3],Zi[2],li,Un,_n-Zi[0]),!ki[Ci][0])return Zi.point;ki[Ci][1]=_t(ki[Ci][1]-Zi.v[1])}var ya=kr.slice();for(Ci=0;Ci<3;++Ci){var ro=Ci==2?0:Ci+1,Va=br(dt[Ci].v[0],ki[Ci][0],ki[ro][0]);ki[Ci][1]<0&&(Va=-Va),Ci?Ci==1?(Va=sr-Va,ya[0]-=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va)):(Va=pr-Va,ya[0]+=ki[Ci][0]*r(Va),ya[1]+=ki[Ci][0]*d(Va)):(ya[0]+=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va))}return ya[0]/=3,ya[1]/=3,ya}return Yr}function Ke(Ge){return Ge[0]*=f,Ge[1]*=f,Ge}function je(){return Se([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Se(Ge,$e,st){var dt=x.geoCentroid({type:"MultiPoint",coordinates:[Ge,$e,st]}),St=[-dt[0],-dt[1]],xt=x.geoRotation(St),It=Be(Ke(xt(Ge)),Ke(xt($e)),Ke(xt(st)));It.invert=Ie(It);var rr=x.geoProjection(It).rotate(St),sr=rr.center;return delete rr.rotate,rr.center=function(pr){return arguments.length?sr(xt(pr)):xt.invert(sr())},rr.clipAngle(90)}function He(Ge,$e){var st=F(1-d($e));return[2/v*Ge*st,v*(1-st)]}He.invert=function(Ge,$e){var st=(st=$e/v-1)*st;return[st>0?Ge*F(w/st)/2:0,L(1-st)]};function Ee(){return x.geoProjection(He).scale(95.6464).center([0,30])}function we(Ge){var $e=T(Ge);function st(dt,St){return[dt,(dt?dt/d(dt):1)*(d(St)*r(dt)-$e*r(St))]}return st.invert=$e?function(dt,St){dt&&(St*=d(dt)/dt);var xt=r(dt);return[dt,2*t(F(xt*xt+$e*$e-St*St)-xt,$e-St)]}:function(dt,St){return[dt,L(dt?St*T(dt)/dt:St)]},st}function Le(){return ot(we).scale(249.828).clipAngle(90)}var nt=F(3);function pt(Ge,$e){return[nt*Ge*(2*r(2*$e/3)-1)/v,nt*v*d($e/3)]}pt.invert=function(Ge,$e){var st=3*L($e/(nt*v));return[v*Ge/(nt*(2*r(2*st/3)-1)),st]};function bt(){return x.geoProjection(pt).scale(156.19)}function Rt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,d(St)/$e]}return st.invert=function(dt,St){return[dt/$e,L(St*$e)]},st}function Nt(){return ot(Rt).parallel(38.58).scale(195.044)}function Xt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,(1+$e)*T(St/2)]}return st.invert=function(dt,St){return[dt/$e,e(St/(1+$e))*2]},st}function $t(){return ot(Xt).scale(124.75)}function ur(Ge,$e){var st=F(8/(3*w));return[st*Ge*(1-S($e)/w),st*$e]}ur.invert=function(Ge,$e){var st=F(8/(3*w)),dt=$e/st;return[Ge/(st*(1-S(dt)/w)),dt]};function pn(){return x.geoProjection(ur).scale(165.664)}function Rn(Ge,$e){var st=F(4-3*d(S($e)));return[2/F(6*w)*Ge*st,p($e)*F(2*w/3)*(2-st)]}Rn.invert=function(Ge,$e){var st=2-S($e)/F(2*w/3);return[Ge*F(6*w)/(2*st),p($e)*L((4-st*st)/3)]};function Nn(){return x.geoProjection(Rn).scale(165.664)}function On(Ge,$e){var st=F(w*(4+w));return[2/st*Ge*(1+F(1-4*$e*$e/(w*w))),4/st*$e]}On.invert=function(Ge,$e){var st=F(w*(4+w))/2;return[Ge*st/(1+F(1-$e*$e*(4+w)/(4*w))),$e*st/2]};function ni(){return x.geoProjection(On).scale(180.739)}function zn(Ge,$e){var st=(2+M)*d($e);$e/=2;for(var dt=0,St=1/0;dt<10&&S(St)>l;dt++){var xt=r($e);$e-=St=($e+d($e)*(xt+2)-st)/(2*xt*(1+xt))}return[2/F(w*(4+w))*Ge*(1+r($e)),2*F(w/(4+w))*d($e)]}zn.invert=function(Ge,$e){var st=$e*F((4+w)/w)/2,dt=L(st),St=r(dt);return[Ge/(2/F(w*(4+w))*(1+St)),L((dt+st*(St+2))/(2+M))]};function Qn(){return x.geoProjection(zn).scale(180.739)}function gi(Ge,$e){return[Ge*(1+r($e))/F(2+w),2*$e/F(2+w)]}gi.invert=function(Ge,$e){var st=F(2+w),dt=$e*st/2;return[st*Ge/(1+r(dt)),dt]};function Zt(){return x.geoProjection(gi).scale(173.044)}function Ft(Ge,$e){for(var st=(1+M)*d($e),dt=0,St=1/0;dt<10&&S(St)>l;dt++)$e-=St=($e+d($e)-st)/(1+r($e));return st=F(2+w),[Ge*(1+r($e))/st,2*$e/st]}Ft.invert=function(Ge,$e){var st=1+M,dt=F(st/2);return[Ge*2*dt/(1+r($e*=dt)),L(($e+d($e))/st)]};function Ht(){return x.geoProjection(Ft).scale(173.044)}var Vt=3+2*b;function wr(Ge,$e){var st=d(Ge/=2),dt=r(Ge),St=F(r($e)),xt=r($e/=2),It=d($e)/(xt+b*dt*St),r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ci,li,w);sr=Yr;var ya=50,ro;do sr-=ro=(Ge+Mr(Ci,li,sr)*Zi-Yr)/(Ci(sr)*Zi);while(S(ro)>l&&--ya>0);pr=Un*d(sr),srdt){var sr=F(rr),pr=t(It,xt),kr=st*h(pr/st),Yr=pr-kr;xt=sr*r(Yr),It=sr*d(Yr);for(var _n=xt-M,Mn=d(xt),Un=It/Mn,li=xtl||S(Un)>l)&&--li>0);return[Yr,_n]},sr}var Dr=Ur(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function nn(){return x.geoProjection(Dr).scale(149.995)}var vn=Ur(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function gn(){return x.geoProjection(vn).scale(153.93)}var kt=Ur(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function or(){return x.geoProjection(kt).scale(130.945)}function yr(Ge,$e){var st=Ge*Ge,dt=$e*$e;return[Ge*(1-.162388*dt)*(.87-952426e-9*st*st),$e*(1+dt/12)]}yr.invert=function(Ge,$e){var st=Ge,dt=$e,St=50,xt;do{var It=dt*dt;dt-=xt=(dt*(1+It/12)-$e)/(1+It/4)}while(S(xt)>l&&--St>0);St=50,Ge/=1-.162388*It;do{var rr=(rr=st*st)*rr;st-=xt=(st*(.87-952426e-9*rr)-Ge)/(.87-.00476213*rr)}while(S(xt)>l&&--St>0);return[st,dt]};function on(){return x.geoProjection(yr).scale(131.747)}var An=Ur(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Zn(){return x.geoProjection(An).scale(131.087)}function Bn(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=dt>0?-.5:.5,It=Ge(dt+xt*w,St);return It[0]-=xt*$e,It}return Ge.invert&&(st.invert=function(dt,St){var xt=dt>0?-.5:.5,It=Ge.invert(dt+xt*$e,St),rr=It[0]-xt*w;return rr<-w?rr+=2*w:rr>w&&(rr-=2*w),It[0]=rr,It}),st}function wn(Ge,$e){var st=p(Ge),dt=p($e),St=r($e),xt=r(Ge)*St,It=d(Ge)*St,rr=d(dt*$e);Ge=S(t(It,rr)),$e=L(xt),S(Ge-M)>l&&(Ge%=M);var sr=Dn(Ge>w/4?M-Ge:Ge,$e);return Ge>w/4&&(rr=sr[0],sr[0]=-sr[1],sr[1]=-rr),sr[0]*=st,sr[1]*=-dt,sr}wn.invert=function(Ge,$e){S(Ge)>1&&(Ge=p(Ge)*2-Ge),S($e)>1&&($e=p($e)*2-$e);var st=p(Ge),dt=p($e),St=-st*Ge,xt=-dt*$e,It=xt/St<1,rr=Ui(It?xt:St,It?St:xt),sr=rr[0],pr=rr[1],kr=r(pr);return It&&(sr=-M-sr),[st*(t(d(sr)*kr,-d(pr))+w),dt*L(r(sr)*kr)]};function Dn(Ge,$e){if($e===M)return[0,0];var st=d($e),dt=st*st,St=dt*dt,xt=1+St,It=1+3*St,rr=1-St,sr=L(1/F(xt)),pr=rr+dt*xt*sr,kr=(1-st)/pr,Yr=F(kr),_n=kr*xt,Mn=F(_n),Un=Yr*rr,li,ki;if(Ge===0)return[0,-(Un+dt*Mn)];var Ci=r($e),Zi=1/Ci,ya=2*st*Ci,ro=(-3*dt+sr*It)*ya,Va=(-pr*Ci-(1-st)*ro)/(pr*pr),Io=.5*Va/Yr,vs=rr*Io-2*dt*Yr*ya,Fo=dt*xt*Va+kr*It*ya,ts=-Zi*ya,bs=-Zi*Fo,fl=-2*Zi*vs,al=4*Ge/w,os;if(Ge>.222*w||$e.175*w){if(li=(Un+dt*F(_n*(1+St)-Un*Un))/(1+St),Ge>w/4)return[li,li];var is=li,Nl=.5*li;li=.5*(Nl+is),ki=50;do{var eu=F(_n-li*li),Xu=li*(fl+ts*eu)+bs*L(li/Mn)-al;if(!Xu)break;Xu<0?Nl=li:is=li,li=.5*(Nl+is)}while(S(is-Nl)>l&&--ki>0)}else{li=l,ki=25;do{var mu=li*li,El=F(_n-mu),fu=fl+ts*El,Tc=li*fu+bs*L(li/Mn)-al,Zl=fu+(bs-ts*mu)/El;li-=os=El?Tc/Zl:0}while(S(os)>l&&--ki>0)}return[li,-Un-dt*F(_n-li*li)]}function Ui(Ge,$e){for(var st=0,dt=1,St=.5,xt=50;;){var It=St*St,rr=F(St),sr=L(1/F(1+It)),pr=1-It+St*(1+It)*sr,kr=(1-rr)/pr,Yr=F(kr),_n=kr*(1+It),Mn=Yr*(1-It),Un=_n-Ge*Ge,li=F(Un),ki=$e+Mn+St*li;if(S(dt-st)<_||--xt===0||ki===0)break;ki>0?st=St:dt=St,St=.5*(st+dt)}if(!xt)return null;var Ci=L(rr),Zi=r(Ci),ya=1/Zi,ro=2*rr*Zi,Va=(-3*St+sr*(1+3*It))*ro,Io=(-pr*Zi-(1-rr)*Va)/(pr*pr),vs=.5*Io/Yr,Fo=(1-It)*vs-2*St*Yr*ro,ts=-2*ya*Fo,bs=-ya*ro,fl=-ya*(St*(1+It)*Io+kr*(1+3*It)*ro);return[w/4*(Ge*(ts+bs*li)+fl*L(Ge/F(_n))),Ci]}function pi(){return x.geoProjection(Bn(wn)).scale(239.75)}function Ta(Ge,$e,st){var dt,St,xt;return Ge?(dt=Sa(Ge,st),$e?(St=Sa($e,1-st),xt=St[1]*St[1]+st*dt[0]*dt[0]*St[0]*St[0],[[dt[0]*St[2]/xt,dt[1]*dt[2]*St[0]*St[1]/xt],[dt[1]*St[1]/xt,-dt[0]*dt[2]*St[0]*St[2]/xt],[dt[2]*St[1]*St[2]/xt,-st*dt[0]*dt[1]*St[0]/xt]]):[[dt[0],0],[dt[1],0],[dt[2],0]]):(St=Sa($e,1-st),[[0,St[0]/St[1]],[1/St[1],0],[St[2]/St[1],0]])}function Sa(Ge,$e){var st,dt,St,xt,It;if($e=1-l)return st=(1-$e)/4,dt=I(Ge),xt=B(Ge),St=1/dt,It=dt*O(Ge),[xt+st*(It-Ge)/(dt*dt),St-st*xt*St*(It-Ge),St+st*xt*St*(It+Ge),2*e(o(Ge))-M+st*(It-Ge)/dt];var rr=[1,0,0,0,0,0,0,0,0],sr=[F($e),0,0,0,0,0,0,0,0],pr=0;for(dt=F(1-$e),It=1;S(sr[pr]/rr[pr])>l&&pr<8;)st=rr[pr++],sr[pr]=(st-dt)/2,rr[pr]=(st+dt)/2,dt=F(st*dt),It*=2;St=It*rr[pr]*Ge;do xt=sr[pr]*d(dt=St)/rr[pr],St=(L(xt)+St)/2;while(--pr);return[d(St),xt=r(St),xt/r(St-dt),St]}function qa(Ge,$e,st){var dt=S(Ge),St=S($e),xt=O(St);if(dt){var It=1/d(dt),rr=1/(T(dt)*T(dt)),sr=-(rr+st*(xt*xt*It*It)-1+st),pr=(st-1)*rr,kr=(-sr+F(sr*sr-4*pr))/2;return[to(e(1/F(kr)),st)*p(Ge),to(e(F((kr/rr-1)/st)),1-st)*p($e)]}return[0,to(e(xt),1-st)*p($e)]}function to(Ge,$e){if(!$e)return Ge;if($e===1)return i(T(Ge/2+E));for(var st=1,dt=F(1-$e),St=F($e),xt=0;S(St)>l;xt++){if(Ge%w){var It=e(dt*T(Ge)/st);It<0&&(It+=w),Ge+=It+~~(Ge/w)*w}else Ge+=Ge;St=(st+dt)/2,dt=F(st*dt),St=((st=St)-dt)/2}return Ge/(c(2,xt)*st)}function yo(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=i(T(w/4+S($e)/2)),rr=o(xt*It)/F(st),sr=Xa(rr*r(xt*Ge),rr*d(xt*Ge)),pr=qa(sr[0],sr[1],dt*dt);return[-pr[1],($e>=0?1:-1)*(.5*St-pr[0])]}function Xa(Ge,$e){var st=Ge*Ge,dt=$e+1,St=1-st-$e*$e;return[.5*((Ge>=0?M:-M)-t(St,2*Ge)),-.25*i(St*St+4*st)+.5*i(dt*dt+st)]}function Go(Ge,$e){var st=$e[0]*$e[0]+$e[1]*$e[1];return[(Ge[0]*$e[0]+Ge[1]*$e[1])/st,(Ge[1]*$e[0]-Ge[0]*$e[1])/st]}yo.invert=function(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=Ta(.5*St-$e,-Ge,dt*dt),rr=Go(It[0],It[1]),sr=t(rr[1],rr[0])/xt;return[sr,2*e(o(.5/xt*i(st*rr[0]*rr[0]+st*rr[1]*rr[1])))-M]};function pa(){return x.geoProjection(Bn(yo)).scale(151.496)}function cs(Ge){var $e=d(Ge),st=r(Ge),dt=Ko(Ge);dt.invert=Ko(-Ge);function St(xt,It){var rr=dt(xt,It);xt=rr[0],It=rr[1];var sr=d(It),pr=r(It),kr=r(xt),Yr=z($e*sr+st*pr*kr),_n=d(Yr),Mn=S(_n)>l?Yr/_n:1;return[Mn*st*d(xt),(S(xt)>M?Mn:-Mn)*($e*pr-st*sr*kr)]}return St.invert=function(xt,It){var rr=F(xt*xt+It*It),sr=-d(rr),pr=r(rr),kr=rr*pr,Yr=-It*sr,_n=rr*$e,Mn=F(kr*kr+Yr*Yr-_n*_n),Un=t(kr*_n+Yr*Mn,Yr*_n-kr*Mn),li=(rr>M?-1:1)*t(xt*sr,rr*r(Un)*pr+It*d(Un)*sr);return dt.invert(li,Un)},St}function Ko(Ge){var $e=d(Ge),st=r(Ge);return function(dt,St){var xt=r(St),It=r(dt)*xt,rr=d(dt)*xt,sr=d(St);return[t(rr,It*st-sr*$e),L(sr*st+It*$e)]}}function gs(){var Ge=0,$e=x.geoProjectionMutator(cs),st=$e(Ge),dt=st.rotate,St=st.stream,xt=x.geoCircle();return st.parallel=function(It){if(!arguments.length)return Ge*y;var rr=st.rotate();return $e(Ge=It*f).rotate(rr)},st.rotate=function(It){return arguments.length?(dt.call(st,[It[0],It[1]-Ge*y]),xt.center([-It[0],-It[1]]),st):(It=dt.call(st),It[1]+=Ge*y,It)},st.stream=function(It){return It=St(It),It.sphere=function(){It.polygonStart();var rr=.01,sr=xt.radius(90-rr)().coordinates[0],pr=sr.length-1,kr=-1,Yr;for(It.lineStart();++kr=0;)It.point((Yr=sr[kr])[0],Yr[1]);It.lineEnd(),It.polygonEnd()},It},st.scale(79.4187).parallel(45).clipAngle(180-.001)}var Ya=3,zo=L(1-1/Ya)*y,Ka=Rt(0);function Yo(Ge){var $e=zo*f,st=He(w,$e)[0]-He(-w,$e)[0],dt=Ka(0,$e)[1],St=He(0,$e)[1],xt=v-St,It=u/Ge,rr=4/u,sr=dt+xt*xt*4/u;function pr(kr,Yr){var _n,Mn=S(Yr);if(Mn>$e){var Un=s(Ge-1,a(0,n((kr+w)/It)));kr+=w*(Ge-1)/Ge-Un*It,_n=He(kr,Mn),_n[0]=_n[0]*u/st-u*(Ge-1)/(2*Ge)+Un*u/Ge,_n[1]=dt+(_n[1]-St)*4*xt/u,Yr<0&&(_n[1]=-_n[1])}else _n=Ka(kr,Yr);return _n[0]*=rr,_n[1]/=sr,_n}return pr.invert=function(kr,Yr){kr/=rr,Yr*=sr;var _n=S(Yr);if(_n>dt){var Mn=s(Ge-1,a(0,n((kr+w)/It)));kr=(kr+w*(Ge-1)/Ge-Mn*It)*st/u;var Un=He.invert(kr,.25*(_n-dt)*u/xt+St);return Un[0]-=w*(Ge-1)/Ge-Mn*It,Yr<0&&(Un[1]=-Un[1]),Un}return Ka.invert(kr,Yr)},pr}function ns(Ge,$e){return[Ge,$e&1?90-l:zo]}function hs(Ge,$e){return[Ge,$e&1?-90+l:-zo]}function ho(Ge){return[Ge[0]*(1-l),Ge[1]]}function Ro(Ge){var $e=[].concat(A.range(-180,180+Ge/2,Ge).map(ns),A.range(180,-180-Ge/2,-Ge).map(hs));return{type:"Polygon",coordinates:[Ge===180?$e.map(ho):$e]}}function Ls(){var Ge=4,$e=x.geoProjectionMutator(Yo),st=$e(Ge),dt=st.stream;return st.lobes=function(St){return arguments.length?$e(Ge=+St):Ge},st.stream=function(St){var xt=st.rotate(),It=dt(St),rr=(st.rotate([0,0]),dt(St));return st.rotate(xt),It.sphere=function(){x.geoStream(Ro(180/Ge),rr)},It},st.scale(239.75)}function Vs(Ge){var $e=1+Ge,st=d(1/$e),dt=L(st),St=2*F(w/(xt=w+4*dt*$e)),xt,It=.5*St*($e+F(Ge*(2+Ge))),rr=Ge*Ge,sr=$e*$e;function pr(kr,Yr){var _n=1-d(Yr),Mn,Un;if(_n&&_n<2){var li=M-Yr,ki=25,Ci;do{var Zi=d(li),ya=r(li),ro=dt+t(Zi,$e-ya),Va=1+sr-2*$e*ya;li-=Ci=(li-rr*dt-$e*Zi+Va*ro-.5*_n*xt)/(2*$e*Zi*ro)}while(S(Ci)>_&&--ki>0);Mn=St*F(Va),Un=kr*ro/w}else Mn=St*(Ge+_n),Un=kr*dt/w;return[Mn*d(Un),It-Mn*r(Un)]}return pr.invert=function(kr,Yr){var _n=kr*kr+(Yr-=It)*Yr,Mn=(1+sr-_n/(St*St))/(2*$e),Un=z(Mn),li=d(Un),ki=dt+t(li,$e-Mn);return[L(kr/F(_n))*w/ki,L(1-2*(Un-rr*dt-$e*li+(1+sr-2*$e*Mn)*ki)/xt)]},pr}function Ws(){var Ge=1,$e=x.geoProjectionMutator(Vs),st=$e(Ge);return st.ratio=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(167.774).center([0,18.67])}var fs=.7109889596207567,Mi=.0528035274542;function Da(Ge,$e){return $e>-fs?(Ge=ut(Ge,$e),Ge[1]+=Mi,Ge):et(Ge,$e)}Da.invert=function(Ge,$e){return $e>-fs?ut.invert(Ge,$e-Mi):et.invert(Ge,$e)};function pl(){return x.geoProjection(Da).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Xs(Ge,$e){return S($e)>fs?(Ge=ut(Ge,$e),Ge[1]-=$e>0?Mi:-Mi,Ge):et(Ge,$e)}Xs.invert=function(Ge,$e){return S($e)>fs?ut.invert(Ge,$e+($e>0?Mi:-Mi)):et.invert(Ge,$e)};function Eo(){return x.geoProjection(Xs).scale(152.63)}function Ys(Ge,$e,st,dt){var St=F(4*w/(2*st+(1+Ge-$e/2)*d(2*st)+(Ge+$e)/2*d(4*st)+$e/2*d(6*st))),xt=F(dt*d(st)*F((1+Ge*r(2*st)+$e*r(4*st))/(1+Ge+$e))),It=st*sr(1);function rr(Yr){return F(1+Ge*r(2*Yr)+$e*r(4*Yr))}function sr(Yr){var _n=Yr*st;return(2*_n+(1+Ge-$e/2)*d(2*_n)+(Ge+$e)/2*d(4*_n)+$e/2*d(6*_n))/st}function pr(Yr){return rr(Yr)*d(Yr)}var kr=function(Yr,_n){var Mn=st*Ue(sr,It*d(_n)/st,_n/w);isNaN(Mn)&&(Mn=st*p(_n));var Un=St*rr(Mn);return[Un*xt*Yr/w*r(Mn),Un/xt*d(Mn)]};return kr.invert=function(Yr,_n){var Mn=Ue(pr,_n*xt/St);return[Yr*w/(r(Mn)*St*xt*rr(Mn)),L(st*sr(Mn/st)/It)]},st===0&&(St=F(dt/w),kr=function(Yr,_n){return[Yr*St,d(_n)/St]},kr.invert=function(Yr,_n){return[Yr/St,L(_n*St)]}),kr}function As(){var Ge=1,$e=0,st=45*f,dt=2,St=x.geoProjectionMutator(Ys),xt=St(Ge,$e,st,dt);return xt.a=function(It){return arguments.length?St(Ge=+It,$e,st,dt):Ge},xt.b=function(It){return arguments.length?St(Ge,$e=+It,st,dt):$e},xt.psiMax=function(It){return arguments.length?St(Ge,$e,st=+It*f,dt):st*y},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(180.739)}function hl(Ge,$e,st,dt,St,xt,It,rr,sr,pr,kr){if(kr.nanEncountered)return NaN;var Yr,_n,Mn,Un,li,ki,Ci,Zi,ya,ro;if(Yr=st-$e,_n=Ge($e+Yr*.25),Mn=Ge(st-Yr*.25),isNaN(_n)){kr.nanEncountered=!0;return}if(isNaN(Mn)){kr.nanEncountered=!0;return}return Un=Yr*(dt+4*_n+St)/12,li=Yr*(St+4*Mn+xt)/12,ki=Un+li,ro=(ki-It)/15,pr>sr?(kr.maxDepthCount++,ki+ro):Math.abs(ro)>1;do sr[ki]>Mn?li=ki:Un=ki,ki=Un+li>>1;while(ki>Un);var Ci=sr[ki+1]-sr[ki];return Ci&&(Ci=(Mn-sr[ki+1])/Ci),(ki+1+Ci)/It}var Yr=2*kr(1)/w*xt/st,_n=function(Mn,Un){var li=kr(S(d(Un))),ki=dt(li)*Mn;return li/=Yr,[ki,Un>=0?li:-li]};return _n.invert=function(Mn,Un){var li;return Un*=Yr,S(Un)<1&&(li=p(Un)*L(St(S(Un))*xt)),[Mn/dt(S(Un)),li]},_n}function Uo(){var Ge=0,$e=2.5,st=1.183136,dt=x.geoProjectionMutator(la),St=dt(Ge,$e,st);return St.alpha=function(xt){return arguments.length?dt(Ge=+xt,$e,st):Ge},St.k=function(xt){return arguments.length?dt(Ge,$e=+xt,st):$e},St.gamma=function(xt){return arguments.length?dt(Ge,$e,st=+xt):st},St.scale(152.63)}function vo(Ge,$e){return S(Ge[0]-$e[0])=0;--sr)st=Ge[1][sr],dt=st[0][0],St=st[0][1],xt=st[1][1],It=st[2][0],rr=st[2][1],$e.push(Ps([[It-l,rr-l],[It-l,xt+l],[dt+l,xt+l],[dt+l,St-l]],30));return{type:"Polygon",coordinates:[A.merge($e)]}}function no(Ge,$e,st){var dt,St;function xt(sr,pr){for(var kr=pr<0?-1:1,Yr=$e[+(pr<0)],_n=0,Mn=Yr.length-1;_nYr[_n][2][0];++_n);var Un=Ge(sr-Yr[_n][1][0],pr);return Un[0]+=Ge(Yr[_n][1][0],kr*pr>kr*Yr[_n][0][1]?Yr[_n][0][1]:pr)[0],Un}st?xt.invert=st(xt):Ge.invert&&(xt.invert=function(sr,pr){for(var kr=St[+(pr<0)],Yr=$e[+(pr<0)],_n=0,Mn=kr.length;_nUn&&(li=Mn,Mn=Un,Un=li),[[Yr,Mn],[_n,Un]]})}),It):$e.map(function(pr){return pr.map(function(kr){return[[kr[0][0]*y,kr[0][1]*y],[kr[1][0]*y,kr[1][1]*y],[kr[2][0]*y,kr[2][1]*y]]})})},$e!=null&&It.lobes($e),It}var $l=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ku(){return no(Oe,$l).scale(160.857)}var Tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Vu(){return no(Xs,Tl).scale(152.63)}var Rl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Qs(){return no(ut,Rl).scale(169.529)}var nu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function qu(){return no(ut,nu).scale(169.529).rotate([20,0])}var kc=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ju(){return no(Da,kc,Ie).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var sh=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function uf(){return no(et,sh).scale(152.63).rotate([-20,0])}function qs(Ge,$e){return[3/u*Ge*F(w*w/3-$e*$e),$e]}qs.invert=function(Ge,$e){return[u/3*Ge/F(w*w/3-$e*$e),$e]};function Hc(){return x.geoProjection(qs).scale(158.837)}function bf(Ge){function $e(st,dt){if(S(S(dt)-M)2)return null;st/=2,dt/=2;var xt=st*st,It=dt*dt,rr=2*dt/(1+xt+It);return rr=c((1+rr)/(1-rr),1/Ge),[t(2*st,1-xt-It)/Ge,L((rr-1)/(rr+1))]},$e}function Ql(){var Ge=.5,$e=x.geoProjectionMutator(bf),st=$e(Ge);return st.spacing=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(124.75)}var Al=w/b;function oc(Ge,$e){return[Ge*(1+F(r($e)))/2,$e/(r($e/2)*r(Ge/6))]}oc.invert=function(Ge,$e){var st=S(Ge),dt=S($e),St=l,xt=M;dtl||S(ki)>l)&&--St>0);return St&&[st,dt]};function Ml(){return x.geoProjection(nl).scale(139.98)}function Zs(Ge,$e){return[d(Ge)/r($e),T($e)*r(Ge)]}Zs.invert=function(Ge,$e){var st=Ge*Ge,dt=$e*$e,St=dt+1,xt=st+St,It=Ge?m*F((xt-F(xt*xt-4*st))/st):1/F(St);return[L(Ge*It),p($e)*z(It)]};function sl(){return x.geoProjection(Zs).scale(144.049).clipAngle(90-.001)}function sc(Ge){var $e=r(Ge),st=T(E+Ge/2);function dt(St,xt){var It=xt-Ge,rr=S(It)=0;)kr=Ge[pr],Yr=kr[0]+rr*(Mn=Yr)-sr*_n,_n=kr[1]+rr*_n+sr*Mn;return Yr=rr*(Mn=Yr)-sr*_n,_n=rr*_n+sr*Mn,[Yr,_n]}return st.invert=function(dt,St){var xt=20,It=dt,rr=St;do{for(var sr=$e,pr=Ge[sr],kr=pr[0],Yr=pr[1],_n=0,Mn=0,Un;--sr>=0;)pr=Ge[sr],_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=pr[0]+It*(Un=kr)-rr*Yr,Yr=pr[1]+It*Yr+rr*Un;_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=It*(Un=kr)-rr*Yr-dt,Yr=It*Yr+rr*Un-St;var li=_n*_n+Mn*Mn,ki,Ci;It-=ki=(kr*_n+Yr*Mn)/li,rr-=Ci=(Yr*_n-kr*Mn)/li}while(S(ki)+S(Ci)>l*l&&--xt>0);if(xt){var Zi=F(It*It+rr*rr),ya=2*e(Zi*.5),ro=d(ya);return[t(It*ro,Zi*r(ya)),Zi?L(rr*ro/Zi):0]}},st}var ds=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Sh=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Bs=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Vo=[[.9245,0],[0,0],[.01943,0]],rf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Qu(){return Vl(ds,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function pu(){return Vl(Sh,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Df(){return Vl(Bs,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Lc(){return Vl(Vo,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function nf(){return Vl(rf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Vl(Ge,$e){var st=x.geoProjection(Nh(Ge)).rotate($e).clipAngle(90),dt=x.geoRotation($e),St=st.center;return delete st.rotate,st.center=function(xt){return arguments.length?St(dt(xt)):dt.invert(St())},st}var Jf=F(6),zf=F(7);function wf(Ge,$e){var st=L(7*d($e)/(3*Jf));return[Jf*Ge*(2*r(2*st/3)-1)/zf,9*d(st/3)/zf]}wf.invert=function(Ge,$e){var st=3*L($e*zf/9);return[Ge*zf/(Jf*(2*r(2*st/3)-1)),L(d(st)*3*Jf/7)]};function Gc(){return x.geoProjection(wf).scale(164.859)}function Ff(Ge,$e){for(var st=(1+m)*d($e),dt=$e,St=0,xt;St<25&&(dt-=xt=(d(dt/2)+d(dt)-st)/(.5*r(dt/2)+r(dt)),!(S(xt)_&&--dt>0);return xt=st*st,It=xt*xt,rr=xt*It,[Ge/(.84719-.13063*xt+rr*rr*(-.04515+.05494*xt-.02326*It+.00331*rr)),st]};function Wc(){return x.geoProjection(Pc).scale(175.295)}function Pu(Ge,$e){return[Ge*(1+r($e))/2,2*($e-T($e/2))]}Pu.invert=function(Ge,$e){for(var st=$e/2,dt=0,St=1/0;dt<10&&S(St)>l;++dt){var xt=r($e/2);$e-=St=($e-T($e/2)-st)/(1-.5/(xt*xt))}return[2*Ge/(1+r($e)),$e]};function cf(){return x.geoProjection(Pu).scale(152.63)}var Ic=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function Ks(){return no(ce(1/0),Ic).rotate([20,0]).scale(152.63)}function Of(Ge,$e){var st=d($e),dt=r($e),St=p(Ge);if(Ge===0||S($e)===M)return[0,$e];if($e===0)return[Ge,0];if(S(Ge)===M)return[Ge*dt,M*st];var xt=w/(2*Ge)-2*Ge/w,It=2*$e/w,rr=(1-It*It)/(st-It),sr=xt*xt,pr=rr*rr,kr=1+sr/pr,Yr=1+pr/sr,_n=(xt*st/rr-xt/2)/kr,Mn=(pr*st/sr+rr/2)/Yr,Un=_n*_n+dt*dt/kr,li=Mn*Mn-(pr*st*st/sr+rr*st-1)/Yr;return[M*(_n+F(Un)*St),M*(Mn+F(li<0?0:li)*p(-$e*xt)*St)]}Of.invert=function(Ge,$e){Ge/=M,$e/=M;var st=Ge*Ge,dt=$e*$e,St=st+dt,xt=w*w;return[Ge?(St-1+F((1-St)*(1-St)+4*st))/(2*Ge)*M:0,Ue(function(It){return St*(w*d(It)-2*It)*w+4*It*It*($e-d(It))+2*w*It-xt*$e},0)]};function Eh(){return x.geoProjection(Of).scale(127.267)}var Qf=1.0148,af=.23185,lh=-.14499,Iu=.02406,eh=Qf,su=5*af,Ru=7*lh,yc=9*Iu,Dl=1.790857183;function Rc(Ge,$e){var st=$e*$e;return[Ge,$e*(Qf+st*st*(af+st*(lh+Iu*st)))]}Rc.invert=function(Ge,$e){$e>Dl?$e=Dl:$e<-Dl&&($e=-Dl);var st=$e,dt;do{var St=st*st;st-=dt=(st*(Qf+St*St*(af+St*(lh+Iu*St)))-$e)/(eh+St*St*(su+St*(Ru+yc*St)))}while(S(dt)>l);return[Ge,st]};function tc(){return x.geoProjection(Rc).scale(139.319)}function xu(Ge,$e){if(S($e)l&&--St>0);return It=T(dt),[(S($e)=0;)if(dt=$e[rr],st[0]===dt[0]&&st[1]===dt[1]){if(xt)return[xt,st];xt=st}}}function lu(Ge){for(var $e=Ge.length,st=[],dt=Ge[$e-1],St=0;St<$e;++St)st.push([dt,dt=Ge[St]]);return st}function Xc(Ge){return Ge.project.invert||Ge.children&&Ge.children.some(Xc)}var ch=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Mf=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(Ge){return Ge.map(function($e){return ch[$e]})});function dl(Ge){Ge=Ge||function(st){var dt=x.geoCentroid({type:"MultiPoint",coordinates:st});return x.geoGnomonic().scale(1).translate([0,0]).rotate([-dt[0],-dt[1]])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:st0?[-dt[0],0]:[180-dt[0],180])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:stdt^Mn>dt&&st<(_n-pr)*(dt-kr)/(Mn-kr)+pr&&(St=!St)}return St}function Xl(Ge,$e){var st=$e.stream,dt;if(!st)throw new Error("invalid projection");switch(Ge&&Ge.type){case"Feature":dt=Wu;break;case"FeatureCollection":dt=Uf;break;default:dt=cc;break}return dt(Ge,st)}function Uf(Ge,$e){return{type:"FeatureCollection",features:Ge.features.map(function(st){return Wu(st,$e)})}}function Wu(Ge,$e){return{type:"Feature",id:Ge.id,properties:Ge.properties,geometry:cc(Ge.geometry,$e)}}function bc(Ge,$e){return{type:"GeometryCollection",geometries:Ge.geometries.map(function(st){return cc(st,$e)})}}function cc(Ge,$e){if(!Ge)return null;if(Ge.type==="GeometryCollection")return bc(Ge,$e);var st;switch(Ge.type){case"Point":st=fc;break;case"MultiPoint":st=fc;break;case"LineString":st=Dc;break;case"MultiLineString":st=Dc;break;case"Polygon":st=rc;break;case"MultiPolygon":st=rc;break;case"Sphere":st=rc;break;default:return null}return x.geoStream(Ge,$e(st)),st.result()}var zl=[],uu=[],fc={point:function(Ge,$e){zl.push([Ge,$e])},result:function(){var Ge=zl.length?zl.length<2?{type:"Point",coordinates:zl[0]}:{type:"MultiPoint",coordinates:zl}:null;return zl=[],Ge}},Dc={lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){zl.length&&(uu.push(zl),zl=[])},result:function(){var Ge=uu.length?uu.length<2?{type:"LineString",coordinates:uu[0]}:{type:"MultiLineString",coordinates:uu}:null;return uu=[],Ge}},rc={polygonStart:uc,lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){var Ge=zl.length;if(Ge){do zl.push(zl[0].slice());while(++Ge<4);uu.push(zl),zl=[]}},polygonEnd:uc,result:function(){if(!uu.length)return null;var Ge=[],$e=[];return uu.forEach(function(st){Zc(st)?Ge.push([st]):$e.push(st)}),$e.forEach(function(st){var dt=st[0];Ge.some(function(St){if(Nf(St[0],dt))return St.push(st),!0})||Ge.push([st])}),uu=[],Ge.length?Ge.length>1?{type:"MultiPolygon",coordinates:Ge}:{type:"Polygon",coordinates:Ge[0]}:null}};function Yc(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=S(dt)0?dt-w:dt+w,St),rr=(It[0]-It[1])*m,sr=(It[0]+It[1])*m;if(xt)return[rr,sr];var pr=$e*m,kr=rr>0^sr>0?-1:1;return[kr*rr-p(sr)*pr,kr*sr-p(rr)*pr]}return Ge.invert&&(st.invert=function(dt,St){var xt=(dt+St)*m,It=(St-dt)*m,rr=S(xt)<.5*$e&&S(It)<.5*$e;if(!rr){var sr=$e*m,pr=xt>0^It>0?-1:1,kr=-pr*dt+(It>0?1:-1)*sr,Yr=-pr*St+(xt>0?1:-1)*sr;xt=(-kr-Yr)*m,It=(kr-Yr)*m}var _n=Ge.invert(xt,It);return rr||(_n[0]+=xt>0?w:-w),_n}),x.geoProjection(st).rotate([-90,-90,45]).clipAngle(180-.001)}function Yt(){return Yc(wn).scale(176.423)}function dr(){return Yc(yo).scale(111.48)}function tn(Ge,$e){if(!(0<=($e=+$e)&&$e<=20))throw new Error("invalid digits");function st(pr){var kr=pr.length,Yr=2,_n=new Array(kr);for(_n[0]=+pr[0].toFixed($e),_n[1]=+pr[1].toFixed($e);Yr2||Mn[0]!=kr[0]||Mn[1]!=kr[1])&&(Yr.push(Mn),kr=Mn)}return Yr.length===1&&pr.length>1&&Yr.push(st(pr[pr.length-1])),Yr}function xt(pr){return pr.map(St)}function It(pr){if(pr==null)return pr;var kr;switch(pr.type){case"GeometryCollection":kr={type:"GeometryCollection",geometries:pr.geometries.map(It)};break;case"Point":kr={type:"Point",coordinates:st(pr.coordinates)};break;case"MultiPoint":kr={type:pr.type,coordinates:dt(pr.coordinates)};break;case"LineString":kr={type:pr.type,coordinates:St(pr.coordinates)};break;case"MultiLineString":case"Polygon":kr={type:pr.type,coordinates:xt(pr.coordinates)};break;case"MultiPolygon":kr={type:"MultiPolygon",coordinates:pr.coordinates.map(xt)};break;default:return pr}return pr.bbox!=null&&(kr.bbox=pr.bbox),kr}function rr(pr){var kr={type:"Feature",properties:pr.properties,geometry:It(pr.geometry)};return pr.id!=null&&(kr.id=pr.id),pr.bbox!=null&&(kr.bbox=pr.bbox),kr}if(Ge!=null)switch(Ge.type){case"Feature":return rr(Ge);case"FeatureCollection":{var sr={type:"FeatureCollection",features:Ge.features.map(rr)};return Ge.bbox!=null&&(sr.bbox=Ge.bbox),sr}default:return It(Ge)}return Ge}function Wr(Ge){var $e=d(Ge);function st(dt,St){var xt=$e?T(dt*$e/2)/$e:dt/2;if(!St)return[2*xt,-Ge];var It=2*e(xt*d(St)),rr=1/T(St);return[d(It)*rr,St+(1-r(It))*rr-Ge]}return st.invert=function(dt,St){if(S(St+=Ge)l&&--rr>0);var _n=dt*(pr=T(It)),Mn=T(S(St)0?M:-M)*(sr+St*(kr-It)/2+St*St*(kr-2*sr+It)/2)]}yi.invert=function(Ge,$e){var st=$e/M,dt=st*90,St=s(18,S(dt/5)),xt=a(0,n(St));do{var It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],pr=sr-It,kr=sr-2*rr+It,Yr=2*(S(st)-rr)/pr,_n=kr/pr,Mn=Yr*(1-_n*Yr*(1-2*_n*Yr));if(Mn>=0||xt===1){dt=($e>=0?5:-5)*(Mn+St);var Un=50,li;do St=s(18,S(dt)/5),xt=n(St),Mn=St-xt,It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],dt-=(li=($e>=0?M:-M)*(rr+Mn*(sr-It)/2+Mn*Mn*(sr-2*rr+It)/2)-$e)*y;while(S(li)>_&&--Un>0);break}}while(--xt>=0);var ki=si[xt][0],Ci=si[xt+1][0],Zi=si[s(19,xt+2)][0];return[Ge/(Ci+Mn*(Zi-ki)/2+Mn*Mn*(Zi-2*Ci+ki)/2),dt*f]};function Di(){return x.geoProjection(yi).scale(152.63)}function Wi(Ge){function $e(st,dt){var St=r(dt),xt=(Ge-1)/(Ge-St*r(st));return[xt*St*d(st),xt*d(dt)]}return $e.invert=function(st,dt){var St=st*st+dt*dt,xt=F(St),It=(Ge-F(1-St*(Ge+1)/(Ge-1)))/((Ge-1)/xt+xt/(Ge-1));return[t(st*It,xt*F(1-It*It)),xt?L(dt*It/xt):0]},$e}function aa(Ge,$e){var st=Wi(Ge);if(!$e)return st;var dt=r($e),St=d($e);function xt(It,rr){var sr=st(It,rr),pr=sr[1],kr=pr*St/(Ge-1)+dt;return[sr[0]*dt/kr,pr/kr]}return xt.invert=function(It,rr){var sr=(Ge-1)/(Ge-1-rr*St);return st.invert(sr*It,sr*rr*dt)},xt}function bi(){var Ge=2,$e=0,st=x.geoProjectionMutator(aa),dt=st(Ge,$e);return dt.distance=function(St){return arguments.length?st(Ge=+St,$e):Ge},dt.tilt=function(St){return arguments.length?st(Ge,$e=St*f):$e*y},dt.scale(432.147).clipAngle(z(1/Ge)*y-1e-6)}var zi=1e-4,Li=1e4,di=-180,wa=di+zi,po=180,co=po-zi,mo=-90,Ao=mo+zi,xa=90,Qi=xa-zi;function Lo(Ge){return Ge.length>0}function as(Ge){return Math.floor(Ge*Li)/Li}function Ds(Ge){return Ge===mo||Ge===xa?[0,Ge]:[di,as(Ge)]}function il(Ge){var $e=Ge[0],st=Ge[1],dt=!1;return $e<=wa?($e=di,dt=!0):$e>=co&&($e=po,dt=!0),st<=Ao?(st=mo,dt=!0):st>=Qi&&(st=xa,dt=!0),dt?[$e,st]:Ge}function Ns(Ge){return Ge.map(il)}function el(Ge,$e,st){for(var dt=0,St=Ge.length;dt=co||kr<=Ao||kr>=Qi){xt[It]=il(sr);for(var Yr=It+1;Yrwa&&MnAo&&Un=rr)break;st.push({index:-1,polygon:$e,ring:xt=xt.slice(Yr-1)}),xt[0]=Ds(xt[0][1]),It=-1,rr=xt.length}}}}function Es(Ge){var $e,st=Ge.length,dt={},St={},xt,It,rr,sr,pr;for($e=0;$e0?w-rr:rr)*y],pr=x.geoProjection(Ge(It)).rotate(sr),kr=x.geoRotation(sr),Yr=pr.center;return delete pr.rotate,pr.center=function(_n){return arguments.length?Yr(kr(_n)):kr.invert(Yr())},pr.clipAngle(90)}function zs(Ge){var $e=r(Ge);function st(dt,St){var xt=x.geoGnomonicRaw(dt,St);return xt[0]*=$e,xt}return st.invert=function(dt,St){return x.geoGnomonicRaw.invert(dt/$e,St)},st}function cu(){return zu([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function zu(Ge,$e){return Js(zs,Ge,$e)}function nc(Ge){if(!(Ge*=2))return x.geoAzimuthalEquidistantRaw;var $e=-Ge/2,st=-$e,dt=Ge*Ge,St=T(st),xt=.5/d(st);function It(rr,sr){var pr=z(r(sr)*r(rr-$e)),kr=z(r(sr)*r(rr-st)),Yr=sr<0?-1:1;return pr*=pr,kr*=kr,[(pr-kr)/(2*Ge),Yr*F(4*dt*kr-(dt-pr+kr)*(dt-pr+kr))/(2*Ge)]}return It.invert=function(rr,sr){var pr=sr*sr,kr=r(F(pr+(_n=rr+$e)*_n)),Yr=r(F(pr+(_n=rr+st)*_n)),_n,Mn;return[t(Mn=kr-Yr,_n=(kr+Yr)*St),(sr<0?-1:1)*z(F(_n*_n+Mn*Mn)*xt)]},It}function Kc(){return Tu([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Tu(Ge,$e){return Js(nc,Ge,$e)}function zc(Ge,$e){if(S($e)l&&--rr>0);return[p(Ge)*(F(St*St+4)+St)*w/4,M*It]};function dc(){return x.geoProjection(hc).scale(127.16)}function Ne(Ge,$e,st,dt,St){function xt(It,rr){var sr=st*d(dt*rr),pr=F(1-sr*sr),kr=F(2/(1+pr*r(It*=St)));return[Ge*pr*kr*d(It),$e*sr*kr]}return xt.invert=function(It,rr){var sr=It/Ge,pr=rr/$e,kr=F(sr*sr+pr*pr),Yr=2*L(kr/2);return[t(It*T(Yr),Ge*kr)/St,kr&&L(rr*d(Yr)/($e*st*kr))/dt]},xt}function R(Ge,$e,st,dt){var St=w/3;Ge=a(Ge,l),$e=a($e,l),Ge=s(Ge,M),$e=s($e,w-l),st=a(st,0),st=s(st,100-l),dt=a(dt,l);var xt=st/100+1,It=dt/100,rr=z(xt*r(St))/St,sr=d(Ge)/d(rr*M),pr=$e/w,kr=F(It*d(Ge/2)/d($e/2)),Yr=kr/F(pr*sr*rr),_n=1/(kr*F(pr*sr*rr));return Ne(Yr,_n,sr,rr,pr)}function ne(){var Ge=65*f,$e=60*f,st=20,dt=200,St=x.geoProjectionMutator(R),xt=St(Ge,$e,st,dt);return xt.poleline=function(It){return arguments.length?St(Ge=+It*f,$e,st,dt):Ge*y},xt.parallels=function(It){return arguments.length?St(Ge,$e=+It*f,st,dt):$e*y},xt.inflation=function(It){return arguments.length?St(Ge,$e,st=+It,dt):st},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(163.775)}function be(){return ne().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var Ae=4*w+3*F(3),Fe=2*F(2*w*F(3)/Ae),ht=tt(Fe*F(3)/w,Fe,Ae/6);function wt(){return x.geoProjection(ht).scale(176.84)}function zt(Ge,$e){return[Ge*F(1-3*$e*$e/(w*w)),$e]}zt.invert=function(Ge,$e){return[Ge/F(1-3*$e*$e/(w*w)),$e]};function Jt(){return x.geoProjection(zt).scale(152.63)}function hr(Ge,$e){var st=r($e),dt=r(Ge)*st,St=1-dt,xt=r(Ge=t(d(Ge)*st,-d($e))),It=d(Ge);return st=F(1-dt*dt),[It*st-xt*St,-xt*st-It*St]}hr.invert=function(Ge,$e){var st=(Ge*Ge+$e*$e)/-2,dt=F(-st*(2+st)),St=$e*st+Ge*dt,xt=Ge*st-$e*dt,It=F(xt*xt+St*St);return[t(dt*St,It*(1+st)),It?-L(dt*xt/It):0]};function vr(){return x.geoProjection(hr).rotate([0,-90,45]).scale(124.75).clipAngle(180-.001)}function Hr(Ge,$e){var st=le(Ge,$e);return[(st[0]+Ge/M)/2,(st[1]+$e)/2]}Hr.invert=function(Ge,$e){var st=Ge,dt=$e,St=25;do{var xt=r(dt),It=d(dt),rr=d(2*dt),sr=It*It,pr=xt*xt,kr=d(st),Yr=r(st/2),_n=d(st/2),Mn=_n*_n,Un=1-pr*Yr*Yr,li=Un?z(xt*Yr)*F(ki=1/Un):ki=0,ki,Ci=.5*(2*li*xt*_n+st/M)-Ge,Zi=.5*(li*It+dt)-$e,ya=.5*ki*(pr*Mn+li*xt*Yr*sr)+.5/M,ro=ki*(kr*rr/4-li*It*_n),Va=.125*ki*(rr*_n-li*It*pr*kr),Io=.5*ki*(sr*Yr+li*Mn*xt)+.5,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]};function ln(){return x.geoProjection(Hr).scale(158.837)}g.geoNaturalEarth=x.geoNaturalEarth1,g.geoNaturalEarthRaw=x.geoNaturalEarth1Raw,g.geoAiry=Q,g.geoAiryRaw=W,g.geoAitoff=se,g.geoAitoffRaw=le,g.geoArmadillo=G,g.geoArmadilloRaw=fe,g.geoAugust=J,g.geoAugustRaw=$,g.geoBaker=j,g.geoBakerRaw=ae,g.geoBerghaus=ie,g.geoBerghausRaw=ee,g.geoBertin1953=it,g.geoBertin1953Raw=Ye,g.geoBoggs=rt,g.geoBoggsRaw=Oe,g.geoBonne=Bt,g.geoBonneRaw=Et,g.geoBottomley=fr,g.geoBottomleyRaw=qt,g.geoBromley=Rr,g.geoBromleyRaw=ar,g.geoChamberlin=Se,g.geoChamberlinRaw=Be,g.geoChamberlinAfrica=je,g.geoCollignon=Ee,g.geoCollignonRaw=He,g.geoCraig=Le,g.geoCraigRaw=we,g.geoCraster=bt,g.geoCrasterRaw=pt,g.geoCylindricalEqualArea=Nt,g.geoCylindricalEqualAreaRaw=Rt,g.geoCylindricalStereographic=$t,g.geoCylindricalStereographicRaw=Xt,g.geoEckert1=pn,g.geoEckert1Raw=ur,g.geoEckert2=Nn,g.geoEckert2Raw=Rn,g.geoEckert3=ni,g.geoEckert3Raw=On,g.geoEckert4=Qn,g.geoEckert4Raw=zn,g.geoEckert5=Zt,g.geoEckert5Raw=gi,g.geoEckert6=Ht,g.geoEckert6Raw=Ft,g.geoEisenlohr=$r,g.geoEisenlohrRaw=wr,g.geoFahey=Fn,g.geoFaheyRaw=en,g.geoFoucaut=ri,g.geoFoucautRaw=Wn,g.geoFoucautSinusoidal=ui,g.geoFoucautSinusoidalRaw=Sn,g.geoGilbert=Pr,g.geoGingery=Lr,g.geoGingeryRaw=Ir,g.geoGinzburg4=nn,g.geoGinzburg4Raw=Dr,g.geoGinzburg5=gn,g.geoGinzburg5Raw=vn,g.geoGinzburg6=or,g.geoGinzburg6Raw=kt,g.geoGinzburg8=on,g.geoGinzburg8Raw=yr,g.geoGinzburg9=Zn,g.geoGinzburg9Raw=An,g.geoGringorten=pi,g.geoGringortenRaw=wn,g.geoGuyou=pa,g.geoGuyouRaw=yo,g.geoHammer=Te,g.geoHammerRaw=ce,g.geoHammerRetroazimuthal=gs,g.geoHammerRetroazimuthalRaw=cs,g.geoHealpix=Ls,g.geoHealpixRaw=Yo,g.geoHill=Ws,g.geoHillRaw=Vs,g.geoHomolosine=Eo,g.geoHomolosineRaw=Xs,g.geoHufnagel=As,g.geoHufnagelRaw=Ys,g.geoHyperelliptical=Uo,g.geoHyperellipticalRaw=la,g.geoInterrupt=no,g.geoInterruptedBoggs=Ku,g.geoInterruptedHomolosine=Vu,g.geoInterruptedMollweide=Qs,g.geoInterruptedMollweideHemispheres=qu,g.geoInterruptedSinuMollweide=Ju,g.geoInterruptedSinusoidal=uf,g.geoKavrayskiy7=Hc,g.geoKavrayskiy7Raw=qs,g.geoLagrange=Ql,g.geoLagrangeRaw=bf,g.geoLarrivee=gc,g.geoLarriveeRaw=oc,g.geoLaskowski=Ml,g.geoLaskowskiRaw=nl,g.geoLittrow=sl,g.geoLittrowRaw=Zs,g.geoLoximuthal=jl,g.geoLoximuthalRaw=sc,g.geoMiller=ll,g.geoMillerRaw=$u,g.geoModifiedStereographic=Vl,g.geoModifiedStereographicRaw=Nh,g.geoModifiedStereographicAlaska=Qu,g.geoModifiedStereographicGs48=pu,g.geoModifiedStereographicGs50=Df,g.geoModifiedStereographicMiller=Lc,g.geoModifiedStereographicLee=nf,g.geoMollweide=Me,g.geoMollweideRaw=ut,g.geoMtFlatPolarParabolic=Gc,g.geoMtFlatPolarParabolicRaw=wf,g.geoMtFlatPolarQuartic=$f,g.geoMtFlatPolarQuarticRaw=Ff,g.geoMtFlatPolarSinusoidal=Tf,g.geoMtFlatPolarSinusoidalRaw=ec,g.geoNaturalEarth2=Wc,g.geoNaturalEarth2Raw=Pc,g.geoNellHammer=cf,g.geoNellHammerRaw=Pu,g.geoInterruptedQuarticAuthalic=Ks,g.geoNicolosi=Eh,g.geoNicolosiRaw=Of,g.geoPatterson=tc,g.geoPattersonRaw=Rc,g.geoPolyconic=Sl,g.geoPolyconicRaw=xu,g.geoPolyhedral=of,g.geoPolyhedralButterfly=dl,g.geoPolyhedralCollignon=Bf,g.geoPolyhedralWaterman=ul,g.geoProject=Xl,g.geoGringortenQuincuncial=Yt,g.geoPeirceQuincuncial=dr,g.geoPierceQuincuncial=dr,g.geoQuantize=tn,g.geoQuincuncial=Yc,g.geoRectangularPolyconic=Cn,g.geoRectangularPolyconicRaw=Wr,g.geoRobinson=Di,g.geoRobinsonRaw=yi,g.geoSatellite=bi,g.geoSatelliteRaw=aa,g.geoSinuMollweide=pl,g.geoSinuMollweideRaw=Da,g.geoSinusoidal=Lt,g.geoSinusoidalRaw=et,g.geoStitch=cl,g.geoTimes=jo,g.geoTimesRaw=Za,g.geoTwoPointAzimuthal=zu,g.geoTwoPointAzimuthalRaw=zs,g.geoTwoPointAzimuthalUsa=cu,g.geoTwoPointEquidistant=Tu,g.geoTwoPointEquidistantRaw=nc,g.geoTwoPointEquidistantUsa=Kc,g.geoVanDerGrinten=Fu,g.geoVanDerGrintenRaw=zc,g.geoVanDerGrinten2=bo,g.geoVanDerGrinten2Raw=wc,g.geoVanDerGrinten3=Fc,g.geoVanDerGrinten3Raw=Wo,g.geoVanDerGrinten4=dc,g.geoVanDerGrinten4Raw=hc,g.geoWagner=ne,g.geoWagner7=be,g.geoWagnerRaw=R,g.geoWagner4=wt,g.geoWagner4Raw=ht,g.geoWagner6=Jt,g.geoWagner6Raw=zt,g.geoWiechel=vr,g.geoWiechelRaw=hr,g.geoWinkel3=ln,g.geoWinkel3Raw=Hr,Object.defineProperty(g,"__esModule",{value:!0})})}}),d6=ke({"src/plots/geo/zoom.js"(Z,H){"use strict";var g=_i(),x=un(),A=lo(),S=Math.PI/180,e=180/Math.PI,t={cursor:"pointer"},r={cursor:"auto"};function o(y,f){var P=y.projection,L;return f._isScoped?L=a:f._isClipped?L=c:L=s,L(y,P)}H.exports=o;function n(y,f){return g.behavior.zoom().translate(f.translate()).scale(f.scale())}function i(y,f,P){var L=y.id,z=y.graphDiv,F=z.layout,B=F[L],O=z._fullLayout,I=O[L],N={},U={};function W(Q,le){N[L+"."+Q]=x.nestedProperty(B,Q).get(),A.call("_storeDirectGUIEdit",F,O._preGUI,N);var se=x.nestedProperty(I,Q);se.get()!==le&&(se.set(le),x.nestedProperty(B,Q).set(le),U[L+"."+Q]=le)}P(W),W("projection.scale",f.scale()/y.fitScale),W("fitbounds",!1),z.emit("plotly_relayout",U)}function a(y,f){var P=n(y,f);function L(){g.select(this).style(t)}function z(){f.scale(g.event.scale).translate(g.event.translate),y.render(!0);var O=f.invert(y.midPt);y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}function F(O){var I=f.invert(y.midPt);O("center.lon",I[0]),O("center.lat",I[1])}function B(){g.select(this).style(r),i(y,f,F)}return P.on("zoomstart",L).on("zoom",z).on("zoomend",B),P}function s(y,f){var P=n(y,f),L=2,z,F,B,O,I,N,U,W,Q;function le(X){return f.invert(X)}function se(X){var re=le(X);if(!re)return!0;var ae=f(re);return Math.abs(ae[0]-X[0])>L||Math.abs(ae[1]-X[1])>L}function fe(){g.select(this).style(t),z=g.mouse(this),F=f.rotate(),B=f.translate(),O=F,I=le(z)}function G(){if(N=g.mouse(this),se(z)){P.scale(f.scale()),P.translate(f.translate());return}f.scale(g.event.scale),f.translate([B[0],g.event.translate[1]]),I?le(N)&&(W=le(N),U=[O[0]+(W[0]-I[0]),F[1],F[2]],f.rotate(U),O=U):(z=N,I=le(z)),Q=!0,y.render(!0);var X=f.rotate(),re=f.invert(y.midPt);y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.center.lon":re[0],"geo.center.lat":re[1],"geo.projection.rotation.lon":-X[0]})}function $(){g.select(this).style(r),Q&&i(y,f,J)}function J(X){var re=f.rotate(),ae=f.invert(y.midPt);X("projection.rotation.lon",-re[0]),X("center.lon",ae[0]),X("center.lat",ae[1])}return P.on("zoomstart",fe).on("zoom",G).on("zoomend",$),P}function c(y,f){var P={r:f.rotate(),k:f.scale()},L=n(y,f),z=u(L,"zoomstart","zoom","zoomend"),F=0,B=L.on,O;L.on("zoomstart",function(){g.select(this).style(t);var Q=g.mouse(this),le=f.rotate(),se=le,fe=f.translate(),G=p(le);O=h(f,Q),B.call(L,"zoom",function(){var $=g.mouse(this);if(f.scale(P.k=g.event.scale),!O)Q=$,O=h(f,Q);else if(h(f,$)){f.rotate(le).translate(fe);var J=h(f,$),X=T(O,J),re=E(d(G,X)),ae=P.r=l(re,O,se);(!isFinite(ae[0])||!isFinite(ae[1])||!isFinite(ae[2]))&&(ae=se),f.rotate(ae),se=ae}N(z.of(this,arguments))}),I(z.of(this,arguments))}).on("zoomend",function(){g.select(this).style(r),B.call(L,"zoom",null),U(z.of(this,arguments)),i(y,f,W)}).on("zoom.redraw",function(){y.render(!0);var Q=f.rotate();y.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":f.scale()/y.fitScale,"geo.projection.rotation.lon":-Q[0],"geo.projection.rotation.lat":-Q[1]})});function I(Q){F++||Q({type:"zoomstart"})}function N(Q){Q({type:"zoom"})}function U(Q){--F||Q({type:"zoomend"})}function W(Q){var le=f.rotate();Q("projection.rotation.lon",-le[0]),Q("projection.rotation.lat",-le[1])}return g.rebind(L,z,"on")}function h(y,f){var P=y.invert(f);return P&&isFinite(P[0])&&isFinite(P[1])&&m(P)}function p(y){var f=.5*y[0]*S,P=.5*y[1]*S,L=.5*y[2]*S,z=Math.sin(f),F=Math.cos(f),B=Math.sin(P),O=Math.cos(P),I=Math.sin(L),N=Math.cos(L);return[F*O*N+z*B*I,z*O*N-F*B*I,F*B*N+z*O*I,F*O*I-z*B*N]}function d(y,f){var P=y[0],L=y[1],z=y[2],F=y[3],B=f[0],O=f[1],I=f[2],N=f[3];return[P*B-L*O-z*I-F*N,P*O+L*B+z*N-F*I,P*I-L*N+z*B+F*O,P*N+L*I-z*O+F*B]}function T(y,f){if(!(!y||!f)){var P=v(y,f),L=Math.sqrt(b(P,P)),z=.5*Math.acos(Math.max(-1,Math.min(1,b(y,f)))),F=Math.sin(z)/L;return L&&[Math.cos(z),P[2]*F,-P[1]*F,P[0]*F]}}function l(y,f,P){var L=M(f,2,y[0]);L=M(L,1,y[1]),L=M(L,0,y[2]-P[2]);var z=f[0],F=f[1],B=f[2],O=L[0],I=L[1],N=L[2],U=Math.atan2(F,z)*e,W=Math.sqrt(z*z+F*F),Q,le;Math.abs(I)>W?(le=(I>0?90:-90)-U,Q=0):(le=Math.asin(I/W)*e-U,Q=Math.sqrt(W*W-I*I));var se=180-le-2*U,fe=(Math.atan2(N,O)-Math.atan2(B,Q))*e,G=(Math.atan2(N,O)-Math.atan2(B,-Q))*e,$=_(P[0],P[1],le,fe),J=_(P[0],P[1],se,G);return $<=J?[le,fe,P[2]]:[se,G,P[2]]}function _(y,f,P,L){var z=w(P-y),F=w(L-f);return Math.sqrt(z*z+F*F)}function w(y){return(y%360+540)%360-180}function M(y,f,P){var L=P*S,z=y.slice(),F=f===0?1:0,B=f===2?1:2,O=Math.cos(L),I=Math.sin(L);return z[F]=y[F]*O-y[B]*I,z[B]=y[B]*O+y[F]*I,z}function E(y){return[Math.atan2(2*(y[0]*y[1]+y[2]*y[3]),1-2*(y[1]*y[1]+y[2]*y[2]))*e,Math.asin(Math.max(-1,Math.min(1,2*(y[0]*y[2]-y[3]*y[1]))))*e,Math.atan2(2*(y[0]*y[3]+y[1]*y[2]),1-2*(y[2]*y[2]+y[3]*y[3]))*e]}function m(y){var f=y[0]*S,P=y[1]*S,L=Math.cos(P);return[L*Math.cos(f),L*Math.sin(f),Math.sin(P)]}function b(y,f){for(var P=0,L=0,z=y.length;L0&&I._module.calcGeoJSON(O,L)}if(!z){var N=this.updateProjection(P,L);if(N)return;(!this.viewInitial||this.scope!==F.scope)&&this.saveViewInitial(F)}this.scope=F.scope,this.updateBaseLayers(L,F),this.updateDims(L,F),this.updateFx(L,F),s.generalUpdatePerTraceModule(this.graphDiv,this,P,F);var U=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=U.selectAll(".point"),this.dataPoints.text=U.selectAll("text"),this.dataPaths.line=U.selectAll(".js-line");var W=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=W.selectAll("path"),this._render()},v.updateProjection=function(P,L){var z=this.graphDiv,F=L[this.id],B=L._size,O=F.domain,I=F.projection,N=F.lonaxis,U=F.lataxis,W=N._ax,Q=U._ax,le=this.projection=u(F),se=[[B.l+B.w*O.x[0],B.t+B.h*(1-O.y[1])],[B.l+B.w*O.x[1],B.t+B.h*(1-O.y[0])]],fe=F.center||{},G=I.rotation||{},$=N.range||[],J=U.range||[];if(F.fitbounds){W._length=se[1][0]-se[0][0],Q._length=se[1][1]-se[0][1],W.range=h(z,W),Q.range=h(z,Q);var X=(W.range[0]+W.range[1])/2,re=(Q.range[0]+Q.range[1])/2;if(F._isScoped)fe={lon:X,lat:re};else if(F._isClipped){fe={lon:X,lat:re},G={lon:X,lat:re,roll:G.roll};var ae=I.type,j=w.lonaxisSpan[ae]/2||180,ee=w.lataxisSpan[ae]/2||90;$=[X-j,X+j],J=[re-ee,re+ee]}else fe={lon:X,lat:re},G={lon:X,lat:G.lat,roll:G.roll}}le.center([fe.lon-G.lon,fe.lat-G.lat]).rotate([-G.lon,-G.lat,G.roll]).parallels(I.parallels);var ie=f($,J);le.fitExtent(se,ie);var ce=this.bounds=le.getBounds(ie),xe=this.fitScale=le.scale(),Te=le.translate();if(F.fitbounds){var Ue=le.getBounds(f(W.range,Q.range)),Ie=Math.min((ce[1][0]-ce[0][0])/(Ue[1][0]-Ue[0][0]),(ce[1][1]-ce[0][1])/(Ue[1][1]-Ue[0][1]));isFinite(Ie)?le.scale(Ie*xe):r.warn("Something went wrong during"+this.id+"fitbounds computations.")}else le.scale(I.scale*xe);var Ye=this.midPt=[(ce[0][0]+ce[1][0])/2,(ce[0][1]+ce[1][1])/2];if(le.translate([Te[0]+(Ye[0]-Te[0]),Te[1]+(Ye[1]-Te[1])]).clipExtent(ce),F._isAlbersUsa){var it=le([fe.lon,fe.lat]),at=le.translate();le.translate([at[0]-(it[0]-at[0]),at[1]-(it[1]-at[1])])}},v.updateBaseLayers=function(P,L){var z=this,F=z.topojson,B=z.layers,O=z.basePaths;function I(se){return se==="lonaxis"||se==="lataxis"}function N(se){return!!w.lineLayers[se]}function U(se){return!!w.fillLayers[se]}var W=this.hasChoropleth?w.layersForChoropleth:w.layers,Q=W.filter(function(se){return N(se)||U(se)?L["show"+se]:I(se)?L[se].showgrid:!0}),le=z.framework.selectAll(".layer").data(Q,String);le.exit().each(function(se){delete B[se],delete O[se],g.select(this).remove()}),le.enter().append("g").attr("class",function(se){return"layer "+se}).each(function(se){var fe=B[se]=g.select(this);se==="bg"?z.bgRect=fe.append("rect").style("pointer-events","all"):I(se)?O[se]=fe.append("path").style("fill","none"):se==="backplot"?fe.append("g").classed("choroplethlayer",!0):se==="frontplot"?fe.append("g").classed("scatterlayer",!0):N(se)?O[se]=fe.append("path").style("fill","none").style("stroke-miterlimit",2):U(se)&&(O[se]=fe.append("path").style("stroke","none"))}),le.order(),le.each(function(se){var fe=O[se],G=w.layerNameToAdjective[se];se==="frame"?fe.datum(w.sphereSVG):N(se)||U(se)?fe.datum(m(F,F.objects[se])):I(se)&&fe.datum(y(se,L,P)).call(n.stroke,L[se].gridcolor).call(i.dashLine,L[se].griddash,L[se].gridwidth),N(se)?fe.call(n.stroke,L[G+"color"]).call(i.dashLine,"",L[G+"width"]):U(se)&&fe.call(n.fill,L[G+"color"])})},v.updateDims=function(P,L){var z=this.bounds,F=(L.framewidth||0)/2,B=z[0][0]-F,O=z[0][1]-F,I=z[1][0]-B+F,N=z[1][1]-O+F;i.setRect(this.clipRect,B,O,I,N),this.bgRect.call(i.setRect,B,O,I,N).call(n.fill,L.bgcolor),this.xaxis._offset=B,this.xaxis._length=I,this.yaxis._offset=O,this.yaxis._length=N},v.updateFx=function(P,L){var z=this,F=z.graphDiv,B=z.bgRect,O=P.dragmode,I=P.clickmode;if(z.isStatic)return;function N(){var le=z.viewInitial,se={};for(var fe in le)se[z.id+"."+fe]=le[fe];t.call("_guiRelayout",F,se),F.emit("plotly_doubleclick",null)}function U(le){return z.projection.invert([le[0]+z.xaxis._offset,le[1]+z.yaxis._offset])}var W=function(le,se){if(se.isRect){var fe=le.range={};fe[z.id]=[U([se.xmin,se.ymin]),U([se.xmax,se.ymax])]}else{var G=le.lassoPoints={};G[z.id]=se.map(U)}},Q={element:z.bgRect.node(),gd:F,plotinfo:{id:z.id,xaxis:z.xaxis,yaxis:z.yaxis,fillRangeItems:W},xaxes:[z.xaxis],yaxes:[z.yaxis],subplot:z.id,clickFn:function(le){le===2&&T(F)}};O==="pan"?(B.node().onmousedown=null,B.call(_(z,L)),B.on("dblclick.zoom",N),F._context._scrollZoom.geo||B.on("wheel.zoom",null)):(O==="select"||O==="lasso")&&(B.on(".zoom",null),Q.prepFn=function(le,se,fe){d(le,se,fe,Q,O)},p.init(Q)),B.on("mousemove",function(){var le=z.projection.invert(r.getPositionFromD3Event());if(!le)return p.unhover(F,g.event);z.xaxis.p2c=function(){return le[0]},z.yaxis.p2c=function(){return le[1]},a.hover(F,g.event,z.id)}),B.on("mouseout",function(){F._dragging||p.unhover(F,g.event)}),B.on("click",function(){O!=="select"&&O!=="lasso"&&(I.indexOf("select")>-1&&l(g.event,F,[z.xaxis],[z.yaxis],z.id,Q),I.indexOf("event")>-1&&a.click(F,g.event))})},v.makeFramework=function(){var P=this,L=P.graphDiv,z=L._fullLayout,F="clip"+z._uid+P.id;P.clipDef=z._clips.append("clipPath").attr("id",F),P.clipRect=P.clipDef.append("rect"),P.framework=g.select(P.container).append("g").attr("class","geo "+P.id).call(i.setClipUrl,F,L),P.project=function(B){var O=P.projection(B);return O?[O[0]-P.xaxis._offset,O[1]-P.yaxis._offset]:[null,null]},P.xaxis={_id:"x",c2p:function(B){return P.project(B)[0]}},P.yaxis={_id:"y",c2p:function(B){return P.project(B)[1]}},P.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(P.mockAxis,z)},v.saveViewInitial=function(P){var L=P.center||{},z=P.projection,F=z.rotation||{};this.viewInitial={fitbounds:P.fitbounds,"projection.scale":z.scale};var B;P._isScoped?B={"center.lon":L.lon,"center.lat":L.lat}:P._isClipped?B={"projection.rotation.lon":F.lon,"projection.rotation.lat":F.lat}:B={"center.lon":L.lon,"center.lat":L.lat,"projection.rotation.lon":F.lon},r.extendFlat(this.viewInitial,B)},v.render=function(P){this._hasMarkerAngles&&P?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},v._render=function(){var P=this.projection,L=P.getPath(),z;function F(O){var I=P(O.lonlat);return I?o(I[0],I[1]):null}function B(O){return P.isLonLatOverEdges(O.lonlat)?"none":null}for(z in this.basePaths)this.basePaths[z].attr("d",L);for(z in this.dataPaths)this.dataPaths[z].attr("d",function(O){return L(O.geojson)});for(z in this.dataPoints)this.dataPoints[z].attr("display",B).attr("transform",F)};function u(P){var L=P.projection,z=L.type,F=w.projNames[z];F="geo"+r.titleCase(F);for(var B=x[F]||e[F],O=B(),I=P._isSatellite?Math.acos(1/L.distance)*180/Math.PI:P._isClipped?w.lonaxisSpan[z]/2:null,N=["center","rotate","parallels","clipExtent"],U=function(le){return le?O:[]},W=0;WG}else return!1},O.getPath=function(){return A().projection(O)},O.getBounds=function(le){return O.getPath().bounds(le)},O.precision(w.precision),P._isSatellite&&O.tilt(L.tilt).distance(L.distance),I&&O.clipAngle(I-w.clipPad),O}function y(P,L,z){var F=1e-6,B=2.5,O=L[P],I=w.scopeDefaults[L.scope],N,U,W;P==="lonaxis"?(N=I.lonaxisRange,U=I.lataxisRange,W=function(re,ae){return[re,ae]}):P==="lataxis"&&(N=I.lataxisRange,U=I.lonaxisRange,W=function(re,ae){return[ae,re]});var Q={type:"linear",range:[N[0],N[1]-F],tick0:O.tick0,dtick:O.dtick};c.setConvert(Q,z);var le=c.calcTicks(Q);!L.isScoped&&P==="lonaxis"&&le.pop();for(var se=le.length,fe=new Array(se),G=0;G0&&B<0&&(B+=360);var N=(B-F)/4;return{type:"Polygon",coordinates:[[[F,O],[F,I],[F+N,I],[F+2*N,I],[F+3*N,I],[B,I],[B,O],[B-N,O],[B-2*N,O],[B-3*N,O],[F,O]]]}}}}),gA=ke({"src/plots/geo/layout_attributes.js"(Z,H){"use strict";var g=If(),x=Yu().attributes,A=xh().dash,S=H0(),e=ju().overrideAll,t=Ip(),r={range:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},showgrid:{valType:"boolean",dflt:!1},tick0:{valType:"number",dflt:0},dtick:{valType:"number"},gridcolor:{valType:"color",dflt:g.lightLine},gridwidth:{valType:"number",min:0,dflt:1},griddash:A},o=H.exports=e({domain:x({name:"geo"},{}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,editType:"plot"},resolution:{valType:"enumerated",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:"enumerated",values:t(S.scopeDefaults),dflt:"world"},projection:{type:{valType:"enumerated",values:t(S.projNames)},rotation:{lon:{valType:"number"},lat:{valType:"number"},roll:{valType:"number"}},tilt:{valType:"number",dflt:0},distance:{valType:"number",min:1.001,dflt:2},parallels:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},scale:{valType:"number",min:0,dflt:1}},center:{lon:{valType:"number"},lat:{valType:"number"}},visible:{valType:"boolean",dflt:!0},showcoastlines:{valType:"boolean"},coastlinecolor:{valType:"color",dflt:g.defaultLine},coastlinewidth:{valType:"number",min:0,dflt:1},showland:{valType:"boolean",dflt:!1},landcolor:{valType:"color",dflt:S.landColor},showocean:{valType:"boolean",dflt:!1},oceancolor:{valType:"color",dflt:S.waterColor},showlakes:{valType:"boolean",dflt:!1},lakecolor:{valType:"color",dflt:S.waterColor},showrivers:{valType:"boolean",dflt:!1},rivercolor:{valType:"color",dflt:S.waterColor},riverwidth:{valType:"number",min:0,dflt:1},showcountries:{valType:"boolean"},countrycolor:{valType:"color",dflt:g.defaultLine},countrywidth:{valType:"number",min:0,dflt:1},showsubunits:{valType:"boolean"},subunitcolor:{valType:"color",dflt:g.defaultLine},subunitwidth:{valType:"number",min:0,dflt:1},showframe:{valType:"boolean"},framecolor:{valType:"color",dflt:g.defaultLine},framewidth:{valType:"number",min:0,dflt:1},bgcolor:{valType:"color",dflt:g.background},lonaxis:r,lataxis:r},"plot","from-root");o.uirevision={valType:"any",editType:"none"}}}),p6=ke({"src/plots/geo/layout_defaults.js"(Z,H){"use strict";var g=un(),x=Up(),A=bh().getSubplotData,S=H0(),e=gA(),t=S.axesNames;H.exports=function(n,i,a){x(n,i,a,{type:"geo",attributes:e,handleDefaults:r,fullData:a,partition:"y"})};function r(o,n,i,a){var s=A(a.fullData,"geo",a.id),c=s.map(function(J){return J.index}),h=i("resolution"),p=i("scope"),d=S.scopeDefaults[p],T=i("projection.type",d.projType),l=n._isAlbersUsa=T==="albers usa";l&&(p=n.scope="usa");var _=n._isScoped=p!=="world",w=n._isSatellite=T==="satellite",M=n._isConic=T.indexOf("conic")!==-1||T==="albers",E=n._isClipped=!!S.lonaxisSpan[T];if(o.visible===!1){var m=g.extendDeep({},n._template);m.showcoastlines=!1,m.showcountries=!1,m.showframe=!1,m.showlakes=!1,m.showland=!1,m.showocean=!1,m.showrivers=!1,m.showsubunits=!1,m.lonaxis&&(m.lonaxis.showgrid=!1),m.lataxis&&(m.lataxis.showgrid=!1),n._template=m}for(var b=i("visible"),v,u=0;u0&&U<0&&(U+=360);var W=(N+U)/2,Q;if(!l){var le=_?d.projRotate:[W,0,0];Q=i("projection.rotation.lon",le[0]),i("projection.rotation.lat",le[1]),i("projection.rotation.roll",le[2]),v=i("showcoastlines",!_&&b),v&&(i("coastlinecolor"),i("coastlinewidth")),v=i("showocean",b?void 0:!1),v&&i("oceancolor")}var se,fe;if(l?(se=-96.6,fe=38.7):(se=_?W:Q,fe=(I[0]+I[1])/2),i("center.lon",se),i("center.lat",fe),w&&(i("projection.tilt"),i("projection.distance")),M){var G=d.projParallels||[0,60];i("projection.parallels",G)}i("projection.scale"),v=i("showland",b?void 0:!1),v&&i("landcolor"),v=i("showlakes",b?void 0:!1),v&&i("lakecolor"),v=i("showrivers",b?void 0:!1),v&&(i("rivercolor"),i("riverwidth")),v=i("showcountries",_&&p!=="usa"&&b),v&&(i("countrycolor"),i("countrywidth")),(p==="usa"||p==="north america"&&h===50)&&(i("showsubunits",b),i("subunitcolor"),i("subunitwidth")),_||(v=i("showframe",b),v&&(i("framecolor"),i("framewidth"))),i("bgcolor");var $=i("fitbounds");$&&(delete n.projection.scale,_?(delete n.center.lon,delete n.center.lat):E?(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon,delete n.projection.rotation.lat,delete n.lonaxis.range,delete n.lataxis.range):(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon))}}}),yA=ke({"src/plots/geo/index.js"(Z,H){"use strict";var g=bh().getSubplotCalcData,x=un().counterRegex,A=v6(),S="geo",e=x(S),t={};t[S]={valType:"subplotid",dflt:S,editType:"calc"};function r(i){for(var a=i._fullLayout,s=i.calcdata,c=a._subplots[S],h=0;h")}}}}),rb=ke({"src/traces/choropleth/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){x.location=A.location,x.z=A.z;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x.ct=r.ct,x}}}),nb=ke({"src/traces/choropleth/select.js"(Z,H){"use strict";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n,i,a,s;if(A===!1)for(o=0;o=Math.min(U,W)&&T<=Math.max(U,W)?0:1/0}if(L=Math.min(Q,le)&&l<=Math.max(Q,le)?0:1/0}B=Math.sqrt(L*L+z*z),u=w[P]}}}else for(P=w.length-1;P>-1;P--)v=w[P],y=p[v],f=d[v],L=c.c2p(y)-T,z=h.c2p(f)-l,F=Math.sqrt(L*L+z*z),F100},Z.isDotSymbol=function(g){return typeof g=="string"?H.DOT_RE.test(g):g>200}}}),b6=ke({"src/traces/scattergl/defaults.js"(Z,H){"use strict";var g=un(),x=lo(),A=ab(),S=W0(),e=kv(),t=vu(),r=Xg(),o=hv(),n=Fd(),i=Hd(),a=dv(),s=Gd();H.exports=function(h,p,d,T){function l(u,y){return g.coerce(h,p,S,u,y)}var _=h.marker?A.isOpenSymbol(h.marker.symbol):!1,w=t.isBubble(h),M=r(h,p,T,l);if(!M){p.visible=!1;return}o(h,p,T,l),l("xhoverformat"),l("yhoverformat");var E=M>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>=0?(s=c,a=c-1):i=c+1}return s}function x(r,o,n,i,a){for(var s=a+1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>0?(s=c,a=c-1):i=c+1}return s}function A(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<0?(s=c,i=c+1):a=c-1}return s}function S(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<=0?(s=c,i=c+1):a=c-1}return s}function e(r,o,n,i,a){for(;i<=a;){var s=i+a>>>1,c=r[s],h=n!==void 0?n(c,o):c-o;if(h===0)return s;h<=0?i=s+1:a=s-1}return-1}function t(r,o,n,i,a,s){return typeof n=="function"?s(r,o,n,i===void 0?0:i|0,a===void 0?r.length-1:a|0):s(r,o,void 0,n===void 0?0:n|0,i===void 0?r.length-1:i|0)}H.exports={ge:function(r,o,n,i,a){return t(r,o,n,i,a,g)},gt:function(r,o,n,i,a){return t(r,o,n,i,a,x)},lt:function(r,o,n,i,a){return t(r,o,n,i,a,A)},le:function(r,o,n,i,a){return t(r,o,n,i,a,S)},eq:function(r,o,n,i,a){return t(r,o,n,i,a,e)}}}}),Rv=ke({"node_modules/pick-by-alias/index.js"(Z,H){"use strict";H.exports=function(S,e,t){var r={},o,n;if(typeof e=="string"&&(e=x(e)),Array.isArray(e)){var i={};for(n=0;n1&&(A=arguments),typeof A=="string"?A=A.split(/\s/).map(parseFloat):typeof A=="number"&&(A=[A]),A.length&&typeof A[0]=="number"?A.length===1?S={width:A[0],height:A[0],x:0,y:0}:A.length===2?S={width:A[0],height:A[1],x:0,y:0}:S={x:A[0],y:A[1],width:A[2]-A[0]||0,height:A[3]-A[1]||0}:A&&(A=g(A,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),S={x:A.left||0,y:A.top||0},A.width==null?A.right?S.width=A.right-S.x:S.width=0:S.width=A.width,A.height==null?A.bottom?S.height=A.bottom-S.y:S.height=0:S.height=A.height),S}}}),$m=ke({"node_modules/array-bounds/index.js"(Z,H){"use strict";H.exports=g;function g(x,A){if(!x||x.length==null)throw Error("Argument should be an array");A==null?A=1:A=Math.floor(A);for(var S=Array(A*2),e=0;et&&(t=x[o]),x[o]>>1,w;p.dtype||(p.dtype="array"),typeof p.dtype=="string"?w=new(n(p.dtype))(_):p.dtype&&(w=p.dtype,Array.isArray(w)&&(w.length=_));for(let L=0;L<_;++L)w[L]=L;let M=[],E=[],m=[],b=[];u(0,0,1,w,0,1);let v=0;for(let L=0;Ld||I>a){for(let re=0;reie||W>ce||Q=se||j===ee)return;let xe=M[ae];ee===void 0&&(ee=xe.length);for(let Me=j;Me=B&&ue<=I&&Oe>=O&&Oe<=N&&fe.push(pe)}let Te=E[ae],Ue=Te[j*4+0],Ie=Te[j*4+1],Ye=Te[j*4+2],it=Te[j*4+3],at=$(Te,j+1),tt=re*.5,ut=ae+1;G(J,X,tt,ut,Ue,Ie||Ye||it||at),G(J,X+tt,tt,ut,Ie,Ye||it||at),G(J+tt,X,tt,ut,Ye,it||at),G(J+tt,X+tt,tt,ut,it,at)}function $(J,X){let re=null,ae=0;for(;re===null;)if(re=J[X*4+ae],ae++,ae>J.length)return null;return re}return fe}function f(L,z,F,B,O){let I=[];for(let N=0;N1&&(h=1),h<-1&&(h=-1),c*Math.acos(h)},t=function(n,i,a,s,c,h,p,d,T,l,_,w){var M=Math.pow(c,2),E=Math.pow(h,2),m=Math.pow(_,2),b=Math.pow(w,2),v=M*E-M*b-E*m;v<0&&(v=0),v/=M*b+E*m,v=Math.sqrt(v)*(p===d?-1:1);var u=v*c/h*w,y=v*-h/c*_,f=l*u-T*y+(n+a)/2,P=T*u+l*y+(i+s)/2,L=(_-u)/c,z=(w-y)/h,F=(-_-u)/c,B=(-w-y)/h,O=e(1,0,L,z),I=e(L,z,F,B);return d===0&&I>0&&(I-=x),d===1&&I<0&&(I+=x),[f,P,O,I]},r=function(n){var i=n.px,a=n.py,s=n.cx,c=n.cy,h=n.rx,p=n.ry,d=n.xAxisRotation,T=d===void 0?0:d,l=n.largeArcFlag,_=l===void 0?0:l,w=n.sweepFlag,M=w===void 0?0:w,E=[];if(h===0||p===0)return[];var m=Math.sin(T*x/360),b=Math.cos(T*x/360),v=b*(i-s)/2+m*(a-c)/2,u=-m*(i-s)/2+b*(a-c)/2;if(v===0&&u===0)return[];h=Math.abs(h),p=Math.abs(p);var y=Math.pow(v,2)/Math.pow(h,2)+Math.pow(u,2)/Math.pow(p,2);y>1&&(h*=Math.sqrt(y),p*=Math.sqrt(y));var f=t(i,a,s,c,h,p,_,M,m,b,v,u),P=g(f,4),L=P[0],z=P[1],F=P[2],B=P[3],O=Math.abs(B)/(x/4);Math.abs(1-O)<1e-7&&(O=1);var I=Math.max(Math.ceil(O),1);B/=I;for(var N=0;N4?(o=l[l.length-4],n=l[l.length-3]):(o=h,n=p),r.push(l)}return r}function A(e,t,r,o){return["C",e,t,r,o,r,o]}function S(e,t,r,o,n,i){return["C",e/3+2/3*r,t/3+2/3*o,n/3+2/3*r,i/3+2/3*o,n,i]}}}),bA=ke({"node_modules/is-svg-path/index.js"(Z,H){"use strict";H.exports=function(x){return typeof x!="string"?!1:(x=x.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(x)&&/[\dz]$/i.test(x)&&x.length>4))}}}),L6=ke({"node_modules/svg-path-bounds/index.js"(Z,H){"use strict";var g=$y(),x=xA(),A=k6(),S=bA(),e=w0();H.exports=t;function t(r){if(Array.isArray(r)&&r.length===1&&typeof r[0]=="string"&&(r=r[0]),typeof r=="string"&&(e(S(r),"String is not an SVG path."),r=g(r)),e(Array.isArray(r),"Argument should be a string or an array of path segments."),r=x(r),r=A(r),!r.length)return[0,0,0,0];for(var o=[1/0,1/0,-1/0,-1/0],n=0,i=r.length;no[2]&&(o[2]=a[s+0]),a[s+1]>o[3]&&(o[3]=a[s+1]);return o}}}),P6=ke({"node_modules/normalize-svg-path/index.js"(Z,H){var g=Math.PI,x=o(120);H.exports=A;function A(n){for(var i,a=[],s=0,c=0,h=0,p=0,d=null,T=null,l=0,_=0,w=0,M=n.length;w7&&(a.push(E.splice(0,7)),E.unshift("C"));break;case"S":var b=l,v=_;(i=="C"||i=="S")&&(b+=b-s,v+=v-c),E=["C",b,v,E[1],E[2],E[3],E[4]];break;case"T":i=="Q"||i=="T"?(d=l*2-d,T=_*2-T):(d=l,T=_),E=e(l,_,d,T,E[1],E[2]);break;case"Q":d=E[1],T=E[2],E=e(l,_,E[1],E[2],E[3],E[4]);break;case"L":E=S(l,_,E[1],E[2]);break;case"H":E=S(l,_,E[1],_);break;case"V":E=S(l,_,l,E[1]);break;case"Z":E=S(l,_,h,p);break}i=m,l=E[E.length-2],_=E[E.length-1],E.length>4?(s=E[E.length-4],c=E[E.length-3]):(s=l,c=_),a.push(E)}return a}function S(n,i,a,s){return["C",n,i,a,s,a,s]}function e(n,i,a,s,c,h){return["C",n/3+2/3*a,i/3+2/3*s,c/3+2/3*a,h/3+2/3*s,c,h]}function t(n,i,a,s,c,h,p,d,T,l){if(l)f=l[0],P=l[1],u=l[2],y=l[3];else{var _=r(n,i,-c);n=_.x,i=_.y,_=r(d,T,-c),d=_.x,T=_.y;var w=(n-d)/2,M=(i-T)/2,E=w*w/(a*a)+M*M/(s*s);E>1&&(E=Math.sqrt(E),a=E*a,s=E*s);var m=a*a,b=s*s,v=(h==p?-1:1)*Math.sqrt(Math.abs((m*b-m*M*M-b*w*w)/(m*M*M+b*w*w)));v==1/0&&(v=1);var u=v*a*M/s+(n+d)/2,y=v*-s*w/a+(i+T)/2,f=Math.asin(((i-y)/s).toFixed(9)),P=Math.asin(((T-y)/s).toFixed(9));f=nP&&(f=f-g*2),!p&&P>f&&(P=P-g*2)}if(Math.abs(P-f)>x){var L=P,z=d,F=T;P=f+x*(p&&P>f?1:-1),d=u+a*Math.cos(P),T=y+s*Math.sin(P);var B=t(d,T,a,s,c,0,p,z,F,[P,L,u,y])}var O=Math.tan((P-f)/4),I=4/3*a*O,N=4/3*s*O,U=[2*n-(n+I*Math.sin(f)),2*i-(i-N*Math.cos(f)),d+I*Math.sin(P),T-N*Math.cos(P),d,T];if(l)return U;B&&(U=U.concat(B));for(var W=0;W0?r.strokeStyle="white":r.strokeStyle="black",r.lineWidth=Math.abs(d)),r.translate(c*.5,h*.5),r.scale(_,_),i()){var w=new Path2D(a);r.fill(w),d&&r.stroke(w)}else{var M=x(a);A(r,M),r.fill(),d&&r.stroke()}r.setTransform(1,0,0,1,0,0);var E=e(r,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:p*.5});return E}var n;function i(){if(n!=null)return n;var a=document.createElement("canvas").getContext("2d");if(a.canvas.width=a.canvas.height=1,!window.Path2D)return n=!1;var s=new Path2D("M0,0h1v1h-1v-1Z");a.fillStyle="black",a.fill(s);var c=a.getImageData(0,0,1,1);return n=c&&c.data&&c.data[3]===255}}}),eg=ke({"src/traces/scattergl/convert.js"(Z,H){"use strict";var g=Yn(),x=D6(),A=Zp(),S=lo(),e=un(),t=e.isArrayOrTypedArray,r=$o(),o=qc(),n=np().formatColor,i=vu(),a=Hg(),s=ab(),c=$p(),h=Lp().DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},d=gd().appendArrayPointValue;function T(B,O){var I,N={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},U=B._context.plotGlPixelRatio;if(O.visible!==!0)return N;if(i.hasText(O)&&(N.text=l(B,O),N.textSel=E(B,O,O.selected),N.textUnsel=E(B,O,O.unselected)),i.hasMarkers(O)&&(N.marker=w(B,O),N.markerSel=M(B,O,O.selected),N.markerUnsel=M(B,O,O.unselected),!O.unselected&&t(O.marker.opacity))){var W=O.marker.opacity;for(N.markerUnsel.opacity=new Array(W.length),I=0;I500?"bold":"normal":B}function w(B,O){var I=O._length,N=O.marker,U={},W,Q=t(N.symbol),le=t(N.angle),se=t(N.color),fe=t(N.line.color),G=t(N.opacity),$=t(N.size),J=t(N.line.width),X;if(Q||(X=s.isOpenSymbol(N.symbol)),Q||se||fe||G||le){U.symbols=new Array(I),U.angles=new Array(I),U.colors=new Array(I),U.borderColors=new Array(I);var re=N.symbol,ae=N.angle,j=n(N,N.opacity,I),ee=n(N.line,N.opacity,I);if(!t(ee[0])){var ie=ee;for(ee=Array(I),W=0;Wc.TOO_MANY_POINTS||i.hasMarkers(O)?"rect":"round";if(fe&&O.connectgaps){var $=W[0],J=W[1];for(Q=0;Q1?se[Q]:se[0]:se,X=t(fe)?fe.length>1?fe[Q]:fe[0]:fe,re=p[J],ae=p[X],j=G?G/.8+1:0,ee=-ae*j-ae*.5;W.offset[Q]=[re*j/$,ee/$]}}return W}H.exports={style:T,markerStyle:w,markerSelection:M,linePositions:L,errorBarPositions:z,textPosition:F}}}),wA=ke({"src/traces/scattergl/scene_update.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=S._scene,t={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},r={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return S._scene||(e=S._scene={},e.init=function(){g.extendFlat(e,r,t)},e.init(),e.update=function(n){var i=g.repeat(n,e.count);if(e.fill2d&&e.fill2d.update(i),e.scatter2d&&e.scatter2d.update(i),e.line2d&&e.line2d.update(i),e.error2d&&e.error2d.update(i.concat(i)),e.select2d&&e.select2d.update(i),e.glText)for(var a=0;a=h,u=b*2,y={},f,P=M.makeCalcdata(_,"x"),L=E.makeCalcdata(_,"y"),z=e(_,M,"x",P),F=e(_,E,"y",L),B=z.vals,O=F.vals;_._x=B,_._y=O,_.xperiodalignment&&(_._origX=P,_._xStarts=z.starts,_._xEnds=z.ends),_.yperiodalignment&&(_._origY=L,_._yStarts=F.starts,_._yEnds=F.ends);var I=new Array(u),N=new Array(b);for(f=0;f1&&x.extendFlat(m.line,a.linePositions(T,_,w)),m.errorX||m.errorY){var b=a.errorBarPositions(T,_,w,M,E);m.errorX&&x.extendFlat(m.errorX,b.x),m.errorY&&x.extendFlat(m.errorY,b.y)}return m.text&&(x.extendFlat(m.text,{positions:w},a.textPosition(T,_,m.text,m.marker)),x.extendFlat(m.textSel,{positions:w},a.textPosition(T,_,m.text,m.markerSel)),x.extendFlat(m.textUnsel,{positions:w},a.textPosition(T,_,m.text,m.markerUnsel))),m}}}),TA=ke({"src/traces/scattergl/edit_style.js"(Z,H){"use strict";var g=un(),x=eo(),A=Lp().DESELECTDIM;function S(e){var t=e[0],r=t.trace,o=t.t,n=o._scene,i=o.index,a=n.selectBatch[i],s=n.unselectBatch[i],c=n.textOptions[i],h=n.textSelectedOptions[i]||{},p=n.textUnselectedOptions[i]||{},d=g.extendFlat({},c),T,l;if(a.length||s.length){var _=h.color,w=p.color,M=c.color,E=g.isArrayOrTypedArray(M);for(d.color=new Array(r._length),T=0;T>>24,r=(S&16711680)>>>16,o=(S&65280)>>>8,n=S&255;return e===!1?[t,r,o,n]:[t/255,r/255,o/255,n/255]}}}),Rf=ke({"node_modules/object-assign/index.js"(Z,H){"use strict";var g=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function S(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function e(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},o=0;o<10;o++)r["_"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}H.exports=e()?Object.assign:function(t,r){for(var o,n=S(t),i,a=1;ay.length)&&(f=y.length);for(var P=0,L=new Array(f);P 1.0 + delta) { - discard; - } - - alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius); - - float borderRadius = fragBorderRadius; - float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius); - vec4 color = mix(fragColor, fragBorderColor, ratio); - color.a *= alpha * opacity; - gl_FragColor = color; -} -`]),se.vert=d([`precision highp float; -#define GLSLIFY 1 - -attribute float x, y, xFract, yFract; -attribute float size, borderSize; -attribute vec4 colorId, borderColorId; -attribute float isActive; - -// \`invariant\` effectively turns off optimizations for the position. -// We need this because -fast-math on M1 Macs is re-ordering -// floating point operations in a way that causes floating point -// precision limits to put points in the wrong locations. -invariant gl_Position; - -uniform bool constPointSize; -uniform float pixelRatio; -uniform vec2 paletteSize, scale, scaleFract, translate, translateFract; -uniform sampler2D paletteTexture; - -const float maxSize = 100.; - -varying vec4 fragColor, fragBorderColor; -varying float fragBorderRadius, fragWidth; - -float pointSizeScale = (constPointSize) ? 2. : pixelRatio; - -bool isDirect = (paletteSize.x < 1.); - -vec4 getColor(vec4 id) { - return isDirect ? id / 255. : texture2D(paletteTexture, - vec2( - (id.x + .5) / paletteSize.x, - (id.y + .5) / paletteSize.y - ) - ); -} - -void main() { - // ignore inactive points - if (isActive == 0.) return; - - vec2 position = vec2(x, y); - vec2 positionFract = vec2(xFract, yFract); - - vec4 color = getColor(colorId); - vec4 borderColor = getColor(borderColorId); - - float size = size * maxSize / 255.; - float borderSize = borderSize * maxSize / 255.; - - gl_PointSize = (size + borderSize) * pointSizeScale; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - gl_Position = vec4(pos * 2. - 1., 0., 1.); - - fragBorderRadius = 1. - 2. * borderSize / (size + borderSize); - fragColor = color; - fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor; - fragWidth = 1. / gl_PointSize; -} -`]),w&&(se.frag=se.frag.replace("smoothstep","smoothStep"),le.frag=le.frag.replace("smoothstep","smoothStep")),this.drawCircle=y(se)}b.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,P=new Array(f),L=0;Lpe)?ut.tree=h(tt,{bounds:et}):pe&&pe.length&&(ut.tree=pe),ut.tree){var Lt={primitive:"points",usage:"static",data:ut.tree,type:"uint32"};ut.elements?ut.elements(Lt):ut.elements=B.elements(Lt)}var Et=M.float32(tt);ue({data:Et,usage:"dynamic"});var Bt=M.fract32(tt,Et);return Oe({data:Bt,usage:"dynamic"}),rt({data:new Uint8Array(ot),type:"uint8",usage:"stream"}),tt}},{marker:function(tt,ut,Me){var pe=ut.activation;if(pe.forEach(function(Bt){return Bt&&Bt.destroy&&Bt.destroy()}),pe.length=0,!tt||typeof tt[0]=="number"){var ue=y.addMarker(tt);pe[ue]=!0}else{for(var Oe=[],rt=0,ot=Math.min(tt.length,ut.count);rt=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var B=0,O=y.length;BL*4&&(this.tooManyColors=!0),this.updatePalette(P),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,P=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z80*I){le=fe=B[0],se=G=B[1];for(var re=I;refe&&(fe=$),J>G&&(G=J);X=Math.max(fe-le,G-se),X=X!==0?32767/X:0}return S(W,Q,I,le,se,X,0),Q}function x(B,O,I,N,U){var W,Q;if(U===F(B,O,I,N)>0)for(W=O;W=O;W-=N)Q=P(W,B[W],B[W+1],Q);return Q&&M(Q,Q.next)&&(L(Q),Q=Q.next),Q}function A(B,O){if(!B)return B;O||(O=B);var I=B,N;do if(N=!1,!I.steiner&&(M(I,I.next)||w(I.prev,I,I.next)===0)){if(L(I),I=O=I.prev,I===I.next)break;N=!0}else I=I.next;while(N||I!==O);return O}function S(B,O,I,N,U,W,Q){if(B){!Q&&W&&h(B,N,U,W);for(var le=B,se,fe;B.prev!==B.next;){if(se=B.prev,fe=B.next,W?t(B,N,U,W):e(B)){O.push(se.i/I|0),O.push(B.i/I|0),O.push(fe.i/I|0),L(B),B=fe.next,le=fe.next;continue}if(B=fe,B===le){Q?Q===1?(B=r(A(B),O,I),S(B,O,I,N,U,W,2)):Q===2&&o(B,O,I,N,U,W):S(A(B),O,I,N,U,W,1);break}}}}function e(B){var O=B.prev,I=B,N=B.next;if(w(O,I,N)>=0)return!1;for(var U=O.x,W=I.x,Q=N.x,le=O.y,se=I.y,fe=N.y,G=UW?U>Q?U:Q:W>Q?W:Q,X=le>se?le>fe?le:fe:se>fe?se:fe,re=N.next;re!==O;){if(re.x>=G&&re.x<=J&&re.y>=$&&re.y<=X&&l(U,le,W,se,Q,fe,re.x,re.y)&&w(re.prev,re,re.next)>=0)return!1;re=re.next}return!0}function t(B,O,I,N){var U=B.prev,W=B,Q=B.next;if(w(U,W,Q)>=0)return!1;for(var le=U.x,se=W.x,fe=Q.x,G=U.y,$=W.y,J=Q.y,X=lese?le>fe?le:fe:se>fe?se:fe,j=G>$?G>J?G:J:$>J?$:J,ee=d(X,re,O,I,N),ie=d(ae,j,O,I,N),ce=B.prevZ,xe=B.nextZ;ce&&ce.z>=ee&&xe&&xe.z<=ie;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0||(ce=ce.prevZ,xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0))return!1;xe=xe.nextZ}for(;ce&&ce.z>=ee;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0)return!1;ce=ce.prevZ}for(;xe&&xe.z<=ie;){if(xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0)return!1;xe=xe.nextZ}return!0}function r(B,O,I){var N=B;do{var U=N.prev,W=N.next.next;!M(U,W)&&E(U,N,N.next,W)&&u(U,W)&&u(W,U)&&(O.push(U.i/I|0),O.push(N.i/I|0),O.push(W.i/I|0),L(N),L(N.next),N=B=W),N=N.next}while(N!==B);return A(N)}function o(B,O,I,N,U,W){var Q=B;do{for(var le=Q.next.next;le!==Q.prev;){if(Q.i!==le.i&&_(Q,le)){var se=f(Q,le);Q=A(Q,Q.next),se=A(se,se.next),S(Q,O,I,N,U,W,0),S(se,O,I,N,U,W,0);return}le=le.next}Q=Q.next}while(Q!==B)}function n(B,O,I,N){var U=[],W,Q,le,se,fe;for(W=0,Q=O.length;W=I.next.y&&I.next.y!==I.y){var le=I.x+(U-I.y)*(I.next.x-I.x)/(I.next.y-I.y);if(le<=N&&le>W&&(W=le,Q=I.x=I.x&&I.x>=fe&&N!==I.x&&l(UQ.x||I.x===Q.x&&c(Q,I)))&&(Q=I,$=J)),I=I.next;while(I!==se);return Q}function c(B,O){return w(B.prev,B,O.prev)<0&&w(O.next,B,B.next)<0}function h(B,O,I,N){var U=B;do U.z===0&&(U.z=d(U.x,U.y,O,I,N)),U.prevZ=U.prev,U.nextZ=U.next,U=U.next;while(U!==B);U.prevZ.nextZ=null,U.prevZ=null,p(U)}function p(B){var O,I,N,U,W,Q,le,se,fe=1;do{for(I=B,B=null,W=null,Q=0;I;){for(Q++,N=I,le=0,O=0;O0||se>0&&N;)le!==0&&(se===0||!N||I.z<=N.z)?(U=I,I=I.nextZ,le--):(U=N,N=N.nextZ,se--),W?W.nextZ=U:B=U,U.prevZ=W,W=U;I=N}W.nextZ=null,fe*=2}while(Q>1);return B}function d(B,O,I,N,U){return B=(B-I)*U|0,O=(O-N)*U|0,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,O=(O|O<<8)&16711935,O=(O|O<<4)&252645135,O=(O|O<<2)&858993459,O=(O|O<<1)&1431655765,B|O<<1}function T(B){var O=B,I=B;do(O.x=(B-Q)*(W-le)&&(B-Q)*(N-le)>=(I-Q)*(O-le)&&(I-Q)*(W-le)>=(U-Q)*(N-le)}function _(B,O){return B.next.i!==O.i&&B.prev.i!==O.i&&!v(B,O)&&(u(B,O)&&u(O,B)&&y(B,O)&&(w(B.prev,B,O.prev)||w(B,O.prev,O))||M(B,O)&&w(B.prev,B,B.next)>0&&w(O.prev,O,O.next)>0)}function w(B,O,I){return(O.y-B.y)*(I.x-O.x)-(O.x-B.x)*(I.y-O.y)}function M(B,O){return B.x===O.x&&B.y===O.y}function E(B,O,I,N){var U=b(w(B,O,I)),W=b(w(B,O,N)),Q=b(w(I,N,B)),le=b(w(I,N,O));return!!(U!==W&&Q!==le||U===0&&m(B,I,O)||W===0&&m(B,N,O)||Q===0&&m(I,B,N)||le===0&&m(I,O,N))}function m(B,O,I){return O.x<=Math.max(B.x,I.x)&&O.x>=Math.min(B.x,I.x)&&O.y<=Math.max(B.y,I.y)&&O.y>=Math.min(B.y,I.y)}function b(B){return B>0?1:B<0?-1:0}function v(B,O){var I=B;do{if(I.i!==B.i&&I.next.i!==B.i&&I.i!==O.i&&I.next.i!==O.i&&E(I,I.next,B,O))return!0;I=I.next}while(I!==B);return!1}function u(B,O){return w(B.prev,B,B.next)<0?w(B,O,B.next)>=0&&w(B,B.prev,O)>=0:w(B,O,B.prev)<0||w(B,B.next,O)<0}function y(B,O){var I=B,N=!1,U=(B.x+O.x)/2,W=(B.y+O.y)/2;do I.y>W!=I.next.y>W&&I.next.y!==I.y&&U<(I.next.x-I.x)*(W-I.y)/(I.next.y-I.y)+I.x&&(N=!N),I=I.next;while(I!==B);return N}function f(B,O){var I=new z(B.i,B.x,B.y),N=new z(O.i,O.x,O.y),U=B.next,W=O.prev;return B.next=O,O.prev=B,I.next=U,U.prev=I,N.next=I,I.prev=N,W.next=N,N.prev=W,N}function P(B,O,I,N){var U=new z(B,O,I);return N?(U.next=N.next,U.prev=N,N.next.prev=U,N.next=U):(U.prev=U,U.next=U),U}function L(B){B.next.prev=B.prev,B.prev.next=B.next,B.prevZ&&(B.prevZ.nextZ=B.nextZ),B.nextZ&&(B.nextZ.prevZ=B.prevZ)}function z(B,O,I){this.i=B,this.x=O,this.y=I,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}g.deviation=function(B,O,I,N){var U=O&&O.length,W=U?O[0]*I:B.length,Q=Math.abs(F(B,0,W,I));if(U)for(var le=0,se=O.length;le0&&(N+=B[U-1].length,I.holes.push(N))}return I}}}),j6=ke({"node_modules/array-normalize/index.js"(Z,H){"use strict";var g=$m();H.exports=x;function x(A,S,e){if(!A||A.length==null)throw Error("Argument should be an array");S==null&&(S=1),e==null&&(e=g(A,S));for(var t=0;t-1}}}),IA=ke({"node_modules/es5-ext/string/#/contains/index.js"(Z,H){"use strict";H.exports=eR()()?String.prototype.contains:tR()}}),ap=ke({"node_modules/d/index.js"(Z,H){"use strict";var g=tg(),x=LA(),A=cb(),S=PA(),e=IA(),t=H.exports=function(r,o){var n,i,a,s,c;return arguments.length<2||typeof r!="string"?(s=o,o=r,r=null):s=arguments[2],g(r)?(n=e.call(r,"c"),i=e.call(r,"e"),a=e.call(r,"w")):(n=a=!0,i=!1),c={value:o,configurable:n,enumerable:i,writable:a},s?A(S(s),c):c};t.gs=function(r,o,n){var i,a,s,c;return typeof r!="string"?(s=n,n=o,o=r,r=null):s=arguments[3],g(o)?x(o)?g(n)?x(n)||(s=n,n=void 0):n=void 0:(s=o,o=n=void 0):o=void 0,g(r)?(i=e.call(r,"c"),a=e.call(r,"e")):(i=!0,a=!1),c={get:o,set:n,configurable:i,enumerable:a},s?A(S(s),c):c}}}),X0=ke({"node_modules/es5-ext/function/is-arguments.js"(Z,H){"use strict";var g=Object.prototype.toString,x=g.call(function(){return arguments}());H.exports=function(A){return g.call(A)===x}}}),Z0=ke({"node_modules/es5-ext/string/is-string.js"(Z,H){"use strict";var g=Object.prototype.toString,x=g.call("");H.exports=function(A){return typeof A=="string"||A&&typeof A=="object"&&(A instanceof String||g.call(A)===x)||!1}}}),rR=ke({"node_modules/ext/global-this/is-implemented.js"(Z,H){"use strict";H.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}}}),nR=ke({"node_modules/ext/global-this/implementation.js"(Z,H){var g=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};H.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return g()}try{return __global__||g()}finally{delete Object.prototype.__global__}}()}}),Y0=ke({"node_modules/ext/global-this/index.js"(Z,H){"use strict";H.exports=rR()()?globalThis:nR()}}),iR=ke({"node_modules/es6-symbol/is-implemented.js"(Z,H){"use strict";var g=Y0(),x={object:!0,symbol:!0};H.exports=function(){var A=g.Symbol,S;if(typeof A!="function")return!1;S=A("test symbol");try{String(S)}catch{return!1}return!(!x[typeof A.iterator]||!x[typeof A.toPrimitive]||!x[typeof A.toStringTag])}}}),aR=ke({"node_modules/es6-symbol/is-symbol.js"(Z,H){"use strict";H.exports=function(g){return g?typeof g=="symbol"?!0:!g.constructor||g.constructor.name!=="Symbol"?!1:g[g.constructor.toStringTag]==="Symbol":!1}}}),RA=ke({"node_modules/es6-symbol/validate-symbol.js"(Z,H){"use strict";var g=aR();H.exports=function(x){if(!g(x))throw new TypeError(x+" is not a symbol");return x}}}),oR=ke({"node_modules/es6-symbol/lib/private/generate-name.js"(Z,H){"use strict";var g=ap(),x=Object.create,A=Object.defineProperty,S=Object.prototype,e=x(null);H.exports=function(t){for(var r=0,o,n;e[t+(r||"")];)++r;return t+=r||"",e[t]=!0,o="@@"+t,A(S,o,g.gs(null,function(i){n||(n=!0,A(this,o,g(i)),n=!1)})),o}}}),sR=ke({"node_modules/es6-symbol/lib/private/setup/standard-symbols.js"(Z,H){"use strict";var g=ap(),x=Y0().Symbol;H.exports=function(A){return Object.defineProperties(A,{hasInstance:g("",x&&x.hasInstance||A("hasInstance")),isConcatSpreadable:g("",x&&x.isConcatSpreadable||A("isConcatSpreadable")),iterator:g("",x&&x.iterator||A("iterator")),match:g("",x&&x.match||A("match")),replace:g("",x&&x.replace||A("replace")),search:g("",x&&x.search||A("search")),species:g("",x&&x.species||A("species")),split:g("",x&&x.split||A("split")),toPrimitive:g("",x&&x.toPrimitive||A("toPrimitive")),toStringTag:g("",x&&x.toStringTag||A("toStringTag")),unscopables:g("",x&&x.unscopables||A("unscopables"))})}}}),lR=ke({"node_modules/es6-symbol/lib/private/setup/symbol-registry.js"(Z,H){"use strict";var g=ap(),x=RA(),A=Object.create(null);H.exports=function(S){return Object.defineProperties(S,{for:g(function(e){return A[e]?A[e]:A[e]=S(String(e))}),keyFor:g(function(e){var t;x(e);for(t in A)if(A[t]===e)return t})})}}}),uR=ke({"node_modules/es6-symbol/polyfill.js"(Z,H){"use strict";var g=ap(),x=RA(),A=Y0().Symbol,S=oR(),e=sR(),t=lR(),r=Object.create,o=Object.defineProperties,n=Object.defineProperty,i,a,s;if(typeof A=="function")try{String(A()),s=!0}catch{}else A=null;a=function(h){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return i(h)},H.exports=i=function c(h){var p;if(this instanceof c)throw new TypeError("Symbol is not a constructor");return s?A(h):(p=r(a.prototype),h=h===void 0?"":String(h),o(p,{__description__:g("",h),__name__:g("",S(h))}))},e(i),t(i),o(a.prototype,{constructor:g(i),toString:g("",function(){return this.__name__})}),o(i.prototype,{toString:g(function(){return"Symbol ("+x(this).__description__+")"}),valueOf:g(function(){return x(this)})}),n(i.prototype,i.toPrimitive,g("",function(){var c=x(this);return typeof c=="symbol"?c:c.toString()})),n(i.prototype,i.toStringTag,g("c","Symbol")),n(a.prototype,i.toStringTag,g("c",i.prototype[i.toStringTag])),n(a.prototype,i.toPrimitive,g("c",i.prototype[i.toPrimitive]))}}),em=ke({"node_modules/es6-symbol/index.js"(Z,H){"use strict";H.exports=iR()()?Y0().Symbol:uR()}}),cR=ke({"node_modules/es5-ext/array/#/clear.js"(Z,H){"use strict";var g=ip();H.exports=function(){return g(this).length=0,this}}}),gy=ke({"node_modules/es5-ext/object/valid-callable.js"(Z,H){"use strict";H.exports=function(g){if(typeof g!="function")throw new TypeError(g+" is not a function");return g}}}),fR=ke({"node_modules/type/string/coerce.js"(Z,H){"use strict";var g=tg(),x=ub(),A=Object.prototype.toString;H.exports=function(S){if(!g(S))return null;if(x(S)){var e=S.toString;if(typeof e!="function"||e===A)return null}try{return""+S}catch{return null}}}}),hR=ke({"node_modules/type/lib/safe-to-string.js"(Z,H){"use strict";H.exports=function(g){try{return g.toString()}catch{try{return String(g)}catch{return null}}}}}),dR=ke({"node_modules/type/lib/to-short-string.js"(Z,H){"use strict";var g=hR(),x=/[\n\r\u2028\u2029]/g;H.exports=function(A){var S=g(A);return S===null?"":(S.length>100&&(S=S.slice(0,99)+"\u2026"),S=S.replace(x,function(e){switch(e){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),S)}}}),DA=ke({"node_modules/type/lib/resolve-exception.js"(Z,H){"use strict";var g=tg(),x=ub(),A=fR(),S=dR(),e=function(t,r){return t.replace("%v",S(r))};H.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!g(t)){if("default"in o)return o.default;if(o.isOptional)return null}var n=A(o.errorMessage);throw g(n)||(n=r),new TypeError(e(n,t))}}}),vR=ke({"node_modules/type/value/ensure.js"(Z,H){"use strict";var g=DA(),x=tg();H.exports=function(A){return x(A)?A:g(A,"Cannot use %v",arguments[1])}}}),pR=ke({"node_modules/type/plain-function/ensure.js"(Z,H){"use strict";var g=DA(),x=LA();H.exports=function(A){return x(A)?A:g(A,"%v is not a plain function",arguments[1])}}}),mR=ke({"node_modules/es5-ext/array/from/is-implemented.js"(Z,H){"use strict";H.exports=function(){var g=Array.from,x,A;return typeof g!="function"?!1:(x=["raz","dwa"],A=g(x),!!(A&&A!==x&&A[1]==="dwa"))}}}),gR=ke({"node_modules/es5-ext/function/is-function.js"(Z,H){"use strict";var g=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);H.exports=function(A){return typeof A=="function"&&x(g.call(A))}}}),yR=ke({"node_modules/es5-ext/math/sign/is-implemented.js"(Z,H){"use strict";H.exports=function(){var g=Math.sign;return typeof g!="function"?!1:g(10)===1&&g(-20)===-1}}}),_R=ke({"node_modules/es5-ext/math/sign/shim.js"(Z,H){"use strict";H.exports=function(g){return g=Number(g),isNaN(g)||g===0?g:g>0?1:-1}}}),xR=ke({"node_modules/es5-ext/math/sign/index.js"(Z,H){"use strict";H.exports=yR()()?Math.sign:_R()}}),bR=ke({"node_modules/es5-ext/number/to-integer.js"(Z,H){"use strict";var g=xR(),x=Math.abs,A=Math.floor;H.exports=function(S){return isNaN(S)?0:(S=Number(S),S===0||!isFinite(S)?S:g(S)*A(x(S)))}}}),wR=ke({"node_modules/es5-ext/number/to-pos-integer.js"(Z,H){"use strict";var g=bR(),x=Math.max;H.exports=function(A){return x(0,g(A))}}}),TR=ke({"node_modules/es5-ext/array/from/shim.js"(Z,H){"use strict";var g=em().iterator,x=X0(),A=gR(),S=wR(),e=gy(),t=ip(),r=Qp(),o=Z0(),n=Array.isArray,i=Function.prototype.call,a={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;H.exports=function(c){var h=arguments[1],p=arguments[2],d,T,l,_,w,M,E,m,b,v;if(c=Object(t(c)),r(h)&&e(h),!this||this===Array||!A(this)){if(!h){if(x(c))return w=c.length,w!==1?Array.apply(null,c):(_=new Array(1),_[0]=c[0],_);if(n(c)){for(_=new Array(w=c.length),T=0;T=55296&&M<=56319&&(v+=c[++T])),v=h?i.call(h,p,v,l):v,d?(a.value=v,s(_,l,a)):_[l]=v,++l;w=l}}if(w===void 0)for(w=S(c.length),d&&(_=new d(w)),T=0;T=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,"__redo__",e("c",[a]));return}this.__redo__.forEach(function(s,c){s>=a&&(this.__redo__[c]=++s)},this),this.__redo__.push(a)}}),_onDelete:e(function(a){var s;a>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(a),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(c,h){c>a&&(this.__redo__[h]=--c)},this)))}),_onClear:e(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),o(i.prototype,r.iterator,e(function(){return this}))}}),LR=ke({"node_modules/es6-iterator/array.js"(Z,H){"use strict";var g=lb(),x=IA(),A=ap(),S=em(),e=zA(),t=Object.defineProperty,r;r=H.exports=function(o,n){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e.call(this,o),n?x.call(n,"key+value")?n="key+value":x.call(n,"key")?n="key":n="value":n="value",t(this,"__kind__",A("",n))},g&&g(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:A(function(o){return this.__kind__==="value"?this.__list__[o]:this.__kind__==="key+value"?[o,this.__list__[o]]:o})}),t(r.prototype,S.toStringTag,A("c","Array Iterator"))}}),PR=ke({"node_modules/es6-iterator/string.js"(Z,H){"use strict";var g=lb(),x=ap(),A=em(),S=zA(),e=Object.defineProperty,t;t=H.exports=function(r){if(!(this instanceof t))throw new TypeError("Constructor requires 'new'");r=String(r),S.call(this,r),e(this,"__length__",x("",r.length))},g&&g(t,S),delete t.prototype.constructor,t.prototype=Object.create(S.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__=55296&&n<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,A.toStringTag,x("c","String Iterator"))}}),IR=ke({"node_modules/es6-iterator/is-iterable.js"(Z,H){"use strict";var g=X0(),x=Qp(),A=Z0(),S=em().iterator,e=Array.isArray;H.exports=function(t){return x(t)?e(t)||A(t)||g(t)?!0:typeof t[S]=="function":!1}}}),RR=ke({"node_modules/es6-iterator/valid-iterable.js"(Z,H){"use strict";var g=IR();H.exports=function(x){if(!g(x))throw new TypeError(x+" is not iterable");return x}}}),FA=ke({"node_modules/es6-iterator/get.js"(Z,H){"use strict";var g=X0(),x=Z0(),A=LR(),S=PR(),e=RR(),t=em().iterator;H.exports=function(r){return typeof e(r)[t]=="function"?r[t]():g(r)?new A(r):x(r)?new S(r):new A(r)}}}),DR=ke({"node_modules/es6-iterator/for-of.js"(Z,H){"use strict";var g=X0(),x=gy(),A=Z0(),S=FA(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;H.exports=function(o,n){var i,a=arguments[2],s,c,h,p,d,T,l;if(e(o)||g(o)?i="array":A(o)?i="string":o=S(o),x(n),c=function(){h=!0},i==="array"){r.call(o,function(_){return t.call(n,a,_,c),h});return}if(i==="string"){for(d=o.length,p=0;p=55296&&l<=56319&&(T+=o[++p])),t.call(n,a,T,c),!h);++p);return}for(s=o.next();!s.done;){if(t.call(n,a,s.value,c),h)return;s=o.next()}}}}),zR=ke({"node_modules/es6-weak-map/is-native-implemented.js"(Z,H){"use strict";H.exports=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()}}),FR=ke({"node_modules/es6-weak-map/polyfill.js"(Z,H){"use strict";var g=Qp(),x=lb(),A=G6(),S=ip(),e=W6(),t=ap(),r=FA(),o=DR(),n=em().toStringTag,i=zR(),a=Array.isArray,s=Object.defineProperty,c=Object.prototype.hasOwnProperty,h=Object.getPrototypeOf,p;H.exports=p=function(){var d=arguments[0],T;if(!(this instanceof p))throw new TypeError("Constructor requires 'new'");return T=i&&x&&WeakMap!==p?x(new WeakMap,h(this)):this,g(d)&&(a(d)||(d=r(d))),s(T,"__weakMapData__",t("c","$weakMap$"+e())),d&&o(d,function(l){S(l),T.set(l[0],l[1])}),T},i&&(x&&x(p,WeakMap),p.prototype=Object.create(WeakMap.prototype,{constructor:t(p)})),Object.defineProperties(p.prototype,{delete:t(function(d){return c.call(A(d),this.__weakMapData__)?(delete d[this.__weakMapData__],!0):!1}),get:t(function(d){if(c.call(A(d),this.__weakMapData__))return d[this.__weakMapData__]}),has:t(function(d){return c.call(A(d),this.__weakMapData__)}),set:t(function(d,T){return s(A(d),this.__weakMapData__,t("c",T)),this}),toString:t(function(){return"[object WeakMap]"})}),s(p.prototype,n,t("c","WeakMap"))}}),OA=ke({"node_modules/es6-weak-map/index.js"(Z,H){"use strict";H.exports=V6()()?WeakMap:FR()}}),OR=ke({"node_modules/array-find-index/index.js"(Z,H){"use strict";H.exports=function(g,x,A){if(typeof Array.prototype.findIndex=="function")return g.findIndex(x,A);if(typeof x!="function")throw new TypeError("predicate must be a function");var S=Object(g),e=S.length;if(e===0)return-1;for(var t=0;t 0. && baClipping < length(normalWidth * endBotJoin)) { - //handle miter clipping - bTopCoord -= normalWidth * endTopJoin; - bTopCoord += normalize(endTopJoin * normalWidth) * baClipping; - } - - if (nextReverse) { - //make join rectangular - vec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5; - float normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.); - bBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5; - bTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5; - } - else if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) { - //handle miter clipping - aBotCoord -= normalWidth * startBotJoin; - aBotCoord += normalize(startBotJoin * normalWidth) * abClipping; - } - - vec2 aTopPosition = (aTopCoord) * adjustedScale + translate; - vec2 aBotPosition = (aBotCoord) * adjustedScale + translate; - - vec2 bTopPosition = (bTopCoord) * adjustedScale + translate; - vec2 bBotPosition = (bBotCoord) * adjustedScale + translate; - - //position is normalized 0..1 coord on the screen - vec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd; - - startCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy; - endCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - enableStartMiter = step(dot(currTangent, prevTangent), .5); - enableEndMiter = step(dot(currTangent, nextTangent), .5); - - //bevel miter cutoffs - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } - - //round miter cutoffs - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } -} -`,l=` -precision highp float; - -uniform float dashLength, pixelRatio, thickness, opacity, id, miterMode; -uniform sampler2D dashTexture; - -varying vec4 fragColor; -varying vec2 tangent; -varying vec4 startCutoff, endCutoff; -varying vec2 startCoord, endCoord; -varying float enableStartMiter, enableEndMiter; - -float distToLine(vec2 p, vec2 a, vec2 b) { - vec2 diff = b - a; - vec2 perp = normalize(vec2(-diff.y, diff.x)); - return dot(p - a, perp); -} - -void main() { - float alpha = 1., distToStart, distToEnd; - float cutoff = thickness * .5; - - //bevel miter - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < -1.) { - discard; - return; - } - alpha *= min(max(distToStart + 1., 0.), 1.); - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < -1.) { - discard; - return; - } - alpha *= min(max(distToEnd + 1., 0.), 1.); - } - } - - // round miter - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < 0.) { - float radius = length(gl_FragCoord.xy - startCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < 0.) { - float radius = length(gl_FragCoord.xy - endCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - } - - float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25; - float dash = texture2D(dashTexture, vec2(t, .5)).r; - - gl_FragColor = fragColor; - gl_FragColor.a *= alpha * opacity * dash; -} -`;H.exports=_;function _(w,M){if(!(this instanceof _))return new _(w,M);if(typeof w=="function"?(M||(M={}),M.regl=w):M=w,M.length&&(M.positions=M),w=M.regl,!w.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=w._gl,this.regl=w,this.passes=[],this.shaders=_.shaders.has(w)?_.shaders.get(w):_.shaders.set(w,_.createShaders(w)).get(w),this.update(M)}_.dashMult=2,_.maxPatternLength=256,_.precisionThreshold=3e6,_.maxPoints=1e4,_.maxLines=2048,_.shaders=new i,_.createShaders=function(w){let M=w.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),E={primitive:"triangle strip",instances:w.prop("count"),count:4,offset:0,uniforms:{miterMode:(u,y)=>y.join==="round"?2:1,miterLimit:w.prop("miterLimit"),scale:w.prop("scale"),scaleFract:w.prop("scaleFract"),translateFract:w.prop("translateFract"),translate:w.prop("translate"),thickness:w.prop("thickness"),dashTexture:w.prop("dashTexture"),opacity:w.prop("opacity"),pixelRatio:w.context("pixelRatio"),id:w.prop("id"),dashLength:w.prop("dashLength"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight],depth:w.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(u,y)=>!y.overlay},stencil:{enable:!1},scissor:{enable:!0,box:w.prop("viewport")},viewport:w.prop("viewport")},m=w(A({vert:c,frag:h,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:w.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},E)),b;try{b=w(A({cull:{enable:!0,face:"back"},vert:T,frag:l,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aColor:{buffer:w.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:w.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:w.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},E))}catch{b=m}return{fill:w({primitive:"triangle",elements:(u,y)=>y.triangles,offset:0,vert:p,frag:d,uniforms:{scale:w.prop("scale"),color:w.prop("fill"),scaleFract:w.prop("scaleFract"),translateFract:w.prop("translateFract"),translate:w.prop("translate"),opacity:w.prop("opacity"),pixelRatio:w.context("pixelRatio"),id:w.prop("id"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight]},attributes:{position:{buffer:w.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:w.prop("positionFractBuffer"),stride:8,offset:8}},blend:E.blend,depth:{enable:!1},scissor:E.scissor,stencil:E.stencil,viewport:E.viewport}),rect:m,miter:b}},_.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},_.prototype.render=function(...w){w.length&&this.update(...w),this.draw()},_.prototype.draw=function(...w){return(w.length?w:this.passes).forEach((M,E)=>{if(M&&Array.isArray(M))return this.draw(...M);typeof M=="number"&&(M=this.passes[M]),M&&M.count>1&&M.opacity&&(this.regl._refresh(),M.fill&&M.triangles&&M.triangles.length>2&&this.shaders.fill(M),M.thickness&&(M.scale[0]*M.viewport.width>_.precisionThreshold||M.scale[1]*M.viewport.height>_.precisionThreshold?this.shaders.rect(M):M.join==="rect"||!M.join&&(M.thickness<=2||M.count>=_.maxPoints)?this.shaders.rect(M):this.shaders.miter(M)))}),this},_.prototype.update=function(w){if(!w)return;w.length!=null?typeof w[0]=="number"&&(w=[{positions:w}]):Array.isArray(w)||(w=[w]);let{regl:M,gl:E}=this;if(w.forEach((b,v)=>{let u=this.passes[v];if(b!==void 0){if(b===null){this.passes[v]=null;return}if(typeof b[0]=="number"&&(b={positions:b}),b=S(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),u||(this.passes[v]=u={id:v,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:M.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:M.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:M.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=A({},_.defaults,b)),b.thickness!=null&&(u.thickness=parseFloat(b.thickness)),b.opacity!=null&&(u.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(u.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(u.overlay=!!b.overlay,v<_.maxLines&&(u.depth=2*(_.maxLines-1-v%_.maxLines)/_.maxLines-1)),b.join!=null&&(u.join=b.join),b.hole!=null&&(u.hole=b.hole),b.fill!=null&&(u.fill=b.fill?g(b.fill,"uint8"):null),b.viewport!=null&&(u.viewport=a(b.viewport)),u.viewport||(u.viewport=a([E.drawingBufferWidth,E.drawingBufferHeight])),b.close!=null&&(u.close=b.close),b.positions===null&&(b.positions=[]),b.positions){let P,L;if(b.positions.x&&b.positions.y){let O=b.positions.x,I=b.positions.y;L=u.count=Math.max(O.length,I.length),P=new Float64Array(L*2);for(let N=0;Nse-fe),W=[],Q=0,le=u.hole!=null?u.hole[0]:null;if(le!=null){let se=s(U,fe=>fe>=le);U=U.slice(0,se),U.push(le)}for(let se=0;seJ-le+(U[se]-Q)),$=t(fe,G);$=$.map(J=>J+Q+(J+Q{w.colorBuffer.destroy(),w.positionBuffer.destroy(),w.dashTexture.destroy()}),this.passes.length=0,this}}}),BR=ke({"node_modules/regl-error2d/index.js"(Z,H){"use strict";var g=$m(),x=Zp(),A=MA(),S=Rv(),e=Rf(),t=Qm(),{float32:r,fract32:o}=sb();H.exports=i;var n=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function i(a,s){if(typeof a=="function"?(s||(s={}),s.regl=a):s=a,s.length&&(s.positions=s),a=s.regl,!a.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let c=a._gl,h,p,d,T,l,_,w={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},M=[];return T=a.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),p=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),d=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=a.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),_=a.buffer({usage:"static",type:"float",data:n}),v(s),h=a({vert:` - precision highp float; - - attribute vec2 position, positionFract; - attribute vec4 error; - attribute vec4 color; - - attribute vec2 direction, lineOffset, capOffset; - - uniform vec4 viewport; - uniform float lineWidth, capSize; - uniform vec2 scale, scaleFract, translate, translateFract; - - varying vec4 fragColor; - - void main() { - fragColor = color / 255.; - - vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset; - - vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw; - - vec2 position = position + dxy; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - pos += pixelOffset / viewport.zw; - - gl_Position = vec4(pos * 2. - 1., 0, 1); - } - `,frag:` - precision highp float; - - varying vec4 fragColor; - - uniform float opacity; - - void main() { - gl_FragColor = fragColor; - gl_FragColor.a *= opacity; - } - `,uniforms:{range:a.prop("range"),lineWidth:a.prop("lineWidth"),capSize:a.prop("capSize"),opacity:a.prop("opacity"),scale:a.prop("scale"),translate:a.prop("translate"),scaleFract:a.prop("scaleFract"),translateFract:a.prop("translateFract"),viewport:(y,f)=>[f.viewport.x,f.viewport.y,y.viewportWidth,y.viewportHeight]},attributes:{color:{buffer:T,offset:(y,f)=>f.offset*4,divisor:1},position:{buffer:p,offset:(y,f)=>f.offset*8,divisor:1},positionFract:{buffer:d,offset:(y,f)=>f.offset*8,divisor:1},error:{buffer:l,offset:(y,f)=>f.offset*16,divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:a.prop("viewport")},viewport:a.prop("viewport"),stencil:!1,instances:a.prop("count"),count:n.length}),e(E,{update:v,draw:m,destroy:u,regl:a,gl:c,canvas:c.canvas,groups:M}),E;function E(y){y?v(y):y===null&&u(),m()}function m(y){if(typeof y=="number")return b(y);y&&!Array.isArray(y)&&(y=[y]),a._refresh(),M.forEach((f,P)=>{if(f){if(y&&(y[P]?f.draw=!0:f.draw=!1),!f.draw){f.draw=!0;return}b(P)}})}function b(y){typeof y=="number"&&(y=M[y]),y!=null&&y&&y.count&&y.color&&y.opacity&&y.positions&&y.positions.length>1&&(y.scaleRatio=[y.scale[0]*y.viewport.width,y.scale[1]*y.viewport.height],h(y),y.after&&y.after(y))}function v(y){if(!y)return;y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);let f=0,P=0;if(E.groups=M=y.map((F,B)=>{let O=M[B];if(F)typeof F=="function"?F={after:F}:typeof F[0]=="number"&&(F={positions:F});else return O;return F=S(F,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),O||(M[B]=O={id:B,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},F=e({},w,F)),A(O,F,[{lineWidth:I=>+I*.5,capSize:I=>+I*.5,opacity:parseFloat,errors:I=>(I=t(I),P+=I.length,I),positions:(I,N)=>(I=t(I,"float64"),N.count=Math.floor(I.length/2),N.bounds=g(I,2),N.offset=f,f+=N.count,I)},{color:(I,N)=>{let U=N.count;if(I||(I="transparent"),!Array.isArray(I)||typeof I[0]=="number"){let Q=I;I=Array(U);for(let le=0;le{let W=N.bounds;return I||(I=W),N.scale=[1/(I[2]-I[0]),1/(I[3]-I[1])],N.translate=[-I[0],-I[1]],N.scaleFract=o(N.scale),N.translateFract=o(N.translate),I},viewport:I=>{let N;return Array.isArray(I)?N={x:I[0],y:I[1],width:I[2]-I[0],height:I[3]-I[1]}:I?(N={x:I.x||I.left||0,y:I.y||I.top||0},I.right?N.width=I.right-N.x:N.width=I.w||I.width||0,I.bottom?N.height=I.bottom-N.y:N.height=I.h||I.height||0):N={x:0,y:0,width:c.drawingBufferWidth,height:c.drawingBufferHeight},N}}]),O}),f||P){let F=M.reduce((N,U,W)=>N+(U?U.count:0),0),B=new Float64Array(F*2),O=new Uint8Array(F*4),I=new Float32Array(F*4);M.forEach((N,U)=>{if(!N)return;let{positions:W,count:Q,offset:le,color:se,errors:fe}=N;Q&&(O.set(se,le*4),I.set(fe,le*4),B.set(W,le*2))});var L=r(B);p(L);var z=o(B,L);d(z),T(O),l(I)}}function u(){p.destroy(),d.destroy(),T.destroy(),l.destroy(),_.destroy()}}}}),NR=ke({"node_modules/unquote/index.js"(Z,H){var g=/[\'\"]/;H.exports=function(A){return A?(g.test(A.charAt(0))&&(A=A.substr(1)),g.test(A.charAt(A.length-1))&&(A=A.substr(0,A.length-1)),A):""}}}),NA=ke({"node_modules/css-global-keywords/index.json"(){}}),UA=ke({"node_modules/css-system-font-keywords/index.json"(){}}),jA=ke({"node_modules/css-font-weight-keywords/index.json"(){}}),VA=ke({"node_modules/css-font-style-keywords/index.json"(){}}),qA=ke({"node_modules/css-font-stretch-keywords/index.json"(){}}),UR=ke({"node_modules/parenthesis/index.js"(Z,H){"use strict";function g(S,e){if(typeof S!="string")return[S];var t=[S];typeof e=="string"||Array.isArray(e)?e={brackets:e}:e||(e={});var r=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:["{}","[]","()"],o=e.escape||"___",n=!!e.flat;r.forEach(function(s){var c=new RegExp(["\\",s[0],"[^\\",s[0],"\\",s[1],"]*\\",s[1]].join("")),h=[];function p(d,T,l){var _=t.push(d.slice(s[0].length,-s[1].length))-1;return h.push(_),o+_+o}t.forEach(function(d,T){for(var l,_=0;d!=l;)if(l=d,d=d.replace(c,p),_++>1e4)throw Error("References have circular dependency. Please, check them.");t[T]=d}),h=h.reverse(),t=t.map(function(d){return h.forEach(function(T){d=d.replace(new RegExp("(\\"+o+T+"\\"+o+")","g"),s[0]+"$1"+s[1])}),d})});var i=new RegExp("\\"+o+"([0-9]+)\\"+o);function a(s,c,h){for(var p=[],d,T=0;d=i.exec(s);){if(T++>1e4)throw Error("Circular references in parenthesis");p.push(s.slice(0,d.index)),p.push(a(c[d[1]],c)),s=s.slice(d.index+d[0].length)}return p.push(s),p}return n?t:a(t[0],t)}function x(S,e){if(e&&e.flat){var t=e&&e.escape||"___",r=S[0],o;if(!r)return"";for(var n=new RegExp("\\"+t+"([0-9]+)\\"+t),i=0;r!=o;){if(i++>1e4)throw Error("Circular references in "+S);o=r,r=r.replace(n,a)}return r}return S.reduce(function s(c,h){return Array.isArray(h)&&(h=h.reduce(s,"")),c+h},"");function a(s,c){if(S[c]==null)throw Error("Reference "+c+"is undefined");return S[c]}}function A(S,e){return Array.isArray(S)?x(S,e):g(S,e)}A.parse=g,A.stringify=x,H.exports=A}}),jR=ke({"node_modules/string-split-by/index.js"(Z,H){"use strict";var g=UR();H.exports=function(A,S,e){if(A==null)throw Error("First argument should be a string");if(S==null)throw Error("Separator should be a string or a RegExp");e?(typeof e=="string"||Array.isArray(e))&&(e={ignore:e}):e={},e.escape==null&&(e.escape=!0),e.ignore==null?e.ignore=["[]","()","{}","<>",'""',"''","``","\u201C\u201D","\xAB\xBB"]:(typeof e.ignore=="string"&&(e.ignore=[e.ignore]),e.ignore=e.ignore.map(function(c){return c.length===1&&(c=c+c),c}));var t=g.parse(A,{flat:!0,brackets:e.ignore}),r=t[0],o=r.split(S);if(e.escape){for(var n=[],i=0;i1&&cn===Ln&&(cn==='"'||cn==="'"))return['"'+r(tr.substr(1,tr.length-2))+'"'];var xi=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(tr);if(xi)return o(tr.substr(0,xi.index)).concat(o(xi[1])).concat(o(tr.substr(xi.index+xi[0].length)));var Ni=tr.split(".");if(Ni.length===1)return['"'+r(tr)+'"'];for(var Fi=[],Oi=0;Oi"u"?1:window.devicePixelRatio,ha=!1,Xo={},Aa=function(wi){},Ma=function(){};if(typeof cn=="string"?Ln=document.querySelector(cn):typeof cn=="object"&&(_(cn)?Ln=cn:w(cn)?(Fi=cn,Ni=Fi.canvas):("gl"in cn?Fi=cn.gl:"canvas"in cn?Ni=E(cn.canvas):"container"in cn&&(xi=E(cn.container)),"attributes"in cn&&(Oi=cn.attributes),"extensions"in cn&&(na=M(cn.extensions)),"optionalExtensions"in cn&&(Ca=M(cn.optionalExtensions)),"onDone"in cn&&(Aa=cn.onDone),"profile"in cn&&(ha=!!cn.profile),"pixelRatio"in cn&&(ka=+cn.pixelRatio),"cachedCode"in cn&&(Xo=cn.cachedCode))),Ln&&(Ln.nodeName.toLowerCase()==="canvas"?Ni=Ln:xi=Ln),!Fi){if(!Ni){var ia=T(xi||document.body,Aa,ka);if(!ia)return null;Ni=ia.canvas,Ma=ia.onDestroy}Oi.premultipliedAlpha===void 0&&(Oi.premultipliedAlpha=!0),Fi=l(Ni,Oi)}return Fi?{gl:Fi,canvas:Ni,container:xi,extensions:na,optionalExtensions:Ca,pixelRatio:ka,profile:ha,cachedCode:Xo,onDone:Aa,onDestroy:Ma}:(Ma(),Aa("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function b(tr,cn){var Ln={};function xi(Oi){var na=Oi.toLowerCase(),Ca;try{Ca=Ln[na]=tr.getExtension(na)}catch{}return!!Ca}for(var Ni=0;Ni65535)<<4,tr>>>=cn,Ln=(tr>255)<<3,tr>>>=Ln,cn|=Ln,Ln=(tr>15)<<2,tr>>>=Ln,cn|=Ln,Ln=(tr>3)<<1,tr>>>=Ln,cn|=Ln,cn|tr>>1}function I(){var tr=v(8,function(){return[]});function cn(Fi){var Oi=B(Fi),na=tr[O(Oi)>>2];return na.length>0?na.pop():new ArrayBuffer(Oi)}function Ln(Fi){tr[O(Fi.byteLength)>>2].push(Fi)}function xi(Fi,Oi){var na=null;switch(Fi){case u:na=new Int8Array(cn(Oi),0,Oi);break;case y:na=new Uint8Array(cn(Oi),0,Oi);break;case f:na=new Int16Array(cn(2*Oi),0,Oi);break;case P:na=new Uint16Array(cn(2*Oi),0,Oi);break;case L:na=new Int32Array(cn(4*Oi),0,Oi);break;case z:na=new Uint32Array(cn(4*Oi),0,Oi);break;case F:na=new Float32Array(cn(4*Oi),0,Oi);break;default:return null}return na.length!==Oi?na.subarray(0,Oi):na}function Ni(Fi){Ln(Fi.buffer)}return{alloc:cn,free:Ln,allocType:xi,freeType:Ni}}var N=I();N.zero=I();var U=3408,W=3410,Q=3411,le=3412,se=3413,fe=3414,G=3415,$=33901,J=33902,X=3379,re=3386,ae=34921,j=36347,ee=36348,ie=35661,ce=35660,xe=34930,Te=36349,Ue=34076,Ie=34024,Ye=7936,it=7937,at=7938,tt=35724,ut=34047,Me=36063,pe=34852,ue=3553,Oe=34067,rt=34069,ot=33984,et=6408,Lt=5126,Et=5121,Bt=36160,qt=36053,fr=36064,ar=16384,Rr=function(tr,cn){var Ln=1;cn.ext_texture_filter_anisotropic&&(Ln=tr.getParameter(ut));var xi=1,Ni=1;cn.webgl_draw_buffers&&(xi=tr.getParameter(pe),Ni=tr.getParameter(Me));var Fi=!!cn.oes_texture_float;if(Fi){var Oi=tr.createTexture();tr.bindTexture(ue,Oi),tr.texImage2D(ue,0,et,1,1,0,et,Lt,null);var na=tr.createFramebuffer();if(tr.bindFramebuffer(Bt,na),tr.framebufferTexture2D(Bt,fr,ue,Oi,0),tr.bindTexture(ue,null),tr.checkFramebufferStatus(Bt)!==qt)Fi=!1;else{tr.viewport(0,0,1,1),tr.clearColor(1,0,0,1),tr.clear(ar);var Ca=N.allocType(Lt,4);tr.readPixels(0,0,1,1,et,Lt,Ca),tr.getError()?Fi=!1:(tr.deleteFramebuffer(na),tr.deleteTexture(Oi),Fi=Ca[0]===1),N.freeType(Ca)}}var ka=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ha=!0;if(!ka){var Xo=tr.createTexture(),Aa=N.allocType(Et,36);tr.activeTexture(ot),tr.bindTexture(Oe,Xo),tr.texImage2D(rt,0,et,3,3,0,et,Et,Aa),N.freeType(Aa),tr.bindTexture(Oe,null),tr.deleteTexture(Xo),ha=!tr.getError()}return{colorBits:[tr.getParameter(W),tr.getParameter(Q),tr.getParameter(le),tr.getParameter(se)],depthBits:tr.getParameter(fe),stencilBits:tr.getParameter(G),subpixelBits:tr.getParameter(U),extensions:Object.keys(cn).filter(function(Ma){return!!cn[Ma]}),maxAnisotropic:Ln,maxDrawbuffers:xi,maxColorAttachments:Ni,pointSizeDims:tr.getParameter($),lineWidthDims:tr.getParameter(J),maxViewportDims:tr.getParameter(re),maxCombinedTextureUnits:tr.getParameter(ie),maxCubeMapSize:tr.getParameter(Ue),maxRenderbufferSize:tr.getParameter(Ie),maxTextureUnits:tr.getParameter(xe),maxTextureSize:tr.getParameter(X),maxAttributes:tr.getParameter(ae),maxVertexUniforms:tr.getParameter(j),maxVertexTextureUnits:tr.getParameter(ce),maxVaryingVectors:tr.getParameter(ee),maxFragmentUniforms:tr.getParameter(Te),glsl:tr.getParameter(tt),renderer:tr.getParameter(it),vendor:tr.getParameter(Ye),version:tr.getParameter(at),readFloat:Fi,npotTextureCube:ha}},gr=function(tr){return tr instanceof Uint8Array||tr instanceof Uint16Array||tr instanceof Uint32Array||tr instanceof Int8Array||tr instanceof Int16Array||tr instanceof Int32Array||tr instanceof Float32Array||tr instanceof Float64Array||tr instanceof Uint8ClampedArray};function br(tr){return!!tr&&typeof tr=="object"&&Array.isArray(tr.shape)&&Array.isArray(tr.stride)&&typeof tr.offset=="number"&&tr.shape.length===tr.stride.length&&(Array.isArray(tr.data)||gr(tr.data))}var _t=function(tr){return Object.keys(tr).map(function(cn){return tr[cn]})},Be={shape:we,flatten:Ee};function Ke(tr,cn,Ln){for(var xi=0;xi0){var Oo;if(Array.isArray(qi[0])){Ba=zn(qi);for(var va=1,sa=1;sa0){if(typeof va[0]=="number"){var Fa=N.allocType(ca.dtype,va.length);wr(Fa,va),Ba(Fa,fo),N.freeType(Fa)}else if(Array.isArray(va[0])||gr(va[0])){Ja=zn(va);var Ia=ni(va,Ja,ca.dtype);Ba(Ia,fo),N.freeType(Ia)}}}else if(br(va)){Ja=va.shape;var ao=va.stride,Zo=0,ps=0,Na=0,Mo=0;Ja.length===1?(Zo=Ja[0],ps=1,Na=ao[0],Mo=0):Ja.length===2&&(Zo=Ja[0],ps=Ja[1],Na=ao[0],Mo=ao[1]);var ss=Array.isArray(va.data)?ca.dtype:Vt(va.data),_s=N.allocType(ss,Zo*ps);$r(_s,va.data,Zo,ps,Na,Mo,va.offset),Ba(_s,fo),N.freeType(_s)}return $a}return ba||$a(wi),$a._reglType="buffer",$a._buffer=ca,$a.subdata=Oo,Ln.profile&&($a.stats=ca.stats),$a.destroy=function(){Aa(ca)},$a}function ia(){_t(Fi).forEach(function(wi){wi.buffer=tr.createBuffer(),tr.bindBuffer(wi.type,wi.buffer),tr.bufferData(wi.type,wi.persistentData||wi.byteLength,wi.usage)})}return Ln.profile&&(cn.getTotalBufferSize=function(){var wi=0;return Object.keys(Fi).forEach(function(qi){wi+=Fi[qi].stats.size}),wi}),{create:Ma,createStream:Ca,destroyStream:ka,clear:function(){_t(Fi).forEach(Aa),na.forEach(Aa)},getBuffer:function(wi){return wi&&wi._buffer instanceof Oi?wi._buffer:null},restore:ia,_initBuffer:Xo}}var en=0,Fn=0,Wn=1,ri=1,Sn=4,ui=4,gt={points:en,point:Fn,lines:Wn,line:ri,triangles:Sn,triangle:ui,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},yt=0,Pr=1,Ir=4,Tr=5120,Mr=5121,Lr=5122,Ur=5123,Dr=5124,nn=5125,vn=34963,gn=35040,kt=35044;function or(tr,cn,Ln,xi){var Ni={},Fi=0,Oi={uint8:Mr,uint16:Ur};cn.oes_element_index_uint&&(Oi.uint32=nn);function na(ia){this.id=Fi++,Ni[this.id]=this,this.buffer=ia,this.primType=Ir,this.vertCount=0,this.type=0}na.prototype.bind=function(){this.buffer.bind()};var Ca=[];function ka(ia){var wi=Ca.pop();return wi||(wi=new na(Ln.create(null,vn,!0,!1)._buffer)),Xo(wi,ia,gn,-1,-1,0,0),wi}function ha(ia){Ca.push(ia)}function Xo(ia,wi,qi,ba,Pa,ca,$a){ia.buffer.bind();var Ba;if(wi){var Oo=$a;!$a&&(!gr(wi)||br(wi)&&!gr(wi.data))&&(Oo=cn.oes_element_index_uint?nn:Ur),Ln._initBuffer(ia.buffer,wi,qi,Oo,3)}else tr.bufferData(vn,ca,qi),ia.buffer.dtype=Ba||Mr,ia.buffer.usage=qi,ia.buffer.dimension=3,ia.buffer.byteLength=ca;if(Ba=$a,!$a){switch(ia.buffer.dtype){case Mr:case Tr:Ba=Mr;break;case Ur:case Lr:Ba=Ur;break;case nn:case Dr:Ba=nn;break;default:}ia.buffer.dtype=Ba}ia.type=Ba;var va=Pa;va<0&&(va=ia.buffer.byteLength,Ba===Ur?va>>=1:Ba===nn&&(va>>=2)),ia.vertCount=va;var sa=ba;if(ba<0){sa=Ir;var fo=ia.buffer.dimension;fo===1&&(sa=yt),fo===2&&(sa=Pr),fo===3&&(sa=Ir)}ia.primType=sa}function Aa(ia){xi.elementsCount--,delete Ni[ia.id],ia.buffer.destroy(),ia.buffer=null}function Ma(ia,wi){var qi=Ln.create(null,vn,!0),ba=new na(qi._buffer);xi.elementsCount++;function Pa(ca){if(!ca)qi(),ba.primType=Ir,ba.vertCount=0,ba.type=Mr;else if(typeof ca=="number")qi(ca),ba.primType=Ir,ba.vertCount=ca|0,ba.type=Mr;else{var $a=null,Ba=kt,Oo=-1,va=-1,sa=0,fo=0;Array.isArray(ca)||gr(ca)||br(ca)?$a=ca:("data"in ca&&($a=ca.data),"usage"in ca&&(Ba=On[ca.usage]),"primitive"in ca&&(Oo=gt[ca.primitive]),"count"in ca&&(va=ca.count|0),"type"in ca&&(fo=Oi[ca.type]),"length"in ca?sa=ca.length|0:(sa=va,fo===Ur||fo===Lr?sa*=2:(fo===nn||fo===Dr)&&(sa*=4))),Xo(ba,$a,Ba,Oo,va,sa,fo)}return Pa}return Pa(ia),Pa._reglType="elements",Pa._elements=ba,Pa.subdata=function(ca,$a){return qi.subdata(ca,$a),Pa},Pa.destroy=function(){Aa(ba)},Pa}return{create:Ma,createStream:ka,destroyStream:ha,getElements:function(ia){return typeof ia=="function"&&ia._elements instanceof na?ia._elements:null},clear:function(){_t(Ni).forEach(Aa)}}}var yr=new Float32Array(1),on=new Uint32Array(yr.buffer),An=5123;function Zn(tr){for(var cn=N.allocType(An,tr.length),Ln=0;Ln>>31<<15,Fi=(xi<<1>>>24)-127,Oi=xi>>13&1023;if(Fi<-24)cn[Ln]=Ni;else if(Fi<-14){var na=-14-Fi;cn[Ln]=Ni+(Oi+1024>>na)}else Fi>15?cn[Ln]=Ni+31744:cn[Ln]=Ni+(Fi+15<<10)+Oi}return cn}function Bn(tr){return Array.isArray(tr)||gr(tr)}var wn=34467,Dn=3553,Ui=34067,pi=34069,Ta=6408,Sa=6406,qa=6407,to=6409,yo=6410,Xa=32854,Go=32855,pa=36194,cs=32819,Ko=32820,gs=33635,Ya=34042,zo=6402,Ka=34041,Yo=35904,ns=35906,hs=36193,ho=33776,Ro=33777,Ls=33778,Vs=33779,Ws=35986,fs=35987,Mi=34798,Da=35840,pl=35841,Xs=35842,Eo=35843,Ys=36196,As=5121,hl=5123,wl=5125,la=5126,Uo=10242,vo=10243,Ps=10497,ls=33071,no=33648,$l=10240,Ku=10241,Tl=9728,Vu=9729,Rl=9984,Qs=9985,nu=9986,qu=9987,kc=33170,Ju=4352,sh=4353,uf=4354,qs=34046,Hc=3317,bf=37440,Ql=37441,Al=37443,oc=37444,gc=33984,nl=[Rl,nu,Qs,qu],Ml=[0,to,yo,qa,Ta],Zs={};Zs[to]=Zs[Sa]=Zs[zo]=1,Zs[Ka]=Zs[yo]=2,Zs[qa]=Zs[Yo]=3,Zs[Ta]=Zs[ns]=4;function sl(tr){return"[object "+tr+"]"}var sc=sl("HTMLCanvasElement"),jl=sl("OffscreenCanvas"),$u=sl("CanvasRenderingContext2D"),ll=sl("ImageBitmap"),Nh=sl("HTMLImageElement"),ds=sl("HTMLVideoElement"),Sh=Object.keys(Le).concat([sc,jl,$u,ll,Nh,ds]),Bs=[];Bs[As]=1,Bs[la]=4,Bs[hs]=2,Bs[hl]=2,Bs[wl]=4;var Vo=[];Vo[Xa]=2,Vo[Go]=2,Vo[pa]=2,Vo[Ka]=4,Vo[ho]=.5,Vo[Ro]=.5,Vo[Ls]=1,Vo[Vs]=1,Vo[Ws]=.5,Vo[fs]=1,Vo[Mi]=1,Vo[Da]=.5,Vo[pl]=.25,Vo[Xs]=.5,Vo[Eo]=.25,Vo[Ys]=.5;function rf(tr){return Array.isArray(tr)&&(tr.length===0||typeof tr[0]=="number")}function Qu(tr){if(!Array.isArray(tr))return!1;var cn=tr.length;return!(cn===0||!Bn(tr[0]))}function pu(tr){return Object.prototype.toString.call(tr)}function Df(tr){return pu(tr)===sc}function Lc(tr){return pu(tr)===jl}function nf(tr){return pu(tr)===$u}function Vl(tr){return pu(tr)===ll}function Jf(tr){return pu(tr)===Nh}function zf(tr){return pu(tr)===ds}function wf(tr){if(!tr)return!1;var cn=pu(tr);return Sh.indexOf(cn)>=0?!0:rf(tr)||Qu(tr)||br(tr)}function Gc(tr){return Le[Object.prototype.toString.call(tr)]|0}function Ff(tr,cn){var Ln=cn.length;switch(tr.type){case As:case hl:case wl:case la:var xi=N.allocType(tr.type,Ln);xi.set(cn),tr.data=xi;break;case hs:tr.data=Zn(cn);break;default:}}function $f(tr,cn){return N.allocType(tr.type===hs?la:tr.type,cn)}function ec(tr,cn){tr.type===hs?(tr.data=Zn(cn),N.freeType(cn)):tr.data=cn}function Tf(tr,cn,Ln,xi,Ni,Fi){for(var Oi=tr.width,na=tr.height,Ca=tr.channels,ka=Oi*na*Ca,ha=$f(tr,ka),Xo=0,Aa=0;Aa=1;)na+=Oi*Ca*Ca,Ca/=2;return na}else return Oi*Ln*xi}function Wc(tr,cn,Ln,xi,Ni,Fi,Oi){var na={"don't care":Ju,"dont care":Ju,nice:uf,fast:sh},Ca={repeat:Ps,clamp:ls,mirror:no},ka={nearest:Tl,linear:Vu},ha=g({mipmap:qu,"nearest mipmap nearest":Rl,"linear mipmap nearest":Qs,"nearest mipmap linear":nu,"linear mipmap linear":qu},ka),Xo={none:0,browser:oc},Aa={uint8:As,rgba4:cs,rgb565:gs,"rgb5 a1":Ko},Ma={alpha:Sa,luminance:to,"luminance alpha":yo,rgb:qa,rgba:Ta,rgba4:Xa,"rgb5 a1":Go,rgb565:pa},ia={};cn.ext_srgb&&(Ma.srgb=Yo,Ma.srgba=ns),cn.oes_texture_float&&(Aa.float32=Aa.float=la),cn.oes_texture_half_float&&(Aa.float16=Aa["half float"]=hs),cn.webgl_depth_texture&&(g(Ma,{depth:zo,"depth stencil":Ka}),g(Aa,{uint16:hl,uint32:wl,"depth stencil":Ya})),cn.webgl_compressed_texture_s3tc&&g(ia,{"rgb s3tc dxt1":ho,"rgba s3tc dxt1":Ro,"rgba s3tc dxt3":Ls,"rgba s3tc dxt5":Vs}),cn.webgl_compressed_texture_atc&&g(ia,{"rgb atc":Ws,"rgba atc explicit alpha":fs,"rgba atc interpolated alpha":Mi}),cn.webgl_compressed_texture_pvrtc&&g(ia,{"rgb pvrtc 4bppv1":Da,"rgb pvrtc 2bppv1":pl,"rgba pvrtc 4bppv1":Xs,"rgba pvrtc 2bppv1":Eo}),cn.webgl_compressed_texture_etc1&&(ia["rgb etc1"]=Ys);var wi=Array.prototype.slice.call(tr.getParameter(wn));Object.keys(ia).forEach(function(We){var lt=ia[We];wi.indexOf(lt)>=0&&(Ma[We]=lt)});var qi=Object.keys(Ma);Ln.textureFormats=qi;var ba=[];Object.keys(Ma).forEach(function(We){var lt=Ma[We];ba[lt]=We});var Pa=[];Object.keys(Aa).forEach(function(We){var lt=Aa[We];Pa[lt]=We});var ca=[];Object.keys(ka).forEach(function(We){var lt=ka[We];ca[lt]=We});var $a=[];Object.keys(ha).forEach(function(We){var lt=ha[We];$a[lt]=We});var Ba=[];Object.keys(Ca).forEach(function(We){var lt=Ca[We];Ba[lt]=We});var Oo=qi.reduce(function(We,lt){var Ct=Ma[lt];return Ct===to||Ct===Sa||Ct===to||Ct===yo||Ct===zo||Ct===Ka||cn.ext_srgb&&(Ct===Yo||Ct===ns)?We[Ct]=Ct:Ct===Go||lt.indexOf("rgba")>=0?We[Ct]=Ta:We[Ct]=qa,We},{});function va(){this.internalformat=Ta,this.format=Ta,this.type=As,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=oc,this.width=0,this.height=0,this.channels=0}function sa(We,lt){We.internalformat=lt.internalformat,We.format=lt.format,We.type=lt.type,We.compressed=lt.compressed,We.premultiplyAlpha=lt.premultiplyAlpha,We.flipY=lt.flipY,We.unpackAlignment=lt.unpackAlignment,We.colorSpace=lt.colorSpace,We.width=lt.width,We.height=lt.height,We.channels=lt.channels}function fo(We,lt){if(!(typeof lt!="object"||!lt)){if("premultiplyAlpha"in lt&&(We.premultiplyAlpha=lt.premultiplyAlpha),"flipY"in lt&&(We.flipY=lt.flipY),"alignment"in lt&&(We.unpackAlignment=lt.alignment),"colorSpace"in lt&&(We.colorSpace=Xo[lt.colorSpace]),"type"in lt){var Ct=lt.type;We.type=Aa[Ct]}var Wt=We.width,xr=We.height,Fr=We.channels,Ar=!1;"shape"in lt?(Wt=lt.shape[0],xr=lt.shape[1],lt.shape.length===3&&(Fr=lt.shape[2],Ar=!0)):("radius"in lt&&(Wt=xr=lt.radius),"width"in lt&&(Wt=lt.width),"height"in lt&&(xr=lt.height),"channels"in lt&&(Fr=lt.channels,Ar=!0)),We.width=Wt|0,We.height=xr|0,We.channels=Fr|0;var Gt=!1;if("format"in lt){var nr=lt.format,mr=We.internalformat=Ma[nr];We.format=Oo[mr],nr in Aa&&("type"in lt||(We.type=Aa[nr])),nr in ia&&(We.compressed=!0),Gt=!0}!Ar&&Gt?We.channels=Zs[We.format]:Ar&&!Gt&&We.channels!==Ml[We.format]&&(We.format=We.internalformat=Ml[We.channels])}}function Ja(We){tr.pixelStorei(bf,We.flipY),tr.pixelStorei(Ql,We.premultiplyAlpha),tr.pixelStorei(Al,We.colorSpace),tr.pixelStorei(Hc,We.unpackAlignment)}function Fa(){va.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Ia(We,lt){var Ct=null;if(wf(lt)?Ct=lt:lt&&(fo(We,lt),"x"in lt&&(We.xOffset=lt.x|0),"y"in lt&&(We.yOffset=lt.y|0),wf(lt.data)&&(Ct=lt.data)),lt.copy){var Wt=Ni.viewportWidth,xr=Ni.viewportHeight;We.width=We.width||Wt-We.xOffset,We.height=We.height||xr-We.yOffset,We.needsCopy=!0}else if(!Ct)We.width=We.width||1,We.height=We.height||1,We.channels=We.channels||4;else if(gr(Ct))We.channels=We.channels||4,We.data=Ct,!("type"in lt)&&We.type===As&&(We.type=Gc(Ct));else if(rf(Ct))We.channels=We.channels||4,Ff(We,Ct),We.alignment=1,We.needsFree=!0;else if(br(Ct)){var Fr=Ct.data;!Array.isArray(Fr)&&We.type===As&&(We.type=Gc(Fr));var Ar=Ct.shape,Gt=Ct.stride,nr,mr,zr,Gr,Xr,fn;Ar.length===3?(zr=Ar[2],fn=Gt[2]):(zr=1,fn=1),nr=Ar[0],mr=Ar[1],Gr=Gt[0],Xr=Gt[1],We.alignment=1,We.width=nr,We.height=mr,We.channels=zr,We.format=We.internalformat=Ml[zr],We.needsFree=!0,Tf(We,Fr,Gr,Xr,fn,Ct.offset)}else if(Df(Ct)||Lc(Ct)||nf(Ct))Df(Ct)||Lc(Ct)?We.element=Ct:We.element=Ct.canvas,We.width=We.element.width,We.height=We.element.height,We.channels=4;else if(Vl(Ct))We.element=Ct,We.width=Ct.width,We.height=Ct.height,We.channels=4;else if(Jf(Ct))We.element=Ct,We.width=Ct.naturalWidth,We.height=Ct.naturalHeight,We.channels=4;else if(zf(Ct))We.element=Ct,We.width=Ct.videoWidth,We.height=Ct.videoHeight,We.channels=4;else if(Qu(Ct)){var sn=We.width||Ct[0].length,Zr=We.height||Ct.length,hn=We.channels;Bn(Ct[0][0])?hn=hn||Ct[0][0].length:hn=hn||1;for(var qr=Be.shape(Ct),kn=1,Xn=0;Xn>=xr,Ct.height>>=xr,Ia(Ct,Wt[xr]),We.mipmask|=1<=0&&!("faces"in lt)&&(We.genMipmaps=!0)}if("mag"in lt){var Wt=lt.mag;We.magFilter=ka[Wt]}var xr=We.wrapS,Fr=We.wrapT;if("wrap"in lt){var Ar=lt.wrap;typeof Ar=="string"?xr=Fr=Ca[Ar]:Array.isArray(Ar)&&(xr=Ca[Ar[0]],Fr=Ca[Ar[1]])}else{if("wrapS"in lt){var Gt=lt.wrapS;xr=Ca[Gt]}if("wrapT"in lt){var nr=lt.wrapT;Fr=Ca[nr]}}if(We.wrapS=xr,We.wrapT=Fr,"anisotropic"in lt){var mr=lt.anisotropic;We.anisotropic=lt.anisotropic}if("mipmap"in lt){var zr=!1;switch(typeof lt.mipmap){case"string":We.mipmapHint=na[lt.mipmap],We.genMipmaps=!0,zr=!0;break;case"boolean":zr=We.genMipmaps=lt.mipmap;break;case"object":We.genMipmaps=!1,zr=!0;break;default:}zr&&!("min"in lt)&&(We.minFilter=Rl)}}function mc(We,lt){tr.texParameteri(lt,Ku,We.minFilter),tr.texParameteri(lt,$l,We.magFilter),tr.texParameteri(lt,Uo,We.wrapS),tr.texParameteri(lt,vo,We.wrapT),cn.ext_texture_filter_anisotropic&&tr.texParameteri(lt,qs,We.anisotropic),We.genMipmaps&&(tr.hint(kc,We.mipmapHint),tr.generateMipmap(lt))}var Jc=0,tu={},Ac=Ln.maxTextureUnits,Nc=Array(Ac).map(function(){return null});function Hs(We){va.call(this),this.mipmask=0,this.internalformat=Ta,this.id=Jc++,this.refCount=1,this.target=We,this.texture=tr.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new ql,Oi.profile&&(this.stats={size:0})}function $c(We){tr.activeTexture(gc),tr.bindTexture(We.target,We.texture)}function Us(){var We=Nc[0];We?tr.bindTexture(We.target,We.texture):tr.bindTexture(Dn,null)}function ve(We){var lt=We.texture,Ct=We.unit,Wt=We.target;Ct>=0&&(tr.activeTexture(gc+Ct),tr.bindTexture(Wt,null),Nc[Ct]=null),tr.deleteTexture(lt),We.texture=null,We.params=null,We.pixels=null,We.refCount=0,delete tu[We.id],Fi.textureCount--}g(Hs.prototype,{bind:function(){var We=this;We.bindCount+=1;var lt=We.unit;if(lt<0){for(var Ct=0;Ct0)continue;Wt.unit=-1}Nc[Ct]=We,lt=Ct;break}lt>=Ac,Oi.profile&&Fi.maxTextureUnits>Xr)-zr,fn.height=fn.height||(Ct.height>>Xr)-Gr,$c(Ct),Zo(fn,Dn,zr,Gr,Xr),Us(),Mo(fn),Wt}function Fr(Ar,Gt){var nr=Ar|0,mr=Gt|0||nr;if(nr===Ct.width&&mr===Ct.height)return Wt;Wt.width=Ct.width=nr,Wt.height=Ct.height=mr,$c(Ct);for(var zr=0;Ct.mipmask>>zr;++zr){var Gr=nr>>zr,Xr=mr>>zr;if(!Gr||!Xr)break;tr.texImage2D(Dn,zr,Ct.format,Gr,Xr,0,Ct.format,Ct.type,null)}return Us(),Oi.profile&&(Ct.stats.size=Pc(Ct.internalformat,Ct.type,nr,mr,!1,!1)),Wt}return Wt(We,lt),Wt.subimage=xr,Wt.resize=Fr,Wt._reglType="texture2d",Wt._texture=Ct,Oi.profile&&(Wt.stats=Ct.stats),Wt.destroy=function(){Ct.decRef()},Wt}function me(We,lt,Ct,Wt,xr,Fr){var Ar=new Hs(Ui);tu[Ar.id]=Ar,Fi.cubeCount++;var Gt=new Array(6);function nr(Gr,Xr,fn,sn,Zr,hn){var qr,kn=Ar.texInfo;for(ql.call(kn),qr=0;qr<6;++qr)Gt[qr]=rl();if(typeof Gr=="number"||!Gr){var Xn=Gr|0||1;for(qr=0;qr<6;++qr)_s(Gt[qr],Xn,Xn)}else if(typeof Gr=="object")if(Xr)Fs(Gt[0],Gr),Fs(Gt[1],Xr),Fs(Gt[2],fn),Fs(Gt[3],sn),Fs(Gt[4],Zr),Fs(Gt[5],hn);else if(pc(kn,Gr),fo(Ar,Gr),"faces"in Gr){var vi=Gr.faces;for(qr=0;qr<6;++qr)sa(Gt[qr],Ar),Fs(Gt[qr],vi[qr])}else for(qr=0;qr<6;++qr)Fs(Gt[qr],Gr);for(sa(Ar,Gt[0]),kn.genMipmaps?Ar.mipmask=(Gt[0].width<<1)-1:Ar.mipmask=Gt[0].mipmask,Ar.internalformat=Gt[0].internalformat,nr.width=Gt[0].width,nr.height=Gt[0].height,$c(Ar),qr=0;qr<6;++qr)iu(Gt[qr],pi+qr);for(mc(kn,Ui),Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,kn.genMipmaps,!0)),nr.format=ba[Ar.internalformat],nr.type=Pa[Ar.type],nr.mag=ca[kn.magFilter],nr.min=$a[kn.minFilter],nr.wrapS=Ba[kn.wrapS],nr.wrapT=Ba[kn.wrapT],qr=0;qr<6;++qr)Bc(Gt[qr]);return nr}function mr(Gr,Xr,fn,sn,Zr){var hn=fn|0,qr=sn|0,kn=Zr|0,Xn=Na();return sa(Xn,Ar),Xn.width=0,Xn.height=0,Ia(Xn,Xr),Xn.width=Xn.width||(Ar.width>>kn)-hn,Xn.height=Xn.height||(Ar.height>>kn)-qr,$c(Ar),Zo(Xn,pi+Gr,hn,qr,kn),Us(),Mo(Xn),nr}function zr(Gr){var Xr=Gr|0;if(Xr!==Ar.width){nr.width=Ar.width=Xr,nr.height=Ar.height=Xr,$c(Ar);for(var fn=0;fn<6;++fn)for(var sn=0;Ar.mipmask>>sn;++sn)tr.texImage2D(pi+fn,sn,Ar.format,Xr>>sn,Xr>>sn,0,Ar.format,Ar.type,null);return Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,!1,!0)),nr}}return nr(We,lt,Ct,Wt,xr,Fr),nr.subimage=mr,nr.resize=zr,nr._reglType="textureCube",nr._texture=Ar,Oi.profile&&(nr.stats=Ar.stats),nr.destroy=function(){Ar.decRef()},nr}function te(){for(var We=0;We>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);else for(var xr=0;xr<6;++xr)tr.texImage2D(pi+xr,Wt,Ct.internalformat,Ct.width>>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);mc(Ct.texInfo,Ct.target)})}function Ze(){for(var We=0;We=0?Bc=!0:Ca.indexOf(ql)>=0&&(Bc=!1))),("depthTexture"in Hs||"depthStencilTexture"in Hs)&&(Nc=!!(Hs.depthTexture||Hs.depthStencilTexture)),"depth"in Hs&&(typeof Hs.depth=="boolean"?iu=Hs.depth:(Jc=Hs.depth,Oc=!1)),"stencil"in Hs&&(typeof Hs.stencil=="boolean"?Oc=Hs.stencil:(tu=Hs.stencil,iu=!1)),"depthStencil"in Hs&&(typeof Hs.depthStencil=="boolean"?iu=Oc=Hs.depthStencil:(Ac=Hs.depthStencil,iu=!1,Oc=!1))}var Us=null,ve=null,K=null,me=null;if(Array.isArray(rl))Us=rl.map(ia);else if(rl)Us=[ia(rl)];else for(Us=new Array(mc),ss=0;ss0&&(Mo.depth=Ia[0].depth,Mo.stencil=Ia[0].stencil,Mo.depthStencil=Ia[0].depthStencil),Ia[Na]?Ia[Na](Mo):Ia[Na]=sa(Mo)}return g(ao,{width:ss,height:ss,color:ql})}function Zo(ps){var Na,Mo=ps|0;if(Mo===ao.width)return ao;var ss=ao.color;for(Na=0;Na=ss.byteLength?_s.subdata(ss):(_s.destroy(),sa.buffers[ps]=null)),sa.buffers[ps]||(_s=sa.buffers[ps]=Ni.create(Na,Mf,!1,!0)),Mo.buffer=Ni.getBuffer(_s),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1,ao[ps]=1}else Ni.getBuffer(Na)?(Mo.buffer=Ni.getBuffer(Na),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1):Ni.getBuffer(Na.buffer)?(Mo.buffer=Ni.getBuffer(Na.buffer),Mo.size=(+Na.size||Mo.buffer.dimension)|0,Mo.normalized=!!Na.normalized||!1,"type"in Na?Mo.type=pn[Na.type]:Mo.type=Mo.buffer.dtype,Mo.offset=(Na.offset||0)|0,Mo.stride=(Na.stride||0)|0,Mo.divisor=(Na.divisor||0)|0,Mo.state=1):"x"in Na&&(Mo.x=+Na.x||0,Mo.y=+Na.y||0,Mo.z=+Na.z||0,Mo.w=+Na.w||0,Mo.state=2)}for(var Fs=0;Fs1)for(var Ja=0;Jawi&&(wi=qi.stats.uniformsCount)}),wi},Ln.getMaxAttributesCount=function(){var wi=0;return ha.forEach(function(qi){qi.stats.attributesCount>wi&&(wi=qi.stats.attributesCount)}),wi});function ia(){Ni={},Fi={};for(var wi=0;wi16&&(Ln=bi(Ln,tr.length*8));for(var xi=Array(16),Ni=Array(16),Fi=0;Fi<16;Fi++)xi[Fi]=Ln[Fi]^909522486,Ni[Fi]=Ln[Fi]^1549556828;var Oi=bi(xi.concat(Yc(cn)),512+cn.length*8);return Yt(bi(Ni.concat(Oi),768))}function uu(tr){for(var cn=Uf?"0123456789ABCDEF":"0123456789abcdef",Ln="",xi,Ni=0;Ni>>4&15)+cn.charAt(xi&15);return Ln}function fc(tr){for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ln="",xi=tr.length,Ni=0;Nitr.length*8?Ln+=Wu:Ln+=cn.charAt(Fi>>>6*(3-Oi)&63);return Ln}function Dc(tr,cn){var Ln=cn.length,xi=Array(),Ni,Fi,Oi,na,Ca=Array(Math.ceil(tr.length/2));for(Ni=0;Ni0;){for(na=Array(),Oi=0,Ni=0;Ni0||Fi>0)&&(na[na.length]=Fi);xi[xi.length]=Oi,Ca=na}var ka="";for(Ni=xi.length-1;Ni>=0;Ni--)ka+=cn.charAt(xi[Ni]);var ha=Math.ceil(tr.length*8/(Math.log(cn.length)/Math.log(2)));for(Ni=ka.length;Ni>>6&31,128|xi&63):xi<=65535?cn+=String.fromCharCode(224|xi>>>12&15,128|xi>>>6&63,128|xi&63):xi<=2097151&&(cn+=String.fromCharCode(240|xi>>>18&7,128|xi>>>12&63,128|xi>>>6&63,128|xi&63));return cn}function Yc(tr){for(var cn=Array(tr.length>>2),Ln=0;Ln>5]|=(tr.charCodeAt(Ln/8)&255)<<24-Ln%32;return cn}function Yt(tr){for(var cn="",Ln=0;Ln>5]>>>24-Ln%32&255);return cn}function dr(tr,cn){return tr>>>cn|tr<<32-cn}function tn(tr,cn){return tr>>>cn}function Wr(tr,cn,Ln){return tr&cn^~tr&Ln}function Cn(tr,cn,Ln){return tr&cn^tr&Ln^cn&Ln}function si(tr){return dr(tr,2)^dr(tr,13)^dr(tr,22)}function yi(tr){return dr(tr,6)^dr(tr,11)^dr(tr,25)}function Di(tr){return dr(tr,7)^dr(tr,18)^tn(tr,3)}function Wi(tr){return dr(tr,17)^dr(tr,19)^tn(tr,10)}var aa=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function bi(tr,cn){var Ln=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),xi=new Array(64),Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi;for(tr[cn>>5]|=128<<24-cn%32,tr[(cn+64>>9<<4)+15]=cn,Aa=0;Aa>16)+(cn>>16)+(Ln>>16);return xi<<16|Ln&65535}function Li(tr){return Array.prototype.slice.call(tr)}function di(tr){return Li(tr).join("")}function wa(tr){var cn=tr&&tr.cache,Ln=0,xi=[],Ni=[],Fi=[];function Oi(ia,wi){var qi=wi&&wi.stable;if(!qi){for(var ba=0;ba0&&(ia.push(Pa,"="),ia.push.apply(ia,Li(arguments)),ia.push(";")),Pa}return g(wi,{def:ba,toString:function(){return di([qi.length>0?"var "+qi.join(",")+";":"",di(ia)])}})}function Ca(){var ia=na(),wi=na(),qi=ia.toString,ba=wi.toString;function Pa(ca,$a){wi(ca,$a,"=",ia.def(ca,$a),";")}return g(function(){ia.apply(ia,Li(arguments))},{def:ia.def,entry:ia,exit:wi,save:Pa,set:function(ca,$a,Ba){Pa(ca,$a),ia(ca,$a,"=",Ba,";")},toString:function(){return qi()+ba()}})}function ka(){var ia=di(arguments),wi=Ca(),qi=Ca(),ba=wi.toString,Pa=qi.toString;return g(wi,{then:function(){return wi.apply(wi,Li(arguments)),this},else:function(){return qi.apply(qi,Li(arguments)),this},toString:function(){var ca=Pa();return ca&&(ca="else{"+ca+"}"),di(["if(",ia,"){",ba(),"}",ca])}})}var ha=na(),Xo={};function Aa(ia,wi){var qi=[];function ba(){var Oo="a"+qi.length;return qi.push(Oo),Oo}wi=wi||0;for(var Pa=0;Pa":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},qn={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Jn={cw:Qe,ccw:vt};function ci(tr){return Array.isArray(tr)||gr(tr)||br(tr)}function oi(tr){return tr.sort(function(cn,Ln){return cn===Ae?-1:Ln===Ae?1:cn=1,xi>=2,cn)}else if(Ln===Ds){var Ni=tr.data;return new Hn(Ni.thisDep,Ni.contextDep,Ni.propDep,cn)}else{if(Ln===il)return new Hn(!1,!1,!1,cn);if(Ln===Ns){for(var Fi=!1,Oi=!1,na=!1,Ca=0;Ca=1&&(Oi=!0),ha>=2&&(na=!0)}else ka.type===Ds&&(Fi=Fi||ka.data.thisDep,Oi=Oi||ka.data.contextDep,na=na||ka.data.propDep)}return new Hn(Fi,Oi,na,cn)}else return new Hn(Ln===as,Ln===Lo,Ln===Qi,cn)}}var La=new Hn(!1,!1,!1,function(){});function io(tr,cn,Ln,xi,Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi){var qi=ka.Record,ba={add:32774,subtract:32778,"reverse subtract":32779};Ln.ext_blend_minmax&&(ba.min=mt,ba.max=Tt);var Pa=Ln.angle_instanced_arrays,ca=Ln.webgl_draw_buffers,$a=Ln.oes_vertex_array_object,Ba={dirty:!0,profile:wi.profile},Oo={},va=[],sa={},fo={};function Ja(Gt){return Gt.replace(".","_")}function Fa(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Oo[zr]=Ba[zr]=!!mr,sa[zr]=nr}function Ia(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Array.isArray(mr)?(Ba[zr]=mr.slice(),Oo[zr]=mr.slice()):Ba[zr]=Oo[zr]=mr,fo[zr]=nr}function ao(Gt){return!!isNaN(Gt)}Fa(el,li),Fa(Es,Un),Ia(Bl,"blendColor",[0,0,0,0]),Ia(_l,"blendEquationSeparate",[jr,jr]),Ia(cl,"blendFuncSeparate",[Br,lr,Br,lr]),Fa(Za,Ci,!0),Ia(jo,"depthFunc",Tn),Ia(Js,"depthRange",[0,1]),Ia(zs,"depthMask",!0),Ia(cu,cu,[!0,!0,!0,!0]),Fa(zu,Mn),Ia(nc,"cullFace",Re),Ia(Kc,Kc,vt),Ia(Tu,Tu,1),Fa(zc,ya),Ia(Fu,"polygonOffset",[0,0]),Fa(wc,ro),Fa(bo,Va),Ia(Wo,"sampleCoverage",[1,!1]),Fa(Fc,ki),Ia(hc,"stencilMask",-1),Ia(dc,"stencilFunc",[Qt,0,-1]),Ia(Ne,"stencilOpSeparate",[de,Dt,Dt,Dt]),Ia(R,"stencilOpSeparate",[Re,Dt,Dt,Dt]),Fa(ne,Zi),Ia(be,"scissor",[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]),Ia(Ae,Ae,[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]);var Zo={gl:tr,context:Aa,strings:cn,next:Oo,current:Ba,draw:Xo,elements:Fi,buffer:Ni,shader:ha,attributes:ka.state,vao:ka,uniforms:Ca,framebuffer:na,extensions:Ln,timer:Ma,isBufferArgs:ci},ps={primTypes:gt,compareFuncs:En,blendFuncs:ai,blendEquations:ba,stencilOps:qn,glTypes:pn,orientationType:Jn};ca&&(ps.backBuffer=[Re],ps.drawBuffer=v(xi.maxDrawbuffers,function(Gt){return Gt===0?[0]:v(Gt,function(nr){return ti+nr})}));var Na=0;function Mo(){var Gt=wa({cache:ia}),nr=Gt.link,mr=Gt.global;Gt.id=Na++,Gt.batchId="0";var zr=nr(Zo),Gr=Gt.shared={props:"a0"};Object.keys(Zo).forEach(function(hn){Gr[hn]=mr.def(zr,".",hn)});var Xr=Gt.next={},fn=Gt.current={};Object.keys(fo).forEach(function(hn){Array.isArray(Ba[hn])&&(Xr[hn]=mr.def(Gr.next,".",hn),fn[hn]=mr.def(Gr.current,".",hn))});var sn=Gt.constants={};Object.keys(ps).forEach(function(hn){sn[hn]=mr.def(JSON.stringify(ps[hn]))}),Gt.invoke=function(hn,qr){switch(qr.type){case xa:var kn=["this",Gr.context,Gr.props,Gt.batchId];return hn.def(nr(qr.data),".call(",kn.slice(0,Math.max(qr.data.length+1,4)),")");case Qi:return hn.def(Gr.props,qr.data);case Lo:return hn.def(Gr.context,qr.data);case as:return hn.def("this",qr.data);case Ds:return qr.data.append(Gt,hn),qr.data.ref;case il:return qr.data.toString();case Ns:return qr.data.map(function(Xn){return Gt.invoke(hn,Xn)})}},Gt.attribCache={};var Zr={};return Gt.scopeAttrib=function(hn){var qr=cn.id(hn);if(qr in Zr)return Zr[qr];var kn=ka.scope[qr];kn||(kn=ka.scope[qr]=new qi);var Xn=Zr[qr]=nr(kn);return Xn},Gt}function ss(Gt){var nr=Gt.static,mr=Gt.dynamic,zr;if(Fe in nr){var Gr=!!nr[Fe];zr=oa(function(fn,sn){return Gr}),zr.enable=Gr}else if(Fe in mr){var Xr=mr[Fe];zr=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}return zr}function _s(Gt,nr){var mr=Gt.static,zr=Gt.dynamic;if(ht in mr){var Gr=mr[ht];return Gr?(Gr=na.getFramebuffer(Gr),oa(function(fn,sn){var Zr=fn.link(Gr),hn=fn.shared;sn.set(hn.framebuffer,".next",Zr);var qr=hn.context;return sn.set(qr,"."+dt,Zr+".width"),sn.set(qr,"."+St,Zr+".height"),Zr})):oa(function(fn,sn){var Zr=fn.shared;sn.set(Zr.framebuffer,".next","null");var hn=Zr.context;return sn.set(hn,"."+dt,hn+"."+sr),sn.set(hn,"."+St,hn+"."+pr),"null"})}else if(ht in zr){var Xr=zr[ht];return _a(Xr,function(fn,sn){var Zr=fn.invoke(sn,Xr),hn=fn.shared,qr=hn.framebuffer,kn=sn.def(qr,".getFramebuffer(",Zr,")");sn.set(qr,".next",kn);var Xn=hn.context;return sn.set(Xn,"."+dt,kn+"?"+kn+".width:"+Xn+"."+sr),sn.set(Xn,"."+St,kn+"?"+kn+".height:"+Xn+"."+pr),kn})}else return null}function Fs(Gt,nr,mr){var zr=Gt.static,Gr=Gt.dynamic;function Xr(Zr){if(Zr in zr){var hn=zr[Zr],qr=!0,kn=hn.x|0,Xn=hn.y|0,vi,Ji;return"width"in hn?vi=hn.width|0:qr=!1,"height"in hn?Ji=hn.height|0:qr=!1,new Hn(!qr&&nr&&nr.thisDep,!qr&&nr&&nr.contextDep,!qr&&nr&&nr.propDep,function(ja,Ea){var $i=ja.shared.context,da=vi;"width"in hn||(da=Ea.def($i,".",dt,"-",kn));var fa=Ji;return"height"in hn||(fa=Ea.def($i,".",St,"-",Xn)),[kn,Xn,da,fa]})}else if(Zr in Gr){var Pi=Gr[Zr],ea=_a(Pi,function(ja,Ea){var $i=ja.invoke(Ea,Pi),da=ja.shared.context,fa=Ea.def($i,".x|0"),za=Ea.def($i,".y|0"),Qa=Ea.def('"width" in ',$i,"?",$i,".width|0:","(",da,".",dt,"-",fa,")"),Cs=Ea.def('"height" in ',$i,"?",$i,".height|0:","(",da,".",St,"-",za,")");return[fa,za,Qa,Cs]});return nr&&(ea.thisDep=ea.thisDep||nr.thisDep,ea.contextDep=ea.contextDep||nr.contextDep,ea.propDep=ea.propDep||nr.propDep),ea}else return nr?new Hn(nr.thisDep,nr.contextDep,nr.propDep,function(ja,Ea){var $i=ja.shared.context;return[0,0,Ea.def($i,".",dt),Ea.def($i,".",St)]}):null}var fn=Xr(Ae);if(fn){var sn=fn;fn=new Hn(fn.thisDep,fn.contextDep,fn.propDep,function(Zr,hn){var qr=sn.append(Zr,hn),kn=Zr.shared.context;return hn.set(kn,"."+xt,qr[2]),hn.set(kn,"."+It,qr[3]),qr})}return{viewport:fn,scissor_box:Xr(be)}}function iu(Gt,nr){var mr=Gt.static,zr=typeof mr[zt]=="string"&&typeof mr[wt]=="string";if(zr){if(Object.keys(nr.dynamic).length>0)return null;var Gr=nr.static,Xr=Object.keys(Gr);if(Xr.length>0&&typeof Gr[Xr[0]]=="number"){for(var fn=[],sn=0;sn"+fa+"?"+qr+".constant["+fa+"]:0;"}).join(""),"}}else{","if(",vi,"(",qr,".buffer)){",ja,"=",Ji,".createStream(",Yr,",",qr,".buffer);","}else{",ja,"=",Ji,".getBuffer(",qr,".buffer);","}",Ea,'="type" in ',qr,"?",Xn.glTypes,"[",qr,".type]:",ja,".dtype;",Pi.normalized,"=!!",qr,".normalized;");function $i(da){hn(Pi[da],"=",qr,".",da,"|0;")}return $i("size"),$i("offset"),$i("stride"),$i("divisor"),hn("}}"),hn.exit("if(",Pi.isStream,"){",Ji,".destroyStream(",ja,");","}"),Pi}Gr[Xr]=_a(fn,sn)}),Gr}function mc(Gt){var nr=Gt.static,mr=Gt.dynamic,zr={};return Object.keys(nr).forEach(function(Gr){var Xr=nr[Gr];zr[Gr]=oa(function(fn,sn){return typeof Xr=="number"||typeof Xr=="boolean"?""+Xr:fn.link(Xr)})}),Object.keys(mr).forEach(function(Gr){var Xr=mr[Gr];zr[Gr]=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}),zr}function Jc(Gt,nr,mr,zr,Gr){var Xr=Gt.static,fn=Gt.dynamic,sn=iu(Gt,nr),Zr=_s(Gt,Gr),hn=Fs(Gt,Zr,Gr),qr=rl(Gt,Gr),kn=Bc(Gt,Gr),Xn=Oc(Gt,Gr,sn);function vi($i){var da=hn[$i];da&&(kn[$i]=da)}vi(Ae),vi(Ja(be));var Ji=Object.keys(kn).length>0,Pi={framebuffer:Zr,draw:qr,shader:Xn,state:kn,dirty:Ji,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Pi.profile=ss(Gt,Gr),Pi.uniforms=ql(mr,Gr),Pi.drawVAO=Pi.scopeVAO=qr.vao,!Pi.drawVAO&&Xn.program&&!sn&&Ln.angle_instanced_arrays&&qr.static.elements){var ea=!0,ja=Xn.program.attributes.map(function($i){var da=nr.static[$i];return ea=ea&&!!da,da});if(ea&&ja.length>0){var Ea=ka.getVAO(ka.createVAO({attributes:ja,elements:qr.static.elements}));Pi.drawVAO=new Hn(null,null,null,function($i,da){return $i.link(Ea)}),Pi.useVAO=!0}}return sn?Pi.useVAO=!0:Pi.attributes=pc(nr,Gr),Pi.context=mc(zr,Gr),Pi}function tu(Gt,nr,mr){var zr=Gt.shared,Gr=zr.context,Xr=Gt.scope();Object.keys(mr).forEach(function(fn){nr.save(Gr,"."+fn);var sn=mr[fn],Zr=sn.append(Gt,nr);Array.isArray(Zr)?Xr(Gr,".",fn,"=[",Zr.join(),"];"):Xr(Gr,".",fn,"=",Zr,";")}),nr(Xr)}function Ac(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gr.gl,fn=Gr.framebuffer,sn;ca&&(sn=nr.def(Gr.extensions,".webgl_draw_buffers"));var Zr=Gt.constants,hn=Zr.drawBuffer,qr=Zr.backBuffer,kn;mr?kn=mr.append(Gt,nr):kn=nr.def(fn,".next"),zr||nr("if(",kn,"!==",fn,".cur){"),nr("if(",kn,"){",Xr,".bindFramebuffer(",yn,",",kn,".framebuffer);"),ca&&nr(sn,".drawBuffersWEBGL(",hn,"[",kn,".colorAttachments.length]);"),nr("}else{",Xr,".bindFramebuffer(",yn,",null);"),ca&&nr(sn,".drawBuffersWEBGL(",qr,");"),nr("}",fn,".cur=",kn,";"),zr||nr("}")}function Nc(Gt,nr,mr){var zr=Gt.shared,Gr=zr.gl,Xr=Gt.current,fn=Gt.next,sn=zr.current,Zr=zr.next,hn=Gt.cond(sn,".dirty");va.forEach(function(qr){var kn=Ja(qr);if(!(kn in mr.state)){var Xn,vi;if(kn in fn){Xn=fn[kn],vi=Xr[kn];var Ji=v(Ba[kn].length,function(ea){return hn.def(Xn,"[",ea,"]")});hn(Gt.cond(Ji.map(function(ea,ja){return ea+"!=="+vi+"["+ja+"]"}).join("||")).then(Gr,".",fo[kn],"(",Ji,");",Ji.map(function(ea,ja){return vi+"["+ja+"]="+ea}).join(";"),";"))}else{Xn=hn.def(Zr,".",kn);var Pi=Gt.cond(Xn,"!==",sn,".",kn);hn(Pi),kn in sa?Pi(Gt.cond(Xn).then(Gr,".enable(",sa[kn],");").else(Gr,".disable(",sa[kn],");"),sn,".",kn,"=",Xn,";"):Pi(Gr,".",fo[kn],"(",Xn,");",sn,".",kn,"=",Xn,";")}}}),Object.keys(mr.state).length===0&&hn(sn,".dirty=false;"),nr(hn)}function Hs(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gt.current,fn=Gr.current,sn=Gr.gl,Zr;oi(Object.keys(mr)).forEach(function(hn){var qr=mr[hn];if(!(zr&&!zr(qr))){var kn=qr.append(Gt,nr);if(sa[hn]){var Xn=sa[hn];ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(Gt.cond(Zr).then(sn,".enable(",Xn,");").else(sn,".disable(",Xn,");")),nr(fn,".",hn,"=",Zr,";")):(nr(Gt.cond(kn).then(sn,".enable(",Xn,");").else(sn,".disable(",Xn,");")),nr(fn,".",hn,"=",kn,";"))}else if(Bn(kn)){var vi=Xr[hn];nr(sn,".",fo[hn],"(",kn,");",kn.map(function(Ji,Pi){return vi+"["+Pi+"]="+Ji}).join(";"),";")}else ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(sn,".",fo[hn],"(",Zr,");",fn,".",hn,"=",Zr,";")):nr(sn,".",fo[hn],"(",kn,");",fn,".",hn,"=",kn,";")}})}function $c(Gt,nr){Pa&&(Gt.instancing=nr.def(Gt.shared.extensions,".angle_instanced_arrays"))}function Us(Gt,nr,mr,zr,Gr){var Xr=Gt.shared,fn=Gt.stats,sn=Xr.current,Zr=Xr.timer,hn=mr.profile;function qr(){return typeof performance>"u"?"Date.now()":"performance.now()"}var kn,Xn;function vi($i){kn=nr.def(),$i(kn,"=",qr(),";"),typeof Gr=="string"?$i(fn,".count+=",Gr,";"):$i(fn,".count++;"),Ma&&(zr?(Xn=nr.def(),$i(Xn,"=",Zr,".getNumPendingQueries();")):$i(Zr,".beginQuery(",fn,");"))}function Ji($i){$i(fn,".cpuTime+=",qr(),"-",kn,";"),Ma&&(zr?$i(Zr,".pushScopeStats(",Xn,",",Zr,".getNumPendingQueries(),",fn,");"):$i(Zr,".endQuery();"))}function Pi($i){var da=nr.def(sn,".profile");nr(sn,".profile=",$i,";"),nr.exit(sn,".profile=",da,";")}var ea;if(hn){if(ta(hn)){hn.enable?(vi(nr),Ji(nr.exit),Pi("true")):Pi("false");return}ea=hn.append(Gt,nr),Pi(ea)}else ea=nr.def(sn,".profile");var ja=Gt.block();vi(ja),nr("if(",ea,"){",ja,"}");var Ea=Gt.block();Ji(Ea),nr.exit("if(",ea,"){",Ea,"}")}function ve(Gt,nr,mr,zr,Gr){var Xr=Gt.shared;function fn(Zr){switch(Zr){case vs:case fl:case Nl:return 2;case Fo:case al:case eu:return 3;case ts:case os:case Xu:return 4;default:return 1}}function sn(Zr,hn,qr){var kn=Xr.gl,Xn=nr.def(Zr,".location"),vi=nr.def(Xr.attributes,"[",Xn,"]"),Ji=qr.state,Pi=qr.buffer,ea=[qr.x,qr.y,qr.z,qr.w],ja=["buffer","normalized","offset","stride"];function Ea(){nr("if(!",vi,".buffer){",kn,".enableVertexAttribArray(",Xn,");}");var da=qr.type,fa;if(qr.size?fa=nr.def(qr.size,"||",hn):fa=hn,nr("if(",vi,".type!==",da,"||",vi,".size!==",fa,"||",ja.map(function(Qa){return vi+"."+Qa+"!=="+qr[Qa]}).join("||"),"){",kn,".bindBuffer(",Yr,",",Pi,".buffer);",kn,".vertexAttribPointer(",[Xn,fa,da,qr.normalized,qr.stride,qr.offset],");",vi,".type=",da,";",vi,".size=",fa,";",ja.map(function(Qa){return vi+"."+Qa+"="+qr[Qa]+";"}).join(""),"}"),Pa){var za=qr.divisor;nr("if(",vi,".divisor!==",za,"){",Gt.instancing,".vertexAttribDivisorANGLE(",[Xn,za],");",vi,".divisor=",za,";}")}}function $i(){nr("if(",vi,".buffer){",kn,".disableVertexAttribArray(",Xn,");",vi,".buffer=null;","}if(",po.map(function(da,fa){return vi+"."+da+"!=="+ea[fa]}).join("||"),"){",kn,".vertexAttrib4f(",Xn,",",ea,");",po.map(function(da,fa){return vi+"."+da+"="+ea[fa]+";"}).join(""),"}")}Ji===mo?Ea():Ji===Ao?$i():(nr("if(",Ji,"===",mo,"){"),Ea(),nr("}else{"),$i(),nr("}"))}zr.forEach(function(Zr){var hn=Zr.name,qr=mr.attributes[hn],kn;if(qr){if(!Gr(qr))return;kn=qr.append(Gt,nr)}else{if(!Gr(La))return;var Xn=Gt.scopeAttrib(hn);kn={},Object.keys(new qi).forEach(function(vi){kn[vi]=nr.def(Xn,".",vi)})}sn(Gt.link(Zr),fn(Zr.info.type),kn)})}function K(Gt,nr,mr,zr,Gr,Xr){for(var fn=Gt.shared,sn=fn.gl,Zr,hn=0;hn1){for(var ws=[],$s=[],rs=0;rs>1)",Pi],");")}function za(){mr(ea,".drawArraysInstancedANGLE(",[Xn,vi,Ji,Pi],");")}qr&&qr!=="null"?Ea?fa():(mr("if(",qr,"){"),fa(),mr("}else{"),za(),mr("}")):za()}function da(){function fa(){mr(Xr+".drawElements("+[Xn,Ji,ja,vi+"<<(("+ja+"-"+co+")>>1)"]+");")}function za(){mr(Xr+".drawArrays("+[Xn,vi,Ji]+");")}qr&&qr!=="null"?Ea?fa():(mr("if(",qr,"){"),fa(),mr("}else{"),za(),mr("}")):za()}Pa&&(typeof Pi!="number"||Pi>=0)?typeof Pi=="string"?(mr("if(",Pi,">0){"),$i(),mr("}else if(",Pi,"<0){"),da(),mr("}")):$i():da()}function te(Gt,nr,mr,zr,Gr){var Xr=Mo(),fn=Xr.proc("body",Gr);return Pa&&(Xr.instancing=fn.def(Xr.shared.extensions,".angle_instanced_arrays")),Gt(Xr,fn,mr,zr),Xr.compile().body}function ye(Gt,nr,mr,zr){$c(Gt,nr),mr.useVAO?mr.drawVAO?nr(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,nr),");"):nr(Gt.shared.vao,".setVAO(",Gt.shared.vao,".targetVAO);"):(nr(Gt.shared.vao,".setVAO(null);"),ve(Gt,nr,mr,zr.attributes,function(){return!0})),K(Gt,nr,mr,zr.uniforms,function(){return!0},!1),me(Gt,nr,nr,mr)}function Ze(Gt,nr){var mr=Gt.proc("draw",1);$c(Gt,mr),tu(Gt,mr,nr.context),Ac(Gt,mr,nr.framebuffer),Nc(Gt,mr,nr),Hs(Gt,mr,nr.state),Us(Gt,mr,nr,!1,!0);var zr=nr.shader.progVar.append(Gt,mr);if(mr(Gt.shared.gl,".useProgram(",zr,".program);"),nr.shader.program)ye(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,".setVAO(null);");var Gr=Gt.global.def("{}"),Xr=mr.def(zr,".id"),fn=mr.def(Gr,"[",Xr,"]");mr(Gt.cond(fn).then(fn,".call(this,a0);").else(fn,"=",Gr,"[",Xr,"]=",Gt.link(function(sn){return te(ye,Gt,nr,sn,1)}),"(",zr,");",fn,".call(this,a0);"))}Object.keys(nr.state).length>0&&mr(Gt.shared.current,".dirty=true;"),Gt.shared.vao&&mr(Gt.shared.vao,".setVAO(null);")}function We(Gt,nr,mr,zr){Gt.batchId="a1",$c(Gt,nr);function Gr(){return!0}ve(Gt,nr,mr,zr.attributes,Gr),K(Gt,nr,mr,zr.uniforms,Gr,!1),me(Gt,nr,nr,mr)}function lt(Gt,nr,mr,zr){$c(Gt,nr);var Gr=mr.contextDep,Xr=nr.def(),fn="a0",sn="a1",Zr=nr.def();Gt.shared.props=Zr,Gt.batchId=Xr;var hn=Gt.scope(),qr=Gt.scope();nr(hn.entry,"for(",Xr,"=0;",Xr,"<",sn,";++",Xr,"){",Zr,"=",fn,"[",Xr,"];",qr,"}",hn.exit);function kn(ja){return ja.contextDep&&Gr||ja.propDep}function Xn(ja){return!kn(ja)}if(mr.needsContext&&tu(Gt,qr,mr.context),mr.needsFramebuffer&&Ac(Gt,qr,mr.framebuffer),Hs(Gt,qr,mr.state,kn),mr.profile&&kn(mr.profile)&&Us(Gt,qr,mr,!1,!0),zr)mr.useVAO?mr.drawVAO?kn(mr.drawVAO)?qr(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,qr),");"):hn(Gt.shared.vao,".setVAO(",mr.drawVAO.append(Gt,hn),");"):hn(Gt.shared.vao,".setVAO(",Gt.shared.vao,".targetVAO);"):(hn(Gt.shared.vao,".setVAO(null);"),ve(Gt,hn,mr,zr.attributes,Xn),ve(Gt,qr,mr,zr.attributes,kn)),K(Gt,hn,mr,zr.uniforms,Xn,!1),K(Gt,qr,mr,zr.uniforms,kn,!0),me(Gt,hn,qr,mr);else{var vi=Gt.global.def("{}"),Ji=mr.shader.progVar.append(Gt,qr),Pi=qr.def(Ji,".id"),ea=qr.def(vi,"[",Pi,"]");qr(Gt.shared.gl,".useProgram(",Ji,".program);","if(!",ea,"){",ea,"=",vi,"[",Pi,"]=",Gt.link(function(ja){return te(We,Gt,mr,ja,2)}),"(",Ji,");}",ea,".call(this,a0[",Xr,"],",Xr,");")}}function Ct(Gt,nr){var mr=Gt.proc("batch",2);Gt.batchId="0",$c(Gt,mr);var zr=!1,Gr=!0;Object.keys(nr.context).forEach(function(vi){zr=zr||nr.context[vi].propDep}),zr||(tu(Gt,mr,nr.context),Gr=!1);var Xr=nr.framebuffer,fn=!1;Xr?(Xr.propDep?zr=fn=!0:Xr.contextDep&&zr&&(fn=!0),fn||Ac(Gt,mr,Xr)):Ac(Gt,mr,null),nr.state.viewport&&nr.state.viewport.propDep&&(zr=!0);function sn(vi){return vi.contextDep&&zr||vi.propDep}Nc(Gt,mr,nr),Hs(Gt,mr,nr.state,function(vi){return!sn(vi)}),(!nr.profile||!sn(nr.profile))&&Us(Gt,mr,nr,!1,"a1"),nr.contextDep=zr,nr.needsContext=Gr,nr.needsFramebuffer=fn;var Zr=nr.shader.progVar;if(Zr.contextDep&&zr||Zr.propDep)lt(Gt,mr,nr,null);else{var hn=Zr.append(Gt,mr);if(mr(Gt.shared.gl,".useProgram(",hn,".program);"),nr.shader.program)lt(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,".setVAO(null);");var qr=Gt.global.def("{}"),kn=mr.def(hn,".id"),Xn=mr.def(qr,"[",kn,"]");mr(Gt.cond(Xn).then(Xn,".call(this,a0,a1);").else(Xn,"=",qr,"[",kn,"]=",Gt.link(function(vi){return te(lt,Gt,nr,vi,2)}),"(",hn,");",Xn,".call(this,a0,a1);"))}}Object.keys(nr.state).length>0&&mr(Gt.shared.current,".dirty=true;"),Gt.shared.vao&&mr(Gt.shared.vao,".setVAO(null);")}function Wt(Gt,nr){var mr=Gt.proc("scope",3);Gt.batchId="a2";var zr=Gt.shared,Gr=zr.current;if(tu(Gt,mr,nr.context),nr.framebuffer&&nr.framebuffer.append(Gt,mr),oi(Object.keys(nr.state)).forEach(function(sn){var Zr=nr.state[sn],hn=Zr.append(Gt,mr);Bn(hn)?hn.forEach(function(qr,kn){ao(qr)?mr.set(Gt.next[sn],"["+kn+"]",qr):mr.set(Gt.next[sn],"["+kn+"]",Gt.link(qr,{stable:!0}))}):ta(Zr)?mr.set(zr.next,"."+sn,Gt.link(hn,{stable:!0})):mr.set(zr.next,"."+sn,hn)}),Us(Gt,mr,nr,!0,!0),[Jt,Hr,vr,ln,hr].forEach(function(sn){var Zr=nr.draw[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.draw,"."+sn,hn):mr.set(zr.draw,"."+sn,Gt.link(hn),{stable:!0})}}),Object.keys(nr.uniforms).forEach(function(sn){var Zr=nr.uniforms[sn].append(Gt,mr);Array.isArray(Zr)&&(Zr="["+Zr.map(function(hn){return ao(hn)?hn:Gt.link(hn,{stable:!0})})+"]"),mr.set(zr.uniforms,"["+Gt.link(cn.id(sn),{stable:!0})+"]",Zr)}),Object.keys(nr.attributes).forEach(function(sn){var Zr=nr.attributes[sn].append(Gt,mr),hn=Gt.scopeAttrib(sn);Object.keys(new qi).forEach(function(qr){mr.set(hn,"."+qr,Zr[qr])})}),nr.scopeVAO){var Xr=nr.scopeVAO.append(Gt,mr);ao(Xr)?mr.set(zr.vao,".targetVAO",Xr):mr.set(zr.vao,".targetVAO",Gt.link(Xr,{stable:!0}))}function fn(sn){var Zr=nr.shader[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.shader,"."+sn,hn):mr.set(zr.shader,"."+sn,Gt.link(hn,{stable:!0}))}}fn(wt),fn(zt),Object.keys(nr.state).length>0&&(mr(Gr,".dirty=true;"),mr.exit(Gr,".dirty=true;")),mr("a1(",Gt.shared.context,",a0,",Gt.batchId,");")}function xr(Gt){if(!(typeof Gt!="object"||Bn(Gt))){for(var nr=Object.keys(Gt),mr=0;mr=0;--te){var ye=Zo[te];ye&&ye(ia,null,0)}Ln.flush(),ha&&ha.update()}function Fs(){!ss&&Zo.length>0&&(ss=h.next(_s))}function iu(){ss&&(h.cancel(_s),ss=null)}function Oc(te){te.preventDefault(),Ni=!0,iu(),ps.forEach(function(ye){ye()})}function rl(te){Ln.getError(),Ni=!1,Fi.restore(),Oo.restore(),Pa.restore(),va.restore(),sa.restore(),fo.restore(),$a.restore(),ha&&ha.restore(),Ja.procs.refresh(),Fs(),Na.forEach(function(ye){ye()})}ao&&(ao.addEventListener(ys,Oc,!1),ao.addEventListener(Ms,rl,!1));function Bc(){Zo.length=0,iu(),ao&&(ao.removeEventListener(ys,Oc),ao.removeEventListener(Ms,rl)),Oo.clear(),fo.clear(),sa.clear(),$a.clear(),va.clear(),ca.clear(),Pa.clear(),ha&&ha.clear(),Mo.forEach(function(te){te()})}function ql(te){function ye(Xr){var fn=g({},Xr);delete fn.uniforms,delete fn.attributes,delete fn.context,delete fn.vao,"stencil"in fn&&fn.stencil.op&&(fn.stencil.opBack=fn.stencil.opFront=fn.stencil.op,delete fn.stencil.op);function sn(Zr){if(Zr in fn){var hn=fn[Zr];delete fn[Zr],Object.keys(hn).forEach(function(qr){fn[Zr+"."+qr]=hn[qr]})}}return sn("blend"),sn("depth"),sn("cull"),sn("stencil"),sn("polygonOffset"),sn("scissor"),sn("sample"),"vao"in Xr&&(fn.vao=Xr.vao),fn}function Ze(Xr,fn){var sn={},Zr={};return Object.keys(Xr).forEach(function(hn){var qr=Xr[hn];if(c.isDynamic(qr)){Zr[hn]=c.unbox(qr,hn);return}else if(fn&&Array.isArray(qr)){for(var kn=0;kn0)return Gt.call(this,zr(Xr|0),Xr|0)}else if(Array.isArray(Xr)){if(Xr.length)return Gt.call(this,Xr,Xr.length)}else return Ar.call(this,Xr)}return g(Gr,{stats:xr,destroy:function(){Fr.destroy()}})}var pc=fo.setFBO=ql({framebuffer:c.define.call(null,xl,"framebuffer")});function mc(te,ye){var Ze=0;Ja.procs.poll();var We=ye.color;We&&(Ln.clearColor(+We[0]||0,+We[1]||0,+We[2]||0,+We[3]||0),Ze|=tl),"depth"in ye&&(Ln.clearDepth(+ye.depth),Ze|=ml),"stencil"in ye&&(Ln.clearStencil(ye.stencil|0),Ze|=ua),Ln.clear(Ze)}function Jc(te){if("framebuffer"in te)if(te.framebuffer&&te.framebuffer_reglType==="framebufferCube")for(var ye=0;ye<6;++ye)pc(g({framebuffer:te.framebuffer.faces[ye]},te),mc);else pc(te,mc);else mc(null,te)}function tu(te){Zo.push(te);function ye(){var Ze=Fl(Zo,te);function We(){var lt=Fl(Zo,We);Zo[lt]=Zo[Zo.length-1],Zo.length-=1,Zo.length<=0&&iu()}Zo[Ze]=We}return Fs(),{cancel:ye}}function Ac(){var te=Ia.viewport,ye=Ia.scissor_box;te[0]=te[1]=ye[0]=ye[1]=0,ia.viewportWidth=ia.framebufferWidth=ia.drawingBufferWidth=te[2]=ye[2]=Ln.drawingBufferWidth,ia.viewportHeight=ia.framebufferHeight=ia.drawingBufferHeight=te[3]=ye[3]=Ln.drawingBufferHeight}function Nc(){ia.tick+=1,ia.time=$c(),Ac(),Ja.procs.poll()}function Hs(){va.refresh(),Ac(),Ja.procs.refresh(),ha&&ha.update()}function $c(){return(p()-Xo)/1e3}Hs();function Us(te,ye){var Ze;switch(te){case"frame":return tu(ye);case"lost":Ze=ps;break;case"restore":Ze=Na;break;case"destroy":Ze=Mo;break;default:}return Ze.push(ye),{cancel:function(){for(var We=0;We=0},read:Fa,destroy:Bc,_gl:Ln,_refresh:Hs,poll:function(){Nc(),ha&&ha.update()},now:$c,stats:na,getCachedCode:ve,preloadCachedCode:K});return cn.onDone(null,me),me}return vc})}}),GR=ke({"node_modules/gl-util/context.js"(Z,H){"use strict";var g=Rv();H.exports=function(o){if(o?typeof o=="string"&&(o={container:o}):o={},A(o)?o={container:o}:S(o)?o={container:o}:e(o)?o={gl:o}:o=g(o,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),o.pixelRatio||(o.pixelRatio=window.pixelRatio||1),o.gl)return o.gl;if(o.canvas&&(o.container=o.canvas.parentNode),o.container){if(typeof o.container=="string"){var n=document.querySelector(o.container);if(!n)throw Error("Element "+o.container+" is not found");o.container=n}A(o.container)?(o.canvas=o.container,o.container=o.canvas.parentNode):o.canvas||(o.canvas=t(),o.container.appendChild(o.canvas),x(o))}else if(!o.canvas)if(typeof document<"u")o.container=document.body||document.documentElement,o.canvas=t(),o.container.appendChild(o.canvas),x(o);else throw Error("Not DOM environment. Use headless-gl.");return o.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(i){try{o.gl=o.canvas.getContext(i,o.attrs)}catch{}return o.gl}),o.gl};function x(r){if(r.container)if(r.container==document.body)document.body.style.width||(r.canvas.width=r.width||r.pixelRatio*window.innerWidth),document.body.style.height||(r.canvas.height=r.height||r.pixelRatio*window.innerHeight);else{var o=r.container.getBoundingClientRect();r.canvas.width=r.width||o.right-o.left,r.canvas.height=r.height||o.bottom-o.top}}function A(r){return typeof r.getContext=="function"&&"width"in r&&"height"in r}function S(r){return typeof r.nodeName=="string"&&typeof r.appendChild=="function"&&typeof r.getBoundingClientRect=="function"}function e(r){return typeof r.drawArrays=="function"||typeof r.drawElements=="function"}function t(){var r=document.createElement("canvas");return r.style.position="absolute",r.style.top=0,r.style.left=0,r}}}),WR=ke({"node_modules/font-atlas/index.js"(Z,H){"use strict";var g=GA(),x=[32,126];H.exports=A;function A(S){S=S||{};var e=S.shape?S.shape:S.canvas?[S.canvas.width,S.canvas.height]:[512,512],t=S.canvas||document.createElement("canvas"),r=S.font,o=typeof S.step=="number"?[S.step,S.step]:S.step||[32,32],n=S.chars||x;if(r&&typeof r!="string"&&(r=g(r)),!Array.isArray(n))n=String(n).split("");else if(n.length===2&&typeof n[0]=="number"&&typeof n[1]=="number"){for(var i=[],a=n[0],s=0;a<=n[1];a++)i[s++]=String.fromCharCode(a);n=i}e=e.slice(),t.width=e[0],t.height=e[1];var c=t.getContext("2d");c.fillStyle="#000",c.fillRect(0,0,t.width,t.height),c.font=r,c.textAlign="center",c.textBaseline="middle",c.fillStyle="#fff";for(var h=o[0]/2,p=o[1]/2,a=0;ae[0]-o[0]/2&&(h=o[0]/2,p+=o[1]);return t}}}),XA=ke({"node_modules/bit-twiddle/twiddle.js"(Z){"use strict";"use restrict";var H=32;Z.INT_BITS=H,Z.INT_MAX=2147483647,Z.INT_MIN=-1<0)-(A<0)},Z.abs=function(A){var S=A>>H-1;return(A^S)-S},Z.min=function(A,S){return S^(A^S)&-(A65535)<<4,A>>>=S,e=(A>255)<<3,A>>>=e,S|=e,e=(A>15)<<2,A>>>=e,S|=e,e=(A>3)<<1,A>>>=e,S|=e,S|A>>1},Z.log10=function(A){return A>=1e9?9:A>=1e8?8:A>=1e7?7:A>=1e6?6:A>=1e5?5:A>=1e4?4:A>=1e3?3:A>=100?2:A>=10?1:0},Z.popCount=function(A){return A=A-(A>>>1&1431655765),A=(A&858993459)+(A>>>2&858993459),(A+(A>>>4)&252645135)*16843009>>>24};function g(A){var S=32;return A&=-A,A&&S--,A&65535&&(S-=16),A&16711935&&(S-=8),A&252645135&&(S-=4),A&858993459&&(S-=2),A&1431655765&&(S-=1),S}Z.countTrailingZeros=g,Z.nextPow2=function(A){return A+=A===0,--A,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A+1},Z.prevPow2=function(A){return A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A-(A>>>1)},Z.parity=function(A){return A^=A>>>16,A^=A>>>8,A^=A>>>4,A&=15,27030>>>A&1};var x=new Array(256);(function(A){for(var S=0;S<256;++S){var e=S,t=S,r=7;for(e>>>=1;e;e>>>=1)t<<=1,t|=e&1,--r;A[S]=t<>>8&255]<<16|x[A>>>16&255]<<8|x[A>>>24&255]},Z.interleave2=function(A,S){return A&=65535,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,S&=65535,S=(S|S<<8)&16711935,S=(S|S<<4)&252645135,S=(S|S<<2)&858993459,S=(S|S<<1)&1431655765,A|S<<1},Z.deinterleave2=function(A,S){return A=A>>>S&1431655765,A=(A|A>>>1)&858993459,A=(A|A>>>2)&252645135,A=(A|A>>>4)&16711935,A=(A|A>>>16)&65535,A<<16>>16},Z.interleave3=function(A,S,e){return A&=1023,A=(A|A<<16)&4278190335,A=(A|A<<8)&251719695,A=(A|A<<4)&3272356035,A=(A|A<<2)&1227133513,S&=1023,S=(S|S<<16)&4278190335,S=(S|S<<8)&251719695,S=(S|S<<4)&3272356035,S=(S|S<<2)&1227133513,A|=S<<1,e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,A|e<<2},Z.deinterleave3=function(A,S){return A=A>>>S&1227133513,A=(A|A>>>2)&3272356035,A=(A|A>>>4)&251719695,A=(A|A>>>8)&4278190335,A=(A|A>>>16)&1023,A<<22>>22},Z.nextCombination=function(A){var S=A|A-1;return S+1|(~S&-~S)-1>>>g(A)+1}}}),XR=ke({"node_modules/dup/dup.js"(Z,H){"use strict";function g(S,e,t){var r=S[t]|0;if(r<=0)return[];var o=new Array(r),n;if(t===S.length-1)for(n=0;n"u"&&(e=0),typeof S){case"number":if(S>0)return x(S|0,e);break;case"object":if(typeof S.length=="number")return g(S,e,0);break}return[]}H.exports=A}}),ZR=ke({"node_modules/typedarray-pool/pool.js"(Z){"use strict";var H=XA(),g=XR(),x=Nm().Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var A=typeof Uint8ClampedArray<"u",S=typeof BigUint64Array<"u",e=typeof BigInt64Array<"u",t=window.__TYPEDARRAY_POOL;t.UINT8C||(t.UINT8C=g([32,0])),t.BIGUINT64||(t.BIGUINT64=g([32,0])),t.BIGINT64||(t.BIGINT64=g([32,0])),t.BUFFER||(t.BUFFER=g([32,0]));var r=t.DATA,o=t.BUFFER;Z.free=function(u){if(x.isBuffer(u))o[H.log2(u.length)].push(u);else{if(Object.prototype.toString.call(u)!=="[object ArrayBuffer]"&&(u=u.buffer),!u)return;var y=u.length||u.byteLength,f=H.log2(y)|0;r[f].push(u)}};function n(v){if(v){var u=v.length||v.byteLength,y=H.log2(u);r[y].push(v)}}function i(v){n(v.buffer)}Z.freeUint8=Z.freeUint16=Z.freeUint32=Z.freeBigUint64=Z.freeInt8=Z.freeInt16=Z.freeInt32=Z.freeBigInt64=Z.freeFloat32=Z.freeFloat=Z.freeFloat64=Z.freeDouble=Z.freeUint8Clamped=Z.freeDataView=i,Z.freeArrayBuffer=n,Z.freeBuffer=function(u){o[H.log2(u.length)].push(u)},Z.malloc=function(u,y){if(y===void 0||y==="arraybuffer")return a(u);switch(y){case"uint8":return s(u);case"uint16":return c(u);case"uint32":return h(u);case"int8":return p(u);case"int16":return d(u);case"int32":return T(u);case"float":case"float32":return l(u);case"double":case"float64":return _(u);case"uint8_clamped":return w(u);case"bigint64":return E(u);case"biguint64":return M(u);case"buffer":return b(u);case"data":case"dataview":return m(u);default:return null}return null};function a(u){var u=H.nextPow2(u),y=H.log2(u),f=r[y];return f.length>0?f.pop():new ArrayBuffer(u)}Z.mallocArrayBuffer=a;function s(v){return new Uint8Array(a(v),0,v)}Z.mallocUint8=s;function c(v){return new Uint16Array(a(2*v),0,v)}Z.mallocUint16=c;function h(v){return new Uint32Array(a(4*v),0,v)}Z.mallocUint32=h;function p(v){return new Int8Array(a(v),0,v)}Z.mallocInt8=p;function d(v){return new Int16Array(a(2*v),0,v)}Z.mallocInt16=d;function T(v){return new Int32Array(a(4*v),0,v)}Z.mallocInt32=T;function l(v){return new Float32Array(a(4*v),0,v)}Z.mallocFloat32=Z.mallocFloat=l;function _(v){return new Float64Array(a(8*v),0,v)}Z.mallocFloat64=Z.mallocDouble=_;function w(v){return A?new Uint8ClampedArray(a(v),0,v):s(v)}Z.mallocUint8Clamped=w;function M(v){return S?new BigUint64Array(a(8*v),0,v):null}Z.mallocBigUint64=M;function E(v){return e?new BigInt64Array(a(8*v),0,v):null}Z.mallocBigInt64=E;function m(v){return new DataView(a(v),0,v)}Z.mallocDataView=m;function b(v){v=H.nextPow2(v);var u=H.log2(v),y=o[u];return y.length>0?y.pop():new x(v)}Z.mallocBuffer=b,Z.clearCache=function(){for(var u=0;u<32;++u)t.UINT8[u].length=0,t.UINT16[u].length=0,t.UINT32[u].length=0,t.INT8[u].length=0,t.INT16[u].length=0,t.INT32[u].length=0,t.FLOAT[u].length=0,t.DOUBLE[u].length=0,t.BIGUINT64[u].length=0,t.BIGINT64[u].length=0,t.UINT8C[u].length=0,r[u].length=0,o[u].length=0}}}),YR=ke({"node_modules/is-plain-obj/index.js"(Z,H){"use strict";var g=Object.prototype.toString;H.exports=function(x){var A;return g.call(x)==="[object Object]"&&(A=Object.getPrototypeOf(x),A===null||A===Object.getPrototypeOf({}))}}}),ZA=ke({"node_modules/parse-unit/index.js"(Z,H){H.exports=function(x,A){A||(A=[0,""]),x=String(x);var S=parseFloat(x,10);return A[0]=S,A[1]=x.match(/[\d.\-\+]*\s*(.*)/)[1]||"",A}}}),KR=ke({"node_modules/to-px/topx.js"(Z,H){"use strict";var g=ZA();H.exports=e;var x=96;function A(t,r){var o=g(getComputedStyle(t).getPropertyValue(r));return o[0]*e(o[1],t)}function S(t,r){var o=document.createElement("div");o.style["font-size"]="128"+t,r.appendChild(o);var n=A(o,"font-size")/128;return r.removeChild(o),n}function e(t,r){switch(r=r||document.body,t=(t||"px").trim().toLowerCase(),(r===window||r===document)&&(r=document.body),t){case"%":return r.clientHeight/100;case"ch":case"ex":return S(t,r);case"em":return A(r,"font-size");case"rem":return A(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return x;case"cm":return x/2.54;case"mm":return x/25.4;case"pt":return x/72;case"pc":return x/6}return 1}}}),JR=ke({"node_modules/detect-kerning/index.js"(Z,H){"use strict";H.exports=S;var g=S.canvas=document.createElement("canvas"),x=g.getContext("2d"),A=e([32,126]);S.createPairs=e,S.ascii=A;function S(t,r){Array.isArray(t)&&(t=t.join(", "));var o={},n,i=16,a=.05;r&&(r.length===2&&typeof r[0]=="number"?n=e(r):Array.isArray(r)?n=r:(r.o?n=e(r.o):r.pairs&&(n=r.pairs),r.fontSize&&(i=r.fontSize),r.threshold!=null&&(a=r.threshold))),n||(n=A),x.font=i+"px "+t;for(var s=0;si*a){var d=(p-h)/i;o[c]=d*1e3}}return o}function e(t){for(var r=[],o=t[0];o<=t[1];o++)for(var n=String.fromCharCode(o),i=t[0];i0;o-=4)if(r[o]!==0)return Math.floor((o-3)*.25/t)}}}),QR=ke({"node_modules/gl-text/dist.js"(Z,H){"use strict";var g=HR(),x=Rv(),A=WA(),S=GR(),e=OA(),t=Zp(),r=WR(),o=ZR(),n=my(),i=YR(),a=ZA(),s=KR(),c=JR(),h=Rf(),p=$R(),d=Qm(),T=XA(),l=T.nextPow2,_=new e,w=!1;document.body&&(M=document.body.appendChild(document.createElement("div")),M.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(M).fontStretch&&(w=!0),document.body.removeChild(M));var M,E=function(v){m(v)?(v={regl:v},this.gl=v.regl._gl):this.gl=S(v),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=v.regl||A({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(i(v)?v:{})};E.prototype.createShader=function(){var v=this.regl,u=v({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:v.prop("count"),offset:v.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:v.this("sizeBuffer")},width:{offset:0,stride:8,buffer:v.this("sizeBuffer")},char:v.this("charBuffer"),position:v.this("position")},uniforms:{atlasSize:function(f,P){return[P.atlas.width,P.atlas.height]},atlasDim:function(f,P){return[P.atlas.cols,P.atlas.rows]},atlas:function(f,P){return P.atlas.texture},charStep:function(f,P){return P.atlas.step},em:function(f,P){return P.atlas.em},color:v.prop("color"),opacity:v.prop("opacity"),viewport:v.this("viewportArray"),scale:v.this("scale"),align:v.prop("align"),baseline:v.prop("baseline"),translate:v.this("translate"),positionOffset:v.prop("positionOffset")},primitive:"points",viewport:v.this("viewport"),vert:` - precision highp float; - attribute float width, charOffset, char; - attribute vec2 position; - uniform float fontSize, charStep, em, align, baseline; - uniform vec4 viewport; - uniform vec4 color; - uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset; - varying vec2 charCoord, charId; - varying float charWidth; - varying vec4 fontColor; - void main () { - vec2 offset = floor(em * (vec2(align + charOffset, baseline) - + vec2(positionOffset.x, -positionOffset.y))) - / (viewport.zw * scale.xy); - - vec2 position = (position + translate) * scale; - position += offset * scale; - - charCoord = position * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2. - 1., 0, 1); - - gl_PointSize = charStep; - - charId.x = mod(char, atlasDim.x); - charId.y = floor(char / atlasDim.x); - - charWidth = width * em; - - fontColor = color / 255.; - }`,frag:` - precision highp float; - uniform float fontSize, charStep, opacity; - uniform vec2 atlasSize; - uniform vec4 viewport; - uniform sampler2D atlas; - varying vec4 fontColor; - varying vec2 charCoord, charId; - varying float charWidth; - - float lightness(vec4 color) { - return color.r * 0.299 + color.g * 0.587 + color.b * 0.114; - } - - void main () { - vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5; - float halfCharStep = floor(charStep * .5 + .5); - - // invert y and shift by 1px (FF expecially needs that) - uv.y = charStep - uv.y; - - // ignore points outside of character bounding box - float halfCharWidth = ceil(charWidth * .5); - if (floor(uv.x) > halfCharStep + halfCharWidth || - floor(uv.x) < halfCharStep - halfCharWidth) return; - - uv += charId * charStep; - uv = uv / atlasSize; - - vec4 color = fontColor; - vec4 mask = texture2D(atlas, uv); - - float maskY = lightness(mask); - // float colorY = lightness(color); - color.a *= maskY; - color.a *= opacity; - - // color.a += .1; - - // antialiasing, see yiq color space y-channel formula - // color.rgb += (1. - color.rgb) * (1. - mask.rgb); - - gl_FragColor = color; - }`}),y={};return{regl:v,draw:u,atlas:y}},E.prototype.update=function(v){var u=this;if(typeof v=="string")v={text:v};else if(!v)return;v=x(v,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),v.opacity!=null&&(Array.isArray(v.opacity)?this.opacity=v.opacity.map(function(ue){return parseFloat(ue)}):this.opacity=parseFloat(v.opacity)),v.viewport!=null&&(this.viewport=n(v.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),v.kerning!=null&&(this.kerning=v.kerning),v.offset!=null&&(typeof v.offset=="number"&&(v.offset=[v.offset,0]),this.positionOffset=d(v.offset)),v.direction&&(this.direction=v.direction),v.range&&(this.range=v.range,this.scale=[1/(v.range[2]-v.range[0]),1/(v.range[3]-v.range[1])],this.translate=[-v.range[0],-v.range[1]]),v.scale&&(this.scale=v.scale),v.translate&&(this.translate=v.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!v.font&&(v.font=E.baseFontSize+"px sans-serif");var y=!1,f=!1;if(v.font&&(Array.isArray(v.font)?v.font:[v.font]).forEach(function(ue,Oe){if(typeof ue=="string")try{ue=g.parse(ue)}catch{ue=g.parse(E.baseFontSize+"px "+ue)}else{var rt=ue.style,ot=ue.weight,et=ue.stretch,Lt=ue.variant;ue=g.parse(g.stringify(ue)),rt&&(ue.style=rt),ot&&(ue.weight=ot),et&&(ue.stretch=et),Lt&&(ue.variant=Lt)}var Et=g.stringify({size:E.baseFontSize,family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style}),Bt=a(ue.size),qt=Math.round(Bt[0]*s(Bt[1]));if(qt!==u.fontSize[Oe]&&(f=!0,u.fontSize[Oe]=qt),(!u.font[Oe]||Et!=u.font[Oe].baseString)&&(y=!0,u.font[Oe]=E.fonts[Et],!u.font[Oe])){var fr=ue.family.join(", "),ar=[ue.style];ue.style!=ue.variant&&ar.push(ue.variant),ue.variant!=ue.weight&&ar.push(ue.weight),w&&ue.weight!=ue.stretch&&ar.push(ue.stretch),u.font[Oe]={baseString:Et,family:fr,weight:ue.weight,stretch:ue.stretch,style:ue.style,variant:ue.variant,width:{},kerning:{},metrics:p(fr,{origin:"top",fontSize:E.baseFontSize,fontStyle:ar.join(" ")})},E.fonts[Et]=u.font[Oe]}}),(y||f)&&this.font.forEach(function(ue,Oe){var rt=g.stringify({size:u.fontSize[Oe],family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style});if(u.fontAtlas[Oe]=u.shader.atlas[rt],!u.fontAtlas[Oe]){var ot=ue.metrics;u.shader.atlas[rt]=u.fontAtlas[Oe]={fontString:rt,step:Math.ceil(u.fontSize[Oe]*ot.bottom*.5)*2,em:u.fontSize[Oe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:u.regl.texture()}}v.text==null&&(v.text=u.text)}),typeof v.text=="string"&&v.position&&v.position.length>2){for(var P=Array(v.position.length*.5),L=0;L2){for(var B=!v.position[0].length,O=o.mallocFloat(this.count*2),I=0,N=0;I1?u.align[Oe]:u.align[0]:u.align;if(typeof rt=="number")return rt;switch(rt){case"right":case"end":return-ue;case"center":case"centre":case"middle":return-ue*.5}return 0})),this.baseline==null&&v.baseline==null&&(v.baseline=0),v.baseline!=null&&(this.baseline=v.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ue,Oe){var rt=(u.font[Oe]||u.font[0]).metrics,ot=0;return ot+=rt.bottom*.5,typeof ue=="number"?ot+=ue-rt.baseline:ot+=-rt[ue],ot*=-1,ot})),v.color!=null)if(v.color||(v.color="transparent"),typeof v.color=="string"||!isNaN(v.color))this.color=t(v.color,"uint8");else{var Ue;if(typeof v.color[0]=="number"&&v.color.length>this.counts.length){var Ie=v.color.length;Ue=o.mallocUint8(Ie);for(var Ye=(v.color.subarray||v.color.slice).bind(v.color),it=0;it4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(ut){var Me=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Me);for(var pe=0;pe1?this.counts[pe]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[pe]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(pe*4,pe*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[pe]:this.opacity,baseline:this.baselineOffset[pe]!=null?this.baselineOffset[pe]:this.baselineOffset[0],align:this.align?this.alignOffset[pe]!=null?this.alignOffset[pe]:this.alignOffset[0]:0,atlas:this.fontAtlas[pe]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(pe*2,pe*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},E.prototype.destroy=function(){},E.prototype.kerning=!0,E.prototype.position={constant:new Float32Array(2)},E.prototype.translate=null,E.prototype.scale=null,E.prototype.font=null,E.prototype.text="",E.prototype.positionOffset=[0,0],E.prototype.opacity=1,E.prototype.color=new Uint8Array([0,0,0,255]),E.prototype.alignOffset=[0,0],E.maxAtlasSize=1024,E.atlasCanvas=document.createElement("canvas"),E.atlasContext=E.atlasCanvas.getContext("2d",{alpha:!1}),E.baseFontSize=64,E.fonts={};function m(b){return typeof b=="function"&&b._gl&&b.prop&&b.texture&&b.buffer}H.exports=E}}),fb=ke({"src/lib/prepare_regl.js"(Z,H){"use strict";var g=iA(),x=WA();H.exports=function(S,e,t){var r=S._fullLayout,o=!0;return r._glcanvas.each(function(n){if(n.regl){n.regl.preloadCachedCode(t);return}if(!(n.pick&&!r._has("parcoords"))){try{n.regl=x({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:S._context.plotGlPixelRatio||window.devicePixelRatio,extensions:e||[],cachedCode:t||{}})}catch{o=!1}n.regl||(o=!1),o&&this.addEventListener("webglcontextlost",function(i){S&&S.emit&&S.emit("plotly_webglcontextlost",{event:i,layer:n.key})},!1)}}),o||g({container:r._glcontainer.node()}),o}}}),YA=ke({"src/traces/scattergl/plot.js"(c,H){"use strict";var g=SA(),x=BA(),A=BR(),S=QR(),e=un(),t=cv().selectMode,r=fb(),o=vu(),n=w2(),i=TA().styleTextSelection,a={};function s(h,p,d,T){var l=h._size,_=h.width*T,w=h.height*T,M=l.l*T,E=l.b*T,m=l.r*T,b=l.t*T,v=l.w*T,u=l.h*T;return[M+p.domain[0]*v,E+d.domain[0]*u,_-m-(1-p.domain[1])*v,w-b-(1-d.domain[1])*u]}var c=H.exports=function(p,d,T){if(T.length){var l=p._fullLayout,_=d._scene,w=d.xaxis,M=d.yaxis,E,m;if(_){var b=r(p,["ANGLE_instanced_arrays","OES_element_index_uint"],a);if(!b){_.init();return}var v=_.count,u=l._glcanvas.data()[0].regl;if(n(p,d,T),_.dirty){if((_.line2d||_.error2d)&&!(_.scatter2d||_.fill2d||_.glText)&&u.clear({}),_.error2d===!0&&(_.error2d=A(u)),_.line2d===!0&&(_.line2d=x(u)),_.scatter2d===!0&&(_.scatter2d=g(u)),_.fill2d===!0&&(_.fill2d=x(u)),_.glText===!0)for(_.glText=new Array(v),E=0;E_.glText.length){var y=v-_.glText.length;for(E=0;Eie&&(isNaN(ee[ce])||isNaN(ee[ce+1]));)ce-=2;j.positions=ee.slice(ie,ce+2)}return j}),_.line2d.update(_.lineOptions)),_.error2d){var L=(_.errorXOptions||[]).concat(_.errorYOptions||[]);_.error2d.update(L)}_.scatter2d&&_.scatter2d.update(_.markerOptions),_.fillOrder=e.repeat(null,v),_.fill2d&&(_.fillOptions=_.fillOptions.map(function(j,ee){var ie=T[ee];if(!(!j||!ie||!ie[0]||!ie[0].trace)){var ce=ie[0],xe=ce.trace,Te=ce.t,Ue=_.lineOptions[ee],Ie,Ye,it=[];xe._ownfill&&it.push(ee),xe._nexttrace&&it.push(ee+1),it.length&&(_.fillOrder[ee]=it);var at=[],tt=Ue&&Ue.positions||Te.positions,ut,Me;if(xe.fill==="tozeroy"){for(ut=0;utut&&isNaN(tt[Me+1]);)Me-=2;tt[ut+1]!==0&&(at=[tt[ut],0]),at=at.concat(tt.slice(ut,Me+2)),tt[Me+1]!==0&&(at=at.concat([tt[Me],0]))}else if(xe.fill==="tozerox"){for(ut=0;utut&&isNaN(tt[Me]);)Me-=2;tt[ut]!==0&&(at=[0,tt[ut+1]]),at=at.concat(tt.slice(ut,Me+2)),tt[Me]!==0&&(at=at.concat([0,tt[Me+1]]))}else if(xe.fill==="toself"||xe.fill==="tonext"){for(at=[],Ie=0,j.splitNull=!0,Ye=0;Ye-1;for(E=0;Ew&&d||_i,f;for(y?f=d.sizeAvg||Math.max(d.size,3):f=A(c,p),M=0;M<_.length;M++)w=_[M],E=h[w],m=x.getFromId(s,c._diag[w][0])||{},b=x.getFromId(s,c._diag[w][1])||{},S(s,c,m,b,T[M],T[M],f);var P=o(s,c);return P.matrix||(P.matrix=!0),P.matrixOptions=d,P.selectedOptions=t(s,c,c.selected),P.unselectedOptions=t(s,c,c.unselected),[{x:!1,y:!1,t:{},trace:c}]}}}),aD=ke({"node_modules/performance-now/lib/performance-now.js"(Z,H){(function(){var g,x,A,S,e,t;typeof performance<"u"&&performance!==null&&performance.now?H.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(H.exports=function(){return(g()-e)/1e6},x=process.hrtime,g=function(){var r;return r=x(),r[0]*1e9+r[1]},S=g(),t=process.uptime()*1e9,e=S-t):Date.now?(H.exports=function(){return Date.now()-A},A=Date.now()):(H.exports=function(){return new Date().getTime()-A},A=new Date().getTime())}).call(Z)}}),oD=ke({"node_modules/raf/index.js"(Z,H){var g=aD(),x=window,A=["moz","webkit"],S="AnimationFrame",e=x["request"+S],t=x["cancel"+S]||x["cancelRequest"+S];for(r=0;!e&&r{this.draw(),this.dirty=!0,this.planned=null})):(this.draw(),this.dirty=!0,S(()=>{this.dirty=!1})),this)},o.prototype.update=function(...s){if(!s.length)return;for(let p=0;pf||!d.lower&&y{c[T+_]=p})}this.scatter.draw(...c)}return this},o.prototype.destroy=function(){return this.traces.forEach(s=>{s.buffer&&s.buffer.destroy&&s.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this};function n(s,c,h){let p=s.id!=null?s.id:s,d=c,T=h;return p<<16|(d&255)<<8|T&255}function i(s,c,h){let p,d,T,l,_,w,M,E,m=s[c],b=s[h];return m.length>2?(p=m[0],T=m[2],d=m[1],l=m[3]):m.length?(p=d=m[0],T=l=m[1]):(p=m.x,d=m.y,T=m.x+m.width,l=m.y+m.height),b.length>2?(_=b[0],M=b[2],w=b[1],E=b[3]):b.length?(_=w=b[0],M=E=b[1]):(_=b.x,w=b.y,M=b.x+b.width,E=b.y+b.height),[_,d,M,l]}function a(s){if(typeof s=="number")return[s,s,s,s];if(s.length===2)return[s[0],s[1],s[0],s[1]];{let c=t(s);return[c.x,c.y,c.x+c.width,c.y+c.height]}}}}),uD=ke({"src/traces/splom/plot.js"(Z,H){"use strict";var g=lD(),x=un(),A=qc(),S=cv().selectMode;H.exports=function(r,o,n){if(n.length)for(var i=0;i-1,B=S(d)||!!i.selectedpoints||F,O=!0;if(B){var I=i._length;if(i.selectedpoints){s.selectBatch=i.selectedpoints;var N=i.selectedpoints,U={};for(_=0;_=W[Q][0]&&U<=W[Q][1])return!0;return!1}function c(U){U.attr("x",-g.bar.captureWidth/2).attr("width",g.bar.captureWidth)}function h(U){U.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function p(U){if(!U.brush.filterSpecified)return"0,"+U.height;for(var W=d(U.brush.filter.getConsolidated(),U.height),Q=[0],le,se,fe,G=W.length?W[0][0]:null,$=0;$U[1]+Q||W=.9*U[1]+.1*U[0]?"n":W<=.9*U[0]+.1*U[1]?"s":"ns"}function l(){x.select(document.body).style("cursor",null)}function _(U){U.attr("stroke-dasharray",p)}function w(U,W){var Q=x.select(U).selectAll(".highlight, .highlight-shadow"),le=W?Q.transition().duration(g.bar.snapDuration).each("end",W):Q;_(le)}function M(U,W){var Q=U.brush,le=Q.filterSpecified,se=NaN,fe={},G;if(le){var $=U.height,J=Q.filter.getConsolidated(),X=d(J,$),re=NaN,ae=NaN,j=NaN;for(G=0;G<=X.length;G++){var ee=X[G];if(ee&&ee[0]<=W&&W<=ee[1]){re=G;break}else if(ae=G?G-1:NaN,ee&&ee[0]>W){j=G;break}}if(se=re,isNaN(se)&&(isNaN(ae)||isNaN(j)?se=isNaN(ae)?j:ae:se=W-X[ae][1]=Ue[0]&&Te<=Ue[1]){fe.clickableOrdinalRange=Ue;break}}}return fe}function E(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.unitToPaddedPx.invert(Q),se=W.brush,fe=M(W,Q),G=fe.interval,$=se.svgBrush;if($.wasDragged=!1,$.grabbingBar=fe.region==="ns",$.grabbingBar){var J=G.map(W.unitToPaddedPx);$.grabPoint=Q-J[0]-g.verticalPadding,$.barLength=J[1]-J[0]}$.clickableOrdinalRange=fe.clickableOrdinalRange,$.stayingIntervals=W.multiselect&&se.filterSpecified?se.filter.getConsolidated():[],G&&($.stayingIntervals=$.stayingIntervals.filter(function(X){return X[0]!==G[0]&&X[1]!==G[1]})),$.startExtent=fe.region?G[fe.region==="s"?1:0]:le,W.parent.inBrushDrag=!0,$.brushStartCallback()}function m(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.brush.svgBrush;le.wasDragged=!0,le._dragging=!0,le.grabbingBar?le.newExtent=[Q-le.grabPoint,Q+le.barLength-le.grabPoint].map(W.unitToPaddedPx.invert):le.newExtent=[le.startExtent,W.unitToPaddedPx.invert(Q)].sort(e),W.brush.filterSpecified=!0,le.extent=le.stayingIntervals.concat([le.newExtent]),le.brushCallback(W),w(U.parentNode)}function b(U,W){var Q=W.brush,le=Q.filter,se=Q.svgBrush;se._dragging||(v(U,W),m(U,W),W.brush.svgBrush.wasDragged=!1),se._dragging=!1;var fe=x.event;fe.sourceEvent.stopPropagation();var G=se.grabbingBar;if(se.grabbingBar=!1,se.grabLocation=void 0,W.parent.inBrushDrag=!1,l(),!se.wasDragged){se.wasDragged=void 0,se.clickableOrdinalRange?Q.filterSpecified&&W.multiselect?se.extent.push(se.clickableOrdinalRange):(se.extent=[se.clickableOrdinalRange],Q.filterSpecified=!0):G?(se.extent=se.stayingIntervals,se.extent.length===0&&z(Q)):z(Q),se.brushCallback(W),w(U.parentNode),se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[]);return}var $=function(){le.set(le.getConsolidated())};if(W.ordinal){var J=W.unitTickvals;J[J.length-1]se.newExtent[0];se.extent=se.stayingIntervals.concat(X?[se.newExtent]:[]),se.extent.length||z(Q),se.brushCallback(W),X?w(U.parentNode,$):($(),w(U.parentNode))}else $();se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[])}function v(U,W){var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=M(W,Q),se="crosshair";le.clickableOrdinalRange?se="pointer":le.region&&(se=le.region+"-resize"),x.select(document.body).style("cursor",se)}function u(U){U.on("mousemove",function(W){x.event.preventDefault(),W.parent.inBrushDrag||v(this,W)}).on("mouseleave",function(W){W.parent.inBrushDrag||l()}).call(x.behavior.drag().on("dragstart",function(W){E(this,W)}).on("drag",function(W){m(this,W)}).on("dragend",function(W){b(this,W)}))}function y(U,W){return U[0]-W[0]}function f(U,W,Q){var le=Q._context.staticPlot,se=U.selectAll(".background").data(S);se.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",le?"none":"auto").attr("transform",t(0,g.verticalPadding)),se.call(u).attr("height",function($){return $.height-g.verticalPadding});var fe=U.selectAll(".highlight-shadow").data(S);fe.enter().append("line").classed("highlight-shadow",!0).attr("x",-g.bar.width/2).attr("stroke-width",g.bar.width+g.bar.strokeWidth).attr("stroke",W).attr("opacity",g.bar.strokeOpacity).attr("stroke-linecap","butt"),fe.attr("y1",function($){return $.height}).call(_);var G=U.selectAll(".highlight").data(S);G.enter().append("line").classed("highlight",!0).attr("x",-g.bar.width/2).attr("stroke-width",g.bar.width-g.bar.strokeWidth).attr("stroke",g.bar.fillColor).attr("opacity",g.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function($){return $.height}).call(_)}function P(U,W,Q){var le=U.selectAll("."+g.cn.axisBrush).data(S,A);le.enter().append("g").classed(g.cn.axisBrush,!0),f(le,W,Q)}function L(U){return U.svgBrush.extent.map(function(W){return W.slice()})}function z(U){U.filterSpecified=!1,U.svgBrush.extent=[[-1/0,1/0]]}function F(U){return function(Q){var le=Q.brush,se=L(le),fe=se.slice();le.filter.set(fe),U()}}function B(U){for(var W=U.slice(),Q=[],le,se=W.shift();se;){for(le=se.slice();(se=W.shift())&&se[0]<=le[1];)le[1]=Math.max(le[1],se[1]);Q.push(le)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function O(){var U=[],W,Q;return{set:function(le){U=le.map(function(se){return se.slice().sort(e)}).sort(y),U.length===1&&U[0][0]===-1/0&&U[0][1]===1/0&&(U=[[0,-1]]),W=B(U),Q=U.reduce(function(se,fe){return[Math.min(se[0],fe[0]),Math.max(se[1],fe[1])]},[1/0,-1/0])},get:function(){return U.slice()},getConsolidated:function(){return W},getBounds:function(){return Q}}}function I(U,W,Q,le,se,fe){var G=O();return G.set(Q),{filter:G,filterSpecified:W,svgBrush:{extent:[],brushStartCallback:le,brushCallback:F(se),brushEndCallback:fe}}}function N(U,W){if(Array.isArray(U[0])?(U=U.map(function(le){return le.sort(e)}),W.multiselect?U=B(U.sort(y)):U=[U[0]]):U=[U.sort(e)],W.tickvals){var Q=W.tickvals.slice().sort(e);if(U=U.map(function(le){var se=[a(0,Q,le[0],[]),a(1,Q,le[1],[])];if(se[1]>se[0])return se}).filter(function(le){return le}),!U.length)return}return U.length>1?U:U[0]}H.exports={makeBrush:I,ensureAxisBrush:P,cleanRanges:N}}}),gD=ke({"src/traces/parcoords/defaults.js"(Z,H){"use strict";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=Ho(),r=$A(),o=QA(),n=K0().maxDimensionCount,i=hb();function a(c,h,p,d,T){var l=T("line.color",p);if(x(c,"line")&&g.isArrayOrTypedArray(l)){if(l.length)return T("line.colorscale"),A(c,h,d,T,{prefix:"line.",cLetter:"c"}),l.length;h.line.color=p}return 1/0}function s(c,h,p,d){function T(E,m){return g.coerce(c,h,r.dimensions,E,m)}var l=T("values"),_=T("visible");if(l&&l.length||(_=h.visible=!1),_){T("label"),T("tickvals"),T("ticktext"),T("tickformat");var w=T("range");h._ax={_id:"y",type:"linear",showexponent:"all",exponentformat:"B",range:w},t.setConvert(h._ax,d.layout),T("multiselect");var M=T("constraintrange");M&&(h.constraintrange=o.cleanRanges(M,h))}}H.exports=function(h,p,d,T){function l(m,b){return g.coerce(h,p,r,m,b)}var _=h.dimensions;Array.isArray(_)&&_.length>n&&(g.log("parcoords traces support up to "+n+" dimensions at the moment"),_.splice(n));var w=e(h,p,{name:"dimensions",layout:T,handleItemDefaults:s}),M=a(h,p,d,T,l);S(p,T,l),(!Array.isArray(w)||!w.length)&&(p.visible=!1),i(p,w,"values",M);var E=g.extendFlat({},T.font,{size:Math.round(T.font.size/1.2)});g.coerceFont(l,"labelfont",E),g.coerceFont(l,"tickfont",E,{autoShadowDflt:!0}),g.coerceFont(l,"rangefont",E),l("labelangle"),l("labelside"),l("unselected.line.color"),l("unselected.line.opacity")}}}),yD=ke({"src/traces/parcoords/calc.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray,x=ku(),A=Dv().wrap;H.exports=function(t,r){var o,n;return x.hasColorscale(r,"line")&&g(r.line.color)?(o=r.line.color,n=x.extractOpts(r.line).colorscale,x.calc(t,r,{vals:o,containerStr:"line",cLetter:"c"})):(o=S(r._length),n=[[0,r.line.color],[1,r.line.color]]),A({lineColor:o,cscale:n})};function S(e){for(var t=new Array(e),r=0;r>>16,(Z&65280)>>>8,Z&255],alpha:1};if(typeof Z=="number")return{space:"rgb",values:[Z>>>16,(Z&65280)>>>8,Z&255],alpha:1};if(Z=String(Z).toLowerCase(),db.default[Z])A=db.default[Z].slice(),e="rgb";else if(Z==="transparent")S=0,e="rgb",A=[0,0,0];else if(Z[0]==="#"){var t=Z.slice(1),r=t.length,o=r<=4;S=1,o?(A=[parseInt(t[0]+t[0],16),parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16)],r===4&&(S=parseInt(t[3]+t[3],16)/255)):(A=[parseInt(t[0]+t[1],16),parseInt(t[2]+t[3],16),parseInt(t[4]+t[5],16)],r===8&&(S=parseInt(t[6]+t[7],16)/255)),A[0]||(A[0]=0),A[1]||(A[1]=0),A[2]||(A[2]=0),e="rgb"}else if(x=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(Z)){var n=x[1];e=n.replace(/a$/,"");var i=e==="cmyk"?4:e==="gray"?1:3;A=x[2].trim().split(/\s*[,\/]\s*|\s+/),e==="color"&&(e=A.shift()),A=A.map(function(a,s){if(a[a.length-1]==="%")return a=parseFloat(a)/100,s===3?a:e==="rgb"?a*255:e[0]==="h"||e[0]==="l"&&!s?a*100:e==="lab"?a*125:e==="lch"?s<2?a*150:a*360:e[0]==="o"&&!s?a:e==="oklab"?a*.4:e==="oklch"?s<2?a*.4:a*360:a;if(e[s]==="h"||s===2&&e[e.length-1]==="h"){if(vb[a]!==void 0)return vb[a];if(a.endsWith("deg"))return parseFloat(a);if(a.endsWith("turn"))return parseFloat(a)*360;if(a.endsWith("grad"))return parseFloat(a)*360/400;if(a.endsWith("rad"))return parseFloat(a)*180/Math.PI}return a==="none"?0:parseFloat(a)}),S=A.length>i?A.pop():1}else/[0-9](?:\s|\/|,)/.test(Z)&&(A=Z.match(/([0-9]+)/g).map(function(a){return parseFloat(a)}),e=((g=(H=Z.match(/([a-z])/ig))==null?void 0:H.join(""))==null?void 0:g.toLowerCase())||"rgb");return{space:e,values:A,alpha:S}}var db,eM,vb,xD=Er({"node_modules/color-parse/index.js"(){db=Ei(tA(),1),eM=_D,vb={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}}),J0,tM=Er({"node_modules/color-space/rgb.js"(){J0={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}}}),$0,bD=Er({"node_modules/color-space/hsl.js"(){tM(),$0={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(Z){var H=Z[0]/360,g=Z[1]/100,x=Z[2]/100,A,S,e,t,r,o=0;if(g===0)return r=x*255,[r,r,r];for(S=x<.5?x*(1+g):x+g-x*g,A=2*x-S,t=[0,0,0];o<3;)e=H+1/3*-(o-1),e<0?e++:e>1&&e--,r=6*e<1?A+(S-A)*6*e:2*e<1?S:3*e<2?A+(S-A)*(2/3-e)*6:A,t[o++]=r*255;return t}},J0.hsl=function(Z){var H=Z[0]/255,g=Z[1]/255,x=Z[2]/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=S-A,t,r,o;return S===A?t=0:H===S?t=(g-x)/e:g===S?t=2+(x-H)/e:x===S&&(t=4+(H-g)/e),t=Math.min(t*60,360),t<0&&(t+=360),o=(A+S)/2,S===A?r=0:o<=.5?r=e/(S+A):r=e/(2-S-A),[t,r*100,o*100]}}}),rM={};Pn(rM,{default:()=>wD});function wD(Z){Array.isArray(Z)&&Z.raw&&(Z=String.raw(...arguments)),Z instanceof Number&&(Z=+Z);var H,g,x,A=eM(Z);if(!A.space)return[];let S=A.space[0]==="h"?$0.min:J0.min,e=A.space[0]==="h"?$0.max:J0.max;return H=Array(3),H[0]=Math.min(Math.max(A.values[0],S[0]),e[0]),H[1]=Math.min(Math.max(A.values[1],S[1]),e[1]),H[2]=Math.min(Math.max(A.values[2],S[2]),e[2]),A.space[0]==="h"&&(H=$0.rgb(H)),H.push(Math.min(Math.max(A.alpha,0),1)),H}var TD=Er({"node_modules/color-rgba/index.js"(){xD(),tM(),bD()}}),nM=ke({"src/traces/parcoords/helpers.js"(Z){"use strict";var H=un().isTypedArray;Z.convertTypedArray=function(g){return H(g)?Array.prototype.slice.call(g):g},Z.isOrdinal=function(g){return!!g.tickvals},Z.isVisible=function(g){return g.visible||!("visible"in g)}}}),AD=ke({"src/traces/parcoords/lines.js"(Z,H){"use strict";var g=["precision highp float;","","varying vec4 fragColor;","","attribute vec4 p01_04, p05_08, p09_12, p13_16,"," p17_20, p21_24, p25_28, p29_32,"," p33_36, p37_40, p41_44, p45_48,"," p49_52, p53_56, p57_60, colors;","","uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,"," loA, hiA, loB, hiB, loC, hiC, loD, hiD;","","uniform vec2 resolution, viewBoxPos, viewBoxSize;","uniform float maskHeight;","uniform float drwLayer; // 0: context, 1: focus, 2: pick","uniform vec4 contextColor;","uniform sampler2D maskTexture, palette;","","bool isPick = (drwLayer > 1.5);","bool isContext = (drwLayer < 0.5);","","const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);","const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);","","float val(mat4 p, mat4 v) {"," return dot(matrixCompMult(p, v) * UNITS, UNITS);","}","","float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {"," float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);"," float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);"," return y1 * (1.0 - ratio) + y2 * ratio;","}","","int iMod(int a, int b) {"," return a - b * (a / b);","}","","bool fOutside(float p, float lo, float hi) {"," return (lo < hi) && (lo > p || p > hi);","}","","bool vOutside(vec4 p, vec4 lo, vec4 hi) {"," return ("," fOutside(p[0], lo[0], hi[0]) ||"," fOutside(p[1], lo[1], hi[1]) ||"," fOutside(p[2], lo[2], hi[2]) ||"," fOutside(p[3], lo[3], hi[3])"," );","}","","bool mOutside(mat4 p, mat4 lo, mat4 hi) {"," return ("," vOutside(p[0], lo[0], hi[0]) ||"," vOutside(p[1], lo[1], hi[1]) ||"," vOutside(p[2], lo[2], hi[2]) ||"," vOutside(p[3], lo[3], hi[3])"," );","}","","bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {"," return mOutside(A, loA, hiA) ||"," mOutside(B, loB, hiB) ||"," mOutside(C, loC, hiC) ||"," mOutside(D, loD, hiD);","}","","bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {"," mat4 pnts[4];"," pnts[0] = A;"," pnts[1] = B;"," pnts[2] = C;"," pnts[3] = D;",""," for(int i = 0; i < 4; ++i) {"," for(int j = 0; j < 4; ++j) {"," for(int k = 0; k < 4; ++k) {"," if(0 == iMod("," int(255.0 * texture2D(maskTexture,"," vec2("," (float(i * 2 + j / 2) + 0.5) / 8.0,"," (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight"," ))[3]"," ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),"," 2"," )) return true;"," }"," }"," }"," return false;","}","","vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {"," float x = 0.5 * sign(v) + 0.5;"," float y = axisY(x, A, B, C, D);"," float z = 1.0 - abs(v);",""," z += isContext ? 0.0 : 2.0 * float("," outsideBoundingBox(A, B, C, D) ||"," outsideRasterMask(A, B, C, D)"," );",""," return vec4("," 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,"," z,"," 1.0"," );","}","","void main() {"," mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);"," mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);"," mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);"," mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);",""," float v = colors[3];",""," gl_Position = position(isContext, v, A, B, C, D);",""," fragColor ="," isContext ? vec4(contextColor) :"," isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));","}"].join(` -`),x=["precision highp float;","","varying vec4 fragColor;","","void main() {"," gl_FragColor = fragColor;","}"].join(` -`),A=K0().maxDimensionCount,S=un(),e=1e-6,t=2048,r=new Uint8Array(4),o=new Uint8Array(4),n={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function i(b){b.read({x:0,y:0,width:1,height:1,data:r})}function a(b,v,u,y,f){var P=b._gl;P.enable(P.SCISSOR_TEST),P.scissor(v,u,y,f),b.clear({color:[0,0,0,0],depth:1})}function s(b,v,u,y,f,P){var L=P.key;function z(F){var B=Math.min(y,f-F*y);F===0&&(window.cancelAnimationFrame(u.currentRafs[L]),delete u.currentRafs[L],a(b,P.scissorX,P.scissorY,P.scissorWidth,P.viewBoxSize[1])),!u.clearOnly&&(P.count=2*B,P.offset=2*F*y,v(P),F*y+B>>8*v)%256/255}function d(b,v,u){for(var y=new Array(b*(A+4)),f=0,P=0;PIe&&(Ie=ae[ce].dim1.canvasX,Te=ce);ie===0&&a(f,0,0,B.canvasWidth,B.canvasHeight);var Ye=G(u);for(ce=0;cece._length&&(ut=ut.slice(0,ce._length));var Me=ce.tickvals,pe;function ue(Lt,Et){return{val:Lt,text:pe[Et]}}function Oe(Lt,Et){return Lt.val-Et.val}if(A(Me)&&Me.length){x.isTypedArray(Me)&&(Me=Array.from(Me)),pe=ce.ticktext,!A(pe)||!pe.length?pe=Me.map(S(ce.tickformat)):pe.length>Me.length?pe=pe.slice(0,Me.length):Me.length>pe.length&&(Me=Me.slice(0,pe.length));for(var rt=1;rt=Et||ar>=Bt)return;var Rr=et.lineLayer.readPixel(fr,Bt-1-ar),gr=Rr[3]!==0,br=gr?Rr[2]+256*(Rr[1]+256*Rr[0]):null,_t={x:fr,y:ar,clientX:Lt.clientX,clientY:Lt.clientY,dataIndex:et.model.key,curveNumber:br};br!==Te&&(gr?$.hover(_t):$.unhover&&$.unhover(_t),Te=br)}}),xe.style("opacity",function(et){return et.pick?0:1}),re.style("background","rgba(255, 255, 255, 0)");var Ie=re.selectAll("."+T.cn.parcoords).data(ce,c);Ie.exit().remove(),Ie.enter().append("g").classed(T.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),Ie.attr("transform",function(et){return o(et.model.translateX,et.model.translateY)});var Ye=Ie.selectAll("."+T.cn.parcoordsControlView).data(h,c);Ye.enter().append("g").classed(T.cn.parcoordsControlView,!0),Ye.attr("transform",function(et){return o(et.model.pad.l,et.model.pad.t)});var it=Ye.selectAll("."+T.cn.yAxis).data(function(et){return et.dimensions},c);it.enter().append("g").classed(T.cn.yAxis,!0),Ye.each(function(et){N(it,et,j)}),xe.each(function(et){if(et.viewModel){!et.lineLayer||$?et.lineLayer=_(this,et):et.lineLayer.update(et),(et.key||et.key===0)&&(et.viewModel[et.key]=et.lineLayer);var Lt=!et.context||$;et.lineLayer.render(et.viewModel.panels,Lt)}}),it.attr("transform",function(et){return o(et.xScale(et.xIndex),0)}),it.call(g.behavior.drag().origin(function(et){return et}).on("drag",function(et){var Lt=et.parent;ie.linePickActive(!1),et.x=Math.max(-T.overdrag,Math.min(et.model.width+T.overdrag,g.event.x)),et.canvasX=et.x*et.model.canvasPixelRatio,it.sort(function(Et,Bt){return Et.x-Bt.x}).each(function(Et,Bt){Et.xIndex=Bt,Et.x=et===Et?Et.x:Et.xScale(Et.xIndex),Et.canvasX=Et.x*Et.model.canvasPixelRatio}),N(it,Lt,j),it.filter(function(Et){return Math.abs(et.xIndex-Et.xIndex)!==0}).attr("transform",function(Et){return o(Et.xScale(Et.xIndex),0)}),g.select(this).attr("transform",o(et.x,0)),it.each(function(Et,Bt,qt){qt===et.parent.key&&(Lt.dimensions[Bt]=Et)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer.render&&Lt.focusLayer.render(Lt.panels)}).on("dragend",function(et){var Lt=et.parent;et.x=et.xScale(et.xIndex),et.canvasX=et.x*et.model.canvasPixelRatio,N(it,Lt,j),g.select(this).attr("transform",function(Et){return o(Et.x,0)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer&&Lt.focusLayer.render(Lt.panels),Lt.pickLayer&&Lt.pickLayer.render(Lt.panels,!0),ie.linePickActive(!0),$&&$.axesMoved&&$.axesMoved(Lt.key,Lt.dimensions.map(function(Et){return Et.crossfilterDimensionIndex}))})),it.exit().remove();var at=it.selectAll("."+T.cn.axisOverlays).data(h,c);at.enter().append("g").classed(T.cn.axisOverlays,!0),at.selectAll("."+T.cn.axis).remove();var tt=at.selectAll("."+T.cn.axis).data(h,c);tt.enter().append("g").classed(T.cn.axis,!0),tt.each(function(et){var Lt=et.model.height/et.model.tickDistance,Et=et.domainScale,Bt=Et.domain();g.select(this).call(g.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Lt,et.tickFormat).tickValues(et.ordinal?Bt:null).tickFormat(function(qt){return d.isOrdinal(et)?qt:W(et.model.dimensions[et.visibleIndex],qt)}).scale(Et)),i.font(tt.selectAll("text"),et.model.tickFont)}),tt.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),tt.selectAll("text").style("cursor","default");var ut=at.selectAll("."+T.cn.axisHeading).data(h,c);ut.enter().append("g").classed(T.cn.axisHeading,!0);var Me=ut.selectAll("."+T.cn.axisTitle).data(h,c);Me.enter().append("text").classed(T.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",J?"none":"auto"),Me.text(function(et){return et.label}).each(function(et){var Lt=g.select(this);i.font(Lt,et.model.labelFont),n.convertToTspans(Lt,se)}).attr("transform",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=T.axisTitleOffset;return(Lt.dir>0?"":o(0,2*Et+et.model.height))+r(Lt.degrees)+o(-Et*Lt.dx,-Et*Lt.dy)}).attr("text-anchor",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=Math.abs(Lt.dx),Bt=Math.abs(Lt.dy);return 2*Et>Bt?Lt.dir*Lt.dx<0?"start":"end":"middle"});var pe=at.selectAll("."+T.cn.axisExtent).data(h,c);pe.enter().append("g").classed(T.cn.axisExtent,!0);var ue=pe.selectAll("."+T.cn.axisExtentTop).data(h,c);ue.enter().append("g").classed(T.cn.axisExtentTop,!0),ue.attr("transform",o(0,-T.axisExtentOffset));var Oe=ue.selectAll("."+T.cn.axisExtentTopText).data(h,c);Oe.enter().append("text").classed(T.cn.axisExtentTopText,!0).call(B),Oe.text(function(et){return Q(et,!0)}).each(function(et){i.font(g.select(this),et.model.rangeFont)});var rt=pe.selectAll("."+T.cn.axisExtentBottom).data(h,c);rt.enter().append("g").classed(T.cn.axisExtentBottom,!0),rt.attr("transform",function(et){return o(0,et.model.height+T.axisExtentOffset)});var ot=rt.selectAll("."+T.cn.axisExtentBottomText).data(h,c);ot.enter().append("text").classed(T.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(B),ot.text(function(et){return Q(et,!1)}).each(function(et){i.font(g.select(this),et.model.rangeFont)}),l.ensureAxisBrush(at,ee,se)}}}),iM=ke({"src/traces/parcoords/plot.js"(r,H){"use strict";var g=MD(),x=fb(),A=nM().isVisible,S={};function e(o,n,i){var a=n.indexOf(i),s=o.indexOf(a);return s===-1&&(s+=n.length),s}function t(o,n){return function(a,s){return e(o,n,a)-e(o,n,s)}}var r=H.exports=function(n,i){var a=n._fullLayout,s=x(n,[],S);if(s){var c={},h={},p={},d={},T=a._size;i.forEach(function(E,m){var b=E[0].trace;p[m]=b.index;var v=d[m]=b.index;c[m]=n.data[v].dimensions,h[m]=n.data[v].dimensions.slice()});var l=function(E,m,b){var v=h[E][m],u=b.map(function(F){return F.slice()}),y="dimensions["+m+"].constraintrange",f=a._tracePreGUI[n._fullData[p[E]]._fullInput.uid];if(f[y]===void 0){var P=v.constraintrange;f[y]=P||null}var L=n._fullData[p[E]].dimensions[m];u.length?(u.length===1&&(u=u[0]),v.constraintrange=u,L.constraintrange=u.slice(),u=[u]):(delete v.constraintrange,delete L.constraintrange,u=null);var z={};z[y]=u,n.emit("plotly_restyle",[z,[d[E]]])},_=function(E){n.emit("plotly_hover",E)},w=function(E){n.emit("plotly_unhover",E)},M=function(E,m){var b=t(m,h[E].filter(A));c[E].sort(b),h[E].filter(function(v){return!A(v)}).sort(function(v){return h[E].indexOf(v)}).forEach(function(v){c[E].splice(c[E].indexOf(v),1),c[E].splice(h[E].indexOf(v),0,v)}),n.emit("plotly_restyle",[{dimensions:[c[E]]},[d[E]]])};g(n,i,{width:T.w,height:T.h,margin:{t:T.t,r:T.r,b:T.b,l:T.l}},{filterChanged:l,hover:_,unhover:w,axesMoved:M})}};r.reglPrecompiled=S}}),SD=ke({"src/traces/parcoords/base_plot.js"(Z){"use strict";var H=_i(),g=bh().getModuleCalcData,x=iM(),A=zd();Z.name="parcoords",Z.plot=function(S){var e=g(S.calcdata,"parcoords")[0];e.length&&x(S,e)},Z.clean=function(S,e,t,r){var o=r._has&&r._has("parcoords"),n=e._has&&e._has("parcoords");o&&!n&&(r._paperdiv.selectAll(".parcoords").remove(),r._glimages.selectAll("*").remove())},Z.toSVG=function(S){var e=S._fullLayout._glimages,t=H.select(S).selectAll(".svg-container"),r=t.filter(function(n,i){return i===t.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus");function o(){var n=this,i=n.toDataURL("image/png"),a=e.append("svg:image");a.attr({xmlns:A.svg,"xlink:href":i,preserveAspectRatio:"none",x:0,y:0,width:n.style.width,height:n.style.height})}r.each(o),window.setTimeout(function(){H.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}}}),ED=ke({"src/traces/parcoords/base_index.js"(Z,H){"use strict";H.exports={attributes:$A(),supplyDefaults:gD(),calc:yD(),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:SD(),categories:["gl","regl","noOpacity","noHover"],meta:{}}}}),CD=ke({"src/traces/parcoords/index.js"(Z,H){"use strict";var g=ED();g.plot=iM(),H.exports=g}}),kD=ke({"lib/parcoords.js"(Z,H){"use strict";H.exports=CD()}}),aM=ke({"src/traces/parcats/attributes.js"(Z,H){"use strict";var g=To().extendFlat,x=Ol(),A=Il(),S=ou(),e=Rs().hovertemplateAttrs,t=Yu().attributes,r=g({editType:"calc"},S("line",{editTypeOverride:"calc"}),{shape:{valType:"enumerated",values:["linear","hspline"],dflt:"linear",editType:"plot"},hovertemplate:e({editType:"plot",arrayOk:!1},{keys:["count","probability"]})});H.exports={domain:t({name:"parcats",trace:!0,editType:"calc"}),hoverinfo:g({},x.hoverinfo,{flags:["count","probability"],editType:"plot",arrayOk:!1}),hoveron:{valType:"enumerated",values:["category","color","dimension"],dflt:"category",editType:"plot"},hovertemplate:e({editType:"plot",arrayOk:!1},{keys:["count","probability","category","categorycount","colorcount","bandcolorcount"]}),arrangement:{valType:"enumerated",values:["perpendicular","freeform","fixed"],dflt:"perpendicular",editType:"plot"},bundlecolors:{valType:"boolean",dflt:!0,editType:"plot"},sortpaths:{valType:"enumerated",values:["forward","backward"],dflt:"forward",editType:"plot"},labelfont:A({editType:"calc"}),tickfont:A({autoShadowDflt:!0,editType:"calc"}),dimensions:{_isLinkedToArray:"dimension",label:{valType:"string",editType:"calc"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},values:{valType:"data_array",dflt:[],editType:"calc"},displayindex:{valType:"integer",editType:"calc"},editType:"calc",visible:{valType:"boolean",dflt:!0,editType:"calc"}},line:r,counts:{valType:"number",min:0,dflt:1,arrayOk:!0,editType:"calc"},customdata:void 0,hoverlabel:void 0,ids:void 0,legend:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}}}),LD=ke({"src/traces/parcats/defaults.js"(Z,H){"use strict";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=aM(),r=hb(),o=Oa().isTypedArraySpec;function n(a,s,c,h,p){p("line.shape"),p("line.hovertemplate");var d=p("line.color",h.colorway[0]);if(x(a,"line")&&g.isArrayOrTypedArray(d)){if(d.length)return p("line.colorscale"),A(a,s,h,p,{prefix:"line.",cLetter:"c"}),d.length;s.line.color=c}return 1/0}function i(a,s){function c(w,M){return g.coerce(a,s,t.dimensions,w,M)}var h=c("values"),p=c("visible");if(h&&h.length||(p=s.visible=!1),p){c("label"),c("displayindex",s._index);var d=a.categoryarray,T=g.isArrayOrTypedArray(d)&&d.length>0||o(d),l;T&&(l="array");var _=c("categoryorder",l);_==="array"?(c("categoryarray"),c("ticktext")):(delete a.categoryarray,delete a.ticktext),!T&&_==="array"&&(s.categoryorder="trace")}}H.exports=function(s,c,h,p){function d(w,M){return g.coerce(s,c,t,w,M)}var T=e(s,c,{name:"dimensions",handleItemDefaults:i}),l=n(s,c,h,p,d);S(c,p,d),(!Array.isArray(T)||!T.length)&&(c.visible=!1),r(c,T,"values",l),d("hoveron"),d("hovertemplate"),d("arrangement"),d("bundlecolors"),d("sortpaths"),d("counts");var _=p.font;g.coerceFont(d,"labelfont",_,{overrideDflt:{size:Math.round(_.size)}}),g.coerceFont(d,"tickfont",_,{autoShadowDflt:!0,overrideDflt:{size:Math.round(_.size/1.2)}})}}}),PD=ke({"src/traces/parcats/calc.js"(Z,H){"use strict";var g=Dv().wrap,x=ad().hasColorscale,A=od(),S=Vw(),e=$o(),t=un(),r=Yn();H.exports=function(_,w){var M=t.filterVisible(w.dimensions);if(M.length===0)return[];var E=M.map(function(G){var $;if(G.categoryorder==="trace")$=null;else if(G.categoryorder==="array")$=G.categoryarray;else{$=S(G.values);for(var J=!0,X=0;X<$.length;X++)if(!r($[X])){J=!1;break}$.sort(J?t.sorterAsc:void 0),G.categoryorder==="category descending"&&($=$.reverse())}return h(G.values,$)}),m,b,v;t.isArrayOrTypedArray(w.counts)?m=w.counts:m=[w.counts],p(M),M.forEach(function(G,$){d(G,E[$])});var u=w.line,y;u?(x(w,"line")&&A(_,w,{vals:w.line.color,containerStr:"line",cLetter:"c"}),y=e.tryColorscale(u)):y=t.identity;function f(G){var $,J;return t.isArrayOrTypedArray(u.color)?($=u.color[G%u.color.length],J=$):$=u.color,{color:y($),rawColor:J}}var P=M[0].values.length,L={},z=E.map(function(G){return G.inds});v=0;var F,B;for(F=0;F=l.length||_[l[w]]!==void 0)return!1;_[l[w]]=!0}return!0}}}),ID=ke({"src/traces/parcats/parcats.js"(Z,H){"use strict";var g=_i(),x=(Ym(),hi(Xp)).interpolateNumber,A=__(),S=Ec(),e=un(),t=e.strTranslate,r=$o(),o=ru(),n=Wl();function i(X,re,ae,j){var ee=re._context.staticPlot,ie=X.map(se.bind(0,re,ae)),ce=j.selectAll("g.parcatslayer").data([null]);ce.enter().append("g").attr("class","parcatslayer").style("pointer-events",ee?"none":"all");var xe=ce.selectAll("g.trace.parcats").data(ie,a),Te=xe.enter().append("g").attr("class","trace parcats");xe.attr("transform",function(ue){return t(ue.x,ue.y)}),Te.append("g").attr("class","paths");var Ue=xe.select("g.paths"),Ie=Ue.selectAll("path.path").data(function(ue){return ue.paths},a);Ie.attr("fill",function(ue){return ue.model.color});var Ye=Ie.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(ue){return ue.model.color}).attr("fill-opacity",0);_(Ye),Ie.attr("d",function(ue){return ue.svgD}),Ye.empty()||Ie.sort(c),Ie.exit().remove(),Ie.on("mouseover",h).on("mouseout",p).on("click",l),Te.append("g").attr("class","dimensions");var it=xe.select("g.dimensions"),at=it.selectAll("g.dimension").data(function(ue){return ue.dimensions},a);at.enter().append("g").attr("class","dimension"),at.attr("transform",function(ue){return t(ue.x,0)}),at.exit().remove();var tt=at.selectAll("g.category").data(function(ue){return ue.categories},a),ut=tt.enter().append("g").attr("class","category");tt.attr("transform",function(ue){return t(0,ue.y)}),ut.append("rect").attr("class","catrect").attr("pointer-events","none"),tt.select("rect.catrect").attr("fill","none").attr("width",function(ue){return ue.width}).attr("height",function(ue){return ue.height}),E(ut);var Me=tt.selectAll("rect.bandrect").data(function(ue){return ue.bands},a);Me.each(function(){e.raiseToTop(this)}),Me.attr("fill",function(ue){return ue.color});var pe=Me.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(ue){return ue.color}).attr("fill-opacity",0);Me.attr("fill",function(ue){return ue.color}).attr("width",function(ue){return ue.width}).attr("height",function(ue){return ue.height}).attr("y",function(ue){return ue.y}).attr("cursor",function(ue){return ue.parcatsViewModel.arrangement==="fixed"?"default":ue.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),b(pe),Me.exit().remove(),ut.append("text").attr("class","catlabel").attr("pointer-events","none"),tt.select("text.catlabel").attr("text-anchor",function(ue){return s(ue)?"start":"end"}).attr("alignment-baseline","middle").style("fill","rgb(0, 0, 0)").attr("x",function(ue){return s(ue)?ue.width+5:-5}).attr("y",function(ue){return ue.height/2}).text(function(ue){return ue.model.categoryLabel}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.categorylabelfont),n.convertToTspans(g.select(this),re)}),ut.append("text").attr("class","dimlabel"),tt.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(ue){return ue.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(ue){return ue.width/2}).attr("y",-5).text(function(ue,Oe){return Oe===0?ue.parcatsViewModel.model.dimensions[ue.model.dimensionInd].dimensionLabel:null}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.labelfont)}),tt.selectAll("rect.bandrect").on("mouseover",B).on("mouseout",O),tt.exit().remove(),at.call(g.behavior.drag().origin(function(ue){return{x:ue.x,y:0}}).on("dragstart",I).on("drag",N).on("dragend",U)),xe.each(function(ue){ue.traceSelection=g.select(this),ue.pathSelection=g.select(this).selectAll("g.paths").selectAll("path.path"),ue.dimensionSelection=g.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),xe.exit().remove()}H.exports=function(X,re,ae,j){i(ae,X,j,re)};function a(X){return X.key}function s(X){var re=X.parcatsViewModel.dimensions.length,ae=X.parcatsViewModel.dimensions[re-1].model.dimensionInd;return X.model.dimensionInd===ae}function c(X,re){return X.model.rawColor>re.model.rawColor?1:X.model.rawColor"),et=g.mouse(ee)[0];S.loneHover({trace:ie,x:tt-xe.left+Te.left,y:ut-xe.top+Te.top,text:ot,color:X.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:et1&&Ue.displayInd===Te.dimensions.length-1?(it=ce.left,at="left"):(it=ce.left+ce.width,at="right");var tt=xe.model.count,ut=xe.model.categoryLabel,Me=tt/xe.parcatsViewModel.model.count,pe={countLabel:tt,categoryLabel:ut,probabilityLabel:Me.toFixed(3)},ue=[];xe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&ue.push(["Count:",pe.countLabel].join(" ")),xe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&ue.push(["P("+pe.categoryLabel+"):",pe.probabilityLabel].join(" "));var Oe=ue.join("
");return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Oe,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:pe,eventData:[{data:Ie._input,fullData:Ie,count:tt,category:ut,probability:Me}]}}function z(X,re,ae){var j=[];return g.select(ae.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){var ee=this;j.push(L(X,re,ee))}),j}function F(X,re,ae){X._fullLayout._calcInverseTransform(X);var j=X._fullLayout._invScaleX,ee=X._fullLayout._invScaleY,ie=ae.getBoundingClientRect(),ce=g.select(ae).datum(),xe=ce.categoryViewModel,Te=xe.parcatsViewModel,Ue=Te.model.dimensions[xe.model.dimensionInd],Ie=Te.trace,Ye=ie.y+ie.height/2,it,at;Te.dimensions.length>1&&Ue.displayInd===Te.dimensions.length-1?(it=ie.left,at="left"):(it=ie.left+ie.width,at="right");var tt=xe.model.categoryLabel,ut=ce.parcatsViewModel.model.count,Me=0;ce.categoryViewModel.bands.forEach(function(qt){qt.color===ce.color&&(Me+=qt.count)});var pe=xe.model.count,ue=0;Te.pathSelection.each(function(qt){qt.model.color===ce.color&&(ue+=qt.model.count)});var Oe=Me/ut,rt=Me/ue,ot=Me/pe,et={countLabel:Me,categoryLabel:tt,probabilityLabel:Oe.toFixed(3)},Lt=[];xe.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Lt.push(["Count:",et.countLabel].join(" ")),xe.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Lt.push("P(color \u2229 "+tt+"): "+et.probabilityLabel),Lt.push("P("+tt+" | color): "+rt.toFixed(3)),Lt.push("P(color | "+tt+"): "+ot.toFixed(3)));var Et=Lt.join("
"),Bt=o.mostReadable(ce.color,["black","white"]);return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Et,color:ce.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Bt,fontSize:10,idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:et,eventData:[{data:Ie._input,fullData:Ie,category:tt,count:ut,probability:Oe,categorycount:pe,colorcount:ue,bandcolorcount:Me}]}}function B(X){if(!X.parcatsViewModel.dragDimension&&X.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){var re=g.mouse(this)[1];if(re<-1)return;var ae=X.parcatsViewModel.graphDiv,j=ae._fullLayout,ee=j._paperdiv.node().getBoundingClientRect(),ie=X.parcatsViewModel.hoveron,ce=this;if(ie==="color"?(y(ce),P(ce,"plotly_hover",g.event)):(u(ce),f(ce,"plotly_hover",g.event)),X.parcatsViewModel.hoverinfoItems.indexOf("none")===-1){var xe;ie==="category"?xe=L(ae,ee,ce):ie==="color"?xe=F(ae,ee,ce):ie==="dimension"&&(xe=z(ae,ee,ce)),xe&&S.loneHover(xe,{container:j._hoverlayer.node(),outerContainer:j._paper.node(),gd:ae})}}}function O(X){var re=X.parcatsViewModel;if(!re.dragDimension&&(_(re.pathSelection),E(re.dimensionSelection.selectAll("g.category")),b(re.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),S.loneUnhover(re.graphDiv._fullLayout._hoverlayer.node()),re.pathSelection.sort(c),re.hoverinfoItems.indexOf("skip")===-1)){var ae=X.parcatsViewModel.hoveron,j=this;ae==="color"?P(j,"plotly_unhover",g.event):f(j,"plotly_unhover",g.event)}}function I(X){X.parcatsViewModel.arrangement!=="fixed"&&(X.dragDimensionDisplayInd=X.model.displayInd,X.initialDragDimensionDisplayInds=X.parcatsViewModel.model.dimensions.map(function(re){return re.displayInd}),X.dragHasMoved=!1,X.dragCategoryDisplayInd=null,g.select(this).selectAll("g.category").select("rect.catrect").each(function(re){var ae=g.mouse(this)[0],j=g.mouse(this)[1];-2<=ae&&ae<=re.width+2&&-2<=j&&j<=re.height+2&&(X.dragCategoryDisplayInd=re.model.displayInd,X.initialDragCategoryDisplayInds=X.model.categories.map(function(ee){return ee.displayInd}),re.model.dragY=re.y,e.raiseToTop(this.parentNode),g.select(this.parentNode).selectAll("rect.bandrect").each(function(ee){ee.yIe.y+Ie.height/2&&(ie.model.displayInd=Ie.model.displayInd,Ie.model.displayInd=xe),X.dragCategoryDisplayInd=ie.model.displayInd}if(X.dragCategoryDisplayInd===null||X.parcatsViewModel.arrangement==="freeform"){ee.model.dragX=g.event.x;var Ye=X.parcatsViewModel.dimensions[ae],it=X.parcatsViewModel.dimensions[j];Ye!==void 0&&ee.model.dragXit.x&&(ee.model.displayInd=it.model.displayInd,it.model.displayInd=X.dragDimensionDisplayInd),X.dragDimensionDisplayInd=ee.model.displayInd}$(X.parcatsViewModel),G(X.parcatsViewModel),le(X.parcatsViewModel),Q(X.parcatsViewModel)}}function U(X){if(X.parcatsViewModel.arrangement!=="fixed"&&X.dragDimensionDisplayInd!==null){g.select(this).selectAll("text").attr("font-weight","normal");var re={},ae=W(X.parcatsViewModel),j=X.parcatsViewModel.model.dimensions.map(function(it){return it.displayInd}),ee=X.initialDragDimensionDisplayInds.some(function(it,at){return it!==j[at]});ee&&j.forEach(function(it,at){var tt=X.parcatsViewModel.model.dimensions[at].containerInd;re["dimensions["+tt+"].displayindex"]=it});var ie=!1;if(X.dragCategoryDisplayInd!==null){var ce=X.model.categories.map(function(it){return it.displayInd});if(ie=X.initialDragCategoryDisplayInds.some(function(it,at){return it!==ce[at]}),ie){var xe=X.model.categories.slice().sort(function(it,at){return it.displayInd-at.displayInd}),Te=xe.map(function(it){return it.categoryValue}),Ue=xe.map(function(it){return it.categoryLabel});re["dimensions["+X.model.containerInd+"].categoryarray"]=[Te],re["dimensions["+X.model.containerInd+"].ticktext"]=[Ue],re["dimensions["+X.model.containerInd+"].categoryorder"]="array"}}if(X.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!X.dragHasMoved&&X.potentialClickBand&&(X.parcatsViewModel.hoveron==="color"?P(X.potentialClickBand,"plotly_click",g.event.sourceEvent):f(X.potentialClickBand,"plotly_click",g.event.sourceEvent)),X.model.dragX=null,X.dragCategoryDisplayInd!==null){var Ie=X.parcatsViewModel.dimensions[X.dragDimensionDisplayInd].categories[X.dragCategoryDisplayInd];Ie.model.dragY=null,X.dragCategoryDisplayInd=null}X.dragDimensionDisplayInd=null,X.parcatsViewModel.dragDimension=null,X.dragHasMoved=null,X.potentialClickBand=null,$(X.parcatsViewModel),G(X.parcatsViewModel);var Ye=g.transition().duration(300).ease("cubic-in-out");Ye.each(function(){le(X.parcatsViewModel,!0),Q(X.parcatsViewModel,!0)}).each("end",function(){(ee||ie)&&A.restyle(X.parcatsViewModel.graphDiv,re,[ae])})}}function W(X){for(var re,ae=X.graphDiv._fullData,j=0;j=0;Te--)Ue+="C"+ce[Te]+","+(re[Te+1]+j)+" "+ie[Te]+","+(re[Te]+j)+" "+(X[Te]+ae[Te])+","+(re[Te]+j),Ue+="l-"+ae[Te]+",0 ";return Ue+="Z",Ue}function G(X){var re=X.dimensions,ae=X.model,j=re.map(function(Rr){return Rr.categories.map(function(gr){return gr.y})}),ee=X.model.dimensions.map(function(Rr){return Rr.categories.map(function(gr){return gr.displayInd})}),ie=X.model.dimensions.map(function(Rr){return Rr.displayInd}),ce=X.dimensions.map(function(Rr){return Rr.model.dimensionInd}),xe=re.map(function(Rr){return Rr.x}),Te=re.map(function(Rr){return Rr.width}),Ue=[];for(var Ie in ae.paths)ae.paths.hasOwnProperty(Ie)&&Ue.push(ae.paths[Ie]);function Ye(Rr){var gr=Rr.categoryInds.map(function(_t,Be){return ee[Be][_t]}),br=ce.map(function(_t){return gr[_t]});return br}Ue.sort(function(Rr,gr){var br=Ye(Rr),_t=Ye(gr);return X.sortpaths==="backward"&&(br.reverse(),_t.reverse()),br.push(Rr.valueInds[0]),_t.push(gr.valueInds[0]),X.bundlecolors&&(br.unshift(Rr.rawColor),_t.unshift(gr.rawColor)),br<_t?-1:br>_t?1:0});for(var it=new Array(Ue.length),at=re[0].model.count,tt=re[0].categories.map(function(Rr){return Rr.height}).reduce(function(Rr,gr){return Rr+gr}),ut=0;ut0?pe=tt*(Me.count/at):pe=0;for(var ue=new Array(j.length),Oe=0;Oe1?ce=(X.width-2*ae-j)/(ee-1):ce=0,xe=ae,Te=xe+ce*ie;var Ue=[],Ie=X.model.maxCats,Ye=re.categories.length,it=8,at=re.count,tt=X.height-it*(Ie-1),ut,Me,pe,ue,Oe,rt=(Ie-Ye)*it/2,ot=re.categories.map(function(et){return{displayInd:et.displayInd,categoryInd:et.categoryInd}});for(ot.sort(function(et,Lt){return et.displayInd-Lt.displayInd}),Oe=0;Oe0?ut=Me.count/at*tt:ut=0,pe={key:Me.valueInds[0],model:Me,width:j,height:ut,y:Me.dragY!==null?Me.dragY:rt,bands:[],parcatsViewModel:X},rt=rt+ut+it,Ue.push(pe);return{key:re.dimensionInd,x:re.dragX!==null?re.dragX:Te,y:0,width:j,model:re,categories:Ue,parcatsViewModel:X,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}}}),oM=ke({"src/traces/parcats/plot.js"(Z,H){"use strict";var g=ID();H.exports=function(A,S,e,t){var r=A._fullLayout,o=r._paper,n=r._size;g(A,o,S,{width:n.w,height:n.h,margin:{t:n.t,r:n.r,b:n.b,l:n.l}},e,t)}}}),RD=ke({"src/traces/parcats/base_plot.js"(Z){"use strict";var H=bh().getModuleCalcData,g=oM(),x="parcats";Z.name=x,Z.plot=function(A,S,e,t){var r=H(A.calcdata,x);if(r.length){var o=r[0];g(A,o,e,t)}},Z.clean=function(A,S,e,t){var r=t._has&&t._has("parcats"),o=S._has&&S._has("parcats");r&&!o&&t._paperdiv.selectAll(".parcats").remove()}}}),DD=ke({"src/traces/parcats/index.js"(Z,H){"use strict";H.exports={attributes:aM(),supplyDefaults:LD(),calc:PD(),plot:oM(),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:RD(),categories:["noOpacity"],meta:{}}}}),zD=ke({"lib/parcats.js"(Z,H){"use strict";H.exports=DD()}}),op=ke({"src/plots/mapbox/constants.js"(Z,H){"use strict";var g=Ip(),x="1.13.4",A='\xA9
OpenStreetMap contributors',S=['\xA9 Carto',A].join(" "),e=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),t=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),r={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:A,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:S,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:e,tiles:["https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:e,tiles:["https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:t,tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},o=g(r);H.exports={requiredVersion:x,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:r,styleValuesNonMapbox:o,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install @plotly/mapbox-gl@"+x+"."].join(` -`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",o.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` -`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}}}),Q0=ke({"src/plots/mapbox/layout_attributes.js"(Z,H){"use strict";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=op(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex("mapbox",".layers",!0)],domain:A({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0},style:{valType:"any",values:o.styleValuesMapbox.concat(o.styleValuesNonMapbox),dflt:o.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:r("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:x},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:x}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},"plot","from-root");i.uirevision={valType:"any",editType:"none"}}}),pb=ke({"src/traces/scattermapbox/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=Q0(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=Q0(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:"boolean"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:"number",arrayOk:!0,dflt:-1,min:-1},size:{valType:"number",arrayOk:!0,dflt:20,min:0},color:{valType:"color",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:"markers"}),text:n({},e.text,{}),texttemplate:x({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o("marker")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:"string"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:g()},"calc","nested")}}),sM=ke({"src/traces/scattermapbox/constants.js"(Z,H){"use strict";var g=["Metropolis Black Italic","Metropolis Black","Metropolis Bold Italic","Metropolis Bold","Metropolis Extra Bold Italic","Metropolis Extra Bold","Metropolis Extra Light Italic","Metropolis Extra Light","Metropolis Light Italic","Metropolis Light","Metropolis Medium Italic","Metropolis Medium","Metropolis Regular Italic","Metropolis Regular","Metropolis Semi Bold Italic","Metropolis Semi Bold","Metropolis Thin Italic","Metropolis Thin","Open Sans Bold Italic","Open Sans Bold","Open Sans Extrabold Italic","Open Sans Extrabold","Open Sans Italic","Open Sans Light Italic","Open Sans Light","Open Sans Regular","Open Sans Semibold Italic","Open Sans Semibold","Klokantech Noto Sans Bold","Klokantech Noto Sans CJK Bold","Klokantech Noto Sans CJK Regular","Klokantech Noto Sans Italic","Klokantech Noto Sans Regular"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),FD=ke({"src/traces/scattermapbox/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=pb(),o=sM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p("text"),p("texttemplate"),p("hovertext"),p("hovertemplate"),p("mode"),p("below"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p("marker.allowoverlap"),p("marker.angle");var l=s.marker;l.symbol!=="circle"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p("connectgaps"));var _=d("cluster.maxzoom"),w=d("cluster.step"),M=d("cluster.color",s.marker&&s.marker.color||c),E=d("cluster.size"),m=d("cluster.opacity"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p("cluster.enabled",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:"Open Sans Regular",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p("fill"),s.fill!=="none"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s("lon")||[],h=s("lat")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),lM=ke({"src/traces/scattermapbox/format_labels.js"(Z,H){"use strict";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),uM=ke({"src/plots/mapbox/convert_text_opts.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=A.split(" "),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=["",""],s=[0,0];switch(t){case"top":a[0]="top",s[1]=-i;break;case"bottom":a[0]="bottom",s[1]=i;break}switch(r){case"left":a[1]="right",s[0]=-n;break;case"right":a[1]="left",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join("-"):a[0]?c=a[0]:a[1]?c=a[1]:c="center",{anchor:c,offset:s}}}}),OD=ke({"src/traces/scattermapbox/convert.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=sM().isSupportedFont,i=uM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!=="none",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol==="circle",F=P&&v.marker.symbol!=="circle",B=v.cluster&&v.cluster.enabled,O=h("fill"),I=h("line"),N=h("circle"),U=h("symbol"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility="visible",x.extendFlat(O.paint,{"fill-color":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility="visible",x.extendFlat(I.paint,{"line-width":v.line.width,"line-color":v.line.color,"line-opacity":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility="visible",B&&(N.filter=["!",["has","point_count"]],W.cluster={type:"circle",filter:["has","point_count"],layout:{visibility:"visible"},paint:{"circle-color":w(v.cluster.color,v.cluster.step),"circle-radius":w(v.cluster.size,v.cluster.step),"circle-opacity":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:"symbol",filter:["has","point_count"],paint:{},layout:{"text-field":"{point_count_abbreviated}","text-font":M(v),"text-size":12}}),x.extendFlat(N.paint,{"circle-color":le.mcc,"circle-radius":le.mrc,"circle-opacity":le.mo})}if(z&&B&&(N.filter=["!",["has","point_count"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),F&&(x.extendFlat(U.layout,{"icon-size":v.marker.size/10}),"angle"in v.marker&&v.marker.angle!=="auto"&&x.extendFlat(U.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),U.layout["icon-allow-overlap"]=v.marker.allowoverlap,x.extendFlat(U.paint,{"icon-opacity":v.opacity*v.marker.opacity,"icon-color":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{"text-size":v.textfont.size,"text-anchor":fe.anchor,"text-offset":fe.offset,"text-font":M(v)}),x.extendFlat(U.paint,{"text-color":v.textfont.color,"text-opacity":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:"none"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,"marker")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=" Black":u>750?P+=" Extra Bold":u>650?P+=" Bold":u>550?P+=" Semi Bold":u>450?P+=" Medium":u>350?P+=" Regular":u>250?P+=" Light":u>150?P+=" Extra Light":P+=" Thin"):y.slice(0,2).join(" ")==="Open Sans"?(P="Open Sans",u>750?P+=" Extrabold":u>650?P+=" Bold":u>550?P+=" Semibold":u>350?P+=" Regular":P+=" Light"):y.slice(0,3).join(" ")==="Klokantech Noto Sans"&&(P="Klokantech Noto Sans",y[3]==="CJK"&&(P+=" CJK"),P+=u>500?" Bold":" Regular")),f&&(P+=" Italic"),P==="Open Sans Regular Italic"?P="Open Sans Italic":P==="Open Sans Regular Bold"?P="Open Sans Bold":P==="Open Sans Regular Bold Italic"?P="Open Sans Bold Italic":P==="Klokantech Noto Sans Regular Italic"&&(P="Klokantech Noto Sans Italic"),n(P)||(P=b);var L=P.split(", ");return L}}}),BD=ke({"src/traces/scattermapbox/plot.js"(Z,H){"use strict";var g=un(),x=OD(),A=op().traceLayerPrefix,S={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function e(r,o,n,i){this.type="scattermapbox",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:"source-"+o+"-fill",line:"source-"+o+"-line",circle:"source-"+o+"-circle",symbol:"source-"+o+"-symbol",cluster:"source-"+o+"-circle",clusterCount:"source-"+o+"-circle"},this.layerIds={fill:A+o+"-fill",line:A+o+"-line",circle:A+o+"-circle",symbol:A+o+"-symbol",cluster:A+o+"-cluster",clusterCount:A+o+"-cluster-count"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:"geojson",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup["trace-"+i.uid],d,T,l;if(a)for(c.addSource("circle",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split("+"),h=c.indexOf("all")!==-1,p=c.indexOf("lon")!==-1,d=c.indexOf("lat")!==-1,T=i.lonlat,l=[];function _(w){return w+"\xB0"}return h||p&&d?l.push("("+_(T[1])+", "+_(T[0])+")"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf("text")!==-1)&&S(i,n,l),l.join("
")}H.exports={hoverPoints:r,getExtraText:o}}}),ND=ke({"src/traces/scattermapbox/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),UD=ke({"src/traces/scattermapbox/select.js"(Z,H){"use strict";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s"u"&&(k=1e-6);var V,oe,ge,Pe,qe;for(ge=C,qe=0;qe<8;qe++){if(Pe=this.sampleCurveX(ge)-C,Math.abs(Pe)oe)return oe;for(;VPe?V=ge:oe=ge,ge=(oe-V)*.5+V}return ge},n.prototype.solve=function(C,k){return this.sampleCurveY(this.solveCurveX(C,k))};var i=a;function a(C,k){this.x=C,this.y=k}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(C){return this.clone()._add(C)},sub:function(C){return this.clone()._sub(C)},multByPoint:function(C){return this.clone()._multByPoint(C)},divByPoint:function(C){return this.clone()._divByPoint(C)},mult:function(C){return this.clone()._mult(C)},div:function(C){return this.clone()._div(C)},rotate:function(C){return this.clone()._rotate(C)},rotateAround:function(C,k){return this.clone()._rotateAround(C,k)},matMult:function(C){return this.clone()._matMult(C)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(C){return this.x===C.x&&this.y===C.y},dist:function(C){return Math.sqrt(this.distSqr(C))},distSqr:function(C){var k=C.x-this.x,V=C.y-this.y;return k*k+V*V},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(C){return Math.atan2(this.y-C.y,this.x-C.x)},angleWith:function(C){return this.angleWithSep(C.x,C.y)},angleWithSep:function(C,k){return Math.atan2(this.x*k-this.y*C,this.x*C+this.y*k)},_matMult:function(C){var k=C[0]*this.x+C[1]*this.y,V=C[2]*this.x+C[3]*this.y;return this.x=k,this.y=V,this},_add:function(C){return this.x+=C.x,this.y+=C.y,this},_sub:function(C){return this.x-=C.x,this.y-=C.y,this},_mult:function(C){return this.x*=C,this.y*=C,this},_div:function(C){return this.x/=C,this.y/=C,this},_multByPoint:function(C){return this.x*=C.x,this.y*=C.y,this},_divByPoint:function(C){return this.x/=C.x,this.y/=C.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var C=this.y;return this.y=this.x,this.x=-C,this},_rotate:function(C){var k=Math.cos(C),V=Math.sin(C),oe=k*this.x-V*this.y,ge=V*this.x+k*this.y;return this.x=oe,this.y=ge,this},_rotateAround:function(C,k){var V=Math.cos(C),oe=Math.sin(C),ge=k.x+V*(this.x-k.x)-oe*(this.y-k.y),Pe=k.y+oe*(this.x-k.x)+V*(this.y-k.y);return this.x=ge,this.y=Pe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(C){return C instanceof a?C:Array.isArray(C)?new a(C[0],C[1]):C};var s=typeof self<"u"?self:{};function c(C,k){if(Array.isArray(C)){if(!Array.isArray(k)||C.length!==k.length)return!1;for(var V=0;V=1)return 1;var k=C*C,V=k*C;return 4*(C<.5?V:3*(C-k)+V-.75)}function d(C,k,V,oe){var ge=new o(C,k,V,oe);return function(Pe){return ge.solve(Pe)}}var T=d(.25,.1,.25,1);function l(C,k,V){return Math.min(V,Math.max(k,C))}function _(C,k,V){var oe=V-k,ge=((C-k)%oe+oe)%oe+k;return ge===k?V:ge}function w(C,k,V){if(!C.length)return V(null,[]);var oe=C.length,ge=new Array(C.length),Pe=null;C.forEach(function(qe,ft){k(qe,function(Pt,Ut){Pt&&(Pe=Pt),ge[ft]=Ut,--oe===0&&V(Pe,ge)})})}function M(C){var k=[];for(var V in C)k.push(C[V]);return k}function E(C,k){var V=[];for(var oe in C)oe in k||V.push(oe);return V}function m(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe>k/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,C)}return C()}function f(C){return C<=1?1:Math.pow(2,Math.ceil(Math.log(C)/Math.LN2))}function P(C){return C?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(C):!1}function L(C,k){C.forEach(function(V){k[V]&&(k[V]=k[V].bind(k))})}function z(C,k){return C.indexOf(k,C.length-k.length)!==-1}function F(C,k,V){var oe={};for(var ge in C)oe[ge]=k.call(V||this,C[ge],ge,C);return oe}function B(C,k,V){var oe={};for(var ge in C)k.call(V||this,C[ge],ge,C)&&(oe[ge]=C[ge]);return oe}function O(C){return Array.isArray(C)?C.map(O):typeof C=="object"&&C?F(C,O):C}function I(C,k){for(var V=0;V=0)return!0;return!1}var N={};function U(C){N[C]||(typeof console<"u"&&console.warn(C),N[C]=!0)}function W(C,k,V){return(V.y-C.y)*(k.x-C.x)>(k.y-C.y)*(V.x-C.x)}function Q(C){for(var k=0,V=0,oe=C.length,ge=oe-1,Pe=void 0,qe=void 0;V@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,V={};if(C.replace(k,function(ge,Pe,qe,ft){var Pt=qe||ft;return V[Pe]=Pt?Pt.toLowerCase():!0,""}),V["max-age"]){var oe=parseInt(V["max-age"],10);isNaN(oe)?delete V["max-age"]:V["max-age"]=oe}return V}var G=null;function $(C){if(G==null){var k=C.navigator?C.navigator.userAgent:null;G=!!C.safari||!!(k&&(/\b(iPad|iPhone|iPod)\b/.test(k)||k.match("Safari")&&!k.match("Chrome")))}return G}function J(C){try{var k=s[C];return k.setItem("_mapbox_test_",1),k.removeItem("_mapbox_test_"),!0}catch{return!1}}function X(C){return s.btoa(encodeURIComponent(C).replace(/%([0-9A-F]{2})/g,function(k,V){return String.fromCharCode(+("0x"+V))}))}function re(C){return decodeURIComponent(s.atob(C).split("").map(function(k){return"%"+("00"+k.charCodeAt(0).toString(16)).slice(-2)}).join(""))}var ae=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),j=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,ee=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,ie,ce,xe={now:ae,frame:function(k){var V=j(k);return{cancel:function(){return ee(V)}}},getImageData:function(k,V){V===void 0&&(V=0);var oe=s.document.createElement("canvas"),ge=oe.getContext("2d");if(!ge)throw new Error("failed to create canvas 2d context");return oe.width=k.width,oe.height=k.height,ge.drawImage(k,0,0,k.width,k.height),ge.getImageData(-V,-V,k.width+2*V,k.height+2*V)},resolveURL:function(k){return ie||(ie=s.document.createElement("a")),ie.href=k,ie.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return s.matchMedia?(ce==null&&(ce=s.matchMedia("(prefers-reduced-motion: reduce)")),ce.matches):!1}},Te={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},Ue={supported:!1,testSupport:tt},Ie,Ye=!1,it,at=!1;s.document&&(it=s.document.createElement("img"),it.onload=function(){Ie&&ut(Ie),Ie=null,at=!0},it.onerror=function(){Ye=!0,Ie=null},it.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");function tt(C){Ye||!it||(at?ut(C):Ie=C)}function ut(C){var k=C.createTexture();C.bindTexture(C.TEXTURE_2D,k);try{if(C.texImage2D(C.TEXTURE_2D,0,C.RGBA,C.RGBA,C.UNSIGNED_BYTE,it),C.isContextLost())return;Ue.supported=!0}catch{}C.deleteTexture(k),Ye=!0}var Me="01";function pe(){for(var C="1",k="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",V="",oe=0;oe<10;oe++)V+=k[Math.floor(Math.random()*62)];var ge=12*60*60*1e3,Pe=[C,Me,V].join(""),qe=Date.now()+ge;return{token:Pe,tokenExpiresAt:qe}}var ue=function(k,V){this._transformRequestFn=k,this._customAccessToken=V,this._createSkuToken()};ue.prototype._createSkuToken=function(){var k=pe();this._skuToken=k.token,this._skuTokenExpiresAt=k.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(k,V){return this._transformRequestFn?this._transformRequestFn(k,V)||{url:k}:{url:k}},ue.prototype.normalizeStyleURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/styles/v1"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/fonts/v1"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path="/v4/"+oe.authority+".json",oe.params.push("secure"),this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(k,V,oe,ge){var Pe=Bt(k);return Oe(k)?(Pe.path="/styles/v1"+Pe.path+"/sprite"+V+oe,this._makeAPIURL(Pe,this._customAccessToken||ge)):(Pe.path+=""+V+oe,qt(Pe))},ue.prototype.normalizeTileURL=function(k,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),k&&!Oe(k))return k;var oe=Bt(k),ge=/(\.(png|jpg)\d*)(?=$)/,Pe=/^.+\/v4\//,qe=xe.devicePixelRatio>=2||V===512?"@2x":"",ft=Ue.supported?".webp":"$1";oe.path=oe.path.replace(ge,""+qe+ft),oe.path=oe.path.replace(Pe,"/"),oe.path="/v4"+oe.path;var Pt=this._customAccessToken||Lt(oe.params)||Te.ACCESS_TOKEN;return Te.REQUIRE_ACCESS_TOKEN&&Pt&&this._skuToken&&oe.params.push("sku="+this._skuToken),this._makeAPIURL(oe,Pt)},ue.prototype.canonicalizeTileURL=function(k,V){var oe="/v4/",ge=/\.[\w]+$/,Pe=Bt(k);if(!Pe.path.match(/(^\/v4\/)/)||!Pe.path.match(ge))return k;var qe="mapbox://tiles/";qe+=Pe.path.replace(oe,"");var ft=Pe.params;return V&&(ft=ft.filter(function(Pt){return!Pt.match(/^access_token=/)})),ft.length&&(qe+="?"+ft.join("&")),qe},ue.prototype.canonicalizeTileset=function(k,V){for(var oe=V?Oe(V):!1,ge=[],Pe=0,qe=k.tiles||[];Pe=0&&k.params.splice(Pe,1)}if(ge.path!=="/"&&(k.path=""+ge.path+k.path),!Te.REQUIRE_ACCESS_TOKEN)return qt(k);if(V=V||Te.ACCESS_TOKEN,!V)throw new Error("An API access token is required to use Mapbox GL. "+oe);if(V[0]==="s")throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+oe);return k.params=k.params.filter(function(qe){return qe.indexOf("access_token")===-1}),k.params.push("access_token="+V),qt(k)};function Oe(C){return C.indexOf("mapbox:")===0}var rt=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function ot(C){return rt.test(C)}function et(C){return C.indexOf("sku=")>0&&ot(C)}function Lt(C){for(var k=0,V=C;k=1&&s.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{U("Unable to write to LocalStorage")}},Rr.prototype.processRequests=function(k){},Rr.prototype.postEvent=function(k,V,oe,ge){var Pe=this;if(Te.EVENTS_URL){var qe=Bt(Te.EVENTS_URL);qe.params.push("access_token="+(ge||Te.ACCESS_TOKEN||""));var ft={event:this.type,created:new Date(k).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:r,skuId:Me,userId:this.anonId},Pt=V?m(ft,V):ft,Ut={url:qt(qe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([Pt])};this.pendingRequest=en(Ut,function(Kt){Pe.pendingRequest=null,oe(Kt),Pe.saveEventData(),Pe.processRequests(ge)})}},Rr.prototype.queueRequest=function(k,V){this.queue.push(k),this.processRequests(V)};var gr=function(C){function k(){C.call(this,"map.load"),this.success={},this.skuToken=""}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postMapLoadEvent=function(oe,ge,Pe,qe){this.skuToken=Pe,(Te.EVENTS_URL&&qe||Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(ft){return Oe(ft)||ot(ft)}))&&this.queueRequest({id:ge,timestamp:Date.now()},qe)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){var Pe=this.queue.shift(),qe=Pe.id,ft=Pe.timestamp;qe&&this.success[qe]||(this.anonId||this.fetchEventData(),P(this.anonId)||(this.anonId=y()),this.postEvent(ft,{skuToken:this.skuToken},function(Pt){Pt||qe&&(ge.success[qe]=!0)},oe))}},k}(Rr),br=function(C){function k(V){C.call(this,"appUserTurnstile"),this._customAccessToken=V}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postTurnstileEvent=function(oe,ge){Te.EVENTS_URL&&Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(Pe){return Oe(Pe)||ot(Pe)})&&this.queueRequest(Date.now(),ge)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Pe=ar(Te.ACCESS_TOKEN),qe=Pe?Pe.u:Te.ACCESS_TOKEN,ft=qe!==this.eventData.tokenU;P(this.anonId)||(this.anonId=y(),ft=!0);var Pt=this.queue.shift();if(this.eventData.lastSuccess){var Ut=new Date(this.eventData.lastSuccess),Kt=new Date(Pt),_r=(Pt-this.eventData.lastSuccess)/(24*60*60*1e3);ft=ft||_r>=1||_r<-1||Ut.getDate()!==Kt.getDate()}else ft=!0;if(!ft)return this.processRequests();this.postEvent(Pt,{"enabled.telemetry":!1},function(Vr){Vr||(ge.eventData.lastSuccess=Pt,ge.eventData.tokenU=qe)},oe)}},k}(Rr),_t=new br,Be=_t.postTurnstileEvent.bind(_t),Ke=new gr,je=Ke.postMapLoadEvent.bind(Ke),Se="mapbox-tiles",He=500,Ee=50,we=1e3*60*7,Le;function nt(){s.caches&&!Le&&(Le=s.caches.open(Se))}var pt;function bt(C,k){if(pt===void 0)try{new Response(new ReadableStream),pt=!0}catch{pt=!1}pt?k(C.body):C.blob().then(k)}function Rt(C,k,V){if(nt(),!!Le){var oe={status:k.status,statusText:k.statusText,headers:new s.Headers};k.headers.forEach(function(qe,ft){return oe.headers.set(ft,qe)});var ge=fe(k.headers.get("Cache-Control")||"");if(!ge["no-store"]){ge["max-age"]&&oe.headers.set("Expires",new Date(V+ge["max-age"]*1e3).toUTCString());var Pe=new Date(oe.headers.get("Expires")).getTime()-V;PeDate.now()&&!V["no-cache"]}var ur=1/0;function pn(C){ur++,ur>Ee&&(C.getActor().send("enforceCacheSizeLimit",He),ur=0)}function Rn(C){nt(),Le&&Le.then(function(k){k.keys().then(function(V){for(var oe=0;oe=200&&V.status<300||V.status===0)&&V.response!==null){var ge=V.response;if(C.type==="json")try{ge=JSON.parse(V.response)}catch(Pe){return k(Pe)}k(null,ge,V.getResponseHeader("Cache-Control"),V.getResponseHeader("Expires"))}else k(new gi(V.statusText,V.status,C.url))},V.send(C.body),{cancel:function(){return V.abort()}}}var wr=function(C,k){if(!Ft(C.url)){if(s.fetch&&s.Request&&s.AbortController&&s.Request.prototype.hasOwnProperty("signal"))return Ht(C,k);if(se()&&self.worker&&self.worker.actor){var V=!0;return self.worker.actor.send("getResource",C,k,void 0,V)}}return Vt(C,k)},$r=function(C,k){return wr(m(C,{type:"json"}),k)},xn=function(C,k){return wr(m(C,{type:"arrayBuffer"}),k)},en=function(C,k){return wr(m(C,{method:"POST"}),k)};function Fn(C){var k=s.document.createElement("a");return k.href=C,k.protocol===s.document.location.protocol&&k.host===s.document.location.host}var Wn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function ri(C,k,V,oe){var ge=new s.Image,Pe=s.URL;ge.onload=function(){k(null,ge),Pe.revokeObjectURL(ge.src),ge.onload=null,s.requestAnimationFrame(function(){ge.src=Wn})},ge.onerror=function(){return k(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var qe=new s.Blob([new Uint8Array(C)],{type:"image/png"});ge.cacheControl=V,ge.expires=oe,ge.src=C.byteLength?Pe.createObjectURL(qe):Wn}function Sn(C,k){var V=new s.Blob([new Uint8Array(C)],{type:"image/png"});s.createImageBitmap(V).then(function(oe){k(null,oe)}).catch(function(oe){k(new Error("Could not load image because of "+oe.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}var ui,gt,yt=function(){ui=[],gt=0};yt();var Pr=function(C,k){if(Ue.supported&&(C.headers||(C.headers={}),C.headers.accept="image/webp,*/*"),gt>=Te.MAX_PARALLEL_IMAGE_REQUESTS){var V={requestParameters:C,callback:k,cancelled:!1,cancel:function(){this.cancelled=!0}};return ui.push(V),V}gt++;var oe=!1,ge=function(){if(!oe)for(oe=!0,gt--;ui.length&>0||this._oneTimeListeners&&this._oneTimeListeners[k]&&this._oneTimeListeners[k].length>0||this._eventedParent&&this._eventedParent.listens(k)},Dr.prototype.setEventedParent=function(k,V){return this._eventedParent=k,this._eventedParentData=V,this};var nn=8,vn={version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},gn={"*":{type:"source"}},kt=["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],or={type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},yr={type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},on={type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},An={type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},Zn={type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},Bn={type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},wn={id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},Dn=["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],Ui={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},pi={"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Ta={"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Sa={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},qa={"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},to={"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},yo={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Xa={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Go={type:"array",value:"*"},pa={type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},cs={type:"enum",values:{Point:{},LineString:{},Polygon:{}}},Ko={type:"array",minimum:0,maximum:24,value:["number","color"],length:2},gs={type:"array",value:"*",minimum:1},Ya={anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},zo=["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],Ka={"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},Yo={"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},ns={"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},hs={"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},ho={"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},Ro={"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Ls={"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Vs={"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Ws={duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},fs={"*":{type:"string"}},Mi={$version:nn,$root:vn,sources:gn,source:kt,source_vector:or,source_raster:yr,source_raster_dem:on,source_geojson:An,source_video:Zn,source_image:Bn,layer:wn,layout:Dn,layout_background:Ui,layout_fill:pi,layout_circle:Ta,layout_heatmap:Sa,"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:qa,layout_symbol:to,layout_raster:yo,layout_hillshade:Xa,filter:Go,filter_operator:pa,geometry_type:cs,function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:Ko,expression:gs,light:Ya,paint:zo,paint_fill:Ka,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:Yo,paint_circle:ns,paint_heatmap:hs,paint_symbol:ho,paint_raster:Ro,paint_hillshade:Ls,paint_background:Vs,transition:Ws,"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:fs},Da=function(k,V,oe,ge){this.message=(k?k+": ":"")+oe,ge&&(this.identifier=ge),V!=null&&V.__line__&&(this.line=V.__line__)};function pl(C){var k=C.key,V=C.value;return V?[new Da(k,V,"constants have been deprecated as of v8")]:[]}function Xs(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe":C.itemType.kind==="value"?"array":"array<"+k+">"}else return C.kind}var nu=[wl,la,Uo,vo,Ps,Tl,ls,Rl(no),Vu];function qu(C,k){if(k.kind==="error")return null;if(C.kind==="array"){if(k.kind==="array"&&(k.N===0&&k.itemType.kind==="value"||!qu(C.itemType,k.itemType))&&(typeof C.N!="number"||C.N===k.N))return null}else{if(C.kind===k.kind)return null;if(C.kind==="value")for(var V=0,oe=nu;V255?255:Ut}function ge(Ut){return Ut<0?0:Ut>1?1:Ut}function Pe(Ut){return Ut[Ut.length-1]==="%"?oe(parseFloat(Ut)/100*255):oe(parseInt(Ut))}function qe(Ut){return Ut[Ut.length-1]==="%"?ge(parseFloat(Ut)/100):ge(parseFloat(Ut))}function ft(Ut,Kt,_r){return _r<0?_r+=1:_r>1&&(_r-=1),_r*6<1?Ut+(Kt-Ut)*_r*6:_r*2<1?Kt:_r*3<2?Ut+(Kt-Ut)*(2/3-_r)*6:Ut}function Pt(Ut){var Kt=Ut.replace(/ /g,"").toLowerCase();if(Kt in V)return V[Kt].slice();if(Kt[0]==="#"){if(Kt.length===4){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=4095?[(_r&3840)>>4|(_r&3840)>>8,_r&240|(_r&240)>>4,_r&15|(_r&15)<<4,1]:null}else if(Kt.length===7){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=16777215?[(_r&16711680)>>16,(_r&65280)>>8,_r&255,1]:null}return null}var Vr=Kt.indexOf("("),Or=Kt.indexOf(")");if(Vr!==-1&&Or+1===Kt.length){var dn=Kt.substr(0,Vr),jn=Kt.substr(Vr+1,Or-(Vr+1)).split(","),mi=1;switch(dn){case"rgba":if(jn.length!==4)return null;mi=qe(jn.pop());case"rgb":return jn.length!==3?null:[Pe(jn[0]),Pe(jn[1]),Pe(jn[2]),mi];case"hsla":if(jn.length!==4)return null;mi=qe(jn.pop());case"hsl":if(jn.length!==3)return null;var ii=(parseFloat(jn[0])%360+360)%360/360,Vi=qe(jn[1]),Ai=qe(jn[2]),ji=Ai<=.5?Ai*(Vi+1):Ai+Vi-Ai*Vi,Yi=Ai*2-ji;return[oe(ft(Yi,ji,ii+1/3)*255),oe(ft(Yi,ji,ii)*255),oe(ft(Yi,ji,ii-1/3)*255),mi];default:return null}}return null}try{k.parseCSSColor=Pt}catch{}}),uf=sh.parseCSSColor,qs=function(k,V,oe,ge){ge===void 0&&(ge=1),this.r=k,this.g=V,this.b=oe,this.a=ge};qs.parse=function(k){if(k){if(k instanceof qs)return k;if(typeof k=="string"){var V=uf(k);if(V)return new qs(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},qs.prototype.toString=function(){var k=this.toArray(),V=k[0],oe=k[1],ge=k[2],Pe=k[3];return"rgba("+Math.round(V)+","+Math.round(oe)+","+Math.round(ge)+","+Pe+")"},qs.prototype.toArray=function(){var k=this,V=k.r,oe=k.g,ge=k.b,Pe=k.a;return Pe===0?[0,0,0,0]:[V*255/Pe,oe*255/Pe,ge*255/Pe,Pe]},qs.black=new qs(0,0,0,1),qs.white=new qs(1,1,1,1),qs.transparent=new qs(0,0,0,0),qs.red=new qs(1,0,0,1);var Hc=function(k,V,oe){k?this.sensitivity=V?"variant":"case":this.sensitivity=V?"accent":"base",this.locale=oe,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Hc.prototype.compare=function(k,V){return this.collator.compare(k,V)},Hc.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var bf=function(k,V,oe,ge,Pe){this.text=k,this.image=V,this.scale=oe,this.fontStack=ge,this.textColor=Pe},Ql=function(k){this.sections=k};Ql.fromString=function(k){return new Ql([new bf(k,null,null,null,null)])},Ql.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(k){return k.text.length!==0||k.image&&k.image.name.length!==0})},Ql.factory=function(k){return k instanceof Ql?k:Ql.fromString(k)},Ql.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(k){return k.text}).join("")},Ql.prototype.serialize=function(){for(var k=["format"],V=0,oe=this.sections;V=0&&C<=255&&typeof k=="number"&&k>=0&&k<=255&&typeof V=="number"&&V>=0&&V<=255)){var ge=typeof oe=="number"?[C,k,V,oe]:[C,k,V];return"Invalid rgba value ["+ge.join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}return typeof oe>"u"||typeof oe=="number"&&oe>=0&&oe<=1?null:"Invalid rgba value ["+[C,k,V,oe].join(", ")+"]: 'a' must be between 0 and 1."}function gc(C){if(C===null)return!0;if(typeof C=="string")return!0;if(typeof C=="boolean")return!0;if(typeof C=="number")return!0;if(C instanceof qs)return!0;if(C instanceof Hc)return!0;if(C instanceof Ql)return!0;if(C instanceof Al)return!0;if(Array.isArray(C)){for(var k=0,V=C;k2){var ft=k[1];if(typeof ft!="string"||!(ft in sc)||ft==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);qe=sc[ft],oe++}else qe=no;var Pt;if(k.length>3){if(k[2]!==null&&(typeof k[2]!="number"||k[2]<0||k[2]!==Math.floor(k[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Pt=k[2],oe++}ge=Rl(qe,Pt)}else ge=sc[Pe];for(var Ut=[];oe1)&&V.push(ge)}}return V.concat(this.args.map(function(Pe){return Pe.serialize()}))};var $u=function(k){this.type=Tl,this.sections=k};$u.parse=function(k,V){if(k.length<2)return V.error("Expected at least one argument.");var oe=k[1];if(!Array.isArray(oe)&&typeof oe=="object")return V.error("First argument must be an image or text section.");for(var ge=[],Pe=!1,qe=1;qe<=k.length-1;++qe){var ft=k[qe];if(Pe&&typeof ft=="object"&&!Array.isArray(ft)){Pe=!1;var Pt=null;if(ft["font-scale"]&&(Pt=V.parse(ft["font-scale"],1,la),!Pt))return null;var Ut=null;if(ft["text-font"]&&(Ut=V.parse(ft["text-font"],1,Rl(Uo)),!Ut))return null;var Kt=null;if(ft["text-color"]&&(Kt=V.parse(ft["text-color"],1,Ps),!Kt))return null;var _r=ge[ge.length-1];_r.scale=Pt,_r.font=Ut,_r.textColor=Kt}else{var Vr=V.parse(k[qe],1,no);if(!Vr)return null;var Or=Vr.type.kind;if(Or!=="string"&&Or!=="value"&&Or!=="null"&&Or!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Pe=!0,ge.push({content:Vr,scale:null,font:null,textColor:null})}}return new $u(ge)},$u.prototype.evaluate=function(k){var V=function(oe){var ge=oe.content.evaluate(k);return nl(ge)===Vu?new bf("",ge,null,null,null):new bf(Ml(ge),null,oe.scale?oe.scale.evaluate(k):null,oe.font?oe.font.evaluate(k).join(","):null,oe.textColor?oe.textColor.evaluate(k):null)};return new Ql(this.sections.map(V))},$u.prototype.eachChild=function(k){for(var V=0,oe=this.sections;V-1),oe},ll.prototype.eachChild=function(k){k(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){return["image",this.input.serialize()]};var Nh={"to-boolean":vo,"to-color":Ps,"to-number":la,"to-string":Uo},ds=function(k,V){this.type=k,this.args=V};ds.parse=function(k,V){if(k.length<2)return V.error("Expected at least one argument.");var oe=k[0];if((oe==="to-boolean"||oe==="to-string")&&k.length!==2)return V.error("Expected one argument.");for(var ge=Nh[oe],Pe=[],qe=1;qe4?oe="Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":oe=oc(V[0],V[1],V[2],V[3]),!oe))return new qs(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new sl(oe||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}else if(this.type.kind==="number"){for(var Pt=null,Ut=0,Kt=this.args;Ut=k[2]||C[1]<=k[1]||C[3]>=k[3])}function Jf(C,k){var V=Lc(C[0]),oe=nf(C[1]),ge=Math.pow(2,k.z);return[Math.round(V*ge*pu),Math.round(oe*ge*pu)]}function zf(C,k,V){var oe=C[0]-k[0],ge=C[1]-k[1],Pe=C[0]-V[0],qe=C[1]-V[1];return oe*qe-Pe*ge===0&&oe*Pe<=0&&ge*qe<=0}function wf(C,k,V){return k[1]>C[1]!=V[1]>C[1]&&C[0]<(V[0]-k[0])*(C[1]-k[1])/(V[1]-k[1])+k[0]}function Gc(C,k){for(var V=!1,oe=0,ge=k.length;oe0&&_r<0||Kt<0&&_r>0}function Tf(C,k,V,oe){var ge=[k[0]-C[0],k[1]-C[1]],Pe=[oe[0]-V[0],oe[1]-V[1]];return $f(Pe,ge)===0?!1:!!(ec(C,k,V,oe)&&ec(V,oe,C,k))}function Pc(C,k,V){for(var oe=0,ge=V;oeV[2]){var ge=oe*.5,Pe=C[0]-V[0]>ge?-oe:V[0]-C[0]>ge?oe:0;Pe===0&&(Pe=C[0]-V[2]>ge?-oe:V[2]-C[0]>ge?oe:0),C[0]+=Pe}Df(k,C)}function Of(C){C[0]=C[1]=1/0,C[2]=C[3]=-1/0}function Eh(C,k,V,oe){for(var ge=Math.pow(2,oe.z)*pu,Pe=[oe.x*pu,oe.y*pu],qe=[],ft=0,Pt=C;ft=0)return!1;var V=!0;return C.eachChild(function(oe){V&&!Ru(oe,k)&&(V=!1)}),V}var yc=function(k,V){this.type=V.type,this.name=k,this.boundExpression=V};yc.parse=function(k,V){if(k.length!==2||typeof k[1]!="string")return V.error("'var' expression requires exactly one string literal argument.");var oe=k[1];return V.scope.has(oe)?new yc(oe,V.scope.get(oe)):V.error('Unknown variable "'+oe+'". Make sure "'+oe+'" has been bound in an enclosing "let" expression before using it.',1)},yc.prototype.evaluate=function(k){return this.boundExpression.evaluate(k)},yc.prototype.eachChild=function(){},yc.prototype.outputDefined=function(){return!1},yc.prototype.serialize=function(){return["var",this.name]};var Dl=function(k,V,oe,ge,Pe){V===void 0&&(V=[]),ge===void 0&&(ge=new hl),Pe===void 0&&(Pe=[]),this.registry=k,this.path=V,this.key=V.map(function(qe){return"["+qe+"]"}).join(""),this.scope=ge,this.errors=Pe,this.expectedType=oe};Dl.prototype.parse=function(k,V,oe,ge,Pe){return Pe===void 0&&(Pe={}),V?this.concat(V,oe,ge)._parse(k,Pe):this._parse(k,Pe)},Dl.prototype._parse=function(k,V){(k===null||typeof k=="string"||typeof k=="boolean"||typeof k=="number")&&(k=["literal",k]);function oe(Kt,_r,Vr){return Vr==="assert"?new jl(_r,[Kt]):Vr==="coerce"?new ds(_r,[Kt]):Kt}if(Array.isArray(k)){if(k.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var ge=k[0];if(typeof ge!="string")return this.error("Expression name must be a string, but found "+typeof ge+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Pe=this.registry[ge];if(Pe){var qe=Pe.parse(k,this);if(!qe)return null;if(this.expectedType){var ft=this.expectedType,Pt=qe.type;if((ft.kind==="string"||ft.kind==="number"||ft.kind==="boolean"||ft.kind==="object"||ft.kind==="array")&&Pt.kind==="value")qe=oe(qe,ft,V.typeAnnotation||"assert");else if((ft.kind==="color"||ft.kind==="formatted"||ft.kind==="resolvedImage")&&(Pt.kind==="value"||Pt.kind==="string"))qe=oe(qe,ft,V.typeAnnotation||"coerce");else if(this.checkSubtype(ft,Pt))return null}if(!(qe instanceof Zs)&&qe.type.kind!=="resolvedImage"&&Rc(qe)){var Ut=new Bs;try{qe=new Zs(qe.type,qe.evaluate(Ut))}catch(Kt){return this.error(Kt.message),null}}return qe}return this.error('Unknown expression "'+ge+'". If you wanted a literal array, use ["literal", [...]].',0)}else return typeof k>"u"?this.error("'undefined' value invalid. Use null instead."):typeof k=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof k+" instead.")},Dl.prototype.concat=function(k,V,oe){var ge=typeof k=="number"?this.path.concat(k):this.path,Pe=oe?this.scope.concat(oe):this.scope;return new Dl(this.registry,ge,V||null,Pe,this.errors)},Dl.prototype.error=function(k){for(var V=[],oe=arguments.length-1;oe-- >0;)V[oe]=arguments[oe+1];var ge=""+this.key+V.map(function(Pe){return"["+Pe+"]"}).join("");this.errors.push(new As(ge,k))},Dl.prototype.checkSubtype=function(k,V){var oe=qu(k,V);return oe&&this.error(oe),oe};function Rc(C){if(C instanceof yc)return Rc(C.boundExpression);if(C instanceof Vo&&C.name==="error")return!1;if(C instanceof Qu)return!1;if(C instanceof Iu)return!1;var k=C instanceof ds||C instanceof jl,V=!0;return C.eachChild(function(oe){k?V=V&&Rc(oe):V=V&&oe instanceof Zs}),V?eh(C)&&Ru(C,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"]):!1}function tc(C,k){for(var V=C.length-1,oe=0,ge=V,Pe=0,qe,ft;oe<=ge;)if(Pe=Math.floor((oe+ge)/2),qe=C[Pe],ft=C[Pe+1],qe<=k){if(Pe===V||kk)ge=Pe-1;else throw new sl("Input is not a number.");return 0}var xu=function(k,V,oe){this.type=k,this.input=V,this.labels=[],this.outputs=[];for(var ge=0,Pe=oe;ge=ft)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Ut);var _r=V.parse(Pt,Kt,Pe);if(!_r)return null;Pe=Pe||_r.type,ge.push([ft,_r])}return new xu(Pe,oe,ge)},xu.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge);return oe[qe].evaluate(k)},xu.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V0&&k.push(this.labels[V]),k.push(this.outputs[V].serialize());return k};function Sl(C,k,V){return C*(1-V)+k*V}function th(C,k,V){return new qs(Sl(C.r,k.r,V),Sl(C.g,k.g,V),Sl(C.b,k.b,V),Sl(C.a,k.a,V))}function uh(C,k,V){return C.map(function(oe,ge){return Sl(oe,k[ge],V)})}var Hu=Object.freeze({__proto__:null,number:Sl,color:th,array:uh}),_c=.95047,lc=1,Uh=1.08883,of=4/29,ff=6/29,Du=3*ff*ff,Af=ff*ff*ff,lu=Math.PI/180,Xc=180/Math.PI;function ch(C){return C>Af?Math.pow(C,1/3):C/Du+of}function Mf(C){return C>ff?C*C*C:Du*(C-of)}function dl(C){return 255*(C<=.0031308?12.92*C:1.055*Math.pow(C,1/2.4)-.055)}function bu(C){return C/=255,C<=.04045?C/12.92:Math.pow((C+.055)/1.055,2.4)}function wu(C){var k=bu(C.r),V=bu(C.g),oe=bu(C.b),ge=ch((.4124564*k+.3575761*V+.1804375*oe)/_c),Pe=ch((.2126729*k+.7151522*V+.072175*oe)/lc),qe=ch((.0193339*k+.119192*V+.9503041*oe)/Uh);return{l:116*Pe-16,a:500*(ge-Pe),b:200*(Pe-qe),alpha:C.a}}function Bf(C){var k=(C.l+16)/116,V=isNaN(C.a)?k:k+C.a/500,oe=isNaN(C.b)?k:k-C.b/200;return k=lc*Mf(k),V=_c*Mf(V),oe=Uh*Mf(oe),new qs(dl(3.2404542*V-1.5371385*k-.4985314*oe),dl(-.969266*V+1.8760108*k+.041556*oe),dl(.0556434*V-.2040259*k+1.0572252*oe),C.alpha)}function ul(C,k,V){return{l:Sl(C.l,k.l,V),a:Sl(C.a,k.a,V),b:Sl(C.b,k.b,V),alpha:Sl(C.alpha,k.alpha,V)}}function sf(C){var k=wu(C),V=k.l,oe=k.a,ge=k.b,Pe=Math.atan2(ge,oe)*Xc;return{h:Pe<0?Pe+360:Pe,c:Math.sqrt(oe*oe+ge*ge),l:V,alpha:C.a}}function xc(C){var k=C.h*lu,V=C.c,oe=C.l;return Bf({l:oe,a:Math.cos(k)*V,b:Math.sin(k)*V,alpha:C.alpha})}function Gu(C,k,V){var oe=k-C;return C+V*(oe>180||oe<-180?oe-360*Math.round(oe/360):oe)}function hf(C,k,V){return{h:Gu(C.h,k.h,V),c:Sl(C.c,k.c,V),l:Sl(C.l,k.l,V),alpha:Sl(C.alpha,k.alpha,V)}}var uc={forward:wu,reverse:Bf,interpolate:ul},Zc={forward:sf,reverse:xc,interpolate:hf},Nf=Object.freeze({__proto__:null,lab:uc,hcl:Zc}),Xl=function(k,V,oe,ge,Pe){this.type=k,this.operator=V,this.interpolation=oe,this.input=ge,this.labels=[],this.outputs=[];for(var qe=0,ft=Pe;qe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);ge={name:"cubic-bezier",controlPoints:Pt}}else return V.error("Unknown interpolation type "+String(ge[0]),1,0);if(k.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(k.length-1)+".");if((k.length-1)%2!==0)return V.error("Expected an even number of arguments.");if(Pe=V.parse(Pe,2,la),!Pe)return null;var Ut=[],Kt=null;oe==="interpolate-hcl"||oe==="interpolate-lab"?Kt=Ps:V.expectedType&&V.expectedType.kind!=="value"&&(Kt=V.expectedType);for(var _r=0;_r=Vr)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',dn);var mi=V.parse(Or,jn,Kt);if(!mi)return null;Kt=Kt||mi.type,Ut.push([Vr,mi])}return Kt.kind!=="number"&&Kt.kind!=="color"&&!(Kt.kind==="array"&&Kt.itemType.kind==="number"&&typeof Kt.N=="number")?V.error("Type "+Qs(Kt)+" is not interpolatable."):new Xl(Kt,oe,ge,Pe,Ut)},Xl.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge),ft=V[qe],Pt=V[qe+1],Ut=Xl.interpolationFactor(this.interpolation,ge,ft,Pt),Kt=oe[qe].evaluate(k),_r=oe[qe+1].evaluate(k);return this.operator==="interpolate"?Hu[this.type.kind.toLowerCase()](Kt,_r,Ut):this.operator==="interpolate-hcl"?Zc.reverse(Zc.interpolate(Zc.forward(Kt),Zc.forward(_r),Ut)):uc.reverse(uc.interpolate(uc.forward(Kt),uc.forward(_r),Ut))},Xl.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V=oe.length)throw new sl("Array index out of bounds: "+V+" > "+(oe.length-1)+".");if(V!==Math.floor(V))throw new sl("Array index must be an integer, but found "+V+" instead.");return oe[V]},cc.prototype.eachChild=function(k){k(this.index),k(this.input)},cc.prototype.outputDefined=function(){return!1},cc.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var zl=function(k,V){this.type=vo,this.needle=k,this.haystack=V};zl.parse=function(k,V){if(k.length!==3)return V.error("Expected 2 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);return!oe||!ge?null:kc(oe.type,[vo,Uo,la,wl,no])?new zl(oe,ge):V.error("Expected first argument to be of type boolean, string, number or null, but found "+Qs(oe.type)+" instead")},zl.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!oe)return!1;if(!Ju(V,["boolean","string","number","null"]))throw new sl("Expected first argument to be of type boolean, string, number or null, but found "+Qs(nl(V))+" instead.");if(!Ju(oe,["string","array"]))throw new sl("Expected second argument to be of type array or string, but found "+Qs(nl(oe))+" instead.");return oe.indexOf(V)>=0},zl.prototype.eachChild=function(k){k(this.needle),k(this.haystack)},zl.prototype.outputDefined=function(){return!0},zl.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var uu=function(k,V,oe){this.type=la,this.needle=k,this.haystack=V,this.fromIndex=oe};uu.parse=function(k,V){if(k.length<=2||k.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);if(!oe||!ge)return null;if(!kc(oe.type,[vo,Uo,la,wl,no]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+Qs(oe.type)+" instead");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new uu(oe,ge,Pe):null}else return new uu(oe,ge)},uu.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!Ju(V,["boolean","string","number","null"]))throw new sl("Expected first argument to be of type boolean, string, number or null, but found "+Qs(nl(V))+" instead.");if(!Ju(oe,["string","array"]))throw new sl("Expected second argument to be of type array or string, but found "+Qs(nl(oe))+" instead.");if(this.fromIndex){var ge=this.fromIndex.evaluate(k);return oe.indexOf(V,ge)}return oe.indexOf(V)},uu.prototype.eachChild=function(k){k(this.needle),k(this.haystack),this.fromIndex&&k(this.fromIndex)},uu.prototype.outputDefined=function(){return!1},uu.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var k=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),k]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var fc=function(k,V,oe,ge,Pe,qe){this.inputType=k,this.type=V,this.input=oe,this.cases=ge,this.outputs=Pe,this.otherwise=qe};fc.parse=function(k,V){if(k.length<5)return V.error("Expected at least 4 arguments, but found only "+(k.length-1)+".");if(k.length%2!==1)return V.error("Expected an even number of arguments.");var oe,ge;V.expectedType&&V.expectedType.kind!=="value"&&(ge=V.expectedType);for(var Pe={},qe=[],ft=2;ftNumber.MAX_SAFE_INTEGER)return Kt.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Or=="number"&&Math.floor(Or)!==Or)return Kt.error("Numeric branch labels must be integer values.");if(!oe)oe=nl(Or);else if(Kt.checkSubtype(oe,nl(Or)))return null;if(typeof Pe[String(Or)]<"u")return Kt.error("Branch labels must be unique.");Pe[String(Or)]=qe.length}var dn=V.parse(Ut,ft,ge);if(!dn)return null;ge=ge||dn.type,qe.push(dn)}var jn=V.parse(k[1],1,no);if(!jn)return null;var mi=V.parse(k[k.length-1],k.length-1,ge);return!mi||jn.type.kind!=="value"&&V.concat(1).checkSubtype(oe,jn.type)?null:new fc(oe,ge,jn,Pe,qe,mi)},fc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=nl(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise;return oe.evaluate(k)},fc.prototype.eachChild=function(k){k(this.input),this.outputs.forEach(k),k(this.otherwise)},fc.prototype.outputDefined=function(){return this.outputs.every(function(k){return k.outputDefined()})&&this.otherwise.outputDefined()},fc.prototype.serialize=function(){for(var k=this,V=["match",this.input.serialize()],oe=Object.keys(this.cases).sort(),ge=[],Pe={},qe=0,ft=oe;qe=5)return V.error("Expected 3 or 4 arguments, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,la);if(!oe||!ge)return null;if(!kc(oe.type,[Rl(no),Uo,no]))return V.error("Expected first argument to be of type array or string, but found "+Qs(oe.type)+" instead");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new rc(oe.type,oe,ge,Pe):null}else return new rc(oe.type,oe,ge)},rc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=this.beginIndex.evaluate(k);if(!Ju(V,["string","array"]))throw new sl("Expected first argument to be of type array or string, but found "+Qs(nl(V))+" instead.");if(this.endIndex){var ge=this.endIndex.evaluate(k);return V.slice(oe,ge)}return V.slice(oe)},rc.prototype.eachChild=function(k){k(this.input),k(this.beginIndex),this.endIndex&&k(this.endIndex)},rc.prototype.outputDefined=function(){return!1},rc.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var k=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),k]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};function Yc(C,k){return C==="=="||C==="!="?k.kind==="boolean"||k.kind==="string"||k.kind==="number"||k.kind==="null"||k.kind==="value":k.kind==="string"||k.kind==="number"||k.kind==="value"}function Yt(C,k,V){return k===V}function dr(C,k,V){return k!==V}function tn(C,k,V){return kV}function Cn(C,k,V){return k<=V}function si(C,k,V){return k>=V}function yi(C,k,V,oe){return oe.compare(k,V)===0}function Di(C,k,V,oe){return!yi(C,k,V,oe)}function Wi(C,k,V,oe){return oe.compare(k,V)<0}function aa(C,k,V,oe){return oe.compare(k,V)>0}function bi(C,k,V,oe){return oe.compare(k,V)<=0}function zi(C,k,V,oe){return oe.compare(k,V)>=0}function Li(C,k,V){var oe=C!=="=="&&C!=="!=";return function(){function ge(Pe,qe,ft){this.type=vo,this.lhs=Pe,this.rhs=qe,this.collator=ft,this.hasUntypedArgument=Pe.type.kind==="value"||qe.type.kind==="value"}return ge.parse=function(qe,ft){if(qe.length!==3&&qe.length!==4)return ft.error("Expected two or three arguments.");var Pt=qe[0],Ut=ft.parse(qe[1],1,no);if(!Ut)return null;if(!Yc(Pt,Ut.type))return ft.concat(1).error('"'+Pt+`" comparisons are not supported for type '`+Qs(Ut.type)+"'.");var Kt=ft.parse(qe[2],2,no);if(!Kt)return null;if(!Yc(Pt,Kt.type))return ft.concat(2).error('"'+Pt+`" comparisons are not supported for type '`+Qs(Kt.type)+"'.");if(Ut.type.kind!==Kt.type.kind&&Ut.type.kind!=="value"&&Kt.type.kind!=="value")return ft.error("Cannot compare types '"+Qs(Ut.type)+"' and '"+Qs(Kt.type)+"'.");oe&&(Ut.type.kind==="value"&&Kt.type.kind!=="value"?Ut=new jl(Kt.type,[Ut]):Ut.type.kind!=="value"&&Kt.type.kind==="value"&&(Kt=new jl(Ut.type,[Kt])));var _r=null;if(qe.length===4){if(Ut.type.kind!=="string"&&Kt.type.kind!=="string"&&Ut.type.kind!=="value"&&Kt.type.kind!=="value")return ft.error("Cannot use collator to compare non-string types.");if(_r=ft.parse(qe[3],3,Ku),!_r)return null}return new ge(Ut,Kt,_r)},ge.prototype.evaluate=function(qe){var ft=this.lhs.evaluate(qe),Pt=this.rhs.evaluate(qe);if(oe&&this.hasUntypedArgument){var Ut=nl(ft),Kt=nl(Pt);if(Ut.kind!==Kt.kind||!(Ut.kind==="string"||Ut.kind==="number"))throw new sl('Expected arguments for "'+C+'" to be (string, string) or (number, number), but found ('+Ut.kind+", "+Kt.kind+") instead.")}if(this.collator&&!oe&&this.hasUntypedArgument){var _r=nl(ft),Vr=nl(Pt);if(_r.kind!=="string"||Vr.kind!=="string")return k(qe,ft,Pt)}return this.collator?V(qe,ft,Pt,this.collator.evaluate(qe)):k(qe,ft,Pt)},ge.prototype.eachChild=function(qe){qe(this.lhs),qe(this.rhs),this.collator&&qe(this.collator)},ge.prototype.outputDefined=function(){return!0},ge.prototype.serialize=function(){var qe=[C];return this.eachChild(function(ft){qe.push(ft.serialize())}),qe},ge}()}var di=Li("==",Yt,yi),wa=Li("!=",dr,Di),po=Li("<",tn,Wi),co=Li(">",Wr,aa),mo=Li("<=",Cn,bi),Ao=Li(">=",si,zi),xa=function(k,V,oe,ge,Pe){this.type=Uo,this.number=k,this.locale=V,this.currency=oe,this.minFractionDigits=ge,this.maxFractionDigits=Pe};xa.parse=function(k,V){if(k.length!==3)return V.error("Expected two arguments.");var oe=V.parse(k[1],1,la);if(!oe)return null;var ge=k[2];if(typeof ge!="object"||Array.isArray(ge))return V.error("NumberFormat options argument must be an object.");var Pe=null;if(ge.locale&&(Pe=V.parse(ge.locale,1,Uo),!Pe))return null;var qe=null;if(ge.currency&&(qe=V.parse(ge.currency,1,Uo),!qe))return null;var ft=null;if(ge["min-fraction-digits"]&&(ft=V.parse(ge["min-fraction-digits"],1,la),!ft))return null;var Pt=null;return ge["max-fraction-digits"]&&(Pt=V.parse(ge["max-fraction-digits"],1,la),!Pt)?null:new xa(oe,Pe,qe,ft,Pt)},xa.prototype.evaluate=function(k){return new Intl.NumberFormat(this.locale?this.locale.evaluate(k):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(k):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(k):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(k):void 0}).format(this.number.evaluate(k))},xa.prototype.eachChild=function(k){k(this.number),this.locale&&k(this.locale),this.currency&&k(this.currency),this.minFractionDigits&&k(this.minFractionDigits),this.maxFractionDigits&&k(this.maxFractionDigits)},xa.prototype.outputDefined=function(){return!1},xa.prototype.serialize=function(){var k={};return this.locale&&(k.locale=this.locale.serialize()),this.currency&&(k.currency=this.currency.serialize()),this.minFractionDigits&&(k["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(k["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),k]};var Qi=function(k){this.type=la,this.input=k};Qi.parse=function(k,V){if(k.length!==2)return V.error("Expected 1 argument, but found "+(k.length-1)+" instead.");var oe=V.parse(k[1],1);return oe?oe.type.kind!=="array"&&oe.type.kind!=="string"&&oe.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+Qs(oe.type)+" instead."):new Qi(oe):null},Qi.prototype.evaluate=function(k){var V=this.input.evaluate(k);if(typeof V=="string")return V.length;if(Array.isArray(V))return V.length;throw new sl("Expected value to be of type string or array, but found "+Qs(nl(V))+" instead.")},Qi.prototype.eachChild=function(k){k(this.input)},Qi.prototype.outputDefined=function(){return!1},Qi.prototype.serialize=function(){var k=["length"];return this.eachChild(function(V){k.push(V.serialize())}),k};var Lo={"==":di,"!=":wa,">":co,"<":po,">=":Ao,"<=":mo,array:jl,at:cc,boolean:jl,case:Dc,coalesce:Wu,collator:Qu,format:$u,image:ll,in:zl,"index-of":uu,interpolate:Xl,"interpolate-hcl":Xl,"interpolate-lab":Xl,length:Qi,let:bc,literal:Zs,match:fc,number:jl,"number-format":xa,object:jl,slice:rc,step:xu,string:jl,"to-boolean":ds,"to-color":ds,"to-number":ds,"to-string":ds,var:yc,within:Iu};function as(C,k){var V=k[0],oe=k[1],ge=k[2],Pe=k[3];V=V.evaluate(C),oe=oe.evaluate(C),ge=ge.evaluate(C);var qe=Pe?Pe.evaluate(C):1,ft=oc(V,oe,ge,qe);if(ft)throw new sl(ft);return new qs(V/255*qe,oe/255*qe,ge/255*qe,qe)}function Ds(C,k){return C in k}function il(C,k){var V=k[C];return typeof V>"u"?null:V}function Ns(C,k,V,oe){for(;V<=oe;){var ge=V+oe>>1;if(k[ge]===C)return!0;k[ge]>C?oe=ge-1:V=ge+1}return!1}function el(C){return{type:C}}Vo.register(Lo,{error:[$l,[Uo],function(C,k){var V=k[0];throw new sl(V.evaluate(C))}],typeof:[Uo,[no],function(C,k){var V=k[0];return Qs(nl(V.evaluate(C)))}],"to-rgba":[Rl(la,4),[Ps],function(C,k){var V=k[0];return V.evaluate(C).toArray()}],rgb:[Ps,[la,la,la],as],rgba:[Ps,[la,la,la,la],as],has:{type:vo,overloads:[[[Uo],function(C,k){var V=k[0];return Ds(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return Ds(V.evaluate(C),oe.evaluate(C))}]]},get:{type:no,overloads:[[[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return il(V.evaluate(C),oe.evaluate(C))}]]},"feature-state":[no,[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.featureState||{})}],properties:[ls,[],function(C){return C.properties()}],"geometry-type":[Uo,[],function(C){return C.geometryType()}],id:[no,[],function(C){return C.id()}],zoom:[la,[],function(C){return C.globals.zoom}],"heatmap-density":[la,[],function(C){return C.globals.heatmapDensity||0}],"line-progress":[la,[],function(C){return C.globals.lineProgress||0}],accumulated:[no,[],function(C){return C.globals.accumulated===void 0?null:C.globals.accumulated}],"+":[la,el(la),function(C,k){for(var V=0,oe=0,ge=k;oe":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>Pe}],"filter-id->":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>ge}],"filter-<=":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge<=Pe}],"filter-id-<=":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe<=ge}],"filter->=":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>=Pe}],"filter-id->=":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>=ge}],"filter-has":[vo,[no],function(C,k){var V=k[0];return V.value in C.properties()}],"filter-has-id":[vo,[],function(C){return C.id()!==null&&C.id()!==void 0}],"filter-type-in":[vo,[Rl(Uo)],function(C,k){var V=k[0];return V.value.indexOf(C.geometryType())>=0}],"filter-id-in":[vo,[Rl(no)],function(C,k){var V=k[0];return V.value.indexOf(C.id())>=0}],"filter-in-small":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return oe.value.indexOf(C.properties()[V.value])>=0}],"filter-in-large":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return Ns(C.properties()[V.value],oe.value,0,oe.value.length-1)}],all:{type:vo,overloads:[[[vo,vo],function(C,k){var V=k[0],oe=k[1];return V.evaluate(C)&&oe.evaluate(C)}],[el(vo),function(C,k){for(var V=0,oe=k;V-1}function Za(C){return!!C.expression&&C.expression.interpolated}function jo(C){return C instanceof Number?"number":C instanceof String?"string":C instanceof Boolean?"boolean":Array.isArray(C)?"array":C===null?"null":typeof C}function Js(C){return typeof C=="object"&&C!==null&&!Array.isArray(C)}function zs(C){return C}function cu(C,k){var V=k.type==="color",oe=C.stops&&typeof C.stops[0][0]=="object",ge=oe||C.property!==void 0,Pe=oe||!ge,qe=C.type||(Za(k)?"exponential":"interval");if(V&&(C=Xs({},C),C.stops&&(C.stops=C.stops.map(function(Ua){return[Ua[0],qs.parse(Ua[1])]})),C.default?C.default=qs.parse(C.default):C.default=qs.parse(k.default)),C.colorSpace&&C.colorSpace!=="rgb"&&!Nf[C.colorSpace])throw new Error("Unknown color space: "+C.colorSpace);var ft,Pt,Ut;if(qe==="exponential")ft=Tu;else if(qe==="interval")ft=Kc;else if(qe==="categorical"){ft=nc,Pt=Object.create(null);for(var Kt=0,_r=C.stops;Kt<_r.length;Kt+=1){var Vr=_r[Kt];Pt[Vr[0]]=Vr[1]}Ut=typeof C.stops[0][0]}else if(qe==="identity")ft=zc;else throw new Error('Unknown function type "'+qe+'"');if(oe){for(var Or={},dn=[],jn=0;jn=C.stops[oe-1][0])return C.stops[oe-1][1];var ge=tc(C.stops.map(function(Pe){return Pe[0]}),V);return C.stops[ge][1]}function Tu(C,k,V){var oe=C.base!==void 0?C.base:1;if(jo(V)!=="number")return zu(C.default,k.default);var ge=C.stops.length;if(ge===1||V<=C.stops[0][0])return C.stops[0][1];if(V>=C.stops[ge-1][0])return C.stops[ge-1][1];var Pe=tc(C.stops.map(function(_r){return _r[0]}),V),qe=Fu(V,oe,C.stops[Pe][0],C.stops[Pe+1][0]),ft=C.stops[Pe][1],Pt=C.stops[Pe+1][1],Ut=Hu[k.type]||zs;if(C.colorSpace&&C.colorSpace!=="rgb"){var Kt=Nf[C.colorSpace];Ut=function(_r,Vr){return Kt.reverse(Kt.interpolate(Kt.forward(_r),Kt.forward(Vr),qe))}}return typeof ft.evaluate=="function"?{evaluate:function(){for(var Vr=[],Or=arguments.length;Or--;)Vr[Or]=arguments[Or];var dn=ft.evaluate.apply(void 0,Vr),jn=Pt.evaluate.apply(void 0,Vr);if(!(dn===void 0||jn===void 0))return Ut(dn,jn,qe)}}:Ut(ft,Pt,qe)}function zc(C,k,V){return k.type==="color"?V=qs.parse(V):k.type==="formatted"?V=Ql.fromString(V.toString()):k.type==="resolvedImage"?V=Al.fromString(V.toString()):jo(V)!==k.type&&(k.type!=="enum"||!k.values[V])&&(V=void 0),zu(V,C.default,k.default)}function Fu(C,k,V,oe){var ge=oe-V,Pe=C-V;return ge===0?0:k===1?Pe/ge:(Math.pow(k,Pe)-1)/(Math.pow(k,ge)-1)}var wc=function(k,V){this.expression=k,this._warningHistory={},this._evaluator=new Bs,this._defaultValue=V?Ae(V):null,this._enumValues=V&&V.type==="enum"?V.values:null};wc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._evaluator.globals=k,this._evaluator.feature=V,this._evaluator.featureState=oe,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe,this.expression.evaluate(this._evaluator)},wc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){this._evaluator.globals=k,this._evaluator.feature=V||null,this._evaluator.featureState=oe||null,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe||null;try{var ft=this.expression.evaluate(this._evaluator);if(ft==null||typeof ft=="number"&&ft!==ft)return this._defaultValue;if(this._enumValues&&!(ft in this._enumValues))throw new sl("Expected value to be one of "+Object.keys(this._enumValues).map(function(Pt){return JSON.stringify(Pt)}).join(", ")+", but found "+JSON.stringify(ft)+" instead.");return ft}catch(Pt){return this._warningHistory[Pt.message]||(this._warningHistory[Pt.message]=!0,typeof console<"u"&&console.warn(Pt.message)),this._defaultValue}};function bo(C){return Array.isArray(C)&&C.length>0&&typeof C[0]=="string"&&C[0]in Lo}function Wo(C,k){var V=new Dl(Lo,[],k?be(k):void 0),oe=V.parse(C,void 0,void 0,void 0,k&&k.type==="string"?{typeAnnotation:"coerce"}:void 0);return oe?Es(new wc(oe,k)):Bl(V.errors)}var Fc=function(k,V){this.kind=k,this._styleExpression=V,this.isStateDependent=k!=="constant"&&!su(V.expression)};Fc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},Fc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)};var hc=function(k,V,oe,ge){this.kind=k,this.zoomStops=oe,this._styleExpression=V,this.isStateDependent=k!=="camera"&&!su(V.expression),this.interpolationType=ge};hc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},hc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)},hc.prototype.interpolationFactor=function(k,V,oe){return this.interpolationType?Xl.interpolationFactor(this.interpolationType,k,V,oe):0};function dc(C,k){if(C=Wo(C,k),C.result==="error")return C;var V=C.value.expression,oe=eh(V);if(!oe&&!_l(k))return Bl([new As("","data expressions not supported")]);var ge=Ru(V,["zoom"]);if(!ge&&!cl(k))return Bl([new As("","zoom expressions not supported")]);var Pe=ne(V);if(!Pe&&!ge)return Bl([new As("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Pe instanceof As)return Bl([Pe]);if(Pe instanceof Xl&&!Za(k))return Bl([new As("",'"interpolate" expressions cannot be used with this property')]);if(!Pe)return Es(oe?new Fc("constant",C.value):new Fc("source",C.value));var qe=Pe instanceof Xl?Pe.interpolation:void 0;return Es(oe?new hc("camera",C.value,Pe.labels,qe):new hc("composite",C.value,Pe.labels,qe))}var Ne=function(k,V){this._parameters=k,this._specification=V,Xs(this,cu(this._parameters,this._specification))};Ne.deserialize=function(k){return new Ne(k._parameters,k._specification)},Ne.serialize=function(k){return{_parameters:k._parameters,_specification:k._specification}};function R(C,k){if(Js(C))return new Ne(C,k);if(bo(C)){var V=dc(C,k);if(V.result==="error")throw new Error(V.value.map(function(ge){return ge.key+": "+ge.message}).join(", "));return V.value}else{var oe=C;return typeof C=="string"&&k.type==="color"&&(oe=qs.parse(C)),{kind:"constant",evaluate:function(){return oe}}}}function ne(C){var k=null;if(C instanceof bc)k=ne(C.result);else if(C instanceof Wu)for(var V=0,oe=C.args;Voe.maximum?[new Da(k,V,V+" is greater than the maximum value "+oe.maximum)]:[]}function zt(C){var k=C.valueSpec,V=Eo(C.value.type),oe,ge={},Pe,qe,ft=V!=="categorical"&&C.value.property===void 0,Pt=!ft,Ut=jo(C.value.stops)==="array"&&jo(C.value.stops[0])==="array"&&jo(C.value.stops[0][0])==="object",Kt=Fe({key:C.key,value:C.value,valueSpec:C.styleSpec.function,style:C.style,styleSpec:C.styleSpec,objectElementValidators:{stops:_r,default:dn}});return V==="identity"&&ft&&Kt.push(new Da(C.key,C.value,'missing required property "property"')),V!=="identity"&&!C.value.stops&&Kt.push(new Da(C.key,C.value,'missing required property "stops"')),V==="exponential"&&C.valueSpec.expression&&!Za(C.valueSpec)&&Kt.push(new Da(C.key,C.value,"exponential functions not supported")),C.styleSpec.$version>=8&&(Pt&&!_l(C.valueSpec)?Kt.push(new Da(C.key,C.value,"property functions not supported")):ft&&!cl(C.valueSpec)&&Kt.push(new Da(C.key,C.value,"zoom functions not supported"))),(V==="categorical"||Ut)&&C.value.property===void 0&&Kt.push(new Da(C.key,C.value,'"property" property is required')),Kt;function _r(jn){if(V==="identity")return[new Da(jn.key,jn.value,'identity function may not have a "stops" property')];var mi=[],ii=jn.value;return mi=mi.concat(ht({key:jn.key,value:ii,valueSpec:jn.valueSpec,style:jn.style,styleSpec:jn.styleSpec,arrayElementValidator:Vr})),jo(ii)==="array"&&ii.length===0&&mi.push(new Da(jn.key,ii,"array must have at least one stop")),mi}function Vr(jn){var mi=[],ii=jn.value,Vi=jn.key;if(jo(ii)!=="array")return[new Da(Vi,ii,"array expected, "+jo(ii)+" found")];if(ii.length!==2)return[new Da(Vi,ii,"array length 2 expected, length "+ii.length+" found")];if(Ut){if(jo(ii[0])!=="object")return[new Da(Vi,ii,"object expected, "+jo(ii[0])+" found")];if(ii[0].zoom===void 0)return[new Da(Vi,ii,"object stop key must have zoom")];if(ii[0].value===void 0)return[new Da(Vi,ii,"object stop key must have value")];if(qe&&qe>Eo(ii[0].zoom))return[new Da(Vi,ii[0].zoom,"stop zoom values must appear in ascending order")];Eo(ii[0].zoom)!==qe&&(qe=Eo(ii[0].zoom),Pe=void 0,ge={}),mi=mi.concat(Fe({key:Vi+"[0]",value:ii[0],valueSpec:{zoom:{}},style:jn.style,styleSpec:jn.styleSpec,objectElementValidators:{zoom:wt,value:Or}}))}else mi=mi.concat(Or({key:Vi+"[0]",value:ii[0],valueSpec:{},style:jn.style,styleSpec:jn.styleSpec},ii));return bo(Ys(ii[1]))?mi.concat([new Da(Vi+"[1]",ii[1],"expressions are not allowed in function stops.")]):mi.concat(Fo({key:Vi+"[1]",value:ii[1],valueSpec:k,style:jn.style,styleSpec:jn.styleSpec}))}function Or(jn,mi){var ii=jo(jn.value),Vi=Eo(jn.value),Ai=jn.value!==null?jn.value:mi;if(!oe)oe=ii;else if(ii!==oe)return[new Da(jn.key,Ai,ii+" stop domain type must match previous stop domain type "+oe)];if(ii!=="number"&&ii!=="string"&&ii!=="boolean")return[new Da(jn.key,Ai,"stop domain value must be a number, string, or boolean")];if(ii!=="number"&&V!=="categorical"){var ji="number expected, "+ii+" found";return _l(k)&&V===void 0&&(ji+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Da(jn.key,Ai,ji)]}return V==="categorical"&&ii==="number"&&(!isFinite(Vi)||Math.floor(Vi)!==Vi)?[new Da(jn.key,Ai,"integer expected, found "+Vi)]:V!=="categorical"&&ii==="number"&&Pe!==void 0&&Vi=2&&C[1]!=="$id"&&C[1]!=="$type";case"in":return C.length>=3&&(typeof C[1]!="string"||Array.isArray(C[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return C.length!==3||Array.isArray(C[1])||Array.isArray(C[2]);case"any":case"all":for(var k=0,V=C.slice(1);kk?1:0}function dt(C){if(!Array.isArray(C))return!1;if(C[0]==="within")return!0;for(var k=1;k"||k==="<="||k===">="?xt(C[1],C[2],k):k==="any"?It(C.slice(1)):k==="all"?["all"].concat(C.slice(1).map(St)):k==="none"?["all"].concat(C.slice(1).map(St).map(pr)):k==="in"?rr(C[1],C.slice(2)):k==="!in"?pr(rr(C[1],C.slice(2))):k==="has"?sr(C[1]):k==="!has"?pr(sr(C[1])):k==="within"?C:!0;return V}function xt(C,k,V){switch(C){case"$type":return["filter-type-"+V,k];case"$id":return["filter-id-"+V,k];default:return["filter-"+V,C,k]}}function It(C){return["any"].concat(C.map(St))}function rr(C,k){if(k.length===0)return!1;switch(C){case"$type":return["filter-type-in",["literal",k]];case"$id":return["filter-id-in",["literal",k]];default:return k.length>200&&!k.some(function(V){return typeof V!=typeof k[0]})?["filter-in-large",C,["literal",k.sort(st)]]:["filter-in-small",C,["literal",k]]}}function sr(C){switch(C){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",C]}}function pr(C){return["!",C]}function kr(C){return ln(Ys(C.value))?Jt(Xs({},C,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Yr(C)}function Yr(C){var k=C.value,V=C.key;if(jo(k)!=="array")return[new Da(V,k,"array expected, "+jo(k)+" found")];var oe=C.styleSpec,ge,Pe=[];if(k.length<1)return[new Da(V,k,"filter array must have at least 1 element")];switch(Pe=Pe.concat(Hr({key:V+"[0]",value:k[0],valueSpec:oe.filter_operator,style:C.style,styleSpec:C.styleSpec})),Eo(k[0])){case"<":case"<=":case">":case">=":k.length>=2&&Eo(k[1])==="$type"&&Pe.push(new Da(V,k,'"$type" cannot be use with operator "'+k[0]+'"'));case"==":case"!=":k.length!==3&&Pe.push(new Da(V,k,'filter array for operator "'+k[0]+'" must have 3 elements'));case"in":case"!in":k.length>=2&&(ge=jo(k[1]),ge!=="string"&&Pe.push(new Da(V+"[1]",k[1],"string expected, "+ge+" found")));for(var qe=2;qe=Kt[Or+0]&&oe>=Kt[Or+1])?(qe[Vr]=!0,Pe.push(Ut[Vr])):qe[Vr]=!1}}},fu.prototype._forEachCell=function(C,k,V,oe,ge,Pe,qe,ft){for(var Pt=this._convertToCellCoord(C),Ut=this._convertToCellCoord(k),Kt=this._convertToCellCoord(V),_r=this._convertToCellCoord(oe),Vr=Pt;Vr<=Kt;Vr++)for(var Or=Ut;Or<=_r;Or++){var dn=this.d*Or+Vr;if(!(ft&&!ft(this._convertFromCellCoord(Vr),this._convertFromCellCoord(Or),this._convertFromCellCoord(Vr+1),this._convertFromCellCoord(Or+1)))&&ge.call(this,C,k,V,oe,dn,Pe,qe,ft))return}},fu.prototype._convertFromCellCoord=function(C){return(C-this.padding)/this.scale},fu.prototype._convertToCellCoord=function(C){return Math.max(0,Math.min(this.d-1,Math.floor(C*this.scale)+this.padding))},fu.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var C=this.cells,k=El+this.cells.length+1+1,V=0,oe=0;oe=0)){var _r=C[Kt];Ut[Kt]=Yl[Pt].shallow.indexOf(Kt)>=0?_r:mt(_r,k)}C instanceof Error&&(Ut.message=C.message)}if(Ut.$name)throw new Error("$name property is reserved for worker serialization logic.");return Pt!=="Object"&&(Ut.$name=Pt),Ut}throw new Error("can't serialize object of type "+typeof C)}function Tt(C){if(C==null||typeof C=="boolean"||typeof C=="number"||typeof C=="string"||C instanceof Boolean||C instanceof Number||C instanceof String||C instanceof Date||C instanceof RegExp||Qe(C)||vt(C)||ArrayBuffer.isView(C)||C instanceof Tc)return C;if(Array.isArray(C))return C.map(Tt);if(typeof C=="object"){var k=C.$name||"Object",V=Yl[k],oe=V.klass;if(!oe)throw new Error("can't deserialize unregistered class "+k);if(oe.deserialize)return oe.deserialize(C);for(var ge=Object.create(oe.prototype),Pe=0,qe=Object.keys(C);Pe=0?Pt:Tt(Pt)}}return ge}throw new Error("can't deserialize object of type "+typeof C)}var Qt=function(){this.first=!0};Qt.prototype.update=function(k,V){var oe=Math.floor(k);return this.first?(this.first=!1,this.lastIntegerZoom=oe,this.lastIntegerZoomTime=0,this.lastZoom=k,this.lastFloorZoom=oe,!0):(this.lastFloorZoom>oe?(this.lastIntegerZoom=oe+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&C<=255},Arabic:function(C){return C>=1536&&C<=1791},"Arabic Supplement":function(C){return C>=1872&&C<=1919},"Arabic Extended-A":function(C){return C>=2208&&C<=2303},"Hangul Jamo":function(C){return C>=4352&&C<=4607},"Unified Canadian Aboriginal Syllabics":function(C){return C>=5120&&C<=5759},Khmer:function(C){return C>=6016&&C<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(C){return C>=6320&&C<=6399},"General Punctuation":function(C){return C>=8192&&C<=8303},"Letterlike Symbols":function(C){return C>=8448&&C<=8527},"Number Forms":function(C){return C>=8528&&C<=8591},"Miscellaneous Technical":function(C){return C>=8960&&C<=9215},"Control Pictures":function(C){return C>=9216&&C<=9279},"Optical Character Recognition":function(C){return C>=9280&&C<=9311},"Enclosed Alphanumerics":function(C){return C>=9312&&C<=9471},"Geometric Shapes":function(C){return C>=9632&&C<=9727},"Miscellaneous Symbols":function(C){return C>=9728&&C<=9983},"Miscellaneous Symbols and Arrows":function(C){return C>=11008&&C<=11263},"CJK Radicals Supplement":function(C){return C>=11904&&C<=12031},"Kangxi Radicals":function(C){return C>=12032&&C<=12255},"Ideographic Description Characters":function(C){return C>=12272&&C<=12287},"CJK Symbols and Punctuation":function(C){return C>=12288&&C<=12351},Hiragana:function(C){return C>=12352&&C<=12447},Katakana:function(C){return C>=12448&&C<=12543},Bopomofo:function(C){return C>=12544&&C<=12591},"Hangul Compatibility Jamo":function(C){return C>=12592&&C<=12687},Kanbun:function(C){return C>=12688&&C<=12703},"Bopomofo Extended":function(C){return C>=12704&&C<=12735},"CJK Strokes":function(C){return C>=12736&&C<=12783},"Katakana Phonetic Extensions":function(C){return C>=12784&&C<=12799},"Enclosed CJK Letters and Months":function(C){return C>=12800&&C<=13055},"CJK Compatibility":function(C){return C>=13056&&C<=13311},"CJK Unified Ideographs Extension A":function(C){return C>=13312&&C<=19903},"Yijing Hexagram Symbols":function(C){return C>=19904&&C<=19967},"CJK Unified Ideographs":function(C){return C>=19968&&C<=40959},"Yi Syllables":function(C){return C>=40960&&C<=42127},"Yi Radicals":function(C){return C>=42128&&C<=42191},"Hangul Jamo Extended-A":function(C){return C>=43360&&C<=43391},"Hangul Syllables":function(C){return C>=44032&&C<=55215},"Hangul Jamo Extended-B":function(C){return C>=55216&&C<=55295},"Private Use Area":function(C){return C>=57344&&C<=63743},"CJK Compatibility Ideographs":function(C){return C>=63744&&C<=64255},"Arabic Presentation Forms-A":function(C){return C>=64336&&C<=65023},"Vertical Forms":function(C){return C>=65040&&C<=65055},"CJK Compatibility Forms":function(C){return C>=65072&&C<=65103},"Small Form Variants":function(C){return C>=65104&&C<=65135},"Arabic Presentation Forms-B":function(C){return C>=65136&&C<=65279},"Halfwidth and Fullwidth Forms":function(C){return C>=65280&&C<=65519}};function lr(C){for(var k=0,V=C;k=65097&&C<=65103)||Dt["CJK Compatibility Ideographs"](C)||Dt["CJK Compatibility"](C)||Dt["CJK Radicals Supplement"](C)||Dt["CJK Strokes"](C)||Dt["CJK Symbols and Punctuation"](C)&&!(C>=12296&&C<=12305)&&!(C>=12308&&C<=12319)&&C!==12336||Dt["CJK Unified Ideographs Extension A"](C)||Dt["CJK Unified Ideographs"](C)||Dt["Enclosed CJK Letters and Months"](C)||Dt["Hangul Compatibility Jamo"](C)||Dt["Hangul Jamo Extended-A"](C)||Dt["Hangul Jamo Extended-B"](C)||Dt["Hangul Jamo"](C)||Dt["Hangul Syllables"](C)||Dt.Hiragana(C)||Dt["Ideographic Description Characters"](C)||Dt.Kanbun(C)||Dt["Kangxi Radicals"](C)||Dt["Katakana Phonetic Extensions"](C)||Dt.Katakana(C)&&C!==12540||Dt["Halfwidth and Fullwidth Forms"](C)&&C!==65288&&C!==65289&&C!==65293&&!(C>=65306&&C<=65310)&&C!==65339&&C!==65341&&C!==65343&&!(C>=65371&&C<=65503)&&C!==65507&&!(C>=65512&&C<=65519)||Dt["Small Form Variants"](C)&&!(C>=65112&&C<=65118)&&!(C>=65123&&C<=65126)||Dt["Unified Canadian Aboriginal Syllabics"](C)||Dt["Unified Canadian Aboriginal Syllabics Extended"](C)||Dt["Vertical Forms"](C)||Dt["Yijing Hexagram Symbols"](C)||Dt["Yi Syllables"](C)||Dt["Yi Radicals"](C))}function ti(C){return!!(Dt["Latin-1 Supplement"](C)&&(C===167||C===169||C===174||C===177||C===188||C===189||C===190||C===215||C===247)||Dt["General Punctuation"](C)&&(C===8214||C===8224||C===8225||C===8240||C===8241||C===8251||C===8252||C===8258||C===8263||C===8264||C===8265||C===8273)||Dt["Letterlike Symbols"](C)||Dt["Number Forms"](C)||Dt["Miscellaneous Technical"](C)&&(C>=8960&&C<=8967||C>=8972&&C<=8991||C>=8996&&C<=9e3||C===9003||C>=9085&&C<=9114||C>=9150&&C<=9165||C===9167||C>=9169&&C<=9179||C>=9186&&C<=9215)||Dt["Control Pictures"](C)&&C!==9251||Dt["Optical Character Recognition"](C)||Dt["Enclosed Alphanumerics"](C)||Dt["Geometric Shapes"](C)||Dt["Miscellaneous Symbols"](C)&&!(C>=9754&&C<=9759)||Dt["Miscellaneous Symbols and Arrows"](C)&&(C>=11026&&C<=11055||C>=11088&&C<=11097||C>=11192&&C<=11243)||Dt["CJK Symbols and Punctuation"](C)||Dt.Katakana(C)||Dt["Private Use Area"](C)||Dt["CJK Compatibility Forms"](C)||Dt["Small Form Variants"](C)||Dt["Halfwidth and Fullwidth Forms"](C)||C===8734||C===8756||C===8757||C>=9984&&C<=10087||C>=10102&&C<=10131||C===65532||C===65533)}function ai(C){return!(yn(C)||ti(C))}function En(C){return Dt.Arabic(C)||Dt["Arabic Supplement"](C)||Dt["Arabic Extended-A"](C)||Dt["Arabic Presentation Forms-A"](C)||Dt["Arabic Presentation Forms-B"](C)}function qn(C){return C>=1424&&C<=2303||Dt["Arabic Presentation Forms-A"](C)||Dt["Arabic Presentation Forms-B"](C)}function Jn(C,k){return!(!k&&qn(C)||C>=2304&&C<=3583||C>=3840&&C<=4255||Dt.Khmer(C))}function ci(C){for(var k=0,V=C;k-1&&(oa=Hn.error),ta&&ta(C)};function io(){oo.fire(new Lr("pluginStateChange",{pluginStatus:oa,pluginURL:_a}))}var oo=new Dr,Qo=function(){return oa},uo=function(C){return C({pluginStatus:oa,pluginURL:_a}),oo.on("pluginStateChange",C),C},Jo=function(C,k,V){if(V===void 0&&(V=!1),oa===Hn.deferred||oa===Hn.loading||oa===Hn.loaded)throw new Error("setRTLTextPlugin cannot be called multiple times.");_a=xe.resolveURL(C),oa=Hn.deferred,ta=k,io(),V||ol()},ol=function(){if(oa!==Hn.deferred||!_a)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");oa=Hn.loading,io(),_a&&xn({url:_a},function(C){C?La(C):(oa=Hn.loaded,io())})},tl={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return oa===Hn.loaded||tl.applyArabicShaping!=null},isLoading:function(){return oa===Hn.loading},setState:function(k){oa=k.pluginStatus,_a=k.pluginURL},isParsed:function(){return tl.applyArabicShaping!=null&&tl.processBidirectionalText!=null&&tl.processStyledBidirectionalText!=null},getPluginURL:function(){return _a}},ml=function(){!tl.isLoading()&&!tl.isLoaded()&&Qo()==="deferred"&&ol()},ua=function(k,V){this.zoom=k,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Qt,this.transition={})};ua.prototype.isSupportedScript=function(k){return oi(k,tl.isLoaded())},ua.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ua.prototype.getCrossfadeParameters=function(){var k=this.zoom,V=k-Math.floor(k),oe=this.crossFadingFactor();return k>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*oe}:{fromScale:.5,toScale:1,t:1-(1-oe)*V}};var wo=function(k,V){this.property=k,this.value=V,this.expression=R(V===void 0?k.specification.default:V,k.specification)};wo.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},wo.prototype.possiblyEvaluate=function(k,V,oe){return this.property.possiblyEvaluate(this,k,V,oe)};var ys=function(k){this.property=k,this.value=new wo(k,void 0)};ys.prototype.transitioned=function(k,V){return new xl(this.property,this.value,V,m({},k.transition,this.transition),k.now)},ys.prototype.untransitioned=function(){return new xl(this.property,this.value,null,{},0)};var Ms=function(k){this._properties=k,this._values=Object.create(k.defaultTransitionablePropertyValues)};Ms.prototype.getValue=function(k){return O(this._values[k].value.value)},Ms.prototype.setValue=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].value=new wo(this._values[k].property,V===null?void 0:O(V))},Ms.prototype.getTransition=function(k){return O(this._values[k].transition)},Ms.prototype.setTransition=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].transition=O(V)||void 0},Ms.prototype.serialize=function(){for(var k={},V=0,oe=Object.keys(this._values);Vthis.end)return this.prior=null,Pe;if(this.value.isDataDriven())return this.prior=null,Pe;if(geqe.zoomHistory.lastIntegerZoom?{from:oe,to:ge}:{from:Pe,to:ge}},k.prototype.interpolate=function(oe){return oe},k}(cn),xi=function(k){this.specification=k};xi.prototype.possiblyEvaluate=function(k,V,oe,ge){if(k.value!==void 0)if(k.expression.kind==="constant"){var Pe=k.expression.evaluate(V,null,{},oe,ge);return this._calculate(Pe,Pe,Pe,V)}else return this._calculate(k.expression.evaluate(new ua(Math.floor(V.zoom-1),V)),k.expression.evaluate(new ua(Math.floor(V.zoom),V)),k.expression.evaluate(new ua(Math.floor(V.zoom+1),V)),V)},xi.prototype._calculate=function(k,V,oe,ge){var Pe=ge.zoom;return Pe>ge.zoomHistory.lastIntegerZoom?{from:k,to:V}:{from:oe,to:V}},xi.prototype.interpolate=function(k){return k};var Ni=function(k){this.specification=k};Ni.prototype.possiblyEvaluate=function(k,V,oe,ge){return!!k.expression.evaluate(V,null,{},oe,ge)},Ni.prototype.interpolate=function(){return!1};var Fi=function(k){this.properties=k,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var V in k){var oe=k[V];oe.specification.overridable&&this.overridableProperties.push(V);var ge=this.defaultPropertyValues[V]=new wo(oe,void 0),Pe=this.defaultTransitionablePropertyValues[V]=new ys(oe);this.defaultTransitioningPropertyValues[V]=Pe.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=ge.possiblyEvaluate({})}};de("DataDrivenProperty",cn),de("DataConstantProperty",tr),de("CrossFadedDataDrivenProperty",Ln),de("CrossFadedProperty",xi),de("ColorRampProperty",Ni);var Oi="-transition",na=function(C){function k(V,oe){if(C.call(this),this.id=V.id,this.type=V.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},V.type!=="custom"&&(V=V,this.metadata=V.metadata,this.minzoom=V.minzoom,this.maxzoom=V.maxzoom,V.type!=="background"&&(this.source=V.source,this.sourceLayer=V["source-layer"],this.filter=V.filter),oe.layout&&(this._unevaluatedLayout=new gu(oe.layout)),oe.paint)){this._transitionablePaint=new Ms(oe.paint);for(var ge in V.paint)this.setPaintProperty(ge,V.paint[ge],{validate:!1});for(var Pe in V.layout)this.setLayoutProperty(Pe,V.layout[Pe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new vc(oe.paint)}}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},k.prototype.getLayoutProperty=function(oe){return oe==="visibility"?this.visibility:this._unevaluatedLayout.getValue(oe)},k.prototype.setLayoutProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe="layers."+this.id+".layout."+oe;if(this._validate(eu,qe,oe,ge,Pe))return}if(oe==="visibility"){this.visibility=ge;return}this._unevaluatedLayout.setValue(oe,ge)},k.prototype.getPaintProperty=function(oe){return z(oe,Oi)?this._transitionablePaint.getTransition(oe.slice(0,-Oi.length)):this._transitionablePaint.getValue(oe)},k.prototype.setPaintProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe="layers."+this.id+".paint."+oe;if(this._validate(Nl,qe,oe,ge,Pe))return!1}if(z(oe,Oi))return this._transitionablePaint.setTransition(oe.slice(0,-Oi.length),ge||void 0),!1;var ft=this._transitionablePaint._values[oe],Pt=ft.property.specification["property-type"]==="cross-faded-data-driven",Ut=ft.value.isDataDriven(),Kt=ft.value;this._transitionablePaint.setValue(oe,ge),this._handleSpecialPaintPropertyUpdate(oe);var _r=this._transitionablePaint._values[oe].value,Vr=_r.isDataDriven();return Vr||Ut||Pt||this._handleOverridablePaintPropertyUpdate(oe,Kt,_r)},k.prototype._handleSpecialPaintPropertyUpdate=function(oe){},k.prototype._handleOverridablePaintPropertyUpdate=function(oe,ge,Pe){return!1},k.prototype.isHidden=function(oe){return this.minzoom&&oe=this.maxzoom?!0:this.visibility==="none"},k.prototype.updateTransitions=function(oe){this._transitioningPaint=this._transitionablePaint.transitioned(oe,this._transitioningPaint)},k.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},k.prototype.recalculate=function(oe,ge){oe.getCrossfadeParameters&&(this._crossfadeParameters=oe.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(oe,void 0,ge)),this.paint=this._transitioningPaint.possiblyEvaluate(oe,void 0,ge)},k.prototype.serialize=function(){var oe={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(oe.layout=oe.layout||{},oe.layout.visibility=this.visibility),B(oe,function(ge,Pe){return ge!==void 0&&!(Pe==="layout"&&!Object.keys(ge).length)&&!(Pe==="paint"&&!Object.keys(ge).length)})},k.prototype._validate=function(oe,ge,Pe,qe,ft){return ft===void 0&&(ft={}),ft&&ft.validate===!1?!1:Xu(this,oe.call(os,{key:ge,layerType:this.type,objectKey:Pe,value:qe,styleSpec:Mi,style:{glyphs:!0,sprite:!0}}))},k.prototype.is3D=function(){return!1},k.prototype.isTileClipped=function(){return!1},k.prototype.hasOffscreenPass=function(){return!1},k.prototype.resize=function(){},k.prototype.isStateDependent=function(){for(var oe in this.paint._values){var ge=this.paint.get(oe);if(!(!(ge instanceof Fl)||!_l(ge.property.specification))&&(ge.value.kind==="source"||ge.value.kind==="composite")&&ge.value.isStateDependent)return!0}return!1},k}(Dr),Ca={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ka=function(k,V){this._structArray=k,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ha=128,Xo=5,Aa=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};Aa.serialize=function(k,V){return k._trim(),V&&(k.isTransferred=!0,V.push(k.arrayBuffer)),{length:k.length,arrayBuffer:k.arrayBuffer}},Aa.deserialize=function(k){var V=Object.create(this.prototype);return V.arrayBuffer=k.arrayBuffer,V.length=k.length,V.capacity=k.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Aa.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Aa.prototype.clear=function(){this.length=0},Aa.prototype.resize=function(k){this.reserve(k),this.length=k},Aa.prototype.reserve=function(k){if(k>this.capacity){this.capacity=Math.max(k,Math.floor(this.capacity*Xo),ha),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Aa.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};function Ma(C,k){k===void 0&&(k=1);var V=0,oe=0,ge=C.map(function(qe){var ft=ia(qe.type),Pt=V=wi(V,Math.max(k,ft)),Ut=qe.components||1;return oe=Math.max(oe,ft),V+=ft*Ut,{name:qe.name,type:qe.type,components:Ut,offset:Pt}}),Pe=wi(V,Math.max(oe,k));return{members:ge,size:Pe,alignment:k}}function ia(C){return Ca[C].BYTES_PER_ELEMENT}function wi(C,k){return Math.ceil(C/k)*k}var qi=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.int16[qe+0]=ge,this.int16[qe+1]=Pe,oe},k}(Aa);qi.prototype.bytesPerElement=4,de("StructArrayLayout2i4",qi);var ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.int16[Pt+0]=ge,this.int16[Pt+1]=Pe,this.int16[Pt+2]=qe,this.int16[Pt+3]=ft,oe},k}(Aa);ba.prototype.bytesPerElement=8,de("StructArrayLayout4i8",ba);var Pa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Pa.prototype.bytesPerElement=12,de("StructArrayLayout2i4i12",Pa);var ca=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*4,_r=oe*8;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.uint8[_r+4]=qe,this.uint8[_r+5]=ft,this.uint8[_r+6]=Pt,this.uint8[_r+7]=Ut,oe},k}(Aa);ca.prototype.bytesPerElement=8,de("StructArrayLayout2i4ub8",ca);var $a=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.float32[qe+0]=ge,this.float32[qe+1]=Pe,oe},k}(Aa);$a.prototype.bytesPerElement=8,de("StructArrayLayout2f8",$a);var Ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=this.length;return this.resize(Or+1),this.emplace(Or,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or){var dn=oe*10;return this.uint16[dn+0]=ge,this.uint16[dn+1]=Pe,this.uint16[dn+2]=qe,this.uint16[dn+3]=ft,this.uint16[dn+4]=Pt,this.uint16[dn+5]=Ut,this.uint16[dn+6]=Kt,this.uint16[dn+7]=_r,this.uint16[dn+8]=Vr,this.uint16[dn+9]=Or,oe},k}(Aa);Ba.prototype.bytesPerElement=20,de("StructArrayLayout10ui20",Ba);var Oo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn){var jn=this.length;return this.resize(jn+1),this.emplace(jn,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn){var mi=oe*12;return this.int16[mi+0]=ge,this.int16[mi+1]=Pe,this.int16[mi+2]=qe,this.int16[mi+3]=ft,this.uint16[mi+4]=Pt,this.uint16[mi+5]=Ut,this.uint16[mi+6]=Kt,this.uint16[mi+7]=_r,this.int16[mi+8]=Vr,this.int16[mi+9]=Or,this.int16[mi+10]=dn,this.int16[mi+11]=jn,oe},k}(Aa);Oo.prototype.bytesPerElement=24,de("StructArrayLayout4i4ui4i24",Oo);var va=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.float32[ft+0]=ge,this.float32[ft+1]=Pe,this.float32[ft+2]=qe,oe},k}(Aa);va.prototype.bytesPerElement=12,de("StructArrayLayout3f12",va);var sa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint32[Pe+0]=ge,oe},k}(Aa);sa.prototype.bytesPerElement=4,de("StructArrayLayout1ul4",sa);var fo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r){var Vr=this.length;return this.resize(Vr+1),this.emplace(Vr,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=oe*10,dn=oe*5;return this.int16[Or+0]=ge,this.int16[Or+1]=Pe,this.int16[Or+2]=qe,this.int16[Or+3]=ft,this.int16[Or+4]=Pt,this.int16[Or+5]=Ut,this.uint32[dn+3]=Kt,this.uint16[Or+8]=_r,this.uint16[Or+9]=Vr,oe},k}(Aa);fo.prototype.bytesPerElement=20,de("StructArrayLayout6i1ul2ui20",fo);var Ja=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Ja.prototype.bytesPerElement=12,de("StructArrayLayout2i2i2i12",Ja);var Fa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft){var Pt=this.length;return this.resize(Pt+1),this.emplace(Pt,oe,ge,Pe,qe,ft)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt){var Ut=oe*4,Kt=oe*8;return this.float32[Ut+0]=ge,this.float32[Ut+1]=Pe,this.float32[Ut+2]=qe,this.int16[Kt+6]=ft,this.int16[Kt+7]=Pt,oe},k}(Aa);Fa.prototype.bytesPerElement=16,de("StructArrayLayout2f1f2i16",Fa);var Ia=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*12,Ut=oe*3;return this.uint8[Pt+0]=ge,this.uint8[Pt+1]=Pe,this.float32[Ut+1]=qe,this.float32[Ut+2]=ft,oe},k}(Aa);Ia.prototype.bytesPerElement=12,de("StructArrayLayout2ub2f12",Ia);var ao=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.uint16[ft+0]=ge,this.uint16[ft+1]=Pe,this.uint16[ft+2]=qe,oe},k}(Aa);ao.prototype.bytesPerElement=6,de("StructArrayLayout3ui6",ao);var Zo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai){var ji=this.length;return this.resize(ji+1),this.emplace(ji,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji){var Yi=oe*24,ga=oe*12,Ga=oe*48;return this.int16[Yi+0]=ge,this.int16[Yi+1]=Pe,this.uint16[Yi+2]=qe,this.uint16[Yi+3]=ft,this.uint32[ga+2]=Pt,this.uint32[ga+3]=Ut,this.uint32[ga+4]=Kt,this.uint16[Yi+10]=_r,this.uint16[Yi+11]=Vr,this.uint16[Yi+12]=Or,this.float32[ga+7]=dn,this.float32[ga+8]=jn,this.uint8[Ga+36]=mi,this.uint8[Ga+37]=ii,this.uint8[Ga+38]=Vi,this.uint32[ga+10]=Ai,this.int16[Yi+22]=ji,oe},k}(Aa);Zo.prototype.bytesPerElement=48,de("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Zo);var ps=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do){var Gs=this.length;return this.resize(Gs+1),this.emplace(Gs,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do,Gs){var Ts=oe*34,kl=oe*17;return this.int16[Ts+0]=ge,this.int16[Ts+1]=Pe,this.int16[Ts+2]=qe,this.int16[Ts+3]=ft,this.int16[Ts+4]=Pt,this.int16[Ts+5]=Ut,this.int16[Ts+6]=Kt,this.int16[Ts+7]=_r,this.uint16[Ts+8]=Vr,this.uint16[Ts+9]=Or,this.uint16[Ts+10]=dn,this.uint16[Ts+11]=jn,this.uint16[Ts+12]=mi,this.uint16[Ts+13]=ii,this.uint16[Ts+14]=Vi,this.uint16[Ts+15]=Ai,this.uint16[Ts+16]=ji,this.uint16[Ts+17]=Yi,this.uint16[Ts+18]=ga,this.uint16[Ts+19]=Ga,this.uint16[Ts+20]=Ua,this.uint16[Ts+21]=Co,this.uint16[Ts+22]=so,this.uint32[kl+12]=xo,this.float32[kl+13]=Ss,this.float32[kl+14]=ko,this.float32[kl+15]=Do,this.float32[kl+16]=Gs,oe},k}(Aa);ps.prototype.bytesPerElement=68,de("StructArrayLayout8i15ui1ul4f68",ps);var Na=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.float32[Pe+0]=ge,oe},k}(Aa);Na.prototype.bytesPerElement=4,de("StructArrayLayout1f4",Na);var Mo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.int16[ft+0]=ge,this.int16[ft+1]=Pe,this.int16[ft+2]=qe,oe},k}(Aa);Mo.prototype.bytesPerElement=6,de("StructArrayLayout3i6",Mo);var ss=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*2,Pt=oe*4;return this.uint32[ft+0]=ge,this.uint16[Pt+2]=Pe,this.uint16[Pt+3]=qe,oe},k}(Aa);ss.prototype.bytesPerElement=8,de("StructArrayLayout1ul2ui8",ss);var _s=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.uint16[qe+0]=ge,this.uint16[qe+1]=Pe,oe},k}(Aa);_s.prototype.bytesPerElement=4,de("StructArrayLayout2ui4",_s);var Fs=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint16[Pe+0]=ge,oe},k}(Aa);Fs.prototype.bytesPerElement=2,de("StructArrayLayout1ui2",Fs);var iu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.float32[Pt+0]=ge,this.float32[Pt+1]=Pe,this.float32[Pt+2]=qe,this.float32[Pt+3]=ft,oe},k}(Aa);iu.prototype.bytesPerElement=16,de("StructArrayLayout4f16",iu);var Oc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return V.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},V.x1.get=function(){return this._structArray.int16[this._pos2+2]},V.y1.get=function(){return this._structArray.int16[this._pos2+3]},V.x2.get=function(){return this._structArray.int16[this._pos2+4]},V.y2.get=function(){return this._structArray.int16[this._pos2+5]},V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(k.prototype,V),k}(ka);Oc.prototype.size=20;var rl=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Oc(this,oe)},k}(fo);de("CollisionBoxArray",rl);var Bc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},V.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},V.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},V.segment.get=function(){return this._structArray.uint16[this._pos2+10]},V.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},V.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},V.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},V.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},V.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},V.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},V.placedOrientation.set=function(oe){this._structArray.uint8[this._pos1+37]=oe},V.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},V.hidden.set=function(oe){this._structArray.uint8[this._pos1+38]=oe},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+10]=oe},V.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(k.prototype,V),k}(ka);Bc.prototype.size=48;var ql=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Bc(this,oe)},k}(Zo);de("PlacedSymbolArray",ql);var pc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},V.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},V.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},V.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},V.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},V.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},V.key.get=function(){return this._structArray.uint16[this._pos2+8]},V.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},V.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},V.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},V.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},V.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},V.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},V.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},V.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},V.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},V.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},V.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},V.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},V.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+12]=oe},V.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},V.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},V.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},V.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(k.prototype,V),k}(ka);pc.prototype.size=68;var mc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new pc(this,oe)},k}(ps);de("SymbolInstanceArray",mc);var Jc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getoffsetX=function(oe){return this.float32[oe*1+0]},k}(Na);de("GlyphOffsetArray",Jc);var tu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getx=function(oe){return this.int16[oe*3+0]},k.prototype.gety=function(oe){return this.int16[oe*3+1]},k.prototype.gettileUnitDistanceFromAnchor=function(oe){return this.int16[oe*3+2]},k}(Mo);de("SymbolLineVertexArray",tu);var Ac=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(k.prototype,V),k}(ka);Ac.prototype.size=8;var Nc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Ac(this,oe)},k}(ss);de("FeatureIndexArray",Nc);var Hs=Ma([{name:"a_pos",components:2,type:"Int16"}],4),$c=Hs.members,Us=function(k){k===void 0&&(k=[]),this.segments=k};Us.prototype.prepareSegment=function(k,V,oe,ge){var Pe=this.segments[this.segments.length-1];return k>Us.MAX_VERTEX_ARRAY_LENGTH&&U("Max vertices per segment is "+Us.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+k),(!Pe||Pe.vertexLength+k>Us.MAX_VERTEX_ARRAY_LENGTH||Pe.sortKey!==ge)&&(Pe={vertexOffset:V.length,primitiveOffset:oe.length,vertexLength:0,primitiveLength:0},ge!==void 0&&(Pe.sortKey=ge),this.segments.push(Pe)),Pe},Us.prototype.get=function(){return this.segments},Us.prototype.destroy=function(){for(var k=0,V=this.segments;k>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt,qe=qe<<13|qe>>>19,ft=(qe&65535)*5+(((qe>>>16)*5&65535)<<16)&4294967295,qe=(ft&65535)+27492+(((ft>>>16)+58964&65535)<<16);switch(Kt=0,ge){case 3:Kt^=(V.charCodeAt(_r+2)&255)<<16;case 2:Kt^=(V.charCodeAt(_r+1)&255)<<8;case 1:Kt^=V.charCodeAt(_r)&255,Kt=(Kt&65535)*Pt+(((Kt>>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt}return qe^=V.length,qe^=qe>>>16,qe=(qe&65535)*2246822507+(((qe>>>16)*2246822507&65535)<<16)&4294967295,qe^=qe>>>13,qe=(qe&65535)*3266489909+(((qe>>>16)*3266489909&65535)<<16)&4294967295,qe^=qe>>>16,qe>>>0}C.exports=k}),te=t(function(C){function k(V,oe){for(var ge=V.length,Pe=oe^ge,qe=0,ft;ge>=4;)ft=V.charCodeAt(qe)&255|(V.charCodeAt(++qe)&255)<<8|(V.charCodeAt(++qe)&255)<<16|(V.charCodeAt(++qe)&255)<<24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),ft^=ft>>>24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)^ft,ge-=4,++qe;switch(ge){case 3:Pe^=(V.charCodeAt(qe+2)&255)<<16;case 2:Pe^=(V.charCodeAt(qe+1)&255)<<8;case 1:Pe^=V.charCodeAt(qe)&255,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)}return Pe^=Pe>>>13,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16),Pe^=Pe>>>15,Pe>>>0}C.exports=k}),ye=me,Ze=me,We=te;ye.murmur3=Ze,ye.murmur2=We;var lt=function(){this.ids=[],this.positions=[],this.indexed=!1};lt.prototype.add=function(k,V,oe,ge){this.ids.push(Wt(k)),this.positions.push(V,oe,ge)},lt.prototype.getPositions=function(k){for(var V=Wt(k),oe=0,ge=this.ids.length-1;oe>1;this.ids[Pe]>=V?ge=Pe:oe=Pe+1}for(var qe=[];this.ids[oe]===V;){var ft=this.positions[3*oe],Pt=this.positions[3*oe+1],Ut=this.positions[3*oe+2];qe.push({index:ft,start:Pt,end:Ut}),oe++}return qe},lt.serialize=function(k,V){var oe=new Float64Array(k.ids),ge=new Uint32Array(k.positions);return xr(oe,ge,0,oe.length-1),V&&V.push(oe.buffer,ge.buffer),{ids:oe,positions:ge}},lt.deserialize=function(k){var V=new lt;return V.ids=k.ids,V.positions=k.positions,V.indexed=!0,V};var Ct=Math.pow(2,53)-1;function Wt(C){var k=+C;return!isNaN(k)&&k<=Ct?k:ye(String(C))}function xr(C,k,V,oe){for(;V>1],Pe=V-1,qe=oe+1;;){do Pe++;while(C[Pe]ge);if(Pe>=qe)break;Fr(C,Pe,qe),Fr(k,3*Pe,3*qe),Fr(k,3*Pe+1,3*qe+1),Fr(k,3*Pe+2,3*qe+2)}qe-Vqe.x+1||Ptqe.y+1)&&U("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return V}function Cs(C,k){return{type:C.type,id:C.id,properties:C.properties,geometry:k?Qa(C):[]}}function ws(C,k,V,oe,ge){C.emplaceBack(k*2+(oe+1)/2,V*2+(ge+1)/2)}var $s=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new qi,this.indexArray=new ao,this.segments=new Us,this.programConfigurations=new Pi(k.layers,k.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};$s.prototype.populate=function(k,V,oe){var ge=this.layers[0],Pe=[],qe=null;ge.type==="circle"&&(qe=ge.layout.get("circle-sort-key"));for(var ft=0,Pt=k;ft=$i||Vr<0||Vr>=$i)){var Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,k.sortKey),dn=Or.vertexLength;ws(this.layoutVertexArray,_r,Vr,-1,-1),ws(this.layoutVertexArray,_r,Vr,1,-1),ws(this.layoutVertexArray,_r,Vr,1,1),ws(this.layoutVertexArray,_r,Vr,-1,1),this.indexArray.emplaceBack(dn,dn+1,dn+2),this.indexArray.emplaceBack(dn,dn+3,dn+2),Or.vertexLength+=4,Or.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,k,oe,{},ge)},de("CircleBucket",$s,{omit:["layers"]});function rs(C,k){for(var V=0;V=3){for(var Pe=0;Pe1){if(Jh(C,k))return!0;for(var oe=0;oe1?C.distSqr(V):C.distSqr(V.sub(k)._mult(ge)._add(k))}function _d(C,k){for(var V=!1,oe,ge,Pe,qe=0;qek.y!=Pe.y>k.y&&k.x<(Pe.x-ge.x)*(k.y-ge.y)/(Pe.y-ge.y)+ge.x&&(V=!V)}return V}function hh(C,k){for(var V=!1,oe=0,ge=C.length-1;oek.y!=qe.y>k.y&&k.x<(qe.x-Pe.x)*(k.y-Pe.y)/(qe.y-Pe.y)+Pe.x&&(V=!V)}return V}function xd(C,k,V,oe,ge){for(var Pe=0,qe=C;Pe=ft.x&&ge>=ft.y)return!0}var Pt=[new i(k,V),new i(k,ge),new i(oe,ge),new i(oe,V)];if(C.length>2)for(var Ut=0,Kt=Pt;Utge.x&&k.x>ge.x||C.yge.y&&k.y>ge.y)return!1;var Pe=W(C,k,V[0]);return Pe!==W(C,k,V[1])||Pe!==W(C,k,V[2])||Pe!==W(C,k,V[3])}function dh(C,k,V){var oe=k.paint.get(C).value;return oe.kind==="constant"?oe.value:V.programConfigurations.get(k.id).getMaxValue(C)}function $h(C){return Math.sqrt(C[0]*C[0]+C[1]*C[1])}function ld(C,k,V,oe,ge){if(!k[0]&&!k[1])return C;var Pe=i.convert(k)._mult(ge);V==="viewport"&&Pe._rotate(-oe);for(var qe=[],ft=0;ft0&&(Pe=1/Math.sqrt(Pe)),C[0]=k[0]*Pe,C[1]=k[1]*Pe,C[2]=k[2]*Pe,C}function Pb(C,k){return C[0]*k[0]+C[1]*k[1]+C[2]*k[2]}function Ib(C,k,V){var oe=k[0],ge=k[1],Pe=k[2],qe=V[0],ft=V[1],Pt=V[2];return C[0]=ge*Pt-Pe*ft,C[1]=Pe*qe-oe*Pt,C[2]=oe*ft-ge*qe,C}function Rb(C,k,V){var oe=k[0],ge=k[1],Pe=k[2];return C[0]=oe*V[0]+ge*V[3]+Pe*V[6],C[1]=oe*V[1]+ge*V[4]+Pe*V[7],C[2]=oe*V[2]+ge*V[5]+Pe*V[8],C}var Db=bv,JM=function(){var C=xv();return function(k,V,oe,ge,Pe,qe){var ft,Pt;for(V||(V=3),oe||(oe=0),ge?Pt=Math.min(ge*V+oe,k.length):Pt=k.length,ft=oe;ftC.width||ge.height>C.height||V.x>C.width-ge.width||V.y>C.height-ge.height)throw new RangeError("out of range source coordinates for image copy");if(ge.width>k.width||ge.height>k.height||oe.x>k.width-ge.width||oe.y>k.height-ge.height)throw new RangeError("out of range destination coordinates for image copy");for(var qe=C.data,ft=k.data,Pt=0;Pt80*V){ft=Ut=C[0],Pt=Kt=C[1];for(var dn=V;dnUt&&(Ut=_r),Vr>Kt&&(Kt=Vr);Or=Math.max(Ut-ft,Kt-Pt),Or=Or!==0?1/Or:0}return sm(Pe,qe,V,ft,Pt,Or),qe}function lg(C,k,V,oe,ge){var Pe,qe;if(ge===Ey(C,k,V,oe)>0)for(Pe=k;Pe=k;Pe-=oe)qe=h1(Pe,C[Pe],C[Pe+1],qe);return qe&&um(qe,qe.next)&&(hm(qe),qe=qe.next),qe}function wv(C,k){if(!C)return C;k||(k=C);var V=C,oe;do if(oe=!1,!V.steiner&&(um(V,V.next)||Uc(V.prev,V,V.next)===0)){if(hm(V),V=k=V.prev,V===V.next)break;oe=!0}else V=V.next;while(oe||V!==k);return k}function sm(C,k,V,oe,ge,Pe,qe){if(C){!qe&&Pe&&ug(C,oe,ge,Pe);for(var ft=C,Pt,Ut;C.prev!==C.next;){if(Pt=C.prev,Ut=C.next,Pe?u1(C,oe,ge,Pe):l1(C)){k.push(Pt.i/V),k.push(C.i/V),k.push(Ut.i/V),hm(C),C=Ut.next,ft=Ut.next;continue}if(C=Ut,C===ft){qe?qe===1?(C=lm(wv(C),k,V),sm(C,k,V,oe,ge,Pe,2)):qe===2&&Bd(C,k,V,oe,ge,Pe):sm(wv(C),k,V,oe,ge,Pe,1);break}}}}function l1(C){var k=C.prev,V=C,oe=C.next;if(Uc(k,V,oe)>=0)return!1;for(var ge=C.next.next;ge!==C.prev;){if(Av(k.x,k.y,V.x,V.y,oe.x,oe.y,ge.x,ge.y)&&Uc(ge.prev,ge,ge.next)>=0)return!1;ge=ge.next}return!0}function u1(C,k,V,oe){var ge=C.prev,Pe=C,qe=C.next;if(Uc(ge,Pe,qe)>=0)return!1;for(var ft=ge.xPe.x?ge.x>qe.x?ge.x:qe.x:Pe.x>qe.x?Pe.x:qe.x,Kt=ge.y>Pe.y?ge.y>qe.y?ge.y:qe.y:Pe.y>qe.y?Pe.y:qe.y,_r=Ty(ft,Pt,k,V,oe),Vr=Ty(Ut,Kt,k,V,oe),Or=C.prevZ,dn=C.nextZ;Or&&Or.z>=_r&&dn&&dn.z<=Vr;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0||(Or=Or.prevZ,dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0))return!1;dn=dn.nextZ}for(;Or&&Or.z>=_r;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0)return!1;Or=Or.prevZ}for(;dn&&dn.z<=Vr;){if(dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0)return!1;dn=dn.nextZ}return!0}function lm(C,k,V){var oe=C;do{var ge=oe.prev,Pe=oe.next.next;!um(ge,Pe)&&cg(ge,oe,oe.next,Pe)&&fm(ge,Pe)&&fm(Pe,ge)&&(k.push(ge.i/V),k.push(oe.i/V),k.push(Pe.i/V),hm(oe),hm(oe.next),oe=C=Pe),oe=oe.next}while(oe!==C);return wv(oe)}function Bd(C,k,V,oe,ge,Pe){var qe=C;do{for(var ft=qe.next.next;ft!==qe.prev;){if(qe.i!==ft.i&&hp(qe,ft)){var Pt=My(qe,ft);qe=wv(qe,qe.next),Pt=wv(Pt,Pt.next),sm(qe,k,V,oe,ge,Pe),sm(Pt,k,V,oe,ge,Pe);return}ft=ft.next}qe=qe.next}while(qe!==C)}function Tv(C,k,V,oe){var ge=[],Pe,qe,ft,Pt,Ut;for(Pe=0,qe=k.length;Pe=V.next.y&&V.next.y!==V.y){var ft=V.x+(ge-V.y)*(V.next.x-V.x)/(V.next.y-V.y);if(ft<=oe&&ft>Pe){if(Pe=ft,ft===oe){if(ge===V.y)return V;if(ge===V.next.y)return V.next}qe=V.x=V.x&&V.x>=Ut&&oe!==V.x&&Av(geqe.x||V.x===qe.x&&qb(qe,V)))&&(qe=V,_r=Vr)),V=V.next;while(V!==Pt);return qe}function qb(C,k){return Uc(C.prev,C,k.prev)<0&&Uc(k.next,C,C.next)<0}function ug(C,k,V,oe){var ge=C;do ge.z===null&&(ge.z=Ty(ge.x,ge.y,k,V,oe)),ge.prevZ=ge.prev,ge.nextZ=ge.next,ge=ge.next;while(ge!==C);ge.prevZ.nextZ=null,ge.prevZ=null,wy(ge)}function wy(C){var k,V,oe,ge,Pe,qe,ft,Pt,Ut=1;do{for(V=C,C=null,Pe=null,qe=0;V;){for(qe++,oe=V,ft=0,k=0;k0||Pt>0&&oe;)ft!==0&&(Pt===0||!oe||V.z<=oe.z)?(ge=V,V=V.nextZ,ft--):(ge=oe,oe=oe.nextZ,Pt--),Pe?Pe.nextZ=ge:C=ge,ge.prevZ=Pe,Pe=ge;V=oe}Pe.nextZ=null,Ut*=2}while(qe>1);return C}function Ty(C,k,V,oe,ge){return C=32767*(C-V)*ge,k=32767*(k-oe)*ge,C=(C|C<<8)&16711935,C=(C|C<<4)&252645135,C=(C|C<<2)&858993459,C=(C|C<<1)&1431655765,k=(k|k<<8)&16711935,k=(k|k<<4)&252645135,k=(k|k<<2)&858993459,k=(k|k<<1)&1431655765,C|k<<1}function Ay(C){var k=C,V=C;do(k.x=0&&(C-qe)*(oe-ft)-(V-qe)*(k-ft)>=0&&(V-qe)*(Pe-ft)-(ge-qe)*(oe-ft)>=0}function hp(C,k){return C.next.i!==k.i&&C.prev.i!==k.i&&!f1(C,k)&&(fm(C,k)&&fm(k,C)&&Hb(C,k)&&(Uc(C.prev,C,k.prev)||Uc(C,k.prev,k))||um(C,k)&&Uc(C.prev,C,C.next)>0&&Uc(k.prev,k,k.next)>0)}function Uc(C,k,V){return(k.y-C.y)*(V.x-k.x)-(k.x-C.x)*(V.y-k.y)}function um(C,k){return C.x===k.x&&C.y===k.y}function cg(C,k,V,oe){var ge=Uv(Uc(C,k,V)),Pe=Uv(Uc(C,k,oe)),qe=Uv(Uc(V,oe,C)),ft=Uv(Uc(V,oe,k));return!!(ge!==Pe&&qe!==ft||ge===0&&cm(C,V,k)||Pe===0&&cm(C,oe,k)||qe===0&&cm(V,C,oe)||ft===0&&cm(V,k,oe))}function cm(C,k,V){return k.x<=Math.max(C.x,V.x)&&k.x>=Math.min(C.x,V.x)&&k.y<=Math.max(C.y,V.y)&&k.y>=Math.min(C.y,V.y)}function Uv(C){return C>0?1:C<0?-1:0}function f1(C,k){var V=C;do{if(V.i!==C.i&&V.next.i!==C.i&&V.i!==k.i&&V.next.i!==k.i&&cg(V,V.next,C,k))return!0;V=V.next}while(V!==C);return!1}function fm(C,k){return Uc(C.prev,C,C.next)<0?Uc(C,k,C.next)>=0&&Uc(C,C.prev,k)>=0:Uc(C,k,C.prev)<0||Uc(C,C.next,k)<0}function Hb(C,k){var V=C,oe=!1,ge=(C.x+k.x)/2,Pe=(C.y+k.y)/2;do V.y>Pe!=V.next.y>Pe&&V.next.y!==V.y&&ge<(V.next.x-V.x)*(Pe-V.y)/(V.next.y-V.y)+V.x&&(oe=!oe),V=V.next;while(V!==C);return oe}function My(C,k){var V=new Sy(C.i,C.x,C.y),oe=new Sy(k.i,k.x,k.y),ge=C.next,Pe=k.prev;return C.next=k,k.prev=C,V.next=ge,ge.prev=V,oe.next=V,V.prev=oe,Pe.next=oe,oe.prev=Pe,oe}function h1(C,k,V,oe){var ge=new Sy(C,k,V);return oe?(ge.next=oe.next,ge.prev=oe,oe.next.prev=ge,oe.next=ge):(ge.prev=ge,ge.next=ge),ge}function hm(C){C.next.prev=C.prev,C.prev.next=C.next,C.prevZ&&(C.prevZ.nextZ=C.nextZ),C.nextZ&&(C.nextZ.prevZ=C.prevZ)}function Sy(C,k,V){this.i=C,this.x=k,this.y=V,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}fp.deviation=function(C,k,V,oe){var ge=k&&k.length,Pe=ge?k[0]*V:C.length,qe=Math.abs(Ey(C,0,Pe,V));if(ge)for(var ft=0,Pt=k.length;ft0&&(oe+=C[ge-1].length,V.holes.push(oe))}return V},sg.default=s1;function Cy(C,k,V,oe,ge){tv(C,k,V||0,oe||C.length-1,ge||d1)}function tv(C,k,V,oe,ge){for(;oe>V;){if(oe-V>600){var Pe=oe-V+1,qe=k-V+1,ft=Math.log(Pe),Pt=.5*Math.exp(2*ft/3),Ut=.5*Math.sqrt(ft*Pt*(Pe-Pt)/Pe)*(qe-Pe/2<0?-1:1),Kt=Math.max(V,Math.floor(k-qe*Pt/Pe+Ut)),_r=Math.min(oe,Math.floor(k+(Pe-qe)*Pt/Pe+Ut));tv(C,k,Kt,_r,ge)}var Vr=C[k],Or=V,dn=oe;for(dp(C,V,k),ge(C[oe],Vr)>0&&dp(C,V,oe);Or0;)dn--}ge(C[V],Vr)===0?dp(C,V,dn):(dn++,dp(C,dn,oe)),dn<=k&&(V=dn+1),k<=dn&&(oe=dn-1)}}function dp(C,k,V){var oe=C[k];C[k]=C[V],C[V]=oe}function d1(C,k){return Ck?1:0}function fg(C,k){var V=C.length;if(V<=1)return[C];for(var oe=[],ge,Pe,qe=0;qe1)for(var Pt=0;Pt>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),V===1&&(ft&&qe.push(ft),ft=[]),ft.push(new i(ge,Pe));else if(V===7)ft&&ft.push(ft[0].clone());else throw new Error("unknown command "+V)}return ft&&qe.push(ft),qe},jv.prototype.bbox=function(){var C=this._pbf;C.pos=this._geometry;for(var k=C.readVarint()+C.pos,V=1,oe=0,ge=0,Pe=0,qe=1/0,ft=-1/0,Pt=1/0,Ut=-1/0;C.pos>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),geft&&(ft=ge),PeUt&&(Ut=Pe);else if(V!==7)throw new Error("unknown command "+V)}return[qe,Pt,ft,Ut]},jv.prototype.toGeoJSON=function(C,k,V){var oe=this.extent*Math.pow(2,V),ge=this.extent*C,Pe=this.extent*k,qe=this.loadGeometry(),ft=jv.types[this.type],Pt,Ut;function Kt(Or){for(var dn=0;dn>3;k=oe===1?C.readString():oe===2?C.readFloat():oe===3?C.readDouble():oe===4?C.readVarint64():oe===5?C.readVarint():oe===6?C.readSVarint():oe===7?C.readBoolean():null}return k}Py.prototype.feature=function(C){if(C<0||C>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[C];var k=this._pbf.readVarint()+this._pbf.pos;return new Ly(this._pbf,k,this.extent,this._keys,this._values)};var T1=Wb;function Wb(C,k){this.layers=C.readFields(Xb,{},k)}function Xb(C,k,V){if(C===3){var oe=new rv(V,V.readVarint()+V.pos);oe.length&&(k[oe.name]=oe)}}var A1=T1,vp=Ly,M1=rv,nv={VectorTile:A1,VectorTileFeature:vp,VectorTileLayer:M1},S1=nv.VectorTileFeature.types,dg=500,pp=Math.pow(2,13);function Mv(C,k,V,oe,ge,Pe,qe,ft){C.emplaceBack(k,V,Math.floor(oe*pp)*2+qe,ge*pp*2,Pe*pp*2,Math.round(ft))}var Cd=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new Pa,this.indexArray=new ao,this.programConfigurations=new Pi(k.layers,k.zoom),this.segments=new Us,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};Cd.prototype.populate=function(k,V,oe){this.features=[],this.hasPattern=hg("fill-extrusion",this.layers,V);for(var ge=0,Pe=k;ge=1){var ji=mi[Vi-1];if(!Zb(Ai,ji)){Or.vertexLength+4>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Yi=Ai.sub(ji)._perp()._unit(),ga=ji.dist(Ai);ii+ga>32768&&(ii=0),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,1,ii),ii+=ga,Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,1,ii);var Ga=Or.vertexLength;this.indexArray.emplaceBack(Ga,Ga+2,Ga+1),this.indexArray.emplaceBack(Ga+1,Ga+2,Ga+3),Or.vertexLength+=4,Or.primitiveLength+=2}}}}if(Or.vertexLength+Ut>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(Ut,this.layoutVertexArray,this.indexArray)),S1[k.type]==="Polygon"){for(var Ua=[],Co=[],so=Or.vertexLength,xo=0,Ss=Pt;xo$i)||C.y===k.y&&(C.y<0||C.y>$i)}function Yb(C){return C.every(function(k){return k.x<0})||C.every(function(k){return k.x>$i})||C.every(function(k){return k.y<0})||C.every(function(k){return k.y>$i})}var mp=new Fi({"fill-extrusion-opacity":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ln(Mi["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new cn(Mi["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new tr(Mi["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])}),rh={paint:mp},Sv=function(C){function k(V){C.call(this,V,rh)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.createBucket=function(oe){return new Cd(oe)},k.prototype.queryRadius=function(){return $h(this.paint.get("fill-extrusion-translate"))},k.prototype.is3D=function(){return!0},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt){var _r=ld(oe,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),Pt.angle,Ut),Vr=this.paint.get("fill-extrusion-height").evaluate(ge,Pe),Or=this.paint.get("fill-extrusion-base").evaluate(ge,Pe),dn=Kb(_r,Kt,Pt,0),jn=Ry(qe,Or,Vr,Kt),mi=jn[0],ii=jn[1];return E1(mi,ii,dn)},k}(na);function Vv(C,k){return C.x*k.x+C.y*k.y}function Iy(C,k){if(C.length===1){for(var V=0,oe=k[V++],ge;!ge||oe.equals(ge);)if(ge=k[V++],!ge)return 1/0;for(;V=2&&k[Ut-1].equals(k[Ut-2]);)Ut--;for(var Kt=0;Kt0;if(Ua&&Vi>Kt){var so=Or.dist(dn);if(so>2*_r){var xo=Or.sub(Or.sub(dn)._mult(_r/so)._round());this.updateDistance(dn,xo),this.addCurrentVertex(xo,mi,0,0,Vr),dn=xo}}var Ss=dn&&jn,ko=Ss?oe:Pt?"butt":ge;if(Ss&&ko==="round"&&(gaPe&&(ko="bevel"),ko==="bevel"&&(ga>2&&(ko="flipbevel"),ga100)Ai=ii.mult(-1);else{var Do=ga*mi.add(ii).mag()/mi.sub(ii).mag();Ai._perp()._mult(Do*(Co?-1:1))}this.addCurrentVertex(Or,Ai,0,0,Vr),this.addCurrentVertex(Or,Ai.mult(-1),0,0,Vr)}else if(ko==="bevel"||ko==="fakeround"){var Gs=-Math.sqrt(ga*ga-1),Ts=Co?Gs:0,kl=Co?0:Gs;if(dn&&this.addCurrentVertex(Or,mi,Ts,kl,Vr),ko==="fakeround")for(var du=Math.round(Ga*180/Math.PI/zy),Ll=1;Ll2*_r){var gf=Or.add(jn.sub(Or)._mult(_r/Gf)._round());this.updateDistance(Or,gf),this.addCurrentVertex(gf,ii,0,0,Vr),Or=gf}}}}},vf.prototype.addCurrentVertex=function(k,V,oe,ge,Pe,qe){qe===void 0&&(qe=!1);var ft=V.x+V.y*oe,Pt=V.y-V.x*oe,Ut=-V.x+V.y*ge,Kt=-V.y-V.x*ge;this.addHalfVertex(k,ft,Pt,qe,!1,oe,Pe),this.addHalfVertex(k,Ut,Kt,qe,!0,-ge,Pe),this.distance>gm/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(k,V,oe,ge,Pe,qe))},vf.prototype.addHalfVertex=function(k,V,oe,ge,Pe,qe,ft){var Pt=k.x,Ut=k.y,Kt=this.lineClips?this.scaledDistance*(gm-1):this.scaledDistance,_r=Kt*pg;if(this.layoutVertexArray.emplaceBack((Pt<<1)+(ge?1:0),(Ut<<1)+(Pe?1:0),Math.round(vg*V)+128,Math.round(vg*oe)+128,(qe===0?0:qe<0?-1:1)+1|(_r&63)<<2,_r>>6),this.lineClips){var Vr=this.scaledDistance-this.lineClips.start,Or=this.lineClips.end-this.lineClips.start,dn=Vr/Or;this.layoutVertexArray2.emplaceBack(dn,this.lineClipsArray.length)}var jn=ft.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,jn),ft.primitiveLength++),Pe?this.e2=jn:this.e1=jn},vf.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},vf.prototype.updateDistance=function(k,V){this.distance+=k.dist(V),this.updateScaledDistance()},de("LineBucket",vf,{omit:["layers","patternFeatures"]});var Fy=new Fi({"line-cap":new tr(Mi.layout_line["line-cap"]),"line-join":new cn(Mi.layout_line["line-join"]),"line-miter-limit":new tr(Mi.layout_line["line-miter-limit"]),"line-round-limit":new tr(Mi.layout_line["line-round-limit"]),"line-sort-key":new cn(Mi.layout_line["line-sort-key"])}),Oy=new Fi({"line-opacity":new cn(Mi.paint_line["line-opacity"]),"line-color":new cn(Mi.paint_line["line-color"]),"line-translate":new tr(Mi.paint_line["line-translate"]),"line-translate-anchor":new tr(Mi.paint_line["line-translate-anchor"]),"line-width":new cn(Mi.paint_line["line-width"]),"line-gap-width":new cn(Mi.paint_line["line-gap-width"]),"line-offset":new cn(Mi.paint_line["line-offset"]),"line-blur":new cn(Mi.paint_line["line-blur"]),"line-dasharray":new xi(Mi.paint_line["line-dasharray"]),"line-pattern":new Ln(Mi.paint_line["line-pattern"]),"line-gradient":new Ni(Mi.paint_line["line-gradient"])}),mg={paint:Oy,layout:Fy},$b=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.possiblyEvaluate=function(oe,ge){return ge=new ua(Math.floor(ge.zoom),{now:ge.now,fadeDuration:ge.fadeDuration,zoomHistory:ge.zoomHistory,transition:ge.transition}),C.prototype.possiblyEvaluate.call(this,oe,ge)},k.prototype.evaluate=function(oe,ge,Pe,qe){return ge=m({},ge,{zoom:Math.floor(ge.zoom)}),C.prototype.evaluate.call(this,oe,ge,Pe,qe)},k}(cn),q=new $b(mg.paint.properties["line-width"].specification);q.useIntegerZoom=!0;var D=function(C){function k(V){C.call(this,V,mg),this.gradientVersion=0}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._handleSpecialPaintPropertyUpdate=function(oe){if(oe==="line-gradient"){var ge=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=ge._styleExpression.expression instanceof xu,this.gradientVersion=(this.gradientVersion+1)%h}},k.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},k.prototype.recalculate=function(oe,ge){C.prototype.recalculate.call(this,oe,ge),this.paint._values["line-floorwidth"]=q.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,oe)},k.prototype.createBucket=function(oe){return new vf(oe)},k.prototype.queryRadius=function(oe){var ge=oe,Pe=Y(dh("line-width",this,ge),dh("line-gap-width",this,ge)),qe=dh("line-offset",this,ge);return Pe/2+Math.abs(qe)+$h(this.paint.get("line-translate"))},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=ld(oe,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),Pt.angle,Ut),_r=Ut/2*Y(this.paint.get("line-width").evaluate(ge,Pe),this.paint.get("line-gap-width").evaluate(ge,Pe)),Vr=this.paint.get("line-offset").evaluate(ge,Pe);return Vr&&(qe=he(qe,Vr*Ut)),Ou(Kt,qe,_r)},k.prototype.isTileClipped=function(){return!0},k}(na);function Y(C,k){return k>0?k+2*C:C}function he(C,k){for(var V=[],oe=new i(0,0),ge=0;ge":"\uFE40","?":"\uFE16","@":"\uFF20","[":"\uFE47","\\":"\uFF3C","]":"\uFE48","^":"\uFF3E",_:"\uFE33","`":"\uFF40","{":"\uFE37","|":"\u2015","}":"\uFE38","~":"\uFF5E","\xA2":"\uFFE0","\xA3":"\uFFE1","\xA5":"\uFFE5","\xA6":"\uFFE4","\xAC":"\uFFE2","\xAF":"\uFFE3","\u2013":"\uFE32","\u2014":"\uFE31","\u2018":"\uFE43","\u2019":"\uFE44","\u201C":"\uFE41","\u201D":"\uFE42","\u2026":"\uFE19","\u2027":"\u30FB","\u20A9":"\uFFE6","\u3001":"\uFE11","\u3002":"\uFE12","\u3008":"\uFE3F","\u3009":"\uFE40","\u300A":"\uFE3D","\u300B":"\uFE3E","\u300C":"\uFE41","\u300D":"\uFE42","\u300E":"\uFE43","\u300F":"\uFE44","\u3010":"\uFE3B","\u3011":"\uFE3C","\u3014":"\uFE39","\u3015":"\uFE3A","\u3016":"\uFE17","\u3017":"\uFE18","\uFF01":"\uFE15","\uFF08":"\uFE35","\uFF09":"\uFE36","\uFF0C":"\uFE10","\uFF0D":"\uFE32","\uFF0E":"\u30FB","\uFF1A":"\uFE13","\uFF1B":"\uFE14","\uFF1C":"\uFE3F","\uFF1E":"\uFE40","\uFF1F":"\uFE16","\uFF3B":"\uFE47","\uFF3D":"\uFE48","\uFF3F":"\uFE33","\uFF5B":"\uFE37","\uFF5C":"\u2015","\uFF5D":"\uFE38","\uFF5F":"\uFE35","\uFF60":"\uFE36","\uFF61":"\uFE12","\uFF62":"\uFE41","\uFF63":"\uFE42"};function Si(C){for(var k="",V=0;V>1,Kt=-7,_r=V?ge-1:0,Vr=V?-1:1,Or=C[k+_r];for(_r+=Vr,Pe=Or&(1<<-Kt)-1,Or>>=-Kt,Kt+=ft;Kt>0;Pe=Pe*256+C[k+_r],_r+=Vr,Kt-=8);for(qe=Pe&(1<<-Kt)-1,Pe>>=-Kt,Kt+=oe;Kt>0;qe=qe*256+C[k+_r],_r+=Vr,Kt-=8);if(Pe===0)Pe=1-Ut;else{if(Pe===Pt)return qe?NaN:(Or?-1:1)*(1/0);qe=qe+Math.pow(2,oe),Pe=Pe-Ut}return(Or?-1:1)*qe*Math.pow(2,Pe-oe)},Po=function(C,k,V,oe,ge,Pe){var qe,ft,Pt,Ut=Pe*8-ge-1,Kt=(1<>1,Vr=ge===23?Math.pow(2,-24)-Math.pow(2,-77):0,Or=oe?0:Pe-1,dn=oe?1:-1,jn=k<0||k===0&&1/k<0?1:0;for(k=Math.abs(k),isNaN(k)||k===1/0?(ft=isNaN(k)?1:0,qe=Kt):(qe=Math.floor(Math.log(k)/Math.LN2),k*(Pt=Math.pow(2,-qe))<1&&(qe--,Pt*=2),qe+_r>=1?k+=Vr/Pt:k+=Vr*Math.pow(2,1-_r),k*Pt>=2&&(qe++,Pt/=2),qe+_r>=Kt?(ft=0,qe=Kt):qe+_r>=1?(ft=(k*Pt-1)*Math.pow(2,ge),qe=qe+_r):(ft=k*Math.pow(2,_r-1)*Math.pow(2,ge),qe=0));ge>=8;C[V+Or]=ft&255,Or+=dn,ft/=256,ge-=8);for(qe=qe<0;C[V+Or]=qe&255,Or+=dn,qe/=256,Ut-=8);C[V+Or-dn]|=jn*128},xs={read:Ha,write:Po},_o=Ra;function Ra(C){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(C)?C:new Uint8Array(C||0),this.pos=0,this.type=0,this.length=this.buf.length}Ra.Varint=0,Ra.Fixed64=1,Ra.Bytes=2,Ra.Fixed32=5;var es=65536*65536,qo=1/es,Bo=12,ma=typeof TextDecoder>"u"?null:new TextDecoder("utf8");Ra.prototype={destroy:function(){this.buf=null},readFields:function(C,k,V){for(V=V||this.length;this.pos>3,Pe=this.pos;this.type=oe&7,C(ge,k,this),this.pos===Pe&&this.skip(oe)}return k},readMessage:function(C,k){return this.readFields(C,k,this.readVarint()+this.pos)},readFixed32:function(){var C=Vf(this.buf,this.pos);return this.pos+=4,C},readSFixed32:function(){var C=rd(this.buf,this.pos);return this.pos+=4,C},readFixed64:function(){var C=Vf(this.buf,this.pos)+Vf(this.buf,this.pos+4)*es;return this.pos+=8,C},readSFixed64:function(){var C=Vf(this.buf,this.pos)+rd(this.buf,this.pos+4)*es;return this.pos+=8,C},readFloat:function(){var C=xs.read(this.buf,this.pos,!0,23,4);return this.pos+=4,C},readDouble:function(){var C=xs.read(this.buf,this.pos,!0,52,8);return this.pos+=8,C},readVarint:function(C){var k=this.buf,V,oe;return oe=k[this.pos++],V=oe&127,oe<128||(oe=k[this.pos++],V|=(oe&127)<<7,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<14,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<21,oe<128)?V:(oe=k[this.pos],V|=(oe&15)<<28,us(V,C,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var C=this.readVarint();return C%2===1?(C+1)/-2:C/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var C=this.readVarint()+this.pos,k=this.pos;return this.pos=C,C-k>=Bo&&ma?Gl(this.buf,k,C):jh(this.buf,k,C)},readBytes:function(){var C=this.readVarint()+this.pos,k=this.buf.subarray(this.pos,C);return this.pos=C,k},readPackedVarint:function(C,k){if(this.type!==Ra.Bytes)return C.push(this.readVarint(k));var V=No(this);for(C=C||[];this.pos127;);else if(k===Ra.Bytes)this.pos=this.readVarint()+this.pos;else if(k===Ra.Fixed32)this.pos+=4;else if(k===Ra.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+k)},writeTag:function(C,k){this.writeVarint(C<<3|k)},realloc:function(C){for(var k=this.length||16;k268435455||C<0){Au(C,this);return}this.realloc(4),this.buf[this.pos++]=C&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=C>>>7&127)))},writeSVarint:function(C){this.writeVarint(C<0?-C*2-1:C*2)},writeBoolean:function(C){this.writeVarint(!!C)},writeString:function(C){C=String(C),this.realloc(C.length*4),this.pos++;var k=this.pos;this.pos=Nu(this.buf,C,this.pos);var V=this.pos-k;V>=128&&cd(k,V,this),this.pos=k-1,this.writeVarint(V),this.pos+=V},writeFloat:function(C){this.realloc(4),xs.write(this.buf,C,this.pos,!0,23,4),this.pos+=4},writeDouble:function(C){this.realloc(8),xs.write(this.buf,C,this.pos,!0,52,8),this.pos+=8},writeBytes:function(C){var k=C.length;this.writeVarint(k),this.realloc(k);for(var V=0;V=128&&cd(V,oe,this),this.pos=V-1,this.writeVarint(oe),this.pos+=oe},writeMessage:function(C,k,V){this.writeTag(C,Ra.Bytes),this.writeRawMessage(k,V)},writePackedVarint:function(C,k){k.length&&this.writeMessage(C,nh,k)},writePackedSVarint:function(C,k){k.length&&this.writeMessage(C,Cf,k)},writePackedBoolean:function(C,k){k.length&&this.writeMessage(C,Ph,k)},writePackedFloat:function(C,k){k.length&&this.writeMessage(C,kh,k)},writePackedDouble:function(C,k){k.length&&this.writeMessage(C,Lh,k)},writePackedFixed32:function(C,k){k.length&&this.writeMessage(C,jc,k)},writePackedSFixed32:function(C,k){k.length&&this.writeMessage(C,kf,k)},writePackedFixed64:function(C,k){k.length&&this.writeMessage(C,mh,k)},writePackedSFixed64:function(C,k){k.length&&this.writeMessage(C,ih,k)},writeBytesField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeBytes(k)},writeFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFixed32(k)},writeSFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeSFixed32(k)},writeFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeFixed64(k)},writeSFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeSFixed64(k)},writeVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeVarint(k)},writeSVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeSVarint(k)},writeStringField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeString(k)},writeFloatField:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFloat(k)},writeDoubleField:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeDouble(k)},writeBooleanField:function(C,k){this.writeVarintField(C,!!k)}};function us(C,k,V){var oe=V.buf,ge,Pe;if(Pe=oe[V.pos++],ge=(Pe&112)>>4,Pe<128||(Pe=oe[V.pos++],ge|=(Pe&127)<<3,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<10,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<17,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<24,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&1)<<31,Pe<128))return ks(C,ge,k);throw new Error("Expected varint not more than 10 bytes")}function No(C){return C.type===Ra.Bytes?C.readVarint()+C.pos:C.pos+1}function ks(C,k,V){return V?k*4294967296+(C>>>0):(k>>>0)*4294967296+(C>>>0)}function Au(C,k){var V,oe;if(C>=0?(V=C%4294967296|0,oe=C/4294967296|0):(V=~(-C%4294967296),oe=~(-C/4294967296),V^4294967295?V=V+1|0:(V=0,oe=oe+1|0)),C>=18446744073709552e3||C<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");k.realloc(10),yu(V,oe,k),Ef(oe,k)}function yu(C,k,V){V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos]=C&127}function Ef(C,k){var V=(C&7)<<4;k.buf[k.pos++]|=V|((C>>>=3)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127)))))}function cd(C,k,V){var oe=k<=16383?1:k<=2097151?2:k<=268435455?3:Math.floor(Math.log(k)/(Math.LN2*7));V.realloc(oe);for(var ge=V.pos-1;ge>=C;ge--)V.buf[ge+oe]=V.buf[ge]}function nh(C,k){for(var V=0;V>>8,C[V+2]=k>>>16,C[V+3]=k>>>24}function rd(C,k){return(C[k]|C[k+1]<<8|C[k+2]<<16)+(C[k+3]<<24)}function jh(C,k,V){for(var oe="",ge=k;ge239?4:Pe>223?3:Pe>191?2:1;if(ge+ft>V)break;var Pt,Ut,Kt;ft===1?Pe<128&&(qe=Pe):ft===2?(Pt=C[ge+1],(Pt&192)===128&&(qe=(Pe&31)<<6|Pt&63,qe<=127&&(qe=null))):ft===3?(Pt=C[ge+1],Ut=C[ge+2],(Pt&192)===128&&(Ut&192)===128&&(qe=(Pe&15)<<12|(Pt&63)<<6|Ut&63,(qe<=2047||qe>=55296&&qe<=57343)&&(qe=null))):ft===4&&(Pt=C[ge+1],Ut=C[ge+2],Kt=C[ge+3],(Pt&192)===128&&(Ut&192)===128&&(Kt&192)===128&&(qe=(Pe&15)<<18|(Pt&63)<<12|(Ut&63)<<6|Kt&63,(qe<=65535||qe>=1114112)&&(qe=null))),qe===null?(qe=65533,ft=1):qe>65535&&(qe-=65536,oe+=String.fromCharCode(qe>>>10&1023|55296),qe=56320|qe&1023),oe+=String.fromCharCode(qe),ge+=ft}return oe}function Gl(C,k,V){return ma.decode(C.subarray(k,V))}function Nu(C,k,V){for(var oe=0,ge,Pe;oe55295&&ge<57344)if(Pe)if(ge<56320){C[V++]=239,C[V++]=191,C[V++]=189,Pe=ge;continue}else ge=Pe-55296<<10|ge-56320|65536,Pe=null;else{ge>56319||oe+1===k.length?(C[V++]=239,C[V++]=191,C[V++]=189):Pe=ge;continue}else Pe&&(C[V++]=239,C[V++]=191,C[V++]=189,Pe=null);ge<128?C[V++]=ge:(ge<2048?C[V++]=ge>>6|192:(ge<65536?C[V++]=ge>>12|224:(C[V++]=ge>>18|240,C[V++]=ge>>12&63|128),C[V++]=ge>>6&63|128),C[V++]=ge&63|128)}return V}var Mu=3;function nd(C,k,V){C===1&&V.readMessage(Mc,k)}function Mc(C,k,V){if(C===3){var oe=V.readMessage(gp,{}),ge=oe.id,Pe=oe.bitmap,qe=oe.width,ft=oe.height,Pt=oe.left,Ut=oe.top,Kt=oe.advance;k.push({id:ge,bitmap:new td({width:qe+2*Mu,height:ft+2*Mu},Pe),metrics:{width:qe,height:ft,left:Pt,top:Ut,advance:Kt}})}}function gp(C,k,V){C===1?k.id=V.readVarint():C===2?k.bitmap=V.readBytes():C===3?k.width=V.readVarint():C===4?k.height=V.readVarint():C===5?k.left=V.readSVarint():C===6?k.top=V.readSVarint():C===7&&(k.advance=V.readVarint())}function Nd(C){return new _o(C).readFields(nd,[])}var kd=Mu;function fd(C){for(var k=0,V=0,oe=0,ge=C;oe=0;Or--){var dn=ft[Or];if(!(Vr.w>dn.w||Vr.h>dn.h)){if(Vr.x=dn.x,Vr.y=dn.y,Ut=Math.max(Ut,Vr.y+Vr.h),Pt=Math.max(Pt,Vr.x+Vr.w),Vr.w===dn.w&&Vr.h===dn.h){var jn=ft.pop();Or=0&&ge>=k&&jd[this.text.charCodeAt(ge)];ge--)oe--;this.text=this.text.substring(k,oe),this.sectionIndex=this.sectionIndex.slice(k,oe)},qf.prototype.substring=function(k,V){var oe=new qf;return oe.text=this.text.substring(k,V),oe.sectionIndex=this.sectionIndex.slice(k,V),oe.sections=this.sections,oe},qf.prototype.toString=function(){return this.text},qf.prototype.getMaxScale=function(){var k=this;return this.sectionIndex.reduce(function(V,oe){return Math.max(V,k.sections[oe].scale)},0)},qf.prototype.addTextSection=function(k,V){this.text+=k.text,this.sections.push(qv.forText(k.scale,k.fontStack||V));for(var oe=this.sections.length-1,ge=0;ge=Ud?null:++this.imageSectionID:(this.imageSectionID=gg,this.imageSectionID)};function Qb(C,k){for(var V=[],oe=C.text,ge=0,Pe=0,qe=k;Pe=0,Kt=0,_r=0;_r0&&gf>Co&&(Co=gf)}else{var Pl=V[xo.fontStack],bl=Pl&&Pl[ko];if(bl&&bl.rect)Ts=bl.rect,Gs=bl.metrics;else{var Su=k[xo.fontStack],Uu=Su&&Su[ko];if(!Uu)continue;Gs=Uu.metrics}Do=(Yi-xo.scale)*Gi}Ll?(C.verticalizable=!0,Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=du*xo.scale+Ut):(Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=Gs.advance*xo.scale+Ut)}if(Ua.length!==0){var Rh=Vr-Ut;dn=Math.max(Rh,dn),nw(Ua,0,Ua.length-1,mi,Co)}Vr=0;var Dh=Pe*Yi+Co;Ga.lineOffset=Math.max(Co,ga),Or+=Dh,jn=Math.max(Dh,jn),++ii}var Wf=Or-yp,Hh=Ny(qe),Gh=Hh.horizontalAlign,Lf=Hh.verticalAlign;gh(C.positionedLines,mi,Gh,Lf,dn,jn,Pe,Wf,ge.length),C.top+=-Lf*Wf,C.bottom=C.top+Wf,C.left+=-Gh*dn,C.right=C.left+dn}function nw(C,k,V,oe,ge){if(!(!oe&&!ge))for(var Pe=C[V],qe=Pe.metrics.advance*Pe.scale,ft=(C[V].x+qe)*oe,Pt=k;Pt<=V;Pt++)C[Pt].x-=ft,C[Pt].y+=ge}function gh(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=(k-V)*ge,Kt=0;Pe!==qe?Kt=-ft*oe-yp:Kt=(-oe*Pt+.5)*qe;for(var _r=0,Vr=C;_r-V/2;){if(qe--,qe<0)return!1;ft-=C[qe].dist(Pe),Pe=C[qe]}ft+=C[qe].dist(C[qe+1]),qe++;for(var Pt=[],Ut=0;ftoe;)Ut-=Pt.shift().angleDelta;if(Ut>ge)return!1;qe++,ft+=_r.dist(Vr)}return!0}function rS(C){for(var k=0,V=0;VUt){var dn=(Ut-Pt)/Or,jn=Sl(_r.x,Vr.x,dn),mi=Sl(_r.y,Vr.y,dn),ii=new Ih(jn,mi,Vr.angleTo(_r),Kt);return ii._round(),!qe||tS(C,ii,ft,qe,k)?ii:void 0}Pt+=Or}}function qF(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=nS(oe,Pe,qe),Kt=iS(oe,ge),_r=Kt*qe,Vr=C[0].x===0||C[0].x===Pt||C[0].y===0||C[0].y===Pt;k-_r=0&&ji=0&&Yi=0&&Vr+Ut<=Kt){var ga=new Ih(ji,Yi,Vi,dn);ga._round(),(!oe||tS(C,ga,Pe,oe,ge))&&Or.push(ga)}}_r+=ii}return!ft&&!Or.length&&!qe&&(Or=aS(C,_r/2,V,oe,ge,Pe,qe,!0,Pt)),Or}function oS(C,k,V,oe,ge){for(var Pe=[],qe=0;qe=oe&&_r.x>=oe)&&(Kt.x>=oe?Kt=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round():_r.x>=oe&&(_r=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round()),!(Kt.y>=ge&&_r.y>=ge)&&(Kt.y>=ge?Kt=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round():_r.y>=ge&&(_r=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round()),(!Pt||!Kt.equals(Pt[Pt.length-1]))&&(Pt=[Kt],Pe.push(Pt)),Pt.push(_r)))))}return Pe}var xg=ic;function sS(C,k,V,oe){var ge=[],Pe=C.image,qe=Pe.pixelRatio,ft=Pe.paddedRect.w-2*xg,Pt=Pe.paddedRect.h-2*xg,Ut=C.right-C.left,Kt=C.bottom-C.top,_r=Pe.stretchX||[[0,ft]],Vr=Pe.stretchY||[[0,Pt]],Or=function(Pl,bl){return Pl+bl[1]-bl[0]},dn=_r.reduce(Or,0),jn=Vr.reduce(Or,0),mi=ft-dn,ii=Pt-jn,Vi=0,Ai=dn,ji=0,Yi=jn,ga=0,Ga=mi,Ua=0,Co=ii;if(Pe.content&&oe){var so=Pe.content;Vi=z1(_r,0,so[0]),ji=z1(Vr,0,so[1]),Ai=z1(_r,so[0],so[2]),Yi=z1(Vr,so[1],so[3]),ga=so[0]-Vi,Ua=so[1]-ji,Ga=so[2]-so[0]-Ai,Co=so[3]-so[1]-Yi}var xo=function(Pl,bl,Su,Uu){var Vc=F1(Pl.stretch-Vi,Ai,Ut,C.left),ef=O1(Pl.fixed-ga,Ga,Pl.stretch,dn),Gf=F1(bl.stretch-ji,Yi,Kt,C.top),gf=O1(bl.fixed-Ua,Co,bl.stretch,jn),Rh=F1(Su.stretch-Vi,Ai,Ut,C.left),Dh=O1(Su.fixed-ga,Ga,Su.stretch,dn),Wf=F1(Uu.stretch-ji,Yi,Kt,C.top),Hh=O1(Uu.fixed-Ua,Co,Uu.stretch,jn),Gh=new i(Vc,Gf),Lf=new i(Rh,Gf),Wh=new i(Rh,Wf),Ad=new i(Vc,Wf),Wv=new i(ef/qe,gf/qe),bp=new i(Dh/qe,Hh/qe),wp=k*Math.PI/180;if(wp){var Tp=Math.sin(wp),Cg=Math.cos(wp),Vd=[Cg,-Tp,Tp,Cg];Gh._matMult(Vd),Lf._matMult(Vd),Ad._matMult(Vd),Wh._matMult(Vd)}var q1=Pl.stretch+Pl.fixed,fw=Su.stretch+Su.fixed,H1=bl.stretch+bl.fixed,hw=Uu.stretch+Uu.fixed,Ld={x:Pe.paddedRect.x+xg+q1,y:Pe.paddedRect.y+xg+H1,w:fw-q1,h:hw-H1},kg=Ga/qe/Ut,G1=Co/qe/Kt;return{tl:Gh,tr:Lf,bl:Ad,br:Wh,tex:Ld,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:Wv,pixelOffsetBR:bp,minFontScaleX:kg,minFontScaleY:G1,isSDF:V}};if(!oe||!Pe.stretchX&&!Pe.stretchY)ge.push(xo({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:ft+1},{fixed:0,stretch:Pt+1}));else for(var Ss=lS(_r,mi,dn),ko=lS(Vr,ii,jn),Do=0;Do0&&(dn=Math.max(10,dn),this.circleDiameter=dn)}else{var jn=qe.top*ft-Pt,mi=qe.bottom*ft+Pt,ii=qe.left*ft-Pt,Vi=qe.right*ft+Pt,Ai=qe.collisionPadding;if(Ai&&(ii-=Ai[0]*ft,jn-=Ai[1]*ft,Vi+=Ai[2]*ft,mi+=Ai[3]*ft),Kt){var ji=new i(ii,jn),Yi=new i(Vi,jn),ga=new i(ii,mi),Ga=new i(Vi,mi),Ua=Kt*Math.PI/180;ji._rotate(Ua),Yi._rotate(Ua),ga._rotate(Ua),Ga._rotate(Ua),ii=Math.min(ji.x,Yi.x,ga.x,Ga.x),Vi=Math.max(ji.x,Yi.x,ga.x,Ga.x),jn=Math.min(ji.y,Yi.y,ga.y,Ga.y),mi=Math.max(ji.y,Yi.y,ga.y,Ga.y)}k.emplaceBack(V.x,V.y,ii,jn,Vi,mi,oe,ge,Pe)}this.boxEndIndex=k.length},bg=function(k,V){if(k===void 0&&(k=[]),V===void 0&&(V=GF),this.data=k,this.length=this.data.length,this.compare=V,this.length>0)for(var oe=(this.length>>1)-1;oe>=0;oe--)this._down(oe)};bg.prototype.push=function(k){this.data.push(k),this.length++,this._up(this.length-1)},bg.prototype.pop=function(){if(this.length!==0){var k=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),k}},bg.prototype.peek=function(){return this.data[0]},bg.prototype._up=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=oe[k];k>0;){var qe=k-1>>1,ft=oe[qe];if(ge(Pe,ft)>=0)break;oe[k]=ft,k=qe}oe[k]=Pe},bg.prototype._down=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=this.length>>1,qe=oe[k];k=0)break;oe[k]=Pt,k=ft}oe[k]=qe};function GF(C,k){return Ck?1:0}function WF(C,k,V){k===void 0&&(k=1),V===void 0&&(V=!1);for(var oe=1/0,ge=1/0,Pe=-1/0,qe=-1/0,ft=C[0],Pt=0;PtPe)&&(Pe=Ut.x),(!Pt||Ut.y>qe)&&(qe=Ut.y)}var Kt=Pe-oe,_r=qe-ge,Vr=Math.min(Kt,_r),Or=Vr/2,dn=new bg([],XF);if(Vr===0)return new i(oe,ge);for(var jn=oe;jnii.d||!ii.d)&&(ii=Ai,V&&console.log("found best %d after %d probes",Math.round(1e4*Ai.d)/1e4,Vi)),!(Ai.max-ii.d<=k)&&(Or=Ai.h/2,dn.push(new wg(Ai.p.x-Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x-Or,Ai.p.y+Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y+Or,Or,C)),Vi+=4)}return V&&(console.log("num probes: "+Vi),console.log("best distance: "+ii.d)),ii.p}function XF(C,k){return k.max-C.max}function wg(C,k,V,oe){this.p=new i(C,k),this.h=V,this.d=ZF(this.p,oe),this.max=this.d+this.h*Math.SQRT2}function ZF(C,k){for(var V=!1,oe=1/0,ge=0;geC.y!=Kt.y>C.y&&C.x<(Kt.x-Ut.x)*(C.y-Ut.y)/(Kt.y-Ut.y)+Ut.x&&(V=!V),oe=Math.min(oe,$d(C,Ut,Kt))}return(V?1:-1)*Math.sqrt(oe)}function YF(C){for(var k=0,V=0,oe=0,ge=C[0],Pe=0,qe=ge.length,ft=qe-1;Pe=$i||Vd.y<0||Vd.y>=$i||$F(C,Vd,Cg,V,oe,ge,ko,C.layers[0],C.collisionBoxArray,k.index,k.sourceLayerIndex,C.index,ii,Yi,Ua,Pt,Ai,ga,Co,Or,k,Pe,Ut,Kt,qe)};if(so==="line")for(var Gs=0,Ts=oS(k.geometry,0,0,$i,$i);Gs1){var Gf=VF(ef,Ga,V.vertical||dn,oe,jn,Vi);Gf&&Do(ef,Gf)}}else if(k.type==="Polygon")for(var gf=0,Rh=fg(k.geometry,0);gf_p&&U(C.layerIds[0]+': Value for "text-size" is >= '+Uy+'. Reduce your "text-size".')):mi.kind==="composite"&&(ii=[yh*Or.compositeTextSizes[0].evaluate(qe,{},dn),yh*Or.compositeTextSizes[1].evaluate(qe,{},dn)],(ii[0]>_p||ii[1]>_p)&&U(C.layerIds[0]+': Value for "text-size" is >= '+Uy+'. Reduce your "text-size".')),C.addSymbols(C.text,jn,ii,ft,Pe,qe,Ut,k,Pt.lineStartIndex,Pt.lineLength,Vr,dn);for(var Vi=0,Ai=Kt;Vi_p&&U(C.layerIds[0]+': Value for "icon-size" is >= '+Uy+'. Reduce your "icon-size".')):Gh.kind==="composite"&&(Lf=[yh*Yi.compositeIconSizes[0].evaluate(ji,{},Ga),yh*Yi.compositeIconSizes[1].evaluate(ji,{},Ga)],(Lf[0]>_p||Lf[1]>_p)&&U(C.layerIds[0]+': Value for "icon-size" is >= '+Uy+'. Reduce your "icon-size".')),C.addSymbols(C.icon,Wf,Lf,Ai,Vi,ji,!1,k,so.lineStartIndex,so.lineLength,-1,Ga),Ll=C.icon.placedSymbolArray.length-1,Hh&&(Ts=Hh.length*4,C.addSymbols(C.icon,Hh,Lf,Ai,Vi,ji,Vh.vertical,k,so.lineStartIndex,so.lineLength,-1,Ga),Pl=C.icon.placedSymbolArray.length-1)}for(var Wh in oe.horizontal){var Ad=oe.horizontal[Wh];if(!xo){Su=ye(Ad.text);var Wv=ft.layout.get("text-rotate").evaluate(ji,{},Ga);xo=new B1(Pt,k,Ut,Kt,_r,Ad,Vr,Or,dn,Wv)}var bp=Ad.positionedLines.length===1;if(kl+=cS(C,k,Ad,Pe,ft,dn,ji,jn,so,oe.vertical?Vh.horizontal:Vh.horizontalOnly,bp?Object.keys(oe.horizontal):[Wh],bl,Ll,Yi,Ga),bp)break}oe.vertical&&(du+=cS(C,k,oe.vertical,Pe,ft,dn,ji,jn,so,Vh.vertical,["vertical"],bl,Pl,Yi,Ga));var wp=xo?xo.boxStartIndex:C.collisionBoxArray.length,Tp=xo?xo.boxEndIndex:C.collisionBoxArray.length,Cg=ko?ko.boxStartIndex:C.collisionBoxArray.length,Vd=ko?ko.boxEndIndex:C.collisionBoxArray.length,q1=Ss?Ss.boxStartIndex:C.collisionBoxArray.length,fw=Ss?Ss.boxEndIndex:C.collisionBoxArray.length,H1=Do?Do.boxStartIndex:C.collisionBoxArray.length,hw=Do?Do.boxEndIndex:C.collisionBoxArray.length,Ld=-1,kg=function(qy,ES){return qy&&qy.circleDiameter?Math.max(qy.circleDiameter,ES):ES};Ld=kg(xo,Ld),Ld=kg(ko,Ld),Ld=kg(Ss,Ld),Ld=kg(Do,Ld);var G1=Ld>-1?1:0;G1&&(Ld*=Ua/Gi),C.glyphOffsetArray.length>=hu.MAX_GLYPHS&&U("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),ji.sortKey!==void 0&&C.addToSortKeyRanges(C.symbolInstances.length,ji.sortKey),C.symbolInstances.emplaceBack(k.x,k.y,bl.right>=0?bl.right:-1,bl.center>=0?bl.center:-1,bl.left>=0?bl.left:-1,bl.vertical||-1,Ll,Pl,Su,wp,Tp,Cg,Vd,q1,fw,H1,hw,Ut,kl,du,Gs,Ts,G1,0,Vr,Uu,Vc,Ld)}function QF(C,k,V,oe){var ge=C.compareText;if(!(k in ge))ge[k]=[];else for(var Pe=ge[k],qe=Pe.length-1;qe>=0;qe--)if(oe.dist(Pe[qe])0)&&(qe.value.kind!=="constant"||qe.value.value.length>0),Kt=Pt.value.kind!=="constant"||!!Pt.value.value||Object.keys(Pt.parameters).length>0,_r=Pe.get("symbol-sort-key");if(this.features=[],!(!Ut&&!Kt)){for(var Vr=V.iconDependencies,Or=V.glyphDependencies,dn=V.availableImages,jn=new ua(this.zoom),mi=0,ii=k;mi=0;for(var du=0,Ll=Co.sections;du=0;Pt--)qe[Pt]={x:V[Pt].x,y:V[Pt].y,tileUnitDistanceFromAnchor:Pe},Pt>0&&(Pe+=V[Pt-1].dist(V[Pt]));for(var Ut=0;Ut0},hu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},hu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},hu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},hu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},hu.prototype.addIndicesForPlacedSymbol=function(k,V){for(var oe=k.placedSymbolArray.get(V),ge=oe.vertexStartIndex+oe.numGlyphs*4,Pe=oe.vertexStartIndex;Pe1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(k),this.sortedAngle=k,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var oe=0,ge=this.symbolInstanceIndexes;oe=0&&Ut.indexOf(ft)===Pt&&V.addIndicesForPlacedSymbol(V.text,ft)}),qe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,qe.verticalPlacedTextSymbolIndex),qe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.placedIconSymbolIndex),qe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},de("SymbolBucket",hu,{omit:["layers","collisionBoxArray","features","compareText"]}),hu.MAX_GLYPHS=65535,hu.addDynamicAttributes=ow;function nO(C,k){return k.replace(/{([^{}]+)}/g,function(V,oe){return oe in C?String(C[oe]):""})}var iO=new Fi({"symbol-placement":new tr(Mi.layout_symbol["symbol-placement"]),"symbol-spacing":new tr(Mi.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new tr(Mi.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new cn(Mi.layout_symbol["symbol-sort-key"]),"symbol-z-order":new tr(Mi.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new tr(Mi.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new tr(Mi.layout_symbol["icon-ignore-placement"]),"icon-optional":new tr(Mi.layout_symbol["icon-optional"]),"icon-rotation-alignment":new tr(Mi.layout_symbol["icon-rotation-alignment"]),"icon-size":new cn(Mi.layout_symbol["icon-size"]),"icon-text-fit":new tr(Mi.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new tr(Mi.layout_symbol["icon-text-fit-padding"]),"icon-image":new cn(Mi.layout_symbol["icon-image"]),"icon-rotate":new cn(Mi.layout_symbol["icon-rotate"]),"icon-padding":new tr(Mi.layout_symbol["icon-padding"]),"icon-keep-upright":new tr(Mi.layout_symbol["icon-keep-upright"]),"icon-offset":new cn(Mi.layout_symbol["icon-offset"]),"icon-anchor":new cn(Mi.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new tr(Mi.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new tr(Mi.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new tr(Mi.layout_symbol["text-rotation-alignment"]),"text-field":new cn(Mi.layout_symbol["text-field"]),"text-font":new cn(Mi.layout_symbol["text-font"]),"text-size":new cn(Mi.layout_symbol["text-size"]),"text-max-width":new cn(Mi.layout_symbol["text-max-width"]),"text-line-height":new tr(Mi.layout_symbol["text-line-height"]),"text-letter-spacing":new cn(Mi.layout_symbol["text-letter-spacing"]),"text-justify":new cn(Mi.layout_symbol["text-justify"]),"text-radial-offset":new cn(Mi.layout_symbol["text-radial-offset"]),"text-variable-anchor":new tr(Mi.layout_symbol["text-variable-anchor"]),"text-anchor":new cn(Mi.layout_symbol["text-anchor"]),"text-max-angle":new tr(Mi.layout_symbol["text-max-angle"]),"text-writing-mode":new tr(Mi.layout_symbol["text-writing-mode"]),"text-rotate":new cn(Mi.layout_symbol["text-rotate"]),"text-padding":new tr(Mi.layout_symbol["text-padding"]),"text-keep-upright":new tr(Mi.layout_symbol["text-keep-upright"]),"text-transform":new cn(Mi.layout_symbol["text-transform"]),"text-offset":new cn(Mi.layout_symbol["text-offset"]),"text-allow-overlap":new tr(Mi.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new tr(Mi.layout_symbol["text-ignore-placement"]),"text-optional":new tr(Mi.layout_symbol["text-optional"])}),aO=new Fi({"icon-opacity":new cn(Mi.paint_symbol["icon-opacity"]),"icon-color":new cn(Mi.paint_symbol["icon-color"]),"icon-halo-color":new cn(Mi.paint_symbol["icon-halo-color"]),"icon-halo-width":new cn(Mi.paint_symbol["icon-halo-width"]),"icon-halo-blur":new cn(Mi.paint_symbol["icon-halo-blur"]),"icon-translate":new tr(Mi.paint_symbol["icon-translate"]),"icon-translate-anchor":new tr(Mi.paint_symbol["icon-translate-anchor"]),"text-opacity":new cn(Mi.paint_symbol["text-opacity"]),"text-color":new cn(Mi.paint_symbol["text-color"],{runtimeType:Ps,getOverride:function(C){return C.textColor},hasOverride:function(C){return!!C.textColor}}),"text-halo-color":new cn(Mi.paint_symbol["text-halo-color"]),"text-halo-width":new cn(Mi.paint_symbol["text-halo-width"]),"text-halo-blur":new cn(Mi.paint_symbol["text-halo-blur"]),"text-translate":new tr(Mi.paint_symbol["text-translate"]),"text-translate-anchor":new tr(Mi.paint_symbol["text-translate-anchor"])}),sw={paint:aO,layout:iO},Mg=function(k){this.type=k.property.overrides?k.property.overrides.runtimeType:wl,this.defaultValue=k};Mg.prototype.evaluate=function(k){if(k.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(k.formattedSection))return V.getOverride(k.formattedSection)}return k.feature&&k.featureState?this.defaultValue.evaluate(k.feature,k.featureState):this.defaultValue.property.specification.default},Mg.prototype.eachChild=function(k){if(!this.defaultValue.isConstant()){var V=this.defaultValue.value;k(V._styleExpression.expression)}},Mg.prototype.outputDefined=function(){return!1},Mg.prototype.serialize=function(){return null},de("FormatSectionOverride",Mg,{omit:["defaultValue"]});var oO=function(C){function k(V){C.call(this,V,sw)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.recalculate=function(oe,ge){if(C.prototype.recalculate.call(this,oe,ge),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Pe=this.layout.get("text-writing-mode");if(Pe){for(var qe=[],ft=0,Pt=Pe;ft",targetMapId:ge,sourceMapId:qe.mapId})}}},Sg.prototype.receive=function(k){var V=k.data,oe=V.id;if(oe&&!(V.targetMapId&&this.mapId!==V.targetMapId))if(V.type===""){delete this.tasks[oe];var ge=this.cancelCallbacks[oe];delete this.cancelCallbacks[oe],ge&&ge()}else se()||V.mustQueue?(this.tasks[oe]=V,this.taskQueue.push(oe),this.invoker.trigger()):this.processTask(oe,V)},Sg.prototype.process=function(){if(this.taskQueue.length){var k=this.taskQueue.shift(),V=this.tasks[k];delete this.tasks[k],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(k,V)}},Sg.prototype.processTask=function(k,V){var oe=this;if(V.type===""){var ge=this.callbacks[k];delete this.callbacks[k],ge&&(V.error?ge(Tt(V.error)):ge(null,Tt(V.data)))}else{var Pe=!1,qe=$(this.globalScope)?void 0:[],ft=V.hasCallback?function(Vr,Or){Pe=!0,delete oe.cancelCallbacks[k],oe.target.postMessage({id:k,type:"",sourceMapId:oe.mapId,error:Vr?mt(Vr):null,data:mt(Or,qe)},qe)}:function(Vr){Pe=!0},Pt=null,Ut=Tt(V.data);if(this.parent[V.type])Pt=this.parent[V.type](V.sourceMapId,Ut,ft);else if(this.parent.getWorkerSource){var Kt=V.type.split("."),_r=this.parent.getWorkerSource(V.sourceMapId,Kt[0],Ut.source);Pt=_r[Kt[1]](Ut,ft)}else ft(new Error("Could not find function "+V.type));!Pe&&Pt&&Pt.cancel&&(this.cancelCallbacks[k]=Pt.cancel)}},Sg.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};function gO(C,k,V){k=Math.pow(2,V)-k-1;var oe=mS(C*256,k*256,V),ge=mS((C+1)*256,(k+1)*256,V);return oe[0]+","+oe[1]+","+ge[0]+","+ge[1]}function mS(C,k,V){var oe=2*Math.PI*6378137/256/Math.pow(2,V),ge=C*oe-2*Math.PI*6378137/2,Pe=k*oe-2*Math.PI*6378137/2;return[ge,Pe]}var pf=function(k,V){k&&(V?this.setSouthWest(k).setNorthEast(V):k.length===4?this.setSouthWest([k[0],k[1]]).setNorthEast([k[2],k[3]]):this.setSouthWest(k[0]).setNorthEast(k[1]))};pf.prototype.setNorthEast=function(k){return this._ne=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.setSouthWest=function(k){return this._sw=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.extend=function(k){var V=this._sw,oe=this._ne,ge,Pe;if(k instanceof ac)ge=k,Pe=k;else if(k instanceof pf){if(ge=k._sw,Pe=k._ne,!ge||!Pe)return this}else{if(Array.isArray(k))if(k.length===4||k.every(Array.isArray)){var qe=k;return this.extend(pf.convert(qe))}else{var ft=k;return this.extend(ac.convert(ft))}return this}return!V&&!oe?(this._sw=new ac(ge.lng,ge.lat),this._ne=new ac(Pe.lng,Pe.lat)):(V.lng=Math.min(ge.lng,V.lng),V.lat=Math.min(ge.lat,V.lat),oe.lng=Math.max(Pe.lng,oe.lng),oe.lat=Math.max(Pe.lat,oe.lat)),this},pf.prototype.getCenter=function(){return new ac((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pf.prototype.getSouthWest=function(){return this._sw},pf.prototype.getNorthEast=function(){return this._ne},pf.prototype.getNorthWest=function(){return new ac(this.getWest(),this.getNorth())},pf.prototype.getSouthEast=function(){return new ac(this.getEast(),this.getSouth())},pf.prototype.getWest=function(){return this._sw.lng},pf.prototype.getSouth=function(){return this._sw.lat},pf.prototype.getEast=function(){return this._ne.lng},pf.prototype.getNorth=function(){return this._ne.lat},pf.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pf.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},pf.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pf.prototype.contains=function(k){var V=ac.convert(k),oe=V.lng,ge=V.lat,Pe=this._sw.lat<=ge&&ge<=this._ne.lat,qe=this._sw.lng<=oe&&oe<=this._ne.lng;return this._sw.lng>this._ne.lng&&(qe=this._sw.lng>=oe&&oe>=this._ne.lng),Pe&&qe},pf.convert=function(k){return!k||k instanceof pf?k:new pf(k)};var gS=63710088e-1,ac=function(k,V){if(isNaN(k)||isNaN(V))throw new Error("Invalid LngLat object: ("+k+", "+V+")");if(this.lng=+k,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};ac.prototype.wrap=function(){return new ac(_(this.lng,-180,180),this.lat)},ac.prototype.toArray=function(){return[this.lng,this.lat]},ac.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},ac.prototype.distanceTo=function(k){var V=Math.PI/180,oe=this.lat*V,ge=k.lat*V,Pe=Math.sin(oe)*Math.sin(ge)+Math.cos(oe)*Math.cos(ge)*Math.cos((k.lng-this.lng)*V),qe=gS*Math.acos(Math.min(Pe,1));return qe},ac.prototype.toBounds=function(k){k===void 0&&(k=0);var V=40075017,oe=360*k/V,ge=oe/Math.cos(Math.PI/180*this.lat);return new pf(new ac(this.lng-ge,this.lat-oe),new ac(this.lng+ge,this.lat+oe))},ac.convert=function(k){if(k instanceof ac)return k;if(Array.isArray(k)&&(k.length===2||k.length===3))return new ac(Number(k[0]),Number(k[1]));if(!Array.isArray(k)&&typeof k=="object"&&k!==null)return new ac(Number("lng"in k?k.lng:k.lon),Number(k.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var yS=2*Math.PI*gS;function _S(C){return yS*Math.cos(C*Math.PI/180)}function xS(C){return(180+C)/360}function bS(C){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+C*Math.PI/360)))/360}function wS(C,k){return C/_S(k)}function yO(C){return C*360-180}function uw(C){var k=180-C*360;return 360/Math.PI*Math.atan(Math.exp(k*Math.PI/180))-90}function _O(C,k){return C*_S(uw(k))}function xO(C){return 1/Math.cos(C*Math.PI/180)}var xm=function(k,V,oe){oe===void 0&&(oe=0),this.x=+k,this.y=+V,this.z=+oe};xm.fromLngLat=function(k,V){V===void 0&&(V=0);var oe=ac.convert(k);return new xm(xS(oe.lng),bS(oe.lat),wS(V,oe.lat))},xm.prototype.toLngLat=function(){return new ac(yO(this.x),uw(this.y))},xm.prototype.toAltitude=function(){return _O(this.z,this.y)},xm.prototype.meterInMercatorCoordinateUnits=function(){return 1/yS*xO(uw(this.y))};var bm=function(k,V,oe){this.z=k,this.x=V,this.y=oe,this.key=Vy(0,k,k,V,oe)};bm.prototype.equals=function(k){return this.z===k.z&&this.x===k.x&&this.y===k.y},bm.prototype.url=function(k,V){var oe=gO(this.x,this.y,this.z),ge=bO(this.z,this.x,this.y);return k[(this.x+this.y)%k.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String(V==="tms"?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",ge).replace("{bbox-epsg-3857}",oe)},bm.prototype.getTilePoint=function(k){var V=Math.pow(2,this.z);return new i((k.x*V-this.x)*$i,(k.y*V-this.y)*$i)},bm.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var TS=function(k,V){this.wrap=k,this.canonical=V,this.key=Vy(k,V.z,V.z,V.x,V.y)},mf=function(k,V,oe,ge,Pe){this.overscaledZ=k,this.wrap=V,this.canonical=new bm(oe,+ge,+Pe),this.key=Vy(V,k,oe,ge,Pe)};mf.prototype.equals=function(k){return this.overscaledZ===k.overscaledZ&&this.wrap===k.wrap&&this.canonical.equals(k.canonical)},mf.prototype.scaledTo=function(k){var V=this.canonical.z-k;return k>this.canonical.z?new mf(k,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new mf(k,this.wrap,k,this.canonical.x>>V,this.canonical.y>>V)},mf.prototype.calculateScaledKey=function(k,V){var oe=this.canonical.z-k;return k>this.canonical.z?Vy(this.wrap*+V,k,this.canonical.z,this.canonical.x,this.canonical.y):Vy(this.wrap*+V,k,k,this.canonical.x>>oe,this.canonical.y>>oe)},mf.prototype.isChildOf=function(k){if(k.wrap!==this.wrap)return!1;var V=this.canonical.z-k.canonical.z;return k.overscaledZ===0||k.overscaledZ>V&&k.canonical.y===this.canonical.y>>V},mf.prototype.children=function(k){if(this.overscaledZ>=k)return[new mf(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,oe=this.canonical.x*2,ge=this.canonical.y*2;return[new mf(V,this.wrap,V,oe,ge),new mf(V,this.wrap,V,oe+1,ge),new mf(V,this.wrap,V,oe,ge+1),new mf(V,this.wrap,V,oe+1,ge+1)]},mf.prototype.isLessThan=function(k){return this.wrapk.wrap?!1:this.overscaledZk.overscaledZ?!1:this.canonical.xk.canonical.x?!1:this.canonical.y0;Pe--)ge=1<=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(k+1)},Hv.prototype._unpackMapbox=function(k,V,oe){return(k*256*256+V*256+oe)/10-1e4},Hv.prototype._unpackTerrarium=function(k,V,oe){return k*256+V+oe/256-32768},Hv.prototype.getPixels=function(){return new Sf({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Hv.prototype.backfillBorder=function(k,V,oe){if(this.dim!==k.dim)throw new Error("dem dimension mismatch");var ge=V*this.dim,Pe=V*this.dim+this.dim,qe=oe*this.dim,ft=oe*this.dim+this.dim;switch(V){case-1:ge=Pe-1;break;case 1:Pe=ge+1;break}switch(oe){case-1:qe=ft-1;break;case 1:ft=qe+1;break}for(var Pt=-V*this.dim,Ut=-oe*this.dim,Kt=qe;Kt=0&&_r[3]>=0&&Pt.insert(ft,_r[0],_r[1],_r[2],_r[3])}},Gv.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new nv.VectorTile(new _o(this.rawTileData)).layers,this.sourceLayerCoder=new j1(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Gv.prototype.query=function(k,V,oe,ge){var Pe=this;this.loadVTLayers();for(var qe=k.params||{},ft=$i/k.tileSize/k.scale,Pt=$e(qe.filter),Ut=k.queryGeometry,Kt=k.queryPadding*ft,_r=MS(Ut),Vr=this.grid.query(_r.minX-Kt,_r.minY-Kt,_r.maxX+Kt,_r.maxY+Kt),Or=MS(k.cameraQueryGeometry),dn=this.grid3D.query(Or.minX-Kt,Or.minY-Kt,Or.maxX+Kt,Or.maxY+Kt,function(ga,Ga,Ua,Co){return xd(k.cameraQueryGeometry,ga-Kt,Ga-Kt,Ua+Kt,Co+Kt)}),jn=0,mi=dn;jnge)Pe=!1;else if(!V)Pe=!0;else if(this.expirationTime=nn.maxzoom)&&nn.visibility!=="none"){c(Dr,this.zoom,Vt);var vn=Wn[nn.id]=nn.createBucket({index:Fn.bucketLayerIDs.length,layers:Dr,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:yt,sourceID:this.source});vn.populate(Pr,ri,this.tileID.canonical),Fn.bucketLayerIDs.push(Dr.map(function(wn){return wn.id}))}}}}var gn,kt,or,yr,on=e.mapObject(ri.glyphDependencies,function(wn){return Object.keys(wn).map(Number)});Object.keys(on).length?wr.send("getGlyphs",{uid:this.uid,stacks:on},function(wn,Dn){gn||(gn=wn,kt=Dn,Bn.call(xn))}):kt={};var An=Object.keys(ri.iconDependencies);An.length?wr.send("getImages",{icons:An,source:this.source,tileID:this.tileID,type:"icons"},function(wn,Dn){gn||(gn=wn,or=Dn,Bn.call(xn))}):or={};var Zn=Object.keys(ri.patternDependencies);Zn.length?wr.send("getImages",{icons:Zn,source:this.source,tileID:this.tileID,type:"patterns"},function(wn,Dn){gn||(gn=wn,yr=Dn,Bn.call(xn))}):yr={},Bn.call(this);function Bn(){if(gn)return $r(gn);if(kt&&or&&yr){var wn=new a(kt),Dn=new e.ImageAtlas(or,yr);for(var Ui in Wn){var pi=Wn[Ui];pi instanceof e.SymbolBucket?(c(pi.layers,this.zoom,Vt),e.performSymbolLayout(pi,kt,wn.positions,or,Dn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):pi.hasPattern&&(pi instanceof e.LineBucket||pi instanceof e.FillBucket||pi instanceof e.FillExtrusionBucket)&&(c(pi.layers,this.zoom,Vt),pi.addFeatures(ri,this.tileID.canonical,Dn.patternPositions))}this.status="done",$r(null,{buckets:e.values(Wn).filter(function(Ta){return!Ta.isEmpty()}),featureIndex:Fn,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:wn.image,imageAtlas:Dn,glyphMap:this.returnDependencies?kt:null,iconMap:this.returnDependencies?or:null,glyphPositions:this.returnDependencies?wn.positions:null})}}};function c(Zt,Ft,Ht){for(var Vt=new e.EvaluationParameters(Ft),wr=0,$r=Zt;wr<$r.length;wr+=1){var xn=$r[wr];xn.recalculate(Vt,Ht)}}function h(Zt,Ft){var Ht=e.getArrayBuffer(Zt.request,function(Vt,wr,$r,xn){Vt?Ft(Vt):wr&&Ft(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(wr)),rawData:wr,cacheControl:$r,expires:xn})});return function(){Ht.cancel(),Ft()}}var p=function(Ft,Ht,Vt,wr){this.actor=Ft,this.layerIndex=Ht,this.availableImages=Vt,this.loadVectorData=wr||h,this.loading={},this.loaded={}};p.prototype.loadTile=function(Ft,Ht){var Vt=this,wr=Ft.uid;this.loading||(this.loading={});var $r=Ft&&Ft.request&&Ft.request.collectResourceTiming?new e.RequestPerformance(Ft.request):!1,xn=this.loading[wr]=new s(Ft);xn.abort=this.loadVectorData(Ft,function(en,Fn){if(delete Vt.loading[wr],en||!Fn)return xn.status="done",Vt.loaded[wr]=xn,Ht(en);var Wn=Fn.rawData,ri={};Fn.expires&&(ri.expires=Fn.expires),Fn.cacheControl&&(ri.cacheControl=Fn.cacheControl);var Sn={};if($r){var ui=$r.finish();ui&&(Sn.resourceTiming=JSON.parse(JSON.stringify(ui)))}xn.vectorTile=Fn.vectorTile,xn.parse(Fn.vectorTile,Vt.layerIndex,Vt.availableImages,Vt.actor,function(gt,yt){if(gt||!yt)return Ht(gt);Ht(null,e.extend({rawTileData:Wn.slice(0)},yt,ri,Sn))}),Vt.loaded=Vt.loaded||{},Vt.loaded[wr]=xn})},p.prototype.reloadTile=function(Ft,Ht){var Vt=this,wr=this.loaded,$r=Ft.uid,xn=this;if(wr&&wr[$r]){var en=wr[$r];en.showCollisionBoxes=Ft.showCollisionBoxes;var Fn=function(Wn,ri){var Sn=en.reloadCallback;Sn&&(delete en.reloadCallback,en.parse(en.vectorTile,xn.layerIndex,Vt.availableImages,xn.actor,Sn)),Ht(Wn,ri)};en.status==="parsing"?en.reloadCallback=Fn:en.status==="done"&&(en.vectorTile?en.parse(en.vectorTile,this.layerIndex,this.availableImages,this.actor,Fn):Fn())}},p.prototype.abortTile=function(Ft,Ht){var Vt=this.loading,wr=Ft.uid;Vt&&Vt[wr]&&Vt[wr].abort&&(Vt[wr].abort(),delete Vt[wr]),Ht()},p.prototype.removeTile=function(Ft,Ht){var Vt=this.loaded,wr=Ft.uid;Vt&&Vt[wr]&&delete Vt[wr],Ht()};var d=e.window.ImageBitmap,T=function(){this.loaded={}};T.prototype.loadTile=function(Ft,Ht){var Vt=Ft.uid,wr=Ft.encoding,$r=Ft.rawImageData,xn=d&&$r instanceof d?this.getImageData($r):$r,en=new e.DEMData(Vt,xn,wr);this.loaded=this.loaded||{},this.loaded[Vt]=en,Ht(null,en)},T.prototype.getImageData=function(Ft){(!this.offscreenCanvas||!this.offscreenCanvasContext)&&(this.offscreenCanvas=new OffscreenCanvas(Ft.width,Ft.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ft.width,this.offscreenCanvas.height=Ft.height,this.offscreenCanvasContext.drawImage(Ft,0,0,Ft.width,Ft.height);var Ht=this.offscreenCanvasContext.getImageData(-1,-1,Ft.width+2,Ft.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:Ht.width,height:Ht.height},Ht.data)},T.prototype.removeTile=function(Ft){var Ht=this.loaded,Vt=Ft.uid;Ht&&Ht[Vt]&&delete Ht[Vt]};var l=_;function _(Zt,Ft){var Ht=Zt&&Zt.type,Vt;if(Ht==="FeatureCollection")for(Vt=0;Vt=0!=!!Ft&&Zt.reverse()}var E=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,m=function(Ft){this._feature=Ft,this.extent=e.EXTENT,this.type=Ft.type,this.properties=Ft.tags,"id"in Ft&&!isNaN(Ft.id)&&(this.id=parseInt(Ft.id,10))};m.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ft=[],Ht=0,Vt=this._feature.geometry;Ht"u"&&(Vt.push(en),Fn=Vt.length-1,$r[en]=Fn),Ft.writeVarint(Fn);var Wn=Ht.properties[en],ri=typeof Wn;ri!=="string"&&ri!=="boolean"&&ri!=="number"&&(Wn=JSON.stringify(Wn));var Sn=ri+":"+Wn,ui=xn[Sn];typeof ui>"u"&&(wr.push(Wn),ui=wr.length-1,xn[Sn]=ui),Ft.writeVarint(ui)}}function Q(Zt,Ft){return(Ft<<3)+(Zt&7)}function le(Zt){return Zt<<1^Zt>>31}function se(Zt,Ft){for(var Ht=Zt.loadGeometry(),Vt=Zt.type,wr=0,$r=0,xn=Ht.length,en=0;en>1;$(Zt,Ft,xn,Vt,wr,$r%2),G(Zt,Ft,Ht,Vt,xn-1,$r+1),G(Zt,Ft,Ht,xn+1,wr,$r+1)}}function $(Zt,Ft,Ht,Vt,wr,$r){for(;wr>Vt;){if(wr-Vt>600){var xn=wr-Vt+1,en=Ht-Vt+1,Fn=Math.log(xn),Wn=.5*Math.exp(2*Fn/3),ri=.5*Math.sqrt(Fn*Wn*(xn-Wn)/xn)*(en-xn/2<0?-1:1),Sn=Math.max(Vt,Math.floor(Ht-en*Wn/xn+ri)),ui=Math.min(wr,Math.floor(Ht+(xn-en)*Wn/xn+ri));$(Zt,Ft,Ht,Sn,ui,$r)}var gt=Ft[2*Ht+$r],yt=Vt,Pr=wr;for(J(Zt,Ft,Vt,Ht),Ft[2*wr+$r]>gt&&J(Zt,Ft,Vt,wr);ytgt;)Pr--}Ft[2*Vt+$r]===gt?J(Zt,Ft,Vt,Pr):(Pr++,J(Zt,Ft,Pr,wr)),Pr<=Ht&&(Vt=Pr+1),Ht<=Pr&&(wr=Pr-1)}}function J(Zt,Ft,Ht,Vt){X(Zt,Ht,Vt),X(Ft,2*Ht,2*Vt),X(Ft,2*Ht+1,2*Vt+1)}function X(Zt,Ft,Ht){var Vt=Zt[Ft];Zt[Ft]=Zt[Ht],Zt[Ht]=Vt}function re(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[0,Zt.length-1,0],Fn=[],Wn,ri;en.length;){var Sn=en.pop(),ui=en.pop(),gt=en.pop();if(ui-gt<=xn){for(var yt=gt;yt<=ui;yt++)Wn=Ft[2*yt],ri=Ft[2*yt+1],Wn>=Ht&&Wn<=wr&&ri>=Vt&&ri<=$r&&Fn.push(Zt[yt]);continue}var Pr=Math.floor((gt+ui)/2);Wn=Ft[2*Pr],ri=Ft[2*Pr+1],Wn>=Ht&&Wn<=wr&&ri>=Vt&&ri<=$r&&Fn.push(Zt[Pr]);var Ir=(Sn+1)%2;(Sn===0?Ht<=Wn:Vt<=ri)&&(en.push(gt),en.push(Pr-1),en.push(Ir)),(Sn===0?wr>=Wn:$r>=ri)&&(en.push(Pr+1),en.push(ui),en.push(Ir))}return Fn}function ae(Zt,Ft,Ht,Vt,wr,$r){for(var xn=[0,Zt.length-1,0],en=[],Fn=wr*wr;xn.length;){var Wn=xn.pop(),ri=xn.pop(),Sn=xn.pop();if(ri-Sn<=$r){for(var ui=Sn;ui<=ri;ui++)j(Ft[2*ui],Ft[2*ui+1],Ht,Vt)<=Fn&&en.push(Zt[ui]);continue}var gt=Math.floor((Sn+ri)/2),yt=Ft[2*gt],Pr=Ft[2*gt+1];j(yt,Pr,Ht,Vt)<=Fn&&en.push(Zt[gt]);var Ir=(Wn+1)%2;(Wn===0?Ht-wr<=yt:Vt-wr<=Pr)&&(xn.push(Sn),xn.push(gt-1),xn.push(Ir)),(Wn===0?Ht+wr>=yt:Vt+wr>=Pr)&&(xn.push(gt+1),xn.push(ri),xn.push(Ir))}return en}function j(Zt,Ft,Ht,Vt){var wr=Zt-Ht,$r=Ft-Vt;return wr*wr+$r*$r}var ee=function(Zt){return Zt[0]},ie=function(Zt){return Zt[1]},ce=function(Ft,Ht,Vt,wr,$r){Ht===void 0&&(Ht=ee),Vt===void 0&&(Vt=ie),wr===void 0&&(wr=64),$r===void 0&&($r=Float64Array),this.nodeSize=wr,this.points=Ft;for(var xn=Ft.length<65536?Uint16Array:Uint32Array,en=this.ids=new xn(Ft.length),Fn=this.coords=new $r(Ft.length*2),Wn=0;Wn=wr;ri--){var Sn=+Date.now();Fn=this._cluster(Fn,ri),this.trees[ri]=new ce(Fn,ue,Oe,xn,Float32Array),Vt&&console.log("z%d: %d clusters in %dms",ri,Fn.length,+Date.now()-Sn)}return Vt&&console.timeEnd("total time"),this},Te.prototype.getClusters=function(Ft,Ht){var Vt=((Ft[0]+180)%360+360)%360-180,wr=Math.max(-90,Math.min(90,Ft[1])),$r=Ft[2]===180?180:((Ft[2]+180)%360+360)%360-180,xn=Math.max(-90,Math.min(90,Ft[3]));if(Ft[2]-Ft[0]>=360)Vt=-180,$r=180;else if(Vt>$r){var en=this.getClusters([Vt,wr,180,xn],Ht),Fn=this.getClusters([-180,wr,$r,xn],Ht);return en.concat(Fn)}for(var Wn=this.trees[this._limitZoom(Ht)],ri=Wn.range(at(Vt),tt(xn),at($r),tt(wr)),Sn=[],ui=0,gt=ri;uiHt&&(Pr+=Lr.numPoints||1)}if(Pr>=Fn){for(var Ur=Sn.x*yt,Dr=Sn.y*yt,nn=en&&yt>1?this._map(Sn,!0):null,vn=(ri<<5)+(Ht+1)+this.points.length,gn=0,kt=gt;gn1)for(var An=0,Zn=gt;An>5},Te.prototype._getOriginZoom=function(Ft){return(Ft-this.points.length)%32},Te.prototype._map=function(Ft,Ht){if(Ft.numPoints)return Ht?pe({},Ft.properties):Ft.properties;var Vt=this.points[Ft.index].properties,wr=this.options.map(Vt);return Ht&&wr===Vt?pe({},wr):wr};function Ue(Zt,Ft,Ht,Vt,wr){return{x:Zt,y:Ft,zoom:1/0,id:Ht,parentId:-1,numPoints:Vt,properties:wr}}function Ie(Zt,Ft){var Ht=Zt.geometry.coordinates,Vt=Ht[0],wr=Ht[1];return{x:at(Vt),y:tt(wr),zoom:1/0,index:Ft,parentId:-1}}function Ye(Zt){return{type:"Feature",id:Zt.id,properties:it(Zt),geometry:{type:"Point",coordinates:[ut(Zt.x),Me(Zt.y)]}}}function it(Zt){var Ft=Zt.numPoints,Ht=Ft>=1e4?Math.round(Ft/1e3)+"k":Ft>=1e3?Math.round(Ft/100)/10+"k":Ft;return pe(pe({},Zt.properties),{cluster:!0,cluster_id:Zt.id,point_count:Ft,point_count_abbreviated:Ht})}function at(Zt){return Zt/360+.5}function tt(Zt){var Ft=Math.sin(Zt*Math.PI/180),Ht=.5-.25*Math.log((1+Ft)/(1-Ft))/Math.PI;return Ht<0?0:Ht>1?1:Ht}function ut(Zt){return(Zt-.5)*360}function Me(Zt){var Ft=(180-Zt*360)*Math.PI/180;return 360*Math.atan(Math.exp(Ft))/Math.PI-90}function pe(Zt,Ft){for(var Ht in Ft)Zt[Ht]=Ft[Ht];return Zt}function ue(Zt){return Zt.x}function Oe(Zt){return Zt.y}function rt(Zt,Ft,Ht,Vt){for(var wr=Vt,$r=Ht-Ft>>1,xn=Ht-Ft,en,Fn=Zt[Ft],Wn=Zt[Ft+1],ri=Zt[Ht],Sn=Zt[Ht+1],ui=Ft+3;uiwr)en=ui,wr=gt;else if(gt===wr){var yt=Math.abs(ui-$r);ytVt&&(en-Ft>3&&rt(Zt,Ft,en,Vt),Zt[en+2]=wr,Ht-en>3&&rt(Zt,en,Ht,Vt))}function ot(Zt,Ft,Ht,Vt,wr,$r){var xn=wr-Ht,en=$r-Vt;if(xn!==0||en!==0){var Fn=((Zt-Ht)*xn+(Ft-Vt)*en)/(xn*xn+en*en);Fn>1?(Ht=wr,Vt=$r):Fn>0&&(Ht+=xn*Fn,Vt+=en*Fn)}return xn=Zt-Ht,en=Ft-Vt,xn*xn+en*en}function et(Zt,Ft,Ht,Vt){var wr={id:typeof Zt>"u"?null:Zt,type:Ft,geometry:Ht,tags:Vt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return Lt(wr),wr}function Lt(Zt){var Ft=Zt.geometry,Ht=Zt.type;if(Ht==="Point"||Ht==="MultiPoint"||Ht==="LineString")Et(Zt,Ft);else if(Ht==="Polygon"||Ht==="MultiLineString")for(var Vt=0;Vt0&&(Vt?xn+=(wr*Wn-Fn*$r)/2:xn+=Math.sqrt(Math.pow(Fn-wr,2)+Math.pow(Wn-$r,2))),wr=Fn,$r=Wn}var ri=Ft.length-3;Ft[2]=1,rt(Ft,0,ri,Ht),Ft[ri+2]=1,Ft.size=Math.abs(xn),Ft.start=0,Ft.end=Ft.size}function Rr(Zt,Ft,Ht,Vt){for(var wr=0;wr1?1:Ht}function _t(Zt,Ft,Ht,Vt,wr,$r,xn,en){if(Ht/=Ft,Vt/=Ft,$r>=Ht&&xn=Vt)return null;for(var Fn=[],Wn=0;Wn=Ht&&yt=Vt)continue;var Pr=[];if(ui==="Point"||ui==="MultiPoint")Be(Sn,Pr,Ht,Vt,wr);else if(ui==="LineString")Ke(Sn,Pr,Ht,Vt,wr,!1,en.lineMetrics);else if(ui==="MultiLineString")Se(Sn,Pr,Ht,Vt,wr,!1);else if(ui==="Polygon")Se(Sn,Pr,Ht,Vt,wr,!0);else if(ui==="MultiPolygon")for(var Ir=0;Ir=Ht&&xn<=Vt&&(Ft.push(Zt[$r]),Ft.push(Zt[$r+1]),Ft.push(Zt[$r+2]))}}function Ke(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=je(Zt),Fn=wr===0?Ee:we,Wn=Zt.start,ri,Sn,ui=0;uiHt&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),xn&&(en.start=Wn+ri*Sn)):Mr>Vt?Lr=Ht&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),Ur=!0),Lr>Vt&&Mr<=Vt&&(Sn=Fn(en,gt,yt,Ir,Tr,Vt),Ur=!0),!$r&&Ur&&(xn&&(en.end=Wn+ri*Sn),Ft.push(en),en=je(Zt)),xn&&(Wn+=ri)}var Dr=Zt.length-3;gt=Zt[Dr],yt=Zt[Dr+1],Pr=Zt[Dr+2],Mr=wr===0?gt:yt,Mr>=Ht&&Mr<=Vt&&He(en,gt,yt,Pr),Dr=en.length-3,$r&&Dr>=3&&(en[Dr]!==en[0]||en[Dr+1]!==en[1])&&He(en,en[0],en[1],en[2]),en.length&&Ft.push(en)}function je(Zt){var Ft=[];return Ft.size=Zt.size,Ft.start=Zt.start,Ft.end=Zt.end,Ft}function Se(Zt,Ft,Ht,Vt,wr,$r){for(var xn=0;xnxn.maxX&&(xn.maxX=ri),Sn>xn.maxY&&(xn.maxY=Sn)}return xn}function Xt(Zt,Ft,Ht,Vt){var wr=Ft.geometry,$r=Ft.type,xn=[];if($r==="Point"||$r==="MultiPoint")for(var en=0;en0&&Ft.size<(wr?xn:Vt)){Ht.numPoints+=Ft.length/3;return}for(var en=[],Fn=0;Fnxn)&&(Ht.numSimplified++,en.push(Ft[Fn]),en.push(Ft[Fn+1])),Ht.numPoints++;wr&&ur(en,$r),Zt.push(en)}function ur(Zt,Ft){for(var Ht=0,Vt=0,wr=Zt.length,$r=wr-2;Vt0===Ft)for(Vt=0,wr=Zt.length;Vt24)throw new Error("maxZoom should be in the 0-24 range");if(Ft.promoteId&&Ft.generateId)throw new Error("promoteId and generateId cannot be used together.");var Vt=Bt(Zt,Ft);this.tiles={},this.tileCoords=[],Ht&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",Ft.indexMaxZoom,Ft.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),Vt=Le(Vt,Ft),Vt.length&&this.splitTile(Vt,0,0,0),Ht&&(Vt.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}Rn.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Rn.prototype.splitTile=function(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[Zt,Ft,Ht,Vt],Fn=this.options,Wn=Fn.debug;en.length;){Vt=en.pop(),Ht=en.pop(),Ft=en.pop(),Zt=en.pop();var ri=1<1&&console.time("creation"),ui=this.tiles[Sn]=Nt(Zt,Ft,Ht,Vt,Fn),this.tileCoords.push({z:Ft,x:Ht,y:Vt}),Wn)){Wn>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Ft,Ht,Vt,ui.numFeatures,ui.numPoints,ui.numSimplified),console.timeEnd("creation"));var gt="z"+Ft;this.stats[gt]=(this.stats[gt]||0)+1,this.total++}if(ui.source=Zt,wr){if(Ft===Fn.maxZoom||Ft===wr)continue;var yt=1<1&&console.time("clipping");var Pr=.5*Fn.buffer/Fn.extent,Ir=.5-Pr,Tr=.5+Pr,Mr=1+Pr,Lr,Ur,Dr,nn,vn,gn;Lr=Ur=Dr=nn=null,vn=_t(Zt,ri,Ht-Pr,Ht+Tr,0,ui.minX,ui.maxX,Fn),gn=_t(Zt,ri,Ht+Ir,Ht+Mr,0,ui.minX,ui.maxX,Fn),Zt=null,vn&&(Lr=_t(vn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),Ur=_t(vn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),vn=null),gn&&(Dr=_t(gn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),nn=_t(gn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),gn=null),Wn>1&&console.timeEnd("clipping"),en.push(Lr||[],Ft+1,Ht*2,Vt*2),en.push(Ur||[],Ft+1,Ht*2,Vt*2+1),en.push(Dr||[],Ft+1,Ht*2+1,Vt*2),en.push(nn||[],Ft+1,Ht*2+1,Vt*2+1)}}},Rn.prototype.getTile=function(Zt,Ft,Ht){var Vt=this.options,wr=Vt.extent,$r=Vt.debug;if(Zt<0||Zt>24)return null;var xn=1<1&&console.log("drilling down to z%d-%d-%d",Zt,Ft,Ht);for(var Fn=Zt,Wn=Ft,ri=Ht,Sn;!Sn&&Fn>0;)Fn--,Wn=Math.floor(Wn/2),ri=Math.floor(ri/2),Sn=this.tiles[Nn(Fn,Wn,ri)];return!Sn||!Sn.source?null:($r>1&&console.log("found parent tile z%d-%d-%d",Fn,Wn,ri),$r>1&&console.time("drilling down"),this.splitTile(Sn.source,Fn,Wn,ri,Zt,Ft,Ht),$r>1&&console.timeEnd("drilling down"),this.tiles[en]?bt(this.tiles[en],wr):null)};function Nn(Zt,Ft,Ht){return((1<=0?0:ve.button},r.remove=function(ve){ve.parentNode&&ve.parentNode.removeChild(ve)};function d(ve,K,me){var te,ye,Ze,We=e.browser.devicePixelRatio>1?"@2x":"",lt=e.getJSON(K.transformRequest(K.normalizeSpriteURL(ve,We,".json"),e.ResourceType.SpriteJSON),function(xr,Fr){lt=null,Ze||(Ze=xr,te=Fr,Wt())}),Ct=e.getImage(K.transformRequest(K.normalizeSpriteURL(ve,We,".png"),e.ResourceType.SpriteImage),function(xr,Fr){Ct=null,Ze||(Ze=xr,ye=Fr,Wt())});function Wt(){if(Ze)me(Ze);else if(te&&ye){var xr=e.browser.getImageData(ye),Fr={};for(var Ar in te){var Gt=te[Ar],nr=Gt.width,mr=Gt.height,zr=Gt.x,Gr=Gt.y,Xr=Gt.sdf,fn=Gt.pixelRatio,sn=Gt.stretchX,Zr=Gt.stretchY,hn=Gt.content,qr=new e.RGBAImage({width:nr,height:mr});e.RGBAImage.copy(xr,qr,{x:zr,y:Gr},{x:0,y:0},{width:nr,height:mr}),Fr[Ar]={data:qr,pixelRatio:fn,sdf:Xr,stretchX:sn,stretchY:Zr,content:hn}}me(null,Fr)}}return{cancel:function(){lt&&(lt.cancel(),lt=null),Ct&&(Ct.cancel(),Ct=null)}}}function T(ve){var K=ve.userImage;if(K&&K.render){var me=K.render();if(me)return ve.data.replace(new Uint8Array(K.data.buffer)),!0}return!1}var l=1,_=function(ve){function K(){ve.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.isLoaded=function(){return this.loaded},K.prototype.setLoaded=function(te){if(this.loaded!==te&&(this.loaded=te,te)){for(var ye=0,Ze=this.requestors;ye=0?1.2:1))}b.prototype.draw=function(ve){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ve,this.buffer,this.middle);for(var K=this.ctx.getImageData(0,0,this.size,this.size),me=new Uint8ClampedArray(this.size*this.size),te=0;te65535){xr(new Error("glyphs > 65535 not supported"));return}if(Gt.ranges[mr]){xr(null,{stack:Fr,id:Ar,glyph:nr});return}var zr=Gt.requests[mr];zr||(zr=Gt.requests[mr]=[],y.loadGlyphRange(Fr,mr,te.url,te.requestManager,function(Gr,Xr){if(Xr){for(var fn in Xr)te._doesCharSupportLocalGlyph(+fn)||(Gt.glyphs[+fn]=Xr[+fn]);Gt.ranges[mr]=!0}for(var sn=0,Zr=zr;sn1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=void 0,mr=Ze/te*(ye+1);if(Wt.isDash){var zr=ye-Math.abs(mr);nr=Math.sqrt(Gt*Gt+zr*zr)}else nr=ye-Math.sqrt(Gt*Gt+mr*mr);this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addRegularDash=function(K){for(var me=K.length-1;me>=0;--me){var te=K[me],ye=K[me+1];te.zeroLength?K.splice(me,1):ye&&ye.isDash===te.isDash&&(ye.left=te.left,K.splice(me,1))}var Ze=K[0],We=K[K.length-1];Ze.isDash===We.isDash&&(Ze.left=We.left-this.width,We.right=Ze.right+this.width);for(var lt=this.width*this.nextRow,Ct=0,Wt=K[Ct],xr=0;xr1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=Wt.isDash?Gt:-Gt;this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addDash=function(K,me){var te=me?7:0,ye=2*te+1;if(this.nextRow+ye>this.height)return e.warnOnce("LineAtlas out of space"),null;for(var Ze=0,We=0;We=te.minX&&K.x=te.minY&&K.y0&&(xr[new e.OverscaledTileID(te.overscaledZ,lt,ye.z,We,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,te.wrap,ye.z,ye.x,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,Wt,ye.z,Ct,ye.y-1).key]={backfilled:!1}),ye.y+10&&(Ze.resourceTiming=te._resourceTiming,te._resourceTiming=[]),te.fire(new e.Event("data",Ze))})},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setData=function(te){var ye=this;return this._data=te,this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Ze){if(Ze){ye.fire(new e.ErrorEvent(Ze));return}var We={dataType:"source",sourceDataType:"content"};ye._collectResourceTiming&&ye._resourceTiming&&ye._resourceTiming.length>0&&(We.resourceTiming=ye._resourceTiming,ye._resourceTiming=[]),ye.fire(new e.Event("data",We))}),this},K.prototype.getClusterExpansionZoom=function(te,ye){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterChildren=function(te,ye){return this.actor.send("geojson.getClusterChildren",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterLeaves=function(te,ye,Ze,We){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:te,limit:ye,offset:Ze},We),this},K.prototype._updateWorkerData=function(te){var ye=this;this._loaded=!1;var Ze=e.extend({},this.workerOptions),We=this._data;typeof We=="string"?(Ze.request=this.map._requestManager.transformRequest(e.browser.resolveURL(We),e.ResourceType.Source),Ze.request.collectResourceTiming=this._collectResourceTiming):Ze.data=JSON.stringify(We),this.actor.send(this.type+".loadData",Ze,function(lt,Ct){ye._removed||Ct&&Ct.abandoned||(ye._loaded=!0,Ct&&Ct.resourceTiming&&Ct.resourceTiming[ye.id]&&(ye._resourceTiming=Ct.resourceTiming[ye.id].slice(0)),ye.actor.send(ye.type+".coalesce",{source:Ze.source},null),te(lt))})},K.prototype.loaded=function(){return this._loaded},K.prototype.loadTile=function(te,ye){var Ze=this,We=te.actor?"reloadTile":"loadTile";te.actor=this.actor;var lt={type:this.type,uid:te.uid,tileID:te.tileID,zoom:te.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};te.request=this.actor.send(We,lt,function(Ct,Wt){return delete te.request,te.unloadVectorData(),te.aborted?ye(null):Ct?ye(Ct):(te.loadVectorData(Wt,Ze.map.painter,We==="reloadTile"),ye(null))})},K.prototype.abortTile=function(te){te.request&&(te.request.cancel(),delete te.request),te.aborted=!0},K.prototype.unloadTile=function(te){te.unloadVectorData(),this.actor.send("removeTile",{uid:te.uid,type:this.type,source:this.id})},K.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},K.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},K.prototype.hasTransition=function(){return!1},K}(e.Evented),le=e.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),se=function(ve){function K(me,te,ye,Ze){ve.call(this),this.id=me,this.dispatcher=ye,this.coordinates=te.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ze),this.options=te}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(te,ye){var Ze=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),function(We,lt){Ze._loaded=!0,We?Ze.fire(new e.ErrorEvent(We)):lt&&(Ze.image=lt,te&&(Ze.coordinates=te),ye&&ye(),Ze._finishLoading())})},K.prototype.loaded=function(){return this._loaded},K.prototype.updateImage=function(te){var ye=this;return!this.image||!te.url?this:(this.options.url=te.url,this.load(te.coordinates,function(){ye.texture=null}),this)},K.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})))},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setCoordinates=function(te){var ye=this;this.coordinates=te;var Ze=te.map(e.MercatorCoordinate.fromLngLat);this.tileID=fe(Ze),this.minzoom=this.maxzoom=this.tileID.z;var We=Ze.map(function(lt){return ye.tileID.getTilePoint(lt)._round()});return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(We[0].x,We[0].y,0,0),this._boundsArray.emplaceBack(We[1].x,We[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(We[3].x,We[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(We[2].x,We[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})),this},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(te,this.image,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!=="loaded"&&(We.state="loaded",We.texture=this.texture)}}},K.prototype.loadTile=function(te,ye){this.tileID&&this.tileID.equals(te.tileID.canonical)?(this.tiles[String(te.tileID.wrap)]=te,te.buckets={},ye(null)):(te.state="errored",ye(null))},K.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return!1},K}(e.Evented);function fe(ve){for(var K=1/0,me=1/0,te=-1/0,ye=-1/0,Ze=0,We=ve;Zeye.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+ye.start(0)+" and "+ye.end(0)+"-second mark."))):this.video.currentTime=te}},K.prototype.getVideo=function(){return this.video},K.prototype.onAdd=function(te){this.map||(this.map=te,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE),ye.texSubImage2D(ye.TEXTURE_2D,0,0,0,ye.RGBA,ye.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(te,this.video,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!=="loaded"&&(We.state="loaded",We.texture=this.texture)}}},K.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this.video&&!this.video.paused},K}(se),$=function(ve){function K(me,te,ye,Ze){ve.call(this,me,te,ye,Ze),te.coordinates?(!Array.isArray(te.coordinates)||te.coordinates.length!==4||te.coordinates.some(function(We){return!Array.isArray(We)||We.length!==2||We.some(function(lt){return typeof lt!="number"})}))&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'missing required property "coordinates"'))),te.animate&&typeof te.animate!="boolean"&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'optional "animate" property must be a boolean value'))),te.canvas?typeof te.canvas!="string"&&!(te.canvas instanceof e.window.HTMLCanvasElement)&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+me,null,'missing required property "canvas"'))),this.options=te,this.animate=te.animate!==void 0?te.animate:!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new e.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero.")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},K.prototype.getCanvas=function(){return this.canvas},K.prototype.onAdd=function(te){this.map=te,this.load(),this.canvas&&this.animate&&this.play()},K.prototype.onRemove=function(){this.pause()},K.prototype.prepare=function(){var te=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,te=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,te=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var ye=this.map.painter.context,Ze=ye.gl;this.boundsBuffer||(this.boundsBuffer=ye.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(te||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(ye,this.canvas,Ze.RGBA,{premultiply:!0});for(var We in this.tiles){var lt=this.tiles[We];lt.state!=="loaded"&&(lt.state="loaded",lt.texture=this.texture)}}},K.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this._playing},K.prototype._hasInvalidDimensions=function(){for(var te=0,ye=[this.canvas.width,this.canvas.height];tethis.max){var lt=this._getAndRemoveByKey(this.order[0]);lt&&this.onRemove(lt)}return this},Ie.prototype.has=function(K){return K.wrapped().key in this.data},Ie.prototype.getAndRemove=function(K){return this.has(K)?this._getAndRemoveByKey(K.wrapped().key):null},Ie.prototype._getAndRemoveByKey=function(K){var me=this.data[K].shift();return me.timeout&&clearTimeout(me.timeout),this.data[K].length===0&&delete this.data[K],this.order.splice(this.order.indexOf(K),1),me.value},Ie.prototype.getByKey=function(K){var me=this.data[K];return me?me[0].value:null},Ie.prototype.get=function(K){if(!this.has(K))return null;var me=this.data[K.wrapped().key][0];return me.value},Ie.prototype.remove=function(K,me){if(!this.has(K))return this;var te=K.wrapped().key,ye=me===void 0?0:this.data[te].indexOf(me),Ze=this.data[te][ye];return this.data[te].splice(ye,1),Ze.timeout&&clearTimeout(Ze.timeout),this.data[te].length===0&&delete this.data[te],this.onRemove(Ze.value),this.order.splice(this.order.indexOf(te),1),this},Ie.prototype.setMaxSize=function(K){for(this.max=K;this.order.length>this.max;){var me=this._getAndRemoveByKey(this.order[0]);me&&this.onRemove(me)}return this},Ie.prototype.filter=function(K){var me=[];for(var te in this.data)for(var ye=0,Ze=this.data[te];ye1||(Math.abs(Fr)>1&&(Math.abs(Fr+Gt)===1?Fr+=Gt:Math.abs(Fr-Gt)===1&&(Fr-=Gt)),!(!xr.dem||!Wt.dem)&&(Wt.dem.backfillBorder(xr.dem,Fr,Ar),Wt.neighboringTiles&&Wt.neighboringTiles[nr]&&(Wt.neighboringTiles[nr].backfilled=!0)))}},K.prototype.getTile=function(te){return this.getTileByID(te.key)},K.prototype.getTileByID=function(te){return this._tiles[te]},K.prototype._retainLoadedChildren=function(te,ye,Ze,We){for(var lt in this._tiles){var Ct=this._tiles[lt];if(!(We[lt]||!Ct.hasData()||Ct.tileID.overscaledZ<=ye||Ct.tileID.overscaledZ>Ze)){for(var Wt=Ct.tileID;Ct&&Ct.tileID.overscaledZ>ye+1;){var xr=Ct.tileID.scaledTo(Ct.tileID.overscaledZ-1);Ct=this._tiles[xr.key],Ct&&Ct.hasData()&&(Wt=xr)}for(var Fr=Wt;Fr.overscaledZ>ye;)if(Fr=Fr.scaledTo(Fr.overscaledZ-1),te[Fr.key]){We[Wt.key]=Wt;break}}}},K.prototype.findLoadedParent=function(te,ye){if(te.key in this._loadedParentTiles){var Ze=this._loadedParentTiles[te.key];return Ze&&Ze.tileID.overscaledZ>=ye?Ze:null}for(var We=te.overscaledZ-1;We>=ye;We--){var lt=te.scaledTo(We),Ct=this._getLoadedTile(lt);if(Ct)return Ct}},K.prototype._getLoadedTile=function(te){var ye=this._tiles[te.key];if(ye&&ye.hasData())return ye;var Ze=this._cache.getByKey(te.wrapped().key);return Ze},K.prototype.updateCacheSize=function(te){var ye=Math.ceil(te.width/this._source.tileSize)+1,Ze=Math.ceil(te.height/this._source.tileSize)+1,We=ye*Ze,lt=5,Ct=Math.floor(We*lt),Wt=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Ct):Ct;this._cache.setMaxSize(Wt)},K.prototype.handleWrapJump=function(te){var ye=this._prevLng===void 0?te:this._prevLng,Ze=te-ye,We=Ze/360,lt=Math.round(We);if(this._prevLng=te,lt){var Ct={};for(var Wt in this._tiles){var xr=this._tiles[Wt];xr.tileID=xr.tileID.unwrapTo(xr.tileID.wrap+lt),Ct[xr.tileID.key]=xr}this._tiles=Ct;for(var Fr in this._timers)clearTimeout(this._timers[Fr]),delete this._timers[Fr];for(var Ar in this._tiles){var Gt=this._tiles[Ar];this._setTileReloadTimer(Ar,Gt)}}},K.prototype.update=function(te){var ye=this;if(this.transform=te,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(te),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ze;this.used?this._source.tileID?Ze=te.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(vi){return new e.OverscaledTileID(vi.canonical.z,vi.wrap,vi.canonical.z,vi.canonical.x,vi.canonical.y)}):(Ze=te.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ze=Ze.filter(function(vi){return ye._source.hasTile(vi)}))):Ze=[];var We=te.coveringZoomLevel(this._source),lt=Math.max(We-K.maxOverzooming,this._source.minzoom),Ct=Math.max(We+K.maxUnderzooming,this._source.minzoom),Wt=this._updateRetainedTiles(Ze,We);if(Fn(this._source.type)){for(var xr={},Fr={},Ar=Object.keys(Wt),Gt=0,nr=Ar;Gtthis._source.maxzoom){var Xr=zr.children(this._source.maxzoom)[0],fn=this.getTile(Xr);if(fn&&fn.hasData()){Ze[Xr.key]=Xr;continue}}else{var sn=zr.children(this._source.maxzoom);if(Ze[sn[0].key]&&Ze[sn[1].key]&&Ze[sn[2].key]&&Ze[sn[3].key])continue}for(var Zr=Gr.wasRequested(),hn=zr.overscaledZ-1;hn>=lt;--hn){var qr=zr.scaledTo(hn);if(We[qr.key]||(We[qr.key]=!0,Gr=this.getTile(qr),!Gr&&Zr&&(Gr=this._addTile(qr)),Gr&&(Ze[qr.key]=qr,Zr=Gr.wasRequested(),Gr.hasData())))break}}}return Ze},K.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var te in this._tiles){for(var ye=[],Ze=void 0,We=this._tiles[te].tileID;We.overscaledZ>0;){if(We.key in this._loadedParentTiles){Ze=this._loadedParentTiles[We.key];break}ye.push(We.key);var lt=We.scaledTo(We.overscaledZ-1);if(Ze=this._getLoadedTile(lt),Ze)break;We=lt}for(var Ct=0,Wt=ye;Ct0)&&(ye.hasData()&&ye.state!=="reloading"?this._cache.add(ye.tileID,ye,ye.getExpiryTimeout()):(ye.aborted=!0,this._abortTile(ye),this._unloadTile(ye))))},K.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var te in this._tiles)this._removeTile(te);this._cache.reset()},K.prototype.tilesIn=function(te,ye,Ze){var We=this,lt=[],Ct=this.transform;if(!Ct)return lt;for(var Wt=Ze?Ct.getCameraQueryGeometry(te):te,xr=te.map(function(hn){return Ct.pointCoordinate(hn)}),Fr=Wt.map(function(hn){return Ct.pointCoordinate(hn)}),Ar=this.getIds(),Gt=1/0,nr=1/0,mr=-1/0,zr=-1/0,Gr=0,Xr=Fr;Gr=0&&Ji[1].y+vi>=0){var Pi=xr.map(function(ja){return kn.getTilePoint(ja)}),ea=Fr.map(function(ja){return kn.getTilePoint(ja)});lt.push({tile:qr,tileID:kn,queryGeometry:Pi,cameraQueryGeometry:ea,scale:Xn})}}},Zr=0;Zr=e.browser.now())return!0}return!1},K.prototype.setFeatureState=function(te,ye,Ze){te=te||"_geojsonTileLayer",this._state.updateState(te,ye,Ze)},K.prototype.removeFeatureState=function(te,ye,Ze){te=te||"_geojsonTileLayer",this._state.removeFeatureState(te,ye,Ze)},K.prototype.getFeatureState=function(te,ye){return te=te||"_geojsonTileLayer",this._state.getState(te,ye)},K.prototype.setDependencies=function(te,ye,Ze){var We=this._tiles[te];We&&We.setDependencies(ye,Ze)},K.prototype.reloadTilesForDependencies=function(te,ye){for(var Ze in this._tiles){var We=this._tiles[Ze];We.hasDependency(te,ye)&&this._reloadTile(Ze,"reloading")}this._cache.filter(function(lt){return!lt.hasDependency(te,ye)})},K}(e.Evented);xn.maxOverzooming=10,xn.maxUnderzooming=3;function en(ve,K){var me=Math.abs(ve.wrap*2)-+(ve.wrap<0),te=Math.abs(K.wrap*2)-+(K.wrap<0);return ve.overscaledZ-K.overscaledZ||te-me||K.canonical.y-ve.canonical.y||K.canonical.x-ve.canonical.x}function Fn(ve){return ve==="raster"||ve==="image"||ve==="video"}function Wn(){return new e.window.Worker(Us.workerUrl)}var ri="mapboxgl_preloaded_worker_pool",Sn=function(){this.active={}};Sn.prototype.acquire=function(K){if(!this.workers)for(this.workers=[];this.workers.length0?(ye-We)/lt:0;return this.points[Ze].mult(1-Ct).add(this.points[me].mult(Ct))};var wn=function(K,me,te){var ye=this.boxCells=[],Ze=this.circleCells=[];this.xCellCount=Math.ceil(K/te),this.yCellCount=Math.ceil(me/te);for(var We=0;Wethis.width||ye<0||me>this.height)return Ze?!1:[];var lt=[];if(K<=0&&me<=0&&this.width<=te&&this.height<=ye){if(Ze)return!0;for(var Ct=0;Ct0:lt}},wn.prototype._queryCircle=function(K,me,te,ye,Ze){var We=K-te,lt=K+te,Ct=me-te,Wt=me+te;if(lt<0||We>this.width||Wt<0||Ct>this.height)return ye?!1:[];var xr=[],Fr={hitTest:ye,circle:{x:K,y:me,radius:te},seenUids:{box:{},circle:{}}};return this._forEachCell(We,Ct,lt,Wt,this._queryCellCircle,xr,Fr,Ze),ye?xr.length>0:xr},wn.prototype.query=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!1,Ze)},wn.prototype.hitTest=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!0,Ze)},wn.prototype.hitTestCircle=function(K,me,te,ye){return this._queryCircle(K,me,te,!0,ye)},wn.prototype._queryCell=function(K,me,te,ye,Ze,We,lt,Ct){var Wt=lt.seenUids,xr=this.boxCells[Ze];if(xr!==null)for(var Fr=this.bboxes,Ar=0,Gt=xr;Ar=Fr[mr+0]&&ye>=Fr[mr+1]&&(!Ct||Ct(this.boxKeys[nr]))){if(lt.hitTest)return We.push(!0),!0;We.push({key:this.boxKeys[nr],x1:Fr[mr],y1:Fr[mr+1],x2:Fr[mr+2],y2:Fr[mr+3]})}}}var zr=this.circleCells[Ze];if(zr!==null)for(var Gr=this.circles,Xr=0,fn=zr;Xrlt*lt+Ct*Ct},wn.prototype._circleAndRectCollide=function(K,me,te,ye,Ze,We,lt){var Ct=(We-ye)/2,Wt=Math.abs(K-(ye+Ct));if(Wt>Ct+te)return!1;var xr=(lt-Ze)/2,Fr=Math.abs(me-(Ze+xr));if(Fr>xr+te)return!1;if(Wt<=Ct||Fr<=xr)return!0;var Ar=Wt-Ct,Gt=Fr-xr;return Ar*Ar+Gt*Gt<=te*te};function Dn(ve,K,me,te,ye){var Ze=e.create();return K?(e.scale(Ze,Ze,[1/ye,1/ye,1]),me||e.rotateZ(Ze,Ze,te.angle)):e.multiply(Ze,te.labelPlaneMatrix,ve),Ze}function Ui(ve,K,me,te,ye){if(K){var Ze=e.clone(ve);return e.scale(Ze,Ze,[ye,ye,1]),me||e.rotateZ(Ze,Ze,-te.angle),Ze}else return te.glCoordMatrix}function pi(ve,K){var me=[ve.x,ve.y,0,1];gs(me,me,K);var te=me[3];return{point:new e.Point(me[0]/te,me[1]/te),signedDistanceFromCamera:te}}function Ta(ve,K){return .5+.5*(ve/K)}function Sa(ve,K){var me=ve[0]/ve[3],te=ve[1]/ve[3],ye=me>=-K[0]&&me<=K[0]&&te>=-K[1]&&te<=K[1];return ye}function qa(ve,K,me,te,ye,Ze,We,lt){var Ct=te?ve.textSizeData:ve.iconSizeData,Wt=e.evaluateSizeForZoom(Ct,me.transform.zoom),xr=[256/me.width*2+1,256/me.height*2+1],Fr=te?ve.text.dynamicLayoutVertexArray:ve.icon.dynamicLayoutVertexArray;Fr.clear();for(var Ar=ve.lineVertexArray,Gt=te?ve.text.placedSymbolArray:ve.icon.placedSymbolArray,nr=me.transform.width/me.transform.height,mr=!1,zr=0;zrZe)return{useVertical:!0}}return(ve===e.WritingMode.vertical?K.yme.x)?{needsFlipping:!0}:null}function Xa(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr,Fr,Ar,Gt){var nr=K/24,mr=ve.lineOffsetX*nr,zr=ve.lineOffsetY*nr,Gr;if(ve.numGlyphs>1){var Xr=ve.glyphStartIndex+ve.numGlyphs,fn=ve.lineStartIndex,sn=ve.lineStartIndex+ve.lineLength,Zr=to(nr,lt,mr,zr,me,xr,Fr,ve,Ct,Ze,Ar);if(!Zr)return{notEnoughRoom:!0};var hn=pi(Zr.first.point,We).point,qr=pi(Zr.last.point,We).point;if(te&&!me){var kn=yo(ve.writingMode,hn,qr,Gt);if(kn)return kn}Gr=[Zr.first];for(var Xn=ve.glyphStartIndex+1;Xn0?ea.point:Go(Fr,Pi,vi,1,ye),Ea=yo(ve.writingMode,vi,ja,Gt);if(Ea)return Ea}var $i=pa(nr*lt.getoffsetX(ve.glyphStartIndex),mr,zr,me,xr,Fr,ve.segment,ve.lineStartIndex,ve.lineStartIndex+ve.lineLength,Ct,Ze,Ar);if(!$i)return{notEnoughRoom:!0};Gr=[$i]}for(var da=0,fa=Gr;da0?1:-1,nr=0;te&&(Gt*=-1,nr=Math.PI),Gt<0&&(nr+=Math.PI);for(var mr=Gt>0?lt+We:lt+We+1,zr=ye,Gr=ye,Xr=0,fn=0,sn=Math.abs(Ar),Zr=[];Xr+fn<=sn;){if(mr+=Gt,mr=Ct)return null;if(Gr=zr,Zr.push(zr),zr=Fr[mr],zr===void 0){var hn=new e.Point(Wt.getx(mr),Wt.gety(mr)),qr=pi(hn,xr);if(qr.signedDistanceFromCamera>0)zr=Fr[mr]=qr.point;else{var kn=mr-Gt,Xn=Xr===0?Ze:new e.Point(Wt.getx(kn),Wt.gety(kn));zr=Go(Xn,hn,Gr,sn-Xr+1,xr)}}Xr+=fn,fn=Gr.dist(zr)}var vi=(sn-Xr)/fn,Ji=zr.sub(Gr),Pi=Ji.mult(vi)._add(Gr);Pi._add(Ji._unit()._perp()._mult(me*Gt));var ea=nr+Math.atan2(zr.y-Gr.y,zr.x-Gr.x);return Zr.push(Pi),{point:Pi,angle:ea,path:Zr}}var cs=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Ko(ve,K){for(var me=0;me=1;za--)fa.push($i.path[za]);for(var Qa=1;Qa0){for(var rs=fa[0].clone(),js=fa[0].clone(),Cl=1;Cl=ea.x&&js.x<=ja.x&&rs.y>=ea.y&&js.y<=ja.y?$s=[fa]:js.xja.x||js.yja.y?$s=[]:$s=e.clipLine([fa],ea.x,ea.y,ja.x,ja.y)}for(var Ou=0,Kh=$s;Ou=this.screenRightBoundary||yethis.screenBottomBoundary},zo.prototype.isInsideGrid=function(K,me,te,ye){return te>=0&&K=0&&me0){var sn;return this.prevPlacement&&this.prevPlacement.variableOffsets[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID].text&&(sn=this.prevPlacement.variableOffsets[Ar.crossTileID].anchor),this.variableOffsets[Ar.crossTileID]={textOffset:zr,width:te,height:ye,anchor:K,textBoxScale:Ze,prevAnchor:sn},this.markUsedJustification(Gt,K,Ar,nr),Gt.allowVerticalPlacement&&(this.markUsedOrientation(Gt,nr,Ar),this.placedOrientations[Ar.crossTileID]=nr),{shift:Gr,placedGlyphBoxes:Xr}}},fs.prototype.placeLayerBucketPart=function(K,me,te){var ye=this,Ze=K.parameters,We=Ze.bucket,lt=Ze.layout,Ct=Ze.posMatrix,Wt=Ze.textLabelPlaneMatrix,xr=Ze.labelToScreenMatrix,Fr=Ze.textPixelRatio,Ar=Ze.holdingForFade,Gt=Ze.collisionBoxArray,nr=Ze.partiallyEvaluatedTextSize,mr=Ze.collisionGroup,zr=lt.get("text-optional"),Gr=lt.get("icon-optional"),Xr=lt.get("text-allow-overlap"),fn=lt.get("icon-allow-overlap"),sn=lt.get("text-rotation-alignment")==="map",Zr=lt.get("text-pitch-alignment")==="map",hn=lt.get("icon-text-fit")!=="none",qr=lt.get("symbol-z-order")==="viewport-y",kn=Xr&&(fn||!We.hasIconData()||Gr),Xn=fn&&(Xr||!We.hasTextData()||zr);!We.collisionArrays&&Gt&&We.deserializeCollisionBoxes(Gt);var vi=function($i,da){if(!me[$i.crossTileID]){if(Ar){ye.placements[$i.crossTileID]=new hs(!1,!1,!1);return}var fa=!1,za=!1,Qa=!0,Cs=null,ws={box:null,offscreen:null},$s={box:null,offscreen:null},rs=null,js=null,Cl=null,Ou=0,Kh=0,Jh=0;da.textFeatureIndex?Ou=da.textFeatureIndex:$i.useRuntimeCollisionCircles&&(Ou=$i.featureIndex),da.verticalTextFeatureIndex&&(Kh=da.verticalTextFeatureIndex);var fh=da.textBox;if(fh){var sd=function(Bu){var Hl=e.WritingMode.horizontal;if(We.allowVerticalPlacement&&!Bu&&ye.prevPlacement){var vh=ye.prevPlacement.placedOrientations[$i.crossTileID];vh&&(ye.placedOrientations[$i.crossTileID]=vh,Hl=vh,ye.markUsedOrientation(We,Hl,$i))}return Hl},$d=function(Bu,Hl){if(We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&da.verticalTextBox)for(var vh=0,Bv=We.writingModes;vh0&&(Ch=Ch.filter(function(Bu){return Bu!==dh.anchor}),Ch.unshift(dh.anchor))}var $h=function(Bu,Hl,vh){for(var Bv=Bu.x2-Bu.x1,up=Bu.y2-Bu.y1,au=$i.textBoxScale,rm=hn&&!fn?Hl:null,xv={box:[],offscreen:!1},rg=Xr?Ch.length*2:Ch.length,ed=0;ed=Ch.length,nm=ye.attemptAnchorPlacement(bv,Bu,Bv,up,au,sn,Zr,Fr,Ct,mr,ng,$i,We,vh,rm);if(nm&&(xv=nm.placedGlyphBoxes,xv&&xv.box&&xv.box.length)){fa=!0,Cs=nm.shift;break}}return xv},ld=function(){return $h(fh,da.iconBox,e.WritingMode.horizontal)},Qh=function(){var Bu=da.verticalTextBox,Hl=ws&&ws.box&&ws.box.length;return We.allowVerticalPlacement&&!Hl&&$i.numVerticalGlyphVertices>0&&Bu?$h(Bu,da.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}};$d(ld,Qh),ws&&(fa=ws.box,Qa=ws.offscreen);var zv=sd(ws&&ws.box);if(!fa&&ye.prevPlacement){var Qd=ye.prevPlacement.variableOffsets[$i.crossTileID];Qd&&(ye.variableOffsets[$i.crossTileID]=Qd,ye.markUsedJustification(We,Qd.anchor,$i,zv))}}else{var _d=function(Bu,Hl){var vh=ye.collisionIndex.placeCollisionBox(Bu,Xr,Fr,Ct,mr.predicate);return vh&&vh.box&&vh.box.length&&(ye.markUsedOrientation(We,Hl,$i),ye.placedOrientations[$i.crossTileID]=Hl),vh},hh=function(){return _d(fh,e.WritingMode.horizontal)},xd=function(){var Bu=da.verticalTextBox;return We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&Bu?_d(Bu,e.WritingMode.vertical):{box:null,offscreen:null}};$d(hh,xd),sd(ws&&ws.box&&ws.box.length)}}if(rs=ws,fa=rs&&rs.box&&rs.box.length>0,Qa=rs&&rs.offscreen,$i.useRuntimeCollisionCircles){var df=We.text.placedSymbolArray.get($i.centerJustifiedTextSymbolIndex),ev=e.evaluateSizeForFeature(We.textSizeData,nr,df),Fv=lt.get("text-padding"),jf=$i.collisionCircleDiameter;js=ye.collisionIndex.placeCollisionCircles(Xr,df,We.lineVertexArray,We.glyphOffsetArray,ev,Ct,Wt,xr,te,Zr,mr.predicate,jf,Fv),fa=Xr||js.circles.length>0&&!js.collisionDetected,Qa=Qa&&js.offscreen}if(da.iconFeatureIndex&&(Jh=da.iconFeatureIndex),da.iconBox){var gv=function(Bu){var Hl=hn&&Cs?Ws(Bu,Cs.x,Cs.y,sn,Zr,ye.transform.angle):Bu;return ye.collisionIndex.placeCollisionBox(Hl,fn,Fr,Ct,mr.predicate)};$s&&$s.box&&$s.box.length&&da.verticalIconBox?(Cl=gv(da.verticalIconBox),za=Cl.box.length>0):(Cl=gv(da.iconBox),za=Cl.box.length>0),Qa=Qa&&Cl.offscreen}var sp=zr||$i.numHorizontalGlyphVertices===0&&$i.numVerticalGlyphVertices===0,lp=Gr||$i.numIconVertices===0;if(!sp&&!lp?za=fa=za&&fa:lp?sp||(za=za&&fa):fa=za&&fa,fa&&rs&&rs.box&&($s&&$s.box&&Kh?ye.collisionIndex.insertCollisionBox(rs.box,lt.get("text-ignore-placement"),We.bucketInstanceId,Kh,mr.ID):ye.collisionIndex.insertCollisionBox(rs.box,lt.get("text-ignore-placement"),We.bucketInstanceId,Ou,mr.ID)),za&&Cl&&ye.collisionIndex.insertCollisionBox(Cl.box,lt.get("icon-ignore-placement"),We.bucketInstanceId,Jh,mr.ID),js&&(fa&&ye.collisionIndex.insertCollisionCircles(js.circles,lt.get("text-ignore-placement"),We.bucketInstanceId,Ou,mr.ID),te)){var Ov=We.bucketInstanceId,yv=ye.collisionCircleArrays[Ov];yv===void 0&&(yv=ye.collisionCircleArrays[Ov]=new ho);for(var _v=0;_v=0;--Pi){var ea=Ji[Pi];vi(We.symbolInstances.get(ea),We.collisionArrays[ea])}else for(var ja=K.symbolInstanceStart;ja=0&&(We>=0&&xr!==We?K.text.placedSymbolArray.get(xr).crossTileID=0:K.text.placedSymbolArray.get(xr).crossTileID=te.crossTileID)}},fs.prototype.markUsedOrientation=function(K,me,te){for(var ye=me===e.WritingMode.horizontal||me===e.WritingMode.horizontalOnly?me:0,Ze=me===e.WritingMode.vertical?me:0,We=[te.leftJustifiedTextSymbolIndex,te.centerJustifiedTextSymbolIndex,te.rightJustifiedTextSymbolIndex],lt=0,Ct=We;lt0||Zr>0,vi=fn.numIconVertices>0,Ji=ye.placedOrientations[fn.crossTileID],Pi=Ji===e.WritingMode.vertical,ea=Ji===e.WritingMode.horizontal||Ji===e.WritingMode.horizontalOnly;if(Xn){var ja=wl(kn.text),Ea=Pi?la:ja;nr(K.text,sn,Ea);var $i=ea?la:ja;nr(K.text,Zr,$i);var da=kn.text.isHidden();[fn.rightJustifiedTextSymbolIndex,fn.centerJustifiedTextSymbolIndex,fn.leftJustifiedTextSymbolIndex].forEach(function(Jh){Jh>=0&&(K.text.placedSymbolArray.get(Jh).hidden=da||Pi?1:0)}),fn.verticalPlacedTextSymbolIndex>=0&&(K.text.placedSymbolArray.get(fn.verticalPlacedTextSymbolIndex).hidden=da||ea?1:0);var fa=ye.variableOffsets[fn.crossTileID];fa&&ye.markUsedJustification(K,fa.anchor,fn,Ji);var za=ye.placedOrientations[fn.crossTileID];za&&(ye.markUsedJustification(K,"left",fn,za),ye.markUsedOrientation(K,za,fn))}if(vi){var Qa=wl(kn.icon),Cs=!(Ar&&fn.verticalPlacedIconSymbolIndex&&Pi);if(fn.placedIconSymbolIndex>=0){var ws=Cs?Qa:la;nr(K.icon,fn.numIconVertices,ws),K.icon.placedSymbolArray.get(fn.placedIconSymbolIndex).hidden=kn.icon.isHidden()}if(fn.verticalPlacedIconSymbolIndex>=0){var $s=Cs?la:Qa;nr(K.icon,fn.numVerticalIconVertices,$s),K.icon.placedSymbolArray.get(fn.verticalPlacedIconSymbolIndex).hidden=kn.icon.isHidden()}}if(K.hasIconCollisionBoxData()||K.hasTextCollisionBoxData()){var rs=K.collisionArrays[Xr];if(rs){var js=new e.Point(0,0);if(rs.textBox||rs.verticalTextBox){var Cl=!0;if(Wt){var Ou=ye.variableOffsets[hn];Ou?(js=Vs(Ou.anchor,Ou.width,Ou.height,Ou.textOffset,Ou.textBoxScale),xr&&js._rotate(Fr?ye.transform.angle:-ye.transform.angle)):Cl=!1}rs.textBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||Pi,js.x,js.y),rs.verticalTextBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||ea,js.x,js.y)}var Kh=!!(!ea&&rs.verticalIconBox);rs.iconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,Kh,Ar?js.x:0,Ar?js.y:0),rs.verticalIconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,!Kh,Ar?js.x:0,Ar?js.y:0)}}},zr=0;zrK},fs.prototype.setStale=function(){this.stale=!0};function Mi(ve,K,me,te,ye){ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0)}var Da=Math.pow(2,25),pl=Math.pow(2,24),Xs=Math.pow(2,17),Eo=Math.pow(2,16),Ys=Math.pow(2,9),As=Math.pow(2,8),hl=Math.pow(2,1);function wl(ve){if(ve.opacity===0&&!ve.placed)return 0;if(ve.opacity===1&&ve.placed)return 4294967295;var K=ve.placed?1:0,me=Math.floor(ve.opacity*127);return me*Da+K*pl+me*Xs+K*Eo+me*Ys+K*As+me*hl+K}var la=0,Uo=function(K){this._sortAcrossTiles=K.layout.get("symbol-z-order")!=="viewport-y"&&K.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Uo.prototype.continuePlacement=function(K,me,te,ye,Ze){for(var We=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var lt=K[this._currentPlacementIndex],Ct=me[lt],Wt=this.placement.collisionIndex.transform.zoom;if(Ct.type==="symbol"&&(!Ct.minzoom||Ct.minzoom<=Wt)&&(!Ct.maxzoom||Ct.maxzoom>Wt)){this._inProgressLayer||(this._inProgressLayer=new Uo(Ct));var xr=this._inProgressLayer.continuePlacement(te[Ct.source],this.placement,this._showCollisionBoxes,Ct,We);if(xr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},vo.prototype.commit=function(K){return this.placement.commit(K),this.placement};var Ps=512/e.EXTENT/2,ls=function(K,me,te){this.tileID=K,this.indexedSymbolInstances={},this.bucketInstanceId=te;for(var ye=0;yeK.overscaledZ)for(var Wt in Ct){var xr=Ct[Wt];xr.tileID.isChildOf(K)&&xr.findMatches(me.symbolInstances,K,We)}else{var Fr=K.scaledTo(Number(lt)),Ar=Ct[Fr.key];Ar&&Ar.findMatches(me.symbolInstances,K,We)}}for(var Gt=0;Gt0)throw new Error("Unimplemented: "+We.map(function(lt){return lt.command}).join(", ")+".");return Ze.forEach(function(lt){lt.command!=="setTransition"&&ye[lt.command].apply(ye,lt.args)}),this.stylesheet=te,!0},K.prototype.addImage=function(te,ye){if(this.getImage(te))return this.fire(new e.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(te,ye),this._afterImageUpdated(te)},K.prototype.updateImage=function(te,ye){this.imageManager.updateImage(te,ye)},K.prototype.getImage=function(te){return this.imageManager.getImage(te)},K.prototype.removeImage=function(te){if(!this.getImage(te))return this.fire(new e.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(te),this._afterImageUpdated(te)},K.prototype._afterImageUpdated=function(te){this._availableImages=this.imageManager.listImages(),this._changedImages[te]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new e.Event("data",{dataType:"style"}))},K.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},K.prototype.addSource=function(te,ye,Ze){var We=this;if(Ze===void 0&&(Ze={}),this._checkLoaded(),this.sourceCaches[te]!==void 0)throw new Error("There is already a source with this ID");if(!ye.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(ye).join(", ")+".");var lt=["vector","raster","geojson","video","image"],Ct=lt.indexOf(ye.type)>=0;if(!(Ct&&this._validate(e.validateStyle.source,"sources."+te,ye,null,Ze))){this.map&&this.map._collectResourceTiming&&(ye.collectResourceTiming=!0);var Wt=this.sourceCaches[te]=new xn(te,ye,this.dispatcher);Wt.style=this,Wt.setEventedParent(this,function(){return{isSourceLoaded:We.loaded(),source:Wt.serialize(),sourceId:te}}),Wt.onAdd(this.map),this._changed=!0}},K.prototype.removeSource=function(te){if(this._checkLoaded(),this.sourceCaches[te]===void 0)throw new Error("There is no source with this ID");for(var ye in this._layers)if(this._layers[ye].source===te)return this.fire(new e.ErrorEvent(new Error('Source "'+te+'" cannot be removed while layer "'+ye+'" is using it.')));var Ze=this.sourceCaches[te];delete this.sourceCaches[te],delete this._updatedSources[te],Ze.fire(new e.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:te})),Ze.setEventedParent(null),Ze.clearTiles(),Ze.onRemove&&Ze.onRemove(this.map),this._changed=!0},K.prototype.setGeoJSONSourceData=function(te,ye){this._checkLoaded();var Ze=this.sourceCaches[te].getSource();Ze.setData(ye),this._changed=!0},K.prototype.getSource=function(te){return this.sourceCaches[te]&&this.sourceCaches[te].getSource()},K.prototype.addLayer=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=te.id;if(this.getLayer(We)){this.fire(new e.ErrorEvent(new Error('Layer with id "'+We+'" already exists on this map')));return}var lt;if(te.type==="custom"){if(Tl(this,e.validateCustomStyleLayer(te)))return;lt=e.createStyleLayer(te)}else{if(typeof te.source=="object"&&(this.addSource(We,te.source),te=e.clone$1(te),te=e.extend(te,{source:We})),this._validate(e.validateStyle.layer,"layers."+We,te,{arrayIndex:-1},Ze))return;lt=e.createStyleLayer(te),this._validateLayer(lt),lt.setEventedParent(this,{layer:{id:We}}),this._serializedLayers[lt.id]=lt.serialize()}var Ct=ye?this._order.indexOf(ye):this._order.length;if(ye&&Ct===-1){this.fire(new e.ErrorEvent(new Error('Layer with id "'+ye+'" does not exist on this map.')));return}if(this._order.splice(Ct,0,We),this._layerOrderChanged=!0,this._layers[We]=lt,this._removedLayers[We]&<.source&<.type!=="custom"){var Wt=this._removedLayers[We];delete this._removedLayers[We],Wt.type!==lt.type?this._updatedSources[lt.source]="clear":(this._updatedSources[lt.source]="reload",this.sourceCaches[lt.source].pause())}this._updateLayer(lt),lt.onAdd&<.onAdd(this.map)},K.prototype.moveLayer=function(te,ye){this._checkLoaded(),this._changed=!0;var Ze=this._layers[te];if(!Ze){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be moved.")));return}if(te!==ye){var We=this._order.indexOf(te);this._order.splice(We,1);var lt=ye?this._order.indexOf(ye):this._order.length;if(ye&<===-1){this.fire(new e.ErrorEvent(new Error('Layer with id "'+ye+'" does not exist on this map.')));return}this._order.splice(lt,0,te),this._layerOrderChanged=!0}},K.prototype.removeLayer=function(te){this._checkLoaded();var ye=this._layers[te];if(!ye){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be removed.")));return}ye.setEventedParent(null);var Ze=this._order.indexOf(te);this._order.splice(Ze,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[te]=ye,delete this._layers[te],delete this._serializedLayers[te],delete this._updatedLayers[te],delete this._updatedPaintProps[te],ye.onRemove&&ye.onRemove(this.map)},K.prototype.getLayer=function(te){return this._layers[te]},K.prototype.hasLayer=function(te){return te in this._layers},K.prototype.setLayerZoomRange=function(te,ye,Ze){this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot have zoom extent.")));return}We.minzoom===ye&&We.maxzoom===Ze||(ye!=null&&(We.minzoom=ye),Ze!=null&&(We.maxzoom=Ze),this._updateLayer(We))},K.prototype.setFilter=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be filtered.")));return}if(!e.deepEqual(We.filter,ye)){if(ye==null){We.filter=void 0,this._updateLayer(We);return}this._validate(e.validateStyle.filter,"layers."+We.id+".filter",ye,null,Ze)||(We.filter=e.clone$1(ye),this._updateLayer(We))}},K.prototype.getFilter=function(te){return e.clone$1(this.getLayer(te).filter)},K.prototype.setLayoutProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be styled.")));return}e.deepEqual(lt.getLayoutProperty(ye),Ze)||(lt.setLayoutProperty(ye,Ze,We),this._updateLayer(lt))},K.prototype.getLayoutProperty=function(te,ye){var Ze=this.getLayer(te);if(!Ze){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style.")));return}return Ze.getLayoutProperty(ye)},K.prototype.setPaintProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error("The layer '"+te+"' does not exist in the map's style and cannot be styled.")));return}if(!e.deepEqual(lt.getPaintProperty(ye),Ze)){var Ct=lt.setPaintProperty(ye,Ze,We);Ct&&this._updateLayer(lt),this._changed=!0,this._updatedPaintProps[te]=!0}},K.prototype.getPaintProperty=function(te,ye){return this.getLayer(te).getPaintProperty(ye)},K.prototype.setFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=te.sourceLayer,lt=this.sourceCaches[Ze];if(lt===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+Ze+"' does not exist in the map's style.")));return}var Ct=lt.getSource().type;if(Ct==="geojson"&&We){this.fire(new e.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));return}if(Ct==="vector"&&!We){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}te.id===void 0&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),lt.setFeatureState(We,te.id,ye)},K.prototype.removeFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=this.sourceCaches[Ze];if(We===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+Ze+"' does not exist in the map's style.")));return}var lt=We.getSource().type,Ct=lt==="vector"?te.sourceLayer:void 0;if(lt==="vector"&&!Ct){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}if(ye&&typeof te.id!="string"&&typeof te.id!="number"){this.fire(new e.ErrorEvent(new Error("A feature id is required to remove its specific state property.")));return}We.removeFeatureState(Ct,te.id,ye)},K.prototype.getFeatureState=function(te){this._checkLoaded();var ye=te.source,Ze=te.sourceLayer,We=this.sourceCaches[ye];if(We===void 0){this.fire(new e.ErrorEvent(new Error("The source '"+ye+"' does not exist in the map's style.")));return}var lt=We.getSource().type;if(lt==="vector"&&!Ze){this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}return te.id===void 0&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),We.getFeatureState(Ze,te.id)},K.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},K.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,function(te){return te.serialize()}),layers:this._serializeLayers(this._order)},function(te){return te!==void 0})},K.prototype._updateLayer=function(te){this._updatedLayers[te.id]=!0,te.source&&!this._updatedSources[te.source]&&this.sourceCaches[te.source].getSource().type!=="raster"&&(this._updatedSources[te.source]="reload",this.sourceCaches[te.source].pause()),this._changed=!0},K.prototype._flattenAndSortRenderedFeatures=function(te){for(var ye=this,Ze=function(ea){return ye._layers[ea].type==="fill-extrusion"},We={},lt=[],Ct=this._order.length-1;Ct>=0;Ct--){var Wt=this._order[Ct];if(Ze(Wt)){We[Wt]=Ct;for(var xr=0,Fr=te;xr=0;Xr--){var fn=this._order[Xr];if(Ze(fn))for(var sn=lt.length-1;sn>=0;sn--){var Zr=lt[sn].feature;if(We[Zr.layer.id] 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Vl=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Jf=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 -? a_pos -: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,zf=`#ifdef GL_ES -precision highp float; -#endif -uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,wf="uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}",Gc=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; -#define PI 3.141592653589793 -void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Ff="uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}",$f=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,ec=` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Tf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Pc=` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Wc=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Pu=` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,cf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Ic=` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,Ks=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Of="uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}",Eh=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Qf=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,af=`#define SDF_PX 8.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,lh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,Iu=`#define SDF_PX 8.0 -#define SDF 1.0 -#define ICON 0.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,eh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,su=ul(kc,Ju),Ru=ul(sh,uf),yc=ul(qs,Hc),Dl=ul(bf,Ql),Rc=ul(Al,oc),tc=ul(gc,nl),xu=ul(Ml,Zs),Sl=ul(sl,sc),th=ul(jl,$u),uh=ul(ll,Nh),Hu=ul(ds,Sh),_c=ul(Bs,Vo),lc=ul(rf,Qu),Uh=ul(pu,Df),of=ul(Lc,nf),ff=ul(Vl,Jf),Du=ul(zf,wf),Af=ul(Gc,Ff),lu=ul($f,ec),Xc=ul(Tf,Pc),ch=ul(Wc,Pu),Mf=ul(cf,Ic),dl=ul(Ks,Of),bu=ul(Eh,Qf),wu=ul(af,lh),Bf=ul(Iu,eh);function ul(ve,K){var me=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,te=K.match(/attribute ([\w]+) ([\w]+)/g),ye=ve.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),Ze=K.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),We=Ze?Ze.concat(ye):ye,lt={};return ve=ve.replace(me,function(Ct,Wt,xr,Fr,Ar){return lt[Ar]=!0,Wt==="define"?` -#ifndef HAS_UNIFORM_u_`+Ar+` -varying `+xr+" "+Fr+" "+Ar+`; -#else -uniform `+xr+" "+Fr+" u_"+Ar+`; -#endif -`:` -#ifdef HAS_UNIFORM_u_`+Ar+` - `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; -#endif -`}),K=K.replace(me,function(Ct,Wt,xr,Fr,Ar){var Gt=Fr==="float"?"vec2":"vec4",nr=Ar.match(/color/)?"color":Gt;return lt[Ar]?Wt==="define"?` -#ifndef HAS_UNIFORM_u_`+Ar+` -uniform lowp float u_`+Ar+`_t; -attribute `+xr+" "+Gt+" a_"+Ar+`; -varying `+xr+" "+Fr+" "+Ar+`; -#else -uniform `+xr+" "+Fr+" u_"+Ar+`; -#endif -`:nr==="vec4"?` -#ifndef HAS_UNIFORM_u_`+Ar+` - `+Ar+" = a_"+Ar+`; -#else - `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+Ar+` - `+Ar+" = unpack_mix_"+nr+"(a_"+Ar+", u_"+Ar+`_t); -#else - `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; -#endif -`:Wt==="define"?` -#ifndef HAS_UNIFORM_u_`+Ar+` -uniform lowp float u_`+Ar+`_t; -attribute `+xr+" "+Gt+" a_"+Ar+`; -#else -uniform `+xr+" "+Fr+" u_"+Ar+`; -#endif -`:nr==="vec4"?` -#ifndef HAS_UNIFORM_u_`+Ar+` - `+xr+" "+Fr+" "+Ar+" = a_"+Ar+`; -#else - `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+Ar+` - `+xr+" "+Fr+" "+Ar+" = unpack_mix_"+nr+"(a_"+Ar+", u_"+Ar+`_t); -#else - `+xr+" "+Fr+" "+Ar+" = u_"+Ar+`; -#endif -`}),{fragmentSource:ve,vertexSource:K,staticAttributes:te,staticUniforms:We}}var sf=Object.freeze({__proto__:null,prelude:su,background:Ru,backgroundPattern:yc,circle:Dl,clippingMask:Rc,heatmap:tc,heatmapTexture:xu,collisionBox:Sl,collisionCircle:th,debug:uh,fill:Hu,fillOutline:_c,fillOutlinePattern:lc,fillPattern:Uh,fillExtrusion:of,fillExtrusionPattern:ff,hillshadePrepare:Du,hillshade:Af,line:lu,lineGradient:Xc,linePattern:ch,lineSDF:Mf,raster:dl,symbolIcon:bu,symbolSDF:wu,symbolTextAndIcon:Bf}),xc=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};xc.prototype.bind=function(K,me,te,ye,Ze,We,lt,Ct){this.context=K;for(var Wt=this.boundPaintVertexBuffers.length!==ye.length,xr=0;!Wt&&xr>16,lt>>16],u_pixel_coord_lower:[We&65535,lt&65535]}}function Zc(ve,K,me,te){var ye=me.imageManager.getPattern(ve.from.toString()),Ze=me.imageManager.getPattern(ve.to.toString()),We=me.imageManager.getPixelSize(),lt=We.width,Ct=We.height,Wt=Math.pow(2,te.tileID.overscaledZ),xr=te.tileSize*Math.pow(2,me.transform.tileZoom)/Wt,Fr=xr*(te.tileID.canonical.x+te.tileID.wrap*Wt),Ar=xr*te.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:ye.tl,u_pattern_br_a:ye.br,u_pattern_tl_b:Ze.tl,u_pattern_br_b:Ze.br,u_texsize:[lt,Ct],u_mix:K.t,u_pattern_size_a:ye.displaySize,u_pattern_size_b:Ze.displaySize,u_scale_a:K.fromScale,u_scale_b:K.toScale,u_tile_units_to_pixels:1/Ka(te,1,me.transform.tileZoom),u_pixel_coord_upper:[Fr>>16,Ar>>16],u_pixel_coord_lower:[Fr&65535,Ar&65535]}}var Nf=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Xl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_height_factor:new e.Uniform1f(ve,K.u_height_factor),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Uf=function(ve,K,me,te){var ye=K.style.light,Ze=ye.properties.get("position"),We=[Ze.x,Ze.y,Ze.z],lt=e.create$1();ye.properties.get("anchor")==="viewport"&&e.fromRotation(lt,-K.transform.angle),e.transformMat3(We,We,lt);var Ct=ye.properties.get("color");return{u_matrix:ve,u_lightpos:We,u_lightintensity:ye.properties.get("intensity"),u_lightcolor:[Ct.r,Ct.g,Ct.b],u_vertical_gradient:+me,u_opacity:te}},Wu=function(ve,K,me,te,ye,Ze,We){return e.extend(Uf(ve,K,me,te),uc(Ze,K,We),{u_height_factor:-Math.pow(2,ye.overscaledZ)/We.tileSize/8})},bc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},cc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},zl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world)}},uu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},fc=function(ve){return{u_matrix:ve}},Dc=function(ve,K,me,te){return e.extend(fc(ve),uc(me,K,te))},rc=function(ve,K){return{u_matrix:ve,u_world:K}},Yc=function(ve,K,me,te,ye){return e.extend(Dc(ve,K,me,te),{u_world:ye})},Yt=function(ve,K){return{u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(ve,K.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},dr=function(ve,K,me,te){var ye=ve.transform,Ze,We;if(te.paint.get("circle-pitch-alignment")==="map"){var lt=Ka(me,1,ye.zoom);Ze=!0,We=[lt,lt]}else Ze=!1,We=ye.pixelsToGLUnits;return{u_camera_to_center_distance:ye.cameraToCenterDistance,u_scale_with_map:+(te.paint.get("circle-pitch-scale")==="map"),u_matrix:ve.translatePosMatrix(K.posMatrix,me,te.paint.get("circle-translate"),te.paint.get("circle-translate-anchor")),u_pitch_with_map:+Ze,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:We}},tn=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(ve,K.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_overscale_factor:new e.Uniform1f(ve,K.u_overscale_factor)}},Wr=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_inv_matrix:new e.UniformMatrix4f(ve,K.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(ve,K.u_viewport_size)}},Cn=function(ve,K,me){var te=Ka(me,1,K.zoom),ye=Math.pow(2,K.zoom-me.tileID.overscaledZ),Ze=me.tileID.overscaleFactor();return{u_matrix:ve,u_camera_to_center_distance:K.cameraToCenterDistance,u_pixels_to_tile_units:te,u_extrude_scale:[K.pixelsToGLUnits[0]/(te*ye),K.pixelsToGLUnits[1]/(te*ye)],u_overscale_factor:Ze}},si=function(ve,K,me){return{u_matrix:ve,u_inv_matrix:K,u_camera_to_center_distance:me.cameraToCenterDistance,u_viewport_size:[me.width,me.height]}},yi=function(ve,K){return{u_color:new e.UniformColor(ve,K.u_color),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_overlay:new e.Uniform1i(ve,K.u_overlay),u_overlay_scale:new e.Uniform1f(ve,K.u_overlay_scale)}},Di=function(ve,K,me){return me===void 0&&(me=1),{u_matrix:ve,u_color:K,u_overlay:0,u_overlay_scale:me}},Wi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},aa=function(ve){return{u_matrix:ve}},bi=function(ve,K){return{u_extrude_scale:new e.Uniform1f(ve,K.u_extrude_scale),u_intensity:new e.Uniform1f(ve,K.u_intensity),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},zi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_color_ramp:new e.Uniform1i(ve,K.u_color_ramp),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Li=function(ve,K,me,te){return{u_matrix:ve,u_extrude_scale:Ka(K,1,me),u_intensity:te}},di=function(ve,K,me,te){var ye=e.create();e.ortho(ye,0,ve.width,ve.height,0,0,1);var Ze=ve.context.gl;return{u_matrix:ye,u_world:[Ze.drawingBufferWidth,Ze.drawingBufferHeight],u_image:me,u_color_ramp:te,u_opacity:K.paint.get("heatmap-opacity")}},wa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_latrange:new e.Uniform2f(ve,K.u_latrange),u_light:new e.Uniform2f(ve,K.u_light),u_shadow:new e.UniformColor(ve,K.u_shadow),u_highlight:new e.UniformColor(ve,K.u_highlight),u_accent:new e.UniformColor(ve,K.u_accent)}},po=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_dimension:new e.Uniform2f(ve,K.u_dimension),u_zoom:new e.Uniform1f(ve,K.u_zoom),u_unpack:new e.Uniform4f(ve,K.u_unpack)}},co=function(ve,K,me){var te=me.paint.get("hillshade-shadow-color"),ye=me.paint.get("hillshade-highlight-color"),Ze=me.paint.get("hillshade-accent-color"),We=me.paint.get("hillshade-illumination-direction")*(Math.PI/180);me.paint.get("hillshade-illumination-anchor")==="viewport"&&(We-=ve.transform.angle);var lt=!ve.options.moving;return{u_matrix:ve.transform.calculatePosMatrix(K.tileID.toUnwrapped(),lt),u_image:0,u_latrange:Ao(ve,K.tileID),u_light:[me.paint.get("hillshade-exaggeration"),We],u_shadow:te,u_highlight:ye,u_accent:Ze}},mo=function(ve,K){var me=K.stride,te=e.create();return e.ortho(te,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(te,te,[0,-e.EXTENT,0]),{u_matrix:te,u_image:1,u_dimension:[me,me],u_zoom:ve.overscaledZ,u_unpack:K.getUnpackVector()}};function Ao(ve,K){var me=Math.pow(2,K.canonical.z),te=K.canonical.y;return[new e.MercatorCoordinate(0,te/me).toLngLat().lat,new e.MercatorCoordinate(0,(te+1)/me).toLngLat().lat]}var xa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels)}},Qi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_image:new e.Uniform1i(ve,K.u_image),u_image_height:new e.Uniform1f(ve,K.u_image_height)}},Lo=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_image:new e.Uniform1i(ve,K.u_image),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},as=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(ve,K.u_patternscale_a),u_patternscale_b:new e.Uniform2f(ve,K.u_patternscale_b),u_sdfgamma:new e.Uniform1f(ve,K.u_sdfgamma),u_image:new e.Uniform1i(ve,K.u_image),u_tex_y_a:new e.Uniform1f(ve,K.u_tex_y_a),u_tex_y_b:new e.Uniform1f(ve,K.u_tex_y_b),u_mix:new e.Uniform1f(ve,K.u_mix)}},Ds=function(ve,K,me){var te=ve.transform;return{u_matrix:Bl(ve,K,me),u_ratio:1/Ka(K,1,te.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/te.pixelsToGLUnits[0],1/te.pixelsToGLUnits[1]]}},il=function(ve,K,me,te){return e.extend(Ds(ve,K,me),{u_image:0,u_image_height:te})},Ns=function(ve,K,me,te){var ye=ve.transform,Ze=Es(K,ye);return{u_matrix:Bl(ve,K,me),u_texsize:K.imageAtlasTexture.size,u_ratio:1/Ka(K,1,ye.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[Ze,te.fromScale,te.toScale],u_fade:te.t,u_units_to_pixels:[1/ye.pixelsToGLUnits[0],1/ye.pixelsToGLUnits[1]]}},el=function(ve,K,me,te,ye){var Ze=ve.transform,We=ve.lineAtlas,lt=Es(K,Ze),Ct=me.layout.get("line-cap")==="round",Wt=We.getDash(te.from,Ct),xr=We.getDash(te.to,Ct),Fr=Wt.width*ye.fromScale,Ar=xr.width*ye.toScale;return e.extend(Ds(ve,K,me),{u_patternscale_a:[lt/Fr,-Wt.height/2],u_patternscale_b:[lt/Ar,-xr.height/2],u_sdfgamma:We.width/(Math.min(Fr,Ar)*256*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:Wt.y,u_tex_y_b:xr.y,u_mix:ye.t})};function Es(ve,K){return 1/Ka(ve,1,K.tileZoom)}function Bl(ve,K,me){return ve.translatePosMatrix(K.tileID.posMatrix,K,me.paint.get("line-translate"),me.paint.get("line-translate-anchor"))}var _l=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_tl_parent:new e.Uniform2f(ve,K.u_tl_parent),u_scale_parent:new e.Uniform1f(ve,K.u_scale_parent),u_buffer_scale:new e.Uniform1f(ve,K.u_buffer_scale),u_fade_t:new e.Uniform1f(ve,K.u_fade_t),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image0:new e.Uniform1i(ve,K.u_image0),u_image1:new e.Uniform1i(ve,K.u_image1),u_brightness_low:new e.Uniform1f(ve,K.u_brightness_low),u_brightness_high:new e.Uniform1f(ve,K.u_brightness_high),u_saturation_factor:new e.Uniform1f(ve,K.u_saturation_factor),u_contrast_factor:new e.Uniform1f(ve,K.u_contrast_factor),u_spin_weights:new e.Uniform3f(ve,K.u_spin_weights)}},cl=function(ve,K,me,te,ye){return{u_matrix:ve,u_tl_parent:K,u_scale_parent:me,u_buffer_scale:1,u_fade_t:te.mix,u_opacity:te.opacity*ye.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:ye.paint.get("raster-brightness-min"),u_brightness_high:ye.paint.get("raster-brightness-max"),u_saturation_factor:Js(ye.paint.get("raster-saturation")),u_contrast_factor:jo(ye.paint.get("raster-contrast")),u_spin_weights:Za(ye.paint.get("raster-hue-rotate"))}};function Za(ve){ve*=Math.PI/180;var K=Math.sin(ve),me=Math.cos(ve);return[(2*me+1)/3,(-Math.sqrt(3)*K-me+1)/3,(Math.sqrt(3)*K-me+1)/3]}function jo(ve){return ve>0?1/(1-ve):1+ve}function Js(ve){return ve>0?1-1/(1.001-ve):-ve}var zs=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture)}},cu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},zu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texsize_icon:new e.Uniform2f(ve,K.u_texsize_icon),u_texture:new e.Uniform1i(ve,K.u_texture),u_texture_icon:new e.Uniform1i(ve,K.u_texture_icon),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},nc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){var xr=ye.transform;return{u_is_size_zoom_constant:+(ve==="constant"||ve==="source"),u_is_size_feature_constant:+(ve==="constant"||ve==="camera"),u_size_t:K?K.uSizeT:0,u_size:K?K.uSize:0,u_camera_to_center_distance:xr.cameraToCenterDistance,u_pitch:xr.pitch/360*2*Math.PI,u_rotate_symbol:+me,u_aspect_ratio:xr.width/xr.height,u_fade_change:ye.options.fadeDuration?ye.symbolFadeChange:1,u_matrix:Ze,u_label_plane_matrix:We,u_coord_matrix:lt,u_is_text:+Ct,u_pitch_with_map:+te,u_texsize:Wt,u_texture:0}},Kc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr){var Fr=ye.transform;return e.extend(nc(ve,K,me,te,ye,Ze,We,lt,Ct,Wt),{u_gamma_scale:te?Math.cos(Fr._pitch)*Fr.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+xr})},Tu=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){return e.extend(Kc(ve,K,me,te,ye,Ze,We,lt,!0,Ct,!0),{u_texsize_icon:Wt,u_texture_icon:1})},zc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_color:new e.UniformColor(ve,K.u_color)}},Fu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image:new e.Uniform1i(ve,K.u_image),u_pattern_tl_a:new e.Uniform2f(ve,K.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(ve,K.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(ve,K.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(ve,K.u_pattern_br_b),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_mix:new e.Uniform1f(ve,K.u_mix),u_pattern_size_a:new e.Uniform2f(ve,K.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(ve,K.u_pattern_size_b),u_scale_a:new e.Uniform1f(ve,K.u_scale_a),u_scale_b:new e.Uniform1f(ve,K.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(ve,K.u_tile_units_to_pixels)}},wc=function(ve,K,me){return{u_matrix:ve,u_opacity:K,u_color:me}},bo=function(ve,K,me,te,ye,Ze){return e.extend(Zc(te,Ze,me,ye),{u_matrix:ve,u_opacity:K})},Wo={fillExtrusion:Nf,fillExtrusionPattern:Xl,fill:bc,fillPattern:cc,fillOutline:zl,fillOutlinePattern:uu,circle:Yt,collisionBox:tn,collisionCircle:Wr,debug:yi,clippingMask:Wi,heatmap:bi,heatmapTexture:zi,hillshade:wa,hillshadePrepare:po,line:xa,lineGradient:Qi,linePattern:Lo,lineSDF:as,raster:_l,symbolIcon:zs,symbolSDF:cu,symbolTextAndIcon:zu,background:zc,backgroundPattern:Fu},Fc;function hc(ve,K,me,te,ye,Ze,We){for(var lt=ve.context,Ct=lt.gl,Wt=ve.useProgram("collisionBox"),xr=[],Fr=0,Ar=0,Gt=0;Gt0){var sn=e.create(),Zr=Gr;e.mul(sn,zr.placementInvProjMatrix,ve.transform.glCoordMatrix),e.mul(sn,sn,zr.placementViewportMatrix),xr.push({circleArray:fn,circleOffset:Ar,transform:Zr,invTransform:sn}),Fr+=fn.length/4,Ar=Fr}Xr&&Wt.draw(lt,Ct.LINES,Nn.disabled,zn.disabled,ve.colorModeForRenderPass(),wr.disabled,Cn(Gr,ve.transform,mr),me.id,Xr.layoutVertexBuffer,Xr.indexBuffer,Xr.segments,null,ve.transform.zoom,null,null,Xr.collisionVertexBuffer)}}if(!(!We||!xr.length)){var hn=ve.useProgram("collisionCircle"),qr=new e.StructArrayLayout2f1f2i16;qr.resize(Fr*4),qr._trim();for(var kn=0,Xn=0,vi=xr;Xn=0&&(nr[zr.associatedIconIndex]={shiftedAnchor:ea,angle:ja})}}if(xr){Gt.clear();for(var $i=ve.icon.placedSymbolArray,da=0;da<$i.length;da++){var fa=$i.get(da);if(fa.hidden)Ko(fa.numGlyphs,Gt);else{var za=nr[da];if(!za)Ko(fa.numGlyphs,Gt);else for(var Qa=0;Qa0){var We=e.browser.now(),lt=(We-ve.timeAdded)/Ze,Ct=K?(We-K.timeAdded)/Ze:-1,Wt=me.getSource(),xr=ye.coveringZoomLevel({tileSize:Wt.tileSize,roundZoom:Wt.roundZoom}),Fr=!K||Math.abs(K.tileID.overscaledZ-xr)>Math.abs(ve.tileID.overscaledZ-xr),Ar=Fr&&ve.refreshedUponExpiration?1:e.clamp(Fr?lt:1-Ct,0,1);return ve.refreshedUponExpiration&<>=1&&(ve.refreshedUponExpiration=!1),K?{opacity:1,mix:1-Ar}:{opacity:Ar,mix:0}}else return{opacity:1,mix:0}}function pr(ve,K,me){var te=me.paint.get("background-color"),ye=me.paint.get("background-opacity");if(ye!==0){var Ze=ve.context,We=Ze.gl,lt=ve.transform,Ct=lt.tileSize,Wt=me.paint.get("background-pattern");if(!ve.isPatternMissing(Wt)){var xr=!Wt&&te.a===1&&ye===1&&ve.opaquePassEnabledForLayer()?"opaque":"translucent";if(ve.renderPass===xr){var Fr=zn.disabled,Ar=ve.depthModeForSublayer(0,xr==="opaque"?Nn.ReadWrite:Nn.ReadOnly),Gt=ve.colorModeForRenderPass(),nr=ve.useProgram(Wt?"backgroundPattern":"background"),mr=lt.coveringTiles({tileSize:Ct});Wt&&(Ze.activeTexture.set(We.TEXTURE0),ve.imageManager.bind(ve.context));for(var zr=me.getCrossfadeParameters(),Gr=0,Xr=mr;Gr "+me.overscaledZ);var Gr=zr+" "+Gt+"kb";Io(ve,Gr),We.draw(te,ye.TRIANGLES,lt,Ct,Ft.alphaBlended,wr.disabled,Di(Ze,e.Color.transparent,mr),xr,ve.debugBuffer,ve.quadTriangleIndexBuffer,ve.debugSegments)}function Io(ve,K){ve.initDebugOverlayCanvas();var me=ve.debugOverlayCanvas,te=ve.context.gl,ye=ve.debugOverlayCanvas.getContext("2d");ye.clearRect(0,0,me.width,me.height),ye.shadowColor="white",ye.shadowBlur=2,ye.lineWidth=1.5,ye.strokeStyle="white",ye.textBaseline="top",ye.font="bold 36px Open Sans, sans-serif",ye.fillText(K,5,5),ye.strokeText(K,5,5),ve.debugOverlayTexture.update(me),ve.debugOverlayTexture.bind(te.LINEAR,te.CLAMP_TO_EDGE)}function vs(ve,K,me){var te=ve.context,ye=me.implementation;if(ve.renderPass==="offscreen"){var Ze=ye.prerender;Ze&&(ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),Ze.call(ye,te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState())}else if(ve.renderPass==="translucent"){ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),te.setStencilMode(zn.disabled);var We=ye.renderingMode==="3d"?new Nn(ve.context.gl.LEQUAL,Nn.ReadWrite,ve.depthRangeFor3D):ve.depthModeForSublayer(0,Nn.ReadOnly);te.setDepthMode(We),ye.render(te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState(),te.bindFramebuffer.set(null)}}var Fo={symbol:R,circle:zt,heatmap:Jt,line:ln,fill:Ge,"fill-extrusion":st,hillshade:St,raster:rr,background:pr,debug:ro,custom:vs},ts=function(K,me){this.context=new $r(K),this.transform=me,this._tileTextures={},this.setup(),this.numSublayers=xn.maxUnderzooming+xn.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ku,this.gpuTimers={}};ts.prototype.resize=function(K,me){if(this.width=K*e.browser.devicePixelRatio,this.height=me*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var te=0,ye=this.style._order;te256&&this.clearStencil(),te.setColorMode(Ft.disabled),te.setDepthMode(Nn.disabled);var Ze=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var We=0,lt=me;We256&&this.clearStencil();var K=this.nextStencilID++,me=this.context.gl;return new zn({func:me.NOTEQUAL,mask:255},K,255,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilModeForClipping=function(K){var me=this.context.gl;return new zn({func:me.EQUAL,mask:255},this._tileClippingMaskIDs[K.key],0,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilConfigForOverlap=function(K){var me,te=this.context.gl,ye=K.sort(function(Wt,xr){return xr.overscaledZ-Wt.overscaledZ}),Ze=ye[ye.length-1].overscaledZ,We=ye[0].overscaledZ-Ze+1;if(We>1){this.currentStencilSource=void 0,this.nextStencilID+We>256&&this.clearStencil();for(var lt={},Ct=0;Ct=0;this.currentLayer--){var sn=this.style._layers[ye[this.currentLayer]],Zr=Ze[sn.source],hn=Ct[sn.source];this._renderTileClippingMasks(sn,hn),this.renderLayer(this,Zr,sn,hn)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?me.pop():null},ts.prototype.isPatternMissing=function(K){if(!K)return!1;if(!K.from||!K.to)return!0;var me=this.imageManager.getPattern(K.from.toString()),te=this.imageManager.getPattern(K.to.toString());return!me||!te},ts.prototype.useProgram=function(K,me){this.cache=this.cache||{};var te=""+K+(me?me.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[te]||(this.cache[te]=new hf(this.context,K,sf[K],me,Wo[K],this._showOverdrawInspector)),this.cache[te]},ts.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},ts.prototype.setBaseState=function(){var K=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(K.FUNC_ADD)},ts.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=e.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var K=this.context.gl;this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,K.RGBA)}},ts.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var bs=function(K,me){this.points=K,this.planes=me};bs.fromInvProjectionMatrix=function(K,me,te){var ye=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ze=Math.pow(2,te),We=ye.map(function(Wt){return e.transformMat4([],Wt,K)}).map(function(Wt){return e.scale$1([],Wt,1/Wt[3]/me*Ze)}),lt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],Ct=lt.map(function(Wt){var xr=e.sub([],We[Wt[0]],We[Wt[1]]),Fr=e.sub([],We[Wt[2]],We[Wt[1]]),Ar=e.normalize([],e.cross([],xr,Fr)),Gt=-e.dot(Ar,We[Wt[1]]);return Ar.concat(Gt)});return new bs(We,Ct)};var fl=function(K,me){this.min=K,this.max=me,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};fl.prototype.quadrant=function(K){for(var me=[K%2===0,K<2],te=e.clone$2(this.min),ye=e.clone$2(this.max),Ze=0;Ze=0;if(We===0)return 0;We!==me.length&&(te=!1)}if(te)return 2;for(var Ct=0;Ct<3;Ct++){for(var Wt=Number.MAX_VALUE,xr=-Number.MAX_VALUE,Fr=0;Frthis.max[Ct]-this.min[Ct])return 0}return 1};var al=function(K,me,te,ye){if(K===void 0&&(K=0),me===void 0&&(me=0),te===void 0&&(te=0),ye===void 0&&(ye=0),isNaN(K)||K<0||isNaN(me)||me<0||isNaN(te)||te<0||isNaN(ye)||ye<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=K,this.bottom=me,this.left=te,this.right=ye};al.prototype.interpolate=function(K,me,te){return me.top!=null&&K.top!=null&&(this.top=e.number(K.top,me.top,te)),me.bottom!=null&&K.bottom!=null&&(this.bottom=e.number(K.bottom,me.bottom,te)),me.left!=null&&K.left!=null&&(this.left=e.number(K.left,me.left,te)),me.right!=null&&K.right!=null&&(this.right=e.number(K.right,me.right,te)),this},al.prototype.getCenter=function(K,me){var te=e.clamp((this.left+K-this.right)/2,0,K),ye=e.clamp((this.top+me-this.bottom)/2,0,me);return new e.Point(te,ye)},al.prototype.equals=function(K){return this.top===K.top&&this.bottom===K.bottom&&this.left===K.left&&this.right===K.right},al.prototype.clone=function(){return new al(this.top,this.bottom,this.left,this.right)},al.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var os=function(K,me,te,ye,Ze){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ze===void 0?!0:Ze,this._minZoom=K||0,this._maxZoom=me||22,this._minPitch=te??0,this._maxPitch=ye??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new al,this._posMatrixCache={},this._alignedPosMatrixCache={}},is={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};os.prototype.clone=function(){var K=new os(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return K.tileSize=this.tileSize,K.latRange=this.latRange,K.width=this.width,K.height=this.height,K._center=this._center,K.zoom=this.zoom,K.angle=this.angle,K._fov=this._fov,K._pitch=this._pitch,K._unmodified=this._unmodified,K._edgeInsets=this._edgeInsets.clone(),K._calcMatrices(),K},is.minZoom.get=function(){return this._minZoom},is.minZoom.set=function(ve){this._minZoom!==ve&&(this._minZoom=ve,this.zoom=Math.max(this.zoom,ve))},is.maxZoom.get=function(){return this._maxZoom},is.maxZoom.set=function(ve){this._maxZoom!==ve&&(this._maxZoom=ve,this.zoom=Math.min(this.zoom,ve))},is.minPitch.get=function(){return this._minPitch},is.minPitch.set=function(ve){this._minPitch!==ve&&(this._minPitch=ve,this.pitch=Math.max(this.pitch,ve))},is.maxPitch.get=function(){return this._maxPitch},is.maxPitch.set=function(ve){this._maxPitch!==ve&&(this._maxPitch=ve,this.pitch=Math.min(this.pitch,ve))},is.renderWorldCopies.get=function(){return this._renderWorldCopies},is.renderWorldCopies.set=function(ve){ve===void 0?ve=!0:ve===null&&(ve=!1),this._renderWorldCopies=ve},is.worldSize.get=function(){return this.tileSize*this.scale},is.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},is.size.get=function(){return new e.Point(this.width,this.height)},is.bearing.get=function(){return-this.angle/Math.PI*180},is.bearing.set=function(ve){var K=-e.wrap(ve,-180,180)*Math.PI/180;this.angle!==K&&(this._unmodified=!1,this.angle=K,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},is.pitch.get=function(){return this._pitch/Math.PI*180},is.pitch.set=function(ve){var K=e.clamp(ve,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==K&&(this._unmodified=!1,this._pitch=K,this._calcMatrices())},is.fov.get=function(){return this._fov/Math.PI*180},is.fov.set=function(ve){ve=Math.max(.01,Math.min(60,ve)),this._fov!==ve&&(this._unmodified=!1,this._fov=ve/180*Math.PI,this._calcMatrices())},is.zoom.get=function(){return this._zoom},is.zoom.set=function(ve){var K=Math.min(Math.max(ve,this.minZoom),this.maxZoom);this._zoom!==K&&(this._unmodified=!1,this._zoom=K,this.scale=this.zoomScale(K),this.tileZoom=Math.floor(K),this.zoomFraction=K-this.tileZoom,this._constrain(),this._calcMatrices())},is.center.get=function(){return this._center},is.center.set=function(ve){ve.lat===this._center.lat&&ve.lng===this._center.lng||(this._unmodified=!1,this._center=ve,this._constrain(),this._calcMatrices())},is.padding.get=function(){return this._edgeInsets.toJSON()},is.padding.set=function(ve){this._edgeInsets.equals(ve)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ve,1),this._calcMatrices())},is.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},os.prototype.isPaddingEqual=function(K){return this._edgeInsets.equals(K)},os.prototype.interpolatePadding=function(K,me,te){this._unmodified=!1,this._edgeInsets.interpolate(K,me,te),this._constrain(),this._calcMatrices()},os.prototype.coveringZoomLevel=function(K){var me=(K.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/K.tileSize));return Math.max(0,me)},os.prototype.getVisibleUnwrappedCoordinates=function(K){var me=[new e.UnwrappedTileID(0,K)];if(this._renderWorldCopies)for(var te=this.pointCoordinate(new e.Point(0,0)),ye=this.pointCoordinate(new e.Point(this.width,0)),Ze=this.pointCoordinate(new e.Point(this.width,this.height)),We=this.pointCoordinate(new e.Point(0,this.height)),lt=Math.floor(Math.min(te.x,ye.x,Ze.x,We.x)),Ct=Math.floor(Math.max(te.x,ye.x,Ze.x,We.x)),Wt=1,xr=lt-Wt;xr<=Ct+Wt;xr++)xr!==0&&me.push(new e.UnwrappedTileID(xr,K));return me},os.prototype.coveringTiles=function(K){var me=this.coveringZoomLevel(K),te=me;if(K.minzoom!==void 0&&meK.maxzoom&&(me=K.maxzoom);var ye=e.MercatorCoordinate.fromLngLat(this.center),Ze=Math.pow(2,me),We=[Ze*ye.x,Ze*ye.y,0],lt=bs.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,me),Ct=K.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ct=me);var Wt=3,xr=function(Pi){return{aabb:new fl([Pi*Ze,0,0],[(Pi+1)*Ze,Ze,0]),zoom:0,x:0,y:0,wrap:Pi,fullyVisible:!1}},Fr=[],Ar=[],Gt=me,nr=K.reparseOverscaled?te:me;if(this._renderWorldCopies)for(var mr=1;mr<=3;mr++)Fr.push(xr(-mr)),Fr.push(xr(mr));for(Fr.push(xr(0));Fr.length>0;){var zr=Fr.pop(),Gr=zr.x,Xr=zr.y,fn=zr.fullyVisible;if(!fn){var sn=zr.aabb.intersects(lt);if(sn===0)continue;fn=sn===2}var Zr=zr.aabb.distanceX(We),hn=zr.aabb.distanceY(We),qr=Math.max(Math.abs(Zr),Math.abs(hn)),kn=Wt+(1<kn&&zr.zoom>=Ct){Ar.push({tileID:new e.OverscaledTileID(zr.zoom===Gt?nr:zr.zoom,zr.wrap,zr.zoom,Gr,Xr),distanceSq:e.sqrLen([We[0]-.5-Gr,We[1]-.5-Xr])});continue}for(var Xn=0;Xn<4;Xn++){var vi=(Gr<<1)+Xn%2,Ji=(Xr<<1)+(Xn>>1);Fr.push({aabb:zr.aabb.quadrant(Xn),zoom:zr.zoom+1,x:vi,y:Ji,wrap:zr.wrap,fullyVisible:fn})}}return Ar.sort(function(Pi,ea){return Pi.distanceSq-ea.distanceSq}).map(function(Pi){return Pi.tileID})},os.prototype.resize=function(K,me){this.width=K,this.height=me,this.pixelsToGLUnits=[2/K,-2/me],this._constrain(),this._calcMatrices()},is.unmodified.get=function(){return this._unmodified},os.prototype.zoomScale=function(K){return Math.pow(2,K)},os.prototype.scaleZoom=function(K){return Math.log(K)/Math.LN2},os.prototype.project=function(K){var me=e.clamp(K.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(K.lng)*this.worldSize,e.mercatorYfromLat(me)*this.worldSize)},os.prototype.unproject=function(K){return new e.MercatorCoordinate(K.x/this.worldSize,K.y/this.worldSize).toLngLat()},is.point.get=function(){return this.project(this.center)},os.prototype.setLocationAtPoint=function(K,me){var te=this.pointCoordinate(me),ye=this.pointCoordinate(this.centerPoint),Ze=this.locationCoordinate(K),We=new e.MercatorCoordinate(Ze.x-(te.x-ye.x),Ze.y-(te.y-ye.y));this.center=this.coordinateLocation(We),this._renderWorldCopies&&(this.center=this.center.wrap())},os.prototype.locationPoint=function(K){return this.coordinatePoint(this.locationCoordinate(K))},os.prototype.pointLocation=function(K){return this.coordinateLocation(this.pointCoordinate(K))},os.prototype.locationCoordinate=function(K){return e.MercatorCoordinate.fromLngLat(K)},os.prototype.coordinateLocation=function(K){return K.toLngLat()},os.prototype.pointCoordinate=function(K){var me=0,te=[K.x,K.y,0,1],ye=[K.x,K.y,1,1];e.transformMat4(te,te,this.pixelMatrixInverse),e.transformMat4(ye,ye,this.pixelMatrixInverse);var Ze=te[3],We=ye[3],lt=te[0]/Ze,Ct=ye[0]/We,Wt=te[1]/Ze,xr=ye[1]/We,Fr=te[2]/Ze,Ar=ye[2]/We,Gt=Fr===Ar?0:(me-Fr)/(Ar-Fr);return new e.MercatorCoordinate(e.number(lt,Ct,Gt)/this.worldSize,e.number(Wt,xr,Gt)/this.worldSize)},os.prototype.coordinatePoint=function(K){var me=[K.x*this.worldSize,K.y*this.worldSize,0,1];return e.transformMat4(me,me,this.pixelMatrix),new e.Point(me[0]/me[3],me[1]/me[3])},os.prototype.getBounds=function(){return new e.LngLatBounds().extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},os.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},os.prototype.setMaxBounds=function(K){K?(this.lngRange=[K.getWest(),K.getEast()],this.latRange=[K.getSouth(),K.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},os.prototype.calculatePosMatrix=function(K,me){me===void 0&&(me=!1);var te=K.key,ye=me?this._alignedPosMatrixCache:this._posMatrixCache;if(ye[te])return ye[te];var Ze=K.canonical,We=this.worldSize/this.zoomScale(Ze.z),lt=Ze.x+Math.pow(2,Ze.z)*K.wrap,Ct=e.identity(new Float64Array(16));return e.translate(Ct,Ct,[lt*We,Ze.y*We,0]),e.scale(Ct,Ct,[We/e.EXTENT,We/e.EXTENT,1]),e.multiply(Ct,me?this.alignedProjMatrix:this.projMatrix,Ct),ye[te]=new Float32Array(Ct),ye[te]},os.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},os.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var K=-90,me=90,te=-180,ye=180,Ze,We,lt,Ct,Wt=this.size,xr=this._unmodified;if(this.latRange){var Fr=this.latRange;K=e.mercatorYfromLat(Fr[1])*this.worldSize,me=e.mercatorYfromLat(Fr[0])*this.worldSize,Ze=me-Kme&&(Ct=me-zr)}if(this.lngRange){var Gr=Gt.x,Xr=Wt.x/2;Gr-Xrye&&(lt=ye-Xr)}(lt!==void 0||Ct!==void 0)&&(this.center=this.unproject(new e.Point(lt!==void 0?lt:Gt.x,Ct!==void 0?Ct:Gt.y))),this._unmodified=xr,this._constraining=!1}},os.prototype._calcMatrices=function(){if(this.height){var K=this._fov/2,me=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(K)*this.height;var te=Math.PI/2+this._pitch,ye=this._fov*(.5+me.y/this.height),Ze=Math.sin(ye)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-te-ye,.01,Math.PI-.01)),We=this.point,lt=We.x,Ct=We.y,Wt=Math.cos(Math.PI/2-this._pitch)*Ze+this.cameraToCenterDistance,xr=Wt*1.01,Fr=this.height/50,Ar=new Float64Array(16);e.perspective(Ar,this._fov,this.width/this.height,Fr,xr),Ar[8]=-me.x*2/this.width,Ar[9]=me.y*2/this.height,e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[0,0,-this.cameraToCenterDistance]),e.rotateX(Ar,Ar,this._pitch),e.rotateZ(Ar,Ar,this.angle),e.translate(Ar,Ar,[-lt,-Ct,0]),this.mercatorMatrix=e.scale([],Ar,[this.worldSize,this.worldSize,this.worldSize]),e.scale(Ar,Ar,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=Ar,this.invProjMatrix=e.invert([],this.projMatrix);var Gt=this.width%2/2,nr=this.height%2/2,mr=Math.cos(this.angle),zr=Math.sin(this.angle),Gr=lt-Math.round(lt)+mr*Gt+zr*nr,Xr=Ct-Math.round(Ct)+mr*nr+zr*Gt,fn=new Float64Array(Ar);if(e.translate(fn,fn,[Gr>.5?Gr-1:Gr,Xr>.5?Xr-1:Xr,0]),this.alignedProjMatrix=fn,Ar=e.create(),e.scale(Ar,Ar,[this.width/2,-this.height/2,1]),e.translate(Ar,Ar,[1,-1,0]),this.labelPlaneMatrix=Ar,Ar=e.create(),e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[-1,-1,0]),e.scale(Ar,Ar,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ar,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),Ar=e.invert(new Float64Array(16),this.pixelMatrix),!Ar)throw new Error("failed to invert matrix");this.pixelMatrixInverse=Ar,this._posMatrixCache={},this._alignedPosMatrixCache={}}},os.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var K=this.pointCoordinate(new e.Point(0,0)),me=[K.x*this.worldSize,K.y*this.worldSize,0,1],te=e.transformMat4(me,me,this.pixelMatrix);return te[3]/this.cameraToCenterDistance},os.prototype.getCameraPoint=function(){var K=this._pitch,me=Math.tan(K)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,me))},os.prototype.getCameraQueryGeometry=function(K){var me=this.getCameraPoint();if(K.length===1)return[K[0],me];for(var te=me.x,ye=me.y,Ze=me.x,We=me.y,lt=0,Ct=K;lt=3&&!K.some(function(te){return isNaN(te)})){var me=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(K[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+K[2],+K[1]],zoom:+K[0],bearing:me,pitch:+(K[4]||0)}),!0}return!1},eu.prototype._updateHashUnthrottled=function(){var K=e.window.location.href.replace(/(#.+)?$/,this.getHashString());try{e.window.history.replaceState(e.window.history.state,null,K)}catch{}};var Xu={linearity:.3,easing:e.bezier(0,0,.3,1)},mu=e.extend({deceleration:2500,maxSpeed:1400},Xu),El=e.extend({deceleration:20,maxSpeed:1400},Xu),fu=e.extend({deceleration:1e3,maxSpeed:360},Xu),Tc=e.extend({deceleration:1e3,maxSpeed:90},Xu),Zl=function(K){this._map=K,this.clear()};Zl.prototype.clear=function(){this._inertiaBuffer=[]},Zl.prototype.record=function(K){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:K})},Zl.prototype._drainInertiaBuffer=function(){for(var K=this._inertiaBuffer,me=e.browser.now(),te=160;K.length>0&&me-K[0].time>te;)K.shift()},Zl.prototype._onMoveEnd=function(K){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var me={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},te=0,ye=this._inertiaBuffer;te=this._clickTolerance||this._map.fire(new Re(K.type,this._map,K))},mt.prototype.dblclick=function(K){return this._firePreventable(new Re(K.type,this._map,K))},mt.prototype.mouseover=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.mouseout=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.touchstart=function(K){return this._firePreventable(new Qe(K.type,this._map,K))},mt.prototype.touchmove=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchend=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchcancel=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype._firePreventable=function(K){if(this._map.fire(K),K.defaultPrevented)return{}},mt.prototype.isEnabled=function(){return!0},mt.prototype.isActive=function(){return!1},mt.prototype.enable=function(){},mt.prototype.disable=function(){};var Tt=function(K){this._map=K};Tt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Tt.prototype.mousemove=function(K){this._map.fire(new Re(K.type,this._map,K))},Tt.prototype.mousedown=function(){this._delayContextMenu=!0},Tt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Re("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Tt.prototype.contextmenu=function(K){this._delayContextMenu?this._contextMenuEvent=K:this._map.fire(new Re(K.type,this._map,K)),this._map.listens("contextmenu")&&K.preventDefault()},Tt.prototype.isEnabled=function(){return!0},Tt.prototype.isActive=function(){return!1},Tt.prototype.enable=function(){},Tt.prototype.disable=function(){};var Qt=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._container=K.getContainer(),this._clickTolerance=me.clickTolerance||1};Qt.prototype.isEnabled=function(){return!!this._enabled},Qt.prototype.isActive=function(){return!!this._active},Qt.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Qt.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Qt.prototype.mousedown=function(K,me){this.isEnabled()&&K.shiftKey&&K.button===0&&(r.disableDrag(),this._startPos=this._lastPos=me,this._active=!0)},Qt.prototype.mousemoveWindow=function(K,me){if(this._active){var te=me;if(!(this._lastPos.equals(te)||!this._box&&te.dist(this._startPos)this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=K.timeStamp),te.length===this.numTouches&&(this.centroid=lr(me),this.touches=Dt(te,me)))},yn.prototype.touchmove=function(K,me,te){if(!(this.aborted||!this.centroid)){var ye=Dt(te,me);for(var Ze in this.touches){var We=this.touches[Ze],lt=ye[Ze];(!lt||lt.dist(We)>Tn)&&(this.aborted=!0)}}},yn.prototype.touchend=function(K,me,te){if((!this.centroid||K.timeStamp-this.startTime>jr)&&(this.aborted=!0),te.length===0){var ye=!this.aborted&&this.centroid;if(this.reset(),ye)return ye}};var ti=function(K){this.singleTap=new yn(K),this.numTaps=K.numTaps,this.reset()};ti.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ti.prototype.touchstart=function(K,me,te){this.singleTap.touchstart(K,me,te)},ti.prototype.touchmove=function(K,me,te){this.singleTap.touchmove(K,me,te)},ti.prototype.touchend=function(K,me,te){var ye=this.singleTap.touchend(K,me,te);if(ye){var Ze=K.timeStamp-this.lastTime0&&(this._active=!0);var ye=Dt(te,me),Ze=new e.Point(0,0),We=new e.Point(0,0),lt=0;for(var Ct in ye){var Wt=ye[Ct],xr=this._touches[Ct];xr&&(Ze._add(Wt),We._add(Wt.sub(xr)),lt++,ye[Ct]=Wt)}if(this._touches=ye,!(ltMath.abs(ve.x)}var ua=100,wo=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.reset=function(){ve.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},K.prototype._start=function(te){this._lastPoints=te,ml(te[0].sub(te[1]))&&(this._valid=!1)},K.prototype._move=function(te,ye,Ze){var We=te[0].sub(this._lastPoints[0]),lt=te[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(We,lt,Ze.timeStamp),!!this._valid){this._lastPoints=te,this._active=!0;var Ct=(We.y+lt.y)/2,Wt=-.5;return{pitchDelta:Ct*Wt}}},K.prototype.gestureBeginsVertically=function(te,ye,Ze){if(this._valid!==void 0)return this._valid;var We=2,lt=te.mag()>=We,Ct=ye.mag()>=We;if(!(!lt&&!Ct)){if(!lt||!Ct)return this._firstMove===void 0&&(this._firstMove=Ze),Ze-this._firstMove0==ye.y>0;return ml(te)&&ml(ye)&&Wt}},K}(La),ys={panStep:100,bearingStep:15,pitchStep:10},Ms=function(){var K=ys;this._panStep=K.panStep,this._bearingStep=K.bearingStep,this._pitchStep=K.pitchStep,this._rotationDisabled=!1};Ms.prototype.reset=function(){this._active=!1},Ms.prototype.keydown=function(K){var me=this;if(!(K.altKey||K.ctrlKey||K.metaKey)){var te=0,ye=0,Ze=0,We=0,lt=0;switch(K.keyCode){case 61:case 107:case 171:case 187:te=1;break;case 189:case 109:case 173:te=-1;break;case 37:K.shiftKey?ye=-1:(K.preventDefault(),We=-1);break;case 39:K.shiftKey?ye=1:(K.preventDefault(),We=1);break;case 38:K.shiftKey?Ze=1:(K.preventDefault(),lt=-1);break;case 40:K.shiftKey?Ze=-1:(K.preventDefault(),lt=1);break;default:return}return this._rotationDisabled&&(ye=0,Ze=0),{cameraAnimation:function(Ct){var Wt=Ct.getZoom();Ct.easeTo({duration:300,easeId:"keyboardHandler",easing:xl,zoom:te?Math.round(Wt)+te*(K.shiftKey?2:1):Wt,bearing:Ct.getBearing()+ye*me._bearingStep,pitch:Ct.getPitch()+Ze*me._pitchStep,offset:[-We*me._panStep,-lt*me._panStep],center:Ct.getCenter()},{originalEvent:K})}}}},Ms.prototype.enable=function(){this._enabled=!0},Ms.prototype.disable=function(){this._enabled=!1,this.reset()},Ms.prototype.isEnabled=function(){return this._enabled},Ms.prototype.isActive=function(){return this._active},Ms.prototype.disableRotation=function(){this._rotationDisabled=!0},Ms.prototype.enableRotation=function(){this._rotationDisabled=!1};function xl(ve){return ve*(2-ve)}var Ul=4.000244140625,gu=1/100,Fl=1/450,vc=2,tr=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._handler=me,this._delta=0,this._defaultZoomRate=gu,this._wheelZoomRate=Fl,e.bindAll(["_onTimeout"],this)};tr.prototype.setZoomRate=function(K){this._defaultZoomRate=K},tr.prototype.setWheelZoomRate=function(K){this._wheelZoomRate=K},tr.prototype.isEnabled=function(){return!!this._enabled},tr.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},tr.prototype.isZooming=function(){return!!this._zooming},tr.prototype.enable=function(K){this.isEnabled()||(this._enabled=!0,this._aroundCenter=K&&K.around==="center")},tr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},tr.prototype.wheel=function(K){if(this.isEnabled()){var me=K.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?K.deltaY*40:K.deltaY,te=e.browser.now(),ye=te-(this._lastWheelEventTime||0);this._lastWheelEventTime=te,me!==0&&me%Ul===0?this._type="wheel":me!==0&&Math.abs(me)<4?this._type="trackpad":ye>400?(this._type=null,this._lastValue=me,this._timeout=setTimeout(this._onTimeout,40,K)):this._type||(this._type=Math.abs(ye*me)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,me+=this._lastValue)),K.shiftKey&&me&&(me=me/4),this._type&&(this._lastWheelEvent=K,this._delta-=me,this._active||this._start(K)),K.preventDefault()}},tr.prototype._onTimeout=function(K){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(K)},tr.prototype._start=function(K){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var me=r.mousePos(this._el,K);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(me)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},tr.prototype.renderFrame=function(){var K=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var me=this._map.transform;if(this._delta!==0){var te=this._type==="wheel"&&Math.abs(this._delta)>Ul?this._wheelZoomRate:this._defaultZoomRate,ye=vc/(1+Math.exp(-Math.abs(this._delta*te)));this._delta<0&&ye!==0&&(ye=1/ye);var Ze=typeof this._targetZoom=="number"?me.zoomScale(this._targetZoom):me.scale;this._targetZoom=Math.min(me.maxZoom,Math.max(me.minZoom,me.scaleZoom(Ze*ye))),this._type==="wheel"&&(this._startZoom=me.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var We=typeof this._targetZoom=="number"?this._targetZoom:me.zoom,lt=this._startZoom,Ct=this._easing,Wt=!1,xr;if(this._type==="wheel"&<&&Ct){var Fr=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),Ar=Ct(Fr);xr=e.number(lt,We,Ar),Fr<1?this._frameId||(this._frameId=!0):Wt=!0}else xr=We,Wt=!0;return this._active=!0,Wt&&(this._active=!1,this._finishTimeout=setTimeout(function(){K._zooming=!1,K._handler._triggerRenderFrame(),delete K._targetZoom,delete K._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Wt,zoomDelta:xr-me.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},tr.prototype._smoothOutEasing=function(K){var me=e.ease;if(this._prevEase){var te=this._prevEase,ye=(e.browser.now()-te.start)/te.duration,Ze=te.easing(ye+.01)-te.easing(ye),We=.27/Math.sqrt(Ze*Ze+1e-4)*.01,lt=Math.sqrt(.27*.27-We*We);me=e.bezier(We,lt,.25,1)}return this._prevEase={start:e.browser.now(),duration:K,easing:me},me},tr.prototype.reset=function(){this._active=!1};var cn=function(K,me){this._clickZoom=K,this._tapZoom=me};cn.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cn.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cn.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cn.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var Ln=function(){this.reset()};Ln.prototype.reset=function(){this._active=!1},Ln.prototype.dblclick=function(K,me){return K.preventDefault(),{cameraAnimation:function(te){te.easeTo({duration:300,zoom:te.getZoom()+(K.shiftKey?-1:1),around:te.unproject(me)},{originalEvent:K})}}},Ln.prototype.enable=function(){this._enabled=!0},Ln.prototype.disable=function(){this._enabled=!1,this.reset()},Ln.prototype.isEnabled=function(){return this._enabled},Ln.prototype.isActive=function(){return this._active};var xi=function(){this._tap=new ti({numTouches:1,numTaps:1}),this.reset()};xi.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},xi.prototype.touchstart=function(K,me,te){this._swipePoint||(this._tapTime&&K.timeStamp-this._tapTime>Br&&this.reset(),this._tapTime?te.length>0&&(this._swipePoint=me[0],this._swipeTouch=te[0].identifier):this._tap.touchstart(K,me,te))},xi.prototype.touchmove=function(K,me,te){if(!this._tapTime)this._tap.touchmove(K,me,te);else if(this._swipePoint){if(te[0].identifier!==this._swipeTouch)return;var ye=me[0],Ze=ye.y-this._swipePoint.y;return this._swipePoint=ye,K.preventDefault(),this._active=!0,{zoomDelta:Ze/128}}},xi.prototype.touchend=function(K,me,te){if(this._tapTime)this._swipePoint&&te.length===0&&this.reset();else{var ye=this._tap.touchend(K,me,te);ye&&(this._tapTime=K.timeStamp)}},xi.prototype.touchcancel=function(){this.reset()},xi.prototype.enable=function(){this._enabled=!0},xi.prototype.disable=function(){this._enabled=!1,this.reset()},xi.prototype.isEnabled=function(){return this._enabled},xi.prototype.isActive=function(){return this._active};var Ni=function(K,me,te){this._el=K,this._mousePan=me,this._touchPan=te};Ni.prototype.enable=function(K){this._inertiaOptions=K||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ni.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ni.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ni.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Fi=function(K,me,te){this._pitchWithRotate=K.pitchWithRotate,this._mouseRotate=me,this._mousePitch=te};Fi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Fi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Fi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Fi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var Oi=function(K,me,te,ye){this._el=K,this._touchZoom=me,this._touchRotate=te,this._tapDragZoom=ye,this._rotationDisabled=!1,this._enabled=!0};Oi.prototype.enable=function(K){this._touchZoom.enable(K),this._rotationDisabled||this._touchRotate.enable(K),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},Oi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},Oi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},Oi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},Oi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},Oi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var na=function(ve){return ve.zoom||ve.drag||ve.pitch||ve.rotate},Ca=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K}(e.Event);function ka(ve){return ve.panDelta&&ve.panDelta.mag()||ve.zoomDelta||ve.bearingDelta||ve.pitchDelta}var ha=function(K,me){this._map=K,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Zl(K),this._bearingSnap=me.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(me),e.bindAll(["handleEvent","handleWindowEvent"],this);var te=this._el;this._listeners=[[te,"touchstart",{passive:!0}],[te,"touchmove",{passive:!1}],[te,"touchend",void 0],[te,"touchcancel",void 0],[te,"mousedown",void 0],[te,"mousemove",void 0],[te,"mouseup",void 0],[e.window.document,"mousemove",{capture:!0}],[e.window.document,"mouseup",void 0],[te,"mouseover",void 0],[te,"mouseout",void 0],[te,"dblclick",void 0],[te,"click",void 0],[te,"keydown",{capture:!1}],[te,"keyup",void 0],[te,"wheel",{passive:!1}],[te,"contextmenu",void 0],[e.window,"blur",void 0]];for(var ye=0,Ze=this._listeners;yelt?Math.min(2,Zr):Math.max(.5,Zr),Pi=Math.pow(Ji,1-Xn),ea=We.unproject(fn.add(sn.mult(Xn*Pi)).mult(vi));We.setLocationAtPoint(We.renderWorldCopies?ea.wrap():ea,zr)}Ze._fireMoveEvents(ye)},function(Xn){Ze._afterEase(ye,Xn)},te),this},K.prototype._prepareEase=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._moving=!0,!ye&&!Ze.moving&&this.fire(new e.Event("movestart",te)),this._zooming&&!Ze.zooming&&this.fire(new e.Event("zoomstart",te)),this._rotating&&!Ze.rotating&&this.fire(new e.Event("rotatestart",te)),this._pitching&&!Ze.pitching&&this.fire(new e.Event("pitchstart",te))},K.prototype._fireMoveEvents=function(te){this.fire(new e.Event("move",te)),this._zooming&&this.fire(new e.Event("zoom",te)),this._rotating&&this.fire(new e.Event("rotate",te)),this._pitching&&this.fire(new e.Event("pitch",te))},K.prototype._afterEase=function(te,ye){if(!(this._easeId&&ye&&this._easeId===ye)){delete this._easeId;var Ze=this._zooming,We=this._rotating,lt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ze&&this.fire(new e.Event("zoomend",te)),We&&this.fire(new e.Event("rotateend",te)),lt&&this.fire(new e.Event("pitchend",te)),this.fire(new e.Event("moveend",te))}},K.prototype.flyTo=function(te,ye){var Ze=this;if(!te.essential&&e.browser.prefersReducedMotion){var We=e.pick(te,["center","zoom","bearing","pitch","around"]);return this.jumpTo(We,ye)}this.stop(),te=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},te);var lt=this.transform,Ct=this.getZoom(),Wt=this.getBearing(),xr=this.getPitch(),Fr=this.getPadding(),Ar="zoom"in te?e.clamp(+te.zoom,lt.minZoom,lt.maxZoom):Ct,Gt="bearing"in te?this._normalizeBearing(te.bearing,Wt):Wt,nr="pitch"in te?+te.pitch:xr,mr="padding"in te?te.padding:lt.padding,zr=lt.zoomScale(Ar-Ct),Gr=e.Point.convert(te.offset),Xr=lt.centerPoint.add(Gr),fn=lt.pointLocation(Xr),sn=e.LngLat.convert(te.center||fn);this._normalizeCenter(sn);var Zr=lt.project(fn),hn=lt.project(sn).sub(Zr),qr=te.curve,kn=Math.max(lt.width,lt.height),Xn=kn/zr,vi=hn.mag();if("minZoom"in te){var Ji=e.clamp(Math.min(te.minZoom,Ct,Ar),lt.minZoom,lt.maxZoom),Pi=kn/lt.zoomScale(Ji-Ct);qr=Math.sqrt(Pi/vi*2)}var ea=qr*qr;function ja(rs){var js=(Xn*Xn-kn*kn+(rs?-1:1)*ea*ea*vi*vi)/(2*(rs?Xn:kn)*ea*vi);return Math.log(Math.sqrt(js*js+1)-js)}function Ea(rs){return(Math.exp(rs)-Math.exp(-rs))/2}function $i(rs){return(Math.exp(rs)+Math.exp(-rs))/2}function da(rs){return Ea(rs)/$i(rs)}var fa=ja(0),za=function(rs){return $i(fa)/$i(fa+qr*rs)},Qa=function(rs){return kn*(($i(fa)*da(fa+qr*rs)-Ea(fa))/ea)/vi},Cs=(ja(1)-fa)/qr;if(Math.abs(vi)<1e-6||!isFinite(Cs)){if(Math.abs(kn-Xn)<1e-6)return this.easeTo(te,ye);var ws=Xnte.maxDuration&&(te.duration=0),this._zooming=!0,this._rotating=Wt!==Gt,this._pitching=nr!==xr,this._padding=!lt.isPaddingEqual(mr),this._prepareEase(ye,!1),this._ease(function(rs){var js=rs*Cs,Cl=1/za(js);lt.zoom=rs===1?Ar:Ct+lt.scaleZoom(Cl),Ze._rotating&&(lt.bearing=e.number(Wt,Gt,rs)),Ze._pitching&&(lt.pitch=e.number(xr,nr,rs)),Ze._padding&&(lt.interpolatePadding(Fr,mr,rs),Xr=lt.centerPoint.add(Gr));var Ou=rs===1?sn:lt.unproject(Zr.add(hn.mult(Qa(js))).mult(Cl));lt.setLocationAtPoint(lt.renderWorldCopies?Ou.wrap():Ou,Xr),Ze._fireMoveEvents(ye)},function(){return Ze._afterEase(ye)},te),this},K.prototype.isEasing=function(){return!!this._easeFrameId},K.prototype.stop=function(){return this._stop()},K.prototype._stop=function(te,ye){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ze=this._onEaseEnd;delete this._onEaseEnd,Ze.call(this,ye)}if(!te){var We=this.handlers;We&&We.stop(!1)}return this},K.prototype._ease=function(te,ye,Ze){Ze.animate===!1||Ze.duration===0?(te(1),ye()):(this._easeStart=e.browser.now(),this._easeOptions=Ze,this._onEaseFrame=te,this._onEaseEnd=ye,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},K.prototype._renderFrameCallback=function(){var te=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(te)),te<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},K.prototype._normalizeBearing=function(te,ye){te=e.wrap(te,-180,180);var Ze=Math.abs(te-ye);return Math.abs(te-360-ye)180?-360:Ze<-180?360:0}},K}(e.Evented),Aa=function(K){K===void 0&&(K={}),this.options=K,e.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};Aa.prototype.getDefaultPosition=function(){return"bottom-right"},Aa.prototype.onAdd=function(K){var me=this.options&&this.options.compact;return this._map=K,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=r.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),me&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),me===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Aa.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Aa.prototype._setElementTitle=function(K,me){var te=this._map._getUIString("AttributionControl."+me);K.title=te,K.setAttribute("aria-label",te)},Aa.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},Aa.prototype._updateEditLink=function(){var K=this._editLink;K||(K=this._editLink=this._container.querySelector(".mapbox-improve-map"));var me=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(K){var te=me.reduce(function(ye,Ze,We){return Ze.value&&(ye+=Ze.key+"="+Ze.value+(We=0)return!1;return!0});var lt=K.join(" | ");lt!==this._attribHTML&&(this._attribHTML=lt,K.length?(this._innerContainer.innerHTML=lt,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},Aa.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var Ma=function(){e.bindAll(["_updateLogo"],this),e.bindAll(["_updateCompact"],this)};Ma.prototype.onAdd=function(K){this._map=K,this._container=r.create("div","mapboxgl-ctrl");var me=r.create("a","mapboxgl-ctrl-logo");return me.target="_blank",me.rel="noopener nofollow",me.href="https://www.mapbox.com/",me.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),me.setAttribute("rel","noopener nofollow"),this._container.appendChild(me),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ma.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Ma.prototype.getDefaultPosition=function(){return"bottom-left"},Ma.prototype._updateLogo=function(K){(!K||K.sourceDataType==="metadata")&&(this._container.style.display=this._logoRequired()?"block":"none")},Ma.prototype._logoRequired=function(){if(this._map.style){var K=this._map.style.sourceCaches;for(var me in K){var te=K[me].getSource();if(te.mapbox_logo)return!0}return!1}},Ma.prototype._updateCompact=function(){var K=this._container.children;if(K.length){var me=K[0];this._map.getCanvasContainer().offsetWidth<250?me.classList.add("mapboxgl-compact"):me.classList.remove("mapboxgl-compact")}};var ia=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};ia.prototype.add=function(K){var me=++this._id,te=this._queue;return te.push({callback:K,id:me,cancelled:!1}),me},ia.prototype.remove=function(K){for(var me=this._currentlyRunning,te=me?this._queue.concat(me):this._queue,ye=0,Ze=te;yete.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(te.minPitch!=null&&te.maxPitch!=null&&te.minPitch>te.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(te.minPitch!=null&&te.minPitchOo)throw new Error("maxPitch must be less than or equal to "+Oo);var Ze=new os(te.minZoom,te.maxZoom,te.minPitch,te.maxPitch,te.renderWorldCopies);if(ve.call(this,Ze,te),this._interactive=te.interactive,this._maxTileCacheSize=te.maxTileCacheSize,this._failIfMajorPerformanceCaveat=te.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=te.preserveDrawingBuffer,this._antialias=te.antialias,this._trackResize=te.trackResize,this._bearingSnap=te.bearingSnap,this._refreshExpiredTiles=te.refreshExpiredTiles,this._fadeDuration=te.fadeDuration,this._crossSourceCollisions=te.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=te.collectResourceTiming,this._renderTaskQueue=new ia,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},wi,te.locale),this._clickTolerance=te.clickTolerance,this._requestManager=new e.RequestManager(te.transformRequest,te.accessToken),typeof te.container=="string"){if(this._container=e.window.document.getElementById(te.container),!this._container)throw new Error("Container '"+te.container+"' not found.")}else if(te.container instanceof ba)this._container=te.container;else throw new Error("Invalid type: 'container' must be a String or HTMLElement.");if(te.maxBounds&&this.setMaxBounds(te.maxBounds),e.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return ye._update(!1)}),this.on("moveend",function(){return ye._update(!1)}),this.on("zoom",function(){return ye._update(!0)}),typeof e.window<"u"&&(e.window.addEventListener("online",this._onWindowOnline,!1),e.window.addEventListener("resize",this._onWindowResize,!1),e.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new ha(this,te);var We=typeof te.hash=="string"&&te.hash||void 0;this._hash=te.hash&&new eu(We).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:te.center,zoom:te.zoom,bearing:te.bearing,pitch:te.pitch}),te.bounds&&(this.resize(),this.fitBounds(te.bounds,e.extend({},te.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=te.localIdeographFontFamily,te.style&&this.setStyle(te.style,{localIdeographFontFamily:te.localIdeographFontFamily}),te.attributionControl&&this.addControl(new Aa({customAttribution:te.customAttribution})),this.addControl(new Ma,te.logoPosition),this.on("style.load",function(){ye.transform.unmodified&&ye.jumpTo(ye.style.stylesheet)}),this.on("data",function(lt){ye._update(lt.dataType==="style"),ye.fire(new e.Event(lt.dataType+"data",lt))}),this.on("dataloading",function(lt){ye.fire(new e.Event(lt.dataType+"dataloading",lt))})}ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K;var me={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return K.prototype._getMapId=function(){return this._mapId},K.prototype.addControl=function(ye,Ze){if(Ze===void 0&&(ye.getDefaultPosition?Ze=ye.getDefaultPosition():Ze="top-right"),!ye||!ye.onAdd)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var We=ye.onAdd(this);this._controls.push(ye);var lt=this._controlPositions[Ze];return Ze.indexOf("bottom")!==-1?lt.insertBefore(We,lt.firstChild):lt.appendChild(We),this},K.prototype.removeControl=function(ye){if(!ye||!ye.onRemove)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Ze=this._controls.indexOf(ye);return Ze>-1&&this._controls.splice(Ze,1),ye.onRemove(this),this},K.prototype.hasControl=function(ye){return this._controls.indexOf(ye)>-1},K.prototype.resize=function(ye){var Ze=this._containerDimensions(),We=Ze[0],lt=Ze[1];this._resizeCanvas(We,lt),this.transform.resize(We,lt),this.painter.resize(We,lt);var Ct=!this._moving;return Ct&&(this.stop(),this.fire(new e.Event("movestart",ye)).fire(new e.Event("move",ye))),this.fire(new e.Event("resize",ye)),Ct&&this.fire(new e.Event("moveend",ye)),this},K.prototype.getBounds=function(){return this.transform.getBounds()},K.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},K.prototype.setMaxBounds=function(ye){return this.transform.setMaxBounds(e.LngLatBounds.convert(ye)),this._update()},K.prototype.setMinZoom=function(ye){if(ye=ye??ca,ye>=ca&&ye<=this.transform.maxZoom)return this.transform.minZoom=ye,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=ye,this._update(),this.getZoom()>ye&&this.setZoom(ye),this;throw new Error("maxZoom must be greater than the current minZoom")},K.prototype.getMaxZoom=function(){return this.transform.maxZoom},K.prototype.setMinPitch=function(ye){if(ye=ye??Ba,ye=Ba&&ye<=this.transform.maxPitch)return this.transform.minPitch=ye,this._update(),this.getPitch()Oo)throw new Error("maxPitch must be less than or equal to "+Oo);if(ye>=this.transform.minPitch)return this.transform.maxPitch=ye,this._update(),this.getPitch()>ye&&this.setPitch(ye),this;throw new Error("maxPitch must be greater than the current minPitch")},K.prototype.getMaxPitch=function(){return this.transform.maxPitch},K.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},K.prototype.setRenderWorldCopies=function(ye){return this.transform.renderWorldCopies=ye,this._update()},K.prototype.project=function(ye){return this.transform.locationPoint(e.LngLat.convert(ye))},K.prototype.unproject=function(ye){return this.transform.pointLocation(e.Point.convert(ye))},K.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},K.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},K.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},K.prototype._createDelegatedListener=function(ye,Ze,We){var lt=this,Ct;if(ye==="mouseenter"||ye==="mouseover"){var Wt=!1,xr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Wt||(Wt=!0,We.call(lt,new Re(ye,lt,zr.originalEvent,{features:Gr}))):Wt=!1},Fr=function(){Wt=!1};return{layer:Ze,listener:We,delegates:{mousemove:xr,mouseout:Fr}}}else if(ye==="mouseleave"||ye==="mouseout"){var Ar=!1,Gt=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Ar=!0:Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))},nr=function(zr){Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))};return{layer:Ze,listener:We,delegates:{mousemove:Gt,mouseout:nr}}}else{var mr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length&&(zr.features=Gr,We.call(lt,zr),delete zr.features)};return{layer:Ze,listener:We,delegates:(Ct={},Ct[ye]=mr,Ct)}}},K.prototype.on=function(ye,Ze,We){if(We===void 0)return ve.prototype.on.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[ye]=this._delegatedListeners[ye]||[],this._delegatedListeners[ye].push(lt);for(var Ct in lt.delegates)this.on(Ct,lt.delegates[Ct]);return this},K.prototype.once=function(ye,Ze,We){if(We===void 0)return ve.prototype.once.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);for(var Ct in lt.delegates)this.once(Ct,lt.delegates[Ct]);return this},K.prototype.off=function(ye,Ze,We){var lt=this;if(We===void 0)return ve.prototype.off.call(this,ye,Ze);var Ct=function(Wt){for(var xr=Wt[ye],Fr=0;Fr180;){var We=me.locationPoint(ve);if(We.x>=0&&We.y>=0&&We.x<=me.width&&We.y<=me.height)break;ve.lng>me.center.lng?ve.lng-=360:ve.lng+=360}return ve}var Zo={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function ps(ve,K,me){var te=ve.classList;for(var ye in Zo)te.remove("mapboxgl-"+me+"-anchor-"+ye);te.add("mapboxgl-"+me+"-anchor-"+K)}var Na=function(ve){function K(me,te){if(ve.call(this),(me instanceof e.window.HTMLElement||te)&&(me=e.extend({element:me},te)),e.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=me&&me.anchor||"center",this._color=me&&me.color||"#3FB1CE",this._scale=me&&me.scale||1,this._draggable=me&&me.draggable||!1,this._clickTolerance=me&&me.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=me&&me.rotation||0,this._rotationAlignment=me&&me.rotationAlignment||"auto",this._pitchAlignment=me&&me.pitchAlignment&&me.pitchAlignment!=="auto"?me.pitchAlignment:this._rotationAlignment,!me||!me.element){this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var ye=r.createNS("http://www.w3.org/2000/svg","svg"),Ze=41,We=27;ye.setAttributeNS(null,"display","block"),ye.setAttributeNS(null,"height",Ze+"px"),ye.setAttributeNS(null,"width",We+"px"),ye.setAttributeNS(null,"viewBox","0 0 "+We+" "+Ze);var lt=r.createNS("http://www.w3.org/2000/svg","g");lt.setAttributeNS(null,"stroke","none"),lt.setAttributeNS(null,"stroke-width","1"),lt.setAttributeNS(null,"fill","none"),lt.setAttributeNS(null,"fill-rule","evenodd");var Ct=r.createNS("http://www.w3.org/2000/svg","g");Ct.setAttributeNS(null,"fill-rule","nonzero");var Wt=r.createNS("http://www.w3.org/2000/svg","g");Wt.setAttributeNS(null,"transform","translate(3.0, 29.0)"),Wt.setAttributeNS(null,"fill","#000000");for(var xr=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}],Fr=0,Ar=xr;Fr=ye}this._isDragging&&(this._pos=te.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new e.Event("dragstart"))),this.fire(new e.Event("drag")))},K.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new e.Event("dragend")),this._state="inactive"},K.prototype._addDragHandler=function(te){this._element.contains(te.originalEvent.target)&&(te.preventDefault(),this._positionDelta=te.point.sub(this._pos).add(this._offset),this._pointerdownPos=te.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},K.prototype.setDraggable=function(te){return this._draggable=!!te,this._map&&(te?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},K.prototype.isDraggable=function(){return this._draggable},K.prototype.setRotation=function(te){return this._rotation=te||0,this._update(),this},K.prototype.getRotation=function(){return this._rotation},K.prototype.setRotationAlignment=function(te){return this._rotationAlignment=te||"auto",this._update(),this},K.prototype.getRotationAlignment=function(){return this._rotationAlignment},K.prototype.setPitchAlignment=function(te){return this._pitchAlignment=te&&te!=="auto"?te:this._rotationAlignment,this._update(),this},K.prototype.getPitchAlignment=function(){return this._pitchAlignment},K}(e.Evented),Mo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},ss;function _s(ve){ss!==void 0?ve(ss):e.window.navigator.permissions!==void 0?e.window.navigator.permissions.query({name:"geolocation"}).then(function(K){ss=K.state!=="denied",ve(ss)}):(ss=!!e.window.navigator.geolocation,ve(ss))}var Fs=0,iu=!1,Oc=function(ve){function K(me){ve.call(this),this.options=e.extend({},Mo,me),e.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.onAdd=function(te){return this._map=te,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),_s(this._setupUI),this._container},K.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Fs=0,iu=!1},K.prototype._isOutOfMapMaxBounds=function(te){var ye=this._map.getMaxBounds(),Ze=te.coords;return ye&&(Ze.longitudeye.getEast()||Ze.latitudeye.getNorth())},K.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break}},K.prototype._onSuccess=function(te){if(this._map){if(this._isOutOfMapMaxBounds(te)){this._setErrorState(),this.fire(new e.Event("outofmaxbounds",te)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=te,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(te),(!this.options.trackUserLocation||this._watchState==="ACTIVE_LOCK")&&this._updateCamera(te),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("geolocate",te)),this._finish()}},K.prototype._updateCamera=function(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude),Ze=te.coords.accuracy,We=this._map.getBearing(),lt=e.extend({bearing:We},this.options.fitBoundsOptions);this._map.fitBounds(ye.toBounds(Ze),lt,{geolocateSource:!0})},K.prototype._updateMarker=function(te){if(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude);this._accuracyCircleMarker.setLngLat(ye).addTo(this._map),this._userLocationDotMarker.setLngLat(ye).addTo(this._map),this._accuracy=te.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},K.prototype._updateCircleRadius=function(){var te=this._map._container.clientHeight/2,ye=this._map.unproject([0,te]),Ze=this._map.unproject([1,te]),We=ye.distanceTo(Ze),lt=Math.ceil(2*this._accuracy/We);this._circleElement.style.width=lt+"px",this._circleElement.style.height=lt+"px"},K.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},K.prototype._onError=function(te){if(this._map){if(this.options.trackUserLocation)if(te.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var ye=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=ye,this._geolocateButton.setAttribute("aria-label",ye),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(te.code===3&&iu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("error",te)),this._finish()}},K.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},K.prototype._setupUI=function(te){var ye=this;if(this._container.addEventListener("contextmenu",function(lt){return lt.preventDefault()}),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",te===!1){e.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Ze=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ze,this._geolocateButton.setAttribute("aria-label",Ze)}else{var We=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=We,this._geolocateButton.setAttribute("aria-label",We)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Na(this._dotElement),this._circleElement=r.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Na({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(lt){var Ct=lt.originalEvent&<.originalEvent.type==="resize";!lt.geolocateSource&&ye._watchState==="ACTIVE_LOCK"&&!Ct&&(ye._watchState="BACKGROUND",ye._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),ye._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),ye.fire(new e.Event("trackuserlocationend")))})},K.prototype.trigger=function(){if(!this._setup)return e.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new e.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Fs--,iu=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new e.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event("trackuserlocationstart"));break}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error");break}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),Fs++;var te;Fs>1?(te={maximumAge:6e5,timeout:0},iu=!0):(te=this.options.positionOptions,iu=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,te)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},K.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},K}(e.Evented),rl={maxWidth:100,unit:"metric"},Bc=function(K){this.options=e.extend({},rl,K),e.bindAll(["_onMove","setUnit"],this)};Bc.prototype.getDefaultPosition=function(){return"bottom-left"},Bc.prototype._onMove=function(){ql(this._map,this._container,this.options)},Bc.prototype.onAdd=function(K){return this._map=K,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",K.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Bc.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Bc.prototype.setUnit=function(K){this.options.unit=K,ql(this._map,this._container,this.options)};function ql(ve,K,me){var te=me&&me.maxWidth||100,ye=ve._container.clientHeight/2,Ze=ve.unproject([0,ye]),We=ve.unproject([te,ye]),lt=Ze.distanceTo(We);if(me&&me.unit==="imperial"){var Ct=3.2808*lt;if(Ct>5280){var Wt=Ct/5280;pc(K,te,Wt,ve._getUIString("ScaleControl.Miles"))}else pc(K,te,Ct,ve._getUIString("ScaleControl.Feet"))}else if(me&&me.unit==="nautical"){var xr=lt/1852;pc(K,te,xr,ve._getUIString("ScaleControl.NauticalMiles"))}else lt>=1e3?pc(K,te,lt/1e3,ve._getUIString("ScaleControl.Kilometers")):pc(K,te,lt,ve._getUIString("ScaleControl.Meters"))}function pc(ve,K,me,te){var ye=Jc(me),Ze=ye/me;ve.style.width=K*Ze+"px",ve.innerHTML=ye+" "+te}function mc(ve){var K=Math.pow(10,Math.ceil(-Math.log(ve)/Math.LN10));return Math.round(ve*K)/K}function Jc(ve){var K=Math.pow(10,(""+Math.floor(ve)).length-1),me=ve/K;return me=me>=10?10:me>=5?5:me>=3?3:me>=2?2:me>=1?1:mc(me),K*me}var tu=function(K){this._fullscreen=!1,K&&K.container&&(K.container instanceof e.window.HTMLElement?this._container=K.container:e.warnOnce("Full screen control 'container' must be a DOM element.")),e.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in e.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in e.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in e.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in e.window.document&&(this._fullscreenchange="MSFullscreenChange")};tu.prototype.onAdd=function(K){return this._map=K,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",e.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},tu.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},tu.prototype._setupUI=function(){var K=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",K).setAttribute("aria-hidden",!0),K.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._updateTitle=function(){var K=this._getTitle();this._fullscreenButton.setAttribute("aria-label",K),this._fullscreenButton.title=K},tu.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},tu.prototype._isFullscreen=function(){return this._fullscreen},tu.prototype._changeIcon=function(){var K=e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement;K===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},tu.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Ac={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},Nc=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),Hs=function(ve){function K(me){ve.call(this),this.options=e.extend(Object.create(Ac),me),e.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.addTo=function(te){return this._map&&this.remove(),this._map=te,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new e.Event("open")),this},K.prototype.isOpen=function(){return!!this._map},K.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new e.Event("close")),this},K.prototype.getLngLat=function(){return this._lngLat},K.prototype.setLngLat=function(te){return this._lngLat=e.LngLat.convert(te),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},K.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},K.prototype.getElement=function(){return this._container},K.prototype.setText=function(te){return this.setDOMContent(e.window.document.createTextNode(te))},K.prototype.setHTML=function(te){var ye=e.window.document.createDocumentFragment(),Ze=e.window.document.createElement("body"),We;for(Ze.innerHTML=te;We=Ze.firstChild,!!We;)ye.appendChild(We);return this.setDOMContent(ye)},K.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},K.prototype.setMaxWidth=function(te){return this.options.maxWidth=te,this._update(),this},K.prototype.setDOMContent=function(te){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=r.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(te),this._createCloseButton(),this._update(),this._focusFirstElement(),this},K.prototype.addClassName=function(te){this._container&&this._container.classList.add(te)},K.prototype.removeClassName=function(te){this._container&&this._container.classList.remove(te)},K.prototype.setOffset=function(te){return this.options.offset=te,this._update(),this},K.prototype.toggleClassName=function(te){if(this._container)return this._container.classList.toggle(te)},K.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},K.prototype._onMouseUp=function(te){this._update(te.point)},K.prototype._onMouseMove=function(te){this._update(te.point)},K.prototype._onDrag=function(te){this._update(te.point)},K.prototype._update=function(te){var ye=this,Ze=this._lngLat||this._trackPointer;if(!(!this._map||!Ze||!this._content)&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(Gt){return ye._container.classList.add(Gt)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ao(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!te))){var We=this._pos=this._trackPointer&&te?te:this._map.project(this._lngLat),lt=this.options.anchor,Ct=$c(this.options.offset);if(!lt){var Wt=this._container.offsetWidth,xr=this._container.offsetHeight,Fr;We.y+Ct.bottom.ythis._map.transform.height-xr?Fr=["bottom"]:Fr=[],We.xthis._map.transform.width-Wt/2&&Fr.push("right"),Fr.length===0?lt="bottom":lt=Fr.join("-")}var Ar=We.add(Ct[lt]).round();r.setTransform(this._container,Zo[lt]+" translate("+Ar.x+"px,"+Ar.y+"px)"),ps(this._container,lt,"popup")}},K.prototype._focusFirstElement=function(){if(!(!this.options.focusAfterOpen||!this._container)){var te=this._container.querySelector(Nc);te&&te.focus()}},K.prototype._onClose=function(){this.remove()},K}(e.Evented);function $c(ve){if(ve)if(typeof ve=="number"){var K=Math.round(Math.sqrt(.5*Math.pow(ve,2)));return{center:new e.Point(0,0),top:new e.Point(0,ve),"top-left":new e.Point(K,K),"top-right":new e.Point(-K,K),bottom:new e.Point(0,-ve),"bottom-left":new e.Point(K,-K),"bottom-right":new e.Point(-K,-K),left:new e.Point(ve,0),right:new e.Point(-ve,0)}}else if(ve instanceof e.Point||Array.isArray(ve)){var me=e.Point.convert(ve);return{center:me,top:me,"top-left":me,"top-right":me,bottom:me,"bottom-left":me,"bottom-right":me,left:me,right:me}}else return{center:e.Point.convert(ve.center||[0,0]),top:e.Point.convert(ve.top||[0,0]),"top-left":e.Point.convert(ve["top-left"]||[0,0]),"top-right":e.Point.convert(ve["top-right"]||[0,0]),bottom:e.Point.convert(ve.bottom||[0,0]),"bottom-left":e.Point.convert(ve["bottom-left"]||[0,0]),"bottom-right":e.Point.convert(ve["bottom-right"]||[0,0]),left:e.Point.convert(ve.left||[0,0]),right:e.Point.convert(ve.right||[0,0])};else return $c(new e.Point(0,0))}var Us={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:sa,NavigationControl:Fa,GeolocateControl:Oc,AttributionControl:Aa,ScaleControl:Bc,FullscreenControl:tu,Popup:Hs,Marker:Na,Style:nu,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:Pr,clearPrewarmedResources:Ir,get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(ve){e.config.ACCESS_TOKEN=ve},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(ve){e.config.API_URL=ve},get workerCount(){return Sn.workerCount},set workerCount(ve){Sn.workerCount=ve},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ve){e.config.MAX_PARALLEL_IMAGE_REQUESTS=ve},clearStorage:function(K){e.clearTileCache(K)},workerUrl:""};return Us}),A})}}),jD=ke({"src/plots/mapbox/layers.js"(Z,H){"use strict";var g=un(),x=Wl().sanitizeHTML,A=uM(),S=op();function e(i,a){this.subplot=i,this.uid=i.uid+"-"+a,this.index=a,this.idSource="source-"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType==="image"&&i.sourcetype==="image"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapboxLayerId=function(i){if(i==="traces")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case"circle":g.extendFlat(s,{"circle-radius":i.circle.radius,"circle-color":i.color,"circle-opacity":i.opacity});break;case"line":g.extendFlat(s,{"line-width":i.line.width,"line-color":i.color,"line-opacity":i.opacity,"line-dasharray":i.line.dash});break;case"fill":g.extendFlat(s,{"fill-color":i.color,"fill-outline-color":i.fill.outlinecolor,"fill-opacity":i.opacity});break;case"symbol":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),g.extendFlat(s,{"icon-color":i.color,"text-color":c.textfont.color,"text-opacity":i.opacity});break;case"raster":g.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a==="geojson"?h="data":a==="vector"?h=typeof s=="string"?"url":"tiles":a==="raster"?(h="tiles",c.tileSize=256):a==="image"&&(h="url",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),VD=ke({"src/plots/mapbox/mapbox.js"(Z,H){"use strict";var g=cM(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=op(),d=jD();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y=b[u.id];u.map&&y.accesstoken!==u.accessToken&&(u.map.remove(),u.map=null,u.styleObj=null,u.traceHash={},u.layerList=[]);var f;u.map?f=new Promise(function(P,L){u.updateMap(m,b,P,L)}):f=new Promise(function(P,L){u.createMap(m,b,P,L)}),v.push(f)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style,b);y.accessToken=f.accesstoken;var L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0}));F._canvas.style.left="0px",F._canvas.style.top="0px",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var B=[];B.push(new Promise(function(O){F.once("load",O)})),B=B.concat(A.fetchTraceGeoData(m)),Promise.all(B).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style,b);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once("styledata",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf("event")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off("click",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on("click",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+"px",u.height=v.h*(b.y[1]-b.y[0])+"px",u.left=v.l+b.x[0]*v.w+"px",u.top=v.t+(1-b.y[1])*v.h+"px",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yB/2){var O=P.split("|").join("
");z.text(O).attr("data-unformatted",O).call(o.convertToTspans,d),F=r.bBox(z.node())}z.attr("transform",x(-3,-F.height+8)),L.insert("rect",".static-attribution").attr({x:-F.width-6,y:-F.height-3,width:F.width+6,height:F.height+3,fill:"rgba(255, 255, 255, 0.75)"});var I=1;F.width+6>B&&(I=B/(F.width+6));var N=[_.l+_.w*E.x[1],_.t+_.h*(1-E.y[0])];L.attr("transform",x(N[0],N[1])+A(I))}};function h(d,T){var l=d._fullLayout,_=d._context;if(_.mapboxAccessToken==="")return"";for(var w=[],M=[],E=!1,m=!1,b=0;b1&&g.warn(a.multipleTokensErrorMsg),w[0]):(M.length&&g.log(["Listed mapbox access token(s)",M.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}function p(d){return typeof d=="string"&&(a.styleValuesMapbox.indexOf(d)!==-1||d.indexOf("mapbox://")===0||d.indexOf("stamen")===0)}Z.updateFx=function(d){for(var T=d._fullLayout,l=T._subplots[i],_=0;_=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup["trace-"+n.uid];return r.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),ZD=ke({"src/traces/choroplethmapbox/index.js"(Z,H){"use strict";var g=["*choroplethmapbox* trace is deprecated!","Please consider switching to the *choroplethmap* trace type and `map` subplots.","Learn more at: https://plotly.com/python/maplibre-migration/","as well as https://plotly.com/javascript/maplibre-migration/"].join(" ");H.exports={attributes:fM(),supplyDefaults:WD(),colorbar:Np(),calc:Qx(),plot:XD(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(x,A){if(A){var S=A[0].trace;S._glTrace.updateOnSelect(A)}},getBelow:function(x,A){for(var S=A.getMapLayers(),e=S.length-2;e>=0;e--){var t=S[e].id;if(typeof t=="string"&&t.indexOf("water")===0){for(var r=e+1;r0?+d[h]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=["interpolate",["linear"],["heatmap-density"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup["trace-"+o.uid];return t.map.addSource(i,{type:"geojson",data:a.geojson}),n._addLayers(a,s),n}}}),ez=ke({"src/traces/densitymapbox/hover.js"(Z,H){"use strict";var g=Ho(),x=mb().hoverPoints,A=mb().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,"z"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),"hover").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),tz=ke({"src/traces/densitymapbox/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),rz=ke({"src/traces/densitymapbox/index.js"(Z,H){"use strict";var g=["*densitymapbox* trace is deprecated!","Please consider switching to the *densitymap* trace type and `map` subplots.","Learn more at: https://plotly.com/python/maplibre-migration/","as well as https://plotly.com/javascript/maplibre-migration/"].join(" ");H.exports={attributes:dM(),supplyDefaults:KD(),colorbar:Np(),formatLabels:lM(),calc:JD(),plot:QD(),hoverPoints:ez(),eventData:tz(),getBelow:function(x,A){for(var S=A.getMapLayers(),e=0;eESRI"},ortoInstaMaps:{type:"raster",tiles:["https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png"],tileSize:256,maxzoom:13},ortoICGC:{type:"raster",tiles:["https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:"vector",url:"https://geoserveis.icgc.cat/contextmaps/basemap.json"}},sprite:"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1",glyphs:"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf",layers:[{id:"background",type:"background",paint:{"background-color":"#F4F9F4"}},{id:"ortoEsri",type:"raster",source:"ortoEsri",maxzoom:16,layout:{visibility:"visible"}},{id:"ortoICGC",type:"raster",source:"ortoICGC",minzoom:13.1,maxzoom:19,layout:{visibility:"visible"}},{id:"ortoInstaMaps",type:"raster",source:"ortoInstaMaps",maxzoom:13,layout:{visibility:"visible"}},{id:"waterway_tunnel",type:"line",source:"openmaptiles","source-layer":"waterway",minzoom:14,filter:["all",["in","class","river","stream","canal"],["==","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,6]]},"line-dasharray":[2,4]}},{id:"waterway-other",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["!in","class","canal","river","stream"],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,2]]}}},{id:"waterway-stream-canal",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["all",["in","class","canal","stream"],["!=","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.3,stops:[[13,.5],[20,6]]}}},{id:"waterway-river",type:"line",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"waterway",filter:["all",["==","class","river"],["!=","brunnel","tunnel"]],layout:{"line-cap":"round"},paint:{"line-color":"#a0c8f0","line-width":{base:1.2,stops:[[10,.8],[20,4]]},"line-opacity":.5}},{id:"water-offset",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",maxzoom:8,filter:["==","$type","Polygon"],layout:{visibility:"visible"},paint:{"fill-opacity":0,"fill-color":"#a0c8f0","fill-translate":{base:1,stops:[[6,[2,0]],[8,[0,0]]]}}},{id:"water",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",layout:{visibility:"visible"},paint:{"fill-color":"hsl(210, 67%, 85%)","fill-opacity":0}},{id:"water-pattern",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"water",layout:{visibility:"visible"},paint:{"fill-translate":[0,2.5],"fill-pattern":"wave","fill-opacity":1}},{id:"landcover-ice-shelf",type:"fill",metadata:{"mapbox:group":"1444849382550.77"},source:"openmaptiles","source-layer":"landcover",filter:["==","subclass","ice_shelf"],layout:{visibility:"visible"},paint:{"fill-color":"#fff","fill-opacity":{base:1,stops:[[0,.9],[10,.3]]}}},{id:"tunnel-service-track-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","service","track"]],layout:{"line-join":"round"},paint:{"line-color":"#cfcdca","line-dasharray":[.5,.25],"line-width":{base:1.2,stops:[[15,1],[16,4],[20,11]]}}},{id:"tunnel-minor-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","minor"]],layout:{"line-join":"round"},paint:{"line-color":"#cfcdca","line-opacity":{stops:[[12,0],[12.5,1]]},"line-width":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:"tunnel-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:"tunnel-trunk-primary-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.7}},{id:"tunnel-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","motorway"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-dasharray":[.5,.25],"line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.5}},{id:"tunnel-path",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","tunnel"],["==","class","path"]]],paint:{"line-color":"#cba","line-dasharray":[1.5,.75],"line-width":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:"tunnel-service-track",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","service","track"]],layout:{"line-join":"round"},paint:{"line-color":"#fff","line-width":{base:1.2,stops:[[15.5,0],[16,2],[20,7.5]]}}},{id:"tunnel-minor",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","minor_road"]],layout:{"line-join":"round"},paint:{"line-color":"#fff","line-opacity":1,"line-width":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:"tunnel-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#fff4c6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,10]]}}},{id:"tunnel-trunk-primary",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#fff4c6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"tunnel-motorway",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","motorway"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"#ffdaa6","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"tunnel-railway",type:"line",metadata:{"mapbox:group":"1444849354174.1904"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","tunnel"],["==","class","rail"]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]},"line-dasharray":[2,2]}},{id:"ferry",type:"line",source:"openmaptiles","source-layer":"transportation",filter:["all",["in","class","ferry"]],layout:{"line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(108, 159, 182, 1)","line-width":1.1,"line-dasharray":[2,2]}},{id:"aeroway-taxiway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:12,filter:["all",["in","class","taxiway"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(153, 153, 153, 1)","line-width":{base:1.5,stops:[[11,2],[17,12]]},"line-opacity":1}},{id:"aeroway-runway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:12,filter:["all",["in","class","runway"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(153, 153, 153, 1)","line-width":{base:1.5,stops:[[11,5],[17,55]]},"line-opacity":1}},{id:"aeroway-taxiway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:4,filter:["all",["in","class","taxiway"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(255, 255, 255, 1)","line-width":{base:1.5,stops:[[11,1],[17,10]]},"line-opacity":{base:1,stops:[[11,0],[12,1]]}}},{id:"aeroway-runway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"aeroway",minzoom:4,filter:["all",["in","class","runway"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"rgba(255, 255, 255, 1)","line-width":{base:1.5,stops:[[11,4],[17,50]]},"line-opacity":{base:1,stops:[[11,0],[12,1]]}}},{id:"highway-motorway-link-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:12,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway_link"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"highway-link-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"highway-minor-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!=","brunnel","tunnel"],["in","class","minor","service","track"]]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#cfcdca","line-opacity":{stops:[[12,0],[12.5,0]]},"line-width":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:"highway-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":.5,"line-width":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:"highway-primary-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":{stops:[[7,0],[8,.6]]},"line-width":{base:1.2,stops:[[7,0],[8,.6],[9,1.5],[20,22]]}}},{id:"highway-trunk-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","trunk"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-opacity":{stops:[[5,0],[6,.5]]},"line-width":{base:1.2,stops:[[5,0],[6,.6],[7,1.5],[20,22]]}}},{id:"highway-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:4,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway"]],layout:{"line-cap":"butt","line-join":"round",visibility:"visible"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[4,0],[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":{stops:[[4,0],[5,.5]]}}},{id:"highway-path",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["==","class","path"]]],paint:{"line-color":"#cba","line-dasharray":[1.5,.75],"line-width":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:"highway-motorway-link",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:12,filter:["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway_link"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"highway-link",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"highway-minor",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!=","brunnel","tunnel"],["in","class","minor","service","track"]]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fff","line-opacity":.5,"line-width":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:"highway-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["!in","brunnel","bridge","tunnel"],["in","class","secondary","tertiary"]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[8,.5],[20,13]]},"line-opacity":.5}},{id:"highway-primary",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["in","class","primary"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[8.5,0],[9,.5],[20,18]]},"line-opacity":0}},{id:"highway-trunk",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["in","class","trunk"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"highway-motorway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",minzoom:5,filter:["all",["==","$type","LineString"],["all",["!in","brunnel","bridge","tunnel"],["==","class","motorway"]]],layout:{"line-cap":"round","line-join":"round",visibility:"visible"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"railway-transit",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","transit"],["!in","brunnel","tunnel"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.77)","line-width":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:"railway-transit-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","transit"],["!in","brunnel","tunnel"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.68)","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:"railway-service",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","rail"],["has","service"]]],paint:{"line-color":"hsla(0, 0%, 73%, 0.77)","line-width":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:"railway-service-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","class","rail"],["has","service"]]],layout:{visibility:"visible"},paint:{"line-color":"hsla(0, 0%, 73%, 0.68)","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:"railway",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!has","service"],["!in","brunnel","bridge","tunnel"],["==","class","rail"]]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:"railway-hatching",type:"line",metadata:{"mapbox:group":"1444849345966.4436"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["!has","service"],["!in","brunnel","bridge","tunnel"],["==","class","rail"]]],paint:{"line-color":"#bbb","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:"bridge-motorway-link-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway_link"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"bridge-link-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:"bridge-secondary-tertiary-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-opacity":1,"line-width":{base:1.2,stops:[[8,1.5],[20,28]]}}},{id:"bridge-trunk-primary-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"hsl(28, 76%, 67%)","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,26]]}}},{id:"bridge-motorway-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway"]],layout:{"line-join":"round"},paint:{"line-color":"#e9ac77","line-width":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},"line-opacity":.5}},{id:"bridge-path-casing",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","bridge"],["==","class","path"]]],paint:{"line-color":"#f8f4f0","line-width":{base:1.2,stops:[[15,1.2],[20,18]]}}},{id:"bridge-path",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","$type","LineString"],["all",["==","brunnel","bridge"],["==","class","path"]]],paint:{"line-color":"#cba","line-width":{base:1.2,stops:[[15,1.2],[20,4]]},"line-dasharray":[1.5,.75]}},{id:"bridge-motorway-link",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway_link"]],layout:{"line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"bridge-link",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary_link","secondary_link","tertiary_link","trunk_link"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:"bridge-secondary-tertiary",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","secondary","tertiary"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,20]]}}},{id:"bridge-trunk-primary",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["in","class","primary","trunk"]],layout:{"line-join":"round"},paint:{"line-color":"#fea","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]}}},{id:"bridge-motorway",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","motorway"]],layout:{"line-join":"round"},paint:{"line-color":"#fc8","line-width":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},"line-opacity":.5}},{id:"bridge-railway",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","rail"]],paint:{"line-color":"#bbb","line-width":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:"bridge-railway-hatching",type:"line",metadata:{"mapbox:group":"1444849334699.1902"},source:"openmaptiles","source-layer":"transportation",filter:["all",["==","brunnel","bridge"],["==","class","rail"]],paint:{"line-color":"#bbb","line-dasharray":[.2,8],"line-width":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:"cablecar",type:"line",source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["==","class","cable_car"],layout:{visibility:"visible","line-cap":"round"},paint:{"line-color":"hsl(0, 0%, 70%)","line-width":{base:1,stops:[[11,1],[19,2.5]]}}},{id:"cablecar-dash",type:"line",source:"openmaptiles","source-layer":"transportation",minzoom:13,filter:["==","class","cable_car"],layout:{visibility:"visible","line-cap":"round"},paint:{"line-color":"hsl(0, 0%, 70%)","line-width":{base:1,stops:[[11,3],[19,5.5]]},"line-dasharray":[2,3]}},{id:"boundary-land-level-4",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",[">=","admin_level",4],["<=","admin_level",8],["!=","maritime",1]],layout:{"line-join":"round"},paint:{"line-color":"#9e9cab","line-dasharray":[3,1,1,1],"line-width":{base:1.4,stops:[[4,.4],[5,1],[12,3]]},"line-opacity":.6}},{id:"boundary-land-level-2",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["==","admin_level",2],["!=","maritime",1],["!=","disputed",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"hsl(248, 7%, 66%)","line-width":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,2]]}}},{id:"boundary-land-disputed",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["!=","maritime",1],["==","disputed",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"hsl(248, 7%, 70%)","line-dasharray":[1,3],"line-width":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,8]]}}},{id:"boundary-water",type:"line",source:"openmaptiles","source-layer":"boundary",filter:["all",["in","admin_level",2,4],["==","maritime",1]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"rgba(154, 189, 214, 1)","line-width":{base:1,stops:[[0,.6],[4,1],[5,1],[12,1]]},"line-opacity":{stops:[[6,0],[10,0]]}}},{id:"waterway-name",type:"symbol",source:"openmaptiles","source-layer":"waterway",minzoom:13,filter:["all",["==","$type","LineString"],["has","name"]],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":"{name:latin} {name:nonlatin}","text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"line","text-letter-spacing":.2,"symbol-spacing":350},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-lakeline",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["==","$type","LineString"],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"line","symbol-spacing":350,"text-letter-spacing":.2},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-ocean",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["all",["==","$type","Point"],["==","class","ocean"]],layout:{"text-font":["Noto Sans Italic"],"text-size":14,"text-field":"{name:latin}","text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"point","symbol-spacing":350,"text-letter-spacing":.2},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"water-name-other",type:"symbol",source:"openmaptiles","source-layer":"water_name",filter:["all",["==","$type","Point"],["!in","class","ocean"]],layout:{"text-font":["Noto Sans Italic"],"text-size":{stops:[[0,10],[6,14]]},"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":5,"text-rotation-alignment":"map","symbol-placement":"point","symbol-spacing":350,"text-letter-spacing":.2,visibility:"visible"},paint:{"text-color":"#74aee9","text-halo-width":1.5,"text-halo-color":"rgba(255,255,255,0.7)"}},{id:"poi-level-3",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:16,filter:["all",["==","$type","Point"],[">=","rank",25]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} -{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"poi-level-2",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:15,filter:["all",["==","$type","Point"],["<=","rank",24],[">=","rank",15]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} -{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"poi-level-1",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:14,filter:["all",["==","$type","Point"],["<=","rank",14],["has","name"]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} -{name:nonlatin}`,"text-offset":[0,.6],"text-size":11,"text-max-width":9},paint:{"text-halo-blur":.5,"text-color":"rgba(191, 228, 172, 1)","text-halo-width":1,"text-halo-color":"rgba(30, 29, 29, 1)"}},{id:"poi-railway",type:"symbol",source:"openmaptiles","source-layer":"poi",minzoom:13,filter:["all",["==","$type","Point"],["has","name"],["==","class","railway"],["==","subclass","station"]],layout:{"text-padding":2,"text-font":["Noto Sans Regular"],"text-anchor":"top","icon-image":"{class}_11","text-field":`{name:latin} -{name:nonlatin}`,"text-offset":[0,.6],"text-size":12,"text-max-width":9,"icon-optional":!1,"icon-ignore-placement":!1,"icon-allow-overlap":!1,"text-ignore-placement":!1,"text-allow-overlap":!1,"text-optional":!0},paint:{"text-halo-blur":.5,"text-color":"#666","text-halo-width":1,"text-halo-color":"#ffffff"}},{id:"road_oneway",type:"symbol",source:"openmaptiles","source-layer":"transportation",minzoom:15,filter:["all",["==","oneway",1],["in","class","motorway","trunk","primary","secondary","tertiary","minor","service"]],layout:{"symbol-placement":"line","icon-image":"oneway","symbol-spacing":75,"icon-padding":2,"icon-rotation-alignment":"map","icon-rotate":90,"icon-size":{stops:[[15,.5],[19,1]]}},paint:{"icon-opacity":.5}},{id:"road_oneway_opposite",type:"symbol",source:"openmaptiles","source-layer":"transportation",minzoom:15,filter:["all",["==","oneway",-1],["in","class","motorway","trunk","primary","secondary","tertiary","minor","service"]],layout:{"symbol-placement":"line","icon-image":"oneway","symbol-spacing":75,"icon-padding":2,"icon-rotation-alignment":"map","icon-rotate":-90,"icon-size":{stops:[[15,.5],[19,1]]}},paint:{"icon-opacity":.5}},{id:"highway-name-path",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:15.5,filter:["==","class","path"],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-color":"#f8f4f0","text-color":"hsl(30, 23%, 62%)","text-halo-width":.5}},{id:"highway-name-minor",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:15,filter:["all",["==","$type","LineString"],["in","class","minor","service","track"]],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-blur":.5,"text-color":"#765","text-halo-width":1}},{id:"highway-name-major",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:12.2,filter:["in","class","primary","secondary","tertiary","trunk"],layout:{"text-size":{base:1,stops:[[13,12],[14,13]]},"text-font":["Noto Sans Regular"],"text-field":"{name:latin} {name:nonlatin}","symbol-placement":"line","text-rotation-alignment":"map"},paint:{"text-halo-blur":.5,"text-color":"#765","text-halo-width":1}},{id:"highway-shield",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:8,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["!in","network","us-interstate","us-highway","us-state"]],layout:{"text-size":10,"icon-image":"road_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[10,"point"],[11,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-opacity":1,"text-color":"rgba(20, 19, 19, 1)","text-halo-color":"rgba(230, 221, 221, 0)","text-halo-width":2,"icon-color":"rgba(183, 18, 18, 1)","icon-opacity":.3,"icon-halo-color":"rgba(183, 55, 55, 0)"}},{id:"highway-shield-us-interstate",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:7,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["in","network","us-interstate"]],layout:{"text-size":10,"icon-image":"{network}_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[7,"point"],[7,"line"],[8,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-color":"rgba(0, 0, 0, 1)"}},{id:"highway-shield-us-other",type:"symbol",source:"openmaptiles","source-layer":"transportation_name",minzoom:9,filter:["all",["<=","ref_length",6],["==","$type","LineString"],["in","network","us-highway","us-state"]],layout:{"text-size":10,"icon-image":"{network}_{ref_length}","icon-rotation-alignment":"viewport","symbol-spacing":200,"text-font":["Noto Sans Regular"],"symbol-placement":{base:1,stops:[[10,"point"],[11,"line"]]},"text-rotation-alignment":"viewport","icon-size":1,"text-field":"{ref}"},paint:{"text-color":"rgba(0, 0, 0, 1)"}},{id:"place-other",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",minzoom:12,filter:["!in","class","city","town","village","country","continent"],layout:{"text-letter-spacing":.1,"text-size":{base:1.2,stops:[[12,10],[15,14]]},"text-font":["Noto Sans Bold"],"text-field":`{name:latin} -{name:nonlatin}`,"text-transform":"uppercase","text-max-width":9,visibility:"visible"},paint:{"text-color":"rgba(255,255,255,1)","text-halo-width":1.2,"text-halo-color":"rgba(57, 28, 28, 1)"}},{id:"place-village",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",minzoom:10,filter:["==","class","village"],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[10,12],[15,16]]},"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(255, 255, 255, 1)","text-halo-width":1.2,"text-halo-color":"rgba(10, 9, 9, 0.8)"}},{id:"place-town",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["==","class","town"],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[10,14],[15,24]]},"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(255, 255, 255, 1)","text-halo-width":1.2,"text-halo-color":"rgba(22, 22, 22, 0.8)"}},{id:"place-city",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["!=","capital",2],["==","class","city"]],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[7,14],[11,24]]},"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":8,visibility:"visible"},paint:{"text-color":"rgba(0, 0, 0, 1)","text-halo-width":1.2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-city-capital",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","capital",2],["==","class","city"]],layout:{"text-font":["Noto Sans Regular"],"text-size":{base:1.2,stops:[[7,14],[11,24]]},"text-field":`{name:latin} -{name:nonlatin}`,"text-max-width":8,"icon-image":"star_11","text-offset":[.4,0],"icon-size":.8,"text-anchor":"left",visibility:"visible"},paint:{"text-color":"#333","text-halo-width":1.2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-other",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],[">=","rank",3],["!has","iso_a2"]],layout:{"text-font":["Noto Sans Italic"],"text-field":"{name:latin}","text-size":{stops:[[3,11],[7,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-3",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],[">=","rank",3],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[3,11],[7,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-2",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],["==","rank",2],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[2,11],[5,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-country-1",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",filter:["all",["==","class","country"],["==","rank",1],["has","iso_a2"]],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":{stops:[[1,11],[4,17]]},"text-transform":"uppercase","text-max-width":6.25,visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}},{id:"place-continent",type:"symbol",metadata:{"mapbox:group":"1444849242106.713"},source:"openmaptiles","source-layer":"place",maxzoom:1,filter:["==","class","continent"],layout:{"text-font":["Noto Sans Bold"],"text-field":"{name:latin}","text-size":14,"text-max-width":6.25,"text-transform":"uppercase",visibility:"visible"},paint:{"text-halo-blur":1,"text-color":"#334","text-halo-width":2,"text-halo-color":"rgba(255,255,255,0.8)"}}],id:"qebnlkra6"}}}),az=ke({"src/plots/map/styles/arcgis-sat.js"(Z,H){H.exports={version:8,name:"orto",metadata:{},center:[1.537786,41.837539],zoom:12,bearing:0,pitch:0,light:{anchor:"viewport",color:"white",intensity:.4,position:[1.15,45,30]},sources:{ortoEsri:{type:"raster",tiles:["https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"],tileSize:256,maxzoom:18,attribution:"ESRI © ESRI"},ortoInstaMaps:{type:"raster",tiles:["https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png"],tileSize:256,maxzoom:13},ortoICGC:{type:"raster",tiles:["https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:"vector",url:"https://geoserveis.icgc.cat/contextmaps/basemap.json"}},sprite:"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1",glyphs:"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf",layers:[{id:"background",type:"background",paint:{"background-color":"#F4F9F4"}},{id:"ortoEsri",type:"raster",source:"ortoEsri",maxzoom:16,layout:{visibility:"visible"}},{id:"ortoICGC",type:"raster",source:"ortoICGC",minzoom:13.1,maxzoom:19,layout:{visibility:"visible"}},{id:"ortoInstaMaps",type:"raster",source:"ortoInstaMaps",maxzoom:13,layout:{visibility:"visible"}}]}}}),tm=ke({"src/plots/map/constants.js"(Z,H){"use strict";var g=Ip(),x=iz(),A=az(),S='\xA9 OpenStreetMap contributors',e="https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",t="https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",r="https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",o="https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json",n="https://basemaps.cartocdn.com/gl/dark-matter-nolabels-gl-style/style.json",i="https://basemaps.cartocdn.com/gl/voyager-nolabels-gl-style/style.json",a={basic:r,streets:r,outdoors:r,light:e,dark:t,satellite:A,"satellite-streets":x,"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:S,tiles:["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":e,"carto-darkmatter":t,"carto-voyager":r,"carto-positron-nolabels":o,"carto-darkmatter-nolabels":n,"carto-voyager-nolabels":i},s=g(a);H.exports={styleValueDflt:"basic",stylesMap:a,styleValuesMap:s,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",missingStyleErrorMsg:["No valid maplibre style found, please set `map.style` to one of:",s.join(", "),"or use a tile service."].join(` -`),mapOnErrorMsg:"Map error."}}}),e1=ke({"src/plots/map/layout_attributes.js"(Z,H){"use strict";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=tm(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex("map",".layers",!0)],domain:A({name:"map"}),style:{valType:"any",values:o.styleValuesMap,dflt:o.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:r("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:x},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:x}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},"plot","from-root");i.uirevision={valType:"any",editType:"none"}}}),yb=ke({"src/traces/scattermap/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=e1(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=e1(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:"boolean"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:"number",arrayOk:!0,dflt:-1,min:-1},size:{valType:"number",arrayOk:!0,dflt:20,min:0},color:{valType:"color",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:"markers"}),text:n({},e.text,{}),texttemplate:x({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o("marker")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:"string"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:g()},"calc","nested")}}),vM=ke({"src/traces/scattermap/constants.js"(Z,H){"use strict";var g=["Metropolis Black Italic","Metropolis Black","Metropolis Bold Italic","Metropolis Bold","Metropolis Extra Bold Italic","Metropolis Extra Bold","Metropolis Extra Light Italic","Metropolis Extra Light","Metropolis Light Italic","Metropolis Light","Metropolis Medium Italic","Metropolis Medium","Metropolis Regular Italic","Metropolis Regular","Metropolis Semi Bold Italic","Metropolis Semi Bold","Metropolis Thin Italic","Metropolis Thin","Open Sans Bold Italic","Open Sans Bold","Open Sans Extrabold Italic","Open Sans Extrabold","Open Sans Italic","Open Sans Light Italic","Open Sans Light","Open Sans Regular","Open Sans Semibold Italic","Open Sans Semibold","Klokantech Noto Sans Bold","Klokantech Noto Sans CJK Bold","Klokantech Noto Sans CJK Regular","Klokantech Noto Sans Italic","Klokantech Noto Sans Regular"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),oz=ke({"src/traces/scattermap/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=yb(),o=vM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p("text"),p("texttemplate"),p("hovertext"),p("hovertemplate"),p("mode"),p("below"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p("marker.allowoverlap"),p("marker.angle");var l=s.marker;l.symbol!=="circle"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p("connectgaps"));var _=d("cluster.maxzoom"),w=d("cluster.step"),M=d("cluster.color",s.marker&&s.marker.color||c),E=d("cluster.size"),m=d("cluster.opacity"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p("cluster.enabled",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:"Open Sans Regular",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p("fill"),s.fill!=="none"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s("lon")||[],h=s("lat")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),pM=ke({"src/traces/scattermap/format_labels.js"(Z,H){"use strict";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),mM=ke({"src/plots/map/convert_text_opts.js"(Z,H){"use strict";var g=un();H.exports=function(A,S){var e=A.split(" "),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=["",""],s=[0,0];switch(t){case"top":a[0]="top",s[1]=-i;break;case"bottom":a[0]="bottom",s[1]=i;break}switch(r){case"left":a[1]="right",s[0]=-n;break;case"right":a[1]="left",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join("-"):a[0]?c=a[0]:a[1]?c=a[1]:c="center",{anchor:c,offset:s}}}}),sz=ke({"src/traces/scattermap/convert.js"(Z,H){"use strict";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=vM().isSupportedFont,i=mM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!=="none",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol==="circle",F=P&&v.marker.symbol!=="circle",B=v.cluster&&v.cluster.enabled,O=h("fill"),I=h("line"),N=h("circle"),U=h("symbol"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility="visible",x.extendFlat(O.paint,{"fill-color":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility="visible",x.extendFlat(I.paint,{"line-width":v.line.width,"line-color":v.line.color,"line-opacity":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility="visible",B&&(N.filter=["!",["has","point_count"]],W.cluster={type:"circle",filter:["has","point_count"],layout:{visibility:"visible"},paint:{"circle-color":w(v.cluster.color,v.cluster.step),"circle-radius":w(v.cluster.size,v.cluster.step),"circle-opacity":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:"symbol",filter:["has","point_count"],paint:{},layout:{"text-field":"{point_count_abbreviated}","text-font":M(v),"text-size":12}}),x.extendFlat(N.paint,{"circle-color":le.mcc,"circle-radius":le.mrc,"circle-opacity":le.mo})}if(z&&B&&(N.filter=["!",["has","point_count"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),F&&(x.extendFlat(U.layout,{"icon-size":v.marker.size/10}),"angle"in v.marker&&v.marker.angle!=="auto"&&x.extendFlat(U.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),U.layout["icon-allow-overlap"]=v.marker.allowoverlap,x.extendFlat(U.paint,{"icon-opacity":v.opacity*v.marker.opacity,"icon-color":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{"text-size":v.textfont.size,"text-anchor":fe.anchor,"text-offset":fe.offset,"text-font":M(v)}),x.extendFlat(U.paint,{"text-color":v.textfont.color,"text-opacity":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:"none"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,"marker")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=" Black":u>750?P+=" Extra Bold":u>650?P+=" Bold":u>550?P+=" Semi Bold":u>450?P+=" Medium":u>350?P+=" Regular":u>250?P+=" Light":u>150?P+=" Extra Light":P+=" Thin"):y.slice(0,2).join(" ")==="Open Sans"?(P="Open Sans",u>750?P+=" Extrabold":u>650?P+=" Bold":u>550?P+=" Semibold":u>350?P+=" Regular":P+=" Light"):y.slice(0,3).join(" ")==="Klokantech Noto Sans"&&(P="Klokantech Noto Sans",y[3]==="CJK"&&(P+=" CJK"),P+=u>500?" Bold":" Regular")),f&&(P+=" Italic"),P==="Open Sans Regular Italic"?P="Open Sans Italic":P==="Open Sans Regular Bold"?P="Open Sans Bold":P==="Open Sans Regular Bold Italic"?P="Open Sans Bold Italic":P==="Klokantech Noto Sans Regular Italic"&&(P="Klokantech Noto Sans Italic"),n(P)||(P=b);var L=P.split(", ");return L}}}),lz=ke({"src/traces/scattermap/plot.js"(Z,H){"use strict";var g=un(),x=sz(),A=tm().traceLayerPrefix,S={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function e(r,o,n,i){this.type="scattermap",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:"source-"+o+"-fill",line:"source-"+o+"-line",circle:"source-"+o+"-circle",symbol:"source-"+o+"-symbol",cluster:"source-"+o+"-circle",clusterCount:"source-"+o+"-circle"},this.layerIds={fill:A+o+"-fill",line:A+o+"-line",circle:A+o+"-circle",symbol:A+o+"-symbol",cluster:A+o+"-cluster",clusterCount:A+o+"-cluster-count"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:"geojson",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup["trace-"+i.uid],d,T,l;if(a)for(c.addSource("circle",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split("+"),h=c.indexOf("all")!==-1,p=c.indexOf("lon")!==-1,d=c.indexOf("lat")!==-1,T=i.lonlat,l=[];function _(w){return w+"\xB0"}return h||p&&d?l.push("("+_(T[1])+", "+_(T[0])+")"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf("text")!==-1)&&S(i,n,l),l.join("
")}H.exports={hoverPoints:r,getExtraText:o}}}),uz=ke({"src/traces/scattermap/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),cz=ke({"src/traces/scattermap/select.js"(Z,H){"use strict";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var c=r(a);let h,p;function d(){return h==null&&(h=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),h}function T(){if(p==null&&(p=!1,d())){let D=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(D){for(let he=0;he<5*5;he++){let Ce=4*he;D.fillStyle=`rgb(${Ce},${Ce+1},${Ce+2})`,D.fillRect(he%5,Math.floor(he/5),1,1)}let Y=D.getImageData(0,0,5,5).data;for(let he=0;he<5*5*4;he++)if(he%4!=3&&Y[he]!==he){p=!0;break}}}return p||!1}function l(q,D,Y,he){let Ce=new c(q,D,Y,he);return Ve=>Ce.solve(Ve)}let _=l(.25,.1,.25,1);function w(q,D,Y){return Math.min(Y,Math.max(D,q))}function M(q,D,Y){let he=Y-D,Ce=((q-D)%he+he)%he+D;return Ce===D?Y:Ce}function E(q,...D){for(let Y of D)for(let he in Y)q[he]=Y[he];return q}let m=1;function b(q,D,Y){let he={};for(let Ce in q)he[Ce]=D.call(this,q[Ce],Ce,q);return he}function v(q,D,Y){let he={};for(let Ce in q)D.call(this,q[Ce],Ce,q)&&(he[Ce]=q[Ce]);return he}function u(q){return Array.isArray(q)?q.map(u):typeof q=="object"&&q?b(q,u):q}let y={};function f(q){y[q]||(typeof console<"u"&&console.warn(q),y[q]=!0)}function P(q,D,Y){return(Y.y-q.y)*(D.x-q.x)>(D.y-q.y)*(Y.x-q.x)}function L(q){return typeof WorkerGlobalScope<"u"&&q!==void 0&&q instanceof WorkerGlobalScope}let z=null;function F(q){return typeof ImageBitmap<"u"&&q instanceof ImageBitmap}let B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function O(q,D,Y,he,Ce){return t(this,void 0,void 0,function*(){if(typeof VideoFrame>"u")throw new Error("VideoFrame not supported");let Ve=new VideoFrame(q,{timestamp:0});try{let Xe=Ve?.format;if(!Xe||!Xe.startsWith("BGR")&&!Xe.startsWith("RGB"))throw new Error(`Unrecognized format ${Xe}`);let ct=Xe.startsWith("BGR"),At=new Uint8ClampedArray(he*Ce*4);if(yield Ve.copyTo(At,function(Ot,er,cr,Sr,Nr){let rn=4*Math.max(-er,0),mn=(Math.max(0,cr)-cr)*Sr*4+rn,Gn=4*Sr,ei=Math.max(0,er),Ri=Math.max(0,cr);return{rect:{x:ei,y:Ri,width:Math.min(Ot.width,er+Sr)-ei,height:Math.min(Ot.height,cr+Nr)-Ri},layout:[{offset:mn,stride:Gn}]}}(q,D,Y,he,Ce)),ct)for(let Ot=0;OtL(self)?self.worker&&self.worker.referrer:(window.location.protocol==="blob:"?window.parent:window).location.href,$=function(q,D){if(/:\/\//.test(q.url)&&!/^https?:|^file:/.test(q.url)){let he=le(q.url);if(he)return he(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:q,targetMapId:se},D)}if(!(/^file:/.test(Y=q.url)||/^file:/.test(G())&&!/^\w+:/.test(Y))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,"signal"))return function(he,Ce){return t(this,void 0,void 0,function*(){let Ve=new Request(he.url,{method:he.method||"GET",body:he.body,credentials:he.credentials,headers:he.headers,cache:he.cache,referrer:G(),signal:Ce.signal});he.type!=="json"||Ve.headers.has("Accept")||Ve.headers.set("Accept","application/json");let Xe=yield fetch(Ve);if(!Xe.ok){let Ot=yield Xe.blob();throw new fe(Xe.status,Xe.statusText,he.url,Ot)}let ct;ct=he.type==="arrayBuffer"||he.type==="image"?Xe.arrayBuffer():he.type==="json"?Xe.json():Xe.text();let At=yield ct;if(Ce.signal.aborted)throw W();return{data:At,cacheControl:Xe.headers.get("Cache-Control"),expires:Xe.headers.get("Expires")}})}(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:q,mustQueue:!0,targetMapId:se},D)}var Y;return function(he,Ce){return new Promise((Ve,Xe)=>{var ct;let At=new XMLHttpRequest;At.open(he.method||"GET",he.url,!0),he.type!=="arrayBuffer"&&he.type!=="image"||(At.responseType="arraybuffer");for(let Ot in he.headers)At.setRequestHeader(Ot,he.headers[Ot]);he.type==="json"&&(At.responseType="text",!((ct=he.headers)===null||ct===void 0)&&ct.Accept||At.setRequestHeader("Accept","application/json")),At.withCredentials=he.credentials==="include",At.onerror=()=>{Xe(new Error(At.statusText))},At.onload=()=>{if(!Ce.signal.aborted)if((At.status>=200&&At.status<300||At.status===0)&&At.response!==null){let Ot=At.response;if(he.type==="json")try{Ot=JSON.parse(At.response)}catch(er){return void Xe(er)}Ve({data:Ot,cacheControl:At.getResponseHeader("Cache-Control"),expires:At.getResponseHeader("Expires")})}else{let Ot=new Blob([At.response],{type:At.getResponseHeader("Content-Type")});Xe(new fe(At.status,At.statusText,he.url,Ot))}},Ce.signal.addEventListener("abort",()=>{At.abort(),Xe(W())}),At.send(he.body)})}(q,D)};function J(q){if(!q||q.indexOf("://")<=0||q.indexOf("data:image/")===0||q.indexOf("blob:")===0)return!0;let D=new URL(q),Y=window.location;return D.protocol===Y.protocol&&D.host===Y.host}function X(q,D,Y){Y[q]&&Y[q].indexOf(D)!==-1||(Y[q]=Y[q]||[],Y[q].push(D))}function re(q,D,Y){if(Y&&Y[q]){let he=Y[q].indexOf(D);he!==-1&&Y[q].splice(he,1)}}class ae{constructor(D,Y={}){E(this,Y),this.type=D}}class j extends ae{constructor(D,Y={}){super("error",E({error:D},Y))}}class ee{on(D,Y){return this._listeners=this._listeners||{},X(D,Y,this._listeners),this}off(D,Y){return re(D,Y,this._listeners),re(D,Y,this._oneTimeListeners),this}once(D,Y){return Y?(this._oneTimeListeners=this._oneTimeListeners||{},X(D,Y,this._oneTimeListeners),this):new Promise(he=>this.once(D,he))}fire(D,Y){typeof D=="string"&&(D=new ae(D,Y||{}));let he=D.type;if(this.listens(he)){D.target=this;let Ce=this._listeners&&this._listeners[he]?this._listeners[he].slice():[];for(let ct of Ce)ct.call(this,D);let Ve=this._oneTimeListeners&&this._oneTimeListeners[he]?this._oneTimeListeners[he].slice():[];for(let ct of Ve)re(he,ct,this._oneTimeListeners),ct.call(this,D);let Xe=this._eventedParent;Xe&&(E(D,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),Xe.fire(D))}else D instanceof j&&console.error(D.error);return this}listens(D){return this._listeners&&this._listeners[D]&&this._listeners[D].length>0||this._oneTimeListeners&&this._oneTimeListeners[D]&&this._oneTimeListeners[D].length>0||this._eventedParent&&this._eventedParent.listens(D)}setEventedParent(D,Y){return this._eventedParent=D,this._eventedParentData=Y,this}}var ie={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"enum",default:"mercator",values:{mercator:{},globe:{}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};let ce=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function xe(q,D){let Y={};for(let he in q)he!=="ref"&&(Y[he]=q[he]);return ce.forEach(he=>{he in D&&(Y[he]=D[he])}),Y}function Te(q,D){if(Array.isArray(q)){if(!Array.isArray(D)||q.length!==D.length)return!1;for(let Y=0;Y`:q.itemType.kind==="value"?"array":`array<${D}>`}return q.kind}let je=[ot,et,Lt,Et,Bt,Rr,qt,Be(fr),gr,br,_t];function Se(q,D){if(D.kind==="error")return null;if(q.kind==="array"){if(D.kind==="array"&&(D.N===0&&D.itemType.kind==="value"||!Se(q.itemType,D.itemType))&&(typeof q.N!="number"||q.N===D.N))return null}else{if(q.kind===D.kind)return null;if(q.kind==="value"){for(let Y of je)if(!Se(Y,D))return null}}return`Expected ${Ke(q)} but found ${Ke(D)} instead.`}function He(q,D){return D.some(Y=>Y.kind===q.kind)}function Ee(q,D){return D.some(Y=>Y==="null"?q===null:Y==="array"?Array.isArray(q):Y==="object"?q&&!Array.isArray(q)&&typeof q=="object":Y===typeof q)}function we(q,D){return q.kind==="array"&&D.kind==="array"?q.itemType.kind===D.itemType.kind&&typeof q.N=="number":q.kind===D.kind}let Le=.96422,nt=.82521,pt=4/29,bt=6/29,Rt=3*bt*bt,Nt=bt*bt*bt,Xt=Math.PI/180,$t=180/Math.PI;function ur(q){return(q%=360)<0&&(q+=360),q}function pn([q,D,Y,he]){let Ce,Ve,Xe=Nn((.2225045*(q=Rn(q))+.7168786*(D=Rn(D))+.0606169*(Y=Rn(Y)))/1);q===D&&D===Y?Ce=Ve=Xe:(Ce=Nn((.4360747*q+.3850649*D+.1430804*Y)/Le),Ve=Nn((.0139322*q+.0971045*D+.7141733*Y)/nt));let ct=116*Xe-16;return[ct<0?0:ct,500*(Ce-Xe),200*(Xe-Ve),he]}function Rn(q){return q<=.04045?q/12.92:Math.pow((q+.055)/1.055,2.4)}function Nn(q){return q>Nt?Math.pow(q,1/3):q/Rt+pt}function On([q,D,Y,he]){let Ce=(q+16)/116,Ve=isNaN(D)?Ce:Ce+D/500,Xe=isNaN(Y)?Ce:Ce-Y/200;return Ce=1*zn(Ce),Ve=Le*zn(Ve),Xe=nt*zn(Xe),[ni(3.1338561*Ve-1.6168667*Ce-.4906146*Xe),ni(-.9787684*Ve+1.9161415*Ce+.033454*Xe),ni(.0719453*Ve-.2289914*Ce+1.4052427*Xe),he]}function ni(q){return(q=q<=.00304?12.92*q:1.055*Math.pow(q,1/2.4)-.055)<0?0:q>1?1:q}function zn(q){return q>bt?q*q*q:Rt*(q-pt)}function Qn(q){return parseInt(q.padEnd(2,q),16)/255}function gi(q,D){return Zt(D?q/100:q,0,1)}function Zt(q,D,Y){return Math.min(Math.max(D,q),Y)}function Ft(q){return!q.some(Number.isNaN)}let Ht={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]};class Vt{constructor(D,Y,he,Ce=1,Ve=!0){this.r=D,this.g=Y,this.b=he,this.a=Ce,Ve||(this.r*=Ce,this.g*=Ce,this.b*=Ce,Ce||this.overwriteGetter("rgb",[D,Y,he,Ce]))}static parse(D){if(D instanceof Vt)return D;if(typeof D!="string")return;let Y=function(he){if((he=he.toLowerCase().trim())==="transparent")return[0,0,0,0];let Ce=Ht[he];if(Ce){let[Xe,ct,At]=Ce;return[Xe/255,ct/255,At/255,1]}if(he.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(he)){let Xe=he.length<6?1:2,ct=1;return[Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+Xe)||"ff")]}if(he.startsWith("rgb")){let Xe=he.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(Xe){let[ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri]=Xe,fi=[er||" ",Nr||" ",Gn].join("");if(fi===" "||fi===" /"||fi===",,"||fi===",,,"){let Si=[Ot,Sr,mn].join(""),Gi=Si==="%%%"?100:Si===""?255:0;if(Gi){let Ha=[Zt(+At/Gi,0,1),Zt(+cr/Gi,0,1),Zt(+rn/Gi,0,1),ei?gi(+ei,Ri):1];if(Ft(Ha))return Ha}}return}}let Ve=he.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(Ve){let[Xe,ct,At,Ot,er,cr,Sr,Nr,rn]=Ve,mn=[At||" ",er||" ",Sr].join("");if(mn===" "||mn===" /"||mn===",,"||mn===",,,"){let Gn=[+ct,Zt(+Ot,0,100),Zt(+cr,0,100),Nr?gi(+Nr,rn):1];if(Ft(Gn))return function([ei,Ri,fi,Si]){function Gi(Ha){let Po=(Ha+ei/30)%12,xs=Ri*Math.min(fi,1-fi);return fi-xs*Math.max(-1,Math.min(Po-3,9-Po,1))}return ei=ur(ei),Ri/=100,fi/=100,[Gi(0),Gi(8),Gi(4),Si]}(Gn)}}}(D);return Y?new Vt(...Y,!1):void 0}get rgb(){let{r:D,g:Y,b:he,a:Ce}=this,Ve=Ce||1/0;return this.overwriteGetter("rgb",[D/Ve,Y/Ve,he/Ve,Ce])}get hcl(){return this.overwriteGetter("hcl",function(D){let[Y,he,Ce,Ve]=pn(D),Xe=Math.sqrt(he*he+Ce*Ce);return[Math.round(1e4*Xe)?ur(Math.atan2(Ce,he)*$t):NaN,Xe,Y,Ve]}(this.rgb))}get lab(){return this.overwriteGetter("lab",pn(this.rgb))}overwriteGetter(D,Y){return Object.defineProperty(this,D,{value:Y}),Y}toString(){let[D,Y,he,Ce]=this.rgb;return`rgba(${[D,Y,he].map(Ve=>Math.round(255*Ve)).join(",")},${Ce})`}}Vt.black=new Vt(0,0,0,1),Vt.white=new Vt(1,1,1,1),Vt.transparent=new Vt(0,0,0,0),Vt.red=new Vt(1,0,0,1);class wr{constructor(D,Y,he){this.sensitivity=D?Y?"variant":"case":Y?"accent":"base",this.locale=he,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(D,Y){return this.collator.compare(D,Y)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class $r{constructor(D,Y,he,Ce,Ve){this.text=D,this.image=Y,this.scale=he,this.fontStack=Ce,this.textColor=Ve}}class xn{constructor(D){this.sections=D}static fromString(D){return new xn([new $r(D,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(D=>D.text.length!==0||D.image&&D.image.name.length!==0)}static factory(D){return D instanceof xn?D:xn.fromString(D)}toString(){return this.sections.length===0?"":this.sections.map(D=>D.text).join("")}}class en{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof en)return D;if(typeof D=="number")return new en([D,D,D,D]);if(Array.isArray(D)&&!(D.length<1||D.length>4)){for(let Y of D)if(typeof Y!="number")return;switch(D.length){case 1:D=[D[0],D[0],D[0],D[0]];break;case 2:D=[D[0],D[1],D[0],D[1]];break;case 3:D=[D[0],D[1],D[2],D[1]]}return new en(D)}}toString(){return JSON.stringify(this.values)}}let Fn=new Set(["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"]);class Wn{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof Wn)return D;if(Array.isArray(D)&&!(D.length<1)&&D.length%2==0){for(let Y=0;Y=0&&q<=255&&typeof D=="number"&&D>=0&&D<=255&&typeof Y=="number"&&Y>=0&&Y<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:`Invalid rgba value [${[q,D,Y,he].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof he=="number"?[q,D,Y,he]:[q,D,Y]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ui(q){if(q===null||typeof q=="string"||typeof q=="boolean"||typeof q=="number"||q instanceof Vt||q instanceof wr||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri)return!0;if(Array.isArray(q)){for(let D of q)if(!ui(D))return!1;return!0}if(typeof q=="object"){for(let D in q)if(!ui(q[D]))return!1;return!0}return!1}function gt(q){if(q===null)return ot;if(typeof q=="string")return Lt;if(typeof q=="boolean")return Et;if(typeof q=="number")return et;if(q instanceof Vt)return Bt;if(q instanceof wr)return ar;if(q instanceof xn)return Rr;if(q instanceof en)return gr;if(q instanceof Wn)return _t;if(q instanceof ri)return br;if(Array.isArray(q)){let D=q.length,Y;for(let he of q){let Ce=gt(he);if(Y){if(Y===Ce)continue;Y=fr;break}Y=Ce}return Be(Y||fr,D)}return qt}function yt(q){let D=typeof q;return q===null?"":D==="string"||D==="number"||D==="boolean"?String(q):q instanceof Vt||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri?q.toString():JSON.stringify(q)}class Pr{constructor(D,Y){this.type=D,this.value=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'literal' expression requires exactly one argument, but found ${D.length-1} instead.`);if(!ui(D[1]))return Y.error("invalid value");let he=D[1],Ce=gt(he),Ve=Y.expectedType;return Ce.kind!=="array"||Ce.N!==0||!Ve||Ve.kind!=="array"||typeof Ve.N=="number"&&Ve.N!==0||(Ce=Ve),new Pr(Ce,he)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Ir{constructor(D){this.name="ExpressionEvaluationError",this.message=D}toJSON(){return this.message}}let Tr={string:Lt,number:et,boolean:Et,object:qt};class Mr{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he,Ce=1,Ve=D[0];if(Ve==="array"){let ct,At;if(D.length>2){let Ot=D[1];if(typeof Ot!="string"||!(Ot in Tr)||Ot==="object")return Y.error('The item type argument of "array" must be one of string, number, boolean',1);ct=Tr[Ot],Ce++}else ct=fr;if(D.length>3){if(D[2]!==null&&(typeof D[2]!="number"||D[2]<0||D[2]!==Math.floor(D[2])))return Y.error('The length argument to "array" must be a positive integer literal',2);At=D[2],Ce++}he=Be(ct,At)}else{if(!Tr[Ve])throw new Error(`Types doesn't contain name = ${Ve}`);he=Tr[Ve]}let Xe=[];for(;CeD.outputDefined())}}let Lr={"to-boolean":Et,"to-color":Bt,"to-number":et,"to-string":Lt};class Ur{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he=D[0];if(!Lr[he])throw new Error(`Can't parse ${he} as it is not part of the known types`);if((he==="to-boolean"||he==="to-string")&&D.length!==2)return Y.error("Expected one argument.");let Ce=Lr[he],Ve=[];for(let Xe=1;Xe4?`Invalid rbga value ${JSON.stringify(Y)}: expected an array containing either three or four numeric values.`:Sn(Y[0],Y[1],Y[2],Y[3]),!he))return new Vt(Y[0]/255,Y[1]/255,Y[2]/255,Y[3])}throw new Ir(he||`Could not parse color from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"padding":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=en.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse padding from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"variableAnchorOffsetCollection":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=Wn.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse variableAnchorOffsetCollection from value '${typeof Y=="string"?Y:JSON.stringify(Y)}'`)}case"number":{let Y=null;for(let he of this.args){if(Y=he.evaluate(D),Y===null)return 0;let Ce=Number(Y);if(!isNaN(Ce))return Ce}throw new Ir(`Could not convert ${JSON.stringify(Y)} to number.`)}case"formatted":return xn.fromString(yt(this.args[0].evaluate(D)));case"resolvedImage":return ri.fromString(yt(this.args[0].evaluate(D)));default:return yt(this.args[0].evaluate(D))}}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}let Dr=["Unknown","Point","LineString","Polygon"];class nn{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?Dr[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(D){let Y=this._parseColorCache[D];return Y||(Y=this._parseColorCache[D]=Vt.parse(D)),Y}}class vn{constructor(D,Y,he=[],Ce,Ve=new rt,Xe=[]){this.registry=D,this.path=he,this.key=he.map(ct=>`[${ct}]`).join(""),this.scope=Ve,this.errors=Xe,this.expectedType=Ce,this._isConstant=Y}parse(D,Y,he,Ce,Ve={}){return Y?this.concat(Y,he,Ce)._parse(D,Ve):this._parse(D,Ve)}_parse(D,Y){function he(Ce,Ve,Xe){return Xe==="assert"?new Mr(Ve,[Ce]):Xe==="coerce"?new Ur(Ve,[Ce]):Ce}if(D!==null&&typeof D!="string"&&typeof D!="boolean"&&typeof D!="number"||(D=["literal",D]),Array.isArray(D)){if(D.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');let Ce=D[0];if(typeof Ce!="string")return this.error(`Expression name must be a string, but found ${typeof Ce} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;let Ve=this.registry[Ce];if(Ve){let Xe=Ve.parse(D,this);if(!Xe)return null;if(this.expectedType){let ct=this.expectedType,At=Xe.type;if(ct.kind!=="string"&&ct.kind!=="number"&&ct.kind!=="boolean"&&ct.kind!=="object"&&ct.kind!=="array"||At.kind!=="value")if(ct.kind!=="color"&&ct.kind!=="formatted"&&ct.kind!=="resolvedImage"||At.kind!=="value"&&At.kind!=="string")if(ct.kind!=="padding"||At.kind!=="value"&&At.kind!=="number"&&At.kind!=="array")if(ct.kind!=="variableAnchorOffsetCollection"||At.kind!=="value"&&At.kind!=="array"){if(this.checkSubtype(ct,At))return null}else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"coerce");else Xe=he(Xe,ct,Y.typeAnnotation||"assert")}if(!(Xe instanceof Pr)&&Xe.type.kind!=="resolvedImage"&&this._isConstant(Xe)){let ct=new nn;try{Xe=new Pr(Xe.type,Xe.evaluate(ct))}catch(At){return this.error(At.message),null}}return Xe}return this.error(`Unknown expression "${Ce}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(D===void 0?"'undefined' value invalid. Use null instead.":typeof D=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof D} instead.`)}concat(D,Y,he){let Ce=typeof D=="number"?this.path.concat(D):this.path,Ve=he?this.scope.concat(he):this.scope;return new vn(this.registry,this._isConstant,Ce,Y||null,Ve,this.errors)}error(D,...Y){let he=`${this.key}${Y.map(Ce=>`[${Ce}]`).join("")}`;this.errors.push(new Oe(he,D))}checkSubtype(D,Y){let he=Se(D,Y);return he&&this.error(he),he}}class gn{constructor(D,Y){this.type=Y.type,this.bindings=[].concat(D),this.result=Y}evaluate(D){return this.result.evaluate(D)}eachChild(D){for(let Y of this.bindings)D(Y[1]);D(this.result)}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found ${D.length-1} instead.`);let he=[];for(let Ve=1;Ve=he.length)throw new Ir(`Array index out of bounds: ${Y} > ${he.length-1}.`);if(Y!==Math.floor(Y))throw new Ir(`Array index must be an integer, but found ${Y} instead.`);return he[Y]}eachChild(D){D(this.index),D(this.input)}outputDefined(){return!1}}class yr{constructor(D,Y){this.type=Et,this.needle=D,this.haystack=Y}static parse(D,Y){if(D.length!==3)return Y.error(`Expected 2 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);return he&&Ce?He(he.type,[Et,Lt,et,ot,fr])?new yr(he,Ce):Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`):null}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!he)return!1;if(!Ee(Y,["boolean","string","number","null"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);if(!Ee(he,["string","array"]))throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`);return he.indexOf(Y)>=0}eachChild(D){D(this.needle),D(this.haystack)}outputDefined(){return!0}}class on{constructor(D,Y,he){this.type=et,this.needle=D,this.haystack=Y,this.fromIndex=he}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);if(!he||!Ce)return null;if(!He(he.type,[Et,Lt,et,ot,fr]))return Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new on(he,Ce,Ve):null}return new on(he,Ce)}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!Ee(Y,["boolean","string","number","null"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);let Ce;if(this.fromIndex&&(Ce=this.fromIndex.evaluate(D)),Ee(he,["string"])){let Ve=he.indexOf(Y,Ce);return Ve===-1?-1:[...he.slice(0,Ve)].length}if(Ee(he,["array"]))return he.indexOf(Y,Ce);throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`)}eachChild(D){D(this.needle),D(this.haystack),this.fromIndex&&D(this.fromIndex)}outputDefined(){return!1}}class An{constructor(D,Y,he,Ce,Ve,Xe){this.inputType=D,this.type=Y,this.input=he,this.cases=Ce,this.outputs=Ve,this.otherwise=Xe}static parse(D,Y){if(D.length<5)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if(D.length%2!=1)return Y.error("Expected an even number of arguments.");let he,Ce;Y.expectedType&&Y.expectedType.kind!=="value"&&(Ce=Y.expectedType);let Ve={},Xe=[];for(let Ot=2;OtNumber.MAX_SAFE_INTEGER)return Sr.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof rn=="number"&&Math.floor(rn)!==rn)return Sr.error("Numeric branch labels must be integer values.");if(he){if(Sr.checkSubtype(he,gt(rn)))return null}else he=gt(rn);if(Ve[String(rn)]!==void 0)return Sr.error("Branch labels must be unique.");Ve[String(rn)]=Xe.length}let Nr=Y.parse(cr,Ot,Ce);if(!Nr)return null;Ce=Ce||Nr.type,Xe.push(Nr)}let ct=Y.parse(D[1],1,fr);if(!ct)return null;let At=Y.parse(D[D.length-1],D.length-1,Ce);return At?ct.type.kind!=="value"&&Y.concat(1).checkSubtype(he,ct.type)?null:new An(he,Ce,ct,Ve,Xe,At):null}evaluate(D){let Y=this.input.evaluate(D);return(gt(Y)===this.inputType&&this.outputs[this.cases[Y]]||this.otherwise).evaluate(D)}eachChild(D){D(this.input),this.outputs.forEach(D),D(this.otherwise)}outputDefined(){return this.outputs.every(D=>D.outputDefined())&&this.otherwise.outputDefined()}}class Zn{constructor(D,Y,he){this.type=D,this.branches=Y,this.otherwise=he}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found only ${D.length-1}.`);if(D.length%2!=0)return Y.error("Expected an odd number of arguments.");let he;Y.expectedType&&Y.expectedType.kind!=="value"&&(he=Y.expectedType);let Ce=[];for(let Xe=1;XeY.outputDefined())&&this.otherwise.outputDefined()}}class Bn{constructor(D,Y,he,Ce){this.type=D,this.input=Y,this.beginIndex=he,this.endIndex=Ce}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,et);if(!he||!Ce)return null;if(!He(he.type,[Be(fr),Lt,fr]))return Y.error(`Expected first argument to be of type array or string, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new Bn(he.type,he,Ce,Ve):null}return new Bn(he.type,he,Ce)}evaluate(D){let Y=this.input.evaluate(D),he=this.beginIndex.evaluate(D),Ce;if(this.endIndex&&(Ce=this.endIndex.evaluate(D)),Ee(Y,["string"]))return[...Y].slice(he,Ce).join("");if(Ee(Y,["array"]))return Y.slice(he,Ce);throw new Ir(`Expected first argument to be of type array or string, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input),D(this.beginIndex),this.endIndex&&D(this.endIndex)}outputDefined(){return!1}}function wn(q,D){let Y=q.length-1,he,Ce,Ve=0,Xe=Y,ct=0;for(;Ve<=Xe;)if(ct=Math.floor((Ve+Xe)/2),he=q[ct],Ce=q[ct+1],he<=D){if(ct===Y||DD))throw new Ir("Input is not a number.");Xe=ct-1}return 0}class Dn{constructor(D,Y,he){this.type=D,this.input=Y,this.labels=[],this.outputs=[];for(let[Ce,Ve]of he)this.labels.push(Ce),this.outputs.push(Ve)}static parse(D,Y){if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error("Expected an even number of arguments.");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=[],Ve=null;Y.expectedType&&Y.expectedType.kind!=="value"&&(Ve=Y.expectedType);for(let Xe=1;Xe=ct)return Y.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Ot);let cr=Y.parse(At,er,Ve);if(!cr)return null;Ve=Ve||cr.type,Ce.push([ct,cr])}return new Dn(Ve,he,Ce)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;return Ce>=Y[Ve-1]?he[Ve-1].evaluate(D):he[wn(Y,Ce)].evaluate(D)}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Ui(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q}var pi=Ta;function Ta(q,D,Y,he){this.cx=3*q,this.bx=3*(Y-q)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*D,this.by=3*(he-D)-this.cy,this.ay=1-this.cy-this.by,this.p1x=q,this.p1y=D,this.p2x=Y,this.p2y=he}Ta.prototype={sampleCurveX:function(q){return((this.ax*q+this.bx)*q+this.cx)*q},sampleCurveY:function(q){return((this.ay*q+this.by)*q+this.cy)*q},sampleCurveDerivativeX:function(q){return(3*this.ax*q+2*this.bx)*q+this.cx},solveCurveX:function(q,D){if(D===void 0&&(D=1e-6),q<0)return 0;if(q>1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var Sa=Ui(pi);function qa(q,D,Y){return q+Y*(D-q)}function to(q,D,Y){return q.map((he,Ce)=>qa(he,D[Ce],Y))}let yo={number:qa,color:function(q,D,Y,he="rgb"){switch(he){case"rgb":{let[Ce,Ve,Xe,ct]=to(q.rgb,D.rgb,Y);return new Vt(Ce,Ve,Xe,ct,!1)}case"hcl":{let[Ce,Ve,Xe,ct]=q.hcl,[At,Ot,er,cr]=D.hcl,Sr,Nr;if(isNaN(Ce)||isNaN(At))isNaN(Ce)?isNaN(At)?Sr=NaN:(Sr=At,Xe!==1&&Xe!==0||(Nr=Ot)):(Sr=Ce,er!==1&&er!==0||(Nr=Ve));else{let Ri=At-Ce;At>Ce&&Ri>180?Ri-=360:At180&&(Ri+=360),Sr=Ce+Y*Ri}let[rn,mn,Gn,ei]=function([Ri,fi,Si,Gi]){return Ri=isNaN(Ri)?0:Ri*Xt,On([Si,Math.cos(Ri)*fi,Math.sin(Ri)*fi,Gi])}([Sr,Nr??qa(Ve,Ot,Y),qa(Xe,er,Y),qa(ct,cr,Y)]);return new Vt(rn,mn,Gn,ei,!1)}case"lab":{let[Ce,Ve,Xe,ct]=On(to(q.lab,D.lab,Y));return new Vt(Ce,Ve,Xe,ct,!1)}}},array:to,padding:function(q,D,Y){return new en(to(q.values,D.values,Y))},variableAnchorOffsetCollection:function(q,D,Y){let he=q.values,Ce=D.values;if(he.length!==Ce.length)throw new Ir(`Cannot interpolate values of different length. from: ${q.toString()}, to: ${D.toString()}`);let Ve=[];for(let Xe=0;Xetypeof er!="number"||er<0||er>1))return Y.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);Ce={name:"cubic-bezier",controlPoints:Ot}}}if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error("Expected an even number of arguments.");if(Ve=Y.parse(Ve,2,et),!Ve)return null;let ct=[],At=null;he==="interpolate-hcl"||he==="interpolate-lab"?At=Bt:Y.expectedType&&Y.expectedType.kind!=="value"&&(At=Y.expectedType);for(let Ot=0;Ot=er)return Y.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Sr);let rn=Y.parse(cr,Nr,At);if(!rn)return null;At=At||rn.type,ct.push([er,rn])}return we(At,et)||we(At,Bt)||we(At,gr)||we(At,_t)||we(At,Be(et))?new Xa(At,he,Ce,Ve,ct):Y.error(`Type ${Ke(At)} is not interpolatable.`)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;if(Ce>=Y[Ve-1])return he[Ve-1].evaluate(D);let Xe=wn(Y,Ce),ct=Xa.interpolationFactor(this.interpolation,Ce,Y[Xe],Y[Xe+1]),At=he[Xe].evaluate(D),Ot=he[Xe+1].evaluate(D);switch(this.operator){case"interpolate":return yo[this.type.kind](At,Ot,ct);case"interpolate-hcl":return yo.color(At,Ot,ct,"hcl");case"interpolate-lab":return yo.color(At,Ot,ct,"lab")}}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Go(q,D,Y,he){let Ce=he-Y,Ve=q-Y;return Ce===0?0:D===1?Ve/Ce:(Math.pow(D,Ve)-1)/(Math.pow(D,Ce)-1)}class pa{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error("Expectected at least one argument.");let he=null,Ce=Y.expectedType;Ce&&Ce.kind!=="value"&&(he=Ce);let Ve=[];for(let ct of D.slice(1)){let At=Y.parse(ct,1+Ve.length,he,void 0,{typeAnnotation:"omit"});if(!At)return null;he=he||At.type,Ve.push(At)}if(!he)throw new Error("No output type");let Xe=Ce&&Ve.some(ct=>Se(Ce,ct.type));return new pa(Xe?fr:he,Ve)}evaluate(D){let Y,he=null,Ce=0;for(let Ve of this.args)if(Ce++,he=Ve.evaluate(D),he&&he instanceof ri&&!he.available&&(Y||(Y=he.name),he=null,Ce===this.args.length&&(he=Y)),he!==null)break;return he}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}function cs(q,D){return q==="=="||q==="!="?D.kind==="boolean"||D.kind==="string"||D.kind==="number"||D.kind==="null"||D.kind==="value":D.kind==="string"||D.kind==="number"||D.kind==="value"}function Ko(q,D,Y,he){return he.compare(D,Y)===0}function gs(q,D,Y){let he=q!=="=="&&q!=="!=";return class GS{constructor(Ve,Xe,ct){this.type=Et,this.lhs=Ve,this.rhs=Xe,this.collator=ct,this.hasUntypedArgument=Ve.type.kind==="value"||Xe.type.kind==="value"}static parse(Ve,Xe){if(Ve.length!==3&&Ve.length!==4)return Xe.error("Expected two or three arguments.");let ct=Ve[0],At=Xe.parse(Ve[1],1,fr);if(!At)return null;if(!cs(ct,At.type))return Xe.concat(1).error(`"${ct}" comparisons are not supported for type '${Ke(At.type)}'.`);let Ot=Xe.parse(Ve[2],2,fr);if(!Ot)return null;if(!cs(ct,Ot.type))return Xe.concat(2).error(`"${ct}" comparisons are not supported for type '${Ke(Ot.type)}'.`);if(At.type.kind!==Ot.type.kind&&At.type.kind!=="value"&&Ot.type.kind!=="value")return Xe.error(`Cannot compare types '${Ke(At.type)}' and '${Ke(Ot.type)}'.`);he&&(At.type.kind==="value"&&Ot.type.kind!=="value"?At=new Mr(Ot.type,[At]):At.type.kind!=="value"&&Ot.type.kind==="value"&&(Ot=new Mr(At.type,[Ot])));let er=null;if(Ve.length===4){if(At.type.kind!=="string"&&Ot.type.kind!=="string"&&At.type.kind!=="value"&&Ot.type.kind!=="value")return Xe.error("Cannot use collator to compare non-string types.");if(er=Xe.parse(Ve[3],3,ar),!er)return null}return new GS(At,Ot,er)}evaluate(Ve){let Xe=this.lhs.evaluate(Ve),ct=this.rhs.evaluate(Ve);if(he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==Ot.kind||At.kind!=="string"&&At.kind!=="number")throw new Ir(`Expected arguments for "${q}" to be (string, string) or (number, number), but found (${At.kind}, ${Ot.kind}) instead.`)}if(this.collator&&!he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!=="string"||Ot.kind!=="string")return D(Ve,Xe,ct)}return this.collator?Y(Ve,Xe,ct,this.collator.evaluate(Ve)):D(Ve,Xe,ct)}eachChild(Ve){Ve(this.lhs),Ve(this.rhs),this.collator&&Ve(this.collator)}outputDefined(){return!0}}}let Ya=gs("==",function(q,D,Y){return D===Y},Ko),zo=gs("!=",function(q,D,Y){return D!==Y},function(q,D,Y,he){return!Ko(0,D,Y,he)}),Ka=gs("<",function(q,D,Y){return D",function(q,D,Y){return D>Y},function(q,D,Y,he){return he.compare(D,Y)>0}),ns=gs("<=",function(q,D,Y){return D<=Y},function(q,D,Y,he){return he.compare(D,Y)<=0}),hs=gs(">=",function(q,D,Y){return D>=Y},function(q,D,Y,he){return he.compare(D,Y)>=0});class ho{constructor(D,Y,he){this.type=ar,this.locale=he,this.caseSensitive=D,this.diacriticSensitive=Y}static parse(D,Y){if(D.length!==2)return Y.error("Expected one argument.");let he=D[1];if(typeof he!="object"||Array.isArray(he))return Y.error("Collator options argument must be an object.");let Ce=Y.parse(he["case-sensitive"]!==void 0&&he["case-sensitive"],1,Et);if(!Ce)return null;let Ve=Y.parse(he["diacritic-sensitive"]!==void 0&&he["diacritic-sensitive"],1,Et);if(!Ve)return null;let Xe=null;return he.locale&&(Xe=Y.parse(he.locale,1,Lt),!Xe)?null:new ho(Ce,Ve,Xe)}evaluate(D){return new wr(this.caseSensitive.evaluate(D),this.diacriticSensitive.evaluate(D),this.locale?this.locale.evaluate(D):null)}eachChild(D){D(this.caseSensitive),D(this.diacriticSensitive),this.locale&&D(this.locale)}outputDefined(){return!1}}class Ro{constructor(D,Y,he,Ce,Ve){this.type=Lt,this.number=D,this.locale=Y,this.currency=he,this.minFractionDigits=Ce,this.maxFractionDigits=Ve}static parse(D,Y){if(D.length!==3)return Y.error("Expected two arguments.");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=D[2];if(typeof Ce!="object"||Array.isArray(Ce))return Y.error("NumberFormat options argument must be an object.");let Ve=null;if(Ce.locale&&(Ve=Y.parse(Ce.locale,1,Lt),!Ve))return null;let Xe=null;if(Ce.currency&&(Xe=Y.parse(Ce.currency,1,Lt),!Xe))return null;let ct=null;if(Ce["min-fraction-digits"]&&(ct=Y.parse(Ce["min-fraction-digits"],1,et),!ct))return null;let At=null;return Ce["max-fraction-digits"]&&(At=Y.parse(Ce["max-fraction-digits"],1,et),!At)?null:new Ro(he,Ve,Xe,ct,At)}evaluate(D){return new Intl.NumberFormat(this.locale?this.locale.evaluate(D):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(D):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(D):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(D):void 0}).format(this.number.evaluate(D))}eachChild(D){D(this.number),this.locale&&D(this.locale),this.currency&&D(this.currency),this.minFractionDigits&&D(this.minFractionDigits),this.maxFractionDigits&&D(this.maxFractionDigits)}outputDefined(){return!1}}class Ls{constructor(D){this.type=Rr,this.sections=D}static parse(D,Y){if(D.length<2)return Y.error("Expected at least one argument.");let he=D[1];if(!Array.isArray(he)&&typeof he=="object")return Y.error("First argument must be an image or text section.");let Ce=[],Ve=!1;for(let Xe=1;Xe<=D.length-1;++Xe){let ct=D[Xe];if(Ve&&typeof ct=="object"&&!Array.isArray(ct)){Ve=!1;let At=null;if(ct["font-scale"]&&(At=Y.parse(ct["font-scale"],1,et),!At))return null;let Ot=null;if(ct["text-font"]&&(Ot=Y.parse(ct["text-font"],1,Be(Lt)),!Ot))return null;let er=null;if(ct["text-color"]&&(er=Y.parse(ct["text-color"],1,Bt),!er))return null;let cr=Ce[Ce.length-1];cr.scale=At,cr.font=Ot,cr.textColor=er}else{let At=Y.parse(D[Xe],1,fr);if(!At)return null;let Ot=At.type.kind;if(Ot!=="string"&&Ot!=="value"&&Ot!=="null"&&Ot!=="resolvedImage")return Y.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ve=!0,Ce.push({content:At,scale:null,font:null,textColor:null})}}return new Ls(Ce)}evaluate(D){return new xn(this.sections.map(Y=>{let he=Y.content.evaluate(D);return gt(he)===br?new $r("",he,null,null,null):new $r(yt(he),null,Y.scale?Y.scale.evaluate(D):null,Y.font?Y.font.evaluate(D).join(","):null,Y.textColor?Y.textColor.evaluate(D):null)}))}eachChild(D){for(let Y of this.sections)D(Y.content),Y.scale&&D(Y.scale),Y.font&&D(Y.font),Y.textColor&&D(Y.textColor)}outputDefined(){return!1}}class Vs{constructor(D){this.type=br,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error("Expected two arguments.");let he=Y.parse(D[1],1,Lt);return he?new Vs(he):Y.error("No image name provided.")}evaluate(D){let Y=this.input.evaluate(D),he=ri.fromString(Y);return he&&D.availableImages&&(he.available=D.availableImages.indexOf(Y)>-1),he}eachChild(D){D(this.input)}outputDefined(){return!1}}class Ws{constructor(D){this.type=et,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(`Expected 1 argument, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1);return he?he.type.kind!=="array"&&he.type.kind!=="string"&&he.type.kind!=="value"?Y.error(`Expected argument of type string or array, but found ${Ke(he.type)} instead.`):new Ws(he):null}evaluate(D){let Y=this.input.evaluate(D);if(typeof Y=="string")return[...Y].length;if(Array.isArray(Y))return Y.length;throw new Ir(`Expected value to be of type string or array, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input)}outputDefined(){return!1}}let fs=8192;function Mi(q,D){let Y=(180+q[0])/360,he=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q[1]*Math.PI/360)))/360,Ce=Math.pow(2,D.z);return[Math.round(Y*Ce*fs),Math.round(he*Ce*fs)]}function Da(q,D){let Y=Math.pow(2,D.z);return[(Ce=(q[0]/fs+D.x)/Y,360*Ce-180),(he=(q[1]/fs+D.y)/Y,360/Math.PI*Math.atan(Math.exp((180-360*he)*Math.PI/180))-90)];var he,Ce}function pl(q,D){q[0]=Math.min(q[0],D[0]),q[1]=Math.min(q[1],D[1]),q[2]=Math.max(q[2],D[0]),q[3]=Math.max(q[3],D[1])}function Xs(q,D){return!(q[0]<=D[0]||q[2]>=D[2]||q[1]<=D[1]||q[3]>=D[3])}function Eo(q,D,Y){let he=q[0]-D[0],Ce=q[1]-D[1],Ve=q[0]-Y[0],Xe=q[1]-Y[1];return he*Xe-Ve*Ce==0&&he*Ve<=0&&Ce*Xe<=0}function Ys(q,D,Y,he){return(Ce=[he[0]-Y[0],he[1]-Y[1]])[0]*(Ve=[D[0]-q[0],D[1]-q[1]])[1]-Ce[1]*Ve[0]!=0&&!(!vo(q,D,Y,he)||!vo(Y,he,q,D));var Ce,Ve}function As(q,D,Y){for(let he of Y)for(let Ce=0;Ce(Ce=q)[1]!=(Xe=ct[At+1])[1]>Ce[1]&&Ce[0]<(Xe[0]-Ve[0])*(Ce[1]-Ve[1])/(Xe[1]-Ve[1])+Ve[0]&&(he=!he)}var Ce,Ve,Xe;return he}function wl(q,D){for(let Y of D)if(hl(q,Y))return!0;return!1}function la(q,D){for(let Y of q)if(!hl(Y,D))return!1;for(let Y=0;Y0&&ct<0||Xe<0&&ct>0}function Ps(q,D,Y){let he=[];for(let Ce=0;CeY[2]){let Ce=.5*he,Ve=q[0]-Y[0]>Ce?-he:Y[0]-q[0]>Ce?he:0;Ve===0&&(Ve=q[0]-Y[2]>Ce?-he:Y[2]-q[0]>Ce?he:0),q[0]+=Ve}pl(D,q)}function $l(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let ct of q)for(let At of ct){let Ot=[At.x+Ve[0],At.y+Ve[1]];no(Ot,D,Y,Ce),Xe.push(Ot)}return Xe}function Ku(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let At of q){let Ot=[];for(let er of At){let cr=[er.x+Ve[0],er.y+Ve[1]];pl(D,cr),Ot.push(cr)}Xe.push(Ot)}if(D[2]-D[0]<=Ce/2){(ct=D)[0]=ct[1]=1/0,ct[2]=ct[3]=-1/0;for(let At of Xe)for(let Ot of At)no(Ot,D,Y,Ce)}var ct;return Xe}class Tl{constructor(D,Y){this.type=Et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'within' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type==="FeatureCollection"){let Ce=[];for(let Ve of he.features){let{type:Xe,coordinates:ct}=Ve.geometry;Xe==="Polygon"&&Ce.push(ct),Xe==="MultiPolygon"&&Ce.push(...ct)}if(Ce.length)return new Tl(he,{type:"MultiPolygon",coordinates:Ce})}else if(he.type==="Feature"){let Ce=he.geometry.type;if(Ce==="Polygon"||Ce==="MultiPolygon")return new Tl(he,he.geometry)}else if(he.type==="Polygon"||he.type==="MultiPolygon")return new Tl(he,he)}return Y.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()==="Point")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type==="Polygon"){let ct=Ps(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!hl(Ot,ct))return!1}if(he.type==="MultiPolygon"){let ct=ls(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!wl(Ot,ct))return!1}return!0}(D,this.geometries);if(D.geometryType()==="LineString")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type==="Polygon"){let ct=Ps(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!la(Ot,ct))return!1}if(he.type==="MultiPolygon"){let ct=ls(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!Uo(Ot,ct))return!1}return!0}(D,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let Vu=class{constructor(q=[],D=(Y,he)=>Yhe?1:0){if(this.data=q,this.length=this.data.length,this.compare=D,this.length>0)for(let Y=(this.length>>1)-1;Y>=0;Y--)this._down(Y)}push(q){this.data.push(q),this._up(this.length++)}pop(){if(this.length===0)return;let q=this.data[0],D=this.data.pop();return--this.length>0&&(this.data[0]=D,this._down(0)),q}peek(){return this.data[0]}_up(q){let{data:D,compare:Y}=this,he=D[q];for(;q>0;){let Ce=q-1>>1,Ve=D[Ce];if(Y(he,Ve)>=0)break;D[q]=Ve,q=Ce}D[q]=he}_down(q){let{data:D,compare:Y}=this,he=this.length>>1,Ce=D[q];for(;q=0)break;D[q]=D[Ve],q=Ve}D[q]=Ce}};function Rl(q,D,Y,he,Ce){Qs(q,D,Y,he||q.length-1,Ce||qu)}function Qs(q,D,Y,he,Ce){for(;he>Y;){if(he-Y>600){var Ve=he-Y+1,Xe=D-Y+1,ct=Math.log(Ve),At=.5*Math.exp(2*ct/3),Ot=.5*Math.sqrt(ct*At*(Ve-At)/Ve)*(Xe-Ve/2<0?-1:1);Qs(q,D,Math.max(Y,Math.floor(D-Xe*At/Ve+Ot)),Math.min(he,Math.floor(D+(Ve-Xe)*At/Ve+Ot)),Ce)}var er=q[D],cr=Y,Sr=he;for(nu(q,Y,D),Ce(q[he],er)>0&&nu(q,Y,he);cr0;)Sr--}Ce(q[Y],er)===0?nu(q,Y,Sr):nu(q,++Sr,he),Sr<=D&&(Y=Sr+1),D<=Sr&&(he=Sr-1)}}function nu(q,D,Y){var he=q[D];q[D]=q[Y],q[Y]=he}function qu(q,D){return qD?1:0}function kc(q,D){if(q.length<=1)return[q];let Y=[],he,Ce;for(let Ve of q){let Xe=sh(Ve);Xe!==0&&(Ve.area=Math.abs(Xe),Ce===void 0&&(Ce=Xe<0),Ce===Xe<0?(he&&Y.push(he),he=[Ve]):he.push(Ve))}if(he&&Y.push(he),D>1)for(let Ve=0;Ve1?(Ot=D[At+1][0],er=D[At+1][1]):Nr>0&&(Ot+=cr/this.kx*Nr,er+=Sr/this.ky*Nr)),cr=this.wrap(Y[0]-Ot)*this.kx,Sr=(Y[1]-er)*this.ky;let rn=cr*cr+Sr*Sr;rn180;)D-=360;return D}}function Ql(q,D){return D[0]-q[0]}function Al(q){return q[1]-q[0]+1}function oc(q,D){return q[1]>=q[0]&&q[1]q[1])return[null,null];let Y=Al(q);if(D){if(Y===2)return[q,null];let Ce=Math.floor(Y/2);return[[q[0],q[0]+Ce],[q[0]+Ce,q[1]]]}if(Y===1)return[q,null];let he=Math.floor(Y/2)-1;return[[q[0],q[0]+he],[q[0]+he+1,q[1]]]}function nl(q,D){if(!oc(D,q.length))return[1/0,1/0,-1/0,-1/0];let Y=[1/0,1/0,-1/0,-1/0];for(let he=D[0];he<=D[1];++he)pl(Y,q[he]);return Y}function Ml(q){let D=[1/0,1/0,-1/0,-1/0];for(let Y of q)for(let he of Y)pl(D,he);return D}function Zs(q){return q[0]!==-1/0&&q[1]!==-1/0&&q[2]!==1/0&&q[3]!==1/0}function sl(q,D,Y){if(!Zs(q)||!Zs(D))return NaN;let he=0,Ce=0;return q[2]D[2]&&(he=q[0]-D[2]),q[1]>D[3]&&(Ce=q[1]-D[3]),q[3]=he)return he;if(Xs(Ce,Ve)){if(Sh(q,D))return 0}else if(Sh(D,q))return 0;let Xe=1/0;for(let ct of q)for(let At=0,Ot=ct.length,er=Ot-1;At0;){let At=Xe.pop();if(At[0]>=Ve)continue;let Ot=At[1],er=D?50:100;if(Al(Ot)<=er){if(!oc(Ot,q.length))return NaN;if(D){let cr=ds(q,Ot,Y,he);if(isNaN(cr)||cr===0)return cr;Ve=Math.min(Ve,cr)}else for(let cr=Ot[0];cr<=Ot[1];++cr){let Sr=Nh(q[cr],Y,he);if(Ve=Math.min(Ve,Sr),Ve===0)return 0}}else{let cr=gc(Ot,D);Vo(Xe,Ve,he,q,ct,cr[0]),Vo(Xe,Ve,he,q,ct,cr[1])}}return Ve}function pu(q,D,Y,he,Ce,Ve=1/0){let Xe=Math.min(Ve,Ce.distance(q[0],Y[0]));if(Xe===0)return Xe;let ct=new Vu([[0,[0,q.length-1],[0,Y.length-1]]],Ql);for(;ct.length>0;){let At=ct.pop();if(At[0]>=Xe)continue;let Ot=At[1],er=At[2],cr=D?50:100,Sr=he?50:100;if(Al(Ot)<=cr&&Al(er)<=Sr){if(!oc(Ot,q.length)&&oc(er,Y.length))return NaN;let Nr;if(D&&he)Nr=$u(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr);else if(D&&!he){let rn=q.slice(Ot[0],Ot[1]+1);for(let mn=er[0];mn<=er[1];++mn)if(Nr=sc(Y[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else if(!D&&he){let rn=Y.slice(er[0],er[1]+1);for(let mn=Ot[0];mn<=Ot[1];++mn)if(Nr=sc(q[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else Nr=ll(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr)}else{let Nr=gc(Ot,D),rn=gc(er,he);rf(ct,Xe,Ce,q,Y,Nr[0],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[0],rn[1]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[1])}}return Xe}function Df(q){return q.type==="MultiPolygon"?q.coordinates.map(D=>({type:"Polygon",coordinates:D})):q.type==="MultiLineString"?q.coordinates.map(D=>({type:"LineString",coordinates:D})):q.type==="MultiPoint"?q.coordinates.map(D=>({type:"Point",coordinates:D})):[q]}class Lc{constructor(D,Y){this.type=et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'distance' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type==="FeatureCollection")return new Lc(he,he.features.map(Ce=>Df(Ce.geometry)).flat());if(he.type==="Feature")return new Lc(he,Df(he.geometry));if("type"in he&&"coordinates"in he)return new Lc(he,Df(he))}return Y.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()==="Point")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case"Point":ct=Math.min(ct,pu(Ve,!1,[At.coordinates],!1,Xe,ct));break;case"LineString":ct=Math.min(ct,pu(Ve,!1,At.coordinates,!0,Xe,ct));break;case"Polygon":ct=Math.min(ct,Qu(Ve,!1,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()==="LineString")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case"Point":ct=Math.min(ct,pu(Ve,!0,[At.coordinates],!1,Xe,ct));break;case"LineString":ct=Math.min(ct,pu(Ve,!0,At.coordinates,!0,Xe,ct));break;case"Polygon":ct=Math.min(ct,Qu(Ve,!0,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()==="Polygon")return function(Y,he){let Ce=Y.geometry();if(Ce.length===0||Ce[0].length===0)return NaN;let Ve=kc(Ce,0).map(At=>At.map(Ot=>Ot.map(er=>Da([er.x,er.y],Y.canonical)))),Xe=new bf(Ve[0][0][0][1]),ct=1/0;for(let At of he)for(let Ot of Ve){switch(At.type){case"Point":ct=Math.min(ct,Qu([At.coordinates],!1,Ot,Xe,ct));break;case"LineString":ct=Math.min(ct,Qu(At.coordinates,!0,Ot,Xe,ct));break;case"Polygon":ct=Math.min(ct,Bs(Ot,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}let nf={"==":Ya,"!=":zo,">":Yo,"<":Ka,">=":hs,"<=":ns,array:Mr,at:or,boolean:Mr,case:Zn,coalesce:pa,collator:ho,format:Ls,image:Vs,in:yr,"index-of":on,interpolate:Xa,"interpolate-hcl":Xa,"interpolate-lab":Xa,length:Ws,let:gn,literal:Pr,match:An,number:Mr,"number-format":Ro,object:Mr,slice:Bn,step:Dn,string:Mr,"to-boolean":Ur,"to-color":Ur,"to-number":Ur,"to-string":Ur,var:kt,within:Tl,distance:Lc};class Vl{constructor(D,Y,he,Ce){this.name=D,this.type=Y,this._evaluate=he,this.args=Ce}evaluate(D){return this._evaluate(D,this.args)}eachChild(D){this.args.forEach(D)}outputDefined(){return!1}static parse(D,Y){let he=D[0],Ce=Vl.definitions[he];if(!Ce)return Y.error(`Unknown expression "${he}". If you wanted a literal array, use ["literal", [...]].`,0);let Ve=Array.isArray(Ce)?Ce[0]:Ce.type,Xe=Array.isArray(Ce)?[[Ce[1],Ce[2]]]:Ce.overloads,ct=Xe.filter(([Ot])=>!Array.isArray(Ot)||Ot.length===D.length-1),At=null;for(let[Ot,er]of ct){At=new vn(Y.registry,Ff,Y.path,null,Y.scope);let cr=[],Sr=!1;for(let Nr=1;Nr{return Sr=cr,Array.isArray(Sr)?`(${Sr.map(Ke).join(", ")})`:`(${Ke(Sr.type)}...)`;var Sr}).join(" | "),er=[];for(let cr=1;cr{Y=D?Y&&Ff(he):Y&&he instanceof Pr}),!!Y&&$f(q)&&Tf(q,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}function $f(q){if(q instanceof Vl&&(q.name==="get"&&q.args.length===1||q.name==="feature-state"||q.name==="has"&&q.args.length===1||q.name==="properties"||q.name==="geometry-type"||q.name==="id"||/^filter-/.test(q.name))||q instanceof Tl||q instanceof Lc)return!1;let D=!0;return q.eachChild(Y=>{D&&!$f(Y)&&(D=!1)}),D}function ec(q){if(q instanceof Vl&&q.name==="feature-state")return!1;let D=!0;return q.eachChild(Y=>{D&&!ec(Y)&&(D=!1)}),D}function Tf(q,D){if(q instanceof Vl&&D.indexOf(q.name)>=0)return!1;let Y=!0;return q.eachChild(he=>{Y&&!Tf(he,D)&&(Y=!1)}),Y}function Pc(q){return{result:"success",value:q}}function Wc(q){return{result:"error",value:q}}function Pu(q){return q["property-type"]==="data-driven"||q["property-type"]==="cross-faded-data-driven"}function cf(q){return!!q.expression&&q.expression.parameters.indexOf("zoom")>-1}function Ic(q){return!!q.expression&&q.expression.interpolated}function Ks(q){return q instanceof Number?"number":q instanceof String?"string":q instanceof Boolean?"boolean":Array.isArray(q)?"array":q===null?"null":typeof q}function Of(q){return typeof q=="object"&&q!==null&&!Array.isArray(q)}function Eh(q){return q}function Qf(q,D){let Y=D.type==="color",he=q.stops&&typeof q.stops[0][0]=="object",Ce=he||!(he||q.property!==void 0),Ve=q.type||(Ic(D)?"exponential":"interval");if(Y||D.type==="padding"){let er=Y?Vt.parse:en.parse;(q=ue({},q)).stops&&(q.stops=q.stops.map(cr=>[cr[0],er(cr[1])])),q.default=er(q.default?q.default:D.default)}if(q.colorSpace&&(Xe=q.colorSpace)!=="rgb"&&Xe!=="hcl"&&Xe!=="lab")throw new Error(`Unknown color space: "${q.colorSpace}"`);var Xe;let ct,At,Ot;if(Ve==="exponential")ct=eh;else if(Ve==="interval")ct=Iu;else if(Ve==="categorical"){ct=lh,At=Object.create(null);for(let er of q.stops)At[er[0]]=er[1];Ot=typeof q.stops[0][0]}else{if(Ve!=="identity")throw new Error(`Unknown function type "${Ve}"`);ct=su}if(he){let er={},cr=[];for(let rn=0;rnrn[0]),evaluate:({zoom:rn},mn)=>eh({stops:Sr,base:q.base},D,rn).evaluate(rn,mn)}}if(Ce){let er=Ve==="exponential"?{name:"exponential",base:q.base!==void 0?q.base:1}:null;return{kind:"camera",interpolationType:er,interpolationFactor:Xa.interpolationFactor.bind(void 0,er),zoomStops:q.stops.map(cr=>cr[0]),evaluate:({zoom:cr})=>ct(q,D,cr,At,Ot)}}return{kind:"source",evaluate(er,cr){let Sr=cr&&cr.properties?cr.properties[q.property]:void 0;return Sr===void 0?af(q.default,D.default):ct(q,D,Sr,At,Ot)}}}function af(q,D,Y){return q!==void 0?q:D!==void 0?D:Y!==void 0?Y:void 0}function lh(q,D,Y,he,Ce){return af(typeof Y===Ce?he[Y]:void 0,q.default,D.default)}function Iu(q,D,Y){if(Ks(Y)!=="number")return af(q.default,D.default);let he=q.stops.length;if(he===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[he-1][0])return q.stops[he-1][1];let Ce=wn(q.stops.map(Ve=>Ve[0]),Y);return q.stops[Ce][1]}function eh(q,D,Y){let he=q.base!==void 0?q.base:1;if(Ks(Y)!=="number")return af(q.default,D.default);let Ce=q.stops.length;if(Ce===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[Ce-1][0])return q.stops[Ce-1][1];let Ve=wn(q.stops.map(er=>er[0]),Y),Xe=function(er,cr,Sr,Nr){let rn=Nr-Sr,mn=er-Sr;return rn===0?0:cr===1?mn/rn:(Math.pow(cr,mn)-1)/(Math.pow(cr,rn)-1)}(Y,he,q.stops[Ve][0],q.stops[Ve+1][0]),ct=q.stops[Ve][1],At=q.stops[Ve+1][1],Ot=yo[D.type]||Eh;return typeof ct.evaluate=="function"?{evaluate(...er){let cr=ct.evaluate.apply(void 0,er),Sr=At.evaluate.apply(void 0,er);if(cr!==void 0&&Sr!==void 0)return Ot(cr,Sr,Xe,q.colorSpace)}}:Ot(ct,At,Xe,q.colorSpace)}function su(q,D,Y){switch(D.type){case"color":Y=Vt.parse(Y);break;case"formatted":Y=xn.fromString(Y.toString());break;case"resolvedImage":Y=ri.fromString(Y.toString());break;case"padding":Y=en.parse(Y);break;default:Ks(Y)===D.type||D.type==="enum"&&D.values[Y]||(Y=void 0)}return af(Y,q.default,D.default)}Vl.register(nf,{error:[{kind:"error"},[Lt],(q,[D])=>{throw new Ir(D.evaluate(q))}],typeof:[Lt,[fr],(q,[D])=>Ke(gt(D.evaluate(q)))],"to-rgba":[Be(et,4),[Bt],(q,[D])=>{let[Y,he,Ce,Ve]=D.evaluate(q).rgb;return[255*Y,255*he,255*Ce,Ve]}],rgb:[Bt,[et,et,et],Jf],rgba:[Bt,[et,et,et,et],Jf],has:{type:Et,overloads:[[[Lt],(q,[D])=>zf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>zf(D.evaluate(q),Y.evaluate(q))]]},get:{type:fr,overloads:[[[Lt],(q,[D])=>wf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>wf(D.evaluate(q),Y.evaluate(q))]]},"feature-state":[fr,[Lt],(q,[D])=>wf(D.evaluate(q),q.featureState||{})],properties:[qt,[],q=>q.properties()],"geometry-type":[Lt,[],q=>q.geometryType()],id:[fr,[],q=>q.id()],zoom:[et,[],q=>q.globals.zoom],"heatmap-density":[et,[],q=>q.globals.heatmapDensity||0],"line-progress":[et,[],q=>q.globals.lineProgress||0],accumulated:[fr,[],q=>q.globals.accumulated===void 0?null:q.globals.accumulated],"+":[et,Gc(et),(q,D)=>{let Y=0;for(let he of D)Y+=he.evaluate(q);return Y}],"*":[et,Gc(et),(q,D)=>{let Y=1;for(let he of D)Y*=he.evaluate(q);return Y}],"-":{type:et,overloads:[[[et,et],(q,[D,Y])=>D.evaluate(q)-Y.evaluate(q)],[[et],(q,[D])=>-D.evaluate(q)]]},"/":[et,[et,et],(q,[D,Y])=>D.evaluate(q)/Y.evaluate(q)],"%":[et,[et,et],(q,[D,Y])=>D.evaluate(q)%Y.evaluate(q)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],"^":[et,[et,et],(q,[D,Y])=>Math.pow(D.evaluate(q),Y.evaluate(q))],sqrt:[et,[et],(q,[D])=>Math.sqrt(D.evaluate(q))],log10:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN10],ln:[et,[et],(q,[D])=>Math.log(D.evaluate(q))],log2:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN2],sin:[et,[et],(q,[D])=>Math.sin(D.evaluate(q))],cos:[et,[et],(q,[D])=>Math.cos(D.evaluate(q))],tan:[et,[et],(q,[D])=>Math.tan(D.evaluate(q))],asin:[et,[et],(q,[D])=>Math.asin(D.evaluate(q))],acos:[et,[et],(q,[D])=>Math.acos(D.evaluate(q))],atan:[et,[et],(q,[D])=>Math.atan(D.evaluate(q))],min:[et,Gc(et),(q,D)=>Math.min(...D.map(Y=>Y.evaluate(q)))],max:[et,Gc(et),(q,D)=>Math.max(...D.map(Y=>Y.evaluate(q)))],abs:[et,[et],(q,[D])=>Math.abs(D.evaluate(q))],round:[et,[et],(q,[D])=>{let Y=D.evaluate(q);return Y<0?-Math.round(-Y):Math.round(Y)}],floor:[et,[et],(q,[D])=>Math.floor(D.evaluate(q))],ceil:[et,[et],(q,[D])=>Math.ceil(D.evaluate(q))],"filter-==":[Et,[Lt,fr],(q,[D,Y])=>q.properties()[D.value]===Y.value],"filter-id-==":[Et,[fr],(q,[D])=>q.id()===D.value],"filter-type-==":[Et,[Lt],(q,[D])=>q.geometryType()===D.value],"filter-<":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>Ce}],"filter-id->":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>he}],"filter-<=":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he<=Ce}],"filter-id-<=":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y<=he}],"filter->=":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>=Ce}],"filter-id->=":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>=he}],"filter-has":[Et,[fr],(q,[D])=>D.value in q.properties()],"filter-has-id":[Et,[],q=>q.id()!==null&&q.id()!==void 0],"filter-type-in":[Et,[Be(Lt)],(q,[D])=>D.value.indexOf(q.geometryType())>=0],"filter-id-in":[Et,[Be(fr)],(q,[D])=>D.value.indexOf(q.id())>=0],"filter-in-small":[Et,[Lt,Be(fr)],(q,[D,Y])=>Y.value.indexOf(q.properties()[D.value])>=0],"filter-in-large":[Et,[Lt,Be(fr)],(q,[D,Y])=>function(he,Ce,Ve,Xe){for(;Ve<=Xe;){let ct=Ve+Xe>>1;if(Ce[ct]===he)return!0;Ce[ct]>he?Xe=ct-1:Ve=ct+1}return!1}(q.properties()[D.value],Y.value,0,Y.value.length-1)],all:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)&&Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(!Y.evaluate(q))return!1;return!0}]]},any:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)||Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(Y.evaluate(q))return!0;return!1}]]},"!":[Et,[Et],(q,[D])=>!D.evaluate(q)],"is-supported-script":[Et,[Lt],(q,[D])=>{let Y=q.globals&&q.globals.isSupportedScript;return!Y||Y(D.evaluate(q))}],upcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toUpperCase()],downcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toLowerCase()],concat:[Lt,Gc(fr),(q,D)=>D.map(Y=>yt(Y.evaluate(q))).join("")],"resolved-locale":[Lt,[ar],(q,[D])=>D.evaluate(q).resolvedLocale()]});class Ru{constructor(D,Y){var he;this.expression=D,this._warningHistory={},this._evaluator=new nn,this._defaultValue=Y?(he=Y).type==="color"&&Of(he.default)?new Vt(0,0,0,0):he.type==="color"?Vt.parse(he.default)||null:he.type==="padding"?en.parse(he.default)||null:he.type==="variableAnchorOffsetCollection"?Wn.parse(he.default)||null:he.default===void 0?null:he.default:null,this._enumValues=Y&&Y.type==="enum"?Y.values:null}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._evaluator.globals=D,this._evaluator.feature=Y,this._evaluator.featureState=he,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe,this.expression.evaluate(this._evaluator)}evaluate(D,Y,he,Ce,Ve,Xe){this._evaluator.globals=D,this._evaluator.feature=Y||null,this._evaluator.featureState=he||null,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe||null;try{let ct=this.expression.evaluate(this._evaluator);if(ct==null||typeof ct=="number"&&ct!=ct)return this._defaultValue;if(this._enumValues&&!(ct in this._enumValues))throw new Ir(`Expected value to be one of ${Object.keys(this._enumValues).map(At=>JSON.stringify(At)).join(", ")}, but found ${JSON.stringify(ct)} instead.`);return ct}catch(ct){return this._warningHistory[ct.message]||(this._warningHistory[ct.message]=!0,typeof console<"u"&&console.warn(ct.message)),this._defaultValue}}}function yc(q){return Array.isArray(q)&&q.length>0&&typeof q[0]=="string"&&q[0]in nf}function Dl(q,D){let Y=new vn(nf,Ff,[],D?function(Ce){let Ve={color:Bt,string:Lt,number:et,enum:Lt,boolean:Et,formatted:Rr,padding:gr,resolvedImage:br,variableAnchorOffsetCollection:_t};return Ce.type==="array"?Be(Ve[Ce.value]||fr,Ce.length):Ve[Ce.type]}(D):void 0),he=Y.parse(q,void 0,void 0,void 0,D&&D.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?Pc(new Ru(he,D)):Wc(Y.errors)}class Rc{constructor(D,Y){this.kind=D,this._styleExpression=Y,this.isStateDependent=D!=="constant"&&!ec(Y.expression)}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}}class tc{constructor(D,Y,he,Ce){this.kind=D,this.zoomStops=he,this._styleExpression=Y,this.isStateDependent=D!=="camera"&&!ec(Y.expression),this.interpolationType=Ce}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}interpolationFactor(D,Y,he){return this.interpolationType?Xa.interpolationFactor(this.interpolationType,D,Y,he):0}}function xu(q,D){let Y=Dl(q,D);if(Y.result==="error")return Y;let he=Y.value.expression,Ce=$f(he);if(!Ce&&!Pu(D))return Wc([new Oe("","data expressions not supported")]);let Ve=Tf(he,["zoom"]);if(!Ve&&!cf(D))return Wc([new Oe("","zoom expressions not supported")]);let Xe=th(he);return Xe||Ve?Xe instanceof Oe?Wc([Xe]):Xe instanceof Xa&&!Ic(D)?Wc([new Oe("",'"interpolate" expressions cannot be used with this property')]):Pc(Xe?new tc(Ce?"camera":"composite",Y.value,Xe.labels,Xe instanceof Xa?Xe.interpolation:void 0):new Rc(Ce?"constant":"source",Y.value)):Wc([new Oe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class Sl{constructor(D,Y){this._parameters=D,this._specification=Y,ue(this,Qf(this._parameters,this._specification))}static deserialize(D){return new Sl(D._parameters,D._specification)}static serialize(D){return{_parameters:D._parameters,_specification:D._specification}}}function th(q){let D=null;if(q instanceof gn)D=th(q.result);else if(q instanceof pa){for(let Y of q.args)if(D=th(Y),D)break}else(q instanceof Dn||q instanceof Xa)&&q.input instanceof Vl&&q.input.name==="zoom"&&(D=q);return D instanceof Oe||q.eachChild(Y=>{let he=th(Y);he instanceof Oe?D=he:!D&&he?D=new Oe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):D&&he&&D!==he&&(D=new Oe("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),D}function uh(q){if(q===!0||q===!1)return!0;if(!Array.isArray(q)||q.length===0)return!1;switch(q[0]){case"has":return q.length>=2&&q[1]!=="$id"&&q[1]!=="$type";case"in":return q.length>=3&&(typeof q[1]!="string"||Array.isArray(q[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return q.length!==3||Array.isArray(q[1])||Array.isArray(q[2]);case"any":case"all":for(let D of q.slice(1))if(!uh(D)&&typeof D!="boolean")return!1;return!0;default:return!0}}let Hu={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function _c(q){if(q==null)return{filter:()=>!0,needGeometry:!1};uh(q)||(q=of(q));let D=Dl(q,Hu);if(D.result==="error")throw new Error(D.value.map(Y=>`${Y.key}: ${Y.message}`).join(", "));return{filter:(Y,he,Ce)=>D.value.evaluate(Y,he,{},Ce),needGeometry:Uh(q)}}function lc(q,D){return qD?1:0}function Uh(q){if(!Array.isArray(q))return!1;if(q[0]==="within"||q[0]==="distance")return!0;for(let D=1;D"||D==="<="||D===">="?ff(q[1],q[2],D):D==="any"?(Y=q.slice(1),["any"].concat(Y.map(of))):D==="all"?["all"].concat(q.slice(1).map(of)):D==="none"?["all"].concat(q.slice(1).map(of).map(lu)):D==="in"?Du(q[1],q.slice(2)):D==="!in"?lu(Du(q[1],q.slice(2))):D==="has"?Af(q[1]):D!=="!has"||lu(Af(q[1]));var Y}function ff(q,D,Y){switch(q){case"$type":return[`filter-type-${Y}`,D];case"$id":return[`filter-id-${Y}`,D];default:return[`filter-${Y}`,q,D]}}function Du(q,D){if(D.length===0)return!1;switch(q){case"$type":return["filter-type-in",["literal",D]];case"$id":return["filter-id-in",["literal",D]];default:return D.length>200&&!D.some(Y=>typeof Y!=typeof D[0])?["filter-in-large",q,["literal",D.sort(lc)]]:["filter-in-small",q,["literal",D]]}}function Af(q){switch(q){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",q]}}function lu(q){return["!",q]}function Xc(q){let D=typeof q;if(D==="number"||D==="boolean"||D==="string"||q==null)return JSON.stringify(q);if(Array.isArray(q)){let Ce="[";for(let Ve of q)Ce+=`${Xc(Ve)},`;return`${Ce}]`}let Y=Object.keys(q).sort(),he="{";for(let Ce=0;Cehe.maximum?[new pe(D,Y,`${Y} is greater than the maximum value ${he.maximum}`)]:[]}function sf(q){let D=q.valueSpec,Y=dl(q.value.type),he,Ce,Ve,Xe={},ct=Y!=="categorical"&&q.value.property===void 0,At=!ct,Ot=Ks(q.value.stops)==="array"&&Ks(q.value.stops[0])==="array"&&Ks(q.value.stops[0][0])==="object",er=wu({key:q.key,value:q.value,valueSpec:q.styleSpec.function,validateSpec:q.validateSpec,style:q.style,styleSpec:q.styleSpec,objectElementValidators:{stops:function(Nr){if(Y==="identity")return[new pe(Nr.key,Nr.value,'identity function may not have a "stops" property')];let rn=[],mn=Nr.value;return rn=rn.concat(Bf({key:Nr.key,value:mn,valueSpec:Nr.valueSpec,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,arrayElementValidator:cr})),Ks(mn)==="array"&&mn.length===0&&rn.push(new pe(Nr.key,mn,"array must have at least one stop")),rn},default:function(Nr){return Nr.validateSpec({key:Nr.key,value:Nr.value,valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec})}}});return Y==="identity"&&ct&&er.push(new pe(q.key,q.value,'missing required property "property"')),Y==="identity"||q.value.stops||er.push(new pe(q.key,q.value,'missing required property "stops"')),Y==="exponential"&&q.valueSpec.expression&&!Ic(q.valueSpec)&&er.push(new pe(q.key,q.value,"exponential functions not supported")),q.styleSpec.$version>=8&&(At&&!Pu(q.valueSpec)?er.push(new pe(q.key,q.value,"property functions not supported")):ct&&!cf(q.valueSpec)&&er.push(new pe(q.key,q.value,"zoom functions not supported"))),Y!=="categorical"&&!Ot||q.value.property!==void 0||er.push(new pe(q.key,q.value,'"property" property is required')),er;function cr(Nr){let rn=[],mn=Nr.value,Gn=Nr.key;if(Ks(mn)!=="array")return[new pe(Gn,mn,`array expected, ${Ks(mn)} found`)];if(mn.length!==2)return[new pe(Gn,mn,`array length 2 expected, length ${mn.length} found`)];if(Ot){if(Ks(mn[0])!=="object")return[new pe(Gn,mn,`object expected, ${Ks(mn[0])} found`)];if(mn[0].zoom===void 0)return[new pe(Gn,mn,"object stop key must have zoom")];if(mn[0].value===void 0)return[new pe(Gn,mn,"object stop key must have value")];if(Ve&&Ve>dl(mn[0].zoom))return[new pe(Gn,mn[0].zoom,"stop zoom values must appear in ascending order")];dl(mn[0].zoom)!==Ve&&(Ve=dl(mn[0].zoom),Ce=void 0,Xe={}),rn=rn.concat(wu({key:`${Gn}[0]`,value:mn[0],valueSpec:{zoom:{}},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,objectElementValidators:{zoom:ul,value:Sr}}))}else rn=rn.concat(Sr({key:`${Gn}[0]`,value:mn[0],valueSpec:{},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec},mn));return yc(bu(mn[1]))?rn.concat([new pe(`${Gn}[1]`,mn[1],"expressions are not allowed in function stops.")]):rn.concat(Nr.validateSpec({key:`${Gn}[1]`,value:mn[1],valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec}))}function Sr(Nr,rn){let mn=Ks(Nr.value),Gn=dl(Nr.value),ei=Nr.value!==null?Nr.value:rn;if(he){if(mn!==he)return[new pe(Nr.key,ei,`${mn} stop domain type must match previous stop domain type ${he}`)]}else he=mn;if(mn!=="number"&&mn!=="string"&&mn!=="boolean")return[new pe(Nr.key,ei,"stop domain value must be a number, string, or boolean")];if(mn!=="number"&&Y!=="categorical"){let Ri=`number expected, ${mn} found`;return Pu(D)&&Y===void 0&&(Ri+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new pe(Nr.key,ei,Ri)]}return Y!=="categorical"||mn!=="number"||isFinite(Gn)&&Math.floor(Gn)===Gn?Y!=="categorical"&&mn==="number"&&Ce!==void 0&&Gnnew pe(`${q.key}${he.key}`,q.value,he.message));let Y=D.value.expression||D.value._styleExpression.expression;if(q.expressionContext==="property"&&q.propertyKey==="text-font"&&!Y.outputDefined())return[new pe(q.key,q.value,`Invalid data expression for "${q.propertyKey}". Output values must be contained as literals within the expression.`)];if(q.expressionContext==="property"&&q.propertyType==="layout"&&!ec(Y))return[new pe(q.key,q.value,'"feature-state" data expressions are not supported with layout properties.')];if(q.expressionContext==="filter"&&!ec(Y))return[new pe(q.key,q.value,'"feature-state" data expressions are not supported with filters.')];if(q.expressionContext&&q.expressionContext.indexOf("cluster")===0){if(!Tf(Y,["zoom","feature-state"]))return[new pe(q.key,q.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(q.expressionContext==="cluster-initial"&&!$f(Y))return[new pe(q.key,q.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Gu(q){let D=q.key,Y=q.value,he=q.valueSpec,Ce=[];return Array.isArray(he.values)?he.values.indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${he.values.join(", ")}], ${JSON.stringify(Y)} found`)):Object.keys(he.values).indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${Object.keys(he.values).join(", ")}], ${JSON.stringify(Y)} found`)),Ce}function hf(q){return uh(bu(q.value))?xc(ue({},q,{expressionContext:"filter",valueSpec:{value:"boolean"}})):uc(q)}function uc(q){let D=q.value,Y=q.key;if(Ks(D)!=="array")return[new pe(Y,D,`array expected, ${Ks(D)} found`)];let he=q.styleSpec,Ce,Ve=[];if(D.length<1)return[new pe(Y,D,"filter array must have at least 1 element")];switch(Ve=Ve.concat(Gu({key:`${Y}[0]`,value:D[0],valueSpec:he.filter_operator,style:q.style,styleSpec:q.styleSpec})),dl(D[0])){case"<":case"<=":case">":case">=":D.length>=2&&dl(D[1])==="$type"&&Ve.push(new pe(Y,D,`"$type" cannot be use with operator "${D[0]}"`));case"==":case"!=":D.length!==3&&Ve.push(new pe(Y,D,`filter array for operator "${D[0]}" must have 3 elements`));case"in":case"!in":D.length>=2&&(Ce=Ks(D[1]),Ce!=="string"&&Ve.push(new pe(`${Y}[1]`,D[1],`string expected, ${Ce} found`)));for(let Xe=2;Xe{Ot in Y&&D.push(new pe(he,Y[Ot],`"${Ot}" is prohibited for ref layers`))}),Ce.layers.forEach(Ot=>{dl(Ot.id)===ct&&(At=Ot)}),At?At.ref?D.push(new pe(he,Y.ref,"ref cannot reference another ref layer")):Xe=dl(At.type):D.push(new pe(he,Y.ref,`ref layer "${ct}" not found`))}else if(Xe!=="background")if(Y.source){let At=Ce.sources&&Ce.sources[Y.source],Ot=At&&dl(At.type);At?Ot==="vector"&&Xe==="raster"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a raster source`)):Ot!=="raster-dem"&&Xe==="hillshade"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a raster-dem source`)):Ot==="raster"&&Xe!=="raster"?D.push(new pe(he,Y.source,`layer "${Y.id}" requires a vector source`)):Ot!=="vector"||Y["source-layer"]?Ot==="raster-dem"&&Xe!=="hillshade"?D.push(new pe(he,Y.source,"raster-dem source can only be used with layer type 'hillshade'.")):Xe!=="line"||!Y.paint||!Y.paint["line-gradient"]||Ot==="geojson"&&At.lineMetrics||D.push(new pe(he,Y,`layer "${Y.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):D.push(new pe(he,Y,`layer "${Y.id}" must specify a "source-layer"`)):D.push(new pe(he,Y.source,`source "${Y.source}" not found`))}else D.push(new pe(he,Y,'missing required property "source"'));return D=D.concat(wu({key:he,value:Y,valueSpec:Ve.layer,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{"*":()=>[],type:()=>q.validateSpec({key:`${he}.type`,value:Y.type,valueSpec:Ve.layer.type,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,object:Y,objectKey:"type"}),filter:hf,layout:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{"*":Ot=>Xl(ue({layerType:Xe},Ot))}}),paint:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{"*":Ot=>Nf(ue({layerType:Xe},Ot))}})}})),D}function Wu(q){let D=q.value,Y=q.key,he=Ks(D);return he!=="string"?[new pe(Y,D,`string expected, ${he} found`)]:[]}let bc={promoteId:function({key:q,value:D}){if(Ks(D)==="string")return Wu({key:q,value:D});{let Y=[];for(let he in D)Y.push(...Wu({key:`${q}.${he}`,value:D[he]}));return Y}}};function cc(q){let D=q.value,Y=q.key,he=q.styleSpec,Ce=q.style,Ve=q.validateSpec;if(!D.type)return[new pe(Y,D,'"type" is required')];let Xe=dl(D.type),ct;switch(Xe){case"vector":case"raster":return ct=wu({key:Y,value:D,valueSpec:he[`source_${Xe.replace("-","_")}`],style:q.style,styleSpec:he,objectElementValidators:bc,validateSpec:Ve}),ct;case"raster-dem":return ct=function(At){var Ot;let er=(Ot=At.sourceName)!==null&&Ot!==void 0?Ot:"",cr=At.value,Sr=At.styleSpec,Nr=Sr.source_raster_dem,rn=At.style,mn=[],Gn=Ks(cr);if(cr===void 0)return mn;if(Gn!=="object")return mn.push(new pe("source_raster_dem",cr,`object expected, ${Gn} found`)),mn;let ei=dl(cr.encoding)==="custom",Ri=["redFactor","greenFactor","blueFactor","baseShift"],fi=At.value.encoding?`"${At.value.encoding}"`:"Default";for(let Si in cr)!ei&&Ri.includes(Si)?mn.push(new pe(Si,cr[Si],`In "${er}": "${Si}" is only valid when "encoding" is set to "custom". ${fi} encoding found`)):Nr[Si]?mn=mn.concat(At.validateSpec({key:Si,value:cr[Si],valueSpec:Nr[Si],validateSpec:At.validateSpec,style:rn,styleSpec:Sr})):mn.push(new pe(Si,cr[Si],`unknown property "${Si}"`));return mn}({sourceName:Y,value:D,style:q.style,styleSpec:he,validateSpec:Ve}),ct;case"geojson":if(ct=wu({key:Y,value:D,valueSpec:he.source_geojson,style:Ce,styleSpec:he,validateSpec:Ve,objectElementValidators:bc}),D.cluster)for(let At in D.clusterProperties){let[Ot,er]=D.clusterProperties[At],cr=typeof Ot=="string"?[Ot,["accumulated"],["get",At]]:Ot;ct.push(...xc({key:`${Y}.${At}.map`,value:er,validateSpec:Ve,expressionContext:"cluster-map"})),ct.push(...xc({key:`${Y}.${At}.reduce`,value:cr,validateSpec:Ve,expressionContext:"cluster-reduce"}))}return ct;case"video":return wu({key:Y,value:D,valueSpec:he.source_video,style:Ce,validateSpec:Ve,styleSpec:he});case"image":return wu({key:Y,value:D,valueSpec:he.source_image,style:Ce,validateSpec:Ve,styleSpec:he});case"canvas":return[new pe(Y,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Gu({key:`${Y}.type`,value:D.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:Ce,validateSpec:Ve,styleSpec:he})}}function zl(q){let D=q.value,Y=q.styleSpec,he=Y.light,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!=="object")return Ve=Ve.concat([new pe("light",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D){let At=ct.match(/^(.*)-transition$/);Ve=Ve.concat(At&&he[At[1]]&&he[At[1]].transition?q.validateSpec({key:ct,value:D[ct],valueSpec:Y.transition,validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)])}return Ve}function uu(q){let D=q.value,Y=q.styleSpec,he=Y.sky,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!=="object")return[new pe("sky",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Xe}function fc(q){let D=q.value,Y=q.styleSpec,he=Y.terrain,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!=="object")return Ve=Ve.concat([new pe("terrain",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D)Ve=Ve.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Ve}function Dc(q){let D=[],Y=q.value,he=q.key;if(Array.isArray(Y)){let Ce=[],Ve=[];for(let Xe in Y)Y[Xe].id&&Ce.includes(Y[Xe].id)&&D.push(new pe(he,Y,`all the sprites' ids must be unique, but ${Y[Xe].id} is duplicated`)),Ce.push(Y[Xe].id),Y[Xe].url&&Ve.includes(Y[Xe].url)&&D.push(new pe(he,Y,`all the sprites' URLs must be unique, but ${Y[Xe].url} is duplicated`)),Ve.push(Y[Xe].url),D=D.concat(wu({key:`${he}[${Xe}]`,value:Y[Xe],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:q.validateSpec}));return D}return Wu({key:he,value:Y})}let rc={"*":()=>[],array:Bf,boolean:function(q){let D=q.value,Y=q.key,he=Ks(D);return he!=="boolean"?[new pe(Y,D,`boolean expected, ${he} found`)]:[]},number:ul,color:function(q){let D=q.key,Y=q.value,he=Ks(Y);return he!=="string"?[new pe(D,Y,`color expected, ${he} found`)]:Vt.parse(String(Y))?[]:[new pe(D,Y,`color expected, "${Y}" found`)]},constants:Mf,enum:Gu,filter:hf,function:sf,layer:Uf,object:wu,source:cc,light:zl,sky:uu,terrain:fc,projection:function(q){let D=q.value,Y=q.styleSpec,he=Y.projection,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!=="object")return[new pe("projection",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property "${ct}"`)]);return Xe},string:Wu,formatted:function(q){return Wu(q).length===0?[]:xc(q)},resolvedImage:function(q){return Wu(q).length===0?[]:xc(q)},padding:function(q){let D=q.key,Y=q.value;if(Ks(Y)==="array"){if(Y.length<1||Y.length>4)return[new pe(D,Y,`padding requires 1 to 4 values; ${Y.length} values found`)];let he={type:"number"},Ce=[];for(let Ve=0;Ve[]}})),q.constants&&(Y=Y.concat(Mf({key:"constants",value:q.constants,style:q,styleSpec:D,validateSpec:Yc}))),Wr(Y)}function tn(q){return function(D){return q(Jr(an({},D),{validateSpec:Yc}))}}function Wr(q){return[].concat(q).sort((D,Y)=>D.line-Y.line)}function Cn(q){return function(...D){return Wr(q.apply(this,D))}}dr.source=Cn(tn(cc)),dr.sprite=Cn(tn(Dc)),dr.glyphs=Cn(tn(Yt)),dr.light=Cn(tn(zl)),dr.sky=Cn(tn(uu)),dr.terrain=Cn(tn(fc)),dr.layer=Cn(tn(Uf)),dr.filter=Cn(tn(hf)),dr.paintProperty=Cn(tn(Nf)),dr.layoutProperty=Cn(tn(Xl));let si=dr,yi=si.light,Di=si.sky,Wi=si.paintProperty,aa=si.layoutProperty;function bi(q,D){let Y=!1;if(D&&D.length)for(let he of D)q.fire(new j(new Error(he.message))),Y=!0;return Y}class zi{constructor(D,Y,he){let Ce=this.cells=[];if(D instanceof ArrayBuffer){this.arrayBuffer=D;let Xe=new Int32Array(this.arrayBuffer);D=Xe[0],this.d=(Y=Xe[1])+2*(he=Xe[2]);for(let At=0;At=cr[rn+0]&&Ce>=cr[rn+1])?(ct[Nr]=!0,Xe.push(er[Nr])):ct[Nr]=!1}}}}_forEachCell(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=this._convertToCellCoord(D),er=this._convertToCellCoord(Y),cr=this._convertToCellCoord(he),Sr=this._convertToCellCoord(Ce);for(let Nr=Ot;Nr<=cr;Nr++)for(let rn=er;rn<=Sr;rn++){let mn=this.d*rn+Nr;if((!At||At(this._convertFromCellCoord(Nr),this._convertFromCellCoord(rn),this._convertFromCellCoord(Nr+1),this._convertFromCellCoord(rn+1)))&&Ve.call(this,D,Y,he,Ce,mn,Xe,ct,At))return}}_convertFromCellCoord(D){return(D-this.padding)/this.scale}_convertToCellCoord(D){return Math.max(0,Math.min(this.d-1,Math.floor(D*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;let D=this.cells,Y=3+this.cells.length+1+1,he=0;for(let Xe=0;Xe=0)continue;let Xe=q[Ve];Ce[Ve]=Li[Y].shallow.indexOf(Ve)>=0?Xe:mo(Xe,D)}q instanceof Error&&(Ce.message=q.message)}if(Ce.$name)throw new Error("$name property is reserved for worker serialization logic.");return Y!=="Object"&&(Ce.$name=Y),Ce}function Ao(q){if(co(q))return q;if(Array.isArray(q))return q.map(Ao);if(typeof q!="object")throw new Error("can't deserialize object of type "+typeof q);let D=po(q)||"Object";if(!Li[D])throw new Error(`can't deserialize unregistered class ${D}`);let{klass:Y}=Li[D];if(!Y)throw new Error(`can't deserialize unregistered class ${D}`);if(Y.deserialize)return Y.deserialize(q);let he=Object.create(Y.prototype);for(let Ce of Object.keys(q)){if(Ce==="$name")continue;let Ve=q[Ce];he[Ce]=Li[D].shallow.indexOf(Ce)>=0?Ve:Ao(Ve)}return he}class xa{constructor(){this.first=!0}update(D,Y){let he=Math.floor(D);return this.first?(this.first=!1,this.lastIntegerZoom=he,this.lastIntegerZoomTime=0,this.lastZoom=D,this.lastFloorZoom=he,!0):(this.lastFloorZoom>he?(this.lastIntegerZoom=he+1,this.lastIntegerZoomTime=Y):this.lastFloorZoomq>=128&&q<=255,"Hangul Jamo":q=>q>=4352&&q<=4607,Khmer:q=>q>=6016&&q<=6143,"General Punctuation":q=>q>=8192&&q<=8303,"Letterlike Symbols":q=>q>=8448&&q<=8527,"Number Forms":q=>q>=8528&&q<=8591,"Miscellaneous Technical":q=>q>=8960&&q<=9215,"Control Pictures":q=>q>=9216&&q<=9279,"Optical Character Recognition":q=>q>=9280&&q<=9311,"Enclosed Alphanumerics":q=>q>=9312&&q<=9471,"Geometric Shapes":q=>q>=9632&&q<=9727,"Miscellaneous Symbols":q=>q>=9728&&q<=9983,"Miscellaneous Symbols and Arrows":q=>q>=11008&&q<=11263,"Ideographic Description Characters":q=>q>=12272&&q<=12287,"CJK Symbols and Punctuation":q=>q>=12288&&q<=12351,Katakana:q=>q>=12448&&q<=12543,Kanbun:q=>q>=12688&&q<=12703,"CJK Strokes":q=>q>=12736&&q<=12783,"Enclosed CJK Letters and Months":q=>q>=12800&&q<=13055,"CJK Compatibility":q=>q>=13056&&q<=13311,"Yijing Hexagram Symbols":q=>q>=19904&&q<=19967,"Private Use Area":q=>q>=57344&&q<=63743,"Vertical Forms":q=>q>=65040&&q<=65055,"CJK Compatibility Forms":q=>q>=65072&&q<=65103,"Small Form Variants":q=>q>=65104&&q<=65135,"Halfwidth and Fullwidth Forms":q=>q>=65280&&q<=65519};function Lo(q){for(let D of q)if(Es(D.charCodeAt(0)))return!0;return!1}function as(q){for(let D of q)if(!Ns(D.charCodeAt(0)))return!1;return!0}function Ds(q){let D=q.map(Y=>{try{return new RegExp(`\\p{sc=${Y}}`,"u").source}catch{return null}}).filter(Y=>Y);return new RegExp(D.join("|"),"u")}let il=Ds(["Arab","Dupl","Mong","Ougr","Syrc"]);function Ns(q){return!il.test(String.fromCodePoint(q))}let el=Ds(["Bopo","Hani","Hira","Kana","Kits","Nshu","Tang","Yiii"]);function Es(q){return!(q!==746&&q!==747&&(q<4352||!(Qi["CJK Compatibility Forms"](q)&&!(q>=65097&&q<=65103)||Qi["CJK Compatibility"](q)||Qi["CJK Strokes"](q)||!(!Qi["CJK Symbols and Punctuation"](q)||q>=12296&&q<=12305||q>=12308&&q<=12319||q===12336)||Qi["Enclosed CJK Letters and Months"](q)||Qi["Ideographic Description Characters"](q)||Qi.Kanbun(q)||Qi.Katakana(q)&&q!==12540||!(!Qi["Halfwidth and Fullwidth Forms"](q)||q===65288||q===65289||q===65293||q>=65306&&q<=65310||q===65339||q===65341||q===65343||q>=65371&&q<=65503||q===65507||q>=65512&&q<=65519)||!(!Qi["Small Form Variants"](q)||q>=65112&&q<=65118||q>=65123&&q<=65126)||Qi["Vertical Forms"](q)||Qi["Yijing Hexagram Symbols"](q)||new RegExp("\\p{sc=Cans}","u").test(String.fromCodePoint(q))||new RegExp("\\p{sc=Hang}","u").test(String.fromCodePoint(q))||el.test(String.fromCodePoint(q)))))}function Bl(q){return!(Es(q)||function(D){return!!(Qi["Latin-1 Supplement"](D)&&(D===167||D===169||D===174||D===177||D===188||D===189||D===190||D===215||D===247)||Qi["General Punctuation"](D)&&(D===8214||D===8224||D===8225||D===8240||D===8241||D===8251||D===8252||D===8258||D===8263||D===8264||D===8265||D===8273)||Qi["Letterlike Symbols"](D)||Qi["Number Forms"](D)||Qi["Miscellaneous Technical"](D)&&(D>=8960&&D<=8967||D>=8972&&D<=8991||D>=8996&&D<=9e3||D===9003||D>=9085&&D<=9114||D>=9150&&D<=9165||D===9167||D>=9169&&D<=9179||D>=9186&&D<=9215)||Qi["Control Pictures"](D)&&D!==9251||Qi["Optical Character Recognition"](D)||Qi["Enclosed Alphanumerics"](D)||Qi["Geometric Shapes"](D)||Qi["Miscellaneous Symbols"](D)&&!(D>=9754&&D<=9759)||Qi["Miscellaneous Symbols and Arrows"](D)&&(D>=11026&&D<=11055||D>=11088&&D<=11097||D>=11192&&D<=11243)||Qi["CJK Symbols and Punctuation"](D)||Qi.Katakana(D)||Qi["Private Use Area"](D)||Qi["CJK Compatibility Forms"](D)||Qi["Small Form Variants"](D)||Qi["Halfwidth and Fullwidth Forms"](D)||D===8734||D===8756||D===8757||D>=9984&&D<=10087||D>=10102&&D<=10131||D===65532||D===65533)}(q))}let _l=Ds(["Adlm","Arab","Armi","Avst","Chrs","Cprt","Egyp","Elym","Gara","Hatr","Hebr","Hung","Khar","Lydi","Mand","Mani","Mend","Merc","Mero","Narb","Nbat","Nkoo","Orkh","Palm","Phli","Phlp","Phnx","Prti","Rohg","Samr","Sarb","Sogo","Syrc","Thaa","Todr","Yezi"]);function cl(q){return _l.test(String.fromCodePoint(q))}function Za(q,D){return!(!D&&cl(q)||q>=2304&&q<=3583||q>=3840&&q<=4255||Qi.Khmer(q))}function jo(q){for(let D of q)if(cl(D.charCodeAt(0)))return!0;return!1}let Js=new class{constructor(){this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null}setState(q){this.pluginStatus=q.pluginStatus,this.pluginURL=q.pluginURL}getState(){return{pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(q){this.applyArabicShaping=q.applyArabicShaping,this.processBidirectionalText=q.processBidirectionalText,this.processStyledBidirectionalText=q.processStyledBidirectionalText}isParsed(){return this.applyArabicShaping!=null&&this.processBidirectionalText!=null&&this.processStyledBidirectionalText!=null}getPluginURL(){return this.pluginURL}getRTLTextPluginStatus(){return this.pluginStatus}};class zs{constructor(D,Y){this.zoom=D,Y?(this.now=Y.now,this.fadeDuration=Y.fadeDuration,this.zoomHistory=Y.zoomHistory,this.transition=Y.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new xa,this.transition={})}isSupportedScript(D){return function(Y,he){for(let Ce of Y)if(!Za(Ce.charCodeAt(0),he))return!1;return!0}(D,Js.getRTLTextPluginStatus()==="loaded")}crossFadingFactor(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){let D=this.zoom,Y=D-Math.floor(D),he=this.crossFadingFactor();return D>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:Y+(1-Y)*he}:{fromScale:.5,toScale:1,t:1-(1-he)*Y}}}class cu{constructor(D,Y){this.property=D,this.value=Y,this.expression=function(he,Ce){if(Of(he))return new Sl(he,Ce);if(yc(he)){let Ve=xu(he,Ce);if(Ve.result==="error")throw new Error(Ve.value.map(Xe=>`${Xe.key}: ${Xe.message}`).join(", "));return Ve.value}{let Ve=he;return Ce.type==="color"&&typeof he=="string"?Ve=Vt.parse(he):Ce.type!=="padding"||typeof he!="number"&&!Array.isArray(he)?Ce.type==="variableAnchorOffsetCollection"&&Array.isArray(he)&&(Ve=Wn.parse(he)):Ve=en.parse(he),{kind:"constant",evaluate:()=>Ve}}}(Y===void 0?D.specification.default:Y,D.specification)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(D,Y,he){return this.property.possiblyEvaluate(this,D,Y,he)}}class zu{constructor(D){this.property=D,this.value=new cu(D,void 0)}transitioned(D,Y){return new Kc(this.property,this.value,Y,E({},D.transition,this.transition),D.now)}untransitioned(){return new Kc(this.property,this.value,null,{},0)}}class nc{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitionablePropertyValues)}getValue(D){return u(this._values[D].value.value)}setValue(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].value=new cu(this._values[D].property,Y===null?void 0:u(Y))}getTransition(D){return u(this._values[D].transition)}setTransition(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].transition=u(Y)||void 0}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he);let Ce=this.getTransition(Y);Ce!==void 0&&(D[`${Y}-transition`]=Ce)}return D}transitioned(D,Y){let he=new Tu(this._properties);for(let Ce of Object.keys(this._values))he._values[Ce]=this._values[Ce].transitioned(D,Y._values[Ce]);return he}untransitioned(){let D=new Tu(this._properties);for(let Y of Object.keys(this._values))D._values[Y]=this._values[Y].untransitioned();return D}}class Kc{constructor(D,Y,he,Ce,Ve){this.property=D,this.value=Y,this.begin=Ve+Ce.delay||0,this.end=this.begin+Ce.duration||0,D.specification.transition&&(Ce.delay||Ce.duration)&&(this.prior=he)}possiblyEvaluate(D,Y,he){let Ce=D.now||0,Ve=this.value.possiblyEvaluate(D,Y,he),Xe=this.prior;if(Xe){if(Ce>this.end)return this.prior=null,Ve;if(this.value.isDataDriven())return this.prior=null,Ve;if(Ce=1)return 1;let Ot=At*At,er=Ot*At;return 4*(At<.5?er:3*(At-Ot)+er-.75)}(ct))}}return Ve}}class Tu{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitioningPropertyValues)}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}hasTransition(){for(let D of Object.keys(this._values))if(this._values[D].prior)return!0;return!1}}class zc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPropertyValues)}hasValue(D){return this._values[D].value!==void 0}getValue(D){return u(this._values[D].value)}setValue(D,Y){this._values[D]=new cu(this._values[D].property,Y===null?void 0:u(Y))}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he)}return D}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}}class Fu{constructor(D,Y,he){this.property=D,this.value=Y,this.parameters=he}isConstant(){return this.value.kind==="constant"}constantOr(D){return this.value.kind==="constant"?this.value.value:D}evaluate(D,Y,he,Ce){return this.property.evaluate(this.value,this.parameters,D,Y,he,Ce)}}class wc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPossiblyEvaluatedValues)}get(D){return this._values[D]}}class bo{constructor(D){this.specification=D}possiblyEvaluate(D,Y){if(D.isDataDriven())throw new Error("Value should not be data driven");return D.expression.evaluate(Y)}interpolate(D,Y,he){let Ce=yo[this.specification.type];return Ce?Ce(D,Y,he):D}}class Wo{constructor(D,Y){this.specification=D,this.overrides=Y}possiblyEvaluate(D,Y,he,Ce){return new Fu(this,D.expression.kind==="constant"||D.expression.kind==="camera"?{kind:"constant",value:D.expression.evaluate(Y,null,{},he,Ce)}:D.expression,Y)}interpolate(D,Y,he){if(D.value.kind!=="constant"||Y.value.kind!=="constant")return D;if(D.value.value===void 0||Y.value.value===void 0)return new Fu(this,{kind:"constant",value:void 0},D.parameters);let Ce=yo[this.specification.type];if(Ce){let Ve=Ce(D.value.value,Y.value.value,he);return new Fu(this,{kind:"constant",value:Ve},D.parameters)}return D}evaluate(D,Y,he,Ce,Ve,Xe){return D.kind==="constant"?D.value:D.evaluate(Y,he,Ce,Ve,Xe)}}class Fc extends Wo{possiblyEvaluate(D,Y,he,Ce){if(D.value===void 0)return new Fu(this,{kind:"constant",value:void 0},Y);if(D.expression.kind==="constant"){let Ve=D.expression.evaluate(Y,null,{},he,Ce),Xe=D.property.specification.type==="resolvedImage"&&typeof Ve!="string"?Ve.name:Ve,ct=this._calculate(Xe,Xe,Xe,Y);return new Fu(this,{kind:"constant",value:ct},Y)}if(D.expression.kind==="camera"){let Ve=this._calculate(D.expression.evaluate({zoom:Y.zoom-1}),D.expression.evaluate({zoom:Y.zoom}),D.expression.evaluate({zoom:Y.zoom+1}),Y);return new Fu(this,{kind:"constant",value:Ve},Y)}return new Fu(this,D.expression,Y)}evaluate(D,Y,he,Ce,Ve,Xe){if(D.kind==="source"){let ct=D.evaluate(Y,he,Ce,Ve,Xe);return this._calculate(ct,ct,ct,Y)}return D.kind==="composite"?this._calculate(D.evaluate({zoom:Math.floor(Y.zoom)-1},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)+1},he,Ce),Y):D.value}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class hc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){if(D.value!==void 0){if(D.expression.kind==="constant"){let Ve=D.expression.evaluate(Y,null,{},he,Ce);return this._calculate(Ve,Ve,Ve,Y)}return this._calculate(D.expression.evaluate(new zs(Math.floor(Y.zoom-1),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom+1),Y)),Y)}}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class dc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){return!!D.expression.evaluate(Y,null,{},he,Ce)}interpolate(){return!1}}class Ne{constructor(D){this.properties=D,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(let Y in D){let he=D[Y];he.specification.overridable&&this.overridableProperties.push(Y);let Ce=this.defaultPropertyValues[Y]=new cu(he,void 0),Ve=this.defaultTransitionablePropertyValues[Y]=new zu(he);this.defaultTransitioningPropertyValues[Y]=Ve.untransitioned(),this.defaultPossiblyEvaluatedValues[Y]=Ce.possiblyEvaluate({})}}}di("DataDrivenProperty",Wo),di("DataConstantProperty",bo),di("CrossFadedDataDrivenProperty",Fc),di("CrossFadedProperty",hc),di("ColorRampProperty",dc);let R="-transition";class ne extends ee{constructor(D,Y){if(super(),this.id=D.id,this.type=D.type,this._featureFilter={filter:()=>!0,needGeometry:!1},D.type!=="custom"&&(this.metadata=D.metadata,this.minzoom=D.minzoom,this.maxzoom=D.maxzoom,D.type!=="background"&&(this.source=D.source,this.sourceLayer=D["source-layer"],this.filter=D.filter),Y.layout&&(this._unevaluatedLayout=new zc(Y.layout)),Y.paint)){this._transitionablePaint=new nc(Y.paint);for(let he in D.paint)this.setPaintProperty(he,D.paint[he],{validate:!1});for(let he in D.layout)this.setLayoutProperty(he,D.layout[he],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new wc(Y.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(D){return D==="visibility"?this.visibility:this._unevaluatedLayout.getValue(D)}setLayoutProperty(D,Y,he={}){Y!=null&&this._validate(aa,`layers.${this.id}.layout.${D}`,D,Y,he)||(D!=="visibility"?this._unevaluatedLayout.setValue(D,Y):this.visibility=Y)}getPaintProperty(D){return D.endsWith(R)?this._transitionablePaint.getTransition(D.slice(0,-11)):this._transitionablePaint.getValue(D)}setPaintProperty(D,Y,he={}){if(Y!=null&&this._validate(Wi,`layers.${this.id}.paint.${D}`,D,Y,he))return!1;if(D.endsWith(R))return this._transitionablePaint.setTransition(D.slice(0,-11),Y||void 0),!1;{let Ce=this._transitionablePaint._values[D],Ve=Ce.property.specification["property-type"]==="cross-faded-data-driven",Xe=Ce.value.isDataDriven(),ct=Ce.value;this._transitionablePaint.setValue(D,Y),this._handleSpecialPaintPropertyUpdate(D);let At=this._transitionablePaint._values[D].value;return At.isDataDriven()||Xe||Ve||this._handleOverridablePaintPropertyUpdate(D,ct,At)}}_handleSpecialPaintPropertyUpdate(D){}_handleOverridablePaintPropertyUpdate(D,Y,he){return!1}isHidden(D){return!!(this.minzoom&&D=this.maxzoom)||this.visibility==="none"}updateTransitions(D){this._transitioningPaint=this._transitionablePaint.transitioned(D,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(D,Y){D.getCrossfadeParameters&&(this._crossfadeParameters=D.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(D,void 0,Y)),this.paint=this._transitioningPaint.possiblyEvaluate(D,void 0,Y)}serialize(){let D={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(D.layout=D.layout||{},D.layout.visibility=this.visibility),v(D,(Y,he)=>!(Y===void 0||he==="layout"&&!Object.keys(Y).length||he==="paint"&&!Object.keys(Y).length))}_validate(D,Y,he,Ce,Ve={}){return(!Ve||Ve.validate!==!1)&&bi(this,D.call(si,{key:Y,layerType:this.type,objectKey:he,value:Ce,styleSpec:ie,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(let D in this.paint._values){let Y=this.paint.get(D);if(Y instanceof Fu&&Pu(Y.property.specification)&&(Y.value.kind==="source"||Y.value.kind==="composite")&&Y.value.isStateDependent)return!0}return!1}}let be={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class Ae{constructor(D,Y){this._structArray=D,this._pos1=Y*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class Fe{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(D,Y){return D._trim(),Y&&(D.isTransferred=!0,Y.push(D.arrayBuffer)),{length:D.length,arrayBuffer:D.arrayBuffer}}static deserialize(D){let Y=Object.create(this.prototype);return Y.arrayBuffer=D.arrayBuffer,Y.length=D.length,Y.capacity=D.arrayBuffer.byteLength/Y.bytesPerElement,Y._refreshViews(),Y}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(D){this.reserve(D),this.length=D}reserve(D){if(D>this.capacity){this.capacity=Math.max(D,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);let Y=this.uint8;this._refreshViews(),Y&&this.uint8.set(Y)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}}function ht(q,D=1){let Y=0,he=0;return{members:q.map(Ce=>{let Ve=be[Ce.type].BYTES_PER_ELEMENT,Xe=Y=wt(Y,Math.max(D,Ve)),ct=Ce.components||1;return he=Math.max(he,Ve),Y+=Ve*ct,{name:Ce.name,type:Ce.type,components:ct,offset:Xe}}),size:wt(Y,Math.max(he,D)),alignment:D}}function wt(q,D){return Math.ceil(q/D)*D}class zt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.int16[Ce+0]=Y,this.int16[Ce+1]=he,D}}zt.prototype.bytesPerElement=4,di("StructArrayLayout2i4",zt);class Jt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.int16[Ve+0]=Y,this.int16[Ve+1]=he,this.int16[Ve+2]=Ce,D}}Jt.prototype.bytesPerElement=6,di("StructArrayLayout3i6",Jt);class hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.int16[Xe+0]=Y,this.int16[Xe+1]=he,this.int16[Xe+2]=Ce,this.int16[Xe+3]=Ve,D}}hr.prototype.bytesPerElement=8,di("StructArrayLayout4i8",hr);class vr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}vr.prototype.bytesPerElement=12,di("StructArrayLayout2i4i12",vr);class Hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=4*D,Ot=8*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.uint8[Ot+4]=Ce,this.uint8[Ot+5]=Ve,this.uint8[Ot+6]=Xe,this.uint8[Ot+7]=ct,D}}Hr.prototype.bytesPerElement=8,di("StructArrayLayout2i4ub8",Hr);class ln extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.float32[Ce+0]=Y,this.float32[Ce+1]=he,D}}ln.prototype.bytesPerElement=8,di("StructArrayLayout2f8",ln);class Ge extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=this.length;return this.resize(cr+1),this.emplace(cr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=10*D;return this.uint16[Sr+0]=Y,this.uint16[Sr+1]=he,this.uint16[Sr+2]=Ce,this.uint16[Sr+3]=Ve,this.uint16[Sr+4]=Xe,this.uint16[Sr+5]=ct,this.uint16[Sr+6]=At,this.uint16[Sr+7]=Ot,this.uint16[Sr+8]=er,this.uint16[Sr+9]=cr,D}}Ge.prototype.bytesPerElement=20,di("StructArrayLayout10ui20",Ge);class $e extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr){let Nr=this.length;return this.resize(Nr+1),this.emplace(Nr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr){let rn=12*D;return this.int16[rn+0]=Y,this.int16[rn+1]=he,this.int16[rn+2]=Ce,this.int16[rn+3]=Ve,this.uint16[rn+4]=Xe,this.uint16[rn+5]=ct,this.uint16[rn+6]=At,this.uint16[rn+7]=Ot,this.int16[rn+8]=er,this.int16[rn+9]=cr,this.int16[rn+10]=Sr,this.int16[rn+11]=Nr,D}}$e.prototype.bytesPerElement=24,di("StructArrayLayout4i4ui4i24",$e);class st extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.float32[Ve+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}st.prototype.bytesPerElement=12,di("StructArrayLayout3f12",st);class dt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint32[1*D+0]=Y,D}}dt.prototype.bytesPerElement=4,di("StructArrayLayout1ul4",dt);class St extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot){let er=this.length;return this.resize(er+1),this.emplace(er,D,Y,he,Ce,Ve,Xe,ct,At,Ot)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=10*D,Sr=5*D;return this.int16[cr+0]=Y,this.int16[cr+1]=he,this.int16[cr+2]=Ce,this.int16[cr+3]=Ve,this.int16[cr+4]=Xe,this.int16[cr+5]=ct,this.uint32[Sr+3]=At,this.uint16[cr+8]=Ot,this.uint16[cr+9]=er,D}}St.prototype.bytesPerElement=20,di("StructArrayLayout6i1ul2ui20",St);class xt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}xt.prototype.bytesPerElement=12,di("StructArrayLayout2i2i2i12",xt);class It extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve){let Xe=this.length;return this.resize(Xe+1),this.emplace(Xe,D,Y,he,Ce,Ve)}emplace(D,Y,he,Ce,Ve,Xe){let ct=4*D,At=8*D;return this.float32[ct+0]=Y,this.float32[ct+1]=he,this.float32[ct+2]=Ce,this.int16[At+6]=Ve,this.int16[At+7]=Xe,D}}It.prototype.bytesPerElement=16,di("StructArrayLayout2f1f2i16",It);class rr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=16*D,Ot=4*D,er=8*D;return this.uint8[At+0]=Y,this.uint8[At+1]=he,this.float32[Ot+1]=Ce,this.float32[Ot+2]=Ve,this.int16[er+6]=Xe,this.int16[er+7]=ct,D}}rr.prototype.bytesPerElement=16,di("StructArrayLayout2ub2f2i16",rr);class sr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[Ve+0]=Y,this.uint16[Ve+1]=he,this.uint16[Ve+2]=Ce,D}}sr.prototype.bytesPerElement=6,di("StructArrayLayout3ui6",sr);class pr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei){let Ri=this.length;return this.resize(Ri+1),this.emplace(Ri,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri){let fi=24*D,Si=12*D,Gi=48*D;return this.int16[fi+0]=Y,this.int16[fi+1]=he,this.uint16[fi+2]=Ce,this.uint16[fi+3]=Ve,this.uint32[Si+2]=Xe,this.uint32[Si+3]=ct,this.uint32[Si+4]=At,this.uint16[fi+10]=Ot,this.uint16[fi+11]=er,this.uint16[fi+12]=cr,this.float32[Si+7]=Sr,this.float32[Si+8]=Nr,this.uint8[Gi+36]=rn,this.uint8[Gi+37]=mn,this.uint8[Gi+38]=Gn,this.uint32[Si+10]=ei,this.int16[fi+22]=Ri,D}}pr.prototype.bytesPerElement=48,di("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",pr);class kr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo){let Bo=this.length;return this.resize(Bo+1),this.emplace(Bo,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo,Bo){let ma=32*D,us=16*D;return this.int16[ma+0]=Y,this.int16[ma+1]=he,this.int16[ma+2]=Ce,this.int16[ma+3]=Ve,this.int16[ma+4]=Xe,this.int16[ma+5]=ct,this.int16[ma+6]=At,this.int16[ma+7]=Ot,this.uint16[ma+8]=er,this.uint16[ma+9]=cr,this.uint16[ma+10]=Sr,this.uint16[ma+11]=Nr,this.uint16[ma+12]=rn,this.uint16[ma+13]=mn,this.uint16[ma+14]=Gn,this.uint16[ma+15]=ei,this.uint16[ma+16]=Ri,this.uint16[ma+17]=fi,this.uint16[ma+18]=Si,this.uint16[ma+19]=Gi,this.uint16[ma+20]=Ha,this.uint16[ma+21]=Po,this.uint16[ma+22]=xs,this.uint32[us+12]=_o,this.float32[us+13]=Ra,this.float32[us+14]=es,this.uint16[ma+30]=qo,this.uint16[ma+31]=Bo,D}}kr.prototype.bytesPerElement=64,di("StructArrayLayout8i15ui1ul2f2ui64",kr);class Yr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.float32[1*D+0]=Y,D}}Yr.prototype.bytesPerElement=4,di("StructArrayLayout1f4",Yr);class _n extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[6*D+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}_n.prototype.bytesPerElement=12,di("StructArrayLayout1ui2f12",_n);class Mn extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=4*D;return this.uint32[2*D+0]=Y,this.uint16[Ve+2]=he,this.uint16[Ve+3]=Ce,D}}Mn.prototype.bytesPerElement=8,di("StructArrayLayout1ul2ui8",Mn);class Un extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.uint16[Ce+0]=Y,this.uint16[Ce+1]=he,D}}Un.prototype.bytesPerElement=4,di("StructArrayLayout2ui4",Un);class li extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint16[1*D+0]=Y,D}}li.prototype.bytesPerElement=2,di("StructArrayLayout1ui2",li);class ki extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.float32[Xe+0]=Y,this.float32[Xe+1]=he,this.float32[Xe+2]=Ce,this.float32[Xe+3]=Ve,D}}ki.prototype.bytesPerElement=16,di("StructArrayLayout4f16",ki);class Ci extends Ae{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new i(this.anchorPointX,this.anchorPointY)}}Ci.prototype.size=20;class Zi extends St{get(D){return new Ci(this,D)}}di("CollisionBoxArray",Zi);class ya extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(D){this._structArray.uint8[this._pos1+37]=D}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(D){this._structArray.uint8[this._pos1+38]=D}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(D){this._structArray.uint32[this._pos4+10]=D}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}ya.prototype.size=48;class ro extends pr{get(D){return new ya(this,D)}}di("PlacedSymbolArray",ro);class Va extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(D){this._structArray.uint32[this._pos4+12]=D}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Va.prototype.size=64;class Io extends kr{get(D){return new Va(this,D)}}di("SymbolInstanceArray",Io);class vs extends Yr{getoffsetX(D){return this.float32[1*D+0]}}di("GlyphOffsetArray",vs);class Fo extends Jt{getx(D){return this.int16[3*D+0]}gety(D){return this.int16[3*D+1]}gettileUnitDistanceFromAnchor(D){return this.int16[3*D+2]}}di("SymbolLineVertexArray",Fo);class ts extends Ae{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}ts.prototype.size=12;class bs extends _n{get(D){return new ts(this,D)}}di("TextAnchorOffsetArray",bs);class fl extends Ae{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}fl.prototype.size=8;class al extends Mn{get(D){return new fl(this,D)}}di("FeatureIndexArray",al);class os extends zt{}class is extends zt{}class Nl extends zt{}class eu extends vr{}class Xu extends Hr{}class mu extends ln{}class El extends Ge{}class fu extends $e{}class Tc extends st{}class Zl extends dt{}class Yl extends xt{}class de extends rr{}class Re extends sr{}class Qe extends Un{}let vt=ht([{name:"a_pos",components:2,type:"Int16"}],4),{members:mt}=vt;class Tt{constructor(D=[]){this.segments=D}prepareSegment(D,Y,he,Ce){let Ve=this.segments[this.segments.length-1];return D>Tt.MAX_VERTEX_ARRAY_LENGTH&&f(`Max vertices per segment is ${Tt.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${D}`),(!Ve||Ve.vertexLength+D>Tt.MAX_VERTEX_ARRAY_LENGTH||Ve.sortKey!==Ce)&&(Ve={vertexOffset:Y.length,primitiveOffset:he.length,vertexLength:0,primitiveLength:0},Ce!==void 0&&(Ve.sortKey=Ce),this.segments.push(Ve)),Ve}get(){return this.segments}destroy(){for(let D of this.segments)for(let Y in D.vaos)D.vaos[Y].destroy()}static simpleSegment(D,Y,he,Ce){return new Tt([{vertexOffset:D,primitiveOffset:Y,vertexLength:he,primitiveLength:Ce,vaos:{},sortKey:0}])}}function Qt(q,D){return 256*(q=w(Math.floor(q),0,255))+w(Math.floor(D),0,255)}Tt.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,di("SegmentVector",Tt);let Dt=ht([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]);var lr={exports:{}},Br={exports:{}};Br.exports=function(q,D){var Y,he,Ce,Ve,Xe,ct,At,Ot;for(he=q.length-(Y=3&q.length),Ce=D,Xe=3432918353,ct=461845907,Ot=0;Ot>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295)<<13|Ce>>>19))+((5*(Ce>>>16)&65535)<<16)&4294967295))+((58964+(Ve>>>16)&65535)<<16);switch(At=0,Y){case 3:At^=(255&q.charCodeAt(Ot+2))<<16;case 2:At^=(255&q.charCodeAt(Ot+1))<<8;case 1:Ce^=At=(65535&(At=(At=(65535&(At^=255&q.charCodeAt(Ot)))*Xe+(((At>>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295}return Ce^=q.length,Ce=2246822507*(65535&(Ce^=Ce>>>16))+((2246822507*(Ce>>>16)&65535)<<16)&4294967295,Ce=3266489909*(65535&(Ce^=Ce>>>13))+((3266489909*(Ce>>>16)&65535)<<16)&4294967295,(Ce^=Ce>>>16)>>>0};var jr=Br.exports,Tn={exports:{}};Tn.exports=function(q,D){for(var Y,he=q.length,Ce=D^he,Ve=0;he>=4;)Y=1540483477*(65535&(Y=255&q.charCodeAt(Ve)|(255&q.charCodeAt(++Ve))<<8|(255&q.charCodeAt(++Ve))<<16|(255&q.charCodeAt(++Ve))<<24))+((1540483477*(Y>>>16)&65535)<<16),Ce=1540483477*(65535&Ce)+((1540483477*(Ce>>>16)&65535)<<16)^(Y=1540483477*(65535&(Y^=Y>>>24))+((1540483477*(Y>>>16)&65535)<<16)),he-=4,++Ve;switch(he){case 3:Ce^=(255&q.charCodeAt(Ve+2))<<16;case 2:Ce^=(255&q.charCodeAt(Ve+1))<<8;case 1:Ce=1540483477*(65535&(Ce^=255&q.charCodeAt(Ve)))+((1540483477*(Ce>>>16)&65535)<<16)}return Ce=1540483477*(65535&(Ce^=Ce>>>13))+((1540483477*(Ce>>>16)&65535)<<16),(Ce^=Ce>>>15)>>>0};var yn=jr,ti=Tn.exports;lr.exports=yn,lr.exports.murmur3=yn,lr.exports.murmur2=ti;var ai=r(lr.exports);class En{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(D,Y,he,Ce){this.ids.push(qn(D)),this.positions.push(Y,he,Ce)}getPositions(D){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");let Y=qn(D),he=0,Ce=this.ids.length-1;for(;he>1;this.ids[Xe]>=Y?Ce=Xe:he=Xe+1}let Ve=[];for(;this.ids[he]===Y;)Ve.push({index:this.positions[3*he],start:this.positions[3*he+1],end:this.positions[3*he+2]}),he++;return Ve}static serialize(D,Y){let he=new Float64Array(D.ids),Ce=new Uint32Array(D.positions);return Jn(he,Ce,0,he.length-1),Y&&Y.push(he.buffer,Ce.buffer),{ids:he,positions:Ce}}static deserialize(D){let Y=new En;return Y.ids=D.ids,Y.positions=D.positions,Y.indexed=!0,Y}}function qn(q){let D=+q;return!isNaN(D)&&D<=Number.MAX_SAFE_INTEGER?D:ai(String(q))}function Jn(q,D,Y,he){for(;Y>1],Ve=Y-1,Xe=he+1;for(;;){do Ve++;while(q[Ve]Ce);if(Ve>=Xe)break;ci(q,Ve,Xe),ci(D,3*Ve,3*Xe),ci(D,3*Ve+1,3*Xe+1),ci(D,3*Ve+2,3*Xe+2)}Xe-Y`u_${Ce}`),this.type=he}setUniform(D,Y,he){D.set(he.constantOr(this.value))}getBinding(D,Y,he){return this.type==="color"?new oa(D,Y):new Hn(D,Y)}}class oo{constructor(D,Y){this.uniformNames=Y.map(he=>`u_${he}`),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(D,Y){this.pixelRatioFrom=Y.pixelRatio,this.pixelRatioTo=D.pixelRatio,this.patternFrom=Y.tlbr,this.patternTo=D.tlbr}setUniform(D,Y,he,Ce){let Ve=Ce==="u_pattern_to"?this.patternTo:Ce==="u_pattern_from"?this.patternFrom:Ce==="u_pixel_ratio_to"?this.pixelRatioTo:Ce==="u_pixel_ratio_from"?this.pixelRatioFrom:null;Ve&&D.set(Ve)}getBinding(D,Y,he){return he.substr(0,9)==="u_pattern"?new ta(D,Y):new Hn(D,Y)}}class Qo{constructor(D,Y,he,Ce){this.expression=D,this.type=he,this.maxValue=0,this.paintVertexAttributes=Y.map(Ve=>({name:`a_${Ve}`,type:"Float32",components:he==="color"?2:1,offset:0})),this.paintVertexArray=new Ce}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.paintVertexArray.length,ct=this.expression.evaluate(new zs(0),Y,{},Ce,[],Ve);this.paintVertexArray.resize(D),this._setPaintValue(Xe,D,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:0},he,Ce);this._setPaintValue(D,Y,Ve)}_setPaintValue(D,Y,he){if(this.type==="color"){let Ce=La(he);for(let Ve=D;Ve`u_${ct}_t`),this.type=he,this.useIntegerZoom=Ce,this.zoom=Ve,this.maxValue=0,this.paintVertexAttributes=Y.map(ct=>({name:`a_${ct}`,type:"Float32",components:he==="color"?4:2,offset:0})),this.paintVertexArray=new Xe}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.expression.evaluate(new zs(this.zoom),Y,{},Ce,[],Ve),ct=this.expression.evaluate(new zs(this.zoom+1),Y,{},Ce,[],Ve),At=this.paintVertexArray.length;this.paintVertexArray.resize(D),this._setPaintValue(At,D,Xe,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:this.zoom},he,Ce),Xe=this.expression.evaluate({zoom:this.zoom+1},he,Ce);this._setPaintValue(D,Y,Ve,Xe)}_setPaintValue(D,Y,he,Ce){if(this.type==="color"){let Ve=La(he),Xe=La(Ce);for(let ct=D;ct`#define HAS_UNIFORM_${Ce}`))}return D}getBinderAttributes(){let D=[];for(let Y in this.binders){let he=this.binders[Y];if(he instanceof Qo||he instanceof uo)for(let Ce=0;Ce!0){this.programConfigurations={};for(let Ce of D)this.programConfigurations[Ce.id]=new ol(Ce,Y,he);this.needsUpload=!1,this._featureMap=new En,this._bufferOffset=0}populatePaintArrays(D,Y,he,Ce,Ve,Xe){for(let ct in this.programConfigurations)this.programConfigurations[ct].populatePaintArrays(D,Y,Ce,Ve,Xe);Y.id!==void 0&&this._featureMap.add(Y.id,he,this._bufferOffset,D),this._bufferOffset=D,this.needsUpload=!0}updatePaintArrays(D,Y,he,Ce){for(let Ve of he)this.needsUpload=this.programConfigurations[Ve.id].updatePaintArrays(D,this._featureMap,Y,Ve,Ce)||this.needsUpload}get(D){return this.programConfigurations[D]}upload(D){if(this.needsUpload){for(let Y in this.programConfigurations)this.programConfigurations[Y].upload(D);this.needsUpload=!1}}destroy(){for(let D in this.programConfigurations)this.programConfigurations[D].destroy()}}function ml(q,D){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[q]||[q.replace(`${D}-`,"").replace(/-/g,"_")]}function ua(q,D,Y){let he={color:{source:ln,composite:ki},number:{source:Yr,composite:ln}},Ce=function(Ve){return{"line-pattern":{source:El,composite:El},"fill-pattern":{source:El,composite:El},"fill-extrusion-pattern":{source:El,composite:El}}[Ve]}(q);return Ce&&Ce[Y]||he[D][Y]}di("ConstantBinder",io),di("CrossFadedConstantBinder",oo),di("SourceExpressionBinder",Qo),di("CrossFadedCompositeBinder",Jo),di("CompositeExpressionBinder",uo),di("ProgramConfiguration",ol,{omit:["_buffers"]}),di("ProgramConfigurationSet",tl);let wo=8192,ys=Math.pow(2,14)-1,Ms=-ys-1;function xl(q){let D=wo/q.extent,Y=q.loadGeometry();for(let he=0;heXe.x+1||AtXe.y+1)&&f("Geometry exceeds allowed extent, reduce your vector tile buffer size")}}return Y}function Ul(q,D){return{type:q.type,id:q.id,properties:q.properties,geometry:D?xl(q):[]}}function gu(q,D,Y,he,Ce){q.emplaceBack(2*D+(he+1)/2,2*Y+(Ce+1)/2)}class Fl{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new is,this.indexArray=new Re,this.segments=new Tt,this.programConfigurations=new tl(D.layers,D.zoom),this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){let Ce=this.layers[0],Ve=[],Xe=null,ct=!1;Ce.type==="circle"&&(Xe=Ce.layout.get("circle-sort-key"),ct=!Xe.isConstant());for(let{feature:At,id:Ot,index:er,sourceLayerIndex:cr}of D){let Sr=this.layers[0]._featureFilter.needGeometry,Nr=Ul(At,Sr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Nr,he))continue;let rn=ct?Xe.evaluate(Nr,{},he):void 0,mn={id:Ot,properties:At.properties,type:At.type,sourceLayerIndex:cr,index:er,geometry:Sr?Nr.geometry:xl(At),patterns:{},sortKey:rn};Ve.push(mn)}ct&&Ve.sort((At,Ot)=>At.sortKey-Ot.sortKey);for(let At of Ve){let{geometry:Ot,index:er,sourceLayerIndex:cr}=At,Sr=D[er].feature;this.addFeature(At,Ot,er,he),Y.featureIndex.insert(Sr,Ot,er,cr,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,mt),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(D,Y,he,Ce){for(let Ve of Y)for(let Xe of Ve){let ct=Xe.x,At=Xe.y;if(ct<0||ct>=wo||At<0||At>=wo)continue;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,D.sortKey),er=Ot.vertexLength;gu(this.layoutVertexArray,ct,At,-1,-1),gu(this.layoutVertexArray,ct,At,1,-1),gu(this.layoutVertexArray,ct,At,1,1),gu(this.layoutVertexArray,ct,At,-1,1),this.indexArray.emplaceBack(er,er+1,er+2),this.indexArray.emplaceBack(er,er+3,er+2),Ot.vertexLength+=4,Ot.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,{},Ce)}}function vc(q,D){for(let Y=0;Y1){if(xi(q,D))return!0;for(let he=0;he1?Y:Y.sub(D)._mult(Ce)._add(D))}function na(q,D){let Y,he,Ce,Ve=!1;for(let Xe=0;XeD.y!=Ce.y>D.y&&D.x<(Ce.x-he.x)*(D.y-he.y)/(Ce.y-he.y)+he.x&&(Ve=!Ve)}return Ve}function Ca(q,D){let Y=!1;for(let he=0,Ce=q.length-1;heD.y!=Xe.y>D.y&&D.x<(Xe.x-Ve.x)*(D.y-Ve.y)/(Xe.y-Ve.y)+Ve.x&&(Y=!Y)}return Y}function ka(q,D,Y){let he=Y[0],Ce=Y[2];if(q.xCe.x&&D.x>Ce.x||q.yCe.y&&D.y>Ce.y)return!1;let Ve=P(q,D,Y[0]);return Ve!==P(q,D,Y[1])||Ve!==P(q,D,Y[2])||Ve!==P(q,D,Y[3])}function ha(q,D,Y){let he=D.paint.get(q).value;return he.kind==="constant"?he.value:Y.programConfigurations.get(D.id).getMaxValue(q)}function Xo(q){return Math.sqrt(q[0]*q[0]+q[1]*q[1])}function Aa(q,D,Y,he,Ce){if(!D[0]&&!D[1])return q;let Ve=i.convert(D)._mult(Ce);Y==="viewport"&&Ve._rotate(-he);let Xe=[];for(let ct=0;ctsa(Gn,mn))}(Ot,At),Nr=cr?er*ct:er;for(let rn of Ce)for(let mn of rn){let Gn=cr?mn:sa(mn,At),ei=Nr,Ri=Oo([],[mn.x,mn.y,0,1],At);if(this.paint.get("circle-pitch-scale")==="viewport"&&this.paint.get("circle-pitch-alignment")==="map"?ei*=Ri[3]/Xe.cameraToCenterDistance:this.paint.get("circle-pitch-scale")==="map"&&this.paint.get("circle-pitch-alignment")==="viewport"&&(ei*=Xe.cameraToCenterDistance/Ri[3]),tr(Sr,Gn,ei))return!0}return!1}}function sa(q,D){let Y=Oo([],[q.x,q.y,0,1],D);return new i(Y[0]/Y[3],Y[1]/Y[3])}class fo extends Fl{}let Ja;di("HeatmapBucket",fo,{omit:["layers"]});var Fa={get paint(){return Ja=Ja||new Ne({"heatmap-radius":new Wo(ie.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Wo(ie.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new bo(ie.paint_heatmap["heatmap-intensity"]),"heatmap-color":new dc(ie.paint_heatmap["heatmap-color"]),"heatmap-opacity":new bo(ie.paint_heatmap["heatmap-opacity"])})}};function Ia(q,{width:D,height:Y},he,Ce){if(Ce){if(Ce instanceof Uint8ClampedArray)Ce=new Uint8Array(Ce.buffer);else if(Ce.length!==D*Y*he)throw new RangeError(`mismatched image size. expected: ${Ce.length} but got: ${D*Y*he}`)}else Ce=new Uint8Array(D*Y*he);return q.width=D,q.height=Y,q.data=Ce,q}function ao(q,{width:D,height:Y},he){if(D===q.width&&Y===q.height)return;let Ce=Ia({},{width:D,height:Y},he);Zo(q,Ce,{x:0,y:0},{x:0,y:0},{width:Math.min(q.width,D),height:Math.min(q.height,Y)},he),q.width=D,q.height=Y,q.data=Ce.data}function Zo(q,D,Y,he,Ce,Ve){if(Ce.width===0||Ce.height===0)return D;if(Ce.width>q.width||Ce.height>q.height||Y.x>q.width-Ce.width||Y.y>q.height-Ce.height)throw new RangeError("out of range source coordinates for image copy");if(Ce.width>D.width||Ce.height>D.height||he.x>D.width-Ce.width||he.y>D.height-Ce.height)throw new RangeError("out of range destination coordinates for image copy");let Xe=q.data,ct=D.data;if(Xe===ct)throw new Error("srcData equals dstData, so image is already copied");for(let At=0;At{D[q.evaluationKey]=At;let Ot=q.expression.evaluate(D);Ce.data[Xe+ct+0]=Math.floor(255*Ot.r/Ot.a),Ce.data[Xe+ct+1]=Math.floor(255*Ot.g/Ot.a),Ce.data[Xe+ct+2]=Math.floor(255*Ot.b/Ot.a),Ce.data[Xe+ct+3]=Math.floor(255*Ot.a)};if(q.clips)for(let Xe=0,ct=0;Xe80*Y){ct=1/0,At=1/0;let er=-1/0,cr=-1/0;for(let Sr=Y;Srer&&(er=Nr),rn>cr&&(cr=rn)}Ot=Math.max(er-ct,cr-At),Ot=Ot!==0?32767/Ot:0}return Jc(Ve,Xe,Y,ct,At,Ot,0),Xe}function pc(q,D,Y,he,Ce){let Ve;if(Ce===function(Xe,ct,At,Ot){let er=0;for(let cr=ct,Sr=At-Ot;cr0)for(let Xe=D;Xe=D;Xe-=he)Ve=Ar(Xe/he|0,q[Xe],q[Xe+1],Ve);return Ve&&We(Ve,Ve.next)&&(Gt(Ve),Ve=Ve.next),Ve}function mc(q,D){if(!q)return q;D||(D=q);let Y,he=q;do if(Y=!1,he.steiner||!We(he,he.next)&&Ze(he.prev,he,he.next)!==0)he=he.next;else{if(Gt(he),he=D=he.prev,he===he.next)break;Y=!0}while(Y||he!==D);return D}function Jc(q,D,Y,he,Ce,Ve,Xe){if(!q)return;!Xe&&Ve&&function(At,Ot,er,cr){let Sr=At;do Sr.z===0&&(Sr.z=K(Sr.x,Sr.y,Ot,er,cr)),Sr.prevZ=Sr.prev,Sr.nextZ=Sr.next,Sr=Sr.next;while(Sr!==At);Sr.prevZ.nextZ=null,Sr.prevZ=null,function(Nr){let rn,mn=1;do{let Gn,ei=Nr;Nr=null;let Ri=null;for(rn=0;ei;){rn++;let fi=ei,Si=0;for(let Ha=0;Ha0||Gi>0&&fi;)Si!==0&&(Gi===0||!fi||ei.z<=fi.z)?(Gn=ei,ei=ei.nextZ,Si--):(Gn=fi,fi=fi.nextZ,Gi--),Ri?Ri.nextZ=Gn:Nr=Gn,Gn.prevZ=Ri,Ri=Gn;ei=fi}Ri.nextZ=null,mn*=2}while(rn>1)}(Sr)}(q,he,Ce,Ve);let ct=q;for(;q.prev!==q.next;){let At=q.prev,Ot=q.next;if(Ve?Ac(q,he,Ce,Ve):tu(q))D.push(At.i,q.i,Ot.i),Gt(q),q=Ot.next,ct=Ot.next;else if((q=Ot)===ct){Xe?Xe===1?Jc(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,fi.x,fi.y)&&Ze(fi.prev,fi,fi.next)>=0)return!1;fi=fi.prevZ}for(;Si&&Si.z<=Ri;){if(Si.x>=Nr&&Si.x<=mn&&Si.y>=rn&&Si.y<=Gn&&Si!==Ce&&Si!==Xe&&te(ct,er,At,cr,Ot,Sr,Si.x,Si.y)&&Ze(Si.prev,Si,Si.next)>=0)return!1;Si=Si.nextZ}return!0}function Nc(q,D){let Y=q;do{let he=Y.prev,Ce=Y.next.next;!We(he,Ce)&<(he,Y,Y.next,Ce)&&xr(he,Ce)&&xr(Ce,he)&&(D.push(he.i,Y.i,Ce.i),Gt(Y),Gt(Y.next),Y=q=Ce),Y=Y.next}while(Y!==q);return mc(Y)}function Hs(q,D,Y,he,Ce,Ve){let Xe=q;do{let ct=Xe.next.next;for(;ct!==Xe.prev;){if(Xe.i!==ct.i&&ye(Xe,ct)){let At=Fr(Xe,ct);return Xe=mc(Xe,Xe.next),At=mc(At,At.next),Jc(Xe,D,Y,he,Ce,Ve,0),void Jc(At,D,Y,he,Ce,Ve,0)}ct=ct.next}Xe=Xe.next}while(Xe!==q)}function $c(q,D){return q.x-D.x}function Us(q,D){let Y=function(Ce,Ve){let Xe=Ve,ct=Ce.x,At=Ce.y,Ot,er=-1/0;do{if(At<=Xe.y&&At>=Xe.next.y&&Xe.next.y!==Xe.y){let mn=Xe.x+(At-Xe.y)*(Xe.next.x-Xe.x)/(Xe.next.y-Xe.y);if(mn<=ct&&mn>er&&(er=mn,Ot=Xe.x=Xe.x&&Xe.x>=Sr&&ct!==Xe.x&&te(AtOt.x||Xe.x===Ot.x&&ve(Ot,Xe)))&&(Ot=Xe,rn=mn)}Xe=Xe.next}while(Xe!==cr);return Ot}(q,D);if(!Y)return D;let he=Fr(Y,q);return mc(he,he.next),mc(Y,Y.next)}function ve(q,D){return Ze(q.prev,q,D.prev)<0&&Ze(D.next,q,q.next)<0}function K(q,D,Y,he,Ce){return(q=1431655765&((q=858993459&((q=252645135&((q=16711935&((q=(q-Y)*Ce|0)|q<<8))|q<<4))|q<<2))|q<<1))|(D=1431655765&((D=858993459&((D=252645135&((D=16711935&((D=(D-he)*Ce|0)|D<<8))|D<<4))|D<<2))|D<<1))<<1}function me(q){let D=q,Y=q;do(D.x=(q-Xe)*(Ve-ct)&&(q-Xe)*(he-ct)>=(Y-Xe)*(D-ct)&&(Y-Xe)*(Ve-ct)>=(Ce-Xe)*(he-ct)}function ye(q,D){return q.next.i!==D.i&&q.prev.i!==D.i&&!function(Y,he){let Ce=Y;do{if(Ce.i!==Y.i&&Ce.next.i!==Y.i&&Ce.i!==he.i&&Ce.next.i!==he.i&<(Ce,Ce.next,Y,he))return!0;Ce=Ce.next}while(Ce!==Y);return!1}(q,D)&&(xr(q,D)&&xr(D,q)&&function(Y,he){let Ce=Y,Ve=!1,Xe=(Y.x+he.x)/2,ct=(Y.y+he.y)/2;do Ce.y>ct!=Ce.next.y>ct&&Ce.next.y!==Ce.y&&Xe<(Ce.next.x-Ce.x)*(ct-Ce.y)/(Ce.next.y-Ce.y)+Ce.x&&(Ve=!Ve),Ce=Ce.next;while(Ce!==Y);return Ve}(q,D)&&(Ze(q.prev,q,D.prev)||Ze(q,D.prev,D))||We(q,D)&&Ze(q.prev,q,q.next)>0&&Ze(D.prev,D,D.next)>0)}function Ze(q,D,Y){return(D.y-q.y)*(Y.x-D.x)-(D.x-q.x)*(Y.y-D.y)}function We(q,D){return q.x===D.x&&q.y===D.y}function lt(q,D,Y,he){let Ce=Wt(Ze(q,D,Y)),Ve=Wt(Ze(q,D,he)),Xe=Wt(Ze(Y,he,q)),ct=Wt(Ze(Y,he,D));return Ce!==Ve&&Xe!==ct||!(Ce!==0||!Ct(q,Y,D))||!(Ve!==0||!Ct(q,he,D))||!(Xe!==0||!Ct(Y,q,he))||!(ct!==0||!Ct(Y,D,he))}function Ct(q,D,Y){return D.x<=Math.max(q.x,Y.x)&&D.x>=Math.min(q.x,Y.x)&&D.y<=Math.max(q.y,Y.y)&&D.y>=Math.min(q.y,Y.y)}function Wt(q){return q>0?1:q<0?-1:0}function xr(q,D){return Ze(q.prev,q,q.next)<0?Ze(q,D,q.next)>=0&&Ze(q,q.prev,D)>=0:Ze(q,D,q.prev)<0||Ze(q,q.next,D)<0}function Fr(q,D){let Y=nr(q.i,q.x,q.y),he=nr(D.i,D.x,D.y),Ce=q.next,Ve=D.prev;return q.next=D,D.prev=q,Y.next=Ce,Ce.prev=Y,he.next=Y,Y.prev=he,Ve.next=he,he.prev=Ve,he}function Ar(q,D,Y,he){let Ce=nr(q,D,Y);return he?(Ce.next=he.next,Ce.prev=he,he.next.prev=Ce,he.next=Ce):(Ce.prev=Ce,Ce.next=Ce),Ce}function Gt(q){q.next.prev=q.prev,q.prev.next=q.next,q.prevZ&&(q.prevZ.nextZ=q.nextZ),q.nextZ&&(q.nextZ.prevZ=q.prevZ)}function nr(q,D,Y){return{i:q,x:D,y:Y,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function mr(q,D,Y){let he=Y.patternDependencies,Ce=!1;for(let Ve of D){let Xe=Ve.paint.get(`${q}-pattern`);Xe.isConstant()||(Ce=!0);let ct=Xe.constantOr(null);ct&&(Ce=!0,he[ct.to]=!0,he[ct.from]=!0)}return Ce}function zr(q,D,Y,he,Ce){let Ve=Ce.patternDependencies;for(let Xe of D){let ct=Xe.paint.get(`${q}-pattern`).value;if(ct.kind!=="constant"){let At=ct.evaluate({zoom:he-1},Y,{},Ce.availableImages),Ot=ct.evaluate({zoom:he},Y,{},Ce.availableImages),er=ct.evaluate({zoom:he+1},Y,{},Ce.availableImages);At=At&&At.name?At.name:At,Ot=Ot&&Ot.name?Ot.name:Ot,er=er&&er.name?er.name:er,Ve[At]=!0,Ve[Ot]=!0,Ve[er]=!0,Y.patterns[Xe.id]={min:At,mid:Ot,max:er}}}return Y}class Gr{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Nl,this.indexArray=new Re,this.indexArray2=new Qe,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.segments2=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr("fill",this.layers,Y);let Ce=this.layers[0].layout.get("fill-sort-key"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he,Y.availableImages):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr("fill",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,Bc),this.indexBuffer=D.createIndexBuffer(this.indexArray),this.indexBuffer2=D.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct=0;for(let Nr of Xe)ct+=Nr.length;let At=this.segments.prepareSegment(ct,this.layoutVertexArray,this.indexArray),Ot=At.vertexLength,er=[],cr=[];for(let Nr of Xe){if(Nr.length===0)continue;Nr!==Xe[0]&&cr.push(er.length/2);let rn=this.segments2.prepareSegment(Nr.length,this.layoutVertexArray,this.indexArray2),mn=rn.vertexLength;this.layoutVertexArray.emplaceBack(Nr[0].x,Nr[0].y),this.indexArray2.emplaceBack(mn+Nr.length-1,mn),er.push(Nr[0].x),er.push(Nr[0].y);for(let Gn=1;Gn>3}if(Ce--,he===1||he===2)Ve+=q.readSVarint(),Xe+=q.readSVarint(),he===1&&(D&&ct.push(D),D=[]),D.push(new vi(Ve,Xe));else{if(he!==7)throw new Error("unknown command "+he);D&&D.push(D[0].clone())}}return D&&ct.push(D),ct},Pi.prototype.bbox=function(){var q=this._pbf;q.pos=this._geometry;for(var D=q.readVarint()+q.pos,Y=1,he=0,Ce=0,Ve=0,Xe=1/0,ct=-1/0,At=1/0,Ot=-1/0;q.pos>3}if(he--,Y===1||Y===2)(Ce+=q.readSVarint())ct&&(ct=Ce),(Ve+=q.readSVarint())Ot&&(Ot=Ve);else if(Y!==7)throw new Error("unknown command "+Y)}return[Xe,At,ct,Ot]},Pi.prototype.toGeoJSON=function(q,D,Y){var he,Ce,Ve=this.extent*Math.pow(2,Y),Xe=this.extent*q,ct=this.extent*D,At=this.loadGeometry(),Ot=Pi.types[this.type];function er(Nr){for(var rn=0;rn>3;Ce=Xe===1?he.readString():Xe===2?he.readFloat():Xe===3?he.readDouble():Xe===4?he.readVarint64():Xe===5?he.readVarint():Xe===6?he.readSVarint():Xe===7?he.readBoolean():null}return Ce}(Y))}da.prototype.feature=function(q){if(q<0||q>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[q];var D=this._pbf.readVarint()+this._pbf.pos;return new Ea(this._pbf,D,this.extent,this._keys,this._values)};var za=$i;function Qa(q,D,Y){if(q===3){var he=new za(Y,Y.readVarint()+Y.pos);he.length&&(D[he.name]=he)}}Xn.VectorTile=function(q,D){this.layers=q.readFields(Qa,{},D)},Xn.VectorTileFeature=Ji,Xn.VectorTileLayer=$i;let Cs=Xn.VectorTileFeature.types,ws=Math.pow(2,13);function $s(q,D,Y,he,Ce,Ve,Xe,ct){q.emplaceBack(D,Y,2*Math.floor(he*ws)+Xe,Ce*ws*2,Ve*ws*2,Math.round(ct))}class rs{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new eu,this.centroidVertexArray=new os,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.features=[],this.hasPattern=mr("fill-extrusion",this.layers,Y);for(let{feature:Ce,id:Ve,index:Xe,sourceLayerIndex:ct}of D){let At=this.layers[0]._featureFilter.needGeometry,Ot=Ul(Ce,At);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Ot,he))continue;let er={id:Ve,sourceLayerIndex:ct,index:Xe,geometry:At?Ot.geometry:xl(Ce),properties:Ce.properties,type:Ce.type,patterns:{}};this.hasPattern?this.features.push(zr("fill-extrusion",this.layers,er,this.zoom,Y)):this.addFeature(er,er.geometry,Xe,he,{}),Y.featureIndex.insert(Ce,er.geometry,Xe,ct,this.index,!0)}}addFeatures(D,Y,he){for(let Ce of this.features){let{geometry:Ve}=Ce;this.addFeature(Ce,Ve,Ce.index,Y,he)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0&&this.centroidVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,kn),this.centroidVertexBuffer=D.createVertexBuffer(this.centroidVertexArray,qr.members,!0),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct={x:0,y:0,vertexCount:0},At=0;for(let rn of Xe)At+=rn.length;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(let rn of Xe){if(rn.length===0||Cl(rn))continue;let mn=0;for(let Gn=0;Gn=1){let Ri=rn[Gn-1];if(!js(ei,Ri)){Ot.vertexLength+4>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));let fi=ei.sub(Ri)._perp()._unit(),Si=Ri.dist(ei);mn+Si>32768&&(mn=0),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,1,mn),ct.x+=2*ei.x,ct.y+=2*ei.y,ct.vertexCount+=2,mn+=Si,$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,1,mn),ct.x+=2*Ri.x,ct.y+=2*Ri.y,ct.vertexCount+=2;let Gi=Ot.vertexLength;this.indexArray.emplaceBack(Gi,Gi+2,Gi+1),this.indexArray.emplaceBack(Gi+1,Gi+2,Gi+3),Ot.vertexLength+=4,Ot.primitiveLength+=2}}}}if(Ot.vertexLength+At>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(At,this.layoutVertexArray,this.indexArray)),Cs[D.type]!=="Polygon")continue;let er=[],cr=[],Sr=Ot.vertexLength;for(let rn of Xe)if(rn.length!==0){rn!==Xe[0]&&cr.push(er.length/2);for(let mn=0;mnwo)||q.y===D.y&&(q.y<0||q.y>wo)}function Cl(q){return q.every(D=>D.x<0)||q.every(D=>D.x>wo)||q.every(D=>D.y<0)||q.every(D=>D.y>wo)}let Ou;di("FillExtrusionBucket",rs,{omit:["layers","features"]});var Kh={get paint(){return Ou=Ou||new Ne({"fill-extrusion-opacity":new bo(ie["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new bo(ie["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new bo(ie["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Fc(ie["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Wo(ie["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new bo(ie["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class Jh extends ne{constructor(D){super(D,Kh)}createBucket(D){return new rs(D)}queryRadius(){return Xo(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=Aa(D,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),Xe.angle,ct),er=this.paint.get("fill-extrusion-height").evaluate(Y,he),cr=this.paint.get("fill-extrusion-base").evaluate(Y,he),Sr=function(rn,mn,Gn,ei){let Ri=[];for(let fi of rn){let Si=[fi.x,fi.y,0,1];Oo(Si,Si,mn),Ri.push(new i(Si[0]/Si[3],Si[1]/Si[3]))}return Ri}(Ot,At),Nr=function(rn,mn,Gn,ei){let Ri=[],fi=[],Si=ei[8]*mn,Gi=ei[9]*mn,Ha=ei[10]*mn,Po=ei[11]*mn,xs=ei[8]*Gn,_o=ei[9]*Gn,Ra=ei[10]*Gn,es=ei[11]*Gn;for(let qo of rn){let Bo=[],ma=[];for(let us of qo){let No=us.x,ks=us.y,Au=ei[0]*No+ei[4]*ks+ei[12],yu=ei[1]*No+ei[5]*ks+ei[13],Ef=ei[2]*No+ei[6]*ks+ei[14],cd=ei[3]*No+ei[7]*ks+ei[15],nh=Ef+Ha,Cf=cd+Po,kh=Au+xs,Lh=yu+_o,Ph=Ef+Ra,jc=cd+es,kf=new i((Au+Si)/Cf,(yu+Gi)/Cf);kf.z=nh/Cf,Bo.push(kf);let mh=new i(kh/jc,Lh/jc);mh.z=Ph/jc,ma.push(mh)}Ri.push(Bo),fi.push(ma)}return[Ri,fi]}(Ce,cr,er,At);return function(rn,mn,Gn){let ei=1/0;cn(Gn,mn)&&(ei=sd(Gn,mn[0]));for(let Ri=0;RiY.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(Y=>{this.gradients[Y.id]={}}),this.layoutVertexArray=new Xu,this.layoutVertexArray2=new mu,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr("line",this.layers,Y);let Ce=this.layers[0].layout.get("line-sort-key"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr("line",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=D.createVertexBuffer(this.layoutVertexArray2,xd)),this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,_d),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(D){if(D.properties&&Object.prototype.hasOwnProperty.call(D.properties,"mapbox_clip_start")&&Object.prototype.hasOwnProperty.call(D.properties,"mapbox_clip_end"))return{start:+D.properties.mapbox_clip_start,end:+D.properties.mapbox_clip_end}}addFeature(D,Y,he,Ce,Ve){let Xe=this.layers[0].layout,ct=Xe.get("line-join").evaluate(D,{}),At=Xe.get("line-cap"),Ot=Xe.get("line-miter-limit"),er=Xe.get("line-round-limit");this.lineClips=this.lineFeatureClips(D);for(let cr of Y)this.addLine(cr,D,ct,At,Ot,er);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,Ve,Ce)}addLine(D,Y,he,Ce,Ve,Xe){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let ei=0;ei=2&&D[At-1].equals(D[At-2]);)At--;let Ot=0;for(;Ot0;if(Po&&ei>Ot){let es=Sr.dist(Nr);if(es>2*er){let qo=Sr.sub(Sr.sub(Nr)._mult(er/es)._round());this.updateDistance(Nr,qo),this.addCurrentVertex(qo,mn,0,0,cr),Nr=qo}}let _o=Nr&&rn,Ra=_o?he:ct?"butt":Ce;if(_o&&Ra==="round"&&(GiVe&&(Ra="bevel"),Ra==="bevel"&&(Gi>2&&(Ra="flipbevel"),Gi100)Ri=Gn.mult(-1);else{let es=Gi*mn.add(Gn).mag()/mn.sub(Gn).mag();Ri._perp()._mult(es*(xs?-1:1))}this.addCurrentVertex(Sr,Ri,0,0,cr),this.addCurrentVertex(Sr,Ri.mult(-1),0,0,cr)}else if(Ra==="bevel"||Ra==="fakeround"){let es=-Math.sqrt(Gi*Gi-1),qo=xs?es:0,Bo=xs?0:es;if(Nr&&this.addCurrentVertex(Sr,mn,qo,Bo,cr),Ra==="fakeround"){let ma=Math.round(180*Ha/Math.PI/20);for(let us=1;us2*er){let qo=Sr.add(rn.sub(Sr)._mult(er/es)._round());this.updateDistance(Sr,qo),this.addCurrentVertex(qo,Gn,0,0,cr),Sr=qo}}}}addCurrentVertex(D,Y,he,Ce,Ve,Xe=!1){let ct=Y.y*Ce-Y.x,At=-Y.y-Y.x*Ce;this.addHalfVertex(D,Y.x+Y.y*he,Y.y-Y.x*he,Xe,!1,he,Ve),this.addHalfVertex(D,ct,At,Xe,!0,-Ce,Ve),this.distance>$h/2&&this.totalDistance===0&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(D,Y,he,Ce,Ve,Xe))}addHalfVertex({x:D,y:Y},he,Ce,Ve,Xe,ct,At){let Ot=.5*(this.lineClips?this.scaledDistance*($h-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((D<<1)+(Ve?1:0),(Y<<1)+(Xe?1:0),Math.round(63*he)+128,Math.round(63*Ce)+128,1+(ct===0?0:ct<0?-1:1)|(63&Ot)<<2,Ot>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);let er=At.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,er),At.primitiveLength++),Xe?this.e2=er:this.e1=er}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(D,Y){this.distance+=D.dist(Y),this.updateScaledDistance()}}let Qh,zv;di("LineBucket",ld,{omit:["layers","patternFeatures"]});var Qd={get paint(){return zv=zv||new Ne({"line-opacity":new Wo(ie.paint_line["line-opacity"]),"line-color":new Wo(ie.paint_line["line-color"]),"line-translate":new bo(ie.paint_line["line-translate"]),"line-translate-anchor":new bo(ie.paint_line["line-translate-anchor"]),"line-width":new Wo(ie.paint_line["line-width"]),"line-gap-width":new Wo(ie.paint_line["line-gap-width"]),"line-offset":new Wo(ie.paint_line["line-offset"]),"line-blur":new Wo(ie.paint_line["line-blur"]),"line-dasharray":new hc(ie.paint_line["line-dasharray"]),"line-pattern":new Fc(ie.paint_line["line-pattern"]),"line-gradient":new dc(ie.paint_line["line-gradient"])})},get layout(){return Qh=Qh||new Ne({"line-cap":new bo(ie.layout_line["line-cap"]),"line-join":new Wo(ie.layout_line["line-join"]),"line-miter-limit":new bo(ie.layout_line["line-miter-limit"]),"line-round-limit":new bo(ie.layout_line["line-round-limit"]),"line-sort-key":new Wo(ie.layout_line["line-sort-key"])})}};class df extends Wo{possiblyEvaluate(D,Y){return Y=new zs(Math.floor(Y.zoom),{now:Y.now,fadeDuration:Y.fadeDuration,zoomHistory:Y.zoomHistory,transition:Y.transition}),super.possiblyEvaluate(D,Y)}evaluate(D,Y,he,Ce){return Y=E({},Y,{zoom:Math.floor(Y.zoom)}),super.evaluate(D,Y,he,Ce)}}let ev;class Fv extends ne{constructor(D){super(D,Qd),this.gradientVersion=0,ev||(ev=new df(Qd.paint.properties["line-width"].specification),ev.useIntegerZoom=!0)}_handleSpecialPaintPropertyUpdate(D){if(D==="line-gradient"){let Y=this.gradientExpression();this.stepInterpolant=!!function(he){return he._styleExpression!==void 0}(Y)&&Y._styleExpression.expression instanceof Dn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(D,Y){super.recalculate(D,Y),this.paint._values["line-floorwidth"]=ev.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,D)}createBucket(D){return new ld(D)}queryRadius(D){let Y=D,he=jf(ha("line-width",this,Y),ha("line-gap-width",this,Y)),Ce=ha("line-offset",this,Y);return he/2+Math.abs(Ce)+Xo(this.paint.get("line-translate"))}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct){let At=Aa(D,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),Xe.angle,ct),Ot=ct/2*jf(this.paint.get("line-width").evaluate(Y,he),this.paint.get("line-gap-width").evaluate(Y,he)),er=this.paint.get("line-offset").evaluate(Y,he);return er&&(Ce=function(cr,Sr){let Nr=[];for(let rn=0;rn=3){for(let Gn=0;Gn0?D+2*q:q}let gv=ht([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),sp=ht([{name:"a_projected_pos",components:3,type:"Float32"}],4);ht([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);let lp=ht([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);ht([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);let Ov=ht([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),yv=ht([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function _v(q,D,Y){return q.sections.forEach(he=>{he.text=function(Ce,Ve,Xe){let ct=Ve.layout.get("text-transform").evaluate(Xe,{});return ct==="uppercase"?Ce=Ce.toLocaleUpperCase():ct==="lowercase"&&(Ce=Ce.toLocaleLowerCase()),Js.applyArabicShaping&&(Ce=Js.applyArabicShaping(Ce)),Ce}(he.text,D,Y)}),q}ht([{name:"triangle",components:3,type:"Uint16"}]),ht([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ht([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),ht([{type:"Float32",name:"offsetX"}]),ht([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),ht([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);let Bu={"!":"\uFE15","#":"\uFF03",$:"\uFF04","%":"\uFF05","&":"\uFF06","(":"\uFE35",")":"\uFE36","*":"\uFF0A","+":"\uFF0B",",":"\uFE10","-":"\uFE32",".":"\u30FB","/":"\uFF0F",":":"\uFE13",";":"\uFE14","<":"\uFE3F","=":"\uFF1D",">":"\uFE40","?":"\uFE16","@":"\uFF20","[":"\uFE47","\\":"\uFF3C","]":"\uFE48","^":"\uFF3E",_:"\uFE33","`":"\uFF40","{":"\uFE37","|":"\u2015","}":"\uFE38","~":"\uFF5E","\xA2":"\uFFE0","\xA3":"\uFFE1","\xA5":"\uFFE5","\xA6":"\uFFE4","\xAC":"\uFFE2","\xAF":"\uFFE3","\u2013":"\uFE32","\u2014":"\uFE31","\u2018":"\uFE43","\u2019":"\uFE44","\u201C":"\uFE41","\u201D":"\uFE42","\u2026":"\uFE19","\u2027":"\u30FB","\u20A9":"\uFFE6","\u3001":"\uFE11","\u3002":"\uFE12","\u3008":"\uFE3F","\u3009":"\uFE40","\u300A":"\uFE3D","\u300B":"\uFE3E","\u300C":"\uFE41","\u300D":"\uFE42","\u300E":"\uFE43","\u300F":"\uFE44","\u3010":"\uFE3B","\u3011":"\uFE3C","\u3014":"\uFE39","\u3015":"\uFE3A","\u3016":"\uFE17","\u3017":"\uFE18","\uFF01":"\uFE15","\uFF08":"\uFE35","\uFF09":"\uFE36","\uFF0C":"\uFE10","\uFF0D":"\uFE32","\uFF0E":"\u30FB","\uFF1A":"\uFE13","\uFF1B":"\uFE14","\uFF1C":"\uFE3F","\uFF1E":"\uFE40","\uFF1F":"\uFE16","\uFF3B":"\uFE47","\uFF3D":"\uFE48","\uFF3F":"\uFE33","\uFF5B":"\uFE37","\uFF5C":"\u2015","\uFF5D":"\uFE38","\uFF5F":"\uFE35","\uFF60":"\uFE36","\uFF61":"\uFE12","\uFF62":"\uFE41","\uFF63":"\uFE42"};var Hl=24,vh=au,Bv=function(q,D,Y,he,Ce){var Ve,Xe,ct=8*Ce-he-1,At=(1<>1,er=-7,cr=Y?Ce-1:0,Sr=Y?-1:1,Nr=q[D+cr];for(cr+=Sr,Ve=Nr&(1<<-er)-1,Nr>>=-er,er+=ct;er>0;Ve=256*Ve+q[D+cr],cr+=Sr,er-=8);for(Xe=Ve&(1<<-er)-1,Ve>>=-er,er+=he;er>0;Xe=256*Xe+q[D+cr],cr+=Sr,er-=8);if(Ve===0)Ve=1-Ot;else{if(Ve===At)return Xe?NaN:1/0*(Nr?-1:1);Xe+=Math.pow(2,he),Ve-=Ot}return(Nr?-1:1)*Xe*Math.pow(2,Ve-he)},up=function(q,D,Y,he,Ce,Ve){var Xe,ct,At,Ot=8*Ve-Ce-1,er=(1<>1,Sr=Ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nr=he?0:Ve-1,rn=he?1:-1,mn=D<0||D===0&&1/D<0?1:0;for(D=Math.abs(D),isNaN(D)||D===1/0?(ct=isNaN(D)?1:0,Xe=er):(Xe=Math.floor(Math.log(D)/Math.LN2),D*(At=Math.pow(2,-Xe))<1&&(Xe--,At*=2),(D+=Xe+cr>=1?Sr/At:Sr*Math.pow(2,1-cr))*At>=2&&(Xe++,At/=2),Xe+cr>=er?(ct=0,Xe=er):Xe+cr>=1?(ct=(D*At-1)*Math.pow(2,Ce),Xe+=cr):(ct=D*Math.pow(2,cr-1)*Math.pow(2,Ce),Xe=0));Ce>=8;q[Y+Nr]=255&ct,Nr+=rn,ct/=256,Ce-=8);for(Xe=Xe<0;q[Y+Nr]=255&Xe,Nr+=rn,Xe/=256,Ot-=8);q[Y+Nr-rn]|=128*mn};function au(q){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(q)?q:new Uint8Array(q||0),this.pos=0,this.type=0,this.length=this.buf.length}au.Varint=0,au.Fixed64=1,au.Bytes=2,au.Fixed32=5;var rm=4294967296,xv=1/rm,rg=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function ed(q){return q.type===au.Bytes?q.readVarint()+q.pos:q.pos+1}function bv(q,D,Y){return Y?4294967296*D+(q>>>0):4294967296*(D>>>0)+(q>>>0)}function ng(q,D,Y){var he=D<=16383?1:D<=2097151?2:D<=268435455?3:Math.floor(Math.log(D)/(7*Math.LN2));Y.realloc(he);for(var Ce=Y.pos-1;Ce>=q;Ce--)Y.buf[Ce+he]=Y.buf[Ce]}function nm(q,D){for(var Y=0;Y>>8,q[Y+2]=D>>>16,q[Y+3]=D>>>24}function r1(q,D){return(q[D]|q[D+1]<<8|q[D+2]<<16)+(q[D+3]<<24)}au.prototype={destroy:function(){this.buf=null},readFields:function(q,D,Y){for(Y=Y||this.length;this.pos>3,Ve=this.pos;this.type=7&he,q(Ce,D,this),this.pos===Ve&&this.skip(he)}return D},readMessage:function(q,D){return this.readFields(q,D,this.readVarint()+this.pos)},readFixed32:function(){var q=Nv(this.buf,this.pos);return this.pos+=4,q},readSFixed32:function(){var q=r1(this.buf,this.pos);return this.pos+=4,q},readFixed64:function(){var q=Nv(this.buf,this.pos)+Nv(this.buf,this.pos+4)*rm;return this.pos+=8,q},readSFixed64:function(){var q=Nv(this.buf,this.pos)+r1(this.buf,this.pos+4)*rm;return this.pos+=8,q},readFloat:function(){var q=Bv(this.buf,this.pos,!0,23,4);return this.pos+=4,q},readDouble:function(){var q=Bv(this.buf,this.pos,!0,52,8);return this.pos+=8,q},readVarint:function(q){var D,Y,he=this.buf;return D=127&(Y=he[this.pos++]),Y<128?D:(D|=(127&(Y=he[this.pos++]))<<7,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<14,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<21,Y<128?D:function(Ce,Ve,Xe){var ct,At,Ot=Xe.buf;if(ct=(112&(At=Ot[Xe.pos++]))>>4,At<128||(ct|=(127&(At=Ot[Xe.pos++]))<<3,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<10,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<17,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<24,At<128)||(ct|=(1&(At=Ot[Xe.pos++]))<<31,At<128))return bv(Ce,ct,Ve);throw new Error("Expected varint not more than 10 bytes")}(D|=(15&(Y=he[this.pos]))<<28,q,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var q=this.readVarint();return q%2==1?(q+1)/-2:q/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var q=this.readVarint()+this.pos,D=this.pos;return this.pos=q,q-D>=12&&rg?function(Y,he,Ce){return rg.decode(Y.subarray(he,Ce))}(this.buf,D,q):function(Y,he,Ce){for(var Ve="",Xe=he;Xe239?4:er>223?3:er>191?2:1;if(Xe+Sr>Ce)break;Sr===1?er<128&&(cr=er):Sr===2?(192&(ct=Y[Xe+1]))==128&&(cr=(31&er)<<6|63&ct)<=127&&(cr=null):Sr===3?(At=Y[Xe+2],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&((cr=(15&er)<<12|(63&ct)<<6|63&At)<=2047||cr>=55296&&cr<=57343)&&(cr=null)):Sr===4&&(At=Y[Xe+2],Ot=Y[Xe+3],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&(192&Ot)==128&&((cr=(15&er)<<18|(63&ct)<<12|(63&At)<<6|63&Ot)<=65535||cr>=1114112)&&(cr=null)),cr===null?(cr=65533,Sr=1):cr>65535&&(cr-=65536,Ve+=String.fromCharCode(cr>>>10&1023|55296),cr=56320|1023&cr),Ve+=String.fromCharCode(cr),Xe+=Sr}return Ve}(this.buf,D,q)},readBytes:function(){var q=this.readVarint()+this.pos,D=this.buf.subarray(this.pos,q);return this.pos=q,D},readPackedVarint:function(q,D){if(this.type!==au.Bytes)return q.push(this.readVarint(D));var Y=ed(this);for(q=q||[];this.pos127;);else if(D===au.Bytes)this.pos=this.readVarint()+this.pos;else if(D===au.Fixed32)this.pos+=4;else{if(D!==au.Fixed64)throw new Error("Unimplemented type: "+D);this.pos+=8}},writeTag:function(q,D){this.writeVarint(q<<3|D)},realloc:function(q){for(var D=this.length||16;D268435455||q<0?function(D,Y){var he,Ce;if(D>=0?(he=D%4294967296|0,Ce=D/4294967296|0):(Ce=~(-D/4294967296),4294967295^(he=~(-D%4294967296))?he=he+1|0:(he=0,Ce=Ce+1|0)),D>=18446744073709552e3||D<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");Y.realloc(10),function(Ve,Xe,ct){ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,ct.buf[ct.pos]=127&(Ve>>>=7)}(he,0,Y),function(Ve,Xe){var ct=(7&Ve)<<4;Xe.buf[Xe.pos++]|=ct|((Ve>>>=3)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve)))))}(Ce,Y)}(q,this):(this.realloc(4),this.buf[this.pos++]=127&q|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=q>>>7&127))))},writeSVarint:function(q){this.writeVarint(q<0?2*-q-1:2*q)},writeBoolean:function(q){this.writeVarint(!!q)},writeString:function(q){q=String(q),this.realloc(4*q.length),this.pos++;var D=this.pos;this.pos=function(he,Ce,Ve){for(var Xe,ct,At=0;At55295&&Xe<57344){if(!ct){Xe>56319||At+1===Ce.length?(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189):ct=Xe;continue}if(Xe<56320){he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=Xe;continue}Xe=ct-55296<<10|Xe-56320|65536,ct=null}else ct&&(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=null);Xe<128?he[Ve++]=Xe:(Xe<2048?he[Ve++]=Xe>>6|192:(Xe<65536?he[Ve++]=Xe>>12|224:(he[Ve++]=Xe>>18|240,he[Ve++]=Xe>>12&63|128),he[Ve++]=Xe>>6&63|128),he[Ve++]=63&Xe|128)}return Ve}(this.buf,q,this.pos);var Y=this.pos-D;Y>=128&&ng(D,Y,this),this.pos=D-1,this.writeVarint(Y),this.pos+=Y},writeFloat:function(q){this.realloc(4),up(this.buf,q,this.pos,!0,23,4),this.pos+=4},writeDouble:function(q){this.realloc(8),up(this.buf,q,this.pos,!0,52,8),this.pos+=8},writeBytes:function(q){var D=q.length;this.writeVarint(D),this.realloc(D);for(var Y=0;Y=128&&ng(Y,he,this),this.pos=Y-1,this.writeVarint(he),this.pos+=he},writeMessage:function(q,D,Y){this.writeTag(q,au.Bytes),this.writeRawMessage(D,Y)},writePackedVarint:function(q,D){D.length&&this.writeMessage(q,nm,D)},writePackedSVarint:function(q,D){D.length&&this.writeMessage(q,Pb,D)},writePackedBoolean:function(q,D){D.length&&this.writeMessage(q,Db,D)},writePackedFloat:function(q,D){D.length&&this.writeMessage(q,Ib,D)},writePackedDouble:function(q,D){D.length&&this.writeMessage(q,Rb,D)},writePackedFixed32:function(q,D){D.length&&this.writeMessage(q,JM,D)},writePackedSFixed32:function(q,D){D.length&&this.writeMessage(q,zb,D)},writePackedFixed64:function(q,D){D.length&&this.writeMessage(q,Fb,D)},writePackedSFixed64:function(q,D){D.length&&this.writeMessage(q,Ob,D)},writeBytesField:function(q,D){this.writeTag(q,au.Bytes),this.writeBytes(D)},writeFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeFixed32(D)},writeSFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeSFixed32(D)},writeFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeFixed64(D)},writeSFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeSFixed64(D)},writeVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeVarint(D)},writeSVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeSVarint(D)},writeStringField:function(q,D){this.writeTag(q,au.Bytes),this.writeString(D)},writeFloatField:function(q,D){this.writeTag(q,au.Fixed32),this.writeFloat(D)},writeDoubleField:function(q,D){this.writeTag(q,au.Fixed64),this.writeDouble(D)},writeBooleanField:function(q,D){this.writeVarintField(q,!!D)}};var yy=r(vh);let _y=3;function $M(q,D,Y){q===1&&Y.readMessage(Bb,D)}function Bb(q,D,Y){if(q===3){let{id:he,bitmap:Ce,width:Ve,height:Xe,left:ct,top:At,advance:Ot}=Y.readMessage(n1,{});D.push({id:he,bitmap:new ps({width:Ve+2*_y,height:Xe+2*_y},Ce),metrics:{width:Ve,height:Xe,left:ct,top:At,advance:Ot}})}}function n1(q,D,Y){q===1?D.id=Y.readVarint():q===2?D.bitmap=Y.readBytes():q===3?D.width=Y.readVarint():q===4?D.height=Y.readVarint():q===5?D.left=Y.readSVarint():q===6?D.top=Y.readSVarint():q===7&&(D.advance=Y.readVarint())}let i1=_y;function xy(q){let D=0,Y=0;for(let Xe of q)D+=Xe.w*Xe.h,Y=Math.max(Y,Xe.w);q.sort((Xe,ct)=>ct.h-Xe.h);let he=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(D/.95)),Y),h:1/0}],Ce=0,Ve=0;for(let Xe of q)for(let ct=he.length-1;ct>=0;ct--){let At=he[ct];if(!(Xe.w>At.w||Xe.h>At.h)){if(Xe.x=At.x,Xe.y=At.y,Ve=Math.max(Ve,Xe.y+Xe.h),Ce=Math.max(Ce,Xe.x+Xe.w),Xe.w===At.w&&Xe.h===At.h){let Ot=he.pop();ct=0&&he>=D&&og[this.text.charCodeAt(he)];he--)Y--;this.text=this.text.substring(D,Y),this.sectionIndex=this.sectionIndex.slice(D,Y)}substring(D,Y){let he=new cp;return he.text=this.text.substring(D,Y),he.sectionIndex=this.sectionIndex.slice(D,Y),he.sections=this.sections,he}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((D,Y)=>Math.max(D,this.sections[Y].scale),0)}addTextSection(D,Y){this.text+=D.text,this.sections.push(am.forText(D.scale,D.fontStack||Y));let he=this.sections.length-1;for(let Ce=0;Ce=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function om(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=cp.fromFeature(q,Ce),Gn;cr===e.ah.vertical&&mn.verticalizePunctuation();let{processBidirectionalText:ei,processStyledBidirectionalText:Ri}=Js;if(ei&&mn.sections.length===1){Gn=[];let Gi=ei(mn.toString(),fp(mn,Ot,Ve,D,he,Nr));for(let Ha of Gi){let Po=new cp;Po.text=Ha,Po.sections=mn.sections;for(let xs=0;xs0&&hd>Qc&&(Qc=hd)}else{let ic=Po[Gl.fontStack],lf=ic&&ic[Mu];if(lf&&lf.rect)gp=lf.rect,Mc=lf.metrics;else{let hd=Ha[Gl.fontStack],iv=hd&&hd[Mu];if(!iv)continue;Mc=iv.metrics}nd=(kf-Gl.scale)*Hl}fd?(Gi.verticalizable=!0,Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=kd*Gl.scale+ma):(Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=Mc.advance*Gl.scale+ma)}Vf.length!==0&&(yu=Math.max(ks-ma,yu),wv(Vf,0,Vf.length-1,cd,Qc)),ks=0;let rd=Ra*kf+Qc;ih.lineOffset=Math.max(Qc,mh),Au+=rd,Ef=Math.max(rd,Ef),++nh}var Cf;let kh=Au-Sf,{horizontalAlign:Lh,verticalAlign:Ph}=lg(es);(function(jc,kf,mh,ih,Vf,Qc,rd,jh,Gl){let Nu=(kf-mh)*Vf,Mu=0;Mu=Qc!==rd?-jh*ih-Sf:(-ih*Gl+.5)*rd;for(let nd of jc)for(let Mc of nd.positionedGlyphs)Mc.x+=Nu,Mc.y+=Mu})(Gi.positionedLines,cd,Lh,Ph,yu,Ef,Ra,kh,_o.length),Gi.top+=-Ph*kh,Gi.bottom=Gi.top+kh,Gi.left+=-Lh*yu,Gi.right=Gi.left+yu}(Si,D,Y,he,Gn,Xe,ct,At,cr,Ot,Sr,rn),!function(Gi){for(let Ha of Gi)if(Ha.positionedGlyphs.length!==0)return!1;return!0}(fi)&&Si}let og={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Nb={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Ub={40:!0};function a1(q,D,Y,he,Ce,Ve){if(D.imageName){let Xe=he[D.imageName];return Xe?Xe.displaySize[0]*D.scale*Hl/Ve+Ce:0}{let Xe=Y[D.fontStack],ct=Xe&&Xe[q];return ct?ct.metrics.advance*D.scale+Ce:0}}function o1(q,D,Y,he){let Ce=Math.pow(q-D,2);return he?q=0,Ot=0;for(let cr=0;crOt){let er=Math.ceil(Ve/Ot);Ce*=er/Xe,Xe=er}return{x1:he,y1:Ce,x2:he+Ve,y2:Ce+Xe}}function u1(q,D,Y,he,Ce,Ve){let Xe=q.image,ct;if(Xe.content){let Gn=Xe.content,ei=Xe.pixelRatio||1;ct=[Gn[0]/ei,Gn[1]/ei,Xe.displaySize[0]-Gn[2]/ei,Xe.displaySize[1]-Gn[3]/ei]}let At=D.left*Ve,Ot=D.right*Ve,er,cr,Sr,Nr;Y==="width"||Y==="both"?(Nr=Ce[0]+At-he[3],cr=Ce[0]+Ot+he[1]):(Nr=Ce[0]+(At+Ot-Xe.displaySize[0])/2,cr=Nr+Xe.displaySize[0]);let rn=D.top*Ve,mn=D.bottom*Ve;return Y==="height"||Y==="both"?(er=Ce[1]+rn-he[0],Sr=Ce[1]+mn+he[2]):(er=Ce[1]+(rn+mn-Xe.displaySize[1])/2,Sr=er+Xe.displaySize[1]),{image:Xe,top:er,right:cr,bottom:Sr,left:Nr,collisionPadding:ct}}let lm=255,Bd=128,Tv=lm*Bd;function c1(q,D){let{expression:Y}=D;if(Y.kind==="constant")return{kind:"constant",layoutSize:Y.evaluate(new zs(q+1))};if(Y.kind==="source")return{kind:"source"};{let{zoomStops:he,interpolationType:Ce}=Y,Ve=0;for(;VeXe.id),this.index=D.index,this.pixelRatio=D.pixelRatio,this.sourceLayerIndex=D.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=Pa([]),this.placementViewportMatrix=Pa([]);let Y=this.layers[0]._unevaluatedLayout._values;this.textSizeData=c1(this.zoom,Y["text-size"]),this.iconSizeData=c1(this.zoom,Y["icon-size"]);let he=this.layers[0].layout,Ce=he.get("symbol-sort-key"),Ve=he.get("symbol-z-order");this.canOverlap=by(he,"text-overlap","text-allow-overlap")!=="never"||by(he,"icon-overlap","icon-allow-overlap")!=="never"||he.get("text-ignore-placement")||he.get("icon-ignore-placement"),this.sortFeaturesByKey=Ve!=="viewport-y"&&!Ce.isConstant(),this.sortFeaturesByY=(Ve==="viewport-y"||Ve==="auto"&&!this.sortFeaturesByKey)&&this.canOverlap,he.get("symbol-placement")==="point"&&(this.writingModes=he.get("text-writing-mode").map(Xe=>e.ah[Xe])),this.stateDependentLayerIds=this.layers.filter(Xe=>Xe.isStateDependent()).map(Xe=>Xe.id),this.sourceID=D.sourceID}createArrays(){this.text=new Ay(new tl(this.layers,this.zoom,D=>/^text/.test(D))),this.icon=new Ay(new tl(this.layers,this.zoom,D=>/^icon/.test(D))),this.glyphOffsetArray=new vs,this.lineVertexArray=new Fo,this.symbolInstances=new Io,this.textAnchorOffsets=new bs}calculateGlyphDependencies(D,Y,he,Ce,Ve){for(let Xe=0;Xe0)&&(Xe.value.kind!=="constant"||Xe.value.value.length>0),er=At.value.kind!=="constant"||!!At.value.value||Object.keys(At.parameters).length>0,cr=Ve.get("symbol-sort-key");if(this.features=[],!Ot&&!er)return;let Sr=Y.iconDependencies,Nr=Y.glyphDependencies,rn=Y.availableImages,mn=new zs(this.zoom);for(let{feature:Gn,id:ei,index:Ri,sourceLayerIndex:fi}of D){let Si=Ce._featureFilter.needGeometry,Gi=Ul(Gn,Si);if(!Ce._featureFilter.filter(mn,Gi,he))continue;let Ha,Po;if(Si||(Gi.geometry=xl(Gn)),Ot){let _o=Ce.getValueAndResolveTokens("text-field",Gi,he,rn),Ra=xn.factory(_o),es=this.hasRTLText=this.hasRTLText||Ty(Ra);(!es||Js.getRTLTextPluginStatus()==="unavailable"||es&&Js.isParsed())&&(Ha=_v(Ra,Ce,Gi))}if(er){let _o=Ce.getValueAndResolveTokens("icon-image",Gi,he,rn);Po=_o instanceof ri?_o:ri.fromString(_o)}if(!Ha&&!Po)continue;let xs=this.sortFeaturesByKey?cr.evaluate(Gi,{},he):void 0;if(this.features.push({id:ei,text:Ha,icon:Po,index:Ri,sourceLayerIndex:fi,geometry:Gi.geometry,properties:Gn.properties,type:Vb[Gn.type],sortKey:xs}),Po&&(Sr[Po.name]=!0),Ha){let _o=Xe.evaluate(Gi,{},he).join(","),Ra=Ve.get("text-rotation-alignment")!=="viewport"&&Ve.get("symbol-placement")!=="point";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(e.ah.vertical)>=0;for(let es of Ha.sections)if(es.image)Sr[es.image.name]=!0;else{let qo=Lo(Ha.toString()),Bo=es.fontStack||_o,ma=Nr[Bo]=Nr[Bo]||{};this.calculateGlyphDependencies(es.text,ma,Ra,this.allowVerticalPlacement,qo)}}}Ve.get("symbol-placement")==="line"&&(this.features=function(Gn){let ei={},Ri={},fi=[],Si=0;function Gi(_o){fi.push(Gn[_o]),Si++}function Ha(_o,Ra,es){let qo=Ri[_o];return delete Ri[_o],Ri[Ra]=qo,fi[qo].geometry[0].pop(),fi[qo].geometry[0]=fi[qo].geometry[0].concat(es[0]),qo}function Po(_o,Ra,es){let qo=ei[Ra];return delete ei[Ra],ei[_o]=qo,fi[qo].geometry[0].shift(),fi[qo].geometry[0]=es[0].concat(fi[qo].geometry[0]),qo}function xs(_o,Ra,es){let qo=es?Ra[0][Ra[0].length-1]:Ra[0][0];return`${_o}:${qo.x}:${qo.y}`}for(let _o=0;_o_o.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((Gn,ei)=>Gn.sortKey-ei.sortKey)}update(D,Y,he){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(D,Y,this.layers,he),this.icon.programConfigurations.updatePaintArrays(D,Y,this.layers,he))}isEmpty(){return this.symbolInstances.length===0&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(D){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(D),this.iconCollisionBox.upload(D)),this.text.upload(D,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(D,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(D,Y){let he=this.lineVertexArray.length;if(D.segment!==void 0){let Ce=D.dist(Y[D.segment+1]),Ve=D.dist(Y[D.segment]),Xe={};for(let ct=D.segment+1;ct=0;ct--)Xe[ct]={x:Y[ct].x,y:Y[ct].y,tileUnitDistanceFromAnchor:Ve},ct>0&&(Ve+=Y[ct-1].dist(Y[ct]));for(let ct=0;ct0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(D,Y){let he=D.placedSymbolArray.get(Y),Ce=he.vertexStartIndex+4*he.numGlyphs;for(let Ve=he.vertexStartIndex;VeCe[ct]-Ce[At]||Ve[At]-Ve[ct]),Xe}addToSortKeyRanges(D,Y){let he=this.sortKeyRanges[this.sortKeyRanges.length-1];he&&he.sortKey===Y?he.symbolInstanceEnd=D+1:this.sortKeyRanges.push({sortKey:Y,symbolInstanceStart:D,symbolInstanceEnd:D+1})}sortFeatures(D){if(this.sortFeaturesByY&&this.sortedAngle!==D&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(D),this.sortedAngle=D,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(let Y of this.symbolInstanceIndexes){let he=this.symbolInstances.get(Y);this.featureSortOrder.push(he.featureIndex),[he.rightJustifiedTextSymbolIndex,he.centerJustifiedTextSymbolIndex,he.leftJustifiedTextSymbolIndex].forEach((Ce,Ve,Xe)=>{Ce>=0&&Xe.indexOf(Ce)===Ve&&this.addIndicesForPlacedSymbol(this.text,Ce)}),he.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,he.verticalPlacedTextSymbolIndex),he.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.placedIconSymbolIndex),he.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}let Uc,um;di("SymbolBucket",hp,{omit:["layers","collisionBoxArray","features","compareText"]}),hp.MAX_GLYPHS=65535,hp.addDynamicAttributes=wy;var cg={get paint(){return um=um||new Ne({"icon-opacity":new Wo(ie.paint_symbol["icon-opacity"]),"icon-color":new Wo(ie.paint_symbol["icon-color"]),"icon-halo-color":new Wo(ie.paint_symbol["icon-halo-color"]),"icon-halo-width":new Wo(ie.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Wo(ie.paint_symbol["icon-halo-blur"]),"icon-translate":new bo(ie.paint_symbol["icon-translate"]),"icon-translate-anchor":new bo(ie.paint_symbol["icon-translate-anchor"]),"text-opacity":new Wo(ie.paint_symbol["text-opacity"]),"text-color":new Wo(ie.paint_symbol["text-color"],{runtimeType:Bt,getOverride:q=>q.textColor,hasOverride:q=>!!q.textColor}),"text-halo-color":new Wo(ie.paint_symbol["text-halo-color"]),"text-halo-width":new Wo(ie.paint_symbol["text-halo-width"]),"text-halo-blur":new Wo(ie.paint_symbol["text-halo-blur"]),"text-translate":new bo(ie.paint_symbol["text-translate"]),"text-translate-anchor":new bo(ie.paint_symbol["text-translate-anchor"])})},get layout(){return Uc=Uc||new Ne({"symbol-placement":new bo(ie.layout_symbol["symbol-placement"]),"symbol-spacing":new bo(ie.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new bo(ie.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Wo(ie.layout_symbol["symbol-sort-key"]),"symbol-z-order":new bo(ie.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new bo(ie.layout_symbol["icon-allow-overlap"]),"icon-overlap":new bo(ie.layout_symbol["icon-overlap"]),"icon-ignore-placement":new bo(ie.layout_symbol["icon-ignore-placement"]),"icon-optional":new bo(ie.layout_symbol["icon-optional"]),"icon-rotation-alignment":new bo(ie.layout_symbol["icon-rotation-alignment"]),"icon-size":new Wo(ie.layout_symbol["icon-size"]),"icon-text-fit":new bo(ie.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new bo(ie.layout_symbol["icon-text-fit-padding"]),"icon-image":new Wo(ie.layout_symbol["icon-image"]),"icon-rotate":new Wo(ie.layout_symbol["icon-rotate"]),"icon-padding":new Wo(ie.layout_symbol["icon-padding"]),"icon-keep-upright":new bo(ie.layout_symbol["icon-keep-upright"]),"icon-offset":new Wo(ie.layout_symbol["icon-offset"]),"icon-anchor":new Wo(ie.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new bo(ie.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new bo(ie.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new bo(ie.layout_symbol["text-rotation-alignment"]),"text-field":new Wo(ie.layout_symbol["text-field"]),"text-font":new Wo(ie.layout_symbol["text-font"]),"text-size":new Wo(ie.layout_symbol["text-size"]),"text-max-width":new Wo(ie.layout_symbol["text-max-width"]),"text-line-height":new bo(ie.layout_symbol["text-line-height"]),"text-letter-spacing":new Wo(ie.layout_symbol["text-letter-spacing"]),"text-justify":new Wo(ie.layout_symbol["text-justify"]),"text-radial-offset":new Wo(ie.layout_symbol["text-radial-offset"]),"text-variable-anchor":new bo(ie.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Wo(ie.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Wo(ie.layout_symbol["text-anchor"]),"text-max-angle":new bo(ie.layout_symbol["text-max-angle"]),"text-writing-mode":new bo(ie.layout_symbol["text-writing-mode"]),"text-rotate":new Wo(ie.layout_symbol["text-rotate"]),"text-padding":new bo(ie.layout_symbol["text-padding"]),"text-keep-upright":new bo(ie.layout_symbol["text-keep-upright"]),"text-transform":new Wo(ie.layout_symbol["text-transform"]),"text-offset":new Wo(ie.layout_symbol["text-offset"]),"text-allow-overlap":new bo(ie.layout_symbol["text-allow-overlap"]),"text-overlap":new bo(ie.layout_symbol["text-overlap"]),"text-ignore-placement":new bo(ie.layout_symbol["text-ignore-placement"]),"text-optional":new bo(ie.layout_symbol["text-optional"])})}};class cm{constructor(D){if(D.property.overrides===void 0)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=D.property.overrides?D.property.overrides.runtimeType:ot,this.defaultValue=D}evaluate(D){if(D.formattedSection){let Y=this.defaultValue.property.overrides;if(Y&&Y.hasOverride(D.formattedSection))return Y.getOverride(D.formattedSection)}return D.feature&&D.featureState?this.defaultValue.evaluate(D.feature,D.featureState):this.defaultValue.property.specification.default}eachChild(D){this.defaultValue.isConstant()||D(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}di("FormatSectionOverride",cm,{omit:["defaultValue"]});class Uv extends ne{constructor(D){super(D,cg)}recalculate(D,Y){if(super.recalculate(D,Y),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout._values["icon-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout._values["text-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")==="map"?"map":"viewport"),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){let he=this.layout.get("text-writing-mode");if(he){let Ce=[];for(let Ve of he)Ce.indexOf(Ve)<0&&Ce.push(Ve);this.layout._values["text-writing-mode"]=Ce}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()}getValueAndResolveTokens(D,Y,he,Ce){let Ve=this.layout.get(D).evaluate(Y,{},he,Ce),Xe=this._unevaluatedLayout._values[D];return Xe.isDataDriven()||yc(Xe.value)||!Ve?Ve:function(ct,At){return At.replace(/{([^{}]+)}/g,(Ot,er)=>ct&&er in ct?String(ct[er]):"")}(Y.properties,Ve)}createBucket(D){return new hp(D)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(let D of cg.paint.overridableProperties){if(!Uv.hasPaintOverride(this.layout,D))continue;let Y=this.paint.get(D),he=new cm(Y),Ce=new Ru(he,Y.property.specification),Ve=null;Ve=Y.value.kind==="constant"||Y.value.kind==="source"?new Rc("source",Ce):new tc("composite",Ce,Y.value.zoomStops),this.paint._values[D]=new Fu(Y.property,Ve,Y.parameters)}}_handleOverridablePaintPropertyUpdate(D,Y,he){return!(!this.layout||Y.isDataDriven()||he.isDataDriven())&&Uv.hasPaintOverride(this.layout,D)}static hasPaintOverride(D,Y){let he=D.get("text-field"),Ce=cg.paint.properties[Y],Ve=!1,Xe=ct=>{for(let At of ct)if(Ce.overrides&&Ce.overrides.hasOverride(At))return void(Ve=!0)};if(he.value.kind==="constant"&&he.value.value instanceof xn)Xe(he.value.value.sections);else if(he.value.kind==="source"){let ct=Ot=>{Ve||(Ot instanceof Pr&>(Ot.value)===Rr?Xe(Ot.value.sections):Ot instanceof Ls?Xe(Ot.sections):Ot.eachChild(ct))},At=he.value;At._styleExpression&&ct(At._styleExpression.expression)}return Ve}}let f1;var fm={get paint(){return f1=f1||new Ne({"background-color":new bo(ie.paint_background["background-color"]),"background-pattern":new hc(ie.paint_background["background-pattern"]),"background-opacity":new bo(ie.paint_background["background-opacity"])})}};class Hb extends ne{constructor(D){super(D,fm)}}let My;var h1={get paint(){return My=My||new Ne({"raster-opacity":new bo(ie.paint_raster["raster-opacity"]),"raster-hue-rotate":new bo(ie.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new bo(ie.paint_raster["raster-brightness-min"]),"raster-brightness-max":new bo(ie.paint_raster["raster-brightness-max"]),"raster-saturation":new bo(ie.paint_raster["raster-saturation"]),"raster-contrast":new bo(ie.paint_raster["raster-contrast"]),"raster-resampling":new bo(ie.paint_raster["raster-resampling"]),"raster-fade-duration":new bo(ie.paint_raster["raster-fade-duration"])})}};class hm extends ne{constructor(D){super(D,h1)}}class Sy extends ne{constructor(D){super(D,{}),this.onAdd=Y=>{this.implementation.onAdd&&this.implementation.onAdd(Y,Y.painter.context.gl)},this.onRemove=Y=>{this.implementation.onRemove&&this.implementation.onRemove(Y,Y.painter.context.gl)},this.implementation=D}is3D(){return this.implementation.renderingMode==="3d"}hasOffscreenPass(){return this.implementation.prerender!==void 0}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error("Custom layers cannot be serialized")}}class Ey{constructor(D){this._methodToThrottle=D,this._triggered=!1,typeof MessageChannel<"u"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._methodToThrottle()},0))}remove(){delete this._channel,this._methodToThrottle=()=>{}}}let Cy=63710088e-1;class tv{constructor(D,Y){if(isNaN(D)||isNaN(Y))throw new Error(`Invalid LngLat object: (${D}, ${Y})`);if(this.lng=+D,this.lat=+Y,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new tv(M(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(D){let Y=Math.PI/180,he=this.lat*Y,Ce=D.lat*Y,Ve=Math.sin(he)*Math.sin(Ce)+Math.cos(he)*Math.cos(Ce)*Math.cos((D.lng-this.lng)*Y);return Cy*Math.acos(Math.min(Ve,1))}static convert(D){if(D instanceof tv)return D;if(Array.isArray(D)&&(D.length===2||D.length===3))return new tv(Number(D[0]),Number(D[1]));if(!Array.isArray(D)&&typeof D=="object"&&D!==null)return new tv(Number("lng"in D?D.lng:D.lon),Number(D.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}let dp=2*Math.PI*Cy;function d1(q){return dp*Math.cos(q*Math.PI/180)}function fg(q){return(180+q)/360}function v1(q){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q*Math.PI/360)))/360}function hg(q,D){return q/d1(D)}function dm(q){return 360/Math.PI*Math.atan(Math.exp((180-360*q)*Math.PI/180))-90}class vm{constructor(D,Y,he=0){this.x=+D,this.y=+Y,this.z=+he}static fromLngLat(D,Y=0){let he=tv.convert(D);return new vm(fg(he.lng),v1(he.lat),hg(Y,he.lat))}toLngLat(){return new tv(360*this.x-180,dm(this.y))}toAltitude(){return this.z*d1(dm(this.y))}meterInMercatorCoordinateUnits(){return 1/dp*(D=dm(this.y),1/Math.cos(D*Math.PI/180));var D}}function bd(q,D,Y){var he=2*Math.PI*6378137/256/Math.pow(2,Y);return[q*he-2*Math.PI*6378137/2,D*he-2*Math.PI*6378137/2]}class ky{constructor(D,Y,he){if(!function(Ce,Ve,Xe){return!(Ce<0||Ce>25||Xe<0||Xe>=Math.pow(2,Ce)||Ve<0||Ve>=Math.pow(2,Ce))}(D,Y,he))throw new Error(`x=${Y}, y=${he}, z=${D} outside of bounds. 0<=x<${Math.pow(2,D)}, 0<=y<${Math.pow(2,D)} 0<=z<=25 `);this.z=D,this.x=Y,this.y=he,this.key=pm(0,D,D,Y,he)}equals(D){return this.z===D.z&&this.x===D.x&&this.y===D.y}url(D,Y,he){let Ce=(Xe=this.y,ct=this.z,At=bd(256*(Ve=this.x),256*(Xe=Math.pow(2,ct)-Xe-1),ct),Ot=bd(256*(Ve+1),256*(Xe+1),ct),At[0]+","+At[1]+","+Ot[0]+","+Ot[1]);var Ve,Xe,ct,At,Ot;let er=function(cr,Sr,Nr){let rn,mn="";for(let Gn=cr;Gn>0;Gn--)rn=1<1?"@2x":"").replace(/{quadkey}/g,er).replace(/{bbox-epsg-3857}/g,Ce)}isChildOf(D){let Y=this.z-D.z;return Y>0&&D.x===this.x>>Y&&D.y===this.y>>Y}getTilePoint(D){let Y=Math.pow(2,this.z);return new i((D.x*Y-this.x)*wo,(D.y*Y-this.y)*wo)}toString(){return`${this.z}/${this.x}/${this.y}`}}class p1{constructor(D,Y){this.wrap=D,this.canonical=Y,this.key=pm(D,Y.z,Y.z,Y.x,Y.y)}}class ud{constructor(D,Y,he,Ce,Ve){if(D= z; overscaledZ = ${D}; z = ${he}`);this.overscaledZ=D,this.wrap=Y,this.canonical=new ky(he,+Ce,+Ve),this.key=pm(Y,D,he,Ce,Ve)}clone(){return new ud(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(D){return this.overscaledZ===D.overscaledZ&&this.wrap===D.wrap&&this.canonical.equals(D.canonical)}scaledTo(D){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let Y=this.canonical.z-D;return D>this.canonical.z?new ud(D,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ud(D,this.wrap,D,this.canonical.x>>Y,this.canonical.y>>Y)}calculateScaledKey(D,Y){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let he=this.canonical.z-D;return D>this.canonical.z?pm(this.wrap*+Y,D,this.canonical.z,this.canonical.x,this.canonical.y):pm(this.wrap*+Y,D,D,this.canonical.x>>he,this.canonical.y>>he)}isChildOf(D){if(D.wrap!==this.wrap)return!1;let Y=this.canonical.z-D.canonical.z;return D.overscaledZ===0||D.overscaledZ>Y&&D.canonical.y===this.canonical.y>>Y}children(D){if(this.overscaledZ>=D)return[new ud(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];let Y=this.canonical.z+1,he=2*this.canonical.x,Ce=2*this.canonical.y;return[new ud(Y,this.wrap,Y,he,Ce),new ud(Y,this.wrap,Y,he+1,Ce),new ud(Y,this.wrap,Y,he,Ce+1),new ud(Y,this.wrap,Y,he+1,Ce+1)]}isLessThan(D){return this.wrapD.wrap)&&(this.overscaledZD.overscaledZ)&&(this.canonical.xD.canonical.x)&&this.canonical.ythis.max&&(this.max=cr),cr=this.dim+1||Y<-1||Y>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(Y+1)*this.stride+(D+1)}unpack(D,Y,he){return D*this.redFactor+Y*this.greenFactor+he*this.blueFactor-this.baseShift}getPixels(){return new Na({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(D,Y,he){if(this.dim!==D.dim)throw new Error("dem dimension mismatch");let Ce=Y*this.dim,Ve=Y*this.dim+this.dim,Xe=he*this.dim,ct=he*this.dim+this.dim;switch(Y){case-1:Ce=Ve-1;break;case 1:Ve=Ce+1}switch(he){case-1:Xe=ct-1;break;case 1:ct=Xe+1}let At=-Y*this.dim,Ot=-he*this.dim;for(let er=Xe;er=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${D} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[D]}}class Ly{constructor(D,Y,he,Ce,Ve){this.type="Feature",this._vectorTileFeature=D,D._z=Y,D._x=he,D._y=Ce,this.properties=D.properties,this.id=Ve}get geometry(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(D){this._geometry=D}toJSON(){let D={geometry:this.geometry};for(let Y in this)Y!=="_geometry"&&Y!=="_vectorTileFeature"&&(D[Y]=this[Y]);return D}}class jv{constructor(D,Y){this.tileID=D,this.x=D.canonical.x,this.y=D.canonical.y,this.z=D.canonical.z,this.grid=new zi(wo,16,0),this.grid3D=new zi(wo,16,0),this.featureIndexArray=new al,this.promoteId=Y}insert(D,Y,he,Ce,Ve,Xe){let ct=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(he,Ce,Ve);let At=Xe?this.grid3D:this.grid;for(let Ot=0;Ot=0&&cr[3]>=0&&At.insert(ct,cr[0],cr[1],cr[2],cr[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new Xn.VectorTile(new yy(this.rawTileData)).layers,this.sourceLayerCoder=new g1(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers}query(D,Y,he,Ce){this.loadVTLayers();let Ve=D.params||{},Xe=wo/D.tileSize/D.scale,ct=_c(Ve.filter),At=D.queryGeometry,Ot=D.queryPadding*Xe,er=_1(At),cr=this.grid.query(er.minX-Ot,er.minY-Ot,er.maxX+Ot,er.maxY+Ot),Sr=_1(D.cameraQueryGeometry),Nr=this.grid3D.query(Sr.minX-Ot,Sr.minY-Ot,Sr.maxX+Ot,Sr.maxY+Ot,(Gn,ei,Ri,fi)=>function(Si,Gi,Ha,Po,xs){for(let Ra of Si)if(Gi<=Ra.x&&Ha<=Ra.y&&Po>=Ra.x&&xs>=Ra.y)return!0;let _o=[new i(Gi,Ha),new i(Gi,xs),new i(Po,xs),new i(Po,Ha)];if(Si.length>2){for(let Ra of _o)if(Ca(Si,Ra))return!0}for(let Ra=0;Ra(fi||(fi=xl(Si)),Gi.queryIntersectsFeature(At,Si,Ha,fi,this.z,D.transform,Xe,D.pixelPosMatrix)))}return rn}loadMatchingFeature(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=this.bucketLayerIDs[Y];if(Xe&&!function(Gn,ei){for(let Ri=0;Ri=0)return!0;return!1}(Xe,Sr))return;let Nr=this.sourceLayerCoder.decode(he),rn=this.vtLayers[Nr].feature(Ce);if(Ve.needGeometry){let Gn=Ul(rn,!0);if(!Ve.filter(new zs(this.tileID.overscaledZ),Gn,this.tileID.canonical))return}else if(!Ve.filter(new zs(this.tileID.overscaledZ),rn))return;let mn=this.getId(rn,Nr);for(let Gn=0;Gn{let ct=D instanceof wc?D.get(Xe):null;return ct&&ct.evaluate?ct.evaluate(Y,he,Ce):ct})}function _1(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return{minX:D,minY:Y,maxX:he,maxY:Ce}}function Gb(q,D){return D-q}function x1(q,D,Y,he,Ce){let Ve=[];for(let Xe=0;Xe=he&&cr.x>=he||(er.x>=he?er=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round():cr.x>=he&&(cr=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round()),er.y>=Ce&&cr.y>=Ce||(er.y>=Ce?er=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round():cr.y>=Ce&&(cr=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round()),At&&er.equals(At[At.length-1])||(At=[er],Ve.push(At)),At.push(cr)))))}}return Ve}di("FeatureIndex",jv,{omit:["rawTileData","sourceLayerCoder"]});class rv extends i{constructor(D,Y,he,Ce){super(D,Y),this.angle=he,Ce!==void 0&&(this.segment=Ce)}clone(){return new rv(this.x,this.y,this.angle,this.segment)}}function Py(q,D,Y,he,Ce){if(D.segment===void 0||Y===0)return!0;let Ve=D,Xe=D.segment+1,ct=0;for(;ct>-Y/2;){if(Xe--,Xe<0)return!1;ct-=q[Xe].dist(Ve),Ve=q[Xe]}ct+=q[Xe].dist(q[Xe+1]),Xe++;let At=[],Ot=0;for(;cthe;)Ot-=At.shift().angleDelta;if(Ot>Ce)return!1;Xe++,ct+=er.dist(cr)}return!0}function b1(q){let D=0;for(let Y=0;YOt){let rn=(Ot-At)/Nr,mn=yo.number(cr.x,Sr.x,rn),Gn=yo.number(cr.y,Sr.y,rn),ei=new rv(mn,Gn,Sr.angleTo(cr),er);return ei._round(),!Xe||Py(q,ei,ct,Xe,D)?ei:void 0}At+=Nr}}function Xb(q,D,Y,he,Ce,Ve,Xe,ct,At){let Ot=w1(he,Ve,Xe),er=T1(he,Ce),cr=er*Xe,Sr=q[0].x===0||q[0].x===At||q[0].y===0||q[0].y===At;return D-cr=0&&Si=0&&Gi=0&&Sr+Ot<=er){let Ha=new rv(Si,Gi,Ri,rn);Ha._round(),he&&!Py(q,Ha,Ve,he,Ce)||Nr.push(Ha)}}cr+=ei}return ct||Nr.length||Xe||(Nr=A1(q,cr/2,Y,he,Ce,Ve,Xe,!0,At)),Nr}di("Anchor",rv);let vp=ph;function M1(q,D,Y,he){let Ce=[],Ve=q.image,Xe=Ve.pixelRatio,ct=Ve.paddedRect.w-2*vp,At=Ve.paddedRect.h-2*vp,Ot={x1:q.left,y1:q.top,x2:q.right,y2:q.bottom},er=Ve.stretchX||[[0,ct]],cr=Ve.stretchY||[[0,At]],Sr=(ma,us)=>ma+us[1]-us[0],Nr=er.reduce(Sr,0),rn=cr.reduce(Sr,0),mn=ct-Nr,Gn=At-rn,ei=0,Ri=Nr,fi=0,Si=rn,Gi=0,Ha=mn,Po=0,xs=Gn;if(Ve.content&&he){let ma=Ve.content,us=ma[2]-ma[0],No=ma[3]-ma[1];(Ve.textFitWidth||Ve.textFitHeight)&&(Ot=l1(q)),ei=nv(er,0,ma[0]),fi=nv(cr,0,ma[1]),Ri=nv(er,ma[0],ma[2]),Si=nv(cr,ma[1],ma[3]),Gi=ma[0]-ei,Po=ma[1]-fi,Ha=us-Ri,xs=No-Si}let _o=Ot.x1,Ra=Ot.y1,es=Ot.x2-_o,qo=Ot.y2-Ra,Bo=(ma,us,No,ks)=>{let Au=dg(ma.stretch-ei,Ri,es,_o),yu=pp(ma.fixed-Gi,Ha,ma.stretch,Nr),Ef=dg(us.stretch-fi,Si,qo,Ra),cd=pp(us.fixed-Po,xs,us.stretch,rn),nh=dg(No.stretch-ei,Ri,es,_o),Cf=pp(No.fixed-Gi,Ha,No.stretch,Nr),kh=dg(ks.stretch-fi,Si,qo,Ra),Lh=pp(ks.fixed-Po,xs,ks.stretch,rn),Ph=new i(Au,Ef),jc=new i(nh,Ef),kf=new i(nh,kh),mh=new i(Au,kh),ih=new i(yu/Xe,cd/Xe),Vf=new i(Cf/Xe,Lh/Xe),Qc=D*Math.PI/180;if(Qc){let Gl=Math.sin(Qc),Nu=Math.cos(Qc),Mu=[Nu,-Gl,Gl,Nu];Ph._matMult(Mu),jc._matMult(Mu),mh._matMult(Mu),kf._matMult(Mu)}let rd=ma.stretch+ma.fixed,jh=us.stretch+us.fixed;return{tl:Ph,tr:jc,bl:mh,br:kf,tex:{x:Ve.paddedRect.x+vp+rd,y:Ve.paddedRect.y+vp+jh,w:No.stretch+No.fixed-rd,h:ks.stretch+ks.fixed-jh},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:ih,pixelOffsetBR:Vf,minFontScaleX:Ha/Xe/es,minFontScaleY:xs/Xe/qo,isSDF:Y}};if(he&&(Ve.stretchX||Ve.stretchY)){let ma=S1(er,mn,Nr),us=S1(cr,Gn,rn);for(let No=0;No0&&(mn=Math.max(10,mn),this.circleDiameter=mn)}else{let Sr=!((cr=Xe.image)===null||cr===void 0)&&cr.content&&(Xe.image.textFitWidth||Xe.image.textFitHeight)?l1(Xe):{x1:Xe.left,y1:Xe.top,x2:Xe.right,y2:Xe.bottom};Sr.y1=Sr.y1*ct-At[0],Sr.y2=Sr.y2*ct+At[2],Sr.x1=Sr.x1*ct-At[3],Sr.x2=Sr.x2*ct+At[1];let Nr=Xe.collisionPadding;if(Nr&&(Sr.x1-=Nr[0]*ct,Sr.y1-=Nr[1]*ct,Sr.x2+=Nr[2]*ct,Sr.y2+=Nr[3]*ct),er){let rn=new i(Sr.x1,Sr.y1),mn=new i(Sr.x2,Sr.y1),Gn=new i(Sr.x1,Sr.y2),ei=new i(Sr.x2,Sr.y2),Ri=er*Math.PI/180;rn._rotate(Ri),mn._rotate(Ri),Gn._rotate(Ri),ei._rotate(Ri),Sr.x1=Math.min(rn.x,mn.x,Gn.x,ei.x),Sr.x2=Math.max(rn.x,mn.x,Gn.x,ei.x),Sr.y1=Math.min(rn.y,mn.y,Gn.y,ei.y),Sr.y2=Math.max(rn.y,mn.y,Gn.y,ei.y)}D.emplaceBack(Y.x,Y.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,he,Ce,Ve)}this.boxEndIndex=D.length}}class Cd{constructor(D=[],Y=(he,Ce)=>heCe?1:0){if(this.data=D,this.length=this.data.length,this.compare=Y,this.length>0)for(let he=(this.length>>1)-1;he>=0;he--)this._down(he)}push(D){this.data.push(D),this._up(this.length++)}pop(){if(this.length===0)return;let D=this.data[0],Y=this.data.pop();return--this.length>0&&(this.data[0]=Y,this._down(0)),D}peek(){return this.data[0]}_up(D){let{data:Y,compare:he}=this,Ce=Y[D];for(;D>0;){let Ve=D-1>>1,Xe=Y[Ve];if(he(Ce,Xe)>=0)break;Y[D]=Xe,D=Ve}Y[D]=Ce}_down(D){let{data:Y,compare:he}=this,Ce=this.length>>1,Ve=Y[D];for(;D=0)break;Y[D]=Y[Xe],D=Xe}Y[D]=Ve}}function Zb(q,D=1,Y=!1){let he=1/0,Ce=1/0,Ve=-1/0,Xe=-1/0,ct=q[0];for(let Nr=0;NrVe)&&(Ve=rn.x),(!Nr||rn.y>Xe)&&(Xe=rn.y)}let At=Math.min(Ve-he,Xe-Ce),Ot=At/2,er=new Cd([],Yb);if(At===0)return new i(he,Ce);for(let Nr=he;Nrcr.d||!cr.d)&&(cr=Nr,Y&&console.log("found best %d after %d probes",Math.round(1e4*Nr.d)/1e4,Sr)),Nr.max-cr.d<=D||(Ot=Nr.h/2,er.push(new mp(Nr.p.x-Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x-Ot,Nr.p.y+Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y+Ot,Ot,q)),Sr+=4)}return Y&&(console.log(`num probes: ${Sr}`),console.log(`best distance: ${cr.d}`)),cr.p}function Yb(q,D){return D.max-q.max}function mp(q,D,Y,he){this.p=new i(q,D),this.h=Y,this.d=function(Ce,Ve){let Xe=!1,ct=1/0;for(let At=0;AtCe.y!=rn.y>Ce.y&&Ce.x<(rn.x-Nr.x)*(Ce.y-Nr.y)/(rn.y-Nr.y)+Nr.x&&(Xe=!Xe),ct=Math.min(ct,Oi(Ce,Nr,rn))}}return(Xe?1:-1)*Math.sqrt(ct)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}var rh;e.aq=void 0,(rh=e.aq||(e.aq={}))[rh.center=1]="center",rh[rh.left=2]="left",rh[rh.right=3]="right",rh[rh.top=4]="top",rh[rh.bottom=5]="bottom",rh[rh["top-left"]=6]="top-left",rh[rh["top-right"]=7]="top-right",rh[rh["bottom-left"]=8]="bottom-left",rh[rh["bottom-right"]=9]="bottom-right";let Sv=7,Vv=Number.POSITIVE_INFINITY;function Iy(q,D){return D[1]!==Vv?function(Y,he,Ce){let Ve=0,Xe=0;switch(he=Math.abs(he),Ce=Math.abs(Ce),Y){case"top-right":case"top-left":case"top":Xe=Ce-Sv;break;case"bottom-right":case"bottom-left":case"bottom":Xe=-Ce+Sv}switch(Y){case"top-right":case"bottom-right":case"right":Ve=-he;break;case"top-left":case"bottom-left":case"left":Ve=he}return[Ve,Xe]}(q,D[0],D[1]):function(Y,he){let Ce=0,Ve=0;he<0&&(he=0);let Xe=he/Math.SQRT2;switch(Y){case"top-right":case"top-left":Ve=Xe-Sv;break;case"bottom-right":case"bottom-left":Ve=-Xe+Sv;break;case"bottom":Ve=-he+Sv;break;case"top":Ve=he-Sv}switch(Y){case"top-right":case"bottom-right":Ce=-Xe;break;case"top-left":case"bottom-left":Ce=Xe;break;case"left":Ce=he;break;case"right":Ce=-he}return[Ce,Ve]}(q,D[0])}function E1(q,D,Y){var he;let Ce=q.layout,Ve=(he=Ce.get("text-variable-anchor-offset"))===null||he===void 0?void 0:he.evaluate(D,{},Y);if(Ve){let ct=Ve.values,At=[];for(let Ot=0;OtSr*Hl);er.startsWith("top")?cr[1]-=Sv:er.startsWith("bottom")&&(cr[1]+=Sv),At[Ot+1]=cr}return new Wn(At)}let Xe=Ce.get("text-variable-anchor");if(Xe){let ct;ct=q._unevaluatedLayout.getValue("text-radial-offset")!==void 0?[Ce.get("text-radial-offset").evaluate(D,{},Y)*Hl,Vv]:Ce.get("text-offset").evaluate(D,{},Y).map(Ot=>Ot*Hl);let At=[];for(let Ot of Xe)At.push(Ot,Iy(Ot,ct));return new Wn(At)}return null}function Ry(q){switch(q){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function Kb(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=Ve.textMaxSize.evaluate(D,{});cr===void 0&&(cr=Xe);let Sr=q.layers[0].layout,Nr=Sr.get("icon-offset").evaluate(D,{},er),rn=k1(Y.horizontal),mn=Xe/24,Gn=q.tilePixelRatio*mn,ei=q.tilePixelRatio*cr/24,Ri=q.tilePixelRatio*ct,fi=q.tilePixelRatio*Sr.get("symbol-spacing"),Si=Sr.get("text-padding")*q.tilePixelRatio,Gi=function(ma,us,No,ks=1){let Au=ma.get("icon-padding").evaluate(us,{},No),yu=Au&&Au.values;return[yu[0]*ks,yu[1]*ks,yu[2]*ks,yu[3]*ks]}(Sr,D,er,q.tilePixelRatio),Ha=Sr.get("text-max-angle")/180*Math.PI,Po=Sr.get("text-rotation-alignment")!=="viewport"&&Sr.get("symbol-placement")!=="point",xs=Sr.get("icon-rotation-alignment")==="map"&&Sr.get("symbol-placement")!=="point",_o=Sr.get("symbol-placement"),Ra=fi/2,es=Sr.get("icon-text-fit"),qo;he&&es!=="none"&&(q.allowVerticalPlacement&&Y.vertical&&(qo=u1(he,Y.vertical,es,Sr.get("icon-text-fit-padding"),Nr,mn)),rn&&(he=u1(he,rn,es,Sr.get("icon-text-fit-padding"),Nr,mn)));let Bo=(ma,us)=>{us.x<0||us.x>=wo||us.y<0||us.y>=wo||function(No,ks,Au,yu,Ef,cd,nh,Cf,kh,Lh,Ph,jc,kf,mh,ih,Vf,Qc,rd,jh,Gl,Nu,Mu,nd,Mc,gp){let Nd=No.addToLineVertexArray(ks,Au),kd,fd,ic,lf,hd=0,iv=0,Vh=0,yp=0,By=-1,gg=-1,Ud={},qv=ai("");if(No.allowVerticalPlacement&&yu.vertical){let gh=Cf.layout.get("text-rotate").evaluate(Nu,{},Mc)+90;ic=new Mv(kh,ks,Lh,Ph,jc,yu.vertical,kf,mh,ih,gh),nh&&(lf=new Mv(kh,ks,Lh,Ph,jc,nh,Qc,rd,ih,gh))}if(Ef){let gh=Cf.layout.get("icon-rotate").evaluate(Nu,{}),dd=Cf.layout.get("icon-text-fit")!=="none",Ev=M1(Ef,gh,nd,dd),Ih=nh?M1(nh,gh,nd,dd):void 0;fd=new Mv(kh,ks,Lh,Ph,jc,Ef,Qc,rd,!1,gh),hd=4*Ev.length;let yh=No.iconSizeData,Td=null;yh.kind==="source"?(Td=[Bd*Cf.layout.get("icon-size").evaluate(Nu,{})],Td[0]>Tv&&f(`${No.layerIds[0]}: Value for "icon-size" is >= ${lm}. Reduce your "icon-size".`)):yh.kind==="composite"&&(Td=[Bd*Mu.compositeIconSizes[0].evaluate(Nu,{},Mc),Bd*Mu.compositeIconSizes[1].evaluate(Nu,{},Mc)],(Td[0]>Tv||Td[1]>Tv)&&f(`${No.layerIds[0]}: Value for "icon-size" is >= ${lm}. Reduce your "icon-size".`)),No.addSymbols(No.icon,Ev,Td,Gl,jh,Nu,e.ah.none,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),By=No.icon.placedSymbolArray.length-1,Ih&&(iv=4*Ih.length,No.addSymbols(No.icon,Ih,Td,Gl,jh,Nu,e.ah.vertical,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),gg=No.icon.placedSymbolArray.length-1)}let qf=Object.keys(yu.horizontal);for(let gh of qf){let dd=yu.horizontal[gh];if(!kd){qv=ai(dd.text);let Ih=Cf.layout.get("text-rotate").evaluate(Nu,{},Mc);kd=new Mv(kh,ks,Lh,Ph,jc,dd,kf,mh,ih,Ih)}let Ev=dd.positionedLines.length===1;if(Vh+=C1(No,ks,dd,cd,Cf,ih,Nu,Vf,Nd,yu.vertical?e.ah.horizontal:e.ah.horizontalOnly,Ev?qf:[gh],Ud,By,Mu,Mc),Ev)break}yu.vertical&&(yp+=C1(No,ks,yu.vertical,cd,Cf,ih,Nu,Vf,Nd,e.ah.vertical,["vertical"],Ud,gg,Mu,Mc));let Qb=kd?kd.boxStartIndex:No.collisionBoxArray.length,yg=kd?kd.boxEndIndex:No.collisionBoxArray.length,jd=ic?ic.boxStartIndex:No.collisionBoxArray.length,qh=ic?ic.boxEndIndex:No.collisionBoxArray.length,R1=fd?fd.boxStartIndex:No.collisionBoxArray.length,ew=fd?fd.boxEndIndex:No.collisionBoxArray.length,D1=lf?lf.boxStartIndex:No.collisionBoxArray.length,tw=lf?lf.boxEndIndex:No.collisionBoxArray.length,wd=-1,ym=(gh,dd)=>gh&&gh.circleDiameter?Math.max(gh.circleDiameter,dd):dd;wd=ym(kd,wd),wd=ym(ic,wd),wd=ym(fd,wd),wd=ym(lf,wd);let _g=wd>-1?1:0;_g&&(wd*=gp/Hl),No.glyphOffsetArray.length>=hp.MAX_GLYPHS&&f("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nu.sortKey!==void 0&&No.addToSortKeyRanges(No.symbolInstances.length,Nu.sortKey);let Ny=E1(Cf,Nu,Mc),[rw,nw]=function(gh,dd){let Ev=gh.length,Ih=dd?.values;if(Ih?.length>0)for(let yh=0;yh=0?Ud.right:-1,Ud.center>=0?Ud.center:-1,Ud.left>=0?Ud.left:-1,Ud.vertical||-1,By,gg,qv,Qb,yg,jd,qh,R1,ew,D1,tw,Lh,Vh,yp,hd,iv,_g,0,kf,wd,rw,nw)}(q,us,ma,Y,he,Ce,qo,q.layers[0],q.collisionBoxArray,D.index,D.sourceLayerIndex,q.index,Gn,[Si,Si,Si,Si],Po,At,Ri,Gi,xs,Nr,D,Ve,Ot,er,Xe)};if(_o==="line")for(let ma of x1(D.geometry,0,0,wo,wo)){let us=Xb(ma,fi,Ha,Y.vertical||rn,he,24,ei,q.overscaling,wo);for(let No of us)rn&&Jb(q,rn.text,Ra,No)||Bo(ma,No)}else if(_o==="line-center"){for(let ma of D.geometry)if(ma.length>1){let us=Wb(ma,Ha,Y.vertical||rn,he,24,ei);us&&Bo(ma,us)}}else if(D.type==="Polygon")for(let ma of kc(D.geometry,0)){let us=Zb(ma,16);Bo(ma[0],new rv(us.x,us.y,0))}else if(D.type==="LineString")for(let ma of D.geometry)Bo(ma,new rv(ma[0].x,ma[0].y,0));else if(D.type==="Point")for(let ma of D.geometry)for(let us of ma)Bo([us],new rv(us.x,us.y,0))}function C1(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=function(Ri,fi,Si,Gi,Ha,Po,xs,_o){let Ra=Gi.layout.get("text-rotate").evaluate(Po,{})*Math.PI/180,es=[];for(let qo of fi.positionedLines)for(let Bo of qo.positionedGlyphs){if(!Bo.rect)continue;let ma=Bo.rect||{},us=i1+1,No=!0,ks=1,Au=0,yu=(Ha||_o)&&Bo.vertical,Ef=Bo.metrics.advance*Bo.scale/2;if(_o&&fi.verticalizable&&(Au=qo.lineOffset/2-(Bo.imageName?-(Hl-Bo.metrics.width*Bo.scale)/2:(Bo.scale-1)*Hl)),Bo.imageName){let Gl=xs[Bo.imageName];No=Gl.sdf,ks=Gl.pixelRatio,us=ph/ks}let cd=Ha?[Bo.x+Ef,Bo.y]:[0,0],nh=Ha?[0,0]:[Bo.x+Ef+Si[0],Bo.y+Si[1]-Au],Cf=[0,0];yu&&(Cf=nh,nh=[0,0]);let kh=Bo.metrics.isDoubleResolution?2:1,Lh=(Bo.metrics.left-us)*Bo.scale-Ef+nh[0],Ph=(-Bo.metrics.top-us)*Bo.scale+nh[1],jc=Lh+ma.w/kh*Bo.scale/ks,kf=Ph+ma.h/kh*Bo.scale/ks,mh=new i(Lh,Ph),ih=new i(jc,Ph),Vf=new i(Lh,kf),Qc=new i(jc,kf);if(yu){let Gl=new i(-Ef,Ef-Sf),Nu=-Math.PI/2,Mu=Hl/2-Ef,nd=new i(5-Sf-Mu,-(Bo.imageName?Mu:0)),Mc=new i(...Cf);mh._rotateAround(Nu,Gl)._add(nd)._add(Mc),ih._rotateAround(Nu,Gl)._add(nd)._add(Mc),Vf._rotateAround(Nu,Gl)._add(nd)._add(Mc),Qc._rotateAround(Nu,Gl)._add(nd)._add(Mc)}if(Ra){let Gl=Math.sin(Ra),Nu=Math.cos(Ra),Mu=[Nu,-Gl,Gl,Nu];mh._matMult(Mu),ih._matMult(Mu),Vf._matMult(Mu),Qc._matMult(Mu)}let rd=new i(0,0),jh=new i(0,0);es.push({tl:mh,tr:ih,bl:Vf,br:Qc,tex:ma,writingMode:fi.writingMode,glyphOffset:cd,sectionIndex:Bo.sectionIndex,isSDF:No,pixelOffsetTL:rd,pixelOffsetBR:jh,minFontScaleX:0,minFontScaleY:0})}return es}(0,Y,ct,Ce,Ve,Xe,he,q.allowVerticalPlacement),Gn=q.textSizeData,ei=null;Gn.kind==="source"?(ei=[Bd*Ce.layout.get("text-size").evaluate(Xe,{})],ei[0]>Tv&&f(`${q.layerIds[0]}: Value for "text-size" is >= ${lm}. Reduce your "text-size".`)):Gn.kind==="composite"&&(ei=[Bd*Nr.compositeTextSizes[0].evaluate(Xe,{},rn),Bd*Nr.compositeTextSizes[1].evaluate(Xe,{},rn)],(ei[0]>Tv||ei[1]>Tv)&&f(`${q.layerIds[0]}: Value for "text-size" is >= ${lm}. Reduce your "text-size".`)),q.addSymbols(q.text,mn,ei,ct,Ve,Xe,Ot,D,At.lineStartIndex,At.lineLength,Sr,rn);for(let Ri of er)cr[Ri]=q.text.placedSymbolArray.length-1;return 4*mn.length}function k1(q){for(let D in q)return q[D];return null}function Jb(q,D,Y,he){let Ce=q.compareText;if(D in Ce){let Ve=Ce[D];for(let Xe=Ve.length-1;Xe>=0;Xe--)if(he.dist(Ve[Xe])>4;if(Ce!==1)throw new Error(`Got v${Ce} data when expected v1.`);let Ve=L1[15&he];if(!Ve)throw new Error("Unrecognized array type.");let[Xe]=new Uint16Array(D,2,1),[ct]=new Uint32Array(D,4,1);return new Dy(ct,Xe,Ve,D)}constructor(D,Y=64,he=Float64Array,Ce){if(isNaN(D)||D<0)throw new Error(`Unpexpected numItems value: ${D}.`);this.numItems=+D,this.nodeSize=Math.min(Math.max(+Y,2),65535),this.ArrayType=he,this.IndexArrayType=D<65536?Uint16Array:Uint32Array;let Ve=L1.indexOf(this.ArrayType),Xe=2*D*this.ArrayType.BYTES_PER_ELEMENT,ct=D*this.IndexArrayType.BYTES_PER_ELEMENT,At=(8-ct%8)%8;if(Ve<0)throw new Error(`Unexpected typed array class: ${he}.`);Ce&&Ce instanceof ArrayBuffer?(this.data=Ce,this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=2*D,this._finished=!0):(this.data=new ArrayBuffer(8+Xe+ct+At),this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+Ve]),new Uint16Array(this.data,2,1)[0]=Y,new Uint32Array(this.data,4,1)[0]=D)}add(D,Y){let he=this._pos>>1;return this.ids[he]=he,this.coords[this._pos++]=D,this.coords[this._pos++]=Y,he}finish(){let D=this._pos>>1;if(D!==this.numItems)throw new Error(`Added ${D} items when expected ${this.numItems}.`);return vg(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(D,Y,he,Ce){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:Ve,coords:Xe,nodeSize:ct}=this,At=[0,Ve.length-1,0],Ot=[];for(;At.length;){let er=At.pop()||0,cr=At.pop()||0,Sr=At.pop()||0;if(cr-Sr<=ct){for(let Gn=Sr;Gn<=cr;Gn++){let ei=Xe[2*Gn],Ri=Xe[2*Gn+1];ei>=D&&ei<=he&&Ri>=Y&&Ri<=Ce&&Ot.push(Ve[Gn])}continue}let Nr=Sr+cr>>1,rn=Xe[2*Nr],mn=Xe[2*Nr+1];rn>=D&&rn<=he&&mn>=Y&&mn<=Ce&&Ot.push(Ve[Nr]),(er===0?D<=rn:Y<=mn)&&(At.push(Sr),At.push(Nr-1),At.push(1-er)),(er===0?he>=rn:Ce>=mn)&&(At.push(Nr+1),At.push(cr),At.push(1-er))}return Ot}within(D,Y,he){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:Ce,coords:Ve,nodeSize:Xe}=this,ct=[0,Ce.length-1,0],At=[],Ot=he*he;for(;ct.length;){let er=ct.pop()||0,cr=ct.pop()||0,Sr=ct.pop()||0;if(cr-Sr<=Xe){for(let Gn=Sr;Gn<=cr;Gn++)I1(Ve[2*Gn],Ve[2*Gn+1],D,Y)<=Ot&&At.push(Ce[Gn]);continue}let Nr=Sr+cr>>1,rn=Ve[2*Nr],mn=Ve[2*Nr+1];I1(rn,mn,D,Y)<=Ot&&At.push(Ce[Nr]),(er===0?D-he<=rn:Y-he<=mn)&&(ct.push(Sr),ct.push(Nr-1),ct.push(1-er)),(er===0?D+he>=rn:Y+he>=mn)&&(ct.push(Nr+1),ct.push(cr),ct.push(1-er))}return At}}function vg(q,D,Y,he,Ce,Ve){if(Ce-he<=Y)return;let Xe=he+Ce>>1;P1(q,D,Xe,he,Ce,Ve),vg(q,D,Y,he,Xe-1,1-Ve),vg(q,D,Y,Xe+1,Ce,1-Ve)}function P1(q,D,Y,he,Ce,Ve){for(;Ce>he;){if(Ce-he>600){let Ot=Ce-he+1,er=Y-he+1,cr=Math.log(Ot),Sr=.5*Math.exp(2*cr/3),Nr=.5*Math.sqrt(cr*Sr*(Ot-Sr)/Ot)*(er-Ot/2<0?-1:1);P1(q,D,Y,Math.max(he,Math.floor(Y-er*Sr/Ot+Nr)),Math.min(Ce,Math.floor(Y+(Ot-er)*Sr/Ot+Nr)),Ve)}let Xe=D[2*Y+Ve],ct=he,At=Ce;for(mm(q,D,he,Y),D[2*Ce+Ve]>Xe&&mm(q,D,he,Ce);ctXe;)At--}D[2*he+Ve]===Xe?mm(q,D,he,At):(At++,mm(q,D,At,Ce)),At<=Y&&(he=At+1),Y<=At&&(Ce=At-1)}}function mm(q,D,Y,he){zy(q,Y,he),zy(D,2*Y,2*he),zy(D,2*Y+1,2*he+1)}function zy(q,D,Y){let he=q[D];q[D]=q[Y],q[Y]=he}function I1(q,D,Y,he){let Ce=q-Y,Ve=D-he;return Ce*Ce+Ve*Ve}var pg;e.bg=void 0,(pg=e.bg||(e.bg={})).create="create",pg.load="load",pg.fullLoad="fullLoad";let gm=null,vf=[],Fy=1e3/60,Oy="loadTime",mg="fullLoadTime",$b={mark(q){performance.mark(q)},frame(q){let D=q;gm!=null&&vf.push(D-gm),gm=D},clearMetrics(){gm=null,vf=[],performance.clearMeasures(Oy),performance.clearMeasures(mg);for(let q in e.bg)performance.clearMarks(e.bg[q])},getPerformanceMetrics(){performance.measure(Oy,e.bg.create,e.bg.load),performance.measure(mg,e.bg.create,e.bg.fullLoad);let q=performance.getEntriesByName(Oy)[0].duration,D=performance.getEntriesByName(mg)[0].duration,Y=vf.length,he=1/(vf.reduce((Ve,Xe)=>Ve+Xe,0)/Y/1e3),Ce=vf.filter(Ve=>Ve>Fy).reduce((Ve,Xe)=>Ve+(Xe-Fy)/Fy,0);return{loadTime:q,fullLoadTime:D,fps:he,percentDroppedFrames:Ce/(Y+Ce)*100,totalFrames:Y}}};e.$=class extends hr{},e.A=ba,e.B=Di,e.C=function(q){if(z==null){let D=q.navigator?q.navigator.userAgent:null;z=!!q.safari||!(!D||!(/\b(iPad|iPhone|iPod)\b/.test(D)||D.match("Safari")&&!D.match("Chrome")))}return z},e.D=bo,e.E=ee,e.F=class{constructor(q,D){this.target=q,this.mapId=D,this.resolveRejects={},this.tasks={},this.taskQueue=[],this.abortControllers={},this.messageHandlers={},this.invoker=new Ey(()=>this.process()),this.subscription=function(Y,he,Ce,Ve){return Y.addEventListener(he,Ce,!1),{unsubscribe:()=>{Y.removeEventListener(he,Ce,!1)}}}(this.target,"message",Y=>this.receive(Y)),this.globalScope=L(self)?q:window}registerMessageHandler(q,D){this.messageHandlers[q]=D}sendAsync(q,D){return new Promise((Y,he)=>{let Ce=Math.round(1e18*Math.random()).toString(36).substring(0,10);this.resolveRejects[Ce]={resolve:Y,reject:he},D&&D.signal.addEventListener("abort",()=>{delete this.resolveRejects[Ce];let ct={id:Ce,type:"",origin:location.origin,targetMapId:q.targetMapId,sourceMapId:this.mapId};this.target.postMessage(ct)},{once:!0});let Ve=[],Xe=Object.assign(Object.assign({},q),{id:Ce,sourceMapId:this.mapId,origin:location.origin,data:mo(q.data,Ve)});this.target.postMessage(Xe,{transfer:Ve})})}receive(q){let D=q.data,Y=D.id;if(!(D.origin!=="file://"&&location.origin!=="file://"&&D.origin!=="resource://android"&&location.origin!=="resource://android"&&D.origin!==location.origin||D.targetMapId&&this.mapId!==D.targetMapId)){if(D.type===""){delete this.tasks[Y];let he=this.abortControllers[Y];return delete this.abortControllers[Y],void(he&&he.abort())}if(L(self)||D.mustQueue)return this.tasks[Y]=D,this.taskQueue.push(Y),void this.invoker.trigger();this.processTask(Y,D)}}process(){if(this.taskQueue.length===0)return;let q=this.taskQueue.shift(),D=this.tasks[q];delete this.tasks[q],this.taskQueue.length>0&&this.invoker.trigger(),D&&this.processTask(q,D)}processTask(q,D){return t(this,void 0,void 0,function*(){if(D.type===""){let Ce=this.resolveRejects[q];return delete this.resolveRejects[q],Ce?void(D.error?Ce.reject(Ao(D.error)):Ce.resolve(Ao(D.data))):void 0}if(!this.messageHandlers[D.type])return void this.completeTask(q,new Error(`Could not find a registered handler for ${D.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));let Y=Ao(D.data),he=new AbortController;this.abortControllers[q]=he;try{let Ce=yield this.messageHandlers[D.type](D.sourceMapId,Y,he);this.completeTask(q,null,Ce)}catch(Ce){this.completeTask(q,Ce)}})}completeTask(q,D,Y){let he=[];delete this.abortControllers[q];let Ce={id:q,type:"",sourceMapId:this.mapId,origin:location.origin,error:D?mo(D):null,data:mo(Y,he)};this.target.postMessage(Ce,{transfer:he})}remove(){this.invoker.remove(),this.subscription.unsubscribe()}},e.G=se,e.H=function(){var q=new ba(16);return ba!=Float32Array&&(q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[11]=0,q[12]=0,q[13]=0,q[14]=0),q[0]=1,q[5]=1,q[10]=1,q[15]=1,q},e.I=ig,e.J=function(q,D,Y){var he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn=Y[0],Gn=Y[1],ei=Y[2];return D===q?(q[12]=D[0]*mn+D[4]*Gn+D[8]*ei+D[12],q[13]=D[1]*mn+D[5]*Gn+D[9]*ei+D[13],q[14]=D[2]*mn+D[6]*Gn+D[10]*ei+D[14],q[15]=D[3]*mn+D[7]*Gn+D[11]*ei+D[15]):(Ce=D[1],Ve=D[2],Xe=D[3],ct=D[4],At=D[5],Ot=D[6],er=D[7],cr=D[8],Sr=D[9],Nr=D[10],rn=D[11],q[0]=he=D[0],q[1]=Ce,q[2]=Ve,q[3]=Xe,q[4]=ct,q[5]=At,q[6]=Ot,q[7]=er,q[8]=cr,q[9]=Sr,q[10]=Nr,q[11]=rn,q[12]=he*mn+ct*Gn+cr*ei+D[12],q[13]=Ce*mn+At*Gn+Sr*ei+D[13],q[14]=Ve*mn+Ot*Gn+Nr*ei+D[14],q[15]=Xe*mn+er*Gn+rn*ei+D[15]),q},e.K=function(q,D,Y){var he=Y[0],Ce=Y[1],Ve=Y[2];return q[0]=D[0]*he,q[1]=D[1]*he,q[2]=D[2]*he,q[3]=D[3]*he,q[4]=D[4]*Ce,q[5]=D[5]*Ce,q[6]=D[6]*Ce,q[7]=D[7]*Ce,q[8]=D[8]*Ve,q[9]=D[9]*Ve,q[10]=D[10]*Ve,q[11]=D[11]*Ve,q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15],q},e.L=ca,e.M=function(q,D){let Y={};for(let he=0;he{let D=window.document.createElement("video");return D.muted=!0,new Promise(Y=>{D.onloadstart=()=>{Y(D)};for(let he of q){let Ce=window.document.createElement("source");J(he)||(D.crossOrigin="Anonymous"),Ce.src=he,D.appendChild(Ce)}})},e.a4=function(){return m++},e.a5=Zi,e.a6=hp,e.a7=_c,e.a8=Ul,e.a9=Ly,e.aA=function(q){if(q.type==="custom")return new Sy(q);switch(q.type){case"background":return new Hb(q);case"circle":return new va(q);case"fill":return new Zr(q);case"fill-extrusion":return new Jh(q);case"heatmap":return new _s(q);case"hillshade":return new Oc(q);case"line":return new Fv(q);case"raster":return new hm(q);case"symbol":return new Uv(q)}},e.aB=u,e.aC=function(q,D){if(!q)return[{command:"setStyle",args:[D]}];let Y=[];try{if(!Te(q.version,D.version))return[{command:"setStyle",args:[D]}];Te(q.center,D.center)||Y.push({command:"setCenter",args:[D.center]}),Te(q.zoom,D.zoom)||Y.push({command:"setZoom",args:[D.zoom]}),Te(q.bearing,D.bearing)||Y.push({command:"setBearing",args:[D.bearing]}),Te(q.pitch,D.pitch)||Y.push({command:"setPitch",args:[D.pitch]}),Te(q.sprite,D.sprite)||Y.push({command:"setSprite",args:[D.sprite]}),Te(q.glyphs,D.glyphs)||Y.push({command:"setGlyphs",args:[D.glyphs]}),Te(q.transition,D.transition)||Y.push({command:"setTransition",args:[D.transition]}),Te(q.light,D.light)||Y.push({command:"setLight",args:[D.light]}),Te(q.terrain,D.terrain)||Y.push({command:"setTerrain",args:[D.terrain]}),Te(q.sky,D.sky)||Y.push({command:"setSky",args:[D.sky]}),Te(q.projection,D.projection)||Y.push({command:"setProjection",args:[D.projection]});let he={},Ce=[];(function(Xe,ct,At,Ot){let er;for(er in ct=ct||{},Xe=Xe||{})Object.prototype.hasOwnProperty.call(Xe,er)&&(Object.prototype.hasOwnProperty.call(ct,er)||Ye(er,At,Ot));for(er in ct)Object.prototype.hasOwnProperty.call(ct,er)&&(Object.prototype.hasOwnProperty.call(Xe,er)?Te(Xe[er],ct[er])||(Xe[er].type==="geojson"&&ct[er].type==="geojson"&&at(Xe,ct,er)?Ue(At,{command:"setGeoJSONSourceData",args:[er,ct[er].data]}):it(er,ct,At,Ot)):Ie(er,ct,At))})(q.sources,D.sources,Ce,he);let Ve=[];q.layers&&q.layers.forEach(Xe=>{"source"in Xe&&he[Xe.source]?Y.push({command:"removeLayer",args:[Xe.id]}):Ve.push(Xe)}),Y=Y.concat(Ce),function(Xe,ct,At){ct=ct||[];let Ot=(Xe=Xe||[]).map(ut),er=ct.map(ut),cr=Xe.reduce(Me,{}),Sr=ct.reduce(Me,{}),Nr=Ot.slice(),rn=Object.create(null),mn,Gn,ei,Ri,fi;for(let Si=0,Gi=0;Si@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(Y,he,Ce,Ve)=>{let Xe=Ce||Ve;return D[he]=!Xe||Xe.toLowerCase(),""}),D["max-age"]){let Y=parseInt(D["max-age"],10);isNaN(Y)?delete D["max-age"]:D["max-age"]=Y}return D},e.ab=function(q,D){let Y=[];for(let he in q)he in D||Y.push(he);return Y},e.ac=w,e.ad=function(q,D,Y){var he=Math.sin(Y),Ce=Math.cos(Y),Ve=D[0],Xe=D[1],ct=D[2],At=D[3],Ot=D[4],er=D[5],cr=D[6],Sr=D[7];return D!==q&&(q[8]=D[8],q[9]=D[9],q[10]=D[10],q[11]=D[11],q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15]),q[0]=Ve*Ce+Ot*he,q[1]=Xe*Ce+er*he,q[2]=ct*Ce+cr*he,q[3]=At*Ce+Sr*he,q[4]=Ot*Ce-Ve*he,q[5]=er*Ce-Xe*he,q[6]=cr*Ce-ct*he,q[7]=Sr*Ce-At*he,q},e.ae=function(q){var D=new ba(16);return D[0]=q[0],D[1]=q[1],D[2]=q[2],D[3]=q[3],D[4]=q[4],D[5]=q[5],D[6]=q[6],D[7]=q[7],D[8]=q[8],D[9]=q[9],D[10]=q[10],D[11]=q[11],D[12]=q[12],D[13]=q[13],D[14]=q[14],D[15]=q[15],D},e.af=Oo,e.ag=function(q,D){let Y=0,he=0;if(q.kind==="constant")he=q.layoutSize;else if(q.kind!=="source"){let{interpolationType:Ce,minZoom:Ve,maxZoom:Xe}=q,ct=Ce?w(Xa.interpolationFactor(Ce,D,Ve,Xe),0,1):0;q.kind==="camera"?he=yo.number(q.minSize,q.maxSize,ct):Y=ct}return{uSizeT:Y,uSize:he}},e.ai=function(q,{uSize:D,uSizeT:Y},{lowerSize:he,upperSize:Ce}){return q.kind==="source"?he/Bd:q.kind==="composite"?yo.number(he/Bd,Ce/Bd,Y):D},e.aj=wy,e.ak=function(q,D,Y,he){let Ce=D.y-q.y,Ve=D.x-q.x,Xe=he.y-Y.y,ct=he.x-Y.x,At=Xe*Ve-ct*Ce;if(At===0)return null;let Ot=(ct*(q.y-Y.y)-Xe*(q.x-Y.x))/At;return new i(q.x+Ot*Ve,q.y+Ot*Ce)},e.al=x1,e.am=vc,e.an=Pa,e.ao=function(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return[D,Y,he,Ce]},e.ap=Hl,e.ar=by,e.as=function(q,D){var Y=D[0],he=D[1],Ce=D[2],Ve=D[3],Xe=D[4],ct=D[5],At=D[6],Ot=D[7],er=D[8],cr=D[9],Sr=D[10],Nr=D[11],rn=D[12],mn=D[13],Gn=D[14],ei=D[15],Ri=Y*ct-he*Xe,fi=Y*At-Ce*Xe,Si=Y*Ot-Ve*Xe,Gi=he*At-Ce*ct,Ha=he*Ot-Ve*ct,Po=Ce*Ot-Ve*At,xs=er*mn-cr*rn,_o=er*Gn-Sr*rn,Ra=er*ei-Nr*rn,es=cr*Gn-Sr*mn,qo=cr*ei-Nr*mn,Bo=Sr*ei-Nr*Gn,ma=Ri*Bo-fi*qo+Si*es+Gi*Ra-Ha*_o+Po*xs;return ma?(q[0]=(ct*Bo-At*qo+Ot*es)*(ma=1/ma),q[1]=(Ce*qo-he*Bo-Ve*es)*ma,q[2]=(mn*Po-Gn*Ha+ei*Gi)*ma,q[3]=(Sr*Ha-cr*Po-Nr*Gi)*ma,q[4]=(At*Ra-Xe*Bo-Ot*_o)*ma,q[5]=(Y*Bo-Ce*Ra+Ve*_o)*ma,q[6]=(Gn*Si-rn*Po-ei*fi)*ma,q[7]=(er*Po-Sr*Si+Nr*fi)*ma,q[8]=(Xe*qo-ct*Ra+Ot*xs)*ma,q[9]=(he*Ra-Y*qo-Ve*xs)*ma,q[10]=(rn*Ha-mn*Si+ei*Ri)*ma,q[11]=(cr*Si-er*Ha-Nr*Ri)*ma,q[12]=(ct*_o-Xe*es-At*xs)*ma,q[13]=(Y*es-he*_o+Ce*xs)*ma,q[14]=(mn*fi-rn*Gi-Gn*Ri)*ma,q[15]=(er*Gi-cr*fi+Sr*Ri)*ma,q):null},e.at=Ry,e.au=lg,e.av=Dy,e.aw=function(){let q={},D=ie.$version;for(let Y in ie.$root){let he=ie.$root[Y];if(he.required){let Ce=null;Ce=Y==="version"?D:he.type==="array"?[]:{},Ce!=null&&(q[Y]=Ce)}}return q},e.ax=xa,e.ay=G,e.az=function(q){q=q.slice();let D=Object.create(null);for(let Y=0;Y25||he<0||he>=1||Y<0||Y>=1)},e.bc=function(q,D){return q[0]=D[0],q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[5]=D[1],q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[10]=D[2],q[11]=0,q[12]=0,q[13]=0,q[14]=0,q[15]=1,q},e.bd=class extends Jt{},e.be=Cy,e.bf=$b,e.bh=fe,e.bi=function(q,D){Q.REGISTERED_PROTOCOLS[q]=D},e.bj=function(q){delete Q.REGISTERED_PROTOCOLS[q]},e.bk=function(q,D){let Y={};for(let Ce=0;CeBo*Hl)}let _o=Xe?"center":Y.get("text-justify").evaluate(Ot,{},q.canonical),Ra=Y.get("symbol-placement")==="point"?Y.get("text-max-width").evaluate(Ot,{},q.canonical)*Hl:1/0,es=()=>{q.bucket.allowVerticalPlacement&&Lo(Si)&&(rn.vertical=om(mn,q.glyphMap,q.glyphPositions,q.imagePositions,er,Ra,Ve,Po,"left",Ha,ei,e.ah.vertical,!0,Sr,cr))};if(!Xe&&xs){let qo=new Set;if(_o==="auto")for(let ma=0;mat(void 0,void 0,void 0,function*(){if(q.byteLength===0)return createImageBitmap(new ImageData(1,1));let D=new Blob([new Uint8Array(q)],{type:"image/png"});try{return createImageBitmap(D)}catch(Y){throw new Error(`Could not load image because of ${Y.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}}),e.e=E,e.f=q=>new Promise((D,Y)=>{let he=new Image;he.onload=()=>{D(he),URL.revokeObjectURL(he.src),he.onload=null,window.requestAnimationFrame(()=>{he.src=B})},he.onerror=()=>Y(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));let Ce=new Blob([new Uint8Array(q)],{type:"image/png"});he.src=q.byteLength?URL.createObjectURL(Ce):B}),e.g=le,e.h=(q,D)=>$(E(q,{type:"json"}),D),e.i=L,e.j=j,e.k=ae,e.l=(q,D)=>$(E(q,{type:"arrayBuffer"}),D),e.m=$,e.n=function(q){return new yy(q).readFields($M,[])},e.o=ps,e.p=xy,e.q=Ne,e.r=yi,e.s=J,e.t=bi,e.u=si,e.v=ie,e.w=f,e.x=function([q,D,Y]){return D+=90,D*=Math.PI/180,Y*=Math.PI/180,{x:q*Math.cos(D)*Math.sin(Y),y:q*Math.sin(D)*Math.sin(Y),z:q*Math.cos(Y)}},e.y=yo,e.z=zs}),A("worker",["./shared"],function(e){"use strict";class t{constructor(Be){this.keyCache={},Be&&this.replace(Be)}replace(Be){this._layerConfigs={},this._layers={},this.update(Be,[])}update(Be,Ke){for(let Se of Be){this._layerConfigs[Se.id]=Se;let He=this._layers[Se.id]=e.aA(Se);He._featureFilter=e.a7(He.filter),this.keyCache[Se.id]&&delete this.keyCache[Se.id]}for(let Se of Ke)delete this.keyCache[Se],delete this._layerConfigs[Se],delete this._layers[Se];this.familiesBySource={};let je=e.bk(Object.values(this._layerConfigs),this.keyCache);for(let Se of je){let He=Se.map(bt=>this._layers[bt.id]),Ee=He[0];if(Ee.visibility==="none")continue;let we=Ee.source||"",Le=this.familiesBySource[we];Le||(Le=this.familiesBySource[we]={});let nt=Ee.sourceLayer||"_geojsonTileLayer",pt=Le[nt];pt||(pt=Le[nt]=[]),pt.push(He)}}}class r{constructor(Be){let Ke={},je=[];for(let we in Be){let Le=Be[we],nt=Ke[we]={};for(let pt in Le){let bt=Le[+pt];if(!bt||bt.bitmap.width===0||bt.bitmap.height===0)continue;let Rt={x:0,y:0,w:bt.bitmap.width+2,h:bt.bitmap.height+2};je.push(Rt),nt[pt]={rect:Rt,metrics:bt.metrics}}}let{w:Se,h:He}=e.p(je),Ee=new e.o({width:Se||1,height:He||1});for(let we in Be){let Le=Be[we];for(let nt in Le){let pt=Le[+nt];if(!pt||pt.bitmap.width===0||pt.bitmap.height===0)continue;let bt=Ke[we][nt].rect;e.o.copy(pt.bitmap,Ee,{x:0,y:0},{x:bt.x+1,y:bt.y+1},pt.bitmap)}}this.image=Ee,this.positions=Ke}}e.bl("GlyphAtlas",r);class o{constructor(Be){this.tileID=new e.S(Be.tileID.overscaledZ,Be.tileID.wrap,Be.tileID.canonical.z,Be.tileID.canonical.x,Be.tileID.canonical.y),this.uid=Be.uid,this.zoom=Be.zoom,this.pixelRatio=Be.pixelRatio,this.tileSize=Be.tileSize,this.source=Be.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=Be.showCollisionBoxes,this.collectResourceTiming=!!Be.collectResourceTiming,this.returnDependencies=!!Be.returnDependencies,this.promoteId=Be.promoteId,this.inFlightDependencies=[]}parse(Be,Ke,je,Se){return e._(this,void 0,void 0,function*(){this.status="parsing",this.data=Be,this.collisionBoxArray=new e.a5;let He=new e.bm(Object.keys(Be.layers).sort()),Ee=new e.bn(this.tileID,this.promoteId);Ee.bucketLayerIDs=[];let we={},Le={featureIndex:Ee,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:je},nt=Ke.familiesBySource[this.source];for(let ni in nt){let zn=Be.layers[ni];if(!zn)continue;zn.version===1&&e.w(`Vector tile source "${this.source}" layer "${ni}" does not use vector tile spec v2 and therefore may have some rendering errors.`);let Qn=He.encode(ni),gi=[];for(let Zt=0;Zt=Ft.maxzoom||Ft.visibility!=="none"&&(n(Zt,this.zoom,je),(we[Ft.id]=Ft.createBucket({index:Ee.bucketLayerIDs.length,layers:Zt,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Qn,sourceID:this.source})).populate(gi,Le,this.tileID.canonical),Ee.bucketLayerIDs.push(Zt.map(Ht=>Ht.id)))}}let pt=e.aF(Le.glyphDependencies,ni=>Object.keys(ni).map(Number));this.inFlightDependencies.forEach(ni=>ni?.abort()),this.inFlightDependencies=[];let bt=Promise.resolve({});if(Object.keys(pt).length){let ni=new AbortController;this.inFlightDependencies.push(ni),bt=Se.sendAsync({type:"GG",data:{stacks:pt,source:this.source,tileID:this.tileID,type:"glyphs"}},ni)}let Rt=Object.keys(Le.iconDependencies),Nt=Promise.resolve({});if(Rt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),Nt=Se.sendAsync({type:"GI",data:{icons:Rt,source:this.source,tileID:this.tileID,type:"icons"}},ni)}let Xt=Object.keys(Le.patternDependencies),$t=Promise.resolve({});if(Xt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),$t=Se.sendAsync({type:"GI",data:{icons:Xt,source:this.source,tileID:this.tileID,type:"patterns"}},ni)}let[ur,pn,Rn]=yield Promise.all([bt,Nt,$t]),Nn=new r(ur),On=new e.bo(pn,Rn);for(let ni in we){let zn=we[ni];zn instanceof e.a6?(n(zn.layers,this.zoom,je),e.bp({bucket:zn,glyphMap:ur,glyphPositions:Nn.positions,imageMap:pn,imagePositions:On.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):zn.hasPattern&&(zn instanceof e.bq||zn instanceof e.br||zn instanceof e.bs)&&(n(zn.layers,this.zoom,je),zn.addFeatures(Le,this.tileID.canonical,On.patternPositions))}return this.status="done",{buckets:Object.values(we).filter(ni=>!ni.isEmpty()),featureIndex:Ee,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Nn.image,imageAtlas:On,glyphMap:this.returnDependencies?ur:null,iconMap:this.returnDependencies?pn:null,glyphPositions:this.returnDependencies?Nn.positions:null}})}}function n(_t,Be,Ke){let je=new e.z(Be);for(let Se of _t)Se.recalculate(je,Ke)}class i{constructor(Be,Ke,je){this.actor=Be,this.layerIndex=Ke,this.availableImages=je,this.fetching={},this.loading={},this.loaded={}}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield e.l(Be.request,Ke);try{return{vectorTile:new e.bt.VectorTile(new e.bu(je.data)),rawData:je.data,cacheControl:je.cacheControl,expires:je.expires}}catch(Se){let He=new Uint8Array(je.data),Ee=`Unable to parse the tile at ${Be.request.url}, `;throw Ee+=He[0]===31&&He[1]===139?"please make sure the data is not gzipped and that you have configured the relevant header in the server":`got error: ${Se.message}`,new Error(Ee)}})}loadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid,je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request),Se=new o(Be);this.loading[Ke]=Se;let He=new AbortController;Se.abort=He;try{let Ee=yield this.loadVectorTile(Be,He);if(delete this.loading[Ke],!Ee)return null;let we=Ee.rawData,Le={};Ee.expires&&(Le.expires=Ee.expires),Ee.cacheControl&&(Le.cacheControl=Ee.cacheControl);let nt={};if(je){let bt=je.finish();bt&&(nt.resourceTiming=JSON.parse(JSON.stringify(bt)))}Se.vectorTile=Ee.vectorTile;let pt=Se.parse(Ee.vectorTile,this.layerIndex,this.availableImages,this.actor);this.loaded[Ke]=Se,this.fetching[Ke]={rawTileData:we,cacheControl:Le,resourceTiming:nt};try{let bt=yield pt;return e.e({rawTileData:we.slice(0)},bt,Le,nt)}finally{delete this.fetching[Ke]}}catch(Ee){throw delete this.loading[Ke],Se.status="done",this.loaded[Ke]=Se,Ee}})}reloadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid;if(!this.loaded||!this.loaded[Ke])throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");let je=this.loaded[Ke];if(je.showCollisionBoxes=Be.showCollisionBoxes,je.status==="parsing"){let Se=yield je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor),He;if(this.fetching[Ke]){let{rawTileData:Ee,cacheControl:we,resourceTiming:Le}=this.fetching[Ke];delete this.fetching[Ke],He=e.e({rawTileData:Ee.slice(0)},Se,we,Le)}else He=Se;return He}if(je.status==="done"&&je.vectorTile)return je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor)})}abortTile(Be){return e._(this,void 0,void 0,function*(){let Ke=this.loading,je=Be.uid;Ke&&Ke[je]&&Ke[je].abort&&(Ke[je].abort.abort(),delete Ke[je])})}removeTile(Be){return e._(this,void 0,void 0,function*(){this.loaded&&this.loaded[Be.uid]&&delete this.loaded[Be.uid]})}}class a{constructor(){this.loaded={}}loadTile(Be){return e._(this,void 0,void 0,function*(){let{uid:Ke,encoding:je,rawImageData:Se,redFactor:He,greenFactor:Ee,blueFactor:we,baseShift:Le}=Be,nt=Se.width+2,pt=Se.height+2,bt=e.b(Se)?new e.R({width:nt,height:pt},yield e.bw(Se,-1,-1,nt,pt)):Se,Rt=new e.bx(Ke,bt,je,He,Ee,we,Le);return this.loaded=this.loaded||{},this.loaded[Ke]=Rt,Rt})}removeTile(Be){let Ke=this.loaded,je=Be.uid;Ke&&Ke[je]&&delete Ke[je]}}function s(_t,Be){if(_t.length!==0){c(_t[0],Be);for(var Ke=1;Ke<_t.length;Ke++)c(_t[Ke],!Be)}}function c(_t,Be){for(var Ke=0,je=0,Se=0,He=_t.length,Ee=He-1;Se=Math.abs(we)?Ke-Le+we:we-Le+Ke,Ke=Le}Ke+je>=0!=!!Be&&_t.reverse()}var h=e.by(function _t(Be,Ke){var je,Se=Be&&Be.type;if(Se==="FeatureCollection")for(je=0;je>31}function L(_t,Be){for(var Ke=_t.loadGeometry(),je=_t.type,Se=0,He=0,Ee=Ke.length,we=0;we_t},O=Math.fround||(I=new Float32Array(1),_t=>(I[0]=+_t,I[0]));var I;let N=3,U=5,W=6;class Q{constructor(Be){this.options=Object.assign(Object.create(B),Be),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(Be){let{log:Ke,minZoom:je,maxZoom:Se}=this.options;Ke&&console.time("total time");let He=`prepare ${Be.length} points`;Ke&&console.time(He),this.points=Be;let Ee=[];for(let Le=0;Le=je;Le--){let nt=+Date.now();we=this.trees[Le]=this._createTree(this._cluster(we,Le)),Ke&&console.log("z%d: %d clusters in %dms",Le,we.numItems,+Date.now()-nt)}return Ke&&console.timeEnd("total time"),this}getClusters(Be,Ke){let je=((Be[0]+180)%360+360)%360-180,Se=Math.max(-90,Math.min(90,Be[1])),He=Be[2]===180?180:((Be[2]+180)%360+360)%360-180,Ee=Math.max(-90,Math.min(90,Be[3]));if(Be[2]-Be[0]>=360)je=-180,He=180;else if(je>He){let bt=this.getClusters([je,Se,180,Ee],Ke),Rt=this.getClusters([-180,Se,He,Ee],Ke);return bt.concat(Rt)}let we=this.trees[this._limitZoom(Ke)],Le=we.range(fe(je),G(Ee),fe(He),G(Se)),nt=we.data,pt=[];for(let bt of Le){let Rt=this.stride*bt;pt.push(nt[Rt+U]>1?le(nt,Rt,this.clusterProps):this.points[nt[Rt+N]])}return pt}getChildren(Be){let Ke=this._getOriginId(Be),je=this._getOriginZoom(Be),Se="No cluster with the specified id.",He=this.trees[je];if(!He)throw new Error(Se);let Ee=He.data;if(Ke*this.stride>=Ee.length)throw new Error(Se);let we=this.options.radius/(this.options.extent*Math.pow(2,je-1)),Le=He.within(Ee[Ke*this.stride],Ee[Ke*this.stride+1],we),nt=[];for(let pt of Le){let bt=pt*this.stride;Ee[bt+4]===Be&&nt.push(Ee[bt+U]>1?le(Ee,bt,this.clusterProps):this.points[Ee[bt+N]])}if(nt.length===0)throw new Error(Se);return nt}getLeaves(Be,Ke,je){let Se=[];return this._appendLeaves(Se,Be,Ke=Ke||10,je=je||0,0),Se}getTile(Be,Ke,je){let Se=this.trees[this._limitZoom(Be)],He=Math.pow(2,Be),{extent:Ee,radius:we}=this.options,Le=we/Ee,nt=(je-Le)/He,pt=(je+1+Le)/He,bt={features:[]};return this._addTileFeatures(Se.range((Ke-Le)/He,nt,(Ke+1+Le)/He,pt),Se.data,Ke,je,He,bt),Ke===0&&this._addTileFeatures(Se.range(1-Le/He,nt,1,pt),Se.data,He,je,He,bt),Ke===He-1&&this._addTileFeatures(Se.range(0,nt,Le/He,pt),Se.data,-1,je,He,bt),bt.features.length?bt:null}getClusterExpansionZoom(Be){let Ke=this._getOriginZoom(Be)-1;for(;Ke<=this.options.maxZoom;){let je=this.getChildren(Be);if(Ke++,je.length!==1)break;Be=je[0].properties.cluster_id}return Ke}_appendLeaves(Be,Ke,je,Se,He){let Ee=this.getChildren(Ke);for(let we of Ee){let Le=we.properties;if(Le&&Le.cluster?He+Le.point_count<=Se?He+=Le.point_count:He=this._appendLeaves(Be,Le.cluster_id,je,Se,He):He1,pt,bt,Rt;if(nt)pt=se(Ke,Le,this.clusterProps),bt=Ke[Le],Rt=Ke[Le+1];else{let $t=this.points[Ke[Le+N]];pt=$t.properties;let[ur,pn]=$t.geometry.coordinates;bt=fe(ur),Rt=G(pn)}let Nt={type:1,geometry:[[Math.round(this.options.extent*(bt*He-je)),Math.round(this.options.extent*(Rt*He-Se))]],tags:pt},Xt;Xt=nt||this.options.generateId?Ke[Le+N]:this.points[Ke[Le+N]].id,Xt!==void 0&&(Nt.id=Xt),Ee.features.push(Nt)}}_limitZoom(Be){return Math.max(this.options.minZoom,Math.min(Math.floor(+Be),this.options.maxZoom+1))}_cluster(Be,Ke){let{radius:je,extent:Se,reduce:He,minPoints:Ee}=this.options,we=je/(Se*Math.pow(2,Ke)),Le=Be.data,nt=[],pt=this.stride;for(let bt=0;btKe&&(ur+=Le[Rn+U])}if(ur>$t&&ur>=Ee){let pn,Rn=Rt*$t,Nn=Nt*$t,On=-1,ni=((bt/pt|0)<<5)+(Ke+1)+this.points.length;for(let zn of Xt){let Qn=zn*pt;if(Le[Qn+2]<=Ke)continue;Le[Qn+2]=Ke;let gi=Le[Qn+U];Rn+=Le[Qn]*gi,Nn+=Le[Qn+1]*gi,Le[Qn+4]=ni,He&&(pn||(pn=this._map(Le,bt,!0),On=this.clusterProps.length,this.clusterProps.push(pn)),He(pn,this._map(Le,Qn)))}Le[bt+4]=ni,nt.push(Rn/ur,Nn/ur,1/0,ni,-1,ur),He&&nt.push(On)}else{for(let pn=0;pn1)for(let pn of Xt){let Rn=pn*pt;if(!(Le[Rn+2]<=Ke)){Le[Rn+2]=Ke;for(let Nn=0;Nn>5}_getOriginZoom(Be){return(Be-this.points.length)%32}_map(Be,Ke,je){if(Be[Ke+U]>1){let Ee=this.clusterProps[Be[Ke+W]];return je?Object.assign({},Ee):Ee}let Se=this.points[Be[Ke+N]].properties,He=this.options.map(Se);return je&&He===Se?Object.assign({},He):He}}function le(_t,Be,Ke){return{type:"Feature",id:_t[Be+N],properties:se(_t,Be,Ke),geometry:{type:"Point",coordinates:[(je=_t[Be],360*(je-.5)),$(_t[Be+1])]}};var je}function se(_t,Be,Ke){let je=_t[Be+U],Se=je>=1e4?`${Math.round(je/1e3)}k`:je>=1e3?Math.round(je/100)/10+"k":je,He=_t[Be+W],Ee=He===-1?{}:Object.assign({},Ke[He]);return Object.assign(Ee,{cluster:!0,cluster_id:_t[Be+N],point_count:je,point_count_abbreviated:Se})}function fe(_t){return _t/360+.5}function G(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function $(_t){let Be=(180-360*_t)*Math.PI/180;return 360*Math.atan(Math.exp(Be))/Math.PI-90}function J(_t,Be,Ke,je){let Se=je,He=Be+(Ke-Be>>1),Ee,we=Ke-Be,Le=_t[Be],nt=_t[Be+1],pt=_t[Ke],bt=_t[Ke+1];for(let Rt=Be+3;RtSe)Ee=Rt,Se=Nt;else if(Nt===Se){let Xt=Math.abs(Rt-He);Xtje&&(Ee-Be>3&&J(_t,Be,Ee,je),_t[Ee+2]=Se,Ke-Ee>3&&J(_t,Ee,Ke,je))}function X(_t,Be,Ke,je,Se,He){let Ee=Se-Ke,we=He-je;if(Ee!==0||we!==0){let Le=((_t-Ke)*Ee+(Be-je)*we)/(Ee*Ee+we*we);Le>1?(Ke=Se,je=He):Le>0&&(Ke+=Ee*Le,je+=we*Le)}return Ee=_t-Ke,we=Be-je,Ee*Ee+we*we}function re(_t,Be,Ke,je){let Se={id:_t??null,type:Be,geometry:Ke,tags:je,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};if(Be==="Point"||Be==="MultiPoint"||Be==="LineString")ae(Se,Ke);else if(Be==="Polygon")ae(Se,Ke[0]);else if(Be==="MultiLineString")for(let He of Ke)ae(Se,He);else if(Be==="MultiPolygon")for(let He of Ke)ae(Se,He[0]);return Se}function ae(_t,Be){for(let Ke=0;Ke0&&(Ee+=je?(Se*pt-nt*He)/2:Math.sqrt(Math.pow(nt-Se,2)+Math.pow(pt-He,2))),Se=nt,He=pt}let we=Be.length-3;Be[2]=1,J(Be,0,we,Ke),Be[we+2]=1,Be.size=Math.abs(Ee),Be.start=0,Be.end=Be.size}function ce(_t,Be,Ke,je){for(let Se=0;Se<_t.length;Se++){let He=[];ie(_t[Se],He,Ke,je),Be.push(He)}}function xe(_t){return _t/360+.5}function Te(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function Ue(_t,Be,Ke,je,Se,He,Ee,we){if(je/=Be,He>=(Ke/=Be)&&Ee=je)return null;let Le=[];for(let nt of _t){let pt=nt.geometry,bt=nt.type,Rt=Se===0?nt.minX:nt.minY,Nt=Se===0?nt.maxX:nt.maxY;if(Rt>=Ke&&Nt=je)continue;let Xt=[];if(bt==="Point"||bt==="MultiPoint")Ie(pt,Xt,Ke,je,Se);else if(bt==="LineString")Ye(pt,Xt,Ke,je,Se,!1,we.lineMetrics);else if(bt==="MultiLineString")at(pt,Xt,Ke,je,Se,!1);else if(bt==="Polygon")at(pt,Xt,Ke,je,Se,!0);else if(bt==="MultiPolygon")for(let $t of pt){let ur=[];at($t,ur,Ke,je,Se,!0),ur.length&&Xt.push(ur)}if(Xt.length){if(we.lineMetrics&&bt==="LineString"){for(let $t of Xt)Le.push(re(nt.id,bt,$t,nt.tags));continue}bt!=="LineString"&&bt!=="MultiLineString"||(Xt.length===1?(bt="LineString",Xt=Xt[0]):bt="MultiLineString"),bt!=="Point"&&bt!=="MultiPoint"||(bt=Xt.length===3?"Point":"MultiPoint"),Le.push(re(nt.id,bt,Xt,nt.tags))}}return Le.length?Le:null}function Ie(_t,Be,Ke,je,Se){for(let He=0;He<_t.length;He+=3){let Ee=_t[He+Se];Ee>=Ke&&Ee<=je&&tt(Be,_t[He],_t[He+1],_t[He+2])}}function Ye(_t,Be,Ke,je,Se,He,Ee){let we=it(_t),Le=Se===0?ut:Me,nt,pt,bt=_t.start;for(let ur=0;ur<_t.length-3;ur+=3){let pn=_t[ur],Rn=_t[ur+1],Nn=_t[ur+2],On=_t[ur+3],ni=_t[ur+4],zn=Se===0?pn:Rn,Qn=Se===0?On:ni,gi=!1;Ee&&(nt=Math.sqrt(Math.pow(pn-On,2)+Math.pow(Rn-ni,2))),znKe&&(pt=Le(we,pn,Rn,On,ni,Ke),Ee&&(we.start=bt+nt*pt)):zn>je?Qn=Ke&&(pt=Le(we,pn,Rn,On,ni,Ke),gi=!0),Qn>je&&zn<=je&&(pt=Le(we,pn,Rn,On,ni,je),gi=!0),!He&&gi&&(Ee&&(we.end=bt+nt*pt),Be.push(we),we=it(_t)),Ee&&(bt+=nt)}let Rt=_t.length-3,Nt=_t[Rt],Xt=_t[Rt+1],$t=Se===0?Nt:Xt;$t>=Ke&&$t<=je&&tt(we,Nt,Xt,_t[Rt+2]),Rt=we.length-3,He&&Rt>=3&&(we[Rt]!==we[0]||we[Rt+1]!==we[1])&&tt(we,we[0],we[1],we[2]),we.length&&Be.push(we)}function it(_t){let Be=[];return Be.size=_t.size,Be.start=_t.start,Be.end=_t.end,Be}function at(_t,Be,Ke,je,Se,He){for(let Ee of _t)Ye(Ee,Be,Ke,je,Se,He,!1)}function tt(_t,Be,Ke,je){_t.push(Be,Ke,je)}function ut(_t,Be,Ke,je,Se,He){let Ee=(He-Be)/(je-Be);return tt(_t,He,Ke+(Se-Ke)*Ee,1),Ee}function Me(_t,Be,Ke,je,Se,He){let Ee=(He-Ke)/(Se-Ke);return tt(_t,Be+(je-Be)*Ee,He,1),Ee}function pe(_t,Be){let Ke=[];for(let je=0;je<_t.length;je++){let Se=_t[je],He=Se.type,Ee;if(He==="Point"||He==="MultiPoint"||He==="LineString")Ee=ue(Se.geometry,Be);else if(He==="MultiLineString"||He==="Polygon"){Ee=[];for(let we of Se.geometry)Ee.push(ue(we,Be))}else if(He==="MultiPolygon"){Ee=[];for(let we of Se.geometry){let Le=[];for(let nt of we)Le.push(ue(nt,Be));Ee.push(Le)}}Ke.push(re(Se.id,He,Ee,Se.tags))}return Ke}function ue(_t,Be){let Ke=[];Ke.size=_t.size,_t.start!==void 0&&(Ke.start=_t.start,Ke.end=_t.end);for(let je=0;je<_t.length;je+=3)Ke.push(_t[je]+Be,_t[je+1],_t[je+2]);return Ke}function Oe(_t,Be){if(_t.transformed)return _t;let Ke=1<<_t.z,je=_t.x,Se=_t.y;for(let He of _t.features){let Ee=He.geometry,we=He.type;if(He.geometry=[],we===1)for(let Le=0;Le0&&Be.size<(Se?Ee:je))return void(Ke.numPoints+=Be.length/3);let we=[];for(let Le=0;LeEe)&&(Ke.numSimplified++,we.push(Be[Le],Be[Le+1])),Ke.numPoints++;Se&&function(Le,nt){let pt=0;for(let bt=0,Rt=Le.length,Nt=Rt-2;bt0===nt)for(let bt=0,Rt=Le.length;bt24)throw new Error("maxZoom should be in the 0-24 range");if(Ke.promoteId&&Ke.generateId)throw new Error("promoteId and generateId cannot be used together.");let Se=function(He,Ee){let we=[];if(He.type==="FeatureCollection")for(let Le=0;Le1&&console.time("creation"),Nt=this.tiles[Rt]=ot(Be,Ke,je,Se,nt),this.tileCoords.push({z:Ke,x:je,y:Se}),pt)){pt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Ke,je,Se,Nt.numFeatures,Nt.numPoints,Nt.numSimplified),console.timeEnd("creation"));let gi=`z${Ke}`;this.stats[gi]=(this.stats[gi]||0)+1,this.total++}if(Nt.source=Be,He==null){if(Ke===nt.indexMaxZoom||Nt.numPoints<=nt.indexMaxPoints)continue}else{if(Ke===nt.maxZoom||Ke===He)continue;if(He!=null){let gi=He-Ke;if(je!==Ee>>gi||Se!==we>>gi)continue}}if(Nt.source=null,Be.length===0)continue;pt>1&&console.time("clipping");let Xt=.5*nt.buffer/nt.extent,$t=.5-Xt,ur=.5+Xt,pn=1+Xt,Rn=null,Nn=null,On=null,ni=null,zn=Ue(Be,bt,je-Xt,je+ur,0,Nt.minX,Nt.maxX,nt),Qn=Ue(Be,bt,je+$t,je+pn,0,Nt.minX,Nt.maxX,nt);Be=null,zn&&(Rn=Ue(zn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),Nn=Ue(zn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),zn=null),Qn&&(On=Ue(Qn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),ni=Ue(Qn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),Qn=null),pt>1&&console.timeEnd("clipping"),Le.push(Rn||[],Ke+1,2*je,2*Se),Le.push(Nn||[],Ke+1,2*je,2*Se+1),Le.push(On||[],Ke+1,2*je+1,2*Se),Le.push(ni||[],Ke+1,2*je+1,2*Se+1)}}getTile(Be,Ke,je){Be=+Be,Ke=+Ke,je=+je;let Se=this.options,{extent:He,debug:Ee}=Se;if(Be<0||Be>24)return null;let we=1<1&&console.log("drilling down to z%d-%d-%d",Be,Ke,je);let nt,pt=Be,bt=Ke,Rt=je;for(;!nt&&pt>0;)pt--,bt>>=1,Rt>>=1,nt=this.tiles[qt(pt,bt,Rt)];return nt&&nt.source?(Ee>1&&(console.log("found parent tile z%d-%d-%d",pt,bt,Rt),console.time("drilling down")),this.splitTile(nt.source,pt,bt,Rt,Be,Ke,je),Ee>1&&console.timeEnd("drilling down"),this.tiles[Le]?Oe(this.tiles[Le],He):null):null}}function qt(_t,Be,Ke){return 32*((1<<_t)*Ke+Be)+_t}function fr(_t,Be){return Be?_t.properties[Be]:_t.id}function ar(_t,Be){if(_t==null)return!0;if(_t.type==="Feature")return fr(_t,Be)!=null;if(_t.type==="FeatureCollection"){let Ke=new Set;for(let je of _t.features){let Se=fr(je,Be);if(Se==null||Ke.has(Se))return!1;Ke.add(Se)}return!0}return!1}function Rr(_t,Be){let Ke=new Map;if(_t!=null)if(_t.type==="Feature")Ke.set(fr(_t,Be),_t);else for(let je of _t.features)Ke.set(fr(je,Be),je);return Ke}class gr extends i{constructor(){super(...arguments),this._dataUpdateable=new Map}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=Be.tileID.canonical;if(!this._geoJSONIndex)throw new Error("Unable to parse the data into a cluster or geojson");let Se=this._geoJSONIndex.getTile(je.z,je.x,je.y);if(!Se)return null;let He=new class{constructor(we){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.X,this.length=we.length,this._features=we}feature(we){return new class{constructor(Le){this._feature=Le,this.extent=e.X,this.type=Le.type,this.properties=Le.tags,"id"in Le&&!isNaN(Le.id)&&(this.id=parseInt(Le.id,10))}loadGeometry(){if(this._feature.type===1){let Le=[];for(let nt of this._feature.geometry)Le.push([new e.P(nt[0],nt[1])]);return Le}{let Le=[];for(let nt of this._feature.geometry){let pt=[];for(let bt of nt)pt.push(new e.P(bt[0],bt[1]));Le.push(pt)}return Le}}toGeoJSON(Le,nt,pt){return p.call(this,Le,nt,pt)}}(this._features[we])}}(Se.features),Ee=F(He);return Ee.byteOffset===0&&Ee.byteLength===Ee.buffer.byteLength||(Ee=new Uint8Array(Ee)),{vectorTile:He,rawData:Ee.buffer}})}loadData(Be){return e._(this,void 0,void 0,function*(){var Ke;(Ke=this._pendingRequest)===null||Ke===void 0||Ke.abort();let je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request);this._pendingRequest=new AbortController;try{this._pendingData=this.loadAndProcessGeoJSON(Be,this._pendingRequest),this._geoJSONIndex=Be.cluster?new Q(function({superclusterOptions:Ee,clusterProperties:we}){if(!we||!Ee)return Ee;let Le={},nt={},pt={accumulated:null,zoom:0},bt={properties:null},Rt=Object.keys(we);for(let Nt of Rt){let[Xt,$t]=we[Nt],ur=e.bC($t),pn=e.bC(typeof Xt=="string"?[Xt,["accumulated"],["get",Nt]]:Xt);Le[Nt]=ur.value,nt[Nt]=pn.value}return Ee.map=Nt=>{bt.properties=Nt;let Xt={};for(let $t of Rt)Xt[$t]=Le[$t].evaluate(pt,bt);return Xt},Ee.reduce=(Nt,Xt)=>{bt.properties=Xt;for(let $t of Rt)pt.accumulated=Nt[$t],Nt[$t]=nt[$t].evaluate(pt,bt)},Ee}(Be)).load((yield this._pendingData).features):(Se=yield this._pendingData,new Bt(Se,Be.geojsonVtOptions)),this.loaded={};let He={};if(je){let Ee=je.finish();Ee&&(He.resourceTiming={},He.resourceTiming[Be.source]=JSON.parse(JSON.stringify(Ee)))}return He}catch(He){if(delete this._pendingRequest,e.bB(He))return{abandoned:!0};throw He}var Se})}getData(){return e._(this,void 0,void 0,function*(){return this._pendingData})}reloadTile(Be){let Ke=this.loaded;return Ke&&Ke[Be.uid]?super.reloadTile(Be):this.loadTile(Be)}loadAndProcessGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield this.loadGeoJSON(Be,Ke);if(delete this._pendingRequest,typeof je!="object")throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(h(je,!0),Be.filter){let Se=e.bC(Be.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(Se.result==="error")throw new Error(Se.value.map(Ee=>`${Ee.key}: ${Ee.message}`).join(", "));je={type:"FeatureCollection",features:je.features.filter(Ee=>Se.value.evaluate({zoom:0},Ee))}}return je})}loadGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let{promoteId:je}=Be;if(Be.request){let Se=yield e.h(Be.request,Ke);return this._dataUpdateable=ar(Se.data,je)?Rr(Se.data,je):void 0,Se.data}if(typeof Be.data=="string")try{let Se=JSON.parse(Be.data);return this._dataUpdateable=ar(Se,je)?Rr(Se,je):void 0,Se}catch{throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`)}if(!Be.dataDiff)throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(!this._dataUpdateable)throw new Error(`Cannot update existing geojson data in ${Be.source}`);return function(Se,He,Ee){var we,Le,nt,pt;if(He.removeAll&&Se.clear(),He.remove)for(let bt of He.remove)Se.delete(bt);if(He.add)for(let bt of He.add){let Rt=fr(bt,Ee);Rt!=null&&Se.set(Rt,bt)}if(He.update)for(let bt of He.update){let Rt=Se.get(bt.id);if(Rt==null)continue;let Nt=!bt.removeAllProperties&&(((we=bt.removeProperties)===null||we===void 0?void 0:we.length)>0||((Le=bt.addOrUpdateProperties)===null||Le===void 0?void 0:Le.length)>0);if((bt.newGeometry||bt.removeAllProperties||Nt)&&(Rt=Object.assign({},Rt),Se.set(bt.id,Rt),Nt&&(Rt.properties=Object.assign({},Rt.properties))),bt.newGeometry&&(Rt.geometry=bt.newGeometry),bt.removeAllProperties)Rt.properties={};else if(((nt=bt.removeProperties)===null||nt===void 0?void 0:nt.length)>0)for(let Xt of bt.removeProperties)Object.prototype.hasOwnProperty.call(Rt.properties,Xt)&&delete Rt.properties[Xt];if(((pt=bt.addOrUpdateProperties)===null||pt===void 0?void 0:pt.length)>0)for(let{key:Xt,value:$t}of bt.addOrUpdateProperties)Rt.properties[Xt]=$t}}(this._dataUpdateable,Be.dataDiff,je),{type:"FeatureCollection",features:Array.from(this._dataUpdateable.values())}})}removeSource(Be){return e._(this,void 0,void 0,function*(){this._pendingRequest&&this._pendingRequest.abort()})}getClusterExpansionZoom(Be){return this._geoJSONIndex.getClusterExpansionZoom(Be.clusterId)}getClusterChildren(Be){return this._geoJSONIndex.getChildren(Be.clusterId)}getClusterLeaves(Be){return this._geoJSONIndex.getLeaves(Be.clusterId,Be.limit,Be.offset)}}class br{constructor(Be){this.self=Be,this.actor=new e.F(Be),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.self.registerWorkerSource=(Ke,je)=>{if(this.externalWorkerSourceTypes[Ke])throw new Error(`Worker source with name "${Ke}" already registered.`);this.externalWorkerSourceTypes[Ke]=je},this.self.addProtocol=e.bi,this.self.removeProtocol=e.bj,this.self.registerRTLTextPlugin=Ke=>{if(e.bD.isParsed())throw new Error("RTL text plugin already registered.");e.bD.setMethods(Ke)},this.actor.registerMessageHandler("LDT",(Ke,je)=>this._getDEMWorkerSource(Ke,je.source).loadTile(je)),this.actor.registerMessageHandler("RDT",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getDEMWorkerSource(Ke,je.source).removeTile(je)})),this.actor.registerMessageHandler("GCEZ",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterExpansionZoom(je)})),this.actor.registerMessageHandler("GCC",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterChildren(je)})),this.actor.registerMessageHandler("GCL",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterLeaves(je)})),this.actor.registerMessageHandler("LD",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadData(je)),this.actor.registerMessageHandler("GD",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).getData()),this.actor.registerMessageHandler("LT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadTile(je)),this.actor.registerMessageHandler("RT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).reloadTile(je)),this.actor.registerMessageHandler("AT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).abortTile(je)),this.actor.registerMessageHandler("RMT",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).removeTile(je)),this.actor.registerMessageHandler("RS",(Ke,je)=>e._(this,void 0,void 0,function*(){if(!this.workerSources[Ke]||!this.workerSources[Ke][je.type]||!this.workerSources[Ke][je.type][je.source])return;let Se=this.workerSources[Ke][je.type][je.source];delete this.workerSources[Ke][je.type][je.source],Se.removeSource!==void 0&&Se.removeSource(je)})),this.actor.registerMessageHandler("RM",Ke=>e._(this,void 0,void 0,function*(){delete this.layerIndexes[Ke],delete this.availableImages[Ke],delete this.workerSources[Ke],delete this.demWorkerSources[Ke]})),this.actor.registerMessageHandler("SR",(Ke,je)=>e._(this,void 0,void 0,function*(){this.referrer=je})),this.actor.registerMessageHandler("SRPS",(Ke,je)=>this._syncRTLPluginState(Ke,je)),this.actor.registerMessageHandler("IS",(Ke,je)=>e._(this,void 0,void 0,function*(){this.self.importScripts(je)})),this.actor.registerMessageHandler("SI",(Ke,je)=>this._setImages(Ke,je)),this.actor.registerMessageHandler("UL",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).update(je.layers,je.removedIds)})),this.actor.registerMessageHandler("SL",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).replace(je)}))}_setImages(Be,Ke){return e._(this,void 0,void 0,function*(){this.availableImages[Be]=Ke;for(let je in this.workerSources[Be]){let Se=this.workerSources[Be][je];for(let He in Se)Se[He].availableImages=Ke}})}_syncRTLPluginState(Be,Ke){return e._(this,void 0,void 0,function*(){if(e.bD.isParsed())return e.bD.getState();if(Ke.pluginStatus!=="loading")return e.bD.setState(Ke),Ke;let je=Ke.pluginURL;if(this.self.importScripts(je),e.bD.isParsed()){let Se={pluginStatus:"loaded",pluginURL:je};return e.bD.setState(Se),Se}throw e.bD.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${je}`)})}_getAvailableImages(Be){let Ke=this.availableImages[Be];return Ke||(Ke=[]),Ke}_getLayerIndex(Be){let Ke=this.layerIndexes[Be];return Ke||(Ke=this.layerIndexes[Be]=new t),Ke}_getWorkerSource(Be,Ke,je){if(this.workerSources[Be]||(this.workerSources[Be]={}),this.workerSources[Be][Ke]||(this.workerSources[Be][Ke]={}),!this.workerSources[Be][Ke][je]){let Se={sendAsync:(He,Ee)=>(He.targetMapId=Be,this.actor.sendAsync(He,Ee))};switch(Ke){case"vector":this.workerSources[Be][Ke][je]=new i(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;case"geojson":this.workerSources[Be][Ke][je]=new gr(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;default:this.workerSources[Be][Ke][je]=new this.externalWorkerSourceTypes[Ke](Se,this._getLayerIndex(Be),this._getAvailableImages(Be))}}return this.workerSources[Be][Ke][je]}_getDEMWorkerSource(Be,Ke){return this.demWorkerSources[Be]||(this.demWorkerSources[Be]={}),this.demWorkerSources[Be][Ke]||(this.demWorkerSources[Be][Ke]=new a),this.demWorkerSources[Be][Ke]}}return e.i(self)&&(self.worker=new br(self)),br}),A("index",["exports","./shared"],function(e,t){"use strict";var r="4.7.1";let o,n,i={now:typeof performance<"u"&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frameAsync:Ne=>new Promise((R,ne)=>{let be=requestAnimationFrame(R);Ne.signal.addEventListener("abort",()=>{cancelAnimationFrame(be),ne(t.c())})}),getImageData(Ne,R=0){return this.getImageCanvasContext(Ne).getImageData(-R,-R,Ne.width+2*R,Ne.height+2*R)},getImageCanvasContext(Ne){let R=window.document.createElement("canvas"),ne=R.getContext("2d",{willReadFrequently:!0});if(!ne)throw new Error("failed to create canvas 2d context");return R.width=Ne.width,R.height=Ne.height,ne.drawImage(Ne,0,0,Ne.width,Ne.height),ne},resolveURL:Ne=>(o||(o=document.createElement("a")),o.href=Ne,o.href),hardwareConcurrency:typeof navigator<"u"&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(n==null&&(n=matchMedia("(prefers-reduced-motion: reduce)")),n.matches)}};class a{static testProp(R){if(!a.docStyle)return R[0];for(let ne=0;ne{window.removeEventListener("click",a.suppressClickInternal,!0)},0)}static getScale(R){let ne=R.getBoundingClientRect();return{x:ne.width/R.offsetWidth||1,y:ne.height/R.offsetHeight||1,boundingClientRect:ne}}static getPoint(R,ne,be){let Ae=ne.boundingClientRect;return new t.P((be.clientX-Ae.left)/ne.x-R.clientLeft,(be.clientY-Ae.top)/ne.y-R.clientTop)}static mousePos(R,ne){let be=a.getScale(R);return a.getPoint(R,be,ne)}static touchPos(R,ne){let be=[],Ae=a.getScale(R);for(let Fe=0;Fe{c&&T(c),c=null,d=!0},h.onerror=()=>{p=!0,c=null},h.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="),function(Ne){let R,ne,be,Ae;Ne.resetRequestQueue=()=>{R=[],ne=0,be=0,Ae={}},Ne.addThrottleControl=zt=>{let Jt=be++;return Ae[Jt]=zt,Jt},Ne.removeThrottleControl=zt=>{delete Ae[zt],ht()},Ne.getImage=(zt,Jt,hr=!0)=>new Promise((vr,Hr)=>{s.supported&&(zt.headers||(zt.headers={}),zt.headers.accept="image/webp,*/*"),t.e(zt,{type:"image"}),R.push({abortController:Jt,requestParameters:zt,supportImageRefresh:hr,state:"queued",onError:ln=>{Hr(ln)},onSuccess:ln=>{vr(ln)}}),ht()});let Fe=zt=>t._(this,void 0,void 0,function*(){zt.state="running";let{requestParameters:Jt,supportImageRefresh:hr,onError:vr,onSuccess:Hr,abortController:ln}=zt,Ge=hr===!1&&!t.i(self)&&!t.g(Jt.url)&&(!Jt.headers||Object.keys(Jt.headers).reduce((dt,St)=>dt&&St==="accept",!0));ne++;let $e=Ge?wt(Jt,ln):t.m(Jt,ln);try{let dt=yield $e;delete zt.abortController,zt.state="completed",dt.data instanceof HTMLImageElement||t.b(dt.data)?Hr(dt):dt.data&&Hr({data:yield(st=dt.data,typeof createImageBitmap=="function"?t.d(st):t.f(st)),cacheControl:dt.cacheControl,expires:dt.expires})}catch(dt){delete zt.abortController,vr(dt)}finally{ne--,ht()}var st}),ht=()=>{let zt=(()=>{for(let Jt of Object.keys(Ae))if(Ae[Jt]())return!0;return!1})()?t.a.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.a.MAX_PARALLEL_IMAGE_REQUESTS;for(let Jt=ne;Jt0;Jt++){let hr=R.shift();hr.abortController.signal.aborted?Jt--:Fe(hr)}},wt=(zt,Jt)=>new Promise((hr,vr)=>{let Hr=new Image,ln=zt.url,Ge=zt.credentials;Ge&&Ge==="include"?Hr.crossOrigin="use-credentials":(Ge&&Ge==="same-origin"||!t.s(ln))&&(Hr.crossOrigin="anonymous"),Jt.signal.addEventListener("abort",()=>{Hr.src="",vr(t.c())}),Hr.fetchPriority="high",Hr.onload=()=>{Hr.onerror=Hr.onload=null,hr({data:Hr})},Hr.onerror=()=>{Hr.onerror=Hr.onload=null,Jt.signal.aborted||vr(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))},Hr.src=ln})}(l||(l={})),l.resetRequestQueue();class _{constructor(R){this._transformRequestFn=R}transformRequest(R,ne){return this._transformRequestFn&&this._transformRequestFn(R,ne)||{url:R}}setTransformRequest(R){this._transformRequestFn=R}}function w(Ne){var R=new t.A(3);return R[0]=Ne[0],R[1]=Ne[1],R[2]=Ne[2],R}var M,E=function(Ne,R,ne){return Ne[0]=R[0]-ne[0],Ne[1]=R[1]-ne[1],Ne[2]=R[2]-ne[2],Ne};M=new t.A(3),t.A!=Float32Array&&(M[0]=0,M[1]=0,M[2]=0);var m=function(Ne){var R=Ne[0],ne=Ne[1];return R*R+ne*ne};function b(Ne){let R=[];if(typeof Ne=="string")R.push({id:"default",url:Ne});else if(Ne&&Ne.length>0){let ne=[];for(let{id:be,url:Ae}of Ne){let Fe=`${be}${Ae}`;ne.indexOf(Fe)===-1&&(ne.push(Fe),R.push({id:be,url:Ae}))}}return R}function v(Ne,R,ne){let be=Ne.split("?");return be[0]+=`${R}${ne}`,be.join("?")}(function(){var Ne=new t.A(2);t.A!=Float32Array&&(Ne[0]=0,Ne[1]=0)})();class u{constructor(R,ne,be,Ae){this.context=R,this.format=be,this.texture=R.gl.createTexture(),this.update(ne,Ae)}update(R,ne,be){let{width:Ae,height:Fe}=R,ht=!(this.size&&this.size[0]===Ae&&this.size[1]===Fe||be),{context:wt}=this,{gl:zt}=wt;if(this.useMipmap=!!(ne&&ne.useMipmap),zt.bindTexture(zt.TEXTURE_2D,this.texture),wt.pixelStoreUnpackFlipY.set(!1),wt.pixelStoreUnpack.set(1),wt.pixelStoreUnpackPremultiplyAlpha.set(this.format===zt.RGBA&&(!ne||ne.premultiply!==!1)),ht)this.size=[Ae,Fe],R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texImage2D(zt.TEXTURE_2D,0,this.format,this.format,zt.UNSIGNED_BYTE,R):zt.texImage2D(zt.TEXTURE_2D,0,this.format,Ae,Fe,0,this.format,zt.UNSIGNED_BYTE,R.data);else{let{x:Jt,y:hr}=be||{x:0,y:0};R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,zt.RGBA,zt.UNSIGNED_BYTE,R):zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,Ae,Fe,zt.RGBA,zt.UNSIGNED_BYTE,R.data)}this.useMipmap&&this.isSizePowerOfTwo()&&zt.generateMipmap(zt.TEXTURE_2D)}bind(R,ne,be){let{context:Ae}=this,{gl:Fe}=Ae;Fe.bindTexture(Fe.TEXTURE_2D,this.texture),be!==Fe.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(be=Fe.LINEAR),R!==this.filter&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,R),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,be||R),this.filter=R),ne!==this.wrap&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,ne),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,ne),this.wrap=ne)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){let{gl:R}=this.context;R.deleteTexture(this.texture),this.texture=null}}function y(Ne){let{userImage:R}=Ne;return!!(R&&R.render&&R.render())&&(Ne.data.replace(new Uint8Array(R.data.buffer)),!0)}class f extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(R){if(this.loaded!==R&&(this.loaded=R,R)){for(let{ids:ne,promiseResolve:be}of this.requestors)be(this._getImagesForIds(ne));this.requestors=[]}}getImage(R){let ne=this.images[R];if(ne&&!ne.data&&ne.spriteData){let be=ne.spriteData;ne.data=new t.R({width:be.width,height:be.height},be.context.getImageData(be.x,be.y,be.width,be.height).data),ne.spriteData=null}return ne}addImage(R,ne){if(this.images[R])throw new Error(`Image id ${R} already exist, use updateImage instead`);this._validate(R,ne)&&(this.images[R]=ne)}_validate(R,ne){let be=!0,Ae=ne.data||ne.spriteData;return this._validateStretch(ne.stretchX,Ae&&Ae.width)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "stretchX" value`))),be=!1),this._validateStretch(ne.stretchY,Ae&&Ae.height)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "stretchY" value`))),be=!1),this._validateContent(ne.content,ne)||(this.fire(new t.j(new Error(`Image "${R}" has invalid "content" value`))),be=!1),be}_validateStretch(R,ne){if(!R)return!0;let be=0;for(let Ae of R){if(Ae[0]{let Ae=!0;if(!this.isLoaded())for(let Fe of R)this.images[Fe]||(Ae=!1);this.isLoaded()||Ae?ne(this._getImagesForIds(R)):this.requestors.push({ids:R,promiseResolve:ne})})}_getImagesForIds(R){let ne={};for(let be of R){let Ae=this.getImage(be);Ae||(this.fire(new t.k("styleimagemissing",{id:be})),Ae=this.getImage(be)),Ae?ne[be]={data:Ae.data.clone(),pixelRatio:Ae.pixelRatio,sdf:Ae.sdf,version:Ae.version,stretchX:Ae.stretchX,stretchY:Ae.stretchY,content:Ae.content,textFitWidth:Ae.textFitWidth,textFitHeight:Ae.textFitHeight,hasRenderCallback:!!(Ae.userImage&&Ae.userImage.render)}:t.w(`Image "${be}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`)}return ne}getPixelSize(){let{width:R,height:ne}=this.atlasImage;return{width:R,height:ne}}getPattern(R){let ne=this.patterns[R],be=this.getImage(R);if(!be)return null;if(ne&&ne.position.version===be.version)return ne.position;if(ne)ne.position.version=be.version;else{let Ae={w:be.data.width+2,h:be.data.height+2,x:0,y:0},Fe=new t.I(Ae,be);this.patterns[R]={bin:Ae,position:Fe}}return this._updatePatternAtlas(),this.patterns[R].position}bind(R){let ne=R.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new u(R,this.atlasImage,ne.RGBA),this.atlasTexture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE)}_updatePatternAtlas(){let R=[];for(let Fe in this.patterns)R.push(this.patterns[Fe].bin);let{w:ne,h:be}=t.p(R),Ae=this.atlasImage;Ae.resize({width:ne||1,height:be||1});for(let Fe in this.patterns){let{bin:ht}=this.patterns[Fe],wt=ht.x+1,zt=ht.y+1,Jt=this.getImage(Fe).data,hr=Jt.width,vr=Jt.height;t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt},{width:hr,height:vr}),t.R.copy(Jt,Ae,{x:0,y:vr-1},{x:wt,y:zt-1},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt+vr},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:hr-1,y:0},{x:wt-1,y:zt},{width:1,height:vr}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt+hr,y:zt},{width:1,height:vr})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(R){for(let ne of R){if(this.callbackDispatchedThisFrame[ne])continue;this.callbackDispatchedThisFrame[ne]=!0;let be=this.getImage(ne);be||t.w(`Image with ID: "${ne}" was not found`),y(be)&&this.updateImage(ne,be)}}}let P=1e20;function L(Ne,R,ne,be,Ae,Fe,ht,wt,zt){for(let Jt=R;Jt-1);zt++,Fe[zt]=wt,ht[zt]=Jt,ht[zt+1]=P}for(let wt=0,zt=0;wt65535)throw new Error("glyphs > 65535 not supported");if(be.ranges[Fe])return{stack:R,id:ne,glyph:Ae};if(!this.url)throw new Error("glyphsUrl is not set");if(!be.requests[Fe]){let wt=F.loadGlyphRange(R,Fe,this.url,this.requestManager);be.requests[Fe]=wt}let ht=yield be.requests[Fe];for(let wt in ht)this._doesCharSupportLocalGlyph(+wt)||(be.glyphs[+wt]=ht[+wt]);return be.ranges[Fe]=!0,{stack:R,id:ne,glyph:ht[ne]||null}})}_doesCharSupportLocalGlyph(R){return!!this.localIdeographFontFamily&&new RegExp("\\p{Ideo}|\\p{sc=Hang}|\\p{sc=Hira}|\\p{sc=Kana}","u").test(String.fromCodePoint(R))}_tinySDF(R,ne,be){let Ae=this.localIdeographFontFamily;if(!Ae||!this._doesCharSupportLocalGlyph(be))return;let Fe=R.tinySDF;if(!Fe){let wt="400";/bold/i.test(ne)?wt="900":/medium/i.test(ne)?wt="500":/light/i.test(ne)&&(wt="200"),Fe=R.tinySDF=new F.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:Ae,fontWeight:wt})}let ht=Fe.draw(String.fromCharCode(be));return{id:be,bitmap:new t.o({width:ht.width||60,height:ht.height||60},ht.data),metrics:{width:ht.glyphWidth/2||24,height:ht.glyphHeight/2||24,left:ht.glyphLeft/2+.5||0,top:ht.glyphTop/2-27.5||-8,advance:ht.glyphAdvance/2||24,isDoubleResolution:!0}}}}F.loadGlyphRange=function(Ne,R,ne,be){return t._(this,void 0,void 0,function*(){let Ae=256*R,Fe=Ae+255,ht=be.transformRequest(ne.replace("{fontstack}",Ne).replace("{range}",`${Ae}-${Fe}`),"Glyphs"),wt=yield t.l(ht,new AbortController);if(!wt||!wt.data)throw new Error(`Could not load glyph range. range: ${R}, ${Ae}-${Fe}`);let zt={};for(let Jt of t.n(wt.data))zt[Jt.id]=Jt;return zt})},F.TinySDF=class{constructor({fontSize:Ne=24,buffer:R=3,radius:ne=8,cutoff:be=.25,fontFamily:Ae="sans-serif",fontWeight:Fe="normal",fontStyle:ht="normal"}={}){this.buffer=R,this.cutoff=be,this.radius=ne;let wt=this.size=Ne+4*R,zt=this._createCanvas(wt),Jt=this.ctx=zt.getContext("2d",{willReadFrequently:!0});Jt.font=`${ht} ${Fe} ${Ne}px ${Ae}`,Jt.textBaseline="alphabetic",Jt.textAlign="left",Jt.fillStyle="black",this.gridOuter=new Float64Array(wt*wt),this.gridInner=new Float64Array(wt*wt),this.f=new Float64Array(wt),this.z=new Float64Array(wt+1),this.v=new Uint16Array(wt)}_createCanvas(Ne){let R=document.createElement("canvas");return R.width=R.height=Ne,R}draw(Ne){let{width:R,actualBoundingBoxAscent:ne,actualBoundingBoxDescent:be,actualBoundingBoxLeft:Ae,actualBoundingBoxRight:Fe}=this.ctx.measureText(Ne),ht=Math.ceil(ne),wt=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(Fe-Ae))),zt=Math.min(this.size-this.buffer,ht+Math.ceil(be)),Jt=wt+2*this.buffer,hr=zt+2*this.buffer,vr=Math.max(Jt*hr,0),Hr=new Uint8ClampedArray(vr),ln={data:Hr,width:Jt,height:hr,glyphWidth:wt,glyphHeight:zt,glyphTop:ht,glyphLeft:0,glyphAdvance:R};if(wt===0||zt===0)return ln;let{ctx:Ge,buffer:$e,gridInner:st,gridOuter:dt}=this;Ge.clearRect($e,$e,wt,zt),Ge.fillText(Ne,$e,$e+ht);let St=Ge.getImageData($e,$e,wt,zt);dt.fill(P,0,vr),st.fill(0,0,vr);for(let xt=0;xt0?pr*pr:0,st[sr]=pr<0?pr*pr:0}}L(dt,0,0,Jt,hr,Jt,this.f,this.v,this.z),L(st,$e,$e,wt,zt,Jt,this.f,this.v,this.z);for(let xt=0;xt1&&(zt=R[++wt]);let hr=Math.abs(Jt-zt.left),vr=Math.abs(Jt-zt.right),Hr=Math.min(hr,vr),ln,Ge=Fe/be*(Ae+1);if(zt.isDash){let $e=Ae-Math.abs(Ge);ln=Math.sqrt(Hr*Hr+$e*$e)}else ln=Ae-Math.sqrt(Hr*Hr+Ge*Ge);this.data[ht+Jt]=Math.max(0,Math.min(255,ln+128))}}}addRegularDash(R){for(let wt=R.length-1;wt>=0;--wt){let zt=R[wt],Jt=R[wt+1];zt.zeroLength?R.splice(wt,1):Jt&&Jt.isDash===zt.isDash&&(Jt.left=zt.left,R.splice(wt,1))}let ne=R[0],be=R[R.length-1];ne.isDash===be.isDash&&(ne.left=be.left-this.width,be.right=ne.right+this.width);let Ae=this.width*this.nextRow,Fe=0,ht=R[Fe];for(let wt=0;wt1&&(ht=R[++Fe]);let zt=Math.abs(wt-ht.left),Jt=Math.abs(wt-ht.right),hr=Math.min(zt,Jt);this.data[Ae+wt]=Math.max(0,Math.min(255,(ht.isDash?hr:-hr)+128))}}addDash(R,ne){let be=ne?7:0,Ae=2*be+1;if(this.nextRow+Ae>this.height)return t.w("LineAtlas out of space"),null;let Fe=0;for(let wt=0;wt{ne.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[Q]}numActive(){return Object.keys(this.active).length}}let se=Math.floor(i.hardwareConcurrency/2),fe,G;function $(){return fe||(fe=new le),fe}le.workerCount=t.C(globalThis)?Math.max(Math.min(se,3),1):1;class J{constructor(R,ne){this.workerPool=R,this.actors=[],this.currentActor=0,this.id=ne;let be=this.workerPool.acquire(ne);for(let Ae=0;Ae{ne.remove()}),this.actors=[],R&&this.workerPool.release(this.id)}registerMessageHandler(R,ne){for(let be of this.actors)be.registerMessageHandler(R,ne)}}function X(){return G||(G=new J($(),t.G),G.registerMessageHandler("GR",(Ne,R,ne)=>t.m(R,ne))),G}function re(Ne,R){let ne=t.H();return t.J(ne,ne,[1,1,0]),t.K(ne,ne,[.5*Ne.width,.5*Ne.height,1]),t.L(ne,ne,Ne.calculatePosMatrix(R.toUnwrapped()))}function ae(Ne,R,ne,be,Ae,Fe){let ht=function(vr,Hr,ln){if(vr)for(let Ge of vr){let $e=Hr[Ge];if($e&&$e.source===ln&&$e.type==="fill-extrusion")return!0}else for(let Ge in Hr){let $e=Hr[Ge];if($e.source===ln&&$e.type==="fill-extrusion")return!0}return!1}(Ae&&Ae.layers,R,Ne.id),wt=Fe.maxPitchScaleFactor(),zt=Ne.tilesIn(be,wt,ht);zt.sort(j);let Jt=[];for(let vr of zt)Jt.push({wrappedTileID:vr.tileID.wrapped().key,queryResults:vr.tile.queryRenderedFeatures(R,ne,Ne._state,vr.queryGeometry,vr.cameraQueryGeometry,vr.scale,Ae,Fe,wt,re(Ne.transform,vr.tileID))});let hr=function(vr){let Hr={},ln={};for(let Ge of vr){let $e=Ge.queryResults,st=Ge.wrappedTileID,dt=ln[st]=ln[st]||{};for(let St in $e){let xt=$e[St],It=dt[St]=dt[St]||{},rr=Hr[St]=Hr[St]||[];for(let sr of xt)It[sr.featureIndex]||(It[sr.featureIndex]=!0,rr.push(sr))}}return Hr}(Jt);for(let vr in hr)hr[vr].forEach(Hr=>{let ln=Hr.feature,Ge=Ne.getFeatureState(ln.layer["source-layer"],ln.id);ln.source=ln.layer.source,ln.layer["source-layer"]&&(ln.sourceLayer=ln.layer["source-layer"]),ln.state=Ge});return hr}function j(Ne,R){let ne=Ne.tileID,be=R.tileID;return ne.overscaledZ-be.overscaledZ||ne.canonical.y-be.canonical.y||ne.wrap-be.wrap||ne.canonical.x-be.canonical.x}function ee(Ne,R,ne){return t._(this,void 0,void 0,function*(){let be=Ne;if(Ne.url?be=(yield t.h(R.transformRequest(Ne.url,"Source"),ne)).data:yield i.frameAsync(ne),!be)return null;let Ae=t.M(t.e(be,Ne),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return"vector_layers"in be&&be.vector_layers&&(Ae.vectorLayerIds=be.vector_layers.map(Fe=>Fe.id)),Ae})}class ie{constructor(R,ne){R&&(ne?this.setSouthWest(R).setNorthEast(ne):Array.isArray(R)&&(R.length===4?this.setSouthWest([R[0],R[1]]).setNorthEast([R[2],R[3]]):this.setSouthWest(R[0]).setNorthEast(R[1])))}setNorthEast(R){return this._ne=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}setSouthWest(R){return this._sw=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}extend(R){let ne=this._sw,be=this._ne,Ae,Fe;if(R instanceof t.N)Ae=R,Fe=R;else{if(!(R instanceof ie))return Array.isArray(R)?R.length===4||R.every(Array.isArray)?this.extend(ie.convert(R)):this.extend(t.N.convert(R)):R&&("lng"in R||"lon"in R)&&"lat"in R?this.extend(t.N.convert(R)):this;if(Ae=R._sw,Fe=R._ne,!Ae||!Fe)return this}return ne||be?(ne.lng=Math.min(Ae.lng,ne.lng),ne.lat=Math.min(Ae.lat,ne.lat),be.lng=Math.max(Fe.lng,be.lng),be.lat=Math.max(Fe.lat,be.lat)):(this._sw=new t.N(Ae.lng,Ae.lat),this._ne=new t.N(Fe.lng,Fe.lat)),this}getCenter(){return new t.N((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.N(this.getWest(),this.getNorth())}getSouthEast(){return new t.N(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(R){let{lng:ne,lat:be}=t.N.convert(R),Ae=this._sw.lng<=ne&&ne<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Ae=this._sw.lng>=ne&&ne>=this._ne.lng),this._sw.lat<=be&&be<=this._ne.lat&&Ae}static convert(R){return R instanceof ie?R:R&&new ie(R)}static fromLngLat(R,ne=0){let be=360*ne/40075017,Ae=be/Math.cos(Math.PI/180*R.lat);return new ie(new t.N(R.lng-Ae,R.lat-be),new t.N(R.lng+Ae,R.lat+be))}adjustAntiMeridian(){let R=new t.N(this._sw.lng,this._sw.lat),ne=new t.N(this._ne.lng,this._ne.lat);return new ie(R,R.lng>ne.lng?new t.N(ne.lng+360,ne.lat):ne)}}class ce{constructor(R,ne,be){this.bounds=ie.convert(this.validateBounds(R)),this.minzoom=ne||0,this.maxzoom=be||24}validateBounds(R){return Array.isArray(R)&&R.length===4?[Math.max(-180,R[0]),Math.max(-90,R[1]),Math.min(180,R[2]),Math.min(90,R[3])]:[-180,-90,180,90]}contains(R){let ne=Math.pow(2,R.z),be=Math.floor(t.O(this.bounds.getWest())*ne),Ae=Math.floor(t.Q(this.bounds.getNorth())*ne),Fe=Math.ceil(t.O(this.bounds.getEast())*ne),ht=Math.ceil(t.Q(this.bounds.getSouth())*ne);return R.x>=be&&R.x=Ae&&R.y{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}serialize(){return t.e({},this._options)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be={request:this.map._requestManager.transformRequest(ne,"Tile"),uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,tileSize:this.tileSize*R.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};be.request.collectResourceTiming=this._collectResourceTiming;let Ae="RT";if(R.actor&&R.state!=="expired"){if(R.state==="loading")return new Promise((Fe,ht)=>{R.reloadPromise={resolve:Fe,reject:ht}})}else R.actor=this.dispatcher.getActor(),Ae="LT";R.abortController=new AbortController;try{let Fe=yield R.actor.sendAsync({type:Ae,data:be},R.abortController);if(delete R.abortController,R.aborted)return;this._afterTileLoadWorkerResponse(R,Fe)}catch(Fe){if(delete R.abortController,R.aborted)return;if(Fe&&Fe.status!==404)throw Fe;this._afterTileLoadWorkerResponse(R,null)}})}_afterTileLoadWorkerResponse(R,ne){if(ne&&ne.resourceTiming&&(R.resourceTiming=ne.resourceTiming),ne&&this.map._refreshExpiredTiles&&R.setExpiryData(ne),R.loadVectorData(ne,this.map.painter),R.reloadPromise){let be=R.reloadPromise;R.reloadPromise=null,this.loadTile(R).then(be.resolve).catch(be.reject)}}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.actor&&(yield R.actor.sendAsync({type:"AT",data:{uid:R.uid,type:this.type,source:this.id}}))})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),R.actor&&(yield R.actor.sendAsync({type:"RMT",data:{uid:R.uid,type:this.type,source:this.id}}))})}hasTransition(){return!1}}class Te extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.setEventedParent(Ae),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.e({type:"raster"},ne),t.e(this,t.M(ne,["url","scheme","tileSize"]))}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{let R=yield ee(this._options,this.map._requestManager,this._tileJSONRequest);this._tileJSONRequest=null,this._loaded=!0,R&&(t.e(this,R),R.bounds&&(this.tileBounds=new ce(R.bounds,this.minzoom,this.maxzoom)),this.fire(new t.k("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.k("data",{dataType:"source",sourceDataType:"content"})))}catch(R){this._tileJSONRequest=null,this.fire(new t.j(R))}})}loaded(){return this._loaded}onAdd(R){this.map=R,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}setSourceProperty(R){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),R(),this.load()}setTiles(R){return this.setSourceProperty(()=>{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}serialize(){return t.e({},this._options)}hasTile(R){return!this.tileBounds||this.tileBounds.contains(R.canonical)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);R.abortController=new AbortController;try{let be=yield l.getImage(this.map._requestManager.transformRequest(ne,"Tile"),R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state="unloaded");if(be&&be.data){this.map._refreshExpiredTiles&&be.cacheControl&&be.expires&&R.setExpiryData({cacheControl:be.cacheControl,expires:be.expires});let Ae=this.map.painter.context,Fe=Ae.gl,ht=be.data;R.texture=this.map.painter.getTileTexture(ht.width),R.texture?R.texture.update(ht,{useMipmap:!0}):(R.texture=new u(Ae,ht,Fe.RGBA,{useMipmap:!0}),R.texture.bind(Fe.LINEAR,Fe.CLAMP_TO_EDGE,Fe.LINEAR_MIPMAP_NEAREST)),R.state="loaded"}}catch(be){if(delete R.abortController,R.aborted)R.state="unloaded";else if(be)throw R.state="errored",be}})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController)})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.texture&&this.map.painter.saveTileTexture(R.texture)})}hasTransition(){return!1}}class Ue extends Te{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.type="raster-dem",this.maxzoom=22,this._options=t.e({type:"raster-dem"},ne),this.encoding=ne.encoding||"mapbox",this.redFactor=ne.redFactor,this.greenFactor=ne.greenFactor,this.blueFactor=ne.blueFactor,this.baseShift=ne.baseShift}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be=this.map._requestManager.transformRequest(ne,"Tile");R.neighboringTiles=this._getNeighboringTiles(R.tileID),R.abortController=new AbortController;try{let Ae=yield l.getImage(be,R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state="unloaded");if(Ae&&Ae.data){let Fe=Ae.data;this.map._refreshExpiredTiles&&Ae.cacheControl&&Ae.expires&&R.setExpiryData({cacheControl:Ae.cacheControl,expires:Ae.expires});let ht=t.b(Fe)&&t.U()?Fe:yield this.readImageNow(Fe),wt={type:this.type,uid:R.uid,source:this.id,rawImageData:ht,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(!R.actor||R.state==="expired"){R.actor=this.dispatcher.getActor();let zt=yield R.actor.sendAsync({type:"LDT",data:wt});R.dem=zt,R.needsHillshadePrepare=!0,R.needsTerrainPrepare=!0,R.state="loaded"}}}catch(Ae){if(delete R.abortController,R.aborted)R.state="unloaded";else if(Ae)throw R.state="errored",Ae}})}readImageNow(R){return t._(this,void 0,void 0,function*(){if(typeof VideoFrame<"u"&&t.V()){let ne=R.width+2,be=R.height+2;try{return new t.R({width:ne,height:be},yield t.W(R,-1,-1,ne,be))}catch{}}return i.getImageData(R,1)})}_getNeighboringTiles(R){let ne=R.canonical,be=Math.pow(2,ne.z),Ae=(ne.x-1+be)%be,Fe=ne.x===0?R.wrap-1:R.wrap,ht=(ne.x+1+be)%be,wt=ne.x+1===be?R.wrap+1:R.wrap,zt={};return zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y).key]={backfilled:!1},ne.y>0&&(zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,R.wrap,ne.z,ne.x,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y-1).key]={backfilled:!1}),ne.y+10&&t.e(Fe,{resourceTiming:Ae}),this.fire(new t.k("data",Object.assign(Object.assign({},Fe),{sourceDataType:"metadata"}))),this.fire(new t.k("data",Object.assign(Object.assign({},Fe),{sourceDataType:"content"})))}catch(be){if(this._pendingLoads--,this._removed)return void this.fire(new t.k("dataabort",{dataType:"source"}));this.fire(new t.j(be))}})}loaded(){return this._pendingLoads===0}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.actor?"RT":"LT";R.actor=this.actor;let be={type:this.type,uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};R.abortController=new AbortController;let Ae=yield this.actor.sendAsync({type:ne,data:be},R.abortController);delete R.abortController,R.unloadVectorData(),R.aborted||R.loadVectorData(Ae,this.map.painter,ne==="RT")})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.aborted=!0})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:R.uid,type:this.type,source:this.id}})})}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}})}serialize(){return t.e({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var Ye=t.Y([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class it extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.coordinates=ne.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ae),this.options=ne}load(R){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{let ne=yield l.getImage(this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,ne&&ne.data&&(this.image=ne.data,R&&(this.coordinates=R),this._finishLoading())}catch(ne){this._request=null,this._loaded=!0,this.fire(new t.j(ne))}})}loaded(){return this._loaded}updateImage(R){return R.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=R.url,this.load(R.coordinates).finally(()=>{this.texture=null}),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.k("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(R){this.map=R,this.load()}onRemove(){this._request&&(this._request.abort(),this._request=null)}setCoordinates(R){this.coordinates=R;let ne=R.map(t.Z.fromLngLat);this.tileID=function(Ae){let Fe=1/0,ht=1/0,wt=-1/0,zt=-1/0;for(let Hr of Ae)Fe=Math.min(Fe,Hr.x),ht=Math.min(ht,Hr.y),wt=Math.max(wt,Hr.x),zt=Math.max(zt,Hr.y);let Jt=Math.max(wt-Fe,zt-ht),hr=Math.max(0,Math.floor(-Math.log(Jt)/Math.LN2)),vr=Math.pow(2,hr);return new t.a1(hr,Math.floor((Fe+wt)/2*vr),Math.floor((ht+zt)/2*vr))}(ne),this.minzoom=this.maxzoom=this.tileID.z;let be=ne.map(Ae=>this.tileID.getTilePoint(Ae)._round());return this._boundsArray=new t.$,this._boundsArray.emplaceBack(be[0].x,be[0].y,0,0),this._boundsArray.emplaceBack(be[1].x,be[1].y,t.X,0),this._boundsArray.emplaceBack(be[3].x,be[3].y,0,t.X),this._boundsArray.emplaceBack(be[2].x,be[2].y,t.X,t.X),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.k("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(Object.keys(this.tiles).length===0||!this.image)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture||(this.texture=new u(R,this.image,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!=="loaded"&&(Fe.state="loaded",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}loadTile(R){return t._(this,void 0,void 0,function*(){this.tileID&&this.tileID.equals(R.tileID.canonical)?(this.tiles[String(R.tileID.wrap)]=R,R.buckets={}):R.state="errored"})}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class at extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.roundZoom=!0,this.type="video",this.options=ne}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1;let R=this.options;this.urls=[];for(let ne of R.urls)this.urls.push(this.map._requestManager.transformRequest(ne,"Source").url);try{let ne=yield t.a3(this.urls);if(this._loaded=!0,!ne)return;this.video=ne,this.video.loop=!0,this.video.addEventListener("playing",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading()}catch(ne){this.fire(new t.j(ne))}})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(R){if(this.video){let ne=this.video.seekable;Rne.end(0)?this.fire(new t.j(new t.a2(`sources.${this.id}`,null,`Playback for this video can be set only between the ${ne.start(0)} and ${ne.end(0)}-second mark.`))):this.video.currentTime=R}}getVideo(){return this.video}onAdd(R){this.map||(this.map=R,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(Object.keys(this.tiles).length===0||this.video.readyState<2)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE),ne.texSubImage2D(ne.TEXTURE_2D,0,0,0,ne.RGBA,ne.UNSIGNED_BYTE,this.video)):(this.texture=new u(R,this.video,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!=="loaded"&&(Fe.state="loaded",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class tt extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),ne.coordinates?Array.isArray(ne.coordinates)&&ne.coordinates.length===4&&!ne.coordinates.some(Fe=>!Array.isArray(Fe)||Fe.length!==2||Fe.some(ht=>typeof ht!="number"))||this.fire(new t.j(new t.a2(`sources.${R}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property "coordinates"'))),ne.animate&&typeof ne.animate!="boolean"&&this.fire(new t.j(new t.a2(`sources.${R}`,null,'optional "animate" property must be a boolean value'))),ne.canvas?typeof ne.canvas=="string"||ne.canvas instanceof HTMLCanvasElement||this.fire(new t.j(new t.a2(`sources.${R}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property "canvas"'))),this.options=ne,this.animate=ne.animate===void 0||ne.animate}load(){return t._(this,void 0,void 0,function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.j(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())})}getCanvas(){return this.canvas}onAdd(R){this.map=R,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let R=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,R=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,R=!0),this._hasInvalidDimensions()||Object.keys(this.tiles).length===0)return;let ne=this.map.painter.context,be=ne.gl;this.boundsBuffer||(this.boundsBuffer=ne.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?(R||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new u(ne,this.canvas,be.RGBA,{premultiply:!0});let Ae=!1;for(let Fe in this.tiles){let ht=this.tiles[Fe];ht.state!=="loaded"&&(ht.state="loaded",ht.texture=this.texture,Ae=!0)}Ae&&this.fire(new t.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(let R of[this.canvas.width,this.canvas.height])if(isNaN(R)||R<=0)return!0;return!1}}let ut={},Me=Ne=>{switch(Ne){case"geojson":return Ie;case"image":return it;case"raster":return Te;case"raster-dem":return Ue;case"vector":return xe;case"video":return at;case"canvas":return tt}return ut[Ne]},pe="RTLPluginLoaded";class ue extends t.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=X()}_syncState(R){return this.status=R,this.dispatcher.broadcast("SRPS",{pluginStatus:R,pluginURL:this.url}).catch(ne=>{throw this.status="error",ne})}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null}setRTLTextPlugin(R){return t._(this,arguments,void 0,function*(ne,be=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=i.resolveURL(ne),!this.url)throw new Error(`requested url ${ne} is invalid`);if(this.status==="unavailable"){if(!be)return this._requestImport();this.status="deferred",this._syncState(this.status)}else if(this.status==="requested")return this._requestImport()})}_requestImport(){return t._(this,void 0,void 0,function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new t.k(pe))})}lazyLoad(){this.status==="unavailable"?this.status="requested":this.status==="deferred"&&this._requestImport()}}let Oe=null;function rt(){return Oe||(Oe=new ue),Oe}class ot{constructor(R,ne){this.timeAdded=0,this.fadeEndTime=0,this.tileID=R,this.uid=t.a4(),this.uses=0,this.tileSize=ne,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttCoords={},this.expiredRequestCount=0,this.state="loading"}registerFadeDuration(R){let ne=R+this.timeAdded;neFe.getLayer(Jt)).filter(Boolean);if(zt.length!==0){wt.layers=zt,wt.stateDependentLayerIds&&(wt.stateDependentLayers=wt.stateDependentLayerIds.map(Jt=>zt.filter(hr=>hr.id===Jt)[0]));for(let Jt of zt)ht[Jt.id]=wt}}return ht}(R.buckets,ne.style),this.hasSymbolBuckets=!1;for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6){if(this.hasSymbolBuckets=!0,!be)break;Fe.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6&&Fe.hasRTLText){this.hasRTLText=!0,rt().lazyLoad();break}}this.queryPadding=0;for(let Ae in this.buckets){let Fe=this.buckets[Ae];this.queryPadding=Math.max(this.queryPadding,ne.style.getLayer(Ae).queryRadius(Fe))}R.imageAtlas&&(this.imageAtlas=R.imageAtlas),R.glyphAtlasImage&&(this.glyphAtlasImage=R.glyphAtlasImage)}else this.collisionBoxArray=new t.a5}unloadVectorData(){for(let R in this.buckets)this.buckets[R].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"}getBucket(R){return this.buckets[R.id]}upload(R){for(let be in this.buckets){let Ae=this.buckets[be];Ae.uploadPending()&&Ae.upload(R)}let ne=R.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new u(R,this.imageAtlas.image,ne.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new u(R,this.glyphAtlasImage,ne.ALPHA),this.glyphAtlasImage=null)}prepare(R){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(R,this.imageAtlasTexture)}queryRenderedFeatures(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:Ae,cameraQueryGeometry:Fe,scale:ht,tileSize:this.tileSize,pixelPosMatrix:hr,transform:zt,params:wt,queryPadding:this.queryPadding*Jt},R,ne,be):{}}querySourceFeatures(R,ne){let be=this.latestFeatureIndex;if(!be||!be.rawTileData)return;let Ae=be.loadVTLayers(),Fe=ne&&ne.sourceLayer?ne.sourceLayer:"",ht=Ae._geojsonTileLayer||Ae[Fe];if(!ht)return;let wt=t.a7(ne&&ne.filter),{z:zt,x:Jt,y:hr}=this.tileID.canonical,vr={z:zt,x:Jt,y:hr};for(let Hr=0;Hrbe)Ae=!1;else if(ne)if(this.expirationTime{this.remove(R,Fe)},be)),this.data[Ae].push(Fe),this.order.push(Ae),this.order.length>this.max){let ht=this._getAndRemoveByKey(this.order[0]);ht&&this.onRemove(ht)}return this}has(R){return R.wrapped().key in this.data}getAndRemove(R){return this.has(R)?this._getAndRemoveByKey(R.wrapped().key):null}_getAndRemoveByKey(R){let ne=this.data[R].shift();return ne.timeout&&clearTimeout(ne.timeout),this.data[R].length===0&&delete this.data[R],this.order.splice(this.order.indexOf(R),1),ne.value}getByKey(R){let ne=this.data[R];return ne?ne[0].value:null}get(R){return this.has(R)?this.data[R.wrapped().key][0].value:null}remove(R,ne){if(!this.has(R))return this;let be=R.wrapped().key,Ae=ne===void 0?0:this.data[be].indexOf(ne),Fe=this.data[be][Ae];return this.data[be].splice(Ae,1),Fe.timeout&&clearTimeout(Fe.timeout),this.data[be].length===0&&delete this.data[be],this.onRemove(Fe.value),this.order.splice(this.order.indexOf(be),1),this}setMaxSize(R){for(this.max=R;this.order.length>this.max;){let ne=this._getAndRemoveByKey(this.order[0]);ne&&this.onRemove(ne)}return this}filter(R){let ne=[];for(let be in this.data)for(let Ae of this.data[be])R(Ae.value)||ne.push(Ae);for(let be of ne)this.remove(be.value.tileID,be)}}class Lt{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(R,ne,be){let Ae=String(ne);if(this.stateChanges[R]=this.stateChanges[R]||{},this.stateChanges[R][Ae]=this.stateChanges[R][Ae]||{},t.e(this.stateChanges[R][Ae],be),this.deletedStates[R]===null){this.deletedStates[R]={};for(let Fe in this.state[R])Fe!==Ae&&(this.deletedStates[R][Fe]=null)}else if(this.deletedStates[R]&&this.deletedStates[R][Ae]===null){this.deletedStates[R][Ae]={};for(let Fe in this.state[R][Ae])be[Fe]||(this.deletedStates[R][Ae][Fe]=null)}else for(let Fe in be)this.deletedStates[R]&&this.deletedStates[R][Ae]&&this.deletedStates[R][Ae][Fe]===null&&delete this.deletedStates[R][Ae][Fe]}removeFeatureState(R,ne,be){if(this.deletedStates[R]===null)return;let Ae=String(ne);if(this.deletedStates[R]=this.deletedStates[R]||{},be&&ne!==void 0)this.deletedStates[R][Ae]!==null&&(this.deletedStates[R][Ae]=this.deletedStates[R][Ae]||{},this.deletedStates[R][Ae][be]=null);else if(ne!==void 0)if(this.stateChanges[R]&&this.stateChanges[R][Ae])for(be in this.deletedStates[R][Ae]={},this.stateChanges[R][Ae])this.deletedStates[R][Ae][be]=null;else this.deletedStates[R][Ae]=null;else this.deletedStates[R]=null}getState(R,ne){let be=String(ne),Ae=t.e({},(this.state[R]||{})[be],(this.stateChanges[R]||{})[be]);if(this.deletedStates[R]===null)return{};if(this.deletedStates[R]){let Fe=this.deletedStates[R][ne];if(Fe===null)return{};for(let ht in Fe)delete Ae[ht]}return Ae}initializeTileState(R,ne){R.setFeatureState(this.state,ne)}coalesceChanges(R,ne){let be={};for(let Ae in this.stateChanges){this.state[Ae]=this.state[Ae]||{};let Fe={};for(let ht in this.stateChanges[Ae])this.state[Ae][ht]||(this.state[Ae][ht]={}),t.e(this.state[Ae][ht],this.stateChanges[Ae][ht]),Fe[ht]=this.state[Ae][ht];be[Ae]=Fe}for(let Ae in this.deletedStates){this.state[Ae]=this.state[Ae]||{};let Fe={};if(this.deletedStates[Ae]===null)for(let ht in this.state[Ae])Fe[ht]={},this.state[Ae][ht]={};else for(let ht in this.deletedStates[Ae]){if(this.deletedStates[Ae][ht]===null)this.state[Ae][ht]={};else for(let wt of Object.keys(this.deletedStates[Ae][ht]))delete this.state[Ae][ht][wt];Fe[ht]=this.state[Ae][ht]}be[Ae]=be[Ae]||{},t.e(be[Ae],Fe)}if(this.stateChanges={},this.deletedStates={},Object.keys(be).length!==0)for(let Ae in R)R[Ae].setFeatureState(be,ne)}}class Et extends t.E{constructor(R,ne,be){super(),this.id=R,this.dispatcher=be,this.on("data",Ae=>this._dataHandler(Ae)),this.on("dataloading",()=>{this._sourceErrored=!1}),this.on("error",()=>{this._sourceErrored=this._source.loaded()}),this._source=((Ae,Fe,ht,wt)=>{let zt=new(Me(Fe.type))(Ae,Fe,ht,wt);if(zt.id!==Ae)throw new Error(`Expected Source id to be ${Ae} instead of ${zt.id}`);return zt})(R,ne,be,this),this._tiles={},this._cache=new et(0,Ae=>this._unloadTile(Ae)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new Lt,this._didEmitContent=!1,this._updated=!1}onAdd(R){this.map=R,this._maxTileCacheSize=R?R._maxTileCacheSize:null,this._maxTileCacheZoomLevels=R?R._maxTileCacheZoomLevels:null,this._source&&this._source.onAdd&&this._source.onAdd(R)}onRemove(R){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(R)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;if(!(this.used===void 0&&this.usedForTerrain===void 0||this.used||this.usedForTerrain))return!0;if(!this._updated)return!1;for(let R in this._tiles){let ne=this._tiles[R];if(ne.state!=="loaded"&&ne.state!=="errored")return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;let R=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,R&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(R,ne,be){return t._(this,void 0,void 0,function*(){try{yield this._source.loadTile(R),this._tileLoaded(R,ne,be)}catch(Ae){R.state="errored",Ae.status!==404?this._source.fire(new t.j(Ae,{tile:R})):this.update(this.transform,this.terrain)}})}_unloadTile(R){this._source.unloadTile&&this._source.unloadTile(R)}_abortTile(R){this._source.abortTile&&this._source.abortTile(R),this._source.fire(new t.k("dataabort",{tile:R,coord:R.tileID,dataType:"source"}))}serialize(){return this._source.serialize()}prepare(R){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(let ne in this._tiles){let be=this._tiles[ne];be.upload(R),be.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map(R=>R.tileID).sort(Bt).map(R=>R.key)}getRenderableIds(R){let ne=[];for(let be in this._tiles)this._isIdRenderable(be,R)&&ne.push(this._tiles[be]);return R?ne.sort((be,Ae)=>{let Fe=be.tileID,ht=Ae.tileID,wt=new t.P(Fe.canonical.x,Fe.canonical.y)._rotate(this.transform.angle),zt=new t.P(ht.canonical.x,ht.canonical.y)._rotate(this.transform.angle);return Fe.overscaledZ-ht.overscaledZ||zt.y-wt.y||zt.x-wt.x}).map(be=>be.tileID.key):ne.map(be=>be.tileID).sort(Bt).map(be=>be.key)}hasRenderableParent(R){let ne=this.findLoadedParent(R,0);return!!ne&&this._isIdRenderable(ne.tileID.key)}_isIdRenderable(R,ne){return this._tiles[R]&&this._tiles[R].hasData()&&!this._coveredTiles[R]&&(ne||!this._tiles[R].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(let R in this._tiles)this._tiles[R].state!=="errored"&&this._reloadTile(R,"reloading")}}_reloadTile(R,ne){return t._(this,void 0,void 0,function*(){let be=this._tiles[R];be&&(be.state!=="loading"&&(be.state=ne),yield this._loadTile(be,R,ne))})}_tileLoaded(R,ne,be){R.timeAdded=i.now(),be==="expired"&&(R.refreshedUponExpiration=!0),this._setTileReloadTimer(ne,R),this.getSource().type==="raster-dem"&&R.dem&&this._backfillDEM(R),this._state.initializeTileState(R,this.map?this.map.painter:null),R.aborted||this._source.fire(new t.k("data",{dataType:"source",tile:R,coord:R.tileID}))}_backfillDEM(R){let ne=this.getRenderableIds();for(let Ae=0;Ae1||(Math.abs(ht)>1&&(Math.abs(ht+zt)===1?ht+=zt:Math.abs(ht-zt)===1&&(ht-=zt)),Fe.dem&&Ae.dem&&(Ae.dem.backfillBorder(Fe.dem,ht,wt),Ae.neighboringTiles&&Ae.neighboringTiles[Jt]&&(Ae.neighboringTiles[Jt].backfilled=!0)))}}getTile(R){return this.getTileByID(R.key)}getTileByID(R){return this._tiles[R]}_retainLoadedChildren(R,ne,be,Ae){for(let Fe in this._tiles){let ht=this._tiles[Fe];if(Ae[Fe]||!ht.hasData()||ht.tileID.overscaledZ<=ne||ht.tileID.overscaledZ>be)continue;let wt=ht.tileID;for(;ht&&ht.tileID.overscaledZ>ne+1;){let Jt=ht.tileID.scaledTo(ht.tileID.overscaledZ-1);ht=this._tiles[Jt.key],ht&&ht.hasData()&&(wt=Jt)}let zt=wt;for(;zt.overscaledZ>ne;)if(zt=zt.scaledTo(zt.overscaledZ-1),R[zt.key]){Ae[wt.key]=wt;break}}}findLoadedParent(R,ne){if(R.key in this._loadedParentTiles){let be=this._loadedParentTiles[R.key];return be&&be.tileID.overscaledZ>=ne?be:null}for(let be=R.overscaledZ-1;be>=ne;be--){let Ae=R.scaledTo(be),Fe=this._getLoadedTile(Ae);if(Fe)return Fe}}findLoadedSibling(R){return this._getLoadedTile(R)}_getLoadedTile(R){let ne=this._tiles[R.key];return ne&&ne.hasData()?ne:this._cache.getByKey(R.wrapped().key)}updateCacheSize(R){let ne=Math.ceil(R.width/this._source.tileSize)+1,be=Math.ceil(R.height/this._source.tileSize)+1,Ae=Math.floor(ne*be*(this._maxTileCacheZoomLevels===null?t.a.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),Fe=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Ae):Ae;this._cache.setMaxSize(Fe)}handleWrapJump(R){let ne=Math.round((R-(this._prevLng===void 0?R:this._prevLng))/360);if(this._prevLng=R,ne){let be={};for(let Ae in this._tiles){let Fe=this._tiles[Ae];Fe.tileID=Fe.tileID.unwrapTo(Fe.tileID.wrap+ne),be[Fe.tileID.key]=Fe}this._tiles=be;for(let Ae in this._timers)clearTimeout(this._timers[Ae]),delete this._timers[Ae];for(let Ae in this._tiles)this._setTileReloadTimer(Ae,this._tiles[Ae])}}_updateCoveredAndRetainedTiles(R,ne,be,Ae,Fe,ht){let wt={},zt={},Jt=Object.keys(R),hr=i.now();for(let vr of Jt){let Hr=R[vr],ln=this._tiles[vr];if(!ln||ln.fadeEndTime!==0&&ln.fadeEndTime<=hr)continue;let Ge=this.findLoadedParent(Hr,ne),$e=this.findLoadedSibling(Hr),st=Ge||$e||null;st&&(this._addTile(st.tileID),wt[st.tileID.key]=st.tileID),zt[vr]=Hr}this._retainLoadedChildren(zt,Ae,be,R);for(let vr in wt)R[vr]||(this._coveredTiles[vr]=!0,R[vr]=wt[vr]);if(ht){let vr={},Hr={};for(let ln of Fe)this._tiles[ln.key].hasData()?vr[ln.key]=ln:Hr[ln.key]=ln;for(let ln in Hr){let Ge=Hr[ln].children(this._source.maxzoom);this._tiles[Ge[0].key]&&this._tiles[Ge[1].key]&&this._tiles[Ge[2].key]&&this._tiles[Ge[3].key]&&(vr[Ge[0].key]=R[Ge[0].key]=Ge[0],vr[Ge[1].key]=R[Ge[1].key]=Ge[1],vr[Ge[2].key]=R[Ge[2].key]=Ge[2],vr[Ge[3].key]=R[Ge[3].key]=Ge[3],delete Hr[ln])}for(let ln in Hr){let Ge=Hr[ln],$e=this.findLoadedParent(Ge,this._source.minzoom),st=this.findLoadedSibling(Ge),dt=$e||st||null;if(dt){vr[dt.tileID.key]=R[dt.tileID.key]=dt.tileID;for(let St in vr)vr[St].isChildOf(dt.tileID)&&delete vr[St]}}for(let ln in this._tiles)vr[ln]||(this._coveredTiles[ln]=!0)}}update(R,ne){if(!this._sourceLoaded||this._paused)return;let be;this.transform=R,this.terrain=ne,this.updateCacheSize(R),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?be=R.getVisibleUnwrappedCoordinates(this._source.tileID).map(hr=>new t.S(hr.canonical.z,hr.wrap,hr.canonical.z,hr.canonical.x,hr.canonical.y)):(be=R.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:ne}),this._source.hasTile&&(be=be.filter(hr=>this._source.hasTile(hr)))):be=[];let Ae=R.coveringZoomLevel(this._source),Fe=Math.max(Ae-Et.maxOverzooming,this._source.minzoom),ht=Math.max(Ae+Et.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){let hr={};for(let vr of be)if(vr.canonical.z>this._source.minzoom){let Hr=vr.scaledTo(vr.canonical.z-1);hr[Hr.key]=Hr;let ln=vr.scaledTo(Math.max(this._source.minzoom,Math.min(vr.canonical.z,5)));hr[ln.key]=ln}be=be.concat(Object.values(hr))}let wt=be.length===0&&!this._updated&&this._didEmitContent;this._updated=!0,wt&&this.fire(new t.k("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));let zt=this._updateRetainedTiles(be,Ae);qt(this._source.type)&&this._updateCoveredAndRetainedTiles(zt,Fe,ht,Ae,be,ne);for(let hr in zt)this._tiles[hr].clearFadeHold();let Jt=t.ab(this._tiles,zt);for(let hr of Jt){let vr=this._tiles[hr];vr.hasSymbolBuckets&&!vr.holdingForFade()?vr.setHoldDuration(this.map._fadeDuration):vr.hasSymbolBuckets&&!vr.symbolFadeFinished()||this._removeTile(hr)}this._updateLoadedParentTileCache(),this._updateLoadedSiblingTileCache()}releaseSymbolFadeTiles(){for(let R in this._tiles)this._tiles[R].holdingForFade()&&this._removeTile(R)}_updateRetainedTiles(R,ne){var be;let Ae={},Fe={},ht=Math.max(ne-Et.maxOverzooming,this._source.minzoom),wt=Math.max(ne+Et.maxUnderzooming,this._source.minzoom),zt={};for(let Jt of R){let hr=this._addTile(Jt);Ae[Jt.key]=Jt,hr.hasData()||nethis._source.maxzoom){let Hr=Jt.children(this._source.maxzoom)[0],ln=this.getTile(Hr);if(ln&&ln.hasData()){Ae[Hr.key]=Hr;continue}}else{let Hr=Jt.children(this._source.maxzoom);if(Ae[Hr[0].key]&&Ae[Hr[1].key]&&Ae[Hr[2].key]&&Ae[Hr[3].key])continue}let vr=hr.wasRequested();for(let Hr=Jt.overscaledZ-1;Hr>=ht;--Hr){let ln=Jt.scaledTo(Hr);if(Fe[ln.key])break;if(Fe[ln.key]=!0,hr=this.getTile(ln),!hr&&vr&&(hr=this._addTile(ln)),hr){let Ge=hr.hasData();if((Ge||!(!((be=this.map)===null||be===void 0)&&be.cancelPendingTileRequestsWhileZooming)||vr)&&(Ae[ln.key]=ln),vr=hr.wasRequested(),Ge)break}}}return Ae}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(let R in this._tiles){let ne=[],be,Ae=this._tiles[R].tileID;for(;Ae.overscaledZ>0;){if(Ae.key in this._loadedParentTiles){be=this._loadedParentTiles[Ae.key];break}ne.push(Ae.key);let Fe=Ae.scaledTo(Ae.overscaledZ-1);if(be=this._getLoadedTile(Fe),be)break;Ae=Fe}for(let Fe of ne)this._loadedParentTiles[Fe]=be}}_updateLoadedSiblingTileCache(){this._loadedSiblingTiles={};for(let R in this._tiles){let ne=this._tiles[R].tileID,be=this._getLoadedTile(ne);this._loadedSiblingTiles[ne.key]=be}}_addTile(R){let ne=this._tiles[R.key];if(ne)return ne;ne=this._cache.getAndRemove(R),ne&&(this._setTileReloadTimer(R.key,ne),ne.tileID=R,this._state.initializeTileState(ne,this.map?this.map.painter:null),this._cacheTimers[R.key]&&(clearTimeout(this._cacheTimers[R.key]),delete this._cacheTimers[R.key],this._setTileReloadTimer(R.key,ne)));let be=ne;return ne||(ne=new ot(R,this._source.tileSize*R.overscaleFactor()),this._loadTile(ne,R.key,ne.state)),ne.uses++,this._tiles[R.key]=ne,be||this._source.fire(new t.k("dataloading",{tile:ne,coord:ne.tileID,dataType:"source"})),ne}_setTileReloadTimer(R,ne){R in this._timers&&(clearTimeout(this._timers[R]),delete this._timers[R]);let be=ne.getExpiryTimeout();be&&(this._timers[R]=setTimeout(()=>{this._reloadTile(R,"expired"),delete this._timers[R]},be))}_removeTile(R){let ne=this._tiles[R];ne&&(ne.uses--,delete this._tiles[R],this._timers[R]&&(clearTimeout(this._timers[R]),delete this._timers[R]),ne.uses>0||(ne.hasData()&&ne.state!=="reloading"?this._cache.add(ne.tileID,ne,ne.getExpiryTimeout()):(ne.aborted=!0,this._abortTile(ne),this._unloadTile(ne))))}_dataHandler(R){let ne=R.sourceDataType;R.dataType==="source"&&ne==="metadata"&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&R.dataType==="source"&&ne==="content"&&(this.reload(),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0)}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(let R in this._tiles)this._removeTile(R);this._cache.reset()}tilesIn(R,ne,be){let Ae=[],Fe=this.transform;if(!Fe)return Ae;let ht=be?Fe.getCameraQueryGeometry(R):R,wt=R.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),zt=ht.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),Jt=this.getIds(),hr=1/0,vr=1/0,Hr=-1/0,ln=-1/0;for(let Ge of zt)hr=Math.min(hr,Ge.x),vr=Math.min(vr,Ge.y),Hr=Math.max(Hr,Ge.x),ln=Math.max(ln,Ge.y);for(let Ge=0;Ge=0&&xt[1].y+St>=0){let It=wt.map(sr=>st.getTilePoint(sr)),rr=zt.map(sr=>st.getTilePoint(sr));Ae.push({tile:$e,tileID:st,queryGeometry:It,cameraQueryGeometry:rr,scale:dt})}}return Ae}getVisibleCoordinates(R){let ne=this.getRenderableIds(R).map(be=>this._tiles[be].tileID);for(let be of ne)be.posMatrix=this.transform.calculatePosMatrix(be.toUnwrapped());return ne}hasTransition(){if(this._source.hasTransition())return!0;if(qt(this._source.type)){let R=i.now();for(let ne in this._tiles)if(this._tiles[ne].fadeEndTime>=R)return!0}return!1}setFeatureState(R,ne,be){this._state.updateState(R=R||"_geojsonTileLayer",ne,be)}removeFeatureState(R,ne,be){this._state.removeFeatureState(R=R||"_geojsonTileLayer",ne,be)}getFeatureState(R,ne){return this._state.getState(R=R||"_geojsonTileLayer",ne)}setDependencies(R,ne,be){let Ae=this._tiles[R];Ae&&Ae.setDependencies(ne,be)}reloadTilesForDependencies(R,ne){for(let be in this._tiles)this._tiles[be].hasDependency(R,ne)&&this._reloadTile(be,"reloading");this._cache.filter(be=>!be.hasDependency(R,ne))}}function Bt(Ne,R){let ne=Math.abs(2*Ne.wrap)-+(Ne.wrap<0),be=Math.abs(2*R.wrap)-+(R.wrap<0);return Ne.overscaledZ-R.overscaledZ||be-ne||R.canonical.y-Ne.canonical.y||R.canonical.x-Ne.canonical.x}function qt(Ne){return Ne==="raster"||Ne==="image"||Ne==="video"}Et.maxOverzooming=10,Et.maxUnderzooming=3;class fr{constructor(R,ne){this.reset(R,ne)}reset(R,ne){this.points=R||[],this._distances=[0];for(let be=1;be0?(Ae-ht)/wt:0;return this.points[Fe].mult(1-zt).add(this.points[ne].mult(zt))}}function ar(Ne,R){let ne=!0;return Ne==="always"||Ne!=="never"&&R!=="never"||(ne=!1),ne}class Rr{constructor(R,ne,be){let Ae=this.boxCells=[],Fe=this.circleCells=[];this.xCellCount=Math.ceil(R/be),this.yCellCount=Math.ceil(ne/be);for(let ht=0;htthis.width||Ae<0||ne>this.height)return[];let zt=[];if(R<=0&&ne<=0&&this.width<=be&&this.height<=Ae){if(Fe)return[{key:null,x1:R,y1:ne,x2:be,y2:Ae}];for(let Jt=0;Jt0}hitTestCircle(R,ne,be,Ae,Fe){let ht=R-be,wt=R+be,zt=ne-be,Jt=ne+be;if(wt<0||ht>this.width||Jt<0||zt>this.height)return!1;let hr=[];return this._forEachCell(ht,zt,wt,Jt,this._queryCellCircle,hr,{hitTest:!0,overlapMode:Ae,circle:{x:R,y:ne,radius:be},seenUids:{box:{},circle:{}}},Fe),hr.length>0}_queryCell(R,ne,be,Ae,Fe,ht,wt,zt){let{seenUids:Jt,hitTest:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!Jt.box[$e]){Jt.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(R<=Ge[st+2]&&ne<=Ge[st+3]&&be>=Ge[st+0]&&Ae>=Ge[st+1]&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))&&(ht.push({key:dt,x1:Ge[st],y1:Ge[st+1],x2:Ge[st+2],y2:Ge[st+3]}),hr))return!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!Jt.circle[$e]){Jt.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circleAndRectCollide(Ge[st],Ge[st+1],Ge[st+2],R,ne,be,Ae)&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))){let St=Ge[st],xt=Ge[st+1],It=Ge[st+2];if(ht.push({key:dt,x1:St-It,y1:xt-It,x2:St+It,y2:xt+It}),hr)return!0}}}return!1}_queryCellCircle(R,ne,be,Ae,Fe,ht,wt,zt){let{circle:Jt,seenUids:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!hr.box[$e]){hr.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(this._circleAndRectCollide(Jt.x,Jt.y,Jt.radius,Ge[st+0],Ge[st+1],Ge[st+2],Ge[st+3])&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!hr.circle[$e]){hr.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circlesCollide(Ge[st],Ge[st+1],Ge[st+2],Jt.x,Jt.y,Jt.radius)&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}}_forEachCell(R,ne,be,Ae,Fe,ht,wt,zt){let Jt=this._convertToXCellCoord(R),hr=this._convertToYCellCoord(ne),vr=this._convertToXCellCoord(be),Hr=this._convertToYCellCoord(Ae);for(let ln=Jt;ln<=vr;ln++)for(let Ge=hr;Ge<=Hr;Ge++)if(Fe.call(this,R,ne,be,Ae,this.xCellCount*Ge+ln,ht,wt,zt))return}_convertToXCellCoord(R){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(R*this.xScale)))}_convertToYCellCoord(R){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(R*this.yScale)))}_circlesCollide(R,ne,be,Ae,Fe,ht){let wt=Ae-R,zt=Fe-ne,Jt=be+ht;return Jt*Jt>wt*wt+zt*zt}_circleAndRectCollide(R,ne,be,Ae,Fe,ht,wt){let zt=(ht-Ae)/2,Jt=Math.abs(R-(Ae+zt));if(Jt>zt+be)return!1;let hr=(wt-Fe)/2,vr=Math.abs(ne-(Fe+hr));if(vr>hr+be)return!1;if(Jt<=zt||vr<=hr)return!0;let Hr=Jt-zt,ln=vr-hr;return Hr*Hr+ln*ln<=be*be}}function gr(Ne,R,ne,be,Ae){let Fe=t.H();return R?(t.K(Fe,Fe,[1/Ae,1/Ae,1]),ne||t.ad(Fe,Fe,be.angle)):t.L(Fe,be.labelPlaneMatrix,Ne),Fe}function br(Ne,R,ne,be,Ae){if(R){let Fe=t.ae(Ne);return t.K(Fe,Fe,[Ae,Ae,1]),ne||t.ad(Fe,Fe,-be.angle),Fe}return be.glCoordMatrix}function _t(Ne,R,ne,be){let Ae;be?(Ae=[Ne,R,be(Ne,R),1],t.af(Ae,Ae,ne)):(Ae=[Ne,R,0,1],$t(Ae,Ae,ne));let Fe=Ae[3];return{point:new t.P(Ae[0]/Fe,Ae[1]/Fe),signedDistanceFromCamera:Fe,isOccluded:!1}}function Be(Ne,R){return .5+Ne/R*.5}function Ke(Ne,R){return Ne.x>=-R[0]&&Ne.x<=R[0]&&Ne.y>=-R[1]&&Ne.y<=R[1]}function je(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge){let $e=be?Ne.textSizeData:Ne.iconSizeData,st=t.ag($e,ne.transform.zoom),dt=[256/ne.width*2+1,256/ne.height*2+1],St=be?Ne.text.dynamicLayoutVertexArray:Ne.icon.dynamicLayoutVertexArray;St.clear();let xt=Ne.lineVertexArray,It=be?Ne.text.placedSymbolArray:Ne.icon.placedSymbolArray,rr=ne.transform.width/ne.transform.height,sr=!1;for(let pr=0;prMath.abs(ne.x-R.x)*be?{useVertical:!0}:(Ne===t.ah.vertical?R.yne.x)?{needsFlipping:!0}:null}function Ee(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){let vr=ne/24,Hr=R.lineOffsetX*vr,ln=R.lineOffsetY*vr,Ge;if(R.numGlyphs>1){let $e=R.glyphStartIndex+R.numGlyphs,st=R.lineStartIndex,dt=R.lineStartIndex+R.lineLength,St=Se(vr,wt,Hr,ln,be,R,hr,Ne);if(!St)return{notEnoughRoom:!0};let xt=_t(St.first.point.x,St.first.point.y,ht,Ne.getElevation).point,It=_t(St.last.point.x,St.last.point.y,ht,Ne.getElevation).point;if(Ae&&!be){let rr=He(R.writingMode,xt,It,Jt);if(rr)return rr}Ge=[St.first];for(let rr=R.glyphStartIndex+1;rr<$e-1;rr++)Ge.push(Rt(vr*wt.getoffsetX(rr),Hr,ln,be,R.segment,st,dt,Ne,hr));Ge.push(St.last)}else{if(Ae&&!be){let st=_t(Ne.tileAnchorPoint.x,Ne.tileAnchorPoint.y,Fe,Ne.getElevation).point,dt=R.lineStartIndex+R.segment+1,St=new t.P(Ne.lineVertexArray.getx(dt),Ne.lineVertexArray.gety(dt)),xt=_t(St.x,St.y,Fe,Ne.getElevation),It=xt.signedDistanceFromCamera>0?xt.point:function(sr,pr,kr,Yr,_n,Mn){return we(sr,pr,kr,1,_n,Mn)}(Ne.tileAnchorPoint,St,st,0,Fe,Ne),rr=He(R.writingMode,st,It,Jt);if(rr)return rr}let $e=Rt(vr*wt.getoffsetX(R.glyphStartIndex),Hr,ln,be,R.segment,R.lineStartIndex,R.lineStartIndex+R.lineLength,Ne,hr);if(!$e||Ne.projectionCache.anyProjectionOccluded)return{notEnoughRoom:!0};Ge=[$e]}for(let $e of Ge)t.aj(zt,$e.point,$e.angle);return{}}function we(Ne,R,ne,be,Ae,Fe){let ht=Ne.add(Ne.sub(R)._unit()),wt=Ae!==void 0?_t(ht.x,ht.y,Ae,Fe.getElevation).point:nt(ht.x,ht.y,Fe).point,zt=ne.sub(wt);return ne.add(zt._mult(be/zt.mag()))}function Le(Ne,R,ne){let be=R.projectionCache;if(be.projections[Ne])return be.projections[Ne];let Ae=new t.P(R.lineVertexArray.getx(Ne),R.lineVertexArray.gety(Ne)),Fe=nt(Ae.x,Ae.y,R);if(Fe.signedDistanceFromCamera>0)return be.projections[Ne]=Fe.point,be.anyProjectionOccluded=be.anyProjectionOccluded||Fe.isOccluded,Fe.point;let ht=Ne-ne.direction;return function(wt,zt,Jt,hr,vr){return we(wt,zt,Jt,hr,void 0,vr)}(ne.distanceFromAnchor===0?R.tileAnchorPoint:new t.P(R.lineVertexArray.getx(ht),R.lineVertexArray.gety(ht)),Ae,ne.previousVertex,ne.absOffsetX-ne.distanceFromAnchor+1,R)}function nt(Ne,R,ne){let be=Ne+ne.translation[0],Ae=R+ne.translation[1],Fe;return!ne.pitchWithMap&&ne.projection.useSpecialProjectionForSymbols?(Fe=ne.projection.projectTileCoordinates(be,Ae,ne.unwrappedTileID,ne.getElevation),Fe.point.x=(.5*Fe.point.x+.5)*ne.width,Fe.point.y=(.5*-Fe.point.y+.5)*ne.height):(Fe=_t(be,Ae,ne.labelPlaneMatrix,ne.getElevation),Fe.isOccluded=!1),Fe}function pt(Ne,R,ne){return Ne._unit()._perp()._mult(R*ne)}function bt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){if(wt.projectionCache.offsets[Ne])return wt.projectionCache.offsets[Ne];let Jt=ne.add(R);if(Ne+zt.direction=Ae)return wt.projectionCache.offsets[Ne]=Jt,Jt;let hr=Le(Ne+zt.direction,wt,zt),vr=pt(hr.sub(ne),ht,zt.direction),Hr=ne.add(vr),ln=hr.add(vr);return wt.projectionCache.offsets[Ne]=t.ak(Fe,Jt,Hr,ln)||Jt,wt.projectionCache.offsets[Ne]}function Rt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){let Jt=be?Ne-R:Ne+R,hr=Jt>0?1:-1,vr=0;be&&(hr*=-1,vr=Math.PI),hr<0&&(vr+=Math.PI);let Hr,ln=hr>0?Fe+Ae:Fe+Ae+1;wt.projectionCache.cachedAnchorPoint?Hr=wt.projectionCache.cachedAnchorPoint:(Hr=nt(wt.tileAnchorPoint.x,wt.tileAnchorPoint.y,wt).point,wt.projectionCache.cachedAnchorPoint=Hr);let Ge,$e,st=Hr,dt=Hr,St=0,xt=0,It=Math.abs(Jt),rr=[],sr;for(;St+xt<=It;){if(ln+=hr,ln=ht)return null;St+=xt,dt=st,$e=Ge;let Yr={absOffsetX:It,direction:hr,distanceFromAnchor:St,previousVertex:dt};if(st=Le(ln,wt,Yr),ne===0)rr.push(dt),sr=st.sub(dt);else{let _n,Mn=st.sub(dt);_n=Mn.mag()===0?pt(Le(ln+hr,wt,Yr).sub(st),ne,hr):pt(Mn,ne,hr),$e||($e=dt.add(_n)),Ge=bt(ln,_n,st,Fe,ht,$e,ne,wt,Yr),rr.push($e),sr=Ge.sub($e)}xt=sr.mag()}let pr=sr._mult((It-St)/xt)._add($e||dt),kr=vr+Math.atan2(st.y-dt.y,st.x-dt.x);return rr.push(pr),{point:pr,angle:zt?kr:0,path:rr}}let Nt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Xt(Ne,R){for(let ne=0;ne=1;Va--)Zi.push(ki.path[Va]);for(let Va=1;VaIo.signedDistanceFromCamera<=0)?[]:Va.map(Io=>Io.point)}let ro=[];if(Zi.length>0){let Va=Zi[0].clone(),Io=Zi[0].clone();for(let vs=1;vs=Mn.x&&Io.x<=Un.x&&Va.y>=Mn.y&&Io.y<=Un.y?[Zi]:Io.xUn.x||Io.yUn.y?[]:t.al([Zi],Mn.x,Mn.y,Un.x,Un.y)}for(let Va of ro){li.reset(Va,.25*_n);let Io=0;Io=li.length<=.5*_n?1:Math.ceil(li.paddedLength/ya)+1;for(let vs=0;vs_t(Ae.x,Ae.y,be,ne.getElevation))}queryRenderedSymbols(R){if(R.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};let ne=[],be=1/0,Ae=1/0,Fe=-1/0,ht=-1/0;for(let hr of R){let vr=new t.P(hr.x+ur,hr.y+ur);be=Math.min(be,vr.x),Ae=Math.min(Ae,vr.y),Fe=Math.max(Fe,vr.x),ht=Math.max(ht,vr.y),ne.push(vr)}let wt=this.grid.query(be,Ae,Fe,ht).concat(this.ignoredGrid.query(be,Ae,Fe,ht)),zt={},Jt={};for(let hr of wt){let vr=hr.key;if(zt[vr.bucketInstanceId]===void 0&&(zt[vr.bucketInstanceId]={}),zt[vr.bucketInstanceId][vr.featureIndex])continue;let Hr=[new t.P(hr.x1,hr.y1),new t.P(hr.x2,hr.y1),new t.P(hr.x2,hr.y2),new t.P(hr.x1,hr.y2)];t.am(ne,Hr)&&(zt[vr.bucketInstanceId][vr.featureIndex]=!0,Jt[vr.bucketInstanceId]===void 0&&(Jt[vr.bucketInstanceId]=[]),Jt[vr.bucketInstanceId].push(vr.featureIndex))}return Jt}insertCollisionBox(R,ne,be,Ae,Fe,ht){(be?this.ignoredGrid:this.grid).insert({bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne},R[0],R[1],R[2],R[3])}insertCollisionCircles(R,ne,be,Ae,Fe,ht){let wt=be?this.ignoredGrid:this.grid,zt={bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne};for(let Jt=0;Jt=this.screenRightBoundary||Aethis.screenBottomBoundary}isInsideGrid(R,ne,be,Ae){return be>=0&&R=0&&nethis.projectAndGetPerspectiveRatio(be,_n.x,_n.y,Ae,Jt));kr=Yr.some(_n=>!_n.isOccluded),pr=Yr.map(_n=>_n.point)}else kr=!0;return{box:t.ao(pr),allPointsOccluded:!kr}}}function Rn(Ne,R,ne){return R*(t.X/(Ne.tileSize*Math.pow(2,ne-Ne.tileID.overscaledZ)))}class Nn{constructor(R,ne,be,Ae){this.opacity=R?Math.max(0,Math.min(1,R.opacity+(R.placed?ne:-ne))):Ae&&be?1:0,this.placed=be}isHidden(){return this.opacity===0&&!this.placed}}class On{constructor(R,ne,be,Ae,Fe){this.text=new Nn(R?R.text:null,ne,be,Fe),this.icon=new Nn(R?R.icon:null,ne,Ae,Fe)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class ni{constructor(R,ne,be){this.text=R,this.icon=ne,this.skipFade=be}}class zn{constructor(){this.invProjMatrix=t.H(),this.viewportMatrix=t.H(),this.circles=[]}}class Qn{constructor(R,ne,be,Ae,Fe){this.bucketInstanceId=R,this.featureIndex=ne,this.sourceLayerIndex=be,this.bucketIndex=Ae,this.tileID=Fe}}class gi{constructor(R){this.crossSourceCollisions=R,this.maxGroupID=0,this.collisionGroups={}}get(R){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[R]){let ne=++this.maxGroupID;this.collisionGroups[R]={ID:ne,predicate:be=>be.collisionGroupID===ne}}return this.collisionGroups[R]}}function Zt(Ne,R,ne,be,Ae){let{horizontalAlign:Fe,verticalAlign:ht}=t.au(Ne);return new t.P(-(Fe-.5)*R+be[0]*Ae,-(ht-.5)*ne+be[1]*Ae)}class Ft{constructor(R,ne,be,Ae,Fe,ht){this.transform=R.clone(),this.terrain=be,this.collisionIndex=new pn(this.transform,ne),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=Ae,this.retainedQueryData={},this.collisionGroups=new gi(Fe),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=ht,ht&&(ht.prevPlacement=void 0),this.placedOrientations={}}_getTerrainElevationFunc(R){let ne=this.terrain;return ne?(be,Ae)=>ne.getElevation(R,be,Ae):null}getBucketParts(R,ne,be,Ae){let Fe=be.getBucket(ne),ht=be.latestFeatureIndex;if(!Fe||!ht||ne.id!==Fe.layerIds[0])return;let wt=be.collisionBoxArray,zt=Fe.layers[0].layout,Jt=Fe.layers[0].paint,hr=Math.pow(2,this.transform.zoom-be.tileID.overscaledZ),vr=be.tileSize/t.X,Hr=be.tileID.toUnwrapped(),ln=this.transform.calculatePosMatrix(Hr),Ge=zt.get("text-pitch-alignment")==="map",$e=zt.get("text-rotation-alignment")==="map",st=Rn(be,1,this.transform.zoom),dt=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get("text-translate"),Jt.get("text-translate-anchor")),St=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get("icon-translate"),Jt.get("icon-translate-anchor")),xt=gr(ln,Ge,$e,this.transform,st),It=null;if(Ge){let sr=br(ln,Ge,$e,this.transform,st);It=t.L([],this.transform.labelPlaneMatrix,sr)}this.retainedQueryData[Fe.bucketInstanceId]=new Qn(Fe.bucketInstanceId,ht,Fe.sourceLayerIndex,Fe.index,be.tileID);let rr={bucket:Fe,layout:zt,translationText:dt,translationIcon:St,posMatrix:ln,unwrappedTileID:Hr,textLabelPlaneMatrix:xt,labelToScreenMatrix:It,scale:hr,textPixelRatio:vr,holdingForFade:be.holdingForFade(),collisionBoxArray:wt,partiallyEvaluatedTextSize:t.ag(Fe.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(Fe.sourceID)};if(Ae)for(let sr of Fe.sortKeyRanges){let{sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr}=sr;R.push({sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr,parameters:rr})}else R.push({symbolInstanceStart:0,symbolInstanceEnd:Fe.symbolInstances.length,parameters:rr})}attemptAnchorPlacement(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St,xt){let It=t.aq[R.textAnchor],rr=[R.textOffset0,R.textOffset1],sr=Zt(It,be,Ae,rr,Fe),pr=this.collisionIndex.placeCollisionBox(ne,Hr,zt,Jt,hr,wt,ht,st,vr.predicate,xt,sr);if((!St||this.collisionIndex.placeCollisionBox(St,Hr,zt,Jt,hr,wt,ht,dt,vr.predicate,xt,sr).placeable)&&pr.placeable){let kr;if(this.prevPlacement&&this.prevPlacement.variableOffsets[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID].text&&(kr=this.prevPlacement.variableOffsets[ln.crossTileID].anchor),ln.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[ln.crossTileID]={textOffset:rr,width:be,height:Ae,anchor:It,textBoxScale:Fe,prevAnchor:kr},this.markUsedJustification(Ge,It,ln,$e),Ge.allowVerticalPlacement&&(this.markUsedOrientation(Ge,$e,ln),this.placedOrientations[ln.crossTileID]=$e),{shift:sr,placedGlyphBoxes:pr}}}placeLayerBucketPart(R,ne,be){let{bucket:Ae,layout:Fe,translationText:ht,translationIcon:wt,posMatrix:zt,unwrappedTileID:Jt,textLabelPlaneMatrix:hr,labelToScreenMatrix:vr,textPixelRatio:Hr,holdingForFade:ln,collisionBoxArray:Ge,partiallyEvaluatedTextSize:$e,collisionGroup:st}=R.parameters,dt=Fe.get("text-optional"),St=Fe.get("icon-optional"),xt=t.ar(Fe,"text-overlap","text-allow-overlap"),It=xt==="always",rr=t.ar(Fe,"icon-overlap","icon-allow-overlap"),sr=rr==="always",pr=Fe.get("text-rotation-alignment")==="map",kr=Fe.get("text-pitch-alignment")==="map",Yr=Fe.get("icon-text-fit")!=="none",_n=Fe.get("symbol-z-order")==="viewport-y",Mn=It&&(sr||!Ae.hasIconData()||St),Un=sr&&(It||!Ae.hasTextData()||dt);!Ae.collisionArrays&&Ge&&Ae.deserializeCollisionBoxes(Ge);let li=this._getTerrainElevationFunc(this.retainedQueryData[Ae.bucketInstanceId].tileID),ki=(Ci,Zi,ya)=>{var ro,Va;if(ne[Ci.crossTileID])return;if(ln)return void(this.placements[Ci.crossTileID]=new ni(!1,!1,!1));let Io=!1,vs=!1,Fo=!0,ts=null,bs={box:null,placeable:!1,offscreen:null},fl={box:null,placeable:!1,offscreen:null},al=null,os=null,is=null,Nl=0,eu=0,Xu=0;Zi.textFeatureIndex?Nl=Zi.textFeatureIndex:Ci.useRuntimeCollisionCircles&&(Nl=Ci.featureIndex),Zi.verticalTextFeatureIndex&&(eu=Zi.verticalTextFeatureIndex);let mu=Zi.textBox;if(mu){let Zl=Qe=>{let vt=t.ah.horizontal;if(Ae.allowVerticalPlacement&&!Qe&&this.prevPlacement){let mt=this.prevPlacement.placedOrientations[Ci.crossTileID];mt&&(this.placedOrientations[Ci.crossTileID]=mt,vt=mt,this.markUsedOrientation(Ae,vt,Ci))}return vt},Yl=(Qe,vt)=>{if(Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&Zi.verticalTextBox){for(let mt of Ae.writingModes)if(mt===t.ah.vertical?(bs=vt(),fl=bs):bs=Qe(),bs&&bs.placeable)break}else bs=Qe()},de=Ci.textAnchorOffsetStartIndex,Re=Ci.textAnchorOffsetEndIndex;if(Re===de){let Qe=(vt,mt)=>{let Tt=this.collisionIndex.placeCollisionBox(vt,xt,Hr,zt,Jt,kr,pr,ht,st.predicate,li);return Tt&&Tt.placeable&&(this.markUsedOrientation(Ae,mt,Ci),this.placedOrientations[Ci.crossTileID]=mt),Tt};Yl(()=>Qe(mu,t.ah.horizontal),()=>{let vt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&vt?Qe(vt,t.ah.vertical):{box:null,offscreen:null}}),Zl(bs&&bs.placeable)}else{let Qe=t.aq[(Va=(ro=this.prevPlacement)===null||ro===void 0?void 0:ro.variableOffsets[Ci.crossTileID])===null||Va===void 0?void 0:Va.anchor],vt=(Tt,Qt,Dt)=>{let lr=Tt.x2-Tt.x1,Br=Tt.y2-Tt.y1,jr=Ci.textBoxScale,Tn=Yr&&rr==="never"?Qt:null,yn=null,ti=xt==="never"?1:2,ai="never";Qe&&ti++;for(let En=0;Envt(mu,Zi.iconBox,t.ah.horizontal),()=>{let Tt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&(!bs||!bs.placeable)&&Ci.numVerticalGlyphVertices>0&&Tt?vt(Tt,Zi.verticalIconBox,t.ah.vertical):{box:null,occluded:!0,offscreen:null}}),bs&&(Io=bs.placeable,Fo=bs.offscreen);let mt=Zl(bs&&bs.placeable);if(!Io&&this.prevPlacement){let Tt=this.prevPlacement.variableOffsets[Ci.crossTileID];Tt&&(this.variableOffsets[Ci.crossTileID]=Tt,this.markUsedJustification(Ae,Tt.anchor,Ci,mt))}}}if(al=bs,Io=al&&al.placeable,Fo=al&&al.offscreen,Ci.useRuntimeCollisionCircles){let Zl=Ae.text.placedSymbolArray.get(Ci.centerJustifiedTextSymbolIndex),Yl=t.ai(Ae.textSizeData,$e,Zl),de=Fe.get("text-padding");os=this.collisionIndex.placeCollisionCircles(xt,Zl,Ae.lineVertexArray,Ae.glyphOffsetArray,Yl,zt,Jt,hr,vr,be,kr,st.predicate,Ci.collisionCircleDiameter,de,ht,li),os.circles.length&&os.collisionDetected&&!be&&t.w("Collisions detected, but collision boxes are not shown"),Io=It||os.circles.length>0&&!os.collisionDetected,Fo=Fo&&os.offscreen}if(Zi.iconFeatureIndex&&(Xu=Zi.iconFeatureIndex),Zi.iconBox){let Zl=Yl=>this.collisionIndex.placeCollisionBox(Yl,rr,Hr,zt,Jt,kr,pr,wt,st.predicate,li,Yr&&ts?ts:void 0);fl&&fl.placeable&&Zi.verticalIconBox?(is=Zl(Zi.verticalIconBox),vs=is.placeable):(is=Zl(Zi.iconBox),vs=is.placeable),Fo=Fo&&is.offscreen}let El=dt||Ci.numHorizontalGlyphVertices===0&&Ci.numVerticalGlyphVertices===0,fu=St||Ci.numIconVertices===0;El||fu?fu?El||(vs=vs&&Io):Io=vs&&Io:vs=Io=vs&&Io;let Tc=vs&&is.placeable;if(Io&&al.placeable&&this.collisionIndex.insertCollisionBox(al.box,xt,Fe.get("text-ignore-placement"),Ae.bucketInstanceId,fl&&fl.placeable&&eu?eu:Nl,st.ID),Tc&&this.collisionIndex.insertCollisionBox(is.box,rr,Fe.get("icon-ignore-placement"),Ae.bucketInstanceId,Xu,st.ID),os&&Io&&this.collisionIndex.insertCollisionCircles(os.circles,xt,Fe.get("text-ignore-placement"),Ae.bucketInstanceId,Nl,st.ID),be&&this.storeCollisionData(Ae.bucketInstanceId,ya,Zi,al,is,os),Ci.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");if(Ae.bucketInstanceId===0)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[Ci.crossTileID]=new ni(Io||Mn,vs||Un,Fo||Ae.justReloaded),ne[Ci.crossTileID]=!0};if(_n){if(R.symbolInstanceStart!==0)throw new Error("bucket.bucketInstanceId should be 0");let Ci=Ae.getSortedSymbolIndexes(this.transform.angle);for(let Zi=Ci.length-1;Zi>=0;--Zi){let ya=Ci[Zi];ki(Ae.symbolInstances.get(ya),Ae.collisionArrays[ya],ya)}}else for(let Ci=R.symbolInstanceStart;Ci=0&&(R.text.placedSymbolArray.get(wt).crossTileID=Fe>=0&&wt!==Fe?0:be.crossTileID)}markUsedOrientation(R,ne,be){let Ae=ne===t.ah.horizontal||ne===t.ah.horizontalOnly?ne:0,Fe=ne===t.ah.vertical?ne:0,ht=[be.leftJustifiedTextSymbolIndex,be.centerJustifiedTextSymbolIndex,be.rightJustifiedTextSymbolIndex];for(let wt of ht)R.text.placedSymbolArray.get(wt).placedOrientation=Ae;be.verticalPlacedTextSymbolIndex&&(R.text.placedSymbolArray.get(be.verticalPlacedTextSymbolIndex).placedOrientation=Fe)}commit(R){this.commitTime=R,this.zoomAtLastRecencyCheck=this.transform.zoom;let ne=this.prevPlacement,be=!1;this.prevZoomAdjustment=ne?ne.zoomAdjustment(this.transform.zoom):0;let Ae=ne?ne.symbolFadeChange(R):1,Fe=ne?ne.opacities:{},ht=ne?ne.variableOffsets:{},wt=ne?ne.placedOrientations:{};for(let zt in this.placements){let Jt=this.placements[zt],hr=Fe[zt];hr?(this.opacities[zt]=new On(hr,Ae,Jt.text,Jt.icon),be=be||Jt.text!==hr.text.placed||Jt.icon!==hr.icon.placed):(this.opacities[zt]=new On(null,Ae,Jt.text,Jt.icon,Jt.skipFade),be=be||Jt.text||Jt.icon)}for(let zt in Fe){let Jt=Fe[zt];if(!this.opacities[zt]){let hr=new On(Jt,Ae,!1,!1);hr.isHidden()||(this.opacities[zt]=hr,be=be||Jt.text.placed||Jt.icon.placed)}}for(let zt in ht)this.variableOffsets[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.variableOffsets[zt]=ht[zt]);for(let zt in wt)this.placedOrientations[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.placedOrientations[zt]=wt[zt]);if(ne&&ne.lastPlacementChangeTime===void 0)throw new Error("Last placement time for previous placement is not defined");be?this.lastPlacementChangeTime=R:typeof this.lastPlacementChangeTime!="number"&&(this.lastPlacementChangeTime=ne?ne.lastPlacementChangeTime:R)}updateLayerOpacities(R,ne){let be={};for(let Ae of ne){let Fe=Ae.getBucket(R);Fe&&Ae.latestFeatureIndex&&R.id===Fe.layerIds[0]&&this.updateBucketOpacities(Fe,Ae.tileID,be,Ae.collisionBoxArray)}}updateBucketOpacities(R,ne,be,Ae){R.hasTextData()&&(R.text.opacityVertexArray.clear(),R.text.hasVisibleVertices=!1),R.hasIconData()&&(R.icon.opacityVertexArray.clear(),R.icon.hasVisibleVertices=!1),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexArray.clear(),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexArray.clear();let Fe=R.layers[0],ht=Fe.layout,wt=new On(null,0,!1,!1,!0),zt=ht.get("text-allow-overlap"),Jt=ht.get("icon-allow-overlap"),hr=Fe._unevaluatedLayout.hasValue("text-variable-anchor")||Fe._unevaluatedLayout.hasValue("text-variable-anchor-offset"),vr=ht.get("text-rotation-alignment")==="map",Hr=ht.get("text-pitch-alignment")==="map",ln=ht.get("icon-text-fit")!=="none",Ge=new On(null,0,zt&&(Jt||!R.hasIconData()||ht.get("icon-optional")),Jt&&(zt||!R.hasTextData()||ht.get("text-optional")),!0);!R.collisionArrays&&Ae&&(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData())&&R.deserializeCollisionBoxes(Ae);let $e=(dt,St,xt)=>{for(let It=0;It0,kr=this.placedOrientations[St.crossTileID],Yr=kr===t.ah.vertical,_n=kr===t.ah.horizontal||kr===t.ah.horizontalOnly;if(xt>0||It>0){let Un=ri(sr.text);$e(R.text,xt,Yr?Sn:Un),$e(R.text,It,_n?Sn:Un);let li=sr.text.isHidden();[St.rightJustifiedTextSymbolIndex,St.centerJustifiedTextSymbolIndex,St.leftJustifiedTextSymbolIndex].forEach(Zi=>{Zi>=0&&(R.text.placedSymbolArray.get(Zi).hidden=li||Yr?1:0)}),St.verticalPlacedTextSymbolIndex>=0&&(R.text.placedSymbolArray.get(St.verticalPlacedTextSymbolIndex).hidden=li||_n?1:0);let ki=this.variableOffsets[St.crossTileID];ki&&this.markUsedJustification(R,ki.anchor,St,kr);let Ci=this.placedOrientations[St.crossTileID];Ci&&(this.markUsedJustification(R,"left",St,Ci),this.markUsedOrientation(R,Ci,St))}if(pr){let Un=ri(sr.icon),li=!(ln&&St.verticalPlacedIconSymbolIndex&&Yr);St.placedIconSymbolIndex>=0&&($e(R.icon,St.numIconVertices,li?Un:Sn),R.icon.placedSymbolArray.get(St.placedIconSymbolIndex).hidden=sr.icon.isHidden()),St.verticalPlacedIconSymbolIndex>=0&&($e(R.icon,St.numVerticalIconVertices,li?Sn:Un),R.icon.placedSymbolArray.get(St.verticalPlacedIconSymbolIndex).hidden=sr.icon.isHidden())}let Mn=st&&st.has(dt)?st.get(dt):{text:null,icon:null};if(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData()){let Un=R.collisionArrays[dt];if(Un){let li=new t.P(0,0);if(Un.textBox||Un.verticalTextBox){let ki=!0;if(hr){let Ci=this.variableOffsets[rr];Ci?(li=Zt(Ci.anchor,Ci.width,Ci.height,Ci.textOffset,Ci.textBoxScale),vr&&li._rotate(Hr?this.transform.angle:-this.transform.angle)):ki=!1}if(Un.textBox||Un.verticalTextBox){let Ci;Un.textBox&&(Ci=Yr),Un.verticalTextBox&&(Ci=_n),Ht(R.textCollisionBox.collisionVertexArray,sr.text.placed,!ki||Ci,Mn.text,li.x,li.y)}}if(Un.iconBox||Un.verticalIconBox){let ki=!!(!_n&&Un.verticalIconBox),Ci;Un.iconBox&&(Ci=ki),Un.verticalIconBox&&(Ci=!ki),Ht(R.iconCollisionBox.collisionVertexArray,sr.icon.placed,Ci,Mn.icon,ln?li.x:0,ln?li.y:0)}}}}if(R.sortFeatures(this.transform.angle),this.retainedQueryData[R.bucketInstanceId]&&(this.retainedQueryData[R.bucketInstanceId].featureSortOrder=R.featureSortOrder),R.hasTextData()&&R.text.opacityVertexBuffer&&R.text.opacityVertexBuffer.updateData(R.text.opacityVertexArray),R.hasIconData()&&R.icon.opacityVertexBuffer&&R.icon.opacityVertexBuffer.updateData(R.icon.opacityVertexArray),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexBuffer&&R.iconCollisionBox.collisionVertexBuffer.updateData(R.iconCollisionBox.collisionVertexArray),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexBuffer&&R.textCollisionBox.collisionVertexBuffer.updateData(R.textCollisionBox.collisionVertexArray),R.text.opacityVertexArray.length!==R.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${R.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${R.text.layoutVertexArray.length}) / 4`);if(R.icon.opacityVertexArray.length!==R.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${R.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${R.icon.layoutVertexArray.length}) / 4`);if(R.bucketInstanceId in this.collisionCircleArrays){let dt=this.collisionCircleArrays[R.bucketInstanceId];R.placementInvProjMatrix=dt.invProjMatrix,R.placementViewportMatrix=dt.viewportMatrix,R.collisionCircleArray=dt.circles,delete this.collisionCircleArrays[R.bucketInstanceId]}}symbolFadeChange(R){return this.fadeDuration===0?1:(R-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(R){return Math.max(0,(this.transform.zoom-R)/1.5)}hasTransitions(R){return this.stale||R-this.lastPlacementChangeTimeR}setStale(){this.stale=!0}}function Ht(Ne,R,ne,be,Ae,Fe){be&&be.length!==0||(be=[0,0,0,0]);let ht=be[0]-ur,wt=be[1]-ur,zt=be[2]-ur,Jt=be[3]-ur;Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,Jt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,Jt)}let Vt=Math.pow(2,25),wr=Math.pow(2,24),$r=Math.pow(2,17),xn=Math.pow(2,16),en=Math.pow(2,9),Fn=Math.pow(2,8),Wn=Math.pow(2,1);function ri(Ne){if(Ne.opacity===0&&!Ne.placed)return 0;if(Ne.opacity===1&&Ne.placed)return 4294967295;let R=Ne.placed?1:0,ne=Math.floor(127*Ne.opacity);return ne*Vt+R*wr+ne*$r+R*xn+ne*en+R*Fn+ne*Wn+R}let Sn=0;function ui(){return{isOccluded:(Ne,R,ne)=>!1,getPitchedTextCorrection:(Ne,R,ne)=>1,get useSpecialProjectionForSymbols(){return!1},projectTileCoordinates(Ne,R,ne,be){throw new Error("Not implemented.")},translatePosition:(Ne,R,ne,be)=>function(Ae,Fe,ht,wt,zt=!1){if(!ht[0]&&!ht[1])return[0,0];let Jt=zt?wt==="map"?Ae.angle:0:wt==="viewport"?-Ae.angle:0;if(Jt){let hr=Math.sin(Jt),vr=Math.cos(Jt);ht=[ht[0]*vr-ht[1]*hr,ht[0]*hr+ht[1]*vr]}return[zt?ht[0]:Rn(Fe,ht[0],Ae.zoom),zt?ht[1]:Rn(Fe,ht[1],Ae.zoom)]}(Ne,R,ne,be),getCircleRadiusCorrection:Ne=>1}}class gt{constructor(R){this._sortAcrossTiles=R.layout.get("symbol-z-order")!=="viewport-y"&&!R.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(R,ne,be,Ae,Fe){let ht=this._bucketParts;for(;this._currentTileIndexwt.sortKey-zt.sortKey));this._currentPartIndex!this._forceFullPlacement&&i.now()-Ae>2;for(;this._currentPlacementIndex>=0;){let ht=ne[R[this._currentPlacementIndex]],wt=this.placement.collisionIndex.transform.zoom;if(ht.type==="symbol"&&(!ht.minzoom||ht.minzoom<=wt)&&(!ht.maxzoom||ht.maxzoom>wt)){if(this._inProgressLayer||(this._inProgressLayer=new gt(ht)),this._inProgressLayer.continuePlacement(be[ht.source],this.placement,this._showCollisionBoxes,ht,Fe))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(R){return this.placement.commit(R),this.placement}}let Pr=512/t.X/2;class Ir{constructor(R,ne,be){this.tileID=R,this.bucketInstanceId=be,this._symbolsByKey={};let Ae=new Map;for(let Fe=0;Fe({x:Math.floor(zt.anchorX*Pr),y:Math.floor(zt.anchorY*Pr)})),crossTileIDs:ht.map(zt=>zt.crossTileID)};if(wt.positions.length>128){let zt=new t.av(wt.positions.length,16,Uint16Array);for(let{x:Jt,y:hr}of wt.positions)zt.add(Jt,hr);zt.finish(),delete wt.positions,wt.index=zt}this._symbolsByKey[Fe]=wt}}getScaledCoordinates(R,ne){let{x:be,y:Ae,z:Fe}=this.tileID.canonical,{x:ht,y:wt,z:zt}=ne.canonical,Jt=Pr/Math.pow(2,zt-Fe),hr=(wt*t.X+R.anchorY)*Jt,vr=Ae*t.X*Pr;return{x:Math.floor((ht*t.X+R.anchorX)*Jt-be*t.X*Pr),y:Math.floor(hr-vr)}}findMatches(R,ne,be){let Ae=this.tileID.canonical.zR)}}class Tr{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class Mr{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(R){let ne=Math.round((R-this.lng)/360);if(ne!==0)for(let be in this.indexes){let Ae=this.indexes[be],Fe={};for(let ht in Ae){let wt=Ae[ht];wt.tileID=wt.tileID.unwrapTo(wt.tileID.wrap+ne),Fe[wt.tileID.key]=wt}this.indexes[be]=Fe}this.lng=R}addBucket(R,ne,be){if(this.indexes[R.overscaledZ]&&this.indexes[R.overscaledZ][R.key]){if(this.indexes[R.overscaledZ][R.key].bucketInstanceId===ne.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(R.overscaledZ,this.indexes[R.overscaledZ][R.key])}for(let Fe=0;FeR.overscaledZ)for(let wt in ht){let zt=ht[wt];zt.tileID.isChildOf(R)&&zt.findMatches(ne.symbolInstances,R,Ae)}else{let wt=ht[R.scaledTo(Number(Fe)).key];wt&&wt.findMatches(ne.symbolInstances,R,Ae)}}for(let Fe=0;Fe{ne[be]=!0});for(let be in this.layerIndexes)ne[be]||delete this.layerIndexes[be]}}let Ur=(Ne,R)=>t.t(Ne,R&&R.filter(ne=>ne.identifier!=="source.canvas")),Dr=t.aw();class nn extends t.E{constructor(R,ne={}){super(),this._rtlPluginLoaded=()=>{for(let be in this.sourceCaches){let Ae=this.sourceCaches[be].getSource().type;Ae!=="vector"&&Ae!=="geojson"||this.sourceCaches[be].reload()}},this.map=R,this.dispatcher=new J($(),R._getMapId()),this.dispatcher.registerMessageHandler("GG",(be,Ae)=>this.getGlyphs(be,Ae)),this.dispatcher.registerMessageHandler("GI",(be,Ae)=>this.getImages(be,Ae)),this.imageManager=new f,this.imageManager.setEventedParent(this),this.glyphManager=new F(R._requestManager,ne.localIdeographFontFamily),this.lineAtlas=new W(256,512),this.crossTileSymbolIndex=new Lr,this._spritesImagesIds={},this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ax,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("SR",t.ay()),rt().on(pe,this._rtlPluginLoaded),this.on("data",be=>{if(be.dataType!=="source"||be.sourceDataType!=="metadata")return;let Ae=this.sourceCaches[be.sourceId];if(!Ae)return;let Fe=Ae.getSource();if(Fe&&Fe.vectorLayerIds)for(let ht in this._layers){let wt=this._layers[ht];wt.source===Fe.id&&this._validateLayer(wt)}})}loadURL(R,ne={},be){this.fire(new t.k("dataloading",{dataType:"style"})),ne.validate=typeof ne.validate!="boolean"||ne.validate;let Ae=this.map._requestManager.transformRequest(R,"Style");this._loadStyleRequest=new AbortController;let Fe=this._loadStyleRequest;t.h(Ae,this._loadStyleRequest).then(ht=>{this._loadStyleRequest=null,this._load(ht.data,ne,be)}).catch(ht=>{this._loadStyleRequest=null,ht&&!Fe.signal.aborted&&this.fire(new t.j(ht))})}loadJSON(R,ne={},be){this.fire(new t.k("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(()=>{this._frameRequest=null,ne.validate=ne.validate!==!1,this._load(R,ne,be)}).catch(()=>{})}loadEmpty(){this.fire(new t.k("dataloading",{dataType:"style"})),this._load(Dr,{validate:!1})}_load(R,ne,be){var Ae;let Fe=ne.transformStyle?ne.transformStyle(be,R):R;if(!ne.validate||!Ur(this,t.u(Fe))){this._loaded=!0,this.stylesheet=Fe;for(let ht in Fe.sources)this.addSource(ht,Fe.sources[ht],{validate:!1});Fe.sprite?this._loadSprite(Fe.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(Fe.glyphs),this._createLayers(),this.light=new I(this.stylesheet.light),this.sky=new U(this.stylesheet.sky),this.map.setTerrain((Ae=this.stylesheet.terrain)!==null&&Ae!==void 0?Ae:null),this.fire(new t.k("data",{dataType:"style"})),this.fire(new t.k("style.load"))}}_createLayers(){let R=t.az(this.stylesheet.layers);this.dispatcher.broadcast("SL",R),this._order=R.map(ne=>ne.id),this._layers={},this._serializedLayers=null;for(let ne of R){let be=t.aA(ne);be.setEventedParent(this,{layer:{id:ne.id}}),this._layers[ne.id]=be}}_loadSprite(R,ne=!1,be=void 0){let Ae;this.imageManager.setLoaded(!1),this._spriteRequest=new AbortController,function(Fe,ht,wt,zt){return t._(this,void 0,void 0,function*(){let Jt=b(Fe),hr=wt>1?"@2x":"",vr={},Hr={};for(let{id:ln,url:Ge}of Jt){let $e=ht.transformRequest(v(Ge,hr,".json"),"SpriteJSON");vr[ln]=t.h($e,zt);let st=ht.transformRequest(v(Ge,hr,".png"),"SpriteImage");Hr[ln]=l.getImage(st,zt)}return yield Promise.all([...Object.values(vr),...Object.values(Hr)]),function(ln,Ge){return t._(this,void 0,void 0,function*(){let $e={};for(let st in ln){$e[st]={};let dt=i.getImageCanvasContext((yield Ge[st]).data),St=(yield ln[st]).data;for(let xt in St){let{width:It,height:rr,x:sr,y:pr,sdf:kr,pixelRatio:Yr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki}=St[xt];$e[st][xt]={data:null,pixelRatio:Yr,sdf:kr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki,spriteData:{width:It,height:rr,x:sr,y:pr,context:dt}}}}return $e})}(vr,Hr)})}(R,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then(Fe=>{if(this._spriteRequest=null,Fe)for(let ht in Fe){this._spritesImagesIds[ht]=[];let wt=this._spritesImagesIds[ht]?this._spritesImagesIds[ht].filter(zt=>!(zt in Fe)):[];for(let zt of wt)this.imageManager.removeImage(zt),this._changedImages[zt]=!0;for(let zt in Fe[ht]){let Jt=ht==="default"?zt:`${ht}:${zt}`;this._spritesImagesIds[ht].push(Jt),Jt in this.imageManager.images?this.imageManager.updateImage(Jt,Fe[ht][zt],!1):this.imageManager.addImage(Jt,Fe[ht][zt]),ne&&(this._changedImages[Jt]=!0)}}}).catch(Fe=>{this._spriteRequest=null,Ae=Fe,this.fire(new t.j(Ae))}).finally(()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),ne&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"})),be&&be(Ae)})}_unloadSprite(){for(let R of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(R),this._changedImages[R]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}_validateLayer(R){let ne=this.sourceCaches[R.source];if(!ne)return;let be=R.sourceLayer;if(!be)return;let Ae=ne.getSource();(Ae.type==="geojson"||Ae.vectorLayerIds&&Ae.vectorLayerIds.indexOf(be)===-1)&&this.fire(new t.j(new Error(`Source layer "${be}" does not exist on source "${Ae.id}" as specified by style layer "${R.id}".`)))}loaded(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(let R in this.sourceCaches)if(!this.sourceCaches[R].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeByIds(R,ne=!1){let be=this._serializedAllLayers();if(!R||R.length===0)return Object.values(ne?t.aB(be):be);let Ae=[];for(let Fe of R)if(be[Fe]){let ht=ne?t.aB(be[Fe]):be[Fe];Ae.push(ht)}return Ae}_serializedAllLayers(){let R=this._serializedLayers;if(R)return R;R=this._serializedLayers={};let ne=Object.keys(this._layers);for(let be of ne){let Ae=this._layers[be];Ae.type!=="custom"&&(R[be]=Ae.serialize())}return R}hasTransitions(){if(this.light&&this.light.hasTransition()||this.sky&&this.sky.hasTransition())return!0;for(let R in this.sourceCaches)if(this.sourceCaches[R].hasTransition())return!0;for(let R in this._layers)if(this._layers[R].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(R){if(!this._loaded)return;let ne=this._changed;if(ne){let Ae=Object.keys(this._updatedLayers),Fe=Object.keys(this._removedLayers);(Ae.length||Fe.length)&&this._updateWorkerLayers(Ae,Fe);for(let ht in this._updatedSources){let wt=this._updatedSources[ht];if(wt==="reload")this._reloadSource(ht);else{if(wt!=="clear")throw new Error(`Invalid action ${wt}`);this._clearSource(ht)}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(let ht in this._updatedPaintProps)this._layers[ht].updateTransitions(R);this.light.updateTransitions(R),this.sky.updateTransitions(R),this._resetUpdates()}let be={};for(let Ae in this.sourceCaches){let Fe=this.sourceCaches[Ae];be[Ae]=Fe.used,Fe.used=!1}for(let Ae of this._order){let Fe=this._layers[Ae];Fe.recalculate(R,this._availableImages),!Fe.isHidden(R.zoom)&&Fe.source&&(this.sourceCaches[Fe.source].used=!0)}for(let Ae in be){let Fe=this.sourceCaches[Ae];!!be[Ae]!=!!Fe.used&&Fe.fire(new t.k("data",{sourceDataType:"visibility",dataType:"source",sourceId:Ae}))}this.light.recalculate(R),this.sky.recalculate(R),this.z=R.zoom,ne&&this.fire(new t.k("data",{dataType:"style"}))}_updateTilesForChangedImages(){let R=Object.keys(this._changedImages);if(R.length){for(let ne in this.sourceCaches)this.sourceCaches[ne].reloadTilesForDependencies(["icons","patterns"],R);this._changedImages={}}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(let R in this.sourceCaches)this.sourceCaches[R].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1}}_updateWorkerLayers(R,ne){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(R,!1),removedIds:ne})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1}setState(R,ne={}){var be;this._checkLoaded();let Ae=this.serialize();if(R=ne.transformStyle?ne.transformStyle(Ae,R):R,((be=ne.validate)===null||be===void 0||be)&&Ur(this,t.u(R)))return!1;(R=t.aB(R)).layers=t.az(R.layers);let Fe=t.aC(Ae,R),ht=this._getOperationsToPerform(Fe);if(ht.unimplemented.length>0)throw new Error(`Unimplemented: ${ht.unimplemented.join(", ")}.`);if(ht.operations.length===0)return!1;for(let wt of ht.operations)wt();return this.stylesheet=R,this._serializedLayers=null,!0}_getOperationsToPerform(R){let ne=[],be=[];for(let Ae of R)switch(Ae.command){case"setCenter":case"setZoom":case"setBearing":case"setPitch":continue;case"addLayer":ne.push(()=>this.addLayer.apply(this,Ae.args));break;case"removeLayer":ne.push(()=>this.removeLayer.apply(this,Ae.args));break;case"setPaintProperty":ne.push(()=>this.setPaintProperty.apply(this,Ae.args));break;case"setLayoutProperty":ne.push(()=>this.setLayoutProperty.apply(this,Ae.args));break;case"setFilter":ne.push(()=>this.setFilter.apply(this,Ae.args));break;case"addSource":ne.push(()=>this.addSource.apply(this,Ae.args));break;case"removeSource":ne.push(()=>this.removeSource.apply(this,Ae.args));break;case"setLayerZoomRange":ne.push(()=>this.setLayerZoomRange.apply(this,Ae.args));break;case"setLight":ne.push(()=>this.setLight.apply(this,Ae.args));break;case"setGeoJSONSourceData":ne.push(()=>this.setGeoJSONSourceData.apply(this,Ae.args));break;case"setGlyphs":ne.push(()=>this.setGlyphs.apply(this,Ae.args));break;case"setSprite":ne.push(()=>this.setSprite.apply(this,Ae.args));break;case"setSky":ne.push(()=>this.setSky.apply(this,Ae.args));break;case"setTerrain":ne.push(()=>this.map.setTerrain.apply(this,Ae.args));break;case"setTransition":ne.push(()=>{});break;default:be.push(Ae.command)}return{operations:ne,unimplemented:be}}addImage(R,ne){if(this.getImage(R))return this.fire(new t.j(new Error(`An image named "${R}" already exists.`)));this.imageManager.addImage(R,ne),this._afterImageUpdated(R)}updateImage(R,ne){this.imageManager.updateImage(R,ne)}getImage(R){return this.imageManager.getImage(R)}removeImage(R){if(!this.getImage(R))return this.fire(new t.j(new Error(`An image named "${R}" does not exist.`)));this.imageManager.removeImage(R),this._afterImageUpdated(R)}_afterImageUpdated(R){this._availableImages=this.imageManager.listImages(),this._changedImages[R]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(R,ne,be={}){if(this._checkLoaded(),this.sourceCaches[R]!==void 0)throw new Error(`Source "${R}" already exists.`);if(!ne.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(ne).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(ne.type)>=0&&this._validate(t.u.source,`sources.${R}`,ne,null,be))return;this.map&&this.map._collectResourceTiming&&(ne.collectResourceTiming=!0);let Ae=this.sourceCaches[R]=new Et(R,ne,this.dispatcher);Ae.style=this,Ae.setEventedParent(this,()=>({isSourceLoaded:Ae.loaded(),source:Ae.serialize(),sourceId:R})),Ae.onAdd(this.map),this._changed=!0}removeSource(R){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error("There is no source with this ID");for(let be in this._layers)if(this._layers[be].source===R)return this.fire(new t.j(new Error(`Source "${R}" cannot be removed while layer "${be}" is using it.`)));let ne=this.sourceCaches[R];delete this.sourceCaches[R],delete this._updatedSources[R],ne.fire(new t.k("data",{sourceDataType:"metadata",dataType:"source",sourceId:R})),ne.setEventedParent(null),ne.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(R,ne){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(`There is no source with this ID=${R}`);let be=this.sourceCaches[R].getSource();if(be.type!=="geojson")throw new Error(`geojsonSource.type is ${be.type}, which is !== 'geojson`);be.setData(ne),this._changed=!0}getSource(R){return this.sourceCaches[R]&&this.sourceCaches[R].getSource()}addLayer(R,ne,be={}){this._checkLoaded();let Ae=R.id;if(this.getLayer(Ae))return void this.fire(new t.j(new Error(`Layer "${Ae}" already exists on this map.`)));let Fe;if(R.type==="custom"){if(Ur(this,t.aD(R)))return;Fe=t.aA(R)}else{if("source"in R&&typeof R.source=="object"&&(this.addSource(Ae,R.source),R=t.aB(R),R=t.e(R,{source:Ae})),this._validate(t.u.layer,`layers.${Ae}`,R,{arrayIndex:-1},be))return;Fe=t.aA(R),this._validateLayer(Fe),Fe.setEventedParent(this,{layer:{id:Ae}})}let ht=ne?this._order.indexOf(ne):this._order.length;if(ne&&ht===-1)this.fire(new t.j(new Error(`Cannot add layer "${Ae}" before non-existing layer "${ne}".`)));else{if(this._order.splice(ht,0,Ae),this._layerOrderChanged=!0,this._layers[Ae]=Fe,this._removedLayers[Ae]&&Fe.source&&Fe.type!=="custom"){let wt=this._removedLayers[Ae];delete this._removedLayers[Ae],wt.type!==Fe.type?this._updatedSources[Fe.source]="clear":(this._updatedSources[Fe.source]="reload",this.sourceCaches[Fe.source].pause())}this._updateLayer(Fe),Fe.onAdd&&Fe.onAdd(this.map)}}moveLayer(R,ne){if(this._checkLoaded(),this._changed=!0,!this._layers[R])return void this.fire(new t.j(new Error(`The layer '${R}' does not exist in the map's style and cannot be moved.`)));if(R===ne)return;let be=this._order.indexOf(R);this._order.splice(be,1);let Ae=ne?this._order.indexOf(ne):this._order.length;ne&&Ae===-1?this.fire(new t.j(new Error(`Cannot move layer "${R}" before non-existing layer "${ne}".`))):(this._order.splice(Ae,0,R),this._layerOrderChanged=!0)}removeLayer(R){this._checkLoaded();let ne=this._layers[R];if(!ne)return void this.fire(new t.j(new Error(`Cannot remove non-existing layer "${R}".`)));ne.setEventedParent(null);let be=this._order.indexOf(R);this._order.splice(be,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[R]=ne,delete this._layers[R],this._serializedLayers&&delete this._serializedLayers[R],delete this._updatedLayers[R],delete this._updatedPaintProps[R],ne.onRemove&&ne.onRemove(this.map)}getLayer(R){return this._layers[R]}getLayersOrder(){return[...this._order]}hasLayer(R){return R in this._layers}setLayerZoomRange(R,ne,be){this._checkLoaded();let Ae=this.getLayer(R);Ae?Ae.minzoom===ne&&Ae.maxzoom===be||(ne!=null&&(Ae.minzoom=ne),be!=null&&(Ae.maxzoom=be),this._updateLayer(Ae)):this.fire(new t.j(new Error(`Cannot set the zoom range of non-existing layer "${R}".`)))}setFilter(R,ne,be={}){this._checkLoaded();let Ae=this.getLayer(R);if(Ae){if(!t.aE(Ae.filter,ne))return ne==null?(Ae.filter=void 0,void this._updateLayer(Ae)):void(this._validate(t.u.filter,`layers.${Ae.id}.filter`,ne,null,be)||(Ae.filter=t.aB(ne),this._updateLayer(Ae)))}else this.fire(new t.j(new Error(`Cannot filter non-existing layer "${R}".`)))}getFilter(R){return t.aB(this.getLayer(R).filter)}setLayoutProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getLayoutProperty(ne),be)||(Fe.setLayoutProperty(ne,be,Ae),this._updateLayer(Fe)):this.fire(new t.j(new Error(`Cannot style non-existing layer "${R}".`)))}getLayoutProperty(R,ne){let be=this.getLayer(R);if(be)return be.getLayoutProperty(ne);this.fire(new t.j(new Error(`Cannot get style of non-existing layer "${R}".`)))}setPaintProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getPaintProperty(ne),be)||(Fe.setPaintProperty(ne,be,Ae)&&this._updateLayer(Fe),this._changed=!0,this._updatedPaintProps[R]=!0,this._serializedLayers=null):this.fire(new t.j(new Error(`Cannot style non-existing layer "${R}".`)))}getPaintProperty(R,ne){return this.getLayer(R).getPaintProperty(ne)}setFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=R.sourceLayer,Fe=this.sourceCaches[be];if(Fe===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let ht=Fe.getSource().type;ht==="geojson"&&Ae?this.fire(new t.j(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):ht!=="vector"||Ae?(R.id===void 0&&this.fire(new t.j(new Error("The feature id parameter must be provided."))),Fe.setFeatureState(Ae,R.id,ne)):this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}removeFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=this.sourceCaches[be];if(Ae===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let Fe=Ae.getSource().type,ht=Fe==="vector"?R.sourceLayer:void 0;Fe!=="vector"||ht?ne&&typeof R.id!="string"&&typeof R.id!="number"?this.fire(new t.j(new Error("A feature id is required to remove its specific state property."))):Ae.removeFeatureState(ht,R.id,ne):this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}getFeatureState(R){this._checkLoaded();let ne=R.source,be=R.sourceLayer,Ae=this.sourceCaches[ne];if(Ae!==void 0)return Ae.getSource().type!=="vector"||be?(R.id===void 0&&this.fire(new t.j(new Error("The feature id parameter must be provided."))),Ae.getFeatureState(be,R.id)):void this.fire(new t.j(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.j(new Error(`The source '${ne}' does not exist in the map's style.`)))}getTransition(){return t.e({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){if(!this._loaded)return;let R=t.aF(this.sourceCaches,Fe=>Fe.serialize()),ne=this._serializeByIds(this._order,!0),be=this.map.getTerrain()||void 0,Ae=this.stylesheet;return t.aG({version:Ae.version,name:Ae.name,metadata:Ae.metadata,light:Ae.light,sky:Ae.sky,center:Ae.center,zoom:Ae.zoom,bearing:Ae.bearing,pitch:Ae.pitch,sprite:Ae.sprite,glyphs:Ae.glyphs,transition:Ae.transition,sources:R,layers:ne,terrain:be},Fe=>Fe!==void 0)}_updateLayer(R){this._updatedLayers[R.id]=!0,R.source&&!this._updatedSources[R.source]&&this.sourceCaches[R.source].getSource().type!=="raster"&&(this._updatedSources[R.source]="reload",this.sourceCaches[R.source].pause()),this._serializedLayers=null,this._changed=!0}_flattenAndSortRenderedFeatures(R){let ne=ht=>this._layers[ht].type==="fill-extrusion",be={},Ae=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt)){be[wt]=ht;for(let zt of R){let Jt=zt[wt];if(Jt)for(let hr of Jt)Ae.push(hr)}}}Ae.sort((ht,wt)=>wt.intersectionZ-ht.intersectionZ);let Fe=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt))for(let zt=Ae.length-1;zt>=0;zt--){let Jt=Ae[zt].feature;if(be[Jt.layer.id]{let kr=dt.featureSortOrder;if(kr){let Yr=kr.indexOf(sr.featureIndex);return kr.indexOf(pr.featureIndex)-Yr}return pr.featureIndex-sr.featureIndex});for(let sr of rr)It.push(sr)}}for(let dt in Ge)Ge[dt].forEach(St=>{let xt=St.feature,It=Jt[wt[dt].source].getFeatureState(xt.layer["source-layer"],xt.id);xt.source=xt.layer.source,xt.layer["source-layer"]&&(xt.sourceLayer=xt.layer["source-layer"]),xt.state=It});return Ge}(this._layers,ht,this.sourceCaches,R,ne,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(Fe)}querySourceFeatures(R,ne){ne&&ne.filter&&this._validate(t.u.filter,"querySourceFeatures.filter",ne.filter,null,ne);let be=this.sourceCaches[R];return be?function(Ae,Fe){let ht=Ae.getRenderableIds().map(Jt=>Ae.getTileByID(Jt)),wt=[],zt={};for(let Jt=0;JtHr.getTileByID(ln)).sort((ln,Ge)=>Ge.tileID.overscaledZ-ln.tileID.overscaledZ||(ln.tileID.isLessThan(Ge.tileID)?-1:1))}let vr=this.crossTileSymbolIndex.addLayer(hr,zt[hr.source],R.center.lng);ht=ht||vr}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((Fe=Fe||this._layerOrderChanged||be===0)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(i.now(),R.zoom))&&(this.pauseablePlacement=new yt(R,this.map.terrain,this._order,Fe,ne,be,Ae,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,zt),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(i.now()),wt=!0),ht&&this.pauseablePlacement.placement.setStale()),wt||ht)for(let Jt of this._order){let hr=this._layers[Jt];hr.type==="symbol"&&this.placement.updateLayerOpacities(hr,zt[hr.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(i.now())}_releaseSymbolFadeTiles(){for(let R in this.sourceCaches)this.sourceCaches[R].releaseSymbolFadeTiles()}getImages(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.imageManager.getImages(ne.icons);this._updateTilesForChangedImages();let Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,ne.icons),be})}getGlyphs(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.glyphManager.getGlyphs(ne.stacks),Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,[""]),be})}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(R,ne={}){this._checkLoaded(),R&&this._validate(t.u.glyphs,"glyphs",R,null,ne)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=R,this.glyphManager.entries={},this.glyphManager.setURL(R))}addSprite(R,ne,be={},Ae){this._checkLoaded();let Fe=[{id:R,url:ne}],ht=[...b(this.stylesheet.sprite),...Fe];this._validate(t.u.sprite,"sprite",ht,null,be)||(this.stylesheet.sprite=ht,this._loadSprite(Fe,!0,Ae))}removeSprite(R){this._checkLoaded();let ne=b(this.stylesheet.sprite);if(ne.find(be=>be.id===R)){if(this._spritesImagesIds[R])for(let be of this._spritesImagesIds[R])this.imageManager.removeImage(be),this._changedImages[be]=!0;ne.splice(ne.findIndex(be=>be.id===R),1),this.stylesheet.sprite=ne.length>0?ne:void 0,delete this._spritesImagesIds[R],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.k("data",{dataType:"style"}))}else this.fire(new t.j(new Error(`Sprite "${R}" doesn't exists on this map.`)))}getSprite(){return b(this.stylesheet.sprite)}setSprite(R,ne={},be){this._checkLoaded(),R&&this._validate(t.u.sprite,"sprite",R,null,ne)||(this.stylesheet.sprite=R,R?this._loadSprite(R,!0,be):(this._unloadSprite(),be&&be(null)))}}var vn=t.Y([{name:"a_pos",type:"Int16",components:2}]);let gn={prelude:kt(`#ifdef GL_ES -precision mediump float; -#else -#if !defined(lowp) -#define lowp -#endif -#if !defined(mediump) -#define mediump -#endif -#if !defined(highp) -#define highp -#endif -#endif -`,`#ifdef GL_ES -precision highp float; -#else -#if !defined(lowp) -#define lowp -#endif -#if !defined(mediump) -#define mediump -#endif -#if !defined(highp) -#define highp -#endif -#endif -vec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0 -);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;} -#ifdef TERRAIN3D -uniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth; -#endif -const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) { -#ifdef TERRAIN3D -highp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0)); -#else -return 1.0; -#endif -}float calculate_visibility(vec4 pos) { -#ifdef TERRAIN3D -vec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0; -#else -return 1.0; -#endif -}float ele(vec2 pos) { -#ifdef TERRAIN3D -vec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a; -#else -return 0.0; -#endif -}float get_elevation(vec2 pos) { -#ifdef TERRAIN3D -vec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration; -#else -return 0.0; -#endif -}`),background:kt(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),backgroundPattern:kt(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:kt(`varying vec3 v_data;varying float v_visibility; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define mediump float radius -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define highp vec4 stroke_color -#pragma mapbox: define mediump float stroke_width -#pragma mapbox: define lowp float stroke_opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize mediump float radius -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize highp vec4 stroke_color -#pragma mapbox: initialize mediump float stroke_width -#pragma mapbox: initialize lowp float stroke_opacity -vec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define mediump float radius -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define highp vec4 stroke_color -#pragma mapbox: define mediump float stroke_width -#pragma mapbox: define lowp float stroke_opacity -void main(void) { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize mediump float radius -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize highp vec4 stroke_color -#pragma mapbox: initialize mediump float stroke_width -#pragma mapbox: initialize lowp float stroke_opacity -vec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),clippingMask:kt("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),heatmap:kt(`uniform highp float u_intensity;varying vec2 v_extrude; -#pragma mapbox: define highp float weight -#define GAUSS_COEF 0.3989422804014327 -void main() { -#pragma mapbox: initialize highp float weight -float d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude; -#pragma mapbox: define highp float weight -#pragma mapbox: define mediump float radius -const highp float ZERO=1.0/255.0/16.0; -#define GAUSS_COEF 0.3989422804014327 -void main(void) { -#pragma mapbox: initialize highp float weight -#pragma mapbox: initialize mediump float radius -vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,get_elevation(floor(a_pos*0.5)),1);gl_Position=u_matrix*pos;}`),heatmapTexture:kt(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(0.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:kt("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_anchor_pos;attribute vec2 a_placed;attribute vec2 a_box_real;uniform mat4 u_matrix;uniform vec2 u_pixel_extrude_scale;varying float v_placed;varying float v_notUsed;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:kt("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),debug:kt("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}"),fill:kt(`#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float opacity -gl_FragColor=color*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec2 a_pos;uniform mat4 u_matrix; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float opacity -gl_Position=u_matrix*vec4(a_pos,0,1);}`),fillOutline:kt(`varying vec2 v_pos; -#pragma mapbox: define highp vec4 outline_color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 outline_color -#pragma mapbox: initialize lowp float opacity -float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos; -#pragma mapbox: define highp vec4 outline_color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 outline_color -#pragma mapbox: initialize lowp float opacity -gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillOutlinePattern:kt(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillPattern:kt(`#ifdef GL_ES -precision highp float; -#endif -uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),fillExtrusion:kt(`varying vec4 v_color;void main() {gl_FragColor=v_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed; -#ifdef TERRAIN3D -attribute vec2 a_centroid; -#endif -varying vec4 v_color; -#pragma mapbox: define highp float base -#pragma mapbox: define highp float height -#pragma mapbox: define highp vec4 color -void main() { -#pragma mapbox: initialize highp float base -#pragma mapbox: initialize highp float height -#pragma mapbox: initialize highp vec4 color -vec3 normal=a_normal_ed.xyz; -#ifdef TERRAIN3D -float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); -#else -float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; -#endif -base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),fillExtrusionPattern:kt(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed; -#ifdef TERRAIN3D -attribute vec2 a_centroid; -#endif -varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to; -#ifdef TERRAIN3D -float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); -#else -float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; -#endif -base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 -? a_pos -: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),hillshadePrepare:kt(`#ifdef GL_ES -precision highp float; -#endif -uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:kt(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; -#define PI 3.141592653589793 -void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),line:kt(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; -#ifdef TERRAIN3D -v_gamma_scale=1.0; -#else -float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; -#endif -v_width2=vec2(outset,inset);}`),lineGradient:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; -#ifdef TERRAIN3D -v_gamma_scale=1.0; -#else -float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; -#endif -v_width2=vec2(outset,inset);}`),linePattern:kt(`#ifdef GL_ES -precision highp float; -#endif -uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; -#ifdef TERRAIN3D -v_gamma_scale=1.0; -#else -float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; -#endif -v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),lineSDF:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; -#ifdef TERRAIN3D -v_gamma_scale=1.0; -#else -float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; -#endif -v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),raster:kt(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:kt(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_tex;varying float v_fade_opacity;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}`),symbolSDF:kt(`#define SDF_PX 8.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);inner_edge=inner_edge+gamma*gamma_scale;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);if (u_is_halo) {lowp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha=min(smoothstep(halo_edge-gamma_scaled,halo_edge+gamma_scaled,dist),1.0-alpha);}gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_data0;varying vec3 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),symbolTextAndIcon:kt(`#define SDF_PX 8.0 -#define SDF 1.0 -#define ICON 0.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec4 v_data0;varying vec4 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:kt("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;varying vec2 v_texture_pos;varying float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture2D(u_texture,v_texture_pos);if (v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);gl_FragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {gl_FragColor=surface_color;}}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform mat4 u_fog_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;varying float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:kt("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:kt("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);}"),sky:kt("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform float u_horizon;uniform float u_sky_horizon_blend;void main() {float y=gl_FragCoord.y;if (y > u_horizon) {float blend=y-u_horizon;if (blend < u_sky_horizon_blend) {gl_FragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {gl_FragColor=u_sky_color;}}}","attribute vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function kt(Ne,R){let ne=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,be=R.match(/attribute ([\w]+) ([\w]+)/g),Ae=Ne.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),Fe=R.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),ht=Fe?Fe.concat(Ae):Ae,wt={};return{fragmentSource:Ne=Ne.replace(ne,(zt,Jt,hr,vr,Hr)=>(wt[Hr]=!0,Jt==="define"?` -#ifndef HAS_UNIFORM_u_${Hr} -varying ${hr} ${vr} ${Hr}; -#else -uniform ${hr} ${vr} u_${Hr}; -#endif -`:` -#ifdef HAS_UNIFORM_u_${Hr} - ${hr} ${vr} ${Hr} = u_${Hr}; -#endif -`)),vertexSource:R=R.replace(ne,(zt,Jt,hr,vr,Hr)=>{let ln=vr==="float"?"vec2":"vec4",Ge=Hr.match(/color/)?"color":ln;return wt[Hr]?Jt==="define"?` -#ifndef HAS_UNIFORM_u_${Hr} -uniform lowp float u_${Hr}_t; -attribute ${hr} ${ln} a_${Hr}; -varying ${hr} ${vr} ${Hr}; -#else -uniform ${hr} ${vr} u_${Hr}; -#endif -`:Ge==="vec4"?` -#ifndef HAS_UNIFORM_u_${Hr} - ${Hr} = a_${Hr}; -#else - ${hr} ${vr} ${Hr} = u_${Hr}; -#endif -`:` -#ifndef HAS_UNIFORM_u_${Hr} - ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t); -#else - ${hr} ${vr} ${Hr} = u_${Hr}; -#endif -`:Jt==="define"?` -#ifndef HAS_UNIFORM_u_${Hr} -uniform lowp float u_${Hr}_t; -attribute ${hr} ${ln} a_${Hr}; -#else -uniform ${hr} ${vr} u_${Hr}; -#endif -`:Ge==="vec4"?` -#ifndef HAS_UNIFORM_u_${Hr} - ${hr} ${vr} ${Hr} = a_${Hr}; -#else - ${hr} ${vr} ${Hr} = u_${Hr}; -#endif -`:` -#ifndef HAS_UNIFORM_u_${Hr} - ${hr} ${vr} ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t); -#else - ${hr} ${vr} ${Hr} = u_${Hr}; -#endif -`}),staticAttributes:be,staticUniforms:ht}}class or{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(R,ne,be,Ae,Fe,ht,wt,zt,Jt){this.context=R;let hr=this.boundPaintVertexBuffers.length!==Ae.length;for(let vr=0;!hr&&vr({u_matrix:Ne,u_texture:0,u_ele_delta:R,u_fog_matrix:ne,u_fog_color:be?be.properties.get("fog-color"):t.aM.white,u_fog_ground_blend:be?be.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:be?be.calculateFogBlendOpacity(Ae):0,u_horizon_color:be?be.properties.get("horizon-color"):t.aM.white,u_horizon_fog_blend:be?be.properties.get("horizon-fog-blend"):1});function on(Ne){let R=[];for(let ne=0;ne({u_depth:new t.aH(sr,pr.u_depth),u_terrain:new t.aH(sr,pr.u_terrain),u_terrain_dim:new t.aI(sr,pr.u_terrain_dim),u_terrain_matrix:new t.aJ(sr,pr.u_terrain_matrix),u_terrain_unpack:new t.aK(sr,pr.u_terrain_unpack),u_terrain_exaggeration:new t.aI(sr,pr.u_terrain_exaggeration)}))(R,rr),this.binderUniforms=be?be.getUniforms(R,rr):[]}draw(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St){let xt=R.gl;if(this.failedToCreate)return;if(R.program.set(this.program),R.setDepthMode(be),R.setStencilMode(Ae),R.setColorMode(Fe),R.setCullFace(ht),zt){R.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,zt.depthTexture),R.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,zt.texture);for(let rr in this.terrainUniforms)this.terrainUniforms[rr].set(zt[rr])}for(let rr in this.fixedUniforms)this.fixedUniforms[rr].set(wt[rr]);$e&&$e.setUniforms(R,this.binderUniforms,ln,{zoom:Ge});let It=0;switch(ne){case xt.LINES:It=2;break;case xt.TRIANGLES:It=3;break;case xt.LINE_STRIP:It=1}for(let rr of Hr.get()){let sr=rr.vaos||(rr.vaos={});(sr[Jt]||(sr[Jt]=new or)).bind(R,this,hr,$e?$e.getPaintVertexBuffers():[],vr,rr.vertexOffset,st,dt,St),xt.drawElements(ne,rr.primitiveLength*It,xt.UNSIGNED_SHORT,rr.primitiveOffset*It*2)}}}function Zn(Ne,R,ne){let be=1/Rn(ne,1,R.transform.tileZoom),Ae=Math.pow(2,ne.tileID.overscaledZ),Fe=ne.tileSize*Math.pow(2,R.transform.tileZoom)/Ae,ht=Fe*(ne.tileID.canonical.x+ne.tileID.wrap*Ae),wt=Fe*ne.tileID.canonical.y;return{u_image:0,u_texsize:ne.imageAtlasTexture.size,u_scale:[be,Ne.fromScale,Ne.toScale],u_fade:Ne.t,u_pixel_coord_upper:[ht>>16,wt>>16],u_pixel_coord_lower:[65535&ht,65535&wt]}}let Bn=(Ne,R,ne,be)=>{let Ae=R.style.light,Fe=Ae.properties.get("position"),ht=[Fe.x,Fe.y,Fe.z],wt=function(){var Jt=new t.A(9);return t.A!=Float32Array&&(Jt[1]=0,Jt[2]=0,Jt[3]=0,Jt[5]=0,Jt[6]=0,Jt[7]=0),Jt[0]=1,Jt[4]=1,Jt[8]=1,Jt}();Ae.properties.get("anchor")==="viewport"&&function(Jt,hr){var vr=Math.sin(hr),Hr=Math.cos(hr);Jt[0]=Hr,Jt[1]=vr,Jt[2]=0,Jt[3]=-vr,Jt[4]=Hr,Jt[5]=0,Jt[6]=0,Jt[7]=0,Jt[8]=1}(wt,-R.transform.angle),function(Jt,hr,vr){var Hr=hr[0],ln=hr[1],Ge=hr[2];Jt[0]=Hr*vr[0]+ln*vr[3]+Ge*vr[6],Jt[1]=Hr*vr[1]+ln*vr[4]+Ge*vr[7],Jt[2]=Hr*vr[2]+ln*vr[5]+Ge*vr[8]}(ht,ht,wt);let zt=Ae.properties.get("color");return{u_matrix:Ne,u_lightpos:ht,u_lightintensity:Ae.properties.get("intensity"),u_lightcolor:[zt.r,zt.g,zt.b],u_vertical_gradient:+ne,u_opacity:be}},wn=(Ne,R,ne,be,Ae,Fe,ht)=>t.e(Bn(Ne,R,ne,be),Zn(Fe,R,ht),{u_height_factor:-Math.pow(2,Ae.overscaledZ)/ht.tileSize/8}),Dn=Ne=>({u_matrix:Ne}),Ui=(Ne,R,ne,be)=>t.e(Dn(Ne),Zn(ne,R,be)),pi=(Ne,R)=>({u_matrix:Ne,u_world:R}),Ta=(Ne,R,ne,be,Ae)=>t.e(Ui(Ne,R,ne,be),{u_world:Ae}),Sa=(Ne,R,ne,be)=>{let Ae=Ne.transform,Fe,ht;if(be.paint.get("circle-pitch-alignment")==="map"){let wt=Rn(ne,1,Ae.zoom);Fe=!0,ht=[wt,wt]}else Fe=!1,ht=Ae.pixelsToGLUnits;return{u_camera_to_center_distance:Ae.cameraToCenterDistance,u_scale_with_map:+(be.paint.get("circle-pitch-scale")==="map"),u_matrix:Ne.translatePosMatrix(R.posMatrix,ne,be.paint.get("circle-translate"),be.paint.get("circle-translate-anchor")),u_pitch_with_map:+Fe,u_device_pixel_ratio:Ne.pixelRatio,u_extrude_scale:ht}},qa=(Ne,R,ne)=>({u_matrix:Ne,u_inv_matrix:R,u_camera_to_center_distance:ne.cameraToCenterDistance,u_viewport_size:[ne.width,ne.height]}),to=(Ne,R,ne=1)=>({u_matrix:Ne,u_color:R,u_overlay:0,u_overlay_scale:ne}),yo=Ne=>({u_matrix:Ne}),Xa=(Ne,R,ne,be)=>({u_matrix:Ne,u_extrude_scale:Rn(R,1,ne),u_intensity:be}),Go=(Ne,R,ne,be)=>{let Ae=t.H();t.aP(Ae,0,Ne.width,Ne.height,0,0,1);let Fe=Ne.context.gl;return{u_matrix:Ae,u_world:[Fe.drawingBufferWidth,Fe.drawingBufferHeight],u_image:ne,u_color_ramp:be,u_opacity:R.paint.get("heatmap-opacity")}};function pa(Ne,R){let ne=Math.pow(2,R.canonical.z),be=R.canonical.y;return[new t.Z(0,be/ne).toLngLat().lat,new t.Z(0,(be+1)/ne).toLngLat().lat]}let cs=(Ne,R,ne,be)=>{let Ae=Ne.transform;return{u_matrix:Ka(Ne,R,ne,be),u_ratio:1/Rn(R,1,Ae.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_units_to_pixels:[1/Ae.pixelsToGLUnits[0],1/Ae.pixelsToGLUnits[1]]}},Ko=(Ne,R,ne,be,Ae)=>t.e(cs(Ne,R,ne,Ae),{u_image:0,u_image_height:be}),gs=(Ne,R,ne,be,Ae)=>{let Fe=Ne.transform,ht=zo(R,Fe);return{u_matrix:Ka(Ne,R,ne,Ae),u_texsize:R.imageAtlasTexture.size,u_ratio:1/Rn(R,1,Fe.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_image:0,u_scale:[ht,be.fromScale,be.toScale],u_fade:be.t,u_units_to_pixels:[1/Fe.pixelsToGLUnits[0],1/Fe.pixelsToGLUnits[1]]}},Ya=(Ne,R,ne,be,Ae,Fe)=>{let ht=Ne.lineAtlas,wt=zo(R,Ne.transform),zt=ne.layout.get("line-cap")==="round",Jt=ht.getDash(be.from,zt),hr=ht.getDash(be.to,zt),vr=Jt.width*Ae.fromScale,Hr=hr.width*Ae.toScale;return t.e(cs(Ne,R,ne,Fe),{u_patternscale_a:[wt/vr,-Jt.height/2],u_patternscale_b:[wt/Hr,-hr.height/2],u_sdfgamma:ht.width/(256*Math.min(vr,Hr)*Ne.pixelRatio)/2,u_image:0,u_tex_y_a:Jt.y,u_tex_y_b:hr.y,u_mix:Ae.t})};function zo(Ne,R){return 1/Rn(Ne,1,R.tileZoom)}function Ka(Ne,R,ne,be){return Ne.translatePosMatrix(be?be.posMatrix:R.tileID.posMatrix,R,ne.paint.get("line-translate"),ne.paint.get("line-translate-anchor"))}let Yo=(Ne,R,ne,be,Ae)=>{return{u_matrix:Ne,u_tl_parent:R,u_scale_parent:ne,u_buffer_scale:1,u_fade_t:be.mix,u_opacity:be.opacity*Ae.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:Ae.paint.get("raster-brightness-min"),u_brightness_high:Ae.paint.get("raster-brightness-max"),u_saturation_factor:(ht=Ae.paint.get("raster-saturation"),ht>0?1-1/(1.001-ht):-ht),u_contrast_factor:(Fe=Ae.paint.get("raster-contrast"),Fe>0?1/(1-Fe):1+Fe),u_spin_weights:ns(Ae.paint.get("raster-hue-rotate"))};var Fe,ht};function ns(Ne){Ne*=Math.PI/180;let R=Math.sin(Ne),ne=Math.cos(Ne);return[(2*ne+1)/3,(-Math.sqrt(3)*R-ne+1)/3,(Math.sqrt(3)*R-ne+1)/3]}let hs=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>{let Ge=ht.transform;return{u_is_size_zoom_constant:+(Ne==="constant"||Ne==="source"),u_is_size_feature_constant:+(Ne==="constant"||Ne==="camera"),u_size_t:R?R.uSizeT:0,u_size:R?R.uSize:0,u_camera_to_center_distance:Ge.cameraToCenterDistance,u_pitch:Ge.pitch/360*2*Math.PI,u_rotate_symbol:+ne,u_aspect_ratio:Ge.width/Ge.height,u_fade_change:ht.options.fadeDuration?ht.symbolFadeChange:1,u_matrix:wt,u_label_plane_matrix:zt,u_coord_matrix:Jt,u_is_text:+vr,u_pitch_with_map:+be,u_is_along_line:Ae,u_is_variable_anchor:Fe,u_texsize:Hr,u_texture:0,u_translation:hr,u_pitched_scale:ln}},ho=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge)=>{let $e=ht.transform;return t.e(hs(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,Ge),{u_gamma_scale:be?Math.cos($e._pitch)*$e.cameraToCenterDistance:1,u_device_pixel_ratio:ht.pixelRatio,u_is_halo:+ln})},Ro=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>t.e(ho(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,!0,vr,!0,ln),{u_texsize_icon:Hr,u_texture_icon:1}),Ls=(Ne,R,ne)=>({u_matrix:Ne,u_opacity:R,u_color:ne}),Vs=(Ne,R,ne,be,Ae,Fe)=>t.e(function(ht,wt,zt,Jt){let hr=zt.imageManager.getPattern(ht.from.toString()),vr=zt.imageManager.getPattern(ht.to.toString()),{width:Hr,height:ln}=zt.imageManager.getPixelSize(),Ge=Math.pow(2,Jt.tileID.overscaledZ),$e=Jt.tileSize*Math.pow(2,zt.transform.tileZoom)/Ge,st=$e*(Jt.tileID.canonical.x+Jt.tileID.wrap*Ge),dt=$e*Jt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:hr.tl,u_pattern_br_a:hr.br,u_pattern_tl_b:vr.tl,u_pattern_br_b:vr.br,u_texsize:[Hr,ln],u_mix:wt.t,u_pattern_size_a:hr.displaySize,u_pattern_size_b:vr.displaySize,u_scale_a:wt.fromScale,u_scale_b:wt.toScale,u_tile_units_to_pixels:1/Rn(Jt,1,zt.transform.tileZoom),u_pixel_coord_upper:[st>>16,dt>>16],u_pixel_coord_lower:[65535&st,65535&dt]}}(be,Fe,ne,Ae),{u_matrix:Ne,u_opacity:R}),Ws={fillExtrusion:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_opacity:new t.aI(Ne,R.u_opacity)}),fillExtrusionPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_height_factor:new t.aI(Ne,R.u_height_factor),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade),u_opacity:new t.aI(Ne,R.u_opacity)}),fill:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),fillPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),fillOutline:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world)}),fillOutlinePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),circle:(Ne,R)=>({u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_scale_with_map:new t.aH(Ne,R.u_scale_with_map),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_extrude_scale:new t.aO(Ne,R.u_extrude_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_matrix:new t.aJ(Ne,R.u_matrix)}),collisionBox:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_pixel_extrude_scale:new t.aO(Ne,R.u_pixel_extrude_scale)}),collisionCircle:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_inv_matrix:new t.aJ(Ne,R.u_inv_matrix),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_viewport_size:new t.aO(Ne,R.u_viewport_size)}),debug:(Ne,R)=>({u_color:new t.aL(Ne,R.u_color),u_matrix:new t.aJ(Ne,R.u_matrix),u_overlay:new t.aH(Ne,R.u_overlay),u_overlay_scale:new t.aI(Ne,R.u_overlay_scale)}),clippingMask:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmap:(Ne,R)=>({u_extrude_scale:new t.aI(Ne,R.u_extrude_scale),u_intensity:new t.aI(Ne,R.u_intensity),u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmapTexture:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_color_ramp:new t.aH(Ne,R.u_color_ramp),u_opacity:new t.aI(Ne,R.u_opacity)}),hillshade:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_latrange:new t.aO(Ne,R.u_latrange),u_light:new t.aO(Ne,R.u_light),u_shadow:new t.aL(Ne,R.u_shadow),u_highlight:new t.aL(Ne,R.u_highlight),u_accent:new t.aL(Ne,R.u_accent)}),hillshadePrepare:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_dimension:new t.aO(Ne,R.u_dimension),u_zoom:new t.aI(Ne,R.u_zoom),u_unpack:new t.aK(Ne,R.u_unpack)}),line:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels)}),lineGradient:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_image:new t.aH(Ne,R.u_image),u_image_height:new t.aI(Ne,R.u_image_height)}),linePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texsize:new t.aO(Ne,R.u_texsize),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_image:new t.aH(Ne,R.u_image),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),lineSDF:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_patternscale_a:new t.aO(Ne,R.u_patternscale_a),u_patternscale_b:new t.aO(Ne,R.u_patternscale_b),u_sdfgamma:new t.aI(Ne,R.u_sdfgamma),u_image:new t.aH(Ne,R.u_image),u_tex_y_a:new t.aI(Ne,R.u_tex_y_a),u_tex_y_b:new t.aI(Ne,R.u_tex_y_b),u_mix:new t.aI(Ne,R.u_mix)}),raster:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_tl_parent:new t.aO(Ne,R.u_tl_parent),u_scale_parent:new t.aI(Ne,R.u_scale_parent),u_buffer_scale:new t.aI(Ne,R.u_buffer_scale),u_fade_t:new t.aI(Ne,R.u_fade_t),u_opacity:new t.aI(Ne,R.u_opacity),u_image0:new t.aH(Ne,R.u_image0),u_image1:new t.aH(Ne,R.u_image1),u_brightness_low:new t.aI(Ne,R.u_brightness_low),u_brightness_high:new t.aI(Ne,R.u_brightness_high),u_saturation_factor:new t.aI(Ne,R.u_saturation_factor),u_contrast_factor:new t.aI(Ne,R.u_contrast_factor),u_spin_weights:new t.aN(Ne,R.u_spin_weights)}),symbolIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolSDF:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolTextAndIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texsize_icon:new t.aO(Ne,R.u_texsize_icon),u_texture:new t.aH(Ne,R.u_texture),u_texture_icon:new t.aH(Ne,R.u_texture_icon),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),background:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_color:new t.aL(Ne,R.u_color)}),backgroundPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_image:new t.aH(Ne,R.u_image),u_pattern_tl_a:new t.aO(Ne,R.u_pattern_tl_a),u_pattern_br_a:new t.aO(Ne,R.u_pattern_br_a),u_pattern_tl_b:new t.aO(Ne,R.u_pattern_tl_b),u_pattern_br_b:new t.aO(Ne,R.u_pattern_br_b),u_texsize:new t.aO(Ne,R.u_texsize),u_mix:new t.aI(Ne,R.u_mix),u_pattern_size_a:new t.aO(Ne,R.u_pattern_size_a),u_pattern_size_b:new t.aO(Ne,R.u_pattern_size_b),u_scale_a:new t.aI(Ne,R.u_scale_a),u_scale_b:new t.aI(Ne,R.u_scale_b),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_tile_units_to_pixels:new t.aI(Ne,R.u_tile_units_to_pixels)}),terrain:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_ele_delta:new t.aI(Ne,R.u_ele_delta),u_fog_matrix:new t.aJ(Ne,R.u_fog_matrix),u_fog_color:new t.aL(Ne,R.u_fog_color),u_fog_ground_blend:new t.aI(Ne,R.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.aI(Ne,R.u_fog_ground_blend_opacity),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon_fog_blend:new t.aI(Ne,R.u_horizon_fog_blend)}),terrainDepth:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),terrainCoords:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_terrain_coords_id:new t.aI(Ne,R.u_terrain_coords_id),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),sky:(Ne,R)=>({u_sky_color:new t.aL(Ne,R.u_sky_color),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon:new t.aI(Ne,R.u_horizon),u_sky_horizon_blend:new t.aI(Ne,R.u_sky_horizon_blend)})};class fs{constructor(R,ne,be){this.context=R;let Ae=R.gl;this.buffer=Ae.createBuffer(),this.dynamicDraw=!!be,this.context.unbindVAO(),R.bindElementBuffer.set(this.buffer),Ae.bufferData(Ae.ELEMENT_ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Ae.DYNAMIC_DRAW:Ae.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(R){let ne=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),ne.bufferSubData(ne.ELEMENT_ARRAY_BUFFER,0,R.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}let Mi={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Da{constructor(R,ne,be,Ae){this.length=ne.length,this.attributes=be,this.itemSize=ne.bytesPerElement,this.dynamicDraw=Ae,this.context=R;let Fe=R.gl;this.buffer=Fe.createBuffer(),R.bindVertexBuffer.set(this.buffer),Fe.bufferData(Fe.ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Fe.DYNAMIC_DRAW:Fe.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(R){if(R.length!==this.length)throw new Error(`Length of new data is ${R.length}, which doesn't match current length of ${this.length}`);let ne=this.context.gl;this.bind(),ne.bufferSubData(ne.ARRAY_BUFFER,0,R.arrayBuffer)}enableAttributes(R,ne){for(let be=0;be0){let sr=t.H();t.aQ(sr,xt.placementInvProjMatrix,Ne.transform.glCoordMatrix),t.aQ(sr,sr,xt.placementViewportMatrix),zt.push({circleArray:rr,circleOffset:hr,transform:St.posMatrix,invTransform:sr,coord:St}),Jt+=rr.length/4,hr=Jt}It&&wt.draw(Fe,ht.LINES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,{u_matrix:St.posMatrix,u_pixel_extrude_scale:[1/(vr=Ne.transform).width,1/vr.height]},Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St),ne.id,It.layoutVertexBuffer,It.indexBuffer,It.segments,null,Ne.transform.zoom,null,null,It.collisionVertexBuffer)}var vr;if(!Ae||!zt.length)return;let Hr=Ne.useProgram("collisionCircle"),ln=new t.aR;ln.resize(4*Jt),ln._trim();let Ge=0;for(let dt of zt)for(let St=0;St=0&&(dt[xt.associatedIconIndex]={shiftedAnchor:ya,angle:ro})}else Xt(xt.numGlyphs,$e)}if(Jt){st.clear();let St=Ne.icon.placedSymbolArray;for(let xt=0;xtNe.style.map.terrain.getElevation(Mn,Dt,lr):null,Qt=ne.layout.get("text-rotation-alignment")==="map";je(li,Mn.posMatrix,Ne,Ae,eu,mu,dt,Jt,Qt,$e,Mn.toUnwrapped(),Ge.width,Ge.height,El,Tt)}let Zl=Mn.posMatrix,Yl=Ae&&kr||Tc,de=St||Yl?pu:eu,Re=Xu,Qe=Zi&&ne.paint.get(Ae?"text-halo-width":"icon-halo-width").constantOr(1)!==0,vt;vt=Zi?li.iconsInText?Ro(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Fo,al,_n):ho(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,!0,_n):hs(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,_n);let mt={program:Va,buffers:ki,uniformValues:vt,atlasTexture:ts,atlasTextureIcon:os,atlasInterpolation:bs,atlasInterpolationIcon:fl,isSDF:Zi,hasHalo:Qe};if(rr&&li.canOverlap){sr=!0;let Tt=ki.segments.get();for(let Qt of Tt)Yr.push({segments:new t.a0([Qt]),sortKey:Qt.sortKey,state:mt,terrainData:vs})}else Yr.push({segments:ki.segments,sortKey:0,state:mt,terrainData:vs})}sr&&Yr.sort((Mn,Un)=>Mn.sortKey-Un.sortKey);for(let Mn of Yr){let Un=Mn.state;if(Hr.activeTexture.set(ln.TEXTURE0),Un.atlasTexture.bind(Un.atlasInterpolation,ln.CLAMP_TO_EDGE),Un.atlasTextureIcon&&(Hr.activeTexture.set(ln.TEXTURE1),Un.atlasTextureIcon&&Un.atlasTextureIcon.bind(Un.atlasInterpolationIcon,ln.CLAMP_TO_EDGE)),Un.isSDF){let li=Un.uniformValues;Un.hasHalo&&(li.u_is_halo=1,zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,li,Mn.terrainData)),li.u_is_halo=0}zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,Un.uniformValues,Mn.terrainData)}}function zf(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt){let hr=be.context;Ae.draw(hr,hr.gl.TRIANGLES,Fe,ht,wt,Vo.disabled,zt,Jt,ne.id,Ne.layoutVertexBuffer,Ne.indexBuffer,R,ne.paint,be.transform.zoom,Ne.programConfigurations.get(ne.id),Ne.dynamicLayoutVertexBuffer,Ne.opacityVertexBuffer)}function wf(Ne,R,ne,be){let Ae=Ne.context,Fe=Ae.gl,ht=Bs.disabled,wt=new ll([Fe.ONE,Fe.ONE],t.aM.transparent,[!0,!0,!0,!0]),zt=R.getBucket(ne);if(!zt)return;let Jt=be.key,hr=ne.heatmapFbos.get(Jt);hr||(hr=Ff(Ae,R.tileSize,R.tileSize),ne.heatmapFbos.set(Jt,hr)),Ae.bindFramebuffer.set(hr.framebuffer),Ae.viewport.set([0,0,R.tileSize,R.tileSize]),Ae.clear({color:t.aM.transparent});let vr=zt.programConfigurations.get(ne.id),Hr=Ne.useProgram("heatmap",vr),ln=Ne.style.map.terrain.getTerrainData(be);Hr.draw(Ae,Fe.TRIANGLES,ds.disabled,ht,wt,Vo.disabled,Xa(be.posMatrix,R,Ne.transform.zoom,ne.paint.get("heatmap-intensity")),ln,ne.id,zt.layoutVertexBuffer,zt.indexBuffer,zt.segments,ne.paint,Ne.transform.zoom,vr)}function Gc(Ne,R,ne){let be=Ne.context,Ae=be.gl;be.setColorMode(Ne.colorModeForRenderPass());let Fe=$f(be,R),ht=ne.key,wt=R.heatmapFbos.get(ht);wt&&(be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,wt.colorAttachment.get()),be.activeTexture.set(Ae.TEXTURE1),Fe.bind(Ae.LINEAR,Ae.CLAMP_TO_EDGE),Ne.useProgram("heatmapTexture").draw(be,Ae.TRIANGLES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,Go(Ne,R,0,1),null,R.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments,R.paint,Ne.transform.zoom),wt.destroy(),R.heatmapFbos.delete(ht))}function Ff(Ne,R,ne){var be,Ae;let Fe=Ne.gl,ht=Fe.createTexture();Fe.bindTexture(Fe.TEXTURE_2D,ht),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,Fe.LINEAR),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,Fe.LINEAR);let wt=(be=Ne.HALF_FLOAT)!==null&&be!==void 0?be:Fe.UNSIGNED_BYTE,zt=(Ae=Ne.RGBA16F)!==null&&Ae!==void 0?Ae:Fe.RGBA;Fe.texImage2D(Fe.TEXTURE_2D,0,zt,R,ne,0,Fe.RGBA,wt,null);let Jt=Ne.createFramebuffer(R,ne,!1,!1);return Jt.colorAttachment.set(ht),Jt}function $f(Ne,R){return R.colorRampTexture||(R.colorRampTexture=new u(Ne,R.colorRamp,Ne.gl.RGBA)),R.colorRampTexture}function ec(Ne,R,ne,be,Ae){if(!ne||!be||!be.imageAtlas)return;let Fe=be.imageAtlas.patternPositions,ht=Fe[ne.to.toString()],wt=Fe[ne.from.toString()];if(!ht&&wt&&(ht=wt),!wt&&ht&&(wt=ht),!ht||!wt){let zt=Ae.getPaintProperty(R);ht=Fe[zt],wt=Fe[zt]}ht&&wt&&Ne.setConstantPatternPositions(ht,wt)}function Tf(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context.gl,zt="fill-pattern",Jt=ne.paint.get(zt),hr=Jt&&Jt.constantOr(1),vr=ne.getCrossfadeParameters(),Hr,ln,Ge,$e,st;ht?(ln=hr&&!ne.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",Hr=wt.LINES):(ln=hr?"fillPattern":"fill",Hr=wt.TRIANGLES);let dt=Jt.constantOr(null);for(let St of be){let xt=R.getTile(St);if(hr&&!xt.patternsLoaded())continue;let It=xt.getBucket(ne);if(!It)continue;let rr=It.programConfigurations.get(ne.id),sr=Ne.useProgram(ln,rr),pr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St);hr&&(Ne.context.activeTexture.set(wt.TEXTURE0),xt.imageAtlasTexture.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),rr.updatePaintBuffers(vr)),ec(rr,zt,dt,xt,ne);let kr=pr?St:null,Yr=Ne.translatePosMatrix(kr?kr.posMatrix:St.posMatrix,xt,ne.paint.get("fill-translate"),ne.paint.get("fill-translate-anchor"));if(ht){$e=It.indexBuffer2,st=It.segments2;let _n=[wt.drawingBufferWidth,wt.drawingBufferHeight];Ge=ln==="fillOutlinePattern"&&hr?Ta(Yr,Ne,vr,xt,_n):pi(Yr,_n)}else $e=It.indexBuffer,st=It.segments,Ge=hr?Ui(Yr,Ne,vr,xt):Dn(Yr);sr.draw(Ne.context,Hr,Ae,Ne.stencilModeForClipping(St),Fe,Vo.disabled,Ge,pr,ne.id,It.layoutVertexBuffer,$e,st,ne.paint,Ne.transform.zoom,rr)}}function Pc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt="fill-extrusion-pattern",hr=ne.paint.get(Jt),vr=hr.constantOr(1),Hr=ne.getCrossfadeParameters(),ln=ne.paint.get("fill-extrusion-opacity"),Ge=hr.constantOr(null);for(let $e of be){let st=R.getTile($e),dt=st.getBucket(ne);if(!dt)continue;let St=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData($e),xt=dt.programConfigurations.get(ne.id),It=Ne.useProgram(vr?"fillExtrusionPattern":"fillExtrusion",xt);vr&&(Ne.context.activeTexture.set(zt.TEXTURE0),st.imageAtlasTexture.bind(zt.LINEAR,zt.CLAMP_TO_EDGE),xt.updatePaintBuffers(Hr)),ec(xt,Jt,Ge,st,ne);let rr=Ne.translatePosMatrix($e.posMatrix,st,ne.paint.get("fill-extrusion-translate"),ne.paint.get("fill-extrusion-translate-anchor")),sr=ne.paint.get("fill-extrusion-vertical-gradient"),pr=vr?wn(rr,Ne,sr,ln,$e,Hr,st):Bn(rr,Ne,sr,ln);It.draw(wt,wt.gl.TRIANGLES,Ae,Fe,ht,Vo.backCCW,pr,St,ne.id,dt.layoutVertexBuffer,dt.indexBuffer,dt.segments,ne.paint,Ne.transform.zoom,xt,Ne.style.map.terrain&&dt.centroidVertexBuffer)}}function Wc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=ne.fbo;if(!Jt)return;let hr=Ne.useProgram("hillshade"),vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(R);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Jt.colorAttachment.get()),hr.draw(wt,zt.TRIANGLES,Ae,Fe,ht,Vo.disabled,((Hr,ln,Ge,$e)=>{let st=Ge.paint.get("hillshade-shadow-color"),dt=Ge.paint.get("hillshade-highlight-color"),St=Ge.paint.get("hillshade-accent-color"),xt=Ge.paint.get("hillshade-illumination-direction")*(Math.PI/180);Ge.paint.get("hillshade-illumination-anchor")==="viewport"&&(xt-=Hr.transform.angle);let It=!Hr.options.moving;return{u_matrix:$e?$e.posMatrix:Hr.transform.calculatePosMatrix(ln.tileID.toUnwrapped(),It),u_image:0,u_latrange:pa(0,ln.tileID),u_light:[Ge.paint.get("hillshade-exaggeration"),xt],u_shadow:st,u_highlight:dt,u_accent:St}})(Ne,ne,be,vr?R:null),vr,be.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments)}function Pu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl,zt=R.dem;if(zt&&zt.data){let Jt=zt.dim,hr=zt.stride,vr=zt.getPixels();if(ht.activeTexture.set(wt.TEXTURE1),ht.pixelStoreUnpackPremultiplyAlpha.set(!1),R.demTexture=R.demTexture||Ne.getTileTexture(hr),R.demTexture){let ln=R.demTexture;ln.update(vr,{premultiply:!1}),ln.bind(wt.NEAREST,wt.CLAMP_TO_EDGE)}else R.demTexture=new u(ht,vr,wt.RGBA,{premultiply:!1}),R.demTexture.bind(wt.NEAREST,wt.CLAMP_TO_EDGE);ht.activeTexture.set(wt.TEXTURE0);let Hr=R.fbo;if(!Hr){let ln=new u(ht,{width:Jt,height:Jt,data:null},wt.RGBA);ln.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),Hr=R.fbo=ht.createFramebuffer(Jt,Jt,!0,!1),Hr.colorAttachment.set(ln.texture)}ht.bindFramebuffer.set(Hr.framebuffer),ht.viewport.set([0,0,Jt,Jt]),Ne.useProgram("hillshadePrepare").draw(ht,wt.TRIANGLES,be,Ae,Fe,Vo.disabled,((ln,Ge)=>{let $e=Ge.stride,st=t.H();return t.aP(st,0,t.X,-t.X,0,0,1),t.J(st,st,[0,-t.X,0]),{u_matrix:st,u_image:1,u_dimension:[$e,$e],u_zoom:ln.overscaledZ,u_unpack:Ge.getUnpackVector()}})(R.tileID,zt),null,ne.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments),R.needsHillshadePrepare=!1}}function cf(Ne,R,ne,be,Ae,Fe){let ht=be.paint.get("raster-fade-duration");if(!Fe&&ht>0){let wt=i.now(),zt=(wt-Ne.timeAdded)/ht,Jt=R?(wt-R.timeAdded)/ht:-1,hr=ne.getSource(),vr=Ae.coveringZoomLevel({tileSize:hr.tileSize,roundZoom:hr.roundZoom}),Hr=!R||Math.abs(R.tileID.overscaledZ-vr)>Math.abs(Ne.tileID.overscaledZ-vr),ln=Hr&&Ne.refreshedUponExpiration?1:t.ac(Hr?zt:1-Jt,0,1);return Ne.refreshedUponExpiration&&zt>=1&&(Ne.refreshedUponExpiration=!1),R?{opacity:1,mix:1-ln}:{opacity:ln,mix:0}}return{opacity:1,mix:0}}let Ic=new t.aM(1,0,0,1),Ks=new t.aM(0,1,0,1),Of=new t.aM(0,0,1,1),Eh=new t.aM(1,0,1,1),Qf=new t.aM(0,1,1,1);function af(Ne,R,ne,be){Iu(Ne,0,R+ne/2,Ne.transform.width,ne,be)}function lh(Ne,R,ne,be){Iu(Ne,R-ne/2,0,ne,Ne.transform.height,be)}function Iu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl;wt.enable(wt.SCISSOR_TEST),wt.scissor(R*Ne.pixelRatio,ne*Ne.pixelRatio,be*Ne.pixelRatio,Ae*Ne.pixelRatio),ht.clear({color:Fe}),wt.disable(wt.SCISSOR_TEST)}function eh(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=ne.posMatrix,ht=Ne.useProgram("debug"),wt=ds.disabled,zt=Bs.disabled,Jt=Ne.colorModeForRenderPass(),hr="$debug",vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(ne);be.activeTexture.set(Ae.TEXTURE0);let Hr=R.getTileByID(ne.key).latestRawTileData,ln=Math.floor((Hr&&Hr.byteLength||0)/1024),Ge=R.getTile(ne).tileSize,$e=512/Math.min(Ge,512)*(ne.overscaledZ/Ne.transform.zoom)*.5,st=ne.canonical.toString();ne.overscaledZ!==ne.canonical.z&&(st+=` => ${ne.overscaledZ}`),function(dt,St){dt.initDebugOverlayCanvas();let xt=dt.debugOverlayCanvas,It=dt.context.gl,rr=dt.debugOverlayCanvas.getContext("2d");rr.clearRect(0,0,xt.width,xt.height),rr.shadowColor="white",rr.shadowBlur=2,rr.lineWidth=1.5,rr.strokeStyle="white",rr.textBaseline="top",rr.font="bold 36px Open Sans, sans-serif",rr.fillText(St,5,5),rr.strokeText(St,5,5),dt.debugOverlayTexture.update(xt),dt.debugOverlayTexture.bind(It.LINEAR,It.CLAMP_TO_EDGE)}(Ne,`${st} ${ln}kB`),ht.draw(be,Ae.TRIANGLES,wt,zt,ll.alphaBlended,Vo.disabled,to(Fe,t.aM.transparent,$e),null,hr,Ne.debugBuffer,Ne.quadTriangleIndexBuffer,Ne.debugSegments),ht.draw(be,Ae.LINE_STRIP,wt,zt,Jt,Vo.disabled,to(Fe,t.aM.red),vr,hr,Ne.debugBuffer,Ne.tileBorderIndexBuffer,Ne.debugSegments)}function su(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=Ne.colorModeForRenderPass(),ht=new ds(Ae.LEQUAL,ds.ReadWrite,Ne.depthRangeFor3D),wt=Ne.useProgram("terrain"),zt=R.getTerrainMesh();be.bindFramebuffer.set(null),be.viewport.set([0,0,Ne.width,Ne.height]);for(let Jt of ne){let hr=Ne.renderToTexture.getTexture(Jt),vr=R.getTerrainData(Jt.tileID);be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,hr.texture);let Hr=Ne.transform.calculatePosMatrix(Jt.tileID.toUnwrapped()),ln=R.getMeshFrameDelta(Ne.transform.zoom),Ge=Ne.transform.calculateFogMatrix(Jt.tileID.toUnwrapped()),$e=yr(Hr,ln,Ge,Ne.style.sky,Ne.transform.pitch);wt.draw(be,Ae.TRIANGLES,ht,Bs.disabled,Fe,Vo.backCCW,$e,vr,"terrain",zt.vertexBuffer,zt.indexBuffer,zt.segments)}}class Ru{constructor(R,ne,be){this.vertexBuffer=R,this.indexBuffer=ne,this.segments=be}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}class yc{constructor(R,ne){this.context=new Nh(R),this.transform=ne,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:t.an(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Et.maxUnderzooming+Et.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Lr}resize(R,ne,be){if(this.width=Math.floor(R*be),this.height=Math.floor(ne*be),this.pixelRatio=be,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(let Ae of this.style._order)this.style._layers[Ae].resize()}setup(){let R=this.context,ne=new t.aX;ne.emplaceBack(0,0),ne.emplaceBack(t.X,0),ne.emplaceBack(0,t.X),ne.emplaceBack(t.X,t.X),this.tileExtentBuffer=R.createVertexBuffer(ne,vn.members),this.tileExtentSegments=t.a0.simpleSegment(0,0,4,2);let be=new t.aX;be.emplaceBack(0,0),be.emplaceBack(t.X,0),be.emplaceBack(0,t.X),be.emplaceBack(t.X,t.X),this.debugBuffer=R.createVertexBuffer(be,vn.members),this.debugSegments=t.a0.simpleSegment(0,0,4,5);let Ae=new t.$;Ae.emplaceBack(0,0,0,0),Ae.emplaceBack(t.X,0,t.X,0),Ae.emplaceBack(0,t.X,0,t.X),Ae.emplaceBack(t.X,t.X,t.X,t.X),this.rasterBoundsBuffer=R.createVertexBuffer(Ae,Ye.members),this.rasterBoundsSegments=t.a0.simpleSegment(0,0,4,2);let Fe=new t.aX;Fe.emplaceBack(0,0),Fe.emplaceBack(1,0),Fe.emplaceBack(0,1),Fe.emplaceBack(1,1),this.viewportBuffer=R.createVertexBuffer(Fe,vn.members),this.viewportSegments=t.a0.simpleSegment(0,0,4,2);let ht=new t.aZ;ht.emplaceBack(0),ht.emplaceBack(1),ht.emplaceBack(3),ht.emplaceBack(2),ht.emplaceBack(0),this.tileBorderIndexBuffer=R.createIndexBuffer(ht);let wt=new t.aY;wt.emplaceBack(0,1,2),wt.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=R.createIndexBuffer(wt);let zt=this.context.gl;this.stencilClearMode=new Bs({func:zt.ALWAYS,mask:0},0,255,zt.ZERO,zt.ZERO,zt.ZERO)}clearStencil(){let R=this.context,ne=R.gl;this.nextStencilID=1,this.currentStencilSource=void 0;let be=t.H();t.aP(be,0,this.width,this.height,0,0,1),t.K(be,be,[ne.drawingBufferWidth,ne.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(R,ne.TRIANGLES,ds.disabled,this.stencilClearMode,ll.disabled,Vo.disabled,yo(be),null,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(R,ne){if(this.currentStencilSource===R.source||!R.isTileClipped()||!ne||!ne.length)return;this.currentStencilSource=R.source;let be=this.context,Ae=be.gl;this.nextStencilID+ne.length>256&&this.clearStencil(),be.setColorMode(ll.disabled),be.setDepthMode(ds.disabled);let Fe=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(let ht of ne){let wt=this._tileClippingMaskIDs[ht.key]=this.nextStencilID++,zt=this.style.map.terrain&&this.style.map.terrain.getTerrainData(ht);Fe.draw(be,Ae.TRIANGLES,ds.disabled,new Bs({func:Ae.ALWAYS,mask:0},wt,255,Ae.KEEP,Ae.KEEP,Ae.REPLACE),ll.disabled,Vo.disabled,yo(ht.posMatrix),zt,"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();let R=this.nextStencilID++,ne=this.context.gl;return new Bs({func:ne.NOTEQUAL,mask:255},R,255,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilModeForClipping(R){let ne=this.context.gl;return new Bs({func:ne.EQUAL,mask:255},this._tileClippingMaskIDs[R.key],0,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilConfigForOverlap(R){let ne=this.context.gl,be=R.sort((ht,wt)=>wt.overscaledZ-ht.overscaledZ),Ae=be[be.length-1].overscaledZ,Fe=be[0].overscaledZ-Ae+1;if(Fe>1){this.currentStencilSource=void 0,this.nextStencilID+Fe>256&&this.clearStencil();let ht={};for(let wt=0;wt({u_sky_color:dt.properties.get("sky-color"),u_horizon_color:dt.properties.get("horizon-color"),u_horizon:(St.height/2+St.getHorizon())*xt,u_sky_horizon_blend:dt.properties.get("sky-horizon-blend")*St.height/2*xt}))(Jt,zt.style.map.transform,zt.pixelRatio),ln=new ds(vr.LEQUAL,ds.ReadWrite,[0,1]),Ge=Bs.disabled,$e=zt.colorModeForRenderPass(),st=zt.useProgram("sky");if(!Jt.mesh){let dt=new t.aX;dt.emplaceBack(-1,-1),dt.emplaceBack(1,-1),dt.emplaceBack(1,1),dt.emplaceBack(-1,1);let St=new t.aY;St.emplaceBack(0,1,2),St.emplaceBack(0,2,3),Jt.mesh=new Ru(hr.createVertexBuffer(dt,vn.members),hr.createIndexBuffer(St),t.a0.simpleSegment(0,0,dt.length,St.length))}st.draw(hr,vr.TRIANGLES,ln,Ge,$e,Vo.disabled,Hr,void 0,"sky",Jt.mesh.vertexBuffer,Jt.mesh.indexBuffer,Jt.mesh.segments)}(this,this.style.sky),this._showOverdrawInspector=ne.showOverdrawInspector,this.depthRangeFor3D=[0,1-(R._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=be.length-1;this.currentLayer>=0;this.currentLayer--){let zt=this.style._layers[be[this.currentLayer]],Jt=Ae[zt.source],hr=Fe[zt.source];this._renderTileClippingMasks(zt,hr),this.renderLayer(this,Jt,zt,hr)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayerst.source&&!st.isHidden(hr)?[Jt.sourceCaches[st.source]]:[]),ln=Hr.filter(st=>st.getSource().type==="vector"),Ge=Hr.filter(st=>st.getSource().type!=="vector"),$e=st=>{(!vr||vr.getSource().maxzoom$e(st)),vr||Ge.forEach(st=>$e(st)),vr}(this.style,this.transform.zoom);zt&&function(Jt,hr,vr){for(let Hr=0;Hr0),Ae&&(t.b0(ne,be),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.sourceCache.getRenderableTiles(),ln=Fe.useProgram("terrainDepth");wt.bindFramebuffer.set(ht.getFramebuffer("depth").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1});for(let Ge of Hr){let $e=ht.getTerrainData(Ge.tileID),st={u_matrix:Fe.transform.calculatePosMatrix(Ge.tileID.toUnwrapped()),u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};ln.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,st,$e,"terrain",vr.vertexBuffer,vr.indexBuffer,vr.segments)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain),function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.getCoordsTexture(),ln=ht.sourceCache.getRenderableTiles(),Ge=Fe.useProgram("terrainCoords");wt.bindFramebuffer.set(ht.getFramebuffer("coords").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1}),ht.coordsIndex=[];for(let $e of ln){let st=ht.getTerrainData($e.tileID);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Hr.texture);let dt={u_matrix:Fe.transform.calculatePosMatrix($e.tileID.toUnwrapped()),u_terrain_coords_id:(255-ht.coordsIndex.length)/255,u_texture:0,u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};Ge.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,dt,st,"terrain",vr.vertexBuffer,vr.indexBuffer,vr.segments),ht.coordsIndex.push($e.tileID.key)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain))}renderLayer(R,ne,be,Ae){if(!be.isHidden(this.transform.zoom)&&(be.type==="background"||be.type==="custom"||(Ae||[]).length))switch(this.id=be.id,be.type){case"symbol":(function(Fe,ht,wt,zt,Jt){if(Fe.renderPass!=="translucent")return;let hr=Bs.disabled,vr=Fe.colorModeForRenderPass();(wt._unevaluatedLayout.hasValue("text-variable-anchor")||wt._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(Hr,ln,Ge,$e,st,dt,St,xt,It){let rr=ln.transform,sr=ui(),pr=st==="map",kr=dt==="map";for(let Yr of Hr){let _n=$e.getTile(Yr),Mn=_n.getBucket(Ge);if(!Mn||!Mn.text||!Mn.text.segments.get().length)continue;let Un=t.ag(Mn.textSizeData,rr.zoom),li=Rn(_n,1,ln.transform.zoom),ki=gr(Yr.posMatrix,kr,pr,ln.transform,li),Ci=Ge.layout.get("icon-text-fit")!=="none"&&Mn.hasIconData();if(Un){let Zi=Math.pow(2,rr.zoom-_n.tileID.overscaledZ),ya=ln.style.map.terrain?(Va,Io)=>ln.style.map.terrain.getElevation(Yr,Va,Io):null,ro=sr.translatePosition(rr,_n,St,xt);nf(Mn,pr,kr,It,rr,ki,Yr.posMatrix,Zi,Un,Ci,sr,ro,Yr.toUnwrapped(),ya)}}}(zt,Fe,wt,ht,wt.layout.get("text-rotation-alignment"),wt.layout.get("text-pitch-alignment"),wt.paint.get("text-translate"),wt.paint.get("text-translate-anchor"),Jt),wt.paint.get("icon-opacity").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!1,wt.paint.get("icon-translate"),wt.paint.get("icon-translate-anchor"),wt.layout.get("icon-rotation-alignment"),wt.layout.get("icon-pitch-alignment"),wt.layout.get("icon-keep-upright"),hr,vr),wt.paint.get("text-opacity").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!0,wt.paint.get("text-translate"),wt.paint.get("text-translate-anchor"),wt.layout.get("text-rotation-alignment"),wt.layout.get("text-pitch-alignment"),wt.layout.get("text-keep-upright"),hr,vr),ht.map.showCollisionBoxes&&(Qu(Fe,ht,wt,zt,!0),Qu(Fe,ht,wt,zt,!1))})(R,ne,be,Ae,this.style.placement.variableOffsets);break;case"circle":(function(Fe,ht,wt,zt){if(Fe.renderPass!=="translucent")return;let Jt=wt.paint.get("circle-opacity"),hr=wt.paint.get("circle-stroke-width"),vr=wt.paint.get("circle-stroke-opacity"),Hr=!wt.layout.get("circle-sort-key").isConstant();if(Jt.constantOr(1)===0&&(hr.constantOr(1)===0||vr.constantOr(1)===0))return;let ln=Fe.context,Ge=ln.gl,$e=Fe.depthModeForSublayer(0,ds.ReadOnly),st=Bs.disabled,dt=Fe.colorModeForRenderPass(),St=[];for(let xt=0;xtxt.sortKey-It.sortKey);for(let xt of St){let{programConfiguration:It,program:rr,layoutVertexBuffer:sr,indexBuffer:pr,uniformValues:kr,terrainData:Yr}=xt.state;rr.draw(ln,Ge.TRIANGLES,$e,st,dt,Vo.disabled,kr,Yr,wt.id,sr,pr,xt.segments,wt.paint,Fe.transform.zoom,It)}})(R,ne,be,Ae);break;case"heatmap":(function(Fe,ht,wt,zt){if(wt.paint.get("heatmap-opacity")===0)return;let Jt=Fe.context;if(Fe.style.map.terrain){for(let hr of zt){let vr=ht.getTile(hr);ht.hasRenderableParent(hr)||(Fe.renderPass==="offscreen"?wf(Fe,vr,wt,hr):Fe.renderPass==="translucent"&&Gc(Fe,wt,hr))}Jt.viewport.set([0,0,Fe.width,Fe.height])}else Fe.renderPass==="offscreen"?function(hr,vr,Hr,ln){let Ge=hr.context,$e=Ge.gl,st=Bs.disabled,dt=new ll([$e.ONE,$e.ONE],t.aM.transparent,[!0,!0,!0,!0]);(function(St,xt,It){let rr=St.gl;St.activeTexture.set(rr.TEXTURE1),St.viewport.set([0,0,xt.width/4,xt.height/4]);let sr=It.heatmapFbos.get(t.aU);sr?(rr.bindTexture(rr.TEXTURE_2D,sr.colorAttachment.get()),St.bindFramebuffer.set(sr.framebuffer)):(sr=Ff(St,xt.width/4,xt.height/4),It.heatmapFbos.set(t.aU,sr))})(Ge,hr,Hr),Ge.clear({color:t.aM.transparent});for(let St=0;St20&&hr.texParameterf(hr.TEXTURE_2D,Jt.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,Jt.extTextureFilterAnisotropicMax);let Mn=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(St),Un=Mn?St:null,li=Un?Un.posMatrix:Fe.transform.calculatePosMatrix(St.toUnwrapped(),dt),ki=Yo(li,Yr||[0,0],kr||1,pr,wt);vr instanceof it?Hr.draw(Jt,hr.TRIANGLES,xt,Bs.disabled,ln,Vo.disabled,ki,Mn,wt.id,vr.boundsBuffer,Fe.quadTriangleIndexBuffer,vr.boundsSegments):Hr.draw(Jt,hr.TRIANGLES,xt,Ge[St.overscaledZ],ln,Vo.disabled,ki,Mn,wt.id,Fe.rasterBoundsBuffer,Fe.quadTriangleIndexBuffer,Fe.rasterBoundsSegments)}})(R,ne,be,Ae);break;case"background":(function(Fe,ht,wt,zt){let Jt=wt.paint.get("background-color"),hr=wt.paint.get("background-opacity");if(hr===0)return;let vr=Fe.context,Hr=vr.gl,ln=Fe.transform,Ge=ln.tileSize,$e=wt.paint.get("background-pattern");if(Fe.isPatternMissing($e))return;let st=!$e&&Jt.a===1&&hr===1&&Fe.opaquePassEnabledForLayer()?"opaque":"translucent";if(Fe.renderPass!==st)return;let dt=Bs.disabled,St=Fe.depthModeForSublayer(0,st==="opaque"?ds.ReadWrite:ds.ReadOnly),xt=Fe.colorModeForRenderPass(),It=Fe.useProgram($e?"backgroundPattern":"background"),rr=zt||ln.coveringTiles({tileSize:Ge,terrain:Fe.style.map.terrain});$e&&(vr.activeTexture.set(Hr.TEXTURE0),Fe.imageManager.bind(Fe.context));let sr=wt.getCrossfadeParameters();for(let pr of rr){let kr=zt?pr.posMatrix:Fe.transform.calculatePosMatrix(pr.toUnwrapped()),Yr=$e?Vs(kr,hr,Fe,$e,{tileID:pr,tileSize:Ge},sr):Ls(kr,hr,Jt),_n=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(pr);It.draw(vr,Hr.TRIANGLES,St,dt,xt,Vo.disabled,Yr,_n,wt.id,Fe.tileExtentBuffer,Fe.quadTriangleIndexBuffer,Fe.tileExtentSegments)}})(R,0,be,Ae);break;case"custom":(function(Fe,ht,wt){let zt=Fe.context,Jt=wt.implementation;if(Fe.renderPass==="offscreen"){let hr=Jt.prerender;hr&&(Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),hr.call(Jt,zt.gl,Fe.transform.customLayerMatrix()),zt.setDirty(),Fe.setBaseState())}else if(Fe.renderPass==="translucent"){Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),zt.setStencilMode(Bs.disabled);let hr=Jt.renderingMode==="3d"?new ds(Fe.context.gl.LEQUAL,ds.ReadWrite,Fe.depthRangeFor3D):Fe.depthModeForSublayer(0,ds.ReadOnly);zt.setDepthMode(hr),Jt.render(zt.gl,Fe.transform.customLayerMatrix(),{farZ:Fe.transform.farZ,nearZ:Fe.transform.nearZ,fov:Fe.transform._fov,modelViewProjectionMatrix:Fe.transform.modelViewProjectionMatrix,projectionMatrix:Fe.transform.projectionMatrix}),zt.setDirty(),Fe.setBaseState(),zt.bindFramebuffer.set(null)}})(R,0,be)}}translatePosMatrix(R,ne,be,Ae,Fe){if(!be[0]&&!be[1])return R;let ht=Fe?Ae==="map"?this.transform.angle:0:Ae==="viewport"?-this.transform.angle:0;if(ht){let Jt=Math.sin(ht),hr=Math.cos(ht);be=[be[0]*hr-be[1]*Jt,be[0]*Jt+be[1]*hr]}let wt=[Fe?be[0]:Rn(ne,be[0],this.transform.zoom),Fe?be[1]:Rn(ne,be[1],this.transform.zoom),0],zt=new Float32Array(16);return t.J(zt,R,wt),zt}saveTileTexture(R){let ne=this._tileTextures[R.size[0]];ne?ne.push(R):this._tileTextures[R.size[0]]=[R]}getTileTexture(R){let ne=this._tileTextures[R];return ne&&ne.length>0?ne.pop():null}isPatternMissing(R){if(!R)return!1;if(!R.from||!R.to)return!0;let ne=this.imageManager.getPattern(R.from.toString()),be=this.imageManager.getPattern(R.to.toString());return!ne||!be}useProgram(R,ne){this.cache=this.cache||{};let be=R+(ne?ne.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"")+(this.style.map.terrain?"/terrain":"");return this.cache[be]||(this.cache[be]=new An(this.context,gn[R],ne,Ws[R],this._showOverdrawInspector,this.style.map.terrain)),this.cache[be]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){let R=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(R.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new u(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){let{drawingBufferWidth:R,drawingBufferHeight:ne}=this.context.gl;return this.width!==R||this.height!==ne}}class Dl{constructor(R,ne){this.points=R,this.planes=ne}static fromInvProjectionMatrix(R,ne,be){let Ae=Math.pow(2,be),Fe=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(wt=>{let zt=1/(wt=t.af([],wt,R))[3]/ne*Ae;return t.b1(wt,wt,[zt,zt,1/wt[3],zt])}),ht=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(wt=>{let zt=function(Hr,ln){var Ge=ln[0],$e=ln[1],st=ln[2],dt=Ge*Ge+$e*$e+st*st;return dt>0&&(dt=1/Math.sqrt(dt)),Hr[0]=ln[0]*dt,Hr[1]=ln[1]*dt,Hr[2]=ln[2]*dt,Hr}([],function(Hr,ln,Ge){var $e=ln[0],st=ln[1],dt=ln[2],St=Ge[0],xt=Ge[1],It=Ge[2];return Hr[0]=st*It-dt*xt,Hr[1]=dt*St-$e*It,Hr[2]=$e*xt-st*St,Hr}([],E([],Fe[wt[0]],Fe[wt[1]]),E([],Fe[wt[2]],Fe[wt[1]]))),Jt=-((hr=zt)[0]*(vr=Fe[wt[1]])[0]+hr[1]*vr[1]+hr[2]*vr[2]);var hr,vr;return zt.concat(Jt)});return new Dl(Fe,ht)}}class Rc{constructor(R,ne){this.min=R,this.max=ne,this.center=function(be,Ae,Fe){return be[0]=.5*Ae[0],be[1]=.5*Ae[1],be[2]=.5*Ae[2],be}([],function(be,Ae,Fe){return be[0]=Ae[0]+Fe[0],be[1]=Ae[1]+Fe[1],be[2]=Ae[2]+Fe[2],be}([],this.min,this.max))}quadrant(R){let ne=[R%2==0,R<2],be=w(this.min),Ae=w(this.max);for(let Fe=0;Fe=0&&ht++;if(ht===0)return 0;ht!==ne.length&&(be=!1)}if(be)return 2;for(let Ae=0;Ae<3;Ae++){let Fe=Number.MAX_VALUE,ht=-Number.MAX_VALUE;for(let wt=0;wtthis.max[Ae]-this.min[Ae])return 0}return 1}}class tc{constructor(R=0,ne=0,be=0,Ae=0){if(isNaN(R)||R<0||isNaN(ne)||ne<0||isNaN(be)||be<0||isNaN(Ae)||Ae<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=R,this.bottom=ne,this.left=be,this.right=Ae}interpolate(R,ne,be){return ne.top!=null&&R.top!=null&&(this.top=t.y.number(R.top,ne.top,be)),ne.bottom!=null&&R.bottom!=null&&(this.bottom=t.y.number(R.bottom,ne.bottom,be)),ne.left!=null&&R.left!=null&&(this.left=t.y.number(R.left,ne.left,be)),ne.right!=null&&R.right!=null&&(this.right=t.y.number(R.right,ne.right,be)),this}getCenter(R,ne){let be=t.ac((this.left+R-this.right)/2,0,R),Ae=t.ac((this.top+ne-this.bottom)/2,0,ne);return new t.P(be,Ae)}equals(R){return this.top===R.top&&this.bottom===R.bottom&&this.left===R.left&&this.right===R.right}clone(){return new tc(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}let xu=85.051129;class Sl{constructor(R,ne,be,Ae,Fe){this.tileSize=512,this._renderWorldCopies=Fe===void 0||!!Fe,this._minZoom=R||0,this._maxZoom=ne||22,this._minPitch=be??0,this._maxPitch=Ae??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.N(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new tc,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={},this.minElevationForCurrentTile=0}clone(){let R=new Sl(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return R.apply(this),R}apply(R){this.tileSize=R.tileSize,this.latRange=R.latRange,this.lngRange=R.lngRange,this.width=R.width,this.height=R.height,this._center=R._center,this._elevation=R._elevation,this.minElevationForCurrentTile=R.minElevationForCurrentTile,this.zoom=R.zoom,this.angle=R.angle,this._fov=R._fov,this._pitch=R._pitch,this._unmodified=R._unmodified,this._edgeInsets=R._edgeInsets.clone(),this._calcMatrices()}get minZoom(){return this._minZoom}set minZoom(R){this._minZoom!==R&&(this._minZoom=R,this.zoom=Math.max(this.zoom,R))}get maxZoom(){return this._maxZoom}set maxZoom(R){this._maxZoom!==R&&(this._maxZoom=R,this.zoom=Math.min(this.zoom,R))}get minPitch(){return this._minPitch}set minPitch(R){this._minPitch!==R&&(this._minPitch=R,this.pitch=Math.max(this.pitch,R))}get maxPitch(){return this._maxPitch}set maxPitch(R){this._maxPitch!==R&&(this._maxPitch=R,this.pitch=Math.min(this.pitch,R))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(R){R===void 0?R=!0:R===null&&(R=!1),this._renderWorldCopies=R}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(R){let ne=-t.b3(R,-180,180)*Math.PI/180;this.angle!==ne&&(this._unmodified=!1,this.angle=ne,this._calcMatrices(),this.rotationMatrix=function(){var be=new t.A(4);return t.A!=Float32Array&&(be[1]=0,be[2]=0),be[0]=1,be[3]=1,be}(),function(be,Ae,Fe){var ht=Ae[0],wt=Ae[1],zt=Ae[2],Jt=Ae[3],hr=Math.sin(Fe),vr=Math.cos(Fe);be[0]=ht*vr+zt*hr,be[1]=wt*vr+Jt*hr,be[2]=ht*-hr+zt*vr,be[3]=wt*-hr+Jt*vr}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(R){let ne=t.ac(R,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ne&&(this._unmodified=!1,this._pitch=ne,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(R){R=Math.max(.01,Math.min(60,R)),this._fov!==R&&(this._unmodified=!1,this._fov=R/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(R){let ne=Math.min(Math.max(R,this.minZoom),this.maxZoom);this._zoom!==ne&&(this._unmodified=!1,this._zoom=ne,this.tileZoom=Math.max(0,Math.floor(ne)),this.scale=this.zoomScale(ne),this._constrain(),this._calcMatrices())}get center(){return this._center}set center(R){R.lat===this._center.lat&&R.lng===this._center.lng||(this._unmodified=!1,this._center=R,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(R){R!==this._elevation&&(this._elevation=R,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(R){this._edgeInsets.equals(R)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,R,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(R){return this._edgeInsets.equals(R)}interpolatePadding(R,ne,be){this._unmodified=!1,this._edgeInsets.interpolate(R,ne,be),this._constrain(),this._calcMatrices()}coveringZoomLevel(R){let ne=(R.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/R.tileSize));return Math.max(0,ne)}getVisibleUnwrappedCoordinates(R){let ne=[new t.b4(0,R)];if(this._renderWorldCopies){let be=this.pointCoordinate(new t.P(0,0)),Ae=this.pointCoordinate(new t.P(this.width,0)),Fe=this.pointCoordinate(new t.P(this.width,this.height)),ht=this.pointCoordinate(new t.P(0,this.height)),wt=Math.floor(Math.min(be.x,Ae.x,Fe.x,ht.x)),zt=Math.floor(Math.max(be.x,Ae.x,Fe.x,ht.x)),Jt=1;for(let hr=wt-Jt;hr<=zt+Jt;hr++)hr!==0&&ne.push(new t.b4(hr,R))}return ne}coveringTiles(R){var ne,be;let Ae=this.coveringZoomLevel(R),Fe=Ae;if(R.minzoom!==void 0&&AeR.maxzoom&&(Ae=R.maxzoom);let ht=this.pointCoordinate(this.getCameraPoint()),wt=t.Z.fromLngLat(this.center),zt=Math.pow(2,Ae),Jt=[zt*ht.x,zt*ht.y,0],hr=[zt*wt.x,zt*wt.y,0],vr=Dl.fromInvProjectionMatrix(this.invModelViewProjectionMatrix,this.worldSize,Ae),Hr=R.minzoom||0;!R.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(Hr=Ae);let ln=R.terrain?2/Math.min(this.tileSize,R.tileSize)*this.tileSize:3,Ge=xt=>({aabb:new Rc([xt*zt,0,0],[(xt+1)*zt,zt,0]),zoom:0,x:0,y:0,wrap:xt,fullyVisible:!1}),$e=[],st=[],dt=Ae,St=R.reparseOverscaled?Fe:Ae;if(this._renderWorldCopies)for(let xt=1;xt<=3;xt++)$e.push(Ge(-xt)),$e.push(Ge(xt));for($e.push(Ge(0));$e.length>0;){let xt=$e.pop(),It=xt.x,rr=xt.y,sr=xt.fullyVisible;if(!sr){let Mn=xt.aabb.intersects(vr);if(Mn===0)continue;sr=Mn===2}let pr=R.terrain?Jt:hr,kr=xt.aabb.distanceX(pr),Yr=xt.aabb.distanceY(pr),_n=Math.max(Math.abs(kr),Math.abs(Yr));if(xt.zoom===dt||_n>ln+(1<=Hr){let Mn=dt-xt.zoom,Un=Jt[0]-.5-(It<>1),ki=xt.zoom+1,Ci=xt.aabb.quadrant(Mn);if(R.terrain){let Zi=new t.S(ki,xt.wrap,ki,Un,li),ya=R.terrain.getMinMaxElevation(Zi),ro=(ne=ya.minElevation)!==null&&ne!==void 0?ne:this.elevation,Va=(be=ya.maxElevation)!==null&&be!==void 0?be:this.elevation;Ci=new Rc([Ci.min[0],Ci.min[1],ro],[Ci.max[0],Ci.max[1],Va])}$e.push({aabb:Ci,zoom:ki,x:Un,y:li,wrap:xt.wrap,fullyVisible:sr})}}return st.sort((xt,It)=>xt.distanceSq-It.distanceSq).map(xt=>xt.tileID)}resize(R,ne){this.width=R,this.height=ne,this.pixelsToGLUnits=[2/R,-2/ne],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(R){return Math.pow(2,R)}scaleZoom(R){return Math.log(R)/Math.LN2}project(R){let ne=t.ac(R.lat,-85.051129,xu);return new t.P(t.O(R.lng)*this.worldSize,t.Q(ne)*this.worldSize)}unproject(R){return new t.Z(R.x/this.worldSize,R.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(R){let ne=this.elevation,be=Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter,Ae=this.pointLocation(this.centerPoint,R),Fe=R.getElevationForLngLatZoom(Ae,this.tileZoom);if(!(this.elevation-Fe))return;let ht=be+ne-Fe,wt=Math.cos(this._pitch)*this.cameraToCenterDistance/ht/t.b5(1,Ae.lat),zt=this.scaleZoom(wt/this.tileSize);this._elevation=Fe,this._center=Ae,this.zoom=zt}setLocationAtPoint(R,ne){let be=this.pointCoordinate(ne),Ae=this.pointCoordinate(this.centerPoint),Fe=this.locationCoordinate(R),ht=new t.Z(Fe.x-(be.x-Ae.x),Fe.y-(be.y-Ae.y));this.center=this.coordinateLocation(ht),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(R,ne){return ne?this.coordinatePoint(this.locationCoordinate(R),ne.getElevationForLngLatZoom(R,this.tileZoom),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(R))}pointLocation(R,ne){return this.coordinateLocation(this.pointCoordinate(R,ne))}locationCoordinate(R){return t.Z.fromLngLat(R)}coordinateLocation(R){return R&&R.toLngLat()}pointCoordinate(R,ne){if(ne){let Hr=ne.pointCoordinate(R);if(Hr!=null)return Hr}let be=[R.x,R.y,0,1],Ae=[R.x,R.y,1,1];t.af(be,be,this.pixelMatrixInverse),t.af(Ae,Ae,this.pixelMatrixInverse);let Fe=be[3],ht=Ae[3],wt=be[1]/Fe,zt=Ae[1]/ht,Jt=be[2]/Fe,hr=Ae[2]/ht,vr=Jt===hr?0:(0-Jt)/(hr-Jt);return new t.Z(t.y.number(be[0]/Fe,Ae[0]/ht,vr)/this.worldSize,t.y.number(wt,zt,vr)/this.worldSize)}coordinatePoint(R,ne=0,be=this.pixelMatrix){let Ae=[R.x*this.worldSize,R.y*this.worldSize,ne,1];return t.af(Ae,Ae,be),new t.P(Ae[0]/Ae[3],Ae[1]/Ae[3])}getBounds(){let R=Math.max(0,this.height/2-this.getHorizon());return new ie().extend(this.pointLocation(new t.P(0,R))).extend(this.pointLocation(new t.P(this.width,R))).extend(this.pointLocation(new t.P(this.width,this.height))).extend(this.pointLocation(new t.P(0,this.height)))}getMaxBounds(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new ie([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(R){R?(this.lngRange=[R.getWest(),R.getEast()],this.latRange=[R.getSouth(),R.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-85.051129,xu])}calculateTileMatrix(R){let ne=R.canonical,be=this.worldSize/this.zoomScale(ne.z),Ae=ne.x+Math.pow(2,ne.z)*R.wrap,Fe=t.an(new Float64Array(16));return t.J(Fe,Fe,[Ae*be,ne.y*be,0]),t.K(Fe,Fe,[be/t.X,be/t.X,1]),Fe}calculatePosMatrix(R,ne=!1){let be=R.key,Ae=ne?this._alignedPosMatrixCache:this._posMatrixCache;if(Ae[be])return Ae[be];let Fe=this.calculateTileMatrix(R);return t.L(Fe,ne?this.alignedModelViewProjectionMatrix:this.modelViewProjectionMatrix,Fe),Ae[be]=new Float32Array(Fe),Ae[be]}calculateFogMatrix(R){let ne=R.key,be=this._fogMatrixCache;if(be[ne])return be[ne];let Ae=this.calculateTileMatrix(R);return t.L(Ae,this.fogMatrix,Ae),be[ne]=new Float32Array(Ae),be[ne]}customLayerMatrix(){return this.mercatorMatrix.slice()}getConstrained(R,ne){ne=t.ac(+ne,this.minZoom,this.maxZoom);let be={center:new t.N(R.lng,R.lat),zoom:ne},Ae=this.lngRange;if(!this._renderWorldCopies&&Ae===null){let xt=179.9999999999;Ae=[-xt,xt]}let Fe=this.tileSize*this.zoomScale(be.zoom),ht=0,wt=Fe,zt=0,Jt=Fe,hr=0,vr=0,{x:Hr,y:ln}=this.size;if(this.latRange){let xt=this.latRange;ht=t.Q(xt[1])*Fe,wt=t.Q(xt[0])*Fe,wt-htwt&&(dt=wt-xt)}if(Ae){let xt=(zt+Jt)/2,It=Ge;this._renderWorldCopies&&(It=t.b3(Ge,xt-Fe/2,xt+Fe/2));let rr=Hr/2;It-rrJt&&(st=Jt-rr)}if(st!==void 0||dt!==void 0){let xt=new t.P(st??Ge,dt??$e);be.center=this.unproject.call({worldSize:Fe},xt).wrap()}return be}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;let R=this._unmodified,{center:ne,zoom:be}=this.getConstrained(this.center,this.zoom);this.center=ne,this.zoom=be,this._unmodified=R,this._constraining=!1}_calcMatrices(){if(!this.height)return;let R=this.centerOffset,ne=this.point.x,be=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=t.b5(1,this.center.lat)*this.worldSize;let Ae=t.an(new Float64Array(16));t.K(Ae,Ae,[this.width/2,-this.height/2,1]),t.J(Ae,Ae,[1,-1,0]),this.labelPlaneMatrix=Ae,Ae=t.an(new Float64Array(16)),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[-1,-1,0]),t.K(Ae,Ae,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ae;let Fe=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch),ht=Math.min(this.elevation,this.minElevationForCurrentTile),wt=Fe-ht*this._pixelPerMeter/Math.cos(this._pitch),zt=ht<0?wt:Fe,Jt=Math.PI/2+this._pitch,hr=this._fov*(.5+R.y/this.height),vr=Math.sin(hr)*zt/Math.sin(t.ac(Math.PI-Jt-hr,.01,Math.PI-.01)),Hr=this.getHorizon(),ln=2*Math.atan(Hr/this.cameraToCenterDistance)*(.5+R.y/(2*Hr)),Ge=Math.sin(ln)*zt/Math.sin(t.ac(Math.PI-Jt-ln,.01,Math.PI-.01)),$e=Math.min(vr,Ge);this.farZ=1.01*(Math.cos(Math.PI/2-this._pitch)*$e+zt),this.nearZ=this.height/50,Ae=new Float64Array(16),t.b6(Ae,this._fov,this.width/this.height,this.nearZ,this.farZ),Ae[8]=2*-R.x/this.width,Ae[9]=2*R.y/this.height,this.projectionMatrix=t.ae(Ae),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[0,0,-this.cameraToCenterDistance]),t.b7(Ae,Ae,this._pitch),t.ad(Ae,Ae,this.angle),t.J(Ae,Ae,[-ne,-be,0]),this.mercatorMatrix=t.K([],Ae,[this.worldSize,this.worldSize,this.worldSize]),t.K(Ae,Ae,[1,1,this._pixelPerMeter]),this.pixelMatrix=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae),t.J(Ae,Ae,[0,0,-this.elevation]),this.modelViewProjectionMatrix=Ae,this.invModelViewProjectionMatrix=t.as([],Ae),this.fogMatrix=new Float64Array(16),t.b6(this.fogMatrix,this._fov,this.width/this.height,Fe,this.farZ),this.fogMatrix[8]=2*-R.x/this.width,this.fogMatrix[9]=2*R.y/this.height,t.K(this.fogMatrix,this.fogMatrix,[1,-1,1]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.cameraToCenterDistance]),t.b7(this.fogMatrix,this.fogMatrix,this._pitch),t.ad(this.fogMatrix,this.fogMatrix,this.angle),t.J(this.fogMatrix,this.fogMatrix,[-ne,-be,0]),t.K(this.fogMatrix,this.fogMatrix,[1,1,this._pixelPerMeter]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.elevation]),this.pixelMatrix3D=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae);let st=this.width%2/2,dt=this.height%2/2,St=Math.cos(this.angle),xt=Math.sin(this.angle),It=ne-Math.round(ne)+St*st+xt*dt,rr=be-Math.round(be)+St*dt+xt*st,sr=new Float64Array(Ae);if(t.J(sr,sr,[It>.5?It-1:It,rr>.5?rr-1:rr,0]),this.alignedModelViewProjectionMatrix=sr,Ae=t.as(new Float64Array(16),this.pixelMatrix),!Ae)throw new Error("failed to invert matrix");this.pixelMatrixInverse=Ae,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;let R=this.pointCoordinate(new t.P(0,0)),ne=[R.x*this.worldSize,R.y*this.worldSize,0,1];return t.af(ne,ne,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){let R=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(0,R))}getCameraQueryGeometry(R){let ne=this.getCameraPoint();if(R.length===1)return[R[0],ne];{let be=ne.x,Ae=ne.y,Fe=ne.x,ht=ne.y;for(let wt of R)be=Math.min(be,wt.x),Ae=Math.min(Ae,wt.y),Fe=Math.max(Fe,wt.x),ht=Math.max(ht,wt.y);return[new t.P(be,Ae),new t.P(Fe,Ae),new t.P(Fe,ht),new t.P(be,ht),new t.P(be,Ae)]}}lngLatToCameraDepth(R,ne){let be=this.locationCoordinate(R),Ae=[be.x*this.worldSize,be.y*this.worldSize,ne,1];return t.af(Ae,Ae,this.modelViewProjectionMatrix),Ae[2]/Ae[3]}}function th(Ne,R){let ne,be=!1,Ae=null,Fe=null,ht=()=>{Ae=null,be&&(Ne.apply(Fe,ne),Ae=setTimeout(ht,R),be=!1)};return(...wt)=>(be=!0,Fe=this,ne=wt,Ae||ht(),Ae)}class uh{constructor(R){this._getCurrentHash=()=>{let ne=window.location.hash.replace("#","");if(this._hashName){let be;return ne.split("&").map(Ae=>Ae.split("=")).forEach(Ae=>{Ae[0]===this._hashName&&(be=Ae)}),(be&&be[1]||"").split("/")}return ne.split("/")},this._onHashChange=()=>{let ne=this._getCurrentHash();if(ne.length>=3&&!ne.some(be=>isNaN(be))){let be=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(ne[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+ne[2],+ne[1]],zoom:+ne[0],bearing:be,pitch:+(ne[4]||0)}),!0}return!1},this._updateHashUnthrottled=()=>{let ne=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,ne)},this._removeHash=()=>{let ne=this._getCurrentHash();if(ne.length===0)return;let be=ne.join("/"),Ae=be;Ae.split("&").length>0&&(Ae=Ae.split("&")[0]),this._hashName&&(Ae=`${this._hashName}=${be}`);let Fe=window.location.hash.replace(Ae,"");Fe.startsWith("#&")?Fe=Fe.slice(0,1)+Fe.slice(2):Fe==="#"&&(Fe="");let ht=window.location.href.replace(/(#.+)?$/,Fe);ht=ht.replace("&&","&"),window.history.replaceState(window.history.state,null,ht)},this._updateHash=th(this._updateHashUnthrottled,300),this._hashName=R&&encodeURIComponent(R)}addTo(R){return this._map=R,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(R){let ne=this._map.getCenter(),be=Math.round(100*this._map.getZoom())/100,Ae=Math.ceil((be*Math.LN2+Math.log(512/360/.5))/Math.LN10),Fe=Math.pow(10,Ae),ht=Math.round(ne.lng*Fe)/Fe,wt=Math.round(ne.lat*Fe)/Fe,zt=this._map.getBearing(),Jt=this._map.getPitch(),hr="";if(hr+=R?`/${ht}/${wt}/${be}`:`${be}/${wt}/${ht}`,(zt||Jt)&&(hr+="/"+Math.round(10*zt)/10),Jt&&(hr+=`/${Math.round(Jt)}`),this._hashName){let vr=this._hashName,Hr=!1,ln=window.location.hash.slice(1).split("&").map(Ge=>{let $e=Ge.split("=")[0];return $e===vr?(Hr=!0,`${$e}=${hr}`):Ge}).filter(Ge=>Ge);return Hr||ln.push(`${vr}=${hr}`),`#${ln.join("&")}`}return`#${hr}`}}let Hu={linearity:.3,easing:t.b8(0,0,.3,1)},_c=t.e({deceleration:2500,maxSpeed:1400},Hu),lc=t.e({deceleration:20,maxSpeed:1400},Hu),Uh=t.e({deceleration:1e3,maxSpeed:360},Hu),of=t.e({deceleration:1e3,maxSpeed:90},Hu);class ff{constructor(R){this._map=R,this.clear()}clear(){this._inertiaBuffer=[]}record(R){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:i.now(),settings:R})}_drainInertiaBuffer(){let R=this._inertiaBuffer,ne=i.now();for(;R.length>0&&ne-R[0].time>160;)R.shift()}_onMoveEnd(R){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;let ne={zoom:0,bearing:0,pitch:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(let{settings:Fe}of this._inertiaBuffer)ne.zoom+=Fe.zoomDelta||0,ne.bearing+=Fe.bearingDelta||0,ne.pitch+=Fe.pitchDelta||0,Fe.panDelta&&ne.pan._add(Fe.panDelta),Fe.around&&(ne.around=Fe.around),Fe.pinchAround&&(ne.pinchAround=Fe.pinchAround);let be=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,Ae={};if(ne.pan.mag()){let Fe=Af(ne.pan.mag(),be,t.e({},_c,R||{}));Ae.offset=ne.pan.mult(Fe.amount/ne.pan.mag()),Ae.center=this._map.transform.center,Du(Ae,Fe)}if(ne.zoom){let Fe=Af(ne.zoom,be,lc);Ae.zoom=this._map.transform.zoom+Fe.amount,Du(Ae,Fe)}if(ne.bearing){let Fe=Af(ne.bearing,be,Uh);Ae.bearing=this._map.transform.bearing+t.ac(Fe.amount,-179,179),Du(Ae,Fe)}if(ne.pitch){let Fe=Af(ne.pitch,be,of);Ae.pitch=this._map.transform.pitch+Fe.amount,Du(Ae,Fe)}if(Ae.zoom||Ae.bearing){let Fe=ne.pinchAround===void 0?ne.around:ne.pinchAround;Ae.around=Fe?this._map.unproject(Fe):this._map.getCenter()}return this.clear(),t.e(Ae,{noMoveStart:!0})}}function Du(Ne,R){(!Ne.duration||Ne.durationne.unproject(zt)),wt=Fe.reduce((zt,Jt,hr,vr)=>zt.add(Jt.div(vr.length)),new t.P(0,0));super(R,{points:Fe,point:wt,lngLats:ht,lngLat:ne.unproject(wt),originalEvent:be}),this._defaultPrevented=!1}}class ch extends t.k{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(R,ne,be){super(R,{originalEvent:be}),this._defaultPrevented=!1}}class Mf{constructor(R,ne){this._map=R,this._clickTolerance=ne.clickTolerance}reset(){delete this._mousedownPos}wheel(R){return this._firePreventable(new ch(R.type,this._map,R))}mousedown(R,ne){return this._mousedownPos=ne,this._firePreventable(new lu(R.type,this._map,R))}mouseup(R){this._map.fire(new lu(R.type,this._map,R))}click(R,ne){this._mousedownPos&&this._mousedownPos.dist(ne)>=this._clickTolerance||this._map.fire(new lu(R.type,this._map,R))}dblclick(R){return this._firePreventable(new lu(R.type,this._map,R))}mouseover(R){this._map.fire(new lu(R.type,this._map,R))}mouseout(R){this._map.fire(new lu(R.type,this._map,R))}touchstart(R){return this._firePreventable(new Xc(R.type,this._map,R))}touchmove(R){this._map.fire(new Xc(R.type,this._map,R))}touchend(R){this._map.fire(new Xc(R.type,this._map,R))}touchcancel(R){this._map.fire(new Xc(R.type,this._map,R))}_firePreventable(R){if(this._map.fire(R),R.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class dl{constructor(R){this._map=R}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(R){this._map.fire(new lu(R.type,this._map,R))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new lu("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(R){this._delayContextMenu?this._contextMenuEvent=R:this._ignoreContextMenu||this._map.fire(new lu(R.type,this._map,R)),this._map.listens("contextmenu")&&R.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class bu{constructor(R){this._map=R}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return{lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(R){return this.transform.pointLocation(t.P.convert(R),this._map.terrain)}}class wu{constructor(R,ne){this._map=R,this._tr=new bu(R),this._el=R.getCanvasContainer(),this._container=R.getContainer(),this._clickTolerance=ne.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(R,ne){this.isEnabled()&&R.shiftKey&&R.button===0&&(a.disableDrag(),this._startPos=this._lastPos=ne,this._active=!0)}mousemoveWindow(R,ne){if(!this._active)return;let be=ne;if(this._lastPos.equals(be)||!this._box&&be.dist(this._startPos)Fe.fitScreenCoordinates(be,Ae,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",R)}keydown(R){this._active&&R.keyCode===27&&(this.reset(),this._fireEvent("boxzoomcancel",R))}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(a.remove(this._box),this._box=null),a.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(R,ne){return this._map.fire(new t.k(R,{originalEvent:ne}))}}function Bf(Ne,R){if(Ne.length!==R.length)throw new Error(`The number of touches and points are not equal - touches ${Ne.length}, points ${R.length}`);let ne={};for(let be=0;bethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=R.timeStamp),be.length===this.numTouches&&(this.centroid=function(Ae){let Fe=new t.P(0,0);for(let ht of Ae)Fe._add(ht);return Fe.div(Ae.length)}(ne),this.touches=Bf(be,ne)))}touchmove(R,ne,be){if(this.aborted||!this.centroid)return;let Ae=Bf(be,ne);for(let Fe in this.touches){let ht=Ae[Fe];(!ht||ht.dist(this.touches[Fe])>30)&&(this.aborted=!0)}}touchend(R,ne,be){if((!this.centroid||R.timeStamp-this.startTime>500)&&(this.aborted=!0),be.length===0){let Ae=!this.aborted&&this.centroid;if(this.reset(),Ae)return Ae}}}class sf{constructor(R){this.singleTap=new ul(R),this.numTaps=R.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(R,ne,be){this.singleTap.touchstart(R,ne,be)}touchmove(R,ne,be){this.singleTap.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this.singleTap.touchend(R,ne,be);if(Ae){let Fe=R.timeStamp-this.lastTime<500,ht=!this.lastTap||this.lastTap.dist(Ae)<30;if(Fe&&ht||this.reset(),this.count++,this.lastTime=R.timeStamp,this.lastTap=Ae,this.count===this.numTaps)return this.reset(),Ae}}}class xc{constructor(R){this._tr=new bu(R),this._zoomIn=new sf({numTouches:1,numTaps:2}),this._zoomOut=new sf({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(R,ne,be){this._zoomIn.touchstart(R,ne,be),this._zoomOut.touchstart(R,ne,be)}touchmove(R,ne,be){this._zoomIn.touchmove(R,ne,be),this._zoomOut.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this._zoomIn.touchend(R,ne,be),Fe=this._zoomOut.touchend(R,ne,be),ht=this._tr;return Ae?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom+1,around:ht.unproject(Ae)},{originalEvent:R})}):Fe?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom-1,around:ht.unproject(Fe)},{originalEvent:R})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Gu{constructor(R){this._enabled=!!R.enable,this._moveStateManager=R.moveStateManager,this._clickTolerance=R.clickTolerance||1,this._moveFunction=R.move,this._activateOnStart=!!R.activateOnStart,R.assignEvents(this),this.reset()}reset(R){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(R)}_move(...R){let ne=this._moveFunction(...R);if(ne.bearingDelta||ne.pitchDelta||ne.around||ne.panDelta)return this._active=!0,ne}dragStart(R,ne){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(R)&&(this._moveStateManager.startMove(R),this._lastPoint=ne.length?ne[0]:ne,this._activateOnStart&&this._lastPoint&&(this._active=!0))}dragMove(R,ne){if(!this.isEnabled())return;let be=this._lastPoint;if(!be)return;if(R.preventDefault(),!this._moveStateManager.isValidMoveEvent(R))return void this.reset(R);let Ae=ne.length?ne[0]:ne;return!this._moved&&Ae.dist(be){Ne.mousedown=Ne.dragStart,Ne.mousemoveWindow=Ne.dragMove,Ne.mouseup=Ne.dragEnd,Ne.contextmenu=R=>{R.preventDefault()}},Xl=({enable:Ne,clickTolerance:R,bearingDegreesPerPixelMoved:ne=.8})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({bearingDelta:(Fe.x-Ae.x)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})},Uf=({enable:Ne,clickTolerance:R,pitchDegreesPerPixelMoved:ne=-.5})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({pitchDelta:(Fe.y-Ae.y)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})};class Wu{constructor(R,ne){this._clickTolerance=R.clickTolerance||1,this._map=ne,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0)}_shouldBePrevented(R){return R<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(R,ne,be){return this._calculateTransform(R,ne,be)}touchmove(R,ne,be){if(this._active){if(!this._shouldBePrevented(be.length))return R.preventDefault(),this._calculateTransform(R,ne,be);this._map.cooperativeGestures.notifyGestureBlocked("touch_pan",R)}}touchend(R,ne,be){this._calculateTransform(R,ne,be),this._active&&this._shouldBePrevented(be.length)&&this.reset()}touchcancel(){this.reset()}_calculateTransform(R,ne,be){be.length>0&&(this._active=!0);let Ae=Bf(be,ne),Fe=new t.P(0,0),ht=new t.P(0,0),wt=0;for(let Jt in Ae){let hr=Ae[Jt],vr=this._touches[Jt];vr&&(Fe._add(hr),ht._add(hr.sub(vr)),wt++,Ae[Jt]=hr)}if(this._touches=Ae,this._shouldBePrevented(wt)||!ht.mag())return;let zt=ht.div(wt);return this._sum._add(zt),this._sum.mag()Math.abs(Ne.x)}class Yc extends bc{constructor(R){super(),this._currentTouchCount=0,this._map=R}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(R,ne,be){super.touchstart(R,ne,be),this._currentTouchCount=be.length}_start(R){this._lastPoints=R,rc(R[0].sub(R[1]))&&(this._valid=!1)}_move(R,ne,be){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;let Ae=R[0].sub(this._lastPoints[0]),Fe=R[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(Ae,Fe,be.timeStamp),this._valid?(this._lastPoints=R,this._active=!0,{pitchDelta:(Ae.y+Fe.y)/2*-.5}):void 0}gestureBeginsVertically(R,ne,be){if(this._valid!==void 0)return this._valid;let Ae=R.mag()>=2,Fe=ne.mag()>=2;if(!Ae&&!Fe)return;if(!Ae||!Fe)return this._firstMove===void 0&&(this._firstMove=be),be-this._firstMove<100&&void 0;let ht=R.y>0==ne.y>0;return rc(R)&&rc(ne)&&ht}}let Yt={panStep:100,bearingStep:15,pitchStep:10};class dr{constructor(R){this._tr=new bu(R);let ne=Yt;this._panStep=ne.panStep,this._bearingStep=ne.bearingStep,this._pitchStep=ne.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(R){if(R.altKey||R.ctrlKey||R.metaKey)return;let ne=0,be=0,Ae=0,Fe=0,ht=0;switch(R.keyCode){case 61:case 107:case 171:case 187:ne=1;break;case 189:case 109:case 173:ne=-1;break;case 37:R.shiftKey?be=-1:(R.preventDefault(),Fe=-1);break;case 39:R.shiftKey?be=1:(R.preventDefault(),Fe=1);break;case 38:R.shiftKey?Ae=1:(R.preventDefault(),ht=-1);break;case 40:R.shiftKey?Ae=-1:(R.preventDefault(),ht=1);break;default:return}return this._rotationDisabled&&(be=0,Ae=0),{cameraAnimation:wt=>{let zt=this._tr;wt.easeTo({duration:300,easeId:"keyboardHandler",easing:tn,zoom:ne?Math.round(zt.zoom)+ne*(R.shiftKey?2:1):zt.zoom,bearing:zt.bearing+be*this._bearingStep,pitch:zt.pitch+Ae*this._pitchStep,offset:[-Fe*this._panStep,-ht*this._panStep],center:zt.center},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function tn(Ne){return Ne*(2-Ne)}let Wr=4.000244140625;class Cn{constructor(R,ne){this._onTimeout=be=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(be)},this._map=R,this._tr=new bu(R),this._triggerRenderFrame=ne,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222}setZoomRate(R){this._defaultZoomRate=R}setWheelZoomRate(R){this._wheelZoomRate=R}isEnabled(){return!!this._enabled}isActive(){return!!this._active||this._finishTimeout!==void 0}isZooming(){return!!this._zooming}enable(R){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!R&&R.around==="center")}disable(){this.isEnabled()&&(this._enabled=!1)}_shouldBePrevented(R){return!!this._map.cooperativeGestures.isEnabled()&&!(R.ctrlKey||this._map.cooperativeGestures.isBypassed(R))}wheel(R){if(!this.isEnabled())return;if(this._shouldBePrevented(R))return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom",R);let ne=R.deltaMode===WheelEvent.DOM_DELTA_LINE?40*R.deltaY:R.deltaY,be=i.now(),Ae=be-(this._lastWheelEventTime||0);this._lastWheelEventTime=be,ne!==0&&ne%Wr==0?this._type="wheel":ne!==0&&Math.abs(ne)<4?this._type="trackpad":Ae>400?(this._type=null,this._lastValue=ne,this._timeout=setTimeout(this._onTimeout,40,R)):this._type||(this._type=Math.abs(Ae*ne)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ne+=this._lastValue)),R.shiftKey&&ne&&(ne/=4),this._type&&(this._lastWheelEvent=R,this._delta-=ne,this._active||this._start(R)),R.preventDefault()}_start(R){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);let ne=a.mousePos(this._map.getCanvas(),R),be=this._tr;this._around=ne.y>be.transform.height/2-be.transform.getHorizon()?t.N.convert(this._aroundCenter?be.center:be.unproject(ne)):t.N.convert(be.center),this._aroundPoint=be.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._triggerRenderFrame())}renderFrame(){if(!this._frameId||(this._frameId=null,!this.isActive()))return;let R=this._tr.transform;if(this._delta!==0){let zt=this._type==="wheel"&&Math.abs(this._delta)>Wr?this._wheelZoomRate:this._defaultZoomRate,Jt=2/(1+Math.exp(-Math.abs(this._delta*zt)));this._delta<0&&Jt!==0&&(Jt=1/Jt);let hr=typeof this._targetZoom=="number"?R.zoomScale(this._targetZoom):R.scale;this._targetZoom=Math.min(R.maxZoom,Math.max(R.minZoom,R.scaleZoom(hr*Jt))),this._type==="wheel"&&(this._startZoom=R.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}let ne=typeof this._targetZoom=="number"?this._targetZoom:R.zoom,be=this._startZoom,Ae=this._easing,Fe,ht=!1,wt=i.now()-this._lastWheelEventTime;if(this._type==="wheel"&&be&&Ae&&wt){let zt=Math.min(wt/200,1),Jt=Ae(zt);Fe=t.y.number(be,ne,Jt),zt<1?this._frameId||(this._frameId=!0):ht=!0}else Fe=ne,ht=!0;return this._active=!0,ht&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!ht,zoomDelta:Fe-R.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(R){let ne=t.b9;if(this._prevEase){let be=this._prevEase,Ae=(i.now()-be.start)/be.duration,Fe=be.easing(Ae+.01)-be.easing(Ae),ht=.27/Math.sqrt(Fe*Fe+1e-4)*.01,wt=Math.sqrt(.0729-ht*ht);ne=t.b8(ht,wt,.25,1)}return this._prevEase={start:i.now(),duration:R,easing:ne},ne}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout)}}class si{constructor(R,ne){this._clickZoom=R,this._tapZoom=ne}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class yi{constructor(R){this._tr=new bu(R),this.reset()}reset(){this._active=!1}dblclick(R,ne){return R.preventDefault(),{cameraAnimation:be=>{be.easeTo({duration:300,zoom:this._tr.zoom+(R.shiftKey?-1:1),around:this._tr.unproject(ne)},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Di{constructor(){this._tap=new sf({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset()}touchstart(R,ne,be){if(!this._swipePoint)if(this._tapTime){let Ae=ne[0],Fe=R.timeStamp-this._tapTime<500,ht=this._tapPoint.dist(Ae)<30;Fe&&ht?be.length>0&&(this._swipePoint=Ae,this._swipeTouch=be[0].identifier):this.reset()}else this._tap.touchstart(R,ne,be)}touchmove(R,ne,be){if(this._tapTime){if(this._swipePoint){if(be[0].identifier!==this._swipeTouch)return;let Ae=ne[0],Fe=Ae.y-this._swipePoint.y;return this._swipePoint=Ae,R.preventDefault(),this._active=!0,{zoomDelta:Fe/128}}}else this._tap.touchmove(R,ne,be)}touchend(R,ne,be){if(this._tapTime)this._swipePoint&&be.length===0&&this.reset();else{let Ae=this._tap.touchend(R,ne,be);Ae&&(this._tapTime=R.timeStamp,this._tapPoint=Ae)}}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Wi{constructor(R,ne,be){this._el=R,this._mousePan=ne,this._touchPan=be}enable(R){this._inertiaOptions=R||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class aa{constructor(R,ne,be){this._pitchWithRotate=R.pitchWithRotate,this._mouseRotate=ne,this._mousePitch=be}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class bi{constructor(R,ne,be,Ae){this._el=R,this._touchZoom=ne,this._touchRotate=be,this._tapDragZoom=Ae,this._rotationDisabled=!1,this._enabled=!0}enable(R){this._touchZoom.enable(R),this._rotationDisabled||this._touchRotate.enable(R),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}class zi{constructor(R,ne){this._bypassKey=navigator.userAgent.indexOf("Mac")!==-1?"metaKey":"ctrlKey",this._map=R,this._options=ne,this._enabled=!1}isActive(){return!1}reset(){}_setupUI(){if(this._container)return;let R=this._map.getCanvasContainer();R.classList.add("maplibregl-cooperative-gestures"),this._container=a.create("div","maplibregl-cooperative-gesture-screen",R);let ne=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");this._bypassKey==="metaKey"&&(ne=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));let be=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),Ae=document.createElement("div");Ae.className="maplibregl-desktop-message",Ae.textContent=ne,this._container.appendChild(Ae);let Fe=document.createElement("div");Fe.className="maplibregl-mobile-message",Fe.textContent=be,this._container.appendChild(Fe),this._container.setAttribute("aria-hidden","true")}_destroyUI(){this._container&&(a.remove(this._container),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container}enable(){this._setupUI(),this._enabled=!0}disable(){this._enabled=!1,this._destroyUI()}isEnabled(){return this._enabled}isBypassed(R){return R[this._bypassKey]}notifyGestureBlocked(R,ne){this._enabled&&(this._map.fire(new t.k("cooperativegestureprevented",{gestureType:R,originalEvent:ne})),this._container.classList.add("maplibregl-show"),setTimeout(()=>{this._container.classList.remove("maplibregl-show")},100))}}let Li=Ne=>Ne.zoom||Ne.drag||Ne.pitch||Ne.rotate;class di extends t.k{}function wa(Ne){return Ne.panDelta&&Ne.panDelta.mag()||Ne.zoomDelta||Ne.bearingDelta||Ne.pitchDelta}class po{constructor(R,ne){this.handleWindowEvent=Ae=>{this.handleEvent(Ae,`${Ae.type}Window`)},this.handleEvent=(Ae,Fe)=>{if(Ae.type==="blur")return void this.stop(!0);this._updatingCamera=!0;let ht=Ae.type==="renderFrame"?void 0:Ae,wt={needsRenderFrame:!1},zt={},Jt={},hr=Ae.touches,vr=hr?this._getMapTouches(hr):void 0,Hr=vr?a.touchPos(this._map.getCanvas(),vr):a.mousePos(this._map.getCanvas(),Ae);for(let{handlerName:$e,handler:st,allowed:dt}of this._handlers){if(!st.isEnabled())continue;let St;this._blockedByActive(Jt,dt,$e)?st.reset():st[Fe||Ae.type]&&(St=st[Fe||Ae.type](Ae,Hr,vr),this.mergeHandlerResult(wt,zt,St,$e,ht),St&&St.needsRenderFrame&&this._triggerRenderFrame()),(St||st.isActive())&&(Jt[$e]=st)}let ln={};for(let $e in this._previousActiveHandlers)Jt[$e]||(ln[$e]=ht);this._previousActiveHandlers=Jt,(Object.keys(ln).length||wa(wt))&&(this._changes.push([wt,zt,ln]),this._triggerRenderFrame()),(Object.keys(Jt).length||wa(wt))&&this._map._stop(!0),this._updatingCamera=!1;let{cameraAnimation:Ge}=wt;Ge&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],Ge(this._map))},this._map=R,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ff(R),this._bearingSnap=ne.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ne);let be=this._el;this._listeners=[[be,"touchstart",{passive:!0}],[be,"touchmove",{passive:!1}],[be,"touchend",void 0],[be,"touchcancel",void 0],[be,"mousedown",void 0],[be,"mousemove",void 0],[be,"mouseup",void 0],[document,"mousemove",{capture:!0}],[document,"mouseup",void 0],[be,"mouseover",void 0],[be,"mouseout",void 0],[be,"dblclick",void 0],[be,"click",void 0],[be,"keydown",{capture:!1}],[be,"keyup",void 0],[be,"wheel",{passive:!1}],[be,"contextmenu",void 0],[window,"blur",void 0]];for(let[Ae,Fe,ht]of this._listeners)a.addEventListener(Ae,Fe,Ae===document?this.handleWindowEvent:this.handleEvent,ht)}destroy(){for(let[R,ne,be]of this._listeners)a.removeEventListener(R,ne,R===document?this.handleWindowEvent:this.handleEvent,be)}_addDefaultHandlers(R){let ne=this._map,be=ne.getCanvasContainer();this._add("mapEvent",new Mf(ne,R));let Ae=ne.boxZoom=new wu(ne,R);this._add("boxZoom",Ae),R.interactive&&R.boxZoom&&Ae.enable();let Fe=ne.cooperativeGestures=new zi(ne,R.cooperativeGestures);this._add("cooperativeGestures",Fe),R.cooperativeGestures&&Fe.enable();let ht=new xc(ne),wt=new yi(ne);ne.doubleClickZoom=new si(wt,ht),this._add("tapZoom",ht),this._add("clickZoom",wt),R.interactive&&R.doubleClickZoom&&ne.doubleClickZoom.enable();let zt=new Di;this._add("tapDragZoom",zt);let Jt=ne.touchPitch=new Yc(ne);this._add("touchPitch",Jt),R.interactive&&R.touchPitch&&ne.touchPitch.enable(R.touchPitch);let hr=Xl(R),vr=Uf(R);ne.dragRotate=new aa(R,hr,vr),this._add("mouseRotate",hr,["mousePitch"]),this._add("mousePitch",vr,["mouseRotate"]),R.interactive&&R.dragRotate&&ne.dragRotate.enable();let Hr=(({enable:St,clickTolerance:xt})=>{let It=new uc({checkCorrectEvent:rr=>a.mouseButton(rr)===0&&!rr.ctrlKey});return new Gu({clickTolerance:xt,move:(rr,sr)=>({around:sr,panDelta:sr.sub(rr)}),activateOnStart:!0,moveStateManager:It,enable:St,assignEvents:Nf})})(R),ln=new Wu(R,ne);ne.dragPan=new Wi(be,Hr,ln),this._add("mousePan",Hr),this._add("touchPan",ln,["touchZoom","touchRotate"]),R.interactive&&R.dragPan&&ne.dragPan.enable(R.dragPan);let Ge=new Dc,$e=new uu;ne.touchZoomRotate=new bi(be,$e,Ge,zt),this._add("touchRotate",Ge,["touchPan","touchZoom"]),this._add("touchZoom",$e,["touchPan","touchRotate"]),R.interactive&&R.touchZoomRotate&&ne.touchZoomRotate.enable(R.touchZoomRotate);let st=ne.scrollZoom=new Cn(ne,()=>this._triggerRenderFrame());this._add("scrollZoom",st,["mousePan"]),R.interactive&&R.scrollZoom&&ne.scrollZoom.enable(R.scrollZoom);let dt=ne.keyboard=new dr(ne);this._add("keyboard",dt),R.interactive&&R.keyboard&&ne.keyboard.enable(),this._add("blockableMapEvent",new dl(ne))}_add(R,ne,be){this._handlers.push({handlerName:R,handler:ne,allowed:be}),this._handlersById[R]=ne}stop(R){if(!this._updatingCamera){for(let{handler:ne}of this._handlers)ne.reset();this._inertia.clear(),this._fireEvents({},{},R),this._changes=[]}}isActive(){for(let{handler:R}of this._handlers)if(R.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Li(this._eventsInProgress)||this.isZooming()}_blockedByActive(R,ne,be){for(let Ae in R)if(Ae!==be&&(!ne||ne.indexOf(Ae)<0))return!0;return!1}_getMapTouches(R){let ne=[];for(let be of R)this._el.contains(be.target)&&ne.push(be);return ne}mergeHandlerResult(R,ne,be,Ae,Fe){if(!be)return;t.e(R,be);let ht={handlerName:Ae,originalEvent:be.originalEvent||Fe};be.zoomDelta!==void 0&&(ne.zoom=ht),be.panDelta!==void 0&&(ne.drag=ht),be.pitchDelta!==void 0&&(ne.pitch=ht),be.bearingDelta!==void 0&&(ne.rotate=ht)}_applyChanges(){let R={},ne={},be={};for(let[Ae,Fe,ht]of this._changes)Ae.panDelta&&(R.panDelta=(R.panDelta||new t.P(0,0))._add(Ae.panDelta)),Ae.zoomDelta&&(R.zoomDelta=(R.zoomDelta||0)+Ae.zoomDelta),Ae.bearingDelta&&(R.bearingDelta=(R.bearingDelta||0)+Ae.bearingDelta),Ae.pitchDelta&&(R.pitchDelta=(R.pitchDelta||0)+Ae.pitchDelta),Ae.around!==void 0&&(R.around=Ae.around),Ae.pinchAround!==void 0&&(R.pinchAround=Ae.pinchAround),Ae.noInertia&&(R.noInertia=Ae.noInertia),t.e(ne,Fe),t.e(be,ht);this._updateMapTransform(R,ne,be),this._changes=[]}_updateMapTransform(R,ne,be){let Ae=this._map,Fe=Ae._getTransformForUpdate(),ht=Ae.terrain;if(!(wa(R)||ht&&this._terrainMovement))return this._fireEvents(ne,be,!0);let{panDelta:wt,zoomDelta:zt,bearingDelta:Jt,pitchDelta:hr,around:vr,pinchAround:Hr}=R;Hr!==void 0&&(vr=Hr),Ae._stop(!0),vr=vr||Ae.transform.centerPoint;let ln=Fe.pointLocation(wt?vr.sub(wt):vr);Jt&&(Fe.bearing+=Jt),hr&&(Fe.pitch+=hr),zt&&(Fe.zoom+=zt),ht?this._terrainMovement||!ne.drag&&!ne.zoom?ne.drag&&this._terrainMovement?Fe.center=Fe.pointLocation(Fe.centerPoint.sub(wt)):Fe.setLocationAtPoint(ln,vr):(this._terrainMovement=!0,this._map._elevationFreeze=!0,Fe.setLocationAtPoint(ln,vr)):Fe.setLocationAtPoint(ln,vr),Ae._applyUpdatedTransform(Fe),this._map._update(),R.noInertia||this._inertia.record(R),this._fireEvents(ne,be,!0)}_fireEvents(R,ne,be){let Ae=Li(this._eventsInProgress),Fe=Li(R),ht={};for(let vr in R){let{originalEvent:Hr}=R[vr];this._eventsInProgress[vr]||(ht[`${vr}start`]=Hr),this._eventsInProgress[vr]=R[vr]}!Ae&&Fe&&this._fireEvent("movestart",Fe.originalEvent);for(let vr in ht)this._fireEvent(vr,ht[vr]);Fe&&this._fireEvent("move",Fe.originalEvent);for(let vr in R){let{originalEvent:Hr}=R[vr];this._fireEvent(vr,Hr)}let wt={},zt;for(let vr in this._eventsInProgress){let{handlerName:Hr,originalEvent:ln}=this._eventsInProgress[vr];this._handlersById[Hr].isActive()||(delete this._eventsInProgress[vr],zt=ne[Hr]||ln,wt[`${vr}end`]=zt)}for(let vr in wt)this._fireEvent(vr,wt[vr]);let Jt=Li(this._eventsInProgress),hr=(Ae||Fe)&&!Jt;if(hr&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;let vr=this._map._getTransformForUpdate();vr.recalculateZoom(this._map.terrain),this._map._applyUpdatedTransform(vr)}if(be&&hr){this._updatingCamera=!0;let vr=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),Hr=ln=>ln!==0&&-this._bearingSnap{delete this._frameId,this.handleEvent(new di("renderFrame",{timeStamp:R})),this._applyChanges()})}_triggerRenderFrame(){this._frameId===void 0&&(this._frameId=this._requestFrame())}}class co extends t.E{constructor(R,ne){super(),this._renderFrameCallback=()=>{let be=Math.min((i.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(be)),be<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},this._moving=!1,this._zooming=!1,this.transform=R,this._bearingSnap=ne.bearingSnap,this.on("moveend",()=>{delete this._requestedCameraState})}getCenter(){return new t.N(this.transform.center.lng,this.transform.center.lat)}setCenter(R,ne){return this.jumpTo({center:R},ne)}panBy(R,ne,be){return R=t.P.convert(R).mult(-1),this.panTo(this.transform.center,t.e({offset:R},ne),be)}panTo(R,ne,be){return this.easeTo(t.e({center:R},ne),be)}getZoom(){return this.transform.zoom}setZoom(R,ne){return this.jumpTo({zoom:R},ne),this}zoomTo(R,ne,be){return this.easeTo(t.e({zoom:R},ne),be)}zoomIn(R,ne){return this.zoomTo(this.getZoom()+1,R,ne),this}zoomOut(R,ne){return this.zoomTo(this.getZoom()-1,R,ne),this}getBearing(){return this.transform.bearing}setBearing(R,ne){return this.jumpTo({bearing:R},ne),this}getPadding(){return this.transform.padding}setPadding(R,ne){return this.jumpTo({padding:R},ne),this}rotateTo(R,ne,be){return this.easeTo(t.e({bearing:R},ne),be)}resetNorth(R,ne){return this.rotateTo(0,t.e({duration:1e3},R),ne),this}resetNorthPitch(R,ne){return this.easeTo(t.e({bearing:0,pitch:0,duration:1e3},R),ne),this}snapToNorth(R,ne){return Math.abs(this.getBearing()){if(this._zooming&&(Ae.zoom=t.y.number(Fe,st,pr)),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,pr)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,pr)),this._padding&&(Ae.interpolatePadding(zt,vr,pr),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(pr),It)Ae.setLocationAtPoint(It,rr);else{let kr=Ae.zoomScale(Ae.zoom-Fe),Yr=st>Fe?Math.min(2,xt):Math.max(.5,xt),_n=Math.pow(Yr,1-pr),Mn=Ae.unproject(dt.add(St.mult(pr*_n)).mult(kr));Ae.setLocationAtPoint(Ae.renderWorldCopies?Mn.wrap():Mn,ln)}this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},pr=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne,pr)},R),this}_prepareEase(R,ne,be={}){this._moving=!0,ne||be.moving||this.fire(new t.k("movestart",R)),this._zooming&&!be.zooming&&this.fire(new t.k("zoomstart",R)),this._rotating&&!be.rotating&&this.fire(new t.k("rotatestart",R)),this._pitching&&!be.pitching&&this.fire(new t.k("pitchstart",R))}_prepareElevation(R){this._elevationCenter=R,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(R,this.transform.tileZoom),this._elevationFreeze=!0}_updateElevation(R){this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);let ne=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(R<1&&ne!==this._elevationTarget){let be=this._elevationTarget-this._elevationStart;this._elevationStart+=R*(be-(ne-(be*R+this._elevationStart))/(1-R)),this._elevationTarget=ne}this.transform.elevation=t.y.number(this._elevationStart,this._elevationTarget,R)}_finalizeElevation(){this._elevationFreeze=!1,this.transform.recalculateZoom(this.terrain)}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(R){let ne=R.getCameraPosition(),be=this.terrain.getElevationForLngLatZoom(ne.lngLat,R.zoom);if(ne.altitudethis._elevateCameraIfInsideTerrain(Ae)),this.transformCameraUpdate&&ne.push(Ae=>this.transformCameraUpdate(Ae)),!ne.length)return;let be=R.clone();for(let Ae of ne){let Fe=be.clone(),{center:ht,zoom:wt,pitch:zt,bearing:Jt,elevation:hr}=Ae(Fe);ht&&(Fe.center=ht),wt!==void 0&&(Fe.zoom=wt),zt!==void 0&&(Fe.pitch=zt),Jt!==void 0&&(Fe.bearing=Jt),hr!==void 0&&(Fe.elevation=hr),be.apply(Fe)}this.transform.apply(be)}_fireMoveEvents(R){this.fire(new t.k("move",R)),this._zooming&&this.fire(new t.k("zoom",R)),this._rotating&&this.fire(new t.k("rotate",R)),this._pitching&&this.fire(new t.k("pitch",R))}_afterEase(R,ne){if(this._easeId&&ne&&this._easeId===ne)return;delete this._easeId;let be=this._zooming,Ae=this._rotating,Fe=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,be&&this.fire(new t.k("zoomend",R)),Ae&&this.fire(new t.k("rotateend",R)),Fe&&this.fire(new t.k("pitchend",R)),this.fire(new t.k("moveend",R))}flyTo(R,ne){var be;if(!R.essential&&i.prefersReducedMotion){let Zi=t.M(R,["center","zoom","bearing","pitch","around"]);return this.jumpTo(Zi,ne)}this.stop(),R=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.b9},R);let Ae=this._getTransformForUpdate(),Fe=Ae.zoom,ht=Ae.bearing,wt=Ae.pitch,zt=Ae.padding,Jt="bearing"in R?this._normalizeBearing(R.bearing,ht):ht,hr="pitch"in R?+R.pitch:wt,vr="padding"in R?R.padding:Ae.padding,Hr=t.P.convert(R.offset),ln=Ae.centerPoint.add(Hr),Ge=Ae.pointLocation(ln),{center:$e,zoom:st}=Ae.getConstrained(t.N.convert(R.center||Ge),(be=R.zoom)!==null&&be!==void 0?be:Fe);this._normalizeCenter($e,Ae);let dt=Ae.zoomScale(st-Fe),St=Ae.project(Ge),xt=Ae.project($e).sub(St),It=R.curve,rr=Math.max(Ae.width,Ae.height),sr=rr/dt,pr=xt.mag();if("minZoom"in R){let Zi=t.ac(Math.min(R.minZoom,Fe,st),Ae.minZoom,Ae.maxZoom),ya=rr/Ae.zoomScale(Zi-Fe);It=Math.sqrt(ya/pr*2)}let kr=It*It;function Yr(Zi){let ya=(sr*sr-rr*rr+(Zi?-1:1)*kr*kr*pr*pr)/(2*(Zi?sr:rr)*kr*pr);return Math.log(Math.sqrt(ya*ya+1)-ya)}function _n(Zi){return(Math.exp(Zi)-Math.exp(-Zi))/2}function Mn(Zi){return(Math.exp(Zi)+Math.exp(-Zi))/2}let Un=Yr(!1),li=function(Zi){return Mn(Un)/Mn(Un+It*Zi)},ki=function(Zi){return rr*((Mn(Un)*(_n(ya=Un+It*Zi)/Mn(ya))-_n(Un))/kr)/pr;var ya},Ci=(Yr(!0)-Un)/It;if(Math.abs(pr)<1e-6||!isFinite(Ci)){if(Math.abs(rr-sr)<1e-6)return this.easeTo(R,ne);let Zi=sr0,li=ya=>Math.exp(Zi*It*ya)}return R.duration="duration"in R?+R.duration:1e3*Ci/("screenSpeed"in R?+R.screenSpeed/It:+R.speed),R.maxDuration&&R.duration>R.maxDuration&&(R.duration=0),this._zooming=!0,this._rotating=ht!==Jt,this._pitching=hr!==wt,this._padding=!Ae.isPaddingEqual(vr),this._prepareEase(ne,!1),this.terrain&&this._prepareElevation($e),this._ease(Zi=>{let ya=Zi*Ci,ro=1/li(ya);Ae.zoom=Zi===1?st:Fe+Ae.scaleZoom(ro),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,Zi)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,Zi)),this._padding&&(Ae.interpolatePadding(zt,vr,Zi),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(Zi);let Va=Zi===1?$e:Ae.unproject(St.add(xt.mult(ki(ya))).mult(ro));Ae.setLocationAtPoint(Ae.renderWorldCopies?Va.wrap():Va,ln),this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},()=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne)},R),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(R,ne){var be;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){let Ae=this._onEaseEnd;delete this._onEaseEnd,Ae.call(this,ne)}return R||(be=this.handlers)===null||be===void 0||be.stop(!1),this}_ease(R,ne,be){be.animate===!1||be.duration===0?(R(1),ne()):(this._easeStart=i.now(),this._easeOptions=be,this._onEaseFrame=R,this._onEaseEnd=ne,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_normalizeBearing(R,ne){R=t.b3(R,-180,180);let be=Math.abs(R-ne);return Math.abs(R-360-ne)180?-360:be<-180?360:0}queryTerrainElevation(R){return this.terrain?this.terrain.getElevationForLngLatZoom(t.N.convert(R),this.transform.tileZoom)-this.transform.elevation:null}}let mo={compact:!0,customAttribution:'MapLibre'};class Ao{constructor(R=mo){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")))},this._updateData=ne=>{!ne||ne.sourceDataType!=="metadata"&&ne.sourceDataType!=="visibility"&&ne.dataType!=="style"&&ne.type!=="terrain"||this._updateAttributions()},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact===!1?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"))},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show")},this.options=R}getDefaultPosition(){return"bottom-right"}onAdd(R){return this._map=R,this._compact=this.options.compact,this._container=a.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=a.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=a.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){a.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(R,ne){let be=this._map._getUIString(`AttributionControl.${ne}`);R.title=be,R.setAttribute("aria-label",be)}_updateAttributions(){if(!this._map.style)return;let R=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?R=R.concat(this.options.customAttribution.map(Ae=>typeof Ae!="string"?"":Ae)):typeof this.options.customAttribution=="string"&&R.push(this.options.customAttribution)),this._map.style.stylesheet){let Ae=this._map.style.stylesheet;this.styleOwner=Ae.owner,this.styleId=Ae.id}let ne=this._map.style.sourceCaches;for(let Ae in ne){let Fe=ne[Ae];if(Fe.used||Fe.usedForTerrain){let ht=Fe.getSource();ht.attribution&&R.indexOf(ht.attribution)<0&&R.push(ht.attribution)}}R=R.filter(Ae=>String(Ae).trim()),R.sort((Ae,Fe)=>Ae.length-Fe.length),R=R.filter((Ae,Fe)=>{for(let ht=Fe+1;ht=0)return!1;return!0});let be=R.join(" | ");be!==this._attribHTML&&(this._attribHTML=be,R.length?(this._innerContainer.innerHTML=be,this._container.classList.remove("maplibregl-attrib-empty")):this._container.classList.add("maplibregl-attrib-empty"),this._updateCompact(),this._editLink=null)}}class xa{constructor(R={}){this._updateCompact=()=>{let ne=this._container.children;if(ne.length){let be=ne[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact!==!1&&be.classList.add("maplibregl-compact"):be.classList.remove("maplibregl-compact")}},this.options=R}getDefaultPosition(){return"bottom-left"}onAdd(R){this._map=R,this._compact=this.options&&this.options.compact,this._container=a.create("div","maplibregl-ctrl");let ne=a.create("a","maplibregl-ctrl-logo");return ne.target="_blank",ne.rel="noopener nofollow",ne.href="https://maplibre.org/",ne.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ne.setAttribute("rel","noopener nofollow"),this._container.appendChild(ne),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){a.remove(this._container),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0}}class Qi{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(R){let ne=++this._id;return this._queue.push({callback:R,id:ne,cancelled:!1}),ne}remove(R){let ne=this._currentlyRunning,be=ne?this._queue.concat(ne):this._queue;for(let Ae of be)if(Ae.id===R)return void(Ae.cancelled=!0)}run(R=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");let ne=this._currentlyRunning=this._queue;this._queue=[];for(let be of ne)if(!be.cancelled&&(be.callback(R),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}var Lo=t.Y([{name:"a_pos3d",type:"Int16",components:3}]);class as extends t.E{constructor(R){super(),this.sourceCache=R,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,R.usedForTerrain=!0,R.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null}update(R,ne){this.sourceCache.update(R,ne),this._renderableTilesKeys=[];let be={};for(let Ae of R.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:ne}))be[Ae.key]=!0,this._renderableTilesKeys.push(Ae.key),this._tiles[Ae.key]||(Ae.posMatrix=new Float64Array(16),t.aP(Ae.posMatrix,0,t.X,0,t.X,0,1),this._tiles[Ae.key]=new ot(Ae,this.tileSize));for(let Ae in this._tiles)be[Ae]||delete this._tiles[Ae]}freeRtt(R){for(let ne in this._tiles){let be=this._tiles[ne];(!R||be.tileID.equals(R)||be.tileID.isChildOf(R)||R.isChildOf(be.tileID))&&(be.rtt=[])}}getRenderableTiles(){return this._renderableTilesKeys.map(R=>this.getTileByID(R))}getTileByID(R){return this._tiles[R]}getTerrainCoords(R){let ne={};for(let be of this._renderableTilesKeys){let Ae=this._tiles[be].tileID;if(Ae.canonical.equals(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16),t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),ne[be]=Fe}else if(Ae.canonical.isChildOf(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=Ae.canonical.z-R.canonical.z,wt=Ae.canonical.x-(Ae.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,Jt,0,Jt,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[-wt*Jt,-zt*Jt,0]),ne[be]=Fe}else if(R.canonical.isChildOf(Ae.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=R.canonical.z-Ae.canonical.z,wt=R.canonical.x-(R.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[wt*Jt,zt*Jt,0]),t.K(Fe.posMatrix,Fe.posMatrix,[1/2**ht,1/2**ht,0]),ne[be]=Fe}}return ne}getSourceTile(R,ne){let be=this.sourceCache._source,Ae=R.overscaledZ-this.deltaZoom;if(Ae>be.maxzoom&&(Ae=be.maxzoom),Ae=be.minzoom&&(!Fe||!Fe.dem);)Fe=this.sourceCache.getTileByID(R.scaledTo(Ae--).key);return Fe}tilesAfterTime(R=Date.now()){return Object.values(this._tiles).filter(ne=>ne.timeAdded>=R)}}class Ds{constructor(R,ne,be){this.painter=R,this.sourceCache=new as(ne),this.options=be,this.exaggeration=typeof be.exaggeration=="number"?be.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024}getDEMElevation(R,ne,be,Ae=t.X){var Fe;if(!(ne>=0&&ne=0&&beR.canonical.z&&(R.canonical.z>=Ae?Fe=R.canonical.z-Ae:t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));let ht=R.canonical.x-(R.canonical.x>>Fe<>Fe<>8<<4|Fe>>8,ne[ht+3]=0;let be=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(ne.buffer)),Ae=new u(R,be,R.gl.RGBA,{premultiply:!1});return Ae.bind(R.gl.NEAREST,R.gl.CLAMP_TO_EDGE),this._coordsTexture=Ae,Ae}pointCoordinate(R){this.painter.maybeDrawDepthAndCoords(!0);let ne=new Uint8Array(4),be=this.painter.context,Ae=be.gl,Fe=Math.round(R.x*this.painter.pixelRatio/devicePixelRatio),ht=Math.round(R.y*this.painter.pixelRatio/devicePixelRatio),wt=Math.round(this.painter.height/devicePixelRatio);be.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),Ae.readPixels(Fe,wt-ht-1,1,1,Ae.RGBA,Ae.UNSIGNED_BYTE,ne),be.bindFramebuffer.set(null);let zt=ne[0]+(ne[2]>>4<<8),Jt=ne[1]+((15&ne[2])<<8),hr=this.coordsIndex[255-ne[3]],vr=hr&&this.sourceCache.getTileByID(hr);if(!vr)return null;let Hr=this._coordsTextureSize,ln=(1<R.id!==ne),this._recentlyUsed.push(R.id)}stampObject(R){R.stamp=++this._stamp}getOrCreateFreeObject(){for(let ne of this._recentlyUsed)if(!this._objects[ne].inUse)return this._objects[ne];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");let R=this._createObject(this._objects.length);return this._objects.push(R),R}freeObject(R){R.inUse=!1}freeAllObjects(){for(let R of this._objects)this.freeObject(R)}isFull(){return!(this._objects.length!R.inUse)===!1}}let Ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0};class el{constructor(R,ne){this.painter=R,this.terrain=ne,this.pool=new il(R.context,30,ne.sourceCache.tileSize*ne.qualityFactor)}destruct(){this.pool.destruct()}getTexture(R){return this.pool.getObjectForId(R.rtt[this._stacks.length-1].id).texture}prepareForRender(R,ne){this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.sourceCache.getRenderableTiles(),this._renderableLayerIds=R._order.filter(be=>!R._layers[be].isHidden(ne)),this._coordsDescendingInv={};for(let be in R.sourceCaches){this._coordsDescendingInv[be]={};let Ae=R.sourceCaches[be].getVisibleCoordinates();for(let Fe of Ae){let ht=this.terrain.sourceCache.getTerrainCoords(Fe);for(let wt in ht)this._coordsDescendingInv[be][wt]||(this._coordsDescendingInv[be][wt]=[]),this._coordsDescendingInv[be][wt].push(ht[wt])}}this._coordsDescendingInvStr={};for(let be of R._order){let Ae=R._layers[be],Fe=Ae.source;if(Ns[Ae.type]&&!this._coordsDescendingInvStr[Fe]){this._coordsDescendingInvStr[Fe]={};for(let ht in this._coordsDescendingInv[Fe])this._coordsDescendingInvStr[Fe][ht]=this._coordsDescendingInv[Fe][ht].map(wt=>wt.key).sort().join()}}for(let be of this._renderableTiles)for(let Ae in this._coordsDescendingInvStr){let Fe=this._coordsDescendingInvStr[Ae][be.tileID.key];Fe&&Fe!==be.rttCoords[Ae]&&(be.rtt=[])}}renderLayer(R){if(R.isHidden(this.painter.transform.zoom))return!1;let ne=R.type,be=this.painter,Ae=this._renderableLayerIds[this._renderableLayerIds.length-1]===R.id;if(Ns[ne]&&(this._prevType&&Ns[this._prevType]||this._stacks.push([]),this._prevType=ne,this._stacks[this._stacks.length-1].push(R.id),!Ae))return!0;if(Ns[this._prevType]||Ns[ne]&&Ae){this._prevType=ne;let Fe=this._stacks.length-1,ht=this._stacks[Fe]||[];for(let wt of this._renderableTiles){if(this.pool.isFull()&&(su(this.painter,this.terrain,this._rttTiles),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(wt),wt.rtt[Fe]){let Jt=this.pool.getObjectForId(wt.rtt[Fe].id);if(Jt.stamp===wt.rtt[Fe].stamp){this.pool.useObject(Jt);continue}}let zt=this.pool.getOrCreateFreeObject();this.pool.useObject(zt),this.pool.stampObject(zt),wt.rtt[Fe]={id:zt.id,stamp:zt.stamp},be.context.bindFramebuffer.set(zt.fbo.framebuffer),be.context.clear({color:t.aM.transparent,stencil:0}),be.currentStencilSource=void 0;for(let Jt=0;Jt{Ne.touchstart=Ne.dragStart,Ne.touchmoveWindow=Ne.dragMove,Ne.touchend=Ne.dragEnd},Za={showCompass:!0,showZoom:!0,visualizePitch:!1};class jo{constructor(R,ne,be=!1){this.mousedown=ht=>{this.startMouse(t.e({},ht,{ctrlKey:!0,preventDefault:()=>ht.preventDefault()}),a.mousePos(this.element,ht)),a.addEventListener(window,"mousemove",this.mousemove),a.addEventListener(window,"mouseup",this.mouseup)},this.mousemove=ht=>{this.moveMouse(ht,a.mousePos(this.element,ht))},this.mouseup=ht=>{this.mouseRotate.dragEnd(ht),this.mousePitch&&this.mousePitch.dragEnd(ht),this.offTemp()},this.touchstart=ht=>{ht.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.startTouch(ht,this._startPos),a.addEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.addEventListener(window,"touchend",this.touchend))},this.touchmove=ht=>{ht.targetTouches.length!==1?this.reset():(this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.moveTouch(ht,this._lastPos))},this.touchend=ht=>{ht.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),this.touchRotate.reset(),this.touchPitch&&this.touchPitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()},this._clickTolerance=10;let Ae=R.dragRotate._mouseRotate.getClickTolerance(),Fe=R.dragRotate._mousePitch.getClickTolerance();this.element=ne,this.mouseRotate=Xl({clickTolerance:Ae,enable:!0}),this.touchRotate=(({enable:ht,clickTolerance:wt,bearingDegreesPerPixelMoved:zt=.8})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({bearingDelta:(vr.x-hr.x)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Ae,enable:!0}),this.map=R,be&&(this.mousePitch=Uf({clickTolerance:Fe,enable:!0}),this.touchPitch=(({enable:ht,clickTolerance:wt,pitchDegreesPerPixelMoved:zt=-.5})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({pitchDelta:(vr.y-hr.y)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Fe,enable:!0})),a.addEventListener(ne,"mousedown",this.mousedown),a.addEventListener(ne,"touchstart",this.touchstart,{passive:!1}),a.addEventListener(ne,"touchcancel",this.reset)}startMouse(R,ne){this.mouseRotate.dragStart(R,ne),this.mousePitch&&this.mousePitch.dragStart(R,ne),a.disableDrag()}startTouch(R,ne){this.touchRotate.dragStart(R,ne),this.touchPitch&&this.touchPitch.dragStart(R,ne),a.disableDrag()}moveMouse(R,ne){let be=this.map,{bearingDelta:Ae}=this.mouseRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.mousePitch){let{pitchDelta:Fe}=this.mousePitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}moveTouch(R,ne){let be=this.map,{bearingDelta:Ae}=this.touchRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.touchPitch){let{pitchDelta:Fe}=this.touchPitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}off(){let R=this.element;a.removeEventListener(R,"mousedown",this.mousedown),a.removeEventListener(R,"touchstart",this.touchstart,{passive:!1}),a.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.removeEventListener(window,"touchend",this.touchend),a.removeEventListener(R,"touchcancel",this.reset),this.offTemp()}offTemp(){a.enableDrag(),a.removeEventListener(window,"mousemove",this.mousemove),a.removeEventListener(window,"mouseup",this.mouseup),a.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),a.removeEventListener(window,"touchend",this.touchend)}}let Js;function zs(Ne,R,ne){let be=new t.N(Ne.lng,Ne.lat);if(Ne=new t.N(Ne.lng,Ne.lat),R){let Ae=new t.N(Ne.lng-360,Ne.lat),Fe=new t.N(Ne.lng+360,Ne.lat),ht=ne.locationPoint(Ne).distSqr(R);ne.locationPoint(Ae).distSqr(R)180;){let Ae=ne.locationPoint(Ne);if(Ae.x>=0&&Ae.y>=0&&Ae.x<=ne.width&&Ae.y<=ne.height)break;Ne.lng>ne.center.lng?Ne.lng-=360:Ne.lng+=360}return Ne.lng!==be.lng&&ne.locationPoint(Ne).y>ne.height/2-ne.getHorizon()?Ne:be}let cu={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function zu(Ne,R,ne){let be=Ne.classList;for(let Ae in cu)be.remove(`maplibregl-${ne}-anchor-${Ae}`);be.add(`maplibregl-${ne}-anchor-${R}`)}class nc extends t.E{constructor(R){if(super(),this._onKeyPress=ne=>{let be=ne.code,Ae=ne.charCode||ne.keyCode;be!=="Space"&&be!=="Enter"&&Ae!==32&&Ae!==13||this.togglePopup()},this._onMapClick=ne=>{let be=ne.originalEvent.target,Ae=this._element;this._popup&&(be===Ae||Ae.contains(be))&&this.togglePopup()},this._update=ne=>{var be;if(!this._map)return;let Ae=this._map.loaded()&&!this._map.isMoving();(ne?.type==="terrain"||ne?.type==="render"&&!Ae)&&this._map.once("render",this._update),this._lngLat=this._map.transform.renderWorldCopies?zs(this._lngLat,this._flatPos,this._map.transform):(be=this._lngLat)===null||be===void 0?void 0:be.wrap(),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationPoint(this._lngLat)._add(this._offset));let Fe="";this._rotationAlignment==="viewport"||this._rotationAlignment==="auto"?Fe=`rotateZ(${this._rotation}deg)`:this._rotationAlignment==="map"&&(Fe=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let ht="";this._pitchAlignment==="viewport"||this._pitchAlignment==="auto"?ht="rotateX(0deg)":this._pitchAlignment==="map"&&(ht=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||ne&&ne.type!=="moveend"||(this._pos=this._pos.round()),a.setTransform(this._element,`${cu[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${ht} ${Fe}`),i.frameAsync(new AbortController).then(()=>{this._updateOpacity(ne&&ne.type==="moveend")}).catch(()=>{})},this._onMove=ne=>{if(!this._isDragging){let be=this._clickTolerance||this._map._clickTolerance;this._isDragging=ne.point.dist(this._pointerdownPos)>=be}this._isDragging&&(this._pos=ne.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new t.k("dragstart"))),this.fire(new t.k("drag")))},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new t.k("dragend")),this._state="inactive"},this._addDragHandler=ne=>{this._element.contains(ne.originalEvent.target)&&(ne.preventDefault(),this._positionDelta=ne.point.sub(this._pos).add(this._offset),this._pointerdownPos=ne.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},this._anchor=R&&R.anchor||"center",this._color=R&&R.color||"#3FB1CE",this._scale=R&&R.scale||1,this._draggable=R&&R.draggable||!1,this._clickTolerance=R&&R.clickTolerance||0,this._subpixelPositioning=R&&R.subpixelPositioning||!1,this._isDragging=!1,this._state="inactive",this._rotation=R&&R.rotation||0,this._rotationAlignment=R&&R.rotationAlignment||"auto",this._pitchAlignment=R&&R.pitchAlignment&&R.pitchAlignment!=="auto"?R.pitchAlignment:this._rotationAlignment,this.setOpacity(),this.setOpacity(R?.opacity,R?.opacityWhenCovered),R&&R.element)this._element=R.element,this._offset=t.P.convert(R&&R.offset||[0,0]);else{this._defaultMarker=!0,this._element=a.create("div");let ne=a.createNS("http://www.w3.org/2000/svg","svg"),be=41,Ae=27;ne.setAttributeNS(null,"display","block"),ne.setAttributeNS(null,"height",`${be}px`),ne.setAttributeNS(null,"width",`${Ae}px`),ne.setAttributeNS(null,"viewBox",`0 0 ${Ae} ${be}`);let Fe=a.createNS("http://www.w3.org/2000/svg","g");Fe.setAttributeNS(null,"stroke","none"),Fe.setAttributeNS(null,"stroke-width","1"),Fe.setAttributeNS(null,"fill","none"),Fe.setAttributeNS(null,"fill-rule","evenodd");let ht=a.createNS("http://www.w3.org/2000/svg","g");ht.setAttributeNS(null,"fill-rule","nonzero");let wt=a.createNS("http://www.w3.org/2000/svg","g");wt.setAttributeNS(null,"transform","translate(3.0, 29.0)"),wt.setAttributeNS(null,"fill","#000000");let zt=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(let dt of zt){let St=a.createNS("http://www.w3.org/2000/svg","ellipse");St.setAttributeNS(null,"opacity","0.04"),St.setAttributeNS(null,"cx","10.5"),St.setAttributeNS(null,"cy","5.80029008"),St.setAttributeNS(null,"rx",dt.rx),St.setAttributeNS(null,"ry",dt.ry),wt.appendChild(St)}let Jt=a.createNS("http://www.w3.org/2000/svg","g");Jt.setAttributeNS(null,"fill",this._color);let hr=a.createNS("http://www.w3.org/2000/svg","path");hr.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),Jt.appendChild(hr);let vr=a.createNS("http://www.w3.org/2000/svg","g");vr.setAttributeNS(null,"opacity","0.25"),vr.setAttributeNS(null,"fill","#000000");let Hr=a.createNS("http://www.w3.org/2000/svg","path");Hr.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),vr.appendChild(Hr);let ln=a.createNS("http://www.w3.org/2000/svg","g");ln.setAttributeNS(null,"transform","translate(6.0, 7.0)"),ln.setAttributeNS(null,"fill","#FFFFFF");let Ge=a.createNS("http://www.w3.org/2000/svg","g");Ge.setAttributeNS(null,"transform","translate(8.0, 8.0)");let $e=a.createNS("http://www.w3.org/2000/svg","circle");$e.setAttributeNS(null,"fill","#000000"),$e.setAttributeNS(null,"opacity","0.25"),$e.setAttributeNS(null,"cx","5.5"),$e.setAttributeNS(null,"cy","5.5"),$e.setAttributeNS(null,"r","5.4999962");let st=a.createNS("http://www.w3.org/2000/svg","circle");st.setAttributeNS(null,"fill","#FFFFFF"),st.setAttributeNS(null,"cx","5.5"),st.setAttributeNS(null,"cy","5.5"),st.setAttributeNS(null,"r","5.4999962"),Ge.appendChild($e),Ge.appendChild(st),ht.appendChild(wt),ht.appendChild(Jt),ht.appendChild(vr),ht.appendChild(ln),ht.appendChild(Ge),ne.appendChild(ht),ne.setAttributeNS(null,"height",be*this._scale+"px"),ne.setAttributeNS(null,"width",Ae*this._scale+"px"),this._element.appendChild(ne),this._offset=t.P.convert(R&&R.offset||[0,-14])}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",ne=>{ne.preventDefault()}),this._element.addEventListener("mousedown",ne=>{ne.preventDefault()}),zu(this._element,this._anchor,"marker"),R&&R.className)for(let ne of R.className.split(" "))this._element.classList.add(ne);this._popup=null}addTo(R){return this.remove(),this._map=R,this._element.setAttribute("aria-label",R._getUIString("Marker.Title")),R.getCanvasContainer().appendChild(this._element),R.on("move",this._update),R.on("moveend",this._update),R.on("terrain",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),a.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(R){return this._lngLat=t.N.convert(R),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(R){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),R){if(!("offset"in R.options)){let Ae=Math.abs(13.5)/Math.SQRT2;R.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[Ae,-1*(38.1-13.5+Ae)],"bottom-right":[-Ae,-1*(38.1-13.5+Ae)],left:[13.5,-1*(38.1-13.5)],right:[-13.5,-1*(38.1-13.5)]}:this._offset}this._popup=R,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this}setSubpixelPositioning(R){return this._subpixelPositioning=R,this}getPopup(){return this._popup}togglePopup(){let R=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:R?(R.isOpen()?R.remove():(R.setLngLat(this._lngLat),R.addTo(this._map)),this):this}_updateOpacity(R=!1){var ne,be;if(!(!((ne=this._map)===null||ne===void 0)&&ne.terrain))return void(this._element.style.opacity!==this._opacity&&(this._element.style.opacity=this._opacity));if(R)this._opacityTimeout=null;else{if(this._opacityTimeout)return;this._opacityTimeout=setTimeout(()=>{this._opacityTimeout=null},100)}let Ae=this._map,Fe=Ae.terrain.depthAtPoint(this._pos),ht=Ae.terrain.getElevationForLngLatZoom(this._lngLat,Ae.transform.tileZoom);if(Ae.transform.lngLatToCameraDepth(this._lngLat,ht)-Fe<.006)return void(this._element.style.opacity=this._opacity);let wt=-this._offset.y/Ae.transform._pixelPerMeter,zt=Math.sin(Ae.getPitch()*Math.PI/180)*wt,Jt=Ae.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),hr=Ae.transform.lngLatToCameraDepth(this._lngLat,ht+zt)-Jt>.006;!((be=this._popup)===null||be===void 0)&&be.isOpen()&&hr&&this._popup.remove(),this._element.style.opacity=hr?this._opacityWhenCovered:this._opacity}getOffset(){return this._offset}setOffset(R){return this._offset=t.P.convert(R),this._update(),this}addClassName(R){this._element.classList.add(R)}removeClassName(R){this._element.classList.remove(R)}toggleClassName(R){return this._element.classList.toggle(R)}setDraggable(R){return this._draggable=!!R,this._map&&(R?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(R){return this._rotation=R||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(R){return this._rotationAlignment=R||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(R){return this._pitchAlignment=R&&R!=="auto"?R:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(R,ne){return R===void 0&&ne===void 0&&(this._opacity="1",this._opacityWhenCovered="0.2"),R!==void 0&&(this._opacity=R),ne!==void 0&&(this._opacityWhenCovered=ne),this._map&&this._updateOpacity(!0),this}}let Kc={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Tu=0,zc=!1,Fu={maxWidth:100,unit:"metric"};function wc(Ne,R,ne){let be=ne&&ne.maxWidth||100,Ae=Ne._container.clientHeight/2,Fe=Ne.unproject([0,Ae]),ht=Ne.unproject([be,Ae]),wt=Fe.distanceTo(ht);if(ne&&ne.unit==="imperial"){let zt=3.2808*wt;zt>5280?bo(R,be,zt/5280,Ne._getUIString("ScaleControl.Miles")):bo(R,be,zt,Ne._getUIString("ScaleControl.Feet"))}else ne&&ne.unit==="nautical"?bo(R,be,wt/1852,Ne._getUIString("ScaleControl.NauticalMiles")):wt>=1e3?bo(R,be,wt/1e3,Ne._getUIString("ScaleControl.Kilometers")):bo(R,be,wt,Ne._getUIString("ScaleControl.Meters"))}function bo(Ne,R,ne,be){let Ae=function(Fe){let ht=Math.pow(10,`${Math.floor(Fe)}`.length-1),wt=Fe/ht;return wt=wt>=10?10:wt>=5?5:wt>=3?3:wt>=2?2:wt>=1?1:function(zt){let Jt=Math.pow(10,Math.ceil(-Math.log(zt)/Math.LN10));return Math.round(zt*Jt)/Jt}(wt),ht*wt}(ne);Ne.style.width=R*(Ae/ne)+"px",Ne.innerHTML=`${Ae} ${be}`}let Wo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1},Fc=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function hc(Ne){if(Ne){if(typeof Ne=="number"){let R=Math.round(Math.abs(Ne)/Math.SQRT2);return{center:new t.P(0,0),top:new t.P(0,Ne),"top-left":new t.P(R,R),"top-right":new t.P(-R,R),bottom:new t.P(0,-Ne),"bottom-left":new t.P(R,-R),"bottom-right":new t.P(-R,-R),left:new t.P(Ne,0),right:new t.P(-Ne,0)}}if(Ne instanceof t.P||Array.isArray(Ne)){let R=t.P.convert(Ne);return{center:R,top:R,"top-left":R,"top-right":R,bottom:R,"bottom-left":R,"bottom-right":R,left:R,right:R}}return{center:t.P.convert(Ne.center||[0,0]),top:t.P.convert(Ne.top||[0,0]),"top-left":t.P.convert(Ne["top-left"]||[0,0]),"top-right":t.P.convert(Ne["top-right"]||[0,0]),bottom:t.P.convert(Ne.bottom||[0,0]),"bottom-left":t.P.convert(Ne["bottom-left"]||[0,0]),"bottom-right":t.P.convert(Ne["bottom-right"]||[0,0]),left:t.P.convert(Ne.left||[0,0]),right:t.P.convert(Ne.right||[0,0])}}return hc(new t.P(0,0))}let dc=r;e.AJAXError=t.bh,e.Evented=t.E,e.LngLat=t.N,e.MercatorCoordinate=t.Z,e.Point=t.P,e.addProtocol=t.bi,e.config=t.a,e.removeProtocol=t.bj,e.AttributionControl=Ao,e.BoxZoomHandler=wu,e.CanvasSource=tt,e.CooperativeGesturesHandler=zi,e.DoubleClickZoomHandler=si,e.DragPanHandler=Wi,e.DragRotateHandler=aa,e.EdgeInsets=tc,e.FullscreenControl=class extends t.E{constructor(Ne={}){super(),this._onFullscreenChange=()=>{var R;let ne=window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement;for(;!((R=ne?.shadowRoot)===null||R===void 0)&&R.fullscreenElement;)ne=ne.shadowRoot.fullscreenElement;ne===this._container!==this._fullscreen&&this._handleFullscreenChange()},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen()},this._fullscreen=!1,Ne&&Ne.container&&(Ne.container instanceof HTMLElement?this._container=Ne.container:t.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange")}onAdd(Ne){return this._map=Ne,this._container||(this._container=this._map.getContainer()),this._controlContainer=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){a.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange)}_setupUI(){let Ne=this._fullscreenButton=a.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);a.create("span","maplibregl-ctrl-icon",Ne).setAttribute("aria-hidden","true"),Ne.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange)}_updateTitle(){let Ne=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Ne),this._fullscreenButton.title=Ne}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new t.k("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.k("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable())}_exitFullscreen(){window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen()}_requestFullscreen(){this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen()}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize()}},e.GeoJSONSource=Ie,e.GeolocateControl=class extends t.E{constructor(Ne){super(),this._onSuccess=R=>{if(this._map){if(this._isOutOfMapMaxBounds(R))return this._setErrorState(),this.fire(new t.k("outofmaxbounds",R)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=R,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(R),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(R),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new t.k("geolocate",R)),this._finish()}},this._updateCamera=R=>{let ne=new t.N(R.coords.longitude,R.coords.latitude),be=R.coords.accuracy,Ae=this._map.getBearing(),Fe=t.e({bearing:Ae},this.options.fitBoundsOptions),ht=ie.fromLngLat(ne,be);this._map.fitBounds(ht,Fe,{geolocateSource:!0})},this._updateMarker=R=>{if(R){let ne=new t.N(R.coords.longitude,R.coords.latitude);this._accuracyCircleMarker.setLngLat(ne).addTo(this._map),this._userLocationDotMarker.setLngLat(ne).addTo(this._map),this._accuracy=R.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},this._onZoom=()=>{this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},this._onError=R=>{if(this._map){if(this.options.trackUserLocation)if(R.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;let ne=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(R.code===3&&zc)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new t.k("error",R)),this._finish()}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},this._setupUI=()=>{this._map&&(this._container.addEventListener("contextmenu",R=>R.preventDefault()),this._geolocateButton=a.create("button","maplibregl-ctrl-geolocate",this._container),a.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",this._geolocateButton.disabled=!0)},this._finishSetupUI=R=>{if(this._map){if(R===!1){t.w("Geolocation support is not available so the GeolocateControl will be disabled.");let ne=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne)}else{let ne=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.disabled=!1,this._geolocateButton.title=ne,this._geolocateButton.setAttribute("aria-label",ne)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=a.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new nc({element:this._dotElement}),this._circleElement=a.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new nc({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",()=>this.trigger()),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",ne=>{ne.geolocateSource||this._watchState!=="ACTIVE_LOCK"||ne.originalEvent&&ne.originalEvent.type==="resize"||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new t.k("trackuserlocationend")),this.fire(new t.k("userlocationlostfocus")))})}},this.options=t.e({},Kc,Ne)}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),function(){return t._(this,arguments,void 0,function*(R=!1){if(Js!==void 0&&!R)return Js;if(window.navigator.permissions===void 0)return Js=!!window.navigator.geolocation,Js;try{Js=(yield window.navigator.permissions.query({name:"geolocation"})).state!=="denied"}catch{Js=!!window.navigator.geolocation}return Js})}().then(R=>this._finishSetupUI(R)),this._container}onRemove(){this._geolocationWatchID!==void 0&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),a.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Tu=0,zc=!1}_isOutOfMapMaxBounds(Ne){let R=this._map.getMaxBounds(),ne=Ne.coords;return R&&(ne.longitudeR.getEast()||ne.latitudeR.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"ACTIVE_ERROR":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadius(){let Ne=this._map.getBounds(),R=Ne.getSouthEast(),ne=Ne.getNorthEast(),be=R.distanceTo(ne),Ae=Math.ceil(this._accuracy/(be/this._map._container.clientHeight)*2);this._circleElement.style.width=`${Ae}px`,this._circleElement.style.height=`${Ae}px`}trigger(){if(!this._setup)return t.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.k("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Tu--,zc=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new t.k("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.k("trackuserlocationstart")),this.fire(new t.k("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let Ne;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),Tu++,Tu>1?(Ne={maximumAge:6e5,timeout:0},zc=!0):(Ne=this.options.positionOptions,zc=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,Ne)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},e.Hash=uh,e.ImageSource=it,e.KeyboardHandler=dr,e.LngLatBounds=ie,e.LogoControl=xa,e.Map=class extends co{constructor(Ne){t.bf.mark(t.bg.create);let R=Object.assign(Object.assign({},_l),Ne);if(R.minZoom!=null&&R.maxZoom!=null&&R.minZoom>R.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(R.minPitch!=null&&R.maxPitch!=null&&R.minPitch>R.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(R.minPitch!=null&&R.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(R.maxPitch!=null&&R.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(super(new Sl(R.minZoom,R.maxZoom,R.minPitch,R.maxPitch,R.renderWorldCopies),{bearingSnap:R.bearingSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new Qi,this._controls=[],this._mapId=t.a4(),this._contextLost=ne=>{ne.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.fire(new t.k("webglcontextlost",{originalEvent:ne}))},this._contextRestored=ne=>{this._setupPainter(),this.resize(),this._update(),this.fire(new t.k("webglcontextrestored",{originalEvent:ne}))},this._onMapScroll=ne=>{if(ne.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update()},this._interactive=R.interactive,this._maxTileCacheSize=R.maxTileCacheSize,this._maxTileCacheZoomLevels=R.maxTileCacheZoomLevels,this._failIfMajorPerformanceCaveat=R.failIfMajorPerformanceCaveat===!0,this._preserveDrawingBuffer=R.preserveDrawingBuffer===!0,this._antialias=R.antialias===!0,this._trackResize=R.trackResize===!0,this._bearingSnap=R.bearingSnap,this._refreshExpiredTiles=R.refreshExpiredTiles===!0,this._fadeDuration=R.fadeDuration,this._crossSourceCollisions=R.crossSourceCollisions===!0,this._collectResourceTiming=R.collectResourceTiming===!0,this._locale=Object.assign(Object.assign({},Es),R.locale),this._clickTolerance=R.clickTolerance,this._overridePixelRatio=R.pixelRatio,this._maxCanvasSize=R.maxCanvasSize,this.transformCameraUpdate=R.transformCameraUpdate,this.cancelPendingTileRequestsWhileZooming=R.cancelPendingTileRequestsWhileZooming===!0,this._imageQueueHandle=l.addThrottleControl(()=>this.isMoving()),this._requestManager=new _(R.transformRequest),typeof R.container=="string"){if(this._container=document.getElementById(R.container),!this._container)throw new Error(`Container '${R.container}' not found.`)}else{if(!(R.container instanceof HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=R.container}if(R.maxBounds&&this.setMaxBounds(R.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",()=>this._update(!1)).on("moveend",()=>this._update(!1)).on("zoom",()=>this._update(!0)).on("terrain",()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)}).once("idle",()=>{this._idleTriggered=!0}),typeof window<"u"){addEventListener("online",this._onWindowOnline,!1);let ne=!1,be=th(Ae=>{this._trackResize&&!this._removed&&(this.resize(Ae),this.redraw())},50);this._resizeObserver=new ResizeObserver(Ae=>{ne?be(Ae):ne=!0}),this._resizeObserver.observe(this._container)}this.handlers=new po(this,R),this._hash=R.hash&&new uh(typeof R.hash=="string"&&R.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:R.center,zoom:R.zoom,bearing:R.bearing,pitch:R.pitch}),R.bounds&&(this.resize(),this.fitBounds(R.bounds,t.e({},R.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=R.localIdeographFontFamily,this._validateStyle=R.validateStyle,R.style&&this.setStyle(R.style,{localIdeographFontFamily:R.localIdeographFontFamily}),R.attributionControl&&this.addControl(new Ao(typeof R.attributionControl=="boolean"?void 0:R.attributionControl)),R.maplibreLogo&&this.addControl(new xa,R.logoPosition),this.on("style.load",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on("data",ne=>{this._update(ne.dataType==="style"),this.fire(new t.k(`${ne.dataType}data`,ne))}),this.on("dataloading",ne=>{this.fire(new t.k(`${ne.dataType}dataloading`,ne))}),this.on("dataabort",ne=>{this.fire(new t.k("sourcedataabort",ne))})}_getMapId(){return this._mapId}addControl(Ne,R){if(R===void 0&&(R=Ne.getDefaultPosition?Ne.getDefaultPosition():"top-right"),!Ne||!Ne.onAdd)return this.fire(new t.j(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));let ne=Ne.onAdd(this);this._controls.push(Ne);let be=this._controlPositions[R];return R.indexOf("bottom")!==-1?be.insertBefore(ne,be.firstChild):be.appendChild(ne),this}removeControl(Ne){if(!Ne||!Ne.onRemove)return this.fire(new t.j(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));let R=this._controls.indexOf(Ne);return R>-1&&this._controls.splice(R,1),Ne.onRemove(this),this}hasControl(Ne){return this._controls.indexOf(Ne)>-1}calculateCameraOptionsFromTo(Ne,R,ne,be){return be==null&&this.terrain&&(be=this.terrain.getElevationForLngLatZoom(ne,this.transform.tileZoom)),super.calculateCameraOptionsFromTo(Ne,R,ne,be)}resize(Ne){var R;let ne=this._containerDimensions(),be=ne[0],Ae=ne[1],Fe=this._getClampedPixelRatio(be,Ae);if(this._resizeCanvas(be,Ae,Fe),this.painter.resize(be,Ae,Fe),this.painter.overLimit()){let wt=this.painter.context.gl;this._maxCanvasSize=[wt.drawingBufferWidth,wt.drawingBufferHeight];let zt=this._getClampedPixelRatio(be,Ae);this._resizeCanvas(be,Ae,zt),this.painter.resize(be,Ae,zt)}this.transform.resize(be,Ae),(R=this._requestedCameraState)===null||R===void 0||R.resize(be,Ae);let ht=!this._moving;return ht&&(this.stop(),this.fire(new t.k("movestart",Ne)).fire(new t.k("move",Ne))),this.fire(new t.k("resize",Ne)),ht&&this.fire(new t.k("moveend",Ne)),this}_getClampedPixelRatio(Ne,R){let{0:ne,1:be}=this._maxCanvasSize,Ae=this.getPixelRatio(),Fe=Ne*Ae,ht=R*Ae;return Math.min(Fe>ne?ne/Fe:1,ht>be?be/ht:1)*Ae}getPixelRatio(){var Ne;return(Ne=this._overridePixelRatio)!==null&&Ne!==void 0?Ne:devicePixelRatio}setPixelRatio(Ne){this._overridePixelRatio=Ne,this.resize()}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(Ne){return this.transform.setMaxBounds(ie.convert(Ne)),this._update()}setMinZoom(Ne){if((Ne=Ne??-2)>=-2&&Ne<=this.transform.maxZoom)return this.transform.minZoom=Ne,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=Ne,this._update(),this.getZoom()>Ne&&this.setZoom(Ne),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(Ne){if((Ne=Ne??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(Ne>=0&&Ne<=this.transform.maxPitch)return this.transform.minPitch=Ne,this._update(),this.getPitch()85)throw new Error("maxPitch must be less than or equal to 85");if(Ne>=this.transform.minPitch)return this.transform.maxPitch=Ne,this._update(),this.getPitch()>Ne&&this.setPitch(Ne),this;throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(Ne){return this.transform.renderWorldCopies=Ne,this._update()}project(Ne){return this.transform.locationPoint(t.N.convert(Ne),this.style&&this.terrain)}unproject(Ne){return this.transform.pointLocation(t.P.convert(Ne),this.terrain)}isMoving(){var Ne;return this._moving||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isMoving())}isZooming(){var Ne;return this._zooming||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isZooming())}isRotating(){var Ne;return this._rotating||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isRotating())}_createDelegatedListener(Ne,R,ne){if(Ne==="mouseenter"||Ne==="mouseover"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:Fe=>{let ht=R.filter(zt=>this.getLayer(zt)),wt=ht.length!==0?this.queryRenderedFeatures(Fe.point,{layers:ht}):[];wt.length?be||(be=!0,ne.call(this,new lu(Ne,this,Fe.originalEvent,{features:wt}))):be=!1},mouseout:()=>{be=!1}}}}if(Ne==="mouseleave"||Ne==="mouseout"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:ht=>{let wt=R.filter(zt=>this.getLayer(zt));(wt.length!==0?this.queryRenderedFeatures(ht.point,{layers:wt}):[]).length?be=!0:be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))},mouseout:ht=>{be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))}}}}{let be=Ae=>{let Fe=R.filter(wt=>this.getLayer(wt)),ht=Fe.length!==0?this.queryRenderedFeatures(Ae.point,{layers:Fe}):[];ht.length&&(Ae.features=ht,ne.call(this,Ae),delete Ae.features)};return{layers:R,listener:ne,delegates:{[Ne]:be}}}}_saveDelegatedListener(Ne,R){this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[Ne]=this._delegatedListeners[Ne]||[],this._delegatedListeners[Ne].push(R)}_removeDelegatedListener(Ne,R,ne){if(!this._delegatedListeners||!this._delegatedListeners[Ne])return;let be=this._delegatedListeners[Ne];for(let Ae=0;AeR.includes(ht))){for(let ht in Fe.delegates)this.off(ht,Fe.delegates[ht]);return void be.splice(Ae,1)}}}on(Ne,R,ne){if(ne===void 0)return super.on(Ne,R);let be=this._createDelegatedListener(Ne,typeof R=="string"?[R]:R,ne);this._saveDelegatedListener(Ne,be);for(let Ae in be.delegates)this.on(Ae,be.delegates[Ae]);return this}once(Ne,R,ne){if(ne===void 0)return super.once(Ne,R);let be=typeof R=="string"?[R]:R,Ae=this._createDelegatedListener(Ne,be,ne);for(let Fe in Ae.delegates){let ht=Ae.delegates[Fe];Ae.delegates[Fe]=(...wt)=>{this._removeDelegatedListener(Ne,be,ne),ht(...wt)}}this._saveDelegatedListener(Ne,Ae);for(let Fe in Ae.delegates)this.once(Fe,Ae.delegates[Fe]);return this}off(Ne,R,ne){return ne===void 0?super.off(Ne,R):(this._removeDelegatedListener(Ne,typeof R=="string"?[R]:R,ne),this)}queryRenderedFeatures(Ne,R){if(!this.style)return[];let ne,be=Ne instanceof t.P||Array.isArray(Ne),Ae=be?Ne:[[0,0],[this.transform.width,this.transform.height]];if(R=R||(be?{}:Ne)||{},Ae instanceof t.P||typeof Ae[0]=="number")ne=[t.P.convert(Ae)];else{let Fe=t.P.convert(Ae[0]),ht=t.P.convert(Ae[1]);ne=[Fe,new t.P(ht.x,Fe.y),ht,new t.P(Fe.x,ht.y),Fe]}return this.style.queryRenderedFeatures(ne,R,this.transform)}querySourceFeatures(Ne,R){return this.style.querySourceFeatures(Ne,R)}setStyle(Ne,R){return(R=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},R)).diff!==!1&&R.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&Ne?(this._diffStyle(Ne,R),this):(this._localIdeographFontFamily=R.localIdeographFontFamily,this._updateStyle(Ne,R))}setTransformRequest(Ne){return this._requestManager.setTransformRequest(Ne),this}_getUIString(Ne){let R=this._locale[Ne];if(R==null)throw new Error(`Missing UI string '${Ne}'`);return R}_updateStyle(Ne,R){if(R.transformStyle&&this.style&&!this.style._loaded)return void this.style.once("style.load",()=>this._updateStyle(Ne,R));let ne=this.style&&R.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!Ne)),Ne?(this.style=new nn(this,R||{}),this.style.setEventedParent(this,{style:this.style}),typeof Ne=="string"?this.style.loadURL(Ne,R,ne):this.style.loadJSON(Ne,R,ne),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new nn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(Ne,R){if(typeof Ne=="string"){let ne=this._requestManager.transformRequest(Ne,"Style");t.h(ne,new AbortController).then(be=>{this._updateDiff(be.data,R)}).catch(be=>{be&&this.fire(new t.j(be))})}else typeof Ne=="object"&&this._updateDiff(Ne,R)}_updateDiff(Ne,R){try{this.style.setState(Ne,R)&&this._update(!0)}catch(ne){t.w(`Unable to perform style diff: ${ne.message||ne.error||ne}. Rebuilding the style from scratch.`),this._updateStyle(Ne,R)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():t.w("There is no style added to the map.")}addSource(Ne,R){return this._lazyInitEmptyStyle(),this.style.addSource(Ne,R),this._update(!0)}isSourceLoaded(Ne){let R=this.style&&this.style.sourceCaches[Ne];if(R!==void 0)return R.loaded();this.fire(new t.j(new Error(`There is no source with ID '${Ne}'`)))}setTerrain(Ne){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),Ne){let R=this.style.sourceCaches[Ne.source];if(!R)throw new Error(`cannot load terrain, because there exists no source with ID: ${Ne.source}`);this.terrain===null&&R.reload();for(let ne in this.style._layers){let be=this.style._layers[ne];be.type==="hillshade"&&be.source===Ne.source&&t.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.")}this.terrain=new Ds(this.painter,R,Ne),this.painter.renderToTexture=new el(this.painter,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._terrainDataCallback=ne=>{ne.dataType==="style"?this.terrain.sourceCache.freeRtt():ne.dataType==="source"&&ne.tile&&(ne.sourceId!==Ne.source||this._elevationFreeze||(this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.terrain.sourceCache.freeRtt(ne.tile.tileID))},this.style.on("data",this._terrainDataCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.minElevationForCurrentTile=0,this.transform.elevation=0;return this.fire(new t.k("terrain",{terrain:Ne})),this}getTerrain(){var Ne,R;return(R=(Ne=this.terrain)===null||Ne===void 0?void 0:Ne.options)!==null&&R!==void 0?R:null}areTilesLoaded(){let Ne=this.style&&this.style.sourceCaches;for(let R in Ne){let ne=Ne[R]._tiles;for(let be in ne){let Ae=ne[be];if(Ae.state!=="loaded"&&Ae.state!=="errored")return!1}}return!0}removeSource(Ne){return this.style.removeSource(Ne),this._update(!0)}getSource(Ne){return this.style.getSource(Ne)}addImage(Ne,R,ne={}){let{pixelRatio:be=1,sdf:Ae=!1,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt}=ne;if(this._lazyInitEmptyStyle(),!(R instanceof HTMLImageElement||t.b(R))){if(R.width===void 0||R.height===void 0)return this.fire(new t.j(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{let{width:hr,height:vr,data:Hr}=R,ln=R;return this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},new Uint8Array(Hr)),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0,userImage:ln}),ln.onAdd&&ln.onAdd(this,Ne),this}}{let{width:hr,height:vr,data:Hr}=i.getImageData(R);this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},Hr),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0})}}updateImage(Ne,R){let ne=this.style.getImage(Ne);if(!ne)return this.fire(new t.j(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));let be=R instanceof HTMLImageElement||t.b(R)?i.getImageData(R):R,{width:Ae,height:Fe,data:ht}=be;if(Ae===void 0||Fe===void 0)return this.fire(new t.j(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(Ae!==ne.data.width||Fe!==ne.data.height)return this.fire(new t.j(new Error("The width and height of the updated image must be that same as the previous version of the image")));let wt=!(R instanceof HTMLImageElement||t.b(R));return ne.data.replace(ht,wt),this.style.updateImage(Ne,ne),this}getImage(Ne){return this.style.getImage(Ne)}hasImage(Ne){return Ne?!!this.style.getImage(Ne):(this.fire(new t.j(new Error("Missing required image id"))),!1)}removeImage(Ne){this.style.removeImage(Ne)}loadImage(Ne){return l.getImage(this._requestManager.transformRequest(Ne,"Image"),new AbortController)}listImages(){return this.style.listImages()}addLayer(Ne,R){return this._lazyInitEmptyStyle(),this.style.addLayer(Ne,R),this._update(!0)}moveLayer(Ne,R){return this.style.moveLayer(Ne,R),this._update(!0)}removeLayer(Ne){return this.style.removeLayer(Ne),this._update(!0)}getLayer(Ne){return this.style.getLayer(Ne)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(Ne,R,ne){return this.style.setLayerZoomRange(Ne,R,ne),this._update(!0)}setFilter(Ne,R,ne={}){return this.style.setFilter(Ne,R,ne),this._update(!0)}getFilter(Ne){return this.style.getFilter(Ne)}setPaintProperty(Ne,R,ne,be={}){return this.style.setPaintProperty(Ne,R,ne,be),this._update(!0)}getPaintProperty(Ne,R){return this.style.getPaintProperty(Ne,R)}setLayoutProperty(Ne,R,ne,be={}){return this.style.setLayoutProperty(Ne,R,ne,be),this._update(!0)}getLayoutProperty(Ne,R){return this.style.getLayoutProperty(Ne,R)}setGlyphs(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(Ne,R),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(Ne,R,ne={}){return this._lazyInitEmptyStyle(),this.style.addSprite(Ne,R,ne,be=>{be||this._update(!0)}),this}removeSprite(Ne){return this._lazyInitEmptyStyle(),this.style.removeSprite(Ne),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setSprite(Ne,R,ne=>{ne||this._update(!0)}),this}setLight(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setLight(Ne,R),this._update(!0)}getLight(){return this.style.getLight()}setSky(Ne){return this._lazyInitEmptyStyle(),this.style.setSky(Ne),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(Ne,R){return this.style.setFeatureState(Ne,R),this._update()}removeFeatureState(Ne,R){return this.style.removeFeatureState(Ne,R),this._update()}getFeatureState(Ne){return this.style.getFeatureState(Ne)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let Ne=0,R=0;return this._container&&(Ne=this._container.clientWidth||400,R=this._container.clientHeight||300),[Ne,R]}_setupContainer(){let Ne=this._container;Ne.classList.add("maplibregl-map");let R=this._canvasContainer=a.create("div","maplibregl-canvas-container",Ne);this._interactive&&R.classList.add("maplibregl-interactive"),this._canvas=a.create("canvas","maplibregl-canvas",R),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");let ne=this._containerDimensions(),be=this._getClampedPixelRatio(ne[0],ne[1]);this._resizeCanvas(ne[0],ne[1],be);let Ae=this._controlContainer=a.create("div","maplibregl-control-container",Ne),Fe=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(ht=>{Fe[ht]=a.create("div",`maplibregl-ctrl-${ht} `,Ae)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(Ne,R,ne){this._canvas.width=Math.floor(ne*Ne),this._canvas.height=Math.floor(ne*R),this._canvas.style.width=`${Ne}px`,this._canvas.style.height=`${R}px`}_setupPainter(){let Ne={alpha:!0,stencil:!0,depth:!0,failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1},R=null;this._canvas.addEventListener("webglcontextcreationerror",be=>{R={requestedAttributes:Ne},be&&(R.statusMessage=be.statusMessage,R.type=be.type)},{once:!0});let ne=this._canvas.getContext("webgl2",Ne)||this._canvas.getContext("webgl",Ne);if(!ne){let be="Failed to initialize WebGL";throw R?(R.message=be,new Error(JSON.stringify(R))):new Error(be)}this.painter=new yc(ne,this.transform),s.testSupport(ne)}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(Ne){return this.style&&this.style._loaded?(this._styleDirty=this._styleDirty||Ne,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(Ne){return this._update(),this._renderTaskQueue.add(Ne)}_cancelRenderFrame(Ne){this._renderTaskQueue.remove(Ne)}_render(Ne){let R=this._idleTriggered?this._fadeDuration:0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(Ne),this._removed)return;let ne=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;let Ae=this.transform.zoom,Fe=i.now();this.style.zoomHistory.update(Ae,Fe);let ht=new t.z(Ae,{now:Fe,fadeDuration:R,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),wt=ht.crossFadingFactor();wt===1&&wt===this._crossFadingFactor||(ne=!0,this._crossFadingFactor=wt),this.style.update(ht)}this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.sourceCache.update(this.transform,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._elevationFreeze||(this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.minElevationForCurrentTile=0,this.transform.elevation=0),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,R,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:R,showPadding:this.showPadding}),this.fire(new t.k("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,t.bf.mark(t.bg.load),this.fire(new t.k("load"))),this.style&&(this.style.hasTransitions()||ne)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();let be=this._sourcesDirty||this._styleDirty||this._placementDirty;return be||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.k("idle")),!this._loaded||this._fullyLoaded||be||(this._fullyLoaded=!0,t.bf.mark(t.bg.fullLoad)),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var Ne;this._hash&&this._hash.remove();for(let ne of this._controls)ne.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof window<"u"&&removeEventListener("online",this._onWindowOnline,!1),l.removeThrottleControl(this._imageQueueHandle),(Ne=this._resizeObserver)===null||Ne===void 0||Ne.disconnect();let R=this.painter.context.gl.getExtension("WEBGL_lose_context");R?.loseContext&&R.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),a.remove(this._canvasContainer),a.remove(this._controlContainer),this._container.classList.remove("maplibregl-map"),t.bf.clearMetrics(),this._removed=!0,this.fire(new t.k("remove"))}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(Ne=>{t.bf.frame(Ne),this._frameRequest=null,this._render(Ne)}).catch(()=>{}))}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(Ne){this._showTileBoundaries!==Ne&&(this._showTileBoundaries=Ne,this._update())}get showPadding(){return!!this._showPadding}set showPadding(Ne){this._showPadding!==Ne&&(this._showPadding=Ne,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(Ne){this._showCollisionBoxes!==Ne&&(this._showCollisionBoxes=Ne,Ne?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(Ne){this._showOverdrawInspector!==Ne&&(this._showOverdrawInspector=Ne,this._update())}get repaint(){return!!this._repaint}set repaint(Ne){this._repaint!==Ne&&(this._repaint=Ne,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(Ne){this._vertices=Ne,this._update()}get version(){return Bl}getCameraTargetElevation(){return this.transform.elevation}},e.MapMouseEvent=lu,e.MapTouchEvent=Xc,e.MapWheelEvent=ch,e.Marker=nc,e.NavigationControl=class{constructor(Ne){this._updateZoomButtons=()=>{let R=this._map.getZoom(),ne=R===this._map.getMaxZoom(),be=R===this._map.getMinZoom();this._zoomInButton.disabled=ne,this._zoomOutButton.disabled=be,this._zoomInButton.setAttribute("aria-disabled",ne.toString()),this._zoomOutButton.setAttribute("aria-disabled",be.toString())},this._rotateCompassArrow=()=>{let R=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=R},this._setButtonTitle=(R,ne)=>{let be=this._map._getUIString(`NavigationControl.${ne}`);R.title=be,R.setAttribute("aria-label",be)},this.options=t.e({},Za,Ne),this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",R=>R.preventDefault()),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",R=>this._map.zoomIn({},{originalEvent:R})),a.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",R=>this._map.zoomOut({},{originalEvent:R})),a.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",R=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:R}):this._map.resetNorth({},{originalEvent:R})}),this._compassIcon=a.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}onAdd(Ne){return this._map=Ne,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new jo(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){a.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(Ne,R){let ne=a.create("button",Ne,this._container);return ne.type="button",ne.addEventListener("click",R),ne}},e.Popup=class extends t.E{constructor(Ne){super(),this.remove=()=>(this._content&&a.remove(this._content),this._container&&(a.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new t.k("close"))),this),this._onMouseUp=R=>{this._update(R.point)},this._onMouseMove=R=>{this._update(R.point)},this._onDrag=R=>{this._update(R.point)},this._update=R=>{var ne;if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=a.create("div","maplibregl-popup",this._map.getContainer()),this._tip=a.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(let wt of this.options.className.split(" "))this._container.classList.add(wt);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer")}if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=this._map.transform.renderWorldCopies&&!this._trackPointer?zs(this._lngLat,this._flatPos,this._map.transform):(ne=this._lngLat)===null||ne===void 0?void 0:ne.wrap(),this._trackPointer&&!R)return;let be=this._flatPos=this._pos=this._trackPointer&&R?R:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&R?R:this._map.transform.locationPoint(this._lngLat));let Ae=this.options.anchor,Fe=hc(this.options.offset);if(!Ae){let wt=this._container.offsetWidth,zt=this._container.offsetHeight,Jt;Jt=be.y+Fe.bottom.ythis._map.transform.height-zt?["bottom"]:[],be.xthis._map.transform.width-wt/2&&Jt.push("right"),Ae=Jt.length===0?"bottom":Jt.join("-")}let ht=be.add(Fe[Ae]);this.options.subpixelPositioning||(ht=ht.round()),a.setTransform(this._container,`${cu[Ae]} translate(${ht.x}px,${ht.y}px)`),zu(this._container,Ae,"popup")},this._onClose=()=>{this.remove()},this.options=t.e(Object.create(Wo),Ne)}addTo(Ne){return this._map&&this.remove(),this._map=Ne,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new t.k("open")),this}isOpen(){return!!this._map}getLngLat(){return this._lngLat}setLngLat(Ne){return this._lngLat=t.N.convert(Ne),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(Ne){return this.setDOMContent(document.createTextNode(Ne))}setHTML(Ne){let R=document.createDocumentFragment(),ne=document.createElement("body"),be;for(ne.innerHTML=Ne;be=ne.firstChild,be;)R.appendChild(be);return this.setDOMContent(R)}getMaxWidth(){var Ne;return(Ne=this._container)===null||Ne===void 0?void 0:Ne.style.maxWidth}setMaxWidth(Ne){return this.options.maxWidth=Ne,this._update(),this}setDOMContent(Ne){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=a.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(Ne),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(Ne){return this._container&&this._container.classList.add(Ne),this}removeClassName(Ne){return this._container&&this._container.classList.remove(Ne),this}setOffset(Ne){return this.options.offset=Ne,this._update(),this}toggleClassName(Ne){if(this._container)return this._container.classList.toggle(Ne)}setSubpixelPositioning(Ne){this.options.subpixelPositioning=Ne}_createCloseButton(){this.options.closeButton&&(this._closeButton=a.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;let Ne=this._container.querySelector(Fc);Ne&&Ne.focus()}},e.RasterDEMTileSource=Ue,e.RasterTileSource=Te,e.ScaleControl=class{constructor(Ne){this._onMove=()=>{wc(this._map,this._container,this.options)},this.setUnit=R=>{this.options.unit=R,wc(this._map,this._container,this.options)},this.options=Object.assign(Object.assign({},Fu),Ne)}getDefaultPosition(){return"bottom-left"}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-scale",Ne.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){a.remove(this._container),this._map.off("move",this._onMove),this._map=void 0}},e.ScrollZoomHandler=Cn,e.Style=nn,e.TerrainControl=class{constructor(Ne){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"))},this.options=Ne}onAdd(Ne){return this._map=Ne,this._container=a.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=a.create("button","maplibregl-ctrl-terrain",this._container),a.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){a.remove(this._container),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0}},e.TwoFingersTouchPitchHandler=Yc,e.TwoFingersTouchRotateHandler=Dc,e.TwoFingersTouchZoomHandler=uu,e.TwoFingersTouchZoomRotateHandler=bi,e.VectorTileSource=xe,e.VideoSource=at,e.addSourceType=(Ne,R)=>t._(void 0,void 0,void 0,function*(){if(Me(Ne))throw new Error(`A source type called "${Ne}" already exists.`);((ne,be)=>{ut[ne]=be})(Ne,R)}),e.clearPrewarmedResources=function(){let Ne=fe;Ne&&(Ne.isPreloaded()&&Ne.numActive()===1?(Ne.release(Q),fe=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},e.getMaxParallelImageRequests=function(){return t.a.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return rt().getRTLTextPluginStatus()},e.getVersion=function(){return dc},e.getWorkerCount=function(){return le.workerCount},e.getWorkerUrl=function(){return t.a.WORKER_URL},e.importScriptInWorkers=function(Ne){return X().broadcast("IS",Ne)},e.prewarm=function(){$().acquire(Q)},e.setMaxParallelImageRequests=function(Ne){t.a.MAX_PARALLEL_IMAGE_REQUESTS=Ne},e.setRTLTextPlugin=function(Ne,R){return rt().setRTLTextPlugin(Ne,R)},e.setWorkerCount=function(Ne){le.workerCount=Ne},e.setWorkerUrl=function(Ne){t.a.WORKER_URL=Ne}});var S=g;return S})}}),hz=ke({"src/plots/map/layers.js"(Z,H){"use strict";var g=un(),x=Wl().sanitizeHTML,A=mM(),S=tm();function e(i,a){this.subplot=i,this.uid=i.uid+"-"+a,this.index=a,this.idSource="source-"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType==="image"&&i.sourcetype==="image"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapLayerId=function(i){if(i==="traces")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case"circle":g.extendFlat(s,{"circle-radius":i.circle.radius,"circle-color":i.color,"circle-opacity":i.opacity});break;case"line":g.extendFlat(s,{"line-width":i.line.width,"line-color":i.color,"line-opacity":i.opacity,"line-dasharray":i.line.dash});break;case"fill":g.extendFlat(s,{"fill-color":i.color,"fill-outline-color":i.fill.outlinecolor,"fill-opacity":i.opacity});break;case"symbol":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),g.extendFlat(s,{"icon-color":i.color,"text-color":c.textfont.color,"text-opacity":i.opacity});break;case"raster":g.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a==="geojson"?h="data":a==="vector"?h=typeof s=="string"?"url":"tiles":a==="raster"?(h="tiles",c.tileSize=256):a==="image"&&(h="url",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),dz=ke({"src/plots/map/map.js"(Z,H){"use strict";var g=fz(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=tm(),d=hz();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y;u.map?y=new Promise(function(f,P){u.updateMap(m,b,f,P)}):y=new Promise(function(f,P){u.createMap(m,b,f,P)}),v.push(y)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style),L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0})),B={};F.on("styleimagemissing",function(I){var N=I.id;if(!B[N]&&N.includes("-15")){B[N]=!0;var U=new Image(15,15);U.onload=function(){F.addImage(N,U)},U.crossOrigin="Anonymous",U.src="https://unpkg.com/maki@2.1.0/icons/"+N+".svg"}}),F.setTransformRequest(function(I){return I=I.replace("https://fonts.openmaptiles.org/Open Sans Extrabold","https://fonts.openmaptiles.org/Open Sans Extra Bold"),I=I.replace("https://tiles.basemaps.cartocdn.com/fonts/Open Sans Extrabold","https://fonts.openmaptiles.org/Open Sans Extra Bold"),I=I.replace("https://fonts.openmaptiles.org/Open Sans Regular,Arial Unicode MS Regular","https://fonts.openmaptiles.org/Klokantech Noto Sans Regular"),{url:I}}),F._canvas.style.left="0px",F._canvas.style.top="0px",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var O=[];O.push(new Promise(function(I){F.once("load",I)})),O=O.concat(A.fetchTraceGeoData(m)),Promise.all(O).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once("styledata",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf("event")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off("click",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on("click",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+"px",u.height=v.h*(b.y[1]-b.y[0])+"px",u.left=v.l+b.x[0]*v.w+"px",u.top=v.t+(1-b.y[1])*v.h+"px",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yv/2){var u=M.split("|").join("
");m.text(u).attr("data-unformatted",u).call(r.convertToTspans,i),b=t.bBox(m.node())}m.attr("transform",g(-3,-b.height+8)),E.insert("rect",".static-attribution").attr({x:-b.width-6,y:-b.height-3,width:b.width+6,height:b.height+3,fill:"rgba(255, 255, 255, 0.75)"});var y=1;b.width+6>v&&(y=v/(b.width+6));var f=[c.l+c.w*d.x[1],c.t+c.h*(1-d.y[0])];E.attr("transform",g(f[0],f[1])+x(y))}},Z.updateFx=function(i){for(var a=i._fullLayout,s=a._subplots[n],c=0;c=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup["trace-"+n.uid];return r.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),_z=ke({"src/traces/choroplethmap/index.js"(Z,H){"use strict";H.exports={attributes:gM(),supplyDefaults:gz(),colorbar:Np(),calc:Qx(),plot:yz(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(g,x){if(x){var A=x[0].trace;A._glTrace.updateOnSelect(x)}},getBelow:function(g,x){for(var A=x.getMapLayers(),S=A.length-2;S>=0;S--){var e=A[S].id;if(typeof e=="string"&&e.indexOf("water")===0){for(var t=S+1;t0?+d[h]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=["interpolate",["linear"],["heatmap-density"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup["trace-"+o.uid];return t.map.addSource(i,{type:"geojson",data:a.geojson}),n._addLayers(a,s),n}}}),Mz=ke({"src/traces/densitymap/hover.js"(Z,H){"use strict";var g=Ho(),x=_b().hoverPoints,A=_b().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,"z"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),"hover").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),Sz=ke({"src/traces/densitymap/event_data.js"(Z,H){"use strict";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),Ez=ke({"src/traces/densitymap/index.js"(Z,H){"use strict";H.exports={attributes:_M(),supplyDefaults:bz(),colorbar:Np(),formatLabels:pM(),calc:wz(),plot:Az(),hoverPoints:Mz(),eventData:Sz(),getBelow:function(g,x){for(var A=x.getMapLayers(),S=0;S0;){l=w[w.length-1];var M=x[l];if(r[l]=0&&n[l].push(o[m])}r[l]=E}else{if(e[l]===S[l]){for(var b=[],v=[],u=0,E=_.length-1;E>=0;--E){var y=_[E];if(t[y]=!1,b.push(y),v.push(n[y]),u+=n[y].length,o[y]=s.length,y===l){_.length=E;break}}s.push(b);for(var f=new Array(u),E=0;Em&&(m=a.source[_]),a.target[_]>m&&(m=a.target[_]);var b=m+1;n.node._count=b;var v,u=n.node.groups,y={};for(_=0;_0&&e(B,b)&&e(O,b)&&!(y.hasOwnProperty(B)&&y.hasOwnProperty(O)&&y[B]===y[O])){y.hasOwnProperty(O)&&(O=y[O]),y.hasOwnProperty(B)&&(B=y[B]),B=+B,O=+O,d[B]=d[O]=!0;var I="";a.label&&a.label[_]&&(I=a.label[_]);var N=null;I&&T.hasOwnProperty(I)&&(N=T[I]),s.push({pointNumber:_,label:I,color:c?a.color[_]:a.color,hovercolor:h?a.hovercolor[_]:a.hovercolor,customdata:p?a.customdata[_]:a.customdata,concentrationscale:N,source:B,target:O,value:+F}),z.source.push(B),z.target.push(O)}}var U=b+u.length,W=S(i.color),Q=S(i.customdata),le=[];for(_=0;_b-1,childrenNodes:[],pointNumber:_,label:se,color:W?i.color[_]:i.color,customdata:Q?i.customdata[_]:i.customdata})}var fe=!1;return o(U,z.source,z.target)&&(fe=!0),{circular:fe,links:s,nodes:le,groups:u,groupLookup:y}}function o(n,i,a){for(var s=x.init2dArray(n,0),c=0;c1})}H.exports=function(i,a){var s=r(a);return A({circular:s.circular,_nodes:s.nodes,_links:s.links,_groups:s.groups,_groupLookup:s.groupLookup})}}}),Pz=ke({"node_modules/d3-quadtree/dist/d3-quadtree.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){"use strict";function x(b){var v=+this._x.call(null,b),u=+this._y.call(null,b);return A(this.cover(v,u),v,u,b)}function A(b,v,u,y){if(isNaN(v)||isNaN(u))return b;var f,P=b._root,L={data:y},z=b._x0,F=b._y0,B=b._x1,O=b._y1,I,N,U,W,Q,le,se,fe;if(!P)return b._root=L,b;for(;P.length;)if((Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N,f=P,!(P=P[se=le<<1|Q]))return f[se]=L,b;if(U=+b._x.call(null,P.data),W=+b._y.call(null,P.data),v===U&&u===W)return L.next=P,f?f[se]=L:b._root=L,b;do f=f?f[se]=new Array(4):b._root=new Array(4),(Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N;while((se=le<<1|Q)===(fe=(W>=N)<<1|U>=I));return f[fe]=P,f[se]=L,b}function S(b){var v,u,y=b.length,f,P,L=new Array(y),z=new Array(y),F=1/0,B=1/0,O=-1/0,I=-1/0;for(u=0;uO&&(O=f),PI&&(I=P));if(F>O||B>I)return this;for(this.cover(F,B).cover(O,I),u=0;ub||b>=f||y>v||v>=P;)switch(B=(vO||(z=W.y0)>I||(F=W.x1)=se)<<1|b>=le)&&(W=N[N.length-1],N[N.length-1]=N[N.length-1-Q],N[N.length-1-Q]=W)}else{var fe=b-+this._x.call(null,U.data),G=v-+this._y.call(null,U.data),$=fe*fe+G*G;if($=(N=(L+F)/2))?L=N:F=N,(Q=I>=(U=(z+B)/2))?z=U:B=U,v=u,!(u=u[le=Q<<1|W]))return this;if(!u.length)break;(v[le+1&3]||v[le+2&3]||v[le+3&3])&&(y=v,se=le)}for(;u.data!==b;)if(f=u,!(u=u.next))return this;return(P=u.next)&&delete u.next,f?(P?f.next=P:delete f.next,this):v?(P?v[le]=P:delete v[le],(u=v[0]||v[1]||v[2]||v[3])&&u===(v[3]||v[2]||v[1]||v[0])&&!u.length&&(y?y[se]=u:this._root=u),this):(this._root=P,this)}function a(b){for(var v=0,u=b.length;v=d.length)return l!=null&&m.sort(l),_!=null?_(m):m;for(var y=-1,f=m.length,P=d[b++],L,z,F=S(),B,O=v();++yd.length)return m;var v,u=T[b-1];return _!=null&&b>=d.length?v=m.entries():(v=[],m.each(function(y,f){v.push({key:f,values:E(y,b)})})),u!=null?v.sort(function(y,f){return u(y.key,f.key)}):v}return w={object:function(m){return M(m,0,t,r)},map:function(m){return M(m,0,o,n)},entries:function(m){return E(M(m,0,o,n),0)},key:function(m){return d.push(m),w},sortKeys:function(m){return T[d.length-1]=m,w},sortValues:function(m){return l=m,w},rollup:function(m){return _=m,w}}}function t(){return{}}function r(d,T,l){d[T]=l}function o(){return S()}function n(d,T,l){d.set(T,l)}function i(){}var a=S.prototype;i.prototype=s.prototype={constructor:i,has:a.has,add:function(d){return d+="",this[x+d]=d,this},remove:a.remove,clear:a.clear,values:a.keys,size:a.size,empty:a.empty,each:a.each};function s(d,T){var l=new i;if(d instanceof i)d.each(function(M){l.add(M)});else if(d){var _=-1,w=d.length;if(T==null)for(;++_=0&&(a=i.slice(s+1),i=i.slice(0,s)),i&&!n.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:a}})}S.prototype=A.prototype={constructor:S,on:function(o,n){var i=this._,a=e(o+"",i),s,c=-1,h=a.length;if(arguments.length<2){for(;++c0)for(var i=new Array(s),a=0,s,c;a=0&&b._call.call(null,v),b=b._next;--x}function l(){n=(o=a.now())+i,x=A=0;try{T()}finally{x=0,w(),n=0}}function _(){var b=a.now(),v=b-o;v>e&&(i-=v,o=b)}function w(){for(var b,v=t,u,y=1/0;v;)v._call?(y>v._time&&(y=v._time),b=v,v=v._next):(u=v._next,v._next=null,v=b?b._next=u:t=u);r=b,M(y)}function M(b){if(!x){A&&(A=clearTimeout(A));var v=b-n;v>24?(b<1/0&&(A=setTimeout(l,b-a.now()-i)),S&&(S=clearInterval(S))):(S||(o=a.now(),S=setInterval(_,e)),x=1,s(l))}}function E(b,v,u){var y=new p;return v=v==null?0:+v,y.restart(function(f){y.stop(),b(f+v)},v,u),y}function m(b,v,u){var y=new p,f=v;return v==null?(y.restart(b,v,u),y):(v=+v,u=u==null?c():+u,y.restart(function P(L){L+=f,y.restart(P,f+=v,u),b(L)},v,u),y)}g.interval=m,g.now=c,g.timeout=E,g.timer=d,g.timerFlush=T,Object.defineProperty(g,"__esModule",{value:!0})})}}),Dz=ke({"node_modules/d3-force/dist/d3-force.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,Pz(),bb(),Iz(),Rz()):x(g.d3=g.d3||{},g.d3,g.d3,g.d3,g.d3)})(Z,function(g,x,A,S,e){"use strict";function t(b,v){var u;b==null&&(b=0),v==null&&(v=0);function y(){var f,P=u.length,L,z=0,F=0;for(f=0;fI.index){var ee=N-re.x-re.vx,ie=U-re.y-re.vy,ce=ee*ee+ie*ie;ceN+j||JU+j||XF.r&&(F.r=F[B].r)}function z(){if(v){var F,B=v.length,O;for(u=new Array(B),F=0;F1?(Q==null?z.remove(W):z.set(W,U(Q)),v):z.get(W)},find:function(W,Q,le){var se=0,fe=b.length,G,$,J,X,re;for(le==null?le=1/0:le*=le,se=0;se1?(B.on(W,Q),v):B.on(W)}}}function w(){var b,v,u,y=r(-30),f,P=1,L=1/0,z=.81;function F(N){var U,W=b.length,Q=x.quadtree(b,p,d).visitAfter(O);for(u=N,U=0;U=L)return;(N.data!==v||N.next)&&(le===0&&(le=o(),G+=le*le),se===0&&(se=o(),G+=se*se),GS)if(!(Math.abs(l*p-d*T)>S)||!s)this._+="L"+(this._x1=o)+","+(this._y1=n);else{var w=i-c,M=a-h,E=p*p+d*d,m=w*w+M*M,b=Math.sqrt(E),v=Math.sqrt(_),u=s*Math.tan((x-Math.acos((E+_-m)/(2*b*v)))/2),y=u/v,f=u/b;Math.abs(y-1)>S&&(this._+="L"+(o+y*T)+","+(n+y*l)),this._+="A"+s+","+s+",0,0,"+ +(l*w>T*M)+","+(this._x1=o+f*p)+","+(this._y1=n+f*d)}},arc:function(o,n,i,a,s,c){o=+o,n=+n,i=+i,c=!!c;var h=i*Math.cos(a),p=i*Math.sin(a),d=o+h,T=n+p,l=1^c,_=c?a-s:s-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+d+","+T:(Math.abs(this._x1-d)>S||Math.abs(this._y1-T)>S)&&(this._+="L"+d+","+T),i&&(_<0&&(_=_%A+A),_>e?this._+="A"+i+","+i+",0,1,"+l+","+(o-h)+","+(n-p)+"A"+i+","+i+",0,1,"+l+","+(this._x1=d)+","+(this._y1=T):_>S&&(this._+="A"+i+","+i+",0,"+ +(_>=x)+","+l+","+(this._x1=o+i*Math.cos(s))+","+(this._y1=n+i*Math.sin(s))))},rect:function(o,n,i,a){this._+="M"+(this._x0=this._x1=+o)+","+(this._y0=this._y1=+n)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}},g.path=r,Object.defineProperty(g,"__esModule",{value:!0})})}}),wM=ke({"node_modules/d3-shape/dist/d3-shape.js"(Z,H){(function(g,x){typeof Z=="object"&&typeof H<"u"?x(Z,zz()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){"use strict";function A(kt){return function(){return kt}}var S=Math.abs,e=Math.atan2,t=Math.cos,r=Math.max,o=Math.min,n=Math.sin,i=Math.sqrt,a=1e-12,s=Math.PI,c=s/2,h=2*s;function p(kt){return kt>1?0:kt<-1?s:Math.acos(kt)}function d(kt){return kt>=1?c:kt<=-1?-c:Math.asin(kt)}function T(kt){return kt.innerRadius}function l(kt){return kt.outerRadius}function _(kt){return kt.startAngle}function w(kt){return kt.endAngle}function M(kt){return kt&&kt.padAngle}function E(kt,or,yr,on,An,Zn,Bn,wn){var Dn=yr-kt,Ui=on-or,pi=Bn-An,Ta=wn-Zn,Sa=Ta*Dn-pi*Ui;if(!(Sa*SaLs*Ls+Vs*Vs&&(Ka=ns,Yo=hs),{cx:Ka,cy:Yo,x01:-pi,y01:-Ta,x11:Ka*(An/gs-1),y11:Yo*(An/gs-1)}}function b(){var kt=T,or=l,yr=A(0),on=null,An=_,Zn=w,Bn=M,wn=null;function Dn(){var Ui,pi,Ta=+kt.apply(this,arguments),Sa=+or.apply(this,arguments),qa=An.apply(this,arguments)-c,to=Zn.apply(this,arguments)-c,yo=S(to-qa),Xa=to>qa;if(wn||(wn=Ui=x.path()),Saa))wn.moveTo(0,0);else if(yo>h-a)wn.moveTo(Sa*t(qa),Sa*n(qa)),wn.arc(0,0,Sa,qa,to,!Xa),Ta>a&&(wn.moveTo(Ta*t(to),Ta*n(to)),wn.arc(0,0,Ta,to,qa,Xa));else{var Go=qa,pa=to,cs=qa,Ko=to,gs=yo,Ya=yo,zo=Bn.apply(this,arguments)/2,Ka=zo>a&&(on?+on.apply(this,arguments):i(Ta*Ta+Sa*Sa)),Yo=o(S(Sa-Ta)/2,+yr.apply(this,arguments)),ns=Yo,hs=Yo,ho,Ro;if(Ka>a){var Ls=d(Ka/Ta*n(zo)),Vs=d(Ka/Sa*n(zo));(gs-=Ls*2)>a?(Ls*=Xa?1:-1,cs+=Ls,Ko-=Ls):(gs=0,cs=Ko=(qa+to)/2),(Ya-=Vs*2)>a?(Vs*=Xa?1:-1,Go+=Vs,pa-=Vs):(Ya=0,Go=pa=(qa+to)/2)}var Ws=Sa*t(Go),fs=Sa*n(Go),Mi=Ta*t(Ko),Da=Ta*n(Ko);if(Yo>a){var pl=Sa*t(pa),Xs=Sa*n(pa),Eo=Ta*t(cs),Ys=Ta*n(cs),As;if(yoa?hs>a?(ho=m(Eo,Ys,Ws,fs,Sa,hs,Xa),Ro=m(pl,Xs,Mi,Da,Sa,hs,Xa),wn.moveTo(ho.cx+ho.x01,ho.cy+ho.y01),hsa)||!(gs>a)?wn.lineTo(Mi,Da):ns>a?(ho=m(Mi,Da,pl,Xs,Ta,-ns,Xa),Ro=m(Ws,fs,Eo,Ys,Ta,-ns,Xa),wn.lineTo(ho.cx+ho.x01,ho.cy+ho.y01),ns=Sa;--qa)wn.point(pa[qa],cs[qa]);wn.lineEnd(),wn.areaEnd()}Xa&&(pa[Ta]=+kt(yo,Ta,pi),cs[Ta]=+yr(yo,Ta,pi),wn.point(or?+or(yo,Ta,pi):pa[Ta],on?+on(yo,Ta,pi):cs[Ta]))}if(Go)return wn=null,Go+""||null}function Ui(){return P().defined(An).curve(Bn).context(Zn)}return Dn.x=function(pi){return arguments.length?(kt=typeof pi=="function"?pi:A(+pi),or=null,Dn):kt},Dn.x0=function(pi){return arguments.length?(kt=typeof pi=="function"?pi:A(+pi),Dn):kt},Dn.x1=function(pi){return arguments.length?(or=pi==null?null:typeof pi=="function"?pi:A(+pi),Dn):or},Dn.y=function(pi){return arguments.length?(yr=typeof pi=="function"?pi:A(+pi),on=null,Dn):yr},Dn.y0=function(pi){return arguments.length?(yr=typeof pi=="function"?pi:A(+pi),Dn):yr},Dn.y1=function(pi){return arguments.length?(on=pi==null?null:typeof pi=="function"?pi:A(+pi),Dn):on},Dn.lineX0=Dn.lineY0=function(){return Ui().x(kt).y(yr)},Dn.lineY1=function(){return Ui().x(kt).y(on)},Dn.lineX1=function(){return Ui().x(or).y(yr)},Dn.defined=function(pi){return arguments.length?(An=typeof pi=="function"?pi:A(!!pi),Dn):An},Dn.curve=function(pi){return arguments.length?(Bn=pi,Zn!=null&&(wn=Bn(Zn)),Dn):Bn},Dn.context=function(pi){return arguments.length?(pi==null?Zn=wn=null:wn=Bn(Zn=pi),Dn):Zn},Dn}function z(kt,or){return orkt?1:or>=kt?0:NaN}function F(kt){return kt}function B(){var kt=F,or=z,yr=null,on=A(0),An=A(h),Zn=A(0);function Bn(wn){var Dn,Ui=wn.length,pi,Ta,Sa=0,qa=new Array(Ui),to=new Array(Ui),yo=+on.apply(this,arguments),Xa=Math.min(h,Math.max(-h,An.apply(this,arguments)-yo)),Go,pa=Math.min(Math.abs(Xa)/Ui,Zn.apply(this,arguments)),cs=pa*(Xa<0?-1:1),Ko;for(Dn=0;Dn0&&(Sa+=Ko);for(or!=null?qa.sort(function(gs,Ya){return or(to[gs],to[Ya])}):yr!=null&&qa.sort(function(gs,Ya){return yr(wn[gs],wn[Ya])}),Dn=0,Ta=Sa?(Xa-Ui*cs)/Sa:0;Dn0?Ko*Ta:0)+cs,to[pi]={data:wn[pi],index:Dn,value:Ko,startAngle:yo,endAngle:Go,padAngle:pa};return to}return Bn.value=function(wn){return arguments.length?(kt=typeof wn=="function"?wn:A(+wn),Bn):kt},Bn.sortValues=function(wn){return arguments.length?(or=wn,yr=null,Bn):or},Bn.sort=function(wn){return arguments.length?(yr=wn,or=null,Bn):yr},Bn.startAngle=function(wn){return arguments.length?(on=typeof wn=="function"?wn:A(+wn),Bn):on},Bn.endAngle=function(wn){return arguments.length?(An=typeof wn=="function"?wn:A(+wn),Bn):An},Bn.padAngle=function(wn){return arguments.length?(Zn=typeof wn=="function"?wn:A(+wn),Bn):Zn},Bn}var O=N(u);function I(kt){this._curve=kt}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(kt,or){this._curve.point(or*Math.sin(kt),or*-Math.cos(kt))}};function N(kt){function or(yr){return new I(kt(yr))}return or._curve=kt,or}function U(kt){var or=kt.curve;return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt.curve=function(yr){return arguments.length?or(N(yr)):or()._curve},kt}function W(){return U(P().curve(O))}function Q(){var kt=L().curve(O),or=kt.curve,yr=kt.lineX0,on=kt.lineX1,An=kt.lineY0,Zn=kt.lineY1;return kt.angle=kt.x,delete kt.x,kt.startAngle=kt.x0,delete kt.x0,kt.endAngle=kt.x1,delete kt.x1,kt.radius=kt.y,delete kt.y,kt.innerRadius=kt.y0,delete kt.y0,kt.outerRadius=kt.y1,delete kt.y1,kt.lineStartAngle=function(){return U(yr())},delete kt.lineX0,kt.lineEndAngle=function(){return U(on())},delete kt.lineX1,kt.lineInnerRadius=function(){return U(An())},delete kt.lineY0,kt.lineOuterRadius=function(){return U(Zn())},delete kt.lineY1,kt.curve=function(Bn){return arguments.length?or(N(Bn)):or()._curve},kt}function le(kt,or){return[(or=+or)*Math.cos(kt-=Math.PI/2),or*Math.sin(kt)]}var se=Array.prototype.slice;function fe(kt){return kt.source}function G(kt){return kt.target}function $(kt){var or=fe,yr=G,on=y,An=f,Zn=null;function Bn(){var wn,Dn=se.call(arguments),Ui=or.apply(this,Dn),pi=yr.apply(this,Dn);if(Zn||(Zn=wn=x.path()),kt(Zn,+on.apply(this,(Dn[0]=Ui,Dn)),+An.apply(this,Dn),+on.apply(this,(Dn[0]=pi,Dn)),+An.apply(this,Dn)),wn)return Zn=null,wn+""||null}return Bn.source=function(wn){return arguments.length?(or=wn,Bn):or},Bn.target=function(wn){return arguments.length?(yr=wn,Bn):yr},Bn.x=function(wn){return arguments.length?(on=typeof wn=="function"?wn:A(+wn),Bn):on},Bn.y=function(wn){return arguments.length?(An=typeof wn=="function"?wn:A(+wn),Bn):An},Bn.context=function(wn){return arguments.length?(Zn=wn??null,Bn):Zn},Bn}function J(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or=(or+on)/2,yr,or,An,on,An)}function X(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or,yr=(yr+An)/2,on,yr,on,An)}function re(kt,or,yr,on,An){var Zn=le(or,yr),Bn=le(or,yr=(yr+An)/2),wn=le(on,yr),Dn=le(on,An);kt.moveTo(Zn[0],Zn[1]),kt.bezierCurveTo(Bn[0],Bn[1],wn[0],wn[1],Dn[0],Dn[1])}function ae(){return $(J)}function j(){return $(X)}function ee(){var kt=$(re);return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt}var ie={draw:function(kt,or){var yr=Math.sqrt(or/s);kt.moveTo(yr,0),kt.arc(0,0,yr,0,h)}},ce={draw:function(kt,or){var yr=Math.sqrt(or/5)/2;kt.moveTo(-3*yr,-yr),kt.lineTo(-yr,-yr),kt.lineTo(-yr,-3*yr),kt.lineTo(yr,-3*yr),kt.lineTo(yr,-yr),kt.lineTo(3*yr,-yr),kt.lineTo(3*yr,yr),kt.lineTo(yr,yr),kt.lineTo(yr,3*yr),kt.lineTo(-yr,3*yr),kt.lineTo(-yr,yr),kt.lineTo(-3*yr,yr),kt.closePath()}},xe=Math.sqrt(1/3),Te=xe*2,Ue={draw:function(kt,or){var yr=Math.sqrt(or/Te),on=yr*xe;kt.moveTo(0,-yr),kt.lineTo(on,0),kt.lineTo(0,yr),kt.lineTo(-on,0),kt.closePath()}},Ie=.8908130915292852,Ye=Math.sin(s/10)/Math.sin(7*s/10),it=Math.sin(h/10)*Ye,at=-Math.cos(h/10)*Ye,tt={draw:function(kt,or){var yr=Math.sqrt(or*Ie),on=it*yr,An=at*yr;kt.moveTo(0,-yr),kt.lineTo(on,An);for(var Zn=1;Zn<5;++Zn){var Bn=h*Zn/5,wn=Math.cos(Bn),Dn=Math.sin(Bn);kt.lineTo(Dn*yr,-wn*yr),kt.lineTo(wn*on-Dn*An,Dn*on+wn*An)}kt.closePath()}},ut={draw:function(kt,or){var yr=Math.sqrt(or),on=-yr/2;kt.rect(on,on,yr,yr)}},Me=Math.sqrt(3),pe={draw:function(kt,or){var yr=-Math.sqrt(or/(Me*3));kt.moveTo(0,yr*2),kt.lineTo(-Me*yr,-yr),kt.lineTo(Me*yr,-yr),kt.closePath()}},ue=-.5,Oe=Math.sqrt(3)/2,rt=1/Math.sqrt(12),ot=(rt/2+1)*3,et={draw:function(kt,or){var yr=Math.sqrt(or/ot),on=yr/2,An=yr*rt,Zn=on,Bn=yr*rt+yr,wn=-Zn,Dn=Bn;kt.moveTo(on,An),kt.lineTo(Zn,Bn),kt.lineTo(wn,Dn),kt.lineTo(ue*on-Oe*An,Oe*on+ue*An),kt.lineTo(ue*Zn-Oe*Bn,Oe*Zn+ue*Bn),kt.lineTo(ue*wn-Oe*Dn,Oe*wn+ue*Dn),kt.lineTo(ue*on+Oe*An,ue*An-Oe*on),kt.lineTo(ue*Zn+Oe*Bn,ue*Bn-Oe*Zn),kt.lineTo(ue*wn+Oe*Dn,ue*Dn-Oe*wn),kt.closePath()}},Lt=[ie,ce,Ue,ut,tt,pe,et];function Et(){var kt=A(ie),or=A(64),yr=null;function on(){var An;if(yr||(yr=An=x.path()),kt.apply(this,arguments).draw(yr,+or.apply(this,arguments)),An)return yr=null,An+""||null}return on.type=function(An){return arguments.length?(kt=typeof An=="function"?An:A(An),on):kt},on.size=function(An){return arguments.length?(or=typeof An=="function"?An:A(+An),on):or},on.context=function(An){return arguments.length?(yr=An??null,on):yr},on}function Bt(){}function qt(kt,or,yr){kt._context.bezierCurveTo((2*kt._x0+kt._x1)/3,(2*kt._y0+kt._y1)/3,(kt._x0+2*kt._x1)/3,(kt._y0+2*kt._y1)/3,(kt._x0+4*kt._x1+or)/6,(kt._y0+4*kt._y1+yr)/6)}function fr(kt){this._context=kt}fr.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:qt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);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:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function ar(kt){return new fr(kt)}function Rr(kt){this._context=kt}Rr.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x2=kt,this._y2=or;break;case 1:this._point=2,this._x3=kt,this._y3=or;break;case 2:this._point=3,this._x4=kt,this._y4=or,this._context.moveTo((this._x0+4*this._x1+kt)/6,(this._y0+4*this._y1+or)/6);break;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function gr(kt){return new Rr(kt)}function br(kt){this._context=kt}br.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var yr=(this._x0+4*this._x1+kt)/6,on=(this._y0+4*this._y1+or)/6;this._line?this._context.lineTo(yr,on):this._context.moveTo(yr,on);break;case 3:this._point=4;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function _t(kt){return new br(kt)}function Be(kt,or){this._basis=new fr(kt),this._beta=or}Be.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length-1;if(yr>0)for(var on=kt[0],An=or[0],Zn=kt[yr]-on,Bn=or[yr]-An,wn=-1,Dn;++wn<=yr;)Dn=wn/yr,this._basis.point(this._beta*kt[wn]+(1-this._beta)*(on+Dn*Zn),this._beta*or[wn]+(1-this._beta)*(An+Dn*Bn));this._x=this._y=null,this._basis.lineEnd()},point:function(kt,or){this._x.push(+kt),this._y.push(+or)}};var Ke=function kt(or){function yr(on){return or===1?new fr(on):new Be(on,or)}return yr.beta=function(on){return kt(+on)},yr}(.85);function je(kt,or,yr){kt._context.bezierCurveTo(kt._x1+kt._k*(kt._x2-kt._x0),kt._y1+kt._k*(kt._y2-kt._y0),kt._x2+kt._k*(kt._x1-or),kt._y2+kt._k*(kt._y1-yr),kt._x2,kt._y2)}function Se(kt,or){this._context=kt,this._k=(1-or)/6}Se.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:je(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2,this._x1=kt,this._y1=or;break;case 2:this._point=3;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var He=function kt(or){function yr(on){return new Se(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Ee(kt,or){this._context=kt,this._k=(1-or)/6}Ee.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var we=function kt(or){function yr(on){return new Ee(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Le(kt,or){this._context=kt,this._k=(1-or)/6}Le.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,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:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var nt=function kt(or){function yr(on){return new Le(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function pt(kt,or,yr){var on=kt._x1,An=kt._y1,Zn=kt._x2,Bn=kt._y2;if(kt._l01_a>a){var wn=2*kt._l01_2a+3*kt._l01_a*kt._l12_a+kt._l12_2a,Dn=3*kt._l01_a*(kt._l01_a+kt._l12_a);on=(on*wn-kt._x0*kt._l12_2a+kt._x2*kt._l01_2a)/Dn,An=(An*wn-kt._y0*kt._l12_2a+kt._y2*kt._l01_2a)/Dn}if(kt._l23_a>a){var Ui=2*kt._l23_2a+3*kt._l23_a*kt._l12_a+kt._l12_2a,pi=3*kt._l23_a*(kt._l23_a+kt._l12_a);Zn=(Zn*Ui+kt._x1*kt._l23_2a-or*kt._l12_2a)/pi,Bn=(Bn*Ui+kt._y1*kt._l23_2a-yr*kt._l12_2a)/pi}kt._context.bezierCurveTo(on,An,Zn,Bn,kt._x2,kt._y2)}function bt(kt,or){this._context=kt,this._alpha=or}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Rt=function kt(or){function yr(on){return or?new bt(on,or):new Se(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function Nt(kt,or){this._context=kt,this._alpha=or}Nt.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Xt=function kt(or){function yr(on){return or?new Nt(on,or):new Ee(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function $t(kt,or){this._context=kt,this._alpha=or}$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,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:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var ur=function kt(or){function yr(on){return or?new $t(on,or):new Le(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function pn(kt){this._context=kt}pn.prototype={areaStart:Bt,areaEnd:Bt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(kt,or){kt=+kt,or=+or,this._point?this._context.lineTo(kt,or):(this._point=1,this._context.moveTo(kt,or))}};function Rn(kt){return new pn(kt)}function Nn(kt){return kt<0?-1:1}function On(kt,or,yr){var on=kt._x1-kt._x0,An=or-kt._x1,Zn=(kt._y1-kt._y0)/(on||An<0&&-0),Bn=(yr-kt._y1)/(An||on<0&&-0),wn=(Zn*An+Bn*on)/(on+An);return(Nn(Zn)+Nn(Bn))*Math.min(Math.abs(Zn),Math.abs(Bn),.5*Math.abs(wn))||0}function ni(kt,or){var yr=kt._x1-kt._x0;return yr?(3*(kt._y1-kt._y0)/yr-or)/2:or}function zn(kt,or,yr){var on=kt._x0,An=kt._y0,Zn=kt._x1,Bn=kt._y1,wn=(Zn-on)/3;kt._context.bezierCurveTo(on+wn,An+wn*or,Zn-wn,Bn-wn*yr,Zn,Bn)}function Qn(kt){this._context=kt}Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zn(this,this._t0,ni(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){var yr=NaN;if(kt=+kt,or=+or,!(kt===this._x1&&or===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3,zn(this,ni(this,yr=On(this,kt,or)),yr);break;default:zn(this,this._t0,yr=On(this,kt,or));break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or,this._t0=yr}}};function gi(kt){this._context=new Zt(kt)}(gi.prototype=Object.create(Qn.prototype)).point=function(kt,or){Qn.prototype.point.call(this,or,kt)};function Zt(kt){this._context=kt}Zt.prototype={moveTo:function(kt,or){this._context.moveTo(or,kt)},closePath:function(){this._context.closePath()},lineTo:function(kt,or){this._context.lineTo(or,kt)},bezierCurveTo:function(kt,or,yr,on,An,Zn){this._context.bezierCurveTo(or,kt,on,yr,Zn,An)}};function Ft(kt){return new Qn(kt)}function Ht(kt){return new gi(kt)}function Vt(kt){this._context=kt}Vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length;if(yr)if(this._line?this._context.lineTo(kt[0],or[0]):this._context.moveTo(kt[0],or[0]),yr===2)this._context.lineTo(kt[1],or[1]);else for(var on=wr(kt),An=wr(or),Zn=0,Bn=1;Bn=0;--or)An[or]=(Bn[or]-An[or+1])/Zn[or];for(Zn[yr-1]=(kt[yr]+An[yr-1])/2,or=0;or=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,or),this._context.lineTo(kt,or);else{var yr=this._x*(1-this._t)+kt*this._t;this._context.lineTo(yr,this._y),this._context.lineTo(yr,or)}break}}this._x=kt,this._y=or}};function en(kt){return new xn(kt,.5)}function Fn(kt){return new xn(kt,0)}function Wn(kt){return new xn(kt,1)}function ri(kt,or){if((Bn=kt.length)>1)for(var yr=1,on,An,Zn=kt[or[0]],Bn,wn=Zn.length;yr=0;)yr[or]=or;return yr}function ui(kt,or){return kt[or]}function gt(){var kt=A([]),or=Sn,yr=ri,on=ui;function An(Zn){var Bn=kt.apply(this,arguments),wn,Dn=Zn.length,Ui=Bn.length,pi=new Array(Ui),Ta;for(wn=0;wn0){for(var yr,on,An=0,Zn=kt[0].length,Bn;An0)for(var yr,on=0,An,Zn,Bn,wn,Dn,Ui=kt[or[0]].length;on0?(An[0]=Bn,An[1]=Bn+=Zn):Zn<0?(An[1]=wn,An[0]=wn+=Zn):(An[0]=0,An[1]=Zn)}function Ir(kt,or){if((An=kt.length)>0){for(var yr=0,on=kt[or[0]],An,Zn=on.length;yr0)||!((Zn=(An=kt[or[0]]).length)>0))){for(var yr=0,on=1,An,Zn,Bn;onZn&&(Zn=An,yr=or);return yr}function Ur(kt){var or=kt.map(Dr);return Sn(kt).sort(function(yr,on){return or[yr]-or[on]})}function Dr(kt){for(var or=0,yr=-1,on=kt.length,An;++yr0;--re)ee(X*=.99),ie(),j(X),ie();function ae(){var ce=x.max(J,function(Ue){return Ue.length}),xe=U*(P-y)/(ce-1);z>xe&&(z=xe);var Te=x.min(J,function(Ue){return(P-y-(Ue.length-1)*z)/x.sum(Ue,h)});J.forEach(function(Ue){Ue.forEach(function(Ie,Ye){Ie.y1=(Ie.y0=Ye)+Ie.value*Te})}),$.links.forEach(function(Ue){Ue.width=Ue.value*Te})}function j(ce){J.forEach(function(xe){xe.forEach(function(Te){if(Te.targetLinks.length){var Ue=(x.sum(Te.targetLinks,d)/x.sum(Te.targetLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ee(ce){J.slice().reverse().forEach(function(xe){xe.forEach(function(Te){if(Te.sourceLinks.length){var Ue=(x.sum(Te.sourceLinks,T)/x.sum(Te.sourceLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ie(){J.forEach(function(ce){var xe,Te,Ue=y,Ie=ce.length,Ye;for(ce.sort(c),Ye=0;Ye0&&(xe.y0+=Te,xe.y1+=Te),Ue=xe.y1+z;if(Te=Ue-z-P,Te>0)for(Ue=xe.y0-=Te,xe.y1-=Te,Ye=Ie-2;Ye>=0;--Ye)xe=ce[Ye],Te=xe.y1+z-Ue,Te>0&&(xe.y0-=Te,xe.y1-=Te),Ue=xe.y0})}}function G($){$.nodes.forEach(function(J){J.sourceLinks.sort(s),J.targetLinks.sort(a)}),$.nodes.forEach(function(J){var X=J.y0,re=X;J.sourceLinks.forEach(function(ae){ae.y0=X+ae.width/2,X+=ae.width}),J.targetLinks.forEach(function(ae){ae.y1=re+ae.width/2,re+=ae.width})})}return W};function m(u){return[u.source.x1,u.y0]}function b(u){return[u.target.x0,u.y1]}var v=function(){return S.linkHorizontal().source(m).target(b)};g.sankey=E,g.sankeyCenter=n,g.sankeyLeft=t,g.sankeyRight=r,g.sankeyJustify=o,g.sankeyLinkHorizontal=v,Object.defineProperty(g,"__esModule",{value:!0})})}}),Oz=ke({"node_modules/elementary-circuits-directed-graph/johnson.js"(Z,H){var g=bM();H.exports=function(A,S){var e=[],t=[],r=[],o={},n=[],i;function a(M){r[M]=!1,o.hasOwnProperty(M)&&Object.keys(o[M]).forEach(function(E){delete o[M][E],r[E]&&a(E)})}function s(M){var E=!1;t.push(M),r[M]=!0;var m,b;for(m=0;m=M})}function p(M){h(M);for(var E=A,m=g(E),b=m.components.filter(function(z){return z.length>1}),v=1/0,u,y=0;y"u"?"undefined":s(Se))!=="object"&&(Se=Ke.source=m(Be,Se)),(typeof He>"u"?"undefined":s(He))!=="object"&&(He=Ke.target=m(Be,He)),Se.sourceLinks.push(Ke),He.targetLinks.push(Ke)}),_t}function qt(_t){_t.nodes.forEach(function(Be){Be.partOfCycle=!1,Be.value=Math.max(x.sum(Be.sourceLinks,d),x.sum(Be.targetLinks,d)),Be.sourceLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)}),Be.targetLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)})})}function fr(_t){var Be=0,Ke=0,je=0,Se=0,He=x.max(_t.nodes,function(Ee){return Ee.column});return _t.links.forEach(function(Ee){Ee.circular&&(Ee.circularLinkType=="top"?Be=Be+Ee.width:Ke=Ke+Ee.width,Ee.target.column==0&&(Se=Se+Ee.width),Ee.source.column==He&&(je=je+Ee.width))}),Be=Be>0?Be+v+u:Be,Ke=Ke>0?Ke+v+u:Ke,je=je>0?je+v+u:je,Se=Se>0?Se+v+u:Se,{top:Be,bottom:Ke,left:Se,right:je}}function ar(_t,Be){var Ke=x.max(_t.nodes,function(nt){return nt.column}),je=it-Ie,Se=at-Ye,He=je+Be.right+Be.left,Ee=Se+Be.top+Be.bottom,we=je/He,Le=Se/Ee;return Ie=Ie*we+Be.left,it=Be.right==0?it:it*we,Ye=Ye*Le+Be.top,at=at*Le,_t.nodes.forEach(function(nt){nt.x0=Ie+nt.column*((it-Ie-tt)/Ke),nt.x1=nt.x0+tt}),Le}function Rr(_t){var Be,Ke,je;for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.depth=je,Se.sourceLinks.forEach(function(He){Ke.indexOf(He.target)<0&&!He.circular&&Ke.push(He.target)})});for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.height=je,Se.targetLinks.forEach(function(He){Ke.indexOf(He.source)<0&&!He.circular&&Ke.push(He.source)})});_t.nodes.forEach(function(Se){Se.column=Math.floor(pe.call(null,Se,je))})}function gr(_t,Be,Ke){var je=A.nest().key(function(nt){return nt.column}).sortKeys(x.ascending).entries(_t.nodes).map(function(nt){return nt.values});Ee(Ke),Le();for(var Se=1,He=Be;He>0;--He)we(Se*=.99,Ke),Le();function Ee(nt){if(et){var pt=1/0;je.forEach(function(Xt){var $t=at*et/(Xt.length+1);pt=$t0))if(Xt==0&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else if(Xt==bt-1&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else{var pn=0,Rn=x.mean($t.sourceLinks,_),Nn=x.mean($t.targetLinks,l);Rn&&Nn?pn=(Rn+Nn)/2:pn=Rn||Nn;var On=(pn-T($t))*nt;$t.y0+=On,$t.y1+=On}})})}function Le(){je.forEach(function(nt){var pt,bt,Rt=Ye,Nt=nt.length,Xt;for(nt.sort(p),Xt=0;Xt0&&(pt.y0+=bt,pt.y1+=bt),Rt=pt.y1+ut;if(bt=Rt-ut-at,bt>0)for(Rt=pt.y0-=bt,pt.y1-=bt,Xt=Nt-2;Xt>=0;--Xt)pt=nt[Xt],bt=pt.y1+ut-Rt,bt>0&&(pt.y0-=bt,pt.y1-=bt),Rt=pt.y0})}}function br(_t){_t.nodes.forEach(function(Be){Be.sourceLinks.sort(h),Be.targetLinks.sort(c)}),_t.nodes.forEach(function(Be){var Ke=Be.y0,je=Ke,Se=Be.y1,He=Se;Be.sourceLinks.forEach(function(Ee){Ee.circular?(Ee.y0=Se-Ee.width/2,Se=Se-Ee.width):(Ee.y0=Ke+Ee.width/2,Ke+=Ee.width)}),Be.targetLinks.forEach(function(Ee){Ee.circular?(Ee.y1=He-Ee.width/2,He=He-Ee.width):(Ee.y1=je+Ee.width/2,je+=Ee.width)})})}return Et}function P(Ie,Ye,it){var at=0;if(it===null){for(var tt=[],ut=0;utYe.source.column)}function B(Ie,Ye){var it=0;Ie.sourceLinks.forEach(function(tt){it=tt.circular&&!Te(tt,Ye)?it+1:it});var at=0;return Ie.targetLinks.forEach(function(tt){at=tt.circular&&!Te(tt,Ye)?at+1:at}),it+at}function O(Ie){var Ye=Ie.source.sourceLinks,it=0;Ye.forEach(function(ut){it=ut.circular?it+1:it});var at=Ie.target.targetLinks,tt=0;return at.forEach(function(ut){tt=ut.circular?tt+1:tt}),!(it>1||tt>1)}function I(Ie,Ye,it){return Ie.sort(W),Ie.forEach(function(at,tt){var ut=0;if(Te(at,it)&&O(at))at.circularPathData.verticalBuffer=ut+at.width/2;else{var Me=0;for(Me;Meut?pe:ut}at.circularPathData.verticalBuffer=ut+at.width/2}}),Ie}function N(Ie,Ye,it,at){var tt=5,ut=x.min(Ie.links,function(ue){return ue.source.y0});Ie.links.forEach(function(ue){ue.circular&&(ue.circularPathData={})});var Me=Ie.links.filter(function(ue){return ue.circularLinkType=="top"});I(Me,Ye,at);var pe=Ie.links.filter(function(ue){return ue.circularLinkType=="bottom"});I(pe,Ye,at),Ie.links.forEach(function(ue){if(ue.circular){if(ue.circularPathData.arcRadius=ue.width+u,ue.circularPathData.leftNodeBuffer=tt,ue.circularPathData.rightNodeBuffer=tt,ue.circularPathData.sourceWidth=ue.source.x1-ue.source.x0,ue.circularPathData.sourceX=ue.source.x0+ue.circularPathData.sourceWidth,ue.circularPathData.targetX=ue.target.x0,ue.circularPathData.sourceY=ue.y0,ue.circularPathData.targetY=ue.y1,Te(ue,at)&&O(ue))ue.circularPathData.leftSmallArcRadius=u+ue.width/2,ue.circularPathData.leftLargeArcRadius=u+ue.width/2,ue.circularPathData.rightSmallArcRadius=u+ue.width/2,ue.circularPathData.rightLargeArcRadius=u+ue.width/2,ue.circularLinkType=="bottom"?(ue.circularPathData.verticalFullExtent=ue.source.y1+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ue.source.y0-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius);else{var Oe=ue.source.column,rt=ue.circularLinkType,ot=Ie.links.filter(function(Et){return Et.source.column==Oe&&Et.circularLinkType==rt});ue.circularLinkType=="bottom"?ot.sort(le):ot.sort(Q);var et=0;ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.leftSmallArcRadius=u+ue.width/2+et,ue.circularPathData.leftLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),Oe=ue.target.column,ot=Ie.links.filter(function(Et){return Et.target.column==Oe&&Et.circularLinkType==rt}),ue.circularLinkType=="bottom"?ot.sort(fe):ot.sort(se),et=0,ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.rightSmallArcRadius=u+ue.width/2+et,ue.circularPathData.rightLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),ue.circularLinkType=="bottom"?(ue.circularPathData.verticalFullExtent=Math.max(it,ue.source.y1,ue.target.y1)+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ut-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius)}ue.circularPathData.leftInnerExtent=ue.circularPathData.sourceX+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightInnerExtent=ue.circularPathData.targetX-ue.circularPathData.rightNodeBuffer,ue.circularPathData.leftFullExtent=ue.circularPathData.sourceX+ue.circularPathData.leftLargeArcRadius+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightFullExtent=ue.circularPathData.targetX-ue.circularPathData.rightLargeArcRadius-ue.circularPathData.rightNodeBuffer}if(ue.circular)ue.path=U(ue);else{var Lt=S.linkHorizontal().source(function(Et){var Bt=Et.source.x0+(Et.source.x1-Et.source.x0),qt=Et.y0;return[Bt,qt]}).target(function(Et){var Bt=Et.target.x0,qt=Et.y1;return[Bt,qt]});ue.path=Lt(ue)}})}function U(Ie){var Ye="";return Ie.circularLinkType=="top"?Ye="M"+Ie.circularPathData.sourceX+" "+Ie.circularPathData.sourceY+" L"+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.sourceY+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftSmallArcRadius+" 0 0 0 "+Ie.circularPathData.leftFullExtent+" "+(Ie.circularPathData.sourceY-Ie.circularPathData.leftSmallArcRadius)+" L"+Ie.circularPathData.leftFullExtent+" "+Ie.circularPathData.verticalLeftInnerExtent+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftLargeArcRadius+" 0 0 0 "+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" L"+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightLargeArcRadius+" 0 0 0 "+Ie.circularPathData.rightFullExtent+" "+Ie.circularPathData.verticalRightInnerExtent+" L"+Ie.circularPathData.rightFullExtent+" "+(Ie.circularPathData.targetY-Ie.circularPathData.rightSmallArcRadius)+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightSmallArcRadius+" 0 0 0 "+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.targetY+" L"+Ie.circularPathData.targetX+" "+Ie.circularPathData.targetY:Ye="M"+Ie.circularPathData.sourceX+" "+Ie.circularPathData.sourceY+" L"+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.sourceY+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftSmallArcRadius+" 0 0 1 "+Ie.circularPathData.leftFullExtent+" "+(Ie.circularPathData.sourceY+Ie.circularPathData.leftSmallArcRadius)+" L"+Ie.circularPathData.leftFullExtent+" "+Ie.circularPathData.verticalLeftInnerExtent+" A"+Ie.circularPathData.leftLargeArcRadius+" "+Ie.circularPathData.leftLargeArcRadius+" 0 0 1 "+Ie.circularPathData.leftInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" L"+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.verticalFullExtent+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightLargeArcRadius+" 0 0 1 "+Ie.circularPathData.rightFullExtent+" "+Ie.circularPathData.verticalRightInnerExtent+" L"+Ie.circularPathData.rightFullExtent+" "+(Ie.circularPathData.targetY+Ie.circularPathData.rightSmallArcRadius)+" A"+Ie.circularPathData.rightLargeArcRadius+" "+Ie.circularPathData.rightSmallArcRadius+" 0 0 1 "+Ie.circularPathData.rightInnerExtent+" "+Ie.circularPathData.targetY+" L"+Ie.circularPathData.targetX+" "+Ie.circularPathData.targetY,Ye}function W(Ie,Ye){return G(Ie)==G(Ye)?Ie.circularLinkType=="bottom"?le(Ie,Ye):Q(Ie,Ye):G(Ye)-G(Ie)}function Q(Ie,Ye){return Ie.y0-Ye.y0}function le(Ie,Ye){return Ye.y0-Ie.y0}function se(Ie,Ye){return Ie.y1-Ye.y1}function fe(Ie,Ye){return Ye.y1-Ie.y1}function G(Ie){return Ie.target.column-Ie.source.column}function $(Ie){return Ie.target.x0-Ie.source.x1}function J(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)=="up"?Ie.y1+at:Ie.y1-at;return tt}function X(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)=="up"?Ie.y1-at:Ie.y1+at;return tt}function re(Ie,Ye,it,at){Ie.links.forEach(function(tt){if(!tt.circular&&tt.target.column-tt.source.column>1){var ut=tt.source.column+1,Me=tt.target.column-1,pe=1,ue=Me-ut+1;for(pe=1;ut<=Me;ut++,pe++)Ie.nodes.forEach(function(Oe){if(Oe.column==ut){var rt=pe/(ue+1),ot=Math.pow(1-rt,3),et=3*rt*Math.pow(1-rt,2),Lt=3*Math.pow(rt,2)*(1-rt),Et=Math.pow(rt,3),Bt=ot*tt.y0+et*tt.y0+Lt*tt.y1+Et*tt.y1,qt=Bt-tt.width/2,fr=Bt+tt.width/2,ar;qt>Oe.y0&&qtOe.y0&&frOe.y1&&j(Rr,ar,Ye,it)})):qtOe.y1&&(ar=fr-Oe.y0+10,Oe=j(Oe,ar,Ye,it),Ie.nodes.forEach(function(Rr){b(Rr,at)==b(Oe,at)||Rr.column!=Oe.column||Rr.y0Oe.y1&&j(Rr,ar,Ye,it)}))}})}})}function ae(Ie,Ye){return Ie.y0>Ye.y0&&Ie.y0Ye.y0&&Ie.y1Ye.y1}function j(Ie,Ye,it,at){return Ie.y0+Ye>=it&&Ie.y1+Ye<=at&&(Ie.y0=Ie.y0+Ye,Ie.y1=Ie.y1+Ye,Ie.targetLinks.forEach(function(tt){tt.y1=tt.y1+Ye}),Ie.sourceLinks.forEach(function(tt){tt.y0=tt.y0+Ye})),Ie}function ee(Ie,Ye,it,at){Ie.nodes.forEach(function(tt){at&&tt.y+(tt.y1-tt.y0)>Ye&&(tt.y=tt.y-(tt.y+(tt.y1-tt.y0)-Ye));var ut=Ie.links.filter(function(ue){return b(ue.source,it)==b(tt,it)}),Me=ut.length;Me>1&&ut.sort(function(ue,Oe){if(!ue.circular&&!Oe.circular){if(ue.target.column==Oe.target.column)return ue.y1-Oe.y1;if(ce(ue,Oe)){if(ue.target.column>Oe.target.column){var rt=X(Oe,ue);return ue.y1-rt}if(Oe.target.column>ue.target.column){var ot=X(ue,Oe);return ot-Oe.y1}}else return ue.y1-Oe.y1}if(ue.circular&&!Oe.circular)return ue.circularLinkType=="top"?-1:1;if(Oe.circular&&!ue.circular)return Oe.circularLinkType=="top"?1:-1;if(ue.circular&&Oe.circular)return ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType=="top"?ue.target.column===Oe.target.column?ue.target.y1-Oe.target.y1:Oe.target.column-ue.target.column:ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType=="bottom"?ue.target.column===Oe.target.column?Oe.target.y1-ue.target.y1:ue.target.column-Oe.target.column:ue.circularLinkType=="top"?-1:1});var pe=tt.y0;ut.forEach(function(ue){ue.y0=pe+ue.width/2,pe=pe+ue.width}),ut.forEach(function(ue,Oe){if(ue.circularLinkType=="bottom"){var rt=Oe+1,ot=0;for(rt;rt1&&tt.sort(function(pe,ue){if(!pe.circular&&!ue.circular){if(pe.source.column==ue.source.column)return pe.y0-ue.y0;if(ce(pe,ue)){if(ue.source.column0?"up":"down"}function Te(Ie,Ye){return b(Ie.source,Ye)==b(Ie.target,Ye)}function Ue(Ie,Ye,it){var at=Ie.nodes,tt=Ie.links,ut=!1,Me=!1;if(tt.forEach(function(et){et.circularLinkType=="top"?ut=!0:et.circularLinkType=="bottom"&&(Me=!0)}),ut==!1||Me==!1){var pe=x.min(at,function(et){return et.y0}),ue=x.max(at,function(et){return et.y1}),Oe=ue-pe,rt=it-Ye,ot=rt/Oe;at.forEach(function(et){var Lt=(et.y1-et.y0)*ot;et.y0=(et.y0-pe)*ot,et.y1=et.y0+Lt}),tt.forEach(function(et){et.y0=(et.y0-pe)*ot,et.y1=(et.y1-pe)*ot,et.width=et.width*ot})}}g.sankeyCircular=f,g.sankeyCenter=i,g.sankeyLeft=r,g.sankeyRight=o,g.sankeyJustify=n,Object.defineProperty(g,"__esModule",{value:!0})})}}),TM=ke({"src/traces/sankey/constants.js"(Z,H){"use strict";H.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}}}),Nz=ke({"src/traces/sankey/render.js"(Z,H){"use strict";var g=Dz(),x=(Ym(),hi(Xp)).interpolateNumber,A=_i(),S=Fz(),e=Bz(),t=TM(),r=ru(),o=eo(),n=$o(),i=un(),a=i.strTranslate,s=i.strRotate,c=Dv(),h=c.keyFun,p=c.repeat,d=c.unwrap,T=Wl(),l=lo(),_=Yf(),w=_.CAP_SHIFT,M=_.LINE_SPACING,E=3;function m(J,X,re){var ae=d(X),j=ae.trace,ee=j.domain,ie=j.orientation==="h",ce=j.node.pad,xe=j.node.thickness,Te={justify:S.sankeyJustify,left:S.sankeyLeft,right:S.sankeyRight,center:S.sankeyCenter}[j.node.align],Ue=J.width*(ee.x[1]-ee.x[0]),Ie=J.height*(ee.y[1]-ee.y[0]),Ye=ae._nodes,it=ae._links,at=ae.circular,tt;at?tt=e.sankeyCircular().circularLinkGap(0):tt=S.sankey(),tt.iterations(t.sankeyIterations).size(ie?[Ue,Ie]:[Ie,Ue]).nodeWidth(xe).nodePadding(ce).nodeId(function(Rr){return Rr.pointNumber}).nodeAlign(Te).nodes(Ye).links(it);var ut=tt();tt.nodePadding()=Be||(_t=Be-br.y0,_t>1e-6&&(br.y0+=_t,br.y1+=_t)),Be=br.y1+ce})}function Bt(Rr){var gr=Rr.map(function(He,Ee){return{x0:He.x0,index:Ee}}).sort(function(He,Ee){return He.x0-Ee.x0}),br=[],_t=-1,Be,Ke=-1/0,je;for(Me=0;MeKe+xe&&(_t+=1,Be=Se.x0),Ke=Se.x0,br[_t]||(br[_t]=[]),br[_t].push(Se),je=Be-Se.x0,Se.x0+=je,Se.x1+=je}return br}if(j.node.x.length&&j.node.y.length){for(Me=0;Me0?" L "+j.targetX+" "+j.targetY:"")+"Z"):(re="M "+(j.targetX-X)+" "+(j.targetY-ae)+" L "+(j.rightInnerExtent-X)+" "+(j.targetY-ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightSmallArcRadius+ae)+" 0 0 0 "+(j.rightFullExtent-ae-X)+" "+(j.targetY+j.rightSmallArcRadius)+" L "+(j.rightFullExtent-ae-X)+" "+j.verticalRightInnerExtent,ee&&ie?re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightInnerExtent-ae-X)+" "+(j.verticalFullExtent+ae)+" L "+(j.rightFullExtent+ae-X-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent+ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent:ee?re+=" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent-X-ae-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" L "+(j.leftFullExtent+ae+(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent:re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightInnerExtent-X)+" "+(j.verticalFullExtent+ae)+" L "+j.leftInnerExtent+" "+(j.verticalFullExtent+ae)+" A "+(j.leftLargeArcRadius+ae)+" "+(j.leftLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+j.verticalLeftInnerExtent,re+=" L "+(j.leftFullExtent+ae)+" "+(j.sourceY+j.leftSmallArcRadius)+" A "+(j.leftLargeArcRadius+ae)+" "+(j.leftSmallArcRadius+ae)+" 0 0 0 "+j.leftInnerExtent+" "+(j.sourceY-ae)+" L "+j.sourceX+" "+(j.sourceY-ae)+" L "+j.sourceX+" "+(j.sourceY+ae)+" L "+j.leftInnerExtent+" "+(j.sourceY+ae)+" A "+(j.leftLargeArcRadius-ae)+" "+(j.leftSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent-ae)+" "+(j.sourceY+j.leftSmallArcRadius)+" L "+(j.leftFullExtent-ae)+" "+j.verticalLeftInnerExtent,ee&&ie?re+=" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.leftFullExtent-ae-(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" L "+(j.rightFullExtent+ae-X+(j.rightLargeArcRadius-ae))+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent:ee?re+=" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.leftFullExtent+ae)+" "+(j.verticalFullExtent+ae)+" L "+(j.rightFullExtent-X-ae)+" "+(j.verticalFullExtent+ae)+" A "+(j.rightLargeArcRadius+ae)+" "+(j.rightLargeArcRadius+ae)+" 0 0 0 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent:re+=" A "+(j.leftLargeArcRadius-ae)+" "+(j.leftLargeArcRadius-ae)+" 0 0 1 "+j.leftInnerExtent+" "+(j.verticalFullExtent-ae)+" L "+(j.rightInnerExtent-X)+" "+(j.verticalFullExtent-ae)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightLargeArcRadius-ae)+" 0 0 1 "+(j.rightFullExtent+ae-X)+" "+j.verticalRightInnerExtent,re+=" L "+(j.rightFullExtent+ae-X)+" "+(j.targetY+j.rightSmallArcRadius)+" A "+(j.rightLargeArcRadius-ae)+" "+(j.rightSmallArcRadius-ae)+" 0 0 1 "+(j.rightInnerExtent-X)+" "+(j.targetY+ae)+" L "+(j.targetX-X)+" "+(j.targetY+ae)+(X>0?" L "+j.targetX+" "+j.targetY:"")+"Z"),re}function u(){var J=.5;function X(re){var ae=re.linkArrowLength;if(re.link.circular)return v(re.link,ae);var j=Math.abs((re.link.target.x0-re.link.source.x1)/2);ae>j&&(ae=j);var ee=re.link.source.x1,ie=re.link.target.x0-ae,ce=x(ee,ie),xe=ce(J),Te=ce(1-J),Ue=re.link.y0-re.link.width/2,Ie=re.link.y0+re.link.width/2,Ye=re.link.y1-re.link.width/2,it=re.link.y1+re.link.width/2,at="M"+ee+","+Ue,tt="C"+xe+","+Ue+" "+Te+","+Ye+" "+ie+","+Ye,ut="C"+Te+","+it+" "+xe+","+Ie+" "+ee+","+Ie,Me=ae>0?"L"+(ie+ae)+","+(Ye+re.link.width/2):"";return Me+="L"+ie+","+it,at+tt+Me+ut+"Z"}return X}function y(J,X){var re=r(X.color),ae=t.nodePadAcross,j=J.nodePad/2;X.dx=X.x1-X.x0,X.dy=X.y1-X.y0;var ee=X.dx,ie=Math.max(.5,X.dy),ce="node_"+X.pointNumber;return X.group&&(ce=i.randstr()),X.trace=J.trace,X.curveNumber=J.trace.index,{index:X.pointNumber,key:ce,partOfGroup:X.partOfGroup||!1,group:X.group,traceId:J.key,trace:J.trace,node:X,nodePad:J.nodePad,nodeLineColor:J.nodeLineColor,nodeLineWidth:J.nodeLineWidth,textFont:J.textFont,size:J.horizontal?J.height:J.width,visibleWidth:Math.ceil(ee),visibleHeight:ie,zoneX:-ae,zoneY:-j,zoneWidth:ee+2*ae,zoneHeight:ie+2*j,labelY:J.horizontal?X.dy/2+1:X.dx/2+1,left:X.originalLayer===1,sizeAcross:J.width,forceLayouts:J.forceLayouts,horizontal:J.horizontal,darkBackground:re.getBrightness()<=128,tinyColorHue:o.tinyRGB(re),tinyColorAlpha:re.getAlpha(),valueFormat:J.valueFormat,valueSuffix:J.valueSuffix,sankey:J.sankey,graph:J.graph,arrangement:J.arrangement,uniqueNodeLabelPathId:[J.guid,J.key,ce].join("_"),interactionState:J.interactionState,figure:J}}function f(J){J.attr("transform",function(X){return a(X.node.x0.toFixed(3),X.node.y0.toFixed(3))})}function P(J){J.call(f)}function L(J,X){J.call(P),X.attr("d",u())}function z(J){J.attr("width",function(X){return X.node.x1-X.node.x0}).attr("height",function(X){return X.visibleHeight})}function F(J){return J.link.width>1||J.linkLineWidth>0}function B(J){var X=a(J.translateX,J.translateY);return X+(J.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function O(J,X,re){J.on(".basic",null).on("mouseover.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.hover(this,ae,X),ae.interactionState.hovered=[this,ae])}).on("mousemove.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.follow(this,ae),ae.interactionState.hovered=[this,ae])}).on("mouseout.basic",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1)}).on("click.basic",function(ae){ae.interactionState.hovered&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1),!ae.interactionState.dragInProgress&&!ae.partOfGroup&&re.select(this,ae,X)})}function I(J,X,re,ae){var j=A.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on("dragstart",function(ee){if(ee.arrangement!=="fixed"&&(i.ensureSingle(ae._fullLayout._infolayer,"g","dragcover",function(ce){ae._fullLayout._dragCover=ce}),i.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,se(ee.node),ee.interactionState.hovered&&(re.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement==="snap")){var ie=ee.traceId+"|"+ee.key;ee.forceLayouts[ie]?ee.forceLayouts[ie].alpha(1):N(J,ie,ee,ae),U(J,X,ee,ie,ae)}}).on("drag",function(ee){if(ee.arrangement!=="fixed"){var ie=A.event.x,ce=A.event.y;ee.arrangement==="snap"?(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2,ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2):(ee.arrangement==="freeform"&&(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2),ce=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,ce)),ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2),se(ee.node),ee.arrangement!=="snap"&&(ee.sankey.update(ee.graph),L(J.filter(fe(ee)),X))}}).on("dragend",function(ee){if(ee.arrangement!=="fixed"){ee.interactionState.dragInProgress=!1;for(var ie=0;ie0)window.requestAnimationFrame(ee);else{var xe=re.node.originalX;re.node.x0=xe-re.visibleWidth/2,re.node.x1=xe+re.visibleWidth/2,Q(re,j)}})}function W(J,X,re,ae){return function(){for(var ee=0,ie=0;ie0&&ae.forceLayouts[X].alpha(0)}}function Q(J,X){for(var re=[],ae=[],j=0;j"),color:_(G,"bgcolor")||t.addOpacity(ae.color,1),borderColor:_(G,"bordercolor"),fontFamily:_(G,"font.family"),fontSize:_(G,"font.size"),fontColor:_(G,"font.color"),fontWeight:_(G,"font.weight"),fontStyle:_(G,"font.style"),fontVariant:_(G,"font.variant"),fontTextcase:_(G,"font.textcase"),fontLineposition:_(G,"font.lineposition"),fontShadow:_(G,"font.shadow"),nameLength:_(G,"namelength"),textAlign:_(G,"align"),idealAlign:g.event.x"),color:_(G,"bgcolor")||fe.tinyColorHue,borderColor:_(G,"bordercolor"),fontFamily:_(G,"font.family"),fontSize:_(G,"font.size"),fontColor:_(G,"font.color"),fontWeight:_(G,"font.weight"),fontStyle:_(G,"font.style"),fontVariant:_(G,"font.variant"),fontTextcase:_(G,"font.textcase"),fontLineposition:_(G,"font.lineposition"),fontShadow:_(G,"font.shadow"),nameLength:_(G,"namelength"),textAlign:_(G,"align"),idealAlign:"left",hovertemplate:G.hovertemplate,hovertemplateLabels:ee,eventData:[fe.node]},{container:m._hoverlayer.node(),outerContainer:m._paper.node(),gd:M});a(xe,.85),s(xe)}}},le=function(se,fe,G){M._fullLayout.hovermode!==!1&&(g.select(se).call(d,fe,G),fe.node.trace.node.hoverinfo!=="skip"&&(fe.node.fullData=fe.node.trace,M.emit("plotly_unhover",{event:g.event,points:[fe.node]})),e.loneUnhover(m._hoverlayer.node()))};S(M,b,E,{width:v.w,height:v.h,margin:{t:v.t,r:v.r,b:v.b,l:v.l}},{linkEvents:{hover:P,follow:I,unhover:N,select:f},nodeEvents:{hover:W,follow:Q,unhover:le,select:U}})}}}),Uz=ke({"src/traces/sankey/base_plot.js"(Z){"use strict";var H=ju().overrideAll,g=bh().getModuleCalcData,x=AM(),A=vl(),S=uv(),e=Xh(),t=tf().prepSelect,r=un(),o=lo(),n="sankey";Z.name=n,Z.baseLayoutAttrOverrides=H({hoverlabel:A.hoverlabel},"plot","nested"),Z.plot=function(a){var s=g(a.calcdata,n)[0];x(a,s),Z.updateFx(a)},Z.clean=function(a,s,c,h){var p=h._has&&h._has(n),d=s._has&&s._has(n);p&&!d&&(h._paperdiv.selectAll(".sankey").remove(),h._paperdiv.selectAll(".bgsankey").remove())},Z.updateFx=function(a){for(var s=0;s0}H.exports=function(F,B,O,I){var N=F._fullLayout,U;w(O)&&I&&(U=I()),S.makeTraceGroups(N._indicatorlayer,B,"trace").each(function(W){var Q=W[0],le=Q.trace,se=g.select(this),fe=le._hasGauge,G=le._isAngular,$=le._isBullet,J=le.domain,X={w:N._size.w*(J.x[1]-J.x[0]),h:N._size.h*(J.y[1]-J.y[0]),l:N._size.l+N._size.w*J.x[0],r:N._size.r+N._size.w*(1-J.x[1]),t:N._size.t+N._size.h*(1-J.y[1]),b:N._size.b+N._size.h*J.y[0]},re=X.l+X.w/2,ae=X.t+X.h/2,j=Math.min(X.w/2,X.h),ee=i.innerRadius*j,ie,ce,xe,Te=le.align||"center";if(ce=ae,!fe)ie=X.l+l[Te]*X.w,xe=function(ue){return y(ue,X.w,X.h)};else if(G&&(ie=re,ce=ae+j/2,xe=function(ue){return f(ue,.9*ee)}),$){var Ue=i.bulletPadding,Ie=1-i.bulletNumberDomainSize+Ue;ie=X.l+(Ie+(1-Ie)*l[Te])*X.w,xe=function(ue){return y(ue,(i.bulletNumberDomainSize-Ue)*X.w,X.h)}}m(F,se,W,{numbersX:ie,numbersY:ce,numbersScaler:xe,transitionOpts:O,onComplete:U});var Ye,it;fe&&(Ye={range:le.gauge.axis.range,color:le.gauge.bgcolor,line:{color:le.gauge.bordercolor,width:0},thickness:1},it={range:le.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:le.gauge.bordercolor,width:le.gauge.borderwidth},thickness:1});var at=se.selectAll("g.angular").data(G?W:[]);at.exit().remove();var tt=se.selectAll("g.angularaxis").data(G?W:[]);tt.exit().remove(),G&&E(F,se,W,{radius:j,innerRadius:ee,gauge:at,layer:tt,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var ut=se.selectAll("g.bullet").data($?W:[]);ut.exit().remove();var Me=se.selectAll("g.bulletaxis").data($?W:[]);Me.exit().remove(),$&&M(F,se,W,{gauge:ut,layer:Me,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var pe=se.selectAll("text.title").data(W);pe.exit().remove(),pe.enter().append("text").classed("title",!0),pe.attr("text-anchor",function(){return $?T.right:T[le.title.align]}).text(le.title.text).call(n.font,le.title.font).call(a.convertToTspans,F),pe.attr("transform",function(){var ue=X.l+X.w*l[le.title.align],Oe,rt=i.titlePadding,ot=n.bBox(pe.node());if(fe){if(G)if(le.gauge.axis.visible){var et=n.bBox(tt.node());Oe=et.top-rt-ot.bottom}else Oe=X.t+X.h/2-j/2-ot.bottom-rt;$&&(Oe=ce-(ot.top+ot.bottom)/2,ue=X.l-i.bulletPadding*X.w)}else Oe=le._numbersTop-rt-ot.bottom;return t(ue,Oe)})})};function M(z,F,B,O){var I=B[0].trace,N=O.gauge,U=O.layer,W=O.gaugeBg,Q=O.gaugeOutline,le=O.size,se=I.domain,fe=O.transitionOpts,G=O.onComplete,$,J,X,re,ae;N.enter().append("g").classed("bullet",!0),N.attr("transform",t(le.l,le.t)),U.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),U.selectAll("g.xbulletaxistick,path,text").remove();var j=le.h,ee=I.gauge.bar.thickness*j,ie=se.x[0],ce=se.x[0]+(se.x[1]-se.x[0])*(I._hasNumber||I._hasDelta?1-i.bulletNumberDomainSize:1);$=u(z,I.gauge.axis),$._id="xbulletaxis",$.domain=[ie,ce],$.setScale(),J=s.calcTicks($),X=s.makeTransTickFn($),re=s.getTickSigns($)[2],ae=le.t+le.h,$.visible&&(s.drawTicks(z,$,{vals:$.ticks==="inside"?s.clipEnds($,J):J,layer:U,path:s.makeTickPath($,ae,re),transFn:X}),s.drawLabels(z,$,{vals:J,layer:U,transFn:X,labelFns:s.makeLabelFns($,ae)}));function xe(tt){tt.attr("width",function(ut){return Math.max(0,$.c2p(ut.range[1])-$.c2p(ut.range[0]))}).attr("x",function(ut){return $.c2p(ut.range[0])}).attr("y",function(ut){return .5*(1-ut.thickness)*j}).attr("height",function(ut){return ut.thickness*j})}var Te=[W].concat(I.gauge.steps),Ue=N.selectAll("g.bg-bullet").data(Te);Ue.enter().append("g").classed("bg-bullet",!0).append("rect"),Ue.select("rect").call(xe).call(b),Ue.exit().remove();var Ie=N.selectAll("g.value-bullet").data([I.gauge.bar]);Ie.enter().append("g").classed("value-bullet",!0).append("rect"),Ie.select("rect").attr("height",ee).attr("y",(j-ee)/2).call(b),w(fe)?Ie.select("rect").transition().duration(fe.duration).ease(fe.easing).each("end",function(){G&&G()}).each("interrupt",function(){G&&G()}).attr("width",Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y)))):Ie.select("rect").attr("width",typeof B[0].y=="number"?Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y))):0),Ie.exit().remove();var Ye=B.filter(function(){return I.gauge.threshold.value||I.gauge.threshold.value===0}),it=N.selectAll("g.threshold-bullet").data(Ye);it.enter().append("g").classed("threshold-bullet",!0).append("line"),it.select("line").attr("x1",$.c2p(I.gauge.threshold.value)).attr("x2",$.c2p(I.gauge.threshold.value)).attr("y1",(1-I.gauge.threshold.thickness)/2*j).attr("y2",(1-(1-I.gauge.threshold.thickness)/2)*j).call(d.stroke,I.gauge.threshold.line.color).style("stroke-width",I.gauge.threshold.line.width),it.exit().remove();var at=N.selectAll("g.gauge-outline").data([Q]);at.enter().append("g").classed("gauge-outline",!0).append("rect"),at.select("rect").call(xe).call(b),at.exit().remove()}function E(z,F,B,O){var I=B[0].trace,N=O.size,U=O.radius,W=O.innerRadius,Q=O.gaugeBg,le=O.gaugeOutline,se=[N.l+N.w/2,N.t+N.h/2+U/2],fe=O.gauge,G=O.layer,$=O.transitionOpts,J=O.onComplete,X=Math.PI/2;function re(Lt){var Et=I.gauge.axis.range[0],Bt=I.gauge.axis.range[1],qt=(Lt-Et)/(Bt-Et)*Math.PI-X;return qt<-X?-X:qt>X?X:qt}function ae(Lt){return g.svg.arc().innerRadius((W+U)/2-Lt/2*(U-W)).outerRadius((W+U)/2+Lt/2*(U-W)).startAngle(-X)}function j(Lt){Lt.attr("d",function(Et){return ae(Et.thickness).startAngle(re(Et.range[0])).endAngle(re(Et.range[1]))()})}var ee,ie,ce,xe;fe.enter().append("g").classed("angular",!0),fe.attr("transform",t(se[0],se[1])),G.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),G.selectAll("g.xangularaxistick,path,text").remove(),ee=u(z,I.gauge.axis),ee.type="linear",ee.range=I.gauge.axis.range,ee._id="xangularaxis",ee.ticklabeloverflow="allow",ee.setScale();var Te=function(Lt){return(ee.range[0]-Lt.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Ue={},Ie=s.makeLabelFns(ee,0),Ye=Ie.labelStandoff;Ue.xFn=function(Lt){var Et=Te(Lt);return Math.cos(Et)*Ye},Ue.yFn=function(Lt){var Et=Te(Lt),Bt=Math.sin(Et)>0?.2:1;return-Math.sin(Et)*(Ye+Lt.fontSize*Bt)+Math.abs(Math.cos(Et))*(Lt.fontSize*o)},Ue.anchorFn=function(Lt){var Et=Te(Lt),Bt=Math.cos(Et);return Math.abs(Bt)<.1?"middle":Bt>0?"start":"end"},Ue.heightFn=function(Lt,Et,Bt){var qt=Te(Lt);return-.5*(1+Math.sin(qt))*Bt};var it=function(Lt){return t(se[0]+U*Math.cos(Lt),se[1]-U*Math.sin(Lt))};ce=function(Lt){return it(Te(Lt))};var at=function(Lt){var Et=Te(Lt);return it(Et)+"rotate("+-r(Et)+")"};if(ie=s.calcTicks(ee),xe=s.getTickSigns(ee)[2],ee.visible){xe=ee.ticks==="inside"?-1:1;var tt=(ee.linewidth||1)/2;s.drawTicks(z,ee,{vals:ie,layer:G,path:"M"+xe*tt+",0h"+xe*ee.ticklen,transFn:at}),s.drawLabels(z,ee,{vals:ie,layer:G,transFn:ce,labelFns:Ue})}var ut=[Q].concat(I.gauge.steps),Me=fe.selectAll("g.bg-arc").data(ut);Me.enter().append("g").classed("bg-arc",!0).append("path"),Me.select("path").call(j).call(b),Me.exit().remove();var pe=ae(I.gauge.bar.thickness),ue=fe.selectAll("g.value-arc").data([I.gauge.bar]);ue.enter().append("g").classed("value-arc",!0).append("path");var Oe=ue.select("path");w($)?(Oe.transition().duration($.duration).ease($.easing).each("end",function(){J&&J()}).each("interrupt",function(){J&&J()}).attrTween("d",v(pe,re(B[0].lastY),re(B[0].y))),I._lastValue=B[0].y):Oe.attr("d",typeof B[0].y=="number"?pe.endAngle(re(B[0].y)):"M0,0Z"),Oe.call(b),ue.exit().remove(),ut=[];var rt=I.gauge.threshold.value;(rt||rt===0)&&ut.push({range:[rt,rt],color:I.gauge.threshold.color,line:{color:I.gauge.threshold.line.color,width:I.gauge.threshold.line.width},thickness:I.gauge.threshold.thickness});var ot=fe.selectAll("g.threshold-arc").data(ut);ot.enter().append("g").classed("threshold-arc",!0).append("path"),ot.select("path").call(j).call(b),ot.exit().remove();var et=fe.selectAll("g.gauge-outline").data([le]);et.enter().append("g").classed("gauge-outline",!0).append("path"),et.select("path").call(j).call(b),et.exit().remove()}function m(z,F,B,O){var I=B[0].trace,N=O.numbersX,U=O.numbersY,W=I.align||"center",Q=T[W],le=O.transitionOpts,se=O.onComplete,fe=S.ensureSingle(F,"g","numbers"),G,$,J,X=[];I._hasNumber&&X.push("number"),I._hasDelta&&(X.push("delta"),I.delta.position==="left"&&X.reverse());var re=fe.selectAll("text").data(X);re.enter().append("text"),re.attr("text-anchor",function(){return Q}).attr("class",function(it){return it}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),re.exit().remove();function ae(it,at,tt,ut){if(it.match("s")&&tt>=0!=ut>=0&&!at(tt).slice(-1).match(_)&&!at(ut).slice(-1).match(_)){var Me=it.slice().replace("s","f").replace(/\d+/,function(ue){return parseInt(ue)-1}),pe=u(z,{tickformat:Me});return function(ue){return Math.abs(ue)<1?s.tickText(pe,ue).text:at(ue)}}else return at}function j(){var it=u(z,{tickformat:I.number.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ue){return s.tickText(it,ue).text},tt=I.number.suffix,ut=I.number.prefix,Me=fe.select("text.number");function pe(){var ue=typeof B[0].y=="number"?ut+at(B[0].y)+tt:"-";Me.text(ue).call(n.font,I.number.font).call(a.convertToTspans,z)}return w(le)?Me.transition().duration(le.duration).ease(le.easing).each("end",function(){pe(),se&&se()}).each("interrupt",function(){pe(),se&&se()}).attrTween("text",function(){var ue=g.select(this),Oe=A(B[0].lastY,B[0].y);I._lastValue=B[0].y;var rt=ae(I.number.valueformat,at,B[0].lastY,B[0].y);return function(ot){ue.text(ut+rt(Oe(ot))+tt)}}):pe(),G=P(ut+at(B[0].y)+tt,I.number.font,Q,z),Me}function ee(){var it=u(z,{tickformat:I.delta.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ot){return s.tickText(it,ot).text},tt=I.delta.suffix,ut=I.delta.prefix,Me=function(ot){var et=I.delta.relative?ot.relativeDelta:ot.delta;return et},pe=function(ot,et){return ot===0||typeof ot!="number"||isNaN(ot)?"-":(ot>0?I.delta.increasing.symbol:I.delta.decreasing.symbol)+ut+et(ot)+tt},ue=function(ot){return ot.delta>=0?I.delta.increasing.color:I.delta.decreasing.color};I._deltaLastValue===void 0&&(I._deltaLastValue=Me(B[0]));var Oe=fe.select("text.delta");Oe.call(n.font,I.delta.font).call(d.fill,ue({delta:I._deltaLastValue}));function rt(){Oe.text(pe(Me(B[0]),at)).call(d.fill,ue(B[0])).call(a.convertToTspans,z)}return w(le)?Oe.transition().duration(le.duration).ease(le.easing).tween("text",function(){var ot=g.select(this),et=Me(B[0]),Lt=I._deltaLastValue,Et=ae(I.delta.valueformat,at,Lt,et),Bt=A(Lt,et);return I._deltaLastValue=et,function(qt){ot.text(pe(Bt(qt),Et)),ot.call(d.fill,ue({delta:Bt(qt)}))}}).each("end",function(){rt(),se&&se()}).each("interrupt",function(){rt(),se&&se()}):rt(),$=P(pe(Me(B[0]),at),I.delta.font,Q,z),Oe}var ie=I.mode+I.align,ce;if(I._hasDelta&&(ce=ee(),ie+=I.delta.position+I.delta.font.size+I.delta.font.family+I.delta.valueformat,ie+=I.delta.increasing.symbol+I.delta.decreasing.symbol,J=$),I._hasNumber&&(j(),ie+=I.number.font.size+I.number.font.family+I.number.valueformat+I.number.suffix+I.number.prefix,J=G),I._hasDelta&&I._hasNumber){var xe=[(G.left+G.right)/2,(G.top+G.bottom)/2],Te=[($.left+$.right)/2,($.top+$.bottom)/2],Ue,Ie,Ye=.75*I.delta.font.size;I.delta.position==="left"&&(Ue=L(I,"deltaPos",0,-1*(G.width*l[I.align]+$.width*(1-l[I.align])+Ye),ie,Math.min),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:$.left+Ue,right:G.right,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position==="right"&&(Ue=L(I,"deltaPos",0,G.width*(1-l[I.align])+$.width*l[I.align]+Ye,ie,Math.max),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:G.left,right:$.right+Ue,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position==="bottom"&&(Ue=null,Ie=$.height,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height,bottom:G.bottom+$.height}),I.delta.position==="top"&&(Ue=null,Ie=G.top,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height-$.height,bottom:G.bottom}),ce.attr({dx:Ue,dy:Ie})}(I._hasNumber||I._hasDelta)&&fe.attr("transform",function(){var it=O.numbersScaler(J);ie+=it[2];var at=L(I,"numbersScale",1,it[0],ie,Math.min),tt;I._scaleNumbers||(at=1),I._isAngular?tt=U-at*J.bottom:tt=U-at*(J.top+J.bottom)/2,I._numbersTop=at*J.top+tt;var ut=J[W];W==="center"&&(ut=(J.left+J.right)/2);var Me=N-at*ut;return Me=L(I,"numbersTranslate",0,Me,ie,Math.max),t(Me,tt)+e(at)})}function b(z){z.each(function(F){d.stroke(g.select(this),F.line.color)}).each(function(F){d.fill(g.select(this),F.color)}).style("stroke-width",function(F){return F.line.width})}function v(z,F,B){return function(){var O=x(F,B);return function(I){return z.endAngle(O(I))()}}}function u(z,F,B){var O=z._fullLayout,I=S.extendFlat({type:"linear",ticks:"outside",range:B,showline:!0},F),N={type:"linear",_id:"x"+F._id},U={letter:"x",font:O.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function W(Q,le){return S.coerce(I,N,p,Q,le)}return c(I,N,W,U,O),h(I,N,W,U),N}function y(z,F,B){var O=Math.min(F/z.width,B/z.height);return[O,z,F+"x"+B]}function f(z,F){var B=Math.sqrt(z.width/2*(z.width/2)+z.height*z.height),O=F/B;return[O,z,F]}function P(z,F,B,O){var I=document.createElementNS("http://www.w3.org/2000/svg","text"),N=g.select(I);return N.text(z).attr("x",0).attr("y",0).attr("text-anchor",B).attr("data-unformatted",z).call(a.convertToTspans,O).call(n.font,F),n.bBox(N.node())}function L(z,F,B,O,I,N){var U="_cache"+F;z[U]&&z[U].key===I||(z[U]={key:I,value:B});var W=S.aggNums(N,null,[z[U].value,O],2);return z[U].value=W,W}}}),Zz=ke({"src/traces/indicator/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"indicator",basePlotModule:Hz(),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:MM(),supplyDefaults:Gz().supplyDefaults,calc:Wz().calc,plot:Xz(),meta:{}}}}),Yz=ke({"lib/indicator.js"(Z,H){"use strict";H.exports=Zz()}}),EM=ke({"src/traces/table/attributes.js"(Z,H){"use strict";var g=Dm(),x=To().extendFlat,A=ju().overrideAll,S=Il(),e=Yu().attributes,t=Sc().descriptionOnlyNumbers,r=H.exports=A({domain:e({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null},columnorder:{valType:"data_array"},header:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:t("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:28},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:x({},S({arrayOk:!0}))},cells:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:t("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:20},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:x({},S({arrayOk:!0}))}},"calc","from-root")}}),Kz=ke({"src/traces/table/defaults.js"(Z,H){"use strict";var g=un(),x=EM(),A=Yu().defaults;function S(e,t){for(var r=e.columnorder||[],o=e.header.values.length,n=r.slice(0,o),i=n.slice().sort(function(c,h){return c-h}),a=n.map(function(c){return i.indexOf(c)}),s=a.length;s",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}}}),$z=ke({"src/traces/table/data_preparation_helper.js"(Z,H){"use strict";var g=CM(),x=To().extendFlat,A=Yn(),S=Oa().isTypedArray,e=Oa().isArrayOrTypedArray;H.exports=function(p,d){var T=o(d.cells.values),l=function(Q){return Q.slice(d.header.values.length,Q.length)},_=o(d.header.values);_.length&&!_[0].length&&(_[0]=[""],_=o(_));var w=_.concat(l(T).map(function(){return n((_[0]||[""]).length)})),M=d.domain,E=Math.floor(p._fullLayout._size.w*(M.x[1]-M.x[0])),m=Math.floor(p._fullLayout._size.h*(M.y[1]-M.y[0])),b=d.header.values.length?w[0].map(function(){return d.header.height}):[g.emptyHeaderHeight],v=T.length?T[0].map(function(){return d.cells.height}):[],u=b.reduce(r,0),y=m-u,f=y+g.uplift,P=s(v,f),L=s(b,u),z=a(L,[]),F=a(P,z),B={},O=d._fullInput.columnorder;e(O)&&(O=Array.from(O)),O=O.concat(l(T.map(function(Q,le){return le})));var I=w.map(function(Q,le){var se=e(d.columnwidth)?d.columnwidth[Math.min(le,d.columnwidth.length-1)]:d.columnwidth;return A(se)?Number(se):1}),N=I.reduce(r,0);I=I.map(function(Q){return Q/N*E});var U=Math.max(t(d.header.line.width),t(d.cells.line.width)),W={key:d.uid+p._context.staticPlot,translateX:M.x[0]*p._fullLayout._size.w,translateY:p._fullLayout._size.h*(1-M.y[1]),size:p._fullLayout._size,width:E,maxLineWidth:U,height:m,columnOrder:O,groupHeight:m,rowBlocks:F,headerRowBlocks:z,scrollY:0,cells:x({},d.cells,{values:T}),headerCells:x({},d.header,{values:w}),gdColumns:w.map(function(Q){return Q[0]}),gdColumnsOriginalOrder:w.map(function(Q){return Q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:w.map(function(Q,le){var se=B[Q];B[Q]=(se||0)+1;var fe=Q+"__"+B[Q];return{key:fe,label:Q,specIndex:le,xIndex:O[le],xScale:i,x:void 0,calcdata:void 0,columnWidth:I[le]}})};return W.columns.forEach(function(Q){Q.calcdata=W,Q.x=i(Q)}),W};function t(h){if(e(h)){for(var p=0,d=0;d=p||m===h.length-1)&&(d[l]=w,w.key=E++,w.firstRowIndex=M,w.lastRowIndex=m,w=c(),l+=_,M=m+1,_=0);return d}function c(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}}}),Qz=ke({"src/traces/table/data_split_helpers.js"(Z){"use strict";var H=To().extendFlat;Z.splitToPanels=function(x){var A=[0,0],S=H({},x,{key:"header",type:"header",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!0,values:x.calcdata.headerCells.values[x.specIndex],rowBlocks:x.calcdata.headerRowBlocks,calcdata:H({},x.calcdata,{cells:x.calcdata.headerCells})}),e=H({},x,{key:"cells1",type:"cells",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks}),t=H({},x,{key:"cells2",type:"cells",page:1,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks});return[e,t,S]},Z.splitToCells=function(x){var A=g(x);return(x.values||[]).slice(A[0],A[1]).map(function(S,e){var t=typeof S=="string"&&S.match(/[<$&> ]/)?"_keybuster_"+Math.random():"";return{keyWithinBlock:e+t,key:A[0]+e,column:x,calcdata:x.calcdata,page:x.page,rowBlocks:x.rowBlocks,value:S}})};function g(x){var A=x.rowBlocks[x.page],S=A?A.rows[0].rowIndex:0,e=A?S+A.rows.length:0;return[S,e]}}}),kM=ke({"src/traces/table/plot.js"(Z,H){"use strict";var g=CM(),x=_i(),A=un(),S=A.numberFormat,e=Dv(),t=$o(),r=Wl(),o=un().raiseToTop,n=un().strTranslate,i=un().cancelTransition,a=$z(),s=Qz(),c=eo();H.exports=function(ie,ce){var xe=!ie._context.staticPlot,Te=ie._fullLayout._paper.selectAll("."+g.cn.table).data(ce.map(function(et){var Lt=e.unwrap(et),Et=Lt.trace;return a(ie,Et)}),e.keyFun);Te.exit().remove(),Te.enter().append("g").classed(g.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),Te.attr("width",function(et){return et.width+et.size.l+et.size.r}).attr("height",function(et){return et.height+et.size.t+et.size.b}).attr("transform",function(et){return n(et.translateX,et.translateY)});var Ue=Te.selectAll("."+g.cn.tableControlView).data(e.repeat,e.keyFun),Ie=Ue.enter().append("g").classed(g.cn.tableControlView,!0).style("box-sizing","content-box");if(xe){var Ye="onwheel"in document?"wheel":"mousewheel";Ie.on("mousemove",function(et){Ue.filter(function(Lt){return et===Lt}).call(l,ie)}).on(Ye,function(et){if(!et.scrollbarState.wheeling){et.scrollbarState.wheeling=!0;var Lt=et.scrollY+x.event.deltaY,Et=Q(ie,Ue,null,Lt)(et);Et||(x.event.stopPropagation(),x.event.preventDefault()),et.scrollbarState.wheeling=!1}}).call(l,ie,!0)}Ue.attr("transform",function(et){return n(et.size.l,et.size.t)});var it=Ue.selectAll("."+g.cn.scrollBackground).data(e.repeat,e.keyFun);it.enter().append("rect").classed(g.cn.scrollBackground,!0).attr("fill","none"),it.attr("width",function(et){return et.width}).attr("height",function(et){return et.height}),Ue.each(function(et){t.setClipUrl(x.select(this),p(ie,et),ie)});var at=Ue.selectAll("."+g.cn.yColumn).data(function(et){return et.columns},e.keyFun);at.enter().append("g").classed(g.cn.yColumn,!0),at.exit().remove(),at.attr("transform",function(et){return n(et.x,0)}),xe&&at.call(x.behavior.drag().origin(function(et){var Lt=x.select(this);return B(Lt,et,-g.uplift),o(this),et.calcdata.columnDragInProgress=!0,l(Ue.filter(function(Et){return et.calcdata.key===Et.key}),ie),et}).on("drag",function(et){var Lt=x.select(this),Et=function(fr){return(et===fr?x.event.x:fr.x)+fr.columnWidth/2};et.x=Math.max(-g.overdrag,Math.min(et.calcdata.width+g.overdrag-et.columnWidth,x.event.x));var Bt=T(at).filter(function(fr){return fr.calcdata.key===et.calcdata.key}),qt=Bt.sort(function(fr,ar){return Et(fr)-Et(ar)});qt.forEach(function(fr,ar){fr.xIndex=ar,fr.x=et===fr?fr.x:fr.xScale(fr)}),at.filter(function(fr){return et!==fr}).transition().ease(g.transitionEase).duration(g.transitionDuration).attr("transform",function(fr){return n(fr.x,0)}),Lt.call(i).attr("transform",n(et.x,-g.uplift))}).on("dragend",function(et){var Lt=x.select(this),Et=et.calcdata;et.x=et.xScale(et),et.calcdata.columnDragInProgress=!1,B(Lt,et,0),z(ie,Et,Et.columns.map(function(Bt){return Bt.xIndex}))})),at.each(function(et){t.setClipUrl(x.select(this),d(ie,et),ie)});var tt=at.selectAll("."+g.cn.columnBlock).data(s.splitToPanels,e.keyFun);tt.enter().append("g").classed(g.cn.columnBlock,!0).attr("id",function(et){return et.key}),tt.style("cursor",function(et){return et.dragHandle?"ew-resize":et.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"});var ut=tt.filter(I),Me=tt.filter(O);xe&&Me.call(x.behavior.drag().origin(function(et){return x.event.stopPropagation(),et}).on("drag",Q(ie,Ue,-1)).on("dragend",function(){})),_(ie,Ue,ut,tt),_(ie,Ue,Me,tt);var pe=Ue.selectAll("."+g.cn.scrollAreaClip).data(e.repeat,e.keyFun);pe.enter().append("clipPath").classed(g.cn.scrollAreaClip,!0).attr("id",function(et){return p(ie,et)});var ue=pe.selectAll("."+g.cn.scrollAreaClipRect).data(e.repeat,e.keyFun);ue.enter().append("rect").classed(g.cn.scrollAreaClipRect,!0).attr("x",-g.overdrag).attr("y",-g.uplift).attr("fill","none"),ue.attr("width",function(et){return et.width+2*g.overdrag}).attr("height",function(et){return et.height+g.uplift});var Oe=at.selectAll("."+g.cn.columnBoundary).data(e.repeat,e.keyFun);Oe.enter().append("g").classed(g.cn.columnBoundary,!0);var rt=at.selectAll("."+g.cn.columnBoundaryClippath).data(e.repeat,e.keyFun);rt.enter().append("clipPath").classed(g.cn.columnBoundaryClippath,!0),rt.attr("id",function(et){return d(ie,et)});var ot=rt.selectAll("."+g.cn.columnBoundaryRect).data(e.repeat,e.keyFun);ot.enter().append("rect").classed(g.cn.columnBoundaryRect,!0).attr("fill","none"),ot.attr("width",function(et){return et.columnWidth+2*h(et)}).attr("height",function(et){return et.calcdata.height+2*h(et)+g.uplift}).attr("x",function(et){return-h(et)}).attr("y",function(et){return-h(et)}),W(null,Me,Ue)};function h(ee){return Math.ceil(ee.calcdata.maxLineWidth/2)}function p(ee,ie){return"clip"+ee._fullLayout._uid+"_scrollAreaBottomClip_"+ie.key}function d(ee,ie){return"clip"+ee._fullLayout._uid+"_columnBoundaryClippath_"+ie.calcdata.key+"_"+ie.specIndex}function T(ee){return[].concat.apply([],ee.map(function(ie){return ie})).map(function(ie){return ie.__data__})}function l(ee,ie,ce){function xe(at){var tt=at.rowBlocks;return J(tt,tt.length-1)+(tt.length?X(tt[tt.length-1],1/0):1)}var Te=ee.selectAll("."+g.cn.scrollbarKit).data(e.repeat,e.keyFun);Te.enter().append("g").classed(g.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),Te.each(function(at){var tt=at.scrollbarState;tt.totalHeight=xe(at),tt.scrollableAreaHeight=at.groupHeight-N(at),tt.currentlyVisibleHeight=Math.min(tt.totalHeight,tt.scrollableAreaHeight),tt.ratio=tt.currentlyVisibleHeight/tt.totalHeight,tt.barLength=Math.max(tt.ratio*tt.currentlyVisibleHeight,g.goldenRatio*g.scrollbarWidth),tt.barWiggleRoom=tt.currentlyVisibleHeight-tt.barLength,tt.wiggleRoom=Math.max(0,tt.totalHeight-tt.scrollableAreaHeight),tt.topY=tt.barWiggleRoom===0?0:at.scrollY/tt.wiggleRoom*tt.barWiggleRoom,tt.bottomY=tt.topY+tt.barLength,tt.dragMultiplier=tt.wiggleRoom/tt.barWiggleRoom}).attr("transform",function(at){var tt=at.width+g.scrollbarWidth/2+g.scrollbarOffset;return n(tt,N(at))});var Ue=Te.selectAll("."+g.cn.scrollbar).data(e.repeat,e.keyFun);Ue.enter().append("g").classed(g.cn.scrollbar,!0);var Ie=Ue.selectAll("."+g.cn.scrollbarSlider).data(e.repeat,e.keyFun);Ie.enter().append("g").classed(g.cn.scrollbarSlider,!0),Ie.attr("transform",function(at){return n(0,at.scrollbarState.topY||0)});var Ye=Ie.selectAll("."+g.cn.scrollbarGlyph).data(e.repeat,e.keyFun);Ye.enter().append("line").classed(g.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",g.scrollbarWidth).attr("stroke-linecap","round").attr("y1",g.scrollbarWidth/2),Ye.attr("y2",function(at){return at.scrollbarState.barLength-g.scrollbarWidth/2}).attr("stroke-opacity",function(at){return at.columnDragInProgress||!at.scrollbarState.barWiggleRoom||ce?0:.4}),Ye.transition().delay(0).duration(0),Ye.transition().delay(g.scrollbarHideDelay).duration(g.scrollbarHideDuration).attr("stroke-opacity",0);var it=Ue.selectAll("."+g.cn.scrollbarCaptureZone).data(e.repeat,e.keyFun);it.enter().append("line").classed(g.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",g.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",function(at){var tt=x.event.y,ut=this.getBoundingClientRect(),Me=at.scrollbarState,pe=tt-ut.top,ue=x.scale.linear().domain([0,Me.scrollableAreaHeight]).range([0,Me.totalHeight]).clamp(!0);Me.topY<=pe&&pe<=Me.bottomY||Q(ie,ee,null,ue(pe-Me.barLength/2))(at)}).call(x.behavior.drag().origin(function(at){return x.event.stopPropagation(),at.scrollbarState.scrollbarScrollInProgress=!0,at}).on("drag",Q(ie,ee)).on("dragend",function(){})),it.attr("y2",function(at){return at.scrollbarState.scrollableAreaHeight}),ie._context.staticPlot&&(Ye.remove(),it.remove())}function _(ee,ie,ce,xe){var Te=w(ce),Ue=M(Te);v(Ue);var Ie=E(Ue);y(Ie);var Ye=b(Ue),it=m(Ye);u(it),f(it,ie,xe,ee),$(Ue)}function w(ee){var ie=ee.selectAll("."+g.cn.columnCells).data(e.repeat,e.keyFun);return ie.enter().append("g").classed(g.cn.columnCells,!0),ie.exit().remove(),ie}function M(ee){var ie=ee.selectAll("."+g.cn.columnCell).data(s.splitToCells,function(ce){return ce.keyWithinBlock});return ie.enter().append("g").classed(g.cn.columnCell,!0),ie.exit().remove(),ie}function E(ee){var ie=ee.selectAll("."+g.cn.cellRect).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("rect").classed(g.cn.cellRect,!0),ie}function m(ee){var ie=ee.selectAll("."+g.cn.cellText).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("text").classed(g.cn.cellText,!0).style("cursor",function(){return"auto"}).on("mousedown",function(){x.event.stopPropagation()}),ie}function b(ee){var ie=ee.selectAll("."+g.cn.cellTextHolder).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append("g").classed(g.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),ie}function v(ee){ee.each(function(ie,ce){var xe=ie.calcdata.cells.font,Te=ie.column.specIndex,Ue={size:F(xe.size,Te,ce),color:F(xe.color,Te,ce),family:F(xe.family,Te,ce),weight:F(xe.weight,Te,ce),style:F(xe.style,Te,ce),variant:F(xe.variant,Te,ce),textcase:F(xe.textcase,Te,ce),lineposition:F(xe.lineposition,Te,ce),shadow:F(xe.shadow,Te,ce)};ie.rowNumber=ie.key,ie.align=F(ie.calcdata.cells.align,Te,ce),ie.cellBorderWidth=F(ie.calcdata.cells.line.width,Te,ce),ie.font=Ue})}function u(ee){ee.each(function(ie){t.font(x.select(this),ie.font)})}function y(ee){ee.attr("width",function(ie){return ie.column.columnWidth}).attr("stroke-width",function(ie){return ie.cellBorderWidth}).each(function(ie){var ce=x.select(this);c.stroke(ce,F(ie.calcdata.cells.line.color,ie.column.specIndex,ie.rowNumber)),c.fill(ce,F(ie.calcdata.cells.fill.color,ie.column.specIndex,ie.rowNumber))})}function f(ee,ie,ce,xe){ee.text(function(Te){var Ue=Te.column.specIndex,Ie=Te.rowNumber,Ye=Te.value,it=typeof Ye=="string",at=it&&Ye.match(/
/i),tt=!it||at;Te.mayHaveMarkup=it&&Ye.match(/[<&>]/);var ut=P(Ye);Te.latex=ut;var Me=ut?"":F(Te.calcdata.cells.prefix,Ue,Ie)||"",pe=ut?"":F(Te.calcdata.cells.suffix,Ue,Ie)||"",ue=ut?null:F(Te.calcdata.cells.format,Ue,Ie)||null,Oe=Me+(ue?S(ue)(Te.value):Te.value)+pe,rt;Te.wrappingNeeded=!Te.wrapped&&!tt&&!ut&&(rt=L(Oe)),Te.cellHeightMayIncrease=at||ut||Te.mayHaveMarkup||(rt===void 0?L(Oe):rt),Te.needsConvertToTspans=Te.mayHaveMarkup||Te.wrappingNeeded||Te.latex;var ot;if(Te.wrappingNeeded){var et=g.wrapSplitCharacter===" "?Oe.replace(/Te&&xe.push(Ue),Te+=it}return xe}function W(ee,ie,ce){var xe=T(ie)[0];if(xe!==void 0){var Te=xe.rowBlocks,Ue=xe.calcdata,Ie=J(Te,Te.length),Ye=xe.calcdata.groupHeight-N(xe),it=Ue.scrollY=Math.max(0,Math.min(Ie-Ye,Ue.scrollY)),at=U(Te,it,Ye);at.length===1&&(at[0]===Te.length-1?at.unshift(at[0]-1):at.push(at[0]+1)),at[0]%2&&at.reverse(),ie.each(function(tt,ut){tt.page=at[ut],tt.scrollY=it}),ie.attr("transform",function(tt){var ut=J(tt.rowBlocks,tt.page)-tt.scrollY;return n(0,ut)}),ee&&(le(ee,ce,ie,at,xe.prevPages,xe,0),le(ee,ce,ie,at,xe.prevPages,xe,1),l(ce,ee))}}function Q(ee,ie,ce,xe){return function(Ue){var Ie=Ue.calcdata?Ue.calcdata:Ue,Ye=ie.filter(function(ut){return Ie.key===ut.key}),it=ce||Ie.scrollbarState.dragMultiplier,at=Ie.scrollY;Ie.scrollY=xe===void 0?Ie.scrollY+it*x.event.dy:xe;var tt=Ye.selectAll("."+g.cn.yColumn).selectAll("."+g.cn.columnBlock).filter(O);return W(ee,tt,Ye),Ie.scrollY===at}}function le(ee,ie,ce,xe,Te,Ue,Ie){var Ye=xe[Ie]!==Te[Ie];Ye&&(clearTimeout(Ue.currentRepaint[Ie]),Ue.currentRepaint[Ie]=setTimeout(function(){var it=ce.filter(function(at,tt){return tt===Ie&&xe[tt]!==Te[tt]});_(ee,ie,it,ce),Te[Ie]=xe[Ie]}))}function se(ee,ie,ce,xe){return function(){var Ue=x.select(ie.parentNode);Ue.each(function(Ie){var Ye=Ie.fragments;Ue.selectAll("tspan.line").each(function(Oe,rt){Ye[rt].width=this.getComputedTextLength()});var it=Ye[Ye.length-1].width,at=Ye.slice(0,-1),tt=[],ut,Me,pe=0,ue=Ie.column.columnWidth-2*g.cellPad;for(Ie.value="";at.length;)ut=at.shift(),Me=ut.width+it,pe+Me>ue&&(Ie.value+=tt.join(g.wrapSpacer)+g.lineBreaker,tt=[],pe=0),tt.push(ut.text),pe+=Me;pe&&(Ie.value+=tt.join(g.wrapSpacer)),Ie.wrapped=!0}),Ue.selectAll("tspan.line").remove(),f(Ue.select("."+g.cn.cellText),ce,ee,xe),x.select(ie.parentNode.parentNode).call($)}}function fe(ee,ie,ce,xe,Te){return function(){if(!Te.settledY){var Ie=x.select(ie.parentNode),Ye=ae(Te),it=Te.key-Ye.firstRowIndex,at=Ye.rows[it].rowHeight,tt=Te.cellHeightMayIncrease?ie.parentNode.getBoundingClientRect().height+2*g.cellPad:at,ut=Math.max(tt,at),Me=ut-Ye.rows[it].rowHeight;Me&&(Ye.rows[it].rowHeight=ut,ee.selectAll("."+g.cn.columnCell).call($),W(null,ee.filter(O),0),l(ce,xe,!0)),Ie.attr("transform",function(){var pe=this,ue=pe.parentNode,Oe=ue.getBoundingClientRect(),rt=x.select(pe.parentNode).select("."+g.cn.cellRect).node().getBoundingClientRect(),ot=pe.transform.baseVal.consolidate(),et=rt.top-Oe.top+(ot?ot.matrix.f:g.cellPad);return n(G(Te,x.select(pe.parentNode).select("."+g.cn.cellTextHolder).node().getBoundingClientRect().width),et)}),Te.settledY=!0}}}function G(ee,ie){switch(ee.align){case"left":return g.cellPad;case"right":return ee.column.columnWidth-(ie||0)-g.cellPad;case"center":return(ee.column.columnWidth-(ie||0))/2;default:return g.cellPad}}function $(ee){ee.attr("transform",function(ie){var ce=ie.rowBlocks[0].auxiliaryBlocks.reduce(function(Ie,Ye){return Ie+X(Ye,1/0)},0),xe=ae(ie),Te=X(xe,ie.key),Ue=Te+ce;return n(0,Ue)}).selectAll("."+g.cn.cellRect).attr("height",function(ie){return j(ae(ie),ie.key).rowHeight})}function J(ee,ie){for(var ce=0,xe=ie-1;xe>=0;xe--)ce+=re(ee[xe]);return ce}function X(ee,ie){for(var ce=0,xe=0;xeS.length&&(A=A.slice(0,S.length)):A=[],t=0;t90&&(p-=180,i=-i),{angle:p,flip:i,p:x.c2p(e,A,S),offsetMultplier:a}}}}),u8=ke({"src/traces/carpet/plot.js"(Z,H){"use strict";var g=_i(),x=$o(),A=LM(),S=PM(),e=l8(),t=Wl(),r=un(),o=r.strRotate,n=r.strTranslate,i=Yf();H.exports=function(_,w,M,E){var m=_._context.staticPlot,b=w.xaxis,v=w.yaxis,u=_._fullLayout,y=u._clips;r.makeTraceGroups(E,M,"trace").each(function(f){var P=g.select(this),L=f[0],z=L.trace,F=z.aaxis,B=z.baxis,O=r.ensureSingle(P,"g","minorlayer"),I=r.ensureSingle(P,"g","majorlayer"),N=r.ensureSingle(P,"g","boundarylayer"),U=r.ensureSingle(P,"g","labellayer");P.style("opacity",z.opacity),s(b,v,I,F,"a",F._gridlines,!0,m),s(b,v,I,B,"b",B._gridlines,!0,m),s(b,v,O,F,"a",F._minorgridlines,!0,m),s(b,v,O,B,"b",B._minorgridlines,!0,m),s(b,v,N,F,"a-boundary",F._boundarylines,m),s(b,v,N,B,"b-boundary",B._boundarylines,m);var W=c(_,b,v,z,L,U,F._labels,"a-label"),Q=c(_,b,v,z,L,U,B._labels,"b-label");h(_,U,z,L,b,v,W,Q),a(z,L,y,b,v)})};function a(l,_,w,M,E){var m,b,v,u,y=w.select("#"+l._clipPathId);y.size()||(y=w.append("clipPath").classed("carpetclip",!0));var f=r.ensureSingle(y,"path","carpetboundary"),P=_.clipsegments,L=[];for(u=0;u0?"start":"end","data-notex":1}).call(x.font,P.font).text(P.text).call(t.convertToTspans,l),I=x.bBox(this);O.attr("transform",n(z.p[0],z.p[1])+o(z.angle)+n(P.axis.labelpadding*B,I.height*.3)),y=Math.max(y,I.width+P.axis.labelpadding)}),u.exit().remove(),f.maxExtent=y,f}function h(l,_,w,M,E,m,b,v){var u,y,f,P,L=r.aggNums(Math.min,null,w.a),z=r.aggNums(Math.max,null,w.a),F=r.aggNums(Math.min,null,w.b),B=r.aggNums(Math.max,null,w.b);u=.5*(L+z),y=F,f=w.ab2xy(u,y,!0),P=w.dxyda_rough(u,y),b.angle===void 0&&r.extendFlat(b,e(w,E,m,f,w.dxydb_rough(u,y))),T(l,_,w,M,f,P,w.aaxis,E,m,b,"a-title"),u=L,y=.5*(F+B),f=w.ab2xy(u,y,!0),P=w.dxydb_rough(u,y),v.angle===void 0&&r.extendFlat(v,e(w,E,m,f,w.dxyda_rough(u,y))),T(l,_,w,M,f,P,w.baxis,E,m,v,"b-title")}var p=i.LINE_SPACING,d=(1-i.MID_SHIFT)/p+1;function T(l,_,w,M,E,m,b,v,u,y,f){var P=[];b.title.text&&P.push(b.title.text);var L=_.selectAll("text."+f).data(P),z=y.maxExtent;L.enter().append("text").classed(f,!0),L.each(function(){var F=e(w,v,u,E,m);["start","both"].indexOf(b.showticklabels)===-1&&(z=0);var B=b.title.font.size;z+=B+b.title.offset;var O=y.angle+(y.flip<0?180:0),I=(O-F.angle+450)%360,N=I>90&&I<270,U=g.select(this);U.text(b.title.text).call(t.convertToTspans,l),N&&(z=(-t.lineCount(U)+d)*p*B-z),U.attr("transform",n(F.p[0],F.p[1])+o(F.angle)+n(0,z)).attr("text-anchor","middle").call(x.font,b.title.font)}),L.exit().remove()}}}),c8=ke({"src/traces/carpet/cheater_basis.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S){var e,t,r,o,n,i,a=[],s=g(x)?x.length:x,c=g(A)?A.length:A,h=g(x)?x:null,p=g(A)?A:null;h&&(r=(h.length-1)/(h[h.length-1]-h[0])/(s-1)),p&&(o=(p.length-1)/(p[p.length-1]-p[0])/(c-1));var d,T=1/0,l=-1/0;for(t=0;t=10)return null;for(var e=1/0,t=-1/0,r=A.length,o=0;o0&&(X=S.dxydi([],W-1,le,0,se),ee.push(fe[0]+X[0]/3),ie.push(fe[1]+X[1]/3),re=S.dxydi([],W-1,le,1,se),ee.push(J[0]-re[0]/3),ie.push(J[1]-re[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;else for(W=S.a2i(U),G=Math.floor(Math.max(0,Math.min(F-2,W))),$=W-G,ce.length=F,ce.crossLength=B,ce.xy=function(xe){return S.evalxy([],W,xe)},ce.dxy=function(xe,Te){return S.dxydj([],G,xe,$,Te)},Q=0;Q0&&(ae=S.dxydj([],G,Q-1,$,0),ee.push(fe[0]+ae[0]/3),ie.push(fe[1]+ae[1]/3),j=S.dxydj([],G,Q-1,$,1),ee.push(J[0]-j[0]/3),ie.push(J[1]-j[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;return ce.axisLetter=e,ce.axis=E,ce.crossAxis=y,ce.value=U,ce.constvar=t,ce.index=h,ce.x=ee,ce.y=ie,ce.smoothing=y.smoothing,ce}function N(U){var W,Q,le,se,fe,G=[],$=[],J={};if(J.length=M.length,J.crossLength=u.length,e==="b")for(le=Math.max(0,Math.min(B-2,U)),fe=Math.min(1,Math.max(0,U-le)),J.xy=function(X){return S.evalxy([],X,U)},J.dxy=function(X,re){return S.dxydi([],X,le,re,fe)},W=0;WM.length-1)&&m.push(x(N(o),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s;hM.length-1)&&!(T<0||T>M.length-1))for(l=M[n],_=M[T],r=0;rM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash})));E.startline&&v.push(x(N(0),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(N(M.length-1),{color:E.endlinecolor,width:E.endlinewidth}))}else{for(i=5e-15,a=[Math.floor((M[M.length-1]-E.tick0)/E.dtick*(1+i)),Math.ceil((M[0]-E.tick0)/E.dtick/(1+i))].sort(function(U,W){return U-W}),s=a[0],c=a[1],h=s;h<=c;h++)p=E.tick0+E.dtick*h,m.push(x(I(p),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s-1;hM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash}));E.startline&&v.push(x(I(M[0]),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(I(M[M.length-1]),{color:E.endlinecolor,width:E.endlinewidth}))}}}}),d8=ke({"src/traces/carpet/calc_labels.js"(Z,H){"use strict";var g=Ho(),x=To().extendFlat;H.exports=function(S,e){var t,r,o,n,i,a=e._labels=[],s=e._gridlines;for(t=0;t=0;t--)r[s-t]=x[c][t],o[s-t]=A[c][t];for(n.push({x:r,y:o,bicubic:i}),t=c,r=[],o=[];t>=0;t--)r[c-t]=x[t][0],o[c-t]=A[t][0];return n.push({x:r,y:o,bicubic:a}),n}}}),p8=ke({"src/traces/carpet/smooth_fill_2d_array.js"(Z,H){"use strict";var g=un();H.exports=function(A,S,e){var t,r,o,n=[],i=[],a=A[0].length,s=A.length;function c(Q,le){var se=0,fe,G=0;return Q>0&&(fe=A[le][Q-1])!==void 0&&(G++,se+=fe),Q0&&(fe=A[le-1][Q])!==void 0&&(G++,se+=fe),le0&&r0&&tu);return g.log("Smoother converged to",y,"after",P,"iterations"),A}}}),m8=ke({"src/traces/carpet/constants.js"(Z,H){"use strict";H.exports={RELATIVE_CULL_TOLERANCE:1e-6}}}),g8=ke({"src/traces/carpet/catmull_rom.js"(Z,H){"use strict";var g=.5;H.exports=function(A,S,e,t){var r=A[0]-S[0],o=A[1]-S[1],n=e[0]-S[0],i=e[1]-S[1],a=Math.pow(r*r+o*o,g/2),s=Math.pow(n*n+i*i,g/2),c=(s*s*r-a*a*n)*t,h=(s*s*o-a*a*i)*t,p=s*(a+s)*3,d=a*(a+s)*3;return[[S[0]+(p&&c/p),S[1]+(p&&h/p)],[S[0]-(d&&c/d),S[1]-(d&&h/d)]]}}}),y8=ke({"src/traces/carpet/compute_control_points.js"(Z,H){"use strict";var g=g8(),x=un().ensureArray;function A(S,e,t){var r=-.5*t[0]+1.5*e[0],o=-.5*t[1]+1.5*e[1];return[(2*r+S[0])/3,(2*o+S[1])/3]}H.exports=function(e,t,r,o,n,i){var a,s,c,h,p,d,T,l,_,w,M=r[0].length,E=r.length,m=n?3*M-2:M,b=i?3*E-2:E;for(e=x(e,b),t=x(t,b),c=0;cp&&mT&&bd||bl},o.setScale=function(){var m=o._x,b=o._y,v=A(o._xctrl,o._yctrl,m,b,c.smoothing,h.smoothing);o._xctrl=v[0],o._yctrl=v[1],o.evalxy=S([o._xctrl,o._yctrl],a,s,c.smoothing,h.smoothing),o.dxydi=e([o._xctrl,o._yctrl],c.smoothing,h.smoothing),o.dxydj=t([o._xctrl,o._yctrl],c.smoothing,h.smoothing)},o.i2a=function(m){var b=Math.max(0,Math.floor(m[0]),a-2),v=m[0]-b;return(1-v)*n[b]+v*n[b+1]},o.j2b=function(m){var b=Math.max(0,Math.floor(m[1]),a-2),v=m[1]-b;return(1-v)*i[b]+v*i[b+1]},o.ij2ab=function(m){return[o.i2a(m[0]),o.j2b(m[1])]},o.a2i=function(m){var b=Math.max(0,Math.min(x(m,n),a-2)),v=n[b],u=n[b+1];return Math.max(0,Math.min(a-1,b+(m-v)/(u-v)))},o.b2j=function(m){var b=Math.max(0,Math.min(x(m,i),s-2)),v=i[b],u=i[b+1];return Math.max(0,Math.min(s-1,b+(m-v)/(u-v)))},o.ab2ij=function(m){return[o.a2i(m[0]),o.b2j(m[1])]},o.i2c=function(m,b){return o.evalxy([],m,b)},o.ab2xy=function(m,b,v){if(!v&&(mn[a-1]|bi[s-1]))return[!1,!1];var u=o.a2i(m),y=o.b2j(b),f=o.evalxy([],u,y);if(v){var P=0,L=0,z=[],F,B,O,I;mn[a-1]?(F=a-2,B=1,P=(m-n[a-1])/(n[a-1]-n[a-2])):(F=Math.max(0,Math.min(a-2,Math.floor(u))),B=u-F),bi[s-1]?(O=s-2,I=1,L=(b-i[s-1])/(i[s-1]-i[s-2])):(O=Math.max(0,Math.min(s-2,Math.floor(y))),I=y-O),P&&(o.dxydi(z,F,O,B,I),f[0]+=z[0]*P,f[1]+=z[1]*P),L&&(o.dxydj(z,F,O,B,I),f[0]+=z[0]*L,f[1]+=z[1]*L)}return f},o.c2p=function(m,b,v){return[b.c2p(m[0]),v.c2p(m[1])]},o.p2x=function(m,b,v){return[b.p2c(m[0]),v.p2c(m[1])]},o.dadi=function(m){var b=Math.max(0,Math.min(n.length-2,m));return n[b+1]-n[b]},o.dbdj=function(m){var b=Math.max(0,Math.min(i.length-2,m));return i[b+1]-i[b]},o.dxyda=function(m,b,v,u){var y=o.dxydi(null,m,b,v,u),f=o.dadi(m,v);return[y[0]/f,y[1]/f]},o.dxydb=function(m,b,v,u){var y=o.dxydj(null,m,b,v,u),f=o.dbdj(b,u);return[y[0]/f,y[1]/f]},o.dxyda_rough=function(m,b,v){var u=_*(v||.1),y=o.ab2xy(m+u,b,!0),f=o.ab2xy(m-u,b,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dxydb_rough=function(m,b,v){var u=w*(v||.1),y=o.ab2xy(m,b+u,!0),f=o.ab2xy(m,b-u,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dpdx=function(m){return m._m},o.dpdy=function(m){return m._m}}}}),T8=ke({"src/traces/carpet/calc.js"(Z,H){"use strict";var g=Ho(),x=un().isArray1D,A=c8(),S=f8(),e=h8(),t=d8(),r=v8(),o=U_(),n=p8(),i=N_(),a=w8();H.exports=function(c,h){var p=g.getFromId(c,h.xaxis),d=g.getFromId(c,h.yaxis),T=h.aaxis,l=h.baxis,_=h.x,w=h.y,M=[];_&&x(_)&&M.push("x"),w&&x(w)&&M.push("y"),M.length&&i(h,T,l,"a","b",M);var E=h._a=h._a||h.a,m=h._b=h._b||h.b;_=h._x||h.x,w=h._y||h.y;var b={};if(h._cheater){var v=T.cheatertype==="index"?E.length:E,u=l.cheatertype==="index"?m.length:m;_=A(v,u,h.cheaterslope)}h._x=_=o(_),h._y=w=o(w),n(_,E,m),n(w,E,m),a(h),h.setScale();var y=S(_),f=S(w),P=.5*(y[1]-y[0]),L=.5*(y[1]+y[0]),z=.5*(f[1]-f[0]),F=.5*(f[1]+f[0]),B=1.3;return y=[L-P*B,L+P*B],f=[F-z*B,F+z*B],h._extremes[p._id]=g.findExtremes(p,y,{padded:!0}),h._extremes[d._id]=g.findExtremes(d,f,{padded:!0}),e(h,"a","b"),e(h,"b","a"),t(h,T),t(h,l),b.clipsegments=r(h._xctrl,h._yctrl,T,l),b.x=_,b.y=w,b.a=E,b.b=m,[b]}}}),A8=ke({"src/traces/carpet/index.js"(Z,H){"use strict";H.exports={attributes:wb(),supplyDefaults:s8(),plot:u8(),calc:T8(),animatable:!0,isContainer:!0,moduleType:"trace",name:"carpet",basePlotModule:xf(),categories:["cartesian","svg","carpet","carpetAxis","notLegendIsolatable","noMultiCategory","noHover","noSortingByValue"],meta:{}}}}),M8=ke({"lib/carpet.js"(Z,H){"use strict";H.exports=A8()}}),IM=ke({"src/traces/scattercarpet/attributes.js"(Z,H){"use strict";var g=fv(),x=Cc(),A=Ol(),S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=ou(),r=To().extendFlat,o=x.marker,n=x.line,i=o.line;H.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:r({},x.mode,{dflt:"markers"}),text:r({},x.text,{}),texttemplate:e({editType:"plot"},{keys:["a","b","text"]}),hovertext:r({},x.hovertext,{}),line:{color:n.color,width:n.width,dash:n.dash,backoff:n.backoff,shape:r({},n.shape,{values:["linear","spline"]}),smoothing:n.smoothing,editType:"calc"},connectgaps:x.connectgaps,fill:r({},x.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:g(),marker:r({symbol:o.symbol,opacity:o.opacity,maxdisplayed:o.maxdisplayed,angle:o.angle,angleref:o.angleref,standoff:o.standoff,size:o.size,sizeref:o.sizeref,sizemin:o.sizemin,sizemode:o.sizemode,line:r({width:i.width,editType:"calc"},t("marker.line")),gradient:o.gradient,editType:"calc"},t("marker")),textfont:x.textfont,textposition:x.textposition,selected:x.selected,unselected:x.unselected,hoverinfo:r({},A.hoverinfo,{flags:["a","b","text","name"]}),hoveron:x.hoveron,hovertemplate:S(),zorder:x.zorder}}}),S8=ke({"src/traces/scattercarpet/defaults.js"(Z,H){"use strict";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=IM();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}p("carpet"),s.xaxis="x",s.yaxis="y";var d=p("a"),T=p("b"),l=Math.min(d.length,T.length);if(!l){s.visible=!1;return}s._length=l,p("text"),p("texttemplate"),p("hovertext");var _=l0?b=E.labelprefix.replace(/ = $/,""):b=E._hovertitle,l.push(b+": "+m.toFixed(3)+E.labelsuffix)}if(!p.hovertemplate){var w=h.hi||p.hoverinfo,M=w.split("+");M.indexOf("all")!==-1&&(M=["a","b","text"]),M.indexOf("a")!==-1&&_(d.aaxis,h.a),M.indexOf("b")!==-1&&_(d.baxis,h.b),l.push("y: "+n.yLabel),M.indexOf("text")!==-1&&x(h,p,l),n.extraText=l.join("
")}return o}}}),P8=ke({"src/traces/scattercarpet/event_data.js"(Z,H){"use strict";H.exports=function(x,A,S,e,t){var r=e[t];return x.a=r.a,x.b=r.b,x.y=r.y,x}}}),I8=ke({"src/traces/scattercarpet/index.js"(Z,H){"use strict";H.exports={attributes:IM(),supplyDefaults:S8(),colorbar:Bh(),formatLabels:E8(),calc:C8(),plot:k8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:L8(),selectPoints:$g(),eventData:P8(),moduleType:"trace",name:"scattercarpet",basePlotModule:xf(),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}}}),R8=ke({"lib/scattercarpet.js"(Z,H){"use strict";H.exports=I8()}}),RM=ke({"src/traces/contourcarpet/attributes.js"(Z,H){"use strict";var g=ty(),x=v0(),A=ou(),S=To().extendFlat,e=x.contours;H.exports=S({carpet:{valType:"string",editType:"calc"},z:g.z,a:g.x,a0:g.x0,da:g.dx,b:g.y,b0:g.y0,db:g.dy,text:g.text,hovertext:g.hovertext,transpose:g.transpose,atype:g.xtype,btype:g.ytype,fillcolor:x.fillcolor,autocontour:x.autocontour,ncontours:x.ncontours,contours:{type:e.type,start:e.start,end:e.end,size:e.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:e.showlines,showlabels:e.showlabels,labelfont:e.labelfont,labelformat:e.labelformat,operation:e.operation,value:e.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:x.line.color,width:x.line.width,dash:x.line.dash,smoothing:x.line.smoothing,editType:"plot"},zorder:x.zorder},A("",{cLetter:"z",autoColorDflt:!1}))}}),DM=ke({"src/traces/contourcarpet/defaults.js"(Z,H){"use strict";var g=un(),x=B_(),A=RM(),S=l3(),e=$_(),t=Q_();H.exports=function(o,n,i,a){function s(d,T){return g.coerce(o,n,A,d,T)}function c(d){return g.coerce2(o,n,A,d)}if(s("carpet"),o.a&&o.b){var h=x(o,n,s,a,"a","b");if(!h){n.visible=!1;return}s("text");var p=s("contours.type")==="constraint";p?S(o,n,s,a,i,{hasHover:!1}):(e(o,n,s,c),t(o,n,s,a,{hasHover:!1}))}else n._defaultColor=i,n._length=null;s("zorder")}}}),D8=ke({"src/traces/contourcarpet/calc.js"(Z,H){"use strict";var g=od(),x=un(),A=N_(),S=U_(),e=j_(),t=V_(),r=W2(),o=DM(),n=Tb(),i=Q2();H.exports=function(c,h){var p=h._carpetTrace=n(c,h);if(!(!p||!p.visible||p.visible==="legendonly")){if(!h.a||!h.b){var d=c.data[p.index],T=c.data[h.index];T.a||(T.a=d.a),T.b||(T.b=d.b),o(T,h,h._defaultColor,c._fullLayout)}var l=a(c,h);return i(h,h._z),l}};function a(s,c){var h=c._carpetTrace,p=h.aaxis,d=h.baxis,T,l,_,w,M,E,m;p._minDtick=0,d._minDtick=0,x.isArray1D(c.z)&&A(c,p,d,"a","b",["z"]),T=c._a=c._a||c.a,w=c._b=c._b||c.b,T=T?p.makeCalcdata(c,"_a"):[],w=w?d.makeCalcdata(c,"_b"):[],l=c.a0||0,_=c.da||1,M=c.b0||0,E=c.db||1,m=c._z=S(c._z||c.z,c.transpose),c._emptypoints=t(m),e(m,c._emptypoints);var b=x.maxRowLength(m),v=c.xtype==="scaled"?"":T,u=r(c,v,l,_,b,p),y=c.ytype==="scaled"?"":w,f=r(c,y,M,E,m.length,d),P={a:u,b:f,z:m};return c.contours.type==="levels"&&c.contours.coloring!=="none"&&g(s,c,{vals:m,containerStr:"",cLetter:"z"}),[P]}}}),z8=ke({"src/traces/carpet/axis_aligned_line.js"(Z,H){"use strict";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S,e){var t,r,o,n,i,a,s,c,h,p,d,T,l,_=g(S)?"a":"b",w=_==="a"?x.aaxis:x.baxis,M=w.smoothing,E=_==="a"?x.a2i:x.b2j,m=_==="a"?S:e,b=_==="a"?e:S,v=_==="a"?A.a.length:A.b.length,u=_==="a"?A.b.length:A.a.length,y=Math.floor(_==="a"?x.b2j(b):x.a2i(b)),f=_==="a"?function(le){return x.evalxy([],le,y)}:function(le){return x.evalxy([],y,le)};M&&(o=Math.max(0,Math.min(u-2,y)),n=y-o,r=_==="a"?function(le,se){return x.dxydi([],le,o,se,n)}:function(le,se){return x.dxydj([],o,le,n,se)});var P=E(m[0]),L=E(m[1]),z=P0?Math.floor:Math.ceil,O=z>0?Math.ceil:Math.floor,I=z>0?Math.min:Math.max,N=z>0?Math.max:Math.min,U=B(P+F),W=O(L-F);s=f(P);var Q=[[s]];for(t=U;t*z=0;ce--)j=N.clipsegments[ce],ee=x([],j.x,P.c2p),ie=x([],j.y,L.c2p),ee.reverse(),ie.reverse(),xe.push(A(ee,ie,j.bicubic));var Te="M"+xe.join("L")+"Z";M(F,N.clipsegments,P,L,se,G),E(O,F,P,L,ae,J,$,I,N,G,Te),d(F,le,v,B,Q,u,I),S.setClipUrl(F,I._clipPathId,v)})};function p(b,v){var u,y,f,P,L,z,F,B,O;for(u=0;ule&&(y.max=le),y.len=y.max-y.min}function l(b,v,u){var y=b.getPointAtLength(v),f=b.getPointAtLength(u),P=f.x-y.x,L=f.y-y.y,z=Math.sqrt(P*P+L*L);return[P/z,L/z]}function _(b){var v=Math.sqrt(b[0]*b[0]+b[1]*b[1]);return[b[0]/v,b[1]/v]}function w(b,v){var u=Math.abs(b[0]*v[0]+b[1]*v[1]),y=Math.sqrt(1-u*u);return y/u}function M(b,v,u,y,f,P){var L,z,F,B,O=e.ensureSingle(b,"g","contourbg"),I=O.selectAll("path").data(P==="fill"&&!f?[0]:[]);I.enter().append("path"),I.exit().remove();var N=[];for(B=0;B=0&&(U=ee,Q=le):Math.abs(N[1]-U[1])=0&&(U=ee,Q=le):e.log("endpt to newendpt is not vert. or horz.",N,U,ee)}if(Q>=0)break;B+=ae(N,U),N=U}if(Q===v.edgepaths.length){e.log("unclosed perimeter path");break}F=Q,I=O.indexOf(F)===-1,I&&(F=O[0],B+=ae(N,U)+"Z",N=null)}for(F=0;Fm):E=z>f,m=z;var F=p(f,P,L,z);F.pos=y,F.yc=(f+z)/2,F.i=u,F.dir=E?"increasing":"decreasing",F.x=F.pos,F.y=[L,P],b&&(F.orig_p=s[u]),w&&(F.tx=a.text[u]),M&&(F.htx=a.hovertext[u]),v.push(F)}else v.push({pos:y,empty:!0})}return a._extremes[h._id]=A.findExtremes(h,g.concat(l,T),{padded:!0}),v.length&&(v[0].t={labels:{open:x(i,"open:")+" ",high:x(i,"high:")+" ",low:x(i,"low:")+" ",close:x(i,"close:")+" "}}),v}function n(i,a,s){var c=s._minDiff;if(!c){var h=i._fullData,p=[];c=1/0;var d;for(d=0;d"+_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat)):(O=x.extendFlat({},M),O.y0=O.y1=B,O.yLabelVal=F,O.yLabel=_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat),O.name="",w.push(O),P[F]=O)}return w}function a(s,c,h,p){var d=s.cd,T=s.ya,l=d[0].trace,_=d[0].t,w=n(s,c,h,p);if(!w)return[];var M=w.index,E=d[M],m=w.index=E.i,b=E.dir;function v(F){return _.labels[F]+g.hoverLabelText(T,l[F][m],l.yhoverformat)}var u=E.hi||l.hoverinfo,y=u.split("+"),f=u==="all",P=f||y.indexOf("y")!==-1,L=f||y.indexOf("text")!==-1,z=P?[v("open"),v("high"),v("low"),v("close")+" "+r[b]]:[];return L&&e(E,l,z),w.extraText=z.join("
"),w.y0=w.y1=T.c2p(E.yc,!0),[w]}H.exports={hoverPoints:o,hoverSplit:i,hoverOnPoints:a}}}),BM=ke({"src/traces/ohlc/select.js"(Z,H){"use strict";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n=S[0].t.bPos||0;if(A===!1)for(o=0;oc?function(l){return l<=0}:function(l){return l>=0};n.c2g=function(l){var _=n.c2l(l)-s;return(T(_)?_:0)+d},n.g2c=function(l){return n.l2c(l+s-d)},n.g2p=function(l){return l*p},n.c2p=function(l){return n.g2p(n.c2g(l))}}}function t(n,i){return i==="degrees"?A(n):n}function r(n,i){return i==="degrees"?S(n):n}function o(n,i){var a=n.type;if(a==="linear"){var s=n.d2c,c=n.c2d;n.d2c=function(h,p){return t(s(h),p)},n.c2d=function(h,p){return c(r(h,p))}}n.makeCalcdata=function(h,p){var d=h[p],T=h._length,l,_,w=function(v){return n.d2c(v,h.thetaunit)};if(d)for(l=new Array(T),_=0;_0?v:1/0},E=A(w,M),m=g.mod(E+1,w.length);return[w[E],w[m]]}function p(_){return Math.abs(_)>1e-10?_:0}function d(_,w,M){w=w||0,M=M||0;for(var E=_.length,m=new Array(E),b=0;b0?1:0}function x(r){var o=r[0],n=r[1];if(!isFinite(o)||!isFinite(n))return[1,0];var i=(o+1)*(o+1)+n*n;return[(o*o+n*n-1)/i,2*n/i]}function A(r,o){var n=o[0],i=o[1];return[n*r.radius+r.cx,-i*r.radius+r.cy]}function S(r,o){return o*r.radius}function e(r,o,n,i){var a=A(r,x([n,o])),s=a[0],c=a[1],h=A(r,x([i,o])),p=h[0],d=h[1];if(o===0)return["M"+s+","+c,"L"+p+","+d].join(" ");var T=S(r,1/Math.abs(o));return["M"+s+","+c,"A"+T+","+T+" 0 0,"+(o<0?1:0)+" "+p+","+d].join(" ")}function t(r,o,n,i){var a=S(r,1/(o+1)),s=A(r,x([o,n])),c=s[0],h=s[1],p=A(r,x([o,i])),d=p[0],T=p[1];if(g(n)!==g(i)){var l=A(r,x([o,0])),_=l[0],w=l[1];return["M"+c+","+h,"A"+a+","+a+" 0 0,"+(0it?(at=ie,tt=ie*it,pe=(ce-tt)/X.h/2,ut=[j[0],j[1]],Me=[ee[0]+pe,ee[1]-pe]):(at=ce/it,tt=ce,pe=(ie-at)/X.w/2,ut=[j[0]+pe,j[1]-pe],Me=[ee[0],ee[1]]),$.xLength2=at,$.yLength2=tt,$.xDomain2=ut,$.yDomain2=Me;var ue=$.xOffset2=X.l+X.w*ut[0],Oe=$.yOffset2=X.t+X.h*(1-Me[1]),rt=$.radius=at/Ue,ot=$.innerRadius=$.getHole(G)*rt,et=$.cx=ue-rt*Te[0],Lt=$.cy=Oe+rt*Te[3],Et=$.cxx=et-ue,Bt=$.cyy=Lt-Oe,qt=re.side,fr;qt==="counterclockwise"?(fr=qt,qt="top"):qt==="clockwise"&&(fr=qt,qt="bottom"),$.radialAxis=$.mockAxis(fe,G,re,{_id:"x",side:qt,_trueSide:fr,domain:[ot/X.w,rt/X.w]}),$.angularAxis=$.mockAxis(fe,G,ae,{side:"right",domain:[0,Math.PI],autorange:!1}),$.doAutoRange(fe,G),$.updateAngularAxis(fe,G),$.updateRadialAxis(fe,G),$.updateRadialAxisTitle(fe,G),$.xaxis=$.mockCartesianAxis(fe,G,{_id:"x",domain:ut}),$.yaxis=$.mockCartesianAxis(fe,G,{_id:"y",domain:Me});var ar=$.pathSubplot();$.clipPaths.forTraces.select("path").attr("d",ar).attr("transform",t(Et,Bt)),J.frontplot.attr("transform",t(ue,Oe)).call(o.setClipUrl,$._hasClipOnAxisFalse?null:$.clipIds.forTraces,$.gd),J.bg.attr("d",ar).attr("transform",t(et,Lt)).call(r.fill,G.bgcolor)},U.mockAxis=function(fe,G,$,J){var X=S.extendFlat({},$,J);return s(X,G,fe),X},U.mockCartesianAxis=function(fe,G,$){var J=this,X=J.isSmith,re=$._id,ae=S.extendFlat({type:"linear"},$);a(ae,fe);var j={x:[0,2],y:[1,3]};return ae.setRange=function(){var ee=J.sectorBBox,ie=j[re],ce=J.radialAxis._rl,xe=(ce[1]-ce[0])/(1-J.getHole(G));ae.range=[ee[ie[0]]*xe,ee[ie[1]]*xe]},ae.isPtWithinRange=re==="x"&&!X?function(ee){return J.isPtInside(ee)}:function(){return!0},ae.setRange(),ae.setScale(),ae},U.doAutoRange=function(fe,G){var $=this,J=$.gd,X=$.radialAxis,re=$.getRadial(G);c(J,X);var ae=X.range;if(re.range=ae.slice(),re._input.range=ae.slice(),X._rl=[X.r2l(ae[0],null,"gregorian"),X.r2l(ae[1],null,"gregorian")],X.minallowed!==void 0){var j=X.r2l(X.minallowed);X._rl[0]>X._rl[1]?X._rl[1]=Math.max(X._rl[1],j):X._rl[0]=Math.max(X._rl[0],j)}if(X.maxallowed!==void 0){var ee=X.r2l(X.maxallowed);X._rl[0]90&&ce<=270&&(xe.tickangle=180);var Ie=Ue?function(rt){var ot=z($,f([rt.x,0]));return t(ot[0]-j,ot[1]-ee)}:function(rt){return t(xe.l2p(rt.x)+ae,0)},Ye=Ue?function(rt){return L($,rt.x,-1/0,1/0)}:function(rt){return $.pathArc(xe.r2p(rt.x)+ae)},it=W(ie);if($.radialTickLayout!==it&&(X["radial-axis"].selectAll(".xtick").remove(),$.radialTickLayout=it),Te){xe.setScale();var at=0,tt=Ue?(xe.tickvals||[]).filter(function(rt){return rt>=0}).map(function(rt){return i.tickText(xe,rt,!0,!1)}):i.calcTicks(xe),ut=Ue?tt:i.clipEnds(xe,tt),Me=i.getTickSigns(xe)[2];Ue&&((xe.ticks==="top"&&xe.side==="bottom"||xe.ticks==="bottom"&&xe.side==="top")&&(Me=-Me),xe.ticks==="top"&&xe.side==="top"&&(at=-xe.ticklen),xe.ticks==="bottom"&&xe.side==="bottom"&&(at=xe.ticklen)),i.drawTicks(J,xe,{vals:tt,layer:X["radial-axis"],path:i.makeTickPath(xe,0,Me),transFn:Ie,crisp:!1}),i.drawGrid(J,xe,{vals:ut,layer:X["radial-grid"],path:Ye,transFn:S.noop,crisp:!1}),i.drawLabels(J,xe,{vals:tt,layer:X["radial-axis"],transFn:Ie,labelFns:i.makeLabelFns(xe,at)})}var pe=$.radialAxisAngle=$.vangles?I(le(O(ie.angle),$.vangles)):ie.angle,ue=t(j,ee),Oe=ue+e(-pe);se(X["radial-axis"],Te&&(ie.showticklabels||ie.ticks),{transform:Oe}),se(X["radial-grid"],Te&&ie.showgrid,{transform:Ue?"":ue}),se(X["radial-line"].select("line"),Te&&ie.showline,{x1:Ue?-re:ae,y1:0,x2:re,y2:0,transform:Oe}).attr("stroke-width",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateRadialAxisTitle=function(fe,G,$){if(!this.isSmith){var J=this,X=J.gd,re=J.radius,ae=J.cx,j=J.cy,ee=J.getRadial(G),ie=J.id+"title",ce=0;if(ee.title){var xe=o.bBox(J.layers["radial-axis"].node()).height,Te=ee.title.font.size,Ue=ee.side;ce=Ue==="top"?Te:Ue==="counterclockwise"?-(xe+Te*.4):xe+Te*.8}var Ie=$!==void 0?$:J.radialAxisAngle,Ye=O(Ie),it=Math.cos(Ye),at=Math.sin(Ye),tt=ae+re/2*it+ce*at,ut=j-re/2*at+ce*it;J.layers["radial-axis-title"]=T.draw(X,ie,{propContainer:ee,propName:J.id+".radialaxis.title",placeholder:F(X,"Click to enter radial axis title"),attributes:{x:tt,y:ut,"text-anchor":"middle"},transform:{rotate:-Ie}})}},U.updateAngularAxis=function(fe,G){var $=this,J=$.gd,X=$.layers,re=$.radius,ae=$.innerRadius,j=$.cx,ee=$.cy,ie=$.getAngular(G),ce=$.angularAxis,xe=$.isSmith;xe||($.fillViewInitialKey("angularaxis.rotation",ie.rotation),ce.setGeometry(),ce.setScale());var Te=xe?function(ot){var et=z($,f([0,ot.x]));return Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2}:function(ot){return ce.t2g(ot.x)};ce.type==="linear"&&ce.thetaunit==="radians"&&(ce.tick0=I(ce.tick0),ce.dtick=I(ce.dtick));var Ue=function(ot){return t(j+re*Math.cos(ot),ee-re*Math.sin(ot))},Ie=xe?function(ot){var et=z($,f([0,ot.x]));return t(et[0],et[1])}:function(ot){return Ue(Te(ot))},Ye=xe?function(ot){var et=z($,f([0,ot.x])),Lt=Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2;return t(et[0],et[1])+e(-I(Lt))}:function(ot){var et=Te(ot);return Ue(et)+e(-I(et))},it=xe?function(ot){return P($,ot.x,0,1/0)}:function(ot){var et=Te(ot),Lt=Math.cos(et),Et=Math.sin(et);return"M"+[j+ae*Lt,ee-ae*Et]+"L"+[j+re*Lt,ee-re*Et]},at=i.makeLabelFns(ce,0),tt=at.labelStandoff,ut={};ut.xFn=function(ot){var et=Te(ot);return Math.cos(et)*tt},ut.yFn=function(ot){var et=Te(ot),Lt=Math.sin(et)>0?.2:1;return-Math.sin(et)*(tt+ot.fontSize*Lt)+Math.abs(Math.cos(et))*(ot.fontSize*b)},ut.anchorFn=function(ot){var et=Te(ot),Lt=Math.cos(et);return Math.abs(Lt)<.1?"middle":Lt>0?"start":"end"},ut.heightFn=function(ot,et,Lt){var Et=Te(ot);return-.5*(1+Math.sin(Et))*Lt};var Me=W(ie);$.angularTickLayout!==Me&&(X["angular-axis"].selectAll("."+ce._id+"tick").remove(),$.angularTickLayout=Me);var pe=xe?[1/0].concat(ce.tickvals||[]).map(function(ot){return i.tickText(ce,ot,!0,!1)}):i.calcTicks(ce);xe&&(pe[0].text="\u221E",pe[0].fontSize*=1.75);var ue;if(G.gridshape==="linear"?(ue=pe.map(Te),S.angleDelta(ue[0],ue[1])<0&&(ue=ue.slice().reverse())):ue=null,$.vangles=ue,ce.type==="category"&&(pe=pe.filter(function(ot){return S.isAngleInsideSector(Te(ot),$.sectorInRad)})),ce.visible){var Oe=ce.ticks==="inside"?-1:1,rt=(ce.linewidth||1)/2;i.drawTicks(J,ce,{vals:pe,layer:X["angular-axis"],path:"M"+Oe*rt+",0h"+Oe*ce.ticklen,transFn:Ye,crisp:!1}),i.drawGrid(J,ce,{vals:pe,layer:X["angular-grid"],path:it,transFn:S.noop,crisp:!1}),i.drawLabels(J,ce,{vals:pe,layer:X["angular-axis"],repositionOnUpdate:!0,transFn:Ie,labelFns:ut})}se(X["angular-line"].select("path"),ie.showline,{d:$.pathSubplot(),transform:t(j,ee)}).attr("stroke-width",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateFx=function(fe,G){if(!this.gd._context.staticPlot){var $=!this.isSmith;$&&(this.updateAngularDrag(fe),this.updateRadialDrag(fe,G,0),this.updateRadialDrag(fe,G,1)),this.updateHoverAndMainDrag(fe)}},U.updateHoverAndMainDrag=function(fe){var G=this,$=G.isSmith,J=G.gd,X=G.layers,re=fe._zoomlayer,ae=v.MINZOOM,j=v.OFFEDGE,ee=G.radius,ie=G.innerRadius,ce=G.cx,xe=G.cy,Te=G.cxx,Ue=G.cyy,Ie=G.sectorInRad,Ye=G.vangles,it=G.radialAxis,at=u.clampTiny,tt=u.findXYatLength,ut=u.findEnclosingVertexAngles,Me=v.cornerHalfWidth,pe=v.cornerLen/2,ue,Oe,rt=h.makeDragger(X,"path","maindrag",fe.dragmode===!1?"none":"crosshair");g.select(rt).attr("d",G.pathSubplot()).attr("transform",t(ce,xe)),rt.onmousemove=function(Xt){d.hover(J,Xt,G.id),J._fullLayout._lasthover=rt,J._fullLayout._hoversubplot=G.id},rt.onmouseout=function(Xt){J._dragging||p.unhover(J,Xt)};var ot={element:rt,gd:J,subplot:G.id,plotinfo:{id:G.id,xaxis:G.xaxis,yaxis:G.yaxis},xaxes:[G.xaxis],yaxes:[G.yaxis]},et,Lt,Et,Bt,qt,fr,ar,Rr,gr;function br(Xt,$t){return Math.sqrt(Xt*Xt+$t*$t)}function _t(Xt,$t){return br(Xt-Te,$t-Ue)}function Be(Xt,$t){return Math.atan2(Ue-$t,Xt-Te)}function Ke(Xt,$t){return[Xt*Math.cos($t),Xt*Math.sin(-$t)]}function je(Xt,$t){if(Xt===0)return G.pathSector(2*Me);var ur=pe/Xt,pn=$t-ur,Rn=$t+ur,Nn=Math.max(0,Math.min(Xt,ee)),On=Nn-Me,ni=Nn+Me;return"M"+Ke(On,pn)+"A"+[On,On]+" 0,0,0 "+Ke(On,Rn)+"L"+Ke(ni,Rn)+"A"+[ni,ni]+" 0,0,1 "+Ke(ni,pn)+"Z"}function Se(Xt,$t,ur){if(Xt===0)return G.pathSector(2*Me);var pn=Ke(Xt,$t),Rn=Ke(Xt,ur),Nn=at((pn[0]+Rn[0])/2),On=at((pn[1]+Rn[1])/2),ni,zn;if(Nn&&On){var Qn=On/Nn,gi=-1/Qn,Zt=tt(Me,Qn,Nn,On);ni=tt(pe,gi,Zt[0][0],Zt[0][1]),zn=tt(pe,gi,Zt[1][0],Zt[1][1])}else{var Ft,Ht;On?(Ft=pe,Ht=Me):(Ft=Me,Ht=pe),ni=[[Nn-Ft,On-Ht],[Nn+Ft,On-Ht]],zn=[[Nn-Ft,On+Ht],[Nn+Ft,On+Ht]]}return"M"+ni.join("L")+"L"+zn.reverse().join("L")+"Z"}function He(){Et=null,Bt=null,qt=G.pathSubplot(),fr=!1;var Xt=J._fullLayout[G.id];ar=x(Xt.bgcolor).getLuminance(),Rr=h.makeZoombox(re,ar,ce,xe,qt),Rr.attr("fill-rule","evenodd"),gr=h.makeCorners(re,ce,xe),w(J)}function Ee(Xt,$t){return $t=Math.max(Math.min($t,ee),ie),Xtae?(Xt<$t?(Et=Xt,Bt=$t):(Et=$t,Bt=Xt),!0):(Et=null,Bt=null,!1)}function we(Xt,$t){Xt=Xt||qt,$t=$t||"M0,0Z",Rr.attr("d",Xt),gr.attr("d",$t),h.transitionZoombox(Rr,gr,fr,ar),fr=!0;var ur={};Rt(ur),J.emit("plotly_relayouting",ur)}function Le(Xt,$t){Xt=Xt*ue,$t=$t*Oe;var ur=et+Xt,pn=Lt+$t,Rn=_t(et,Lt),Nn=Math.min(_t(ur,pn),ee),On=Be(et,Lt),ni,zn;Ee(Rn,Nn)&&(ni=qt+G.pathSector(Bt),Et&&(ni+=G.pathSector(Et)),zn=je(Et,On)+je(Bt,On)),we(ni,zn)}function nt(Xt,$t,ur,pn){var Rn=u.findIntersectionXY(ur,pn,ur,[Xt-Te,Ue-$t]);return br(Rn[0],Rn[1])}function pt(Xt,$t){var ur=et+Xt,pn=Lt+$t,Rn=Be(et,Lt),Nn=Be(ur,pn),On=ut(Rn,Ye),ni=ut(Nn,Ye),zn=nt(et,Lt,On[0],On[1]),Qn=Math.min(nt(ur,pn,ni[0],ni[1]),ee),gi,Zt;Ee(zn,Qn)&&(gi=qt+G.pathSector(Bt),Et&&(gi+=G.pathSector(Et)),Zt=[Se(Et,On[0],On[1]),Se(Bt,On[0],On[1])].join(" ")),we(gi,Zt)}function bt(){if(h.removeZoombox(J),!(Et===null||Bt===null)){var Xt={};Rt(Xt),h.showDoubleClickNotifier(J),A.call("_guiRelayout",J,Xt)}}function Rt(Xt){var $t=it._rl,ur=($t[1]-$t[0])/(1-ie/ee)/ee,pn=[$t[0]+(Et-ie)*ur,$t[0]+(Bt-ie)*ur];Xt[G.id+".radialaxis.range"]=pn}function Nt(Xt,$t){var ur=J._fullLayout.clickmode;if(h.removeZoombox(J),Xt===2){var pn={};for(var Rn in G.viewInitial)pn[G.id+"."+Rn]=G.viewInitial[Rn];J.emit("plotly_doubleclick",null),A.call("_guiRelayout",J,pn)}ur.indexOf("select")>-1&&Xt===1&&_($t,J,[G.xaxis],[G.yaxis],G.id,ot),ur.indexOf("event")>-1&&d.click(J,$t,G.id)}ot.prepFn=function(Xt,$t,ur){var pn=J._fullLayout.dragmode,Rn=rt.getBoundingClientRect();J._fullLayout._calcInverseTransform(J);var Nn=J._fullLayout._invTransform;ue=J._fullLayout._invScaleX,Oe=J._fullLayout._invScaleY;var On=S.apply3DTransform(Nn)($t-Rn.left,ur-Rn.top);if(et=On[0],Lt=On[1],Ye){var ni=u.findPolygonOffset(ee,Ie[0],Ie[1],Ye);et+=Te+ni[0],Lt+=Ue+ni[1]}switch(pn){case"zoom":ot.clickFn=Nt,$||(Ye?ot.moveFn=pt:ot.moveFn=Le,ot.doneFn=bt,He(Xt,$t,ur));break;case"select":case"lasso":l(Xt,$t,ur,ot,pn);break}},p.init(ot)},U.updateRadialDrag=function(fe,G,$){var J=this,X=J.gd,re=J.layers,ae=J.radius,j=J.innerRadius,ee=J.cx,ie=J.cy,ce=J.radialAxis,xe=v.radialDragBoxSize,Te=xe/2;if(!ce.visible)return;var Ue=O(J.radialAxisAngle),Ie=ce._rl,Ye=Ie[0],it=Ie[1],at=Ie[$],tt=.75*(Ie[1]-Ie[0])/(1-J.getHole(G))/ae,ut,Me,pe;$?(ut=ee+(ae+Te)*Math.cos(Ue),Me=ie-(ae+Te)*Math.sin(Ue),pe="radialdrag"):(ut=ee+(j-Te)*Math.cos(Ue),Me=ie-(j-Te)*Math.sin(Ue),pe="radialdrag-inner");var ue=h.makeRectDragger(re,pe,"crosshair",-Te,-Te,xe,xe),Oe={element:ue,gd:X};fe.dragmode===!1&&(Oe.dragmode=!1),se(g.select(ue),ce.visible&&j0!=($?et>Ye:et=90||X>90&&re>=450?Ue=1:j<=0&&ie<=0?Ue=0:Ue=Math.max(j,ie),X<=180&&re>=180||X>180&&re>=540?ce=-1:ae>=0&&ee>=0?ce=0:ce=Math.min(ae,ee),X<=270&&re>=270||X>270&&re>=630?xe=-1:j>=0&&ie>=0?xe=0:xe=Math.min(j,ie),re>=360?Te=1:ae<=0&&ee<=0?Te=0:Te=Math.max(ae,ee),[ce,xe,Te,Ue]}function le(fe,G){var $=function(X){return S.angleDist(fe,X)},J=S.findIndexOfMin(G,$);return G[J]}function se(fe,G,$){return G?(fe.attr("display",null),fe.attr($)):fe&&fe.attr("display","none"),fe}}}),qM=ke({"src/plots/polar/layout_attributes.js"(Z,H){"use strict";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},"plot","from-root"),r=e({tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,ticklabelstep:x.ticklabelstep,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickfont:x.tickfont,tickangle:x.tickangle,tickformat:x.tickformat,tickformatstops:x.tickformatstops,layer:x.layer},"plot","from-root"),o={visible:S({},x.visible,{dflt:!0}),type:S({},x.type,{values:["-","linear","log","date","category"]}),autotypenumbers:x.autotypenumbers,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:"plot"},autorange:S({},x.autorange,{editType:"plot"}),rangemode:{valType:"enumerated",values:["tozero","nonnegative","normal"],dflt:"tozero",editType:"calc"},minallowed:S({},x.minallowed,{editType:"plot"}),maxallowed:S({},x.maxallowed,{editType:"plot"}),range:S({},x.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],editType:"plot"}),categoryorder:x.categoryorder,categoryarray:x.categoryarray,angle:{valType:"angle",editType:"plot"},autotickangles:x.autotickangles,side:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"clockwise",editType:"plot"},title:{text:S({},x.title.text,{editType:"plot",dflt:""}),font:S({},x.title.font,{editType:"plot"}),editType:"plot"},hoverformat:x.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};S(o,t,r);var n={visible:S({},x.visible,{dflt:!0}),type:{valType:"enumerated",values:["-","linear","category"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:x.autotypenumbers,categoryorder:x.categoryorder,categoryarray:x.categoryarray,thetaunit:{valType:"enumerated",values:["radians","degrees"],dflt:"degrees",editType:"calc"},period:{valType:"number",editType:"calc",min:0},direction:{valType:"enumerated",values:["counterclockwise","clockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",editType:"calc"},hoverformat:x.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};S(n,t,r),H.exports={domain:A({name:"polar",editType:"plot"}),sector:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],dflt:[0,360],editType:"plot"},hole:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},bgcolor:{valType:"color",editType:"plot",dflt:g.background},radialaxis:o,angularaxis:n,gridshape:{valType:"enumerated",values:["circular","linear"],dflt:"circular",editType:"plot"},uirevision:{valType:"any",editType:"none"},editType:"calc"}}}),Z8=ke({"src/plots/polar/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=Pm(),r=qg(),o=Dp(),n=zp(),i=T_(),a=o0(),s=Jw(),c=Gg(),h=qM(),p=UM(),d=Mb(),T=d.axisNames;function l(w,M,E,m){var b=E("bgcolor");m.bgColor=x.combine(b,m.paper_bgcolor);var v=E("sector");E("hole");var u=e(m.fullData,d.name,m.id),y=m.layoutOut,f;function P(xe,Te){return E(f+"."+xe,Te)}for(var L=0;L")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),J8=ke({"src/traces/scatterpolar/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:Eb(),categories:["polar","symbols","showLegend","scatter-like"],attributes:t1(),supplyDefaults:Cb().supplyDefaults,colorbar:Bh(),formatLabels:kb(),calc:Y8(),plot:K8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:Lb().hoverPoints,selectPoints:$g(),meta:{}}}}),$8=ke({"lib/scatterpolar.js"(Z,H){"use strict";H.exports=J8()}}),HM=ke({"src/traces/scatterpolargl/attributes.js"(Z,H){"use strict";var g=t1(),x=W0(),A=Rs().texttemplateAttrs;H.exports={mode:g.mode,r:g.r,theta:g.theta,r0:g.r0,dr:g.dr,theta0:g.theta0,dtheta:g.dtheta,thetaunit:g.thetaunit,text:g.text,texttemplate:A({editType:"plot"},{keys:["r","theta","text"]}),hovertext:g.hovertext,hovertemplate:g.hovertemplate,line:{color:x.line.color,width:x.line.width,dash:x.line.dash,editType:"calc"},connectgaps:x.connectgaps,marker:x.marker,fill:x.fill,fillcolor:x.fillcolor,textposition:x.textposition,textfont:x.textfont,hoverinfo:g.hoverinfo,selected:g.selected,unselected:g.unselected}}}),Q8=ke({"src/traces/scatterpolargl/defaults.js"(Z,H){"use strict";var g=un(),x=vu(),A=Cb().handleRThetaDefaults,S=Fd(),e=Hd(),t=Gd(),r=dv(),o=kv().PTS_LINESONLY,n=HM();H.exports=function(a,s,c,h){function p(T,l){return g.coerce(a,s,n,T,l)}var d=A(a,s,h,p);if(!d){s.visible=!1;return}p("thetaunit"),p("mode",d=r&&(m.marker.cluster=_.tree),m.marker&&(m.markerSel.positions=m.markerUnsel.positions=m.marker.positions=y),m.line&&y.length>1&&t.extendFlat(m.line,e.linePositions(i,l,y)),m.text&&(t.extendFlat(m.text,{positions:y},e.textPosition(i,l,m.text,m.marker)),t.extendFlat(m.textSel,{positions:y},e.textPosition(i,l,m.text,m.markerSel)),t.extendFlat(m.textUnsel,{positions:y},e.textPosition(i,l,m.text,m.markerUnsel))),m.fill&&!p.fill2d&&(p.fill2d=!0),m.marker&&!p.scatter2d&&(p.scatter2d=!0),m.line&&!p.line2d&&(p.line2d=!0),m.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(m.line),p.fillOptions.push(m.fill),p.markerOptions.push(m.marker),p.markerSelectedOptions.push(m.markerSel),p.markerUnselectedOptions.push(m.markerUnsel),p.textOptions.push(m.text),p.textSelectedOptions.push(m.textSel),p.textUnselectedOptions.push(m.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),_.x=f,_.y=P,_.rawx=f,_.rawy=P,_.r=M,_.theta=E,_.positions=y,_._scene=p,_.index=p.count,p.count++}}),A(i,a,s)}},H.exports.reglPrecompiled=o}}),aF=ke({"src/traces/scatterpolargl/index.js"(Z,H){"use strict";var g=nF();g.plot=iF(),H.exports=g}}),oF=ke({"lib/scatterpolargl.js"(Z,H){"use strict";H.exports=aF()}}),GM=ke({"src/traces/barpolar/attributes.js"(Z,H){"use strict";var g=Rs().hovertemplateAttrs,x=To().extendFlat,A=t1(),S=Pv();H.exports={r:A.r,theta:A.theta,r0:A.r0,dr:A.dr,theta0:A.theta0,dtheta:A.dtheta,thetaunit:A.thetaunit,base:x({},S.base,{}),offset:x({},S.offset,{}),width:x({},S.width,{}),text:x({},S.text,{}),hovertext:x({},S.hovertext,{}),marker:e(),hoverinfo:A.hoverinfo,hovertemplate:g(),selected:S.selected,unselected:S.unselected};function e(){var t=x({},S.marker);return delete t.cornerradius,t}}}),WM=ke({"src/traces/barpolar/layout_attributes.js"(Z,H){"use strict";H.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}}}),sF=ke({"src/traces/barpolar/defaults.js"(Z,H){"use strict";var g=un(),x=Cb().handleRThetaDefaults,A=I_(),S=GM();H.exports=function(t,r,o,n){function i(s,c){return g.coerce(t,r,S,s,c)}var a=x(t,r,n,i);if(!a){r.visible=!1;return}i("thetaunit"),i("base"),i("offset"),i("width"),i("text"),i("hovertext"),i("hovertemplate"),A(t,r,i,o,n),g.coerceSelectionMarkerOpacity(r,i)}}}),lF=ke({"src/traces/barpolar/layout_defaults.js"(Z,H){"use strict";var g=un(),x=WM();H.exports=function(A,S,e){var t={},r;function o(a,s){return g.coerce(A[r]||{},S[r],x,a,s)}for(var n=0;n0?(h=s,p=c):(h=c,p=s);var d=e.findEnclosingVertexAngles(h,r.vangles)[0],T=e.findEnclosingVertexAngles(p,r.vangles)[1],l=[d,(h+p)/2,T];return e.pathPolygonAnnulus(i,a,h,p,l,o,n)}:function(i,a,s,c){return A.pathAnnulus(i,a,s,c,o,n)}}}}),cF=ke({"src/traces/barpolar/hover.js"(Z,H){"use strict";var g=Ec(),x=un(),A=Qg().getTraceColor,S=x.fillText,e=Lb().makeHoverPointText,t=Sb().isPtInsidePolygon;H.exports=function(o,n,i){var a=o.cd,s=a[0].trace,c=o.subplot,h=c.radialAxis,p=c.angularAxis,d=c.vangles,T=d?t:x.isPtInsideSector,l=o.maxHoverDistance,_=p._period||2*Math.PI,w=Math.abs(h.g2p(Math.sqrt(n*n+i*i))),M=Math.atan2(i,n);h.range[0]>h.range[1]&&(M+=Math.PI);var E=function(u){return T(w,M,[u.rp0,u.rp1],[u.thetag0,u.thetag1],d)?l+Math.min(1,Math.abs(u.thetag1-u.thetag0)/_)-1+(u.rp1-w)/(u.rp1-u.rp0)-1:1/0};if(g.getClosest(a,E,o),o.index!==!1){var m=o.index,b=a[m];o.x0=o.x1=b.ct[0],o.y0=o.y1=b.ct[1];var v=x.extendFlat({},b,{r:b.s,theta:b.p});return S(b,s,o),e(v,s,c,o),o.hovertemplate=s.hovertemplate,o.color=A(s,b),o.xLabelVal=o.yLabelVal=void 0,b.s<0&&(o.idealAlign="left"),[o]}}}}),fF=ke({"src/traces/barpolar/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"barpolar",basePlotModule:Eb(),categories:["polar","bar","showLegend"],attributes:GM(),layoutAttributes:WM(),supplyDefaults:sF(),supplyLayoutDefaults:lF(),calc:XM().calc,crossTraceCalc:XM().crossTraceCalc,plot:uF(),colorbar:Bh(),formatLabels:kb(),style:Yd().style,styleOnSelect:Yd().styleOnSelect,hoverPoints:cF(),selectPoints:ey(),meta:{}}}}),hF=ke({"lib/barpolar.js"(Z,H){"use strict";H.exports=fF()}}),ZM=ke({"src/plots/smith/constants.js"(Z,H){"use strict";H.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}}}),YM=ke({"src/plots/smith/layout_attributes.js"(Z,H){"use strict";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},"plot","from-root"),r=e({ticklen:x.ticklen,tickwidth:S({},x.tickwidth,{dflt:2}),tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,tickfont:x.tickfont,tickformat:x.tickformat,hoverformat:x.hoverformat,layer:x.layer},"plot","from-root"),o=S({visible:S({},x.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:"data_array",editType:"plot"},tickangle:S({},x.tickangle,{dflt:90}),ticks:{valType:"enumerated",values:["top","bottom",""],editType:"ticks"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},editType:"calc"},t,r),n=S({visible:S({},x.visible,{dflt:!0}),tickvals:{valType:"data_array",editType:"plot"},ticks:x.ticks,editType:"calc"},t,r);H.exports={domain:A({name:"smith",editType:"plot"}),bgcolor:{valType:"color",editType:"plot",dflt:g.background},realaxis:o,imaginaryaxis:n,editType:"calc"}}}),dF=ke({"src/plots/smith/layout_defaults.js"(Z,H){"use strict";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=zp(),r=Dp(),o=o0(),n=Cv(),i=YM(),a=ZM(),s=a.axisNames,c=p(function(d){return g.isTypedArray(d)&&(d=Array.from(d)),d.slice().reverse().map(function(T){return-T}).concat([0]).concat(d)},String);function h(d,T,l,_){var w=l("bgcolor");_.bgColor=x.combine(w,_.paper_bgcolor);var M=e(_.fullData,a.name,_.id),E=_.layoutOut,m;function b(U,W){return l(m+"."+U,W)}for(var v=0;v")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),xF=ke({"src/traces/scattersmith/index.js"(Z,H){"use strict";H.exports={moduleType:"trace",name:"scattersmith",basePlotModule:vF(),categories:["smith","symbols","showLegend","scatter-like"],attributes:KM(),supplyDefaults:pF(),colorbar:Bh(),formatLabels:mF(),calc:gF(),plot:yF(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:_F().hoverPoints,selectPoints:$g(),meta:{}}}}),bF=ke({"lib/scattersmith.js"(Z,H){"use strict";H.exports=xF()}}),Yh=ke({"node_modules/world-calendars/dist/main.js"(Z,H){var g=Rf();function x(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}g(x.prototype,{instance:function(o,n){o=(o||"gregorian").toLowerCase(),n=n||"";var i=this._localCals[o+"-"+n];if(!i&&this.calendars[o]&&(i=new this.calendars[o](n),this._localCals[o+"-"+n]=i),!i)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,o);return i},newDate:function(o,n,i,a,s){return a=(o!=null&&o.year?o.calendar():typeof a=="string"?this.instance(a,s):a)||this.instance(),a.newDate(o,n,i)},substituteDigits:function(o){return function(n){return(n+"").replace(/[0-9]/g,function(i){return o[i]})}},substituteChineseDigits:function(o,n){return function(i){for(var a="",s=0;i>0;){var c=i%10;a=(c===0?"":o[c]+n[s])+a,s++,i=Math.floor(i/10)}return a.indexOf(o[1]+n[1])===0&&(a=a.substr(1)),a||o[0]}}});function A(o,n,i,a){if(this._calendar=o,this._year=n,this._month=i,this._day=a,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(r.local.invalidDate||r.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function S(o,n){return o=""+o,"000000".substring(0,n-o.length)+o}g(A.prototype,{newDate:function(o,n,i){return this._calendar.newDate(o??this,n,i)},year:function(o){return arguments.length===0?this._year:this.set(o,"y")},month:function(o){return arguments.length===0?this._month:this.set(o,"m")},day:function(o){return arguments.length===0?this._day:this.set(o,"d")},date:function(o,n,i){if(!this._calendar.isValid(o,n,i))throw(r.local.invalidDate||r.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=o,this._month=n,this._day=i,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,n){return this._calendar.add(this,o,n)},set:function(o,n){return this._calendar.set(this,o,n)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(r.local.differentCalendars||r.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,o._calendar.local.name);var n=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?"-":"")+S(Math.abs(this.year()),4)+"-"+S(this.month(),2)+"-"+S(this.day(),2)}});function e(){this.shortYearCutoff="+10"}g(e.prototype,{_validateLevel:0,newDate:function(o,n,i){return o==null?this.today():(o.year&&(this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),i=o.day(),n=o.month(),o=o.year()),new A(this,o,n,i))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return(n.year()<0?"-":"")+S(Math.abs(n.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear),12},monthOfYear:function(o,n){var i=this._validate(o,n,this.minDay,r.local.invalidMonth||r.regionalOptions[""].invalidMonth);return(i.month()+this.monthsInYear(i)-this.firstMonth)%this.monthsInYear(i)+this.minMonth},fromMonthOfYear:function(o,n){var i=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,i,this.minDay,r.local.invalidMonth||r.regionalOptions[""].invalidMonth),i},daysInYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[""].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate);return a.toJD()-this.newDate(a.year(),this.fromMonthOfYear(a.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(a))+2)%this.daysInWeek()},extraInfo:function(o,n,i){return this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),{}},add:function(o,n,i){return this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[""].invalidDate),this._correctAdd(o,this._add(o,n,i),n,i)},_add:function(o,n,i){if(this._validateLevel++,i==="d"||i==="w"){var a=o.toJD()+n*(i==="w"?this.daysInWeek():1),s=o.calendar().fromJD(a);return this._validateLevel--,[s.year(),s.month(),s.day()]}try{var c=o.year()+(i==="y"?n:0),h=o.monthOfYear()+(i==="m"?n:0),s=o.day(),p=function(l){for(;h_-1+l.minMonth;)c++,h-=_,_=l.monthsInYear(c)};i==="y"?(o.month()!==this.fromMonthOfYear(c,h)&&(h=this.newDate(c,o.month(),this.minDay).monthOfYear()),h=Math.min(h,this.monthsInYear(c)),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h)))):i==="m"&&(p(this),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h))));var d=[c,this.fromMonthOfYear(c,h),s];return this._validateLevel--,d}catch(T){throw this._validateLevel--,T}},_correctAdd:function(o,n,i,a){if(!this.hasYearZero&&(a==="y"||a==="m")&&(n[0]===0||o.year()>0!=n[0]>0)){var s={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[a],c=i<0?-1:1;n=this._add(o,i*s[0]+c*s[1],s[2])}return o.date(n[0],n[1],n[2])},set:function(o,n,i){this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[""].invalidDate);var a=i==="y"?n:o.year(),s=i==="m"?n:o.month(),c=i==="d"?n:o.day();return(i==="y"||i==="m")&&(c=Math.min(c,this.daysInMonth(a,s))),o.date(a,s,c)},isValid:function(o,n,i){this._validateLevel++;var a=this.hasYearZero||o!==0;if(a){var s=this.newDate(o,n,this.minDay);a=n>=this.minMonth&&n-this.minMonth=this.minDay&&i-this.minDay13.5?13:1),T=s-(d>2.5?4716:4715);return T<=0&&T--,this.newDate(T,d,p)},toJSDate:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[""].invalidDate),s=new Date(a.year(),a.month()-1,a.day());return s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0),s.setHours(s.getHours()>12?s.getHours()+2:0),s},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var r=H.exports=new x;r.cdate=A,r.baseCalendar=e,r.calendars.gregorian=t}}),wF=ke({"node_modules/world-calendars/dist/plus.js"(){var Z=Rf(),H=Yh();Z(H.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),H.local=H.regionalOptions[""],Z(H.cdate.prototype,{formatDate:function(g,x){return typeof g!="string"&&(x=g,g=""),this._calendar.formatDate(g||"",this,x)}}),Z(H.baseCalendar.prototype,{UNIX_EPOCH:H.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:H.instance().jdEpoch,TICKS_PER_DAY:24*60*60*1e7,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(g,x,A){if(typeof g!="string"&&(A=x,x=g,g=""),!x)return"";if(x.calendar()!==this)throw H.local.invalidFormat||H.regionalOptions[""].invalidFormat;g=g||this.local.dateFormat,A=A||{};for(var S=A.dayNamesShort||this.local.dayNamesShort,e=A.dayNames||this.local.dayNames,t=A.monthNumbers||this.local.monthNumbers,r=A.monthNamesShort||this.local.monthNamesShort,o=A.monthNames||this.local.monthNames,n=A.calculateWeek||this.local.calculateWeek,i=function(M,E){for(var m=1;w+m1},a=function(M,E,m,b){var v=""+E;if(i(M,b))for(;v.length1},_=function(P,L){var z=l(P,L),F=[2,3,z?4:2,z?4:2,10,11,20]["oyYJ@!".indexOf(P)+1],B=new RegExp("^-?\\d{1,"+F+"}"),O=x.substring(v).match(B);if(!O)throw(H.local.missingNumberAt||H.regionalOptions[""].missingNumberAt).replace(/\{0\}/,v);return v+=O[0].length,parseInt(O[0],10)},w=this,M=function(){if(typeof o=="function"){l("m");var P=o.call(w,x.substring(v));return v+=P.length,P}return _("m")},E=function(P,L,z,F){for(var B=l(P,F)?z:L,O=0;O-1){c=1,h=p;for(var f=this.daysInMonth(s,c);h>f;f=this.daysInMonth(s,c))c++,h-=f}return a>-1?this.fromJD(a):this.newDate(s,c,h)},determineDate:function(g,x,A,S,e){A&&typeof A!="object"&&(e=S,S=A,A=null),typeof S!="string"&&(e=S,S="");var t=this,r=function(o){try{return t.parseDate(S,o,e)}catch{}o=o.toLowerCase();for(var n=(o.match(/^c/)&&A?A.newDate():null)||t.today(),i=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,a=i.exec(o);a;)n.add(parseInt(a[1],10),a[2]||"d"),a=i.exec(o);return n};return x=x?x.newDate():null,g=g==null?x:typeof g=="string"?r(g):typeof g=="number"?isNaN(g)||g===1/0||g===-1/0?x:t.today().add(g,"d"):t.newDate(g),g}})}}),TF=ke({"node_modules/world-calendars/dist/calendars/chinese.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(a){this.local=this.regionalOptions[a||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(a,s){if(typeof a=="string"){var c=a.match(S);return c?c[0]:""}var h=this._validateYear(a),p=a.month(),d=""+this.toChineseMonth(h,p);return s&&d.length<2&&(d="0"+d),this.isIntercalaryMonth(h,p)&&(d+="i"),d},monthNames:function(a){if(typeof a=="string"){var s=a.match(e);return s?s[0]:""}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"][p-1];return this.isIntercalaryMonth(c,h)&&(d="\u95F0"+d),d},monthNamesShort:function(a){if(typeof a=="string"){var s=a.match(t);return s?s[0]:""}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"][p-1];return this.isIntercalaryMonth(c,h)&&(d="\u95F0"+d),d},parseMonth:function(a,s){a=this._validateYear(a);var c=parseInt(s),h;if(isNaN(c))s[0]==="\u95F0"&&(h=!0,s=s.substring(1)),s[s.length-1]==="\u6708"&&(s=s.substring(0,s.length-1)),c=1+["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"].indexOf(s);else{var p=s[s.length-1];h=p==="i"||p==="I"}var d=this.toMonthIndex(a,c,h);return d},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(a,s){if(a.year&&(a=a.year()),typeof a!="number"||a<1888||a>2111)throw s.replace(/\{0\}/,this.local.name);return a},toMonthIndex:function(a,s,c){var h=this.intercalaryMonth(a),p=c&&s!==h;if(p||s<1||s>12)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var d;return h?!c&&s<=h?d=s-1:d=s:d=s-1,d},toChineseMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a),h=c?12:11;if(s<0||s>h)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var p;return c?s>13;return c},isIntercalaryMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a);return!!c&&c===s},leapYear:function(a){return this.intercalaryMonth(a)!==0},weekOfYear:function(a,s,c){var h=this._validateYear(a,Z.local.invalidyear),p=o[h-o[0]],d=p>>9&4095,T=p>>5&15,l=p&31,_;_=g.newDate(d,T,l),_.add(4-(_.dayOfWeek()||7),"d");var w=this.toJD(a,s,c)-_.toJD();return 1+Math.floor(w/7)},monthsInYear:function(a){return this.leapYear(a)?13:12},daysInMonth:function(a,s){a.year&&(s=a.month(),a=a.year()),a=this._validateYear(a);var c=r[a-r[0]],h=c>>13,p=h?12:11;if(s>p)throw Z.local.invalidMonth.replace(/\{0\}/,this.local.name);var d=c&1<<12-s?30:29;return d},weekDay:function(a,s,c){return(this.dayOfWeek(a,s,c)||7)<6},toJD:function(a,s,c){var h=this._validate(a,d,c,Z.local.invalidDate);a=this._validateYear(h.year()),s=h.month(),c=h.day();var p=this.isIntercalaryMonth(a,s),d=this.toChineseMonth(a,s),T=i(a,d,c,p);return g.toJD(T.year,T.month,T.day)},fromJD:function(a){var s=g.fromJD(a),c=n(s.year(),s.month(),s.day()),h=this.toMonthIndex(c.year,c.month,c.isIntercalary);return this.newDate(c.year,h,c.day)},fromString:function(a){var s=a.match(A),c=this._validateYear(+s[1]),h=+s[2],p=!!s[3],d=this.toMonthIndex(c,h,p),T=+s[4];return this.newDate(c,d,T)},add:function(a,s,c){var h=a.year(),p=a.month(),d=this.isIntercalaryMonth(h,p),T=this.toChineseMonth(h,p),l=Object.getPrototypeOf(x.prototype).add.call(this,a,s,c);if(c==="y"){var _=l.year(),w=l.month(),M=this.isIntercalaryMonth(_,T),E=d&&M?this.toMonthIndex(_,T,!0):this.toMonthIndex(_,T,!1);E!==w&&l.month(E)}return l}});var A=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,S=/^\d?\d[iI]?/m,e=/^闰?十?[一二三四五六七八九]?月/m,t=/^闰?十?[一二三四五六七八九]?/m;Z.calendars.chinese=x;var r=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],o=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function n(a,s,c,h){var p,d;if(typeof a=="object")p=a,d=s||{};else{var T=typeof a=="number"&&a>=1888&&a<=2111;if(!T)throw new Error("Solar year outside range 1888-2111");var l=typeof s=="number"&&s>=1&&s<=12;if(!l)throw new Error("Solar month outside range 1 - 12");var _=typeof c=="number"&&c>=1&&c<=31;if(!_)throw new Error("Solar day outside range 1 - 31");p={year:a,month:s,day:c},d=h||{}}var w=o[p.year-o[0]],M=p.year<<9|p.month<<5|p.day;d.year=M>=w?p.year:p.year-1,w=o[d.year-o[0]];var E=w>>9&4095,m=w>>5&15,b=w&31,v,u=new Date(E,m-1,b),y=new Date(p.year,p.month-1,p.day);v=Math.round((y-u)/(24*3600*1e3));var f=r[d.year-r[0]],P;for(P=0;P<13;P++){var L=f&1<<12-P?30:29;if(v>13;return!z||P=1888&&a<=2111;if(!l)throw new Error("Lunar year outside range 1888-2111");var _=typeof s=="number"&&s>=1&&s<=12;if(!_)throw new Error("Lunar month outside range 1 - 12");var w=typeof c=="number"&&c>=1&&c<=30;if(!w)throw new Error("Lunar day outside range 1 - 30");var M;typeof h=="object"?(M=!1,d=h):(M=!!h,d=p||{}),T={year:a,month:s,day:c,isIntercalary:M}}var E;E=T.day-1;var m=r[T.year-r[0]],b=m>>13,v;b&&(T.month>b||T.isIntercalary)?v=T.month:v=T.month-1;for(var u=0;u>9&4095,L=f>>5&15,z=f&31,F=new Date(P,L-1,z+E);return d.year=F.getFullYear(),d.month=1+F.getMonth(),d.day=F.getDate(),d}}}),AF=ke({"node_modules/world-calendars/dist/calendars/coptic.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.coptic=g}}),MF=ke({"node_modules/world-calendars/dist/calendars/discworld.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),!1},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),13},daysInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),400},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/8)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return(t.day()+1)%8},weekDay:function(A,S,e){var t=this.dayOfWeek(A,S,e);return t>=2&&t<=6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{century:x[Math.floor((t.year()-1)/100)+1]||""}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return A=t.year()+(t.year()<0?1:0),S=t.month(),e=t.day(),e+(S>1?16:0)+(S>2?(S-2)*32:0)+(A-1)*400+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A+.5)-Math.floor(this.jdEpoch)-1;var S=Math.floor(A/400)+1;A-=(S-1)*400,A+=A>15?16:0;var e=Math.floor(A/32)+1,t=A-(e-1)*32+1;return this.newDate(S<=0?S-1:S,e,t)}});var x={20:"Fruitbat",21:"Anchovy"};Z.calendars.discworld=g}}),SF=ke({"node_modules/world-calendars/dist/calendars/ethiopian.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.ethiopian=g}}),EF=ke({"node_modules/world-calendars/dist/calendars/hebrew.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this._leapYear(S.year())},_leapYear:function(A){return A=A<0?A+1:A,x(A*7+1,19)<7},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),this._leapYear(A.year?A.year():A)?13:12},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return A=S.year(),this.toJD(A===-1?1:A+1,7,1)-this.toJD(A,7,1)},daysInMonth:function(A,S){return A.year&&(S=A.month(),A=A.year()),this._validate(A,S,this.minDay,Z.local.invalidMonth),S===12&&this.leapYear(A)||S===8&&x(this.daysInYear(A),10)===5?30:S===9&&x(this.daysInYear(A),10)===3?29:this.daysPerMonth[S-1]},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{yearType:(this.leapYear(t)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(t)%10-3]}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A<=0?A+1:A,o=this.jdEpoch+this._delay1(r)+this._delay2(r)+e+1;if(S<7){for(var n=7;n<=this.monthsInYear(A);n++)o+=this.daysInMonth(A,n);for(var n=1;n=this.toJD(S===-1?1:S+1,7,1);)S++;for(var e=Athis.toJD(S,e,this.daysInMonth(S,e));)e++;var t=A-this.toJD(S,e,1)+1;return this.newDate(S,e,t)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.hebrew=g}}),CF=ke({"node_modules/world-calendars/dist/calendars/islamic.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-kham\u012Bs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);return(A.year()*11+14)%30<11},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){return this.leapYear(x)?355:354},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===12&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==5},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x=x<=0?x+1:x,S+Math.ceil(29.5*(A-1))+(x-1)*354+Math.floor((3+11*x)/30)+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x)+.5;var A=Math.floor((30*(x-this.jdEpoch)+10646)/10631);A=A<=0?A-1:A;var S=Math.min(12,Math.ceil((x-29-this.toJD(A,1,1))/29.5)+1),e=x-this.toJD(A,S,1)+1;return this.newDate(A,S,e)}}),Z.calendars.islamic=g}}),kF=ke({"node_modules/world-calendars/dist/calendars/julian.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()<0?A.year()+1:A.year();return S%4===0},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(4-(e.dayOfWeek()||7),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===2&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x<0&&x++,A<=2&&(x--,A+=12),Math.floor(365.25*(x+4716))+Math.floor(30.6001*(A+1))+S-1524.5},fromJD:function(x){var A=Math.floor(x+.5),S=A+1524,e=Math.floor((S-122.1)/365.25),t=Math.floor(365.25*e),r=Math.floor((S-t)/30.6001),o=r-Math.floor(r<14?1:13),n=e-Math.floor(o>2?4716:4715),i=S-t-Math.floor(30.6001*r);return n<=0&&n--,this.newDate(n,o,i)}}),Z.calendars.julian=g}}),LF=ke({"node_modules/world-calendars/dist/calendars/mayan.js"(){var Z=Yh(),H=Rf();function g(S){this.local=this.regionalOptions[S||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),!1},formatYear:function(S){var e=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear);S=e.year();var t=Math.floor(S/400);S=S%400,S+=S<0?400:0;var r=Math.floor(S/20);return t+"."+r+"."+S%20},forYear:function(S){if(S=S.split("."),S.length<3)throw"Invalid Mayan year";for(var e=0,t=0;t19||t>0&&r<0)throw"Invalid Mayan year";e=e*20+r}return e},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),18},weekOfYear:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),0},daysInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),360},daysInMonth:function(S,e){return this._validate(S,e,this.minDay,Z.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()},weekDay:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),!0},extraInfo:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate),o=r.toJD(),n=this._toHaab(o),i=this._toTzolkin(o);return{haabMonthName:this.local.haabMonths[n[0]-1],haabMonth:n[0],haabDay:n[1],tzolkinDayName:this.local.tzolkinMonths[i[0]-1],tzolkinDay:i[0],tzolkinTrecena:i[1]}},_toHaab:function(S){S-=this.jdEpoch;var e=x(S+8+17*20,365);return[Math.floor(e/20)+1,x(e,20)]},_toTzolkin:function(S){return S-=this.jdEpoch,[A(S+20,20),A(S+4,13)]},toJD:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()+r.month()*20+r.year()*360+this.jdEpoch},fromJD:function(S){S=Math.floor(S)+.5-this.jdEpoch;var e=Math.floor(S/360);S=S%360,S+=S<0?360:0;var t=Math.floor(S/20),r=S%20;return this.newDate(e,t,r)}});function x(S,e){return S-e*Math.floor(S/e)}function A(S,e){return x(S-1,e)+1}Z.calendars.mayan=g}}),PF=ke({"node_modules/world-calendars/dist/calendars/nanakshahi.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar;var x=Z.instance("gregorian");H(g.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[""].invalidYear);return x.leapYear(S.year()+(S.year()<1?1:0)+1469)},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(1-(t.dayOfWeek()||7),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidMonth),r=t.year();r<0&&r++;for(var o=t.day(),n=1;n=this.toJD(S+1,1,1);)S++;for(var e=A-Math.floor(this.toJD(S,1,1)+.5)+1,t=1;e>this.daysInMonth(S,t);)e-=this.daysInMonth(S,t),t++;return this.newDate(S,t,e)}}),Z.calendars.nanakshahi=g}}),IF=ke({"node_modules/world-calendars/dist/calendars/nepali.js"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(x){return this.daysInYear(x)!==this.daysPerYear},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),"d"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);if(x=A.year(),typeof this.NEPALI_CALENDAR_DATA[x]>"u")return this.daysPerYear;for(var S=0,e=this.minMonth;e<=12;e++)S+=this.NEPALI_CALENDAR_DATA[x][e];return S},daysInMonth:function(x,A){return x.year&&(A=x.month(),x=x.year()),this._validate(x,A,this.minDay,Z.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[x]>"u"?this.daysPerMonth[A-1]:this.NEPALI_CALENDAR_DATA[x][A]},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);x=e.year(),A=e.month(),S=e.day();var t=Z.instance(),r=0,o=A,n=x;this._createMissingCalendarData(x);var i=x-(o>9||o===9&&S>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(A!==9&&(r=S,o--);o!==9;)o<=0&&(o=12,n--),r+=this.NEPALI_CALENDAR_DATA[n][o],o--;return A===9?(r+=S-this.NEPALI_CALENDAR_DATA[n][0],r<0&&(r+=t.daysInYear(i))):r+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],t.newDate(i,1,1).add(r,"d").toJD()},fromJD:function(x){var A=Z.instance(),S=A.fromJD(x),e=S.year(),t=S.dayOfYear(),r=e+56;this._createMissingCalendarData(r);for(var o=9,n=this.NEPALI_CALENDAR_DATA[r][0],i=this.NEPALI_CALENDAR_DATA[r][o]-n+1;t>i;)o++,o>12&&(o=1,r++),i+=this.NEPALI_CALENDAR_DATA[r][o];var a=this.NEPALI_CALENDAR_DATA[r][o]-(i-t);return this.newDate(r,o,a)},_createMissingCalendarData:function(x){var A=this.daysPerMonth.slice(0);A.unshift(17);for(var S=x-1;S"u"&&(this.NEPALI_CALENDAR_DATA[S]=A)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),Z.calendars.nepali=g}}),RF=ke({"node_modules/world-calendars/dist/calendars/persian.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Ch\xE6harshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Ch\xE6","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return((S.year()-(S.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-((t.dayOfWeek()+1)%7),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A-(A>=0?474:473),o=474+x(r,2820);return e+(S<=7?(S-1)*31:(S-1)*30+6)+Math.floor((o*682-110)/2816)+(o-1)*365+Math.floor(r/2820)*1029983+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A)+.5;var S=A-this.toJD(475,1,1),e=Math.floor(S/1029983),t=x(S,1029983),r=2820;if(t!==1029982){var o=Math.floor(t/366),n=x(t,366);r=Math.floor((2134*o+2816*n+2815)/1028522)+o+1}var i=r+2820*e+474;i=i<=0?i-1:i;var a=A-this.toJD(i,1,1)+1,s=a<=186?Math.ceil(a/31):Math.ceil((a-6)/30),c=A-this.toJD(i,s,1)+1;return this.newDate(i,s,c)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.persian=g,Z.calendars.jalali=g}}),DF=ke({"node_modules/world-calendars/dist/calendars/taiwan.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)},_g2tYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)}}),Z.calendars.taiwan=x}}),zF=ke({"node_modules/world-calendars/dist/calendars/thai.js"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)},_g2tYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)}}),Z.calendars.thai=x}}),FF=ke({"node_modules/world-calendars/dist/calendars/ummalqura.js"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||""]||this.regionalOptions[""]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thal\u0101th\u0101\u2019","Yawm al-Arba\u2018\u0101\u2019","Yawm al-Kham\u012Bs","Yawm al-Jum\u2018a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this.daysInYear(S.year())===355},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){for(var S=0,e=1;e<=12;e++)S+=this.daysInMonth(A,e);return S},daysInMonth:function(A,S){for(var e=this._validate(A,S,this.minDay,Z.local.invalidMonth),t=e.toJD()-24e5+.5,r=0,o=0;ot)return x[r]-x[r-1];r++}return 30},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate),r=12*(t.year()-1)+t.month()-15292,o=t.day()+x[r-1]-1;return o+24e5-.5},fromJD:function(A){for(var S=A-24e5+.5,e=0,t=0;tS);t++)e++;var r=e+15292,o=Math.floor((r-1)/12),n=o+1,i=r-12*o,a=S-x[e-1]+1;return this.newDate(n,i,a)},isValid:function(A,S,e){var t=Z.baseCalendar.prototype.isValid.apply(this,arguments);return t&&(A=A.year!=null?A.year:A,t=A>=1276&&A<=1500),t},_validate:function(A,S,e,t){var r=Z.baseCalendar.prototype._validate.apply(this,arguments);if(r.year<1276||r.year>1500)throw t.replace(/\{0\}/,this.local.name);return r}}),Z.calendars.ummalqura=g;var x=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]}}),OF=ke({"src/components/calendars/calendars.js"(Z,H){"use strict";H.exports=Yh(),wF(),TF(),AF(),MF(),SF(),EF(),CF(),kF(),LF(),PF(),IF(),RF(),DF(),zF(),FF()}}),BF=ke({"src/components/calendars/index.js"(Z,H){"use strict";var g=OF(),x=un(),A=Hi(),S=A.EPOCHJD,e=A.ONEDAY,t={valType:"enumerated",values:x.sortObjectKeys(g.calendars),editType:"calc",dflt:"gregorian"},r=function(m,b,v,u){var y={};return y[v]=t,x.coerce(m,b,y,v,u)},o=function(m,b,v,u){for(var y=0;y0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)<0?(Vn=ms+1,Bi-=Oa+1):Bi=Oa}return Vn}Je.lowerBound=Cr;function Kr(Ii,Ki,$n,Kn,Yn){Kn===void 0&&(Kn=0),Yn===void 0&&(Yn=-1);var Hi=Ii.length;if(Hi===0)return 0;Kn<0?Kn=Math.max(0,Kn+Hi):Kn=Math.min(Kn,Hi-1),Yn<0?Yn=Math.max(0,Yn+Hi):Yn=Math.min(Yn,Hi-1);for(var Vn=Kn,Bi=Yn-Kn+1;Bi>0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)>0?Bi=Oa:(Vn=ms+1,Bi-=Oa+1)}return Vn}Je.upperBound=Kr;function Qr(Ii,Ki,$n){if(Ii===Ki)return!0;if(Ii.length!==Ki.length)return!1;for(var Kn=0,Yn=Ii.length;Kn=Hi&&($n=Yn<0?Hi-1:Hi),Kn===void 0?Kn=Yn<0?-1:Hi:Kn<0?Kn=Math.max(Kn+Hi,Yn<0?-1:0):Kn>=Hi&&(Kn=Yn<0?Hi-1:Hi);var Vn;Yn<0&&Kn>=$n||Yn>0&&$n>=Kn?Vn=0:Yn<0?Vn=Math.floor((Kn-$n+1)/Yn+1):Vn=Math.floor((Kn-$n-1)/Yn+1);for(var Bi=[],Oa=0;Oa=Kn))){var Hi=Kn-$n+1;if(Ki>0?Ki=Ki%Hi:Ki<0&&(Ki=(Ki%Hi+Hi)%Hi),Ki!==0){var Vn=$n+Ki;an(Ii,$n,Vn-1),an(Ii,Vn,Kn),an(Ii,$n,Kn)}}}Je.rotate=Jr;function Er(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn!==0){$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);var Hi;Kn<$n?Hi=Kn+1+(Yn-$n):Hi=Kn-$n+1;for(var Vn=0;VnKi;--Yn)Ii[Yn]=Ii[Yn-1];Ii[Ki]=$n}Je.insert=ke;function Pn(Ii,Ki){var $n=Ii.length;if(Ki<0&&(Ki+=$n),!(Ki<0||Ki>=$n)){for(var Kn=Ii[Ki],Yn=Ki+1;Yn<$n;++Yn)Ii[Yn-1]=Ii[Yn];return Ii.length=$n-1,Kn}}Je.removeAt=Pn;function Ti(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=ze(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeFirstOf=Ti;function Ei(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn=_e(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeLastOf=Ei;function hi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ii[Vn]===Ki||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ii[Vn]===Ki?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllOf=hi;function Xi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn,Hi=De(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeFirstWhere=Xi;function ra(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn,Hi=Mt(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeLastWhere=ra;function _i(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ki(Ii[Vn],Vn)||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ki(Ii[Vn],Vn)?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllWhere=_i})(Wa||(Wa={}));function Pd(Je){var ze;return typeof Je.iter=="function"?ze=Je.iter():ze=new IO(Je),ze}function Os(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++)===!1)return}function LS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(!ze(Mt,_e++))return!1;return!0}function PS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++))return!0;return!1}function IS(Je){for(var ze=0,_e=[],De=Pd(Je),Mt;(Mt=De.next())!==void 0;)_e[ze++]=Mt;return _e}var IO=function(){function Je(ze){this._index=0,this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},Je}(),QO=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?ze:this.next()}},Je}(),eB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?this._source[ze]:this.next()}},Je}(),tB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?[ze,this._source[ze]]:this.next()}},Je}(),rB=function(){function Je(ze){this._fn=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},Je.prototype.next=function(){return this._fn.call(void 0)},Je}();function pw(){for(var Je=[],ze=0;ze0&&(Mt=De);return Mt}}function Ap(Je,ze){return new zO(Pd(Je),ze)}var zO=function(){function Je(ze,_e){this._index=0,this._source=ze,this._fn=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source.clone(),this._fn);return ze._index=this._index,ze},Je.prototype.next=function(){var ze=this._source.next();if(ze!==void 0)return this._fn.call(void 0,ze,this._index++)},Je}();var iB=function(){function Je(ze,_e,De){this._index=0,this._start=ze,this._stop=_e,this._step=De,this._length=vw.rangeLength(ze,_e,De)}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._start,this._stop,this._step);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},Je}(),vw;(function(Je){function ze(_e,De,Mt){return Mt===0?1/0:_e>De&&Mt>0||_e=this._source.length))return this._source[this._index--]},Je}();var aB=function(){function Je(ze,_e){this._source=ze,this._step=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._step)},Je.prototype.next=function(){for(var ze=this._source.next(),_e=this._step-1;_e>0;--_e)this._source.next();return ze},Je}(),Lg;(function(Je){function ze(ir,Cr,Kr){Kr===void 0&&(Kr=0);for(var Qr=new Array(Cr.length),bn=0,In=Kr,an=Cr.length;bnCr?1:0}Je.cmp=jt})(Lg||(Lg={}));var oB=function(){function Je(ze,_e){this._source=ze,this._count=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._count)},Je.prototype.next=function(){if(!(this._count<=0)){var ze=this._source.next();if(ze!==void 0)return this._count--,ze}},Je}();var sB=function(){function Je(ze){this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.map(function(ze){return ze.clone()}))},Je.prototype.next=function(){for(var ze=new Array(this._source.length),_e=0,De=this._source.length;_e=Kr.left&&ir=Kr.top&&Cr=Cr.bottom)){if(Kr.topCr.bottom&&Kr.height>=Cr.height){jt.scrollTop-=Cr.top-Kr.top;return}if(Kr.topCr.height){jt.scrollTop-=Cr.bottom-Kr.bottom;return}if(Kr.bottom>Cr.bottom&&Kr.height0;){if(Er(_e)){In++;continue}if(Er(De)){an++;continue}if(Er(Mt)){an++;continue}if(Er(ir)){Jr++;continue}if(Er(Cr)){an++;continue}if(Er(jt)){Jr++;continue}if(!Er(Kr))return 0}return In=Math.min(In,255),an=Math.min(an,255),Jr=Math.min(Jr,255),In<<16|an<<8|Jr}Je.calculateSingle=ze;var _e=/^#[^\s\+>~#\.\[:]+/,De=/^\.[^\s\+>~#\.\[:]+/,Mt=/^\[[^\]]+\]/,jt=/^[^\s\+>~#\.\[:]+/,ir=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,Cr=/^:[^\s\+>~#\.\[:]+/,Kr=/^[\s\+>~\*]+/,Qr=/:not\(([^\)]+)\)/g})(av||(av={}));var OS=function(){function Je(ze){this._root=new Xf.LeafNode,this.cmp=ze}return Object.defineProperty(Je.prototype,"isEmpty",{get:function(){return this._root.size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"first",{get:function(){var ze=Xf.firstLeaf(this._root);return ze.size>0?ze.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"last",{get:function(){var ze=Xf.lastLeaf(this._root);return ze.size>0?ze.items[ze.size-1]:void 0},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return Xf.iterItems(this._root)},Je.prototype.retro=function(){return Xf.retroItems(this._root)},Je.prototype.slice=function(ze,_e){return Xf.sliceItems(this._root,ze,_e)},Je.prototype.retroSlice=function(ze,_e){return Xf.retroSliceItems(this._root,ze,_e)},Je.prototype.at=function(ze){return Xf.itemAt(this._root,ze)},Je.prototype.has=function(ze,_e){return Xf.hasItem(this._root,ze,_e)},Je.prototype.indexOf=function(ze,_e){return Xf.indexOf(this._root,ze,_e)},Je.prototype.get=function(ze,_e){return Xf.getItem(this._root,ze,_e)},Je.prototype.assign=function(ze){this.clear(),this.update(ze)},Je.prototype.insert=function(ze){var _e=Xf.insertItem(this._root,ze,this.cmp);return this._root=Xf.maybeSplitRoot(this._root),_e},Je.prototype.update=function(ze){var _e=this;Os(ze,function(De){_e.insert(De)})},Je.prototype.delete=function(ze,_e){var De=Xf.deleteItem(this._root,ze,_e);return this._root=Xf.maybeExtractRoot(this._root),De},Je.prototype.remove=function(ze){var _e=Xf.removeItem(this._root,ze);return this._root=Xf.maybeExtractRoot(this._root),_e},Je.prototype.clear=function(){Xf.clear(this._root),this._root=new Xf.LeafNode},Je}();(function(Je){function ze(_e,De){var Mt=new Je(De);return Mt.assign(_e),Mt}Je.from=ze})(OS||(OS={}));var Xf;(function(Je){var ze=function(){function Vn(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(Vn.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Vn}();Je.BranchNode=ze;var _e=function(){function Vn(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(Vn.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Vn}();Je.LeafNode=_e;function De(Vn){for(;Vn.type===0;)Vn=Vn.children[0];return Vn}Je.firstLeaf=De;function Mt(Vn){for(;Vn.type===0;)Vn=Vn.children[Vn.children.length-1];return Vn}Je.lastLeaf=Mt;function jt(Vn){var Bi=De(Vn);return new ra(Bi,0,-1)}Je.iterItems=jt;function ir(Vn){var Bi=Mt(Vn);return new _i(Bi,Bi.size-1,-1)}Je.retroItems=ir;function Cr(Vn,Bi,Oa){Bi===void 0?Bi=0:Bi<0?Bi=Math.max(0,Bi+Vn.size):Bi=Math.min(Bi,Vn.size),Oa===void 0?Oa=Vn.size:Oa<0?Oa=Math.max(0,Oa+Vn.size):Oa=Math.min(Oa,Vn.size);var ms=Math.max(0,Oa-Bi);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new ra(Vn,Bi,ms)}Je.sliceItems=Cr;function Kr(Vn,Bi,Oa){Bi===void 0?Bi=Vn.size-1:Bi<0?Bi=Math.max(-1,Bi+Vn.size):Bi=Math.min(Bi,Vn.size-1),Oa===void 0?Oa=-1:Oa<0?Oa=Math.max(-1,Oa+Vn.size):Oa=Math.min(Oa,Vn.size-1);var ms=Math.max(0,Bi-Oa);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new _i(Vn,Bi,ms)}Je.retroSliceItems=Kr;function Qr(Vn,Bi){if(Bi<0&&(Bi+=Vn.size),!(Bi<0||Bi>=Vn.size)){for(;Vn.type===0;){var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa-1]),Vn=Vn.children[Oa]}return Vn.items[Bi]}}Je.itemAt=Qr;function bn(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0}Je.hasItem=bn;function In(Vn,Bi,Oa){for(var ms=0;Vn.type===0;){var Is=Ki(Vn.items,Bi,Oa);Is>0&&(ms+=Vn.sizes[Is-1]),Vn=Vn.children[Is]}var Cu=$n(Vn.items,Bi,Oa);return Cu>=0?ms+Cu:-ms+Cu}Je.indexOf=In;function an(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0?Vn.items[Is]:void 0}Je.getItem=an;function Jr(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa),Is;return ms>=0?(Is=Vn.items[ms],Vn.items[ms]=Bi):(Is=void 0,Wa.insert(Vn.items,-ms-1,Bi)),Is}var Cu=Ki(Vn.items,Bi,Oa),Zf=Vn.children[Cu],Sd=Zf.size,_f=Jr(Zf,Bi,Oa),ru=Zf.size;if(Vn.items[Cu]=Zf.items[0],Sd===ru)return _f;if(Zf.width>hi){var To=Yn(Zf);Wa.insert(Vn.children,Cu+1,To),Wa.insert(Vn.items,Cu+1,To.items[0])}return Kn(Vn,Cu),_f}Je.insertItem=Jr;function Er(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa);return ms<0?void 0:Wa.removeAt(Vn.items,ms)}var Is=Ki(Vn.items,Bi,Oa),Cu=Vn.children[Is],Zf=Cu.size,Sd=Er(Cu,Bi,Oa),_f=Cu.size;return Zf===_f||(Vn.items[Is]=Cu.items[0],Cu.width=Vn.size)){if(Vn.type===1)return Wa.removeAt(Vn.items,Bi);var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa]);var ms=Vn.children[Oa],Is=ke(ms,Bi);return Vn.items[Oa]=ms.items[0],ms.width1)return Vn;var Bi=Vn.children.pop();return Pn(Vn),Bi}Je.maybeExtractRoot=Ei;var hi=32,Xi=hi>>1,ra=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},Vn}(),_i=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},Vn}();function Ii(Vn,Bi){for(var Oa=Vn.length,ms=0;msBi)return ms;return Oa-1}function Ki(Vn,Bi,Oa){for(var ms=Vn.length,Is=1;Is0)return Is-1;return ms-1}function $n(Vn,Bi,Oa){for(var ms=Vn.length,Is=0;Is0)return-Is-1}return-ms-1}function Kn(Vn,Bi){for(var Oa=Vn.sizes,ms=Vn.children,Is=Bi>0?Oa[Bi-1]:0,Cu=ms.length;BiXi;if(Il&&Ed&&To){var vl=_f,Jl=ru;return vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Bi}if(Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Bi-1}if(Il&&!Ed&&To){var vl=_f,Jl=ru;return(Oa=Jl.items).unshift.apply(Oa,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),vl.prev&&(vl.prev.next=Jl),Jl.prev=vl.prev,Pn(vl),Bi}if(Il&&!Ed&&!To){var vl=_f,Jl=ru;return(ms=Jl.items).push.apply(ms,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),vl.next&&(vl.next.prev=Jl),Jl.next=vl.next,Pn(vl),Bi-1}if(!Il&&Ed&&To){var vl=_f,Jl=ru;return vl.children.push(Jl.children.shift()),vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Kn(vl,vl.width-1),Kn(Jl,0),Bi}if(!Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.children.unshift(Jl.children.pop()),vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Kn(vl,0),Kn(Jl,Jl.width-1),Bi-1}if(!Il&&!Ed&&To){var vl=_f,Jl=ru;return(Is=Jl.children).unshift.apply(Is,vl.children),(Cu=Jl.items).unshift.apply(Cu,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi}if(!Il&&!Ed&&!To){var vl=_f,Jl=ru;return(Zf=Jl.children).push.apply(Zf,vl.children),(Sd=Jl.items).push.apply(Sd,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi-1}throw"unreachable"}})(Xf||(Xf={}));var W1=function(){function Je(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(Je.prototype,"isEmpty",{get:function(){return this._size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return new Je.ForwardValueIterator(this._first)},Je.prototype.retro=function(){return new Je.RetroValueIterator(this._last)},Je.prototype.nodes=function(){return new Je.ForwardNodeIterator(this._first)},Je.prototype.retroNodes=function(){return new Je.RetroNodeIterator(this._last)},Je.prototype.assign=function(ze){var _e=this;this.clear(),Os(ze,function(De){_e.addLast(De)})},Je.prototype.push=function(ze){this.addLast(ze)},Je.prototype.pop=function(){return this.removeLast()},Je.prototype.shift=function(ze){this.addFirst(ze)},Je.prototype.unshift=function(){return this.removeFirst()},Je.prototype.addFirst=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._first?(_e.next=this._first,this._first.prev=_e,this._first=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.addLast=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._last?(_e.prev=this._last,this._last.next=_e,this._last=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.insertBefore=function(ze,_e){if(!_e||_e===this._first)return this.addFirst(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error("Reference node is not owned by the list.");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.prev;return De.next=Mt,De.prev=jt,Mt.prev=De,jt.next=De,this._size++,De},Je.prototype.insertAfter=function(ze,_e){if(!_e||_e===this._last)return this.addLast(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error("Reference node is not owned by the list.");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.next;return De.next=jt,De.prev=Mt,Mt.next=De,jt.prev=De,this._size++,De},Je.prototype.removeFirst=function(){var ze=this._first;if(ze)return ze===this._last?(this._first=null,this._last=null):(this._first=ze.next,this._first.prev=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeLast=function(){var ze=this._last;if(ze)return ze===this._first?(this._first=null,this._last=null):(this._last=ze.prev,this._last.next=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeNode=function(ze){if(!(ze instanceof Xv.LinkedListNode)||ze.list!==this)throw new Error("Node is not owned by the list.");var _e=ze;_e===this._first&&_e===this._last?(this._first=null,this._last=null):_e===this._first?(this._first=_e.next,this._first.prev=null):_e===this._last?(this._last=_e.prev,this._last.next=null):(_e.next.prev=_e.prev,_e.prev.next=_e.next),_e.list=null,_e.next=null,_e.prev=null,this._size--},Je.prototype.clear=function(){for(var ze=this._first;ze;){var _e=ze.next;ze.list=null,ze.prev=null,ze.next=null,ze=_e}this._first=null,this._last=null,this._size=0},Je}();(function(Je){function ze(ir){var Cr=new Je;return Cr.assign(ir),Cr}Je.from=ze;var _e=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr.value}},ir}();Je.ForwardValueIterator=_e;var De=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr.value}},ir}();Je.RetroValueIterator=De;var Mt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr}},ir}();Je.ForwardNodeIterator=Mt;var jt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr}},ir}();Je.RetroNodeIterator=jt})(W1||(W1={}));var Xv;(function(Je){var ze=function(){function _e(De,Mt){this.list=null,this.next=null,this.prev=null,this.list=De,this.value=Mt}return _e}();Je.LinkedListNode=ze})(Xv||(Xv={}));var gw=function(Je,ze){return gw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},gw(Je,ze)};function BO(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");gw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Rd=function(){function Je(ze){this.type=ze}return Object.defineProperty(Je.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),Je.prototype.conflate=function(ze){return!1},Je}(),Ig=function(Je){BO(ze,Je);function ze(){return Je!==null&&Je.apply(this,arguments)||this}return Object.defineProperty(ze.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),ze.prototype.conflate=function(_e){return!0},ze}(Rd),go;(function(Je){function ze($n,Kn){var Yn=bn.get($n);if(!Yn||Yn.length===0){Ei($n,Kn);return}var Hi=LS(zS(Yn),function(Vn){return Vn?Ti(Vn,$n,Kn):!0});Hi&&Ei($n,Kn)}Je.sendMessage=ze;function _e($n,Kn){if(!Kn.isConflatable){hi($n,Kn);return}var Yn=PS(Qr,function(Hi){return Hi.handler!==$n||!Hi.msg||Hi.msg.type!==Kn.type||!Hi.msg.isConflatable?!1:Hi.msg.conflate(Kn)});Yn||hi($n,Kn)}Je.postMessage=_e;function De($n,Kn){var Yn=bn.get($n);Yn&&Yn.indexOf(Kn)!==-1||(Yn?Yn.push(Kn):bn.set($n,[Kn]))}Je.installMessageHook=De;function Mt($n,Kn){var Yn=bn.get($n);if(Yn){var Hi=Yn.indexOf(Kn);Hi!==-1&&(Yn[Hi]=null,ra(Yn))}}Je.removeMessageHook=Mt;function jt($n){var Kn=bn.get($n);Kn&&Kn.length>0&&(Wa.fill(Kn,null),ra(Kn)),Os(Qr,function(Yn){Yn.handler===$n&&(Yn.handler=null,Yn.msg=null)})}Je.clearData=jt;function ir(){Er||Jr===0||(Pn(Jr),Er=!0,Xi(),Er=!1)}Je.flush=ir;function Cr(){return an}Je.getExceptionHandler=Cr;function Kr($n){var Kn=an;return an=$n,Kn}Je.setExceptionHandler=Kr;var Qr=new W1,bn=new WeakMap,In=new Set,an=function($n){console.error($n)},Jr=0,Er=!1,ke=function(){var $n=typeof requestAnimationFrame=="function";return $n?requestAnimationFrame:setImmediate}(),Pn=function(){var $n=typeof cancelAnimationFrame=="function";return $n?cancelAnimationFrame:clearImmediate}();function Ti($n,Kn,Yn){var Hi=!0;try{typeof $n=="function"?Hi=$n(Kn,Yn):Hi=$n.messageHook(Kn,Yn)}catch(Vn){an(Vn)}return Hi}function Ei($n,Kn){try{$n.processMessage(Kn)}catch(Yn){an(Yn)}}function hi($n,Kn){Qr.addLast({handler:$n,msg:Kn}),Jr===0&&(Jr=ke(Xi))}function Xi(){if(Jr=0,!Qr.isEmpty){var $n={handler:null,msg:null};for(Qr.addLast($n);;){var Kn=Qr.removeFirst();if(Kn===$n)return;Kn.handler&&Kn.msg&&ze(Kn.handler,Kn.msg)}}}function ra($n){In.size===0&&ke(_i),In.add($n)}function _i(){In.forEach(Ii),In.clear()}function Ii($n){Wa.removeAllWhere($n,Ki)}function Ki($n){return $n===null}})(go||(go={}));var vd=function(){function Je(ze){this._pid=Tm.nextPID(),this.name=ze.name,this._create=ze.create,this._coerce=ze.coerce||null,this._compare=ze.compare||null,this._changed=ze.changed||null}return Je.prototype.get=function(ze){var _e,De=Tm.ensureMap(ze);return this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze),_e},Je.prototype.set=function(ze,_e){var De,Mt=Tm.ensureMap(ze);this._pid in Mt?De=Mt[this._pid]:De=Mt[this._pid]=this._createValue(ze);var jt=this._coerceValue(ze,_e);this._maybeNotify(ze,De,Mt[this._pid]=jt)},Je.prototype.coerce=function(ze){var _e,De=Tm.ensureMap(ze);this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze);var Mt=this._coerceValue(ze,_e);this._maybeNotify(ze,_e,De[this._pid]=Mt)},Je.prototype._createValue=function(ze){var _e=this._create;return _e(ze)},Je.prototype._coerceValue=function(ze,_e){var De=this._coerce;return De?De(ze,_e):_e},Je.prototype._compareValue=function(ze,_e){var De=this._compare;return De?De(ze,_e):ze===_e},Je.prototype._maybeNotify=function(ze,_e,De){var Mt=this._changed;Mt&&!this._compareValue(_e,De)&&Mt(ze,_e,De)},Je}();(function(Je){function ze(_e){Tm.ownerData.delete(_e)}Je.clearData=ze})(vd||(vd={}));var Tm;(function(Je){Je.ownerData=new WeakMap,Je.nextPID=function(){var _e=0;return function(){var De=Math.random(),Mt=(""+De).slice(2);return"pid-"+Mt+"-"+_e++}}();function ze(_e){var De=Je.ownerData.get(_e);return De||(De=Object.create(null),Je.ownerData.set(_e,De),De)}Je.ensureMap=ze})(Tm||(Tm={}));var Kl=function(){function Je(ze){this._blockedCount=0,this.sender=ze}return Je.prototype.block=function(ze){this._blockedCount++;try{ze()}finally{this._blockedCount--}},Je.prototype.connect=function(ze,_e){return Md.connect(this,ze,_e)},Je.prototype.disconnect=function(ze,_e){return Md.disconnect(this,ze,_e)},Je.prototype.emit=function(ze){this._blockedCount||Md.emit(this,ze)},Je}();(function(Je){function ze(Qr,bn){var In=Md.blockedProperty;In.set(Qr,In.get(Qr)+1);try{bn()}finally{In.set(Qr,In.get(Qr)-1)}}Je.blockAll=ze;function _e(Qr,bn){Md.disconnectBetween(Qr,bn)}Je.disconnectBetween=_e;function De(Qr){Md.disconnectSender(Qr)}Je.disconnectSender=De;function Mt(Qr){Md.disconnectReceiver(Qr)}Je.disconnectReceiver=Mt;function jt(Qr){Md.disconnectAll(Qr)}Je.disconnectAll=jt;function ir(Qr){Md.disconnectAll(Qr)}Je.clearData=ir;function Cr(){return Md.exceptionHandler}Je.getExceptionHandler=Cr;function Kr(Qr){var bn=Md.exceptionHandler;return Md.exceptionHandler=Qr,bn}Je.setExceptionHandler=Kr})(Kl||(Kl={}));var Md;(function(Je){Je.exceptionHandler=function(Ei){console.error(Ei)};function ze(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(ra||(ra=[],Kr.set(Ei.sender,ra)),an(ra,Ei,hi,Xi))return!1;var _i=Xi||hi,Ii=Qr.get(_i);Ii||(Ii=[],Qr.set(_i,Ii));var Ki={signal:Ei,slot:hi,thisArg:Xi};return ra.push(Ki),Ii.push(Ki),!0}Je.connect=ze;function _e(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(!ra||ra.length===0)return!1;var _i=an(ra,Ei,hi,Xi);if(!_i)return!1;var Ii=Xi||hi,Ki=Qr.get(Ii);return _i.signal=null,Er(ra),Er(Ki),!0}Je.disconnect=_e;function De(Ei,hi){var Xi=Kr.get(Ei);if(!(!Xi||Xi.length===0)){var ra=Qr.get(hi);!ra||ra.length===0||(Os(ra,function(_i){_i.signal&&_i.signal.sender===Ei&&(_i.signal=null)}),Er(Xi),Er(ra))}}Je.disconnectBetween=De;function Mt(Ei){var hi=Kr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.thisArg||Xi.slot;Xi.signal=null,Er(Qr.get(ra))}}),Er(hi))}Je.disconnectSender=Mt;function jt(Ei){var hi=Qr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.signal.sender;Xi.signal=null,Er(Kr.get(ra))}}),Er(hi))}Je.disconnectReceiver=jt;function ir(Ei){Mt(Ei),jt(Ei)}Je.disconnectAll=ir;function Cr(Ei,hi){if(!(Je.blockedProperty.get(Ei.sender)>0)){var Xi=Kr.get(Ei.sender);if(!(!Xi||Xi.length===0))for(var ra=0,_i=Xi.length;ra<_i;++ra){var Ii=Xi[ra];Ii.signal===Ei&&Jr(Ii,hi)}}}Je.emit=Cr;var Kr=new WeakMap,Qr=new WeakMap,bn=new Set,In=function(){var Ei=typeof requestAnimationFrame=="function";return Ei?requestAnimationFrame:setImmediate}();function an(Ei,hi,Xi,ra){return Pg(Ei,function(_i){return _i.signal===hi&&_i.slot===Xi&&_i.thisArg===ra})}function Jr(Ei,hi){var Xi=Ei.signal,ra=Ei.slot,_i=Ei.thisArg;try{ra.call(_i,Xi.sender,hi)}catch(Ii){Je.exceptionHandler(Ii)}}function Er(Ei){bn.size===0&&In(ke),bn.add(Ei)}function ke(){bn.forEach(Pn),bn.clear()}function Pn(Ei){Wa.removeAllWhere(Ei,Ti)}function Ti(Ei){return Ei.signal===null}Je.blockedProperty=new vd({name:"blocked",create:function(){return 0}})})(Md||(Md={}));var yw=function(Je,ze){return yw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},yw(Je,ze)};function NS(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");yw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Mp=function(){function Je(ze){this._fn=ze}return Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){if(this._fn){var ze=this._fn;this._fn=null,ze()}},Je}(),bB=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(Mp),_w=function(){function Je(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach(function(ze){ze.dispose()}),this._items.clear())},Je.prototype.contains=function(ze){return this._items.has(ze)},Je.prototype.add=function(ze){this._items.add(ze)},Je.prototype.remove=function(ze){this._items.delete(ze)},Je.prototype.clear=function(){this._items.clear()},Je}();(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(_w||(_w={}));var BS=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(_w);(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(BS||(BS={}));var Sp=function(){function Je(ze){var _e=this;this._onScrollFrame=function(){if(_e._scrollTarget){var De=_e._scrollTarget,Mt=De.element,jt=De.edge,ir=De.distance,Cr=id.SCROLL_EDGE_SIZE-ir,Kr=Math.pow(Cr/id.SCROLL_EDGE_SIZE,2),Qr=Math.max(1,Math.round(Kr*id.SCROLL_EDGE_SIZE));switch(jt){case"top":Mt.scrollTop-=Qr;break;case"left":Mt.scrollLeft-=Qr;break;case"right":Mt.scrollLeft+=Qr;break;case"bottom":Mt.scrollTop+=Qr;break}requestAnimationFrame(_e._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=ze.document||document,this.mimeData=ze.mimeData,this.dragImage=ze.dragImage||null,this.proposedAction=ze.proposedAction||"copy",this.supportedActions=ze.supportedActions||"all",this.source=ze.source||null}return Je.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var ze=id.createMouseEvent("pointerup",-1,-1);id.dispatchDragLeave(this,this._currentTarget,null,ze)}this._finalize("none")}},Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Je.prototype.start=function(ze,_e){var De=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(ze,_e),this._promise=new Promise(function(jt,ir){De._resolve=jt});var Mt=id.createMouseEvent("pointermove",ze,_e);return document.dispatchEvent(Mt),this._promise},Je.prototype.handleEvent=function(ze){switch(ze.type){case"mousemove":this._evtMouseMove(ze);break;case"mouseup":this._evtMouseUp(ze);break;case"pointermove":this._evtMouseMove(ze);break;case"pointerup":this._evtMouseUp(ze);break;case"keydown":this._evtKeyDown(ze);break;default:ze.preventDefault(),ze.stopPropagation();break}},Je.prototype.moveDragImage=function(ze,_e){if(this.dragImage){var De=this.dragImage.style;De.top=_e+"px",De.left=ze+"px"}},Je.prototype._evtMouseMove=function(ze){ze.preventDefault(),ze.stopPropagation(),this._updateCurrentTarget(ze),this._updateDragScroll(ze),this.moveDragImage(ze.clientX,ze.clientY)},Je.prototype._evtMouseUp=function(ze){if(ze.preventDefault(),ze.stopPropagation(),ze.button===0){if(this._updateCurrentTarget(ze),!this._currentTarget){this._finalize("none");return}if(this._dropAction==="none"){id.dispatchDragLeave(this,this._currentTarget,null,ze),this._finalize("none");return}var _e=id.dispatchDrop(this,this._currentTarget,ze);this._finalize(_e)}},Je.prototype._evtKeyDown=function(ze){ze.preventDefault(),ze.stopPropagation(),ze.keyCode===27&&this.dispose()},Je.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},Je.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},Je.prototype._updateDragScroll=function(ze){var _e=id.findScrollTarget(ze);!this._scrollTarget&&!_e||(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=_e)},Je.prototype._updateCurrentTarget=function(ze){var _e=this._currentTarget,De=this._currentTarget,Mt=this._currentElement,jt=this.document.elementFromPoint(ze.clientX,ze.clientY);this._currentElement=jt,jt!==Mt&&jt!==De&&id.dispatchDragExit(this,De,jt,ze),jt!==Mt&&jt!==De&&(De=id.dispatchDragEnter(this,jt,De,ze)),De!==_e&&(this._currentTarget=De,id.dispatchDragLeave(this,_e,De,ze));var ir=id.dispatchDragOver(this,De,ze);this._setDropAction(ir)},Je.prototype._attachDragImage=function(ze,_e){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var De=this.dragImage.style;De.pointerEvents="none",De.position="fixed",De.top=_e+"px",De.left=ze+"px";var Mt=this.document instanceof Document?this.document.body:this.document.firstElementChild;Mt.appendChild(this.dragImage)}},Je.prototype._detachDragImage=function(){if(this.dragImage){var ze=this.dragImage.parentNode;ze&&ze.removeChild(this.dragImage)}},Je.prototype._setDropAction=function(ze){if(ze=id.validateAction(ze,this.supportedActions),!(this._override&&this._dropAction===ze))switch(ze){case"none":this._dropAction=ze,this._override=Je.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=ze,this._override=Je.overrideCursor("copy",this.document);break;case"link":this._dropAction=ze,this._override=Je.overrideCursor("alias",this.document);break;case"move":this._dropAction=ze,this._override=Je.overrideCursor("move",this.document);break}},Je.prototype._finalize=function(ze){var _e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,_e&&_e(ze)},Je}();(function(Je){function ze(De,Mt){Mt===void 0&&(Mt=document);var jt=++_e,ir=Mt instanceof Document?Mt.body:Mt.firstElementChild;return ir.style.cursor=De,ir.classList.add("lm-mod-override-cursor"),ir.classList.add("p-mod-override-cursor"),new Mp(function(){jt===_e&&(ir.style.cursor="",ir.classList.remove("lm-mod-override-cursor"),ir.classList.remove("p-mod-override-cursor"))})}Je.overrideCursor=ze;var _e=0})(Sp||(Sp={}));var id;(function(Je){Je.SCROLL_EDGE_SIZE=20;function ze(an,Jr){return Qr[an]&bn[Jr]?an:"none"}Je.validateAction=ze;function _e(an,Jr,Er){var ke=document.createEvent("MouseEvent");return ke.initMouseEvent(an,!0,!0,window,0,0,0,Jr,Er,!1,!1,!1,!1,0,null),ke}Je.createMouseEvent=_e;function De(an){for(var Jr=an.clientX,Er=an.clientY,ke=document.elementFromPoint(Jr,Er);ke;ke=ke.parentElement){var Pn=ke.hasAttribute("data-lm-dragscroll");if(Pn=Pn||ke.hasAttribute("data-p-dragscroll"),!!Pn){var Ti=0,Ei=0;ke===document.body&&(Ti=window.pageXOffset,Ei=window.pageYOffset);var hi=ke.getBoundingClientRect(),Xi=hi.top+Ei,ra=hi.left+Ti,_i=ra+hi.width,Ii=Xi+hi.height;if(!(Jr=_i||Er=Ii)){var Ki=Jr-ra+1,$n=Er-Xi+1,Kn=_i-Jr,Yn=Ii-Er,Hi=Math.min(Ki,$n,Kn,Yn);if(!(Hi>Je.SCROLL_EDGE_SIZE)){var Vn=void 0;switch(Hi){case Yn:Vn="bottom";break;case $n:Vn="top";break;case Kn:Vn="right";break;case Ki:Vn="left";break;default:throw"unreachable"}var Bi=ke.scrollWidth-ke.clientWidth,Oa=ke.scrollHeight-ke.clientHeight,ms=void 0;switch(Vn){case"top":ms=Oa>0&&ke.scrollTop>0;break;case"left":ms=Bi>0&&ke.scrollLeft>0;break;case"right":ms=Bi>0&&ke.scrollLeft0&&ke.scrollTop0&&(Kr=ke)}return{cmd:bn,ctrl:In,alt:Qr,shift:an,key:Kr}}Je.parseKeystroke=ze;function _e(Cr){var Kr="",Qr=ze(Cr);return Qr.ctrl&&(Kr+="Ctrl "),Qr.alt&&(Kr+="Alt "),Qr.shift&&(Kr+="Shift "),Qr.cmd&&zh.IS_MAC&&(Kr+="Cmd "),Kr+Qr.key}Je.normalizeKeystroke=_e;function De(Cr){var Kr;return zh.IS_WIN?Kr=Cr.winKeys||Cr.keys:zh.IS_MAC?Kr=Cr.macKeys||Cr.keys:Kr=Cr.linuxKeys||Cr.keys,Kr.map(_e)}Je.normalizeKeys=De;function Mt(Cr){return typeof Cr=="string"?Kr(Cr):Cr.map(Kr).join(", ");function Kr(Qr){var bn=[],In=zh.IS_MAC?" ":"+",an=ze(Qr);return an.ctrl&&bn.push("Ctrl"),an.alt&&bn.push("Alt"),an.shift&&bn.push("Shift"),zh.IS_MAC&&an.cmd&&bn.push("Cmd"),bn.push(an.key),bn.map(Ep.formatKey).join(In)}}Je.formatKeystroke=Mt;function jt(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);return Kr.isModifierKey(Qr)}Je.isModifierKeyPressed=jt;function ir(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);if(!Qr||Kr.isModifierKey(Qr))return"";var bn=[];return Cr.ctrlKey&&bn.push("Ctrl"),Cr.altKey&&bn.push("Alt"),Cr.shiftKey&&bn.push("Shift"),Cr.metaKey&&zh.IS_MAC&&bn.push("Cmd"),bn.push(Qr),bn.join(" ")}Je.keystrokeForKeydownEvent=ir})(Dg||(Dg={}));var Ep;(function(Je){Je.CHORD_TIMEOUT=1e3;function ze(hi){var Xi,ra;return!hi.icon||typeof hi.icon=="string"?(ra=Er(hi.iconClass||hi.icon,Kr),Xi=ra):(ra=Er(hi.iconClass,Kr),Xi=Er(hi.icon,Jr)),{execute:hi.execute,describedBy:Tw({args:null},hi.describedBy),label:Er(hi.label,Kr),mnemonic:Er(hi.mnemonic,Qr),icon:Xi,iconClass:ra,iconLabel:Er(hi.iconLabel,Kr),caption:Er(hi.caption,Kr),usage:Er(hi.usage,Kr),className:Er(hi.className,Kr),dataset:Er(hi.dataset,an),isEnabled:hi.isEnabled||bn,isToggled:hi.isToggled||In,isToggleable:hi.isToggleable||!!hi.isToggled,isVisible:hi.isVisible||bn}}Je.createCommand=ze;function _e(hi){return{keys:Dg.normalizeKeys(hi),selector:ke(hi),command:hi.command,args:hi.args||pd.JSONExt.emptyObject}}Je.createKeyBinding=_e;function De(hi,Xi,ra){for(var _i=null,Ii=!1,Ki=1/0,$n=0,Kn=0,Yn=hi.length;KnKi)){var Oa=ov.calculateSpecificity(Hi.selector);(!_i||Bi=$n)&&(_i=Hi,Ki=Bi,$n=Oa)}}}return{exact:_i,partial:Ii}}Je.matchKeyBinding=De;function Mt(hi){hi.target.dispatchEvent(Ei(hi))}Je.replayKeyEvent=Mt;function jt(hi){return zh.IS_MAC?ir.hasOwnProperty(hi)?ir[hi]:hi:Cr.hasOwnProperty(hi)?Cr[hi]:hi}Je.formatKey=jt;var ir={Backspace:"\u232B",Tab:"\u21E5",Enter:"\u21A9",Shift:"\u21E7",Ctrl:"\u2303",Alt:"\u2325",Escape:"\u238B",PageUp:"\u21DE",PageDown:"\u21DF",End:"\u2198",Home:"\u2196",ArrowLeft:"\u2190",ArrowUp:"\u2191",ArrowRight:"\u2192",ArrowDown:"\u2193",Delete:"\u2326",Cmd:"\u2318"},Cr={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},Kr=function(){return""},Qr=function(){return-1},bn=function(){return!0},In=function(){return!1},an=function(){return{}},Jr=function(){};function Er(hi,Xi){return hi===void 0?Xi:typeof hi=="function"?hi:function(){return hi}}function ke(hi){if(hi.selector.indexOf(",")!==-1)throw new Error("Selector cannot contain commas: "+hi.selector);if(!ov.isValid(hi.selector))throw new Error("Invalid selector: "+hi.selector);return hi.selector}function Pn(hi,Xi){if(hi.lengthXi.length?2:1}function Ti(hi,Xi){for(var ra=Xi.target,_i=Xi.currentTarget,Ii=0;ra!==null;ra=ra.parentElement,++Ii){if(ra.hasAttribute("data-lm-suppress-shortcuts")||ra.hasAttribute("data-p-suppress-shortcuts"))return-1;if(ov.matches(ra,hi))return Ii;if(ra===_i)return-1}return-1}function Ei(hi){var Xi=document.createEvent("Event"),ra=hi.bubbles||!0,_i=hi.cancelable||!0;return Xi.initEvent(hi.type||"keydown",ra,_i),Xi.key=hi.key||"",Xi.keyCode=hi.keyCode||0,Xi.which=hi.keyCode||0,Xi.ctrlKey=hi.ctrlKey||!1,Xi.altKey=hi.altKey||!1,Xi.shiftKey=hi.shiftKey||!1,Xi.metaKey=hi.metaKey||!1,Xi.view=hi.view||window,Xi}})(Ep||(Ep={}));var Aw=function(Je,ze){return Aw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},Aw(Je,ze)};function UO(Je,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");Aw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Z1=function(){function Je(ze){this.type="text",this.content=ze}return Je}(),Y1=function(){function Je(ze,_e,De,Mt){this.type="element",this.tag=ze,this.attrs=_e,this.children=De,this.renderer=Mt}return Je}(),RB=function(Je){UO(ze,Je);function ze(_e,De,Mt){return Je.call(this,_e,De,[],Mt||void 0)||this}return ze}(Y1);function _u(Je){for(var ze={},_e,De=[],Mt=1,jt=arguments.length;Mt=Ti.length){_e(ke[Xi],Jr);continue}var ra=Ti[Xi],_i=ke[Xi];if(ra===_i){Ei=Ei.nextSibling;continue}if(ra.type==="text"&&_i.type==="text"){Ei.textContent!==_i.content&&(Ei.textContent=_i.content),Ei=Ei.nextSibling;continue}if(ra.type==="text"||_i.type==="text"){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(!ra.renderer!=!_i.renderer){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}var Ii=_i.attrs.key;if(Ii&&Ii in Pn){var Ki=Pn[Ii];Ki.vNode!==ra&&(Wa.move(Ti,Ti.indexOf(Ki.vNode,Xi+1),Xi),Jr.insertBefore(Ki.element,Ei),ra=Ki.vNode,Ei=Ki.element)}if(ra===_i){Ei=Ei.nextSibling;continue}var $n=ra.attrs.key;if($n&&$n!==Ii){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(ra.tag!==_i.tag){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}Cr(Ei,ra.attrs,_i.attrs),_i.renderer?_i.renderer.render(Ei,{attrs:_i.attrs,children:_i.children}):De(Ei,ra.children,_i.children),Ei=Ei.nextSibling}Mt(Jr,Ti,hi,!0)}}Je.updateContent=De;function Mt(Jr,Er,ke,Pn){for(var Ti=Er.length-1;Ti>=ke;--Ti){var Ei=Er[Ti],hi=Pn?Jr.lastChild:Jr.childNodes[Ti];Ei.type==="text"||(Ei.renderer&&Ei.renderer.unrender?Ei.renderer.unrender(hi,{attrs:Ei.attrs,children:Ei.children}):Mt(hi,Ei.children,0,!1)),Pn&&Jr.removeChild(hi)}}var jt={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function ir(Jr,Er){for(var ke in Er)ke in jt||(ke.substr(0,2)==="on"?Jr[ke]=Er[ke]:Jr.setAttribute(ke,Er[ke]));Er.className!==void 0&&Jr.setAttribute("class",Er.className),Er.htmlFor!==void 0&&Jr.setAttribute("for",Er.htmlFor),Er.dataset&&Kr(Jr,Er.dataset),Er.style&&bn(Jr,Er.style)}function Cr(Jr,Er,ke){if(Er!==ke){var Pn;for(Pn in Er)Pn in jt||Pn in ke||(Pn.substr(0,2)==="on"?Jr[Pn]=null:Jr.removeAttribute(Pn));for(Pn in ke)Pn in jt||Er[Pn]===ke[Pn]||(Pn.substr(0,2)==="on"?Jr[Pn]=ke[Pn]:Jr.setAttribute(Pn,ke[Pn]));Er.className!==ke.className&&(ke.className!==void 0?Jr.setAttribute("class",ke.className):Jr.removeAttribute("class")),Er.htmlFor!==ke.htmlFor&&(ke.htmlFor!==void 0?Jr.setAttribute("for",ke.htmlFor):Jr.removeAttribute("for")),Er.dataset!==ke.dataset&&Qr(Jr,Er.dataset||{},ke.dataset||{}),Er.style!==ke.style&&In(Jr,Er.style||{},ke.style||{})}}function Kr(Jr,Er){for(var ke in Er)Jr.setAttribute("data-"+ke,Er[ke])}function Qr(Jr,Er,ke){for(var Pn in Er)Pn in ke||Jr.removeAttribute("data-"+Pn);for(var Ti in ke)Er[Ti]!==ke[Ti]&&Jr.setAttribute("data-"+Ti,ke[Ti])}function bn(Jr,Er){var ke=Jr.style,Pn;for(Pn in Er)ke[Pn]=Er[Pn]}function In(Jr,Er,ke){var Pn=Jr.style,Ti;for(Ti in Er)Ti in ke||(Pn[Ti]="");for(Ti in ke)Er[Ti]!==ke[Ti]&&(Pn[Ti]=ke[Ti])}function an(Jr,Er){for(var ke=Jr.firstChild,Pn=Object.create(null),Ti=0,Ei=Er;Ti0&&(In+=Er.stretch,an++)}if(ir===bn)return 0;if(ir<=Kr){for(var Jr=0;Jr=Qr){for(var Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,In-=Er.stretch,Er.size=Er.maxSize,Er.done=!0,hi--,an--):(Xi-=Ii,Er.size+=Ii)}}for(;hi>0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,Er.size=Er.maxSize,Er.done=!0,hi--):(Xi-=Ii,Er.size+=Ii))}}return 0}Je.calc=ze;function _e(jt,ir,Cr){jt.length===0||Cr===0||(Cr>0?De(jt,ir,Cr):Mt(jt,ir,-Cr))}Je.adjust=_e;function De(jt,ir,Cr){for(var Kr=0,Qr=0;Qr<=ir;++Qr){var bn=jt[Qr];Kr+=bn.maxSize-bn.size}for(var In=0,Qr=ir+1,an=jt.length;Qr=0&&Jr>0;--Qr){var bn=jt[Qr],Er=bn.maxSize-bn.size;Er>=Jr?(bn.sizeHint=bn.size+Jr,Jr=0):(bn.sizeHint=bn.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir+1,an=jt.length;Qr0;++Qr){var bn=jt[Qr],Er=bn.size-bn.minSize;Er>=ke?(bn.sizeHint=bn.size-ke,ke=0):(bn.sizeHint=bn.size-Er,ke-=Er)}}function Mt(jt,ir,Cr){for(var Kr=0,Qr=ir+1,bn=jt.length;Qr0;++Qr){var In=jt[Qr],Er=In.maxSize-In.size;Er>=Jr?(In.sizeHint=In.size+Jr,Jr=0):(In.sizeHint=In.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir;Qr>=0&&ke>0;--Qr){var In=jt[Qr],Er=In.size-In.minSize;Er>=ke?(In.sizeHint=In.size-ke,ke=0):(In.sizeHint=In.size-Er,ke-=Er)}}})(Dd||(Dd={}));var Sw=function(){function Je(ze){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new Kl(this),this._isDisposed=!1,this.owner=ze.owner,ze.label!==void 0&&(this._label=ze.label),ze.mnemonic!==void 0&&(this._mnemonic=ze.mnemonic),ze.icon!==void 0?typeof ze.icon=="string"?(this._icon=null,this._iconClass=ze.icon):this._icon=ze.icon:this._icon=null,ze.iconClass!==void 0&&(this._iconClass=ze.iconClass),ze.iconLabel!==void 0&&(this._iconLabel=ze.iconLabel),ze.iconRenderer!==void 0&&(this._icon=ze.iconRenderer),ze.caption!==void 0&&(this._caption=ze.caption),ze.className!==void 0&&(this._className=ze.className),ze.closable!==void 0&&(this._closable=ze.closable),this._dataset=ze.dataset||{}}return Object.defineProperty(Je.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"label",{get:function(){return this._label},set:function(ze){this._label!==ze&&(this._label=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(ze){this._mnemonic!==ze&&(this._mnemonic=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"icon",{get:function(){return this._icon===null?this.iconClass:this._icon},set:function(ze){if(typeof ze=="string")this._icon=null,this.iconClass=ze;else{if(this._icon===ze)return;this._icon=ze,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconClass",{get:function(){return this._iconClass},set:function(ze){this._iconClass!==ze&&(this._iconClass=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(ze){this._iconLabel!==ze&&(this._iconLabel=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(ze){this.icon=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"caption",{get:function(){return this._caption},set:function(ze){this._caption!==ze&&(this._caption=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"className",{get:function(){return this._className},set:function(ze){this._className!==ze&&(this._className=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"closable",{get:function(){return this._closable},set:function(ze){this._closable!==ze&&(this._closable=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"dataset",{get:function(){return this._dataset},set:function(ze){this._dataset!==ze&&(this._dataset=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,Kl.clearData(this))},Je}(),So=function(){function Je(ze){ze===void 0&&(ze={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new Kl(this),this._hiddenMode=Je.HiddenMode.Display,this.node=K1.createNode(ze),this.addClass("lm-Widget"),this.addClass("p-Widget")}return Je.prototype.dispose=function(){this.isDisposed||(this.setFlag(Je.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Je.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Kl.clearData(this),go.clearData(this),vd.clearData(this))},Object.defineProperty(Je.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this.testFlag(Je.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isAttached",{get:function(){return this.testFlag(Je.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isHidden",{get:function(){return this.testFlag(Je.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isVisible",{get:function(){return this.testFlag(Je.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"title",{get:function(){return K1.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"id",{get:function(){return this.node.id},set:function(ze){this.node.id=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(ze){this._hiddenMode!==ze&&(this.isHidden&&this._toggleHidden(!1),ze==Je.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=ze,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"parent",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(ze&&this.contains(ze))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage("child-removed",this);go.sendMessage(this._parent,_e)}if(this._parent=ze,this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage("child-added",this);go.sendMessage(this._parent,_e)}this.isDisposed||go.sendMessage(this,Je.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"layout",{get:function(){return this._layout},set:function(ze){if(this._layout!==ze){if(this.testFlag(Je.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(ze.parent)throw new Error("Cannot change layout parent.");this._layout=ze,ze.parent=this}},enumerable:!0,configurable:!0}),Je.prototype.children=function(){return this._layout?this._layout.iter():Id()},Je.prototype.contains=function(ze){for(var _e=ze;_e;_e=_e._parent)if(_e===this)return!0;return!1},Je.prototype.hasClass=function(ze){return this.node.classList.contains(ze)},Je.prototype.addClass=function(ze){this.node.classList.add(ze)},Je.prototype.removeClass=function(ze){this.node.classList.remove(ze)},Je.prototype.toggleClass=function(ze,_e){return _e===!0?(this.node.classList.add(ze),!0):_e===!1?(this.node.classList.remove(ze),!1):this.node.classList.toggle(ze)},Je.prototype.update=function(){go.postMessage(this,Je.Msg.UpdateRequest)},Je.prototype.fit=function(){go.postMessage(this,Je.Msg.FitRequest)},Je.prototype.activate=function(){go.postMessage(this,Je.Msg.ActivateRequest)},Je.prototype.close=function(){go.sendMessage(this,Je.Msg.CloseRequest)},Je.prototype.show=function(){if(this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeShow),this.clearFlag(Je.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterShow),this.parent)){var ze=new Je.ChildMessage("child-shown",this);go.sendMessage(this.parent,ze)}},Je.prototype.hide=function(){if(!this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeHide),this.setFlag(Je.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterHide),this.parent)){var ze=new Je.ChildMessage("child-hidden",this);go.sendMessage(this.parent,ze)}},Je.prototype.setHidden=function(ze){ze?this.hide():this.show()},Je.prototype.testFlag=function(ze){return(this._flags&ze)!==0},Je.prototype.setFlag=function(ze){this._flags|=ze},Je.prototype.clearFlag=function(ze){this._flags&=~ze},Je.prototype.processMessage=function(ze){switch(ze.type){case"resize":this.notifyLayout(ze),this.onResize(ze);break;case"update-request":this.notifyLayout(ze),this.onUpdateRequest(ze);break;case"fit-request":this.notifyLayout(ze),this.onFitRequest(ze);break;case"before-show":this.notifyLayout(ze),this.onBeforeShow(ze);break;case"after-show":this.setFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterShow(ze);break;case"before-hide":this.notifyLayout(ze),this.onBeforeHide(ze);break;case"after-hide":this.clearFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterHide(ze);break;case"before-attach":this.notifyLayout(ze),this.onBeforeAttach(ze);break;case"after-attach":!this.isHidden&&(!this.parent||this.parent.isVisible)&&this.setFlag(Je.Flag.IsVisible),this.setFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterAttach(ze);break;case"before-detach":this.notifyLayout(ze),this.onBeforeDetach(ze);break;case"after-detach":this.clearFlag(Je.Flag.IsVisible),this.clearFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterDetach(ze);break;case"activate-request":this.notifyLayout(ze),this.onActivateRequest(ze);break;case"close-request":this.notifyLayout(ze),this.onCloseRequest(ze);break;case"child-added":this.notifyLayout(ze),this.onChildAdded(ze);break;case"child-removed":this.notifyLayout(ze),this.onChildRemoved(ze);break;default:this.notifyLayout(ze);break}},Je.prototype.notifyLayout=function(ze){this._layout&&this._layout.processParentMessage(ze)},Je.prototype.onCloseRequest=function(ze){this.parent?this.parent=null:this.isAttached&&Je.detach(this)},Je.prototype.onResize=function(ze){},Je.prototype.onUpdateRequest=function(ze){},Je.prototype.onFitRequest=function(ze){},Je.prototype.onActivateRequest=function(ze){},Je.prototype.onBeforeShow=function(ze){},Je.prototype.onAfterShow=function(ze){},Je.prototype.onBeforeHide=function(ze){},Je.prototype.onAfterHide=function(ze){},Je.prototype.onBeforeAttach=function(ze){},Je.prototype.onAfterAttach=function(ze){},Je.prototype.onBeforeDetach=function(ze){},Je.prototype.onAfterDetach=function(ze){},Je.prototype.onChildAdded=function(ze){},Je.prototype.onChildRemoved=function(ze){},Je.prototype._toggleHidden=function(ze){if(ze)switch(this._hiddenMode){case Je.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case Je.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1";break}else switch(this._hiddenMode){case Je.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case Je.HiddenMode.Scale:this.node.style.transform="";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex="";break}},Je}();(function(Je){(function(jt){jt[jt.Display=0]="Display",jt[jt.Scale=1]="Scale",jt[jt.ContentVisibility=2]="ContentVisibility"})(Je.HiddenMode||(Je.HiddenMode={})),function(jt){jt[jt.IsDisposed=1]="IsDisposed",jt[jt.IsAttached=2]="IsAttached",jt[jt.IsHidden=4]="IsHidden",jt[jt.IsVisible=8]="IsVisible",jt[jt.DisallowLayout=16]="DisallowLayout"}(Je.Flag||(Je.Flag={})),function(jt){jt.BeforeShow=new Rd("before-show"),jt.AfterShow=new Rd("after-show"),jt.BeforeHide=new Rd("before-hide"),jt.AfterHide=new Rd("after-hide"),jt.BeforeAttach=new Rd("before-attach"),jt.AfterAttach=new Rd("after-attach"),jt.BeforeDetach=new Rd("before-detach"),jt.AfterDetach=new Rd("after-detach"),jt.ParentChanged=new Rd("parent-changed"),jt.UpdateRequest=new Ig("update-request"),jt.FitRequest=new Ig("fit-request"),jt.ActivateRequest=new Ig("activate-request"),jt.CloseRequest=new Ig("close-request")}(Je.Msg||(Je.Msg={}));var ze=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,Cr)||this;return Qr.child=Kr,Qr}return ir}(Rd);Je.ChildMessage=ze;var _e=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,"resize")||this;return Qr.width=Cr,Qr.height=Kr,Qr}return ir}(Rd);Je.ResizeMessage=_e,function(jt){jt.UnknownSize=new jt(-1,-1)}(_e=Je.ResizeMessage||(Je.ResizeMessage={}));function De(jt,ir,Cr){if(Cr===void 0&&(Cr=null),jt.parent)throw new Error("Cannot attach a child widget.");if(jt.isAttached||jt.node.isConnected)throw new Error("Widget is already attached.");if(!ir.isConnected)throw new Error("Host is not attached.");go.sendMessage(jt,Je.Msg.BeforeAttach),ir.insertBefore(jt.node,Cr),go.sendMessage(jt,Je.Msg.AfterAttach)}Je.attach=De;function Mt(jt){if(jt.parent)throw new Error("Cannot detach a child widget.");if(!jt.isAttached||!jt.node.isConnected)throw new Error("Widget is not attached.");go.sendMessage(jt,Je.Msg.BeforeDetach),jt.node.parentNode.removeChild(jt.node),go.sendMessage(jt,Je.Msg.AfterDetach)}Je.detach=Mt})(So||(So={}));var K1;(function(Je){Je.titleProperty=new vd({name:"title",create:function(_e){return new Sw({owner:_e})}});function ze(_e){return _e.node||document.createElement(_e.tag||"div")}Je.createNode=ze})(K1||(K1={}));var kp=function(){function Je(ze){ze===void 0&&(ze={}),this._disposed=!1,this._parent=null,this._fitPolicy=ze.fitPolicy||"set-min-size"}return Je.prototype.dispose=function(){this._parent=null,this._disposed=!0,Kl.clearData(this),vd.clearData(this)},Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"parent",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(this._parent)throw new Error("Cannot change parent widget.");if(ze.layout!==this)throw new Error("Invalid parent widget.");this._parent=ze,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(ze){if(this._fitPolicy!==ze&&(this._fitPolicy=ze,this._parent)){var _e=this._parent.node.style;_e.minWidth="",_e.minHeight="",_e.maxWidth="",_e.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),Je.prototype.processParentMessage=function(ze){switch(ze.type){case"resize":this.onResize(ze);break;case"update-request":this.onUpdateRequest(ze);break;case"fit-request":this.onFitRequest(ze);break;case"before-show":this.onBeforeShow(ze);break;case"after-show":this.onAfterShow(ze);break;case"before-hide":this.onBeforeHide(ze);break;case"after-hide":this.onAfterHide(ze);break;case"before-attach":this.onBeforeAttach(ze);break;case"after-attach":this.onAfterAttach(ze);break;case"before-detach":this.onBeforeDetach(ze);break;case"after-detach":this.onAfterDetach(ze);break;case"child-removed":this.onChildRemoved(ze);break;case"child-shown":this.onChildShown(ze);break;case"child-hidden":this.onChildHidden(ze);break}},Je.prototype.init=function(){var ze=this;Os(this,function(_e){_e.parent=ze.parent})},Je.prototype.onResize=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onUpdateRequest=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onBeforeAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onBeforeHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onChildRemoved=function(ze){this.removeWidget(ze.child)},Je.prototype.onFitRequest=function(ze){},Je.prototype.onChildShown=function(ze){},Je.prototype.onChildHidden=function(ze){},Je}();(function(Je){function ze(jt){return zg.horizontalAlignmentProperty.get(jt)}Je.getHorizontalAlignment=ze;function _e(jt,ir){zg.horizontalAlignmentProperty.set(jt,ir)}Je.setHorizontalAlignment=_e;function De(jt){return zg.verticalAlignmentProperty.get(jt)}Je.getVerticalAlignment=De;function Mt(jt,ir){zg.verticalAlignmentProperty.set(jt,ir)}Je.setVerticalAlignment=Mt})(kp||(kp={}));var Zy=function(){function Je(ze){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=ze,this.widget.node.style.position="absolute"}return Je.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var ze=this.widget.node.style;ze.position="",ze.top="",ze.left="",ze.width="",ze.height=""}},Object.defineProperty(Je.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),Je.prototype.fit=function(){var ze=Eu.sizeLimits(this.widget.node);this._minWidth=ze.minWidth,this._minHeight=ze.minHeight,this._maxWidth=ze.maxWidth,this._maxHeight=ze.maxHeight},Je.prototype.update=function(ze,_e,De,Mt){var jt=Math.max(this._minWidth,Math.min(De,this._maxWidth)),ir=Math.max(this._minHeight,Math.min(Mt,this._maxHeight));if(jt0;)this._widgets.pop().dispose();Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return Pd(this._widgets)},ze.prototype.addWidget=function(_e){this.insertWidget(this._widgets.length,_e)},ze.prototype.insertWidget=function(_e,De){De.parent=this.parent;var Mt=this._widgets.indexOf(De),jt=Math.max(0,Math.min(_e,this._widgets.length));if(Mt===-1){Wa.insert(this._widgets,jt,De),this.parent&&this.attachWidget(jt,De);return}jt===this._widgets.length&&jt--,Mt!==jt&&(Wa.move(this._widgets,Mt,jt),this.parent&&this.moveWidget(Mt,jt,De))},ze.prototype.removeWidget=function(_e){this.removeWidgetAt(this._widgets.indexOf(_e))},ze.prototype.removeWidgetAt=function(_e){var De=Wa.removeAt(this._widgets,_e);De&&this.parent&&this.detachWidget(_e,De)},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De,Mt){_e.attachWidget(Mt,De)})},ze.prototype.attachWidget=function(_e,De){var Mt=this.parent.node.children[_e];this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.insertBefore(De.node,Mt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach)},ze.prototype.moveWidget=function(_e,De,Mt){this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeDetach),this.parent.node.removeChild(Mt.node),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterDetach);var jt=this.parent.node.children[De];this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeAttach),this.parent.node.insertBefore(Mt.node,jt),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterAttach)},ze.prototype.detachWidget=function(_e,De){this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach)},ze}(kp),Gy;(function(Je){function ze(_e){return Math.max(0,Math.floor(_e))}Je.clampDimension=ze})(Gy||(Gy={}));var Wy=Gy,Em=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De.widgetOffset=0,De._fixed=0,De._spacing=4,De._dirty=!1,De._hasNormedSizes=!1,De._sizers=[],De._items=[],De._handles=[],De._box=null,De._alignment="start",De._orientation="horizontal",De.renderer=_e.renderer,_e.orientation!==void 0&&(De._orientation=_e.orientation),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Gy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"orientation",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._orientation=_e,this.parent&&(this.parent.dataset.orientation=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"alignment",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Gy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),ze.prototype.absoluteSizes=function(){return this._sizers.map(function(_e){return _e.size})},ze.prototype.relativeSizes=function(){return Kv.normalize(this._sizers.map(function(_e){return _e.size}))},ze.prototype.setRelativeSizes=function(_e,De){De===void 0&&(De=!0);for(var Mt=this._sizers.length,jt=_e.slice(0,Mt);jt.length0&&(Kr.sizeHint=Kr.size)}Dd.adjust(this._sizers,_e,jt),this.parent&&this.parent.update()}}},ze.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){var Mt=new Zy(De),jt=Kv.createHandle(this.renderer),ir=Kv.averageSize(this._sizers),Cr=Kv.createSizer(ir);Wa.insert(this._items,_e,Mt),Wa.insert(this._sizers,_e,Cr),Wa.insert(this._handles,_e,jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.node.appendChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),Wa.move(this._handles,_e,De),this.parent.fit()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e),jt=Wa.removeAt(this._handles,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.node.removeChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype.updateItemPosition=function(_e,De,Mt,jt,ir,Cr,Kr){var Qr=this._items[_e];if(!Qr.isHidden){var bn=this._handles[_e].style;De?(Mt+=this.widgetOffset,Qr.update(Mt,jt,Kr,ir),Mt+=Kr,bn.top=jt+"px",bn.left=Mt+"px",bn.width=this._spacing+"px",bn.height=ir+"px"):(jt+=this.widgetOffset,Qr.update(Mt,jt,Cr,Kr),jt+=Kr,bn.top=jt+"px",bn.left=Mt+"px",bn.width=Cr+"px",bn.height=this._spacing+"px")}},ze.prototype._fit=function(){for(var _e=0,De=-1,Mt=0,jt=this._items.length;Mt0&&(bn.sizeHint=bn.size),Qr.isHidden){bn.minSize=0,bn.maxSize=0;continue}Qr.fit(),bn.stretch=ze.getStretch(Qr.widget),ir?(bn.minSize=Qr.minWidth,bn.maxSize=Qr.maxWidth,Cr+=Qr.minWidth,Kr=Math.max(Kr,Qr.minHeight)):(bn.minSize=Qr.minHeight,bn.maxSize=Qr.maxHeight,Kr+=Qr.minHeight,Cr=Math.max(Cr,Qr.minWidth))}var In=this._box=Eu.boxSizing(this.parent.node);Cr+=In.horizontalSum,Kr+=In.verticalSum;var an=this.parent.node.style;an.minWidth=Cr+"px",an.minHeight=Kr+"px",this._dirty=!0,this.parent.parent&&go.sendMessage(this.parent.parent,So.Msg.FitRequest),this._dirty&&go.sendMessage(this.parent,So.Msg.UpdateRequest)},ze.prototype._update=function(_e,De){this._dirty=!1;for(var Mt=0,jt=0,ir=this._items.length;jt0){var Er=void 0;if(Jr?Er=Math.max(0,Qr-this._fixed):Er=Math.max(0,bn-this._fixed),this._hasNormedSizes){for(var ke=0,Pn=this._sizers;ke0)switch(this._alignment){case"start":break;case"center":In=0,an=Ei/2;break;case"end":In=0,an=Ei;break;case"justify":In=Ei/Mt,an=0;break;default:throw"unreachable"}}for(var jt=0,ir=this._items.length;jt=0&&(this.layout.updateTitle(De,_e.owner),this.update())},ze.prototype._computeWidgetSize=function(_e){var De=this.layout,Mt=De.widgets[_e];if(Mt){var jt=Mt.isHidden,ir=De.absoluteSizes(),Cr=(jt?-1:1)*this.spacing,Kr=ir.reduce(function(Jr,Er){return Jr+Er}),Qr=VO(ir);if(jt){var an=this._widgetSizesCache.get(Mt);if(!an)return;Qr[_e]+=an;var In=Qr.map(function(Er){return Er-an>0}).lastIndexOf(!0);In===-1?Qr.forEach(function(Er,ke){ke!==_e&&(Qr[ke]-=ir[ke]/Kr*(an-Cr))}):Qr[In]-=an-Cr}else{var bn=ir[_e];this._widgetSizesCache.set(Mt,bn),Qr[_e]=0;var In=Qr.map(function(Jr){return Jr>0}).lastIndexOf(!0);if(In===-1)return;Qr[In]=ir[In]+bn+Cr}return Qr.map(function(Jr){return Jr/(Kr+Cr)})}},ze.prototype._evtClick=function(_e){var De=_e.target;if(De){var Mt=Wa.findFirstIndex(this.titles,function(jt){return jt.contains(De)});Mt>=0&&(_e.preventDefault(),_e.stopPropagation(),this._toggleExpansion(Mt))}},ze.prototype._eventKeyDown=function(_e){if(!_e.defaultPrevented){var De=_e.target,Mt=!1;if(De){var jt=Wa.findFirstIndex(this.titles,function(bn){return bn.contains(De)});if(jt>=0){var ir=_e.keyCode.toString();if(_e.key.match(/Space|Enter/)||ir.match(/13|32/))De.click(),Mt=!0;else if(this.orientation==="horizontal"?_e.key.match(/ArrowLeft|ArrowRight/)||ir.match(/37|39/):_e.key.match(/ArrowUp|ArrowDown/)||ir.match(/38|40/)){var Cr=_e.key.match(/ArrowLeft|ArrowUp/)||ir.match(/37|38/)?-1:1,Kr=this.titles.length,Qr=(jt+Kr+Cr)%Kr;this.titles[Qr].focus(),Mt=!0}else _e.key==="End"||ir==="35"?(this.titles[this.titles.length-1].focus(),Mt=!0):(_e.key==="Home"||ir==="36")&&(this.titles[0].focus(),Mt=!0)}Mt&&_e.preventDefault()}}},ze.prototype._toggleExpansion=function(_e){var De=this.titles[_e],Mt=this.layout.widgets[_e],jt=this._computeWidgetSize(_e);jt&&this.setRelativeSizes(jt,!1),Mt.isHidden?(De.classList.add("lm-mod-expanded"),De.setAttribute("aria-expanded","true"),Mt.show()):(De.classList.remove("lm-mod-expanded"),De.setAttribute("aria-expanded","false"),Mt.hide())},ze}(Xy);(function(Je){var ze=function(_e){yf(De,_e);function De(){var Mt=_e.call(this)||this;return Mt.titleClassName="lm-AccordionPanel-title",Mt._titleID=0,Mt._titleKeys=new WeakMap,Mt._uuid=++De._nInstance,Mt}return De.prototype.createCollapseIcon=function(Mt){return document.createElement("span")},De.prototype.createSectionTitle=function(Mt){var jt=document.createElement("h3");jt.setAttribute("role","button"),jt.setAttribute("tabindex","0"),jt.id=this.createTitleKey(Mt),jt.className=this.titleClassName;for(var ir in Mt.dataset)jt.dataset[ir]=Mt.dataset[ir];var Cr=jt.appendChild(this.createCollapseIcon(Mt));Cr.className="lm-AccordionPanel-titleCollapser";var Kr=jt.appendChild(document.createElement("span"));return Kr.className="lm-AccordionPanel-titleLabel",Kr.textContent=Mt.label,Kr.title=Mt.caption||Mt.label,jt},De.prototype.createTitleKey=function(Mt){var jt=this._titleKeys.get(Mt);return jt===void 0&&(jt="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(Mt,jt)),jt},De._nInstance=0,De}(Xy.Renderer);Je.Renderer=ze,Je.defaultRenderer=new ze})(kw||(kw={}));var Lw;(function(Je){function ze(_e){return _e.layout||new qO({renderer:_e.renderer||kw.defaultRenderer,orientation:_e.orientation,alignment:_e.alignment,spacing:_e.spacing,titleSpace:_e.titleSpace})}Je.createLayout=ze})(Lw||(Lw={}));var sv=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this)||this;return De._fixed=0,De._spacing=4,De._dirty=!1,De._sizers=[],De._items=[],De._box=null,De._alignment="start",De._direction="top-to-bottom",_e.direction!==void 0&&(De._direction=_e.direction),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"direction",{get:function(){return this._direction},set:function(_e){this._direction!==_e&&(this._direction=_e,this.parent&&(this.parent.dataset.direction=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"alignment",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){Wa.insert(this._items,_e,new Zy(De)),Wa.insert(this._sizers,_e,new Cp),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=this._items.length;De0)switch(this._alignment){case"start":break;case"center":an=0,Jr=In/2;break;case"end":an=0,Jr=In;break;case"justify":an=In/Mt,Jr=0;break;default:throw"unreachable"}for(var jt=0,ir=this._items.length;jt=jt.length)Mt.scrollTop=0;else{var Ti=Mt.children[Kr];Eu.scrollIntoViewIfNeeded(Mt,Ti)}},ze.prototype._evtClick=function(_e){if(_e.button===0){if(_e.target.classList.contains("lm-close-icon")){this.inputNode.value="",this.refresh();return}var De=Wa.findFirstIndex(this.contentNode.children,function(Mt){return Mt.contains(_e.target)});De!==-1&&(_e.preventDefault(),_e.stopPropagation(),this._execute(De))}},ze.prototype._evtKeyDown=function(_e){if(!(_e.altKey||_e.ctrlKey||_e.metaKey||_e.shiftKey))switch(_e.keyCode){case 13:_e.preventDefault(),_e.stopPropagation(),this._execute(this._activeIndex);break;case 38:_e.preventDefault(),_e.stopPropagation(),this._activatePreviousItem();break;case 40:_e.preventDefault(),_e.stopPropagation(),this._activateNextItem();break}},ze.prototype._activateNextItem=function(){if(!(!this._results||this._results.length===0)){var _e=this._activeIndex,De=this._results.length,Mt=_e=this._items.length)&&(_e=-1),_e!==-1&&!md.canActivate(this._items[_e])&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),ze.prototype.activateNextItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<_e-1?De+1:0,jt=Mt===0?_e-1:Mt-1;this.activeIndex=Wa.findFirstIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.activatePreviousItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<=0?_e-1:De-1,jt=Mt===_e-1?0:Mt+1;this.activeIndex=Wa.findLastIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.triggerActiveItem=function(){if(this.isAttached){var _e=this.activeItem;if(_e){if(this._cancelOpenTimer(),this._cancelCloseTimer(),_e.type==="submenu"){this._openChildMenu(!0);return}this.rootMenu.close();var De=_e.command,Mt=_e.args;this.commands.isEnabled(De,Mt)?this.commands.execute(De,Mt):console.log("Command '"+De+"' is disabled.")}}},ze.prototype.addItem=function(_e){return this.insertItem(this._items.length,_e)},ze.prototype.insertItem=function(_e,De){this.isAttached&&this.close(),this.activeIndex=-1;var Mt=Math.max(0,Math.min(_e,this._items.length)),jt=md.createItem(this,De);return Wa.insert(this._items,Mt,jt),this.update(),jt},ze.prototype.removeItem=function(_e){this.removeItemAt(this._items.indexOf(_e))},ze.prototype.removeItemAt=function(_e){this.isAttached&&this.close(),this.activeIndex=-1;var De=Wa.removeAt(this._items,_e);De&&this.update()},ze.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,this._items.length!==0&&(this._items.length=0,this.update())},ze.prototype.open=function(_e,De,Mt){if(Mt===void 0&&(Mt={}),!this.isAttached){var jt=Mt.forceX||!1,ir=Mt.forceY||!1;md.openRootMenu(this,_e,De,jt,ir),this.activate()}},ze.prototype.handleEvent=function(_e){switch(_e.type){case"keydown":this._evtKeyDown(_e);break;case"mouseup":this._evtMouseUp(_e);break;case"mousemove":this._evtMouseMove(_e);break;case"mouseenter":this._evtMouseEnter(_e);break;case"mouseleave":this._evtMouseLeave(_e);break;case"mousedown":this._evtMouseDown(_e);break;case"contextmenu":_e.preventDefault(),_e.stopPropagation();break}},ze.prototype.onBeforeAttach=function(_e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},ze.prototype.onAfterDetach=function(_e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},ze.prototype.onActivateRequest=function(_e){this.isAttached&&this.node.focus()},ze.prototype.onUpdateRequest=function(_e){for(var De=this,Mt=this._items,jt=this.renderer,ir=this._activeIndex,Cr=md.computeCollapsed(Mt),Kr=new Array(Mt.length),Qr=function(an,Jr){var Er=Mt[an],ke=an===ir,Pn=Cr[an];Kr[an]=jt.renderItem({item:Er,active:ke,collapsed:Pn,onfocus:function(){De.activeIndex=an}})},bn=0,In=Mt.length;bn=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},Qr);return[Cr,bn,Kr]},_e.prototype.formatShortcut=function(De){var Mt=De.item.keyBinding;return Mt?Dg.formatKeystroke(Mt.keys):null},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(Og||(Og={}));var md;(function(Je){Je.TIMER_DELAY=300,Je.SUBMENU_OVERLAP=3;var ze=null,_e=0;function De(){return _e>0?(_e--,ze):bn()}function Mt(){ze=bn(),_e++}Je.saveWindowData=Mt;function jt(){var ke=document.createElement("div"),Pn=document.createElement("ul");return Pn.className="lm-Menu-content",Pn.classList.add("p-Menu-content"),ke.appendChild(Pn),Pn.setAttribute("role","menu"),ke.tabIndex=0,ke}Je.createNode=jt;function ir(ke){return ke.type!=="separator"&&ke.isEnabled&&ke.isVisible}Je.canActivate=ir;function Cr(ke,Pn){return new Er(ke.commands,Pn)}Je.createItem=Cr;function Kr(ke,Pn,Ti){for(var Ei=ke;Ei;Ei=Ei.childMenu)if(Eu.hitTest(Ei.node,Pn,Ti))return!0;return!1}Je.hitTestMenus=Kr;function Qr(ke){var Pn=new Array(ke.length);Wa.fill(Pn,!1);for(var Ti=0,Ei=ke.length;Ti=0;--Xi){var hi=ke[Xi];if(hi.isVisible){if(hi.type!=="separator")break;Pn[Xi]=!0}}for(var ra=!1;++Tira+Ii&&(Pn=ra+Ii-Vn),!hi&&Ti+Bi>_i+Ki&&(Ti>_i+Ki?Ti=_i+Ki-Bi:Ti=Ti-Bi),Yn.transform="translate("+Math.max(0,Pn)+"px, "+Math.max(0,Ti)+"px",Yn.opacity="1"}Je.openRootMenu=In;function an(ke,Pn){var Ti=De(),Ei=Ti.pageXOffset,hi=Ti.pageYOffset,Xi=Ti.clientWidth,ra=Ti.clientHeight;go.sendMessage(ke,So.Msg.UpdateRequest);var _i=ra,Ii=ke.node,Ki=Ii.style;Ki.opacity="0",Ki.maxHeight=_i+"px",So.attach(ke,document.body);var $n=Ii.getBoundingClientRect(),Kn=$n.width,Yn=$n.height,Hi=Eu.boxSizing(ke.node),Vn=Pn.getBoundingClientRect(),Bi=Vn.right-Je.SUBMENU_OVERLAP;Bi+Kn>Ei+Xi&&(Bi=Vn.left+Je.SUBMENU_OVERLAP-Kn);var Oa=Vn.top-Hi.borderTop-Hi.paddingTop;Oa+Yn>hi+ra&&(Oa=Vn.bottom+Hi.borderBottom+Hi.paddingBottom-Yn),Ki.transform="translate("+Math.max(0,Bi)+"px, "+Math.max(0,Oa)+"px",Ki.opacity="1"}Je.openSubmenu=an;function Jr(ke,Pn,Ti){for(var Ei=-1,hi=-1,Xi=!1,ra=Pn.toUpperCase(),_i=0,Ii=ke.length;_i=0&&Yn=this._titles.length)&&(_e=-1),this._currentIndex!==_e){var De=this._currentIndex,Mt=this._titles[De]||null,jt=_e,ir=this._titles[jt]||null;this._currentIndex=jt,this._previousTitle=Mt,this.update(),this._currentChanged.emit({previousIndex:De,previousTitle:Mt,currentIndex:jt,currentTitle:ir})}},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"name",{get:function(){return this._name},set:function(_e){this._name=_e,_e?this.contentNode.setAttribute("aria-label",_e):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"orientation",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._releaseMouse(),this._orientation=_e,this.dataset.orientation=_e,this.contentNode.setAttribute("aria-orientation",_e))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(_e){this._addButtonEnabled!==_e&&(this._addButtonEnabled=_e,_e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),ze.prototype.addTab=function(_e){return this.insertTab(this._titles.length,_e)},ze.prototype.insertTab=function(_e,De){this._releaseMouse();var Mt=qd.asTitle(De),jt=this._titles.indexOf(Mt),ir=Math.max(0,Math.min(_e,this._titles.length));return jt===-1?(Wa.insert(this._titles,ir,Mt),Mt.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(ir,Mt),Mt):(ir===this._titles.length&&ir--,jt===ir||(Wa.move(this._titles,jt,ir),this.update(),this._adjustCurrentForMove(jt,ir)),Mt)},ze.prototype.removeTab=function(_e){this.removeTabAt(this._titles.indexOf(_e))},ze.prototype.removeTabAt=function(_e){this._releaseMouse();var De=Wa.removeAt(this._titles,_e);De&&(De.changed.disconnect(this._onTitleChanged,this),De===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(_e,De))},ze.prototype.clearTabs=function(){if(this._titles.length!==0){this._releaseMouse();for(var _e=0,De=this._titles;_e0&&ir.children[0].focus()}}}},ze.prototype._evtKeyDown=function(_e){_e.preventDefault(),_e.stopPropagation(),_e.keyCode===27&&this._releaseMouse()},ze.prototype._evtMouseDown=function(_e){if(!(_e.button!==0&&_e.button!==1)&&!this._dragData){var De=this.addButtonEnabled&&this.addButtonNode.contains(_e.target),Mt=this.contentNode.children,jt=Wa.findFirstIndex(Mt,function(Cr){return Eu.hitTest(Cr,_e.clientX,_e.clientY)});if(!(jt===-1&&!De)&&(_e.preventDefault(),_e.stopPropagation(),this._dragData={tab:Mt[jt],index:jt,pressX:_e.clientX,pressY:_e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),!(_e.button===1||De))){var ir=Mt[jt].querySelector(this.renderer.closeIconSelector);ir&&ir.contains(_e.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===jt?this.currentIndex=-1:this.currentIndex=jt,this.currentIndex!==-1&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},ze.prototype._evtMouseMove=function(_e){var De=this._dragData;if(De){_e.preventDefault(),_e.stopPropagation();var Mt=this.contentNode.children;if(!(!De.dragActive&&!qd.dragExceeded(De,_e))){if(!De.dragActive){var jt=De.tab.getBoundingClientRect();this._orientation==="horizontal"?(De.tabPos=De.tab.offsetLeft,De.tabSize=jt.width,De.tabPressPos=De.pressX-jt.left):(De.tabPos=De.tab.offsetTop,De.tabSize=jt.height,De.tabPressPos=De.pressY-jt.top),De.tabLayout=qd.snapTabLayout(Mt,this._orientation),De.contentRect=this.contentNode.getBoundingClientRect(),De.override=Sp.overrideCursor("default"),De.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),De.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),De.dragActive=!0}if(!De.detachRequested&&qd.detachExceeded(De,_e)){De.detachRequested=!0;var ir=De.index,Cr=_e.clientX,Kr=_e.clientY,Qr=Mt[ir],bn=this._titles[ir];if(this._tabDetachRequested.emit({index:ir,title:bn,tab:Qr,clientX:Cr,clientY:Kr}),De.dragAborted)return}qd.layoutTabs(Mt,De,_e,this._orientation)}}},ze.prototype._evtMouseUp=function(_e){var De=this;if(!(_e.button!==0&&_e.button!==1)){var Mt=this._dragData;if(Mt){if(_e.preventDefault(),_e.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!Mt.dragActive){this._dragData=null;var jt=this.addButtonEnabled&&this.addButtonNode.contains(_e.target);if(jt){this._addRequested.emit(void 0);return}var ir=this.contentNode.children,Cr=Wa.findFirstIndex(ir,function(In){return Eu.hitTest(In,_e.clientX,_e.clientY)});if(Cr!==Mt.index)return;var Kr=this._titles[Cr];if(!Kr.closable)return;if(_e.button===1){this._tabCloseRequested.emit({index:Cr,title:Kr});return}var Qr=ir[Cr].querySelector(this.renderer.closeIconSelector);if(Qr&&Qr.contains(_e.target)){this._tabCloseRequested.emit({index:Cr,title:Kr});return}return}if(_e.button===0){qd.finalizeTabPosition(Mt,this._orientation),Mt.tab.classList.remove("lm-mod-dragging"),Mt.tab.classList.remove("p-mod-dragging");var bn=qd.parseTransitionDuration(Mt.tab);setTimeout(function(){if(!Mt.dragAborted){De._dragData=null,qd.resetTabPositions(De.contentNode.children,De._orientation),Mt.override.dispose(),De.removeClass("lm-mod-dragging"),De.removeClass("p-mod-dragging");var In=Mt.index,an=Mt.targetIndex;an===-1||In===an||(Wa.move(De._titles,In,an),De._adjustCurrentForMove(In,an),De._tabMoved.emit({fromIndex:In,toIndex:an,title:De._titles[an]}),go.sendMessage(De,So.Msg.UpdateRequest))}},bn)}}}},ze.prototype._releaseMouse=function(){var _e=this._dragData;_e&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),_e.dragAborted=!0,_e.dragActive&&(qd.resetTabPositions(this.contentNode.children,this._orientation),_e.override.dispose(),_e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),_e.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},ze.prototype._adjustCurrentForInsert=function(_e,De){var Mt=this.currentTitle,jt=this._currentIndex,ir=this.insertBehavior;if(ir==="select-tab"||ir==="select-tab-if-needed"&&jt===-1){this._currentIndex=_e,this._previousTitle=Mt,this._currentChanged.emit({previousIndex:jt,previousTitle:Mt,currentIndex:_e,currentTitle:De});return}jt>=_e&&this._currentIndex++},ze.prototype._adjustCurrentForMove=function(_e,De){this._currentIndex===_e?this._currentIndex=De:this._currentIndex<_e&&this._currentIndex>=De?this._currentIndex++:this._currentIndex>_e&&this._currentIndex<=De&&this._currentIndex--},ze.prototype._adjustCurrentForRemove=function(_e,De){var Mt=this._currentIndex,jt=this.removeBehavior;if(Mt!==_e){Mt>_e&&this._currentIndex--;return}if(this._titles.length===0){this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null});return}if(jt==="select-tab-after"){this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt==="select-tab-before"){this._currentIndex=Math.max(0,_e-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt==="select-previous-tab"){this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null})},ze.prototype._onTitleChanged=function(_e){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++_e._nInstance}return _e.prototype.renderTab=function(De){var Mt=De.title.caption,jt=this.createTabKey(De),ir=jt,Cr=this.createTabStyle(De),Kr=this.createTabClass(De),Qr=this.createTabDataset(De),bn=this.createTabARIA(De);return De.title.closable?_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De),this.renderCloseIcon(De)):_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=De.title,jt=this.createIconClass(De);return typeof Mt.icon=="string"?_u.div({className:jt},Mt.iconLabel):_u.div({className:jt},Mt.icon,Mt.iconLabel)},_e.prototype.renderLabel=function(De){return _u.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},De.title.label)},_e.prototype.renderCloseIcon=function(De){return _u.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},_e.prototype.createTabKey=function(De){var Mt=this._tabKeys.get(De.title);return Mt===void 0&&(Mt="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(De.title,Mt)),Mt},_e.prototype.createTabStyle=function(De){return{zIndex:""+De.zIndex}},_e.prototype.createTabClass=function(De){var Mt="lm-TabBar-tab";return Mt+=" p-TabBar-tab",De.title.className&&(Mt+=" "+De.title.className),De.title.closable&&(Mt+=" lm-mod-closable",Mt+=" p-mod-closable"),De.current&&(Mt+=" lm-mod-current",Mt+=" p-mod-current"),Mt},_e.prototype.createTabDataset=function(De){return De.title.dataset},_e.prototype.createTabARIA=function(De){return{role:"tab","aria-selected":De.current.toString()}},_e.prototype.createIconClass=function(De){var Mt="lm-TabBar-tabIcon";Mt+=" p-TabBar-tabIcon";var jt=De.title.iconClass;return jt?Mt+" "+jt:Mt},_e._nInstance=0,_e}();Je.Renderer=ze,Je.defaultRenderer=new ze,Je.addButtonSelector=".lm-TabBar-addButton"})(Bg||(Bg={}));var qd;(function(Je){Je.DRAG_THRESHOLD=5,Je.DETACH_THRESHOLD=20;function ze(){var bn=document.createElement("div"),In=document.createElement("ul");In.setAttribute("role","tablist"),In.className="lm-TabBar-content",In.classList.add("p-TabBar-content"),bn.appendChild(In);var an=document.createElement("div");return an.className="lm-TabBar-addButton lm-mod-hidden",bn.appendChild(an),bn}Je.createNode=ze;function _e(bn){return bn instanceof Sw?bn:new Sw(bn)}Je.asTitle=_e;function De(bn){var In=window.getComputedStyle(bn);return 1e3*(parseFloat(In.transitionDuration)||0)}Je.parseTransitionDuration=De;function Mt(bn,In){for(var an=new Array(bn.length),Jr=0,Er=bn.length;Jr=Je.DRAG_THRESHOLD||Jr>=Je.DRAG_THRESHOLD}Je.dragExceeded=jt;function ir(bn,In){var an=bn.contentRect;return In.clientX=an.right+Je.DETACH_THRESHOLD||In.clientY=an.bottom+Je.DETACH_THRESHOLD}Je.detachExceeded=ir;function Cr(bn,In,an,Jr){var Er,ke,Pn,Ti;Jr==="horizontal"?(Er=In.pressX,ke=an.clientX-In.contentRect.left,Pn=an.clientX,Ti=In.contentRect.width):(Er=In.pressY,ke=an.clientY-In.contentRect.top,Pn=an.clientY,Ti=In.contentRect.height);for(var Ei=In.index,hi=ke-In.tabPressPos,Xi=hi+In.tabSize,ra=0,_i=bn.length;ra<_i;++ra){var Ii=void 0,Ki=In.tabLayout[ra],$n=Ki.pos+(Ki.size>>1);if(raIn.index&&Xi>$n)Ii=-In.tabSize-Ki.margin+"px",Ei=Math.max(Ei,ra);else if(ra===In.index){var Kn=Pn-Er,Yn=Ti-(In.tabPos+In.tabSize);Ii=Math.max(-In.tabPos,Math.min(Kn,Yn))+"px"}else Ii="";Jr==="horizontal"?bn[ra].style.left=Ii:bn[ra].style.top=Ii}In.targetIndex=Ei}Je.layoutTabs=Cr;function Kr(bn,In){var an;In==="horizontal"?an=bn.contentRect.width:an=bn.contentRect.height;var Jr;if(bn.targetIndex===bn.index)Jr=0;else if(bn.targetIndex>bn.index){var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos+Er.size-bn.tabSize-bn.tabPos}else{var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos-bn.tabPos}var ke=an-(bn.tabPos+bn.tabSize),Pn=Math.max(-bn.tabPos,Math.min(Jr,ke));In==="horizontal"?bn.tab.style.left=Pn+"px":bn.tab.style.top=Pn+"px"}Je.finalizeTabPosition=Kr;function Qr(bn,In){Os(bn,function(an){In==="horizontal"?an.style.left="":an.style.top=""})}Je.resetTabPositions=Qr})(qd||(qd={}));var HO=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De._spacing=4,De._dirty=!1,De._root=null,De._box=null,De._items=new Map,De.renderer=_e.renderer,_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De._document=_e.document||document,De._hiddenMode=_e.hiddenMode!==void 0?_e.hiddenMode:So.HiddenMode.Display,De}return ze.prototype.dispose=function(){var _e=this.iter();this._items.forEach(function(De){De.dispose()}),this._box=null,this._root=null,this._items.clear(),Os(_e,function(De){De.dispose()}),Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(_e){var De=this;this._hiddenMode!==_e&&(this._hiddenMode=_e,Os(this.tabBars(),function(Mt){Mt.titles.length>1&&Mt.titles.forEach(function(jt){jt.owner.hiddenMode=De._hiddenMode})}))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"spacing",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"isEmpty",{get:function(){return this._root===null},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return this._root?this._root.iterAllWidgets():Id()},ze.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():Id()},ze.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():Id()},ze.prototype.tabBars=function(){return this._root?this._root.iterTabBars():Id()},ze.prototype.handles=function(){return this._root?this._root.iterHandles():Id()},ze.prototype.moveHandle=function(_e,De,Mt){var jt=_e.classList.contains("lm-mod-hidden");if(jt=jt||_e.classList.contains("p-mod-hidden"),!(!this._root||jt)){var ir=this._root.findSplitNode(_e);if(ir){var Cr;ir.node.orientation==="horizontal"?Cr=De-_e.offsetLeft:Cr=Mt-_e.offsetTop,Cr!==0&&(ir.node.holdSizes(),Dd.adjust(ir.node.sizers,ir.index,Cr),this.parent&&this.parent.update())}}},ze.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},ze.prototype.restoreLayout=function(_e){var De=this,Mt=new Set,jt;_e.main?jt=ah.normalizeAreaConfig(_e.main,Mt):jt=null;var ir=this.widgets(),Cr=this.tabBars(),Kr=this.handles();this._root=null,Os(ir,function(Qr){Mt.has(Qr)||(Qr.parent=null)}),Os(Cr,function(Qr){Qr.dispose()}),Os(Kr,function(Qr){Qr.parentNode&&Qr.parentNode.removeChild(Qr)}),Mt.forEach(function(Qr){Qr.parent=De.parent}),jt?this._root=ah.realizeAreaConfig(jt,{createTabBar:function(Qr){return De._createTabBar()},createHandle:function(){return De._createHandle()}},this._document):this._root=null,this.parent&&(Mt.forEach(function(Qr){De.attachWidget(Qr)}),this.parent.fit())},ze.prototype.addWidget=function(_e,De){De===void 0&&(De={});var Mt=De.ref||null,jt=De.mode||"tab-after",ir=null;if(this._root&&Mt&&(ir=this._root.findTabNode(Mt)),Mt&&!ir)throw new Error("Reference widget is not in the layout.");switch(_e.parent=this.parent,jt){case"tab-after":this._insertTab(_e,Mt,ir,!0);break;case"tab-before":this._insertTab(_e,Mt,ir,!1);break;case"split-top":this._insertSplit(_e,Mt,ir,"vertical",!1);break;case"split-left":this._insertSplit(_e,Mt,ir,"horizontal",!1);break;case"split-right":this._insertSplit(_e,Mt,ir,"horizontal",!0);break;case"split-bottom":this._insertSplit(_e,Mt,ir,"vertical",!0);break}this.parent&&(this.attachWidget(_e),this.parent.fit())},ze.prototype.removeWidget=function(_e){this._removeWidget(_e),this.parent&&(this.detachWidget(_e),this.parent.fit())},ze.prototype.hitTestTabAreas=function(_e,De){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=Eu.boxSizing(this.parent.node));var Mt=this.parent.node.getBoundingClientRect(),jt=_e-Mt.left-this._box.borderLeft,ir=De-Mt.top-this._box.borderTop,Cr=this._root.hitTestTabNodes(jt,ir);if(!Cr)return null;var Kr=Cr.tabBar,Qr=Cr.top,bn=Cr.left,In=Cr.width,an=Cr.height,Jr=this._box.borderLeft+this._box.borderRight,Er=this._box.borderTop+this._box.borderBottom,ke=Mt.width-Jr-(bn+In),Pn=Mt.height-Er-(Qr+an);return{tabBar:Kr,x:jt,y:ir,top:Qr,left:bn,right:ke,bottom:Pn,width:In,height:an}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)}),Os(this.handles(),function(De){_e.parent.node.appendChild(De)}),this.parent.fit()},ze.prototype.attachWidget=function(_e){this.parent.node!==_e.node.parentNode&&(this._items.set(_e,new Zy(_e)),this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach))},ze.prototype.detachWidget=function(_e){if(this.parent.node===_e.node.parentNode){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach);var De=this._items.get(_e);De&&(this._items.delete(_e),De.dispose())}},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._removeWidget=function(_e){if(this._root){var De=this._root.findTabNode(_e);if(De){if(ah.removeAria(_e),De.tabBar.titles.length>1){if(De.tabBar.removeTab(_e.title),this._hiddenMode===So.HiddenMode.Scale&&De.tabBar.titles.length==1){var Mt=De.tabBar.titles[0].owner;Mt.hiddenMode=So.HiddenMode.Display}return}if(De.tabBar.dispose(),this._root===De){this._root=null;return}this._root.holdAllSizes();var jt=De.parent;De.parent=null;var ir=Wa.removeFirstOf(jt.children,De),Cr=Wa.removeAt(jt.handles,ir);if(Wa.removeAt(jt.sizers,ir),Cr.parentNode&&Cr.parentNode.removeChild(Cr),jt.children.length>1){jt.syncHandles();return}var Kr=jt.parent;jt.parent=null;var Qr=jt.children[0],bn=jt.handles[0];if(jt.children.length=0,jt.handles.length=0,jt.sizers.length=0,bn.parentNode&&bn.parentNode.removeChild(bn),this._root===jt){Qr.parent=null,this._root=Qr;return}var In=Kr,an=In.children.indexOf(jt);if(Qr instanceof ah.TabLayoutNode){Qr.parent=In,In.children[an]=Qr;return}var Jr=Wa.removeAt(In.handles,an);Wa.removeAt(In.children,an),Wa.removeAt(In.sizers,an),Jr.parentNode&&Jr.parentNode.removeChild(Jr);for(var Er=0,ke=Qr.children.length;Er=this._left+this._width||Er=this._top+this._height?null:this},an.prototype.createConfig=function(){var Jr=this.tabBar.titles.map(function(ke){return ke.owner}),Er=this.tabBar.currentIndex;return{type:"tab-area",widgets:Jr,currentIndex:Er}},an.prototype.holdAllSizes=function(){},an.prototype.fit=function(Jr,Er){var ke=0,Pn=0,Ti=1/0,Ei=1/0,hi=Er.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Er.get(Xi.owner):void 0,_i=this.sizers,Ii=_i[0],Ki=_i[1];return hi&&hi.fit(),ra&&ra.fit(),hi&&!hi.isHidden?(ke=Math.max(ke,hi.minWidth),Pn+=hi.minHeight,Ii.minSize=hi.minHeight,Ii.maxSize=hi.maxHeight):(Ii.minSize=0,Ii.maxSize=0),ra&&!ra.isHidden?(ke=Math.max(ke,ra.minWidth),Pn+=ra.minHeight,Ki.minSize=ra.minHeight,Ki.maxSize=1/0):(Ki.minSize=0,Ki.maxSize=1/0),{minWidth:ke,minHeight:Pn,maxWidth:Ti,maxHeight:Ei}},an.prototype.update=function(Jr,Er,ke,Pn,Ti,Ei){this._top=Er,this._left=Jr,this._width=ke,this._height=Pn;var hi=Ei.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Ei.get(Xi.owner):void 0;if(Dd.calc(this.sizers,Pn),hi&&!hi.isHidden){var _i=this.sizers[0].size;hi.update(Jr,Er,ke,_i),Er+=_i}if(ra&&!ra.isHidden){var _i=this.sizers[1].size;ra.update(Jr,Er,ke,_i)}},an}();Je.TabLayoutNode=Mt;var jt=function(){function an(Jr){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=Jr}return an.prototype.iterAllWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterAllWidgets()});return new wm(Jr)},an.prototype.iterUserWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterUserWidgets()});return new wm(Jr)},an.prototype.iterSelectedWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterSelectedWidgets()});return new wm(Jr)},an.prototype.iterTabBars=function(){var Jr=Ap(this.children,function(Er){return Er.iterTabBars()});return new wm(Jr)},an.prototype.iterHandles=function(){var Jr=Ap(this.children,function(Er){return Er.iterHandles()});return pw(this.handles,new wm(Jr))},an.prototype.findTabNode=function(Jr){for(var Er=0,ke=this.children.length;Er=Er.length)&&(ke=0),{type:"tab-area",widgets:Er,currentIndex:ke}}function Qr(an,Jr){for(var Er=an.orientation,ke=[],Pn=[],Ti=0,Ei=an.children.length;Tira&&Ei>ra&&Ti>_i&&hi>_i)return{zone:"widget-all",target:ke};Pn/=ra,Ti/=_i,Ei/=ra,hi/=_i;var Ii=Math.min(Pn,Ti,Ei,hi),Ki;switch(Ii){case Pn:Ki="widget-left";break;case Ti:Ki="widget-top";break;case Ei:Ki="widget-right";break;case hi:Ki="widget-bottom";break;default:throw"unreachable"}return{zone:Ki,target:ke}}Je.findDropTarget=_e;function De(Mt){return Mt.titles.length===0?null:Mt.currentTitle?Mt.currentTitle.owner:Mt.titles[Mt.titles.length-1].owner}Je.getDropRef=De})(Pf||(Pf={}));var WB=function(){function Je(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new Kl(this),this._currentChanged=new Kl(this)}return Je.prototype.dispose=function(){var ze=this;this._counter<0||(this._counter=-1,Kl.clearData(this),Os(this._widgets,function(_e){_e.node.removeEventListener("focus",ze,!0),_e.node.removeEventListener("blur",ze,!0)}),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(Je.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),Je.prototype.focusNumber=function(ze){var _e=this._numbers.get(ze);return _e===void 0?-1:_e},Je.prototype.has=function(ze){return this._numbers.has(ze)},Je.prototype.add=function(ze){if(!this._numbers.has(ze)){var _e=ze.node.contains(document.activeElement),De=_e?this._counter++:-1;this._widgets.push(ze),this._numbers.set(ze,De),this._nodes.set(ze.node,ze),ze.node.addEventListener("focus",this,!0),ze.node.addEventListener("blur",this,!0),ze.disposed.connect(this._onWidgetDisposed,this),_e&&this._setWidgets(ze,ze)}},Je.prototype.remove=function(ze){var _e=this;if(this._numbers.has(ze)&&(ze.disposed.disconnect(this._onWidgetDisposed,this),ze.node.removeEventListener("focus",this,!0),ze.node.removeEventListener("blur",this,!0),Wa.removeFirstOf(this._widgets,ze),this._nodes.delete(ze.node),this._numbers.delete(ze),this._currentWidget===ze)){var De=RS(this._widgets,function(jt){return _e._numbers.get(jt)!==-1}),Mt=DS(De,function(jt,ir){var Cr=_e._numbers.get(jt),Kr=_e._numbers.get(ir);return Cr-Kr})||null;this._setWidgets(Mt,null)}},Je.prototype.handleEvent=function(ze){switch(ze.type){case"focus":this._evtFocus(ze);break;case"blur":this._evtBlur(ze);break}},Je.prototype._setWidgets=function(ze,_e){var De=this._currentWidget;this._currentWidget=ze;var Mt=this._activeWidget;this._activeWidget=_e,De!==ze&&this._currentChanged.emit({oldValue:De,newValue:ze}),Mt!==_e&&this._activeChanged.emit({oldValue:Mt,newValue:_e})},Je.prototype._evtFocus=function(ze){var _e=this._nodes.get(ze.currentTarget);_e!==this._currentWidget&&this._numbers.set(_e,this._counter++),this._setWidgets(_e,_e)},Je.prototype._evtBlur=function(ze){var _e=this._nodes.get(ze.currentTarget),De=ze.relatedTarget;if(!De){this._setWidgets(this._currentWidget,null);return}if(!_e.node.contains(De)&&!Pg(this._widgets,function(Mt){return Mt.node.contains(De)})){this._setWidgets(this._currentWidget,null);return}},Je.prototype._onWidgetDisposed=function(ze){this.remove(ze)},Je}(),Iw=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,_e)||this;return De._dirty=!1,De._rowSpacing=4,De._columnSpacing=4,De._items=[],De._rowStarts=[],De._columnStarts=[],De._rowSizers=[new Cp],De._columnSizers=[new Cp],De._box=null,_e.rowCount!==void 0&&_h.reallocSizers(De._rowSizers,_e.rowCount),_e.columnCount!==void 0&&_h.reallocSizers(De._columnSizers,_e.columnCount),_e.rowSpacing!==void 0&&(De._rowSpacing=_h.clampValue(_e.rowSpacing)),_e.columnSpacing!==void 0&&(De._columnSpacing=_h.clampValue(_e.columnSpacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){var De=_e.widget;_e.dispose(),De.dispose()}),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(_e){_e!==this.rowCount&&(_h.reallocSizers(this._rowSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(_e){_e!==this.columnCount&&(_h.reallocSizers(this._columnSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(_e){_e=_h.clampValue(_e),this._rowSpacing!==_e&&(this._rowSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(_e){_e=_h.clampValue(_e),this._columnSpacing!==_e&&(this._columnSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.rowStretch=function(_e){var De=this._rowSizers[_e];return De?De.stretch:-1},ze.prototype.setRowStretch=function(_e,De){var Mt=this._rowSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.columnStretch=function(_e){var De=this._columnSizers[_e];return De?De.stretch:-1},ze.prototype.setColumnStretch=function(_e,De){var Mt=this._columnSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.iter=function(){return Ap(this._items,function(_e){return _e.widget})},ze.prototype.addWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(Mt){return Mt.widget===_e});De===-1&&(this._items.push(new Zy(_e)),this.parent&&this.attachWidget(_e))},ze.prototype.removeWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(jt){return jt.widget===_e});if(De!==-1){var Mt=Wa.removeAt(this._items,De);this.parent&&this.detachWidget(_e),Mt.dispose()}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)})},ze.prototype.attachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.detachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=this.rowCount;_eQr&&(Kr.length=Qr)}Je.reallocSizers=jt;function ir(Kr,Qr,bn,In){if(!(bn=In))for(var ke=(In-Jr)/(bn-Qr+1),Er=Qr;Er<=bn;++Er)Kr[Er].minSize+=ke}}Je.distributeMin=ir;function Cr(Kr){Kr.parent&&Kr.parent.layout instanceof Iw&&Kr.parent.fit()}})(_h||(_h={}));var HS=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,{node:Q1.createNode()})||this;return De._activeIndex=-1,De._tabFocusIndex=0,De._menus=[],De._childMenu=null,De.addClass("lm-MenuBar"),De.addClass("p-MenuBar"),De.setFlag(So.Flag.DisallowLayout),De.renderer=_e.renderer||ze.defaultRenderer,De._forceItemsPosition=_e.forceItemsPosition||{forceX:!0,forceY:!0},De}return ze.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(_e){this.activeIndex=_e?this._menus.indexOf(_e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(_e){(_e<0||_e>=this._menus.length)&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,_e!==-1&&(this._tabFocusIndex=_e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),ze.prototype.openActiveMenu=function(){this._activeIndex!==-1&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},ze.prototype.addMenu=function(_e){this.insertMenu(this._menus.length,_e)},ze.prototype.insertMenu=function(_e,De){this._closeChildMenu();var Mt=this._menus.indexOf(De),jt=Math.max(0,Math.min(_e,this._menus.length));if(Mt===-1){Wa.insert(this._menus,jt,De),De.addClass("lm-MenuBar-menu"),De.addClass("p-MenuBar-menu"),De.aboutToClose.connect(this._onMenuAboutToClose,this),De.menuRequested.connect(this._onMenuMenuRequested,this),De.title.changed.connect(this._onTitleChanged,this),this.update();return}jt===this._menus.length&&jt--,Mt!==jt&&(Wa.move(this._menus,Mt,jt),this.update())},ze.prototype.removeMenu=function(_e){this.removeMenuAt(this._menus.indexOf(_e))},ze.prototype.removeMenuAt=function(_e){this._closeChildMenu();var De=Wa.removeAt(this._menus,_e);De&&(De.aboutToClose.disconnect(this._onMenuAboutToClose,this),De.menuRequested.disconnect(this._onMenuMenuRequested,this),De.title.changed.disconnect(this._onTitleChanged,this),De.removeClass("lm-MenuBar-menu"),De.removeClass("p-MenuBar-menu"),this.update())},ze.prototype.clearMenus=function(){if(this._menus.length!==0){this._closeChildMenu();for(var _e=0,De=this._menus;_e=0&&this._tabFocusIndex"u"||typeof Cr>"u")&&(De=this._positionForMenu(this._activeIndex),ir=De.left,Cr=De.top),jt||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),Mt.items.length>0&&Mt.open(ir,Cr,this._forceItemsPosition)}},ze.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var _e=this._childMenu;this._childMenu=null,_e.close(),this.activeIndex=-1}},ze.prototype._onMenuAboutToClose=function(_e){_e===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},ze.prototype._onMenuMenuRequested=function(_e,De){if(_e===this._childMenu){var Mt=this._activeIndex,jt=this._menus.length;switch(De){case"next":this.activeIndex=Mt===jt-1?0:Mt+1;break;case"previous":this.activeIndex=Mt===0?jt-1:Mt-1;break}this.openActiveMenu()}},ze.prototype._onTitleChanged=function(){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){}return _e.prototype.renderItem=function(De){var Mt=this.createItemClass(De),jt=this.createItemDataset(De),ir=this.createItemARIA(De);return _u.li(Fh({className:Mt,dataset:jt,tabindex:De.tabbable?"0":"-1",onfocus:De.onfocus},ir),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=this.createIconClass(De);return typeof De.title.icon=="string"?_u.div({className:Mt},De.title.iconLabel):_u.div({className:Mt},De.title.icon,De.title.iconLabel)},_e.prototype.renderLabel=function(De){var Mt=this.formatLabel(De);return _u.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},Mt)},_e.prototype.createItemClass=function(De){var Mt="lm-MenuBar-item";return Mt+=" p-MenuBar-item",De.title.className&&(Mt+=" "+De.title.className),De.active&&(Mt+=" lm-mod-active",Mt+=" p-mod-active"),Mt},_e.prototype.createItemDataset=function(De){return De.title.dataset},_e.prototype.createItemARIA=function(De){return{role:"menuitem","aria-haspopup":"true"}},_e.prototype.createIconClass=function(De){var Mt="lm-MenuBar-itemIcon";Mt+=" p-MenuBar-itemIcon";var jt=De.title.iconClass;return jt?Mt+" "+jt:Mt},_e.prototype.formatLabel=function(De){var Mt=De.title,jt=Mt.label,ir=Mt.mnemonic;if(ir<0||ir>=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},Qr);return[Cr,bn,Kr]},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(HS||(HS={}));var Q1;(function(Je){function ze(){var De=document.createElement("div"),Mt=document.createElement("ul");return Mt.className="lm-MenuBar-content",Mt.classList.add("p-MenuBar-content"),De.appendChild(Mt),Mt.setAttribute("role","menubar"),De}Je.createNode=ze;function _e(De,Mt,jt){for(var ir=-1,Cr=-1,Kr=!1,Qr=Mt.toUpperCase(),bn=0,In=De.length;bn=0&&Er1&&this.widgets.forEach(function(Mt){Mt.hiddenMode=De._hiddenMode}))},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,Je.prototype.dispose.call(this)},ze.prototype.attachWidget=function(_e,De){this._hiddenMode===So.HiddenMode.Scale&&this._items.length>0?(this._items.length===1&&(this.widgets[0].hiddenMode=So.HiddenMode.Scale),De.hiddenMode=So.HiddenMode.Scale):De.hiddenMode=So.HiddenMode.Display,Wa.insert(this._items,_e,new Zy(De)),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.widget.node.style.zIndex="",this._hiddenMode===So.HiddenMode.Scale&&(De.hiddenMode=So.HiddenMode.Display,this._items.length===1&&(this._items[0].widget.hiddenMode=So.HiddenMode.Display)),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=0,jt=this._items.length;Mt{ZS.default.react(this.node,this._data,this._plotly_layout,this._config)})}},YO={safe:!0,mimeTypes:[YS],createRenderer:Je=>new zw(Je)},KO={id:"@jupyterlab/plotly-extension:factory",rendererFactory:YO,rank:0,dataType:"json",fileTypes:[{name:"plotly",mimeTypes:[YS],extensions:[".plotly",".plotly.json"],iconClass:ZO}],documentWidgetFactoryOptions:{name:"Plotly",primaryFileType:"plotly",fileTypes:["plotly","json"],defaultFor:["plotly"]}},w7=KO; -/*! Bundled license information: - -plotly.js/dist/plotly.js: - (*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - *) - (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) - (*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - *) - (*! - * pad-left - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT license. - *) - (*! - * repeat-string - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT License. - *) - (*! Bundled license information: - - native-promise-only/lib/npo.src.js: - (*! Native Promise Only - v0.8.1 (c) Kyle Simpson - MIT License: http://getify.mit-license.org - *) - - polybooljs/index.js: - (* - * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc - * @license MIT - * @preserve Project Home: https://github.com/voidqk/polybooljs - *) - - ieee754/index.js: - (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) - - buffer/index.js: - (*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - *) - - safe-buffer/index.js: - (*! safe-buffer. MIT License. Feross Aboukhadijeh *) - - assert/build/internal/util/comparisons.js: - (*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - *) - - object-assign/index.js: - (* - object-assign - (c) Sindre Sorhus - @license MIT - *) - - maplibre-gl/dist/maplibre-gl.js: - (** - * MapLibre GL JS - * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.1/LICENSE.txt - *) - *) - -@lumino/messaging/dist/index.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) - -@lumino/disposable/dist/index.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) - -@lumino/commands/dist/index.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) - -@lumino/virtualdom/dist/index.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) - -@lumino/widgets/dist/index.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) -*/ - - -/***/ }), - -/***/ "./node_modules/process/browser.js": -/*!*****************************************!*\ - !*** ./node_modules/process/browser.js ***! - \*****************************************/ -/***/ ((module) => { - -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - - -/***/ }) - -}]); -//# sourceMappingURL=js_mimerenderer_js.55332f9c879f105c1219.js.map \ No newline at end of file diff --git a/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map b/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map deleted file mode 100644 index bacff7ea8f3..00000000000 --- a/plotly/labextension/static/js_mimerenderer_js.55332f9c879f105c1219.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js_mimerenderer_js.55332f9c879f105c1219.js","mappings":";;;;;;;;;;;;;;;;AAAA,qBAAqB,6BAA6B,uCAAuC,kCAAkC,gEAAgE,iCAAiC,WAAW,0BAA0B,uBAAuB,2GAA2G,yDAAyD,EAAE,WAAW,6CAA6C,6CAA6C,uBAAuB,UAAU,oBAAoB,iBAAiB,qEAAqE,wBAAU,+FAA+F,GAAG,kBAAkB,aAAa,+BAA+B,+BAA+B,kCAAkC,gBAAgB,iFAAiF,kBAAkB,gBAAgB,yBAAyB,cAAc,gBAAgB,uBAAuB,eAAe,mBAAmB,oBAAoB,2BAA2B,wBAAwB,6CAA6C,gBAAgB,gBAAgB,sCAAsC,eAAe,mBAAmB,oBAAoB,kCAAkC,0BAA0B,MAAM,oCAAoC,SAAS,mBAAmB,oBAAoB,0DAA0D,0DAA0D,kBAAkB,wBAAwB,gFAAgF,SAAS,gBAAgB,kDAAkD,MAAM,uBAAuB,UAAU,gBAAgB,UAAU,kBAAkB,cAAc,6BAA6B,WAAW,2BAA2B,GAAG,kBAAkB,cAAc,+BAA+B,qCAAqC,2BAA2B,mCAAmC,oCAAoC,mCAAmC,+BAA+B,uCAAuC,sCAAsC,8DAA8D,qCAAqC,+BAA+B,8DAA8D,+BAA+B,2CAA2C,IAAI,iBAAiB,cAAc,YAAY,yCAAyC,6BAA6B,EAAE,yCAAyC,qBAAqB,OAAO,kCAAkC,oBAAoB,OAAO,IAAI,iBAAiB,gBAAgB,iDAAiD,UAAU,GAAG,gBAAgB,+BAA+B,MAAM,uEAAuE,8BAA8B,8BAA8B,iEAAiE,8DAA8D,8BAA8B,IAAI,GAAG,yBAAyB,G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D,qBAAqB,YAAY,qBAAqB;;AAEzkgB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AAC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A;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,6DAA6D;;AAE7D;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;;AAEA;;AAEA;AACA;AACA,CAAC;AACD;;AAEA;;AAEA;AACA;AACA;AACA,IAAI,cAAc,iCAAiC,4BAA4B,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,sBAAsB,EA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BAAyB,EAAE,2BAA2B,IAAI,sBAAsB,aAAa,kCAAkC,YAAY,wCAAwC,oBAAoB,0QAA0Q,8CAA8C,2BAA2B,SAAS,gCAAgC,oBAAoB,uCAAuC,kBAAkB,iDAAiD,4CAA4C,oBAAoB,IAAI,8GAA8G,oNAAoN,YAAY,IAAI,0JAA0J,WAAW,sBAAsB,8PAA8P,sBAAsB,gEAAgE,gBAAgB,SAAS,wBAAwB,sBAAsB,yJAAyJ,6IAA6I,qBAAqB,gDAAgD,EAAE,iDAAiD,EAAE,iDAAiD,UAAU,8FAA8F,qBAAqB,sBAAsB,sBAAsB;;AAEt3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAC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,8EAA8E,2CAA2C,wBAAwB,wBAAwB,8GAA8G,8KAA8K,kCAAkC,iBAAiB,oCAAoC,0BAA0B,sBAAsB,aAAa,+DAA+D,aAAa,+DAA+D,aAAa,mFAAmF,iFAAiF,+BAA+B,4CAA4C,gEAAgE,eAAe,YAAY,IAAI,KAAK,iBAAiB,eAAe,6BAA6B,WAAW,oCAAoC,+CAA+C,uCAAuC,EAAE,aAAa,4BAA4B,EAAE,KAAK,yCAAyC,gBAAgB,uGAAuG,6BAA6B,+BAA+B,uCAAuC,MAAM,4BAA4B,kEAAkE,mCAAmC,uCAAuC,cAAc,iCAAiC,GAAG,qBAAqB;AACr+J;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;A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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE,YAAY,gBAAgB,0CAA0C,iCAAiC,+KAA+K,kJAAkJ,yIAAyI,gBAAgB,mDAAmD,KAAK,gFAAgF,kdAAkd,QAAQ,oCAAoC,sBAAsB,OAAO,+FAA+F,QAAQ,yBAAyB,UAAU,UAAU,UAAU,iCAAiC,6BAA6B,QAAQ,0BAA0B,SAAS,qCAAqC,UAAU,qCAAqC,SAAS,4DAA4D,SAAS,6DAA6D,cAAc,iEAAiE,cA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACx2HA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,MAAM;AACN;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;;AAEtC;AACA;AACA;;AAEA,4BAA4B;AAC5B;AACA;AACA;AACA,6BAA6B","sources":["webpack://plotly-jupyter-mime-renderer/./js/mimerenderer.js","webpack://plotly-jupyter-mime-renderer/./node_modules/process/browser.js"],"sourcesContent":["var SO=Object.create;var CS=Object.defineProperty;var EO=Object.getOwnPropertyDescriptor;var CO=Object.getOwnPropertyNames;var kO=Object.getPrototypeOf,LO=Object.prototype.hasOwnProperty;var kS=(Je,ze)=>()=>(ze||Je((ze={exports:{}}).exports,ze),ze.exports);var PO=(Je,ze,_e,De)=>{if(ze&&typeof ze==\"object\"||typeof ze==\"function\")for(let Mt of CO(ze))!LO.call(Je,Mt)&&Mt!==_e&&CS(Je,Mt,{get:()=>ze[Mt],enumerable:!(De=EO(ze,Mt))||De.enumerable});return Je};var dw=(Je,ze,_e)=>(_e=Je!=null?SO(kO(Je)):{},PO(ze||!Je||!Je.__esModule?CS(_e,\"default\",{value:Je,enumerable:!0}):_e,Je));var xw=kS((X1,US)=>{(function(Je,ze){typeof X1==\"object\"&&typeof US<\"u\"?ze(X1):typeof define==\"function\"&&define.amd?define([\"exports\"],ze):(Je=typeof globalThis<\"u\"?globalThis:Je||self,ze(Je.lumino_coreutils={}))})(X1,function(Je){\"use strict\";Je.JSONExt=void 0,function(ir){ir.emptyObject=Object.freeze({}),ir.emptyArray=Object.freeze([]);function Cr(Pn){return Pn===null||typeof Pn==\"boolean\"||typeof Pn==\"number\"||typeof Pn==\"string\"}ir.isPrimitive=Cr;function Kr(Pn){return Array.isArray(Pn)}ir.isArray=Kr;function Qr(Pn){return!Cr(Pn)&&!Kr(Pn)}ir.isObject=Qr;function bn(Pn,Ti){if(Pn===Ti)return!0;if(Cr(Pn)||Cr(Ti))return!1;var Ei=Kr(Pn),hi=Kr(Ti);return Ei!==hi?!1:Ei&&hi?an(Pn,Ti):Jr(Pn,Ti)}ir.deepEqual=bn;function In(Pn){return Cr(Pn)?Pn:Kr(Pn)?Er(Pn):ke(Pn)}ir.deepCopy=In;function an(Pn,Ti){if(Pn===Ti)return!0;if(Pn.length!==Ti.length)return!1;for(var Ei=0,hi=Pn.length;Ei>>0),ir[Kr]=Cr&255,Cr>>>=8}Je.Random=void 0,function(ir){ir.getRandomValues=function(){var Cr=typeof window<\"u\"&&(window.crypto||window.msCrypto)||null;return Cr&&typeof Cr.getRandomValues==\"function\"?function(Qr){return Cr.getRandomValues(Qr)}:Mt}()}(Je.Random||(Je.Random={}));function jt(ir){for(var Cr=new Uint8Array(16),Kr=new Array(256),Qr=0;Qr<16;++Qr)Kr[Qr]=\"0\"+Qr.toString(16);for(var Qr=16;Qr<256;++Qr)Kr[Qr]=Qr.toString(16);return function(){return ir(Cr),Cr[6]=64|Cr[6]&15,Cr[8]=128|Cr[8]&63,Kr[Cr[0]]+Kr[Cr[1]]+Kr[Cr[2]]+Kr[Cr[3]]+\"-\"+Kr[Cr[4]]+Kr[Cr[5]]+\"-\"+Kr[Cr[6]]+Kr[Cr[7]]+\"-\"+Kr[Cr[8]]+Kr[Cr[9]]+\"-\"+Kr[Cr[10]]+Kr[Cr[11]]+Kr[Cr[12]]+Kr[Cr[13]]+Kr[Cr[14]]+Kr[Cr[15]]}}Je.UUID=void 0,function(ir){ir.uuid4=jt(Je.Random.getRandomValues)}(Je.UUID||(Je.UUID={})),Je.MimeData=ze,Je.PromiseDelegate=_e,Je.Token=De,Object.defineProperty(Je,\"__esModule\",{value:!0})})});var XS=kS((WS,r_)=>{(function(Je,ze){typeof r_==\"object\"&&r_.exports?r_.exports=ze():Je.moduleName=ze()})(typeof self<\"u\"?self:WS,()=>{\"use strict\";var Je=(()=>{var ze=Object.create,_e=Object.defineProperty,De=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertyNames,Cr=Object.getOwnPropertySymbols,Kr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,In=(Z,H,g)=>H in Z?_e(Z,H,{enumerable:!0,configurable:!0,writable:!0,value:g}):Z[H]=g,an=(Z,H)=>{for(var g in H||(H={}))Qr.call(H,g)&&In(Z,g,H[g]);if(Cr)for(var g of Cr(H))bn.call(H,g)&&In(Z,g,H[g]);return Z},Jr=(Z,H)=>De(Z,jt(H)),Er=(Z,H)=>function(){return Z&&(H=(0,Z[ir(Z)[0]])(Z=0)),H},ke=(Z,H)=>function(){return H||(0,Z[ir(Z)[0]])((H={exports:{}}).exports,H),H.exports},Pn=(Z,H)=>{for(var g in H)_e(Z,g,{get:H[g],enumerable:!0})},Ti=(Z,H,g,x)=>{if(H&&typeof H==\"object\"||typeof H==\"function\")for(let A of ir(H))!Qr.call(Z,A)&&A!==g&&_e(Z,A,{get:()=>H[A],enumerable:!(x=Mt(H,A))||x.enumerable});return Z},Ei=(Z,H,g)=>(g=Z!=null?ze(Kr(Z)):{},Ti(H||!Z||!Z.__esModule?_e(g,\"default\",{value:Z,enumerable:!0}):g,Z)),hi=Z=>Ti(_e({},\"__esModule\",{value:!0}),Z),Xi=ke({\"src/version.js\"(Z){\"use strict\";Z.version=\"3.0.1\"}}),ra=ke({\"node_modules/native-promise-only/lib/npo.src.js\"(Z,H){(function(x,A,S){A[x]=A[x]||S(),typeof H<\"u\"&&H.exports&&(H.exports=A[x])})(\"Promise\",typeof window<\"u\"?window:Z,function(){\"use strict\";var x,A,S,e=Object.prototype.toString,t=typeof setImmediate<\"u\"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},\"x\",{}),x=function(_,w,M,E){return Object.defineProperty(_,w,{value:M,writable:!0,configurable:E!==!1})}}catch{x=function(w,M,E){return w[M]=E,w}}S=function(){var _,w,M;function E(m,b){this.fn=m,this.self=b,this.next=void 0}return{add:function(b,v){M=new E(b,v),w?w.next=M:_=M,w=M,M=void 0},drain:function(){var b=_;for(_=w=A=void 0;b;)b.fn.call(b.self),b=b.next}}}();function r(l,_){S.add(l,_),A||(A=t(S.drain))}function o(l){var _,w=typeof l;return l!=null&&(w==\"object\"||w==\"function\")&&(_=l.then),typeof _==\"function\"?_:!1}function n(){for(var l=0;l0&&r(n,w))}catch(M){s.call(new h(w),M)}}}function s(l){var _=this;_.triggered||(_.triggered=!0,_.def&&(_=_.def),_.msg=l,_.state=2,_.chain.length>0&&r(n,_))}function c(l,_,w,M){for(var E=0;E<_.length;E++)(function(b){l.resolve(_[b]).then(function(u){w(b,u)},M)})(E)}function h(l){this.def=l,this.triggered=!1}function p(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(l){if(typeof l!=\"function\")throw TypeError(\"Not a function\");if(this.__NPO__!==0)throw TypeError(\"Not a promise\");this.__NPO__=1;var _=new p(this);this.then=function(M,E){var m={success:typeof M==\"function\"?M:!0,failure:typeof E==\"function\"?E:!1};return m.promise=new this.constructor(function(v,u){if(typeof v!=\"function\"||typeof u!=\"function\")throw TypeError(\"Not a function\");m.resolve=v,m.reject=u}),_.chain.push(m),_.state!==0&&r(n,_),m.promise},this.catch=function(M){return this.then(void 0,M)};try{l.call(void 0,function(M){a.call(_,M)},function(M){s.call(_,M)})}catch(w){s.call(_,w)}}var T=x({},\"constructor\",d,!1);return d.prototype=T,x(T,\"__NPO__\",0,!1),x(d,\"resolve\",function(_){var w=this;return _&&typeof _==\"object\"&&_.__NPO__===1?_:new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");E(_)})}),x(d,\"reject\",function(_){return new this(function(M,E){if(typeof M!=\"function\"||typeof E!=\"function\")throw TypeError(\"Not a function\");E(_)})}),x(d,\"all\",function(_){var w=this;return e.call(_)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):_.length===0?w.resolve([]):new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");var b=_.length,v=Array(b),u=0;c(w,_,function(f,P){v[f]=P,++u===b&&E(v)},m)})}),x(d,\"race\",function(_){var w=this;return e.call(_)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):new w(function(E,m){if(typeof E!=\"function\"||typeof m!=\"function\")throw TypeError(\"Not a function\");c(w,_,function(v,u){E(u)},m)})}),d})}}),_i=ke({\"node_modules/@plotly/d3/d3.js\"(Z,H){(function(){var g={version:\"3.8.2\"},x=[].slice,A=function(de){return x.call(de)},S=self.document;function e(de){return de&&(de.ownerDocument||de.document||de).documentElement}function t(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(S)try{A(S.documentElement.childNodes)[0].nodeType}catch{A=function(Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=Re[Qe];return vt}}if(Date.now||(Date.now=function(){return+new Date}),S)try{S.createElement(\"DIV\").style.setProperty(\"opacity\",0,\"\")}catch{var r=this.Element.prototype,o=r.setAttribute,n=r.setAttributeNS,i=this.CSSStyleDeclaration.prototype,a=i.setProperty;r.setAttribute=function(Re,Qe){o.call(this,Re,Qe+\"\")},r.setAttributeNS=function(Re,Qe,vt){n.call(this,Re,Qe,vt+\"\")},i.setProperty=function(Re,Qe,vt){a.call(this,Re,Qe+\"\",vt)}}g.ascending=s;function s(de,Re){return deRe?1:de>=Re?0:NaN}g.descending=function(de,Re){return Rede?1:Re>=de?0:NaN},g.min=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++QeTt&&(mt=Tt)}return mt},g.max=function(de,Re){var Qe=-1,vt=de.length,mt,Tt;if(arguments.length===1){for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}else{for(;++Qe=Tt){mt=Tt;break}for(;++Qemt&&(mt=Tt)}return mt},g.extent=function(de,Re){var Qe=-1,vt=de.length,mt,Tt,Qt;if(arguments.length===1){for(;++Qe=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt=Tt){mt=Qt=Tt;break}for(;++QeTt&&(mt=Tt),Qt1)return Qt/(lr-1)},g.deviation=function(){var de=g.variance.apply(this,arguments);return de&&Math.sqrt(de)};function p(de){return{left:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)<0?vt=Tt+1:mt=Tt}return vt},right:function(Re,Qe,vt,mt){for(arguments.length<3&&(vt=0),arguments.length<4&&(mt=Re.length);vt>>1;de(Re[Tt],Qe)>0?mt=Tt:vt=Tt+1}return vt}}}var d=p(s);g.bisectLeft=d.left,g.bisect=g.bisectRight=d.right,g.bisector=function(de){return p(de.length===1?function(Re,Qe){return s(de(Re),Qe)}:de)},g.shuffle=function(de,Re,Qe){(vt=arguments.length)<3&&(Qe=de.length,vt<2&&(Re=0));for(var vt=Qe-Re,mt,Tt;vt;)Tt=Math.random()*vt--|0,mt=de[vt+Re],de[vt+Re]=de[Tt+Re],de[Tt+Re]=mt;return de},g.permute=function(de,Re){for(var Qe=Re.length,vt=new Array(Qe);Qe--;)vt[Qe]=de[Re[Qe]];return vt},g.pairs=function(de){for(var Re=0,Qe=de.length-1,vt,mt=de[0],Tt=new Array(Qe<0?0:Qe);Re=0;)for(Qt=de[Re],Qe=Qt.length;--Qe>=0;)Tt[--mt]=Qt[Qe];return Tt};var l=Math.abs;g.range=function(de,Re,Qe){if(arguments.length<3&&(Qe=1,arguments.length<2&&(Re=de,de=0)),(Re-de)/Qe===1/0)throw new Error(\"infinite range\");var vt=[],mt=_(l(Qe)),Tt=-1,Qt;if(de*=mt,Re*=mt,Qe*=mt,Qe<0)for(;(Qt=de+Qe*++Tt)>Re;)vt.push(Qt/mt);else for(;(Qt=de+Qe*++Tt)=Re.length)return mt?mt.call(de,lr):vt?lr.sort(vt):lr;for(var jr=-1,Tn=lr.length,yn=Re[Br++],ti,ai,En,qn=new M,Jn;++jr=Re.length)return Dt;var Br=[],jr=Qe[lr++];return Dt.forEach(function(Tn,yn){Br.push({key:Tn,values:Qt(yn,lr)})}),jr?Br.sort(function(Tn,yn){return jr(Tn.key,yn.key)}):Br}return de.map=function(Dt,lr){return Tt(lr,Dt,0)},de.entries=function(Dt){return Qt(Tt(g.map,Dt,0),0)},de.key=function(Dt){return Re.push(Dt),de},de.sortKeys=function(Dt){return Qe[Re.length-1]=Dt,de},de.sortValues=function(Dt){return vt=Dt,de},de.rollup=function(Dt){return mt=Dt,de},de},g.set=function(de){var Re=new z;if(de)for(var Qe=0,vt=de.length;Qe=0&&(vt=de.slice(Qe+1),de=de.slice(0,Qe)),de)return arguments.length<2?this[de].on(vt):this[de].on(vt,Re);if(arguments.length===2){if(Re==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(vt,null);return this}};function W(de){var Re=[],Qe=new M;function vt(){for(var mt=Re,Tt=-1,Qt=mt.length,Dt;++Tt=0&&(Qe=de.slice(0,Re))!==\"xmlns\"&&(de=de.slice(Re+1)),ce.hasOwnProperty(Qe)?{space:ce[Qe],local:de}:de}},ae.attr=function(de,Re){if(arguments.length<2){if(typeof de==\"string\"){var Qe=this.node();return de=g.ns.qualify(de),de.local?Qe.getAttributeNS(de.space,de.local):Qe.getAttribute(de)}for(Re in de)this.each(xe(Re,de[Re]));return this}return this.each(xe(de,Re))};function xe(de,Re){de=g.ns.qualify(de);function Qe(){this.removeAttribute(de)}function vt(){this.removeAttributeNS(de.space,de.local)}function mt(){this.setAttribute(de,Re)}function Tt(){this.setAttributeNS(de.space,de.local,Re)}function Qt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttribute(de):this.setAttribute(de,lr)}function Dt(){var lr=Re.apply(this,arguments);lr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,lr)}return Re==null?de.local?vt:Qe:typeof Re==\"function\"?de.local?Dt:Qt:de.local?Tt:mt}function Te(de){return de.trim().replace(/\\s+/g,\" \")}ae.classed=function(de,Re){if(arguments.length<2){if(typeof de==\"string\"){var Qe=this.node(),vt=(de=Ie(de)).length,mt=-1;if(Re=Qe.classList){for(;++mt=0;)(Tt=Qe[vt])&&(mt&&mt!==Tt.nextSibling&&mt.parentNode.insertBefore(Tt,mt),mt=Tt);return this},ae.sort=function(de){de=Oe.apply(this,arguments);for(var Re=-1,Qe=this.length;++Re=Re&&(Re=mt+1);!(lr=Qt[Re])&&++Re0&&(de=de.slice(0,mt));var Qt=Bt.get(de);Qt&&(de=Qt,Tt=fr);function Dt(){var jr=this[vt];jr&&(this.removeEventListener(de,jr,jr.$),delete this[vt])}function lr(){var jr=Tt(Re,A(arguments));Dt.call(this),this.addEventListener(de,this[vt]=jr,jr.$=Qe),jr._=Re}function Br(){var jr=new RegExp(\"^__on([^.]+)\"+g.requote(de)+\"$\"),Tn;for(var yn in this)if(Tn=yn.match(jr)){var ti=this[yn];this.removeEventListener(Tn[1],ti,ti.$),delete this[yn]}}return mt?Re?lr:Dt:Re?N:Br}var Bt=g.map({mouseenter:\"mouseover\",mouseleave:\"mouseout\"});S&&Bt.forEach(function(de){\"on\"+de in S&&Bt.remove(de)});function qt(de,Re){return function(Qe){var vt=g.event;g.event=Qe,Re[0]=this.__data__;try{de.apply(this,Re)}finally{g.event=vt}}}function fr(de,Re){var Qe=qt(de,Re);return function(vt){var mt=this,Tt=vt.relatedTarget;(!Tt||Tt!==mt&&!(Tt.compareDocumentPosition(mt)&8))&&Qe.call(mt,vt)}}var ar,Rr=0;function gr(de){var Re=\".dragsuppress-\"+ ++Rr,Qe=\"click\"+Re,vt=g.select(t(de)).on(\"touchmove\"+Re,Q).on(\"dragstart\"+Re,Q).on(\"selectstart\"+Re,Q);if(ar==null&&(ar=\"onselectstart\"in de?!1:O(de.style,\"userSelect\")),ar){var mt=e(de).style,Tt=mt[ar];mt[ar]=\"none\"}return function(Qt){if(vt.on(Re,null),ar&&(mt[ar]=Tt),Qt){var Dt=function(){vt.on(Qe,null)};vt.on(Qe,function(){Q(),Dt()},!0),setTimeout(Dt,0)}}}g.mouse=function(de){return _t(de,le())};var br=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function _t(de,Re){Re.changedTouches&&(Re=Re.changedTouches[0]);var Qe=de.ownerSVGElement||de;if(Qe.createSVGPoint){var vt=Qe.createSVGPoint();if(br<0){var mt=t(de);if(mt.scrollX||mt.scrollY){Qe=g.select(\"body\").append(\"svg\").style({position:\"absolute\",top:0,left:0,margin:0,padding:0,border:\"none\"},\"important\");var Tt=Qe[0][0].getScreenCTM();br=!(Tt.f||Tt.e),Qe.remove()}}return br?(vt.x=Re.pageX,vt.y=Re.pageY):(vt.x=Re.clientX,vt.y=Re.clientY),vt=vt.matrixTransform(de.getScreenCTM().inverse()),[vt.x,vt.y]}var Qt=de.getBoundingClientRect();return[Re.clientX-Qt.left-de.clientLeft,Re.clientY-Qt.top-de.clientTop]}g.touch=function(de,Re,Qe){if(arguments.length<3&&(Qe=Re,Re=le().changedTouches),Re){for(var vt=0,mt=Re.length,Tt;vt0?1:de<0?-1:0}function bt(de,Re,Qe){return(Re[0]-de[0])*(Qe[1]-de[1])-(Re[1]-de[1])*(Qe[0]-de[0])}function Rt(de){return de>1?0:de<-1?Se:Math.acos(de)}function Nt(de){return de>1?we:de<-1?-we:Math.asin(de)}function Xt(de){return((de=Math.exp(de))-1/de)/2}function $t(de){return((de=Math.exp(de))+1/de)/2}function ur(de){return((de=Math.exp(2*de))-1)/(de+1)}function pn(de){return(de=Math.sin(de/2))*de}var Rn=Math.SQRT2,Nn=2,On=4;g.interpolateZoom=function(de,Re){var Qe=de[0],vt=de[1],mt=de[2],Tt=Re[0],Qt=Re[1],Dt=Re[2],lr=Tt-Qe,Br=Qt-vt,jr=lr*lr+Br*Br,Tn,yn;if(jr0&&(ua=ua.transition().duration(Qt)),ua.call(oi.event)}function io(){qn&&qn.domain(En.range().map(function(ua){return(ua-de.x)/de.k}).map(En.invert)),ci&&ci.domain(Jn.range().map(function(ua){return(ua-de.y)/de.k}).map(Jn.invert))}function oo(ua){Dt++||ua({type:\"zoomstart\"})}function Qo(ua){io(),ua({type:\"zoom\",scale:de.k,translate:[de.x,de.y]})}function uo(ua){--Dt||(ua({type:\"zoomend\"}),Qe=null)}function Jo(){var ua=this,wo=ai.of(ua,arguments),ys=0,Ms=g.select(t(ua)).on(Br,gu).on(jr,Fl),xl=Hn(g.mouse(ua)),Ul=gr(ua);Va.call(ua),oo(wo);function gu(){ys=1,_a(g.mouse(ua),xl),Qo(wo)}function Fl(){Ms.on(Br,null).on(jr,null),Ul(ys),uo(wo)}}function ol(){var ua=this,wo=ai.of(ua,arguments),ys={},Ms=0,xl,Ul=\".zoom-\"+g.event.changedTouches[0].identifier,gu=\"touchmove\"+Ul,Fl=\"touchend\"+Ul,vc=[],tr=g.select(ua),cn=gr(ua);xi(),oo(wo),tr.on(lr,null).on(yn,xi);function Ln(){var Oi=g.touches(ua);return xl=de.k,Oi.forEach(function(na){na.identifier in ys&&(ys[na.identifier]=Hn(na))}),Oi}function xi(){var Oi=g.event.target;g.select(Oi).on(gu,Ni).on(Fl,Fi),vc.push(Oi);for(var na=g.event.changedTouches,Ca=0,ka=na.length;Ca1){var Aa=ha[0],Ma=ha[1],ia=Aa[0]-Ma[0],wi=Aa[1]-Ma[1];Ms=ia*ia+wi*wi}}function Ni(){var Oi=g.touches(ua),na,Ca,ka,ha;Va.call(ua);for(var Xo=0,Aa=Oi.length;Xo1?1:Re,Qe=Qe<0?0:Qe>1?1:Qe,mt=Qe<=.5?Qe*(1+Re):Qe+Re-Qe*Re,vt=2*Qe-mt;function Tt(Dt){return Dt>360?Dt-=360:Dt<0&&(Dt+=360),Dt<60?vt+(mt-vt)*Dt/60:Dt<180?mt:Dt<240?vt+(mt-vt)*(240-Dt)/60:vt}function Qt(Dt){return Math.round(Tt(Dt)*255)}return new Tr(Qt(de+120),Qt(de),Qt(de-120))}g.hcl=Vt;function Vt(de,Re,Qe){return this instanceof Vt?(this.h=+de,this.c=+Re,void(this.l=+Qe)):arguments.length<2?de instanceof Vt?new Vt(de.h,de.c,de.l):de instanceof xn?gt(de.l,de.a,de.b):gt((de=gn((de=g.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Vt(de,Re,Qe)}var wr=Vt.prototype=new gi;wr.brighter=function(de){return new Vt(this.h,this.c,Math.min(100,this.l+en*(arguments.length?de:1)))},wr.darker=function(de){return new Vt(this.h,this.c,Math.max(0,this.l-en*(arguments.length?de:1)))},wr.rgb=function(){return $r(this.h,this.c,this.l).rgb()};function $r(de,Re,Qe){return isNaN(de)&&(de=0),isNaN(Re)&&(Re=0),new xn(Qe,Math.cos(de*=Le)*Re,Math.sin(de)*Re)}g.lab=xn;function xn(de,Re,Qe){return this instanceof xn?(this.l=+de,this.a=+Re,void(this.b=+Qe)):arguments.length<2?de instanceof xn?new xn(de.l,de.a,de.b):de instanceof Vt?$r(de.h,de.c,de.l):gn((de=Tr(de)).r,de.g,de.b):new xn(de,Re,Qe)}var en=18,Fn=.95047,Wn=1,ri=1.08883,Sn=xn.prototype=new gi;Sn.brighter=function(de){return new xn(Math.min(100,this.l+en*(arguments.length?de:1)),this.a,this.b)},Sn.darker=function(de){return new xn(Math.max(0,this.l-en*(arguments.length?de:1)),this.a,this.b)},Sn.rgb=function(){return ui(this.l,this.a,this.b)};function ui(de,Re,Qe){var vt=(de+16)/116,mt=vt+Re/500,Tt=vt-Qe/200;return mt=yt(mt)*Fn,vt=yt(vt)*Wn,Tt=yt(Tt)*ri,new Tr(Ir(3.2404542*mt-1.5371385*vt-.4985314*Tt),Ir(-.969266*mt+1.8760108*vt+.041556*Tt),Ir(.0556434*mt-.2040259*vt+1.0572252*Tt))}function gt(de,Re,Qe){return de>0?new Vt(Math.atan2(Qe,Re)*nt,Math.sqrt(Re*Re+Qe*Qe),de):new Vt(NaN,NaN,de)}function yt(de){return de>.206893034?de*de*de:(de-4/29)/7.787037}function Pr(de){return de>.008856?Math.pow(de,1/3):7.787037*de+4/29}function Ir(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,1/2.4)-.055))}g.rgb=Tr;function Tr(de,Re,Qe){return this instanceof Tr?(this.r=~~de,this.g=~~Re,void(this.b=~~Qe)):arguments.length<2?de instanceof Tr?new Tr(de.r,de.g,de.b):nn(\"\"+de,Tr,Ht):new Tr(de,Re,Qe)}function Mr(de){return new Tr(de>>16,de>>8&255,de&255)}function Lr(de){return Mr(de)+\"\"}var Ur=Tr.prototype=new gi;Ur.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var Re=this.r,Qe=this.g,vt=this.b,mt=30;return!Re&&!Qe&&!vt?new Tr(mt,mt,mt):(Re&&Re>4,vt=vt>>4|vt,mt=lr&240,mt=mt>>4|mt,Tt=lr&15,Tt=Tt<<4|Tt):de.length===7&&(vt=(lr&16711680)>>16,mt=(lr&65280)>>8,Tt=lr&255)),Re(vt,mt,Tt))}function vn(de,Re,Qe){var vt=Math.min(de/=255,Re/=255,Qe/=255),mt=Math.max(de,Re,Qe),Tt=mt-vt,Qt,Dt,lr=(mt+vt)/2;return Tt?(Dt=lr<.5?Tt/(mt+vt):Tt/(2-mt-vt),de==mt?Qt=(Re-Qe)/Tt+(Re0&&lr<1?0:Qt),new Zt(Qt,Dt,lr)}function gn(de,Re,Qe){de=kt(de),Re=kt(Re),Qe=kt(Qe);var vt=Pr((.4124564*de+.3575761*Re+.1804375*Qe)/Fn),mt=Pr((.2126729*de+.7151522*Re+.072175*Qe)/Wn),Tt=Pr((.0193339*de+.119192*Re+.9503041*Qe)/ri);return xn(116*mt-16,500*(vt-mt),200*(mt-Tt))}function kt(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function or(de){var Re=parseFloat(de);return de.charAt(de.length-1)===\"%\"?Math.round(Re*2.55):Re}var yr=g.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});yr.forEach(function(de,Re){yr.set(de,Mr(Re))});function on(de){return typeof de==\"function\"?de:function(){return de}}g.functor=on,g.xhr=An(F);function An(de){return function(Re,Qe,vt){return arguments.length===2&&typeof Qe==\"function\"&&(vt=Qe,Qe=null),Zn(Re,Qe,de,vt)}}function Zn(de,Re,Qe,vt){var mt={},Tt=g.dispatch(\"beforesend\",\"progress\",\"load\",\"error\"),Qt={},Dt=new XMLHttpRequest,lr=null;self.XDomainRequest&&!(\"withCredentials\"in Dt)&&/^(http(s)?:)?\\/\\//.test(de)&&(Dt=new XDomainRequest),\"onload\"in Dt?Dt.onload=Dt.onerror=Br:Dt.onreadystatechange=function(){Dt.readyState>3&&Br()};function Br(){var jr=Dt.status,Tn;if(!jr&&wn(Dt)||jr>=200&&jr<300||jr===304){try{Tn=Qe.call(mt,Dt)}catch(yn){Tt.error.call(mt,yn);return}Tt.load.call(mt,Tn)}else Tt.error.call(mt,Dt)}return Dt.onprogress=function(jr){var Tn=g.event;g.event=jr;try{Tt.progress.call(mt,Dt)}finally{g.event=Tn}},mt.header=function(jr,Tn){return jr=(jr+\"\").toLowerCase(),arguments.length<2?Qt[jr]:(Tn==null?delete Qt[jr]:Qt[jr]=Tn+\"\",mt)},mt.mimeType=function(jr){return arguments.length?(Re=jr==null?null:jr+\"\",mt):Re},mt.responseType=function(jr){return arguments.length?(lr=jr,mt):lr},mt.response=function(jr){return Qe=jr,mt},[\"get\",\"post\"].forEach(function(jr){mt[jr]=function(){return mt.send.apply(mt,[jr].concat(A(arguments)))}}),mt.send=function(jr,Tn,yn){if(arguments.length===2&&typeof Tn==\"function\"&&(yn=Tn,Tn=null),Dt.open(jr,de,!0),Re!=null&&!(\"accept\"in Qt)&&(Qt.accept=Re+\",*/*\"),Dt.setRequestHeader)for(var ti in Qt)Dt.setRequestHeader(ti,Qt[ti]);return Re!=null&&Dt.overrideMimeType&&Dt.overrideMimeType(Re),lr!=null&&(Dt.responseType=lr),yn!=null&&mt.on(\"error\",yn).on(\"load\",function(ai){yn(null,ai)}),Tt.beforesend.call(mt,Dt),Dt.send(Tn??null),mt},mt.abort=function(){return Dt.abort(),mt},g.rebind(mt,Tt,\"on\"),vt==null?mt:mt.get(Bn(vt))}function Bn(de){return de.length===1?function(Re,Qe){de(Re==null?Qe:null)}:de}function wn(de){var Re=de.responseType;return Re&&Re!==\"text\"?de.response:de.responseText}g.dsv=function(de,Re){var Qe=new RegExp('[\"'+de+`\n]`),vt=de.charCodeAt(0);function mt(Br,jr,Tn){arguments.length<3&&(Tn=jr,jr=null);var yn=Zn(Br,Re,jr==null?Tt:Qt(jr),Tn);return yn.row=function(ti){return arguments.length?yn.response((jr=ti)==null?Tt:Qt(ti)):jr},yn}function Tt(Br){return mt.parse(Br.responseText)}function Qt(Br){return function(jr){return mt.parse(jr.responseText,Br)}}mt.parse=function(Br,jr){var Tn;return mt.parseRows(Br,function(yn,ti){if(Tn)return Tn(yn,ti-1);var ai=function(En){for(var qn={},Jn=yn.length,ci=0;ci=ai)return yn;if(ci)return ci=!1,Tn;var ta=En;if(Br.charCodeAt(ta)===34){for(var oa=ta;oa++24?(isFinite(Re)&&(clearTimeout(Ta),Ta=setTimeout(to,Re)),pi=0):(pi=1,Sa(to))}g.timer.flush=function(){yo(),Xa()};function yo(){for(var de=Date.now(),Re=Dn;Re;)de>=Re.t&&Re.c(de-Re.t)&&(Re.c=null),Re=Re.n;return de}function Xa(){for(var de,Re=Dn,Qe=1/0;Re;)Re.c?(Re.t=0;--Dt)En.push(mt[Br[Tn[Dt]][2]]);for(Dt=+ti;Dt1&&bt(de[Qe[vt-2]],de[Qe[vt-1]],de[mt])<=0;)--vt;Qe[vt++]=mt}return Qe.slice(0,vt)}function Ko(de,Re){return de[0]-Re[0]||de[1]-Re[1]}g.geom.polygon=function(de){return G(de,gs),de};var gs=g.geom.polygon.prototype=[];gs.area=function(){for(var de=-1,Re=this.length,Qe,vt=this[Re-1],mt=0;++deKe)Dt=Dt.L;else if(Qt=Re-Eo(Dt,Qe),Qt>Ke){if(!Dt.R){vt=Dt;break}Dt=Dt.R}else{Tt>-Ke?(vt=Dt.P,mt=Dt):Qt>-Ke?(vt=Dt,mt=Dt.N):vt=mt=Dt;break}var lr=fs(de);if(hs.insert(vt,lr),!(!vt&&!mt)){if(vt===mt){Uo(vt),mt=fs(vt.site),hs.insert(lr,mt),lr.edge=mt.edge=$l(vt.site,lr.site),la(vt),la(mt);return}if(!mt){lr.edge=$l(vt.site,lr.site);return}Uo(vt),Uo(mt);var Br=vt.site,jr=Br.x,Tn=Br.y,yn=de.x-jr,ti=de.y-Tn,ai=mt.site,En=ai.x-jr,qn=ai.y-Tn,Jn=2*(yn*qn-ti*En),ci=yn*yn+ti*ti,oi=En*En+qn*qn,Hn={x:(qn*ci-ti*oi)/Jn+jr,y:(yn*oi-En*ci)/Jn+Tn};Tl(mt.edge,Br,ai,Hn),lr.edge=$l(Br,de,null,Hn),mt.edge=$l(de,ai,null,Hn),la(vt),la(mt)}}function Xs(de,Re){var Qe=de.site,vt=Qe.x,mt=Qe.y,Tt=mt-Re;if(!Tt)return vt;var Qt=de.P;if(!Qt)return-1/0;Qe=Qt.site;var Dt=Qe.x,lr=Qe.y,Br=lr-Re;if(!Br)return Dt;var jr=Dt-vt,Tn=1/Tt-1/Br,yn=jr/Br;return Tn?(-yn+Math.sqrt(yn*yn-2*Tn*(jr*jr/(-2*Br)-lr+Br/2+mt-Tt/2)))/Tn+vt:(vt+Dt)/2}function Eo(de,Re){var Qe=de.N;if(Qe)return Xs(Qe,Re);var vt=de.site;return vt.y===Re?vt.x:1/0}function Ys(de){this.site=de,this.edges=[]}Ys.prototype.prepare=function(){for(var de=this.edges,Re=de.length,Qe;Re--;)Qe=de[Re].edge,(!Qe.b||!Qe.a)&&de.splice(Re,1);return de.sort(hl),de.length};function As(de){for(var Re=de[0][0],Qe=de[1][0],vt=de[0][1],mt=de[1][1],Tt,Qt,Dt,lr,Br=ns,jr=Br.length,Tn,yn,ti,ai,En,qn;jr--;)if(Tn=Br[jr],!(!Tn||!Tn.prepare()))for(ti=Tn.edges,ai=ti.length,yn=0;ynKe||l(lr-Qt)>Ke)&&(ti.splice(yn,0,new Vu(Ku(Tn.site,qn,l(Dt-Re)Ke?{x:Re,y:l(Tt-Re)Ke?{x:l(Qt-mt)Ke?{x:Qe,y:l(Tt-Qe)Ke?{x:l(Qt-vt)=-je)){var yn=lr*lr+Br*Br,ti=jr*jr+qn*qn,ai=(qn*yn-Br*ti)/Tn,En=(lr*ti-jr*yn)/Tn,qn=En+Dt,Jn=Vs.pop()||new wl;Jn.arc=de,Jn.site=mt,Jn.x=ai+Qt,Jn.y=qn+Math.sqrt(ai*ai+En*En),Jn.cy=qn,de.circle=Jn;for(var ci=null,oi=Ls._;oi;)if(Jn.y0)){if(En/=ti,ti<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=Qe-Dt,!(!ti&&En<0)){if(En/=ti,ti<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ti>0){if(En0)){if(En/=ai,ai<0){if(En0){if(En>yn)return;En>Tn&&(Tn=En)}if(En=vt-lr,!(!ai&&En<0)){if(En/=ai,ai<0){if(En>yn)return;En>Tn&&(Tn=En)}else if(ai>0){if(En0&&(mt.a={x:Dt+Tn*ti,y:lr+Tn*ai}),yn<1&&(mt.b={x:Dt+yn*ti,y:lr+yn*ai}),mt}}}}}}function Ps(de){for(var Re=Yo,Qe=vo(de[0][0],de[0][1],de[1][0],de[1][1]),vt=Re.length,mt;vt--;)mt=Re[vt],(!ls(mt,de)||!Qe(mt)||l(mt.a.x-mt.b.x)=Tt)return;if(jr>yn){if(!vt)vt={x:ai,y:Qt};else if(vt.y>=Dt)return;Qe={x:ai,y:Dt}}else{if(!vt)vt={x:ai,y:Dt};else if(vt.y1)if(jr>yn){if(!vt)vt={x:(Qt-Jn)/qn,y:Qt};else if(vt.y>=Dt)return;Qe={x:(Dt-Jn)/qn,y:Dt}}else{if(!vt)vt={x:(Dt-Jn)/qn,y:Dt};else if(vt.y=Tt)return;Qe={x:Tt,y:qn*Tt+Jn}}else{if(!vt)vt={x:Tt,y:qn*Tt+Jn};else if(vt.x=jr&&Jn.x<=yn&&Jn.y>=Tn&&Jn.y<=ti?[[jr,ti],[yn,ti],[yn,Tn],[jr,Tn]]:[];ci.point=lr[En]}),Br}function Dt(lr){return lr.map(function(Br,jr){return{x:Math.round(vt(Br,jr)/Ke)*Ke,y:Math.round(mt(Br,jr)/Ke)*Ke,i:jr}})}return Qt.links=function(lr){return Ju(Dt(lr)).edges.filter(function(Br){return Br.l&&Br.r}).map(function(Br){return{source:lr[Br.l.i],target:lr[Br.r.i]}})},Qt.triangles=function(lr){var Br=[];return Ju(Dt(lr)).cells.forEach(function(jr,Tn){for(var yn=jr.site,ti=jr.edges.sort(hl),ai=-1,En=ti.length,qn,Jn,ci=ti[En-1].edge,oi=ci.l===yn?ci.r:ci.l;++aioi&&(oi=jr.x),jr.y>Hn&&(Hn=jr.y),ti.push(jr.x),ai.push(jr.y);else for(En=0;Enoi&&(oi=ta),oa>Hn&&(Hn=oa),ti.push(ta),ai.push(oa)}var _a=oi-Jn,La=Hn-ci;_a>La?Hn=ci+_a:oi=Jn+La;function io(uo,Jo,ol,tl,ml,ua,wo,ys){if(!(isNaN(ol)||isNaN(tl)))if(uo.leaf){var Ms=uo.x,xl=uo.y;if(Ms!=null)if(l(Ms-ol)+l(xl-tl)<.01)oo(uo,Jo,ol,tl,ml,ua,wo,ys);else{var Ul=uo.point;uo.x=uo.y=uo.point=null,oo(uo,Ul,Ms,xl,ml,ua,wo,ys),oo(uo,Jo,ol,tl,ml,ua,wo,ys)}else uo.x=ol,uo.y=tl,uo.point=Jo}else oo(uo,Jo,ol,tl,ml,ua,wo,ys)}function oo(uo,Jo,ol,tl,ml,ua,wo,ys){var Ms=(ml+wo)*.5,xl=(ua+ys)*.5,Ul=ol>=Ms,gu=tl>=xl,Fl=gu<<1|Ul;uo.leaf=!1,uo=uo.nodes[Fl]||(uo.nodes[Fl]=Ql()),Ul?ml=Ms:wo=Ms,gu?ua=xl:ys=xl,io(uo,Jo,ol,tl,ml,ua,wo,ys)}var Qo=Ql();if(Qo.add=function(uo){io(Qo,uo,+Tn(uo,++En),+yn(uo,En),Jn,ci,oi,Hn)},Qo.visit=function(uo){Al(uo,Qo,Jn,ci,oi,Hn)},Qo.find=function(uo){return oc(Qo,uo[0],uo[1],Jn,ci,oi,Hn)},En=-1,Re==null){for(;++EnTt||yn>Qt||ti=ta,La=Qe>=oa,io=La<<1|_a,oo=io+4;ioQe&&(Tt=Re.slice(Qe,Tt),Dt[Qt]?Dt[Qt]+=Tt:Dt[++Qt]=Tt),(vt=vt[0])===(mt=mt[0])?Dt[Qt]?Dt[Qt]+=mt:Dt[++Qt]=mt:(Dt[++Qt]=null,lr.push({i:Qt,x:Ml(vt,mt)})),Qe=sc.lastIndex;return Qe=0&&!(vt=g.interpolators[Qe](de,Re)););return vt}g.interpolators=[function(de,Re){var Qe=typeof Re;return(Qe===\"string\"?yr.has(Re.toLowerCase())||/^(#|rgb\\(|hsl\\()/i.test(Re)?gc:Zs:Re instanceof gi?gc:Array.isArray(Re)?$u:Qe===\"object\"&&isNaN(Re)?nl:Ml)(de,Re)}],g.interpolateArray=$u;function $u(de,Re){var Qe=[],vt=[],mt=de.length,Tt=Re.length,Qt=Math.min(de.length,Re.length),Dt;for(Dt=0;Dt=0?de.slice(0,Re):de,vt=Re>=0?de.slice(Re+1):\"in\";return Qe=Nh.get(Qe)||ll,vt=ds.get(vt)||F,Sh(vt(Qe.apply(null,x.call(arguments,1))))};function Sh(de){return function(Re){return Re<=0?0:Re>=1?1:de(Re)}}function Bs(de){return function(Re){return 1-de(1-Re)}}function Vo(de){return function(Re){return .5*(Re<.5?de(2*Re):2-de(2-2*Re))}}function rf(de){return de*de}function Qu(de){return de*de*de}function pu(de){if(de<=0)return 0;if(de>=1)return 1;var Re=de*de,Qe=Re*de;return 4*(de<.5?Qe:3*(de-Re)+Qe-.75)}function Df(de){return function(Re){return Math.pow(Re,de)}}function Lc(de){return 1-Math.cos(de*we)}function nf(de){return Math.pow(2,10*(de-1))}function Vl(de){return 1-Math.sqrt(1-de*de)}function Jf(de,Re){var Qe;return arguments.length<2&&(Re=.45),arguments.length?Qe=Re/He*Math.asin(1/de):(de=1,Qe=Re/4),function(vt){return 1+de*Math.pow(2,-10*vt)*Math.sin((vt-Qe)*He/Re)}}function zf(de){return de||(de=1.70158),function(Re){return Re*Re*((de+1)*Re-de)}}function wf(de){return de<1/2.75?7.5625*de*de:de<2/2.75?7.5625*(de-=1.5/2.75)*de+.75:de<2.5/2.75?7.5625*(de-=2.25/2.75)*de+.9375:7.5625*(de-=2.625/2.75)*de+.984375}g.interpolateHcl=Gc;function Gc(de,Re){de=g.hcl(de),Re=g.hcl(Re);var Qe=de.h,vt=de.c,mt=de.l,Tt=Re.h-Qe,Qt=Re.c-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.c:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return $r(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateHsl=Ff;function Ff(de,Re){de=g.hsl(de),Re=g.hsl(Re);var Qe=de.h,vt=de.s,mt=de.l,Tt=Re.h-Qe,Qt=Re.s-vt,Dt=Re.l-mt;return isNaN(Qt)&&(Qt=0,vt=isNaN(vt)?Re.s:vt),isNaN(Tt)?(Tt=0,Qe=isNaN(Qe)?Re.h:Qe):Tt>180?Tt-=360:Tt<-180&&(Tt+=360),function(lr){return Ht(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateLab=$f;function $f(de,Re){de=g.lab(de),Re=g.lab(Re);var Qe=de.l,vt=de.a,mt=de.b,Tt=Re.l-Qe,Qt=Re.a-vt,Dt=Re.b-mt;return function(lr){return ui(Qe+Tt*lr,vt+Qt*lr,mt+Dt*lr)+\"\"}}g.interpolateRound=ec;function ec(de,Re){return Re-=de,function(Qe){return Math.round(de+Re*Qe)}}g.transform=function(de){var Re=S.createElementNS(g.ns.prefix.svg,\"g\");return(g.transform=function(Qe){if(Qe!=null){Re.setAttribute(\"transform\",Qe);var vt=Re.transform.baseVal.consolidate()}return new Tf(vt?vt.matrix:cf)})(de)};function Tf(de){var Re=[de.a,de.b],Qe=[de.c,de.d],vt=Wc(Re),mt=Pc(Re,Qe),Tt=Wc(Pu(Qe,Re,-mt))||0;Re[0]*Qe[1]180?Re+=360:Re-de>180&&(de+=360),vt.push({i:Qe.push(Ic(Qe)+\"rotate(\",null,\")\")-2,x:Ml(de,Re)})):Re&&Qe.push(Ic(Qe)+\"rotate(\"+Re+\")\")}function Eh(de,Re,Qe,vt){de!==Re?vt.push({i:Qe.push(Ic(Qe)+\"skewX(\",null,\")\")-2,x:Ml(de,Re)}):Re&&Qe.push(Ic(Qe)+\"skewX(\"+Re+\")\")}function Qf(de,Re,Qe,vt){if(de[0]!==Re[0]||de[1]!==Re[1]){var mt=Qe.push(Ic(Qe)+\"scale(\",null,\",\",null,\")\");vt.push({i:mt-4,x:Ml(de[0],Re[0])},{i:mt-2,x:Ml(de[1],Re[1])})}else(Re[0]!==1||Re[1]!==1)&&Qe.push(Ic(Qe)+\"scale(\"+Re+\")\")}function af(de,Re){var Qe=[],vt=[];return de=g.transform(de),Re=g.transform(Re),Ks(de.translate,Re.translate,Qe,vt),Of(de.rotate,Re.rotate,Qe,vt),Eh(de.skew,Re.skew,Qe,vt),Qf(de.scale,Re.scale,Qe,vt),de=Re=null,function(mt){for(var Tt=-1,Qt=vt.length,Dt;++Tt0?Tt=Hn:(Qe.c=null,Qe.t=NaN,Qe=null,Re.end({type:\"end\",alpha:Tt=0})):Hn>0&&(Re.start({type:\"start\",alpha:Tt=Hn}),Qe=qa(de.tick)),de):Tt},de.start=function(){var Hn,ta=ti.length,oa=ai.length,_a=vt[0],La=vt[1],io,oo;for(Hn=0;Hn=0;)Tt.push(jr=Br[lr]),jr.parent=Dt,jr.depth=Dt.depth+1;Qe&&(Dt.value=0),Dt.children=Br}else Qe&&(Dt.value=+Qe.call(vt,Dt,Dt.depth)||0),delete Dt.children;return lc(mt,function(Tn){var yn,ti;de&&(yn=Tn.children)&&yn.sort(de),Qe&&(ti=Tn.parent)&&(ti.value+=Tn.value)}),Qt}return vt.sort=function(mt){return arguments.length?(de=mt,vt):de},vt.children=function(mt){return arguments.length?(Re=mt,vt):Re},vt.value=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt.revalue=function(mt){return Qe&&(_c(mt,function(Tt){Tt.children&&(Tt.value=0)}),lc(mt,function(Tt){var Qt;Tt.children||(Tt.value=+Qe.call(vt,Tt,Tt.depth)||0),(Qt=Tt.parent)&&(Qt.value+=Tt.value)})),mt},vt};function Hu(de,Re){return g.rebind(de,Re,\"sort\",\"children\",\"value\"),de.nodes=de,de.links=Du,de}function _c(de,Re){for(var Qe=[de];(de=Qe.pop())!=null;)if(Re(de),(mt=de.children)&&(vt=mt.length))for(var vt,mt;--vt>=0;)Qe.push(mt[vt])}function lc(de,Re){for(var Qe=[de],vt=[];(de=Qe.pop())!=null;)if(vt.push(de),(Qt=de.children)&&(Tt=Qt.length))for(var mt=-1,Tt,Qt;++mtmt&&(mt=Dt),vt.push(Dt)}for(Qt=0;Qtvt&&(Qe=Re,vt=mt);return Qe}function ul(de){return de.reduce(sf,0)}function sf(de,Re){return de+Re[1]}g.layout.histogram=function(){var de=!0,Re=Number,Qe=hf,vt=xc;function mt(Tt,yn){for(var Dt=[],lr=Tt.map(Re,this),Br=Qe.call(this,lr,yn),jr=vt.call(this,Br,lr,yn),Tn,yn=-1,ti=lr.length,ai=jr.length-1,En=de?1:1/ti,qn;++yn0)for(yn=-1;++yn=Br[0]&&qn<=Br[1]&&(Tn=Dt[g.bisect(jr,qn,1,ai)-1],Tn.y+=En,Tn.push(Tt[yn]));return Dt}return mt.value=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.range=function(Tt){return arguments.length?(Qe=on(Tt),mt):Qe},mt.bins=function(Tt){return arguments.length?(vt=typeof Tt==\"number\"?function(Qt){return Gu(Qt,Tt)}:on(Tt),mt):vt},mt.frequency=function(Tt){return arguments.length?(de=!!Tt,mt):de},mt};function xc(de,Re){return Gu(de,Math.ceil(Math.log(Re.length)/Math.LN2+1))}function Gu(de,Re){for(var Qe=-1,vt=+de[0],mt=(de[1]-vt)/Re,Tt=[];++Qe<=Re;)Tt[Qe]=mt*Qe+vt;return Tt}function hf(de){return[g.min(de),g.max(de)]}g.layout.pack=function(){var de=g.layout.hierarchy().sort(uc),Re=0,Qe=[1,1],vt;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br=Qe[0],jr=Qe[1],Tn=vt==null?Math.sqrt:typeof vt==\"function\"?vt:function(){return vt};if(lr.x=lr.y=0,lc(lr,function(ti){ti.r=+Tn(ti.value)}),lc(lr,Uf),Re){var yn=Re*(vt?1:Math.max(2*lr.r/Br,2*lr.r/jr))/2;lc(lr,function(ti){ti.r+=yn}),lc(lr,Uf),lc(lr,function(ti){ti.r-=yn})}return cc(lr,Br/2,jr/2,vt?1:1/Math.max(2*lr.r/Br,2*lr.r/jr)),Dt}return mt.size=function(Tt){return arguments.length?(Qe=Tt,mt):Qe},mt.radius=function(Tt){return arguments.length?(vt=Tt==null||typeof Tt==\"function\"?Tt:+Tt,mt):vt},mt.padding=function(Tt){return arguments.length?(Re=+Tt,mt):Re},Hu(mt,de)};function uc(de,Re){return de.value-Re.value}function Zc(de,Re){var Qe=de._pack_next;de._pack_next=Re,Re._pack_prev=de,Re._pack_next=Qe,Qe._pack_prev=Re}function Nf(de,Re){de._pack_next=Re,Re._pack_prev=de}function Xl(de,Re){var Qe=Re.x-de.x,vt=Re.y-de.y,mt=de.r+Re.r;return .999*mt*mt>Qe*Qe+vt*vt}function Uf(de){if(!(Re=de.children)||!(yn=Re.length))return;var Re,Qe=1/0,vt=-1/0,mt=1/0,Tt=-1/0,Qt,Dt,lr,Br,jr,Tn,yn;function ti(Hn){Qe=Math.min(Hn.x-Hn.r,Qe),vt=Math.max(Hn.x+Hn.r,vt),mt=Math.min(Hn.y-Hn.r,mt),Tt=Math.max(Hn.y+Hn.r,Tt)}if(Re.forEach(Wu),Qt=Re[0],Qt.x=-Qt.r,Qt.y=0,ti(Qt),yn>1&&(Dt=Re[1],Dt.x=Dt.r,Dt.y=0,ti(Dt),yn>2))for(lr=Re[2],zl(Qt,Dt,lr),ti(lr),Zc(Qt,lr),Qt._pack_prev=lr,Zc(lr,Dt),Dt=Qt._pack_next,Br=3;Brqn.x&&(qn=ta),ta.depth>Jn.depth&&(Jn=ta)});var ci=Re(En,qn)/2-En.x,oi=Qe[0]/(qn.x+Re(qn,En)/2+ci),Hn=Qe[1]/(Jn.depth||1);_c(ti,function(ta){ta.x=(ta.x+ci)*oi,ta.y=ta.depth*Hn})}return yn}function Tt(jr){for(var Tn={A:null,children:[jr]},yn=[Tn],ti;(ti=yn.pop())!=null;)for(var ai=ti.children,En,qn=0,Jn=ai.length;qn0&&(rc(Yt(En,jr,yn),jr,ta),Jn+=ta,ci+=ta),oi+=En.m,Jn+=ti.m,Hn+=qn.m,ci+=ai.m;En&&!Dc(ai)&&(ai.t=En,ai.m+=oi-ci),ti&&!fc(qn)&&(qn.t=ti,qn.m+=Jn-Hn,yn=jr)}return yn}function Br(jr){jr.x*=Qe[0],jr.y=jr.depth*Qe[1]}return mt.separation=function(jr){return arguments.length?(Re=jr,mt):Re},mt.size=function(jr){return arguments.length?(vt=(Qe=jr)==null?Br:null,mt):vt?null:Qe},mt.nodeSize=function(jr){return arguments.length?(vt=(Qe=jr)==null?null:Br,mt):vt?Qe:null},Hu(mt,de)};function uu(de,Re){return de.parent==Re.parent?1:2}function fc(de){var Re=de.children;return Re.length?Re[0]:de.t}function Dc(de){var Re=de.children,Qe;return(Qe=Re.length)?Re[Qe-1]:de.t}function rc(de,Re,Qe){var vt=Qe/(Re.i-de.i);Re.c-=vt,Re.s+=Qe,de.c+=vt,Re.z+=Qe,Re.m+=Qe}function Yc(de){for(var Re=0,Qe=0,vt=de.children,mt=vt.length,Tt;--mt>=0;)Tt=vt[mt],Tt.z+=Re,Tt.m+=Re,Re+=Tt.s+(Qe+=Tt.c)}function Yt(de,Re,Qe){return de.a.parent===Re.parent?de.a:Qe}g.layout.cluster=function(){var de=g.layout.hierarchy().sort(null).value(null),Re=uu,Qe=[1,1],vt=!1;function mt(Tt,Qt){var Dt=de.call(this,Tt,Qt),lr=Dt[0],Br,jr=0;lc(lr,function(En){var qn=En.children;qn&&qn.length?(En.x=tn(qn),En.y=dr(qn)):(En.x=Br?jr+=Re(En,Br):0,En.y=0,Br=En)});var Tn=Wr(lr),yn=Cn(lr),ti=Tn.x-Re(Tn,yn)/2,ai=yn.x+Re(yn,Tn)/2;return lc(lr,vt?function(En){En.x=(En.x-lr.x)*Qe[0],En.y=(lr.y-En.y)*Qe[1]}:function(En){En.x=(En.x-ti)/(ai-ti)*Qe[0],En.y=(1-(lr.y?En.y/lr.y:1))*Qe[1]}),Dt}return mt.separation=function(Tt){return arguments.length?(Re=Tt,mt):Re},mt.size=function(Tt){return arguments.length?(vt=(Qe=Tt)==null,mt):vt?null:Qe},mt.nodeSize=function(Tt){return arguments.length?(vt=(Qe=Tt)!=null,mt):vt?Qe:null},Hu(mt,de)};function dr(de){return 1+g.max(de,function(Re){return Re.y})}function tn(de){return de.reduce(function(Re,Qe){return Re+Qe.x},0)/de.length}function Wr(de){var Re=de.children;return Re&&Re.length?Wr(Re[0]):de}function Cn(de){var Re=de.children,Qe;return Re&&(Qe=Re.length)?Cn(Re[Qe-1]):de}g.layout.treemap=function(){var de=g.layout.hierarchy(),Re=Math.round,Qe=[1,1],vt=null,mt=si,Tt=!1,Qt,Dt=\"squarify\",lr=.5*(1+Math.sqrt(5));function Br(En,qn){for(var Jn=-1,ci=En.length,oi,Hn;++Jn0;)ci.push(Hn=oi[La-1]),ci.area+=Hn.area,Dt!==\"squarify\"||(oa=yn(ci,_a))<=ta?(oi.pop(),ta=oa):(ci.area-=ci.pop().area,ti(ci,_a,Jn,!1),_a=Math.min(Jn.dx,Jn.dy),ci.length=ci.area=0,ta=1/0);ci.length&&(ti(ci,_a,Jn,!0),ci.length=ci.area=0),qn.forEach(jr)}}function Tn(En){var qn=En.children;if(qn&&qn.length){var Jn=mt(En),ci=qn.slice(),oi,Hn=[];for(Br(ci,Jn.dx*Jn.dy/En.value),Hn.area=0;oi=ci.pop();)Hn.push(oi),Hn.area+=oi.area,oi.z!=null&&(ti(Hn,oi.z?Jn.dx:Jn.dy,Jn,!ci.length),Hn.length=Hn.area=0);qn.forEach(Tn)}}function yn(En,qn){for(var Jn=En.area,ci,oi=0,Hn=1/0,ta=-1,oa=En.length;++taoi&&(oi=ci));return Jn*=Jn,qn*=qn,Jn?Math.max(qn*oi*lr/Jn,Jn/(qn*Hn*lr)):1/0}function ti(En,qn,Jn,ci){var oi=-1,Hn=En.length,ta=Jn.x,oa=Jn.y,_a=qn?Re(En.area/qn):0,La;if(qn==Jn.dx){for((ci||_a>Jn.dy)&&(_a=Jn.dy);++oiJn.dx)&&(_a=Jn.dx);++oi1);return de+Re*vt*Math.sqrt(-2*Math.log(Tt)/Tt)}},logNormal:function(){var de=g.random.normal.apply(g,arguments);return function(){return Math.exp(de())}},bates:function(de){var Re=g.random.irwinHall(de);return function(){return Re()/de}},irwinHall:function(de){return function(){for(var Re=0,Qe=0;Qe2?di:aa,Br=vt?Iu:lh;return mt=lr(de,Re,Br,Qe),Tt=lr(Re,de,Br,jl),Dt}function Dt(lr){return mt(lr)}return Dt.invert=function(lr){return Tt(lr)},Dt.domain=function(lr){return arguments.length?(de=lr.map(Number),Qt()):de},Dt.range=function(lr){return arguments.length?(Re=lr,Qt()):Re},Dt.rangeRound=function(lr){return Dt.range(lr).interpolate(ec)},Dt.clamp=function(lr){return arguments.length?(vt=lr,Qt()):vt},Dt.interpolate=function(lr){return arguments.length?(Qe=lr,Qt()):Qe},Dt.ticks=function(lr){return Ao(de,lr)},Dt.tickFormat=function(lr,Br){return d3_scale_linearTickFormat(de,lr,Br)},Dt.nice=function(lr){return co(de,lr),Qt()},Dt.copy=function(){return wa(de,Re,Qe,vt)},Qt()}function po(de,Re){return g.rebind(de,Re,\"range\",\"rangeRound\",\"interpolate\",\"clamp\")}function co(de,Re){return bi(de,zi(mo(de,Re)[2])),bi(de,zi(mo(de,Re)[2])),de}function mo(de,Re){Re==null&&(Re=10);var Qe=Di(de),vt=Qe[1]-Qe[0],mt=Math.pow(10,Math.floor(Math.log(vt/Re)/Math.LN10)),Tt=Re/vt*mt;return Tt<=.15?mt*=10:Tt<=.35?mt*=5:Tt<=.75&&(mt*=2),Qe[0]=Math.ceil(Qe[0]/mt)*mt,Qe[1]=Math.floor(Qe[1]/mt)*mt+mt*.5,Qe[2]=mt,Qe}function Ao(de,Re){return g.range.apply(g,mo(de,Re))}var xa={s:1,g:1,p:1,r:1,e:1};function Qi(de){return-Math.floor(Math.log(de)/Math.LN10+.01)}function Lo(de,Re){var Qe=Qi(Re[2]);return de in xa?Math.abs(Qe-Qi(Math.max(l(Re[0]),l(Re[1]))))+ +(de!==\"e\"):Qe-(de===\"%\")*2}g.scale.log=function(){return as(g.scale.linear().domain([0,1]),10,!0,[1,10])};function as(de,Re,Qe,vt){function mt(Dt){return(Qe?Math.log(Dt<0?0:Dt):-Math.log(Dt>0?0:-Dt))/Math.log(Re)}function Tt(Dt){return Qe?Math.pow(Re,Dt):-Math.pow(Re,-Dt)}function Qt(Dt){return de(mt(Dt))}return Qt.invert=function(Dt){return Tt(de.invert(Dt))},Qt.domain=function(Dt){return arguments.length?(Qe=Dt[0]>=0,de.domain((vt=Dt.map(Number)).map(mt)),Qt):vt},Qt.base=function(Dt){return arguments.length?(Re=+Dt,de.domain(vt.map(mt)),Qt):Re},Qt.nice=function(){var Dt=bi(vt.map(mt),Qe?Math:Ds);return de.domain(Dt),vt=Dt.map(Tt),Qt},Qt.ticks=function(){var Dt=Di(vt),lr=[],Br=Dt[0],jr=Dt[1],Tn=Math.floor(mt(Br)),yn=Math.ceil(mt(jr)),ti=Re%1?2:Re;if(isFinite(yn-Tn)){if(Qe){for(;Tn0;ai--)lr.push(Tt(Tn)*ai);for(Tn=0;lr[Tn]jr;yn--);lr=lr.slice(Tn,yn)}return lr},Qt.copy=function(){return as(de.copy(),Re,Qe,vt)},po(Qt,de)}var Ds={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};g.scale.pow=function(){return il(g.scale.linear(),1,[0,1])};function il(de,Re,Qe){var vt=Ns(Re),mt=Ns(1/Re);function Tt(Qt){return de(vt(Qt))}return Tt.invert=function(Qt){return mt(de.invert(Qt))},Tt.domain=function(Qt){return arguments.length?(de.domain((Qe=Qt.map(Number)).map(vt)),Tt):Qe},Tt.ticks=function(Qt){return Ao(Qe,Qt)},Tt.tickFormat=function(Qt,Dt){return d3_scale_linearTickFormat(Qe,Qt,Dt)},Tt.nice=function(Qt){return Tt.domain(co(Qe,Qt))},Tt.exponent=function(Qt){return arguments.length?(vt=Ns(Re=Qt),mt=Ns(1/Re),de.domain(Qe.map(vt)),Tt):Re},Tt.copy=function(){return il(de.copy(),Re,Qe)},po(Tt,de)}function Ns(de){return function(Re){return Re<0?-Math.pow(-Re,de):Math.pow(Re,de)}}g.scale.sqrt=function(){return g.scale.pow().exponent(.5)},g.scale.ordinal=function(){return el([],{t:\"range\",a:[[]]})};function el(de,Re){var Qe,vt,mt;function Tt(Dt){return vt[((Qe.get(Dt)||(Re.t===\"range\"?Qe.set(Dt,de.push(Dt)):NaN))-1)%vt.length]}function Qt(Dt,lr){return g.range(de.length).map(function(Br){return Dt+lr*Br})}return Tt.domain=function(Dt){if(!arguments.length)return de;de=[],Qe=new M;for(var lr=-1,Br=Dt.length,jr;++lr0?Qe[Tt-1]:de[0],Ttyn?0:1;if(jr=Ee)return lr(jr,ai)+(Br?lr(Br,1-ai):\"\")+\"Z\";var En,qn,Jn,ci,oi=0,Hn=0,ta,oa,_a,La,io,oo,Qo,uo,Jo=[];if((ci=(+Qt.apply(this,arguments)||0)/2)&&(Jn=vt===zu?Math.sqrt(Br*Br+jr*jr):+vt.apply(this,arguments),ai||(Hn*=-1),jr&&(Hn=Nt(Jn/jr*Math.sin(ci))),Br&&(oi=Nt(Jn/Br*Math.sin(ci)))),jr){ta=jr*Math.cos(Tn+Hn),oa=jr*Math.sin(Tn+Hn),_a=jr*Math.cos(yn-Hn),La=jr*Math.sin(yn-Hn);var ol=Math.abs(yn-Tn-2*Hn)<=Se?0:1;if(Hn&&wc(ta,oa,_a,La)===ai^ol){var tl=(Tn+yn)/2;ta=jr*Math.cos(tl),oa=jr*Math.sin(tl),_a=La=null}}else ta=oa=0;if(Br){io=Br*Math.cos(yn-oi),oo=Br*Math.sin(yn-oi),Qo=Br*Math.cos(Tn+oi),uo=Br*Math.sin(Tn+oi);var ml=Math.abs(Tn-yn+2*oi)<=Se?0:1;if(oi&&wc(io,oo,Qo,uo)===1-ai^ml){var ua=(Tn+yn)/2;io=Br*Math.cos(ua),oo=Br*Math.sin(ua),Qo=uo=null}}else io=oo=0;if(ti>Ke&&(En=Math.min(Math.abs(jr-Br)/2,+Qe.apply(this,arguments)))>.001){qn=Br0?0:1}function bo(de,Re,Qe,vt,mt){var Tt=de[0]-Re[0],Qt=de[1]-Re[1],Dt=(mt?vt:-vt)/Math.sqrt(Tt*Tt+Qt*Qt),lr=Dt*Qt,Br=-Dt*Tt,jr=de[0]+lr,Tn=de[1]+Br,yn=Re[0]+lr,ti=Re[1]+Br,ai=(jr+yn)/2,En=(Tn+ti)/2,qn=yn-jr,Jn=ti-Tn,ci=qn*qn+Jn*Jn,oi=Qe-vt,Hn=jr*ti-yn*Tn,ta=(Jn<0?-1:1)*Math.sqrt(Math.max(0,oi*oi*ci-Hn*Hn)),oa=(Hn*Jn-qn*ta)/ci,_a=(-Hn*qn-Jn*ta)/ci,La=(Hn*Jn+qn*ta)/ci,io=(-Hn*qn+Jn*ta)/ci,oo=oa-ai,Qo=_a-En,uo=La-ai,Jo=io-En;return oo*oo+Qo*Qo>uo*uo+Jo*Jo&&(oa=La,_a=io),[[oa-lr,_a-Br],[oa*Qe/oi,_a*Qe/oi]]}function Wo(){return!0}function Fc(de){var Re=Go,Qe=pa,vt=Wo,mt=dc,Tt=mt.key,Qt=.7;function Dt(lr){var Br=[],jr=[],Tn=-1,yn=lr.length,ti,ai=on(Re),En=on(Qe);function qn(){Br.push(\"M\",mt(de(jr),Qt))}for(;++Tn1?de.join(\"L\"):de+\"Z\"}function Ne(de){return de.join(\"L\")+\"Z\"}function R(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],\",\",vt[1]];++Re1&&mt.push(\"H\",vt[0]),mt.join(\"\")}function ne(de){for(var Re=0,Qe=de.length,vt=de[0],mt=[vt[0],\",\",vt[1]];++Re1){Dt=Re[1],Tt=de[lr],lr++,vt+=\"C\"+(mt[0]+Qt[0])+\",\"+(mt[1]+Qt[1])+\",\"+(Tt[0]-Dt[0])+\",\"+(Tt[1]-Dt[1])+\",\"+Tt[0]+\",\"+Tt[1];for(var Br=2;Br9&&(Tt=Qe*3/Math.sqrt(Tt),Qt[Dt]=Tt*vt,Qt[Dt+1]=Tt*mt));for(Dt=-1;++Dt<=lr;)Tt=(de[Math.min(lr,Dt+1)][0]-de[Math.max(0,Dt-1)][0])/(6*(1+Qt[Dt]*Qt[Dt])),Re.push([Tt||0,Qt[Dt]*Tt||0]);return Re}function rr(de){return de.length<3?dc(de):de[0]+wt(de,It(de))}g.svg.line.radial=function(){var de=Fc(sr);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function sr(de){for(var Re,Qe=-1,vt=de.length,mt,Tt;++QeSe)+\",1 \"+Tn}function Br(jr,Tn,yn,ti){return\"Q 0,0 \"+ti}return Tt.radius=function(jr){return arguments.length?(Qe=on(jr),Tt):Qe},Tt.source=function(jr){return arguments.length?(de=on(jr),Tt):de},Tt.target=function(jr){return arguments.length?(Re=on(jr),Tt):Re},Tt.startAngle=function(jr){return arguments.length?(vt=on(jr),Tt):vt},Tt.endAngle=function(jr){return arguments.length?(mt=on(jr),Tt):mt},Tt};function _n(de){return de.radius}g.svg.diagonal=function(){var de=kr,Re=Yr,Qe=Mn;function vt(mt,Tt){var Qt=de.call(this,mt,Tt),Dt=Re.call(this,mt,Tt),lr=(Qt.y+Dt.y)/2,Br=[Qt,{x:Qt.x,y:lr},{x:Dt.x,y:lr},Dt];return Br=Br.map(Qe),\"M\"+Br[0]+\"C\"+Br[1]+\" \"+Br[2]+\" \"+Br[3]}return vt.source=function(mt){return arguments.length?(de=on(mt),vt):de},vt.target=function(mt){return arguments.length?(Re=on(mt),vt):Re},vt.projection=function(mt){return arguments.length?(Qe=mt,vt):Qe},vt};function Mn(de){return[de.x,de.y]}g.svg.diagonal.radial=function(){var de=g.svg.diagonal(),Re=Mn,Qe=de.projection;return de.projection=function(vt){return arguments.length?Qe(Un(Re=vt)):Re},de};function Un(de){return function(){var Re=de.apply(this,arguments),Qe=Re[0],vt=Re[1]-we;return[Qe*Math.cos(vt),Qe*Math.sin(vt)]}}g.svg.symbol=function(){var de=ki,Re=li;function Qe(vt,mt){return(Zi.get(de.call(this,vt,mt))||Ci)(Re.call(this,vt,mt))}return Qe.type=function(vt){return arguments.length?(de=on(vt),Qe):de},Qe.size=function(vt){return arguments.length?(Re=on(vt),Qe):Re},Qe};function li(){return 64}function ki(){return\"circle\"}function Ci(de){var Re=Math.sqrt(de/Se);return\"M0,\"+Re+\"A\"+Re+\",\"+Re+\" 0 1,1 0,\"+-Re+\"A\"+Re+\",\"+Re+\" 0 1,1 0,\"+Re+\"Z\"}var Zi=g.map({circle:Ci,cross:function(de){var Re=Math.sqrt(de/5)/2;return\"M\"+-3*Re+\",\"+-Re+\"H\"+-Re+\"V\"+-3*Re+\"H\"+Re+\"V\"+-Re+\"H\"+3*Re+\"V\"+Re+\"H\"+Re+\"V\"+3*Re+\"H\"+-Re+\"V\"+Re+\"H\"+-3*Re+\"Z\"},diamond:function(de){var Re=Math.sqrt(de/(2*ro)),Qe=Re*ro;return\"M0,\"+-Re+\"L\"+Qe+\",0 0,\"+Re+\" \"+-Qe+\",0Z\"},square:function(de){var Re=Math.sqrt(de)/2;return\"M\"+-Re+\",\"+-Re+\"L\"+Re+\",\"+-Re+\" \"+Re+\",\"+Re+\" \"+-Re+\",\"+Re+\"Z\"},\"triangle-down\":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return\"M0,\"+Qe+\"L\"+Re+\",\"+-Qe+\" \"+-Re+\",\"+-Qe+\"Z\"},\"triangle-up\":function(de){var Re=Math.sqrt(de/ya),Qe=Re*ya/2;return\"M0,\"+-Qe+\"L\"+Re+\",\"+Qe+\" \"+-Re+\",\"+Qe+\"Z\"}});g.svg.symbolTypes=Zi.keys();var ya=Math.sqrt(3),ro=Math.tan(30*Le);ae.transition=function(de){for(var Re=bs||++ts,Qe=is(de),vt=[],mt,Tt,Qt=fl||{time:Date.now(),ease:pu,delay:0,duration:250},Dt=-1,lr=this.length;++Dt0;)Tn[--ci].call(de,Jn);if(qn>=1)return Qt.event&&Qt.event.end.call(de,de.__data__,Re),--Tt.count?delete Tt[vt]:delete de[Qe],1}Qt||(Dt=mt.time,lr=qa(yn,0,Dt),Qt=Tt[vt]={tween:new M,time:Dt,timer:lr,delay:mt.delay,duration:mt.duration,ease:mt.ease,index:Re},mt=null,++Tt.count)}g.svg.axis=function(){var de=g.scale.linear(),Re=eu,Qe=6,vt=6,mt=3,Tt=[10],Qt=null,Dt;function lr(Br){Br.each(function(){var jr=g.select(this),Tn=this.__chart__||de,yn=this.__chart__=de.copy(),ti=Qt??(yn.ticks?yn.ticks.apply(yn,Tt):yn.domain()),ai=Dt??(yn.tickFormat?yn.tickFormat.apply(yn,Tt):F),En=jr.selectAll(\".tick\").data(ti,yn),qn=En.enter().insert(\"g\",\".domain\").attr(\"class\",\"tick\").style(\"opacity\",Ke),Jn=g.transition(En.exit()).style(\"opacity\",Ke).remove(),ci=g.transition(En.order()).style(\"opacity\",1),oi=Math.max(Qe,0)+mt,Hn,ta=Wi(yn),oa=jr.selectAll(\".domain\").data([0]),_a=(oa.enter().append(\"path\").attr(\"class\",\"domain\"),g.transition(oa));qn.append(\"line\"),qn.append(\"text\");var La=qn.select(\"line\"),io=ci.select(\"line\"),oo=En.select(\"text\").text(ai),Qo=qn.select(\"text\"),uo=ci.select(\"text\"),Jo=Re===\"top\"||Re===\"left\"?-1:1,ol,tl,ml,ua;if(Re===\"bottom\"||Re===\"top\"?(Hn=mu,ol=\"x\",ml=\"y\",tl=\"x2\",ua=\"y2\",oo.attr(\"dy\",Jo<0?\"0em\":\".71em\").style(\"text-anchor\",\"middle\"),_a.attr(\"d\",\"M\"+ta[0]+\",\"+Jo*vt+\"V0H\"+ta[1]+\"V\"+Jo*vt)):(Hn=El,ol=\"y\",ml=\"x\",tl=\"y2\",ua=\"x2\",oo.attr(\"dy\",\".32em\").style(\"text-anchor\",Jo<0?\"end\":\"start\"),_a.attr(\"d\",\"M\"+Jo*vt+\",\"+ta[0]+\"H0V\"+ta[1]+\"H\"+Jo*vt)),La.attr(ua,Jo*Qe),Qo.attr(ml,Jo*oi),io.attr(tl,0).attr(ua,Jo*Qe),uo.attr(ol,0).attr(ml,Jo*oi),yn.rangeBand){var wo=yn,ys=wo.rangeBand()/2;Tn=yn=function(Ms){return wo(Ms)+ys}}else Tn.rangeBand?Tn=yn:Jn.call(Hn,yn,Tn);qn.call(Hn,Tn,yn),ci.call(Hn,yn,yn)})}return lr.scale=function(Br){return arguments.length?(de=Br,lr):de},lr.orient=function(Br){return arguments.length?(Re=Br in Xu?Br+\"\":eu,lr):Re},lr.ticks=function(){return arguments.length?(Tt=A(arguments),lr):Tt},lr.tickValues=function(Br){return arguments.length?(Qt=Br,lr):Qt},lr.tickFormat=function(Br){return arguments.length?(Dt=Br,lr):Dt},lr.tickSize=function(Br){var jr=arguments.length;return jr?(Qe=+Br,vt=+arguments[jr-1],lr):Qe},lr.innerTickSize=function(Br){return arguments.length?(Qe=+Br,lr):Qe},lr.outerTickSize=function(Br){return arguments.length?(vt=+Br,lr):vt},lr.tickPadding=function(Br){return arguments.length?(mt=+Br,lr):mt},lr.tickSubdivide=function(){return arguments.length&&lr},lr};var eu=\"bottom\",Xu={top:1,right:1,bottom:1,left:1};function mu(de,Re,Qe){de.attr(\"transform\",function(vt){var mt=Re(vt);return\"translate(\"+(isFinite(mt)?mt:Qe(vt))+\",0)\"})}function El(de,Re,Qe){de.attr(\"transform\",function(vt){var mt=Re(vt);return\"translate(0,\"+(isFinite(mt)?mt:Qe(vt))+\")\"})}g.svg.brush=function(){var de=se(jr,\"brushstart\",\"brush\",\"brushend\"),Re=null,Qe=null,vt=[0,0],mt=[0,0],Tt,Qt,Dt=!0,lr=!0,Br=Tc[0];function jr(En){En.each(function(){var qn=g.select(this).style(\"pointer-events\",\"all\").style(\"-webkit-tap-highlight-color\",\"rgba(0,0,0,0)\").on(\"mousedown.brush\",ai).on(\"touchstart.brush\",ai),Jn=qn.selectAll(\".background\").data([0]);Jn.enter().append(\"rect\").attr(\"class\",\"background\").style(\"visibility\",\"hidden\").style(\"cursor\",\"crosshair\"),qn.selectAll(\".extent\").data([0]).enter().append(\"rect\").attr(\"class\",\"extent\").style(\"cursor\",\"move\");var ci=qn.selectAll(\".resize\").data(Br,F);ci.exit().remove(),ci.enter().append(\"g\").attr(\"class\",function(oa){return\"resize \"+oa}).style(\"cursor\",function(oa){return fu[oa]}).append(\"rect\").attr(\"x\",function(oa){return/[ew]$/.test(oa)?-3:null}).attr(\"y\",function(oa){return/^[ns]/.test(oa)?-3:null}).attr(\"width\",6).attr(\"height\",6).style(\"visibility\",\"hidden\"),ci.style(\"display\",jr.empty()?\"none\":null);var oi=g.transition(qn),Hn=g.transition(Jn),ta;Re&&(ta=Wi(Re),Hn.attr(\"x\",ta[0]).attr(\"width\",ta[1]-ta[0]),yn(oi)),Qe&&(ta=Wi(Qe),Hn.attr(\"y\",ta[0]).attr(\"height\",ta[1]-ta[0]),ti(oi)),Tn(oi)})}jr.event=function(En){En.each(function(){var qn=de.of(this,arguments),Jn={x:vt,y:mt,i:Tt,j:Qt},ci=this.__chart__||Jn;this.__chart__=Jn,bs?g.select(this).transition().each(\"start.brush\",function(){Tt=ci.i,Qt=ci.j,vt=ci.x,mt=ci.y,qn({type:\"brushstart\"})}).tween(\"brush:brush\",function(){var oi=$u(vt,Jn.x),Hn=$u(mt,Jn.y);return Tt=Qt=null,function(ta){vt=Jn.x=oi(ta),mt=Jn.y=Hn(ta),qn({type:\"brush\",mode:\"resize\"})}}).each(\"end.brush\",function(){Tt=Jn.i,Qt=Jn.j,qn({type:\"brush\",mode:\"resize\"}),qn({type:\"brushend\"})}):(qn({type:\"brushstart\"}),qn({type:\"brush\",mode:\"resize\"}),qn({type:\"brushend\"}))})};function Tn(En){En.selectAll(\".resize\").attr(\"transform\",function(qn){return\"translate(\"+vt[+/e$/.test(qn)]+\",\"+mt[+/^s/.test(qn)]+\")\"})}function yn(En){En.select(\".extent\").attr(\"x\",vt[0]),En.selectAll(\".extent,.n>rect,.s>rect\").attr(\"width\",vt[1]-vt[0])}function ti(En){En.select(\".extent\").attr(\"y\",mt[0]),En.selectAll(\".extent,.e>rect,.w>rect\").attr(\"height\",mt[1]-mt[0])}function ai(){var En=this,qn=g.select(g.event.target),Jn=de.of(En,arguments),ci=g.select(En),oi=qn.datum(),Hn=!/^(n|s)$/.test(oi)&&Re,ta=!/^(e|w)$/.test(oi)&&Qe,oa=qn.classed(\"extent\"),_a=gr(En),La,io=g.mouse(En),oo,Qo=g.select(t(En)).on(\"keydown.brush\",ol).on(\"keyup.brush\",tl);if(g.event.changedTouches?Qo.on(\"touchmove.brush\",ml).on(\"touchend.brush\",wo):Qo.on(\"mousemove.brush\",ml).on(\"mouseup.brush\",wo),ci.interrupt().selectAll(\"*\").interrupt(),oa)io[0]=vt[0]-io[0],io[1]=mt[0]-io[1];else if(oi){var uo=+/w$/.test(oi),Jo=+/^n/.test(oi);oo=[vt[1-uo]-io[0],mt[1-Jo]-io[1]],io[0]=vt[uo],io[1]=mt[Jo]}else g.event.altKey&&(La=io.slice());ci.style(\"pointer-events\",\"none\").selectAll(\".resize\").style(\"display\",null),g.select(\"body\").style(\"cursor\",qn.style(\"cursor\")),Jn({type:\"brushstart\"}),ml();function ol(){g.event.keyCode==32&&(oa||(La=null,io[0]-=vt[1],io[1]-=mt[1],oa=2),Q())}function tl(){g.event.keyCode==32&&oa==2&&(io[0]+=vt[1],io[1]+=mt[1],oa=0,Q())}function ml(){var ys=g.mouse(En),Ms=!1;oo&&(ys[0]+=oo[0],ys[1]+=oo[1]),oa||(g.event.altKey?(La||(La=[(vt[0]+vt[1])/2,(mt[0]+mt[1])/2]),io[0]=vt[+(ys[0]0))return qt;do qt.push(fr=new Date(+Lt)),Oe(Lt,Bt),ue(Lt);while(fr=Et)for(;ue(Et),!Lt(Et);)Et.setTime(Et-1)},function(Et,Bt){if(Et>=Et)if(Bt<0)for(;++Bt<=0;)for(;Oe(Et,-1),!Lt(Et););else for(;--Bt>=0;)for(;Oe(Et,1),!Lt(Et););})},rt&&(et.count=function(Lt,Et){return x.setTime(+Lt),A.setTime(+Et),ue(x),ue(A),Math.floor(rt(x,A))},et.every=function(Lt){return Lt=Math.floor(Lt),!isFinite(Lt)||!(Lt>0)?null:Lt>1?et.filter(ot?function(Et){return ot(Et)%Lt===0}:function(Et){return et.count(0,Et)%Lt===0}):et}),et}var e=S(function(){},function(ue,Oe){ue.setTime(+ue+Oe)},function(ue,Oe){return Oe-ue});e.every=function(ue){return ue=Math.floor(ue),!isFinite(ue)||!(ue>0)?null:ue>1?S(function(Oe){Oe.setTime(Math.floor(Oe/ue)*ue)},function(Oe,rt){Oe.setTime(+Oe+rt*ue)},function(Oe,rt){return(rt-Oe)/ue}):e};var t=e.range,r=1e3,o=6e4,n=36e5,i=864e5,a=6048e5,s=S(function(ue){ue.setTime(ue-ue.getMilliseconds())},function(ue,Oe){ue.setTime(+ue+Oe*r)},function(ue,Oe){return(Oe-ue)/r},function(ue){return ue.getUTCSeconds()}),c=s.range,h=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getMinutes()}),p=h.range,d=S(function(ue){ue.setTime(ue-ue.getMilliseconds()-ue.getSeconds()*r-ue.getMinutes()*o)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getHours()}),T=d.range,l=S(function(ue){ue.setHours(0,0,0,0)},function(ue,Oe){ue.setDate(ue.getDate()+Oe)},function(ue,Oe){return(Oe-ue-(Oe.getTimezoneOffset()-ue.getTimezoneOffset())*o)/i},function(ue){return ue.getDate()-1}),_=l.range;function w(ue){return S(function(Oe){Oe.setDate(Oe.getDate()-(Oe.getDay()+7-ue)%7),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setDate(Oe.getDate()+rt*7)},function(Oe,rt){return(rt-Oe-(rt.getTimezoneOffset()-Oe.getTimezoneOffset())*o)/a})}var M=w(0),E=w(1),m=w(2),b=w(3),v=w(4),u=w(5),y=w(6),f=M.range,P=E.range,L=m.range,z=b.range,F=v.range,B=u.range,O=y.range,I=S(function(ue){ue.setDate(1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setMonth(ue.getMonth()+Oe)},function(ue,Oe){return Oe.getMonth()-ue.getMonth()+(Oe.getFullYear()-ue.getFullYear())*12},function(ue){return ue.getMonth()}),N=I.range,U=S(function(ue){ue.setMonth(0,1),ue.setHours(0,0,0,0)},function(ue,Oe){ue.setFullYear(ue.getFullYear()+Oe)},function(ue,Oe){return Oe.getFullYear()-ue.getFullYear()},function(ue){return ue.getFullYear()});U.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setFullYear(Math.floor(Oe.getFullYear()/ue)*ue),Oe.setMonth(0,1),Oe.setHours(0,0,0,0)},function(Oe,rt){Oe.setFullYear(Oe.getFullYear()+rt*ue)})};var W=U.range,Q=S(function(ue){ue.setUTCSeconds(0,0)},function(ue,Oe){ue.setTime(+ue+Oe*o)},function(ue,Oe){return(Oe-ue)/o},function(ue){return ue.getUTCMinutes()}),le=Q.range,se=S(function(ue){ue.setUTCMinutes(0,0,0)},function(ue,Oe){ue.setTime(+ue+Oe*n)},function(ue,Oe){return(Oe-ue)/n},function(ue){return ue.getUTCHours()}),fe=se.range,G=S(function(ue){ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCDate(ue.getUTCDate()+Oe)},function(ue,Oe){return(Oe-ue)/i},function(ue){return ue.getUTCDate()-1}),$=G.range;function J(ue){return S(function(Oe){Oe.setUTCDate(Oe.getUTCDate()-(Oe.getUTCDay()+7-ue)%7),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCDate(Oe.getUTCDate()+rt*7)},function(Oe,rt){return(rt-Oe)/a})}var X=J(0),re=J(1),ae=J(2),j=J(3),ee=J(4),ie=J(5),ce=J(6),xe=X.range,Te=re.range,Ue=ae.range,Ie=j.range,Ye=ee.range,it=ie.range,at=ce.range,tt=S(function(ue){ue.setUTCDate(1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCMonth(ue.getUTCMonth()+Oe)},function(ue,Oe){return Oe.getUTCMonth()-ue.getUTCMonth()+(Oe.getUTCFullYear()-ue.getUTCFullYear())*12},function(ue){return ue.getUTCMonth()}),ut=tt.range,Me=S(function(ue){ue.setUTCMonth(0,1),ue.setUTCHours(0,0,0,0)},function(ue,Oe){ue.setUTCFullYear(ue.getUTCFullYear()+Oe)},function(ue,Oe){return Oe.getUTCFullYear()-ue.getUTCFullYear()},function(ue){return ue.getUTCFullYear()});Me.every=function(ue){return!isFinite(ue=Math.floor(ue))||!(ue>0)?null:S(function(Oe){Oe.setUTCFullYear(Math.floor(Oe.getUTCFullYear()/ue)*ue),Oe.setUTCMonth(0,1),Oe.setUTCHours(0,0,0,0)},function(Oe,rt){Oe.setUTCFullYear(Oe.getUTCFullYear()+rt*ue)})};var pe=Me.range;g.timeDay=l,g.timeDays=_,g.timeFriday=u,g.timeFridays=B,g.timeHour=d,g.timeHours=T,g.timeInterval=S,g.timeMillisecond=e,g.timeMilliseconds=t,g.timeMinute=h,g.timeMinutes=p,g.timeMonday=E,g.timeMondays=P,g.timeMonth=I,g.timeMonths=N,g.timeSaturday=y,g.timeSaturdays=O,g.timeSecond=s,g.timeSeconds=c,g.timeSunday=M,g.timeSundays=f,g.timeThursday=v,g.timeThursdays=F,g.timeTuesday=m,g.timeTuesdays=L,g.timeWednesday=b,g.timeWednesdays=z,g.timeWeek=M,g.timeWeeks=f,g.timeYear=U,g.timeYears=W,g.utcDay=G,g.utcDays=$,g.utcFriday=ie,g.utcFridays=it,g.utcHour=se,g.utcHours=fe,g.utcMillisecond=e,g.utcMilliseconds=t,g.utcMinute=Q,g.utcMinutes=le,g.utcMonday=re,g.utcMondays=Te,g.utcMonth=tt,g.utcMonths=ut,g.utcSaturday=ce,g.utcSaturdays=at,g.utcSecond=s,g.utcSeconds=c,g.utcSunday=X,g.utcSundays=xe,g.utcThursday=ee,g.utcThursdays=Ye,g.utcTuesday=ae,g.utcTuesdays=Ue,g.utcWednesday=j,g.utcWednesdays=Ie,g.utcWeek=X,g.utcWeeks=xe,g.utcYear=Me,g.utcYears=pe,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Ki=ke({\"node_modules/d3-time-format/dist/d3-time-format.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,Ii()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){\"use strict\";function A(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L);return Ke.setFullYear(Be.y),Ke}return new Date(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L)}function S(Be){if(0<=Be.y&&Be.y<100){var Ke=new Date(Date.UTC(-1,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L));return Ke.setUTCFullYear(Be.y),Ke}return new Date(Date.UTC(Be.y,Be.m,Be.d,Be.H,Be.M,Be.S,Be.L))}function e(Be,Ke,je){return{y:Be,m:Ke,d:je,H:0,M:0,S:0,L:0}}function t(Be){var Ke=Be.dateTime,je=Be.date,Se=Be.time,He=Be.periods,Ee=Be.days,we=Be.shortDays,Le=Be.months,nt=Be.shortMonths,pt=c(He),bt=h(He),Rt=c(Ee),Nt=h(Ee),Xt=c(we),$t=h(we),ur=c(Le),pn=h(Le),Rn=c(nt),Nn=h(nt),On={a:Wn,A:ri,b:Sn,B:ui,c:null,d:I,e:I,f:le,H:N,I:U,j:W,L:Q,m:se,M:fe,p:gt,q:yt,Q:Et,s:Bt,S:G,u:$,U:J,V:X,w:re,W:ae,x:null,X:null,y:j,Y:ee,Z:ie,\"%\":Lt},ni={a:Pr,A:Ir,b:Tr,B:Mr,c:null,d:ce,e:ce,f:Ye,H:xe,I:Te,j:Ue,L:Ie,m:it,M:at,p:Lr,q:Ur,Q:Et,s:Bt,S:tt,u:ut,U:Me,V:pe,w:ue,W:Oe,x:null,X:null,y:rt,Y:ot,Z:et,\"%\":Lt},zn={a:Ht,A:Vt,b:wr,B:$r,c:xn,d:v,e:v,f:z,H:y,I:y,j:u,L,m:b,M:f,p:Ft,q:m,Q:B,s:O,S:P,u:d,U:T,V:l,w:p,W:_,x:en,X:Fn,y:M,Y:w,Z:E,\"%\":F};On.x=Qn(je,On),On.X=Qn(Se,On),On.c=Qn(Ke,On),ni.x=Qn(je,ni),ni.X=Qn(Se,ni),ni.c=Qn(Ke,ni);function Qn(Dr,nn){return function(vn){var gn=[],kt=-1,or=0,yr=Dr.length,on,An,Zn;for(vn instanceof Date||(vn=new Date(+vn));++kt53)return null;\"w\"in gn||(gn.w=1),\"Z\"in gn?(or=S(e(gn.y,0,1)),yr=or.getUTCDay(),or=yr>4||yr===0?x.utcMonday.ceil(or):x.utcMonday(or),or=x.utcDay.offset(or,(gn.V-1)*7),gn.y=or.getUTCFullYear(),gn.m=or.getUTCMonth(),gn.d=or.getUTCDate()+(gn.w+6)%7):(or=A(e(gn.y,0,1)),yr=or.getDay(),or=yr>4||yr===0?x.timeMonday.ceil(or):x.timeMonday(or),or=x.timeDay.offset(or,(gn.V-1)*7),gn.y=or.getFullYear(),gn.m=or.getMonth(),gn.d=or.getDate()+(gn.w+6)%7)}else(\"W\"in gn||\"U\"in gn)&&(\"w\"in gn||(gn.w=\"u\"in gn?gn.u%7:\"W\"in gn?1:0),yr=\"Z\"in gn?S(e(gn.y,0,1)).getUTCDay():A(e(gn.y,0,1)).getDay(),gn.m=0,gn.d=\"W\"in gn?(gn.w+6)%7+gn.W*7-(yr+5)%7:gn.w+gn.U*7-(yr+6)%7);return\"Z\"in gn?(gn.H+=gn.Z/100|0,gn.M+=gn.Z%100,S(gn)):A(gn)}}function Zt(Dr,nn,vn,gn){for(var kt=0,or=nn.length,yr=vn.length,on,An;kt=yr)return-1;if(on=nn.charCodeAt(kt++),on===37){if(on=nn.charAt(kt++),An=zn[on in r?nn.charAt(kt++):on],!An||(gn=An(Dr,vn,gn))<0)return-1}else if(on!=vn.charCodeAt(gn++))return-1}return gn}function Ft(Dr,nn,vn){var gn=pt.exec(nn.slice(vn));return gn?(Dr.p=bt[gn[0].toLowerCase()],vn+gn[0].length):-1}function Ht(Dr,nn,vn){var gn=Xt.exec(nn.slice(vn));return gn?(Dr.w=$t[gn[0].toLowerCase()],vn+gn[0].length):-1}function Vt(Dr,nn,vn){var gn=Rt.exec(nn.slice(vn));return gn?(Dr.w=Nt[gn[0].toLowerCase()],vn+gn[0].length):-1}function wr(Dr,nn,vn){var gn=Rn.exec(nn.slice(vn));return gn?(Dr.m=Nn[gn[0].toLowerCase()],vn+gn[0].length):-1}function $r(Dr,nn,vn){var gn=ur.exec(nn.slice(vn));return gn?(Dr.m=pn[gn[0].toLowerCase()],vn+gn[0].length):-1}function xn(Dr,nn,vn){return Zt(Dr,Ke,nn,vn)}function en(Dr,nn,vn){return Zt(Dr,je,nn,vn)}function Fn(Dr,nn,vn){return Zt(Dr,Se,nn,vn)}function Wn(Dr){return we[Dr.getDay()]}function ri(Dr){return Ee[Dr.getDay()]}function Sn(Dr){return nt[Dr.getMonth()]}function ui(Dr){return Le[Dr.getMonth()]}function gt(Dr){return He[+(Dr.getHours()>=12)]}function yt(Dr){return 1+~~(Dr.getMonth()/3)}function Pr(Dr){return we[Dr.getUTCDay()]}function Ir(Dr){return Ee[Dr.getUTCDay()]}function Tr(Dr){return nt[Dr.getUTCMonth()]}function Mr(Dr){return Le[Dr.getUTCMonth()]}function Lr(Dr){return He[+(Dr.getUTCHours()>=12)]}function Ur(Dr){return 1+~~(Dr.getUTCMonth()/3)}return{format:function(Dr){var nn=Qn(Dr+=\"\",On);return nn.toString=function(){return Dr},nn},parse:function(Dr){var nn=gi(Dr+=\"\",!1);return nn.toString=function(){return Dr},nn},utcFormat:function(Dr){var nn=Qn(Dr+=\"\",ni);return nn.toString=function(){return Dr},nn},utcParse:function(Dr){var nn=gi(Dr+=\"\",!0);return nn.toString=function(){return Dr},nn}}}var r={\"-\":\"\",_:\" \",0:\"0\"},o=/^\\s*\\d+/,n=/^%/,i=/[\\\\^$*+?|[\\]().{}]/g;function a(Be,Ke,je){var Se=Be<0?\"-\":\"\",He=(Se?-Be:Be)+\"\",Ee=He.length;return Se+(Ee68?1900:2e3),je+Se[0].length):-1}function E(Be,Ke,je){var Se=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(Ke.slice(je,je+6));return Se?(Be.Z=Se[1]?0:-(Se[2]+(Se[3]||\"00\")),je+Se[0].length):-1}function m(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+1));return Se?(Be.q=Se[0]*3-3,je+Se[0].length):-1}function b(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.m=Se[0]-1,je+Se[0].length):-1}function v(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.d=+Se[0],je+Se[0].length):-1}function u(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.m=0,Be.d=+Se[0],je+Se[0].length):-1}function y(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.H=+Se[0],je+Se[0].length):-1}function f(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.M=+Se[0],je+Se[0].length):-1}function P(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+2));return Se?(Be.S=+Se[0],je+Se[0].length):-1}function L(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+3));return Se?(Be.L=+Se[0],je+Se[0].length):-1}function z(Be,Ke,je){var Se=o.exec(Ke.slice(je,je+6));return Se?(Be.L=Math.floor(Se[0]/1e3),je+Se[0].length):-1}function F(Be,Ke,je){var Se=n.exec(Ke.slice(je,je+1));return Se?je+Se[0].length:-1}function B(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.Q=+Se[0],je+Se[0].length):-1}function O(Be,Ke,je){var Se=o.exec(Ke.slice(je));return Se?(Be.s=+Se[0],je+Se[0].length):-1}function I(Be,Ke){return a(Be.getDate(),Ke,2)}function N(Be,Ke){return a(Be.getHours(),Ke,2)}function U(Be,Ke){return a(Be.getHours()%12||12,Ke,2)}function W(Be,Ke){return a(1+x.timeDay.count(x.timeYear(Be),Be),Ke,3)}function Q(Be,Ke){return a(Be.getMilliseconds(),Ke,3)}function le(Be,Ke){return Q(Be,Ke)+\"000\"}function se(Be,Ke){return a(Be.getMonth()+1,Ke,2)}function fe(Be,Ke){return a(Be.getMinutes(),Ke,2)}function G(Be,Ke){return a(Be.getSeconds(),Ke,2)}function $(Be){var Ke=Be.getDay();return Ke===0?7:Ke}function J(Be,Ke){return a(x.timeSunday.count(x.timeYear(Be)-1,Be),Ke,2)}function X(Be,Ke){var je=Be.getDay();return Be=je>=4||je===0?x.timeThursday(Be):x.timeThursday.ceil(Be),a(x.timeThursday.count(x.timeYear(Be),Be)+(x.timeYear(Be).getDay()===4),Ke,2)}function re(Be){return Be.getDay()}function ae(Be,Ke){return a(x.timeMonday.count(x.timeYear(Be)-1,Be),Ke,2)}function j(Be,Ke){return a(Be.getFullYear()%100,Ke,2)}function ee(Be,Ke){return a(Be.getFullYear()%1e4,Ke,4)}function ie(Be){var Ke=Be.getTimezoneOffset();return(Ke>0?\"-\":(Ke*=-1,\"+\"))+a(Ke/60|0,\"0\",2)+a(Ke%60,\"0\",2)}function ce(Be,Ke){return a(Be.getUTCDate(),Ke,2)}function xe(Be,Ke){return a(Be.getUTCHours(),Ke,2)}function Te(Be,Ke){return a(Be.getUTCHours()%12||12,Ke,2)}function Ue(Be,Ke){return a(1+x.utcDay.count(x.utcYear(Be),Be),Ke,3)}function Ie(Be,Ke){return a(Be.getUTCMilliseconds(),Ke,3)}function Ye(Be,Ke){return Ie(Be,Ke)+\"000\"}function it(Be,Ke){return a(Be.getUTCMonth()+1,Ke,2)}function at(Be,Ke){return a(Be.getUTCMinutes(),Ke,2)}function tt(Be,Ke){return a(Be.getUTCSeconds(),Ke,2)}function ut(Be){var Ke=Be.getUTCDay();return Ke===0?7:Ke}function Me(Be,Ke){return a(x.utcSunday.count(x.utcYear(Be)-1,Be),Ke,2)}function pe(Be,Ke){var je=Be.getUTCDay();return Be=je>=4||je===0?x.utcThursday(Be):x.utcThursday.ceil(Be),a(x.utcThursday.count(x.utcYear(Be),Be)+(x.utcYear(Be).getUTCDay()===4),Ke,2)}function ue(Be){return Be.getUTCDay()}function Oe(Be,Ke){return a(x.utcMonday.count(x.utcYear(Be)-1,Be),Ke,2)}function rt(Be,Ke){return a(Be.getUTCFullYear()%100,Ke,2)}function ot(Be,Ke){return a(Be.getUTCFullYear()%1e4,Ke,4)}function et(){return\"+0000\"}function Lt(){return\"%\"}function Et(Be){return+Be}function Bt(Be){return Math.floor(+Be/1e3)}var qt;fr({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\"]});function fr(Be){return qt=t(Be),g.timeFormat=qt.format,g.timeParse=qt.parse,g.utcFormat=qt.utcFormat,g.utcParse=qt.utcParse,qt}var ar=\"%Y-%m-%dT%H:%M:%S.%LZ\";function Rr(Be){return Be.toISOString()}var gr=Date.prototype.toISOString?Rr:g.utcFormat(ar);function br(Be){var Ke=new Date(Be);return isNaN(Ke)?null:Ke}var _t=+new Date(\"2000-01-01T00:00:00.000Z\")?br:g.utcParse(ar);g.isoFormat=gr,g.isoParse=_t,g.timeFormatDefaultLocale=fr,g.timeFormatLocale=t,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),$n=ke({\"node_modules/d3-format/dist/d3-format.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=typeof globalThis<\"u\"?globalThis:g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(b){return Math.abs(b=Math.round(b))>=1e21?b.toLocaleString(\"en\").replace(/,/g,\"\"):b.toString(10)}function A(b,v){if((u=(b=v?b.toExponential(v-1):b.toExponential()).indexOf(\"e\"))<0)return null;var u,y=b.slice(0,u);return[y.length>1?y[0]+y.slice(2):y,+b.slice(u+1)]}function S(b){return b=A(Math.abs(b)),b?b[1]:NaN}function e(b,v){return function(u,y){for(var f=u.length,P=[],L=0,z=b[0],F=0;f>0&&z>0&&(F+z+1>y&&(z=Math.max(1,y-F)),P.push(u.substring(f-=z,f+z)),!((F+=z+1)>y));)z=b[L=(L+1)%b.length];return P.reverse().join(v)}}function t(b){return function(v){return v.replace(/[0-9]/g,function(u){return b[+u]})}}var r=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function o(b){if(!(v=r.exec(b)))throw new Error(\"invalid format: \"+b);var v;return new n({fill:v[1],align:v[2],sign:v[3],symbol:v[4],zero:v[5],width:v[6],comma:v[7],precision:v[8]&&v[8].slice(1),trim:v[9],type:v[10]})}o.prototype=n.prototype;function n(b){this.fill=b.fill===void 0?\" \":b.fill+\"\",this.align=b.align===void 0?\">\":b.align+\"\",this.sign=b.sign===void 0?\"-\":b.sign+\"\",this.symbol=b.symbol===void 0?\"\":b.symbol+\"\",this.zero=!!b.zero,this.width=b.width===void 0?void 0:+b.width,this.comma=!!b.comma,this.precision=b.precision===void 0?void 0:+b.precision,this.trim=!!b.trim,this.type=b.type===void 0?\"\":b.type+\"\"}n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\"0\":\"\")+(this.width===void 0?\"\":Math.max(1,this.width|0))+(this.comma?\",\":\"\")+(this.precision===void 0?\"\":\".\"+Math.max(0,this.precision|0))+(this.trim?\"~\":\"\")+this.type};function i(b){e:for(var v=b.length,u=1,y=-1,f;u0&&(y=0);break}return y>0?b.slice(0,y)+b.slice(f+1):b}var a;function s(b,v){var u=A(b,v);if(!u)return b+\"\";var y=u[0],f=u[1],P=f-(a=Math.max(-8,Math.min(8,Math.floor(f/3)))*3)+1,L=y.length;return P===L?y:P>L?y+new Array(P-L+1).join(\"0\"):P>0?y.slice(0,P)+\".\"+y.slice(P):\"0.\"+new Array(1-P).join(\"0\")+A(b,Math.max(0,v+P-1))[0]}function c(b,v){var u=A(b,v);if(!u)return b+\"\";var y=u[0],f=u[1];return f<0?\"0.\"+new Array(-f).join(\"0\")+y:y.length>f+1?y.slice(0,f+1)+\".\"+y.slice(f+1):y+new Array(f-y.length+2).join(\"0\")}var h={\"%\":function(b,v){return(b*100).toFixed(v)},b:function(b){return Math.round(b).toString(2)},c:function(b){return b+\"\"},d:x,e:function(b,v){return b.toExponential(v)},f:function(b,v){return b.toFixed(v)},g:function(b,v){return b.toPrecision(v)},o:function(b){return Math.round(b).toString(8)},p:function(b,v){return c(b*100,v)},r:c,s,X:function(b){return Math.round(b).toString(16).toUpperCase()},x:function(b){return Math.round(b).toString(16)}};function p(b){return b}var d=Array.prototype.map,T=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"\\xB5\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function l(b){var v=b.grouping===void 0||b.thousands===void 0?p:e(d.call(b.grouping,Number),b.thousands+\"\"),u=b.currency===void 0?\"\":b.currency[0]+\"\",y=b.currency===void 0?\"\":b.currency[1]+\"\",f=b.decimal===void 0?\".\":b.decimal+\"\",P=b.numerals===void 0?p:t(d.call(b.numerals,String)),L=b.percent===void 0?\"%\":b.percent+\"\",z=b.minus===void 0?\"-\":b.minus+\"\",F=b.nan===void 0?\"NaN\":b.nan+\"\";function B(I){I=o(I);var N=I.fill,U=I.align,W=I.sign,Q=I.symbol,le=I.zero,se=I.width,fe=I.comma,G=I.precision,$=I.trim,J=I.type;J===\"n\"?(fe=!0,J=\"g\"):h[J]||(G===void 0&&(G=12),$=!0,J=\"g\"),(le||N===\"0\"&&U===\"=\")&&(le=!0,N=\"0\",U=\"=\");var X=Q===\"$\"?u:Q===\"#\"&&/[boxX]/.test(J)?\"0\"+J.toLowerCase():\"\",re=Q===\"$\"?y:/[%p]/.test(J)?L:\"\",ae=h[J],j=/[defgprs%]/.test(J);G=G===void 0?6:/[gprs]/.test(J)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G));function ee(ie){var ce=X,xe=re,Te,Ue,Ie;if(J===\"c\")xe=ae(ie)+xe,ie=\"\";else{ie=+ie;var Ye=ie<0||1/ie<0;if(ie=isNaN(ie)?F:ae(Math.abs(ie),G),$&&(ie=i(ie)),Ye&&+ie==0&&W!==\"+\"&&(Ye=!1),ce=(Ye?W===\"(\"?W:z:W===\"-\"||W===\"(\"?\"\":W)+ce,xe=(J===\"s\"?T[8+a/3]:\"\")+xe+(Ye&&W===\"(\"?\")\":\"\"),j){for(Te=-1,Ue=ie.length;++TeIe||Ie>57){xe=(Ie===46?f+ie.slice(Te+1):ie.slice(Te))+xe,ie=ie.slice(0,Te);break}}}fe&&!le&&(ie=v(ie,1/0));var it=ce.length+ie.length+xe.length,at=it>1)+ce+ie+xe+at.slice(it);break;default:ie=at+ce+ie+xe;break}return P(ie)}return ee.toString=function(){return I+\"\"},ee}function O(I,N){var U=B((I=o(I),I.type=\"f\",I)),W=Math.max(-8,Math.min(8,Math.floor(S(N)/3)))*3,Q=Math.pow(10,-W),le=T[8+W/3];return function(se){return U(Q*se)+le}}return{format:B,formatPrefix:O}}var _;w({decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],minus:\"-\"});function w(b){return _=l(b),g.format=_.format,g.formatPrefix=_.formatPrefix,_}function M(b){return Math.max(0,-S(Math.abs(b)))}function E(b,v){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(S(v)/3)))*3-S(Math.abs(b)))}function m(b,v){return b=Math.abs(b),v=Math.abs(v)-b,Math.max(0,S(v)-S(b))+1}g.FormatSpecifier=n,g.formatDefaultLocale=w,g.formatLocale=l,g.formatSpecifier=o,g.precisionFixed=M,g.precisionPrefix=E,g.precisionRound=m,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Kn=ke({\"node_modules/is-string-blank/index.js\"(Z,H){\"use strict\";H.exports=function(g){for(var x=g.length,A,S=0;S13)&&A!==32&&A!==133&&A!==160&&A!==5760&&A!==6158&&(A<8192||A>8205)&&A!==8232&&A!==8233&&A!==8239&&A!==8287&&A!==8288&&A!==12288&&A!==65279)return!1;return!0}}}),Yn=ke({\"node_modules/fast-isnumeric/index.js\"(Z,H){\"use strict\";var g=Kn();H.exports=function(x){var A=typeof x;if(A===\"string\"){var S=x;if(x=+x,x===0&&g(S))return!1}else if(A!==\"number\")return!1;return x-x<1}}}),Hi=ke({\"src/constants/numerical.js\"(Z,H){\"use strict\";H.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:\"\\u2212\"}}}),Vn=ke({\"node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=typeof globalThis<\"u\"?globalThis:g||self,x(g[\"base64-arraybuffer\"]={}))})(Z,function(g){\"use strict\";for(var x=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",A=typeof Uint8Array>\"u\"?[]:new Uint8Array(256),S=0;S>2],a+=x[(o[n]&3)<<4|o[n+1]>>4],a+=x[(o[n+1]&15)<<2|o[n+2]>>6],a+=x[o[n+2]&63];return i%3===2?a=a.substring(0,a.length-1)+\"=\":i%3===1&&(a=a.substring(0,a.length-2)+\"==\"),a},t=function(r){var o=r.length*.75,n=r.length,i,a=0,s,c,h,p;r[r.length-1]===\"=\"&&(o--,r[r.length-2]===\"=\"&&o--);var d=new ArrayBuffer(o),T=new Uint8Array(d);for(i=0;i>4,T[a++]=(c&15)<<4|h>>2,T[a++]=(h&3)<<6|p&63;return d};g.decode=t,g.encode=e,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Bi=ke({\"src/lib/is_plain_object.js\"(Z,H){\"use strict\";H.exports=function(x){return window&&window.process&&window.process.versions?Object.prototype.toString.call(x)===\"[object Object]\":Object.prototype.toString.call(x)===\"[object Object]\"&&Object.getPrototypeOf(x).hasOwnProperty(\"hasOwnProperty\")}}}),Oa=ke({\"src/lib/array.js\"(Z){\"use strict\";var H=Vn().decode,g=Bi(),x=Array.isArray,A=ArrayBuffer,S=DataView;function e(s){return A.isView(s)&&!(s instanceof S)}Z.isTypedArray=e;function t(s){return x(s)||e(s)}Z.isArrayOrTypedArray=t;function r(s){return!t(s[0])}Z.isArray1D=r,Z.ensureArray=function(s,c){return x(s)||(s=[]),s.length=c,s};var o={u1c:typeof Uint8ClampedArray>\"u\"?void 0:Uint8ClampedArray,i1:typeof Int8Array>\"u\"?void 0:Int8Array,u1:typeof Uint8Array>\"u\"?void 0:Uint8Array,i2:typeof Int16Array>\"u\"?void 0:Int16Array,u2:typeof Uint16Array>\"u\"?void 0:Uint16Array,i4:typeof Int32Array>\"u\"?void 0:Int32Array,u4:typeof Uint32Array>\"u\"?void 0:Uint32Array,f4:typeof Float32Array>\"u\"?void 0:Float32Array,f8:typeof Float64Array>\"u\"?void 0:Float64Array};o.uint8c=o.u1c,o.uint8=o.u1,o.int8=o.i1,o.uint16=o.u2,o.int16=o.i2,o.uint32=o.u4,o.int32=o.i4,o.float32=o.f4,o.float64=o.f8;function n(s){return s.constructor===ArrayBuffer}Z.isArrayBuffer=n,Z.decodeTypedArraySpec=function(s){var c=[],h=i(s),p=h.dtype,d=o[p];if(!d)throw new Error('Error in dtype: \"'+p+'\"');var T=d.BYTES_PER_ELEMENT,l=h.bdata;n(l)||(l=H(l));var _=h.shape===void 0?[l.byteLength/T]:(\"\"+h.shape).split(\",\");_.reverse();var w=_.length,M,E,m=+_[0],b=T*m,v=0;if(w===1)c=new d(l);else if(w===2)for(M=+_[1],E=0;E2)return d[M]=d[M]|e,_.set(w,null);if(l){for(c=M;c0)return Math.log(A)/Math.LN10;var e=Math.log(Math.min(S[0],S[1]))/Math.LN10;return g(e)||(e=Math.log(Math.max(S[0],S[1]))/Math.LN10-6),e}}}),Sd=ke({\"src/lib/relink_private.js\"(Z,H){\"use strict\";var g=Oa().isArrayOrTypedArray,x=Bi();H.exports=function A(S,e){for(var t in e){var r=e[t],o=S[t];if(o!==r)if(t.charAt(0)===\"_\"||typeof r==\"function\"){if(t in S)continue;S[t]=r}else if(g(r)&&g(o)&&x(r[0])){if(t===\"customdata\"||t===\"ids\")continue;for(var n=Math.min(r.length,o.length),i=0;iS/2?A-Math.round(A/S)*S:A}H.exports={mod:g,modHalf:x}}}),ru=ke({\"node_modules/tinycolor2/tinycolor.js\"(Z,H){(function(g){var x=/^\\s+/,A=/\\s+$/,S=0,e=g.round,t=g.min,r=g.max,o=g.random;function n(j,ee){if(j=j||\"\",ee=ee||{},j instanceof n)return j;if(!(this instanceof n))return new n(j,ee);var ie=i(j);this._originalInput=j,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=e(100*this._a)/100,this._format=ee.format||ie.format,this._gradientType=ee.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ie.ok,this._tc_id=S++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},getLuminance:function(){var j=this.toRgb(),ee,ie,ce,xe,Te,Ue;return ee=j.r/255,ie=j.g/255,ce=j.b/255,ee<=.03928?xe=ee/12.92:xe=g.pow((ee+.055)/1.055,2.4),ie<=.03928?Te=ie/12.92:Te=g.pow((ie+.055)/1.055,2.4),ce<=.03928?Ue=ce/12.92:Ue=g.pow((ce+.055)/1.055,2.4),.2126*xe+.7152*Te+.0722*Ue},setAlpha:function(j){return this._a=I(j),this._roundA=e(100*this._a)/100,this},toHsv:function(){var j=h(this._r,this._g,this._b);return{h:j.h*360,s:j.s,v:j.v,a:this._a}},toHsvString:function(){var j=h(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.v*100);return this._a==1?\"hsv(\"+ee+\", \"+ie+\"%, \"+ce+\"%)\":\"hsva(\"+ee+\", \"+ie+\"%, \"+ce+\"%, \"+this._roundA+\")\"},toHsl:function(){var j=s(this._r,this._g,this._b);return{h:j.h*360,s:j.s,l:j.l,a:this._a}},toHslString:function(){var j=s(this._r,this._g,this._b),ee=e(j.h*360),ie=e(j.s*100),ce=e(j.l*100);return this._a==1?\"hsl(\"+ee+\", \"+ie+\"%, \"+ce+\"%)\":\"hsla(\"+ee+\", \"+ie+\"%, \"+ce+\"%, \"+this._roundA+\")\"},toHex:function(j){return d(this._r,this._g,this._b,j)},toHexString:function(j){return\"#\"+this.toHex(j)},toHex8:function(j){return T(this._r,this._g,this._b,this._a,j)},toHex8String:function(j){return\"#\"+this.toHex8(j)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+e(this._r)+\", \"+e(this._g)+\", \"+e(this._b)+\")\":\"rgba(\"+e(this._r)+\", \"+e(this._g)+\", \"+e(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:e(N(this._r,255)*100)+\"%\",g:e(N(this._g,255)*100)+\"%\",b:e(N(this._b,255)*100)+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+e(N(this._r,255)*100)+\"%, \"+e(N(this._g,255)*100)+\"%, \"+e(N(this._b,255)*100)+\"%)\":\"rgba(\"+e(N(this._r,255)*100)+\"%, \"+e(N(this._g,255)*100)+\"%, \"+e(N(this._b,255)*100)+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":this._a<1?!1:B[d(this._r,this._g,this._b,!0)]||!1},toFilter:function(j){var ee=\"#\"+l(this._r,this._g,this._b,this._a),ie=ee,ce=this._gradientType?\"GradientType = 1, \":\"\";if(j){var xe=n(j);ie=\"#\"+l(xe._r,xe._g,xe._b,xe._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+ce+\"startColorstr=\"+ee+\",endColorstr=\"+ie+\")\"},toString:function(j){var ee=!!j;j=j||this._format;var ie=!1,ce=this._a<1&&this._a>=0,xe=!ee&&ce&&(j===\"hex\"||j===\"hex6\"||j===\"hex3\"||j===\"hex4\"||j===\"hex8\"||j===\"name\");return xe?j===\"name\"&&this._a===0?this.toName():this.toRgbString():(j===\"rgb\"&&(ie=this.toRgbString()),j===\"prgb\"&&(ie=this.toPercentageRgbString()),(j===\"hex\"||j===\"hex6\")&&(ie=this.toHexString()),j===\"hex3\"&&(ie=this.toHexString(!0)),j===\"hex4\"&&(ie=this.toHex8String(!0)),j===\"hex8\"&&(ie=this.toHex8String()),j===\"name\"&&(ie=this.toName()),j===\"hsl\"&&(ie=this.toHslString()),j===\"hsv\"&&(ie=this.toHsvString()),ie||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(j,ee){var ie=j.apply(null,[this].concat([].slice.call(ee)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(E,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(j,ee){return j.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(u,arguments)},monochromatic:function(){return this._applyCombination(z,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(f,arguments)}},n.fromRatio=function(j,ee){if(typeof j==\"object\"){var ie={};for(var ce in j)j.hasOwnProperty(ce)&&(ce===\"a\"?ie[ce]=j[ce]:ie[ce]=fe(j[ce]));j=ie}return n(j,ee)};function i(j){var ee={r:0,g:0,b:0},ie=1,ce=null,xe=null,Te=null,Ue=!1,Ie=!1;return typeof j==\"string\"&&(j=re(j)),typeof j==\"object\"&&(X(j.r)&&X(j.g)&&X(j.b)?(ee=a(j.r,j.g,j.b),Ue=!0,Ie=String(j.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):X(j.h)&&X(j.s)&&X(j.v)?(ce=fe(j.s),xe=fe(j.v),ee=p(j.h,ce,xe),Ue=!0,Ie=\"hsv\"):X(j.h)&&X(j.s)&&X(j.l)&&(ce=fe(j.s),Te=fe(j.l),ee=c(j.h,ce,Te),Ue=!0,Ie=\"hsl\"),j.hasOwnProperty(\"a\")&&(ie=j.a)),ie=I(ie),{ok:Ue,format:j.format||Ie,r:t(255,r(ee.r,0)),g:t(255,r(ee.g,0)),b:t(255,r(ee.b,0)),a:ie}}function a(j,ee,ie){return{r:N(j,255)*255,g:N(ee,255)*255,b:N(ie,255)*255}}function s(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=(ce+xe)/2;if(ce==xe)Te=Ue=0;else{var Ye=ce-xe;switch(Ue=Ie>.5?Ye/(2-ce-xe):Ye/(ce+xe),ce){case j:Te=(ee-ie)/Ye+(ee1&&(tt-=1),tt<1/6?it+(at-it)*6*tt:tt<1/2?at:tt<2/3?it+(at-it)*(2/3-tt)*6:it}if(ee===0)ce=xe=Te=ie;else{var Ie=ie<.5?ie*(1+ee):ie+ee-ie*ee,Ye=2*ie-Ie;ce=Ue(Ye,Ie,j+1/3),xe=Ue(Ye,Ie,j),Te=Ue(Ye,Ie,j-1/3)}return{r:ce*255,g:xe*255,b:Te*255}}function h(j,ee,ie){j=N(j,255),ee=N(ee,255),ie=N(ie,255);var ce=r(j,ee,ie),xe=t(j,ee,ie),Te,Ue,Ie=ce,Ye=ce-xe;if(Ue=ce===0?0:Ye/ce,ce==xe)Te=0;else{switch(ce){case j:Te=(ee-ie)/Ye+(ee>1)+720)%360;--ee;)ce.h=(ce.h+xe)%360,Te.push(n(ce));return Te}function z(j,ee){ee=ee||6;for(var ie=n(j).toHsv(),ce=ie.h,xe=ie.s,Te=ie.v,Ue=[],Ie=1/ee;ee--;)Ue.push(n({h:ce,s:xe,v:Te})),Te=(Te+Ie)%1;return Ue}n.mix=function(j,ee,ie){ie=ie===0?0:ie||50;var ce=n(j).toRgb(),xe=n(ee).toRgb(),Te=ie/100,Ue={r:(xe.r-ce.r)*Te+ce.r,g:(xe.g-ce.g)*Te+ce.g,b:(xe.b-ce.b)*Te+ce.b,a:(xe.a-ce.a)*Te+ce.a};return n(Ue)},n.readability=function(j,ee){var ie=n(j),ce=n(ee);return(g.max(ie.getLuminance(),ce.getLuminance())+.05)/(g.min(ie.getLuminance(),ce.getLuminance())+.05)},n.isReadable=function(j,ee,ie){var ce=n.readability(j,ee),xe,Te;switch(Te=!1,xe=ae(ie),xe.level+xe.size){case\"AAsmall\":case\"AAAlarge\":Te=ce>=4.5;break;case\"AAlarge\":Te=ce>=3;break;case\"AAAsmall\":Te=ce>=7;break}return Te},n.mostReadable=function(j,ee,ie){var ce=null,xe=0,Te,Ue,Ie,Ye;ie=ie||{},Ue=ie.includeFallbackColors,Ie=ie.level,Ye=ie.size;for(var it=0;itxe&&(xe=Te,ce=n(ee[it]));return n.isReadable(j,ce,{level:Ie,size:Ye})||!Ue?ce:(ie.includeFallbackColors=!1,n.mostReadable(j,[\"#fff\",\"#000\"],ie))};var F=n.names={aliceblue:\"f0f8ff\",antiquewhite:\"faebd7\",aqua:\"0ff\",aquamarine:\"7fffd4\",azure:\"f0ffff\",beige:\"f5f5dc\",bisque:\"ffe4c4\",black:\"000\",blanchedalmond:\"ffebcd\",blue:\"00f\",blueviolet:\"8a2be2\",brown:\"a52a2a\",burlywood:\"deb887\",burntsienna:\"ea7e5d\",cadetblue:\"5f9ea0\",chartreuse:\"7fff00\",chocolate:\"d2691e\",coral:\"ff7f50\",cornflowerblue:\"6495ed\",cornsilk:\"fff8dc\",crimson:\"dc143c\",cyan:\"0ff\",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:\"f0f\",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:\"789\",lightslategrey:\"789\",lightsteelblue:\"b0c4de\",lightyellow:\"ffffe0\",lime:\"0f0\",limegreen:\"32cd32\",linen:\"faf0e6\",magenta:\"f0f\",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:\"f00\",rosybrown:\"bc8f8f\",royalblue:\"4169e1\",saddlebrown:\"8b4513\",salmon:\"fa8072\",sandybrown:\"f4a460\",seagreen:\"2e8b57\",seashell:\"fff5ee\",sienna:\"a0522d\",silver:\"c0c0c0\",skyblue:\"87ceeb\",slateblue:\"6a5acd\",slategray:\"708090\",slategrey:\"708090\",snow:\"fffafa\",springgreen:\"00ff7f\",steelblue:\"4682b4\",tan:\"d2b48c\",teal:\"008080\",thistle:\"d8bfd8\",tomato:\"ff6347\",turquoise:\"40e0d0\",violet:\"ee82ee\",wheat:\"f5deb3\",white:\"fff\",whitesmoke:\"f5f5f5\",yellow:\"ff0\",yellowgreen:\"9acd32\"},B=n.hexNames=O(F);function O(j){var ee={};for(var ie in j)j.hasOwnProperty(ie)&&(ee[j[ie]]=ie);return ee}function I(j){return j=parseFloat(j),(isNaN(j)||j<0||j>1)&&(j=1),j}function N(j,ee){Q(j)&&(j=\"100%\");var ie=le(j);return j=t(ee,r(0,parseFloat(j))),ie&&(j=parseInt(j*ee,10)/100),g.abs(j-ee)<1e-6?1:j%ee/parseFloat(ee)}function U(j){return t(1,r(0,j))}function W(j){return parseInt(j,16)}function Q(j){return typeof j==\"string\"&&j.indexOf(\".\")!=-1&&parseFloat(j)===1}function le(j){return typeof j==\"string\"&&j.indexOf(\"%\")!=-1}function se(j){return j.length==1?\"0\"+j:\"\"+j}function fe(j){return j<=1&&(j=j*100+\"%\"),j}function G(j){return g.round(parseFloat(j)*255).toString(16)}function $(j){return W(j)/255}var J=function(){var j=\"[-\\\\+]?\\\\d+%?\",ee=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",ie=\"(?:\"+ee+\")|(?:\"+j+\")\",ce=\"[\\\\s|\\\\(]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")\\\\s*\\\\)?\",xe=\"[\\\\s|\\\\(]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")[,|\\\\s]+(\"+ie+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(ie),rgb:new RegExp(\"rgb\"+ce),rgba:new RegExp(\"rgba\"+xe),hsl:new RegExp(\"hsl\"+ce),hsla:new RegExp(\"hsla\"+xe),hsv:new RegExp(\"hsv\"+ce),hsva:new RegExp(\"hsva\"+xe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function X(j){return!!J.CSS_UNIT.exec(j)}function re(j){j=j.replace(x,\"\").replace(A,\"\").toLowerCase();var ee=!1;if(F[j])j=F[j],ee=!0;else if(j==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var ie;return(ie=J.rgb.exec(j))?{r:ie[1],g:ie[2],b:ie[3]}:(ie=J.rgba.exec(j))?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=J.hsl.exec(j))?{h:ie[1],s:ie[2],l:ie[3]}:(ie=J.hsla.exec(j))?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=J.hsv.exec(j))?{h:ie[1],s:ie[2],v:ie[3]}:(ie=J.hsva.exec(j))?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=J.hex8.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),a:$(ie[4]),format:ee?\"name\":\"hex8\"}:(ie=J.hex6.exec(j))?{r:W(ie[1]),g:W(ie[2]),b:W(ie[3]),format:ee?\"name\":\"hex\"}:(ie=J.hex4.exec(j))?{r:W(ie[1]+\"\"+ie[1]),g:W(ie[2]+\"\"+ie[2]),b:W(ie[3]+\"\"+ie[3]),a:$(ie[4]+\"\"+ie[4]),format:ee?\"name\":\"hex8\"}:(ie=J.hex3.exec(j))?{r:W(ie[1]+\"\"+ie[1]),g:W(ie[2]+\"\"+ie[2]),b:W(ie[3]+\"\"+ie[3]),format:ee?\"name\":\"hex\"}:!1}function ae(j){var ee,ie;return j=j||{level:\"AA\",size:\"small\"},ee=(j.level||\"AA\").toUpperCase(),ie=(j.size||\"small\").toLowerCase(),ee!==\"AA\"&&ee!==\"AAA\"&&(ee=\"AA\"),ie!==\"small\"&&ie!==\"large\"&&(ie=\"small\"),{level:ee,size:ie}}typeof H<\"u\"&&H.exports?H.exports=n:window.tinycolor=n})(Math)}}),To=ke({\"src/lib/extend.js\"(Z){\"use strict\";var H=Bi(),g=Array.isArray;function x(S,e){var t,r;for(t=0;t=0)))return n;if(h===3)s[h]>1&&(s[h]=1);else if(s[h]>=1)return n}var p=Math.round(s[0]*255)+\", \"+Math.round(s[1]*255)+\", \"+Math.round(s[2]*255);return c?\"rgba(\"+p+\", \"+s[3]+\")\":\"rgb(\"+p+\")\"}}}),Lp=ke({\"src/constants/interactions.js\"(Z,H){\"use strict\";H.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}}),Ng=ke({\"src/lib/regex.js\"(Z){\"use strict\";Z.counter=function(H,g,x,A){var S=(g||\"\")+(x?\"\":\"$\"),e=A===!1?\"\":\"^\";return H===\"xy\"?new RegExp(e+\"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?\"+S):new RegExp(e+H+\"([2-9]|[1-9][0-9]+)?\"+S)}}}),KS=ke({\"src/lib/coerce.js\"(Z){\"use strict\";var H=Yn(),g=ru(),x=To().extendFlat,A=Ol(),S=Cm(),e=eo(),t=Lp().DESELECTDIM,r=ms(),o=Ng().counter,n=_f().modHalf,i=Oa().isArrayOrTypedArray,a=Oa().isTypedArraySpec,s=Oa().decodeTypedArraySpec;Z.valObjectMeta={data_array:{coerceFunction:function(h,p,d){p.set(i(h)?h:a(h)?s(h):d)}},enumerated:{coerceFunction:function(h,p,d,T){T.coerceNumber&&(h=+h),T.values.indexOf(h)===-1?p.set(d):p.set(h)},validateFunction:function(h,p){p.coerceNumber&&(h=+h);for(var d=p.values,T=0;TT.max?p.set(d):p.set(+h)}},integer:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}a(h)&&(h=s(h)),h%1||!H(h)||T.min!==void 0&&hT.max?p.set(d):p.set(+h)}},string:{coerceFunction:function(h,p,d,T){if(typeof h!=\"string\"){var l=typeof h==\"number\";T.strict===!0||!l?p.set(d):p.set(String(h))}else T.noBlank&&!h?p.set(d):p.set(h)}},color:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),g(h).isValid()?p.set(h):p.set(d)}},colorlist:{coerceFunction:function(h,p,d){function T(l){return g(l).isValid()}!Array.isArray(h)||!h.length?p.set(d):h.every(T)?p.set(h):p.set(d)}},colorscale:{coerceFunction:function(h,p,d){p.set(S.get(h,d))}},angle:{coerceFunction:function(h,p,d){a(h)&&(h=s(h)),h===\"auto\"?p.set(\"auto\"):H(h)?p.set(n(+h,360)):p.set(d)}},subplotid:{coerceFunction:function(h,p,d,T){var l=T.regex||o(d);if(typeof h==\"string\"&&l.test(h)){p.set(h);return}p.set(d)},validateFunction:function(h,p){var d=p.dflt;return h===d?!0:typeof h!=\"string\"?!1:!!o(d).test(h)}},flaglist:{coerceFunction:function(h,p,d,T){if((T.extras||[]).indexOf(h)!==-1){p.set(h);return}if(typeof h!=\"string\"){p.set(d);return}for(var l=h.split(\"+\"),_=0;_/g),h=0;h1){var e=[\"LOG:\"];for(S=0;S1){var t=[];for(S=0;S\"),\"long\")}},A.warn=function(){var S;if(g.logging>0){var e=[\"WARN:\"];for(S=0;S0){var t=[];for(S=0;S\"),\"stick\")}},A.error=function(){var S;if(g.logging>0){var e=[\"ERROR:\"];for(S=0;S0){var t=[];for(S=0;S\"),\"stick\")}}}}),n_=ke({\"src/lib/noop.js\"(Z,H){\"use strict\";H.exports=function(){}}}),Ow=ke({\"src/lib/push_unique.js\"(Z,H){\"use strict\";H.exports=function(x,A){if(A instanceof RegExp){for(var S=A.toString(),e=0;e0){for(var r=[],o=0;o=l&&F<=_?F:e}if(typeof F!=\"string\"&&typeof F!=\"number\")return e;F=String(F);var U=d(B),W=F.charAt(0);U&&(W===\"G\"||W===\"g\")&&(F=F.substr(1),B=\"\");var Q=U&&B.substr(0,7)===\"chinese\",le=F.match(Q?h:c);if(!le)return e;var se=le[1],fe=le[3]||\"1\",G=Number(le[5]||1),$=Number(le[7]||0),J=Number(le[9]||0),X=Number(le[11]||0);if(U){if(se.length===2)return e;se=Number(se);var re;try{var ae=a.getComponentMethod(\"calendars\",\"getCal\")(B);if(Q){var j=fe.charAt(fe.length-1)===\"i\";fe=parseInt(fe,10),re=ae.newDate(se,ae.toMonthIndex(se,fe,j),G)}else re=ae.newDate(se,Number(fe),G)}catch{return e}return re?(re.toJD()-i)*t+$*r+J*o+X*n:e}se.length===2?se=(Number(se)+2e3-p)%100+p:se=Number(se),fe-=1;var ee=new Date(Date.UTC(2e3,fe,G,$,J));return ee.setUTCFullYear(se),ee.getUTCMonth()!==fe||ee.getUTCDate()!==G?e:ee.getTime()+X*n},l=Z.MIN_MS=Z.dateTime2ms(\"-9999\"),_=Z.MAX_MS=Z.dateTime2ms(\"9999-12-31 23:59:59.9999\"),Z.isDateTime=function(F,B){return Z.dateTime2ms(F,B)!==e};function w(F,B){return String(F+Math.pow(10,B)).substr(1)}var M=90*t,E=3*r,m=5*o;Z.ms2DateTime=function(F,B,O){if(typeof F!=\"number\"||!(F>=l&&F<=_))return e;B||(B=0);var I=Math.floor(A(F+.05,1)*10),N=Math.round(F-I/10),U,W,Q,le,se,fe;if(d(O)){var G=Math.floor(N/t)+i,$=Math.floor(A(F,t));try{U=a.getComponentMethod(\"calendars\",\"getCal\")(O).fromJD(G).formatDate(\"yyyy-mm-dd\")}catch{U=s(\"G%Y-%m-%d\")(new Date(N))}if(U.charAt(0)===\"-\")for(;U.length<11;)U=\"-0\"+U.substr(1);else for(;U.length<10;)U=\"0\"+U;W=B=l+t&&F<=_-t))return e;var B=Math.floor(A(F+.05,1)*10),O=new Date(Math.round(F-B/10)),I=H(\"%Y-%m-%d\")(O),N=O.getHours(),U=O.getMinutes(),W=O.getSeconds(),Q=O.getUTCMilliseconds()*10+B;return b(I,N,U,W,Q)};function b(F,B,O,I,N){if((B||O||I||N)&&(F+=\" \"+w(B,2)+\":\"+w(O,2),(I||N)&&(F+=\":\"+w(I,2),N))){for(var U=4;N%10===0;)U-=1,N/=10;F+=\".\"+w(N,U)}return F}Z.cleanDate=function(F,B,O){if(F===e)return B;if(Z.isJSDate(F)||typeof F==\"number\"&&isFinite(F)){if(d(O))return x.error(\"JS Dates and milliseconds are incompatible with world calendars\",F),B;if(F=Z.ms2DateTimeLocal(+F),!F&&B!==void 0)return B}else if(!Z.isDateTime(F,O))return x.error(\"unrecognized date\",F),B;return F};var v=/%\\d?f/g,u=/%h/g,y={1:\"1\",2:\"1\",3:\"2\",4:\"2\"};function f(F,B,O,I){F=F.replace(v,function(U){var W=Math.min(+U.charAt(1)||6,6),Q=(B/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,\"\")||\"0\";return Q});var N=new Date(Math.floor(B+.05));if(F=F.replace(u,function(){return y[O(\"%q\")(N)]}),d(I))try{F=a.getComponentMethod(\"calendars\",\"worldCalFmt\")(F,B,I)}catch{return\"Invalid\"}return O(F)(N)}var P=[59,59.9,59.99,59.999,59.9999];function L(F,B){var O=A(F+.05,t),I=w(Math.floor(O/r),2)+\":\"+w(A(Math.floor(O/o),60),2);if(B!==\"M\"){g(B)||(B=0);var N=Math.min(A(F/n,60),P[B]),U=(100+N).toFixed(B).substr(1);B>0&&(U=U.replace(/0+$/,\"\").replace(/[\\.]$/,\"\")),I+=\":\"+U}return I}Z.formatDate=function(F,B,O,I,N,U){if(N=d(N)&&N,!B)if(O===\"y\")B=U.year;else if(O===\"m\")B=U.month;else if(O===\"d\")B=U.dayMonth+`\n`+U.year;else return L(F,O)+`\n`+f(U.dayMonthYear,F,I,N);return f(B,F,I,N)};var z=3*t;Z.incrementMonth=function(F,B,O){O=d(O)&&O;var I=A(F,t);if(F=Math.round(F-I),O)try{var N=Math.round(F/t)+i,U=a.getComponentMethod(\"calendars\",\"getCal\")(O),W=U.fromJD(N);return B%12?U.add(W,B,\"m\"):U.add(W,B/12,\"y\"),(W.toJD()-i)*t+I}catch{x.error(\"invalid ms \"+F+\" in calendar \"+O)}var Q=new Date(F+z);return Q.setUTCMonth(Q.getUTCMonth()+B)+I-z},Z.findExactDates=function(F,B){for(var O=0,I=0,N=0,U=0,W,Q,le=d(B)&&a.getComponentMethod(\"calendars\",\"getCal\")(B),se=0;se1?(i[c-1]-i[0])/(c-1):1,d,T;for(p>=0?T=a?e:t:T=a?o:r,n+=p*S*(a?-1:1)*(p>=0?1:-1);s90&&g.log(\"Long binary search...\"),s-1};function e(n,i){return ni}function o(n,i){return n>=i}Z.sorterAsc=function(n,i){return n-i},Z.sorterDes=function(n,i){return i-n},Z.distinctVals=function(n){var i=n.slice();i.sort(Z.sorterAsc);var a;for(a=i.length-1;a>-1&&i[a]===A;a--);for(var s=i[a]-i[0]||1,c=s/(a||1)/1e4,h=[],p,d=0;d<=a;d++){var T=i[d],l=T-p;p===void 0?(h.push(T),p=T):l>c&&(s=Math.min(s,l),h.push(T),p=T)}return{vals:h,minDiff:s}},Z.roundUp=function(n,i,a){for(var s=0,c=i.length-1,h,p=0,d=a?0:1,T=a?1:0,l=a?Math.ceil:Math.floor;s0&&(s=1),a&&s)return n.sort(i)}return s?n:n.reverse()},Z.findIndexOfMin=function(n,i){i=i||x;for(var a=1/0,s,c=0;cS.length)&&(e=S.length),H(A)||(A=!1),g(S[0])){for(r=new Array(e),t=0;tx.length-1)return x[x.length-1];var S=A%1;return S*x[Math.ceil(A)]+(1-S)*x[Math.floor(A)]}}}),LE=ke({\"src/lib/angles.js\"(Z,H){\"use strict\";var g=_f(),x=g.mod,A=g.modHalf,S=Math.PI,e=2*S;function t(T){return T/180*S}function r(T){return T/S*180}function o(T){return Math.abs(T[1]-T[0])>e-1e-14}function n(T,l){return A(l-T,e)}function i(T,l){return Math.abs(n(T,l))}function a(T,l){if(o(l))return!0;var _,w;l[0]w&&(w+=e);var M=x(T,e),E=M+e;return M>=_&&M<=w||E>=_&&E<=w}function s(T,l,_,w){if(!a(l,w))return!1;var M,E;return _[0]<_[1]?(M=_[0],E=_[1]):(M=_[1],E=_[0]),T>=M&&T<=E}function c(T,l,_,w,M,E,m){M=M||0,E=E||0;var b=o([_,w]),v,u,y,f,P;b?(v=0,u=S,y=e):_1/3&&g.x<2/3},Z.isRightAnchor=function(g){return g.xanchor===\"right\"||g.xanchor===\"auto\"&&g.x>=2/3},Z.isTopAnchor=function(g){return g.yanchor===\"top\"||g.yanchor===\"auto\"&&g.y>=2/3},Z.isMiddleAnchor=function(g){return g.yanchor===\"middle\"||g.yanchor===\"auto\"&&g.y>1/3&&g.y<2/3},Z.isBottomAnchor=function(g){return g.yanchor===\"bottom\"||g.yanchor===\"auto\"&&g.y<=1/3}}}),IE=ke({\"src/lib/geometry2d.js\"(Z){\"use strict\";var H=_f().mod;Z.segmentsIntersect=g;function g(t,r,o,n,i,a,s,c){var h=o-t,p=i-t,d=s-i,T=n-r,l=a-r,_=c-a,w=h*_-d*T;if(w===0)return null;var M=(p*_-d*l)/w,E=(p*T-h*l)/w;return E<0||E>1||M<0||M>1?null:{x:t+h*M,y:r+T*M}}Z.segmentDistance=function(r,o,n,i,a,s,c,h){if(g(r,o,n,i,a,s,c,h))return 0;var p=n-r,d=i-o,T=c-a,l=h-s,_=p*p+d*d,w=T*T+l*l,M=Math.min(x(p,d,_,a-r,s-o),x(p,d,_,c-r,h-o),x(T,l,w,r-a,o-s),x(T,l,w,n-a,i-s));return Math.sqrt(M)};function x(t,r,o,n,i){var a=n*t+i*r;if(a<0)return n*n+i*i;if(a>o){var s=n-t,c=i-r;return s*s+c*c}else{var h=n*r-i*t;return h*h/o}}var A,S,e;Z.getTextLocation=function(r,o,n,i){if((r!==S||i!==e)&&(A={},S=r,e=i),A[n])return A[n];var a=r.getPointAtLength(H(n-i/2,o)),s=r.getPointAtLength(H(n+i/2,o)),c=Math.atan((s.y-a.y)/(s.x-a.x)),h=r.getPointAtLength(H(n,o)),p=(h.x*4+a.x+s.x)/6,d=(h.y*4+a.y+s.y)/6,T={x:p,y:d,theta:c};return A[n]=T,T},Z.clearLocationCache=function(){S=null},Z.getVisibleSegment=function(r,o,n){var i=o.left,a=o.right,s=o.top,c=o.bottom,h=0,p=r.getTotalLength(),d=p,T,l;function _(M){var E=r.getPointAtLength(M);M===0?T=E:M===p&&(l=E);var m=E.xa?E.x-a:0,b=E.yc?E.y-c:0;return Math.sqrt(m*m+b*b)}for(var w=_(h);w;){if(h+=w+n,h>d)return;w=_(h)}for(w=_(d);w;){if(d-=w+n,h>d)return;w=_(d)}return{min:h,max:d,len:d-h,total:p,isClosed:h===0&&d===p&&Math.abs(T.x-l.x)<.1&&Math.abs(T.y-l.y)<.1}},Z.findPointOnPath=function(r,o,n,i){i=i||{};for(var a=i.pathLength||r.getTotalLength(),s=i.tolerance||.001,c=i.iterationLimit||30,h=r.getPointAtLength(0)[n]>r.getPointAtLength(a)[n]?-1:1,p=0,d=0,T=a,l,_,w;p0?T=l:d=l,p++}return _}}}),l_=ke({\"src/lib/throttle.js\"(Z){\"use strict\";var H={};Z.throttle=function(A,S,e){var t=H[A],r=Date.now();if(!t){for(var o in H)H[o].tst.ts+S){n();return}t.timer=setTimeout(function(){n(),t.timer=null},S)},Z.done=function(x){var A=H[x];return!A||!A.timer?Promise.resolve():new Promise(function(S){var e=A.onDone;A.onDone=function(){e&&e(),S(),A.onDone=null}})},Z.clear=function(x){if(x)g(H[x]),delete H[x];else for(var A in H)Z.clear(A)};function g(x){x&&x.timer!==null&&(clearTimeout(x.timer),x.timer=null)}}}),RE=ke({\"src/lib/clear_responsive.js\"(Z,H){\"use strict\";H.exports=function(x){x._responsiveChartHandler&&(window.removeEventListener(\"resize\",x._responsiveChartHandler),delete x._responsiveChartHandler)}}}),DE=ke({\"node_modules/is-mobile/index.js\"(Z,H){\"use strict\";H.exports=S,H.exports.isMobile=S,H.exports.default=S;var g=/(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,x=/CrOS/,A=/android|ipad|playbook|silk/i;function S(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<\"u\"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers[\"user-agent\"]==\"string\"&&(t=t.headers[\"user-agent\"]),typeof t!=\"string\")return!1;let r=g.test(t)&&!x.test(t)||!!e.tablet&&A.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf(\"Macintosh\")!==-1&&t.indexOf(\"Safari\")!==-1&&(r=!0),r}}}),zE=ke({\"src/lib/preserve_drawing_buffer.js\"(Z,H){\"use strict\";var g=Yn(),x=DE();H.exports=function(e){var t;if(e&&e.hasOwnProperty(\"userAgent\")?t=e.userAgent:t=A(),typeof t!=\"string\")return!0;var r=x({ua:{headers:{\"user-agent\":t}},tablet:!0,featureDetect:!1});if(!r)for(var o=t.split(\" \"),n=1;n-1;a--){var s=o[a];if(s.substr(0,8)===\"Version/\"){var c=s.substr(8).split(\".\")[0];if(g(c)&&(c=+c),c>=13)return!0}}}return r};function A(){var S;return typeof navigator<\"u\"&&(S=navigator.userAgent),S&&S.headers&&typeof S.headers[\"user-agent\"]==\"string\"&&(S=S.headers[\"user-agent\"]),S}}}),FE=ke({\"src/lib/make_trace_groups.js\"(Z,H){\"use strict\";var g=_i();H.exports=function(A,S,e){var t=A.selectAll(\"g.\"+e.replace(/\\s/g,\".\")).data(S,function(o){return o[0].trace.uid});t.exit().remove(),t.enter().append(\"g\").attr(\"class\",e),t.order();var r=A.classed(\"rangeplot\")?\"nodeRangePlot3\":\"node3\";return t.each(function(o){o[0][r]=g.select(this)}),t}}}),OE=ke({\"src/lib/localize.js\"(Z,H){\"use strict\";var g=lo();H.exports=function(A,S){for(var e=A._context.locale,t=0;t<2;t++){for(var r=A._context.locales,o=0;o<2;o++){var n=(r[e]||{}).dictionary;if(n){var i=n[S];if(i)return i}r=g.localeRegistry}var a=e.split(\"-\")[0];if(a===e)break;e=a}return S}}}),Vw=ke({\"src/lib/filter_unique.js\"(Z,H){\"use strict\";H.exports=function(x){for(var A={},S=[],e=0,t=0;t1?(S*x+S*A)/S:x+A,t=String(e).length;if(t>16){var r=String(A).length,o=String(x).length;if(t>=o+r){var n=parseFloat(e).toPrecision(12);n.indexOf(\"e+\")===-1&&(e=+n)}}return e}}}),UE=ke({\"src/lib/clean_number.js\"(Z,H){\"use strict\";var g=Yn(),x=Hi().BADNUM,A=/^['\"%,$#\\s']+|[, ]|['\"%,$#\\s']+$/g;H.exports=function(e){return typeof e==\"string\"&&(e=e.replace(A,\"\")),g(e)?Number(e):x}}}),un=ke({\"src/lib/index.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().utcFormat,A=$n().format,S=Yn(),e=Hi(),t=e.FP_SAFE,r=-t,o=e.BADNUM,n=H.exports={};n.adjustFormat=function(ae){return!ae||/^\\d[.]\\df/.test(ae)||/[.]\\d%/.test(ae)?ae:ae===\"0.f\"?\"~f\":/^\\d%/.test(ae)?\"~%\":/^\\ds/.test(ae)?\"~s\":!/^[~,.0$]/.test(ae)&&/[&fps]/.test(ae)?\"~\"+ae:ae};var i={};n.warnBadFormat=function(re){var ae=String(re);i[ae]||(i[ae]=1,n.warn('encountered bad format: \"'+ae+'\"'))},n.noFormat=function(re){return String(re)},n.numberFormat=function(re){var ae;try{ae=A(n.adjustFormat(re))}catch{return n.warnBadFormat(re),n.noFormat}return ae},n.nestedProperty=ms(),n.keyedContainer=Is(),n.relativeAttr=Cu(),n.isPlainObject=Bi(),n.toLogRange=Zf(),n.relinkPrivateKeys=Sd();var a=Oa();n.isArrayBuffer=a.isArrayBuffer,n.isTypedArray=a.isTypedArray,n.isArrayOrTypedArray=a.isArrayOrTypedArray,n.isArray1D=a.isArray1D,n.ensureArray=a.ensureArray,n.concat=a.concat,n.maxRowLength=a.maxRowLength,n.minRowLength=a.minRowLength;var s=_f();n.mod=s.mod,n.modHalf=s.modHalf;var c=KS();n.valObjectMeta=c.valObjectMeta,n.coerce=c.coerce,n.coerce2=c.coerce2,n.coerceFont=c.coerceFont,n.coercePattern=c.coercePattern,n.coerceHoverinfo=c.coerceHoverinfo,n.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,n.validate=c.validate;var h=CE();n.dateTime2ms=h.dateTime2ms,n.isDateTime=h.isDateTime,n.ms2DateTime=h.ms2DateTime,n.ms2DateTimeLocal=h.ms2DateTimeLocal,n.cleanDate=h.cleanDate,n.isJSDate=h.isJSDate,n.formatDate=h.formatDate,n.incrementMonth=h.incrementMonth,n.dateTick0=h.dateTick0,n.dfltRange=h.dfltRange,n.findExactDates=h.findExactDates,n.MIN_MS=h.MIN_MS,n.MAX_MS=h.MAX_MS;var p=s_();n.findBin=p.findBin,n.sorterAsc=p.sorterAsc,n.sorterDes=p.sorterDes,n.distinctVals=p.distinctVals,n.roundUp=p.roundUp,n.sort=p.sort,n.findIndexOfMin=p.findIndexOfMin,n.sortObjectKeys=Ip();var d=kE();n.aggNums=d.aggNums,n.len=d.len,n.mean=d.mean,n.geometricMean=d.geometricMean,n.median=d.median,n.midRange=d.midRange,n.variance=d.variance,n.stdev=d.stdev,n.interp=d.interp;var T=i_();n.init2dArray=T.init2dArray,n.transposeRagged=T.transposeRagged,n.dot=T.dot,n.translationMatrix=T.translationMatrix,n.rotationMatrix=T.rotationMatrix,n.rotationXYMatrix=T.rotationXYMatrix,n.apply3DTransform=T.apply3DTransform,n.apply2DTransform=T.apply2DTransform,n.apply2DTransform2=T.apply2DTransform2,n.convertCssMatrix=T.convertCssMatrix,n.inverseTransformMatrix=T.inverseTransformMatrix;var l=LE();n.deg2rad=l.deg2rad,n.rad2deg=l.rad2deg,n.angleDelta=l.angleDelta,n.angleDist=l.angleDist,n.isFullCircle=l.isFullCircle,n.isAngleInsideSector=l.isAngleInsideSector,n.isPtInsideSector=l.isPtInsideSector,n.pathArc=l.pathArc,n.pathSector=l.pathSector,n.pathAnnulus=l.pathAnnulus;var _=PE();n.isLeftAnchor=_.isLeftAnchor,n.isCenterAnchor=_.isCenterAnchor,n.isRightAnchor=_.isRightAnchor,n.isTopAnchor=_.isTopAnchor,n.isMiddleAnchor=_.isMiddleAnchor,n.isBottomAnchor=_.isBottomAnchor;var w=IE();n.segmentsIntersect=w.segmentsIntersect,n.segmentDistance=w.segmentDistance,n.getTextLocation=w.getTextLocation,n.clearLocationCache=w.clearLocationCache,n.getVisibleSegment=w.getVisibleSegment,n.findPointOnPath=w.findPointOnPath;var M=To();n.extendFlat=M.extendFlat,n.extendDeep=M.extendDeep,n.extendDeepAll=M.extendDeepAll,n.extendDeepNoArrays=M.extendDeepNoArrays;var E=Pp();n.log=E.log,n.warn=E.warn,n.error=E.error;var m=Ng();n.counterRegex=m.counter;var b=l_();n.throttle=b.throttle,n.throttleDone=b.done,n.clearThrottle=b.clear;var v=Yy();n.getGraphDiv=v.getGraphDiv,n.isPlotDiv=v.isPlotDiv,n.removeElement=v.removeElement,n.addStyleRule=v.addStyleRule,n.addRelatedStyleRule=v.addRelatedStyleRule,n.deleteRelatedStyleRule=v.deleteRelatedStyleRule,n.setStyleOnHover=v.setStyleOnHover,n.getFullTransformMatrix=v.getFullTransformMatrix,n.getElementTransformMatrix=v.getElementTransformMatrix,n.getElementAndAncestors=v.getElementAndAncestors,n.equalDomRects=v.equalDomRects,n.clearResponsive=RE(),n.preserveDrawingBuffer=zE(),n.makeTraceGroups=FE(),n._=OE(),n.notifier=Fw(),n.filterUnique=Vw(),n.filterVisible=BE(),n.pushUnique=Ow(),n.increment=NE(),n.cleanNumber=UE(),n.ensureNumber=function(ae){return S(ae)?(ae=Number(ae),ae>t||ae=ae?!1:S(re)&&re>=0&&re%1===0},n.noop=n_(),n.identity=Jy(),n.repeat=function(re,ae){for(var j=new Array(ae),ee=0;eej?Math.max(j,Math.min(ae,re)):Math.max(ae,Math.min(j,re))},n.bBoxIntersect=function(re,ae,j){return j=j||0,re.left<=ae.right+j&&ae.left<=re.right+j&&re.top<=ae.bottom+j&&ae.top<=re.bottom+j},n.simpleMap=function(re,ae,j,ee,ie){for(var ce=re.length,xe=new Array(ce),Te=0;Te=Math.pow(2,j)?ie>10?(n.warn(\"randstr failed uniqueness\"),xe):re(ae,j,ee,(ie||0)+1):xe},n.OptionControl=function(re,ae){re||(re={}),ae||(ae=\"opt\");var j={};return j.optionList=[],j._newoption=function(ee){ee[ae]=re,j[ee.name]=ee,j.optionList.push(ee)},j[\"_\"+ae]=re,j},n.smooth=function(re,ae){if(ae=Math.round(ae)||0,ae<2)return re;var j=re.length,ee=2*j,ie=2*ae-1,ce=new Array(ie),xe=new Array(j),Te,Ue,Ie,Ye;for(Te=0;Te=ee&&(Ie-=ee*Math.floor(Ie/ee)),Ie<0?Ie=-1-Ie:Ie>=j&&(Ie=ee-1-Ie),Ye+=re[Ie]*ce[Ue];xe[Te]=Ye}return xe},n.syncOrAsync=function(re,ae,j){var ee,ie;function ce(){return n.syncOrAsync(re,ae,j)}for(;re.length;)if(ie=re.splice(0,1)[0],ee=ie(ae),ee&&ee.then)return ee.then(ce);return j&&j(ae)},n.stripTrailingSlash=function(re){return re.substr(-1)===\"/\"?re.substr(0,re.length-1):re},n.noneOrAll=function(re,ae,j){if(re){var ee=!1,ie=!0,ce,xe;for(ce=0;ce0?ie:0})},n.fillArray=function(re,ae,j,ee){if(ee=ee||n.identity,n.isArrayOrTypedArray(re))for(var ie=0;ie1?ie+xe[1]:\"\";if(ce&&(xe.length>1||Te.length>4||j))for(;ee.test(Te);)Te=Te.replace(ee,\"$1\"+ce+\"$2\");return Te+Ue},n.TEMPLATE_STRING_REGEX=/%{([^\\s%{}:]*)([:|\\|][^}]*)?}/g;var O=/^\\w*$/;n.templateString=function(re,ae){var j={};return re.replace(n.TEMPLATE_STRING_REGEX,function(ee,ie){var ce;return O.test(ie)?ce=ae[ie]:(j[ie]=j[ie]||n.nestedProperty(ae,ie).get,ce=j[ie](!0)),ce!==void 0?ce:\"\"})};var I={max:10,count:0,name:\"hovertemplate\"};n.hovertemplateString=function(){return se.apply(I,arguments)};var N={max:10,count:0,name:\"texttemplate\"};n.texttemplateString=function(){return se.apply(N,arguments)};var U=/^(\\S+)([\\*\\/])(-?\\d+(\\.\\d+)?)$/;function W(re){var ae=re.match(U);return ae?{key:ae[1],op:ae[2],number:Number(ae[3])}:{key:re,op:null,number:null}}var Q={max:10,count:0,name:\"texttemplate\",parseMultDiv:!0};n.texttemplateStringForShapes=function(){return se.apply(Q,arguments)};var le=/^[:|\\|]/;function se(re,ae,j){var ee=this,ie=arguments;return ae||(ae={}),re.replace(n.TEMPLATE_STRING_REGEX,function(ce,xe,Te){var Ue=xe===\"xother\"||xe===\"yother\",Ie=xe===\"_xother\"||xe===\"_yother\",Ye=xe===\"_xother_\"||xe===\"_yother_\",it=xe===\"xother_\"||xe===\"yother_\",at=Ue||Ie||it||Ye,tt=xe;(Ie||Ye)&&(tt=tt.substring(1)),(it||Ye)&&(tt=tt.substring(0,tt.length-1));var ut=null,Me=null;if(ee.parseMultDiv){var pe=W(tt);tt=pe.key,ut=pe.op,Me=pe.number}var ue;if(at){if(ue=ae[tt],ue===void 0)return\"\"}else{var Oe,rt;for(rt=3;rt=fe&&xe<=G,Ie=Te>=fe&&Te<=G;if(Ue&&(ee=10*ee+xe-fe),Ie&&(ie=10*ie+Te-fe),!Ue||!Ie){if(ee!==ie)return ee-ie;if(xe!==Te)return xe-Te}}return ie-ee};var $=2e9;n.seedPseudoRandom=function(){$=2e9},n.pseudoRandom=function(){var re=$;return $=(69069*$+1)%4294967296,Math.abs($-re)<429496729?n.pseudoRandom():$/4294967296},n.fillText=function(re,ae,j){var ee=Array.isArray(j)?function(xe){j.push(xe)}:function(xe){j.text=xe},ie=n.extractOption(re,ae,\"htx\",\"hovertext\");if(n.isValidTextValue(ie))return ee(ie);var ce=n.extractOption(re,ae,\"tx\",\"text\");if(n.isValidTextValue(ce))return ee(ce)},n.isValidTextValue=function(re){return re||re===0},n.formatPercent=function(re,ae){ae=ae||0;for(var j=(Math.round(100*re*Math.pow(10,ae))*Math.pow(.1,ae)).toFixed(ae)+\"%\",ee=0;ee1&&(Ie=1):Ie=0,n.strTranslate(ie-Ie*(j+xe),ce-Ie*(ee+Te))+n.strScale(Ie)+(Ue?\"rotate(\"+Ue+(ae?\"\":\" \"+j+\" \"+ee)+\")\":\"\")},n.setTransormAndDisplay=function(re,ae){re.attr(\"transform\",n.getTextTransform(ae)),re.style(\"display\",ae.scale?null:\"none\")},n.ensureUniformFontSize=function(re,ae){var j=n.extendFlat({},ae);return j.size=Math.max(ae.size,re._fullLayout.uniformtext.minsize||0),j},n.join2=function(re,ae,j){var ee=re.length;return ee>1?re.slice(0,-1).join(ae)+j+re[ee-1]:re.join(ae)},n.bigFont=function(re){return Math.round(1.2*re)};var J=n.getFirefoxVersion(),X=J!==null&&J<86;n.getPositionFromD3Event=function(){return X?[g.event.layerX,g.event.layerY]:[g.event.offsetX,g.event.offsetY]}}}),jE=ke({\"build/plotcss.js\"(){\"use strict\";var Z=un(),H={\"X,X div\":'direction:ltr;font-family:\"Open Sans\",verdana,arial,sans-serif;margin:0;padding:0;',\"X input,X button\":'font-family:\"Open Sans\",verdana,arial,sans-serif;',\"X input:focus,X button:focus\":\"outline:none;\",\"X a\":\"text-decoration:none;\",\"X a:hover\":\"text-decoration:none;\",\"X .crisp\":\"shape-rendering:crispEdges;\",\"X .user-select-none\":\"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;\",\"X svg a\":\"fill:#447adb;\",\"X svg a:hover\":\"fill:#3c6dc5;\",\"X .main-svg\":\"position:absolute;top:0;left:0;pointer-events:none;\",\"X .main-svg .draglayer\":\"pointer-events:all;\",\"X .cursor-default\":\"cursor:default;\",\"X .cursor-pointer\":\"cursor:pointer;\",\"X .cursor-crosshair\":\"cursor:crosshair;\",\"X .cursor-move\":\"cursor:move;\",\"X .cursor-col-resize\":\"cursor:col-resize;\",\"X .cursor-row-resize\":\"cursor:row-resize;\",\"X .cursor-ns-resize\":\"cursor:ns-resize;\",\"X .cursor-ew-resize\":\"cursor:ew-resize;\",\"X .cursor-sw-resize\":\"cursor:sw-resize;\",\"X .cursor-s-resize\":\"cursor:s-resize;\",\"X .cursor-se-resize\":\"cursor:se-resize;\",\"X .cursor-w-resize\":\"cursor:w-resize;\",\"X .cursor-e-resize\":\"cursor:e-resize;\",\"X .cursor-nw-resize\":\"cursor:nw-resize;\",\"X .cursor-n-resize\":\"cursor:n-resize;\",\"X .cursor-ne-resize\":\"cursor:ne-resize;\",\"X .cursor-grab\":\"cursor:-webkit-grab;cursor:grab;\",\"X .modebar\":\"position:absolute;top:2px;right:2px;\",\"X .ease-bg\":\"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;\",\"X .modebar--hover>:not(.watermark)\":\"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;\",\"X:hover .modebar--hover .modebar-group\":\"opacity:1;\",\"X .modebar-group\":\"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;\",\"X .modebar-btn\":\"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;\",\"X .modebar-btn svg\":\"position:relative;top:2px;\",\"X .modebar.vertical\":\"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;\",\"X .modebar.vertical svg\":\"top:-1px;\",\"X .modebar.vertical .modebar-group\":\"display:block;float:none;padding-left:0px;padding-bottom:8px;\",\"X .modebar.vertical .modebar-group .modebar-btn\":\"display:block;text-align:center;\",\"X [data-title]:before,X [data-title]:after\":\"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;\",\"X [data-title]:hover:before,X [data-title]:hover:after\":\"display:block;opacity:1;\",\"X [data-title]:before\":'content:\"\";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',\"X [data-title]:after\":\"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;\",\"X .vertical [data-title]:before,X .vertical [data-title]:after\":\"top:0%;right:200%;\",\"X .vertical [data-title]:before\":\"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;\",Y:'font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',\"Y p\":\"margin:0;\",\"Y .notifier-note\":\"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;\",\"Y .notifier-close\":\"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;\",\"Y .notifier-close:hover\":\"color:#444;text-decoration:none;cursor:pointer;\"};for(x in H)g=x.replace(/^,/,\" ,\").replace(/X/g,\".js-plotly-plot .plotly\").replace(/Y/g,\".plotly-notifier\"),Z.addStyleRule(g,H[x]);var g,x}}),qw=ke({\"node_modules/is-browser/client.js\"(Z,H){H.exports=!0}}),Hw=ke({\"node_modules/has-hover/index.js\"(Z,H){\"use strict\";var g=qw(),x;typeof window.matchMedia==\"function\"?x=!window.matchMedia(\"(hover: none)\").matches:x=g,H.exports=x}}),Lm=ke({\"node_modules/events/events.js\"(Z,H){\"use strict\";var g=typeof Reflect==\"object\"?Reflect:null,x=g&&typeof g.apply==\"function\"?g.apply:function(E,m,b){return Function.prototype.apply.call(E,m,b)},A;g&&typeof g.ownKeys==\"function\"?A=g.ownKeys:Object.getOwnPropertySymbols?A=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:A=function(E){return Object.getOwnPropertyNames(E)};function S(M){console&&console.warn&&console.warn(M)}var e=Number.isNaN||function(E){return E!==E};function t(){t.init.call(this)}H.exports=t,H.exports.once=l,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var r=10;function o(M){if(typeof M!=\"function\")throw new TypeError('The \"listener\" argument must be of type Function. Received type '+typeof M)}Object.defineProperty(t,\"defaultMaxListeners\",{enumerable:!0,get:function(){return r},set:function(M){if(typeof M!=\"number\"||M<0||e(M))throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received '+M+\".\");r=M}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(E){if(typeof E!=\"number\"||E<0||e(E))throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received '+E+\".\");return this._maxListeners=E,this};function n(M){return M._maxListeners===void 0?t.defaultMaxListeners:M._maxListeners}t.prototype.getMaxListeners=function(){return n(this)},t.prototype.emit=function(E){for(var m=[],b=1;b0&&(y=m[0]),y instanceof Error)throw y;var f=new Error(\"Unhandled error.\"+(y?\" (\"+y.message+\")\":\"\"));throw f.context=y,f}var P=u[E];if(P===void 0)return!1;if(typeof P==\"function\")x(P,this,m);else for(var L=P.length,z=p(P,L),b=0;b0&&y.length>v&&!y.warned){y.warned=!0;var f=new Error(\"Possible EventEmitter memory leak detected. \"+y.length+\" \"+String(E)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");f.name=\"MaxListenersExceededWarning\",f.emitter=M,f.type=E,f.count=y.length,S(f)}return M}t.prototype.addListener=function(E,m){return i(this,E,m,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(E,m){return i(this,E,m,!0)};function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(M,E,m){var b={fired:!1,wrapFn:void 0,target:M,type:E,listener:m},v=a.bind(b);return v.listener=m,b.wrapFn=v,v}t.prototype.once=function(E,m){return o(m),this.on(E,s(this,E,m)),this},t.prototype.prependOnceListener=function(E,m){return o(m),this.prependListener(E,s(this,E,m)),this},t.prototype.removeListener=function(E,m){var b,v,u,y,f;if(o(m),v=this._events,v===void 0)return this;if(b=v[E],b===void 0)return this;if(b===m||b.listener===m)--this._eventsCount===0?this._events=Object.create(null):(delete v[E],v.removeListener&&this.emit(\"removeListener\",E,b.listener||m));else if(typeof b!=\"function\"){for(u=-1,y=b.length-1;y>=0;y--)if(b[y]===m||b[y].listener===m){f=b[y].listener,u=y;break}if(u<0)return this;u===0?b.shift():d(b,u),b.length===1&&(v[E]=b[0]),v.removeListener!==void 0&&this.emit(\"removeListener\",E,f||m)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(E){var m,b,v;if(b=this._events,b===void 0)return this;if(b.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):b[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete b[E]),this;if(arguments.length===0){var u=Object.keys(b),y;for(v=0;v=0;v--)this.removeListener(E,m[v]);return this};function c(M,E,m){var b=M._events;if(b===void 0)return[];var v=b[E];return v===void 0?[]:typeof v==\"function\"?m?[v.listener||v]:[v]:m?T(v):p(v,v.length)}t.prototype.listeners=function(E){return c(this,E,!0)},t.prototype.rawListeners=function(E){return c(this,E,!1)},t.listenerCount=function(M,E){return typeof M.listenerCount==\"function\"?M.listenerCount(E):h.call(M,E)},t.prototype.listenerCount=h;function h(M){var E=this._events;if(E!==void 0){var m=E[M];if(typeof m==\"function\")return 1;if(m!==void 0)return m.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]};function p(M,E){for(var m=new Array(E),b=0;bx.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)},S.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},S.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},S.undo=function(t){var r,o;if(!(t.undoQueue===void 0||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=t.undoQueue.queue.length)){for(r=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,o=0;o=I.length)return!1;if(L.dimensions===2){if(F++,z.length===F)return L;var N=z[F];if(!w(N))return!1;L=I[O][N]}else L=I[O]}else L=I}}return L}function w(L){return L===Math.round(L)&&L>=0}function M(L){var z,F;z=H.modules[L]._module,F=z.basePlotModule;var B={};B.type=null;var O=o({},x),I=o({},z.attributes);Z.crawl(I,function(W,Q,le,se,fe){a(O,fe).set(void 0),W===void 0&&a(I,fe).set(void 0)}),o(B,O),H.traceIs(L,\"noOpacity\")&&delete B.opacity,H.traceIs(L,\"showLegend\")||(delete B.showlegend,delete B.legendgroup),H.traceIs(L,\"noHover\")&&(delete B.hoverinfo,delete B.hoverlabel),z.selectPoints||delete B.selectedpoints,o(B,I),F.attributes&&o(B,F.attributes),B.type=L;var N={meta:z.meta||{},categories:z.categories||{},animatable:!!z.animatable,type:L,attributes:b(B)};if(z.layoutAttributes){var U={};o(U,z.layoutAttributes),N.layoutAttributes=b(U)}return z.animatable||Z.crawl(N,function(W){Z.isValObject(W)&&\"anim\"in W&&delete W.anim}),N}function E(){var L={},z,F;o(L,A);for(z in H.subplotsRegistry)if(F=H.subplotsRegistry[z],!!F.layoutAttributes)if(Array.isArray(F.attr))for(var B=0;B=n&&(o._input||{})._templateitemname;a&&(i=n);var s=r+\"[\"+i+\"]\",c;function h(){c={},a&&(c[s]={},c[s][x]=a)}h();function p(_,w){c[_]=w}function d(_,w){a?H.nestedProperty(c[s],_).set(w):c[s+\".\"+_]=w}function T(){var _=c;return h(),_}function l(_,w){_&&d(_,w);var M=T();for(var E in M)H.nestedProperty(t,E).set(M[E])}return{modifyBase:p,modifyItem:d,getUpdateObj:T,applyUpdate:l}}}}),oh=ke({\"src/plots/cartesian/constants.js\"(Z,H){\"use strict\";var g=Ng().counter;H.exports={idRegex:{x:g(\"x\",\"( domain)?\"),y:g(\"y\",\"( domain)?\")},attrRegex:g(\"[xy]axis\"),xAxisMatch:g(\"xaxis\"),yAxisMatch:g(\"yaxis\"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:\"hour\",WEEKDAY_PATTERN:\"day of week\",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:[\"imagelayer\",\"heatmaplayer\",\"contourcarpetlayer\",\"contourlayer\",\"funnellayer\",\"waterfalllayer\",\"barlayer\",\"carpetlayer\",\"violinlayer\",\"boxlayer\",\"ohlclayer\",\"scattercarpetlayer\",\"scatterlayer\"],clipOnAxisFalseQuery:[\".scatterlayer\",\".barlayer\",\".funnellayer\",\".waterfalllayer\"],layerValue2layerClass:{\"above traces\":\"above\",\"below traces\":\"below\"},zindexSeparator:\"z\"}}}),qc=ke({\"src/plots/cartesian/axis_ids.js\"(Z){\"use strict\";var H=lo(),g=oh();Z.id2name=function(S){if(!(typeof S!=\"string\"||!S.match(g.AX_ID_PATTERN))){var e=S.split(\" \")[0].substr(1);return e===\"1\"&&(e=\"\"),S.charAt(0)+\"axis\"+e}},Z.name2id=function(S){if(S.match(g.AX_NAME_PATTERN)){var e=S.substr(5);return e===\"1\"&&(e=\"\"),S.charAt(0)+e}},Z.cleanId=function(S,e,t){var r=/( domain)$/.test(S);if(!(typeof S!=\"string\"||!S.match(g.AX_ID_PATTERN))&&!(e&&S.charAt(0)!==e)&&!(r&&!t)){var o=S.split(\" \")[0].substr(1).replace(/^0+/,\"\");return o===\"1\"&&(o=\"\"),S.charAt(0)+o+(r&&t?\" domain\":\"\")}},Z.list=function(A,S,e){var t=A._fullLayout;if(!t)return[];var r=Z.listIds(A,S),o=new Array(r.length),n;for(n=0;nt?1:-1:+(A.substr(1)||1)-+(S.substr(1)||1)},Z.ref2id=function(A){return/^[xyz]/.test(A)?A.split(\" \")[0]:!1};function x(A,S){if(S&&S.length){for(var e=0;e0?\".\":\"\")+a;g.isPlainObject(s)?t(s,o,c,i+1):o(c,a,s)}})}}}),Zu=ke({\"src/plots/plots.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().timeFormatLocale,A=$n().formatLocale,S=Yn(),e=Vn(),t=lo(),r=Vg(),o=yl(),n=un(),i=eo(),a=Hi().BADNUM,s=qc(),c=Rp().clearOutline,h=u_(),p=Ky(),d=Gw(),T=bh().getModuleCalcData,l=n.relinkPrivateKeys,_=n._,w=H.exports={};n.extendFlat(w,t),w.attributes=Ol(),w.attributes.type.values=w.allTypes,w.fontAttrs=Il(),w.layoutAttributes=Ug();var M=qE();w.executeAPICommand=M.executeAPICommand,w.computeAPICommandBindings=M.computeAPICommandBindings,w.manageCommandObserver=M.manageCommandObserver,w.hasSimpleAPICommandBindings=M.hasSimpleAPICommandBindings,w.redrawText=function(G){return G=n.getGraphDiv(G),new Promise(function($){setTimeout(function(){G._fullLayout&&(t.getComponentMethod(\"annotations\",\"draw\")(G),t.getComponentMethod(\"legend\",\"draw\")(G),t.getComponentMethod(\"colorbar\",\"draw\")(G),$(w.previousPromises(G)))},300)})},w.resize=function(G){G=n.getGraphDiv(G);var $,J=new Promise(function(X,re){(!G||n.isHidden(G))&&re(new Error(\"Resize must be passed a displayed plot div element.\")),G._redrawTimer&&clearTimeout(G._redrawTimer),G._resolveResize&&($=G._resolveResize),G._resolveResize=X,G._redrawTimer=setTimeout(function(){if(!G.layout||G.layout.width&&G.layout.height||n.isHidden(G)){X(G);return}delete G.layout.width,delete G.layout.height;var ae=G.changed;G.autoplay=!0,t.call(\"relayout\",G,{autosize:!0}).then(function(){G.changed=ae,G._resolveResize===X&&(delete G._resolveResize,X(G))})},100)});return $&&$(J),J},w.previousPromises=function(G){if((G._promises||[]).length)return Promise.all(G._promises).then(function(){G._promises=[]})},w.addLinks=function(G){if(!(!G._context.showLink&&!G._context.showSources)){var $=G._fullLayout,J=n.ensureSingle($._paper,\"text\",\"js-plot-link-container\",function(ie){ie.style({\"font-family\":'\"Open Sans\", Arial, sans-serif',\"font-size\":\"12px\",fill:i.defaultLine,\"pointer-events\":\"all\"}).each(function(){var ce=g.select(this);ce.append(\"tspan\").classed(\"js-link-to-tool\",!0),ce.append(\"tspan\").classed(\"js-link-spacer\",!0),ce.append(\"tspan\").classed(\"js-sourcelinks\",!0)})}),X=J.node(),re={y:$._paper.attr(\"height\")-9};document.body.contains(X)&&X.getComputedTextLength()>=$.width-20?(re[\"text-anchor\"]=\"start\",re.x=5):(re[\"text-anchor\"]=\"end\",re.x=$._paper.attr(\"width\")-7),J.attr(re);var ae=J.select(\".js-link-to-tool\"),j=J.select(\".js-link-spacer\"),ee=J.select(\".js-sourcelinks\");G._context.showSources&&G._context.showSources(G),G._context.showLink&&E(G,ae),j.text(ae.text()&&ee.text()?\" - \":\"\")}};function E(G,$){$.text(\"\");var J=$.append(\"a\").attr({\"xlink:xlink:href\":\"#\",class:\"link--impt link--embedview\",\"font-weight\":\"bold\"}).text(G._context.linkText+\" \\xBB\");if(G._context.sendData)J.on(\"click\",function(){w.sendDataToCloud(G)});else{var X=window.location.pathname.split(\"/\"),re=window.location.search;J.attr({\"xlink:xlink:show\":\"new\",\"xlink:xlink:href\":\"/\"+X[2].split(\".\")[0]+\"/\"+X[1]+re})}}w.sendDataToCloud=function(G){var $=(window.PLOTLYENV||{}).BASE_URL||G._context.plotlyServerURL;if($){G.emit(\"plotly_beforeexport\");var J=g.select(G).append(\"div\").attr(\"id\",\"hiddenform\").style(\"display\",\"none\"),X=J.append(\"form\").attr({action:$+\"/external\",method:\"post\",target:\"_blank\"}),re=X.append(\"input\").attr({type:\"text\",name:\"data\"});return re.node().value=w.graphJson(G,!1,\"keepdata\"),X.node().submit(),J.remove(),G.emit(\"plotly_afterexport\"),!1}};var m=[\"days\",\"shortDays\",\"months\",\"shortMonths\",\"periods\",\"dateTime\",\"date\",\"time\",\"decimal\",\"thousands\",\"grouping\",\"currency\"],b=[\"year\",\"month\",\"dayMonth\",\"dayMonthYear\"];w.supplyDefaults=function(G,$){var J=$&&$.skipUpdateCalc,X=G._fullLayout||{};if(X._skipDefaults){delete X._skipDefaults;return}var re=G._fullLayout={},ae=G.layout||{},j=G._fullData||[],ee=G._fullData=[],ie=G.data||[],ce=G.calcdata||[],xe=G._context||{},Te;G._transitionData||w.createTransitionData(G),re._dfltTitle={plot:_(G,\"Click to enter Plot title\"),subtitle:_(G,\"Click to enter Plot subtitle\"),x:_(G,\"Click to enter X axis title\"),y:_(G,\"Click to enter Y axis title\"),colorbar:_(G,\"Click to enter Colorscale title\"),annotation:_(G,\"new text\")},re._traceWord=_(G,\"trace\");var Ue=y(G,m);if(re._mapboxAccessToken=xe.mapboxAccessToken,X._initialAutoSizeIsDone){var Ie=X.width,Ye=X.height;w.supplyLayoutGlobalDefaults(ae,re,Ue),ae.width||(re.width=Ie),ae.height||(re.height=Ye),w.sanitizeMargins(re)}else{w.supplyLayoutGlobalDefaults(ae,re,Ue);var it=!ae.width||!ae.height,at=re.autosize,tt=xe.autosizable,ut=it&&(at||tt);ut?w.plotAutoSize(G,ae,re):it&&w.sanitizeMargins(re),!at&&it&&(ae.width=re.width,ae.height=re.height)}re._d3locale=f(Ue,re.separators),re._extraFormat=y(G,b),re._initialAutoSizeIsDone=!0,re._dataLength=ie.length,re._modules=[],re._visibleModules=[],re._basePlotModules=[];var Me=re._subplots=u(),pe=re._splomAxes={x:{},y:{}},ue=re._splomSubplots={};re._splomGridDflt={},re._scatterStackOpts={},re._firstScatter={},re._alignmentOpts={},re._colorAxes={},re._requestRangeslider={},re._traceUids=v(j,ie),w.supplyDataDefaults(ie,ee,ae,re);var Oe=Object.keys(pe.x),rt=Object.keys(pe.y);if(Oe.length>1&&rt.length>1){for(t.getComponentMethod(\"grid\",\"sizeDefaults\")(ae,re),Te=0;Te15&&rt.length>15&&re.shapes.length===0&&re.images.length===0,w.linkSubplots(ee,re,j,X),w.cleanPlot(ee,re,j,X);var Bt=!!(X._has&&X._has(\"cartesian\")),qt=!!(re._has&&re._has(\"cartesian\")),fr=Bt,ar=qt;fr&&!ar?X._bgLayer.remove():ar&&!fr&&(re._shouldCreateBgLayer=!0),X._zoomlayer&&!G._dragging&&c({_fullLayout:X}),P(ee,re),l(re,X),t.getComponentMethod(\"colorscale\",\"crossTraceDefaults\")(ee,re),re._preGUI||(re._preGUI={}),re._tracePreGUI||(re._tracePreGUI={});var Rr=re._tracePreGUI,gr={},br;for(br in Rr)gr[br]=\"old\";for(Te=0;Te0){var xe=1-2*ae;j=Math.round(xe*j),ee=Math.round(xe*ee)}}var Te=w.layoutAttributes.width.min,Ue=w.layoutAttributes.height.min;j1,Ye=!J.height&&Math.abs(X.height-ee)>1;(Ye||Ie)&&(Ie&&(X.width=j),Ye&&(X.height=ee)),$._initialAutoSize||($._initialAutoSize={width:j,height:ee}),w.sanitizeMargins(X)},w.supplyLayoutModuleDefaults=function(G,$,J,X){var re=t.componentsRegistry,ae=$._basePlotModules,j,ee,ie,ce=t.subplotsRegistry.cartesian;for(j in re)ie=re[j],ie.includeBasePlot&&ie.includeBasePlot(G,$);ae.length||ae.push(ce),$._has(\"cartesian\")&&(t.getComponentMethod(\"grid\",\"contentDefaults\")(G,$),ce.finalizeSubplots(G,$));for(var xe in $._subplots)$._subplots[xe].sort(n.subplotSort);for(ee=0;ee1&&(J.l/=at,J.r/=at)}if(Ue){var tt=(J.t+J.b)/Ue;tt>1&&(J.t/=tt,J.b/=tt)}var ut=J.xl!==void 0?J.xl:J.x,Me=J.xr!==void 0?J.xr:J.x,pe=J.yt!==void 0?J.yt:J.y,ue=J.yb!==void 0?J.yb:J.y;Ie[$]={l:{val:ut,size:J.l+it},r:{val:Me,size:J.r+it},b:{val:ue,size:J.b+it},t:{val:pe,size:J.t+it}},Ye[$]=1}if(!X._replotting)return w.doAutoMargin(G)}};function I(G){if(\"_redrawFromAutoMarginCount\"in G._fullLayout)return!1;var $=s.list(G,\"\",!0);for(var J in $)if($[J].autoshift||$[J].shift)return!0;return!1}w.doAutoMargin=function(G){var $=G._fullLayout,J=$.width,X=$.height;$._size||($._size={}),F($);var re=$._size,ae=$.margin,j={t:0,b:0,l:0,r:0},ee=n.extendFlat({},re),ie=ae.l,ce=ae.r,xe=ae.t,Te=ae.b,Ue=$._pushmargin,Ie=$._pushmarginIds,Ye=$.minreducedwidth,it=$.minreducedheight;if(ae.autoexpand!==!1){for(var at in Ue)Ie[at]||delete Ue[at];var tt=G._fullLayout._reservedMargin;for(var ut in tt)for(var Me in tt[ut]){var pe=tt[ut][Me];j[Me]=Math.max(j[Me],pe)}Ue.base={l:{val:0,size:ie},r:{val:1,size:ce},t:{val:1,size:xe},b:{val:0,size:Te}};for(var ue in j){var Oe=0;for(var rt in Ue)rt!==\"base\"&&S(Ue[rt][ue].size)&&(Oe=Ue[rt][ue].size>Oe?Ue[rt][ue].size:Oe);var ot=Math.max(0,ae[ue]-Oe);j[ue]=Math.max(0,j[ue]-ot)}for(var et in Ue){var Lt=Ue[et].l||{},Et=Ue[et].b||{},Bt=Lt.val,qt=Lt.size,fr=Et.val,ar=Et.size,Rr=J-j.r-j.l,gr=X-j.t-j.b;for(var br in Ue){if(S(qt)&&Ue[br].r){var _t=Ue[br].r.val,Be=Ue[br].r.size;if(_t>Bt){var Ke=(qt*_t+(Be-Rr)*Bt)/(_t-Bt),je=(Be*(1-Bt)+(qt-Rr)*(1-_t))/(_t-Bt);Ke+je>ie+ce&&(ie=Ke,ce=je)}}if(S(ar)&&Ue[br].t){var Se=Ue[br].t.val,He=Ue[br].t.size;if(Se>fr){var Ee=(ar*Se+(He-gr)*fr)/(Se-fr),we=(He*(1-fr)+(ar-gr)*(1-Se))/(Se-fr);Ee+we>Te+xe&&(Te=Ee,xe=we)}}}}}var Le=n.constrain(J-ae.l-ae.r,B,Ye),nt=n.constrain(X-ae.t-ae.b,O,it),pt=Math.max(0,J-Le),bt=Math.max(0,X-nt);if(pt){var Rt=(ie+ce)/pt;Rt>1&&(ie/=Rt,ce/=Rt)}if(bt){var Nt=(Te+xe)/bt;Nt>1&&(Te/=Nt,xe/=Nt)}if(re.l=Math.round(ie)+j.l,re.r=Math.round(ce)+j.r,re.t=Math.round(xe)+j.t,re.b=Math.round(Te)+j.b,re.p=Math.round(ae.pad),re.w=Math.round(J)-re.l-re.r,re.h=Math.round(X)-re.t-re.b,!$._replotting&&(w.didMarginChange(ee,re)||I(G))){\"_redrawFromAutoMarginCount\"in $?$._redrawFromAutoMarginCount++:$._redrawFromAutoMarginCount=1;var Xt=3*(1+Object.keys(Ie).length);if($._redrawFromAutoMarginCount1)return!0}return!1},w.graphJson=function(G,$,J,X,re,ae){(re&&$&&!G._fullData||re&&!$&&!G._fullLayout)&&w.supplyDefaults(G);var j=re?G._fullData:G.data,ee=re?G._fullLayout:G.layout,ie=(G._transitionData||{})._frames;function ce(Ue,Ie){if(typeof Ue==\"function\")return Ie?\"_function_\":null;if(n.isPlainObject(Ue)){var Ye={},it;return Object.keys(Ue).sort().forEach(function(Me){if([\"_\",\"[\"].indexOf(Me.charAt(0))===-1){if(typeof Ue[Me]==\"function\"){Ie&&(Ye[Me]=\"_function\");return}if(J===\"keepdata\"){if(Me.substr(Me.length-3)===\"src\")return}else if(J===\"keepstream\"){if(it=Ue[Me+\"src\"],typeof it==\"string\"&&it.indexOf(\":\")>0&&!n.isPlainObject(Ue.stream))return}else if(J!==\"keepall\"&&(it=Ue[Me+\"src\"],typeof it==\"string\"&&it.indexOf(\":\")>0))return;Ye[Me]=ce(Ue[Me],Ie)}}),Ye}var at=Array.isArray(Ue),tt=n.isTypedArray(Ue);if((at||tt)&&Ue.dtype&&Ue.shape){var ut=Ue.bdata;return ce({dtype:Ue.dtype,shape:Ue.shape,bdata:n.isArrayBuffer(ut)?e.encode(ut):ut},Ie)}return at?Ue.map(function(Me){return ce(Me,Ie)}):tt?n.simpleMap(Ue,n.identity):n.isJSDate(Ue)?n.ms2DateTimeLocal(+Ue):Ue}var xe={data:(j||[]).map(function(Ue){var Ie=ce(Ue);return $&&delete Ie.fit,Ie})};if(!$&&(xe.layout=ce(ee),re)){var Te=ee._size;xe.layout.computed={margin:{b:Te.b,l:Te.l,r:Te.r,t:Te.t}}}return ie&&(xe.frames=ce(ie)),ae&&(xe.config=ce(G._context,!0)),X===\"object\"?xe:JSON.stringify(xe)},w.modifyFrames=function(G,$){var J,X,re,ae=G._transitionData._frames,j=G._transitionData._frameHash;for(J=0;J<$.length;J++)switch(X=$[J],X.type){case\"replace\":re=X.value;var ee=(ae[X.index]||{}).name,ie=re.name;ae[X.index]=j[ie]=re,ie!==ee&&(delete j[ee],j[ie]=re);break;case\"insert\":re=X.value,j[re.name]=re,ae.splice(X.index,0,re);break;case\"delete\":re=ae[X.index],delete j[re.name],ae.splice(X.index,1);break}return Promise.resolve()},w.computeFrame=function(G,$){var J=G._transitionData._frameHash,X,re,ae,j;if(!$)throw new Error(\"computeFrame must be given a string frame name\");var ee=J[$.toString()];if(!ee)return!1;for(var ie=[ee],ce=[ee.name];ee.baseframe&&(ee=J[ee.baseframe.toString()])&&ce.indexOf(ee.name)===-1;)ie.push(ee),ce.push(ee.name);for(var xe={};ee=ie.pop();)if(ee.layout&&(xe.layout=w.extendLayout(xe.layout,ee.layout)),ee.data){if(xe.data||(xe.data=[]),re=ee.traces,!re)for(re=[],X=0;X0&&(G._transitioningWithDuration=!0),G._transitionData._interruptCallbacks.push(function(){X=!0}),J.redraw&&G._transitionData._interruptCallbacks.push(function(){return t.call(\"redraw\",G)}),G._transitionData._interruptCallbacks.push(function(){G.emit(\"plotly_transitioninterrupted\",[])});var Ue=0,Ie=0;function Ye(){return Ue++,function(){Ie++,!X&&Ie===Ue&&ee(Te)}}J.runFn(Ye),setTimeout(Ye())})}function ee(Te){if(G._transitionData)return ae(G._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(J.redraw)return t.call(\"redraw\",G)}).then(function(){G._transitioning=!1,G._transitioningWithDuration=!1,G.emit(\"plotly_transitioned\",[])}).then(Te)}function ie(){if(G._transitionData)return G._transitioning=!1,re(G._transitionData._interruptCallbacks)}var ce=[w.previousPromises,ie,J.prepareFn,w.rehover,w.reselect,j],xe=n.syncOrAsync(ce,G);return(!xe||!xe.then)&&(xe=Promise.resolve()),xe.then(function(){return G})}w.doCalcdata=function(G,$){var J=s.list(G),X=G._fullData,re=G._fullLayout,ae,j,ee,ie,ce=new Array(X.length),xe=(G.calcdata||[]).slice();for(G.calcdata=ce,re._numBoxes=0,re._numViolins=0,re._violinScaleGroupStats={},G._hmpixcount=0,G._hmlumcount=0,re._piecolormap={},re._sunburstcolormap={},re._treemapcolormap={},re._iciclecolormap={},re._funnelareacolormap={},ee=0;ee=0;ie--)if(ue[ie].enabled){ae._indexToPoints=ue[ie]._indexToPoints;break}j&&j.calc&&(pe=j.calc(G,ae))}(!Array.isArray(pe)||!pe[0])&&(pe=[{x:a,y:a}]),pe[0].t||(pe[0].t={}),pe[0].trace=ae,ce[ut]=pe}}for(se(J,X,re),ee=0;eeee||Ie>ie)&&(ae.style(\"overflow\",\"hidden\"),Te=ae.node().getBoundingClientRect(),Ue=Te.width,Ie=Te.height);var Ye=+O.attr(\"x\"),it=+O.attr(\"y\"),at=G||O.node().getBoundingClientRect().height,tt=-at/4;if(le[0]===\"y\")j.attr({transform:\"rotate(\"+[-90,Ye,it]+\")\"+x(-Ue/2,tt-Ie/2)});else if(le[0]===\"l\")it=tt-Ie/2;else if(le[0]===\"a\"&&le.indexOf(\"atitle\")!==0)Ye=0,it=tt;else{var ut=O.attr(\"text-anchor\");Ye=Ye-Ue*(ut===\"middle\"?.5:ut===\"end\"?1:0),it=it+tt-Ie/2}ae.attr({x:Ye,y:it}),N&&N.call(O,j),fe(j)})})):se(),O};var t=/(<|<|<)/g,r=/(>|>|>)/g;function o(O){return O.replace(t,\"\\\\lt \").replace(r,\"\\\\gt \")}var n=[[\"$\",\"$\"],[\"\\\\(\",\"\\\\)\"]];function i(O,I,N){var U=parseInt((MathJax.version||\"\").split(\".\")[0]);if(U!==2&&U!==3){g.warn(\"No MathJax version:\",MathJax.version);return}var W,Q,le,se,fe=function(){return Q=g.extendDeepAll({},MathJax.Hub.config),le=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:\"none\",tex2jax:{inlineMath:n},displayAlign:\"left\"})},G=function(){Q=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=n},$=function(){if(W=MathJax.Hub.config.menuSettings.renderer,W!==\"SVG\")return MathJax.Hub.setRenderer(\"SVG\")},J=function(){W=MathJax.config.startup.output,W!==\"svg\"&&(MathJax.config.startup.output=\"svg\")},X=function(){var ce=\"math-output-\"+g.randstr({},64);se=H.select(\"body\").append(\"div\").attr({id:ce}).style({visibility:\"hidden\",position:\"absolute\",\"font-size\":I.fontSize+\"px\"}).text(o(O));var xe=se.node();return U===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},re=function(){var ce=se.select(U===2?\".MathJax_SVG\":\".MathJax\"),xe=!ce.empty()&&se.select(\"svg\").node();if(!xe)g.log(\"There was an error in the tex syntax.\",O),N();else{var Te=xe.getBoundingClientRect(),Ue;U===2?Ue=H.select(\"body\").select(\"#MathJax_SVG_glyphs\"):Ue=ce.select(\"defs\"),N(ce,Ue,Te)}se.remove()},ae=function(){if(W!==\"SVG\")return MathJax.Hub.setRenderer(W)},j=function(){W!==\"svg\"&&(MathJax.config.startup.output=W)},ee=function(){return le!==void 0&&(MathJax.Hub.processSectionDelay=le),MathJax.Hub.Config(Q)},ie=function(){MathJax.config=Q};U===2?MathJax.Hub.Queue(fe,$,X,re,ae,ee):U===3&&(G(),J(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){X(),re(),j(),ie()}))}var a={sup:\"font-size:70%\",sub:\"font-size:70%\",s:\"text-decoration:line-through\",u:\"text-decoration:underline\",b:\"font-weight:bold\",i:\"font-style:italic\",a:\"cursor:pointer\",span:\"\",em:\"font-style:italic;font-weight:bold\"},s={sub:\"0.3em\",sup:\"-0.6em\"},c={sub:\"-0.21em\",sup:\"0.42em\"},h=\"\\u200B\",p=[\"http:\",\"https:\",\"mailto:\",\"\",void 0,\":\"],d=Z.NEWLINES=/(\\r\\n?|\\n)/g,T=/(<[^<>]*>)/,l=/<(\\/?)([^ >]*)(\\s+(.*))?>/i,_=//i;Z.BR_TAG_ALL=//gi;var w=/(^|[\\s\"'])style\\s*=\\s*(\"([^\"]*);?\"|'([^']*);?')/i,M=/(^|[\\s\"'])href\\s*=\\s*(\"([^\"]*)\"|'([^']*)')/i,E=/(^|[\\s\"'])target\\s*=\\s*(\"([^\"\\s]*)\"|'([^'\\s]*)')/i,m=/(^|[\\s\"'])popup\\s*=\\s*(\"([\\w=,]*)\"|'([\\w=,]*)')/i;function b(O,I){if(!O)return null;var N=O.match(I),U=N&&(N[3]||N[4]);return U&&f(U)}var v=/(^|;)\\s*color:/;Z.plainText=function(O,I){I=I||{};for(var N=I.len!==void 0&&I.len!==-1?I.len:1/0,U=I.allowedTags!==void 0?I.allowedTags:[\"br\"],W=\"...\",Q=W.length,le=O.split(T),se=[],fe=\"\",G=0,$=0;$Q?se.push(J.substr(0,j-Q)+W):se.push(J.substr(0,j));break}fe=\"\"}}return se.join(\"\")};var u={mu:\"\\u03BC\",amp:\"&\",lt:\"<\",gt:\">\",nbsp:\"\\xA0\",times:\"\\xD7\",plusmn:\"\\xB1\",deg:\"\\xB0\"},y=/&(#\\d+|#x[\\da-fA-F]+|[a-z]+);/g;function f(O){return O.replace(y,function(I,N){var U;return N.charAt(0)===\"#\"?U=P(N.charAt(1)===\"x\"?parseInt(N.substr(2),16):parseInt(N.substr(1),10)):U=u[N],U||I})}Z.convertEntities=f;function P(O){if(!(O>1114111)){var I=String.fromCodePoint;if(I)return I(O);var N=String.fromCharCode;return O<=65535?N(O):N((O>>10)+55232,O%1024+56320)}}function L(O,I){I=I.replace(d,\" \");var N=!1,U=[],W,Q=-1;function le(){Q++;var Ie=document.createElementNS(A.svg,\"tspan\");H.select(Ie).attr({class:\"line\",dy:Q*S+\"em\"}),O.appendChild(Ie),W=Ie;var Ye=U;if(U=[{node:Ie}],Ye.length>1)for(var it=1;it.\",I);return}var Ye=U.pop();Ie!==Ye.type&&g.log(\"Start tag <\"+Ye.type+\"> doesnt match end tag <\"+Ie+\">. Pretending it did match.\",I),W=U[U.length-1].node}var $=_.test(I);$?le():(W=O,U=[{node:O}]);for(var J=I.split(T),X=0;X=0;_--,w++){var M=d[_];l[w]=[1-M[0],M[1]]}return l}function c(d,T){T=T||{};for(var l=d.domain,_=d.range,w=_.length,M=new Array(w),E=0;Ed-h?h=d-(p-d):p-d=0?_=o.colorscale.sequential:_=o.colorscale.sequentialminus,s._sync(\"colorscale\",_)}}}}),ku=ke({\"src/components/colorscale/index.js\"(Z,H){\"use strict\";var g=Cm(),x=ad();H.exports={moduleType:\"component\",name:\"colorscale\",attributes:ou(),layoutAttributes:Ww(),supplyLayoutDefaults:HE(),handleDefaults:Kf(),crossTraceDefaults:GE(),calc:od(),scales:g.scales,defaultScale:g.defaultScale,getScale:g.get,isValidScale:g.isValid,hasColorscale:x.hasColorscale,extractOpts:x.extractOpts,extractScale:x.extractScale,flipScale:x.flipScale,makeColorScaleFunc:x.makeColorScaleFunc,makeColorScaleFuncFromTrace:x.makeColorScaleFuncFromTrace}}}),vu=ke({\"src/traces/scatter/subtypes.js\"(Z,H){\"use strict\";var g=un(),x=Oa().isTypedArraySpec;H.exports={hasLines:function(A){return A.visible&&A.mode&&A.mode.indexOf(\"lines\")!==-1},hasMarkers:function(A){return A.visible&&(A.mode&&A.mode.indexOf(\"markers\")!==-1||A.type===\"splom\")},hasText:function(A){return A.visible&&A.mode&&A.mode.indexOf(\"text\")!==-1},isBubble:function(A){var S=A.marker;return g.isPlainObject(S)&&(g.isArrayOrTypedArray(S.size)||x(S.size))}}}}),Hg=ke({\"src/traces/scatter/make_bubble_size_func.js\"(Z,H){\"use strict\";var g=Yn();H.exports=function(A,S){S||(S=2);var e=A.marker,t=e.sizeref||1,r=e.sizemin||0,o=e.sizemode===\"area\"?function(n){return Math.sqrt(n/t)}:function(n){return n/t};return function(n){var i=o(n/S);return g(i)&&i>0?Math.max(i,r):0}}}}),gd=ke({\"src/components/fx/helpers.js\"(Z){\"use strict\";var H=un();Z.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},Z.isTraceInSubplots=function(t,r){if(t.type===\"splom\"){for(var o=t.xaxes||[],n=t.yaxes||[],i=0;i=0&&o.index2&&(r.push([n].concat(i.splice(0,2))),a=\"l\",n=n==\"m\"?\"l\":\"L\");;){if(i.length==g[a])return i.unshift(n),r.push(i);if(i.length0&&(pe=100,Me=Me.replace(\"-open\",\"\")),Me.indexOf(\"-dot\")>0&&(pe+=200,Me=Me.replace(\"-dot\",\"\")),Me=l.symbolNames.indexOf(Me),Me>=0&&(Me+=pe)}return Me%100>=v||Me>=400?0:Math.floor(Math.max(Me,0))};function y(Me,pe,ue,Oe){var rt=Me%100;return l.symbolFuncs[rt](pe,ue,Oe)+(Me>=200?u:\"\")}var f=A(\"~f\"),P={radial:{type:\"radial\"},radialreversed:{type:\"radial\",reversed:!0},horizontal:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};l.gradient=function(Me,pe,ue,Oe,rt,ot){var et=P[Oe];return L(Me,pe,ue,et.type,rt,ot,et.start,et.stop,!1,et.reversed)};function L(Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt){var qt=rt.length,fr;Oe===\"linear\"?fr={node:\"linearGradient\",attrs:{x1:et.x,y1:et.y,x2:Lt.x,y2:Lt.y,gradientUnits:Et?\"userSpaceOnUse\":\"objectBoundingBox\"},reversed:Bt}:Oe===\"radial\"&&(fr={node:\"radialGradient\",reversed:Bt});for(var ar=new Array(qt),Rr=0;Rr=0&&Me.i===void 0&&(Me.i=ot.i),pe.style(\"opacity\",Oe.selectedOpacityFn?Oe.selectedOpacityFn(Me):Me.mo===void 0?et.opacity:Me.mo),Oe.ms2mrc){var Et;Me.ms===\"various\"||et.size===\"various\"?Et=3:Et=Oe.ms2mrc(Me.ms),Me.mrc=Et,Oe.selectedSizeFn&&(Et=Me.mrc=Oe.selectedSizeFn(Me));var Bt=l.symbolNumber(Me.mx||et.symbol)||0;Me.om=Bt%200>=100;var qt=ut(Me,ue),fr=ee(Me,ue);pe.attr(\"d\",y(Bt,Et,qt,fr))}var ar=!1,Rr,gr,br;if(Me.so)br=Lt.outlierwidth,gr=Lt.outliercolor,Rr=et.outliercolor;else{var _t=(Lt||{}).width;br=(Me.mlw+1||_t+1||(Me.trace?(Me.trace.marker.line||{}).width:0)+1)-1||0,\"mlc\"in Me?gr=Me.mlcc=Oe.lineScale(Me.mlc):x.isArrayOrTypedArray(Lt.color)?gr=r.defaultLine:gr=Lt.color,x.isArrayOrTypedArray(et.color)&&(Rr=r.defaultLine,ar=!0),\"mc\"in Me?Rr=Me.mcc=Oe.markerScale(Me.mc):Rr=et.color||et.colors||\"rgba(0,0,0,0)\",Oe.selectedColorFn&&(Rr=Oe.selectedColorFn(Me))}if(Me.om)pe.call(r.stroke,Rr).style({\"stroke-width\":(br||1)+\"px\",fill:\"none\"});else{pe.style(\"stroke-width\",(Me.isBlank?0:br)+\"px\");var Be=et.gradient,Ke=Me.mgt;Ke?ar=!0:Ke=Be&&Be.type,x.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],P[Ke]||(Ke=0));var je=et.pattern,Se=je&&l.getPatternAttr(je.shape,Me.i,\"\");if(Ke&&Ke!==\"none\"){var He=Me.mgc;He?ar=!0:He=Be.color;var Ee=ue.uid;ar&&(Ee+=\"-\"+Me.i),l.gradient(pe,rt,Ee,Ke,[[0,He],[1,Rr]],\"fill\")}else if(Se){var we=!1,Le=je.fgcolor;!Le&&ot&&ot.color&&(Le=ot.color,we=!0);var nt=l.getPatternAttr(Le,Me.i,ot&&ot.color||null),pt=l.getPatternAttr(je.bgcolor,Me.i,null),bt=je.fgopacity,Rt=l.getPatternAttr(je.size,Me.i,8),Nt=l.getPatternAttr(je.solidity,Me.i,.3);we=we||Me.mcc||x.isArrayOrTypedArray(je.shape)||x.isArrayOrTypedArray(je.bgcolor)||x.isArrayOrTypedArray(je.fgcolor)||x.isArrayOrTypedArray(je.size)||x.isArrayOrTypedArray(je.solidity);var Xt=ue.uid;we&&(Xt+=\"-\"+Me.i),l.pattern(pe,\"point\",rt,Xt,Se,Rt,Nt,Me.mcc,je.fillmode,pt,nt,bt)}else x.isArrayOrTypedArray(Rr)?r.fill(pe,Rr[Me.i]):r.fill(pe,Rr);br&&r.stroke(pe,gr)}},l.makePointStyleFns=function(Me){var pe={},ue=Me.marker;return pe.markerScale=l.tryColorscale(ue,\"\"),pe.lineScale=l.tryColorscale(ue,\"line\"),t.traceIs(Me,\"symbols\")&&(pe.ms2mrc=p.isBubble(Me)?d(Me):function(){return(ue.size||6)/2}),Me.selectedpoints&&x.extendFlat(pe,l.makeSelectedPointStyleFns(Me)),pe},l.makeSelectedPointStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.marker||{},ot=ue.marker||{},et=Oe.marker||{},Lt=rt.opacity,Et=ot.opacity,Bt=et.opacity,qt=Et!==void 0,fr=Bt!==void 0;(x.isArrayOrTypedArray(Lt)||qt||fr)&&(pe.selectedOpacityFn=function(Se){var He=Se.mo===void 0?rt.opacity:Se.mo;return Se.selected?qt?Et:He:fr?Bt:h*He});var ar=rt.color,Rr=ot.color,gr=et.color;(Rr||gr)&&(pe.selectedColorFn=function(Se){var He=Se.mcc||ar;return Se.selected?Rr||He:gr||He});var br=rt.size,_t=ot.size,Be=et.size,Ke=_t!==void 0,je=Be!==void 0;return t.traceIs(Me,\"symbols\")&&(Ke||je)&&(pe.selectedSizeFn=function(Se){var He=Se.mrc||br/2;return Se.selected?Ke?_t/2:He:je?Be/2:He}),pe},l.makeSelectedTextStyleFns=function(Me){var pe={},ue=Me.selected||{},Oe=Me.unselected||{},rt=Me.textfont||{},ot=ue.textfont||{},et=Oe.textfont||{},Lt=rt.color,Et=ot.color,Bt=et.color;return pe.selectedTextColorFn=function(qt){var fr=qt.tc||Lt;return qt.selected?Et||fr:Bt||(Et?fr:r.addOpacity(fr,h))},pe},l.selectedPointStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedPointStyleFns(pe),Oe=pe.marker||{},rt=[];ue.selectedOpacityFn&&rt.push(function(ot,et){ot.style(\"opacity\",ue.selectedOpacityFn(et))}),ue.selectedColorFn&&rt.push(function(ot,et){r.fill(ot,ue.selectedColorFn(et))}),ue.selectedSizeFn&&rt.push(function(ot,et){var Lt=et.mx||Oe.symbol||0,Et=ue.selectedSizeFn(et);ot.attr(\"d\",y(l.symbolNumber(Lt),Et,ut(et,pe),ee(et,pe))),et.mrc2=Et}),rt.length&&Me.each(function(ot){for(var et=g.select(this),Lt=0;Lt0?ue:0}l.textPointStyle=function(Me,pe,ue){if(Me.size()){var Oe;if(pe.selectedpoints){var rt=l.makeSelectedTextStyleFns(pe);Oe=rt.selectedTextColorFn}var ot=pe.texttemplate,et=ue._fullLayout;Me.each(function(Lt){var Et=g.select(this),Bt=ot?x.extractOption(Lt,pe,\"txt\",\"texttemplate\"):x.extractOption(Lt,pe,\"tx\",\"text\");if(!Bt&&Bt!==0){Et.remove();return}if(ot){var qt=pe._module.formatLabels,fr=qt?qt(Lt,pe,et):{},ar={};T(ar,pe,Lt.i);var Rr=pe._meta||{};Bt=x.texttemplateString(Bt,fr,et._d3locale,ar,Lt,Rr)}var gr=Lt.tp||pe.textposition,br=B(Lt,pe),_t=Oe?Oe(Lt):Lt.tc||pe.textfont.color;Et.call(l.font,{family:Lt.tf||pe.textfont.family,weight:Lt.tw||pe.textfont.weight,style:Lt.ty||pe.textfont.style,variant:Lt.tv||pe.textfont.variant,textcase:Lt.tC||pe.textfont.textcase,lineposition:Lt.tE||pe.textfont.lineposition,shadow:Lt.tS||pe.textfont.shadow,size:br,color:_t}).text(Bt).call(i.convertToTspans,ue).call(F,gr,br,Lt.mrc)})}},l.selectedTextStyle=function(Me,pe){if(!(!Me.size()||!pe.selectedpoints)){var ue=l.makeSelectedTextStyleFns(pe);Me.each(function(Oe){var rt=g.select(this),ot=ue.selectedTextColorFn(Oe),et=Oe.tp||pe.textposition,Lt=B(Oe,pe);r.fill(rt,ot);var Et=t.traceIs(pe,\"bar-like\");F(rt,et,Lt,Oe.mrc2||Oe.mrc,Et)})}};var O=.5;l.smoothopen=function(Me,pe){if(Me.length<3)return\"M\"+Me.join(\"L\");var ue=\"M\"+Me[0],Oe=[],rt;for(rt=1;rt=Et||Se>=qt&&Se<=Et)&&(He<=fr&&He>=Bt||He>=fr&&He<=Bt)&&(Me=[Se,He])}return Me}l.applyBackoff=G,l.makeTester=function(){var Me=x.ensureSingleById(g.select(\"body\"),\"svg\",\"js-plotly-tester\",function(ue){ue.attr(a.svgAttrs).style({position:\"absolute\",left:\"-10000px\",top:\"-10000px\",width:\"9000px\",height:\"9000px\",\"z-index\":\"1\"})}),pe=x.ensureSingle(Me,\"path\",\"js-reference-point\",function(ue){ue.attr(\"d\",\"M0,0H1V1H0Z\").style({\"stroke-width\":0,fill:\"black\"})});l.tester=Me,l.testref=pe},l.savedBBoxes={};var $=0,J=1e4;l.bBox=function(Me,pe,ue){ue||(ue=X(Me));var Oe;if(ue){if(Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}else if(Me.childNodes.length===1){var rt=Me.childNodes[0];if(ue=X(rt),ue){var ot=+rt.getAttribute(\"x\")||0,et=+rt.getAttribute(\"y\")||0,Lt=rt.getAttribute(\"transform\");if(!Lt){var Et=l.bBox(rt,!1,ue);return ot&&(Et.left+=ot,Et.right+=ot),et&&(Et.top+=et,Et.bottom+=et),Et}if(ue+=\"~\"+ot+\"~\"+et+\"~\"+Lt,Oe=l.savedBBoxes[ue],Oe)return x.extendFlat({},Oe)}}var Bt,qt;pe?Bt=Me:(qt=l.tester.node(),Bt=Me.cloneNode(!0),qt.appendChild(Bt)),g.select(Bt).attr(\"transform\",null).call(i.positionText,0,0);var fr=Bt.getBoundingClientRect(),ar=l.testref.node().getBoundingClientRect();pe||qt.removeChild(Bt);var Rr={height:fr.height,width:fr.width,left:fr.left-ar.left,top:fr.top-ar.top,right:fr.right-ar.left,bottom:fr.bottom-ar.top};return $>=J&&(l.savedBBoxes={},$=0),ue&&(l.savedBBoxes[ue]=Rr),$++,x.extendFlat({},Rr)};function X(Me){var pe=Me.getAttribute(\"data-unformatted\");if(pe!==null)return pe+Me.getAttribute(\"data-math\")+Me.getAttribute(\"text-anchor\")+Me.getAttribute(\"style\")}l.setClipUrl=function(Me,pe,ue){Me.attr(\"clip-path\",re(pe,ue))};function re(Me,pe){if(!Me)return null;var ue=pe._context,Oe=ue._exportedPlot?\"\":ue._baseUrl||\"\";return Oe?\"url('\"+Oe+\"#\"+Me+\"')\":\"url(#\"+Me+\")\"}l.getTranslate=function(Me){var pe=/.*\\btranslate\\((-?\\d*\\.?\\d*)[^-\\d]*(-?\\d*\\.?\\d*)[^\\d].*/,ue=Me.attr?\"attr\":\"getAttribute\",Oe=Me[ue](\"transform\")||\"\",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(\" \")}).split(\" \");return{x:+rt[0]||0,y:+rt[1]||0}},l.setTranslate=function(Me,pe,ue){var Oe=/(\\btranslate\\(.*?\\);?)/,rt=Me.attr?\"attr\":\"getAttribute\",ot=Me.attr?\"attr\":\"setAttribute\",et=Me[rt](\"transform\")||\"\";return pe=pe||0,ue=ue||0,et=et.replace(Oe,\"\").trim(),et+=n(pe,ue),et=et.trim(),Me[ot](\"transform\",et),et},l.getScale=function(Me){var pe=/.*\\bscale\\((\\d*\\.?\\d*)[^\\d]*(\\d*\\.?\\d*)[^\\d].*/,ue=Me.attr?\"attr\":\"getAttribute\",Oe=Me[ue](\"transform\")||\"\",rt=Oe.replace(pe,function(ot,et,Lt){return[et,Lt].join(\" \")}).split(\" \");return{x:+rt[0]||1,y:+rt[1]||1}},l.setScale=function(Me,pe,ue){var Oe=/(\\bscale\\(.*?\\);?)/,rt=Me.attr?\"attr\":\"getAttribute\",ot=Me.attr?\"attr\":\"setAttribute\",et=Me[rt](\"transform\")||\"\";return pe=pe||1,ue=ue||1,et=et.replace(Oe,\"\").trim(),et+=\"scale(\"+pe+\",\"+ue+\")\",et=et.trim(),Me[ot](\"transform\",et),et};var ae=/\\s*sc.*/;l.setPointGroupScale=function(Me,pe,ue){if(pe=pe||1,ue=ue||1,!!Me){var Oe=pe===1&&ue===1?\"\":\"scale(\"+pe+\",\"+ue+\")\";Me.each(function(){var rt=(this.getAttribute(\"transform\")||\"\").replace(ae,\"\");rt+=Oe,rt=rt.trim(),this.setAttribute(\"transform\",rt)})}};var j=/translate\\([^)]*\\)\\s*$/;l.setTextPointsScale=function(Me,pe,ue){Me&&Me.each(function(){var Oe,rt=g.select(this),ot=rt.select(\"text\");if(ot.node()){var et=parseFloat(ot.attr(\"x\")||0),Lt=parseFloat(ot.attr(\"y\")||0),Et=(rt.attr(\"transform\")||\"\").match(j);pe===1&&ue===1?Oe=[]:Oe=[n(et,Lt),\"scale(\"+pe+\",\"+ue+\")\",n(-et,-Lt)],Et&&Oe.push(Et),rt.attr(\"transform\",Oe.join(\"\"))}})};function ee(Me,pe){var ue;return Me&&(ue=Me.mf),ue===void 0&&(ue=pe.marker&&pe.marker.standoff||0),!pe._geo&&!pe._xA?-ue:ue}l.getMarkerStandoff=ee;var ie=Math.atan2,ce=Math.cos,xe=Math.sin;function Te(Me,pe){var ue=pe[0],Oe=pe[1];return[ue*ce(Me)-Oe*xe(Me),ue*xe(Me)+Oe*ce(Me)]}var Ue,Ie,Ye,it,at,tt;function ut(Me,pe){var ue=Me.ma;ue===void 0&&(ue=pe.marker.angle,(!ue||x.isArrayOrTypedArray(ue))&&(ue=0));var Oe,rt,ot=pe.marker.angleref;if(ot===\"previous\"||ot===\"north\"){if(pe._geo){var et=pe._geo.project(Me.lonlat);Oe=et[0],rt=et[1]}else{var Lt=pe._xA,Et=pe._yA;if(Lt&&Et)Oe=Lt.c2p(Me.x),rt=Et.c2p(Me.y);else return 90}if(pe._geo){var Bt=Me.lonlat[0],qt=Me.lonlat[1],fr=pe._geo.project([Bt,qt+1e-5]),ar=pe._geo.project([Bt+1e-5,qt]),Rr=ie(ar[1]-rt,ar[0]-Oe),gr=ie(fr[1]-rt,fr[0]-Oe),br;if(ot===\"north\")br=ue/180*Math.PI;else if(ot===\"previous\"){var _t=Bt/180*Math.PI,Be=qt/180*Math.PI,Ke=Ue/180*Math.PI,je=Ie/180*Math.PI,Se=Ke-_t,He=ce(je)*xe(Se),Ee=xe(je)*ce(Be)-ce(je)*xe(Be)*ce(Se);br=-ie(He,Ee)-Math.PI,Ue=Bt,Ie=qt}var we=Te(Rr,[ce(br),0]),Le=Te(gr,[xe(br),0]);ue=ie(we[1]+Le[1],we[0]+Le[0])/Math.PI*180,ot===\"previous\"&&!(tt===pe.uid&&Me.i===at+1)&&(ue=null)}if(ot===\"previous\"&&!pe._geo)if(tt===pe.uid&&Me.i===at+1&&S(Oe)&&S(rt)){var nt=Oe-Ye,pt=rt-it,bt=pe.line&&pe.line.shape||\"\",Rt=bt.slice(bt.length-1);Rt===\"h\"&&(pt=0),Rt===\"v\"&&(nt=0),ue+=ie(pt,nt)/Math.PI*180+90}else ue=null}return Ye=Oe,it=rt,at=Me.i,tt=pe.uid,ue}l.getMarkerAngle=ut}}),Im=ke({\"src/components/titles/index.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=$o(),o=eo(),n=Wl(),i=Lp(),a=Yf().OPPOSITE_SIDE,s=/ [XY][0-9]* /,c=1.6,h=1.6;function p(d,T,l){var _=d._fullLayout,w=l.propContainer,M=l.propName,E=l.placeholder,m=l.traceIndex,b=l.avoid||{},v=l.attributes,u=l.transform,y=l.containerGroup,f=1,P=w.title,L=(P&&P.text?P.text:\"\").trim(),z=!1,F=P&&P.font?P.font:{},B=F.family,O=F.size,I=F.color,N=F.weight,U=F.style,W=F.variant,Q=F.textcase,le=F.lineposition,se=F.shadow,fe=l.subtitlePropName,G=!!fe,$=l.subtitlePlaceholder,J=(w.title||{}).subtitle||{text:\"\",font:{}},X=J.text.trim(),re=!1,ae=1,j=J.font,ee=j.family,ie=j.size,ce=j.color,xe=j.weight,Te=j.style,Ue=j.variant,Ie=j.textcase,Ye=j.lineposition,it=j.shadow,at;M===\"title.text\"?at=\"titleText\":M.indexOf(\"axis\")!==-1?at=\"axisTitleText\":M.indexOf(\"colorbar\"!==-1)&&(at=\"colorbarTitleText\");var tt=d._context.edits[at];function ut(ar,Rr){return ar===void 0||Rr===void 0?!1:ar.replace(s,\" % \")===Rr.replace(s,\" % \")}L===\"\"?f=0:ut(L,E)&&(tt||(L=\"\"),f=.2,z=!0),G&&(X===\"\"?ae=0:ut(X,$)&&(tt||(X=\"\"),ae=.2,re=!0)),l._meta?L=e.templateString(L,l._meta):_._meta&&(L=e.templateString(L,_._meta));var Me=L||X||tt,pe;y||(y=e.ensureSingle(_._infolayer,\"g\",\"g-\"+T),pe=_._hColorbarMoveTitle);var ue=y.selectAll(\"text.\"+T).data(Me?[0]:[]);ue.enter().append(\"text\"),ue.text(L).attr(\"class\",T),ue.exit().remove();var Oe=null,rt=T+\"-subtitle\",ot=X||tt;if(G&&ot&&(Oe=y.selectAll(\"text.\"+rt).data(ot?[0]:[]),Oe.enter().append(\"text\"),Oe.text(X).attr(\"class\",rt),Oe.exit().remove()),!Me)return y;function et(ar,Rr){e.syncOrAsync([Lt,Et],{title:ar,subtitle:Rr})}function Lt(ar){var Rr=ar.title,gr=ar.subtitle,br;!u&&pe&&(u={}),u?(br=\"\",u.rotate&&(br+=\"rotate(\"+[u.rotate,v.x,v.y]+\")\"),(u.offset||pe)&&(br+=t(0,(u.offset||0)-(pe||0)))):br=null,Rr.attr(\"transform\",br);function _t(Ee){if(Ee){var we=g.select(Ee.node().parentNode).select(\".\"+rt);if(!we.empty()){var Le=Ee.node().getBBox();if(Le.height){var nt=Le.y+Le.height+c*ie;we.attr(\"y\",nt)}}}}if(Rr.style(\"opacity\",f*o.opacity(I)).call(r.font,{color:o.rgb(I),size:g.round(O,2),family:B,weight:N,style:U,variant:W,textcase:Q,shadow:se,lineposition:le}).attr(v).call(n.convertToTspans,d,_t),gr){var Be=y.select(\".\"+T+\"-math-group\"),Ke=Rr.node().getBBox(),je=Be.node()?Be.node().getBBox():void 0,Se=je?je.y+je.height+c*ie:Ke.y+Ke.height+h*ie,He=e.extendFlat({},v,{y:Se});gr.attr(\"transform\",br),gr.style(\"opacity\",ae*o.opacity(ce)).call(r.font,{color:o.rgb(ce),size:g.round(ie,2),family:ee,weight:xe,style:Te,variant:Ue,textcase:Ie,shadow:it,lineposition:Ye}).attr(He).call(n.convertToTspans,d)}return A.previousPromises(d)}function Et(ar){var Rr=ar.title,gr=g.select(Rr.node().parentNode);if(b&&b.selection&&b.side&&L){gr.attr(\"transform\",null);var br=a[b.side],_t=b.side===\"left\"||b.side===\"top\"?-1:1,Be=x(b.pad)?b.pad:2,Ke=r.bBox(gr.node()),je={t:0,b:0,l:0,r:0},Se=d._fullLayout._reservedMargin;for(var He in Se)for(var Ee in Se[He]){var we=Se[He][Ee];je[Ee]=Math.max(je[Ee],we)}var Le={left:je.l,top:je.t,right:_.width-je.r,bottom:_.height-je.b},nt=b.maxShift||_t*(Le[b.side]-Ke[b.side]),pt=0;if(nt<0)pt=nt;else{var bt=b.offsetLeft||0,Rt=b.offsetTop||0;Ke.left-=bt,Ke.right-=bt,Ke.top-=Rt,Ke.bottom-=Rt,b.selection.each(function(){var Xt=r.bBox(this);e.bBoxIntersect(Ke,Xt,Be)&&(pt=Math.max(pt,_t*(Xt[b.side]-Ke[br])+Be))}),pt=Math.min(nt,pt),w._titleScoot=Math.abs(pt)}if(pt>0||nt<0){var Nt={left:[-pt,0],right:[pt,0],top:[0,-pt],bottom:[0,pt]}[b.side];gr.attr(\"transform\",t(Nt[0],Nt[1]))}}}ue.call(et,Oe);function Bt(ar,Rr){ar.text(Rr).on(\"mouseover.opacity\",function(){g.select(this).transition().duration(i.SHOW_PLACEHOLDER).style(\"opacity\",1)}).on(\"mouseout.opacity\",function(){g.select(this).transition().duration(i.HIDE_PLACEHOLDER).style(\"opacity\",0)})}if(tt&&(L?ue.on(\".opacity\",null):(Bt(ue,E),z=!0),ue.call(n.makeEditable,{gd:d}).on(\"edit\",function(ar){m!==void 0?S.call(\"_guiRestyle\",d,M,ar,m):S.call(\"_guiRelayout\",d,M,ar)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(et)}).on(\"input\",function(ar){this.text(ar||\" \").call(n.positionText,v.x,v.y)}),G)){if(G&&!L){var qt=ue.node().getBBox(),fr=qt.y+qt.height+h*ie;Oe.attr(\"y\",fr)}X?Oe.on(\".opacity\",null):(Bt(Oe,$),re=!0),Oe.call(n.makeEditable,{gd:d}).on(\"edit\",function(ar){S.call(\"_guiRelayout\",d,\"title.subtitle.text\",ar)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(et)}).on(\"input\",function(ar){this.text(ar||\" \").call(n.positionText,Oe.attr(\"x\"),Oe.attr(\"y\"))})}return ue.classed(\"js-placeholder\",z),Oe&&Oe.classed(\"js-placeholder\",re),y}H.exports={draw:p,SUBTITLE_PADDING_EM:h,SUBTITLE_PADDING_MATHJAX_EM:c}}}),Cv=ke({\"src/plots/cartesian/set_convert.js\"(Z,H){\"use strict\";var g=_i(),x=Ki().utcFormat,A=un(),S=A.numberFormat,e=Yn(),t=A.cleanNumber,r=A.ms2DateTime,o=A.dateTime2ms,n=A.ensureNumber,i=A.isArrayOrTypedArray,a=Hi(),s=a.FP_SAFE,c=a.BADNUM,h=a.LOG_CLIP,p=a.ONEWEEK,d=a.ONEDAY,T=a.ONEHOUR,l=a.ONEMIN,_=a.ONESEC,w=qc(),M=oh(),E=M.HOUR_PATTERN,m=M.WEEKDAY_PATTERN;function b(u){return Math.pow(10,u)}function v(u){return u!=null}H.exports=function(y,f){f=f||{};var P=y._id||\"x\",L=P.charAt(0);function z(X,re){if(X>0)return Math.log(X)/Math.LN10;if(X<=0&&re&&y.range&&y.range.length===2){var ae=y.range[0],j=y.range[1];return .5*(ae+j-2*h*Math.abs(ae-j))}else return c}function F(X,re,ae,j){if((j||{}).msUTC&&e(X))return+X;var ee=o(X,ae||y.calendar);if(ee===c)if(e(X)){X=+X;var ie=Math.floor(A.mod(X+.05,1)*10),ce=Math.round(X-ie/10);ee=o(new Date(ce))+ie/10}else return c;return ee}function B(X,re,ae){return r(X,re,ae||y.calendar)}function O(X){return y._categories[Math.round(X)]}function I(X){if(v(X)){if(y._categoriesMap===void 0&&(y._categoriesMap={}),y._categoriesMap[X]!==void 0)return y._categoriesMap[X];y._categories.push(typeof X==\"number\"?String(X):X);var re=y._categories.length-1;return y._categoriesMap[X]=re,re}return c}function N(X,re){for(var ae=new Array(re),j=0;jy.range[1]&&(ae=!ae);for(var j=ae?-1:1,ee=j*X,ie=0,ce=0;ceTe)ie=ce+1;else{ie=ee<(xe+Te)/2?ce:ce+1;break}}var Ue=y._B[ie]||0;return isFinite(Ue)?le(X,y._m2,Ue):0},G=function(X){var re=y._rangebreaks.length;if(!re)return se(X,y._m,y._b);for(var ae=0,j=0;jy._rangebreaks[j].pmax&&(ae=j+1);return se(X,y._m2,y._B[ae])}}y.c2l=y.type===\"log\"?z:n,y.l2c=y.type===\"log\"?b:n,y.l2p=fe,y.p2l=G,y.c2p=y.type===\"log\"?function(X,re){return fe(z(X,re))}:fe,y.p2c=y.type===\"log\"?function(X){return b(G(X))}:G,[\"linear\",\"-\"].indexOf(y.type)!==-1?(y.d2r=y.r2d=y.d2c=y.r2c=y.d2l=y.r2l=t,y.c2d=y.c2r=y.l2d=y.l2r=n,y.d2p=y.r2p=function(X){return y.l2p(t(X))},y.p2d=y.p2r=G,y.cleanPos=n):y.type===\"log\"?(y.d2r=y.d2l=function(X,re){return z(t(X),re)},y.r2d=y.r2c=function(X){return b(t(X))},y.d2c=y.r2l=t,y.c2d=y.l2r=n,y.c2r=z,y.l2d=b,y.d2p=function(X,re){return y.l2p(y.d2r(X,re))},y.p2d=function(X){return b(G(X))},y.r2p=function(X){return y.l2p(t(X))},y.p2r=G,y.cleanPos=n):y.type===\"date\"?(y.d2r=y.r2d=A.identity,y.d2c=y.r2c=y.d2l=y.r2l=F,y.c2d=y.c2r=y.l2d=y.l2r=B,y.d2p=y.r2p=function(X,re,ae){return y.l2p(F(X,0,ae))},y.p2d=y.p2r=function(X,re,ae){return B(G(X),re,ae)},y.cleanPos=function(X){return A.cleanDate(X,c,y.calendar)}):y.type===\"category\"?(y.d2c=y.d2l=I,y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=Q(X);return re!==void 0?re:y.fraction2r(.5)},y.l2r=y.c2r=n,y.r2l=Q,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return typeof X==\"string\"&&X!==\"\"?X:n(X)}):y.type===\"multicategory\"&&(y.r2d=y.c2d=y.l2d=O,y.d2r=y.d2l_noadd=W,y.r2c=function(X){var re=W(X);return re!==void 0?re:y.fraction2r(.5)},y.r2c_just_indices=U,y.l2r=y.c2r=n,y.r2l=W,y.d2p=function(X){return y.l2p(y.r2c(X))},y.p2d=function(X){return O(G(X))},y.r2p=y.d2p,y.p2r=G,y.cleanPos=function(X){return Array.isArray(X)||typeof X==\"string\"&&X!==\"\"?X:n(X)},y.setupMultiCategory=function(X){var re=y._traceIndices,ae,j,ee=y._matchGroup;if(ee&&y._categories.length===0){for(var ie in ee)if(ie!==P){var ce=f[w.id2name(ie)];re=re.concat(ce._traceIndices)}}var xe=[[0,{}],[0,{}]],Te=[];for(ae=0;aece[1]&&(j[ie?0:1]=ae),j[0]===j[1]){var xe=y.l2r(re),Te=y.l2r(ae);if(re!==void 0){var Ue=xe+1;ae!==void 0&&(Ue=Math.min(Ue,Te)),j[ie?1:0]=Ue}if(ae!==void 0){var Ie=Te+1;re!==void 0&&(Ie=Math.max(Ie,xe)),j[ie?0:1]=Ie}}}},y.cleanRange=function(X,re){y._cleanRange(X,re),y.limitRange(X)},y._cleanRange=function(X,re){re||(re={}),X||(X=\"range\");var ae=A.nestedProperty(y,X).get(),j,ee;if(y.type===\"date\"?ee=A.dfltRange(y.calendar):L===\"y\"?ee=M.DFLTRANGEY:y._name===\"realaxis\"?ee=[0,1]:ee=re.dfltRange||M.DFLTRANGEX,ee=ee.slice(),(y.rangemode===\"tozero\"||y.rangemode===\"nonnegative\")&&(ee[0]=0),!ae||ae.length!==2){A.nestedProperty(y,X).set(ee);return}var ie=ae[0]===null,ce=ae[1]===null;for(y.type===\"date\"&&!y.autorange&&(ae[0]=A.cleanDate(ae[0],c,y.calendar),ae[1]=A.cleanDate(ae[1],c,y.calendar)),j=0;j<2;j++)if(y.type===\"date\"){if(!A.isDateTime(ae[j],y.calendar)){y[X]=ee;break}if(y.r2l(ae[0])===y.r2l(ae[1])){var xe=A.constrain(y.r2l(ae[0]),A.MIN_MS+1e3,A.MAX_MS-1e3);ae[0]=y.l2r(xe-1e3),ae[1]=y.l2r(xe+1e3);break}}else{if(!e(ae[j]))if(!(ie||ce)&&e(ae[1-j]))ae[j]=ae[1-j]*(j?10:.1);else{y[X]=ee;break}if(ae[j]<-s?ae[j]=-s:ae[j]>s&&(ae[j]=s),ae[0]===ae[1]){var Te=Math.max(1,Math.abs(ae[0]*1e-6));ae[0]-=Te,ae[1]+=Te}}},y.setScale=function(X){var re=f._size;if(y.overlaying){var ae=w.getFromId({_fullLayout:f},y.overlaying);y.domain=ae.domain}var j=X&&y._r?\"_r\":\"range\",ee=y.calendar;y.cleanRange(j);var ie=y.r2l(y[j][0],ee),ce=y.r2l(y[j][1],ee),xe=L===\"y\";if(xe?(y._offset=re.t+(1-y.domain[1])*re.h,y._length=re.h*(y.domain[1]-y.domain[0]),y._m=y._length/(ie-ce),y._b=-y._m*ce):(y._offset=re.l+y.domain[0]*re.w,y._length=re.w*(y.domain[1]-y.domain[0]),y._m=y._length/(ce-ie),y._b=-y._m*ie),y._rangebreaks=[],y._lBreaks=0,y._m2=0,y._B=[],y.rangebreaks){var Te,Ue;if(y._rangebreaks=y.locateBreaks(Math.min(ie,ce),Math.max(ie,ce)),y._rangebreaks.length){for(Te=0;Tece&&(Ie=!Ie),Ie&&y._rangebreaks.reverse();var Ye=Ie?-1:1;for(y._m2=Ye*y._length/(Math.abs(ce-ie)-y._lBreaks),y._B.push(-y._m2*(xe?ce:ie)),Te=0;Teee&&(ee+=7,ieee&&(ee+=24,ie=j&&ie=j&&X=et.min&&(ueet.max&&(et.max=Oe),rt=!1)}rt&&ce.push({min:ue,max:Oe})}};for(ae=0;ae_*2}function a(h){return Math.max(1,(h-1)/1e3)}function s(h,p){for(var d=h.length,T=a(d),l=0,_=0,w={},M=0;Ml*2}function c(h){return S(h[0])&&S(h[1])}}}),lv=ke({\"src/plots/cartesian/autorange.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=un(),S=Hi().FP_SAFE,e=lo(),t=$o(),r=qc(),o=r.getFromId,n=r.isLinked;H.exports={applyAutorangeOptions:y,getAutoRange:i,makePadFn:s,doAutoRange:d,findExtremes:T,concatExtremes:p};function i(f,P){var L,z,F=[],B=f._fullLayout,O=s(B,P,0),I=s(B,P,1),N=p(f,P),U=N.min,W=N.max;if(U.length===0||W.length===0)return A.simpleMap(P.range,P.r2l);var Q=U[0].val,le=W[0].val;for(L=1;L0&&(Te=re-O(ee)-I(ie),Te>ae?Ue/Te>j&&(ce=ee,xe=ie,j=Ue/Te):Ue/re>j&&(ce={val:ee.val,nopad:1},xe={val:ie.val,nopad:1},j=Ue/re));function Ie(ut,Me){return Math.max(ut,I(Me))}if(Q===le){var Ye=Q-1,it=Q+1;if(J)if(Q===0)F=[0,1];else{var at=(Q>0?W:U).reduce(Ie,0),tt=Q/(1-Math.min(.5,at/re));F=Q>0?[0,tt]:[tt,0]}else X?F=[Math.max(0,Ye),Math.max(1,it)]:F=[Ye,it]}else J?(ce.val>=0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:0,nopad:1})):X&&(ce.val-j*O(ce)<0&&(ce={val:0,nopad:1}),xe.val<=0&&(xe={val:1,nopad:1})),j=(xe.val-ce.val-a(P,ee.val,ie.val))/(re-O(ce)-I(xe)),F=[ce.val-j*O(ce),xe.val+j*I(xe)];return F=y(F,P),P.limitRange&&P.limitRange(),fe&&F.reverse(),A.simpleMap(F,P.l2r||Number)}function a(f,P,L){var z=0;if(f.rangebreaks)for(var F=f.locateBreaks(P,L),B=0;B0?L.ppadplus:L.ppadminus)||L.ppad||0),ee=ae((f._m>0?L.ppadminus:L.ppadplus)||L.ppad||0),ie=ae(L.vpadplus||L.vpad),ce=ae(L.vpadminus||L.vpad);if(!U){if(X=1/0,re=-1/0,N)for(Q=0;Q0&&(X=le),le>re&&le-S&&(X=le),le>re&&le=Ue;Q--)Te(Q);return{min:z,max:F,opts:L}}function l(f,P,L,z){w(f,P,L,z,E)}function _(f,P,L,z){w(f,P,L,z,m)}function w(f,P,L,z,F){for(var B=z.tozero,O=z.extrapad,I=!0,N=0;N=L&&(U.extrapad||!O)){I=!1;break}else F(P,U.val)&&U.pad<=L&&(O||!U.extrapad)&&(f.splice(N,1),N--)}if(I){var W=B&&P===0;f.push({val:P,pad:W?0:L,extrapad:W?!1:O})}}function M(f){return x(f)&&Math.abs(f)=P}function b(f,P){var L=P.autorangeoptions;return L&&L.minallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.minallowed:L&&L.clipmin!==void 0&&u(P,L.clipmin,L.clipmax)?Math.max(f,P.d2l(L.clipmin)):f}function v(f,P){var L=P.autorangeoptions;return L&&L.maxallowed!==void 0&&u(P,L.minallowed,L.maxallowed)?L.maxallowed:L&&L.clipmax!==void 0&&u(P,L.clipmin,L.clipmax)?Math.min(f,P.d2l(L.clipmax)):f}function u(f,P,L){return P!==void 0&&L!==void 0?(P=f.d2l(P),L=f.d2l(L),P=N&&(B=N,L=N),O<=N&&(O=N,z=N)}}return L=b(L,P),z=v(z,P),[L,z]}}}),Ho=ke({\"src/plots/cartesian/axes.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=Zu(),S=lo(),e=un(),t=e.strTranslate,r=Wl(),o=Im(),n=eo(),i=$o(),a=wh(),s=Zw(),c=Hi(),h=c.ONEMAXYEAR,p=c.ONEAVGYEAR,d=c.ONEMINYEAR,T=c.ONEMAXQUARTER,l=c.ONEAVGQUARTER,_=c.ONEMINQUARTER,w=c.ONEMAXMONTH,M=c.ONEAVGMONTH,E=c.ONEMINMONTH,m=c.ONEWEEK,b=c.ONEDAY,v=b/2,u=c.ONEHOUR,y=c.ONEMIN,f=c.ONESEC,P=c.ONEMILLI,L=c.ONEMICROSEC,z=c.MINUS_SIGN,F=c.BADNUM,B={K:\"zeroline\"},O={K:\"gridline\",L:\"path\"},I={K:\"minor-gridline\",L:\"path\"},N={K:\"tick\",L:\"path\"},U={K:\"tick\",L:\"text\"},W={width:[\"x\",\"r\",\"l\",\"xl\",\"xr\"],height:[\"y\",\"t\",\"b\",\"yt\",\"yb\"],right:[\"r\",\"xr\"],left:[\"l\",\"xl\"],top:[\"t\",\"yt\"],bottom:[\"b\",\"yb\"]},Q=Yf(),le=Q.MID_SHIFT,se=Q.CAP_SHIFT,fe=Q.LINE_SPACING,G=Q.OPPOSITE_SIDE,$=3,J=H.exports={};J.setConvert=Cv();var X=Gg(),re=qc(),ae=re.idSort,j=re.isLinked;J.id2name=re.id2name,J.name2id=re.name2id,J.cleanId=re.cleanId,J.list=re.list,J.listIds=re.listIds,J.getFromId=re.getFromId,J.getFromTrace=re.getFromTrace;var ee=lv();J.getAutoRange=ee.getAutoRange,J.findExtremes=ee.findExtremes;var ie=1e-4;function ce(gt){var yt=(gt[1]-gt[0])*ie;return[gt[0]-yt,gt[1]+yt]}J.coerceRef=function(gt,yt,Pr,Ir,Tr,Mr){var Lr=Ir.charAt(Ir.length-1),Ur=Pr._fullLayout._subplots[Lr+\"axis\"],Dr=Ir+\"ref\",nn={};return Tr||(Tr=Ur[0]||(typeof Mr==\"string\"?Mr:Mr[0])),Mr||(Mr=Tr),Ur=Ur.concat(Ur.map(function(vn){return vn+\" domain\"})),nn[Dr]={valType:\"enumerated\",values:Ur.concat(Mr?typeof Mr==\"string\"?[Mr]:Mr:[]),dflt:Tr},e.coerce(gt,yt,nn,Dr)},J.getRefType=function(gt){return gt===void 0?gt:gt===\"paper\"?\"paper\":gt===\"pixel\"?\"pixel\":/( domain)$/.test(gt)?\"domain\":\"range\"},J.coercePosition=function(gt,yt,Pr,Ir,Tr,Mr){var Lr,Ur,Dr=J.getRefType(Ir);if(Dr!==\"range\")Lr=e.ensureNumber,Ur=Pr(Tr,Mr);else{var nn=J.getFromId(yt,Ir);Mr=nn.fraction2r(Mr),Ur=Pr(Tr,Mr),Lr=nn.cleanPos}gt[Tr]=Lr(Ur)},J.cleanPosition=function(gt,yt,Pr){var Ir=Pr===\"paper\"||Pr===\"pixel\"?e.ensureNumber:J.getFromId(yt,Pr).cleanPos;return Ir(gt)},J.redrawComponents=function(gt,yt){yt=yt||J.listIds(gt);var Pr=gt._fullLayout;function Ir(Tr,Mr,Lr,Ur){for(var Dr=S.getComponentMethod(Tr,Mr),nn={},vn=0;vn2e-6||((Pr-gt._forceTick0)/gt._minDtick%1+1.000001)%1>2e-6)&&(gt._minDtick=0))},J.saveRangeInitial=function(gt,yt){for(var Pr=J.list(gt,\"\",!0),Ir=!1,Tr=0;Trgn*.3||nn(Ir)||nn(Tr))){var kt=Pr.dtick/2;gt+=gt+ktLr){var Ur=Number(Pr.substr(1));Mr.exactYears>Lr&&Ur%12===0?gt=J.tickIncrement(gt,\"M6\",\"reverse\")+b*1.5:Mr.exactMonths>Lr?gt=J.tickIncrement(gt,\"M1\",\"reverse\")+b*15.5:gt-=v;var Dr=J.tickIncrement(gt,Pr);if(Dr<=Ir)return Dr}return gt}J.prepMinorTicks=function(gt,yt,Pr){if(!yt.minor.dtick){delete gt.dtick;var Ir=yt.dtick&&x(yt._tmin),Tr;if(Ir){var Mr=J.tickIncrement(yt._tmin,yt.dtick,!0);Tr=[yt._tmin,Mr*.99+yt._tmin*.01]}else{var Lr=e.simpleMap(yt.range,yt.r2l);Tr=[Lr[0],.8*Lr[0]+.2*Lr[1]]}if(gt.range=e.simpleMap(Tr,yt.l2r),gt._isMinor=!0,J.prepTicks(gt,Pr),Ir){var Ur=x(yt.dtick),Dr=x(gt.dtick),nn=Ur?yt.dtick:+yt.dtick.substring(1),vn=Dr?gt.dtick:+gt.dtick.substring(1);Ur&&Dr?it(nn,vn)?nn===2*m&&vn===2*b&&(gt.dtick=m):nn===2*m&&vn===3*b?gt.dtick=m:nn===m&&!(yt._input.minor||{}).nticks?gt.dtick=b:at(nn/vn,2.5)?gt.dtick=nn/2:gt.dtick=nn:String(yt.dtick).charAt(0)===\"M\"?Dr?gt.dtick=\"M1\":it(nn,vn)?nn>=12&&vn===2&&(gt.dtick=\"M3\"):gt.dtick=yt.dtick:String(gt.dtick).charAt(0)===\"L\"?String(yt.dtick).charAt(0)===\"L\"?it(nn,vn)||(gt.dtick=at(nn/vn,2.5)?yt.dtick/2:yt.dtick):gt.dtick=\"D1\":gt.dtick===\"D2\"&&+yt.dtick>1&&(gt.dtick=1)}gt.range=yt.range}yt.minor._tick0Init===void 0&&(gt.tick0=yt.tick0)};function it(gt,yt){return Math.abs((gt/yt+.5)%1-.5)<.001}function at(gt,yt){return Math.abs(gt/yt-1)<.001}J.prepTicks=function(gt,yt){var Pr=e.simpleMap(gt.range,gt.r2l,void 0,void 0,yt);if(gt.tickmode===\"auto\"||!gt.dtick){var Ir=gt.nticks,Tr;Ir||(gt.type===\"category\"||gt.type===\"multicategory\"?(Tr=gt.tickfont?e.bigFont(gt.tickfont.size||12):15,Ir=gt._length/Tr):(Tr=gt._id.charAt(0)===\"y\"?40:80,Ir=e.constrain(gt._length/Tr,4,9)+1),gt._name===\"radialaxis\"&&(Ir*=2)),gt.minor&>.minor.tickmode!==\"array\"||gt.tickmode===\"array\"&&(Ir*=100),gt._roughDTick=Math.abs(Pr[1]-Pr[0])/Ir,J.autoTicks(gt,gt._roughDTick),gt._minDtick>0&>.dtick0?(Mr=Ir-1,Lr=Ir):(Mr=Ir,Lr=Ir);var Ur=gt[Mr].value,Dr=gt[Lr].value,nn=Math.abs(Dr-Ur),vn=Pr||nn,gn=0;vn>=d?nn>=d&&nn<=h?gn=nn:gn=p:Pr===l&&vn>=_?nn>=_&&nn<=T?gn=nn:gn=l:vn>=E?nn>=E&&nn<=w?gn=nn:gn=M:Pr===m&&vn>=m?gn=m:vn>=b?gn=b:Pr===v&&vn>=v?gn=v:Pr===u&&vn>=u&&(gn=u);var kt;gn>=nn&&(gn=nn,kt=!0);var or=Tr+gn;if(yt.rangebreaks&&gn>0){for(var yr=84,on=0,An=0;Anm&&(gn=nn)}(gn>0||Ir===0)&&(gt[Ir].periodX=Tr+gn/2)}}J.calcTicks=function(yt,Pr){for(var Ir=yt.type,Tr=yt.calendar,Mr=yt.ticklabelstep,Lr=yt.ticklabelmode===\"period\",Ur=yt.range[0]>yt.range[1],Dr=!yt.ticklabelindex||e.isArrayOrTypedArray(yt.ticklabelindex)?yt.ticklabelindex:[yt.ticklabelindex],nn=e.simpleMap(yt.range,yt.r2l,void 0,void 0,Pr),vn=nn[1]=(wn?0:1);Dn--){var Ui=!Dn;Dn?(yt._dtickInit=yt.dtick,yt._tick0Init=yt.tick0):(yt.minor._dtickInit=yt.minor.dtick,yt.minor._tick0Init=yt.minor.tick0);var pi=Dn?yt:e.extendFlat({},yt,yt.minor);if(Ui?J.prepMinorTicks(pi,yt,Pr):J.prepTicks(pi,Pr),pi.tickmode===\"array\"){Dn?(An=[],yr=Oe(yt,!Ui)):(Zn=[],on=Oe(yt,!Ui));continue}if(pi.tickmode===\"sync\"){An=[],yr=ue(yt);continue}var Ta=ce(nn),Sa=Ta[0],qa=Ta[1],to=x(pi.dtick),yo=Ir===\"log\"&&!(to||pi.dtick.charAt(0)===\"L\"),Xa=J.tickFirst(pi,Pr);if(Dn){if(yt._tmin=Xa,Xa=qa:pa<=qa;pa=J.tickIncrement(pa,gs,vn,Tr)){if(Dn&&cs++,pi.rangebreaks&&!vn){if(pa=kt)break}if(An.length>or||pa===Go)break;Go=pa;var Ya={value:pa};Dn?(yo&&pa!==(pa|0)&&(Ya.simpleLabel=!0),Mr>1&&cs%Mr&&(Ya.skipLabel=!0),An.push(Ya)):(Ya.minor=!0,Zn.push(Ya))}}if(!Zn||Zn.length<2)Dr=!1;else{var zo=(Zn[1].value-Zn[0].value)*(Ur?-1:1);ui(zo,yt.tickformat)||(Dr=!1)}if(!Dr)Bn=An;else{var Ka=An.concat(Zn);Lr&&An.length&&(Ka=Ka.slice(1)),Ka=Ka.sort(function(vo,Ps){return vo.value-Ps.value}).filter(function(vo,Ps,ls){return Ps===0||vo.value!==ls[Ps-1].value});var Yo=Ka.map(function(vo,Ps){return vo.minor===void 0&&!vo.skipLabel?Ps:null}).filter(function(vo){return vo!==null});Yo.forEach(function(vo){Dr.map(function(Ps){var ls=vo+Ps;ls>=0&&ls-1;Mi--){if(An[Mi].drop){An.splice(Mi,1);continue}An[Mi].value=en(An[Mi].value,yt);var Eo=yt.c2p(An[Mi].value);(Da?Xs>Eo-pl:Xskt||nokt&&(ls.periodX=kt),noTr&&ktp)yt/=p,Ir=Tr(10),gt.dtick=\"M\"+12*fr(yt,Ir,rt);else if(Mr>M)yt/=M,gt.dtick=\"M\"+fr(yt,1,ot);else if(Mr>b){if(gt.dtick=fr(yt,b,gt._hasDayOfWeekBreaks?[1,2,7,14]:Lt),!Pr){var Lr=J.getTickFormat(gt),Ur=gt.ticklabelmode===\"period\";Ur&&(gt._rawTick0=gt.tick0),/%[uVW]/.test(Lr)?gt.tick0=e.dateTick0(gt.calendar,2):gt.tick0=e.dateTick0(gt.calendar,1),Ur&&(gt._dowTick0=gt.tick0)}}else Mr>u?gt.dtick=fr(yt,u,ot):Mr>y?gt.dtick=fr(yt,y,et):Mr>f?gt.dtick=fr(yt,f,et):(Ir=Tr(10),gt.dtick=fr(yt,Ir,rt))}else if(gt.type===\"log\"){gt.tick0=0;var Dr=e.simpleMap(gt.range,gt.r2l);if(gt._isMinor&&(yt*=1.5),yt>.7)gt.dtick=Math.ceil(yt);else if(Math.abs(Dr[1]-Dr[0])<1){var nn=1.5*Math.abs((Dr[1]-Dr[0])/yt);yt=Math.abs(Math.pow(10,Dr[1])-Math.pow(10,Dr[0]))/nn,Ir=Tr(10),gt.dtick=\"L\"+fr(yt,Ir,rt)}else gt.dtick=yt>.3?\"D2\":\"D1\"}else gt.type===\"category\"||gt.type===\"multicategory\"?(gt.tick0=0,gt.dtick=Math.ceil(Math.max(yt,1))):xn(gt)?(gt.tick0=0,Ir=1,gt.dtick=fr(yt,Ir,qt)):(gt.tick0=0,Ir=Tr(10),gt.dtick=fr(yt,Ir,rt));if(gt.dtick===0&&(gt.dtick=1),!x(gt.dtick)&&typeof gt.dtick!=\"string\"){var vn=gt.dtick;throw gt.dtick=1,\"ax.dtick error: \"+String(vn)}};function ar(gt){var yt=gt.dtick;if(gt._tickexponent=0,!x(yt)&&typeof yt!=\"string\"&&(yt=1),(gt.type===\"category\"||gt.type===\"multicategory\")&&(gt._tickround=null),gt.type===\"date\"){var Pr=gt.r2l(gt.tick0),Ir=gt.l2r(Pr).replace(/(^-|i)/g,\"\"),Tr=Ir.length;if(String(yt).charAt(0)===\"M\")Tr>10||Ir.substr(5)!==\"01-01\"?gt._tickround=\"d\":gt._tickround=+yt.substr(1)%12===0?\"y\":\"m\";else if(yt>=b&&Tr<=10||yt>=b*15)gt._tickround=\"d\";else if(yt>=y&&Tr<=16||yt>=u)gt._tickround=\"M\";else if(yt>=f&&Tr<=19||yt>=y)gt._tickround=\"S\";else{var Mr=gt.l2r(Pr+yt).replace(/^-/,\"\").length;gt._tickround=Math.max(Tr,Mr)-20,gt._tickround<0&&(gt._tickround=4)}}else if(x(yt)||yt.charAt(0)===\"L\"){var Lr=gt.range.map(gt.r2d||Number);x(yt)||(yt=Number(yt.substr(1))),gt._tickround=2-Math.floor(Math.log(yt)/Math.LN10+.01);var Ur=Math.max(Math.abs(Lr[0]),Math.abs(Lr[1])),Dr=Math.floor(Math.log(Ur)/Math.LN10+.01),nn=gt.minexponent===void 0?3:gt.minexponent;Math.abs(Dr)>nn&&(Ee(gt.exponentformat)&&!we(Dr)?gt._tickexponent=3*Math.round((Dr-1)/3):gt._tickexponent=Dr)}else gt._tickround=null}J.tickIncrement=function(gt,yt,Pr,Ir){var Tr=Pr?-1:1;if(x(yt))return e.increment(gt,Tr*yt);var Mr=yt.charAt(0),Lr=Tr*Number(yt.substr(1));if(Mr===\"M\")return e.incrementMonth(gt,Lr,Ir);if(Mr===\"L\")return Math.log(Math.pow(10,gt)+Lr)/Math.LN10;if(Mr===\"D\"){var Ur=yt===\"D2\"?Bt:Et,Dr=gt+Tr*.01,nn=e.roundUp(e.mod(Dr,1),Ur,Pr);return Math.floor(Dr)+Math.log(g.round(Math.pow(10,nn),1))/Math.LN10}throw\"unrecognized dtick \"+String(yt)},J.tickFirst=function(gt,yt){var Pr=gt.r2l||Number,Ir=e.simpleMap(gt.range,Pr,void 0,void 0,yt),Tr=Ir[1]=0&&Zn<=gt._length?An:null};if(Mr&&e.isArrayOrTypedArray(gt.ticktext)){var gn=e.simpleMap(gt.range,gt.r2l),kt=(Math.abs(gn[1]-gn[0])-(gt._lBreaks||0))/1e4;for(nn=0;nn\"+Ur;else{var nn=Fn(gt),vn=gt._trueSide||gt.side;(!nn&&vn===\"top\"||nn&&vn===\"bottom\")&&(Lr+=\"
\")}yt.text=Lr}function br(gt,yt,Pr,Ir,Tr){var Mr=gt.dtick,Lr=yt.x,Ur=gt.tickformat,Dr=typeof Mr==\"string\"&&Mr.charAt(0);if(Tr===\"never\"&&(Tr=\"\"),Ir&&Dr!==\"L\"&&(Mr=\"L3\",Dr=\"L\"),Ur||Dr===\"L\")yt.text=Le(Math.pow(10,Lr),gt,Tr,Ir);else if(x(Mr)||Dr===\"D\"&&e.mod(Lr+.01,1)<.1){var nn=Math.round(Lr),vn=Math.abs(nn),gn=gt.exponentformat;gn===\"power\"||Ee(gn)&&we(nn)?(nn===0?yt.text=1:nn===1?yt.text=\"10\":yt.text=\"10\"+(nn>1?\"\":z)+vn+\"\",yt.fontSize*=1.25):(gn===\"e\"||gn===\"E\")&&vn>2?yt.text=\"1\"+gn+(nn>0?\"+\":z)+vn:(yt.text=Le(Math.pow(10,Lr),gt,\"\",\"fakehover\"),Mr===\"D1\"&>._id.charAt(0)===\"y\"&&(yt.dy-=yt.fontSize/6))}else if(Dr===\"D\")yt.text=String(Math.round(Math.pow(10,e.mod(Lr,1)))),yt.fontSize*=.75;else throw\"unrecognized dtick \"+String(Mr);if(gt.dtick===\"D1\"){var kt=String(yt.text).charAt(0);(kt===\"0\"||kt===\"1\")&&(gt._id.charAt(0)===\"y\"?yt.dx-=yt.fontSize/4:(yt.dy+=yt.fontSize/2,yt.dx+=(gt.range[1]>gt.range[0]?1:-1)*yt.fontSize*(Lr<0?.5:.25)))}}function _t(gt,yt){var Pr=gt._categories[Math.round(yt.x)];Pr===void 0&&(Pr=\"\"),yt.text=String(Pr)}function Be(gt,yt,Pr){var Ir=Math.round(yt.x),Tr=gt._categories[Ir]||[],Mr=Tr[1]===void 0?\"\":String(Tr[1]),Lr=Tr[0]===void 0?\"\":String(Tr[0]);Pr?yt.text=Lr+\" - \"+Mr:(yt.text=Mr,yt.text2=Lr)}function Ke(gt,yt,Pr,Ir,Tr){Tr===\"never\"?Tr=\"\":gt.showexponent===\"all\"&&Math.abs(yt.x/gt.dtick)<1e-6&&(Tr=\"hide\"),yt.text=Le(yt.x,gt,Tr,Ir)}function je(gt,yt,Pr,Ir,Tr){if(gt.thetaunit===\"radians\"&&!Pr){var Mr=yt.x/180;if(Mr===0)yt.text=\"0\";else{var Lr=Se(Mr);if(Lr[1]>=100)yt.text=Le(e.deg2rad(yt.x),gt,Tr,Ir);else{var Ur=yt.x<0;Lr[1]===1?Lr[0]===1?yt.text=\"\\u03C0\":yt.text=Lr[0]+\"\\u03C0\":yt.text=[\"\",Lr[0],\"\",\"\\u2044\",\"\",Lr[1],\"\",\"\\u03C0\"].join(\"\"),Ur&&(yt.text=z+yt.text)}}}else yt.text=Le(yt.x,gt,Tr,Ir)}function Se(gt){function yt(Ur,Dr){return Math.abs(Ur-Dr)<=1e-6}function Pr(Ur,Dr){return yt(Dr,0)?Ur:Pr(Dr,Ur%Dr)}function Ir(Ur){for(var Dr=1;!yt(Math.round(Ur*Dr)/Dr,Ur);)Dr*=10;return Dr}var Tr=Ir(gt),Mr=gt*Tr,Lr=Math.abs(Pr(Mr,Tr));return[Math.round(Mr/Lr),Math.round(Tr/Lr)]}var He=[\"f\",\"p\",\"n\",\"\\u03BC\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\"];function Ee(gt){return gt===\"SI\"||gt===\"B\"}function we(gt){return gt>14||gt<-15}function Le(gt,yt,Pr,Ir){var Tr=gt<0,Mr=yt._tickround,Lr=Pr||yt.exponentformat||\"B\",Ur=yt._tickexponent,Dr=J.getTickFormat(yt),nn=yt.separatethousands;if(Ir){var vn={exponentformat:Lr,minexponent:yt.minexponent,dtick:yt.showexponent===\"none\"?yt.dtick:x(gt)&&Math.abs(gt)||1,range:yt.showexponent===\"none\"?yt.range.map(yt.r2d):[0,gt||1]};ar(vn),Mr=(Number(vn._tickround)||0)+4,Ur=vn._tickexponent,yt.hoverformat&&(Dr=yt.hoverformat)}if(Dr)return yt._numFormat(Dr)(gt).replace(/-/g,z);var gn=Math.pow(10,-Mr)/2;if(Lr===\"none\"&&(Ur=0),gt=Math.abs(gt),gt\"+yr+\"\":Lr===\"B\"&&Ur===9?gt+=\"B\":Ee(Lr)&&(gt+=He[Ur/3+5])}return Tr?z+gt:gt}J.getTickFormat=function(gt){var yt;function Pr(Dr){return typeof Dr!=\"string\"?Dr:Number(Dr.replace(\"M\",\"\"))*M}function Ir(Dr,nn){var vn=[\"L\",\"D\"];if(typeof Dr==typeof nn){if(typeof Dr==\"number\")return Dr-nn;var gn=vn.indexOf(Dr.charAt(0)),kt=vn.indexOf(nn.charAt(0));return gn===kt?Number(Dr.replace(/(L|D)/g,\"\"))-Number(nn.replace(/(L|D)/g,\"\")):gn-kt}else return typeof Dr==\"number\"?1:-1}function Tr(Dr,nn,vn){var gn=vn||function(yr){return yr},kt=nn[0],or=nn[1];return(!kt&&typeof kt!=\"number\"||gn(kt)<=gn(Dr))&&(!or&&typeof or!=\"number\"||gn(or)>=gn(Dr))}function Mr(Dr,nn){var vn=nn[0]===null,gn=nn[1]===null,kt=Ir(Dr,nn[0])>=0,or=Ir(Dr,nn[1])<=0;return(vn||kt)&&(gn||or)}var Lr,Ur;if(gt.tickformatstops&>.tickformatstops.length>0)switch(gt.type){case\"date\":case\"linear\":{for(yt=0;yt=0&&Tr.unshift(Tr.splice(vn,1).shift())}});var Ur={false:{left:0,right:0}};return e.syncOrAsync(Tr.map(function(Dr){return function(){if(Dr){var nn=J.getFromId(gt,Dr);Pr||(Pr={}),Pr.axShifts=Ur,Pr.overlayingShiftedAx=Lr;var vn=J.drawOne(gt,nn,Pr);return nn._shiftPusher&&ri(nn,nn._fullDepth||0,Ur,!0),nn._r=nn.range.slice(),nn._rl=e.simpleMap(nn._r,nn.r2l),vn}}}))},J.drawOne=function(gt,yt,Pr){Pr=Pr||{};var Ir=Pr.axShifts||{},Tr=Pr.overlayingShiftedAx||[],Mr,Lr,Ur;yt.setScale();var Dr=gt._fullLayout,nn=yt._id,vn=nn.charAt(0),gn=J.counterLetter(nn),kt=Dr._plots[yt._mainSubplot];if(!kt)return;if(yt._shiftPusher=yt.autoshift||Tr.indexOf(yt._id)!==-1||Tr.indexOf(yt.overlaying)!==-1,yt._shiftPusher&yt.anchor===\"free\"){var or=yt.linewidth/2||0;yt.ticks===\"inside\"&&(or+=yt.ticklen),ri(yt,or,Ir,!0),ri(yt,yt.shift||0,Ir,!1)}(Pr.skipTitle!==!0||yt._shift===void 0)&&(yt._shift=Sn(yt,Ir));var yr=kt[vn+\"axislayer\"],on=yt._mainLinePosition,An=on+=yt._shift,Zn=yt._mainMirrorPosition,Bn=yt._vals=J.calcTicks(yt),wn=[yt.mirror,An,Zn].join(\"_\");for(Mr=0;Mr0?ls.bottom-vo:0,Ps))));var Tl=0,Vu=0;if(yt._shiftPusher&&(Tl=Math.max(Ps,ls.height>0?la===\"l\"?vo-ls.left:ls.right-vo:0),yt.title.text!==Dr._dfltTitle[vn]&&(Vu=(yt._titleStandoff||0)+(yt._titleScoot||0),la===\"l\"&&(Vu+=Rn(yt))),yt._fullDepth=Math.max(Tl,Vu)),yt.automargin){no={x:0,y:0,r:0,l:0,t:0,b:0};var Rl=[0,1],Qs=typeof yt._shift==\"number\"?yt._shift:0;if(vn===\"x\"){if(la===\"b\"?no[la]=yt._depth:(no[la]=yt._depth=Math.max(ls.width>0?vo-ls.top:0,Ps),Rl.reverse()),ls.width>0){var nu=ls.right-(yt._offset+yt._length);nu>0&&(no.xr=1,no.r=nu);var qu=yt._offset-ls.left;qu>0&&(no.xl=0,no.l=qu)}}else if(la===\"l\"?(yt._depth=Math.max(ls.height>0?vo-ls.left:0,Ps),no[la]=yt._depth-Qs):(yt._depth=Math.max(ls.height>0?ls.right-vo:0,Ps),no[la]=yt._depth+Qs,Rl.reverse()),ls.height>0){var kc=ls.bottom-(yt._offset+yt._length);kc>0&&(no.yb=0,no.b=kc);var Ju=yt._offset-ls.top;Ju>0&&(no.yt=1,no.t=Ju)}no[gn]=yt.anchor===\"free\"?yt.position:yt._anchorAxis.domain[Rl[0]],yt.title.text!==Dr._dfltTitle[vn]&&(no[la]+=Rn(yt)+(yt.title.standoff||0)),yt.mirror&&yt.anchor!==\"free\"&&($l={x:0,y:0,r:0,l:0,t:0,b:0},$l[Uo]=yt.linewidth,yt.mirror&&yt.mirror!==!0&&($l[Uo]+=Ps),yt.mirror===!0||yt.mirror===\"ticks\"?$l[gn]=yt._anchorAxis.domain[Rl[1]]:(yt.mirror===\"all\"||yt.mirror===\"allticks\")&&($l[gn]=[yt._counterDomainMin,yt._counterDomainMax][Rl[1]]))}wl&&(Ku=S.getComponentMethod(\"rangeslider\",\"autoMarginOpts\")(gt,yt)),typeof yt.automargin==\"string\"&&(nt(no,yt.automargin),nt($l,yt.automargin)),A.autoMargin(gt,gi(yt),no),A.autoMargin(gt,Zt(yt),$l),A.autoMargin(gt,Ft(yt),Ku)}),e.syncOrAsync(As)}};function nt(gt,yt){if(gt){var Pr=Object.keys(W).reduce(function(Ir,Tr){return yt.indexOf(Tr)!==-1&&W[Tr].forEach(function(Mr){Ir[Mr]=1}),Ir},{});Object.keys(gt).forEach(function(Ir){Pr[Ir]||(Ir.length===1?gt[Ir]=0:delete gt[Ir])})}}function pt(gt,yt){var Pr=[],Ir,Tr=function(Mr,Lr){var Ur=Mr.xbnd[Lr];Ur!==null&&Pr.push(e.extendFlat({},Mr,{x:Ur}))};if(yt.length){for(Ir=0;Irgt.range[1],Ur=gt.ticklabelposition&>.ticklabelposition.indexOf(\"inside\")!==-1,Dr=!Ur;if(Pr){var nn=Lr?-1:1;Pr=Pr*nn}if(Ir){var vn=gt.side,gn=Ur&&(vn===\"top\"||vn===\"left\")||Dr&&(vn===\"bottom\"||vn===\"right\")?1:-1;Ir=Ir*gn}return gt._id.charAt(0)===\"x\"?function(kt){return t(Tr+gt._offset+gt.l2p(Xt(kt))+Pr,Mr+Ir)}:function(kt){return t(Mr+Ir,Tr+gt._offset+gt.l2p(Xt(kt))+Pr)}};function Xt(gt){return gt.periodX!==void 0?gt.periodX:gt.x}function $t(gt){var yt=gt.ticklabelposition||\"\",Pr=function(or){return yt.indexOf(or)!==-1},Ir=Pr(\"top\"),Tr=Pr(\"left\"),Mr=Pr(\"right\"),Lr=Pr(\"bottom\"),Ur=Pr(\"inside\"),Dr=Lr||Tr||Ir||Mr;if(!Dr&&!Ur)return[0,0];var nn=gt.side,vn=Dr?(gt.tickwidth||0)/2:0,gn=$,kt=gt.tickfont?gt.tickfont.size:12;return(Lr||Ir)&&(vn+=kt*se,gn+=(gt.linewidth||0)/2),(Tr||Mr)&&(vn+=(gt.linewidth||0)/2,gn+=$),Ur&&nn===\"top\"&&(gn-=kt*(1-se)),(Tr||Ir)&&(vn=-vn),(nn===\"bottom\"||nn===\"right\")&&(gn=-gn),[Dr?vn:0,Ur?gn:0]}J.makeTickPath=function(gt,yt,Pr,Ir){Ir||(Ir={});var Tr=Ir.minor;if(Tr&&!gt.minor)return\"\";var Mr=Ir.len!==void 0?Ir.len:Tr?gt.minor.ticklen:gt.ticklen,Lr=gt._id.charAt(0),Ur=(gt.linewidth||1)/2;return Lr===\"x\"?\"M0,\"+(yt+Ur*Pr)+\"v\"+Mr*Pr:\"M\"+(yt+Ur*Pr)+\",0h\"+Mr*Pr},J.makeLabelFns=function(gt,yt,Pr){var Ir=gt.ticklabelposition||\"\",Tr=function(Xa){return Ir.indexOf(Xa)!==-1},Mr=Tr(\"top\"),Lr=Tr(\"left\"),Ur=Tr(\"right\"),Dr=Tr(\"bottom\"),nn=Dr||Lr||Mr||Ur,vn=Tr(\"inside\"),gn=Ir===\"inside\"&>.ticks===\"inside\"||!vn&>.ticks===\"outside\"&>.tickson!==\"boundaries\",kt=0,or=0,yr=gn?gt.ticklen:0;if(vn?yr*=-1:nn&&(yr=0),gn&&(kt+=yr,Pr)){var on=e.deg2rad(Pr);kt=yr*Math.cos(on)+1,or=yr*Math.sin(on)}gt.showticklabels&&(gn||gt.showline)&&(kt+=.2*gt.tickfont.size),kt+=(gt.linewidth||1)/2*(vn?-1:1);var An={labelStandoff:kt,labelShift:or},Zn,Bn,wn,Dn,Ui=0,pi=gt.side,Ta=gt._id.charAt(0),Sa=gt.tickangle,qa;if(Ta===\"x\")qa=!vn&&pi===\"bottom\"||vn&&pi===\"top\",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=or*Dn,Bn=yt+kt*Dn,wn=qa?1:-.2,Math.abs(Sa)===90&&(vn?wn+=le:Sa===-90&&pi===\"bottom\"?wn=se:Sa===90&&pi===\"top\"?wn=le:wn=.5,Ui=le/2*(Sa/90)),An.xFn=function(Xa){return Xa.dx+Zn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*wn},An.anchorFn=function(Xa,Go){if(nn){if(Lr)return\"end\";if(Ur)return\"start\"}return!x(Go)||Go===0||Go===180?\"middle\":Go*Dn<0!==vn?\"end\":\"start\"},An.heightFn=function(Xa,Go,pa){return Go<-60||Go>60?-.5*pa:gt.side===\"top\"!==vn?-pa:0};else if(Ta===\"y\"){if(qa=!vn&&pi===\"left\"||vn&&pi===\"right\",Dn=qa?1:-1,vn&&(Dn*=-1),Zn=kt,Bn=or*Dn,wn=0,!vn&&Math.abs(Sa)===90&&(Sa===-90&&pi===\"left\"||Sa===90&&pi===\"right\"?wn=se:wn=.5),vn){var to=x(Sa)?+Sa:0;if(to!==0){var yo=e.deg2rad(to);Ui=Math.abs(Math.sin(yo))*se*Dn,wn=0}}An.xFn=function(Xa){return Xa.dx+yt-(Zn+Xa.fontSize*wn)*Dn+Ui*Xa.fontSize},An.yFn=function(Xa){return Xa.dy+Bn+Xa.fontSize*le},An.anchorFn=function(Xa,Go){return x(Go)&&Math.abs(Go)===90?\"middle\":qa?\"end\":\"start\"},An.heightFn=function(Xa,Go,pa){return gt.side===\"right\"&&(Go*=-1),Go<-30?-pa:Go<30?-.5*pa:0}}return An};function ur(gt){return[gt.text,gt.x,gt.axInfo,gt.font,gt.fontSize,gt.fontColor].join(\"_\")}J.drawTicks=function(gt,yt,Pr){Pr=Pr||{};var Ir=yt._id+\"tick\",Tr=[].concat(yt.minor&&yt.minor.ticks?Pr.vals.filter(function(Lr){return Lr.minor&&!Lr.noTick}):[]).concat(yt.ticks?Pr.vals.filter(function(Lr){return!Lr.minor&&!Lr.noTick}):[]),Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().append(\"path\").classed(Ir,1).classed(\"ticks\",1).classed(\"crisp\",Pr.crisp!==!1).each(function(Lr){return n.stroke(g.select(this),Lr.minor?yt.minor.tickcolor:yt.tickcolor)}).style(\"stroke-width\",function(Lr){return i.crispRound(gt,Lr.minor?yt.minor.tickwidth:yt.tickwidth,1)+\"px\"}).attr(\"d\",Pr.path).style(\"display\",null),Wn(yt,[N]),Mr.attr(\"transform\",Pr.transFn)},J.drawGrid=function(gt,yt,Pr){if(Pr=Pr||{},yt.tickmode!==\"sync\"){var Ir=yt._id+\"grid\",Tr=yt.minor&&yt.minor.showgrid,Mr=Tr?Pr.vals.filter(function(Zn){return Zn.minor}):[],Lr=yt.showgrid?Pr.vals.filter(function(Zn){return!Zn.minor}):[],Ur=Pr.counterAxis;if(Ur&&J.shouldShowZeroLine(gt,yt,Ur))for(var Dr=yt.tickmode===\"array\",nn=0;nn=0;yr--){var on=yr?kt:or;if(on){var An=on.selectAll(\"path.\"+Ir).data(yr?Lr:Mr,ur);An.exit().remove(),An.enter().append(\"path\").classed(Ir,1).classed(\"crisp\",Pr.crisp!==!1),An.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path).each(function(Zn){return n.stroke(g.select(this),Zn.minor?yt.minor.gridcolor:yt.gridcolor||\"#ddd\")}).style(\"stroke-dasharray\",function(Zn){return i.dashStyle(Zn.minor?yt.minor.griddash:yt.griddash,Zn.minor?yt.minor.gridwidth:yt.gridwidth)}).style(\"stroke-width\",function(Zn){return(Zn.minor?gn:yt._gw)+\"px\"}).style(\"display\",null),typeof Pr.path==\"function\"&&An.attr(\"d\",Pr.path)}}Wn(yt,[O,I])}},J.drawZeroLine=function(gt,yt,Pr){Pr=Pr||Pr;var Ir=yt._id+\"zl\",Tr=J.shouldShowZeroLine(gt,yt,Pr.counterAxis),Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr?[{x:0,id:yt._id}]:[]);Mr.exit().remove(),Mr.enter().append(\"path\").classed(Ir,1).classed(\"zl\",1).classed(\"crisp\",Pr.crisp!==!1).each(function(){Pr.layer.selectAll(\"path\").sort(function(Lr,Ur){return ae(Lr.id,Ur.id)})}),Mr.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path).call(n.stroke,yt.zerolinecolor||n.defaultLine).style(\"stroke-width\",i.crispRound(gt,yt.zerolinewidth,yt._gw||1)+\"px\").style(\"display\",null),Wn(yt,[B])},J.drawLabels=function(gt,yt,Pr){Pr=Pr||{};var Ir=gt._fullLayout,Tr=yt._id,Mr=Pr.cls||Tr+\"tick\",Lr=Pr.vals.filter(function(Ya){return Ya.text}),Ur=Pr.labelFns,Dr=Pr.secondary?0:yt.tickangle,nn=(yt._prevTickAngles||{})[Mr],vn=Pr.layer.selectAll(\"g.\"+Mr).data(yt.showticklabels?Lr:[],ur),gn=[];vn.enter().append(\"g\").classed(Mr,1).append(\"text\").attr(\"text-anchor\",\"middle\").each(function(Ya){var zo=g.select(this),Ka=gt._promises.length;zo.call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya)).call(i.font,{family:Ya.font,size:Ya.fontSize,color:Ya.fontColor,weight:Ya.fontWeight,style:Ya.fontStyle,variant:Ya.fontVariant,textcase:Ya.fontTextcase,lineposition:Ya.fontLineposition,shadow:Ya.fontShadow}).text(Ya.text).call(r.convertToTspans,gt),gt._promises[Ka]?gn.push(gt._promises.pop().then(function(){kt(zo,Dr)})):kt(zo,Dr)}),Wn(yt,[U]),vn.exit().remove(),Pr.repositionOnUpdate&&vn.each(function(Ya){g.select(this).select(\"text\").call(r.positionText,Ur.xFn(Ya),Ur.yFn(Ya))});function kt(Ya,zo){Ya.each(function(Ka){var Yo=g.select(this),ns=Yo.select(\".text-math-group\"),hs=Ur.anchorFn(Ka,zo),ho=Pr.transFn.call(Yo.node(),Ka)+(x(zo)&&+zo!=0?\" rotate(\"+zo+\",\"+Ur.xFn(Ka)+\",\"+(Ur.yFn(Ka)-Ka.fontSize/2)+\")\":\"\"),Ro=r.lineCount(Yo),Ls=fe*Ka.fontSize,Vs=Ur.heightFn(Ka,x(zo)?+zo:0,(Ro-1)*Ls);if(Vs&&(ho+=t(0,Vs)),ns.empty()){var Ws=Yo.select(\"text\");Ws.attr({transform:ho,\"text-anchor\":hs}),Ws.style(\"opacity\",1),yt._adjustTickLabelsOverflow&&yt._adjustTickLabelsOverflow()}else{var fs=i.bBox(ns.node()).width,Mi=fs*{end:-.5,start:.5}[hs];ns.attr(\"transform\",ho+t(Mi,0))}})}yt._adjustTickLabelsOverflow=function(){var Ya=yt.ticklabeloverflow;if(!(!Ya||Ya===\"allow\")){var zo=Ya.indexOf(\"hide\")!==-1,Ka=yt._id.charAt(0)===\"x\",Yo=0,ns=Ka?gt._fullLayout.width:gt._fullLayout.height;if(Ya.indexOf(\"domain\")!==-1){var hs=e.simpleMap(yt.range,yt.r2l);Yo=yt.l2p(hs[0])+yt._offset,ns=yt.l2p(hs[1])+yt._offset}var ho=Math.min(Yo,ns),Ro=Math.max(Yo,ns),Ls=yt.side,Vs=1/0,Ws=-1/0;vn.each(function(pl){var Xs=g.select(this),Eo=Xs.select(\".text-math-group\");if(Eo.empty()){var Ys=i.bBox(Xs.node()),As=0;Ka?(Ys.right>Ro||Ys.leftRo||Ys.top+(yt.tickangle?0:pl.fontSize/4)yt[\"_visibleLabelMin_\"+hs._id]?pl.style(\"display\",\"none\"):Ro.K===\"tick\"&&!ho&&pl.style(\"display\",null)})})})})},kt(vn,nn+1?nn:Dr);function or(){return gn.length&&Promise.all(gn)}var yr=null;function on(){if(kt(vn,Dr),Lr.length&&yt.autotickangles&&(yt.type!==\"log\"||String(yt.dtick).charAt(0)!==\"D\")){yr=yt.autotickangles[0];var Ya=0,zo=[],Ka,Yo=1;vn.each(function(ls){Ya=Math.max(Ya,ls.fontSize);var no=yt.l2p(ls.x),$l=Qn(this),Ku=i.bBox($l.node());Yo=Math.max(Yo,r.lineCount($l)),zo.push({top:0,bottom:10,height:10,left:no-Ku.width/2,right:no+Ku.width/2+2,width:Ku.width+2})});var ns=(yt.tickson===\"boundaries\"||yt.showdividers)&&!Pr.secondary,hs=Lr.length,ho=Math.abs((Lr[hs-1].x-Lr[0].x)*yt._m)/(hs-1),Ro=ns?ho/2:ho,Ls=ns?yt.ticklen:Ya*1.25*Yo,Vs=Math.sqrt(Math.pow(Ro,2)+Math.pow(Ls,2)),Ws=Ro/Vs,fs=yt.autotickangles.map(function(ls){return ls*Math.PI/180}),Mi=fs.find(function(ls){return Math.abs(Math.cos(ls))<=Ws});Mi===void 0&&(Mi=fs.reduce(function(ls,no){return Math.abs(Math.cos(ls))cs*pa&&(yo=pa,Sa[Ta]=qa[Ta]=Xa[Ta])}var Ko=Math.abs(yo-to);Ko-Dn>0?(Ko-=Dn,Dn*=1+Dn/Ko):Dn=0,yt._id.charAt(0)!==\"y\"&&(Dn=-Dn),Sa[pi]=Bn.p2r(Bn.r2p(qa[pi])+Ui*Dn),Bn.autorange===\"min\"||Bn.autorange===\"max reversed\"?(Sa[0]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0):(Bn.autorange===\"max\"||Bn.autorange===\"min reversed\")&&(Sa[1]=null,Bn._rangeInitial0=void 0,Bn._rangeInitial1=void 0),Ir._insideTickLabelsUpdaterange[Bn._name+\".range\"]=Sa}var gs=e.syncOrAsync(An);return gs&&gs.then&>._promises.push(gs),gs};function pn(gt,yt,Pr){var Ir=yt._id+\"divider\",Tr=Pr.vals,Mr=Pr.layer.selectAll(\"path.\"+Ir).data(Tr,ur);Mr.exit().remove(),Mr.enter().insert(\"path\",\":first-child\").classed(Ir,1).classed(\"crisp\",1).call(n.stroke,yt.dividercolor).style(\"stroke-width\",i.crispRound(gt,yt.dividerwidth,1)+\"px\"),Mr.attr(\"transform\",Pr.transFn).attr(\"d\",Pr.path)}J.getPxPosition=function(gt,yt){var Pr=gt._fullLayout._size,Ir=yt._id.charAt(0),Tr=yt.side,Mr;if(yt.anchor!==\"free\"?Mr=yt._anchorAxis:Ir===\"x\"?Mr={_offset:Pr.t+(1-(yt.position||0))*Pr.h,_length:0}:Ir===\"y\"&&(Mr={_offset:Pr.l+(yt.position||0)*Pr.w+yt._shift,_length:0}),Tr===\"top\"||Tr===\"left\")return Mr._offset;if(Tr===\"bottom\"||Tr===\"right\")return Mr._offset+Mr._length};function Rn(gt){var yt=gt.title.font.size,Pr=(gt.title.text.match(r.BR_TAG_ALL)||[]).length;return gt.title.hasOwnProperty(\"standoff\")?yt*(se+Pr*fe):Pr?yt*(Pr+1)*fe:yt}function Nn(gt,yt){var Pr=gt._fullLayout,Ir=yt._id,Tr=Ir.charAt(0),Mr=yt.title.font.size,Lr,Ur=(yt.title.text.match(r.BR_TAG_ALL)||[]).length;if(yt.title.hasOwnProperty(\"standoff\"))yt.side===\"bottom\"||yt.side===\"right\"?Lr=yt._depth+yt.title.standoff+Mr*se:(yt.side===\"top\"||yt.side===\"left\")&&(Lr=yt._depth+yt.title.standoff+Mr*(le+Ur*fe));else{var Dr=Fn(yt);if(yt.type===\"multicategory\")Lr=yt._depth;else{var nn=1.5*Mr;Dr&&(nn=.5*Mr,yt.ticks===\"outside\"&&(nn+=yt.ticklen)),Lr=10+nn+(yt.linewidth?yt.linewidth-1:0)}Dr||(Tr===\"x\"?Lr+=yt.side===\"top\"?Mr*(yt.showticklabels?1:0):Mr*(yt.showticklabels?1.5:.5):Lr+=yt.side===\"right\"?Mr*(yt.showticklabels?1:.5):Mr*(yt.showticklabels?.5:0))}var vn=J.getPxPosition(gt,yt),gn,kt,or;Tr===\"x\"?(kt=yt._offset+yt._length/2,or=yt.side===\"top\"?vn-Lr:vn+Lr):(or=yt._offset+yt._length/2,kt=yt.side===\"right\"?vn+Lr:vn-Lr,gn={rotate:\"-90\",offset:0});var yr;if(yt.type!==\"multicategory\"){var on=yt._selections[yt._id+\"tick\"];if(yr={selection:on,side:yt.side},on&&on.node()&&on.node().parentNode){var An=i.getTranslate(on.node().parentNode);yr.offsetLeft=An.x,yr.offsetTop=An.y}yt.title.hasOwnProperty(\"standoff\")&&(yr.pad=0)}return yt._titleStandoff=Lr,o.draw(gt,Ir+\"title\",{propContainer:yt,propName:yt._name+\".title.text\",placeholder:Pr._dfltTitle[Tr],avoid:yr,transform:gn,attributes:{x:kt,y:or,\"text-anchor\":\"middle\"}})}J.shouldShowZeroLine=function(gt,yt,Pr){var Ir=e.simpleMap(yt.range,yt.r2l);return Ir[0]*Ir[1]<=0&&yt.zeroline&&(yt.type===\"linear\"||yt.type===\"-\")&&!(yt.rangebreaks&&yt.maskBreaks(0)===F)&&(On(yt,0)||!ni(gt,yt,Pr,Ir)||zn(gt,yt))},J.clipEnds=function(gt,yt){return yt.filter(function(Pr){return On(gt,Pr.x)})};function On(gt,yt){var Pr=gt.l2p(yt);return Pr>1&&Pr1)for(Tr=1;Tr=Tr.min&>=L:/%L/.test(yt)?gt>=P:/%[SX]/.test(yt)?gt>=f:/%M/.test(yt)?gt>=y:/%[HI]/.test(yt)?gt>=u:/%p/.test(yt)?gt>=v:/%[Aadejuwx]/.test(yt)?gt>=b:/%[UVW]/.test(yt)?gt>=m:/%[Bbm]/.test(yt)?gt>=E:/%[q]/.test(yt)?gt>=_:/%[Yy]/.test(yt)?gt>=d:!0}}}),Jw=ke({\"src/plots/cartesian/autorange_options_defaults.js\"(Z,H){\"use strict\";H.exports=function(x,A,S){var e,t;if(S){var r=A===\"reversed\"||A===\"min reversed\"||A===\"max reversed\";e=S[r?1:0],t=S[r?0:1]}var o=x(\"autorangeoptions.minallowed\",t===null?e:void 0),n=x(\"autorangeoptions.maxallowed\",e===null?t:void 0);o===void 0&&x(\"autorangeoptions.clipmin\"),n===void 0&&x(\"autorangeoptions.clipmax\"),x(\"autorangeoptions.include\")}}}),$w=ke({\"src/plots/cartesian/range_defaults.js\"(Z,H){\"use strict\";var g=Jw();H.exports=function(A,S,e,t){var r=S._template||{},o=S.type||r.type||\"-\";e(\"minallowed\"),e(\"maxallowed\");var n=e(\"range\");if(!n){var i;!t.noInsiderange&&o!==\"log\"&&(i=e(\"insiderange\"),i&&(i[0]===null||i[1]===null)&&(S.insiderange=!1,i=void 0),i&&(n=e(\"range\",i)))}var a=S.getAutorangeDflt(n,t),s=e(\"autorange\",a),c;n&&(n[0]===null&&n[1]===null||(n[0]===null||n[1]===null)&&(s===\"reversed\"||s===!0)||n[0]!==null&&(s===\"min\"||s===\"max reversed\")||n[1]!==null&&(s===\"max\"||s===\"min reversed\"))&&(n=void 0,delete S.range,S.autorange=!0,c=!0),c||(a=S.getAutorangeDflt(n,t),s=e(\"autorange\",a)),s&&(g(e,s,n),(o===\"linear\"||o===\"-\")&&e(\"rangemode\")),S.cleanRange()}}}),XE=ke({\"node_modules/mouse-event-offset/index.js\"(Z,H){var g={left:0,top:0};H.exports=x;function x(S,e,t){e=e||S.currentTarget||S.srcElement,Array.isArray(t)||(t=[0,0]);var r=S.clientX||0,o=S.clientY||0,n=A(e);return t[0]=r-n.left,t[1]=o-n.top,t}function A(S){return S===window||S===document||S===document.body?g:S.getBoundingClientRect()}}}),f_=ke({\"node_modules/has-passive-events/index.js\"(Z,H){\"use strict\";var g=qw();function x(){var A=!1;try{var S=Object.defineProperty({},\"passive\",{get:function(){A=!0}});window.addEventListener(\"test\",null,S),window.removeEventListener(\"test\",null,S)}catch{A=!1}return A}H.exports=g&&x()}}),ZE=ke({\"src/components/dragelement/align.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){var r=(x-S)/(e-S),o=r+A/(e-S),n=(r+o)/2;return t===\"left\"||t===\"bottom\"?r:t===\"center\"||t===\"middle\"?n:t===\"right\"||t===\"top\"?o:r<2/3-n?r:o>4/3-n?o:n}}}),YE=ke({\"src/components/dragelement/cursor.js\"(Z,H){\"use strict\";var g=un(),x=[[\"sw-resize\",\"s-resize\",\"se-resize\"],[\"w-resize\",\"move\",\"e-resize\"],[\"nw-resize\",\"n-resize\",\"ne-resize\"]];H.exports=function(S,e,t,r){return t===\"left\"?S=0:t===\"center\"?S=1:t===\"right\"?S=2:S=g.constrain(Math.floor(S*3),0,2),r===\"bottom\"?e=0:r===\"middle\"?e=1:r===\"top\"?e=2:e=g.constrain(Math.floor(e*3),0,2),x[e][S]}}}),KE=ke({\"src/components/dragelement/unhover.js\"(Z,H){\"use strict\";var g=jg(),x=l_(),A=Yy().getGraphDiv,S=Ed(),e=H.exports={};e.wrapped=function(t,r,o){t=A(t),t._fullLayout&&x.clear(t._fullLayout._uid+S.HOVERID),e.raw(t,r,o)},e.raw=function(r,o){var n=r._fullLayout,i=r._hoverdata;o||(o={}),!(o.target&&!r._dragged&&g.triggerHandler(r,\"plotly_beforehover\",o)===!1)&&(n._hoverlayer.selectAll(\"g\").remove(),n._hoverlayer.selectAll(\"line\").remove(),n._hoverlayer.selectAll(\"circle\").remove(),r._hoverdata=void 0,o.target&&i&&r.emit(\"plotly_unhover\",{event:o,points:i}))}}}),Xh=ke({\"src/components/dragelement/index.js\"(Z,H){\"use strict\";var g=XE(),x=Hw(),A=f_(),S=un().removeElement,e=oh(),t=H.exports={};t.align=ZE(),t.getCursor=YE();var r=KE();t.unhover=r.wrapped,t.unhoverRaw=r.raw,t.init=function(a){var s=a.gd,c=1,h=s._context.doubleClickDelay,p=a.element,d,T,l,_,w,M,E,m;s._mouseDownTime||(s._mouseDownTime=0),p.style.pointerEvents=\"all\",p.onmousedown=u,A?(p._ontouchstart&&p.removeEventListener(\"touchstart\",p._ontouchstart),p._ontouchstart=u,p.addEventListener(\"touchstart\",u,{passive:!1})):p.ontouchstart=u;function b(P,L,z){return Math.abs(P)\"u\"&&typeof P.clientY>\"u\"&&(P.clientX=d,P.clientY=T),l=new Date().getTime(),l-s._mouseDownTimeh&&(c=Math.max(c-1,1)),s._dragged)a.doneFn&&a.doneFn();else{var L;M.target===E?L=M:(L={target:E,srcElement:E,toElement:E},Object.keys(M).concat(Object.keys(M.__proto__)).forEach(z=>{var F=M[z];!L[z]&&typeof F!=\"function\"&&(L[z]=F)})),a.clickFn&&a.clickFn(c,L),m||E.dispatchEvent(new MouseEvent(\"click\",P))}s._dragging=!1,s._dragged=!1}};function o(){var i=document.createElement(\"div\");i.className=\"dragcover\";var a=i.style;return a.position=\"fixed\",a.left=0,a.right=0,a.top=0,a.bottom=0,a.zIndex=999999999,a.background=\"none\",document.body.appendChild(i),i}t.coverSlip=o;function n(i){return g(i.changedTouches?i.changedTouches[0]:i,document.body)}}}),uv=ke({\"src/lib/setcursor.js\"(Z,H){\"use strict\";H.exports=function(x,A){(x.attr(\"class\")||\"\").split(\" \").forEach(function(S){S.indexOf(\"cursor-\")===0&&x.classed(S,!1)}),A&&x.classed(\"cursor-\"+A,!0)}}}),JE=ke({\"src/lib/override_cursor.js\"(Z,H){\"use strict\";var g=uv(),x=\"data-savedcursor\",A=\"!!\";H.exports=function(e,t){var r=e.attr(x);if(t){if(!r){for(var o=(e.attr(\"class\")||\"\").split(\" \"),n=0;n(n===\"legend\"?1:0));if(P===!1&&(a[n]=void 0),!(P===!1&&!c.uirevision)&&(p(\"uirevision\",a.uirevision),P!==!1)){p(\"borderwidth\");var L=p(\"orientation\"),z=p(\"yref\"),F=p(\"xref\"),B=L===\"h\",O=z===\"paper\",I=F===\"paper\",N,U,W,Q=\"left\";B?(N=0,g.getComponentMethod(\"rangeslider\",\"isVisible\")(i.xaxis)?O?(U=1.1,W=\"bottom\"):(U=1,W=\"top\"):O?(U=-.1,W=\"top\"):(U=0,W=\"bottom\")):(U=1,W=\"auto\",I?N=1.02:(N=1,Q=\"right\")),x.coerce(c,h,{x:{valType:\"number\",editType:\"legend\",min:I?-2:0,max:I?3:1,dflt:N}},\"x\"),x.coerce(c,h,{y:{valType:\"number\",editType:\"legend\",min:O?-2:0,max:O?3:1,dflt:U}},\"y\"),p(\"traceorder\",b),r.isGrouped(a[n])&&p(\"tracegroupgap\"),p(\"entrywidth\"),p(\"entrywidthmode\"),p(\"indentation\"),p(\"itemsizing\"),p(\"itemwidth\"),p(\"itemclick\"),p(\"itemdoubleclick\"),p(\"groupclick\"),p(\"xanchor\",Q),p(\"yanchor\",W),p(\"valign\"),x.noneOrAll(c,h,[\"x\",\"y\"]);var le=p(\"title.text\");if(le){p(\"title.side\",B?\"left\":\"top\");var se=x.extendFlat({},d,{size:x.bigFont(d.size)});x.coerceFont(p,\"title.font\",se)}}}}H.exports=function(i,a,s){var c,h=s.slice(),p=a.shapes;if(p)for(c=0;cP&&(f=P)}u[d][0]._groupMinRank=f,u[d][0]._preGroupSort=d}var L=function(N,U){return N[0]._groupMinRank-U[0]._groupMinRank||N[0]._preGroupSort-U[0]._preGroupSort},z=function(N,U){return N.trace.legendrank-U.trace.legendrank||N._preSort-U._preSort};for(u.forEach(function(N,U){N[0]._preGroupSort=U}),u.sort(L),d=0;d0)re=$.width;else return 0;return v?X:Math.min(re,J)};M.each(function(G){var $=g.select(this),J=A.ensureSingle($,\"g\",\"layers\");J.style(\"opacity\",G[0].trace.opacity);var X=m.indentation,re=m.valign,ae=G[0].lineHeight,j=G[0].height;if(re===\"middle\"&&X===0||!ae||!j)J.attr(\"transform\",null);else{var ee={top:1,bottom:-1}[re],ie=ee*(.5*(ae-j+3))||0,ce=m.indentation;J.attr(\"transform\",S(ce,ie))}var xe=J.selectAll(\"g.legendfill\").data([G]);xe.enter().append(\"g\").classed(\"legendfill\",!0);var Te=J.selectAll(\"g.legendlines\").data([G]);Te.enter().append(\"g\").classed(\"legendlines\",!0);var Ue=J.selectAll(\"g.legendsymbols\").data([G]);Ue.enter().append(\"g\").classed(\"legendsymbols\",!0),Ue.selectAll(\"g.legendpoints\").data([G]).enter().append(\"g\").classed(\"legendpoints\",!0)}).each(fe).each(F).each(O).each(B).each(N).each(le).each(Q).each(L).each(z).each(U).each(W);function L(G){var $=l(G),J=$.showFill,X=$.showLine,re=$.showGradientLine,ae=$.showGradientFill,j=$.anyFill,ee=$.anyLine,ie=G[0],ce=ie.trace,xe,Te,Ue=r(ce),Ie=Ue.colorscale,Ye=Ue.reversescale,it=function(Oe){if(Oe.size())if(J)e.fillGroupStyle(Oe,E,!0);else{var rt=\"legendfill-\"+ce.uid;e.gradient(Oe,E,rt,T(Ye),Ie,\"fill\")}},at=function(Oe){if(Oe.size()){var rt=\"legendline-\"+ce.uid;e.lineGroupStyle(Oe),e.gradient(Oe,E,rt,T(Ye),Ie,\"stroke\")}},tt=o.hasMarkers(ce)||!j?\"M5,0\":ee?\"M5,-2\":\"M5,-3\",ut=g.select(this),Me=ut.select(\".legendfill\").selectAll(\"path\").data(J||ae?[G]:[]);if(Me.enter().append(\"path\").classed(\"js-fill\",!0),Me.exit().remove(),Me.attr(\"d\",tt+\"h\"+u+\"v6h-\"+u+\"z\").call(it),X||re){var pe=P(void 0,ce.line,p,c);Te=A.minExtend(ce,{line:{width:pe}}),xe=[A.minExtend(ie,{trace:Te})]}var ue=ut.select(\".legendlines\").selectAll(\"path\").data(X||re?[xe]:[]);ue.enter().append(\"path\").classed(\"js-line\",!0),ue.exit().remove(),ue.attr(\"d\",tt+(re?\"l\"+u+\",0.0001\":\"h\"+u)).call(X?e.lineGroupStyle:at)}function z(G){var $=l(G),J=$.anyFill,X=$.anyLine,re=$.showLine,ae=$.showMarker,j=G[0],ee=j.trace,ie=!ae&&!X&&!J&&o.hasText(ee),ce,xe;function Te(Me,pe,ue,Oe){var rt=A.nestedProperty(ee,Me).get(),ot=A.isArrayOrTypedArray(rt)&&pe?pe(rt):rt;if(v&&ot&&Oe!==void 0&&(ot=Oe),ue){if(otue[1])return ue[1]}return ot}function Ue(Me){return j._distinct&&j.index&&Me[j.index]?Me[j.index]:Me[0]}if(ae||ie||re){var Ie={},Ye={};if(ae){Ie.mc=Te(\"marker.color\",Ue),Ie.mx=Te(\"marker.symbol\",Ue),Ie.mo=Te(\"marker.opacity\",A.mean,[.2,1]),Ie.mlc=Te(\"marker.line.color\",Ue),Ie.mlw=Te(\"marker.line.width\",A.mean,[0,5],h),Ye.marker={sizeref:1,sizemin:1,sizemode:\"diameter\"};var it=Te(\"marker.size\",A.mean,[2,16],s);Ie.ms=it,Ye.marker.size=it}re&&(Ye.line={width:Te(\"line.width\",Ue,[0,10],c)}),ie&&(Ie.tx=\"Aa\",Ie.tp=Te(\"textposition\",Ue),Ie.ts=10,Ie.tc=Te(\"textfont.color\",Ue),Ie.tf=Te(\"textfont.family\",Ue),Ie.tw=Te(\"textfont.weight\",Ue),Ie.ty=Te(\"textfont.style\",Ue),Ie.tv=Te(\"textfont.variant\",Ue),Ie.tC=Te(\"textfont.textcase\",Ue),Ie.tE=Te(\"textfont.lineposition\",Ue),Ie.tS=Te(\"textfont.shadow\",Ue)),ce=[A.minExtend(j,Ie)],xe=A.minExtend(ee,Ye),xe.selectedpoints=null,xe.texttemplate=null}var at=g.select(this).select(\"g.legendpoints\"),tt=at.selectAll(\"path.scatterpts\").data(ae?ce:[]);tt.enter().insert(\"path\",\":first-child\").classed(\"scatterpts\",!0).attr(\"transform\",f),tt.exit().remove(),tt.call(e.pointStyle,xe,E),ae&&(ce[0].mrc=3);var ut=at.selectAll(\"g.pointtext\").data(ie?ce:[]);ut.enter().append(\"g\").classed(\"pointtext\",!0).append(\"text\").attr(\"transform\",f),ut.exit().remove(),ut.selectAll(\"text\").call(e.textPointStyle,xe,E)}function F(G){var $=G[0].trace,J=$.type===\"waterfall\";if(G[0]._distinct&&J){var X=G[0].trace[G[0].dir].marker;return G[0].mc=X.color,G[0].mlw=X.line.width,G[0].mlc=X.line.color,I(G,this,\"waterfall\")}var re=[];$.visible&&J&&(re=G[0].hasTotals?[[\"increasing\",\"M-6,-6V6H0Z\"],[\"totals\",\"M6,6H0L-6,-6H-0Z\"],[\"decreasing\",\"M6,6V-6H0Z\"]]:[[\"increasing\",\"M-6,-6V6H6Z\"],[\"decreasing\",\"M6,6V-6H-6Z\"]]);var ae=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendwaterfall\").data(re);ae.enter().append(\"path\").classed(\"legendwaterfall\",!0).attr(\"transform\",f).style(\"stroke-miterlimit\",1),ae.exit().remove(),ae.each(function(j){var ee=g.select(this),ie=$[j[0]].marker,ce=P(void 0,ie.line,d,h);ee.attr(\"d\",j[1]).style(\"stroke-width\",ce+\"px\").call(t.fill,ie.color),ce&&ee.call(t.stroke,ie.line.color)})}function B(G){I(G,this)}function O(G){I(G,this,\"funnel\")}function I(G,$,J){var X=G[0].trace,re=X.marker||{},ae=re.line||{},j=re.cornerradius?\"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z\":\"M6,6H-6V-6H6Z\",ee=J?X.visible&&X.type===J:x.traceIs(X,\"bar\"),ie=g.select($).select(\"g.legendpoints\").selectAll(\"path.legend\"+J).data(ee?[G]:[]);ie.enter().append(\"path\").classed(\"legend\"+J,!0).attr(\"d\",j).attr(\"transform\",f),ie.exit().remove(),ie.each(function(ce){var xe=g.select(this),Te=ce[0],Ue=P(Te.mlw,re.line,d,h);xe.style(\"stroke-width\",Ue+\"px\");var Ie=Te.mcc;if(!m._inHover&&\"mc\"in Te){var Ye=r(re),it=Ye.mid;it===void 0&&(it=(Ye.max+Ye.min)/2),Ie=e.tryColorscale(re,\"\")(it)}var at=Ie||Te.mc||re.color,tt=re.pattern,ut=tt&&e.getPatternAttr(tt.shape,0,\"\");if(ut){var Me=e.getPatternAttr(tt.bgcolor,0,null),pe=e.getPatternAttr(tt.fgcolor,0,null),ue=tt.fgopacity,Oe=_(tt.size,8,10),rt=_(tt.solidity,.5,1),ot=\"legend-\"+X.uid;xe.call(e.pattern,\"legend\",E,ot,ut,Oe,rt,Ie,tt.fillmode,Me,pe,ue)}else xe.call(t.fill,at);Ue&&t.stroke(xe,Te.mlc||ae.color)})}function N(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendbox\").data($.visible&&x.traceIs($,\"box-violin\")?[G]:[]);J.enter().append(\"path\").classed(\"legendbox\",!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",f),J.exit().remove(),J.each(function(){var X=g.select(this);if(($.boxpoints===\"all\"||$.points===\"all\")&&t.opacity($.fillcolor)===0&&t.opacity(($.line||{}).color)===0){var re=A.minExtend($,{marker:{size:v?s:A.constrain($.marker.size,2,16),sizeref:1,sizemin:1,sizemode:\"diameter\"}});J.call(e.pointStyle,re,E)}else{var ae=P(void 0,$.line,d,h);X.style(\"stroke-width\",ae+\"px\").call(t.fill,$.fillcolor),ae&&t.stroke(X,$.line.color)}})}function U(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendcandle\").data($.visible&&$.type===\"candlestick\"?[G,G]:[]);J.enter().append(\"path\").classed(\"legendcandle\",!0).attr(\"d\",function(X,re){return re?\"M-15,0H-8M-8,6V-6H8Z\":\"M15,0H8M8,-6V6H-8Z\"}).attr(\"transform\",f).style(\"stroke-miterlimit\",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?\"increasing\":\"decreasing\"],ee=P(void 0,j.line,d,h);ae.style(\"stroke-width\",ee+\"px\").call(t.fill,j.fillcolor),ee&&t.stroke(ae,j.line.color)})}function W(G){var $=G[0].trace,J=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legendohlc\").data($.visible&&$.type===\"ohlc\"?[G,G]:[]);J.enter().append(\"path\").classed(\"legendohlc\",!0).attr(\"d\",function(X,re){return re?\"M-15,0H0M-8,-6V0\":\"M15,0H0M8,6V0\"}).attr(\"transform\",f).style(\"stroke-miterlimit\",1),J.exit().remove(),J.each(function(X,re){var ae=g.select(this),j=$[re?\"increasing\":\"decreasing\"],ee=P(void 0,j.line,d,h);ae.style(\"fill\",\"none\").call(e.dashLine,j.line.dash,ee),ee&&t.stroke(ae,j.line.color)})}function Q(G){se(G,this,\"pie\")}function le(G){se(G,this,\"funnelarea\")}function se(G,$,J){var X=G[0],re=X.trace,ae=J?re.visible&&re.type===J:x.traceIs(re,J),j=g.select($).select(\"g.legendpoints\").selectAll(\"path.legend\"+J).data(ae?[G]:[]);if(j.enter().append(\"path\").classed(\"legend\"+J,!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",f),j.exit().remove(),j.size()){var ee=re.marker||{},ie=P(i(ee.line.width,X.pts),ee.line,d,h),ce=\"pieLike\",xe=A.minExtend(re,{marker:{line:{width:ie}}},ce),Te=A.minExtend(X,{trace:xe},ce);n(j,Te,xe,E)}}function fe(G){var $=G[0].trace,J,X=[];if($.visible)switch($.type){case\"histogram2d\":case\"heatmap\":X=[[\"M-15,-2V4H15V-2Z\"]],J=!0;break;case\"choropleth\":case\"choroplethmapbox\":case\"choroplethmap\":X=[[\"M-6,-6V6H6V-6Z\"]],J=!0;break;case\"densitymapbox\":case\"densitymap\":X=[[\"M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0\"]],J=\"radial\";break;case\"cone\":X=[[\"M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 L6,0Z\"]],J=!1;break;case\"streamtube\":X=[[\"M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z\"]],J=!1;break;case\"surface\":X=[[\"M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z\"],[\"M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z\"]],J=!0;break;case\"mesh3d\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],J=!1;break;case\"volume\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],J=!0;break;case\"isosurface\":X=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6 A12,24 0 0,0 6,-6 L0,6Z\"]],J=!1;break}var re=g.select(this).select(\"g.legendpoints\").selectAll(\"path.legend3dandfriends\").data(X);re.enter().append(\"path\").classed(\"legend3dandfriends\",!0).attr(\"transform\",f).style(\"stroke-miterlimit\",1),re.exit().remove(),re.each(function(ae,j){var ee=g.select(this),ie=r($),ce=ie.colorscale,xe=ie.reversescale,Te=function(it){if(it.size()){var at=\"legendfill-\"+$.uid;e.gradient(it,E,at,T(xe,J===\"radial\"),ce,\"fill\")}},Ue;if(ce){if(!J){var Ye=ce.length;Ue=j===0?ce[xe?Ye-1:0][1]:j===1?ce[xe?0:Ye-1][1]:ce[Math.floor((Ye-1)/2)][1]}}else{var Ie=$.vertexcolor||$.facecolor||$.color;Ue=A.isArrayOrTypedArray(Ie)?Ie[j]||Ie[0]:Ie}ee.attr(\"d\",ae[0]),Ue?ee.call(t.fill,Ue):ee.call(Te)})}};function T(w,M){var E=M?\"radial\":\"horizontal\";return E+(w?\"\":\"reversed\")}function l(w){var M=w[0].trace,E=M.contours,m=o.hasLines(M),b=o.hasMarkers(M),v=M.visible&&M.fill&&M.fill!==\"none\",u=!1,y=!1;if(E){var f=E.coloring;f===\"lines\"?u=!0:m=f===\"none\"||f===\"heatmap\"||E.showlines,E.type===\"constraint\"?v=E._operation!==\"=\":(f===\"fill\"||f===\"heatmap\")&&(y=!0)}return{showMarker:b,showLine:m,showFill:v,showGradientLine:u,showGradientFill:y,anyLine:m||u,anyFill:v||y}}function _(w,M,E){return w&&A.isArrayOrTypedArray(w)?M:w>E?E:w}}}),n2=ke({\"src/components/legend/draw.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=Zu(),S=lo(),e=jg(),t=Xh(),r=$o(),o=eo(),n=Wl(),i=$E(),a=t2(),s=Yf(),c=s.LINE_SPACING,h=s.FROM_TL,p=s.FROM_BR,d=QE(),T=r2(),l=h_(),_=1,w=/^legend[0-9]*$/;H.exports=function(U,W){if(W)E(U,W);else{var Q=U._fullLayout,le=Q._legends,se=Q._infolayer.selectAll('[class^=\"legend\"]');se.each(function(){var J=g.select(this),X=J.attr(\"class\"),re=X.split(\" \")[0];re.match(w)&&le.indexOf(re)===-1&&J.remove()});for(var fe=0;fe1)}var ee=Q.hiddenlabels||[];if(!G&&(!Q.showlegend||!$.length))return fe.selectAll(\".\"+le).remove(),Q._topdefs.select(\"#\"+se).remove(),A.autoMargin(N,le);var ie=x.ensureSingle(fe,\"g\",le,function(tt){G||tt.attr(\"pointer-events\",\"all\")}),ce=x.ensureSingleById(Q._topdefs,\"clipPath\",se,function(tt){tt.append(\"rect\")}),xe=x.ensureSingle(ie,\"rect\",\"bg\",function(tt){tt.attr(\"shape-rendering\",\"crispEdges\")});xe.call(o.stroke,W.bordercolor).call(o.fill,W.bgcolor).style(\"stroke-width\",W.borderwidth+\"px\");var Te=x.ensureSingle(ie,\"g\",\"scrollbox\"),Ue=W.title;W._titleWidth=0,W._titleHeight=0;var Ie;Ue.text?(Ie=x.ensureSingle(Te,\"text\",le+\"titletext\"),Ie.attr(\"text-anchor\",\"start\").call(r.font,Ue.font).text(Ue.text),f(Ie,Te,N,W,_)):Te.selectAll(\".\"+le+\"titletext\").remove();var Ye=x.ensureSingle(ie,\"rect\",\"scrollbar\",function(tt){tt.attr(a.scrollBarEnterAttrs).call(o.fill,a.scrollBarColor)}),it=Te.selectAll(\"g.groups\").data($);it.enter().append(\"g\").attr(\"class\",\"groups\"),it.exit().remove();var at=it.selectAll(\"g.traces\").data(x.identity);at.enter().append(\"g\").attr(\"class\",\"traces\"),at.exit().remove(),at.style(\"opacity\",function(tt){var ut=tt[0].trace;return S.traceIs(ut,\"pie-like\")?ee.indexOf(tt[0].label)!==-1?.5:1:ut.visible===\"legendonly\"?.5:1}).each(function(){g.select(this).call(v,N,W)}).call(T,N,W).each(function(){G||g.select(this).call(y,N,le)}),x.syncOrAsync([A.previousPromises,function(){return z(N,it,at,W)},function(){var tt=Q._size,ut=W.borderwidth,Me=W.xref===\"paper\",pe=W.yref===\"paper\";if(Ue.text&&M(Ie,W,ut),!G){var ue,Oe;Me?ue=tt.l+tt.w*W.x-h[B(W)]*W._width:ue=Q.width*W.x-h[B(W)]*W._width,pe?Oe=tt.t+tt.h*(1-W.y)-h[O(W)]*W._effHeight:Oe=Q.height*(1-W.y)-h[O(W)]*W._effHeight;var rt=F(N,le,ue,Oe);if(rt)return;if(Q.margin.autoexpand){var ot=ue,et=Oe;ue=Me?x.constrain(ue,0,Q.width-W._width):ot,Oe=pe?x.constrain(Oe,0,Q.height-W._effHeight):et,ue!==ot&&x.log(\"Constrain \"+le+\".x to make legend fit inside graph\"),Oe!==et&&x.log(\"Constrain \"+le+\".y to make legend fit inside graph\")}r.setTranslate(ie,ue,Oe)}if(Ye.on(\".drag\",null),ie.on(\"wheel\",null),G||W._height<=W._maxHeight||N._context.staticPlot){var Lt=W._effHeight;G&&(Lt=W._height),xe.attr({width:W._width-ut,height:Lt-ut,x:ut/2,y:ut/2}),r.setTranslate(Te,0,0),ce.select(\"rect\").attr({width:W._width-2*ut,height:Lt-2*ut,x:ut,y:ut}),r.setClipUrl(Te,se,N),r.setRect(Ye,0,0,0,0),delete W._scrollY}else{var Et=Math.max(a.scrollBarMinHeight,W._effHeight*W._effHeight/W._height),Bt=W._effHeight-Et-2*a.scrollBarMargin,qt=W._height-W._effHeight,fr=Bt/qt,ar=Math.min(W._scrollY||0,qt);xe.attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-ut,x:ut/2,y:ut/2}),ce.select(\"rect\").attr({width:W._width-2*ut+a.scrollBarWidth+a.scrollBarMargin,height:W._effHeight-2*ut,x:ut,y:ut+ar}),r.setClipUrl(Te,se,N),Se(ar,Et,fr),ie.on(\"wheel\",function(){ar=x.constrain(W._scrollY+g.event.deltaY/Bt*qt,0,qt),Se(ar,Et,fr),ar!==0&&ar!==qt&&g.event.preventDefault()});var Rr,gr,br,_t=function(nt,pt,bt){var Rt=(bt-pt)/fr+nt;return x.constrain(Rt,0,qt)},Be=function(nt,pt,bt){var Rt=(pt-bt)/fr+nt;return x.constrain(Rt,0,qt)},Ke=g.behavior.drag().on(\"dragstart\",function(){var nt=g.event.sourceEvent;nt.type===\"touchstart\"?Rr=nt.changedTouches[0].clientY:Rr=nt.clientY,br=ar}).on(\"drag\",function(){var nt=g.event.sourceEvent;nt.buttons===2||nt.ctrlKey||(nt.type===\"touchmove\"?gr=nt.changedTouches[0].clientY:gr=nt.clientY,ar=_t(br,Rr,gr),Se(ar,Et,fr))});Ye.call(Ke);var je=g.behavior.drag().on(\"dragstart\",function(){var nt=g.event.sourceEvent;nt.type===\"touchstart\"&&(Rr=nt.changedTouches[0].clientY,br=ar)}).on(\"drag\",function(){var nt=g.event.sourceEvent;nt.type===\"touchmove\"&&(gr=nt.changedTouches[0].clientY,ar=Be(br,Rr,gr),Se(ar,Et,fr))});Te.call(je)}function Se(nt,pt,bt){W._scrollY=N._fullLayout[le]._scrollY=nt,r.setTranslate(Te,0,-nt),r.setRect(Ye,W._width,a.scrollBarMargin+nt*bt,a.scrollBarWidth,pt),ce.select(\"rect\").attr(\"y\",ut+nt)}if(N._context.edits.legendPosition){var He,Ee,we,Le;ie.classed(\"cursor-move\",!0),t.init({element:ie.node(),gd:N,prepFn:function(nt){if(nt.target!==Ye.node()){var pt=r.getTranslate(ie);we=pt.x,Le=pt.y}},moveFn:function(nt,pt){if(we!==void 0&&Le!==void 0){var bt=we+nt,Rt=Le+pt;r.setTranslate(ie,bt,Rt),He=t.align(bt,W._width,tt.l,tt.l+tt.w,W.xanchor),Ee=t.align(Rt+W._height,-W._height,tt.t+tt.h,tt.t,W.yanchor)}},doneFn:function(){if(He!==void 0&&Ee!==void 0){var nt={};nt[le+\".x\"]=He,nt[le+\".y\"]=Ee,S.call(\"_guiRelayout\",N,nt)}},clickFn:function(nt,pt){var bt=fe.selectAll(\"g.traces\").filter(function(){var Rt=this.getBoundingClientRect();return pt.clientX>=Rt.left&&pt.clientX<=Rt.right&&pt.clientY>=Rt.top&&pt.clientY<=Rt.bottom});bt.size()>0&&b(N,ie,bt,nt,pt)}})}}],N)}}function m(N,U,W){var Q=N[0],le=Q.width,se=U.entrywidthmode,fe=Q.trace.legendwidth||U.entrywidth;return se===\"fraction\"?U._maxWidth*fe:W+(fe||le)}function b(N,U,W,Q,le){var se=W.data()[0][0].trace,fe={event:le,node:W.node(),curveNumber:se.index,expandedIndex:se.index,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};se._group&&(fe.group=se._group),S.traceIs(se,\"pie-like\")&&(fe.label=W.datum()[0].label);var G=e.triggerHandler(N,\"plotly_legendclick\",fe);if(Q===1){if(G===!1)return;U._clickTimeout=setTimeout(function(){N._fullLayout&&i(W,N,Q)},N._context.doubleClickDelay)}else if(Q===2){U._clickTimeout&&clearTimeout(U._clickTimeout),N._legendMouseDownTime=0;var $=e.triggerHandler(N,\"plotly_legenddoubleclick\",fe);$!==!1&&G!==!1&&i(W,N,Q)}}function v(N,U,W){var Q=I(W),le=N.data()[0][0],se=le.trace,fe=S.traceIs(se,\"pie-like\"),G=!W._inHover&&U._context.edits.legendText&&!fe,$=W._maxNameLength,J,X;le.groupTitle?(J=le.groupTitle.text,X=le.groupTitle.font):(X=W.font,W.entries?J=le.text:(J=fe?le.label:se.name,se._meta&&(J=x.templateString(J,se._meta))));var re=x.ensureSingle(N,\"text\",Q+\"text\");re.attr(\"text-anchor\",\"start\").call(r.font,X).text(G?u(J,$):J);var ae=W.indentation+W.itemwidth+a.itemGap*2;n.positionText(re,ae,0),G?re.call(n.makeEditable,{gd:U,text:J}).call(f,N,U,W).on(\"edit\",function(j){this.text(u(j,$)).call(f,N,U,W);var ee=le.trace._fullInput||{},ie={};return ie.name=j,ee._isShape?S.call(\"_guiRelayout\",U,\"shapes[\"+se.index+\"].name\",ie.name):S.call(\"_guiRestyle\",U,ie,se.index)}):f(re,N,U,W)}function u(N,U){var W=Math.max(4,U);if(N&&N.trim().length>=W/2)return N;N=N||\"\";for(var Q=W-N.length;Q>0;Q--)N+=\" \";return N}function y(N,U,W){var Q=U._context.doubleClickDelay,le,se=1,fe=x.ensureSingle(N,\"rect\",W+\"toggle\",function(G){U._context.staticPlot||G.style(\"cursor\",\"pointer\").attr(\"pointer-events\",\"all\"),G.call(o.fill,\"rgba(0,0,0,0)\")});U._context.staticPlot||(fe.on(\"mousedown\",function(){le=new Date().getTime(),le-U._legendMouseDownTimeQ&&(se=Math.max(se-1,1)),b(U,G,N,se,g.event)}}))}function f(N,U,W,Q,le){Q._inHover&&N.attr(\"data-notex\",!0),n.convertToTspans(N,W,function(){P(U,W,Q,le)})}function P(N,U,W,Q){var le=N.data()[0][0];if(!W._inHover&&le&&!le.trace.showlegend){N.remove();return}var se=N.select(\"g[class*=math-group]\"),fe=se.node(),G=I(W);W||(W=U._fullLayout[G]);var $=W.borderwidth,J;Q===_?J=W.title.font:le.groupTitle?J=le.groupTitle.font:J=W.font;var X=J.size*c,re,ae;if(fe){var j=r.bBox(fe);re=j.height,ae=j.width,Q===_?r.setTranslate(se,$,$+re*.75):r.setTranslate(se,0,re*.25)}else{var ee=\".\"+G+(Q===_?\"title\":\"\")+\"text\",ie=N.select(ee),ce=n.lineCount(ie),xe=ie.node();if(re=X*ce,ae=xe?r.bBox(xe).width:0,Q===_)W.title.side===\"left\"&&(ae+=a.itemGap*2),n.positionText(ie,$+a.titlePad,$+X);else{var Te=a.itemGap*2+W.indentation+W.itemwidth;le.groupTitle&&(Te=a.itemGap,ae-=W.indentation+W.itemwidth),n.positionText(ie,Te,-X*((ce-1)/2-.3))}}Q===_?(W._titleWidth=ae,W._titleHeight=re):(le.lineHeight=X,le.height=Math.max(re,16)+3,le.width=ae)}function L(N){var U=0,W=0,Q=N.title.side;return Q&&(Q.indexOf(\"left\")!==-1&&(U=N._titleWidth),Q.indexOf(\"top\")!==-1&&(W=N._titleHeight)),[U,W]}function z(N,U,W,Q){var le=N._fullLayout,se=I(Q);Q||(Q=le[se]);var fe=le._size,G=l.isVertical(Q),$=l.isGrouped(Q),J=Q.entrywidthmode===\"fraction\",X=Q.borderwidth,re=2*X,ae=a.itemGap,j=Q.indentation+Q.itemwidth+ae*2,ee=2*(X+ae),ie=O(Q),ce=Q.y<0||Q.y===0&&ie===\"top\",xe=Q.y>1||Q.y===1&&ie===\"bottom\",Te=Q.tracegroupgap,Ue={};Q._maxHeight=Math.max(ce||xe?le.height/2:fe.h,30);var Ie=0;Q._width=0,Q._height=0;var Ye=L(Q);if(G)W.each(function(br){var _t=br[0].height;r.setTranslate(this,X+Ye[0],X+Ye[1]+Q._height+_t/2+ae),Q._height+=_t,Q._width=Math.max(Q._width,br[0].width)}),Ie=j+Q._width,Q._width+=ae+j+re,Q._height+=ee,$&&(U.each(function(br,_t){r.setTranslate(this,0,_t*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var it=B(Q),at=Q.x<0||Q.x===0&&it===\"right\",tt=Q.x>1||Q.x===1&&it===\"left\",ut=xe||ce,Me=le.width/2;Q._maxWidth=Math.max(at?ut&&it===\"left\"?fe.l+fe.w:Me:tt?ut&&it===\"right\"?fe.r+fe.w:Me:fe.w,2*j);var pe=0,ue=0;W.each(function(br){var _t=m(br,Q,j);pe=Math.max(pe,_t),ue+=_t}),Ie=null;var Oe=0;if($){var rt=0,ot=0,et=0;U.each(function(){var br=0,_t=0;g.select(this).selectAll(\"g.traces\").each(function(Ke){var je=m(Ke,Q,j),Se=Ke[0].height;r.setTranslate(this,Ye[0],Ye[1]+X+ae+Se/2+_t),_t+=Se,br=Math.max(br,je),Ue[Ke[0].trace.legendgroup]=br});var Be=br+ae;ot>0&&Be+X+ot>Q._maxWidth?(Oe=Math.max(Oe,ot),ot=0,et+=rt+Te,rt=_t):rt=Math.max(rt,_t),r.setTranslate(this,ot,et),ot+=Be}),Q._width=Math.max(Oe,ot)+X,Q._height=et+rt+ee}else{var Lt=W.size(),Et=ue+re+(Lt-1)*ae=Q._maxWidth&&(Oe=Math.max(Oe,ar),qt=0,fr+=Bt,Q._height+=Bt,Bt=0),r.setTranslate(this,Ye[0]+X+qt,Ye[1]+X+fr+_t/2+ae),ar=qt+Be+ae,qt+=Ke,Bt=Math.max(Bt,_t)}),Et?(Q._width=qt+re,Q._height=Bt+ee):(Q._width=Math.max(Oe,ar)+re,Q._height+=Bt+ee)}}Q._width=Math.ceil(Math.max(Q._width+Ye[0],Q._titleWidth+2*(X+a.titlePad))),Q._height=Math.ceil(Math.max(Q._height+Ye[1],Q._titleHeight+2*(X+a.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Rr=N._context.edits,gr=Rr.legendText||Rr.legendPosition;W.each(function(br){var _t=g.select(this).select(\".\"+se+\"toggle\"),Be=br[0].height,Ke=br[0].trace.legendgroup,je=m(br,Q,j);$&&Ke!==\"\"&&(je=Ue[Ke]);var Se=gr?j:Ie||je;!G&&!J&&(Se+=ae/2),r.setRect(_t,0,-Be/2,Se,Be)})}function F(N,U,W,Q){var le=N._fullLayout,se=le[U],fe=B(se),G=O(se),$=se.xref===\"paper\",J=se.yref===\"paper\";N._fullLayout._reservedMargin[U]={};var X=se.y<.5?\"b\":\"t\",re=se.x<.5?\"l\":\"r\",ae={r:le.width-W,l:W+se._width,b:le.height-Q,t:Q+se._effHeight};if($&&J)return A.autoMargin(N,U,{x:se.x,y:se.y,l:se._width*h[fe],r:se._width*p[fe],b:se._effHeight*p[G],t:se._effHeight*h[G]});$?N._fullLayout._reservedMargin[U][X]=ae[X]:J||se.orientation===\"v\"?N._fullLayout._reservedMargin[U][re]=ae[re]:N._fullLayout._reservedMargin[U][X]=ae[X]}function B(N){return x.isRightAnchor(N)?\"right\":x.isCenterAnchor(N)?\"center\":\"left\"}function O(N){return x.isBottomAnchor(N)?\"bottom\":x.isMiddleAnchor(N)?\"middle\":\"top\"}function I(N){return N._id||\"legend\"}}}),i2=ke({\"src/components/fx/hover.js\"(Z){\"use strict\";var H=_i(),g=Yn(),x=ru(),A=un(),S=A.pushUnique,e=A.strTranslate,t=A.strRotate,r=jg(),o=Wl(),n=JE(),i=$o(),a=eo(),s=Xh(),c=Ho(),h=oh().zindexSeparator,p=lo(),d=gd(),T=Ed(),l=e2(),_=n2(),w=T.YANGLE,M=Math.PI*w/180,E=1/Math.sin(M),m=Math.cos(M),b=Math.sin(M),v=T.HOVERARROWSIZE,u=T.HOVERTEXTPAD,y={box:!0,ohlc:!0,violin:!0,candlestick:!0},f={scatter:!0,scattergl:!0,splom:!0};function P(j,ee){return j.distance-ee.distance}Z.hover=function(ee,ie,ce,xe){ee=A.getGraphDiv(ee);var Te=ie.target;A.throttle(ee._fullLayout._uid+T.HOVERID,T.HOVERMINTIME,function(){L(ee,ie,ce,xe,Te)})},Z.loneHover=function(ee,ie){var ce=!0;Array.isArray(ee)||(ce=!1,ee=[ee]);var xe=ie.gd,Te=X(xe),Ue=re(xe),Ie=ee.map(function(Oe){var rt=Oe._x0||Oe.x0||Oe.x||0,ot=Oe._x1||Oe.x1||Oe.x||0,et=Oe._y0||Oe.y0||Oe.y||0,Lt=Oe._y1||Oe.y1||Oe.y||0,Et=Oe.eventData;if(Et){var Bt=Math.min(rt,ot),qt=Math.max(rt,ot),fr=Math.min(et,Lt),ar=Math.max(et,Lt),Rr=Oe.trace;if(p.traceIs(Rr,\"gl3d\")){var gr=xe._fullLayout[Rr.scene]._scene.container,br=gr.offsetLeft,_t=gr.offsetTop;Bt+=br,qt+=br,fr+=_t,ar+=_t}Et.bbox={x0:Bt+Ue,x1:qt+Ue,y0:fr+Te,y1:ar+Te},ie.inOut_bbox&&ie.inOut_bbox.push(Et.bbox)}else Et=!1;return{color:Oe.color||a.defaultLine,x0:Oe.x0||Oe.x||0,x1:Oe.x1||Oe.x||0,y0:Oe.y0||Oe.y||0,y1:Oe.y1||Oe.y||0,xLabel:Oe.xLabel,yLabel:Oe.yLabel,zLabel:Oe.zLabel,text:Oe.text,name:Oe.name,idealAlign:Oe.idealAlign,borderColor:Oe.borderColor,fontFamily:Oe.fontFamily,fontSize:Oe.fontSize,fontColor:Oe.fontColor,fontWeight:Oe.fontWeight,fontStyle:Oe.fontStyle,fontVariant:Oe.fontVariant,nameLength:Oe.nameLength,textAlign:Oe.textAlign,trace:Oe.trace||{index:0,hoverinfo:\"\"},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:Oe.hovertemplate||!1,hovertemplateLabels:Oe.hovertemplateLabels||!1,eventData:Et}}),Ye=!1,it=B(Ie,{gd:xe,hovermode:\"closest\",rotateLabels:Ye,bgColor:ie.bgColor||a.background,container:H.select(ie.container),outerContainer:ie.outerContainer||ie.container}),at=it.hoverLabels,tt=5,ut=0,Me=0;at.sort(function(Oe,rt){return Oe.y0-rt.y0}).each(function(Oe,rt){var ot=Oe.y0-Oe.by/2;ot-ttqt[0]._length||ni<0||ni>fr[0]._length)return s.unhoverRaw(j,ee)}if(ee.pointerX=On+qt[0]._offset,ee.pointerY=ni+fr[0]._offset,\"xval\"in ee?je=d.flat(Te,ee.xval):je=d.p2c(qt,On),\"yval\"in ee?Se=d.flat(Te,ee.yval):Se=d.p2c(fr,ni),!g(je[0])||!g(Se[0]))return A.warn(\"Fx.hover failed\",ee,j),s.unhoverRaw(j,ee)}var gi=1/0;function Zt(pa,cs){for(Ee=0;Ee$t&&(Be.splice(0,$t),gi=Be[0].distance),tt&&_t!==0&&Be.length===0){Xt.distance=_t,Xt.index=!1;var Ka=Le._module.hoverPoints(Xt,Rt,Nt,\"closest\",{hoverLayer:Ie._hoverlayer});if(Ka&&(Ka=Ka.filter(function(Ls){return Ls.spikeDistance<=_t})),Ka&&Ka.length){var Yo,ns=Ka.filter(function(Ls){return Ls.xa.showspikes&&Ls.xa.spikesnap!==\"hovered data\"});if(ns.length){var hs=ns[0];g(hs.x0)&&g(hs.y0)&&(Yo=Ht(hs),(!ur.vLinePoint||ur.vLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.vLinePoint=Yo))}var ho=Ka.filter(function(Ls){return Ls.ya.showspikes&&Ls.ya.spikesnap!==\"hovered data\"});if(ho.length){var Ro=ho[0];g(Ro.x0)&&g(Ro.y0)&&(Yo=Ht(Ro),(!ur.hLinePoint||ur.hLinePoint.spikeDistance>Yo.spikeDistance)&&(ur.hLinePoint=Yo))}}}}}Zt();function Ft(pa,cs,Ko){for(var gs=null,Ya=1/0,zo,Ka=0;Ka0&&Math.abs(pa.distance)Pr-1;nn--)Dr(Be[nn]);Be=Mr,xn()}var vn=j._hoverdata,gn=[],kt=X(j),or=re(j);for(He=0;He1||Be.length>1)||ut===\"closest\"&&pn&&Be.length>1,to=a.combine(Ie.plot_bgcolor||a.background,Ie.paper_bgcolor),yo=B(Be,{gd:j,hovermode:ut,rotateLabels:qa,bgColor:to,container:Ie._hoverlayer,outerContainer:Ie._paper.node(),commonLabelOpts:Ie.hoverlabel,hoverdistance:Ie.hoverdistance}),Xa=yo.hoverLabels;if(d.isUnifiedHover(ut)||(I(Xa,qa,Ie,yo.commonLabelBoundingBox),W(Xa,qa,Ie._invScaleX,Ie._invScaleY)),xe&&xe.tagName){var Go=p.getComponentMethod(\"annotations\",\"hasClickToShow\")(j,gn);n(H.select(xe),Go?\"pointer\":\"\")}!xe||ce||!se(j,ee,vn)||(vn&&j.emit(\"plotly_unhover\",{event:ee,points:vn}),j.emit(\"plotly_hover\",{event:ee,points:j._hoverdata,xaxes:qt,yaxes:fr,xvals:je,yvals:Se}))}function z(j){return[j.trace.index,j.index,j.x0,j.y0,j.name,j.attr,j.xa?j.xa._id:\"\",j.ya?j.ya._id:\"\"].join(\",\")}var F=/([\\s\\S]*)<\\/extra>/;function B(j,ee){var ie=ee.gd,ce=ie._fullLayout,xe=ee.hovermode,Te=ee.rotateLabels,Ue=ee.bgColor,Ie=ee.container,Ye=ee.outerContainer,it=ee.commonLabelOpts||{};if(j.length===0)return[[]];var at=ee.fontFamily||T.HOVERFONT,tt=ee.fontSize||T.HOVERFONTSIZE,ut=ee.fontWeight||ce.font.weight,Me=ee.fontStyle||ce.font.style,pe=ee.fontVariant||ce.font.variant,ue=ee.fontTextcase||ce.font.textcase,Oe=ee.fontLineposition||ce.font.lineposition,rt=ee.fontShadow||ce.font.shadow,ot=j[0],et=ot.xa,Lt=ot.ya,Et=xe.charAt(0),Bt=Et+\"Label\",qt=ot[Bt];if(qt===void 0&&et.type===\"multicategory\")for(var fr=0;frce.width-vn&&(gn=ce.width-vn),ui.attr(\"d\",\"M\"+(Ur-gn)+\",0L\"+(Ur-gn+v)+\",\"+nn+v+\"H\"+vn+\"v\"+nn+(u*2+Lr.height)+\"H\"+-vn+\"V\"+nn+v+\"H\"+(Ur-gn-v)+\"Z\"),Ur=gn,Ee.minX=Ur-vn,Ee.maxX=Ur+vn,et.side===\"top\"?(Ee.minY=Dr-(u*2+Lr.height),Ee.maxY=Dr-u):(Ee.minY=Dr+u,Ee.maxY=Dr+(u*2+Lr.height))}else{var kt,or,yr;Lt.side===\"right\"?(kt=\"start\",or=1,yr=\"\",Ur=et._offset+et._length):(kt=\"end\",or=-1,yr=\"-\",Ur=et._offset),Dr=Lt._offset+(ot.y0+ot.y1)/2,gt.attr(\"text-anchor\",kt),ui.attr(\"d\",\"M0,0L\"+yr+v+\",\"+v+\"V\"+(u+Lr.height/2)+\"h\"+yr+(u*2+Lr.width)+\"V-\"+(u+Lr.height/2)+\"H\"+yr+v+\"V-\"+v+\"Z\"),Ee.minY=Dr-(u+Lr.height/2),Ee.maxY=Dr+(u+Lr.height/2),Lt.side===\"right\"?(Ee.minX=Ur+v,Ee.maxX=Ur+v+(u*2+Lr.width)):(Ee.minX=Ur-v-(u*2+Lr.width),Ee.maxX=Ur-v);var on=Lr.height/2,An=Rr-Lr.top-on,Zn=\"clip\"+ce._uid+\"commonlabel\"+Lt._id,Bn;if(Ur=0?Fn=wr:$r+ni=0?Fn=$r:xn+ni=0?Wn=Ht:Vt+zn=0?Wn=Vt:en+zn=0,(Sn.idealAlign===\"top\"||!Ui)&&pi?(yr-=An/2,Sn.anchor=\"end\"):Ui?(yr+=An/2,Sn.anchor=\"start\"):Sn.anchor=\"middle\",Sn.crossPos=yr;else{if(Sn.pos=yr,Ui=or+on/2+Dn<=gr,pi=or-on/2-Dn>=0,(Sn.idealAlign===\"left\"||!Ui)&&pi)or-=on/2,Sn.anchor=\"end\";else if(Ui)or+=on/2,Sn.anchor=\"start\";else{Sn.anchor=\"middle\";var Ta=Dn/2,Sa=or+Ta-gr,qa=or-Ta;Sa>0&&(or-=Sa),qa<0&&(or+=-qa)}Sn.crossPos=or}Dr.attr(\"text-anchor\",Sn.anchor),vn&&nn.attr(\"text-anchor\",Sn.anchor),ui.attr(\"transform\",e(or,yr)+(Te?t(w):\"\"))}),{hoverLabels:ri,commonLabelBoundingBox:Ee}}function O(j,ee,ie,ce,xe,Te){var Ue=\"\",Ie=\"\";j.nameOverride!==void 0&&(j.name=j.nameOverride),j.name&&(j.trace._meta&&(j.name=A.templateString(j.name,j.trace._meta)),Ue=G(j.name,j.nameLength));var Ye=ie.charAt(0),it=Ye===\"x\"?\"y\":\"x\";j.zLabel!==void 0?(j.xLabel!==void 0&&(Ie+=\"x: \"+j.xLabel+\"
\"),j.yLabel!==void 0&&(Ie+=\"y: \"+j.yLabel+\"
\"),j.trace.type!==\"choropleth\"&&j.trace.type!==\"choroplethmapbox\"&&j.trace.type!==\"choroplethmap\"&&(Ie+=(Ie?\"z: \":\"\")+j.zLabel)):ee&&j[Ye+\"Label\"]===xe?Ie=j[it+\"Label\"]||\"\":j.xLabel===void 0?j.yLabel!==void 0&&j.trace.type!==\"scattercarpet\"&&(Ie=j.yLabel):j.yLabel===void 0?Ie=j.xLabel:Ie=\"(\"+j.xLabel+\", \"+j.yLabel+\")\",(j.text||j.text===0)&&!Array.isArray(j.text)&&(Ie+=(Ie?\"
\":\"\")+j.text),j.extraText!==void 0&&(Ie+=(Ie?\"
\":\"\")+j.extraText),Te&&Ie===\"\"&&!j.hovertemplate&&(Ue===\"\"&&Te.remove(),Ie=Ue);var at=j.hovertemplate||!1;if(at){var tt=j.hovertemplateLabels||j;j[Ye+\"Label\"]!==xe&&(tt[Ye+\"other\"]=tt[Ye+\"Val\"],tt[Ye+\"otherLabel\"]=tt[Ye+\"Label\"]),Ie=A.hovertemplateString(at,tt,ce._d3locale,j.eventData[0]||{},j.trace._meta),Ie=Ie.replace(F,function(ut,Me){return Ue=G(Me,j.nameLength),\"\"})}return[Ie,Ue]}function I(j,ee,ie,ce){var xe=ee?\"xa\":\"ya\",Te=ee?\"ya\":\"xa\",Ue=0,Ie=1,Ye=j.size(),it=new Array(Ye),at=0,tt=ce.minX,ut=ce.maxX,Me=ce.minY,pe=ce.maxY,ue=function(je){return je*ie._invScaleX},Oe=function(je){return je*ie._invScaleY};j.each(function(je){var Se=je[xe],He=je[Te],Ee=Se._id.charAt(0)===\"x\",we=Se.range;at===0&&we&&we[0]>we[1]!==Ee&&(Ie=-1);var Le=0,nt=Ee?ie.width:ie.height;if(ie.hovermode===\"x\"||ie.hovermode===\"y\"){var pt=N(je,ee),bt=je.anchor,Rt=bt===\"end\"?-1:1,Nt,Xt;if(bt===\"middle\")Nt=je.crossPos+(Ee?Oe(pt.y-je.by/2):ue(je.bx/2+je.tx2width/2)),Xt=Nt+(Ee?Oe(je.by):ue(je.bx));else if(Ee)Nt=je.crossPos+Oe(v+pt.y)-Oe(je.by/2-v),Xt=Nt+Oe(je.by);else{var $t=ue(Rt*v+pt.x),ur=$t+ue(Rt*je.bx);Nt=je.crossPos+Math.min($t,ur),Xt=je.crossPos+Math.max($t,ur)}Ee?Me!==void 0&&pe!==void 0&&Math.min(Xt,pe)-Math.max(Nt,Me)>1&&(He.side===\"left\"?(Le=He._mainLinePosition,nt=ie.width):nt=He._mainLinePosition):tt!==void 0&&ut!==void 0&&Math.min(Xt,ut)-Math.max(Nt,tt)>1&&(He.side===\"top\"?(Le=He._mainLinePosition,nt=ie.height):nt=He._mainLinePosition)}it[at++]=[{datum:je,traceIndex:je.trace.index,dp:0,pos:je.pos,posref:je.posref,size:je.by*(Ee?E:1)/2,pmin:Le,pmax:nt}]}),it.sort(function(je,Se){return je[0].posref-Se[0].posref||Ie*(Se[0].traceIndex-je[0].traceIndex)});var rt,ot,et,Lt,Et,Bt,qt;function fr(je){var Se=je[0],He=je[je.length-1];if(ot=Se.pmin-Se.pos-Se.dp+Se.size,et=He.pos+He.dp+He.size-Se.pmax,ot>.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp+=ot;rt=!1}if(!(et<.01)){if(ot<-.01){for(Et=je.length-1;Et>=0;Et--)je[Et].dp-=et;rt=!1}if(rt){var Ee=0;for(Lt=0;LtSe.pmax&&Ee++;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos>Se.pmax-1&&(Bt.del=!0,Ee--);for(Lt=0;Lt=0;Et--)je[Et].dp-=et;for(Lt=je.length-1;Lt>=0&&!(Ee<=0);Lt--)Bt=je[Lt],Bt.pos+Bt.dp+Bt.size>Se.pmax&&(Bt.del=!0,Ee--)}}}for(;!rt&&Ue<=Ye;){for(Ue++,rt=!0,Lt=0;Lt.01){for(Et=Rr.length-1;Et>=0;Et--)Rr[Et].dp+=ot;for(ar.push.apply(ar,Rr),it.splice(Lt+1,1),qt=0,Et=ar.length-1;Et>=0;Et--)qt+=ar[Et].dp;for(et=qt/ar.length,Et=ar.length-1;Et>=0;Et--)ar[Et].dp-=et;rt=!1}else Lt++}it.forEach(fr)}for(Lt=it.length-1;Lt>=0;Lt--){var _t=it[Lt];for(Et=_t.length-1;Et>=0;Et--){var Be=_t[Et],Ke=Be.datum;Ke.offset=Be.dp,Ke.del=Be.del}}}function N(j,ee){var ie=0,ce=j.offset;return ee&&(ce*=-b,ie=j.offset*m),{x:ie,y:ce}}function U(j){var ee={start:1,end:-1,middle:0}[j.anchor],ie=ee*(v+u),ce=ie+ee*(j.txwidth+u),xe=j.anchor===\"middle\";return xe&&(ie-=j.tx2width/2,ce+=j.txwidth/2+u),{alignShift:ee,textShiftX:ie,text2ShiftX:ce}}function W(j,ee,ie,ce){var xe=function(Ue){return Ue*ie},Te=function(Ue){return Ue*ce};j.each(function(Ue){var Ie=H.select(this);if(Ue.del)return Ie.remove();var Ye=Ie.select(\"text.nums\"),it=Ue.anchor,at=it===\"end\"?-1:1,tt=U(Ue),ut=N(Ue,ee),Me=ut.x,pe=ut.y,ue=it===\"middle\";Ie.select(\"path\").attr(\"d\",ue?\"M-\"+xe(Ue.bx/2+Ue.tx2width/2)+\",\"+Te(pe-Ue.by/2)+\"h\"+xe(Ue.bx)+\"v\"+Te(Ue.by)+\"h-\"+xe(Ue.bx)+\"Z\":\"M0,0L\"+xe(at*v+Me)+\",\"+Te(v+pe)+\"v\"+Te(Ue.by/2-v)+\"h\"+xe(at*Ue.bx)+\"v-\"+Te(Ue.by)+\"H\"+xe(at*v+Me)+\"V\"+Te(pe-v)+\"Z\");var Oe=Me+tt.textShiftX,rt=pe+Ue.ty0-Ue.by/2+u,ot=Ue.textAlign||\"auto\";ot!==\"auto\"&&(ot===\"left\"&&it!==\"start\"?(Ye.attr(\"text-anchor\",\"start\"),Oe=ue?-Ue.bx/2-Ue.tx2width/2+u:-Ue.bx-u):ot===\"right\"&&it!==\"end\"&&(Ye.attr(\"text-anchor\",\"end\"),Oe=ue?Ue.bx/2-Ue.tx2width/2-u:Ue.bx+u)),Ye.call(o.positionText,xe(Oe),Te(rt)),Ue.tx2width&&(Ie.select(\"text.name\").call(o.positionText,xe(tt.text2ShiftX+tt.alignShift*u+Me),Te(pe+Ue.ty0-Ue.by/2+u)),Ie.select(\"rect\").call(i.setRect,xe(tt.text2ShiftX+(tt.alignShift-1)*Ue.tx2width/2+Me),Te(pe-Ue.by/2-1),xe(Ue.tx2width),Te(Ue.by+2)))})}function Q(j,ee){var ie=j.index,ce=j.trace||{},xe=j.cd[0],Te=j.cd[ie]||{};function Ue(ut){return ut||g(ut)&&ut===0}var Ie=Array.isArray(ie)?function(ut,Me){var pe=A.castOption(xe,ie,ut);return Ue(pe)?pe:A.extractOption({},ce,\"\",Me)}:function(ut,Me){return A.extractOption(Te,ce,ut,Me)};function Ye(ut,Me,pe){var ue=Ie(Me,pe);Ue(ue)&&(j[ut]=ue)}if(Ye(\"hoverinfo\",\"hi\",\"hoverinfo\"),Ye(\"bgcolor\",\"hbg\",\"hoverlabel.bgcolor\"),Ye(\"borderColor\",\"hbc\",\"hoverlabel.bordercolor\"),Ye(\"fontFamily\",\"htf\",\"hoverlabel.font.family\"),Ye(\"fontSize\",\"hts\",\"hoverlabel.font.size\"),Ye(\"fontColor\",\"htc\",\"hoverlabel.font.color\"),Ye(\"fontWeight\",\"htw\",\"hoverlabel.font.weight\"),Ye(\"fontStyle\",\"hty\",\"hoverlabel.font.style\"),Ye(\"fontVariant\",\"htv\",\"hoverlabel.font.variant\"),Ye(\"nameLength\",\"hnl\",\"hoverlabel.namelength\"),Ye(\"textAlign\",\"hta\",\"hoverlabel.align\"),j.posref=ee===\"y\"||ee===\"closest\"&&ce.orientation===\"h\"?j.xa._offset+(j.x0+j.x1)/2:j.ya._offset+(j.y0+j.y1)/2,j.x0=A.constrain(j.x0,0,j.xa._length),j.x1=A.constrain(j.x1,0,j.xa._length),j.y0=A.constrain(j.y0,0,j.ya._length),j.y1=A.constrain(j.y1,0,j.ya._length),j.xLabelVal!==void 0&&(j.xLabel=\"xLabel\"in j?j.xLabel:c.hoverLabelText(j.xa,j.xLabelVal,ce.xhoverformat),j.xVal=j.xa.c2d(j.xLabelVal)),j.yLabelVal!==void 0&&(j.yLabel=\"yLabel\"in j?j.yLabel:c.hoverLabelText(j.ya,j.yLabelVal,ce.yhoverformat),j.yVal=j.ya.c2d(j.yLabelVal)),j.zLabelVal!==void 0&&j.zLabel===void 0&&(j.zLabel=String(j.zLabelVal)),!isNaN(j.xerr)&&!(j.xa.type===\"log\"&&j.xerr<=0)){var it=c.tickText(j.xa,j.xa.c2l(j.xerr),\"hover\").text;j.xerrneg!==void 0?j.xLabel+=\" +\"+it+\" / -\"+c.tickText(j.xa,j.xa.c2l(j.xerrneg),\"hover\").text:j.xLabel+=\" \\xB1 \"+it,ee===\"x\"&&(j.distance+=1)}if(!isNaN(j.yerr)&&!(j.ya.type===\"log\"&&j.yerr<=0)){var at=c.tickText(j.ya,j.ya.c2l(j.yerr),\"hover\").text;j.yerrneg!==void 0?j.yLabel+=\" +\"+at+\" / -\"+c.tickText(j.ya,j.ya.c2l(j.yerrneg),\"hover\").text:j.yLabel+=\" \\xB1 \"+at,ee===\"y\"&&(j.distance+=1)}var tt=j.hoverinfo||j.trace.hoverinfo;return tt&&tt!==\"all\"&&(tt=Array.isArray(tt)?tt:tt.split(\"+\"),tt.indexOf(\"x\")===-1&&(j.xLabel=void 0),tt.indexOf(\"y\")===-1&&(j.yLabel=void 0),tt.indexOf(\"z\")===-1&&(j.zLabel=void 0),tt.indexOf(\"text\")===-1&&(j.text=void 0),tt.indexOf(\"name\")===-1&&(j.name=void 0)),j}function le(j,ee,ie){var ce=ie.container,xe=ie.fullLayout,Te=xe._size,Ue=ie.event,Ie=!!ee.hLinePoint,Ye=!!ee.vLinePoint,it,at;if(ce.selectAll(\".spikeline\").remove(),!!(Ye||Ie)){var tt=a.combine(xe.plot_bgcolor,xe.paper_bgcolor);if(Ie){var ut=ee.hLinePoint,Me,pe;it=ut&&ut.xa,at=ut&&ut.ya;var ue=at.spikesnap;ue===\"cursor\"?(Me=Ue.pointerX,pe=Ue.pointerY):(Me=it._offset+ut.x,pe=at._offset+ut.y);var Oe=x.readability(ut.color,tt)<1.5?a.contrast(tt):ut.color,rt=at.spikemode,ot=at.spikethickness,et=at.spikecolor||Oe,Lt=c.getPxPosition(j,at),Et,Bt;if(rt.indexOf(\"toaxis\")!==-1||rt.indexOf(\"across\")!==-1){if(rt.indexOf(\"toaxis\")!==-1&&(Et=Lt,Bt=Me),rt.indexOf(\"across\")!==-1){var qt=at._counterDomainMin,fr=at._counterDomainMax;at.anchor===\"free\"&&(qt=Math.min(qt,at.position),fr=Math.max(fr,at.position)),Et=Te.l+qt*Te.w,Bt=Te.l+fr*Te.w}ce.insert(\"line\",\":first-child\").attr({x1:Et,x2:Bt,y1:pe,y2:pe,\"stroke-width\":ot,stroke:et,\"stroke-dasharray\":i.dashStyle(at.spikedash,ot)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),ce.insert(\"line\",\":first-child\").attr({x1:Et,x2:Bt,y1:pe,y2:pe,\"stroke-width\":ot+2,stroke:tt}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}rt.indexOf(\"marker\")!==-1&&ce.insert(\"circle\",\":first-child\").attr({cx:Lt+(at.side!==\"right\"?ot:-ot),cy:pe,r:ot,fill:et}).classed(\"spikeline\",!0)}if(Ye){var ar=ee.vLinePoint,Rr,gr;it=ar&&ar.xa,at=ar&&ar.ya;var br=it.spikesnap;br===\"cursor\"?(Rr=Ue.pointerX,gr=Ue.pointerY):(Rr=it._offset+ar.x,gr=at._offset+ar.y);var _t=x.readability(ar.color,tt)<1.5?a.contrast(tt):ar.color,Be=it.spikemode,Ke=it.spikethickness,je=it.spikecolor||_t,Se=c.getPxPosition(j,it),He,Ee;if(Be.indexOf(\"toaxis\")!==-1||Be.indexOf(\"across\")!==-1){if(Be.indexOf(\"toaxis\")!==-1&&(He=Se,Ee=gr),Be.indexOf(\"across\")!==-1){var we=it._counterDomainMin,Le=it._counterDomainMax;it.anchor===\"free\"&&(we=Math.min(we,it.position),Le=Math.max(Le,it.position)),He=Te.t+(1-Le)*Te.h,Ee=Te.t+(1-we)*Te.h}ce.insert(\"line\",\":first-child\").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,\"stroke-width\":Ke,stroke:je,\"stroke-dasharray\":i.dashStyle(it.spikedash,Ke)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),ce.insert(\"line\",\":first-child\").attr({x1:Rr,x2:Rr,y1:He,y2:Ee,\"stroke-width\":Ke+2,stroke:tt}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}Be.indexOf(\"marker\")!==-1&&ce.insert(\"circle\",\":first-child\").attr({cx:Rr,cy:Se-(it.side!==\"top\"?Ke:-Ke),r:Ke,fill:je}).classed(\"spikeline\",!0)}}}function se(j,ee,ie){if(!ie||ie.length!==j._hoverdata.length)return!0;for(var ce=ie.length-1;ce>=0;ce--){var xe=ie[ce],Te=j._hoverdata[ce];if(xe.curveNumber!==Te.curveNumber||String(xe.pointNumber)!==String(Te.pointNumber)||String(xe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function fe(j,ee){return!ee||ee.vLinePoint!==j._spikepoints.vLinePoint||ee.hLinePoint!==j._spikepoints.hLinePoint}function G(j,ee){return o.plainText(j||\"\",{len:ee,allowedTags:[\"br\",\"sub\",\"sup\",\"b\",\"i\",\"em\",\"s\",\"u\"]})}function $(j,ee){for(var ie=ee.charAt(0),ce=[],xe=[],Te=[],Ue=0;Ue\",\" plotly-logomark\",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\" \",\"\"].join(\"\")}}}}),v_=ke({\"src/components/shapes/draw_newshape/constants.js\"(Z,H){\"use strict\";var g=32;H.exports={CIRCLE_SIDES:g,i000:0,i090:g/4,i180:g/2,i270:g/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}}}),p_=ke({\"src/components/selections/helpers.js\"(Z,H){\"use strict\";var g=un().strTranslate;function x(t,r){switch(t.type){case\"log\":return t.p2d(r);case\"date\":return t.p2r(r,0,t.calendar);default:return t.p2r(r)}}function A(t,r){switch(t.type){case\"log\":return t.d2p(r);case\"date\":return t.r2p(r,0,t.calendar);default:return t.r2p(r)}}function S(t){var r=t._id.charAt(0)===\"y\"?1:0;return function(o){return x(t,o[r])}}function e(t){return g(t.xaxis._offset,t.yaxis._offset)}H.exports={p2r:x,r2p:A,axValue:S,getTransform:e}}}),Op=ke({\"src/components/shapes/draw_newshape/helpers.js\"(Z){\"use strict\";var H=$y(),g=v_(),x=g.CIRCLE_SIDES,A=g.SQRT2,S=p_(),e=S.p2r,t=S.r2p,r=[0,3,4,5,6,1,2],o=[0,3,4,1,2];Z.writePaths=function(a){var s=a.length;if(!s)return\"M0,0Z\";for(var c=\"\",h=0;h0&&_l&&(w=\"X\"),w});return h>l&&(_=_.replace(/[\\s,]*X.*/,\"\"),g.log(\"Ignoring extra params in segment \"+c)),p+_})}function S(e,t){t=t||0;var r=0;return t&&e&&(e.type===\"category\"||e.type===\"multicategory\")&&(r=(e.r2p(1)-e.r2p(0))*t),r}}}),s2=ke({\"src/components/shapes/display_labels.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=Wl(),S=$o(),e=Op().readPaths,t=Bp(),r=t.getPathString,o=a_(),n=Yf().FROM_TL;H.exports=function(c,h,p,d){if(d.selectAll(\".shape-label\").remove(),!!(p.label.text||p.label.texttemplate)){var T;if(p.label.texttemplate){var l={};if(p.type!==\"path\"){var _=x.getFromId(c,p.xref),w=x.getFromId(c,p.yref);for(var M in o){var E=o[M](p,_,w);E!==void 0&&(l[M]=E)}}T=g.texttemplateStringForShapes(p.label.texttemplate,{},c._fullLayout._d3locale,l)}else T=p.label.text;var m={\"data-index\":h},b=p.label.font,v={\"data-notex\":1},u=d.append(\"g\").attr(m).classed(\"shape-label\",!0),y=u.append(\"text\").attr(v).classed(\"shape-label-text\",!0).text(T),f,P,L,z;if(p.path){var F=r(c,p),B=e(F,c);f=1/0,L=1/0,P=-1/0,z=-1/0;for(var O=0;O=s?d=c-p:d=p-c,-180/Math.PI*Math.atan2(d,T)}function a(s,c,h,p,d,T,l){var _=d.label.textposition,w=d.label.textangle,M=d.label.padding,E=d.type,m=Math.PI/180*T,b=Math.sin(m),v=Math.cos(m),u=d.label.xanchor,y=d.label.yanchor,f,P,L,z;if(E===\"line\"){_===\"start\"?(f=s,P=c):_===\"end\"?(f=h,P=p):(f=(s+h)/2,P=(c+p)/2),u===\"auto\"&&(_===\"start\"?w===\"auto\"?h>s?u=\"left\":hs?u=\"right\":hs?u=\"right\":hs?u=\"left\":h1&&!(tt.length===2&&tt[1][0]===\"Z\")&&(G===0&&(tt[0][0]=\"M\"),f[fe]=tt,B(),O())}}function ce(tt,ut){if(tt===2){fe=+ut.srcElement.getAttribute(\"data-i\"),G=+ut.srcElement.getAttribute(\"data-j\");var Me=f[fe];!T(Me)&&!l(Me)&&ie()}}function xe(tt){le=[];for(var ut=0;utB&&we>O&&!Se.shiftKey?s.getCursor(Le/Ee,1-nt/we):\"move\";c(f,pt),Et=pt.split(\"-\")[0]}}function ar(Se){l(y)||(I&&($=ue(P.xanchor)),N&&(J=Oe(P.yanchor)),P.type===\"path\"?Te=P.path:(le=I?P.x0:ue(P.x0),se=N?P.y0:Oe(P.y0),fe=I?P.x1:ue(P.x1),G=N?P.y1:Oe(P.y1)),leG?(X=se,ee=\"y0\",re=G,ie=\"y1\"):(X=G,ee=\"y1\",re=se,ie=\"y0\"),fr(Se),Be(z,P),je(f,P,y),Lt.moveFn=Et===\"move\"?br:_t,Lt.altKey=Se.altKey)}function Rr(){l(y)||(c(f),Ke(z),M(f,y,P),x.call(\"_guiRelayout\",y,F.getUpdateObj()))}function gr(){l(y)||Ke(z)}function br(Se,He){if(P.type===\"path\"){var Ee=function(nt){return nt},we=Ee,Le=Ee;I?Q(\"xanchor\",P.xanchor=rt($+Se)):(we=function(pt){return rt(ue(pt)+Se)},Ie&&Ie.type===\"date\"&&(we=p.encodeDate(we))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Le=function(pt){return ot(Oe(pt)+He)},it&&it.type===\"date\"&&(Le=p.encodeDate(Le))),Q(\"path\",P.path=m(Te,we,Le))}else I?Q(\"xanchor\",P.xanchor=rt($+Se)):(Q(\"x0\",P.x0=rt(le+Se)),Q(\"x1\",P.x1=rt(fe+Se))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Q(\"y0\",P.y0=ot(se+He)),Q(\"y1\",P.y1=ot(G+He)));f.attr(\"d\",d(y,P)),Be(z,P),r(y,L,P,Ue)}function _t(Se,He){if(W){var Ee=function(zn){return zn},we=Ee,Le=Ee;I?Q(\"xanchor\",P.xanchor=rt($+Se)):(we=function(Qn){return rt(ue(Qn)+Se)},Ie&&Ie.type===\"date\"&&(we=p.encodeDate(we))),N?Q(\"yanchor\",P.yanchor=ot(J+He)):(Le=function(Qn){return ot(Oe(Qn)+He)},it&&it.type===\"date\"&&(Le=p.encodeDate(Le))),Q(\"path\",P.path=m(Te,we,Le))}else if(U){if(Et===\"resize-over-start-point\"){var nt=le+Se,pt=N?se-He:se+He;Q(\"x0\",P.x0=I?nt:rt(nt)),Q(\"y0\",P.y0=N?pt:ot(pt))}else if(Et===\"resize-over-end-point\"){var bt=fe+Se,Rt=N?G-He:G+He;Q(\"x1\",P.x1=I?bt:rt(bt)),Q(\"y1\",P.y1=N?Rt:ot(Rt))}}else{var Nt=function(zn){return Et.indexOf(zn)!==-1},Xt=Nt(\"n\"),$t=Nt(\"s\"),ur=Nt(\"w\"),pn=Nt(\"e\"),Rn=Xt?X+He:X,Nn=$t?re+He:re,On=ur?ae+Se:ae,ni=pn?j+Se:j;N&&(Xt&&(Rn=X-He),$t&&(Nn=re-He)),(!N&&Nn-Rn>O||N&&Rn-Nn>O)&&(Q(ee,P[ee]=N?Rn:ot(Rn)),Q(ie,P[ie]=N?Nn:ot(Nn))),ni-On>B&&(Q(ce,P[ce]=I?On:rt(On)),Q(xe,P[xe]=I?ni:rt(ni)))}f.attr(\"d\",d(y,P)),Be(z,P),r(y,L,P,Ue)}function Be(Se,He){(I||N)&&Ee();function Ee(){var we=He.type!==\"path\",Le=Se.selectAll(\".visual-cue\").data([0]),nt=1;Le.enter().append(\"path\").attr({fill:\"#fff\",\"fill-rule\":\"evenodd\",stroke:\"#000\",\"stroke-width\":nt}).classed(\"visual-cue\",!0);var pt=ue(I?He.xanchor:A.midRange(we?[He.x0,He.x1]:p.extractPathCoords(He.path,h.paramIsX))),bt=Oe(N?He.yanchor:A.midRange(we?[He.y0,He.y1]:p.extractPathCoords(He.path,h.paramIsY)));if(pt=p.roundPositionForSharpStrokeRendering(pt,nt),bt=p.roundPositionForSharpStrokeRendering(bt,nt),I&&N){var Rt=\"M\"+(pt-1-nt)+\",\"+(bt-1-nt)+\"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z\";Le.attr(\"d\",Rt)}else if(I){var Nt=\"M\"+(pt-1-nt)+\",\"+(bt-9-nt)+\"v18 h2 v-18 Z\";Le.attr(\"d\",Nt)}else{var Xt=\"M\"+(pt-9-nt)+\",\"+(bt-1-nt)+\"h18 v2 h-18 Z\";Le.attr(\"d\",Xt)}}}function Ke(Se){Se.selectAll(\".visual-cue\").remove()}function je(Se,He,Ee){var we=He.xref,Le=He.yref,nt=S.getFromId(Ee,we),pt=S.getFromId(Ee,Le),bt=\"\";we!==\"paper\"&&!nt.autorange&&(bt+=we),Le!==\"paper\"&&!pt.autorange&&(bt+=Le),i.setClipUrl(Se,bt?\"clip\"+Ee._fullLayout._uid+bt:null,Ee)}}function m(y,f,P){return y.replace(h.segmentRE,function(L){var z=0,F=L.charAt(0),B=h.paramIsX[F],O=h.paramIsY[F],I=h.numParams[F],N=L.substr(1).replace(h.paramRE,function(U){return z>=I||(B[z]?U=f(U):O[z]&&(U=P(U)),z++),U});return F+N})}function b(y,f){if(_(y)){var P=f.node(),L=+P.getAttribute(\"data-index\");if(L>=0){if(L===y._fullLayout._activeShapeIndex){v(y);return}y._fullLayout._activeShapeIndex=L,y._fullLayout._deactivateShape=v,T(y)}}}function v(y){if(_(y)){var f=y._fullLayout._activeShapeIndex;f>=0&&(o(y),delete y._fullLayout._activeShapeIndex,T(y))}}function u(y){if(_(y)){o(y);var f=y._fullLayout._activeShapeIndex,P=(y.layout||{}).shapes||[];if(f1?(se=[\"toggleHover\"],fe=[\"resetViews\"]):u?(le=[\"zoomInGeo\",\"zoomOutGeo\"],se=[\"hoverClosestGeo\"],fe=[\"resetGeo\"]):v?(se=[\"hoverClosest3d\"],fe=[\"resetCameraDefault3d\",\"resetCameraLastSave3d\"]):L?(le=[\"zoomInMapbox\",\"zoomOutMapbox\"],se=[\"toggleHover\"],fe=[\"resetViewMapbox\"]):z?(le=[\"zoomInMap\",\"zoomOutMap\"],se=[\"toggleHover\"],fe=[\"resetViewMap\"]):y?se=[\"hoverClosestPie\"]:O?(se=[\"hoverClosestCartesian\",\"hoverCompareCartesian\"],fe=[\"resetViewSankey\"]):se=[\"toggleHover\"],b&&se.push(\"toggleSpikelines\",\"hoverClosestCartesian\",\"hoverCompareCartesian\"),(s(T)||N)&&(se=[]),b&&!I&&(le=[\"zoomIn2d\",\"zoomOut2d\",\"autoScale2d\"],fe[0]!==\"resetViews\"&&(fe=[\"resetScale2d\"])),v?G=[\"zoom3d\",\"pan3d\",\"orbitRotation\",\"tableRotation\"]:b&&!I||P?G=[\"zoom2d\",\"pan2d\"]:L||z||u?G=[\"pan2d\"]:F&&(G=[\"zoom2d\"]),a(T)&&G.push(\"select2d\",\"lasso2d\");var $=[],J=function(j){$.indexOf(j)===-1&&se.indexOf(j)!==-1&&$.push(j)};if(Array.isArray(E)){for(var X=[],re=0;rew?T.substr(w):l.substr(_))+M}function c(p,d){for(var T=d._size,l=T.h/T.w,_={},w=Object.keys(p),M=0;Mt*P&&!B)){for(w=0;wG&&iese&&(se=ie);var xe=(se-le)/(2*fe);u/=xe,le=m.l2r(le),se=m.l2r(se),m.range=m._input.range=U=O[1]||W[1]<=O[0])&&Q[0]I[0])return!0}return!1}function M(O){var I=O._fullLayout,N=I._size,U=N.p,W=i.list(O,\"\",!0),Q,le,se,fe,G,$;if(I._paperdiv.style({width:O._context.responsive&&I.autosize&&!O._context._hasZeroWidth&&!O.layout.width?\"100%\":I.width+\"px\",height:O._context.responsive&&I.autosize&&!O._context._hasZeroHeight&&!O.layout.height?\"100%\":I.height+\"px\"}).selectAll(\".main-svg\").call(r.setSize,I.width,I.height),O._context.setBackground(O,I.paper_bgcolor),Z.drawMainTitle(O),n.manage(O),!I._has(\"cartesian\"))return x.previousPromises(O);function J(je,Se,He){var Ee=je._lw/2;if(je._id.charAt(0)===\"x\"){if(Se){if(He===\"top\")return Se._offset-U-Ee}else return N.t+N.h*(1-(je.position||0))+Ee%1;return Se._offset+Se._length+U+Ee}if(Se){if(He===\"right\")return Se._offset+Se._length+U+Ee}else return N.l+N.w*(je.position||0)+Ee%1;return Se._offset-U-Ee}for(Q=0;Q0){f(O,Q,G,fe),se.attr({x:le,y:Q,\"text-anchor\":U,dy:z(I.yanchor)}).call(S.positionText,le,Q);var $=(I.text.match(S.BR_TAG_ALL)||[]).length;if($){var J=a.LINE_SPACING*$+a.MID_SHIFT;I.y===0&&(J=-J),se.selectAll(\".line\").each(function(){var ee=+this.getAttribute(\"dy\").slice(0,-2)-J+\"em\";this.setAttribute(\"dy\",ee)})}var X=H.selectAll(\".gtitle-subtitle\");if(X.node()){var re=se.node().getBBox(),ae=re.y+re.height,j=ae+o.SUBTITLE_PADDING_EM*I.subtitle.font.size;X.attr({x:le,y:j,\"text-anchor\":U,dy:z(I.yanchor)}).call(S.positionText,le,j)}}}};function v(O,I,N,U,W){var Q=I.yref===\"paper\"?O._fullLayout._size.h:O._fullLayout.height,le=A.isTopAnchor(I)?U:U-W,se=N===\"b\"?Q-le:le;return A.isTopAnchor(I)&&N===\"t\"||A.isBottomAnchor(I)&&N===\"b\"?!1:se.5?\"t\":\"b\",le=O._fullLayout.margin[Q],se=0;return I.yref===\"paper\"?se=N+I.pad.t+I.pad.b:I.yref===\"container\"&&(se=u(Q,U,W,O._fullLayout.height,N)+I.pad.t+I.pad.b),se>le?se:0}function f(O,I,N,U){var W=\"title.automargin\",Q=O._fullLayout.title,le=Q.y>.5?\"t\":\"b\",se={x:Q.x,y:Q.y,t:0,b:0},fe={};Q.yref===\"paper\"&&v(O,Q,le,I,U)?se[le]=N:Q.yref===\"container\"&&(fe[le]=N,O._fullLayout._reservedMargin[W]=fe),x.allowAutoMargin(O,W),x.autoMargin(O,W,se)}function P(O,I){var N=O.title,U=O._size,W=0;switch(I===d?W=N.pad.l:I===l&&(W=-N.pad.r),N.xref){case\"paper\":return U.l+U.w*N.x+W;case\"container\":default:return O.width*N.x+W}}function L(O,I){var N=O.title,U=O._size,W=0;if(I===\"0em\"||!I?W=-N.pad.b:I===a.CAP_SHIFT+\"em\"&&(W=N.pad.t),N.y===\"auto\")return U.t/2;switch(N.yref){case\"paper\":return U.t+U.h-U.h*N.y+W;case\"container\":default:return O.height-O.height*N.y+W}}function z(O){return O===\"top\"?a.CAP_SHIFT+.3+\"em\":O===\"bottom\"?\"-0.3em\":a.MID_SHIFT+\"em\"}function F(O){var I=O.title,N=T;return A.isRightAnchor(I)?N=l:A.isLeftAnchor(I)&&(N=d),N}function B(O){var I=O.title,N=\"0em\";return A.isTopAnchor(I)?N=a.CAP_SHIFT+\"em\":A.isMiddleAnchor(I)&&(N=a.MID_SHIFT+\"em\"),N}Z.doTraceStyle=function(O){var I=O.calcdata,N=[],U;for(U=0;U=0;F--){var B=E.append(\"path\").attr(b).style(\"opacity\",F?.1:v).call(S.stroke,y).call(S.fill,u).call(e.dashLine,F?\"solid\":P,F?4+f:f);if(s(B,d,_),L){var O=t(d.layout,\"selections\",_);B.style({cursor:\"move\"});var I={element:B.node(),plotinfo:w,gd:d,editHelpers:O,isActiveSelection:!0},N=g(m,d);x(N,B,I)}else B.style(\"pointer-events\",F?\"all\":\"none\");z[F]=B}var U=z[0],W=z[1];W.node().addEventListener(\"click\",function(){return c(d,U)})}}function s(d,T,l){var _=l.xref+l.yref;e.setClipUrl(d,\"clip\"+T._fullLayout._uid+_,T)}function c(d,T){if(i(d)){var l=T.node(),_=+l.getAttribute(\"data-index\");if(_>=0){if(_===d._fullLayout._activeSelectionIndex){p(d);return}d._fullLayout._activeSelectionIndex=_,d._fullLayout._deactivateSelection=p,n(d)}}}function h(d){if(i(d)){var T=d._fullLayout.selections.length-1;d._fullLayout._activeSelectionIndex=T,d._fullLayout._deactivateSelection=p,n(d)}}function p(d){if(i(d)){var T=d._fullLayout._activeSelectionIndex;T>=0&&(A(d),delete d._fullLayout._activeSelectionIndex,n(d))}}}}),u5=ke({\"node_modules/polybooljs/lib/build-log.js\"(Z,H){function g(){var x,A=0,S=!1;function e(t,r){return x.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),x}return x={list:[],segmentId:function(){return A++},checkIntersection:function(t,r){return e(\"check\",{seg1:t,seg2:r})},segmentChop:function(t,r){return e(\"div_seg\",{seg:t,pt:r}),e(\"chop\",{seg:t,pt:r})},statusRemove:function(t){return e(\"pop_seg\",{seg:t})},segmentUpdate:function(t){return e(\"seg_update\",{seg:t})},segmentNew:function(t,r){return e(\"new_seg\",{seg:t,primary:r})},segmentRemove:function(t){return e(\"rem_seg\",{seg:t})},tempStatus:function(t,r,o){return e(\"temp_status\",{seg:t,above:r,below:o})},rewind:function(t){return e(\"rewind\",{seg:t})},status:function(t,r,o){return e(\"status\",{seg:t,above:r,below:o})},vert:function(t){return t===S?x:(S=t,e(\"vert\",{x:t}))},log:function(t){return typeof t!=\"string\"&&(t=JSON.stringify(t,!1,\" \")),e(\"log\",{txt:t})},reset:function(){return e(\"reset\")},selected:function(t){return e(\"selected\",{segs:t})},chainStart:function(t){return e(\"chain_start\",{seg:t})},chainRemoveHead:function(t,r){return e(\"chain_rem_head\",{index:t,pt:r})},chainRemoveTail:function(t,r){return e(\"chain_rem_tail\",{index:t,pt:r})},chainNew:function(t,r){return e(\"chain_new\",{pt1:t,pt2:r})},chainMatch:function(t){return e(\"chain_match\",{index:t})},chainClose:function(t){return e(\"chain_close\",{index:t})},chainAddHead:function(t,r){return e(\"chain_add_head\",{index:t,pt:r})},chainAddTail:function(t,r){return e(\"chain_add_tail\",{index:t,pt:r})},chainConnect:function(t,r){return e(\"chain_con\",{index1:t,index2:r})},chainReverse:function(t){return e(\"chain_rev\",{index:t})},chainJoin:function(t,r){return e(\"chain_join\",{index1:t,index2:r})},done:function(){return e(\"done\")}},x}H.exports=g}}),c5=ke({\"node_modules/polybooljs/lib/epsilon.js\"(Z,H){function g(x){typeof x!=\"number\"&&(x=1e-10);var A={epsilon:function(S){return typeof S==\"number\"&&(x=S),x},pointAboveOrOnLine:function(S,e,t){var r=e[0],o=e[1],n=t[0],i=t[1],a=S[0],s=S[1];return(n-r)*(s-o)-(i-o)*(a-r)>=-x},pointBetween:function(S,e,t){var r=S[1]-e[1],o=t[0]-e[0],n=S[0]-e[0],i=t[1]-e[1],a=n*o+r*i;if(a-x)},pointsSameX:function(S,e){return Math.abs(S[0]-e[0])x!=n-r>x&&(o-s)*(r-c)/(n-c)+s-t>x&&(i=!i),o=s,n=c}return i}};return A}H.exports=g}}),f5=ke({\"node_modules/polybooljs/lib/linked-list.js\"(Z,H){var g={create:function(){var x={root:{root:!0,next:null},exists:function(A){return!(A===null||A===x.root)},isEmpty:function(){return x.root.next===null},getHead:function(){return x.root.next},insertBefore:function(A,S){for(var e=x.root,t=x.root.next;t!==null;){if(S(t)){A.prev=t.prev,A.next=t,t.prev.next=A,t.prev=A;return}e=t,t=t.next}e.next=A,A.prev=e,A.next=null},findTransition:function(A){for(var S=x.root,e=x.root.next;e!==null&&!A(e);)S=e,e=e.next;return{before:S===x.root?null:S,after:e,insert:function(t){return t.prev=S,t.next=e,S.next=t,e!==null&&(e.prev=t),t}}}};return x},node:function(x){return x.prev=null,x.next=null,x.remove=function(){x.prev.next=x.next,x.next&&(x.next.prev=x.prev),x.prev=null,x.next=null},x}};H.exports=g}}),h5=ke({\"node_modules/polybooljs/lib/intersecter.js\"(Z,H){var g=f5();function x(A,S,e){function t(T,l){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:null,below:null},otherFill:null}}function r(T,l,_){return{id:e?e.segmentId():-1,start:T,end:l,myFill:{above:_.myFill.above,below:_.myFill.below},otherFill:null}}var o=g.create();function n(T,l,_,w,M,E){var m=S.pointsCompare(l,M);return m!==0?m:S.pointsSame(_,E)?0:T!==w?T?1:-1:S.pointAboveOrOnLine(_,w?M:E,w?E:M)?1:-1}function i(T,l){o.insertBefore(T,function(_){var w=n(T.isStart,T.pt,l,_.isStart,_.pt,_.other.pt);return w<0})}function a(T,l){var _=g.node({isStart:!0,pt:T.start,seg:T,primary:l,other:null,status:null});return i(_,T.end),_}function s(T,l,_){var w=g.node({isStart:!1,pt:l.end,seg:l,primary:_,other:T,status:null});T.other=w,i(w,T.pt)}function c(T,l){var _=a(T,l);return s(_,T,l),_}function h(T,l){e&&e.segmentChop(T.seg,l),T.other.remove(),T.seg.end=l,T.other.pt=l,i(T.other,T.pt)}function p(T,l){var _=r(l,T.seg.end,T.seg);return h(T,l),c(_,T.primary)}function d(T,l){var _=g.create();function w(O,I){var N=O.seg.start,U=O.seg.end,W=I.seg.start,Q=I.seg.end;return S.pointsCollinear(N,W,Q)?S.pointsCollinear(U,W,Q)||S.pointAboveOrOnLine(U,W,Q)?1:-1:S.pointAboveOrOnLine(N,W,Q)?1:-1}function M(O){return _.findTransition(function(I){var N=w(O,I.ev);return N>0})}function E(O,I){var N=O.seg,U=I.seg,W=N.start,Q=N.end,le=U.start,se=U.end;e&&e.checkIntersection(N,U);var fe=S.linesIntersect(W,Q,le,se);if(fe===!1){if(!S.pointsCollinear(W,Q,le)||S.pointsSame(W,se)||S.pointsSame(Q,le))return!1;var G=S.pointsSame(W,le),$=S.pointsSame(Q,se);if(G&&$)return I;var J=!G&&S.pointBetween(W,le,se),X=!$&&S.pointBetween(Q,le,se);if(G)return X?p(I,Q):p(O,se),I;J&&($||(X?p(I,Q):p(O,se)),p(I,W))}else fe.alongA===0&&(fe.alongB===-1?p(O,le):fe.alongB===0?p(O,fe.pt):fe.alongB===1&&p(O,se)),fe.alongB===0&&(fe.alongA===-1?p(I,W):fe.alongA===0?p(I,fe.pt):fe.alongA===1&&p(I,Q));return!1}for(var m=[];!o.isEmpty();){var b=o.getHead();if(e&&e.vert(b.pt[0]),b.isStart){let O=function(){if(y){var I=E(b,y);if(I)return I}return f?E(b,f):!1};var v=O;e&&e.segmentNew(b.seg,b.primary);var u=M(b),y=u.before?u.before.ev:null,f=u.after?u.after.ev:null;e&&e.tempStatus(b.seg,y?y.seg:!1,f?f.seg:!1);var P=O();if(P){if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,L&&(P.seg.myFill.above=!P.seg.myFill.above)}else P.seg.otherFill=b.seg.myFill;e&&e.segmentUpdate(P.seg),b.other.remove(),b.remove()}if(o.getHead()!==b){e&&e.rewind(b.seg);continue}if(A){var L;b.seg.myFill.below===null?L=!0:L=b.seg.myFill.above!==b.seg.myFill.below,f?b.seg.myFill.below=f.seg.myFill.above:b.seg.myFill.below=T,L?b.seg.myFill.above=!b.seg.myFill.below:b.seg.myFill.above=b.seg.myFill.below}else if(b.seg.otherFill===null){var z;f?b.primary===f.primary?z=f.seg.otherFill.above:z=f.seg.myFill.above:z=b.primary?l:T,b.seg.otherFill={above:z,below:z}}e&&e.status(b.seg,y?y.seg:!1,f?f.seg:!1),b.other.status=u.insert(g.node({ev:b}))}else{var F=b.status;if(F===null)throw new Error(\"PolyBool: Zero-length segment detected; your epsilon is probably too small or too large\");if(_.exists(F.prev)&&_.exists(F.next)&&E(F.prev.ev,F.next.ev),e&&e.statusRemove(F.ev.seg),F.remove(),!b.primary){var B=b.seg.myFill;b.seg.myFill=b.seg.otherFill,b.seg.otherFill=B}m.push(b.seg)}o.getHead().remove()}return e&&e.done(),m}return A?{addRegion:function(T){for(var l,_=T[T.length-1],w=0;wr!=p>r&&t<(h-s)*(r-c)/(p-c)+s;d&&(o=!o)}return o}}}),n0=ke({\"src/lib/polygon.js\"(Z,H){\"use strict\";var g=i_().dot,x=Hi().BADNUM,A=H.exports={};A.tester=function(e){var t=e.slice(),r=t[0][0],o=r,n=t[0][1],i=n,a;for((t[t.length-1][0]!==t[0][0]||t[t.length-1][1]!==t[0][1])&&t.push(t[0]),a=1;ao||M===x||Mi||_&&c(l))}function p(l,_){var w=l[0],M=l[1];if(w===x||wo||M===x||Mi)return!1;var E=t.length,m=t[0][0],b=t[0][1],v=0,u,y,f,P,L;for(u=1;uMath.max(y,m)||M>Math.max(f,b)))if(Ma||Math.abs(g(p,c))>o)return!0;return!1},A.filter=function(e,t){var r=[e[0]],o=0,n=0;function i(s){e.push(s);var c=r.length,h=o;r.splice(n+1);for(var p=h+1;p1){var a=e.pop();i(a)}return{addPt:i,raw:e,filtered:r}}}}),y5=ke({\"src/components/selections/constants.js\"(Z,H){\"use strict\";H.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:\"-select\"}}}),_5=ke({\"src/components/selections/select.js\"(Z,H){\"use strict\";var g=m5(),x=g5(),A=lo(),S=$o().dashStyle,e=eo(),t=Ec(),r=gd().makeEventData,o=cv(),n=o.freeMode,i=o.rectMode,a=o.drawMode,s=o.openMode,c=o.selectMode,h=Bp(),p=t0(),d=g_(),T=Rp().clearOutline,l=Op(),_=l.handleEllipse,w=l.readPaths,M=m_().newShapes,E=o2(),m=d2().activateLastSelection,b=un(),v=b.sorterAsc,u=n0(),y=l_(),f=qc().getFromId,P=e0(),L=r0().redrawReglTraces,z=y5(),F=z.MINSELECT,B=u.filter,O=u.tester,I=p_(),N=I.p2r,U=I.axValue,W=I.getTransform;function Q(Be){return Be.subplot!==void 0}function le(Be,Ke,je,Se,He){var Ee=!Q(Se),we=n(He),Le=i(He),nt=s(He),pt=a(He),bt=c(He),Rt=He===\"drawline\",Nt=He===\"drawcircle\",Xt=Rt||Nt,$t=Se.gd,ur=$t._fullLayout,pn=bt&&ur.newselection.mode===\"immediate\"&&Ee,Rn=ur._zoomlayer,Nn=Se.element.getBoundingClientRect(),On=Se.plotinfo,ni=W(On),zn=Ke-Nn.left,Qn=je-Nn.top;ur._calcInverseTransform($t);var gi=b.apply3DTransform(ur._invTransform)(zn,Qn);zn=gi[0],Qn=gi[1];var Zt=ur._invScaleX,Ft=ur._invScaleY,Ht=zn,Vt=Qn,wr=\"M\"+zn+\",\"+Qn,$r=Se.xaxes[0],xn=Se.yaxes[0],en=$r._length,Fn=xn._length,Wn=Be.altKey&&!(a(He)&&nt),ri,Sn,ui,gt,yt,Pr,Ir;X(Be,$t,Se),we&&(ri=B([[zn,Qn]],z.BENDPX));var Tr=Rn.selectAll(\"path.select-outline-\"+On.id).data([1]),Mr=pt?ur.newshape:ur.newselection;pt&&(Se.hasText=Mr.label.text||Mr.label.texttemplate);var Lr=pt&&!nt?Mr.fillcolor:\"rgba(0,0,0,0)\",Ur=Mr.line.color||(Ee?e.contrast($t._fullLayout.plot_bgcolor):\"#7f7f7f\");Tr.enter().append(\"path\").attr(\"class\",\"select-outline select-outline-\"+On.id).style({opacity:pt?Mr.opacity/2:1,\"stroke-dasharray\":S(Mr.line.dash,Mr.line.width),\"stroke-width\":Mr.line.width+\"px\",\"shape-rendering\":\"crispEdges\"}).call(e.stroke,Ur).call(e.fill,Lr).attr(\"fill-rule\",\"evenodd\").classed(\"cursor-move\",!!pt).attr(\"transform\",ni).attr(\"d\",wr+\"Z\");var Dr=Rn.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:e.background,stroke:e.defaultLine,\"stroke-width\":1}).attr(\"transform\",ni).attr(\"d\",\"M0,0Z\");if(pt&&Se.hasText){var nn=Rn.select(\".label-temp\");nn.empty()&&(nn=Rn.append(\"g\").classed(\"label-temp\",!0).classed(\"select-outline\",!0).style({opacity:.8}))}var vn=ur._uid+z.SELECTID,gn=[],kt=ie($t,Se.xaxes,Se.yaxes,Se.subplot);pn&&!Be.shiftKey&&(Se._clearSubplotSelections=function(){if(Ee){var yr=$r._id,on=xn._id;ot($t,yr,on,kt);for(var An=($t.layout||{}).selections||[],Zn=[],Bn=!1,wn=0;wn=0){$t._fullLayout._deactivateShape($t);return}if(!pt){var An=ur.clickmode;y.done(vn).then(function(){if(y.clear(vn),yr===2){for(Tr.remove(),yt=0;yt-1&&se(on,$t,Se.xaxes,Se.yaxes,Se.subplot,Se,Tr),An===\"event\"&&br($t,void 0);t.click($t,on,On.id)}).catch(b.error)}},Se.doneFn=function(){Dr.remove(),y.done(vn).then(function(){y.clear(vn),!pn&>&&Se.selectionDefs&&(gt.subtract=Wn,Se.selectionDefs.push(gt),Se.mergedPolygons.length=0,[].push.apply(Se.mergedPolygons,ui)),(pn||pt)&&j(Se,pn),Se.doneFnCompleted&&Se.doneFnCompleted(gn),bt&&br($t,Ir)}).catch(b.error)}}function se(Be,Ke,je,Se,He,Ee,we){var Le=Ke._hoverdata,nt=Ke._fullLayout,pt=nt.clickmode,bt=pt.indexOf(\"event\")>-1,Rt=[],Nt,Xt,$t,ur,pn,Rn,Nn,On,ni,zn;if(xe(Le)){X(Be,Ke,Ee),Nt=ie(Ke,je,Se,He);var Qn=Te(Le,Nt),gi=Qn.pointNumbers.length>0;if(gi?Ie(Nt,Qn):Ye(Nt)&&(Nn=Ue(Qn))){for(we&&we.remove(),zn=0;zn=0}function ae(Be){return Be._fullLayout._activeSelectionIndex>=0}function j(Be,Ke){var je=Be.dragmode,Se=Be.plotinfo,He=Be.gd;re(He)&&He._fullLayout._deactivateShape(He),ae(He)&&He._fullLayout._deactivateSelection(He);var Ee=He._fullLayout,we=Ee._zoomlayer,Le=a(je),nt=c(je);if(Le||nt){var pt=we.selectAll(\".select-outline-\"+Se.id);if(pt&&He._fullLayout._outlining){var bt;Le&&(bt=M(pt,Be)),bt&&A.call(\"_guiRelayout\",He,{shapes:bt});var Rt;nt&&!Q(Be)&&(Rt=E(pt,Be)),Rt&&(He._fullLayout._noEmitSelectedAtStart=!0,A.call(\"_guiRelayout\",He,{selections:Rt}).then(function(){Ke&&m(He)})),He._fullLayout._outlining=!1}}Se.selection={},Se.selection.selectionDefs=Be.selectionDefs=[],Se.selection.mergedPolygons=Be.mergedPolygons=[]}function ee(Be){return Be._id}function ie(Be,Ke,je,Se){if(!Be.calcdata)return[];var He=[],Ee=Ke.map(ee),we=je.map(ee),Le,nt,pt;for(pt=0;pt0,Ee=He?Se[0]:je;return Ke.selectedpoints?Ke.selectedpoints.indexOf(Ee)>-1:!1}function Ie(Be,Ke){var je=[],Se,He,Ee,we;for(we=0;we0&&je.push(Se);if(je.length===1&&(Ee=je[0]===Ke.searchInfo,Ee&&(He=Ke.searchInfo.cd[0].trace,He.selectedpoints.length===Ke.pointNumbers.length))){for(we=0;we1||(Ke+=Se.selectedpoints.length,Ke>1)))return!1;return Ke===1}function it(Be,Ke,je){var Se;for(Se=0;Se-1&&Ke;if(!we&&Ke){var yr=Lt(Be,!0);if(yr.length){var on=yr[0].xref,An=yr[0].yref;if(on&&An){var Zn=qt(yr),Bn=ar([f(Be,on,\"x\"),f(Be,An,\"y\")]);Bn(gn,Zn)}}Be._fullLayout._noEmitSelectedAtStart?Be._fullLayout._noEmitSelectedAtStart=!1:or&&br(Be,gn),Nt._reselect=!1}if(!we&&Nt._deselect){var wn=Nt._deselect;Le=wn.xref,nt=wn.yref,rt(Le,nt,bt)||ot(Be,Le,nt,Se),or&&(gn.points.length?br(Be,gn):_t(Be)),Nt._deselect=!1}return{eventData:gn,selectionTesters:je}}function Oe(Be){var Ke=Be.calcdata;if(Ke)for(var je=0;je=0){Lr._fullLayout._deactivateShape(Lr);return}var Ur=Lr._fullLayout.clickmode;if($(Lr),Tr===2&&!Me&&Sn(),ut)Ur.indexOf(\"select\")>-1&&v(Mr,Lr,ot,et,xe.id,bt),Ur.indexOf(\"event\")>-1&&a.click(Lr,Mr,xe.id);else if(Tr===1&&Me){var Dr=it?ue:pe,nn=it===\"s\"||at===\"w\"?0:1,vn=Dr._name+\".range[\"+nn+\"]\",gn=I(Dr,nn),kt=\"left\",or=\"middle\";if(Dr.fixedrange)return;it?(or=it===\"n\"?\"top\":\"bottom\",Dr.side===\"right\"&&(kt=\"right\")):at===\"e\"&&(kt=\"right\"),Lr._context.showAxisRangeEntryBoxes&&g.select(pt).call(o.makeEditable,{gd:Lr,immediate:!0,background:Lr._fullLayout.paper_bgcolor,text:String(gn),fill:Dr.tickfont?Dr.tickfont.color:\"#444\",horizontalAlign:kt,verticalAlign:or}).on(\"edit\",function(yr){var on=Dr.d2r(yr);on!==void 0&&t.call(\"_guiRelayout\",Lr,vn,on)})}}h.init(bt);var Xt,$t,ur,pn,Rn,Nn,On,ni,zn,Qn;function gi(Tr,Mr,Lr){var Ur=pt.getBoundingClientRect();Xt=Mr-Ur.left,$t=Lr-Ur.top,ce._fullLayout._calcInverseTransform(ce);var Dr=x.apply3DTransform(ce._fullLayout._invTransform)(Xt,$t);Xt=Dr[0],$t=Dr[1],ur={l:Xt,r:Xt,w:0,t:$t,b:$t,h:0},pn=ce._hmpixcount?ce._hmlumcount/ce._hmpixcount:S(ce._fullLayout.plot_bgcolor).getLuminance(),Rn=\"M0,0H\"+Bt+\"V\"+qt+\"H0V0\",Nn=!1,On=\"xy\",Qn=!1,ni=le(tt,pn,Lt,Et,Rn),zn=se(tt,Lt,Et)}function Zt(Tr,Mr){if(ce._transitioningWithDuration)return!1;var Lr=Math.max(0,Math.min(Bt,Ee*Tr+Xt)),Ur=Math.max(0,Math.min(qt,we*Mr+$t)),Dr=Math.abs(Lr-Xt),nn=Math.abs(Ur-$t);ur.l=Math.min(Xt,Lr),ur.r=Math.max(Xt,Lr),ur.t=Math.min($t,Ur),ur.b=Math.max($t,Ur);function vn(){On=\"\",ur.r=ur.l,ur.t=ur.b,zn.attr(\"d\",\"M0,0Z\")}if(fr.isSubplotConstrained)Dr>P||nn>P?(On=\"xy\",Dr/Bt>nn/qt?(nn=Dr*qt/Bt,$t>Ur?ur.t=$t-nn:ur.b=$t+nn):(Dr=nn*Bt/qt,Xt>Lr?ur.l=Xt-Dr:ur.r=Xt+Dr),zn.attr(\"d\",ae(ur))):vn();else if(ar.isSubplotConstrained)if(Dr>P||nn>P){On=\"xy\";var gn=Math.min(ur.l/Bt,(qt-ur.b)/qt),kt=Math.max(ur.r/Bt,(qt-ur.t)/qt);ur.l=gn*Bt,ur.r=kt*Bt,ur.b=(1-gn)*qt,ur.t=(1-kt)*qt,zn.attr(\"d\",ae(ur))}else vn();else!gr||nn0){var yr;if(ar.isSubplotConstrained||!Rr&&gr.length===1){for(yr=0;yr1&&(vn.maxallowed!==void 0&&_t===(vn.range[0]1&&(gn.maxallowed!==void 0&&Be===(gn.range[0]=0?Math.min(ce,.9):1/(1/Math.max(ce,-.3)+3.222))}function Q(ce,xe,Te){return ce?ce===\"nsew\"?Te?\"\":xe===\"pan\"?\"move\":\"crosshair\":ce.toLowerCase()+\"-resize\":\"pointer\"}function le(ce,xe,Te,Ue,Ie){return ce.append(\"path\").attr(\"class\",\"zoombox\").style({fill:xe>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"transform\",r(Te,Ue)).attr(\"d\",Ie+\"Z\")}function se(ce,xe,Te){return ce.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:n.background,stroke:n.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"transform\",r(xe,Te)).attr(\"d\",\"M0,0Z\")}function fe(ce,xe,Te,Ue,Ie,Ye){ce.attr(\"d\",Ue+\"M\"+Te.l+\",\"+Te.t+\"v\"+Te.h+\"h\"+Te.w+\"v-\"+Te.h+\"h-\"+Te.w+\"Z\"),G(ce,xe,Ie,Ye)}function G(ce,xe,Te,Ue){Te||(ce.transition().style(\"fill\",Ue>.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),xe.transition().style(\"opacity\",1).duration(200))}function $(ce){g.select(ce).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}function J(ce){L&&ce.data&&ce._context.showTips&&(x.notifier(x._(ce,\"Double-click to zoom back out\"),\"long\"),L=!1)}function X(ce,xe){return\"M\"+(ce.l-.5)+\",\"+(xe-P-.5)+\"h-3v\"+(2*P+1)+\"h3ZM\"+(ce.r+.5)+\",\"+(xe-P-.5)+\"h3v\"+(2*P+1)+\"h-3Z\"}function re(ce,xe){return\"M\"+(xe-P-.5)+\",\"+(ce.t-.5)+\"v-3h\"+(2*P+1)+\"v3ZM\"+(xe-P-.5)+\",\"+(ce.b+.5)+\"v3h\"+(2*P+1)+\"v-3Z\"}function ae(ce){var xe=Math.floor(Math.min(ce.b-ce.t,ce.r-ce.l,P)/2);return\"M\"+(ce.l-3.5)+\",\"+(ce.t-.5+xe)+\"h3v\"+-xe+\"h\"+xe+\"v-3h-\"+(xe+3)+\"ZM\"+(ce.r+3.5)+\",\"+(ce.t-.5+xe)+\"h-3v\"+-xe+\"h\"+-xe+\"v-3h\"+(xe+3)+\"ZM\"+(ce.r+3.5)+\",\"+(ce.b+.5-xe)+\"h-3v\"+xe+\"h\"+-xe+\"v3h\"+(xe+3)+\"ZM\"+(ce.l-3.5)+\",\"+(ce.b+.5-xe)+\"h3v\"+xe+\"h\"+xe+\"v3h-\"+(xe+3)+\"Z\"}function j(ce,xe,Te,Ue,Ie){for(var Ye=!1,it={},at={},tt,ut,Me,pe,ue=(Ie||{}).xaHash,Oe=(Ie||{}).yaHash,rt=0;rt1&&x.warn(\"Full array edits are incompatible with other edits\",c);var w=i[\"\"][\"\"];if(t(w))n.set(null);else if(Array.isArray(w))n.set(w);else return x.warn(\"Unrecognized full array edit value\",c,w),!0;return T?!1:(h(l,_),p(o),!0)}var M=Object.keys(i).map(Number).sort(A),E=n.get(),m=E||[],b=s(_,c).get(),v=[],u=-1,y=m.length,f,P,L,z,F,B,O,I;for(f=0;fm.length-(O?0:1)){x.warn(\"index out of range\",c,L);continue}if(B!==void 0)F.length>1&&x.warn(\"Insertion & removal are incompatible with edits to the same index.\",c,L),t(B)?v.push(L):O?(B===\"add\"&&(B={}),m.splice(L,0,B),b&&b.splice(L,0,{})):x.warn(\"Unrecognized full object edit value\",c,L,B),u===-1&&(u=L);else for(P=0;P=0;f--)m.splice(v[f],1),b&&b.splice(v[f],1);if(m.length?E||n.set(m):n.set(null),T)return!1;if(h(l,_),d!==g){var N;if(u===-1)N=M;else{for(y=Math.max(m.length,y),N=[],f=0;f=u));f++)N.push(L);for(f=u;f0&&A.log(\"Clearing previous rejected promises from queue.\"),l._promises=[]},Z.cleanLayout=function(l){var _,w;l||(l={}),l.xaxis1&&(l.xaxis||(l.xaxis=l.xaxis1),delete l.xaxis1),l.yaxis1&&(l.yaxis||(l.yaxis=l.yaxis1),delete l.yaxis1),l.scene1&&(l.scene||(l.scene=l.scene1),delete l.scene1);var M=(S.subplotsRegistry.cartesian||{}).attrRegex,E=(S.subplotsRegistry.polar||{}).attrRegex,m=(S.subplotsRegistry.ternary||{}).attrRegex,b=(S.subplotsRegistry.gl3d||{}).attrRegex,v=Object.keys(l);for(_=0;_3?(O.x=1.02,O.xanchor=\"left\"):O.x<-2&&(O.x=-.02,O.xanchor=\"right\"),O.y>3?(O.y=1.02,O.yanchor=\"bottom\"):O.y<-2&&(O.y=-.02,O.yanchor=\"top\")),l.dragmode===\"rotate\"&&(l.dragmode=\"orbit\"),t.clean(l),l.template&&l.template.layout&&Z.cleanLayout(l.template.layout),l};function i(l,_){var w=l[_],M=_.charAt(0);w&&w!==\"paper\"&&(l[_]=r(w,M,!0))}Z.cleanData=function(l){for(var _=0;_0)return l.substr(0,_)}Z.hasParent=function(l,_){for(var w=d(_);w;){if(w in l)return!0;w=d(w)}return!1};var T=[\"x\",\"y\",\"z\"];Z.clearAxisTypes=function(l,_,w){for(var M=0;M<_.length;M++)for(var E=l._fullData[M],m=0;m<3;m++){var b=o(l,E,T[m]);if(b&&b.type!==\"log\"){var v=b._name,u=b._id.substr(1);if(u.substr(0,5)===\"scene\"){if(w[u]!==void 0)continue;v=u+\".\"+v}var y=v+\".type\";w[v]===void 0&&w[y]===void 0&&A.nestedProperty(l.layout,y).set(null)}}}}}),__=ke({\"src/plot_api/plot_api.js\"(Z){\"use strict\";var H=_i(),g=Yn(),x=Hw(),A=un(),S=A.nestedProperty,e=jg(),t=VE(),r=lo(),o=Vg(),n=Zu(),i=Ho(),a=$w(),s=wh(),c=$o(),h=eo(),p=g2().initInteractions,d=zd(),T=tf().clearOutline,l=km().dfltConfig,_=T5(),w=A5(),M=r0(),E=ju(),m=oh().AX_NAME_PATTERN,b=0,v=5;function u(Se,He,Ee,we){var Le;if(Se=A.getGraphDiv(Se),e.init(Se),A.isPlainObject(He)){var nt=He;He=nt.data,Ee=nt.layout,we=nt.config,Le=nt.frames}var pt=e.triggerHandler(Se,\"plotly_beforeplot\",[He,Ee,we]);if(pt===!1)return Promise.reject();!He&&!Ee&&!A.isPlotDiv(Se)&&A.warn(\"Calling _doPlot as if redrawing but this container doesn't yet have a plot.\",Se);function bt(){if(Le)return Z.addFrames(Se,Le)}z(Se,we),Ee||(Ee={}),H.select(Se).classed(\"js-plotly-plot\",!0),c.makeTester(),Array.isArray(Se._promises)||(Se._promises=[]);var Rt=(Se.data||[]).length===0&&Array.isArray(He);Array.isArray(He)&&(w.cleanData(He),Rt?Se.data=He:Se.data.push.apply(Se.data,He),Se.empty=!1),(!Se.layout||Rt)&&(Se.layout=w.cleanLayout(Ee)),n.supplyDefaults(Se);var Nt=Se._fullLayout,Xt=Nt._has(\"cartesian\");Nt._replotting=!0,(Rt||Nt._shouldCreateBgLayer)&&(je(Se),Nt._shouldCreateBgLayer&&delete Nt._shouldCreateBgLayer),c.initGradients(Se),c.initPatterns(Se),Rt&&i.saveShowSpikeInitial(Se);var $t=!Se.calcdata||Se.calcdata.length!==(Se._fullData||[]).length;$t&&n.doCalcdata(Se);for(var ur=0;ur=Se.data.length||Le<-Se.data.length)throw new Error(Ee+\" must be valid indices for gd.data.\");if(He.indexOf(Le,we+1)>-1||Le>=0&&He.indexOf(-Se.data.length+Le)>-1||Le<0&&He.indexOf(Se.data.length+Le)>-1)throw new Error(\"each index in \"+Ee+\" must be unique.\")}}function N(Se,He,Ee){if(!Array.isArray(Se.data))throw new Error(\"gd.data must be an array.\");if(typeof He>\"u\")throw new Error(\"currentIndices is a required argument.\");if(Array.isArray(He)||(He=[He]),I(Se,He,\"currentIndices\"),typeof Ee<\"u\"&&!Array.isArray(Ee)&&(Ee=[Ee]),typeof Ee<\"u\"&&I(Se,Ee,\"newIndices\"),typeof Ee<\"u\"&&He.length!==Ee.length)throw new Error(\"current and new indices must be of equal length.\")}function U(Se,He,Ee){var we,Le;if(!Array.isArray(Se.data))throw new Error(\"gd.data must be an array.\");if(typeof He>\"u\")throw new Error(\"traces must be defined.\");for(Array.isArray(He)||(He=[He]),we=0;we\"u\")throw new Error(\"indices must be an integer or array of integers\");I(Se,Ee,\"indices\");for(var nt in He){if(!Array.isArray(He[nt])||He[nt].length!==Ee.length)throw new Error(\"attribute \"+nt+\" must be an array of length equal to indices array length\");if(Le&&(!(nt in we)||!Array.isArray(we[nt])||we[nt].length!==He[nt].length))throw new Error(\"when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object\")}}function Q(Se,He,Ee,we){var Le=A.isPlainObject(we),nt=[],pt,bt,Rt,Nt,Xt;Array.isArray(Ee)||(Ee=[Ee]),Ee=O(Ee,Se.data.length-1);for(var $t in He)for(var ur=0;ur=0&&Xt<$t.length?$t.splice(0,$t.length-Xt):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.prependTraces,bt,fe,arguments),pt}function G(Se,He,Ee,we){Se=A.getGraphDiv(Se);function Le(Rt,Nt,Xt){var $t,ur;if(A.isTypedArray(Rt))if(Xt<=0){var pn=new Rt.constructor(0),Rn=se(Nt,Rt);Xt<0?($t=Rn,ur=pn):($t=pn,ur=Rn)}else if($t=new Rt.constructor(Xt),ur=new Rt.constructor(Rt.length+Nt.length-Xt),Xt===Nt.length)$t.set(Nt),ur.set(Rt);else if(Xt=0&&Xt<$t.length?$t.splice(Xt,$t.length):[];return[$t,ur]}var nt=le(Se,He,Ee,we,Le),pt=Z.redraw(Se),bt=[Se,nt.update,Ee,nt.maxPoints];return t.add(Se,Z.extendTraces,bt,G,arguments),pt}function $(Se,He,Ee){Se=A.getGraphDiv(Se);var we=[],Le=Z.deleteTraces,nt=$,pt=[Se,we],bt=[Se,He],Rt,Nt;for(U(Se,He,Ee),Array.isArray(He)||(He=[He]),He=He.map(function(Xt){return A.extendFlat({},Xt)}),w.cleanData(He),Rt=0;Rt\"u\")return Nt=Z.redraw(Se),t.add(Se,Le,pt,nt,bt),Nt;Array.isArray(Ee)||(Ee=[Ee]);try{N(Se,we,Ee)}catch(Xt){throw Se.data.splice(Se.data.length-He.length,He.length),Xt}return t.startSequence(Se),t.add(Se,Le,pt,nt,bt),Nt=Z.moveTraces(Se,we,Ee),t.stopSequence(Se),Nt}function J(Se,He){Se=A.getGraphDiv(Se);var Ee=[],we=Z.addTraces,Le=J,nt=[Se,Ee,He],pt=[Se,He],bt,Rt;if(typeof He>\"u\")throw new Error(\"indices must be an integer or array of integers.\");for(Array.isArray(He)||(He=[He]),I(Se,He,\"indices\"),He=O(He,Se.data.length-1),He.sort(A.sorterDes),bt=0;bt\"u\")for(Ee=[],Nt=0;Nt0&&typeof Vt.parts[xn]!=\"string\";)xn--;var en=Vt.parts[xn],Fn=Vt.parts[xn-1]+\".\"+en,Wn=Vt.parts.slice(0,xn).join(\".\"),ri=S(Se.layout,Wn).get(),Sn=S(we,Wn).get(),ui=Vt.get();if(wr!==void 0){ni[Ht]=wr,zn[Ht]=en===\"reverse\"?wr:ae(ui);var gt=o.getLayoutValObject(we,Vt.parts);if(gt&>.impliedEdits&&wr!==null)for(var yt in gt.impliedEdits)Qn(A.relativeAttr(Ht,yt),gt.impliedEdits[yt]);if([\"width\",\"height\"].indexOf(Ht)!==-1)if(wr){Qn(\"autosize\",null);var Pr=Ht===\"height\"?\"width\":\"height\";Qn(Pr,we[Pr])}else we[Ht]=Se._initialAutoSize[Ht];else if(Ht===\"autosize\")Qn(\"width\",wr?null:we.width),Qn(\"height\",wr?null:we.height);else if(Fn.match(Ie))Ft(Fn),S(we,Wn+\"._inputRange\").set(null);else if(Fn.match(Ye)){Ft(Fn),S(we,Wn+\"._inputRange\").set(null);var Ir=S(we,Wn).get();Ir._inputDomain&&(Ir._input.domain=Ir._inputDomain.slice())}else Fn.match(it)&&S(we,Wn+\"._inputDomain\").set(null);if(en===\"type\"){Zt=ri;var Tr=Sn.type===\"linear\"&&wr===\"log\",Mr=Sn.type===\"log\"&&wr===\"linear\";if(Tr||Mr){if(!Zt||!Zt.range)Qn(Wn+\".autorange\",!0);else if(Sn.autorange)Tr&&(Zt.range=Zt.range[1]>Zt.range[0]?[1,2]:[2,1]);else{var Lr=Zt.range[0],Ur=Zt.range[1];Tr?(Lr<=0&&Ur<=0&&Qn(Wn+\".autorange\",!0),Lr<=0?Lr=Ur/1e6:Ur<=0&&(Ur=Lr/1e6),Qn(Wn+\".range[0]\",Math.log(Lr)/Math.LN10),Qn(Wn+\".range[1]\",Math.log(Ur)/Math.LN10)):(Qn(Wn+\".range[0]\",Math.pow(10,Lr)),Qn(Wn+\".range[1]\",Math.pow(10,Ur)))}Array.isArray(we._subplots.polar)&&we._subplots.polar.length&&we[Vt.parts[0]]&&Vt.parts[1]===\"radialaxis\"&&delete we[Vt.parts[0]]._subplot.viewInitial[\"radialaxis.range\"],r.getComponentMethod(\"annotations\",\"convertCoords\")(Se,Sn,wr,Qn),r.getComponentMethod(\"images\",\"convertCoords\")(Se,Sn,wr,Qn)}else Qn(Wn+\".autorange\",!0),Qn(Wn+\".range\",null);S(we,Wn+\"._inputRange\").set(null)}else if(en.match(m)){var Dr=S(we,Ht).get(),nn=(wr||{}).type;(!nn||nn===\"-\")&&(nn=\"linear\"),r.getComponentMethod(\"annotations\",\"convertCoords\")(Se,Dr,nn,Qn),r.getComponentMethod(\"images\",\"convertCoords\")(Se,Dr,nn,Qn)}var vn=_.containerArrayMatch(Ht);if(vn){Xt=vn.array,$t=vn.index;var gn=vn.property,kt=gt||{editType:\"calc\"};$t!==\"\"&&gn===\"\"&&(_.isAddVal(wr)?zn[Ht]=null:_.isRemoveVal(wr)?zn[Ht]=(S(Ee,Xt).get()||[])[$t]:A.warn(\"unrecognized full object value\",He)),E.update(On,kt),Nt[Xt]||(Nt[Xt]={});var or=Nt[Xt][$t];or||(or=Nt[Xt][$t]={}),or[gn]=wr,delete He[Ht]}else en===\"reverse\"?(ri.range?ri.range.reverse():(Qn(Wn+\".autorange\",!0),ri.range=[1,0]),Sn.autorange?On.calc=!0:On.plot=!0):(Ht===\"dragmode\"&&(wr===!1&&ui!==!1||wr!==!1&&ui===!1)||we._has(\"scatter-like\")&&we._has(\"regl\")&&Ht===\"dragmode\"&&(wr===\"lasso\"||wr===\"select\")&&!(ui===\"lasso\"||ui===\"select\")?On.plot=!0:gt?E.update(On,gt):On.calc=!0,Vt.set(wr))}}for(Xt in Nt){var yr=_.applyContainerArrayChanges(Se,nt(Ee,Xt),Nt[Xt],On,nt);yr||(On.plot=!0)}for(var on in gi){Zt=i.getFromId(Se,on);var An=Zt&&Zt._constraintGroup;if(An){On.calc=!0;for(var Zn in An)gi[Zn]||(i.getFromId(Se,Zn)._constraintShrinkable=!0)}}(tt(Se)||He.height||He.width)&&(On.plot=!0);var Bn=we.shapes;for($t=0;$t1;)if(we.pop(),Ee=S(He,we.join(\".\")+\".uirevision\").get(),Ee!==void 0)return Ee;return He.uirevision}function ot(Se,He){for(var Ee=0;Ee=Le.length?Le[0]:Le[Nt]:Le}function bt(Nt){return Array.isArray(nt)?Nt>=nt.length?nt[0]:nt[Nt]:nt}function Rt(Nt,Xt){var $t=0;return function(){if(Nt&&++$t===Xt)return Nt()}}return new Promise(function(Nt,Xt){function $t(){if(we._frameQueue.length!==0){for(;we._frameQueue.length;){var en=we._frameQueue.pop();en.onInterrupt&&en.onInterrupt()}Se.emit(\"plotly_animationinterrupted\",[])}}function ur(en){if(en.length!==0){for(var Fn=0;Fnwe._timeToNext&&Rn()};en()}var On=0;function ni(en){return Array.isArray(Le)?On>=Le.length?en.transitionOpts=Le[On]:en.transitionOpts=Le[0]:en.transitionOpts=Le,On++,en}var zn,Qn,gi=[],Zt=He==null,Ft=Array.isArray(He),Ht=!Zt&&!Ft&&A.isPlainObject(He);if(Ht)gi.push({type:\"object\",data:ni(A.extendFlat({},He))});else if(Zt||[\"string\",\"number\"].indexOf(typeof He)!==-1)for(zn=0;zn0&&$r$r)&&xn.push(Qn);gi=xn}}gi.length>0?ur(gi):(Se.emit(\"plotly_animated\"),Nt())})}function br(Se,He,Ee){if(Se=A.getGraphDiv(Se),He==null)return Promise.resolve();if(!A.isPlotDiv(Se))throw new Error(\"This element is not a Plotly plot: \"+Se+\". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/\");var we,Le,nt,pt,bt=Se._transitionData._frames,Rt=Se._transitionData._frameHash;if(!Array.isArray(He))throw new Error(\"addFrames failure: frameList must be an Array of frame definitions\"+He);var Nt=bt.length+He.length*2,Xt=[],$t={};for(we=He.length-1;we>=0;we--)if(A.isPlainObject(He[we])){var ur=He[we].name,pn=(Rt[ur]||$t[ur]||{}).name,Rn=He[we].name,Nn=Rt[pn]||$t[pn];pn&&Rn&&typeof Rn==\"number\"&&Nn&&bVt.index?-1:Ht.index=0;we--){if(Le=Xt[we].frame,typeof Le.name==\"number\"&&A.warn(\"Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings\"),!Le.name)for(;Rt[Le.name=\"frame \"+Se._transitionData._counter++];);if(Rt[Le.name]){for(nt=0;nt=0;Ee--)we=He[Ee],nt.push({type:\"delete\",index:we}),pt.unshift({type:\"insert\",index:we,value:Le[we]});var bt=n.modifyFrames,Rt=n.modifyFrames,Nt=[Se,pt],Xt=[Se,nt];return t&&t.add(Se,bt,Nt,Rt,Xt),n.modifyFrames(Se,nt)}function Be(Se){Se=A.getGraphDiv(Se);var He=Se._fullLayout||{},Ee=Se._fullData||[];return n.cleanPlot([],{},Ee,He),n.purge(Se),e.purge(Se),He._container&&He._container.remove(),delete Se._context,Se}function Ke(Se){var He=Se._fullLayout,Ee=Se.getBoundingClientRect();if(!A.equalDomRects(Ee,He._lastBBox)){var we=He._invTransform=A.inverseTransformMatrix(A.getFullTransformMatrix(Se));He._invScaleX=Math.sqrt(we[0][0]*we[0][0]+we[0][1]*we[0][1]+we[0][2]*we[0][2]),He._invScaleY=Math.sqrt(we[1][0]*we[1][0]+we[1][1]*we[1][1]+we[1][2]*we[1][2]),He._lastBBox=Ee}}function je(Se){var He=H.select(Se),Ee=Se._fullLayout;if(Ee._calcInverseTransform=Ke,Ee._calcInverseTransform(Se),Ee._container=He.selectAll(\".plot-container\").data([0]),Ee._container.enter().insert(\"div\",\":first-child\").classed(\"plot-container\",!0).classed(\"plotly\",!0).style({width:\"100%\",height:\"100%\"}),Ee._paperdiv=Ee._container.selectAll(\".svg-container\").data([0]),Ee._paperdiv.enter().append(\"div\").classed(\"user-select-none\",!0).classed(\"svg-container\",!0).style(\"position\",\"relative\"),Ee._glcontainer=Ee._paperdiv.selectAll(\".gl-container\").data([{}]),Ee._glcontainer.enter().append(\"div\").classed(\"gl-container\",!0),Ee._paperdiv.selectAll(\".main-svg\").remove(),Ee._paperdiv.select(\".modebar-container\").remove(),Ee._paper=Ee._paperdiv.insert(\"svg\",\":first-child\").classed(\"main-svg\",!0),Ee._toppaper=Ee._paperdiv.append(\"svg\").classed(\"main-svg\",!0),Ee._modebardiv=Ee._paperdiv.append(\"div\"),delete Ee._modeBar,Ee._hoverpaper=Ee._paperdiv.append(\"svg\").classed(\"main-svg\",!0),!Ee._uid){var we={};H.selectAll(\"defs\").each(function(){this.id&&(we[this.id.split(\"-\")[1]]=1)}),Ee._uid=A.randstr(we)}Ee._paperdiv.selectAll(\".main-svg\").attr(d.svgAttrs),Ee._defs=Ee._paper.append(\"defs\").attr(\"id\",\"defs-\"+Ee._uid),Ee._clips=Ee._defs.append(\"g\").classed(\"clips\",!0),Ee._topdefs=Ee._toppaper.append(\"defs\").attr(\"id\",\"topdefs-\"+Ee._uid),Ee._topclips=Ee._topdefs.append(\"g\").classed(\"clips\",!0),Ee._bgLayer=Ee._paper.append(\"g\").classed(\"bglayer\",!0),Ee._draggers=Ee._paper.append(\"g\").classed(\"draglayer\",!0);var Le=Ee._paper.append(\"g\").classed(\"layer-below\",!0);Ee._imageLowerLayer=Le.append(\"g\").classed(\"imagelayer\",!0),Ee._shapeLowerLayer=Le.append(\"g\").classed(\"shapelayer\",!0),Ee._cartesianlayer=Ee._paper.append(\"g\").classed(\"cartesianlayer\",!0),Ee._polarlayer=Ee._paper.append(\"g\").classed(\"polarlayer\",!0),Ee._smithlayer=Ee._paper.append(\"g\").classed(\"smithlayer\",!0),Ee._ternarylayer=Ee._paper.append(\"g\").classed(\"ternarylayer\",!0),Ee._geolayer=Ee._paper.append(\"g\").classed(\"geolayer\",!0),Ee._funnelarealayer=Ee._paper.append(\"g\").classed(\"funnelarealayer\",!0),Ee._pielayer=Ee._paper.append(\"g\").classed(\"pielayer\",!0),Ee._iciclelayer=Ee._paper.append(\"g\").classed(\"iciclelayer\",!0),Ee._treemaplayer=Ee._paper.append(\"g\").classed(\"treemaplayer\",!0),Ee._sunburstlayer=Ee._paper.append(\"g\").classed(\"sunburstlayer\",!0),Ee._indicatorlayer=Ee._toppaper.append(\"g\").classed(\"indicatorlayer\",!0),Ee._glimages=Ee._paper.append(\"g\").classed(\"glimages\",!0);var nt=Ee._toppaper.append(\"g\").classed(\"layer-above\",!0);Ee._imageUpperLayer=nt.append(\"g\").classed(\"imagelayer\",!0),Ee._shapeUpperLayer=nt.append(\"g\").classed(\"shapelayer\",!0),Ee._selectionLayer=Ee._toppaper.append(\"g\").classed(\"selectionlayer\",!0),Ee._infolayer=Ee._toppaper.append(\"g\").classed(\"infolayer\",!0),Ee._menulayer=Ee._toppaper.append(\"g\").classed(\"menulayer\",!0),Ee._zoomlayer=Ee._toppaper.append(\"g\").classed(\"zoomlayer\",!0),Ee._hoverlayer=Ee._hoverpaper.append(\"g\").classed(\"hoverlayer\",!0),Ee._modebardiv.classed(\"modebar-container\",!0).style(\"position\",\"absolute\").style(\"top\",\"0px\").style(\"right\",\"0px\"),Se.emit(\"plotly_framework\")}Z.animate=gr,Z.addFrames=br,Z.deleteFrames=_t,Z.addTraces=$,Z.deleteTraces=J,Z.extendTraces=fe,Z.moveTraces=X,Z.prependTraces=G,Z.newPlot=B,Z._doPlot=u,Z.purge=Be,Z.react=Bt,Z.redraw=F,Z.relayout=xe,Z.restyle=re,Z.setPlotConfig=f,Z.update=ut,Z._guiRelayout=Me(xe),Z._guiRestyle=Me(re),Z._guiUpdate=Me(ut),Z._storeDirectGUIEdit=ie}}),Jv=ke({\"src/snapshot/helpers.js\"(Z){\"use strict\";var H=lo();Z.getDelay=function(A){return A._has&&(A._has(\"gl3d\")||A._has(\"mapbox\")||A._has(\"map\"))?500:0},Z.getRedrawFunc=function(A){return function(){H.getComponentMethod(\"colorbar\",\"draw\")(A)}},Z.encodeSVG=function(A){return\"data:image/svg+xml,\"+encodeURIComponent(A)},Z.encodeJSON=function(A){return\"data:application/json,\"+encodeURIComponent(A)};var g=window.URL||window.webkitURL;Z.createObjectURL=function(A){return g.createObjectURL(A)},Z.revokeObjectURL=function(A){return g.revokeObjectURL(A)},Z.createBlob=function(A,S){if(S===\"svg\")return new window.Blob([A],{type:\"image/svg+xml;charset=utf-8\"});if(S===\"full-json\")return new window.Blob([A],{type:\"application/json;charset=utf-8\"});var e=x(window.atob(A));return new window.Blob([e],{type:\"image/\"+S})},Z.octetStream=function(A){document.location.href=\"data:application/octet-stream\"+A};function x(A){for(var S=A.length,e=new ArrayBuffer(S),t=new Uint8Array(e),r=0;r\")!==-1?\"\":s.html(h).text()});return s.remove(),c}function i(a){return a.replace(/&(?!\\w+;|\\#[0-9]+;| \\#x[0-9A-F]+;)/g,\"&\")}H.exports=function(s,c,h){var p=s._fullLayout,d=p._paper,T=p._toppaper,l=p.width,_=p.height,w;d.insert(\"rect\",\":first-child\").call(A.setRect,0,0,l,_).call(S.fill,p.paper_bgcolor);var M=p._basePlotModules||[];for(w=0;w1&&E.push(s(\"object\",\"layout\"))),x.supplyDefaults(m);for(var u=m._fullData,y=b.length,f=0;fP.length&&M.push(s(\"unused\",E,y.concat(P.length)));var I=P.length,N=Array.isArray(O);N&&(I=Math.min(I,O.length));var U,W,Q,le,se;if(L.dimensions===2)for(W=0;WP[W].length&&M.push(s(\"unused\",E,y.concat(W,P[W].length)));var fe=P[W].length;for(U=0;U<(N?Math.min(fe,O[W].length):fe);U++)Q=N?O[W][U]:O,le=f[W][U],se=P[W][U],g.validate(le,Q)?se!==le&&se!==+le&&M.push(s(\"dynamic\",E,y.concat(W,U),le,se)):M.push(s(\"value\",E,y.concat(W,U),le))}else M.push(s(\"array\",E,y.concat(W),f[W]));else for(W=0;WF?M.push({code:\"unused\",traceType:f,templateCount:z,dataCount:F}):F>z&&M.push({code:\"reused\",traceType:f,templateCount:z,dataCount:F})}}function B(O,I){for(var N in O)if(N.charAt(0)!==\"_\"){var U=O[N],W=s(O,N,I);g(U)?(Array.isArray(O)&&U._template===!1&&U.templateitemname&&M.push({code:\"missing\",path:W,templateitemname:U.templateitemname}),B(U,W)):Array.isArray(U)&&c(U)&&B(U,W)}}if(B({data:m,layout:E},\"\"),M.length)return M.map(h)};function c(p){for(var d=0;d=0;h--){var p=e[h];if(p.type===\"scatter\"&&p.xaxis===s.xaxis&&p.yaxis===s.yaxis){p.opacity=void 0;break}}}}}}}),P5=ke({\"src/traces/scatter/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=u_();H.exports=function(A,S){function e(r,o){return g.coerce(A,S,x,r,o)}var t=S.barmode===\"group\";S.scattermode===\"group\"&&e(\"scattergap\",t?S.bargap:.2)}}}),vv=ke({\"src/plots/cartesian/align_period.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=x.dateTime2ms,S=x.incrementMonth,e=Hi(),t=e.ONEAVGMONTH;H.exports=function(o,n,i,a){if(n.type!==\"date\")return{vals:a};var s=o[i+\"periodalignment\"];if(!s)return{vals:a};var c=o[i+\"period\"],h;if(g(c)){if(c=+c,c<=0)return{vals:a}}else if(typeof c==\"string\"&&c.charAt(0)===\"M\"){var p=+c.substring(1);if(p>0&&Math.round(p)===p)h=p;else return{vals:a}}for(var d=n.calendar,T=s===\"start\",l=s===\"end\",_=o[i+\"period0\"],w=A(_,d)||0,M=[],E=[],m=[],b=a.length,v=0;vu;)P=S(P,-h,d);for(;P<=u;)P=S(P,h,d);f=S(P,-h,d)}else{for(y=Math.round((u-w)/c),P=w+y*c;P>u;)P-=c;for(;P<=u;)P+=c;f=P-c}M[v]=T?f:l?P:(f+P)/2,E[v]=f,m[v]=P}return{vals:M,starts:E,ends:m}}}}),Wd=ke({\"src/traces/scatter/colorscale_calc.js\"(Z,H){\"use strict\";var g=ad().hasColorscale,x=od(),A=vu();H.exports=function(e,t){A.hasLines(t)&&g(t,\"line\")&&x(e,t,{vals:t.line.color,containerStr:\"line\",cLetter:\"c\"}),A.hasMarkers(t)&&(g(t,\"marker\")&&x(e,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),g(t,\"marker.line\")&&x(e,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}))}}}),Lv=ke({\"src/traces/scatter/arrays_to_calcdata.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){for(var e=0;eB&&f[I].gap;)I--;for(U=f[I].s,O=f.length-1;O>I;O--)f[O].s=U;for(;BN+O||!g(I))}for(var W=0;Wz[d]&&d0?e:t)/(d._m*_*(d._m>0?e:t)))),Rt*=1e3}if(Nt===A){if(l&&(Nt=d.c2p(bt.y,!0)),Nt===A)return!1;Nt*=1e3}return[Rt,Nt]}function ee(pt,bt,Rt,Nt){var Xt=Rt-pt,$t=Nt-bt,ur=.5-pt,pn=.5-bt,Rn=Xt*Xt+$t*$t,Nn=Xt*ur+$t*pn;if(Nn>0&&Nn1||Math.abs(ur.y-Rt[0][1])>1)&&(ur=[ur.x,ur.y],Nt&&Te(ur,pt)Ye||pt[1]at)return[n(pt[0],Ie,Ye),n(pt[1],it,at)]}function Lt(pt,bt){if(pt[0]===bt[0]&&(pt[0]===Ie||pt[0]===Ye)||pt[1]===bt[1]&&(pt[1]===it||pt[1]===at))return!0}function Et(pt,bt){var Rt=[],Nt=et(pt),Xt=et(bt);return Nt&&Xt&&Lt(Nt,Xt)||(Nt&&Rt.push(Nt),Xt&&Rt.push(Xt)),Rt}function Bt(pt,bt,Rt){return function(Nt,Xt){var $t=et(Nt),ur=et(Xt),pn=[];if($t&&ur&&Lt($t,ur))return pn;$t&&pn.push($t),ur&&pn.push(ur);var Rn=2*r.constrain((Nt[pt]+Xt[pt])/2,bt,Rt)-(($t||Nt)[pt]+(ur||Xt)[pt]);if(Rn){var Nn;$t&&ur?Nn=Rn>0==$t[pt]>ur[pt]?$t:ur:Nn=$t||ur,Nn[pt]+=Rn}return pn}}var qt;v===\"linear\"||v===\"spline\"?qt=ot:v===\"hv\"||v===\"vh\"?qt=Et:v===\"hvh\"?qt=Bt(0,Ie,Ye):v===\"vhv\"&&(qt=Bt(1,it,at));function fr(pt,bt){var Rt=bt[0]-pt[0],Nt=(bt[1]-pt[1])/Rt,Xt=(pt[1]*bt[0]-bt[1]*pt[0])/Rt;return Xt>0?[Nt>0?Ie:Ye,at]:[Nt>0?Ye:Ie,it]}function ar(pt){var bt=pt[0],Rt=pt[1],Nt=bt===z[F-1][0],Xt=Rt===z[F-1][1];if(!(Nt&&Xt))if(F>1){var $t=bt===z[F-2][0],ur=Rt===z[F-2][1];Nt&&(bt===Ie||bt===Ye)&&$t?ur?F--:z[F-1]=pt:Xt&&(Rt===it||Rt===at)&&ur?$t?F--:z[F-1]=pt:z[F++]=pt}else z[F++]=pt}function Rr(pt){z[F-1][0]!==pt[0]&&z[F-1][1]!==pt[1]&&ar([pe,ue]),ar(pt),Oe=null,pe=ue=0}var gr=r.isArrayOrTypedArray(E);function br(pt){if(pt&&M&&(pt.i=B,pt.d=s,pt.trace=h,pt.marker=gr?E[pt.i]:E,pt.backoff=M),ie=pt[0]/_,ce=pt[1]/w,ut=pt[0]Ye?Ye:0,Me=pt[1]at?at:0,ut||Me){if(!F)z[F++]=[ut||pt[0],Me||pt[1]];else if(Oe){var bt=qt(Oe,pt);bt.length>1&&(Rr(bt[0]),z[F++]=bt[1])}else rt=qt(z[F-1],pt)[0],z[F++]=rt;var Rt=z[F-1];ut&&Me&&(Rt[0]!==ut||Rt[1]!==Me)?(Oe&&(pe!==ut&&ue!==Me?ar(pe&&ue?fr(Oe,pt):[pe||ut,ue||Me]):pe&&ue&&ar([pe,ue])),ar([ut,Me])):pe-ut&&ue-Me&&ar([ut||pe,Me||ue]),Oe=pt,pe=ut,ue=Me}else Oe&&Rr(qt(Oe,pt)[0]),z[F++]=pt}for(B=0;Bxe(W,_t))break;I=W,J=se[0]*le[0]+se[1]*le[1],J>G?(G=J,N=W,Q=!1):J<$&&($=J,U=W,Q=!0)}if(Q?(br(N),I!==U&&br(U)):(U!==O&&br(U),I!==N&&br(N)),br(I),B>=s.length||!W)break;br(W),O=W}}Oe&&ar([pe||Oe[0],ue||Oe[1]]),f.push(z.slice(0,F))}var Be=v.slice(v.length-1);if(M&&Be!==\"h\"&&Be!==\"v\"){for(var Ke=!1,je=-1,Se=[],He=0;He=0?i=p:(i=p=h,h++),i0,v=n(p,d,T);if(M=l.selectAll(\"g.trace\").data(v,function(y){return y[0].trace.uid}),M.enter().append(\"g\").attr(\"class\",function(y){return\"trace scatter trace\"+y[0].trace.uid}).style(\"stroke-miterlimit\",2),M.order(),a(p,M,d),b){w&&(E=w());var u=g.transition().duration(_.duration).ease(_.easing).each(\"end\",function(){E&&E()}).each(\"interrupt\",function(){E&&E()});u.each(function(){l.selectAll(\"g.trace\").each(function(y,f){s(p,f,d,y,v,this,_)})})}else M.each(function(y,f){s(p,f,d,y,v,this,_)});m&&M.exit().remove(),l.selectAll(\"path:not([d])\").remove()};function a(h,p,d){p.each(function(T){var l=S(g.select(this),\"g\",\"fills\");t.setClipUrl(l,d.layerClipId,h);var _=T[0].trace,w=[];_._ownfill&&w.push(\"_ownFill\"),_._nexttrace&&w.push(\"_nextFill\");var M=l.selectAll(\"g\").data(w,e);M.enter().append(\"g\"),M.exit().each(function(E){_[E]=null}).remove(),M.order().each(function(E){_[E]=S(g.select(this),\"path\",\"js-fill\")})})}function s(h,p,d,T,l,_,w){var M=h._context.staticPlot,E;c(h,p,d,T,l);var m=!!w&&w.duration>0;function b(ar){return m?ar.transition():ar}var v=d.xaxis,u=d.yaxis,y=T[0].trace,f=y.line,P=g.select(_),L=S(P,\"g\",\"errorbars\"),z=S(P,\"g\",\"lines\"),F=S(P,\"g\",\"points\"),B=S(P,\"g\",\"text\");if(x.getComponentMethod(\"errorbars\",\"plot\")(h,L,d,w),y.visible!==!0)return;b(P).style(\"opacity\",y.opacity);var O,I,N=y.fill.charAt(y.fill.length-1);N!==\"x\"&&N!==\"y\"&&(N=\"\");var U,W;N===\"y\"?(U=1,W=u.c2p(0,!0)):N===\"x\"&&(U=0,W=v.c2p(0,!0)),T[0][d.isRangePlot?\"nodeRangePlot3\":\"node3\"]=P;var Q=\"\",le=[],se=y._prevtrace,fe=null,G=null;se&&(Q=se._prevRevpath||\"\",I=se._nextFill,le=se._ownPolygons,fe=se._fillsegments,G=se._fillElement);var $,J,X=\"\",re=\"\",ae,j,ee,ie,ce,xe,Te=[];y._polygons=[];var Ue=[],Ie=[],Ye=A.noop;if(O=y._ownFill,r.hasLines(y)||y.fill!==\"none\"){I&&I.datum(T),[\"hv\",\"vh\",\"hvh\",\"vhv\"].indexOf(f.shape)!==-1?(ae=t.steps(f.shape),j=t.steps(f.shape.split(\"\").reverse().join(\"\"))):f.shape===\"spline\"?ae=j=function(ar){var Rr=ar[ar.length-1];return ar.length>1&&ar[0][0]===Rr[0]&&ar[0][1]===Rr[1]?t.smoothclosed(ar.slice(1),f.smoothing):t.smoothopen(ar,f.smoothing)}:ae=j=function(ar){return\"M\"+ar.join(\"L\")},ee=function(ar){return j(ar.reverse())},Ie=o(T,{xaxis:v,yaxis:u,trace:y,connectGaps:y.connectgaps,baseTolerance:Math.max(f.width||1,3)/4,shape:f.shape,backoff:f.backoff,simplify:f.simplify,fill:y.fill}),Ue=new Array(Ie.length);var it=0;for(E=0;E=M[0]&&P.x<=M[1]&&P.y>=E[0]&&P.y<=E[1]}),u=Math.ceil(v.length/b),y=0;l.forEach(function(P,L){var z=P[0].trace;r.hasMarkers(z)&&z.marker.maxdisplayed>0&&L=Math.min(se,fe)&&d<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(h.c2p(le.x)-d);return J=Math.min(se,fe)&&T<=Math.max(se,fe)?0:1/0}var G=Math.max(3,le.mrc||0),$=1-1/G,J=Math.abs(p.c2p(le.y)-T);return Jre!=Ue>=re&&(ce=ee[j-1][0],xe=ee[j][0],Ue-Te&&(ie=ce+(xe-ce)*(re-Te)/(Ue-Te),G=Math.min(G,ie),$=Math.max($,ie)));return G=Math.max(G,0),$=Math.min($,h._length),{x0:G,x1:$,y0:re,y1:re}}if(_.indexOf(\"fills\")!==-1&&c._fillElement){var U=I(c._fillElement)&&!I(c._fillExclusionElement);if(U){var W=N(c._polygons);W===null&&(W={x0:l[0],x1:l[0],y0:l[1],y1:l[1]});var Q=e.defaultLine;return e.opacity(c.fillcolor)?Q=c.fillcolor:e.opacity((c.line||{}).color)&&(Q=c.line.color),g.extendFlat(o,{distance:o.maxHoverDistance,x0:W.x0,x1:W.x1,y0:W.y0,y1:W.y1,color:Q,hovertemplate:!1}),delete o.index,c.text&&!g.isArrayOrTypedArray(c.text)?o.text=String(c.text):o.text=c.name,[o]}}}}}),$g=ke({\"src/traces/scatter/select.js\"(Z,H){\"use strict\";var g=vu();H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=[],n=e[0].trace,i,a,s,c,h=!g.hasMarkers(n)&&!g.hasText(n);if(h)return[];if(S===!1)for(i=0;i0&&(a[\"_\"+n+\"axes\"]||{})[o])return a;if((a[n+\"axis\"]||n)===o){if(t(a,n))return a;if((a[n]||[]).length||a[n+\"0\"])return a}}}function e(r){return{v:\"x\",h:\"y\"}[r.orientation||\"v\"]}function t(r,o){var n=e(r),i=g(r,\"box-violin\"),a=g(r._fullInput||{},\"candlestick\");return i&&!a&&o===n&&r[n]===void 0&&r[n+\"0\"]===void 0}}}),T_=ke({\"src/plots/cartesian/category_order_defaults.js\"(Z,H){\"use strict\";var g=Oa().isTypedArraySpec;function x(A,S){var e=S.dataAttr||A._id.charAt(0),t={},r,o,n;if(S.axData)r=S.axData;else for(r=[],o=0;o0||g(o),i;n&&(i=\"array\");var a=t(\"categoryorder\",i),s;a===\"array\"&&(s=t(\"categoryarray\")),!n&&a===\"array\"&&(a=e.categoryorder=\"trace\"),a===\"trace\"?e._initialCategories=[]:a===\"array\"?e._initialCategories=s.slice():(s=x(e,r).sort(),a===\"category ascending\"?e._initialCategories=s:a===\"category descending\"&&(e._initialCategories=s.reverse()))}}}}),o0=ke({\"src/plots/cartesian/line_grid_defaults.js\"(Z,H){\"use strict\";var g=ru().mix,x=If(),A=un();H.exports=function(e,t,r,o){o=o||{};var n=o.dfltColor;function i(y,f){return A.coerce2(e,t,o.attributes,y,f)}var a=i(\"linecolor\",n),s=i(\"linewidth\"),c=r(\"showline\",o.showLine||!!a||!!s);c||(delete t.linecolor,delete t.linewidth);var h=g(n,o.bgColor,o.blend||x.lightFraction).toRgbString(),p=i(\"gridcolor\",h),d=i(\"gridwidth\"),T=i(\"griddash\"),l=r(\"showgrid\",o.showGrid||!!p||!!d||!!T);if(l||(delete t.gridcolor,delete t.gridwidth,delete t.griddash),o.hasMinor){var _=g(t.gridcolor,o.bgColor,67).toRgbString(),w=i(\"minor.gridcolor\",_),M=i(\"minor.gridwidth\",t.gridwidth||1),E=i(\"minor.griddash\",t.griddash||\"solid\"),m=r(\"minor.showgrid\",!!w||!!M||!!E);m||(delete t.minor.gridcolor,delete t.minor.gridwidth,delete t.minor.griddash)}if(!o.noZeroLine){var b=i(\"zerolinecolor\",n),v=i(\"zerolinewidth\"),u=r(\"zeroline\",o.showGrid||!!b||!!v);u||(delete t.zerolinecolor,delete t.zerolinewidth)}}}}),s0=ke({\"src/plots/cartesian/axis_defaults.js\"(Z,H){\"use strict\";var g=Yn(),x=lo(),A=un(),S=yl(),e=Oh(),t=wh(),r=Pm(),o=qg(),n=Dp(),i=zp(),a=T_(),s=o0(),c=$w(),h=Cv(),p=oh().WEEKDAY_PATTERN,d=oh().HOUR_PATTERN;H.exports=function(M,E,m,b,v){var u=b.letter,y=b.font||{},f=b.splomStash||{},P=m(\"visible\",!b.visibleDflt),L=E._template||{},z=E.type||L.type||\"-\",F;if(z===\"date\"){var B=x.getComponentMethod(\"calendars\",\"handleDefaults\");B(M,E,\"calendar\",b.calendar),b.noTicklabelmode||(F=m(\"ticklabelmode\"))}!b.noTicklabelindex&&(z===\"date\"||z===\"linear\")&&m(\"ticklabelindex\");var O=\"\";(!b.noTicklabelposition||z===\"multicategory\")&&(O=A.coerce(M,E,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:F===\"period\"?[\"outside\",\"inside\"]:u===\"x\"?[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]}},\"ticklabelposition\")),b.noTicklabeloverflow||m(\"ticklabeloverflow\",O.indexOf(\"inside\")!==-1?\"hide past domain\":z===\"category\"||z===\"multicategory\"?\"allow\":\"hide past div\"),h(E,v),c(M,E,m,b),a(M,E,m,b),z!==\"category\"&&!b.noHover&&m(\"hoverformat\");var I=m(\"color\"),N=I!==t.color.dflt?I:y.color,U=f.label||v._dfltTitle[u];if(i(M,E,m,z,b),!P)return E;m(\"title.text\",U),A.coerceFont(m,\"title.font\",y,{overrideDflt:{size:A.bigFont(y.size),color:N}}),r(M,E,m,z);var W=b.hasMinor;if(W&&(S.newContainer(E,\"minor\"),r(M,E,m,z,{isMinor:!0})),n(M,E,m,z,b),o(M,E,m,b),W){var Q=b.isMinor;b.isMinor=!0,o(M,E,m,b),b.isMinor=Q}s(M,E,m,{dfltColor:I,bgColor:b.bgColor,showGrid:b.showGrid,hasMinor:W,attributes:t}),W&&!E.minor.ticks&&!E.minor.showgrid&&delete E.minor,(E.showline||E.ticks)&&m(\"mirror\");var le=z===\"multicategory\";if(!b.noTickson&&(z===\"category\"||le)&&(E.ticks||E.showgrid)){var se;le&&(se=\"boundaries\");var fe=m(\"tickson\",se);fe===\"boundaries\"&&delete E.ticklabelposition}if(le){var G=m(\"showdividers\");G&&(m(\"dividercolor\"),m(\"dividerwidth\"))}if(z===\"date\")if(e(M,E,{name:\"rangebreaks\",inclusionAttr:\"enabled\",handleItemDefaults:T}),!E.rangebreaks.length)delete E.rangebreaks;else{for(var $=0;$=2){var u=\"\",y,f;if(v.length===2){for(y=0;y<2;y++)if(f=_(v[y]),f){u=p;break}}var P=m(\"pattern\",u);if(P===p)for(y=0;y<2;y++)f=_(v[y]),f&&(M.bounds[y]=v[y]=f-1);if(P)for(y=0;y<2;y++)switch(f=v[y],P){case p:if(!g(f)){M.enabled=!1;return}if(f=+f,f!==Math.floor(f)||f<0||f>=7){M.enabled=!1;return}M.bounds[y]=v[y]=f;break;case d:if(!g(f)){M.enabled=!1;return}if(f=+f,f<0||f>24){M.enabled=!1;return}M.bounds[y]=v[y]=f;break}if(E.autorange===!1){var L=E.range;if(L[0]L[1]){M.enabled=!1;return}}else if(v[0]>L[0]&&v[1]m[1]-1/4096&&(e.domain=h),x.noneOrAll(S.domain,e.domain,h),e.tickmode===\"sync\"&&(e.tickmode=\"auto\")}return t(\"layer\"),e}}}),z5=ke({\"src/plots/cartesian/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=gd().isUnifiedHover,S=a2(),e=yl(),t=Ug(),r=wh(),o=T2(),n=s0(),i=Rm(),a=A_(),s=qc(),c=s.id2name,h=s.name2id,p=oh().AX_ID_PATTERN,d=lo(),T=d.traceIs,l=d.getComponentMethod;function _(w,M,E){Array.isArray(w[M])?w[M].push(E):w[M]=[E]}H.exports=function(M,E,m){var b=E.autotypenumbers,v={},u={},y={},f={},P={},L={},z={},F={},B={},O={},I,N;for(I=0;I rect\").call(S.setTranslate,0,0).call(S.setScale,1,1),E.plot.call(S.setTranslate,m._offset,b._offset).call(S.setScale,1,1);var v=E.plot.selectAll(\".scatterlayer .trace\");v.selectAll(\".point\").call(S.setPointGroupScale,1,1),v.selectAll(\".textpoint\").call(S.setTextPointsScale,1,1),v.call(S.hideOutsideRangePoints,E)}function c(E,m){var b=E.plotinfo,v=b.xaxis,u=b.yaxis,y=v._length,f=u._length,P=!!E.xr1,L=!!E.yr1,z=[];if(P){var F=A.simpleMap(E.xr0,v.r2l),B=A.simpleMap(E.xr1,v.r2l),O=F[1]-F[0],I=B[1]-B[0];z[0]=(F[0]*(1-m)+m*B[0]-F[0])/(F[1]-F[0])*y,z[2]=y*(1-m+m*I/O),v.range[0]=v.l2r(F[0]*(1-m)+m*B[0]),v.range[1]=v.l2r(F[1]*(1-m)+m*B[1])}else z[0]=0,z[2]=y;if(L){var N=A.simpleMap(E.yr0,u.r2l),U=A.simpleMap(E.yr1,u.r2l),W=N[1]-N[0],Q=U[1]-U[0];z[1]=(N[1]*(1-m)+m*U[1]-N[1])/(N[0]-N[1])*f,z[3]=f*(1-m+m*Q/W),u.range[0]=v.l2r(N[0]*(1-m)+m*U[0]),u.range[1]=u.l2r(N[1]*(1-m)+m*U[1])}else z[1]=0,z[3]=f;e.drawOne(r,v,{skipTitle:!0}),e.drawOne(r,u,{skipTitle:!0}),e.redrawComponents(r,[v._id,u._id]);var le=P?y/z[2]:1,se=L?f/z[3]:1,fe=P?z[0]:0,G=L?z[1]:0,$=P?z[0]/z[2]*y:0,J=L?z[1]/z[3]*f:0,X=v._offset-$,re=u._offset-J;b.clipRect.call(S.setTranslate,fe,G).call(S.setScale,1/le,1/se),b.plot.call(S.setTranslate,X,re).call(S.setScale,le,se),S.setPointGroupScale(b.zoomScalePts,1/le,1/se),S.setTextPointsScale(b.zoomScaleTxt,1/le,1/se)}var h;i&&(h=i());function p(){for(var E={},m=0;mn.duration?(p(),_=window.cancelAnimationFrame(M)):_=window.requestAnimationFrame(M)}return T=Date.now(),_=window.requestAnimationFrame(M),Promise.resolve()}}}),xf=ke({\"src/plots/cartesian/index.js\"(Z){\"use strict\";var H=_i(),g=lo(),x=un(),A=Zu(),S=$o(),e=bh().getModuleCalcData,t=qc(),r=oh(),o=zd(),n=x.ensureSingle;function i(T,l,_){return x.ensureSingle(T,l,_,function(w){w.datum(_)})}var a=r.zindexSeparator;Z.name=\"cartesian\",Z.attr=[\"xaxis\",\"yaxis\"],Z.idRoot=[\"x\",\"y\"],Z.idRegex=r.idRegex,Z.attrRegex=r.attrRegex,Z.attributes=D5(),Z.layoutAttributes=wh(),Z.supplyLayoutDefaults=z5(),Z.transitionAxes=F5(),Z.finalizeSubplots=function(T,l){var _=l._subplots,w=_.xaxis,M=_.yaxis,E=_.cartesian,m=E,b={},v={},u,y,f;for(u=0;u0){var L=P.id;if(L.indexOf(a)!==-1)continue;L+=a+(u+1),P=x.extendFlat({},P,{id:L,plot:M._cartesianlayer.selectAll(\".subplot\").select(\".\"+L)})}for(var z=[],F,B=0;B1&&(W+=a+U),N.push(b+W),m=0;m1,f=l.mainplotinfo;if(!l.mainplot||y)if(u)l.xlines=n(w,\"path\",\"xlines-above\"),l.ylines=n(w,\"path\",\"ylines-above\"),l.xaxislayer=n(w,\"g\",\"xaxislayer-above\"),l.yaxislayer=n(w,\"g\",\"yaxislayer-above\");else{if(!m){var P=n(w,\"g\",\"layer-subplot\");l.shapelayer=n(P,\"g\",\"shapelayer\"),l.imagelayer=n(P,\"g\",\"imagelayer\"),f&&y?(l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer):(l.minorGridlayer=n(w,\"g\",\"minor-gridlayer\"),l.gridlayer=n(w,\"g\",\"gridlayer\"),l.zerolinelayer=n(w,\"g\",\"zerolinelayer\"));var L=n(w,\"g\",\"layer-between\");l.shapelayerBetween=n(L,\"g\",\"shapelayer\"),l.imagelayerBetween=n(L,\"g\",\"imagelayer\"),n(w,\"path\",\"xlines-below\"),n(w,\"path\",\"ylines-below\"),l.overlinesBelow=n(w,\"g\",\"overlines-below\"),n(w,\"g\",\"xaxislayer-below\"),n(w,\"g\",\"yaxislayer-below\"),l.overaxesBelow=n(w,\"g\",\"overaxes-below\")}l.overplot=n(w,\"g\",\"overplot\"),l.plot=n(l.overplot,\"g\",M),m||(l.xlines=n(w,\"path\",\"xlines-above\"),l.ylines=n(w,\"path\",\"ylines-above\"),l.overlinesAbove=n(w,\"g\",\"overlines-above\"),n(w,\"g\",\"xaxislayer-above\"),n(w,\"g\",\"yaxislayer-above\"),l.overaxesAbove=n(w,\"g\",\"overaxes-above\"),l.xlines=w.select(\".xlines-\"+b),l.ylines=w.select(\".ylines-\"+v),l.xaxislayer=w.select(\".xaxislayer-\"+b),l.yaxislayer=w.select(\".yaxislayer-\"+v))}else{var z=f.plotgroup,F=M+\"-x\",B=M+\"-y\";l.minorGridlayer=f.minorGridlayer,l.gridlayer=f.gridlayer,l.zerolinelayer=f.zerolinelayer,n(f.overlinesBelow,\"path\",F),n(f.overlinesBelow,\"path\",B),n(f.overaxesBelow,\"g\",F),n(f.overaxesBelow,\"g\",B),l.plot=n(f.overplot,\"g\",M),n(f.overlinesAbove,\"path\",F),n(f.overlinesAbove,\"path\",B),n(f.overaxesAbove,\"g\",F),n(f.overaxesAbove,\"g\",B),l.xlines=z.select(\".overlines-\"+b).select(\".\"+F),l.ylines=z.select(\".overlines-\"+v).select(\".\"+B),l.xaxislayer=z.select(\".overaxes-\"+b).select(\".\"+F),l.yaxislayer=z.select(\".overaxes-\"+v).select(\".\"+B)}m||(u||(i(l.minorGridlayer,\"g\",l.xaxis._id),i(l.minorGridlayer,\"g\",l.yaxis._id),l.minorGridlayer.selectAll(\"g\").map(function(O){return O[0]}).sort(t.idSort),i(l.gridlayer,\"g\",l.xaxis._id),i(l.gridlayer,\"g\",l.yaxis._id),l.gridlayer.selectAll(\"g\").map(function(O){return O[0]}).sort(t.idSort)),l.xlines.style(\"fill\",\"none\").classed(\"crisp\",!0),l.ylines.style(\"fill\",\"none\").classed(\"crisp\",!0))}function p(T,l){if(T){var _={};T.each(function(v){var u=v[0],y=H.select(this);y.remove(),d(u,l),_[u]=!0});for(var w in l._plots)for(var M=l._plots[w],E=M.overlays||[],m=0;m=0,l=i.indexOf(\"end\")>=0,_=c.backoff*p+a.standoff,w=h.backoff*d+a.startstandoff,M,E,m,b;if(s.nodeName===\"line\"){M={x:+n.attr(\"x1\"),y:+n.attr(\"y1\")},E={x:+n.attr(\"x2\"),y:+n.attr(\"y2\")};var v=M.x-E.x,u=M.y-E.y;if(m=Math.atan2(u,v),b=m+Math.PI,_&&w&&_+w>Math.sqrt(v*v+u*u)){W();return}if(_){if(_*_>v*v+u*u){W();return}var y=_*Math.cos(m),f=_*Math.sin(m);E.x+=y,E.y+=f,n.attr({x2:E.x,y2:E.y})}if(w){if(w*w>v*v+u*u){W();return}var P=w*Math.cos(m),L=w*Math.sin(m);M.x-=P,M.y-=L,n.attr({x1:M.x,y1:M.y})}}else if(s.nodeName===\"path\"){var z=s.getTotalLength(),F=\"\";if(z<_+w){W();return}var B=s.getPointAtLength(0),O=s.getPointAtLength(.1);m=Math.atan2(B.y-O.y,B.x-O.x),M=s.getPointAtLength(Math.min(w,z)),F=\"0px,\"+w+\"px,\";var I=s.getPointAtLength(z),N=s.getPointAtLength(z-.1);b=Math.atan2(I.y-N.y,I.x-N.x),E=s.getPointAtLength(Math.max(0,z-_));var U=F?w+_:_;F+=z-U+\"px,\"+z+\"px\",n.style(\"stroke-dasharray\",F)}function W(){n.style(\"stroke-dasharray\",\"0px,100px\")}function Q(le,se,fe,G){le.path&&(le.noRotate&&(fe=0),g.select(s.parentNode).append(\"path\").attr({class:n.attr(\"class\"),d:le.path,transform:r(se.x,se.y)+t(fe*180/Math.PI)+e(G)}).style({fill:x.rgb(a.arrowcolor),\"stroke-width\":0}))}T&&Q(h,M,m,d),l&&Q(c,E,b,p)}}}),M_=ke({\"src/components/annotations/draw.js\"(Z,H){\"use strict\";var g=_i(),x=lo(),A=Zu(),S=un(),e=S.strTranslate,t=Ho(),r=eo(),o=$o(),n=Ec(),i=Wl(),a=uv(),s=Xh(),c=yl().arrayEditor,h=B5();H.exports={draw:p,drawOne:d,drawRaw:l};function p(_){var w=_._fullLayout;w._infolayer.selectAll(\".annotation\").remove();for(var M=0;M2/3?zn=\"right\":zn=\"center\"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[zn]}for(var rt=!1,ot=[\"x\",\"y\"],et=0;et1)&&(Bt===Et?(Le=qt.r2fraction(w[\"a\"+Lt]),(Le<0||Le>1)&&(rt=!0)):rt=!0),Ke=qt._offset+qt.r2p(w[Lt]),He=.5}else{var nt=we===\"domain\";Lt===\"x\"?(Se=w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.l+u.w*Se):(Se=1-w[Lt],Ke=nt?qt._offset+qt._length*Se:Ke=u.t+u.h*Se),He=w.showarrow?.5:Se}if(w.showarrow){Be.head=Ke;var pt=w[\"a\"+Lt];if(Ee=ar*Oe(.5,w.xanchor)-Rr*Oe(.5,w.yanchor),Bt===Et){var bt=t.getRefType(Bt);bt===\"domain\"?(Lt===\"y\"&&(pt=1-pt),Be.tail=qt._offset+qt._length*pt):bt===\"paper\"?Lt===\"y\"?(pt=1-pt,Be.tail=u.t+u.h*pt):Be.tail=u.l+u.w*pt:Be.tail=qt._offset+qt.r2p(pt),je=Ee}else Be.tail=Ke+pt,je=Ee+pt;Be.text=Be.tail+Ee;var Rt=v[Lt===\"x\"?\"width\":\"height\"];if(Et===\"paper\"&&(Be.head=S.constrain(Be.head,1,Rt-1)),Bt===\"pixel\"){var Nt=-Math.max(Be.tail-3,Be.text),Xt=Math.min(Be.tail+3,Be.text)-Rt;Nt>0?(Be.tail+=Nt,Be.text+=Nt):Xt>0&&(Be.tail-=Xt,Be.text-=Xt)}Be.tail+=_t,Be.head+=_t}else Ee=gr*Oe(He,br),je=Ee,Be.text=Ke+Ee;Be.text+=_t,Ee+=_t,je+=_t,w[\"_\"+Lt+\"padplus\"]=gr/2+je,w[\"_\"+Lt+\"padminus\"]=gr/2-je,w[\"_\"+Lt+\"size\"]=gr,w[\"_\"+Lt+\"shift\"]=Ee}if(rt){fe.remove();return}var $t=0,ur=0;if(w.align!==\"left\"&&($t=(ut-at)*(w.align===\"center\"?.5:1)),w.valign!==\"top\"&&(ur=(Me-tt)*(w.valign===\"middle\"?.5:1)),Ye)Ie.select(\"svg\").attr({x:J+$t-1,y:J+ur}).call(o.setClipUrl,re?O:null,_);else{var pn=J+ur-it.top,Rn=J+$t-it.left;ie.call(i.positionText,Rn,pn).call(o.setClipUrl,re?O:null,_)}ae.select(\"rect\").call(o.setRect,J,J,ut,Me),X.call(o.setRect,G/2,G/2,pe-G,ue-G),fe.call(o.setTranslate,Math.round(I.x.text-pe/2),Math.round(I.y.text-ue/2)),W.attr({transform:\"rotate(\"+N+\",\"+I.x.text+\",\"+I.y.text+\")\"});var Nn=function(ni,zn){U.selectAll(\".annotation-arrow-g\").remove();var Qn=I.x.head,gi=I.y.head,Zt=I.x.tail+ni,Ft=I.y.tail+zn,Ht=I.x.text+ni,Vt=I.y.text+zn,wr=S.rotationXYMatrix(N,Ht,Vt),$r=S.apply2DTransform(wr),xn=S.apply2DTransform2(wr),en=+X.attr(\"width\"),Fn=+X.attr(\"height\"),Wn=Ht-.5*en,ri=Wn+en,Sn=Vt-.5*Fn,ui=Sn+Fn,gt=[[Wn,Sn,Wn,ui],[Wn,ui,ri,ui],[ri,ui,ri,Sn],[ri,Sn,Wn,Sn]].map(xn);if(!gt.reduce(function(kt,or){return kt^!!S.segmentsIntersect(Qn,gi,Qn+1e6,gi+1e6,or[0],or[1],or[2],or[3])},!1)){gt.forEach(function(kt){var or=S.segmentsIntersect(Zt,Ft,Qn,gi,kt[0],kt[1],kt[2],kt[3]);or&&(Zt=or.x,Ft=or.y)});var yt=w.arrowwidth,Pr=w.arrowcolor,Ir=w.arrowside,Tr=U.append(\"g\").style({opacity:r.opacity(Pr)}).classed(\"annotation-arrow-g\",!0),Mr=Tr.append(\"path\").attr(\"d\",\"M\"+Zt+\",\"+Ft+\"L\"+Qn+\",\"+gi).style(\"stroke-width\",yt+\"px\").call(r.stroke,r.rgb(Pr));if(h(Mr,Ir,w),y.annotationPosition&&Mr.node().parentNode&&!E){var Lr=Qn,Ur=gi;if(w.standoff){var Dr=Math.sqrt(Math.pow(Qn-Zt,2)+Math.pow(gi-Ft,2));Lr+=w.standoff*(Zt-Qn)/Dr,Ur+=w.standoff*(Ft-gi)/Dr}var nn=Tr.append(\"path\").classed(\"annotation-arrow\",!0).classed(\"anndrag\",!0).classed(\"cursor-move\",!0).attr({d:\"M3,3H-3V-3H3ZM0,0L\"+(Zt-Lr)+\",\"+(Ft-Ur),transform:e(Lr,Ur)}).style(\"stroke-width\",yt+6+\"px\").call(r.stroke,\"rgba(0,0,0,0)\").call(r.fill,\"rgba(0,0,0,0)\"),vn,gn;s.init({element:nn.node(),gd:_,prepFn:function(){var kt=o.getTranslate(fe);vn=kt.x,gn=kt.y,m&&m.autorange&&z(m._name+\".autorange\",!0),b&&b.autorange&&z(b._name+\".autorange\",!0)},moveFn:function(kt,or){var yr=$r(vn,gn),on=yr[0]+kt,An=yr[1]+or;fe.call(o.setTranslate,on,An),F(\"x\",T(m,kt,\"x\",u,w)),F(\"y\",T(b,or,\"y\",u,w)),w.axref===w.xref&&F(\"ax\",T(m,kt,\"ax\",u,w)),w.ayref===w.yref&&F(\"ay\",T(b,or,\"ay\",u,w)),Tr.attr(\"transform\",e(kt,or)),W.attr({transform:\"rotate(\"+N+\",\"+on+\",\"+An+\")\"})},doneFn:function(){x.call(\"_guiRelayout\",_,B());var kt=document.querySelector(\".js-notes-box-panel\");kt&&kt.redraw(kt.selectedObj)}})}}};if(w.showarrow&&Nn(0,0),Q){var On;s.init({element:fe.node(),gd:_,prepFn:function(){On=W.attr(\"transform\")},moveFn:function(ni,zn){var Qn=\"pointer\";if(w.showarrow)w.axref===w.xref?F(\"ax\",T(m,ni,\"ax\",u,w)):F(\"ax\",w.ax+ni),w.ayref===w.yref?F(\"ay\",T(b,zn,\"ay\",u.w,w)):F(\"ay\",w.ay+zn),Nn(ni,zn);else{if(E)return;var gi,Zt;if(m)gi=T(m,ni,\"x\",u,w);else{var Ft=w._xsize/u.w,Ht=w.x+(w._xshift-w.xshift)/u.w-Ft/2;gi=s.align(Ht+ni/u.w,Ft,0,1,w.xanchor)}if(b)Zt=T(b,zn,\"y\",u,w);else{var Vt=w._ysize/u.h,wr=w.y-(w._yshift+w.yshift)/u.h-Vt/2;Zt=s.align(wr-zn/u.h,Vt,0,1,w.yanchor)}F(\"x\",gi),F(\"y\",Zt),(!m||!b)&&(Qn=s.getCursor(m?.5:gi,b?.5:Zt,w.xanchor,w.yanchor))}W.attr({transform:e(ni,zn)+On}),a(fe,Qn)},clickFn:function(ni,zn){w.captureevents&&_.emit(\"plotly_clickannotation\",se(zn))},doneFn:function(){a(fe),x.call(\"_guiRelayout\",_,B());var ni=document.querySelector(\".js-notes-box-panel\");ni&&ni.redraw(ni.selectedObj)}})}}y.annotationText?ie.call(i.makeEditable,{delegate:fe,gd:_}).call(ce).on(\"edit\",function(Te){w.text=Te,this.call(ce),F(\"text\",Te),m&&m.autorange&&z(m._name+\".autorange\",!0),b&&b.autorange&&z(b._name+\".autorange\",!0),x.call(\"_guiRelayout\",_,B())}):ie.call(ce)}}}),N5=ke({\"src/components/annotations/click.js\"(Z,H){\"use strict\";var g=un(),x=lo(),A=yl().arrayEditor;H.exports={hasClickToShow:S,onClick:e};function S(o,n){var i=t(o,n);return i.on.length>0||i.explicitOff.length>0}function e(o,n){var i=t(o,n),a=i.on,s=i.off.concat(i.explicitOff),c={},h=o._fullLayout.annotations,p,d;if(a.length||s.length){for(p=0;p1){a=!0;break}}a?e.fullLayout._infolayer.select(\".annotation-\"+e.id+'[data-index=\"'+n+'\"]').remove():(i._pdata=x(e.glplot.cameraParams,[t.xaxis.r2l(i.x)*r[0],t.yaxis.r2l(i.y)*r[1],t.zaxis.r2l(i.z)*r[2]]),g(e.graphDiv,i,n,e.id,i._xa,i._ya))}}}}),X5=ke({\"src/components/annotations3d/index.js\"(Z,H){\"use strict\";var g=lo(),x=un();H.exports={moduleType:\"component\",name:\"annotations3d\",schema:{subplots:{scene:{annotations:S_()}}},layoutAttributes:S_(),handleDefaults:H5(),includeBasePlot:A,convert:G5(),draw:W5()};function A(S,e){var t=g.subplotsRegistry.gl3d;if(t)for(var r=t.attrRegex,o=Object.keys(S),n=0;n0?l+p:p;return{ppad:p,ppadplus:d?w:M,ppadminus:d?M:w}}else return{ppad:p}}function o(n,i,a){var s=n._id.charAt(0)===\"x\"?\"x\":\"y\",c=n.type===\"category\"||n.type===\"multicategory\",h,p,d=0,T=0,l=c?n.r2c:n.d2c,_=i[s+\"sizemode\"]===\"scaled\";if(_?(h=i[s+\"0\"],p=i[s+\"1\"],c&&(d=i[s+\"0shift\"],T=i[s+\"1shift\"])):(h=i[s+\"anchor\"],p=i[s+\"anchor\"]),h!==void 0)return[l(h)+d,l(p)+T];if(i.path){var w=1/0,M=-1/0,E=i.path.match(A.segmentRE),m,b,v,u,y;for(n.type===\"date\"&&(l=S.decodeDate(l)),m=0;mM&&(M=y)));if(M>=w)return[w,M]}}}}),J5=ke({\"src/components/shapes/index.js\"(Z,H){\"use strict\";var g=y_();H.exports={moduleType:\"component\",name:\"shapes\",layoutAttributes:S2(),supplyLayoutDefaults:Z5(),supplyDrawNewShapeDefaults:Y5(),includeBasePlot:a0()(\"shapes\"),calcAutorange:K5(),draw:g.draw,drawOne:g.drawOne}}}),E2=ke({\"src/components/images/attributes.js\"(Z,H){\"use strict\";var g=oh(),x=yl().templatedArray,A=i0();H.exports=x(\"image\",{visible:{valType:\"boolean\",dflt:!0,editType:\"arraydraw\"},source:{valType:\"string\",editType:\"arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"arraydraw\"},sizex:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizey:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizing:{valType:\"enumerated\",values:[\"fill\",\"contain\",\"stretch\"],dflt:\"contain\",editType:\"arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},x:{valType:\"any\",dflt:0,editType:\"arraydraw\"},y:{valType:\"any\",dflt:0,editType:\"arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"top\",editType:\"arraydraw\"},xref:{valType:\"enumerated\",values:[\"paper\",g.idRegex.x.toString()],dflt:\"paper\",editType:\"arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",g.idRegex.y.toString()],dflt:\"paper\",editType:\"arraydraw\"},editType:\"arraydraw\"})}}),$5=ke({\"src/components/images/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=Oh(),S=E2(),e=\"images\";H.exports=function(o,n){var i={name:e,handleItemDefaults:t};A(o,n,i)};function t(r,o,n){function i(_,w){return g.coerce(r,o,S,_,w)}var a=i(\"source\"),s=i(\"visible\",!!a);if(!s)return o;i(\"layer\"),i(\"xanchor\"),i(\"yanchor\"),i(\"sizex\"),i(\"sizey\"),i(\"sizing\"),i(\"opacity\");for(var c={_fullLayout:n},h=[\"x\",\"y\"],p=0;p<2;p++){var d=h[p],T=x.coerceRef(r,o,c,d,\"paper\",void 0);if(T!==\"paper\"){var l=x.getFromId(c,T);l._imgIndices.push(o._index)}x.coercePosition(o,c,i,T,d,0)}return o}}}),Q5=ke({\"src/components/images/draw.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=Ho(),S=qc(),e=zd();H.exports=function(r){var o=r._fullLayout,n=[],i={},a=[],s,c;for(c=0;c0);h&&(s(\"active\"),s(\"direction\"),s(\"type\"),s(\"showactive\"),s(\"x\"),s(\"y\"),g.noneOrAll(n,i,[\"x\",\"y\"]),s(\"xanchor\"),s(\"yanchor\"),s(\"pad.t\"),s(\"pad.r\"),s(\"pad.b\"),s(\"pad.l\"),g.coerceFont(s,\"font\",a.font),s(\"bgcolor\",a.paper_bgcolor),s(\"bordercolor\"),s(\"borderwidth\"))}function o(n,i){function a(c,h){return g.coerce(n,i,t,c,h)}var s=a(\"visible\",n.method===\"skip\"||Array.isArray(n.args));s&&(a(\"method\"),a(\"args\"),a(\"args2\"),a(\"label\"),a(\"execute\"))}}}),nC=ke({\"src/components/updatemenus/scrollbox.js\"(Z,H){\"use strict\";H.exports=e;var g=_i(),x=eo(),A=$o(),S=un();function e(t,r,o){this.gd=t,this.container=r,this.id=o,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll(\"rect.scrollbox-bg\").data([0]),this.bg.exit().on(\".drag\",null).on(\"wheel\",null).remove(),this.bg.enter().append(\"rect\").classed(\"scrollbox-bg\",!0).style(\"pointer-events\",\"all\").attr({opacity:0,x:0,y:0,width:0,height:0})}e.barWidth=2,e.barLength=20,e.barRadius=2,e.barPad=1,e.barColor=\"#808BA4\",e.prototype.enable=function(r,o,n){var i=this.gd._fullLayout,a=i.width,s=i.height;this.position=r;var c=this.position.l,h=this.position.w,p=this.position.t,d=this.position.h,T=this.position.direction,l=T===\"down\",_=T===\"left\",w=T===\"right\",M=T===\"up\",E=h,m=d,b,v,u,y;!l&&!_&&!w&&!M&&(this.position.direction=\"down\",l=!0);var f=l||M;f?(b=c,v=b+E,l?(u=p,y=Math.min(u+m,s),m=y-u):(y=p+m,u=Math.max(y-m,0),m=y-u)):(u=p,y=u+m,_?(v=c+E,b=Math.max(v-E,0),E=v-b):(b=c,v=Math.min(b+E,a),E=v-b)),this._box={l:b,t:u,w:E,h:m};var P=h>E,L=e.barLength+2*e.barPad,z=e.barWidth+2*e.barPad,F=c,B=p+d;B+z>s&&(B=s-z);var O=this.container.selectAll(\"rect.scrollbar-horizontal\").data(P?[0]:[]);O.exit().on(\".drag\",null).remove(),O.enter().append(\"rect\").classed(\"scrollbar-horizontal\",!0).call(x.fill,e.barColor),P?(this.hbar=O.attr({rx:e.barRadius,ry:e.barRadius,x:F,y:B,width:L,height:z}),this._hbarXMin=F+L/2,this._hbarTranslateMax=E-L):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=d>m,N=e.barWidth+2*e.barPad,U=e.barLength+2*e.barPad,W=c+h,Q=p;W+N>a&&(W=a-N);var le=this.container.selectAll(\"rect.scrollbar-vertical\").data(I?[0]:[]);le.exit().on(\".drag\",null).remove(),le.enter().append(\"rect\").classed(\"scrollbar-vertical\",!0).call(x.fill,e.barColor),I?(this.vbar=le.attr({rx:e.barRadius,ry:e.barRadius,x:W,y:Q,width:N,height:U}),this._vbarYMin=Q+U/2,this._vbarTranslateMax=m-U):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var se=this.id,fe=b-.5,G=I?v+N+.5:v+.5,$=u-.5,J=P?y+z+.5:y+.5,X=i._topdefs.selectAll(\"#\"+se).data(P||I?[0]:[]);if(X.exit().remove(),X.enter().append(\"clipPath\").attr(\"id\",se).append(\"rect\"),P||I?(this._clipRect=X.select(\"rect\").attr({x:Math.floor(fe),y:Math.floor($),width:Math.ceil(G)-Math.floor(fe),height:Math.ceil(J)-Math.floor($)}),this.container.call(A.setClipUrl,se,this.gd),this.bg.attr({x:c,y:p,width:h,height:d})):(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(A.setClipUrl,null),delete this._clipRect),P||I){var re=g.behavior.drag().on(\"dragstart\",function(){g.event.sourceEvent.preventDefault()}).on(\"drag\",this._onBoxDrag.bind(this));this.container.on(\"wheel\",null).on(\"wheel\",this._onBoxWheel.bind(this)).on(\".drag\",null).call(re);var ae=g.behavior.drag().on(\"dragstart\",function(){g.event.sourceEvent.preventDefault(),g.event.sourceEvent.stopPropagation()}).on(\"drag\",this._onBarDrag.bind(this));P&&this.hbar.on(\".drag\",null).call(ae),I&&this.vbar.on(\".drag\",null).call(ae)}this.setTranslate(o,n)},e.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(A.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(\".drag\",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(\".drag\",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},e.prototype._onBoxDrag=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r-=g.event.dx),this.vbar&&(o-=g.event.dy),this.setTranslate(r,o)},e.prototype._onBoxWheel=function(){var r=this.translateX,o=this.translateY;this.hbar&&(r+=g.event.deltaY),this.vbar&&(o+=g.event.deltaY),this.setTranslate(r,o)},e.prototype._onBarDrag=function(){var r=this.translateX,o=this.translateY;if(this.hbar){var n=r+this._hbarXMin,i=n+this._hbarTranslateMax,a=S.constrain(g.event.x,n,i),s=(a-n)/(i-n),c=this.position.w-this._box.w;r=s*c}if(this.vbar){var h=o+this._vbarYMin,p=h+this._vbarTranslateMax,d=S.constrain(g.event.y,h,p),T=(d-h)/(p-h),l=this.position.h-this._box.h;o=T*l}this.setTranslate(r,o)},e.prototype.setTranslate=function(r,o){var n=this.position.w-this._box.w,i=this.position.h-this._box.h;if(r=S.constrain(r||0,0,n),o=S.constrain(o||0,0,i),this.translateX=r,this.translateY=o,this.container.call(A.setTranslate,this._box.l-this.position.l-r,this._box.t-this.position.t-o),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+r-.5),y:Math.floor(this.position.t+o-.5)}),this.hbar){var a=r/n;this.hbar.call(A.setTranslate,r+a*this._hbarTranslateMax,o)}if(this.vbar){var s=o/i;this.vbar.call(A.setTranslate,r,o+s*this._vbarTranslateMax)}}}}),iC=ke({\"src/components/updatemenus/draw.js\"(Z,H){\"use strict\";var g=_i(),x=Zu(),A=eo(),S=$o(),e=un(),t=Wl(),r=yl().arrayEditor,o=Yf().LINE_SPACING,n=E_(),i=nC();H.exports=function(L){var z=L._fullLayout,F=e.filterVisible(z[n.name]);function B(se){x.autoMargin(L,u(se))}var O=z._menulayer.selectAll(\"g.\"+n.containerClassName).data(F.length>0?[0]:[]);if(O.enter().append(\"g\").classed(n.containerClassName,!0).style(\"cursor\",\"pointer\"),O.exit().each(function(){g.select(this).selectAll(\"g.\"+n.headerGroupClassName).each(B)}).remove(),F.length!==0){var I=O.selectAll(\"g.\"+n.headerGroupClassName).data(F,a);I.enter().append(\"g\").classed(n.headerGroupClassName,!0);for(var N=e.ensureSingle(O,\"g\",n.dropdownButtonGroupClassName,function(se){se.style(\"pointer-events\",\"all\")}),U=0;U0?[0]:[]);W.enter().append(\"g\").classed(n.containerClassName,!0).style(\"cursor\",I?null:\"ew-resize\");function Q(G){G._commandObserver&&(G._commandObserver.remove(),delete G._commandObserver),x.autoMargin(O,h(G))}if(W.exit().each(function(){g.select(this).selectAll(\"g.\"+n.groupClassName).each(Q)}).remove(),U.length!==0){var le=W.selectAll(\"g.\"+n.groupClassName).data(U,d);le.enter().append(\"g\").classed(n.groupClassName,!0),le.exit().each(Q).remove();for(var se=0;se0&&(le=le.transition().duration(O.transition.duration).ease(O.transition.easing)),le.attr(\"transform\",t(Q-n.gripWidth*.5,O._dims.currentValueTotalHeight))}}function P(B,O){var I=B._dims;return I.inputAreaStart+n.stepInset+(I.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,O))}function L(B,O){var I=B._dims;return Math.min(1,Math.max(0,(O-n.stepInset-I.inputAreaStart)/(I.inputAreaLength-2*n.stepInset-2*I.inputAreaStart)))}function z(B,O,I){var N=I._dims,U=e.ensureSingle(B,\"rect\",n.railTouchRectClass,function(W){W.call(v,O,B,I).style(\"pointer-events\",\"all\")});U.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,n.tickOffset+I.ticklen+N.labelHeight)}).call(A.fill,I.bgcolor).attr(\"opacity\",0),S.setTranslate(U,0,N.currentValueTotalHeight)}function F(B,O){var I=O._dims,N=I.inputAreaLength-n.railInset*2,U=e.ensureSingle(B,\"rect\",n.railRectClass);U.attr({width:N,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,\"shape-rendering\":\"crispEdges\"}).call(A.stroke,O.bordercolor).call(A.fill,O.bgcolor).style(\"stroke-width\",O.borderwidth+\"px\"),S.setTranslate(U,n.railInset,(I.inputAreaWidth-n.railWidth)*.5+I.currentValueTotalHeight)}}}),lC=ke({\"src/components/sliders/index.js\"(Z,H){\"use strict\";var g=l0();H.exports={moduleType:\"component\",name:g.name,layoutAttributes:k2(),supplyLayoutDefaults:oC(),draw:sC()}}}),C_=ke({\"src/components/rangeslider/attributes.js\"(Z,H){\"use strict\";var g=If();H.exports={bgcolor:{valType:\"color\",dflt:g.background,editType:\"plot\"},bordercolor:{valType:\"color\",dflt:g.defaultLine,editType:\"plot\"},borderwidth:{valType:\"integer\",dflt:0,min:0,editType:\"plot\"},autorange:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}}],editType:\"calc\",impliedEdits:{autorange:!1}},thickness:{valType:\"number\",dflt:.15,min:0,max:1,editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"},editType:\"calc\"}}}),L2=ke({\"src/components/rangeslider/oppaxis_attributes.js\"(Z,H){\"use strict\";H.exports={_isSubplotObj:!0,rangemode:{valType:\"enumerated\",values:[\"auto\",\"fixed\",\"match\"],dflt:\"match\",editType:\"calc\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"plot\"},{valType:\"any\",editType:\"plot\"}],editType:\"plot\"},editType:\"calc\"}}}),k_=ke({\"src/components/rangeslider/constants.js\"(Z,H){\"use strict\";H.exports={name:\"rangeslider\",containerClassName:\"rangeslider-container\",bgClassName:\"rangeslider-bg\",rangePlotClassName:\"rangeslider-rangeplot\",maskMinClassName:\"rangeslider-mask-min\",maskMaxClassName:\"rangeslider-mask-max\",slideBoxClassName:\"rangeslider-slidebox\",grabberMinClassName:\"rangeslider-grabber-min\",grabAreaMinClassName:\"rangeslider-grabarea-min\",handleMinClassName:\"rangeslider-handle-min\",grabberMaxClassName:\"rangeslider-grabber-max\",grabAreaMaxClassName:\"rangeslider-grabarea-max\",handleMaxClassName:\"rangeslider-handle-max\",maskMinOppAxisClassName:\"rangeslider-mask-min-opp-axis\",maskMaxOppAxisClassName:\"rangeslider-mask-max-opp-axis\",maskColor:\"rgba(0,0,0,0.4)\",maskOppAxisColor:\"rgba(0,0,0,0.2)\",slideBoxFill:\"transparent\",slideBoxCursor:\"ew-resize\",grabAreaFill:\"transparent\",grabAreaCursor:\"col-resize\",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}}}),uC=ke({\"src/components/rangeslider/helpers.js\"(Z){\"use strict\";var H=qc(),g=Wl(),x=k_(),A=Yf().LINE_SPACING,S=x.name;function e(t){var r=t&&t[S];return r&&r.visible}Z.isVisible=e,Z.makeData=function(t){for(var r=H.list({_fullLayout:t},\"x\",!0),o=t.margin,n=[],i=0;i=at.max)Ye=ce[it+1];else if(Ie=at.pmax)Ye=ce[it+1];else if(Ie0?v.touches[0].clientX:0}function p(v,u,y,f){if(u._context.staticPlot)return;var P=v.select(\"rect.\"+c.slideBoxClassName).node(),L=v.select(\"rect.\"+c.grabAreaMinClassName).node(),z=v.select(\"rect.\"+c.grabAreaMaxClassName).node();function F(){var B=g.event,O=B.target,I=h(B),N=I-v.node().getBoundingClientRect().left,U=f.d2p(y._rl[0]),W=f.d2p(y._rl[1]),Q=a.coverSlip();this.addEventListener(\"touchmove\",le),this.addEventListener(\"touchend\",se),Q.addEventListener(\"mousemove\",le),Q.addEventListener(\"mouseup\",se);function le(fe){var G=h(fe),$=+G-I,J,X,re;switch(O){case P:if(re=\"ew-resize\",U+$>y._length||W+$<0)return;J=U+$,X=W+$;break;case L:if(re=\"col-resize\",U+$>y._length)return;J=U+$,X=W;break;case z:if(re=\"col-resize\",W+$<0)return;J=U,X=W+$;break;default:re=\"ew-resize\",J=N,X=N+$;break}if(X0);if(_){var w=o(a,s,c);T(\"x\",w[0]),T(\"y\",w[1]),g.noneOrAll(i,a,[\"x\",\"y\"]),T(\"xanchor\"),T(\"yanchor\"),g.coerceFont(T,\"font\",s.font);var M=T(\"bgcolor\");T(\"activecolor\",x.contrast(M,t.lightAmount,t.darkAmount)),T(\"bordercolor\"),T(\"borderwidth\")}};function r(n,i,a,s){var c=s.calendar;function h(T,l){return g.coerce(n,i,e.buttons,T,l)}var p=h(\"visible\");if(p){var d=h(\"step\");d!==\"all\"&&(c&&c!==\"gregorian\"&&(d===\"month\"||d===\"year\")?i.stepmode=\"backward\":h(\"stepmode\"),h(\"count\")),h(\"label\")}}function o(n,i,a){for(var s=a.filter(function(d){return i[d].anchor===n._id}),c=0,h=0;h1)){delete c.grid;return}if(!T&&!l&&!_){var y=b(\"pattern\")===\"independent\";y&&(T=!0)}m._hasSubplotGrid=T;var f=b(\"roworder\"),P=f===\"top to bottom\",L=T?.2:.1,z=T?.3:.1,F,B;w&&c._splomGridDflt&&(F=c._splomGridDflt.xside,B=c._splomGridDflt.yside),m._domains={x:n(\"x\",b,L,F,u),y:n(\"y\",b,z,B,v,P)}}function n(s,c,h,p,d,T){var l=c(s+\"gap\",h),_=c(\"domain.\"+s);c(s+\"side\",p);for(var w=new Array(d),M=_[0],E=(_[1]-M)/(d-l),m=E*(1-l),b=0;b0,p=r._context.staticPlot;o.each(function(d){var T=d[0].trace,l=T.error_x||{},_=T.error_y||{},w;T.ids&&(w=function(b){return b.id});var M=S.hasMarkers(T)&&T.marker.maxdisplayed>0;!_.visible&&!l.visible&&(d=[]);var E=g.select(this).selectAll(\"g.errorbar\").data(d,w);if(E.exit().remove(),!!d.length){l.visible||E.selectAll(\"path.xerror\").remove(),_.visible||E.selectAll(\"path.yerror\").remove(),E.style(\"opacity\",1);var m=E.enter().append(\"g\").classed(\"errorbar\",!0);h&&m.style(\"opacity\",0).transition().duration(i.duration).style(\"opacity\",1),A.setClipUrl(E,n.layerClipId,r),E.each(function(b){var v=g.select(this),u=e(b,s,c);if(!(M&&!b.vis)){var y,f=v.select(\"path.yerror\");if(_.visible&&x(u.x)&&x(u.yh)&&x(u.ys)){var P=_.width;y=\"M\"+(u.x-P)+\",\"+u.yh+\"h\"+2*P+\"m-\"+P+\",0V\"+u.ys,u.noYS||(y+=\"m-\"+P+\",0h\"+2*P),a=!f.size(),a?f=v.append(\"path\").style(\"vector-effect\",p?\"none\":\"non-scaling-stroke\").classed(\"yerror\",!0):h&&(f=f.transition().duration(i.duration).ease(i.easing)),f.attr(\"d\",y)}else f.remove();var L=v.select(\"path.xerror\");if(l.visible&&x(u.y)&&x(u.xh)&&x(u.xs)){var z=(l.copy_ystyle?_:l).width;y=\"M\"+u.xh+\",\"+(u.y-z)+\"v\"+2*z+\"m0,-\"+z+\"H\"+u.xs,u.noXS||(y+=\"m0,-\"+z+\"v\"+2*z),a=!L.size(),a?L=v.append(\"path\").style(\"vector-effect\",p?\"none\":\"non-scaling-stroke\").classed(\"xerror\",!0):h&&(L=L.transition().duration(i.duration).ease(i.easing)),L.attr(\"d\",y)}else L.remove()}})}})};function e(t,r,o){var n={x:r.c2p(t.x),y:o.c2p(t.y)};return t.yh!==void 0&&(n.yh=o.c2p(t.yh),n.ys=o.c2p(t.ys),x(n.ys)||(n.noYS=!0,n.ys=o.c2p(t.ys,!0))),t.xh!==void 0&&(n.xh=r.c2p(t.xh),n.xs=r.c2p(t.xs),x(n.xs)||(n.noXS=!0,n.xs=r.c2p(t.xs,!0))),n}}}),bC=ke({\"src/components/errorbars/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo();H.exports=function(S){S.each(function(e){var t=e[0].trace,r=t.error_y||{},o=t.error_x||{},n=g.select(this);n.selectAll(\"path.yerror\").style(\"stroke-width\",r.thickness+\"px\").call(x.stroke,r.color),o.copy_ystyle&&(o=r),n.selectAll(\"path.xerror\").style(\"stroke-width\",o.thickness+\"px\").call(x.stroke,o.color)})}}}),wC=ke({\"src/components/errorbars/index.js\"(Z,H){\"use strict\";var g=un(),x=ju().overrideAll,A=R2(),S={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A)};delete S.error_x.copy_zstyle,delete S.error_y.copy_zstyle,delete S.error_y.copy_ystyle;var e={error_x:g.extendFlat({},A),error_y:g.extendFlat({},A),error_z:g.extendFlat({},A)};delete e.error_x.copy_ystyle,delete e.error_y.copy_ystyle,delete e.error_z.copy_ystyle,delete e.error_z.copy_zstyle,H.exports={moduleType:\"component\",name:\"errorbars\",schema:{traces:{scatter:S,bar:S,histogram:S,scatter3d:x(e,\"calc\",\"nested\"),scattergl:x(S,\"calc\",\"nested\")}},supplyDefaults:yC(),calc:_C(),makeComputeError:D2(),plot:xC(),style:bC(),hoverInfo:t};function t(r,o,n){(o.error_y||{}).visible&&(n.yerr=r.yh-r.y,o.error_y.symmetric||(n.yerrneg=r.y-r.ys)),(o.error_x||{}).visible&&(n.xerr=r.xh-r.x,o.error_x.symmetric||(n.xerrneg=r.x-r.xs))}}}),TC=ke({\"src/components/colorbar/constants.js\"(Z,H){\"use strict\";H.exports={cn:{colorbar:\"colorbar\",cbbg:\"cbbg\",cbfill:\"cbfill\",cbfills:\"cbfills\",cbline:\"cbline\",cblines:\"cblines\",cbaxis:\"cbaxis\",cbtitleunshift:\"cbtitleunshift\",cbtitle:\"cbtitle\",cboutline:\"cboutline\",crisp:\"crisp\",jsPlaceholder:\"js-placeholder\"}}}}),AC=ke({\"src/components/colorbar/draw.js\"(Z,H){\"use strict\";var g=_i(),x=ru(),A=Zu(),S=lo(),e=Ho(),t=Xh(),r=un(),o=r.strTranslate,n=To().extendFlat,i=uv(),a=$o(),s=eo(),c=Im(),h=Wl(),p=ad().flipScale,d=s0(),T=A_(),l=wh(),_=Yf(),w=_.LINE_SPACING,M=_.FROM_TL,E=_.FROM_BR,m=TC().cn;function b(L){var z=L._fullLayout,F=z._infolayer.selectAll(\"g.\"+m.colorbar).data(v(L),function(B){return B._id});F.enter().append(\"g\").attr(\"class\",function(B){return B._id}).classed(m.colorbar,!0),F.each(function(B){var O=g.select(this);r.ensureSingle(O,\"rect\",m.cbbg),r.ensureSingle(O,\"g\",m.cbfills),r.ensureSingle(O,\"g\",m.cblines),r.ensureSingle(O,\"g\",m.cbaxis,function(N){N.classed(m.crisp,!0)}),r.ensureSingle(O,\"g\",m.cbtitleunshift,function(N){N.append(\"g\").classed(m.cbtitle,!0)}),r.ensureSingle(O,\"rect\",m.cboutline);var I=u(O,B,L);I&&I.then&&(L._promises||[]).push(I),L._context.edits.colorbarPosition&&y(O,B,L)}),F.exit().each(function(B){A.autoMargin(L,B._id)}).remove(),F.order()}function v(L){var z=L._fullLayout,F=L.calcdata,B=[],O,I,N,U;function W(j){return n(j,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof U.calc==\"function\"?U.calc(L,N,O):(O._fillgradient=I.reversescale?p(I.colorscale):I.colorscale,O._zrange=[I[U.min],I[U.max]])}for(var le=0;le1){var Be=Math.pow(10,Math.floor(Math.log(_t)/Math.LN10));gr*=Be*r.roundUp(_t/Be,[2,5,10]),(Math.abs(it.start)/it.size+1e-6)%1<2e-6&&(ar.tick0=0)}ar.dtick=gr}ar.domain=B?[qt+$/ee.h,qt+Oe-$/ee.h]:[qt+G/ee.w,qt+Oe-G/ee.w],ar.setScale(),L.attr(\"transform\",o(Math.round(ee.l),Math.round(ee.t)));var Ke=L.select(\".\"+m.cbtitleunshift).attr(\"transform\",o(-Math.round(ee.l),-Math.round(ee.t))),je=ar.ticklabelposition,Se=ar.title.font.size,He=L.select(\".\"+m.cbaxis),Ee,we=0,Le=0;function nt(Xt,$t){var ur={propContainer:ar,propName:z._propPrefix+\"title\",traceIndex:z._traceIndex,_meta:z._meta,placeholder:j._dfltTitle.colorbar,containerGroup:L.select(\".\"+m.cbtitle)},pn=Xt.charAt(0)===\"h\"?Xt.substr(1):\"h\"+Xt;L.selectAll(\".\"+pn+\",.\"+pn+\"-math-group\").remove(),c.draw(F,Xt,n(ur,$t||{}))}function pt(){if(B&&Rr||!B&&!Rr){var Xt,$t;Te===\"top\"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt-Oe)+3+Se*.75),Te===\"bottom\"&&(Xt=G+ee.l+rt*J,$t=$+ee.t+ot*(1-qt)-3-Se*.25),Te===\"right\"&&($t=$+ee.t+ot*X+3+Se*.75,Xt=G+ee.l+rt*qt),nt(ar._id+\"title\",{attributes:{x:Xt,y:$t,\"text-anchor\":B?\"start\":\"middle\"}})}}function bt(){if(B&&!Rr||!B&&Rr){var Xt=ar.position||0,$t=ar._offset+ar._length/2,ur,pn;if(Te===\"right\")pn=$t,ur=ee.l+rt*Xt+10+Se*(ar.showticklabels?1:.5);else if(ur=$t,Te===\"bottom\"&&(pn=ee.t+ot*Xt+10+(je.indexOf(\"inside\")===-1?ar.tickfont.size:0)+(ar.ticks!==\"intside\"&&z.ticklen||0)),Te===\"top\"){var Rn=xe.text.split(\"
\").length;pn=ee.t+ot*Xt+10-Me-w*Se*Rn}nt((B?\"h\":\"v\")+ar._id+\"title\",{avoid:{selection:g.select(F).selectAll(\"g.\"+ar._id+\"tick\"),side:Te,offsetTop:B?0:ee.t,offsetLeft:B?ee.l:0,maxShift:B?j.width:j.height},attributes:{x:ur,y:pn,\"text-anchor\":\"middle\"},transform:{rotate:B?-90:0,offset:0}})}}function Rt(){if(!B&&!Rr||B&&Rr){var Xt=L.select(\".\"+m.cbtitle),$t=Xt.select(\"text\"),ur=[-W/2,W/2],pn=Xt.select(\".h\"+ar._id+\"title-math-group\").node(),Rn=15.6;$t.node()&&(Rn=parseInt($t.node().style.fontSize,10)*w);var Nn;if(pn?(Nn=a.bBox(pn),Le=Nn.width,we=Nn.height,we>Rn&&(ur[1]-=(we-Rn)/2)):$t.node()&&!$t.classed(m.jsPlaceholder)&&(Nn=a.bBox($t.node()),Le=Nn.width,we=Nn.height),B){if(we){if(we+=5,Te===\"top\")ar.domain[1]-=we/ee.h,ur[1]*=-1;else{ar.domain[0]+=we/ee.h;var On=h.lineCount($t);ur[1]+=(1-On)*Rn}Xt.attr(\"transform\",o(ur[0],ur[1])),ar.setScale()}}else Le&&(Te===\"right\"&&(ar.domain[0]+=(Le+Se/2)/ee.w),Xt.attr(\"transform\",o(ur[0],ur[1])),ar.setScale())}L.selectAll(\".\"+m.cbfills+\",.\"+m.cblines).attr(\"transform\",B?o(0,Math.round(ee.h*(1-ar.domain[1]))):o(Math.round(ee.w*ar.domain[0]),0)),He.attr(\"transform\",B?o(0,Math.round(-ee.t)):o(Math.round(-ee.l),0));var ni=L.select(\".\"+m.cbfills).selectAll(\"rect.\"+m.cbfill).attr(\"style\",\"\").data(tt);ni.enter().append(\"rect\").classed(m.cbfill,!0).attr(\"style\",\"\"),ni.exit().remove();var zn=Ue.map(ar.c2p).map(Math.round).sort(function(Ht,Vt){return Ht-Vt});ni.each(function(Ht,Vt){var wr=[Vt===0?Ue[0]:(tt[Vt]+tt[Vt-1])/2,Vt===tt.length-1?Ue[1]:(tt[Vt]+tt[Vt+1])/2].map(ar.c2p).map(Math.round);B&&(wr[1]=r.constrain(wr[1]+(wr[1]>wr[0])?1:-1,zn[0],zn[1]));var $r=g.select(this).attr(B?\"x\":\"y\",et).attr(B?\"y\":\"x\",g.min(wr)).attr(B?\"width\":\"height\",Math.max(Me,2)).attr(B?\"height\":\"width\",Math.max(g.max(wr)-g.min(wr),2));if(z._fillgradient)a.gradient($r,F,z._id,B?\"vertical\":\"horizontalreversed\",z._fillgradient,\"fill\");else{var xn=Ye(Ht).replace(\"e-\",\"\");$r.attr(\"fill\",x(xn).toHexString())}});var Qn=L.select(\".\"+m.cblines).selectAll(\"path.\"+m.cbline).data(ce.color&&ce.width?ut:[]);Qn.enter().append(\"path\").classed(m.cbline,!0),Qn.exit().remove(),Qn.each(function(Ht){var Vt=et,wr=Math.round(ar.c2p(Ht))+ce.width/2%1;g.select(this).attr(\"d\",\"M\"+(B?Vt+\",\"+wr:wr+\",\"+Vt)+(B?\"h\":\"v\")+Me).call(a.lineGroupStyle,ce.width,Ie(Ht),ce.dash)}),He.selectAll(\"g.\"+ar._id+\"tick,path\").remove();var gi=et+Me+(W||0)/2-(z.ticks===\"outside\"?1:0),Zt=e.calcTicks(ar),Ft=e.getTickSigns(ar)[2];return e.drawTicks(F,ar,{vals:ar.ticks===\"inside\"?e.clipEnds(ar,Zt):Zt,layer:He,path:e.makeTickPath(ar,gi,Ft),transFn:e.makeTransTickFn(ar)}),e.drawLabels(F,ar,{vals:Zt,layer:He,transFn:e.makeTransTickLabelFn(ar),labelFns:e.makeLabelFns(ar,gi)})}function Nt(){var Xt,$t=Me+W/2;je.indexOf(\"inside\")===-1&&(Xt=a.bBox(He.node()),$t+=B?Xt.width:Xt.height),Ee=Ke.select(\"text\");var ur=0,pn=B&&Te===\"top\",Rn=!B&&Te===\"right\",Nn=0;if(Ee.node()&&!Ee.classed(m.jsPlaceholder)){var On,ni=Ke.select(\".h\"+ar._id+\"title-math-group\").node();ni&&(B&&Rr||!B&&!Rr)?(Xt=a.bBox(ni),ur=Xt.width,On=Xt.height):(Xt=a.bBox(Ke.node()),ur=Xt.right-ee.l-(B?et:fr),On=Xt.bottom-ee.t-(B?fr:et),!B&&Te===\"top\"&&($t+=Xt.height,Nn=Xt.height)),Rn&&(Ee.attr(\"transform\",o(ur/2+Se/2,0)),ur*=2),$t=Math.max($t,B?ur:On)}var zn=(B?G:$)*2+$t+Q+W/2,Qn=0;!B&&xe.text&&fe===\"bottom\"&&X<=0&&(Qn=zn/2,zn+=Qn,Nn+=Qn),j._hColorbarMoveTitle=Qn,j._hColorbarMoveCBTitle=Nn;var gi=Q+W,Zt=(B?et:fr)-gi/2-(B?G:0),Ft=(B?fr:et)-(B?ue:$+Nn-Qn);L.select(\".\"+m.cbbg).attr(\"x\",Zt).attr(\"y\",Ft).attr(B?\"width\":\"height\",Math.max(zn-Qn,2)).attr(B?\"height\":\"width\",Math.max(ue+gi,2)).call(s.fill,le).call(s.stroke,z.bordercolor).style(\"stroke-width\",Q);var Ht=Rn?Math.max(ur-10,0):0;L.selectAll(\".\"+m.cboutline).attr(\"x\",(B?et:fr+G)+Ht).attr(\"y\",(B?fr+$-ue:et)+(pn?we:0)).attr(B?\"width\":\"height\",Math.max(Me,2)).attr(B?\"height\":\"width\",Math.max(ue-(B?2*$+we:2*G+Ht),2)).call(s.stroke,z.outlinecolor).style({fill:\"none\",\"stroke-width\":W});var Vt=B?Lt*zn:0,wr=B?0:(1-Et)*zn-Nn;if(Vt=ae?ee.l-Vt:-Vt,wr=re?ee.t-wr:-wr,L.attr(\"transform\",o(Vt,wr)),!B&&(Q||x(le).getAlpha()&&!x.equals(j.paper_bgcolor,le))){var $r=He.selectAll(\"text\"),xn=$r[0].length,en=L.select(\".\"+m.cbbg).node(),Fn=a.bBox(en),Wn=a.getTranslate(L),ri=2;$r.each(function(Ur,Dr){var nn=0,vn=xn-1;if(Dr===nn||Dr===vn){var gn=a.bBox(this),kt=a.getTranslate(this),or;if(Dr===vn){var yr=gn.right+kt.x,on=Fn.right+Wn.x+fr-Q-ri+J;or=on-yr,or>0&&(or=0)}else if(Dr===nn){var An=gn.left+kt.x,Zn=Fn.left+Wn.x+fr+Q+ri;or=Zn-An,or<0&&(or=0)}or&&(xn<3?this.setAttribute(\"transform\",\"translate(\"+or+\",0) \"+this.getAttribute(\"transform\")):this.setAttribute(\"visibility\",\"hidden\"))}})}var Sn={},ui=M[se],gt=E[se],yt=M[fe],Pr=E[fe],Ir=zn-Me;B?(I===\"pixels\"?(Sn.y=X,Sn.t=ue*yt,Sn.b=ue*Pr):(Sn.t=Sn.b=0,Sn.yt=X+O*yt,Sn.yb=X-O*Pr),U===\"pixels\"?(Sn.x=J,Sn.l=zn*ui,Sn.r=zn*gt):(Sn.l=Ir*ui,Sn.r=Ir*gt,Sn.xl=J-N*ui,Sn.xr=J+N*gt)):(I===\"pixels\"?(Sn.x=J,Sn.l=ue*ui,Sn.r=ue*gt):(Sn.l=Sn.r=0,Sn.xl=J+O*ui,Sn.xr=J-O*gt),U===\"pixels\"?(Sn.y=1-X,Sn.t=zn*yt,Sn.b=zn*Pr):(Sn.t=Ir*yt,Sn.b=Ir*Pr,Sn.yt=X-N*yt,Sn.yb=X+N*Pr));var Tr=z.y<.5?\"b\":\"t\",Mr=z.x<.5?\"l\":\"r\";F._fullLayout._reservedMargin[z._id]={};var Lr={r:j.width-Zt-Vt,l:Zt+Sn.r,b:j.height-Ft-wr,t:Ft+Sn.b};ae&&re?A.autoMargin(F,z._id,Sn):ae?F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]:re||B?F._fullLayout._reservedMargin[z._id][Mr]=Lr[Mr]:F._fullLayout._reservedMargin[z._id][Tr]=Lr[Tr]}return r.syncOrAsync([A.previousPromises,pt,Rt,bt,A.previousPromises,Nt],F)}function y(L,z,F){var B=z.orientation===\"v\",O=F._fullLayout,I=O._size,N,U,W;t.init({element:L.node(),gd:F,prepFn:function(){N=L.attr(\"transform\"),i(L)},moveFn:function(Q,le){L.attr(\"transform\",N+o(Q,le)),U=t.align((B?z._uFrac:z._vFrac)+Q/I.w,B?z._thickFrac:z._lenFrac,0,1,z.xanchor),W=t.align((B?z._vFrac:1-z._uFrac)-le/I.h,B?z._lenFrac:z._thickFrac,0,1,z.yanchor);var se=t.getCursor(U,W,z.xanchor,z.yanchor);i(L,se)},doneFn:function(){if(i(L),U!==void 0&&W!==void 0){var Q={};Q[z._propPrefix+\"x\"]=U,Q[z._propPrefix+\"y\"]=W,z._traceIndex!==void 0?S.call(\"_guiRestyle\",F,Q,z._traceIndex):S.call(\"_guiRelayout\",F,Q)}}})}function f(L,z,F){var B=z._levels,O=[],I=[],N,U,W=B.end+B.size/100,Q=B.size,le=1.001*F[0]-.001*F[1],se=1.001*F[1]-.001*F[0];for(U=0;U<1e5&&(N=B.start+U*Q,!(Q>0?N>=W:N<=W));U++)N>le&&N0?N>=W:N<=W));U++)N>F[0]&&N-1}H.exports=function(o,n){var i,a=o.data,s=o.layout,c=S([],a),h=S({},s,e(n.tileClass)),p=o._context||{};if(n.width&&(h.width=n.width),n.height&&(h.height=n.height),n.tileClass===\"thumbnail\"||n.tileClass===\"themes__thumb\"){h.annotations=[];var d=Object.keys(h);for(i=0;i=0)return p}else if(typeof p==\"string\"&&(p=p.trim(),p.slice(-1)===\"%\"&&g(p.slice(0,-1))&&(p=+p.slice(0,-1),p>=0)))return p+\"%\"}function h(p,d,T,l,_,w){w=w||{};var M=w.moduleHasSelected!==!1,E=w.moduleHasUnselected!==!1,m=w.moduleHasConstrain!==!1,b=w.moduleHasCliponaxis!==!1,v=w.moduleHasTextangle!==!1,u=w.moduleHasInsideanchor!==!1,y=!!w.hasPathbar,f=Array.isArray(_)||_===\"auto\",P=f||_===\"inside\",L=f||_===\"outside\";if(P||L){var z=i(l,\"textfont\",T.font),F=x.extendFlat({},z),B=p.textfont&&p.textfont.color,O=!B;if(O&&delete F.color,i(l,\"insidetextfont\",F),y){var I=x.extendFlat({},z);O&&delete I.color,i(l,\"pathbar.textfont\",I)}L&&i(l,\"outsidetextfont\",z),M&&l(\"selected.textfont.color\"),E&&l(\"unselected.textfont.color\"),m&&l(\"constraintext\"),b&&l(\"cliponaxis\"),v&&l(\"textangle\"),l(\"texttemplate\")}P&&u&&l(\"insidetextanchor\")}H.exports={supplyDefaults:a,crossTraceDefaults:s,handleText:h,validateCornerradius:c}}}),F2=ke({\"src/traces/bar/layout_defaults.js\"(Z,H){\"use strict\";var g=lo(),x=Ho(),A=un(),S=P_(),e=Od().validateCornerradius;H.exports=function(t,r,o){function n(M,E){return A.coerce(t,r,S,M,E)}for(var i=!1,a=!1,s=!1,c={},h=n(\"barmode\"),p=h===\"group\",d=0;d0&&!c[l]&&(s=!0),c[l]=!0),T.visible&&T.type===\"histogram\"){var _=x.getFromId({_fullLayout:r},T[T.orientation===\"v\"?\"xaxis\":\"yaxis\"]);_.type!==\"category\"&&(a=!0)}}if(!i){delete r.barmode;return}h!==\"overlay\"&&n(\"barnorm\"),n(\"bargap\",a&&!s?0:.2),n(\"bargroupgap\");var w=n(\"barcornerradius\");r.barcornerradius=e(w)}}}),u0=ke({\"src/traces/bar/arrays_to_calcdata.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){for(var e=0;e g.point\"}o.selectAll(c).each(function(h){var p=h.transform;if(p){p.scale=s&&p.hide?0:a/p.fontSize;var d=g.select(this).select(\"text\");x.setTransormAndDisplay(d,p)}})}}function S(r,o,n){if(n.uniformtext.mode){var i=t(r),a=n.uniformtext.minsize,s=o.scale*o.fontSize;o.hide=sr;if(!o)return S}return e!==void 0?e:A.dflt},Z.coerceColor=function(A,S,e){return g(S).isValid()?S:e!==void 0?e:A.dflt},Z.coerceEnumerated=function(A,S,e){return A.coerceNumber&&(S=+S),A.values.indexOf(S)!==-1?S:e!==void 0?e:A.dflt},Z.getValue=function(A,S){var e;return x(A)?S1||y.bargap===0&&y.bargroupgap===0&&!f[0].trace.marker.line.width)&&g.select(this).attr(\"shape-rendering\",\"crispEdges\")}),v.selectAll(\"g.points\").each(function(f){var P=g.select(this),L=f[0].trace;c(P,L,b)}),e.getComponentMethod(\"errorbars\",\"style\")(v)}function c(b,v,u){A.pointStyle(b.selectAll(\"path\"),v,u),h(b,v,u)}function h(b,v,u){b.selectAll(\"text\").each(function(y){var f=g.select(this),P=S.ensureUniformFontSize(u,l(f,y,v,u));A.font(f,P)})}function p(b,v,u){var y=v[0].trace;y.selectedpoints?d(u,y,b):(c(u,y,b),e.getComponentMethod(\"errorbars\",\"style\")(u))}function d(b,v,u){A.selectedPointStyle(b.selectAll(\"path\"),v),T(b.selectAll(\"text\"),v,u)}function T(b,v,u){b.each(function(y){var f=g.select(this),P;if(y.selected){P=S.ensureUniformFontSize(u,l(f,y,v,u));var L=v.selected.textfont&&v.selected.textfont.color;L&&(P.color=L),A.font(f,P)}else A.selectedTextStyle(f,v)})}function l(b,v,u,y){var f=y._fullLayout.font,P=u.textfont;if(b.classed(\"bartext-inside\")){var L=m(v,u);P=w(u,v.i,f,L)}else b.classed(\"bartext-outside\")&&(P=M(u,v.i,f));return P}function _(b,v,u){return E(o,b.textfont,v,u)}function w(b,v,u,y){var f=_(b,v,u),P=b._input.textfont===void 0||b._input.textfont.color===void 0||Array.isArray(b.textfont.color)&&b.textfont.color[v]===void 0;return P&&(f={color:x.contrast(y),family:f.family,size:f.size,weight:f.weight,style:f.style,variant:f.variant,textcase:f.textcase,lineposition:f.lineposition,shadow:f.shadow}),E(n,b.insidetextfont,v,f)}function M(b,v,u){var y=_(b,v,u);return E(i,b.outsidetextfont,v,y)}function E(b,v,u,y){v=v||{};var f=a.getValue(v.family,u),P=a.getValue(v.size,u),L=a.getValue(v.color,u),z=a.getValue(v.weight,u),F=a.getValue(v.style,u),B=a.getValue(v.variant,u),O=a.getValue(v.textcase,u),I=a.getValue(v.lineposition,u),N=a.getValue(v.shadow,u);return{family:a.coerceString(b.family,f,y.family),size:a.coerceNumber(b.size,P,y.size),color:a.coerceColor(b.color,L,y.color),weight:a.coerceString(b.weight,z,y.weight),style:a.coerceString(b.style,F,y.style),variant:a.coerceString(b.variant,B,y.variant),textcase:a.coerceString(b.variant,O,y.textcase),lineposition:a.coerceString(b.variant,I,y.lineposition),shadow:a.coerceString(b.variant,N,y.shadow)}}function m(b,v){return v.type===\"waterfall\"?v[b.dir].marker.color:b.mcc||b.mc||v.marker.color}H.exports={style:s,styleTextPoints:h,styleOnSelect:p,getInsideTextFont:w,getOutsideTextFont:M,getBarColor:m,resizeText:t}}}),Bm=ke({\"src/traces/bar/plot.js\"(Z,H){\"use strict\";var g=_i(),x=Yn(),A=un(),S=Wl(),e=eo(),t=$o(),r=lo(),o=Ho().tickText,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Yd(),c=R_(),h=Om(),p=Pv(),d=p.text,T=p.textposition,l=gd().appendArrayPointValue,_=h.TEXTPAD;function w(Q){return Q.id}function M(Q){if(Q.ids)return w}function E(Q){return(Q>0)-(Q<0)}function m(Q,le){return Q0}function y(Q,le,se,fe,G,$){var J=le.xaxis,X=le.yaxis,re=Q._fullLayout,ae=Q._context.staticPlot;G||(G={mode:re.barmode,norm:re.barmode,gap:re.bargap,groupgap:re.bargroupgap},a(\"bar\",re));var j=A.makeTraceGroups(fe,se,\"trace bars\").each(function(ee){var ie=g.select(this),ce=ee[0].trace,xe=ee[0].t,Te=ce.type===\"waterfall\",Ue=ce.type===\"funnel\",Ie=ce.type===\"histogram\",Ye=ce.type===\"bar\",it=Ye||Ue,at=0;Te&&ce.connector.visible&&ce.connector.mode===\"between\"&&(at=ce.connector.line.width/2);var tt=ce.orientation===\"h\",ut=u(G),Me=A.ensureSingle(ie,\"g\",\"points\"),pe=M(ce),ue=Me.selectAll(\"g.point\").data(A.identity,pe);ue.enter().append(\"g\").classed(\"point\",!0),ue.exit().remove(),ue.each(function(rt,ot){var et=g.select(this),Lt=b(rt,J,X,tt),Et=Lt[0][0],Bt=Lt[0][1],qt=Lt[1][0],fr=Lt[1][1],ar=(tt?Bt-Et:fr-qt)===0;ar&&it&&c.getLineWidth(ce,rt)&&(ar=!1),ar||(ar=!x(Et)||!x(Bt)||!x(qt)||!x(fr)),rt.isBlank=ar,ar&&(tt?Bt=Et:fr=qt),at&&!ar&&(tt?(Et-=m(Et,Bt)*at,Bt+=m(Et,Bt)*at):(qt-=m(qt,fr)*at,fr+=m(qt,fr)*at));var Rr,gr;if(ce.type===\"waterfall\"){if(!ar){var br=ce[rt.dir].marker;Rr=br.line.width,gr=br.color}}else Rr=c.getLineWidth(ce,rt),gr=rt.mc||ce.marker.color;function _t(gi){var Zt=g.round(Rr/2%1,2);return G.gap===0&&G.groupgap===0?g.round(Math.round(gi)-Zt,2):gi}function Be(gi,Zt,Ft){return Ft&&gi===Zt?gi:Math.abs(gi-Zt)>=2?_t(gi):gi>Zt?Math.ceil(gi):Math.floor(gi)}var Ke=e.opacity(gr),je=Ke<1||Rr>.01?_t:Be;Q._context.staticPlot||(Et=je(Et,Bt,tt),Bt=je(Bt,Et,tt),qt=je(qt,fr,!tt),fr=je(fr,qt,!tt));var Se=tt?J.c2p:X.c2p,He;rt.s0>0?He=rt._sMax:rt.s0<0?He=rt._sMin:He=rt.s1>0?rt._sMax:rt._sMin;function Ee(gi,Zt){if(!gi)return 0;var Ft=Math.abs(tt?fr-qt:Bt-Et),Ht=Math.abs(tt?Bt-Et:fr-qt),Vt=je(Math.abs(Se(He,!0)-Se(0,!0))),wr=rt.hasB?Math.min(Ft/2,Ht/2):Math.min(Ft/2,Vt),$r;if(Zt===\"%\"){var xn=Math.min(50,gi);$r=Ft*(xn/100)}else $r=gi;return je(Math.max(Math.min($r,wr),0))}var we=Ye||Ie?Ee(xe.cornerradiusvalue,xe.cornerradiusform):0,Le,nt,pt=\"M\"+Et+\",\"+qt+\"V\"+fr+\"H\"+Bt+\"V\"+qt+\"Z\",bt=0;if(we&&rt.s){var Rt=E(rt.s0)===0||E(rt.s)===E(rt.s0)?rt.s1:rt.s0;if(bt=je(rt.hasB?0:Math.abs(Se(He,!0)-Se(Rt,!0))),bt0?Math.sqrt(bt*(2*we-bt)):0,Rn=Nt>0?Math.max:Math.min;Le=\"M\"+Et+\",\"+qt+\"V\"+(fr-ur*Xt)+\"H\"+Rn(Bt-(we-bt)*Nt,Et)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Bt+\",\"+(fr-we*Xt-pn)+\"V\"+(qt+we*Xt+pn)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Rn(Bt-(we-bt)*Nt,Et)+\",\"+(qt+ur*Xt)+\"Z\"}else if(rt.hasB)Le=\"M\"+(Et+we*Nt)+\",\"+qt+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Et+\",\"+(qt+we*Xt)+\"V\"+(fr-we*Xt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Et+we*Nt)+\",\"+fr+\"H\"+(Bt-we*Nt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+Bt+\",\"+(fr-we*Xt)+\"V\"+(qt+we*Xt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Bt-we*Nt)+\",\"+qt+\"Z\";else{nt=Math.abs(fr-qt)+bt;var Nn=nt0?Math.sqrt(bt*(2*we-bt)):0,ni=Xt>0?Math.max:Math.min;Le=\"M\"+(Et+Nn*Nt)+\",\"+qt+\"V\"+ni(fr-(we-bt)*Xt,qt)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Et+we*Nt-On)+\",\"+fr+\"H\"+(Bt-we*Nt+On)+\"A \"+we+\",\"+we+\" 0 0 \"+$t+\" \"+(Bt-Nn*Nt)+\",\"+ni(fr-(we-bt)*Xt,qt)+\"V\"+qt+\"Z\"}}else Le=pt}else Le=pt;var zn=v(A.ensureSingle(et,\"path\"),re,G,$);if(zn.style(\"vector-effect\",ae?\"none\":\"non-scaling-stroke\").attr(\"d\",isNaN((Bt-Et)*(fr-qt))||ar&&Q._context.staticPlot?\"M0,0Z\":Le).call(t.setClipUrl,le.layerClipId,Q),!re.uniformtext.mode&&ut){var Qn=t.makePointStyleFns(ce);t.singlePointStyle(rt,zn,ce,Qn,Q)}f(Q,le,et,ee,ot,Et,Bt,qt,fr,we,bt,G,$),le.layerClipId&&t.hideOutsideRangePoint(rt,et.select(\"text\"),J,X,ce.xcalendar,ce.ycalendar)});var Oe=ce.cliponaxis===!1;t.setClipUrl(ie,Oe?null:le.layerClipId,Q)});r.getComponentMethod(\"errorbars\",\"plot\")(Q,j,le,G)}function f(Q,le,se,fe,G,$,J,X,re,ae,j,ee,ie){var ce=le.xaxis,xe=le.yaxis,Te=Q._fullLayout,Ue;function Ie(nt,pt,bt){var Rt=A.ensureSingle(nt,\"text\").text(pt).attr({class:\"bartext bartext-\"+Ue,\"text-anchor\":\"middle\",\"data-notex\":1}).call(t.font,bt).call(S.convertToTspans,Q);return Rt}var Ye=fe[0].trace,it=Ye.orientation===\"h\",at=I(Te,fe,G,ce,xe);Ue=N(Ye,G);var tt=ee.mode===\"stack\"||ee.mode===\"relative\",ut=fe[G],Me=!tt||ut._outmost,pe=ut.hasB,ue=ae&&ae-j>_;if(!at||Ue===\"none\"||(ut.isBlank||$===J||X===re)&&(Ue===\"auto\"||Ue===\"inside\")){se.select(\"text\").remove();return}var Oe=Te.font,rt=s.getBarColor(fe[G],Ye),ot=s.getInsideTextFont(Ye,G,Oe,rt),et=s.getOutsideTextFont(Ye,G,Oe),Lt=Ye.insidetextanchor||\"end\",Et=se.datum();it?ce.type===\"log\"&&Et.s0<=0&&(ce.range[0]0&&_t>0,je;ue?pe?je=P(fr-2*ae,ar,br,_t,it)||P(fr,ar-2*ae,br,_t,it):it?je=P(fr-(ae-j),ar,br,_t,it)||P(fr,ar-2*(ae-j),br,_t,it):je=P(fr,ar-(ae-j),br,_t,it)||P(fr-2*(ae-j),ar,br,_t,it):je=P(fr,ar,br,_t,it),Ke&&je?Ue=\"inside\":(Ue=\"outside\",Rr.remove(),Rr=null)}else Ue=\"inside\";if(!Rr){Be=A.ensureUniformFontSize(Q,Ue===\"outside\"?et:ot),Rr=Ie(se,at,Be);var Se=Rr.attr(\"transform\");if(Rr.attr(\"transform\",\"\"),gr=t.bBox(Rr.node()),br=gr.width,_t=gr.height,Rr.attr(\"transform\",Se),br<=0||_t<=0){Rr.remove();return}}var He=Ye.textangle,Ee,we;Ue===\"outside\"?(we=Ye.constraintext===\"both\"||Ye.constraintext===\"outside\",Ee=O($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He})):(we=Ye.constraintext===\"both\"||Ye.constraintext===\"inside\",Ee=F($,J,X,re,gr,{isHorizontal:it,constrained:we,angle:He,anchor:Lt,hasB:pe,r:ae,overhead:j})),Ee.fontSize=Be.size,i(Ye.type===\"histogram\"?\"bar\":Ye.type,Ee,Te),ut.transform=Ee;var Le=v(Rr,Te,ee,ie);A.setTransormAndDisplay(Le,Ee)}function P(Q,le,se,fe,G){if(Q<0||le<0)return!1;var $=se<=Q&&fe<=le,J=se<=le&&fe<=Q,X=G?Q>=se*(le/fe):le>=fe*(Q/se);return $||J||X}function L(Q){return Q===\"auto\"?0:Q}function z(Q,le){var se=Math.PI/180*le,fe=Math.abs(Math.sin(se)),G=Math.abs(Math.cos(se));return{x:Q.width*G+Q.height*fe,y:Q.width*fe+Q.height*G}}function F(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=$.anchor,j=ae===\"end\",ee=ae===\"start\",ie=$.leftToRight||0,ce=(ie+1)/2,xe=1-ce,Te=$.hasB,Ue=$.r,Ie=$.overhead,Ye=G.width,it=G.height,at=Math.abs(le-Q),tt=Math.abs(fe-se),ut=at>2*_&&tt>2*_?_:0;at-=2*ut,tt-=2*ut;var Me=L(re);re===\"auto\"&&!(Ye<=at&&it<=tt)&&(Ye>at||it>tt)&&(!(Ye>tt||it>at)||Ye_){var rt=B(Q,le,se,fe,pe,Ue,Ie,J,Te);ue=rt.scale,Oe=rt.pad}else ue=1,X&&(ue=Math.min(1,at/pe.x,tt/pe.y)),Oe=0;var ot=G.left*xe+G.right*ce,et=(G.top+G.bottom)/2,Lt=(Q+_)*xe+(le-_)*ce,Et=(se+fe)/2,Bt=0,qt=0;if(ee||j){var fr=(J?pe.x:pe.y)/2;Ue&&(j||Te)&&(ut+=Oe);var ar=J?m(Q,le):m(se,fe);J?ee?(Lt=Q+ar*ut,Bt=-ar*fr):(Lt=le-ar*ut,Bt=ar*fr):ee?(Et=se+ar*ut,qt=-ar*fr):(Et=fe-ar*ut,qt=ar*fr)}return{textX:ot,textY:et,targetX:Lt,targetY:Et,anchorX:Bt,anchorY:qt,scale:ue,rotate:Me}}function B(Q,le,se,fe,G,$,J,X,re){var ae=Math.max(0,Math.abs(le-Q)-2*_),j=Math.max(0,Math.abs(fe-se)-2*_),ee=$-_,ie=J?ee-Math.sqrt(ee*ee-(ee-J)*(ee-J)):ee,ce=re?ee*2:X?ee-J:2*ie,xe=re?ee*2:X?2*ie:ee-J,Te,Ue,Ie,Ye,it;return G.y/G.x>=j/(ae-ce)?Ye=j/G.y:G.y/G.x<=(j-xe)/ae?Ye=ae/G.x:!re&&X?(Te=G.x*G.x+G.y*G.y/4,Ue=-2*G.x*(ae-ee)-G.y*(j/2-ee),Ie=(ae-ee)*(ae-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):re?(Te=(G.x*G.x+G.y*G.y)/4,Ue=-G.x*(ae/2-ee)-G.y*(j/2-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j/2-ee)*(j/2-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)):(Te=G.x*G.x/4+G.y*G.y,Ue=-G.x*(ae/2-ee)-2*G.y*(j-ee),Ie=(ae/2-ee)*(ae/2-ee)+(j-ee)*(j-ee)-ee*ee,Ye=(-Ue+Math.sqrt(Ue*Ue-4*Te*Ie))/(2*Te)),Ye=Math.min(1,Ye),X?it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(j-G.y*Ye)/2)*(ee-(j-G.y*Ye)/2)))-J):it=Math.max(0,ee-Math.sqrt(Math.max(0,ee*ee-(ee-(ae-G.x*Ye)/2)*(ee-(ae-G.x*Ye)/2)))-J),{scale:Ye,pad:it}}function O(Q,le,se,fe,G,$){var J=!!$.isHorizontal,X=!!$.constrained,re=$.angle||0,ae=G.width,j=G.height,ee=Math.abs(le-Q),ie=Math.abs(fe-se),ce;J?ce=ie>2*_?_:0:ce=ee>2*_?_:0;var xe=1;X&&(xe=J?Math.min(1,ie/j):Math.min(1,ee/ae));var Te=L(re),Ue=z(G,Te),Ie=(J?Ue.x:Ue.y)/2,Ye=(G.left+G.right)/2,it=(G.top+G.bottom)/2,at=(Q+le)/2,tt=(se+fe)/2,ut=0,Me=0,pe=J?m(le,Q):m(se,fe);return J?(at=le-pe*ce,ut=pe*Ie):(tt=fe+pe*ce,Me=-pe*Ie),{textX:Ye,textY:it,targetX:at,targetY:tt,anchorX:ut,anchorY:Me,scale:xe,rotate:Te}}function I(Q,le,se,fe,G){var $=le[0].trace,J=$.texttemplate,X;return J?X=U(Q,le,se,fe,G):$.textinfo?X=W(le,se,fe,G):X=c.getValue($.text,se),c.coerceString(d,X)}function N(Q,le){var se=c.getValue(Q.textposition,le);return c.coerceEnumerated(T,se)}function U(Q,le,se,fe,G){var $=le[0].trace,J=A.castOption($,se,\"texttemplate\");if(!J)return\"\";var X=$.type===\"histogram\",re=$.type===\"waterfall\",ae=$.type===\"funnel\",j=$.orientation===\"h\",ee,ie,ce,xe;j?(ee=\"y\",ie=G,ce=\"x\",xe=fe):(ee=\"x\",ie=fe,ce=\"y\",xe=G);function Te(ut){return o(ie,ie.c2l(ut),!0).text}function Ue(ut){return o(xe,xe.c2l(ut),!0).text}var Ie=le[se],Ye={};Ye.label=Ie.p,Ye.labelLabel=Ye[ee+\"Label\"]=Te(Ie.p);var it=A.castOption($,Ie.i,\"text\");(it===0||it)&&(Ye.text=it),Ye.value=Ie.s,Ye.valueLabel=Ye[ce+\"Label\"]=Ue(Ie.s);var at={};l(at,$,Ie.i),(X||at.x===void 0)&&(at.x=j?Ye.value:Ye.label),(X||at.y===void 0)&&(at.y=j?Ye.label:Ye.value),(X||at.xLabel===void 0)&&(at.xLabel=j?Ye.valueLabel:Ye.labelLabel),(X||at.yLabel===void 0)&&(at.yLabel=j?Ye.labelLabel:Ye.valueLabel),re&&(Ye.delta=+Ie.rawS||Ie.s,Ye.deltaLabel=Ue(Ye.delta),Ye.final=Ie.v,Ye.finalLabel=Ue(Ye.final),Ye.initial=Ye.final-Ye.delta,Ye.initialLabel=Ue(Ye.initial)),ae&&(Ye.value=Ie.s,Ye.valueLabel=Ue(Ye.value),Ye.percentInitial=Ie.begR,Ye.percentInitialLabel=A.formatPercent(Ie.begR),Ye.percentPrevious=Ie.difR,Ye.percentPreviousLabel=A.formatPercent(Ie.difR),Ye.percentTotal=Ie.sumR,Ye.percenTotalLabel=A.formatPercent(Ie.sumR));var tt=A.castOption($,Ie.i,\"customdata\");return tt&&(Ye.customdata=tt),A.texttemplateString(J,Ye,Q._d3locale,at,Ye,$._meta||{})}function W(Q,le,se,fe){var G=Q[0].trace,$=G.orientation===\"h\",J=G.type===\"waterfall\",X=G.type===\"funnel\";function re(tt){var ut=$?fe:se;return o(ut,tt,!0).text}function ae(tt){var ut=$?se:fe;return o(ut,+tt,!0).text}var j=G.textinfo,ee=Q[le],ie=j.split(\"+\"),ce=[],xe,Te=function(tt){return ie.indexOf(tt)!==-1};if(Te(\"label\")&&ce.push(re(Q[le].p)),Te(\"text\")&&(xe=A.castOption(G,ee.i,\"text\"),(xe===0||xe)&&ce.push(xe)),J){var Ue=+ee.rawS||ee.s,Ie=ee.v,Ye=Ie-Ue;Te(\"initial\")&&ce.push(ae(Ye)),Te(\"delta\")&&ce.push(ae(Ue)),Te(\"final\")&&ce.push(ae(Ie))}if(X){Te(\"value\")&&ce.push(ae(ee.s));var it=0;Te(\"percent initial\")&&it++,Te(\"percent previous\")&&it++,Te(\"percent total\")&&it++;var at=it>1;Te(\"percent initial\")&&(xe=A.formatPercent(ee.begR),at&&(xe+=\" of initial\"),ce.push(xe)),Te(\"percent previous\")&&(xe=A.formatPercent(ee.difR),at&&(xe+=\" of previous\"),ce.push(xe)),Te(\"percent total\")&&(xe=A.formatPercent(ee.sumR),at&&(xe+=\" of total\"),ce.push(xe))}return ce.join(\"
\")}H.exports={plot:y,toMoveInsideBar:F}}}),Qg=ke({\"src/traces/bar/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=lo(),A=eo(),S=un().fillText,e=R_().getLineWidth,t=Ho().hoverLabelText,r=Hi().BADNUM;function o(a,s,c,h,p){var d=n(a,s,c,h,p);if(d){var T=d.cd,l=T[0].trace,_=T[d.index];return d.color=i(l,_),x.getComponentMethod(\"errorbars\",\"hoverInfo\")(_,l,d),[d]}}function n(a,s,c,h,p){var d=a.cd,T=d[0].trace,l=d[0].t,_=h===\"closest\",w=T.type===\"waterfall\",M=a.maxHoverDistance,E=a.maxSpikeDistance,m,b,v,u,y,f,P;T.orientation===\"h\"?(m=c,b=s,v=\"y\",u=\"x\",y=fe,f=Q):(m=s,b=c,v=\"x\",u=\"y\",f=fe,y=Q);var L=T[v+\"period\"],z=_||L;function F(xe){return O(xe,-1)}function B(xe){return O(xe,1)}function O(xe,Te){var Ue=xe.w;return xe[v]+Te*Ue/2}function I(xe){return xe[v+\"End\"]-xe[v+\"Start\"]}var N=_?F:L?function(xe){return xe.p-I(xe)/2}:function(xe){return Math.min(F(xe),xe.p-l.bardelta/2)},U=_?B:L?function(xe){return xe.p+I(xe)/2}:function(xe){return Math.max(B(xe),xe.p+l.bardelta/2)};function W(xe,Te,Ue){return p.finiteRange&&(Ue=0),g.inbox(xe-m,Te-m,Ue+Math.min(1,Math.abs(Te-xe)/P)-1)}function Q(xe){return W(N(xe),U(xe),M)}function le(xe){return W(F(xe),B(xe),E)}function se(xe){var Te=xe[u];if(w){var Ue=Math.abs(xe.rawS)||0;b>0?Te+=Ue:b<0&&(Te-=Ue)}return Te}function fe(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,M+(Ie-Te)/(Ie-Ue)-1)}function G(xe){var Te=b,Ue=xe.b,Ie=se(xe);return g.inbox(Ue-Te,Ie-Te,E+(Ie-Te)/(Ie-Ue)-1)}var $=a[v+\"a\"],J=a[u+\"a\"];P=Math.abs($.r2c($.range[1])-$.r2c($.range[0]));function X(xe){return(y(xe)+f(xe))/2}var re=g.getDistanceFunction(h,y,f,X);if(g.getClosest(d,re,a),a.index!==!1&&d[a.index].p!==r){z||(N=function(xe){return Math.min(F(xe),xe.p-l.bargroupwidth/2)},U=function(xe){return Math.max(B(xe),xe.p+l.bargroupwidth/2)});var ae=a.index,j=d[ae],ee=T.base?j.b+j.s:j.s;a[u+\"0\"]=a[u+\"1\"]=J.c2p(j[u],!0),a[u+\"LabelVal\"]=ee;var ie=l.extents[l.extents.round(j.p)];a[v+\"0\"]=$.c2p(_?N(j):ie[0],!0),a[v+\"1\"]=$.c2p(_?U(j):ie[1],!0);var ce=j.orig_p!==void 0;return a[v+\"LabelVal\"]=ce?j.orig_p:j.p,a.labelLabel=t($,a[v+\"LabelVal\"],T[v+\"hoverformat\"]),a.valueLabel=t(J,a[u+\"LabelVal\"],T[u+\"hoverformat\"]),a.baseLabel=t(J,j.b,T[u+\"hoverformat\"]),a.spikeDistance=(G(j)+le(j))/2,a[v+\"Spike\"]=$.c2p(j.p,!0),S(j,T,a),a.hovertemplate=T.hovertemplate,a}}function i(a,s){var c=s.mcc||a.marker.color,h=s.mlcc||a.marker.line.color,p=e(a,s);if(A.opacity(c))return c;if(A.opacity(h)&&p)return h}H.exports={hoverPoints:o,hoverOnBars:n,getTraceColor:i}}}),DC=ke({\"src/traces/bar/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),S.orientation===\"h\"?(x.label=x.y,x.value=x.x):(x.label=x.x,x.value=x.y),x}}}),ey=ke({\"src/traces/bar/select.js\"(Z,H){\"use strict\";H.exports=function(A,S){var e=A.cd,t=A.xaxis,r=A.yaxis,o=e[0].trace,n=o.type===\"funnel\",i=o.orientation===\"h\",a=[],s;if(S===!1)for(s=0;s0?(L=\"v\",v>0?z=Math.min(y,u):z=Math.min(u)):v>0?(L=\"h\",z=Math.min(y)):z=0;if(!z){c.visible=!1;return}c._length=z;var N=h(\"orientation\",L);c._hasPreCompStats?N===\"v\"&&v===0?(h(\"x0\",0),h(\"dx\",1)):N===\"h\"&&b===0&&(h(\"y0\",0),h(\"dy\",1)):N===\"v\"&&v===0?h(\"x0\"):N===\"h\"&&b===0&&h(\"y0\");var U=x.getComponentMethod(\"calendars\",\"handleTraceDefaults\");U(s,c,[\"x\",\"y\"],p)}function i(s,c,h,p){var d=p.prefix,T=g.coerce2(s,c,r,\"marker.outliercolor\"),l=h(\"marker.line.outliercolor\"),_=\"outliers\";c._hasPreCompStats?_=\"all\":(T||l)&&(_=\"suspectedoutliers\");var w=h(d+\"points\",_);w?(h(\"jitter\",w===\"all\"?.3:0),h(\"pointpos\",w===\"all\"?-1.5:0),h(\"marker.symbol\"),h(\"marker.opacity\"),h(\"marker.size\"),h(\"marker.angle\"),h(\"marker.color\",c.line.color),h(\"marker.line.color\"),h(\"marker.line.width\"),w===\"suspectedoutliers\"&&(h(\"marker.line.outliercolor\",c.marker.color),h(\"marker.line.outlierwidth\")),h(\"selected.marker.color\"),h(\"unselected.marker.color\"),h(\"selected.marker.size\"),h(\"unselected.marker.size\"),h(\"text\"),h(\"hovertext\")):delete c.marker;var M=h(\"hoveron\");(M===\"all\"||M.indexOf(\"points\")!==-1)&&h(\"hovertemplate\"),g.coerceSelectionMarkerOpacity(c,h)}function a(s,c){var h,p;function d(w){return g.coerce(p._input,p,r,w)}for(var T=0;Tse.uf};if(E._hasPreCompStats){var ae=E[z],j=function(ar){return L.d2c((E[ar]||[])[f])},ee=1/0,ie=-1/0;for(f=0;f=se.q1&&se.q3>=se.med){var xe=j(\"lowerfence\");se.lf=xe!==e&&xe<=se.q1?xe:p(se,G,$);var Te=j(\"upperfence\");se.uf=Te!==e&&Te>=se.q3?Te:d(se,G,$);var Ue=j(\"mean\");se.mean=Ue!==e?Ue:$?S.mean(G,$):(se.q1+se.q3)/2;var Ie=j(\"sd\");se.sd=Ue!==e&&Ie>=0?Ie:$?S.stdev(G,$,se.mean):se.q3-se.q1,se.lo=T(se),se.uo=l(se);var Ye=j(\"notchspan\");Ye=Ye!==e&&Ye>0?Ye:_(se,$),se.ln=se.med-Ye,se.un=se.med+Ye;var it=se.lf,at=se.uf;E.boxpoints&&G.length&&(it=Math.min(it,G[0]),at=Math.max(at,G[$-1])),E.notched&&(it=Math.min(it,se.ln),at=Math.max(at,se.un)),se.min=it,se.max=at}else{S.warn([\"Invalid input - make sure that q1 <= median <= q3\",\"q1 = \"+se.q1,\"median = \"+se.med,\"q3 = \"+se.q3].join(`\n`));var tt;se.med!==e?tt=se.med:se.q1!==e?se.q3!==e?tt=(se.q1+se.q3)/2:tt=se.q1:se.q3!==e?tt=se.q3:tt=0,se.med=tt,se.q1=se.q3=tt,se.lf=se.uf=tt,se.mean=se.sd=tt,se.ln=se.un=tt,se.min=se.max=tt}ee=Math.min(ee,se.min),ie=Math.max(ie,se.max),se.pts2=fe.filter(re),u.push(se)}}E._extremes[L._id]=x.findExtremes(L,[ee,ie],{padded:!0})}else{var ut=L.makeCalcdata(E,z),Me=o(Q,le),pe=Q.length,ue=n(pe);for(f=0;f=0&&Oe0){if(se={},se.pos=se[B]=Q[f],fe=se.pts=ue[f].sort(c),G=se[z]=fe.map(h),$=G.length,se.min=G[0],se.max=G[$-1],se.mean=S.mean(G,$),se.sd=S.stdev(G,$,se.mean)*E.sdmultiple,se.med=S.interp(G,.5),$%2&&(Lt||Et)){var Bt,qt;Lt?(Bt=G.slice(0,$/2),qt=G.slice($/2+1)):Et&&(Bt=G.slice(0,$/2+1),qt=G.slice($/2)),se.q1=S.interp(Bt,.5),se.q3=S.interp(qt,.5)}else se.q1=S.interp(G,.25),se.q3=S.interp(G,.75);se.lf=p(se,G,$),se.uf=d(se,G,$),se.lo=T(se),se.uo=l(se);var fr=_(se,$);se.ln=se.med-fr,se.un=se.med+fr,rt=Math.min(rt,se.ln),ot=Math.max(ot,se.un),se.pts2=fe.filter(re),u.push(se)}E.notched&&S.isTypedArray(ut)&&(ut=Array.from(ut)),E._extremes[L._id]=x.findExtremes(L,E.notched?ut.concat([rt,ot]):ut,{padded:!0})}return s(u,E),u.length>0?(u[0].t={num:m[y],dPos:le,posLetter:B,valLetter:z,labels:{med:t(M,\"median:\"),min:t(M,\"min:\"),q1:t(M,\"q1:\"),q3:t(M,\"q3:\"),max:t(M,\"max:\"),mean:E.boxmean===\"sd\"||E.sizemode===\"sd\"?t(M,\"mean \\xB1 \\u03C3:\").replace(\"\\u03C3\",E.sdmultiple===1?\"\\u03C3\":E.sdmultiple+\"\\u03C3\"):t(M,\"mean:\"),lf:t(M,\"lower fence:\"),uf:t(M,\"upper fence:\")}},m[y]++,u):[{t:{empty:!0}}]};function r(w,M,E,m){var b=M in w,v=M+\"0\"in w,u=\"d\"+M in w;if(b||v&&u){var y=E.makeCalcdata(w,M),f=A(w,E,M,y).vals;return[f,y]}var P;v?P=w[M+\"0\"]:\"name\"in w&&(E.type===\"category\"||g(w.name)&&[\"linear\",\"log\"].indexOf(E.type)!==-1||S.isDateTime(w.name)&&E.type===\"date\")?P=w.name:P=m;for(var L=E.type===\"multicategory\"?E.r2c_just_indices(P):E.d2c(P,0,w[M+\"calendar\"]),z=w._length,F=new Array(z),B=0;B1,v=1-s[r+\"gap\"],u=1-s[r+\"groupgap\"];for(p=0;p0;if(L===\"positive\"?(se=z*(P?1:.5),$=G,fe=$=B):L===\"negative\"?(se=$=B,fe=z*(P?1:.5),J=G):(se=fe=z,$=J=G),ie){var ce=y.pointpos,xe=y.jitter,Te=y.marker.size/2,Ue=0;ce+xe>=0&&(Ue=G*(ce+xe),Ue>se?(ee=!0,ae=Te,X=Ue):Ue>$&&(ae=Te,X=se)),Ue<=se&&(X=se);var Ie=0;ce-xe<=0&&(Ie=-G*(ce-xe),Ie>fe?(ee=!0,j=Te,re=Ie):Ie>J&&(j=Te,re=fe)),Ie<=fe&&(re=fe)}else X=se,re=fe;var Ye=new Array(T.length);for(d=0;dE.lo&&(N.so=!0)}return b});M.enter().append(\"path\").classed(\"point\",!0),M.exit().remove(),M.call(A.translatePoints,h,p)}function n(i,a,s,c){var h=a.val,p=a.pos,d=!!p.rangebreaks,T=c.bPos,l=c.bPosPxOffset||0,_=s.boxmean||(s.meanline||{}).visible,w,M;Array.isArray(c.bdPos)?(w=c.bdPos[0],M=c.bdPos[1]):(w=c.bdPos,M=c.bdPos);var E=i.selectAll(\"path.mean\").data(s.type===\"box\"&&s.boxmean||s.type===\"violin\"&&s.box.visible&&s.meanline.visible?x.identity:[]);E.enter().append(\"path\").attr(\"class\",\"mean\").style({fill:\"none\",\"vector-effect\":\"non-scaling-stroke\"}),E.exit().remove(),E.each(function(m){var b=p.c2l(m.pos+T,!0),v=p.l2p(b-w)+l,u=p.l2p(b+M)+l,y=d?(v+u)/2:p.l2p(b)+l,f=h.c2p(m.mean,!0),P=h.c2p(m.mean-m.sd,!0),L=h.c2p(m.mean+m.sd,!0);s.orientation===\"h\"?g.select(this).attr(\"d\",\"M\"+f+\",\"+v+\"V\"+u+(_===\"sd\"?\"m0,0L\"+P+\",\"+y+\"L\"+f+\",\"+v+\"L\"+L+\",\"+y+\"Z\":\"\")):g.select(this).attr(\"d\",\"M\"+v+\",\"+f+\"H\"+u+(_===\"sd\"?\"m0,0L\"+y+\",\"+P+\"L\"+v+\",\"+f+\"L\"+y+\",\"+L+\"Z\":\"\"))})}H.exports={plot:t,plotBoxAndWhiskers:r,plotPoints:o,plotBoxMean:n}}}),O_=ke({\"src/traces/box/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=$o();function S(t,r,o){var n=o||g.select(t).selectAll(\"g.trace.boxes\");n.style(\"opacity\",function(i){return i[0].trace.opacity}),n.each(function(i){var a=g.select(this),s=i[0].trace,c=s.line.width;function h(T,l,_,w){T.style(\"stroke-width\",l+\"px\").call(x.stroke,_).call(x.fill,w)}var p=a.selectAll(\"path.box\");if(s.type===\"candlestick\")p.each(function(T){if(!T.empty){var l=g.select(this),_=s[T.dir];h(l,_.line.width,_.line.color,_.fillcolor),l.style(\"opacity\",s.selectedpoints&&!T.selected?.3:1)}});else{h(p,c,s.line.color,s.fillcolor),a.selectAll(\"path.mean\").style({\"stroke-width\":c,\"stroke-dasharray\":2*c+\"px,\"+c+\"px\"}).call(x.stroke,s.line.color);var d=a.selectAll(\"path.point\");A.pointStyle(d,s,t)}})}function e(t,r,o){var n=r[0].trace,i=o.selectAll(\"path.point\");n.selectedpoints?A.selectedPointStyle(i,n):A.pointStyle(i,n,t)}H.exports={style:S,styleOnSelect:e}}}),B2=ke({\"src/traces/box/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=un(),A=Ec(),S=eo(),e=x.fillText;function t(n,i,a,s){var c=n.cd,h=c[0].trace,p=h.hoveron,d=[],T;return p.indexOf(\"boxes\")!==-1&&(d=d.concat(r(n,i,a,s))),p.indexOf(\"points\")!==-1&&(T=o(n,i,a)),s===\"closest\"?T?[T]:d:(T&&d.push(T),d)}function r(n,i,a,s){var c=n.cd,h=n.xa,p=n.ya,d=c[0].trace,T=c[0].t,l=d.type===\"violin\",_,w,M,E,m,b,v,u,y,f,P,L=T.bdPos,z,F,B=T.wHover,O=function(Ie){return M.c2l(Ie.pos)+T.bPos-M.c2l(b)};l&&d.side!==\"both\"?(d.side===\"positive\"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye,Ye+B,f)},z=L,F=0),d.side===\"negative\"&&(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye,f)},z=0,F=L)):(y=function(Ie){var Ye=O(Ie);return A.inbox(Ye-B,Ye+B,f)},z=F=L);var I;l?I=function(Ie){return A.inbox(Ie.span[0]-m,Ie.span[1]-m,f)}:I=function(Ie){return A.inbox(Ie.min-m,Ie.max-m,f)},d.orientation===\"h\"?(m=i,b=a,v=I,u=y,_=\"y\",M=p,w=\"x\",E=h):(m=a,b=i,v=y,u=I,_=\"x\",M=h,w=\"y\",E=p);var N=Math.min(1,L/Math.abs(M.r2c(M.range[1])-M.r2c(M.range[0])));f=n.maxHoverDistance-N,P=n.maxSpikeDistance-N;function U(Ie){return(v(Ie)+u(Ie))/2}var W=A.getDistanceFunction(s,v,u,U);if(A.getClosest(c,W,n),n.index===!1)return[];var Q=c[n.index],le=d.line.color,se=(d.marker||{}).color;S.opacity(le)&&d.line.width?n.color=le:S.opacity(se)&&d.boxpoints?n.color=se:n.color=d.fillcolor,n[_+\"0\"]=M.c2p(Q.pos+T.bPos-F,!0),n[_+\"1\"]=M.c2p(Q.pos+T.bPos+z,!0),n[_+\"LabelVal\"]=Q.orig_p!==void 0?Q.orig_p:Q.pos;var fe=_+\"Spike\";n.spikeDistance=U(Q)*P/f,n[fe]=M.c2p(Q.pos,!0);var G=d.boxmean||d.sizemode===\"sd\"||(d.meanline||{}).visible,$=d.boxpoints||d.points,J=$&&G?[\"max\",\"uf\",\"q3\",\"med\",\"mean\",\"q1\",\"lf\",\"min\"]:$&&!G?[\"max\",\"uf\",\"q3\",\"med\",\"q1\",\"lf\",\"min\"]:!$&&G?[\"max\",\"q3\",\"med\",\"mean\",\"q1\",\"min\"]:[\"max\",\"q3\",\"med\",\"q1\",\"min\"],X=E.range[1]0&&(o=!0);for(var s=0;st){var r=t-S[x];return S[x]=t,r}}else return S[x]=t,t;return 0},max:function(x,A,S,e){var t=e[A];if(g(t))if(t=Number(t),g(S[x])){if(S[x]v&&vS){var f=u===x?1:6,P=u===x?\"M12\":\"M1\";return function(L,z){var F=T.c2d(L,x,l),B=F.indexOf(\"-\",f);B>0&&(F=F.substr(0,B));var O=T.d2c(F,0,l);if(Or?c>S?c>x*1.1?x:c>A*1.1?A:S:c>e?e:c>t?t:r:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function a(c,h,p,d,T,l){if(d&&c>S){var _=s(h,T,l),w=s(p,T,l),M=c===x?0:1;return _[M]!==w[M]}return Math.floor(p/c)-Math.floor(h/c)>.1}function s(c,h,p){var d=h.c2d(c,x,p).split(\"-\");return d[0]===\"\"&&(d.unshift(),d[0]=\"-\"+d[0]),d}}}),G2=ke({\"src/traces/histogram/calc.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=lo(),S=Ho(),e=u0(),t=j2(),r=V2(),o=q2(),n=H2();function i(p,d){var T=[],l=[],_=d.orientation===\"h\",w=S.getFromId(p,_?d.yaxis:d.xaxis),M=_?\"y\":\"x\",E={x:\"y\",y:\"x\"}[M],m=d[M+\"calendar\"],b=d.cumulative,v,u=a(p,d,w,M),y=u[0],f=u[1],P=typeof y.size==\"string\",L=[],z=P?L:y,F=[],B=[],O=[],I=0,N=d.histnorm,U=d.histfunc,W=N.indexOf(\"density\")!==-1,Q,le,se;b.enabled&&W&&(N=N.replace(/ ?density$/,\"\"),W=!1);var fe=U===\"max\"||U===\"min\",G=fe?null:0,$=t.count,J=r[N],X=!1,re=function(pe){return w.r2c(pe,0,m)},ae;for(x.isArrayOrTypedArray(d[E])&&U!==\"count\"&&(ae=d[E],X=U===\"avg\",$=t[U]),v=re(y.start),le=re(y.end)+(v-S.tickIncrement(v,y.size,!1,m))/1e6;v=0&&se=tt;v--)if(l[v]){ut=v;break}for(v=tt;v<=ut;v++)if(g(T[v])&&g(l[v])){var Me={p:T[v],s:l[v],b:0};b.enabled||(Me.pts=O[v],ce?Me.ph0=Me.ph1=O[v].length?f[O[v][0]]:T[v]:(d._computePh=!0,Me.ph0=Ye(L[v]),Me.ph1=Ye(L[v+1],!0))),at.push(Me)}return at.length===1&&(at[0].width1=S.tickIncrement(at[0].p,y.size,!1,m)-at[0].p),e(at,d),x.isArrayOrTypedArray(d.selectedpoints)&&x.tagSelected(at,d,Ue),at}function a(p,d,T,l,_){var w=l+\"bins\",M=p._fullLayout,E=d[\"_\"+l+\"bingroup\"],m=M._histogramBinOpts[E],b=M.barmode===\"overlay\",v,u,y,f,P,L,z,F=function(Ie){return T.r2c(Ie,0,f)},B=function(Ie){return T.c2r(Ie,0,f)},O=T.type===\"date\"?function(Ie){return Ie||Ie===0?x.cleanDate(Ie,null,f):null}:function(Ie){return g(Ie)?Number(Ie):null};function I(Ie,Ye,it){Ye[Ie+\"Found\"]?(Ye[Ie]=O(Ye[Ie]),Ye[Ie]===null&&(Ye[Ie]=it[Ie])):(L[Ie]=Ye[Ie]=it[Ie],x.nestedProperty(u[0],w+\".\"+Ie).set(it[Ie]))}if(d[\"_\"+l+\"autoBinFinished\"])delete d[\"_\"+l+\"autoBinFinished\"];else{u=m.traces;var N=[],U=!0,W=!1,Q=!1;for(v=0;v\"u\"){if(_)return[se,P,!0];se=s(p,d,T,l,w)}z=y.cumulative||{},z.enabled&&z.currentbin!==\"include\"&&(z.direction===\"decreasing\"?se.start=B(S.tickIncrement(F(se.start),se.size,!0,f)):se.end=B(S.tickIncrement(F(se.end),se.size,!1,f))),m.size=se.size,m.sizeFound||(L.size=se.size,x.nestedProperty(u[0],w+\".size\").set(se.size)),I(\"start\",m,se),I(\"end\",m,se)}P=d[\"_\"+l+\"pos0\"],delete d[\"_\"+l+\"pos0\"];var G=d._input[w]||{},$=x.extendFlat({},m),J=m.start,X=T.r2l(G.start),re=X!==void 0;if((m.startFound||re)&&X!==T.r2l(J)){var ae=re?X:x.aggNums(Math.min,null,P),j={type:T.type===\"category\"||T.type===\"multicategory\"?\"linear\":T.type,r2l:T.r2l,dtick:m.size,tick0:J,calendar:f,range:[ae,S.tickIncrement(ae,m.size,!1,f)].map(T.l2r)},ee=S.tickFirst(j);ee>T.r2l(ae)&&(ee=S.tickIncrement(ee,m.size,!0,f)),$.start=T.l2r(ee),re||x.nestedProperty(d,w+\".start\").set($.start)}var ie=m.end,ce=T.r2l(G.end),xe=ce!==void 0;if((m.endFound||xe)&&ce!==T.r2l(ie)){var Te=xe?ce:x.aggNums(Math.max,null,P);$.end=T.l2r(Te),xe||x.nestedProperty(d,w+\".start\").set($.end)}var Ue=\"autobin\"+l;return d._input[Ue]===!1&&(d._input[w]=x.extendFlat({},d[w]||{}),delete d._input[Ue],delete d[Ue]),[$,P]}function s(p,d,T,l,_){var w=p._fullLayout,M=c(p,d),E=!1,m=1/0,b=[d],v,u,y;for(v=0;v=0;l--)E(l);else if(d===\"increasing\"){for(l=1;l=0;l--)p[l]+=p[l+1];T===\"exclude\"&&(p.push(0),p.shift())}}H.exports={calc:i,calcAllAutoBins:a}}}),jC=ke({\"src/traces/histogram2d/calc.js\"(Z,H){\"use strict\";var g=un(),x=Ho(),A=j2(),S=V2(),e=q2(),t=H2(),r=G2().calcAllAutoBins;H.exports=function(s,c){var h=x.getFromId(s,c.xaxis),p=x.getFromId(s,c.yaxis),d=c.xcalendar,T=c.ycalendar,l=function(Be){return h.r2c(Be,0,d)},_=function(Be){return p.r2c(Be,0,T)},w=function(Be){return h.c2r(Be,0,d)},M=function(Be){return p.c2r(Be,0,T)},E,m,b,v,u=r(s,c,h,\"x\"),y=u[0],f=u[1],P=r(s,c,p,\"y\"),L=P[0],z=P[1],F=c._length;f.length>F&&f.splice(F,f.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],O=[],I=[],N=typeof y.size==\"string\",U=typeof L.size==\"string\",W=[],Q=[],le=N?W:y,se=U?Q:L,fe=0,G=[],$=[],J=c.histnorm,X=c.histfunc,re=J.indexOf(\"density\")!==-1,ae=X===\"max\"||X===\"min\",j=ae?null:0,ee=A.count,ie=S[J],ce=!1,xe=[],Te=[],Ue=\"z\"in c?c.z:\"marker\"in c&&Array.isArray(c.marker.color)?c.marker.color:\"\";Ue&&X!==\"count\"&&(ce=X===\"avg\",ee=A[X]);var Ie=y.size,Ye=l(y.start),it=l(y.end)+(Ye-x.tickIncrement(Ye,Ie,!1,d))/1e6;for(E=Ye;E=0&&b=0&&vx;i++)n=e(r,o,S(n));return n>x&&g.log(\"interp2d didn't converge quickly\",n),r};function e(t,r,o){var n=0,i,a,s,c,h,p,d,T,l,_,w,M,E;for(c=0;cM&&(n=Math.max(n,Math.abs(t[a][s]-w)/(E-M))))}return n}}}),V_=ke({\"src/traces/heatmap/find_empties.js\"(Z,H){\"use strict\";var g=un().maxRowLength;H.exports=function(A){var S=[],e={},t=[],r=A[0],o=[],n=[0,0,0],i=g(A),a,s,c,h,p,d,T,l;for(s=0;s=0;p--)h=t[p],s=h[0],c=h[1],d=((e[[s-1,c]]||n)[2]+(e[[s+1,c]]||n)[2]+(e[[s,c-1]]||n)[2]+(e[[s,c+1]]||n)[2])/20,d&&(T[h]=[s,c,d],t.splice(p,1),l=!0);if(!l)throw\"findEmpties iterated with no new neighbors\";for(h in T)e[h]=T[h],S.push(T[h])}return S.sort(function(_,w){return w[2]-_[2]})}}}),W2=ke({\"src/traces/heatmap/make_bound_array.js\"(Z,H){\"use strict\";var g=lo(),x=un().isArrayOrTypedArray;H.exports=function(S,e,t,r,o,n){var i=[],a=g.traceIs(S,\"contour\"),s=g.traceIs(S,\"histogram\"),c,h,p,d=x(e)&&e.length>1;if(d&&!s&&n.type!==\"category\"){var T=e.length;if(T<=o){if(a)i=Array.from(e).slice(0,o);else if(o===1)n.type===\"log\"?i=[.5*e[0],2*e[0]]:i=[e[0]-.5,e[0]+.5];else if(n.type===\"log\"){for(i=[Math.pow(e[0],1.5)/Math.pow(e[1],.5)],p=1;p1){var J=($[$.length-1]-$[0])/($.length-1),X=Math.abs(J/100);for(F=0;F<$.length-1;F++)if(Math.abs($[F+1]-$[F]-J)>X)return!1}return!0}T._islinear=!1,l.type===\"log\"||_.type===\"log\"?E===\"fast\"&&I(\"log axis found\"):N(m)?N(y)?T._islinear=!0:E===\"fast\"&&I(\"y scale is not linear\"):E===\"fast\"&&I(\"x scale is not linear\");var U=x.maxRowLength(z),W=T.xtype===\"scaled\"?\"\":m,Q=a(T,W,b,v,U,l),le=T.ytype===\"scaled\"?\"\":y,se=a(T,le,f,P,z.length,_);T._extremes[l._id]=A.findExtremes(l,Q),T._extremes[_._id]=A.findExtremes(_,se);var fe={x:Q,y:se,z,text:T._text||T.text,hovertext:T._hovertext||T.hovertext};if(T.xperiodalignment&&u&&(fe.orig_x=u),T.yperiodalignment&&L&&(fe.orig_y=L),W&&W.length===Q.length-1&&(fe.xCenter=W),le&&le.length===se.length-1&&(fe.yCenter=le),M&&(fe.xRanges=B.xRanges,fe.yRanges=B.yRanges,fe.pts=B.pts),w||t(d,T,{vals:z,cLetter:\"z\"}),w&&T.contours&&T.contours.coloring===\"heatmap\"){var G={type:T.type===\"contour\"?\"heatmap\":\"histogram2d\",xcalendar:T.xcalendar,ycalendar:T.ycalendar};fe.xfill=a(G,W,b,v,U,l),fe.yfill=a(G,le,f,P,z.length,_)}return[fe]};function c(p){for(var d=[],T=p.length,l=0;l0;)re=y.c2p(N[ie]),ie--;for(re0;)ee=f.c2p(U[ie]),ie--;ee=y._length||re<=0||j>=f._length||ee<=0;if(it){var at=L.selectAll(\"image\").data([]);at.exit().remove(),_(L);return}var tt,ut;Te===\"fast\"?(tt=G,ut=fe):(tt=Ie,ut=Ye);var Me=document.createElement(\"canvas\");Me.width=tt,Me.height=ut;var pe=Me.getContext(\"2d\",{willReadFrequently:!0}),ue=a(F,{noNumericCheck:!0,returnArray:!0}),Oe,rt;Te===\"fast\"?(Oe=$?function(Dn){return G-1-Dn}:t.identity,rt=J?function(Dn){return fe-1-Dn}:t.identity):(Oe=function(Dn){return t.constrain(Math.round(y.c2p(N[Dn])-X),0,Ie)},rt=function(Dn){return t.constrain(Math.round(f.c2p(U[Dn])-j),0,Ye)});var ot=rt(0),et=[ot,ot],Lt=$?0:1,Et=J?0:1,Bt=0,qt=0,fr=0,ar=0,Rr,gr,br,_t,Be;function Ke(Dn,Ui){if(Dn!==void 0){var pi=ue(Dn);return pi[0]=Math.round(pi[0]),pi[1]=Math.round(pi[1]),pi[2]=Math.round(pi[2]),Bt+=Ui,qt+=pi[0]*Ui,fr+=pi[1]*Ui,ar+=pi[2]*Ui,pi}return[0,0,0,0]}function je(Dn,Ui,pi,Ta){var Sa=Dn[pi.bin0];if(Sa===void 0)return Ke(void 0,1);var qa=Dn[pi.bin1],to=Ui[pi.bin0],yo=Ui[pi.bin1],Xa=qa-Sa||0,Go=to-Sa||0,pa;return qa===void 0?yo===void 0?pa=0:to===void 0?pa=2*(yo-Sa):pa=(2*yo-to-Sa)*2/3:yo===void 0?to===void 0?pa=0:pa=(2*Sa-qa-to)*2/3:to===void 0?pa=(2*yo-qa-Sa)*2/3:pa=yo+Sa-qa-to,Ke(Sa+pi.frac*Xa+Ta.frac*(Go+pi.frac*pa))}if(Te!==\"default\"){var Se=0,He;try{He=new Uint8Array(tt*ut*4)}catch{He=new Array(tt*ut*4)}if(Te===\"smooth\"){var Ee=W||N,we=Q||U,Le=new Array(Ee.length),nt=new Array(we.length),pt=new Array(Ie),bt=W?M:w,Rt=Q?M:w,Nt,Xt,$t;for(ie=0;ieWn||Wn>f._length))for(ce=$r;ceSn||Sn>y._length)){var ui=o({x:ri,y:Fn},F,m._fullLayout);ui.x=ri,ui.y=Fn;var gt=z.z[ie][ce];gt===void 0?(ui.z=\"\",ui.zLabel=\"\"):(ui.z=gt,ui.zLabel=e.tickText(Zt,gt,\"hover\").text);var yt=z.text&&z.text[ie]&&z.text[ie][ce];(yt===void 0||yt===!1)&&(yt=\"\"),ui.text=yt;var Pr=t.texttemplateString(Qn,ui,m._fullLayout._d3locale,ui,F._meta||{});if(Pr){var Ir=Pr.split(\"
\"),Tr=Ir.length,Mr=0;for(xe=0;xe=_[0].length||P<0||P>_.length)return}else{if(g.inbox(o-T[0],o-T[T.length-1],0)>0||g.inbox(n-l[0],n-l[l.length-1],0)>0)return;if(s){var L;for(b=[2*T[0]-T[1]],L=1;L=\",\">\",\"<=\"],COMPARISON_OPS2:[\"=\",\"<\",\">=\",\">\",\"<=\"],INTERVAL_OPS:[\"[]\",\"()\",\"[)\",\"(]\",\"][\",\")(\",\"](\",\")[\"],SET_OPS:[\"{}\",\"}{\"],CONSTRAINT_REDUCTION:{\"=\":\"=\",\"<\":\"<\",\"<=\":\"<\",\">\":\">\",\">=\":\">\",\"[]\":\"[]\",\"()\":\"[]\",\"[)\":\"[]\",\"(]\":\"[]\",\"][\":\"][\",\")(\":\"][\",\"](\":\"][\",\")[\":\"][\"}}}}),v0=ke({\"src/traces/contour/attributes.js\"(Z,H){\"use strict\";var g=ty(),x=Cc(),A=Sc(),S=A.axisHoverFormat,e=A.descriptionOnlyNumbers,t=ou(),r=xh().dash,o=Il(),n=To().extendFlat,i=J_(),a=i.COMPARISON_OPS2,s=i.INTERVAL_OPS,c=x.line;H.exports=n({z:g.z,x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:x.xperiod0,yperiod0:x.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,text:g.text,hovertext:g.hovertext,transpose:g.transpose,xtype:g.xtype,ytype:g.ytype,xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\",1),hovertemplate:g.hovertemplate,texttemplate:n({},g.texttemplate,{}),textfont:n({},g.textfont,{}),hoverongaps:g.hoverongaps,connectgaps:n({},g.connectgaps,{}),fillcolor:{valType:\"color\",editType:\"calc\"},autocontour:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"contours.start\":void 0,\"contours.end\":void 0,\"contours.size\":void 0}},ncontours:{valType:\"integer\",dflt:15,min:1,editType:\"calc\"},contours:{type:{valType:\"enumerated\",values:[\"levels\",\"constraint\"],dflt:\"levels\",editType:\"calc\"},start:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},end:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},size:{valType:\"number\",dflt:null,min:0,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},coloring:{valType:\"enumerated\",values:[\"fill\",\"heatmap\",\"lines\",\"none\"],dflt:\"fill\",editType:\"calc\"},showlines:{valType:\"boolean\",dflt:!0,editType:\"plot\"},showlabels:{valType:\"boolean\",dflt:!1,editType:\"plot\"},labelfont:o({editType:\"plot\",colorEditType:\"style\"}),labelformat:{valType:\"string\",dflt:\"\",editType:\"plot\",description:e(\"contour label\")},operation:{valType:\"enumerated\",values:[].concat(a).concat(s),dflt:\"=\",editType:\"calc\"},value:{valType:\"any\",dflt:0,editType:\"calc\"},editType:\"calc\",impliedEdits:{autocontour:!1}},line:{color:n({},c.color,{editType:\"style+colorbars\"}),width:{valType:\"number\",min:0,editType:\"style+colorbars\"},dash:r,smoothing:n({},c.smoothing,{}),editType:\"plot\"},zorder:x.zorder},t(\"\",{cLetter:\"z\",autoColorDflt:!1,editTypeOverride:\"calc\"}))}}),J2=ke({\"src/traces/histogram2dcontour/attributes.js\"(Z,H){\"use strict\";var g=K_(),x=v0(),A=ou(),S=Sc().axisHoverFormat,e=To().extendFlat;H.exports=e({x:g.x,y:g.y,z:g.z,marker:g.marker,histnorm:g.histnorm,histfunc:g.histfunc,nbinsx:g.nbinsx,xbins:g.xbins,nbinsy:g.nbinsy,ybins:g.ybins,autobinx:g.autobinx,autobiny:g.autobiny,bingroup:g.bingroup,xbingroup:g.xbingroup,ybingroup:g.ybingroup,autocontour:x.autocontour,ncontours:x.ncontours,contours:x.contours,line:{color:x.line.color,width:e({},x.line.width,{dflt:.5}),dash:x.line.dash,smoothing:x.line.smoothing,editType:\"plot\"},xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\",1),hovertemplate:g.hovertemplate,texttemplate:x.texttemplate,textfont:x.textfont},A(\"\",{cLetter:\"z\",editTypeOverride:\"calc\"}))}}),$_=ke({\"src/traces/contour/contours_defaults.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e){var t=e(\"contours.start\"),r=e(\"contours.end\"),o=t===!1||r===!1,n=S(\"contours.size\"),i;o?i=A.autocontour=!0:i=S(\"autocontour\",!1),(i||!n)&&S(\"ncontours\")}}}),$2=ke({\"src/traces/contour/label_defaults.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S,e,t){t||(t={});var r=A(\"contours.showlabels\");if(r){var o=S.font;g.coerceFont(A,\"contours.labelfont\",o,{overrideDflt:{color:e}}),A(\"contours.labelformat\")}t.hasHover!==!1&&A(\"zhoverformat\")}}}),Q_=ke({\"src/traces/contour/style_defaults.js\"(Z,H){\"use strict\";var g=Kf(),x=$2();H.exports=function(S,e,t,r,o){var n=t(\"contours.coloring\"),i,a=\"\";n===\"fill\"&&(i=t(\"contours.showlines\")),i!==!1&&(n!==\"lines\"&&(a=t(\"line.color\",\"#000\")),t(\"line.width\",.5),t(\"line.dash\")),n!==\"none\"&&(S.showlegend!==!0&&(e.showlegend=!1),e._dfltShowLegend=!1,g(S,e,r,t,{prefix:\"\",cLetter:\"z\"})),t(\"line.smoothing\"),x(t,r,a,o)}}}),QC=ke({\"src/traces/histogram2dcontour/defaults.js\"(Z,H){\"use strict\";var g=un(),x=K2(),A=$_(),S=Q_(),e=d0(),t=J2();H.exports=function(o,n,i,a){function s(h,p){return g.coerce(o,n,t,h,p)}function c(h){return g.coerce2(o,n,t,h)}x(o,n,s,a),n.visible!==!1&&(A(o,n,s,c),S(o,n,s,a),s(\"xhoverformat\"),s(\"yhoverformat\"),s(\"hovertemplate\"),n.contours&&n.contours.coloring===\"heatmap\"&&e(s,a))}}}),Q2=ke({\"src/traces/contour/set_contours.js\"(Z,H){\"use strict\";var g=Ho(),x=un();H.exports=function(e,t){var r=e.contours;if(e.autocontour){var o=e.zmin,n=e.zmax;(e.zauto||o===void 0)&&(o=x.aggNums(Math.min,null,t)),(e.zauto||n===void 0)&&(n=x.aggNums(Math.max,null,t));var i=A(o,n,e.ncontours);r.size=i.dtick,r.start=g.tickFirst(i),i.range.reverse(),r.end=g.tickFirst(i),r.start===o&&(r.start+=r.size),r.end===n&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),e._input.contours||(e._input.contours={}),x.extendFlat(e._input.contours,{start:r.start,end:r.end,size:r.size}),e._input.autocontour=!0}else if(r.type!==\"constraint\"){var a=r.start,s=r.end,c=e._input.contours;if(a>s&&(r.start=c.start=s,s=r.end=c.end=a,a=r.start),!(r.size>0)){var h;a===s?h=1:h=A(a,s,e.ncontours).dtick,c.size=r.size=h}}};function A(S,e,t){var r={type:\"linear\",range:[S,e]};return g.autoTicks(r,(e-S)/(t||15)),r}}}),p0=ke({\"src/traces/contour/end_plus.js\"(Z,H){\"use strict\";H.exports=function(x){return x.end+x.size/1e6}}}),e3=ke({\"src/traces/contour/calc.js\"(Z,H){\"use strict\";var g=ku(),x=q_(),A=Q2(),S=p0();H.exports=function(t,r){var o=x(t,r),n=o[0].z;A(r,n);var i=r.contours,a=g.extractOpts(r),s;if(i.coloring===\"heatmap\"&&a.auto&&r.autocontour===!1){var c=i.start,h=S(i),p=i.size||1,d=Math.floor((h-c)/p)+1;isFinite(p)||(p=1,d=1);var T=c-p/2,l=T+d*p;s=[T,l]}else s=n;return g.calc(t,r,{vals:s,cLetter:\"z\"}),o}}}),m0=ke({\"src/traces/contour/constants.js\"(Z,H){\"use strict\";H.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}}}),t3=ke({\"src/traces/contour/make_crossings.js\"(Z,H){\"use strict\";var g=m0();H.exports=function(S){var e=S[0].z,t=e.length,r=e[0].length,o=t===2||r===2,n,i,a,s,c,h,p,d,T;for(i=0;iA?0:1)+(S[0][1]>A?0:2)+(S[1][1]>A?0:4)+(S[1][0]>A?0:8);if(e===5||e===10){var t=(S[0][0]+S[0][1]+S[1][0]+S[1][1])/4;return A>t?e===5?713:1114:e===5?104:208}return e===15?0:e}}}),r3=ke({\"src/traces/contour/find_all_paths.js\"(Z,H){\"use strict\";var g=un(),x=m0();H.exports=function(n,i,a){var s,c,h,p,d;for(i=i||.01,a=a||.01,h=0;h20?(h=x.CHOOSESADDLE[h][(p[0]||p[1])<0?0:1],o.crossings[c]=x.SADDLEREMAINDER[h]):delete o.crossings[c],p=x.NEWDELTA[h],!p){g.log(\"Found bad marching index:\",h,n,o.level);break}d.push(r(o,n,p)),n[0]+=p[0],n[1]+=p[1],c=n.join(\",\"),A(d[d.length-1],d[d.length-2],a,s)&&d.pop();var E=p[0]&&(n[0]<0||n[0]>l-2)||p[1]&&(n[1]<0||n[1]>T-2),m=n[0]===_[0]&&n[1]===_[1]&&p[0]===w[0]&&p[1]===w[1];if(m||i&&E)break;h=o.crossings[c]}M===1e4&&g.log(\"Infinite loop in contour?\");var b=A(d[0],d[d.length-1],a,s),v=0,u=.2*o.smoothing,y=[],f=0,P,L,z,F,B,O,I,N,U,W,Q;for(M=1;M=f;M--)if(P=y[M],P=f&&P+y[L]N&&U--,o.edgepaths[U]=Q.concat(d,W));break}G||(o.edgepaths[N]=d.concat(W))}for(N=0;N20&&n?o===208||o===1114?a=i[0]===0?1:-1:s=i[1]===0?1:-1:x.BOTTOMSTART.indexOf(o)!==-1?s=1:x.LEFTSTART.indexOf(o)!==-1?a=1:x.TOPSTART.indexOf(o)!==-1?s=-1:a=-1,[a,s]}function r(o,n,i){var a=n[0]+Math.max(i[0],0),s=n[1]+Math.max(i[1],0),c=o.z[s][a],h=o.xaxis,p=o.yaxis;if(i[1]){var d=(o.level-c)/(o.z[s][a+1]-c),T=(d!==1?(1-d)*h.c2l(o.x[a]):0)+(d!==0?d*h.c2l(o.x[a+1]):0);return[h.c2p(h.l2c(T),!0),p.c2p(o.y[s],!0),a+d,s]}else{var l=(o.level-c)/(o.z[s+1][a]-c),_=(l!==1?(1-l)*p.c2l(o.y[s]):0)+(l!==0?l*p.c2l(o.y[s+1]):0);return[h.c2p(o.x[a],!0),p.c2p(p.l2c(_),!0),a,s+l]}}}}),ek=ke({\"src/traces/contour/constraint_mapping.js\"(Z,H){\"use strict\";var g=J_(),x=Yn();H.exports={\"[]\":S(\"[]\"),\"][\":S(\"][\"),\">\":e(\">\"),\"<\":e(\"<\"),\"=\":e(\"=\")};function A(t,r){var o=Array.isArray(r),n;function i(a){return x(a)?+a:null}return g.COMPARISON_OPS2.indexOf(t)!==-1?n=i(o?r[0]:r):g.INTERVAL_OPS.indexOf(t)!==-1?n=o?[i(r[0]),i(r[1])]:[i(r),i(r)]:g.SET_OPS.indexOf(t)!==-1&&(n=o?r.map(i):[i(r)]),n}function S(t){return function(r){r=A(t,r);var o=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]);return{start:o,end:n,size:n-o}}}function e(t){return function(r){return r=A(t,r),{start:r,end:1/0,size:1/0}}}}}),n3=ke({\"src/traces/contour/empty_pathinfo.js\"(Z,H){\"use strict\";var g=un(),x=ek(),A=p0();H.exports=function(e,t,r){for(var o=e.type===\"constraint\"?x[e._operation](e.value):e,n=o.size,i=[],a=A(o),s=r.trace._carpetTrace,c=s?{xaxis:s.aaxis,yaxis:s.baxis,x:r.a,y:r.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y},h=o.start;h1e3){g.warn(\"Too many contours, clipping at 1000\",e);break}return i}}}),i3=ke({\"src/traces/contour/convert_to_constraints.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e,t,r,o=function(a){return a.reverse()},n=function(a){return a};switch(S){case\"=\":case\"<\":return A;case\">\":for(A.length!==1&&g.warn(\"Contour data invalid for the specified inequality operation.\"),t=A[0],e=0;er.level||r.starts.length&&t===r.level)}break;case\"constraint\":if(A.prefixBoundary=!1,A.edgepaths.length)return;var o=A.x.length,n=A.y.length,i=-1/0,a=1/0;for(e=0;e\":s>i&&(A.prefixBoundary=!0);break;case\"<\":(si||A.starts.length&&h===a)&&(A.prefixBoundary=!0);break;case\"][\":c=Math.min(s[0],s[1]),h=Math.max(s[0],s[1]),ci&&(A.prefixBoundary=!0);break}break}}}}),ex=ke({\"src/traces/contour/plot.js\"(Z){\"use strict\";var H=_i(),g=un(),x=$o(),A=ku(),S=Wl(),e=Ho(),t=Cv(),r=G_(),o=t3(),n=r3(),i=n3(),a=i3(),s=a3(),c=m0(),h=c.LABELOPTIMIZER;Z.plot=function(m,b,v,u){var y=b.xaxis,f=b.yaxis;g.makeTraceGroups(u,v,\"contour\").each(function(P){var L=H.select(this),z=P[0],F=z.trace,B=z.x,O=z.y,I=F.contours,N=i(I,b,z),U=g.ensureSingle(L,\"g\",\"heatmapcoloring\"),W=[];I.coloring===\"heatmap\"&&(W=[P]),r(m,b,W,U),o(N),n(N);var Q=y.c2p(B[0],!0),le=y.c2p(B[B.length-1],!0),se=f.c2p(O[0],!0),fe=f.c2p(O[O.length-1],!0),G=[[Q,fe],[le,fe],[le,se],[Q,se]],$=N;I.type===\"constraint\"&&($=a(N,I._operation)),p(L,G,I),d(L,$,G,I),l(L,N,m,z,I),w(L,b,m,z,G)})};function p(E,m,b){var v=g.ensureSingle(E,\"g\",\"contourbg\"),u=v.selectAll(\"path\").data(b.coloring===\"fill\"?[0]:[]);u.enter().append(\"path\"),u.exit().remove(),u.attr(\"d\",\"M\"+m.join(\"L\")+\"Z\").style(\"stroke\",\"none\")}function d(E,m,b,v){var u=v.coloring===\"fill\"||v.type===\"constraint\"&&v._operation!==\"=\",y=\"M\"+b.join(\"L\")+\"Z\";u&&s(m,v);var f=g.ensureSingle(E,\"g\",\"contourfill\"),P=f.selectAll(\"path\").data(u?m:[]);P.enter().append(\"path\"),P.exit().remove(),P.each(function(L){var z=(L.prefixBoundary?y:\"\")+T(L,b);z?H.select(this).attr(\"d\",z).style(\"stroke\",\"none\"):H.select(this).remove()})}function T(E,m){var b=\"\",v=0,u=E.edgepaths.map(function(Q,le){return le}),y=!0,f,P,L,z,F,B;function O(Q){return Math.abs(Q[1]-m[0][1])<.01}function I(Q){return Math.abs(Q[1]-m[2][1])<.01}function N(Q){return Math.abs(Q[0]-m[0][0])<.01}function U(Q){return Math.abs(Q[0]-m[2][0])<.01}for(;u.length;){for(B=x.smoothopen(E.edgepaths[v],E.smoothing),b+=y?B:B.replace(/^M/,\"L\"),u.splice(u.indexOf(v),1),f=E.edgepaths[v][E.edgepaths[v].length-1],z=-1,L=0;L<4;L++){if(!f){g.log(\"Missing end?\",v,E);break}for(O(f)&&!U(f)?P=m[1]:N(f)?P=m[0]:I(f)?P=m[3]:U(f)&&(P=m[2]),F=0;F=0&&(P=W,z=F):Math.abs(f[1]-P[1])<.01?Math.abs(f[1]-W[1])<.01&&(W[0]-f[0])*(P[0]-W[0])>=0&&(P=W,z=F):g.log(\"endpt to newendpt is not vert. or horz.\",f,P,W)}if(f=P,z>=0)break;b+=\"L\"+P}if(z===E.edgepaths.length){g.log(\"unclosed perimeter path\");break}v=z,y=u.indexOf(v)===-1,y&&(v=u[0],b+=\"Z\")}for(v=0;vh.MAXCOST*2)break;O&&(P/=2),f=z-P/2,L=f+P*1.5}if(B<=h.MAXCOST)return F};function _(E,m,b,v){var u=m.width/2,y=m.height/2,f=E.x,P=E.y,L=E.theta,z=Math.cos(L)*u,F=Math.sin(L)*u,B=(f>v.center?v.right-f:f-v.left)/(z+Math.abs(Math.sin(L)*y)),O=(P>v.middle?v.bottom-P:P-v.top)/(Math.abs(F)+Math.cos(L)*y);if(B<1||O<1)return 1/0;var I=h.EDGECOST*(1/(B-1)+1/(O-1));I+=h.ANGLECOST*L*L;for(var N=f-z,U=P-F,W=f+z,Q=P+F,le=0;le=w)&&(r<=_&&(r=_),o>=w&&(o=w),i=Math.floor((o-r)/n)+1,a=0),l=0;l_&&(p.unshift(_),d.unshift(d[0])),p[p.length-1]2?s.value=s.value.slice(2):s.length===0?s.value=[0,1]:s.length<2?(c=parseFloat(s.value[0]),s.value=[c,c+1]):s.value=[parseFloat(s.value[0]),parseFloat(s.value[1])]:g(s.value)&&(c=parseFloat(s.value),s.value=[c,c+1])):(a(\"contours.value\",0),g(s.value)||(r(s.value)?s.value=parseFloat(s.value[0]):s.value=0))}}}),nk=ke({\"src/traces/contour/defaults.js\"(Z,H){\"use strict\";var g=un(),x=B_(),A=hv(),S=l3(),e=$_(),t=Q_(),r=d0(),o=v0();H.exports=function(i,a,s,c){function h(l,_){return g.coerce(i,a,o,l,_)}function p(l){return g.coerce2(i,a,o,l)}var d=x(i,a,h,c);if(!d){a.visible=!1;return}A(i,a,c,h),h(\"xhoverformat\"),h(\"yhoverformat\"),h(\"text\"),h(\"hovertext\"),h(\"hoverongaps\"),h(\"hovertemplate\");var T=h(\"contours.type\")===\"constraint\";h(\"connectgaps\",g.isArray1D(a.z)),T?S(i,a,h,c,s):(e(i,a,h,p),t(i,a,h,c)),a.contours&&a.contours.coloring===\"heatmap\"&&r(h,c),h(\"zorder\")}}}),ik=ke({\"src/traces/contour/index.js\"(Z,H){\"use strict\";H.exports={attributes:v0(),supplyDefaults:nk(),calc:e3(),plot:ex().plot,style:tx(),colorbar:rx(),hoverPoints:s3(),moduleType:\"trace\",name:\"contour\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"2dMap\",\"contour\",\"showLegend\"],meta:{}}}}),ak=ke({\"lib/contour.js\"(Z,H){\"use strict\";H.exports=ik()}}),u3=ke({\"src/traces/scatterternary/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Cc(),e=Ol(),t=ou(),r=xh().dash,o=To().extendFlat,n=S.marker,i=S.line,a=n.line;H.exports={a:{valType:\"data_array\",editType:\"calc\"},b:{valType:\"data_array\",editType:\"calc\"},c:{valType:\"data_array\",editType:\"calc\"},sum:{valType:\"number\",dflt:0,min:0,editType:\"calc\"},mode:o({},S.mode,{dflt:\"markers\"}),text:o({},S.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"a\",\"b\",\"c\",\"text\"]}),hovertext:o({},S.hovertext,{}),line:{color:i.color,width:i.width,dash:r,backoff:i.backoff,shape:o({},i.shape,{values:[\"linear\",\"spline\"]}),smoothing:i.smoothing,editType:\"calc\"},connectgaps:S.connectgaps,cliponaxis:S.cliponaxis,fill:o({},S.fill,{values:[\"none\",\"toself\",\"tonext\"],dflt:\"none\"}),fillcolor:A(),marker:o({symbol:n.symbol,opacity:n.opacity,angle:n.angle,angleref:n.angleref,standoff:n.standoff,maxdisplayed:n.maxdisplayed,size:n.size,sizeref:n.sizeref,sizemin:n.sizemin,sizemode:n.sizemode,line:o({width:a.width,editType:\"calc\"},t(\"marker.line\")),gradient:n.gradient,editType:\"calc\"},t(\"marker\")),textfont:S.textfont,textposition:S.textposition,selected:S.selected,unselected:S.unselected,hoverinfo:o({},e.hoverinfo,{flags:[\"a\",\"b\",\"c\",\"text\",\"name\"]}),hoveron:S.hoveron,hovertemplate:g()}}}),ok=ke({\"src/traces/scatterternary/defaults.js\"(Z,H){\"use strict\";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=u3();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}var d=p(\"a\"),T=p(\"b\"),l=p(\"c\"),_;if(d?(_=d.length,T?(_=Math.min(_,T.length),l&&(_=Math.min(_,l.length))):l?_=Math.min(_,l.length):_=0):T&&l&&(_=Math.min(T.length,l.length)),!_){s.visible=!1;return}s._length=_,p(\"sum\"),p(\"text\"),p(\"hovertext\"),s.hoveron!==\"fills\"&&p(\"hovertemplate\");var w=_\"),o.hovertemplate=h.hovertemplate,r}}}),fk=ke({\"src/traces/scatterternary/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){if(A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),e[t]){var r=e[t];x.a=r.a,x.b=r.b,x.c=r.c}else x.a=A.a,x.b=A.b,x.c=A.c;return x}}}),hk=ke({\"src/plots/ternary/ternary.js\"(Z,H){\"use strict\";var g=_i(),x=ru(),A=lo(),S=un(),e=S.strTranslate,t=S._,r=eo(),o=$o(),n=Cv(),i=To().extendFlat,a=Zu(),s=Ho(),c=Xh(),h=Ec(),p=cv(),d=p.freeMode,T=p.rectMode,l=Im(),_=tf().prepSelect,w=tf().selectOnClick,M=tf().clearOutline,E=tf().clearSelectionsCache,m=oh();function b(I,N){this.id=I.id,this.graphDiv=I.graphDiv,this.init(N),this.makeFramework(N),this.updateFx(N),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}H.exports=b;var v=b.prototype;v.init=function(I){this.container=I._ternarylayer,this.defs=I._defs,this.layoutId=I._uid,this.traceHash={},this.layers={}},v.plot=function(I,N){var U=this,W=N[U.id],Q=N._size;U._hasClipOnAxisFalse=!1;for(var le=0;leu*$?(ce=$,ie=ce*u):(ie=G,ce=ie/u),xe=se*ie/G,Te=fe*ce/$,j=N.l+N.w*Q-ie/2,ee=N.t+N.h*(1-le)-ce/2,U.x0=j,U.y0=ee,U.w=ie,U.h=ce,U.sum=J,U.xaxis={type:\"linear\",range:[X+2*ae-J,J-X-2*re],domain:[Q-xe/2,Q+xe/2],_id:\"x\"},n(U.xaxis,U.graphDiv._fullLayout),U.xaxis.setScale(),U.xaxis.isPtWithinRange=function(Oe){return Oe.a>=U.aaxis.range[0]&&Oe.a<=U.aaxis.range[1]&&Oe.b>=U.baxis.range[1]&&Oe.b<=U.baxis.range[0]&&Oe.c>=U.caxis.range[1]&&Oe.c<=U.caxis.range[0]},U.yaxis={type:\"linear\",range:[X,J-re-ae],domain:[le-Te/2,le+Te/2],_id:\"y\"},n(U.yaxis,U.graphDiv._fullLayout),U.yaxis.setScale(),U.yaxis.isPtWithinRange=function(){return!0};var Ue=U.yaxis.domain[0],Ie=U.aaxis=i({},I.aaxis,{range:[X,J-re-ae],side:\"left\",tickangle:(+I.aaxis.tickangle||0)-30,domain:[Ue,Ue+Te*u],anchor:\"free\",position:0,_id:\"y\",_length:ie});n(Ie,U.graphDiv._fullLayout),Ie.setScale();var Ye=U.baxis=i({},I.baxis,{range:[J-X-ae,re],side:\"bottom\",domain:U.xaxis.domain,anchor:\"free\",position:0,_id:\"x\",_length:ie});n(Ye,U.graphDiv._fullLayout),Ye.setScale();var it=U.caxis=i({},I.caxis,{range:[J-X-re,ae],side:\"right\",tickangle:(+I.caxis.tickangle||0)+30,domain:[Ue,Ue+Te*u],anchor:\"free\",position:0,_id:\"y\",_length:ie});n(it,U.graphDiv._fullLayout),it.setScale();var at=\"M\"+j+\",\"+(ee+ce)+\"h\"+ie+\"l-\"+ie/2+\",-\"+ce+\"Z\";U.clipDef.select(\"path\").attr(\"d\",at),U.layers.plotbg.select(\"path\").attr(\"d\",at);var tt=\"M0,\"+ce+\"h\"+ie+\"l-\"+ie/2+\",-\"+ce+\"Z\";U.clipDefRelative.select(\"path\").attr(\"d\",tt);var ut=e(j,ee);U.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",ut),U.clipDefRelative.select(\"path\").attr(\"transform\",null);var Me=e(j-Ye._offset,ee+ce);U.layers.baxis.attr(\"transform\",Me),U.layers.bgrid.attr(\"transform\",Me);var pe=e(j+ie/2,ee)+\"rotate(30)\"+e(0,-Ie._offset);U.layers.aaxis.attr(\"transform\",pe),U.layers.agrid.attr(\"transform\",pe);var ue=e(j+ie/2,ee)+\"rotate(-30)\"+e(0,-it._offset);U.layers.caxis.attr(\"transform\",ue),U.layers.cgrid.attr(\"transform\",ue),U.drawAxes(!0),U.layers.aline.select(\"path\").attr(\"d\",Ie.showline?\"M\"+j+\",\"+(ee+ce)+\"l\"+ie/2+\",-\"+ce:\"M0,0\").call(r.stroke,Ie.linecolor||\"#000\").style(\"stroke-width\",(Ie.linewidth||0)+\"px\"),U.layers.bline.select(\"path\").attr(\"d\",Ye.showline?\"M\"+j+\",\"+(ee+ce)+\"h\"+ie:\"M0,0\").call(r.stroke,Ye.linecolor||\"#000\").style(\"stroke-width\",(Ye.linewidth||0)+\"px\"),U.layers.cline.select(\"path\").attr(\"d\",it.showline?\"M\"+(j+ie/2)+\",\"+ee+\"l\"+ie/2+\",\"+ce:\"M0,0\").call(r.stroke,it.linecolor||\"#000\").style(\"stroke-width\",(it.linewidth||0)+\"px\"),U.graphDiv._context.staticPlot||U.initInteractions(),o.setClipUrl(U.layers.frontplot,U._hasClipOnAxisFalse?null:U.clipId,U.graphDiv)},v.drawAxes=function(I){var N=this,U=N.graphDiv,W=N.id.substr(7)+\"title\",Q=N.layers,le=N.aaxis,se=N.baxis,fe=N.caxis;if(N.drawAx(le),N.drawAx(se),N.drawAx(fe),I){var G=Math.max(le.showticklabels?le.tickfont.size/2:0,(fe.showticklabels?fe.tickfont.size*.75:0)+(fe.ticks===\"outside\"?fe.ticklen*.87:0)),$=(se.showticklabels?se.tickfont.size:0)+(se.ticks===\"outside\"?se.ticklen:0)+3;Q[\"a-title\"]=l.draw(U,\"a\"+W,{propContainer:le,propName:N.id+\".aaxis.title\",placeholder:t(U,\"Click to enter Component A title\"),attributes:{x:N.x0+N.w/2,y:N.y0-le.title.font.size/3-G,\"text-anchor\":\"middle\"}}),Q[\"b-title\"]=l.draw(U,\"b\"+W,{propContainer:se,propName:N.id+\".baxis.title\",placeholder:t(U,\"Click to enter Component B title\"),attributes:{x:N.x0-$,y:N.y0+N.h+se.title.font.size*.83+$,\"text-anchor\":\"middle\"}}),Q[\"c-title\"]=l.draw(U,\"c\"+W,{propContainer:fe,propName:N.id+\".caxis.title\",placeholder:t(U,\"Click to enter Component C title\"),attributes:{x:N.x0+N.w+$,y:N.y0+N.h+fe.title.font.size*.83+$,\"text-anchor\":\"middle\"}})}},v.drawAx=function(I){var N=this,U=N.graphDiv,W=I._name,Q=W.charAt(0),le=I._id,se=N.layers[W],fe=30,G=Q+\"tickLayout\",$=y(I);N[G]!==$&&(se.selectAll(\".\"+le+\"tick\").remove(),N[G]=$),I.setScale();var J=s.calcTicks(I),X=s.clipEnds(I,J),re=s.makeTransTickFn(I),ae=s.getTickSigns(I)[2],j=S.deg2rad(fe),ee=ae*(I.linewidth||1)/2,ie=ae*I.ticklen,ce=N.w,xe=N.h,Te=Q===\"b\"?\"M0,\"+ee+\"l\"+Math.sin(j)*ie+\",\"+Math.cos(j)*ie:\"M\"+ee+\",0l\"+Math.cos(j)*ie+\",\"+-Math.sin(j)*ie,Ue={a:\"M0,0l\"+xe+\",-\"+ce/2,b:\"M0,0l-\"+ce/2+\",-\"+xe,c:\"M0,0l-\"+xe+\",\"+ce/2}[Q];s.drawTicks(U,I,{vals:I.ticks===\"inside\"?X:J,layer:se,path:Te,transFn:re,crisp:!1}),s.drawGrid(U,I,{vals:X,layer:N.layers[Q+\"grid\"],path:Ue,transFn:re,crisp:!1}),s.drawLabels(U,I,{vals:J,layer:se,transFn:re,labelFns:s.makeLabelFns(I,0,fe)})};function y(I){return I.ticks+String(I.ticklen)+String(I.showticklabels)}var f=m.MINZOOM/2+.87,P=\"m-0.87,.5h\"+f+\"v3h-\"+(f+5.2)+\"l\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l2.6,1.5l-\"+f/2+\",\"+f*.87+\"Z\",L=\"m0.87,.5h-\"+f+\"v3h\"+(f+5.2)+\"l-\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l-2.6,1.5l\"+f/2+\",\"+f*.87+\"Z\",z=\"m0,1l\"+f/2+\",\"+f*.87+\"l2.6,-1.5l-\"+(f/2+2.6)+\",-\"+(f*.87+4.5)+\"l-\"+(f/2+2.6)+\",\"+(f*.87+4.5)+\"l2.6,1.5l\"+f/2+\",-\"+f*.87+\"Z\",F=\"m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z\",B=!0;v.clearOutline=function(){E(this.dragOptions),M(this.dragOptions.gd)},v.initInteractions=function(){var I=this,N=I.layers.plotbg.select(\"path\").node(),U=I.graphDiv,W=U._fullLayout._zoomlayer,Q,le;this.dragOptions={element:N,gd:U,plotinfo:{id:I.id,domain:U._fullLayout[I.id].domain,xaxis:I.xaxis,yaxis:I.yaxis},subplot:I.id,prepFn:function(Me,pe,ue){I.dragOptions.xaxes=[I.xaxis],I.dragOptions.yaxes=[I.yaxis],Q=U._fullLayout._invScaleX,le=U._fullLayout._invScaleY;var Oe=I.dragOptions.dragmode=U._fullLayout.dragmode;d(Oe)?I.dragOptions.minDrag=1:I.dragOptions.minDrag=void 0,Oe===\"zoom\"?(I.dragOptions.moveFn=Ye,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=it,xe(Me,pe,ue)):Oe===\"pan\"?(I.dragOptions.moveFn=tt,I.dragOptions.clickFn=ce,I.dragOptions.doneFn=ut,at(),I.clearOutline(U)):(T(Oe)||d(Oe))&&_(Me,pe,ue,I.dragOptions,Oe)}};var se,fe,G,$,J,X,re,ae,j,ee;function ie(Me){var pe={};return pe[I.id+\".aaxis.min\"]=Me.a,pe[I.id+\".baxis.min\"]=Me.b,pe[I.id+\".caxis.min\"]=Me.c,pe}function ce(Me,pe){var ue=U._fullLayout.clickmode;O(U),Me===2&&(U.emit(\"plotly_doubleclick\",null),A.call(\"_guiRelayout\",U,ie({a:0,b:0,c:0}))),ue.indexOf(\"select\")>-1&&Me===1&&w(pe,U,[I.xaxis],[I.yaxis],I.id,I.dragOptions),ue.indexOf(\"event\")>-1&&h.click(U,pe,I.id)}function xe(Me,pe,ue){var Oe=N.getBoundingClientRect();se=pe-Oe.left,fe=ue-Oe.top,U._fullLayout._calcInverseTransform(U);var rt=U._fullLayout._invTransform,ot=S.apply3DTransform(rt)(se,fe);se=ot[0],fe=ot[1],G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G,$=I.aaxis.range[1]-G.a,X=x(I.graphDiv._fullLayout[I.id].bgcolor).getLuminance(),re=\"M0,\"+I.h+\"L\"+I.w/2+\", 0L\"+I.w+\",\"+I.h+\"Z\",ae=!1,j=W.append(\"path\").attr(\"class\",\"zoombox\").attr(\"transform\",e(I.x0,I.y0)).style({fill:X>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"d\",re),ee=W.append(\"path\").attr(\"class\",\"zoombox-corners\").attr(\"transform\",e(I.x0,I.y0)).style({fill:r.background,stroke:r.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"d\",\"M0,0Z\"),I.clearOutline(U)}function Te(Me,pe){return 1-pe/I.h}function Ue(Me,pe){return 1-(Me+(I.h-pe)/Math.sqrt(3))/I.w}function Ie(Me,pe){return(Me-(I.h-pe)/Math.sqrt(3))/I.w}function Ye(Me,pe){var ue=se+Me*Q,Oe=fe+pe*le,rt=Math.max(0,Math.min(1,Te(se,fe),Te(ue,Oe))),ot=Math.max(0,Math.min(1,Ue(se,fe),Ue(ue,Oe))),et=Math.max(0,Math.min(1,Ie(se,fe),Ie(ue,Oe))),Lt=(rt/2+et)*I.w,Et=(1-rt/2-ot)*I.w,Bt=(Lt+Et)/2,qt=Et-Lt,fr=(1-rt)*I.h,ar=fr-qt/u;qt.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),ee.transition().style(\"opacity\",1).duration(200),ae=!0),U.emit(\"plotly_relayouting\",ie(J))}function it(){O(U),J!==G&&(A.call(\"_guiRelayout\",U,ie(J)),B&&U.data&&U._context.showTips&&(S.notifier(t(U,\"Double-click to zoom back out\"),\"long\"),B=!1))}function at(){G={a:I.aaxis.range[0],b:I.baxis.range[1],c:I.caxis.range[1]},J=G}function tt(Me,pe){var ue=Me/I.xaxis._m,Oe=pe/I.yaxis._m;J={a:G.a-Oe,b:G.b+(ue+Oe)/2,c:G.c-(ue-Oe)/2};var rt=[J.a,J.b,J.c].sort(S.sorterAsc),ot={a:rt.indexOf(J.a),b:rt.indexOf(J.b),c:rt.indexOf(J.c)};rt[0]<0&&(rt[1]+rt[0]/2<0?(rt[2]+=rt[0]+rt[1],rt[0]=rt[1]=0):(rt[2]+=rt[0]/2,rt[1]+=rt[0]/2,rt[0]=0),J={a:rt[ot.a],b:rt[ot.b],c:rt[ot.c]},pe=(G.a-J.a)*I.yaxis._m,Me=(G.c-J.c-G.b+J.b)*I.xaxis._m);var et=e(I.x0+Me,I.y0+pe);I.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",et);var Lt=e(-Me,-pe);I.clipDefRelative.select(\"path\").attr(\"transform\",Lt),I.aaxis.range=[J.a,I.sum-J.b-J.c],I.baxis.range=[I.sum-J.a-J.c,J.b],I.caxis.range=[I.sum-J.a-J.b,J.c],I.drawAxes(!1),I._hasClipOnAxisFalse&&I.plotContainer.select(\".scatterlayer\").selectAll(\".trace\").call(o.hideOutsideRangePoints,I),U.emit(\"plotly_relayouting\",ie(J))}function ut(){A.call(\"_guiRelayout\",U,ie(J))}N.onmousemove=function(Me){h.hover(U,Me,I.id),U._fullLayout._lasthover=N,U._fullLayout._hoversubplot=I.id},N.onmouseout=function(Me){U._dragging||c.unhover(U,Me)},c.init(this.dragOptions)};function O(I){g.select(I).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}}}),c3=ke({\"src/plots/ternary/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=Yu().attributes,A=wh(),S=ju().overrideAll,e=To().extendFlat,t={title:{text:A.title.text,font:A.title.font},color:A.color,tickmode:A.minor.tickmode,nticks:e({},A.nticks,{dflt:6,min:1}),tick0:A.tick0,dtick:A.dtick,tickvals:A.tickvals,ticktext:A.ticktext,ticks:A.ticks,ticklen:A.ticklen,tickwidth:A.tickwidth,tickcolor:A.tickcolor,ticklabelstep:A.ticklabelstep,showticklabels:A.showticklabels,labelalias:A.labelalias,showtickprefix:A.showtickprefix,tickprefix:A.tickprefix,showticksuffix:A.showticksuffix,ticksuffix:A.ticksuffix,showexponent:A.showexponent,exponentformat:A.exponentformat,minexponent:A.minexponent,separatethousands:A.separatethousands,tickfont:A.tickfont,tickangle:A.tickangle,tickformat:A.tickformat,tickformatstops:A.tickformatstops,hoverformat:A.hoverformat,showline:e({},A.showline,{dflt:!0}),linecolor:A.linecolor,linewidth:A.linewidth,showgrid:e({},A.showgrid,{dflt:!0}),gridcolor:A.gridcolor,gridwidth:A.gridwidth,griddash:A.griddash,layer:A.layer,min:{valType:\"number\",dflt:0,min:0}},r=H.exports=S({domain:x({name:\"ternary\"}),bgcolor:{valType:\"color\",dflt:g.background},sum:{valType:\"number\",dflt:1,min:0},aaxis:t,baxis:t,caxis:t},\"plot\",\"from-root\");r.uirevision={valType:\"any\",editType:\"none\"},r.aaxis.uirevision=r.baxis.uirevision=r.caxis.uirevision={valType:\"any\",editType:\"none\"}}}),Up=ke({\"src/plots/subplot_defaults.js\"(Z,H){\"use strict\";var g=un(),x=yl(),A=Yu().defaults;H.exports=function(e,t,r,o){var n=o.type,i=o.attributes,a=o.handleDefaults,s=o.partition||\"x\",c=t._subplots[n],h=c.length,p=h&&c[0].replace(/\\d+$/,\"\"),d,T;function l(E,m){return g.coerce(d,T,i,E,m)}for(var _=0;_=_&&(b.min=0,v.min=0,u.min=0,h.aaxis&&delete h.aaxis.min,h.baxis&&delete h.baxis.min,h.caxis&&delete h.caxis.min)}function c(h,p,d,T){var l=i[p._name];function _(y,f){return A.coerce(h,p,l,y,f)}_(\"uirevision\",T.uirevision),p.type=\"linear\";var w=_(\"color\"),M=w!==l.color.dflt?w:d.font.color,E=p._name,m=E.charAt(0).toUpperCase(),b=\"Component \"+m,v=_(\"title.text\",b);p._hovertitle=v===b?v:m,A.coerceFont(_,\"title.font\",d.font,{overrideDflt:{size:A.bigFont(d.font.size),color:M}}),_(\"min\"),o(h,p,_,\"linear\"),t(h,p,_,\"linear\"),e(h,p,_,\"linear\",{noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0}),r(h,p,_,{outerTicks:!0});var u=_(\"showticklabels\");u&&(A.coerceFont(_,\"tickfont\",d.font,{overrideDflt:{color:M}}),_(\"tickangle\"),_(\"tickformat\")),n(h,p,_,{dfltColor:w,bgColor:d.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:l}),_(\"hoverformat\"),_(\"layer\")}}}),vk=ke({\"src/plots/ternary/index.js\"(Z){\"use strict\";var H=hk(),g=bh().getSubplotCalcData,x=un().counterRegex,A=\"ternary\";Z.name=A;var S=Z.attr=\"subplot\";Z.idRoot=A,Z.idRegex=Z.attrRegex=x(A);var e=Z.attributes={};e[S]={valType:\"subplotid\",dflt:\"ternary\",editType:\"calc\"},Z.layoutAttributes=c3(),Z.supplyLayoutDefaults=dk(),Z.plot=function(r){for(var o=r._fullLayout,n=r.calcdata,i=o._subplots[A],a=0;a0){var E=r.xa,m=r.ya,b,v,u,y,f;h.orientation===\"h\"?(f=o,b=\"y\",u=m,v=\"x\",y=E):(f=n,b=\"x\",u=E,v=\"y\",y=m);var P=c[r.index];if(f>=P.span[0]&&f<=P.span[1]){var L=x.extendFlat({},r),z=y.c2p(f,!0),F=e.getKdeValue(P,h,f),B=e.getPositionOnKdePath(P,h,z),O=u._offset,I=u._length;L[b+\"0\"]=B[0],L[b+\"1\"]=B[1],L[v+\"0\"]=L[v+\"1\"]=z,L[v+\"Label\"]=v+\": \"+A.hoverLabelText(y,f,h[v+\"hoverformat\"])+\", \"+c[0].t.labels.kde+\" \"+F.toFixed(3);for(var N=0,U=0;U path\").each(function(d){if(!d.isBlank){var T=p.marker;g.select(this).call(A.fill,d.mc||T.color).call(A.stroke,d.mlc||T.line.color).call(x.dashLine,T.line.dash,d.mlw||T.line.width).style(\"opacity\",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(\".regions\").each(function(){g.select(this).selectAll(\"path\").style(\"stroke-width\",0).call(A.fill,p.connector.fillcolor)}),h.selectAll(\".lines\").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll(\"path\"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),Rk=ke({\"src/traces/funnel/hover.js\"(Z,H){\"use strict\";var g=eo().opacity,x=Qg().hoverOnBars,A=un().formatPercent;H.exports=function(t,r,o,n,i){var a=x(t,r,o,n,i);if(a){var s=a.cd,c=s[0].trace,h=c.orientation===\"h\",p=a.index,d=s[p],T=h?\"x\":\"y\";a[T+\"LabelVal\"]=d.s,a.percentInitial=d.begR,a.percentInitialLabel=A(d.begR,1),a.percentPrevious=d.difR,a.percentPreviousLabel=A(d.difR,1),a.percentTotal=d.sumR,a.percentTotalLabel=A(d.sumR,1);var l=d.hi||c.hoverinfo,_=[];if(l&&l!==\"none\"&&l!==\"skip\"){var w=l===\"all\",M=l.split(\"+\"),E=function(m){return w||M.indexOf(m)!==-1};E(\"percent initial\")&&_.push(a.percentInitialLabel+\" of initial\"),E(\"percent previous\")&&_.push(a.percentPreviousLabel+\" of previous\"),E(\"percent total\")&&_.push(a.percentTotalLabel+\" of total\")}return a.extraText=_.join(\"
\"),a.color=S(c,d),[a]}};function S(e,t){var r=e.marker,o=t.mc||r.color,n=t.mlc||r.line.color,i=t.mlw||r.line.width;if(g(o))return o;if(g(n)&&i)return n}}}),Dk=ke({\"src/traces/funnel/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,\"percentInitial\"in A&&(x.percentInitial=A.percentInitial),\"percentPrevious\"in A&&(x.percentPrevious=A.percentPrevious),\"percentTotal\"in A&&(x.percentTotal=A.percentTotal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),zk=ke({\"src/traces/funnel/index.js\"(Z,H){\"use strict\";H.exports={attributes:d3(),layoutAttributes:v3(),supplyDefaults:p3().supplyDefaults,crossTraceDefaults:p3().crossTraceDefaults,supplyLayoutDefaults:Ek(),calc:kk(),crossTraceCalc:Lk(),plot:Pk(),style:Ik().style,hoverPoints:Rk(),eventData:Dk(),selectPoints:ey(),moduleType:\"trace\",name:\"funnel\",basePlotModule:xf(),categories:[\"bar-like\",\"cartesian\",\"svg\",\"oriented\",\"showLegend\",\"zoomScale\"],meta:{}}}}),Fk=ke({\"lib/funnel.js\"(Z,H){\"use strict\";H.exports=zk()}}),Ok=ke({\"src/traces/waterfall/constants.js\"(Z,H){\"use strict\";H.exports={eventDataKeys:[\"initial\",\"delta\",\"final\"]}}}),m3=ke({\"src/traces/waterfall/attributes.js\"(Z,H){\"use strict\";var g=Pv(),x=Cc().line,A=Ol(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ok(),o=To().extendFlat,n=eo();function i(a){return{marker:{color:o({},g.marker.color,{arrayOk:!1,editType:\"style\"}),line:{color:o({},g.marker.line.color,{arrayOk:!1,editType:\"style\"}),width:o({},g.marker.line.width,{arrayOk:!1,editType:\"style\"}),editType:\"style\"},editType:\"style\"},editType:\"style\"}}H.exports={measure:{valType:\"data_array\",dflt:[],editType:\"calc\"},base:{valType:\"number\",dflt:null,arrayOk:!1,editType:\"calc\"},x:g.x,x0:g.x0,dx:g.dx,y:g.y,y0:g.y0,dy:g.dy,xperiod:g.xperiod,yperiod:g.yperiod,xperiod0:g.xperiod0,yperiod0:g.yperiod0,xperiodalignment:g.xperiodalignment,yperiodalignment:g.yperiodalignment,xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),hovertext:g.hovertext,hovertemplate:e({},{keys:r.eventDataKeys}),hoverinfo:o({},A.hoverinfo,{flags:[\"name\",\"x\",\"y\",\"text\",\"initial\",\"delta\",\"final\"]}),textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"initial\",\"delta\",\"final\"],extras:[\"none\"],editType:\"plot\",arrayOk:!1},texttemplate:t({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\"])}),text:g.text,textposition:g.textposition,insidetextanchor:g.insidetextanchor,textangle:g.textangle,textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:g.outsidetextfont,constraintext:g.constraintext,cliponaxis:g.cliponaxis,orientation:g.orientation,offset:g.offset,width:g.width,increasing:i(\"increasing\"),decreasing:i(\"decreasing\"),totals:i(\"intermediate sums and total\"),connector:{line:{color:o({},x.color,{dflt:n.defaultLine}),width:o({},x.width,{editType:\"plot\"}),dash:x.dash,editType:\"plot\"},mode:{valType:\"enumerated\",values:[\"spanning\",\"between\"],dflt:\"between\",editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},editType:\"plot\"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,zorder:g.zorder}}}),g3=ke({\"src/traces/waterfall/layout_attributes.js\"(Z,H){\"use strict\";H.exports={waterfallmode:{valType:\"enumerated\",values:[\"group\",\"overlay\"],dflt:\"group\",editType:\"calc\"},waterfallgap:{valType:\"number\",min:0,max:1,editType:\"calc\"},waterfallgroupgap:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"}}}}),ry=ke({\"src/constants/delta.js\"(Z,H){\"use strict\";H.exports={INCREASING:{COLOR:\"#3D9970\",SYMBOL:\"\\u25B2\"},DECREASING:{COLOR:\"#FF4136\",SYMBOL:\"\\u25BC\"}}}}),y3=ke({\"src/traces/waterfall/defaults.js\"(Z,H){\"use strict\";var g=un(),x=zm(),A=Od().handleText,S=Xg(),e=hv(),t=m3(),r=eo(),o=ry(),n=o.INCREASING.COLOR,i=o.DECREASING.COLOR,a=\"#4499FF\";function s(p,d,T){p(d+\".marker.color\",T),p(d+\".marker.line.color\",r.defaultLine),p(d+\".marker.line.width\")}function c(p,d,T,l){function _(b,v){return g.coerce(p,d,t,b,v)}var w=S(p,d,l,_);if(!w){d.visible=!1;return}e(p,d,l,_),_(\"xhoverformat\"),_(\"yhoverformat\"),_(\"measure\"),_(\"orientation\",d.x&&!d.y?\"h\":\"v\"),_(\"base\"),_(\"offset\"),_(\"width\"),_(\"text\"),_(\"hovertext\"),_(\"hovertemplate\");var M=_(\"textposition\");A(p,d,l,_,M,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),d.textposition!==\"none\"&&(_(\"texttemplate\"),d.texttemplate||_(\"textinfo\")),s(_,\"increasing\",n),s(_,\"decreasing\",i),s(_,\"totals\",a);var E=_(\"connector.visible\");if(E){_(\"connector.mode\");var m=_(\"connector.line.width\");m&&(_(\"connector.line.color\"),_(\"connector.line.dash\"))}_(\"zorder\")}function h(p,d){var T,l;function _(M){return g.coerce(l._input,l,t,M)}if(d.waterfallmode===\"group\")for(var w=0;w0&&(_?f+=\"M\"+u[0]+\",\"+y[1]+\"V\"+y[0]:f+=\"M\"+u[1]+\",\"+y[0]+\"H\"+u[0]),w!==\"between\"&&(m.isSum||b path\").each(function(d){if(!d.isBlank){var T=p[d.dir].marker;g.select(this).call(A.fill,T.color).call(A.stroke,T.line.color).call(x.dashLine,T.line.dash,T.line.width).style(\"opacity\",p.selectedpoints&&!d.selected?S:1)}}),r(h,p,n),h.selectAll(\".lines\").each(function(){var d=p.connector.line;x.lineGroupStyle(g.select(this).selectAll(\"path\"),d.width,d.color,d.dash)})})}H.exports={style:o}}}),qk=ke({\"src/traces/waterfall/hover.js\"(Z,H){\"use strict\";var g=Ho().hoverLabelText,x=eo().opacity,A=Qg().hoverOnBars,S=ry(),e={increasing:S.INCREASING.SYMBOL,decreasing:S.DECREASING.SYMBOL};H.exports=function(o,n,i,a,s){var c=A(o,n,i,a,s);if(!c)return;var h=c.cd,p=h[0].trace,d=p.orientation===\"h\",T=d?\"x\":\"y\",l=d?o.xa:o.ya;function _(P){return g(l,P,p[T+\"hoverformat\"])}var w=c.index,M=h[w],E=M.isSum?M.b+M.s:M.rawS;c.initial=M.b+M.s-E,c.delta=E,c.final=c.initial+c.delta;var m=_(Math.abs(c.delta));c.deltaLabel=E<0?\"(\"+m+\")\":m,c.finalLabel=_(c.final),c.initialLabel=_(c.initial);var b=M.hi||p.hoverinfo,v=[];if(b&&b!==\"none\"&&b!==\"skip\"){var u=b===\"all\",y=b.split(\"+\"),f=function(P){return u||y.indexOf(P)!==-1};M.isSum||(f(\"final\")&&(d?!f(\"x\"):!f(\"y\"))&&v.push(c.finalLabel),f(\"delta\")&&(E<0?v.push(c.deltaLabel+\" \"+e.decreasing):v.push(c.deltaLabel+\" \"+e.increasing)),f(\"initial\")&&v.push(\"Initial: \"+c.initialLabel))}return v.length&&(c.extraText=v.join(\"
\")),c.color=t(p,M),[c]};function t(r,o){var n=r[o.dir].marker,i=n.color,a=n.line.color,s=n.line.width;if(x(i))return i;if(x(a)&&s)return a}}}),Hk=ke({\"src/traces/waterfall/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.x=\"xVal\"in A?A.xVal:A.x,x.y=\"yVal\"in A?A.yVal:A.y,\"initial\"in A&&(x.initial=A.initial),\"delta\"in A&&(x.delta=A.delta),\"final\"in A&&(x.final=A.final),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x}}}),Gk=ke({\"src/traces/waterfall/index.js\"(Z,H){\"use strict\";H.exports={attributes:m3(),layoutAttributes:g3(),supplyDefaults:y3().supplyDefaults,crossTraceDefaults:y3().crossTraceDefaults,supplyLayoutDefaults:Bk(),calc:Nk(),crossTraceCalc:Uk(),plot:jk(),style:Vk().style,hoverPoints:qk(),eventData:Hk(),selectPoints:ey(),moduleType:\"trace\",name:\"waterfall\",basePlotModule:xf(),categories:[\"bar-like\",\"cartesian\",\"svg\",\"oriented\",\"showLegend\",\"zoomScale\"],meta:{}}}}),Wk=ke({\"lib/waterfall.js\"(Z,H){\"use strict\";H.exports=Gk()}}),ny=ke({\"src/traces/image/constants.js\"(Z,H){\"use strict\";H.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(g){return g.slice(0,3)},suffix:[\"\",\"\",\"\"]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},rgba256:{colormodel:\"rgba\",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(g){return g.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(g){var x=g.slice(0,3);return x[1]=x[1]+\"%\",x[2]=x[2]+\"%\",x},suffix:[\"\\xB0\",\"%\",\"%\"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(g){var x=g.slice(0,4);return x[1]=x[1]+\"%\",x[2]=x[2]+\"%\",x},suffix:[\"\\xB0\",\"%\",\"%\",\"\"]}}}}}),_3=ke({\"src/traces/image/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Cc().zorder,A=Rs().hovertemplateAttrs,S=To().extendFlat,e=ny().colormodel,t=[\"rgb\",\"rgba\",\"rgba256\",\"hsl\",\"hsla\"],r=[],o=[];for(i=0;i0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var p=c.indexOf(\"=\");p===-1&&(p=h);var d=p===h?0:4-p%4;return[p,d]}function r(c){var h=t(c),p=h[0],d=h[1];return(p+d)*3/4-d}function o(c,h,p){return(h+p)*3/4-p}function n(c){var h,p=t(c),d=p[0],T=p[1],l=new x(o(c,d,T)),_=0,w=T>0?d-4:d,M;for(M=0;M>16&255,l[_++]=h>>8&255,l[_++]=h&255;return T===2&&(h=g[c.charCodeAt(M)]<<2|g[c.charCodeAt(M+1)]>>4,l[_++]=h&255),T===1&&(h=g[c.charCodeAt(M)]<<10|g[c.charCodeAt(M+1)]<<4|g[c.charCodeAt(M+2)]>>2,l[_++]=h>>8&255,l[_++]=h&255),l}function i(c){return H[c>>18&63]+H[c>>12&63]+H[c>>6&63]+H[c&63]}function a(c,h,p){for(var d,T=[],l=h;lw?w:_+l));return d===1?(h=c[p-1],T.push(H[h>>2]+H[h<<4&63]+\"==\")):d===2&&(h=(c[p-2]<<8)+c[p-1],T.push(H[h>>10]+H[h>>4&63]+H[h<<2&63]+\"=\")),T.join(\"\")}}}),Yk=ke({\"node_modules/ieee754/index.js\"(Z){Z.read=function(H,g,x,A,S){var e,t,r=S*8-A-1,o=(1<>1,i=-7,a=x?S-1:0,s=x?-1:1,c=H[g+a];for(a+=s,e=c&(1<<-i)-1,c>>=-i,i+=r;i>0;e=e*256+H[g+a],a+=s,i-=8);for(t=e&(1<<-i)-1,e>>=-i,i+=A;i>0;t=t*256+H[g+a],a+=s,i-=8);if(e===0)e=1-n;else{if(e===o)return t?NaN:(c?-1:1)*(1/0);t=t+Math.pow(2,A),e=e-n}return(c?-1:1)*t*Math.pow(2,e-A)},Z.write=function(H,g,x,A,S,e){var t,r,o,n=e*8-S-1,i=(1<>1,s=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=A?0:e-1,h=A?1:-1,p=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(r=isNaN(g)?1:0,t=i):(t=Math.floor(Math.log(g)/Math.LN2),g*(o=Math.pow(2,-t))<1&&(t--,o*=2),t+a>=1?g+=s/o:g+=s*Math.pow(2,1-a),g*o>=2&&(t++,o/=2),t+a>=i?(r=0,t=i):t+a>=1?(r=(g*o-1)*Math.pow(2,S),t=t+a):(r=g*Math.pow(2,a-1)*Math.pow(2,S),t=0));S>=8;H[x+c]=r&255,c+=h,r/=256,S-=8);for(t=t<0;H[x+c]=t&255,c+=h,t/=256,n-=8);H[x+c-h]|=p*128}}}),Nm=ke({\"node_modules/buffer/index.js\"(Z){\"use strict\";var H=Zk(),g=Yk(),x=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\"?Symbol.for(\"nodejs.util.inspect.custom\"):null;Z.Buffer=t,Z.SlowBuffer=T,Z.INSPECT_MAX_BYTES=50;var A=2147483647;Z.kMaxLength=A,t.TYPED_ARRAY_SUPPORT=S(),!t.TYPED_ARRAY_SUPPORT&&typeof console<\"u\"&&typeof console.error==\"function\"&&console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\");function S(){try{let Me=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Me,pe),Me.foo()===42}catch{return!1}}Object.defineProperty(t.prototype,\"parent\",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,\"offset\",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}});function e(Me){if(Me>A)throw new RangeError('The value \"'+Me+'\" is invalid for option \"size\"');let pe=new Uint8Array(Me);return Object.setPrototypeOf(pe,t.prototype),pe}function t(Me,pe,ue){if(typeof Me==\"number\"){if(typeof pe==\"string\")throw new TypeError('The \"string\" argument must be of type string. Received type number');return i(Me)}return r(Me,pe,ue)}t.poolSize=8192;function r(Me,pe,ue){if(typeof Me==\"string\")return a(Me,pe);if(ArrayBuffer.isView(Me))return c(Me);if(Me==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof Me);if(Ye(Me,ArrayBuffer)||Me&&Ye(Me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(Ye(Me,SharedArrayBuffer)||Me&&Ye(Me.buffer,SharedArrayBuffer)))return h(Me,pe,ue);if(typeof Me==\"number\")throw new TypeError('The \"value\" argument must not be of type number. Received type number');let Oe=Me.valueOf&&Me.valueOf();if(Oe!=null&&Oe!==Me)return t.from(Oe,pe,ue);let rt=p(Me);if(rt)return rt;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof Me[Symbol.toPrimitive]==\"function\")return t.from(Me[Symbol.toPrimitive](\"string\"),pe,ue);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof Me)}t.from=function(Me,pe,ue){return r(Me,pe,ue)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array);function o(Me){if(typeof Me!=\"number\")throw new TypeError('\"size\" argument must be of type number');if(Me<0)throw new RangeError('The value \"'+Me+'\" is invalid for option \"size\"')}function n(Me,pe,ue){return o(Me),Me<=0?e(Me):pe!==void 0?typeof ue==\"string\"?e(Me).fill(pe,ue):e(Me).fill(pe):e(Me)}t.alloc=function(Me,pe,ue){return n(Me,pe,ue)};function i(Me){return o(Me),e(Me<0?0:d(Me)|0)}t.allocUnsafe=function(Me){return i(Me)},t.allocUnsafeSlow=function(Me){return i(Me)};function a(Me,pe){if((typeof pe!=\"string\"||pe===\"\")&&(pe=\"utf8\"),!t.isEncoding(pe))throw new TypeError(\"Unknown encoding: \"+pe);let ue=l(Me,pe)|0,Oe=e(ue),rt=Oe.write(Me,pe);return rt!==ue&&(Oe=Oe.slice(0,rt)),Oe}function s(Me){let pe=Me.length<0?0:d(Me.length)|0,ue=e(pe);for(let Oe=0;Oe=A)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+A.toString(16)+\" bytes\");return Me|0}function T(Me){return+Me!=Me&&(Me=0),t.alloc(+Me)}t.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==t.prototype},t.compare=function(pe,ue){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),Ye(ue,Uint8Array)&&(ue=t.from(ue,ue.offset,ue.byteLength)),!t.isBuffer(pe)||!t.isBuffer(ue))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(pe===ue)return 0;let Oe=pe.length,rt=ue.length;for(let ot=0,et=Math.min(Oe,rt);otrt.length?(t.isBuffer(et)||(et=t.from(et)),et.copy(rt,ot)):Uint8Array.prototype.set.call(rt,et,ot);else if(t.isBuffer(et))et.copy(rt,ot);else throw new TypeError('\"list\" argument must be an Array of Buffers');ot+=et.length}return rt};function l(Me,pe){if(t.isBuffer(Me))return Me.length;if(ArrayBuffer.isView(Me)||Ye(Me,ArrayBuffer))return Me.byteLength;if(typeof Me!=\"string\")throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Me);let ue=Me.length,Oe=arguments.length>2&&arguments[2]===!0;if(!Oe&&ue===0)return 0;let rt=!1;for(;;)switch(pe){case\"ascii\":case\"latin1\":case\"binary\":return ue;case\"utf8\":case\"utf-8\":return ce(Me).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return ue*2;case\"hex\":return ue>>>1;case\"base64\":return Ue(Me).length;default:if(rt)return Oe?-1:ce(Me).length;pe=(\"\"+pe).toLowerCase(),rt=!0}}t.byteLength=l;function _(Me,pe,ue){let Oe=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ue===void 0||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0,pe>>>=0,ue<=pe))return\"\";for(Me||(Me=\"utf8\");;)switch(Me){case\"hex\":return O(this,pe,ue);case\"utf8\":case\"utf-8\":return P(this,pe,ue);case\"ascii\":return F(this,pe,ue);case\"latin1\":case\"binary\":return B(this,pe,ue);case\"base64\":return f(this,pe,ue);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return I(this,pe,ue);default:if(Oe)throw new TypeError(\"Unknown encoding: \"+Me);Me=(Me+\"\").toLowerCase(),Oe=!0}}t.prototype._isBuffer=!0;function w(Me,pe,ue){let Oe=Me[pe];Me[pe]=Me[ue],Me[ue]=Oe}t.prototype.swap16=function(){let pe=this.length;if(pe%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(let ue=0;ueue&&(pe+=\" ... \"),\"\"},x&&(t.prototype[x]=t.prototype.inspect),t.prototype.compare=function(pe,ue,Oe,rt,ot){if(Ye(pe,Uint8Array)&&(pe=t.from(pe,pe.offset,pe.byteLength)),!t.isBuffer(pe))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ue===void 0&&(ue=0),Oe===void 0&&(Oe=pe?pe.length:0),rt===void 0&&(rt=0),ot===void 0&&(ot=this.length),ue<0||Oe>pe.length||rt<0||ot>this.length)throw new RangeError(\"out of range index\");if(rt>=ot&&ue>=Oe)return 0;if(rt>=ot)return-1;if(ue>=Oe)return 1;if(ue>>>=0,Oe>>>=0,rt>>>=0,ot>>>=0,this===pe)return 0;let et=ot-rt,Lt=Oe-ue,Et=Math.min(et,Lt),Bt=this.slice(rt,ot),qt=pe.slice(ue,Oe);for(let fr=0;fr2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),ue=+ue,it(ue)&&(ue=rt?0:Me.length-1),ue<0&&(ue=Me.length+ue),ue>=Me.length){if(rt)return-1;ue=Me.length-1}else if(ue<0)if(rt)ue=0;else return-1;if(typeof pe==\"string\"&&(pe=t.from(pe,Oe)),t.isBuffer(pe))return pe.length===0?-1:E(Me,pe,ue,Oe,rt);if(typeof pe==\"number\")return pe=pe&255,typeof Uint8Array.prototype.indexOf==\"function\"?rt?Uint8Array.prototype.indexOf.call(Me,pe,ue):Uint8Array.prototype.lastIndexOf.call(Me,pe,ue):E(Me,[pe],ue,Oe,rt);throw new TypeError(\"val must be string, number or Buffer\")}function E(Me,pe,ue,Oe,rt){let ot=1,et=Me.length,Lt=pe.length;if(Oe!==void 0&&(Oe=String(Oe).toLowerCase(),Oe===\"ucs2\"||Oe===\"ucs-2\"||Oe===\"utf16le\"||Oe===\"utf-16le\")){if(Me.length<2||pe.length<2)return-1;ot=2,et/=2,Lt/=2,ue/=2}function Et(qt,fr){return ot===1?qt[fr]:qt.readUInt16BE(fr*ot)}let Bt;if(rt){let qt=-1;for(Bt=ue;Btet&&(ue=et-Lt),Bt=ue;Bt>=0;Bt--){let qt=!0;for(let fr=0;frrt&&(Oe=rt)):Oe=rt;let ot=pe.length;Oe>ot/2&&(Oe=ot/2);let et;for(et=0;et>>0,isFinite(Oe)?(Oe=Oe>>>0,rt===void 0&&(rt=\"utf8\")):(rt=Oe,Oe=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");let ot=this.length-ue;if((Oe===void 0||Oe>ot)&&(Oe=ot),pe.length>0&&(Oe<0||ue<0)||ue>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");rt||(rt=\"utf8\");let et=!1;for(;;)switch(rt){case\"hex\":return m(this,pe,ue,Oe);case\"utf8\":case\"utf-8\":return b(this,pe,ue,Oe);case\"ascii\":case\"latin1\":case\"binary\":return v(this,pe,ue,Oe);case\"base64\":return u(this,pe,ue,Oe);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return y(this,pe,ue,Oe);default:if(et)throw new TypeError(\"Unknown encoding: \"+rt);rt=(\"\"+rt).toLowerCase(),et=!0}},t.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function f(Me,pe,ue){return pe===0&&ue===Me.length?H.fromByteArray(Me):H.fromByteArray(Me.slice(pe,ue))}function P(Me,pe,ue){ue=Math.min(Me.length,ue);let Oe=[],rt=pe;for(;rt239?4:ot>223?3:ot>191?2:1;if(rt+Lt<=ue){let Et,Bt,qt,fr;switch(Lt){case 1:ot<128&&(et=ot);break;case 2:Et=Me[rt+1],(Et&192)===128&&(fr=(ot&31)<<6|Et&63,fr>127&&(et=fr));break;case 3:Et=Me[rt+1],Bt=Me[rt+2],(Et&192)===128&&(Bt&192)===128&&(fr=(ot&15)<<12|(Et&63)<<6|Bt&63,fr>2047&&(fr<55296||fr>57343)&&(et=fr));break;case 4:Et=Me[rt+1],Bt=Me[rt+2],qt=Me[rt+3],(Et&192)===128&&(Bt&192)===128&&(qt&192)===128&&(fr=(ot&15)<<18|(Et&63)<<12|(Bt&63)<<6|qt&63,fr>65535&&fr<1114112&&(et=fr))}}et===null?(et=65533,Lt=1):et>65535&&(et-=65536,Oe.push(et>>>10&1023|55296),et=56320|et&1023),Oe.push(et),rt+=Lt}return z(Oe)}var L=4096;function z(Me){let pe=Me.length;if(pe<=L)return String.fromCharCode.apply(String,Me);let ue=\"\",Oe=0;for(;OeOe)&&(ue=Oe);let rt=\"\";for(let ot=pe;otOe&&(pe=Oe),ue<0?(ue+=Oe,ue<0&&(ue=0)):ue>Oe&&(ue=Oe),ueue)throw new RangeError(\"Trying to access beyond buffer length\")}t.prototype.readUintLE=t.prototype.readUIntLE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe+--ue],ot=1;for(;ue>0&&(ot*=256);)rt+=this[pe+--ue]*ot;return rt},t.prototype.readUint8=t.prototype.readUInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]},t.prototype.readUint16LE=t.prototype.readUInt16LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]|this[pe+1]<<8},t.prototype.readUint16BE=t.prototype.readUInt16BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,2,this.length),this[pe]<<8|this[pe+1]},t.prototype.readUint32LE=t.prototype.readUInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},t.prototype.readUint32BE=t.prototype.readUInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},t.prototype.readBigUInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue+this[++pe]*2**8+this[++pe]*2**16+this[++pe]*2**24,ot=this[++pe]+this[++pe]*2**8+this[++pe]*2**16+Oe*2**24;return BigInt(rt)+(BigInt(ot)<>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=ue*2**24+this[++pe]*2**16+this[++pe]*2**8+this[++pe],ot=this[++pe]*2**24+this[++pe]*2**16+this[++pe]*2**8+Oe;return(BigInt(rt)<>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=this[pe],ot=1,et=0;for(;++et=ot&&(rt-=Math.pow(2,8*ue)),rt},t.prototype.readIntBE=function(pe,ue,Oe){pe=pe>>>0,ue=ue>>>0,Oe||N(pe,ue,this.length);let rt=ue,ot=1,et=this[pe+--rt];for(;rt>0&&(ot*=256);)et+=this[pe+--rt]*ot;return ot*=128,et>=ot&&(et-=Math.pow(2,8*ue)),et},t.prototype.readInt8=function(pe,ue){return pe=pe>>>0,ue||N(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},t.prototype.readInt16LE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe]|this[pe+1]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt16BE=function(pe,ue){pe=pe>>>0,ue||N(pe,2,this.length);let Oe=this[pe+1]|this[pe]<<8;return Oe&32768?Oe|4294901760:Oe},t.prototype.readInt32LE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},t.prototype.readInt32BE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},t.prototype.readBigInt64LE=tt(function(pe){pe=pe>>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=this[pe+4]+this[pe+5]*2**8+this[pe+6]*2**16+(Oe<<24);return(BigInt(rt)<>>0,ae(pe,\"offset\");let ue=this[pe],Oe=this[pe+7];(ue===void 0||Oe===void 0)&&j(pe,this.length-8);let rt=(ue<<24)+this[++pe]*2**16+this[++pe]*2**8+this[++pe];return(BigInt(rt)<>>0,ue||N(pe,4,this.length),g.read(this,pe,!0,23,4)},t.prototype.readFloatBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,4,this.length),g.read(this,pe,!1,23,4)},t.prototype.readDoubleLE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!0,52,8)},t.prototype.readDoubleBE=function(pe,ue){return pe=pe>>>0,ue||N(pe,8,this.length),g.read(this,pe,!1,52,8)};function U(Me,pe,ue,Oe,rt,ot){if(!t.isBuffer(Me))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(pe>rt||peMe.length)throw new RangeError(\"Index out of range\")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=1,et=0;for(this[ue]=pe&255;++et>>0,Oe=Oe>>>0,!rt){let Lt=Math.pow(2,8*Oe)-1;U(this,pe,ue,Oe,Lt,0)}let ot=Oe-1,et=1;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)this[ue+ot]=pe/et&255;return ue+Oe},t.prototype.writeUint8=t.prototype.writeUInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,255,0),this[ue]=pe&255,ue+1},t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,65535,0),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue+3]=pe>>>24,this[ue+2]=pe>>>16,this[ue+1]=pe>>>8,this[ue]=pe&255,ue+4},t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,4294967295,0),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4};function W(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot,ot=ot>>8,Me[ue++]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,et=et>>8,Me[ue++]=et,ue}function Q(Me,pe,ue,Oe,rt){re(pe,Oe,rt,Me,ue,7);let ot=Number(pe&BigInt(4294967295));Me[ue+7]=ot,ot=ot>>8,Me[ue+6]=ot,ot=ot>>8,Me[ue+5]=ot,ot=ot>>8,Me[ue+4]=ot;let et=Number(pe>>BigInt(32)&BigInt(4294967295));return Me[ue+3]=et,et=et>>8,Me[ue+2]=et,et=et>>8,Me[ue+1]=et,et=et>>8,Me[ue]=et,ue+8}t.prototype.writeBigUInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),t.prototype.writeBigUInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),t.prototype.writeIntLE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=0,et=1,Lt=0;for(this[ue]=pe&255;++ot>0)-Lt&255;return ue+Oe},t.prototype.writeIntBE=function(pe,ue,Oe,rt){if(pe=+pe,ue=ue>>>0,!rt){let Et=Math.pow(2,8*Oe-1);U(this,pe,ue,Oe,Et-1,-Et)}let ot=Oe-1,et=1,Lt=0;for(this[ue+ot]=pe&255;--ot>=0&&(et*=256);)pe<0&&Lt===0&&this[ue+ot+1]!==0&&(Lt=1),this[ue+ot]=(pe/et>>0)-Lt&255;return ue+Oe},t.prototype.writeInt8=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,1,127,-128),pe<0&&(pe=255+pe+1),this[ue]=pe&255,ue+1},t.prototype.writeInt16LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe&255,this[ue+1]=pe>>>8,ue+2},t.prototype.writeInt16BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,2,32767,-32768),this[ue]=pe>>>8,this[ue+1]=pe&255,ue+2},t.prototype.writeInt32LE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),this[ue]=pe&255,this[ue+1]=pe>>>8,this[ue+2]=pe>>>16,this[ue+3]=pe>>>24,ue+4},t.prototype.writeInt32BE=function(pe,ue,Oe){return pe=+pe,ue=ue>>>0,Oe||U(this,pe,ue,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ue]=pe>>>24,this[ue+1]=pe>>>16,this[ue+2]=pe>>>8,this[ue+3]=pe&255,ue+4},t.prototype.writeBigInt64LE=tt(function(pe,ue=0){return W(this,pe,ue,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))}),t.prototype.writeBigInt64BE=tt(function(pe,ue=0){return Q(this,pe,ue,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function le(Me,pe,ue,Oe,rt,ot){if(ue+Oe>Me.length)throw new RangeError(\"Index out of range\");if(ue<0)throw new RangeError(\"Index out of range\")}function se(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,4,34028234663852886e22,-34028234663852886e22),g.write(Me,pe,ue,Oe,23,4),ue+4}t.prototype.writeFloatLE=function(pe,ue,Oe){return se(this,pe,ue,!0,Oe)},t.prototype.writeFloatBE=function(pe,ue,Oe){return se(this,pe,ue,!1,Oe)};function fe(Me,pe,ue,Oe,rt){return pe=+pe,ue=ue>>>0,rt||le(Me,pe,ue,8,17976931348623157e292,-17976931348623157e292),g.write(Me,pe,ue,Oe,52,8),ue+8}t.prototype.writeDoubleLE=function(pe,ue,Oe){return fe(this,pe,ue,!0,Oe)},t.prototype.writeDoubleBE=function(pe,ue,Oe){return fe(this,pe,ue,!1,Oe)},t.prototype.copy=function(pe,ue,Oe,rt){if(!t.isBuffer(pe))throw new TypeError(\"argument should be a Buffer\");if(Oe||(Oe=0),!rt&&rt!==0&&(rt=this.length),ue>=pe.length&&(ue=pe.length),ue||(ue=0),rt>0&&rt=this.length)throw new RangeError(\"Index out of range\");if(rt<0)throw new RangeError(\"sourceEnd out of bounds\");rt>this.length&&(rt=this.length),pe.length-ue>>0,Oe=Oe===void 0?this.length:Oe>>>0,pe||(pe=0);let ot;if(typeof pe==\"number\")for(ot=ue;ot2**32?rt=J(String(ue)):typeof ue==\"bigint\"&&(rt=String(ue),(ue>BigInt(2)**BigInt(32)||ue<-(BigInt(2)**BigInt(32)))&&(rt=J(rt)),rt+=\"n\"),Oe+=` It must be ${pe}. Received ${rt}`,Oe},RangeError);function J(Me){let pe=\"\",ue=Me.length,Oe=Me[0]===\"-\"?1:0;for(;ue>=Oe+4;ue-=3)pe=`_${Me.slice(ue-3,ue)}${pe}`;return`${Me.slice(0,ue)}${pe}`}function X(Me,pe,ue){ae(pe,\"offset\"),(Me[pe]===void 0||Me[pe+ue]===void 0)&&j(pe,Me.length-(ue+1))}function re(Me,pe,ue,Oe,rt,ot){if(Me>ue||Me3?pe===0||pe===BigInt(0)?Lt=`>= 0${et} and < 2${et} ** ${(ot+1)*8}${et}`:Lt=`>= -(2${et} ** ${(ot+1)*8-1}${et}) and < 2 ** ${(ot+1)*8-1}${et}`:Lt=`>= ${pe}${et} and <= ${ue}${et}`,new G.ERR_OUT_OF_RANGE(\"value\",Lt,Me)}X(Oe,rt,ot)}function ae(Me,pe){if(typeof Me!=\"number\")throw new G.ERR_INVALID_ARG_TYPE(pe,\"number\",Me)}function j(Me,pe,ue){throw Math.floor(Me)!==Me?(ae(Me,ue),new G.ERR_OUT_OF_RANGE(ue||\"offset\",\"an integer\",Me)):pe<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE(ue||\"offset\",`>= ${ue?1:0} and <= ${pe}`,Me)}var ee=/[^+/0-9A-Za-z-_]/g;function ie(Me){if(Me=Me.split(\"=\")[0],Me=Me.trim().replace(ee,\"\"),Me.length<2)return\"\";for(;Me.length%4!==0;)Me=Me+\"=\";return Me}function ce(Me,pe){pe=pe||1/0;let ue,Oe=Me.length,rt=null,ot=[];for(let et=0;et55295&&ue<57344){if(!rt){if(ue>56319){(pe-=3)>-1&&ot.push(239,191,189);continue}else if(et+1===Oe){(pe-=3)>-1&&ot.push(239,191,189);continue}rt=ue;continue}if(ue<56320){(pe-=3)>-1&&ot.push(239,191,189),rt=ue;continue}ue=(rt-55296<<10|ue-56320)+65536}else rt&&(pe-=3)>-1&&ot.push(239,191,189);if(rt=null,ue<128){if((pe-=1)<0)break;ot.push(ue)}else if(ue<2048){if((pe-=2)<0)break;ot.push(ue>>6|192,ue&63|128)}else if(ue<65536){if((pe-=3)<0)break;ot.push(ue>>12|224,ue>>6&63|128,ue&63|128)}else if(ue<1114112){if((pe-=4)<0)break;ot.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,ue&63|128)}else throw new Error(\"Invalid code point\")}return ot}function xe(Me){let pe=[];for(let ue=0;ue>8,rt=ue%256,ot.push(rt),ot.push(Oe);return ot}function Ue(Me){return H.toByteArray(ie(Me))}function Ie(Me,pe,ue,Oe){let rt;for(rt=0;rt=pe.length||rt>=Me.length);++rt)pe[rt+ue]=Me[rt];return rt}function Ye(Me,pe){return Me instanceof pe||Me!=null&&Me.constructor!=null&&Me.constructor.name!=null&&Me.constructor.name===pe.name}function it(Me){return Me!==Me}var at=function(){let Me=\"0123456789abcdef\",pe=new Array(256);for(let ue=0;ue<16;++ue){let Oe=ue*16;for(let rt=0;rt<16;++rt)pe[Oe+rt]=Me[ue]+Me[rt]}return pe}();function tt(Me){return typeof BigInt>\"u\"?ut:Me}function ut(){throw new Error(\"BigInt not supported\")}}}),ix=ke({\"node_modules/has-symbols/shams.js\"(Z,H){\"use strict\";H.exports=function(){if(typeof Symbol!=\"function\"||typeof Object.getOwnPropertySymbols!=\"function\")return!1;if(typeof Symbol.iterator==\"symbol\")return!0;var x={},A=Symbol(\"test\"),S=Object(A);if(typeof A==\"string\"||Object.prototype.toString.call(A)!==\"[object Symbol]\"||Object.prototype.toString.call(S)!==\"[object Symbol]\")return!1;var e=42;x[A]=e;for(A in x)return!1;if(typeof Object.keys==\"function\"&&Object.keys(x).length!==0||typeof Object.getOwnPropertyNames==\"function\"&&Object.getOwnPropertyNames(x).length!==0)return!1;var t=Object.getOwnPropertySymbols(x);if(t.length!==1||t[0]!==A||!Object.prototype.propertyIsEnumerable.call(x,A))return!1;if(typeof Object.getOwnPropertyDescriptor==\"function\"){var r=Object.getOwnPropertyDescriptor(x,A);if(r.value!==e||r.enumerable!==!0)return!1}return!0}}}),g0=ke({\"node_modules/has-tostringtag/shams.js\"(Z,H){\"use strict\";var g=ix();H.exports=function(){return g()&&!!Symbol.toStringTag}}}),Kk=ke({\"node_modules/es-errors/index.js\"(Z,H){\"use strict\";H.exports=Error}}),Jk=ke({\"node_modules/es-errors/eval.js\"(Z,H){\"use strict\";H.exports=EvalError}}),$k=ke({\"node_modules/es-errors/range.js\"(Z,H){\"use strict\";H.exports=RangeError}}),Qk=ke({\"node_modules/es-errors/ref.js\"(Z,H){\"use strict\";H.exports=ReferenceError}}),b3=ke({\"node_modules/es-errors/syntax.js\"(Z,H){\"use strict\";H.exports=SyntaxError}}),y0=ke({\"node_modules/es-errors/type.js\"(Z,H){\"use strict\";H.exports=TypeError}}),eL=ke({\"node_modules/es-errors/uri.js\"(Z,H){\"use strict\";H.exports=URIError}}),tL=ke({\"node_modules/has-symbols/index.js\"(Z,H){\"use strict\";var g=typeof Symbol<\"u\"&&Symbol,x=ix();H.exports=function(){return typeof g!=\"function\"||typeof Symbol!=\"function\"||typeof g(\"foo\")!=\"symbol\"||typeof Symbol(\"bar\")!=\"symbol\"?!1:x()}}}),rL=ke({\"node_modules/has-proto/index.js\"(Z,H){\"use strict\";var g={foo:{}},x=Object;H.exports=function(){return{__proto__:g}.foo===g.foo&&!({__proto__:null}instanceof x)}}}),nL=ke({\"node_modules/function-bind/implementation.js\"(Z,H){\"use strict\";var g=\"Function.prototype.bind called on incompatible \",x=Object.prototype.toString,A=Math.max,S=\"[object Function]\",e=function(n,i){for(var a=[],s=0;s\"u\"||!d?g:d(Uint8Array),_={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?g:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?g:ArrayBuffer,\"%ArrayIteratorPrototype%\":h&&d?d([][Symbol.iterator]()):g,\"%AsyncFromSyncIteratorPrototype%\":g,\"%AsyncFunction%\":T,\"%AsyncGenerator%\":T,\"%AsyncGeneratorFunction%\":T,\"%AsyncIteratorPrototype%\":T,\"%Atomics%\":typeof Atomics>\"u\"?g:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?g:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?g:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?g:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?g:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":x,\"%eval%\":eval,\"%EvalError%\":A,\"%Float32Array%\":typeof Float32Array>\"u\"?g:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?g:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?g:FinalizationRegistry,\"%Function%\":n,\"%GeneratorFunction%\":T,\"%Int8Array%\":typeof Int8Array>\"u\"?g:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?g:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?g:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":h&&d?d(d([][Symbol.iterator]())):g,\"%JSON%\":typeof JSON==\"object\"?JSON:g,\"%Map%\":typeof Map>\"u\"?g:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!h||!d?g:d(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?g:Promise,\"%Proxy%\":typeof Proxy>\"u\"?g:Proxy,\"%RangeError%\":S,\"%ReferenceError%\":e,\"%Reflect%\":typeof Reflect>\"u\"?g:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?g:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!h||!d?g:d(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?g:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":h&&d?d(\"\"[Symbol.iterator]()):g,\"%Symbol%\":h?Symbol:g,\"%SyntaxError%\":t,\"%ThrowTypeError%\":c,\"%TypedArray%\":l,\"%TypeError%\":r,\"%Uint8Array%\":typeof Uint8Array>\"u\"?g:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?g:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?g:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?g:Uint32Array,\"%URIError%\":o,\"%WeakMap%\":typeof WeakMap>\"u\"?g:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?g:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?g:WeakSet};if(d)try{null.error}catch(O){w=d(d(O)),_[\"%Error.prototype%\"]=w}var w,M=function O(I){var N;if(I===\"%AsyncFunction%\")N=i(\"async function () {}\");else if(I===\"%GeneratorFunction%\")N=i(\"function* () {}\");else if(I===\"%AsyncGeneratorFunction%\")N=i(\"async function* () {}\");else if(I===\"%AsyncGenerator%\"){var U=O(\"%AsyncGeneratorFunction%\");U&&(N=U.prototype)}else if(I===\"%AsyncIteratorPrototype%\"){var W=O(\"%AsyncGenerator%\");W&&d&&(N=d(W.prototype))}return _[I]=N,N},E={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},m=ax(),b=iL(),v=m.call(Function.call,Array.prototype.concat),u=m.call(Function.apply,Array.prototype.splice),y=m.call(Function.call,String.prototype.replace),f=m.call(Function.call,String.prototype.slice),P=m.call(Function.call,RegExp.prototype.exec),L=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,z=/\\\\(\\\\)?/g,F=function(I){var N=f(I,0,1),U=f(I,-1);if(N===\"%\"&&U!==\"%\")throw new t(\"invalid intrinsic syntax, expected closing `%`\");if(U===\"%\"&&N!==\"%\")throw new t(\"invalid intrinsic syntax, expected opening `%`\");var W=[];return y(I,L,function(Q,le,se,fe){W[W.length]=se?y(fe,z,\"$1\"):le||Q}),W},B=function(I,N){var U=I,W;if(b(E,U)&&(W=E[U],U=\"%\"+W[0]+\"%\"),b(_,U)){var Q=_[U];if(Q===T&&(Q=M(U)),typeof Q>\"u\"&&!N)throw new r(\"intrinsic \"+I+\" exists, but is not available. Please file an issue!\");return{alias:W,name:U,value:Q}}throw new t(\"intrinsic \"+I+\" does not exist!\")};H.exports=function(I,N){if(typeof I!=\"string\"||I.length===0)throw new r(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof N!=\"boolean\")throw new r('\"allowMissing\" argument must be a boolean');if(P(/^%?[^%]*%?$/,I)===null)throw new t(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var U=F(I),W=U.length>0?U[0]:\"\",Q=B(\"%\"+W+\"%\",N),le=Q.name,se=Q.value,fe=!1,G=Q.alias;G&&(W=G[0],u(U,v([0,1],G)));for(var $=1,J=!0;$=U.length){var j=a(se,X);J=!!j,J&&\"get\"in j&&!(\"originalValue\"in j.get)?se=j.get:se=se[X]}else J=b(se,X),se=se[X];J&&!fe&&(_[le]=se)}}return se}}}),ox=ke({\"node_modules/es-define-property/index.js\"(Z,H){\"use strict\";var g=iy(),x=g(\"%Object.defineProperty%\",!0)||!1;if(x)try{x({},\"a\",{value:1})}catch{x=!1}H.exports=x}}),_0=ke({\"node_modules/gopd/index.js\"(Z,H){\"use strict\";var g=iy(),x=g(\"%Object.getOwnPropertyDescriptor%\",!0);if(x)try{x([],\"length\")}catch{x=null}H.exports=x}}),aL=ke({\"node_modules/define-data-property/index.js\"(Z,H){\"use strict\";var g=ox(),x=b3(),A=y0(),S=_0();H.exports=function(t,r,o){if(!t||typeof t!=\"object\"&&typeof t!=\"function\")throw new A(\"`obj` must be an object or a function`\");if(typeof r!=\"string\"&&typeof r!=\"symbol\")throw new A(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new A(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new A(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new A(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new A(\"`loose`, if provided, must be a boolean\");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!S&&S(t,r);if(g)g(t,r,{configurable:a===null&&c?c.configurable:!a,enumerable:n===null&&c?c.enumerable:!n,value:o,writable:i===null&&c?c.writable:!i});else if(s||!n&&!i&&!a)t[r]=o;else throw new x(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")}}}),w3=ke({\"node_modules/has-property-descriptors/index.js\"(Z,H){\"use strict\";var g=ox(),x=function(){return!!g};x.hasArrayLengthDefineBug=function(){if(!g)return null;try{return g([],\"length\",{value:1}).length!==1}catch{return!0}},H.exports=x}}),oL=ke({\"node_modules/set-function-length/index.js\"(Z,H){\"use strict\";var g=iy(),x=aL(),A=w3()(),S=_0(),e=y0(),t=g(\"%Math.floor%\");H.exports=function(o,n){if(typeof o!=\"function\")throw new e(\"`fn` is not a function\");if(typeof n!=\"number\"||n<0||n>4294967295||t(n)!==n)throw new e(\"`length` must be a positive 32-bit integer\");var i=arguments.length>2&&!!arguments[2],a=!0,s=!0;if(\"length\"in o&&S){var c=S(o,\"length\");c&&!c.configurable&&(a=!1),c&&!c.writable&&(s=!1)}return(a||s||!i)&&(A?x(o,\"length\",n,!0,!0):x(o,\"length\",n)),o}}}),x0=ke({\"node_modules/call-bind/index.js\"(Z,H){\"use strict\";var g=ax(),x=iy(),A=oL(),S=y0(),e=x(\"%Function.prototype.apply%\"),t=x(\"%Function.prototype.call%\"),r=x(\"%Reflect.apply%\",!0)||g.call(t,e),o=ox(),n=x(\"%Math.max%\");H.exports=function(s){if(typeof s!=\"function\")throw new S(\"a function is required\");var c=r(g,t,arguments);return A(c,1+n(0,s.length-(arguments.length-1)),!0)};var i=function(){return r(g,e,arguments)};o?o(H.exports,\"apply\",{value:i}):H.exports.apply=i}}),ay=ke({\"node_modules/call-bind/callBound.js\"(Z,H){\"use strict\";var g=iy(),x=x0(),A=x(g(\"String.prototype.indexOf\"));H.exports=function(e,t){var r=g(e,!!t);return typeof r==\"function\"&&A(e,\".prototype.\")>-1?x(r):r}}}),sL=ke({\"node_modules/is-arguments/index.js\"(Z,H){\"use strict\";var g=g0()(),x=ay(),A=x(\"Object.prototype.toString\"),S=function(o){return g&&o&&typeof o==\"object\"&&Symbol.toStringTag in o?!1:A(o)===\"[object Arguments]\"},e=function(o){return S(o)?!0:o!==null&&typeof o==\"object\"&&typeof o.length==\"number\"&&o.length>=0&&A(o)!==\"[object Array]\"&&A(o.callee)===\"[object Function]\"},t=function(){return S(arguments)}();S.isLegacyArguments=e,H.exports=t?S:e}}),lL=ke({\"node_modules/is-generator-function/index.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=Function.prototype.toString,A=/^\\s*(?:function)?\\*/,S=g0()(),e=Object.getPrototypeOf,t=function(){if(!S)return!1;try{return Function(\"return function*() {}\")()}catch{}},r;H.exports=function(n){if(typeof n!=\"function\")return!1;if(A.test(x.call(n)))return!0;if(!S){var i=g.call(n);return i===\"[object GeneratorFunction]\"}if(!e)return!1;if(typeof r>\"u\"){var a=t();r=a?e(a):!1}return e(n)===r}}}),uL=ke({\"node_modules/is-callable/index.js\"(Z,H){\"use strict\";var g=Function.prototype.toString,x=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,A,S;if(typeof x==\"function\"&&typeof Object.defineProperty==\"function\")try{A=Object.defineProperty({},\"length\",{get:function(){throw S}}),S={},x(function(){throw 42},null,A)}catch(_){_!==S&&(x=null)}else x=null;var e=/^\\s*class\\b/,t=function(w){try{var M=g.call(w);return e.test(M)}catch{return!1}},r=function(w){try{return t(w)?!1:(g.call(w),!0)}catch{return!1}},o=Object.prototype.toString,n=\"[object Object]\",i=\"[object Function]\",a=\"[object GeneratorFunction]\",s=\"[object HTMLAllCollection]\",c=\"[object HTML document.all class]\",h=\"[object HTMLCollection]\",p=typeof Symbol==\"function\"&&!!Symbol.toStringTag,d=!(0 in[,]),T=function(){return!1};typeof document==\"object\"&&(l=document.all,o.call(l)===o.call(document.all)&&(T=function(w){if((d||!w)&&(typeof w>\"u\"||typeof w==\"object\"))try{var M=o.call(w);return(M===s||M===c||M===h||M===n)&&w(\"\")==null}catch{}return!1}));var l;H.exports=x?function(w){if(T(w))return!0;if(!w||typeof w!=\"function\"&&typeof w!=\"object\")return!1;try{x(w,null,A)}catch(M){if(M!==S)return!1}return!t(w)&&r(w)}:function(w){if(T(w))return!0;if(!w||typeof w!=\"function\"&&typeof w!=\"object\")return!1;if(p)return r(w);if(t(w))return!1;var M=o.call(w);return M!==i&&M!==a&&!/^\\[object HTML/.test(M)?!1:r(w)}}}),T3=ke({\"node_modules/for-each/index.js\"(Z,H){\"use strict\";var g=uL(),x=Object.prototype.toString,A=Object.prototype.hasOwnProperty,S=function(n,i,a){for(var s=0,c=n.length;s=3&&(s=a),x.call(n)===\"[object Array]\"?S(n,i,s):typeof n==\"string\"?e(n,i,s):t(n,i,s)};H.exports=r}}),A3=ke({\"node_modules/available-typed-arrays/index.js\"(Z,H){\"use strict\";var g=[\"BigInt64Array\",\"BigUint64Array\",\"Float32Array\",\"Float64Array\",\"Int16Array\",\"Int32Array\",\"Int8Array\",\"Uint16Array\",\"Uint32Array\",\"Uint8Array\",\"Uint8ClampedArray\"],x=typeof globalThis>\"u\"?window:globalThis;H.exports=function(){for(var S=[],e=0;e\"u\"?window:globalThis,n=x(),i=S(\"String.prototype.slice\"),a=Object.getPrototypeOf,s=S(\"Array.prototype.indexOf\",!0)||function(T,l){for(var _=0;_-1?l:l!==\"Object\"?!1:p(T)}return e?h(T):null}}}),fL=ke({\"node_modules/is-typed-array/index.js\"(Z,H){\"use strict\";var g=T3(),x=A3(),A=ay(),S=A(\"Object.prototype.toString\"),e=g0()(),t=_0(),r=typeof globalThis>\"u\"?window:globalThis,o=x(),n=A(\"Array.prototype.indexOf\",!0)||function(p,d){for(var T=0;T-1}return t?c(p):!1}}}),M3=ke({\"node_modules/util/support/types.js\"(Z){\"use strict\";var H=sL(),g=lL(),x=cL(),A=fL();function S(Te){return Te.call.bind(Te)}var e=typeof BigInt<\"u\",t=typeof Symbol<\"u\",r=S(Object.prototype.toString),o=S(Number.prototype.valueOf),n=S(String.prototype.valueOf),i=S(Boolean.prototype.valueOf);e&&(a=S(BigInt.prototype.valueOf));var a;t&&(s=S(Symbol.prototype.valueOf));var s;function c(Te,Ue){if(typeof Te!=\"object\")return!1;try{return Ue(Te),!0}catch{return!1}}Z.isArgumentsObject=H,Z.isGeneratorFunction=g,Z.isTypedArray=A;function h(Te){return typeof Promise<\"u\"&&Te instanceof Promise||Te!==null&&typeof Te==\"object\"&&typeof Te.then==\"function\"&&typeof Te.catch==\"function\"}Z.isPromise=h;function p(Te){return typeof ArrayBuffer<\"u\"&&ArrayBuffer.isView?ArrayBuffer.isView(Te):A(Te)||W(Te)}Z.isArrayBufferView=p;function d(Te){return x(Te)===\"Uint8Array\"}Z.isUint8Array=d;function T(Te){return x(Te)===\"Uint8ClampedArray\"}Z.isUint8ClampedArray=T;function l(Te){return x(Te)===\"Uint16Array\"}Z.isUint16Array=l;function _(Te){return x(Te)===\"Uint32Array\"}Z.isUint32Array=_;function w(Te){return x(Te)===\"Int8Array\"}Z.isInt8Array=w;function M(Te){return x(Te)===\"Int16Array\"}Z.isInt16Array=M;function E(Te){return x(Te)===\"Int32Array\"}Z.isInt32Array=E;function m(Te){return x(Te)===\"Float32Array\"}Z.isFloat32Array=m;function b(Te){return x(Te)===\"Float64Array\"}Z.isFloat64Array=b;function v(Te){return x(Te)===\"BigInt64Array\"}Z.isBigInt64Array=v;function u(Te){return x(Te)===\"BigUint64Array\"}Z.isBigUint64Array=u;function y(Te){return r(Te)===\"[object Map]\"}y.working=typeof Map<\"u\"&&y(new Map);function f(Te){return typeof Map>\"u\"?!1:y.working?y(Te):Te instanceof Map}Z.isMap=f;function P(Te){return r(Te)===\"[object Set]\"}P.working=typeof Set<\"u\"&&P(new Set);function L(Te){return typeof Set>\"u\"?!1:P.working?P(Te):Te instanceof Set}Z.isSet=L;function z(Te){return r(Te)===\"[object WeakMap]\"}z.working=typeof WeakMap<\"u\"&&z(new WeakMap);function F(Te){return typeof WeakMap>\"u\"?!1:z.working?z(Te):Te instanceof WeakMap}Z.isWeakMap=F;function B(Te){return r(Te)===\"[object WeakSet]\"}B.working=typeof WeakSet<\"u\"&&B(new WeakSet);function O(Te){return B(Te)}Z.isWeakSet=O;function I(Te){return r(Te)===\"[object ArrayBuffer]\"}I.working=typeof ArrayBuffer<\"u\"&&I(new ArrayBuffer);function N(Te){return typeof ArrayBuffer>\"u\"?!1:I.working?I(Te):Te instanceof ArrayBuffer}Z.isArrayBuffer=N;function U(Te){return r(Te)===\"[object DataView]\"}U.working=typeof ArrayBuffer<\"u\"&&typeof DataView<\"u\"&&U(new DataView(new ArrayBuffer(1),0,1));function W(Te){return typeof DataView>\"u\"?!1:U.working?U(Te):Te instanceof DataView}Z.isDataView=W;var Q=typeof SharedArrayBuffer<\"u\"?SharedArrayBuffer:void 0;function le(Te){return r(Te)===\"[object SharedArrayBuffer]\"}function se(Te){return typeof Q>\"u\"?!1:(typeof le.working>\"u\"&&(le.working=le(new Q)),le.working?le(Te):Te instanceof Q)}Z.isSharedArrayBuffer=se;function fe(Te){return r(Te)===\"[object AsyncFunction]\"}Z.isAsyncFunction=fe;function G(Te){return r(Te)===\"[object Map Iterator]\"}Z.isMapIterator=G;function $(Te){return r(Te)===\"[object Set Iterator]\"}Z.isSetIterator=$;function J(Te){return r(Te)===\"[object Generator]\"}Z.isGeneratorObject=J;function X(Te){return r(Te)===\"[object WebAssembly.Module]\"}Z.isWebAssemblyCompiledModule=X;function re(Te){return c(Te,o)}Z.isNumberObject=re;function ae(Te){return c(Te,n)}Z.isStringObject=ae;function j(Te){return c(Te,i)}Z.isBooleanObject=j;function ee(Te){return e&&c(Te,a)}Z.isBigIntObject=ee;function ie(Te){return t&&c(Te,s)}Z.isSymbolObject=ie;function ce(Te){return re(Te)||ae(Te)||j(Te)||ee(Te)||ie(Te)}Z.isBoxedPrimitive=ce;function xe(Te){return typeof Uint8Array<\"u\"&&(N(Te)||se(Te))}Z.isAnyArrayBuffer=xe,[\"isProxy\",\"isExternal\",\"isModuleNamespaceObject\"].forEach(function(Te){Object.defineProperty(Z,Te,{enumerable:!1,value:function(){throw new Error(Te+\" is not supported in userland\")}})})}}),S3=ke({\"node_modules/util/support/isBufferBrowser.js\"(Z,H){H.exports=function(x){return x&&typeof x==\"object\"&&typeof x.copy==\"function\"&&typeof x.fill==\"function\"&&typeof x.readUInt8==\"function\"}}}),E3=ke({\"(disabled):node_modules/util/util.js\"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case\"%s\":return String(le[Q++]);case\"%d\":return Number(le[Q++]);case\"%j\":try{return JSON.stringify(le[Q++])}catch{return\"[Circular]\"}default:return $}}),G=le[Q];Q\"u\")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S=\"false\",S=S.replace(/[|\\\\{}()[\\]^$+?.]/g,\"\\\\$&\").replace(/\\*/g,\".*\").replace(/,/g,\"$|^\").toUpperCase(),A=new RegExp(\"^\"+S+\"$\",\"i\");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error(\"%s %d: %s\",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"};function t(U,W){var Q=e.styles[W];return Q?\"\\x1B[\"+e.colors[Q][0]+\"m\"+U+\"\\x1B[\"+e.colors[Q][1]+\"m\":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf(\"message\")>=0||fe.indexOf(\"description\")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?\": \"+W.name:\"\";return U.stylize(\"[Function\"+$+\"]\",\"special\")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),\"regexp\");if(v(W))return U.stylize(Date.prototype.toString.call(W),\"date\");if(u(W))return a(W)}var J=\"\",X=!1,re=[\"{\",\"}\"];if(p(W)&&(X=!0,re=[\"[\",\"]\"]),y(W)){var ae=W.name?\": \"+W.name:\"\";J=\" [Function\"+ae+\"]\"}if(m(W)&&(J=\" \"+RegExp.prototype.toString.call(W)),v(W)&&(J=\" \"+Date.prototype.toUTCString.call(W)),u(W)&&(J=\" \"+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),\"regexp\"):U.stylize(\"[Object]\",\"special\");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize(\"undefined\",\"undefined\");if(w(W)){var Q=\"'\"+JSON.stringify(W).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return U.stylize(Q,\"string\")}if(_(W))return U.stylize(\"\"+W,\"number\");if(d(W))return U.stylize(\"\"+W,\"boolean\");if(T(W))return U.stylize(\"null\",\"null\")}function a(U){return\"[\"+Error.prototype.toString.call(U)+\"]\"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push(\"\");return se.forEach(function(J){J.match(/^\\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize(\"[Getter/Setter]\",\"special\"):$=U.stylize(\"[Getter]\",\"special\"):J.set&&($=U.stylize(\"[Setter]\",\"special\")),B(le,se)||(G=\"[\"+se+\"]\"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(`\n`)>-1&&(fe?$=$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`).slice(2):$=`\n`+$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`))):$=U.stylize(\"[Circular]\",\"special\")),E(G)){if(fe&&se.match(/^\\d+$/))return $;G=JSON.stringify(\"\"+se),G.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(G=G.slice(1,-1),G=U.stylize(G,\"name\")):(G=G.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),G=U.stylize(G,\"string\"))}return G+\": \"+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(`\n`)>=0&&le++,fe+G.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0);return se>60?Q[0]+(W===\"\"?\"\":W+`\n `)+\" \"+U.join(`,\n `)+\" \"+Q[1]:Q[0]+W+\" \"+U.join(\", \")+\" \"+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U==\"boolean\"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U==\"number\"}Z.isNumber=_;function w(U){return typeof U==\"string\"}Z.isString=w;function M(U){return typeof U==\"symbol\"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)===\"[object RegExp]\"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U==\"object\"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)===\"[object Date]\"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)===\"[object Error]\"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U==\"function\"}Z.isFunction=y;function f(U){return U===null||typeof U==\"boolean\"||typeof U==\"number\"||typeof U==\"string\"||typeof U==\"symbol\"||typeof U>\"u\"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?\"0\"+U.toString(10):U.toString(10)}var z=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(\":\");return[U.getDate(),z[U.getMonth()],W].join(\" \")}Z.log=function(){console.log(\"%s - %s\",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<\"u\"?Symbol(\"util.promisify.custom\"):void 0;Z.promisify=function(W){if(typeof W!=\"function\")throw new TypeError('The \"original\" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!=\"function\")throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$0?this.tail.next=d:this.head=d,this.tail=d,++this.length}},{key:\"unshift\",value:function(p){var d={data:p,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length}},{key:\"shift\",value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:\"clear\",value:function(){this.head=this.tail=null,this.length=0}},{key:\"join\",value:function(p){if(this.length===0)return\"\";for(var d=this.head,T=\"\"+d.data;d=d.next;)T+=p+d.data;return T}},{key:\"concat\",value:function(p){if(this.length===0)return o.alloc(0);for(var d=o.allocUnsafe(p>>>0),T=this.head,l=0;T;)s(T.data,d,l),l+=T.data.length,T=T.next;return d}},{key:\"consume\",value:function(p,d){var T;return p_.length?_.length:p;if(w===_.length?l+=_:l+=_.slice(0,p),p-=w,p===0){w===_.length?(++T,d.next?this.head=d.next:this.head=this.tail=null):(this.head=d,d.data=_.slice(w));break}++T}return this.length-=T,l}},{key:\"_getBuffer\",value:function(p){var d=o.allocUnsafe(p),T=this.head,l=1;for(T.data.copy(d),p-=T.data.length;T=T.next;){var _=T.data,w=p>_.length?_.length:p;if(_.copy(d,d.length-p,0,w),p-=w,p===0){w===_.length?(++l,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=_.slice(w));break}++l}return this.length-=l,d}},{key:a,value:function(p,d){return i(this,x({},d,{depth:0,customInspect:!1}))}}]),c}()}}),C3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js\"(Z,H){\"use strict\";function g(r,o){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(o?o(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(e,this,r)):process.nextTick(e,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(s){!o&&s?n._writableState?n._writableState.errorEmitted?process.nextTick(A,n):(n._writableState.errorEmitted=!0,process.nextTick(x,n,s)):process.nextTick(x,n,s):o?(process.nextTick(A,n),o(s)):process.nextTick(A,n)}),this)}function x(r,o){e(r,o),A(r)}function A(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit(\"close\")}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function e(r,o){r.emit(\"error\",o)}function t(r,o){var n=r._readableState,i=r._writableState;n&&n.autoDestroy||i&&i.autoDestroy?r.destroy(o):r.emit(\"error\",o)}H.exports={destroy:g,undestroy:S,errorOrDestroy:t}}}),Um=ke({\"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js\"(Z,H){\"use strict\";function g(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var x={};function A(o,n,i){i||(i=Error);function a(c,h,p){return typeof n==\"string\"?n:n(c,h,p)}var s=function(c){g(h,c);function h(p,d,T){return c.call(this,a(p,d,T))||this}return h}(i);s.prototype.name=i.name,s.prototype.code=o,x[o]=s}function S(o,n){if(Array.isArray(o)){var i=o.length;return o=o.map(function(a){return String(a)}),i>2?\"one of \".concat(n,\" \").concat(o.slice(0,i-1).join(\", \"),\", or \")+o[i-1]:i===2?\"one of \".concat(n,\" \").concat(o[0],\" or \").concat(o[1]):\"of \".concat(n,\" \").concat(o[0])}else return\"of \".concat(n,\" \").concat(String(o))}function e(o,n,i){return o.substr(!i||i<0?0:+i,n.length)===n}function t(o,n,i){return(i===void 0||i>o.length)&&(i=o.length),o.substring(i-n.length,i)===n}function r(o,n,i){return typeof i!=\"number\"&&(i=0),i+n.length>o.length?!1:o.indexOf(n,i)!==-1}A(\"ERR_INVALID_OPT_VALUE\",function(o,n){return'The value \"'+n+'\" is invalid for option \"'+o+'\"'},TypeError),A(\"ERR_INVALID_ARG_TYPE\",function(o,n,i){var a;typeof n==\"string\"&&e(n,\"not \")?(a=\"must not be\",n=n.replace(/^not /,\"\")):a=\"must be\";var s;if(t(o,\" argument\"))s=\"The \".concat(o,\" \").concat(a,\" \").concat(S(n,\"type\"));else{var c=r(o,\".\")?\"property\":\"argument\";s='The \"'.concat(o,'\" ').concat(c,\" \").concat(a,\" \").concat(S(n,\"type\"))}return s+=\". Received type \".concat(typeof i),s},TypeError),A(\"ERR_STREAM_PUSH_AFTER_EOF\",\"stream.push() after EOF\"),A(\"ERR_METHOD_NOT_IMPLEMENTED\",function(o){return\"The \"+o+\" method is not implemented\"}),A(\"ERR_STREAM_PREMATURE_CLOSE\",\"Premature close\"),A(\"ERR_STREAM_DESTROYED\",function(o){return\"Cannot call \"+o+\" after a stream was destroyed\"}),A(\"ERR_MULTIPLE_CALLBACK\",\"Callback called multiple times\"),A(\"ERR_STREAM_CANNOT_PIPE\",\"Cannot pipe, not readable\"),A(\"ERR_STREAM_WRITE_AFTER_END\",\"write after end\"),A(\"ERR_STREAM_NULL_VALUES\",\"May not write null values to stream\",TypeError),A(\"ERR_UNKNOWN_ENCODING\",function(o){return\"Unknown encoding: \"+o},TypeError),A(\"ERR_STREAM_UNSHIFT_AFTER_END_EVENT\",\"stream.unshift() after end event\"),H.exports.codes=x}}),k3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js\"(Z,H){\"use strict\";var g=Um().codes.ERR_INVALID_OPT_VALUE;function x(S,e,t){return S.highWaterMark!=null?S.highWaterMark:e?S[t]:null}function A(S,e,t,r){var o=x(e,r,t);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var n=r?t:\"highWaterMark\";throw new g(n,o)}return Math.floor(o)}return S.objectMode?16:16*1024}H.exports={getHighWaterMark:A}}}),dL=ke({\"node_modules/util-deprecate/browser.js\"(Z,H){H.exports=g;function g(A,S){if(x(\"noDeprecation\"))return A;var e=!1;function t(){if(!e){if(x(\"throwDeprecation\"))throw new Error(S);x(\"traceDeprecation\")?console.trace(S):console.warn(S),e=!0}return A.apply(this,arguments)}return t}function x(A){try{if(!window.localStorage)return!1}catch{return!1}var S=window.localStorage[A];return S==null?!1:String(S).toLowerCase()===\"true\"}}}),L3=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js\"(Z,H){\"use strict\";H.exports=v;function g(G){var $=this;this.next=null,this.entry=null,this.finish=function(){fe($,G)}}var x;v.WritableState=m;var A={deprecate:dL()},S=x3(),e=Nm().Buffer,t=window.Uint8Array||function(){};function r(G){return e.from(G)}function o(G){return e.isBuffer(G)||G instanceof t}var n=C3(),i=k3(),a=i.getHighWaterMark,s=Um().codes,c=s.ERR_INVALID_ARG_TYPE,h=s.ERR_METHOD_NOT_IMPLEMENTED,p=s.ERR_MULTIPLE_CALLBACK,d=s.ERR_STREAM_CANNOT_PIPE,T=s.ERR_STREAM_DESTROYED,l=s.ERR_STREAM_NULL_VALUES,_=s.ERR_STREAM_WRITE_AFTER_END,w=s.ERR_UNKNOWN_ENCODING,M=n.errorOrDestroy;$v()(v,S);function E(){}function m(G,$,J){x=x||jm(),G=G||{},typeof J!=\"boolean\"&&(J=$ instanceof x),this.objectMode=!!G.objectMode,J&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=a(this,G,\"writableHighWaterMark\",J),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=G.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=G.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(re){B($,re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=G.emitClose!==!1,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}m.prototype.getBuffer=function(){for(var $=this.bufferedRequest,J=[];$;)J.push($),$=$.next;return J},function(){try{Object.defineProperty(m.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch{}}();var b;typeof Symbol==\"function\"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==\"function\"?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function($){return b.call(this,$)?!0:this!==v?!1:$&&$._writableState instanceof m}})):b=function($){return $ instanceof this};function v(G){x=x||jm();var $=this instanceof x;if(!$&&!b.call(v,this))return new v(G);this._writableState=new m(G,this,$),this.writable=!0,G&&(typeof G.write==\"function\"&&(this._write=G.write),typeof G.writev==\"function\"&&(this._writev=G.writev),typeof G.destroy==\"function\"&&(this._destroy=G.destroy),typeof G.final==\"function\"&&(this._final=G.final)),S.call(this)}v.prototype.pipe=function(){M(this,new d)};function u(G,$){var J=new _;M(G,J),process.nextTick($,J)}function y(G,$,J,X){var re;return J===null?re=new l:typeof J!=\"string\"&&!$.objectMode&&(re=new c(\"chunk\",[\"string\",\"Buffer\"],J)),re?(M(G,re),process.nextTick(X,re),!1):!0}v.prototype.write=function(G,$,J){var X=this._writableState,re=!1,ae=!X.objectMode&&o(G);return ae&&!e.isBuffer(G)&&(G=r(G)),typeof $==\"function\"&&(J=$,$=null),ae?$=\"buffer\":$||($=X.defaultEncoding),typeof J!=\"function\"&&(J=E),X.ending?u(this,J):(ae||y(this,X,G,J))&&(X.pendingcb++,re=P(this,X,ae,G,$,J)),re},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&N(this,G))},v.prototype.setDefaultEncoding=function($){if(typeof $==\"string\"&&($=$.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf(($+\"\").toLowerCase())>-1))throw new w($);return this._writableState.defaultEncoding=$,this},Object.defineProperty(v.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function f(G,$,J){return!G.objectMode&&G.decodeStrings!==!1&&typeof $==\"string\"&&($=e.from($,J)),$}Object.defineProperty(v.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(G,$,J,X,re,ae){if(!J){var j=f($,X,re);X!==j&&(J=!0,re=\"buffer\",X=j)}var ee=$.objectMode?1:X.length;$.length+=ee;var ie=$.length<$.highWaterMark;if(ie||($.needDrain=!0),$.writing||$.corked){var ce=$.lastBufferedRequest;$.lastBufferedRequest={chunk:X,encoding:re,isBuf:J,callback:ae,next:null},ce?ce.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else L(G,$,!1,ee,X,re,ae);return ie}function L(G,$,J,X,re,ae,j){$.writelen=X,$.writecb=j,$.writing=!0,$.sync=!0,$.destroyed?$.onwrite(new T(\"write\")):J?G._writev(re,$.onwrite):G._write(re,ae,$.onwrite),$.sync=!1}function z(G,$,J,X,re){--$.pendingcb,J?(process.nextTick(re,X),process.nextTick(le,G,$),G._writableState.errorEmitted=!0,M(G,X)):(re(X),G._writableState.errorEmitted=!0,M(G,X),le(G,$))}function F(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}function B(G,$){var J=G._writableState,X=J.sync,re=J.writecb;if(typeof re!=\"function\")throw new p;if(F(J),$)z(G,J,X,$,re);else{var ae=U(J)||G.destroyed;!ae&&!J.corked&&!J.bufferProcessing&&J.bufferedRequest&&N(G,J),X?process.nextTick(O,G,J,ae,re):O(G,J,ae,re)}}function O(G,$,J,X){J||I(G,$),$.pendingcb--,X(),le(G,$)}function I(G,$){$.length===0&&$.needDrain&&($.needDrain=!1,G.emit(\"drain\"))}function N(G,$){$.bufferProcessing=!0;var J=$.bufferedRequest;if(G._writev&&J&&J.next){var X=$.bufferedRequestCount,re=new Array(X),ae=$.corkedRequestsFree;ae.entry=J;for(var j=0,ee=!0;J;)re[j]=J,J.isBuf||(ee=!1),J=J.next,j+=1;re.allBuffers=ee,L(G,$,!0,$.length,re,\"\",ae.finish),$.pendingcb++,$.lastBufferedRequest=null,ae.next?($.corkedRequestsFree=ae.next,ae.next=null):$.corkedRequestsFree=new g($),$.bufferedRequestCount=0}else{for(;J;){var ie=J.chunk,ce=J.encoding,xe=J.callback,Te=$.objectMode?1:ie.length;if(L(G,$,!1,Te,ie,ce,xe),J=J.next,$.bufferedRequestCount--,$.writing)break}J===null&&($.lastBufferedRequest=null)}$.bufferedRequest=J,$.bufferProcessing=!1}v.prototype._write=function(G,$,J){J(new h(\"_write()\"))},v.prototype._writev=null,v.prototype.end=function(G,$,J){var X=this._writableState;return typeof G==\"function\"?(J=G,G=null,$=null):typeof $==\"function\"&&(J=$,$=null),G!=null&&this.write(G,$),X.corked&&(X.corked=1,this.uncork()),X.ending||se(this,X,J),this},Object.defineProperty(v.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}});function U(G){return G.ending&&G.length===0&&G.bufferedRequest===null&&!G.finished&&!G.writing}function W(G,$){G._final(function(J){$.pendingcb--,J&&M(G,J),$.prefinished=!0,G.emit(\"prefinish\"),le(G,$)})}function Q(G,$){!$.prefinished&&!$.finalCalled&&(typeof G._final==\"function\"&&!$.destroyed?($.pendingcb++,$.finalCalled=!0,process.nextTick(W,G,$)):($.prefinished=!0,G.emit(\"prefinish\")))}function le(G,$){var J=U($);if(J&&(Q(G,$),$.pendingcb===0&&($.finished=!0,G.emit(\"finish\"),$.autoDestroy))){var X=G._readableState;(!X||X.autoDestroy&&X.endEmitted)&&G.destroy()}return J}function se(G,$,J){$.ending=!0,le(G,$),J&&($.finished?process.nextTick(J):G.once(\"finish\",J)),$.ended=!0,G.writable=!1}function fe(G,$,J){var X=G.entry;for(G.entry=null;X;){var re=X.callback;$.pendingcb--,re(J),X=X.next}$.corkedRequestsFree.next=G}Object.defineProperty(v.prototype,\"destroyed\",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),v.prototype.destroy=n.destroy,v.prototype._undestroy=n.undestroy,v.prototype._destroy=function(G,$){$(G)}}}),jm=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js\"(Z,H){\"use strict\";var g=Object.keys||function(i){var a=[];for(var s in i)a.push(s);return a};H.exports=r;var x=I3(),A=L3();for($v()(r,x),S=g(A.prototype),t=0;t>5===6?2:T>>4===14?3:T>>3===30?4:T>>6===2?-1:-2}function t(T,l,_){var w=l.length-1;if(w<_)return 0;var M=e(l[w]);return M>=0?(M>0&&(T.lastNeed=M-1),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(T.lastNeed=M-2),M):--w<_||M===-2?0:(M=e(l[w]),M>=0?(M>0&&(M===2?M=0:T.lastNeed=M-3),M):0))}function r(T,l,_){if((l[0]&192)!==128)return T.lastNeed=0,\"\\uFFFD\";if(T.lastNeed>1&&l.length>1){if((l[1]&192)!==128)return T.lastNeed=1,\"\\uFFFD\";if(T.lastNeed>2&&l.length>2&&(l[2]&192)!==128)return T.lastNeed=2,\"\\uFFFD\"}}function o(T){var l=this.lastTotal-this.lastNeed,_=r(this,T,l);if(_!==void 0)return _;if(this.lastNeed<=T.length)return T.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);T.copy(this.lastChar,l,0,T.length),this.lastNeed-=T.length}function n(T,l){var _=t(this,T,l);if(!this.lastNeed)return T.toString(\"utf8\",l);this.lastTotal=_;var w=T.length-(_-this.lastNeed);return T.copy(this.lastChar,0,w),T.toString(\"utf8\",l,w)}function i(T){var l=T&&T.length?this.write(T):\"\";return this.lastNeed?l+\"\\uFFFD\":l}function a(T,l){if((T.length-l)%2===0){var _=T.toString(\"utf16le\",l);if(_){var w=_.charCodeAt(_.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=T[T.length-1],T.toString(\"utf16le\",l,T.length-1)}function s(T){var l=T&&T.length?this.write(T):\"\";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return l+this.lastChar.toString(\"utf16le\",0,_)}return l}function c(T,l){var _=(T.length-l)%3;return _===0?T.toString(\"base64\",l):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=T[T.length-1]:(this.lastChar[0]=T[T.length-2],this.lastChar[1]=T[T.length-1]),T.toString(\"base64\",l,T.length-_))}function h(T){var l=T&&T.length?this.write(T):\"\";return this.lastNeed?l+this.lastChar.toString(\"base64\",0,3-this.lastNeed):l}function p(T){return T.toString(this.encoding)}function d(T){return T&&T.length?this.write(T):\"\"}}}),sx=ke({\"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js\"(Z,H){\"use strict\";var g=Um().codes.ERR_STREAM_PREMATURE_CLOSE;function x(t){var r=!1;return function(){if(!r){r=!0;for(var o=arguments.length,n=new Array(o),i=0;i0)if(typeof ee!=\"string\"&&!Te.objectMode&&Object.getPrototypeOf(ee)!==e.prototype&&(ee=r(ee)),ce)Te.endEmitted?m(j,new _):P(j,Te,ee,!0);else if(Te.ended)m(j,new T);else{if(Te.destroyed)return!1;Te.reading=!1,Te.decoder&&!ie?(ee=Te.decoder.write(ee),Te.objectMode||ee.length!==0?P(j,Te,ee,!1):U(j,Te)):P(j,Te,ee,!1)}else ce||(Te.reading=!1,U(j,Te))}return!Te.ended&&(Te.length=z?j=z:(j--,j|=j>>>1,j|=j>>>2,j|=j>>>4,j|=j>>>8,j|=j>>>16,j++),j}function B(j,ee){return j<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:j!==j?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(j>ee.highWaterMark&&(ee.highWaterMark=F(j)),j<=ee.length?j:ee.ended?ee.length:(ee.needReadable=!0,0))}y.prototype.read=function(j){i(\"read\",j),j=parseInt(j,10);var ee=this._readableState,ie=j;if(j!==0&&(ee.emittedReadable=!1),j===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return i(\"read: emitReadable\",ee.length,ee.ended),ee.length===0&&ee.ended?X(this):I(this),null;if(j=B(j,ee),j===0&&ee.ended)return ee.length===0&&X(this),null;var ce=ee.needReadable;i(\"need readable\",ce),(ee.length===0||ee.length-j0?xe=J(j,ee):xe=null,xe===null?(ee.needReadable=ee.length<=ee.highWaterMark,j=0):(ee.length-=j,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),ie!==j&&ee.ended&&X(this)),xe!==null&&this.emit(\"data\",xe),xe};function O(j,ee){if(i(\"onEofChunk\"),!ee.ended){if(ee.decoder){var ie=ee.decoder.end();ie&&ie.length&&(ee.buffer.push(ie),ee.length+=ee.objectMode?1:ie.length)}ee.ended=!0,ee.sync?I(j):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,N(j)))}}function I(j){var ee=j._readableState;i(\"emitReadable\",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(i(\"emitReadable\",ee.flowing),ee.emittedReadable=!0,process.nextTick(N,j))}function N(j){var ee=j._readableState;i(\"emitReadable_\",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(j.emit(\"readable\"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,$(j)}function U(j,ee){ee.readingMore||(ee.readingMore=!0,process.nextTick(W,j,ee))}function W(j,ee){for(;!ee.reading&&!ee.ended&&(ee.length1&&ae(ce.pipes,j)!==-1)&&!it&&(i(\"false write response, pause\",ce.awaitDrain),ce.awaitDrain++),ie.pause())}function ut(Oe){i(\"onerror\",Oe),ue(),j.removeListener(\"error\",ut),A(j,\"error\")===0&&m(j,Oe)}v(j,\"error\",ut);function Me(){j.removeListener(\"finish\",pe),ue()}j.once(\"close\",Me);function pe(){i(\"onfinish\"),j.removeListener(\"close\",Me),ue()}j.once(\"finish\",pe);function ue(){i(\"unpipe\"),ie.unpipe(j)}return j.emit(\"pipe\",ie),ce.flowing||(i(\"pipe resume\"),ie.resume()),j};function Q(j){return function(){var ie=j._readableState;i(\"pipeOnDrain\",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&A(j,\"data\")&&(ie.flowing=!0,$(j))}}y.prototype.unpipe=function(j){var ee=this._readableState,ie={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return j&&j!==ee.pipes?this:(j||(j=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,j&&j.emit(\"unpipe\",this,ie),this);if(!j){var ce=ee.pipes,xe=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var Te=0;Te0,ce.flowing!==!1&&this.resume()):j===\"readable\"&&!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.flowing=!1,ce.emittedReadable=!1,i(\"on readable\",ce.length,ce.reading),ce.length?I(this):ce.reading||process.nextTick(se,this)),ie},y.prototype.addListener=y.prototype.on,y.prototype.removeListener=function(j,ee){var ie=S.prototype.removeListener.call(this,j,ee);return j===\"readable\"&&process.nextTick(le,this),ie},y.prototype.removeAllListeners=function(j){var ee=S.prototype.removeAllListeners.apply(this,arguments);return(j===\"readable\"||j===void 0)&&process.nextTick(le,this),ee};function le(j){var ee=j._readableState;ee.readableListening=j.listenerCount(\"readable\")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:j.listenerCount(\"data\")>0&&j.resume()}function se(j){i(\"readable nexttick read 0\"),j.read(0)}y.prototype.resume=function(){var j=this._readableState;return j.flowing||(i(\"resume\"),j.flowing=!j.readableListening,fe(this,j)),j.paused=!1,this};function fe(j,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,process.nextTick(G,j,ee))}function G(j,ee){i(\"resume\",ee.reading),ee.reading||j.read(0),ee.resumeScheduled=!1,j.emit(\"resume\"),$(j),ee.flowing&&!ee.reading&&j.read(0)}y.prototype.pause=function(){return i(\"call pause flowing=%j\",this._readableState.flowing),this._readableState.flowing!==!1&&(i(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this._readableState.paused=!0,this};function $(j){var ee=j._readableState;for(i(\"flow\",ee.flowing);ee.flowing&&j.read()!==null;);}y.prototype.wrap=function(j){var ee=this,ie=this._readableState,ce=!1;j.on(\"end\",function(){if(i(\"wrapped end\"),ie.decoder&&!ie.ended){var Ue=ie.decoder.end();Ue&&Ue.length&&ee.push(Ue)}ee.push(null)}),j.on(\"data\",function(Ue){if(i(\"wrapped data\"),ie.decoder&&(Ue=ie.decoder.write(Ue)),!(ie.objectMode&&Ue==null)&&!(!ie.objectMode&&(!Ue||!Ue.length))){var Ie=ee.push(Ue);Ie||(ce=!0,j.pause())}});for(var xe in j)this[xe]===void 0&&typeof j[xe]==\"function\"&&(this[xe]=function(Ie){return function(){return j[Ie].apply(j,arguments)}}(xe));for(var Te=0;Te=ee.length?(ee.decoder?ie=ee.buffer.join(\"\"):ee.buffer.length===1?ie=ee.buffer.first():ie=ee.buffer.concat(ee.length),ee.buffer.clear()):ie=ee.buffer.consume(j,ee.decoder),ie}function X(j){var ee=j._readableState;i(\"endReadable\",ee.endEmitted),ee.endEmitted||(ee.ended=!0,process.nextTick(re,ee,j))}function re(j,ee){if(i(\"endReadableNT\",j.endEmitted,j.length),!j.endEmitted&&j.length===0&&(j.endEmitted=!0,ee.readable=!1,ee.emit(\"end\"),j.autoDestroy)){var ie=ee._writableState;(!ie||ie.autoDestroy&&ie.finished)&&ee.destroy()}}typeof Symbol==\"function\"&&(y.from=function(j,ee){return E===void 0&&(E=mL()),E(y,j,ee)});function ae(j,ee){for(var ie=0,ce=j.length;ie0;return o(_,M,E,function(m){T||(T=m),m&&l.forEach(n),!M&&(l.forEach(n),d(T))})});return h.reduce(i)}H.exports=s}}),_L=ke({\"node_modules/stream-browserify/index.js\"(Z,H){H.exports=A;var g=Lm().EventEmitter,x=$v();x(A,g),A.Readable=I3(),A.Writable=L3(),A.Duplex=jm(),A.Transform=R3(),A.PassThrough=gL(),A.finished=sx(),A.pipeline=yL(),A.Stream=A;function A(){g.call(this)}A.prototype.pipe=function(S,e){var t=this;function r(h){S.writable&&S.write(h)===!1&&t.pause&&t.pause()}t.on(\"data\",r);function o(){t.readable&&t.resume&&t.resume()}S.on(\"drain\",o),!S._isStdio&&(!e||e.end!==!1)&&(t.on(\"end\",i),t.on(\"close\",a));var n=!1;function i(){n||(n=!0,S.end())}function a(){n||(n=!0,typeof S.destroy==\"function\"&&S.destroy())}function s(h){if(c(),g.listenerCount(this,\"error\")===0)throw h}t.on(\"error\",s),S.on(\"error\",s);function c(){t.removeListener(\"data\",r),S.removeListener(\"drain\",o),t.removeListener(\"end\",i),t.removeListener(\"close\",a),t.removeListener(\"error\",s),S.removeListener(\"error\",s),t.removeListener(\"end\",c),t.removeListener(\"close\",c),S.removeListener(\"close\",c)}return t.on(\"end\",c),t.on(\"close\",c),S.on(\"close\",c),S.emit(\"pipe\",t),S}}}),oy=ke({\"node_modules/util/util.js\"(Z){var H=Object.getOwnPropertyDescriptors||function(W){for(var Q=Object.keys(W),le={},se=0;se=se)return $;switch($){case\"%s\":return String(le[Q++]);case\"%d\":return Number(le[Q++]);case\"%j\":try{return JSON.stringify(le[Q++])}catch{return\"[Circular]\"}default:return $}}),G=le[Q];Q\"u\")return function(){return Z.deprecate(U,W).apply(this,arguments)};var Q=!1;function le(){if(!Q){if(process.throwDeprecation)throw new Error(W);process.traceDeprecation?console.trace(W):console.error(W),Q=!0}return U.apply(this,arguments)}return le};var x={},A=/^$/;S=\"false\",S=S.replace(/[|\\\\{}()[\\]^$+?.]/g,\"\\\\$&\").replace(/\\*/g,\".*\").replace(/,/g,\"$|^\").toUpperCase(),A=new RegExp(\"^\"+S+\"$\",\"i\");var S;Z.debuglog=function(U){if(U=U.toUpperCase(),!x[U])if(A.test(U)){var W=process.pid;x[U]=function(){var Q=Z.format.apply(Z,arguments);console.error(\"%s %d: %s\",U,W,Q)}}else x[U]=function(){};return x[U]};function e(U,W){var Q={seen:[],stylize:r};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),d(W)?Q.showHidden=W:W&&Z._extend(Q,W),E(Q.showHidden)&&(Q.showHidden=!1),E(Q.depth)&&(Q.depth=2),E(Q.colors)&&(Q.colors=!1),E(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=t),n(Q,U,Q.depth)}Z.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"};function t(U,W){var Q=e.styles[W];return Q?\"\\x1B[\"+e.colors[Q][0]+\"m\"+U+\"\\x1B[\"+e.colors[Q][1]+\"m\":U}function r(U,W){return U}function o(U){var W={};return U.forEach(function(Q,le){W[Q]=!0}),W}function n(U,W,Q){if(U.customInspect&&W&&y(W.inspect)&&W.inspect!==Z.inspect&&!(W.constructor&&W.constructor.prototype===W)){var le=W.inspect(Q,U);return w(le)||(le=n(U,le,Q)),le}var se=i(U,W);if(se)return se;var fe=Object.keys(W),G=o(fe);if(U.showHidden&&(fe=Object.getOwnPropertyNames(W)),u(W)&&(fe.indexOf(\"message\")>=0||fe.indexOf(\"description\")>=0))return a(W);if(fe.length===0){if(y(W)){var $=W.name?\": \"+W.name:\"\";return U.stylize(\"[Function\"+$+\"]\",\"special\")}if(m(W))return U.stylize(RegExp.prototype.toString.call(W),\"regexp\");if(v(W))return U.stylize(Date.prototype.toString.call(W),\"date\");if(u(W))return a(W)}var J=\"\",X=!1,re=[\"{\",\"}\"];if(p(W)&&(X=!0,re=[\"[\",\"]\"]),y(W)){var ae=W.name?\": \"+W.name:\"\";J=\" [Function\"+ae+\"]\"}if(m(W)&&(J=\" \"+RegExp.prototype.toString.call(W)),v(W)&&(J=\" \"+Date.prototype.toUTCString.call(W)),u(W)&&(J=\" \"+a(W)),fe.length===0&&(!X||W.length==0))return re[0]+J+re[1];if(Q<0)return m(W)?U.stylize(RegExp.prototype.toString.call(W),\"regexp\"):U.stylize(\"[Object]\",\"special\");U.seen.push(W);var j;return X?j=s(U,W,Q,G,fe):j=fe.map(function(ee){return c(U,W,Q,G,ee,X)}),U.seen.pop(),h(j,J,re)}function i(U,W){if(E(W))return U.stylize(\"undefined\",\"undefined\");if(w(W)){var Q=\"'\"+JSON.stringify(W).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return U.stylize(Q,\"string\")}if(_(W))return U.stylize(\"\"+W,\"number\");if(d(W))return U.stylize(\"\"+W,\"boolean\");if(T(W))return U.stylize(\"null\",\"null\")}function a(U){return\"[\"+Error.prototype.toString.call(U)+\"]\"}function s(U,W,Q,le,se){for(var fe=[],G=0,$=W.length;G<$;++G)B(W,String(G))?fe.push(c(U,W,Q,le,String(G),!0)):fe.push(\"\");return se.forEach(function(J){J.match(/^\\d+$/)||fe.push(c(U,W,Q,le,J,!0))}),fe}function c(U,W,Q,le,se,fe){var G,$,J;if(J=Object.getOwnPropertyDescriptor(W,se)||{value:W[se]},J.get?J.set?$=U.stylize(\"[Getter/Setter]\",\"special\"):$=U.stylize(\"[Getter]\",\"special\"):J.set&&($=U.stylize(\"[Setter]\",\"special\")),B(le,se)||(G=\"[\"+se+\"]\"),$||(U.seen.indexOf(J.value)<0?(T(Q)?$=n(U,J.value,null):$=n(U,J.value,Q-1),$.indexOf(`\n`)>-1&&(fe?$=$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`).slice(2):$=`\n`+$.split(`\n`).map(function(X){return\" \"+X}).join(`\n`))):$=U.stylize(\"[Circular]\",\"special\")),E(G)){if(fe&&se.match(/^\\d+$/))return $;G=JSON.stringify(\"\"+se),G.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(G=G.slice(1,-1),G=U.stylize(G,\"name\")):(G=G.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),G=U.stylize(G,\"string\"))}return G+\": \"+$}function h(U,W,Q){var le=0,se=U.reduce(function(fe,G){return le++,G.indexOf(`\n`)>=0&&le++,fe+G.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0);return se>60?Q[0]+(W===\"\"?\"\":W+`\n `)+\" \"+U.join(`,\n `)+\" \"+Q[1]:Q[0]+W+\" \"+U.join(\", \")+\" \"+Q[1]}Z.types=M3();function p(U){return Array.isArray(U)}Z.isArray=p;function d(U){return typeof U==\"boolean\"}Z.isBoolean=d;function T(U){return U===null}Z.isNull=T;function l(U){return U==null}Z.isNullOrUndefined=l;function _(U){return typeof U==\"number\"}Z.isNumber=_;function w(U){return typeof U==\"string\"}Z.isString=w;function M(U){return typeof U==\"symbol\"}Z.isSymbol=M;function E(U){return U===void 0}Z.isUndefined=E;function m(U){return b(U)&&P(U)===\"[object RegExp]\"}Z.isRegExp=m,Z.types.isRegExp=m;function b(U){return typeof U==\"object\"&&U!==null}Z.isObject=b;function v(U){return b(U)&&P(U)===\"[object Date]\"}Z.isDate=v,Z.types.isDate=v;function u(U){return b(U)&&(P(U)===\"[object Error]\"||U instanceof Error)}Z.isError=u,Z.types.isNativeError=u;function y(U){return typeof U==\"function\"}Z.isFunction=y;function f(U){return U===null||typeof U==\"boolean\"||typeof U==\"number\"||typeof U==\"string\"||typeof U==\"symbol\"||typeof U>\"u\"}Z.isPrimitive=f,Z.isBuffer=S3();function P(U){return Object.prototype.toString.call(U)}function L(U){return U<10?\"0\"+U.toString(10):U.toString(10)}var z=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function F(){var U=new Date,W=[L(U.getHours()),L(U.getMinutes()),L(U.getSeconds())].join(\":\");return[U.getDate(),z[U.getMonth()],W].join(\" \")}Z.log=function(){console.log(\"%s - %s\",F(),Z.format.apply(Z,arguments))},Z.inherits=$v(),Z._extend=function(U,W){if(!W||!b(W))return U;for(var Q=Object.keys(W),le=Q.length;le--;)U[Q[le]]=W[Q[le]];return U};function B(U,W){return Object.prototype.hasOwnProperty.call(U,W)}var O=typeof Symbol<\"u\"?Symbol(\"util.promisify.custom\"):void 0;Z.promisify=function(W){if(typeof W!=\"function\")throw new TypeError('The \"original\" argument must be of type Function');if(O&&W[O]){var Q=W[O];if(typeof Q!=\"function\")throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(Q,O,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var le,se,fe=new Promise(function(J,X){le=J,se=X}),G=[],$=0;$\"u\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function c(E){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},c(E)}var h={},p,d;function T(E,m,b){b||(b=Error);function v(y,f,P){return typeof m==\"string\"?m:m(y,f,P)}var u=function(y){r(P,y);var f=n(P);function P(L,z,F){var B;return t(this,P),B=f.call(this,v(L,z,F)),B.code=E,B}return A(P)}(b);h[E]=u}function l(E,m){if(Array.isArray(E)){var b=E.length;return E=E.map(function(v){return String(v)}),b>2?\"one of \".concat(m,\" \").concat(E.slice(0,b-1).join(\", \"),\", or \")+E[b-1]:b===2?\"one of \".concat(m,\" \").concat(E[0],\" or \").concat(E[1]):\"of \".concat(m,\" \").concat(E[0])}else return\"of \".concat(m,\" \").concat(String(E))}function _(E,m,b){return E.substr(!b||b<0?0:+b,m.length)===m}function w(E,m,b){return(b===void 0||b>E.length)&&(b=E.length),E.substring(b-m.length,b)===m}function M(E,m,b){return typeof b!=\"number\"&&(b=0),b+m.length>E.length?!1:E.indexOf(m,b)!==-1}T(\"ERR_AMBIGUOUS_ARGUMENT\",'The \"%s\" argument is ambiguous. %s',TypeError),T(\"ERR_INVALID_ARG_TYPE\",function(E,m,b){p===void 0&&(p=w0()),p(typeof E==\"string\",\"'name' must be a string\");var v;typeof m==\"string\"&&_(m,\"not \")?(v=\"must not be\",m=m.replace(/^not /,\"\")):v=\"must be\";var u;if(w(E,\" argument\"))u=\"The \".concat(E,\" \").concat(v,\" \").concat(l(m,\"type\"));else{var y=M(E,\".\")?\"property\":\"argument\";u='The \"'.concat(E,'\" ').concat(y,\" \").concat(v,\" \").concat(l(m,\"type\"))}return u+=\". Received type \".concat(g(b)),u},TypeError),T(\"ERR_INVALID_ARG_VALUE\",function(E,m){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:\"is invalid\";d===void 0&&(d=oy());var v=d.inspect(m);return v.length>128&&(v=\"\".concat(v.slice(0,128),\"...\")),\"The argument '\".concat(E,\"' \").concat(b,\". Received \").concat(v)},TypeError,RangeError),T(\"ERR_INVALID_RETURN_VALUE\",function(E,m,b){var v;return b&&b.constructor&&b.constructor.name?v=\"instance of \".concat(b.constructor.name):v=\"type \".concat(g(b)),\"Expected \".concat(E,' to be returned from the \"').concat(m,'\"')+\" function but got \".concat(v,\".\")},TypeError),T(\"ERR_MISSING_ARGS\",function(){for(var E=arguments.length,m=new Array(E),b=0;b0,\"At least one arg needs to be specified\");var v=\"The \",u=m.length;switch(m=m.map(function(y){return'\"'.concat(y,'\"')}),u){case 1:v+=\"\".concat(m[0],\" argument\");break;case 2:v+=\"\".concat(m[0],\" and \").concat(m[1],\" arguments\");break;default:v+=m.slice(0,u-1).join(\", \"),v+=\", and \".concat(m[u-1],\" arguments\");break}return\"\".concat(v,\" must be specified\")},TypeError),H.exports.codes=h}}),xL=ke({\"node_modules/assert/build/internal/assert/assertion_error.js\"(Z,H){\"use strict\";function g(N,U){var W=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);U&&(Q=Q.filter(function(le){return Object.getOwnPropertyDescriptor(N,le).enumerable})),W.push.apply(W,Q)}return W}function x(N){for(var U=1;U\"u\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d(N){return Function.toString.call(N).indexOf(\"[native code]\")!==-1}function T(N,U){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Q,le){return Q.__proto__=le,Q},T(N,U)}function l(N){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},l(N)}function _(N){\"@babel/helpers - typeof\";return _=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(U){return typeof U}:function(U){return U&&typeof Symbol==\"function\"&&U.constructor===Symbol&&U!==Symbol.prototype?\"symbol\":typeof U},_(N)}var w=oy(),M=w.inspect,E=D3(),m=E.codes.ERR_INVALID_ARG_TYPE;function b(N,U,W){return(W===void 0||W>N.length)&&(W=N.length),N.substring(W-U.length,W)===U}function v(N,U){if(U=Math.floor(U),N.length==0||U==0)return\"\";var W=N.length*U;for(U=Math.floor(Math.log(U)/Math.log(2));U;)N+=N,U--;return N+=N.substring(0,W-N.length),N}var u=\"\",y=\"\",f=\"\",P=\"\",L={deepStrictEqual:\"Expected values to be strictly deep-equal:\",strictEqual:\"Expected values to be strictly equal:\",strictEqualObject:'Expected \"actual\" to be reference-equal to \"expected\":',deepEqual:\"Expected values to be loosely deep-equal:\",equal:\"Expected values to be loosely equal:\",notDeepStrictEqual:'Expected \"actual\" not to be strictly deep-equal to:',notStrictEqual:'Expected \"actual\" to be strictly unequal to:',notStrictEqualObject:'Expected \"actual\" not to be reference-equal to \"expected\":',notDeepEqual:'Expected \"actual\" not to be loosely deep-equal to:',notEqual:'Expected \"actual\" to be loosely unequal to:',notIdentical:\"Values identical but not reference-equal:\"},z=10;function F(N){var U=Object.keys(N),W=Object.create(Object.getPrototypeOf(N));return U.forEach(function(Q){W[Q]=N[Q]}),Object.defineProperty(W,\"message\",{value:N.message}),W}function B(N){return M(N,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function O(N,U,W){var Q=\"\",le=\"\",se=0,fe=\"\",G=!1,$=B(N),J=$.split(`\n`),X=B(U).split(`\n`),re=0,ae=\"\";if(W===\"strictEqual\"&&_(N)===\"object\"&&_(U)===\"object\"&&N!==null&&U!==null&&(W=\"strictEqualObject\"),J.length===1&&X.length===1&&J[0]!==X[0]){var j=J[0].length+X[0].length;if(j<=z){if((_(N)!==\"object\"||N===null)&&(_(U)!==\"object\"||U===null)&&(N!==0||U!==0))return\"\".concat(L[W],`\n\n`)+\"\".concat(J[0],\" !== \").concat(X[0],`\n`)}else if(W!==\"strictEqualObject\"){var ee=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(j2&&(ae=`\n `.concat(v(\" \",re),\"^\"),re=0)}}}for(var ie=J[J.length-1],ce=X[X.length-1];ie===ce&&(re++<2?fe=`\n `.concat(ie).concat(fe):Q=ie,J.pop(),X.pop(),!(J.length===0||X.length===0));)ie=J[J.length-1],ce=X[X.length-1];var xe=Math.max(J.length,X.length);if(xe===0){var Te=$.split(`\n`);if(Te.length>30)for(Te[26]=\"\".concat(u,\"...\").concat(P);Te.length>27;)Te.pop();return\"\".concat(L.notIdentical,`\n\n`).concat(Te.join(`\n`),`\n`)}re>3&&(fe=`\n`.concat(u,\"...\").concat(P).concat(fe),G=!0),Q!==\"\"&&(fe=`\n `.concat(Q).concat(fe),Q=\"\");var Ue=0,Ie=L[W]+`\n`.concat(y,\"+ actual\").concat(P,\" \").concat(f,\"- expected\").concat(P),Ye=\" \".concat(u,\"...\").concat(P,\" Lines skipped\");for(re=0;re1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(X[re-2]),Ue++),le+=`\n `.concat(X[re-1]),Ue++),se=re,Q+=`\n`.concat(f,\"-\").concat(P,\" \").concat(X[re]),Ue++;else if(X.length1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(J[re-2]),Ue++),le+=`\n `.concat(J[re-1]),Ue++),se=re,le+=`\n`.concat(y,\"+\").concat(P,\" \").concat(J[re]),Ue++;else{var at=X[re],tt=J[re],ut=tt!==at&&(!b(tt,\",\")||tt.slice(0,-1)!==at);ut&&b(at,\",\")&&at.slice(0,-1)===tt&&(ut=!1,tt+=\",\"),ut?(it>1&&re>2&&(it>4?(le+=`\n`.concat(u,\"...\").concat(P),G=!0):it>3&&(le+=`\n `.concat(J[re-2]),Ue++),le+=`\n `.concat(J[re-1]),Ue++),se=re,le+=`\n`.concat(y,\"+\").concat(P,\" \").concat(tt),Q+=`\n`.concat(f,\"-\").concat(P,\" \").concat(at),Ue+=2):(le+=Q,Q=\"\",(it===1||re===0)&&(le+=`\n `.concat(tt),Ue++))}if(Ue>20&&re30)for(j[26]=\"\".concat(u,\"...\").concat(P);j.length>27;)j.pop();j.length===1?se=W.call(this,\"\".concat(ae,\" \").concat(j[0])):se=W.call(this,\"\".concat(ae,`\n\n`).concat(j.join(`\n`),`\n`))}else{var ee=B(J),ie=\"\",ce=L[G];G===\"notDeepEqual\"||G===\"notEqual\"?(ee=\"\".concat(L[G],`\n\n`).concat(ee),ee.length>1024&&(ee=\"\".concat(ee.slice(0,1021),\"...\"))):(ie=\"\".concat(B(X)),ee.length>512&&(ee=\"\".concat(ee.slice(0,509),\"...\")),ie.length>512&&(ie=\"\".concat(ie.slice(0,509),\"...\")),G===\"deepEqual\"||G===\"equal\"?ee=\"\".concat(ce,`\n\n`).concat(ee,`\n\nshould equal\n\n`):ie=\" \".concat(G,\" \").concat(ie)),se=W.call(this,\"\".concat(ee).concat(ie))}return Error.stackTraceLimit=re,se.generatedMessage=!fe,Object.defineProperty(s(se),\"name\",{value:\"AssertionError [ERR_ASSERTION]\",enumerable:!1,writable:!0,configurable:!0}),se.code=\"ERR_ASSERTION\",se.actual=J,se.expected=X,se.operator=G,Error.captureStackTrace&&Error.captureStackTrace(s(se),$),se.stack,se.name=\"AssertionError\",a(se)}return t(Q,[{key:\"toString\",value:function(){return\"\".concat(this.name,\" [\").concat(this.code,\"]: \").concat(this.message)}},{key:U,value:function(se,fe){return M(this,x(x({},fe),{},{customInspect:!1,depth:0}))}}]),Q}(c(Error),M.custom);H.exports=I}}),z3=ke({\"node_modules/object-keys/isArguments.js\"(Z,H){\"use strict\";var g=Object.prototype.toString;H.exports=function(A){var S=g.call(A),e=S===\"[object Arguments]\";return e||(e=S!==\"[object Array]\"&&A!==null&&typeof A==\"object\"&&typeof A.length==\"number\"&&A.length>=0&&g.call(A.callee)===\"[object Function]\"),e}}}),bL=ke({\"node_modules/object-keys/implementation.js\"(Z,H){\"use strict\";var g;Object.keys||(x=Object.prototype.hasOwnProperty,A=Object.prototype.toString,S=z3(),e=Object.prototype.propertyIsEnumerable,t=!e.call({toString:null},\"toString\"),r=e.call(function(){},\"prototype\"),o=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],n=function(c){var h=c.constructor;return h&&h.prototype===c},i={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if(typeof window>\"u\")return!1;for(var c in window)try{if(!i[\"$\"+c]&&x.call(window,c)&&window[c]!==null&&typeof window[c]==\"object\")try{n(window[c])}catch{return!0}}catch{return!0}return!1}(),s=function(c){if(typeof window>\"u\"||!a)return n(c);try{return n(c)}catch{return!1}},g=function(h){var p=h!==null&&typeof h==\"object\",d=A.call(h)===\"[object Function]\",T=S(h),l=p&&A.call(h)===\"[object String]\",_=[];if(!p&&!d&&!T)throw new TypeError(\"Object.keys called on a non-object\");var w=r&&d;if(l&&h.length>0&&!x.call(h,0))for(var M=0;M0)for(var E=0;E2?arguments[2]:{},h=g(s);x&&(h=S.call(h,Object.getOwnPropertySymbols(s)));for(var p=0;pMe.length)&&(pe=Me.length);for(var ue=0,Oe=new Array(pe);ue10)return!0;for(var pe=0;pe57)return!0}return Me.length===10&&Me>=Math.pow(2,32)}function I(Me){return Object.keys(Me).filter(O).concat(s(Me).filter(Object.prototype.propertyIsEnumerable.bind(Me)))}function N(Me,pe){if(Me===pe)return 0;for(var ue=Me.length,Oe=pe.length,rt=0,ot=Math.min(ue,Oe);rt1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae1?X-1:0),ae=1;ae0)return t(i);if(s===\"number\"&&isNaN(i)===!1)return a.long?o(i):r(i);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(i))};function t(i){if(i=String(i),!(i.length>100)){var a=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(i);if(a){var s=parseFloat(a[1]),c=(a[2]||\"ms\").toLowerCase();switch(c){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return s*e;case\"days\":case\"day\":case\"d\":return s*S;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return s*A;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return s*x;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return s*g;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return s;default:return}}}}function r(i){return i>=S?Math.round(i/S)+\"d\":i>=A?Math.round(i/A)+\"h\":i>=x?Math.round(i/x)+\"m\":i>=g?Math.round(i/g)+\"s\":i+\"ms\"}function o(i){return n(i,S,\"day\")||n(i,A,\"hour\")||n(i,x,\"minute\")||n(i,g,\"second\")||i+\" ms\"}function n(i,a,s){if(!(i=31||typeof navigator<\"u\"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)}Z.formatters.j=function(r){try{return JSON.stringify(r)}catch(o){return\"[UnexpectedJSONParseError]: \"+o.message}};function x(r){var o=this.useColors;if(r[0]=(o?\"%c\":\"\")+this.namespace+(o?\" %c\":\" \")+r[0]+(o?\"%c \":\" \")+\"+\"+Z.humanize(this.diff),!!o){var n=\"color: \"+this.color;r.splice(1,0,n,\"color: inherit\");var i=0,a=0;r[0].replace(/%[a-zA-Z%]/g,function(s){s!==\"%%\"&&(i++,s===\"%c\"&&(a=i))}),r.splice(a,0,n)}}function A(){return typeof console==\"object\"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function S(r){try{r==null?Z.storage.removeItem(\"debug\"):Z.storage.debug=r}catch{}}function e(){var r;try{r=Z.storage.debug}catch{}return!r&&typeof process<\"u\"&&\"env\"in process&&(r=process.env.DEBUG),r}Z.enable(e());function t(){try{return window.localStorage}catch{}}}}),IL=ke({\"node_modules/stream-parser/index.js\"(Z,H){var g=w0(),x=PL()(\"stream-parser\");H.exports=r;var A=-1,S=0,e=1,t=2;function r(l){var _=l&&typeof l._transform==\"function\",w=l&&typeof l._write==\"function\";if(!_&&!w)throw new Error(\"must pass a Writable or Transform stream in\");x(\"extending Parser into stream\"),l._bytes=n,l._skipBytes=i,_&&(l._passthrough=a),_?l._transform=c:l._write=s}function o(l){x(\"initializing parser stream\"),l._parserBytesLeft=0,l._parserBuffers=[],l._parserBuffered=0,l._parserState=A,l._parserCallback=null,typeof l.push==\"function\"&&(l._parserOutput=l.push.bind(l)),l._parserInit=!0}function n(l,_){g(!this._parserCallback,'there is already a \"callback\" set!'),g(isFinite(l)&&l>0,'can only buffer a finite number of bytes > 0, got \"'+l+'\"'),this._parserInit||o(this),x(\"buffering %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=S}function i(l,_){g(!this._parserCallback,'there is already a \"callback\" set!'),g(l>0,'can only skip > 0 bytes, got \"'+l+'\"'),this._parserInit||o(this),x(\"skipping %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=e}function a(l,_){g(!this._parserCallback,'There is already a \"callback\" set!'),g(l>0,'can only pass through > 0 bytes, got \"'+l+'\"'),this._parserInit||o(this),x(\"passing through %o bytes\",l),this._parserBytesLeft=l,this._parserCallback=_,this._parserState=t}function s(l,_,w){this._parserInit||o(this),x(\"write(%o bytes)\",l.length),typeof _==\"function\"&&(w=_),d(this,l,null,w)}function c(l,_,w){this._parserInit||o(this),x(\"transform(%o bytes)\",l.length),typeof _!=\"function\"&&(_=this._parserOutput),d(this,l,_,w)}function h(l,_,w,M){return l._parserBytesLeft<=0?M(new Error(\"got data but not currently parsing anything\")):_.length<=l._parserBytesLeft?function(){return p(l,_,w,M)}:function(){var E=_.slice(0,l._parserBytesLeft);return p(l,E,w,function(m){if(m)return M(m);if(_.length>E.length)return function(){return h(l,_.slice(E.length),w,M)}})}}function p(l,_,w,M){if(l._parserBytesLeft-=_.length,x(\"%o bytes left for stream piece\",l._parserBytesLeft),l._parserState===S?(l._parserBuffers.push(_),l._parserBuffered+=_.length):l._parserState===t&&w(_),l._parserBytesLeft===0){var E=l._parserCallback;if(E&&l._parserState===S&&l._parserBuffers.length>1&&(_=Buffer.concat(l._parserBuffers,l._parserBuffered)),l._parserState!==S&&(_=null),l._parserCallback=null,l._parserBuffered=0,l._parserState=A,l._parserBuffers.splice(0),E){var m=[];_&&m.push(_),w&&m.push(w);var b=E.length>m.length;b&&m.push(T(M));var v=E.apply(l,m);if(!b||M===v)return M}}else return M}var d=T(h);function T(l){return function(){for(var _=l.apply(this,arguments);typeof _==\"function\";)_=_();return _}}}}),Lu=ke({\"node_modules/probe-image-size/lib/common.js\"(Z){\"use strict\";var H=_L().Transform,g=IL();function x(){H.call(this,{readableObjectMode:!0})}x.prototype=Object.create(H.prototype),x.prototype.constructor=x,g(x.prototype),Z.ParserStream=x,Z.sliceEq=function(S,e,t){for(var r=e,o=0;o>4&15,h=a[4]&15,p=a[5]>>4&15,d=g(a,6),T=8,l=0;ld.width||p.width===d.width&&p.height>d.height?p:d}),c=a.reduce(function(p,d){return p.height>d.height||p.height===d.height&&p.width>d.width?p:d}),h;return s.width>c.height||s.width===c.height&&s.height>c.width?h=s:h=c,h}H.exports.readSizeFromMeta=function(a){var s={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(n(a,s),!!s.sizes.length){var c=i(s.sizes),h=1;s.transforms.forEach(function(d){var T={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},l={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(d.type===\"imir\"&&(d.value===0?h=l[h]:(h=l[h],h=T[h],h=T[h])),d.type===\"irot\")for(var _=0;_0&&!this.aborted;){var t=this.ifds_to_read.shift();t.offset&&this.scan_ifd(t.id,t.offset,S)}},A.prototype.read_uint16=function(S){var e=this.input;if(S+2>e.length)throw g(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?e[S]*256+e[S+1]:e[S]+e[S+1]*256},A.prototype.read_uint32=function(S){var e=this.input;if(S+4>e.length)throw g(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?e[S]*16777216+e[S+1]*65536+e[S+2]*256+e[S+3]:e[S]+e[S+1]*256+e[S+2]*65536+e[S+3]*16777216},A.prototype.is_subifd_link=function(S,e){return S===0&&e===34665||S===0&&e===34853||S===34665&&e===40965},A.prototype.exif_format_length=function(S){switch(S){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},A.prototype.exif_format_read=function(S,e){var t;switch(S){case 1:case 2:return t=this.input[e],t;case 6:return t=this.input[e],t|(t&128)*33554430;case 3:return t=this.read_uint16(e),t;case 8:return t=this.read_uint16(e),t|(t&32768)*131070;case 4:return t=this.read_uint32(e),t;case 9:return t=this.read_uint32(e),t|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},A.prototype.scan_ifd=function(S,e,t){var r=this.read_uint16(e);e+=2;for(var o=0;othis.input.length)throw g(\"unexpected EOF\",\"EBADDATA\");for(var d=[],T=h,l=0;l0&&(this.ifds_to_read.push({id:n,offset:d[0]}),p=!0);var w={is_big_endian:this.big_endian,ifd:S,tag:n,format:i,count:a,entry_offset:e+this.start,data_length:c,data_offset:h+this.start,value:d,is_subifd_link:p};if(t(w)===!1){this.aborted=!0;return}e+=12}S===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(e)})},H.exports.ExifParser=A,H.exports.get_orientation=function(S){var e=0;try{return new A(S,0,S.length).each(function(t){if(t.ifd===0&&t.tag===274&&Array.isArray(t.value))return e=t.value[0],!1}),e}catch{return-1}}}}),DL=ke({\"node_modules/probe-image-size/lib/parse_sync/avif.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=RL(),e=ux(),t=g(\"ftyp\");H.exports=function(r){if(x(r,4,t)){var o=S.unbox(r,0);if(o){var n=S.getMimeType(o.data);if(n){for(var i,a=o.end;;){var s=S.unbox(r,a);if(!s)break;if(a=s.end,s.boxtype===\"mdat\")return;if(s.boxtype===\"meta\"){i=s.data;break}}if(i){var c=S.readSizeFromMeta(i);if(c){var h={width:c.width,height:c.height,type:n.type,mime:n.mime,wUnits:\"px\",hUnits:\"px\"};if(c.variants.length>1&&(h.variants=c.variants),c.orientation&&(h.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=r.length){var p=A(r,c.exif_location.offset),d=r.slice(c.exif_location.offset+p+4,c.exif_location.offset+c.exif_location.length),T=e.get_orientation(d);T>0&&(h.orientation=T)}return h}}}}}}}}),zL=ke({\"node_modules/probe-image-size/lib/parse_sync/bmp.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g(\"BM\");H.exports=function(e){if(!(e.length<26)&&x(e,0,S))return{width:A(e,18),height:A(e,22),type:\"bmp\",mime:\"image/bmp\",wUnits:\"px\",hUnits:\"px\"}}}}),FL=ke({\"node_modules/probe-image-size/lib/parse_sync/gif.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt16LE,S=g(\"GIF87a\"),e=g(\"GIF89a\");H.exports=function(t){if(!(t.length<10)&&!(!x(t,0,S)&&!x(t,0,e)))return{width:A(t,6),height:A(t,8),type:\"gif\",mime:\"image/gif\",wUnits:\"px\",hUnits:\"px\"}}}}),OL=ke({\"node_modules/probe-image-size/lib/parse_sync/ico.js\"(Z,H){\"use strict\";var g=Lu().readUInt16LE,x=0,A=1,S=16;H.exports=function(e){var t=g(e,0),r=g(e,2),o=g(e,4);if(!(t!==x||r!==A||!o)){for(var n=[],i={width:0,height:0},a=0;ai.width||c>i.height)&&(i=h)}return{width:i.width,height:i.height,variants:n,type:\"ico\",mime:\"image/x-icon\",wUnits:\"px\",hUnits:\"px\"}}}}}),BL=ke({\"node_modules/probe-image-size/lib/parse_sync/jpeg.js\"(Z,H){\"use strict\";var g=Lu().readUInt16BE,x=Lu().str2arr,A=Lu().sliceEq,S=ux(),e=x(\"Exif\\0\\0\");H.exports=function(t){if(!(t.length<2)&&!(t[0]!==255||t[1]!==216||t[2]!==255))for(var r=2;;){for(;;){if(t.length-r<2)return;if(t[r++]===255)break}for(var o=t[r++],n;o===255;)o=t[r++];if(208<=o&&o<=217||o===1)n=0;else if(192<=o&&o<=254){if(t.length-r<2)return;n=g(t,r)-2,r+=2}else return;if(o===217||o===218)return;var i;if(o===225&&n>=10&&A(t,r,e)&&(i=S.get_orientation(t.slice(r+6,r+n))),n>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(t.length-r0&&(a.orientation=i),a}r+=n}}}}),NL=ke({\"node_modules/probe-image-size/lib/parse_sync/png.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(`\\x89PNG\\r\n\u001a\n`),e=g(\"IHDR\");H.exports=function(t){if(!(t.length<24)&&x(t,0,S)&&x(t,12,e))return{width:A(t,16),height:A(t,20),type:\"png\",mime:\"image/png\",wUnits:\"px\",hUnits:\"px\"}}}}),UL=ke({\"node_modules/probe-image-size/lib/parse_sync/psd.js\"(Z,H){\"use strict\";var g=Lu().str2arr,x=Lu().sliceEq,A=Lu().readUInt32BE,S=g(\"8BPS\\0\u0001\");H.exports=function(e){if(!(e.length<22)&&x(e,0,S))return{width:A(e,18),height:A(e,14),type:\"psd\",mime:\"image/vnd.adobe.photoshop\",wUnits:\"px\",hUnits:\"px\"}}}}),jL=ke({\"node_modules/probe-image-size/lib/parse_sync/svg.js\"(Z,H){\"use strict\";function g(s){return s===32||s===9||s===13||s===10}function x(s){return typeof s==\"number\"&&isFinite(s)&&s>0}function A(s){var c=0,h=s.length;for(s[0]===239&&s[1]===187&&s[2]===191&&(c=3);c]*>/,e=/^<([-_.:a-zA-Z0-9]+:)?svg\\s/,t=/[^-]\\bwidth=\"([^%]+?)\"|[^-]\\bwidth='([^%]+?)'/,r=/\\bheight=\"([^%]+?)\"|\\bheight='([^%]+?)'/,o=/\\bview[bB]ox=\"(.+?)\"|\\bview[bB]ox='(.+?)'/,n=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function i(s){var c=s.match(t),h=s.match(r),p=s.match(o);return{width:c&&(c[1]||c[2]),height:h&&(h[1]||h[2]),viewbox:p&&(p[1]||p[2])}}function a(s){return n.test(s)?s.match(n)[0]:\"px\"}H.exports=function(s){if(A(s)){for(var c=\"\",h=0;h>14&16383)+1,type:\"webp\",mime:\"image/webp\",wUnits:\"px\",hUnits:\"px\"}}}function i(a,s){return{width:(a[s+6]<<16|a[s+5]<<8|a[s+4])+1,height:(a[s+9]<a.length)){for(;s+8=10?c=c||o(a,s+8):d===\"VP8L\"&&T>=9?c=c||n(a,s+8):d===\"VP8X\"&&T>=10?c=c||i(a,s+8):d===\"EXIF\"&&(h=e.get_orientation(a.slice(s+8,s+8+T)),s=1/0),s+=8+T}if(c)return h>0&&(c.orientation=h),c}}}}}),HL=ke({\"node_modules/probe-image-size/lib/parsers_sync.js\"(Z,H){\"use strict\";H.exports={avif:DL(),bmp:zL(),gif:FL(),ico:OL(),jpeg:BL(),png:NL(),psd:UL(),svg:jL(),tiff:VL(),webp:qL()}}}),GL=ke({\"node_modules/probe-image-size/sync.js\"(Z,H){\"use strict\";var g=HL();function x(A){for(var S=Object.keys(g),e=0;e0;)P=c.c2p(E+B*u),B--;for(B=0;z===void 0&&B0;)F=h.c2p(m+B*y),B--;if(PG[0];if($||J){var X=f+I/2,re=z+N/2;se+=\"transform:\"+A(X+\"px\",re+\"px\")+\"scale(\"+($?-1:1)+\",\"+(J?-1:1)+\")\"+A(-X+\"px\",-re+\"px\")+\";\"}}le.attr(\"style\",se);var ae=new Promise(function(j){if(_._hasZ)j();else if(_._hasSource)if(_._canvas&&_._canvas.el.width===b&&_._canvas.el.height===v&&_._canvas.source===_.source)j();else{var ee=document.createElement(\"canvas\");ee.width=b,ee.height=v;var ie=ee.getContext(\"2d\",{willReadFrequently:!0});_._image=_._image||new Image;var ce=_._image;ce.onload=function(){ie.drawImage(ce,0,0),_._canvas={el:ee,source:_.source},j()},ce.setAttribute(\"src\",_.source)}}).then(function(){var j,ee;if(_._hasZ)ee=Q(function(xe,Te){var Ue=M[Te][xe];return x.isTypedArray(Ue)&&(Ue=Array.from(Ue)),Ue}),j=ee.toDataURL(\"image/png\");else if(_._hasSource)if(w)j=_.source;else{var ie=_._canvas.el.getContext(\"2d\",{willReadFrequently:!0}),ce=ie.getImageData(0,0,b,v).data;ee=Q(function(xe,Te){var Ue=4*(Te*b+xe);return[ce[Ue],ce[Ue+1],ce[Ue+2],ce[Ue+3]]}),j=ee.toDataURL(\"image/png\")}le.attr({\"xlink:href\":j,height:N,width:I,x:f,y:z})});n._promises.push(ae)})}}}),YL=ke({\"src/traces/image/style.js\"(Z,H){\"use strict\";var g=_i();H.exports=function(A){g.select(A).selectAll(\".im image\").style(\"opacity\",function(S){return S[0].trace.opacity})}}}),KL=ke({\"src/traces/image/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=un(),A=x.isArrayOrTypedArray,S=ny();H.exports=function(t,r,o){var n=t.cd[0],i=n.trace,a=t.xa,s=t.ya;if(!(g.inbox(r-n.x0,r-(n.x0+n.w*i.dx),0)>0||g.inbox(o-n.y0,o-(n.y0+n.h*i.dy),0)>0)){var c=Math.floor((r-n.x0)/i.dx),h=Math.floor(Math.abs(o-n.y0)/i.dy),p;if(i._hasZ?p=n.z[h][c]:i._hasSource&&(p=i._canvas.el.getContext(\"2d\",{willReadFrequently:!0}).getImageData(c,h,1,1).data),!!p){var d=n.hi||i.hoverinfo,T;if(d){var l=d.split(\"+\");l.indexOf(\"all\")!==-1&&(l=[\"color\"]),l.indexOf(\"color\")!==-1&&(T=!0)}var _=S.colormodel[i.colormodel],w=_.colormodel||i.colormodel,M=w.length,E=i._scaler(p),m=_.suffix,b=[];(i.hovertemplate||T)&&(b.push(\"[\"+[E[0]+m[0],E[1]+m[1],E[2]+m[2]].join(\", \")),M===4&&b.push(\", \"+E[3]+m[3]),b.push(\"]\"),b=b.join(\"\"),t.extraText=w.toUpperCase()+\": \"+b);var v;A(i.hovertext)&&A(i.hovertext[h])?v=i.hovertext[h][c]:A(i.text)&&A(i.text[h])&&(v=i.text[h][c]);var u=s.c2p(n.y0+(h+.5)*i.dy),y=n.x0+(c+.5)*i.dx,f=n.y0+(h+.5)*i.dy,P=\"[\"+p.slice(0,i.colormodel.length).join(\", \")+\"]\";return[x.extendFlat(t,{index:[h,c],x0:a.c2p(n.x0+c*i.dx),x1:a.c2p(n.x0+(c+1)*i.dx),y0:u,y1:u,color:E,xVal:y,xLabelVal:y,yVal:f,yLabelVal:f,zLabelVal:P,text:v,hovertemplateLabels:{zLabel:P,colorLabel:b,\"color[0]Label\":E[0]+m[0],\"color[1]Label\":E[1]+m[1],\"color[2]Label\":E[2]+m[2],\"color[3]Label\":E[3]+m[3]}})]}}}}}),JL=ke({\"src/traces/image/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return\"xVal\"in A&&(x.x=A.xVal),\"yVal\"in A&&(x.y=A.yVal),A.xa&&(x.xaxis=A.xa),A.ya&&(x.yaxis=A.ya),x.color=A.color,x.colormodel=A.trace.colormodel,x.z||(x.z=A.color),x}}}),$L=ke({\"src/traces/image/index.js\"(Z,H){\"use strict\";H.exports={attributes:_3(),supplyDefaults:Xk(),calc:XL(),plot:ZL(),style:YL(),hoverPoints:KL(),eventData:JL(),moduleType:\"trace\",name:\"image\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"2dMap\",\"noSortingByValue\"],animatable:!1,meta:{}}}}),QL=ke({\"lib/image.js\"(Z,H){\"use strict\";H.exports=$L()}}),Vm=ke({\"src/traces/pie/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Yu().attributes,A=Il(),S=If(),e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=To().extendFlat,o=xh().pattern,n=A({editType:\"plot\",arrayOk:!0,colorEditType:\"plot\"});H.exports={labels:{valType:\"data_array\",editType:\"calc\"},label0:{valType:\"number\",dflt:0,editType:\"calc\"},dlabel:{valType:\"number\",dflt:1,editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},marker:{colors:{valType:\"data_array\",editType:\"calc\"},line:{color:{valType:\"color\",dflt:S.defaultLine,arrayOk:!0,editType:\"style\"},width:{valType:\"number\",min:0,dflt:0,arrayOk:!0,editType:\"style\"},editType:\"calc\"},pattern:o,editType:\"calc\"},text:{valType:\"data_array\",editType:\"plot\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},scalegroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"percent\"],extras:[\"none\"],editType:\"calc\"},hoverinfo:r({},g.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:e({},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),texttemplate:t({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"plot\"},textfont:r({},n,{}),insidetextorientation:{valType:\"enumerated\",values:[\"horizontal\",\"radial\",\"tangential\",\"auto\"],dflt:\"auto\",editType:\"plot\"},insidetextfont:r({},n,{}),outsidetextfont:r({},n,{}),automargin:{valType:\"boolean\",dflt:!1,editType:\"plot\"},title:{text:{valType:\"string\",dflt:\"\",editType:\"plot\"},font:r({},n,{}),position:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle center\",\"bottom left\",\"bottom center\",\"bottom right\"],editType:\"plot\"},editType:\"plot\"},domain:x({name:\"pie\",trace:!0,editType:\"calc\"}),hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"},sort:{valType:\"boolean\",dflt:!0,editType:\"calc\"},direction:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"angle\",dflt:0,editType:\"calc\"},pull:{valType:\"number\",min:0,max:1,dflt:0,arrayOk:!0,editType:\"calc\"}}}}),qm=ke({\"src/traces/pie/defaults.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Vm(),S=Yu().defaults,e=Od().handleText,t=un().coercePattern;function r(i,a){var s=x.isArrayOrTypedArray(i),c=x.isArrayOrTypedArray(a),h=Math.min(s?i.length:1/0,c?a.length:1/0);if(isFinite(h)||(h=0),h&&c){for(var p,d=0;d0){p=!0;break}}p||(h=0)}return{hasLabels:s,hasValues:c,len:h}}function o(i,a,s,c,h){var p=c(\"marker.line.width\");p&&c(\"marker.line.color\",h?void 0:s.paper_bgcolor);var d=c(\"marker.colors\");t(c,\"marker.pattern\",d),i.marker&&!a.marker.pattern.fgcolor&&(a.marker.pattern.fgcolor=i.marker.colors),a.marker.pattern.bgcolor||(a.marker.pattern.bgcolor=s.paper_bgcolor)}function n(i,a,s,c){function h(f,P){return x.coerce(i,a,A,f,P)}var p=h(\"labels\"),d=h(\"values\"),T=r(p,d),l=T.len;if(a._hasLabels=T.hasLabels,a._hasValues=T.hasValues,!a._hasLabels&&a._hasValues&&(h(\"label0\"),h(\"dlabel\")),!l){a.visible=!1;return}a._length=l,o(i,a,c,h,!0),h(\"scalegroup\");var _=h(\"text\"),w=h(\"texttemplate\"),M;if(w||(M=h(\"textinfo\",x.isArrayOrTypedArray(_)?\"text+percent\":\"percent\")),h(\"hovertext\"),h(\"hovertemplate\"),w||M&&M!==\"none\"){var E=h(\"textposition\");e(i,a,c,h,E,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var m=Array.isArray(E)||E===\"auto\",b=m||E===\"outside\";b&&h(\"automargin\"),(E===\"inside\"||E===\"auto\"||Array.isArray(E))&&h(\"insidetextorientation\")}else M===\"none\"&&h(\"textposition\",\"none\");S(a,c,h);var v=h(\"hole\"),u=h(\"title.text\");if(u){var y=h(\"title.position\",v?\"middle center\":\"top center\");!v&&y===\"middle center\"&&(a.title.position=\"top center\"),x.coerceFont(h,\"title.font\",c.font)}h(\"sort\"),h(\"direction\"),h(\"rotation\"),h(\"pull\")}H.exports={handleLabelsAndValues:r,handleMarkerDefaults:o,supplyDefaults:n}}}),cx=ke({\"src/traces/pie/layout_attributes.js\"(Z,H){\"use strict\";H.exports={hiddenlabels:{valType:\"data_array\",editType:\"calc\"},piecolorway:{valType:\"colorlist\",editType:\"calc\"},extendpiecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),eP=ke({\"src/traces/pie/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=cx();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"hiddenlabels\"),t(\"piecolorway\",e.colorway),t(\"extendpiecolors\")}}}),sy=ke({\"src/traces/pie/calc.js\"(Z,H){\"use strict\";var g=Yn(),x=ru(),A=eo(),S={};function e(n,i){var a=[],s=n._fullLayout,c=s.hiddenlabels||[],h=i.labels,p=i.marker.colors||[],d=i.values,T=i._length,l=i._hasValues&&T,_,w;if(i.dlabel)for(h=new Array(T),_=0;_=0});var P=i.type===\"funnelarea\"?b:i.sort;return P&&a.sort(function(L,z){return z.v-L.v}),a[0]&&(a[0].vTotal=m),a}function t(n){return function(a,s){return!a||(a=x(a),!a.isValid())?!1:(a=A.addOpacity(a,a.getAlpha()),n[s]||(n[s]=a),a)}}function r(n,i){var a=(i||{}).type;a||(a=\"pie\");var s=n._fullLayout,c=n.calcdata,h=s[a+\"colorway\"],p=s[\"_\"+a+\"colormap\"];s[\"extend\"+a+\"colors\"]&&(h=o(h,S));for(var d=0,T=0;T0&&(rt+=Et*ue.pxmid[0],ot+=Et*ue.pxmid[1])}ue.cxFinal=rt,ue.cyFinal=ot;function Bt(_t,Be,Ke,je){var Se=je*(Be[0]-_t[0]),He=je*(Be[1]-_t[1]);return\"a\"+je*ce.r+\",\"+je*ce.r+\" 0 \"+ue.largeArc+(Ke?\" 1 \":\" 0 \")+Se+\",\"+He}var qt=xe.hole;if(ue.v===ce.vTotal){var fr=\"M\"+(rt+ue.px0[0])+\",\"+(ot+ue.px0[1])+Bt(ue.px0,ue.pxmid,!0,1)+Bt(ue.pxmid,ue.px0,!0,1)+\"Z\";qt?Lt.attr(\"d\",\"M\"+(rt+qt*ue.px0[0])+\",\"+(ot+qt*ue.px0[1])+Bt(ue.px0,ue.pxmid,!1,qt)+Bt(ue.pxmid,ue.px0,!1,qt)+\"Z\"+fr):Lt.attr(\"d\",fr)}else{var ar=Bt(ue.px0,ue.px1,!0,1);if(qt){var Rr=1-qt;Lt.attr(\"d\",\"M\"+(rt+qt*ue.px1[0])+\",\"+(ot+qt*ue.px1[1])+Bt(ue.px1,ue.px0,!1,qt)+\"l\"+Rr*ue.px0[0]+\",\"+Rr*ue.px0[1]+ar+\"Z\")}else Lt.attr(\"d\",\"M\"+rt+\",\"+ot+\"l\"+ue.px0[0]+\",\"+ue.px0[1]+ar+\"Z\")}fe($,ue,ce);var gr=h.castOption(xe.textposition,ue.pts),br=et.selectAll(\"g.slicetext\").data(ue.text&&gr!==\"none\"?[0]:[]);br.enter().append(\"g\").classed(\"slicetext\",!0),br.exit().remove(),br.each(function(){var _t=t.ensureSingle(g.select(this),\"text\",\"\",function(Le){Le.attr(\"data-notex\",1)}),Be=t.ensureUniformFontSize($,gr===\"outside\"?w(xe,ue,re.font):M(xe,ue,re.font));_t.text(ue.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(e.font,Be).call(n.convertToTspans,$);var Ke=e.bBox(_t.node()),je;if(gr===\"outside\")je=z(Ke,ue);else if(je=m(Ke,ue,ce),gr===\"auto\"&&je.scale<1){var Se=t.ensureUniformFontSize($,xe.outsidetextfont);_t.call(e.font,Se),Ke=e.bBox(_t.node()),je=z(Ke,ue)}var He=je.textPosAngle,Ee=He===void 0?ue.pxmid:se(ce.r,He);if(je.targetX=rt+Ee[0]*je.rCenter+(je.x||0),je.targetY=ot+Ee[1]*je.rCenter+(je.y||0),G(je,Ke),je.outside){var we=je.targetY;ue.yLabelMin=we-Ke.height/2,ue.yLabelMid=we,ue.yLabelMax=we+Ke.height/2,ue.labelExtraX=0,ue.labelExtraY=0,Ie=!0}je.fontSize=Be.size,a(xe.type,je,re),ee[Oe].transform=je,t.setTransormAndDisplay(_t,je)})});var Ye=g.select(this).selectAll(\"g.titletext\").data(xe.title.text?[0]:[]);if(Ye.enter().append(\"g\").classed(\"titletext\",!0),Ye.exit().remove(),Ye.each(function(){var ue=t.ensureSingle(g.select(this),\"text\",\"\",function(ot){ot.attr(\"data-notex\",1)}),Oe=xe.title.text;xe._meta&&(Oe=t.templateString(Oe,xe._meta)),ue.text(Oe).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(e.font,xe.title.font).call(n.convertToTspans,$);var rt;xe.title.position===\"middle center\"?rt=F(ce):rt=B(ce,ae),ue.attr(\"transform\",o(rt.x,rt.y)+r(Math.min(1,rt.scale))+o(rt.tx,rt.ty))}),Ie&&U(Ue,xe),l(Te,xe),Ie&&xe.automargin){var it=e.bBox(ie.node()),at=xe.domain,tt=ae.w*(at.x[1]-at.x[0]),ut=ae.h*(at.y[1]-at.y[0]),Me=(.5*tt-ce.r)/ae.w,pe=(.5*ut-ce.r)/ae.h;x.autoMargin($,\"pie.\"+xe.uid+\".automargin\",{xl:at.x[0]-Me,xr:at.x[1]+Me,yb:at.y[0]-pe,yt:at.y[1]+pe,l:Math.max(ce.cx-ce.r-it.left,0),r:Math.max(it.right-(ce.cx+ce.r),0),b:Math.max(it.bottom-(ce.cy+ce.r),0),t:Math.max(ce.cy-ce.r-it.top,0),pad:5})}})});setTimeout(function(){j.selectAll(\"tspan\").each(function(){var ee=g.select(this);ee.attr(\"dy\")&&ee.attr(\"dy\",ee.attr(\"dy\"))})},0)}function l($,J){$.each(function(X){var re=g.select(this);if(!X.labelExtraX&&!X.labelExtraY){re.select(\"path.textline\").remove();return}var ae=re.select(\"g.slicetext text\");X.transform.targetX+=X.labelExtraX,X.transform.targetY+=X.labelExtraY,t.setTransormAndDisplay(ae,X.transform);var j=X.cxFinal+X.pxmid[0],ee=X.cyFinal+X.pxmid[1],ie=\"M\"+j+\",\"+ee,ce=(X.yLabelMax-X.yLabelMin)*(X.pxmid[0]<0?-1:1)/4;if(X.labelExtraX){var xe=X.labelExtraX*X.pxmid[1]/X.pxmid[0],Te=X.yLabelMid+X.labelExtraY-(X.cyFinal+X.pxmid[1]);Math.abs(xe)>Math.abs(Te)?ie+=\"l\"+Te*X.pxmid[0]/X.pxmid[1]+\",\"+Te+\"H\"+(j+X.labelExtraX+ce):ie+=\"l\"+X.labelExtraX+\",\"+xe+\"v\"+(Te-xe)+\"h\"+ce}else ie+=\"V\"+(X.yLabelMid+X.labelExtraY)+\"h\"+ce;t.ensureSingle(re,\"path\",\"textline\").call(S.stroke,J.outsidetextfont.color).attr({\"stroke-width\":Math.min(2,J.outsidetextfont.size/8),d:ie,fill:\"none\"})})}function _($,J,X){var re=X[0],ae=re.cx,j=re.cy,ee=re.trace,ie=ee.type===\"funnelarea\";\"_hasHoverLabel\"in ee||(ee._hasHoverLabel=!1),\"_hasHoverEvent\"in ee||(ee._hasHoverEvent=!1),$.on(\"mouseover\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];if(!(J._dragging||xe.hovermode===!1)){var Ue=Te.hoverinfo;if(Array.isArray(Ue)&&(Ue=A.castHoverinfo({hoverinfo:[h.castOption(Ue,ce.pts)],_module:ee._module},xe,0)),Ue===\"all\"&&(Ue=\"label+text+value+percent+name\"),Te.hovertemplate||Ue!==\"none\"&&Ue!==\"skip\"&&Ue){var Ie=ce.rInscribed||0,Ye=ae+ce.pxmid[0]*(1-Ie),it=j+ce.pxmid[1]*(1-Ie),at=xe.separators,tt=[];if(Ue&&Ue.indexOf(\"label\")!==-1&&tt.push(ce.label),ce.text=h.castOption(Te.hovertext||Te.text,ce.pts),Ue&&Ue.indexOf(\"text\")!==-1){var ut=ce.text;t.isValidTextValue(ut)&&tt.push(ut)}ce.value=ce.v,ce.valueLabel=h.formatPieValue(ce.v,at),Ue&&Ue.indexOf(\"value\")!==-1&&tt.push(ce.valueLabel),ce.percent=ce.v/re.vTotal,ce.percentLabel=h.formatPiePercent(ce.percent,at),Ue&&Ue.indexOf(\"percent\")!==-1&&tt.push(ce.percentLabel);var Me=Te.hoverlabel,pe=Me.font,ue=[];A.loneHover({trace:ee,x0:Ye-Ie*re.r,x1:Ye+Ie*re.r,y:it,_x0:ie?ae+ce.TL[0]:Ye-Ie*re.r,_x1:ie?ae+ce.TR[0]:Ye+Ie*re.r,_y0:ie?j+ce.TL[1]:it-Ie*re.r,_y1:ie?j+ce.BL[1]:it+Ie*re.r,text:tt.join(\"
\"),name:Te.hovertemplate||Ue.indexOf(\"name\")!==-1?Te.name:void 0,idealAlign:ce.pxmid[0]<0?\"left\":\"right\",color:h.castOption(Me.bgcolor,ce.pts)||ce.color,borderColor:h.castOption(Me.bordercolor,ce.pts),fontFamily:h.castOption(pe.family,ce.pts),fontSize:h.castOption(pe.size,ce.pts),fontColor:h.castOption(pe.color,ce.pts),nameLength:h.castOption(Me.namelength,ce.pts),textAlign:h.castOption(Me.align,ce.pts),hovertemplate:h.castOption(Te.hovertemplate,ce.pts),hovertemplateLabels:ce,eventData:[p(ce,Te)]},{container:xe._hoverlayer.node(),outerContainer:xe._paper.node(),gd:J,inOut_bbox:ue}),ce.bbox=ue[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,J.emit(\"plotly_hover\",{points:[p(ce,Te)],event:g.event})}}),$.on(\"mouseout\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index],Ue=g.select(this).datum();ee._hasHoverEvent&&(ce.originalEvent=g.event,J.emit(\"plotly_unhover\",{points:[p(Ue,Te)],event:g.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(A.loneUnhover(xe._hoverlayer.node()),ee._hasHoverLabel=!1)}),$.on(\"click\",function(ce){var xe=J._fullLayout,Te=J._fullData[ee.index];J._dragging||xe.hovermode===!1||(J._hoverdata=[p(ce,Te)],A.click(J,g.event))})}function w($,J,X){var re=h.castOption($.outsidetextfont.color,J.pts)||h.castOption($.textfont.color,J.pts)||X.color,ae=h.castOption($.outsidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.outsidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.outsidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.outsidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.outsidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.outsidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.outsidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.outsidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re,family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function M($,J,X){var re=h.castOption($.insidetextfont.color,J.pts);!re&&$._input.textfont&&(re=h.castOption($._input.textfont.color,J.pts));var ae=h.castOption($.insidetextfont.family,J.pts)||h.castOption($.textfont.family,J.pts)||X.family,j=h.castOption($.insidetextfont.size,J.pts)||h.castOption($.textfont.size,J.pts)||X.size,ee=h.castOption($.insidetextfont.weight,J.pts)||h.castOption($.textfont.weight,J.pts)||X.weight,ie=h.castOption($.insidetextfont.style,J.pts)||h.castOption($.textfont.style,J.pts)||X.style,ce=h.castOption($.insidetextfont.variant,J.pts)||h.castOption($.textfont.variant,J.pts)||X.variant,xe=h.castOption($.insidetextfont.textcase,J.pts)||h.castOption($.textfont.textcase,J.pts)||X.textcase,Te=h.castOption($.insidetextfont.lineposition,J.pts)||h.castOption($.textfont.lineposition,J.pts)||X.lineposition,Ue=h.castOption($.insidetextfont.shadow,J.pts)||h.castOption($.textfont.shadow,J.pts)||X.shadow;return{color:re||S.contrast(J.color),family:ae,size:j,weight:ee,style:ie,variant:ce,textcase:xe,lineposition:Te,shadow:Ue}}function E($,J){for(var X,re,ae=0;ae<$.length;ae++)if(X=$[ae][0],re=X.trace,re.title.text){var j=re.title.text;re._meta&&(j=t.templateString(j,re._meta));var ee=e.tester.append(\"text\").attr(\"data-notex\",1).text(j).call(e.font,re.title.font).call(n.convertToTspans,J),ie=e.bBox(ee.node(),!0);X.titleBox={width:ie.width,height:ie.height},ee.remove()}}function m($,J,X){var re=X.r||J.rpx1,ae=J.rInscribed,j=J.startangle===J.stopangle;if(j)return{rCenter:1-ae,scale:0,rotate:0,textPosAngle:0};var ee=J.ring,ie=ee===1&&Math.abs(J.startangle-J.stopangle)===Math.PI*2,ce=J.halfangle,xe=J.midangle,Te=X.trace.insidetextorientation,Ue=Te===\"horizontal\",Ie=Te===\"tangential\",Ye=Te===\"radial\",it=Te===\"auto\",at=[],tt;if(!it){var ut=function(et,Lt){if(b(J,et)){var Et=Math.abs(et-J.startangle),Bt=Math.abs(et-J.stopangle),qt=Et=-4;Me-=2)ut(Math.PI*Me,\"tan\");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1),\"tan\")}if(Ue||Ye){for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+1.5),\"rad\");for(Me=4;Me>=-4;Me-=2)ut(Math.PI*(Me+.5),\"rad\")}}if(ie||it||Ue){var pe=Math.sqrt($.width*$.width+$.height*$.height);if(tt={scale:ae*re*2/pe,rCenter:1-ae,rotate:0},tt.textPosAngle=(J.startangle+J.stopangle)/2,tt.scale>=1)return tt;at.push(tt)}(it||Ye)&&(tt=v($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt)),(it||Ie)&&(tt=u($,re,ee,ce,xe),tt.textPosAngle=(J.startangle+J.stopangle)/2,at.push(tt));for(var ue=0,Oe=0,rt=0;rt=1)break}return at[ue]}function b($,J){var X=$.startangle,re=$.stopangle;return X>J&&J>re||X0?1:-1)/2,y:j/(1+X*X/(re*re)),outside:!0}}function F($){var J=Math.sqrt($.titleBox.width*$.titleBox.width+$.titleBox.height*$.titleBox.height);return{x:$.cx,y:$.cy,scale:$.trace.hole*$.r*2/J,tx:0,ty:-$.titleBox.height/2+$.trace.title.font.size}}function B($,J){var X=1,re=1,ae,j=$.trace,ee={x:$.cx,y:$.cy},ie={tx:0,ty:0};ie.ty+=j.title.font.size,ae=N(j),j.title.position.indexOf(\"top\")!==-1?(ee.y-=(1+ae)*$.r,ie.ty-=$.titleBox.height):j.title.position.indexOf(\"bottom\")!==-1&&(ee.y+=(1+ae)*$.r);var ce=O($.r,$.trace.aspectratio),xe=J.w*(j.domain.x[1]-j.domain.x[0])/2;return j.title.position.indexOf(\"left\")!==-1?(xe=xe+ce,ee.x-=(1+ae)*ce,ie.tx+=$.titleBox.width/2):j.title.position.indexOf(\"center\")!==-1?xe*=2:j.title.position.indexOf(\"right\")!==-1&&(xe=xe+ce,ee.x+=(1+ae)*ce,ie.tx-=$.titleBox.width/2),X=xe/$.titleBox.width,re=I($,J)/$.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(X,re),tx:ie.tx,ty:ie.ty}}function O($,J){return $/(J===void 0?1:J)}function I($,J){var X=$.trace,re=J.h*(X.domain.y[1]-X.domain.y[0]);return Math.min($.titleBox.height,re/2)}function N($){var J=$.pull;if(!J)return 0;var X;if(t.isArrayOrTypedArray(J))for(J=0,X=0;X<$.pull.length;X++)$.pull[X]>J&&(J=$.pull[X]);return J}function U($,J){var X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it;function at(pe,ue){return pe.pxmid[1]-ue.pxmid[1]}function tt(pe,ue){return ue.pxmid[1]-pe.pxmid[1]}function ut(pe,ue){ue||(ue={});var Oe=ue.labelExtraY+(re?ue.yLabelMax:ue.yLabelMin),rt=re?pe.yLabelMin:pe.yLabelMax,ot=re?pe.yLabelMax:pe.yLabelMin,et=pe.cyFinal+ee(pe.px0[1],pe.px1[1]),Lt=Oe-rt,Et,Bt,qt,fr,ar,Rr;if(Lt*ce>0&&(pe.labelExtraY=Lt),!!t.isArrayOrTypedArray(J.pull))for(Bt=0;Bt=(h.castOption(J.pull,qt.pts)||0))&&((pe.pxmid[1]-qt.pxmid[1])*ce>0?(fr=qt.cyFinal+ee(qt.px0[1],qt.px1[1]),Lt=fr-rt-pe.labelExtraY,Lt*ce>0&&(pe.labelExtraY+=Lt)):(ot+pe.labelExtraY-et)*ce>0&&(Et=3*ie*Math.abs(Bt-Ue.indexOf(pe)),ar=qt.cxFinal+j(qt.px0[0],qt.px1[0]),Rr=ar+Et-(pe.cxFinal+pe.pxmid[0])-pe.labelExtraX,Rr*ie>0&&(pe.labelExtraX+=Rr)))}for(re=0;re<2;re++)for(ae=re?at:tt,ee=re?Math.max:Math.min,ce=re?1:-1,X=0;X<2;X++){for(j=X?Math.max:Math.min,ie=X?1:-1,xe=$[re][X],xe.sort(ae),Te=$[1-re][X],Ue=Te.concat(xe),Ye=[],Ie=0;Ie1?(xe=X.r,Te=xe/ae.aspectratio):(Te=X.r,xe=Te*ae.aspectratio),xe*=(1+ae.baseratio)/2,ce=xe*Te}ee=Math.min(ee,ce/X.vTotal)}for(re=0;re<$.length;re++)if(X=$[re][0],ae=X.trace,ae.scalegroup===ie){var Ue=ee*X.vTotal;ae.type===\"funnelarea\"&&(Ue/=(1+ae.baseratio)/2,Ue/=ae.aspectratio),X.r=Math.sqrt(Ue)}}}function le($){var J=$[0],X=J.r,re=J.trace,ae=h.getRotationAngle(re.rotation),j=2*Math.PI/J.vTotal,ee=\"px0\",ie=\"px1\",ce,xe,Te;if(re.direction===\"counterclockwise\"){for(ce=0;ce<$.length&&$[ce].hidden;ce++);if(ce===$.length)return;ae+=j*$[ce].v,j*=-1,ee=\"px1\",ie=\"px0\"}for(Te=se(X,ae),ce=0;ce<$.length;ce++)xe=$[ce],!xe.hidden&&(xe[ee]=Te,xe.startangle=ae,ae+=j*xe.v/2,xe.pxmid=se(X,ae),xe.midangle=ae,ae+=j*xe.v/2,Te=se(X,ae),xe.stopangle=ae,xe[ie]=Te,xe.largeArc=xe.v>J.vTotal/2?1:0,xe.halfangle=Math.PI*Math.min(xe.v/J.vTotal,.5),xe.ring=1-re.hole,xe.rInscribed=L(xe,J))}function se($,J){return[$*Math.sin(J),-$*Math.cos(J)]}function fe($,J,X){var re=$._fullLayout,ae=X.trace,j=ae.texttemplate,ee=ae.textinfo;if(!j&&ee&&ee!==\"none\"){var ie=ee.split(\"+\"),ce=function(ue){return ie.indexOf(ue)!==-1},xe=ce(\"label\"),Te=ce(\"text\"),Ue=ce(\"value\"),Ie=ce(\"percent\"),Ye=re.separators,it;if(it=xe?[J.label]:[],Te){var at=h.getFirstFilled(ae.text,J.pts);d(at)&&it.push(at)}Ue&&it.push(h.formatPieValue(J.v,Ye)),Ie&&it.push(h.formatPiePercent(J.v/X.vTotal,Ye)),J.text=it.join(\"
\")}function tt(ue){return{label:ue.label,value:ue.v,valueLabel:h.formatPieValue(ue.v,re.separators),percent:ue.v/X.vTotal,percentLabel:h.formatPiePercent(ue.v/X.vTotal,re.separators),color:ue.color,text:ue.text,customdata:t.castOption(ae,ue.i,\"customdata\")}}if(j){var ut=t.castOption(ae,J.i,\"texttemplate\");if(!ut)J.text=\"\";else{var Me=tt(J),pe=h.getFirstFilled(ae.text,J.pts);(d(pe)||pe===\"\")&&(Me.text=pe),J.text=t.texttemplateString(ut,Me,$._fullLayout._d3locale,Me,ae._meta||{})}}}function G($,J){var X=$.rotate*Math.PI/180,re=Math.cos(X),ae=Math.sin(X),j=(J.left+J.right)/2,ee=(J.top+J.bottom)/2;$.textX=j*re-ee*ae,$.textY=j*ae+ee*re,$.noCenter=!0}H.exports={plot:T,formatSliceLabel:fe,transformInsideText:m,determineInsideTextFont:M,positionTitleOutside:B,prerenderTitles:E,layoutAreas:W,attachFxHandlers:_,computeTransform:G}}}),rP=ke({\"src/traces/pie/style.js\"(Z,H){\"use strict\";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._pielayer.selectAll(\".trace\");A(e,t,\"pie\"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll(\"path.surface\").each(function(a){g.select(this).call(x,a,n,e)})})}}}),nP=ke({\"src/traces/pie/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"pie\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),iP=ke({\"src/traces/pie/index.js\"(Z,H){\"use strict\";H.exports={attributes:Vm(),supplyDefaults:qm().supplyDefaults,supplyLayoutDefaults:eP(),layoutAttributes:cx(),calc:sy().calc,crossTraceCalc:sy().crossTraceCalc,plot:fx().plot,style:rP(),styleOne:Wg(),moduleType:\"trace\",name:\"pie\",basePlotModule:nP(),categories:[\"pie-like\",\"pie\",\"showLegend\"],meta:{}}}}),aP=ke({\"lib/pie.js\"(Z,H){\"use strict\";H.exports=iP()}}),oP=ke({\"src/traces/sunburst/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"sunburst\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),U3=ke({\"src/traces/sunburst/constants.js\"(Z,H){\"use strict\";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\"linear\",eventDataKeys:[\"currentPath\",\"root\",\"entry\",\"percentRoot\",\"percentEntry\",\"percentParent\"]}}}),T0=ke({\"src/traces/sunburst/attributes.js\"(Z,H){\"use strict\";var g=Ol(),x=Rs().hovertemplateAttrs,A=Rs().texttemplateAttrs,S=ou(),e=Yu().attributes,t=Vm(),r=U3(),o=To().extendFlat,n=xh().pattern;H.exports={labels:{valType:\"data_array\",editType:\"calc\"},parents:{valType:\"data_array\",editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},branchvalues:{valType:\"enumerated\",values:[\"remainder\",\"total\"],dflt:\"remainder\",editType:\"calc\"},count:{valType:\"flaglist\",flags:[\"branches\",\"leaves\"],dflt:\"leaves\",editType:\"calc\"},level:{valType:\"any\",editType:\"plot\",anim:!0},maxdepth:{valType:\"integer\",editType:\"plot\",dflt:-1},marker:o({colors:{valType:\"data_array\",editType:\"calc\"},line:{color:o({},t.marker.line.color,{dflt:null}),width:o({},t.marker.line.width,{dflt:1}),editType:\"calc\"},pattern:n,editType:\"calc\"},S(\"marker\",{colorAttr:\"colors\",anim:!1})),leaf:{opacity:{valType:\"number\",editType:\"style\",min:0,max:1},editType:\"plot\"},text:t.text,textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"current path\",\"percent root\",\"percent entry\",\"percent parent\"],extras:[\"none\"],editType:\"plot\"},texttemplate:A({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:t.hovertext,hoverinfo:o({},g.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"name\",\"current path\",\"percent root\",\"percent entry\",\"percent parent\"],dflt:\"label+text+value+name\"}),hovertemplate:x({},{keys:r.eventDataKeys}),textfont:t.textfont,insidetextorientation:t.insidetextorientation,insidetextfont:t.insidetextfont,outsidetextfont:o({},t.outsidetextfont,{}),rotation:{valType:\"angle\",dflt:0,editType:\"plot\"},sort:t.sort,root:{color:{valType:\"color\",editType:\"calc\",dflt:\"rgba(0,0,0,0)\"},editType:\"calc\"},domain:e({name:\"sunburst\",trace:!0,editType:\"calc\"})}}}),j3=ke({\"src/traces/sunburst/layout_attributes.js\"(Z,H){\"use strict\";H.exports={sunburstcolorway:{valType:\"colorlist\",editType:\"calc\"},extendsunburstcolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),sP=ke({\"src/traces/sunburst/defaults.js\"(Z,H){\"use strict\";var g=un(),x=T0(),A=Yu().defaults,S=Od().handleText,e=qm().handleMarkerDefaults,t=ku(),r=t.hasColorscale,o=t.handleDefaults;H.exports=function(i,a,s,c){function h(M,E){return g.coerce(i,a,x,M,E)}var p=h(\"labels\"),d=h(\"parents\");if(!p||!p.length||!d||!d.length){a.visible=!1;return}var T=h(\"values\");T&&T.length?h(\"branchvalues\"):h(\"count\"),h(\"level\"),h(\"maxdepth\"),e(i,a,c,h);var l=a._hasColorscale=r(i,\"marker\",\"colors\")||(i.marker||{}).coloraxis;l&&o(i,a,c,h,{prefix:\"marker.\",cLetter:\"c\"}),h(\"leaf.opacity\",l?1:.7);var _=h(\"text\");h(\"texttemplate\"),a.texttemplate||h(\"textinfo\",g.isArrayOrTypedArray(_)?\"text+label\":\"label\"),h(\"hovertext\"),h(\"hovertemplate\");var w=\"auto\";S(i,a,c,h,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h(\"insidetextorientation\"),h(\"sort\"),h(\"rotation\"),h(\"root.color\"),A(a,c,h),a._length=null}}}),lP=ke({\"src/traces/sunburst/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=j3();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"sunburstcolorway\",e.colorway),t(\"extendsunburstcolors\")}}}),A0=ke({\"node_modules/d3-hierarchy/dist/d3-hierarchy.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(je,Se){return je.parent===Se.parent?1:2}function A(je){return je.reduce(S,0)/je.length}function S(je,Se){return je+Se.x}function e(je){return 1+je.reduce(t,0)}function t(je,Se){return Math.max(je,Se.y)}function r(je){for(var Se;Se=je.children;)je=Se[0];return je}function o(je){for(var Se;Se=je.children;)je=Se[Se.length-1];return je}function n(){var je=x,Se=1,He=1,Ee=!1;function we(Le){var nt,pt=0;Le.eachAfter(function($t){var ur=$t.children;ur?($t.x=A(ur),$t.y=e(ur)):($t.x=nt?pt+=je($t,nt):0,$t.y=0,nt=$t)});var bt=r(Le),Rt=o(Le),Nt=bt.x-je(bt,Rt)/2,Xt=Rt.x+je(Rt,bt)/2;return Le.eachAfter(Ee?function($t){$t.x=($t.x-Le.x)*Se,$t.y=(Le.y-$t.y)*He}:function($t){$t.x=($t.x-Nt)/(Xt-Nt)*Se,$t.y=(1-(Le.y?$t.y/Le.y:1))*He})}return we.separation=function(Le){return arguments.length?(je=Le,we):je},we.size=function(Le){return arguments.length?(Ee=!1,Se=+Le[0],He=+Le[1],we):Ee?null:[Se,He]},we.nodeSize=function(Le){return arguments.length?(Ee=!0,Se=+Le[0],He=+Le[1],we):Ee?[Se,He]:null},we}function i(je){var Se=0,He=je.children,Ee=He&&He.length;if(!Ee)Se=1;else for(;--Ee>=0;)Se+=He[Ee].value;je.value=Se}function a(){return this.eachAfter(i)}function s(je){var Se=this,He,Ee=[Se],we,Le,nt;do for(He=Ee.reverse(),Ee=[];Se=He.pop();)if(je(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;--we)He.push(Ee[we]);return this}function h(je){for(var Se=this,He=[Se],Ee=[],we,Le,nt;Se=He.pop();)if(Ee.push(Se),we=Se.children,we)for(Le=0,nt=we.length;Le=0;)He+=Ee[we].value;Se.value=He})}function d(je){return this.eachBefore(function(Se){Se.children&&Se.children.sort(je)})}function T(je){for(var Se=this,He=l(Se,je),Ee=[Se];Se!==He;)Se=Se.parent,Ee.push(Se);for(var we=Ee.length;je!==He;)Ee.splice(we,0,je),je=je.parent;return Ee}function l(je,Se){if(je===Se)return je;var He=je.ancestors(),Ee=Se.ancestors(),we=null;for(je=He.pop(),Se=Ee.pop();je===Se;)we=je,je=He.pop(),Se=Ee.pop();return we}function _(){for(var je=this,Se=[je];je=je.parent;)Se.push(je);return Se}function w(){var je=[];return this.each(function(Se){je.push(Se)}),je}function M(){var je=[];return this.eachBefore(function(Se){Se.children||je.push(Se)}),je}function E(){var je=this,Se=[];return je.each(function(He){He!==je&&Se.push({source:He.parent,target:He})}),Se}function m(je,Se){var He=new f(je),Ee=+je.value&&(He.value=je.value),we,Le=[He],nt,pt,bt,Rt;for(Se==null&&(Se=v);we=Le.pop();)if(Ee&&(we.value=+we.data.value),(pt=Se(we.data))&&(Rt=pt.length))for(we.children=new Array(Rt),bt=Rt-1;bt>=0;--bt)Le.push(nt=we.children[bt]=new f(pt[bt])),nt.parent=we,nt.depth=we.depth+1;return He.eachBefore(y)}function b(){return m(this).eachBefore(u)}function v(je){return je.children}function u(je){je.data=je.data.data}function y(je){var Se=0;do je.height=Se;while((je=je.parent)&&je.height<++Se)}function f(je){this.data=je,this.depth=this.height=0,this.parent=null}f.prototype=m.prototype={constructor:f,count:a,each:s,eachAfter:h,eachBefore:c,sum:p,sort:d,path:T,ancestors:_,descendants:w,leaves:M,links:E,copy:b};var P=Array.prototype.slice;function L(je){for(var Se=je.length,He,Ee;Se;)Ee=Math.random()*Se--|0,He=je[Se],je[Se]=je[Ee],je[Ee]=He;return je}function z(je){for(var Se=0,He=(je=L(P.call(je))).length,Ee=[],we,Le;Se0&&He*He>Ee*Ee+we*we}function I(je,Se){for(var He=0;Hebt?(we=(Rt+bt-Le)/(2*Rt),pt=Math.sqrt(Math.max(0,bt/Rt-we*we)),He.x=je.x-we*Ee-pt*nt,He.y=je.y-we*nt+pt*Ee):(we=(Rt+Le-bt)/(2*Rt),pt=Math.sqrt(Math.max(0,Le/Rt-we*we)),He.x=Se.x+we*Ee-pt*nt,He.y=Se.y+we*nt+pt*Ee)):(He.x=Se.x+He.r,He.y=Se.y)}function se(je,Se){var He=je.r+Se.r-1e-6,Ee=Se.x-je.x,we=Se.y-je.y;return He>0&&He*He>Ee*Ee+we*we}function fe(je){var Se=je._,He=je.next._,Ee=Se.r+He.r,we=(Se.x*He.r+He.x*Se.r)/Ee,Le=(Se.y*He.r+He.y*Se.r)/Ee;return we*we+Le*Le}function G(je){this._=je,this.next=null,this.previous=null}function $(je){if(!(we=je.length))return 0;var Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt;if(Se=je[0],Se.x=0,Se.y=0,!(we>1))return Se.r;if(He=je[1],Se.x=-He.r,He.x=Se.r,He.y=0,!(we>2))return Se.r+He.r;le(He,Se,Ee=je[2]),Se=new G(Se),He=new G(He),Ee=new G(Ee),Se.next=Ee.previous=He,He.next=Se.previous=Ee,Ee.next=He.previous=Se;e:for(pt=3;pt0)throw new Error(\"cycle\");return pt}return He.id=function(Ee){return arguments.length?(je=re(Ee),He):je},He.parentId=function(Ee){return arguments.length?(Se=re(Ee),He):Se},He}function ue(je,Se){return je.parent===Se.parent?1:2}function Oe(je){var Se=je.children;return Se?Se[0]:je.t}function rt(je){var Se=je.children;return Se?Se[Se.length-1]:je.t}function ot(je,Se,He){var Ee=He/(Se.i-je.i);Se.c-=Ee,Se.s+=He,je.c+=Ee,Se.z+=He,Se.m+=He}function et(je){for(var Se=0,He=0,Ee=je.children,we=Ee.length,Le;--we>=0;)Le=Ee[we],Le.z+=Se,Le.m+=Se,Se+=Le.s+(He+=Le.c)}function Lt(je,Se,He){return je.a.parent===Se.parent?je.a:He}function Et(je,Se){this._=je,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Se}Et.prototype=Object.create(f.prototype);function Bt(je){for(var Se=new Et(je,0),He,Ee=[Se],we,Le,nt,pt;He=Ee.pop();)if(Le=He._.children)for(He.children=new Array(pt=Le.length),nt=pt-1;nt>=0;--nt)Ee.push(we=He.children[nt]=new Et(Le[nt],nt)),we.parent=He;return(Se.parent=new Et(null,0)).children=[Se],Se}function qt(){var je=ue,Se=1,He=1,Ee=null;function we(Rt){var Nt=Bt(Rt);if(Nt.eachAfter(Le),Nt.parent.m=-Nt.z,Nt.eachBefore(nt),Ee)Rt.eachBefore(bt);else{var Xt=Rt,$t=Rt,ur=Rt;Rt.eachBefore(function(ni){ni.x$t.x&&($t=ni),ni.depth>ur.depth&&(ur=ni)});var pn=Xt===$t?1:je(Xt,$t)/2,Rn=pn-Xt.x,Nn=Se/($t.x+pn+Rn),On=He/(ur.depth||1);Rt.eachBefore(function(ni){ni.x=(ni.x+Rn)*Nn,ni.y=ni.depth*On})}return Rt}function Le(Rt){var Nt=Rt.children,Xt=Rt.parent.children,$t=Rt.i?Xt[Rt.i-1]:null;if(Nt){et(Rt);var ur=(Nt[0].z+Nt[Nt.length-1].z)/2;$t?(Rt.z=$t.z+je(Rt._,$t._),Rt.m=Rt.z-ur):Rt.z=ur}else $t&&(Rt.z=$t.z+je(Rt._,$t._));Rt.parent.A=pt(Rt,$t,Rt.parent.A||Xt[0])}function nt(Rt){Rt._.x=Rt.z+Rt.parent.m,Rt.m+=Rt.parent.m}function pt(Rt,Nt,Xt){if(Nt){for(var $t=Rt,ur=Rt,pn=Nt,Rn=$t.parent.children[0],Nn=$t.m,On=ur.m,ni=pn.m,zn=Rn.m,Qn;pn=rt(pn),$t=Oe($t),pn&&$t;)Rn=Oe(Rn),ur=rt(ur),ur.a=Rt,Qn=pn.z+ni-$t.z-Nn+je(pn._,$t._),Qn>0&&(ot(Lt(pn,Rt,Xt),Rt,Qn),Nn+=Qn,On+=Qn),ni+=pn.m,Nn+=$t.m,zn+=Rn.m,On+=ur.m;pn&&!rt(ur)&&(ur.t=pn,ur.m+=ni-On),$t&&!Oe(Rn)&&(Rn.t=$t,Rn.m+=Nn-zn,Xt=Rt)}return Xt}function bt(Rt){Rt.x*=Se,Rt.y=Rt.depth*He}return we.separation=function(Rt){return arguments.length?(je=Rt,we):je},we.size=function(Rt){return arguments.length?(Ee=!1,Se=+Rt[0],He=+Rt[1],we):Ee?null:[Se,He]},we.nodeSize=function(Rt){return arguments.length?(Ee=!0,Se=+Rt[0],He=+Rt[1],we):Ee?[Se,He]:null},we}function fr(je,Se,He,Ee,we){for(var Le=je.children,nt,pt=-1,bt=Le.length,Rt=je.value&&(we-He)/je.value;++ptni&&(ni=Rt),Zt=Nn*Nn*gi,zn=Math.max(ni/Zt,Zt/On),zn>Qn){Nn-=Rt;break}Qn=zn}nt.push(bt={value:Nn,dice:ur1?Ee:1)},He}(ar);function br(){var je=gr,Se=!1,He=1,Ee=1,we=[0],Le=ae,nt=ae,pt=ae,bt=ae,Rt=ae;function Nt($t){return $t.x0=$t.y0=0,$t.x1=He,$t.y1=Ee,$t.eachBefore(Xt),we=[0],Se&&$t.eachBefore(Ue),$t}function Xt($t){var ur=we[$t.depth],pn=$t.x0+ur,Rn=$t.y0+ur,Nn=$t.x1-ur,On=$t.y1-ur;Nn=$t-1){var ni=Le[Xt];ni.x0=pn,ni.y0=Rn,ni.x1=Nn,ni.y1=On;return}for(var zn=Rt[Xt],Qn=ur/2+zn,gi=Xt+1,Zt=$t-1;gi>>1;Rt[Ft]On-Rn){var wr=(pn*Vt+Nn*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,wr,On),Nt(gi,$t,Vt,wr,Rn,Nn,On)}else{var $r=(Rn*Vt+On*Ht)/ur;Nt(Xt,gi,Ht,pn,Rn,Nn,$r),Nt(gi,$t,Vt,pn,$r,Nn,On)}}}function Be(je,Se,He,Ee,we){(je.depth&1?fr:Ie)(je,Se,He,Ee,we)}var Ke=function je(Se){function He(Ee,we,Le,nt,pt){if((bt=Ee._squarify)&&bt.ratio===Se)for(var bt,Rt,Nt,Xt,$t=-1,ur,pn=bt.length,Rn=Ee.value;++$t1?Ee:1)},He}(ar);g.cluster=n,g.hierarchy=m,g.pack=ie,g.packEnclose=z,g.packSiblings=J,g.partition=Ye,g.stratify=pe,g.tree=qt,g.treemap=br,g.treemapBinary=_t,g.treemapDice=Ie,g.treemapResquarify=Ke,g.treemapSlice=fr,g.treemapSliceDice=Be,g.treemapSquarify=gr,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),M0=ke({\"src/traces/sunburst/calc.js\"(Z){\"use strict\";var H=A0(),g=Yn(),x=un(),A=ku().makeColorScaleFuncFromTrace,S=sy().makePullColorFn,e=sy().generateExtendedColors,t=ku().calc,r=Hi().ALMOST_EQUAL,o={},n={},i={};Z.calc=function(s,c){var h=s._fullLayout,p=c.ids,d=x.isArrayOrTypedArray(p),T=c.labels,l=c.parents,_=c.values,w=x.isArrayOrTypedArray(_),M=[],E={},m={},b=function(J,X){E[J]?E[J].push(X):E[J]=[X],m[X]=1},v=function(J){return J||typeof J==\"number\"},u=function(J){return!w||g(_[J])&&_[J]>=0},y,f,P;d?(y=Math.min(p.length,l.length),f=function(J){return v(p[J])&&u(J)},P=function(J){return String(p[J])}):(y=Math.min(T.length,l.length),f=function(J){return v(T[J])&&u(J)},P=function(J){return String(T[J])}),w&&(y=Math.min(y,_.length));for(var L=0;L1){for(var N=x.randstr(),U=0;U>8&15|H>>4&240,H>>4&15|H&240,(H&15)<<4|H&15,1):g===8?S0(H>>24&255,H>>16&255,H>>8&255,(H&255)/255):g===4?S0(H>>12&15|H>>8&240,H>>8&15|H>>4&240,H>>4&15|H&240,((H&15)<<4|H&15)/255):null):(H=J3.exec(Z))?new Th(H[1],H[2],H[3],1):(H=$3.exec(Z))?new Th(H[1]*255/100,H[2]*255/100,H[3]*255/100,1):(H=Q3.exec(Z))?S0(H[1],H[2],H[3],H[4]):(H=eT.exec(Z))?S0(H[1]*255/100,H[2]*255/100,H[3]*255/100,H[4]):(H=tT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,1):(H=rT.exec(Z))?X3(H[1],H[2]/100,H[3]/100,H[4]):mx.hasOwnProperty(Z)?H3(mx[Z]):Z===\"transparent\"?new Th(NaN,NaN,NaN,0):null}function H3(Z){return new Th(Z>>16&255,Z>>8&255,Z&255,1)}function S0(Z,H,g,x){return x<=0&&(Z=H=g=NaN),new Th(Z,H,g,x)}function dx(Z){return Z instanceof Qv||(Z=uy(Z)),Z?(Z=Z.rgb(),new Th(Z.r,Z.g,Z.b,Z.opacity)):new Th}function E0(Z,H,g,x){return arguments.length===1?dx(Z):new Th(Z,H,g,x??1)}function Th(Z,H,g,x){this.r=+Z,this.g=+H,this.b=+g,this.opacity=+x}function G3(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}`}function fP(){return`#${Vp(this.r)}${Vp(this.g)}${Vp(this.b)}${Vp((isNaN(this.opacity)?1:this.opacity)*255)}`}function W3(){let Z=C0(this.opacity);return`${Z===1?\"rgb(\":\"rgba(\"}${jp(this.r)}, ${jp(this.g)}, ${jp(this.b)}${Z===1?\")\":`, ${Z})`}`}function C0(Z){return isNaN(Z)?1:Math.max(0,Math.min(1,Z))}function jp(Z){return Math.max(0,Math.min(255,Math.round(Z)||0))}function Vp(Z){return Z=jp(Z),(Z<16?\"0\":\"\")+Z.toString(16)}function X3(Z,H,g,x){return x<=0?Z=H=g=NaN:g<=0||g>=1?Z=H=NaN:H<=0&&(Z=NaN),new Kd(Z,H,g,x)}function Z3(Z){if(Z instanceof Kd)return new Kd(Z.h,Z.s,Z.l,Z.opacity);if(Z instanceof Qv||(Z=uy(Z)),!Z)return new Kd;if(Z instanceof Kd)return Z;Z=Z.rgb();var H=Z.r/255,g=Z.g/255,x=Z.b/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=NaN,t=S-A,r=(S+A)/2;return t?(H===S?e=(g-x)/t+(g0&&r<1?0:e,new Kd(e,t,r,Z.opacity)}function vx(Z,H,g,x){return arguments.length===1?Z3(Z):new Kd(Z,H,g,x??1)}function Kd(Z,H,g,x){this.h=+Z,this.s=+H,this.l=+g,this.opacity=+x}function Y3(Z){return Z=(Z||0)%360,Z<0?Z+360:Z}function k0(Z){return Math.max(0,Math.min(1,Z||0))}function px(Z,H,g){return(Z<60?H+(g-H)*Z/60:Z<180?g:Z<240?H+(g-H)*(240-Z)/60:H)*255}var ep,qp,Hp,Gm,Jd,K3,J3,$3,Q3,eT,tT,rT,mx,gx=Er({\"node_modules/d3-color/src/color.js\"(){hx(),ep=.7,qp=1/ep,Hp=\"\\\\s*([+-]?\\\\d+)\\\\s*\",Gm=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",Jd=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",K3=/^#([0-9a-f]{3,8})$/,J3=new RegExp(`^rgb\\\\(${Hp},${Hp},${Hp}\\\\)$`),$3=new RegExp(`^rgb\\\\(${Jd},${Jd},${Jd}\\\\)$`),Q3=new RegExp(`^rgba\\\\(${Hp},${Hp},${Hp},${Gm}\\\\)$`),eT=new RegExp(`^rgba\\\\(${Jd},${Jd},${Jd},${Gm}\\\\)$`),tT=new RegExp(`^hsl\\\\(${Gm},${Jd},${Jd}\\\\)$`),rT=new RegExp(`^hsla\\\\(${Gm},${Jd},${Jd},${Gm}\\\\)$`),mx={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Hm(Qv,uy,{copy(Z){return Object.assign(new this.constructor,this,Z)},displayable(){return this.rgb().displayable()},hex:V3,formatHex:V3,formatHex8:uP,formatHsl:cP,formatRgb:q3,toString:q3}),Hm(Th,E0,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Th(this.r*Z,this.g*Z,this.b*Z,this.opacity)},rgb(){return this},clamp(){return new Th(jp(this.r),jp(this.g),jp(this.b),C0(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:G3,formatHex:G3,formatHex8:fP,formatRgb:W3,toString:W3})),Hm(Kd,vx,ly(Qv,{brighter(Z){return Z=Z==null?qp:Math.pow(qp,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},darker(Z){return Z=Z==null?ep:Math.pow(ep,Z),new Kd(this.h,this.s,this.l*Z,this.opacity)},rgb(){var Z=this.h%360+(this.h<0)*360,H=isNaN(Z)||isNaN(this.s)?0:this.s,g=this.l,x=g+(g<.5?g:1-g)*H,A=2*g-x;return new Th(px(Z>=240?Z-240:Z+120,A,x),px(Z,A,x),px(Z<120?Z+240:Z-120,A,x),this.opacity)},clamp(){return new Kd(Y3(this.h),k0(this.s),k0(this.l),C0(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(){let Z=C0(this.opacity);return`${Z===1?\"hsl(\":\"hsla(\"}${Y3(this.h)}, ${k0(this.s)*100}%, ${k0(this.l)*100}%${Z===1?\")\":`, ${Z})`}`}}))}}),yx,_x,nT=Er({\"node_modules/d3-color/src/math.js\"(){yx=Math.PI/180,_x=180/Math.PI}});function iT(Z){if(Z instanceof pv)return new pv(Z.l,Z.a,Z.b,Z.opacity);if(Z instanceof Iv)return aT(Z);Z instanceof Th||(Z=dx(Z));var H=Ax(Z.r),g=Ax(Z.g),x=Ax(Z.b),A=bx((.2225045*H+.7168786*g+.0606169*x)/Ex),S,e;return H===g&&g===x?S=e=A:(S=bx((.4360747*H+.3850649*g+.1430804*x)/Sx),e=bx((.0139322*H+.0971045*g+.7141733*x)/Cx)),new pv(116*A-16,500*(S-A),200*(A-e),Z.opacity)}function xx(Z,H,g,x){return arguments.length===1?iT(Z):new pv(Z,H,g,x??1)}function pv(Z,H,g,x){this.l=+Z,this.a=+H,this.b=+g,this.opacity=+x}function bx(Z){return Z>oT?Math.pow(Z,.3333333333333333):Z/Lx+kx}function wx(Z){return Z>Gp?Z*Z*Z:Lx*(Z-kx)}function Tx(Z){return 255*(Z<=.0031308?12.92*Z:1.055*Math.pow(Z,.4166666666666667)-.055)}function Ax(Z){return(Z/=255)<=.04045?Z/12.92:Math.pow((Z+.055)/1.055,2.4)}function hP(Z){if(Z instanceof Iv)return new Iv(Z.h,Z.c,Z.l,Z.opacity);if(Z instanceof pv||(Z=iT(Z)),Z.a===0&&Z.b===0)return new Iv(NaN,0=1?(g=1,H-1):Math.floor(g*H),A=Z[x],S=Z[x+1],e=x>0?Z[x-1]:2*A-S,t=x()=>Z}});function hT(Z,H){return function(g){return Z+g*H}}function mP(Z,H,g){return Z=Math.pow(Z,g),H=Math.pow(H,g)-Z,g=1/g,function(x){return Math.pow(Z+x*H,g)}}function I0(Z,H){var g=H-Z;return g?hT(Z,g>180||g<-180?g-360*Math.round(g/360):g):hy(isNaN(Z)?H:Z)}function gP(Z){return(Z=+Z)==1?Ah:function(H,g){return g-H?mP(H,g,Z):hy(isNaN(H)?g:H)}}function Ah(Z,H){var g=H-Z;return g?hT(Z,g):hy(isNaN(Z)?H:Z)}var Zm=Er({\"node_modules/d3-interpolate/src/color.js\"(){fT()}});function dT(Z){return function(H){var g=H.length,x=new Array(g),A=new Array(g),S=new Array(g),e,t;for(e=0;eg&&(S=H.slice(g,S),t[e]?t[e]+=S:t[++e]=S),(x=x[0])===(A=A[0])?t[e]?t[e]+=A:t[++e]=A:(t[++e]=null,r.push({i:e,x:mv(x,A)})),g=F0.lastIndex;return g180?n+=360:n-o>180&&(o+=360),a.push({i:i.push(A(i)+\"rotate(\",null,x)-2,x:mv(o,n)})):n&&i.push(A(i)+\"rotate(\"+n+x)}function t(o,n,i,a){o!==n?a.push({i:i.push(A(i)+\"skewX(\",null,x)-2,x:mv(o,n)}):n&&i.push(A(i)+\"skewX(\"+n+x)}function r(o,n,i,a,s,c){if(o!==i||n!==a){var h=s.push(A(s)+\"scale(\",null,\",\",null,\")\");c.push({i:h-4,x:mv(o,i)},{i:h-2,x:mv(n,a)})}else(i!==1||a!==1)&&s.push(A(s)+\"scale(\"+i+\",\"+a+\")\")}return function(o,n){var i=[],a=[];return o=Z(o),n=Z(n),S(o.translateX,o.translateY,n.translateX,n.translateY,i,a),e(o.rotate,n.rotate,i,a),t(o.skewX,n.skewX,i,a),r(o.scaleX,o.scaleY,n.scaleX,n.scaleY,i,a),o=n=null,function(s){for(var c=-1,h=a.length,p;++cO0,interpolateArray:()=>yP,interpolateBasis:()=>lT,interpolateBasisClosed:()=>uT,interpolateCubehelix:()=>UT,interpolateCubehelixLong:()=>jT,interpolateDate:()=>xT,interpolateDiscrete:()=>bP,interpolateHcl:()=>OT,interpolateHclLong:()=>BT,interpolateHsl:()=>DT,interpolateHslLong:()=>zT,interpolateHue:()=>TP,interpolateLab:()=>FP,interpolateNumber:()=>mv,interpolateNumberArray:()=>Ox,interpolateObject:()=>wT,interpolateRgb:()=>R0,interpolateRgbBasis:()=>vT,interpolateRgbBasisClosed:()=>pT,interpolateRound:()=>MP,interpolateString:()=>AT,interpolateTransformCss:()=>CT,interpolateTransformSvg:()=>kT,interpolateZoom:()=>IT,piecewise:()=>UP,quantize:()=>VP});var Ym=Er({\"node_modules/d3-interpolate/src/index.js\"(){B0(),_T(),Fx(),cT(),bT(),wP(),AP(),D0(),Bx(),TT(),SP(),MT(),PP(),DP(),mT(),zP(),OP(),BP(),NP(),jP(),qP()}}),Ux=ke({\"src/traces/sunburst/fill_one.js\"(Z,H){\"use strict\";var g=$o(),x=eo();H.exports=function(S,e,t,r,o){var n=e.data.data,i=n.i,a=o||n.color;if(i>=0){e.i=n.i;var s=t.marker;s.pattern?(!s.colors||!s.pattern.shape)&&(s.color=a,e.color=a):(s.color=a,e.color=a),g.pointStyle(S,t,r,e)}else x.fill(S,a)}}}),VT=ke({\"src/traces/sunburst/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._sunburstlayer.selectAll(\".trace\");S(o,n,\"sunburst\"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style(\"opacity\",c.opacity),a.selectAll(\"path.surface\").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,\"marker.line.color\")||x.defaultLine,d=A.castOption(i,h,\"marker.line.width\")||0;o.call(e,n,i,a).style(\"stroke-width\",d).call(x.stroke,p).style(\"opacity\",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),tp=ke({\"src/traces/sunburst/helpers.js\"(Z){\"use strict\";var H=un(),g=eo(),x=uv(),A=Fp();Z.findEntryWithLevel=function(r,o){var n;return o&&r.eachAfter(function(i){if(Z.getPtId(i)===o)return n=i.copy()}),n||r},Z.findEntryWithChild=function(r,o){var n;return r.eachAfter(function(i){for(var a=i.children||[],s=0;s0)},Z.getMaxDepth=function(r){return r.maxdepth>=0?r.maxdepth:1/0},Z.isHeader=function(r,o){return!(Z.isLeaf(r)||r.depth===o._maxDepth-1)};function t(r){return r.data.data.pid}Z.getParent=function(r,o){return Z.findEntryWithLevel(r,t(o))},Z.listPath=function(r,o){var n=r.parent;if(!n)return[];var i=o?[n.data[o]]:[n];return Z.listPath(n,o).concat(i)},Z.getPath=function(r){return Z.listPath(r,\"label\").join(\"/\")+\"/\"},Z.formatValue=A.formatPieValue,Z.formatPercent=function(r,o){var n=H.formatPercent(r,0);return n===\"0%\"&&(n=A.formatPiePercent(r,o)),n}}}),j0=ke({\"src/traces/sunburst/fx.js\"(Z,H){\"use strict\";var g=_i(),x=lo(),A=gd().appendArrayPointValue,S=Ec(),e=un(),t=jg(),r=tp(),o=Fp(),n=o.formatPieValue;H.exports=function(s,c,h,p,d){var T=p[0],l=T.trace,_=T.hierarchy,w=l.type===\"sunburst\",M=l.type===\"treemap\"||l.type===\"icicle\";\"_hasHoverLabel\"in l||(l._hasHoverLabel=!1),\"_hasHoverEvent\"in l||(l._hasHoverEvent=!1);var E=function(v){var u=h._fullLayout;if(!(h._dragging||u.hovermode===!1)){var y=h._fullData[l.index],f=v.data.data,P=f.i,L=r.isHierarchyRoot(v),z=r.getParent(_,v),F=r.getValue(v),B=function(ee){return e.castOption(y,P,ee)},O=B(\"hovertemplate\"),I=S.castHoverinfo(y,u,P),N=u.separators,U;if(O||I&&I!==\"none\"&&I!==\"skip\"){var W,Q;w&&(W=T.cx+v.pxmid[0]*(1-v.rInscribed),Q=T.cy+v.pxmid[1]*(1-v.rInscribed)),M&&(W=v._hoverX,Q=v._hoverY);var le={},se=[],fe=[],G=function(ee){return se.indexOf(ee)!==-1};I&&(se=I===\"all\"?y._module.attributes.hoverinfo.flags:I.split(\"+\")),le.label=f.label,G(\"label\")&&le.label&&fe.push(le.label),f.hasOwnProperty(\"v\")&&(le.value=f.v,le.valueLabel=n(le.value,N),G(\"value\")&&fe.push(le.valueLabel)),le.currentPath=v.currentPath=r.getPath(v.data),G(\"current path\")&&!L&&fe.push(le.currentPath);var $,J=[],X=function(){J.indexOf($)===-1&&(fe.push($),J.push($))};le.percentParent=v.percentParent=F/r.getValue(z),le.parent=v.parentString=r.getPtLabel(z),G(\"percent parent\")&&($=r.formatPercent(le.percentParent,N)+\" of \"+le.parent,X()),le.percentEntry=v.percentEntry=F/r.getValue(c),le.entry=v.entry=r.getPtLabel(c),G(\"percent entry\")&&!L&&!v.onPathbar&&($=r.formatPercent(le.percentEntry,N)+\" of \"+le.entry,X()),le.percentRoot=v.percentRoot=F/r.getValue(_),le.root=v.root=r.getPtLabel(_),G(\"percent root\")&&!L&&($=r.formatPercent(le.percentRoot,N)+\" of \"+le.root,X()),le.text=B(\"hovertext\")||B(\"text\"),G(\"text\")&&($=le.text,e.isValidTextValue($)&&fe.push($)),U=[i(v,y,d.eventDataKeys)];var re={trace:y,y:Q,_x0:v._x0,_x1:v._x1,_y0:v._y0,_y1:v._y1,text:fe.join(\"
\"),name:O||G(\"name\")?y.name:void 0,color:B(\"hoverlabel.bgcolor\")||f.color,borderColor:B(\"hoverlabel.bordercolor\"),fontFamily:B(\"hoverlabel.font.family\"),fontSize:B(\"hoverlabel.font.size\"),fontColor:B(\"hoverlabel.font.color\"),fontWeight:B(\"hoverlabel.font.weight\"),fontStyle:B(\"hoverlabel.font.style\"),fontVariant:B(\"hoverlabel.font.variant\"),nameLength:B(\"hoverlabel.namelength\"),textAlign:B(\"hoverlabel.align\"),hovertemplate:O,hovertemplateLabels:le,eventData:U};w&&(re.x0=W-v.rInscribed*v.rpx1,re.x1=W+v.rInscribed*v.rpx1,re.idealAlign=v.pxmid[0]<0?\"left\":\"right\"),M&&(re.x=W,re.idealAlign=W<0?\"left\":\"right\");var ae=[];S.loneHover(re,{container:u._hoverlayer.node(),outerContainer:u._paper.node(),gd:h,inOut_bbox:ae}),U[0].bbox=ae[0],l._hasHoverLabel=!0}if(M){var j=s.select(\"path.surface\");d.styleOne(j,v,y,h,{hovered:!0})}l._hasHoverEvent=!0,h.emit(\"plotly_hover\",{points:U||[i(v,y,d.eventDataKeys)],event:g.event})}},m=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=g.select(this).datum();if(l._hasHoverEvent&&(v.originalEvent=g.event,h.emit(\"plotly_unhover\",{points:[i(f,y,d.eventDataKeys)],event:g.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(S.loneUnhover(u._hoverlayer.node()),l._hasHoverLabel=!1),M){var P=s.select(\"path.surface\");d.styleOne(P,f,y,h,{hovered:!1})}},b=function(v){var u=h._fullLayout,y=h._fullData[l.index],f=w&&(r.isHierarchyRoot(v)||r.isLeaf(v)),P=r.getPtId(v),L=r.isEntry(v)?r.findEntryWithChild(_,P):r.findEntryWithLevel(_,P),z=r.getPtId(L),F={points:[i(v,y,d.eventDataKeys)],event:g.event};f||(F.nextLevel=z);var B=t.triggerHandler(h,\"plotly_\"+l.type+\"click\",F);if(B!==!1&&u.hovermode&&(h._hoverdata=[i(v,y,d.eventDataKeys)],S.click(h,g.event)),!f&&B!==!1&&!h._dragging&&!h._transitioning){x.call(\"_storeDirectGUIEdit\",y,u._tracePreGUI[y.uid],{level:y.level});var O={data:[{level:z}],traces:[l.index]},I={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:\"immediate\",fromcurrent:!0};S.loneUnhover(u._hoverlayer.node()),x.call(\"animate\",h,O,I)}};s.on(\"mouseover\",E),s.on(\"mouseout\",m),s.on(\"click\",b)};function i(a,s,c){for(var h=a.data.data,p={curveNumber:s.index,pointNumber:h.i,data:s._input,fullData:s},d=0;dot.x1?2*Math.PI:0)+ee;et=ue.rpx1Ye?2*Math.PI:0)+ee;rt={x0:et,x1:et}}else rt={rpx0:se,rpx1:se},S.extendFlat(rt,pe(ue));else rt={rpx0:0,rpx1:0};else rt={x0:ee,x1:ee};return x(rt,ot)}function Me(ue){var Oe=J[T.getPtId(ue)],rt,ot=ue.transform;if(Oe)rt=Oe;else if(rt={rpx1:ue.rpx1,transform:{textPosAngle:ot.textPosAngle,scale:0,rotate:ot.rotate,rCenter:ot.rCenter,x:ot.x,y:ot.y}},$)if(ue.parent)if(Ye){var et=ue.x1>Ye?2*Math.PI:0;rt.x0=rt.x1=et}else S.extendFlat(rt,pe(ue));else rt.x0=rt.x1=ee;else rt.x0=rt.x1=ee;var Lt=x(rt.transform.textPosAngle,ue.transform.textPosAngle),Et=x(rt.rpx1,ue.rpx1),Bt=x(rt.x0,ue.x0),qt=x(rt.x1,ue.x1),fr=x(rt.transform.scale,ot.scale),ar=x(rt.transform.rotate,ot.rotate),Rr=ot.rCenter===0?3:rt.transform.rCenter===0?1/3:1,gr=x(rt.transform.rCenter,ot.rCenter),br=function(_t){return gr(Math.pow(_t,Rr))};return function(_t){var Be=Et(_t),Ke=Bt(_t),je=qt(_t),Se=br(_t),He=xe(Be,(Ke+je)/2),Ee=Lt(_t),we={pxmid:He,rpx1:Be,transform:{textPosAngle:Ee,rCenter:Se,x:ot.x,y:ot.y}};return r(B.type,ot,f),{transform:{targetX:Ue(we),targetY:Ie(we),scale:fr(_t),rotate:ar(_t),rCenter:Se}}}}function pe(ue){var Oe=ue.parent,rt=J[T.getPtId(Oe)],ot={};if(rt){var et=Oe.children,Lt=et.indexOf(ue),Et=et.length,Bt=x(rt.x0,rt.x1);ot.x0=Bt(Lt/Et),ot.x1=Bt(Lt/Et)}else ot.x0=ot.x1=0;return ot}}function _(m){return g.partition().size([2*Math.PI,m.height+1])(m)}Z.formatSliceLabel=function(m,b,v,u,y){var f=v.texttemplate,P=v.textinfo;if(!f&&(!P||P===\"none\"))return\"\";var L=y.separators,z=u[0],F=m.data.data,B=z.hierarchy,O=T.isHierarchyRoot(m),I=T.getParent(B,m),N=T.getValue(m);if(!f){var U=P.split(\"+\"),W=function(ae){return U.indexOf(ae)!==-1},Q=[],le;if(W(\"label\")&&F.label&&Q.push(F.label),F.hasOwnProperty(\"v\")&&W(\"value\")&&Q.push(T.formatValue(F.v,L)),!O){W(\"current path\")&&Q.push(T.getPath(m.data));var se=0;W(\"percent parent\")&&se++,W(\"percent entry\")&&se++,W(\"percent root\")&&se++;var fe=se>1;if(se){var G,$=function(ae){le=T.formatPercent(G,L),fe&&(le+=\" of \"+ae),Q.push(le)};W(\"percent parent\")&&!O&&(G=N/T.getValue(I),$(\"parent\")),W(\"percent entry\")&&(G=N/T.getValue(b),$(\"entry\")),W(\"percent root\")&&(G=N/T.getValue(B),$(\"root\"))}}return W(\"text\")&&(le=S.castOption(v,F.i,\"text\"),S.isValidTextValue(le)&&Q.push(le)),Q.join(\"
\")}var J=S.castOption(v,F.i,\"texttemplate\");if(!J)return\"\";var X={};F.label&&(X.label=F.label),F.hasOwnProperty(\"v\")&&(X.value=F.v,X.valueLabel=T.formatValue(F.v,L)),X.currentPath=T.getPath(m.data),O||(X.percentParent=N/T.getValue(I),X.percentParentLabel=T.formatPercent(X.percentParent,L),X.parent=T.getPtLabel(I)),X.percentEntry=N/T.getValue(b),X.percentEntryLabel=T.formatPercent(X.percentEntry,L),X.entry=T.getPtLabel(b),X.percentRoot=N/T.getValue(B),X.percentRootLabel=T.formatPercent(X.percentRoot,L),X.root=T.getPtLabel(B),F.hasOwnProperty(\"color\")&&(X.color=F.color);var re=S.castOption(v,F.i,\"text\");return(S.isValidTextValue(re)||re===\"\")&&(X.text=re),X.customdata=S.castOption(v,F.i,\"customdata\"),S.texttemplateString(J,X,y._d3locale,X,v._meta||{})};function w(m){return m.rpx0===0&&S.isFullCircle([m.x0,m.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(m.halfangle)),m.ring/2))}function M(m){return E(m.rpx1,m.transform.textPosAngle)}function E(m,b){return[m*Math.sin(b),-m*Math.cos(b)]}}}),HP=ke({\"src/traces/sunburst/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"sunburst\",basePlotModule:oP(),categories:[],animatable:!0,attributes:T0(),layoutAttributes:j3(),supplyDefaults:sP(),supplyLayoutDefaults:lP(),calc:M0().calc,crossTraceCalc:M0().crossTraceCalc,plot:jx().plot,style:VT().style,colorbar:Bh(),meta:{}}}}),GP=ke({\"lib/sunburst.js\"(Z,H){\"use strict\";H.exports=HP()}}),WP=ke({\"src/traces/treemap/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"treemap\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),Km=ke({\"src/traces/treemap/constants.js\"(Z,H){\"use strict\";H.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\"poly\",eventDataKeys:[\"currentPath\",\"root\",\"entry\",\"percentRoot\",\"percentEntry\",\"percentParent\"],gapWithPathbar:1}}}),Vx=ke({\"src/traces/treemap/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Km(),o=To().extendFlat,n=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{packing:{valType:\"enumerated\",values:[\"squarify\",\"binary\",\"dice\",\"slice\",\"slice-dice\",\"dice-slice\"],dflt:\"squarify\",editType:\"plot\"},squarifyratio:{valType:\"number\",min:1,dflt:1,editType:\"plot\"},flip:{valType:\"flaglist\",flags:[\"x\",\"y\"],dflt:\"\",editType:\"plot\"},pad:{valType:\"number\",min:0,dflt:3,editType:\"plot\"},editType:\"calc\"},marker:o({pad:{t:{valType:\"number\",min:0,editType:\"plot\"},l:{valType:\"number\",min:0,editType:\"plot\"},r:{valType:\"number\",min:0,editType:\"plot\"},b:{valType:\"number\",min:0,editType:\"plot\"},editType:\"calc\"},colors:t.marker.colors,pattern:n,depthfade:{valType:\"enumerated\",values:[!0,!1,\"reversed\"],editType:\"style\"},line:t.marker.line,cornerradius:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"calc\"},A(\"marker\",{colorAttr:\"colors\",anim:!1})),pathbar:{visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\"],dflt:\"top\",editType:\"plot\"},edgeshape:{valType:\"enumerated\",values:[\">\",\"<\",\"|\",\"/\",\"\\\\\"],dflt:\">\",editType:\"plot\"},thickness:{valType:\"number\",min:12,editType:\"plot\"},textfont:o({},e.textfont,{}),editType:\"calc\"},text:e.text,textinfo:t.textinfo,texttemplate:x({editType:\"plot\"},{keys:r.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:r.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:o({},e.outsidetextfont,{}),textposition:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle left\",\"middle center\",\"middle right\",\"bottom left\",\"bottom center\",\"bottom right\"],dflt:\"top left\",editType:\"plot\"},sort:e.sort,root:t.root,domain:S({name:\"treemap\",trace:!0,editType:\"calc\"})}}}),qT=ke({\"src/traces/treemap/layout_attributes.js\"(Z,H){\"use strict\";H.exports={treemapcolorway:{valType:\"colorlist\",editType:\"calc\"},extendtreemapcolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),XP=ke({\"src/traces/treemap/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Vx(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(y,f){return g.coerce(s,c,x,y,f)}var T=d(\"labels\"),l=d(\"parents\");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d(\"values\");_&&_.length?d(\"branchvalues\"):d(\"count\"),d(\"level\"),d(\"maxdepth\");var w=d(\"tiling.packing\");w===\"squarify\"&&d(\"tiling.squarifyratio\"),d(\"tiling.flip\"),d(\"tiling.pad\");var M=d(\"text\");d(\"texttemplate\"),c.texttemplate||d(\"textinfo\",g.isArrayOrTypedArray(M)?\"text+label\":\"label\"),d(\"hovertext\"),d(\"hovertemplate\");var E=d(\"pathbar.visible\"),m=\"auto\";e(s,c,p,d,m,{hasPathbar:E,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d(\"textposition\");var b=c.textposition.indexOf(\"bottom\")!==-1;r(s,c,p,d);var v=c._hasColorscale=n(s,\"marker\",\"colors\")||(s.marker||{}).coloraxis;v?i(s,c,p,d,{prefix:\"marker.\",cLetter:\"c\"}):d(\"marker.depthfade\",!(c.marker.colors||[]).length);var u=c.textfont.size*2;d(\"marker.pad.t\",b?u/4:u),d(\"marker.pad.l\",u/4),d(\"marker.pad.r\",u/4),d(\"marker.pad.b\",b?u:u/4),d(\"marker.cornerradius\"),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},E&&(d(\"pathbar.thickness\",c.pathbar.textfont.size+2*t),d(\"pathbar.side\"),d(\"pathbar.edgeshape\")),d(\"sort\"),d(\"root.color\"),S(c,p,d),c._length=null}}}),ZP=ke({\"src/traces/treemap/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=qT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"treemapcolorway\",e.colorway),t(\"extendtreemapcolors\")}}}),HT=ke({\"src/traces/treemap/calc.js\"(Z){\"use strict\";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc(\"treemap\",g)}}}),GT=ke({\"src/traces/treemap/flip_tree.js\"(Z,H){\"use strict\";H.exports=function g(x,A,S){var e;S.swapXY&&(e=x.x0,x.x0=x.y0,x.y0=e,e=x.x1,x.x1=x.y1,x.y1=e),S.flipX&&(e=x.x0,x.x0=A[0]-x.x1,x.x1=A[0]-e),S.flipY&&(e=x.y0,x.y0=A[1]-x.y1,x.y1=A[1]-e);var t=x.children;if(t)for(var r=0;r0)for(var u=0;u\").join(\" \")||\"\";var fe=x.ensureSingle(le,\"g\",\"slicetext\"),G=x.ensureSingle(fe,\"text\",\"\",function(J){J.attr(\"data-notex\",1)}),$=x.ensureUniformFontSize(s,o.determineTextFont(B,Q,z.font,{onPathbar:!0}));G.text(Q._text||\" \").classed(\"slicetext\",!0).attr(\"text-anchor\",\"start\").call(A.font,$).call(S.convertToTspans,s),Q.textBB=A.bBox(G.node()),Q.transform=m(Q,{fontSize:$.size,onPathbar:!0}),Q.transform.fontSize=$.size,v?G.transition().attrTween(\"transform\",function(J){var X=f(J,i,P,[l,_]);return function(re){return b(X(re))}}):G.attr(\"transform\",b(Q))})}}}),KP=ke({\"src/traces/treemap/plot_one.js\"(Z,H){\"use strict\";var g=_i(),x=(Ym(),hi(Xp)).interpolate,A=tp(),S=un(),e=Om().TEXTPAD,t=Bm(),r=t.toMoveInsideBar,o=Zh(),n=o.recordMinTextSize,i=Km(),a=YP();function s(c){return A.isHierarchyRoot(c)?\"\":A.getPtId(c)}H.exports=function(h,p,d,T,l){var _=h._fullLayout,w=p[0],M=w.trace,E=M.type,m=E===\"icicle\",b=w.hierarchy,v=A.findEntryWithLevel(b,M.level),u=g.select(d),y=u.selectAll(\"g.pathbar\"),f=u.selectAll(\"g.slice\");if(!v){y.remove(),f.remove();return}var P=A.isHierarchyRoot(v),L=!_.uniformtext.mode&&A.hasTransition(T),z=A.getMaxDepth(M),F=function(gr){return gr.data.depth-v.data.depth-1?N+Q:-(W+Q):0,se={x0:U,x1:U,y0:le,y1:le+W},fe=function(gr,br,_t){var Be=M.tiling.pad,Ke=function(Ee){return Ee-Be<=br.x0},je=function(Ee){return Ee+Be>=br.x1},Se=function(Ee){return Ee-Be<=br.y0},He=function(Ee){return Ee+Be>=br.y1};return gr.x0===br.x0&&gr.x1===br.x1&&gr.y0===br.y0&&gr.y1===br.y1?{x0:gr.x0,x1:gr.x1,y0:gr.y0,y1:gr.y1}:{x0:Ke(gr.x0-Be)?0:je(gr.x0-Be)?_t[0]:gr.x0,x1:Ke(gr.x1+Be)?0:je(gr.x1+Be)?_t[0]:gr.x1,y0:Se(gr.y0-Be)?0:He(gr.y0-Be)?_t[1]:gr.y0,y1:Se(gr.y1+Be)?0:He(gr.y1+Be)?_t[1]:gr.y1}},G=null,$={},J={},X=null,re=function(gr,br){return br?$[s(gr)]:J[s(gr)]},ae=function(gr,br,_t,Be){if(br)return $[s(b)]||se;var Ke=J[M.level]||_t;return F(gr)?fe(gr,Ke,Be):{}};w.hasMultipleRoots&&P&&z++,M._maxDepth=z,M._backgroundColor=_.paper_bgcolor,M._entryDepth=v.data.depth,M._atRootLevel=P;var j=-I/2+B.l+B.w*(O.x[1]+O.x[0])/2,ee=-N/2+B.t+B.h*(1-(O.y[1]+O.y[0])/2),ie=function(gr){return j+gr},ce=function(gr){return ee+gr},xe=ce(0),Te=ie(0),Ue=function(gr){return Te+gr},Ie=function(gr){return xe+gr};function Ye(gr,br){return gr+\",\"+br}var it=Ue(0),at=function(gr){gr.x=Math.max(it,gr.x)},tt=M.pathbar.edgeshape,ut=function(gr){var br=Ue(Math.max(Math.min(gr.x0,gr.x0),0)),_t=Ue(Math.min(Math.max(gr.x1,gr.x1),U)),Be=Ie(gr.y0),Ke=Ie(gr.y1),je=W/2,Se={},He={};Se.x=br,He.x=_t,Se.y=He.y=(Be+Ke)/2;var Ee={x:br,y:Be},we={x:_t,y:Be},Le={x:_t,y:Ke},nt={x:br,y:Ke};return tt===\">\"?(Ee.x-=je,we.x-=je,Le.x-=je,nt.x-=je):tt===\"/\"?(Le.x-=je,nt.x-=je,Se.x-=je/2,He.x-=je/2):tt===\"\\\\\"?(Ee.x-=je,we.x-=je,Se.x-=je/2,He.x-=je/2):tt===\"<\"&&(Se.x-=je,He.x-=je),at(Ee),at(nt),at(Se),at(we),at(Le),at(He),\"M\"+Ye(Ee.x,Ee.y)+\"L\"+Ye(we.x,we.y)+\"L\"+Ye(He.x,He.y)+\"L\"+Ye(Le.x,Le.y)+\"L\"+Ye(nt.x,nt.y)+\"L\"+Ye(Se.x,Se.y)+\"Z\"},Me=M[m?\"tiling\":\"marker\"].pad,pe=function(gr){return M.textposition.indexOf(gr)!==-1},ue=pe(\"top\"),Oe=pe(\"left\"),rt=pe(\"right\"),ot=pe(\"bottom\"),et=function(gr){var br=ie(gr.x0),_t=ie(gr.x1),Be=ce(gr.y0),Ke=ce(gr.y1),je=_t-br,Se=Ke-Be;if(!je||!Se)return\"\";var He=M.marker.cornerradius||0,Ee=Math.min(He,je/2,Se/2);Ee&&gr.data&&gr.data.data&&gr.data.data.label&&(ue&&(Ee=Math.min(Ee,Me.t)),Oe&&(Ee=Math.min(Ee,Me.l)),rt&&(Ee=Math.min(Ee,Me.r)),ot&&(Ee=Math.min(Ee,Me.b)));var we=function(Le,nt){return Ee?\"a\"+Ye(Ee,Ee)+\" 0 0 1 \"+Ye(Le,nt):\"\"};return\"M\"+Ye(br,Be+Ee)+we(Ee,-Ee)+\"L\"+Ye(_t-Ee,Be)+we(Ee,Ee)+\"L\"+Ye(_t,Ke-Ee)+we(-Ee,Ee)+\"L\"+Ye(br+Ee,Ke)+we(-Ee,-Ee)+\"Z\"},Lt=function(gr,br){var _t=gr.x0,Be=gr.x1,Ke=gr.y0,je=gr.y1,Se=gr.textBB,He=ue||br.isHeader&&!ot,Ee=He?\"start\":ot?\"end\":\"middle\",we=pe(\"right\"),Le=pe(\"left\")||br.onPathbar,nt=Le?-1:we?1:0;if(br.isHeader){if(_t+=(m?Me:Me.l)-e,Be-=(m?Me:Me.r)-e,_t>=Be){var pt=(_t+Be)/2;_t=pt,Be=pt}var bt;ot?(bt=je-(m?Me:Me.b),Ke-1,flipY:O.tiling.flip.indexOf(\"y\")>-1,pad:{inner:O.tiling.pad,top:O.marker.pad.t,left:O.marker.pad.l,right:O.marker.pad.r,bottom:O.marker.pad.b}}),le=Q.descendants(),se=1/0,fe=-1/0;le.forEach(function(re){var ae=re.depth;ae>=O._maxDepth?(re.x0=re.x1=(re.x0+re.x1)/2,re.y0=re.y1=(re.y0+re.y1)/2):(se=Math.min(se,ae),fe=Math.max(fe,ae))}),d=d.data(le,o.getPtId),O._maxVisibleLayers=isFinite(fe)?fe-se+1:0,d.enter().append(\"g\").classed(\"slice\",!0),u(d,a,L,[l,_],E),d.order();var G=null;if(v&&P){var $=o.getPtId(P);d.each(function(re){G===null&&o.getPtId(re)===$&&(G={x0:re.x0,x1:re.x1,y0:re.y0,y1:re.y1})})}var J=function(){return G||{x0:0,x1:l,y0:0,y1:_}},X=d;return v&&(X=X.transition().each(\"end\",function(){var re=g.select(this);o.setSliceCursor(re,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(re){var ae=o.isHeader(re,O);re._x0=w(re.x0),re._x1=w(re.x1),re._y0=M(re.y0),re._y1=M(re.y1),re._hoverX=w(re.x1-O.marker.pad.r),re._hoverY=M(U?re.y1-O.marker.pad.b/2:re.y0+O.marker.pad.t/2);var j=g.select(this),ee=x.ensureSingle(j,\"path\",\"surface\",function(Ie){Ie.style(\"pointer-events\",z?\"none\":\"all\")});v?ee.transition().attrTween(\"d\",function(Ie){var Ye=y(Ie,a,J(),[l,_]);return function(it){return E(Ye(it))}}):ee.attr(\"d\",E),j.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ee.call(t,re,O,c,{hovered:!1}),re.x0===re.x1||re.y0===re.y1?re._text=\"\":ae?re._text=W?\"\":o.getPtLabel(re)||\"\":re._text=i(re,p,O,h,F)||\"\";var ie=x.ensureSingle(j,\"g\",\"slicetext\"),ce=x.ensureSingle(ie,\"text\",\"\",function(Ie){Ie.attr(\"data-notex\",1)}),xe=x.ensureUniformFontSize(c,o.determineTextFont(O,re,F.font)),Te=re._text||\" \",Ue=ae&&Te.indexOf(\"
\")===-1;ce.text(Te).classed(\"slicetext\",!0).attr(\"text-anchor\",N?\"end\":I||Ue?\"start\":\"middle\").call(A.font,xe).call(S.convertToTspans,c),re.textBB=A.bBox(ce.node()),re.transform=m(re,{fontSize:xe.size,isHeader:ae}),re.transform.fontSize=xe.size,v?ce.transition().attrTween(\"transform\",function(Ie){var Ye=f(Ie,a,J(),[l,_]);return function(it){return b(Ye(it))}}):ce.attr(\"transform\",b(re))}),G}}}),$P=ke({\"src/traces/treemap/plot.js\"(Z,H){\"use strict\";var g=XT(),x=JP();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:\"treemap\",drawDescendants:x})}}}),QP=ke({\"src/traces/treemap/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"treemap\",basePlotModule:WP(),categories:[],animatable:!0,attributes:Vx(),layoutAttributes:qT(),supplyDefaults:XP(),supplyLayoutDefaults:ZP(),calc:HT().calc,crossTraceCalc:HT().crossTraceCalc,plot:$P(),style:qx().style,colorbar:Bh(),meta:{}}}}),eI=ke({\"lib/treemap.js\"(Z,H){\"use strict\";H.exports=QP()}}),tI=ke({\"src/traces/icicle/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"icicle\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),ZT=ke({\"src/traces/icicle/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=ou(),S=Yu().attributes,e=Vm(),t=T0(),r=Vx(),o=Km(),n=To().extendFlat,i=xh().pattern;H.exports={labels:t.labels,parents:t.parents,values:t.values,branchvalues:t.branchvalues,count:t.count,level:t.level,maxdepth:t.maxdepth,tiling:{orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"h\",editType:\"plot\"},flip:r.tiling.flip,pad:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"calc\"},marker:n({colors:t.marker.colors,line:t.marker.line,pattern:i,editType:\"calc\"},A(\"marker\",{colorAttr:\"colors\",anim:!1})),leaf:t.leaf,pathbar:r.pathbar,text:e.text,textinfo:t.textinfo,texttemplate:x({editType:\"plot\"},{keys:o.eventDataKeys.concat([\"label\",\"value\"])}),hovertext:e.hovertext,hoverinfo:t.hoverinfo,hovertemplate:g({},{keys:o.eventDataKeys}),textfont:e.textfont,insidetextfont:e.insidetextfont,outsidetextfont:r.outsidetextfont,textposition:r.textposition,sort:e.sort,root:t.root,domain:S({name:\"icicle\",trace:!0,editType:\"calc\"})}}}),YT=ke({\"src/traces/icicle/layout_attributes.js\"(Z,H){\"use strict\";H.exports={iciclecolorway:{valType:\"colorlist\",editType:\"calc\"},extendiciclecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),rI=ke({\"src/traces/icicle/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ZT(),A=eo(),S=Yu().defaults,e=Od().handleText,t=Om().TEXTPAD,r=qm().handleMarkerDefaults,o=ku(),n=o.hasColorscale,i=o.handleDefaults;H.exports=function(s,c,h,p){function d(b,v){return g.coerce(s,c,x,b,v)}var T=d(\"labels\"),l=d(\"parents\");if(!T||!T.length||!l||!l.length){c.visible=!1;return}var _=d(\"values\");_&&_.length?d(\"branchvalues\"):d(\"count\"),d(\"level\"),d(\"maxdepth\"),d(\"tiling.orientation\"),d(\"tiling.flip\"),d(\"tiling.pad\");var w=d(\"text\");d(\"texttemplate\"),c.texttemplate||d(\"textinfo\",g.isArrayOrTypedArray(w)?\"text+label\":\"label\"),d(\"hovertext\"),d(\"hovertemplate\");var M=d(\"pathbar.visible\"),E=\"auto\";e(s,c,p,d,E,{hasPathbar:M,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),d(\"textposition\"),r(s,c,p,d);var m=c._hasColorscale=n(s,\"marker\",\"colors\")||(s.marker||{}).coloraxis;m&&i(s,c,p,d,{prefix:\"marker.\",cLetter:\"c\"}),d(\"leaf.opacity\",m?1:.7),c._hovered={marker:{line:{width:2,color:A.contrast(p.paper_bgcolor)}}},M&&(d(\"pathbar.thickness\",c.pathbar.textfont.size+2*t),d(\"pathbar.side\"),d(\"pathbar.edgeshape\")),d(\"sort\"),d(\"root.color\"),S(c,p,d),c._length=null}}}),nI=ke({\"src/traces/icicle/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=YT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"iciclecolorway\",e.colorway),t(\"extendiciclecolors\")}}}),KT=ke({\"src/traces/icicle/calc.js\"(Z){\"use strict\";var H=M0();Z.calc=function(g,x){return H.calc(g,x)},Z.crossTraceCalc=function(g){return H._runCrossTraceCalc(\"icicle\",g)}}}),iI=ke({\"src/traces/icicle/partition.js\"(Z,H){\"use strict\";var g=A0(),x=GT();H.exports=function(S,e,t){var r=t.flipX,o=t.flipY,n=t.orientation===\"h\",i=t.maxDepth,a=e[0],s=e[1];i&&(a=(S.height+1)*e[0]/Math.min(S.height+1,i),s=(S.height+1)*e[1]/Math.min(S.height+1,i));var c=g.partition().padding(t.pad.inner).size(n?[e[1],a]:[e[0],s])(S);return(n||r||o)&&x(c,e,{swapXY:n,flipX:r,flipY:o}),c}}}),JT=ke({\"src/traces/icicle/style.js\"(Z,H){\"use strict\";var g=_i(),x=eo(),A=un(),S=Zh().resizeText,e=Ux();function t(o){var n=o._fullLayout._iciclelayer.selectAll(\".trace\");S(o,n,\"icicle\"),n.each(function(i){var a=g.select(this),s=i[0],c=s.trace;a.style(\"opacity\",c.opacity),a.selectAll(\"path.surface\").each(function(h){g.select(this).call(r,h,c,o)})})}function r(o,n,i,a){var s=n.data.data,c=!n.children,h=s.i,p=A.castOption(i,h,\"marker.line.color\")||x.defaultLine,d=A.castOption(i,h,\"marker.line.width\")||0;o.call(e,n,i,a).style(\"stroke-width\",d).call(x.stroke,p).style(\"opacity\",c?i.leaf.opacity:null)}H.exports={style:t,styleOne:r}}}),aI=ke({\"src/traces/icicle/draw_descendants.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=$o(),S=Wl(),e=iI(),t=JT().styleOne,r=Km(),o=tp(),n=j0(),i=jx().formatSliceLabel,a=!1;H.exports=function(c,h,p,d,T){var l=T.width,_=T.height,w=T.viewX,M=T.viewY,E=T.pathSlice,m=T.toMoveInsideSlice,b=T.strTransform,v=T.hasTransition,u=T.handleSlicesExit,y=T.makeUpdateSliceInterpolator,f=T.makeUpdateTextInterpolator,P=T.prevEntry,L={},z=c._context.staticPlot,F=c._fullLayout,B=h[0],O=B.trace,I=O.textposition.indexOf(\"left\")!==-1,N=O.textposition.indexOf(\"right\")!==-1,U=O.textposition.indexOf(\"bottom\")!==-1,W=e(p,[l,_],{flipX:O.tiling.flip.indexOf(\"x\")>-1,flipY:O.tiling.flip.indexOf(\"y\")>-1,orientation:O.tiling.orientation,pad:{inner:O.tiling.pad},maxDepth:O._maxDepth}),Q=W.descendants(),le=1/0,se=-1/0;Q.forEach(function(X){var re=X.depth;re>=O._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(le=Math.min(le,re),se=Math.max(se,re))}),d=d.data(Q,o.getPtId),O._maxVisibleLayers=isFinite(se)?se-le+1:0,d.enter().append(\"g\").classed(\"slice\",!0),u(d,a,L,[l,_],E),d.order();var fe=null;if(v&&P){var G=o.getPtId(P);d.each(function(X){fe===null&&o.getPtId(X)===G&&(fe={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var $=function(){return fe||{x0:0,x1:l,y0:0,y1:_}},J=d;return v&&(J=J.transition().each(\"end\",function(){var X=g.select(this);o.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),J.each(function(X){X._x0=w(X.x0),X._x1=w(X.x1),X._y0=M(X.y0),X._y1=M(X.y1),X._hoverX=w(X.x1-O.tiling.pad),X._hoverY=M(U?X.y1-O.tiling.pad/2:X.y0+O.tiling.pad/2);var re=g.select(this),ae=x.ensureSingle(re,\"path\",\"surface\",function(ce){ce.style(\"pointer-events\",z?\"none\":\"all\")});v?ae.transition().attrTween(\"d\",function(ce){var xe=y(ce,a,$(),[l,_],{orientation:O.tiling.orientation,flipX:O.tiling.flip.indexOf(\"x\")>-1,flipY:O.tiling.flip.indexOf(\"y\")>-1});return function(Te){return E(xe(Te))}}):ae.attr(\"d\",E),re.call(n,p,c,h,{styleOne:t,eventDataKeys:r.eventDataKeys,transitionTime:r.CLICK_TRANSITION_TIME,transitionEasing:r.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),ae.call(t,X,O,c,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text=\"\":X._text=i(X,p,O,h,F)||\"\";var j=x.ensureSingle(re,\"g\",\"slicetext\"),ee=x.ensureSingle(j,\"text\",\"\",function(ce){ce.attr(\"data-notex\",1)}),ie=x.ensureUniformFontSize(c,o.determineTextFont(O,X,F.font));ee.text(X._text||\" \").classed(\"slicetext\",!0).attr(\"text-anchor\",N?\"end\":I?\"start\":\"middle\").call(A.font,ie).call(S.convertToTspans,c),X.textBB=A.bBox(ee.node()),X.transform=m(X,{fontSize:ie.size}),X.transform.fontSize=ie.size,v?ee.transition().attrTween(\"transform\",function(ce){var xe=f(ce,a,$(),[l,_]);return function(Te){return b(xe(Te))}}):ee.attr(\"transform\",b(X))}),fe}}}),oI=ke({\"src/traces/icicle/plot.js\"(Z,H){\"use strict\";var g=XT(),x=aI();H.exports=function(S,e,t,r){return g(S,e,t,r,{type:\"icicle\",drawDescendants:x})}}}),sI=ke({\"src/traces/icicle/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"icicle\",basePlotModule:tI(),categories:[],animatable:!0,attributes:ZT(),layoutAttributes:YT(),supplyDefaults:rI(),supplyLayoutDefaults:nI(),calc:KT().calc,crossTraceCalc:KT().crossTraceCalc,plot:oI(),style:JT().style,colorbar:Bh(),meta:{}}}}),lI=ke({\"lib/icicle.js\"(Z,H){\"use strict\";H.exports=sI()}}),uI=ke({\"src/traces/funnelarea/base_plot.js\"(Z){\"use strict\";var H=Zu();Z.name=\"funnelarea\",Z.plot=function(g,x,A,S){H.plotBasePlot(Z.name,g,x,A,S)},Z.clean=function(g,x,A,S){H.cleanBasePlot(Z.name,g,x,A,S)}}}),$T=ke({\"src/traces/funnelarea/attributes.js\"(Z,H){\"use strict\";var g=Vm(),x=Ol(),A=Yu().attributes,S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=To().extendFlat;H.exports={labels:g.labels,label0:g.label0,dlabel:g.dlabel,values:g.values,marker:{colors:g.marker.colors,line:{color:t({},g.marker.line.color,{dflt:null}),width:t({},g.marker.line.width,{dflt:1}),editType:\"calc\"},pattern:g.marker.pattern,editType:\"calc\"},text:g.text,hovertext:g.hovertext,scalegroup:t({},g.scalegroup,{}),textinfo:t({},g.textinfo,{flags:[\"label\",\"text\",\"value\",\"percent\"]}),texttemplate:e({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"text\",\"percent\"]}),hoverinfo:t({},x.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:S({},{keys:[\"label\",\"color\",\"value\",\"text\",\"percent\"]}),textposition:t({},g.textposition,{values:[\"inside\",\"none\"],dflt:\"inside\"}),textfont:g.textfont,insidetextfont:g.insidetextfont,title:{text:g.title.text,font:g.title.font,position:t({},g.title.position,{values:[\"top left\",\"top center\",\"top right\"],dflt:\"top center\"}),editType:\"plot\"},domain:A({name:\"funnelarea\",trace:!0,editType:\"calc\"}),aspectratio:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},baseratio:{valType:\"number\",min:0,max:1,dflt:.333,editType:\"plot\"}}}}),QT=ke({\"src/traces/funnelarea/layout_attributes.js\"(Z,H){\"use strict\";var g=cx().hiddenlabels;H.exports={hiddenlabels:g,funnelareacolorway:{valType:\"colorlist\",editType:\"calc\"},extendfunnelareacolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}}}),cI=ke({\"src/traces/funnelarea/defaults.js\"(Z,H){\"use strict\";var g=un(),x=$T(),A=Yu().defaults,S=Od().handleText,e=qm().handleLabelsAndValues,t=qm().handleMarkerDefaults;H.exports=function(o,n,i,a){function s(E,m){return g.coerce(o,n,x,E,m)}var c=s(\"labels\"),h=s(\"values\"),p=e(c,h),d=p.len;if(n._hasLabels=p.hasLabels,n._hasValues=p.hasValues,!n._hasLabels&&n._hasValues&&(s(\"label0\"),s(\"dlabel\")),!d){n.visible=!1;return}n._length=d,t(o,n,a,s),s(\"scalegroup\");var T=s(\"text\"),l=s(\"texttemplate\"),_;if(l||(_=s(\"textinfo\",Array.isArray(T)?\"text+percent\":\"percent\")),s(\"hovertext\"),s(\"hovertemplate\"),l||_&&_!==\"none\"){var w=s(\"textposition\");S(o,n,a,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}else _===\"none\"&&s(\"textposition\",\"none\");A(n,a,s);var M=s(\"title.text\");M&&(s(\"title.position\"),g.coerceFont(s,\"title.font\",a.font)),s(\"aspectratio\"),s(\"baseratio\")}}}),fI=ke({\"src/traces/funnelarea/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=QT();H.exports=function(S,e){function t(r,o){return g.coerce(S,e,x,r,o)}t(\"hiddenlabels\"),t(\"funnelareacolorway\",e.colorway),t(\"extendfunnelareacolors\")}}}),eA=ke({\"src/traces/funnelarea/calc.js\"(Z,H){\"use strict\";var g=sy();function x(S,e){return g.calc(S,e)}function A(S){g.crossTraceCalc(S,{type:\"funnelarea\"})}H.exports={calc:x,crossTraceCalc:A}}}),hI=ke({\"src/traces/funnelarea/plot.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=un(),S=A.strScale,e=A.strTranslate,t=Wl(),r=Bm(),o=r.toMoveInsideBar,n=Zh(),i=n.recordMinTextSize,a=n.clearMinTextSize,s=Fp(),c=fx(),h=c.attachFxHandlers,p=c.determineInsideTextFont,d=c.layoutAreas,T=c.prerenderTitles,l=c.positionTitleOutside,_=c.formatSliceLabel;H.exports=function(b,v){var u=b._context.staticPlot,y=b._fullLayout;a(\"funnelarea\",y),T(v,b),d(v,y._size),A.makeTraceGroups(y._funnelarealayer,v,\"trace\").each(function(f){var P=g.select(this),L=f[0],z=L.trace;E(f),P.each(function(){var F=g.select(this).selectAll(\"g.slice\").data(f);F.enter().append(\"g\").classed(\"slice\",!0),F.exit().remove(),F.each(function(O,I){if(O.hidden){g.select(this).selectAll(\"path,g\").remove();return}O.pointNumber=O.i,O.curveNumber=z.index;var N=L.cx,U=L.cy,W=g.select(this),Q=W.selectAll(\"path.surface\").data([O]);Q.enter().append(\"path\").classed(\"surface\",!0).style({\"pointer-events\":u?\"none\":\"all\"}),W.call(h,b,f);var le=\"M\"+(N+O.TR[0])+\",\"+(U+O.TR[1])+w(O.TR,O.BR)+w(O.BR,O.BL)+w(O.BL,O.TL)+\"Z\";Q.attr(\"d\",le),_(b,O,L);var se=s.castOption(z.textposition,O.pts),fe=W.selectAll(\"g.slicetext\").data(O.text&&se!==\"none\"?[0]:[]);fe.enter().append(\"g\").classed(\"slicetext\",!0),fe.exit().remove(),fe.each(function(){var G=A.ensureSingle(g.select(this),\"text\",\"\",function(ie){ie.attr(\"data-notex\",1)}),$=A.ensureUniformFontSize(b,p(z,O,y.font));G.text(O.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(x.font,$).call(t.convertToTspans,b);var J=x.bBox(G.node()),X,re,ae,j=Math.min(O.BL[1],O.BR[1])+U,ee=Math.max(O.TL[1],O.TR[1])+U;re=Math.max(O.TL[0],O.BL[0])+N,ae=Math.min(O.TR[0],O.BR[0])+N,X=o(re,ae,j,ee,J,{isHorizontal:!0,constrained:!0,angle:0,anchor:\"middle\"}),X.fontSize=$.size,i(z.type,X,y),f[I].transform=X,A.setTransormAndDisplay(G,X)})});var B=g.select(this).selectAll(\"g.titletext\").data(z.title.text?[0]:[]);B.enter().append(\"g\").classed(\"titletext\",!0),B.exit().remove(),B.each(function(){var O=A.ensureSingle(g.select(this),\"text\",\"\",function(U){U.attr(\"data-notex\",1)}),I=z.title.text;z._meta&&(I=A.templateString(I,z._meta)),O.text(I).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(x.font,z.title.font).call(t.convertToTspans,b);var N=l(L,y._size);O.attr(\"transform\",e(N.x,N.y)+S(Math.min(1,N.scale))+e(N.tx,N.ty))})})})};function w(m,b){var v=b[0]-m[0],u=b[1]-m[1];return\"l\"+v+\",\"+u}function M(m,b){return[.5*(m[0]+b[0]),.5*(m[1]+b[1])]}function E(m){if(!m.length)return;var b=m[0],v=b.trace,u=v.aspectratio,y=v.baseratio;y>.999&&(y=.999);var f=Math.pow(y,2),P=b.vTotal,L=P*f/(1-f),z=P,F=L/P;function B(){var ce=Math.sqrt(F);return{x:ce,y:-ce}}function O(){var ce=B();return[ce.x,ce.y]}var I,N=[];N.push(O());var U,W;for(U=m.length-1;U>-1;U--)if(W=m[U],!W.hidden){var Q=W.v/z;F+=Q,N.push(O())}var le=1/0,se=-1/0;for(U=0;U-1;U--)if(W=m[U],!W.hidden){j+=1;var ee=N[j][0],ie=N[j][1];W.TL=[-ee,ie],W.TR=[ee,ie],W.BL=re,W.BR=ae,W.pxmid=M(W.TR,W.BR),re=W.TL,ae=W.TR}}}}),dI=ke({\"src/traces/funnelarea/style.js\"(Z,H){\"use strict\";var g=_i(),x=Wg(),A=Zh().resizeText;H.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(\".trace\");A(e,t,\"funnelarea\"),t.each(function(r){var o=r[0],n=o.trace,i=g.select(this);i.style({opacity:n.opacity}),i.selectAll(\"path.surface\").each(function(a){g.select(this).call(x,a,n,e)})})}}}),vI=ke({\"src/traces/funnelarea/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"funnelarea\",basePlotModule:uI(),categories:[\"pie-like\",\"funnelarea\",\"showLegend\"],attributes:$T(),layoutAttributes:QT(),supplyDefaults:cI(),supplyLayoutDefaults:fI(),calc:eA().calc,crossTraceCalc:eA().crossTraceCalc,plot:hI(),style:dI(),styleOne:Wg(),meta:{}}}}),pI=ke({\"lib/funnelarea.js\"(Z,H){\"use strict\";H.exports=vI()}}),Mh=ke({\"stackgl_modules/index.js\"(Z,H){(function(){var g={1964:function(e,t,r){e.exports={alpha_shape:r(3502),convex_hull:r(7352),delaunay_triangulate:r(7642),gl_cone3d:r(6405),gl_error3d:r(9165),gl_line3d:r(5714),gl_mesh3d:r(7201),gl_plot3d:r(4100),gl_scatter3d:r(8418),gl_streamtube3d:r(7815),gl_surface3d:r(9499),ndarray:r(9618),ndarray_linear_interpolate:r(4317)}},4793:function(e,t,r){\"use strict\";var o;function n(Ee,we){if(!(Ee instanceof we))throw new TypeError(\"Cannot call a class as a function\")}function i(Ee,we){for(var Le=0;Lev)throw new RangeError('The value \"'+Ee+'\" is invalid for option \"size\"');var we=new Uint8Array(Ee);return Object.setPrototypeOf(we,f.prototype),we}function f(Ee,we,Le){if(typeof Ee==\"number\"){if(typeof we==\"string\")throw new TypeError('The \"string\" argument must be of type string. Received type number');return F(Ee)}return P(Ee,we,Le)}f.poolSize=8192;function P(Ee,we,Le){if(typeof Ee==\"string\")return B(Ee,we);if(ArrayBuffer.isView(Ee))return I(Ee);if(Ee==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+M(Ee));if(Be(Ee,ArrayBuffer)||Ee&&Be(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(Be(Ee,SharedArrayBuffer)||Ee&&Be(Ee.buffer,SharedArrayBuffer)))return N(Ee,we,Le);if(typeof Ee==\"number\")throw new TypeError('The \"value\" argument must not be of type number. Received type number');var nt=Ee.valueOf&&Ee.valueOf();if(nt!=null&&nt!==Ee)return f.from(nt,we,Le);var pt=U(Ee);if(pt)return pt;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]==\"function\")return f.from(Ee[Symbol.toPrimitive](\"string\"),we,Le);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+M(Ee))}f.from=function(Ee,we,Le){return P(Ee,we,Le)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function L(Ee){if(typeof Ee!=\"number\")throw new TypeError('\"size\" argument must be of type number');if(Ee<0)throw new RangeError('The value \"'+Ee+'\" is invalid for option \"size\"')}function z(Ee,we,Le){return L(Ee),Ee<=0?y(Ee):we!==void 0?typeof Le==\"string\"?y(Ee).fill(we,Le):y(Ee).fill(we):y(Ee)}f.alloc=function(Ee,we,Le){return z(Ee,we,Le)};function F(Ee){return L(Ee),y(Ee<0?0:W(Ee)|0)}f.allocUnsafe=function(Ee){return F(Ee)},f.allocUnsafeSlow=function(Ee){return F(Ee)};function B(Ee,we){if((typeof we!=\"string\"||we===\"\")&&(we=\"utf8\"),!f.isEncoding(we))throw new TypeError(\"Unknown encoding: \"+we);var Le=le(Ee,we)|0,nt=y(Le),pt=nt.write(Ee,we);return pt!==Le&&(nt=nt.slice(0,pt)),nt}function O(Ee){for(var we=Ee.length<0?0:W(Ee.length)|0,Le=y(we),nt=0;nt=v)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+v.toString(16)+\" bytes\");return Ee|0}function Q(Ee){return+Ee!=Ee&&(Ee=0),f.alloc(+Ee)}f.isBuffer=function(we){return we!=null&&we._isBuffer===!0&&we!==f.prototype},f.compare=function(we,Le){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),Be(Le,Uint8Array)&&(Le=f.from(Le,Le.offset,Le.byteLength)),!f.isBuffer(we)||!f.isBuffer(Le))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(we===Le)return 0;for(var nt=we.length,pt=Le.length,bt=0,Rt=Math.min(nt,pt);btpt.length?(f.isBuffer(Rt)||(Rt=f.from(Rt)),Rt.copy(pt,bt)):Uint8Array.prototype.set.call(pt,Rt,bt);else if(f.isBuffer(Rt))Rt.copy(pt,bt);else throw new TypeError('\"list\" argument must be an Array of Buffers');bt+=Rt.length}return pt};function le(Ee,we){if(f.isBuffer(Ee))return Ee.length;if(ArrayBuffer.isView(Ee)||Be(Ee,ArrayBuffer))return Ee.byteLength;if(typeof Ee!=\"string\")throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+M(Ee));var Le=Ee.length,nt=arguments.length>2&&arguments[2]===!0;if(!nt&&Le===0)return 0;for(var pt=!1;;)switch(we){case\"ascii\":case\"latin1\":case\"binary\":return Le;case\"utf8\":case\"utf-8\":return ar(Ee).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return Le*2;case\"hex\":return Le>>>1;case\"base64\":return br(Ee).length;default:if(pt)return nt?-1:ar(Ee).length;we=(\"\"+we).toLowerCase(),pt=!0}}f.byteLength=le;function se(Ee,we,Le){var nt=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,we>>>=0,Le<=we))return\"\";for(Ee||(Ee=\"utf8\");;)switch(Ee){case\"hex\":return Ie(this,we,Le);case\"utf8\":case\"utf-8\":return ie(this,we,Le);case\"ascii\":return Te(this,we,Le);case\"latin1\":case\"binary\":return Ue(this,we,Le);case\"base64\":return ee(this,we,Le);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return Ye(this,we,Le);default:if(nt)throw new TypeError(\"Unknown encoding: \"+Ee);Ee=(Ee+\"\").toLowerCase(),nt=!0}}f.prototype._isBuffer=!0;function fe(Ee,we,Le){var nt=Ee[we];Ee[we]=Ee[Le],Ee[Le]=nt}f.prototype.swap16=function(){var we=this.length;if(we%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var Le=0;LeLe&&(we+=\" ... \"),\"\"},b&&(f.prototype[b]=f.prototype.inspect),f.prototype.compare=function(we,Le,nt,pt,bt){if(Be(we,Uint8Array)&&(we=f.from(we,we.offset,we.byteLength)),!f.isBuffer(we))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+M(we));if(Le===void 0&&(Le=0),nt===void 0&&(nt=we?we.length:0),pt===void 0&&(pt=0),bt===void 0&&(bt=this.length),Le<0||nt>we.length||pt<0||bt>this.length)throw new RangeError(\"out of range index\");if(pt>=bt&&Le>=nt)return 0;if(pt>=bt)return-1;if(Le>=nt)return 1;if(Le>>>=0,nt>>>=0,pt>>>=0,bt>>>=0,this===we)return 0;for(var Rt=bt-pt,Nt=nt-Le,Xt=Math.min(Rt,Nt),$t=this.slice(pt,bt),ur=we.slice(Le,nt),pn=0;pn2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,Ke(Le)&&(Le=pt?0:Ee.length-1),Le<0&&(Le=Ee.length+Le),Le>=Ee.length){if(pt)return-1;Le=Ee.length-1}else if(Le<0)if(pt)Le=0;else return-1;if(typeof we==\"string\"&&(we=f.from(we,nt)),f.isBuffer(we))return we.length===0?-1:$(Ee,we,Le,nt,pt);if(typeof we==\"number\")return we=we&255,typeof Uint8Array.prototype.indexOf==\"function\"?pt?Uint8Array.prototype.indexOf.call(Ee,we,Le):Uint8Array.prototype.lastIndexOf.call(Ee,we,Le):$(Ee,[we],Le,nt,pt);throw new TypeError(\"val must be string, number or Buffer\")}function $(Ee,we,Le,nt,pt){var bt=1,Rt=Ee.length,Nt=we.length;if(nt!==void 0&&(nt=String(nt).toLowerCase(),nt===\"ucs2\"||nt===\"ucs-2\"||nt===\"utf16le\"||nt===\"utf-16le\")){if(Ee.length<2||we.length<2)return-1;bt=2,Rt/=2,Nt/=2,Le/=2}function Xt(Nn,On){return bt===1?Nn[On]:Nn.readUInt16BE(On*bt)}var $t;if(pt){var ur=-1;for($t=Le;$tRt&&(Le=Rt-Nt),$t=Le;$t>=0;$t--){for(var pn=!0,Rn=0;Rnpt&&(nt=pt)):nt=pt;var bt=we.length;nt>bt/2&&(nt=bt/2);var Rt;for(Rt=0;Rt>>0,isFinite(nt)?(nt=nt>>>0,pt===void 0&&(pt=\"utf8\")):(pt=nt,nt=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");var bt=this.length-Le;if((nt===void 0||nt>bt)&&(nt=bt),we.length>0&&(nt<0||Le<0)||Le>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");pt||(pt=\"utf8\");for(var Rt=!1;;)switch(pt){case\"hex\":return J(this,we,Le,nt);case\"utf8\":case\"utf-8\":return X(this,we,Le,nt);case\"ascii\":case\"latin1\":case\"binary\":return re(this,we,Le,nt);case\"base64\":return ae(this,we,Le,nt);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return j(this,we,Le,nt);default:if(Rt)throw new TypeError(\"Unknown encoding: \"+pt);pt=(\"\"+pt).toLowerCase(),Rt=!0}},f.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function ee(Ee,we,Le){return we===0&&Le===Ee.length?E.fromByteArray(Ee):E.fromByteArray(Ee.slice(we,Le))}function ie(Ee,we,Le){Le=Math.min(Ee.length,Le);for(var nt=[],pt=we;pt239?4:bt>223?3:bt>191?2:1;if(pt+Nt<=Le){var Xt=void 0,$t=void 0,ur=void 0,pn=void 0;switch(Nt){case 1:bt<128&&(Rt=bt);break;case 2:Xt=Ee[pt+1],(Xt&192)===128&&(pn=(bt&31)<<6|Xt&63,pn>127&&(Rt=pn));break;case 3:Xt=Ee[pt+1],$t=Ee[pt+2],(Xt&192)===128&&($t&192)===128&&(pn=(bt&15)<<12|(Xt&63)<<6|$t&63,pn>2047&&(pn<55296||pn>57343)&&(Rt=pn));break;case 4:Xt=Ee[pt+1],$t=Ee[pt+2],ur=Ee[pt+3],(Xt&192)===128&&($t&192)===128&&(ur&192)===128&&(pn=(bt&15)<<18|(Xt&63)<<12|($t&63)<<6|ur&63,pn>65535&&pn<1114112&&(Rt=pn))}}Rt===null?(Rt=65533,Nt=1):Rt>65535&&(Rt-=65536,nt.push(Rt>>>10&1023|55296),Rt=56320|Rt&1023),nt.push(Rt),pt+=Nt}return xe(nt)}var ce=4096;function xe(Ee){var we=Ee.length;if(we<=ce)return String.fromCharCode.apply(String,Ee);for(var Le=\"\",nt=0;ntnt)&&(Le=nt);for(var pt=\"\",bt=we;btnt&&(we=nt),Le<0?(Le+=nt,Le<0&&(Le=0)):Le>nt&&(Le=nt),LeLe)throw new RangeError(\"Trying to access beyond buffer length\")}f.prototype.readUintLE=f.prototype.readUIntLE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we+--Le],bt=1;Le>0&&(bt*=256);)pt+=this[we+--Le]*bt;return pt},f.prototype.readUint8=f.prototype.readUInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]|this[we+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(we,Le){return we=we>>>0,Le||it(we,2,this.length),this[we]<<8|this[we+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+this[we+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]*16777216+(this[we+1]<<16|this[we+2]<<8|this[we+3])},f.prototype.readBigUInt64LE=Se(function(we){we=we>>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,24),bt=this[++we]+this[++we]*Math.pow(2,8)+this[++we]*Math.pow(2,16)+nt*Math.pow(2,24);return BigInt(pt)+(BigInt(bt)<>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=Le*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we],bt=this[++we]*Math.pow(2,24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+nt;return(BigInt(pt)<>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=this[we],bt=1,Rt=0;++Rt=bt&&(pt-=Math.pow(2,8*Le)),pt},f.prototype.readIntBE=function(we,Le,nt){we=we>>>0,Le=Le>>>0,nt||it(we,Le,this.length);for(var pt=Le,bt=1,Rt=this[we+--pt];pt>0&&(bt*=256);)Rt+=this[we+--pt]*bt;return bt*=128,Rt>=bt&&(Rt-=Math.pow(2,8*Le)),Rt},f.prototype.readInt8=function(we,Le){return we=we>>>0,Le||it(we,1,this.length),this[we]&128?(255-this[we]+1)*-1:this[we]},f.prototype.readInt16LE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we]|this[we+1]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt16BE=function(we,Le){we=we>>>0,Le||it(we,2,this.length);var nt=this[we+1]|this[we]<<8;return nt&32768?nt|4294901760:nt},f.prototype.readInt32LE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},f.prototype.readInt32BE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},f.prototype.readBigInt64LE=Se(function(we){we=we>>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=this[we+4]+this[we+5]*Math.pow(2,8)+this[we+6]*Math.pow(2,16)+(nt<<24);return(BigInt(pt)<>>0,Et(we,\"offset\");var Le=this[we],nt=this[we+7];(Le===void 0||nt===void 0)&&Bt(we,this.length-8);var pt=(Le<<24)+this[++we]*Math.pow(2,16)+this[++we]*Math.pow(2,8)+this[++we];return(BigInt(pt)<>>0,Le||it(we,4,this.length),m.read(this,we,!0,23,4)},f.prototype.readFloatBE=function(we,Le){return we=we>>>0,Le||it(we,4,this.length),m.read(this,we,!1,23,4)},f.prototype.readDoubleLE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!0,52,8)},f.prototype.readDoubleBE=function(we,Le){return we=we>>>0,Le||it(we,8,this.length),m.read(this,we,!1,52,8)};function at(Ee,we,Le,nt,pt,bt){if(!f.isBuffer(Ee))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(we>pt||weEe.length)throw new RangeError(\"Index out of range\")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=1,Nt=0;for(this[Le]=we&255;++Nt>>0,nt=nt>>>0,!pt){var bt=Math.pow(2,8*nt)-1;at(this,we,Le,nt,bt,0)}var Rt=nt-1,Nt=1;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)this[Le+Rt]=we/Nt&255;return Le+nt},f.prototype.writeUint8=f.prototype.writeUInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,255,0),this[Le]=we&255,Le+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,65535,0),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le+3]=we>>>24,this[Le+2]=we>>>16,this[Le+1]=we>>>8,this[Le]=we&255,Le+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,4294967295,0),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4};function tt(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt,bt=bt>>8,Ee[Le++]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Rt=Rt>>8,Ee[Le++]=Rt,Le}function ut(Ee,we,Le,nt,pt){Lt(we,nt,pt,Ee,Le,7);var bt=Number(we&BigInt(4294967295));Ee[Le+7]=bt,bt=bt>>8,Ee[Le+6]=bt,bt=bt>>8,Ee[Le+5]=bt,bt=bt>>8,Ee[Le+4]=bt;var Rt=Number(we>>BigInt(32)&BigInt(4294967295));return Ee[Le+3]=Rt,Rt=Rt>>8,Ee[Le+2]=Rt,Rt=Rt>>8,Ee[Le+1]=Rt,Rt=Rt>>8,Ee[Le]=Rt,Le+8}f.prototype.writeBigUInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),f.prototype.writeBigUInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,BigInt(0),BigInt(\"0xffffffffffffffff\"))}),f.prototype.writeIntLE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=0,Nt=1,Xt=0;for(this[Le]=we&255;++Rt>0)-Xt&255;return Le+nt},f.prototype.writeIntBE=function(we,Le,nt,pt){if(we=+we,Le=Le>>>0,!pt){var bt=Math.pow(2,8*nt-1);at(this,we,Le,nt,bt-1,-bt)}var Rt=nt-1,Nt=1,Xt=0;for(this[Le+Rt]=we&255;--Rt>=0&&(Nt*=256);)we<0&&Xt===0&&this[Le+Rt+1]!==0&&(Xt=1),this[Le+Rt]=(we/Nt>>0)-Xt&255;return Le+nt},f.prototype.writeInt8=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,1,127,-128),we<0&&(we=255+we+1),this[Le]=we&255,Le+1},f.prototype.writeInt16LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we&255,this[Le+1]=we>>>8,Le+2},f.prototype.writeInt16BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,2,32767,-32768),this[Le]=we>>>8,this[Le+1]=we&255,Le+2},f.prototype.writeInt32LE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),this[Le]=we&255,this[Le+1]=we>>>8,this[Le+2]=we>>>16,this[Le+3]=we>>>24,Le+4},f.prototype.writeInt32BE=function(we,Le,nt){return we=+we,Le=Le>>>0,nt||at(this,we,Le,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[Le]=we>>>24,this[Le+1]=we>>>16,this[Le+2]=we>>>8,this[Le+3]=we&255,Le+4},f.prototype.writeBigInt64LE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return tt(this,we,Le,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))}),f.prototype.writeBigInt64BE=Se(function(we){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ut(this,we,Le,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function Me(Ee,we,Le,nt,pt,bt){if(Le+nt>Ee.length)throw new RangeError(\"Index out of range\");if(Le<0)throw new RangeError(\"Index out of range\")}function pe(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,4,34028234663852886e22,-34028234663852886e22),m.write(Ee,we,Le,nt,23,4),Le+4}f.prototype.writeFloatLE=function(we,Le,nt){return pe(this,we,Le,!0,nt)},f.prototype.writeFloatBE=function(we,Le,nt){return pe(this,we,Le,!1,nt)};function ue(Ee,we,Le,nt,pt){return we=+we,Le=Le>>>0,pt||Me(Ee,we,Le,8,17976931348623157e292,-17976931348623157e292),m.write(Ee,we,Le,nt,52,8),Le+8}f.prototype.writeDoubleLE=function(we,Le,nt){return ue(this,we,Le,!0,nt)},f.prototype.writeDoubleBE=function(we,Le,nt){return ue(this,we,Le,!1,nt)},f.prototype.copy=function(we,Le,nt,pt){if(!f.isBuffer(we))throw new TypeError(\"argument should be a Buffer\");if(nt||(nt=0),!pt&&pt!==0&&(pt=this.length),Le>=we.length&&(Le=we.length),Le||(Le=0),pt>0&&pt=this.length)throw new RangeError(\"Index out of range\");if(pt<0)throw new RangeError(\"sourceEnd out of bounds\");pt>this.length&&(pt=this.length),we.length-Le>>0,nt=nt===void 0?this.length:nt>>>0,we||(we=0);var Rt;if(typeof we==\"number\")for(Rt=Le;RtMath.pow(2,32)?pt=ot(String(Le)):typeof Le==\"bigint\"&&(pt=String(Le),(Le>Math.pow(BigInt(2),BigInt(32))||Le<-Math.pow(BigInt(2),BigInt(32)))&&(pt=ot(pt)),pt+=\"n\"),nt+=\" It must be \".concat(we,\". Received \").concat(pt),nt},RangeError);function ot(Ee){for(var we=\"\",Le=Ee.length,nt=Ee[0]===\"-\"?1:0;Le>=nt+4;Le-=3)we=\"_\".concat(Ee.slice(Le-3,Le)).concat(we);return\"\".concat(Ee.slice(0,Le)).concat(we)}function et(Ee,we,Le){Et(we,\"offset\"),(Ee[we]===void 0||Ee[we+Le]===void 0)&&Bt(we,Ee.length-(Le+1))}function Lt(Ee,we,Le,nt,pt,bt){if(Ee>Le||Ee3?we===0||we===BigInt(0)?Nt=\">= 0\".concat(Rt,\" and < 2\").concat(Rt,\" ** \").concat((bt+1)*8).concat(Rt):Nt=\">= -(2\".concat(Rt,\" ** \").concat((bt+1)*8-1).concat(Rt,\") and < 2 ** \")+\"\".concat((bt+1)*8-1).concat(Rt):Nt=\">= \".concat(we).concat(Rt,\" and <= \").concat(Le).concat(Rt),new Oe.ERR_OUT_OF_RANGE(\"value\",Nt,Ee)}et(nt,pt,bt)}function Et(Ee,we){if(typeof Ee!=\"number\")throw new Oe.ERR_INVALID_ARG_TYPE(we,\"number\",Ee)}function Bt(Ee,we,Le){throw Math.floor(Ee)!==Ee?(Et(Ee,Le),new Oe.ERR_OUT_OF_RANGE(Le||\"offset\",\"an integer\",Ee)):we<0?new Oe.ERR_BUFFER_OUT_OF_BOUNDS:new Oe.ERR_OUT_OF_RANGE(Le||\"offset\",\">= \".concat(Le?1:0,\" and <= \").concat(we),Ee)}var qt=/[^+/0-9A-Za-z-_]/g;function fr(Ee){if(Ee=Ee.split(\"=\")[0],Ee=Ee.trim().replace(qt,\"\"),Ee.length<2)return\"\";for(;Ee.length%4!==0;)Ee=Ee+\"=\";return Ee}function ar(Ee,we){we=we||1/0;for(var Le,nt=Ee.length,pt=null,bt=[],Rt=0;Rt55295&&Le<57344){if(!pt){if(Le>56319){(we-=3)>-1&&bt.push(239,191,189);continue}else if(Rt+1===nt){(we-=3)>-1&&bt.push(239,191,189);continue}pt=Le;continue}if(Le<56320){(we-=3)>-1&&bt.push(239,191,189),pt=Le;continue}Le=(pt-55296<<10|Le-56320)+65536}else pt&&(we-=3)>-1&&bt.push(239,191,189);if(pt=null,Le<128){if((we-=1)<0)break;bt.push(Le)}else if(Le<2048){if((we-=2)<0)break;bt.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((we-=3)<0)break;bt.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((we-=4)<0)break;bt.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error(\"Invalid code point\")}return bt}function Rr(Ee){for(var we=[],Le=0;Le>8,pt=Le%256,bt.push(pt),bt.push(nt);return bt}function br(Ee){return E.toByteArray(fr(Ee))}function _t(Ee,we,Le,nt){var pt;for(pt=0;pt=we.length||pt>=Ee.length);++pt)we[pt+Le]=Ee[pt];return pt}function Be(Ee,we){return Ee instanceof we||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===we.name}function Ke(Ee){return Ee!==Ee}var je=function(){for(var Ee=\"0123456789abcdef\",we=new Array(256),Le=0;Le<16;++Le)for(var nt=Le*16,pt=0;pt<16;++pt)we[nt+pt]=Ee[Le]+Ee[pt];return we}();function Se(Ee){return typeof BigInt>\"u\"?He:Ee}function He(){throw new Error(\"BigInt not supported\")}},9216:function(e){\"use strict\";e.exports=n,e.exports.isMobile=n,e.exports.default=n;var t=/(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,o=/android|ipad|playbook|silk/i;function n(i){i||(i={});var a=i.ua;if(!a&&typeof navigator<\"u\"&&(a=navigator.userAgent),a&&a.headers&&typeof a.headers[\"user-agent\"]==\"string\"&&(a=a.headers[\"user-agent\"]),typeof a!=\"string\")return!1;var s=t.test(a)&&!r.test(a)||!!i.tablet&&o.test(a);return!s&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&a.indexOf(\"Macintosh\")!==-1&&a.indexOf(\"Safari\")!==-1&&(s=!0),s}},6296:function(e,t,r){\"use strict\";e.exports=c;var o=r(7261),n=r(9977),i=r(1811);function a(h,p){this._controllerNames=Object.keys(h),this._controllerList=this._controllerNames.map(function(d){return h[d]}),this._mode=p,this._active=h[p],this._active||(this._mode=\"turntable\",this._active=h.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;s.flush=function(h){for(var p=this._controllerList,d=0;d\"u\"?r(1538):WeakMap,n=r(2762),i=r(8116),a=new o;function s(c){var h=a.get(c),p=h&&(h._triangleBuffer.handle||h._triangleBuffer.buffer);if(!p||!c.isBuffer(p)){var d=n(c,new Float32Array([-1,-1,-1,4,4,-1]));h=i(c,[{buffer:d,type:c.FLOAT,size:2}]),h._triangleBuffer=d,a.set(c,h)}h.bind(),c.drawArrays(c.TRIANGLES,0,3),h.unbind()}e.exports=s},1085:function(e,t,r){var o=r(1371);e.exports=n;function n(i,a,s){a=typeof a==\"number\"?a:1,s=s||\": \";var c=i.split(/\\r?\\n/),h=String(c.length+a-1).length;return c.map(function(p,d){var T=d+a,l=String(T).length,_=o(T,h-l);return _+s+p}).join(`\n`)}},3952:function(e,t,r){\"use strict\";e.exports=i;var o=r(3250);function n(a,s){for(var c=new Array(s+1),h=0;h0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var E=w.indexOf(\"=\");E===-1&&(E=M);var m=E===M?0:4-E%4;return[E,m]}function h(w){var M=c(w),E=M[0],m=M[1];return(E+m)*3/4-m}function p(w,M,E){return(M+E)*3/4-E}function d(w){var M,E=c(w),m=E[0],b=E[1],v=new n(p(w,m,b)),u=0,y=b>0?m-4:m,f;for(f=0;f>16&255,v[u++]=M>>8&255,v[u++]=M&255;return b===2&&(M=o[w.charCodeAt(f)]<<2|o[w.charCodeAt(f+1)]>>4,v[u++]=M&255),b===1&&(M=o[w.charCodeAt(f)]<<10|o[w.charCodeAt(f+1)]<<4|o[w.charCodeAt(f+2)]>>2,v[u++]=M>>8&255,v[u++]=M&255),v}function T(w){return r[w>>18&63]+r[w>>12&63]+r[w>>6&63]+r[w&63]}function l(w,M,E){for(var m,b=[],v=M;vy?y:u+v));return m===1?(M=w[E-1],b.push(r[M>>2]+r[M<<4&63]+\"==\")):m===2&&(M=(w[E-2]<<8)+w[E-1],b.push(r[M>>10]+r[M>>4&63]+r[M<<2&63]+\"=\")),b.join(\"\")}},3865:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).add(a[0].mul(i[1])),i[1].mul(a[1]))}},1318:function(e){\"use strict\";e.exports=t;function t(r,o){return r[0].mul(o[1]).cmp(o[0].mul(r[1]))}},8697:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]),i[1].mul(a[0]))}},7842:function(e,t,r){\"use strict\";var o=r(6330),n=r(1533),i=r(2651),a=r(6768),s=r(869),c=r(8697);e.exports=h;function h(p,d){if(o(p))return d?c(p,h(d)):[p[0].clone(),p[1].clone()];var T=0,l,_;if(n(p))l=p.clone();else if(typeof p==\"string\")l=a(p);else{if(p===0)return[i(0),i(1)];if(p===Math.floor(p))l=i(p);else{for(;p!==Math.floor(p);)p=p*Math.pow(2,256),T-=256;l=i(p)}}if(o(d))l.mul(d[1]),_=d[0].clone();else if(n(d))_=d.clone();else if(typeof d==\"string\")_=a(d);else if(!d)_=i(1);else if(d===Math.floor(d))_=i(d);else{for(;d!==Math.floor(d);)d=d*Math.pow(2,256),T+=256;_=i(d)}return T>0?l=l.ushln(T):T<0&&(_=_.ushln(-T)),s(l,_)}},6330:function(e,t,r){\"use strict\";var o=r(1533);e.exports=n;function n(i){return Array.isArray(i)&&i.length===2&&o(i[0])&&o(i[1])}},5716:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return i.cmp(new o(0))}},1369:function(e,t,r){\"use strict\";var o=r(5716);e.exports=n;function n(i){var a=i.length,s=i.words,c=0;if(a===1)c=s[0];else if(a===2)c=s[0]+s[1]*67108864;else for(var h=0;h20?52:c+32}},1533:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return i&&typeof i==\"object\"&&!!i.words}},2651:function(e,t,r){\"use strict\";var o=r(6859),n=r(2361);e.exports=i;function i(a){var s=n.exponent(a);return s<52?new o(a):new o(a*Math.pow(2,52-s)).ushln(s-52)}},869:function(e,t,r){\"use strict\";var o=r(2651),n=r(5716);e.exports=i;function i(a,s){var c=n(a),h=n(s);if(c===0)return[o(0),o(1)];if(h===0)return[o(0),o(0)];h<0&&(a=a.neg(),s=s.neg());var p=a.gcd(s);return p.cmpn(1)?[a.div(p),s.div(p)]:[a,s]}},6768:function(e,t,r){\"use strict\";var o=r(6859);e.exports=n;function n(i){return new o(i)}},6504:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[0]),i[1].mul(a[1]))}},7721:function(e,t,r){\"use strict\";var o=r(5716);e.exports=n;function n(i){return o(i[0])*o(i[1])}},5572:function(e,t,r){\"use strict\";var o=r(869);e.exports=n;function n(i,a){return o(i[0].mul(a[1]).sub(i[1].mul(a[0])),i[1].mul(a[1]))}},946:function(e,t,r){\"use strict\";var o=r(1369),n=r(4025);e.exports=i;function i(a){var s=a[0],c=a[1];if(s.cmpn(0)===0)return 0;var h=s.abs().divmod(c.abs()),p=h.div,d=o(p),T=h.mod,l=s.negative!==c.negative?-1:1;if(T.cmpn(0)===0)return l*d;if(d){var _=n(d)+4,w=o(T.ushln(_).divRound(c));return l*(d+w*Math.pow(2,-_))}else{var M=c.bitLength()-T.bitLength()+53,w=o(T.ushln(M).divRound(c));return M<1023?l*w*Math.pow(2,-M):(w*=Math.pow(2,-1023),l*w*Math.pow(2,1023-M))}}},2478:function(e){\"use strict\";function t(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>=0?(T=l,d=l-1):p=l+1}return T}function r(s,c,h,p,d){for(var T=d+1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w>0?(T=l,d=l-1):p=l+1}return T}function o(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<0?(T=l,p=l+1):d=l-1}return T}function n(s,c,h,p,d){for(var T=p-1;p<=d;){var l=p+d>>>1,_=s[l],w=h!==void 0?h(_,c):_-c;w<=0?(T=l,p=l+1):d=l-1}return T}function i(s,c,h,p,d){for(;p<=d;){var T=p+d>>>1,l=s[T],_=h!==void 0?h(l,c):l-c;if(_===0)return T;_<=0?p=T+1:d=T-1}return-1}function a(s,c,h,p,d,T){return typeof h==\"function\"?T(s,c,h,p===void 0?0:p|0,d===void 0?s.length-1:d|0):T(s,c,void 0,h===void 0?0:h|0,p===void 0?s.length-1:p|0)}e.exports={ge:function(s,c,h,p,d){return a(s,c,h,p,d,t)},gt:function(s,c,h,p,d){return a(s,c,h,p,d,r)},lt:function(s,c,h,p,d){return a(s,c,h,p,d,o)},le:function(s,c,h,p,d){return a(s,c,h,p,d,n)},eq:function(s,c,h,p,d){return a(s,c,h,p,d,i)}}},8828:function(e,t){\"use strict\";\"use restrict\";var r=32;t.INT_BITS=r,t.INT_MAX=2147483647,t.INT_MIN=-1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},6859:function(e,t,r){e=r.nmd(e),function(o,n){\"use strict\";function i(O,I){if(!O)throw new Error(I||\"Assertion failed\")}function a(O,I){O.super_=I;var N=function(){};N.prototype=I.prototype,O.prototype=new N,O.prototype.constructor=O}function s(O,I,N){if(s.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((I===\"le\"||I===\"be\")&&(N=I,I=10),this._init(O||0,I||10,N||\"be\"))}typeof o==\"object\"?o.exports=s:n.BN=s,s.BN=s,s.wordSize=26;var c;try{typeof window<\"u\"&&typeof window.Buffer<\"u\"?c=window.Buffer:c=r(7790).Buffer}catch{}s.isBN=function(I){return I instanceof s?!0:I!==null&&typeof I==\"object\"&&I.constructor.wordSize===s.wordSize&&Array.isArray(I.words)},s.max=function(I,N){return I.cmp(N)>0?I:N},s.min=function(I,N){return I.cmp(N)<0?I:N},s.prototype._init=function(I,N,U){if(typeof I==\"number\")return this._initNumber(I,N,U);if(typeof I==\"object\")return this._initArray(I,N,U);N===\"hex\"&&(N=16),i(N===(N|0)&&N>=2&&N<=36),I=I.toString().replace(/\\s+/g,\"\");var W=0;I[0]===\"-\"&&(W++,this.negative=1),W=0;W-=3)le=I[W]|I[W-1]<<8|I[W-2]<<16,this.words[Q]|=le<>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);else if(U===\"le\")for(W=0,Q=0;W>>26-se&67108863,se+=24,se>=26&&(se-=26,Q++);return this.strip()};function h(O,I){var N=O.charCodeAt(I);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function p(O,I,N){var U=h(O,N);return N-1>=I&&(U|=h(O,N-1)<<4),U}s.prototype._parseHex=function(I,N,U){this.length=Math.ceil((I.length-N)/6),this.words=new Array(this.length);for(var W=0;W=N;W-=2)se=p(I,N,W)<=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8;else{var fe=I.length-N;for(W=fe%2===0?N+1:N;W=18?(Q-=18,le+=1,this.words[le]|=se>>>26):Q+=8}this.strip()};function d(O,I,N,U){for(var W=0,Q=Math.min(O.length,N),le=I;le=49?W+=se-49+10:se>=17?W+=se-17+10:W+=se}return W}s.prototype._parseBase=function(I,N,U){this.words=[0],this.length=1;for(var W=0,Q=1;Q<=67108863;Q*=N)W++;W--,Q=Q/N|0;for(var le=I.length-U,se=le%W,fe=Math.min(le,le-se)+U,G=0,$=U;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?\"\"};var T=[\"\",\"0\",\"00\",\"000\",\"0000\",\"00000\",\"000000\",\"0000000\",\"00000000\",\"000000000\",\"0000000000\",\"00000000000\",\"000000000000\",\"0000000000000\",\"00000000000000\",\"000000000000000\",\"0000000000000000\",\"00000000000000000\",\"000000000000000000\",\"0000000000000000000\",\"00000000000000000000\",\"000000000000000000000\",\"0000000000000000000000\",\"00000000000000000000000\",\"000000000000000000000000\",\"0000000000000000000000000\"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(I,N){I=I||10,N=N|0||1;var U;if(I===16||I===\"hex\"){U=\"\";for(var W=0,Q=0,le=0;le>>24-W&16777215,Q!==0||le!==this.length-1?U=T[6-fe.length]+fe+U:U=fe+U,W+=2,W>=26&&(W-=26,le--)}for(Q!==0&&(U=Q.toString(16)+U);U.length%N!==0;)U=\"0\"+U;return this.negative!==0&&(U=\"-\"+U),U}if(I===(I|0)&&I>=2&&I<=36){var G=l[I],$=_[I];U=\"\";var J=this.clone();for(J.negative=0;!J.isZero();){var X=J.modn($).toString(I);J=J.idivn($),J.isZero()?U=X+U:U=T[G-X.length]+X+U}for(this.isZero()&&(U=\"0\"+U);U.length%N!==0;)U=\"0\"+U;return this.negative!==0&&(U=\"-\"+U),U}i(!1,\"Base should be between 2 and 36\")},s.prototype.toNumber=function(){var I=this.words[0];return this.length===2?I+=this.words[1]*67108864:this.length===3&&this.words[2]===1?I+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,\"Number can only safely store up to 53 bits\"),this.negative!==0?-I:I},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(I,N){return i(typeof c<\"u\"),this.toArrayLike(c,I,N)},s.prototype.toArray=function(I,N){return this.toArrayLike(Array,I,N)},s.prototype.toArrayLike=function(I,N,U){var W=this.byteLength(),Q=U||Math.max(1,W);i(W<=Q,\"byte array longer than desired length\"),i(Q>0,\"Requested array length <= 0\"),this.strip();var le=N===\"le\",se=new I(Q),fe,G,$=this.clone();if(le){for(G=0;!$.isZero();G++)fe=$.andln(255),$.iushrn(8),se[G]=fe;for(;G=4096&&(U+=13,N>>>=13),N>=64&&(U+=7,N>>>=7),N>=8&&(U+=4,N>>>=4),N>=2&&(U+=2,N>>>=2),U+N},s.prototype._zeroBits=function(I){if(I===0)return 26;var N=I,U=0;return N&8191||(U+=13,N>>>=13),N&127||(U+=7,N>>>=7),N&15||(U+=4,N>>>=4),N&3||(U+=2,N>>>=2),N&1||U++,U},s.prototype.bitLength=function(){var I=this.words[this.length-1],N=this._countBits(I);return(this.length-1)*26+N};function w(O){for(var I=new Array(O.bitLength()),N=0;N>>W}return I}s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var I=0,N=0;NI.length?this.clone().ior(I):I.clone().ior(this)},s.prototype.uor=function(I){return this.length>I.length?this.clone().iuor(I):I.clone().iuor(this)},s.prototype.iuand=function(I){var N;this.length>I.length?N=I:N=this;for(var U=0;UI.length?this.clone().iand(I):I.clone().iand(this)},s.prototype.uand=function(I){return this.length>I.length?this.clone().iuand(I):I.clone().iuand(this)},s.prototype.iuxor=function(I){var N,U;this.length>I.length?(N=this,U=I):(N=I,U=this);for(var W=0;WI.length?this.clone().ixor(I):I.clone().ixor(this)},s.prototype.uxor=function(I){return this.length>I.length?this.clone().iuxor(I):I.clone().iuxor(this)},s.prototype.inotn=function(I){i(typeof I==\"number\"&&I>=0);var N=Math.ceil(I/26)|0,U=I%26;this._expand(N),U>0&&N--;for(var W=0;W0&&(this.words[W]=~this.words[W]&67108863>>26-U),this.strip()},s.prototype.notn=function(I){return this.clone().inotn(I)},s.prototype.setn=function(I,N){i(typeof I==\"number\"&&I>=0);var U=I/26|0,W=I%26;return this._expand(U+1),N?this.words[U]=this.words[U]|1<I.length?(U=this,W=I):(U=I,W=this);for(var Q=0,le=0;le>>26;for(;Q!==0&&le>>26;if(this.length=U.length,Q!==0)this.words[this.length]=Q,this.length++;else if(U!==this)for(;leI.length?this.clone().iadd(I):I.clone().iadd(this)},s.prototype.isub=function(I){if(I.negative!==0){I.negative=0;var N=this.iadd(I);return I.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(I),this.negative=1,this._normSign();var U=this.cmp(I);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,Q;U>0?(W=this,Q=I):(W=I,Q=this);for(var le=0,se=0;se>26,this.words[se]=N&67108863;for(;le!==0&&se>26,this.words[se]=N&67108863;if(le===0&&se>>26,J=fe&67108863,X=Math.min(G,I.length-1),re=Math.max(0,G-O.length+1);re<=X;re++){var ae=G-re|0;W=O.words[ae]|0,Q=I.words[re]|0,le=W*Q+J,$+=le/67108864|0,J=le&67108863}N.words[G]=J|0,fe=$|0}return fe!==0?N.words[G]=fe|0:N.length--,N.strip()}var E=function(I,N,U){var W=I.words,Q=N.words,le=U.words,se=0,fe,G,$,J=W[0]|0,X=J&8191,re=J>>>13,ae=W[1]|0,j=ae&8191,ee=ae>>>13,ie=W[2]|0,ce=ie&8191,xe=ie>>>13,Te=W[3]|0,Ue=Te&8191,Ie=Te>>>13,Ye=W[4]|0,it=Ye&8191,at=Ye>>>13,tt=W[5]|0,ut=tt&8191,Me=tt>>>13,pe=W[6]|0,ue=pe&8191,Oe=pe>>>13,rt=W[7]|0,ot=rt&8191,et=rt>>>13,Lt=W[8]|0,Et=Lt&8191,Bt=Lt>>>13,qt=W[9]|0,fr=qt&8191,ar=qt>>>13,Rr=Q[0]|0,gr=Rr&8191,br=Rr>>>13,_t=Q[1]|0,Be=_t&8191,Ke=_t>>>13,je=Q[2]|0,Se=je&8191,He=je>>>13,Ee=Q[3]|0,we=Ee&8191,Le=Ee>>>13,nt=Q[4]|0,pt=nt&8191,bt=nt>>>13,Rt=Q[5]|0,Nt=Rt&8191,Xt=Rt>>>13,$t=Q[6]|0,ur=$t&8191,pn=$t>>>13,Rn=Q[7]|0,Nn=Rn&8191,On=Rn>>>13,ni=Q[8]|0,zn=ni&8191,Qn=ni>>>13,gi=Q[9]|0,Zt=gi&8191,Ft=gi>>>13;U.negative=I.negative^N.negative,U.length=19,fe=Math.imul(X,gr),G=Math.imul(X,br),G=G+Math.imul(re,gr)|0,$=Math.imul(re,br);var Ht=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,fe=Math.imul(j,gr),G=Math.imul(j,br),G=G+Math.imul(ee,gr)|0,$=Math.imul(ee,br),fe=fe+Math.imul(X,Be)|0,G=G+Math.imul(X,Ke)|0,G=G+Math.imul(re,Be)|0,$=$+Math.imul(re,Ke)|0;var Vt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,fe=Math.imul(ce,gr),G=Math.imul(ce,br),G=G+Math.imul(xe,gr)|0,$=Math.imul(xe,br),fe=fe+Math.imul(j,Be)|0,G=G+Math.imul(j,Ke)|0,G=G+Math.imul(ee,Be)|0,$=$+Math.imul(ee,Ke)|0,fe=fe+Math.imul(X,Se)|0,G=G+Math.imul(X,He)|0,G=G+Math.imul(re,Se)|0,$=$+Math.imul(re,He)|0;var wr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(wr>>>26)|0,wr&=67108863,fe=Math.imul(Ue,gr),G=Math.imul(Ue,br),G=G+Math.imul(Ie,gr)|0,$=Math.imul(Ie,br),fe=fe+Math.imul(ce,Be)|0,G=G+Math.imul(ce,Ke)|0,G=G+Math.imul(xe,Be)|0,$=$+Math.imul(xe,Ke)|0,fe=fe+Math.imul(j,Se)|0,G=G+Math.imul(j,He)|0,G=G+Math.imul(ee,Se)|0,$=$+Math.imul(ee,He)|0,fe=fe+Math.imul(X,we)|0,G=G+Math.imul(X,Le)|0,G=G+Math.imul(re,we)|0,$=$+Math.imul(re,Le)|0;var $r=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+($r>>>26)|0,$r&=67108863,fe=Math.imul(it,gr),G=Math.imul(it,br),G=G+Math.imul(at,gr)|0,$=Math.imul(at,br),fe=fe+Math.imul(Ue,Be)|0,G=G+Math.imul(Ue,Ke)|0,G=G+Math.imul(Ie,Be)|0,$=$+Math.imul(Ie,Ke)|0,fe=fe+Math.imul(ce,Se)|0,G=G+Math.imul(ce,He)|0,G=G+Math.imul(xe,Se)|0,$=$+Math.imul(xe,He)|0,fe=fe+Math.imul(j,we)|0,G=G+Math.imul(j,Le)|0,G=G+Math.imul(ee,we)|0,$=$+Math.imul(ee,Le)|0,fe=fe+Math.imul(X,pt)|0,G=G+Math.imul(X,bt)|0,G=G+Math.imul(re,pt)|0,$=$+Math.imul(re,bt)|0;var xn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(xn>>>26)|0,xn&=67108863,fe=Math.imul(ut,gr),G=Math.imul(ut,br),G=G+Math.imul(Me,gr)|0,$=Math.imul(Me,br),fe=fe+Math.imul(it,Be)|0,G=G+Math.imul(it,Ke)|0,G=G+Math.imul(at,Be)|0,$=$+Math.imul(at,Ke)|0,fe=fe+Math.imul(Ue,Se)|0,G=G+Math.imul(Ue,He)|0,G=G+Math.imul(Ie,Se)|0,$=$+Math.imul(Ie,He)|0,fe=fe+Math.imul(ce,we)|0,G=G+Math.imul(ce,Le)|0,G=G+Math.imul(xe,we)|0,$=$+Math.imul(xe,Le)|0,fe=fe+Math.imul(j,pt)|0,G=G+Math.imul(j,bt)|0,G=G+Math.imul(ee,pt)|0,$=$+Math.imul(ee,bt)|0,fe=fe+Math.imul(X,Nt)|0,G=G+Math.imul(X,Xt)|0,G=G+Math.imul(re,Nt)|0,$=$+Math.imul(re,Xt)|0;var en=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(en>>>26)|0,en&=67108863,fe=Math.imul(ue,gr),G=Math.imul(ue,br),G=G+Math.imul(Oe,gr)|0,$=Math.imul(Oe,br),fe=fe+Math.imul(ut,Be)|0,G=G+Math.imul(ut,Ke)|0,G=G+Math.imul(Me,Be)|0,$=$+Math.imul(Me,Ke)|0,fe=fe+Math.imul(it,Se)|0,G=G+Math.imul(it,He)|0,G=G+Math.imul(at,Se)|0,$=$+Math.imul(at,He)|0,fe=fe+Math.imul(Ue,we)|0,G=G+Math.imul(Ue,Le)|0,G=G+Math.imul(Ie,we)|0,$=$+Math.imul(Ie,Le)|0,fe=fe+Math.imul(ce,pt)|0,G=G+Math.imul(ce,bt)|0,G=G+Math.imul(xe,pt)|0,$=$+Math.imul(xe,bt)|0,fe=fe+Math.imul(j,Nt)|0,G=G+Math.imul(j,Xt)|0,G=G+Math.imul(ee,Nt)|0,$=$+Math.imul(ee,Xt)|0,fe=fe+Math.imul(X,ur)|0,G=G+Math.imul(X,pn)|0,G=G+Math.imul(re,ur)|0,$=$+Math.imul(re,pn)|0;var Fn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,fe=Math.imul(ot,gr),G=Math.imul(ot,br),G=G+Math.imul(et,gr)|0,$=Math.imul(et,br),fe=fe+Math.imul(ue,Be)|0,G=G+Math.imul(ue,Ke)|0,G=G+Math.imul(Oe,Be)|0,$=$+Math.imul(Oe,Ke)|0,fe=fe+Math.imul(ut,Se)|0,G=G+Math.imul(ut,He)|0,G=G+Math.imul(Me,Se)|0,$=$+Math.imul(Me,He)|0,fe=fe+Math.imul(it,we)|0,G=G+Math.imul(it,Le)|0,G=G+Math.imul(at,we)|0,$=$+Math.imul(at,Le)|0,fe=fe+Math.imul(Ue,pt)|0,G=G+Math.imul(Ue,bt)|0,G=G+Math.imul(Ie,pt)|0,$=$+Math.imul(Ie,bt)|0,fe=fe+Math.imul(ce,Nt)|0,G=G+Math.imul(ce,Xt)|0,G=G+Math.imul(xe,Nt)|0,$=$+Math.imul(xe,Xt)|0,fe=fe+Math.imul(j,ur)|0,G=G+Math.imul(j,pn)|0,G=G+Math.imul(ee,ur)|0,$=$+Math.imul(ee,pn)|0,fe=fe+Math.imul(X,Nn)|0,G=G+Math.imul(X,On)|0,G=G+Math.imul(re,Nn)|0,$=$+Math.imul(re,On)|0;var Wn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,fe=Math.imul(Et,gr),G=Math.imul(Et,br),G=G+Math.imul(Bt,gr)|0,$=Math.imul(Bt,br),fe=fe+Math.imul(ot,Be)|0,G=G+Math.imul(ot,Ke)|0,G=G+Math.imul(et,Be)|0,$=$+Math.imul(et,Ke)|0,fe=fe+Math.imul(ue,Se)|0,G=G+Math.imul(ue,He)|0,G=G+Math.imul(Oe,Se)|0,$=$+Math.imul(Oe,He)|0,fe=fe+Math.imul(ut,we)|0,G=G+Math.imul(ut,Le)|0,G=G+Math.imul(Me,we)|0,$=$+Math.imul(Me,Le)|0,fe=fe+Math.imul(it,pt)|0,G=G+Math.imul(it,bt)|0,G=G+Math.imul(at,pt)|0,$=$+Math.imul(at,bt)|0,fe=fe+Math.imul(Ue,Nt)|0,G=G+Math.imul(Ue,Xt)|0,G=G+Math.imul(Ie,Nt)|0,$=$+Math.imul(Ie,Xt)|0,fe=fe+Math.imul(ce,ur)|0,G=G+Math.imul(ce,pn)|0,G=G+Math.imul(xe,ur)|0,$=$+Math.imul(xe,pn)|0,fe=fe+Math.imul(j,Nn)|0,G=G+Math.imul(j,On)|0,G=G+Math.imul(ee,Nn)|0,$=$+Math.imul(ee,On)|0,fe=fe+Math.imul(X,zn)|0,G=G+Math.imul(X,Qn)|0,G=G+Math.imul(re,zn)|0,$=$+Math.imul(re,Qn)|0;var ri=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ri>>>26)|0,ri&=67108863,fe=Math.imul(fr,gr),G=Math.imul(fr,br),G=G+Math.imul(ar,gr)|0,$=Math.imul(ar,br),fe=fe+Math.imul(Et,Be)|0,G=G+Math.imul(Et,Ke)|0,G=G+Math.imul(Bt,Be)|0,$=$+Math.imul(Bt,Ke)|0,fe=fe+Math.imul(ot,Se)|0,G=G+Math.imul(ot,He)|0,G=G+Math.imul(et,Se)|0,$=$+Math.imul(et,He)|0,fe=fe+Math.imul(ue,we)|0,G=G+Math.imul(ue,Le)|0,G=G+Math.imul(Oe,we)|0,$=$+Math.imul(Oe,Le)|0,fe=fe+Math.imul(ut,pt)|0,G=G+Math.imul(ut,bt)|0,G=G+Math.imul(Me,pt)|0,$=$+Math.imul(Me,bt)|0,fe=fe+Math.imul(it,Nt)|0,G=G+Math.imul(it,Xt)|0,G=G+Math.imul(at,Nt)|0,$=$+Math.imul(at,Xt)|0,fe=fe+Math.imul(Ue,ur)|0,G=G+Math.imul(Ue,pn)|0,G=G+Math.imul(Ie,ur)|0,$=$+Math.imul(Ie,pn)|0,fe=fe+Math.imul(ce,Nn)|0,G=G+Math.imul(ce,On)|0,G=G+Math.imul(xe,Nn)|0,$=$+Math.imul(xe,On)|0,fe=fe+Math.imul(j,zn)|0,G=G+Math.imul(j,Qn)|0,G=G+Math.imul(ee,zn)|0,$=$+Math.imul(ee,Qn)|0,fe=fe+Math.imul(X,Zt)|0,G=G+Math.imul(X,Ft)|0,G=G+Math.imul(re,Zt)|0,$=$+Math.imul(re,Ft)|0;var Sn=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,fe=Math.imul(fr,Be),G=Math.imul(fr,Ke),G=G+Math.imul(ar,Be)|0,$=Math.imul(ar,Ke),fe=fe+Math.imul(Et,Se)|0,G=G+Math.imul(Et,He)|0,G=G+Math.imul(Bt,Se)|0,$=$+Math.imul(Bt,He)|0,fe=fe+Math.imul(ot,we)|0,G=G+Math.imul(ot,Le)|0,G=G+Math.imul(et,we)|0,$=$+Math.imul(et,Le)|0,fe=fe+Math.imul(ue,pt)|0,G=G+Math.imul(ue,bt)|0,G=G+Math.imul(Oe,pt)|0,$=$+Math.imul(Oe,bt)|0,fe=fe+Math.imul(ut,Nt)|0,G=G+Math.imul(ut,Xt)|0,G=G+Math.imul(Me,Nt)|0,$=$+Math.imul(Me,Xt)|0,fe=fe+Math.imul(it,ur)|0,G=G+Math.imul(it,pn)|0,G=G+Math.imul(at,ur)|0,$=$+Math.imul(at,pn)|0,fe=fe+Math.imul(Ue,Nn)|0,G=G+Math.imul(Ue,On)|0,G=G+Math.imul(Ie,Nn)|0,$=$+Math.imul(Ie,On)|0,fe=fe+Math.imul(ce,zn)|0,G=G+Math.imul(ce,Qn)|0,G=G+Math.imul(xe,zn)|0,$=$+Math.imul(xe,Qn)|0,fe=fe+Math.imul(j,Zt)|0,G=G+Math.imul(j,Ft)|0,G=G+Math.imul(ee,Zt)|0,$=$+Math.imul(ee,Ft)|0;var ui=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(ui>>>26)|0,ui&=67108863,fe=Math.imul(fr,Se),G=Math.imul(fr,He),G=G+Math.imul(ar,Se)|0,$=Math.imul(ar,He),fe=fe+Math.imul(Et,we)|0,G=G+Math.imul(Et,Le)|0,G=G+Math.imul(Bt,we)|0,$=$+Math.imul(Bt,Le)|0,fe=fe+Math.imul(ot,pt)|0,G=G+Math.imul(ot,bt)|0,G=G+Math.imul(et,pt)|0,$=$+Math.imul(et,bt)|0,fe=fe+Math.imul(ue,Nt)|0,G=G+Math.imul(ue,Xt)|0,G=G+Math.imul(Oe,Nt)|0,$=$+Math.imul(Oe,Xt)|0,fe=fe+Math.imul(ut,ur)|0,G=G+Math.imul(ut,pn)|0,G=G+Math.imul(Me,ur)|0,$=$+Math.imul(Me,pn)|0,fe=fe+Math.imul(it,Nn)|0,G=G+Math.imul(it,On)|0,G=G+Math.imul(at,Nn)|0,$=$+Math.imul(at,On)|0,fe=fe+Math.imul(Ue,zn)|0,G=G+Math.imul(Ue,Qn)|0,G=G+Math.imul(Ie,zn)|0,$=$+Math.imul(Ie,Qn)|0,fe=fe+Math.imul(ce,Zt)|0,G=G+Math.imul(ce,Ft)|0,G=G+Math.imul(xe,Zt)|0,$=$+Math.imul(xe,Ft)|0;var gt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(gt>>>26)|0,gt&=67108863,fe=Math.imul(fr,we),G=Math.imul(fr,Le),G=G+Math.imul(ar,we)|0,$=Math.imul(ar,Le),fe=fe+Math.imul(Et,pt)|0,G=G+Math.imul(Et,bt)|0,G=G+Math.imul(Bt,pt)|0,$=$+Math.imul(Bt,bt)|0,fe=fe+Math.imul(ot,Nt)|0,G=G+Math.imul(ot,Xt)|0,G=G+Math.imul(et,Nt)|0,$=$+Math.imul(et,Xt)|0,fe=fe+Math.imul(ue,ur)|0,G=G+Math.imul(ue,pn)|0,G=G+Math.imul(Oe,ur)|0,$=$+Math.imul(Oe,pn)|0,fe=fe+Math.imul(ut,Nn)|0,G=G+Math.imul(ut,On)|0,G=G+Math.imul(Me,Nn)|0,$=$+Math.imul(Me,On)|0,fe=fe+Math.imul(it,zn)|0,G=G+Math.imul(it,Qn)|0,G=G+Math.imul(at,zn)|0,$=$+Math.imul(at,Qn)|0,fe=fe+Math.imul(Ue,Zt)|0,G=G+Math.imul(Ue,Ft)|0,G=G+Math.imul(Ie,Zt)|0,$=$+Math.imul(Ie,Ft)|0;var yt=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(yt>>>26)|0,yt&=67108863,fe=Math.imul(fr,pt),G=Math.imul(fr,bt),G=G+Math.imul(ar,pt)|0,$=Math.imul(ar,bt),fe=fe+Math.imul(Et,Nt)|0,G=G+Math.imul(Et,Xt)|0,G=G+Math.imul(Bt,Nt)|0,$=$+Math.imul(Bt,Xt)|0,fe=fe+Math.imul(ot,ur)|0,G=G+Math.imul(ot,pn)|0,G=G+Math.imul(et,ur)|0,$=$+Math.imul(et,pn)|0,fe=fe+Math.imul(ue,Nn)|0,G=G+Math.imul(ue,On)|0,G=G+Math.imul(Oe,Nn)|0,$=$+Math.imul(Oe,On)|0,fe=fe+Math.imul(ut,zn)|0,G=G+Math.imul(ut,Qn)|0,G=G+Math.imul(Me,zn)|0,$=$+Math.imul(Me,Qn)|0,fe=fe+Math.imul(it,Zt)|0,G=G+Math.imul(it,Ft)|0,G=G+Math.imul(at,Zt)|0,$=$+Math.imul(at,Ft)|0;var Pr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,fe=Math.imul(fr,Nt),G=Math.imul(fr,Xt),G=G+Math.imul(ar,Nt)|0,$=Math.imul(ar,Xt),fe=fe+Math.imul(Et,ur)|0,G=G+Math.imul(Et,pn)|0,G=G+Math.imul(Bt,ur)|0,$=$+Math.imul(Bt,pn)|0,fe=fe+Math.imul(ot,Nn)|0,G=G+Math.imul(ot,On)|0,G=G+Math.imul(et,Nn)|0,$=$+Math.imul(et,On)|0,fe=fe+Math.imul(ue,zn)|0,G=G+Math.imul(ue,Qn)|0,G=G+Math.imul(Oe,zn)|0,$=$+Math.imul(Oe,Qn)|0,fe=fe+Math.imul(ut,Zt)|0,G=G+Math.imul(ut,Ft)|0,G=G+Math.imul(Me,Zt)|0,$=$+Math.imul(Me,Ft)|0;var Ir=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,fe=Math.imul(fr,ur),G=Math.imul(fr,pn),G=G+Math.imul(ar,ur)|0,$=Math.imul(ar,pn),fe=fe+Math.imul(Et,Nn)|0,G=G+Math.imul(Et,On)|0,G=G+Math.imul(Bt,Nn)|0,$=$+Math.imul(Bt,On)|0,fe=fe+Math.imul(ot,zn)|0,G=G+Math.imul(ot,Qn)|0,G=G+Math.imul(et,zn)|0,$=$+Math.imul(et,Qn)|0,fe=fe+Math.imul(ue,Zt)|0,G=G+Math.imul(ue,Ft)|0,G=G+Math.imul(Oe,Zt)|0,$=$+Math.imul(Oe,Ft)|0;var Tr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,fe=Math.imul(fr,Nn),G=Math.imul(fr,On),G=G+Math.imul(ar,Nn)|0,$=Math.imul(ar,On),fe=fe+Math.imul(Et,zn)|0,G=G+Math.imul(Et,Qn)|0,G=G+Math.imul(Bt,zn)|0,$=$+Math.imul(Bt,Qn)|0,fe=fe+Math.imul(ot,Zt)|0,G=G+Math.imul(ot,Ft)|0,G=G+Math.imul(et,Zt)|0,$=$+Math.imul(et,Ft)|0;var Mr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,fe=Math.imul(fr,zn),G=Math.imul(fr,Qn),G=G+Math.imul(ar,zn)|0,$=Math.imul(ar,Qn),fe=fe+Math.imul(Et,Zt)|0,G=G+Math.imul(Et,Ft)|0,G=G+Math.imul(Bt,Zt)|0,$=$+Math.imul(Bt,Ft)|0;var Lr=(se+fe|0)+((G&8191)<<13)|0;se=($+(G>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,fe=Math.imul(fr,Zt),G=Math.imul(fr,Ft),G=G+Math.imul(ar,Zt)|0,$=Math.imul(ar,Ft);var Ur=(se+fe|0)+((G&8191)<<13)|0;return se=($+(G>>>13)|0)+(Ur>>>26)|0,Ur&=67108863,le[0]=Ht,le[1]=Vt,le[2]=wr,le[3]=$r,le[4]=xn,le[5]=en,le[6]=Fn,le[7]=Wn,le[8]=ri,le[9]=Sn,le[10]=ui,le[11]=gt,le[12]=yt,le[13]=Pr,le[14]=Ir,le[15]=Tr,le[16]=Mr,le[17]=Lr,le[18]=Ur,se!==0&&(le[19]=se,U.length++),U};Math.imul||(E=M);function m(O,I,N){N.negative=I.negative^O.negative,N.length=O.length+I.length;for(var U=0,W=0,Q=0;Q>>26)|0,W+=le>>>26,le&=67108863}N.words[Q]=se,U=le,le=W}return U!==0?N.words[Q]=U:N.length--,N.strip()}function b(O,I,N){var U=new v;return U.mulp(O,I,N)}s.prototype.mulTo=function(I,N){var U,W=this.length+I.length;return this.length===10&&I.length===10?U=E(this,I,N):W<63?U=M(this,I,N):W<1024?U=m(this,I,N):U=b(this,I,N),U};function v(O,I){this.x=O,this.y=I}v.prototype.makeRBT=function(I){for(var N=new Array(I),U=s.prototype._countBits(I)-1,W=0;W>=1;return W},v.prototype.permute=function(I,N,U,W,Q,le){for(var se=0;se>>1)Q++;return 1<>>13,U[2*le+1]=Q&8191,Q=Q>>>13;for(le=2*N;le>=26,N+=W/67108864|0,N+=Q>>>26,this.words[U]=Q&67108863}return N!==0&&(this.words[U]=N,this.length++),this},s.prototype.muln=function(I){return this.clone().imuln(I)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(I){var N=w(I);if(N.length===0)return new s(1);for(var U=this,W=0;W=0);var N=I%26,U=(I-N)/26,W=67108863>>>26-N<<26-N,Q;if(N!==0){var le=0;for(Q=0;Q>>26-N}le&&(this.words[Q]=le,this.length++)}if(U!==0){for(Q=this.length-1;Q>=0;Q--)this.words[Q+U]=this.words[Q];for(Q=0;Q=0);var W;N?W=(N-N%26)/26:W=0;var Q=I%26,le=Math.min((I-Q)/26,this.length),se=67108863^67108863>>>Q<le)for(this.length-=le,G=0;G=0&&($!==0||G>=W);G--){var J=this.words[G]|0;this.words[G]=$<<26-Q|J>>>Q,$=J&se}return fe&&$!==0&&(fe.words[fe.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(I,N,U){return i(this.negative===0),this.iushrn(I,N,U)},s.prototype.shln=function(I){return this.clone().ishln(I)},s.prototype.ushln=function(I){return this.clone().iushln(I)},s.prototype.shrn=function(I){return this.clone().ishrn(I)},s.prototype.ushrn=function(I){return this.clone().iushrn(I)},s.prototype.testn=function(I){i(typeof I==\"number\"&&I>=0);var N=I%26,U=(I-N)/26,W=1<=0);var N=I%26,U=(I-N)/26;if(i(this.negative===0,\"imaskn works only with positive numbers\"),this.length<=U)return this;if(N!==0&&U++,this.length=Math.min(U,this.length),N!==0){var W=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},s.prototype.isubn=function(I){if(i(typeof I==\"number\"),i(I<67108864),I<0)return this.iaddn(-I);if(this.negative!==0)return this.negative=0,this.iaddn(I),this.negative=1,this;if(this.words[0]-=I,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(fe/67108864|0),this.words[Q+U]=le&67108863}for(;Q>26,this.words[Q+U]=le&67108863;if(se===0)return this.strip();for(i(se===-1),se=0,Q=0;Q>26,this.words[Q]=le&67108863;return this.negative=1,this.strip()},s.prototype._wordDiv=function(I,N){var U=this.length-I.length,W=this.clone(),Q=I,le=Q.words[Q.length-1]|0,se=this._countBits(le);U=26-se,U!==0&&(Q=Q.ushln(U),W.iushln(U),le=Q.words[Q.length-1]|0);var fe=W.length-Q.length,G;if(N!==\"mod\"){G=new s(null),G.length=fe+1,G.words=new Array(G.length);for(var $=0;$=0;X--){var re=(W.words[Q.length+X]|0)*67108864+(W.words[Q.length+X-1]|0);for(re=Math.min(re/le|0,67108863),W._ishlnsubmul(Q,re,X);W.negative!==0;)re--,W.negative=0,W._ishlnsubmul(Q,1,X),W.isZero()||(W.negative^=1);G&&(G.words[X]=re)}return G&&G.strip(),W.strip(),N!==\"div\"&&U!==0&&W.iushrn(U),{div:G||null,mod:W}},s.prototype.divmod=function(I,N,U){if(i(!I.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var W,Q,le;return this.negative!==0&&I.negative===0?(le=this.neg().divmod(I,N),N!==\"mod\"&&(W=le.div.neg()),N!==\"div\"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.iadd(I)),{div:W,mod:Q}):this.negative===0&&I.negative!==0?(le=this.divmod(I.neg(),N),N!==\"mod\"&&(W=le.div.neg()),{div:W,mod:le.mod}):this.negative&I.negative?(le=this.neg().divmod(I.neg(),N),N!==\"div\"&&(Q=le.mod.neg(),U&&Q.negative!==0&&Q.isub(I)),{div:le.div,mod:Q}):I.length>this.length||this.cmp(I)<0?{div:new s(0),mod:this}:I.length===1?N===\"div\"?{div:this.divn(I.words[0]),mod:null}:N===\"mod\"?{div:null,mod:new s(this.modn(I.words[0]))}:{div:this.divn(I.words[0]),mod:new s(this.modn(I.words[0]))}:this._wordDiv(I,N)},s.prototype.div=function(I){return this.divmod(I,\"div\",!1).div},s.prototype.mod=function(I){return this.divmod(I,\"mod\",!1).mod},s.prototype.umod=function(I){return this.divmod(I,\"mod\",!0).mod},s.prototype.divRound=function(I){var N=this.divmod(I);if(N.mod.isZero())return N.div;var U=N.div.negative!==0?N.mod.isub(I):N.mod,W=I.ushrn(1),Q=I.andln(1),le=U.cmp(W);return le<0||Q===1&&le===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},s.prototype.modn=function(I){i(I<=67108863);for(var N=(1<<26)%I,U=0,W=this.length-1;W>=0;W--)U=(N*U+(this.words[W]|0))%I;return U},s.prototype.idivn=function(I){i(I<=67108863);for(var N=0,U=this.length-1;U>=0;U--){var W=(this.words[U]|0)+N*67108864;this.words[U]=W/I|0,N=W%I}return this.strip()},s.prototype.divn=function(I){return this.clone().idivn(I)},s.prototype.egcd=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=new s(0),se=new s(1),fe=0;N.isEven()&&U.isEven();)N.iushrn(1),U.iushrn(1),++fe;for(var G=U.clone(),$=N.clone();!N.isZero();){for(var J=0,X=1;!(N.words[0]&X)&&J<26;++J,X<<=1);if(J>0)for(N.iushrn(J);J-- >0;)(W.isOdd()||Q.isOdd())&&(W.iadd(G),Q.isub($)),W.iushrn(1),Q.iushrn(1);for(var re=0,ae=1;!(U.words[0]&ae)&&re<26;++re,ae<<=1);if(re>0)for(U.iushrn(re);re-- >0;)(le.isOdd()||se.isOdd())&&(le.iadd(G),se.isub($)),le.iushrn(1),se.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(le),Q.isub(se)):(U.isub(N),le.isub(W),se.isub(Q))}return{a:le,b:se,gcd:U.iushln(fe)}},s.prototype._invmp=function(I){i(I.negative===0),i(!I.isZero());var N=this,U=I.clone();N.negative!==0?N=N.umod(I):N=N.clone();for(var W=new s(1),Q=new s(0),le=U.clone();N.cmpn(1)>0&&U.cmpn(1)>0;){for(var se=0,fe=1;!(N.words[0]&fe)&&se<26;++se,fe<<=1);if(se>0)for(N.iushrn(se);se-- >0;)W.isOdd()&&W.iadd(le),W.iushrn(1);for(var G=0,$=1;!(U.words[0]&$)&&G<26;++G,$<<=1);if(G>0)for(U.iushrn(G);G-- >0;)Q.isOdd()&&Q.iadd(le),Q.iushrn(1);N.cmp(U)>=0?(N.isub(U),W.isub(Q)):(U.isub(N),Q.isub(W))}var J;return N.cmpn(1)===0?J=W:J=Q,J.cmpn(0)<0&&J.iadd(I),J},s.prototype.gcd=function(I){if(this.isZero())return I.abs();if(I.isZero())return this.abs();var N=this.clone(),U=I.clone();N.negative=0,U.negative=0;for(var W=0;N.isEven()&&U.isEven();W++)N.iushrn(1),U.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;U.isEven();)U.iushrn(1);var Q=N.cmp(U);if(Q<0){var le=N;N=U,U=le}else if(Q===0||U.cmpn(1)===0)break;N.isub(U)}while(!0);return U.iushln(W)},s.prototype.invm=function(I){return this.egcd(I).a.umod(I)},s.prototype.isEven=function(){return(this.words[0]&1)===0},s.prototype.isOdd=function(){return(this.words[0]&1)===1},s.prototype.andln=function(I){return this.words[0]&I},s.prototype.bincn=function(I){i(typeof I==\"number\");var N=I%26,U=(I-N)/26,W=1<>>26,se&=67108863,this.words[le]=se}return Q!==0&&(this.words[le]=Q,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(I){var N=I<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var U;if(this.length>1)U=1;else{N&&(I=-I),i(I<=67108863,\"Number is too big\");var W=this.words[0]|0;U=W===I?0:WI.length)return 1;if(this.length=0;U--){var W=this.words[U]|0,Q=I.words[U]|0;if(W!==Q){WQ&&(N=1);break}}return N},s.prototype.gtn=function(I){return this.cmpn(I)===1},s.prototype.gt=function(I){return this.cmp(I)===1},s.prototype.gten=function(I){return this.cmpn(I)>=0},s.prototype.gte=function(I){return this.cmp(I)>=0},s.prototype.ltn=function(I){return this.cmpn(I)===-1},s.prototype.lt=function(I){return this.cmp(I)===-1},s.prototype.lten=function(I){return this.cmpn(I)<=0},s.prototype.lte=function(I){return this.cmp(I)<=0},s.prototype.eqn=function(I){return this.cmpn(I)===0},s.prototype.eq=function(I){return this.cmp(I)===0},s.red=function(I){return new F(I)},s.prototype.toRed=function(I){return i(!this.red,\"Already a number in reduction context\"),i(this.negative===0,\"red works only with positives\"),I.convertTo(this)._forceRed(I)},s.prototype.fromRed=function(){return i(this.red,\"fromRed works only with numbers in reduction context\"),this.red.convertFrom(this)},s.prototype._forceRed=function(I){return this.red=I,this},s.prototype.forceRed=function(I){return i(!this.red,\"Already a number in reduction context\"),this._forceRed(I)},s.prototype.redAdd=function(I){return i(this.red,\"redAdd works only with red numbers\"),this.red.add(this,I)},s.prototype.redIAdd=function(I){return i(this.red,\"redIAdd works only with red numbers\"),this.red.iadd(this,I)},s.prototype.redSub=function(I){return i(this.red,\"redSub works only with red numbers\"),this.red.sub(this,I)},s.prototype.redISub=function(I){return i(this.red,\"redISub works only with red numbers\"),this.red.isub(this,I)},s.prototype.redShl=function(I){return i(this.red,\"redShl works only with red numbers\"),this.red.shl(this,I)},s.prototype.redMul=function(I){return i(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,I),this.red.mul(this,I)},s.prototype.redIMul=function(I){return i(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,I),this.red.imul(this,I)},s.prototype.redSqr=function(){return i(this.red,\"redSqr works only with red numbers\"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,\"redISqr works only with red numbers\"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,\"redSqrt works only with red numbers\"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,\"redInvm works only with red numbers\"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,\"redNeg works only with red numbers\"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(I){return i(this.red&&!I.red,\"redPow(normalNum)\"),this.red._verify1(this),this.red.pow(this,I)};var u={k256:null,p224:null,p192:null,p25519:null};function y(O,I){this.name=O,this.p=new s(I,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}y.prototype._tmp=function(){var I=new s(null);return I.words=new Array(Math.ceil(this.n/13)),I},y.prototype.ireduce=function(I){var N=I,U;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),U=N.bitLength();while(U>this.n);var W=U0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},y.prototype.split=function(I,N){I.iushrn(this.n,0,N)},y.prototype.imulK=function(I){return I.imul(this.k)};function f(){y.call(this,\"k256\",\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\")}a(f,y),f.prototype.split=function(I,N){for(var U=4194303,W=Math.min(I.length,9),Q=0;Q>>22,le=se}le>>>=22,I.words[Q-10]=le,le===0&&I.length>10?I.length-=10:I.length-=9},f.prototype.imulK=function(I){I.words[I.length]=0,I.words[I.length+1]=0,I.length+=2;for(var N=0,U=0;U>>=26,I.words[U]=Q,N=W}return N!==0&&(I.words[I.length++]=N),I},s._prime=function(I){if(u[I])return u[I];var N;if(I===\"k256\")N=new f;else if(I===\"p224\")N=new P;else if(I===\"p192\")N=new L;else if(I===\"p25519\")N=new z;else throw new Error(\"Unknown prime \"+I);return u[I]=N,N};function F(O){if(typeof O==\"string\"){var I=s._prime(O);this.m=I.p,this.prime=I}else i(O.gtn(1),\"modulus must be greater than 1\"),this.m=O,this.prime=null}F.prototype._verify1=function(I){i(I.negative===0,\"red works only with positives\"),i(I.red,\"red works only with red numbers\")},F.prototype._verify2=function(I,N){i((I.negative|N.negative)===0,\"red works only with positives\"),i(I.red&&I.red===N.red,\"red works only with red numbers\")},F.prototype.imod=function(I){return this.prime?this.prime.ireduce(I)._forceRed(this):I.umod(this.m)._forceRed(this)},F.prototype.neg=function(I){return I.isZero()?I.clone():this.m.sub(I)._forceRed(this)},F.prototype.add=function(I,N){this._verify2(I,N);var U=I.add(N);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},F.prototype.iadd=function(I,N){this._verify2(I,N);var U=I.iadd(N);return U.cmp(this.m)>=0&&U.isub(this.m),U},F.prototype.sub=function(I,N){this._verify2(I,N);var U=I.sub(N);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},F.prototype.isub=function(I,N){this._verify2(I,N);var U=I.isub(N);return U.cmpn(0)<0&&U.iadd(this.m),U},F.prototype.shl=function(I,N){return this._verify1(I),this.imod(I.ushln(N))},F.prototype.imul=function(I,N){return this._verify2(I,N),this.imod(I.imul(N))},F.prototype.mul=function(I,N){return this._verify2(I,N),this.imod(I.mul(N))},F.prototype.isqr=function(I){return this.imul(I,I.clone())},F.prototype.sqr=function(I){return this.mul(I,I)},F.prototype.sqrt=function(I){if(I.isZero())return I.clone();var N=this.m.andln(3);if(i(N%2===1),N===3){var U=this.m.add(new s(1)).iushrn(2);return this.pow(I,U)}for(var W=this.m.subn(1),Q=0;!W.isZero()&&W.andln(1)===0;)Q++,W.iushrn(1);i(!W.isZero());var le=new s(1).toRed(this),se=le.redNeg(),fe=this.m.subn(1).iushrn(1),G=this.m.bitLength();for(G=new s(2*G*G).toRed(this);this.pow(G,fe).cmp(se)!==0;)G.redIAdd(se);for(var $=this.pow(G,W),J=this.pow(I,W.addn(1).iushrn(1)),X=this.pow(I,W),re=Q;X.cmp(le)!==0;){for(var ae=X,j=0;ae.cmp(le)!==0;j++)ae=ae.redSqr();i(j=0;Q--){for(var $=N.words[Q],J=G-1;J>=0;J--){var X=$>>J&1;if(le!==W[0]&&(le=this.sqr(le)),X===0&&se===0){fe=0;continue}se<<=1,se|=X,fe++,!(fe!==U&&(Q!==0||J!==0))&&(le=this.mul(le,W[se]),fe=0,se=0)}G=26}return le},F.prototype.convertTo=function(I){var N=I.umod(this.m);return N===I?N.clone():N},F.prototype.convertFrom=function(I){var N=I.clone();return N.red=null,N},s.mont=function(I){return new B(I)};function B(O){F.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(B,F),B.prototype.convertTo=function(I){return this.imod(I.ushln(this.shift))},B.prototype.convertFrom=function(I){var N=this.imod(I.mul(this.rinv));return N.red=null,N},B.prototype.imul=function(I,N){if(I.isZero()||N.isZero())return I.words[0]=0,I.length=1,I;var U=I.imul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.mul=function(I,N){if(I.isZero()||N.isZero())return new s(0)._forceRed(this);var U=I.mul(N),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=U.isub(W).iushrn(this.shift),le=Q;return Q.cmp(this.m)>=0?le=Q.isub(this.m):Q.cmpn(0)<0&&(le=Q.iadd(this.m)),le._forceRed(this)},B.prototype.invm=function(I){var N=this.imod(I._invmp(this.m).mul(this.r2));return N._forceRed(this)}}(e,this)},6204:function(e){\"use strict\";e.exports=t;function t(r){var o,n,i,a=r.length,s=0;for(o=0;o>>1;if(!(v<=0)){var u,y=o.mallocDouble(2*v*m),f=o.mallocInt32(m);if(m=s(_,v,y,f),m>0){if(v===1&&E)n.init(m),u=n.sweepComplete(v,M,0,m,y,f,0,m,y,f);else{var P=o.mallocDouble(2*v*b),L=o.mallocInt32(b);b=s(w,v,P,L),b>0&&(n.init(m+b),v===1?u=n.sweepBipartite(v,M,0,m,y,f,0,b,P,L):u=i(v,M,E,m,y,f,b,P,L),o.free(P),o.free(L))}o.free(y),o.free(f)}return u}}}var h;function p(_,w){h.push([_,w])}function d(_){return h=[],c(_,_,p,!0),h}function T(_,w){return h=[],c(_,w,p,!1),h}function l(_,w,M){switch(arguments.length){case 1:return d(_);case 2:return typeof w==\"function\"?c(_,_,w,!0):T(_,w);case 3:return c(_,w,M,!1);default:throw new Error(\"box-intersect: Invalid arguments\")}}},2455:function(e,t){\"use strict\";function r(){function i(c,h,p,d,T,l,_,w,M,E,m){for(var b=2*c,v=d,u=b*d;vM-w?i(c,h,p,d,T,l,_,w,M,E,m):a(c,h,p,d,T,l,_,w,M,E,m)}return s}function o(){function i(p,d,T,l,_,w,M,E,m,b,v){for(var u=2*p,y=l,f=u*l;y<_;++y,f+=u){var P=w[d+f],L=w[d+f+p],z=M[y];e:for(var F=E,B=u*E;Fb-m?l?i(p,d,T,_,w,M,E,m,b,v,u):a(p,d,T,_,w,M,E,m,b,v,u):l?s(p,d,T,_,w,M,E,m,b,v,u):c(p,d,T,_,w,M,E,m,b,v,u)}return h}function n(i){return i?r():o()}t.partial=n(!1),t.full=n(!0)},7150:function(e,t,r){\"use strict\";e.exports=O;var o=r(1888),n=r(8828),i=r(2455),a=i.partial,s=i.full,c=r(855),h=r(3545),p=r(8105),d=128,T=1<<22,l=1<<22,_=p(\"!(lo>=p0)&&!(p1>=hi)\"),w=p(\"lo===p0\"),M=p(\"lo0;){$-=1;var re=$*v,ae=f[re],j=f[re+1],ee=f[re+2],ie=f[re+3],ce=f[re+4],xe=f[re+5],Te=$*u,Ue=P[Te],Ie=P[Te+1],Ye=xe&1,it=!!(xe&16),at=Q,tt=le,ut=fe,Me=G;if(Ye&&(at=fe,tt=G,ut=Q,Me=le),!(xe&2&&(ee=M(I,ae,j,ee,at,tt,Ie),j>=ee))&&!(xe&4&&(j=E(I,ae,j,ee,at,tt,Ue),j>=ee))){var pe=ee-j,ue=ce-ie;if(it){if(I*pe*(pe+ue)p&&T[b+h]>E;--m,b-=_){for(var v=b,u=b+_,y=0;y<_;++y,++v,++u){var f=T[v];T[v]=T[u],T[u]=f}var P=l[m];l[m]=l[m-1],l[m-1]=P}}function s(c,h,p,d,T,l){if(d<=p+1)return p;for(var _=p,w=d,M=d+p>>>1,E=2*c,m=M,b=T[E*M+h];_=P?(m=f,b=P):y>=z?(m=u,b=y):(m=L,b=z):P>=z?(m=f,b=P):z>=y?(m=u,b=y):(m=L,b=z);for(var O=E*(w-1),I=E*m,F=0;F=p0)&&!(p1>=hi)\":h};function r(p){return t[p]}function o(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(P===M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function n(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u];if(PL;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function i(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function a(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+y];if(P<=M)if(v===f)v+=1,b+=E;else{for(var L=0;E>L;++L){var z=_[m+L];_[m+L]=_[b],_[b++]=z}var F=w[f];w[f]=w[v],w[v++]=F}}return v}function s(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(P<=M&&M<=L)if(v===f)v+=1,b+=E;else{for(var z=0;E>z;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function c(p,d,T,l,_,w,M){for(var E=2*p,m=E*T,b=m,v=T,u=d,y=p+d,f=T;l>f;++f,m+=E){var P=_[m+u],L=_[m+y];if(Pz;++z){var F=_[m+z];_[m+z]=_[b],_[b++]=F}var B=w[f];w[f]=w[v],w[v++]=B}}return v}function h(p,d,T,l,_,w,M,E){for(var m=2*p,b=m*T,v=b,u=T,y=d,f=p+d,P=T;l>P;++P,b+=m){var L=_[b+y],z=_[b+f];if(!(L>=M)&&!(E>=z))if(u===P)u+=1,v+=m;else{for(var F=0;m>F;++F){var B=_[b+F];_[b+F]=_[v],_[v++]=B}var O=w[P];w[P]=w[u],w[u++]=O}}return u}},4192:function(e){\"use strict\";e.exports=r;var t=32;function r(d,T){T<=4*t?o(0,T-1,d):p(0,T-1,d)}function o(d,T,l){for(var _=2*(d+1),w=d+1;w<=T;++w){for(var M=l[_++],E=l[_++],m=w,b=_-2;m-- >d;){var v=l[b-2],u=l[b-1];if(vl[T+1]:!0}function h(d,T,l,_){d*=2;var w=_[d];return w>1,m=E-_,b=E+_,v=w,u=m,y=E,f=b,P=M,L=d+1,z=T-1,F=0;c(v,u,l)&&(F=v,v=u,u=F),c(f,P,l)&&(F=f,f=P,P=F),c(v,y,l)&&(F=v,v=y,y=F),c(u,y,l)&&(F=u,u=y,y=F),c(v,f,l)&&(F=v,v=f,f=F),c(y,f,l)&&(F=y,y=f,f=F),c(u,P,l)&&(F=u,u=P,P=F),c(u,y,l)&&(F=u,u=y,y=F),c(f,P,l)&&(F=f,f=P,P=F);for(var B=l[2*u],O=l[2*u+1],I=l[2*f],N=l[2*f+1],U=2*v,W=2*y,Q=2*P,le=2*w,se=2*E,fe=2*M,G=0;G<2;++G){var $=l[U+G],J=l[W+G],X=l[Q+G];l[le+G]=$,l[se+G]=J,l[fe+G]=X}i(m,d,l),i(b,T,l);for(var re=L;re<=z;++re)if(h(re,B,O,l))re!==L&&n(re,L,l),++L;else if(!h(re,I,N,l))for(;;)if(h(z,I,N,l)){h(z,B,O,l)?(a(re,L,z,l),++L,--z):(n(re,z,l),--z);break}else{if(--z>>1;i(_,J);for(var X=0,re=0,se=0;se=a)ae=ae-a|0,M(p,d,re--,ae);else if(ae>=0)M(c,h,X--,ae);else if(ae<=-a){ae=-ae-a|0;for(var j=0;j>>1;i(_,J);for(var X=0,re=0,ae=0,se=0;se>1===_[2*se+3]>>1&&(ee=2,se+=1),j<0){for(var ie=-(j>>1)-1,ce=0;ce>1)-1;ee===0?M(c,h,X--,ie):ee===1?M(p,d,re--,ie):ee===2&&M(T,l,ae--,ie)}}}function v(y,f,P,L,z,F,B,O,I,N,U,W){var Q=0,le=2*y,se=f,fe=f+y,G=1,$=1;L?$=a:G=a;for(var J=z;J>>1;i(_,j);for(var ee=0,J=0;J=a?(ce=!L,X-=a):(ce=!!L,X-=1),ce)E(c,h,ee++,X);else{var xe=W[X],Te=le*X,Ue=U[Te+f+1],Ie=U[Te+f+1+y];e:for(var Ye=0;Ye>>1;i(_,X);for(var re=0,fe=0;fe=a)c[re++]=G-a;else{G-=1;var j=U[G],ee=Q*G,ie=N[ee+f+1],ce=N[ee+f+1+y];e:for(var xe=0;xe=0;--xe)if(c[xe]===G){for(var Ye=xe+1;Ye0;){for(var w=h.pop(),T=h.pop(),M=-1,E=-1,l=d[T],b=1;b=0||(c.flip(T,w),i(s,c,h,M,T,E),i(s,c,h,T,E,M),i(s,c,h,E,w,M),i(s,c,h,w,M,E))}}},5023:function(e,t,r){\"use strict\";var o=r(2478);e.exports=h;function n(p,d,T,l,_,w,M){this.cells=p,this.neighbor=d,this.flags=l,this.constraint=T,this.active=_,this.next=w,this.boundary=M}var i=n.prototype;function a(p,d){return p[0]-d[0]||p[1]-d[1]||p[2]-d[2]}i.locate=function(){var p=[0,0,0];return function(d,T,l){var _=d,w=T,M=l;return T0||M.length>0;){for(;w.length>0;){var u=w.pop();if(E[u]!==-_){E[u]=_;for(var y=m[u],f=0;f<3;++f){var P=v[3*u+f];P>=0&&E[P]===0&&(b[3*u+f]?M.push(P):(w.push(P),E[P]=_))}}}var L=M;M=w,w=L,M.length=0,_=-_}var z=c(m,E,d);return T?z.concat(l.boundary):z}},8902:function(e,t,r){\"use strict\";var o=r(2478),n=r(3250)[3],i=0,a=1,s=2;e.exports=M;function c(E,m,b,v,u){this.a=E,this.b=m,this.idx=b,this.lowerIds=v,this.upperIds=u}function h(E,m,b,v){this.a=E,this.b=m,this.type=b,this.idx=v}function p(E,m){var b=E.a[0]-m.a[0]||E.a[1]-m.a[1]||E.type-m.type;return b||E.type!==i&&(b=n(E.a,E.b,m.b),b)?b:E.idx-m.idx}function d(E,m){return n(E.a,E.b,m)}function T(E,m,b,v,u){for(var y=o.lt(m,v,d),f=o.gt(m,v,d),P=y;P1&&n(b[z[B-2]],b[z[B-1]],v)>0;)E.push([z[B-1],z[B-2],u]),B-=1;z.length=B,z.push(u);for(var F=L.upperIds,B=F.length;B>1&&n(b[F[B-2]],b[F[B-1]],v)<0;)E.push([F[B-2],F[B-1],u]),B-=1;F.length=B,F.push(u)}}function l(E,m){var b;return E.a[0]L[0]&&u.push(new h(L,P,s,y),new h(P,L,a,y))}u.sort(p);for(var z=u[0].a[0]-(1+Math.abs(u[0].a[0]))*Math.pow(2,-52),F=[new c([z,1],[z,0],-1,[],[],[],[])],B=[],y=0,O=u.length;y=0}}(),i.removeTriangle=function(c,h,p){var d=this.stars;a(d[c],h,p),a(d[h],p,c),a(d[p],c,h)},i.addTriangle=function(c,h,p){var d=this.stars;d[c].push(h,p),d[h].push(p,c),d[p].push(c,h)},i.opposite=function(c,h){for(var p=this.stars[h],d=1,T=p.length;d=0;--I){var $=B[I];N=$[0];var J=z[N],X=J[0],re=J[1],ae=L[X],j=L[re];if((ae[0]-j[0]||ae[1]-j[1])<0){var ee=X;X=re,re=ee}J[0]=X;var ie=J[1]=$[1],ce;for(O&&(ce=J[2]);I>0&&B[I-1][0]===N;){var $=B[--I],xe=$[1];O?z.push([ie,xe,ce]):z.push([ie,xe]),ie=xe}O?z.push([ie,re,ce]):z.push([ie,re])}return U}function m(L,z,F){for(var B=z.length,O=new o(B),I=[],N=0;Nz[2]?1:0)}function u(L,z,F){if(L.length!==0){if(z)for(var B=0;B0||N.length>0}function P(L,z,F){var B;if(F){B=z;for(var O=new Array(z.length),I=0;IE+1)throw new Error(w+\" map requires nshades to be at least size \"+_.length);Array.isArray(h.alpha)?h.alpha.length!==2?m=[1,1]:m=h.alpha.slice():typeof h.alpha==\"number\"?m=[h.alpha,h.alpha]:m=[1,1],p=_.map(function(P){return Math.round(P.index*E)}),m[0]=Math.min(Math.max(m[0],0),1),m[1]=Math.min(Math.max(m[1],0),1);var v=_.map(function(P,L){var z=_[L].index,F=_[L].rgb.slice();return F.length===4&&F[3]>=0&&F[3]<=1||(F[3]=m[0]+(m[1]-m[0])*z),F}),u=[];for(b=0;b=0}function h(p,d,T,l){var _=o(d,T,l);if(_===0){var w=n(o(p,d,T)),M=n(o(p,d,l));if(w===M){if(w===0){var E=c(p,d,T),m=c(p,d,l);return E===m?0:E?1:-1}return 0}else{if(M===0)return w>0||c(p,d,l)?-1:1;if(w===0)return M>0||c(p,d,T)?1:-1}return n(M-w)}var b=o(p,d,T);if(b>0)return _>0&&o(p,d,l)>0?1:-1;if(b<0)return _>0||o(p,d,l)>0?1:-1;var v=o(p,d,l);return v>0||c(p,d,T)?1:-1}},8572:function(e){\"use strict\";e.exports=function(r){return r<0?-1:r>0?1:0}},8507:function(e){e.exports=o;var t=Math.min;function r(n,i){return n-i}function o(n,i){var a=n.length,s=n.length-i.length;if(s)return s;switch(a){case 0:return 0;case 1:return n[0]-i[0];case 2:return n[0]+n[1]-i[0]-i[1]||t(n[0],n[1])-t(i[0],i[1]);case 3:var c=n[0]+n[1],h=i[0]+i[1];if(s=c+n[2]-(h+i[2]),s)return s;var p=t(n[0],n[1]),d=t(i[0],i[1]);return t(p,n[2])-t(d,i[2])||t(p+n[2],c)-t(d+i[2],h);case 4:var T=n[0],l=n[1],_=n[2],w=n[3],M=i[0],E=i[1],m=i[2],b=i[3];return T+l+_+w-(M+E+m+b)||t(T,l,_,w)-t(M,E,m,b,M)||t(T+l,T+_,T+w,l+_,l+w,_+w)-t(M+E,M+m,M+b,E+m,E+b,m+b)||t(T+l+_,T+l+w,T+_+w,l+_+w)-t(M+E+m,M+E+b,M+m+b,E+m+b);default:for(var v=n.slice().sort(r),u=i.slice().sort(r),y=0;yr[n][0]&&(n=i);return on?[[n],[o]]:[[o]]}},4750:function(e,t,r){\"use strict\";e.exports=n;var o=r(3090);function n(i){var a=o(i),s=a.length;if(s<=2)return[];for(var c=new Array(s),h=a[s-1],p=0;p=h[M]&&(w+=1);l[_]=w}}return c}function s(c,h){try{return o(c,!0)}catch{var p=n(c);if(p.length<=h)return[];var d=i(c,p),T=o(d,!0);return a(T,p)}}},4769:function(e){\"use strict\";function t(o,n,i,a,s,c){var h=6*s*s-6*s,p=3*s*s-4*s+1,d=-6*s*s+6*s,T=3*s*s-2*s;if(o.length){c||(c=new Array(o.length));for(var l=o.length-1;l>=0;--l)c[l]=h*o[l]+p*n[l]+d*i[l]+T*a[l];return c}return h*o+p*n+d*i[l]+T*a}function r(o,n,i,a,s,c){var h=s-1,p=s*s,d=h*h,T=(1+2*s)*d,l=s*d,_=p*(3-2*s),w=p*h;if(o.length){c||(c=new Array(o.length));for(var M=o.length-1;M>=0;--M)c[M]=T*o[M]+l*n[M]+_*i[M]+w*a[M];return c}return T*o+l*n+_*i+w*a}e.exports=r,e.exports.derivative=t},7642:function(e,t,r){\"use strict\";var o=r(8954),n=r(1682);e.exports=c;function i(h,p){this.point=h,this.index=p}function a(h,p){for(var d=h.point,T=p.point,l=d.length,_=0;_=2)return!1;F[O]=I}return!0}):z=z.filter(function(F){for(var B=0;B<=T;++B){var O=y[F[B]];if(O<0)return!1;F[B]=O}return!0}),T&1)for(var w=0;w>>31},e.exports.exponent=function(_){var w=e.exports.hi(_);return(w<<1>>>21)-1023},e.exports.fraction=function(_){var w=e.exports.lo(_),M=e.exports.hi(_),E=M&(1<<20)-1;return M&2146435072&&(E+=1048576),[w,E]},e.exports.denormalized=function(_){var w=e.exports.hi(_);return!(w&2146435072)}},1338:function(e){\"use strict\";function t(n,i,a){var s=n[a]|0;if(s<=0)return[];var c=new Array(s),h;if(a===n.length-1)for(h=0;h\"u\"&&(i=0),typeof n){case\"number\":if(n>0)return r(n|0,i);break;case\"object\":if(typeof n.length==\"number\")return t(n,i,0);break}return[]}e.exports=o},3134:function(e,t,r){\"use strict\";e.exports=n;var o=r(1682);function n(i,a){var s=i.length;if(typeof a!=\"number\"){a=0;for(var c=0;c=T-1)for(var b=w.length-1,u=p-d[T-1],v=0;v=T-1)for(var m=w.length-1,b=p-d[T-1],v=0;v=0;--T)if(p[--d])return!1;return!0},s.jump=function(p){var d=this.lastT(),T=this.dimension;if(!(p0;--v)l.push(i(E[v-1],m[v-1],arguments[v])),_.push(0)}},s.push=function(p){var d=this.lastT(),T=this.dimension;if(!(p1e-6?1/M:0;this._time.push(p);for(var u=T;u>0;--u){var y=i(m[u-1],b[u-1],arguments[u]);l.push(y),_.push((y-l[w++])*v)}}},s.set=function(p){var d=this.dimension;if(!(p0;--E)T.push(i(w[E-1],M[E-1],arguments[E])),l.push(0)}},s.move=function(p){var d=this.lastT(),T=this.dimension;if(!(p<=d||arguments.length!==T+1)){var l=this._state,_=this._velocity,w=l.length-this.dimension,M=this.bounds,E=M[0],m=M[1],b=p-d,v=b>1e-6?1/b:0;this._time.push(p);for(var u=T;u>0;--u){var y=arguments[u];l.push(i(E[u-1],m[u-1],l[w++]+y)),_.push(y*v)}}},s.idle=function(p){var d=this.lastT();if(!(p=0;--v)l.push(i(E[v],m[v],l[w]+b*_[w])),_.push(0),w+=1}};function c(p){for(var d=new Array(p),T=0;T=0;--L){var u=y[L];f[L]<=0?y[L]=new o(u._color,u.key,u.value,y[L+1],u.right,u._count+1):y[L]=new o(u._color,u.key,u.value,u.left,y[L+1],u._count+1)}for(var L=y.length-1;L>1;--L){var z=y[L-1],u=y[L];if(z._color===r||u._color===r)break;var F=y[L-2];if(F.left===z)if(z.left===u){var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.left=z.right,z._color=r,z.right=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.left===F?O.left=z:O.right=z}break}}else{var B=F.right;if(B&&B._color===t)z._color=r,F.right=i(r,B),F._color=t,L-=1;else{if(z.right=u.left,F._color=t,F.left=u.right,u._color=r,u.left=z,u.right=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.left===F?O.left=u:O.right=u}break}}else if(z.right===u){var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(F._color=t,F.right=z.left,z._color=r,z.left=F,y[L-2]=z,y[L-1]=u,a(F),a(z),L>=3){var O=y[L-3];O.right===F?O.right=z:O.left=z}break}}else{var B=F.left;if(B&&B._color===t)z._color=r,F.left=i(r,B),F._color=t,L-=1;else{if(z.left=u.right,F._color=t,F.right=u.left,u._color=r,u.right=z,u.left=F,y[L-2]=u,y[L-1]=z,a(F),a(z),a(u),L>=3){var O=y[L-3];O.right===F?O.right=u:O.left=u}break}}}return y[0]._color=r,new s(v,y[0])};function h(m,b){if(b.left){var v=h(m,b.left);if(v)return v}var v=m(b.key,b.value);if(v)return v;if(b.right)return h(m,b.right)}function p(m,b,v,u){var y=b(m,u.key);if(y<=0){if(u.left){var f=p(m,b,v,u.left);if(f)return f}var f=v(u.key,u.value);if(f)return f}if(u.right)return p(m,b,v,u.right)}function d(m,b,v,u,y){var f=v(m,y.key),P=v(b,y.key),L;if(f<=0&&(y.left&&(L=d(m,b,v,u,y.left),L)||P>0&&(L=u(y.key,y.value),L)))return L;if(P>0&&y.right)return d(m,b,v,u,y.right)}c.forEach=function(b,v,u){if(this.root)switch(arguments.length){case 1:return h(b,this.root);case 2:return p(v,this._compare,b,this.root);case 3:return this._compare(v,u)>=0?void 0:d(v,u,this._compare,b,this.root)}},Object.defineProperty(c,\"begin\",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.left;return new T(this,m)}}),Object.defineProperty(c,\"end\",{get:function(){for(var m=[],b=this.root;b;)m.push(b),b=b.right;return new T(this,m)}}),c.at=function(m){if(m<0)return new T(this,[]);for(var b=this.root,v=[];;){if(v.push(b),b.left){if(m=b.right._count)break;b=b.right}else break}return new T(this,[])},c.ge=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<=0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.gt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f<0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.lt=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>0&&(y=u.length),f<=0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.le=function(m){for(var b=this._compare,v=this.root,u=[],y=0;v;){var f=b(m,v.key);u.push(v),f>=0&&(y=u.length),f<0?v=v.left:v=v.right}return u.length=y,new T(this,u)},c.find=function(m){for(var b=this._compare,v=this.root,u=[];v;){var y=b(m,v.key);if(u.push(v),y===0)return new T(this,u);y<=0?v=v.left:v=v.right}return new T(this,[])},c.remove=function(m){var b=this.find(m);return b?b.remove():this},c.get=function(m){for(var b=this._compare,v=this.root;v;){var u=b(m,v.key);if(u===0)return v.value;u<=0?v=v.left:v=v.right}};function T(m,b){this.tree=m,this._stack=b}var l=T.prototype;Object.defineProperty(l,\"valid\",{get:function(){return this._stack.length>0}}),Object.defineProperty(l,\"node\",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),l.clone=function(){return new T(this.tree,this._stack.slice())};function _(m,b){m.key=b.key,m.value=b.value,m.left=b.left,m.right=b.right,m._color=b._color,m._count=b._count}function w(m){for(var b,v,u,y,f=m.length-1;f>=0;--f){if(b=m[f],f===0){b._color=r;return}if(v=m[f-1],v.left===b){if(u=v.right,u.right&&u.right._color===t){if(u=v.right=n(u),y=u.right=n(u.right),v.right=u.left,u.left=v,u.right=y,u._color=v._color,b._color=r,v._color=r,y._color=r,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u;return}else if(u.left&&u.left._color===t){if(u=v.right=n(u),y=u.left=n(u.left),v.right=y.left,u.left=y.right,y.left=v,y.right=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.left===v?P.left=y:P.right=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.right=i(t,u);return}else{v.right=i(t,u);continue}else{if(u=n(u),v.right=u.left,u.left=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.left===v?P.left=u:P.right=u}m[f-1]=u,m[f]=v,f+11){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u;return}else if(u.right&&u.right._color===t){if(u=v.left=n(u),y=u.right=n(u.right),v.left=y.right,u.right=y.left,y.right=v,y.left=u,y._color=v._color,v._color=r,u._color=r,b._color=r,a(v),a(u),a(y),f>1){var P=m[f-2];P.right===v?P.right=y:P.left=y}m[f-1]=y;return}if(u._color===r)if(v._color===t){v._color=r,v.left=i(t,u);return}else{v.left=i(t,u);continue}else{if(u=n(u),v.left=u.right,u.right=v,u._color=v._color,v._color=t,a(v),a(u),f>1){var P=m[f-2];P.right===v?P.right=u:P.left=u}m[f-1]=u,m[f]=v,f+1=0;--u){var v=m[u];v.left===m[u+1]?b[u]=new o(v._color,v.key,v.value,b[u+1],v.right,v._count):b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count)}if(v=b[b.length-1],v.left&&v.right){var y=b.length;for(v=v.left;v.right;)b.push(v),v=v.right;var f=b[y-1];b.push(new o(v._color,f.key,f.value,v.left,v.right,v._count)),b[y-1].key=v.key,b[y-1].value=v.value;for(var u=b.length-2;u>=y;--u)v=b[u],b[u]=new o(v._color,v.key,v.value,v.left,b[u+1],v._count);b[y-1].left=b[y]}if(v=b[b.length-1],v._color===t){var P=b[b.length-2];P.left===v?P.left=null:P.right===v&&(P.right=null),b.pop();for(var u=0;u0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(l,\"value\",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(l,\"index\",{get:function(){var m=0,b=this._stack;if(b.length===0){var v=this.tree.root;return v?v._count:0}else b[b.length-1].left&&(m=b[b.length-1].left._count);for(var u=b.length-2;u>=0;--u)b[u+1]===b[u].right&&(++m,b[u].left&&(m+=b[u].left._count));return m},enumerable:!0}),l.next=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.right)for(b=b.right;b;)m.push(b),b=b.left;else for(m.pop();m.length>0&&m[m.length-1].right===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,\"hasNext\",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].right)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].left===m[b])return!0;return!1}}),l.update=function(m){var b=this._stack;if(b.length===0)throw new Error(\"Can't update empty node!\");var v=new Array(b.length),u=b[b.length-1];v[v.length-1]=new o(u._color,u.key,m,u.left,u.right,u._count);for(var y=b.length-2;y>=0;--y)u=b[y],u.left===b[y+1]?v[y]=new o(u._color,u.key,u.value,v[y+1],u.right,u._count):v[y]=new o(u._color,u.key,u.value,u.left,v[y+1],u._count);return new s(this.tree._compare,v[0])},l.prev=function(){var m=this._stack;if(m.length!==0){var b=m[m.length-1];if(b.left)for(b=b.left;b;)m.push(b),b=b.right;else for(m.pop();m.length>0&&m[m.length-1].left===b;)b=m[m.length-1],m.pop()}},Object.defineProperty(l,\"hasPrev\",{get:function(){var m=this._stack;if(m.length===0)return!1;if(m[m.length-1].left)return!0;for(var b=m.length-1;b>0;--b)if(m[b-1].right===m[b])return!0;return!1}});function M(m,b){return mb?1:0}function E(m){return new s(m||M,null)}},3837:function(e,t,r){\"use strict\";e.exports=L;var o=r(4935),n=r(501),i=r(5304),a=r(6429),s=r(6444),c=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),h=ArrayBuffer,p=DataView;function d(z){return h.isView(z)&&!(z instanceof p)}function T(z){return Array.isArray(z)||d(z)}function l(z,F){return z[0]=F[0],z[1]=F[1],z[2]=F[2],z}function _(z){this.gl=z,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=[\"sans-serif\",\"sans-serif\",\"sans-serif\"],this.tickFontStyle=[\"normal\",\"normal\",\"normal\"],this.tickFontWeight=[\"normal\",\"normal\",\"normal\"],this.tickFontVariant=[\"normal\",\"normal\",\"normal\"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=[\"auto\",\"auto\",\"auto\"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=[\"x\",\"y\",\"z\"],this.labelEnable=[!0,!0,!0],this.labelFont=[\"sans-serif\",\"sans-serif\",\"sans-serif\"],this.labelFontStyle=[\"normal\",\"normal\",\"normal\"],this.labelFontWeight=[\"normal\",\"normal\",\"normal\"],this.labelFontVariant=[\"normal\",\"normal\",\"normal\"],this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=[\"auto\",\"auto\",\"auto\"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=i(z)}var w=_.prototype;w.update=function(z){z=z||{};function F(X,re,ae){if(ae in z){var j=z[ae],ee=this[ae],ie;(X?T(j)&&T(j[0]):T(j))?this[ae]=ie=[re(j[0]),re(j[1]),re(j[2])]:this[ae]=ie=[re(j),re(j),re(j)];for(var ce=0;ce<3;++ce)if(ie[ce]!==ee[ce])return!0}return!1}var B=F.bind(this,!1,Number),O=F.bind(this,!1,Boolean),I=F.bind(this,!1,String),N=F.bind(this,!0,function(X){if(T(X)){if(X.length===3)return[+X[0],+X[1],+X[2],1];if(X.length===4)return[+X[0],+X[1],+X[2],+X[3]]}return[0,0,0,1]}),U,W=!1,Q=!1;if(\"bounds\"in z)for(var le=z.bounds,se=0;se<2;++se)for(var fe=0;fe<3;++fe)le[se][fe]!==this.bounds[se][fe]&&(Q=!0),this.bounds[se][fe]=le[se][fe];if(\"ticks\"in z){U=z.ticks,W=!0,this.autoTicks=!1;for(var se=0;se<3;++se)this.tickSpacing[se]=0}else B(\"tickSpacing\")&&(this.autoTicks=!0,Q=!0);if(this._firstInit&&(\"ticks\"in z||\"tickSpacing\"in z||(this.autoTicks=!0),Q=!0,W=!0,this._firstInit=!1),Q&&this.autoTicks&&(U=s.create(this.bounds,this.tickSpacing),W=!0),W){for(var se=0;se<3;++se)U[se].sort(function(re,ae){return re.x-ae.x});s.equal(U,this.ticks)?W=!1:this.ticks=U}O(\"tickEnable\"),I(\"tickFont\")&&(W=!0),I(\"tickFontStyle\")&&(W=!0),I(\"tickFontWeight\")&&(W=!0),I(\"tickFontVariant\")&&(W=!0),B(\"tickSize\"),B(\"tickAngle\"),B(\"tickPad\"),N(\"tickColor\");var G=I(\"labels\");I(\"labelFont\")&&(G=!0),I(\"labelFontStyle\")&&(G=!0),I(\"labelFontWeight\")&&(G=!0),I(\"labelFontVariant\")&&(G=!0),O(\"labelEnable\"),B(\"labelSize\"),B(\"labelPad\"),N(\"labelColor\"),O(\"lineEnable\"),O(\"lineMirror\"),B(\"lineWidth\"),N(\"lineColor\"),O(\"lineTickEnable\"),O(\"lineTickMirror\"),B(\"lineTickLength\"),B(\"lineTickWidth\"),N(\"lineTickColor\"),O(\"gridEnable\"),B(\"gridWidth\"),N(\"gridColor\"),O(\"zeroEnable\"),N(\"zeroLineColor\"),B(\"zeroLineWidth\"),O(\"backgroundEnable\"),N(\"backgroundColor\");var $=[{family:this.labelFont[0],style:this.labelFontStyle[0],weight:this.labelFontWeight[0],variant:this.labelFontVariant[0]},{family:this.labelFont[1],style:this.labelFontStyle[1],weight:this.labelFontWeight[1],variant:this.labelFontVariant[1]},{family:this.labelFont[2],style:this.labelFontStyle[2],weight:this.labelFontWeight[2],variant:this.labelFontVariant[2]}],J=[{family:this.tickFont[0],style:this.tickFontStyle[0],weight:this.tickFontWeight[0],variant:this.tickFontVariant[0]},{family:this.tickFont[1],style:this.tickFontStyle[1],weight:this.tickFontWeight[1],variant:this.tickFontVariant[1]},{family:this.tickFont[2],style:this.tickFontStyle[2],weight:this.tickFontWeight[2],variant:this.tickFontVariant[2]}];this._text?this._text&&(G||W)&&this._text.update(this.bounds,this.labels,$,this.ticks,J):this._text=o(this.gl,this.bounds,this.labels,$,this.ticks,J),this._lines&&W&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=n(this.gl,this.bounds,this.ticks))};function M(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var E=[new M,new M,new M];function m(z,F,B,O,I){for(var N=z.primalOffset,U=z.primalMinor,W=z.mirrorOffset,Q=z.mirrorMinor,le=O[F],se=0;se<3;++se)if(F!==se){var fe=N,G=W,$=U,J=Q;le&1<0?($[se]=-1,J[se]=0):($[se]=0,J[se]=1)}}var b=[0,0,0],v={model:c,view:c,projection:c,_ortho:!1};w.isOpaque=function(){return!0},w.isTransparent=function(){return!1},w.drawTransparent=function(z){};var u=0,y=[0,0,0],f=[0,0,0],P=[0,0,0];w.draw=function(z){z=z||v;for(var ae=this.gl,F=z.model||c,B=z.view||c,O=z.projection||c,I=this.bounds,N=z._ortho||!1,U=a(F,B,O,I,N),W=U.cubeEdges,Q=U.axis,le=B[12],se=B[13],fe=B[14],G=B[15],$=N?2:1,J=$*this.pixelRatio*(O[3]*le+O[7]*se+O[11]*fe+O[15]*G)/ae.drawingBufferHeight,X=0;X<3;++X)this.lastCubeProps.cubeEdges[X]=W[X],this.lastCubeProps.axis[X]=Q[X];for(var re=E,X=0;X<3;++X)m(E[X],X,this.bounds,W,Q);for(var ae=this.gl,j=b,X=0;X<3;++X)this.backgroundEnable[X]?j[X]=Q[X]:j[X]=0;this._background.draw(F,B,O,I,j,this.backgroundColor),this._lines.bind(F,B,O,this);for(var X=0;X<3;++X){var ee=[0,0,0];Q[X]>0?ee[X]=I[1][X]:ee[X]=I[0][X];for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.gridEnable[ce]&&this._lines.drawGrid(ce,xe,this.bounds,ee,this.gridColor[ce],this.gridWidth[ce]*this.pixelRatio)}for(var ie=0;ie<2;++ie){var ce=(X+1+ie)%3,xe=(X+1+(ie^1))%3;this.zeroEnable[xe]&&Math.min(I[0][xe],I[1][xe])<=0&&Math.max(I[0][xe],I[1][xe])>=0&&this._lines.drawZero(ce,xe,this.bounds,ee,this.zeroLineColor[xe],this.zeroLineWidth[xe]*this.pixelRatio)}}for(var X=0;X<3;++X){this.lineEnable[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].primalOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio),this.lineMirror[X]&&this._lines.drawAxisLine(X,this.bounds,re[X].mirrorOffset,this.lineColor[X],this.lineWidth[X]*this.pixelRatio);for(var Te=l(y,re[X].primalMinor),Ue=l(f,re[X].mirrorMinor),Ie=this.lineTickLength,ie=0;ie<3;++ie){var Ye=J/F[5*ie];Te[ie]*=Ie[ie]*Ye,Ue[ie]*=Ie[ie]*Ye}this.lineTickEnable[X]&&this._lines.drawAxisTicks(X,re[X].primalOffset,Te,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio),this.lineTickMirror[X]&&this._lines.drawAxisTicks(X,re[X].mirrorOffset,Ue,this.lineTickColor[X],this.lineTickWidth[X]*this.pixelRatio)}this._lines.unbind(),this._text.bind(F,B,O,this.pixelRatio);var it,at=.5,tt,ut;function Me(et){ut=[0,0,0],ut[et]=1}function pe(et,Lt,Et){var Bt=(et+1)%3,qt=(et+2)%3,fr=Lt[Bt],ar=Lt[qt],Rr=Et[Bt],gr=Et[qt];if(fr>0&&gr>0){Me(Bt);return}else if(fr>0&&gr<0){Me(Bt);return}else if(fr<0&&gr>0){Me(Bt);return}else if(fr<0&&gr<0){Me(Bt);return}else if(ar>0&&Rr>0){Me(qt);return}else if(ar>0&&Rr<0){Me(qt);return}else if(ar<0&&Rr>0){Me(qt);return}else if(ar<0&&Rr<0){Me(qt);return}}for(var X=0;X<3;++X){for(var ue=re[X].primalMinor,Oe=re[X].mirrorMinor,rt=l(P,re[X].primalOffset),ie=0;ie<3;++ie)this.lineTickEnable[X]&&(rt[ie]+=J*ue[ie]*Math.max(this.lineTickLength[ie],0)/F[5*ie]);var ot=[0,0,0];if(ot[X]=1,this.tickEnable[X]){this.tickAngle[X]===-3600?(this.tickAngle[X]=0,this.tickAlign[X]=\"auto\"):this.tickAlign[X]=-1,tt=1,it=[this.tickAlign[X],at,tt],it[0]===\"auto\"?it[0]=u:it[0]=parseInt(\"\"+it[0]),ut=[0,0,0],pe(X,ue,Oe);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.tickPad[ie]/F[5*ie];this._text.drawTicks(X,this.tickSize[X],this.tickAngle[X],rt,this.tickColor[X],ot,ut,it)}if(this.labelEnable[X]){tt=0,ut=[0,0,0],this.labels[X].length>4&&(Me(X),tt=1),it=[this.labelAlign[X],at,tt],it[0]===\"auto\"?it[0]=u:it[0]=parseInt(\"\"+it[0]);for(var ie=0;ie<3;++ie)rt[ie]+=J*ue[ie]*this.labelPad[ie]/F[5*ie];rt[X]+=.5*(I[0][X]+I[1][X]),this._text.drawLabel(X,this.labelSize[X],this.labelAngle[X],rt,this.labelColor[X],[0,0,0],ut,it)}}this._text.unbind()},w.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function L(z,F){var B=new _(z);return B.update(F),B}},5304:function(e,t,r){\"use strict\";e.exports=c;var o=r(2762),n=r(8116),i=r(1879).bg;function a(h,p,d,T){this.gl=h,this.buffer=p,this.vao=d,this.shader=T}var s=a.prototype;s.draw=function(h,p,d,T,l,_){for(var w=!1,M=0;M<3;++M)w=w||l[M];if(w){var E=this.gl;E.enable(E.POLYGON_OFFSET_FILL),E.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:h,view:p,projection:d,bounds:T,enable:l,colors:_},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),E.disable(E.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function c(h){for(var p=[],d=[],T=0,l=0;l<3;++l)for(var _=(l+1)%3,w=(l+2)%3,M=[0,0,0],E=[0,0,0],m=-1;m<=1;m+=2){d.push(T,T+2,T+1,T+1,T+2,T+3),M[l]=m,E[l]=m;for(var b=-1;b<=1;b+=2){M[_]=b;for(var v=-1;v<=1;v+=2)M[w]=v,p.push(M[0],M[1],M[2],E[0],E[1],E[2]),T+=1}var u=_;_=w,w=u}var y=o(h,new Float32Array(p)),f=o(h,new Uint16Array(d),h.ELEMENT_ARRAY_BUFFER),P=n(h,[{buffer:y,type:h.FLOAT,size:3,offset:0,stride:24},{buffer:y,type:h.FLOAT,size:3,offset:12,stride:24}],f),L=i(h);return L.attributes.position.location=0,L.attributes.normal.location=1,new a(h,y,P,L)}},6429:function(e,t,r){\"use strict\";e.exports=m;var o=r(8828),n=r(6760),i=r(5202),a=r(3250),s=new Array(16),c=new Array(8),h=new Array(8),p=new Array(3),d=[0,0,0];(function(){for(var b=0;b<8;++b)c[b]=[1,1,1,1],h[b]=[1,1,1]})();function T(b,v,u){for(var y=0;y<4;++y){b[y]=u[12+y];for(var f=0;f<3;++f)b[y]+=v[f]*u[4*f+y]}}var l=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function _(b){for(var v=0;vQ&&(B|=1<Q){B|=1<h[L][1])&&(re=L);for(var ae=-1,L=0;L<3;++L){var j=re^1<h[ee][0]&&(ee=j)}}var ie=w;ie[0]=ie[1]=ie[2]=0,ie[o.log2(ae^re)]=re&ae,ie[o.log2(re^ee)]=reⅇvar ce=ee^7;ce===B||ce===X?(ce=ae^7,ie[o.log2(ee^ce)]=ce&ee):ie[o.log2(ae^ce)]=ce&ae;for(var xe=M,Te=B,N=0;N<3;++N)Te&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ?\n b - PI :\n b;\n}\n\nfloat look_horizontal_or_vertical(float a, float ratio) {\n // ratio controls the ratio between being horizontal to (vertical + horizontal)\n // if ratio is set to 0.5 then it is 50%, 50%.\n // when using a higher ratio e.g. 0.75 the result would\n // likely be more horizontal than vertical.\n\n float b = positive_angle(a);\n\n return\n (b < ( ratio) * HALF_PI) ? 0.0 :\n (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :\n (b < (2.0 + ratio) * HALF_PI) ? 0.0 :\n (b < (4.0 - ratio) * HALF_PI) ? HALF_PI :\n 0.0;\n}\n\nfloat roundTo(float a, float b) {\n return float(b * floor((a + 0.5 * b) / b));\n}\n\nfloat look_round_n_directions(float a, int n) {\n float b = positive_angle(a);\n float div = TWO_PI / float(n);\n float c = roundTo(b, div);\n return look_upwards(c);\n}\n\nfloat applyAlignOption(float rawAngle, float delta) {\n return\n (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions\n (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical\n (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis\n (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards\n (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal\n rawAngle; // otherwise return back raw input angle\n}\n\nbool isAxisTitle = (axis.x == 0.0) &&\n (axis.y == 0.0) &&\n (axis.z == 0.0);\n\nvoid main() {\n //Compute world offset\n float axisDistance = position.z;\n vec3 dataPosition = axisDistance * axis + offset;\n\n float beta = angle; // i.e. user defined attributes for each tick\n\n float axisAngle;\n float clipAngle;\n float flip;\n\n if (enableAlign) {\n axisAngle = (isAxisTitle) ? HALF_PI :\n computeViewAngle(dataPosition, dataPosition + axis);\n clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);\n\n axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;\n clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;\n\n flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),\n vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;\n\n beta += applyAlignOption(clipAngle, flip * PI);\n }\n\n //Compute plane offset\n vec2 planeCoord = position.xy * pixelScale;\n\n mat2 planeXform = scale * mat2(\n cos(beta), sin(beta),\n -sin(beta), cos(beta)\n );\n\n vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;\n\n //Compute clip position\n vec3 clipPosition = project(dataPosition);\n\n //Apply text offset in clip coordinates\n clipPosition += vec3(viewOffset, 0.0);\n\n //Done\n gl_Position = vec4(clipPosition, 1.0);\n}\n`]),c=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nvoid main() {\n gl_FragColor = color;\n}`]);t.Q=function(d){return n(d,s,c,null,[{name:\"position\",type:\"vec3\"}])};var h=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 model, view, projection;\nuniform vec3 enable;\nuniform vec3 bounds[2];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n\n vec3 signAxis = sign(bounds[1] - bounds[0]);\n\n vec3 realNormal = signAxis * normal;\n\n if(dot(realNormal, enable) > 0.0) {\n vec3 minRange = min(bounds[0], bounds[1]);\n vec3 maxRange = max(bounds[0], bounds[1]);\n vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));\n gl_Position = projection * (view * (model * vec4(nPosition, 1.0)));\n } else {\n gl_Position = vec4(0,0,0,0);\n }\n\n colorChannel = abs(realNormal);\n}\n`]),p=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 colors[3];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n gl_FragColor = colorChannel.x * colors[0] +\n colorChannel.y * colors[1] +\n colorChannel.z * colors[2];\n}`]);t.bg=function(d){return n(d,h,p,null,[{name:\"position\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}])}},4935:function(e,t,r){\"use strict\";e.exports=_;var o=r(2762),n=r(8116),i=r(4359),a=r(1879).Q,s=window||process.global||{},c=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};var h=3;function p(w,M,E,m){this.gl=w,this.shader=M,this.buffer=E,this.vao=m,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var d=p.prototype,T=[0,0];d.bind=function(w,M,E,m){this.vao.bind(),this.shader.bind();var b=this.shader.uniforms;b.model=w,b.view=M,b.projection=E,b.pixelScale=m,T[0]=this.gl.drawingBufferWidth,T[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=T},d.unbind=function(){this.vao.unbind()},d.update=function(w,M,E,m,b){var v=[];function u(N,U,W,Q,le,se){var fe=[W.style,W.weight,W.variant,W.family].join(\"_\"),G=c[fe];G||(G=c[fe]={});var $=G[U];$||($=G[U]=l(U,{triangles:!0,font:W.family,fontStyle:W.style,fontWeight:W.weight,fontVariant:W.variant,textAlign:\"center\",textBaseline:\"middle\",lineSpacing:le,styletags:se}));for(var J=(Q||12)/12,X=$.positions,re=$.cells,ae=0,j=re.length;ae=0;--ie){var ce=X[ee[ie]];v.push(J*ce[0],-J*ce[1],N)}}for(var y=[0,0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0],z=1.25,F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){P[B]=v.length/h|0,u(.5*(w[0][B]+w[1][B]),M[B],E[B],12,z,F),L[B]=(v.length/h|0)-P[B],y[B]=v.length/h|0;for(var O=0;O=0&&(h=s.length-c-1);var p=Math.pow(10,h),d=Math.round(i*a*p),T=d+\"\";if(T.indexOf(\"e\")>=0)return T;var l=d/p,_=d%p;d<0?(l=-Math.ceil(l)|0,_=-_|0):(l=Math.floor(l)|0,_=_|0);var w=\"\"+l;if(d<0&&(w=\"-\"+w),h){for(var M=\"\"+_;M.length=i[0][c];--d)h.push({x:d*a[c],text:r(a[c],d)});s.push(h)}return s}function n(i,a){for(var s=0;s<3;++s){if(i[s].length!==a[s].length)return!1;for(var c=0;cw)throw new Error(\"gl-buffer: If resizing buffer, must not specify offset\");return l.bufferSubData(_,m,E),w}function p(l,_){for(var w=o.malloc(l.length,_),M=l.length,E=0;E=0;--M){if(_[M]!==w)return!1;w*=l[M]}return!0}c.update=function(l,_){if(typeof _!=\"number\"&&(_=-1),this.bind(),typeof l==\"object\"&&typeof l.shape<\"u\"){var w=l.dtype;if(a.indexOf(w)<0&&(w=\"float32\"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var M=gl.getExtension(\"OES_element_index_uint\");M&&w!==\"uint16\"?w=\"uint32\":w=\"uint16\"}if(w===l.dtype&&d(l.shape,l.stride))l.offset===0&&l.data.length===l.shape[0]?this.length=h(this.gl,this.type,this.length,this.usage,l.data,_):this.length=h(this.gl,this.type,this.length,this.usage,l.data.subarray(l.offset,l.shape[0]),_);else{var E=o.malloc(l.size,w),m=i(E,l.shape);n.assign(m,l),_<0?this.length=h(this.gl,this.type,this.length,this.usage,E,_):this.length=h(this.gl,this.type,this.length,this.usage,E.subarray(0,l.size),_),o.free(E)}}else if(Array.isArray(l)){var b;this.type===this.gl.ELEMENT_ARRAY_BUFFER?b=p(l,\"uint16\"):b=p(l,\"float32\"),_<0?this.length=h(this.gl,this.type,this.length,this.usage,b,_):this.length=h(this.gl,this.type,this.length,this.usage,b.subarray(0,l.length),_),o.free(b)}else if(typeof l==\"object\"&&typeof l.length==\"number\")this.length=h(this.gl,this.type,this.length,this.usage,l,_);else if(typeof l==\"number\"||l===void 0){if(_>=0)throw new Error(\"gl-buffer: Cannot specify offset when resizing buffer\");l=l|0,l<=0&&(l=1),this.gl.bufferData(this.type,l|0,this.usage),this.length=l}else throw new Error(\"gl-buffer: Invalid data type\")};function T(l,_,w,M){if(w=w||l.ARRAY_BUFFER,M=M||l.DYNAMIC_DRAW,w!==l.ARRAY_BUFFER&&w!==l.ELEMENT_ARRAY_BUFFER)throw new Error(\"gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER\");if(M!==l.DYNAMIC_DRAW&&M!==l.STATIC_DRAW&&M!==l.STREAM_DRAW)throw new Error(\"gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW\");var E=l.createBuffer(),m=new s(l,w,E,0,M);return m.update(_),m}e.exports=T},6405:function(e,t,r){\"use strict\";var o=r(2931);e.exports=function(i,a){var s=i.positions,c=i.vectors,h={positions:[],vertexIntensity:[],vertexIntensityBounds:i.vertexIntensityBounds,vectors:[],cells:[],coneOffset:i.coneOffset,colormap:i.colormap};if(i.positions.length===0)return a&&(a[0]=[0,0,0],a[1]=[0,0,0]),h;for(var p=0,d=1/0,T=-1/0,l=1/0,_=-1/0,w=1/0,M=-1/0,E=null,m=null,b=[],v=1/0,u=!1,y=i.coneSizemode===\"raw\",f=0;fp&&(p=o.length(L)),f&&!y){var z=2*o.distance(E,P)/(o.length(m)+o.length(L));z?(v=Math.min(v,z),u=!1):u=!0}u||(E=P,m=L),b.push(L)}var F=[d,l,w],B=[T,_,M];a&&(a[0]=F,a[1]=B),p===0&&(p=1);var O=1/p;isFinite(v)||(v=1),h.vectorScale=v;var I=i.coneSize||(y?1:.5);i.absoluteConeSize&&(I=i.absoluteConeSize*O),h.coneScale=I;for(var f=0,N=0;f=1},l.isTransparent=function(){return this.opacity<1},l.pickSlots=1,l.setPickBase=function(b){this.pickId=b};function _(b){for(var v=p({colormap:b,nshades:256,format:\"rgba\"}),u=new Uint8Array(256*4),y=0;y<256;++y){for(var f=v[y],P=0;P<3;++P)u[4*y+P]=f[P];u[4*y+3]=f[3]*255}return h(u,[256,256,4],[4,0,1])}function w(b){for(var v=b.length,u=new Array(v),y=0;y0){var N=this.triShader;N.bind(),N.uniforms=z,this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},l.drawPick=function(b){b=b||{};for(var v=this.gl,u=b.model||d,y=b.view||d,f=b.projection||d,P=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],L=0;L<3;++L)P[0][L]=Math.max(P[0][L],this.clipBounds[0][L]),P[1][L]=Math.min(P[1][L],this.clipBounds[1][L]);this._model=[].slice.call(u),this._view=[].slice.call(y),this._projection=[].slice.call(f),this._resolution=[v.drawingBufferWidth,v.drawingBufferHeight];var z={model:u,view:y,projection:f,clipBounds:P,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},F=this.pickShader;F.bind(),F.uniforms=z,this.triangleCount>0&&(this.triangleVAO.bind(),v.drawArrays(v.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},l.pick=function(b){if(!b||b.id!==this.pickId)return null;var v=b.value[0]+256*b.value[1]+65536*b.value[2],u=this.cells[v],y=this.positions[u[1]].slice(0,3),f={position:y,dataCoordinate:y,index:Math.floor(u[1]/48)};return this.traceType===\"cone\"?f.index=Math.floor(u[1]/48):this.traceType===\"streamtube\"&&(f.intensity=this.intensity[u[1]],f.velocity=this.vectors[u[1]].slice(0,3),f.divergence=this.vectors[u[1]][3],f.index=v),f},l.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function M(b,v){var u=o(b,v.meshShader.vertex,v.meshShader.fragment,null,v.meshShader.attributes);return u.attributes.position.location=0,u.attributes.color.location=2,u.attributes.uv.location=3,u.attributes.vector.location=4,u}function E(b,v){var u=o(b,v.pickShader.vertex,v.pickShader.fragment,null,v.pickShader.attributes);return u.attributes.position.location=0,u.attributes.id.location=1,u.attributes.vector.location=4,u}function m(b,v,u){var y=u.shaders;arguments.length===1&&(v=b,b=v.gl);var f=M(b,y),P=E(b,y),L=a(b,h(new Uint8Array([255,255,255,255]),[1,1,4]));L.generateMipmap(),L.minFilter=b.LINEAR_MIPMAP_LINEAR,L.magFilter=b.LINEAR;var z=n(b),F=n(b),B=n(b),O=n(b),I=n(b),N=i(b,[{buffer:z,type:b.FLOAT,size:4},{buffer:I,type:b.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:B,type:b.FLOAT,size:4},{buffer:O,type:b.FLOAT,size:2},{buffer:F,type:b.FLOAT,size:4}]),U=new T(b,L,f,P,z,F,I,B,O,N,u.traceType||\"cone\");return U.update(v),U}e.exports=m},614:function(e,t,r){var o=r(3236),n=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec3 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, coneScale, coneOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * conePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(conePosition, 1.0);\n vec4 t_position = view * conePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = conePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n`]),a=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float vectorScale, coneScale, coneOffset;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n gl_Position = projection * (view * conePosition);\n f_id = id;\n f_position = position.xyz;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec4\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"vector\",type:\"vec3\"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec4\"},{name:\"id\",type:\"vec4\"},{name:\"vector\",type:\"vec3\"}]}},737:function(e){e.exports={0:\"NONE\",1:\"ONE\",2:\"LINE_LOOP\",3:\"LINE_STRIP\",4:\"TRIANGLES\",5:\"TRIANGLE_STRIP\",6:\"TRIANGLE_FAN\",256:\"DEPTH_BUFFER_BIT\",512:\"NEVER\",513:\"LESS\",514:\"EQUAL\",515:\"LEQUAL\",516:\"GREATER\",517:\"NOTEQUAL\",518:\"GEQUAL\",519:\"ALWAYS\",768:\"SRC_COLOR\",769:\"ONE_MINUS_SRC_COLOR\",770:\"SRC_ALPHA\",771:\"ONE_MINUS_SRC_ALPHA\",772:\"DST_ALPHA\",773:\"ONE_MINUS_DST_ALPHA\",774:\"DST_COLOR\",775:\"ONE_MINUS_DST_COLOR\",776:\"SRC_ALPHA_SATURATE\",1024:\"STENCIL_BUFFER_BIT\",1028:\"FRONT\",1029:\"BACK\",1032:\"FRONT_AND_BACK\",1280:\"INVALID_ENUM\",1281:\"INVALID_VALUE\",1282:\"INVALID_OPERATION\",1285:\"OUT_OF_MEMORY\",1286:\"INVALID_FRAMEBUFFER_OPERATION\",2304:\"CW\",2305:\"CCW\",2849:\"LINE_WIDTH\",2884:\"CULL_FACE\",2885:\"CULL_FACE_MODE\",2886:\"FRONT_FACE\",2928:\"DEPTH_RANGE\",2929:\"DEPTH_TEST\",2930:\"DEPTH_WRITEMASK\",2931:\"DEPTH_CLEAR_VALUE\",2932:\"DEPTH_FUNC\",2960:\"STENCIL_TEST\",2961:\"STENCIL_CLEAR_VALUE\",2962:\"STENCIL_FUNC\",2963:\"STENCIL_VALUE_MASK\",2964:\"STENCIL_FAIL\",2965:\"STENCIL_PASS_DEPTH_FAIL\",2966:\"STENCIL_PASS_DEPTH_PASS\",2967:\"STENCIL_REF\",2968:\"STENCIL_WRITEMASK\",2978:\"VIEWPORT\",3024:\"DITHER\",3042:\"BLEND\",3088:\"SCISSOR_BOX\",3089:\"SCISSOR_TEST\",3106:\"COLOR_CLEAR_VALUE\",3107:\"COLOR_WRITEMASK\",3317:\"UNPACK_ALIGNMENT\",3333:\"PACK_ALIGNMENT\",3379:\"MAX_TEXTURE_SIZE\",3386:\"MAX_VIEWPORT_DIMS\",3408:\"SUBPIXEL_BITS\",3410:\"RED_BITS\",3411:\"GREEN_BITS\",3412:\"BLUE_BITS\",3413:\"ALPHA_BITS\",3414:\"DEPTH_BITS\",3415:\"STENCIL_BITS\",3553:\"TEXTURE_2D\",4352:\"DONT_CARE\",4353:\"FASTEST\",4354:\"NICEST\",5120:\"BYTE\",5121:\"UNSIGNED_BYTE\",5122:\"SHORT\",5123:\"UNSIGNED_SHORT\",5124:\"INT\",5125:\"UNSIGNED_INT\",5126:\"FLOAT\",5386:\"INVERT\",5890:\"TEXTURE\",6401:\"STENCIL_INDEX\",6402:\"DEPTH_COMPONENT\",6406:\"ALPHA\",6407:\"RGB\",6408:\"RGBA\",6409:\"LUMINANCE\",6410:\"LUMINANCE_ALPHA\",7680:\"KEEP\",7681:\"REPLACE\",7682:\"INCR\",7683:\"DECR\",7936:\"VENDOR\",7937:\"RENDERER\",7938:\"VERSION\",9728:\"NEAREST\",9729:\"LINEAR\",9984:\"NEAREST_MIPMAP_NEAREST\",9985:\"LINEAR_MIPMAP_NEAREST\",9986:\"NEAREST_MIPMAP_LINEAR\",9987:\"LINEAR_MIPMAP_LINEAR\",10240:\"TEXTURE_MAG_FILTER\",10241:\"TEXTURE_MIN_FILTER\",10242:\"TEXTURE_WRAP_S\",10243:\"TEXTURE_WRAP_T\",10497:\"REPEAT\",10752:\"POLYGON_OFFSET_UNITS\",16384:\"COLOR_BUFFER_BIT\",32769:\"CONSTANT_COLOR\",32770:\"ONE_MINUS_CONSTANT_COLOR\",32771:\"CONSTANT_ALPHA\",32772:\"ONE_MINUS_CONSTANT_ALPHA\",32773:\"BLEND_COLOR\",32774:\"FUNC_ADD\",32777:\"BLEND_EQUATION_RGB\",32778:\"FUNC_SUBTRACT\",32779:\"FUNC_REVERSE_SUBTRACT\",32819:\"UNSIGNED_SHORT_4_4_4_4\",32820:\"UNSIGNED_SHORT_5_5_5_1\",32823:\"POLYGON_OFFSET_FILL\",32824:\"POLYGON_OFFSET_FACTOR\",32854:\"RGBA4\",32855:\"RGB5_A1\",32873:\"TEXTURE_BINDING_2D\",32926:\"SAMPLE_ALPHA_TO_COVERAGE\",32928:\"SAMPLE_COVERAGE\",32936:\"SAMPLE_BUFFERS\",32937:\"SAMPLES\",32938:\"SAMPLE_COVERAGE_VALUE\",32939:\"SAMPLE_COVERAGE_INVERT\",32968:\"BLEND_DST_RGB\",32969:\"BLEND_SRC_RGB\",32970:\"BLEND_DST_ALPHA\",32971:\"BLEND_SRC_ALPHA\",33071:\"CLAMP_TO_EDGE\",33170:\"GENERATE_MIPMAP_HINT\",33189:\"DEPTH_COMPONENT16\",33306:\"DEPTH_STENCIL_ATTACHMENT\",33635:\"UNSIGNED_SHORT_5_6_5\",33648:\"MIRRORED_REPEAT\",33901:\"ALIASED_POINT_SIZE_RANGE\",33902:\"ALIASED_LINE_WIDTH_RANGE\",33984:\"TEXTURE0\",33985:\"TEXTURE1\",33986:\"TEXTURE2\",33987:\"TEXTURE3\",33988:\"TEXTURE4\",33989:\"TEXTURE5\",33990:\"TEXTURE6\",33991:\"TEXTURE7\",33992:\"TEXTURE8\",33993:\"TEXTURE9\",33994:\"TEXTURE10\",33995:\"TEXTURE11\",33996:\"TEXTURE12\",33997:\"TEXTURE13\",33998:\"TEXTURE14\",33999:\"TEXTURE15\",34e3:\"TEXTURE16\",34001:\"TEXTURE17\",34002:\"TEXTURE18\",34003:\"TEXTURE19\",34004:\"TEXTURE20\",34005:\"TEXTURE21\",34006:\"TEXTURE22\",34007:\"TEXTURE23\",34008:\"TEXTURE24\",34009:\"TEXTURE25\",34010:\"TEXTURE26\",34011:\"TEXTURE27\",34012:\"TEXTURE28\",34013:\"TEXTURE29\",34014:\"TEXTURE30\",34015:\"TEXTURE31\",34016:\"ACTIVE_TEXTURE\",34024:\"MAX_RENDERBUFFER_SIZE\",34041:\"DEPTH_STENCIL\",34055:\"INCR_WRAP\",34056:\"DECR_WRAP\",34067:\"TEXTURE_CUBE_MAP\",34068:\"TEXTURE_BINDING_CUBE_MAP\",34069:\"TEXTURE_CUBE_MAP_POSITIVE_X\",34070:\"TEXTURE_CUBE_MAP_NEGATIVE_X\",34071:\"TEXTURE_CUBE_MAP_POSITIVE_Y\",34072:\"TEXTURE_CUBE_MAP_NEGATIVE_Y\",34073:\"TEXTURE_CUBE_MAP_POSITIVE_Z\",34074:\"TEXTURE_CUBE_MAP_NEGATIVE_Z\",34076:\"MAX_CUBE_MAP_TEXTURE_SIZE\",34338:\"VERTEX_ATTRIB_ARRAY_ENABLED\",34339:\"VERTEX_ATTRIB_ARRAY_SIZE\",34340:\"VERTEX_ATTRIB_ARRAY_STRIDE\",34341:\"VERTEX_ATTRIB_ARRAY_TYPE\",34342:\"CURRENT_VERTEX_ATTRIB\",34373:\"VERTEX_ATTRIB_ARRAY_POINTER\",34466:\"NUM_COMPRESSED_TEXTURE_FORMATS\",34467:\"COMPRESSED_TEXTURE_FORMATS\",34660:\"BUFFER_SIZE\",34661:\"BUFFER_USAGE\",34816:\"STENCIL_BACK_FUNC\",34817:\"STENCIL_BACK_FAIL\",34818:\"STENCIL_BACK_PASS_DEPTH_FAIL\",34819:\"STENCIL_BACK_PASS_DEPTH_PASS\",34877:\"BLEND_EQUATION_ALPHA\",34921:\"MAX_VERTEX_ATTRIBS\",34922:\"VERTEX_ATTRIB_ARRAY_NORMALIZED\",34930:\"MAX_TEXTURE_IMAGE_UNITS\",34962:\"ARRAY_BUFFER\",34963:\"ELEMENT_ARRAY_BUFFER\",34964:\"ARRAY_BUFFER_BINDING\",34965:\"ELEMENT_ARRAY_BUFFER_BINDING\",34975:\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",35040:\"STREAM_DRAW\",35044:\"STATIC_DRAW\",35048:\"DYNAMIC_DRAW\",35632:\"FRAGMENT_SHADER\",35633:\"VERTEX_SHADER\",35660:\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",35661:\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",35663:\"SHADER_TYPE\",35664:\"FLOAT_VEC2\",35665:\"FLOAT_VEC3\",35666:\"FLOAT_VEC4\",35667:\"INT_VEC2\",35668:\"INT_VEC3\",35669:\"INT_VEC4\",35670:\"BOOL\",35671:\"BOOL_VEC2\",35672:\"BOOL_VEC3\",35673:\"BOOL_VEC4\",35674:\"FLOAT_MAT2\",35675:\"FLOAT_MAT3\",35676:\"FLOAT_MAT4\",35678:\"SAMPLER_2D\",35680:\"SAMPLER_CUBE\",35712:\"DELETE_STATUS\",35713:\"COMPILE_STATUS\",35714:\"LINK_STATUS\",35715:\"VALIDATE_STATUS\",35716:\"INFO_LOG_LENGTH\",35717:\"ATTACHED_SHADERS\",35718:\"ACTIVE_UNIFORMS\",35719:\"ACTIVE_UNIFORM_MAX_LENGTH\",35720:\"SHADER_SOURCE_LENGTH\",35721:\"ACTIVE_ATTRIBUTES\",35722:\"ACTIVE_ATTRIBUTE_MAX_LENGTH\",35724:\"SHADING_LANGUAGE_VERSION\",35725:\"CURRENT_PROGRAM\",36003:\"STENCIL_BACK_REF\",36004:\"STENCIL_BACK_VALUE_MASK\",36005:\"STENCIL_BACK_WRITEMASK\",36006:\"FRAMEBUFFER_BINDING\",36007:\"RENDERBUFFER_BINDING\",36048:\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",36049:\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",36050:\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",36051:\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",36053:\"FRAMEBUFFER_COMPLETE\",36054:\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",36055:\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",36057:\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",36061:\"FRAMEBUFFER_UNSUPPORTED\",36064:\"COLOR_ATTACHMENT0\",36096:\"DEPTH_ATTACHMENT\",36128:\"STENCIL_ATTACHMENT\",36160:\"FRAMEBUFFER\",36161:\"RENDERBUFFER\",36162:\"RENDERBUFFER_WIDTH\",36163:\"RENDERBUFFER_HEIGHT\",36164:\"RENDERBUFFER_INTERNAL_FORMAT\",36168:\"STENCIL_INDEX8\",36176:\"RENDERBUFFER_RED_SIZE\",36177:\"RENDERBUFFER_GREEN_SIZE\",36178:\"RENDERBUFFER_BLUE_SIZE\",36179:\"RENDERBUFFER_ALPHA_SIZE\",36180:\"RENDERBUFFER_DEPTH_SIZE\",36181:\"RENDERBUFFER_STENCIL_SIZE\",36194:\"RGB565\",36336:\"LOW_FLOAT\",36337:\"MEDIUM_FLOAT\",36338:\"HIGH_FLOAT\",36339:\"LOW_INT\",36340:\"MEDIUM_INT\",36341:\"HIGH_INT\",36346:\"SHADER_COMPILER\",36347:\"MAX_VERTEX_UNIFORM_VECTORS\",36348:\"MAX_VARYING_VECTORS\",36349:\"MAX_FRAGMENT_UNIFORM_VECTORS\",37440:\"UNPACK_FLIP_Y_WEBGL\",37441:\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",37442:\"CONTEXT_LOST_WEBGL\",37443:\"UNPACK_COLORSPACE_CONVERSION_WEBGL\",37444:\"BROWSER_DEFAULT_WEBGL\"}},5171:function(e,t,r){var o=r(737);e.exports=function(i){return o[i]}},9165:function(e,t,r){\"use strict\";e.exports=T;var o=r(2762),n=r(8116),i=r(3436),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(l,_,w,M){this.gl=l,this.shader=M,this.buffer=_,this.vao=w,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var c=s.prototype;c.isOpaque=function(){return!this.hasAlpha},c.isTransparent=function(){return this.hasAlpha},c.drawTransparent=c.draw=function(l){var _=this.gl,w=this.shader.uniforms;this.shader.bind();var M=w.view=l.view||a,E=w.projection=l.projection||a;w.model=l.model||a,w.clipBounds=this.clipBounds,w.opacity=this.opacity;var m=M[12],b=M[13],v=M[14],u=M[15],y=l._ortho||!1,f=y?2:1,P=f*this.pixelRatio*(E[3]*m+E[7]*b+E[11]*v+E[15]*u)/_.drawingBufferHeight;this.vao.bind();for(var L=0;L<3;++L)_.lineWidth(this.lineWidth[L]*this.pixelRatio),w.capSize=this.capSize[L]*P,this.lineCount[L]&&_.drawArrays(_.LINES,this.lineOffset[L],this.lineCount[L]);this.vao.unbind()};function h(l,_){for(var w=0;w<3;++w)l[0][w]=Math.min(l[0][w],_[w]),l[1][w]=Math.max(l[1][w],_[w])}var p=function(){for(var l=new Array(3),_=0;_<3;++_){for(var w=[],M=1;M<=2;++M)for(var E=-1;E<=1;E+=2){var m=(M+_)%3,b=[0,0,0];b[m]=E,w.push(b)}l[_]=w}return l}();function d(l,_,w,M){for(var E=p[M],m=0;m0){var z=y.slice();z[v]+=P[1][v],E.push(y[0],y[1],y[2],L[0],L[1],L[2],L[3],0,0,0,z[0],z[1],z[2],L[0],L[1],L[2],L[3],0,0,0),h(this.bounds,z),b+=2+d(E,z,L,v)}}}this.lineCount[v]=b-this.lineOffset[v]}this.buffer.update(E)}},c.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function T(l){var _=l.gl,w=o(_),M=n(_,[{buffer:w,type:_.FLOAT,size:3,offset:0,stride:40},{buffer:w,type:_.FLOAT,size:4,offset:12,stride:40},{buffer:w,type:_.FLOAT,size:3,offset:28,stride:40}]),E=i(_);E.attributes.position.location=0,E.attributes.color.location=1,E.attributes.offset.location=2;var m=new s(_,w,M,E);return m.update(l),m}},3436:function(e,t,r){\"use strict\";var o=r(3236),n=r(9405),i=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, offset;\nattribute vec4 color;\nuniform mat4 model, view, projection;\nuniform float capSize;\nvarying vec4 fragColor;\nvarying vec3 fragPosition;\n\nvoid main() {\n vec4 worldPosition = model * vec4(position, 1.0);\n worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);\n gl_Position = projection * (view * worldPosition);\n fragColor = color;\n fragPosition = position;\n}`]),a=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float opacity;\nvarying vec3 fragPosition;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n gl_FragColor = opacity * fragColor;\n}`]);e.exports=function(s){return n(s,i,a,null,[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"offset\",type:\"vec3\"}])}},2260:function(e,t,r){\"use strict\";var o=r(7766);e.exports=b;var n=null,i,a,s,c;function h(v){var u=v.getParameter(v.FRAMEBUFFER_BINDING),y=v.getParameter(v.RENDERBUFFER_BINDING),f=v.getParameter(v.TEXTURE_BINDING_2D);return[u,y,f]}function p(v,u){v.bindFramebuffer(v.FRAMEBUFFER,u[0]),v.bindRenderbuffer(v.RENDERBUFFER,u[1]),v.bindTexture(v.TEXTURE_2D,u[2])}function d(v,u){var y=v.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL);n=new Array(y+1);for(var f=0;f<=y;++f){for(var P=new Array(y),L=0;L1&&F.drawBuffersWEBGL(n[z]);var U=y.getExtension(\"WEBGL_depth_texture\");U?B?v.depth=l(y,P,L,U.UNSIGNED_INT_24_8_WEBGL,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O&&(v.depth=l(y,P,L,y.UNSIGNED_SHORT,y.DEPTH_COMPONENT,y.DEPTH_ATTACHMENT)):O&&B?v._depth_rb=_(y,P,L,y.DEPTH_STENCIL,y.DEPTH_STENCIL_ATTACHMENT):O?v._depth_rb=_(y,P,L,y.DEPTH_COMPONENT16,y.DEPTH_ATTACHMENT):B&&(v._depth_rb=_(y,P,L,y.STENCIL_INDEX,y.STENCIL_ATTACHMENT));var W=y.checkFramebufferStatus(y.FRAMEBUFFER);if(W!==y.FRAMEBUFFER_COMPLETE){v._destroyed=!0,y.bindFramebuffer(y.FRAMEBUFFER,null),y.deleteFramebuffer(v.handle),v.handle=null,v.depth&&(v.depth.dispose(),v.depth=null),v._depth_rb&&(y.deleteRenderbuffer(v._depth_rb),v._depth_rb=null);for(var N=0;NP||y<0||y>P)throw new Error(\"gl-fbo: Can't resize FBO, invalid dimensions\");v._shape[0]=u,v._shape[1]=y;for(var L=h(f),z=0;zL||y<0||y>L)throw new Error(\"gl-fbo: Parameters are too large for FBO\");f=f||{};var z=1;if(\"color\"in f){if(z=Math.max(f.color|0,0),z<0)throw new Error(\"gl-fbo: Must specify a nonnegative number of colors\");if(z>1)if(P){if(z>v.getParameter(P.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error(\"gl-fbo: Context does not support \"+z+\" draw buffers\")}else throw new Error(\"gl-fbo: Multiple draw buffer extension not supported\")}var F=v.UNSIGNED_BYTE,B=v.getExtension(\"OES_texture_float\");if(f.float&&z>0){if(!B)throw new Error(\"gl-fbo: Context does not support floating point textures\");F=v.FLOAT}else f.preferFloat&&z>0&&B&&(F=v.FLOAT);var O=!0;\"depth\"in f&&(O=!!f.depth);var I=!1;return\"stencil\"in f&&(I=!!f.stencil),new M(v,u,y,F,z,O,I,P)}},2992:function(e,t,r){var o=r(3387).sprintf,n=r(5171),i=r(1848),a=r(1085);e.exports=s;function s(c,h,p){\"use strict\";var d=i(h)||\"of unknown name (see npm glsl-shader-name)\",T=\"unknown type\";p!==void 0&&(T=p===n.FRAGMENT_SHADER?\"fragment\":\"vertex\");for(var l=o(`Error compiling %s shader %s:\n`,T,d),_=o(\"%s%s\",l,c),w=c.split(`\n`),M={},E=0;E max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D dashTexture;\nuniform float dashScale;\nuniform float opacity;\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\n if(dashWeight < 0.5) {\n discard;\n }\n gl_FragColor = fragColor * opacity;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX 1.70141184e38\n#define FLOAT_MIN 1.17549435e-38\n\n// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl\nvec4 packFloat(float v) {\n float av = abs(v);\n\n //Handle special cases\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n float e = floor(log2(av));\n float m = av * pow(2.0, -e) - 1.0;\n\n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\n m -= c[2] / 32768.0;\n c[3] = floor(8388608.0 * m);\n\n //Unpack exponent\n float ebias = e + 127.0;\n c[0] = floor(ebias / 2.0);\n ebias -= c[0] * 2.0;\n c[1] += floor(ebias) * 128.0;\n\n //Unpack sign bit\n c[0] += 128.0 * step(0.0, -v);\n\n //Scale back to range\n return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);\n}`]),c=[{name:\"position\",type:\"vec3\"},{name:\"nextPosition\",type:\"vec3\"},{name:\"arcLength\",type:\"float\"},{name:\"lineWidth\",type:\"float\"},{name:\"color\",type:\"vec4\"}];t.createShader=function(h){return n(h,i,a,null,c)},t.createPickShader=function(h){return n(h,i,s,null,c)}},5714:function(e,t,r){\"use strict\";e.exports=v;var o=r(2762),n=r(8116),i=r(7766),a=new Uint8Array(4),s=new Float32Array(a.buffer);function c(u,y,f,P){return a[0]=P,a[1]=f,a[2]=y,a[3]=u,s[0]}var h=r(2478),p=r(9618),d=r(7319),T=d.createShader,l=d.createPickShader,_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function w(u,y){for(var f=0,P=0;P<3;++P){var L=u[P]-y[P];f+=L*L}return Math.sqrt(f)}function M(u){for(var y=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],f=0;f<3;++f)y[0][f]=Math.max(u[0][f],y[0][f]),y[1][f]=Math.min(u[1][f],y[1][f]);return y}function E(u,y,f,P){this.arcLength=u,this.position=y,this.index=f,this.dataCoordinate=P}function m(u,y,f,P,L,z){this.gl=u,this.shader=y,this.pickShader=f,this.buffer=P,this.vao=L,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=z,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=m.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(u){this.pickId=u},b.drawTransparent=b.draw=function(u){if(this.vertexCount){var y=this.gl,f=this.shader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,clipBounds:M(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.drawPick=function(u){if(this.vertexCount){var y=this.gl,f=this.pickShader,P=this.vao;f.bind(),f.uniforms={model:u.model||_,view:u.view||_,projection:u.projection||_,pickId:this.pickId,clipBounds:M(this.clipBounds),screenShape:[y.drawingBufferWidth,y.drawingBufferHeight],pixelRatio:this.pixelRatio},P.bind(),P.draw(y.TRIANGLE_STRIP,this.vertexCount),P.unbind()}},b.update=function(u){var y,f;this.dirty=!0;var P=!!u.connectGaps;\"dashScale\"in u&&(this.dashScale=u.dashScale),this.hasAlpha=!1,\"opacity\"in u&&(this.opacity=+u.opacity,this.opacity<1&&(this.hasAlpha=!0));var L=[],z=[],F=[],B=0,O=0,I=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],N=u.position||u.positions;if(N){var U=u.color||u.colors||[0,0,0,1],W=u.lineWidth||1,Q=!1;e:for(y=1;y0){for(var fe=0;fe<24;++fe)L.push(L[L.length-12]);O+=2,Q=!0}continue e}I[0][f]=Math.min(I[0][f],le[f],se[f]),I[1][f]=Math.max(I[1][f],le[f],se[f])}var G,$;Array.isArray(U[0])?(G=U.length>y-1?U[y-1]:U.length>0?U[U.length-1]:[0,0,0,1],$=U.length>y?U[y]:U.length>0?U[U.length-1]:[0,0,0,1]):G=$=U,G.length===3&&(G=[G[0],G[1],G[2],1]),$.length===3&&($=[$[0],$[1],$[2],1]),!this.hasAlpha&&G[3]<1&&(this.hasAlpha=!0);var J;Array.isArray(W)?J=W.length>y-1?W[y-1]:W.length>0?W[W.length-1]:[0,0,0,1]:J=W;var X=B;if(B+=w(le,se),Q){for(f=0;f<2;++f)L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3]);O+=2,Q=!1}L.push(le[0],le[1],le[2],se[0],se[1],se[2],X,J,G[0],G[1],G[2],G[3],le[0],le[1],le[2],se[0],se[1],se[2],X,-J,G[0],G[1],G[2],G[3],se[0],se[1],se[2],le[0],le[1],le[2],B,-J,$[0],$[1],$[2],$[3],se[0],se[1],se[2],le[0],le[1],le[2],B,J,$[0],$[1],$[2],$[3]),O+=4}}if(this.buffer.update(L),z.push(B),F.push(N[N.length-1].slice()),this.bounds=I,this.vertexCount=O,this.points=F,this.arcLength=z,\"dashes\"in u){var re=u.dashes,ae=re.slice();for(ae.unshift(0),y=1;y1.0001)return null;f+=y[E]}return Math.abs(f-1)>.001?null:[m,c(p,y),y]}},840:function(e,t,r){var o=r(3236),n=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, normal;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model\n , view\n , projection\n , inverseModel;\nuniform vec3 eyePosition\n , lightPosition;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvec4 project(vec3 p) {\n return projection * (view * (model * vec4(p, 1.0)));\n}\n\nvoid main() {\n gl_Position = project(position);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * vec4(position , 1.0);\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n f_color = color;\n f_data = position;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\n//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness\n , fresnel\n , kambient\n , kdiffuse\n , kspecular;\nuniform sampler2D texture;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (f_color.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], f_data)\n ) discard;\n\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d\n\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * f_color.a;\n}\n`]),a=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model, view, projection;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n f_color = color;\n f_data = position;\n f_uv = uv;\n}`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;\n\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}`]),c=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\nattribute float pointSize;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);\n } else {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n }\n gl_PointSize = pointSize;\n f_color = color;\n f_uv = uv;\n}`]),h=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);\n if(dot(pointR, pointR) > 0.25) {\n discard;\n }\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}`]),p=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n f_id = id;\n f_position = position;\n}`]),d=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]),T=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute float pointSize;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0, 0.0, 0.0);\n } else {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n gl_PointSize = pointSize;\n }\n f_id = id;\n f_position = position;\n}`]),l=o([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\n\nvoid main() {\n gl_Position = projection * (view * (model * vec4(position, 1.0)));\n}`]),_=o([`precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 contourColor;\n\nvoid main() {\n gl_FragColor = vec4(contourColor, 1.0);\n}\n`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"}]},t.wireShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"}]},t.pointShader={vertex:c,fragment:h,attributes:[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"pointSize\",type:\"float\"}]},t.pickShader={vertex:p,fragment:d,attributes:[{name:\"position\",type:\"vec3\"},{name:\"id\",type:\"vec4\"}]},t.pointPickShader={vertex:T,fragment:d,attributes:[{name:\"position\",type:\"vec3\"},{name:\"pointSize\",type:\"float\"},{name:\"id\",type:\"vec4\"}]},t.contourShader={vertex:l,fragment:_,attributes:[{name:\"position\",type:\"vec3\"}]}},7201:function(e,t,r){\"use strict\";var o=1e-6,n=1e-6,i=r(9405),a=r(2762),s=r(8116),c=r(7766),h=r(8406),p=r(6760),d=r(7608),T=r(9618),l=r(6729),_=r(7765),w=r(1888),M=r(840),E=r(7626),m=M.meshShader,b=M.wireShader,v=M.pointShader,u=M.pickShader,y=M.pointPickShader,f=M.contourShader,P=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function L(fe,G,$,J,X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et){this.gl=fe,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=G,this.dirty=!0,this.triShader=$,this.lineShader=J,this.pointShader=X,this.pickShader=re,this.pointPickShader=ae,this.contourShader=j,this.trianglePositions=ee,this.triangleColors=ce,this.triangleNormals=Te,this.triangleUVs=xe,this.triangleIds=ie,this.triangleVAO=Ue,this.triangleCount=0,this.lineWidth=1,this.edgePositions=Ie,this.edgeColors=it,this.edgeUVs=at,this.edgeIds=Ye,this.edgeVAO=tt,this.edgeCount=0,this.pointPositions=ut,this.pointColors=pe,this.pointUVs=ue,this.pointSizes=Oe,this.pointIds=Me,this.pointVAO=rt,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=ot,this.contourVAO=et,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=P,this._view=P,this._projection=P,this._resolution=[1,1]}var z=L.prototype;z.isOpaque=function(){return!this.hasAlpha},z.isTransparent=function(){return this.hasAlpha},z.pickSlots=1,z.setPickBase=function(fe){this.pickId=fe};function F(fe,G){if(!G||!G.length)return 1;for(var $=0;$fe&&$>0){var J=(G[$][0]-fe)/(G[$][0]-G[$-1][0]);return G[$][1]*(1-J)+J*G[$-1][1]}}return 1}function B(fe,G){for(var $=l({colormap:fe,nshades:256,format:\"rgba\"}),J=new Uint8Array(256*4),X=0;X<256;++X){for(var re=$[X],ae=0;ae<3;++ae)J[4*X+ae]=re[ae];G?J[4*X+3]=255*F(X/255,G):J[4*X+3]=255*re[3]}return T(J,[256,256,4],[4,0,1])}function O(fe){for(var G=fe.length,$=new Array(G),J=0;J0){var Te=this.triShader;Te.bind(),Te.uniforms=j,this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Te=this.lineShader;Te.bind(),Te.uniforms=j,this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Te=this.pointShader;Te.bind(),Te.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Te=this.contourShader;Te.bind(),Te.uniforms=j,this.contourVAO.bind(),G.drawArrays(G.LINES,0,this.contourCount),this.contourVAO.unbind()}},z.drawPick=function(fe){fe=fe||{};for(var G=this.gl,$=fe.model||P,J=fe.view||P,X=fe.projection||P,re=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],ae=0;ae<3;++ae)re[0][ae]=Math.max(re[0][ae],this.clipBounds[0][ae]),re[1][ae]=Math.min(re[1][ae],this.clipBounds[1][ae]);this._model=[].slice.call($),this._view=[].slice.call(J),this._projection=[].slice.call(X),this._resolution=[G.drawingBufferWidth,G.drawingBufferHeight];var j={model:$,view:J,projection:X,clipBounds:re,pickId:this.pickId/255},ee=this.pickShader;if(ee.bind(),ee.uniforms=j,this.triangleCount>0&&(this.triangleVAO.bind(),G.drawArrays(G.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),G.lineWidth(this.lineWidth*this.pixelRatio),G.drawArrays(G.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var ee=this.pointPickShader;ee.bind(),ee.uniforms=j,this.pointVAO.bind(),G.drawArrays(G.POINTS,0,this.pointCount),this.pointVAO.unbind()}},z.pick=function(fe){if(!fe||fe.id!==this.pickId)return null;for(var G=fe.value[0]+256*fe.value[1]+65536*fe.value[2],$=this.cells[G],J=this.positions,X=new Array($.length),re=0;re<$.length;++re)X[re]=J[$[re]];var ae=fe.coord[0],j=fe.coord[1];if(!this.pickVertex){var ee=this.positions[$[0]],ie=this.positions[$[1]],ce=this.positions[$[2]],xe=[(ee[0]+ie[0]+ce[0])/3,(ee[1]+ie[1]+ce[1])/3,(ee[2]+ie[2]+ce[2])/3];return{_cellCenter:!0,position:[ae,j],index:G,cell:$,cellId:G,intensity:this.intensity[G],dataCoordinate:xe}}var Te=E(X,[ae*this.pixelRatio,this._resolution[1]-j*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!Te)return null;for(var Ue=Te[2],Ie=0,re=0;re<$.length;++re)Ie+=Ue[re]*this.intensity[$[re]];return{position:Te[1],index:$[Te[0]],cell:$,cellId:G,intensity:Ie,dataCoordinate:this.positions[$[Te[0]]]}},z.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()};function I(fe){var G=i(fe,m.vertex,m.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.normal.location=4,G}function N(fe){var G=i(fe,b.vertex,b.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G}function U(fe){var G=i(fe,v.vertex,v.fragment);return G.attributes.position.location=0,G.attributes.color.location=2,G.attributes.uv.location=3,G.attributes.pointSize.location=4,G}function W(fe){var G=i(fe,u.vertex,u.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G}function Q(fe){var G=i(fe,y.vertex,y.fragment);return G.attributes.position.location=0,G.attributes.id.location=1,G.attributes.pointSize.location=4,G}function le(fe){var G=i(fe,f.vertex,f.fragment);return G.attributes.position.location=0,G}function se(fe,G){arguments.length===1&&(G=fe,fe=G.gl);var $=fe.getExtension(\"OES_standard_derivatives\")||fe.getExtension(\"MOZ_OES_standard_derivatives\")||fe.getExtension(\"WEBKIT_OES_standard_derivatives\");if(!$)throw new Error(\"derivatives not supported\");var J=I(fe),X=N(fe),re=U(fe),ae=W(fe),j=Q(fe),ee=le(fe),ie=c(fe,T(new Uint8Array([255,255,255,255]),[1,1,4]));ie.generateMipmap(),ie.minFilter=fe.LINEAR_MIPMAP_LINEAR,ie.magFilter=fe.LINEAR;var ce=a(fe),xe=a(fe),Te=a(fe),Ue=a(fe),Ie=a(fe),Ye=s(fe,[{buffer:ce,type:fe.FLOAT,size:3},{buffer:Ie,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:xe,type:fe.FLOAT,size:4},{buffer:Te,type:fe.FLOAT,size:2},{buffer:Ue,type:fe.FLOAT,size:3}]),it=a(fe),at=a(fe),tt=a(fe),ut=a(fe),Me=s(fe,[{buffer:it,type:fe.FLOAT,size:3},{buffer:ut,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:at,type:fe.FLOAT,size:4},{buffer:tt,type:fe.FLOAT,size:2}]),pe=a(fe),ue=a(fe),Oe=a(fe),rt=a(fe),ot=a(fe),et=s(fe,[{buffer:pe,type:fe.FLOAT,size:3},{buffer:ot,type:fe.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:ue,type:fe.FLOAT,size:4},{buffer:Oe,type:fe.FLOAT,size:2},{buffer:rt,type:fe.FLOAT,size:1}]),Lt=a(fe),Et=s(fe,[{buffer:Lt,type:fe.FLOAT,size:3}]),Bt=new L(fe,ie,J,X,re,ae,j,ee,ce,Ie,xe,Te,Ue,Ye,it,ut,at,tt,Me,pe,ot,ue,Oe,rt,et,Lt,Et);return Bt.update(G),Bt}e.exports=se},4437:function(e,t,r){\"use strict\";e.exports=h;var o=r(3025),n=r(6296),i=r(351),a=r(8512),s=r(24),c=r(7520);function h(p,d){p=p||document.body,d=d||{};var T=[.01,1/0];\"distanceLimits\"in d&&(T[0]=d.distanceLimits[0],T[1]=d.distanceLimits[1]),\"zoomMin\"in d&&(T[0]=d.zoomMin),\"zoomMax\"in d&&(T[1]=d.zoomMax);var l=n({center:d.center||[0,0,0],up:d.up||[0,1,0],eye:d.eye||[0,0,10],mode:d.mode||\"orbit\",distanceLimits:T}),_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0,M=p.clientWidth,E=p.clientHeight,m={keyBindingMode:\"rotate\",enableWheel:!0,view:l,element:p,delay:d.delay||16,rotateSpeed:d.rotateSpeed||1,zoomSpeed:d.zoomSpeed||1,translateSpeed:d.translateSpeed||1,flipX:!!d.flipX,flipY:!!d.flipY,modes:l.modes,_ortho:d._ortho||d.projection&&d.projection.type===\"orthographic\"||!1,tick:function(){var b=o(),v=this.delay,u=b-2*v;l.idle(b-v),l.recalcMatrix(u),l.flush(b-(100+v*2));for(var y=!0,f=l.computedMatrix,P=0;P<16;++P)y=y&&_[P]===f[P],_[P]=f[P];var L=p.clientWidth===M&&p.clientHeight===E;return M=p.clientWidth,E=p.clientHeight,y?!L:(w=Math.exp(l.computedRadius[0]),!0)},lookAt:function(b,v,u){l.lookAt(l.lastT(),b,v,u)},rotate:function(b,v,u){l.rotate(l.lastT(),b,v,u)},pan:function(b,v,u){l.pan(l.lastT(),b,v,u)},translate:function(b,v,u){l.translate(l.lastT(),b,v,u)}};return Object.defineProperties(m,{matrix:{get:function(){return l.computedMatrix},set:function(b){return l.setMatrix(l.lastT(),b),l.computedMatrix},enumerable:!0},mode:{get:function(){return l.getMode()},set:function(b){var v=l.computedUp.slice(),u=l.computedEye.slice(),y=l.computedCenter.slice();if(l.setMode(b),b===\"turntable\"){var f=o();l._active.lookAt(f,u,y,v),l._active.lookAt(f+500,u,y,[0,0,1]),l._active.flush(f)}return l.getMode()},enumerable:!0},center:{get:function(){return l.computedCenter},set:function(b){return l.lookAt(l.lastT(),null,b),l.computedCenter},enumerable:!0},eye:{get:function(){return l.computedEye},set:function(b){return l.lookAt(l.lastT(),b),l.computedEye},enumerable:!0},up:{get:function(){return l.computedUp},set:function(b){return l.lookAt(l.lastT(),null,null,b),l.computedUp},enumerable:!0},distance:{get:function(){return w},set:function(b){return l.setDistance(l.lastT(),b),b},enumerable:!0},distanceLimits:{get:function(){return l.getDistanceLimits(T)},set:function(b){return l.setDistanceLimits(b),b},enumerable:!0}}),p.addEventListener(\"contextmenu\",function(b){return b.preventDefault(),!1}),m._lastX=-1,m._lastY=-1,m._lastMods={shift:!1,control:!1,alt:!1,meta:!1},m.enableMouseListeners=function(){m.mouseListener=i(p,b),p.addEventListener(\"touchstart\",function(v){var u=s(v.changedTouches[0],p);b(0,u[0],u[1],m._lastMods),b(1,u[0],u[1],m._lastMods)},c?{passive:!0}:!1),p.addEventListener(\"touchmove\",function(v){var u=s(v.changedTouches[0],p);b(1,u[0],u[1],m._lastMods),v.preventDefault()},c?{passive:!1}:!1),p.addEventListener(\"touchend\",function(v){b(0,m._lastX,m._lastY,m._lastMods)},c?{passive:!0}:!1);function b(v,u,y,f){var P=m.keyBindingMode;if(P!==!1){var L=P===\"rotate\",z=P===\"pan\",F=P===\"zoom\",B=!!f.control,O=!!f.alt,I=!!f.shift,N=!!(v&1),U=!!(v&2),W=!!(v&4),Q=1/p.clientHeight,le=Q*(u-m._lastX),se=Q*(y-m._lastY),fe=m.flipX?1:-1,G=m.flipY?1:-1,$=Math.PI*m.rotateSpeed,J=o();if(m._lastX!==-1&&m._lastY!==-1&&((L&&N&&!B&&!O&&!I||N&&!B&&!O&&I)&&l.rotate(J,fe*$*le,-G*$*se,0),(z&&N&&!B&&!O&&!I||U||N&&B&&!O&&!I)&&l.pan(J,-m.translateSpeed*le*w,m.translateSpeed*se*w,0),F&&N&&!B&&!O&&!I||W||N&&!B&&O&&!I)){var X=-m.zoomSpeed*se/window.innerHeight*(J-l.lastT())*100;l.pan(J,0,0,w*(Math.exp(X)-1))}return m._lastX=u,m._lastY=y,m._lastMods=f,!0}}m.wheelListener=a(p,function(v,u){if(m.keyBindingMode!==!1&&m.enableWheel){var y=m.flipX?1:-1,f=m.flipY?1:-1,P=o();if(Math.abs(v)>Math.abs(u))l.rotate(P,0,0,-v*y*Math.PI*m.rotateSpeed/window.innerWidth);else if(!m._ortho){var L=-m.zoomSpeed*f*u/window.innerHeight*(P-l.lastT())/20;l.pan(P,0,0,w*(Math.exp(L)-1))}}},!0)},m.enableMouseListeners(),m}},799:function(e,t,r){var o=r(3236),n=r(9405),i=o([`precision mediump float;\n#define GLSLIFY 1\nattribute vec2 position;\nvarying vec2 uv;\nvoid main() {\n uv = position;\n gl_Position = vec4(position, 0, 1);\n}`]),a=o([`precision mediump float;\n#define GLSLIFY 1\n\nuniform sampler2D accumBuffer;\nvarying vec2 uv;\n\nvoid main() {\n vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));\n gl_FragColor = min(vec4(1,1,1,1), accum);\n}`]);e.exports=function(s){return n(s,i,a,null,[{name:\"position\",type:\"vec2\"}])}},4100:function(e,t,r){\"use strict\";var o=r(4437),n=r(3837),i=r(5445),a=r(4449),s=r(3589),c=r(2260),h=r(7169),p=r(351),d=r(4772),T=r(4040),l=r(799),_=r(9216)({tablet:!0,featureDetect:!0});e.exports={createScene:b,createCamera:o};function w(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function M(u,y){var f=null;try{f=u.getContext(\"webgl\",y),f||(f=u.getContext(\"experimental-webgl\",y))}catch{return null}return f}function E(u){var y=Math.round(Math.log(Math.abs(u))/Math.log(10));if(y<0){var f=Math.round(Math.pow(10,-y));return Math.ceil(u*f)/f}else if(y>0){var f=Math.round(Math.pow(10,y));return Math.ceil(u/f)*f}return Math.ceil(u)}function m(u){return typeof u==\"boolean\"?u:!0}function b(u){u=u||{},u.camera=u.camera||{};var y=u.canvas;if(!y)if(y=document.createElement(\"canvas\"),u.container){var f=u.container;f.appendChild(y)}else document.body.appendChild(y);var P=u.gl;if(P||(u.glOptions&&(_=!!u.glOptions.preserveDrawingBuffer),P=M(y,u.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:_})),!P)throw new Error(\"webgl not supported\");var L=u.bounds||[[-10,-10,-10],[10,10,10]],z=new w,F=c(P,P.drawingBufferWidth,P.drawingBufferHeight,{preferFloat:!_}),B=l(P),O=u.cameraObject&&u.cameraObject._ortho===!0||u.camera.projection&&u.camera.projection.type===\"orthographic\"||!1,I={eye:u.camera.eye||[2,0,0],center:u.camera.center||[0,0,0],up:u.camera.up||[0,1,0],zoomMin:u.camera.zoomMax||.1,zoomMax:u.camera.zoomMin||100,mode:u.camera.mode||\"turntable\",_ortho:O},N=u.axes||{},U=n(P,N);U.enable=!N.disable;var W=u.spikes||{},Q=a(P,W),le=[],se=[],fe=[],G=[],$=!0,ae=!0,J=new Array(16),X=new Array(16),re={view:null,projection:J,model:X,_ortho:!1},ae=!0,j=[P.drawingBufferWidth,P.drawingBufferHeight],ee=u.cameraObject||o(y,I),ie={gl:P,contextLost:!1,pixelRatio:u.pixelRatio||1,canvas:y,selection:z,camera:ee,axes:U,axesPixels:null,spikes:Q,bounds:L,objects:le,shape:j,aspect:u.aspectRatio||[1,1,1],pickRadius:u.pickRadius||10,zNear:u.zNear||.01,zFar:u.zFar||1e3,fovy:u.fovy||Math.PI/4,clearColor:u.clearColor||[0,0,0,0],autoResize:m(u.autoResize),autoBounds:m(u.autoBounds),autoScale:!!u.autoScale,autoCenter:m(u.autoCenter),clipToBounds:m(u.clipToBounds),snapToData:!!u.snapToData,onselect:u.onselect||null,onrender:u.onrender||null,onclick:u.onclick||null,cameraParams:re,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(ut){this.aspect[0]=ut.x,this.aspect[1]=ut.y,this.aspect[2]=ut.z,ae=!0},setBounds:function(ut,Me){this.bounds[0][ut]=Me.min,this.bounds[1][ut]=Me.max},setClearColor:function(ut){this.clearColor=ut},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ce=[P.drawingBufferWidth/ie.pixelRatio|0,P.drawingBufferHeight/ie.pixelRatio|0];function xe(){if(!ie._stopped&&ie.autoResize){var ut=y.parentNode,Me=1,pe=1;ut&&ut!==document.body?(Me=ut.clientWidth,pe=ut.clientHeight):(Me=window.innerWidth,pe=window.innerHeight);var ue=Math.ceil(Me*ie.pixelRatio)|0,Oe=Math.ceil(pe*ie.pixelRatio)|0;if(ue!==y.width||Oe!==y.height){y.width=ue,y.height=Oe;var rt=y.style;rt.position=rt.position||\"absolute\",rt.left=\"0px\",rt.top=\"0px\",rt.width=Me+\"px\",rt.height=pe+\"px\",$=!0}}}ie.autoResize&&xe(),window.addEventListener(\"resize\",xe);function Te(){for(var ut=le.length,Me=G.length,pe=0;pe0&&fe[Me-1]===0;)fe.pop(),G.pop().dispose()}ie.update=function(ut){ie._stopped||(ut=ut||{},$=!0,ae=!0)},ie.add=function(ut){ie._stopped||(ut.axes=U,le.push(ut),se.push(-1),$=!0,ae=!0,Te())},ie.remove=function(ut){if(!ie._stopped){var Me=le.indexOf(ut);Me<0||(le.splice(Me,1),se.pop(),$=!0,ae=!0,Te())}},ie.dispose=function(){if(!ie._stopped&&(ie._stopped=!0,window.removeEventListener(\"resize\",xe),y.removeEventListener(\"webglcontextlost\",Ue),ie.mouseListener.enabled=!1,!ie.contextLost)){U.dispose(),Q.dispose();for(var ut=0;utz.distance)continue;for(var Et=0;Et1e-6?(_=Math.acos(w),M=Math.sin(_),E=Math.sin((1-i)*_)/M,m=Math.sin(i*_)/M):(E=1-i,m=i),r[0]=E*a+m*p,r[1]=E*s+m*d,r[2]=E*c+m*T,r[3]=E*h+m*l,r}},5964:function(e){\"use strict\";e.exports=function(t){return!t&&t!==0?\"\":t.toString()}},9366:function(e,t,r){\"use strict\";var o=r(4359);e.exports=i;var n={};function i(a,s,c){var h=[s.style,s.weight,s.variant,s.family].join(\"_\"),p=n[h];if(p||(p=n[h]={}),a in p)return p[a];var d={textAlign:\"center\",textBaseline:\"middle\",lineHeight:1,font:s.family,fontStyle:s.style,fontWeight:s.weight,fontVariant:s.variant,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};d.triangles=!0;var T=o(a,d);d.triangles=!1;var l=o(a,d),_,w;if(c&&c!==1){for(_=0;_ max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform vec4 highlightId;\nuniform float highlightScale;\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = 1.0;\n if(distance(highlightId, id) < 0.0001) {\n scale = highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1);\n vec4 viewPosition = view * worldPosition;\n viewPosition = viewPosition / viewPosition.w;\n vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}`]),a=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float highlightScale, pixelRatio;\nuniform vec4 highlightId;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = pixelRatio;\n if(distance(highlightId.bgr, id.bgr) < 0.001) {\n scale *= highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1.0);\n vec4 viewPosition = view * worldPosition;\n vec4 clipPosition = projection * viewPosition;\n clipPosition /= clipPosition.w;\n\n gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}`]),s=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform float highlightScale;\nuniform vec4 highlightId;\nuniform vec3 axes[2];\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float scale, pixelRatio;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float lscale = pixelRatio * scale;\n if(distance(highlightId, id) < 0.0001) {\n lscale *= highlightScale;\n }\n\n vec4 clipCenter = projection * (view * (model * vec4(position, 1)));\n vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;\n vec4 clipPosition = projection * (view * (model * vec4(dataPosition, 1)));\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = dataPosition;\n }\n}\n`]),c=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float opacity;\n\nvarying vec4 interpColor;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (\n outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\n interpColor.a * opacity == 0.\n ) discard;\n gl_FragColor = interpColor * opacity;\n}\n`]),h=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float pickGroup;\n\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;\n\n gl_FragColor = vec4(pickGroup, pickId.bgr);\n}`]),p=[{name:\"position\",type:\"vec3\"},{name:\"color\",type:\"vec4\"},{name:\"glyph\",type:\"vec2\"},{name:\"id\",type:\"vec4\"}],d={vertex:i,fragment:c,attributes:p},T={vertex:a,fragment:c,attributes:p},l={vertex:s,fragment:c,attributes:p},_={vertex:i,fragment:h,attributes:p},w={vertex:a,fragment:h,attributes:p},M={vertex:s,fragment:h,attributes:p};function E(m,b){var v=o(m,b),u=v.attributes;return u.position.location=0,u.color.location=1,u.glyph.location=2,u.id.location=3,v}t.createPerspective=function(m){return E(m,d)},t.createOrtho=function(m){return E(m,T)},t.createProject=function(m){return E(m,l)},t.createPickPerspective=function(m){return E(m,_)},t.createPickOrtho=function(m){return E(m,w)},t.createPickProject=function(m){return E(m,M)}},8418:function(e,t,r){\"use strict\";var o=r(5219),n=r(2762),i=r(8116),a=r(1888),s=r(6760),c=r(1283),h=r(9366),p=r(5964),d=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],T=ArrayBuffer,l=DataView;function _(X){return T.isView(X)&&!(X instanceof l)}function w(X){return Array.isArray(X)||_(X)}e.exports=J;function M(X,re){var ae=X[0],j=X[1],ee=X[2],ie=X[3];return X[0]=re[0]*ae+re[4]*j+re[8]*ee+re[12]*ie,X[1]=re[1]*ae+re[5]*j+re[9]*ee+re[13]*ie,X[2]=re[2]*ae+re[6]*j+re[10]*ee+re[14]*ie,X[3]=re[3]*ae+re[7]*j+re[11]*ee+re[15]*ie,X}function E(X,re,ae,j){return M(j,j,ae),M(j,j,re),M(j,j,X)}function m(X,re){this.index=X,this.dataCoordinate=this.position=re}function b(X){return X===!0||X>1?1:X}function v(X,re,ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye){this.gl=X,this.pixelRatio=1,this.shader=re,this.orthoShader=ae,this.projectShader=j,this.pointBuffer=ee,this.colorBuffer=ie,this.glyphBuffer=ce,this.idBuffer=xe,this.vao=Te,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=Ue,this.pickOrthoShader=Ie,this.pickProjectShader=Ye,this.points=[],this._selectResult=new m(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var u=v.prototype;u.pickSlots=1,u.setPickBase=function(X){this.pickId=X},u.isTransparent=function(){if(this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&this.projectHasAlpha)return!0;return!1},u.isOpaque=function(){if(!this.hasAlpha)return!0;for(var X=0;X<3;++X)if(this.axesProject[X]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],f=[0,0,0],P=[0,0,0],L=[0,0,0,1],z=[0,0,0,1],F=d.slice(),B=[0,0,0],O=[[0,0,0],[0,0,0]];function I(X){return X[0]=X[1]=X[2]=0,X}function N(X,re){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[3]=1,X}function U(X,re,ae,j){return X[0]=re[0],X[1]=re[1],X[2]=re[2],X[ae]=j,X}function W(X){for(var re=O,ae=0;ae<2;++ae)for(var j=0;j<3;++j)re[ae][j]=Math.max(Math.min(X[ae][j],1e8),-1e8);return re}function Q(X,re,ae,j){var ee=re.axesProject,ie=re.gl,ce=X.uniforms,xe=ae.model||d,Te=ae.view||d,Ue=ae.projection||d,Ie=re.axesBounds,Ye=W(re.clipBounds),it;re.axes&&re.axes.lastCubeProps?it=re.axes.lastCubeProps.axis:it=[1,1,1],y[0]=2/ie.drawingBufferWidth,y[1]=2/ie.drawingBufferHeight,X.bind(),ce.view=Te,ce.projection=Ue,ce.screenSize=y,ce.highlightId=re.highlightId,ce.highlightScale=re.highlightScale,ce.clipBounds=Ye,ce.pickGroup=re.pickId/255,ce.pixelRatio=j;for(var at=0;at<3;++at)if(ee[at]){ce.scale=re.projectScale[at],ce.opacity=re.projectOpacity[at];for(var tt=F,ut=0;ut<16;++ut)tt[ut]=0;for(var ut=0;ut<4;++ut)tt[5*ut]=1;tt[5*at]=0,it[at]<0?tt[12+at]=Ie[0][at]:tt[12+at]=Ie[1][at],s(tt,xe,tt),ce.model=tt;var Me=(at+1)%3,pe=(at+2)%3,ue=I(f),Oe=I(P);ue[Me]=1,Oe[pe]=1;var rt=E(Ue,Te,xe,N(L,ue)),ot=E(Ue,Te,xe,N(z,Oe));if(Math.abs(rt[1])>Math.abs(ot[1])){var et=rt;rt=ot,ot=et,et=ue,ue=Oe,Oe=et;var Lt=Me;Me=pe,pe=Lt}rt[0]<0&&(ue[Me]=-1),ot[1]>0&&(Oe[pe]=-1);for(var Et=0,Bt=0,ut=0;ut<4;++ut)Et+=Math.pow(xe[4*Me+ut],2),Bt+=Math.pow(xe[4*pe+ut],2);ue[Me]/=Math.sqrt(Et),Oe[pe]/=Math.sqrt(Bt),ce.axes[0]=ue,ce.axes[1]=Oe,ce.fragClipBounds[0]=U(B,Ye[0],at,-1e8),ce.fragClipBounds[1]=U(B,Ye[1],at,1e8),re.vao.bind(),re.vao.draw(ie.TRIANGLES,re.vertexCount),re.lineWidth>0&&(ie.lineWidth(re.lineWidth*j),re.vao.draw(ie.LINES,re.lineVertexCount,re.vertexCount)),re.vao.unbind()}}var le=[-1e8,-1e8,-1e8],se=[1e8,1e8,1e8],fe=[le,se];function G(X,re,ae,j,ee,ie,ce){var xe=ae.gl;if((ie===ae.projectHasAlpha||ce)&&Q(re,ae,j,ee),ie===ae.hasAlpha||ce){X.bind();var Te=X.uniforms;Te.model=j.model||d,Te.view=j.view||d,Te.projection=j.projection||d,y[0]=2/xe.drawingBufferWidth,y[1]=2/xe.drawingBufferHeight,Te.screenSize=y,Te.highlightId=ae.highlightId,Te.highlightScale=ae.highlightScale,Te.fragClipBounds=fe,Te.clipBounds=ae.axes.bounds,Te.opacity=ae.opacity,Te.pickGroup=ae.pickId/255,Te.pixelRatio=ee,ae.vao.bind(),ae.vao.draw(xe.TRIANGLES,ae.vertexCount),ae.lineWidth>0&&(xe.lineWidth(ae.lineWidth*ee),ae.vao.draw(xe.LINES,ae.lineVertexCount,ae.vertexCount)),ae.vao.unbind()}}u.draw=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!1,!1)},u.drawTransparent=function(X){var re=this.useOrtho?this.orthoShader:this.shader;G(re,this.projectShader,this,X,this.pixelRatio,!0,!1)},u.drawPick=function(X){var re=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;G(re,this.pickProjectShader,this,X,1,!0,!0)},u.pick=function(X){if(!X||X.id!==this.pickId)return null;var re=X.value[2]+(X.value[1]<<8)+(X.value[0]<<16);if(re>=this.pointCount||re<0)return null;var ae=this.points[re],j=this._selectResult;j.index=re;for(var ee=0;ee<3;++ee)j.position[ee]=j.dataCoordinate[ee]=ae[ee];return j},u.highlight=function(X){if(!X)this.highlightId=[1,1,1,1];else{var re=X.index,ae=re&255,j=re>>8&255,ee=re>>16&255;this.highlightId=[ae/255,j/255,ee/255,0]}};function $(X,re,ae,j){var ee;w(X)?re0){var br=0,_t=pe,Be=[0,0,0,1],Ke=[0,0,0,1],je=w(it)&&w(it[0]),Se=w(ut)&&w(ut[0]);e:for(var j=0;j0?1-Bt[0][0]:bt<0?1+Bt[1][0]:1,Rt*=Rt>0?1-Bt[0][1]:Rt<0?1+Bt[1][1]:1;for(var Nt=[bt,Rt],Rn=Lt.cells||[],Nn=Lt.positions||[],ot=0;otthis.buffer.length){n.free(this.buffer);for(var w=this.buffer=n.mallocUint8(a(_*l*4)),M=0;M<_*l*4;++M)w[M]=255}return T}}}),p.begin=function(){var T=this.gl,l=this.shape;T&&(this.fbo.bind(),T.clearColor(1,1,1,1),T.clear(T.COLOR_BUFFER_BIT|T.DEPTH_BUFFER_BIT))},p.end=function(){var T=this.gl;T&&(T.bindFramebuffer(T.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},p.query=function(T,l,_){if(!this.gl)return null;var w=this.fbo.shape.slice();T=T|0,l=l|0,typeof _!=\"number\"&&(_=1);var M=Math.min(Math.max(T-_,0),w[0])|0,E=Math.min(Math.max(T+_,0),w[0])|0,m=Math.min(Math.max(l-_,0),w[1])|0,b=Math.min(Math.max(l+_,0),w[1])|0;if(E<=M||b<=m)return null;var v=[E-M,b-m],u=i(this.buffer,[v[0],v[1],4],[4,w[0]*4,1],4*(M+w[0]*m)),y=s(u.hi(v[0],v[1],1),_,_),f=y[0],P=y[1];if(f<0||Math.pow(this.radius,2)w)for(l=w;l<_;l++)this.gl.enableVertexAttribArray(l);else if(w>_)for(l=_;l=0){for(var O=B.type.charAt(B.type.length-1)|0,I=new Array(O),N=0;N=0;)U+=1;z[F]=U}var W=new Array(w.length);function Q(){m.program=a.program(b,m._vref,m._fref,L,z);for(var le=0;le=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o(\"\",\"Invalid data type for attribute \"+m+\": \"+b);s(p,d,v[0],l,u,_,m)}else if(b.indexOf(\"mat\")>=0){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new o(\"\",\"Invalid data type for attribute \"+m+\": \"+b);c(p,d,v,l,u,_,m)}else throw new o(\"\",\"Unknown data type for attribute \"+m+\": \"+b);break}}return _}},3327:function(e,t,r){\"use strict\";var o=r(216),n=r(8866);e.exports=s;function i(c){return function(){return c}}function a(c,h){for(var p=new Array(c),d=0;d4)throw new n(\"\",\"Invalid data type\");switch(U.charAt(0)){case\"b\":case\"i\":c[\"uniform\"+W+\"iv\"](d[z],F);break;case\"v\":c[\"uniform\"+W+\"fv\"](d[z],F);break;default:throw new n(\"\",\"Unrecognized data type for vector \"+name+\": \"+U)}}else if(U.indexOf(\"mat\")===0&&U.length===4){if(W=U.charCodeAt(U.length-1)-48,W<2||W>4)throw new n(\"\",\"Invalid uniform dimension type for matrix \"+name+\": \"+U);c[\"uniformMatrix\"+W+\"fv\"](d[z],!1,F);break}else throw new n(\"\",\"Unknown uniform data type for \"+name+\": \"+U)}}}}}function _(b,v){if(typeof v!=\"object\")return[[b,v]];var u=[];for(var y in v){var f=v[y],P=b;parseInt(y)+\"\"===y?P+=\"[\"+y+\"]\":P+=\".\"+y,typeof f==\"object\"?u.push.apply(u,_(P,f)):u.push([P,f])}return u}function w(b){switch(b){case\"bool\":return!1;case\"int\":case\"sampler2D\":case\"samplerCube\":return 0;case\"float\":return 0;default:var v=b.indexOf(\"vec\");if(0<=v&&v<=1&&b.length===4+v){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n(\"\",\"Invalid data type\");return b.charAt(0)===\"b\"?a(u,!1):a(u,0)}else if(b.indexOf(\"mat\")===0&&b.length===4){var u=b.charCodeAt(b.length-1)-48;if(u<2||u>4)throw new n(\"\",\"Invalid uniform dimension type for matrix \"+name+\": \"+b);return a(u*u,0)}else throw new n(\"\",\"Unknown uniform data type for \"+name+\": \"+b)}}function M(b,v,u){if(typeof u==\"object\"){var y=E(u);Object.defineProperty(b,v,{get:i(y),set:l(u),enumerable:!0,configurable:!1})}else d[u]?Object.defineProperty(b,v,{get:T(u),set:l(u),enumerable:!0,configurable:!1}):b[v]=w(p[u].type)}function E(b){var v;if(Array.isArray(b)){v=new Array(b.length);for(var u=0;u1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var d=1;d1)for(var _=0;_\"u\"?r(606):WeakMap,a=new i,s=0;function c(M,E,m,b,v,u,y){this.id=M,this.src=E,this.type=m,this.shader=b,this.count=u,this.programs=[],this.cache=y}c.prototype.dispose=function(){if(--this.count===0){for(var M=this.cache,E=M.gl,m=this.programs,b=0,v=m.length;b 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, tubeScale;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * tubePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(tubePosition, 1.0);\n vec4 t_position = view * tubePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = tubePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n`]),i=o([`#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n`]),a=o([`precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float tubeScale;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n gl_Position = projection * (view * tubePosition);\n f_id = id;\n f_position = position.xyz;\n}\n`]),s=o([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}`]);t.meshShader={vertex:n,fragment:i,attributes:[{name:\"position\",type:\"vec4\"},{name:\"color\",type:\"vec4\"},{name:\"uv\",type:\"vec2\"},{name:\"vector\",type:\"vec4\"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:\"position\",type:\"vec4\"},{name:\"id\",type:\"vec4\"},{name:\"vector\",type:\"vec4\"}]}},7815:function(e,t,r){\"use strict\";var o=r(2931),n=r(9970),i=[\"xyz\",\"xzy\",\"yxz\",\"yzx\",\"zxy\",\"zyx\"],a=function(M,E,m,b){for(var v=M.points,u=M.velocities,y=M.divergences,f=[],P=[],L=[],z=[],F=[],B=[],O=0,I=0,N=n.create(),U=n.create(),W=8,Q=0;Q0)for(var G=0;GE)return b-1}return b},h=function(M,E,m){return Mm?m:M},p=function(M,E,m){var b=E.vectors,v=E.meshgrid,u=M[0],y=M[1],f=M[2],P=v[0].length,L=v[1].length,z=v[2].length,F=c(v[0],u),B=c(v[1],y),O=c(v[2],f),I=F+1,N=B+1,U=O+1;if(F=h(F,0,P-1),I=h(I,0,P-1),B=h(B,0,L-1),N=h(N,0,L-1),O=h(O,0,z-1),U=h(U,0,z-1),F<0||B<0||O<0||I>P-1||N>L-1||U>z-1)return o.create();var W=v[0][F],Q=v[0][I],le=v[1][B],se=v[1][N],fe=v[2][O],G=v[2][U],$=(u-W)/(Q-W),J=(y-le)/(se-le),X=(f-fe)/(G-fe);isFinite($)||($=.5),isFinite(J)||(J=.5),isFinite(X)||(X=.5);var re,ae,j,ee,ie,ce;switch(m.reversedX&&(F=P-1-F,I=P-1-I),m.reversedY&&(B=L-1-B,N=L-1-N),m.reversedZ&&(O=z-1-O,U=z-1-U),m.filled){case 5:ie=O,ce=U,j=B*z,ee=N*z,re=F*z*L,ae=I*z*L;break;case 4:ie=O,ce=U,re=F*z,ae=I*z,j=B*z*P,ee=N*z*P;break;case 3:j=B,ee=N,ie=O*L,ce=U*L,re=F*L*z,ae=I*L*z;break;case 2:j=B,ee=N,re=F*L,ae=I*L,ie=O*L*P,ce=U*L*P;break;case 1:re=F,ae=I,ie=O*P,ce=U*P,j=B*P*z,ee=N*P*z;break;default:re=F,ae=I,j=B*P,ee=N*P,ie=O*P*L,ce=U*P*L;break}var xe=b[re+j+ie],Te=b[re+j+ce],Ue=b[re+ee+ie],Ie=b[re+ee+ce],Ye=b[ae+j+ie],it=b[ae+j+ce],at=b[ae+ee+ie],tt=b[ae+ee+ce],ut=o.create(),Me=o.create(),pe=o.create(),ue=o.create();o.lerp(ut,xe,Ye,$),o.lerp(Me,Te,it,$),o.lerp(pe,Ue,at,$),o.lerp(ue,Ie,tt,$);var Oe=o.create(),rt=o.create();o.lerp(Oe,ut,pe,J),o.lerp(rt,Me,ue,J);var ot=o.create();return o.lerp(ot,Oe,rt,X),ot},d=function(M,E){var m=E[0],b=E[1],v=E[2];return M[0]=m<0?-m:m,M[1]=b<0?-b:b,M[2]=v<0?-v:v,M},T=function(M){var E=1/0;M.sort(function(u,y){return u-y});for(var m=M.length,b=1;bI||ttN||utU)},Q=o.distance(E[0],E[1]),le=10*Q/b,se=le*le,fe=1,G=0,$=m.length;$>1&&(fe=l(m));for(var J=0;J<$;J++){var X=o.create();o.copy(X,m[J]);var re=[X],ae=[],j=P(X),ee=X;ae.push(j);var ie=[],ce=L(X,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe),z.push({points:re,velocities:ae,divergences:ie});for(var Te=0;Tese&&o.scale(Ue,Ue,le/Math.sqrt(Ie)),o.add(Ue,Ue,X),j=P(Ue),o.squaredDistance(ee,Ue)-se>-1e-4*se){re.push(Ue),ee=Ue,ae.push(j);var ce=L(Ue,j),xe=o.length(ce);isFinite(xe)&&xe>G&&(G=xe),ie.push(xe)}X=Ue}}var Ye=s(z,M.colormap,G,fe);return u?Ye.tubeScale=u:(G===0&&(G=1),Ye.tubeScale=v*.5*fe/G),Ye};var _=r(6740),w=r(6405).createMesh;e.exports.createTubeMesh=function(M,E){return w(M,E,{shaders:_,traceType:\"streamtube\"})}},990:function(e,t,r){var o=r(9405),n=r(3236),i=n([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute vec3 f;\nattribute vec3 normal;\n\nuniform vec3 objectOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 lightPosition, eyePosition;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n vec3 localCoordinate = vec3(uv.zw, f.x);\n worldCoordinate = objectOffset + localCoordinate;\n mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0));\n vec4 worldPosition = (model * objectOffsetTranslation) * vec4(localCoordinate, 1.0);\n vec4 clipPosition = projection * (view * worldPosition);\n gl_Position = clipPosition;\n kill = f.y;\n value = f.z;\n planeCoordinate = uv.xy;\n\n vColor = texture2D(colormap, vec2(value, value));\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * worldPosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n lightDirection = lightPosition - cameraCoordinate.xyz;\n eyeDirection = eyePosition - cameraCoordinate.xyz;\n surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz);\n}\n`]),a=n([`precision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat beckmannSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness) {\n return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 lowerBound, upperBound;\nuniform float contourTint;\nuniform vec4 contourColor;\nuniform sampler2D colormap;\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform float vertexColor;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n if (\n kill > 0.0 ||\n vColor.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)\n ) discard;\n\n vec3 N = normalize(surfaceNormal);\n vec3 V = normalize(eyeDirection);\n vec3 L = normalize(lightDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = max(beckmannSpecular(L, V, N, roughness), 0.);\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n //decide how to interpolate color \\u2014 in vertex or in fragment\n vec4 surfaceColor =\n step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +\n step(.5, vertexColor) * vColor;\n\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;\n}\n`]),s=n([`precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute float f;\n\nuniform vec3 objectOffset;\nuniform mat3 permutation;\nuniform mat4 model, view, projection;\nuniform float height, zOffset;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n vec3 dataCoordinate = permutation * vec3(uv.xy, height);\n worldCoordinate = objectOffset + dataCoordinate;\n mat4 objectOffsetTranslation = mat4(1.0) + mat4(vec4(0), vec4(0), vec4(0), vec4(objectOffset, 0));\n vec4 worldPosition = (model * objectOffsetTranslation) * vec4(dataCoordinate, 1.0);\n\n vec4 clipPosition = projection * (view * worldPosition);\n clipPosition.z += zOffset;\n\n gl_Position = clipPosition;\n value = f + objectOffset.z;\n kill = -1.0;\n planeCoordinate = uv.zw;\n\n vColor = texture2D(colormap, vec2(value, value));\n\n //Don't do lighting for contours\n surfaceNormal = vec3(1,0,0);\n eyeDirection = vec3(0,1,0);\n lightDirection = vec3(0,0,1);\n}\n`]),c=n([`precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec2 shape;\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 surfaceNormal;\n\nvec2 splitFloat(float v) {\n float vh = 255.0 * v;\n float upper = floor(vh);\n float lower = fract(vh);\n return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);\n}\n\nvoid main() {\n if ((kill > 0.0) ||\n (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;\n\n vec2 ux = splitFloat(planeCoordinate.x / shape.x);\n vec2 uy = splitFloat(planeCoordinate.y / shape.y);\n gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));\n}\n`]);t.createShader=function(h){var p=o(h,i,a,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createPickShader=function(h){var p=o(h,i,c,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"vec3\"},{name:\"normal\",type:\"vec3\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p.attributes.normal.location=2,p},t.createContourShader=function(h){var p=o(h,s,a,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"float\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p},t.createPickContourShader=function(h){var p=o(h,s,c,null,[{name:\"uv\",type:\"vec4\"},{name:\"f\",type:\"float\"}]);return p.attributes.uv.location=0,p.attributes.f.location=1,p}},9499:function(e,t,r){\"use strict\";e.exports=re;var o=r(8828),n=r(2762),i=r(8116),a=r(7766),s=r(1888),c=r(6729),h=r(5298),p=r(9994),d=r(9618),T=r(3711),l=r(6760),_=r(7608),w=r(2478),M=r(6199),E=r(990),m=E.createShader,b=E.createContourShader,v=E.createPickShader,u=E.createPickContourShader,y=4*10,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],P=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],L=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var ae=0;ae<3;++ae){var j=L[ae],ee=(ae+1)%3,ie=(ae+2)%3;j[ee+0]=1,j[ie+3]=1,j[ae+6]=1}})();function z(ae,j,ee,ie,ce){this.position=ae,this.index=j,this.uv=ee,this.level=ie,this.dataCoordinate=ce}var F=256;function B(ae,j,ee,ie,ce,xe,Te,Ue,Ie,Ye,it,at,tt,ut,Me){this.gl=ae,this.shape=j,this.bounds=ee,this.objectOffset=Me,this.intensityBounds=[],this._shader=ie,this._pickShader=ce,this._coordinateBuffer=xe,this._vao=Te,this._colorMap=Ue,this._contourShader=Ie,this._contourPickShader=Ye,this._contourBuffer=it,this._contourVAO=at,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new z([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=tt,this._dynamicVAO=ut,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0]),d(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var O=B.prototype;O.genColormap=function(ae,j){var ee=!1,ie=p([c({colormap:ae,nshades:F,format:\"rgba\"}).map(function(ce,xe){var Te=j?I(xe/255,j):ce[3];return Te<1&&(ee=!0),[ce[0],ce[1],ce[2],255*Te]})]);return h.divseq(ie,255),this.hasAlphaScale=ee,ie},O.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},O.isOpaque=function(){return!this.isTransparent()},O.pickSlots=1,O.setPickBase=function(ae){this.pickId=ae};function I(ae,j){if(!j||!j.length)return 1;for(var ee=0;eeae&&ee>0){var ie=(j[ee][0]-ae)/(j[ee][0]-j[ee-1][0]);return j[ee][1]*(1-ie)+ie*j[ee-1][1]}}return 1}var N=[0,0,0],U={showSurface:!1,showContour:!1,projections:[f.slice(),f.slice(),f.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function W(ae,j){var ee,ie,ce,xe=j.axes&&j.axes.lastCubeProps.axis||N,Te=j.showSurface,Ue=j.showContour;for(ee=0;ee<3;++ee)for(Te=Te||j.surfaceProject[ee],ie=0;ie<3;++ie)Ue=Ue||j.contourProject[ee][ie];for(ee=0;ee<3;++ee){var Ie=U.projections[ee];for(ie=0;ie<16;++ie)Ie[ie]=0;for(ie=0;ie<4;++ie)Ie[5*ie]=1;Ie[5*ee]=0,Ie[12+ee]=j.axesBounds[+(xe[ee]>0)][ee],l(Ie,ae.model,Ie);var Ye=U.clipBounds[ee];for(ce=0;ce<2;++ce)for(ie=0;ie<3;++ie)Ye[ce][ie]=ae.clipBounds[ce][ie];Ye[0][ee]=-1e8,Ye[1][ee]=1e8}return U.showSurface=Te,U.showContour=Ue,U}var Q={model:f,view:f,projection:f,inverseModel:f.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},le=f.slice(),se=[1,0,0,0,1,0,0,0,1];function fe(ae,j){ae=ae||{};var ee=this.gl;ee.disable(ee.CULL_FACE),this._colorMap.bind(0);var ie=Q;ie.model=ae.model||f,ie.view=ae.view||f,ie.projection=ae.projection||f,ie.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ie.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ie.objectOffset=this.objectOffset,ie.contourColor=this.contourColor[0],ie.inverseModel=_(ie.inverseModel,ie.model);for(var ce=0;ce<2;++ce)for(var xe=ie.clipBounds[ce],Te=0;Te<3;++Te)xe[Te]=Math.min(Math.max(this.clipBounds[ce][Te],-1e8),1e8);ie.kambient=this.ambientLight,ie.kdiffuse=this.diffuseLight,ie.kspecular=this.specularLight,ie.roughness=this.roughness,ie.fresnel=this.fresnel,ie.opacity=this.opacity,ie.height=0,ie.permutation=se,ie.vertexColor=this.vertexColor;var Ue=le;for(l(Ue,ie.view,ie.model),l(Ue,ie.projection,Ue),_(Ue,Ue),ce=0;ce<3;++ce)ie.eyePosition[ce]=Ue[12+ce]/Ue[15];var Ie=Ue[15];for(ce=0;ce<3;++ce)Ie+=this.lightPosition[ce]*Ue[4*ce+3];for(ce=0;ce<3;++ce){var Ye=Ue[12+ce];for(Te=0;Te<3;++Te)Ye+=Ue[4*Te+ce]*this.lightPosition[Te];ie.lightPosition[ce]=Ye/Ie}var it=W(ie,this);if(it.showSurface){for(this._shader.bind(),this._shader.uniforms=ie,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ee.TRIANGLES,this._vertexCount),ce=0;ce<3;++ce)!this.surfaceProject[ce]||!this.vertexCount||(this._shader.uniforms.model=it.projections[ce],this._shader.uniforms.clipBounds=it.clipBounds[ce],this._vao.draw(ee.TRIANGLES,this._vertexCount));this._vao.unbind()}if(it.showContour){var at=this._contourShader;ie.kambient=1,ie.kdiffuse=0,ie.kspecular=0,ie.opacity=1,at.bind(),at.uniforms=ie;var tt=this._contourVAO;for(tt.bind(),ce=0;ce<3;++ce)for(at.uniforms.permutation=L[ce],ee.lineWidth(this.contourWidth[ce]*this.pixelRatio),Te=0;Te>4)/16)/255,ce=Math.floor(ie),xe=ie-ce,Te=j[1]*(ae.value[1]+(ae.value[2]&15)/16)/255,Ue=Math.floor(Te),Ie=Te-Ue;ce+=1,Ue+=1;var Ye=ee.position;Ye[0]=Ye[1]=Ye[2]=0;for(var it=0;it<2;++it)for(var at=it?xe:1-xe,tt=0;tt<2;++tt)for(var ut=tt?Ie:1-Ie,Me=ce+it,pe=Ue+tt,ue=at*ut,Oe=0;Oe<3;++Oe)Ye[Oe]+=this._field[Oe].get(Me,pe)*ue;for(var rt=this._pickResult.level,ot=0;ot<3;++ot)if(rt[ot]=w.le(this.contourLevels[ot],Ye[ot]),rt[ot]<0)this.contourLevels[ot].length>0&&(rt[ot]=0);else if(rt[ot]Math.abs(Lt-Ye[ot])&&(rt[ot]+=1)}for(ee.index[0]=xe<.5?ce:ce+1,ee.index[1]=Ie<.5?Ue:Ue+1,ee.uv[0]=ie/j[0],ee.uv[1]=Te/j[1],Oe=0;Oe<3;++Oe)ee.dataCoordinate[Oe]=this._field[Oe].get(ee.index[0],ee.index[1]);return ee},O.padField=function(ae,j){var ee=j.shape.slice(),ie=ae.shape.slice();h.assign(ae.lo(1,1).hi(ee[0],ee[1]),j),h.assign(ae.lo(1).hi(ee[0],1),j.hi(ee[0],1)),h.assign(ae.lo(1,ie[1]-1).hi(ee[0],1),j.lo(0,ee[1]-1).hi(ee[0],1)),h.assign(ae.lo(0,1).hi(1,ee[1]),j.hi(1)),h.assign(ae.lo(ie[0]-1,1).hi(1,ee[1]),j.lo(ee[0]-1)),ae.set(0,0,j.get(0,0)),ae.set(0,ie[1]-1,j.get(0,ee[1]-1)),ae.set(ie[0]-1,0,j.get(ee[0]-1,0)),ae.set(ie[0]-1,ie[1]-1,j.get(ee[0]-1,ee[1]-1))};function $(ae,j){return Array.isArray(ae)?[j(ae[0]),j(ae[1]),j(ae[2])]:[j(ae),j(ae),j(ae)]}function J(ae){return Array.isArray(ae)?ae.length===3?[ae[0],ae[1],ae[2],1]:[ae[0],ae[1],ae[2],ae[3]]:[0,0,0,1]}function X(ae){if(Array.isArray(ae)){if(Array.isArray(ae))return[J(ae[0]),J(ae[1]),J(ae[2])];var j=J(ae);return[j.slice(),j.slice(),j.slice()]}}O.update=function(ae){ae=ae||{},this.objectOffset=ae.objectOffset||this.objectOffset,this.dirty=!0,\"contourWidth\"in ae&&(this.contourWidth=$(ae.contourWidth,Number)),\"showContour\"in ae&&(this.showContour=$(ae.showContour,Boolean)),\"showSurface\"in ae&&(this.showSurface=!!ae.showSurface),\"contourTint\"in ae&&(this.contourTint=$(ae.contourTint,Boolean)),\"contourColor\"in ae&&(this.contourColor=X(ae.contourColor)),\"contourProject\"in ae&&(this.contourProject=$(ae.contourProject,function(ui){return $(ui,Boolean)})),\"surfaceProject\"in ae&&(this.surfaceProject=ae.surfaceProject),\"dynamicColor\"in ae&&(this.dynamicColor=X(ae.dynamicColor)),\"dynamicTint\"in ae&&(this.dynamicTint=$(ae.dynamicTint,Number)),\"dynamicWidth\"in ae&&(this.dynamicWidth=$(ae.dynamicWidth,Number)),\"opacity\"in ae&&(this.opacity=ae.opacity),\"opacityscale\"in ae&&(this.opacityscale=ae.opacityscale),\"colorBounds\"in ae&&(this.colorBounds=ae.colorBounds),\"vertexColor\"in ae&&(this.vertexColor=ae.vertexColor?1:0),\"colormap\"in ae&&this._colorMap.setPixels(this.genColormap(ae.colormap,this.opacityscale));var j=ae.field||ae.coords&&ae.coords[2]||null,ee=!1;if(j||(this._field[2].shape[0]||this._field[2].shape[2]?j=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):j=this._field[2].hi(0,0)),\"field\"in ae||\"coords\"in ae){var ie=(j.shape[0]+2)*(j.shape[1]+2);ie>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(o.nextPow2(ie))),this._field[2]=d(this._field[2].data,[j.shape[0]+2,j.shape[1]+2]),this.padField(this._field[2],j),this.shape=j.shape.slice();for(var ce=this.shape,xe=0;xe<2;++xe)this._field[2].size>this._field[xe].data.length&&(s.freeFloat(this._field[xe].data),this._field[xe].data=s.mallocFloat(this._field[2].size)),this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2]);if(ae.coords){var Te=ae.coords;if(!Array.isArray(Te)||Te.length!==3)throw new Error(\"gl-surface: invalid coordinates for x/y\");for(xe=0;xe<2;++xe){var Ue=Te[xe];for(tt=0;tt<2;++tt)if(Ue.shape[tt]!==ce[tt])throw new Error(\"gl-surface: coords have incorrect shape\");this.padField(this._field[xe],Ue)}}else if(ae.ticks){var Ie=ae.ticks;if(!Array.isArray(Ie)||Ie.length!==2)throw new Error(\"gl-surface: invalid ticks\");for(xe=0;xe<2;++xe){var Ye=Ie[xe];if((Array.isArray(Ye)||Ye.length)&&(Ye=d(Ye)),Ye.shape[0]!==ce[xe])throw new Error(\"gl-surface: invalid tick length\");var it=d(Ye.data,ce);it.stride[xe]=Ye.stride[0],it.stride[xe^1]=0,this.padField(this._field[xe],it)}}else{for(xe=0;xe<2;++xe){var at=[0,0];at[xe]=1,this._field[xe]=d(this._field[xe].data,[ce[0]+2,ce[1]+2],at,0)}this._field[0].set(0,0,0);for(var tt=0;tt0){for(var ri=0;ri<5;++ri)Xt.pop();je-=1}continue e}}}Rn.push(je)}this._contourOffsets[$t]=pn,this._contourCounts[$t]=Rn}var Sn=s.mallocFloat(Xt.length);for(xe=0;xez||P<0||P>z)throw new Error(\"gl-texture2d: Invalid texture size\");return y._shape=[f,P],y.bind(),L.texImage2D(L.TEXTURE_2D,0,y.format,f,P,0,y.format,y.type,null),y._mipLevels=[0],y}function l(y,f,P,L,z,F){this.gl=y,this.handle=f,this.format=z,this.type=F,this._shape=[P,L],this._mipLevels=[0],this._magFilter=y.NEAREST,this._minFilter=y.NEAREST,this._wrapS=y.CLAMP_TO_EDGE,this._wrapT=y.CLAMP_TO_EDGE,this._anisoSamples=1;var B=this,O=[this._wrapS,this._wrapT];Object.defineProperties(O,[{get:function(){return B._wrapS},set:function(N){return B.wrapS=N}},{get:function(){return B._wrapT},set:function(N){return B.wrapT=N}}]),this._wrapVector=O;var I=[this._shape[0],this._shape[1]];Object.defineProperties(I,[{get:function(){return B._shape[0]},set:function(N){return B.width=N}},{get:function(){return B._shape[1]},set:function(N){return B.height=N}}]),this._shapeVector=I}var _=l.prototype;Object.defineProperties(_,{minFilter:{get:function(){return this._minFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension(\"OES_texture_float_linear\")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown filter mode \"+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,y),this._minFilter=y}},magFilter:{get:function(){return this._magFilter},set:function(y){this.bind();var f=this.gl;if(this.type===f.FLOAT&&a.indexOf(y)>=0&&(f.getExtension(\"OES_texture_float_linear\")||(y=f.NEAREST)),s.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown filter mode \"+y);return f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,y),this._magFilter=y}},mipSamples:{get:function(){return this._anisoSamples},set:function(y){var f=this._anisoSamples;if(this._anisoSamples=Math.max(y,1)|0,f!==this._anisoSamples){var P=this.gl.getExtension(\"EXT_texture_filter_anisotropic\");P&&this.gl.texParameterf(this.gl.TEXTURE_2D,P.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,y),this._wrapS=y}},wrapT:{get:function(){return this._wrapT},set:function(y){if(this.bind(),c.indexOf(y)<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,y),this._wrapT=y}},wrap:{get:function(){return this._wrapVector},set:function(y){if(Array.isArray(y)||(y=[y,y]),y.length!==2)throw new Error(\"gl-texture2d: Must specify wrap mode for rows and columns\");for(var f=0;f<2;++f)if(c.indexOf(y[f])<0)throw new Error(\"gl-texture2d: Unknown wrap mode \"+y);this._wrapS=y[0],this._wrapT=y[1];var P=this.gl;return this.bind(),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_S,this._wrapS),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_T,this._wrapT),y}},shape:{get:function(){return this._shapeVector},set:function(y){if(!Array.isArray(y))y=[y|0,y|0];else if(y.length!==2)throw new Error(\"gl-texture2d: Invalid texture shape\");return T(this,y[0]|0,y[1]|0),[y[0]|0,y[1]|0]}},width:{get:function(){return this._shape[0]},set:function(y){return y=y|0,T(this,y,this._shape[1]),y}},height:{get:function(){return this._shape[1]},set:function(y){return y=y|0,T(this,this._shape[0],y),y}}}),_.bind=function(y){var f=this.gl;return y!==void 0&&f.activeTexture(f.TEXTURE0+(y|0)),f.bindTexture(f.TEXTURE_2D,this.handle),y!==void 0?y|0:f.getParameter(f.ACTIVE_TEXTURE)-f.TEXTURE0},_.dispose=function(){this.gl.deleteTexture(this.handle)},_.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var y=Math.min(this._shape[0],this._shape[1]),f=0;y>0;++f,y>>>=1)this._mipLevels.indexOf(f)<0&&this._mipLevels.push(f)},_.setPixels=function(y,f,P,L){var z=this.gl;this.bind(),Array.isArray(f)?(L=P,P=f[1]|0,f=f[0]|0):(f=f||0,P=P||0),L=L||0;var F=p(y)?y:y.raw;if(F){var B=this._mipLevels.indexOf(L)<0;B?(z.texImage2D(z.TEXTURE_2D,0,this.format,this.format,this.type,F),this._mipLevels.push(L)):z.texSubImage2D(z.TEXTURE_2D,L,f,P,this.format,this.type,F)}else if(y.shape&&y.stride&&y.data){if(y.shape.length<2||f+y.shape[1]>this._shape[1]>>>L||P+y.shape[0]>this._shape[0]>>>L||f<0||P<0)throw new Error(\"gl-texture2d: Texture dimensions are out of bounds\");M(z,f,P,L,this.format,this.type,this._mipLevels,y)}else throw new Error(\"gl-texture2d: Unsupported data type\")};function w(y,f){return y.length===3?f[2]===1&&f[1]===y[0]*y[2]&&f[0]===y[2]:f[0]===1&&f[1]===y[0]}function M(y,f,P,L,z,F,B,O){var I=O.dtype,N=O.shape.slice();if(N.length<2||N.length>3)throw new Error(\"gl-texture2d: Invalid ndarray, must be 2d or 3d\");var U=0,W=0,Q=w(N,O.stride.slice());I===\"float32\"?U=y.FLOAT:I===\"float64\"?(U=y.FLOAT,Q=!1,I=\"float32\"):I===\"uint8\"?U=y.UNSIGNED_BYTE:(U=y.UNSIGNED_BYTE,Q=!1,I=\"uint8\");var le=1;if(N.length===2)W=y.LUMINANCE,N=[N[0],N[1],1],O=o(O.data,N,[O.stride[0],O.stride[1],1],O.offset);else if(N.length===3){if(N[2]===1)W=y.ALPHA;else if(N[2]===2)W=y.LUMINANCE_ALPHA;else if(N[2]===3)W=y.RGB;else if(N[2]===4)W=y.RGBA;else throw new Error(\"gl-texture2d: Invalid shape for pixel coords\");le=N[2]}else throw new Error(\"gl-texture2d: Invalid shape for texture\");if((W===y.LUMINANCE||W===y.ALPHA)&&(z===y.LUMINANCE||z===y.ALPHA)&&(W=z),W!==z)throw new Error(\"gl-texture2d: Incompatible texture format for setPixels\");var se=O.size,fe=B.indexOf(L)<0;if(fe&&B.push(L),U===F&&Q)O.offset===0&&O.data.length===se?fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data):fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,O.data.subarray(O.offset,O.offset+se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,O.data.subarray(O.offset,O.offset+se));else{var G;F===y.FLOAT?G=i.mallocFloat32(se):G=i.mallocUint8(se);var $=o(G,N,[N[2],N[2]*N[0],1]);U===y.FLOAT&&F===y.UNSIGNED_BYTE?d($,O):n.assign($,O),fe?y.texImage2D(y.TEXTURE_2D,L,z,N[0],N[1],0,z,F,G.subarray(0,se)):y.texSubImage2D(y.TEXTURE_2D,L,f,P,N[0],N[1],z,F,G.subarray(0,se)),F===y.FLOAT?i.freeFloat32(G):i.freeUint8(G)}}function E(y){var f=y.createTexture();return y.bindTexture(y.TEXTURE_2D,f),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MIN_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_MAG_FILTER,y.NEAREST),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_S,y.CLAMP_TO_EDGE),y.texParameteri(y.TEXTURE_2D,y.TEXTURE_WRAP_T,y.CLAMP_TO_EDGE),f}function m(y,f,P,L,z){var F=y.getParameter(y.MAX_TEXTURE_SIZE);if(f<0||f>F||P<0||P>F)throw new Error(\"gl-texture2d: Invalid texture shape\");if(z===y.FLOAT&&!y.getExtension(\"OES_texture_float\"))throw new Error(\"gl-texture2d: Floating point textures not supported on this platform\");var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,L,f,P,0,L,z,null),new l(y,B,f,P,L,z)}function b(y,f,P,L,z,F){var B=E(y);return y.texImage2D(y.TEXTURE_2D,0,z,z,F,f),new l(y,B,P,L,z,F)}function v(y,f){var P=f.dtype,L=f.shape.slice(),z=y.getParameter(y.MAX_TEXTURE_SIZE);if(L[0]<0||L[0]>z||L[1]<0||L[1]>z)throw new Error(\"gl-texture2d: Invalid texture size\");var F=w(L,f.stride.slice()),B=0;P===\"float32\"?B=y.FLOAT:P===\"float64\"?(B=y.FLOAT,F=!1,P=\"float32\"):P===\"uint8\"?B=y.UNSIGNED_BYTE:(B=y.UNSIGNED_BYTE,F=!1,P=\"uint8\");var O=0;if(L.length===2)O=y.LUMINANCE,L=[L[0],L[1],1],f=o(f.data,L,[f.stride[0],f.stride[1],1],f.offset);else if(L.length===3)if(L[2]===1)O=y.ALPHA;else if(L[2]===2)O=y.LUMINANCE_ALPHA;else if(L[2]===3)O=y.RGB;else if(L[2]===4)O=y.RGBA;else throw new Error(\"gl-texture2d: Invalid shape for pixel coords\");else throw new Error(\"gl-texture2d: Invalid shape for texture\");B===y.FLOAT&&!y.getExtension(\"OES_texture_float\")&&(B=y.UNSIGNED_BYTE,F=!1);var I,N,U=f.size;if(F)f.offset===0&&f.data.length===U?I=f.data:I=f.data.subarray(f.offset,f.offset+U);else{var W=[L[2],L[2]*L[0],1];N=i.malloc(U,P);var Q=o(N,L,W,0);(P===\"float32\"||P===\"float64\")&&B===y.UNSIGNED_BYTE?d(Q,f):n.assign(Q,f),I=N.subarray(0,U)}var le=E(y);return y.texImage2D(y.TEXTURE_2D,0,O,L[0],L[1],0,O,B,I),F||i.free(N),new l(y,le,L[0],L[1],O,B)}function u(y){if(arguments.length<=1)throw new Error(\"gl-texture2d: Missing arguments for texture2d constructor\");if(a||h(y),typeof arguments[1]==\"number\")return m(y,arguments[1],arguments[2],arguments[3]||y.RGBA,arguments[4]||y.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return m(y,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(typeof arguments[1]==\"object\"){var f=arguments[1],P=p(f)?f:f.raw;if(P)return b(y,P,f.width|0,f.height|0,arguments[2]||y.RGBA,arguments[3]||y.UNSIGNED_BYTE);if(f.shape&&f.data&&f.stride)return v(y,f)}throw new Error(\"gl-texture2d: Invalid arguments for texture2d constructor\")}},1433:function(e){\"use strict\";function t(r,o,n){o?o.bind():r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null);var i=r.getParameter(r.MAX_VERTEX_ATTRIBS)|0;if(n){if(n.length>i)throw new Error(\"gl-vao: Too many vertex attributes\");for(var a=0;a1?0:Math.acos(d)}},9226:function(e){e.exports=t;function t(r,o){return r[0]=Math.ceil(o[0]),r[1]=Math.ceil(o[1]),r[2]=Math.ceil(o[2]),r}},3126:function(e){e.exports=t;function t(r){var o=new Float32Array(3);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o}},3990:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r}},1091:function(e){e.exports=t;function t(){var r=new Float32Array(3);return r[0]=0,r[1]=0,r[2]=0,r}},5911:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2];return r[0]=a*p-s*h,r[1]=s*c-i*p,r[2]=i*h-a*c,r}},5455:function(e,t,r){e.exports=r(7056)},7056:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return Math.sqrt(n*n+i*i+a*a)}},4008:function(e,t,r){e.exports=r(6690)},6690:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r}},244:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]}},2613:function(e){e.exports=1e-6},9922:function(e,t,r){e.exports=n;var o=r(2613);function n(i,a){var s=i[0],c=i[1],h=i[2],p=a[0],d=a[1],T=a[2];return Math.abs(s-p)<=o*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(c-d)<=o*Math.max(1,Math.abs(c),Math.abs(d))&&Math.abs(h-T)<=o*Math.max(1,Math.abs(h),Math.abs(T))}},9265:function(e){e.exports=t;function t(r,o){return r[0]===o[0]&&r[1]===o[1]&&r[2]===o[2]}},2681:function(e){e.exports=t;function t(r,o){return r[0]=Math.floor(o[0]),r[1]=Math.floor(o[1]),r[2]=Math.floor(o[2]),r}},5137:function(e,t,r){e.exports=n;var o=r(1091)();function n(i,a,s,c,h,p){var d,T;for(a||(a=3),s||(s=0),c?T=Math.min(c*a+s,i.length):T=i.length,d=s;d0&&(s=1/Math.sqrt(s),r[0]=o[0]*s,r[1]=o[1]*s,r[2]=o[2]*s),r}},7636:function(e){e.exports=t;function t(r,o){o=o||1;var n=Math.random()*2*Math.PI,i=Math.random()*2-1,a=Math.sqrt(1-i*i)*o;return r[0]=Math.cos(n)*a,r[1]=Math.sin(n)*a,r[2]=i*o,r}},6894:function(e){e.exports=t;function t(r,o,n,i){var a=n[1],s=n[2],c=o[1]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=o[0],r[1]=a+c*d-h*p,r[2]=s+c*p+h*d,r}},109:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[2],c=o[0]-a,h=o[2]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+h*p+c*d,r[1]=o[1],r[2]=s+h*d-c*p,r}},8692:function(e){e.exports=t;function t(r,o,n,i){var a=n[0],s=n[1],c=o[0]-a,h=o[1]-s,p=Math.sin(i),d=Math.cos(i);return r[0]=a+c*d-h*p,r[1]=s+c*p+h*d,r[2]=o[2],r}},2447:function(e){e.exports=t;function t(r,o){return r[0]=Math.round(o[0]),r[1]=Math.round(o[1]),r[2]=Math.round(o[2]),r}},6621:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r}},8489:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r}},1463:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o,r[1]=n,r[2]=i,r}},6141:function(e,t,r){e.exports=r(2953)},5486:function(e,t,r){e.exports=r(3066)},2953:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2];return n*n+i*i+a*a}},3066:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2];return o*o+n*n+i*i}},2229:function(e,t,r){e.exports=r(6843)},6843:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r}},492:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2];return r[0]=i*n[0]+a*n[3]+s*n[6],r[1]=i*n[1]+a*n[4]+s*n[7],r[2]=i*n[2]+a*n[5]+s*n[8],r}},5673:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[3]*i+n[7]*a+n[11]*s+n[15];return c=c||1,r[0]=(n[0]*i+n[4]*a+n[8]*s+n[12])/c,r[1]=(n[1]*i+n[5]*a+n[9]*s+n[13])/c,r[2]=(n[2]*i+n[6]*a+n[10]*s+n[14])/c,r}},264:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r}},4361:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]+n[0],r[1]=o[1]+n[1],r[2]=o[2]+n[2],r[3]=o[3]+n[3],r}},2335:function(e){e.exports=t;function t(r){var o=new Float32Array(4);return o[0]=r[0],o[1]=r[1],o[2]=r[2],o[3]=r[3],o}},2933:function(e){e.exports=t;function t(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r}},7536:function(e){e.exports=t;function t(){var r=new Float32Array(4);return r[0]=0,r[1]=0,r[2]=0,r[3]=0,r}},4691:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return Math.sqrt(n*n+i*i+a*a+s*s)}},1373:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]/n[0],r[1]=o[1]/n[1],r[2]=o[2]/n[2],r[3]=o[3]/n[3],r}},3750:function(e){e.exports=t;function t(r,o){return r[0]*o[0]+r[1]*o[1]+r[2]*o[2]+r[3]*o[3]}},3390:function(e){e.exports=t;function t(r,o,n,i){var a=new Float32Array(4);return a[0]=r,a[1]=o,a[2]=n,a[3]=i,a}},9970:function(e,t,r){e.exports={create:r(7536),clone:r(2335),fromValues:r(3390),copy:r(2933),set:r(4578),add:r(4361),subtract:r(6860),multiply:r(3576),divide:r(1373),min:r(2334),max:r(160),scale:r(9288),scaleAndAdd:r(4844),distance:r(4691),squaredDistance:r(7960),length:r(6808),squaredLength:r(483),negate:r(1498),inverse:r(4494),normalize:r(5177),dot:r(3750),lerp:r(2573),random:r(9131),transformMat4:r(5352),transformQuat:r(4041)}},4494:function(e){e.exports=t;function t(r,o){return r[0]=1/o[0],r[1]=1/o[1],r[2]=1/o[2],r[3]=1/o[3],r}},6808:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return Math.sqrt(o*o+n*n+i*i+a*a)}},2573:function(e){e.exports=t;function t(r,o,n,i){var a=o[0],s=o[1],c=o[2],h=o[3];return r[0]=a+i*(n[0]-a),r[1]=s+i*(n[1]-s),r[2]=c+i*(n[2]-c),r[3]=h+i*(n[3]-h),r}},160:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.max(o[0],n[0]),r[1]=Math.max(o[1],n[1]),r[2]=Math.max(o[2],n[2]),r[3]=Math.max(o[3],n[3]),r}},2334:function(e){e.exports=t;function t(r,o,n){return r[0]=Math.min(o[0],n[0]),r[1]=Math.min(o[1],n[1]),r[2]=Math.min(o[2],n[2]),r[3]=Math.min(o[3],n[3]),r}},3576:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n[0],r[1]=o[1]*n[1],r[2]=o[2]*n[2],r[3]=o[3]*n[3],r}},1498:function(e){e.exports=t;function t(r,o){return r[0]=-o[0],r[1]=-o[1],r[2]=-o[2],r[3]=-o[3],r}},5177:function(e){e.exports=t;function t(r,o){var n=o[0],i=o[1],a=o[2],s=o[3],c=n*n+i*i+a*a+s*s;return c>0&&(c=1/Math.sqrt(c),r[0]=n*c,r[1]=i*c,r[2]=a*c,r[3]=s*c),r}},9131:function(e,t,r){var o=r(5177),n=r(9288);e.exports=i;function i(a,s){return s=s||1,a[0]=Math.random(),a[1]=Math.random(),a[2]=Math.random(),a[3]=Math.random(),o(a,a),n(a,a,s),a}},9288:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]*n,r[1]=o[1]*n,r[2]=o[2]*n,r[3]=o[3]*n,r}},4844:function(e){e.exports=t;function t(r,o,n,i){return r[0]=o[0]+n[0]*i,r[1]=o[1]+n[1]*i,r[2]=o[2]+n[2]*i,r[3]=o[3]+n[3]*i,r}},4578:function(e){e.exports=t;function t(r,o,n,i,a){return r[0]=o,r[1]=n,r[2]=i,r[3]=a,r}},7960:function(e){e.exports=t;function t(r,o){var n=o[0]-r[0],i=o[1]-r[1],a=o[2]-r[2],s=o[3]-r[3];return n*n+i*i+a*a+s*s}},483:function(e){e.exports=t;function t(r){var o=r[0],n=r[1],i=r[2],a=r[3];return o*o+n*n+i*i+a*a}},6860:function(e){e.exports=t;function t(r,o,n){return r[0]=o[0]-n[0],r[1]=o[1]-n[1],r[2]=o[2]-n[2],r[3]=o[3]-n[3],r}},5352:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=o[3];return r[0]=n[0]*i+n[4]*a+n[8]*s+n[12]*c,r[1]=n[1]*i+n[5]*a+n[9]*s+n[13]*c,r[2]=n[2]*i+n[6]*a+n[10]*s+n[14]*c,r[3]=n[3]*i+n[7]*a+n[11]*s+n[15]*c,r}},4041:function(e){e.exports=t;function t(r,o,n){var i=o[0],a=o[1],s=o[2],c=n[0],h=n[1],p=n[2],d=n[3],T=d*i+h*s-p*a,l=d*a+p*i-c*s,_=d*s+c*a-h*i,w=-c*i-h*a-p*s;return r[0]=T*d+w*-c+l*-p-_*-h,r[1]=l*d+w*-h+_*-c-T*-p,r[2]=_*d+w*-p+T*-h-l*-c,r[3]=o[3],r}},1848:function(e,t,r){var o=r(4905),n=r(6468);e.exports=i;function i(a){for(var s=Array.isArray(a)?a:o(a),c=0;c0)continue;ot=ue.slice(0,1).join(\"\")}return ee(ot),se+=ot.length,I=I.slice(ot.length),I.length}while(!0)}function tt(){return/[^a-fA-F0-9]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function ut(){return B===\".\"||/[eE]/.test(B)?(I.push(B),F=w,O=B,L+1):B===\"x\"&&I.length===1&&I[0]===\"0\"?(F=u,I.push(B),O=B,L+1):/[^\\d]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function Me(){return B===\"f\"&&(I.push(B),O=B,L+=1),/[eE]/.test(B)||(B===\"-\"||B===\"+\")&&/[eE]/.test(O)?(I.push(B),O=B,L+1):/[^\\d]/.test(B)?(ee(I.join(\"\")),F=c,L):(I.push(B),O=B,L+1)}function pe(){if(/[^\\d\\w_]/.test(B)){var ue=I.join(\"\");return j[ue]?F=m:ae[ue]?F=E:F=M,ee(I.join(\"\")),F=c,L}return I.push(B),O=B,L+1}}},3508:function(e,t,r){var o=r(6852);o=o.slice().filter(function(n){return!/^(gl\\_|texture)/.test(n)}),e.exports=o.concat([\"gl_VertexID\",\"gl_InstanceID\",\"gl_Position\",\"gl_PointSize\",\"gl_FragCoord\",\"gl_FrontFacing\",\"gl_FragDepth\",\"gl_PointCoord\",\"gl_MaxVertexAttribs\",\"gl_MaxVertexUniformVectors\",\"gl_MaxVertexOutputVectors\",\"gl_MaxFragmentInputVectors\",\"gl_MaxVertexTextureImageUnits\",\"gl_MaxCombinedTextureImageUnits\",\"gl_MaxTextureImageUnits\",\"gl_MaxFragmentUniformVectors\",\"gl_MaxDrawBuffers\",\"gl_MinProgramTexelOffset\",\"gl_MaxProgramTexelOffset\",\"gl_DepthRangeParameters\",\"gl_DepthRange\",\"trunc\",\"round\",\"roundEven\",\"isnan\",\"isinf\",\"floatBitsToInt\",\"floatBitsToUint\",\"intBitsToFloat\",\"uintBitsToFloat\",\"packSnorm2x16\",\"unpackSnorm2x16\",\"packUnorm2x16\",\"unpackUnorm2x16\",\"packHalf2x16\",\"unpackHalf2x16\",\"outerProduct\",\"transpose\",\"determinant\",\"inverse\",\"texture\",\"textureSize\",\"textureProj\",\"textureLod\",\"textureOffset\",\"texelFetch\",\"texelFetchOffset\",\"textureProjOffset\",\"textureLodOffset\",\"textureProjLod\",\"textureProjLodOffset\",\"textureGrad\",\"textureGradOffset\",\"textureProjGrad\",\"textureProjGradOffset\"])},6852:function(e){e.exports=[\"abs\",\"acos\",\"all\",\"any\",\"asin\",\"atan\",\"ceil\",\"clamp\",\"cos\",\"cross\",\"dFdx\",\"dFdy\",\"degrees\",\"distance\",\"dot\",\"equal\",\"exp\",\"exp2\",\"faceforward\",\"floor\",\"fract\",\"gl_BackColor\",\"gl_BackLightModelProduct\",\"gl_BackLightProduct\",\"gl_BackMaterial\",\"gl_BackSecondaryColor\",\"gl_ClipPlane\",\"gl_ClipVertex\",\"gl_Color\",\"gl_DepthRange\",\"gl_DepthRangeParameters\",\"gl_EyePlaneQ\",\"gl_EyePlaneR\",\"gl_EyePlaneS\",\"gl_EyePlaneT\",\"gl_Fog\",\"gl_FogCoord\",\"gl_FogFragCoord\",\"gl_FogParameters\",\"gl_FragColor\",\"gl_FragCoord\",\"gl_FragData\",\"gl_FragDepth\",\"gl_FragDepthEXT\",\"gl_FrontColor\",\"gl_FrontFacing\",\"gl_FrontLightModelProduct\",\"gl_FrontLightProduct\",\"gl_FrontMaterial\",\"gl_FrontSecondaryColor\",\"gl_LightModel\",\"gl_LightModelParameters\",\"gl_LightModelProducts\",\"gl_LightProducts\",\"gl_LightSource\",\"gl_LightSourceParameters\",\"gl_MaterialParameters\",\"gl_MaxClipPlanes\",\"gl_MaxCombinedTextureImageUnits\",\"gl_MaxDrawBuffers\",\"gl_MaxFragmentUniformComponents\",\"gl_MaxLights\",\"gl_MaxTextureCoords\",\"gl_MaxTextureImageUnits\",\"gl_MaxTextureUnits\",\"gl_MaxVaryingFloats\",\"gl_MaxVertexAttribs\",\"gl_MaxVertexTextureImageUnits\",\"gl_MaxVertexUniformComponents\",\"gl_ModelViewMatrix\",\"gl_ModelViewMatrixInverse\",\"gl_ModelViewMatrixInverseTranspose\",\"gl_ModelViewMatrixTranspose\",\"gl_ModelViewProjectionMatrix\",\"gl_ModelViewProjectionMatrixInverse\",\"gl_ModelViewProjectionMatrixInverseTranspose\",\"gl_ModelViewProjectionMatrixTranspose\",\"gl_MultiTexCoord0\",\"gl_MultiTexCoord1\",\"gl_MultiTexCoord2\",\"gl_MultiTexCoord3\",\"gl_MultiTexCoord4\",\"gl_MultiTexCoord5\",\"gl_MultiTexCoord6\",\"gl_MultiTexCoord7\",\"gl_Normal\",\"gl_NormalMatrix\",\"gl_NormalScale\",\"gl_ObjectPlaneQ\",\"gl_ObjectPlaneR\",\"gl_ObjectPlaneS\",\"gl_ObjectPlaneT\",\"gl_Point\",\"gl_PointCoord\",\"gl_PointParameters\",\"gl_PointSize\",\"gl_Position\",\"gl_ProjectionMatrix\",\"gl_ProjectionMatrixInverse\",\"gl_ProjectionMatrixInverseTranspose\",\"gl_ProjectionMatrixTranspose\",\"gl_SecondaryColor\",\"gl_TexCoord\",\"gl_TextureEnvColor\",\"gl_TextureMatrix\",\"gl_TextureMatrixInverse\",\"gl_TextureMatrixInverseTranspose\",\"gl_TextureMatrixTranspose\",\"gl_Vertex\",\"greaterThan\",\"greaterThanEqual\",\"inversesqrt\",\"length\",\"lessThan\",\"lessThanEqual\",\"log\",\"log2\",\"matrixCompMult\",\"max\",\"min\",\"mix\",\"mod\",\"normalize\",\"not\",\"notEqual\",\"pow\",\"radians\",\"reflect\",\"refract\",\"sign\",\"sin\",\"smoothstep\",\"sqrt\",\"step\",\"tan\",\"texture2D\",\"texture2DLod\",\"texture2DProj\",\"texture2DProjLod\",\"textureCube\",\"textureCubeLod\",\"texture2DLodEXT\",\"texture2DProjLodEXT\",\"textureCubeLodEXT\",\"texture2DGradEXT\",\"texture2DProjGradEXT\",\"textureCubeGradEXT\"]},7932:function(e,t,r){var o=r(620);e.exports=o.slice().concat([\"layout\",\"centroid\",\"smooth\",\"case\",\"mat2x2\",\"mat2x3\",\"mat2x4\",\"mat3x2\",\"mat3x3\",\"mat3x4\",\"mat4x2\",\"mat4x3\",\"mat4x4\",\"uvec2\",\"uvec3\",\"uvec4\",\"samplerCubeShadow\",\"sampler2DArray\",\"sampler2DArrayShadow\",\"isampler2D\",\"isampler3D\",\"isamplerCube\",\"isampler2DArray\",\"usampler2D\",\"usampler3D\",\"usamplerCube\",\"usampler2DArray\",\"coherent\",\"restrict\",\"readonly\",\"writeonly\",\"resource\",\"atomic_uint\",\"noperspective\",\"patch\",\"sample\",\"subroutine\",\"common\",\"partition\",\"active\",\"filter\",\"image1D\",\"image2D\",\"image3D\",\"imageCube\",\"iimage1D\",\"iimage2D\",\"iimage3D\",\"iimageCube\",\"uimage1D\",\"uimage2D\",\"uimage3D\",\"uimageCube\",\"image1DArray\",\"image2DArray\",\"iimage1DArray\",\"iimage2DArray\",\"uimage1DArray\",\"uimage2DArray\",\"image1DShadow\",\"image2DShadow\",\"image1DArrayShadow\",\"image2DArrayShadow\",\"imageBuffer\",\"iimageBuffer\",\"uimageBuffer\",\"sampler1DArray\",\"sampler1DArrayShadow\",\"isampler1D\",\"isampler1DArray\",\"usampler1D\",\"usampler1DArray\",\"isampler2DRect\",\"usampler2DRect\",\"samplerBuffer\",\"isamplerBuffer\",\"usamplerBuffer\",\"sampler2DMS\",\"isampler2DMS\",\"usampler2DMS\",\"sampler2DMSArray\",\"isampler2DMSArray\",\"usampler2DMSArray\"])},620:function(e){e.exports=[\"precision\",\"highp\",\"mediump\",\"lowp\",\"attribute\",\"const\",\"uniform\",\"varying\",\"break\",\"continue\",\"do\",\"for\",\"while\",\"if\",\"else\",\"in\",\"out\",\"inout\",\"float\",\"int\",\"uint\",\"void\",\"bool\",\"true\",\"false\",\"discard\",\"return\",\"mat2\",\"mat3\",\"mat4\",\"vec2\",\"vec3\",\"vec4\",\"ivec2\",\"ivec3\",\"ivec4\",\"bvec2\",\"bvec3\",\"bvec4\",\"sampler1D\",\"sampler2D\",\"sampler3D\",\"samplerCube\",\"sampler1DShadow\",\"sampler2DShadow\",\"struct\",\"asm\",\"class\",\"union\",\"enum\",\"typedef\",\"template\",\"this\",\"packed\",\"goto\",\"switch\",\"default\",\"inline\",\"noinline\",\"volatile\",\"public\",\"static\",\"extern\",\"external\",\"interface\",\"long\",\"short\",\"double\",\"half\",\"fixed\",\"unsigned\",\"input\",\"output\",\"hvec2\",\"hvec3\",\"hvec4\",\"dvec2\",\"dvec3\",\"dvec4\",\"fvec2\",\"fvec3\",\"fvec4\",\"sampler2DRect\",\"sampler3DRect\",\"sampler2DRectShadow\",\"sizeof\",\"cast\",\"namespace\",\"using\"]},7827:function(e){e.exports=[\"<<=\",\">>=\",\"++\",\"--\",\"<<\",\">>\",\"<=\",\">=\",\"==\",\"!=\",\"&&\",\"||\",\"+=\",\"-=\",\"*=\",\"/=\",\"%=\",\"&=\",\"^^\",\"^=\",\"|=\",\"(\",\")\",\"[\",\"]\",\".\",\"!\",\"~\",\"*\",\"/\",\"%\",\"+\",\"-\",\"<\",\">\",\"&\",\"^\",\"|\",\"?\",\":\",\"=\",\",\",\";\",\"{\",\"}\"]},4905:function(e,t,r){var o=r(5874);e.exports=n;function n(i,a){var s=o(a),c=[];return c=c.concat(s(i)),c=c.concat(s(null)),c}},3236:function(e){e.exports=function(t){typeof t==\"string\"&&(t=[t]);for(var r=[].slice.call(arguments,1),o=[],n=0;n>1,T=-7,l=n?a-1:0,_=n?-1:1,w=r[o+l];for(l+=_,s=w&(1<<-T)-1,w>>=-T,T+=h;T>0;s=s*256+r[o+l],l+=_,T-=8);for(c=s&(1<<-T)-1,s>>=-T,T+=i;T>0;c=c*256+r[o+l],l+=_,T-=8);if(s===0)s=1-d;else{if(s===p)return c?NaN:(w?-1:1)*(1/0);c=c+Math.pow(2,i),s=s-d}return(w?-1:1)*c*Math.pow(2,s-i)},t.write=function(r,o,n,i,a,s){var c,h,p,d=s*8-a-1,T=(1<>1,_=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:s-1,M=i?1:-1,E=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(h=isNaN(o)?1:0,c=T):(c=Math.floor(Math.log(o)/Math.LN2),o*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+l>=1?o+=_/p:o+=_*Math.pow(2,1-l),o*p>=2&&(c++,p/=2),c+l>=T?(h=0,c=T):c+l>=1?(h=(o*p-1)*Math.pow(2,a),c=c+l):(h=o*Math.pow(2,l-1)*Math.pow(2,a),c=0));a>=8;r[n+w]=h&255,w+=M,h/=256,a-=8);for(c=c<0;r[n+w]=c&255,w+=M,c/=256,d-=8);r[n+w-M]|=E*128}},8954:function(e,t,r){\"use strict\";e.exports=l;var o=r(3250),n=r(6803).Fw;function i(_,w,M){this.vertices=_,this.adjacent=w,this.boundary=M,this.lastVisited=-1}i.prototype.flip=function(){var _=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=_;var w=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=w};function a(_,w,M){this.vertices=_,this.cell=w,this.index=M}function s(_,w){return n(_.vertices,w.vertices)}function c(_){return function(){var w=this.tuple;return _.apply(this,w)}}function h(_){var w=o[_+1];return w||(w=o),c(w)}var p=[];function d(_,w,M){this.dimension=_,this.vertices=w,this.simplices=M,this.interior=M.filter(function(b){return!b.boundary}),this.tuple=new Array(_+1);for(var E=0;E<=_;++E)this.tuple[E]=this.vertices[E];var m=p[_];m||(m=p[_]=h(_)),this.orient=m}var T=d.prototype;T.handleBoundaryDegeneracy=function(_,w){var M=this.dimension,E=this.vertices.length-1,m=this.tuple,b=this.vertices,v=[_];for(_.lastVisited=-E;v.length>0;){_=v.pop();for(var u=_.adjacent,y=0;y<=M;++y){var f=u[y];if(!(!f.boundary||f.lastVisited<=-E)){for(var P=f.vertices,L=0;L<=M;++L){var z=P[L];z<0?m[L]=w:m[L]=b[z]}var F=this.orient();if(F>0)return f;f.lastVisited=-E,F===0&&v.push(f)}}}return null},T.walk=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=w?this.interior.length*Math.random()|0:this.interior.length-1,u=this.interior[v];e:for(;!u.boundary;){for(var y=u.vertices,f=u.adjacent,P=0;P<=E;++P)b[P]=m[y[P]];u.lastVisited=M;for(var P=0;P<=E;++P){var L=f[P];if(!(L.lastVisited>=M)){var z=b[P];b[P]=_;var F=this.orient();if(b[P]=z,F<0){u=L;continue e}else L.boundary?L.lastVisited=-M:L.lastVisited=M}}return}return u},T.addPeaks=function(_,w){var M=this.vertices.length-1,E=this.dimension,m=this.vertices,b=this.tuple,v=this.interior,u=this.simplices,y=[w];w.lastVisited=M,w.vertices[w.vertices.indexOf(-1)]=M,w.boundary=!1,v.push(w);for(var f=[];y.length>0;){var w=y.pop(),P=w.vertices,L=w.adjacent,z=P.indexOf(M);if(!(z<0)){for(var F=0;F<=E;++F)if(F!==z){var B=L[F];if(!(!B.boundary||B.lastVisited>=M)){var O=B.vertices;if(B.lastVisited!==-M){for(var I=0,N=0;N<=E;++N)O[N]<0?(I=N,b[N]=_):b[N]=m[O[N]];var U=this.orient();if(U>0){O[I]=M,B.boundary=!1,v.push(B),y.push(B),B.lastVisited=M;continue}else B.lastVisited=-M}var W=B.adjacent,Q=P.slice(),le=L.slice(),se=new i(Q,le,!0);u.push(se);var fe=W.indexOf(w);if(!(fe<0)){W[fe]=se,le[z]=B,Q[F]=-1,le[F]=w,L[F]=se,se.flip();for(var N=0;N<=E;++N){var G=Q[N];if(!(G<0||G===M)){for(var $=new Array(E-1),J=0,X=0;X<=E;++X){var re=Q[X];re<0||X===N||($[J++]=re)}f.push(new a($,se,N))}}}}}}}f.sort(s);for(var F=0;F+1=0?v[y++]=u[P]:f=P&1;if(f===(_&1)){var L=v[0];v[0]=v[1],v[1]=L}w.push(v)}}return w};function l(_,w){var M=_.length;if(M===0)throw new Error(\"Must have at least d+1 points\");var E=_[0].length;if(M<=E)throw new Error(\"Must input at least d+1 points\");var m=_.slice(0,E+1),b=o.apply(void 0,m);if(b===0)throw new Error(\"Input not in general position\");for(var v=new Array(E+1),u=0;u<=E;++u)v[u]=u;b<0&&(v[0]=1,v[1]=0);for(var y=new i(v,new Array(E+1),!1),f=y.adjacent,P=new Array(E+2),u=0;u<=E;++u){for(var L=v.slice(),z=0;z<=E;++z)z===u&&(L[z]=-1);var F=L[0];L[0]=L[1],L[1]=F;var B=new i(L,new Array(E+1),!0);f[u]=B,P[u]=B}P[E+1]=y;for(var u=0;u<=E;++u)for(var L=f[u].vertices,O=f[u].adjacent,z=0;z<=E;++z){var I=L[z];if(I<0){O[z]=y;continue}for(var N=0;N<=E;++N)f[N].vertices.indexOf(I)<0&&(O[z]=f[N])}for(var U=new d(E,m,P),W=!!w,u=E+1;u3*(P+1)?d(this,f):this.left.insert(f):this.left=b([f]);else if(f[0]>this.mid)this.right?4*(this.right.count+1)>3*(P+1)?d(this,f):this.right.insert(f):this.right=b([f]);else{var L=o.ge(this.leftPoints,f,E),z=o.ge(this.rightPoints,f,m);this.leftPoints.splice(L,0,f),this.rightPoints.splice(z,0,f)}},c.remove=function(f){var P=this.count-this.leftPoints;if(f[1]3*(P-1))return T(this,f);var z=this.left.remove(f);return z===a?(this.left=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else if(f[0]>this.mid){if(!this.right)return n;var F=this.left?this.left.count:0;if(4*F>3*(P-1))return T(this,f);var z=this.right.remove(f);return z===a?(this.right=null,this.count-=1,i):(z===i&&(this.count-=1),z)}else{if(this.count===1)return this.leftPoints[0]===f?a:n;if(this.leftPoints.length===1&&this.leftPoints[0]===f){if(this.left&&this.right){for(var B=this,O=this.left;O.right;)B=O,O=O.right;if(B===this)O.right=this.right;else{var I=this.left,z=this.right;B.count-=O.count,B.right=O.left,O.left=I,O.right=z}h(this,O),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return i}for(var I=o.ge(this.leftPoints,f,E);I=0&&f[z][1]>=P;--z){var F=L(f[z]);if(F)return F}}function w(f,P){for(var L=0;Lthis.mid){if(this.right){var L=this.right.queryPoint(f,P);if(L)return L}return _(this.rightPoints,f,P)}else return w(this.leftPoints,P)},c.queryInterval=function(f,P,L){if(fthis.mid&&this.right){var z=this.right.queryInterval(f,P,L);if(z)return z}return Pthis.mid?_(this.rightPoints,f,L):w(this.leftPoints,L)};function M(f,P){return f-P}function E(f,P){var L=f[0]-P[0];return L||f[1]-P[1]}function m(f,P){var L=f[1]-P[1];return L||f[0]-P[0]}function b(f){if(f.length===0)return null;for(var P=[],L=0;L>1],F=[],B=[],O=[],L=0;L13)&&o!==32&&o!==133&&o!==160&&o!==5760&&o!==6158&&(o<8192||o>8205)&&o!==8232&&o!==8233&&o!==8239&&o!==8287&&o!==8288&&o!==12288&&o!==65279)return!1;return!0}},395:function(e){function t(r,o,n){return r*(1-n)+o*n}e.exports=t},2652:function(e,t,r){var o=r(4335),n=r(6864),i=r(1903),a=r(9921),s=r(7608),c=r(5665),h={length:r(1387),normalize:r(3536),dot:r(244),cross:r(5911)},p=n(),d=n(),T=[0,0,0,0],l=[[0,0,0],[0,0,0],[0,0,0]],_=[0,0,0];e.exports=function(b,v,u,y,f,P){if(v||(v=[0,0,0]),u||(u=[0,0,0]),y||(y=[0,0,0]),f||(f=[0,0,0,1]),P||(P=[0,0,0,1]),!o(p,b)||(i(d,p),d[3]=0,d[7]=0,d[11]=0,d[15]=1,Math.abs(a(d)<1e-8)))return!1;var L=p[3],z=p[7],F=p[11],B=p[12],O=p[13],I=p[14],N=p[15];if(L!==0||z!==0||F!==0){T[0]=L,T[1]=z,T[2]=F,T[3]=N;var U=s(d,d);if(!U)return!1;c(d,d),w(f,T,d)}else f[0]=f[1]=f[2]=0,f[3]=1;if(v[0]=B,v[1]=O,v[2]=I,M(l,p),u[0]=h.length(l[0]),h.normalize(l[0],l[0]),y[0]=h.dot(l[0],l[1]),E(l[1],l[1],l[0],1,-y[0]),u[1]=h.length(l[1]),h.normalize(l[1],l[1]),y[0]/=u[1],y[1]=h.dot(l[0],l[2]),E(l[2],l[2],l[0],1,-y[1]),y[2]=h.dot(l[1],l[2]),E(l[2],l[2],l[1],1,-y[2]),u[2]=h.length(l[2]),h.normalize(l[2],l[2]),y[1]/=u[2],y[2]/=u[2],h.cross(_,l[1],l[2]),h.dot(l[0],_)<0)for(var W=0;W<3;W++)u[W]*=-1,l[W][0]*=-1,l[W][1]*=-1,l[W][2]*=-1;return P[0]=.5*Math.sqrt(Math.max(1+l[0][0]-l[1][1]-l[2][2],0)),P[1]=.5*Math.sqrt(Math.max(1-l[0][0]+l[1][1]-l[2][2],0)),P[2]=.5*Math.sqrt(Math.max(1-l[0][0]-l[1][1]+l[2][2],0)),P[3]=.5*Math.sqrt(Math.max(1+l[0][0]+l[1][1]+l[2][2],0)),l[2][1]>l[1][2]&&(P[0]=-P[0]),l[0][2]>l[2][0]&&(P[1]=-P[1]),l[1][0]>l[0][1]&&(P[2]=-P[2]),!0};function w(m,b,v){var u=b[0],y=b[1],f=b[2],P=b[3];return m[0]=v[0]*u+v[4]*y+v[8]*f+v[12]*P,m[1]=v[1]*u+v[5]*y+v[9]*f+v[13]*P,m[2]=v[2]*u+v[6]*y+v[10]*f+v[14]*P,m[3]=v[3]*u+v[7]*y+v[11]*f+v[15]*P,m}function M(m,b){m[0][0]=b[0],m[0][1]=b[1],m[0][2]=b[2],m[1][0]=b[4],m[1][1]=b[5],m[1][2]=b[6],m[2][0]=b[8],m[2][1]=b[9],m[2][2]=b[10]}function E(m,b,v,u,y){m[0]=b[0]*u+v[0]*y,m[1]=b[1]*u+v[1]*y,m[2]=b[2]*u+v[2]*y}},4335:function(e){e.exports=function(r,o){var n=o[15];if(n===0)return!1;for(var i=1/n,a=0;a<16;a++)r[a]=o[a]*i;return!0}},7442:function(e,t,r){var o=r(6658),n=r(7182),i=r(2652),a=r(9921),s=r(8648),c=T(),h=T(),p=T();e.exports=d;function d(w,M,E,m){if(a(M)===0||a(E)===0)return!1;var b=i(M,c.translate,c.scale,c.skew,c.perspective,c.quaternion),v=i(E,h.translate,h.scale,h.skew,h.perspective,h.quaternion);return!b||!v?!1:(o(p.translate,c.translate,h.translate,m),o(p.skew,c.skew,h.skew,m),o(p.scale,c.scale,h.scale,m),o(p.perspective,c.perspective,h.perspective,m),s(p.quaternion,c.quaternion,h.quaternion,m),n(w,p.translate,p.scale,p.skew,p.perspective,p.quaternion),!0)}function T(){return{translate:l(),scale:l(1),skew:l(),perspective:_(),quaternion:_()}}function l(w){return[w||0,w||0,w||0]}function _(){return[0,0,0,1]}},7182:function(e,t,r){var o={identity:r(7894),translate:r(7656),multiply:r(6760),create:r(6864),scale:r(2504),fromRotationTranslation:r(6743)},n=o.create(),i=o.create();e.exports=function(s,c,h,p,d,T){return o.identity(s),o.fromRotationTranslation(s,T,c),s[3]=d[0],s[7]=d[1],s[11]=d[2],s[15]=d[3],o.identity(i),p[2]!==0&&(i[9]=p[2],o.multiply(s,s,i)),p[1]!==0&&(i[9]=0,i[8]=p[1],o.multiply(s,s,i)),p[0]!==0&&(i[8]=0,i[4]=p[0],o.multiply(s,s,i)),o.scale(s,s,h),s}},1811:function(e,t,r){\"use strict\";var o=r(2478),n=r(7442),i=r(7608),a=r(5567),s=r(2408),c=r(7089),h=r(6582),p=r(7656),d=r(2504),T=r(3536),l=[0,0,0];e.exports=E;function _(m){this._components=m.slice(),this._time=[0],this.prevMatrix=m.slice(),this.nextMatrix=m.slice(),this.computedMatrix=m.slice(),this.computedInverse=m.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var w=_.prototype;w.recalcMatrix=function(m){var b=this._time,v=o.le(b,m),u=this.computedMatrix;if(!(v<0)){var y=this._components;if(v===b.length-1)for(var f=16*v,P=0;P<16;++P)u[P]=y[f++];else{for(var L=b[v+1]-b[v],f=16*v,z=this.prevMatrix,F=!0,P=0;P<16;++P)z[P]=y[f++];for(var B=this.nextMatrix,P=0;P<16;++P)B[P]=y[f++],F=F&&z[P]===B[P];if(L<1e-6||F)for(var P=0;P<16;++P)u[P]=z[P];else n(u,z,B,(m-b[v])/L)}var O=this.computedUp;O[0]=u[1],O[1]=u[5],O[2]=u[9],T(O,O);var I=this.computedInverse;i(I,u);var N=this.computedEye,U=I[15];N[0]=I[12]/U,N[1]=I[13]/U,N[2]=I[14]/U;for(var W=this.computedCenter,Q=Math.exp(this.computedRadius[0]),P=0;P<3;++P)W[P]=N[P]-u[2+4*P]*Q}},w.idle=function(m){if(!(m1&&o(i[h[l-2]],i[h[l-1]],T)<=0;)l-=1,h.pop();for(h.push(d),l=p.length;l>1&&o(i[p[l-2]],i[p[l-1]],T)>=0;)l-=1,p.pop();p.push(d)}for(var _=new Array(p.length+h.length-2),w=0,s=0,M=h.length;s0;--E)_[w++]=p[E];return _}},351:function(e,t,r){\"use strict\";e.exports=n;var o=r(4687);function n(i,a){a||(a=i,i=window);var s=0,c=0,h=0,p={shift:!1,alt:!1,control:!1,meta:!1},d=!1;function T(f){var P=!1;return\"altKey\"in f&&(P=P||f.altKey!==p.alt,p.alt=!!f.altKey),\"shiftKey\"in f&&(P=P||f.shiftKey!==p.shift,p.shift=!!f.shiftKey),\"ctrlKey\"in f&&(P=P||f.ctrlKey!==p.control,p.control=!!f.ctrlKey),\"metaKey\"in f&&(P=P||f.metaKey!==p.meta,p.meta=!!f.metaKey),P}function l(f,P){var L=o.x(P),z=o.y(P);\"buttons\"in P&&(f=P.buttons|0),(f!==s||L!==c||z!==h||T(P))&&(s=f|0,c=L||0,h=z||0,a&&a(s,c,h,p))}function _(f){l(0,f)}function w(){(s||c||h||p.shift||p.alt||p.meta||p.control)&&(c=h=0,s=0,p.shift=p.alt=p.control=p.meta=!1,a&&a(0,0,0,p))}function M(f){T(f)&&a&&a(s,c,h,p)}function E(f){o.buttons(f)===0?l(0,f):l(s,f)}function m(f){l(s|o.buttons(f),f)}function b(f){l(s&~o.buttons(f),f)}function v(){d||(d=!0,i.addEventListener(\"mousemove\",E),i.addEventListener(\"mousedown\",m),i.addEventListener(\"mouseup\",b),i.addEventListener(\"mouseleave\",_),i.addEventListener(\"mouseenter\",_),i.addEventListener(\"mouseout\",_),i.addEventListener(\"mouseover\",_),i.addEventListener(\"blur\",w),i.addEventListener(\"keyup\",M),i.addEventListener(\"keydown\",M),i.addEventListener(\"keypress\",M),i!==window&&(window.addEventListener(\"blur\",w),window.addEventListener(\"keyup\",M),window.addEventListener(\"keydown\",M),window.addEventListener(\"keypress\",M)))}function u(){d&&(d=!1,i.removeEventListener(\"mousemove\",E),i.removeEventListener(\"mousedown\",m),i.removeEventListener(\"mouseup\",b),i.removeEventListener(\"mouseleave\",_),i.removeEventListener(\"mouseenter\",_),i.removeEventListener(\"mouseout\",_),i.removeEventListener(\"mouseover\",_),i.removeEventListener(\"blur\",w),i.removeEventListener(\"keyup\",M),i.removeEventListener(\"keydown\",M),i.removeEventListener(\"keypress\",M),i!==window&&(window.removeEventListener(\"blur\",w),window.removeEventListener(\"keyup\",M),window.removeEventListener(\"keydown\",M),window.removeEventListener(\"keypress\",M)))}v();var y={element:i};return Object.defineProperties(y,{enabled:{get:function(){return d},set:function(f){f?v():u()},enumerable:!0},buttons:{get:function(){return s},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return p},enumerable:!0}}),y}},24:function(e){var t={left:0,top:0};e.exports=r;function r(n,i,a){i=i||n.currentTarget||n.srcElement,Array.isArray(a)||(a=[0,0]);var s=n.clientX||0,c=n.clientY||0,h=o(i);return a[0]=s-h.left,a[1]=c-h.top,a}function o(n){return n===window||n===document||n===document.body?t:n.getBoundingClientRect()}},4687:function(e,t){\"use strict\";function r(a){if(typeof a==\"object\"){if(\"buttons\"in a)return a.buttons;if(\"which\"in a){var s=a.which;if(s===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1<0){if(le=1,G[J++]=p(v[P],w,M,E),P+=U,m>0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,Q=2;Q0)for(Q=1,L=v[P],X=G[J]=p(L,w,M,E),j=G[J+re],ce=G[J+ee],Ue=G[J+xe],(X!==j||X!==ce||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,j,ce,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,O,N,ce,Ue,w,M,E)),J+=1,P+=U,Q=2;Q0){if(Q=1,G[J++]=p(v[P],w,M,E),P+=U,b>0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++),J+=1,P+=U,le=2;le0)for(le=1,L=v[P],X=G[J]=p(L,w,M,E),ce=G[J+ee],j=G[J+re],Ue=G[J+xe],(X!==ce||X!==j||X!==Ue)&&(F=v[P+z],O=v[P+B],N=v[P+I],c(Q,le,L,F,O,N,X,ce,j,Ue,w,M,E),Ie=$[J]=se++,Ue!==ce&&h($[J+ee],Ie,N,F,Ue,ce,w,M,E)),J+=1,P+=U,le=2;le 0\"),typeof s.vertex!=\"function\"&&c(\"Must specify vertex creation function\"),typeof s.cell!=\"function\"&&c(\"Must specify cell creation function\"),typeof s.phase!=\"function\"&&c(\"Must specify phase function\");for(var T=s.getters||[],l=new Array(p),_=0;_=0?l[_]=!0:l[_]=!1;return i(s.vertex,s.cell,s.phase,d,h,l)}},6199:function(e,t,r){\"use strict\";var o=r(1338),n={zero:function(E,m,b,v){var u=E[0],y=b[0];v|=0;var f=0,P=y;for(f=0;f2&&f[1]>2&&v(y.pick(-1,-1).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,0).lo(1,1).hi(f[0]-2,f[1]-2),u.pick(-1,-1,1).lo(1,1).hi(f[0]-2,f[1]-2)),f[1]>2&&(b(y.pick(0,-1).lo(1).hi(f[1]-2),u.pick(0,-1,1).lo(1).hi(f[1]-2)),m(u.pick(0,-1,0).lo(1).hi(f[1]-2))),f[1]>2&&(b(y.pick(f[0]-1,-1).lo(1).hi(f[1]-2),u.pick(f[0]-1,-1,1).lo(1).hi(f[1]-2)),m(u.pick(f[0]-1,-1,0).lo(1).hi(f[1]-2))),f[0]>2&&(b(y.pick(-1,0).lo(1).hi(f[0]-2),u.pick(-1,0,0).lo(1).hi(f[0]-2)),m(u.pick(-1,0,1).lo(1).hi(f[0]-2))),f[0]>2&&(b(y.pick(-1,f[1]-1).lo(1).hi(f[0]-2),u.pick(-1,f[1]-1,0).lo(1).hi(f[0]-2)),m(u.pick(-1,f[1]-1,1).lo(1).hi(f[0]-2))),u.set(0,0,0,0),u.set(0,0,1,0),u.set(f[0]-1,0,0,0),u.set(f[0]-1,0,1,0),u.set(0,f[1]-1,0,0),u.set(0,f[1]-1,1,0),u.set(f[0]-1,f[1]-1,0,0),u.set(f[0]-1,f[1]-1,1,0),u}}function M(E){var m=E.join(),f=p[m];if(f)return f;for(var b=E.length,v=[T,l],u=1;u<=b;++u)v.push(_(u));var y=w,f=y.apply(void 0,v);return p[m]=f,f}e.exports=function(m,b,v){if(Array.isArray(v)||(typeof v==\"string\"?v=o(b.dimension,v):v=o(b.dimension,\"clamp\")),b.size===0)return m;if(b.dimension===0)return m.set(0),m;var u=M(v);return u(m,b)}},4317:function(e){\"use strict\";function t(a,s){var c=Math.floor(s),h=s-c,p=0<=c&&c0;){O<64?(m=O,O=0):(m=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(b=I,I=0):(b=64,I-=64),l=F+O*u+I*y,M=B+O*P+I*L;var N=0,U=0,W=0,Q=f,le=u-v*f,se=y-m*u,fe=z,G=P-v*z,$=L-m*P;for(W=0;W0;){L<64?(m=L,L=0):(m=64,L-=64);for(var z=p[0]|0;z>0;){z<64?(E=z,z=0):(E=64,z-=64),l=f+L*v+z*b,M=P+L*y+z*u;var F=0,B=0,O=v,I=b-m*v,N=y,U=u-m*y;for(B=0;B0;){B<64?(b=B,B=0):(b=64,B-=64);for(var O=p[0]|0;O>0;){O<64?(E=O,O=0):(E=64,O-=64);for(var I=p[1]|0;I>0;){I<64?(m=I,I=0):(m=64,I-=64),l=z+B*y+O*v+I*u,M=F+B*L+O*f+I*P;var N=0,U=0,W=0,Q=y,le=v-b*y,se=u-E*v,fe=L,G=f-b*L,$=P-E*f;for(W=0;W_;){N=0,U=F-m;t:for(O=0;OQ)break t;U+=f,N+=P}for(N=F,U=F-m,O=0;O>1,I=O-z,N=O+z,U=F,W=I,Q=O,le=N,se=B,fe=w+1,G=M-1,$=!0,J,X,re,ae,j,ee,ie,ce,xe,Te=0,Ue=0,Ie=0,Ye,it,at,tt,ut,Me,pe,ue,Oe,rt,ot,et,Lt,Et,Bt,qt,fr=y,ar=T(fr),Rr=T(fr);it=b*U,at=b*W,qt=m;e:for(Ye=0;Ye0){X=U,U=W,W=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=U,U=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*U,at=b*le,qt=m;e:for(Ye=0;Ye0){X=U,U=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*Q,at=b*le,qt=m;e:for(Ye=0;Ye0){X=Q,Q=le,le=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*se,qt=m;e:for(Ye=0;Ye0){X=W,W=se,se=X;break e}if(Ie<0)break e;qt+=P}it=b*W,at=b*Q,qt=m;e:for(Ye=0;Ye0){X=W,W=Q,Q=X;break e}if(Ie<0)break e;qt+=P}it=b*le,at=b*se,qt=m;e:for(Ye=0;Ye0){X=le,le=se,se=X;break e}if(Ie<0)break e;qt+=P}for(it=b*U,at=b*W,tt=b*Q,ut=b*le,Me=b*se,pe=b*F,ue=b*O,Oe=b*B,Bt=0,qt=m,Ye=0;Ye0)G--;else if(Ie<0){for(it=b*ee,at=b*fe,tt=b*G,qt=m,Ye=0;Ye0)for(;;){ie=m+G*b,Bt=0;e:for(Ye=0;Ye0){if(--GB){e:for(;;){for(ie=m+fe*b,Bt=0,qt=m,Ye=0;Ye1&&_?M(l,_[0],_[1]):M(l)}var h={\"uint32,1,0\":function(d,T){return function(l){var _=l.data,w=l.offset|0,M=l.shape,E=l.stride,m=E[0]|0,b=M[0]|0,v=E[1]|0,u=M[1]|0,y=v,f=v,P=1;b<=32?d(0,b-1,_,w,m,v,b,u,y,f,P):T(0,b-1,_,w,m,v,b,u,y,f,P)}}};function p(d,T){var l=[T,d].join(\",\"),_=h[l],w=a(d,T),M=c(d,T,w);return _(w,M)}e.exports=p},446:function(e,t,r){\"use strict\";var o=r(7640),n={};function i(a){var s=a.order,c=a.dtype,h=[s,c],p=h.join(\":\"),d=n[p];return d||(n[p]=d=o(s,c)),d(a),a}e.exports=i},9618:function(e,t,r){var o=r(7163),n=typeof Float64Array<\"u\";function i(T,l){return T[0]-l[0]}function a(){var T=this.stride,l=new Array(T.length),_;for(_=0;_=0&&(v=m|0,b+=y*v,u-=v),new w(this.data,u,y,b)},M.step=function(m){var b=this.shape[0],v=this.stride[0],u=this.offset,y=0,f=Math.ceil;return typeof m==\"number\"&&(y=m|0,y<0?(u+=v*(b-1),b=f(-b/y)):b=f(b/y),v*=y),new w(this.data,b,v,u)},M.transpose=function(m){m=m===void 0?0:m|0;var b=this.shape,v=this.stride;return new w(this.data,b[m],v[m],this.offset)},M.pick=function(m){var b=[],v=[],u=this.offset;typeof m==\"number\"&&m>=0?u=u+this.stride[0]*m|0:(b.push(this.shape[0]),v.push(this.stride[0]));var y=l[b.length+1];return y(this.data,b,v,u)},function(m,b,v,u){return new w(m,b[0],v[0],u)}},2:function(T,l,_){function w(E,m,b,v,u,y){this.data=E,this.shape=[m,b],this.stride=[v,u],this.offset=y|0}var M=w.prototype;return M.dtype=T,M.dimension=2,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(M,\"order\",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),M.set=function(m,b,v){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b,v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]=v},M.get=function(m,b){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b):this.data[this.offset+this.stride[0]*m+this.stride[1]*b]},M.index=function(m,b){return this.offset+this.stride[0]*m+this.stride[1]*b},M.hi=function(m,b){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,this.stride[0],this.stride[1],this.offset)},M.lo=function(m,b){var v=this.offset,u=0,y=this.shape[0],f=this.shape[1],P=this.stride[0],L=this.stride[1];return typeof m==\"number\"&&m>=0&&(u=m|0,v+=P*u,y-=u),typeof b==\"number\"&&b>=0&&(u=b|0,v+=L*u,f-=u),new w(this.data,y,f,P,L,v)},M.step=function(m,b){var v=this.shape[0],u=this.shape[1],y=this.stride[0],f=this.stride[1],P=this.offset,L=0,z=Math.ceil;return typeof m==\"number\"&&(L=m|0,L<0?(P+=y*(v-1),v=z(-v/L)):v=z(v/L),y*=L),typeof b==\"number\"&&(L=b|0,L<0?(P+=f*(u-1),u=z(-u/L)):u=z(u/L),f*=L),new w(this.data,v,u,y,f,P)},M.transpose=function(m,b){m=m===void 0?0:m|0,b=b===void 0?1:b|0;var v=this.shape,u=this.stride;return new w(this.data,v[m],v[b],u[m],u[b],this.offset)},M.pick=function(m,b){var v=[],u=[],y=this.offset;typeof m==\"number\"&&m>=0?y=y+this.stride[0]*m|0:(v.push(this.shape[0]),u.push(this.stride[0])),typeof b==\"number\"&&b>=0?y=y+this.stride[1]*b|0:(v.push(this.shape[1]),u.push(this.stride[1]));var f=l[v.length+1];return f(this.data,v,u,y)},function(m,b,v,u){return new w(m,b[0],b[1],v[0],v[1],u)}},3:function(T,l,_){function w(E,m,b,v,u,y,f,P){this.data=E,this.shape=[m,b,v],this.stride=[u,y,f],this.offset=P|0}var M=w.prototype;return M.dtype=T,M.dimension=3,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(M,\"order\",{get:function(){var m=Math.abs(this.stride[0]),b=Math.abs(this.stride[1]),v=Math.abs(this.stride[2]);return m>b?b>v?[2,1,0]:m>v?[1,2,0]:[1,0,2]:m>v?[2,0,1]:v>b?[0,1,2]:[0,2,1]}}),M.set=function(m,b,v,u){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v,u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]=u},M.get=function(m,b,v){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v]},M.index=function(m,b,v){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v},M.hi=function(m,b,v){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,typeof v!=\"number\"||v<0?this.shape[2]:v|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},M.lo=function(m,b,v){var u=this.offset,y=0,f=this.shape[0],P=this.shape[1],L=this.shape[2],z=this.stride[0],F=this.stride[1],B=this.stride[2];return typeof m==\"number\"&&m>=0&&(y=m|0,u+=z*y,f-=y),typeof b==\"number\"&&b>=0&&(y=b|0,u+=F*y,P-=y),typeof v==\"number\"&&v>=0&&(y=v|0,u+=B*y,L-=y),new w(this.data,f,P,L,z,F,B,u)},M.step=function(m,b,v){var u=this.shape[0],y=this.shape[1],f=this.shape[2],P=this.stride[0],L=this.stride[1],z=this.stride[2],F=this.offset,B=0,O=Math.ceil;return typeof m==\"number\"&&(B=m|0,B<0?(F+=P*(u-1),u=O(-u/B)):u=O(u/B),P*=B),typeof b==\"number\"&&(B=b|0,B<0?(F+=L*(y-1),y=O(-y/B)):y=O(y/B),L*=B),typeof v==\"number\"&&(B=v|0,B<0?(F+=z*(f-1),f=O(-f/B)):f=O(f/B),z*=B),new w(this.data,u,y,f,P,L,z,F)},M.transpose=function(m,b,v){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0;var u=this.shape,y=this.stride;return new w(this.data,u[m],u[b],u[v],y[m],y[b],y[v],this.offset)},M.pick=function(m,b,v){var u=[],y=[],f=this.offset;typeof m==\"number\"&&m>=0?f=f+this.stride[0]*m|0:(u.push(this.shape[0]),y.push(this.stride[0])),typeof b==\"number\"&&b>=0?f=f+this.stride[1]*b|0:(u.push(this.shape[1]),y.push(this.stride[1])),typeof v==\"number\"&&v>=0?f=f+this.stride[2]*v|0:(u.push(this.shape[2]),y.push(this.stride[2]));var P=l[u.length+1];return P(this.data,u,y,f)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],v[0],v[1],v[2],u)}},4:function(T,l,_){function w(E,m,b,v,u,y,f,P,L,z){this.data=E,this.shape=[m,b,v,u],this.stride=[y,f,P,L],this.offset=z|0}var M=w.prototype;return M.dtype=T,M.dimension=4,Object.defineProperty(M,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(M,\"order\",{get:_}),M.set=function(m,b,v,u,y){return T===\"generic\"?this.data.set(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u,y):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]=y},M.get=function(m,b,v,u){return T===\"generic\"?this.data.get(this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u):this.data[this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u]},M.index=function(m,b,v,u){return this.offset+this.stride[0]*m+this.stride[1]*b+this.stride[2]*v+this.stride[3]*u},M.hi=function(m,b,v,u){return new w(this.data,typeof m!=\"number\"||m<0?this.shape[0]:m|0,typeof b!=\"number\"||b<0?this.shape[1]:b|0,typeof v!=\"number\"||v<0?this.shape[2]:v|0,typeof u!=\"number\"||u<0?this.shape[3]:u|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},M.lo=function(m,b,v,u){var y=this.offset,f=0,P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.stride[0],O=this.stride[1],I=this.stride[2],N=this.stride[3];return typeof m==\"number\"&&m>=0&&(f=m|0,y+=B*f,P-=f),typeof b==\"number\"&&b>=0&&(f=b|0,y+=O*f,L-=f),typeof v==\"number\"&&v>=0&&(f=v|0,y+=I*f,z-=f),typeof u==\"number\"&&u>=0&&(f=u|0,y+=N*f,F-=f),new w(this.data,P,L,z,F,B,O,I,N,y)},M.step=function(m,b,v,u){var y=this.shape[0],f=this.shape[1],P=this.shape[2],L=this.shape[3],z=this.stride[0],F=this.stride[1],B=this.stride[2],O=this.stride[3],I=this.offset,N=0,U=Math.ceil;return typeof m==\"number\"&&(N=m|0,N<0?(I+=z*(y-1),y=U(-y/N)):y=U(y/N),z*=N),typeof b==\"number\"&&(N=b|0,N<0?(I+=F*(f-1),f=U(-f/N)):f=U(f/N),F*=N),typeof v==\"number\"&&(N=v|0,N<0?(I+=B*(P-1),P=U(-P/N)):P=U(P/N),B*=N),typeof u==\"number\"&&(N=u|0,N<0?(I+=O*(L-1),L=U(-L/N)):L=U(L/N),O*=N),new w(this.data,y,f,P,L,z,F,B,O,I)},M.transpose=function(m,b,v,u){m=m===void 0?0:m|0,b=b===void 0?1:b|0,v=v===void 0?2:v|0,u=u===void 0?3:u|0;var y=this.shape,f=this.stride;return new w(this.data,y[m],y[b],y[v],y[u],f[m],f[b],f[v],f[u],this.offset)},M.pick=function(m,b,v,u){var y=[],f=[],P=this.offset;typeof m==\"number\"&&m>=0?P=P+this.stride[0]*m|0:(y.push(this.shape[0]),f.push(this.stride[0])),typeof b==\"number\"&&b>=0?P=P+this.stride[1]*b|0:(y.push(this.shape[1]),f.push(this.stride[1])),typeof v==\"number\"&&v>=0?P=P+this.stride[2]*v|0:(y.push(this.shape[2]),f.push(this.stride[2])),typeof u==\"number\"&&u>=0?P=P+this.stride[3]*u|0:(y.push(this.shape[3]),f.push(this.stride[3]));var L=l[y.length+1];return L(this.data,y,f,P)},function(m,b,v,u){return new w(m,b[0],b[1],b[2],b[3],v[0],v[1],v[2],v[3],u)}},5:function(l,_,w){function M(m,b,v,u,y,f,P,L,z,F,B,O){this.data=m,this.shape=[b,v,u,y,f],this.stride=[P,L,z,F,B],this.offset=O|0}var E=M.prototype;return E.dtype=l,E.dimension=5,Object.defineProperty(E,\"size\",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,\"order\",{get:w}),E.set=function(b,v,u,y,f,P){return l===\"generic\"?this.data.set(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f,P):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]=P},E.get=function(b,v,u,y,f){return l===\"generic\"?this.data.get(this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f):this.data[this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f]},E.index=function(b,v,u,y,f){return this.offset+this.stride[0]*b+this.stride[1]*v+this.stride[2]*u+this.stride[3]*y+this.stride[4]*f},E.hi=function(b,v,u,y,f){return new M(this.data,typeof b!=\"number\"||b<0?this.shape[0]:b|0,typeof v!=\"number\"||v<0?this.shape[1]:v|0,typeof u!=\"number\"||u<0?this.shape[2]:u|0,typeof y!=\"number\"||y<0?this.shape[3]:y|0,typeof f!=\"number\"||f<0?this.shape[4]:f|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(b,v,u,y,f){var P=this.offset,L=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],O=this.shape[3],I=this.shape[4],N=this.stride[0],U=this.stride[1],W=this.stride[2],Q=this.stride[3],le=this.stride[4];return typeof b==\"number\"&&b>=0&&(L=b|0,P+=N*L,z-=L),typeof v==\"number\"&&v>=0&&(L=v|0,P+=U*L,F-=L),typeof u==\"number\"&&u>=0&&(L=u|0,P+=W*L,B-=L),typeof y==\"number\"&&y>=0&&(L=y|0,P+=Q*L,O-=L),typeof f==\"number\"&&f>=0&&(L=f|0,P+=le*L,I-=L),new M(this.data,z,F,B,O,I,N,U,W,Q,le,P)},E.step=function(b,v,u,y,f){var P=this.shape[0],L=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],O=this.stride[0],I=this.stride[1],N=this.stride[2],U=this.stride[3],W=this.stride[4],Q=this.offset,le=0,se=Math.ceil;return typeof b==\"number\"&&(le=b|0,le<0?(Q+=O*(P-1),P=se(-P/le)):P=se(P/le),O*=le),typeof v==\"number\"&&(le=v|0,le<0?(Q+=I*(L-1),L=se(-L/le)):L=se(L/le),I*=le),typeof u==\"number\"&&(le=u|0,le<0?(Q+=N*(z-1),z=se(-z/le)):z=se(z/le),N*=le),typeof y==\"number\"&&(le=y|0,le<0?(Q+=U*(F-1),F=se(-F/le)):F=se(F/le),U*=le),typeof f==\"number\"&&(le=f|0,le<0?(Q+=W*(B-1),B=se(-B/le)):B=se(B/le),W*=le),new M(this.data,P,L,z,F,B,O,I,N,U,W,Q)},E.transpose=function(b,v,u,y,f){b=b===void 0?0:b|0,v=v===void 0?1:v|0,u=u===void 0?2:u|0,y=y===void 0?3:y|0,f=f===void 0?4:f|0;var P=this.shape,L=this.stride;return new M(this.data,P[b],P[v],P[u],P[y],P[f],L[b],L[v],L[u],L[y],L[f],this.offset)},E.pick=function(b,v,u,y,f){var P=[],L=[],z=this.offset;typeof b==\"number\"&&b>=0?z=z+this.stride[0]*b|0:(P.push(this.shape[0]),L.push(this.stride[0])),typeof v==\"number\"&&v>=0?z=z+this.stride[1]*v|0:(P.push(this.shape[1]),L.push(this.stride[1])),typeof u==\"number\"&&u>=0?z=z+this.stride[2]*u|0:(P.push(this.shape[2]),L.push(this.stride[2])),typeof y==\"number\"&&y>=0?z=z+this.stride[3]*y|0:(P.push(this.shape[3]),L.push(this.stride[3])),typeof f==\"number\"&&f>=0?z=z+this.stride[4]*f|0:(P.push(this.shape[4]),L.push(this.stride[4]));var F=_[P.length+1];return F(this.data,P,L,z)},function(b,v,u,y){return new M(b,v[0],v[1],v[2],v[3],v[4],u[0],u[1],u[2],u[3],u[4],y)}}};function c(T,l){var _=l===-1?\"T\":String(l),w=s[_];return l===-1?w(T):l===0?w(T,p[T][0]):w(T,p[T],a)}function h(T){if(o(T))return\"buffer\";if(n)switch(Object.prototype.toString.call(T)){case\"[object Float64Array]\":return\"float64\";case\"[object Float32Array]\":return\"float32\";case\"[object Int8Array]\":return\"int8\";case\"[object Int16Array]\":return\"int16\";case\"[object Int32Array]\":return\"int32\";case\"[object Uint8ClampedArray]\":return\"uint8_clamped\";case\"[object Uint8Array]\":return\"uint8\";case\"[object Uint16Array]\":return\"uint16\";case\"[object Uint32Array]\":return\"uint32\";case\"[object BigInt64Array]\":return\"bigint64\";case\"[object BigUint64Array]\":return\"biguint64\"}return Array.isArray(T)?\"array\":\"generic\"}var p={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function d(T,l,_,w){if(T===void 0){var u=p.array[0];return u([])}else typeof T==\"number\"&&(T=[T]);l===void 0&&(l=[T.length]);var M=l.length;if(_===void 0){_=new Array(M);for(var E=M-1,m=1;E>=0;--E)_[E]=m,m*=l[E]}if(w===void 0){w=0;for(var E=0;E>>0;e.exports=a;function a(s,c){if(isNaN(s)||isNaN(c))return NaN;if(s===c)return s;if(s===0)return c<0?-n:n;var h=o.hi(s),p=o.lo(s);return c>s==s>0?p===i?(h+=1,p=0):p+=1:p===0?(p=i,h-=1):p-=1,o.pack(p,h)}},8406:function(e,t){var r=1e-6,o=1e-6;t.vertexNormals=function(n,i,a){for(var s=i.length,c=new Array(s),h=a===void 0?r:a,p=0;ph)for(var P=c[l],L=1/Math.sqrt(v*y),f=0;f<3;++f){var z=(f+1)%3,F=(f+2)%3;P[f]+=L*(u[z]*b[F]-u[F]*b[z])}}for(var p=0;ph)for(var L=1/Math.sqrt(B),f=0;f<3;++f)P[f]*=L;else for(var f=0;f<3;++f)P[f]=0}return c},t.faceNormals=function(n,i,a){for(var s=n.length,c=new Array(s),h=a===void 0?o:a,p=0;ph?E=1/Math.sqrt(E):E=0;for(var l=0;l<3;++l)M[l]*=E;c[p]=M}return c}},4081:function(e){\"use strict\";e.exports=t;function t(r,o,n,i,a,s,c,h,p,d){var T=o+s+d;if(l>0){var l=Math.sqrt(T+1);r[0]=.5*(c-p)/l,r[1]=.5*(h-i)/l,r[2]=.5*(n-s)/l,r[3]=.5*l}else{var _=Math.max(o,s,d),l=Math.sqrt(2*_-T+1);o>=_?(r[0]=.5*l,r[1]=.5*(a+n)/l,r[2]=.5*(h+i)/l,r[3]=.5*(c-p)/l):s>=_?(r[0]=.5*(n+a)/l,r[1]=.5*l,r[2]=.5*(p+c)/l,r[3]=.5*(h-i)/l):(r[0]=.5*(i+h)/l,r[1]=.5*(c+p)/l,r[2]=.5*l,r[3]=.5*(n-a)/l)}return r}},9977:function(e,t,r){\"use strict\";e.exports=l;var o=r(9215),n=r(6582),i=r(7399),a=r(7608),s=r(4081);function c(_,w,M){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2))}function h(_,w,M,E){return Math.sqrt(Math.pow(_,2)+Math.pow(w,2)+Math.pow(M,2)+Math.pow(E,2))}function p(_,w){var M=w[0],E=w[1],m=w[2],b=w[3],v=h(M,E,m,b);v>1e-6?(_[0]=M/v,_[1]=E/v,_[2]=m/v,_[3]=b/v):(_[0]=_[1]=_[2]=0,_[3]=1)}function d(_,w,M){this.radius=o([M]),this.center=o(w),this.rotation=o(_),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var T=d.prototype;T.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},T.recalcMatrix=function(_){this.radius.curve(_),this.center.curve(_),this.rotation.curve(_);var w=this.computedRotation;p(w,w);var M=this.computedMatrix;i(M,w);var E=this.computedCenter,m=this.computedEye,b=this.computedUp,v=Math.exp(this.computedRadius[0]);m[0]=E[0]+v*M[2],m[1]=E[1]+v*M[6],m[2]=E[2]+v*M[10],b[0]=M[1],b[1]=M[5],b[2]=M[9];for(var u=0;u<3;++u){for(var y=0,f=0;f<3;++f)y+=M[u+4*f]*m[f];M[12+u]=-y}},T.getMatrix=function(_,w){this.recalcMatrix(_);var M=this.computedMatrix;if(w){for(var E=0;E<16;++E)w[E]=M[E];return w}return M},T.idle=function(_){this.center.idle(_),this.radius.idle(_),this.rotation.idle(_)},T.flush=function(_){this.center.flush(_),this.radius.flush(_),this.rotation.flush(_)},T.pan=function(_,w,M,E){w=w||0,M=M||0,E=E||0,this.recalcMatrix(_);var m=this.computedMatrix,b=m[1],v=m[5],u=m[9],y=c(b,v,u);b/=y,v/=y,u/=y;var f=m[0],P=m[4],L=m[8],z=f*b+P*v+L*u;f-=b*z,P-=v*z,L-=u*z;var F=c(f,P,L);f/=F,P/=F,L/=F;var B=m[2],O=m[6],I=m[10],N=B*b+O*v+I*u,U=B*f+O*P+I*L;B-=N*b+U*f,O-=N*v+U*P,I-=N*u+U*L;var W=c(B,O,I);B/=W,O/=W,I/=W;var Q=f*w+b*M,le=P*w+v*M,se=L*w+u*M;this.center.move(_,Q,le,se);var fe=Math.exp(this.computedRadius[0]);fe=Math.max(1e-4,fe+E),this.radius.set(_,Math.log(fe))},T.rotate=function(_,w,M,E){this.recalcMatrix(_),w=w||0,M=M||0;var m=this.computedMatrix,b=m[0],v=m[4],u=m[8],y=m[1],f=m[5],P=m[9],L=m[2],z=m[6],F=m[10],B=w*b+M*y,O=w*v+M*f,I=w*u+M*P,N=-(z*I-F*O),U=-(F*B-L*I),W=-(L*O-z*B),Q=Math.sqrt(Math.max(0,1-Math.pow(N,2)-Math.pow(U,2)-Math.pow(W,2))),le=h(N,U,W,Q);le>1e-6?(N/=le,U/=le,W/=le,Q/=le):(N=U=W=0,Q=1);var se=this.computedRotation,fe=se[0],G=se[1],$=se[2],J=se[3],X=fe*Q+J*N+G*W-$*U,re=G*Q+J*U+$*N-fe*W,ae=$*Q+J*W+fe*U-G*N,j=J*Q-fe*N-G*U-$*W;if(E){N=L,U=z,W=F;var ee=Math.sin(E)/c(N,U,W);N*=ee,U*=ee,W*=ee,Q=Math.cos(w),X=X*Q+j*N+re*W-ae*U,re=re*Q+j*U+ae*N-X*W,ae=ae*Q+j*W+X*U-re*N,j=j*Q-X*N-re*U-ae*W}var ie=h(X,re,ae,j);ie>1e-6?(X/=ie,re/=ie,ae/=ie,j/=ie):(X=re=ae=0,j=1),this.rotation.set(_,X,re,ae,j)},T.lookAt=function(_,w,M,E){this.recalcMatrix(_),M=M||this.computedCenter,w=w||this.computedEye,E=E||this.computedUp;var m=this.computedMatrix;n(m,w,M,E);var b=this.computedRotation;s(b,m[0],m[1],m[2],m[4],m[5],m[6],m[8],m[9],m[10]),p(b,b),this.rotation.set(_,b[0],b[1],b[2],b[3]);for(var v=0,u=0;u<3;++u)v+=Math.pow(M[u]-w[u],2);this.radius.set(_,.5*Math.log(Math.max(v,1e-6))),this.center.set(_,M[0],M[1],M[2])},T.translate=function(_,w,M,E){this.center.move(_,w||0,M||0,E||0)},T.setMatrix=function(_,w){var M=this.computedRotation;s(M,w[0],w[1],w[2],w[4],w[5],w[6],w[8],w[9],w[10]),p(M,M),this.rotation.set(_,M[0],M[1],M[2],M[3]);var E=this.computedMatrix;a(E,w);var m=E[15];if(Math.abs(m)>1e-6){var b=E[12]/m,v=E[13]/m,u=E[14]/m;this.recalcMatrix(_);var y=Math.exp(this.computedRadius[0]);this.center.set(_,b-E[2]*y,v-E[6]*y,u-E[10]*y),this.radius.idle(_)}else this.center.idle(_),this.radius.idle(_)},T.setDistance=function(_,w){w>0&&this.radius.set(_,Math.log(w))},T.setDistanceLimits=function(_,w){_>0?_=Math.log(_):_=-1/0,w>0?w=Math.log(w):w=1/0,w=Math.max(w,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=w},T.getDistanceLimits=function(_){var w=this.radius.bounds;return _?(_[0]=Math.exp(w[0][0]),_[1]=Math.exp(w[1][0]),_):[Math.exp(w[0][0]),Math.exp(w[1][0])]},T.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},T.fromJSON=function(_){var w=this.lastT(),M=_.center;M&&this.center.set(w,M[0],M[1],M[2]);var E=_.rotation;E&&this.rotation.set(w,E[0],E[1],E[2],E[3]);var m=_.distance;m&&m>0&&this.radius.set(w,Math.log(m)),this.setDistanceLimits(_.zoomMin,_.zoomMax)};function l(_){_=_||{};var w=_.center||[0,0,0],M=_.rotation||[0,0,0,1],E=_.radius||1;w=[].slice.call(w,0,3),M=[].slice.call(M,0,4),p(M,M);var m=new d(M,w,Math.log(E));return m.setDistanceLimits(_.zoomMin,_.zoomMax),(\"eye\"in _||\"up\"in _)&&m.lookAt(0,_.eye,_.center,_.up),m}},1371:function(e,t,r){\"use strict\";var o=r(3233);e.exports=function(i,a,s){return s=typeof s<\"u\"?s+\"\":\" \",o(s,a)+i}},3202:function(e){e.exports=function(r,o){o||(o=[0,\"\"]),r=String(r);var n=parseFloat(r,10);return o[0]=n,o[1]=r.match(/[\\d.\\-\\+]*\\s*(.*)/)[1]||\"\",o}},3088:function(e,t,r){\"use strict\";e.exports=n;var o=r(3140);function n(i,a){for(var s=a.length|0,c=i.length,h=[new Array(s),new Array(s)],p=0;p0){P=h[F][y][0],z=F;break}L=P[z^1];for(var B=0;B<2;++B)for(var O=h[B][y],I=0;I0&&(P=N,L=U,z=B)}return f||P&&l(P,z),L}function w(u,y){var f=h[y][u][0],P=[u];l(f,y);for(var L=f[y^1],z=y;;){for(;L!==u;)P.push(L),L=_(P[P.length-2],L,!1);if(h[0][u].length+h[1][u].length===0)break;var F=P[P.length-1],B=u,O=P[1],I=_(F,B,!0);if(o(a[F],a[B],a[O],a[I])<0)break;P.push(u),L=_(F,B)}return P}function M(u,y){return y[1]===y[y.length-1]}for(var p=0;p0;){var b=h[0][p].length,v=w(p,E);M(m,v)?m.push.apply(m,v):(m.length>0&&T.push(m),m=v)}m.length>0&&T.push(m)}return T}},5609:function(e,t,r){\"use strict\";e.exports=n;var o=r(3134);function n(i,a){for(var s=o(i,a.length),c=new Array(a.length),h=new Array(a.length),p=[],d=0;d0;){var l=p.pop();c[l]=!1;for(var _=s[l],d=0;d<_.length;++d){var w=_[d];--h[w]===0&&p.push(w)}}for(var M=new Array(a.length),E=[],d=0;d0}b=b.filter(v);for(var u=b.length,y=new Array(u),f=new Array(u),m=0;m0;){var ie=ae.pop(),ce=le[ie];c(ce,function(Ye,it){return Ye-it});var xe=ce.length,Te=j[ie],Ue;if(Te===0){var O=b[ie];Ue=[O]}for(var m=0;m=0)&&(j[Ie]=Te^1,ae.push(Ie),Te===0)){var O=b[Ie];re(O)||(O.reverse(),Ue.push(O))}}Te===0&&ee.push(Ue)}return ee}},5085:function(e,t,r){e.exports=_;var o=r(3250)[3],n=r(4209),i=r(3352),a=r(2478);function s(){return!0}function c(w){return function(M,E){var m=w[M];return m?!!m.queryPoint(E,s):!1}}function h(w){for(var M={},E=0;E0&&M[m]===E[0])b=w[m-1];else return 1;for(var v=1;b;){var u=b.key,y=o(E,u[0],u[1]);if(u[0][0]0)v=-1,b=b.right;else return 0;else if(y>0)b=b.left;else if(y<0)v=1,b=b.right;else return 0}return v}}function d(w){return 1}function T(w){return function(E){return w(E[0],E[1])?0:1}}function l(w,M){return function(m){return w(m[0],m[1])?0:M(m)}}function _(w){for(var M=w.length,E=[],m=[],b=0,v=0;v=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M)):(u=0,w>=0?(y=0,f=M):-w>=l?(y=1,f=l+2*w+M):(y=-w/l,f=w*y+M));else if(y<0)y=0,_>=0?(u=0,f=M):-_>=d?(u=1,f=d+2*_+M):(u=-_/d,f=_*u+M);else{var P=1/v;u*=P,y*=P,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M}else{var L,z,F,B;u<0?(L=T+_,z=l+w,z>L?(F=z-L,B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(u=0,z<=0?(y=1,f=l+2*w+M):w>=0?(y=0,f=M):(y=-w/l,f=w*y+M))):y<0?(L=T+w,z=d+_,z>L?(F=z-L,B=d-2*T+l,F>=B?(y=1,u=0,f=l+2*w+M):(y=F/B,u=1-y,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)):(y=0,z<=0?(u=1,f=d+2*_+M):_>=0?(u=0,f=M):(u=-_/d,f=_*u+M))):(F=l+w-T-_,F<=0?(u=0,y=1,f=l+2*w+M):(B=d-2*T+l,F>=B?(u=1,y=0,f=d+2*_+M):(u=F/B,y=1-u,f=u*(d*u+T*y+2*_)+y*(T*u+l*y+2*w)+M)))}for(var O=1-u-y,p=0;p0){var l=s[h-1];if(o(d,l)===0&&i(l)!==T){h-=1;continue}}s[h++]=d}}return s.length=h,s}},3233:function(e){\"use strict\";var t=\"\",r;e.exports=o;function o(n,i){if(typeof n!=\"string\")throw new TypeError(\"expected a string\");if(i===1)return n;if(i===2)return n+n;var a=n.length*i;if(r!==n||typeof r>\"u\")r=n,t=\"\";else if(t.length>=a)return t.substr(0,a);for(;a>t.length&&i>1;)i&1&&(t+=n),i>>=1,n+=n;return t+=n,t=t.substr(0,a),t}},3025:function(e,t,r){e.exports=r.g.performance&&r.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},7004:function(e){\"use strict\";e.exports=t;function t(r){for(var o=r.length,n=r[r.length-1],i=o,a=o-2;a>=0;--a){var s=n,c=r[a];n=s+c;var h=n-s,p=c-h;p&&(r[--i]=n,n=p)}for(var d=0,a=i;a0){if(z<=0)return F;B=L+z}else if(L<0){if(z>=0)return F;B=-(L+z)}else return F;var O=h*B;return F>=O||F<=-O?F:w(y,f,P)},function(y,f,P,L){var z=y[0]-L[0],F=f[0]-L[0],B=P[0]-L[0],O=y[1]-L[1],I=f[1]-L[1],N=P[1]-L[1],U=y[2]-L[2],W=f[2]-L[2],Q=P[2]-L[2],le=F*N,se=B*I,fe=B*O,G=z*N,$=z*I,J=F*O,X=U*(le-se)+W*(fe-G)+Q*($-J),re=(Math.abs(le)+Math.abs(se))*Math.abs(U)+(Math.abs(fe)+Math.abs(G))*Math.abs(W)+(Math.abs($)+Math.abs(J))*Math.abs(Q),ae=p*re;return X>ae||-X>ae?X:M(y,f,P,L)}];function m(u){var y=E[u.length];return y||(y=E[u.length]=_(u.length)),y.apply(void 0,u)}function b(u,y,f,P,L,z,F){return function(O,I,N,U,W){switch(arguments.length){case 0:case 1:return 0;case 2:return P(O,I);case 3:return L(O,I,N);case 4:return z(O,I,N,U);case 5:return F(O,I,N,U,W)}for(var Q=new Array(arguments.length),le=0;le0&&d>0||p<0&&d<0)return!1;var T=o(c,a,s),l=o(h,a,s);return T>0&&l>0||T<0&&l<0?!1:p===0&&d===0&&T===0&&l===0?n(a,s,c,h):!0}},8545:function(e){\"use strict\";e.exports=r;function t(o,n){var i=o+n,a=i-o,s=i-a,c=n-a,h=o-s,p=h+c;return p?[p,i]:[i]}function r(o,n){var i=o.length|0,a=n.length|0;if(i===1&&a===1)return t(o[0],-n[0]);var s=i+a,c=new Array(s),h=0,p=0,d=0,T=Math.abs,l=o[p],_=T(l),w=-n[d],M=T(w),E,m;_=a?(E=l,p+=1,p=a?(E=l,p+=1,p\"u\"&&(E=s(_));var m=_.length;if(m===0||E<1)return{cells:[],vertexIds:[],vertexWeights:[]};var b=c(w,+M),v=h(_,E),u=p(v,w,b,+M),y=d(v,w.length|0),f=a(E)(_,v.data,y,b),P=T(v),L=[].slice.call(u.data,0,u.shape[0]);return n.free(b),n.free(v.data),n.free(u.data),n.free(y),{cells:f,vertexIds:P,vertexWeights:L}}},1570:function(e){\"use strict\";e.exports=r;var t=[function(){function n(a,s,c,h){for(var p=Math.min(c,h)|0,d=Math.max(c,h)|0,T=a[2*p],l=a[2*p+1];T>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,w=s[2*_+1];if(w===d)return _;d>1,B=h(y[F],f);B<=0?(B===0&&(z=F),P=F+1):B>0&&(L=F-1)}return z}o=l;function _(y,f){for(var P=new Array(y.length),L=0,z=P.length;L=y.length||h(y[le],F)!==0););}return P}o=_;function w(y,f){if(!f)return _(T(E(y,0)),y,0);for(var P=new Array(f),L=0;L>>N&1&&I.push(z[N]);f.push(I)}return d(f)}o=M;function E(y,f){if(f<0)return[];for(var P=[],L=(1<0)-(i<0)},t.abs=function(i){var a=i>>r-1;return(i^a)-a},t.min=function(i,a){return a^(i^a)&-(i65535)<<4,i>>>=a,s=(i>255)<<3,i>>>=s,a|=s,s=(i>15)<<2,i>>>=s,a|=s,s=(i>3)<<1,i>>>=s,a|=s,a|i>>1},t.log10=function(i){return i>=1e9?9:i>=1e8?8:i>=1e7?7:i>=1e6?6:i>=1e5?5:i>=1e4?4:i>=1e3?3:i>=100?2:i>=10?1:0},t.popCount=function(i){return i=i-(i>>>1&1431655765),i=(i&858993459)+(i>>>2&858993459),(i+(i>>>4)&252645135)*16843009>>>24};function o(i){var a=32;return i&=-i,i&&a--,i&65535&&(a-=16),i&16711935&&(a-=8),i&252645135&&(a-=4),i&858993459&&(a-=2),i&1431655765&&(a-=1),a}t.countTrailingZeros=o,t.nextPow2=function(i){return i+=i===0,--i,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i+1},t.prevPow2=function(i){return i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i-(i>>>1)},t.parity=function(i){return i^=i>>>16,i^=i>>>8,i^=i>>>4,i&=15,27030>>>i&1};var n=new Array(256);(function(i){for(var a=0;a<256;++a){var s=a,c=a,h=7;for(s>>>=1;s;s>>>=1)c<<=1,c|=s&1,--h;i[a]=c<>>8&255]<<16|n[i>>>16&255]<<8|n[i>>>24&255]},t.interleave2=function(i,a){return i&=65535,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,i|a<<1},t.deinterleave2=function(i,a){return i=i>>>a&1431655765,i=(i|i>>>1)&858993459,i=(i|i>>>2)&252645135,i=(i|i>>>4)&16711935,i=(i|i>>>16)&65535,i<<16>>16},t.interleave3=function(i,a,s){return i&=1023,i=(i|i<<16)&4278190335,i=(i|i<<8)&251719695,i=(i|i<<4)&3272356035,i=(i|i<<2)&1227133513,a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,i|=a<<1,s&=1023,s=(s|s<<16)&4278190335,s=(s|s<<8)&251719695,s=(s|s<<4)&3272356035,s=(s|s<<2)&1227133513,i|s<<2},t.deinterleave3=function(i,a){return i=i>>>a&1227133513,i=(i|i>>>2)&3272356035,i=(i|i>>>4)&251719695,i=(i|i>>>8)&4278190335,i=(i|i>>>16)&1023,i<<22>>22},t.nextCombination=function(i){var a=i|i-1;return a+1|(~a&-~a)-1>>>o(i)+1}},2014:function(e,t,r){\"use strict\";\"use restrict\";var o=r(3105),n=r(4623);function i(u){for(var y=0,f=Math.max,P=0,L=u.length;P>1,F=c(u[z],y);F<=0?(F===0&&(L=z),f=z+1):F>0&&(P=z-1)}return L}t.findCell=T;function l(u,y){for(var f=new Array(u.length),P=0,L=f.length;P=u.length||c(u[Q],z)!==0););}return f}t.incidence=l;function _(u,y){if(!y)return l(d(M(u,0)),u,0);for(var f=new Array(y),P=0;P>>I&1&&O.push(L[I]);y.push(O)}return p(y)}t.explode=w;function M(u,y){if(y<0)return[];for(var f=[],P=(1<>1:(G>>1)-1}function P(G){for(var $=y(G);;){var J=$,X=2*G+1,re=2*(G+1),ae=G;if(X0;){var J=f(G);if(J>=0){var X=y(J);if($0){var G=O[0];return u(0,U-1),U-=1,P(0),G}return-1}function F(G,$){var J=O[G];return _[J]===$?G:(_[J]=-1/0,L(G),z(),_[J]=$,U+=1,L(U-1))}function B(G){if(!w[G]){w[G]=!0;var $=T[G],J=l[G];T[J]>=0&&(T[J]=$),l[$]>=0&&(l[$]=J),I[$]>=0&&F(I[$],v($)),I[J]>=0&&F(I[J],v(J))}}for(var O=[],I=new Array(p),M=0;M>1;M>=0;--M)P(M);for(;;){var W=z();if(W<0||_[W]>h)break;B(W)}for(var Q=[],M=0;M=0&&J>=0&&$!==J){var X=I[$],re=I[J];X!==re&&fe.push([X,re])}}),n.unique(n.normalize(fe)),{positions:Q,edges:fe}}},1303:function(e,t,r){\"use strict\";e.exports=i;var o=r(3250);function n(a,s){var c,h;if(s[0][0]s[1][0])c=s[1],h=s[0];else{var p=Math.min(a[0][1],a[1][1]),d=Math.max(a[0][1],a[1][1]),T=Math.min(s[0][1],s[1][1]),l=Math.max(s[0][1],s[1][1]);return dl?p-l:d-l}var _,w;a[0][1]s[1][0])c=s[1],h=s[0];else return n(s,a);var p,d;if(a[0][0]a[1][0])p=a[1],d=a[0];else return-n(a,s);var T=o(c,h,d),l=o(c,h,p);if(T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;if(T=o(d,p,h),l=o(d,p,c),T<0){if(l<=0)return T}else if(T>0){if(l>=0)return T}else if(l)return l;return h[0]-d[0]}},4209:function(e,t,r){\"use strict\";e.exports=l;var o=r(2478),n=r(3840),i=r(3250),a=r(1303);function s(_,w,M){this.slabs=_,this.coordinates=w,this.horizontal=M}var c=s.prototype;function h(_,w){return _.y-w}function p(_,w){for(var M=null;_;){var E=_.key,m,b;E[0][0]0)if(w[0]!==E[1][0])M=_,_=_.right;else{var u=p(_.right,w);if(u)return u;_=_.left}else{if(w[0]!==E[1][0])return _;var u=p(_.right,w);if(u)return u;_=_.left}}return M}c.castUp=function(_){var w=o.le(this.coordinates,_[0]);if(w<0)return-1;var M=this.slabs[w],E=p(this.slabs[w],_),m=-1;if(E&&(m=E.value),this.coordinates[w]===_[0]){var b=null;if(E&&(b=E.key),w>0){var v=p(this.slabs[w-1],_);v&&(b?a(v.key,b)>0&&(b=v.key,m=v.value):(m=v.value,b=v.key))}var u=this.horizontal[w];if(u.length>0){var y=o.ge(u,_[1],h);if(y=u.length)return m;f=u[y]}}if(f.start)if(b){var P=i(b[0],b[1],[_[0],f.y]);b[0][0]>b[1][0]&&(P=-P),P>0&&(m=f.index)}else m=f.index;else f.y!==_[1]&&(m=f.index)}}}return m};function d(_,w,M,E){this.y=_,this.index=w,this.start=M,this.closed=E}function T(_,w,M,E){this.x=_,this.segment=w,this.create=M,this.index=E}function l(_){for(var w=_.length,M=2*w,E=new Array(M),m=0;m1&&(w=1);for(var M=1-w,E=p.length,m=new Array(E),b=0;b0||_>0&&m<0){var b=a(w,m,M,_);T.push(b),l.push(b.slice())}m<0?l.push(M.slice()):m>0?T.push(M.slice()):(T.push(M.slice()),l.push(M.slice())),_=m}return{positive:T,negative:l}}function c(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E>=0&&T.push(w.slice()),l=E}return T}function h(p,d){for(var T=[],l=i(p[p.length-1],d),_=p[p.length-1],w=p[0],M=0;M0||l>0&&E<0)&&T.push(a(_,E,w,l)),E<=0&&T.push(w.slice()),l=E}return T}},3387:function(e,t,r){var o;(function(){\"use strict\";var n={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\\x25]+/,modulo:/^\\x25{2}/,placeholder:/^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\\d]*)/i,key_access:/^\\.([a-z_][a-z_\\d]*)/i,index_access:/^\\[(\\d+)\\]/,sign:/^[+-]/};function i(p){return s(h(p),arguments)}function a(p,d){return i.apply(null,[p].concat(d||[]))}function s(p,d){var T=1,l=p.length,_,w=\"\",M,E,m,b,v,u,y,f;for(M=0;M=0),m.type){case\"b\":_=parseInt(_,10).toString(2);break;case\"c\":_=String.fromCharCode(parseInt(_,10));break;case\"d\":case\"i\":_=parseInt(_,10);break;case\"j\":_=JSON.stringify(_,null,m.width?parseInt(m.width):0);break;case\"e\":_=m.precision?parseFloat(_).toExponential(m.precision):parseFloat(_).toExponential();break;case\"f\":_=m.precision?parseFloat(_).toFixed(m.precision):parseFloat(_);break;case\"g\":_=m.precision?String(Number(_.toPrecision(m.precision))):parseFloat(_);break;case\"o\":_=(parseInt(_,10)>>>0).toString(8);break;case\"s\":_=String(_),_=m.precision?_.substring(0,m.precision):_;break;case\"t\":_=String(!!_),_=m.precision?_.substring(0,m.precision):_;break;case\"T\":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=m.precision?_.substring(0,m.precision):_;break;case\"u\":_=parseInt(_,10)>>>0;break;case\"v\":_=_.valueOf(),_=m.precision?_.substring(0,m.precision):_;break;case\"x\":_=(parseInt(_,10)>>>0).toString(16);break;case\"X\":_=(parseInt(_,10)>>>0).toString(16).toUpperCase();break}n.json.test(m.type)?w+=_:(n.number.test(m.type)&&(!y||m.sign)?(f=y?\"+\":\"-\",_=_.toString().replace(n.sign,\"\")):f=\"\",v=m.pad_char?m.pad_char===\"0\"?\"0\":m.pad_char.charAt(1):\" \",u=m.width-(f+_).length,b=m.width&&u>0?v.repeat(u):\"\",w+=m.align?f+_+b:v===\"0\"?f+b+_:b+f+_)}return w}var c=Object.create(null);function h(p){if(c[p])return c[p];for(var d=p,T,l=[],_=0;d;){if((T=n.text.exec(d))!==null)l.push(T[0]);else if((T=n.modulo.exec(d))!==null)l.push(\"%\");else if((T=n.placeholder.exec(d))!==null){if(T[2]){_|=1;var w=[],M=T[2],E=[];if((E=n.key.exec(M))!==null)for(w.push(E[1]);(M=M.substring(E[0].length))!==\"\";)if((E=n.key_access.exec(M))!==null)w.push(E[1]);else if((E=n.index_access.exec(M))!==null)w.push(E[1]);else throw new SyntaxError(\"[sprintf] failed to parse named argument key\");else throw new SyntaxError(\"[sprintf] failed to parse named argument key\");T[2]=w}else _|=2;if(_===3)throw new Error(\"[sprintf] mixing positional and named placeholders is not (yet) supported\");l.push({placeholder:T[0],param_no:T[1],keys:T[2],sign:T[3],pad_char:T[4],align:T[5],width:T[6],precision:T[7],type:T[8]})}else throw new SyntaxError(\"[sprintf] unexpected placeholder\");d=d.substring(T[0].length)}return c[p]=l}t.sprintf=i,t.vsprintf=a,typeof window<\"u\"&&(window.sprintf=i,window.vsprintf=a,o=function(){return{sprintf:i,vsprintf:a}}.call(t,r,t,e),o!==void 0&&(e.exports=o))})()},3711:function(e,t,r){\"use strict\";e.exports=h;var o=r(2640),n=r(781),i={\"2d\":function(p,d,T){var l=p({order:d,scalarArguments:3,getters:T===\"generic\"?[0]:void 0,phase:function(w,M,E,m){return w>m|0},vertex:function(w,M,E,m,b,v,u,y,f,P,L,z,F){var B=(u<<0)+(y<<1)+(f<<2)+(P<<3)|0;if(!(B===0||B===15))switch(B){case 0:L.push([w-.5,M-.5]);break;case 1:L.push([w-.25-.25*(m+E-2*F)/(E-m),M-.25-.25*(b+E-2*F)/(E-b)]);break;case 2:L.push([w-.75-.25*(-m-E+2*F)/(m-E),M-.25-.25*(v+m-2*F)/(m-v)]);break;case 3:L.push([w-.5,M-.5-.5*(b+E+v+m-4*F)/(E-b+m-v)]);break;case 4:L.push([w-.25-.25*(v+b-2*F)/(b-v),M-.75-.25*(-b-E+2*F)/(b-E)]);break;case 5:L.push([w-.5-.5*(m+E+v+b-4*F)/(E-m+b-v),M-.5]);break;case 6:L.push([w-.5-.25*(-m-E+v+b)/(m-E+b-v),M-.5-.25*(-b-E+v+m)/(b-E+m-v)]);break;case 7:L.push([w-.75-.25*(v+b-2*F)/(b-v),M-.75-.25*(v+m-2*F)/(m-v)]);break;case 8:L.push([w-.75-.25*(-v-b+2*F)/(v-b),M-.75-.25*(-v-m+2*F)/(v-m)]);break;case 9:L.push([w-.5-.25*(m+E+-v-b)/(E-m+v-b),M-.5-.25*(b+E+-v-m)/(E-b+v-m)]);break;case 10:L.push([w-.5-.5*(-m-E+-v-b+4*F)/(m-E+v-b),M-.5]);break;case 11:L.push([w-.25-.25*(-v-b+2*F)/(v-b),M-.75-.25*(b+E-2*F)/(E-b)]);break;case 12:L.push([w-.5,M-.5-.5*(-b-E+-v-m+4*F)/(b-E+v-m)]);break;case 13:L.push([w-.75-.25*(m+E-2*F)/(E-m),M-.25-.25*(-v-m+2*F)/(v-m)]);break;case 14:L.push([w-.25-.25*(-m-E+2*F)/(m-E),M-.25-.25*(-b-E+2*F)/(b-E)]);break;case 15:L.push([w-.5,M-.5]);break}},cell:function(w,M,E,m,b,v,u,y,f){b?y.push([w,M]):y.push([M,w])}});return function(_,w){var M=[],E=[];return l(_,M,E,w),{positions:M,cells:E}}}};function a(p,d){var T=p.length+\"d\",l=i[T];if(l)return l(o,p,d)}function s(p,d){for(var T=n(p,d),l=T.length,_=new Array(l),w=new Array(l),M=0;MMath.max(m,b)?v[2]=1:m>Math.max(E,b)?v[0]=1:v[1]=1;for(var u=0,y=0,f=0;f<3;++f)u+=M[f]*M[f],y+=v[f]*M[f];for(var f=0;f<3;++f)v[f]-=y/u*M[f];return s(v,v),v}function T(M,E,m,b,v,u,y,f){this.center=o(m),this.up=o(b),this.right=o(v),this.radius=o([u]),this.angle=o([y,f]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(M,E),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var P=0;P<16;++P)this.computedMatrix[P]=.5;this.recalcMatrix(0)}var l=T.prototype;l.setDistanceLimits=function(M,E){M>0?M=Math.log(M):M=-1/0,E>0?E=Math.log(E):E=1/0,E=Math.max(E,M),this.radius.bounds[0][0]=M,this.radius.bounds[1][0]=E},l.getDistanceLimits=function(M){var E=this.radius.bounds[0];return M?(M[0]=Math.exp(E[0][0]),M[1]=Math.exp(E[1][0]),M):[Math.exp(E[0][0]),Math.exp(E[1][0])]},l.recalcMatrix=function(M){this.center.curve(M),this.up.curve(M),this.right.curve(M),this.radius.curve(M),this.angle.curve(M);for(var E=this.computedUp,m=this.computedRight,b=0,v=0,u=0;u<3;++u)v+=E[u]*m[u],b+=E[u]*E[u];for(var y=Math.sqrt(b),f=0,u=0;u<3;++u)m[u]-=E[u]*v/b,f+=m[u]*m[u],E[u]/=y;for(var P=Math.sqrt(f),u=0;u<3;++u)m[u]/=P;var L=this.computedToward;a(L,E,m),s(L,L);for(var z=Math.exp(this.computedRadius[0]),F=this.computedAngle[0],B=this.computedAngle[1],O=Math.cos(F),I=Math.sin(F),N=Math.cos(B),U=Math.sin(B),W=this.computedCenter,Q=O*N,le=I*N,se=U,fe=-O*U,G=-I*U,$=N,J=this.computedEye,X=this.computedMatrix,u=0;u<3;++u){var re=Q*m[u]+le*L[u]+se*E[u];X[4*u+1]=fe*m[u]+G*L[u]+$*E[u],X[4*u+2]=re,X[4*u+3]=0}var ae=X[1],j=X[5],ee=X[9],ie=X[2],ce=X[6],xe=X[10],Te=j*xe-ee*ce,Ue=ee*ie-ae*xe,Ie=ae*ce-j*ie,Ye=h(Te,Ue,Ie);Te/=Ye,Ue/=Ye,Ie/=Ye,X[0]=Te,X[4]=Ue,X[8]=Ie;for(var u=0;u<3;++u)J[u]=W[u]+X[2+4*u]*z;for(var u=0;u<3;++u){for(var f=0,it=0;it<3;++it)f+=X[u+4*it]*J[it];X[12+u]=-f}X[15]=1},l.getMatrix=function(M,E){this.recalcMatrix(M);var m=this.computedMatrix;if(E){for(var b=0;b<16;++b)E[b]=m[b];return E}return m};var _=[0,0,0];l.rotate=function(M,E,m,b){if(this.angle.move(M,E,m),b){this.recalcMatrix(M);var v=this.computedMatrix;_[0]=v[2],_[1]=v[6],_[2]=v[10];for(var u=this.computedUp,y=this.computedRight,f=this.computedToward,P=0;P<3;++P)v[4*P]=u[P],v[4*P+1]=y[P],v[4*P+2]=f[P];i(v,v,b,_);for(var P=0;P<3;++P)u[P]=v[4*P],y[P]=v[4*P+1];this.up.set(M,u[0],u[1],u[2]),this.right.set(M,y[0],y[1],y[2])}},l.pan=function(M,E,m,b){E=E||0,m=m||0,b=b||0,this.recalcMatrix(M);var v=this.computedMatrix,u=Math.exp(this.computedRadius[0]),y=v[1],f=v[5],P=v[9],L=h(y,f,P);y/=L,f/=L,P/=L;var z=v[0],F=v[4],B=v[8],O=z*y+F*f+B*P;z-=y*O,F-=f*O,B-=P*O;var I=h(z,F,B);z/=I,F/=I,B/=I;var N=z*E+y*m,U=F*E+f*m,W=B*E+P*m;this.center.move(M,N,U,W);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+b),this.radius.set(M,Math.log(Q))},l.translate=function(M,E,m,b){this.center.move(M,E||0,m||0,b||0)},l.setMatrix=function(M,E,m,b){var v=1;typeof m==\"number\"&&(v=m|0),(v<0||v>3)&&(v=1);var u=(v+2)%3,y=(v+1)%3;E||(this.recalcMatrix(M),E=this.computedMatrix);var f=E[v],P=E[v+4],L=E[v+8];if(b){var F=Math.abs(f),B=Math.abs(P),O=Math.abs(L),I=Math.max(F,B,O);F===I?(f=f<0?-1:1,P=L=0):O===I?(L=L<0?-1:1,f=P=0):(P=P<0?-1:1,f=L=0)}else{var z=h(f,P,L);f/=z,P/=z,L/=z}var N=E[u],U=E[u+4],W=E[u+8],Q=N*f+U*P+W*L;N-=f*Q,U-=P*Q,W-=L*Q;var le=h(N,U,W);N/=le,U/=le,W/=le;var se=P*W-L*U,fe=L*N-f*W,G=f*U-P*N,$=h(se,fe,G);se/=$,fe/=$,G/=$,this.center.jump(M,pe,ue,Oe),this.radius.idle(M),this.up.jump(M,f,P,L),this.right.jump(M,N,U,W);var J,X;if(v===2){var re=E[1],ae=E[5],j=E[9],ee=re*N+ae*U+j*W,ie=re*se+ae*fe+j*G;Ue<0?J=-Math.PI/2:J=Math.PI/2,X=Math.atan2(ie,ee)}else{var ce=E[2],xe=E[6],Te=E[10],Ue=ce*f+xe*P+Te*L,Ie=ce*N+xe*U+Te*W,Ye=ce*se+xe*fe+Te*G;J=Math.asin(p(Ue)),X=Math.atan2(Ye,Ie)}this.angle.jump(M,X,J),this.recalcMatrix(M);var it=E[2],at=E[6],tt=E[10],ut=this.computedMatrix;n(ut,E);var Me=ut[15],pe=ut[12]/Me,ue=ut[13]/Me,Oe=ut[14]/Me,rt=Math.exp(this.computedRadius[0]);this.center.jump(M,pe-it*rt,ue-at*rt,Oe-tt*rt)},l.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},l.idle=function(M){this.center.idle(M),this.up.idle(M),this.right.idle(M),this.radius.idle(M),this.angle.idle(M)},l.flush=function(M){this.center.flush(M),this.up.flush(M),this.right.flush(M),this.radius.flush(M),this.angle.flush(M)},l.setDistance=function(M,E){E>0&&this.radius.set(M,Math.log(E))},l.lookAt=function(M,E,m,b){this.recalcMatrix(M),E=E||this.computedEye,m=m||this.computedCenter,b=b||this.computedUp;var v=b[0],u=b[1],y=b[2],f=h(v,u,y);if(!(f<1e-6)){v/=f,u/=f,y/=f;var P=E[0]-m[0],L=E[1]-m[1],z=E[2]-m[2],F=h(P,L,z);if(!(F<1e-6)){P/=F,L/=F,z/=F;var B=this.computedRight,O=B[0],I=B[1],N=B[2],U=v*O+u*I+y*N;O-=U*v,I-=U*u,N-=U*y;var W=h(O,I,N);if(!(W<.01&&(O=u*z-y*L,I=y*P-v*z,N=v*L-u*P,W=h(O,I,N),W<1e-6))){O/=W,I/=W,N/=W,this.up.set(M,v,u,y),this.right.set(M,O,I,N),this.center.set(M,m[0],m[1],m[2]),this.radius.set(M,Math.log(F));var Q=u*N-y*I,le=y*O-v*N,se=v*I-u*O,fe=h(Q,le,se);Q/=fe,le/=fe,se/=fe;var G=v*P+u*L+y*z,$=O*P+I*L+N*z,J=Q*P+le*L+se*z,X=Math.asin(p(G)),re=Math.atan2(J,$),ae=this.angle._state,j=ae[ae.length-1],ee=ae[ae.length-2];j=j%(2*Math.PI);var ie=Math.abs(j+2*Math.PI-re),ce=Math.abs(j-re),xe=Math.abs(j-2*Math.PI-re);ie0?N.pop():new ArrayBuffer(O)}t.mallocArrayBuffer=_;function w(B){return new Uint8Array(_(B),0,B)}t.mallocUint8=w;function M(B){return new Uint16Array(_(2*B),0,B)}t.mallocUint16=M;function E(B){return new Uint32Array(_(4*B),0,B)}t.mallocUint32=E;function m(B){return new Int8Array(_(B),0,B)}t.mallocInt8=m;function b(B){return new Int16Array(_(2*B),0,B)}t.mallocInt16=b;function v(B){return new Int32Array(_(4*B),0,B)}t.mallocInt32=v;function u(B){return new Float32Array(_(4*B),0,B)}t.mallocFloat32=t.mallocFloat=u;function y(B){return new Float64Array(_(8*B),0,B)}t.mallocFloat64=t.mallocDouble=y;function f(B){return a?new Uint8ClampedArray(_(B),0,B):w(B)}t.mallocUint8Clamped=f;function P(B){return s?new BigUint64Array(_(8*B),0,B):null}t.mallocBigUint64=P;function L(B){return c?new BigInt64Array(_(8*B),0,B):null}t.mallocBigInt64=L;function z(B){return new DataView(_(B),0,B)}t.mallocDataView=z;function F(B){B=o.nextPow2(B);var O=o.log2(B),I=d[O];return I.length>0?I.pop():new i(B)}t.mallocBuffer=F,t.clearCache=function(){for(var O=0;O<32;++O)h.UINT8[O].length=0,h.UINT16[O].length=0,h.UINT32[O].length=0,h.INT8[O].length=0,h.INT16[O].length=0,h.INT32[O].length=0,h.FLOAT[O].length=0,h.DOUBLE[O].length=0,h.BIGUINT64[O].length=0,h.BIGINT64[O].length=0,h.UINT8C[O].length=0,p[O].length=0,d[O].length=0}},1755:function(e){\"use strict\";\"use restrict\";e.exports=t;function t(o){this.roots=new Array(o),this.ranks=new Array(o);for(var n=0;n\",N=\"\",U=I.length,W=N.length,Q=F[0]===_||F[0]===E,le=0,se=-W;le>-1&&(le=B.indexOf(I,le),!(le===-1||(se=B.indexOf(N,le+U),se===-1)||se<=le));){for(var fe=le;fe=se)O[fe]=null,B=B.substr(0,fe)+\" \"+B.substr(fe+1);else if(O[fe]!==null){var G=O[fe].indexOf(F[0]);G===-1?O[fe]+=F:Q&&(O[fe]=O[fe].substr(0,G+1)+(1+parseInt(O[fe][G+1]))+O[fe].substr(G+2))}var $=le+U,J=B.substr($,se-$),X=J.indexOf(I);X!==-1?le=X:le=se+W}return O}function v(z,F,B){for(var O=F.textAlign||\"start\",I=F.textBaseline||\"alphabetic\",N=[1<<30,1<<30],U=[0,0],W=z.length,Q=0;Q/g,`\n`):B=B.replace(/\\/g,\" \");var U=\"\",W=[];for(j=0;j-1?parseInt(ue[1+ot]):0,Et=et>-1?parseInt(Oe[1+et]):0;Lt!==Et&&(rt=rt.replace(Ie(),\"?px \"),ce*=Math.pow(.75,Et-Lt),rt=rt.replace(\"?px \",Ie())),ie+=.25*G*(Et-Lt)}if(N.superscripts===!0){var Bt=ue.indexOf(_),qt=Oe.indexOf(_),fr=Bt>-1?parseInt(ue[1+Bt]):0,ar=qt>-1?parseInt(Oe[1+qt]):0;fr!==ar&&(rt=rt.replace(Ie(),\"?px \"),ce*=Math.pow(.75,ar-fr),rt=rt.replace(\"?px \",Ie())),ie-=.25*G*(ar-fr)}if(N.bolds===!0){var Rr=ue.indexOf(p)>-1,gr=Oe.indexOf(p)>-1;!Rr&&gr&&(br?rt=rt.replace(\"italic \",\"italic bold \"):rt=\"bold \"+rt),Rr&&!gr&&(rt=rt.replace(\"bold \",\"\"))}if(N.italics===!0){var br=ue.indexOf(T)>-1,_t=Oe.indexOf(T)>-1;!br&&_t&&(rt=\"italic \"+rt),br&&!_t&&(rt=rt.replace(\"italic \",\"\"))}F.font=rt}for(ae=0;ae0&&(I=O.size),O.lineSpacing&&O.lineSpacing>0&&(N=O.lineSpacing),O.styletags&&O.styletags.breaklines&&(U.breaklines=!!O.styletags.breaklines),O.styletags&&O.styletags.bolds&&(U.bolds=!!O.styletags.bolds),O.styletags&&O.styletags.italics&&(U.italics=!!O.styletags.italics),O.styletags&&O.styletags.subscripts&&(U.subscripts=!!O.styletags.subscripts),O.styletags&&O.styletags.superscripts&&(U.superscripts=!!O.styletags.superscripts)),B.font=[O.fontStyle,O.fontVariant,O.fontWeight,I+\"px\",O.font].filter(function(Q){return Q}).join(\" \"),B.textAlign=\"start\",B.textBaseline=\"alphabetic\",B.direction=\"ltr\";var W=u(F,B,z,I,N,U);return P(W,O,I)}},1538:function(e){(function(){\"use strict\";if(typeof ses<\"u\"&&ses.ok&&!ses.ok())return;function r(f){f.permitHostObjects___&&f.permitHostObjects___(r)}typeof ses<\"u\"&&(ses.weakMapPermitHostObjects=r);var o=!1;if(typeof WeakMap==\"function\"){var n=WeakMap;if(!(typeof navigator<\"u\"&&/Firefox/.test(navigator.userAgent))){var i=new n,a=Object.freeze({});if(i.set(a,1),i.get(a)!==1)o=!0;else{e.exports=WeakMap;return}}}var s=Object.prototype.hasOwnProperty,c=Object.getOwnPropertyNames,h=Object.defineProperty,p=Object.isExtensible,d=\"weakmap:\",T=d+\"ident:\"+Math.random()+\"___\";if(typeof crypto<\"u\"&&typeof crypto.getRandomValues==\"function\"&&typeof ArrayBuffer==\"function\"&&typeof Uint8Array==\"function\"){var l=new ArrayBuffer(25),_=new Uint8Array(l);crypto.getRandomValues(_),T=d+\"rand:\"+Array.prototype.map.call(_,function(f){return(f%36).toString(36)}).join(\"\")+\"___\"}function w(f){return!(f.substr(0,d.length)==d&&f.substr(f.length-3)===\"___\")}if(h(Object,\"getOwnPropertyNames\",{value:function(P){return c(P).filter(w)}}),\"getPropertyNames\"in Object){var M=Object.getPropertyNames;h(Object,\"getPropertyNames\",{value:function(P){return M(P).filter(w)}})}function E(f){if(f!==Object(f))throw new TypeError(\"Not an object: \"+f);var P=f[T];if(P&&P.key===f)return P;if(p(f)){P={key:f};try{return h(f,T,{value:P,writable:!1,enumerable:!1,configurable:!1}),P}catch{return}}}(function(){var f=Object.freeze;h(Object,\"freeze\",{value:function(F){return E(F),f(F)}});var P=Object.seal;h(Object,\"seal\",{value:function(F){return E(F),P(F)}});var L=Object.preventExtensions;h(Object,\"preventExtensions\",{value:function(F){return E(F),L(F)}})})();function m(f){return f.prototype=null,Object.freeze(f)}var b=!1;function v(){!b&&typeof console<\"u\"&&(b=!0,console.warn(\"WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future.\"))}var u=0,y=function(){this instanceof y||v();var f=[],P=[],L=u++;function z(I,N){var U,W=E(I);return W?L in W?W[L]:N:(U=f.indexOf(I),U>=0?P[U]:N)}function F(I){var N=E(I);return N?L in N:f.indexOf(I)>=0}function B(I,N){var U,W=E(I);return W?W[L]=N:(U=f.indexOf(I),U>=0?P[U]=N:(U=f.length,P[U]=N,f[U]=I)),this}function O(I){var N=E(I),U,W;return N?L in N&&delete N[L]:(U=f.indexOf(I),U<0?!1:(W=f.length-1,f[U]=void 0,P[U]=P[W],f[U]=f[W],f.length=W,P.length=W,!0))}return Object.create(y.prototype,{get___:{value:m(z)},has___:{value:m(F)},set___:{value:m(B)},delete___:{value:m(O)}})};y.prototype=Object.create(Object.prototype,{get:{value:function(P,L){return this.get___(P,L)},writable:!0,configurable:!0},has:{value:function(P){return this.has___(P)},writable:!0,configurable:!0},set:{value:function(P,L){return this.set___(P,L)},writable:!0,configurable:!0},delete:{value:function(P){return this.delete___(P)},writable:!0,configurable:!0}}),typeof n==\"function\"?function(){o&&typeof Proxy<\"u\"&&(Proxy=void 0);function f(){this instanceof y||v();var P=new n,L=void 0,z=!1;function F(N,U){return L?P.has(N)?P.get(N):L.get___(N,U):P.get(N,U)}function B(N){return P.has(N)||(L?L.has___(N):!1)}var O;o?O=function(N,U){return P.set(N,U),P.has(N)||(L||(L=new y),L.set(N,U)),this}:O=function(N,U){if(z)try{P.set(N,U)}catch{L||(L=new y),L.set___(N,U)}else P.set(N,U);return this};function I(N){var U=!!P.delete(N);return L&&L.delete___(N)||U}return Object.create(y.prototype,{get___:{value:m(F)},has___:{value:m(B)},set___:{value:m(O)},delete___:{value:m(I)},permitHostObjects___:{value:m(function(N){if(N===r)z=!0;else throw new Error(\"bogus call to permitHostObjects___\")})}})}f.prototype=y.prototype,e.exports=f,Object.defineProperty(WeakMap.prototype,\"constructor\",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<\"u\"&&(Proxy=void 0),e.exports=y)})()},236:function(e,t,r){var o=r(8284);e.exports=n;function n(){var i={};return function(a){if((typeof a!=\"object\"||a===null)&&typeof a!=\"function\")throw new Error(\"Weakmap-shim: Key must be object\");var s=a.valueOf(i);return s&&s.identity===i?s:o(a,i)}}},8284:function(e){e.exports=t;function t(r,o){var n={identity:o},i=r.valueOf;return Object.defineProperty(r,\"valueOf\",{value:function(a){return a!==o?i.apply(this,arguments):n},writable:!0}),n}},606:function(e,t,r){var o=r(236);e.exports=n;function n(){var i=o();return{get:function(a,s){var c=i(a);return c.hasOwnProperty(\"value\")?c.value:s},set:function(a,s){return i(a).value=s,this},has:function(a){return\"value\"in i(a)},delete:function(a){return delete i(a).value}}}},3349:function(e){\"use strict\";function t(){return function(s,c,h,p,d,T){var l=s[0],_=h[0],w=[0],M=_;p|=0;var E=0,m=_;for(E=0;E=0!=v>=0&&d.push(w[0]+.5+.5*(b+v)/(b-v))}p+=m,++w[0]}}}function r(){return t()}var o=r;function n(s){var c={};return function(p,d,T){var l=p.dtype,_=p.order,w=[l,_.join()].join(),M=c[w];return M||(c[w]=M=s([l,_])),M(p.shape.slice(0),p.data,p.stride,p.offset|0,d,T)}}function i(s){return n(o.bind(void 0,s))}function a(s){return i({funcName:s.funcName})}e.exports=a({funcName:\"zeroCrossings\"})},781:function(e,t,r){\"use strict\";e.exports=n;var o=r(3349);function n(i,a){var s=[];return a=+a||0,o(i.hi(i.shape[0]-1),s,a),s}},7790:function(){}},x={};function A(e){var t=x[e];if(t!==void 0)return t.exports;var r=x[e]={id:e,loaded:!1,exports:{}};return g[e].call(r.exports,r,r.exports,A),r.loaded=!0,r.exports}(function(){A.g=function(){if(typeof globalThis==\"object\")return globalThis;try{return this||new Function(\"return this\")()}catch{if(typeof window==\"object\")return window}}()})(),function(){A.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}();var S=A(1964);H.exports=S})()}}),tA=ke({\"node_modules/color-name/index.js\"(Z,H){\"use strict\";H.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}}}),mI=ke({\"node_modules/color-normalize/node_modules/color-parse/index.js\"(Z,H){\"use strict\";var g=tA();H.exports=A;var x={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function A(S){var e,t=[],r=1,o;if(typeof S==\"string\")if(S=S.toLowerCase(),g[S])t=g[S].slice(),o=\"rgb\";else if(S===\"transparent\")r=0,o=\"rgb\",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(S)){var n=S.slice(1),i=n.length,a=i<=4;r=1,a?(t=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],i===4&&(r=parseInt(n[3]+n[3],16)/255)):(t=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],i===8&&(r=parseInt(n[6]+n[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o=\"rgb\"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\\s*\\(([^\\)]*)\\)/.exec(S)){var s=e[1],c=s===\"rgb\",n=s.replace(/a$/,\"\");o=n;var i=n===\"cmyk\"?4:n===\"gray\"?1:3;t=e[2].trim().split(/\\s*[,\\/]\\s*|\\s+/).map(function(d,T){if(/%$/.test(d))return T===i?parseFloat(d)/100:n===\"rgb\"?parseFloat(d)*255/100:parseFloat(d);if(n[T]===\"h\"){if(/deg$/.test(d))return parseFloat(d);if(x[d]!==void 0)return x[d]}return parseFloat(d)}),s===n&&t.push(1),r=c||t[i]===void 0?1:t[i],t=t.slice(0,i)}else S.length>10&&/[0-9](?:\\s|\\/)/.test(S)&&(t=S.match(/([0-9]+)/g).map(function(h){return parseFloat(h)}),o=S.match(/([a-z])/ig).join(\"\").toLowerCase());else isNaN(S)?Array.isArray(S)||S.length?(t=[S[0],S[1],S[2]],o=\"rgb\",r=S.length===4?S[3]:1):S instanceof Object&&(S.r!=null||S.red!=null||S.R!=null?(o=\"rgb\",t=[S.r||S.red||S.R||0,S.g||S.green||S.G||0,S.b||S.blue||S.B||0]):(o=\"hsl\",t=[S.h||S.hue||S.H||0,S.s||S.saturation||S.S||0,S.l||S.lightness||S.L||S.b||S.brightness]),r=S.a||S.alpha||S.opacity||1,S.opacity!=null&&(r/=100)):(o=\"rgb\",t=[S>>>16,(S&65280)>>>8,S&255]);return{space:o,values:t,alpha:r}}}}),gI=ke({\"node_modules/color-normalize/node_modules/color-rgba/index.js\"(Z,H){\"use strict\";var g=mI();H.exports=function(S){Array.isArray(S)&&S.raw&&(S=String.raw.apply(null,arguments));var e,t,r,o=g(S);if(!o.space)return[];var n=[0,0,0],i=o.space[0]===\"h\"?[360,100,100]:[255,255,255];return e=Array(3),e[0]=Math.min(Math.max(o.values[0],n[0]),i[0]),e[1]=Math.min(Math.max(o.values[1],n[1]),i[1]),e[2]=Math.min(Math.max(o.values[2],n[2]),i[2]),o.space[0]===\"h\"&&(e=x(e)),e.push(Math.min(Math.max(o.alpha,0),1)),e};function x(A){var S=A[0]/360,e=A[1]/100,t=A[2]/100,r,o,n,i,a,s=0;if(e===0)return a=t*255,[a,a,a];for(o=t<.5?t*(1+e):t+e-t*e,r=2*t-o,i=[0,0,0];s<3;)n=S+1/3*-(s-1),n<0?n++:n>1&&n--,a=6*n<1?r+(o-r)*6*n:2*n<1?o:3*n<2?r+(o-r)*(2/3-n)*6:r,i[s++]=a*255;return i}}}),V0=ke({\"node_modules/clamp/index.js\"(Z,H){H.exports=g;function g(x,A,S){return AS?S:x:xA?A:x}}}),Hx=ke({\"node_modules/dtype/index.js\"(Z,H){H.exports=function(g){switch(g){case\"int8\":return Int8Array;case\"int16\":return Int16Array;case\"int32\":return Int32Array;case\"uint8\":return Uint8Array;case\"uint16\":return Uint16Array;case\"uint32\":return Uint32Array;case\"float32\":return Float32Array;case\"float64\":return Float64Array;case\"array\":return Array;case\"uint8_clamped\":return Uint8ClampedArray}}}}),Zp=ke({\"node_modules/color-normalize/index.js\"(Z,H){\"use strict\";var g=gI(),x=V0(),A=Hx();H.exports=function(t,r){(r===\"float\"||!r)&&(r=\"array\"),r===\"uint\"&&(r=\"uint8\"),r===\"uint_clamped\"&&(r=\"uint8_clamped\");var o=A(r),n=new o(4),i=r!==\"uint8\"&&r!==\"uint8_clamped\";return(!t.length||typeof t==\"string\")&&(t=g(t),t[0]/=255,t[1]/=255,t[2]/=255),S(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:255,i&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(i?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]!=null?t[3]:1):(n[0]=x(Math.floor(t[0]*255),0,255),n[1]=x(Math.floor(t[1]*255),0,255),n[2]=x(Math.floor(t[2]*255),0,255),n[3]=t[3]==null?255:x(Math.floor(t[3]*255),0,255)),n)};function S(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}}}),rp=ke({\"src/lib/str2rgbarray.js\"(Z,H){\"use strict\";var g=Zp();function x(A){return A?g(A):[0,0,0,1]}H.exports=x}}),np=ke({\"src/lib/gl_format_color.js\"(Z,H){\"use strict\";var g=Yn(),x=ru(),A=Zp(),S=ku(),e=If().defaultLine,t=Oa().isArrayOrTypedArray,r=A(e),o=1;function n(h,p){var d=h;return d[3]*=p,d}function i(h){if(g(h))return r;var p=A(h);return p.length?p:r}function a(h){return g(h)?h:o}function s(h,p,d){var T=h.color;T&&T._inputArray&&(T=T._inputArray);var l=t(T),_=t(p),w=S.extractOpts(h),M=[],E,m,b,v,u;if(w.colorscale!==void 0?E=S.makeColorScaleFuncFromTrace(h):E=i,l?m=function(f,P){return f[P]===void 0?r:A(E(f[P]))}:m=i,_?b=function(f,P){return f[P]===void 0?o:a(f[P])}:b=a,l||_)for(var y=0;y0){var d=o.c2l(h);o._lowerLogErrorBound||(o._lowerLogErrorBound=d),o._lowerErrorBound=Math.min(o._lowerLogErrorBound,d)}}else i[a]=[-s[0]*r,s[1]*r]}return i}function A(e){for(var t=0;t-1?-1:P.indexOf(\"right\")>-1?1:0}function w(P){return P==null?0:P.indexOf(\"top\")>-1?-1:P.indexOf(\"bottom\")>-1?1:0}function M(P){var L=0,z=0,F=[L,z];if(Array.isArray(P))for(var B=0;B=0){var W=T(N.position,N.delaunayColor,N.delaunayAxis);W.opacity=P.opacity,this.delaunayMesh?this.delaunayMesh.update(W):(W.gl=L,this.delaunayMesh=S(W),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},d.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function f(P,L){var z=new p(P,L.uid);return z.update(L),z}H.exports=f}}),nA=ke({\"src/traces/scatter3d/attributes.js\"(Z,H){\"use strict\";var g=Cc(),x=Il(),A=ou(),S=Sc().axisHoverFormat,e=Rs().hovertemplateAttrs,t=Rs().texttemplateAttrs,r=Ol(),o=rA(),n=Gx(),i=To().extendFlat,a=ju().overrideAll,s=Ip(),c=g.line,h=g.marker,p=h.line,d=i({width:c.width,dash:{valType:\"enumerated\",values:s(o),dflt:\"solid\"}},A(\"line\"));function T(_){return{show:{valType:\"boolean\",dflt:!1},opacity:{valType:\"number\",min:0,max:1,dflt:1},scale:{valType:\"number\",min:0,max:10,dflt:2/3}}}var l=H.exports=a({x:g.x,y:g.y,z:{valType:\"data_array\"},text:i({},g.text,{}),texttemplate:t({},{}),hovertext:i({},g.hovertext,{}),hovertemplate:e(),xhoverformat:S(\"x\"),yhoverformat:S(\"y\"),zhoverformat:S(\"z\"),mode:i({},g.mode,{dflt:\"lines+markers\"}),surfaceaxis:{valType:\"enumerated\",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:\"color\"},projection:{x:T(\"x\"),y:T(\"y\"),z:T(\"z\")},connectgaps:g.connectgaps,line:d,marker:i({symbol:{valType:\"enumerated\",values:s(n),dflt:\"circle\",arrayOk:!0},size:i({},h.size,{dflt:8}),sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,opacity:i({},h.opacity,{arrayOk:!1}),colorbar:h.colorbar,line:i({width:i({},p.width,{arrayOk:!1})},A(\"marker.line\"))},A(\"marker\")),textposition:i({},g.textposition,{dflt:\"top center\"}),textfont:x({noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,editType:\"calc\",colorEditType:\"style\",arrayOk:!0,variantValues:[\"normal\",\"small-caps\"]}),opacity:r.opacity,hoverinfo:i({},r.hoverinfo)},\"calc\",\"nested\");l.x.editType=l.y.editType=l.z.editType=\"calc+clearAxisTypes\"}}),xI=ke({\"src/traces/scatter3d/defaults.js\"(Z,H){\"use strict\";var g=lo(),x=un(),A=vu(),S=Fd(),e=Hd(),t=Gd(),r=nA();H.exports=function(i,a,s,c){function h(E,m){return x.coerce(i,a,r,E,m)}var p=o(i,a,h,c);if(!p){a.visible=!1;return}h(\"text\"),h(\"hovertext\"),h(\"hovertemplate\"),h(\"xhoverformat\"),h(\"yhoverformat\"),h(\"zhoverformat\"),h(\"mode\"),A.hasMarkers(a)&&S(i,a,s,c,h,{noSelect:!0,noAngle:!0}),A.hasLines(a)&&(h(\"connectgaps\"),e(i,a,s,c,h)),A.hasText(a)&&(h(\"texttemplate\"),t(i,a,c,h,{noSelect:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0}));var d=(a.line||{}).color,T=(a.marker||{}).color;h(\"surfaceaxis\")>=0&&h(\"surfacecolor\",d||T);for(var l=[\"x\",\"y\",\"z\"],_=0;_<3;++_){var w=\"projection.\"+l[_];h(w+\".show\")&&(h(w+\".opacity\"),h(w+\".scale\"))}var M=g.getComponentMethod(\"errorbars\",\"supplyDefaults\");M(i,a,d||T||s,{axis:\"z\"}),M(i,a,d||T||s,{axis:\"y\",inherit:\"z\"}),M(i,a,d||T||s,{axis:\"x\",inherit:\"z\"})};function o(n,i,a,s){var c=0,h=a(\"x\"),p=a(\"y\"),d=a(\"z\"),T=g.getComponentMethod(\"calendars\",\"handleTraceDefaults\");return T(n,i,[\"x\",\"y\",\"z\"],s),h&&p&&d&&(c=Math.min(h.length,p.length,d.length),i._length=i._xlength=i._ylength=i._zlength=c),c}}}),bI=ke({\"src/traces/scatter3d/calc.js\"(Z,H){\"use strict\";var g=Lv(),x=Wd();H.exports=function(S,e){var t=[{x:!1,y:!1,trace:e,t:{}}];return g(t,e),x(S,e),t}}}),wI=ke({\"node_modules/get-canvas-context/index.js\"(Z,H){H.exports=g;function g(x,A){if(typeof x!=\"string\")throw new TypeError(\"must specify type string\");if(A=A||{},typeof document>\"u\"&&!A.canvas)return null;var S=A.canvas||document.createElement(\"canvas\");typeof A.width==\"number\"&&(S.width=A.width),typeof A.height==\"number\"&&(S.height=A.height);var e=A,t;try{var r=[x];x.indexOf(\"webgl\")===0&&r.push(\"experimental-\"+x);for(var o=0;o/g,\" \"));a[s]=d,c.tickmode=h}}o.ticks=a;for(var s=0;s<3;++s){S[s]=.5*(r.glplot.bounds[0][s]+r.glplot.bounds[1][s]);for(var T=0;T<2;++T)o.bounds[T][s]=r.glplot.bounds[T][s]}r.contourLevels=e(a)}}}),EI=ke({\"src/plots/gl3d/scene.js\"(Z,H){\"use strict\";var g=Mh().gl_plot3d,x=g.createCamera,A=g.createScene,S=TI(),e=f_(),t=lo(),r=un(),o=r.preserveDrawingBuffer(),n=Ho(),i=Ec(),a=rp(),s=iA(),c=M2(),h=AI(),p=MI(),d=SI(),T=lv().applyAutorangeOptions,l,_,w=!1;function M(z,F){var B=document.createElement(\"div\"),O=z.container;this.graphDiv=z.graphDiv;var I=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");I.style.position=\"absolute\",I.style.top=I.style.left=\"0px\",I.style.width=I.style.height=\"100%\",I.style[\"z-index\"]=20,I.style[\"pointer-events\"]=\"none\",B.appendChild(I),this.svgContainer=I,B.id=z.id,B.style.position=\"absolute\",B.style.top=B.style.left=\"0px\",B.style.width=B.style.height=\"100%\",O.appendChild(B),this.fullLayout=F,this.id=z.id||\"scene\",this.fullSceneLayout=F[this.id],this.plotArgs=[[],{},{}],this.axesOptions=h(F,F[this.id]),this.spikeOptions=p(F[this.id]),this.container=B,this.staticMode=!!z.staticPlot,this.pixelRatio=this.pixelRatio||z.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=t.getComponentMethod(\"annotations3d\",\"convert\"),this.drawAnnotations=t.getComponentMethod(\"annotations3d\",\"draw\"),this.initializeGLPlot()}var E=M.prototype;E.prepareOptions=function(){var z=this,F={canvas:z.canvas,gl:z.gl,glOptions:{preserveDrawingBuffer:o,premultipliedAlpha:!0,antialias:!0},container:z.container,axes:z.axesOptions,spikes:z.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:z.camera,pixelRatio:z.pixelRatio};if(z.staticMode){if(!_&&(l=document.createElement(\"canvas\"),_=S({canvas:l,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!_))throw new Error(\"error creating static canvas/context for image server\");F.gl=_,F.canvas=l}return F};var m=!0;E.tryCreatePlot=function(){var z=this,F=z.prepareOptions(),B=!0;try{z.glplot=A(F)}catch{if(z.staticMode||!m||o)B=!1;else{r.warn([\"webgl setup failed possibly due to\",\"false preserveDrawingBuffer config.\",\"The mobile/tablet device may not be detected by is-mobile module.\",\"Enabling preserveDrawingBuffer in second attempt to create webgl scene...\"].join(\" \"));try{o=F.glOptions.preserveDrawingBuffer=!0,z.glplot=A(F)}catch{o=F.glOptions.preserveDrawingBuffer=!1,B=!1}}}return m=!1,B},E.initializeGLCamera=function(){var z=this,F=z.fullSceneLayout.camera,B=F.projection.type===\"orthographic\";z.camera=x(z.container,{center:[F.center.x,F.center.y,F.center.z],eye:[F.eye.x,F.eye.y,F.eye.z],up:[F.up.x,F.up.y,F.up.z],_ortho:B,zoomMin:.01,zoomMax:100,mode:\"orbit\"})},E.initializeGLPlot=function(){var z=this;z.initializeGLCamera();var F=z.tryCreatePlot();if(!F)return s(z);z.traces={},z.make4thDimension();var B=z.graphDiv,O=B.layout,I=function(){var U={};return z.isCameraChanged(O)&&(U[z.id+\".camera\"]=z.getCamera()),z.isAspectChanged(O)&&(U[z.id+\".aspectratio\"]=z.glplot.getAspectratio(),O[z.id].aspectmode!==\"manual\"&&(z.fullSceneLayout.aspectmode=O[z.id].aspectmode=U[z.id+\".aspectmode\"]=\"manual\")),U},N=function(U){if(U.fullSceneLayout.dragmode!==!1){var W=I();U.saveLayout(O),U.graphDiv.emit(\"plotly_relayout\",W)}};return z.glplot.canvas&&(z.glplot.canvas.addEventListener(\"mouseup\",function(){N(z)}),z.glplot.canvas.addEventListener(\"touchstart\",function(){w=!0}),z.glplot.canvas.addEventListener(\"wheel\",function(U){if(B._context._scrollZoom.gl3d){if(z.camera._ortho){var W=U.deltaX>U.deltaY?1.1:.9090909090909091,Q=z.glplot.getAspectratio();z.glplot.setAspectratio({x:W*Q.x,y:W*Q.y,z:W*Q.z})}N(z)}},e?{passive:!1}:!1),z.glplot.canvas.addEventListener(\"mousemove\",function(){if(z.fullSceneLayout.dragmode!==!1&&z.camera.mouseListener.buttons!==0){var U=I();z.graphDiv.emit(\"plotly_relayouting\",U)}}),z.staticMode||z.glplot.canvas.addEventListener(\"webglcontextlost\",function(U){B&&B.emit&&B.emit(\"plotly_webglcontextlost\",{event:U,layer:z.id})},!1)),z.glplot.oncontextloss=function(){z.recoverContext()},z.glplot.onrender=function(){z.render()},!0},E.render=function(){var z=this,F=z.graphDiv,B,O=z.svgContainer,I=z.container.getBoundingClientRect();F._fullLayout._calcInverseTransform(F);var N=F._fullLayout._invScaleX,U=F._fullLayout._invScaleY,W=I.width*N,Q=I.height*U;O.setAttributeNS(null,\"viewBox\",\"0 0 \"+W+\" \"+Q),O.setAttributeNS(null,\"width\",W),O.setAttributeNS(null,\"height\",Q),d(z),z.glplot.axes.update(z.axesOptions);for(var le=Object.keys(z.traces),se=null,fe=z.glplot.selection,G=0;G\")):B.type===\"isosurface\"||B.type===\"volume\"?(ae.valueLabel=n.hoverLabelText(z._mockAxis,z._mockAxis.d2l(fe.traceCoordinate[3]),B.valuehoverformat),xe.push(\"value: \"+ae.valueLabel),fe.textLabel&&xe.push(fe.textLabel),ce=xe.join(\"
\")):ce=fe.textLabel;var Te={x:fe.traceCoordinate[0],y:fe.traceCoordinate[1],z:fe.traceCoordinate[2],data:X._input,fullData:X,curveNumber:X.index,pointNumber:re};i.appendArrayPointValue(Te,X,re),B._module.eventData&&(Te=X._module.eventData(Te,fe,X,{},re));var Ue={points:[Te]};if(z.fullSceneLayout.hovermode){var Ie=[];i.loneHover({trace:X,x:(.5+.5*J[0]/J[3])*W,y:(.5-.5*J[1]/J[3])*Q,xLabel:ae.xLabel,yLabel:ae.yLabel,zLabel:ae.zLabel,text:ce,name:se.name,color:i.castHoverOption(X,re,\"bgcolor\")||se.color,borderColor:i.castHoverOption(X,re,\"bordercolor\"),fontFamily:i.castHoverOption(X,re,\"font.family\"),fontSize:i.castHoverOption(X,re,\"font.size\"),fontColor:i.castHoverOption(X,re,\"font.color\"),nameLength:i.castHoverOption(X,re,\"namelength\"),textAlign:i.castHoverOption(X,re,\"align\"),hovertemplate:r.castOption(X,re,\"hovertemplate\"),hovertemplateLabels:r.extendFlat({},Te,ae),eventData:[Te]},{container:O,gd:F,inOut_bbox:Ie}),Te.bbox=Ie[0]}fe.distance<5&&(fe.buttons||w)?F.emit(\"plotly_click\",Ue):F.emit(\"plotly_hover\",Ue),this.oldEventData=Ue}else i.loneUnhover(O),this.oldEventData&&F.emit(\"plotly_unhover\",this.oldEventData),this.oldEventData=void 0;z.drawAnnotations(z)},E.recoverContext=function(){var z=this;z.glplot.dispose();var F=function(){if(z.glplot.gl.isContextLost()){requestAnimationFrame(F);return}if(!z.initializeGLPlot()){r.error(\"Catastrophic and unrecoverable WebGL error. Context lost.\");return}z.plot.apply(z,z.plotArgs)};requestAnimationFrame(F)};var b=[\"xaxis\",\"yaxis\",\"zaxis\"];function v(z,F,B){for(var O=z.fullSceneLayout,I=0;I<3;I++){var N=b[I],U=N.charAt(0),W=O[N],Q=F[U],le=F[U+\"calendar\"],se=F[\"_\"+U+\"length\"];if(!r.isArrayOrTypedArray(Q))B[0][I]=Math.min(B[0][I],0),B[1][I]=Math.max(B[1][I],se-1);else for(var fe,G=0;G<(se||Q.length);G++)if(r.isArrayOrTypedArray(Q[G]))for(var $=0;$X[1][U])X[0][U]=-1,X[1][U]=1;else{var it=X[1][U]-X[0][U];X[0][U]-=it/32,X[1][U]+=it/32}if(j=[X[0][U],X[1][U]],j=T(j,Q),X[0][U]=j[0],X[1][U]=j[1],Q.isReversed()){var at=X[0][U];X[0][U]=X[1][U],X[1][U]=at}}else j=Q.range,X[0][U]=Q.r2l(j[0]),X[1][U]=Q.r2l(j[1]);X[0][U]===X[1][U]&&(X[0][U]-=1,X[1][U]+=1),re[U]=X[1][U]-X[0][U],Q.range=[X[0][U],X[1][U]],Q.limitRange(),O.glplot.setBounds(U,{min:Q.range[0]*$[U],max:Q.range[1]*$[U]})}var tt,ut=se.aspectmode;if(ut===\"cube\")tt=[1,1,1];else if(ut===\"manual\"){var Me=se.aspectratio;tt=[Me.x,Me.y,Me.z]}else if(ut===\"auto\"||ut===\"data\"){var pe=[1,1,1];for(U=0;U<3;++U){Q=se[b[U]],le=Q.type;var ue=ae[le];pe[U]=Math.pow(ue.acc,1/ue.count)/$[U]}ut===\"data\"||Math.max.apply(null,pe)/Math.min.apply(null,pe)<=4?tt=pe:tt=[1,1,1]}else throw new Error(\"scene.js aspectRatio was not one of the enumerated types\");se.aspectratio.x=fe.aspectratio.x=tt[0],se.aspectratio.y=fe.aspectratio.y=tt[1],se.aspectratio.z=fe.aspectratio.z=tt[2],O.glplot.setAspectratio(se.aspectratio),O.viewInitial.aspectratio||(O.viewInitial.aspectratio={x:se.aspectratio.x,y:se.aspectratio.y,z:se.aspectratio.z}),O.viewInitial.aspectmode||(O.viewInitial.aspectmode=se.aspectmode);var Oe=se.domain||null,rt=F._size||null;if(Oe&&rt){var ot=O.container.style;ot.position=\"absolute\",ot.left=rt.l+Oe.x[0]*rt.w+\"px\",ot.top=rt.t+(1-Oe.y[1])*rt.h+\"px\",ot.width=rt.w*(Oe.x[1]-Oe.x[0])+\"px\",ot.height=rt.h*(Oe.y[1]-Oe.y[0])+\"px\"}O.glplot.redraw()}},E.destroy=function(){var z=this;z.glplot&&(z.camera.mouseListener.enabled=!1,z.container.removeEventListener(\"wheel\",z.camera.wheelListener),z.camera=null,z.glplot.dispose(),z.container.parentNode.removeChild(z.container),z.glplot=null)};function y(z){return[[z.eye.x,z.eye.y,z.eye.z],[z.center.x,z.center.y,z.center.z],[z.up.x,z.up.y,z.up.z]]}function f(z){return{up:{x:z.up[0],y:z.up[1],z:z.up[2]},center:{x:z.center[0],y:z.center[1],z:z.center[2]},eye:{x:z.eye[0],y:z.eye[1],z:z.eye[2]},projection:{type:z._ortho===!0?\"orthographic\":\"perspective\"}}}E.getCamera=function(){var z=this;return z.camera.view.recalcMatrix(z.camera.view.lastT()),f(z.camera)},E.setViewport=function(z){var F=this,B=z.camera;F.camera.lookAt.apply(this,y(B)),F.glplot.setAspectratio(z.aspectratio);var O=B.projection.type===\"orthographic\",I=F.camera._ortho;O!==I&&(F.glplot.redraw(),F.glplot.clearRGBA(),F.glplot.dispose(),F.initializeGLPlot())},E.isCameraChanged=function(z){var F=this,B=F.getCamera(),O=r.nestedProperty(z,F.id+\".camera\"),I=O.get();function N(le,se,fe,G){var $=[\"up\",\"center\",\"eye\"],J=[\"x\",\"y\",\"z\"];return se[$[fe]]&&le[$[fe]][J[G]]===se[$[fe]][J[G]]}var U=!1;if(I===void 0)U=!0;else{for(var W=0;W<3;W++)for(var Q=0;Q<3;Q++)if(!N(B,I,W,Q)){U=!0;break}(!I.projection||B.projection&&B.projection.type!==I.projection.type)&&(U=!0)}return U},E.isAspectChanged=function(z){var F=this,B=F.glplot.getAspectratio(),O=r.nestedProperty(z,F.id+\".aspectratio\"),I=O.get();return I===void 0||I.x!==B.x||I.y!==B.y||I.z!==B.z},E.saveLayout=function(z){var F=this,B=F.fullLayout,O,I,N,U,W,Q,le=F.isCameraChanged(z),se=F.isAspectChanged(z),fe=le||se;if(fe){var G={};if(le&&(O=F.getCamera(),I=r.nestedProperty(z,F.id+\".camera\"),N=I.get(),G[F.id+\".camera\"]=N),se&&(U=F.glplot.getAspectratio(),W=r.nestedProperty(z,F.id+\".aspectratio\"),Q=W.get(),G[F.id+\".aspectratio\"]=Q),t.call(\"_storeDirectGUIEdit\",z,B._preGUI,G),le){I.set(O);var $=r.nestedProperty(B,F.id+\".camera\");$.set(O)}if(se){W.set(U);var J=r.nestedProperty(B,F.id+\".aspectratio\");J.set(U),F.glplot.redraw()}}return fe},E.updateFx=function(z,F){var B=this,O=B.camera;if(O)if(z===\"orbit\")O.mode=\"orbit\",O.keyBindingMode=\"rotate\";else if(z===\"turntable\"){O.up=[0,0,1],O.mode=\"turntable\",O.keyBindingMode=\"rotate\";var I=B.graphDiv,N=I._fullLayout,U=B.fullSceneLayout.camera,W=U.up.x,Q=U.up.y,le=U.up.z;if(le/Math.sqrt(W*W+Q*Q+le*le)<.999){var se=B.id+\".camera.up\",fe={x:0,y:0,z:1},G={};G[se]=fe;var $=I.layout;t.call(\"_storeDirectGUIEdit\",$,N._preGUI,G),U.up=fe,r.nestedProperty($,se).set(fe)}}else O.keyBindingMode=z;B.fullSceneLayout.hovermode=F};function P(z,F,B){for(var O=0,I=B-1;O0)for(var W=255/U,Q=0;Q<3;++Q)z[N+Q]=Math.min(W*z[N+Q],255)}}E.toImage=function(z){var F=this;z||(z=\"png\"),F.staticMode&&F.container.appendChild(l),F.glplot.redraw();var B=F.glplot.gl,O=B.drawingBufferWidth,I=B.drawingBufferHeight;B.bindFramebuffer(B.FRAMEBUFFER,null);var N=new Uint8Array(O*I*4);B.readPixels(0,0,O,I,B.RGBA,B.UNSIGNED_BYTE,N),P(N,O,I),L(N,O,I);var U=document.createElement(\"canvas\");U.width=O,U.height=I;var W=U.getContext(\"2d\",{willReadFrequently:!0}),Q=W.createImageData(O,I);Q.data.set(N),W.putImageData(Q,0,0);var le;switch(z){case\"jpeg\":le=U.toDataURL(\"image/jpeg\");break;case\"webp\":le=U.toDataURL(\"image/webp\");break;default:le=U.toDataURL(\"image/png\")}return F.staticMode&&F.container.removeChild(l),le},E.setConvert=function(){for(var z=this,F=0;F<3;F++){var B=z.fullSceneLayout[b[F]];n.setConvert(B,z.fullLayout),B.setScale=r.noop}},E.make4thDimension=function(){var z=this,F=z.graphDiv,B=F._fullLayout;z._mockAxis={type:\"linear\",showexponent:\"all\",exponentformat:\"B\"},n.setConvert(z._mockAxis,B)},H.exports=M}}),CI=ke({\"src/plots/gl3d/layout/attributes.js\"(Z,H){\"use strict\";H.exports={scene:{valType:\"subplotid\",dflt:\"scene\",editType:\"calc+clearAxisTypes\"}}}}),aA=ke({\"src/plots/gl3d/layout/axis_attributes.js\"(Z,H){\"use strict\";var g=eo(),x=wh(),A=To().extendFlat,S=ju().overrideAll;H.exports=S({visible:x.visible,showspikes:{valType:\"boolean\",dflt:!0},spikesides:{valType:\"boolean\",dflt:!0},spikethickness:{valType:\"number\",min:0,dflt:2},spikecolor:{valType:\"color\",dflt:g.defaultLine},showbackground:{valType:\"boolean\",dflt:!1},backgroundcolor:{valType:\"color\",dflt:\"rgba(204, 204, 204, 0.5)\"},showaxeslabels:{valType:\"boolean\",dflt:!0},color:x.color,categoryorder:x.categoryorder,categoryarray:x.categoryarray,title:{text:x.title.text,font:x.title.font},type:A({},x.type,{values:[\"-\",\"linear\",\"log\",\"date\",\"category\"]}),autotypenumbers:x.autotypenumbers,autorange:x.autorange,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:\"plot\"},rangemode:x.rangemode,minallowed:x.minallowed,maxallowed:x.maxallowed,range:A({},x.range,{items:[{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}}],anim:!1}),tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,mirror:x.mirror,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,tickfont:x.tickfont,tickangle:x.tickangle,tickprefix:x.tickprefix,showtickprefix:x.showtickprefix,ticksuffix:x.ticksuffix,showticksuffix:x.showticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickformat:x.tickformat,tickformatstops:x.tickformatstops,hoverformat:x.hoverformat,showline:x.showline,linecolor:x.linecolor,linewidth:x.linewidth,showgrid:x.showgrid,gridcolor:A({},x.gridcolor,{dflt:\"rgb(204, 204, 204)\"}),gridwidth:x.gridwidth,zeroline:x.zeroline,zerolinecolor:x.zerolinecolor,zerolinewidth:x.zerolinewidth},\"plot\",\"from-root\")}}),oA=ke({\"src/plots/gl3d/layout/layout_attributes.js\"(Z,H){\"use strict\";var g=aA(),x=Yu().attributes,A=To().extendFlat,S=un().counterRegex;function e(t,r,o){return{x:{valType:\"number\",dflt:t,editType:\"camera\"},y:{valType:\"number\",dflt:r,editType:\"camera\"},z:{valType:\"number\",dflt:o,editType:\"camera\"},editType:\"camera\"}}H.exports={_arrayAttrRegexps:[S(\"scene\",\".annotations\",!0)],bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"plot\"},camera:{up:A(e(0,0,1),{}),center:A(e(0,0,0),{}),eye:A(e(1.25,1.25,1.25),{}),projection:{type:{valType:\"enumerated\",values:[\"perspective\",\"orthographic\"],dflt:\"perspective\",editType:\"calc\"},editType:\"calc\"},editType:\"camera\"},domain:x({name:\"scene\",editType:\"plot\"}),aspectmode:{valType:\"enumerated\",values:[\"auto\",\"cube\",\"data\",\"manual\"],dflt:\"auto\",editType:\"plot\",impliedEdits:{\"aspectratio.x\":void 0,\"aspectratio.y\":void 0,\"aspectratio.z\":void 0}},aspectratio:{x:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},y:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},z:{valType:\"number\",min:0,editType:\"plot\",impliedEdits:{\"^aspectmode\":\"manual\"}},editType:\"plot\",impliedEdits:{aspectmode:\"manual\"}},xaxis:g,yaxis:g,zaxis:g,dragmode:{valType:\"enumerated\",values:[\"orbit\",\"turntable\",\"zoom\",\"pan\",!1],editType:\"plot\"},hovermode:{valType:\"enumerated\",values:[\"closest\",!1],dflt:\"closest\",editType:\"modebar\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"plot\"}}}),kI=ke({\"src/plots/gl3d/layout/axis_defaults.js\"(Z,H){\"use strict\";var g=ru().mix,x=un(),A=yl(),S=aA(),e=T2(),t=s0(),r=[\"xaxis\",\"yaxis\",\"zaxis\"],o=100*136/187;H.exports=function(i,a,s){var c,h;function p(l,_){return x.coerce(c,h,S,l,_)}for(var d=0;d1;function p(d){if(!h){var T=g.validate(a[d],t[d]);if(T)return a[d]}}S(a,s,c,{type:o,attributes:t,handleDefaults:n,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:p,autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})};function n(i,a,s,c){for(var h=s(\"bgcolor\"),p=x.combine(h,c.paper_bgcolor),d=[\"up\",\"center\",\"eye\"],T=0;T.999)&&(E=\"turntable\")}else E=\"turntable\";s(\"dragmode\",E),s(\"hovermode\",c.getDfltFromLayout(\"hovermode\"))}}}),Yp=ke({\"src/plots/gl3d/index.js\"(Z){\"use strict\";var H=ju().overrideAll,g=vl(),x=EI(),A=bh().getSubplotData,S=un(),e=zd(),t=\"gl3d\",r=\"scene\";Z.name=t,Z.attr=r,Z.idRoot=r,Z.idRegex=Z.attrRegex=S.counterRegex(\"scene\"),Z.attributes=CI(),Z.layoutAttributes=oA(),Z.baseLayoutAttrOverrides=H({hoverlabel:g.hoverlabel},\"plot\",\"nested\"),Z.supplyLayoutDefaults=LI(),Z.plot=function(n){for(var i=n._fullLayout,a=n._fullData,s=i._subplots[t],c=0;c0){P=c[L];break}return P}function T(y,f){if(!(y<1||f<1)){for(var P=p(y),L=p(f),z=1,F=0;FM;)L--,L/=d(L),L++,L1?z:1};function E(y,f,P){var L=P[8]+P[2]*f[0]+P[5]*f[1];return y[0]=(P[6]+P[0]*f[0]+P[3]*f[1])/L,y[1]=(P[7]+P[1]*f[0]+P[4]*f[1])/L,y}function m(y,f,P){return b(y,f,E,P),y}function b(y,f,P,L){for(var z=[0,0],F=y.shape[0],B=y.shape[1],O=0;O0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(f[L]=!0,z=this.contourStart[L];zQ&&(this.minValues[N]=Q),this.maxValues[N]c&&(o.isomin=null,o.isomax=null);var h=a(\"x\"),p=a(\"y\"),d=a(\"z\"),T=a(\"value\");if(!h||!h.length||!p||!p.length||!d||!d.length||!T||!T.length){o.visible=!1;return}var l=x.getComponentMethod(\"calendars\",\"handleTraceDefaults\");l(r,o,[\"x\",\"y\",\"z\"],i),a(\"valuehoverformat\"),[\"x\",\"y\",\"z\"].forEach(function(E){a(E+\"hoverformat\");var m=\"caps.\"+E,b=a(m+\".show\");b&&a(m+\".fill\");var v=\"slices.\"+E,u=a(v+\".show\");u&&(a(v+\".fill\"),a(v+\".locations\"))});var _=a(\"spaceframe.show\");_&&a(\"spaceframe.fill\");var w=a(\"surface.show\");w&&(a(\"surface.count\"),a(\"surface.fill\"),a(\"surface.pattern\"));var M=a(\"contour.show\");M&&(a(\"contour.color\"),a(\"contour.width\")),[\"text\",\"hovertext\",\"hovertemplate\",\"lighting.ambient\",\"lighting.diffuse\",\"lighting.specular\",\"lighting.roughness\",\"lighting.fresnel\",\"lighting.vertexnormalsepsilon\",\"lighting.facenormalsepsilon\",\"lightposition.x\",\"lightposition.y\",\"lightposition.z\",\"flatshading\",\"opacity\"].forEach(function(E){a(E)}),S(r,o,i,a,{prefix:\"\",cLetter:\"c\"}),o._length=null}H.exports={supplyDefaults:e,supplyIsoDefaults:t}}}),Xx=ke({\"src/traces/streamtube/calc.js\"(Z,H){\"use strict\";var g=un(),x=od();function A(r,o){o._len=Math.min(o.u.length,o.v.length,o.w.length,o.x.length,o.y.length,o.z.length),o._u=t(o.u,o._len),o._v=t(o.v,o._len),o._w=t(o.w,o._len),o._x=t(o.x,o._len),o._y=t(o.y,o._len),o._z=t(o.z,o._len);var n=S(o);o._gridFill=n.fill,o._Xs=n.Xs,o._Ys=n.Ys,o._Zs=n.Zs,o._len=n.len;var i=0,a,s,c;o.starts&&(a=t(o.starts.x||[]),s=t(o.starts.y||[]),c=t(o.starts.z||[]),i=Math.min(a.length,s.length,c.length)),o._startsX=a||[],o._startsY=s||[],o._startsZ=c||[];var h=0,p=1/0,d;for(d=0;d1&&(u=o[a-1],f=n[a-1],L=i[a-1]),s=0;su?\"-\":\"+\")+\"x\"),M=M.replace(\"y\",(y>f?\"-\":\"+\")+\"y\"),M=M.replace(\"z\",(P>L?\"-\":\"+\")+\"z\");var O=function(){a=0,z=[],F=[],B=[]};(!a||a0;p--){var d=Math.min(h[p],h[p-1]),T=Math.max(h[p],h[p-1]);if(T>d&&d-1}function ee(_t,Be){return _t===null?Be:_t}function ie(_t,Be,Ke){le();var je=[Be],Se=[Ke];if(X>=1)je=[Be],Se=[Ke];else if(X>0){var He=ae(Be,Ke);je=He.xyzv,Se=He.abc}for(var Ee=0;Ee-1?Ke[Le]:Q(nt,pt,bt);Nt>-1?we[Le]=Nt:we[Le]=fe(nt,pt,bt,ee(_t,Rt))}G(we[0],we[1],we[2])}}function ce(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(2,3,0)}function xe(_t,Be,Ke){var je=function(Se,He,Ee){ie(_t,[Be[Se],Be[He],Be[Ee]],[Ke[Se],Ke[He],Ke[Ee]])};je(0,1,2),je(3,0,1),je(2,3,0),je(1,2,3)}function Te(_t,Be,Ke,je){var Se=_t[3];Seje&&(Se=je);for(var He=(_t[3]-Se)/(_t[3]-Be[3]+1e-9),Ee=[],we=0;we<4;we++)Ee[we]=(1-He)*_t[we]+He*Be[we];return Ee}function Ue(_t,Be,Ke){return _t>=Be&&_t<=Ke}function Ie(_t){var Be=.001*(O-B);return _t>=B-Be&&_t<=O+Be}function Ye(_t){for(var Be=[],Ke=0;Ke<4;Ke++){var je=_t[Ke];Be.push([c._x[je],c._y[je],c._z[je],c._value[je]])}return Be}var it=3;function at(_t,Be,Ke,je,Se,He){He||(He=1),Ke=[-1,-1,-1];var Ee=!1,we=[Ue(Be[0][3],je,Se),Ue(Be[1][3],je,Se),Ue(Be[2][3],je,Se)];if(!we[0]&&!we[1]&&!we[2])return!1;var Le=function(pt,bt,Rt){return Ie(bt[0][3])&&Ie(bt[1][3])&&Ie(bt[2][3])?(ie(pt,bt,Rt),!0):Hewe?[z,He]:[He,F];Bt(Be,Le[0],Le[1])}}var nt=[[Math.min(B,F),Math.max(B,F)],[Math.min(z,O),Math.max(z,O)]];[\"x\",\"y\",\"z\"].forEach(function(pt){for(var bt=[],Rt=0;Rt0&&(Rn.push(ni.id),pt===\"x\"?Nn.push([ni.distRatio,0,0]):pt===\"y\"?Nn.push([0,ni.distRatio,0]):Nn.push([0,0,ni.distRatio]))}else pt===\"x\"?pn=Rr(1,u-1):pt===\"y\"?pn=Rr(1,y-1):pn=Rr(1,f-1);Rn.length>0&&(pt===\"x\"?bt[Nt]=qt(_t,Rn,Xt,$t,Nn,bt[Nt]):pt===\"y\"?bt[Nt]=fr(_t,Rn,Xt,$t,Nn,bt[Nt]):bt[Nt]=ar(_t,Rn,Xt,$t,Nn,bt[Nt]),Nt++),pn.length>0&&(pt===\"x\"?bt[Nt]=rt(_t,pn,Xt,$t,bt[Nt]):pt===\"y\"?bt[Nt]=ot(_t,pn,Xt,$t,bt[Nt]):bt[Nt]=et(_t,pn,Xt,$t,bt[Nt]),Nt++)}var zn=c.caps[pt];zn.show&&zn.fill&&(re(zn.fill),pt===\"x\"?bt[Nt]=rt(_t,[0,u-1],Xt,$t,bt[Nt]):pt===\"y\"?bt[Nt]=ot(_t,[0,y-1],Xt,$t,bt[Nt]):bt[Nt]=et(_t,[0,f-1],Xt,$t,bt[Nt]),Nt++)}}),w===0&&se(),c._meshX=I,c._meshY=N,c._meshZ=U,c._meshIntensity=W,c._Xs=m,c._Ys=b,c._Zs=v}return br(),c}function s(c,h){var p=c.glplot.gl,d=g({gl:p}),T=new o(c,d,h.uid);return d._trace=T,T.update(h),c.glplot.add(d),T}H.exports={findNearestOnAxis:r,generateIsoMeshes:a,createIsosurfaceTrace:s}}}),OI=ke({\"src/traces/isosurface/index.js\"(Z,H){\"use strict\";H.exports={attributes:Wx(),supplyDefaults:lA().supplyDefaults,calc:uA(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:Zx().createIsosurfaceTrace,moduleType:\"trace\",name:\"isosurface\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),BI=ke({\"lib/isosurface.js\"(Z,H){\"use strict\";H.exports=OI()}}),cA=ke({\"src/traces/volume/attributes.js\"(Z,H){\"use strict\";var g=ou(),x=Wx(),A=q0(),S=Ol(),e=To().extendFlat,t=ju().overrideAll,r=H.exports=t(e({x:x.x,y:x.y,z:x.z,value:x.value,isomin:x.isomin,isomax:x.isomax,surface:x.surface,spaceframe:{show:{valType:\"boolean\",dflt:!1},fill:{valType:\"number\",min:0,max:1,dflt:1}},slices:x.slices,caps:x.caps,text:x.text,hovertext:x.hovertext,xhoverformat:x.xhoverformat,yhoverformat:x.yhoverformat,zhoverformat:x.zhoverformat,valuehoverformat:x.valuehoverformat,hovertemplate:x.hovertemplate},g(\"\",{colorAttr:\"`value`\",showScaleDflt:!0,editTypeOverride:\"calc\"}),{colorbar:x.colorbar,opacity:x.opacity,opacityscale:A.opacityscale,lightposition:x.lightposition,lighting:x.lighting,flatshading:x.flatshading,contour:x.contour,hoverinfo:e({},S.hoverinfo),showlegend:e({},S.showlegend,{dflt:!1})}),\"calc\",\"nested\");r.x.editType=r.y.editType=r.z.editType=r.value.editType=\"calc+clearAxisTypes\"}}),NI=ke({\"src/traces/volume/defaults.js\"(Z,H){\"use strict\";var g=un(),x=cA(),A=lA().supplyIsoDefaults,S=sA().opacityscaleDefaults;H.exports=function(t,r,o,n){function i(a,s){return g.coerce(t,r,x,a,s)}A(t,r,o,n,i),S(t,r,n,i)}}}),UI=ke({\"src/traces/volume/convert.js\"(Z,H){\"use strict\";var g=Mh().gl_mesh3d,x=np().parseColorScale,A=un().isArrayOrTypedArray,S=rp(),e=ku().extractOpts,t=vy(),r=Zx().findNearestOnAxis,o=Zx().generateIsoMeshes;function n(s,c,h){this.scene=s,this.uid=h,this.mesh=c,this.name=\"\",this.data=null,this.showContour=!1}var i=n.prototype;i.handlePick=function(s){if(s.object===this.mesh){var c=s.data.index,h=this.data._meshX[c],p=this.data._meshY[c],d=this.data._meshZ[c],T=this.data._Ys.length,l=this.data._Zs.length,_=r(h,this.data._Xs).id,w=r(p,this.data._Ys).id,M=r(d,this.data._Zs).id,E=s.index=M+l*w+l*T*_;s.traceCoordinate=[this.data._meshX[E],this.data._meshY[E],this.data._meshZ[E],this.data._value[E]];var m=this.data.hovertext||this.data.text;return A(m)&&m[E]!==void 0?s.textLabel=m[E]:m&&(s.textLabel=m),!0}},i.update=function(s){var c=this.scene,h=c.fullSceneLayout;this.data=o(s);function p(w,M,E,m){return M.map(function(b){return w.d2l(b,0,m)*E})}var d=t(p(h.xaxis,s._meshX,c.dataScale[0],s.xcalendar),p(h.yaxis,s._meshY,c.dataScale[1],s.ycalendar),p(h.zaxis,s._meshZ,c.dataScale[2],s.zcalendar)),T=t(s._meshI,s._meshJ,s._meshK),l={positions:d,cells:T,lightPosition:[s.lightposition.x,s.lightposition.y,s.lightposition.z],ambient:s.lighting.ambient,diffuse:s.lighting.diffuse,specular:s.lighting.specular,roughness:s.lighting.roughness,fresnel:s.lighting.fresnel,vertexNormalsEpsilon:s.lighting.vertexnormalsepsilon,faceNormalsEpsilon:s.lighting.facenormalsepsilon,opacity:s.opacity,opacityscale:s.opacityscale,contourEnable:s.contour.show,contourColor:S(s.contour.color).slice(0,3),contourWidth:s.contour.width,useFacetNormals:s.flatshading},_=e(s);l.vertexIntensity=s._meshIntensity,l.vertexIntensityBounds=[_.min,_.max],l.colormap=x(s),this.mesh.update(l)},i.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function a(s,c){var h=s.glplot.gl,p=g({gl:h}),d=new n(s,p,c.uid);return p._trace=d,d.update(c),s.glplot.add(p),d}H.exports=a}}),jI=ke({\"src/traces/volume/index.js\"(Z,H){\"use strict\";H.exports={attributes:cA(),supplyDefaults:NI(),calc:uA(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:UI(),moduleType:\"trace\",name:\"volume\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),VI=ke({\"lib/volume.js\"(Z,H){\"use strict\";H.exports=jI()}}),qI=ke({\"src/traces/mesh3d/defaults.js\"(Z,H){\"use strict\";var g=lo(),x=un(),A=Kf(),S=dy();H.exports=function(t,r,o,n){function i(p,d){return x.coerce(t,r,S,p,d)}function a(p){var d=p.map(function(T){var l=i(T);return l&&x.isArrayOrTypedArray(l)?l:null});return d.every(function(T){return T&&T.length===d[0].length})&&d}var s=a([\"x\",\"y\",\"z\"]);if(!s){r.visible=!1;return}if(a([\"i\",\"j\",\"k\"]),r.i&&(!r.j||!r.k)||r.j&&(!r.k||!r.i)||r.k&&(!r.i||!r.j)){r.visible=!1;return}var c=g.getComponentMethod(\"calendars\",\"handleTraceDefaults\");c(t,r,[\"x\",\"y\",\"z\"],n),[\"lighting.ambient\",\"lighting.diffuse\",\"lighting.specular\",\"lighting.roughness\",\"lighting.fresnel\",\"lighting.vertexnormalsepsilon\",\"lighting.facenormalsepsilon\",\"lightposition.x\",\"lightposition.y\",\"lightposition.z\",\"flatshading\",\"alphahull\",\"delaunayaxis\",\"opacity\"].forEach(function(p){i(p)});var h=i(\"contour.show\");h&&(i(\"contour.color\"),i(\"contour.width\")),\"intensity\"in t?(i(\"intensity\"),i(\"intensitymode\"),A(t,r,n,i,{prefix:\"\",cLetter:\"c\"})):(r.showscale=!1,\"facecolor\"in t?i(\"facecolor\"):\"vertexcolor\"in t?i(\"vertexcolor\"):i(\"color\",o)),i(\"text\"),i(\"hovertext\"),i(\"hovertemplate\"),i(\"xhoverformat\"),i(\"yhoverformat\"),i(\"zhoverformat\"),r._length=null}}}),HI=ke({\"src/traces/mesh3d/calc.js\"(Z,H){\"use strict\";var g=od();H.exports=function(A,S){S.intensity&&g(A,S,{vals:S.intensity,containerStr:\"\",cLetter:\"c\"})}}}),GI=ke({\"src/traces/mesh3d/convert.js\"(Z,H){\"use strict\";var g=Mh().gl_mesh3d,x=Mh().delaunay_triangulate,A=Mh().alpha_shape,S=Mh().convex_hull,e=np().parseColorScale,t=un().isArrayOrTypedArray,r=rp(),o=ku().extractOpts,n=vy();function i(l,_,w){this.scene=l,this.uid=w,this.mesh=_,this.name=\"\",this.color=\"#fff\",this.data=null,this.showContour=!1}var a=i.prototype;a.handlePick=function(l){if(l.object===this.mesh){var _=l.index=l.data.index;l.data._cellCenter?l.traceCoordinate=l.data.dataCoordinate:l.traceCoordinate=[this.data.x[_],this.data.y[_],this.data.z[_]];var w=this.data.hovertext||this.data.text;return t(w)&&w[_]!==void 0?l.textLabel=w[_]:w&&(l.textLabel=w),!0}};function s(l){for(var _=[],w=l.length,M=0;M=_-.5)return!1;return!0}a.update=function(l){var _=this.scene,w=_.fullSceneLayout;this.data=l;var M=l.x.length,E=n(c(w.xaxis,l.x,_.dataScale[0],l.xcalendar),c(w.yaxis,l.y,_.dataScale[1],l.ycalendar),c(w.zaxis,l.z,_.dataScale[2],l.zcalendar)),m;if(l.i&&l.j&&l.k){if(l.i.length!==l.j.length||l.j.length!==l.k.length||!d(l.i,M)||!d(l.j,M)||!d(l.k,M))return;m=n(h(l.i),h(l.j),h(l.k))}else l.alphahull===0?m=S(E):l.alphahull>0?m=A(l.alphahull,E):m=p(l.delaunayaxis,E);var b={positions:E,cells:m,lightPosition:[l.lightposition.x,l.lightposition.y,l.lightposition.z],ambient:l.lighting.ambient,diffuse:l.lighting.diffuse,specular:l.lighting.specular,roughness:l.lighting.roughness,fresnel:l.lighting.fresnel,vertexNormalsEpsilon:l.lighting.vertexnormalsepsilon,faceNormalsEpsilon:l.lighting.facenormalsepsilon,opacity:l.opacity,contourEnable:l.contour.show,contourColor:r(l.contour.color).slice(0,3),contourWidth:l.contour.width,useFacetNormals:l.flatshading};if(l.intensity){var v=o(l);this.color=\"#fff\";var u=l.intensitymode;b[u+\"Intensity\"]=l.intensity,b[u+\"IntensityBounds\"]=[v.min,v.max],b.colormap=e(l)}else l.vertexcolor?(this.color=l.vertexcolor[0],b.vertexColors=s(l.vertexcolor)):l.facecolor?(this.color=l.facecolor[0],b.cellColors=s(l.facecolor)):(this.color=l.color,b.meshColor=r(l.color));this.mesh.update(b)},a.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function T(l,_){var w=l.glplot.gl,M=g({gl:w}),E=new i(l,M,_.uid);return M._trace=E,E.update(_),l.glplot.add(M),E}H.exports=T}}),WI=ke({\"src/traces/mesh3d/index.js\"(Z,H){\"use strict\";H.exports={attributes:dy(),supplyDefaults:qI(),calc:HI(),colorbar:{min:\"cmin\",max:\"cmax\"},plot:GI(),moduleType:\"trace\",name:\"mesh3d\",basePlotModule:Yp(),categories:[\"gl3d\",\"showLegend\"],meta:{}}}}),XI=ke({\"lib/mesh3d.js\"(Z,H){\"use strict\";H.exports=WI()}}),fA=ke({\"src/traces/cone/attributes.js\"(Z,H){\"use strict\";var g=ou(),x=Sc().axisHoverFormat,A=Rs().hovertemplateAttrs,S=dy(),e=Ol(),t=To().extendFlat,r={x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},z:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},u:{valType:\"data_array\",editType:\"calc\"},v:{valType:\"data_array\",editType:\"calc\"},w:{valType:\"data_array\",editType:\"calc\"},sizemode:{valType:\"enumerated\",values:[\"scaled\",\"absolute\",\"raw\"],editType:\"calc\",dflt:\"scaled\"},sizeref:{valType:\"number\",editType:\"calc\",min:0},anchor:{valType:\"enumerated\",editType:\"calc\",values:[\"tip\",\"tail\",\"cm\",\"center\"],dflt:\"cm\"},text:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},hovertemplate:A({editType:\"calc\"},{keys:[\"norm\"]}),uhoverformat:x(\"u\",1),vhoverformat:x(\"v\",1),whoverformat:x(\"w\",1),xhoverformat:x(\"x\"),yhoverformat:x(\"y\"),zhoverformat:x(\"z\"),showlegend:t({},e.showlegend,{dflt:!1})};t(r,g(\"\",{colorAttr:\"u/v/w norm\",showScaleDflt:!0,editTypeOverride:\"calc\"}));var o=[\"opacity\",\"lightposition\",\"lighting\"];o.forEach(function(n){r[n]=S[n]}),r.hoverinfo=t({},e.hoverinfo,{editType:\"calc\",flags:[\"x\",\"y\",\"z\",\"u\",\"v\",\"w\",\"norm\",\"text\",\"name\"],dflt:\"x+y+z+norm+text+name\"}),H.exports=r}}),ZI=ke({\"src/traces/cone/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Kf(),A=fA();H.exports=function(e,t,r,o){function n(T,l){return g.coerce(e,t,A,T,l)}var i=n(\"u\"),a=n(\"v\"),s=n(\"w\"),c=n(\"x\"),h=n(\"y\"),p=n(\"z\");if(!i||!i.length||!a||!a.length||!s||!s.length||!c||!c.length||!h||!h.length||!p||!p.length){t.visible=!1;return}var d=n(\"sizemode\");n(\"sizeref\",d===\"raw\"?1:.5),n(\"anchor\"),n(\"lighting.ambient\"),n(\"lighting.diffuse\"),n(\"lighting.specular\"),n(\"lighting.roughness\"),n(\"lighting.fresnel\"),n(\"lightposition.x\"),n(\"lightposition.y\"),n(\"lightposition.z\"),x(e,t,o,n,{prefix:\"\",cLetter:\"c\"}),n(\"text\"),n(\"hovertext\"),n(\"hovertemplate\"),n(\"uhoverformat\"),n(\"vhoverformat\"),n(\"whoverformat\"),n(\"xhoverformat\"),n(\"yhoverformat\"),n(\"zhoverformat\"),t._length=null}}}),YI=ke({\"src/traces/cone/calc.js\"(Z,H){\"use strict\";var g=od();H.exports=function(A,S){for(var e=S.u,t=S.v,r=S.w,o=Math.min(S.x.length,S.y.length,S.z.length,e.length,t.length,r.length),n=-1/0,i=1/0,a=0;a2?d=h.slice(1,p-1):p===2?d=[(h[0]+h[1])/2]:d=h,d}function a(h){var p=h.length;return p===1?[.5,.5]:[h[1]-h[0],h[p-1]-h[p-2]]}function s(h,p){var d=h.fullSceneLayout,T=h.dataScale,l=p._len,_={};function w(fe,G){var $=d[G],J=T[r[G]];return A.simpleMap(fe,function(X){return $.d2l(X)*J})}if(_.vectors=t(w(p._u,\"xaxis\"),w(p._v,\"yaxis\"),w(p._w,\"zaxis\"),l),!l)return{positions:[],cells:[]};var M=w(p._Xs,\"xaxis\"),E=w(p._Ys,\"yaxis\"),m=w(p._Zs,\"zaxis\");_.meshgrid=[M,E,m],_.gridFill=p._gridFill;var b=p._slen;if(b)_.startingPositions=t(w(p._startsX,\"xaxis\"),w(p._startsY,\"yaxis\"),w(p._startsZ,\"zaxis\"));else{for(var v=E[0],u=i(M),y=i(m),f=new Array(u.length*y.length),P=0,L=0;Lv&&(v=P[0]),P[1]u&&(u=P[1])}function f(P){switch(P.type){case\"GeometryCollection\":P.geometries.forEach(f);break;case\"Point\":y(P.coordinates);break;case\"MultiPoint\":P.coordinates.forEach(y);break}}w.arcs.forEach(function(P){for(var L=-1,z=P.length,F;++Lv&&(v=F[0]),F[1]u&&(u=F[1])});for(E in w.objects)f(w.objects[E]);return[m,b,v,u]}function e(w,M){for(var E,m=w.length,b=m-M;b<--m;)E=w[b],w[b++]=w[m],w[m]=E}function t(w,M){return typeof M==\"string\"&&(M=w.objects[M]),M.type===\"GeometryCollection\"?{type:\"FeatureCollection\",features:M.geometries.map(function(E){return r(w,E)})}:r(w,M)}function r(w,M){var E=M.id,m=M.bbox,b=M.properties==null?{}:M.properties,v=o(w,M);return E==null&&m==null?{type:\"Feature\",properties:b,geometry:v}:m==null?{type:\"Feature\",id:E,properties:b,geometry:v}:{type:\"Feature\",id:E,bbox:m,properties:b,geometry:v}}function o(w,M){var E=A(w.transform),m=w.arcs;function b(L,z){z.length&&z.pop();for(var F=m[L<0?~L:L],B=0,O=F.length;B1)m=s(w,M,E);else for(b=0,m=new Array(v=w.arcs.length);b1)for(var z=1,F=y(P[0]),B,O;zF&&(O=P[0],P[0]=P[z],P[z]=O,F=B);return P}).filter(function(f){return f.length>0})}}function d(w,M){for(var E=0,m=w.length;E>>1;w[b]=2))throw new Error(\"n must be \\u22652\");f=w.bbox||S(w);var E=f[0],m=f[1],b=f[2],v=f[3],u;M={scale:[b-E?(b-E)/(u-1):1,v-m?(v-m)/(u-1):1],translate:[E,m]}}else f=w.bbox;var y=l(M),f,P,L=w.objects,z={};function F(I){return y(I)}function B(I){var N;switch(I.type){case\"GeometryCollection\":N={type:\"GeometryCollection\",geometries:I.geometries.map(B)};break;case\"Point\":N={type:\"Point\",coordinates:F(I.coordinates)};break;case\"MultiPoint\":N={type:\"MultiPoint\",coordinates:I.coordinates.map(F)};break;default:return I}return I.id!=null&&(N.id=I.id),I.bbox!=null&&(N.bbox=I.bbox),I.properties!=null&&(N.properties=I.properties),N}function O(I){var N=0,U=1,W=I.length,Q,le=new Array(W);for(le[0]=y(I[0],0);++N0&&(S.push(e),e=[])}return e.length>0&&S.push(e),S},Z.makeLine=function(g){return g.length===1?{type:\"LineString\",coordinates:g[0]}:{type:\"MultiLineString\",coordinates:g}},Z.makePolygon=function(g){if(g.length===1)return{type:\"Polygon\",coordinates:g};for(var x=new Array(g.length),A=0;Ae(B,z)),F)}function r(L,z,F={}){for(let O of L){if(O.length<4)throw new Error(\"Each LinearRing of a Polygon must have 4 or more Positions.\");if(O[O.length-1].length!==O[0].length)throw new Error(\"First and last Position are not equivalent.\");for(let I=0;Ir(B,z)),F)}function n(L,z,F={}){if(L.length<2)throw new Error(\"coordinates must be an array of two or more positions\");return A({type:\"LineString\",coordinates:L},z,F)}function i(L,z,F={}){return a(L.map(B=>n(B,z)),F)}function a(L,z={}){let F={type:\"FeatureCollection\"};return z.id&&(F.id=z.id),z.bbox&&(F.bbox=z.bbox),F.features=L,F}function s(L,z,F={}){return A({type:\"MultiLineString\",coordinates:L},z,F)}function c(L,z,F={}){return A({type:\"MultiPoint\",coordinates:L},z,F)}function h(L,z,F={}){return A({type:\"MultiPolygon\",coordinates:L},z,F)}function p(L,z,F={}){return A({type:\"GeometryCollection\",geometries:L},z,F)}function d(L,z=0){if(z&&!(z>=0))throw new Error(\"precision must be a positive number\");let F=Math.pow(10,z||0);return Math.round(L*F)/F}function T(L,z=\"kilometers\"){let F=g[z];if(!F)throw new Error(z+\" units is invalid\");return L*F}function l(L,z=\"kilometers\"){let F=g[z];if(!F)throw new Error(z+\" units is invalid\");return L/F}function _(L,z){return E(l(L,z))}function w(L){let z=L%360;return z<0&&(z+=360),z}function M(L){return L=L%360,L>0?L>180?L-360:L:L<-180?L+360:L}function E(L){return L%(2*Math.PI)*180/Math.PI}function m(L){return L%360*Math.PI/180}function b(L,z=\"kilometers\",F=\"kilometers\"){if(!(L>=0))throw new Error(\"length must be a positive number\");return T(l(L,z),F)}function v(L,z=\"meters\",F=\"kilometers\"){if(!(L>=0))throw new Error(\"area must be a positive number\");let B=x[z];if(!B)throw new Error(\"invalid original units\");let O=x[F];if(!O)throw new Error(\"invalid final units\");return L/B*O}function u(L){return!isNaN(L)&&L!==null&&!Array.isArray(L)}function y(L){return L!==null&&typeof L==\"object\"&&!Array.isArray(L)}function f(L){if(!L)throw new Error(\"bbox is required\");if(!Array.isArray(L))throw new Error(\"bbox must be an Array\");if(L.length!==4&&L.length!==6)throw new Error(\"bbox must be an Array of 4 or 6 numbers\");L.forEach(z=>{if(!u(z))throw new Error(\"bbox must only contain numbers\")})}function P(L){if(!L)throw new Error(\"id is required\");if([\"string\",\"number\"].indexOf(typeof L)===-1)throw new Error(\"id must be a number or a string\")}Z.areaFactors=x,Z.azimuthToBearing=M,Z.bearingToAzimuth=w,Z.convertArea=v,Z.convertLength=b,Z.degreesToRadians=m,Z.earthRadius=H,Z.factors=g,Z.feature=A,Z.featureCollection=a,Z.geometry=S,Z.geometryCollection=p,Z.isNumber=u,Z.isObject=y,Z.lengthToDegrees=_,Z.lengthToRadians=l,Z.lineString=n,Z.lineStrings=i,Z.multiLineString=s,Z.multiPoint=c,Z.multiPolygon=h,Z.point=e,Z.points=t,Z.polygon=r,Z.polygons=o,Z.radiansToDegrees=E,Z.radiansToLength=T,Z.round=d,Z.validateBBox=f,Z.validateId=P}}),$x=ke({\"node_modules/@turf/meta/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=Jx();function g(l,_,w){if(l!==null)for(var M,E,m,b,v,u,y,f=0,P=0,L,z=l.type,F=z===\"FeatureCollection\",B=z===\"Feature\",O=F?l.features.length:1,I=0;Iu||F>y||B>f){v=P,u=M,y=F,f=B,m=0;return}var O=H.lineString.call(void 0,[v,P],w.properties);if(_(O,M,E,B,m)===!1)return!1;m++,v=P})===!1)return!1}}})}function c(l,_,w){var M=w,E=!1;return s(l,function(m,b,v,u,y){E===!1&&w===void 0?M=m:M=_(M,m,b,v,u,y),E=!0}),M}function h(l,_){if(!l)throw new Error(\"geojson is required\");i(l,function(w,M,E){if(w.geometry!==null){var m=w.geometry.type,b=w.geometry.coordinates;switch(m){case\"LineString\":if(_(w,M,E,0,0)===!1)return!1;break;case\"Polygon\":for(var v=0;vi+A(a),0)}function A(n){let i=0,a;switch(n.type){case\"Polygon\":return S(n.coordinates);case\"MultiPolygon\":for(a=0;a0){i+=Math.abs(r(n[0]));for(let a=1;a=i?(s+2)%i:s+2],d=c[0]*t,T=h[1]*t,l=p[0]*t;a+=(l-d)*Math.sin(T),s++}return a*e}var o=x;Z.area=x,Z.default=o}}),s6=ke({\"node_modules/@turf/centroid/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=Jx(),g=$x();function x(S,e={}){let t=0,r=0,o=0;return g.coordEach.call(void 0,S,function(n){t+=n[0],r+=n[1],o++},!0),H.point.call(void 0,[t/o,r/o],e.properties)}var A=x;Z.centroid=x,Z.default=A}}),l6=ke({\"node_modules/@turf/bbox/dist/cjs/index.cjs\"(Z){\"use strict\";Object.defineProperty(Z,\"__esModule\",{value:!0});var H=$x();function g(A,S={}){if(A.bbox!=null&&S.recompute!==!0)return A.bbox;let e=[1/0,1/0,-1/0,-1/0];return H.coordEach.call(void 0,A,t=>{e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]0&&z[F+1][0]<0)return F;return null}switch(b===\"RUS\"||b===\"FJI\"?u=function(z){var F;if(L(z)===null)F=z;else for(F=new Array(z.length),P=0;PF?B[O++]=[z[P][0]+360,z[P][1]]:P===F?(B[O++]=z[P],B[O++]=[z[P][0],-90]):B[O++]=z[P];var I=i.tester(B);I.pts.pop(),v.push(I)}:u=function(z){v.push(i.tester(z))},E.type){case\"MultiPolygon\":for(y=0;y0?I.properties.ct=l(I):I.properties.ct=[NaN,NaN],B.fIn=z,B.fOut=I,v.push(I)}else r.log([\"Location\",B.loc,\"does not have a valid GeoJSON geometry.\",\"Traces with locationmode *geojson-id* only support\",\"*Polygon* and *MultiPolygon* geometries.\"].join(\" \"))}delete b[F]}switch(m.type){case\"FeatureCollection\":var P=m.features;for(u=0;uv&&(v=f,m=y)}else m=E;return S(m).geometry.coordinates}function _(M){var E=window.PlotlyGeoAssets||{},m=[];function b(P){return new Promise(function(L,z){g.json(P,function(F,B){if(F){delete E[P];var O=F.status===404?'GeoJSON at URL \"'+P+'\" does not exist.':\"Unexpected error while fetching from \"+P;return z(new Error(O))}return E[P]=B,L(B)})})}function v(P){return new Promise(function(L,z){var F=0,B=setInterval(function(){if(E[P]&&E[P]!==\"pending\")return clearInterval(B),L(E[P]);if(F>100)return clearInterval(B),z(\"Unexpected error while fetching from \"+P);F++},50)})}for(var u=0;u\")}}}),c6=ke({\"src/traces/scattergeo/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){x.lon=A.lon,x.lat=A.lat,x.location=A.loc?A.loc:null;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x}}}),f6=ke({\"src/traces/scattergeo/select.js\"(Z,H){\"use strict\";var g=vu(),x=Hi().BADNUM;H.exports=function(S,e){var t=S.cd,r=S.xaxis,o=S.yaxis,n=[],i=t[0].trace,a,s,c,h,p,d=!g.hasMarkers(i)&&!g.hasText(i);if(d)return[];if(e===!1)for(p=0;pX?1:J>=X?0:NaN}function A(J){return J.length===1&&(J=S(J)),{left:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)<0?ae=ee+1:j=ee}return ae},right:function(X,re,ae,j){for(ae==null&&(ae=0),j==null&&(j=X.length);ae>>1;J(X[ee],re)>0?j=ee:ae=ee+1}return ae}}}function S(J){return function(X,re){return x(J(X),re)}}var e=A(x),t=e.right,r=e.left;function o(J,X){X==null&&(X=n);for(var re=0,ae=J.length-1,j=J[0],ee=new Array(ae<0?0:ae);reJ?1:X>=J?0:NaN}function s(J){return J===null?NaN:+J}function c(J,X){var re=J.length,ae=0,j=-1,ee=0,ie,ce,xe=0;if(X==null)for(;++j1)return xe/(ae-1)}function h(J,X){var re=c(J,X);return re&&Math.sqrt(re)}function p(J,X){var re=J.length,ae=-1,j,ee,ie;if(X==null){for(;++ae=j)for(ee=ie=j;++aej&&(ee=j),ie=j)for(ee=ie=j;++aej&&(ee=j),ie0)return[J];if((ae=X0)for(J=Math.ceil(J/ce),X=Math.floor(X/ce),ie=new Array(ee=Math.ceil(X-J+1));++j=0?(ee>=E?10:ee>=m?5:ee>=b?2:1)*Math.pow(10,j):-Math.pow(10,-j)/(ee>=E?10:ee>=m?5:ee>=b?2:1)}function y(J,X,re){var ae=Math.abs(X-J)/Math.max(0,re),j=Math.pow(10,Math.floor(Math.log(ae)/Math.LN10)),ee=ae/j;return ee>=E?j*=10:ee>=m?j*=5:ee>=b&&(j*=2),XIe;)Ye.pop(),--it;var at=new Array(it+1),tt;for(ee=0;ee<=it;++ee)tt=at[ee]=[],tt.x0=ee>0?Ye[ee-1]:Ue,tt.x1=ee=1)return+re(J[ae-1],ae-1,J);var ae,j=(ae-1)*X,ee=Math.floor(j),ie=+re(J[ee],ee,J),ce=+re(J[ee+1],ee+1,J);return ie+(ce-ie)*(j-ee)}}function z(J,X,re){return J=l.call(J,s).sort(x),Math.ceil((re-X)/(2*(L(J,.75)-L(J,.25))*Math.pow(J.length,-1/3)))}function F(J,X,re){return Math.ceil((re-X)/(3.5*h(J)*Math.pow(J.length,-1/3)))}function B(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aeee&&(ee=j)}else for(;++ae=j)for(ee=j;++aeee&&(ee=j);return ee}function O(J,X){var re=J.length,ae=re,j=-1,ee,ie=0;if(X==null)for(;++j=0;)for(ie=J[X],re=ie.length;--re>=0;)ee[--j]=ie[re];return ee}function U(J,X){var re=J.length,ae=-1,j,ee;if(X==null){for(;++ae=j)for(ee=j;++aej&&(ee=j)}else for(;++ae=j)for(ee=j;++aej&&(ee=j);return ee}function W(J,X){for(var re=X.length,ae=new Array(re);re--;)ae[re]=J[X[re]];return ae}function Q(J,X){if(re=J.length){var re,ae=0,j=0,ee,ie=J[j];for(X==null&&(X=x);++ae0?1:Yt<0?-1:0},v=Math.sqrt,u=Math.tan;function y(Yt){return Yt>1?0:Yt<-1?n:Math.acos(Yt)}function f(Yt){return Yt>1?i:Yt<-1?-i:Math.asin(Yt)}function P(Yt){return(Yt=m(Yt/2))*Yt}function L(){}function z(Yt,dr){Yt&&B.hasOwnProperty(Yt.type)&&B[Yt.type](Yt,dr)}var F={Feature:function(Yt,dr){z(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr=0?1:-1,Cn=Wr*tn,si=l(dr),yi=m(dr),Di=G*yi,Wi=fe*si+Di*l(Cn),aa=Di*Wr*m(Cn);U.add(T(aa,Wi)),se=Yt,fe=si,G=yi}function j(Yt){return W.reset(),N(Yt,$),W*2}function ee(Yt){return[T(Yt[1],Yt[0]),f(Yt[2])]}function ie(Yt){var dr=Yt[0],tn=Yt[1],Wr=l(tn);return[Wr*l(dr),Wr*m(dr),m(tn)]}function ce(Yt,dr){return Yt[0]*dr[0]+Yt[1]*dr[1]+Yt[2]*dr[2]}function xe(Yt,dr){return[Yt[1]*dr[2]-Yt[2]*dr[1],Yt[2]*dr[0]-Yt[0]*dr[2],Yt[0]*dr[1]-Yt[1]*dr[0]]}function Te(Yt,dr){Yt[0]+=dr[0],Yt[1]+=dr[1],Yt[2]+=dr[2]}function Ue(Yt,dr){return[Yt[0]*dr,Yt[1]*dr,Yt[2]*dr]}function Ie(Yt){var dr=v(Yt[0]*Yt[0]+Yt[1]*Yt[1]+Yt[2]*Yt[2]);Yt[0]/=dr,Yt[1]/=dr,Yt[2]/=dr}var Ye,it,at,tt,ut,Me,pe,ue,Oe=A(),rt,ot,et={point:Lt,lineStart:Bt,lineEnd:qt,polygonStart:function(){et.point=fr,et.lineStart=ar,et.lineEnd=Rr,Oe.reset(),$.polygonStart()},polygonEnd:function(){$.polygonEnd(),et.point=Lt,et.lineStart=Bt,et.lineEnd=qt,U<0?(Ye=-(at=180),it=-(tt=90)):Oe>r?tt=90:Oe<-r&&(it=-90),ot[0]=Ye,ot[1]=at},sphere:function(){Ye=-(at=180),it=-(tt=90)}};function Lt(Yt,dr){rt.push(ot=[Ye=Yt,at=Yt]),drtt&&(tt=dr)}function Et(Yt,dr){var tn=ie([Yt*h,dr*h]);if(ue){var Wr=xe(ue,tn),Cn=[Wr[1],-Wr[0],0],si=xe(Cn,Wr);Ie(si),si=ee(si);var yi=Yt-ut,Di=yi>0?1:-1,Wi=si[0]*c*Di,aa,bi=p(yi)>180;bi^(Di*uttt&&(tt=aa)):(Wi=(Wi+360)%360-180,bi^(Di*uttt&&(tt=dr))),bi?Ytgr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt):at>=Ye?(Ytat&&(at=Yt)):Yt>ut?gr(Ye,Yt)>gr(Ye,at)&&(at=Yt):gr(Yt,at)>gr(Ye,at)&&(Ye=Yt)}else rt.push(ot=[Ye=Yt,at=Yt]);drtt&&(tt=dr),ue=tn,ut=Yt}function Bt(){et.point=Et}function qt(){ot[0]=Ye,ot[1]=at,et.point=Lt,ue=null}function fr(Yt,dr){if(ue){var tn=Yt-ut;Oe.add(p(tn)>180?tn+(tn>0?360:-360):tn)}else Me=Yt,pe=dr;$.point(Yt,dr),Et(Yt,dr)}function ar(){$.lineStart()}function Rr(){fr(Me,pe),$.lineEnd(),p(Oe)>r&&(Ye=-(at=180)),ot[0]=Ye,ot[1]=at,ue=null}function gr(Yt,dr){return(dr-=Yt)<0?dr+360:dr}function br(Yt,dr){return Yt[0]-dr[0]}function _t(Yt,dr){return Yt[0]<=Yt[1]?Yt[0]<=dr&&dr<=Yt[1]:drgr(Wr[0],Wr[1])&&(Wr[1]=Cn[1]),gr(Cn[0],Wr[1])>gr(Wr[0],Wr[1])&&(Wr[0]=Cn[0])):si.push(Wr=Cn);for(yi=-1/0,tn=si.length-1,dr=0,Wr=si[tn];dr<=tn;Wr=Cn,++dr)Cn=si[dr],(Di=gr(Wr[1],Cn[0]))>yi&&(yi=Di,Ye=Cn[0],at=Wr[1])}return rt=ot=null,Ye===1/0||it===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ye,it],[at,tt]]}var Ke,je,Se,He,Ee,we,Le,nt,pt,bt,Rt,Nt,Xt,$t,ur,pn,Rn={sphere:L,point:Nn,lineStart:ni,lineEnd:gi,polygonStart:function(){Rn.lineStart=Zt,Rn.lineEnd=Ft},polygonEnd:function(){Rn.lineStart=ni,Rn.lineEnd=gi}};function Nn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);On(tn*l(Yt),tn*m(Yt),m(dr))}function On(Yt,dr,tn){++Ke,Se+=(Yt-Se)/Ke,He+=(dr-He)/Ke,Ee+=(tn-Ee)/Ke}function ni(){Rn.point=zn}function zn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),Rn.point=Qn,On($t,ur,pn)}function Qn(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=T(v((yi=ur*si-pn*Cn)*yi+(yi=pn*Wr-$t*si)*yi+(yi=$t*Cn-ur*Wr)*yi),$t*Wr+ur*Cn+pn*si);je+=yi,we+=yi*($t+($t=Wr)),Le+=yi*(ur+(ur=Cn)),nt+=yi*(pn+(pn=si)),On($t,ur,pn)}function gi(){Rn.point=Nn}function Zt(){Rn.point=Ht}function Ft(){Vt(Nt,Xt),Rn.point=Nn}function Ht(Yt,dr){Nt=Yt,Xt=dr,Yt*=h,dr*=h,Rn.point=Vt;var tn=l(dr);$t=tn*l(Yt),ur=tn*m(Yt),pn=m(dr),On($t,ur,pn)}function Vt(Yt,dr){Yt*=h,dr*=h;var tn=l(dr),Wr=tn*l(Yt),Cn=tn*m(Yt),si=m(dr),yi=ur*si-pn*Cn,Di=pn*Wr-$t*si,Wi=$t*Cn-ur*Wr,aa=v(yi*yi+Di*Di+Wi*Wi),bi=f(aa),zi=aa&&-bi/aa;pt+=zi*yi,bt+=zi*Di,Rt+=zi*Wi,je+=bi,we+=bi*($t+($t=Wr)),Le+=bi*(ur+(ur=Cn)),nt+=bi*(pn+(pn=si)),On($t,ur,pn)}function wr(Yt){Ke=je=Se=He=Ee=we=Le=nt=pt=bt=Rt=0,N(Yt,Rn);var dr=pt,tn=bt,Wr=Rt,Cn=dr*dr+tn*tn+Wr*Wr;return Cnn?Yt+Math.round(-Yt/s)*s:Yt,dr]}en.invert=en;function Fn(Yt,dr,tn){return(Yt%=s)?dr||tn?xn(ri(Yt),Sn(dr,tn)):ri(Yt):dr||tn?Sn(dr,tn):en}function Wn(Yt){return function(dr,tn){return dr+=Yt,[dr>n?dr-s:dr<-n?dr+s:dr,tn]}}function ri(Yt){var dr=Wn(Yt);return dr.invert=Wn(-Yt),dr}function Sn(Yt,dr){var tn=l(Yt),Wr=m(Yt),Cn=l(dr),si=m(dr);function yi(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*tn+bi*Wr;return[T(zi*Cn-di*si,bi*tn-Li*Wr),f(di*Cn+zi*si)]}return yi.invert=function(Di,Wi){var aa=l(Wi),bi=l(Di)*aa,zi=m(Di)*aa,Li=m(Wi),di=Li*Cn-zi*si;return[T(zi*Cn+Li*si,bi*tn+di*Wr),f(di*tn-bi*Wr)]},yi}function ui(Yt){Yt=Fn(Yt[0]*h,Yt[1]*h,Yt.length>2?Yt[2]*h:0);function dr(tn){return tn=Yt(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn}return dr.invert=function(tn){return tn=Yt.invert(tn[0]*h,tn[1]*h),tn[0]*=c,tn[1]*=c,tn},dr}function gt(Yt,dr,tn,Wr,Cn,si){if(tn){var yi=l(dr),Di=m(dr),Wi=Wr*tn;Cn==null?(Cn=dr+Wr*s,si=dr-Wi/2):(Cn=yt(yi,Cn),si=yt(yi,si),(Wr>0?Cnsi)&&(Cn+=Wr*s));for(var aa,bi=Cn;Wr>0?bi>si:bi1&&Yt.push(Yt.pop().concat(Yt.shift()))},result:function(){var tn=Yt;return Yt=[],dr=null,tn}}}function Tr(Yt,dr){return p(Yt[0]-dr[0])=0;--Di)Cn.point((zi=bi[Di])[0],zi[1]);else Wr(Li.x,Li.p.x,-1,Cn);Li=Li.p}Li=Li.o,bi=Li.z,di=!di}while(!Li.v);Cn.lineEnd()}}}function Ur(Yt){if(dr=Yt.length){for(var dr,tn=0,Wr=Yt[0],Cn;++tn=0?1:-1,Ns=il*Ds,el=Ns>n,Es=po*Lo;if(Dr.add(T(Es*il*m(Ns),co*as+Es*l(Ns))),yi+=el?Ds+il*s:Ds,el^di>=tn^xa>=tn){var Bl=xe(ie(Li),ie(Ao));Ie(Bl);var _l=xe(si,Bl);Ie(_l);var cl=(el^Ds>=0?-1:1)*f(_l[2]);(Wr>cl||Wr===cl&&(Bl[0]||Bl[1]))&&(Di+=el^Ds>=0?1:-1)}}return(yi<-r||yi0){for(Wi||(Cn.polygonStart(),Wi=!0),Cn.lineStart(),as=0;as1&&Qi&2&&Lo.push(Lo.pop().concat(Lo.shift())),bi.push(Lo.filter(kt))}}return Li}}function kt(Yt){return Yt.length>1}function or(Yt,dr){return((Yt=Yt.x)[0]<0?Yt[1]-i-r:i-Yt[1])-((dr=dr.x)[0]<0?dr[1]-i-r:i-dr[1])}var yr=gn(function(){return!0},on,Zn,[-n,-i]);function on(Yt){var dr=NaN,tn=NaN,Wr=NaN,Cn;return{lineStart:function(){Yt.lineStart(),Cn=1},point:function(si,yi){var Di=si>0?n:-n,Wi=p(si-dr);p(Wi-n)0?i:-i),Yt.point(Wr,tn),Yt.lineEnd(),Yt.lineStart(),Yt.point(Di,tn),Yt.point(si,tn),Cn=0):Wr!==Di&&Wi>=n&&(p(dr-Wr)r?d((m(dr)*(si=l(Wr))*m(tn)-m(Wr)*(Cn=l(dr))*m(Yt))/(Cn*si*yi)):(dr+Wr)/2}function Zn(Yt,dr,tn,Wr){var Cn;if(Yt==null)Cn=tn*i,Wr.point(-n,Cn),Wr.point(0,Cn),Wr.point(n,Cn),Wr.point(n,0),Wr.point(n,-Cn),Wr.point(0,-Cn),Wr.point(-n,-Cn),Wr.point(-n,0),Wr.point(-n,Cn);else if(p(Yt[0]-dr[0])>r){var si=Yt[0]0,Cn=p(dr)>r;function si(bi,zi,Li,di){gt(di,Yt,tn,Li,bi,zi)}function yi(bi,zi){return l(bi)*l(zi)>dr}function Di(bi){var zi,Li,di,wa,po;return{lineStart:function(){wa=di=!1,po=1},point:function(co,mo){var Ao=[co,mo],xa,Qi=yi(co,mo),Lo=Wr?Qi?0:aa(co,mo):Qi?aa(co+(co<0?n:-n),mo):0;if(!zi&&(wa=di=Qi)&&bi.lineStart(),Qi!==di&&(xa=Wi(zi,Ao),(!xa||Tr(zi,xa)||Tr(Ao,xa))&&(Ao[2]=1)),Qi!==di)po=0,Qi?(bi.lineStart(),xa=Wi(Ao,zi),bi.point(xa[0],xa[1])):(xa=Wi(zi,Ao),bi.point(xa[0],xa[1],2),bi.lineEnd()),zi=xa;else if(Cn&&zi&&Wr^Qi){var as;!(Lo&Li)&&(as=Wi(Ao,zi,!0))&&(po=0,Wr?(bi.lineStart(),bi.point(as[0][0],as[0][1]),bi.point(as[1][0],as[1][1]),bi.lineEnd()):(bi.point(as[1][0],as[1][1]),bi.lineEnd(),bi.lineStart(),bi.point(as[0][0],as[0][1],3)))}Qi&&(!zi||!Tr(zi,Ao))&&bi.point(Ao[0],Ao[1]),zi=Ao,di=Qi,Li=Lo},lineEnd:function(){di&&bi.lineEnd(),zi=null},clean:function(){return po|(wa&&di)<<1}}}function Wi(bi,zi,Li){var di=ie(bi),wa=ie(zi),po=[1,0,0],co=xe(di,wa),mo=ce(co,co),Ao=co[0],xa=mo-Ao*Ao;if(!xa)return!Li&&bi;var Qi=dr*mo/xa,Lo=-dr*Ao/xa,as=xe(po,co),Ds=Ue(po,Qi),il=Ue(co,Lo);Te(Ds,il);var Ns=as,el=ce(Ds,Ns),Es=ce(Ns,Ns),Bl=el*el-Es*(ce(Ds,Ds)-1);if(!(Bl<0)){var _l=v(Bl),cl=Ue(Ns,(-el-_l)/Es);if(Te(cl,Ds),cl=ee(cl),!Li)return cl;var Za=bi[0],jo=zi[0],Js=bi[1],zs=zi[1],cu;jo0^cl[1]<(p(cl[0]-Za)n^(Za<=cl[0]&&cl[0]<=jo)){var Tu=Ue(Ns,(-el+_l)/Es);return Te(Tu,Ds),[cl,ee(Tu)]}}}function aa(bi,zi){var Li=Wr?Yt:n-Yt,di=0;return bi<-Li?di|=1:bi>Li&&(di|=2),zi<-Li?di|=4:zi>Li&&(di|=8),di}return gn(yi,Di,si,Wr?[0,-Yt]:[-n,Yt-n])}function wn(Yt,dr,tn,Wr,Cn,si){var yi=Yt[0],Di=Yt[1],Wi=dr[0],aa=dr[1],bi=0,zi=1,Li=Wi-yi,di=aa-Di,wa;if(wa=tn-yi,!(!Li&&wa>0)){if(wa/=Li,Li<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=Cn-yi,!(!Li&&wa<0)){if(wa/=Li,Li<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(Li>0){if(wa0)){if(wa/=di,di<0){if(wa0){if(wa>zi)return;wa>bi&&(bi=wa)}if(wa=si-Di,!(!di&&wa<0)){if(wa/=di,di<0){if(wa>zi)return;wa>bi&&(bi=wa)}else if(di>0){if(wa0&&(Yt[0]=yi+bi*Li,Yt[1]=Di+bi*di),zi<1&&(dr[0]=yi+zi*Li,dr[1]=Di+zi*di),!0}}}}}var Dn=1e9,Ui=-Dn;function pi(Yt,dr,tn,Wr){function Cn(aa,bi){return Yt<=aa&&aa<=tn&&dr<=bi&&bi<=Wr}function si(aa,bi,zi,Li){var di=0,wa=0;if(aa==null||(di=yi(aa,zi))!==(wa=yi(bi,zi))||Wi(aa,bi)<0^zi>0)do Li.point(di===0||di===3?Yt:tn,di>1?Wr:dr);while((di=(di+zi+4)%4)!==wa);else Li.point(bi[0],bi[1])}function yi(aa,bi){return p(aa[0]-Yt)0?0:3:p(aa[0]-tn)0?2:1:p(aa[1]-dr)0?1:0:bi>0?3:2}function Di(aa,bi){return Wi(aa.x,bi.x)}function Wi(aa,bi){var zi=yi(aa,1),Li=yi(bi,1);return zi!==Li?zi-Li:zi===0?bi[1]-aa[1]:zi===1?aa[0]-bi[0]:zi===2?aa[1]-bi[1]:bi[0]-aa[0]}return function(aa){var bi=aa,zi=Ir(),Li,di,wa,po,co,mo,Ao,xa,Qi,Lo,as,Ds={point:il,lineStart:Bl,lineEnd:_l,polygonStart:el,polygonEnd:Es};function il(Za,jo){Cn(Za,jo)&&bi.point(Za,jo)}function Ns(){for(var Za=0,jo=0,Js=di.length;joWr&&(zc-Kc)*(Wr-Tu)>(Fu-Tu)*(Yt-Kc)&&++Za:Fu<=Wr&&(zc-Kc)*(Wr-Tu)<(Fu-Tu)*(Yt-Kc)&&--Za;return Za}function el(){bi=zi,Li=[],di=[],as=!0}function Es(){var Za=Ns(),jo=as&&Za,Js=(Li=x.merge(Li)).length;(jo||Js)&&(aa.polygonStart(),jo&&(aa.lineStart(),si(null,null,1,aa),aa.lineEnd()),Js&&Lr(Li,Di,Za,si,aa),aa.polygonEnd()),bi=aa,Li=di=wa=null}function Bl(){Ds.point=cl,di&&di.push(wa=[]),Lo=!0,Qi=!1,Ao=xa=NaN}function _l(){Li&&(cl(po,co),mo&&Qi&&zi.rejoin(),Li.push(zi.result())),Ds.point=il,Qi&&bi.lineEnd()}function cl(Za,jo){var Js=Cn(Za,jo);if(di&&wa.push([Za,jo]),Lo)po=Za,co=jo,mo=Js,Lo=!1,Js&&(bi.lineStart(),bi.point(Za,jo));else if(Js&&Qi)bi.point(Za,jo);else{var zs=[Ao=Math.max(Ui,Math.min(Dn,Ao)),xa=Math.max(Ui,Math.min(Dn,xa))],cu=[Za=Math.max(Ui,Math.min(Dn,Za)),jo=Math.max(Ui,Math.min(Dn,jo))];wn(zs,cu,Yt,dr,tn,Wr)?(Qi||(bi.lineStart(),bi.point(zs[0],zs[1])),bi.point(cu[0],cu[1]),Js||bi.lineEnd(),as=!1):Js&&(bi.lineStart(),bi.point(Za,jo),as=!1)}Ao=Za,xa=jo,Qi=Js}return Ds}}function Ta(){var Yt=0,dr=0,tn=960,Wr=500,Cn,si,yi;return yi={stream:function(Di){return Cn&&si===Di?Cn:Cn=pi(Yt,dr,tn,Wr)(si=Di)},extent:function(Di){return arguments.length?(Yt=+Di[0][0],dr=+Di[0][1],tn=+Di[1][0],Wr=+Di[1][1],Cn=si=null,yi):[[Yt,dr],[tn,Wr]]}}}var Sa=A(),qa,to,yo,Xa={sphere:L,point:L,lineStart:Go,lineEnd:L,polygonStart:L,polygonEnd:L};function Go(){Xa.point=cs,Xa.lineEnd=pa}function pa(){Xa.point=Xa.lineEnd=L}function cs(Yt,dr){Yt*=h,dr*=h,qa=Yt,to=m(dr),yo=l(dr),Xa.point=Ko}function Ko(Yt,dr){Yt*=h,dr*=h;var tn=m(dr),Wr=l(dr),Cn=p(Yt-qa),si=l(Cn),yi=m(Cn),Di=Wr*yi,Wi=yo*tn-to*Wr*si,aa=to*tn+yo*Wr*si;Sa.add(T(v(Di*Di+Wi*Wi),aa)),qa=Yt,to=tn,yo=Wr}function gs(Yt){return Sa.reset(),N(Yt,Xa),+Sa}var Ya=[null,null],zo={type:\"LineString\",coordinates:Ya};function Ka(Yt,dr){return Ya[0]=Yt,Ya[1]=dr,gs(zo)}var Yo={Feature:function(Yt,dr){return hs(Yt.geometry,dr)},FeatureCollection:function(Yt,dr){for(var tn=Yt.features,Wr=-1,Cn=tn.length;++Wr0&&(Cn=Ka(Yt[si],Yt[si-1]),Cn>0&&tn<=Cn&&Wr<=Cn&&(tn+Wr-Cn)*(1-Math.pow((tn-Wr)/Cn,2))r}).map(Li)).concat(x.range(_(si/aa)*aa,Cn,aa).filter(function(xa){return p(xa%zi)>r}).map(di))}return mo.lines=function(){return Ao().map(function(xa){return{type:\"LineString\",coordinates:xa}})},mo.outline=function(){return{type:\"Polygon\",coordinates:[wa(Wr).concat(po(yi).slice(1),wa(tn).reverse().slice(1),po(Di).reverse().slice(1))]}},mo.extent=function(xa){return arguments.length?mo.extentMajor(xa).extentMinor(xa):mo.extentMinor()},mo.extentMajor=function(xa){return arguments.length?(Wr=+xa[0][0],tn=+xa[1][0],Di=+xa[0][1],yi=+xa[1][1],Wr>tn&&(xa=Wr,Wr=tn,tn=xa),Di>yi&&(xa=Di,Di=yi,yi=xa),mo.precision(co)):[[Wr,Di],[tn,yi]]},mo.extentMinor=function(xa){return arguments.length?(dr=+xa[0][0],Yt=+xa[1][0],si=+xa[0][1],Cn=+xa[1][1],dr>Yt&&(xa=dr,dr=Yt,Yt=xa),si>Cn&&(xa=si,si=Cn,Cn=xa),mo.precision(co)):[[dr,si],[Yt,Cn]]},mo.step=function(xa){return arguments.length?mo.stepMajor(xa).stepMinor(xa):mo.stepMinor()},mo.stepMajor=function(xa){return arguments.length?(bi=+xa[0],zi=+xa[1],mo):[bi,zi]},mo.stepMinor=function(xa){return arguments.length?(Wi=+xa[0],aa=+xa[1],mo):[Wi,aa]},mo.precision=function(xa){return arguments.length?(co=+xa,Li=Mi(si,Cn,90),di=Da(dr,Yt,co),wa=Mi(Di,yi,90),po=Da(Wr,tn,co),mo):co},mo.extentMajor([[-180,-90+r],[180,90-r]]).extentMinor([[-180,-80-r],[180,80+r]])}function Xs(){return pl()()}function Eo(Yt,dr){var tn=Yt[0]*h,Wr=Yt[1]*h,Cn=dr[0]*h,si=dr[1]*h,yi=l(Wr),Di=m(Wr),Wi=l(si),aa=m(si),bi=yi*l(tn),zi=yi*m(tn),Li=Wi*l(Cn),di=Wi*m(Cn),wa=2*f(v(P(si-Wr)+yi*Wi*P(Cn-tn))),po=m(wa),co=wa?function(mo){var Ao=m(mo*=wa)/po,xa=m(wa-mo)/po,Qi=xa*bi+Ao*Li,Lo=xa*zi+Ao*di,as=xa*Di+Ao*aa;return[T(Lo,Qi)*c,T(as,v(Qi*Qi+Lo*Lo))*c]}:function(){return[tn*c,Wr*c]};return co.distance=wa,co}function Ys(Yt){return Yt}var As=A(),hl=A(),wl,la,Uo,vo,Ps={point:L,lineStart:L,lineEnd:L,polygonStart:function(){Ps.lineStart=ls,Ps.lineEnd=Ku},polygonEnd:function(){Ps.lineStart=Ps.lineEnd=Ps.point=L,As.add(p(hl)),hl.reset()},result:function(){var Yt=As/2;return As.reset(),Yt}};function ls(){Ps.point=no}function no(Yt,dr){Ps.point=$l,wl=Uo=Yt,la=vo=dr}function $l(Yt,dr){hl.add(vo*Yt-Uo*dr),Uo=Yt,vo=dr}function Ku(){$l(wl,la)}var Tl=1/0,Vu=Tl,Rl=-Tl,Qs=Rl,nu={point:qu,lineStart:L,lineEnd:L,polygonStart:L,polygonEnd:L,result:function(){var Yt=[[Tl,Vu],[Rl,Qs]];return Rl=Qs=-(Vu=Tl=1/0),Yt}};function qu(Yt,dr){YtRl&&(Rl=Yt),drQs&&(Qs=dr)}var kc=0,Ju=0,sh=0,uf=0,qs=0,Hc=0,bf=0,Ql=0,Al=0,oc,gc,nl,Ml,Zs={point:sl,lineStart:sc,lineEnd:ll,polygonStart:function(){Zs.lineStart=Nh,Zs.lineEnd=ds},polygonEnd:function(){Zs.point=sl,Zs.lineStart=sc,Zs.lineEnd=ll},result:function(){var Yt=Al?[bf/Al,Ql/Al]:Hc?[uf/Hc,qs/Hc]:sh?[kc/sh,Ju/sh]:[NaN,NaN];return kc=Ju=sh=uf=qs=Hc=bf=Ql=Al=0,Yt}};function sl(Yt,dr){kc+=Yt,Ju+=dr,++sh}function sc(){Zs.point=jl}function jl(Yt,dr){Zs.point=$u,sl(nl=Yt,Ml=dr)}function $u(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,sl(nl=Yt,Ml=dr)}function ll(){Zs.point=sl}function Nh(){Zs.point=Sh}function ds(){Bs(oc,gc)}function Sh(Yt,dr){Zs.point=Bs,sl(oc=nl=Yt,gc=Ml=dr)}function Bs(Yt,dr){var tn=Yt-nl,Wr=dr-Ml,Cn=v(tn*tn+Wr*Wr);uf+=Cn*(nl+Yt)/2,qs+=Cn*(Ml+dr)/2,Hc+=Cn,Cn=Ml*Yt-nl*dr,bf+=Cn*(nl+Yt),Ql+=Cn*(Ml+dr),Al+=Cn*3,sl(nl=Yt,Ml=dr)}function Vo(Yt){this._context=Yt}Vo.prototype={_radius:4.5,pointRadius:function(Yt){return this._radius=Yt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._context.moveTo(Yt,dr),this._point=1;break}case 1:{this._context.lineTo(Yt,dr);break}default:{this._context.moveTo(Yt+this._radius,dr),this._context.arc(Yt,dr,this._radius,0,s);break}}},result:L};var rf=A(),Qu,pu,Df,Lc,nf,Vl={point:L,lineStart:function(){Vl.point=Jf},lineEnd:function(){Qu&&zf(pu,Df),Vl.point=L},polygonStart:function(){Qu=!0},polygonEnd:function(){Qu=null},result:function(){var Yt=+rf;return rf.reset(),Yt}};function Jf(Yt,dr){Vl.point=zf,pu=Lc=Yt,Df=nf=dr}function zf(Yt,dr){Lc-=Yt,nf-=dr,rf.add(v(Lc*Lc+nf*nf)),Lc=Yt,nf=dr}function wf(){this._string=[]}wf.prototype={_radius:4.5,_circle:Gc(4.5),pointRadius:function(Yt){return(Yt=+Yt)!==this._radius&&(this._radius=Yt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push(\"Z\"),this._point=NaN},point:function(Yt,dr){switch(this._point){case 0:{this._string.push(\"M\",Yt,\",\",dr),this._point=1;break}case 1:{this._string.push(\"L\",Yt,\",\",dr);break}default:{this._circle==null&&(this._circle=Gc(this._radius)),this._string.push(\"M\",Yt,\",\",dr,this._circle);break}}},result:function(){if(this._string.length){var Yt=this._string.join(\"\");return this._string=[],Yt}else return null}};function Gc(Yt){return\"m0,\"+Yt+\"a\"+Yt+\",\"+Yt+\" 0 1,1 0,\"+-2*Yt+\"a\"+Yt+\",\"+Yt+\" 0 1,1 0,\"+2*Yt+\"z\"}function Ff(Yt,dr){var tn=4.5,Wr,Cn;function si(yi){return yi&&(typeof tn==\"function\"&&Cn.pointRadius(+tn.apply(this,arguments)),N(yi,Wr(Cn))),Cn.result()}return si.area=function(yi){return N(yi,Wr(Ps)),Ps.result()},si.measure=function(yi){return N(yi,Wr(Vl)),Vl.result()},si.bounds=function(yi){return N(yi,Wr(nu)),nu.result()},si.centroid=function(yi){return N(yi,Wr(Zs)),Zs.result()},si.projection=function(yi){return arguments.length?(Wr=yi==null?(Yt=null,Ys):(Yt=yi).stream,si):Yt},si.context=function(yi){return arguments.length?(Cn=yi==null?(dr=null,new wf):new Vo(dr=yi),typeof tn!=\"function\"&&Cn.pointRadius(tn),si):dr},si.pointRadius=function(yi){return arguments.length?(tn=typeof yi==\"function\"?yi:(Cn.pointRadius(+yi),+yi),si):tn},si.projection(Yt).context(dr)}function $f(Yt){return{stream:ec(Yt)}}function ec(Yt){return function(dr){var tn=new Tf;for(var Wr in Yt)tn[Wr]=Yt[Wr];return tn.stream=dr,tn}}function Tf(){}Tf.prototype={constructor:Tf,point:function(Yt,dr){this.stream.point(Yt,dr)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Pc(Yt,dr,tn){var Wr=Yt.clipExtent&&Yt.clipExtent();return Yt.scale(150).translate([0,0]),Wr!=null&&Yt.clipExtent(null),N(tn,Yt.stream(nu)),dr(nu.result()),Wr!=null&&Yt.clipExtent(Wr),Yt}function Wc(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=dr[1][0]-dr[0][0],si=dr[1][1]-dr[0][1],yi=Math.min(Cn/(Wr[1][0]-Wr[0][0]),si/(Wr[1][1]-Wr[0][1])),Di=+dr[0][0]+(Cn-yi*(Wr[1][0]+Wr[0][0]))/2,Wi=+dr[0][1]+(si-yi*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*yi).translate([Di,Wi])},tn)}function Pu(Yt,dr,tn){return Wc(Yt,[[0,0],dr],tn)}function cf(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][0]-Wr[0][0]),yi=(Cn-si*(Wr[1][0]+Wr[0][0]))/2,Di=-si*Wr[0][1];Yt.scale(150*si).translate([yi,Di])},tn)}function Ic(Yt,dr,tn){return Pc(Yt,function(Wr){var Cn=+dr,si=Cn/(Wr[1][1]-Wr[0][1]),yi=-si*Wr[0][0],Di=(Cn-si*(Wr[1][1]+Wr[0][1]))/2;Yt.scale(150*si).translate([yi,Di])},tn)}var Ks=16,Of=l(30*h);function Eh(Yt,dr){return+dr?af(Yt,dr):Qf(Yt)}function Qf(Yt){return ec({point:function(dr,tn){dr=Yt(dr,tn),this.stream.point(dr[0],dr[1])}})}function af(Yt,dr){function tn(Wr,Cn,si,yi,Di,Wi,aa,bi,zi,Li,di,wa,po,co){var mo=aa-Wr,Ao=bi-Cn,xa=mo*mo+Ao*Ao;if(xa>4*dr&&po--){var Qi=yi+Li,Lo=Di+di,as=Wi+wa,Ds=v(Qi*Qi+Lo*Lo+as*as),il=f(as/=Ds),Ns=p(p(as)-1)dr||p((mo*_l+Ao*cl)/xa-.5)>.3||yi*Li+Di*di+Wi*wa2?Za[2]%360*h:0,_l()):[Di*c,Wi*c,aa*c]},Es.angle=function(Za){return arguments.length?(zi=Za%360*h,_l()):zi*c},Es.reflectX=function(Za){return arguments.length?(Li=Za?-1:1,_l()):Li<0},Es.reflectY=function(Za){return arguments.length?(di=Za?-1:1,_l()):di<0},Es.precision=function(Za){return arguments.length?(as=Eh(Ds,Lo=Za*Za),cl()):v(Lo)},Es.fitExtent=function(Za,jo){return Wc(Es,Za,jo)},Es.fitSize=function(Za,jo){return Pu(Es,Za,jo)},Es.fitWidth=function(Za,jo){return cf(Es,Za,jo)},Es.fitHeight=function(Za,jo){return Ic(Es,Za,jo)};function _l(){var Za=su(tn,0,0,Li,di,zi).apply(null,dr(si,yi)),jo=(zi?su:eh)(tn,Wr-Za[0],Cn-Za[1],Li,di,zi);return bi=Fn(Di,Wi,aa),Ds=xn(dr,jo),il=xn(bi,Ds),as=Eh(Ds,Lo),cl()}function cl(){return Ns=el=null,Es}return function(){return dr=Yt.apply(this,arguments),Es.invert=dr.invert&&Bl,_l()}}function Dl(Yt){var dr=0,tn=n/3,Wr=yc(Yt),Cn=Wr(dr,tn);return Cn.parallels=function(si){return arguments.length?Wr(dr=si[0]*h,tn=si[1]*h):[dr*c,tn*c]},Cn}function Rc(Yt){var dr=l(Yt);function tn(Wr,Cn){return[Wr*dr,m(Cn)/dr]}return tn.invert=function(Wr,Cn){return[Wr/dr,f(Cn*dr)]},tn}function tc(Yt,dr){var tn=m(Yt),Wr=(tn+m(dr))/2;if(p(Wr)=.12&&co<.234&&po>=-.425&&po<-.214?Cn:co>=.166&&co<.234&&po>=-.214&&po<-.115?yi:tn).invert(Li)},bi.stream=function(Li){return Yt&&dr===Li?Yt:Yt=th([tn.stream(dr=Li),Cn.stream(Li),yi.stream(Li)])},bi.precision=function(Li){return arguments.length?(tn.precision(Li),Cn.precision(Li),yi.precision(Li),zi()):tn.precision()},bi.scale=function(Li){return arguments.length?(tn.scale(Li),Cn.scale(Li*.35),yi.scale(Li),bi.translate(tn.translate())):tn.scale()},bi.translate=function(Li){if(!arguments.length)return tn.translate();var di=tn.scale(),wa=+Li[0],po=+Li[1];return Wr=tn.translate(Li).clipExtent([[wa-.455*di,po-.238*di],[wa+.455*di,po+.238*di]]).stream(aa),si=Cn.translate([wa-.307*di,po+.201*di]).clipExtent([[wa-.425*di+r,po+.12*di+r],[wa-.214*di-r,po+.234*di-r]]).stream(aa),Di=yi.translate([wa-.205*di,po+.212*di]).clipExtent([[wa-.214*di+r,po+.166*di+r],[wa-.115*di-r,po+.234*di-r]]).stream(aa),zi()},bi.fitExtent=function(Li,di){return Wc(bi,Li,di)},bi.fitSize=function(Li,di){return Pu(bi,Li,di)},bi.fitWidth=function(Li,di){return cf(bi,Li,di)},bi.fitHeight=function(Li,di){return Ic(bi,Li,di)};function zi(){return Yt=dr=null,bi}return bi.scale(1070)}function Hu(Yt){return function(dr,tn){var Wr=l(dr),Cn=l(tn),si=Yt(Wr*Cn);return[si*Cn*m(dr),si*m(tn)]}}function _c(Yt){return function(dr,tn){var Wr=v(dr*dr+tn*tn),Cn=Yt(Wr),si=m(Cn),yi=l(Cn);return[T(dr*si,Wr*yi),f(Wr&&tn*si/Wr)]}}var lc=Hu(function(Yt){return v(2/(1+Yt))});lc.invert=_c(function(Yt){return 2*f(Yt/2)});function Uh(){return Ru(lc).scale(124.75).clipAngle(180-.001)}var of=Hu(function(Yt){return(Yt=y(Yt))&&Yt/m(Yt)});of.invert=_c(function(Yt){return Yt});function ff(){return Ru(of).scale(79.4188).clipAngle(180-.001)}function Du(Yt,dr){return[Yt,M(u((i+dr)/2))]}Du.invert=function(Yt,dr){return[Yt,2*d(w(dr))-i]};function Af(){return lu(Du).scale(961/s)}function lu(Yt){var dr=Ru(Yt),tn=dr.center,Wr=dr.scale,Cn=dr.translate,si=dr.clipExtent,yi=null,Di,Wi,aa;dr.scale=function(zi){return arguments.length?(Wr(zi),bi()):Wr()},dr.translate=function(zi){return arguments.length?(Cn(zi),bi()):Cn()},dr.center=function(zi){return arguments.length?(tn(zi),bi()):tn()},dr.clipExtent=function(zi){return arguments.length?(zi==null?yi=Di=Wi=aa=null:(yi=+zi[0][0],Di=+zi[0][1],Wi=+zi[1][0],aa=+zi[1][1]),bi()):yi==null?null:[[yi,Di],[Wi,aa]]};function bi(){var zi=n*Wr(),Li=dr(ui(dr.rotate()).invert([0,0]));return si(yi==null?[[Li[0]-zi,Li[1]-zi],[Li[0]+zi,Li[1]+zi]]:Yt===Du?[[Math.max(Li[0]-zi,yi),Di],[Math.min(Li[0]+zi,Wi),aa]]:[[yi,Math.max(Li[1]-zi,Di)],[Wi,Math.min(Li[1]+zi,aa)]])}return bi()}function Xc(Yt){return u((i+Yt)/2)}function ch(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):M(tn/l(dr))/M(Xc(dr)/Xc(Yt)),Cn=tn*E(Xc(Yt),Wr)/Wr;if(!Wr)return Du;function si(yi,Di){Cn>0?Di<-i+r&&(Di=-i+r):Di>i-r&&(Di=i-r);var Wi=Cn/E(Xc(Di),Wr);return[Wi*m(Wr*yi),Cn-Wi*l(Wr*yi)]}return si.invert=function(yi,Di){var Wi=Cn-Di,aa=b(Wr)*v(yi*yi+Wi*Wi),bi=T(yi,p(Wi))*b(Wi);return Wi*Wr<0&&(bi-=n*b(yi)*b(Wi)),[bi/Wr,2*d(E(Cn/aa,1/Wr))-i]},si}function Mf(){return Dl(ch).scale(109.5).parallels([30,30])}function dl(Yt,dr){return[Yt,dr]}dl.invert=dl;function bu(){return Ru(dl).scale(152.63)}function wu(Yt,dr){var tn=l(Yt),Wr=Yt===dr?m(Yt):(tn-l(dr))/(dr-Yt),Cn=tn/Wr+Yt;if(p(Wr)r&&--Wr>0);return[Yt/(.8707+(si=tn*tn)*(-.131979+si*(-.013791+si*si*si*(.003971-.001529*si)))),tn]};function cc(){return Ru(bc).scale(175.295)}function zl(Yt,dr){return[l(dr)*m(Yt),m(dr)]}zl.invert=_c(f);function uu(){return Ru(zl).scale(249.5).clipAngle(90+r)}function fc(Yt,dr){var tn=l(dr),Wr=1+l(Yt)*tn;return[tn*m(Yt)/Wr,m(dr)/Wr]}fc.invert=_c(function(Yt){return 2*d(Yt)});function Dc(){return Ru(fc).scale(250).clipAngle(142)}function rc(Yt,dr){return[M(u((i+dr)/2)),-Yt]}rc.invert=function(Yt,dr){return[-dr,2*d(w(Yt))-i]};function Yc(){var Yt=lu(rc),dr=Yt.center,tn=Yt.rotate;return Yt.center=function(Wr){return arguments.length?dr([-Wr[1],Wr[0]]):(Wr=dr(),[Wr[1],-Wr[0]])},Yt.rotate=function(Wr){return arguments.length?tn([Wr[0],Wr[1],Wr.length>2?Wr[2]+90:90]):(Wr=tn(),[Wr[0],Wr[1],Wr[2]-90])},tn([0,0,90]).scale(159.155)}g.geoAlbers=Sl,g.geoAlbersUsa=uh,g.geoArea=j,g.geoAzimuthalEqualArea=Uh,g.geoAzimuthalEqualAreaRaw=lc,g.geoAzimuthalEquidistant=ff,g.geoAzimuthalEquidistantRaw=of,g.geoBounds=Be,g.geoCentroid=wr,g.geoCircle=Pr,g.geoClipAntimeridian=yr,g.geoClipCircle=Bn,g.geoClipExtent=Ta,g.geoClipRectangle=pi,g.geoConicConformal=Mf,g.geoConicConformalRaw=ch,g.geoConicEqualArea=xu,g.geoConicEqualAreaRaw=tc,g.geoConicEquidistant=Bf,g.geoConicEquidistantRaw=wu,g.geoContains=fs,g.geoDistance=Ka,g.geoEqualEarth=Nf,g.geoEqualEarthRaw=Zc,g.geoEquirectangular=bu,g.geoEquirectangularRaw=dl,g.geoGnomonic=Uf,g.geoGnomonicRaw=Xl,g.geoGraticule=pl,g.geoGraticule10=Xs,g.geoIdentity=Wu,g.geoInterpolate=Eo,g.geoLength=gs,g.geoMercator=Af,g.geoMercatorRaw=Du,g.geoNaturalEarth1=cc,g.geoNaturalEarth1Raw=bc,g.geoOrthographic=uu,g.geoOrthographicRaw=zl,g.geoPath=Ff,g.geoProjection=Ru,g.geoProjectionMutator=yc,g.geoRotation=ui,g.geoStereographic=Dc,g.geoStereographicRaw=fc,g.geoStream=N,g.geoTransform=$f,g.geoTransverseMercator=Yc,g.geoTransverseMercatorRaw=rc,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),h6=ke({\"node_modules/d3-geo-projection/dist/d3-geo-projection.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,mA(),G0()):x(g.d3=g.d3||{},g.d3,g.d3)})(Z,function(g,x,A){\"use strict\";var S=Math.abs,e=Math.atan,t=Math.atan2,r=Math.cos,o=Math.exp,n=Math.floor,i=Math.log,a=Math.max,s=Math.min,c=Math.pow,h=Math.round,p=Math.sign||function(Ge){return Ge>0?1:Ge<0?-1:0},d=Math.sin,T=Math.tan,l=1e-6,_=1e-12,w=Math.PI,M=w/2,E=w/4,m=Math.SQRT1_2,b=F(2),v=F(w),u=w*2,y=180/w,f=w/180;function P(Ge){return Ge?Ge/Math.sin(Ge):1}function L(Ge){return Ge>1?M:Ge<-1?-M:Math.asin(Ge)}function z(Ge){return Ge>1?0:Ge<-1?w:Math.acos(Ge)}function F(Ge){return Ge>0?Math.sqrt(Ge):0}function B(Ge){return Ge=o(2*Ge),(Ge-1)/(Ge+1)}function O(Ge){return(o(Ge)-o(-Ge))/2}function I(Ge){return(o(Ge)+o(-Ge))/2}function N(Ge){return i(Ge+F(Ge*Ge+1))}function U(Ge){return i(Ge+F(Ge*Ge-1))}function W(Ge){var $e=T(Ge/2),st=2*i(r(Ge/2))/($e*$e);function dt(St,xt){var It=r(St),rr=r(xt),sr=d(xt),pr=rr*It,kr=-((1-pr?i((1+pr)/2)/(1-pr):-.5)+st/(1+pr));return[kr*rr*d(St),kr*sr]}return dt.invert=function(St,xt){var It=F(St*St+xt*xt),rr=-Ge/2,sr=50,pr;if(!It)return[0,0];do{var kr=rr/2,Yr=r(kr),_n=d(kr),Mn=_n/Yr,Un=-i(S(Yr));rr-=pr=(2/Mn*Un-st*Mn-It)/(-Un/(_n*_n)+1-st/(2*Yr*Yr))*(Yr<0?.7:1)}while(S(pr)>l&&--sr>0);var li=d(rr);return[t(St*li,It*r(rr)),L(xt*li/It)]},dt}function Q(){var Ge=M,$e=x.geoProjectionMutator(W),st=$e(Ge);return st.radius=function(dt){return arguments.length?$e(Ge=dt*f):Ge*y},st.scale(179.976).clipAngle(147)}function le(Ge,$e){var st=r($e),dt=P(z(st*r(Ge/=2)));return[2*st*d(Ge)*dt,d($e)*dt]}le.invert=function(Ge,$e){if(!(Ge*Ge+4*$e*$e>w*w+l)){var st=Ge,dt=$e,St=25;do{var xt=d(st),It=d(st/2),rr=r(st/2),sr=d(dt),pr=r(dt),kr=d(2*dt),Yr=sr*sr,_n=pr*pr,Mn=It*It,Un=1-_n*rr*rr,li=Un?z(pr*rr)*F(ki=1/Un):ki=0,ki,Ci=2*li*pr*It-Ge,Zi=li*sr-$e,ya=ki*(_n*Mn+li*pr*rr*Yr),ro=ki*(.5*xt*kr-li*2*sr*It),Va=ki*.25*(kr*It-li*sr*_n*xt),Io=ki*(Yr*rr+li*Mn*pr),vs=ro*Va-Io*ya;if(!vs)break;var Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]}};function se(){return x.geoProjection(le).scale(152.63)}function fe(Ge){var $e=d(Ge),st=r(Ge),dt=Ge>=0?1:-1,St=T(dt*Ge),xt=(1+$e-st)/2;function It(rr,sr){var pr=r(sr),kr=r(rr/=2);return[(1+pr)*d(rr),(dt*sr>-t(kr,St)-.001?0:-dt*10)+xt+d(sr)*st-(1+pr)*$e*kr]}return It.invert=function(rr,sr){var pr=0,kr=0,Yr=50;do{var _n=r(pr),Mn=d(pr),Un=r(kr),li=d(kr),ki=1+Un,Ci=ki*Mn-rr,Zi=xt+li*st-ki*$e*_n-sr,ya=ki*_n/2,ro=-Mn*li,Va=$e*ki*Mn/2,Io=st*Un+$e*_n*li,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs/2,ts=(Ci*Va-Zi*ya)/vs;S(ts)>2&&(ts/=2),pr-=Fo,kr-=ts}while((S(Fo)>l||S(ts)>l)&&--Yr>0);return dt*kr>-t(r(pr),St)-.001?[pr*2,kr]:null},It}function G(){var Ge=20*f,$e=Ge>=0?1:-1,st=T($e*Ge),dt=x.geoProjectionMutator(fe),St=dt(Ge),xt=St.stream;return St.parallel=function(It){return arguments.length?(st=T(($e=(Ge=It*f)>=0?1:-1)*Ge),dt(Ge)):Ge*y},St.stream=function(It){var rr=St.rotate(),sr=xt(It),pr=(St.rotate([0,0]),xt(It)),kr=St.precision();return St.rotate(rr),sr.sphere=function(){pr.polygonStart(),pr.lineStart();for(var Yr=$e*-180;$e*Yr<180;Yr+=$e*90)pr.point(Yr,$e*90);if(Ge)for(;$e*(Yr-=3*$e*kr)>=-180;)pr.point(Yr,$e*-t(r(Yr*f/2),st)*y);pr.lineEnd(),pr.polygonEnd()},sr},St.scale(218.695).center([0,28.0974])}function $(Ge,$e){var st=T($e/2),dt=F(1-st*st),St=1+dt*r(Ge/=2),xt=d(Ge)*dt/St,It=st/St,rr=xt*xt,sr=It*It;return[4/3*xt*(3+rr-3*sr),4/3*It*(3+3*rr-sr)]}$.invert=function(Ge,$e){if(Ge*=3/8,$e*=3/8,!Ge&&S($e)>1)return null;var st=Ge*Ge,dt=$e*$e,St=1+st+dt,xt=F((St-F(St*St-4*$e*$e))/2),It=L(xt)/3,rr=xt?U(S($e/xt))/3:N(S(Ge))/3,sr=r(It),pr=I(rr),kr=pr*pr-sr*sr;return[p(Ge)*2*t(O(rr)*sr,.25-kr),p($e)*2*t(pr*d(It),.25+kr)]};function J(){return x.geoProjection($).scale(66.1603)}var X=F(8),re=i(1+b);function ae(Ge,$e){var st=S($e);return st_&&--dt>0);return[Ge/(r(st)*(X-1/d(st))),p($e)*st]};function j(){return x.geoProjection(ae).scale(112.314)}function ee(Ge){var $e=2*w/Ge;function st(dt,St){var xt=x.geoAzimuthalEquidistantRaw(dt,St);if(S(dt)>M){var It=t(xt[1],xt[0]),rr=F(xt[0]*xt[0]+xt[1]*xt[1]),sr=$e*h((It-M)/$e)+M,pr=t(d(It-=sr),2-r(It));It=sr+L(w/rr*d(pr))-pr,xt[0]=rr*r(It),xt[1]=rr*d(It)}return xt}return st.invert=function(dt,St){var xt=F(dt*dt+St*St);if(xt>M){var It=t(St,dt),rr=$e*h((It-M)/$e)+M,sr=It>rr?-1:1,pr=xt*r(rr-It),kr=1/T(sr*z((pr-w)/F(w*(w-2*pr)+xt*xt)));It=rr+2*e((kr+sr*F(kr*kr-3))/3),dt=xt*r(It),St=xt*d(It)}return x.geoAzimuthalEquidistantRaw.invert(dt,St)},st}function ie(){var Ge=5,$e=x.geoProjectionMutator(ee),st=$e(Ge),dt=st.stream,St=.01,xt=-r(St*f),It=d(St*f);return st.lobes=function(rr){return arguments.length?$e(Ge=+rr):Ge},st.stream=function(rr){var sr=st.rotate(),pr=dt(rr),kr=(st.rotate([0,0]),dt(rr));return st.rotate(sr),pr.sphere=function(){kr.polygonStart(),kr.lineStart();for(var Yr=0,_n=360/Ge,Mn=2*w/Ge,Un=90-180/Ge,li=M;Yr0&&S(St)>l);return dt<0?NaN:st}function Ie(Ge,$e,st){return $e===void 0&&($e=40),st===void 0&&(st=_),function(dt,St,xt,It){var rr,sr,pr;xt=xt===void 0?0:+xt,It=It===void 0?0:+It;for(var kr=0;kr<$e;kr++){var Yr=Ge(xt,It),_n=Yr[0]-dt,Mn=Yr[1]-St;if(S(_n)rr){xt-=sr/=2,It-=pr/=2;continue}rr=Un;var li=(xt>0?-1:1)*st,ki=(It>0?-1:1)*st,Ci=Ge(xt+li,It),Zi=Ge(xt,It+ki),ya=(Ci[0]-Yr[0])/li,ro=(Ci[1]-Yr[1])/li,Va=(Zi[0]-Yr[0])/ki,Io=(Zi[1]-Yr[1])/ki,vs=Io*ya-ro*Va,Fo=(S(vs)<.5?.5:1)/vs;if(sr=(Mn*Va-_n*Io)*Fo,pr=(_n*ro-Mn*ya)*Fo,xt+=sr,It+=pr,S(sr)0&&(rr[1]*=1+sr/1.5*rr[0]*rr[0]),rr}return dt.invert=Ie(dt),dt}function it(){return x.geoProjection(Ye()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function at(Ge,$e){var st=Ge*d($e),dt=30,St;do $e-=St=($e+d($e)-st)/(1+r($e));while(S(St)>l&&--dt>0);return $e/2}function tt(Ge,$e,st){function dt(St,xt){return[Ge*St*r(xt=at(st,xt)),$e*d(xt)]}return dt.invert=function(St,xt){return xt=L(xt/$e),[St/(Ge*r(xt)),L((2*xt+d(2*xt))/st)]},dt}var ut=tt(b/M,b,w);function Me(){return x.geoProjection(ut).scale(169.529)}var pe=2.00276,ue=1.11072;function Oe(Ge,$e){var st=at(w,$e);return[pe*Ge/(1/r($e)+ue/r(st)),($e+b*d(st))/pe]}Oe.invert=function(Ge,$e){var st=pe*$e,dt=$e<0?-E:E,St=25,xt,It;do It=st-b*d(dt),dt-=xt=(d(2*dt)+2*dt-w*d(It))/(2*r(2*dt)+2+w*r(It)*b*r(dt));while(S(xt)>l&&--St>0);return It=st-b*d(dt),[Ge*(1/r(It)+ue/r(dt))/pe,It]};function rt(){return x.geoProjection(Oe).scale(160.857)}function ot(Ge){var $e=0,st=x.geoProjectionMutator(Ge),dt=st($e);return dt.parallel=function(St){return arguments.length?st($e=St*f):$e*y},dt}function et(Ge,$e){return[Ge*r($e),$e]}et.invert=function(Ge,$e){return[Ge/r($e),$e]};function Lt(){return x.geoProjection(et).scale(152.63)}function Et(Ge){if(!Ge)return et;var $e=1/T(Ge);function st(dt,St){var xt=$e+Ge-St,It=xt&&dt*r(St)/xt;return[xt*d(It),$e-xt*r(It)]}return st.invert=function(dt,St){var xt=F(dt*dt+(St=$e-St)*St),It=$e+Ge-xt;return[xt/r(It)*t(dt,St),It]},st}function Bt(){return ot(Et).scale(123.082).center([0,26.1441]).parallel(45)}function qt(Ge){function $e(st,dt){var St=M-dt,xt=St&&st*Ge*d(St)/St;return[St*d(xt)/Ge,M-St*r(xt)]}return $e.invert=function(st,dt){var St=st*Ge,xt=M-dt,It=F(St*St+xt*xt),rr=t(St,xt);return[(It?It/d(It):1)*rr/Ge,M-It]},$e}function fr(){var Ge=.5,$e=x.geoProjectionMutator(qt),st=$e(Ge);return st.fraction=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(158.837)}var ar=tt(1,4/w,w);function Rr(){return x.geoProjection(ar).scale(152.63)}function gr(Ge,$e,st,dt,St,xt){var It=r(xt),rr;if(S(Ge)>1||S(xt)>1)rr=z(st*St+$e*dt*It);else{var sr=d(Ge/2),pr=d(xt/2);rr=2*L(F(sr*sr+$e*dt*pr*pr))}return S(rr)>l?[rr,t(dt*d(xt),$e*St-st*dt*It)]:[0,0]}function br(Ge,$e,st){return z((Ge*Ge+$e*$e-st*st)/(2*Ge*$e))}function _t(Ge){return Ge-2*w*n((Ge+w)/(2*w))}function Be(Ge,$e,st){for(var dt=[[Ge[0],Ge[1],d(Ge[1]),r(Ge[1])],[$e[0],$e[1],d($e[1]),r($e[1])],[st[0],st[1],d(st[1]),r(st[1])]],St=dt[2],xt,It=0;It<3;++It,St=xt)xt=dt[It],St.v=gr(xt[1]-St[1],St[3],St[2],xt[3],xt[2],xt[0]-St[0]),St.point=[0,0];var rr=br(dt[0].v[0],dt[2].v[0],dt[1].v[0]),sr=br(dt[0].v[0],dt[1].v[0],dt[2].v[0]),pr=w-rr;dt[2].point[1]=0,dt[0].point[0]=-(dt[1].point[0]=dt[0].v[0]/2);var kr=[dt[2].point[0]=dt[0].point[0]+dt[2].v[0]*r(rr),2*(dt[0].point[1]=dt[1].point[1]=dt[2].v[0]*d(rr))];function Yr(_n,Mn){var Un=d(Mn),li=r(Mn),ki=new Array(3),Ci;for(Ci=0;Ci<3;++Ci){var Zi=dt[Ci];if(ki[Ci]=gr(Mn-Zi[1],Zi[3],Zi[2],li,Un,_n-Zi[0]),!ki[Ci][0])return Zi.point;ki[Ci][1]=_t(ki[Ci][1]-Zi.v[1])}var ya=kr.slice();for(Ci=0;Ci<3;++Ci){var ro=Ci==2?0:Ci+1,Va=br(dt[Ci].v[0],ki[Ci][0],ki[ro][0]);ki[Ci][1]<0&&(Va=-Va),Ci?Ci==1?(Va=sr-Va,ya[0]-=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va)):(Va=pr-Va,ya[0]+=ki[Ci][0]*r(Va),ya[1]+=ki[Ci][0]*d(Va)):(ya[0]+=ki[Ci][0]*r(Va),ya[1]-=ki[Ci][0]*d(Va))}return ya[0]/=3,ya[1]/=3,ya}return Yr}function Ke(Ge){return Ge[0]*=f,Ge[1]*=f,Ge}function je(){return Se([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Se(Ge,$e,st){var dt=x.geoCentroid({type:\"MultiPoint\",coordinates:[Ge,$e,st]}),St=[-dt[0],-dt[1]],xt=x.geoRotation(St),It=Be(Ke(xt(Ge)),Ke(xt($e)),Ke(xt(st)));It.invert=Ie(It);var rr=x.geoProjection(It).rotate(St),sr=rr.center;return delete rr.rotate,rr.center=function(pr){return arguments.length?sr(xt(pr)):xt.invert(sr())},rr.clipAngle(90)}function He(Ge,$e){var st=F(1-d($e));return[2/v*Ge*st,v*(1-st)]}He.invert=function(Ge,$e){var st=(st=$e/v-1)*st;return[st>0?Ge*F(w/st)/2:0,L(1-st)]};function Ee(){return x.geoProjection(He).scale(95.6464).center([0,30])}function we(Ge){var $e=T(Ge);function st(dt,St){return[dt,(dt?dt/d(dt):1)*(d(St)*r(dt)-$e*r(St))]}return st.invert=$e?function(dt,St){dt&&(St*=d(dt)/dt);var xt=r(dt);return[dt,2*t(F(xt*xt+$e*$e-St*St)-xt,$e-St)]}:function(dt,St){return[dt,L(dt?St*T(dt)/dt:St)]},st}function Le(){return ot(we).scale(249.828).clipAngle(90)}var nt=F(3);function pt(Ge,$e){return[nt*Ge*(2*r(2*$e/3)-1)/v,nt*v*d($e/3)]}pt.invert=function(Ge,$e){var st=3*L($e/(nt*v));return[v*Ge/(nt*(2*r(2*st/3)-1)),st]};function bt(){return x.geoProjection(pt).scale(156.19)}function Rt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,d(St)/$e]}return st.invert=function(dt,St){return[dt/$e,L(St*$e)]},st}function Nt(){return ot(Rt).parallel(38.58).scale(195.044)}function Xt(Ge){var $e=r(Ge);function st(dt,St){return[dt*$e,(1+$e)*T(St/2)]}return st.invert=function(dt,St){return[dt/$e,e(St/(1+$e))*2]},st}function $t(){return ot(Xt).scale(124.75)}function ur(Ge,$e){var st=F(8/(3*w));return[st*Ge*(1-S($e)/w),st*$e]}ur.invert=function(Ge,$e){var st=F(8/(3*w)),dt=$e/st;return[Ge/(st*(1-S(dt)/w)),dt]};function pn(){return x.geoProjection(ur).scale(165.664)}function Rn(Ge,$e){var st=F(4-3*d(S($e)));return[2/F(6*w)*Ge*st,p($e)*F(2*w/3)*(2-st)]}Rn.invert=function(Ge,$e){var st=2-S($e)/F(2*w/3);return[Ge*F(6*w)/(2*st),p($e)*L((4-st*st)/3)]};function Nn(){return x.geoProjection(Rn).scale(165.664)}function On(Ge,$e){var st=F(w*(4+w));return[2/st*Ge*(1+F(1-4*$e*$e/(w*w))),4/st*$e]}On.invert=function(Ge,$e){var st=F(w*(4+w))/2;return[Ge*st/(1+F(1-$e*$e*(4+w)/(4*w))),$e*st/2]};function ni(){return x.geoProjection(On).scale(180.739)}function zn(Ge,$e){var st=(2+M)*d($e);$e/=2;for(var dt=0,St=1/0;dt<10&&S(St)>l;dt++){var xt=r($e);$e-=St=($e+d($e)*(xt+2)-st)/(2*xt*(1+xt))}return[2/F(w*(4+w))*Ge*(1+r($e)),2*F(w/(4+w))*d($e)]}zn.invert=function(Ge,$e){var st=$e*F((4+w)/w)/2,dt=L(st),St=r(dt);return[Ge/(2/F(w*(4+w))*(1+St)),L((dt+st*(St+2))/(2+M))]};function Qn(){return x.geoProjection(zn).scale(180.739)}function gi(Ge,$e){return[Ge*(1+r($e))/F(2+w),2*$e/F(2+w)]}gi.invert=function(Ge,$e){var st=F(2+w),dt=$e*st/2;return[st*Ge/(1+r(dt)),dt]};function Zt(){return x.geoProjection(gi).scale(173.044)}function Ft(Ge,$e){for(var st=(1+M)*d($e),dt=0,St=1/0;dt<10&&S(St)>l;dt++)$e-=St=($e+d($e)-st)/(1+r($e));return st=F(2+w),[Ge*(1+r($e))/st,2*$e/st]}Ft.invert=function(Ge,$e){var st=1+M,dt=F(st/2);return[Ge*2*dt/(1+r($e*=dt)),L(($e+d($e))/st)]};function Ht(){return x.geoProjection(Ft).scale(173.044)}var Vt=3+2*b;function wr(Ge,$e){var st=d(Ge/=2),dt=r(Ge),St=F(r($e)),xt=r($e/=2),It=d($e)/(xt+b*dt*St),rr=F(2/(1+It*It)),sr=F((b*xt+(dt+st)*St)/(b*xt+(dt-st)*St));return[Vt*(rr*(sr-1/sr)-2*i(sr)),Vt*(rr*It*(sr+1/sr)-2*e(It))]}wr.invert=function(Ge,$e){if(!(xt=$.invert(Ge/1.2,$e*1.065)))return null;var st=xt[0],dt=xt[1],St=20,xt;Ge/=Vt,$e/=Vt;do{var It=st/2,rr=dt/2,sr=d(It),pr=r(It),kr=d(rr),Yr=r(rr),_n=r(dt),Mn=F(_n),Un=kr/(Yr+b*pr*Mn),li=Un*Un,ki=F(2/(1+li)),Ci=b*Yr+(pr+sr)*Mn,Zi=b*Yr+(pr-sr)*Mn,ya=Ci/Zi,ro=F(ya),Va=ro-1/ro,Io=ro+1/ro,vs=ki*Va-2*i(ro)-Ge,Fo=ki*Un*Io-2*e(Un)-$e,ts=kr&&m*Mn*sr*li/kr,bs=(b*pr*Yr+Mn)/(2*(Yr+b*pr*Mn)*(Yr+b*pr*Mn)*Mn),fl=-.5*Un*ki*ki*ki,al=fl*ts,os=fl*bs,is=(is=2*Yr+b*Mn*(pr-sr))*is*ro,Nl=(b*pr*Yr*Mn+_n)/is,eu=-(b*sr*kr)/(Mn*is),Xu=Va*al-2*Nl/ro+ki*(Nl+Nl/ya),mu=Va*os-2*eu/ro+ki*(eu+eu/ya),El=Un*Io*al-2*ts/(1+li)+ki*Io*ts+ki*Un*(Nl-Nl/ya),fu=Un*Io*os-2*bs/(1+li)+ki*Io*bs+ki*Un*(eu-eu/ya),Tc=mu*El-fu*Xu;if(!Tc)break;var Zl=(Fo*mu-vs*fu)/Tc,Yl=(vs*El-Fo*Xu)/Tc;st-=Zl,dt=a(-M,s(M,dt-Yl))}while((S(Zl)>l||S(Yl)>l)&&--St>0);return S(S(dt)-M)dt){var Yr=F(kr),_n=t(pr,sr),Mn=st*h(_n/st),Un=_n-Mn,li=Ge*r(Un),ki=(Ge*d(Un)-Un*d(li))/(M-li),Ci=Tr(Un,ki),Zi=(w-Ge)/Mr(Ci,li,w);sr=Yr;var ya=50,ro;do sr-=ro=(Ge+Mr(Ci,li,sr)*Zi-Yr)/(Ci(sr)*Zi);while(S(ro)>l&&--ya>0);pr=Un*d(sr),srdt){var sr=F(rr),pr=t(It,xt),kr=st*h(pr/st),Yr=pr-kr;xt=sr*r(Yr),It=sr*d(Yr);for(var _n=xt-M,Mn=d(xt),Un=It/Mn,li=xtl||S(Un)>l)&&--li>0);return[Yr,_n]},sr}var Dr=Ur(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function nn(){return x.geoProjection(Dr).scale(149.995)}var vn=Ur(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function gn(){return x.geoProjection(vn).scale(153.93)}var kt=Ur(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function or(){return x.geoProjection(kt).scale(130.945)}function yr(Ge,$e){var st=Ge*Ge,dt=$e*$e;return[Ge*(1-.162388*dt)*(.87-952426e-9*st*st),$e*(1+dt/12)]}yr.invert=function(Ge,$e){var st=Ge,dt=$e,St=50,xt;do{var It=dt*dt;dt-=xt=(dt*(1+It/12)-$e)/(1+It/4)}while(S(xt)>l&&--St>0);St=50,Ge/=1-.162388*It;do{var rr=(rr=st*st)*rr;st-=xt=(st*(.87-952426e-9*rr)-Ge)/(.87-.00476213*rr)}while(S(xt)>l&&--St>0);return[st,dt]};function on(){return x.geoProjection(yr).scale(131.747)}var An=Ur(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Zn(){return x.geoProjection(An).scale(131.087)}function Bn(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=dt>0?-.5:.5,It=Ge(dt+xt*w,St);return It[0]-=xt*$e,It}return Ge.invert&&(st.invert=function(dt,St){var xt=dt>0?-.5:.5,It=Ge.invert(dt+xt*$e,St),rr=It[0]-xt*w;return rr<-w?rr+=2*w:rr>w&&(rr-=2*w),It[0]=rr,It}),st}function wn(Ge,$e){var st=p(Ge),dt=p($e),St=r($e),xt=r(Ge)*St,It=d(Ge)*St,rr=d(dt*$e);Ge=S(t(It,rr)),$e=L(xt),S(Ge-M)>l&&(Ge%=M);var sr=Dn(Ge>w/4?M-Ge:Ge,$e);return Ge>w/4&&(rr=sr[0],sr[0]=-sr[1],sr[1]=-rr),sr[0]*=st,sr[1]*=-dt,sr}wn.invert=function(Ge,$e){S(Ge)>1&&(Ge=p(Ge)*2-Ge),S($e)>1&&($e=p($e)*2-$e);var st=p(Ge),dt=p($e),St=-st*Ge,xt=-dt*$e,It=xt/St<1,rr=Ui(It?xt:St,It?St:xt),sr=rr[0],pr=rr[1],kr=r(pr);return It&&(sr=-M-sr),[st*(t(d(sr)*kr,-d(pr))+w),dt*L(r(sr)*kr)]};function Dn(Ge,$e){if($e===M)return[0,0];var st=d($e),dt=st*st,St=dt*dt,xt=1+St,It=1+3*St,rr=1-St,sr=L(1/F(xt)),pr=rr+dt*xt*sr,kr=(1-st)/pr,Yr=F(kr),_n=kr*xt,Mn=F(_n),Un=Yr*rr,li,ki;if(Ge===0)return[0,-(Un+dt*Mn)];var Ci=r($e),Zi=1/Ci,ya=2*st*Ci,ro=(-3*dt+sr*It)*ya,Va=(-pr*Ci-(1-st)*ro)/(pr*pr),Io=.5*Va/Yr,vs=rr*Io-2*dt*Yr*ya,Fo=dt*xt*Va+kr*It*ya,ts=-Zi*ya,bs=-Zi*Fo,fl=-2*Zi*vs,al=4*Ge/w,os;if(Ge>.222*w||$e.175*w){if(li=(Un+dt*F(_n*(1+St)-Un*Un))/(1+St),Ge>w/4)return[li,li];var is=li,Nl=.5*li;li=.5*(Nl+is),ki=50;do{var eu=F(_n-li*li),Xu=li*(fl+ts*eu)+bs*L(li/Mn)-al;if(!Xu)break;Xu<0?Nl=li:is=li,li=.5*(Nl+is)}while(S(is-Nl)>l&&--ki>0)}else{li=l,ki=25;do{var mu=li*li,El=F(_n-mu),fu=fl+ts*El,Tc=li*fu+bs*L(li/Mn)-al,Zl=fu+(bs-ts*mu)/El;li-=os=El?Tc/Zl:0}while(S(os)>l&&--ki>0)}return[li,-Un-dt*F(_n-li*li)]}function Ui(Ge,$e){for(var st=0,dt=1,St=.5,xt=50;;){var It=St*St,rr=F(St),sr=L(1/F(1+It)),pr=1-It+St*(1+It)*sr,kr=(1-rr)/pr,Yr=F(kr),_n=kr*(1+It),Mn=Yr*(1-It),Un=_n-Ge*Ge,li=F(Un),ki=$e+Mn+St*li;if(S(dt-st)<_||--xt===0||ki===0)break;ki>0?st=St:dt=St,St=.5*(st+dt)}if(!xt)return null;var Ci=L(rr),Zi=r(Ci),ya=1/Zi,ro=2*rr*Zi,Va=(-3*St+sr*(1+3*It))*ro,Io=(-pr*Zi-(1-rr)*Va)/(pr*pr),vs=.5*Io/Yr,Fo=(1-It)*vs-2*St*Yr*ro,ts=-2*ya*Fo,bs=-ya*ro,fl=-ya*(St*(1+It)*Io+kr*(1+3*It)*ro);return[w/4*(Ge*(ts+bs*li)+fl*L(Ge/F(_n))),Ci]}function pi(){return x.geoProjection(Bn(wn)).scale(239.75)}function Ta(Ge,$e,st){var dt,St,xt;return Ge?(dt=Sa(Ge,st),$e?(St=Sa($e,1-st),xt=St[1]*St[1]+st*dt[0]*dt[0]*St[0]*St[0],[[dt[0]*St[2]/xt,dt[1]*dt[2]*St[0]*St[1]/xt],[dt[1]*St[1]/xt,-dt[0]*dt[2]*St[0]*St[2]/xt],[dt[2]*St[1]*St[2]/xt,-st*dt[0]*dt[1]*St[0]/xt]]):[[dt[0],0],[dt[1],0],[dt[2],0]]):(St=Sa($e,1-st),[[0,St[0]/St[1]],[1/St[1],0],[St[2]/St[1],0]])}function Sa(Ge,$e){var st,dt,St,xt,It;if($e=1-l)return st=(1-$e)/4,dt=I(Ge),xt=B(Ge),St=1/dt,It=dt*O(Ge),[xt+st*(It-Ge)/(dt*dt),St-st*xt*St*(It-Ge),St+st*xt*St*(It+Ge),2*e(o(Ge))-M+st*(It-Ge)/dt];var rr=[1,0,0,0,0,0,0,0,0],sr=[F($e),0,0,0,0,0,0,0,0],pr=0;for(dt=F(1-$e),It=1;S(sr[pr]/rr[pr])>l&&pr<8;)st=rr[pr++],sr[pr]=(st-dt)/2,rr[pr]=(st+dt)/2,dt=F(st*dt),It*=2;St=It*rr[pr]*Ge;do xt=sr[pr]*d(dt=St)/rr[pr],St=(L(xt)+St)/2;while(--pr);return[d(St),xt=r(St),xt/r(St-dt),St]}function qa(Ge,$e,st){var dt=S(Ge),St=S($e),xt=O(St);if(dt){var It=1/d(dt),rr=1/(T(dt)*T(dt)),sr=-(rr+st*(xt*xt*It*It)-1+st),pr=(st-1)*rr,kr=(-sr+F(sr*sr-4*pr))/2;return[to(e(1/F(kr)),st)*p(Ge),to(e(F((kr/rr-1)/st)),1-st)*p($e)]}return[0,to(e(xt),1-st)*p($e)]}function to(Ge,$e){if(!$e)return Ge;if($e===1)return i(T(Ge/2+E));for(var st=1,dt=F(1-$e),St=F($e),xt=0;S(St)>l;xt++){if(Ge%w){var It=e(dt*T(Ge)/st);It<0&&(It+=w),Ge+=It+~~(Ge/w)*w}else Ge+=Ge;St=(st+dt)/2,dt=F(st*dt),St=((st=St)-dt)/2}return Ge/(c(2,xt)*st)}function yo(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=i(T(w/4+S($e)/2)),rr=o(xt*It)/F(st),sr=Xa(rr*r(xt*Ge),rr*d(xt*Ge)),pr=qa(sr[0],sr[1],dt*dt);return[-pr[1],($e>=0?1:-1)*(.5*St-pr[0])]}function Xa(Ge,$e){var st=Ge*Ge,dt=$e+1,St=1-st-$e*$e;return[.5*((Ge>=0?M:-M)-t(St,2*Ge)),-.25*i(St*St+4*st)+.5*i(dt*dt+st)]}function Go(Ge,$e){var st=$e[0]*$e[0]+$e[1]*$e[1];return[(Ge[0]*$e[0]+Ge[1]*$e[1])/st,(Ge[1]*$e[0]-Ge[0]*$e[1])/st]}yo.invert=function(Ge,$e){var st=(b-1)/(b+1),dt=F(1-st*st),St=to(M,dt*dt),xt=-1,It=Ta(.5*St-$e,-Ge,dt*dt),rr=Go(It[0],It[1]),sr=t(rr[1],rr[0])/xt;return[sr,2*e(o(.5/xt*i(st*rr[0]*rr[0]+st*rr[1]*rr[1])))-M]};function pa(){return x.geoProjection(Bn(yo)).scale(151.496)}function cs(Ge){var $e=d(Ge),st=r(Ge),dt=Ko(Ge);dt.invert=Ko(-Ge);function St(xt,It){var rr=dt(xt,It);xt=rr[0],It=rr[1];var sr=d(It),pr=r(It),kr=r(xt),Yr=z($e*sr+st*pr*kr),_n=d(Yr),Mn=S(_n)>l?Yr/_n:1;return[Mn*st*d(xt),(S(xt)>M?Mn:-Mn)*($e*pr-st*sr*kr)]}return St.invert=function(xt,It){var rr=F(xt*xt+It*It),sr=-d(rr),pr=r(rr),kr=rr*pr,Yr=-It*sr,_n=rr*$e,Mn=F(kr*kr+Yr*Yr-_n*_n),Un=t(kr*_n+Yr*Mn,Yr*_n-kr*Mn),li=(rr>M?-1:1)*t(xt*sr,rr*r(Un)*pr+It*d(Un)*sr);return dt.invert(li,Un)},St}function Ko(Ge){var $e=d(Ge),st=r(Ge);return function(dt,St){var xt=r(St),It=r(dt)*xt,rr=d(dt)*xt,sr=d(St);return[t(rr,It*st-sr*$e),L(sr*st+It*$e)]}}function gs(){var Ge=0,$e=x.geoProjectionMutator(cs),st=$e(Ge),dt=st.rotate,St=st.stream,xt=x.geoCircle();return st.parallel=function(It){if(!arguments.length)return Ge*y;var rr=st.rotate();return $e(Ge=It*f).rotate(rr)},st.rotate=function(It){return arguments.length?(dt.call(st,[It[0],It[1]-Ge*y]),xt.center([-It[0],-It[1]]),st):(It=dt.call(st),It[1]+=Ge*y,It)},st.stream=function(It){return It=St(It),It.sphere=function(){It.polygonStart();var rr=.01,sr=xt.radius(90-rr)().coordinates[0],pr=sr.length-1,kr=-1,Yr;for(It.lineStart();++kr=0;)It.point((Yr=sr[kr])[0],Yr[1]);It.lineEnd(),It.polygonEnd()},It},st.scale(79.4187).parallel(45).clipAngle(180-.001)}var Ya=3,zo=L(1-1/Ya)*y,Ka=Rt(0);function Yo(Ge){var $e=zo*f,st=He(w,$e)[0]-He(-w,$e)[0],dt=Ka(0,$e)[1],St=He(0,$e)[1],xt=v-St,It=u/Ge,rr=4/u,sr=dt+xt*xt*4/u;function pr(kr,Yr){var _n,Mn=S(Yr);if(Mn>$e){var Un=s(Ge-1,a(0,n((kr+w)/It)));kr+=w*(Ge-1)/Ge-Un*It,_n=He(kr,Mn),_n[0]=_n[0]*u/st-u*(Ge-1)/(2*Ge)+Un*u/Ge,_n[1]=dt+(_n[1]-St)*4*xt/u,Yr<0&&(_n[1]=-_n[1])}else _n=Ka(kr,Yr);return _n[0]*=rr,_n[1]/=sr,_n}return pr.invert=function(kr,Yr){kr/=rr,Yr*=sr;var _n=S(Yr);if(_n>dt){var Mn=s(Ge-1,a(0,n((kr+w)/It)));kr=(kr+w*(Ge-1)/Ge-Mn*It)*st/u;var Un=He.invert(kr,.25*(_n-dt)*u/xt+St);return Un[0]-=w*(Ge-1)/Ge-Mn*It,Yr<0&&(Un[1]=-Un[1]),Un}return Ka.invert(kr,Yr)},pr}function ns(Ge,$e){return[Ge,$e&1?90-l:zo]}function hs(Ge,$e){return[Ge,$e&1?-90+l:-zo]}function ho(Ge){return[Ge[0]*(1-l),Ge[1]]}function Ro(Ge){var $e=[].concat(A.range(-180,180+Ge/2,Ge).map(ns),A.range(180,-180-Ge/2,-Ge).map(hs));return{type:\"Polygon\",coordinates:[Ge===180?$e.map(ho):$e]}}function Ls(){var Ge=4,$e=x.geoProjectionMutator(Yo),st=$e(Ge),dt=st.stream;return st.lobes=function(St){return arguments.length?$e(Ge=+St):Ge},st.stream=function(St){var xt=st.rotate(),It=dt(St),rr=(st.rotate([0,0]),dt(St));return st.rotate(xt),It.sphere=function(){x.geoStream(Ro(180/Ge),rr)},It},st.scale(239.75)}function Vs(Ge){var $e=1+Ge,st=d(1/$e),dt=L(st),St=2*F(w/(xt=w+4*dt*$e)),xt,It=.5*St*($e+F(Ge*(2+Ge))),rr=Ge*Ge,sr=$e*$e;function pr(kr,Yr){var _n=1-d(Yr),Mn,Un;if(_n&&_n<2){var li=M-Yr,ki=25,Ci;do{var Zi=d(li),ya=r(li),ro=dt+t(Zi,$e-ya),Va=1+sr-2*$e*ya;li-=Ci=(li-rr*dt-$e*Zi+Va*ro-.5*_n*xt)/(2*$e*Zi*ro)}while(S(Ci)>_&&--ki>0);Mn=St*F(Va),Un=kr*ro/w}else Mn=St*(Ge+_n),Un=kr*dt/w;return[Mn*d(Un),It-Mn*r(Un)]}return pr.invert=function(kr,Yr){var _n=kr*kr+(Yr-=It)*Yr,Mn=(1+sr-_n/(St*St))/(2*$e),Un=z(Mn),li=d(Un),ki=dt+t(li,$e-Mn);return[L(kr/F(_n))*w/ki,L(1-2*(Un-rr*dt-$e*li+(1+sr-2*$e*Mn)*ki)/xt)]},pr}function Ws(){var Ge=1,$e=x.geoProjectionMutator(Vs),st=$e(Ge);return st.ratio=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(167.774).center([0,18.67])}var fs=.7109889596207567,Mi=.0528035274542;function Da(Ge,$e){return $e>-fs?(Ge=ut(Ge,$e),Ge[1]+=Mi,Ge):et(Ge,$e)}Da.invert=function(Ge,$e){return $e>-fs?ut.invert(Ge,$e-Mi):et.invert(Ge,$e)};function pl(){return x.geoProjection(Da).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Xs(Ge,$e){return S($e)>fs?(Ge=ut(Ge,$e),Ge[1]-=$e>0?Mi:-Mi,Ge):et(Ge,$e)}Xs.invert=function(Ge,$e){return S($e)>fs?ut.invert(Ge,$e+($e>0?Mi:-Mi)):et.invert(Ge,$e)};function Eo(){return x.geoProjection(Xs).scale(152.63)}function Ys(Ge,$e,st,dt){var St=F(4*w/(2*st+(1+Ge-$e/2)*d(2*st)+(Ge+$e)/2*d(4*st)+$e/2*d(6*st))),xt=F(dt*d(st)*F((1+Ge*r(2*st)+$e*r(4*st))/(1+Ge+$e))),It=st*sr(1);function rr(Yr){return F(1+Ge*r(2*Yr)+$e*r(4*Yr))}function sr(Yr){var _n=Yr*st;return(2*_n+(1+Ge-$e/2)*d(2*_n)+(Ge+$e)/2*d(4*_n)+$e/2*d(6*_n))/st}function pr(Yr){return rr(Yr)*d(Yr)}var kr=function(Yr,_n){var Mn=st*Ue(sr,It*d(_n)/st,_n/w);isNaN(Mn)&&(Mn=st*p(_n));var Un=St*rr(Mn);return[Un*xt*Yr/w*r(Mn),Un/xt*d(Mn)]};return kr.invert=function(Yr,_n){var Mn=Ue(pr,_n*xt/St);return[Yr*w/(r(Mn)*St*xt*rr(Mn)),L(st*sr(Mn/st)/It)]},st===0&&(St=F(dt/w),kr=function(Yr,_n){return[Yr*St,d(_n)/St]},kr.invert=function(Yr,_n){return[Yr/St,L(_n*St)]}),kr}function As(){var Ge=1,$e=0,st=45*f,dt=2,St=x.geoProjectionMutator(Ys),xt=St(Ge,$e,st,dt);return xt.a=function(It){return arguments.length?St(Ge=+It,$e,st,dt):Ge},xt.b=function(It){return arguments.length?St(Ge,$e=+It,st,dt):$e},xt.psiMax=function(It){return arguments.length?St(Ge,$e,st=+It*f,dt):st*y},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(180.739)}function hl(Ge,$e,st,dt,St,xt,It,rr,sr,pr,kr){if(kr.nanEncountered)return NaN;var Yr,_n,Mn,Un,li,ki,Ci,Zi,ya,ro;if(Yr=st-$e,_n=Ge($e+Yr*.25),Mn=Ge(st-Yr*.25),isNaN(_n)){kr.nanEncountered=!0;return}if(isNaN(Mn)){kr.nanEncountered=!0;return}return Un=Yr*(dt+4*_n+St)/12,li=Yr*(St+4*Mn+xt)/12,ki=Un+li,ro=(ki-It)/15,pr>sr?(kr.maxDepthCount++,ki+ro):Math.abs(ro)>1;do sr[ki]>Mn?li=ki:Un=ki,ki=Un+li>>1;while(ki>Un);var Ci=sr[ki+1]-sr[ki];return Ci&&(Ci=(Mn-sr[ki+1])/Ci),(ki+1+Ci)/It}var Yr=2*kr(1)/w*xt/st,_n=function(Mn,Un){var li=kr(S(d(Un))),ki=dt(li)*Mn;return li/=Yr,[ki,Un>=0?li:-li]};return _n.invert=function(Mn,Un){var li;return Un*=Yr,S(Un)<1&&(li=p(Un)*L(St(S(Un))*xt)),[Mn/dt(S(Un)),li]},_n}function Uo(){var Ge=0,$e=2.5,st=1.183136,dt=x.geoProjectionMutator(la),St=dt(Ge,$e,st);return St.alpha=function(xt){return arguments.length?dt(Ge=+xt,$e,st):Ge},St.k=function(xt){return arguments.length?dt(Ge,$e=+xt,st):$e},St.gamma=function(xt){return arguments.length?dt(Ge,$e,st=+xt):st},St.scale(152.63)}function vo(Ge,$e){return S(Ge[0]-$e[0])=0;--sr)st=Ge[1][sr],dt=st[0][0],St=st[0][1],xt=st[1][1],It=st[2][0],rr=st[2][1],$e.push(Ps([[It-l,rr-l],[It-l,xt+l],[dt+l,xt+l],[dt+l,St-l]],30));return{type:\"Polygon\",coordinates:[A.merge($e)]}}function no(Ge,$e,st){var dt,St;function xt(sr,pr){for(var kr=pr<0?-1:1,Yr=$e[+(pr<0)],_n=0,Mn=Yr.length-1;_nYr[_n][2][0];++_n);var Un=Ge(sr-Yr[_n][1][0],pr);return Un[0]+=Ge(Yr[_n][1][0],kr*pr>kr*Yr[_n][0][1]?Yr[_n][0][1]:pr)[0],Un}st?xt.invert=st(xt):Ge.invert&&(xt.invert=function(sr,pr){for(var kr=St[+(pr<0)],Yr=$e[+(pr<0)],_n=0,Mn=kr.length;_nUn&&(li=Mn,Mn=Un,Un=li),[[Yr,Mn],[_n,Un]]})}),It):$e.map(function(pr){return pr.map(function(kr){return[[kr[0][0]*y,kr[0][1]*y],[kr[1][0]*y,kr[1][1]*y],[kr[2][0]*y,kr[2][1]*y]]})})},$e!=null&&It.lobes($e),It}var $l=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ku(){return no(Oe,$l).scale(160.857)}var Tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Vu(){return no(Xs,Tl).scale(152.63)}var Rl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Qs(){return no(ut,Rl).scale(169.529)}var nu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function qu(){return no(ut,nu).scale(169.529).rotate([20,0])}var kc=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ju(){return no(Da,kc,Ie).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var sh=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function uf(){return no(et,sh).scale(152.63).rotate([-20,0])}function qs(Ge,$e){return[3/u*Ge*F(w*w/3-$e*$e),$e]}qs.invert=function(Ge,$e){return[u/3*Ge/F(w*w/3-$e*$e),$e]};function Hc(){return x.geoProjection(qs).scale(158.837)}function bf(Ge){function $e(st,dt){if(S(S(dt)-M)2)return null;st/=2,dt/=2;var xt=st*st,It=dt*dt,rr=2*dt/(1+xt+It);return rr=c((1+rr)/(1-rr),1/Ge),[t(2*st,1-xt-It)/Ge,L((rr-1)/(rr+1))]},$e}function Ql(){var Ge=.5,$e=x.geoProjectionMutator(bf),st=$e(Ge);return st.spacing=function(dt){return arguments.length?$e(Ge=+dt):Ge},st.scale(124.75)}var Al=w/b;function oc(Ge,$e){return[Ge*(1+F(r($e)))/2,$e/(r($e/2)*r(Ge/6))]}oc.invert=function(Ge,$e){var st=S(Ge),dt=S($e),St=l,xt=M;dtl||S(ki)>l)&&--St>0);return St&&[st,dt]};function Ml(){return x.geoProjection(nl).scale(139.98)}function Zs(Ge,$e){return[d(Ge)/r($e),T($e)*r(Ge)]}Zs.invert=function(Ge,$e){var st=Ge*Ge,dt=$e*$e,St=dt+1,xt=st+St,It=Ge?m*F((xt-F(xt*xt-4*st))/st):1/F(St);return[L(Ge*It),p($e)*z(It)]};function sl(){return x.geoProjection(Zs).scale(144.049).clipAngle(90-.001)}function sc(Ge){var $e=r(Ge),st=T(E+Ge/2);function dt(St,xt){var It=xt-Ge,rr=S(It)=0;)kr=Ge[pr],Yr=kr[0]+rr*(Mn=Yr)-sr*_n,_n=kr[1]+rr*_n+sr*Mn;return Yr=rr*(Mn=Yr)-sr*_n,_n=rr*_n+sr*Mn,[Yr,_n]}return st.invert=function(dt,St){var xt=20,It=dt,rr=St;do{for(var sr=$e,pr=Ge[sr],kr=pr[0],Yr=pr[1],_n=0,Mn=0,Un;--sr>=0;)pr=Ge[sr],_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=pr[0]+It*(Un=kr)-rr*Yr,Yr=pr[1]+It*Yr+rr*Un;_n=kr+It*(Un=_n)-rr*Mn,Mn=Yr+It*Mn+rr*Un,kr=It*(Un=kr)-rr*Yr-dt,Yr=It*Yr+rr*Un-St;var li=_n*_n+Mn*Mn,ki,Ci;It-=ki=(kr*_n+Yr*Mn)/li,rr-=Ci=(Yr*_n-kr*Mn)/li}while(S(ki)+S(Ci)>l*l&&--xt>0);if(xt){var Zi=F(It*It+rr*rr),ya=2*e(Zi*.5),ro=d(ya);return[t(It*ro,Zi*r(ya)),Zi?L(rr*ro/Zi):0]}},st}var ds=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Sh=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Bs=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Vo=[[.9245,0],[0,0],[.01943,0]],rf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Qu(){return Vl(ds,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function pu(){return Vl(Sh,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Df(){return Vl(Bs,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Lc(){return Vl(Vo,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function nf(){return Vl(rf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Vl(Ge,$e){var st=x.geoProjection(Nh(Ge)).rotate($e).clipAngle(90),dt=x.geoRotation($e),St=st.center;return delete st.rotate,st.center=function(xt){return arguments.length?St(dt(xt)):dt.invert(St())},st}var Jf=F(6),zf=F(7);function wf(Ge,$e){var st=L(7*d($e)/(3*Jf));return[Jf*Ge*(2*r(2*st/3)-1)/zf,9*d(st/3)/zf]}wf.invert=function(Ge,$e){var st=3*L($e*zf/9);return[Ge*zf/(Jf*(2*r(2*st/3)-1)),L(d(st)*3*Jf/7)]};function Gc(){return x.geoProjection(wf).scale(164.859)}function Ff(Ge,$e){for(var st=(1+m)*d($e),dt=$e,St=0,xt;St<25&&(dt-=xt=(d(dt/2)+d(dt)-st)/(.5*r(dt/2)+r(dt)),!(S(xt)_&&--dt>0);return xt=st*st,It=xt*xt,rr=xt*It,[Ge/(.84719-.13063*xt+rr*rr*(-.04515+.05494*xt-.02326*It+.00331*rr)),st]};function Wc(){return x.geoProjection(Pc).scale(175.295)}function Pu(Ge,$e){return[Ge*(1+r($e))/2,2*($e-T($e/2))]}Pu.invert=function(Ge,$e){for(var st=$e/2,dt=0,St=1/0;dt<10&&S(St)>l;++dt){var xt=r($e/2);$e-=St=($e-T($e/2)-st)/(1-.5/(xt*xt))}return[2*Ge/(1+r($e)),$e]};function cf(){return x.geoProjection(Pu).scale(152.63)}var Ic=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function Ks(){return no(ce(1/0),Ic).rotate([20,0]).scale(152.63)}function Of(Ge,$e){var st=d($e),dt=r($e),St=p(Ge);if(Ge===0||S($e)===M)return[0,$e];if($e===0)return[Ge,0];if(S(Ge)===M)return[Ge*dt,M*st];var xt=w/(2*Ge)-2*Ge/w,It=2*$e/w,rr=(1-It*It)/(st-It),sr=xt*xt,pr=rr*rr,kr=1+sr/pr,Yr=1+pr/sr,_n=(xt*st/rr-xt/2)/kr,Mn=(pr*st/sr+rr/2)/Yr,Un=_n*_n+dt*dt/kr,li=Mn*Mn-(pr*st*st/sr+rr*st-1)/Yr;return[M*(_n+F(Un)*St),M*(Mn+F(li<0?0:li)*p(-$e*xt)*St)]}Of.invert=function(Ge,$e){Ge/=M,$e/=M;var st=Ge*Ge,dt=$e*$e,St=st+dt,xt=w*w;return[Ge?(St-1+F((1-St)*(1-St)+4*st))/(2*Ge)*M:0,Ue(function(It){return St*(w*d(It)-2*It)*w+4*It*It*($e-d(It))+2*w*It-xt*$e},0)]};function Eh(){return x.geoProjection(Of).scale(127.267)}var Qf=1.0148,af=.23185,lh=-.14499,Iu=.02406,eh=Qf,su=5*af,Ru=7*lh,yc=9*Iu,Dl=1.790857183;function Rc(Ge,$e){var st=$e*$e;return[Ge,$e*(Qf+st*st*(af+st*(lh+Iu*st)))]}Rc.invert=function(Ge,$e){$e>Dl?$e=Dl:$e<-Dl&&($e=-Dl);var st=$e,dt;do{var St=st*st;st-=dt=(st*(Qf+St*St*(af+St*(lh+Iu*St)))-$e)/(eh+St*St*(su+St*(Ru+yc*St)))}while(S(dt)>l);return[Ge,st]};function tc(){return x.geoProjection(Rc).scale(139.319)}function xu(Ge,$e){if(S($e)l&&--St>0);return It=T(dt),[(S($e)=0;)if(dt=$e[rr],st[0]===dt[0]&&st[1]===dt[1]){if(xt)return[xt,st];xt=st}}}function lu(Ge){for(var $e=Ge.length,st=[],dt=Ge[$e-1],St=0;St<$e;++St)st.push([dt,dt=Ge[St]]);return st}function Xc(Ge){return Ge.project.invert||Ge.children&&Ge.children.some(Xc)}var ch=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Mf=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(Ge){return Ge.map(function($e){return ch[$e]})});function dl(Ge){Ge=Ge||function(st){var dt=x.geoCentroid({type:\"MultiPoint\",coordinates:st});return x.geoGnomonic().scale(1).translate([0,0]).rotate([-dt[0],-dt[1]])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:st0?[-dt[0],0]:[180-dt[0],180])};var $e=Mf.map(function(st){return{face:st,project:Ge(st)}});return[-1,0,0,1,0,1,4,5].forEach(function(st,dt){var St=$e[st];St&&(St.children||(St.children=[])).push($e[dt])}),of($e[0],function(st,dt){return $e[st<-w/2?dt<0?6:4:st<0?dt<0?2:0:stdt^Mn>dt&&st<(_n-pr)*(dt-kr)/(Mn-kr)+pr&&(St=!St)}return St}function Xl(Ge,$e){var st=$e.stream,dt;if(!st)throw new Error(\"invalid projection\");switch(Ge&&Ge.type){case\"Feature\":dt=Wu;break;case\"FeatureCollection\":dt=Uf;break;default:dt=cc;break}return dt(Ge,st)}function Uf(Ge,$e){return{type:\"FeatureCollection\",features:Ge.features.map(function(st){return Wu(st,$e)})}}function Wu(Ge,$e){return{type:\"Feature\",id:Ge.id,properties:Ge.properties,geometry:cc(Ge.geometry,$e)}}function bc(Ge,$e){return{type:\"GeometryCollection\",geometries:Ge.geometries.map(function(st){return cc(st,$e)})}}function cc(Ge,$e){if(!Ge)return null;if(Ge.type===\"GeometryCollection\")return bc(Ge,$e);var st;switch(Ge.type){case\"Point\":st=fc;break;case\"MultiPoint\":st=fc;break;case\"LineString\":st=Dc;break;case\"MultiLineString\":st=Dc;break;case\"Polygon\":st=rc;break;case\"MultiPolygon\":st=rc;break;case\"Sphere\":st=rc;break;default:return null}return x.geoStream(Ge,$e(st)),st.result()}var zl=[],uu=[],fc={point:function(Ge,$e){zl.push([Ge,$e])},result:function(){var Ge=zl.length?zl.length<2?{type:\"Point\",coordinates:zl[0]}:{type:\"MultiPoint\",coordinates:zl}:null;return zl=[],Ge}},Dc={lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){zl.length&&(uu.push(zl),zl=[])},result:function(){var Ge=uu.length?uu.length<2?{type:\"LineString\",coordinates:uu[0]}:{type:\"MultiLineString\",coordinates:uu}:null;return uu=[],Ge}},rc={polygonStart:uc,lineStart:uc,point:function(Ge,$e){zl.push([Ge,$e])},lineEnd:function(){var Ge=zl.length;if(Ge){do zl.push(zl[0].slice());while(++Ge<4);uu.push(zl),zl=[]}},polygonEnd:uc,result:function(){if(!uu.length)return null;var Ge=[],$e=[];return uu.forEach(function(st){Zc(st)?Ge.push([st]):$e.push(st)}),$e.forEach(function(st){var dt=st[0];Ge.some(function(St){if(Nf(St[0],dt))return St.push(st),!0})||Ge.push([st])}),uu=[],Ge.length?Ge.length>1?{type:\"MultiPolygon\",coordinates:Ge}:{type:\"Polygon\",coordinates:Ge[0]}:null}};function Yc(Ge){var $e=Ge(M,0)[0]-Ge(-M,0)[0];function st(dt,St){var xt=S(dt)0?dt-w:dt+w,St),rr=(It[0]-It[1])*m,sr=(It[0]+It[1])*m;if(xt)return[rr,sr];var pr=$e*m,kr=rr>0^sr>0?-1:1;return[kr*rr-p(sr)*pr,kr*sr-p(rr)*pr]}return Ge.invert&&(st.invert=function(dt,St){var xt=(dt+St)*m,It=(St-dt)*m,rr=S(xt)<.5*$e&&S(It)<.5*$e;if(!rr){var sr=$e*m,pr=xt>0^It>0?-1:1,kr=-pr*dt+(It>0?1:-1)*sr,Yr=-pr*St+(xt>0?1:-1)*sr;xt=(-kr-Yr)*m,It=(kr-Yr)*m}var _n=Ge.invert(xt,It);return rr||(_n[0]+=xt>0?w:-w),_n}),x.geoProjection(st).rotate([-90,-90,45]).clipAngle(180-.001)}function Yt(){return Yc(wn).scale(176.423)}function dr(){return Yc(yo).scale(111.48)}function tn(Ge,$e){if(!(0<=($e=+$e)&&$e<=20))throw new Error(\"invalid digits\");function st(pr){var kr=pr.length,Yr=2,_n=new Array(kr);for(_n[0]=+pr[0].toFixed($e),_n[1]=+pr[1].toFixed($e);Yr2||Mn[0]!=kr[0]||Mn[1]!=kr[1])&&(Yr.push(Mn),kr=Mn)}return Yr.length===1&&pr.length>1&&Yr.push(st(pr[pr.length-1])),Yr}function xt(pr){return pr.map(St)}function It(pr){if(pr==null)return pr;var kr;switch(pr.type){case\"GeometryCollection\":kr={type:\"GeometryCollection\",geometries:pr.geometries.map(It)};break;case\"Point\":kr={type:\"Point\",coordinates:st(pr.coordinates)};break;case\"MultiPoint\":kr={type:pr.type,coordinates:dt(pr.coordinates)};break;case\"LineString\":kr={type:pr.type,coordinates:St(pr.coordinates)};break;case\"MultiLineString\":case\"Polygon\":kr={type:pr.type,coordinates:xt(pr.coordinates)};break;case\"MultiPolygon\":kr={type:\"MultiPolygon\",coordinates:pr.coordinates.map(xt)};break;default:return pr}return pr.bbox!=null&&(kr.bbox=pr.bbox),kr}function rr(pr){var kr={type:\"Feature\",properties:pr.properties,geometry:It(pr.geometry)};return pr.id!=null&&(kr.id=pr.id),pr.bbox!=null&&(kr.bbox=pr.bbox),kr}if(Ge!=null)switch(Ge.type){case\"Feature\":return rr(Ge);case\"FeatureCollection\":{var sr={type:\"FeatureCollection\",features:Ge.features.map(rr)};return Ge.bbox!=null&&(sr.bbox=Ge.bbox),sr}default:return It(Ge)}return Ge}function Wr(Ge){var $e=d(Ge);function st(dt,St){var xt=$e?T(dt*$e/2)/$e:dt/2;if(!St)return[2*xt,-Ge];var It=2*e(xt*d(St)),rr=1/T(St);return[d(It)*rr,St+(1-r(It))*rr-Ge]}return st.invert=function(dt,St){if(S(St+=Ge)l&&--rr>0);var _n=dt*(pr=T(It)),Mn=T(S(St)0?M:-M)*(sr+St*(kr-It)/2+St*St*(kr-2*sr+It)/2)]}yi.invert=function(Ge,$e){var st=$e/M,dt=st*90,St=s(18,S(dt/5)),xt=a(0,n(St));do{var It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],pr=sr-It,kr=sr-2*rr+It,Yr=2*(S(st)-rr)/pr,_n=kr/pr,Mn=Yr*(1-_n*Yr*(1-2*_n*Yr));if(Mn>=0||xt===1){dt=($e>=0?5:-5)*(Mn+St);var Un=50,li;do St=s(18,S(dt)/5),xt=n(St),Mn=St-xt,It=si[xt][1],rr=si[xt+1][1],sr=si[s(19,xt+2)][1],dt-=(li=($e>=0?M:-M)*(rr+Mn*(sr-It)/2+Mn*Mn*(sr-2*rr+It)/2)-$e)*y;while(S(li)>_&&--Un>0);break}}while(--xt>=0);var ki=si[xt][0],Ci=si[xt+1][0],Zi=si[s(19,xt+2)][0];return[Ge/(Ci+Mn*(Zi-ki)/2+Mn*Mn*(Zi-2*Ci+ki)/2),dt*f]};function Di(){return x.geoProjection(yi).scale(152.63)}function Wi(Ge){function $e(st,dt){var St=r(dt),xt=(Ge-1)/(Ge-St*r(st));return[xt*St*d(st),xt*d(dt)]}return $e.invert=function(st,dt){var St=st*st+dt*dt,xt=F(St),It=(Ge-F(1-St*(Ge+1)/(Ge-1)))/((Ge-1)/xt+xt/(Ge-1));return[t(st*It,xt*F(1-It*It)),xt?L(dt*It/xt):0]},$e}function aa(Ge,$e){var st=Wi(Ge);if(!$e)return st;var dt=r($e),St=d($e);function xt(It,rr){var sr=st(It,rr),pr=sr[1],kr=pr*St/(Ge-1)+dt;return[sr[0]*dt/kr,pr/kr]}return xt.invert=function(It,rr){var sr=(Ge-1)/(Ge-1-rr*St);return st.invert(sr*It,sr*rr*dt)},xt}function bi(){var Ge=2,$e=0,st=x.geoProjectionMutator(aa),dt=st(Ge,$e);return dt.distance=function(St){return arguments.length?st(Ge=+St,$e):Ge},dt.tilt=function(St){return arguments.length?st(Ge,$e=St*f):$e*y},dt.scale(432.147).clipAngle(z(1/Ge)*y-1e-6)}var zi=1e-4,Li=1e4,di=-180,wa=di+zi,po=180,co=po-zi,mo=-90,Ao=mo+zi,xa=90,Qi=xa-zi;function Lo(Ge){return Ge.length>0}function as(Ge){return Math.floor(Ge*Li)/Li}function Ds(Ge){return Ge===mo||Ge===xa?[0,Ge]:[di,as(Ge)]}function il(Ge){var $e=Ge[0],st=Ge[1],dt=!1;return $e<=wa?($e=di,dt=!0):$e>=co&&($e=po,dt=!0),st<=Ao?(st=mo,dt=!0):st>=Qi&&(st=xa,dt=!0),dt?[$e,st]:Ge}function Ns(Ge){return Ge.map(il)}function el(Ge,$e,st){for(var dt=0,St=Ge.length;dt=co||kr<=Ao||kr>=Qi){xt[It]=il(sr);for(var Yr=It+1;Yrwa&&MnAo&&Un=rr)break;st.push({index:-1,polygon:$e,ring:xt=xt.slice(Yr-1)}),xt[0]=Ds(xt[0][1]),It=-1,rr=xt.length}}}}function Es(Ge){var $e,st=Ge.length,dt={},St={},xt,It,rr,sr,pr;for($e=0;$e0?w-rr:rr)*y],pr=x.geoProjection(Ge(It)).rotate(sr),kr=x.geoRotation(sr),Yr=pr.center;return delete pr.rotate,pr.center=function(_n){return arguments.length?Yr(kr(_n)):kr.invert(Yr())},pr.clipAngle(90)}function zs(Ge){var $e=r(Ge);function st(dt,St){var xt=x.geoGnomonicRaw(dt,St);return xt[0]*=$e,xt}return st.invert=function(dt,St){return x.geoGnomonicRaw.invert(dt/$e,St)},st}function cu(){return zu([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function zu(Ge,$e){return Js(zs,Ge,$e)}function nc(Ge){if(!(Ge*=2))return x.geoAzimuthalEquidistantRaw;var $e=-Ge/2,st=-$e,dt=Ge*Ge,St=T(st),xt=.5/d(st);function It(rr,sr){var pr=z(r(sr)*r(rr-$e)),kr=z(r(sr)*r(rr-st)),Yr=sr<0?-1:1;return pr*=pr,kr*=kr,[(pr-kr)/(2*Ge),Yr*F(4*dt*kr-(dt-pr+kr)*(dt-pr+kr))/(2*Ge)]}return It.invert=function(rr,sr){var pr=sr*sr,kr=r(F(pr+(_n=rr+$e)*_n)),Yr=r(F(pr+(_n=rr+st)*_n)),_n,Mn;return[t(Mn=kr-Yr,_n=(kr+Yr)*St),(sr<0?-1:1)*z(F(_n*_n+Mn*Mn)*xt)]},It}function Kc(){return Tu([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Tu(Ge,$e){return Js(nc,Ge,$e)}function zc(Ge,$e){if(S($e)l&&--rr>0);return[p(Ge)*(F(St*St+4)+St)*w/4,M*It]};function dc(){return x.geoProjection(hc).scale(127.16)}function Ne(Ge,$e,st,dt,St){function xt(It,rr){var sr=st*d(dt*rr),pr=F(1-sr*sr),kr=F(2/(1+pr*r(It*=St)));return[Ge*pr*kr*d(It),$e*sr*kr]}return xt.invert=function(It,rr){var sr=It/Ge,pr=rr/$e,kr=F(sr*sr+pr*pr),Yr=2*L(kr/2);return[t(It*T(Yr),Ge*kr)/St,kr&&L(rr*d(Yr)/($e*st*kr))/dt]},xt}function R(Ge,$e,st,dt){var St=w/3;Ge=a(Ge,l),$e=a($e,l),Ge=s(Ge,M),$e=s($e,w-l),st=a(st,0),st=s(st,100-l),dt=a(dt,l);var xt=st/100+1,It=dt/100,rr=z(xt*r(St))/St,sr=d(Ge)/d(rr*M),pr=$e/w,kr=F(It*d(Ge/2)/d($e/2)),Yr=kr/F(pr*sr*rr),_n=1/(kr*F(pr*sr*rr));return Ne(Yr,_n,sr,rr,pr)}function ne(){var Ge=65*f,$e=60*f,st=20,dt=200,St=x.geoProjectionMutator(R),xt=St(Ge,$e,st,dt);return xt.poleline=function(It){return arguments.length?St(Ge=+It*f,$e,st,dt):Ge*y},xt.parallels=function(It){return arguments.length?St(Ge,$e=+It*f,st,dt):$e*y},xt.inflation=function(It){return arguments.length?St(Ge,$e,st=+It,dt):st},xt.ratio=function(It){return arguments.length?St(Ge,$e,st,dt=+It):dt},xt.scale(163.775)}function be(){return ne().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var Ae=4*w+3*F(3),Fe=2*F(2*w*F(3)/Ae),ht=tt(Fe*F(3)/w,Fe,Ae/6);function wt(){return x.geoProjection(ht).scale(176.84)}function zt(Ge,$e){return[Ge*F(1-3*$e*$e/(w*w)),$e]}zt.invert=function(Ge,$e){return[Ge/F(1-3*$e*$e/(w*w)),$e]};function Jt(){return x.geoProjection(zt).scale(152.63)}function hr(Ge,$e){var st=r($e),dt=r(Ge)*st,St=1-dt,xt=r(Ge=t(d(Ge)*st,-d($e))),It=d(Ge);return st=F(1-dt*dt),[It*st-xt*St,-xt*st-It*St]}hr.invert=function(Ge,$e){var st=(Ge*Ge+$e*$e)/-2,dt=F(-st*(2+st)),St=$e*st+Ge*dt,xt=Ge*st-$e*dt,It=F(xt*xt+St*St);return[t(dt*St,It*(1+st)),It?-L(dt*xt/It):0]};function vr(){return x.geoProjection(hr).rotate([0,-90,45]).scale(124.75).clipAngle(180-.001)}function Hr(Ge,$e){var st=le(Ge,$e);return[(st[0]+Ge/M)/2,(st[1]+$e)/2]}Hr.invert=function(Ge,$e){var st=Ge,dt=$e,St=25;do{var xt=r(dt),It=d(dt),rr=d(2*dt),sr=It*It,pr=xt*xt,kr=d(st),Yr=r(st/2),_n=d(st/2),Mn=_n*_n,Un=1-pr*Yr*Yr,li=Un?z(xt*Yr)*F(ki=1/Un):ki=0,ki,Ci=.5*(2*li*xt*_n+st/M)-Ge,Zi=.5*(li*It+dt)-$e,ya=.5*ki*(pr*Mn+li*xt*Yr*sr)+.5/M,ro=ki*(kr*rr/4-li*It*_n),Va=.125*ki*(rr*_n-li*It*pr*kr),Io=.5*ki*(sr*Yr+li*Mn*xt)+.5,vs=ro*Va-Io*ya,Fo=(Zi*ro-Ci*Io)/vs,ts=(Ci*Va-Zi*ya)/vs;st-=Fo,dt-=ts}while((S(Fo)>l||S(ts)>l)&&--St>0);return[st,dt]};function ln(){return x.geoProjection(Hr).scale(158.837)}g.geoNaturalEarth=x.geoNaturalEarth1,g.geoNaturalEarthRaw=x.geoNaturalEarth1Raw,g.geoAiry=Q,g.geoAiryRaw=W,g.geoAitoff=se,g.geoAitoffRaw=le,g.geoArmadillo=G,g.geoArmadilloRaw=fe,g.geoAugust=J,g.geoAugustRaw=$,g.geoBaker=j,g.geoBakerRaw=ae,g.geoBerghaus=ie,g.geoBerghausRaw=ee,g.geoBertin1953=it,g.geoBertin1953Raw=Ye,g.geoBoggs=rt,g.geoBoggsRaw=Oe,g.geoBonne=Bt,g.geoBonneRaw=Et,g.geoBottomley=fr,g.geoBottomleyRaw=qt,g.geoBromley=Rr,g.geoBromleyRaw=ar,g.geoChamberlin=Se,g.geoChamberlinRaw=Be,g.geoChamberlinAfrica=je,g.geoCollignon=Ee,g.geoCollignonRaw=He,g.geoCraig=Le,g.geoCraigRaw=we,g.geoCraster=bt,g.geoCrasterRaw=pt,g.geoCylindricalEqualArea=Nt,g.geoCylindricalEqualAreaRaw=Rt,g.geoCylindricalStereographic=$t,g.geoCylindricalStereographicRaw=Xt,g.geoEckert1=pn,g.geoEckert1Raw=ur,g.geoEckert2=Nn,g.geoEckert2Raw=Rn,g.geoEckert3=ni,g.geoEckert3Raw=On,g.geoEckert4=Qn,g.geoEckert4Raw=zn,g.geoEckert5=Zt,g.geoEckert5Raw=gi,g.geoEckert6=Ht,g.geoEckert6Raw=Ft,g.geoEisenlohr=$r,g.geoEisenlohrRaw=wr,g.geoFahey=Fn,g.geoFaheyRaw=en,g.geoFoucaut=ri,g.geoFoucautRaw=Wn,g.geoFoucautSinusoidal=ui,g.geoFoucautSinusoidalRaw=Sn,g.geoGilbert=Pr,g.geoGingery=Lr,g.geoGingeryRaw=Ir,g.geoGinzburg4=nn,g.geoGinzburg4Raw=Dr,g.geoGinzburg5=gn,g.geoGinzburg5Raw=vn,g.geoGinzburg6=or,g.geoGinzburg6Raw=kt,g.geoGinzburg8=on,g.geoGinzburg8Raw=yr,g.geoGinzburg9=Zn,g.geoGinzburg9Raw=An,g.geoGringorten=pi,g.geoGringortenRaw=wn,g.geoGuyou=pa,g.geoGuyouRaw=yo,g.geoHammer=Te,g.geoHammerRaw=ce,g.geoHammerRetroazimuthal=gs,g.geoHammerRetroazimuthalRaw=cs,g.geoHealpix=Ls,g.geoHealpixRaw=Yo,g.geoHill=Ws,g.geoHillRaw=Vs,g.geoHomolosine=Eo,g.geoHomolosineRaw=Xs,g.geoHufnagel=As,g.geoHufnagelRaw=Ys,g.geoHyperelliptical=Uo,g.geoHyperellipticalRaw=la,g.geoInterrupt=no,g.geoInterruptedBoggs=Ku,g.geoInterruptedHomolosine=Vu,g.geoInterruptedMollweide=Qs,g.geoInterruptedMollweideHemispheres=qu,g.geoInterruptedSinuMollweide=Ju,g.geoInterruptedSinusoidal=uf,g.geoKavrayskiy7=Hc,g.geoKavrayskiy7Raw=qs,g.geoLagrange=Ql,g.geoLagrangeRaw=bf,g.geoLarrivee=gc,g.geoLarriveeRaw=oc,g.geoLaskowski=Ml,g.geoLaskowskiRaw=nl,g.geoLittrow=sl,g.geoLittrowRaw=Zs,g.geoLoximuthal=jl,g.geoLoximuthalRaw=sc,g.geoMiller=ll,g.geoMillerRaw=$u,g.geoModifiedStereographic=Vl,g.geoModifiedStereographicRaw=Nh,g.geoModifiedStereographicAlaska=Qu,g.geoModifiedStereographicGs48=pu,g.geoModifiedStereographicGs50=Df,g.geoModifiedStereographicMiller=Lc,g.geoModifiedStereographicLee=nf,g.geoMollweide=Me,g.geoMollweideRaw=ut,g.geoMtFlatPolarParabolic=Gc,g.geoMtFlatPolarParabolicRaw=wf,g.geoMtFlatPolarQuartic=$f,g.geoMtFlatPolarQuarticRaw=Ff,g.geoMtFlatPolarSinusoidal=Tf,g.geoMtFlatPolarSinusoidalRaw=ec,g.geoNaturalEarth2=Wc,g.geoNaturalEarth2Raw=Pc,g.geoNellHammer=cf,g.geoNellHammerRaw=Pu,g.geoInterruptedQuarticAuthalic=Ks,g.geoNicolosi=Eh,g.geoNicolosiRaw=Of,g.geoPatterson=tc,g.geoPattersonRaw=Rc,g.geoPolyconic=Sl,g.geoPolyconicRaw=xu,g.geoPolyhedral=of,g.geoPolyhedralButterfly=dl,g.geoPolyhedralCollignon=Bf,g.geoPolyhedralWaterman=ul,g.geoProject=Xl,g.geoGringortenQuincuncial=Yt,g.geoPeirceQuincuncial=dr,g.geoPierceQuincuncial=dr,g.geoQuantize=tn,g.geoQuincuncial=Yc,g.geoRectangularPolyconic=Cn,g.geoRectangularPolyconicRaw=Wr,g.geoRobinson=Di,g.geoRobinsonRaw=yi,g.geoSatellite=bi,g.geoSatelliteRaw=aa,g.geoSinuMollweide=pl,g.geoSinuMollweideRaw=Da,g.geoSinusoidal=Lt,g.geoSinusoidalRaw=et,g.geoStitch=cl,g.geoTimes=jo,g.geoTimesRaw=Za,g.geoTwoPointAzimuthal=zu,g.geoTwoPointAzimuthalRaw=zs,g.geoTwoPointAzimuthalUsa=cu,g.geoTwoPointEquidistant=Tu,g.geoTwoPointEquidistantRaw=nc,g.geoTwoPointEquidistantUsa=Kc,g.geoVanDerGrinten=Fu,g.geoVanDerGrintenRaw=zc,g.geoVanDerGrinten2=bo,g.geoVanDerGrinten2Raw=wc,g.geoVanDerGrinten3=Fc,g.geoVanDerGrinten3Raw=Wo,g.geoVanDerGrinten4=dc,g.geoVanDerGrinten4Raw=hc,g.geoWagner=ne,g.geoWagner7=be,g.geoWagnerRaw=R,g.geoWagner4=wt,g.geoWagner4Raw=ht,g.geoWagner6=Jt,g.geoWagner6Raw=zt,g.geoWiechel=vr,g.geoWiechelRaw=hr,g.geoWinkel3=ln,g.geoWinkel3Raw=Hr,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),d6=ke({\"src/plots/geo/zoom.js\"(Z,H){\"use strict\";var g=_i(),x=un(),A=lo(),S=Math.PI/180,e=180/Math.PI,t={cursor:\"pointer\"},r={cursor:\"auto\"};function o(y,f){var P=y.projection,L;return f._isScoped?L=a:f._isClipped?L=c:L=s,L(y,P)}H.exports=o;function n(y,f){return g.behavior.zoom().translate(f.translate()).scale(f.scale())}function i(y,f,P){var L=y.id,z=y.graphDiv,F=z.layout,B=F[L],O=z._fullLayout,I=O[L],N={},U={};function W(Q,le){N[L+\".\"+Q]=x.nestedProperty(B,Q).get(),A.call(\"_storeDirectGUIEdit\",F,O._preGUI,N);var se=x.nestedProperty(I,Q);se.get()!==le&&(se.set(le),x.nestedProperty(B,Q).set(le),U[L+\".\"+Q]=le)}P(W),W(\"projection.scale\",f.scale()/y.fitScale),W(\"fitbounds\",!1),z.emit(\"plotly_relayout\",U)}function a(y,f){var P=n(y,f);function L(){g.select(this).style(t)}function z(){f.scale(g.event.scale).translate(g.event.translate),y.render(!0);var O=f.invert(y.midPt);y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.center.lon\":O[0],\"geo.center.lat\":O[1]})}function F(O){var I=f.invert(y.midPt);O(\"center.lon\",I[0]),O(\"center.lat\",I[1])}function B(){g.select(this).style(r),i(y,f,F)}return P.on(\"zoomstart\",L).on(\"zoom\",z).on(\"zoomend\",B),P}function s(y,f){var P=n(y,f),L=2,z,F,B,O,I,N,U,W,Q;function le(X){return f.invert(X)}function se(X){var re=le(X);if(!re)return!0;var ae=f(re);return Math.abs(ae[0]-X[0])>L||Math.abs(ae[1]-X[1])>L}function fe(){g.select(this).style(t),z=g.mouse(this),F=f.rotate(),B=f.translate(),O=F,I=le(z)}function G(){if(N=g.mouse(this),se(z)){P.scale(f.scale()),P.translate(f.translate());return}f.scale(g.event.scale),f.translate([B[0],g.event.translate[1]]),I?le(N)&&(W=le(N),U=[O[0]+(W[0]-I[0]),F[1],F[2]],f.rotate(U),O=U):(z=N,I=le(z)),Q=!0,y.render(!0);var X=f.rotate(),re=f.invert(y.midPt);y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.center.lon\":re[0],\"geo.center.lat\":re[1],\"geo.projection.rotation.lon\":-X[0]})}function $(){g.select(this).style(r),Q&&i(y,f,J)}function J(X){var re=f.rotate(),ae=f.invert(y.midPt);X(\"projection.rotation.lon\",-re[0]),X(\"center.lon\",ae[0]),X(\"center.lat\",ae[1])}return P.on(\"zoomstart\",fe).on(\"zoom\",G).on(\"zoomend\",$),P}function c(y,f){var P={r:f.rotate(),k:f.scale()},L=n(y,f),z=u(L,\"zoomstart\",\"zoom\",\"zoomend\"),F=0,B=L.on,O;L.on(\"zoomstart\",function(){g.select(this).style(t);var Q=g.mouse(this),le=f.rotate(),se=le,fe=f.translate(),G=p(le);O=h(f,Q),B.call(L,\"zoom\",function(){var $=g.mouse(this);if(f.scale(P.k=g.event.scale),!O)Q=$,O=h(f,Q);else if(h(f,$)){f.rotate(le).translate(fe);var J=h(f,$),X=T(O,J),re=E(d(G,X)),ae=P.r=l(re,O,se);(!isFinite(ae[0])||!isFinite(ae[1])||!isFinite(ae[2]))&&(ae=se),f.rotate(ae),se=ae}N(z.of(this,arguments))}),I(z.of(this,arguments))}).on(\"zoomend\",function(){g.select(this).style(r),B.call(L,\"zoom\",null),U(z.of(this,arguments)),i(y,f,W)}).on(\"zoom.redraw\",function(){y.render(!0);var Q=f.rotate();y.graphDiv.emit(\"plotly_relayouting\",{\"geo.projection.scale\":f.scale()/y.fitScale,\"geo.projection.rotation.lon\":-Q[0],\"geo.projection.rotation.lat\":-Q[1]})});function I(Q){F++||Q({type:\"zoomstart\"})}function N(Q){Q({type:\"zoom\"})}function U(Q){--F||Q({type:\"zoomend\"})}function W(Q){var le=f.rotate();Q(\"projection.rotation.lon\",-le[0]),Q(\"projection.rotation.lat\",-le[1])}return g.rebind(L,z,\"on\")}function h(y,f){var P=y.invert(f);return P&&isFinite(P[0])&&isFinite(P[1])&&m(P)}function p(y){var f=.5*y[0]*S,P=.5*y[1]*S,L=.5*y[2]*S,z=Math.sin(f),F=Math.cos(f),B=Math.sin(P),O=Math.cos(P),I=Math.sin(L),N=Math.cos(L);return[F*O*N+z*B*I,z*O*N-F*B*I,F*B*N+z*O*I,F*O*I-z*B*N]}function d(y,f){var P=y[0],L=y[1],z=y[2],F=y[3],B=f[0],O=f[1],I=f[2],N=f[3];return[P*B-L*O-z*I-F*N,P*O+L*B+z*N-F*I,P*I-L*N+z*B+F*O,P*N+L*I-z*O+F*B]}function T(y,f){if(!(!y||!f)){var P=v(y,f),L=Math.sqrt(b(P,P)),z=.5*Math.acos(Math.max(-1,Math.min(1,b(y,f)))),F=Math.sin(z)/L;return L&&[Math.cos(z),P[2]*F,-P[1]*F,P[0]*F]}}function l(y,f,P){var L=M(f,2,y[0]);L=M(L,1,y[1]),L=M(L,0,y[2]-P[2]);var z=f[0],F=f[1],B=f[2],O=L[0],I=L[1],N=L[2],U=Math.atan2(F,z)*e,W=Math.sqrt(z*z+F*F),Q,le;Math.abs(I)>W?(le=(I>0?90:-90)-U,Q=0):(le=Math.asin(I/W)*e-U,Q=Math.sqrt(W*W-I*I));var se=180-le-2*U,fe=(Math.atan2(N,O)-Math.atan2(B,Q))*e,G=(Math.atan2(N,O)-Math.atan2(B,-Q))*e,$=_(P[0],P[1],le,fe),J=_(P[0],P[1],se,G);return $<=J?[le,fe,P[2]]:[se,G,P[2]]}function _(y,f,P,L){var z=w(P-y),F=w(L-f);return Math.sqrt(z*z+F*F)}function w(y){return(y%360+540)%360-180}function M(y,f,P){var L=P*S,z=y.slice(),F=f===0?1:0,B=f===2?1:2,O=Math.cos(L),I=Math.sin(L);return z[F]=y[F]*O-y[B]*I,z[B]=y[B]*O+y[F]*I,z}function E(y){return[Math.atan2(2*(y[0]*y[1]+y[2]*y[3]),1-2*(y[1]*y[1]+y[2]*y[2]))*e,Math.asin(Math.max(-1,Math.min(1,2*(y[0]*y[2]-y[3]*y[1]))))*e,Math.atan2(2*(y[0]*y[3]+y[1]*y[2]),1-2*(y[2]*y[2]+y[3]*y[3]))*e]}function m(y){var f=y[0]*S,P=y[1]*S,L=Math.cos(P);return[L*Math.cos(f),L*Math.sin(f),Math.sin(P)]}function b(y,f){for(var P=0,L=0,z=y.length;L0&&I._module.calcGeoJSON(O,L)}if(!z){var N=this.updateProjection(P,L);if(N)return;(!this.viewInitial||this.scope!==F.scope)&&this.saveViewInitial(F)}this.scope=F.scope,this.updateBaseLayers(L,F),this.updateDims(L,F),this.updateFx(L,F),s.generalUpdatePerTraceModule(this.graphDiv,this,P,F);var U=this.layers.frontplot.select(\".scatterlayer\");this.dataPoints.point=U.selectAll(\".point\"),this.dataPoints.text=U.selectAll(\"text\"),this.dataPaths.line=U.selectAll(\".js-line\");var W=this.layers.backplot.select(\".choroplethlayer\");this.dataPaths.choropleth=W.selectAll(\"path\"),this._render()},v.updateProjection=function(P,L){var z=this.graphDiv,F=L[this.id],B=L._size,O=F.domain,I=F.projection,N=F.lonaxis,U=F.lataxis,W=N._ax,Q=U._ax,le=this.projection=u(F),se=[[B.l+B.w*O.x[0],B.t+B.h*(1-O.y[1])],[B.l+B.w*O.x[1],B.t+B.h*(1-O.y[0])]],fe=F.center||{},G=I.rotation||{},$=N.range||[],J=U.range||[];if(F.fitbounds){W._length=se[1][0]-se[0][0],Q._length=se[1][1]-se[0][1],W.range=h(z,W),Q.range=h(z,Q);var X=(W.range[0]+W.range[1])/2,re=(Q.range[0]+Q.range[1])/2;if(F._isScoped)fe={lon:X,lat:re};else if(F._isClipped){fe={lon:X,lat:re},G={lon:X,lat:re,roll:G.roll};var ae=I.type,j=w.lonaxisSpan[ae]/2||180,ee=w.lataxisSpan[ae]/2||90;$=[X-j,X+j],J=[re-ee,re+ee]}else fe={lon:X,lat:re},G={lon:X,lat:G.lat,roll:G.roll}}le.center([fe.lon-G.lon,fe.lat-G.lat]).rotate([-G.lon,-G.lat,G.roll]).parallels(I.parallels);var ie=f($,J);le.fitExtent(se,ie);var ce=this.bounds=le.getBounds(ie),xe=this.fitScale=le.scale(),Te=le.translate();if(F.fitbounds){var Ue=le.getBounds(f(W.range,Q.range)),Ie=Math.min((ce[1][0]-ce[0][0])/(Ue[1][0]-Ue[0][0]),(ce[1][1]-ce[0][1])/(Ue[1][1]-Ue[0][1]));isFinite(Ie)?le.scale(Ie*xe):r.warn(\"Something went wrong during\"+this.id+\"fitbounds computations.\")}else le.scale(I.scale*xe);var Ye=this.midPt=[(ce[0][0]+ce[1][0])/2,(ce[0][1]+ce[1][1])/2];if(le.translate([Te[0]+(Ye[0]-Te[0]),Te[1]+(Ye[1]-Te[1])]).clipExtent(ce),F._isAlbersUsa){var it=le([fe.lon,fe.lat]),at=le.translate();le.translate([at[0]-(it[0]-at[0]),at[1]-(it[1]-at[1])])}},v.updateBaseLayers=function(P,L){var z=this,F=z.topojson,B=z.layers,O=z.basePaths;function I(se){return se===\"lonaxis\"||se===\"lataxis\"}function N(se){return!!w.lineLayers[se]}function U(se){return!!w.fillLayers[se]}var W=this.hasChoropleth?w.layersForChoropleth:w.layers,Q=W.filter(function(se){return N(se)||U(se)?L[\"show\"+se]:I(se)?L[se].showgrid:!0}),le=z.framework.selectAll(\".layer\").data(Q,String);le.exit().each(function(se){delete B[se],delete O[se],g.select(this).remove()}),le.enter().append(\"g\").attr(\"class\",function(se){return\"layer \"+se}).each(function(se){var fe=B[se]=g.select(this);se===\"bg\"?z.bgRect=fe.append(\"rect\").style(\"pointer-events\",\"all\"):I(se)?O[se]=fe.append(\"path\").style(\"fill\",\"none\"):se===\"backplot\"?fe.append(\"g\").classed(\"choroplethlayer\",!0):se===\"frontplot\"?fe.append(\"g\").classed(\"scatterlayer\",!0):N(se)?O[se]=fe.append(\"path\").style(\"fill\",\"none\").style(\"stroke-miterlimit\",2):U(se)&&(O[se]=fe.append(\"path\").style(\"stroke\",\"none\"))}),le.order(),le.each(function(se){var fe=O[se],G=w.layerNameToAdjective[se];se===\"frame\"?fe.datum(w.sphereSVG):N(se)||U(se)?fe.datum(m(F,F.objects[se])):I(se)&&fe.datum(y(se,L,P)).call(n.stroke,L[se].gridcolor).call(i.dashLine,L[se].griddash,L[se].gridwidth),N(se)?fe.call(n.stroke,L[G+\"color\"]).call(i.dashLine,\"\",L[G+\"width\"]):U(se)&&fe.call(n.fill,L[G+\"color\"])})},v.updateDims=function(P,L){var z=this.bounds,F=(L.framewidth||0)/2,B=z[0][0]-F,O=z[0][1]-F,I=z[1][0]-B+F,N=z[1][1]-O+F;i.setRect(this.clipRect,B,O,I,N),this.bgRect.call(i.setRect,B,O,I,N).call(n.fill,L.bgcolor),this.xaxis._offset=B,this.xaxis._length=I,this.yaxis._offset=O,this.yaxis._length=N},v.updateFx=function(P,L){var z=this,F=z.graphDiv,B=z.bgRect,O=P.dragmode,I=P.clickmode;if(z.isStatic)return;function N(){var le=z.viewInitial,se={};for(var fe in le)se[z.id+\".\"+fe]=le[fe];t.call(\"_guiRelayout\",F,se),F.emit(\"plotly_doubleclick\",null)}function U(le){return z.projection.invert([le[0]+z.xaxis._offset,le[1]+z.yaxis._offset])}var W=function(le,se){if(se.isRect){var fe=le.range={};fe[z.id]=[U([se.xmin,se.ymin]),U([se.xmax,se.ymax])]}else{var G=le.lassoPoints={};G[z.id]=se.map(U)}},Q={element:z.bgRect.node(),gd:F,plotinfo:{id:z.id,xaxis:z.xaxis,yaxis:z.yaxis,fillRangeItems:W},xaxes:[z.xaxis],yaxes:[z.yaxis],subplot:z.id,clickFn:function(le){le===2&&T(F)}};O===\"pan\"?(B.node().onmousedown=null,B.call(_(z,L)),B.on(\"dblclick.zoom\",N),F._context._scrollZoom.geo||B.on(\"wheel.zoom\",null)):(O===\"select\"||O===\"lasso\")&&(B.on(\".zoom\",null),Q.prepFn=function(le,se,fe){d(le,se,fe,Q,O)},p.init(Q)),B.on(\"mousemove\",function(){var le=z.projection.invert(r.getPositionFromD3Event());if(!le)return p.unhover(F,g.event);z.xaxis.p2c=function(){return le[0]},z.yaxis.p2c=function(){return le[1]},a.hover(F,g.event,z.id)}),B.on(\"mouseout\",function(){F._dragging||p.unhover(F,g.event)}),B.on(\"click\",function(){O!==\"select\"&&O!==\"lasso\"&&(I.indexOf(\"select\")>-1&&l(g.event,F,[z.xaxis],[z.yaxis],z.id,Q),I.indexOf(\"event\")>-1&&a.click(F,g.event))})},v.makeFramework=function(){var P=this,L=P.graphDiv,z=L._fullLayout,F=\"clip\"+z._uid+P.id;P.clipDef=z._clips.append(\"clipPath\").attr(\"id\",F),P.clipRect=P.clipDef.append(\"rect\"),P.framework=g.select(P.container).append(\"g\").attr(\"class\",\"geo \"+P.id).call(i.setClipUrl,F,L),P.project=function(B){var O=P.projection(B);return O?[O[0]-P.xaxis._offset,O[1]-P.yaxis._offset]:[null,null]},P.xaxis={_id:\"x\",c2p:function(B){return P.project(B)[0]}},P.yaxis={_id:\"y\",c2p:function(B){return P.project(B)[1]}},P.mockAxis={type:\"linear\",showexponent:\"all\",exponentformat:\"B\"},c.setConvert(P.mockAxis,z)},v.saveViewInitial=function(P){var L=P.center||{},z=P.projection,F=z.rotation||{};this.viewInitial={fitbounds:P.fitbounds,\"projection.scale\":z.scale};var B;P._isScoped?B={\"center.lon\":L.lon,\"center.lat\":L.lat}:P._isClipped?B={\"projection.rotation.lon\":F.lon,\"projection.rotation.lat\":F.lat}:B={\"center.lon\":L.lon,\"center.lat\":L.lat,\"projection.rotation.lon\":F.lon},r.extendFlat(this.viewInitial,B)},v.render=function(P){this._hasMarkerAngles&&P?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},v._render=function(){var P=this.projection,L=P.getPath(),z;function F(O){var I=P(O.lonlat);return I?o(I[0],I[1]):null}function B(O){return P.isLonLatOverEdges(O.lonlat)?\"none\":null}for(z in this.basePaths)this.basePaths[z].attr(\"d\",L);for(z in this.dataPaths)this.dataPaths[z].attr(\"d\",function(O){return L(O.geojson)});for(z in this.dataPoints)this.dataPoints[z].attr(\"display\",B).attr(\"transform\",F)};function u(P){var L=P.projection,z=L.type,F=w.projNames[z];F=\"geo\"+r.titleCase(F);for(var B=x[F]||e[F],O=B(),I=P._isSatellite?Math.acos(1/L.distance)*180/Math.PI:P._isClipped?w.lonaxisSpan[z]/2:null,N=[\"center\",\"rotate\",\"parallels\",\"clipExtent\"],U=function(le){return le?O:[]},W=0;WG}else return!1},O.getPath=function(){return A().projection(O)},O.getBounds=function(le){return O.getPath().bounds(le)},O.precision(w.precision),P._isSatellite&&O.tilt(L.tilt).distance(L.distance),I&&O.clipAngle(I-w.clipPad),O}function y(P,L,z){var F=1e-6,B=2.5,O=L[P],I=w.scopeDefaults[L.scope],N,U,W;P===\"lonaxis\"?(N=I.lonaxisRange,U=I.lataxisRange,W=function(re,ae){return[re,ae]}):P===\"lataxis\"&&(N=I.lataxisRange,U=I.lonaxisRange,W=function(re,ae){return[ae,re]});var Q={type:\"linear\",range:[N[0],N[1]-F],tick0:O.tick0,dtick:O.dtick};c.setConvert(Q,z);var le=c.calcTicks(Q);!L.isScoped&&P===\"lonaxis\"&&le.pop();for(var se=le.length,fe=new Array(se),G=0;G0&&B<0&&(B+=360);var N=(B-F)/4;return{type:\"Polygon\",coordinates:[[[F,O],[F,I],[F+N,I],[F+2*N,I],[F+3*N,I],[B,I],[B,O],[B-N,O],[B-2*N,O],[B-3*N,O],[F,O]]]}}}}),gA=ke({\"src/plots/geo/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=Yu().attributes,A=xh().dash,S=H0(),e=ju().overrideAll,t=Ip(),r={range:{valType:\"info_array\",items:[{valType:\"number\"},{valType:\"number\"}]},showgrid:{valType:\"boolean\",dflt:!1},tick0:{valType:\"number\",dflt:0},dtick:{valType:\"number\"},gridcolor:{valType:\"color\",dflt:g.lightLine},gridwidth:{valType:\"number\",min:0,dflt:1},griddash:A},o=H.exports=e({domain:x({name:\"geo\"},{}),fitbounds:{valType:\"enumerated\",values:[!1,\"locations\",\"geojson\"],dflt:!1,editType:\"plot\"},resolution:{valType:\"enumerated\",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:\"enumerated\",values:t(S.scopeDefaults),dflt:\"world\"},projection:{type:{valType:\"enumerated\",values:t(S.projNames)},rotation:{lon:{valType:\"number\"},lat:{valType:\"number\"},roll:{valType:\"number\"}},tilt:{valType:\"number\",dflt:0},distance:{valType:\"number\",min:1.001,dflt:2},parallels:{valType:\"info_array\",items:[{valType:\"number\"},{valType:\"number\"}]},scale:{valType:\"number\",min:0,dflt:1}},center:{lon:{valType:\"number\"},lat:{valType:\"number\"}},visible:{valType:\"boolean\",dflt:!0},showcoastlines:{valType:\"boolean\"},coastlinecolor:{valType:\"color\",dflt:g.defaultLine},coastlinewidth:{valType:\"number\",min:0,dflt:1},showland:{valType:\"boolean\",dflt:!1},landcolor:{valType:\"color\",dflt:S.landColor},showocean:{valType:\"boolean\",dflt:!1},oceancolor:{valType:\"color\",dflt:S.waterColor},showlakes:{valType:\"boolean\",dflt:!1},lakecolor:{valType:\"color\",dflt:S.waterColor},showrivers:{valType:\"boolean\",dflt:!1},rivercolor:{valType:\"color\",dflt:S.waterColor},riverwidth:{valType:\"number\",min:0,dflt:1},showcountries:{valType:\"boolean\"},countrycolor:{valType:\"color\",dflt:g.defaultLine},countrywidth:{valType:\"number\",min:0,dflt:1},showsubunits:{valType:\"boolean\"},subunitcolor:{valType:\"color\",dflt:g.defaultLine},subunitwidth:{valType:\"number\",min:0,dflt:1},showframe:{valType:\"boolean\"},framecolor:{valType:\"color\",dflt:g.defaultLine},framewidth:{valType:\"number\",min:0,dflt:1},bgcolor:{valType:\"color\",dflt:g.background},lonaxis:r,lataxis:r},\"plot\",\"from-root\");o.uirevision={valType:\"any\",editType:\"none\"}}}),p6=ke({\"src/plots/geo/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=Up(),A=bh().getSubplotData,S=H0(),e=gA(),t=S.axesNames;H.exports=function(n,i,a){x(n,i,a,{type:\"geo\",attributes:e,handleDefaults:r,fullData:a,partition:\"y\"})};function r(o,n,i,a){var s=A(a.fullData,\"geo\",a.id),c=s.map(function(J){return J.index}),h=i(\"resolution\"),p=i(\"scope\"),d=S.scopeDefaults[p],T=i(\"projection.type\",d.projType),l=n._isAlbersUsa=T===\"albers usa\";l&&(p=n.scope=\"usa\");var _=n._isScoped=p!==\"world\",w=n._isSatellite=T===\"satellite\",M=n._isConic=T.indexOf(\"conic\")!==-1||T===\"albers\",E=n._isClipped=!!S.lonaxisSpan[T];if(o.visible===!1){var m=g.extendDeep({},n._template);m.showcoastlines=!1,m.showcountries=!1,m.showframe=!1,m.showlakes=!1,m.showland=!1,m.showocean=!1,m.showrivers=!1,m.showsubunits=!1,m.lonaxis&&(m.lonaxis.showgrid=!1),m.lataxis&&(m.lataxis.showgrid=!1),n._template=m}for(var b=i(\"visible\"),v,u=0;u0&&U<0&&(U+=360);var W=(N+U)/2,Q;if(!l){var le=_?d.projRotate:[W,0,0];Q=i(\"projection.rotation.lon\",le[0]),i(\"projection.rotation.lat\",le[1]),i(\"projection.rotation.roll\",le[2]),v=i(\"showcoastlines\",!_&&b),v&&(i(\"coastlinecolor\"),i(\"coastlinewidth\")),v=i(\"showocean\",b?void 0:!1),v&&i(\"oceancolor\")}var se,fe;if(l?(se=-96.6,fe=38.7):(se=_?W:Q,fe=(I[0]+I[1])/2),i(\"center.lon\",se),i(\"center.lat\",fe),w&&(i(\"projection.tilt\"),i(\"projection.distance\")),M){var G=d.projParallels||[0,60];i(\"projection.parallels\",G)}i(\"projection.scale\"),v=i(\"showland\",b?void 0:!1),v&&i(\"landcolor\"),v=i(\"showlakes\",b?void 0:!1),v&&i(\"lakecolor\"),v=i(\"showrivers\",b?void 0:!1),v&&(i(\"rivercolor\"),i(\"riverwidth\")),v=i(\"showcountries\",_&&p!==\"usa\"&&b),v&&(i(\"countrycolor\"),i(\"countrywidth\")),(p===\"usa\"||p===\"north america\"&&h===50)&&(i(\"showsubunits\",b),i(\"subunitcolor\"),i(\"subunitwidth\")),_||(v=i(\"showframe\",b),v&&(i(\"framecolor\"),i(\"framewidth\"))),i(\"bgcolor\");var $=i(\"fitbounds\");$&&(delete n.projection.scale,_?(delete n.center.lon,delete n.center.lat):E?(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon,delete n.projection.rotation.lat,delete n.lonaxis.range,delete n.lataxis.range):(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon))}}}),yA=ke({\"src/plots/geo/index.js\"(Z,H){\"use strict\";var g=bh().getSubplotCalcData,x=un().counterRegex,A=v6(),S=\"geo\",e=x(S),t={};t[S]={valType:\"subplotid\",dflt:S,editType:\"calc\"};function r(i){for(var a=i._fullLayout,s=i.calcdata,c=a._subplots[S],h=0;h\")}}}}),rb=ke({\"src/traces/choropleth/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){x.location=A.location,x.z=A.z;var r=e[t];return r.fIn&&r.fIn.properties&&(x.properties=r.fIn.properties),x.ct=r.ct,x}}}),nb=ke({\"src/traces/choropleth/select.js\"(Z,H){\"use strict\";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n,i,a,s;if(A===!1)for(o=0;o=Math.min(U,W)&&T<=Math.max(U,W)?0:1/0}if(L=Math.min(Q,le)&&l<=Math.max(Q,le)?0:1/0}B=Math.sqrt(L*L+z*z),u=w[P]}}}else for(P=w.length-1;P>-1;P--)v=w[P],y=p[v],f=d[v],L=c.c2p(y)-T,z=h.c2p(f)-l,F=Math.sqrt(L*L+z*z),F100},Z.isDotSymbol=function(g){return typeof g==\"string\"?H.DOT_RE.test(g):g>200}}}),b6=ke({\"src/traces/scattergl/defaults.js\"(Z,H){\"use strict\";var g=un(),x=lo(),A=ab(),S=W0(),e=kv(),t=vu(),r=Xg(),o=hv(),n=Fd(),i=Hd(),a=dv(),s=Gd();H.exports=function(h,p,d,T){function l(u,y){return g.coerce(h,p,S,u,y)}var _=h.marker?A.isOpenSymbol(h.marker.symbol):!1,w=t.isBubble(h),M=r(h,p,T,l);if(!M){p.visible=!1;return}o(h,p,T,l),l(\"xhoverformat\"),l(\"yhoverformat\");var E=M>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>=0?(s=c,a=c-1):i=c+1}return s}function x(r,o,n,i,a){for(var s=a+1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p>0?(s=c,a=c-1):i=c+1}return s}function A(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<0?(s=c,i=c+1):a=c-1}return s}function S(r,o,n,i,a){for(var s=i-1;i<=a;){var c=i+a>>>1,h=r[c],p=n!==void 0?n(h,o):h-o;p<=0?(s=c,i=c+1):a=c-1}return s}function e(r,o,n,i,a){for(;i<=a;){var s=i+a>>>1,c=r[s],h=n!==void 0?n(c,o):c-o;if(h===0)return s;h<=0?i=s+1:a=s-1}return-1}function t(r,o,n,i,a,s){return typeof n==\"function\"?s(r,o,n,i===void 0?0:i|0,a===void 0?r.length-1:a|0):s(r,o,void 0,n===void 0?0:n|0,i===void 0?r.length-1:i|0)}H.exports={ge:function(r,o,n,i,a){return t(r,o,n,i,a,g)},gt:function(r,o,n,i,a){return t(r,o,n,i,a,x)},lt:function(r,o,n,i,a){return t(r,o,n,i,a,A)},le:function(r,o,n,i,a){return t(r,o,n,i,a,S)},eq:function(r,o,n,i,a){return t(r,o,n,i,a,e)}}}}),Rv=ke({\"node_modules/pick-by-alias/index.js\"(Z,H){\"use strict\";H.exports=function(S,e,t){var r={},o,n;if(typeof e==\"string\"&&(e=x(e)),Array.isArray(e)){var i={};for(n=0;n1&&(A=arguments),typeof A==\"string\"?A=A.split(/\\s/).map(parseFloat):typeof A==\"number\"&&(A=[A]),A.length&&typeof A[0]==\"number\"?A.length===1?S={width:A[0],height:A[0],x:0,y:0}:A.length===2?S={width:A[0],height:A[1],x:0,y:0}:S={x:A[0],y:A[1],width:A[2]-A[0]||0,height:A[3]-A[1]||0}:A&&(A=g(A,{left:\"x l left Left\",top:\"y t top Top\",width:\"w width W Width\",height:\"h height W Width\",bottom:\"b bottom Bottom\",right:\"r right Right\"}),S={x:A.left||0,y:A.top||0},A.width==null?A.right?S.width=A.right-S.x:S.width=0:S.width=A.width,A.height==null?A.bottom?S.height=A.bottom-S.y:S.height=0:S.height=A.height),S}}}),$m=ke({\"node_modules/array-bounds/index.js\"(Z,H){\"use strict\";H.exports=g;function g(x,A){if(!x||x.length==null)throw Error(\"Argument should be an array\");A==null?A=1:A=Math.floor(A);for(var S=Array(A*2),e=0;et&&(t=x[o]),x[o]>>1,w;p.dtype||(p.dtype=\"array\"),typeof p.dtype==\"string\"?w=new(n(p.dtype))(_):p.dtype&&(w=p.dtype,Array.isArray(w)&&(w.length=_));for(let L=0;L<_;++L)w[L]=L;let M=[],E=[],m=[],b=[];u(0,0,1,w,0,1);let v=0;for(let L=0;Ld||I>a){for(let re=0;reie||W>ce||Q=se||j===ee)return;let xe=M[ae];ee===void 0&&(ee=xe.length);for(let Me=j;Me=B&&ue<=I&&Oe>=O&&Oe<=N&&fe.push(pe)}let Te=E[ae],Ue=Te[j*4+0],Ie=Te[j*4+1],Ye=Te[j*4+2],it=Te[j*4+3],at=$(Te,j+1),tt=re*.5,ut=ae+1;G(J,X,tt,ut,Ue,Ie||Ye||it||at),G(J,X+tt,tt,ut,Ie,Ye||it||at),G(J+tt,X,tt,ut,Ye,it||at),G(J+tt,X+tt,tt,ut,it,at)}function $(J,X){let re=null,ae=0;for(;re===null;)if(re=J[X*4+ae],ae++,ae>J.length)return null;return re}return fe}function f(L,z,F,B,O){let I=[];for(let N=0;N1&&(h=1),h<-1&&(h=-1),c*Math.acos(h)},t=function(n,i,a,s,c,h,p,d,T,l,_,w){var M=Math.pow(c,2),E=Math.pow(h,2),m=Math.pow(_,2),b=Math.pow(w,2),v=M*E-M*b-E*m;v<0&&(v=0),v/=M*b+E*m,v=Math.sqrt(v)*(p===d?-1:1);var u=v*c/h*w,y=v*-h/c*_,f=l*u-T*y+(n+a)/2,P=T*u+l*y+(i+s)/2,L=(_-u)/c,z=(w-y)/h,F=(-_-u)/c,B=(-w-y)/h,O=e(1,0,L,z),I=e(L,z,F,B);return d===0&&I>0&&(I-=x),d===1&&I<0&&(I+=x),[f,P,O,I]},r=function(n){var i=n.px,a=n.py,s=n.cx,c=n.cy,h=n.rx,p=n.ry,d=n.xAxisRotation,T=d===void 0?0:d,l=n.largeArcFlag,_=l===void 0?0:l,w=n.sweepFlag,M=w===void 0?0:w,E=[];if(h===0||p===0)return[];var m=Math.sin(T*x/360),b=Math.cos(T*x/360),v=b*(i-s)/2+m*(a-c)/2,u=-m*(i-s)/2+b*(a-c)/2;if(v===0&&u===0)return[];h=Math.abs(h),p=Math.abs(p);var y=Math.pow(v,2)/Math.pow(h,2)+Math.pow(u,2)/Math.pow(p,2);y>1&&(h*=Math.sqrt(y),p*=Math.sqrt(y));var f=t(i,a,s,c,h,p,_,M,m,b,v,u),P=g(f,4),L=P[0],z=P[1],F=P[2],B=P[3],O=Math.abs(B)/(x/4);Math.abs(1-O)<1e-7&&(O=1);var I=Math.max(Math.ceil(O),1);B/=I;for(var N=0;N4?(o=l[l.length-4],n=l[l.length-3]):(o=h,n=p),r.push(l)}return r}function A(e,t,r,o){return[\"C\",e,t,r,o,r,o]}function S(e,t,r,o,n,i){return[\"C\",e/3+2/3*r,t/3+2/3*o,n/3+2/3*r,i/3+2/3*o,n,i]}}}),bA=ke({\"node_modules/is-svg-path/index.js\"(Z,H){\"use strict\";H.exports=function(x){return typeof x!=\"string\"?!1:(x=x.trim(),!!(/^[mzlhvcsqta]\\s*[-+.0-9][^mlhvzcsqta]+/i.test(x)&&/[\\dz]$/i.test(x)&&x.length>4))}}}),L6=ke({\"node_modules/svg-path-bounds/index.js\"(Z,H){\"use strict\";var g=$y(),x=xA(),A=k6(),S=bA(),e=w0();H.exports=t;function t(r){if(Array.isArray(r)&&r.length===1&&typeof r[0]==\"string\"&&(r=r[0]),typeof r==\"string\"&&(e(S(r),\"String is not an SVG path.\"),r=g(r)),e(Array.isArray(r),\"Argument should be a string or an array of path segments.\"),r=x(r),r=A(r),!r.length)return[0,0,0,0];for(var o=[1/0,1/0,-1/0,-1/0],n=0,i=r.length;no[2]&&(o[2]=a[s+0]),a[s+1]>o[3]&&(o[3]=a[s+1]);return o}}}),P6=ke({\"node_modules/normalize-svg-path/index.js\"(Z,H){var g=Math.PI,x=o(120);H.exports=A;function A(n){for(var i,a=[],s=0,c=0,h=0,p=0,d=null,T=null,l=0,_=0,w=0,M=n.length;w7&&(a.push(E.splice(0,7)),E.unshift(\"C\"));break;case\"S\":var b=l,v=_;(i==\"C\"||i==\"S\")&&(b+=b-s,v+=v-c),E=[\"C\",b,v,E[1],E[2],E[3],E[4]];break;case\"T\":i==\"Q\"||i==\"T\"?(d=l*2-d,T=_*2-T):(d=l,T=_),E=e(l,_,d,T,E[1],E[2]);break;case\"Q\":d=E[1],T=E[2],E=e(l,_,E[1],E[2],E[3],E[4]);break;case\"L\":E=S(l,_,E[1],E[2]);break;case\"H\":E=S(l,_,E[1],_);break;case\"V\":E=S(l,_,l,E[1]);break;case\"Z\":E=S(l,_,h,p);break}i=m,l=E[E.length-2],_=E[E.length-1],E.length>4?(s=E[E.length-4],c=E[E.length-3]):(s=l,c=_),a.push(E)}return a}function S(n,i,a,s){return[\"C\",n,i,a,s,a,s]}function e(n,i,a,s,c,h){return[\"C\",n/3+2/3*a,i/3+2/3*s,c/3+2/3*a,h/3+2/3*s,c,h]}function t(n,i,a,s,c,h,p,d,T,l){if(l)f=l[0],P=l[1],u=l[2],y=l[3];else{var _=r(n,i,-c);n=_.x,i=_.y,_=r(d,T,-c),d=_.x,T=_.y;var w=(n-d)/2,M=(i-T)/2,E=w*w/(a*a)+M*M/(s*s);E>1&&(E=Math.sqrt(E),a=E*a,s=E*s);var m=a*a,b=s*s,v=(h==p?-1:1)*Math.sqrt(Math.abs((m*b-m*M*M-b*w*w)/(m*M*M+b*w*w)));v==1/0&&(v=1);var u=v*a*M/s+(n+d)/2,y=v*-s*w/a+(i+T)/2,f=Math.asin(((i-y)/s).toFixed(9)),P=Math.asin(((T-y)/s).toFixed(9));f=nP&&(f=f-g*2),!p&&P>f&&(P=P-g*2)}if(Math.abs(P-f)>x){var L=P,z=d,F=T;P=f+x*(p&&P>f?1:-1),d=u+a*Math.cos(P),T=y+s*Math.sin(P);var B=t(d,T,a,s,c,0,p,z,F,[P,L,u,y])}var O=Math.tan((P-f)/4),I=4/3*a*O,N=4/3*s*O,U=[2*n-(n+I*Math.sin(f)),2*i-(i-N*Math.cos(f)),d+I*Math.sin(P),T-N*Math.cos(P),d,T];if(l)return U;B&&(U=U.concat(B));for(var W=0;W0?r.strokeStyle=\"white\":r.strokeStyle=\"black\",r.lineWidth=Math.abs(d)),r.translate(c*.5,h*.5),r.scale(_,_),i()){var w=new Path2D(a);r.fill(w),d&&r.stroke(w)}else{var M=x(a);A(r,M),r.fill(),d&&r.stroke()}r.setTransform(1,0,0,1,0,0);var E=e(r,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:p*.5});return E}var n;function i(){if(n!=null)return n;var a=document.createElement(\"canvas\").getContext(\"2d\");if(a.canvas.width=a.canvas.height=1,!window.Path2D)return n=!1;var s=new Path2D(\"M0,0h1v1h-1v-1Z\");a.fillStyle=\"black\",a.fill(s);var c=a.getImageData(0,0,1,1);return n=c&&c.data&&c.data[3]===255}}}),eg=ke({\"src/traces/scattergl/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=D6(),A=Zp(),S=lo(),e=un(),t=e.isArrayOrTypedArray,r=$o(),o=qc(),n=np().formatColor,i=vu(),a=Hg(),s=ab(),c=$p(),h=Lp().DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},d=gd().appendArrayPointValue;function T(B,O){var I,N={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},U=B._context.plotGlPixelRatio;if(O.visible!==!0)return N;if(i.hasText(O)&&(N.text=l(B,O),N.textSel=E(B,O,O.selected),N.textUnsel=E(B,O,O.unselected)),i.hasMarkers(O)&&(N.marker=w(B,O),N.markerSel=M(B,O,O.selected),N.markerUnsel=M(B,O,O.unselected),!O.unselected&&t(O.marker.opacity))){var W=O.marker.opacity;for(N.markerUnsel.opacity=new Array(W.length),I=0;I500?\"bold\":\"normal\":B}function w(B,O){var I=O._length,N=O.marker,U={},W,Q=t(N.symbol),le=t(N.angle),se=t(N.color),fe=t(N.line.color),G=t(N.opacity),$=t(N.size),J=t(N.line.width),X;if(Q||(X=s.isOpenSymbol(N.symbol)),Q||se||fe||G||le){U.symbols=new Array(I),U.angles=new Array(I),U.colors=new Array(I),U.borderColors=new Array(I);var re=N.symbol,ae=N.angle,j=n(N,N.opacity,I),ee=n(N.line,N.opacity,I);if(!t(ee[0])){var ie=ee;for(ee=Array(I),W=0;Wc.TOO_MANY_POINTS||i.hasMarkers(O)?\"rect\":\"round\";if(fe&&O.connectgaps){var $=W[0],J=W[1];for(Q=0;Q1?se[Q]:se[0]:se,X=t(fe)?fe.length>1?fe[Q]:fe[0]:fe,re=p[J],ae=p[X],j=G?G/.8+1:0,ee=-ae*j-ae*.5;W.offset[Q]=[re*j/$,ee/$]}}return W}H.exports={style:T,markerStyle:w,markerSelection:M,linePositions:L,errorBarPositions:z,textPosition:F}}}),wA=ke({\"src/traces/scattergl/scene_update.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=S._scene,t={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},r={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return S._scene||(e=S._scene={},e.init=function(){g.extendFlat(e,r,t)},e.init(),e.update=function(n){var i=g.repeat(n,e.count);if(e.fill2d&&e.fill2d.update(i),e.scatter2d&&e.scatter2d.update(i),e.line2d&&e.line2d.update(i),e.error2d&&e.error2d.update(i.concat(i)),e.select2d&&e.select2d.update(i),e.glText)for(var a=0;a=h,u=b*2,y={},f,P=M.makeCalcdata(_,\"x\"),L=E.makeCalcdata(_,\"y\"),z=e(_,M,\"x\",P),F=e(_,E,\"y\",L),B=z.vals,O=F.vals;_._x=B,_._y=O,_.xperiodalignment&&(_._origX=P,_._xStarts=z.starts,_._xEnds=z.ends),_.yperiodalignment&&(_._origY=L,_._yStarts=F.starts,_._yEnds=F.ends);var I=new Array(u),N=new Array(b);for(f=0;f1&&x.extendFlat(m.line,a.linePositions(T,_,w)),m.errorX||m.errorY){var b=a.errorBarPositions(T,_,w,M,E);m.errorX&&x.extendFlat(m.errorX,b.x),m.errorY&&x.extendFlat(m.errorY,b.y)}return m.text&&(x.extendFlat(m.text,{positions:w},a.textPosition(T,_,m.text,m.marker)),x.extendFlat(m.textSel,{positions:w},a.textPosition(T,_,m.text,m.markerSel)),x.extendFlat(m.textUnsel,{positions:w},a.textPosition(T,_,m.text,m.markerUnsel))),m}}}),TA=ke({\"src/traces/scattergl/edit_style.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=Lp().DESELECTDIM;function S(e){var t=e[0],r=t.trace,o=t.t,n=o._scene,i=o.index,a=n.selectBatch[i],s=n.unselectBatch[i],c=n.textOptions[i],h=n.textSelectedOptions[i]||{},p=n.textUnselectedOptions[i]||{},d=g.extendFlat({},c),T,l;if(a.length||s.length){var _=h.color,w=p.color,M=c.color,E=g.isArrayOrTypedArray(M);for(d.color=new Array(r._length),T=0;T>>24,r=(S&16711680)>>>16,o=(S&65280)>>>8,n=S&255;return e===!1?[t,r,o,n]:[t/255,r/255,o/255,n/255]}}}),Rf=ke({\"node_modules/object-assign/index.js\"(Z,H){\"use strict\";var g=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function S(t){if(t==null)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(t)}function e(){try{if(!Object.assign)return!1;var t=new String(\"abc\");if(t[5]=\"de\",Object.getOwnPropertyNames(t)[0]===\"5\")return!1;for(var r={},o=0;o<10;o++)r[\"_\"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(n.join(\"\")!==\"0123456789\")return!1;var i={};return\"abcdefghijklmnopqrst\".split(\"\").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join(\"\")===\"abcdefghijklmnopqrst\"}catch{return!1}}H.exports=e()?Object.assign:function(t,r){for(var o,n=S(t),i,a=1;ay.length)&&(f=y.length);for(var P=0,L=new Array(f);P 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n`]),se.vert=d([`precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\n// \\`invariant\\` effectively turns off optimizations for the position.\n// We need this because -fast-math on M1 Macs is re-ordering\n// floating point operations in a way that causes floating point\n// precision limits to put points in the wrong locations.\ninvariant gl_Position;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 paletteSize, scale, scaleFract, translate, translateFract;\nuniform sampler2D paletteTexture;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(paletteTexture,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = (size + borderSize) * pointSizeScale;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n fragColor = color;\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n fragWidth = 1. / gl_PointSize;\n}\n`]),w&&(se.frag=se.frag.replace(\"smoothstep\",\"smoothStep\"),le.frag=le.frag.replace(\"smoothstep\",\"smoothStep\")),this.drawCircle=y(se)}b.defaults={color:\"black\",borderColor:\"transparent\",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,P=new Array(f),L=0;Lpe)?ut.tree=h(tt,{bounds:et}):pe&&pe.length&&(ut.tree=pe),ut.tree){var Lt={primitive:\"points\",usage:\"static\",data:ut.tree,type:\"uint32\"};ut.elements?ut.elements(Lt):ut.elements=B.elements(Lt)}var Et=M.float32(tt);ue({data:Et,usage:\"dynamic\"});var Bt=M.fract32(tt,Et);return Oe({data:Bt,usage:\"dynamic\"}),rt({data:new Uint8Array(ot),type:\"uint8\",usage:\"stream\"}),tt}},{marker:function(tt,ut,Me){var pe=ut.activation;if(pe.forEach(function(Bt){return Bt&&Bt.destroy&&Bt.destroy()}),pe.length=0,!tt||typeof tt[0]==\"number\"){var ue=y.addMarker(tt);pe[ue]=!0}else{for(var Oe=[],rt=0,ot=Math.min(tt.length,ut.count);rt=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var B=0,O=y.length;BL*4&&(this.tooManyColors=!0),this.updatePalette(P),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,P=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z80*I){le=fe=B[0],se=G=B[1];for(var re=I;refe&&(fe=$),J>G&&(G=J);X=Math.max(fe-le,G-se),X=X!==0?32767/X:0}return S(W,Q,I,le,se,X,0),Q}function x(B,O,I,N,U){var W,Q;if(U===F(B,O,I,N)>0)for(W=O;W=O;W-=N)Q=P(W,B[W],B[W+1],Q);return Q&&M(Q,Q.next)&&(L(Q),Q=Q.next),Q}function A(B,O){if(!B)return B;O||(O=B);var I=B,N;do if(N=!1,!I.steiner&&(M(I,I.next)||w(I.prev,I,I.next)===0)){if(L(I),I=O=I.prev,I===I.next)break;N=!0}else I=I.next;while(N||I!==O);return O}function S(B,O,I,N,U,W,Q){if(B){!Q&&W&&h(B,N,U,W);for(var le=B,se,fe;B.prev!==B.next;){if(se=B.prev,fe=B.next,W?t(B,N,U,W):e(B)){O.push(se.i/I|0),O.push(B.i/I|0),O.push(fe.i/I|0),L(B),B=fe.next,le=fe.next;continue}if(B=fe,B===le){Q?Q===1?(B=r(A(B),O,I),S(B,O,I,N,U,W,2)):Q===2&&o(B,O,I,N,U,W):S(A(B),O,I,N,U,W,1);break}}}}function e(B){var O=B.prev,I=B,N=B.next;if(w(O,I,N)>=0)return!1;for(var U=O.x,W=I.x,Q=N.x,le=O.y,se=I.y,fe=N.y,G=UW?U>Q?U:Q:W>Q?W:Q,X=le>se?le>fe?le:fe:se>fe?se:fe,re=N.next;re!==O;){if(re.x>=G&&re.x<=J&&re.y>=$&&re.y<=X&&l(U,le,W,se,Q,fe,re.x,re.y)&&w(re.prev,re,re.next)>=0)return!1;re=re.next}return!0}function t(B,O,I,N){var U=B.prev,W=B,Q=B.next;if(w(U,W,Q)>=0)return!1;for(var le=U.x,se=W.x,fe=Q.x,G=U.y,$=W.y,J=Q.y,X=lese?le>fe?le:fe:se>fe?se:fe,j=G>$?G>J?G:J:$>J?$:J,ee=d(X,re,O,I,N),ie=d(ae,j,O,I,N),ce=B.prevZ,xe=B.nextZ;ce&&ce.z>=ee&&xe&&xe.z<=ie;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0||(ce=ce.prevZ,xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0))return!1;xe=xe.nextZ}for(;ce&&ce.z>=ee;){if(ce.x>=X&&ce.x<=ae&&ce.y>=re&&ce.y<=j&&ce!==U&&ce!==Q&&l(le,G,se,$,fe,J,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0)return!1;ce=ce.prevZ}for(;xe&&xe.z<=ie;){if(xe.x>=X&&xe.x<=ae&&xe.y>=re&&xe.y<=j&&xe!==U&&xe!==Q&&l(le,G,se,$,fe,J,xe.x,xe.y)&&w(xe.prev,xe,xe.next)>=0)return!1;xe=xe.nextZ}return!0}function r(B,O,I){var N=B;do{var U=N.prev,W=N.next.next;!M(U,W)&&E(U,N,N.next,W)&&u(U,W)&&u(W,U)&&(O.push(U.i/I|0),O.push(N.i/I|0),O.push(W.i/I|0),L(N),L(N.next),N=B=W),N=N.next}while(N!==B);return A(N)}function o(B,O,I,N,U,W){var Q=B;do{for(var le=Q.next.next;le!==Q.prev;){if(Q.i!==le.i&&_(Q,le)){var se=f(Q,le);Q=A(Q,Q.next),se=A(se,se.next),S(Q,O,I,N,U,W,0),S(se,O,I,N,U,W,0);return}le=le.next}Q=Q.next}while(Q!==B)}function n(B,O,I,N){var U=[],W,Q,le,se,fe;for(W=0,Q=O.length;W=I.next.y&&I.next.y!==I.y){var le=I.x+(U-I.y)*(I.next.x-I.x)/(I.next.y-I.y);if(le<=N&&le>W&&(W=le,Q=I.x=I.x&&I.x>=fe&&N!==I.x&&l(UQ.x||I.x===Q.x&&c(Q,I)))&&(Q=I,$=J)),I=I.next;while(I!==se);return Q}function c(B,O){return w(B.prev,B,O.prev)<0&&w(O.next,B,B.next)<0}function h(B,O,I,N){var U=B;do U.z===0&&(U.z=d(U.x,U.y,O,I,N)),U.prevZ=U.prev,U.nextZ=U.next,U=U.next;while(U!==B);U.prevZ.nextZ=null,U.prevZ=null,p(U)}function p(B){var O,I,N,U,W,Q,le,se,fe=1;do{for(I=B,B=null,W=null,Q=0;I;){for(Q++,N=I,le=0,O=0;O0||se>0&&N;)le!==0&&(se===0||!N||I.z<=N.z)?(U=I,I=I.nextZ,le--):(U=N,N=N.nextZ,se--),W?W.nextZ=U:B=U,U.prevZ=W,W=U;I=N}W.nextZ=null,fe*=2}while(Q>1);return B}function d(B,O,I,N,U){return B=(B-I)*U|0,O=(O-N)*U|0,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,O=(O|O<<8)&16711935,O=(O|O<<4)&252645135,O=(O|O<<2)&858993459,O=(O|O<<1)&1431655765,B|O<<1}function T(B){var O=B,I=B;do(O.x=(B-Q)*(W-le)&&(B-Q)*(N-le)>=(I-Q)*(O-le)&&(I-Q)*(W-le)>=(U-Q)*(N-le)}function _(B,O){return B.next.i!==O.i&&B.prev.i!==O.i&&!v(B,O)&&(u(B,O)&&u(O,B)&&y(B,O)&&(w(B.prev,B,O.prev)||w(B,O.prev,O))||M(B,O)&&w(B.prev,B,B.next)>0&&w(O.prev,O,O.next)>0)}function w(B,O,I){return(O.y-B.y)*(I.x-O.x)-(O.x-B.x)*(I.y-O.y)}function M(B,O){return B.x===O.x&&B.y===O.y}function E(B,O,I,N){var U=b(w(B,O,I)),W=b(w(B,O,N)),Q=b(w(I,N,B)),le=b(w(I,N,O));return!!(U!==W&&Q!==le||U===0&&m(B,I,O)||W===0&&m(B,N,O)||Q===0&&m(I,B,N)||le===0&&m(I,O,N))}function m(B,O,I){return O.x<=Math.max(B.x,I.x)&&O.x>=Math.min(B.x,I.x)&&O.y<=Math.max(B.y,I.y)&&O.y>=Math.min(B.y,I.y)}function b(B){return B>0?1:B<0?-1:0}function v(B,O){var I=B;do{if(I.i!==B.i&&I.next.i!==B.i&&I.i!==O.i&&I.next.i!==O.i&&E(I,I.next,B,O))return!0;I=I.next}while(I!==B);return!1}function u(B,O){return w(B.prev,B,B.next)<0?w(B,O,B.next)>=0&&w(B,B.prev,O)>=0:w(B,O,B.prev)<0||w(B,B.next,O)<0}function y(B,O){var I=B,N=!1,U=(B.x+O.x)/2,W=(B.y+O.y)/2;do I.y>W!=I.next.y>W&&I.next.y!==I.y&&U<(I.next.x-I.x)*(W-I.y)/(I.next.y-I.y)+I.x&&(N=!N),I=I.next;while(I!==B);return N}function f(B,O){var I=new z(B.i,B.x,B.y),N=new z(O.i,O.x,O.y),U=B.next,W=O.prev;return B.next=O,O.prev=B,I.next=U,U.prev=I,N.next=I,I.prev=N,W.next=N,N.prev=W,N}function P(B,O,I,N){var U=new z(B,O,I);return N?(U.next=N.next,U.prev=N,N.next.prev=U,N.next=U):(U.prev=U,U.next=U),U}function L(B){B.next.prev=B.prev,B.prev.next=B.next,B.prevZ&&(B.prevZ.nextZ=B.nextZ),B.nextZ&&(B.nextZ.prevZ=B.prevZ)}function z(B,O,I){this.i=B,this.x=O,this.y=I,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}g.deviation=function(B,O,I,N){var U=O&&O.length,W=U?O[0]*I:B.length,Q=Math.abs(F(B,0,W,I));if(U)for(var le=0,se=O.length;le0&&(N+=B[U-1].length,I.holes.push(N))}return I}}}),j6=ke({\"node_modules/array-normalize/index.js\"(Z,H){\"use strict\";var g=$m();H.exports=x;function x(A,S,e){if(!A||A.length==null)throw Error(\"Argument should be an array\");S==null&&(S=1),e==null&&(e=g(A,S));for(var t=0;t-1}}}),IA=ke({\"node_modules/es5-ext/string/#/contains/index.js\"(Z,H){\"use strict\";H.exports=eR()()?String.prototype.contains:tR()}}),ap=ke({\"node_modules/d/index.js\"(Z,H){\"use strict\";var g=tg(),x=LA(),A=cb(),S=PA(),e=IA(),t=H.exports=function(r,o){var n,i,a,s,c;return arguments.length<2||typeof r!=\"string\"?(s=o,o=r,r=null):s=arguments[2],g(r)?(n=e.call(r,\"c\"),i=e.call(r,\"e\"),a=e.call(r,\"w\")):(n=a=!0,i=!1),c={value:o,configurable:n,enumerable:i,writable:a},s?A(S(s),c):c};t.gs=function(r,o,n){var i,a,s,c;return typeof r!=\"string\"?(s=n,n=o,o=r,r=null):s=arguments[3],g(o)?x(o)?g(n)?x(n)||(s=n,n=void 0):n=void 0:(s=o,o=n=void 0):o=void 0,g(r)?(i=e.call(r,\"c\"),a=e.call(r,\"e\")):(i=!0,a=!1),c={get:o,set:n,configurable:i,enumerable:a},s?A(S(s),c):c}}}),X0=ke({\"node_modules/es5-ext/function/is-arguments.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=g.call(function(){return arguments}());H.exports=function(A){return g.call(A)===x}}}),Z0=ke({\"node_modules/es5-ext/string/is-string.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=g.call(\"\");H.exports=function(A){return typeof A==\"string\"||A&&typeof A==\"object\"&&(A instanceof String||g.call(A)===x)||!1}}}),rR=ke({\"node_modules/ext/global-this/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){return typeof globalThis!=\"object\"||!globalThis?!1:globalThis.Array===Array}}}),nR=ke({\"node_modules/ext/global-this/implementation.js\"(Z,H){var g=function(){if(typeof self==\"object\"&&self)return self;if(typeof window==\"object\"&&window)return window;throw new Error(\"Unable to resolve global `this`\")};H.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,\"__global__\",{get:function(){return this},configurable:!0})}catch{return g()}try{return __global__||g()}finally{delete Object.prototype.__global__}}()}}),Y0=ke({\"node_modules/ext/global-this/index.js\"(Z,H){\"use strict\";H.exports=rR()()?globalThis:nR()}}),iR=ke({\"node_modules/es6-symbol/is-implemented.js\"(Z,H){\"use strict\";var g=Y0(),x={object:!0,symbol:!0};H.exports=function(){var A=g.Symbol,S;if(typeof A!=\"function\")return!1;S=A(\"test symbol\");try{String(S)}catch{return!1}return!(!x[typeof A.iterator]||!x[typeof A.toPrimitive]||!x[typeof A.toStringTag])}}}),aR=ke({\"node_modules/es6-symbol/is-symbol.js\"(Z,H){\"use strict\";H.exports=function(g){return g?typeof g==\"symbol\"?!0:!g.constructor||g.constructor.name!==\"Symbol\"?!1:g[g.constructor.toStringTag]===\"Symbol\":!1}}}),RA=ke({\"node_modules/es6-symbol/validate-symbol.js\"(Z,H){\"use strict\";var g=aR();H.exports=function(x){if(!g(x))throw new TypeError(x+\" is not a symbol\");return x}}}),oR=ke({\"node_modules/es6-symbol/lib/private/generate-name.js\"(Z,H){\"use strict\";var g=ap(),x=Object.create,A=Object.defineProperty,S=Object.prototype,e=x(null);H.exports=function(t){for(var r=0,o,n;e[t+(r||\"\")];)++r;return t+=r||\"\",e[t]=!0,o=\"@@\"+t,A(S,o,g.gs(null,function(i){n||(n=!0,A(this,o,g(i)),n=!1)})),o}}}),sR=ke({\"node_modules/es6-symbol/lib/private/setup/standard-symbols.js\"(Z,H){\"use strict\";var g=ap(),x=Y0().Symbol;H.exports=function(A){return Object.defineProperties(A,{hasInstance:g(\"\",x&&x.hasInstance||A(\"hasInstance\")),isConcatSpreadable:g(\"\",x&&x.isConcatSpreadable||A(\"isConcatSpreadable\")),iterator:g(\"\",x&&x.iterator||A(\"iterator\")),match:g(\"\",x&&x.match||A(\"match\")),replace:g(\"\",x&&x.replace||A(\"replace\")),search:g(\"\",x&&x.search||A(\"search\")),species:g(\"\",x&&x.species||A(\"species\")),split:g(\"\",x&&x.split||A(\"split\")),toPrimitive:g(\"\",x&&x.toPrimitive||A(\"toPrimitive\")),toStringTag:g(\"\",x&&x.toStringTag||A(\"toStringTag\")),unscopables:g(\"\",x&&x.unscopables||A(\"unscopables\"))})}}}),lR=ke({\"node_modules/es6-symbol/lib/private/setup/symbol-registry.js\"(Z,H){\"use strict\";var g=ap(),x=RA(),A=Object.create(null);H.exports=function(S){return Object.defineProperties(S,{for:g(function(e){return A[e]?A[e]:A[e]=S(String(e))}),keyFor:g(function(e){var t;x(e);for(t in A)if(A[t]===e)return t})})}}}),uR=ke({\"node_modules/es6-symbol/polyfill.js\"(Z,H){\"use strict\";var g=ap(),x=RA(),A=Y0().Symbol,S=oR(),e=sR(),t=lR(),r=Object.create,o=Object.defineProperties,n=Object.defineProperty,i,a,s;if(typeof A==\"function\")try{String(A()),s=!0}catch{}else A=null;a=function(h){if(this instanceof a)throw new TypeError(\"Symbol is not a constructor\");return i(h)},H.exports=i=function c(h){var p;if(this instanceof c)throw new TypeError(\"Symbol is not a constructor\");return s?A(h):(p=r(a.prototype),h=h===void 0?\"\":String(h),o(p,{__description__:g(\"\",h),__name__:g(\"\",S(h))}))},e(i),t(i),o(a.prototype,{constructor:g(i),toString:g(\"\",function(){return this.__name__})}),o(i.prototype,{toString:g(function(){return\"Symbol (\"+x(this).__description__+\")\"}),valueOf:g(function(){return x(this)})}),n(i.prototype,i.toPrimitive,g(\"\",function(){var c=x(this);return typeof c==\"symbol\"?c:c.toString()})),n(i.prototype,i.toStringTag,g(\"c\",\"Symbol\")),n(a.prototype,i.toStringTag,g(\"c\",i.prototype[i.toStringTag])),n(a.prototype,i.toPrimitive,g(\"c\",i.prototype[i.toPrimitive]))}}),em=ke({\"node_modules/es6-symbol/index.js\"(Z,H){\"use strict\";H.exports=iR()()?Y0().Symbol:uR()}}),cR=ke({\"node_modules/es5-ext/array/#/clear.js\"(Z,H){\"use strict\";var g=ip();H.exports=function(){return g(this).length=0,this}}}),gy=ke({\"node_modules/es5-ext/object/valid-callable.js\"(Z,H){\"use strict\";H.exports=function(g){if(typeof g!=\"function\")throw new TypeError(g+\" is not a function\");return g}}}),fR=ke({\"node_modules/type/string/coerce.js\"(Z,H){\"use strict\";var g=tg(),x=ub(),A=Object.prototype.toString;H.exports=function(S){if(!g(S))return null;if(x(S)){var e=S.toString;if(typeof e!=\"function\"||e===A)return null}try{return\"\"+S}catch{return null}}}}),hR=ke({\"node_modules/type/lib/safe-to-string.js\"(Z,H){\"use strict\";H.exports=function(g){try{return g.toString()}catch{try{return String(g)}catch{return null}}}}}),dR=ke({\"node_modules/type/lib/to-short-string.js\"(Z,H){\"use strict\";var g=hR(),x=/[\\n\\r\\u2028\\u2029]/g;H.exports=function(A){var S=g(A);return S===null?\"\":(S.length>100&&(S=S.slice(0,99)+\"\\u2026\"),S=S.replace(x,function(e){switch(e){case`\n`:return\"\\\\n\";case\"\\r\":return\"\\\\r\";case\"\\u2028\":return\"\\\\u2028\";case\"\\u2029\":return\"\\\\u2029\";default:throw new Error(\"Unexpected character\")}}),S)}}}),DA=ke({\"node_modules/type/lib/resolve-exception.js\"(Z,H){\"use strict\";var g=tg(),x=ub(),A=fR(),S=dR(),e=function(t,r){return t.replace(\"%v\",S(r))};H.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!g(t)){if(\"default\"in o)return o.default;if(o.isOptional)return null}var n=A(o.errorMessage);throw g(n)||(n=r),new TypeError(e(n,t))}}}),vR=ke({\"node_modules/type/value/ensure.js\"(Z,H){\"use strict\";var g=DA(),x=tg();H.exports=function(A){return x(A)?A:g(A,\"Cannot use %v\",arguments[1])}}}),pR=ke({\"node_modules/type/plain-function/ensure.js\"(Z,H){\"use strict\";var g=DA(),x=LA();H.exports=function(A){return x(A)?A:g(A,\"%v is not a plain function\",arguments[1])}}}),mR=ke({\"node_modules/es5-ext/array/from/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){var g=Array.from,x,A;return typeof g!=\"function\"?!1:(x=[\"raz\",\"dwa\"],A=g(x),!!(A&&A!==x&&A[1]===\"dwa\"))}}}),gR=ke({\"node_modules/es5-ext/function/is-function.js\"(Z,H){\"use strict\";var g=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);H.exports=function(A){return typeof A==\"function\"&&x(g.call(A))}}}),yR=ke({\"node_modules/es5-ext/math/sign/is-implemented.js\"(Z,H){\"use strict\";H.exports=function(){var g=Math.sign;return typeof g!=\"function\"?!1:g(10)===1&&g(-20)===-1}}}),_R=ke({\"node_modules/es5-ext/math/sign/shim.js\"(Z,H){\"use strict\";H.exports=function(g){return g=Number(g),isNaN(g)||g===0?g:g>0?1:-1}}}),xR=ke({\"node_modules/es5-ext/math/sign/index.js\"(Z,H){\"use strict\";H.exports=yR()()?Math.sign:_R()}}),bR=ke({\"node_modules/es5-ext/number/to-integer.js\"(Z,H){\"use strict\";var g=xR(),x=Math.abs,A=Math.floor;H.exports=function(S){return isNaN(S)?0:(S=Number(S),S===0||!isFinite(S)?S:g(S)*A(x(S)))}}}),wR=ke({\"node_modules/es5-ext/number/to-pos-integer.js\"(Z,H){\"use strict\";var g=bR(),x=Math.max;H.exports=function(A){return x(0,g(A))}}}),TR=ke({\"node_modules/es5-ext/array/from/shim.js\"(Z,H){\"use strict\";var g=em().iterator,x=X0(),A=gR(),S=wR(),e=gy(),t=ip(),r=Qp(),o=Z0(),n=Array.isArray,i=Function.prototype.call,a={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;H.exports=function(c){var h=arguments[1],p=arguments[2],d,T,l,_,w,M,E,m,b,v;if(c=Object(t(c)),r(h)&&e(h),!this||this===Array||!A(this)){if(!h){if(x(c))return w=c.length,w!==1?Array.apply(null,c):(_=new Array(1),_[0]=c[0],_);if(n(c)){for(_=new Array(w=c.length),T=0;T=55296&&M<=56319&&(v+=c[++T])),v=h?i.call(h,p,v,l):v,d?(a.value=v,s(_,l,a)):_[l]=v,++l;w=l}}if(w===void 0)for(w=S(c.length),d&&(_=new d(w)),T=0;T=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,\"__redo__\",e(\"c\",[a]));return}this.__redo__.forEach(function(s,c){s>=a&&(this.__redo__[c]=++s)},this),this.__redo__.push(a)}}),_onDelete:e(function(a){var s;a>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(a),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(c,h){c>a&&(this.__redo__[h]=--c)},this)))}),_onClear:e(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),o(i.prototype,r.iterator,e(function(){return this}))}}),LR=ke({\"node_modules/es6-iterator/array.js\"(Z,H){\"use strict\";var g=lb(),x=IA(),A=ap(),S=em(),e=zA(),t=Object.defineProperty,r;r=H.exports=function(o,n){if(!(this instanceof r))throw new TypeError(\"Constructor requires 'new'\");e.call(this,o),n?x.call(n,\"key+value\")?n=\"key+value\":x.call(n,\"key\")?n=\"key\":n=\"value\":n=\"value\",t(this,\"__kind__\",A(\"\",n))},g&&g(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:A(function(o){return this.__kind__===\"value\"?this.__list__[o]:this.__kind__===\"key+value\"?[o,this.__list__[o]]:o})}),t(r.prototype,S.toStringTag,A(\"c\",\"Array Iterator\"))}}),PR=ke({\"node_modules/es6-iterator/string.js\"(Z,H){\"use strict\";var g=lb(),x=ap(),A=em(),S=zA(),e=Object.defineProperty,t;t=H.exports=function(r){if(!(this instanceof t))throw new TypeError(\"Constructor requires 'new'\");r=String(r),S.call(this,r),e(this,\"__length__\",x(\"\",r.length))},g&&g(t,S),delete t.prototype.constructor,t.prototype=Object.create(S.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__=55296&&n<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,A.toStringTag,x(\"c\",\"String Iterator\"))}}),IR=ke({\"node_modules/es6-iterator/is-iterable.js\"(Z,H){\"use strict\";var g=X0(),x=Qp(),A=Z0(),S=em().iterator,e=Array.isArray;H.exports=function(t){return x(t)?e(t)||A(t)||g(t)?!0:typeof t[S]==\"function\":!1}}}),RR=ke({\"node_modules/es6-iterator/valid-iterable.js\"(Z,H){\"use strict\";var g=IR();H.exports=function(x){if(!g(x))throw new TypeError(x+\" is not iterable\");return x}}}),FA=ke({\"node_modules/es6-iterator/get.js\"(Z,H){\"use strict\";var g=X0(),x=Z0(),A=LR(),S=PR(),e=RR(),t=em().iterator;H.exports=function(r){return typeof e(r)[t]==\"function\"?r[t]():g(r)?new A(r):x(r)?new S(r):new A(r)}}}),DR=ke({\"node_modules/es6-iterator/for-of.js\"(Z,H){\"use strict\";var g=X0(),x=gy(),A=Z0(),S=FA(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;H.exports=function(o,n){var i,a=arguments[2],s,c,h,p,d,T,l;if(e(o)||g(o)?i=\"array\":A(o)?i=\"string\":o=S(o),x(n),c=function(){h=!0},i===\"array\"){r.call(o,function(_){return t.call(n,a,_,c),h});return}if(i===\"string\"){for(d=o.length,p=0;p=55296&&l<=56319&&(T+=o[++p])),t.call(n,a,T,c),!h);++p);return}for(s=o.next();!s.done;){if(t.call(n,a,s.value,c),h)return;s=o.next()}}}}),zR=ke({\"node_modules/es6-weak-map/is-native-implemented.js\"(Z,H){\"use strict\";H.exports=function(){return typeof WeakMap!=\"function\"?!1:Object.prototype.toString.call(new WeakMap)===\"[object WeakMap]\"}()}}),FR=ke({\"node_modules/es6-weak-map/polyfill.js\"(Z,H){\"use strict\";var g=Qp(),x=lb(),A=G6(),S=ip(),e=W6(),t=ap(),r=FA(),o=DR(),n=em().toStringTag,i=zR(),a=Array.isArray,s=Object.defineProperty,c=Object.prototype.hasOwnProperty,h=Object.getPrototypeOf,p;H.exports=p=function(){var d=arguments[0],T;if(!(this instanceof p))throw new TypeError(\"Constructor requires 'new'\");return T=i&&x&&WeakMap!==p?x(new WeakMap,h(this)):this,g(d)&&(a(d)||(d=r(d))),s(T,\"__weakMapData__\",t(\"c\",\"$weakMap$\"+e())),d&&o(d,function(l){S(l),T.set(l[0],l[1])}),T},i&&(x&&x(p,WeakMap),p.prototype=Object.create(WeakMap.prototype,{constructor:t(p)})),Object.defineProperties(p.prototype,{delete:t(function(d){return c.call(A(d),this.__weakMapData__)?(delete d[this.__weakMapData__],!0):!1}),get:t(function(d){if(c.call(A(d),this.__weakMapData__))return d[this.__weakMapData__]}),has:t(function(d){return c.call(A(d),this.__weakMapData__)}),set:t(function(d,T){return s(A(d),this.__weakMapData__,t(\"c\",T)),this}),toString:t(function(){return\"[object WeakMap]\"})}),s(p.prototype,n,t(\"c\",\"WeakMap\"))}}),OA=ke({\"node_modules/es6-weak-map/index.js\"(Z,H){\"use strict\";H.exports=V6()()?WeakMap:FR()}}),OR=ke({\"node_modules/array-find-index/index.js\"(Z,H){\"use strict\";H.exports=function(g,x,A){if(typeof Array.prototype.findIndex==\"function\")return g.findIndex(x,A);if(typeof x!=\"function\")throw new TypeError(\"predicate must be a function\");var S=Object(g),e=S.length;if(e===0)return-1;for(var t=0;t 0. && baClipping < length(normalWidth * endBotJoin)) {\n\t\t//handle miter clipping\n\t\tbTopCoord -= normalWidth * endTopJoin;\n\t\tbTopCoord += normalize(endTopJoin * normalWidth) * baClipping;\n\t}\n\n\tif (nextReverse) {\n\t\t//make join rectangular\n\t\tvec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;\n\t\tfloat normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);\n\t\tbBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\n\t\tbTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\n\t}\n\telse if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {\n\t\t//handle miter clipping\n\t\taBotCoord -= normalWidth * startBotJoin;\n\t\taBotCoord += normalize(startBotJoin * normalWidth) * abClipping;\n\t}\n\n\tvec2 aTopPosition = (aTopCoord) * adjustedScale + translate;\n\tvec2 aBotPosition = (aBotCoord) * adjustedScale + translate;\n\n\tvec2 bTopPosition = (bTopCoord) * adjustedScale + translate;\n\tvec2 bBotPosition = (bBotCoord) * adjustedScale + translate;\n\n\t//position is normalized 0..1 coord on the screen\n\tvec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;\n\n\tstartCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\tendCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tenableStartMiter = step(dot(currTangent, prevTangent), .5);\n\tenableEndMiter = step(dot(currTangent, nextTangent), .5);\n\n\t//bevel miter cutoffs\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n\n\t//round miter cutoffs\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n}\n`,l=`\nprecision highp float;\n\nuniform float dashLength, pixelRatio, thickness, opacity, id, miterMode;\nuniform sampler2D dashTexture;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\nvarying vec4 startCutoff, endCutoff;\nvarying vec2 startCoord, endCoord;\nvarying float enableStartMiter, enableEndMiter;\n\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\n\tvec2 diff = b - a;\n\tvec2 perp = normalize(vec2(-diff.y, diff.x));\n\treturn dot(p - a, perp);\n}\n\nvoid main() {\n\tfloat alpha = 1., distToStart, distToEnd;\n\tfloat cutoff = thickness * .5;\n\n\t//bevel miter\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToStart + 1., 0.), 1.);\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToEnd + 1., 0.), 1.);\n\t\t}\n\t}\n\n\t// round miter\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - startCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - endCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;\n\tfloat dash = texture2D(dashTexture, vec2(t, .5)).r;\n\n\tgl_FragColor = fragColor;\n\tgl_FragColor.a *= alpha * opacity * dash;\n}\n`;H.exports=_;function _(w,M){if(!(this instanceof _))return new _(w,M);if(typeof w==\"function\"?(M||(M={}),M.regl=w):M=w,M.length&&(M.positions=M),w=M.regl,!w.hasExtension(\"ANGLE_instanced_arrays\"))throw Error(\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\");this.gl=w._gl,this.regl=w,this.passes=[],this.shaders=_.shaders.has(w)?_.shaders.get(w):_.shaders.set(w,_.createShaders(w)).get(w),this.update(M)}_.dashMult=2,_.maxPatternLength=256,_.precisionThreshold=3e6,_.maxPoints=1e4,_.maxLines=2048,_.shaders=new i,_.createShaders=function(w){let M=w.buffer({usage:\"static\",type:\"float\",data:[0,1,0,0,1,1,1,0]}),E={primitive:\"triangle strip\",instances:w.prop(\"count\"),count:4,offset:0,uniforms:{miterMode:(u,y)=>y.join===\"round\"?2:1,miterLimit:w.prop(\"miterLimit\"),scale:w.prop(\"scale\"),scaleFract:w.prop(\"scaleFract\"),translateFract:w.prop(\"translateFract\"),translate:w.prop(\"translate\"),thickness:w.prop(\"thickness\"),dashTexture:w.prop(\"dashTexture\"),opacity:w.prop(\"opacity\"),pixelRatio:w.context(\"pixelRatio\"),id:w.prop(\"id\"),dashLength:w.prop(\"dashLength\"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight],depth:w.prop(\"depth\")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\"add\",alpha:\"add\"},func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},depth:{enable:(u,y)=>!y.overlay},stencil:{enable:!1},scissor:{enable:!0,box:w.prop(\"viewport\")},viewport:w.prop(\"viewport\")},m=w(A({vert:c,frag:h,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:16,divisor:1},color:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:0,divisor:1}}},E)),b;try{b=w(A({cull:{enable:!0,face:\"back\"},vert:T,frag:l,attributes:{lineEnd:{buffer:M,divisor:0,stride:8,offset:0},lineTop:{buffer:M,divisor:0,stride:8,offset:4},aColor:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:0,divisor:1},bColor:{buffer:w.prop(\"colorBuffer\"),stride:4,offset:4,divisor:1},prevCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:0,divisor:1},aCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8,divisor:1},bCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:16,divisor:1},nextCoord:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:24,divisor:1}}},E))}catch{b=m}return{fill:w({primitive:\"triangle\",elements:(u,y)=>y.triangles,offset:0,vert:p,frag:d,uniforms:{scale:w.prop(\"scale\"),color:w.prop(\"fill\"),scaleFract:w.prop(\"scaleFract\"),translateFract:w.prop(\"translateFract\"),translate:w.prop(\"translate\"),opacity:w.prop(\"opacity\"),pixelRatio:w.context(\"pixelRatio\"),id:w.prop(\"id\"),viewport:(u,y)=>[y.viewport.x,y.viewport.y,u.viewportWidth,u.viewportHeight]},attributes:{position:{buffer:w.prop(\"positionBuffer\"),stride:8,offset:8},positionFract:{buffer:w.prop(\"positionFractBuffer\"),stride:8,offset:8}},blend:E.blend,depth:{enable:!1},scissor:E.scissor,stencil:E.stencil,viewport:E.viewport}),rect:m,miter:b}},_.defaults={dashes:null,join:\"miter\",miterLimit:1,thickness:10,cap:\"square\",color:\"black\",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},_.prototype.render=function(...w){w.length&&this.update(...w),this.draw()},_.prototype.draw=function(...w){return(w.length?w:this.passes).forEach((M,E)=>{if(M&&Array.isArray(M))return this.draw(...M);typeof M==\"number\"&&(M=this.passes[M]),M&&M.count>1&&M.opacity&&(this.regl._refresh(),M.fill&&M.triangles&&M.triangles.length>2&&this.shaders.fill(M),M.thickness&&(M.scale[0]*M.viewport.width>_.precisionThreshold||M.scale[1]*M.viewport.height>_.precisionThreshold?this.shaders.rect(M):M.join===\"rect\"||!M.join&&(M.thickness<=2||M.count>=_.maxPoints)?this.shaders.rect(M):this.shaders.miter(M)))}),this},_.prototype.update=function(w){if(!w)return;w.length!=null?typeof w[0]==\"number\"&&(w=[{positions:w}]):Array.isArray(w)||(w=[w]);let{regl:M,gl:E}=this;if(w.forEach((b,v)=>{let u=this.passes[v];if(b!==void 0){if(b===null){this.passes[v]=null;return}if(typeof b[0]==\"number\"&&(b={positions:b}),b=S(b,{positions:\"positions points data coords\",thickness:\"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth\",join:\"lineJoin linejoin join type mode\",miterLimit:\"miterlimit miterLimit\",dashes:\"dash dashes dasharray dash-array dashArray\",color:\"color colour stroke colors colours stroke-color strokeColor\",fill:\"fill fill-color fillColor\",opacity:\"alpha opacity\",overlay:\"overlay crease overlap intersect\",close:\"closed close closed-path closePath\",range:\"range dataBox\",viewport:\"viewport viewBox\",hole:\"holes hole hollow\",splitNull:\"splitNull\"}),u||(this.passes[v]=u={id:v,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:M.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:\"linear\",min:\"linear\"}),colorBuffer:M.buffer({usage:\"dynamic\",type:\"uint8\",data:new Uint8Array}),positionBuffer:M.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array}),positionFractBuffer:M.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array})},b=A({},_.defaults,b)),b.thickness!=null&&(u.thickness=parseFloat(b.thickness)),b.opacity!=null&&(u.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(u.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(u.overlay=!!b.overlay,v<_.maxLines&&(u.depth=2*(_.maxLines-1-v%_.maxLines)/_.maxLines-1)),b.join!=null&&(u.join=b.join),b.hole!=null&&(u.hole=b.hole),b.fill!=null&&(u.fill=b.fill?g(b.fill,\"uint8\"):null),b.viewport!=null&&(u.viewport=a(b.viewport)),u.viewport||(u.viewport=a([E.drawingBufferWidth,E.drawingBufferHeight])),b.close!=null&&(u.close=b.close),b.positions===null&&(b.positions=[]),b.positions){let P,L;if(b.positions.x&&b.positions.y){let O=b.positions.x,I=b.positions.y;L=u.count=Math.max(O.length,I.length),P=new Float64Array(L*2);for(let N=0;Nse-fe),W=[],Q=0,le=u.hole!=null?u.hole[0]:null;if(le!=null){let se=s(U,fe=>fe>=le);U=U.slice(0,se),U.push(le)}for(let se=0;seJ-le+(U[se]-Q)),$=t(fe,G);$=$.map(J=>J+Q+(J+Q{w.colorBuffer.destroy(),w.positionBuffer.destroy(),w.dashTexture.destroy()}),this.passes.length=0,this}}}),BR=ke({\"node_modules/regl-error2d/index.js\"(Z,H){\"use strict\";var g=$m(),x=Zp(),A=MA(),S=Rv(),e=Rf(),t=Qm(),{float32:r,fract32:o}=sb();H.exports=i;var n=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function i(a,s){if(typeof a==\"function\"?(s||(s={}),s.regl=a):s=a,s.length&&(s.positions=s),a=s.regl,!a.hasExtension(\"ANGLE_instanced_arrays\"))throw Error(\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\");let c=a._gl,h,p,d,T,l,_,w={color:\"black\",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},M=[];return T=a.buffer({usage:\"dynamic\",type:\"uint8\",data:new Uint8Array(0)}),p=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),d=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),l=a.buffer({usage:\"dynamic\",type:\"float\",data:new Uint8Array(0)}),_=a.buffer({usage:\"static\",type:\"float\",data:n}),v(s),h=a({vert:`\n\t\tprecision highp float;\n\n\t\tattribute vec2 position, positionFract;\n\t\tattribute vec4 error;\n\t\tattribute vec4 color;\n\n\t\tattribute vec2 direction, lineOffset, capOffset;\n\n\t\tuniform vec4 viewport;\n\t\tuniform float lineWidth, capSize;\n\t\tuniform vec2 scale, scaleFract, translate, translateFract;\n\n\t\tvarying vec4 fragColor;\n\n\t\tvoid main() {\n\t\t\tfragColor = color / 255.;\n\n\t\t\tvec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;\n\n\t\t\tvec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;\n\n\t\t\tvec2 position = position + dxy;\n\n\t\t\tvec2 pos = (position + translate) * scale\n\t\t\t\t+ (positionFract + translateFract) * scale\n\t\t\t\t+ (position + translate) * scaleFract\n\t\t\t\t+ (positionFract + translateFract) * scaleFract;\n\n\t\t\tpos += pixelOffset / viewport.zw;\n\n\t\t\tgl_Position = vec4(pos * 2. - 1., 0, 1);\n\t\t}\n\t\t`,frag:`\n\t\tprecision highp float;\n\n\t\tvarying vec4 fragColor;\n\n\t\tuniform float opacity;\n\n\t\tvoid main() {\n\t\t\tgl_FragColor = fragColor;\n\t\t\tgl_FragColor.a *= opacity;\n\t\t}\n\t\t`,uniforms:{range:a.prop(\"range\"),lineWidth:a.prop(\"lineWidth\"),capSize:a.prop(\"capSize\"),opacity:a.prop(\"opacity\"),scale:a.prop(\"scale\"),translate:a.prop(\"translate\"),scaleFract:a.prop(\"scaleFract\"),translateFract:a.prop(\"translateFract\"),viewport:(y,f)=>[f.viewport.x,f.viewport.y,y.viewportWidth,y.viewportHeight]},attributes:{color:{buffer:T,offset:(y,f)=>f.offset*4,divisor:1},position:{buffer:p,offset:(y,f)=>f.offset*8,divisor:1},positionFract:{buffer:d,offset:(y,f)=>f.offset*8,divisor:1},error:{buffer:l,offset:(y,f)=>f.offset*16,divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:\"triangles\",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\"add\",alpha:\"add\"},func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},depth:{enable:!1},scissor:{enable:!0,box:a.prop(\"viewport\")},viewport:a.prop(\"viewport\"),stencil:!1,instances:a.prop(\"count\"),count:n.length}),e(E,{update:v,draw:m,destroy:u,regl:a,gl:c,canvas:c.canvas,groups:M}),E;function E(y){y?v(y):y===null&&u(),m()}function m(y){if(typeof y==\"number\")return b(y);y&&!Array.isArray(y)&&(y=[y]),a._refresh(),M.forEach((f,P)=>{if(f){if(y&&(y[P]?f.draw=!0:f.draw=!1),!f.draw){f.draw=!0;return}b(P)}})}function b(y){typeof y==\"number\"&&(y=M[y]),y!=null&&y&&y.count&&y.color&&y.opacity&&y.positions&&y.positions.length>1&&(y.scaleRatio=[y.scale[0]*y.viewport.width,y.scale[1]*y.viewport.height],h(y),y.after&&y.after(y))}function v(y){if(!y)return;y.length!=null?typeof y[0]==\"number\"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);let f=0,P=0;if(E.groups=M=y.map((F,B)=>{let O=M[B];if(F)typeof F==\"function\"?F={after:F}:typeof F[0]==\"number\"&&(F={positions:F});else return O;return F=S(F,{color:\"color colors fill\",capSize:\"capSize cap capsize cap-size\",lineWidth:\"lineWidth line-width width line thickness\",opacity:\"opacity alpha\",range:\"range dataBox\",viewport:\"viewport viewBox\",errors:\"errors error\",positions:\"positions position data points\"}),O||(M[B]=O={id:B,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},F=e({},w,F)),A(O,F,[{lineWidth:I=>+I*.5,capSize:I=>+I*.5,opacity:parseFloat,errors:I=>(I=t(I),P+=I.length,I),positions:(I,N)=>(I=t(I,\"float64\"),N.count=Math.floor(I.length/2),N.bounds=g(I,2),N.offset=f,f+=N.count,I)},{color:(I,N)=>{let U=N.count;if(I||(I=\"transparent\"),!Array.isArray(I)||typeof I[0]==\"number\"){let Q=I;I=Array(U);for(let le=0;le{let W=N.bounds;return I||(I=W),N.scale=[1/(I[2]-I[0]),1/(I[3]-I[1])],N.translate=[-I[0],-I[1]],N.scaleFract=o(N.scale),N.translateFract=o(N.translate),I},viewport:I=>{let N;return Array.isArray(I)?N={x:I[0],y:I[1],width:I[2]-I[0],height:I[3]-I[1]}:I?(N={x:I.x||I.left||0,y:I.y||I.top||0},I.right?N.width=I.right-N.x:N.width=I.w||I.width||0,I.bottom?N.height=I.bottom-N.y:N.height=I.h||I.height||0):N={x:0,y:0,width:c.drawingBufferWidth,height:c.drawingBufferHeight},N}}]),O}),f||P){let F=M.reduce((N,U,W)=>N+(U?U.count:0),0),B=new Float64Array(F*2),O=new Uint8Array(F*4),I=new Float32Array(F*4);M.forEach((N,U)=>{if(!N)return;let{positions:W,count:Q,offset:le,color:se,errors:fe}=N;Q&&(O.set(se,le*4),I.set(fe,le*4),B.set(W,le*2))});var L=r(B);p(L);var z=o(B,L);d(z),T(O),l(I)}}function u(){p.destroy(),d.destroy(),T.destroy(),l.destroy(),_.destroy()}}}}),NR=ke({\"node_modules/unquote/index.js\"(Z,H){var g=/[\\'\\\"]/;H.exports=function(A){return A?(g.test(A.charAt(0))&&(A=A.substr(1)),g.test(A.charAt(A.length-1))&&(A=A.substr(0,A.length-1)),A):\"\"}}}),NA=ke({\"node_modules/css-global-keywords/index.json\"(){}}),UA=ke({\"node_modules/css-system-font-keywords/index.json\"(){}}),jA=ke({\"node_modules/css-font-weight-keywords/index.json\"(){}}),VA=ke({\"node_modules/css-font-style-keywords/index.json\"(){}}),qA=ke({\"node_modules/css-font-stretch-keywords/index.json\"(){}}),UR=ke({\"node_modules/parenthesis/index.js\"(Z,H){\"use strict\";function g(S,e){if(typeof S!=\"string\")return[S];var t=[S];typeof e==\"string\"||Array.isArray(e)?e={brackets:e}:e||(e={});var r=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:[\"{}\",\"[]\",\"()\"],o=e.escape||\"___\",n=!!e.flat;r.forEach(function(s){var c=new RegExp([\"\\\\\",s[0],\"[^\\\\\",s[0],\"\\\\\",s[1],\"]*\\\\\",s[1]].join(\"\")),h=[];function p(d,T,l){var _=t.push(d.slice(s[0].length,-s[1].length))-1;return h.push(_),o+_+o}t.forEach(function(d,T){for(var l,_=0;d!=l;)if(l=d,d=d.replace(c,p),_++>1e4)throw Error(\"References have circular dependency. Please, check them.\");t[T]=d}),h=h.reverse(),t=t.map(function(d){return h.forEach(function(T){d=d.replace(new RegExp(\"(\\\\\"+o+T+\"\\\\\"+o+\")\",\"g\"),s[0]+\"$1\"+s[1])}),d})});var i=new RegExp(\"\\\\\"+o+\"([0-9]+)\\\\\"+o);function a(s,c,h){for(var p=[],d,T=0;d=i.exec(s);){if(T++>1e4)throw Error(\"Circular references in parenthesis\");p.push(s.slice(0,d.index)),p.push(a(c[d[1]],c)),s=s.slice(d.index+d[0].length)}return p.push(s),p}return n?t:a(t[0],t)}function x(S,e){if(e&&e.flat){var t=e&&e.escape||\"___\",r=S[0],o;if(!r)return\"\";for(var n=new RegExp(\"\\\\\"+t+\"([0-9]+)\\\\\"+t),i=0;r!=o;){if(i++>1e4)throw Error(\"Circular references in \"+S);o=r,r=r.replace(n,a)}return r}return S.reduce(function s(c,h){return Array.isArray(h)&&(h=h.reduce(s,\"\")),c+h},\"\");function a(s,c){if(S[c]==null)throw Error(\"Reference \"+c+\"is undefined\");return S[c]}}function A(S,e){return Array.isArray(S)?x(S,e):g(S,e)}A.parse=g,A.stringify=x,H.exports=A}}),jR=ke({\"node_modules/string-split-by/index.js\"(Z,H){\"use strict\";var g=UR();H.exports=function(A,S,e){if(A==null)throw Error(\"First argument should be a string\");if(S==null)throw Error(\"Separator should be a string or a RegExp\");e?(typeof e==\"string\"||Array.isArray(e))&&(e={ignore:e}):e={},e.escape==null&&(e.escape=!0),e.ignore==null?e.ignore=[\"[]\",\"()\",\"{}\",\"<>\",'\"\"',\"''\",\"``\",\"\\u201C\\u201D\",\"\\xAB\\xBB\"]:(typeof e.ignore==\"string\"&&(e.ignore=[e.ignore]),e.ignore=e.ignore.map(function(c){return c.length===1&&(c=c+c),c}));var t=g.parse(A,{flat:!0,brackets:e.ignore}),r=t[0],o=r.split(S);if(e.escape){for(var n=[],i=0;i1&&cn===Ln&&(cn==='\"'||cn===\"'\"))return['\"'+r(tr.substr(1,tr.length-2))+'\"'];var xi=/\\[(false|true|null|\\d+|'[^']*'|\"[^\"]*\")\\]/.exec(tr);if(xi)return o(tr.substr(0,xi.index)).concat(o(xi[1])).concat(o(tr.substr(xi.index+xi[0].length)));var Ni=tr.split(\".\");if(Ni.length===1)return['\"'+r(tr)+'\"'];for(var Fi=[],Oi=0;Oi\"u\"?1:window.devicePixelRatio,ha=!1,Xo={},Aa=function(wi){},Ma=function(){};if(typeof cn==\"string\"?Ln=document.querySelector(cn):typeof cn==\"object\"&&(_(cn)?Ln=cn:w(cn)?(Fi=cn,Ni=Fi.canvas):(\"gl\"in cn?Fi=cn.gl:\"canvas\"in cn?Ni=E(cn.canvas):\"container\"in cn&&(xi=E(cn.container)),\"attributes\"in cn&&(Oi=cn.attributes),\"extensions\"in cn&&(na=M(cn.extensions)),\"optionalExtensions\"in cn&&(Ca=M(cn.optionalExtensions)),\"onDone\"in cn&&(Aa=cn.onDone),\"profile\"in cn&&(ha=!!cn.profile),\"pixelRatio\"in cn&&(ka=+cn.pixelRatio),\"cachedCode\"in cn&&(Xo=cn.cachedCode))),Ln&&(Ln.nodeName.toLowerCase()===\"canvas\"?Ni=Ln:xi=Ln),!Fi){if(!Ni){var ia=T(xi||document.body,Aa,ka);if(!ia)return null;Ni=ia.canvas,Ma=ia.onDestroy}Oi.premultipliedAlpha===void 0&&(Oi.premultipliedAlpha=!0),Fi=l(Ni,Oi)}return Fi?{gl:Fi,canvas:Ni,container:xi,extensions:na,optionalExtensions:Ca,pixelRatio:ka,profile:ha,cachedCode:Xo,onDone:Aa,onDestroy:Ma}:(Ma(),Aa(\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\"),null)}function b(tr,cn){var Ln={};function xi(Oi){var na=Oi.toLowerCase(),Ca;try{Ca=Ln[na]=tr.getExtension(na)}catch{}return!!Ca}for(var Ni=0;Ni65535)<<4,tr>>>=cn,Ln=(tr>255)<<3,tr>>>=Ln,cn|=Ln,Ln=(tr>15)<<2,tr>>>=Ln,cn|=Ln,Ln=(tr>3)<<1,tr>>>=Ln,cn|=Ln,cn|tr>>1}function I(){var tr=v(8,function(){return[]});function cn(Fi){var Oi=B(Fi),na=tr[O(Oi)>>2];return na.length>0?na.pop():new ArrayBuffer(Oi)}function Ln(Fi){tr[O(Fi.byteLength)>>2].push(Fi)}function xi(Fi,Oi){var na=null;switch(Fi){case u:na=new Int8Array(cn(Oi),0,Oi);break;case y:na=new Uint8Array(cn(Oi),0,Oi);break;case f:na=new Int16Array(cn(2*Oi),0,Oi);break;case P:na=new Uint16Array(cn(2*Oi),0,Oi);break;case L:na=new Int32Array(cn(4*Oi),0,Oi);break;case z:na=new Uint32Array(cn(4*Oi),0,Oi);break;case F:na=new Float32Array(cn(4*Oi),0,Oi);break;default:return null}return na.length!==Oi?na.subarray(0,Oi):na}function Ni(Fi){Ln(Fi.buffer)}return{alloc:cn,free:Ln,allocType:xi,freeType:Ni}}var N=I();N.zero=I();var U=3408,W=3410,Q=3411,le=3412,se=3413,fe=3414,G=3415,$=33901,J=33902,X=3379,re=3386,ae=34921,j=36347,ee=36348,ie=35661,ce=35660,xe=34930,Te=36349,Ue=34076,Ie=34024,Ye=7936,it=7937,at=7938,tt=35724,ut=34047,Me=36063,pe=34852,ue=3553,Oe=34067,rt=34069,ot=33984,et=6408,Lt=5126,Et=5121,Bt=36160,qt=36053,fr=36064,ar=16384,Rr=function(tr,cn){var Ln=1;cn.ext_texture_filter_anisotropic&&(Ln=tr.getParameter(ut));var xi=1,Ni=1;cn.webgl_draw_buffers&&(xi=tr.getParameter(pe),Ni=tr.getParameter(Me));var Fi=!!cn.oes_texture_float;if(Fi){var Oi=tr.createTexture();tr.bindTexture(ue,Oi),tr.texImage2D(ue,0,et,1,1,0,et,Lt,null);var na=tr.createFramebuffer();if(tr.bindFramebuffer(Bt,na),tr.framebufferTexture2D(Bt,fr,ue,Oi,0),tr.bindTexture(ue,null),tr.checkFramebufferStatus(Bt)!==qt)Fi=!1;else{tr.viewport(0,0,1,1),tr.clearColor(1,0,0,1),tr.clear(ar);var Ca=N.allocType(Lt,4);tr.readPixels(0,0,1,1,et,Lt,Ca),tr.getError()?Fi=!1:(tr.deleteFramebuffer(na),tr.deleteTexture(Oi),Fi=Ca[0]===1),N.freeType(Ca)}}var ka=typeof navigator<\"u\"&&(/MSIE/.test(navigator.userAgent)||/Trident\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ha=!0;if(!ka){var Xo=tr.createTexture(),Aa=N.allocType(Et,36);tr.activeTexture(ot),tr.bindTexture(Oe,Xo),tr.texImage2D(rt,0,et,3,3,0,et,Et,Aa),N.freeType(Aa),tr.bindTexture(Oe,null),tr.deleteTexture(Xo),ha=!tr.getError()}return{colorBits:[tr.getParameter(W),tr.getParameter(Q),tr.getParameter(le),tr.getParameter(se)],depthBits:tr.getParameter(fe),stencilBits:tr.getParameter(G),subpixelBits:tr.getParameter(U),extensions:Object.keys(cn).filter(function(Ma){return!!cn[Ma]}),maxAnisotropic:Ln,maxDrawbuffers:xi,maxColorAttachments:Ni,pointSizeDims:tr.getParameter($),lineWidthDims:tr.getParameter(J),maxViewportDims:tr.getParameter(re),maxCombinedTextureUnits:tr.getParameter(ie),maxCubeMapSize:tr.getParameter(Ue),maxRenderbufferSize:tr.getParameter(Ie),maxTextureUnits:tr.getParameter(xe),maxTextureSize:tr.getParameter(X),maxAttributes:tr.getParameter(ae),maxVertexUniforms:tr.getParameter(j),maxVertexTextureUnits:tr.getParameter(ce),maxVaryingVectors:tr.getParameter(ee),maxFragmentUniforms:tr.getParameter(Te),glsl:tr.getParameter(tt),renderer:tr.getParameter(it),vendor:tr.getParameter(Ye),version:tr.getParameter(at),readFloat:Fi,npotTextureCube:ha}},gr=function(tr){return tr instanceof Uint8Array||tr instanceof Uint16Array||tr instanceof Uint32Array||tr instanceof Int8Array||tr instanceof Int16Array||tr instanceof Int32Array||tr instanceof Float32Array||tr instanceof Float64Array||tr instanceof Uint8ClampedArray};function br(tr){return!!tr&&typeof tr==\"object\"&&Array.isArray(tr.shape)&&Array.isArray(tr.stride)&&typeof tr.offset==\"number\"&&tr.shape.length===tr.stride.length&&(Array.isArray(tr.data)||gr(tr.data))}var _t=function(tr){return Object.keys(tr).map(function(cn){return tr[cn]})},Be={shape:we,flatten:Ee};function Ke(tr,cn,Ln){for(var xi=0;xi0){var Oo;if(Array.isArray(qi[0])){Ba=zn(qi);for(var va=1,sa=1;sa0){if(typeof va[0]==\"number\"){var Fa=N.allocType(ca.dtype,va.length);wr(Fa,va),Ba(Fa,fo),N.freeType(Fa)}else if(Array.isArray(va[0])||gr(va[0])){Ja=zn(va);var Ia=ni(va,Ja,ca.dtype);Ba(Ia,fo),N.freeType(Ia)}}}else if(br(va)){Ja=va.shape;var ao=va.stride,Zo=0,ps=0,Na=0,Mo=0;Ja.length===1?(Zo=Ja[0],ps=1,Na=ao[0],Mo=0):Ja.length===2&&(Zo=Ja[0],ps=Ja[1],Na=ao[0],Mo=ao[1]);var ss=Array.isArray(va.data)?ca.dtype:Vt(va.data),_s=N.allocType(ss,Zo*ps);$r(_s,va.data,Zo,ps,Na,Mo,va.offset),Ba(_s,fo),N.freeType(_s)}return $a}return ba||$a(wi),$a._reglType=\"buffer\",$a._buffer=ca,$a.subdata=Oo,Ln.profile&&($a.stats=ca.stats),$a.destroy=function(){Aa(ca)},$a}function ia(){_t(Fi).forEach(function(wi){wi.buffer=tr.createBuffer(),tr.bindBuffer(wi.type,wi.buffer),tr.bufferData(wi.type,wi.persistentData||wi.byteLength,wi.usage)})}return Ln.profile&&(cn.getTotalBufferSize=function(){var wi=0;return Object.keys(Fi).forEach(function(qi){wi+=Fi[qi].stats.size}),wi}),{create:Ma,createStream:Ca,destroyStream:ka,clear:function(){_t(Fi).forEach(Aa),na.forEach(Aa)},getBuffer:function(wi){return wi&&wi._buffer instanceof Oi?wi._buffer:null},restore:ia,_initBuffer:Xo}}var en=0,Fn=0,Wn=1,ri=1,Sn=4,ui=4,gt={points:en,point:Fn,lines:Wn,line:ri,triangles:Sn,triangle:ui,\"line loop\":2,\"line strip\":3,\"triangle strip\":5,\"triangle fan\":6},yt=0,Pr=1,Ir=4,Tr=5120,Mr=5121,Lr=5122,Ur=5123,Dr=5124,nn=5125,vn=34963,gn=35040,kt=35044;function or(tr,cn,Ln,xi){var Ni={},Fi=0,Oi={uint8:Mr,uint16:Ur};cn.oes_element_index_uint&&(Oi.uint32=nn);function na(ia){this.id=Fi++,Ni[this.id]=this,this.buffer=ia,this.primType=Ir,this.vertCount=0,this.type=0}na.prototype.bind=function(){this.buffer.bind()};var Ca=[];function ka(ia){var wi=Ca.pop();return wi||(wi=new na(Ln.create(null,vn,!0,!1)._buffer)),Xo(wi,ia,gn,-1,-1,0,0),wi}function ha(ia){Ca.push(ia)}function Xo(ia,wi,qi,ba,Pa,ca,$a){ia.buffer.bind();var Ba;if(wi){var Oo=$a;!$a&&(!gr(wi)||br(wi)&&!gr(wi.data))&&(Oo=cn.oes_element_index_uint?nn:Ur),Ln._initBuffer(ia.buffer,wi,qi,Oo,3)}else tr.bufferData(vn,ca,qi),ia.buffer.dtype=Ba||Mr,ia.buffer.usage=qi,ia.buffer.dimension=3,ia.buffer.byteLength=ca;if(Ba=$a,!$a){switch(ia.buffer.dtype){case Mr:case Tr:Ba=Mr;break;case Ur:case Lr:Ba=Ur;break;case nn:case Dr:Ba=nn;break;default:}ia.buffer.dtype=Ba}ia.type=Ba;var va=Pa;va<0&&(va=ia.buffer.byteLength,Ba===Ur?va>>=1:Ba===nn&&(va>>=2)),ia.vertCount=va;var sa=ba;if(ba<0){sa=Ir;var fo=ia.buffer.dimension;fo===1&&(sa=yt),fo===2&&(sa=Pr),fo===3&&(sa=Ir)}ia.primType=sa}function Aa(ia){xi.elementsCount--,delete Ni[ia.id],ia.buffer.destroy(),ia.buffer=null}function Ma(ia,wi){var qi=Ln.create(null,vn,!0),ba=new na(qi._buffer);xi.elementsCount++;function Pa(ca){if(!ca)qi(),ba.primType=Ir,ba.vertCount=0,ba.type=Mr;else if(typeof ca==\"number\")qi(ca),ba.primType=Ir,ba.vertCount=ca|0,ba.type=Mr;else{var $a=null,Ba=kt,Oo=-1,va=-1,sa=0,fo=0;Array.isArray(ca)||gr(ca)||br(ca)?$a=ca:(\"data\"in ca&&($a=ca.data),\"usage\"in ca&&(Ba=On[ca.usage]),\"primitive\"in ca&&(Oo=gt[ca.primitive]),\"count\"in ca&&(va=ca.count|0),\"type\"in ca&&(fo=Oi[ca.type]),\"length\"in ca?sa=ca.length|0:(sa=va,fo===Ur||fo===Lr?sa*=2:(fo===nn||fo===Dr)&&(sa*=4))),Xo(ba,$a,Ba,Oo,va,sa,fo)}return Pa}return Pa(ia),Pa._reglType=\"elements\",Pa._elements=ba,Pa.subdata=function(ca,$a){return qi.subdata(ca,$a),Pa},Pa.destroy=function(){Aa(ba)},Pa}return{create:Ma,createStream:ka,destroyStream:ha,getElements:function(ia){return typeof ia==\"function\"&&ia._elements instanceof na?ia._elements:null},clear:function(){_t(Ni).forEach(Aa)}}}var yr=new Float32Array(1),on=new Uint32Array(yr.buffer),An=5123;function Zn(tr){for(var cn=N.allocType(An,tr.length),Ln=0;Ln>>31<<15,Fi=(xi<<1>>>24)-127,Oi=xi>>13&1023;if(Fi<-24)cn[Ln]=Ni;else if(Fi<-14){var na=-14-Fi;cn[Ln]=Ni+(Oi+1024>>na)}else Fi>15?cn[Ln]=Ni+31744:cn[Ln]=Ni+(Fi+15<<10)+Oi}return cn}function Bn(tr){return Array.isArray(tr)||gr(tr)}var wn=34467,Dn=3553,Ui=34067,pi=34069,Ta=6408,Sa=6406,qa=6407,to=6409,yo=6410,Xa=32854,Go=32855,pa=36194,cs=32819,Ko=32820,gs=33635,Ya=34042,zo=6402,Ka=34041,Yo=35904,ns=35906,hs=36193,ho=33776,Ro=33777,Ls=33778,Vs=33779,Ws=35986,fs=35987,Mi=34798,Da=35840,pl=35841,Xs=35842,Eo=35843,Ys=36196,As=5121,hl=5123,wl=5125,la=5126,Uo=10242,vo=10243,Ps=10497,ls=33071,no=33648,$l=10240,Ku=10241,Tl=9728,Vu=9729,Rl=9984,Qs=9985,nu=9986,qu=9987,kc=33170,Ju=4352,sh=4353,uf=4354,qs=34046,Hc=3317,bf=37440,Ql=37441,Al=37443,oc=37444,gc=33984,nl=[Rl,nu,Qs,qu],Ml=[0,to,yo,qa,Ta],Zs={};Zs[to]=Zs[Sa]=Zs[zo]=1,Zs[Ka]=Zs[yo]=2,Zs[qa]=Zs[Yo]=3,Zs[Ta]=Zs[ns]=4;function sl(tr){return\"[object \"+tr+\"]\"}var sc=sl(\"HTMLCanvasElement\"),jl=sl(\"OffscreenCanvas\"),$u=sl(\"CanvasRenderingContext2D\"),ll=sl(\"ImageBitmap\"),Nh=sl(\"HTMLImageElement\"),ds=sl(\"HTMLVideoElement\"),Sh=Object.keys(Le).concat([sc,jl,$u,ll,Nh,ds]),Bs=[];Bs[As]=1,Bs[la]=4,Bs[hs]=2,Bs[hl]=2,Bs[wl]=4;var Vo=[];Vo[Xa]=2,Vo[Go]=2,Vo[pa]=2,Vo[Ka]=4,Vo[ho]=.5,Vo[Ro]=.5,Vo[Ls]=1,Vo[Vs]=1,Vo[Ws]=.5,Vo[fs]=1,Vo[Mi]=1,Vo[Da]=.5,Vo[pl]=.25,Vo[Xs]=.5,Vo[Eo]=.25,Vo[Ys]=.5;function rf(tr){return Array.isArray(tr)&&(tr.length===0||typeof tr[0]==\"number\")}function Qu(tr){if(!Array.isArray(tr))return!1;var cn=tr.length;return!(cn===0||!Bn(tr[0]))}function pu(tr){return Object.prototype.toString.call(tr)}function Df(tr){return pu(tr)===sc}function Lc(tr){return pu(tr)===jl}function nf(tr){return pu(tr)===$u}function Vl(tr){return pu(tr)===ll}function Jf(tr){return pu(tr)===Nh}function zf(tr){return pu(tr)===ds}function wf(tr){if(!tr)return!1;var cn=pu(tr);return Sh.indexOf(cn)>=0?!0:rf(tr)||Qu(tr)||br(tr)}function Gc(tr){return Le[Object.prototype.toString.call(tr)]|0}function Ff(tr,cn){var Ln=cn.length;switch(tr.type){case As:case hl:case wl:case la:var xi=N.allocType(tr.type,Ln);xi.set(cn),tr.data=xi;break;case hs:tr.data=Zn(cn);break;default:}}function $f(tr,cn){return N.allocType(tr.type===hs?la:tr.type,cn)}function ec(tr,cn){tr.type===hs?(tr.data=Zn(cn),N.freeType(cn)):tr.data=cn}function Tf(tr,cn,Ln,xi,Ni,Fi){for(var Oi=tr.width,na=tr.height,Ca=tr.channels,ka=Oi*na*Ca,ha=$f(tr,ka),Xo=0,Aa=0;Aa=1;)na+=Oi*Ca*Ca,Ca/=2;return na}else return Oi*Ln*xi}function Wc(tr,cn,Ln,xi,Ni,Fi,Oi){var na={\"don't care\":Ju,\"dont care\":Ju,nice:uf,fast:sh},Ca={repeat:Ps,clamp:ls,mirror:no},ka={nearest:Tl,linear:Vu},ha=g({mipmap:qu,\"nearest mipmap nearest\":Rl,\"linear mipmap nearest\":Qs,\"nearest mipmap linear\":nu,\"linear mipmap linear\":qu},ka),Xo={none:0,browser:oc},Aa={uint8:As,rgba4:cs,rgb565:gs,\"rgb5 a1\":Ko},Ma={alpha:Sa,luminance:to,\"luminance alpha\":yo,rgb:qa,rgba:Ta,rgba4:Xa,\"rgb5 a1\":Go,rgb565:pa},ia={};cn.ext_srgb&&(Ma.srgb=Yo,Ma.srgba=ns),cn.oes_texture_float&&(Aa.float32=Aa.float=la),cn.oes_texture_half_float&&(Aa.float16=Aa[\"half float\"]=hs),cn.webgl_depth_texture&&(g(Ma,{depth:zo,\"depth stencil\":Ka}),g(Aa,{uint16:hl,uint32:wl,\"depth stencil\":Ya})),cn.webgl_compressed_texture_s3tc&&g(ia,{\"rgb s3tc dxt1\":ho,\"rgba s3tc dxt1\":Ro,\"rgba s3tc dxt3\":Ls,\"rgba s3tc dxt5\":Vs}),cn.webgl_compressed_texture_atc&&g(ia,{\"rgb atc\":Ws,\"rgba atc explicit alpha\":fs,\"rgba atc interpolated alpha\":Mi}),cn.webgl_compressed_texture_pvrtc&&g(ia,{\"rgb pvrtc 4bppv1\":Da,\"rgb pvrtc 2bppv1\":pl,\"rgba pvrtc 4bppv1\":Xs,\"rgba pvrtc 2bppv1\":Eo}),cn.webgl_compressed_texture_etc1&&(ia[\"rgb etc1\"]=Ys);var wi=Array.prototype.slice.call(tr.getParameter(wn));Object.keys(ia).forEach(function(We){var lt=ia[We];wi.indexOf(lt)>=0&&(Ma[We]=lt)});var qi=Object.keys(Ma);Ln.textureFormats=qi;var ba=[];Object.keys(Ma).forEach(function(We){var lt=Ma[We];ba[lt]=We});var Pa=[];Object.keys(Aa).forEach(function(We){var lt=Aa[We];Pa[lt]=We});var ca=[];Object.keys(ka).forEach(function(We){var lt=ka[We];ca[lt]=We});var $a=[];Object.keys(ha).forEach(function(We){var lt=ha[We];$a[lt]=We});var Ba=[];Object.keys(Ca).forEach(function(We){var lt=Ca[We];Ba[lt]=We});var Oo=qi.reduce(function(We,lt){var Ct=Ma[lt];return Ct===to||Ct===Sa||Ct===to||Ct===yo||Ct===zo||Ct===Ka||cn.ext_srgb&&(Ct===Yo||Ct===ns)?We[Ct]=Ct:Ct===Go||lt.indexOf(\"rgba\")>=0?We[Ct]=Ta:We[Ct]=qa,We},{});function va(){this.internalformat=Ta,this.format=Ta,this.type=As,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=oc,this.width=0,this.height=0,this.channels=0}function sa(We,lt){We.internalformat=lt.internalformat,We.format=lt.format,We.type=lt.type,We.compressed=lt.compressed,We.premultiplyAlpha=lt.premultiplyAlpha,We.flipY=lt.flipY,We.unpackAlignment=lt.unpackAlignment,We.colorSpace=lt.colorSpace,We.width=lt.width,We.height=lt.height,We.channels=lt.channels}function fo(We,lt){if(!(typeof lt!=\"object\"||!lt)){if(\"premultiplyAlpha\"in lt&&(We.premultiplyAlpha=lt.premultiplyAlpha),\"flipY\"in lt&&(We.flipY=lt.flipY),\"alignment\"in lt&&(We.unpackAlignment=lt.alignment),\"colorSpace\"in lt&&(We.colorSpace=Xo[lt.colorSpace]),\"type\"in lt){var Ct=lt.type;We.type=Aa[Ct]}var Wt=We.width,xr=We.height,Fr=We.channels,Ar=!1;\"shape\"in lt?(Wt=lt.shape[0],xr=lt.shape[1],lt.shape.length===3&&(Fr=lt.shape[2],Ar=!0)):(\"radius\"in lt&&(Wt=xr=lt.radius),\"width\"in lt&&(Wt=lt.width),\"height\"in lt&&(xr=lt.height),\"channels\"in lt&&(Fr=lt.channels,Ar=!0)),We.width=Wt|0,We.height=xr|0,We.channels=Fr|0;var Gt=!1;if(\"format\"in lt){var nr=lt.format,mr=We.internalformat=Ma[nr];We.format=Oo[mr],nr in Aa&&(\"type\"in lt||(We.type=Aa[nr])),nr in ia&&(We.compressed=!0),Gt=!0}!Ar&&Gt?We.channels=Zs[We.format]:Ar&&!Gt&&We.channels!==Ml[We.format]&&(We.format=We.internalformat=Ml[We.channels])}}function Ja(We){tr.pixelStorei(bf,We.flipY),tr.pixelStorei(Ql,We.premultiplyAlpha),tr.pixelStorei(Al,We.colorSpace),tr.pixelStorei(Hc,We.unpackAlignment)}function Fa(){va.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Ia(We,lt){var Ct=null;if(wf(lt)?Ct=lt:lt&&(fo(We,lt),\"x\"in lt&&(We.xOffset=lt.x|0),\"y\"in lt&&(We.yOffset=lt.y|0),wf(lt.data)&&(Ct=lt.data)),lt.copy){var Wt=Ni.viewportWidth,xr=Ni.viewportHeight;We.width=We.width||Wt-We.xOffset,We.height=We.height||xr-We.yOffset,We.needsCopy=!0}else if(!Ct)We.width=We.width||1,We.height=We.height||1,We.channels=We.channels||4;else if(gr(Ct))We.channels=We.channels||4,We.data=Ct,!(\"type\"in lt)&&We.type===As&&(We.type=Gc(Ct));else if(rf(Ct))We.channels=We.channels||4,Ff(We,Ct),We.alignment=1,We.needsFree=!0;else if(br(Ct)){var Fr=Ct.data;!Array.isArray(Fr)&&We.type===As&&(We.type=Gc(Fr));var Ar=Ct.shape,Gt=Ct.stride,nr,mr,zr,Gr,Xr,fn;Ar.length===3?(zr=Ar[2],fn=Gt[2]):(zr=1,fn=1),nr=Ar[0],mr=Ar[1],Gr=Gt[0],Xr=Gt[1],We.alignment=1,We.width=nr,We.height=mr,We.channels=zr,We.format=We.internalformat=Ml[zr],We.needsFree=!0,Tf(We,Fr,Gr,Xr,fn,Ct.offset)}else if(Df(Ct)||Lc(Ct)||nf(Ct))Df(Ct)||Lc(Ct)?We.element=Ct:We.element=Ct.canvas,We.width=We.element.width,We.height=We.element.height,We.channels=4;else if(Vl(Ct))We.element=Ct,We.width=Ct.width,We.height=Ct.height,We.channels=4;else if(Jf(Ct))We.element=Ct,We.width=Ct.naturalWidth,We.height=Ct.naturalHeight,We.channels=4;else if(zf(Ct))We.element=Ct,We.width=Ct.videoWidth,We.height=Ct.videoHeight,We.channels=4;else if(Qu(Ct)){var sn=We.width||Ct[0].length,Zr=We.height||Ct.length,hn=We.channels;Bn(Ct[0][0])?hn=hn||Ct[0][0].length:hn=hn||1;for(var qr=Be.shape(Ct),kn=1,Xn=0;Xn>=xr,Ct.height>>=xr,Ia(Ct,Wt[xr]),We.mipmask|=1<=0&&!(\"faces\"in lt)&&(We.genMipmaps=!0)}if(\"mag\"in lt){var Wt=lt.mag;We.magFilter=ka[Wt]}var xr=We.wrapS,Fr=We.wrapT;if(\"wrap\"in lt){var Ar=lt.wrap;typeof Ar==\"string\"?xr=Fr=Ca[Ar]:Array.isArray(Ar)&&(xr=Ca[Ar[0]],Fr=Ca[Ar[1]])}else{if(\"wrapS\"in lt){var Gt=lt.wrapS;xr=Ca[Gt]}if(\"wrapT\"in lt){var nr=lt.wrapT;Fr=Ca[nr]}}if(We.wrapS=xr,We.wrapT=Fr,\"anisotropic\"in lt){var mr=lt.anisotropic;We.anisotropic=lt.anisotropic}if(\"mipmap\"in lt){var zr=!1;switch(typeof lt.mipmap){case\"string\":We.mipmapHint=na[lt.mipmap],We.genMipmaps=!0,zr=!0;break;case\"boolean\":zr=We.genMipmaps=lt.mipmap;break;case\"object\":We.genMipmaps=!1,zr=!0;break;default:}zr&&!(\"min\"in lt)&&(We.minFilter=Rl)}}function mc(We,lt){tr.texParameteri(lt,Ku,We.minFilter),tr.texParameteri(lt,$l,We.magFilter),tr.texParameteri(lt,Uo,We.wrapS),tr.texParameteri(lt,vo,We.wrapT),cn.ext_texture_filter_anisotropic&&tr.texParameteri(lt,qs,We.anisotropic),We.genMipmaps&&(tr.hint(kc,We.mipmapHint),tr.generateMipmap(lt))}var Jc=0,tu={},Ac=Ln.maxTextureUnits,Nc=Array(Ac).map(function(){return null});function Hs(We){va.call(this),this.mipmask=0,this.internalformat=Ta,this.id=Jc++,this.refCount=1,this.target=We,this.texture=tr.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new ql,Oi.profile&&(this.stats={size:0})}function $c(We){tr.activeTexture(gc),tr.bindTexture(We.target,We.texture)}function Us(){var We=Nc[0];We?tr.bindTexture(We.target,We.texture):tr.bindTexture(Dn,null)}function ve(We){var lt=We.texture,Ct=We.unit,Wt=We.target;Ct>=0&&(tr.activeTexture(gc+Ct),tr.bindTexture(Wt,null),Nc[Ct]=null),tr.deleteTexture(lt),We.texture=null,We.params=null,We.pixels=null,We.refCount=0,delete tu[We.id],Fi.textureCount--}g(Hs.prototype,{bind:function(){var We=this;We.bindCount+=1;var lt=We.unit;if(lt<0){for(var Ct=0;Ct0)continue;Wt.unit=-1}Nc[Ct]=We,lt=Ct;break}lt>=Ac,Oi.profile&&Fi.maxTextureUnits>Xr)-zr,fn.height=fn.height||(Ct.height>>Xr)-Gr,$c(Ct),Zo(fn,Dn,zr,Gr,Xr),Us(),Mo(fn),Wt}function Fr(Ar,Gt){var nr=Ar|0,mr=Gt|0||nr;if(nr===Ct.width&&mr===Ct.height)return Wt;Wt.width=Ct.width=nr,Wt.height=Ct.height=mr,$c(Ct);for(var zr=0;Ct.mipmask>>zr;++zr){var Gr=nr>>zr,Xr=mr>>zr;if(!Gr||!Xr)break;tr.texImage2D(Dn,zr,Ct.format,Gr,Xr,0,Ct.format,Ct.type,null)}return Us(),Oi.profile&&(Ct.stats.size=Pc(Ct.internalformat,Ct.type,nr,mr,!1,!1)),Wt}return Wt(We,lt),Wt.subimage=xr,Wt.resize=Fr,Wt._reglType=\"texture2d\",Wt._texture=Ct,Oi.profile&&(Wt.stats=Ct.stats),Wt.destroy=function(){Ct.decRef()},Wt}function me(We,lt,Ct,Wt,xr,Fr){var Ar=new Hs(Ui);tu[Ar.id]=Ar,Fi.cubeCount++;var Gt=new Array(6);function nr(Gr,Xr,fn,sn,Zr,hn){var qr,kn=Ar.texInfo;for(ql.call(kn),qr=0;qr<6;++qr)Gt[qr]=rl();if(typeof Gr==\"number\"||!Gr){var Xn=Gr|0||1;for(qr=0;qr<6;++qr)_s(Gt[qr],Xn,Xn)}else if(typeof Gr==\"object\")if(Xr)Fs(Gt[0],Gr),Fs(Gt[1],Xr),Fs(Gt[2],fn),Fs(Gt[3],sn),Fs(Gt[4],Zr),Fs(Gt[5],hn);else if(pc(kn,Gr),fo(Ar,Gr),\"faces\"in Gr){var vi=Gr.faces;for(qr=0;qr<6;++qr)sa(Gt[qr],Ar),Fs(Gt[qr],vi[qr])}else for(qr=0;qr<6;++qr)Fs(Gt[qr],Gr);for(sa(Ar,Gt[0]),kn.genMipmaps?Ar.mipmask=(Gt[0].width<<1)-1:Ar.mipmask=Gt[0].mipmask,Ar.internalformat=Gt[0].internalformat,nr.width=Gt[0].width,nr.height=Gt[0].height,$c(Ar),qr=0;qr<6;++qr)iu(Gt[qr],pi+qr);for(mc(kn,Ui),Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,kn.genMipmaps,!0)),nr.format=ba[Ar.internalformat],nr.type=Pa[Ar.type],nr.mag=ca[kn.magFilter],nr.min=$a[kn.minFilter],nr.wrapS=Ba[kn.wrapS],nr.wrapT=Ba[kn.wrapT],qr=0;qr<6;++qr)Bc(Gt[qr]);return nr}function mr(Gr,Xr,fn,sn,Zr){var hn=fn|0,qr=sn|0,kn=Zr|0,Xn=Na();return sa(Xn,Ar),Xn.width=0,Xn.height=0,Ia(Xn,Xr),Xn.width=Xn.width||(Ar.width>>kn)-hn,Xn.height=Xn.height||(Ar.height>>kn)-qr,$c(Ar),Zo(Xn,pi+Gr,hn,qr,kn),Us(),Mo(Xn),nr}function zr(Gr){var Xr=Gr|0;if(Xr!==Ar.width){nr.width=Ar.width=Xr,nr.height=Ar.height=Xr,$c(Ar);for(var fn=0;fn<6;++fn)for(var sn=0;Ar.mipmask>>sn;++sn)tr.texImage2D(pi+fn,sn,Ar.format,Xr>>sn,Xr>>sn,0,Ar.format,Ar.type,null);return Us(),Oi.profile&&(Ar.stats.size=Pc(Ar.internalformat,Ar.type,nr.width,nr.height,!1,!0)),nr}}return nr(We,lt,Ct,Wt,xr,Fr),nr.subimage=mr,nr.resize=zr,nr._reglType=\"textureCube\",nr._texture=Ar,Oi.profile&&(nr.stats=Ar.stats),nr.destroy=function(){Ar.decRef()},nr}function te(){for(var We=0;We>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);else for(var xr=0;xr<6;++xr)tr.texImage2D(pi+xr,Wt,Ct.internalformat,Ct.width>>Wt,Ct.height>>Wt,0,Ct.internalformat,Ct.type,null);mc(Ct.texInfo,Ct.target)})}function Ze(){for(var We=0;We=0?Bc=!0:Ca.indexOf(ql)>=0&&(Bc=!1))),(\"depthTexture\"in Hs||\"depthStencilTexture\"in Hs)&&(Nc=!!(Hs.depthTexture||Hs.depthStencilTexture)),\"depth\"in Hs&&(typeof Hs.depth==\"boolean\"?iu=Hs.depth:(Jc=Hs.depth,Oc=!1)),\"stencil\"in Hs&&(typeof Hs.stencil==\"boolean\"?Oc=Hs.stencil:(tu=Hs.stencil,iu=!1)),\"depthStencil\"in Hs&&(typeof Hs.depthStencil==\"boolean\"?iu=Oc=Hs.depthStencil:(Ac=Hs.depthStencil,iu=!1,Oc=!1))}var Us=null,ve=null,K=null,me=null;if(Array.isArray(rl))Us=rl.map(ia);else if(rl)Us=[ia(rl)];else for(Us=new Array(mc),ss=0;ss0&&(Mo.depth=Ia[0].depth,Mo.stencil=Ia[0].stencil,Mo.depthStencil=Ia[0].depthStencil),Ia[Na]?Ia[Na](Mo):Ia[Na]=sa(Mo)}return g(ao,{width:ss,height:ss,color:ql})}function Zo(ps){var Na,Mo=ps|0;if(Mo===ao.width)return ao;var ss=ao.color;for(Na=0;Na=ss.byteLength?_s.subdata(ss):(_s.destroy(),sa.buffers[ps]=null)),sa.buffers[ps]||(_s=sa.buffers[ps]=Ni.create(Na,Mf,!1,!0)),Mo.buffer=Ni.getBuffer(_s),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1,ao[ps]=1}else Ni.getBuffer(Na)?(Mo.buffer=Ni.getBuffer(Na),Mo.size=Mo.buffer.dimension|0,Mo.normalized=!1,Mo.type=Mo.buffer.dtype,Mo.offset=0,Mo.stride=0,Mo.divisor=0,Mo.state=1):Ni.getBuffer(Na.buffer)?(Mo.buffer=Ni.getBuffer(Na.buffer),Mo.size=(+Na.size||Mo.buffer.dimension)|0,Mo.normalized=!!Na.normalized||!1,\"type\"in Na?Mo.type=pn[Na.type]:Mo.type=Mo.buffer.dtype,Mo.offset=(Na.offset||0)|0,Mo.stride=(Na.stride||0)|0,Mo.divisor=(Na.divisor||0)|0,Mo.state=1):\"x\"in Na&&(Mo.x=+Na.x||0,Mo.y=+Na.y||0,Mo.z=+Na.z||0,Mo.w=+Na.w||0,Mo.state=2)}for(var Fs=0;Fs1)for(var Ja=0;Jawi&&(wi=qi.stats.uniformsCount)}),wi},Ln.getMaxAttributesCount=function(){var wi=0;return ha.forEach(function(qi){qi.stats.attributesCount>wi&&(wi=qi.stats.attributesCount)}),wi});function ia(){Ni={},Fi={};for(var wi=0;wi16&&(Ln=bi(Ln,tr.length*8));for(var xi=Array(16),Ni=Array(16),Fi=0;Fi<16;Fi++)xi[Fi]=Ln[Fi]^909522486,Ni[Fi]=Ln[Fi]^1549556828;var Oi=bi(xi.concat(Yc(cn)),512+cn.length*8);return Yt(bi(Ni.concat(Oi),768))}function uu(tr){for(var cn=Uf?\"0123456789ABCDEF\":\"0123456789abcdef\",Ln=\"\",xi,Ni=0;Ni>>4&15)+cn.charAt(xi&15);return Ln}function fc(tr){for(var cn=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",Ln=\"\",xi=tr.length,Ni=0;Nitr.length*8?Ln+=Wu:Ln+=cn.charAt(Fi>>>6*(3-Oi)&63);return Ln}function Dc(tr,cn){var Ln=cn.length,xi=Array(),Ni,Fi,Oi,na,Ca=Array(Math.ceil(tr.length/2));for(Ni=0;Ni0;){for(na=Array(),Oi=0,Ni=0;Ni0||Fi>0)&&(na[na.length]=Fi);xi[xi.length]=Oi,Ca=na}var ka=\"\";for(Ni=xi.length-1;Ni>=0;Ni--)ka+=cn.charAt(xi[Ni]);var ha=Math.ceil(tr.length*8/(Math.log(cn.length)/Math.log(2)));for(Ni=ka.length;Ni>>6&31,128|xi&63):xi<=65535?cn+=String.fromCharCode(224|xi>>>12&15,128|xi>>>6&63,128|xi&63):xi<=2097151&&(cn+=String.fromCharCode(240|xi>>>18&7,128|xi>>>12&63,128|xi>>>6&63,128|xi&63));return cn}function Yc(tr){for(var cn=Array(tr.length>>2),Ln=0;Ln>5]|=(tr.charCodeAt(Ln/8)&255)<<24-Ln%32;return cn}function Yt(tr){for(var cn=\"\",Ln=0;Ln>5]>>>24-Ln%32&255);return cn}function dr(tr,cn){return tr>>>cn|tr<<32-cn}function tn(tr,cn){return tr>>>cn}function Wr(tr,cn,Ln){return tr&cn^~tr&Ln}function Cn(tr,cn,Ln){return tr&cn^tr&Ln^cn&Ln}function si(tr){return dr(tr,2)^dr(tr,13)^dr(tr,22)}function yi(tr){return dr(tr,6)^dr(tr,11)^dr(tr,25)}function Di(tr){return dr(tr,7)^dr(tr,18)^tn(tr,3)}function Wi(tr){return dr(tr,17)^dr(tr,19)^tn(tr,10)}var aa=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function bi(tr,cn){var Ln=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),xi=new Array(64),Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi;for(tr[cn>>5]|=128<<24-cn%32,tr[(cn+64>>9<<4)+15]=cn,Aa=0;Aa>16)+(cn>>16)+(Ln>>16);return xi<<16|Ln&65535}function Li(tr){return Array.prototype.slice.call(tr)}function di(tr){return Li(tr).join(\"\")}function wa(tr){var cn=tr&&tr.cache,Ln=0,xi=[],Ni=[],Fi=[];function Oi(ia,wi){var qi=wi&&wi.stable;if(!qi){for(var ba=0;ba0&&(ia.push(Pa,\"=\"),ia.push.apply(ia,Li(arguments)),ia.push(\";\")),Pa}return g(wi,{def:ba,toString:function(){return di([qi.length>0?\"var \"+qi.join(\",\")+\";\":\"\",di(ia)])}})}function Ca(){var ia=na(),wi=na(),qi=ia.toString,ba=wi.toString;function Pa(ca,$a){wi(ca,$a,\"=\",ia.def(ca,$a),\";\")}return g(function(){ia.apply(ia,Li(arguments))},{def:ia.def,entry:ia,exit:wi,save:Pa,set:function(ca,$a,Ba){Pa(ca,$a),ia(ca,$a,\"=\",Ba,\";\")},toString:function(){return qi()+ba()}})}function ka(){var ia=di(arguments),wi=Ca(),qi=Ca(),ba=wi.toString,Pa=qi.toString;return g(wi,{then:function(){return wi.apply(wi,Li(arguments)),this},else:function(){return qi.apply(qi,Li(arguments)),this},toString:function(){var ca=Pa();return ca&&(ca=\"else{\"+ca+\"}\"),di([\"if(\",ia,\"){\",ba(),\"}\",ca])}})}var ha=na(),Xo={};function Aa(ia,wi){var qi=[];function ba(){var Oo=\"a\"+qi.length;return qi.push(Oo),Oo}wi=wi||0;for(var Pa=0;Pa\":516,notequal:517,\"!=\":517,\"!==\":517,gequal:518,\">=\":518,always:519},qn={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\"increment wrap\":34055,\"decrement wrap\":34056,invert:5386},Jn={cw:Qe,ccw:vt};function ci(tr){return Array.isArray(tr)||gr(tr)||br(tr)}function oi(tr){return tr.sort(function(cn,Ln){return cn===Ae?-1:Ln===Ae?1:cn=1,xi>=2,cn)}else if(Ln===Ds){var Ni=tr.data;return new Hn(Ni.thisDep,Ni.contextDep,Ni.propDep,cn)}else{if(Ln===il)return new Hn(!1,!1,!1,cn);if(Ln===Ns){for(var Fi=!1,Oi=!1,na=!1,Ca=0;Ca=1&&(Oi=!0),ha>=2&&(na=!0)}else ka.type===Ds&&(Fi=Fi||ka.data.thisDep,Oi=Oi||ka.data.contextDep,na=na||ka.data.propDep)}return new Hn(Fi,Oi,na,cn)}else return new Hn(Ln===as,Ln===Lo,Ln===Qi,cn)}}var La=new Hn(!1,!1,!1,function(){});function io(tr,cn,Ln,xi,Ni,Fi,Oi,na,Ca,ka,ha,Xo,Aa,Ma,ia,wi){var qi=ka.Record,ba={add:32774,subtract:32778,\"reverse subtract\":32779};Ln.ext_blend_minmax&&(ba.min=mt,ba.max=Tt);var Pa=Ln.angle_instanced_arrays,ca=Ln.webgl_draw_buffers,$a=Ln.oes_vertex_array_object,Ba={dirty:!0,profile:wi.profile},Oo={},va=[],sa={},fo={};function Ja(Gt){return Gt.replace(\".\",\"_\")}function Fa(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Oo[zr]=Ba[zr]=!!mr,sa[zr]=nr}function Ia(Gt,nr,mr){var zr=Ja(Gt);va.push(Gt),Array.isArray(mr)?(Ba[zr]=mr.slice(),Oo[zr]=mr.slice()):Ba[zr]=Oo[zr]=mr,fo[zr]=nr}function ao(Gt){return!!isNaN(Gt)}Fa(el,li),Fa(Es,Un),Ia(Bl,\"blendColor\",[0,0,0,0]),Ia(_l,\"blendEquationSeparate\",[jr,jr]),Ia(cl,\"blendFuncSeparate\",[Br,lr,Br,lr]),Fa(Za,Ci,!0),Ia(jo,\"depthFunc\",Tn),Ia(Js,\"depthRange\",[0,1]),Ia(zs,\"depthMask\",!0),Ia(cu,cu,[!0,!0,!0,!0]),Fa(zu,Mn),Ia(nc,\"cullFace\",Re),Ia(Kc,Kc,vt),Ia(Tu,Tu,1),Fa(zc,ya),Ia(Fu,\"polygonOffset\",[0,0]),Fa(wc,ro),Fa(bo,Va),Ia(Wo,\"sampleCoverage\",[1,!1]),Fa(Fc,ki),Ia(hc,\"stencilMask\",-1),Ia(dc,\"stencilFunc\",[Qt,0,-1]),Ia(Ne,\"stencilOpSeparate\",[de,Dt,Dt,Dt]),Ia(R,\"stencilOpSeparate\",[Re,Dt,Dt,Dt]),Fa(ne,Zi),Ia(be,\"scissor\",[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]),Ia(Ae,Ae,[0,0,tr.drawingBufferWidth,tr.drawingBufferHeight]);var Zo={gl:tr,context:Aa,strings:cn,next:Oo,current:Ba,draw:Xo,elements:Fi,buffer:Ni,shader:ha,attributes:ka.state,vao:ka,uniforms:Ca,framebuffer:na,extensions:Ln,timer:Ma,isBufferArgs:ci},ps={primTypes:gt,compareFuncs:En,blendFuncs:ai,blendEquations:ba,stencilOps:qn,glTypes:pn,orientationType:Jn};ca&&(ps.backBuffer=[Re],ps.drawBuffer=v(xi.maxDrawbuffers,function(Gt){return Gt===0?[0]:v(Gt,function(nr){return ti+nr})}));var Na=0;function Mo(){var Gt=wa({cache:ia}),nr=Gt.link,mr=Gt.global;Gt.id=Na++,Gt.batchId=\"0\";var zr=nr(Zo),Gr=Gt.shared={props:\"a0\"};Object.keys(Zo).forEach(function(hn){Gr[hn]=mr.def(zr,\".\",hn)});var Xr=Gt.next={},fn=Gt.current={};Object.keys(fo).forEach(function(hn){Array.isArray(Ba[hn])&&(Xr[hn]=mr.def(Gr.next,\".\",hn),fn[hn]=mr.def(Gr.current,\".\",hn))});var sn=Gt.constants={};Object.keys(ps).forEach(function(hn){sn[hn]=mr.def(JSON.stringify(ps[hn]))}),Gt.invoke=function(hn,qr){switch(qr.type){case xa:var kn=[\"this\",Gr.context,Gr.props,Gt.batchId];return hn.def(nr(qr.data),\".call(\",kn.slice(0,Math.max(qr.data.length+1,4)),\")\");case Qi:return hn.def(Gr.props,qr.data);case Lo:return hn.def(Gr.context,qr.data);case as:return hn.def(\"this\",qr.data);case Ds:return qr.data.append(Gt,hn),qr.data.ref;case il:return qr.data.toString();case Ns:return qr.data.map(function(Xn){return Gt.invoke(hn,Xn)})}},Gt.attribCache={};var Zr={};return Gt.scopeAttrib=function(hn){var qr=cn.id(hn);if(qr in Zr)return Zr[qr];var kn=ka.scope[qr];kn||(kn=ka.scope[qr]=new qi);var Xn=Zr[qr]=nr(kn);return Xn},Gt}function ss(Gt){var nr=Gt.static,mr=Gt.dynamic,zr;if(Fe in nr){var Gr=!!nr[Fe];zr=oa(function(fn,sn){return Gr}),zr.enable=Gr}else if(Fe in mr){var Xr=mr[Fe];zr=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}return zr}function _s(Gt,nr){var mr=Gt.static,zr=Gt.dynamic;if(ht in mr){var Gr=mr[ht];return Gr?(Gr=na.getFramebuffer(Gr),oa(function(fn,sn){var Zr=fn.link(Gr),hn=fn.shared;sn.set(hn.framebuffer,\".next\",Zr);var qr=hn.context;return sn.set(qr,\".\"+dt,Zr+\".width\"),sn.set(qr,\".\"+St,Zr+\".height\"),Zr})):oa(function(fn,sn){var Zr=fn.shared;sn.set(Zr.framebuffer,\".next\",\"null\");var hn=Zr.context;return sn.set(hn,\".\"+dt,hn+\".\"+sr),sn.set(hn,\".\"+St,hn+\".\"+pr),\"null\"})}else if(ht in zr){var Xr=zr[ht];return _a(Xr,function(fn,sn){var Zr=fn.invoke(sn,Xr),hn=fn.shared,qr=hn.framebuffer,kn=sn.def(qr,\".getFramebuffer(\",Zr,\")\");sn.set(qr,\".next\",kn);var Xn=hn.context;return sn.set(Xn,\".\"+dt,kn+\"?\"+kn+\".width:\"+Xn+\".\"+sr),sn.set(Xn,\".\"+St,kn+\"?\"+kn+\".height:\"+Xn+\".\"+pr),kn})}else return null}function Fs(Gt,nr,mr){var zr=Gt.static,Gr=Gt.dynamic;function Xr(Zr){if(Zr in zr){var hn=zr[Zr],qr=!0,kn=hn.x|0,Xn=hn.y|0,vi,Ji;return\"width\"in hn?vi=hn.width|0:qr=!1,\"height\"in hn?Ji=hn.height|0:qr=!1,new Hn(!qr&&nr&&nr.thisDep,!qr&&nr&&nr.contextDep,!qr&&nr&&nr.propDep,function(ja,Ea){var $i=ja.shared.context,da=vi;\"width\"in hn||(da=Ea.def($i,\".\",dt,\"-\",kn));var fa=Ji;return\"height\"in hn||(fa=Ea.def($i,\".\",St,\"-\",Xn)),[kn,Xn,da,fa]})}else if(Zr in Gr){var Pi=Gr[Zr],ea=_a(Pi,function(ja,Ea){var $i=ja.invoke(Ea,Pi),da=ja.shared.context,fa=Ea.def($i,\".x|0\"),za=Ea.def($i,\".y|0\"),Qa=Ea.def('\"width\" in ',$i,\"?\",$i,\".width|0:\",\"(\",da,\".\",dt,\"-\",fa,\")\"),Cs=Ea.def('\"height\" in ',$i,\"?\",$i,\".height|0:\",\"(\",da,\".\",St,\"-\",za,\")\");return[fa,za,Qa,Cs]});return nr&&(ea.thisDep=ea.thisDep||nr.thisDep,ea.contextDep=ea.contextDep||nr.contextDep,ea.propDep=ea.propDep||nr.propDep),ea}else return nr?new Hn(nr.thisDep,nr.contextDep,nr.propDep,function(ja,Ea){var $i=ja.shared.context;return[0,0,Ea.def($i,\".\",dt),Ea.def($i,\".\",St)]}):null}var fn=Xr(Ae);if(fn){var sn=fn;fn=new Hn(fn.thisDep,fn.contextDep,fn.propDep,function(Zr,hn){var qr=sn.append(Zr,hn),kn=Zr.shared.context;return hn.set(kn,\".\"+xt,qr[2]),hn.set(kn,\".\"+It,qr[3]),qr})}return{viewport:fn,scissor_box:Xr(be)}}function iu(Gt,nr){var mr=Gt.static,zr=typeof mr[zt]==\"string\"&&typeof mr[wt]==\"string\";if(zr){if(Object.keys(nr.dynamic).length>0)return null;var Gr=nr.static,Xr=Object.keys(Gr);if(Xr.length>0&&typeof Gr[Xr[0]]==\"number\"){for(var fn=[],sn=0;sn\"+fa+\"?\"+qr+\".constant[\"+fa+\"]:0;\"}).join(\"\"),\"}}else{\",\"if(\",vi,\"(\",qr,\".buffer)){\",ja,\"=\",Ji,\".createStream(\",Yr,\",\",qr,\".buffer);\",\"}else{\",ja,\"=\",Ji,\".getBuffer(\",qr,\".buffer);\",\"}\",Ea,'=\"type\" in ',qr,\"?\",Xn.glTypes,\"[\",qr,\".type]:\",ja,\".dtype;\",Pi.normalized,\"=!!\",qr,\".normalized;\");function $i(da){hn(Pi[da],\"=\",qr,\".\",da,\"|0;\")}return $i(\"size\"),$i(\"offset\"),$i(\"stride\"),$i(\"divisor\"),hn(\"}}\"),hn.exit(\"if(\",Pi.isStream,\"){\",Ji,\".destroyStream(\",ja,\");\",\"}\"),Pi}Gr[Xr]=_a(fn,sn)}),Gr}function mc(Gt){var nr=Gt.static,mr=Gt.dynamic,zr={};return Object.keys(nr).forEach(function(Gr){var Xr=nr[Gr];zr[Gr]=oa(function(fn,sn){return typeof Xr==\"number\"||typeof Xr==\"boolean\"?\"\"+Xr:fn.link(Xr)})}),Object.keys(mr).forEach(function(Gr){var Xr=mr[Gr];zr[Gr]=_a(Xr,function(fn,sn){return fn.invoke(sn,Xr)})}),zr}function Jc(Gt,nr,mr,zr,Gr){var Xr=Gt.static,fn=Gt.dynamic,sn=iu(Gt,nr),Zr=_s(Gt,Gr),hn=Fs(Gt,Zr,Gr),qr=rl(Gt,Gr),kn=Bc(Gt,Gr),Xn=Oc(Gt,Gr,sn);function vi($i){var da=hn[$i];da&&(kn[$i]=da)}vi(Ae),vi(Ja(be));var Ji=Object.keys(kn).length>0,Pi={framebuffer:Zr,draw:qr,shader:Xn,state:kn,dirty:Ji,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Pi.profile=ss(Gt,Gr),Pi.uniforms=ql(mr,Gr),Pi.drawVAO=Pi.scopeVAO=qr.vao,!Pi.drawVAO&&Xn.program&&!sn&&Ln.angle_instanced_arrays&&qr.static.elements){var ea=!0,ja=Xn.program.attributes.map(function($i){var da=nr.static[$i];return ea=ea&&!!da,da});if(ea&&ja.length>0){var Ea=ka.getVAO(ka.createVAO({attributes:ja,elements:qr.static.elements}));Pi.drawVAO=new Hn(null,null,null,function($i,da){return $i.link(Ea)}),Pi.useVAO=!0}}return sn?Pi.useVAO=!0:Pi.attributes=pc(nr,Gr),Pi.context=mc(zr,Gr),Pi}function tu(Gt,nr,mr){var zr=Gt.shared,Gr=zr.context,Xr=Gt.scope();Object.keys(mr).forEach(function(fn){nr.save(Gr,\".\"+fn);var sn=mr[fn],Zr=sn.append(Gt,nr);Array.isArray(Zr)?Xr(Gr,\".\",fn,\"=[\",Zr.join(),\"];\"):Xr(Gr,\".\",fn,\"=\",Zr,\";\")}),nr(Xr)}function Ac(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gr.gl,fn=Gr.framebuffer,sn;ca&&(sn=nr.def(Gr.extensions,\".webgl_draw_buffers\"));var Zr=Gt.constants,hn=Zr.drawBuffer,qr=Zr.backBuffer,kn;mr?kn=mr.append(Gt,nr):kn=nr.def(fn,\".next\"),zr||nr(\"if(\",kn,\"!==\",fn,\".cur){\"),nr(\"if(\",kn,\"){\",Xr,\".bindFramebuffer(\",yn,\",\",kn,\".framebuffer);\"),ca&&nr(sn,\".drawBuffersWEBGL(\",hn,\"[\",kn,\".colorAttachments.length]);\"),nr(\"}else{\",Xr,\".bindFramebuffer(\",yn,\",null);\"),ca&&nr(sn,\".drawBuffersWEBGL(\",qr,\");\"),nr(\"}\",fn,\".cur=\",kn,\";\"),zr||nr(\"}\")}function Nc(Gt,nr,mr){var zr=Gt.shared,Gr=zr.gl,Xr=Gt.current,fn=Gt.next,sn=zr.current,Zr=zr.next,hn=Gt.cond(sn,\".dirty\");va.forEach(function(qr){var kn=Ja(qr);if(!(kn in mr.state)){var Xn,vi;if(kn in fn){Xn=fn[kn],vi=Xr[kn];var Ji=v(Ba[kn].length,function(ea){return hn.def(Xn,\"[\",ea,\"]\")});hn(Gt.cond(Ji.map(function(ea,ja){return ea+\"!==\"+vi+\"[\"+ja+\"]\"}).join(\"||\")).then(Gr,\".\",fo[kn],\"(\",Ji,\");\",Ji.map(function(ea,ja){return vi+\"[\"+ja+\"]=\"+ea}).join(\";\"),\";\"))}else{Xn=hn.def(Zr,\".\",kn);var Pi=Gt.cond(Xn,\"!==\",sn,\".\",kn);hn(Pi),kn in sa?Pi(Gt.cond(Xn).then(Gr,\".enable(\",sa[kn],\");\").else(Gr,\".disable(\",sa[kn],\");\"),sn,\".\",kn,\"=\",Xn,\";\"):Pi(Gr,\".\",fo[kn],\"(\",Xn,\");\",sn,\".\",kn,\"=\",Xn,\";\")}}}),Object.keys(mr.state).length===0&&hn(sn,\".dirty=false;\"),nr(hn)}function Hs(Gt,nr,mr,zr){var Gr=Gt.shared,Xr=Gt.current,fn=Gr.current,sn=Gr.gl,Zr;oi(Object.keys(mr)).forEach(function(hn){var qr=mr[hn];if(!(zr&&!zr(qr))){var kn=qr.append(Gt,nr);if(sa[hn]){var Xn=sa[hn];ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(Gt.cond(Zr).then(sn,\".enable(\",Xn,\");\").else(sn,\".disable(\",Xn,\");\")),nr(fn,\".\",hn,\"=\",Zr,\";\")):(nr(Gt.cond(kn).then(sn,\".enable(\",Xn,\");\").else(sn,\".disable(\",Xn,\");\")),nr(fn,\".\",hn,\"=\",kn,\";\"))}else if(Bn(kn)){var vi=Xr[hn];nr(sn,\".\",fo[hn],\"(\",kn,\");\",kn.map(function(Ji,Pi){return vi+\"[\"+Pi+\"]=\"+Ji}).join(\";\"),\";\")}else ta(qr)?(Zr=Gt.link(kn,{stable:!0}),nr(sn,\".\",fo[hn],\"(\",Zr,\");\",fn,\".\",hn,\"=\",Zr,\";\")):nr(sn,\".\",fo[hn],\"(\",kn,\");\",fn,\".\",hn,\"=\",kn,\";\")}})}function $c(Gt,nr){Pa&&(Gt.instancing=nr.def(Gt.shared.extensions,\".angle_instanced_arrays\"))}function Us(Gt,nr,mr,zr,Gr){var Xr=Gt.shared,fn=Gt.stats,sn=Xr.current,Zr=Xr.timer,hn=mr.profile;function qr(){return typeof performance>\"u\"?\"Date.now()\":\"performance.now()\"}var kn,Xn;function vi($i){kn=nr.def(),$i(kn,\"=\",qr(),\";\"),typeof Gr==\"string\"?$i(fn,\".count+=\",Gr,\";\"):$i(fn,\".count++;\"),Ma&&(zr?(Xn=nr.def(),$i(Xn,\"=\",Zr,\".getNumPendingQueries();\")):$i(Zr,\".beginQuery(\",fn,\");\"))}function Ji($i){$i(fn,\".cpuTime+=\",qr(),\"-\",kn,\";\"),Ma&&(zr?$i(Zr,\".pushScopeStats(\",Xn,\",\",Zr,\".getNumPendingQueries(),\",fn,\");\"):$i(Zr,\".endQuery();\"))}function Pi($i){var da=nr.def(sn,\".profile\");nr(sn,\".profile=\",$i,\";\"),nr.exit(sn,\".profile=\",da,\";\")}var ea;if(hn){if(ta(hn)){hn.enable?(vi(nr),Ji(nr.exit),Pi(\"true\")):Pi(\"false\");return}ea=hn.append(Gt,nr),Pi(ea)}else ea=nr.def(sn,\".profile\");var ja=Gt.block();vi(ja),nr(\"if(\",ea,\"){\",ja,\"}\");var Ea=Gt.block();Ji(Ea),nr.exit(\"if(\",ea,\"){\",Ea,\"}\")}function ve(Gt,nr,mr,zr,Gr){var Xr=Gt.shared;function fn(Zr){switch(Zr){case vs:case fl:case Nl:return 2;case Fo:case al:case eu:return 3;case ts:case os:case Xu:return 4;default:return 1}}function sn(Zr,hn,qr){var kn=Xr.gl,Xn=nr.def(Zr,\".location\"),vi=nr.def(Xr.attributes,\"[\",Xn,\"]\"),Ji=qr.state,Pi=qr.buffer,ea=[qr.x,qr.y,qr.z,qr.w],ja=[\"buffer\",\"normalized\",\"offset\",\"stride\"];function Ea(){nr(\"if(!\",vi,\".buffer){\",kn,\".enableVertexAttribArray(\",Xn,\");}\");var da=qr.type,fa;if(qr.size?fa=nr.def(qr.size,\"||\",hn):fa=hn,nr(\"if(\",vi,\".type!==\",da,\"||\",vi,\".size!==\",fa,\"||\",ja.map(function(Qa){return vi+\".\"+Qa+\"!==\"+qr[Qa]}).join(\"||\"),\"){\",kn,\".bindBuffer(\",Yr,\",\",Pi,\".buffer);\",kn,\".vertexAttribPointer(\",[Xn,fa,da,qr.normalized,qr.stride,qr.offset],\");\",vi,\".type=\",da,\";\",vi,\".size=\",fa,\";\",ja.map(function(Qa){return vi+\".\"+Qa+\"=\"+qr[Qa]+\";\"}).join(\"\"),\"}\"),Pa){var za=qr.divisor;nr(\"if(\",vi,\".divisor!==\",za,\"){\",Gt.instancing,\".vertexAttribDivisorANGLE(\",[Xn,za],\");\",vi,\".divisor=\",za,\";}\")}}function $i(){nr(\"if(\",vi,\".buffer){\",kn,\".disableVertexAttribArray(\",Xn,\");\",vi,\".buffer=null;\",\"}if(\",po.map(function(da,fa){return vi+\".\"+da+\"!==\"+ea[fa]}).join(\"||\"),\"){\",kn,\".vertexAttrib4f(\",Xn,\",\",ea,\");\",po.map(function(da,fa){return vi+\".\"+da+\"=\"+ea[fa]+\";\"}).join(\"\"),\"}\")}Ji===mo?Ea():Ji===Ao?$i():(nr(\"if(\",Ji,\"===\",mo,\"){\"),Ea(),nr(\"}else{\"),$i(),nr(\"}\"))}zr.forEach(function(Zr){var hn=Zr.name,qr=mr.attributes[hn],kn;if(qr){if(!Gr(qr))return;kn=qr.append(Gt,nr)}else{if(!Gr(La))return;var Xn=Gt.scopeAttrib(hn);kn={},Object.keys(new qi).forEach(function(vi){kn[vi]=nr.def(Xn,\".\",vi)})}sn(Gt.link(Zr),fn(Zr.info.type),kn)})}function K(Gt,nr,mr,zr,Gr,Xr){for(var fn=Gt.shared,sn=fn.gl,Zr,hn=0;hn1){for(var ws=[],$s=[],rs=0;rs>1)\",Pi],\");\")}function za(){mr(ea,\".drawArraysInstancedANGLE(\",[Xn,vi,Ji,Pi],\");\")}qr&&qr!==\"null\"?Ea?fa():(mr(\"if(\",qr,\"){\"),fa(),mr(\"}else{\"),za(),mr(\"}\")):za()}function da(){function fa(){mr(Xr+\".drawElements(\"+[Xn,Ji,ja,vi+\"<<((\"+ja+\"-\"+co+\")>>1)\"]+\");\")}function za(){mr(Xr+\".drawArrays(\"+[Xn,vi,Ji]+\");\")}qr&&qr!==\"null\"?Ea?fa():(mr(\"if(\",qr,\"){\"),fa(),mr(\"}else{\"),za(),mr(\"}\")):za()}Pa&&(typeof Pi!=\"number\"||Pi>=0)?typeof Pi==\"string\"?(mr(\"if(\",Pi,\">0){\"),$i(),mr(\"}else if(\",Pi,\"<0){\"),da(),mr(\"}\")):$i():da()}function te(Gt,nr,mr,zr,Gr){var Xr=Mo(),fn=Xr.proc(\"body\",Gr);return Pa&&(Xr.instancing=fn.def(Xr.shared.extensions,\".angle_instanced_arrays\")),Gt(Xr,fn,mr,zr),Xr.compile().body}function ye(Gt,nr,mr,zr){$c(Gt,nr),mr.useVAO?mr.drawVAO?nr(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,nr),\");\"):nr(Gt.shared.vao,\".setVAO(\",Gt.shared.vao,\".targetVAO);\"):(nr(Gt.shared.vao,\".setVAO(null);\"),ve(Gt,nr,mr,zr.attributes,function(){return!0})),K(Gt,nr,mr,zr.uniforms,function(){return!0},!1),me(Gt,nr,nr,mr)}function Ze(Gt,nr){var mr=Gt.proc(\"draw\",1);$c(Gt,mr),tu(Gt,mr,nr.context),Ac(Gt,mr,nr.framebuffer),Nc(Gt,mr,nr),Hs(Gt,mr,nr.state),Us(Gt,mr,nr,!1,!0);var zr=nr.shader.progVar.append(Gt,mr);if(mr(Gt.shared.gl,\".useProgram(\",zr,\".program);\"),nr.shader.program)ye(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,\".setVAO(null);\");var Gr=Gt.global.def(\"{}\"),Xr=mr.def(zr,\".id\"),fn=mr.def(Gr,\"[\",Xr,\"]\");mr(Gt.cond(fn).then(fn,\".call(this,a0);\").else(fn,\"=\",Gr,\"[\",Xr,\"]=\",Gt.link(function(sn){return te(ye,Gt,nr,sn,1)}),\"(\",zr,\");\",fn,\".call(this,a0);\"))}Object.keys(nr.state).length>0&&mr(Gt.shared.current,\".dirty=true;\"),Gt.shared.vao&&mr(Gt.shared.vao,\".setVAO(null);\")}function We(Gt,nr,mr,zr){Gt.batchId=\"a1\",$c(Gt,nr);function Gr(){return!0}ve(Gt,nr,mr,zr.attributes,Gr),K(Gt,nr,mr,zr.uniforms,Gr,!1),me(Gt,nr,nr,mr)}function lt(Gt,nr,mr,zr){$c(Gt,nr);var Gr=mr.contextDep,Xr=nr.def(),fn=\"a0\",sn=\"a1\",Zr=nr.def();Gt.shared.props=Zr,Gt.batchId=Xr;var hn=Gt.scope(),qr=Gt.scope();nr(hn.entry,\"for(\",Xr,\"=0;\",Xr,\"<\",sn,\";++\",Xr,\"){\",Zr,\"=\",fn,\"[\",Xr,\"];\",qr,\"}\",hn.exit);function kn(ja){return ja.contextDep&&Gr||ja.propDep}function Xn(ja){return!kn(ja)}if(mr.needsContext&&tu(Gt,qr,mr.context),mr.needsFramebuffer&&Ac(Gt,qr,mr.framebuffer),Hs(Gt,qr,mr.state,kn),mr.profile&&kn(mr.profile)&&Us(Gt,qr,mr,!1,!0),zr)mr.useVAO?mr.drawVAO?kn(mr.drawVAO)?qr(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,qr),\");\"):hn(Gt.shared.vao,\".setVAO(\",mr.drawVAO.append(Gt,hn),\");\"):hn(Gt.shared.vao,\".setVAO(\",Gt.shared.vao,\".targetVAO);\"):(hn(Gt.shared.vao,\".setVAO(null);\"),ve(Gt,hn,mr,zr.attributes,Xn),ve(Gt,qr,mr,zr.attributes,kn)),K(Gt,hn,mr,zr.uniforms,Xn,!1),K(Gt,qr,mr,zr.uniforms,kn,!0),me(Gt,hn,qr,mr);else{var vi=Gt.global.def(\"{}\"),Ji=mr.shader.progVar.append(Gt,qr),Pi=qr.def(Ji,\".id\"),ea=qr.def(vi,\"[\",Pi,\"]\");qr(Gt.shared.gl,\".useProgram(\",Ji,\".program);\",\"if(!\",ea,\"){\",ea,\"=\",vi,\"[\",Pi,\"]=\",Gt.link(function(ja){return te(We,Gt,mr,ja,2)}),\"(\",Ji,\");}\",ea,\".call(this,a0[\",Xr,\"],\",Xr,\");\")}}function Ct(Gt,nr){var mr=Gt.proc(\"batch\",2);Gt.batchId=\"0\",$c(Gt,mr);var zr=!1,Gr=!0;Object.keys(nr.context).forEach(function(vi){zr=zr||nr.context[vi].propDep}),zr||(tu(Gt,mr,nr.context),Gr=!1);var Xr=nr.framebuffer,fn=!1;Xr?(Xr.propDep?zr=fn=!0:Xr.contextDep&&zr&&(fn=!0),fn||Ac(Gt,mr,Xr)):Ac(Gt,mr,null),nr.state.viewport&&nr.state.viewport.propDep&&(zr=!0);function sn(vi){return vi.contextDep&&zr||vi.propDep}Nc(Gt,mr,nr),Hs(Gt,mr,nr.state,function(vi){return!sn(vi)}),(!nr.profile||!sn(nr.profile))&&Us(Gt,mr,nr,!1,\"a1\"),nr.contextDep=zr,nr.needsContext=Gr,nr.needsFramebuffer=fn;var Zr=nr.shader.progVar;if(Zr.contextDep&&zr||Zr.propDep)lt(Gt,mr,nr,null);else{var hn=Zr.append(Gt,mr);if(mr(Gt.shared.gl,\".useProgram(\",hn,\".program);\"),nr.shader.program)lt(Gt,mr,nr,nr.shader.program);else{mr(Gt.shared.vao,\".setVAO(null);\");var qr=Gt.global.def(\"{}\"),kn=mr.def(hn,\".id\"),Xn=mr.def(qr,\"[\",kn,\"]\");mr(Gt.cond(Xn).then(Xn,\".call(this,a0,a1);\").else(Xn,\"=\",qr,\"[\",kn,\"]=\",Gt.link(function(vi){return te(lt,Gt,nr,vi,2)}),\"(\",hn,\");\",Xn,\".call(this,a0,a1);\"))}}Object.keys(nr.state).length>0&&mr(Gt.shared.current,\".dirty=true;\"),Gt.shared.vao&&mr(Gt.shared.vao,\".setVAO(null);\")}function Wt(Gt,nr){var mr=Gt.proc(\"scope\",3);Gt.batchId=\"a2\";var zr=Gt.shared,Gr=zr.current;if(tu(Gt,mr,nr.context),nr.framebuffer&&nr.framebuffer.append(Gt,mr),oi(Object.keys(nr.state)).forEach(function(sn){var Zr=nr.state[sn],hn=Zr.append(Gt,mr);Bn(hn)?hn.forEach(function(qr,kn){ao(qr)?mr.set(Gt.next[sn],\"[\"+kn+\"]\",qr):mr.set(Gt.next[sn],\"[\"+kn+\"]\",Gt.link(qr,{stable:!0}))}):ta(Zr)?mr.set(zr.next,\".\"+sn,Gt.link(hn,{stable:!0})):mr.set(zr.next,\".\"+sn,hn)}),Us(Gt,mr,nr,!0,!0),[Jt,Hr,vr,ln,hr].forEach(function(sn){var Zr=nr.draw[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.draw,\".\"+sn,hn):mr.set(zr.draw,\".\"+sn,Gt.link(hn),{stable:!0})}}),Object.keys(nr.uniforms).forEach(function(sn){var Zr=nr.uniforms[sn].append(Gt,mr);Array.isArray(Zr)&&(Zr=\"[\"+Zr.map(function(hn){return ao(hn)?hn:Gt.link(hn,{stable:!0})})+\"]\"),mr.set(zr.uniforms,\"[\"+Gt.link(cn.id(sn),{stable:!0})+\"]\",Zr)}),Object.keys(nr.attributes).forEach(function(sn){var Zr=nr.attributes[sn].append(Gt,mr),hn=Gt.scopeAttrib(sn);Object.keys(new qi).forEach(function(qr){mr.set(hn,\".\"+qr,Zr[qr])})}),nr.scopeVAO){var Xr=nr.scopeVAO.append(Gt,mr);ao(Xr)?mr.set(zr.vao,\".targetVAO\",Xr):mr.set(zr.vao,\".targetVAO\",Gt.link(Xr,{stable:!0}))}function fn(sn){var Zr=nr.shader[sn];if(Zr){var hn=Zr.append(Gt,mr);ao(hn)?mr.set(zr.shader,\".\"+sn,hn):mr.set(zr.shader,\".\"+sn,Gt.link(hn,{stable:!0}))}}fn(wt),fn(zt),Object.keys(nr.state).length>0&&(mr(Gr,\".dirty=true;\"),mr.exit(Gr,\".dirty=true;\")),mr(\"a1(\",Gt.shared.context,\",a0,\",Gt.batchId,\");\")}function xr(Gt){if(!(typeof Gt!=\"object\"||Bn(Gt))){for(var nr=Object.keys(Gt),mr=0;mr=0;--te){var ye=Zo[te];ye&&ye(ia,null,0)}Ln.flush(),ha&&ha.update()}function Fs(){!ss&&Zo.length>0&&(ss=h.next(_s))}function iu(){ss&&(h.cancel(_s),ss=null)}function Oc(te){te.preventDefault(),Ni=!0,iu(),ps.forEach(function(ye){ye()})}function rl(te){Ln.getError(),Ni=!1,Fi.restore(),Oo.restore(),Pa.restore(),va.restore(),sa.restore(),fo.restore(),$a.restore(),ha&&ha.restore(),Ja.procs.refresh(),Fs(),Na.forEach(function(ye){ye()})}ao&&(ao.addEventListener(ys,Oc,!1),ao.addEventListener(Ms,rl,!1));function Bc(){Zo.length=0,iu(),ao&&(ao.removeEventListener(ys,Oc),ao.removeEventListener(Ms,rl)),Oo.clear(),fo.clear(),sa.clear(),$a.clear(),va.clear(),ca.clear(),Pa.clear(),ha&&ha.clear(),Mo.forEach(function(te){te()})}function ql(te){function ye(Xr){var fn=g({},Xr);delete fn.uniforms,delete fn.attributes,delete fn.context,delete fn.vao,\"stencil\"in fn&&fn.stencil.op&&(fn.stencil.opBack=fn.stencil.opFront=fn.stencil.op,delete fn.stencil.op);function sn(Zr){if(Zr in fn){var hn=fn[Zr];delete fn[Zr],Object.keys(hn).forEach(function(qr){fn[Zr+\".\"+qr]=hn[qr]})}}return sn(\"blend\"),sn(\"depth\"),sn(\"cull\"),sn(\"stencil\"),sn(\"polygonOffset\"),sn(\"scissor\"),sn(\"sample\"),\"vao\"in Xr&&(fn.vao=Xr.vao),fn}function Ze(Xr,fn){var sn={},Zr={};return Object.keys(Xr).forEach(function(hn){var qr=Xr[hn];if(c.isDynamic(qr)){Zr[hn]=c.unbox(qr,hn);return}else if(fn&&Array.isArray(qr)){for(var kn=0;kn0)return Gt.call(this,zr(Xr|0),Xr|0)}else if(Array.isArray(Xr)){if(Xr.length)return Gt.call(this,Xr,Xr.length)}else return Ar.call(this,Xr)}return g(Gr,{stats:xr,destroy:function(){Fr.destroy()}})}var pc=fo.setFBO=ql({framebuffer:c.define.call(null,xl,\"framebuffer\")});function mc(te,ye){var Ze=0;Ja.procs.poll();var We=ye.color;We&&(Ln.clearColor(+We[0]||0,+We[1]||0,+We[2]||0,+We[3]||0),Ze|=tl),\"depth\"in ye&&(Ln.clearDepth(+ye.depth),Ze|=ml),\"stencil\"in ye&&(Ln.clearStencil(ye.stencil|0),Ze|=ua),Ln.clear(Ze)}function Jc(te){if(\"framebuffer\"in te)if(te.framebuffer&&te.framebuffer_reglType===\"framebufferCube\")for(var ye=0;ye<6;++ye)pc(g({framebuffer:te.framebuffer.faces[ye]},te),mc);else pc(te,mc);else mc(null,te)}function tu(te){Zo.push(te);function ye(){var Ze=Fl(Zo,te);function We(){var lt=Fl(Zo,We);Zo[lt]=Zo[Zo.length-1],Zo.length-=1,Zo.length<=0&&iu()}Zo[Ze]=We}return Fs(),{cancel:ye}}function Ac(){var te=Ia.viewport,ye=Ia.scissor_box;te[0]=te[1]=ye[0]=ye[1]=0,ia.viewportWidth=ia.framebufferWidth=ia.drawingBufferWidth=te[2]=ye[2]=Ln.drawingBufferWidth,ia.viewportHeight=ia.framebufferHeight=ia.drawingBufferHeight=te[3]=ye[3]=Ln.drawingBufferHeight}function Nc(){ia.tick+=1,ia.time=$c(),Ac(),Ja.procs.poll()}function Hs(){va.refresh(),Ac(),Ja.procs.refresh(),ha&&ha.update()}function $c(){return(p()-Xo)/1e3}Hs();function Us(te,ye){var Ze;switch(te){case\"frame\":return tu(ye);case\"lost\":Ze=ps;break;case\"restore\":Ze=Na;break;case\"destroy\":Ze=Mo;break;default:}return Ze.push(ye),{cancel:function(){for(var We=0;We=0},read:Fa,destroy:Bc,_gl:Ln,_refresh:Hs,poll:function(){Nc(),ha&&ha.update()},now:$c,stats:na,getCachedCode:ve,preloadCachedCode:K});return cn.onDone(null,me),me}return vc})}}),GR=ke({\"node_modules/gl-util/context.js\"(Z,H){\"use strict\";var g=Rv();H.exports=function(o){if(o?typeof o==\"string\"&&(o={container:o}):o={},A(o)?o={container:o}:S(o)?o={container:o}:e(o)?o={gl:o}:o=g(o,{container:\"container target element el canvas holder parent parentNode wrapper use ref root node\",gl:\"gl context webgl glContext\",attrs:\"attributes attrs contextAttributes\",pixelRatio:\"pixelRatio pxRatio px ratio pxratio pixelratio\",width:\"w width\",height:\"h height\"},!0),o.pixelRatio||(o.pixelRatio=window.pixelRatio||1),o.gl)return o.gl;if(o.canvas&&(o.container=o.canvas.parentNode),o.container){if(typeof o.container==\"string\"){var n=document.querySelector(o.container);if(!n)throw Error(\"Element \"+o.container+\" is not found\");o.container=n}A(o.container)?(o.canvas=o.container,o.container=o.canvas.parentNode):o.canvas||(o.canvas=t(),o.container.appendChild(o.canvas),x(o))}else if(!o.canvas)if(typeof document<\"u\")o.container=document.body||document.documentElement,o.canvas=t(),o.container.appendChild(o.canvas),x(o);else throw Error(\"Not DOM environment. Use headless-gl.\");return o.gl||[\"webgl\",\"experimental-webgl\",\"webgl-experimental\"].some(function(i){try{o.gl=o.canvas.getContext(i,o.attrs)}catch{}return o.gl}),o.gl};function x(r){if(r.container)if(r.container==document.body)document.body.style.width||(r.canvas.width=r.width||r.pixelRatio*window.innerWidth),document.body.style.height||(r.canvas.height=r.height||r.pixelRatio*window.innerHeight);else{var o=r.container.getBoundingClientRect();r.canvas.width=r.width||o.right-o.left,r.canvas.height=r.height||o.bottom-o.top}}function A(r){return typeof r.getContext==\"function\"&&\"width\"in r&&\"height\"in r}function S(r){return typeof r.nodeName==\"string\"&&typeof r.appendChild==\"function\"&&typeof r.getBoundingClientRect==\"function\"}function e(r){return typeof r.drawArrays==\"function\"||typeof r.drawElements==\"function\"}function t(){var r=document.createElement(\"canvas\");return r.style.position=\"absolute\",r.style.top=0,r.style.left=0,r}}}),WR=ke({\"node_modules/font-atlas/index.js\"(Z,H){\"use strict\";var g=GA(),x=[32,126];H.exports=A;function A(S){S=S||{};var e=S.shape?S.shape:S.canvas?[S.canvas.width,S.canvas.height]:[512,512],t=S.canvas||document.createElement(\"canvas\"),r=S.font,o=typeof S.step==\"number\"?[S.step,S.step]:S.step||[32,32],n=S.chars||x;if(r&&typeof r!=\"string\"&&(r=g(r)),!Array.isArray(n))n=String(n).split(\"\");else if(n.length===2&&typeof n[0]==\"number\"&&typeof n[1]==\"number\"){for(var i=[],a=n[0],s=0;a<=n[1];a++)i[s++]=String.fromCharCode(a);n=i}e=e.slice(),t.width=e[0],t.height=e[1];var c=t.getContext(\"2d\");c.fillStyle=\"#000\",c.fillRect(0,0,t.width,t.height),c.font=r,c.textAlign=\"center\",c.textBaseline=\"middle\",c.fillStyle=\"#fff\";for(var h=o[0]/2,p=o[1]/2,a=0;ae[0]-o[0]/2&&(h=o[0]/2,p+=o[1]);return t}}}),XA=ke({\"node_modules/bit-twiddle/twiddle.js\"(Z){\"use strict\";\"use restrict\";var H=32;Z.INT_BITS=H,Z.INT_MAX=2147483647,Z.INT_MIN=-1<0)-(A<0)},Z.abs=function(A){var S=A>>H-1;return(A^S)-S},Z.min=function(A,S){return S^(A^S)&-(A65535)<<4,A>>>=S,e=(A>255)<<3,A>>>=e,S|=e,e=(A>15)<<2,A>>>=e,S|=e,e=(A>3)<<1,A>>>=e,S|=e,S|A>>1},Z.log10=function(A){return A>=1e9?9:A>=1e8?8:A>=1e7?7:A>=1e6?6:A>=1e5?5:A>=1e4?4:A>=1e3?3:A>=100?2:A>=10?1:0},Z.popCount=function(A){return A=A-(A>>>1&1431655765),A=(A&858993459)+(A>>>2&858993459),(A+(A>>>4)&252645135)*16843009>>>24};function g(A){var S=32;return A&=-A,A&&S--,A&65535&&(S-=16),A&16711935&&(S-=8),A&252645135&&(S-=4),A&858993459&&(S-=2),A&1431655765&&(S-=1),S}Z.countTrailingZeros=g,Z.nextPow2=function(A){return A+=A===0,--A,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A+1},Z.prevPow2=function(A){return A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A-(A>>>1)},Z.parity=function(A){return A^=A>>>16,A^=A>>>8,A^=A>>>4,A&=15,27030>>>A&1};var x=new Array(256);(function(A){for(var S=0;S<256;++S){var e=S,t=S,r=7;for(e>>>=1;e;e>>>=1)t<<=1,t|=e&1,--r;A[S]=t<>>8&255]<<16|x[A>>>16&255]<<8|x[A>>>24&255]},Z.interleave2=function(A,S){return A&=65535,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,S&=65535,S=(S|S<<8)&16711935,S=(S|S<<4)&252645135,S=(S|S<<2)&858993459,S=(S|S<<1)&1431655765,A|S<<1},Z.deinterleave2=function(A,S){return A=A>>>S&1431655765,A=(A|A>>>1)&858993459,A=(A|A>>>2)&252645135,A=(A|A>>>4)&16711935,A=(A|A>>>16)&65535,A<<16>>16},Z.interleave3=function(A,S,e){return A&=1023,A=(A|A<<16)&4278190335,A=(A|A<<8)&251719695,A=(A|A<<4)&3272356035,A=(A|A<<2)&1227133513,S&=1023,S=(S|S<<16)&4278190335,S=(S|S<<8)&251719695,S=(S|S<<4)&3272356035,S=(S|S<<2)&1227133513,A|=S<<1,e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,A|e<<2},Z.deinterleave3=function(A,S){return A=A>>>S&1227133513,A=(A|A>>>2)&3272356035,A=(A|A>>>4)&251719695,A=(A|A>>>8)&4278190335,A=(A|A>>>16)&1023,A<<22>>22},Z.nextCombination=function(A){var S=A|A-1;return S+1|(~S&-~S)-1>>>g(A)+1}}}),XR=ke({\"node_modules/dup/dup.js\"(Z,H){\"use strict\";function g(S,e,t){var r=S[t]|0;if(r<=0)return[];var o=new Array(r),n;if(t===S.length-1)for(n=0;n\"u\"&&(e=0),typeof S){case\"number\":if(S>0)return x(S|0,e);break;case\"object\":if(typeof S.length==\"number\")return g(S,e,0);break}return[]}H.exports=A}}),ZR=ke({\"node_modules/typedarray-pool/pool.js\"(Z){\"use strict\";var H=XA(),g=XR(),x=Nm().Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var A=typeof Uint8ClampedArray<\"u\",S=typeof BigUint64Array<\"u\",e=typeof BigInt64Array<\"u\",t=window.__TYPEDARRAY_POOL;t.UINT8C||(t.UINT8C=g([32,0])),t.BIGUINT64||(t.BIGUINT64=g([32,0])),t.BIGINT64||(t.BIGINT64=g([32,0])),t.BUFFER||(t.BUFFER=g([32,0]));var r=t.DATA,o=t.BUFFER;Z.free=function(u){if(x.isBuffer(u))o[H.log2(u.length)].push(u);else{if(Object.prototype.toString.call(u)!==\"[object ArrayBuffer]\"&&(u=u.buffer),!u)return;var y=u.length||u.byteLength,f=H.log2(y)|0;r[f].push(u)}};function n(v){if(v){var u=v.length||v.byteLength,y=H.log2(u);r[y].push(v)}}function i(v){n(v.buffer)}Z.freeUint8=Z.freeUint16=Z.freeUint32=Z.freeBigUint64=Z.freeInt8=Z.freeInt16=Z.freeInt32=Z.freeBigInt64=Z.freeFloat32=Z.freeFloat=Z.freeFloat64=Z.freeDouble=Z.freeUint8Clamped=Z.freeDataView=i,Z.freeArrayBuffer=n,Z.freeBuffer=function(u){o[H.log2(u.length)].push(u)},Z.malloc=function(u,y){if(y===void 0||y===\"arraybuffer\")return a(u);switch(y){case\"uint8\":return s(u);case\"uint16\":return c(u);case\"uint32\":return h(u);case\"int8\":return p(u);case\"int16\":return d(u);case\"int32\":return T(u);case\"float\":case\"float32\":return l(u);case\"double\":case\"float64\":return _(u);case\"uint8_clamped\":return w(u);case\"bigint64\":return E(u);case\"biguint64\":return M(u);case\"buffer\":return b(u);case\"data\":case\"dataview\":return m(u);default:return null}return null};function a(u){var u=H.nextPow2(u),y=H.log2(u),f=r[y];return f.length>0?f.pop():new ArrayBuffer(u)}Z.mallocArrayBuffer=a;function s(v){return new Uint8Array(a(v),0,v)}Z.mallocUint8=s;function c(v){return new Uint16Array(a(2*v),0,v)}Z.mallocUint16=c;function h(v){return new Uint32Array(a(4*v),0,v)}Z.mallocUint32=h;function p(v){return new Int8Array(a(v),0,v)}Z.mallocInt8=p;function d(v){return new Int16Array(a(2*v),0,v)}Z.mallocInt16=d;function T(v){return new Int32Array(a(4*v),0,v)}Z.mallocInt32=T;function l(v){return new Float32Array(a(4*v),0,v)}Z.mallocFloat32=Z.mallocFloat=l;function _(v){return new Float64Array(a(8*v),0,v)}Z.mallocFloat64=Z.mallocDouble=_;function w(v){return A?new Uint8ClampedArray(a(v),0,v):s(v)}Z.mallocUint8Clamped=w;function M(v){return S?new BigUint64Array(a(8*v),0,v):null}Z.mallocBigUint64=M;function E(v){return e?new BigInt64Array(a(8*v),0,v):null}Z.mallocBigInt64=E;function m(v){return new DataView(a(v),0,v)}Z.mallocDataView=m;function b(v){v=H.nextPow2(v);var u=H.log2(v),y=o[u];return y.length>0?y.pop():new x(v)}Z.mallocBuffer=b,Z.clearCache=function(){for(var u=0;u<32;++u)t.UINT8[u].length=0,t.UINT16[u].length=0,t.UINT32[u].length=0,t.INT8[u].length=0,t.INT16[u].length=0,t.INT32[u].length=0,t.FLOAT[u].length=0,t.DOUBLE[u].length=0,t.BIGUINT64[u].length=0,t.BIGINT64[u].length=0,t.UINT8C[u].length=0,r[u].length=0,o[u].length=0}}}),YR=ke({\"node_modules/is-plain-obj/index.js\"(Z,H){\"use strict\";var g=Object.prototype.toString;H.exports=function(x){var A;return g.call(x)===\"[object Object]\"&&(A=Object.getPrototypeOf(x),A===null||A===Object.getPrototypeOf({}))}}}),ZA=ke({\"node_modules/parse-unit/index.js\"(Z,H){H.exports=function(x,A){A||(A=[0,\"\"]),x=String(x);var S=parseFloat(x,10);return A[0]=S,A[1]=x.match(/[\\d.\\-\\+]*\\s*(.*)/)[1]||\"\",A}}}),KR=ke({\"node_modules/to-px/topx.js\"(Z,H){\"use strict\";var g=ZA();H.exports=e;var x=96;function A(t,r){var o=g(getComputedStyle(t).getPropertyValue(r));return o[0]*e(o[1],t)}function S(t,r){var o=document.createElement(\"div\");o.style[\"font-size\"]=\"128\"+t,r.appendChild(o);var n=A(o,\"font-size\")/128;return r.removeChild(o),n}function e(t,r){switch(r=r||document.body,t=(t||\"px\").trim().toLowerCase(),(r===window||r===document)&&(r=document.body),t){case\"%\":return r.clientHeight/100;case\"ch\":case\"ex\":return S(t,r);case\"em\":return A(r,\"font-size\");case\"rem\":return A(document.body,\"font-size\");case\"vw\":return window.innerWidth/100;case\"vh\":return window.innerHeight/100;case\"vmin\":return Math.min(window.innerWidth,window.innerHeight)/100;case\"vmax\":return Math.max(window.innerWidth,window.innerHeight)/100;case\"in\":return x;case\"cm\":return x/2.54;case\"mm\":return x/25.4;case\"pt\":return x/72;case\"pc\":return x/6}return 1}}}),JR=ke({\"node_modules/detect-kerning/index.js\"(Z,H){\"use strict\";H.exports=S;var g=S.canvas=document.createElement(\"canvas\"),x=g.getContext(\"2d\"),A=e([32,126]);S.createPairs=e,S.ascii=A;function S(t,r){Array.isArray(t)&&(t=t.join(\", \"));var o={},n,i=16,a=.05;r&&(r.length===2&&typeof r[0]==\"number\"?n=e(r):Array.isArray(r)?n=r:(r.o?n=e(r.o):r.pairs&&(n=r.pairs),r.fontSize&&(i=r.fontSize),r.threshold!=null&&(a=r.threshold))),n||(n=A),x.font=i+\"px \"+t;for(var s=0;si*a){var d=(p-h)/i;o[c]=d*1e3}}return o}function e(t){for(var r=[],o=t[0];o<=t[1];o++)for(var n=String.fromCharCode(o),i=t[0];i0;o-=4)if(r[o]!==0)return Math.floor((o-3)*.25/t)}}}),QR=ke({\"node_modules/gl-text/dist.js\"(Z,H){\"use strict\";var g=HR(),x=Rv(),A=WA(),S=GR(),e=OA(),t=Zp(),r=WR(),o=ZR(),n=my(),i=YR(),a=ZA(),s=KR(),c=JR(),h=Rf(),p=$R(),d=Qm(),T=XA(),l=T.nextPow2,_=new e,w=!1;document.body&&(M=document.body.appendChild(document.createElement(\"div\")),M.style.font=\"italic small-caps bold condensed 16px/2 cursive\",getComputedStyle(M).fontStretch&&(w=!0),document.body.removeChild(M));var M,E=function(v){m(v)?(v={regl:v},this.gl=v.regl._gl):this.gl=S(v),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=v.regl||A({gl:this.gl}),this.charBuffer=this.regl.buffer({type:\"uint8\",usage:\"stream\"}),this.sizeBuffer=this.regl.buffer({type:\"float\",usage:\"stream\"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(i(v)?v:{})};E.prototype.createShader=function(){var v=this.regl,u=v({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:\"src alpha\",dstRGB:\"one minus src alpha\",srcAlpha:\"one minus dst alpha\",dstAlpha:\"one\"}},stencil:{enable:!1},depth:{enable:!1},count:v.prop(\"count\"),offset:v.prop(\"offset\"),attributes:{charOffset:{offset:4,stride:8,buffer:v.this(\"sizeBuffer\")},width:{offset:0,stride:8,buffer:v.this(\"sizeBuffer\")},char:v.this(\"charBuffer\"),position:v.this(\"position\")},uniforms:{atlasSize:function(f,P){return[P.atlas.width,P.atlas.height]},atlasDim:function(f,P){return[P.atlas.cols,P.atlas.rows]},atlas:function(f,P){return P.atlas.texture},charStep:function(f,P){return P.atlas.step},em:function(f,P){return P.atlas.em},color:v.prop(\"color\"),opacity:v.prop(\"opacity\"),viewport:v.this(\"viewportArray\"),scale:v.this(\"scale\"),align:v.prop(\"align\"),baseline:v.prop(\"baseline\"),translate:v.this(\"translate\"),positionOffset:v.prop(\"positionOffset\")},primitive:\"points\",viewport:v.this(\"viewport\"),vert:`\n\t\t\tprecision highp float;\n\t\t\tattribute float width, charOffset, char;\n\t\t\tattribute vec2 position;\n\t\t\tuniform float fontSize, charStep, em, align, baseline;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform vec4 color;\n\t\t\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvoid main () {\n\t\t\t\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\n\t\t\t\t\t+ vec2(positionOffset.x, -positionOffset.y)))\n\t\t\t\t\t/ (viewport.zw * scale.xy);\n\n\t\t\t\tvec2 position = (position + translate) * scale;\n\t\t\t\tposition += offset * scale;\n\n\t\t\t\tcharCoord = position * viewport.zw + viewport.xy;\n\n\t\t\t\tgl_Position = vec4(position * 2. - 1., 0, 1);\n\n\t\t\t\tgl_PointSize = charStep;\n\n\t\t\t\tcharId.x = mod(char, atlasDim.x);\n\t\t\t\tcharId.y = floor(char / atlasDim.x);\n\n\t\t\t\tcharWidth = width * em;\n\n\t\t\t\tfontColor = color / 255.;\n\t\t\t}`,frag:`\n\t\t\tprecision highp float;\n\t\t\tuniform float fontSize, charStep, opacity;\n\t\t\tuniform vec2 atlasSize;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform sampler2D atlas;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\n\t\t\tfloat lightness(vec4 color) {\n\t\t\t\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\n\t\t\t}\n\n\t\t\tvoid main () {\n\t\t\t\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\n\t\t\t\tfloat halfCharStep = floor(charStep * .5 + .5);\n\n\t\t\t\t// invert y and shift by 1px (FF expecially needs that)\n\t\t\t\tuv.y = charStep - uv.y;\n\n\t\t\t\t// ignore points outside of character bounding box\n\t\t\t\tfloat halfCharWidth = ceil(charWidth * .5);\n\t\t\t\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\n\t\t\t\t\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\n\n\t\t\t\tuv += charId * charStep;\n\t\t\t\tuv = uv / atlasSize;\n\n\t\t\t\tvec4 color = fontColor;\n\t\t\t\tvec4 mask = texture2D(atlas, uv);\n\n\t\t\t\tfloat maskY = lightness(mask);\n\t\t\t\t// float colorY = lightness(color);\n\t\t\t\tcolor.a *= maskY;\n\t\t\t\tcolor.a *= opacity;\n\n\t\t\t\t// color.a += .1;\n\n\t\t\t\t// antialiasing, see yiq color space y-channel formula\n\t\t\t\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\n\n\t\t\t\tgl_FragColor = color;\n\t\t\t}`}),y={};return{regl:v,draw:u,atlas:y}},E.prototype.update=function(v){var u=this;if(typeof v==\"string\")v={text:v};else if(!v)return;v=x(v,{position:\"position positions coord coords coordinates\",font:\"font fontFace fontface typeface cssFont css-font family fontFamily\",fontSize:\"fontSize fontsize size font-size\",text:\"text texts chars characters value values symbols\",align:\"align alignment textAlign textbaseline\",baseline:\"baseline textBaseline textbaseline\",direction:\"dir direction textDirection\",color:\"color colour fill fill-color fillColor textColor textcolor\",kerning:\"kerning kern\",range:\"range dataBox\",viewport:\"vp viewport viewBox viewbox viewPort\",opacity:\"opacity alpha transparency visible visibility opaque\",offset:\"offset positionOffset padding shift indent indentation\"},!0),v.opacity!=null&&(Array.isArray(v.opacity)?this.opacity=v.opacity.map(function(ue){return parseFloat(ue)}):this.opacity=parseFloat(v.opacity)),v.viewport!=null&&(this.viewport=n(v.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),v.kerning!=null&&(this.kerning=v.kerning),v.offset!=null&&(typeof v.offset==\"number\"&&(v.offset=[v.offset,0]),this.positionOffset=d(v.offset)),v.direction&&(this.direction=v.direction),v.range&&(this.range=v.range,this.scale=[1/(v.range[2]-v.range[0]),1/(v.range[3]-v.range[1])],this.translate=[-v.range[0],-v.range[1]]),v.scale&&(this.scale=v.scale),v.translate&&(this.translate=v.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!v.font&&(v.font=E.baseFontSize+\"px sans-serif\");var y=!1,f=!1;if(v.font&&(Array.isArray(v.font)?v.font:[v.font]).forEach(function(ue,Oe){if(typeof ue==\"string\")try{ue=g.parse(ue)}catch{ue=g.parse(E.baseFontSize+\"px \"+ue)}else{var rt=ue.style,ot=ue.weight,et=ue.stretch,Lt=ue.variant;ue=g.parse(g.stringify(ue)),rt&&(ue.style=rt),ot&&(ue.weight=ot),et&&(ue.stretch=et),Lt&&(ue.variant=Lt)}var Et=g.stringify({size:E.baseFontSize,family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style}),Bt=a(ue.size),qt=Math.round(Bt[0]*s(Bt[1]));if(qt!==u.fontSize[Oe]&&(f=!0,u.fontSize[Oe]=qt),(!u.font[Oe]||Et!=u.font[Oe].baseString)&&(y=!0,u.font[Oe]=E.fonts[Et],!u.font[Oe])){var fr=ue.family.join(\", \"),ar=[ue.style];ue.style!=ue.variant&&ar.push(ue.variant),ue.variant!=ue.weight&&ar.push(ue.weight),w&&ue.weight!=ue.stretch&&ar.push(ue.stretch),u.font[Oe]={baseString:Et,family:fr,weight:ue.weight,stretch:ue.stretch,style:ue.style,variant:ue.variant,width:{},kerning:{},metrics:p(fr,{origin:\"top\",fontSize:E.baseFontSize,fontStyle:ar.join(\" \")})},E.fonts[Et]=u.font[Oe]}}),(y||f)&&this.font.forEach(function(ue,Oe){var rt=g.stringify({size:u.fontSize[Oe],family:ue.family,stretch:w?ue.stretch:void 0,variant:ue.variant,weight:ue.weight,style:ue.style});if(u.fontAtlas[Oe]=u.shader.atlas[rt],!u.fontAtlas[Oe]){var ot=ue.metrics;u.shader.atlas[rt]=u.fontAtlas[Oe]={fontString:rt,step:Math.ceil(u.fontSize[Oe]*ot.bottom*.5)*2,em:u.fontSize[Oe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:u.regl.texture()}}v.text==null&&(v.text=u.text)}),typeof v.text==\"string\"&&v.position&&v.position.length>2){for(var P=Array(v.position.length*.5),L=0;L2){for(var B=!v.position[0].length,O=o.mallocFloat(this.count*2),I=0,N=0;I1?u.align[Oe]:u.align[0]:u.align;if(typeof rt==\"number\")return rt;switch(rt){case\"right\":case\"end\":return-ue;case\"center\":case\"centre\":case\"middle\":return-ue*.5}return 0})),this.baseline==null&&v.baseline==null&&(v.baseline=0),v.baseline!=null&&(this.baseline=v.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ue,Oe){var rt=(u.font[Oe]||u.font[0]).metrics,ot=0;return ot+=rt.bottom*.5,typeof ue==\"number\"?ot+=ue-rt.baseline:ot+=-rt[ue],ot*=-1,ot})),v.color!=null)if(v.color||(v.color=\"transparent\"),typeof v.color==\"string\"||!isNaN(v.color))this.color=t(v.color,\"uint8\");else{var Ue;if(typeof v.color[0]==\"number\"&&v.color.length>this.counts.length){var Ie=v.color.length;Ue=o.mallocUint8(Ie);for(var Ye=(v.color.subarray||v.color.slice).bind(v.color),it=0;it4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(ut){var Me=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Me);for(var pe=0;pe1?this.counts[pe]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[pe]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(pe*4,pe*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[pe]:this.opacity,baseline:this.baselineOffset[pe]!=null?this.baselineOffset[pe]:this.baselineOffset[0],align:this.align?this.alignOffset[pe]!=null?this.alignOffset[pe]:this.alignOffset[0]:0,atlas:this.fontAtlas[pe]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(pe*2,pe*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},E.prototype.destroy=function(){},E.prototype.kerning=!0,E.prototype.position={constant:new Float32Array(2)},E.prototype.translate=null,E.prototype.scale=null,E.prototype.font=null,E.prototype.text=\"\",E.prototype.positionOffset=[0,0],E.prototype.opacity=1,E.prototype.color=new Uint8Array([0,0,0,255]),E.prototype.alignOffset=[0,0],E.maxAtlasSize=1024,E.atlasCanvas=document.createElement(\"canvas\"),E.atlasContext=E.atlasCanvas.getContext(\"2d\",{alpha:!1}),E.baseFontSize=64,E.fonts={};function m(b){return typeof b==\"function\"&&b._gl&&b.prop&&b.texture&&b.buffer}H.exports=E}}),fb=ke({\"src/lib/prepare_regl.js\"(Z,H){\"use strict\";var g=iA(),x=WA();H.exports=function(S,e,t){var r=S._fullLayout,o=!0;return r._glcanvas.each(function(n){if(n.regl){n.regl.preloadCachedCode(t);return}if(!(n.pick&&!r._has(\"parcoords\"))){try{n.regl=x({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:S._context.plotGlPixelRatio||window.devicePixelRatio,extensions:e||[],cachedCode:t||{}})}catch{o=!1}n.regl||(o=!1),o&&this.addEventListener(\"webglcontextlost\",function(i){S&&S.emit&&S.emit(\"plotly_webglcontextlost\",{event:i,layer:n.key})},!1)}}),o||g({container:r._glcontainer.node()}),o}}}),YA=ke({\"src/traces/scattergl/plot.js\"(c,H){\"use strict\";var g=SA(),x=BA(),A=BR(),S=QR(),e=un(),t=cv().selectMode,r=fb(),o=vu(),n=w2(),i=TA().styleTextSelection,a={};function s(h,p,d,T){var l=h._size,_=h.width*T,w=h.height*T,M=l.l*T,E=l.b*T,m=l.r*T,b=l.t*T,v=l.w*T,u=l.h*T;return[M+p.domain[0]*v,E+d.domain[0]*u,_-m-(1-p.domain[1])*v,w-b-(1-d.domain[1])*u]}var c=H.exports=function(p,d,T){if(T.length){var l=p._fullLayout,_=d._scene,w=d.xaxis,M=d.yaxis,E,m;if(_){var b=r(p,[\"ANGLE_instanced_arrays\",\"OES_element_index_uint\"],a);if(!b){_.init();return}var v=_.count,u=l._glcanvas.data()[0].regl;if(n(p,d,T),_.dirty){if((_.line2d||_.error2d)&&!(_.scatter2d||_.fill2d||_.glText)&&u.clear({}),_.error2d===!0&&(_.error2d=A(u)),_.line2d===!0&&(_.line2d=x(u)),_.scatter2d===!0&&(_.scatter2d=g(u)),_.fill2d===!0&&(_.fill2d=x(u)),_.glText===!0)for(_.glText=new Array(v),E=0;E_.glText.length){var y=v-_.glText.length;for(E=0;Eie&&(isNaN(ee[ce])||isNaN(ee[ce+1]));)ce-=2;j.positions=ee.slice(ie,ce+2)}return j}),_.line2d.update(_.lineOptions)),_.error2d){var L=(_.errorXOptions||[]).concat(_.errorYOptions||[]);_.error2d.update(L)}_.scatter2d&&_.scatter2d.update(_.markerOptions),_.fillOrder=e.repeat(null,v),_.fill2d&&(_.fillOptions=_.fillOptions.map(function(j,ee){var ie=T[ee];if(!(!j||!ie||!ie[0]||!ie[0].trace)){var ce=ie[0],xe=ce.trace,Te=ce.t,Ue=_.lineOptions[ee],Ie,Ye,it=[];xe._ownfill&&it.push(ee),xe._nexttrace&&it.push(ee+1),it.length&&(_.fillOrder[ee]=it);var at=[],tt=Ue&&Ue.positions||Te.positions,ut,Me;if(xe.fill===\"tozeroy\"){for(ut=0;utut&&isNaN(tt[Me+1]);)Me-=2;tt[ut+1]!==0&&(at=[tt[ut],0]),at=at.concat(tt.slice(ut,Me+2)),tt[Me+1]!==0&&(at=at.concat([tt[Me],0]))}else if(xe.fill===\"tozerox\"){for(ut=0;utut&&isNaN(tt[Me]);)Me-=2;tt[ut]!==0&&(at=[0,tt[ut+1]]),at=at.concat(tt.slice(ut,Me+2)),tt[Me]!==0&&(at=at.concat([0,tt[Me+1]]))}else if(xe.fill===\"toself\"||xe.fill===\"tonext\"){for(at=[],Ie=0,j.splitNull=!0,Ye=0;Ye-1;for(E=0;Ew&&d||_i,f;for(y?f=d.sizeAvg||Math.max(d.size,3):f=A(c,p),M=0;M<_.length;M++)w=_[M],E=h[w],m=x.getFromId(s,c._diag[w][0])||{},b=x.getFromId(s,c._diag[w][1])||{},S(s,c,m,b,T[M],T[M],f);var P=o(s,c);return P.matrix||(P.matrix=!0),P.matrixOptions=d,P.selectedOptions=t(s,c,c.selected),P.unselectedOptions=t(s,c,c.unselected),[{x:!1,y:!1,t:{},trace:c}]}}}),aD=ke({\"node_modules/performance-now/lib/performance-now.js\"(Z,H){(function(){var g,x,A,S,e,t;typeof performance<\"u\"&&performance!==null&&performance.now?H.exports=function(){return performance.now()}:typeof process<\"u\"&&process!==null&&process.hrtime?(H.exports=function(){return(g()-e)/1e6},x=process.hrtime,g=function(){var r;return r=x(),r[0]*1e9+r[1]},S=g(),t=process.uptime()*1e9,e=S-t):Date.now?(H.exports=function(){return Date.now()-A},A=Date.now()):(H.exports=function(){return new Date().getTime()-A},A=new Date().getTime())}).call(Z)}}),oD=ke({\"node_modules/raf/index.js\"(Z,H){var g=aD(),x=window,A=[\"moz\",\"webkit\"],S=\"AnimationFrame\",e=x[\"request\"+S],t=x[\"cancel\"+S]||x[\"cancelRequest\"+S];for(r=0;!e&&r{this.draw(),this.dirty=!0,this.planned=null})):(this.draw(),this.dirty=!0,S(()=>{this.dirty=!1})),this)},o.prototype.update=function(...s){if(!s.length)return;for(let p=0;pf||!d.lower&&y{c[T+_]=p})}this.scatter.draw(...c)}return this},o.prototype.destroy=function(){return this.traces.forEach(s=>{s.buffer&&s.buffer.destroy&&s.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this};function n(s,c,h){let p=s.id!=null?s.id:s,d=c,T=h;return p<<16|(d&255)<<8|T&255}function i(s,c,h){let p,d,T,l,_,w,M,E,m=s[c],b=s[h];return m.length>2?(p=m[0],T=m[2],d=m[1],l=m[3]):m.length?(p=d=m[0],T=l=m[1]):(p=m.x,d=m.y,T=m.x+m.width,l=m.y+m.height),b.length>2?(_=b[0],M=b[2],w=b[1],E=b[3]):b.length?(_=w=b[0],M=E=b[1]):(_=b.x,w=b.y,M=b.x+b.width,E=b.y+b.height),[_,d,M,l]}function a(s){if(typeof s==\"number\")return[s,s,s,s];if(s.length===2)return[s[0],s[1],s[0],s[1]];{let c=t(s);return[c.x,c.y,c.x+c.width,c.y+c.height]}}}}),uD=ke({\"src/traces/splom/plot.js\"(Z,H){\"use strict\";var g=lD(),x=un(),A=qc(),S=cv().selectMode;H.exports=function(r,o,n){if(n.length)for(var i=0;i-1,B=S(d)||!!i.selectedpoints||F,O=!0;if(B){var I=i._length;if(i.selectedpoints){s.selectBatch=i.selectedpoints;var N=i.selectedpoints,U={};for(_=0;_=W[Q][0]&&U<=W[Q][1])return!0;return!1}function c(U){U.attr(\"x\",-g.bar.captureWidth/2).attr(\"width\",g.bar.captureWidth)}function h(U){U.attr(\"visibility\",\"visible\").style(\"visibility\",\"visible\").attr(\"fill\",\"yellow\").attr(\"opacity\",0)}function p(U){if(!U.brush.filterSpecified)return\"0,\"+U.height;for(var W=d(U.brush.filter.getConsolidated(),U.height),Q=[0],le,se,fe,G=W.length?W[0][0]:null,$=0;$U[1]+Q||W=.9*U[1]+.1*U[0]?\"n\":W<=.9*U[0]+.1*U[1]?\"s\":\"ns\"}function l(){x.select(document.body).style(\"cursor\",null)}function _(U){U.attr(\"stroke-dasharray\",p)}function w(U,W){var Q=x.select(U).selectAll(\".highlight, .highlight-shadow\"),le=W?Q.transition().duration(g.bar.snapDuration).each(\"end\",W):Q;_(le)}function M(U,W){var Q=U.brush,le=Q.filterSpecified,se=NaN,fe={},G;if(le){var $=U.height,J=Q.filter.getConsolidated(),X=d(J,$),re=NaN,ae=NaN,j=NaN;for(G=0;G<=X.length;G++){var ee=X[G];if(ee&&ee[0]<=W&&W<=ee[1]){re=G;break}else if(ae=G?G-1:NaN,ee&&ee[0]>W){j=G;break}}if(se=re,isNaN(se)&&(isNaN(ae)||isNaN(j)?se=isNaN(ae)?j:ae:se=W-X[ae][1]=Ue[0]&&Te<=Ue[1]){fe.clickableOrdinalRange=Ue;break}}}return fe}function E(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.unitToPaddedPx.invert(Q),se=W.brush,fe=M(W,Q),G=fe.interval,$=se.svgBrush;if($.wasDragged=!1,$.grabbingBar=fe.region===\"ns\",$.grabbingBar){var J=G.map(W.unitToPaddedPx);$.grabPoint=Q-J[0]-g.verticalPadding,$.barLength=J[1]-J[0]}$.clickableOrdinalRange=fe.clickableOrdinalRange,$.stayingIntervals=W.multiselect&&se.filterSpecified?se.filter.getConsolidated():[],G&&($.stayingIntervals=$.stayingIntervals.filter(function(X){return X[0]!==G[0]&&X[1]!==G[1]})),$.startExtent=fe.region?G[fe.region===\"s\"?1:0]:le,W.parent.inBrushDrag=!0,$.brushStartCallback()}function m(U,W){x.event.sourceEvent.stopPropagation();var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=W.brush.svgBrush;le.wasDragged=!0,le._dragging=!0,le.grabbingBar?le.newExtent=[Q-le.grabPoint,Q+le.barLength-le.grabPoint].map(W.unitToPaddedPx.invert):le.newExtent=[le.startExtent,W.unitToPaddedPx.invert(Q)].sort(e),W.brush.filterSpecified=!0,le.extent=le.stayingIntervals.concat([le.newExtent]),le.brushCallback(W),w(U.parentNode)}function b(U,W){var Q=W.brush,le=Q.filter,se=Q.svgBrush;se._dragging||(v(U,W),m(U,W),W.brush.svgBrush.wasDragged=!1),se._dragging=!1;var fe=x.event;fe.sourceEvent.stopPropagation();var G=se.grabbingBar;if(se.grabbingBar=!1,se.grabLocation=void 0,W.parent.inBrushDrag=!1,l(),!se.wasDragged){se.wasDragged=void 0,se.clickableOrdinalRange?Q.filterSpecified&&W.multiselect?se.extent.push(se.clickableOrdinalRange):(se.extent=[se.clickableOrdinalRange],Q.filterSpecified=!0):G?(se.extent=se.stayingIntervals,se.extent.length===0&&z(Q)):z(Q),se.brushCallback(W),w(U.parentNode),se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[]);return}var $=function(){le.set(le.getConsolidated())};if(W.ordinal){var J=W.unitTickvals;J[J.length-1]se.newExtent[0];se.extent=se.stayingIntervals.concat(X?[se.newExtent]:[]),se.extent.length||z(Q),se.brushCallback(W),X?w(U.parentNode,$):($(),w(U.parentNode))}else $();se.brushEndCallback(Q.filterSpecified?le.getConsolidated():[])}function v(U,W){var Q=W.height-x.mouse(U)[1]-2*g.verticalPadding,le=M(W,Q),se=\"crosshair\";le.clickableOrdinalRange?se=\"pointer\":le.region&&(se=le.region+\"-resize\"),x.select(document.body).style(\"cursor\",se)}function u(U){U.on(\"mousemove\",function(W){x.event.preventDefault(),W.parent.inBrushDrag||v(this,W)}).on(\"mouseleave\",function(W){W.parent.inBrushDrag||l()}).call(x.behavior.drag().on(\"dragstart\",function(W){E(this,W)}).on(\"drag\",function(W){m(this,W)}).on(\"dragend\",function(W){b(this,W)}))}function y(U,W){return U[0]-W[0]}function f(U,W,Q){var le=Q._context.staticPlot,se=U.selectAll(\".background\").data(S);se.enter().append(\"rect\").classed(\"background\",!0).call(c).call(h).style(\"pointer-events\",le?\"none\":\"auto\").attr(\"transform\",t(0,g.verticalPadding)),se.call(u).attr(\"height\",function($){return $.height-g.verticalPadding});var fe=U.selectAll(\".highlight-shadow\").data(S);fe.enter().append(\"line\").classed(\"highlight-shadow\",!0).attr(\"x\",-g.bar.width/2).attr(\"stroke-width\",g.bar.width+g.bar.strokeWidth).attr(\"stroke\",W).attr(\"opacity\",g.bar.strokeOpacity).attr(\"stroke-linecap\",\"butt\"),fe.attr(\"y1\",function($){return $.height}).call(_);var G=U.selectAll(\".highlight\").data(S);G.enter().append(\"line\").classed(\"highlight\",!0).attr(\"x\",-g.bar.width/2).attr(\"stroke-width\",g.bar.width-g.bar.strokeWidth).attr(\"stroke\",g.bar.fillColor).attr(\"opacity\",g.bar.fillOpacity).attr(\"stroke-linecap\",\"butt\"),G.attr(\"y1\",function($){return $.height}).call(_)}function P(U,W,Q){var le=U.selectAll(\".\"+g.cn.axisBrush).data(S,A);le.enter().append(\"g\").classed(g.cn.axisBrush,!0),f(le,W,Q)}function L(U){return U.svgBrush.extent.map(function(W){return W.slice()})}function z(U){U.filterSpecified=!1,U.svgBrush.extent=[[-1/0,1/0]]}function F(U){return function(Q){var le=Q.brush,se=L(le),fe=se.slice();le.filter.set(fe),U()}}function B(U){for(var W=U.slice(),Q=[],le,se=W.shift();se;){for(le=se.slice();(se=W.shift())&&se[0]<=le[1];)le[1]=Math.max(le[1],se[1]);Q.push(le)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function O(){var U=[],W,Q;return{set:function(le){U=le.map(function(se){return se.slice().sort(e)}).sort(y),U.length===1&&U[0][0]===-1/0&&U[0][1]===1/0&&(U=[[0,-1]]),W=B(U),Q=U.reduce(function(se,fe){return[Math.min(se[0],fe[0]),Math.max(se[1],fe[1])]},[1/0,-1/0])},get:function(){return U.slice()},getConsolidated:function(){return W},getBounds:function(){return Q}}}function I(U,W,Q,le,se,fe){var G=O();return G.set(Q),{filter:G,filterSpecified:W,svgBrush:{extent:[],brushStartCallback:le,brushCallback:F(se),brushEndCallback:fe}}}function N(U,W){if(Array.isArray(U[0])?(U=U.map(function(le){return le.sort(e)}),W.multiselect?U=B(U.sort(y)):U=[U[0]]):U=[U.sort(e)],W.tickvals){var Q=W.tickvals.slice().sort(e);if(U=U.map(function(le){var se=[a(0,Q,le[0],[]),a(1,Q,le[1],[])];if(se[1]>se[0])return se}).filter(function(le){return le}),!U.length)return}return U.length>1?U:U[0]}H.exports={makeBrush:I,ensureAxisBrush:P,cleanRanges:N}}}),gD=ke({\"src/traces/parcoords/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=Ho(),r=$A(),o=QA(),n=K0().maxDimensionCount,i=hb();function a(c,h,p,d,T){var l=T(\"line.color\",p);if(x(c,\"line\")&&g.isArrayOrTypedArray(l)){if(l.length)return T(\"line.colorscale\"),A(c,h,d,T,{prefix:\"line.\",cLetter:\"c\"}),l.length;h.line.color=p}return 1/0}function s(c,h,p,d){function T(E,m){return g.coerce(c,h,r.dimensions,E,m)}var l=T(\"values\"),_=T(\"visible\");if(l&&l.length||(_=h.visible=!1),_){T(\"label\"),T(\"tickvals\"),T(\"ticktext\"),T(\"tickformat\");var w=T(\"range\");h._ax={_id:\"y\",type:\"linear\",showexponent:\"all\",exponentformat:\"B\",range:w},t.setConvert(h._ax,d.layout),T(\"multiselect\");var M=T(\"constraintrange\");M&&(h.constraintrange=o.cleanRanges(M,h))}}H.exports=function(h,p,d,T){function l(m,b){return g.coerce(h,p,r,m,b)}var _=h.dimensions;Array.isArray(_)&&_.length>n&&(g.log(\"parcoords traces support up to \"+n+\" dimensions at the moment\"),_.splice(n));var w=e(h,p,{name:\"dimensions\",layout:T,handleItemDefaults:s}),M=a(h,p,d,T,l);S(p,T,l),(!Array.isArray(w)||!w.length)&&(p.visible=!1),i(p,w,\"values\",M);var E=g.extendFlat({},T.font,{size:Math.round(T.font.size/1.2)});g.coerceFont(l,\"labelfont\",E),g.coerceFont(l,\"tickfont\",E,{autoShadowDflt:!0}),g.coerceFont(l,\"rangefont\",E),l(\"labelangle\"),l(\"labelside\"),l(\"unselected.line.color\"),l(\"unselected.line.opacity\")}}}),yD=ke({\"src/traces/parcoords/calc.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray,x=ku(),A=Dv().wrap;H.exports=function(t,r){var o,n;return x.hasColorscale(r,\"line\")&&g(r.line.color)?(o=r.line.color,n=x.extractOpts(r.line).colorscale,x.calc(t,r,{vals:o,containerStr:\"line\",cLetter:\"c\"})):(o=S(r._length),n=[[0,r.line.color],[1,r.line.color]]),A({lineColor:o,cscale:n})};function S(e){for(var t=new Array(e),r=0;r>>16,(Z&65280)>>>8,Z&255],alpha:1};if(typeof Z==\"number\")return{space:\"rgb\",values:[Z>>>16,(Z&65280)>>>8,Z&255],alpha:1};if(Z=String(Z).toLowerCase(),db.default[Z])A=db.default[Z].slice(),e=\"rgb\";else if(Z===\"transparent\")S=0,e=\"rgb\",A=[0,0,0];else if(Z[0]===\"#\"){var t=Z.slice(1),r=t.length,o=r<=4;S=1,o?(A=[parseInt(t[0]+t[0],16),parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16)],r===4&&(S=parseInt(t[3]+t[3],16)/255)):(A=[parseInt(t[0]+t[1],16),parseInt(t[2]+t[3],16),parseInt(t[4]+t[5],16)],r===8&&(S=parseInt(t[6]+t[7],16)/255)),A[0]||(A[0]=0),A[1]||(A[1]=0),A[2]||(A[2]=0),e=\"rgb\"}else if(x=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\\s*\\(([^\\)]*)\\)/.exec(Z)){var n=x[1];e=n.replace(/a$/,\"\");var i=e===\"cmyk\"?4:e===\"gray\"?1:3;A=x[2].trim().split(/\\s*[,\\/]\\s*|\\s+/),e===\"color\"&&(e=A.shift()),A=A.map(function(a,s){if(a[a.length-1]===\"%\")return a=parseFloat(a)/100,s===3?a:e===\"rgb\"?a*255:e[0]===\"h\"||e[0]===\"l\"&&!s?a*100:e===\"lab\"?a*125:e===\"lch\"?s<2?a*150:a*360:e[0]===\"o\"&&!s?a:e===\"oklab\"?a*.4:e===\"oklch\"?s<2?a*.4:a*360:a;if(e[s]===\"h\"||s===2&&e[e.length-1]===\"h\"){if(vb[a]!==void 0)return vb[a];if(a.endsWith(\"deg\"))return parseFloat(a);if(a.endsWith(\"turn\"))return parseFloat(a)*360;if(a.endsWith(\"grad\"))return parseFloat(a)*360/400;if(a.endsWith(\"rad\"))return parseFloat(a)*180/Math.PI}return a===\"none\"?0:parseFloat(a)}),S=A.length>i?A.pop():1}else/[0-9](?:\\s|\\/|,)/.test(Z)&&(A=Z.match(/([0-9]+)/g).map(function(a){return parseFloat(a)}),e=((g=(H=Z.match(/([a-z])/ig))==null?void 0:H.join(\"\"))==null?void 0:g.toLowerCase())||\"rgb\");return{space:e,values:A,alpha:S}}var db,eM,vb,xD=Er({\"node_modules/color-parse/index.js\"(){db=Ei(tA(),1),eM=_D,vb={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}}),J0,tM=Er({\"node_modules/color-space/rgb.js\"(){J0={name:\"rgb\",min:[0,0,0],max:[255,255,255],channel:[\"red\",\"green\",\"blue\"],alias:[\"RGB\"]}}}),$0,bD=Er({\"node_modules/color-space/hsl.js\"(){tM(),$0={name:\"hsl\",min:[0,0,0],max:[360,100,100],channel:[\"hue\",\"saturation\",\"lightness\"],alias:[\"HSL\"],rgb:function(Z){var H=Z[0]/360,g=Z[1]/100,x=Z[2]/100,A,S,e,t,r,o=0;if(g===0)return r=x*255,[r,r,r];for(S=x<.5?x*(1+g):x+g-x*g,A=2*x-S,t=[0,0,0];o<3;)e=H+1/3*-(o-1),e<0?e++:e>1&&e--,r=6*e<1?A+(S-A)*6*e:2*e<1?S:3*e<2?A+(S-A)*(2/3-e)*6:A,t[o++]=r*255;return t}},J0.hsl=function(Z){var H=Z[0]/255,g=Z[1]/255,x=Z[2]/255,A=Math.min(H,g,x),S=Math.max(H,g,x),e=S-A,t,r,o;return S===A?t=0:H===S?t=(g-x)/e:g===S?t=2+(x-H)/e:x===S&&(t=4+(H-g)/e),t=Math.min(t*60,360),t<0&&(t+=360),o=(A+S)/2,S===A?r=0:o<=.5?r=e/(S+A):r=e/(2-S-A),[t,r*100,o*100]}}}),rM={};Pn(rM,{default:()=>wD});function wD(Z){Array.isArray(Z)&&Z.raw&&(Z=String.raw(...arguments)),Z instanceof Number&&(Z=+Z);var H,g,x,A=eM(Z);if(!A.space)return[];let S=A.space[0]===\"h\"?$0.min:J0.min,e=A.space[0]===\"h\"?$0.max:J0.max;return H=Array(3),H[0]=Math.min(Math.max(A.values[0],S[0]),e[0]),H[1]=Math.min(Math.max(A.values[1],S[1]),e[1]),H[2]=Math.min(Math.max(A.values[2],S[2]),e[2]),A.space[0]===\"h\"&&(H=$0.rgb(H)),H.push(Math.min(Math.max(A.alpha,0),1)),H}var TD=Er({\"node_modules/color-rgba/index.js\"(){xD(),tM(),bD()}}),nM=ke({\"src/traces/parcoords/helpers.js\"(Z){\"use strict\";var H=un().isTypedArray;Z.convertTypedArray=function(g){return H(g)?Array.prototype.slice.call(g):g},Z.isOrdinal=function(g){return!!g.tickvals},Z.isVisible=function(g){return g.visible||!(\"visible\"in g)}}}),AD=ke({\"src/traces/parcoords/lines.js\"(Z,H){\"use strict\";var g=[\"precision highp float;\",\"\",\"varying vec4 fragColor;\",\"\",\"attribute vec4 p01_04, p05_08, p09_12, p13_16,\",\" p17_20, p21_24, p25_28, p29_32,\",\" p33_36, p37_40, p41_44, p45_48,\",\" p49_52, p53_56, p57_60, colors;\",\"\",\"uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,\",\" loA, hiA, loB, hiB, loC, hiC, loD, hiD;\",\"\",\"uniform vec2 resolution, viewBoxPos, viewBoxSize;\",\"uniform float maskHeight;\",\"uniform float drwLayer; // 0: context, 1: focus, 2: pick\",\"uniform vec4 contextColor;\",\"uniform sampler2D maskTexture, palette;\",\"\",\"bool isPick = (drwLayer > 1.5);\",\"bool isContext = (drwLayer < 0.5);\",\"\",\"const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);\",\"const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);\",\"\",\"float val(mat4 p, mat4 v) {\",\" return dot(matrixCompMult(p, v) * UNITS, UNITS);\",\"}\",\"\",\"float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {\",\" float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);\",\" float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);\",\" return y1 * (1.0 - ratio) + y2 * ratio;\",\"}\",\"\",\"int iMod(int a, int b) {\",\" return a - b * (a / b);\",\"}\",\"\",\"bool fOutside(float p, float lo, float hi) {\",\" return (lo < hi) && (lo > p || p > hi);\",\"}\",\"\",\"bool vOutside(vec4 p, vec4 lo, vec4 hi) {\",\" return (\",\" fOutside(p[0], lo[0], hi[0]) ||\",\" fOutside(p[1], lo[1], hi[1]) ||\",\" fOutside(p[2], lo[2], hi[2]) ||\",\" fOutside(p[3], lo[3], hi[3])\",\" );\",\"}\",\"\",\"bool mOutside(mat4 p, mat4 lo, mat4 hi) {\",\" return (\",\" vOutside(p[0], lo[0], hi[0]) ||\",\" vOutside(p[1], lo[1], hi[1]) ||\",\" vOutside(p[2], lo[2], hi[2]) ||\",\" vOutside(p[3], lo[3], hi[3])\",\" );\",\"}\",\"\",\"bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {\",\" return mOutside(A, loA, hiA) ||\",\" mOutside(B, loB, hiB) ||\",\" mOutside(C, loC, hiC) ||\",\" mOutside(D, loD, hiD);\",\"}\",\"\",\"bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {\",\" mat4 pnts[4];\",\" pnts[0] = A;\",\" pnts[1] = B;\",\" pnts[2] = C;\",\" pnts[3] = D;\",\"\",\" for(int i = 0; i < 4; ++i) {\",\" for(int j = 0; j < 4; ++j) {\",\" for(int k = 0; k < 4; ++k) {\",\" if(0 == iMod(\",\" int(255.0 * texture2D(maskTexture,\",\" vec2(\",\" (float(i * 2 + j / 2) + 0.5) / 8.0,\",\" (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight\",\" ))[3]\",\" ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),\",\" 2\",\" )) return true;\",\" }\",\" }\",\" }\",\" return false;\",\"}\",\"\",\"vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {\",\" float x = 0.5 * sign(v) + 0.5;\",\" float y = axisY(x, A, B, C, D);\",\" float z = 1.0 - abs(v);\",\"\",\" z += isContext ? 0.0 : 2.0 * float(\",\" outsideBoundingBox(A, B, C, D) ||\",\" outsideRasterMask(A, B, C, D)\",\" );\",\"\",\" return vec4(\",\" 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,\",\" z,\",\" 1.0\",\" );\",\"}\",\"\",\"void main() {\",\" mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);\",\" mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);\",\" mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);\",\" mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);\",\"\",\" float v = colors[3];\",\"\",\" gl_Position = position(isContext, v, A, B, C, D);\",\"\",\" fragColor =\",\" isContext ? vec4(contextColor) :\",\" isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));\",\"}\"].join(`\n`),x=[\"precision highp float;\",\"\",\"varying vec4 fragColor;\",\"\",\"void main() {\",\" gl_FragColor = fragColor;\",\"}\"].join(`\n`),A=K0().maxDimensionCount,S=un(),e=1e-6,t=2048,r=new Uint8Array(4),o=new Uint8Array(4),n={shape:[256,1],format:\"rgba\",type:\"uint8\",mag:\"nearest\",min:\"nearest\"};function i(b){b.read({x:0,y:0,width:1,height:1,data:r})}function a(b,v,u,y,f){var P=b._gl;P.enable(P.SCISSOR_TEST),P.scissor(v,u,y,f),b.clear({color:[0,0,0,0],depth:1})}function s(b,v,u,y,f,P){var L=P.key;function z(F){var B=Math.min(y,f-F*y);F===0&&(window.cancelAnimationFrame(u.currentRafs[L]),delete u.currentRafs[L],a(b,P.scissorX,P.scissorY,P.scissorWidth,P.viewBoxSize[1])),!u.clearOnly&&(P.count=2*B,P.offset=2*F*y,v(P),F*y+B>>8*v)%256/255}function d(b,v,u){for(var y=new Array(b*(A+4)),f=0,P=0;PIe&&(Ie=ae[ce].dim1.canvasX,Te=ce);ie===0&&a(f,0,0,B.canvasWidth,B.canvasHeight);var Ye=G(u);for(ce=0;cece._length&&(ut=ut.slice(0,ce._length));var Me=ce.tickvals,pe;function ue(Lt,Et){return{val:Lt,text:pe[Et]}}function Oe(Lt,Et){return Lt.val-Et.val}if(A(Me)&&Me.length){x.isTypedArray(Me)&&(Me=Array.from(Me)),pe=ce.ticktext,!A(pe)||!pe.length?pe=Me.map(S(ce.tickformat)):pe.length>Me.length?pe=pe.slice(0,Me.length):Me.length>pe.length&&(Me=Me.slice(0,pe.length));for(var rt=1;rt=Et||ar>=Bt)return;var Rr=et.lineLayer.readPixel(fr,Bt-1-ar),gr=Rr[3]!==0,br=gr?Rr[2]+256*(Rr[1]+256*Rr[0]):null,_t={x:fr,y:ar,clientX:Lt.clientX,clientY:Lt.clientY,dataIndex:et.model.key,curveNumber:br};br!==Te&&(gr?$.hover(_t):$.unhover&&$.unhover(_t),Te=br)}}),xe.style(\"opacity\",function(et){return et.pick?0:1}),re.style(\"background\",\"rgba(255, 255, 255, 0)\");var Ie=re.selectAll(\".\"+T.cn.parcoords).data(ce,c);Ie.exit().remove(),Ie.enter().append(\"g\").classed(T.cn.parcoords,!0).style(\"shape-rendering\",\"crispEdges\").style(\"pointer-events\",\"none\"),Ie.attr(\"transform\",function(et){return o(et.model.translateX,et.model.translateY)});var Ye=Ie.selectAll(\".\"+T.cn.parcoordsControlView).data(h,c);Ye.enter().append(\"g\").classed(T.cn.parcoordsControlView,!0),Ye.attr(\"transform\",function(et){return o(et.model.pad.l,et.model.pad.t)});var it=Ye.selectAll(\".\"+T.cn.yAxis).data(function(et){return et.dimensions},c);it.enter().append(\"g\").classed(T.cn.yAxis,!0),Ye.each(function(et){N(it,et,j)}),xe.each(function(et){if(et.viewModel){!et.lineLayer||$?et.lineLayer=_(this,et):et.lineLayer.update(et),(et.key||et.key===0)&&(et.viewModel[et.key]=et.lineLayer);var Lt=!et.context||$;et.lineLayer.render(et.viewModel.panels,Lt)}}),it.attr(\"transform\",function(et){return o(et.xScale(et.xIndex),0)}),it.call(g.behavior.drag().origin(function(et){return et}).on(\"drag\",function(et){var Lt=et.parent;ie.linePickActive(!1),et.x=Math.max(-T.overdrag,Math.min(et.model.width+T.overdrag,g.event.x)),et.canvasX=et.x*et.model.canvasPixelRatio,it.sort(function(Et,Bt){return Et.x-Bt.x}).each(function(Et,Bt){Et.xIndex=Bt,Et.x=et===Et?Et.x:Et.xScale(Et.xIndex),Et.canvasX=Et.x*Et.model.canvasPixelRatio}),N(it,Lt,j),it.filter(function(Et){return Math.abs(et.xIndex-Et.xIndex)!==0}).attr(\"transform\",function(Et){return o(Et.xScale(Et.xIndex),0)}),g.select(this).attr(\"transform\",o(et.x,0)),it.each(function(Et,Bt,qt){qt===et.parent.key&&(Lt.dimensions[Bt]=Et)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer.render&&Lt.focusLayer.render(Lt.panels)}).on(\"dragend\",function(et){var Lt=et.parent;et.x=et.xScale(et.xIndex),et.canvasX=et.x*et.model.canvasPixelRatio,N(it,Lt,j),g.select(this).attr(\"transform\",function(Et){return o(Et.x,0)}),Lt.contextLayer&&Lt.contextLayer.render(Lt.panels,!1,!L(Lt)),Lt.focusLayer&&Lt.focusLayer.render(Lt.panels),Lt.pickLayer&&Lt.pickLayer.render(Lt.panels,!0),ie.linePickActive(!0),$&&$.axesMoved&&$.axesMoved(Lt.key,Lt.dimensions.map(function(Et){return Et.crossfilterDimensionIndex}))})),it.exit().remove();var at=it.selectAll(\".\"+T.cn.axisOverlays).data(h,c);at.enter().append(\"g\").classed(T.cn.axisOverlays,!0),at.selectAll(\".\"+T.cn.axis).remove();var tt=at.selectAll(\".\"+T.cn.axis).data(h,c);tt.enter().append(\"g\").classed(T.cn.axis,!0),tt.each(function(et){var Lt=et.model.height/et.model.tickDistance,Et=et.domainScale,Bt=Et.domain();g.select(this).call(g.svg.axis().orient(\"left\").tickSize(4).outerTickSize(2).ticks(Lt,et.tickFormat).tickValues(et.ordinal?Bt:null).tickFormat(function(qt){return d.isOrdinal(et)?qt:W(et.model.dimensions[et.visibleIndex],qt)}).scale(Et)),i.font(tt.selectAll(\"text\"),et.model.tickFont)}),tt.selectAll(\".domain, .tick>line\").attr(\"fill\",\"none\").attr(\"stroke\",\"black\").attr(\"stroke-opacity\",.25).attr(\"stroke-width\",\"1px\"),tt.selectAll(\"text\").style(\"cursor\",\"default\");var ut=at.selectAll(\".\"+T.cn.axisHeading).data(h,c);ut.enter().append(\"g\").classed(T.cn.axisHeading,!0);var Me=ut.selectAll(\".\"+T.cn.axisTitle).data(h,c);Me.enter().append(\"text\").classed(T.cn.axisTitle,!0).attr(\"text-anchor\",\"middle\").style(\"cursor\",\"ew-resize\").style(\"pointer-events\",J?\"none\":\"auto\"),Me.text(function(et){return et.label}).each(function(et){var Lt=g.select(this);i.font(Lt,et.model.labelFont),n.convertToTspans(Lt,se)}).attr(\"transform\",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=T.axisTitleOffset;return(Lt.dir>0?\"\":o(0,2*Et+et.model.height))+r(Lt.degrees)+o(-Et*Lt.dx,-Et*Lt.dy)}).attr(\"text-anchor\",function(et){var Lt=I(et.model.labelAngle,et.model.labelSide),Et=Math.abs(Lt.dx),Bt=Math.abs(Lt.dy);return 2*Et>Bt?Lt.dir*Lt.dx<0?\"start\":\"end\":\"middle\"});var pe=at.selectAll(\".\"+T.cn.axisExtent).data(h,c);pe.enter().append(\"g\").classed(T.cn.axisExtent,!0);var ue=pe.selectAll(\".\"+T.cn.axisExtentTop).data(h,c);ue.enter().append(\"g\").classed(T.cn.axisExtentTop,!0),ue.attr(\"transform\",o(0,-T.axisExtentOffset));var Oe=ue.selectAll(\".\"+T.cn.axisExtentTopText).data(h,c);Oe.enter().append(\"text\").classed(T.cn.axisExtentTopText,!0).call(B),Oe.text(function(et){return Q(et,!0)}).each(function(et){i.font(g.select(this),et.model.rangeFont)});var rt=pe.selectAll(\".\"+T.cn.axisExtentBottom).data(h,c);rt.enter().append(\"g\").classed(T.cn.axisExtentBottom,!0),rt.attr(\"transform\",function(et){return o(0,et.model.height+T.axisExtentOffset)});var ot=rt.selectAll(\".\"+T.cn.axisExtentBottomText).data(h,c);ot.enter().append(\"text\").classed(T.cn.axisExtentBottomText,!0).attr(\"dy\",\"0.75em\").call(B),ot.text(function(et){return Q(et,!1)}).each(function(et){i.font(g.select(this),et.model.rangeFont)}),l.ensureAxisBrush(at,ee,se)}}}),iM=ke({\"src/traces/parcoords/plot.js\"(r,H){\"use strict\";var g=MD(),x=fb(),A=nM().isVisible,S={};function e(o,n,i){var a=n.indexOf(i),s=o.indexOf(a);return s===-1&&(s+=n.length),s}function t(o,n){return function(a,s){return e(o,n,a)-e(o,n,s)}}var r=H.exports=function(n,i){var a=n._fullLayout,s=x(n,[],S);if(s){var c={},h={},p={},d={},T=a._size;i.forEach(function(E,m){var b=E[0].trace;p[m]=b.index;var v=d[m]=b.index;c[m]=n.data[v].dimensions,h[m]=n.data[v].dimensions.slice()});var l=function(E,m,b){var v=h[E][m],u=b.map(function(F){return F.slice()}),y=\"dimensions[\"+m+\"].constraintrange\",f=a._tracePreGUI[n._fullData[p[E]]._fullInput.uid];if(f[y]===void 0){var P=v.constraintrange;f[y]=P||null}var L=n._fullData[p[E]].dimensions[m];u.length?(u.length===1&&(u=u[0]),v.constraintrange=u,L.constraintrange=u.slice(),u=[u]):(delete v.constraintrange,delete L.constraintrange,u=null);var z={};z[y]=u,n.emit(\"plotly_restyle\",[z,[d[E]]])},_=function(E){n.emit(\"plotly_hover\",E)},w=function(E){n.emit(\"plotly_unhover\",E)},M=function(E,m){var b=t(m,h[E].filter(A));c[E].sort(b),h[E].filter(function(v){return!A(v)}).sort(function(v){return h[E].indexOf(v)}).forEach(function(v){c[E].splice(c[E].indexOf(v),1),c[E].splice(h[E].indexOf(v),0,v)}),n.emit(\"plotly_restyle\",[{dimensions:[c[E]]},[d[E]]])};g(n,i,{width:T.w,height:T.h,margin:{t:T.t,r:T.r,b:T.b,l:T.l}},{filterChanged:l,hover:_,unhover:w,axesMoved:M})}};r.reglPrecompiled=S}}),SD=ke({\"src/traces/parcoords/base_plot.js\"(Z){\"use strict\";var H=_i(),g=bh().getModuleCalcData,x=iM(),A=zd();Z.name=\"parcoords\",Z.plot=function(S){var e=g(S.calcdata,\"parcoords\")[0];e.length&&x(S,e)},Z.clean=function(S,e,t,r){var o=r._has&&r._has(\"parcoords\"),n=e._has&&e._has(\"parcoords\");o&&!n&&(r._paperdiv.selectAll(\".parcoords\").remove(),r._glimages.selectAll(\"*\").remove())},Z.toSVG=function(S){var e=S._fullLayout._glimages,t=H.select(S).selectAll(\".svg-container\"),r=t.filter(function(n,i){return i===t.size()-1}).selectAll(\".gl-canvas-context, .gl-canvas-focus\");function o(){var n=this,i=n.toDataURL(\"image/png\"),a=e.append(\"svg:image\");a.attr({xmlns:A.svg,\"xlink:href\":i,preserveAspectRatio:\"none\",x:0,y:0,width:n.style.width,height:n.style.height})}r.each(o),window.setTimeout(function(){H.selectAll(\"#filterBarPattern\").attr(\"id\",\"filterBarPattern\")},60)}}}),ED=ke({\"src/traces/parcoords/base_index.js\"(Z,H){\"use strict\";H.exports={attributes:$A(),supplyDefaults:gD(),calc:yD(),colorbar:{container:\"line\",min:\"cmin\",max:\"cmax\"},moduleType:\"trace\",name:\"parcoords\",basePlotModule:SD(),categories:[\"gl\",\"regl\",\"noOpacity\",\"noHover\"],meta:{}}}}),CD=ke({\"src/traces/parcoords/index.js\"(Z,H){\"use strict\";var g=ED();g.plot=iM(),H.exports=g}}),kD=ke({\"lib/parcoords.js\"(Z,H){\"use strict\";H.exports=CD()}}),aM=ke({\"src/traces/parcats/attributes.js\"(Z,H){\"use strict\";var g=To().extendFlat,x=Ol(),A=Il(),S=ou(),e=Rs().hovertemplateAttrs,t=Yu().attributes,r=g({editType:\"calc\"},S(\"line\",{editTypeOverride:\"calc\"}),{shape:{valType:\"enumerated\",values:[\"linear\",\"hspline\"],dflt:\"linear\",editType:\"plot\"},hovertemplate:e({editType:\"plot\",arrayOk:!1},{keys:[\"count\",\"probability\"]})});H.exports={domain:t({name:\"parcats\",trace:!0,editType:\"calc\"}),hoverinfo:g({},x.hoverinfo,{flags:[\"count\",\"probability\"],editType:\"plot\",arrayOk:!1}),hoveron:{valType:\"enumerated\",values:[\"category\",\"color\",\"dimension\"],dflt:\"category\",editType:\"plot\"},hovertemplate:e({editType:\"plot\",arrayOk:!1},{keys:[\"count\",\"probability\",\"category\",\"categorycount\",\"colorcount\",\"bandcolorcount\"]}),arrangement:{valType:\"enumerated\",values:[\"perpendicular\",\"freeform\",\"fixed\"],dflt:\"perpendicular\",editType:\"plot\"},bundlecolors:{valType:\"boolean\",dflt:!0,editType:\"plot\"},sortpaths:{valType:\"enumerated\",values:[\"forward\",\"backward\"],dflt:\"forward\",editType:\"plot\"},labelfont:A({editType:\"calc\"}),tickfont:A({autoShadowDflt:!0,editType:\"calc\"}),dimensions:{_isLinkedToArray:\"dimension\",label:{valType:\"string\",editType:\"calc\"},categoryorder:{valType:\"enumerated\",values:[\"trace\",\"category ascending\",\"category descending\",\"array\"],dflt:\"trace\",editType:\"calc\"},categoryarray:{valType:\"data_array\",editType:\"calc\"},ticktext:{valType:\"data_array\",editType:\"calc\"},values:{valType:\"data_array\",dflt:[],editType:\"calc\"},displayindex:{valType:\"integer\",editType:\"calc\"},editType:\"calc\",visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"}},line:r,counts:{valType:\"number\",min:0,dflt:1,arrayOk:!0,editType:\"calc\"},customdata:void 0,hoverlabel:void 0,ids:void 0,legend:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}}}),LD=ke({\"src/traces/parcats/defaults.js\"(Z,H){\"use strict\";var g=un(),x=ad().hasColorscale,A=Kf(),S=Yu().defaults,e=Oh(),t=aM(),r=hb(),o=Oa().isTypedArraySpec;function n(a,s,c,h,p){p(\"line.shape\"),p(\"line.hovertemplate\");var d=p(\"line.color\",h.colorway[0]);if(x(a,\"line\")&&g.isArrayOrTypedArray(d)){if(d.length)return p(\"line.colorscale\"),A(a,s,h,p,{prefix:\"line.\",cLetter:\"c\"}),d.length;s.line.color=c}return 1/0}function i(a,s){function c(w,M){return g.coerce(a,s,t.dimensions,w,M)}var h=c(\"values\"),p=c(\"visible\");if(h&&h.length||(p=s.visible=!1),p){c(\"label\"),c(\"displayindex\",s._index);var d=a.categoryarray,T=g.isArrayOrTypedArray(d)&&d.length>0||o(d),l;T&&(l=\"array\");var _=c(\"categoryorder\",l);_===\"array\"?(c(\"categoryarray\"),c(\"ticktext\")):(delete a.categoryarray,delete a.ticktext),!T&&_===\"array\"&&(s.categoryorder=\"trace\")}}H.exports=function(s,c,h,p){function d(w,M){return g.coerce(s,c,t,w,M)}var T=e(s,c,{name:\"dimensions\",handleItemDefaults:i}),l=n(s,c,h,p,d);S(c,p,d),(!Array.isArray(T)||!T.length)&&(c.visible=!1),r(c,T,\"values\",l),d(\"hoveron\"),d(\"hovertemplate\"),d(\"arrangement\"),d(\"bundlecolors\"),d(\"sortpaths\"),d(\"counts\");var _=p.font;g.coerceFont(d,\"labelfont\",_,{overrideDflt:{size:Math.round(_.size)}}),g.coerceFont(d,\"tickfont\",_,{autoShadowDflt:!0,overrideDflt:{size:Math.round(_.size/1.2)}})}}}),PD=ke({\"src/traces/parcats/calc.js\"(Z,H){\"use strict\";var g=Dv().wrap,x=ad().hasColorscale,A=od(),S=Vw(),e=$o(),t=un(),r=Yn();H.exports=function(_,w){var M=t.filterVisible(w.dimensions);if(M.length===0)return[];var E=M.map(function(G){var $;if(G.categoryorder===\"trace\")$=null;else if(G.categoryorder===\"array\")$=G.categoryarray;else{$=S(G.values);for(var J=!0,X=0;X<$.length;X++)if(!r($[X])){J=!1;break}$.sort(J?t.sorterAsc:void 0),G.categoryorder===\"category descending\"&&($=$.reverse())}return h(G.values,$)}),m,b,v;t.isArrayOrTypedArray(w.counts)?m=w.counts:m=[w.counts],p(M),M.forEach(function(G,$){d(G,E[$])});var u=w.line,y;u?(x(w,\"line\")&&A(_,w,{vals:w.line.color,containerStr:\"line\",cLetter:\"c\"}),y=e.tryColorscale(u)):y=t.identity;function f(G){var $,J;return t.isArrayOrTypedArray(u.color)?($=u.color[G%u.color.length],J=$):$=u.color,{color:y($),rawColor:J}}var P=M[0].values.length,L={},z=E.map(function(G){return G.inds});v=0;var F,B;for(F=0;F=l.length||_[l[w]]!==void 0)return!1;_[l[w]]=!0}return!0}}}),ID=ke({\"src/traces/parcats/parcats.js\"(Z,H){\"use strict\";var g=_i(),x=(Ym(),hi(Xp)).interpolateNumber,A=__(),S=Ec(),e=un(),t=e.strTranslate,r=$o(),o=ru(),n=Wl();function i(X,re,ae,j){var ee=re._context.staticPlot,ie=X.map(se.bind(0,re,ae)),ce=j.selectAll(\"g.parcatslayer\").data([null]);ce.enter().append(\"g\").attr(\"class\",\"parcatslayer\").style(\"pointer-events\",ee?\"none\":\"all\");var xe=ce.selectAll(\"g.trace.parcats\").data(ie,a),Te=xe.enter().append(\"g\").attr(\"class\",\"trace parcats\");xe.attr(\"transform\",function(ue){return t(ue.x,ue.y)}),Te.append(\"g\").attr(\"class\",\"paths\");var Ue=xe.select(\"g.paths\"),Ie=Ue.selectAll(\"path.path\").data(function(ue){return ue.paths},a);Ie.attr(\"fill\",function(ue){return ue.model.color});var Ye=Ie.enter().append(\"path\").attr(\"class\",\"path\").attr(\"stroke-opacity\",0).attr(\"fill\",function(ue){return ue.model.color}).attr(\"fill-opacity\",0);_(Ye),Ie.attr(\"d\",function(ue){return ue.svgD}),Ye.empty()||Ie.sort(c),Ie.exit().remove(),Ie.on(\"mouseover\",h).on(\"mouseout\",p).on(\"click\",l),Te.append(\"g\").attr(\"class\",\"dimensions\");var it=xe.select(\"g.dimensions\"),at=it.selectAll(\"g.dimension\").data(function(ue){return ue.dimensions},a);at.enter().append(\"g\").attr(\"class\",\"dimension\"),at.attr(\"transform\",function(ue){return t(ue.x,0)}),at.exit().remove();var tt=at.selectAll(\"g.category\").data(function(ue){return ue.categories},a),ut=tt.enter().append(\"g\").attr(\"class\",\"category\");tt.attr(\"transform\",function(ue){return t(0,ue.y)}),ut.append(\"rect\").attr(\"class\",\"catrect\").attr(\"pointer-events\",\"none\"),tt.select(\"rect.catrect\").attr(\"fill\",\"none\").attr(\"width\",function(ue){return ue.width}).attr(\"height\",function(ue){return ue.height}),E(ut);var Me=tt.selectAll(\"rect.bandrect\").data(function(ue){return ue.bands},a);Me.each(function(){e.raiseToTop(this)}),Me.attr(\"fill\",function(ue){return ue.color});var pe=Me.enter().append(\"rect\").attr(\"class\",\"bandrect\").attr(\"stroke-opacity\",0).attr(\"fill\",function(ue){return ue.color}).attr(\"fill-opacity\",0);Me.attr(\"fill\",function(ue){return ue.color}).attr(\"width\",function(ue){return ue.width}).attr(\"height\",function(ue){return ue.height}).attr(\"y\",function(ue){return ue.y}).attr(\"cursor\",function(ue){return ue.parcatsViewModel.arrangement===\"fixed\"?\"default\":ue.parcatsViewModel.arrangement===\"perpendicular\"?\"ns-resize\":\"move\"}),b(pe),Me.exit().remove(),ut.append(\"text\").attr(\"class\",\"catlabel\").attr(\"pointer-events\",\"none\"),tt.select(\"text.catlabel\").attr(\"text-anchor\",function(ue){return s(ue)?\"start\":\"end\"}).attr(\"alignment-baseline\",\"middle\").style(\"fill\",\"rgb(0, 0, 0)\").attr(\"x\",function(ue){return s(ue)?ue.width+5:-5}).attr(\"y\",function(ue){return ue.height/2}).text(function(ue){return ue.model.categoryLabel}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.categorylabelfont),n.convertToTspans(g.select(this),re)}),ut.append(\"text\").attr(\"class\",\"dimlabel\"),tt.select(\"text.dimlabel\").attr(\"text-anchor\",\"middle\").attr(\"alignment-baseline\",\"baseline\").attr(\"cursor\",function(ue){return ue.parcatsViewModel.arrangement===\"fixed\"?\"default\":\"ew-resize\"}).attr(\"x\",function(ue){return ue.width/2}).attr(\"y\",-5).text(function(ue,Oe){return Oe===0?ue.parcatsViewModel.model.dimensions[ue.model.dimensionInd].dimensionLabel:null}).each(function(ue){r.font(g.select(this),ue.parcatsViewModel.labelfont)}),tt.selectAll(\"rect.bandrect\").on(\"mouseover\",B).on(\"mouseout\",O),tt.exit().remove(),at.call(g.behavior.drag().origin(function(ue){return{x:ue.x,y:0}}).on(\"dragstart\",I).on(\"drag\",N).on(\"dragend\",U)),xe.each(function(ue){ue.traceSelection=g.select(this),ue.pathSelection=g.select(this).selectAll(\"g.paths\").selectAll(\"path.path\"),ue.dimensionSelection=g.select(this).selectAll(\"g.dimensions\").selectAll(\"g.dimension\")}),xe.exit().remove()}H.exports=function(X,re,ae,j){i(ae,X,j,re)};function a(X){return X.key}function s(X){var re=X.parcatsViewModel.dimensions.length,ae=X.parcatsViewModel.dimensions[re-1].model.dimensionInd;return X.model.dimensionInd===ae}function c(X,re){return X.model.rawColor>re.model.rawColor?1:X.model.rawColor\"),et=g.mouse(ee)[0];S.loneHover({trace:ie,x:tt-xe.left+Te.left,y:ut-xe.top+Te.top,text:ot,color:X.model.color,borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontSize:10,fontColor:Me,idealAlign:et1&&Ue.displayInd===Te.dimensions.length-1?(it=ce.left,at=\"left\"):(it=ce.left+ce.width,at=\"right\");var tt=xe.model.count,ut=xe.model.categoryLabel,Me=tt/xe.parcatsViewModel.model.count,pe={countLabel:tt,categoryLabel:ut,probabilityLabel:Me.toFixed(3)},ue=[];xe.parcatsViewModel.hoverinfoItems.indexOf(\"count\")!==-1&&ue.push([\"Count:\",pe.countLabel].join(\" \")),xe.parcatsViewModel.hoverinfoItems.indexOf(\"probability\")!==-1&&ue.push([\"P(\"+pe.categoryLabel+\"):\",pe.probabilityLabel].join(\" \"));var Oe=ue.join(\"
\");return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Oe,color:\"lightgray\",borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontSize:12,fontColor:\"black\",idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:pe,eventData:[{data:Ie._input,fullData:Ie,count:tt,category:ut,probability:Me}]}}function z(X,re,ae){var j=[];return g.select(ae.parentNode.parentNode).selectAll(\"g.category\").select(\"rect.catrect\").each(function(){var ee=this;j.push(L(X,re,ee))}),j}function F(X,re,ae){X._fullLayout._calcInverseTransform(X);var j=X._fullLayout._invScaleX,ee=X._fullLayout._invScaleY,ie=ae.getBoundingClientRect(),ce=g.select(ae).datum(),xe=ce.categoryViewModel,Te=xe.parcatsViewModel,Ue=Te.model.dimensions[xe.model.dimensionInd],Ie=Te.trace,Ye=ie.y+ie.height/2,it,at;Te.dimensions.length>1&&Ue.displayInd===Te.dimensions.length-1?(it=ie.left,at=\"left\"):(it=ie.left+ie.width,at=\"right\");var tt=xe.model.categoryLabel,ut=ce.parcatsViewModel.model.count,Me=0;ce.categoryViewModel.bands.forEach(function(qt){qt.color===ce.color&&(Me+=qt.count)});var pe=xe.model.count,ue=0;Te.pathSelection.each(function(qt){qt.model.color===ce.color&&(ue+=qt.model.count)});var Oe=Me/ut,rt=Me/ue,ot=Me/pe,et={countLabel:Me,categoryLabel:tt,probabilityLabel:Oe.toFixed(3)},Lt=[];xe.parcatsViewModel.hoverinfoItems.indexOf(\"count\")!==-1&&Lt.push([\"Count:\",et.countLabel].join(\" \")),xe.parcatsViewModel.hoverinfoItems.indexOf(\"probability\")!==-1&&(Lt.push(\"P(color \\u2229 \"+tt+\"): \"+et.probabilityLabel),Lt.push(\"P(\"+tt+\" | color): \"+rt.toFixed(3)),Lt.push(\"P(color | \"+tt+\"): \"+ot.toFixed(3)));var Et=Lt.join(\"
\"),Bt=o.mostReadable(ce.color,[\"black\",\"white\"]);return{trace:Ie,x:j*(it-re.left),y:ee*(Ye-re.top),text:Et,color:ce.color,borderColor:\"black\",fontFamily:'Monaco, \"Courier New\", monospace',fontColor:Bt,fontSize:10,idealAlign:at,hovertemplate:Ie.hovertemplate,hovertemplateLabels:et,eventData:[{data:Ie._input,fullData:Ie,category:tt,count:ut,probability:Oe,categorycount:pe,colorcount:ue,bandcolorcount:Me}]}}function B(X){if(!X.parcatsViewModel.dragDimension&&X.parcatsViewModel.hoverinfoItems.indexOf(\"skip\")===-1){var re=g.mouse(this)[1];if(re<-1)return;var ae=X.parcatsViewModel.graphDiv,j=ae._fullLayout,ee=j._paperdiv.node().getBoundingClientRect(),ie=X.parcatsViewModel.hoveron,ce=this;if(ie===\"color\"?(y(ce),P(ce,\"plotly_hover\",g.event)):(u(ce),f(ce,\"plotly_hover\",g.event)),X.parcatsViewModel.hoverinfoItems.indexOf(\"none\")===-1){var xe;ie===\"category\"?xe=L(ae,ee,ce):ie===\"color\"?xe=F(ae,ee,ce):ie===\"dimension\"&&(xe=z(ae,ee,ce)),xe&&S.loneHover(xe,{container:j._hoverlayer.node(),outerContainer:j._paper.node(),gd:ae})}}}function O(X){var re=X.parcatsViewModel;if(!re.dragDimension&&(_(re.pathSelection),E(re.dimensionSelection.selectAll(\"g.category\")),b(re.dimensionSelection.selectAll(\"g.category\").selectAll(\"rect.bandrect\")),S.loneUnhover(re.graphDiv._fullLayout._hoverlayer.node()),re.pathSelection.sort(c),re.hoverinfoItems.indexOf(\"skip\")===-1)){var ae=X.parcatsViewModel.hoveron,j=this;ae===\"color\"?P(j,\"plotly_unhover\",g.event):f(j,\"plotly_unhover\",g.event)}}function I(X){X.parcatsViewModel.arrangement!==\"fixed\"&&(X.dragDimensionDisplayInd=X.model.displayInd,X.initialDragDimensionDisplayInds=X.parcatsViewModel.model.dimensions.map(function(re){return re.displayInd}),X.dragHasMoved=!1,X.dragCategoryDisplayInd=null,g.select(this).selectAll(\"g.category\").select(\"rect.catrect\").each(function(re){var ae=g.mouse(this)[0],j=g.mouse(this)[1];-2<=ae&&ae<=re.width+2&&-2<=j&&j<=re.height+2&&(X.dragCategoryDisplayInd=re.model.displayInd,X.initialDragCategoryDisplayInds=X.model.categories.map(function(ee){return ee.displayInd}),re.model.dragY=re.y,e.raiseToTop(this.parentNode),g.select(this.parentNode).selectAll(\"rect.bandrect\").each(function(ee){ee.yIe.y+Ie.height/2&&(ie.model.displayInd=Ie.model.displayInd,Ie.model.displayInd=xe),X.dragCategoryDisplayInd=ie.model.displayInd}if(X.dragCategoryDisplayInd===null||X.parcatsViewModel.arrangement===\"freeform\"){ee.model.dragX=g.event.x;var Ye=X.parcatsViewModel.dimensions[ae],it=X.parcatsViewModel.dimensions[j];Ye!==void 0&&ee.model.dragXit.x&&(ee.model.displayInd=it.model.displayInd,it.model.displayInd=X.dragDimensionDisplayInd),X.dragDimensionDisplayInd=ee.model.displayInd}$(X.parcatsViewModel),G(X.parcatsViewModel),le(X.parcatsViewModel),Q(X.parcatsViewModel)}}function U(X){if(X.parcatsViewModel.arrangement!==\"fixed\"&&X.dragDimensionDisplayInd!==null){g.select(this).selectAll(\"text\").attr(\"font-weight\",\"normal\");var re={},ae=W(X.parcatsViewModel),j=X.parcatsViewModel.model.dimensions.map(function(it){return it.displayInd}),ee=X.initialDragDimensionDisplayInds.some(function(it,at){return it!==j[at]});ee&&j.forEach(function(it,at){var tt=X.parcatsViewModel.model.dimensions[at].containerInd;re[\"dimensions[\"+tt+\"].displayindex\"]=it});var ie=!1;if(X.dragCategoryDisplayInd!==null){var ce=X.model.categories.map(function(it){return it.displayInd});if(ie=X.initialDragCategoryDisplayInds.some(function(it,at){return it!==ce[at]}),ie){var xe=X.model.categories.slice().sort(function(it,at){return it.displayInd-at.displayInd}),Te=xe.map(function(it){return it.categoryValue}),Ue=xe.map(function(it){return it.categoryLabel});re[\"dimensions[\"+X.model.containerInd+\"].categoryarray\"]=[Te],re[\"dimensions[\"+X.model.containerInd+\"].ticktext\"]=[Ue],re[\"dimensions[\"+X.model.containerInd+\"].categoryorder\"]=\"array\"}}if(X.parcatsViewModel.hoverinfoItems.indexOf(\"skip\")===-1&&!X.dragHasMoved&&X.potentialClickBand&&(X.parcatsViewModel.hoveron===\"color\"?P(X.potentialClickBand,\"plotly_click\",g.event.sourceEvent):f(X.potentialClickBand,\"plotly_click\",g.event.sourceEvent)),X.model.dragX=null,X.dragCategoryDisplayInd!==null){var Ie=X.parcatsViewModel.dimensions[X.dragDimensionDisplayInd].categories[X.dragCategoryDisplayInd];Ie.model.dragY=null,X.dragCategoryDisplayInd=null}X.dragDimensionDisplayInd=null,X.parcatsViewModel.dragDimension=null,X.dragHasMoved=null,X.potentialClickBand=null,$(X.parcatsViewModel),G(X.parcatsViewModel);var Ye=g.transition().duration(300).ease(\"cubic-in-out\");Ye.each(function(){le(X.parcatsViewModel,!0),Q(X.parcatsViewModel,!0)}).each(\"end\",function(){(ee||ie)&&A.restyle(X.parcatsViewModel.graphDiv,re,[ae])})}}function W(X){for(var re,ae=X.graphDiv._fullData,j=0;j=0;Te--)Ue+=\"C\"+ce[Te]+\",\"+(re[Te+1]+j)+\" \"+ie[Te]+\",\"+(re[Te]+j)+\" \"+(X[Te]+ae[Te])+\",\"+(re[Te]+j),Ue+=\"l-\"+ae[Te]+\",0 \";return Ue+=\"Z\",Ue}function G(X){var re=X.dimensions,ae=X.model,j=re.map(function(Rr){return Rr.categories.map(function(gr){return gr.y})}),ee=X.model.dimensions.map(function(Rr){return Rr.categories.map(function(gr){return gr.displayInd})}),ie=X.model.dimensions.map(function(Rr){return Rr.displayInd}),ce=X.dimensions.map(function(Rr){return Rr.model.dimensionInd}),xe=re.map(function(Rr){return Rr.x}),Te=re.map(function(Rr){return Rr.width}),Ue=[];for(var Ie in ae.paths)ae.paths.hasOwnProperty(Ie)&&Ue.push(ae.paths[Ie]);function Ye(Rr){var gr=Rr.categoryInds.map(function(_t,Be){return ee[Be][_t]}),br=ce.map(function(_t){return gr[_t]});return br}Ue.sort(function(Rr,gr){var br=Ye(Rr),_t=Ye(gr);return X.sortpaths===\"backward\"&&(br.reverse(),_t.reverse()),br.push(Rr.valueInds[0]),_t.push(gr.valueInds[0]),X.bundlecolors&&(br.unshift(Rr.rawColor),_t.unshift(gr.rawColor)),br<_t?-1:br>_t?1:0});for(var it=new Array(Ue.length),at=re[0].model.count,tt=re[0].categories.map(function(Rr){return Rr.height}).reduce(function(Rr,gr){return Rr+gr}),ut=0;ut0?pe=tt*(Me.count/at):pe=0;for(var ue=new Array(j.length),Oe=0;Oe1?ce=(X.width-2*ae-j)/(ee-1):ce=0,xe=ae,Te=xe+ce*ie;var Ue=[],Ie=X.model.maxCats,Ye=re.categories.length,it=8,at=re.count,tt=X.height-it*(Ie-1),ut,Me,pe,ue,Oe,rt=(Ie-Ye)*it/2,ot=re.categories.map(function(et){return{displayInd:et.displayInd,categoryInd:et.categoryInd}});for(ot.sort(function(et,Lt){return et.displayInd-Lt.displayInd}),Oe=0;Oe0?ut=Me.count/at*tt:ut=0,pe={key:Me.valueInds[0],model:Me,width:j,height:ut,y:Me.dragY!==null?Me.dragY:rt,bands:[],parcatsViewModel:X},rt=rt+ut+it,Ue.push(pe);return{key:re.dimensionInd,x:re.dragX!==null?re.dragX:Te,y:0,width:j,model:re,categories:Ue,parcatsViewModel:X,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}}}),oM=ke({\"src/traces/parcats/plot.js\"(Z,H){\"use strict\";var g=ID();H.exports=function(A,S,e,t){var r=A._fullLayout,o=r._paper,n=r._size;g(A,o,S,{width:n.w,height:n.h,margin:{t:n.t,r:n.r,b:n.b,l:n.l}},e,t)}}}),RD=ke({\"src/traces/parcats/base_plot.js\"(Z){\"use strict\";var H=bh().getModuleCalcData,g=oM(),x=\"parcats\";Z.name=x,Z.plot=function(A,S,e,t){var r=H(A.calcdata,x);if(r.length){var o=r[0];g(A,o,e,t)}},Z.clean=function(A,S,e,t){var r=t._has&&t._has(\"parcats\"),o=S._has&&S._has(\"parcats\");r&&!o&&t._paperdiv.selectAll(\".parcats\").remove()}}}),DD=ke({\"src/traces/parcats/index.js\"(Z,H){\"use strict\";H.exports={attributes:aM(),supplyDefaults:LD(),calc:PD(),plot:oM(),colorbar:{container:\"line\",min:\"cmin\",max:\"cmax\"},moduleType:\"trace\",name:\"parcats\",basePlotModule:RD(),categories:[\"noOpacity\"],meta:{}}}}),zD=ke({\"lib/parcats.js\"(Z,H){\"use strict\";H.exports=DD()}}),op=ke({\"src/plots/mapbox/constants.js\"(Z,H){\"use strict\";var g=Ip(),x=\"1.13.4\",A='\\xA9
OpenStreetMap contributors',S=['\\xA9 Carto',A].join(\" \"),e=['Map tiles by Stamen Design','under CC BY 3.0',\"|\",'Data by OpenStreetMap contributors','under ODbL'].join(\" \"),t=['Map tiles by Stamen Design','under CC BY 3.0',\"|\",'Data by OpenStreetMap contributors','under CC BY SA'].join(\" \"),r={\"open-street-map\":{id:\"osm\",version:8,sources:{\"plotly-osm-tiles\":{type:\"raster\",attribution:A,tiles:[\"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png\",\"https://b.tile.openstreetmap.org/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-osm-tiles\",type:\"raster\",source:\"plotly-osm-tiles\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"white-bg\":{id:\"white-bg\",version:8,sources:{},layers:[{id:\"white-bg\",type:\"background\",paint:{\"background-color\":\"#FFFFFF\"},minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-positron\":{id:\"carto-positron\",version:8,sources:{\"plotly-carto-positron\":{type:\"raster\",attribution:S,tiles:[\"https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-carto-positron\",type:\"raster\",source:\"plotly-carto-positron\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-darkmatter\":{id:\"carto-darkmatter\",version:8,sources:{\"plotly-carto-darkmatter\":{type:\"raster\",attribution:S,tiles:[\"https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-carto-darkmatter\",type:\"raster\",source:\"plotly-carto-darkmatter\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-terrain\":{id:\"stamen-terrain\",version:8,sources:{\"plotly-stamen-terrain\":{type:\"raster\",attribution:e,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-terrain\",type:\"raster\",source:\"plotly-stamen-terrain\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-toner\":{id:\"stamen-toner\",version:8,sources:{\"plotly-stamen-toner\":{type:\"raster\",attribution:e,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-toner\",type:\"raster\",source:\"plotly-stamen-toner\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"stamen-watercolor\":{id:\"stamen-watercolor\",version:8,sources:{\"plotly-stamen-watercolor\":{type:\"raster\",attribution:t,tiles:[\"https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key=\"],tileSize:256}},layers:[{id:\"plotly-stamen-watercolor\",type:\"raster\",source:\"plotly-stamen-watercolor\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"}},o=g(r);H.exports={requiredVersion:x,styleUrlPrefix:\"mapbox://styles/mapbox/\",styleUrlSuffix:\"v9\",styleValuesMapbox:[\"basic\",\"streets\",\"outdoors\",\"light\",\"dark\",\"satellite\",\"satellite-streets\"],styleValueDflt:\"basic\",stylesNonMapbox:r,styleValuesNonMapbox:o,traceLayerPrefix:\"plotly-trace-layer-\",layoutLayerPrefix:\"plotly-layout-layer-\",wrongVersionErrorMsg:[\"Your custom plotly.js bundle is not using the correct mapbox-gl version\",\"Please install @plotly/mapbox-gl@\"+x+\".\"].join(`\n`),noAccessTokenErrorMsg:[\"Missing Mapbox access token.\",\"Mapbox trace type require a Mapbox access token to be registered.\",\"For example:\",\" Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });\",\"More info here: https://www.mapbox.com/help/define-access-token/\"].join(`\n`),missingStyleErrorMsg:[\"No valid mapbox style found, please set `mapbox.style` to one of:\",o.join(\", \"),\"or register a Mapbox access token to use a Mapbox-served style.\"].join(`\n`),multipleTokensErrorMsg:[\"Set multiple mapbox access token across different mapbox subplot,\",\"using first token found as mapbox-gl does not allow multipleaccess tokens on the same page.\"].join(`\n`),mapOnErrorMsg:\"Mapbox error.\",mapboxLogo:{path0:\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\",path1:\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\",path2:\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\",polygon:\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34\"},styleRules:{map:\"overflow:hidden;position:relative;\",\"missing-css\":\"display:none;\",canary:\"background-color:salmon;\",\"ctrl-bottom-left\":\"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;\",\"ctrl-bottom-right\":\"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;\",ctrl:\"clear: both; pointer-events: auto; transform: translate(0, 0);\",\"ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner\":\"display: none;\",\"ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner\":\"display: block; margin-top:2px\",\"ctrl-attrib.mapboxgl-compact:hover\":\"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;\",\"ctrl-attrib.mapboxgl-compact::after\":`content: \"\"; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"%3E %3Cpath fill=\"%23333333\" fill-rule=\"evenodd\" d=\"M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0\"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,\"ctrl-attrib.mapboxgl-compact\":\"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;\",\"ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\":\"bottom: 0; right: 0\",\"ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\":\"bottom: 0; left: 0\",\"ctrl-bottom-left .mapboxgl-ctrl\":\"margin: 0 0 10px 10px; float: left;\",\"ctrl-bottom-right .mapboxgl-ctrl\":\"margin: 0 10px 10px 0; float: right;\",\"ctrl-attrib\":\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\",\"ctrl-attrib a\":\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\",\"ctrl-attrib a:hover\":\"color: inherit; text-decoration: underline;\",\"ctrl-attrib .mapbox-improve-map\":\"font-weight: bold; margin-left: 2px;\",\"attrib-empty\":\"display: none;\",\"ctrl-logo\":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version=\"1.0\" encoding=\"utf-8\"?%3E %3Csvg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 21 21\" style=\"enable-background:new 0 0 21 21;\" xml:space=\"preserve\"%3E%3Cg transform=\"translate(0,0.01)\"%3E%3Cpath d=\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\" style=\"opacity:0.9;fill:%23ffffff;enable-background:new\" class=\"st0\"/%3E%3Cpath d=\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\" style=\"opacity:0.35;enable-background:new\" class=\"st1\"/%3E%3Cpath d=\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\" style=\"opacity:0.35;enable-background:new\" class=\"st1\"/%3E%3Cpolygon points=\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 \" style=\"opacity:0.9;fill:%23ffffff;enable-background:new\" class=\"st0\"/%3E%3C/g%3E%3C/svg%3E')`}}}}),Q0=ke({\"src/plots/mapbox/layout_attributes.js\"(Z,H){\"use strict\";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=op(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt=\"Open Sans Regular, Arial Unicode MS Regular\";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex(\"mapbox\",\".layers\",!0)],domain:A({name:\"mapbox\"}),accesstoken:{valType:\"string\",noBlank:!0,strict:!0},style:{valType:\"any\",values:o.styleValuesMapbox.concat(o.styleValuesNonMapbox),dflt:o.styleValueDflt},center:{lon:{valType:\"number\",dflt:0},lat:{valType:\"number\",dflt:0}},zoom:{valType:\"number\",dflt:1},bearing:{valType:\"number\",dflt:0},pitch:{valType:\"number\",dflt:0},bounds:{west:{valType:\"number\"},east:{valType:\"number\"},south:{valType:\"number\"},north:{valType:\"number\"}},layers:r(\"layer\",{visible:{valType:\"boolean\",dflt:!0},sourcetype:{valType:\"enumerated\",values:[\"geojson\",\"vector\",\"raster\",\"image\"],dflt:\"geojson\"},source:{valType:\"any\"},sourcelayer:{valType:\"string\",dflt:\"\"},sourceattribution:{valType:\"string\"},type:{valType:\"enumerated\",values:[\"circle\",\"line\",\"fill\",\"symbol\",\"raster\"],dflt:\"circle\"},coordinates:{valType:\"any\"},below:{valType:\"string\"},color:{valType:\"color\",dflt:x},opacity:{valType:\"number\",min:0,max:1,dflt:1},minzoom:{valType:\"number\",min:0,max:24,dflt:0},maxzoom:{valType:\"number\",min:0,max:24,dflt:24},circle:{radius:{valType:\"number\",dflt:15}},line:{width:{valType:\"number\",dflt:2},dash:{valType:\"data_array\"}},fill:{outlinecolor:{valType:\"color\",dflt:x}},symbol:{icon:{valType:\"string\",dflt:\"marker\"},iconsize:{valType:\"number\",dflt:10},text:{valType:\"string\",dflt:\"\"},placement:{valType:\"enumerated\",values:[\"point\",\"line\",\"line-center\"],dflt:\"point\"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},\"plot\",\"from-root\");i.uirevision={valType:\"any\",editType:\"none\"}}}),pb=ke({\"src/traces/scattermapbox/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=Q0(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=Q0(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:\"boolean\"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:\"number\",arrayOk:!0,dflt:-1,min:-1},size:{valType:\"number\",arrayOk:!0,dflt:20,min:0},color:{valType:\"color\",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:\"markers\"}),text:n({},e.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"lat\",\"lon\",\"text\"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:\"string\",dflt:\"circle\",arrayOk:!0},angle:{valType:\"number\",dflt:\"auto\",arrayOk:!0},allowoverlap:{valType:\"boolean\",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o(\"marker\")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:\"string\"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:[\"lon\",\"lat\",\"text\",\"name\"]}),hovertemplate:g()},\"calc\",\"nested\")}}),sM=ke({\"src/traces/scattermapbox/constants.js\"(Z,H){\"use strict\";var g=[\"Metropolis Black Italic\",\"Metropolis Black\",\"Metropolis Bold Italic\",\"Metropolis Bold\",\"Metropolis Extra Bold Italic\",\"Metropolis Extra Bold\",\"Metropolis Extra Light Italic\",\"Metropolis Extra Light\",\"Metropolis Light Italic\",\"Metropolis Light\",\"Metropolis Medium Italic\",\"Metropolis Medium\",\"Metropolis Regular Italic\",\"Metropolis Regular\",\"Metropolis Semi Bold Italic\",\"Metropolis Semi Bold\",\"Metropolis Thin Italic\",\"Metropolis Thin\",\"Open Sans Bold Italic\",\"Open Sans Bold\",\"Open Sans Extrabold Italic\",\"Open Sans Extrabold\",\"Open Sans Italic\",\"Open Sans Light Italic\",\"Open Sans Light\",\"Open Sans Regular\",\"Open Sans Semibold Italic\",\"Open Sans Semibold\",\"Klokantech Noto Sans Bold\",\"Klokantech Noto Sans CJK Bold\",\"Klokantech Noto Sans CJK Regular\",\"Klokantech Noto Sans Italic\",\"Klokantech Noto Sans Regular\"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),FD=ke({\"src/traces/scattermapbox/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=pb(),o=sM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p(\"text\"),p(\"texttemplate\"),p(\"hovertext\"),p(\"hovertemplate\"),p(\"mode\"),p(\"below\"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p(\"marker.allowoverlap\"),p(\"marker.angle\");var l=s.marker;l.symbol!==\"circle\"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p(\"connectgaps\"));var _=d(\"cluster.maxzoom\"),w=d(\"cluster.step\"),M=d(\"cluster.color\",s.marker&&s.marker.color||c),E=d(\"cluster.size\"),m=d(\"cluster.opacity\"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p(\"cluster.enabled\",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:\"Open Sans Regular\",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p(\"fill\"),s.fill!==\"none\"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s(\"lon\")||[],h=s(\"lat\")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),lM=ke({\"src/traces/scattermapbox/format_labels.js\"(Z,H){\"use strict\";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),uM=ke({\"src/plots/mapbox/convert_text_opts.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=A.split(\" \"),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=[\"\",\"\"],s=[0,0];switch(t){case\"top\":a[0]=\"top\",s[1]=-i;break;case\"bottom\":a[0]=\"bottom\",s[1]=i;break}switch(r){case\"left\":a[1]=\"right\",s[0]=-n;break;case\"right\":a[1]=\"left\",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join(\"-\"):a[0]?c=a[0]:a[1]?c=a[1]:c=\"center\",{anchor:c,offset:s}}}}),OD=ke({\"src/traces/scattermapbox/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=sM().isSupportedFont,i=uM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!==\"none\",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol===\"circle\",F=P&&v.marker.symbol!==\"circle\",B=v.cluster&&v.cluster.enabled,O=h(\"fill\"),I=h(\"line\"),N=h(\"circle\"),U=h(\"symbol\"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility=\"visible\",x.extendFlat(O.paint,{\"fill-color\":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility=\"visible\",x.extendFlat(I.paint,{\"line-width\":v.line.width,\"line-color\":v.line.color,\"line-opacity\":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility=\"visible\",B&&(N.filter=[\"!\",[\"has\",\"point_count\"]],W.cluster={type:\"circle\",filter:[\"has\",\"point_count\"],layout:{visibility:\"visible\"},paint:{\"circle-color\":w(v.cluster.color,v.cluster.step),\"circle-radius\":w(v.cluster.size,v.cluster.step),\"circle-opacity\":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:\"symbol\",filter:[\"has\",\"point_count\"],paint:{},layout:{\"text-field\":\"{point_count_abbreviated}\",\"text-font\":M(v),\"text-size\":12}}),x.extendFlat(N.paint,{\"circle-color\":le.mcc,\"circle-radius\":le.mrc,\"circle-opacity\":le.mo})}if(z&&B&&(N.filter=[\"!\",[\"has\",\"point_count\"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:\"visible\",\"icon-image\":\"{symbol}-15\",\"text-field\":\"{text}\"}),F&&(x.extendFlat(U.layout,{\"icon-size\":v.marker.size/10}),\"angle\"in v.marker&&v.marker.angle!==\"auto\"&&x.extendFlat(U.layout,{\"icon-rotate\":{type:\"identity\",property:\"angle\"},\"icon-rotation-alignment\":\"map\"}),U.layout[\"icon-allow-overlap\"]=v.marker.allowoverlap,x.extendFlat(U.paint,{\"icon-opacity\":v.opacity*v.marker.opacity,\"icon-color\":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{\"text-size\":v.textfont.size,\"text-anchor\":fe.anchor,\"text-offset\":fe.offset,\"text-font\":M(v)}),x.extendFlat(U.paint,{\"text-color\":v.textfont.color,\"text-opacity\":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:\"none\"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,\"marker\")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=\" Black\":u>750?P+=\" Extra Bold\":u>650?P+=\" Bold\":u>550?P+=\" Semi Bold\":u>450?P+=\" Medium\":u>350?P+=\" Regular\":u>250?P+=\" Light\":u>150?P+=\" Extra Light\":P+=\" Thin\"):y.slice(0,2).join(\" \")===\"Open Sans\"?(P=\"Open Sans\",u>750?P+=\" Extrabold\":u>650?P+=\" Bold\":u>550?P+=\" Semibold\":u>350?P+=\" Regular\":P+=\" Light\"):y.slice(0,3).join(\" \")===\"Klokantech Noto Sans\"&&(P=\"Klokantech Noto Sans\",y[3]===\"CJK\"&&(P+=\" CJK\"),P+=u>500?\" Bold\":\" Regular\")),f&&(P+=\" Italic\"),P===\"Open Sans Regular Italic\"?P=\"Open Sans Italic\":P===\"Open Sans Regular Bold\"?P=\"Open Sans Bold\":P===\"Open Sans Regular Bold Italic\"?P=\"Open Sans Bold Italic\":P===\"Klokantech Noto Sans Regular Italic\"&&(P=\"Klokantech Noto Sans Italic\"),n(P)||(P=b);var L=P.split(\", \");return L}}}),BD=ke({\"src/traces/scattermapbox/plot.js\"(Z,H){\"use strict\";var g=un(),x=OD(),A=op().traceLayerPrefix,S={cluster:[\"cluster\",\"clusterCount\",\"circle\"],nonCluster:[\"fill\",\"line\",\"circle\",\"symbol\"]};function e(r,o,n,i){this.type=\"scattermapbox\",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:\"source-\"+o+\"-fill\",line:\"source-\"+o+\"-line\",circle:\"source-\"+o+\"-circle\",symbol:\"source-\"+o+\"-symbol\",cluster:\"source-\"+o+\"-circle\",clusterCount:\"source-\"+o+\"-circle\"},this.layerIds={fill:A+o+\"-fill\",line:A+o+\"-line\",circle:A+o+\"-circle\",symbol:A+o+\"-symbol\",cluster:A+o+\"-cluster\",clusterCount:A+o+\"-cluster-count\"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:\"geojson\",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup[\"trace-\"+i.uid],d,T,l;if(a)for(c.addSource(\"circle\",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split(\"+\"),h=c.indexOf(\"all\")!==-1,p=c.indexOf(\"lon\")!==-1,d=c.indexOf(\"lat\")!==-1,T=i.lonlat,l=[];function _(w){return w+\"\\xB0\"}return h||p&&d?l.push(\"(\"+_(T[1])+\", \"+_(T[0])+\")\"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf(\"text\")!==-1)&&S(i,n,l),l.join(\"
\")}H.exports={hoverPoints:r,getExtraText:o}}}),ND=ke({\"src/traces/scattermapbox/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),UD=ke({\"src/traces/scattermapbox/select.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s\"u\"&&(k=1e-6);var V,oe,ge,Pe,qe;for(ge=C,qe=0;qe<8;qe++){if(Pe=this.sampleCurveX(ge)-C,Math.abs(Pe)oe)return oe;for(;VPe?V=ge:oe=ge,ge=(oe-V)*.5+V}return ge},n.prototype.solve=function(C,k){return this.sampleCurveY(this.solveCurveX(C,k))};var i=a;function a(C,k){this.x=C,this.y=k}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(C){return this.clone()._add(C)},sub:function(C){return this.clone()._sub(C)},multByPoint:function(C){return this.clone()._multByPoint(C)},divByPoint:function(C){return this.clone()._divByPoint(C)},mult:function(C){return this.clone()._mult(C)},div:function(C){return this.clone()._div(C)},rotate:function(C){return this.clone()._rotate(C)},rotateAround:function(C,k){return this.clone()._rotateAround(C,k)},matMult:function(C){return this.clone()._matMult(C)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(C){return this.x===C.x&&this.y===C.y},dist:function(C){return Math.sqrt(this.distSqr(C))},distSqr:function(C){var k=C.x-this.x,V=C.y-this.y;return k*k+V*V},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(C){return Math.atan2(this.y-C.y,this.x-C.x)},angleWith:function(C){return this.angleWithSep(C.x,C.y)},angleWithSep:function(C,k){return Math.atan2(this.x*k-this.y*C,this.x*C+this.y*k)},_matMult:function(C){var k=C[0]*this.x+C[1]*this.y,V=C[2]*this.x+C[3]*this.y;return this.x=k,this.y=V,this},_add:function(C){return this.x+=C.x,this.y+=C.y,this},_sub:function(C){return this.x-=C.x,this.y-=C.y,this},_mult:function(C){return this.x*=C,this.y*=C,this},_div:function(C){return this.x/=C,this.y/=C,this},_multByPoint:function(C){return this.x*=C.x,this.y*=C.y,this},_divByPoint:function(C){return this.x/=C.x,this.y/=C.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var C=this.y;return this.y=this.x,this.x=-C,this},_rotate:function(C){var k=Math.cos(C),V=Math.sin(C),oe=k*this.x-V*this.y,ge=V*this.x+k*this.y;return this.x=oe,this.y=ge,this},_rotateAround:function(C,k){var V=Math.cos(C),oe=Math.sin(C),ge=k.x+V*(this.x-k.x)-oe*(this.y-k.y),Pe=k.y+oe*(this.x-k.x)+V*(this.y-k.y);return this.x=ge,this.y=Pe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(C){return C instanceof a?C:Array.isArray(C)?new a(C[0],C[1]):C};var s=typeof self<\"u\"?self:{};function c(C,k){if(Array.isArray(C)){if(!Array.isArray(k)||C.length!==k.length)return!1;for(var V=0;V=1)return 1;var k=C*C,V=k*C;return 4*(C<.5?V:3*(C-k)+V-.75)}function d(C,k,V,oe){var ge=new o(C,k,V,oe);return function(Pe){return ge.solve(Pe)}}var T=d(.25,.1,.25,1);function l(C,k,V){return Math.min(V,Math.max(k,C))}function _(C,k,V){var oe=V-k,ge=((C-k)%oe+oe)%oe+k;return ge===k?V:ge}function w(C,k,V){if(!C.length)return V(null,[]);var oe=C.length,ge=new Array(C.length),Pe=null;C.forEach(function(qe,ft){k(qe,function(Pt,Ut){Pt&&(Pe=Pt),ge[ft]=Ut,--oe===0&&V(Pe,ge)})})}function M(C){var k=[];for(var V in C)k.push(C[V]);return k}function E(C,k){var V=[];for(var oe in C)oe in k||V.push(oe);return V}function m(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe>k/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,C)}return C()}function f(C){return C<=1?1:Math.pow(2,Math.ceil(Math.log(C)/Math.LN2))}function P(C){return C?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(C):!1}function L(C,k){C.forEach(function(V){k[V]&&(k[V]=k[V].bind(k))})}function z(C,k){return C.indexOf(k,C.length-k.length)!==-1}function F(C,k,V){var oe={};for(var ge in C)oe[ge]=k.call(V||this,C[ge],ge,C);return oe}function B(C,k,V){var oe={};for(var ge in C)k.call(V||this,C[ge],ge,C)&&(oe[ge]=C[ge]);return oe}function O(C){return Array.isArray(C)?C.map(O):typeof C==\"object\"&&C?F(C,O):C}function I(C,k){for(var V=0;V=0)return!0;return!1}var N={};function U(C){N[C]||(typeof console<\"u\"&&console.warn(C),N[C]=!0)}function W(C,k,V){return(V.y-C.y)*(k.x-C.x)>(k.y-C.y)*(V.x-C.x)}function Q(C){for(var k=0,V=0,oe=C.length,ge=oe-1,Pe=void 0,qe=void 0;V@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)(?:\\=(?:([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)|(?:\\\"((?:[^\"\\\\]|\\\\.)*)\\\")))?/g,V={};if(C.replace(k,function(ge,Pe,qe,ft){var Pt=qe||ft;return V[Pe]=Pt?Pt.toLowerCase():!0,\"\"}),V[\"max-age\"]){var oe=parseInt(V[\"max-age\"],10);isNaN(oe)?delete V[\"max-age\"]:V[\"max-age\"]=oe}return V}var G=null;function $(C){if(G==null){var k=C.navigator?C.navigator.userAgent:null;G=!!C.safari||!!(k&&(/\\b(iPad|iPhone|iPod)\\b/.test(k)||k.match(\"Safari\")&&!k.match(\"Chrome\")))}return G}function J(C){try{var k=s[C];return k.setItem(\"_mapbox_test_\",1),k.removeItem(\"_mapbox_test_\"),!0}catch{return!1}}function X(C){return s.btoa(encodeURIComponent(C).replace(/%([0-9A-F]{2})/g,function(k,V){return String.fromCharCode(+(\"0x\"+V))}))}function re(C){return decodeURIComponent(s.atob(C).split(\"\").map(function(k){return\"%\"+(\"00\"+k.charCodeAt(0).toString(16)).slice(-2)}).join(\"\"))}var ae=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),j=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,ee=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,ie,ce,xe={now:ae,frame:function(k){var V=j(k);return{cancel:function(){return ee(V)}}},getImageData:function(k,V){V===void 0&&(V=0);var oe=s.document.createElement(\"canvas\"),ge=oe.getContext(\"2d\");if(!ge)throw new Error(\"failed to create canvas 2d context\");return oe.width=k.width,oe.height=k.height,ge.drawImage(k,0,0,k.width,k.height),ge.getImageData(-V,-V,k.width+2*V,k.height+2*V)},resolveURL:function(k){return ie||(ie=s.document.createElement(\"a\")),ie.href=k,ie.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return s.matchMedia?(ce==null&&(ce=s.matchMedia(\"(prefers-reduced-motion: reduce)\")),ce.matches):!1}},Te={API_URL:\"https://api.mapbox.com\",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf(\"https://api.mapbox.cn\")===0?\"https://events.mapbox.cn/events/v2\":this.API_URL.indexOf(\"https://api.mapbox.com\")===0?\"https://events.mapbox.com/events/v2\":null:null},FEEDBACK_URL:\"https://apps.mapbox.com/feedback\",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},Ue={supported:!1,testSupport:tt},Ie,Ye=!1,it,at=!1;s.document&&(it=s.document.createElement(\"img\"),it.onload=function(){Ie&&ut(Ie),Ie=null,at=!0},it.onerror=function(){Ye=!0,Ie=null},it.src=\"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\");function tt(C){Ye||!it||(at?ut(C):Ie=C)}function ut(C){var k=C.createTexture();C.bindTexture(C.TEXTURE_2D,k);try{if(C.texImage2D(C.TEXTURE_2D,0,C.RGBA,C.RGBA,C.UNSIGNED_BYTE,it),C.isContextLost())return;Ue.supported=!0}catch{}C.deleteTexture(k),Ye=!0}var Me=\"01\";function pe(){for(var C=\"1\",k=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\",V=\"\",oe=0;oe<10;oe++)V+=k[Math.floor(Math.random()*62)];var ge=12*60*60*1e3,Pe=[C,Me,V].join(\"\"),qe=Date.now()+ge;return{token:Pe,tokenExpiresAt:qe}}var ue=function(k,V){this._transformRequestFn=k,this._customAccessToken=V,this._createSkuToken()};ue.prototype._createSkuToken=function(){var k=pe();this._skuToken=k.token,this._skuTokenExpiresAt=k.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(k,V){return this._transformRequestFn?this._transformRequestFn(k,V)||{url:k}:{url:k}},ue.prototype.normalizeStyleURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/styles/v1\"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/fonts/v1\"+oe.path,this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(k,V){if(!Oe(k))return k;var oe=Bt(k);return oe.path=\"/v4/\"+oe.authority+\".json\",oe.params.push(\"secure\"),this._makeAPIURL(oe,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(k,V,oe,ge){var Pe=Bt(k);return Oe(k)?(Pe.path=\"/styles/v1\"+Pe.path+\"/sprite\"+V+oe,this._makeAPIURL(Pe,this._customAccessToken||ge)):(Pe.path+=\"\"+V+oe,qt(Pe))},ue.prototype.normalizeTileURL=function(k,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),k&&!Oe(k))return k;var oe=Bt(k),ge=/(\\.(png|jpg)\\d*)(?=$)/,Pe=/^.+\\/v4\\//,qe=xe.devicePixelRatio>=2||V===512?\"@2x\":\"\",ft=Ue.supported?\".webp\":\"$1\";oe.path=oe.path.replace(ge,\"\"+qe+ft),oe.path=oe.path.replace(Pe,\"/\"),oe.path=\"/v4\"+oe.path;var Pt=this._customAccessToken||Lt(oe.params)||Te.ACCESS_TOKEN;return Te.REQUIRE_ACCESS_TOKEN&&Pt&&this._skuToken&&oe.params.push(\"sku=\"+this._skuToken),this._makeAPIURL(oe,Pt)},ue.prototype.canonicalizeTileURL=function(k,V){var oe=\"/v4/\",ge=/\\.[\\w]+$/,Pe=Bt(k);if(!Pe.path.match(/(^\\/v4\\/)/)||!Pe.path.match(ge))return k;var qe=\"mapbox://tiles/\";qe+=Pe.path.replace(oe,\"\");var ft=Pe.params;return V&&(ft=ft.filter(function(Pt){return!Pt.match(/^access_token=/)})),ft.length&&(qe+=\"?\"+ft.join(\"&\")),qe},ue.prototype.canonicalizeTileset=function(k,V){for(var oe=V?Oe(V):!1,ge=[],Pe=0,qe=k.tiles||[];Pe=0&&k.params.splice(Pe,1)}if(ge.path!==\"/\"&&(k.path=\"\"+ge.path+k.path),!Te.REQUIRE_ACCESS_TOKEN)return qt(k);if(V=V||Te.ACCESS_TOKEN,!V)throw new Error(\"An API access token is required to use Mapbox GL. \"+oe);if(V[0]===\"s\")throw new Error(\"Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). \"+oe);return k.params=k.params.filter(function(qe){return qe.indexOf(\"access_token\")===-1}),k.params.push(\"access_token=\"+V),qt(k)};function Oe(C){return C.indexOf(\"mapbox:\")===0}var rt=/^((https?:)?\\/\\/)?([^\\/]+\\.)?mapbox\\.c(n|om)(\\/|\\?|$)/i;function ot(C){return rt.test(C)}function et(C){return C.indexOf(\"sku=\")>0&&ot(C)}function Lt(C){for(var k=0,V=C;k=1&&s.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{U(\"Unable to write to LocalStorage\")}},Rr.prototype.processRequests=function(k){},Rr.prototype.postEvent=function(k,V,oe,ge){var Pe=this;if(Te.EVENTS_URL){var qe=Bt(Te.EVENTS_URL);qe.params.push(\"access_token=\"+(ge||Te.ACCESS_TOKEN||\"\"));var ft={event:this.type,created:new Date(k).toISOString(),sdkIdentifier:\"mapbox-gl-js\",sdkVersion:r,skuId:Me,userId:this.anonId},Pt=V?m(ft,V):ft,Ut={url:qt(qe),headers:{\"Content-Type\":\"text/plain\"},body:JSON.stringify([Pt])};this.pendingRequest=en(Ut,function(Kt){Pe.pendingRequest=null,oe(Kt),Pe.saveEventData(),Pe.processRequests(ge)})}},Rr.prototype.queueRequest=function(k,V){this.queue.push(k),this.processRequests(V)};var gr=function(C){function k(){C.call(this,\"map.load\"),this.success={},this.skuToken=\"\"}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postMapLoadEvent=function(oe,ge,Pe,qe){this.skuToken=Pe,(Te.EVENTS_URL&&qe||Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(ft){return Oe(ft)||ot(ft)}))&&this.queueRequest({id:ge,timestamp:Date.now()},qe)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){var Pe=this.queue.shift(),qe=Pe.id,ft=Pe.timestamp;qe&&this.success[qe]||(this.anonId||this.fetchEventData(),P(this.anonId)||(this.anonId=y()),this.postEvent(ft,{skuToken:this.skuToken},function(Pt){Pt||qe&&(ge.success[qe]=!0)},oe))}},k}(Rr),br=function(C){function k(V){C.call(this,\"appUserTurnstile\"),this._customAccessToken=V}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.postTurnstileEvent=function(oe,ge){Te.EVENTS_URL&&Te.ACCESS_TOKEN&&Array.isArray(oe)&&oe.some(function(Pe){return Oe(Pe)||ot(Pe)})&&this.queueRequest(Date.now(),ge)},k.prototype.processRequests=function(oe){var ge=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Pe=ar(Te.ACCESS_TOKEN),qe=Pe?Pe.u:Te.ACCESS_TOKEN,ft=qe!==this.eventData.tokenU;P(this.anonId)||(this.anonId=y(),ft=!0);var Pt=this.queue.shift();if(this.eventData.lastSuccess){var Ut=new Date(this.eventData.lastSuccess),Kt=new Date(Pt),_r=(Pt-this.eventData.lastSuccess)/(24*60*60*1e3);ft=ft||_r>=1||_r<-1||Ut.getDate()!==Kt.getDate()}else ft=!0;if(!ft)return this.processRequests();this.postEvent(Pt,{\"enabled.telemetry\":!1},function(Vr){Vr||(ge.eventData.lastSuccess=Pt,ge.eventData.tokenU=qe)},oe)}},k}(Rr),_t=new br,Be=_t.postTurnstileEvent.bind(_t),Ke=new gr,je=Ke.postMapLoadEvent.bind(Ke),Se=\"mapbox-tiles\",He=500,Ee=50,we=1e3*60*7,Le;function nt(){s.caches&&!Le&&(Le=s.caches.open(Se))}var pt;function bt(C,k){if(pt===void 0)try{new Response(new ReadableStream),pt=!0}catch{pt=!1}pt?k(C.body):C.blob().then(k)}function Rt(C,k,V){if(nt(),!!Le){var oe={status:k.status,statusText:k.statusText,headers:new s.Headers};k.headers.forEach(function(qe,ft){return oe.headers.set(ft,qe)});var ge=fe(k.headers.get(\"Cache-Control\")||\"\");if(!ge[\"no-store\"]){ge[\"max-age\"]&&oe.headers.set(\"Expires\",new Date(V+ge[\"max-age\"]*1e3).toUTCString());var Pe=new Date(oe.headers.get(\"Expires\")).getTime()-V;PeDate.now()&&!V[\"no-cache\"]}var ur=1/0;function pn(C){ur++,ur>Ee&&(C.getActor().send(\"enforceCacheSizeLimit\",He),ur=0)}function Rn(C){nt(),Le&&Le.then(function(k){k.keys().then(function(V){for(var oe=0;oe=200&&V.status<300||V.status===0)&&V.response!==null){var ge=V.response;if(C.type===\"json\")try{ge=JSON.parse(V.response)}catch(Pe){return k(Pe)}k(null,ge,V.getResponseHeader(\"Cache-Control\"),V.getResponseHeader(\"Expires\"))}else k(new gi(V.statusText,V.status,C.url))},V.send(C.body),{cancel:function(){return V.abort()}}}var wr=function(C,k){if(!Ft(C.url)){if(s.fetch&&s.Request&&s.AbortController&&s.Request.prototype.hasOwnProperty(\"signal\"))return Ht(C,k);if(se()&&self.worker&&self.worker.actor){var V=!0;return self.worker.actor.send(\"getResource\",C,k,void 0,V)}}return Vt(C,k)},$r=function(C,k){return wr(m(C,{type:\"json\"}),k)},xn=function(C,k){return wr(m(C,{type:\"arrayBuffer\"}),k)},en=function(C,k){return wr(m(C,{method:\"POST\"}),k)};function Fn(C){var k=s.document.createElement(\"a\");return k.href=C,k.protocol===s.document.location.protocol&&k.host===s.document.location.host}var Wn=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\";function ri(C,k,V,oe){var ge=new s.Image,Pe=s.URL;ge.onload=function(){k(null,ge),Pe.revokeObjectURL(ge.src),ge.onload=null,s.requestAnimationFrame(function(){ge.src=Wn})},ge.onerror=function(){return k(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))};var qe=new s.Blob([new Uint8Array(C)],{type:\"image/png\"});ge.cacheControl=V,ge.expires=oe,ge.src=C.byteLength?Pe.createObjectURL(qe):Wn}function Sn(C,k){var V=new s.Blob([new Uint8Array(C)],{type:\"image/png\"});s.createImageBitmap(V).then(function(oe){k(null,oe)}).catch(function(oe){k(new Error(\"Could not load image because of \"+oe.message+\". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))})}var ui,gt,yt=function(){ui=[],gt=0};yt();var Pr=function(C,k){if(Ue.supported&&(C.headers||(C.headers={}),C.headers.accept=\"image/webp,*/*\"),gt>=Te.MAX_PARALLEL_IMAGE_REQUESTS){var V={requestParameters:C,callback:k,cancelled:!1,cancel:function(){this.cancelled=!0}};return ui.push(V),V}gt++;var oe=!1,ge=function(){if(!oe)for(oe=!0,gt--;ui.length&>0||this._oneTimeListeners&&this._oneTimeListeners[k]&&this._oneTimeListeners[k].length>0||this._eventedParent&&this._eventedParent.listens(k)},Dr.prototype.setEventedParent=function(k,V){return this._eventedParent=k,this._eventedParentData=V,this};var nn=8,vn={version:{required:!0,type:\"enum\",values:[8]},name:{type:\"string\"},metadata:{type:\"*\"},center:{type:\"array\",value:\"number\"},zoom:{type:\"number\"},bearing:{type:\"number\",default:0,period:360,units:\"degrees\"},pitch:{type:\"number\",default:0,units:\"degrees\"},light:{type:\"light\"},sources:{required:!0,type:\"sources\"},sprite:{type:\"string\"},glyphs:{type:\"string\"},transition:{type:\"transition\"},layers:{required:!0,type:\"array\",value:\"layer\"}},gn={\"*\":{type:\"source\"}},kt=[\"source_vector\",\"source_raster\",\"source_raster_dem\",\"source_geojson\",\"source_video\",\"source_image\"],or={type:{required:!0,type:\"enum\",values:{vector:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},attribution:{type:\"string\"},promoteId:{type:\"promoteId\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},yr={type:{required:!0,type:\"enum\",values:{raster:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},attribution:{type:\"string\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},on={type:{required:!0,type:\"enum\",values:{\"raster-dem\":{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},attribution:{type:\"string\"},encoding:{type:\"enum\",values:{terrarium:{},mapbox:{}},default:\"mapbox\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},An={type:{required:!0,type:\"enum\",values:{geojson:{}}},data:{type:\"*\"},maxzoom:{type:\"number\",default:18},attribution:{type:\"string\"},buffer:{type:\"number\",default:128,maximum:512,minimum:0},filter:{type:\"*\"},tolerance:{type:\"number\",default:.375},cluster:{type:\"boolean\",default:!1},clusterRadius:{type:\"number\",default:50,minimum:0},clusterMaxZoom:{type:\"number\"},clusterMinPoints:{type:\"number\"},clusterProperties:{type:\"*\"},lineMetrics:{type:\"boolean\",default:!1},generateId:{type:\"boolean\",default:!1},promoteId:{type:\"promoteId\"}},Zn={type:{required:!0,type:\"enum\",values:{video:{}}},urls:{required:!0,type:\"array\",value:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},Bn={type:{required:!0,type:\"enum\",values:{image:{}}},url:{required:!0,type:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},wn={id:{type:\"string\",required:!0},type:{type:\"enum\",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},\"fill-extrusion\":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:\"*\"},source:{type:\"string\"},\"source-layer\":{type:\"string\"},minzoom:{type:\"number\",minimum:0,maximum:24},maxzoom:{type:\"number\",minimum:0,maximum:24},filter:{type:\"filter\"},layout:{type:\"layout\"},paint:{type:\"paint\"}},Dn=[\"layout_fill\",\"layout_line\",\"layout_circle\",\"layout_heatmap\",\"layout_fill-extrusion\",\"layout_symbol\",\"layout_raster\",\"layout_hillshade\",\"layout_background\"],Ui={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},pi={\"fill-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Ta={\"circle-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Sa={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},qa={\"line-cap\":{type:\"enum\",values:{butt:{},round:{},square:{}},default:\"butt\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-join\":{type:\"enum\",values:{bevel:{},round:{},miter:{}},default:\"miter\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"line-miter-limit\":{type:\"number\",default:2,requires:[{\"line-join\":\"miter\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-round-limit\":{type:\"number\",default:1.05,requires:[{\"line-join\":\"round\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},to={\"symbol-placement\":{type:\"enum\",values:{point:{},line:{},\"line-center\":{}},default:\"point\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-spacing\":{type:\"number\",default:250,minimum:1,units:\"pixels\",requires:[{\"symbol-placement\":\"line\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-avoid-edges\":{type:\"boolean\",default:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"symbol-z-order\":{type:\"enum\",values:{auto:{},\"viewport-y\":{},source:{}},default:\"auto\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-optional\":{type:\"boolean\",default:!1,requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-size\":{type:\"number\",default:1,minimum:0,units:\"factor of the original icon size\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-text-fit\":{type:\"enum\",values:{none:{},width:{},height:{},both:{}},default:\"none\",requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-text-fit-padding\":{type:\"array\",value:\"number\",length:4,default:[0,0,0,0],units:\"pixels\",requires:[\"icon-image\",\"text-field\",{\"icon-text-fit\":[\"both\",\"width\",\"height\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-image\":{type:\"resolvedImage\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-keep-upright\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"icon-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-offset\":{type:\"array\",value:\"number\",length:2,default:[0,0],requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-field\":{type:\"formatted\",default:\"\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-font\":{type:\"array\",value:\"string\",default:[\"Open Sans Regular\",\"Arial Unicode MS Regular\"],requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-size\":{type:\"number\",default:16,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-width\":{type:\"number\",default:10,minimum:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-line-height\":{type:\"number\",default:1.2,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-letter-spacing\":{type:\"number\",default:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-justify\":{type:\"enum\",values:{auto:{},left:{},center:{},right:{}},default:\"center\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-radial-offset\":{type:\"number\",units:\"ems\",default:0,requires:[\"text-field\"],\"property-type\":\"data-driven\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]}},\"text-variable-anchor\":{type:\"array\",value:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"text-field\",{\"!\":\"text-variable-anchor\"}],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-angle\":{type:\"number\",default:45,units:\"degrees\",requires:[\"text-field\",{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-writing-mode\":{type:\"array\",value:\"enum\",values:{horizontal:{},vertical:{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-keep-upright\":{type:\"boolean\",default:!0,requires:[\"text-field\",{\"text-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-transform\":{type:\"enum\",values:{none:{},uppercase:{},lowercase:{}},default:\"none\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-offset\":{type:\"array\",value:\"number\",units:\"ems\",length:2,default:[0,0],requires:[\"text-field\",{\"!\":\"text-radial-offset\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-optional\":{type:\"boolean\",default:!1,requires:[\"text-field\",\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},yo={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Xa={visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},Go={type:\"array\",value:\"*\"},pa={type:\"enum\",values:{\"==\":{},\"!=\":{},\">\":{},\">=\":{},\"<\":{},\"<=\":{},in:{},\"!in\":{},all:{},any:{},none:{},has:{},\"!has\":{},within:{}}},cs={type:\"enum\",values:{Point:{},LineString:{},Polygon:{}}},Ko={type:\"array\",minimum:0,maximum:24,value:[\"number\",\"color\"],length:2},gs={type:\"array\",value:\"*\",minimum:1},Ya={anchor:{type:\"enum\",default:\"viewport\",values:{map:{},viewport:{}},\"property-type\":\"data-constant\",transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]}},position:{type:\"array\",default:[1.15,210,30],length:3,value:\"number\",\"property-type\":\"data-constant\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]}},color:{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},intensity:{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},zo=[\"paint_fill\",\"paint_line\",\"paint_circle\",\"paint_heatmap\",\"paint_fill-extrusion\",\"paint_symbol\",\"paint_raster\",\"paint_hillshade\",\"paint_background\"],Ka={\"fill-antialias\":{type:\"boolean\",default:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-outline-color\":{type:\"color\",transition:!0,requires:[{\"!\":\"fill-pattern\"},{\"fill-antialias\":!0}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"}},Yo={\"line-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"line-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-width\":{type:\"number\",default:1,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-gap-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-offset\":{type:\"number\",default:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-dasharray\":{type:\"array\",value:\"number\",minimum:0,transition:!0,units:\"line widths\",requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"line-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"line-gradient\":{type:\"color\",transition:!1,requires:[{\"!\":\"line-dasharray\"},{\"!\":\"line-pattern\"},{source:\"geojson\",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:[\"line-progress\"]},\"property-type\":\"color-ramp\"}},ns={\"circle-radius\":{type:\"number\",default:5,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-blur\":{type:\"number\",default:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"circle-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-scale\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-stroke-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"}},hs={\"heatmap-radius\":{type:\"number\",default:30,minimum:1,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-weight\":{type:\"number\",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-intensity\":{type:\"number\",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"heatmap-color\":{type:\"color\",default:[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,\"rgba(0, 0, 255, 0)\",.1,\"royalblue\",.3,\"cyan\",.5,\"lime\",.7,\"yellow\",1,\"red\"],transition:!1,expression:{interpolated:!0,parameters:[\"heatmap-density\"]},\"property-type\":\"color-ramp\"},\"heatmap-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},ho={\"icon-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"icon-image\",\"icon-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-color\":{type:\"color\",default:\"#000000\",transition:!0,overridable:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"text-field\",\"text-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ro={\"raster-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-hue-rotate\":{type:\"number\",default:0,period:360,transition:!0,units:\"degrees\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-min\":{type:\"number\",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-max\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-saturation\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-contrast\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-resampling\":{type:\"enum\",values:{linear:{},nearest:{}},default:\"linear\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-fade-duration\":{type:\"number\",default:300,minimum:0,transition:!1,units:\"milliseconds\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ls={\"hillshade-illumination-direction\":{type:\"number\",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-illumination-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-exaggeration\":{type:\"number\",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-shadow-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-highlight-color\":{type:\"color\",default:\"#FFFFFF\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-accent-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Vs={\"background-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"background-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"background-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"background-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},Ws={duration:{type:\"number\",default:300,minimum:0,units:\"milliseconds\"},delay:{type:\"number\",default:0,minimum:0,units:\"milliseconds\"}},fs={\"*\":{type:\"string\"}},Mi={$version:nn,$root:vn,sources:gn,source:kt,source_vector:or,source_raster:yr,source_raster_dem:on,source_geojson:An,source_video:Zn,source_image:Bn,layer:wn,layout:Dn,layout_background:Ui,layout_fill:pi,layout_circle:Ta,layout_heatmap:Sa,\"layout_fill-extrusion\":{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_line:qa,layout_symbol:to,layout_raster:yo,layout_hillshade:Xa,filter:Go,filter_operator:pa,geometry_type:cs,function:{expression:{type:\"expression\"},stops:{type:\"array\",value:\"function_stop\"},base:{type:\"number\",default:1,minimum:0},property:{type:\"string\",default:\"$zoom\"},type:{type:\"enum\",values:{identity:{},exponential:{},interval:{},categorical:{}},default:\"exponential\"},colorSpace:{type:\"enum\",values:{rgb:{},lab:{},hcl:{}},default:\"rgb\"},default:{type:\"*\",required:!1}},function_stop:Ko,expression:gs,light:Ya,paint:zo,paint_fill:Ka,\"paint_fill-extrusion\":{\"fill-extrusion-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-extrusion-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-extrusion-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"fill-extrusion-height\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-base\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,requires:[\"fill-extrusion-height\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-vertical-gradient\":{type:\"boolean\",default:!0,transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_line:Yo,paint_circle:ns,paint_heatmap:hs,paint_symbol:ho,paint_raster:Ro,paint_hillshade:Ls,paint_background:Vs,transition:Ws,\"property-type\":{\"data-driven\":{type:\"property-type\"},\"cross-faded\":{type:\"property-type\"},\"cross-faded-data-driven\":{type:\"property-type\"},\"color-ramp\":{type:\"property-type\"},\"data-constant\":{type:\"property-type\"},constant:{type:\"property-type\"}},promoteId:fs},Da=function(k,V,oe,ge){this.message=(k?k+\": \":\"\")+oe,ge&&(this.identifier=ge),V!=null&&V.__line__&&(this.line=V.__line__)};function pl(C){var k=C.key,V=C.value;return V?[new Da(k,V,\"constants have been deprecated as of v8\")]:[]}function Xs(C){for(var k=[],V=arguments.length-1;V-- >0;)k[V]=arguments[V+1];for(var oe=0,ge=k;oe\":C.itemType.kind===\"value\"?\"array\":\"array<\"+k+\">\"}else return C.kind}var nu=[wl,la,Uo,vo,Ps,Tl,ls,Rl(no),Vu];function qu(C,k){if(k.kind===\"error\")return null;if(C.kind===\"array\"){if(k.kind===\"array\"&&(k.N===0&&k.itemType.kind===\"value\"||!qu(C.itemType,k.itemType))&&(typeof C.N!=\"number\"||C.N===k.N))return null}else{if(C.kind===k.kind)return null;if(C.kind===\"value\")for(var V=0,oe=nu;V255?255:Ut}function ge(Ut){return Ut<0?0:Ut>1?1:Ut}function Pe(Ut){return Ut[Ut.length-1]===\"%\"?oe(parseFloat(Ut)/100*255):oe(parseInt(Ut))}function qe(Ut){return Ut[Ut.length-1]===\"%\"?ge(parseFloat(Ut)/100):ge(parseFloat(Ut))}function ft(Ut,Kt,_r){return _r<0?_r+=1:_r>1&&(_r-=1),_r*6<1?Ut+(Kt-Ut)*_r*6:_r*2<1?Kt:_r*3<2?Ut+(Kt-Ut)*(2/3-_r)*6:Ut}function Pt(Ut){var Kt=Ut.replace(/ /g,\"\").toLowerCase();if(Kt in V)return V[Kt].slice();if(Kt[0]===\"#\"){if(Kt.length===4){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=4095?[(_r&3840)>>4|(_r&3840)>>8,_r&240|(_r&240)>>4,_r&15|(_r&15)<<4,1]:null}else if(Kt.length===7){var _r=parseInt(Kt.substr(1),16);return _r>=0&&_r<=16777215?[(_r&16711680)>>16,(_r&65280)>>8,_r&255,1]:null}return null}var Vr=Kt.indexOf(\"(\"),Or=Kt.indexOf(\")\");if(Vr!==-1&&Or+1===Kt.length){var dn=Kt.substr(0,Vr),jn=Kt.substr(Vr+1,Or-(Vr+1)).split(\",\"),mi=1;switch(dn){case\"rgba\":if(jn.length!==4)return null;mi=qe(jn.pop());case\"rgb\":return jn.length!==3?null:[Pe(jn[0]),Pe(jn[1]),Pe(jn[2]),mi];case\"hsla\":if(jn.length!==4)return null;mi=qe(jn.pop());case\"hsl\":if(jn.length!==3)return null;var ii=(parseFloat(jn[0])%360+360)%360/360,Vi=qe(jn[1]),Ai=qe(jn[2]),ji=Ai<=.5?Ai*(Vi+1):Ai+Vi-Ai*Vi,Yi=Ai*2-ji;return[oe(ft(Yi,ji,ii+1/3)*255),oe(ft(Yi,ji,ii)*255),oe(ft(Yi,ji,ii-1/3)*255),mi];default:return null}}return null}try{k.parseCSSColor=Pt}catch{}}),uf=sh.parseCSSColor,qs=function(k,V,oe,ge){ge===void 0&&(ge=1),this.r=k,this.g=V,this.b=oe,this.a=ge};qs.parse=function(k){if(k){if(k instanceof qs)return k;if(typeof k==\"string\"){var V=uf(k);if(V)return new qs(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},qs.prototype.toString=function(){var k=this.toArray(),V=k[0],oe=k[1],ge=k[2],Pe=k[3];return\"rgba(\"+Math.round(V)+\",\"+Math.round(oe)+\",\"+Math.round(ge)+\",\"+Pe+\")\"},qs.prototype.toArray=function(){var k=this,V=k.r,oe=k.g,ge=k.b,Pe=k.a;return Pe===0?[0,0,0,0]:[V*255/Pe,oe*255/Pe,ge*255/Pe,Pe]},qs.black=new qs(0,0,0,1),qs.white=new qs(1,1,1,1),qs.transparent=new qs(0,0,0,0),qs.red=new qs(1,0,0,1);var Hc=function(k,V,oe){k?this.sensitivity=V?\"variant\":\"case\":this.sensitivity=V?\"accent\":\"base\",this.locale=oe,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:\"search\"})};Hc.prototype.compare=function(k,V){return this.collator.compare(k,V)},Hc.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var bf=function(k,V,oe,ge,Pe){this.text=k,this.image=V,this.scale=oe,this.fontStack=ge,this.textColor=Pe},Ql=function(k){this.sections=k};Ql.fromString=function(k){return new Ql([new bf(k,null,null,null,null)])},Ql.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(k){return k.text.length!==0||k.image&&k.image.name.length!==0})},Ql.factory=function(k){return k instanceof Ql?k:Ql.fromString(k)},Ql.prototype.toString=function(){return this.sections.length===0?\"\":this.sections.map(function(k){return k.text}).join(\"\")},Ql.prototype.serialize=function(){for(var k=[\"format\"],V=0,oe=this.sections;V=0&&C<=255&&typeof k==\"number\"&&k>=0&&k<=255&&typeof V==\"number\"&&V>=0&&V<=255)){var ge=typeof oe==\"number\"?[C,k,V,oe]:[C,k,V];return\"Invalid rgba value [\"+ge.join(\", \")+\"]: 'r', 'g', and 'b' must be between 0 and 255.\"}return typeof oe>\"u\"||typeof oe==\"number\"&&oe>=0&&oe<=1?null:\"Invalid rgba value [\"+[C,k,V,oe].join(\", \")+\"]: 'a' must be between 0 and 1.\"}function gc(C){if(C===null)return!0;if(typeof C==\"string\")return!0;if(typeof C==\"boolean\")return!0;if(typeof C==\"number\")return!0;if(C instanceof qs)return!0;if(C instanceof Hc)return!0;if(C instanceof Ql)return!0;if(C instanceof Al)return!0;if(Array.isArray(C)){for(var k=0,V=C;k2){var ft=k[1];if(typeof ft!=\"string\"||!(ft in sc)||ft===\"object\")return V.error('The item type argument of \"array\" must be one of string, number, boolean',1);qe=sc[ft],oe++}else qe=no;var Pt;if(k.length>3){if(k[2]!==null&&(typeof k[2]!=\"number\"||k[2]<0||k[2]!==Math.floor(k[2])))return V.error('The length argument to \"array\" must be a positive integer literal',2);Pt=k[2],oe++}ge=Rl(qe,Pt)}else ge=sc[Pe];for(var Ut=[];oe1)&&V.push(ge)}}return V.concat(this.args.map(function(Pe){return Pe.serialize()}))};var $u=function(k){this.type=Tl,this.sections=k};$u.parse=function(k,V){if(k.length<2)return V.error(\"Expected at least one argument.\");var oe=k[1];if(!Array.isArray(oe)&&typeof oe==\"object\")return V.error(\"First argument must be an image or text section.\");for(var ge=[],Pe=!1,qe=1;qe<=k.length-1;++qe){var ft=k[qe];if(Pe&&typeof ft==\"object\"&&!Array.isArray(ft)){Pe=!1;var Pt=null;if(ft[\"font-scale\"]&&(Pt=V.parse(ft[\"font-scale\"],1,la),!Pt))return null;var Ut=null;if(ft[\"text-font\"]&&(Ut=V.parse(ft[\"text-font\"],1,Rl(Uo)),!Ut))return null;var Kt=null;if(ft[\"text-color\"]&&(Kt=V.parse(ft[\"text-color\"],1,Ps),!Kt))return null;var _r=ge[ge.length-1];_r.scale=Pt,_r.font=Ut,_r.textColor=Kt}else{var Vr=V.parse(k[qe],1,no);if(!Vr)return null;var Or=Vr.type.kind;if(Or!==\"string\"&&Or!==\"value\"&&Or!==\"null\"&&Or!==\"resolvedImage\")return V.error(\"Formatted text type must be 'string', 'value', 'image' or 'null'.\");Pe=!0,ge.push({content:Vr,scale:null,font:null,textColor:null})}}return new $u(ge)},$u.prototype.evaluate=function(k){var V=function(oe){var ge=oe.content.evaluate(k);return nl(ge)===Vu?new bf(\"\",ge,null,null,null):new bf(Ml(ge),null,oe.scale?oe.scale.evaluate(k):null,oe.font?oe.font.evaluate(k).join(\",\"):null,oe.textColor?oe.textColor.evaluate(k):null)};return new Ql(this.sections.map(V))},$u.prototype.eachChild=function(k){for(var V=0,oe=this.sections;V-1),oe},ll.prototype.eachChild=function(k){k(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){return[\"image\",this.input.serialize()]};var Nh={\"to-boolean\":vo,\"to-color\":Ps,\"to-number\":la,\"to-string\":Uo},ds=function(k,V){this.type=k,this.args=V};ds.parse=function(k,V){if(k.length<2)return V.error(\"Expected at least one argument.\");var oe=k[0];if((oe===\"to-boolean\"||oe===\"to-string\")&&k.length!==2)return V.error(\"Expected one argument.\");for(var ge=Nh[oe],Pe=[],qe=1;qe4?oe=\"Invalid rbga value \"+JSON.stringify(V)+\": expected an array containing either three or four numeric values.\":oe=oc(V[0],V[1],V[2],V[3]),!oe))return new qs(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new sl(oe||\"Could not parse color from value '\"+(typeof V==\"string\"?V:String(JSON.stringify(V)))+\"'\")}else if(this.type.kind===\"number\"){for(var Pt=null,Ut=0,Kt=this.args;Ut=k[2]||C[1]<=k[1]||C[3]>=k[3])}function Jf(C,k){var V=Lc(C[0]),oe=nf(C[1]),ge=Math.pow(2,k.z);return[Math.round(V*ge*pu),Math.round(oe*ge*pu)]}function zf(C,k,V){var oe=C[0]-k[0],ge=C[1]-k[1],Pe=C[0]-V[0],qe=C[1]-V[1];return oe*qe-Pe*ge===0&&oe*Pe<=0&&ge*qe<=0}function wf(C,k,V){return k[1]>C[1]!=V[1]>C[1]&&C[0]<(V[0]-k[0])*(C[1]-k[1])/(V[1]-k[1])+k[0]}function Gc(C,k){for(var V=!1,oe=0,ge=k.length;oe0&&_r<0||Kt<0&&_r>0}function Tf(C,k,V,oe){var ge=[k[0]-C[0],k[1]-C[1]],Pe=[oe[0]-V[0],oe[1]-V[1]];return $f(Pe,ge)===0?!1:!!(ec(C,k,V,oe)&&ec(V,oe,C,k))}function Pc(C,k,V){for(var oe=0,ge=V;oeV[2]){var ge=oe*.5,Pe=C[0]-V[0]>ge?-oe:V[0]-C[0]>ge?oe:0;Pe===0&&(Pe=C[0]-V[2]>ge?-oe:V[2]-C[0]>ge?oe:0),C[0]+=Pe}Df(k,C)}function Of(C){C[0]=C[1]=1/0,C[2]=C[3]=-1/0}function Eh(C,k,V,oe){for(var ge=Math.pow(2,oe.z)*pu,Pe=[oe.x*pu,oe.y*pu],qe=[],ft=0,Pt=C;ft=0)return!1;var V=!0;return C.eachChild(function(oe){V&&!Ru(oe,k)&&(V=!1)}),V}var yc=function(k,V){this.type=V.type,this.name=k,this.boundExpression=V};yc.parse=function(k,V){if(k.length!==2||typeof k[1]!=\"string\")return V.error(\"'var' expression requires exactly one string literal argument.\");var oe=k[1];return V.scope.has(oe)?new yc(oe,V.scope.get(oe)):V.error('Unknown variable \"'+oe+'\". Make sure \"'+oe+'\" has been bound in an enclosing \"let\" expression before using it.',1)},yc.prototype.evaluate=function(k){return this.boundExpression.evaluate(k)},yc.prototype.eachChild=function(){},yc.prototype.outputDefined=function(){return!1},yc.prototype.serialize=function(){return[\"var\",this.name]};var Dl=function(k,V,oe,ge,Pe){V===void 0&&(V=[]),ge===void 0&&(ge=new hl),Pe===void 0&&(Pe=[]),this.registry=k,this.path=V,this.key=V.map(function(qe){return\"[\"+qe+\"]\"}).join(\"\"),this.scope=ge,this.errors=Pe,this.expectedType=oe};Dl.prototype.parse=function(k,V,oe,ge,Pe){return Pe===void 0&&(Pe={}),V?this.concat(V,oe,ge)._parse(k,Pe):this._parse(k,Pe)},Dl.prototype._parse=function(k,V){(k===null||typeof k==\"string\"||typeof k==\"boolean\"||typeof k==\"number\")&&(k=[\"literal\",k]);function oe(Kt,_r,Vr){return Vr===\"assert\"?new jl(_r,[Kt]):Vr===\"coerce\"?new ds(_r,[Kt]):Kt}if(Array.isArray(k)){if(k.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use [\"literal\", []].');var ge=k[0];if(typeof ge!=\"string\")return this.error(\"Expression name must be a string, but found \"+typeof ge+' instead. If you wanted a literal array, use [\"literal\", [...]].',0),null;var Pe=this.registry[ge];if(Pe){var qe=Pe.parse(k,this);if(!qe)return null;if(this.expectedType){var ft=this.expectedType,Pt=qe.type;if((ft.kind===\"string\"||ft.kind===\"number\"||ft.kind===\"boolean\"||ft.kind===\"object\"||ft.kind===\"array\")&&Pt.kind===\"value\")qe=oe(qe,ft,V.typeAnnotation||\"assert\");else if((ft.kind===\"color\"||ft.kind===\"formatted\"||ft.kind===\"resolvedImage\")&&(Pt.kind===\"value\"||Pt.kind===\"string\"))qe=oe(qe,ft,V.typeAnnotation||\"coerce\");else if(this.checkSubtype(ft,Pt))return null}if(!(qe instanceof Zs)&&qe.type.kind!==\"resolvedImage\"&&Rc(qe)){var Ut=new Bs;try{qe=new Zs(qe.type,qe.evaluate(Ut))}catch(Kt){return this.error(Kt.message),null}}return qe}return this.error('Unknown expression \"'+ge+'\". If you wanted a literal array, use [\"literal\", [...]].',0)}else return typeof k>\"u\"?this.error(\"'undefined' value invalid. Use null instead.\"):typeof k==\"object\"?this.error('Bare objects invalid. Use [\"literal\", {...}] instead.'):this.error(\"Expected an array, but found \"+typeof k+\" instead.\")},Dl.prototype.concat=function(k,V,oe){var ge=typeof k==\"number\"?this.path.concat(k):this.path,Pe=oe?this.scope.concat(oe):this.scope;return new Dl(this.registry,ge,V||null,Pe,this.errors)},Dl.prototype.error=function(k){for(var V=[],oe=arguments.length-1;oe-- >0;)V[oe]=arguments[oe+1];var ge=\"\"+this.key+V.map(function(Pe){return\"[\"+Pe+\"]\"}).join(\"\");this.errors.push(new As(ge,k))},Dl.prototype.checkSubtype=function(k,V){var oe=qu(k,V);return oe&&this.error(oe),oe};function Rc(C){if(C instanceof yc)return Rc(C.boundExpression);if(C instanceof Vo&&C.name===\"error\")return!1;if(C instanceof Qu)return!1;if(C instanceof Iu)return!1;var k=C instanceof ds||C instanceof jl,V=!0;return C.eachChild(function(oe){k?V=V&&Rc(oe):V=V&&oe instanceof Zs}),V?eh(C)&&Ru(C,[\"zoom\",\"heatmap-density\",\"line-progress\",\"accumulated\",\"is-supported-script\"]):!1}function tc(C,k){for(var V=C.length-1,oe=0,ge=V,Pe=0,qe,ft;oe<=ge;)if(Pe=Math.floor((oe+ge)/2),qe=C[Pe],ft=C[Pe+1],qe<=k){if(Pe===V||kk)ge=Pe-1;else throw new sl(\"Input is not a number.\");return 0}var xu=function(k,V,oe){this.type=k,this.input=V,this.labels=[],this.outputs=[];for(var ge=0,Pe=oe;ge=ft)return V.error('Input/output pairs for \"step\" expressions must be arranged with input values in strictly ascending order.',Ut);var _r=V.parse(Pt,Kt,Pe);if(!_r)return null;Pe=Pe||_r.type,ge.push([ft,_r])}return new xu(Pe,oe,ge)},xu.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge);return oe[qe].evaluate(k)},xu.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V0&&k.push(this.labels[V]),k.push(this.outputs[V].serialize());return k};function Sl(C,k,V){return C*(1-V)+k*V}function th(C,k,V){return new qs(Sl(C.r,k.r,V),Sl(C.g,k.g,V),Sl(C.b,k.b,V),Sl(C.a,k.a,V))}function uh(C,k,V){return C.map(function(oe,ge){return Sl(oe,k[ge],V)})}var Hu=Object.freeze({__proto__:null,number:Sl,color:th,array:uh}),_c=.95047,lc=1,Uh=1.08883,of=4/29,ff=6/29,Du=3*ff*ff,Af=ff*ff*ff,lu=Math.PI/180,Xc=180/Math.PI;function ch(C){return C>Af?Math.pow(C,1/3):C/Du+of}function Mf(C){return C>ff?C*C*C:Du*(C-of)}function dl(C){return 255*(C<=.0031308?12.92*C:1.055*Math.pow(C,1/2.4)-.055)}function bu(C){return C/=255,C<=.04045?C/12.92:Math.pow((C+.055)/1.055,2.4)}function wu(C){var k=bu(C.r),V=bu(C.g),oe=bu(C.b),ge=ch((.4124564*k+.3575761*V+.1804375*oe)/_c),Pe=ch((.2126729*k+.7151522*V+.072175*oe)/lc),qe=ch((.0193339*k+.119192*V+.9503041*oe)/Uh);return{l:116*Pe-16,a:500*(ge-Pe),b:200*(Pe-qe),alpha:C.a}}function Bf(C){var k=(C.l+16)/116,V=isNaN(C.a)?k:k+C.a/500,oe=isNaN(C.b)?k:k-C.b/200;return k=lc*Mf(k),V=_c*Mf(V),oe=Uh*Mf(oe),new qs(dl(3.2404542*V-1.5371385*k-.4985314*oe),dl(-.969266*V+1.8760108*k+.041556*oe),dl(.0556434*V-.2040259*k+1.0572252*oe),C.alpha)}function ul(C,k,V){return{l:Sl(C.l,k.l,V),a:Sl(C.a,k.a,V),b:Sl(C.b,k.b,V),alpha:Sl(C.alpha,k.alpha,V)}}function sf(C){var k=wu(C),V=k.l,oe=k.a,ge=k.b,Pe=Math.atan2(ge,oe)*Xc;return{h:Pe<0?Pe+360:Pe,c:Math.sqrt(oe*oe+ge*ge),l:V,alpha:C.a}}function xc(C){var k=C.h*lu,V=C.c,oe=C.l;return Bf({l:oe,a:Math.cos(k)*V,b:Math.sin(k)*V,alpha:C.alpha})}function Gu(C,k,V){var oe=k-C;return C+V*(oe>180||oe<-180?oe-360*Math.round(oe/360):oe)}function hf(C,k,V){return{h:Gu(C.h,k.h,V),c:Sl(C.c,k.c,V),l:Sl(C.l,k.l,V),alpha:Sl(C.alpha,k.alpha,V)}}var uc={forward:wu,reverse:Bf,interpolate:ul},Zc={forward:sf,reverse:xc,interpolate:hf},Nf=Object.freeze({__proto__:null,lab:uc,hcl:Zc}),Xl=function(k,V,oe,ge,Pe){this.type=k,this.operator=V,this.interpolation=oe,this.input=ge,this.labels=[],this.outputs=[];for(var qe=0,ft=Pe;qe1}))return V.error(\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\",1);ge={name:\"cubic-bezier\",controlPoints:Pt}}else return V.error(\"Unknown interpolation type \"+String(ge[0]),1,0);if(k.length-1<4)return V.error(\"Expected at least 4 arguments, but found only \"+(k.length-1)+\".\");if((k.length-1)%2!==0)return V.error(\"Expected an even number of arguments.\");if(Pe=V.parse(Pe,2,la),!Pe)return null;var Ut=[],Kt=null;oe===\"interpolate-hcl\"||oe===\"interpolate-lab\"?Kt=Ps:V.expectedType&&V.expectedType.kind!==\"value\"&&(Kt=V.expectedType);for(var _r=0;_r=Vr)return V.error('Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.',dn);var mi=V.parse(Or,jn,Kt);if(!mi)return null;Kt=Kt||mi.type,Ut.push([Vr,mi])}return Kt.kind!==\"number\"&&Kt.kind!==\"color\"&&!(Kt.kind===\"array\"&&Kt.itemType.kind===\"number\"&&typeof Kt.N==\"number\")?V.error(\"Type \"+Qs(Kt)+\" is not interpolatable.\"):new Xl(Kt,oe,ge,Pe,Ut)},Xl.prototype.evaluate=function(k){var V=this.labels,oe=this.outputs;if(V.length===1)return oe[0].evaluate(k);var ge=this.input.evaluate(k);if(ge<=V[0])return oe[0].evaluate(k);var Pe=V.length;if(ge>=V[Pe-1])return oe[Pe-1].evaluate(k);var qe=tc(V,ge),ft=V[qe],Pt=V[qe+1],Ut=Xl.interpolationFactor(this.interpolation,ge,ft,Pt),Kt=oe[qe].evaluate(k),_r=oe[qe+1].evaluate(k);return this.operator===\"interpolate\"?Hu[this.type.kind.toLowerCase()](Kt,_r,Ut):this.operator===\"interpolate-hcl\"?Zc.reverse(Zc.interpolate(Zc.forward(Kt),Zc.forward(_r),Ut)):uc.reverse(uc.interpolate(uc.forward(Kt),uc.forward(_r),Ut))},Xl.prototype.eachChild=function(k){k(this.input);for(var V=0,oe=this.outputs;V=oe.length)throw new sl(\"Array index out of bounds: \"+V+\" > \"+(oe.length-1)+\".\");if(V!==Math.floor(V))throw new sl(\"Array index must be an integer, but found \"+V+\" instead.\");return oe[V]},cc.prototype.eachChild=function(k){k(this.index),k(this.input)},cc.prototype.outputDefined=function(){return!1},cc.prototype.serialize=function(){return[\"at\",this.index.serialize(),this.input.serialize()]};var zl=function(k,V){this.type=vo,this.needle=k,this.haystack=V};zl.parse=function(k,V){if(k.length!==3)return V.error(\"Expected 2 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);return!oe||!ge?null:kc(oe.type,[vo,Uo,la,wl,no])?new zl(oe,ge):V.error(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(oe.type)+\" instead\")},zl.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!oe)return!1;if(!Ju(V,[\"boolean\",\"string\",\"number\",\"null\"]))throw new sl(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(nl(V))+\" instead.\");if(!Ju(oe,[\"string\",\"array\"]))throw new sl(\"Expected second argument to be of type array or string, but found \"+Qs(nl(oe))+\" instead.\");return oe.indexOf(V)>=0},zl.prototype.eachChild=function(k){k(this.needle),k(this.haystack)},zl.prototype.outputDefined=function(){return!0},zl.prototype.serialize=function(){return[\"in\",this.needle.serialize(),this.haystack.serialize()]};var uu=function(k,V,oe){this.type=la,this.needle=k,this.haystack=V,this.fromIndex=oe};uu.parse=function(k,V){if(k.length<=2||k.length>=5)return V.error(\"Expected 3 or 4 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,no);if(!oe||!ge)return null;if(!kc(oe.type,[vo,Uo,la,wl,no]))return V.error(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(oe.type)+\" instead\");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new uu(oe,ge,Pe):null}else return new uu(oe,ge)},uu.prototype.evaluate=function(k){var V=this.needle.evaluate(k),oe=this.haystack.evaluate(k);if(!Ju(V,[\"boolean\",\"string\",\"number\",\"null\"]))throw new sl(\"Expected first argument to be of type boolean, string, number or null, but found \"+Qs(nl(V))+\" instead.\");if(!Ju(oe,[\"string\",\"array\"]))throw new sl(\"Expected second argument to be of type array or string, but found \"+Qs(nl(oe))+\" instead.\");if(this.fromIndex){var ge=this.fromIndex.evaluate(k);return oe.indexOf(V,ge)}return oe.indexOf(V)},uu.prototype.eachChild=function(k){k(this.needle),k(this.haystack),this.fromIndex&&k(this.fromIndex)},uu.prototype.outputDefined=function(){return!1},uu.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var k=this.fromIndex.serialize();return[\"index-of\",this.needle.serialize(),this.haystack.serialize(),k]}return[\"index-of\",this.needle.serialize(),this.haystack.serialize()]};var fc=function(k,V,oe,ge,Pe,qe){this.inputType=k,this.type=V,this.input=oe,this.cases=ge,this.outputs=Pe,this.otherwise=qe};fc.parse=function(k,V){if(k.length<5)return V.error(\"Expected at least 4 arguments, but found only \"+(k.length-1)+\".\");if(k.length%2!==1)return V.error(\"Expected an even number of arguments.\");var oe,ge;V.expectedType&&V.expectedType.kind!==\"value\"&&(ge=V.expectedType);for(var Pe={},qe=[],ft=2;ftNumber.MAX_SAFE_INTEGER)return Kt.error(\"Branch labels must be integers no larger than \"+Number.MAX_SAFE_INTEGER+\".\");if(typeof Or==\"number\"&&Math.floor(Or)!==Or)return Kt.error(\"Numeric branch labels must be integer values.\");if(!oe)oe=nl(Or);else if(Kt.checkSubtype(oe,nl(Or)))return null;if(typeof Pe[String(Or)]<\"u\")return Kt.error(\"Branch labels must be unique.\");Pe[String(Or)]=qe.length}var dn=V.parse(Ut,ft,ge);if(!dn)return null;ge=ge||dn.type,qe.push(dn)}var jn=V.parse(k[1],1,no);if(!jn)return null;var mi=V.parse(k[k.length-1],k.length-1,ge);return!mi||jn.type.kind!==\"value\"&&V.concat(1).checkSubtype(oe,jn.type)?null:new fc(oe,ge,jn,Pe,qe,mi)},fc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=nl(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise;return oe.evaluate(k)},fc.prototype.eachChild=function(k){k(this.input),this.outputs.forEach(k),k(this.otherwise)},fc.prototype.outputDefined=function(){return this.outputs.every(function(k){return k.outputDefined()})&&this.otherwise.outputDefined()},fc.prototype.serialize=function(){for(var k=this,V=[\"match\",this.input.serialize()],oe=Object.keys(this.cases).sort(),ge=[],Pe={},qe=0,ft=oe;qe=5)return V.error(\"Expected 3 or 4 arguments, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1,no),ge=V.parse(k[2],2,la);if(!oe||!ge)return null;if(!kc(oe.type,[Rl(no),Uo,no]))return V.error(\"Expected first argument to be of type array or string, but found \"+Qs(oe.type)+\" instead\");if(k.length===4){var Pe=V.parse(k[3],3,la);return Pe?new rc(oe.type,oe,ge,Pe):null}else return new rc(oe.type,oe,ge)},rc.prototype.evaluate=function(k){var V=this.input.evaluate(k),oe=this.beginIndex.evaluate(k);if(!Ju(V,[\"string\",\"array\"]))throw new sl(\"Expected first argument to be of type array or string, but found \"+Qs(nl(V))+\" instead.\");if(this.endIndex){var ge=this.endIndex.evaluate(k);return V.slice(oe,ge)}return V.slice(oe)},rc.prototype.eachChild=function(k){k(this.input),k(this.beginIndex),this.endIndex&&k(this.endIndex)},rc.prototype.outputDefined=function(){return!1},rc.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var k=this.endIndex.serialize();return[\"slice\",this.input.serialize(),this.beginIndex.serialize(),k]}return[\"slice\",this.input.serialize(),this.beginIndex.serialize()]};function Yc(C,k){return C===\"==\"||C===\"!=\"?k.kind===\"boolean\"||k.kind===\"string\"||k.kind===\"number\"||k.kind===\"null\"||k.kind===\"value\":k.kind===\"string\"||k.kind===\"number\"||k.kind===\"value\"}function Yt(C,k,V){return k===V}function dr(C,k,V){return k!==V}function tn(C,k,V){return kV}function Cn(C,k,V){return k<=V}function si(C,k,V){return k>=V}function yi(C,k,V,oe){return oe.compare(k,V)===0}function Di(C,k,V,oe){return!yi(C,k,V,oe)}function Wi(C,k,V,oe){return oe.compare(k,V)<0}function aa(C,k,V,oe){return oe.compare(k,V)>0}function bi(C,k,V,oe){return oe.compare(k,V)<=0}function zi(C,k,V,oe){return oe.compare(k,V)>=0}function Li(C,k,V){var oe=C!==\"==\"&&C!==\"!=\";return function(){function ge(Pe,qe,ft){this.type=vo,this.lhs=Pe,this.rhs=qe,this.collator=ft,this.hasUntypedArgument=Pe.type.kind===\"value\"||qe.type.kind===\"value\"}return ge.parse=function(qe,ft){if(qe.length!==3&&qe.length!==4)return ft.error(\"Expected two or three arguments.\");var Pt=qe[0],Ut=ft.parse(qe[1],1,no);if(!Ut)return null;if(!Yc(Pt,Ut.type))return ft.concat(1).error('\"'+Pt+`\" comparisons are not supported for type '`+Qs(Ut.type)+\"'.\");var Kt=ft.parse(qe[2],2,no);if(!Kt)return null;if(!Yc(Pt,Kt.type))return ft.concat(2).error('\"'+Pt+`\" comparisons are not supported for type '`+Qs(Kt.type)+\"'.\");if(Ut.type.kind!==Kt.type.kind&&Ut.type.kind!==\"value\"&&Kt.type.kind!==\"value\")return ft.error(\"Cannot compare types '\"+Qs(Ut.type)+\"' and '\"+Qs(Kt.type)+\"'.\");oe&&(Ut.type.kind===\"value\"&&Kt.type.kind!==\"value\"?Ut=new jl(Kt.type,[Ut]):Ut.type.kind!==\"value\"&&Kt.type.kind===\"value\"&&(Kt=new jl(Ut.type,[Kt])));var _r=null;if(qe.length===4){if(Ut.type.kind!==\"string\"&&Kt.type.kind!==\"string\"&&Ut.type.kind!==\"value\"&&Kt.type.kind!==\"value\")return ft.error(\"Cannot use collator to compare non-string types.\");if(_r=ft.parse(qe[3],3,Ku),!_r)return null}return new ge(Ut,Kt,_r)},ge.prototype.evaluate=function(qe){var ft=this.lhs.evaluate(qe),Pt=this.rhs.evaluate(qe);if(oe&&this.hasUntypedArgument){var Ut=nl(ft),Kt=nl(Pt);if(Ut.kind!==Kt.kind||!(Ut.kind===\"string\"||Ut.kind===\"number\"))throw new sl('Expected arguments for \"'+C+'\" to be (string, string) or (number, number), but found ('+Ut.kind+\", \"+Kt.kind+\") instead.\")}if(this.collator&&!oe&&this.hasUntypedArgument){var _r=nl(ft),Vr=nl(Pt);if(_r.kind!==\"string\"||Vr.kind!==\"string\")return k(qe,ft,Pt)}return this.collator?V(qe,ft,Pt,this.collator.evaluate(qe)):k(qe,ft,Pt)},ge.prototype.eachChild=function(qe){qe(this.lhs),qe(this.rhs),this.collator&&qe(this.collator)},ge.prototype.outputDefined=function(){return!0},ge.prototype.serialize=function(){var qe=[C];return this.eachChild(function(ft){qe.push(ft.serialize())}),qe},ge}()}var di=Li(\"==\",Yt,yi),wa=Li(\"!=\",dr,Di),po=Li(\"<\",tn,Wi),co=Li(\">\",Wr,aa),mo=Li(\"<=\",Cn,bi),Ao=Li(\">=\",si,zi),xa=function(k,V,oe,ge,Pe){this.type=Uo,this.number=k,this.locale=V,this.currency=oe,this.minFractionDigits=ge,this.maxFractionDigits=Pe};xa.parse=function(k,V){if(k.length!==3)return V.error(\"Expected two arguments.\");var oe=V.parse(k[1],1,la);if(!oe)return null;var ge=k[2];if(typeof ge!=\"object\"||Array.isArray(ge))return V.error(\"NumberFormat options argument must be an object.\");var Pe=null;if(ge.locale&&(Pe=V.parse(ge.locale,1,Uo),!Pe))return null;var qe=null;if(ge.currency&&(qe=V.parse(ge.currency,1,Uo),!qe))return null;var ft=null;if(ge[\"min-fraction-digits\"]&&(ft=V.parse(ge[\"min-fraction-digits\"],1,la),!ft))return null;var Pt=null;return ge[\"max-fraction-digits\"]&&(Pt=V.parse(ge[\"max-fraction-digits\"],1,la),!Pt)?null:new xa(oe,Pe,qe,ft,Pt)},xa.prototype.evaluate=function(k){return new Intl.NumberFormat(this.locale?this.locale.evaluate(k):[],{style:this.currency?\"currency\":\"decimal\",currency:this.currency?this.currency.evaluate(k):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(k):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(k):void 0}).format(this.number.evaluate(k))},xa.prototype.eachChild=function(k){k(this.number),this.locale&&k(this.locale),this.currency&&k(this.currency),this.minFractionDigits&&k(this.minFractionDigits),this.maxFractionDigits&&k(this.maxFractionDigits)},xa.prototype.outputDefined=function(){return!1},xa.prototype.serialize=function(){var k={};return this.locale&&(k.locale=this.locale.serialize()),this.currency&&(k.currency=this.currency.serialize()),this.minFractionDigits&&(k[\"min-fraction-digits\"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(k[\"max-fraction-digits\"]=this.maxFractionDigits.serialize()),[\"number-format\",this.number.serialize(),k]};var Qi=function(k){this.type=la,this.input=k};Qi.parse=function(k,V){if(k.length!==2)return V.error(\"Expected 1 argument, but found \"+(k.length-1)+\" instead.\");var oe=V.parse(k[1],1);return oe?oe.type.kind!==\"array\"&&oe.type.kind!==\"string\"&&oe.type.kind!==\"value\"?V.error(\"Expected argument of type string or array, but found \"+Qs(oe.type)+\" instead.\"):new Qi(oe):null},Qi.prototype.evaluate=function(k){var V=this.input.evaluate(k);if(typeof V==\"string\")return V.length;if(Array.isArray(V))return V.length;throw new sl(\"Expected value to be of type string or array, but found \"+Qs(nl(V))+\" instead.\")},Qi.prototype.eachChild=function(k){k(this.input)},Qi.prototype.outputDefined=function(){return!1},Qi.prototype.serialize=function(){var k=[\"length\"];return this.eachChild(function(V){k.push(V.serialize())}),k};var Lo={\"==\":di,\"!=\":wa,\">\":co,\"<\":po,\">=\":Ao,\"<=\":mo,array:jl,at:cc,boolean:jl,case:Dc,coalesce:Wu,collator:Qu,format:$u,image:ll,in:zl,\"index-of\":uu,interpolate:Xl,\"interpolate-hcl\":Xl,\"interpolate-lab\":Xl,length:Qi,let:bc,literal:Zs,match:fc,number:jl,\"number-format\":xa,object:jl,slice:rc,step:xu,string:jl,\"to-boolean\":ds,\"to-color\":ds,\"to-number\":ds,\"to-string\":ds,var:yc,within:Iu};function as(C,k){var V=k[0],oe=k[1],ge=k[2],Pe=k[3];V=V.evaluate(C),oe=oe.evaluate(C),ge=ge.evaluate(C);var qe=Pe?Pe.evaluate(C):1,ft=oc(V,oe,ge,qe);if(ft)throw new sl(ft);return new qs(V/255*qe,oe/255*qe,ge/255*qe,qe)}function Ds(C,k){return C in k}function il(C,k){var V=k[C];return typeof V>\"u\"?null:V}function Ns(C,k,V,oe){for(;V<=oe;){var ge=V+oe>>1;if(k[ge]===C)return!0;k[ge]>C?oe=ge-1:V=ge+1}return!1}function el(C){return{type:C}}Vo.register(Lo,{error:[$l,[Uo],function(C,k){var V=k[0];throw new sl(V.evaluate(C))}],typeof:[Uo,[no],function(C,k){var V=k[0];return Qs(nl(V.evaluate(C)))}],\"to-rgba\":[Rl(la,4),[Ps],function(C,k){var V=k[0];return V.evaluate(C).toArray()}],rgb:[Ps,[la,la,la],as],rgba:[Ps,[la,la,la,la],as],has:{type:vo,overloads:[[[Uo],function(C,k){var V=k[0];return Ds(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return Ds(V.evaluate(C),oe.evaluate(C))}]]},get:{type:no,overloads:[[[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.properties())}],[[Uo,ls],function(C,k){var V=k[0],oe=k[1];return il(V.evaluate(C),oe.evaluate(C))}]]},\"feature-state\":[no,[Uo],function(C,k){var V=k[0];return il(V.evaluate(C),C.featureState||{})}],properties:[ls,[],function(C){return C.properties()}],\"geometry-type\":[Uo,[],function(C){return C.geometryType()}],id:[no,[],function(C){return C.id()}],zoom:[la,[],function(C){return C.globals.zoom}],\"heatmap-density\":[la,[],function(C){return C.globals.heatmapDensity||0}],\"line-progress\":[la,[],function(C){return C.globals.lineProgress||0}],accumulated:[no,[],function(C){return C.globals.accumulated===void 0?null:C.globals.accumulated}],\"+\":[la,el(la),function(C,k){for(var V=0,oe=0,ge=k;oe\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>Pe}],\"filter-id->\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>ge}],\"filter-<=\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge<=Pe}],\"filter-id-<=\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe<=ge}],\"filter->=\":[vo,[Uo,no],function(C,k){var V=k[0],oe=k[1],ge=C.properties()[V.value],Pe=oe.value;return typeof ge==typeof Pe&&ge>=Pe}],\"filter-id->=\":[vo,[no],function(C,k){var V=k[0],oe=C.id(),ge=V.value;return typeof oe==typeof ge&&oe>=ge}],\"filter-has\":[vo,[no],function(C,k){var V=k[0];return V.value in C.properties()}],\"filter-has-id\":[vo,[],function(C){return C.id()!==null&&C.id()!==void 0}],\"filter-type-in\":[vo,[Rl(Uo)],function(C,k){var V=k[0];return V.value.indexOf(C.geometryType())>=0}],\"filter-id-in\":[vo,[Rl(no)],function(C,k){var V=k[0];return V.value.indexOf(C.id())>=0}],\"filter-in-small\":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return oe.value.indexOf(C.properties()[V.value])>=0}],\"filter-in-large\":[vo,[Uo,Rl(no)],function(C,k){var V=k[0],oe=k[1];return Ns(C.properties()[V.value],oe.value,0,oe.value.length-1)}],all:{type:vo,overloads:[[[vo,vo],function(C,k){var V=k[0],oe=k[1];return V.evaluate(C)&&oe.evaluate(C)}],[el(vo),function(C,k){for(var V=0,oe=k;V-1}function Za(C){return!!C.expression&&C.expression.interpolated}function jo(C){return C instanceof Number?\"number\":C instanceof String?\"string\":C instanceof Boolean?\"boolean\":Array.isArray(C)?\"array\":C===null?\"null\":typeof C}function Js(C){return typeof C==\"object\"&&C!==null&&!Array.isArray(C)}function zs(C){return C}function cu(C,k){var V=k.type===\"color\",oe=C.stops&&typeof C.stops[0][0]==\"object\",ge=oe||C.property!==void 0,Pe=oe||!ge,qe=C.type||(Za(k)?\"exponential\":\"interval\");if(V&&(C=Xs({},C),C.stops&&(C.stops=C.stops.map(function(Ua){return[Ua[0],qs.parse(Ua[1])]})),C.default?C.default=qs.parse(C.default):C.default=qs.parse(k.default)),C.colorSpace&&C.colorSpace!==\"rgb\"&&!Nf[C.colorSpace])throw new Error(\"Unknown color space: \"+C.colorSpace);var ft,Pt,Ut;if(qe===\"exponential\")ft=Tu;else if(qe===\"interval\")ft=Kc;else if(qe===\"categorical\"){ft=nc,Pt=Object.create(null);for(var Kt=0,_r=C.stops;Kt<_r.length;Kt+=1){var Vr=_r[Kt];Pt[Vr[0]]=Vr[1]}Ut=typeof C.stops[0][0]}else if(qe===\"identity\")ft=zc;else throw new Error('Unknown function type \"'+qe+'\"');if(oe){for(var Or={},dn=[],jn=0;jn=C.stops[oe-1][0])return C.stops[oe-1][1];var ge=tc(C.stops.map(function(Pe){return Pe[0]}),V);return C.stops[ge][1]}function Tu(C,k,V){var oe=C.base!==void 0?C.base:1;if(jo(V)!==\"number\")return zu(C.default,k.default);var ge=C.stops.length;if(ge===1||V<=C.stops[0][0])return C.stops[0][1];if(V>=C.stops[ge-1][0])return C.stops[ge-1][1];var Pe=tc(C.stops.map(function(_r){return _r[0]}),V),qe=Fu(V,oe,C.stops[Pe][0],C.stops[Pe+1][0]),ft=C.stops[Pe][1],Pt=C.stops[Pe+1][1],Ut=Hu[k.type]||zs;if(C.colorSpace&&C.colorSpace!==\"rgb\"){var Kt=Nf[C.colorSpace];Ut=function(_r,Vr){return Kt.reverse(Kt.interpolate(Kt.forward(_r),Kt.forward(Vr),qe))}}return typeof ft.evaluate==\"function\"?{evaluate:function(){for(var Vr=[],Or=arguments.length;Or--;)Vr[Or]=arguments[Or];var dn=ft.evaluate.apply(void 0,Vr),jn=Pt.evaluate.apply(void 0,Vr);if(!(dn===void 0||jn===void 0))return Ut(dn,jn,qe)}}:Ut(ft,Pt,qe)}function zc(C,k,V){return k.type===\"color\"?V=qs.parse(V):k.type===\"formatted\"?V=Ql.fromString(V.toString()):k.type===\"resolvedImage\"?V=Al.fromString(V.toString()):jo(V)!==k.type&&(k.type!==\"enum\"||!k.values[V])&&(V=void 0),zu(V,C.default,k.default)}function Fu(C,k,V,oe){var ge=oe-V,Pe=C-V;return ge===0?0:k===1?Pe/ge:(Math.pow(k,Pe)-1)/(Math.pow(k,ge)-1)}var wc=function(k,V){this.expression=k,this._warningHistory={},this._evaluator=new Bs,this._defaultValue=V?Ae(V):null,this._enumValues=V&&V.type===\"enum\"?V.values:null};wc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._evaluator.globals=k,this._evaluator.feature=V,this._evaluator.featureState=oe,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe,this.expression.evaluate(this._evaluator)},wc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){this._evaluator.globals=k,this._evaluator.feature=V||null,this._evaluator.featureState=oe||null,this._evaluator.canonical=ge,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=qe||null;try{var ft=this.expression.evaluate(this._evaluator);if(ft==null||typeof ft==\"number\"&&ft!==ft)return this._defaultValue;if(this._enumValues&&!(ft in this._enumValues))throw new sl(\"Expected value to be one of \"+Object.keys(this._enumValues).map(function(Pt){return JSON.stringify(Pt)}).join(\", \")+\", but found \"+JSON.stringify(ft)+\" instead.\");return ft}catch(Pt){return this._warningHistory[Pt.message]||(this._warningHistory[Pt.message]=!0,typeof console<\"u\"&&console.warn(Pt.message)),this._defaultValue}};function bo(C){return Array.isArray(C)&&C.length>0&&typeof C[0]==\"string\"&&C[0]in Lo}function Wo(C,k){var V=new Dl(Lo,[],k?be(k):void 0),oe=V.parse(C,void 0,void 0,void 0,k&&k.type===\"string\"?{typeAnnotation:\"coerce\"}:void 0);return oe?Es(new wc(oe,k)):Bl(V.errors)}var Fc=function(k,V){this.kind=k,this._styleExpression=V,this.isStateDependent=k!==\"constant\"&&!su(V.expression)};Fc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},Fc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)};var hc=function(k,V,oe,ge){this.kind=k,this.zoomStops=oe,this._styleExpression=V,this.isStateDependent=k!==\"camera\"&&!su(V.expression),this.interpolationType=ge};hc.prototype.evaluateWithoutErrorHandling=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluateWithoutErrorHandling(k,V,oe,ge,Pe,qe)},hc.prototype.evaluate=function(k,V,oe,ge,Pe,qe){return this._styleExpression.evaluate(k,V,oe,ge,Pe,qe)},hc.prototype.interpolationFactor=function(k,V,oe){return this.interpolationType?Xl.interpolationFactor(this.interpolationType,k,V,oe):0};function dc(C,k){if(C=Wo(C,k),C.result===\"error\")return C;var V=C.value.expression,oe=eh(V);if(!oe&&!_l(k))return Bl([new As(\"\",\"data expressions not supported\")]);var ge=Ru(V,[\"zoom\"]);if(!ge&&!cl(k))return Bl([new As(\"\",\"zoom expressions not supported\")]);var Pe=ne(V);if(!Pe&&!ge)return Bl([new As(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.')]);if(Pe instanceof As)return Bl([Pe]);if(Pe instanceof Xl&&!Za(k))return Bl([new As(\"\",'\"interpolate\" expressions cannot be used with this property')]);if(!Pe)return Es(oe?new Fc(\"constant\",C.value):new Fc(\"source\",C.value));var qe=Pe instanceof Xl?Pe.interpolation:void 0;return Es(oe?new hc(\"camera\",C.value,Pe.labels,qe):new hc(\"composite\",C.value,Pe.labels,qe))}var Ne=function(k,V){this._parameters=k,this._specification=V,Xs(this,cu(this._parameters,this._specification))};Ne.deserialize=function(k){return new Ne(k._parameters,k._specification)},Ne.serialize=function(k){return{_parameters:k._parameters,_specification:k._specification}};function R(C,k){if(Js(C))return new Ne(C,k);if(bo(C)){var V=dc(C,k);if(V.result===\"error\")throw new Error(V.value.map(function(ge){return ge.key+\": \"+ge.message}).join(\", \"));return V.value}else{var oe=C;return typeof C==\"string\"&&k.type===\"color\"&&(oe=qs.parse(C)),{kind:\"constant\",evaluate:function(){return oe}}}}function ne(C){var k=null;if(C instanceof bc)k=ne(C.result);else if(C instanceof Wu)for(var V=0,oe=C.args;Voe.maximum?[new Da(k,V,V+\" is greater than the maximum value \"+oe.maximum)]:[]}function zt(C){var k=C.valueSpec,V=Eo(C.value.type),oe,ge={},Pe,qe,ft=V!==\"categorical\"&&C.value.property===void 0,Pt=!ft,Ut=jo(C.value.stops)===\"array\"&&jo(C.value.stops[0])===\"array\"&&jo(C.value.stops[0][0])===\"object\",Kt=Fe({key:C.key,value:C.value,valueSpec:C.styleSpec.function,style:C.style,styleSpec:C.styleSpec,objectElementValidators:{stops:_r,default:dn}});return V===\"identity\"&&ft&&Kt.push(new Da(C.key,C.value,'missing required property \"property\"')),V!==\"identity\"&&!C.value.stops&&Kt.push(new Da(C.key,C.value,'missing required property \"stops\"')),V===\"exponential\"&&C.valueSpec.expression&&!Za(C.valueSpec)&&Kt.push(new Da(C.key,C.value,\"exponential functions not supported\")),C.styleSpec.$version>=8&&(Pt&&!_l(C.valueSpec)?Kt.push(new Da(C.key,C.value,\"property functions not supported\")):ft&&!cl(C.valueSpec)&&Kt.push(new Da(C.key,C.value,\"zoom functions not supported\"))),(V===\"categorical\"||Ut)&&C.value.property===void 0&&Kt.push(new Da(C.key,C.value,'\"property\" property is required')),Kt;function _r(jn){if(V===\"identity\")return[new Da(jn.key,jn.value,'identity function may not have a \"stops\" property')];var mi=[],ii=jn.value;return mi=mi.concat(ht({key:jn.key,value:ii,valueSpec:jn.valueSpec,style:jn.style,styleSpec:jn.styleSpec,arrayElementValidator:Vr})),jo(ii)===\"array\"&&ii.length===0&&mi.push(new Da(jn.key,ii,\"array must have at least one stop\")),mi}function Vr(jn){var mi=[],ii=jn.value,Vi=jn.key;if(jo(ii)!==\"array\")return[new Da(Vi,ii,\"array expected, \"+jo(ii)+\" found\")];if(ii.length!==2)return[new Da(Vi,ii,\"array length 2 expected, length \"+ii.length+\" found\")];if(Ut){if(jo(ii[0])!==\"object\")return[new Da(Vi,ii,\"object expected, \"+jo(ii[0])+\" found\")];if(ii[0].zoom===void 0)return[new Da(Vi,ii,\"object stop key must have zoom\")];if(ii[0].value===void 0)return[new Da(Vi,ii,\"object stop key must have value\")];if(qe&&qe>Eo(ii[0].zoom))return[new Da(Vi,ii[0].zoom,\"stop zoom values must appear in ascending order\")];Eo(ii[0].zoom)!==qe&&(qe=Eo(ii[0].zoom),Pe=void 0,ge={}),mi=mi.concat(Fe({key:Vi+\"[0]\",value:ii[0],valueSpec:{zoom:{}},style:jn.style,styleSpec:jn.styleSpec,objectElementValidators:{zoom:wt,value:Or}}))}else mi=mi.concat(Or({key:Vi+\"[0]\",value:ii[0],valueSpec:{},style:jn.style,styleSpec:jn.styleSpec},ii));return bo(Ys(ii[1]))?mi.concat([new Da(Vi+\"[1]\",ii[1],\"expressions are not allowed in function stops.\")]):mi.concat(Fo({key:Vi+\"[1]\",value:ii[1],valueSpec:k,style:jn.style,styleSpec:jn.styleSpec}))}function Or(jn,mi){var ii=jo(jn.value),Vi=Eo(jn.value),Ai=jn.value!==null?jn.value:mi;if(!oe)oe=ii;else if(ii!==oe)return[new Da(jn.key,Ai,ii+\" stop domain type must match previous stop domain type \"+oe)];if(ii!==\"number\"&&ii!==\"string\"&&ii!==\"boolean\")return[new Da(jn.key,Ai,\"stop domain value must be a number, string, or boolean\")];if(ii!==\"number\"&&V!==\"categorical\"){var ji=\"number expected, \"+ii+\" found\";return _l(k)&&V===void 0&&(ji+='\\nIf you intended to use a categorical function, specify `\"type\": \"categorical\"`.'),[new Da(jn.key,Ai,ji)]}return V===\"categorical\"&&ii===\"number\"&&(!isFinite(Vi)||Math.floor(Vi)!==Vi)?[new Da(jn.key,Ai,\"integer expected, found \"+Vi)]:V!==\"categorical\"&&ii===\"number\"&&Pe!==void 0&&Vi=2&&C[1]!==\"$id\"&&C[1]!==\"$type\";case\"in\":return C.length>=3&&(typeof C[1]!=\"string\"||Array.isArray(C[2]));case\"!in\":case\"!has\":case\"none\":return!1;case\"==\":case\"!=\":case\">\":case\">=\":case\"<\":case\"<=\":return C.length!==3||Array.isArray(C[1])||Array.isArray(C[2]);case\"any\":case\"all\":for(var k=0,V=C.slice(1);kk?1:0}function dt(C){if(!Array.isArray(C))return!1;if(C[0]===\"within\")return!0;for(var k=1;k\"||k===\"<=\"||k===\">=\"?xt(C[1],C[2],k):k===\"any\"?It(C.slice(1)):k===\"all\"?[\"all\"].concat(C.slice(1).map(St)):k===\"none\"?[\"all\"].concat(C.slice(1).map(St).map(pr)):k===\"in\"?rr(C[1],C.slice(2)):k===\"!in\"?pr(rr(C[1],C.slice(2))):k===\"has\"?sr(C[1]):k===\"!has\"?pr(sr(C[1])):k===\"within\"?C:!0;return V}function xt(C,k,V){switch(C){case\"$type\":return[\"filter-type-\"+V,k];case\"$id\":return[\"filter-id-\"+V,k];default:return[\"filter-\"+V,C,k]}}function It(C){return[\"any\"].concat(C.map(St))}function rr(C,k){if(k.length===0)return!1;switch(C){case\"$type\":return[\"filter-type-in\",[\"literal\",k]];case\"$id\":return[\"filter-id-in\",[\"literal\",k]];default:return k.length>200&&!k.some(function(V){return typeof V!=typeof k[0]})?[\"filter-in-large\",C,[\"literal\",k.sort(st)]]:[\"filter-in-small\",C,[\"literal\",k]]}}function sr(C){switch(C){case\"$type\":return!0;case\"$id\":return[\"filter-has-id\"];default:return[\"filter-has\",C]}}function pr(C){return[\"!\",C]}function kr(C){return ln(Ys(C.value))?Jt(Xs({},C,{expressionContext:\"filter\",valueSpec:{value:\"boolean\"}})):Yr(C)}function Yr(C){var k=C.value,V=C.key;if(jo(k)!==\"array\")return[new Da(V,k,\"array expected, \"+jo(k)+\" found\")];var oe=C.styleSpec,ge,Pe=[];if(k.length<1)return[new Da(V,k,\"filter array must have at least 1 element\")];switch(Pe=Pe.concat(Hr({key:V+\"[0]\",value:k[0],valueSpec:oe.filter_operator,style:C.style,styleSpec:C.styleSpec})),Eo(k[0])){case\"<\":case\"<=\":case\">\":case\">=\":k.length>=2&&Eo(k[1])===\"$type\"&&Pe.push(new Da(V,k,'\"$type\" cannot be use with operator \"'+k[0]+'\"'));case\"==\":case\"!=\":k.length!==3&&Pe.push(new Da(V,k,'filter array for operator \"'+k[0]+'\" must have 3 elements'));case\"in\":case\"!in\":k.length>=2&&(ge=jo(k[1]),ge!==\"string\"&&Pe.push(new Da(V+\"[1]\",k[1],\"string expected, \"+ge+\" found\")));for(var qe=2;qe=Kt[Or+0]&&oe>=Kt[Or+1])?(qe[Vr]=!0,Pe.push(Ut[Vr])):qe[Vr]=!1}}},fu.prototype._forEachCell=function(C,k,V,oe,ge,Pe,qe,ft){for(var Pt=this._convertToCellCoord(C),Ut=this._convertToCellCoord(k),Kt=this._convertToCellCoord(V),_r=this._convertToCellCoord(oe),Vr=Pt;Vr<=Kt;Vr++)for(var Or=Ut;Or<=_r;Or++){var dn=this.d*Or+Vr;if(!(ft&&!ft(this._convertFromCellCoord(Vr),this._convertFromCellCoord(Or),this._convertFromCellCoord(Vr+1),this._convertFromCellCoord(Or+1)))&&ge.call(this,C,k,V,oe,dn,Pe,qe,ft))return}},fu.prototype._convertFromCellCoord=function(C){return(C-this.padding)/this.scale},fu.prototype._convertToCellCoord=function(C){return Math.max(0,Math.min(this.d-1,Math.floor(C*this.scale)+this.padding))},fu.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var C=this.cells,k=El+this.cells.length+1+1,V=0,oe=0;oe=0)){var _r=C[Kt];Ut[Kt]=Yl[Pt].shallow.indexOf(Kt)>=0?_r:mt(_r,k)}C instanceof Error&&(Ut.message=C.message)}if(Ut.$name)throw new Error(\"$name property is reserved for worker serialization logic.\");return Pt!==\"Object\"&&(Ut.$name=Pt),Ut}throw new Error(\"can't serialize object of type \"+typeof C)}function Tt(C){if(C==null||typeof C==\"boolean\"||typeof C==\"number\"||typeof C==\"string\"||C instanceof Boolean||C instanceof Number||C instanceof String||C instanceof Date||C instanceof RegExp||Qe(C)||vt(C)||ArrayBuffer.isView(C)||C instanceof Tc)return C;if(Array.isArray(C))return C.map(Tt);if(typeof C==\"object\"){var k=C.$name||\"Object\",V=Yl[k],oe=V.klass;if(!oe)throw new Error(\"can't deserialize unregistered class \"+k);if(oe.deserialize)return oe.deserialize(C);for(var ge=Object.create(oe.prototype),Pe=0,qe=Object.keys(C);Pe=0?Pt:Tt(Pt)}}return ge}throw new Error(\"can't deserialize object of type \"+typeof C)}var Qt=function(){this.first=!0};Qt.prototype.update=function(k,V){var oe=Math.floor(k);return this.first?(this.first=!1,this.lastIntegerZoom=oe,this.lastIntegerZoomTime=0,this.lastZoom=k,this.lastFloorZoom=oe,!0):(this.lastFloorZoom>oe?(this.lastIntegerZoom=oe+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&C<=255},Arabic:function(C){return C>=1536&&C<=1791},\"Arabic Supplement\":function(C){return C>=1872&&C<=1919},\"Arabic Extended-A\":function(C){return C>=2208&&C<=2303},\"Hangul Jamo\":function(C){return C>=4352&&C<=4607},\"Unified Canadian Aboriginal Syllabics\":function(C){return C>=5120&&C<=5759},Khmer:function(C){return C>=6016&&C<=6143},\"Unified Canadian Aboriginal Syllabics Extended\":function(C){return C>=6320&&C<=6399},\"General Punctuation\":function(C){return C>=8192&&C<=8303},\"Letterlike Symbols\":function(C){return C>=8448&&C<=8527},\"Number Forms\":function(C){return C>=8528&&C<=8591},\"Miscellaneous Technical\":function(C){return C>=8960&&C<=9215},\"Control Pictures\":function(C){return C>=9216&&C<=9279},\"Optical Character Recognition\":function(C){return C>=9280&&C<=9311},\"Enclosed Alphanumerics\":function(C){return C>=9312&&C<=9471},\"Geometric Shapes\":function(C){return C>=9632&&C<=9727},\"Miscellaneous Symbols\":function(C){return C>=9728&&C<=9983},\"Miscellaneous Symbols and Arrows\":function(C){return C>=11008&&C<=11263},\"CJK Radicals Supplement\":function(C){return C>=11904&&C<=12031},\"Kangxi Radicals\":function(C){return C>=12032&&C<=12255},\"Ideographic Description Characters\":function(C){return C>=12272&&C<=12287},\"CJK Symbols and Punctuation\":function(C){return C>=12288&&C<=12351},Hiragana:function(C){return C>=12352&&C<=12447},Katakana:function(C){return C>=12448&&C<=12543},Bopomofo:function(C){return C>=12544&&C<=12591},\"Hangul Compatibility Jamo\":function(C){return C>=12592&&C<=12687},Kanbun:function(C){return C>=12688&&C<=12703},\"Bopomofo Extended\":function(C){return C>=12704&&C<=12735},\"CJK Strokes\":function(C){return C>=12736&&C<=12783},\"Katakana Phonetic Extensions\":function(C){return C>=12784&&C<=12799},\"Enclosed CJK Letters and Months\":function(C){return C>=12800&&C<=13055},\"CJK Compatibility\":function(C){return C>=13056&&C<=13311},\"CJK Unified Ideographs Extension A\":function(C){return C>=13312&&C<=19903},\"Yijing Hexagram Symbols\":function(C){return C>=19904&&C<=19967},\"CJK Unified Ideographs\":function(C){return C>=19968&&C<=40959},\"Yi Syllables\":function(C){return C>=40960&&C<=42127},\"Yi Radicals\":function(C){return C>=42128&&C<=42191},\"Hangul Jamo Extended-A\":function(C){return C>=43360&&C<=43391},\"Hangul Syllables\":function(C){return C>=44032&&C<=55215},\"Hangul Jamo Extended-B\":function(C){return C>=55216&&C<=55295},\"Private Use Area\":function(C){return C>=57344&&C<=63743},\"CJK Compatibility Ideographs\":function(C){return C>=63744&&C<=64255},\"Arabic Presentation Forms-A\":function(C){return C>=64336&&C<=65023},\"Vertical Forms\":function(C){return C>=65040&&C<=65055},\"CJK Compatibility Forms\":function(C){return C>=65072&&C<=65103},\"Small Form Variants\":function(C){return C>=65104&&C<=65135},\"Arabic Presentation Forms-B\":function(C){return C>=65136&&C<=65279},\"Halfwidth and Fullwidth Forms\":function(C){return C>=65280&&C<=65519}};function lr(C){for(var k=0,V=C;k=65097&&C<=65103)||Dt[\"CJK Compatibility Ideographs\"](C)||Dt[\"CJK Compatibility\"](C)||Dt[\"CJK Radicals Supplement\"](C)||Dt[\"CJK Strokes\"](C)||Dt[\"CJK Symbols and Punctuation\"](C)&&!(C>=12296&&C<=12305)&&!(C>=12308&&C<=12319)&&C!==12336||Dt[\"CJK Unified Ideographs Extension A\"](C)||Dt[\"CJK Unified Ideographs\"](C)||Dt[\"Enclosed CJK Letters and Months\"](C)||Dt[\"Hangul Compatibility Jamo\"](C)||Dt[\"Hangul Jamo Extended-A\"](C)||Dt[\"Hangul Jamo Extended-B\"](C)||Dt[\"Hangul Jamo\"](C)||Dt[\"Hangul Syllables\"](C)||Dt.Hiragana(C)||Dt[\"Ideographic Description Characters\"](C)||Dt.Kanbun(C)||Dt[\"Kangxi Radicals\"](C)||Dt[\"Katakana Phonetic Extensions\"](C)||Dt.Katakana(C)&&C!==12540||Dt[\"Halfwidth and Fullwidth Forms\"](C)&&C!==65288&&C!==65289&&C!==65293&&!(C>=65306&&C<=65310)&&C!==65339&&C!==65341&&C!==65343&&!(C>=65371&&C<=65503)&&C!==65507&&!(C>=65512&&C<=65519)||Dt[\"Small Form Variants\"](C)&&!(C>=65112&&C<=65118)&&!(C>=65123&&C<=65126)||Dt[\"Unified Canadian Aboriginal Syllabics\"](C)||Dt[\"Unified Canadian Aboriginal Syllabics Extended\"](C)||Dt[\"Vertical Forms\"](C)||Dt[\"Yijing Hexagram Symbols\"](C)||Dt[\"Yi Syllables\"](C)||Dt[\"Yi Radicals\"](C))}function ti(C){return!!(Dt[\"Latin-1 Supplement\"](C)&&(C===167||C===169||C===174||C===177||C===188||C===189||C===190||C===215||C===247)||Dt[\"General Punctuation\"](C)&&(C===8214||C===8224||C===8225||C===8240||C===8241||C===8251||C===8252||C===8258||C===8263||C===8264||C===8265||C===8273)||Dt[\"Letterlike Symbols\"](C)||Dt[\"Number Forms\"](C)||Dt[\"Miscellaneous Technical\"](C)&&(C>=8960&&C<=8967||C>=8972&&C<=8991||C>=8996&&C<=9e3||C===9003||C>=9085&&C<=9114||C>=9150&&C<=9165||C===9167||C>=9169&&C<=9179||C>=9186&&C<=9215)||Dt[\"Control Pictures\"](C)&&C!==9251||Dt[\"Optical Character Recognition\"](C)||Dt[\"Enclosed Alphanumerics\"](C)||Dt[\"Geometric Shapes\"](C)||Dt[\"Miscellaneous Symbols\"](C)&&!(C>=9754&&C<=9759)||Dt[\"Miscellaneous Symbols and Arrows\"](C)&&(C>=11026&&C<=11055||C>=11088&&C<=11097||C>=11192&&C<=11243)||Dt[\"CJK Symbols and Punctuation\"](C)||Dt.Katakana(C)||Dt[\"Private Use Area\"](C)||Dt[\"CJK Compatibility Forms\"](C)||Dt[\"Small Form Variants\"](C)||Dt[\"Halfwidth and Fullwidth Forms\"](C)||C===8734||C===8756||C===8757||C>=9984&&C<=10087||C>=10102&&C<=10131||C===65532||C===65533)}function ai(C){return!(yn(C)||ti(C))}function En(C){return Dt.Arabic(C)||Dt[\"Arabic Supplement\"](C)||Dt[\"Arabic Extended-A\"](C)||Dt[\"Arabic Presentation Forms-A\"](C)||Dt[\"Arabic Presentation Forms-B\"](C)}function qn(C){return C>=1424&&C<=2303||Dt[\"Arabic Presentation Forms-A\"](C)||Dt[\"Arabic Presentation Forms-B\"](C)}function Jn(C,k){return!(!k&&qn(C)||C>=2304&&C<=3583||C>=3840&&C<=4255||Dt.Khmer(C))}function ci(C){for(var k=0,V=C;k-1&&(oa=Hn.error),ta&&ta(C)};function io(){oo.fire(new Lr(\"pluginStateChange\",{pluginStatus:oa,pluginURL:_a}))}var oo=new Dr,Qo=function(){return oa},uo=function(C){return C({pluginStatus:oa,pluginURL:_a}),oo.on(\"pluginStateChange\",C),C},Jo=function(C,k,V){if(V===void 0&&(V=!1),oa===Hn.deferred||oa===Hn.loading||oa===Hn.loaded)throw new Error(\"setRTLTextPlugin cannot be called multiple times.\");_a=xe.resolveURL(C),oa=Hn.deferred,ta=k,io(),V||ol()},ol=function(){if(oa!==Hn.deferred||!_a)throw new Error(\"rtl-text-plugin cannot be downloaded unless a pluginURL is specified\");oa=Hn.loading,io(),_a&&xn({url:_a},function(C){C?La(C):(oa=Hn.loaded,io())})},tl={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return oa===Hn.loaded||tl.applyArabicShaping!=null},isLoading:function(){return oa===Hn.loading},setState:function(k){oa=k.pluginStatus,_a=k.pluginURL},isParsed:function(){return tl.applyArabicShaping!=null&&tl.processBidirectionalText!=null&&tl.processStyledBidirectionalText!=null},getPluginURL:function(){return _a}},ml=function(){!tl.isLoading()&&!tl.isLoaded()&&Qo()===\"deferred\"&&ol()},ua=function(k,V){this.zoom=k,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Qt,this.transition={})};ua.prototype.isSupportedScript=function(k){return oi(k,tl.isLoaded())},ua.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ua.prototype.getCrossfadeParameters=function(){var k=this.zoom,V=k-Math.floor(k),oe=this.crossFadingFactor();return k>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*oe}:{fromScale:.5,toScale:1,t:1-(1-oe)*V}};var wo=function(k,V){this.property=k,this.value=V,this.expression=R(V===void 0?k.specification.default:V,k.specification)};wo.prototype.isDataDriven=function(){return this.expression.kind===\"source\"||this.expression.kind===\"composite\"},wo.prototype.possiblyEvaluate=function(k,V,oe){return this.property.possiblyEvaluate(this,k,V,oe)};var ys=function(k){this.property=k,this.value=new wo(k,void 0)};ys.prototype.transitioned=function(k,V){return new xl(this.property,this.value,V,m({},k.transition,this.transition),k.now)},ys.prototype.untransitioned=function(){return new xl(this.property,this.value,null,{},0)};var Ms=function(k){this._properties=k,this._values=Object.create(k.defaultTransitionablePropertyValues)};Ms.prototype.getValue=function(k){return O(this._values[k].value.value)},Ms.prototype.setValue=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].value=new wo(this._values[k].property,V===null?void 0:O(V))},Ms.prototype.getTransition=function(k){return O(this._values[k].transition)},Ms.prototype.setTransition=function(k,V){this._values.hasOwnProperty(k)||(this._values[k]=new ys(this._values[k].property)),this._values[k].transition=O(V)||void 0},Ms.prototype.serialize=function(){for(var k={},V=0,oe=Object.keys(this._values);Vthis.end)return this.prior=null,Pe;if(this.value.isDataDriven())return this.prior=null,Pe;if(geqe.zoomHistory.lastIntegerZoom?{from:oe,to:ge}:{from:Pe,to:ge}},k.prototype.interpolate=function(oe){return oe},k}(cn),xi=function(k){this.specification=k};xi.prototype.possiblyEvaluate=function(k,V,oe,ge){if(k.value!==void 0)if(k.expression.kind===\"constant\"){var Pe=k.expression.evaluate(V,null,{},oe,ge);return this._calculate(Pe,Pe,Pe,V)}else return this._calculate(k.expression.evaluate(new ua(Math.floor(V.zoom-1),V)),k.expression.evaluate(new ua(Math.floor(V.zoom),V)),k.expression.evaluate(new ua(Math.floor(V.zoom+1),V)),V)},xi.prototype._calculate=function(k,V,oe,ge){var Pe=ge.zoom;return Pe>ge.zoomHistory.lastIntegerZoom?{from:k,to:V}:{from:oe,to:V}},xi.prototype.interpolate=function(k){return k};var Ni=function(k){this.specification=k};Ni.prototype.possiblyEvaluate=function(k,V,oe,ge){return!!k.expression.evaluate(V,null,{},oe,ge)},Ni.prototype.interpolate=function(){return!1};var Fi=function(k){this.properties=k,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var V in k){var oe=k[V];oe.specification.overridable&&this.overridableProperties.push(V);var ge=this.defaultPropertyValues[V]=new wo(oe,void 0),Pe=this.defaultTransitionablePropertyValues[V]=new ys(oe);this.defaultTransitioningPropertyValues[V]=Pe.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=ge.possiblyEvaluate({})}};de(\"DataDrivenProperty\",cn),de(\"DataConstantProperty\",tr),de(\"CrossFadedDataDrivenProperty\",Ln),de(\"CrossFadedProperty\",xi),de(\"ColorRampProperty\",Ni);var Oi=\"-transition\",na=function(C){function k(V,oe){if(C.call(this),this.id=V.id,this.type=V.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},V.type!==\"custom\"&&(V=V,this.metadata=V.metadata,this.minzoom=V.minzoom,this.maxzoom=V.maxzoom,V.type!==\"background\"&&(this.source=V.source,this.sourceLayer=V[\"source-layer\"],this.filter=V.filter),oe.layout&&(this._unevaluatedLayout=new gu(oe.layout)),oe.paint)){this._transitionablePaint=new Ms(oe.paint);for(var ge in V.paint)this.setPaintProperty(ge,V.paint[ge],{validate:!1});for(var Pe in V.layout)this.setLayoutProperty(Pe,V.layout[Pe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new vc(oe.paint)}}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},k.prototype.getLayoutProperty=function(oe){return oe===\"visibility\"?this.visibility:this._unevaluatedLayout.getValue(oe)},k.prototype.setLayoutProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe=\"layers.\"+this.id+\".layout.\"+oe;if(this._validate(eu,qe,oe,ge,Pe))return}if(oe===\"visibility\"){this.visibility=ge;return}this._unevaluatedLayout.setValue(oe,ge)},k.prototype.getPaintProperty=function(oe){return z(oe,Oi)?this._transitionablePaint.getTransition(oe.slice(0,-Oi.length)):this._transitionablePaint.getValue(oe)},k.prototype.setPaintProperty=function(oe,ge,Pe){if(Pe===void 0&&(Pe={}),ge!=null){var qe=\"layers.\"+this.id+\".paint.\"+oe;if(this._validate(Nl,qe,oe,ge,Pe))return!1}if(z(oe,Oi))return this._transitionablePaint.setTransition(oe.slice(0,-Oi.length),ge||void 0),!1;var ft=this._transitionablePaint._values[oe],Pt=ft.property.specification[\"property-type\"]===\"cross-faded-data-driven\",Ut=ft.value.isDataDriven(),Kt=ft.value;this._transitionablePaint.setValue(oe,ge),this._handleSpecialPaintPropertyUpdate(oe);var _r=this._transitionablePaint._values[oe].value,Vr=_r.isDataDriven();return Vr||Ut||Pt||this._handleOverridablePaintPropertyUpdate(oe,Kt,_r)},k.prototype._handleSpecialPaintPropertyUpdate=function(oe){},k.prototype._handleOverridablePaintPropertyUpdate=function(oe,ge,Pe){return!1},k.prototype.isHidden=function(oe){return this.minzoom&&oe=this.maxzoom?!0:this.visibility===\"none\"},k.prototype.updateTransitions=function(oe){this._transitioningPaint=this._transitionablePaint.transitioned(oe,this._transitioningPaint)},k.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},k.prototype.recalculate=function(oe,ge){oe.getCrossfadeParameters&&(this._crossfadeParameters=oe.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(oe,void 0,ge)),this.paint=this._transitioningPaint.possiblyEvaluate(oe,void 0,ge)},k.prototype.serialize=function(){var oe={id:this.id,type:this.type,source:this.source,\"source-layer\":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(oe.layout=oe.layout||{},oe.layout.visibility=this.visibility),B(oe,function(ge,Pe){return ge!==void 0&&!(Pe===\"layout\"&&!Object.keys(ge).length)&&!(Pe===\"paint\"&&!Object.keys(ge).length)})},k.prototype._validate=function(oe,ge,Pe,qe,ft){return ft===void 0&&(ft={}),ft&&ft.validate===!1?!1:Xu(this,oe.call(os,{key:ge,layerType:this.type,objectKey:Pe,value:qe,styleSpec:Mi,style:{glyphs:!0,sprite:!0}}))},k.prototype.is3D=function(){return!1},k.prototype.isTileClipped=function(){return!1},k.prototype.hasOffscreenPass=function(){return!1},k.prototype.resize=function(){},k.prototype.isStateDependent=function(){for(var oe in this.paint._values){var ge=this.paint.get(oe);if(!(!(ge instanceof Fl)||!_l(ge.property.specification))&&(ge.value.kind===\"source\"||ge.value.kind===\"composite\")&&ge.value.isStateDependent)return!0}return!1},k}(Dr),Ca={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ka=function(k,V){this._structArray=k,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ha=128,Xo=5,Aa=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};Aa.serialize=function(k,V){return k._trim(),V&&(k.isTransferred=!0,V.push(k.arrayBuffer)),{length:k.length,arrayBuffer:k.arrayBuffer}},Aa.deserialize=function(k){var V=Object.create(this.prototype);return V.arrayBuffer=k.arrayBuffer,V.length=k.length,V.capacity=k.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Aa.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Aa.prototype.clear=function(){this.length=0},Aa.prototype.resize=function(k){this.reserve(k),this.length=k},Aa.prototype.reserve=function(k){if(k>this.capacity){this.capacity=Math.max(k,Math.floor(this.capacity*Xo),ha),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Aa.prototype._refreshViews=function(){throw new Error(\"_refreshViews() must be implemented by each concrete StructArray layout\")};function Ma(C,k){k===void 0&&(k=1);var V=0,oe=0,ge=C.map(function(qe){var ft=ia(qe.type),Pt=V=wi(V,Math.max(k,ft)),Ut=qe.components||1;return oe=Math.max(oe,ft),V+=ft*Ut,{name:qe.name,type:qe.type,components:Ut,offset:Pt}}),Pe=wi(V,Math.max(oe,k));return{members:ge,size:Pe,alignment:k}}function ia(C){return Ca[C].BYTES_PER_ELEMENT}function wi(C,k){return Math.ceil(C/k)*k}var qi=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.int16[qe+0]=ge,this.int16[qe+1]=Pe,oe},k}(Aa);qi.prototype.bytesPerElement=4,de(\"StructArrayLayout2i4\",qi);var ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.int16[Pt+0]=ge,this.int16[Pt+1]=Pe,this.int16[Pt+2]=qe,this.int16[Pt+3]=ft,oe},k}(Aa);ba.prototype.bytesPerElement=8,de(\"StructArrayLayout4i8\",ba);var Pa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Pa.prototype.bytesPerElement=12,de(\"StructArrayLayout2i4i12\",Pa);var ca=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*4,_r=oe*8;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.uint8[_r+4]=qe,this.uint8[_r+5]=ft,this.uint8[_r+6]=Pt,this.uint8[_r+7]=Ut,oe},k}(Aa);ca.prototype.bytesPerElement=8,de(\"StructArrayLayout2i4ub8\",ca);var $a=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.float32[qe+0]=ge,this.float32[qe+1]=Pe,oe},k}(Aa);$a.prototype.bytesPerElement=8,de(\"StructArrayLayout2f8\",$a);var Ba=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=this.length;return this.resize(Or+1),this.emplace(Or,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or){var dn=oe*10;return this.uint16[dn+0]=ge,this.uint16[dn+1]=Pe,this.uint16[dn+2]=qe,this.uint16[dn+3]=ft,this.uint16[dn+4]=Pt,this.uint16[dn+5]=Ut,this.uint16[dn+6]=Kt,this.uint16[dn+7]=_r,this.uint16[dn+8]=Vr,this.uint16[dn+9]=Or,oe},k}(Aa);Ba.prototype.bytesPerElement=20,de(\"StructArrayLayout10ui20\",Ba);var Oo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn){var jn=this.length;return this.resize(jn+1),this.emplace(jn,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn){var mi=oe*12;return this.int16[mi+0]=ge,this.int16[mi+1]=Pe,this.int16[mi+2]=qe,this.int16[mi+3]=ft,this.uint16[mi+4]=Pt,this.uint16[mi+5]=Ut,this.uint16[mi+6]=Kt,this.uint16[mi+7]=_r,this.int16[mi+8]=Vr,this.int16[mi+9]=Or,this.int16[mi+10]=dn,this.int16[mi+11]=jn,oe},k}(Aa);Oo.prototype.bytesPerElement=24,de(\"StructArrayLayout4i4ui4i24\",Oo);var va=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.float32[ft+0]=ge,this.float32[ft+1]=Pe,this.float32[ft+2]=qe,oe},k}(Aa);va.prototype.bytesPerElement=12,de(\"StructArrayLayout3f12\",va);var sa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint32[Pe+0]=ge,oe},k}(Aa);sa.prototype.bytesPerElement=4,de(\"StructArrayLayout1ul4\",sa);var fo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r){var Vr=this.length;return this.resize(Vr+1),this.emplace(Vr,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr){var Or=oe*10,dn=oe*5;return this.int16[Or+0]=ge,this.int16[Or+1]=Pe,this.int16[Or+2]=qe,this.int16[Or+3]=ft,this.int16[Or+4]=Pt,this.int16[Or+5]=Ut,this.uint32[dn+3]=Kt,this.uint16[Or+8]=_r,this.uint16[Or+9]=Vr,oe},k}(Aa);fo.prototype.bytesPerElement=20,de(\"StructArrayLayout6i1ul2ui20\",fo);var Ja=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt){var Ut=this.length;return this.resize(Ut+1),this.emplace(Ut,oe,ge,Pe,qe,ft,Pt)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=oe*6;return this.int16[Kt+0]=ge,this.int16[Kt+1]=Pe,this.int16[Kt+2]=qe,this.int16[Kt+3]=ft,this.int16[Kt+4]=Pt,this.int16[Kt+5]=Ut,oe},k}(Aa);Ja.prototype.bytesPerElement=12,de(\"StructArrayLayout2i2i2i12\",Ja);var Fa=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft){var Pt=this.length;return this.resize(Pt+1),this.emplace(Pt,oe,ge,Pe,qe,ft)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt){var Ut=oe*4,Kt=oe*8;return this.float32[Ut+0]=ge,this.float32[Ut+1]=Pe,this.float32[Ut+2]=qe,this.int16[Kt+6]=ft,this.int16[Kt+7]=Pt,oe},k}(Aa);Fa.prototype.bytesPerElement=16,de(\"StructArrayLayout2f1f2i16\",Fa);var Ia=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*12,Ut=oe*3;return this.uint8[Pt+0]=ge,this.uint8[Pt+1]=Pe,this.float32[Ut+1]=qe,this.float32[Ut+2]=ft,oe},k}(Aa);Ia.prototype.bytesPerElement=12,de(\"StructArrayLayout2ub2f12\",Ia);var ao=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.uint16[ft+0]=ge,this.uint16[ft+1]=Pe,this.uint16[ft+2]=qe,oe},k}(Aa);ao.prototype.bytesPerElement=6,de(\"StructArrayLayout3ui6\",ao);var Zo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai){var ji=this.length;return this.resize(ji+1),this.emplace(ji,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji){var Yi=oe*24,ga=oe*12,Ga=oe*48;return this.int16[Yi+0]=ge,this.int16[Yi+1]=Pe,this.uint16[Yi+2]=qe,this.uint16[Yi+3]=ft,this.uint32[ga+2]=Pt,this.uint32[ga+3]=Ut,this.uint32[ga+4]=Kt,this.uint16[Yi+10]=_r,this.uint16[Yi+11]=Vr,this.uint16[Yi+12]=Or,this.float32[ga+7]=dn,this.float32[ga+8]=jn,this.uint8[Ga+36]=mi,this.uint8[Ga+37]=ii,this.uint8[Ga+38]=Vi,this.uint32[ga+10]=Ai,this.int16[Yi+22]=ji,oe},k}(Aa);Zo.prototype.bytesPerElement=48,de(\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\",Zo);var ps=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do){var Gs=this.length;return this.resize(Gs+1),this.emplace(Gs,oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do)},k.prototype.emplace=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt,_r,Vr,Or,dn,jn,mi,ii,Vi,Ai,ji,Yi,ga,Ga,Ua,Co,so,xo,Ss,ko,Do,Gs){var Ts=oe*34,kl=oe*17;return this.int16[Ts+0]=ge,this.int16[Ts+1]=Pe,this.int16[Ts+2]=qe,this.int16[Ts+3]=ft,this.int16[Ts+4]=Pt,this.int16[Ts+5]=Ut,this.int16[Ts+6]=Kt,this.int16[Ts+7]=_r,this.uint16[Ts+8]=Vr,this.uint16[Ts+9]=Or,this.uint16[Ts+10]=dn,this.uint16[Ts+11]=jn,this.uint16[Ts+12]=mi,this.uint16[Ts+13]=ii,this.uint16[Ts+14]=Vi,this.uint16[Ts+15]=Ai,this.uint16[Ts+16]=ji,this.uint16[Ts+17]=Yi,this.uint16[Ts+18]=ga,this.uint16[Ts+19]=Ga,this.uint16[Ts+20]=Ua,this.uint16[Ts+21]=Co,this.uint16[Ts+22]=so,this.uint32[kl+12]=xo,this.float32[kl+13]=Ss,this.float32[kl+14]=ko,this.float32[kl+15]=Do,this.float32[kl+16]=Gs,oe},k}(Aa);ps.prototype.bytesPerElement=68,de(\"StructArrayLayout8i15ui1ul4f68\",ps);var Na=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.float32[Pe+0]=ge,oe},k}(Aa);Na.prototype.bytesPerElement=4,de(\"StructArrayLayout1f4\",Na);var Mo=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*3;return this.int16[ft+0]=ge,this.int16[ft+1]=Pe,this.int16[ft+2]=qe,oe},k}(Aa);Mo.prototype.bytesPerElement=6,de(\"StructArrayLayout3i6\",Mo);var ss=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe){var qe=this.length;return this.resize(qe+1),this.emplace(qe,oe,ge,Pe)},k.prototype.emplace=function(oe,ge,Pe,qe){var ft=oe*2,Pt=oe*4;return this.uint32[ft+0]=ge,this.uint16[Pt+2]=Pe,this.uint16[Pt+3]=qe,oe},k}(Aa);ss.prototype.bytesPerElement=8,de(\"StructArrayLayout1ul2ui8\",ss);var _s=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,oe,ge)},k.prototype.emplace=function(oe,ge,Pe){var qe=oe*2;return this.uint16[qe+0]=ge,this.uint16[qe+1]=Pe,oe},k}(Aa);_s.prototype.bytesPerElement=4,de(\"StructArrayLayout2ui4\",_s);var Fs=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe){var ge=this.length;return this.resize(ge+1),this.emplace(ge,oe)},k.prototype.emplace=function(oe,ge){var Pe=oe*1;return this.uint16[Pe+0]=ge,oe},k}(Aa);Fs.prototype.bytesPerElement=2,de(\"StructArrayLayout1ui2\",Fs);var iu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},k.prototype.emplaceBack=function(oe,ge,Pe,qe){var ft=this.length;return this.resize(ft+1),this.emplace(ft,oe,ge,Pe,qe)},k.prototype.emplace=function(oe,ge,Pe,qe,ft){var Pt=oe*4;return this.float32[Pt+0]=ge,this.float32[Pt+1]=Pe,this.float32[Pt+2]=qe,this.float32[Pt+3]=ft,oe},k}(Aa);iu.prototype.bytesPerElement=16,de(\"StructArrayLayout4f16\",iu);var Oc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return V.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},V.x1.get=function(){return this._structArray.int16[this._pos2+2]},V.y1.get=function(){return this._structArray.int16[this._pos2+3]},V.x2.get=function(){return this._structArray.int16[this._pos2+4]},V.y2.get=function(){return this._structArray.int16[this._pos2+5]},V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(k.prototype,V),k}(ka);Oc.prototype.size=20;var rl=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Oc(this,oe)},k}(fo);de(\"CollisionBoxArray\",rl);var Bc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},V.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},V.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},V.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},V.segment.get=function(){return this._structArray.uint16[this._pos2+10]},V.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},V.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},V.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},V.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},V.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},V.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},V.placedOrientation.set=function(oe){this._structArray.uint8[this._pos1+37]=oe},V.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},V.hidden.set=function(oe){this._structArray.uint8[this._pos1+38]=oe},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+10]=oe},V.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(k.prototype,V),k}(ka);Bc.prototype.size=48;var ql=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Bc(this,oe)},k}(Zo);de(\"PlacedSymbolArray\",ql);var pc=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return V.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},V.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},V.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},V.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},V.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},V.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},V.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},V.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},V.key.get=function(){return this._structArray.uint16[this._pos2+8]},V.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},V.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},V.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},V.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},V.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},V.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},V.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},V.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},V.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},V.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},V.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},V.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},V.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},V.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},V.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},V.crossTileID.set=function(oe){this._structArray.uint32[this._pos4+12]=oe},V.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},V.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},V.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},V.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(k.prototype,V),k}(ka);pc.prototype.size=68;var mc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new pc(this,oe)},k}(ps);de(\"SymbolInstanceArray\",mc);var Jc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getoffsetX=function(oe){return this.float32[oe*1+0]},k}(Na);de(\"GlyphOffsetArray\",Jc);var tu=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.getx=function(oe){return this.int16[oe*3+0]},k.prototype.gety=function(oe){return this.int16[oe*3+1]},k.prototype.gettileUnitDistanceFromAnchor=function(oe){return this.int16[oe*3+2]},k}(Mo);de(\"SymbolLineVertexArray\",tu);var Ac=function(C){function k(){C.apply(this,arguments)}C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k;var V={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return V.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},V.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},V.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(k.prototype,V),k}(ka);Ac.prototype.size=8;var Nc=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.get=function(oe){return new Ac(this,oe)},k}(ss);de(\"FeatureIndexArray\",Nc);var Hs=Ma([{name:\"a_pos\",components:2,type:\"Int16\"}],4),$c=Hs.members,Us=function(k){k===void 0&&(k=[]),this.segments=k};Us.prototype.prepareSegment=function(k,V,oe,ge){var Pe=this.segments[this.segments.length-1];return k>Us.MAX_VERTEX_ARRAY_LENGTH&&U(\"Max vertices per segment is \"+Us.MAX_VERTEX_ARRAY_LENGTH+\": bucket requested \"+k),(!Pe||Pe.vertexLength+k>Us.MAX_VERTEX_ARRAY_LENGTH||Pe.sortKey!==ge)&&(Pe={vertexOffset:V.length,primitiveOffset:oe.length,vertexLength:0,primitiveLength:0},ge!==void 0&&(Pe.sortKey=ge),this.segments.push(Pe)),Pe},Us.prototype.get=function(){return this.segments},Us.prototype.destroy=function(){for(var k=0,V=this.segments;k>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt,qe=qe<<13|qe>>>19,ft=(qe&65535)*5+(((qe>>>16)*5&65535)<<16)&4294967295,qe=(ft&65535)+27492+(((ft>>>16)+58964&65535)<<16);switch(Kt=0,ge){case 3:Kt^=(V.charCodeAt(_r+2)&255)<<16;case 2:Kt^=(V.charCodeAt(_r+1)&255)<<8;case 1:Kt^=V.charCodeAt(_r)&255,Kt=(Kt&65535)*Pt+(((Kt>>>16)*Pt&65535)<<16)&4294967295,Kt=Kt<<15|Kt>>>17,Kt=(Kt&65535)*Ut+(((Kt>>>16)*Ut&65535)<<16)&4294967295,qe^=Kt}return qe^=V.length,qe^=qe>>>16,qe=(qe&65535)*2246822507+(((qe>>>16)*2246822507&65535)<<16)&4294967295,qe^=qe>>>13,qe=(qe&65535)*3266489909+(((qe>>>16)*3266489909&65535)<<16)&4294967295,qe^=qe>>>16,qe>>>0}C.exports=k}),te=t(function(C){function k(V,oe){for(var ge=V.length,Pe=oe^ge,qe=0,ft;ge>=4;)ft=V.charCodeAt(qe)&255|(V.charCodeAt(++qe)&255)<<8|(V.charCodeAt(++qe)&255)<<16|(V.charCodeAt(++qe)&255)<<24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),ft^=ft>>>24,ft=(ft&65535)*1540483477+(((ft>>>16)*1540483477&65535)<<16),Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)^ft,ge-=4,++qe;switch(ge){case 3:Pe^=(V.charCodeAt(qe+2)&255)<<16;case 2:Pe^=(V.charCodeAt(qe+1)&255)<<8;case 1:Pe^=V.charCodeAt(qe)&255,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)}return Pe^=Pe>>>13,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16),Pe^=Pe>>>15,Pe>>>0}C.exports=k}),ye=me,Ze=me,We=te;ye.murmur3=Ze,ye.murmur2=We;var lt=function(){this.ids=[],this.positions=[],this.indexed=!1};lt.prototype.add=function(k,V,oe,ge){this.ids.push(Wt(k)),this.positions.push(V,oe,ge)},lt.prototype.getPositions=function(k){for(var V=Wt(k),oe=0,ge=this.ids.length-1;oe>1;this.ids[Pe]>=V?ge=Pe:oe=Pe+1}for(var qe=[];this.ids[oe]===V;){var ft=this.positions[3*oe],Pt=this.positions[3*oe+1],Ut=this.positions[3*oe+2];qe.push({index:ft,start:Pt,end:Ut}),oe++}return qe},lt.serialize=function(k,V){var oe=new Float64Array(k.ids),ge=new Uint32Array(k.positions);return xr(oe,ge,0,oe.length-1),V&&V.push(oe.buffer,ge.buffer),{ids:oe,positions:ge}},lt.deserialize=function(k){var V=new lt;return V.ids=k.ids,V.positions=k.positions,V.indexed=!0,V};var Ct=Math.pow(2,53)-1;function Wt(C){var k=+C;return!isNaN(k)&&k<=Ct?k:ye(String(C))}function xr(C,k,V,oe){for(;V>1],Pe=V-1,qe=oe+1;;){do Pe++;while(C[Pe]ge);if(Pe>=qe)break;Fr(C,Pe,qe),Fr(k,3*Pe,3*qe),Fr(k,3*Pe+1,3*qe+1),Fr(k,3*Pe+2,3*qe+2)}qe-Vqe.x+1||Ptqe.y+1)&&U(\"Geometry exceeds allowed extent, reduce your vector tile buffer size\")}return V}function Cs(C,k){return{type:C.type,id:C.id,properties:C.properties,geometry:k?Qa(C):[]}}function ws(C,k,V,oe,ge){C.emplaceBack(k*2+(oe+1)/2,V*2+(ge+1)/2)}var $s=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new qi,this.indexArray=new ao,this.segments=new Us,this.programConfigurations=new Pi(k.layers,k.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};$s.prototype.populate=function(k,V,oe){var ge=this.layers[0],Pe=[],qe=null;ge.type===\"circle\"&&(qe=ge.layout.get(\"circle-sort-key\"));for(var ft=0,Pt=k;ft=$i||Vr<0||Vr>=$i)){var Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,k.sortKey),dn=Or.vertexLength;ws(this.layoutVertexArray,_r,Vr,-1,-1),ws(this.layoutVertexArray,_r,Vr,1,-1),ws(this.layoutVertexArray,_r,Vr,1,1),ws(this.layoutVertexArray,_r,Vr,-1,1),this.indexArray.emplaceBack(dn,dn+1,dn+2),this.indexArray.emplaceBack(dn,dn+3,dn+2),Or.vertexLength+=4,Or.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,k,oe,{},ge)},de(\"CircleBucket\",$s,{omit:[\"layers\"]});function rs(C,k){for(var V=0;V=3){for(var Pe=0;Pe1){if(Jh(C,k))return!0;for(var oe=0;oe1?C.distSqr(V):C.distSqr(V.sub(k)._mult(ge)._add(k))}function _d(C,k){for(var V=!1,oe,ge,Pe,qe=0;qek.y!=Pe.y>k.y&&k.x<(Pe.x-ge.x)*(k.y-ge.y)/(Pe.y-ge.y)+ge.x&&(V=!V)}return V}function hh(C,k){for(var V=!1,oe=0,ge=C.length-1;oek.y!=qe.y>k.y&&k.x<(qe.x-Pe.x)*(k.y-Pe.y)/(qe.y-Pe.y)+Pe.x&&(V=!V)}return V}function xd(C,k,V,oe,ge){for(var Pe=0,qe=C;Pe=ft.x&&ge>=ft.y)return!0}var Pt=[new i(k,V),new i(k,ge),new i(oe,ge),new i(oe,V)];if(C.length>2)for(var Ut=0,Kt=Pt;Utge.x&&k.x>ge.x||C.yge.y&&k.y>ge.y)return!1;var Pe=W(C,k,V[0]);return Pe!==W(C,k,V[1])||Pe!==W(C,k,V[2])||Pe!==W(C,k,V[3])}function dh(C,k,V){var oe=k.paint.get(C).value;return oe.kind===\"constant\"?oe.value:V.programConfigurations.get(k.id).getMaxValue(C)}function $h(C){return Math.sqrt(C[0]*C[0]+C[1]*C[1])}function ld(C,k,V,oe,ge){if(!k[0]&&!k[1])return C;var Pe=i.convert(k)._mult(ge);V===\"viewport\"&&Pe._rotate(-oe);for(var qe=[],ft=0;ft0&&(Pe=1/Math.sqrt(Pe)),C[0]=k[0]*Pe,C[1]=k[1]*Pe,C[2]=k[2]*Pe,C}function Pb(C,k){return C[0]*k[0]+C[1]*k[1]+C[2]*k[2]}function Ib(C,k,V){var oe=k[0],ge=k[1],Pe=k[2],qe=V[0],ft=V[1],Pt=V[2];return C[0]=ge*Pt-Pe*ft,C[1]=Pe*qe-oe*Pt,C[2]=oe*ft-ge*qe,C}function Rb(C,k,V){var oe=k[0],ge=k[1],Pe=k[2];return C[0]=oe*V[0]+ge*V[3]+Pe*V[6],C[1]=oe*V[1]+ge*V[4]+Pe*V[7],C[2]=oe*V[2]+ge*V[5]+Pe*V[8],C}var Db=bv,JM=function(){var C=xv();return function(k,V,oe,ge,Pe,qe){var ft,Pt;for(V||(V=3),oe||(oe=0),ge?Pt=Math.min(ge*V+oe,k.length):Pt=k.length,ft=oe;ftC.width||ge.height>C.height||V.x>C.width-ge.width||V.y>C.height-ge.height)throw new RangeError(\"out of range source coordinates for image copy\");if(ge.width>k.width||ge.height>k.height||oe.x>k.width-ge.width||oe.y>k.height-ge.height)throw new RangeError(\"out of range destination coordinates for image copy\");for(var qe=C.data,ft=k.data,Pt=0;Pt80*V){ft=Ut=C[0],Pt=Kt=C[1];for(var dn=V;dnUt&&(Ut=_r),Vr>Kt&&(Kt=Vr);Or=Math.max(Ut-ft,Kt-Pt),Or=Or!==0?1/Or:0}return sm(Pe,qe,V,ft,Pt,Or),qe}function lg(C,k,V,oe,ge){var Pe,qe;if(ge===Ey(C,k,V,oe)>0)for(Pe=k;Pe=k;Pe-=oe)qe=h1(Pe,C[Pe],C[Pe+1],qe);return qe&&um(qe,qe.next)&&(hm(qe),qe=qe.next),qe}function wv(C,k){if(!C)return C;k||(k=C);var V=C,oe;do if(oe=!1,!V.steiner&&(um(V,V.next)||Uc(V.prev,V,V.next)===0)){if(hm(V),V=k=V.prev,V===V.next)break;oe=!0}else V=V.next;while(oe||V!==k);return k}function sm(C,k,V,oe,ge,Pe,qe){if(C){!qe&&Pe&&ug(C,oe,ge,Pe);for(var ft=C,Pt,Ut;C.prev!==C.next;){if(Pt=C.prev,Ut=C.next,Pe?u1(C,oe,ge,Pe):l1(C)){k.push(Pt.i/V),k.push(C.i/V),k.push(Ut.i/V),hm(C),C=Ut.next,ft=Ut.next;continue}if(C=Ut,C===ft){qe?qe===1?(C=lm(wv(C),k,V),sm(C,k,V,oe,ge,Pe,2)):qe===2&&Bd(C,k,V,oe,ge,Pe):sm(wv(C),k,V,oe,ge,Pe,1);break}}}}function l1(C){var k=C.prev,V=C,oe=C.next;if(Uc(k,V,oe)>=0)return!1;for(var ge=C.next.next;ge!==C.prev;){if(Av(k.x,k.y,V.x,V.y,oe.x,oe.y,ge.x,ge.y)&&Uc(ge.prev,ge,ge.next)>=0)return!1;ge=ge.next}return!0}function u1(C,k,V,oe){var ge=C.prev,Pe=C,qe=C.next;if(Uc(ge,Pe,qe)>=0)return!1;for(var ft=ge.xPe.x?ge.x>qe.x?ge.x:qe.x:Pe.x>qe.x?Pe.x:qe.x,Kt=ge.y>Pe.y?ge.y>qe.y?ge.y:qe.y:Pe.y>qe.y?Pe.y:qe.y,_r=Ty(ft,Pt,k,V,oe),Vr=Ty(Ut,Kt,k,V,oe),Or=C.prevZ,dn=C.nextZ;Or&&Or.z>=_r&&dn&&dn.z<=Vr;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0||(Or=Or.prevZ,dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0))return!1;dn=dn.nextZ}for(;Or&&Or.z>=_r;){if(Or!==C.prev&&Or!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,Or.x,Or.y)&&Uc(Or.prev,Or,Or.next)>=0)return!1;Or=Or.prevZ}for(;dn&&dn.z<=Vr;){if(dn!==C.prev&&dn!==C.next&&Av(ge.x,ge.y,Pe.x,Pe.y,qe.x,qe.y,dn.x,dn.y)&&Uc(dn.prev,dn,dn.next)>=0)return!1;dn=dn.nextZ}return!0}function lm(C,k,V){var oe=C;do{var ge=oe.prev,Pe=oe.next.next;!um(ge,Pe)&&cg(ge,oe,oe.next,Pe)&&fm(ge,Pe)&&fm(Pe,ge)&&(k.push(ge.i/V),k.push(oe.i/V),k.push(Pe.i/V),hm(oe),hm(oe.next),oe=C=Pe),oe=oe.next}while(oe!==C);return wv(oe)}function Bd(C,k,V,oe,ge,Pe){var qe=C;do{for(var ft=qe.next.next;ft!==qe.prev;){if(qe.i!==ft.i&&hp(qe,ft)){var Pt=My(qe,ft);qe=wv(qe,qe.next),Pt=wv(Pt,Pt.next),sm(qe,k,V,oe,ge,Pe),sm(Pt,k,V,oe,ge,Pe);return}ft=ft.next}qe=qe.next}while(qe!==C)}function Tv(C,k,V,oe){var ge=[],Pe,qe,ft,Pt,Ut;for(Pe=0,qe=k.length;Pe=V.next.y&&V.next.y!==V.y){var ft=V.x+(ge-V.y)*(V.next.x-V.x)/(V.next.y-V.y);if(ft<=oe&&ft>Pe){if(Pe=ft,ft===oe){if(ge===V.y)return V;if(ge===V.next.y)return V.next}qe=V.x=V.x&&V.x>=Ut&&oe!==V.x&&Av(geqe.x||V.x===qe.x&&qb(qe,V)))&&(qe=V,_r=Vr)),V=V.next;while(V!==Pt);return qe}function qb(C,k){return Uc(C.prev,C,k.prev)<0&&Uc(k.next,C,C.next)<0}function ug(C,k,V,oe){var ge=C;do ge.z===null&&(ge.z=Ty(ge.x,ge.y,k,V,oe)),ge.prevZ=ge.prev,ge.nextZ=ge.next,ge=ge.next;while(ge!==C);ge.prevZ.nextZ=null,ge.prevZ=null,wy(ge)}function wy(C){var k,V,oe,ge,Pe,qe,ft,Pt,Ut=1;do{for(V=C,C=null,Pe=null,qe=0;V;){for(qe++,oe=V,ft=0,k=0;k0||Pt>0&&oe;)ft!==0&&(Pt===0||!oe||V.z<=oe.z)?(ge=V,V=V.nextZ,ft--):(ge=oe,oe=oe.nextZ,Pt--),Pe?Pe.nextZ=ge:C=ge,ge.prevZ=Pe,Pe=ge;V=oe}Pe.nextZ=null,Ut*=2}while(qe>1);return C}function Ty(C,k,V,oe,ge){return C=32767*(C-V)*ge,k=32767*(k-oe)*ge,C=(C|C<<8)&16711935,C=(C|C<<4)&252645135,C=(C|C<<2)&858993459,C=(C|C<<1)&1431655765,k=(k|k<<8)&16711935,k=(k|k<<4)&252645135,k=(k|k<<2)&858993459,k=(k|k<<1)&1431655765,C|k<<1}function Ay(C){var k=C,V=C;do(k.x=0&&(C-qe)*(oe-ft)-(V-qe)*(k-ft)>=0&&(V-qe)*(Pe-ft)-(ge-qe)*(oe-ft)>=0}function hp(C,k){return C.next.i!==k.i&&C.prev.i!==k.i&&!f1(C,k)&&(fm(C,k)&&fm(k,C)&&Hb(C,k)&&(Uc(C.prev,C,k.prev)||Uc(C,k.prev,k))||um(C,k)&&Uc(C.prev,C,C.next)>0&&Uc(k.prev,k,k.next)>0)}function Uc(C,k,V){return(k.y-C.y)*(V.x-k.x)-(k.x-C.x)*(V.y-k.y)}function um(C,k){return C.x===k.x&&C.y===k.y}function cg(C,k,V,oe){var ge=Uv(Uc(C,k,V)),Pe=Uv(Uc(C,k,oe)),qe=Uv(Uc(V,oe,C)),ft=Uv(Uc(V,oe,k));return!!(ge!==Pe&&qe!==ft||ge===0&&cm(C,V,k)||Pe===0&&cm(C,oe,k)||qe===0&&cm(V,C,oe)||ft===0&&cm(V,k,oe))}function cm(C,k,V){return k.x<=Math.max(C.x,V.x)&&k.x>=Math.min(C.x,V.x)&&k.y<=Math.max(C.y,V.y)&&k.y>=Math.min(C.y,V.y)}function Uv(C){return C>0?1:C<0?-1:0}function f1(C,k){var V=C;do{if(V.i!==C.i&&V.next.i!==C.i&&V.i!==k.i&&V.next.i!==k.i&&cg(V,V.next,C,k))return!0;V=V.next}while(V!==C);return!1}function fm(C,k){return Uc(C.prev,C,C.next)<0?Uc(C,k,C.next)>=0&&Uc(C,C.prev,k)>=0:Uc(C,k,C.prev)<0||Uc(C,C.next,k)<0}function Hb(C,k){var V=C,oe=!1,ge=(C.x+k.x)/2,Pe=(C.y+k.y)/2;do V.y>Pe!=V.next.y>Pe&&V.next.y!==V.y&&ge<(V.next.x-V.x)*(Pe-V.y)/(V.next.y-V.y)+V.x&&(oe=!oe),V=V.next;while(V!==C);return oe}function My(C,k){var V=new Sy(C.i,C.x,C.y),oe=new Sy(k.i,k.x,k.y),ge=C.next,Pe=k.prev;return C.next=k,k.prev=C,V.next=ge,ge.prev=V,oe.next=V,V.prev=oe,Pe.next=oe,oe.prev=Pe,oe}function h1(C,k,V,oe){var ge=new Sy(C,k,V);return oe?(ge.next=oe.next,ge.prev=oe,oe.next.prev=ge,oe.next=ge):(ge.prev=ge,ge.next=ge),ge}function hm(C){C.next.prev=C.prev,C.prev.next=C.next,C.prevZ&&(C.prevZ.nextZ=C.nextZ),C.nextZ&&(C.nextZ.prevZ=C.prevZ)}function Sy(C,k,V){this.i=C,this.x=k,this.y=V,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}fp.deviation=function(C,k,V,oe){var ge=k&&k.length,Pe=ge?k[0]*V:C.length,qe=Math.abs(Ey(C,0,Pe,V));if(ge)for(var ft=0,Pt=k.length;ft0&&(oe+=C[ge-1].length,V.holes.push(oe))}return V},sg.default=s1;function Cy(C,k,V,oe,ge){tv(C,k,V||0,oe||C.length-1,ge||d1)}function tv(C,k,V,oe,ge){for(;oe>V;){if(oe-V>600){var Pe=oe-V+1,qe=k-V+1,ft=Math.log(Pe),Pt=.5*Math.exp(2*ft/3),Ut=.5*Math.sqrt(ft*Pt*(Pe-Pt)/Pe)*(qe-Pe/2<0?-1:1),Kt=Math.max(V,Math.floor(k-qe*Pt/Pe+Ut)),_r=Math.min(oe,Math.floor(k+(Pe-qe)*Pt/Pe+Ut));tv(C,k,Kt,_r,ge)}var Vr=C[k],Or=V,dn=oe;for(dp(C,V,k),ge(C[oe],Vr)>0&&dp(C,V,oe);Or0;)dn--}ge(C[V],Vr)===0?dp(C,V,dn):(dn++,dp(C,dn,oe)),dn<=k&&(V=dn+1),k<=dn&&(oe=dn-1)}}function dp(C,k,V){var oe=C[k];C[k]=C[V],C[V]=oe}function d1(C,k){return Ck?1:0}function fg(C,k){var V=C.length;if(V<=1)return[C];for(var oe=[],ge,Pe,qe=0;qe1)for(var Pt=0;Pt>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),V===1&&(ft&&qe.push(ft),ft=[]),ft.push(new i(ge,Pe));else if(V===7)ft&&ft.push(ft[0].clone());else throw new Error(\"unknown command \"+V)}return ft&&qe.push(ft),qe},jv.prototype.bbox=function(){var C=this._pbf;C.pos=this._geometry;for(var k=C.readVarint()+C.pos,V=1,oe=0,ge=0,Pe=0,qe=1/0,ft=-1/0,Pt=1/0,Ut=-1/0;C.pos>3}if(oe--,V===1||V===2)ge+=C.readSVarint(),Pe+=C.readSVarint(),geft&&(ft=ge),PeUt&&(Ut=Pe);else if(V!==7)throw new Error(\"unknown command \"+V)}return[qe,Pt,ft,Ut]},jv.prototype.toGeoJSON=function(C,k,V){var oe=this.extent*Math.pow(2,V),ge=this.extent*C,Pe=this.extent*k,qe=this.loadGeometry(),ft=jv.types[this.type],Pt,Ut;function Kt(Or){for(var dn=0;dn>3;k=oe===1?C.readString():oe===2?C.readFloat():oe===3?C.readDouble():oe===4?C.readVarint64():oe===5?C.readVarint():oe===6?C.readSVarint():oe===7?C.readBoolean():null}return k}Py.prototype.feature=function(C){if(C<0||C>=this._features.length)throw new Error(\"feature index out of bounds\");this._pbf.pos=this._features[C];var k=this._pbf.readVarint()+this._pbf.pos;return new Ly(this._pbf,k,this.extent,this._keys,this._values)};var T1=Wb;function Wb(C,k){this.layers=C.readFields(Xb,{},k)}function Xb(C,k,V){if(C===3){var oe=new rv(V,V.readVarint()+V.pos);oe.length&&(k[oe.name]=oe)}}var A1=T1,vp=Ly,M1=rv,nv={VectorTile:A1,VectorTileFeature:vp,VectorTileLayer:M1},S1=nv.VectorTileFeature.types,dg=500,pp=Math.pow(2,13);function Mv(C,k,V,oe,ge,Pe,qe,ft){C.emplaceBack(k,V,Math.floor(oe*pp)*2+qe,ge*pp*2,Pe*pp*2,Math.round(ft))}var Cd=function(k){this.zoom=k.zoom,this.overscaling=k.overscaling,this.layers=k.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=k.index,this.hasPattern=!1,this.layoutVertexArray=new Pa,this.indexArray=new ao,this.programConfigurations=new Pi(k.layers,k.zoom),this.segments=new Us,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};Cd.prototype.populate=function(k,V,oe){this.features=[],this.hasPattern=hg(\"fill-extrusion\",this.layers,V);for(var ge=0,Pe=k;ge=1){var ji=mi[Vi-1];if(!Zb(Ai,ji)){Or.vertexLength+4>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Yi=Ai.sub(ji)._perp()._unit(),ga=ji.dist(Ai);ii+ga>32768&&(ii=0),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,Ai.x,Ai.y,Yi.x,Yi.y,0,1,ii),ii+=ga,Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,0,ii),Mv(this.layoutVertexArray,ji.x,ji.y,Yi.x,Yi.y,0,1,ii);var Ga=Or.vertexLength;this.indexArray.emplaceBack(Ga,Ga+2,Ga+1),this.indexArray.emplaceBack(Ga+1,Ga+2,Ga+3),Or.vertexLength+=4,Or.primitiveLength+=2}}}}if(Or.vertexLength+Ut>Us.MAX_VERTEX_ARRAY_LENGTH&&(Or=this.segments.prepareSegment(Ut,this.layoutVertexArray,this.indexArray)),S1[k.type]===\"Polygon\"){for(var Ua=[],Co=[],so=Or.vertexLength,xo=0,Ss=Pt;xo$i)||C.y===k.y&&(C.y<0||C.y>$i)}function Yb(C){return C.every(function(k){return k.x<0})||C.every(function(k){return k.x>$i})||C.every(function(k){return k.y<0})||C.every(function(k){return k.y>$i})}var mp=new Fi({\"fill-extrusion-opacity\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-opacity\"]),\"fill-extrusion-color\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-color\"]),\"fill-extrusion-translate\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-translate\"]),\"fill-extrusion-translate-anchor\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-translate-anchor\"]),\"fill-extrusion-pattern\":new Ln(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-pattern\"]),\"fill-extrusion-height\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-height\"]),\"fill-extrusion-base\":new cn(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-base\"]),\"fill-extrusion-vertical-gradient\":new tr(Mi[\"paint_fill-extrusion\"][\"fill-extrusion-vertical-gradient\"])}),rh={paint:mp},Sv=function(C){function k(V){C.call(this,V,rh)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.createBucket=function(oe){return new Cd(oe)},k.prototype.queryRadius=function(){return $h(this.paint.get(\"fill-extrusion-translate\"))},k.prototype.is3D=function(){return!0},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut,Kt){var _r=ld(oe,this.paint.get(\"fill-extrusion-translate\"),this.paint.get(\"fill-extrusion-translate-anchor\"),Pt.angle,Ut),Vr=this.paint.get(\"fill-extrusion-height\").evaluate(ge,Pe),Or=this.paint.get(\"fill-extrusion-base\").evaluate(ge,Pe),dn=Kb(_r,Kt,Pt,0),jn=Ry(qe,Or,Vr,Kt),mi=jn[0],ii=jn[1];return E1(mi,ii,dn)},k}(na);function Vv(C,k){return C.x*k.x+C.y*k.y}function Iy(C,k){if(C.length===1){for(var V=0,oe=k[V++],ge;!ge||oe.equals(ge);)if(ge=k[V++],!ge)return 1/0;for(;V=2&&k[Ut-1].equals(k[Ut-2]);)Ut--;for(var Kt=0;Kt0;if(Ua&&Vi>Kt){var so=Or.dist(dn);if(so>2*_r){var xo=Or.sub(Or.sub(dn)._mult(_r/so)._round());this.updateDistance(dn,xo),this.addCurrentVertex(xo,mi,0,0,Vr),dn=xo}}var Ss=dn&&jn,ko=Ss?oe:Pt?\"butt\":ge;if(Ss&&ko===\"round\"&&(gaPe&&(ko=\"bevel\"),ko===\"bevel\"&&(ga>2&&(ko=\"flipbevel\"),ga100)Ai=ii.mult(-1);else{var Do=ga*mi.add(ii).mag()/mi.sub(ii).mag();Ai._perp()._mult(Do*(Co?-1:1))}this.addCurrentVertex(Or,Ai,0,0,Vr),this.addCurrentVertex(Or,Ai.mult(-1),0,0,Vr)}else if(ko===\"bevel\"||ko===\"fakeround\"){var Gs=-Math.sqrt(ga*ga-1),Ts=Co?Gs:0,kl=Co?0:Gs;if(dn&&this.addCurrentVertex(Or,mi,Ts,kl,Vr),ko===\"fakeround\")for(var du=Math.round(Ga*180/Math.PI/zy),Ll=1;Ll2*_r){var gf=Or.add(jn.sub(Or)._mult(_r/Gf)._round());this.updateDistance(Or,gf),this.addCurrentVertex(gf,ii,0,0,Vr),Or=gf}}}}},vf.prototype.addCurrentVertex=function(k,V,oe,ge,Pe,qe){qe===void 0&&(qe=!1);var ft=V.x+V.y*oe,Pt=V.y-V.x*oe,Ut=-V.x+V.y*ge,Kt=-V.y-V.x*ge;this.addHalfVertex(k,ft,Pt,qe,!1,oe,Pe),this.addHalfVertex(k,Ut,Kt,qe,!0,-ge,Pe),this.distance>gm/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(k,V,oe,ge,Pe,qe))},vf.prototype.addHalfVertex=function(k,V,oe,ge,Pe,qe,ft){var Pt=k.x,Ut=k.y,Kt=this.lineClips?this.scaledDistance*(gm-1):this.scaledDistance,_r=Kt*pg;if(this.layoutVertexArray.emplaceBack((Pt<<1)+(ge?1:0),(Ut<<1)+(Pe?1:0),Math.round(vg*V)+128,Math.round(vg*oe)+128,(qe===0?0:qe<0?-1:1)+1|(_r&63)<<2,_r>>6),this.lineClips){var Vr=this.scaledDistance-this.lineClips.start,Or=this.lineClips.end-this.lineClips.start,dn=Vr/Or;this.layoutVertexArray2.emplaceBack(dn,this.lineClipsArray.length)}var jn=ft.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,jn),ft.primitiveLength++),Pe?this.e2=jn:this.e1=jn},vf.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},vf.prototype.updateDistance=function(k,V){this.distance+=k.dist(V),this.updateScaledDistance()},de(\"LineBucket\",vf,{omit:[\"layers\",\"patternFeatures\"]});var Fy=new Fi({\"line-cap\":new tr(Mi.layout_line[\"line-cap\"]),\"line-join\":new cn(Mi.layout_line[\"line-join\"]),\"line-miter-limit\":new tr(Mi.layout_line[\"line-miter-limit\"]),\"line-round-limit\":new tr(Mi.layout_line[\"line-round-limit\"]),\"line-sort-key\":new cn(Mi.layout_line[\"line-sort-key\"])}),Oy=new Fi({\"line-opacity\":new cn(Mi.paint_line[\"line-opacity\"]),\"line-color\":new cn(Mi.paint_line[\"line-color\"]),\"line-translate\":new tr(Mi.paint_line[\"line-translate\"]),\"line-translate-anchor\":new tr(Mi.paint_line[\"line-translate-anchor\"]),\"line-width\":new cn(Mi.paint_line[\"line-width\"]),\"line-gap-width\":new cn(Mi.paint_line[\"line-gap-width\"]),\"line-offset\":new cn(Mi.paint_line[\"line-offset\"]),\"line-blur\":new cn(Mi.paint_line[\"line-blur\"]),\"line-dasharray\":new xi(Mi.paint_line[\"line-dasharray\"]),\"line-pattern\":new Ln(Mi.paint_line[\"line-pattern\"]),\"line-gradient\":new Ni(Mi.paint_line[\"line-gradient\"])}),mg={paint:Oy,layout:Fy},$b=function(C){function k(){C.apply(this,arguments)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.possiblyEvaluate=function(oe,ge){return ge=new ua(Math.floor(ge.zoom),{now:ge.now,fadeDuration:ge.fadeDuration,zoomHistory:ge.zoomHistory,transition:ge.transition}),C.prototype.possiblyEvaluate.call(this,oe,ge)},k.prototype.evaluate=function(oe,ge,Pe,qe){return ge=m({},ge,{zoom:Math.floor(ge.zoom)}),C.prototype.evaluate.call(this,oe,ge,Pe,qe)},k}(cn),q=new $b(mg.paint.properties[\"line-width\"].specification);q.useIntegerZoom=!0;var D=function(C){function k(V){C.call(this,V,mg),this.gradientVersion=0}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype._handleSpecialPaintPropertyUpdate=function(oe){if(oe===\"line-gradient\"){var ge=this._transitionablePaint._values[\"line-gradient\"].value.expression;this.stepInterpolant=ge._styleExpression.expression instanceof xu,this.gradientVersion=(this.gradientVersion+1)%h}},k.prototype.gradientExpression=function(){return this._transitionablePaint._values[\"line-gradient\"].value.expression},k.prototype.recalculate=function(oe,ge){C.prototype.recalculate.call(this,oe,ge),this.paint._values[\"line-floorwidth\"]=q.possiblyEvaluate(this._transitioningPaint._values[\"line-width\"].value,oe)},k.prototype.createBucket=function(oe){return new vf(oe)},k.prototype.queryRadius=function(oe){var ge=oe,Pe=Y(dh(\"line-width\",this,ge),dh(\"line-gap-width\",this,ge)),qe=dh(\"line-offset\",this,ge);return Pe/2+Math.abs(qe)+$h(this.paint.get(\"line-translate\"))},k.prototype.queryIntersectsFeature=function(oe,ge,Pe,qe,ft,Pt,Ut){var Kt=ld(oe,this.paint.get(\"line-translate\"),this.paint.get(\"line-translate-anchor\"),Pt.angle,Ut),_r=Ut/2*Y(this.paint.get(\"line-width\").evaluate(ge,Pe),this.paint.get(\"line-gap-width\").evaluate(ge,Pe)),Vr=this.paint.get(\"line-offset\").evaluate(ge,Pe);return Vr&&(qe=he(qe,Vr*Ut)),Ou(Kt,qe,_r)},k.prototype.isTileClipped=function(){return!0},k}(na);function Y(C,k){return k>0?k+2*C:C}function he(C,k){for(var V=[],oe=new i(0,0),ge=0;ge\":\"\\uFE40\",\"?\":\"\\uFE16\",\"@\":\"\\uFF20\",\"[\":\"\\uFE47\",\"\\\\\":\"\\uFF3C\",\"]\":\"\\uFE48\",\"^\":\"\\uFF3E\",_:\"\\uFE33\",\"`\":\"\\uFF40\",\"{\":\"\\uFE37\",\"|\":\"\\u2015\",\"}\":\"\\uFE38\",\"~\":\"\\uFF5E\",\"\\xA2\":\"\\uFFE0\",\"\\xA3\":\"\\uFFE1\",\"\\xA5\":\"\\uFFE5\",\"\\xA6\":\"\\uFFE4\",\"\\xAC\":\"\\uFFE2\",\"\\xAF\":\"\\uFFE3\",\"\\u2013\":\"\\uFE32\",\"\\u2014\":\"\\uFE31\",\"\\u2018\":\"\\uFE43\",\"\\u2019\":\"\\uFE44\",\"\\u201C\":\"\\uFE41\",\"\\u201D\":\"\\uFE42\",\"\\u2026\":\"\\uFE19\",\"\\u2027\":\"\\u30FB\",\"\\u20A9\":\"\\uFFE6\",\"\\u3001\":\"\\uFE11\",\"\\u3002\":\"\\uFE12\",\"\\u3008\":\"\\uFE3F\",\"\\u3009\":\"\\uFE40\",\"\\u300A\":\"\\uFE3D\",\"\\u300B\":\"\\uFE3E\",\"\\u300C\":\"\\uFE41\",\"\\u300D\":\"\\uFE42\",\"\\u300E\":\"\\uFE43\",\"\\u300F\":\"\\uFE44\",\"\\u3010\":\"\\uFE3B\",\"\\u3011\":\"\\uFE3C\",\"\\u3014\":\"\\uFE39\",\"\\u3015\":\"\\uFE3A\",\"\\u3016\":\"\\uFE17\",\"\\u3017\":\"\\uFE18\",\"\\uFF01\":\"\\uFE15\",\"\\uFF08\":\"\\uFE35\",\"\\uFF09\":\"\\uFE36\",\"\\uFF0C\":\"\\uFE10\",\"\\uFF0D\":\"\\uFE32\",\"\\uFF0E\":\"\\u30FB\",\"\\uFF1A\":\"\\uFE13\",\"\\uFF1B\":\"\\uFE14\",\"\\uFF1C\":\"\\uFE3F\",\"\\uFF1E\":\"\\uFE40\",\"\\uFF1F\":\"\\uFE16\",\"\\uFF3B\":\"\\uFE47\",\"\\uFF3D\":\"\\uFE48\",\"\\uFF3F\":\"\\uFE33\",\"\\uFF5B\":\"\\uFE37\",\"\\uFF5C\":\"\\u2015\",\"\\uFF5D\":\"\\uFE38\",\"\\uFF5F\":\"\\uFE35\",\"\\uFF60\":\"\\uFE36\",\"\\uFF61\":\"\\uFE12\",\"\\uFF62\":\"\\uFE41\",\"\\uFF63\":\"\\uFE42\"};function Si(C){for(var k=\"\",V=0;V>1,Kt=-7,_r=V?ge-1:0,Vr=V?-1:1,Or=C[k+_r];for(_r+=Vr,Pe=Or&(1<<-Kt)-1,Or>>=-Kt,Kt+=ft;Kt>0;Pe=Pe*256+C[k+_r],_r+=Vr,Kt-=8);for(qe=Pe&(1<<-Kt)-1,Pe>>=-Kt,Kt+=oe;Kt>0;qe=qe*256+C[k+_r],_r+=Vr,Kt-=8);if(Pe===0)Pe=1-Ut;else{if(Pe===Pt)return qe?NaN:(Or?-1:1)*(1/0);qe=qe+Math.pow(2,oe),Pe=Pe-Ut}return(Or?-1:1)*qe*Math.pow(2,Pe-oe)},Po=function(C,k,V,oe,ge,Pe){var qe,ft,Pt,Ut=Pe*8-ge-1,Kt=(1<>1,Vr=ge===23?Math.pow(2,-24)-Math.pow(2,-77):0,Or=oe?0:Pe-1,dn=oe?1:-1,jn=k<0||k===0&&1/k<0?1:0;for(k=Math.abs(k),isNaN(k)||k===1/0?(ft=isNaN(k)?1:0,qe=Kt):(qe=Math.floor(Math.log(k)/Math.LN2),k*(Pt=Math.pow(2,-qe))<1&&(qe--,Pt*=2),qe+_r>=1?k+=Vr/Pt:k+=Vr*Math.pow(2,1-_r),k*Pt>=2&&(qe++,Pt/=2),qe+_r>=Kt?(ft=0,qe=Kt):qe+_r>=1?(ft=(k*Pt-1)*Math.pow(2,ge),qe=qe+_r):(ft=k*Math.pow(2,_r-1)*Math.pow(2,ge),qe=0));ge>=8;C[V+Or]=ft&255,Or+=dn,ft/=256,ge-=8);for(qe=qe<0;C[V+Or]=qe&255,Or+=dn,qe/=256,Ut-=8);C[V+Or-dn]|=jn*128},xs={read:Ha,write:Po},_o=Ra;function Ra(C){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(C)?C:new Uint8Array(C||0),this.pos=0,this.type=0,this.length=this.buf.length}Ra.Varint=0,Ra.Fixed64=1,Ra.Bytes=2,Ra.Fixed32=5;var es=65536*65536,qo=1/es,Bo=12,ma=typeof TextDecoder>\"u\"?null:new TextDecoder(\"utf8\");Ra.prototype={destroy:function(){this.buf=null},readFields:function(C,k,V){for(V=V||this.length;this.pos>3,Pe=this.pos;this.type=oe&7,C(ge,k,this),this.pos===Pe&&this.skip(oe)}return k},readMessage:function(C,k){return this.readFields(C,k,this.readVarint()+this.pos)},readFixed32:function(){var C=Vf(this.buf,this.pos);return this.pos+=4,C},readSFixed32:function(){var C=rd(this.buf,this.pos);return this.pos+=4,C},readFixed64:function(){var C=Vf(this.buf,this.pos)+Vf(this.buf,this.pos+4)*es;return this.pos+=8,C},readSFixed64:function(){var C=Vf(this.buf,this.pos)+rd(this.buf,this.pos+4)*es;return this.pos+=8,C},readFloat:function(){var C=xs.read(this.buf,this.pos,!0,23,4);return this.pos+=4,C},readDouble:function(){var C=xs.read(this.buf,this.pos,!0,52,8);return this.pos+=8,C},readVarint:function(C){var k=this.buf,V,oe;return oe=k[this.pos++],V=oe&127,oe<128||(oe=k[this.pos++],V|=(oe&127)<<7,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<14,oe<128)||(oe=k[this.pos++],V|=(oe&127)<<21,oe<128)?V:(oe=k[this.pos],V|=(oe&15)<<28,us(V,C,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var C=this.readVarint();return C%2===1?(C+1)/-2:C/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var C=this.readVarint()+this.pos,k=this.pos;return this.pos=C,C-k>=Bo&&ma?Gl(this.buf,k,C):jh(this.buf,k,C)},readBytes:function(){var C=this.readVarint()+this.pos,k=this.buf.subarray(this.pos,C);return this.pos=C,k},readPackedVarint:function(C,k){if(this.type!==Ra.Bytes)return C.push(this.readVarint(k));var V=No(this);for(C=C||[];this.pos127;);else if(k===Ra.Bytes)this.pos=this.readVarint()+this.pos;else if(k===Ra.Fixed32)this.pos+=4;else if(k===Ra.Fixed64)this.pos+=8;else throw new Error(\"Unimplemented type: \"+k)},writeTag:function(C,k){this.writeVarint(C<<3|k)},realloc:function(C){for(var k=this.length||16;k268435455||C<0){Au(C,this);return}this.realloc(4),this.buf[this.pos++]=C&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=(C>>>=7)&127|(C>127?128:0),!(C<=127)&&(this.buf[this.pos++]=C>>>7&127)))},writeSVarint:function(C){this.writeVarint(C<0?-C*2-1:C*2)},writeBoolean:function(C){this.writeVarint(!!C)},writeString:function(C){C=String(C),this.realloc(C.length*4),this.pos++;var k=this.pos;this.pos=Nu(this.buf,C,this.pos);var V=this.pos-k;V>=128&&cd(k,V,this),this.pos=k-1,this.writeVarint(V),this.pos+=V},writeFloat:function(C){this.realloc(4),xs.write(this.buf,C,this.pos,!0,23,4),this.pos+=4},writeDouble:function(C){this.realloc(8),xs.write(this.buf,C,this.pos,!0,52,8),this.pos+=8},writeBytes:function(C){var k=C.length;this.writeVarint(k),this.realloc(k);for(var V=0;V=128&&cd(V,oe,this),this.pos=V-1,this.writeVarint(oe),this.pos+=oe},writeMessage:function(C,k,V){this.writeTag(C,Ra.Bytes),this.writeRawMessage(k,V)},writePackedVarint:function(C,k){k.length&&this.writeMessage(C,nh,k)},writePackedSVarint:function(C,k){k.length&&this.writeMessage(C,Cf,k)},writePackedBoolean:function(C,k){k.length&&this.writeMessage(C,Ph,k)},writePackedFloat:function(C,k){k.length&&this.writeMessage(C,kh,k)},writePackedDouble:function(C,k){k.length&&this.writeMessage(C,Lh,k)},writePackedFixed32:function(C,k){k.length&&this.writeMessage(C,jc,k)},writePackedSFixed32:function(C,k){k.length&&this.writeMessage(C,kf,k)},writePackedFixed64:function(C,k){k.length&&this.writeMessage(C,mh,k)},writePackedSFixed64:function(C,k){k.length&&this.writeMessage(C,ih,k)},writeBytesField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeBytes(k)},writeFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFixed32(k)},writeSFixed32Field:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeSFixed32(k)},writeFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeFixed64(k)},writeSFixed64Field:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeSFixed64(k)},writeVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeVarint(k)},writeSVarintField:function(C,k){this.writeTag(C,Ra.Varint),this.writeSVarint(k)},writeStringField:function(C,k){this.writeTag(C,Ra.Bytes),this.writeString(k)},writeFloatField:function(C,k){this.writeTag(C,Ra.Fixed32),this.writeFloat(k)},writeDoubleField:function(C,k){this.writeTag(C,Ra.Fixed64),this.writeDouble(k)},writeBooleanField:function(C,k){this.writeVarintField(C,!!k)}};function us(C,k,V){var oe=V.buf,ge,Pe;if(Pe=oe[V.pos++],ge=(Pe&112)>>4,Pe<128||(Pe=oe[V.pos++],ge|=(Pe&127)<<3,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<10,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<17,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&127)<<24,Pe<128)||(Pe=oe[V.pos++],ge|=(Pe&1)<<31,Pe<128))return ks(C,ge,k);throw new Error(\"Expected varint not more than 10 bytes\")}function No(C){return C.type===Ra.Bytes?C.readVarint()+C.pos:C.pos+1}function ks(C,k,V){return V?k*4294967296+(C>>>0):(k>>>0)*4294967296+(C>>>0)}function Au(C,k){var V,oe;if(C>=0?(V=C%4294967296|0,oe=C/4294967296|0):(V=~(-C%4294967296),oe=~(-C/4294967296),V^4294967295?V=V+1|0:(V=0,oe=oe+1|0)),C>=18446744073709552e3||C<-18446744073709552e3)throw new Error(\"Given varint doesn't fit into 10 bytes\");k.realloc(10),yu(V,oe,k),Ef(oe,k)}function yu(C,k,V){V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos++]=C&127|128,C>>>=7,V.buf[V.pos]=C&127}function Ef(C,k){var V=(C&7)<<4;k.buf[k.pos++]|=V|((C>>>=3)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127|((C>>>=7)?128:0),C&&(k.buf[k.pos++]=C&127)))))}function cd(C,k,V){var oe=k<=16383?1:k<=2097151?2:k<=268435455?3:Math.floor(Math.log(k)/(Math.LN2*7));V.realloc(oe);for(var ge=V.pos-1;ge>=C;ge--)V.buf[ge+oe]=V.buf[ge]}function nh(C,k){for(var V=0;V>>8,C[V+2]=k>>>16,C[V+3]=k>>>24}function rd(C,k){return(C[k]|C[k+1]<<8|C[k+2]<<16)+(C[k+3]<<24)}function jh(C,k,V){for(var oe=\"\",ge=k;ge239?4:Pe>223?3:Pe>191?2:1;if(ge+ft>V)break;var Pt,Ut,Kt;ft===1?Pe<128&&(qe=Pe):ft===2?(Pt=C[ge+1],(Pt&192)===128&&(qe=(Pe&31)<<6|Pt&63,qe<=127&&(qe=null))):ft===3?(Pt=C[ge+1],Ut=C[ge+2],(Pt&192)===128&&(Ut&192)===128&&(qe=(Pe&15)<<12|(Pt&63)<<6|Ut&63,(qe<=2047||qe>=55296&&qe<=57343)&&(qe=null))):ft===4&&(Pt=C[ge+1],Ut=C[ge+2],Kt=C[ge+3],(Pt&192)===128&&(Ut&192)===128&&(Kt&192)===128&&(qe=(Pe&15)<<18|(Pt&63)<<12|(Ut&63)<<6|Kt&63,(qe<=65535||qe>=1114112)&&(qe=null))),qe===null?(qe=65533,ft=1):qe>65535&&(qe-=65536,oe+=String.fromCharCode(qe>>>10&1023|55296),qe=56320|qe&1023),oe+=String.fromCharCode(qe),ge+=ft}return oe}function Gl(C,k,V){return ma.decode(C.subarray(k,V))}function Nu(C,k,V){for(var oe=0,ge,Pe;oe55295&&ge<57344)if(Pe)if(ge<56320){C[V++]=239,C[V++]=191,C[V++]=189,Pe=ge;continue}else ge=Pe-55296<<10|ge-56320|65536,Pe=null;else{ge>56319||oe+1===k.length?(C[V++]=239,C[V++]=191,C[V++]=189):Pe=ge;continue}else Pe&&(C[V++]=239,C[V++]=191,C[V++]=189,Pe=null);ge<128?C[V++]=ge:(ge<2048?C[V++]=ge>>6|192:(ge<65536?C[V++]=ge>>12|224:(C[V++]=ge>>18|240,C[V++]=ge>>12&63|128),C[V++]=ge>>6&63|128),C[V++]=ge&63|128)}return V}var Mu=3;function nd(C,k,V){C===1&&V.readMessage(Mc,k)}function Mc(C,k,V){if(C===3){var oe=V.readMessage(gp,{}),ge=oe.id,Pe=oe.bitmap,qe=oe.width,ft=oe.height,Pt=oe.left,Ut=oe.top,Kt=oe.advance;k.push({id:ge,bitmap:new td({width:qe+2*Mu,height:ft+2*Mu},Pe),metrics:{width:qe,height:ft,left:Pt,top:Ut,advance:Kt}})}}function gp(C,k,V){C===1?k.id=V.readVarint():C===2?k.bitmap=V.readBytes():C===3?k.width=V.readVarint():C===4?k.height=V.readVarint():C===5?k.left=V.readSVarint():C===6?k.top=V.readSVarint():C===7&&(k.advance=V.readVarint())}function Nd(C){return new _o(C).readFields(nd,[])}var kd=Mu;function fd(C){for(var k=0,V=0,oe=0,ge=C;oe=0;Or--){var dn=ft[Or];if(!(Vr.w>dn.w||Vr.h>dn.h)){if(Vr.x=dn.x,Vr.y=dn.y,Ut=Math.max(Ut,Vr.y+Vr.h),Pt=Math.max(Pt,Vr.x+Vr.w),Vr.w===dn.w&&Vr.h===dn.h){var jn=ft.pop();Or=0&&ge>=k&&jd[this.text.charCodeAt(ge)];ge--)oe--;this.text=this.text.substring(k,oe),this.sectionIndex=this.sectionIndex.slice(k,oe)},qf.prototype.substring=function(k,V){var oe=new qf;return oe.text=this.text.substring(k,V),oe.sectionIndex=this.sectionIndex.slice(k,V),oe.sections=this.sections,oe},qf.prototype.toString=function(){return this.text},qf.prototype.getMaxScale=function(){var k=this;return this.sectionIndex.reduce(function(V,oe){return Math.max(V,k.sections[oe].scale)},0)},qf.prototype.addTextSection=function(k,V){this.text+=k.text,this.sections.push(qv.forText(k.scale,k.fontStack||V));for(var oe=this.sections.length-1,ge=0;ge=Ud?null:++this.imageSectionID:(this.imageSectionID=gg,this.imageSectionID)};function Qb(C,k){for(var V=[],oe=C.text,ge=0,Pe=0,qe=k;Pe=0,Kt=0,_r=0;_r0&&gf>Co&&(Co=gf)}else{var Pl=V[xo.fontStack],bl=Pl&&Pl[ko];if(bl&&bl.rect)Ts=bl.rect,Gs=bl.metrics;else{var Su=k[xo.fontStack],Uu=Su&&Su[ko];if(!Uu)continue;Gs=Uu.metrics}Do=(Yi-xo.scale)*Gi}Ll?(C.verticalizable=!0,Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=du*xo.scale+Ut):(Ua.push({glyph:ko,imageName:kl,x:Vr,y:Or+Do,vertical:Ll,scale:xo.scale,fontStack:xo.fontStack,sectionIndex:Ss,metrics:Gs,rect:Ts}),Vr+=Gs.advance*xo.scale+Ut)}if(Ua.length!==0){var Rh=Vr-Ut;dn=Math.max(Rh,dn),nw(Ua,0,Ua.length-1,mi,Co)}Vr=0;var Dh=Pe*Yi+Co;Ga.lineOffset=Math.max(Co,ga),Or+=Dh,jn=Math.max(Dh,jn),++ii}var Wf=Or-yp,Hh=Ny(qe),Gh=Hh.horizontalAlign,Lf=Hh.verticalAlign;gh(C.positionedLines,mi,Gh,Lf,dn,jn,Pe,Wf,ge.length),C.top+=-Lf*Wf,C.bottom=C.top+Wf,C.left+=-Gh*dn,C.right=C.left+dn}function nw(C,k,V,oe,ge){if(!(!oe&&!ge))for(var Pe=C[V],qe=Pe.metrics.advance*Pe.scale,ft=(C[V].x+qe)*oe,Pt=k;Pt<=V;Pt++)C[Pt].x-=ft,C[Pt].y+=ge}function gh(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=(k-V)*ge,Kt=0;Pe!==qe?Kt=-ft*oe-yp:Kt=(-oe*Pt+.5)*qe;for(var _r=0,Vr=C;_r-V/2;){if(qe--,qe<0)return!1;ft-=C[qe].dist(Pe),Pe=C[qe]}ft+=C[qe].dist(C[qe+1]),qe++;for(var Pt=[],Ut=0;ftoe;)Ut-=Pt.shift().angleDelta;if(Ut>ge)return!1;qe++,ft+=_r.dist(Vr)}return!0}function rS(C){for(var k=0,V=0;VUt){var dn=(Ut-Pt)/Or,jn=Sl(_r.x,Vr.x,dn),mi=Sl(_r.y,Vr.y,dn),ii=new Ih(jn,mi,Vr.angleTo(_r),Kt);return ii._round(),!qe||tS(C,ii,ft,qe,k)?ii:void 0}Pt+=Or}}function qF(C,k,V,oe,ge,Pe,qe,ft,Pt){var Ut=nS(oe,Pe,qe),Kt=iS(oe,ge),_r=Kt*qe,Vr=C[0].x===0||C[0].x===Pt||C[0].y===0||C[0].y===Pt;k-_r=0&&ji=0&&Yi=0&&Vr+Ut<=Kt){var ga=new Ih(ji,Yi,Vi,dn);ga._round(),(!oe||tS(C,ga,Pe,oe,ge))&&Or.push(ga)}}_r+=ii}return!ft&&!Or.length&&!qe&&(Or=aS(C,_r/2,V,oe,ge,Pe,qe,!0,Pt)),Or}function oS(C,k,V,oe,ge){for(var Pe=[],qe=0;qe=oe&&_r.x>=oe)&&(Kt.x>=oe?Kt=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round():_r.x>=oe&&(_r=new i(oe,Kt.y+(_r.y-Kt.y)*((oe-Kt.x)/(_r.x-Kt.x)))._round()),!(Kt.y>=ge&&_r.y>=ge)&&(Kt.y>=ge?Kt=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round():_r.y>=ge&&(_r=new i(Kt.x+(_r.x-Kt.x)*((ge-Kt.y)/(_r.y-Kt.y)),ge)._round()),(!Pt||!Kt.equals(Pt[Pt.length-1]))&&(Pt=[Kt],Pe.push(Pt)),Pt.push(_r)))))}return Pe}var xg=ic;function sS(C,k,V,oe){var ge=[],Pe=C.image,qe=Pe.pixelRatio,ft=Pe.paddedRect.w-2*xg,Pt=Pe.paddedRect.h-2*xg,Ut=C.right-C.left,Kt=C.bottom-C.top,_r=Pe.stretchX||[[0,ft]],Vr=Pe.stretchY||[[0,Pt]],Or=function(Pl,bl){return Pl+bl[1]-bl[0]},dn=_r.reduce(Or,0),jn=Vr.reduce(Or,0),mi=ft-dn,ii=Pt-jn,Vi=0,Ai=dn,ji=0,Yi=jn,ga=0,Ga=mi,Ua=0,Co=ii;if(Pe.content&&oe){var so=Pe.content;Vi=z1(_r,0,so[0]),ji=z1(Vr,0,so[1]),Ai=z1(_r,so[0],so[2]),Yi=z1(Vr,so[1],so[3]),ga=so[0]-Vi,Ua=so[1]-ji,Ga=so[2]-so[0]-Ai,Co=so[3]-so[1]-Yi}var xo=function(Pl,bl,Su,Uu){var Vc=F1(Pl.stretch-Vi,Ai,Ut,C.left),ef=O1(Pl.fixed-ga,Ga,Pl.stretch,dn),Gf=F1(bl.stretch-ji,Yi,Kt,C.top),gf=O1(bl.fixed-Ua,Co,bl.stretch,jn),Rh=F1(Su.stretch-Vi,Ai,Ut,C.left),Dh=O1(Su.fixed-ga,Ga,Su.stretch,dn),Wf=F1(Uu.stretch-ji,Yi,Kt,C.top),Hh=O1(Uu.fixed-Ua,Co,Uu.stretch,jn),Gh=new i(Vc,Gf),Lf=new i(Rh,Gf),Wh=new i(Rh,Wf),Ad=new i(Vc,Wf),Wv=new i(ef/qe,gf/qe),bp=new i(Dh/qe,Hh/qe),wp=k*Math.PI/180;if(wp){var Tp=Math.sin(wp),Cg=Math.cos(wp),Vd=[Cg,-Tp,Tp,Cg];Gh._matMult(Vd),Lf._matMult(Vd),Ad._matMult(Vd),Wh._matMult(Vd)}var q1=Pl.stretch+Pl.fixed,fw=Su.stretch+Su.fixed,H1=bl.stretch+bl.fixed,hw=Uu.stretch+Uu.fixed,Ld={x:Pe.paddedRect.x+xg+q1,y:Pe.paddedRect.y+xg+H1,w:fw-q1,h:hw-H1},kg=Ga/qe/Ut,G1=Co/qe/Kt;return{tl:Gh,tr:Lf,bl:Ad,br:Wh,tex:Ld,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:Wv,pixelOffsetBR:bp,minFontScaleX:kg,minFontScaleY:G1,isSDF:V}};if(!oe||!Pe.stretchX&&!Pe.stretchY)ge.push(xo({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:ft+1},{fixed:0,stretch:Pt+1}));else for(var Ss=lS(_r,mi,dn),ko=lS(Vr,ii,jn),Do=0;Do0&&(dn=Math.max(10,dn),this.circleDiameter=dn)}else{var jn=qe.top*ft-Pt,mi=qe.bottom*ft+Pt,ii=qe.left*ft-Pt,Vi=qe.right*ft+Pt,Ai=qe.collisionPadding;if(Ai&&(ii-=Ai[0]*ft,jn-=Ai[1]*ft,Vi+=Ai[2]*ft,mi+=Ai[3]*ft),Kt){var ji=new i(ii,jn),Yi=new i(Vi,jn),ga=new i(ii,mi),Ga=new i(Vi,mi),Ua=Kt*Math.PI/180;ji._rotate(Ua),Yi._rotate(Ua),ga._rotate(Ua),Ga._rotate(Ua),ii=Math.min(ji.x,Yi.x,ga.x,Ga.x),Vi=Math.max(ji.x,Yi.x,ga.x,Ga.x),jn=Math.min(ji.y,Yi.y,ga.y,Ga.y),mi=Math.max(ji.y,Yi.y,ga.y,Ga.y)}k.emplaceBack(V.x,V.y,ii,jn,Vi,mi,oe,ge,Pe)}this.boxEndIndex=k.length},bg=function(k,V){if(k===void 0&&(k=[]),V===void 0&&(V=GF),this.data=k,this.length=this.data.length,this.compare=V,this.length>0)for(var oe=(this.length>>1)-1;oe>=0;oe--)this._down(oe)};bg.prototype.push=function(k){this.data.push(k),this.length++,this._up(this.length-1)},bg.prototype.pop=function(){if(this.length!==0){var k=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),k}},bg.prototype.peek=function(){return this.data[0]},bg.prototype._up=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=oe[k];k>0;){var qe=k-1>>1,ft=oe[qe];if(ge(Pe,ft)>=0)break;oe[k]=ft,k=qe}oe[k]=Pe},bg.prototype._down=function(k){for(var V=this,oe=V.data,ge=V.compare,Pe=this.length>>1,qe=oe[k];k=0)break;oe[k]=Pt,k=ft}oe[k]=qe};function GF(C,k){return Ck?1:0}function WF(C,k,V){k===void 0&&(k=1),V===void 0&&(V=!1);for(var oe=1/0,ge=1/0,Pe=-1/0,qe=-1/0,ft=C[0],Pt=0;PtPe)&&(Pe=Ut.x),(!Pt||Ut.y>qe)&&(qe=Ut.y)}var Kt=Pe-oe,_r=qe-ge,Vr=Math.min(Kt,_r),Or=Vr/2,dn=new bg([],XF);if(Vr===0)return new i(oe,ge);for(var jn=oe;jnii.d||!ii.d)&&(ii=Ai,V&&console.log(\"found best %d after %d probes\",Math.round(1e4*Ai.d)/1e4,Vi)),!(Ai.max-ii.d<=k)&&(Or=Ai.h/2,dn.push(new wg(Ai.p.x-Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y-Or,Or,C)),dn.push(new wg(Ai.p.x-Or,Ai.p.y+Or,Or,C)),dn.push(new wg(Ai.p.x+Or,Ai.p.y+Or,Or,C)),Vi+=4)}return V&&(console.log(\"num probes: \"+Vi),console.log(\"best distance: \"+ii.d)),ii.p}function XF(C,k){return k.max-C.max}function wg(C,k,V,oe){this.p=new i(C,k),this.h=V,this.d=ZF(this.p,oe),this.max=this.d+this.h*Math.SQRT2}function ZF(C,k){for(var V=!1,oe=1/0,ge=0;geC.y!=Kt.y>C.y&&C.x<(Kt.x-Ut.x)*(C.y-Ut.y)/(Kt.y-Ut.y)+Ut.x&&(V=!V),oe=Math.min(oe,$d(C,Ut,Kt))}return(V?1:-1)*Math.sqrt(oe)}function YF(C){for(var k=0,V=0,oe=0,ge=C[0],Pe=0,qe=ge.length,ft=qe-1;Pe=$i||Vd.y<0||Vd.y>=$i||$F(C,Vd,Cg,V,oe,ge,ko,C.layers[0],C.collisionBoxArray,k.index,k.sourceLayerIndex,C.index,ii,Yi,Ua,Pt,Ai,ga,Co,Or,k,Pe,Ut,Kt,qe)};if(so===\"line\")for(var Gs=0,Ts=oS(k.geometry,0,0,$i,$i);Gs1){var Gf=VF(ef,Ga,V.vertical||dn,oe,jn,Vi);Gf&&Do(ef,Gf)}}else if(k.type===\"Polygon\")for(var gf=0,Rh=fg(k.geometry,0);gf_p&&U(C.layerIds[0]+': Value for \"text-size\" is >= '+Uy+'. Reduce your \"text-size\".')):mi.kind===\"composite\"&&(ii=[yh*Or.compositeTextSizes[0].evaluate(qe,{},dn),yh*Or.compositeTextSizes[1].evaluate(qe,{},dn)],(ii[0]>_p||ii[1]>_p)&&U(C.layerIds[0]+': Value for \"text-size\" is >= '+Uy+'. Reduce your \"text-size\".')),C.addSymbols(C.text,jn,ii,ft,Pe,qe,Ut,k,Pt.lineStartIndex,Pt.lineLength,Vr,dn);for(var Vi=0,Ai=Kt;Vi_p&&U(C.layerIds[0]+': Value for \"icon-size\" is >= '+Uy+'. Reduce your \"icon-size\".')):Gh.kind===\"composite\"&&(Lf=[yh*Yi.compositeIconSizes[0].evaluate(ji,{},Ga),yh*Yi.compositeIconSizes[1].evaluate(ji,{},Ga)],(Lf[0]>_p||Lf[1]>_p)&&U(C.layerIds[0]+': Value for \"icon-size\" is >= '+Uy+'. Reduce your \"icon-size\".')),C.addSymbols(C.icon,Wf,Lf,Ai,Vi,ji,!1,k,so.lineStartIndex,so.lineLength,-1,Ga),Ll=C.icon.placedSymbolArray.length-1,Hh&&(Ts=Hh.length*4,C.addSymbols(C.icon,Hh,Lf,Ai,Vi,ji,Vh.vertical,k,so.lineStartIndex,so.lineLength,-1,Ga),Pl=C.icon.placedSymbolArray.length-1)}for(var Wh in oe.horizontal){var Ad=oe.horizontal[Wh];if(!xo){Su=ye(Ad.text);var Wv=ft.layout.get(\"text-rotate\").evaluate(ji,{},Ga);xo=new B1(Pt,k,Ut,Kt,_r,Ad,Vr,Or,dn,Wv)}var bp=Ad.positionedLines.length===1;if(kl+=cS(C,k,Ad,Pe,ft,dn,ji,jn,so,oe.vertical?Vh.horizontal:Vh.horizontalOnly,bp?Object.keys(oe.horizontal):[Wh],bl,Ll,Yi,Ga),bp)break}oe.vertical&&(du+=cS(C,k,oe.vertical,Pe,ft,dn,ji,jn,so,Vh.vertical,[\"vertical\"],bl,Pl,Yi,Ga));var wp=xo?xo.boxStartIndex:C.collisionBoxArray.length,Tp=xo?xo.boxEndIndex:C.collisionBoxArray.length,Cg=ko?ko.boxStartIndex:C.collisionBoxArray.length,Vd=ko?ko.boxEndIndex:C.collisionBoxArray.length,q1=Ss?Ss.boxStartIndex:C.collisionBoxArray.length,fw=Ss?Ss.boxEndIndex:C.collisionBoxArray.length,H1=Do?Do.boxStartIndex:C.collisionBoxArray.length,hw=Do?Do.boxEndIndex:C.collisionBoxArray.length,Ld=-1,kg=function(qy,ES){return qy&&qy.circleDiameter?Math.max(qy.circleDiameter,ES):ES};Ld=kg(xo,Ld),Ld=kg(ko,Ld),Ld=kg(Ss,Ld),Ld=kg(Do,Ld);var G1=Ld>-1?1:0;G1&&(Ld*=Ua/Gi),C.glyphOffsetArray.length>=hu.MAX_GLYPHS&&U(\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\"),ji.sortKey!==void 0&&C.addToSortKeyRanges(C.symbolInstances.length,ji.sortKey),C.symbolInstances.emplaceBack(k.x,k.y,bl.right>=0?bl.right:-1,bl.center>=0?bl.center:-1,bl.left>=0?bl.left:-1,bl.vertical||-1,Ll,Pl,Su,wp,Tp,Cg,Vd,q1,fw,H1,hw,Ut,kl,du,Gs,Ts,G1,0,Vr,Uu,Vc,Ld)}function QF(C,k,V,oe){var ge=C.compareText;if(!(k in ge))ge[k]=[];else for(var Pe=ge[k],qe=Pe.length-1;qe>=0;qe--)if(oe.dist(Pe[qe])0)&&(qe.value.kind!==\"constant\"||qe.value.value.length>0),Kt=Pt.value.kind!==\"constant\"||!!Pt.value.value||Object.keys(Pt.parameters).length>0,_r=Pe.get(\"symbol-sort-key\");if(this.features=[],!(!Ut&&!Kt)){for(var Vr=V.iconDependencies,Or=V.glyphDependencies,dn=V.availableImages,jn=new ua(this.zoom),mi=0,ii=k;mi=0;for(var du=0,Ll=Co.sections;du=0;Pt--)qe[Pt]={x:V[Pt].x,y:V[Pt].y,tileUnitDistanceFromAnchor:Pe},Pt>0&&(Pe+=V[Pt-1].dist(V[Pt]));for(var Ut=0;Ut0},hu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},hu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},hu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},hu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},hu.prototype.addIndicesForPlacedSymbol=function(k,V){for(var oe=k.placedSymbolArray.get(V),ge=oe.vertexStartIndex+oe.numGlyphs*4,Pe=oe.vertexStartIndex;Pe1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(k),this.sortedAngle=k,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var oe=0,ge=this.symbolInstanceIndexes;oe=0&&Ut.indexOf(ft)===Pt&&V.addIndicesForPlacedSymbol(V.text,ft)}),qe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,qe.verticalPlacedTextSymbolIndex),qe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.placedIconSymbolIndex),qe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,qe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},de(\"SymbolBucket\",hu,{omit:[\"layers\",\"collisionBoxArray\",\"features\",\"compareText\"]}),hu.MAX_GLYPHS=65535,hu.addDynamicAttributes=ow;function nO(C,k){return k.replace(/{([^{}]+)}/g,function(V,oe){return oe in C?String(C[oe]):\"\"})}var iO=new Fi({\"symbol-placement\":new tr(Mi.layout_symbol[\"symbol-placement\"]),\"symbol-spacing\":new tr(Mi.layout_symbol[\"symbol-spacing\"]),\"symbol-avoid-edges\":new tr(Mi.layout_symbol[\"symbol-avoid-edges\"]),\"symbol-sort-key\":new cn(Mi.layout_symbol[\"symbol-sort-key\"]),\"symbol-z-order\":new tr(Mi.layout_symbol[\"symbol-z-order\"]),\"icon-allow-overlap\":new tr(Mi.layout_symbol[\"icon-allow-overlap\"]),\"icon-ignore-placement\":new tr(Mi.layout_symbol[\"icon-ignore-placement\"]),\"icon-optional\":new tr(Mi.layout_symbol[\"icon-optional\"]),\"icon-rotation-alignment\":new tr(Mi.layout_symbol[\"icon-rotation-alignment\"]),\"icon-size\":new cn(Mi.layout_symbol[\"icon-size\"]),\"icon-text-fit\":new tr(Mi.layout_symbol[\"icon-text-fit\"]),\"icon-text-fit-padding\":new tr(Mi.layout_symbol[\"icon-text-fit-padding\"]),\"icon-image\":new cn(Mi.layout_symbol[\"icon-image\"]),\"icon-rotate\":new cn(Mi.layout_symbol[\"icon-rotate\"]),\"icon-padding\":new tr(Mi.layout_symbol[\"icon-padding\"]),\"icon-keep-upright\":new tr(Mi.layout_symbol[\"icon-keep-upright\"]),\"icon-offset\":new cn(Mi.layout_symbol[\"icon-offset\"]),\"icon-anchor\":new cn(Mi.layout_symbol[\"icon-anchor\"]),\"icon-pitch-alignment\":new tr(Mi.layout_symbol[\"icon-pitch-alignment\"]),\"text-pitch-alignment\":new tr(Mi.layout_symbol[\"text-pitch-alignment\"]),\"text-rotation-alignment\":new tr(Mi.layout_symbol[\"text-rotation-alignment\"]),\"text-field\":new cn(Mi.layout_symbol[\"text-field\"]),\"text-font\":new cn(Mi.layout_symbol[\"text-font\"]),\"text-size\":new cn(Mi.layout_symbol[\"text-size\"]),\"text-max-width\":new cn(Mi.layout_symbol[\"text-max-width\"]),\"text-line-height\":new tr(Mi.layout_symbol[\"text-line-height\"]),\"text-letter-spacing\":new cn(Mi.layout_symbol[\"text-letter-spacing\"]),\"text-justify\":new cn(Mi.layout_symbol[\"text-justify\"]),\"text-radial-offset\":new cn(Mi.layout_symbol[\"text-radial-offset\"]),\"text-variable-anchor\":new tr(Mi.layout_symbol[\"text-variable-anchor\"]),\"text-anchor\":new cn(Mi.layout_symbol[\"text-anchor\"]),\"text-max-angle\":new tr(Mi.layout_symbol[\"text-max-angle\"]),\"text-writing-mode\":new tr(Mi.layout_symbol[\"text-writing-mode\"]),\"text-rotate\":new cn(Mi.layout_symbol[\"text-rotate\"]),\"text-padding\":new tr(Mi.layout_symbol[\"text-padding\"]),\"text-keep-upright\":new tr(Mi.layout_symbol[\"text-keep-upright\"]),\"text-transform\":new cn(Mi.layout_symbol[\"text-transform\"]),\"text-offset\":new cn(Mi.layout_symbol[\"text-offset\"]),\"text-allow-overlap\":new tr(Mi.layout_symbol[\"text-allow-overlap\"]),\"text-ignore-placement\":new tr(Mi.layout_symbol[\"text-ignore-placement\"]),\"text-optional\":new tr(Mi.layout_symbol[\"text-optional\"])}),aO=new Fi({\"icon-opacity\":new cn(Mi.paint_symbol[\"icon-opacity\"]),\"icon-color\":new cn(Mi.paint_symbol[\"icon-color\"]),\"icon-halo-color\":new cn(Mi.paint_symbol[\"icon-halo-color\"]),\"icon-halo-width\":new cn(Mi.paint_symbol[\"icon-halo-width\"]),\"icon-halo-blur\":new cn(Mi.paint_symbol[\"icon-halo-blur\"]),\"icon-translate\":new tr(Mi.paint_symbol[\"icon-translate\"]),\"icon-translate-anchor\":new tr(Mi.paint_symbol[\"icon-translate-anchor\"]),\"text-opacity\":new cn(Mi.paint_symbol[\"text-opacity\"]),\"text-color\":new cn(Mi.paint_symbol[\"text-color\"],{runtimeType:Ps,getOverride:function(C){return C.textColor},hasOverride:function(C){return!!C.textColor}}),\"text-halo-color\":new cn(Mi.paint_symbol[\"text-halo-color\"]),\"text-halo-width\":new cn(Mi.paint_symbol[\"text-halo-width\"]),\"text-halo-blur\":new cn(Mi.paint_symbol[\"text-halo-blur\"]),\"text-translate\":new tr(Mi.paint_symbol[\"text-translate\"]),\"text-translate-anchor\":new tr(Mi.paint_symbol[\"text-translate-anchor\"])}),sw={paint:aO,layout:iO},Mg=function(k){this.type=k.property.overrides?k.property.overrides.runtimeType:wl,this.defaultValue=k};Mg.prototype.evaluate=function(k){if(k.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(k.formattedSection))return V.getOverride(k.formattedSection)}return k.feature&&k.featureState?this.defaultValue.evaluate(k.feature,k.featureState):this.defaultValue.property.specification.default},Mg.prototype.eachChild=function(k){if(!this.defaultValue.isConstant()){var V=this.defaultValue.value;k(V._styleExpression.expression)}},Mg.prototype.outputDefined=function(){return!1},Mg.prototype.serialize=function(){return null},de(\"FormatSectionOverride\",Mg,{omit:[\"defaultValue\"]});var oO=function(C){function k(V){C.call(this,V,sw)}return C&&(k.__proto__=C),k.prototype=Object.create(C&&C.prototype),k.prototype.constructor=k,k.prototype.recalculate=function(oe,ge){if(C.prototype.recalculate.call(this,oe,ge),this.layout.get(\"icon-rotation-alignment\")===\"auto\"&&(this.layout.get(\"symbol-placement\")!==\"point\"?this.layout._values[\"icon-rotation-alignment\"]=\"map\":this.layout._values[\"icon-rotation-alignment\"]=\"viewport\"),this.layout.get(\"text-rotation-alignment\")===\"auto\"&&(this.layout.get(\"symbol-placement\")!==\"point\"?this.layout._values[\"text-rotation-alignment\"]=\"map\":this.layout._values[\"text-rotation-alignment\"]=\"viewport\"),this.layout.get(\"text-pitch-alignment\")===\"auto\"&&(this.layout._values[\"text-pitch-alignment\"]=this.layout.get(\"text-rotation-alignment\")),this.layout.get(\"icon-pitch-alignment\")===\"auto\"&&(this.layout._values[\"icon-pitch-alignment\"]=this.layout.get(\"icon-rotation-alignment\")),this.layout.get(\"symbol-placement\")===\"point\"){var Pe=this.layout.get(\"text-writing-mode\");if(Pe){for(var qe=[],ft=0,Pt=Pe;ft\",targetMapId:ge,sourceMapId:qe.mapId})}}},Sg.prototype.receive=function(k){var V=k.data,oe=V.id;if(oe&&!(V.targetMapId&&this.mapId!==V.targetMapId))if(V.type===\"\"){delete this.tasks[oe];var ge=this.cancelCallbacks[oe];delete this.cancelCallbacks[oe],ge&&ge()}else se()||V.mustQueue?(this.tasks[oe]=V,this.taskQueue.push(oe),this.invoker.trigger()):this.processTask(oe,V)},Sg.prototype.process=function(){if(this.taskQueue.length){var k=this.taskQueue.shift(),V=this.tasks[k];delete this.tasks[k],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(k,V)}},Sg.prototype.processTask=function(k,V){var oe=this;if(V.type===\"\"){var ge=this.callbacks[k];delete this.callbacks[k],ge&&(V.error?ge(Tt(V.error)):ge(null,Tt(V.data)))}else{var Pe=!1,qe=$(this.globalScope)?void 0:[],ft=V.hasCallback?function(Vr,Or){Pe=!0,delete oe.cancelCallbacks[k],oe.target.postMessage({id:k,type:\"\",sourceMapId:oe.mapId,error:Vr?mt(Vr):null,data:mt(Or,qe)},qe)}:function(Vr){Pe=!0},Pt=null,Ut=Tt(V.data);if(this.parent[V.type])Pt=this.parent[V.type](V.sourceMapId,Ut,ft);else if(this.parent.getWorkerSource){var Kt=V.type.split(\".\"),_r=this.parent.getWorkerSource(V.sourceMapId,Kt[0],Ut.source);Pt=_r[Kt[1]](Ut,ft)}else ft(new Error(\"Could not find function \"+V.type));!Pe&&Pt&&Pt.cancel&&(this.cancelCallbacks[k]=Pt.cancel)}},Sg.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener(\"message\",this.receive,!1)};function gO(C,k,V){k=Math.pow(2,V)-k-1;var oe=mS(C*256,k*256,V),ge=mS((C+1)*256,(k+1)*256,V);return oe[0]+\",\"+oe[1]+\",\"+ge[0]+\",\"+ge[1]}function mS(C,k,V){var oe=2*Math.PI*6378137/256/Math.pow(2,V),ge=C*oe-2*Math.PI*6378137/2,Pe=k*oe-2*Math.PI*6378137/2;return[ge,Pe]}var pf=function(k,V){k&&(V?this.setSouthWest(k).setNorthEast(V):k.length===4?this.setSouthWest([k[0],k[1]]).setNorthEast([k[2],k[3]]):this.setSouthWest(k[0]).setNorthEast(k[1]))};pf.prototype.setNorthEast=function(k){return this._ne=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.setSouthWest=function(k){return this._sw=k instanceof ac?new ac(k.lng,k.lat):ac.convert(k),this},pf.prototype.extend=function(k){var V=this._sw,oe=this._ne,ge,Pe;if(k instanceof ac)ge=k,Pe=k;else if(k instanceof pf){if(ge=k._sw,Pe=k._ne,!ge||!Pe)return this}else{if(Array.isArray(k))if(k.length===4||k.every(Array.isArray)){var qe=k;return this.extend(pf.convert(qe))}else{var ft=k;return this.extend(ac.convert(ft))}return this}return!V&&!oe?(this._sw=new ac(ge.lng,ge.lat),this._ne=new ac(Pe.lng,Pe.lat)):(V.lng=Math.min(ge.lng,V.lng),V.lat=Math.min(ge.lat,V.lat),oe.lng=Math.max(Pe.lng,oe.lng),oe.lat=Math.max(Pe.lat,oe.lat)),this},pf.prototype.getCenter=function(){return new ac((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pf.prototype.getSouthWest=function(){return this._sw},pf.prototype.getNorthEast=function(){return this._ne},pf.prototype.getNorthWest=function(){return new ac(this.getWest(),this.getNorth())},pf.prototype.getSouthEast=function(){return new ac(this.getEast(),this.getSouth())},pf.prototype.getWest=function(){return this._sw.lng},pf.prototype.getSouth=function(){return this._sw.lat},pf.prototype.getEast=function(){return this._ne.lng},pf.prototype.getNorth=function(){return this._ne.lat},pf.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pf.prototype.toString=function(){return\"LngLatBounds(\"+this._sw.toString()+\", \"+this._ne.toString()+\")\"},pf.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pf.prototype.contains=function(k){var V=ac.convert(k),oe=V.lng,ge=V.lat,Pe=this._sw.lat<=ge&&ge<=this._ne.lat,qe=this._sw.lng<=oe&&oe<=this._ne.lng;return this._sw.lng>this._ne.lng&&(qe=this._sw.lng>=oe&&oe>=this._ne.lng),Pe&&qe},pf.convert=function(k){return!k||k instanceof pf?k:new pf(k)};var gS=63710088e-1,ac=function(k,V){if(isNaN(k)||isNaN(V))throw new Error(\"Invalid LngLat object: (\"+k+\", \"+V+\")\");if(this.lng=+k,this.lat=+V,this.lat>90||this.lat<-90)throw new Error(\"Invalid LngLat latitude value: must be between -90 and 90\")};ac.prototype.wrap=function(){return new ac(_(this.lng,-180,180),this.lat)},ac.prototype.toArray=function(){return[this.lng,this.lat]},ac.prototype.toString=function(){return\"LngLat(\"+this.lng+\", \"+this.lat+\")\"},ac.prototype.distanceTo=function(k){var V=Math.PI/180,oe=this.lat*V,ge=k.lat*V,Pe=Math.sin(oe)*Math.sin(ge)+Math.cos(oe)*Math.cos(ge)*Math.cos((k.lng-this.lng)*V),qe=gS*Math.acos(Math.min(Pe,1));return qe},ac.prototype.toBounds=function(k){k===void 0&&(k=0);var V=40075017,oe=360*k/V,ge=oe/Math.cos(Math.PI/180*this.lat);return new pf(new ac(this.lng-ge,this.lat-oe),new ac(this.lng+ge,this.lat+oe))},ac.convert=function(k){if(k instanceof ac)return k;if(Array.isArray(k)&&(k.length===2||k.length===3))return new ac(Number(k[0]),Number(k[1]));if(!Array.isArray(k)&&typeof k==\"object\"&&k!==null)return new ac(Number(\"lng\"in k?k.lng:k.lon),Number(k.lat));throw new Error(\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]\")};var yS=2*Math.PI*gS;function _S(C){return yS*Math.cos(C*Math.PI/180)}function xS(C){return(180+C)/360}function bS(C){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+C*Math.PI/360)))/360}function wS(C,k){return C/_S(k)}function yO(C){return C*360-180}function uw(C){var k=180-C*360;return 360/Math.PI*Math.atan(Math.exp(k*Math.PI/180))-90}function _O(C,k){return C*_S(uw(k))}function xO(C){return 1/Math.cos(C*Math.PI/180)}var xm=function(k,V,oe){oe===void 0&&(oe=0),this.x=+k,this.y=+V,this.z=+oe};xm.fromLngLat=function(k,V){V===void 0&&(V=0);var oe=ac.convert(k);return new xm(xS(oe.lng),bS(oe.lat),wS(V,oe.lat))},xm.prototype.toLngLat=function(){return new ac(yO(this.x),uw(this.y))},xm.prototype.toAltitude=function(){return _O(this.z,this.y)},xm.prototype.meterInMercatorCoordinateUnits=function(){return 1/yS*xO(uw(this.y))};var bm=function(k,V,oe){this.z=k,this.x=V,this.y=oe,this.key=Vy(0,k,k,V,oe)};bm.prototype.equals=function(k){return this.z===k.z&&this.x===k.x&&this.y===k.y},bm.prototype.url=function(k,V){var oe=gO(this.x,this.y,this.z),ge=bO(this.z,this.x,this.y);return k[(this.x+this.y)%k.length].replace(\"{prefix}\",(this.x%16).toString(16)+(this.y%16).toString(16)).replace(\"{z}\",String(this.z)).replace(\"{x}\",String(this.x)).replace(\"{y}\",String(V===\"tms\"?Math.pow(2,this.z)-this.y-1:this.y)).replace(\"{quadkey}\",ge).replace(\"{bbox-epsg-3857}\",oe)},bm.prototype.getTilePoint=function(k){var V=Math.pow(2,this.z);return new i((k.x*V-this.x)*$i,(k.y*V-this.y)*$i)},bm.prototype.toString=function(){return this.z+\"/\"+this.x+\"/\"+this.y};var TS=function(k,V){this.wrap=k,this.canonical=V,this.key=Vy(k,V.z,V.z,V.x,V.y)},mf=function(k,V,oe,ge,Pe){this.overscaledZ=k,this.wrap=V,this.canonical=new bm(oe,+ge,+Pe),this.key=Vy(V,k,oe,ge,Pe)};mf.prototype.equals=function(k){return this.overscaledZ===k.overscaledZ&&this.wrap===k.wrap&&this.canonical.equals(k.canonical)},mf.prototype.scaledTo=function(k){var V=this.canonical.z-k;return k>this.canonical.z?new mf(k,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new mf(k,this.wrap,k,this.canonical.x>>V,this.canonical.y>>V)},mf.prototype.calculateScaledKey=function(k,V){var oe=this.canonical.z-k;return k>this.canonical.z?Vy(this.wrap*+V,k,this.canonical.z,this.canonical.x,this.canonical.y):Vy(this.wrap*+V,k,k,this.canonical.x>>oe,this.canonical.y>>oe)},mf.prototype.isChildOf=function(k){if(k.wrap!==this.wrap)return!1;var V=this.canonical.z-k.canonical.z;return k.overscaledZ===0||k.overscaledZ>V&&k.canonical.y===this.canonical.y>>V},mf.prototype.children=function(k){if(this.overscaledZ>=k)return[new mf(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,oe=this.canonical.x*2,ge=this.canonical.y*2;return[new mf(V,this.wrap,V,oe,ge),new mf(V,this.wrap,V,oe+1,ge),new mf(V,this.wrap,V,oe,ge+1),new mf(V,this.wrap,V,oe+1,ge+1)]},mf.prototype.isLessThan=function(k){return this.wrapk.wrap?!1:this.overscaledZk.overscaledZ?!1:this.canonical.xk.canonical.x?!1:this.canonical.y0;Pe--)ge=1<=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError(\"out of range source coordinates for DEM data\");return(V+1)*this.stride+(k+1)},Hv.prototype._unpackMapbox=function(k,V,oe){return(k*256*256+V*256+oe)/10-1e4},Hv.prototype._unpackTerrarium=function(k,V,oe){return k*256+V+oe/256-32768},Hv.prototype.getPixels=function(){return new Sf({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Hv.prototype.backfillBorder=function(k,V,oe){if(this.dim!==k.dim)throw new Error(\"dem dimension mismatch\");var ge=V*this.dim,Pe=V*this.dim+this.dim,qe=oe*this.dim,ft=oe*this.dim+this.dim;switch(V){case-1:ge=Pe-1;break;case 1:Pe=ge+1;break}switch(oe){case-1:qe=ft-1;break;case 1:ft=qe+1;break}for(var Pt=-V*this.dim,Ut=-oe*this.dim,Kt=qe;Kt=0&&_r[3]>=0&&Pt.insert(ft,_r[0],_r[1],_r[2],_r[3])}},Gv.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new nv.VectorTile(new _o(this.rawTileData)).layers,this.sourceLayerCoder=new j1(this.vtLayers?Object.keys(this.vtLayers).sort():[\"_geojsonTileLayer\"])),this.vtLayers},Gv.prototype.query=function(k,V,oe,ge){var Pe=this;this.loadVTLayers();for(var qe=k.params||{},ft=$i/k.tileSize/k.scale,Pt=$e(qe.filter),Ut=k.queryGeometry,Kt=k.queryPadding*ft,_r=MS(Ut),Vr=this.grid.query(_r.minX-Kt,_r.minY-Kt,_r.maxX+Kt,_r.maxY+Kt),Or=MS(k.cameraQueryGeometry),dn=this.grid3D.query(Or.minX-Kt,Or.minY-Kt,Or.maxX+Kt,Or.maxY+Kt,function(ga,Ga,Ua,Co){return xd(k.cameraQueryGeometry,ga-Kt,Ga-Kt,Ua+Kt,Co+Kt)}),jn=0,mi=dn;jnge)Pe=!1;else if(!V)Pe=!0;else if(this.expirationTime=nn.maxzoom)&&nn.visibility!==\"none\"){c(Dr,this.zoom,Vt);var vn=Wn[nn.id]=nn.createBucket({index:Fn.bucketLayerIDs.length,layers:Dr,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:yt,sourceID:this.source});vn.populate(Pr,ri,this.tileID.canonical),Fn.bucketLayerIDs.push(Dr.map(function(wn){return wn.id}))}}}}var gn,kt,or,yr,on=e.mapObject(ri.glyphDependencies,function(wn){return Object.keys(wn).map(Number)});Object.keys(on).length?wr.send(\"getGlyphs\",{uid:this.uid,stacks:on},function(wn,Dn){gn||(gn=wn,kt=Dn,Bn.call(xn))}):kt={};var An=Object.keys(ri.iconDependencies);An.length?wr.send(\"getImages\",{icons:An,source:this.source,tileID:this.tileID,type:\"icons\"},function(wn,Dn){gn||(gn=wn,or=Dn,Bn.call(xn))}):or={};var Zn=Object.keys(ri.patternDependencies);Zn.length?wr.send(\"getImages\",{icons:Zn,source:this.source,tileID:this.tileID,type:\"patterns\"},function(wn,Dn){gn||(gn=wn,yr=Dn,Bn.call(xn))}):yr={},Bn.call(this);function Bn(){if(gn)return $r(gn);if(kt&&or&&yr){var wn=new a(kt),Dn=new e.ImageAtlas(or,yr);for(var Ui in Wn){var pi=Wn[Ui];pi instanceof e.SymbolBucket?(c(pi.layers,this.zoom,Vt),e.performSymbolLayout(pi,kt,wn.positions,or,Dn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):pi.hasPattern&&(pi instanceof e.LineBucket||pi instanceof e.FillBucket||pi instanceof e.FillExtrusionBucket)&&(c(pi.layers,this.zoom,Vt),pi.addFeatures(ri,this.tileID.canonical,Dn.patternPositions))}this.status=\"done\",$r(null,{buckets:e.values(Wn).filter(function(Ta){return!Ta.isEmpty()}),featureIndex:Fn,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:wn.image,imageAtlas:Dn,glyphMap:this.returnDependencies?kt:null,iconMap:this.returnDependencies?or:null,glyphPositions:this.returnDependencies?wn.positions:null})}}};function c(Zt,Ft,Ht){for(var Vt=new e.EvaluationParameters(Ft),wr=0,$r=Zt;wr<$r.length;wr+=1){var xn=$r[wr];xn.recalculate(Vt,Ht)}}function h(Zt,Ft){var Ht=e.getArrayBuffer(Zt.request,function(Vt,wr,$r,xn){Vt?Ft(Vt):wr&&Ft(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(wr)),rawData:wr,cacheControl:$r,expires:xn})});return function(){Ht.cancel(),Ft()}}var p=function(Ft,Ht,Vt,wr){this.actor=Ft,this.layerIndex=Ht,this.availableImages=Vt,this.loadVectorData=wr||h,this.loading={},this.loaded={}};p.prototype.loadTile=function(Ft,Ht){var Vt=this,wr=Ft.uid;this.loading||(this.loading={});var $r=Ft&&Ft.request&&Ft.request.collectResourceTiming?new e.RequestPerformance(Ft.request):!1,xn=this.loading[wr]=new s(Ft);xn.abort=this.loadVectorData(Ft,function(en,Fn){if(delete Vt.loading[wr],en||!Fn)return xn.status=\"done\",Vt.loaded[wr]=xn,Ht(en);var Wn=Fn.rawData,ri={};Fn.expires&&(ri.expires=Fn.expires),Fn.cacheControl&&(ri.cacheControl=Fn.cacheControl);var Sn={};if($r){var ui=$r.finish();ui&&(Sn.resourceTiming=JSON.parse(JSON.stringify(ui)))}xn.vectorTile=Fn.vectorTile,xn.parse(Fn.vectorTile,Vt.layerIndex,Vt.availableImages,Vt.actor,function(gt,yt){if(gt||!yt)return Ht(gt);Ht(null,e.extend({rawTileData:Wn.slice(0)},yt,ri,Sn))}),Vt.loaded=Vt.loaded||{},Vt.loaded[wr]=xn})},p.prototype.reloadTile=function(Ft,Ht){var Vt=this,wr=this.loaded,$r=Ft.uid,xn=this;if(wr&&wr[$r]){var en=wr[$r];en.showCollisionBoxes=Ft.showCollisionBoxes;var Fn=function(Wn,ri){var Sn=en.reloadCallback;Sn&&(delete en.reloadCallback,en.parse(en.vectorTile,xn.layerIndex,Vt.availableImages,xn.actor,Sn)),Ht(Wn,ri)};en.status===\"parsing\"?en.reloadCallback=Fn:en.status===\"done\"&&(en.vectorTile?en.parse(en.vectorTile,this.layerIndex,this.availableImages,this.actor,Fn):Fn())}},p.prototype.abortTile=function(Ft,Ht){var Vt=this.loading,wr=Ft.uid;Vt&&Vt[wr]&&Vt[wr].abort&&(Vt[wr].abort(),delete Vt[wr]),Ht()},p.prototype.removeTile=function(Ft,Ht){var Vt=this.loaded,wr=Ft.uid;Vt&&Vt[wr]&&delete Vt[wr],Ht()};var d=e.window.ImageBitmap,T=function(){this.loaded={}};T.prototype.loadTile=function(Ft,Ht){var Vt=Ft.uid,wr=Ft.encoding,$r=Ft.rawImageData,xn=d&&$r instanceof d?this.getImageData($r):$r,en=new e.DEMData(Vt,xn,wr);this.loaded=this.loaded||{},this.loaded[Vt]=en,Ht(null,en)},T.prototype.getImageData=function(Ft){(!this.offscreenCanvas||!this.offscreenCanvasContext)&&(this.offscreenCanvas=new OffscreenCanvas(Ft.width,Ft.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext(\"2d\")),this.offscreenCanvas.width=Ft.width,this.offscreenCanvas.height=Ft.height,this.offscreenCanvasContext.drawImage(Ft,0,0,Ft.width,Ft.height);var Ht=this.offscreenCanvasContext.getImageData(-1,-1,Ft.width+2,Ft.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:Ht.width,height:Ht.height},Ht.data)},T.prototype.removeTile=function(Ft){var Ht=this.loaded,Vt=Ft.uid;Ht&&Ht[Vt]&&delete Ht[Vt]};var l=_;function _(Zt,Ft){var Ht=Zt&&Zt.type,Vt;if(Ht===\"FeatureCollection\")for(Vt=0;Vt=0!=!!Ft&&Zt.reverse()}var E=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,m=function(Ft){this._feature=Ft,this.extent=e.EXTENT,this.type=Ft.type,this.properties=Ft.tags,\"id\"in Ft&&!isNaN(Ft.id)&&(this.id=parseInt(Ft.id,10))};m.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ft=[],Ht=0,Vt=this._feature.geometry;Ht\"u\"&&(Vt.push(en),Fn=Vt.length-1,$r[en]=Fn),Ft.writeVarint(Fn);var Wn=Ht.properties[en],ri=typeof Wn;ri!==\"string\"&&ri!==\"boolean\"&&ri!==\"number\"&&(Wn=JSON.stringify(Wn));var Sn=ri+\":\"+Wn,ui=xn[Sn];typeof ui>\"u\"&&(wr.push(Wn),ui=wr.length-1,xn[Sn]=ui),Ft.writeVarint(ui)}}function Q(Zt,Ft){return(Ft<<3)+(Zt&7)}function le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&ri>=Vt&&ri<=$r&&Fn.push(Zt[Pr]);var Ir=(Sn+1)%2;(Sn===0?Ht<=Wn:Vt<=ri)&&(en.push(gt),en.push(Pr-1),en.push(Ir)),(Sn===0?wr>=Wn:$r>=ri)&&(en.push(Pr+1),en.push(ui),en.push(Ir))}return Fn}function ae(Zt,Ft,Ht,Vt,wr,$r){for(var xn=[0,Zt.length-1,0],en=[],Fn=wr*wr;xn.length;){var Wn=xn.pop(),ri=xn.pop(),Sn=xn.pop();if(ri-Sn<=$r){for(var ui=Sn;ui<=ri;ui++)j(Ft[2*ui],Ft[2*ui+1],Ht,Vt)<=Fn&&en.push(Zt[ui]);continue}var gt=Math.floor((Sn+ri)/2),yt=Ft[2*gt],Pr=Ft[2*gt+1];j(yt,Pr,Ht,Vt)<=Fn&&en.push(Zt[gt]);var Ir=(Wn+1)%2;(Wn===0?Ht-wr<=yt:Vt-wr<=Pr)&&(xn.push(Sn),xn.push(gt-1),xn.push(Ir)),(Wn===0?Ht+wr>=yt:Vt+wr>=Pr)&&(xn.push(gt+1),xn.push(ri),xn.push(Ir))}return en}function j(Zt,Ft,Ht,Vt){var wr=Zt-Ht,$r=Ft-Vt;return wr*wr+$r*$r}var ee=function(Zt){return Zt[0]},ie=function(Zt){return Zt[1]},ce=function(Ft,Ht,Vt,wr,$r){Ht===void 0&&(Ht=ee),Vt===void 0&&(Vt=ie),wr===void 0&&(wr=64),$r===void 0&&($r=Float64Array),this.nodeSize=wr,this.points=Ft;for(var xn=Ft.length<65536?Uint16Array:Uint32Array,en=this.ids=new xn(Ft.length),Fn=this.coords=new $r(Ft.length*2),Wn=0;Wn=wr;ri--){var Sn=+Date.now();Fn=this._cluster(Fn,ri),this.trees[ri]=new ce(Fn,ue,Oe,xn,Float32Array),Vt&&console.log(\"z%d: %d clusters in %dms\",ri,Fn.length,+Date.now()-Sn)}return Vt&&console.timeEnd(\"total time\"),this},Te.prototype.getClusters=function(Ft,Ht){var Vt=((Ft[0]+180)%360+360)%360-180,wr=Math.max(-90,Math.min(90,Ft[1])),$r=Ft[2]===180?180:((Ft[2]+180)%360+360)%360-180,xn=Math.max(-90,Math.min(90,Ft[3]));if(Ft[2]-Ft[0]>=360)Vt=-180,$r=180;else if(Vt>$r){var en=this.getClusters([Vt,wr,180,xn],Ht),Fn=this.getClusters([-180,wr,$r,xn],Ht);return en.concat(Fn)}for(var Wn=this.trees[this._limitZoom(Ht)],ri=Wn.range(at(Vt),tt(xn),at($r),tt(wr)),Sn=[],ui=0,gt=ri;uiHt&&(Pr+=Lr.numPoints||1)}if(Pr>=Fn){for(var Ur=Sn.x*yt,Dr=Sn.y*yt,nn=en&&yt>1?this._map(Sn,!0):null,vn=(ri<<5)+(Ht+1)+this.points.length,gn=0,kt=gt;gn1)for(var An=0,Zn=gt;An>5},Te.prototype._getOriginZoom=function(Ft){return(Ft-this.points.length)%32},Te.prototype._map=function(Ft,Ht){if(Ft.numPoints)return Ht?pe({},Ft.properties):Ft.properties;var Vt=this.points[Ft.index].properties,wr=this.options.map(Vt);return Ht&&wr===Vt?pe({},wr):wr};function Ue(Zt,Ft,Ht,Vt,wr){return{x:Zt,y:Ft,zoom:1/0,id:Ht,parentId:-1,numPoints:Vt,properties:wr}}function Ie(Zt,Ft){var Ht=Zt.geometry.coordinates,Vt=Ht[0],wr=Ht[1];return{x:at(Vt),y:tt(wr),zoom:1/0,index:Ft,parentId:-1}}function Ye(Zt){return{type:\"Feature\",id:Zt.id,properties:it(Zt),geometry:{type:\"Point\",coordinates:[ut(Zt.x),Me(Zt.y)]}}}function it(Zt){var Ft=Zt.numPoints,Ht=Ft>=1e4?Math.round(Ft/1e3)+\"k\":Ft>=1e3?Math.round(Ft/100)/10+\"k\":Ft;return pe(pe({},Zt.properties),{cluster:!0,cluster_id:Zt.id,point_count:Ft,point_count_abbreviated:Ht})}function at(Zt){return Zt/360+.5}function tt(Zt){var Ft=Math.sin(Zt*Math.PI/180),Ht=.5-.25*Math.log((1+Ft)/(1-Ft))/Math.PI;return Ht<0?0:Ht>1?1:Ht}function ut(Zt){return(Zt-.5)*360}function Me(Zt){var Ft=(180-Zt*360)*Math.PI/180;return 360*Math.atan(Math.exp(Ft))/Math.PI-90}function pe(Zt,Ft){for(var Ht in Ft)Zt[Ht]=Ft[Ht];return Zt}function ue(Zt){return Zt.x}function Oe(Zt){return Zt.y}function rt(Zt,Ft,Ht,Vt){for(var wr=Vt,$r=Ht-Ft>>1,xn=Ht-Ft,en,Fn=Zt[Ft],Wn=Zt[Ft+1],ri=Zt[Ht],Sn=Zt[Ht+1],ui=Ft+3;uiwr)en=ui,wr=gt;else if(gt===wr){var yt=Math.abs(ui-$r);ytVt&&(en-Ft>3&&rt(Zt,Ft,en,Vt),Zt[en+2]=wr,Ht-en>3&&rt(Zt,en,Ht,Vt))}function ot(Zt,Ft,Ht,Vt,wr,$r){var xn=wr-Ht,en=$r-Vt;if(xn!==0||en!==0){var Fn=((Zt-Ht)*xn+(Ft-Vt)*en)/(xn*xn+en*en);Fn>1?(Ht=wr,Vt=$r):Fn>0&&(Ht+=xn*Fn,Vt+=en*Fn)}return xn=Zt-Ht,en=Ft-Vt,xn*xn+en*en}function et(Zt,Ft,Ht,Vt){var wr={id:typeof Zt>\"u\"?null:Zt,type:Ft,geometry:Ht,tags:Vt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return Lt(wr),wr}function Lt(Zt){var Ft=Zt.geometry,Ht=Zt.type;if(Ht===\"Point\"||Ht===\"MultiPoint\"||Ht===\"LineString\")Et(Zt,Ft);else if(Ht===\"Polygon\"||Ht===\"MultiLineString\")for(var Vt=0;Vt0&&(Vt?xn+=(wr*Wn-Fn*$r)/2:xn+=Math.sqrt(Math.pow(Fn-wr,2)+Math.pow(Wn-$r,2))),wr=Fn,$r=Wn}var ri=Ft.length-3;Ft[2]=1,rt(Ft,0,ri,Ht),Ft[ri+2]=1,Ft.size=Math.abs(xn),Ft.start=0,Ft.end=Ft.size}function Rr(Zt,Ft,Ht,Vt){for(var wr=0;wr1?1:Ht}function _t(Zt,Ft,Ht,Vt,wr,$r,xn,en){if(Ht/=Ft,Vt/=Ft,$r>=Ht&&xn=Vt)return null;for(var Fn=[],Wn=0;Wn=Ht&&yt=Vt)continue;var Pr=[];if(ui===\"Point\"||ui===\"MultiPoint\")Be(Sn,Pr,Ht,Vt,wr);else if(ui===\"LineString\")Ke(Sn,Pr,Ht,Vt,wr,!1,en.lineMetrics);else if(ui===\"MultiLineString\")Se(Sn,Pr,Ht,Vt,wr,!1);else if(ui===\"Polygon\")Se(Sn,Pr,Ht,Vt,wr,!0);else if(ui===\"MultiPolygon\")for(var Ir=0;Ir=Ht&&xn<=Vt&&(Ft.push(Zt[$r]),Ft.push(Zt[$r+1]),Ft.push(Zt[$r+2]))}}function Ke(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=je(Zt),Fn=wr===0?Ee:we,Wn=Zt.start,ri,Sn,ui=0;uiHt&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),xn&&(en.start=Wn+ri*Sn)):Mr>Vt?Lr=Ht&&(Sn=Fn(en,gt,yt,Ir,Tr,Ht),Ur=!0),Lr>Vt&&Mr<=Vt&&(Sn=Fn(en,gt,yt,Ir,Tr,Vt),Ur=!0),!$r&&Ur&&(xn&&(en.end=Wn+ri*Sn),Ft.push(en),en=je(Zt)),xn&&(Wn+=ri)}var Dr=Zt.length-3;gt=Zt[Dr],yt=Zt[Dr+1],Pr=Zt[Dr+2],Mr=wr===0?gt:yt,Mr>=Ht&&Mr<=Vt&&He(en,gt,yt,Pr),Dr=en.length-3,$r&&Dr>=3&&(en[Dr]!==en[0]||en[Dr+1]!==en[1])&&He(en,en[0],en[1],en[2]),en.length&&Ft.push(en)}function je(Zt){var Ft=[];return Ft.size=Zt.size,Ft.start=Zt.start,Ft.end=Zt.end,Ft}function Se(Zt,Ft,Ht,Vt,wr,$r){for(var xn=0;xnxn.maxX&&(xn.maxX=ri),Sn>xn.maxY&&(xn.maxY=Sn)}return xn}function Xt(Zt,Ft,Ht,Vt){var wr=Ft.geometry,$r=Ft.type,xn=[];if($r===\"Point\"||$r===\"MultiPoint\")for(var en=0;en0&&Ft.size<(wr?xn:Vt)){Ht.numPoints+=Ft.length/3;return}for(var en=[],Fn=0;Fnxn)&&(Ht.numSimplified++,en.push(Ft[Fn]),en.push(Ft[Fn+1])),Ht.numPoints++;wr&&ur(en,$r),Zt.push(en)}function ur(Zt,Ft){for(var Ht=0,Vt=0,wr=Zt.length,$r=wr-2;Vt0===Ft)for(Vt=0,wr=Zt.length;Vt24)throw new Error(\"maxZoom should be in the 0-24 range\");if(Ft.promoteId&&Ft.generateId)throw new Error(\"promoteId and generateId cannot be used together.\");var Vt=Bt(Zt,Ft);this.tiles={},this.tileCoords=[],Ht&&(console.timeEnd(\"preprocess data\"),console.log(\"index: maxZoom: %d, maxPoints: %d\",Ft.indexMaxZoom,Ft.indexMaxPoints),console.time(\"generate tiles\"),this.stats={},this.total=0),Vt=Le(Vt,Ft),Vt.length&&this.splitTile(Vt,0,0,0),Ht&&(Vt.length&&console.log(\"features: %d, points: %d\",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd(\"generate tiles\"),console.log(\"tiles generated:\",this.total,JSON.stringify(this.stats)))}Rn.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Rn.prototype.splitTile=function(Zt,Ft,Ht,Vt,wr,$r,xn){for(var en=[Zt,Ft,Ht,Vt],Fn=this.options,Wn=Fn.debug;en.length;){Vt=en.pop(),Ht=en.pop(),Ft=en.pop(),Zt=en.pop();var ri=1<1&&console.time(\"creation\"),ui=this.tiles[Sn]=Nt(Zt,Ft,Ht,Vt,Fn),this.tileCoords.push({z:Ft,x:Ht,y:Vt}),Wn)){Wn>1&&(console.log(\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\",Ft,Ht,Vt,ui.numFeatures,ui.numPoints,ui.numSimplified),console.timeEnd(\"creation\"));var gt=\"z\"+Ft;this.stats[gt]=(this.stats[gt]||0)+1,this.total++}if(ui.source=Zt,wr){if(Ft===Fn.maxZoom||Ft===wr)continue;var yt=1<1&&console.time(\"clipping\");var Pr=.5*Fn.buffer/Fn.extent,Ir=.5-Pr,Tr=.5+Pr,Mr=1+Pr,Lr,Ur,Dr,nn,vn,gn;Lr=Ur=Dr=nn=null,vn=_t(Zt,ri,Ht-Pr,Ht+Tr,0,ui.minX,ui.maxX,Fn),gn=_t(Zt,ri,Ht+Ir,Ht+Mr,0,ui.minX,ui.maxX,Fn),Zt=null,vn&&(Lr=_t(vn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),Ur=_t(vn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),vn=null),gn&&(Dr=_t(gn,ri,Vt-Pr,Vt+Tr,1,ui.minY,ui.maxY,Fn),nn=_t(gn,ri,Vt+Ir,Vt+Mr,1,ui.minY,ui.maxY,Fn),gn=null),Wn>1&&console.timeEnd(\"clipping\"),en.push(Lr||[],Ft+1,Ht*2,Vt*2),en.push(Ur||[],Ft+1,Ht*2,Vt*2+1),en.push(Dr||[],Ft+1,Ht*2+1,Vt*2),en.push(nn||[],Ft+1,Ht*2+1,Vt*2+1)}}},Rn.prototype.getTile=function(Zt,Ft,Ht){var Vt=this.options,wr=Vt.extent,$r=Vt.debug;if(Zt<0||Zt>24)return null;var xn=1<1&&console.log(\"drilling down to z%d-%d-%d\",Zt,Ft,Ht);for(var Fn=Zt,Wn=Ft,ri=Ht,Sn;!Sn&&Fn>0;)Fn--,Wn=Math.floor(Wn/2),ri=Math.floor(ri/2),Sn=this.tiles[Nn(Fn,Wn,ri)];return!Sn||!Sn.source?null:($r>1&&console.log(\"found parent tile z%d-%d-%d\",Fn,Wn,ri),$r>1&&console.time(\"drilling down\"),this.splitTile(Sn.source,Fn,Wn,ri,Zt,Ft,Ht),$r>1&&console.timeEnd(\"drilling down\"),this.tiles[en]?bt(this.tiles[en],wr):null)};function Nn(Zt,Ft,Ht){return((1<=0?0:ve.button},r.remove=function(ve){ve.parentNode&&ve.parentNode.removeChild(ve)};function d(ve,K,me){var te,ye,Ze,We=e.browser.devicePixelRatio>1?\"@2x\":\"\",lt=e.getJSON(K.transformRequest(K.normalizeSpriteURL(ve,We,\".json\"),e.ResourceType.SpriteJSON),function(xr,Fr){lt=null,Ze||(Ze=xr,te=Fr,Wt())}),Ct=e.getImage(K.transformRequest(K.normalizeSpriteURL(ve,We,\".png\"),e.ResourceType.SpriteImage),function(xr,Fr){Ct=null,Ze||(Ze=xr,ye=Fr,Wt())});function Wt(){if(Ze)me(Ze);else if(te&&ye){var xr=e.browser.getImageData(ye),Fr={};for(var Ar in te){var Gt=te[Ar],nr=Gt.width,mr=Gt.height,zr=Gt.x,Gr=Gt.y,Xr=Gt.sdf,fn=Gt.pixelRatio,sn=Gt.stretchX,Zr=Gt.stretchY,hn=Gt.content,qr=new e.RGBAImage({width:nr,height:mr});e.RGBAImage.copy(xr,qr,{x:zr,y:Gr},{x:0,y:0},{width:nr,height:mr}),Fr[Ar]={data:qr,pixelRatio:fn,sdf:Xr,stretchX:sn,stretchY:Zr,content:hn}}me(null,Fr)}}return{cancel:function(){lt&&(lt.cancel(),lt=null),Ct&&(Ct.cancel(),Ct=null)}}}function T(ve){var K=ve.userImage;if(K&&K.render){var me=K.render();if(me)return ve.data.replace(new Uint8Array(K.data.buffer)),!0}return!1}var l=1,_=function(ve){function K(){ve.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.isLoaded=function(){return this.loaded},K.prototype.setLoaded=function(te){if(this.loaded!==te&&(this.loaded=te,te)){for(var ye=0,Ze=this.requestors;ye=0?1.2:1))}b.prototype.draw=function(ve){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ve,this.buffer,this.middle);for(var K=this.ctx.getImageData(0,0,this.size,this.size),me=new Uint8ClampedArray(this.size*this.size),te=0;te65535){xr(new Error(\"glyphs > 65535 not supported\"));return}if(Gt.ranges[mr]){xr(null,{stack:Fr,id:Ar,glyph:nr});return}var zr=Gt.requests[mr];zr||(zr=Gt.requests[mr]=[],y.loadGlyphRange(Fr,mr,te.url,te.requestManager,function(Gr,Xr){if(Xr){for(var fn in Xr)te._doesCharSupportLocalGlyph(+fn)||(Gt.glyphs[+fn]=Xr[+fn]);Gt.ranges[mr]=!0}for(var sn=0,Zr=zr;sn1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=void 0,mr=Ze/te*(ye+1);if(Wt.isDash){var zr=ye-Math.abs(mr);nr=Math.sqrt(Gt*Gt+zr*zr)}else nr=ye-Math.sqrt(Gt*Gt+mr*mr);this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addRegularDash=function(K){for(var me=K.length-1;me>=0;--me){var te=K[me],ye=K[me+1];te.zeroLength?K.splice(me,1):ye&&ye.isDash===te.isDash&&(ye.left=te.left,K.splice(me,1))}var Ze=K[0],We=K[K.length-1];Ze.isDash===We.isDash&&(Ze.left=We.left-this.width,We.right=Ze.right+this.width);for(var lt=this.width*this.nextRow,Ct=0,Wt=K[Ct],xr=0;xr1&&(Wt=K[++Ct]);var Fr=Math.abs(xr-Wt.left),Ar=Math.abs(xr-Wt.right),Gt=Math.min(Fr,Ar),nr=Wt.isDash?Gt:-Gt;this.data[lt+xr]=Math.max(0,Math.min(255,nr+128))}},F.prototype.addDash=function(K,me){var te=me?7:0,ye=2*te+1;if(this.nextRow+ye>this.height)return e.warnOnce(\"LineAtlas out of space\"),null;for(var Ze=0,We=0;We=te.minX&&K.x=te.minY&&K.y0&&(xr[new e.OverscaledTileID(te.overscaledZ,lt,ye.z,We,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,te.wrap,ye.z,ye.x,ye.y-1).key]={backfilled:!1},xr[new e.OverscaledTileID(te.overscaledZ,Wt,ye.z,Ct,ye.y-1).key]={backfilled:!1}),ye.y+10&&(Ze.resourceTiming=te._resourceTiming,te._resourceTiming=[]),te.fire(new e.Event(\"data\",Ze))})},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setData=function(te){var ye=this;return this._data=te,this.fire(new e.Event(\"dataloading\",{dataType:\"source\"})),this._updateWorkerData(function(Ze){if(Ze){ye.fire(new e.ErrorEvent(Ze));return}var We={dataType:\"source\",sourceDataType:\"content\"};ye._collectResourceTiming&&ye._resourceTiming&&ye._resourceTiming.length>0&&(We.resourceTiming=ye._resourceTiming,ye._resourceTiming=[]),ye.fire(new e.Event(\"data\",We))}),this},K.prototype.getClusterExpansionZoom=function(te,ye){return this.actor.send(\"geojson.getClusterExpansionZoom\",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterChildren=function(te,ye){return this.actor.send(\"geojson.getClusterChildren\",{clusterId:te,source:this.id},ye),this},K.prototype.getClusterLeaves=function(te,ye,Ze,We){return this.actor.send(\"geojson.getClusterLeaves\",{source:this.id,clusterId:te,limit:ye,offset:Ze},We),this},K.prototype._updateWorkerData=function(te){var ye=this;this._loaded=!1;var Ze=e.extend({},this.workerOptions),We=this._data;typeof We==\"string\"?(Ze.request=this.map._requestManager.transformRequest(e.browser.resolveURL(We),e.ResourceType.Source),Ze.request.collectResourceTiming=this._collectResourceTiming):Ze.data=JSON.stringify(We),this.actor.send(this.type+\".loadData\",Ze,function(lt,Ct){ye._removed||Ct&&Ct.abandoned||(ye._loaded=!0,Ct&&Ct.resourceTiming&&Ct.resourceTiming[ye.id]&&(ye._resourceTiming=Ct.resourceTiming[ye.id].slice(0)),ye.actor.send(ye.type+\".coalesce\",{source:Ze.source},null),te(lt))})},K.prototype.loaded=function(){return this._loaded},K.prototype.loadTile=function(te,ye){var Ze=this,We=te.actor?\"reloadTile\":\"loadTile\";te.actor=this.actor;var lt={type:this.type,uid:te.uid,tileID:te.tileID,zoom:te.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};te.request=this.actor.send(We,lt,function(Ct,Wt){return delete te.request,te.unloadVectorData(),te.aborted?ye(null):Ct?ye(Ct):(te.loadVectorData(Wt,Ze.map.painter,We===\"reloadTile\"),ye(null))})},K.prototype.abortTile=function(te){te.request&&(te.request.cancel(),delete te.request),te.aborted=!0},K.prototype.unloadTile=function(te){te.unloadVectorData(),this.actor.send(\"removeTile\",{uid:te.uid,type:this.type,source:this.id})},K.prototype.onRemove=function(){this._removed=!0,this.actor.send(\"removeSource\",{type:this.type,source:this.id})},K.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},K.prototype.hasTransition=function(){return!1},K}(e.Evented),le=e.createLayout([{name:\"a_pos\",type:\"Int16\",components:2},{name:\"a_texture_pos\",type:\"Int16\",components:2}]),se=function(ve){function K(me,te,ye,Ze){ve.call(this),this.id=me,this.dispatcher=ye,this.coordinates=te.coordinates,this.type=\"image\",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ze),this.options=te}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(te,ye){var Ze=this;this._loaded=!1,this.fire(new e.Event(\"dataloading\",{dataType:\"source\"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),function(We,lt){Ze._loaded=!0,We?Ze.fire(new e.ErrorEvent(We)):lt&&(Ze.image=lt,te&&(Ze.coordinates=te),ye&&ye(),Ze._finishLoading())})},K.prototype.loaded=function(){return this._loaded},K.prototype.updateImage=function(te){var ye=this;return!this.image||!te.url?this:(this.options.url=te.url,this.load(te.coordinates,function(){ye.texture=null}),this)},K.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})))},K.prototype.onAdd=function(te){this.map=te,this.load()},K.prototype.setCoordinates=function(te){var ye=this;this.coordinates=te;var Ze=te.map(e.MercatorCoordinate.fromLngLat);this.tileID=fe(Ze),this.minzoom=this.maxzoom=this.tileID.z;var We=Ze.map(function(lt){return ye.tileID.getTilePoint(lt)._round()});return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(We[0].x,We[0].y,0,0),this._boundsArray.emplaceBack(We[1].x,We[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(We[3].x,We[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(We[2].x,We[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event(\"data\",{dataType:\"source\",sourceDataType:\"content\"})),this},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(te,this.image,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!==\"loaded\"&&(We.state=\"loaded\",We.texture=this.texture)}}},K.prototype.loadTile=function(te,ye){this.tileID&&this.tileID.equals(te.tileID.canonical)?(this.tiles[String(te.tileID.wrap)]=te,te.buckets={},ye(null)):(te.state=\"errored\",ye(null))},K.prototype.serialize=function(){return{type:\"image\",url:this.options.url,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return!1},K}(e.Evented);function fe(ve){for(var K=1/0,me=1/0,te=-1/0,ye=-1/0,Ze=0,We=ve;Zeye.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+this.id,null,\"Playback for this video can be set only between the \"+ye.start(0)+\" and \"+ye.end(0)+\"-second mark.\"))):this.video.currentTime=te}},K.prototype.getVideo=function(){return this.video},K.prototype.onAdd=function(te){this.map||(this.map=te,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},K.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var te=this.map.painter.context,ye=te.gl;this.boundsBuffer||(this.boundsBuffer=te.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE),ye.texSubImage2D(ye.TEXTURE_2D,0,0,0,ye.RGBA,ye.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(te,this.video,ye.RGBA),this.texture.bind(ye.LINEAR,ye.CLAMP_TO_EDGE));for(var Ze in this.tiles){var We=this.tiles[Ze];We.state!==\"loaded\"&&(We.state=\"loaded\",We.texture=this.texture)}}},K.prototype.serialize=function(){return{type:\"video\",urls:this.urls,coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this.video&&!this.video.paused},K}(se),$=function(ve){function K(me,te,ye,Ze){ve.call(this,me,te,ye,Ze),te.coordinates?(!Array.isArray(te.coordinates)||te.coordinates.length!==4||te.coordinates.some(function(We){return!Array.isArray(We)||We.length!==2||We.some(function(lt){return typeof lt!=\"number\"})}))&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'\"coordinates\" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'missing required property \"coordinates\"'))),te.animate&&typeof te.animate!=\"boolean\"&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'optional \"animate\" property must be a boolean value'))),te.canvas?typeof te.canvas!=\"string\"&&!(te.canvas instanceof e.window.HTMLCanvasElement)&&this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError(\"sources.\"+me,null,'missing required property \"canvas\"'))),this.options=te,this.animate=te.animate!==void 0?te.animate:!0}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new e.ErrorEvent(new Error(\"Canvas dimensions cannot be less than or equal to zero.\")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},K.prototype.getCanvas=function(){return this.canvas},K.prototype.onAdd=function(te){this.map=te,this.load(),this.canvas&&this.animate&&this.play()},K.prototype.onRemove=function(){this.pause()},K.prototype.prepare=function(){var te=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,te=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,te=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var ye=this.map.painter.context,Ze=ye.gl;this.boundsBuffer||(this.boundsBuffer=ye.createVertexBuffer(this._boundsArray,le.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(te||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(ye,this.canvas,Ze.RGBA,{premultiply:!0});for(var We in this.tiles){var lt=this.tiles[We];lt.state!==\"loaded\"&&(lt.state=\"loaded\",lt.texture=this.texture)}}},K.prototype.serialize=function(){return{type:\"canvas\",coordinates:this.coordinates}},K.prototype.hasTransition=function(){return this._playing},K.prototype._hasInvalidDimensions=function(){for(var te=0,ye=[this.canvas.width,this.canvas.height];tethis.max){var lt=this._getAndRemoveByKey(this.order[0]);lt&&this.onRemove(lt)}return this},Ie.prototype.has=function(K){return K.wrapped().key in this.data},Ie.prototype.getAndRemove=function(K){return this.has(K)?this._getAndRemoveByKey(K.wrapped().key):null},Ie.prototype._getAndRemoveByKey=function(K){var me=this.data[K].shift();return me.timeout&&clearTimeout(me.timeout),this.data[K].length===0&&delete this.data[K],this.order.splice(this.order.indexOf(K),1),me.value},Ie.prototype.getByKey=function(K){var me=this.data[K];return me?me[0].value:null},Ie.prototype.get=function(K){if(!this.has(K))return null;var me=this.data[K.wrapped().key][0];return me.value},Ie.prototype.remove=function(K,me){if(!this.has(K))return this;var te=K.wrapped().key,ye=me===void 0?0:this.data[te].indexOf(me),Ze=this.data[te][ye];return this.data[te].splice(ye,1),Ze.timeout&&clearTimeout(Ze.timeout),this.data[te].length===0&&delete this.data[te],this.onRemove(Ze.value),this.order.splice(this.order.indexOf(te),1),this},Ie.prototype.setMaxSize=function(K){for(this.max=K;this.order.length>this.max;){var me=this._getAndRemoveByKey(this.order[0]);me&&this.onRemove(me)}return this},Ie.prototype.filter=function(K){var me=[];for(var te in this.data)for(var ye=0,Ze=this.data[te];ye1||(Math.abs(Fr)>1&&(Math.abs(Fr+Gt)===1?Fr+=Gt:Math.abs(Fr-Gt)===1&&(Fr-=Gt)),!(!xr.dem||!Wt.dem)&&(Wt.dem.backfillBorder(xr.dem,Fr,Ar),Wt.neighboringTiles&&Wt.neighboringTiles[nr]&&(Wt.neighboringTiles[nr].backfilled=!0)))}},K.prototype.getTile=function(te){return this.getTileByID(te.key)},K.prototype.getTileByID=function(te){return this._tiles[te]},K.prototype._retainLoadedChildren=function(te,ye,Ze,We){for(var lt in this._tiles){var Ct=this._tiles[lt];if(!(We[lt]||!Ct.hasData()||Ct.tileID.overscaledZ<=ye||Ct.tileID.overscaledZ>Ze)){for(var Wt=Ct.tileID;Ct&&Ct.tileID.overscaledZ>ye+1;){var xr=Ct.tileID.scaledTo(Ct.tileID.overscaledZ-1);Ct=this._tiles[xr.key],Ct&&Ct.hasData()&&(Wt=xr)}for(var Fr=Wt;Fr.overscaledZ>ye;)if(Fr=Fr.scaledTo(Fr.overscaledZ-1),te[Fr.key]){We[Wt.key]=Wt;break}}}},K.prototype.findLoadedParent=function(te,ye){if(te.key in this._loadedParentTiles){var Ze=this._loadedParentTiles[te.key];return Ze&&Ze.tileID.overscaledZ>=ye?Ze:null}for(var We=te.overscaledZ-1;We>=ye;We--){var lt=te.scaledTo(We),Ct=this._getLoadedTile(lt);if(Ct)return Ct}},K.prototype._getLoadedTile=function(te){var ye=this._tiles[te.key];if(ye&&ye.hasData())return ye;var Ze=this._cache.getByKey(te.wrapped().key);return Ze},K.prototype.updateCacheSize=function(te){var ye=Math.ceil(te.width/this._source.tileSize)+1,Ze=Math.ceil(te.height/this._source.tileSize)+1,We=ye*Ze,lt=5,Ct=Math.floor(We*lt),Wt=typeof this._maxTileCacheSize==\"number\"?Math.min(this._maxTileCacheSize,Ct):Ct;this._cache.setMaxSize(Wt)},K.prototype.handleWrapJump=function(te){var ye=this._prevLng===void 0?te:this._prevLng,Ze=te-ye,We=Ze/360,lt=Math.round(We);if(this._prevLng=te,lt){var Ct={};for(var Wt in this._tiles){var xr=this._tiles[Wt];xr.tileID=xr.tileID.unwrapTo(xr.tileID.wrap+lt),Ct[xr.tileID.key]=xr}this._tiles=Ct;for(var Fr in this._timers)clearTimeout(this._timers[Fr]),delete this._timers[Fr];for(var Ar in this._tiles){var Gt=this._tiles[Ar];this._setTileReloadTimer(Ar,Gt)}}},K.prototype.update=function(te){var ye=this;if(this.transform=te,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(te),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ze;this.used?this._source.tileID?Ze=te.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(vi){return new e.OverscaledTileID(vi.canonical.z,vi.wrap,vi.canonical.z,vi.canonical.x,vi.canonical.y)}):(Ze=te.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ze=Ze.filter(function(vi){return ye._source.hasTile(vi)}))):Ze=[];var We=te.coveringZoomLevel(this._source),lt=Math.max(We-K.maxOverzooming,this._source.minzoom),Ct=Math.max(We+K.maxUnderzooming,this._source.minzoom),Wt=this._updateRetainedTiles(Ze,We);if(Fn(this._source.type)){for(var xr={},Fr={},Ar=Object.keys(Wt),Gt=0,nr=Ar;Gtthis._source.maxzoom){var Xr=zr.children(this._source.maxzoom)[0],fn=this.getTile(Xr);if(fn&&fn.hasData()){Ze[Xr.key]=Xr;continue}}else{var sn=zr.children(this._source.maxzoom);if(Ze[sn[0].key]&&Ze[sn[1].key]&&Ze[sn[2].key]&&Ze[sn[3].key])continue}for(var Zr=Gr.wasRequested(),hn=zr.overscaledZ-1;hn>=lt;--hn){var qr=zr.scaledTo(hn);if(We[qr.key]||(We[qr.key]=!0,Gr=this.getTile(qr),!Gr&&Zr&&(Gr=this._addTile(qr)),Gr&&(Ze[qr.key]=qr,Zr=Gr.wasRequested(),Gr.hasData())))break}}}return Ze},K.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var te in this._tiles){for(var ye=[],Ze=void 0,We=this._tiles[te].tileID;We.overscaledZ>0;){if(We.key in this._loadedParentTiles){Ze=this._loadedParentTiles[We.key];break}ye.push(We.key);var lt=We.scaledTo(We.overscaledZ-1);if(Ze=this._getLoadedTile(lt),Ze)break;We=lt}for(var Ct=0,Wt=ye;Ct0)&&(ye.hasData()&&ye.state!==\"reloading\"?this._cache.add(ye.tileID,ye,ye.getExpiryTimeout()):(ye.aborted=!0,this._abortTile(ye),this._unloadTile(ye))))},K.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var te in this._tiles)this._removeTile(te);this._cache.reset()},K.prototype.tilesIn=function(te,ye,Ze){var We=this,lt=[],Ct=this.transform;if(!Ct)return lt;for(var Wt=Ze?Ct.getCameraQueryGeometry(te):te,xr=te.map(function(hn){return Ct.pointCoordinate(hn)}),Fr=Wt.map(function(hn){return Ct.pointCoordinate(hn)}),Ar=this.getIds(),Gt=1/0,nr=1/0,mr=-1/0,zr=-1/0,Gr=0,Xr=Fr;Gr=0&&Ji[1].y+vi>=0){var Pi=xr.map(function(ja){return kn.getTilePoint(ja)}),ea=Fr.map(function(ja){return kn.getTilePoint(ja)});lt.push({tile:qr,tileID:kn,queryGeometry:Pi,cameraQueryGeometry:ea,scale:Xn})}}},Zr=0;Zr=e.browser.now())return!0}return!1},K.prototype.setFeatureState=function(te,ye,Ze){te=te||\"_geojsonTileLayer\",this._state.updateState(te,ye,Ze)},K.prototype.removeFeatureState=function(te,ye,Ze){te=te||\"_geojsonTileLayer\",this._state.removeFeatureState(te,ye,Ze)},K.prototype.getFeatureState=function(te,ye){return te=te||\"_geojsonTileLayer\",this._state.getState(te,ye)},K.prototype.setDependencies=function(te,ye,Ze){var We=this._tiles[te];We&&We.setDependencies(ye,Ze)},K.prototype.reloadTilesForDependencies=function(te,ye){for(var Ze in this._tiles){var We=this._tiles[Ze];We.hasDependency(te,ye)&&this._reloadTile(Ze,\"reloading\")}this._cache.filter(function(lt){return!lt.hasDependency(te,ye)})},K}(e.Evented);xn.maxOverzooming=10,xn.maxUnderzooming=3;function en(ve,K){var me=Math.abs(ve.wrap*2)-+(ve.wrap<0),te=Math.abs(K.wrap*2)-+(K.wrap<0);return ve.overscaledZ-K.overscaledZ||te-me||K.canonical.y-ve.canonical.y||K.canonical.x-ve.canonical.x}function Fn(ve){return ve===\"raster\"||ve===\"image\"||ve===\"video\"}function Wn(){return new e.window.Worker(Us.workerUrl)}var ri=\"mapboxgl_preloaded_worker_pool\",Sn=function(){this.active={}};Sn.prototype.acquire=function(K){if(!this.workers)for(this.workers=[];this.workers.length0?(ye-We)/lt:0;return this.points[Ze].mult(1-Ct).add(this.points[me].mult(Ct))};var wn=function(K,me,te){var ye=this.boxCells=[],Ze=this.circleCells=[];this.xCellCount=Math.ceil(K/te),this.yCellCount=Math.ceil(me/te);for(var We=0;Wethis.width||ye<0||me>this.height)return Ze?!1:[];var lt=[];if(K<=0&&me<=0&&this.width<=te&&this.height<=ye){if(Ze)return!0;for(var Ct=0;Ct0:lt}},wn.prototype._queryCircle=function(K,me,te,ye,Ze){var We=K-te,lt=K+te,Ct=me-te,Wt=me+te;if(lt<0||We>this.width||Wt<0||Ct>this.height)return ye?!1:[];var xr=[],Fr={hitTest:ye,circle:{x:K,y:me,radius:te},seenUids:{box:{},circle:{}}};return this._forEachCell(We,Ct,lt,Wt,this._queryCellCircle,xr,Fr,Ze),ye?xr.length>0:xr},wn.prototype.query=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!1,Ze)},wn.prototype.hitTest=function(K,me,te,ye,Ze){return this._query(K,me,te,ye,!0,Ze)},wn.prototype.hitTestCircle=function(K,me,te,ye){return this._queryCircle(K,me,te,!0,ye)},wn.prototype._queryCell=function(K,me,te,ye,Ze,We,lt,Ct){var Wt=lt.seenUids,xr=this.boxCells[Ze];if(xr!==null)for(var Fr=this.bboxes,Ar=0,Gt=xr;Ar=Fr[mr+0]&&ye>=Fr[mr+1]&&(!Ct||Ct(this.boxKeys[nr]))){if(lt.hitTest)return We.push(!0),!0;We.push({key:this.boxKeys[nr],x1:Fr[mr],y1:Fr[mr+1],x2:Fr[mr+2],y2:Fr[mr+3]})}}}var zr=this.circleCells[Ze];if(zr!==null)for(var Gr=this.circles,Xr=0,fn=zr;Xrlt*lt+Ct*Ct},wn.prototype._circleAndRectCollide=function(K,me,te,ye,Ze,We,lt){var Ct=(We-ye)/2,Wt=Math.abs(K-(ye+Ct));if(Wt>Ct+te)return!1;var xr=(lt-Ze)/2,Fr=Math.abs(me-(Ze+xr));if(Fr>xr+te)return!1;if(Wt<=Ct||Fr<=xr)return!0;var Ar=Wt-Ct,Gt=Fr-xr;return Ar*Ar+Gt*Gt<=te*te};function Dn(ve,K,me,te,ye){var Ze=e.create();return K?(e.scale(Ze,Ze,[1/ye,1/ye,1]),me||e.rotateZ(Ze,Ze,te.angle)):e.multiply(Ze,te.labelPlaneMatrix,ve),Ze}function Ui(ve,K,me,te,ye){if(K){var Ze=e.clone(ve);return e.scale(Ze,Ze,[ye,ye,1]),me||e.rotateZ(Ze,Ze,-te.angle),Ze}else return te.glCoordMatrix}function pi(ve,K){var me=[ve.x,ve.y,0,1];gs(me,me,K);var te=me[3];return{point:new e.Point(me[0]/te,me[1]/te),signedDistanceFromCamera:te}}function Ta(ve,K){return .5+.5*(ve/K)}function Sa(ve,K){var me=ve[0]/ve[3],te=ve[1]/ve[3],ye=me>=-K[0]&&me<=K[0]&&te>=-K[1]&&te<=K[1];return ye}function qa(ve,K,me,te,ye,Ze,We,lt){var Ct=te?ve.textSizeData:ve.iconSizeData,Wt=e.evaluateSizeForZoom(Ct,me.transform.zoom),xr=[256/me.width*2+1,256/me.height*2+1],Fr=te?ve.text.dynamicLayoutVertexArray:ve.icon.dynamicLayoutVertexArray;Fr.clear();for(var Ar=ve.lineVertexArray,Gt=te?ve.text.placedSymbolArray:ve.icon.placedSymbolArray,nr=me.transform.width/me.transform.height,mr=!1,zr=0;zrZe)return{useVertical:!0}}return(ve===e.WritingMode.vertical?K.yme.x)?{needsFlipping:!0}:null}function Xa(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr,Fr,Ar,Gt){var nr=K/24,mr=ve.lineOffsetX*nr,zr=ve.lineOffsetY*nr,Gr;if(ve.numGlyphs>1){var Xr=ve.glyphStartIndex+ve.numGlyphs,fn=ve.lineStartIndex,sn=ve.lineStartIndex+ve.lineLength,Zr=to(nr,lt,mr,zr,me,xr,Fr,ve,Ct,Ze,Ar);if(!Zr)return{notEnoughRoom:!0};var hn=pi(Zr.first.point,We).point,qr=pi(Zr.last.point,We).point;if(te&&!me){var kn=yo(ve.writingMode,hn,qr,Gt);if(kn)return kn}Gr=[Zr.first];for(var Xn=ve.glyphStartIndex+1;Xn0?ea.point:Go(Fr,Pi,vi,1,ye),Ea=yo(ve.writingMode,vi,ja,Gt);if(Ea)return Ea}var $i=pa(nr*lt.getoffsetX(ve.glyphStartIndex),mr,zr,me,xr,Fr,ve.segment,ve.lineStartIndex,ve.lineStartIndex+ve.lineLength,Ct,Ze,Ar);if(!$i)return{notEnoughRoom:!0};Gr=[$i]}for(var da=0,fa=Gr;da0?1:-1,nr=0;te&&(Gt*=-1,nr=Math.PI),Gt<0&&(nr+=Math.PI);for(var mr=Gt>0?lt+We:lt+We+1,zr=ye,Gr=ye,Xr=0,fn=0,sn=Math.abs(Ar),Zr=[];Xr+fn<=sn;){if(mr+=Gt,mr=Ct)return null;if(Gr=zr,Zr.push(zr),zr=Fr[mr],zr===void 0){var hn=new e.Point(Wt.getx(mr),Wt.gety(mr)),qr=pi(hn,xr);if(qr.signedDistanceFromCamera>0)zr=Fr[mr]=qr.point;else{var kn=mr-Gt,Xn=Xr===0?Ze:new e.Point(Wt.getx(kn),Wt.gety(kn));zr=Go(Xn,hn,Gr,sn-Xr+1,xr)}}Xr+=fn,fn=Gr.dist(zr)}var vi=(sn-Xr)/fn,Ji=zr.sub(Gr),Pi=Ji.mult(vi)._add(Gr);Pi._add(Ji._unit()._perp()._mult(me*Gt));var ea=nr+Math.atan2(zr.y-Gr.y,zr.x-Gr.x);return Zr.push(Pi),{point:Pi,angle:ea,path:Zr}}var cs=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Ko(ve,K){for(var me=0;me=1;za--)fa.push($i.path[za]);for(var Qa=1;Qa0){for(var rs=fa[0].clone(),js=fa[0].clone(),Cl=1;Cl=ea.x&&js.x<=ja.x&&rs.y>=ea.y&&js.y<=ja.y?$s=[fa]:js.xja.x||js.yja.y?$s=[]:$s=e.clipLine([fa],ea.x,ea.y,ja.x,ja.y)}for(var Ou=0,Kh=$s;Ou=this.screenRightBoundary||yethis.screenBottomBoundary},zo.prototype.isInsideGrid=function(K,me,te,ye){return te>=0&&K=0&&me0){var sn;return this.prevPlacement&&this.prevPlacement.variableOffsets[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID]&&this.prevPlacement.placements[Ar.crossTileID].text&&(sn=this.prevPlacement.variableOffsets[Ar.crossTileID].anchor),this.variableOffsets[Ar.crossTileID]={textOffset:zr,width:te,height:ye,anchor:K,textBoxScale:Ze,prevAnchor:sn},this.markUsedJustification(Gt,K,Ar,nr),Gt.allowVerticalPlacement&&(this.markUsedOrientation(Gt,nr,Ar),this.placedOrientations[Ar.crossTileID]=nr),{shift:Gr,placedGlyphBoxes:Xr}}},fs.prototype.placeLayerBucketPart=function(K,me,te){var ye=this,Ze=K.parameters,We=Ze.bucket,lt=Ze.layout,Ct=Ze.posMatrix,Wt=Ze.textLabelPlaneMatrix,xr=Ze.labelToScreenMatrix,Fr=Ze.textPixelRatio,Ar=Ze.holdingForFade,Gt=Ze.collisionBoxArray,nr=Ze.partiallyEvaluatedTextSize,mr=Ze.collisionGroup,zr=lt.get(\"text-optional\"),Gr=lt.get(\"icon-optional\"),Xr=lt.get(\"text-allow-overlap\"),fn=lt.get(\"icon-allow-overlap\"),sn=lt.get(\"text-rotation-alignment\")===\"map\",Zr=lt.get(\"text-pitch-alignment\")===\"map\",hn=lt.get(\"icon-text-fit\")!==\"none\",qr=lt.get(\"symbol-z-order\")===\"viewport-y\",kn=Xr&&(fn||!We.hasIconData()||Gr),Xn=fn&&(Xr||!We.hasTextData()||zr);!We.collisionArrays&&Gt&&We.deserializeCollisionBoxes(Gt);var vi=function($i,da){if(!me[$i.crossTileID]){if(Ar){ye.placements[$i.crossTileID]=new hs(!1,!1,!1);return}var fa=!1,za=!1,Qa=!0,Cs=null,ws={box:null,offscreen:null},$s={box:null,offscreen:null},rs=null,js=null,Cl=null,Ou=0,Kh=0,Jh=0;da.textFeatureIndex?Ou=da.textFeatureIndex:$i.useRuntimeCollisionCircles&&(Ou=$i.featureIndex),da.verticalTextFeatureIndex&&(Kh=da.verticalTextFeatureIndex);var fh=da.textBox;if(fh){var sd=function(Bu){var Hl=e.WritingMode.horizontal;if(We.allowVerticalPlacement&&!Bu&&ye.prevPlacement){var vh=ye.prevPlacement.placedOrientations[$i.crossTileID];vh&&(ye.placedOrientations[$i.crossTileID]=vh,Hl=vh,ye.markUsedOrientation(We,Hl,$i))}return Hl},$d=function(Bu,Hl){if(We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&da.verticalTextBox)for(var vh=0,Bv=We.writingModes;vh0&&(Ch=Ch.filter(function(Bu){return Bu!==dh.anchor}),Ch.unshift(dh.anchor))}var $h=function(Bu,Hl,vh){for(var Bv=Bu.x2-Bu.x1,up=Bu.y2-Bu.y1,au=$i.textBoxScale,rm=hn&&!fn?Hl:null,xv={box:[],offscreen:!1},rg=Xr?Ch.length*2:Ch.length,ed=0;ed=Ch.length,nm=ye.attemptAnchorPlacement(bv,Bu,Bv,up,au,sn,Zr,Fr,Ct,mr,ng,$i,We,vh,rm);if(nm&&(xv=nm.placedGlyphBoxes,xv&&xv.box&&xv.box.length)){fa=!0,Cs=nm.shift;break}}return xv},ld=function(){return $h(fh,da.iconBox,e.WritingMode.horizontal)},Qh=function(){var Bu=da.verticalTextBox,Hl=ws&&ws.box&&ws.box.length;return We.allowVerticalPlacement&&!Hl&&$i.numVerticalGlyphVertices>0&&Bu?$h(Bu,da.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}};$d(ld,Qh),ws&&(fa=ws.box,Qa=ws.offscreen);var zv=sd(ws&&ws.box);if(!fa&&ye.prevPlacement){var Qd=ye.prevPlacement.variableOffsets[$i.crossTileID];Qd&&(ye.variableOffsets[$i.crossTileID]=Qd,ye.markUsedJustification(We,Qd.anchor,$i,zv))}}else{var _d=function(Bu,Hl){var vh=ye.collisionIndex.placeCollisionBox(Bu,Xr,Fr,Ct,mr.predicate);return vh&&vh.box&&vh.box.length&&(ye.markUsedOrientation(We,Hl,$i),ye.placedOrientations[$i.crossTileID]=Hl),vh},hh=function(){return _d(fh,e.WritingMode.horizontal)},xd=function(){var Bu=da.verticalTextBox;return We.allowVerticalPlacement&&$i.numVerticalGlyphVertices>0&&Bu?_d(Bu,e.WritingMode.vertical):{box:null,offscreen:null}};$d(hh,xd),sd(ws&&ws.box&&ws.box.length)}}if(rs=ws,fa=rs&&rs.box&&rs.box.length>0,Qa=rs&&rs.offscreen,$i.useRuntimeCollisionCircles){var df=We.text.placedSymbolArray.get($i.centerJustifiedTextSymbolIndex),ev=e.evaluateSizeForFeature(We.textSizeData,nr,df),Fv=lt.get(\"text-padding\"),jf=$i.collisionCircleDiameter;js=ye.collisionIndex.placeCollisionCircles(Xr,df,We.lineVertexArray,We.glyphOffsetArray,ev,Ct,Wt,xr,te,Zr,mr.predicate,jf,Fv),fa=Xr||js.circles.length>0&&!js.collisionDetected,Qa=Qa&&js.offscreen}if(da.iconFeatureIndex&&(Jh=da.iconFeatureIndex),da.iconBox){var gv=function(Bu){var Hl=hn&&Cs?Ws(Bu,Cs.x,Cs.y,sn,Zr,ye.transform.angle):Bu;return ye.collisionIndex.placeCollisionBox(Hl,fn,Fr,Ct,mr.predicate)};$s&&$s.box&&$s.box.length&&da.verticalIconBox?(Cl=gv(da.verticalIconBox),za=Cl.box.length>0):(Cl=gv(da.iconBox),za=Cl.box.length>0),Qa=Qa&&Cl.offscreen}var sp=zr||$i.numHorizontalGlyphVertices===0&&$i.numVerticalGlyphVertices===0,lp=Gr||$i.numIconVertices===0;if(!sp&&!lp?za=fa=za&&fa:lp?sp||(za=za&&fa):fa=za&&fa,fa&&rs&&rs.box&&($s&&$s.box&&Kh?ye.collisionIndex.insertCollisionBox(rs.box,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Kh,mr.ID):ye.collisionIndex.insertCollisionBox(rs.box,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Ou,mr.ID)),za&&Cl&&ye.collisionIndex.insertCollisionBox(Cl.box,lt.get(\"icon-ignore-placement\"),We.bucketInstanceId,Jh,mr.ID),js&&(fa&&ye.collisionIndex.insertCollisionCircles(js.circles,lt.get(\"text-ignore-placement\"),We.bucketInstanceId,Ou,mr.ID),te)){var Ov=We.bucketInstanceId,yv=ye.collisionCircleArrays[Ov];yv===void 0&&(yv=ye.collisionCircleArrays[Ov]=new ho);for(var _v=0;_v=0;--Pi){var ea=Ji[Pi];vi(We.symbolInstances.get(ea),We.collisionArrays[ea])}else for(var ja=K.symbolInstanceStart;ja=0&&(We>=0&&xr!==We?K.text.placedSymbolArray.get(xr).crossTileID=0:K.text.placedSymbolArray.get(xr).crossTileID=te.crossTileID)}},fs.prototype.markUsedOrientation=function(K,me,te){for(var ye=me===e.WritingMode.horizontal||me===e.WritingMode.horizontalOnly?me:0,Ze=me===e.WritingMode.vertical?me:0,We=[te.leftJustifiedTextSymbolIndex,te.centerJustifiedTextSymbolIndex,te.rightJustifiedTextSymbolIndex],lt=0,Ct=We;lt0||Zr>0,vi=fn.numIconVertices>0,Ji=ye.placedOrientations[fn.crossTileID],Pi=Ji===e.WritingMode.vertical,ea=Ji===e.WritingMode.horizontal||Ji===e.WritingMode.horizontalOnly;if(Xn){var ja=wl(kn.text),Ea=Pi?la:ja;nr(K.text,sn,Ea);var $i=ea?la:ja;nr(K.text,Zr,$i);var da=kn.text.isHidden();[fn.rightJustifiedTextSymbolIndex,fn.centerJustifiedTextSymbolIndex,fn.leftJustifiedTextSymbolIndex].forEach(function(Jh){Jh>=0&&(K.text.placedSymbolArray.get(Jh).hidden=da||Pi?1:0)}),fn.verticalPlacedTextSymbolIndex>=0&&(K.text.placedSymbolArray.get(fn.verticalPlacedTextSymbolIndex).hidden=da||ea?1:0);var fa=ye.variableOffsets[fn.crossTileID];fa&&ye.markUsedJustification(K,fa.anchor,fn,Ji);var za=ye.placedOrientations[fn.crossTileID];za&&(ye.markUsedJustification(K,\"left\",fn,za),ye.markUsedOrientation(K,za,fn))}if(vi){var Qa=wl(kn.icon),Cs=!(Ar&&fn.verticalPlacedIconSymbolIndex&&Pi);if(fn.placedIconSymbolIndex>=0){var ws=Cs?Qa:la;nr(K.icon,fn.numIconVertices,ws),K.icon.placedSymbolArray.get(fn.placedIconSymbolIndex).hidden=kn.icon.isHidden()}if(fn.verticalPlacedIconSymbolIndex>=0){var $s=Cs?la:Qa;nr(K.icon,fn.numVerticalIconVertices,$s),K.icon.placedSymbolArray.get(fn.verticalPlacedIconSymbolIndex).hidden=kn.icon.isHidden()}}if(K.hasIconCollisionBoxData()||K.hasTextCollisionBoxData()){var rs=K.collisionArrays[Xr];if(rs){var js=new e.Point(0,0);if(rs.textBox||rs.verticalTextBox){var Cl=!0;if(Wt){var Ou=ye.variableOffsets[hn];Ou?(js=Vs(Ou.anchor,Ou.width,Ou.height,Ou.textOffset,Ou.textBoxScale),xr&&js._rotate(Fr?ye.transform.angle:-ye.transform.angle)):Cl=!1}rs.textBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||Pi,js.x,js.y),rs.verticalTextBox&&Mi(K.textCollisionBox.collisionVertexArray,kn.text.placed,!Cl||ea,js.x,js.y)}var Kh=!!(!ea&&rs.verticalIconBox);rs.iconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,Kh,Ar?js.x:0,Ar?js.y:0),rs.verticalIconBox&&Mi(K.iconCollisionBox.collisionVertexArray,kn.icon.placed,!Kh,Ar?js.x:0,Ar?js.y:0)}}},zr=0;zrK},fs.prototype.setStale=function(){this.stale=!0};function Mi(ve,K,me,te,ye){ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0),ve.emplaceBack(K?1:0,me?1:0,te||0,ye||0)}var Da=Math.pow(2,25),pl=Math.pow(2,24),Xs=Math.pow(2,17),Eo=Math.pow(2,16),Ys=Math.pow(2,9),As=Math.pow(2,8),hl=Math.pow(2,1);function wl(ve){if(ve.opacity===0&&!ve.placed)return 0;if(ve.opacity===1&&ve.placed)return 4294967295;var K=ve.placed?1:0,me=Math.floor(ve.opacity*127);return me*Da+K*pl+me*Xs+K*Eo+me*Ys+K*As+me*hl+K}var la=0,Uo=function(K){this._sortAcrossTiles=K.layout.get(\"symbol-z-order\")!==\"viewport-y\"&&K.layout.get(\"symbol-sort-key\").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Uo.prototype.continuePlacement=function(K,me,te,ye,Ze){for(var We=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var lt=K[this._currentPlacementIndex],Ct=me[lt],Wt=this.placement.collisionIndex.transform.zoom;if(Ct.type===\"symbol\"&&(!Ct.minzoom||Ct.minzoom<=Wt)&&(!Ct.maxzoom||Ct.maxzoom>Wt)){this._inProgressLayer||(this._inProgressLayer=new Uo(Ct));var xr=this._inProgressLayer.continuePlacement(te[Ct.source],this.placement,this._showCollisionBoxes,Ct,We);if(xr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},vo.prototype.commit=function(K){return this.placement.commit(K),this.placement};var Ps=512/e.EXTENT/2,ls=function(K,me,te){this.tileID=K,this.indexedSymbolInstances={},this.bucketInstanceId=te;for(var ye=0;yeK.overscaledZ)for(var Wt in Ct){var xr=Ct[Wt];xr.tileID.isChildOf(K)&&xr.findMatches(me.symbolInstances,K,We)}else{var Fr=K.scaledTo(Number(lt)),Ar=Ct[Fr.key];Ar&&Ar.findMatches(me.symbolInstances,K,We)}}for(var Gt=0;Gt0)throw new Error(\"Unimplemented: \"+We.map(function(lt){return lt.command}).join(\", \")+\".\");return Ze.forEach(function(lt){lt.command!==\"setTransition\"&&ye[lt.command].apply(ye,lt.args)}),this.stylesheet=te,!0},K.prototype.addImage=function(te,ye){if(this.getImage(te))return this.fire(new e.ErrorEvent(new Error(\"An image with this name already exists.\")));this.imageManager.addImage(te,ye),this._afterImageUpdated(te)},K.prototype.updateImage=function(te,ye){this.imageManager.updateImage(te,ye)},K.prototype.getImage=function(te){return this.imageManager.getImage(te)},K.prototype.removeImage=function(te){if(!this.getImage(te))return this.fire(new e.ErrorEvent(new Error(\"No image with this name exists.\")));this.imageManager.removeImage(te),this._afterImageUpdated(te)},K.prototype._afterImageUpdated=function(te){this._availableImages=this.imageManager.listImages(),this._changedImages[te]=!0,this._changed=!0,this.dispatcher.broadcast(\"setImages\",this._availableImages),this.fire(new e.Event(\"data\",{dataType:\"style\"}))},K.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},K.prototype.addSource=function(te,ye,Ze){var We=this;if(Ze===void 0&&(Ze={}),this._checkLoaded(),this.sourceCaches[te]!==void 0)throw new Error(\"There is already a source with this ID\");if(!ye.type)throw new Error(\"The type property must be defined, but only the following properties were given: \"+Object.keys(ye).join(\", \")+\".\");var lt=[\"vector\",\"raster\",\"geojson\",\"video\",\"image\"],Ct=lt.indexOf(ye.type)>=0;if(!(Ct&&this._validate(e.validateStyle.source,\"sources.\"+te,ye,null,Ze))){this.map&&this.map._collectResourceTiming&&(ye.collectResourceTiming=!0);var Wt=this.sourceCaches[te]=new xn(te,ye,this.dispatcher);Wt.style=this,Wt.setEventedParent(this,function(){return{isSourceLoaded:We.loaded(),source:Wt.serialize(),sourceId:te}}),Wt.onAdd(this.map),this._changed=!0}},K.prototype.removeSource=function(te){if(this._checkLoaded(),this.sourceCaches[te]===void 0)throw new Error(\"There is no source with this ID\");for(var ye in this._layers)if(this._layers[ye].source===te)return this.fire(new e.ErrorEvent(new Error('Source \"'+te+'\" cannot be removed while layer \"'+ye+'\" is using it.')));var Ze=this.sourceCaches[te];delete this.sourceCaches[te],delete this._updatedSources[te],Ze.fire(new e.Event(\"data\",{sourceDataType:\"metadata\",dataType:\"source\",sourceId:te})),Ze.setEventedParent(null),Ze.clearTiles(),Ze.onRemove&&Ze.onRemove(this.map),this._changed=!0},K.prototype.setGeoJSONSourceData=function(te,ye){this._checkLoaded();var Ze=this.sourceCaches[te].getSource();Ze.setData(ye),this._changed=!0},K.prototype.getSource=function(te){return this.sourceCaches[te]&&this.sourceCaches[te].getSource()},K.prototype.addLayer=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=te.id;if(this.getLayer(We)){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+We+'\" already exists on this map')));return}var lt;if(te.type===\"custom\"){if(Tl(this,e.validateCustomStyleLayer(te)))return;lt=e.createStyleLayer(te)}else{if(typeof te.source==\"object\"&&(this.addSource(We,te.source),te=e.clone$1(te),te=e.extend(te,{source:We})),this._validate(e.validateStyle.layer,\"layers.\"+We,te,{arrayIndex:-1},Ze))return;lt=e.createStyleLayer(te),this._validateLayer(lt),lt.setEventedParent(this,{layer:{id:We}}),this._serializedLayers[lt.id]=lt.serialize()}var Ct=ye?this._order.indexOf(ye):this._order.length;if(ye&&Ct===-1){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+ye+'\" does not exist on this map.')));return}if(this._order.splice(Ct,0,We),this._layerOrderChanged=!0,this._layers[We]=lt,this._removedLayers[We]&<.source&<.type!==\"custom\"){var Wt=this._removedLayers[We];delete this._removedLayers[We],Wt.type!==lt.type?this._updatedSources[lt.source]=\"clear\":(this._updatedSources[lt.source]=\"reload\",this.sourceCaches[lt.source].pause())}this._updateLayer(lt),lt.onAdd&<.onAdd(this.map)},K.prototype.moveLayer=function(te,ye){this._checkLoaded(),this._changed=!0;var Ze=this._layers[te];if(!Ze){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be moved.\")));return}if(te!==ye){var We=this._order.indexOf(te);this._order.splice(We,1);var lt=ye?this._order.indexOf(ye):this._order.length;if(ye&<===-1){this.fire(new e.ErrorEvent(new Error('Layer with id \"'+ye+'\" does not exist on this map.')));return}this._order.splice(lt,0,te),this._layerOrderChanged=!0}},K.prototype.removeLayer=function(te){this._checkLoaded();var ye=this._layers[te];if(!ye){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be removed.\")));return}ye.setEventedParent(null);var Ze=this._order.indexOf(te);this._order.splice(Ze,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[te]=ye,delete this._layers[te],delete this._serializedLayers[te],delete this._updatedLayers[te],delete this._updatedPaintProps[te],ye.onRemove&&ye.onRemove(this.map)},K.prototype.getLayer=function(te){return this._layers[te]},K.prototype.hasLayer=function(te){return te in this._layers},K.prototype.setLayerZoomRange=function(te,ye,Ze){this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot have zoom extent.\")));return}We.minzoom===ye&&We.maxzoom===Ze||(ye!=null&&(We.minzoom=ye),Ze!=null&&(We.maxzoom=Ze),this._updateLayer(We))},K.prototype.setFilter=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._checkLoaded();var We=this.getLayer(te);if(!We){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be filtered.\")));return}if(!e.deepEqual(We.filter,ye)){if(ye==null){We.filter=void 0,this._updateLayer(We);return}this._validate(e.validateStyle.filter,\"layers.\"+We.id+\".filter\",ye,null,Ze)||(We.filter=e.clone$1(ye),this._updateLayer(We))}},K.prototype.getFilter=function(te){return e.clone$1(this.getLayer(te).filter)},K.prototype.setLayoutProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be styled.\")));return}e.deepEqual(lt.getLayoutProperty(ye),Ze)||(lt.setLayoutProperty(ye,Ze,We),this._updateLayer(lt))},K.prototype.getLayoutProperty=function(te,ye){var Ze=this.getLayer(te);if(!Ze){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style.\")));return}return Ze.getLayoutProperty(ye)},K.prototype.setPaintProperty=function(te,ye,Ze,We){We===void 0&&(We={}),this._checkLoaded();var lt=this.getLayer(te);if(!lt){this.fire(new e.ErrorEvent(new Error(\"The layer '\"+te+\"' does not exist in the map's style and cannot be styled.\")));return}if(!e.deepEqual(lt.getPaintProperty(ye),Ze)){var Ct=lt.setPaintProperty(ye,Ze,We);Ct&&this._updateLayer(lt),this._changed=!0,this._updatedPaintProps[te]=!0}},K.prototype.getPaintProperty=function(te,ye){return this.getLayer(te).getPaintProperty(ye)},K.prototype.setFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=te.sourceLayer,lt=this.sourceCaches[Ze];if(lt===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+Ze+\"' does not exist in the map's style.\")));return}var Ct=lt.getSource().type;if(Ct===\"geojson\"&&We){this.fire(new e.ErrorEvent(new Error(\"GeoJSON sources cannot have a sourceLayer parameter.\")));return}if(Ct===\"vector\"&&!We){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}te.id===void 0&&this.fire(new e.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))),lt.setFeatureState(We,te.id,ye)},K.prototype.removeFeatureState=function(te,ye){this._checkLoaded();var Ze=te.source,We=this.sourceCaches[Ze];if(We===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+Ze+\"' does not exist in the map's style.\")));return}var lt=We.getSource().type,Ct=lt===\"vector\"?te.sourceLayer:void 0;if(lt===\"vector\"&&!Ct){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}if(ye&&typeof te.id!=\"string\"&&typeof te.id!=\"number\"){this.fire(new e.ErrorEvent(new Error(\"A feature id is required to remove its specific state property.\")));return}We.removeFeatureState(Ct,te.id,ye)},K.prototype.getFeatureState=function(te){this._checkLoaded();var ye=te.source,Ze=te.sourceLayer,We=this.sourceCaches[ye];if(We===void 0){this.fire(new e.ErrorEvent(new Error(\"The source '\"+ye+\"' does not exist in the map's style.\")));return}var lt=We.getSource().type;if(lt===\"vector\"&&!Ze){this.fire(new e.ErrorEvent(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));return}return te.id===void 0&&this.fire(new e.ErrorEvent(new Error(\"The feature id parameter must be provided.\"))),We.getFeatureState(Ze,te.id)},K.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},K.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,function(te){return te.serialize()}),layers:this._serializeLayers(this._order)},function(te){return te!==void 0})},K.prototype._updateLayer=function(te){this._updatedLayers[te.id]=!0,te.source&&!this._updatedSources[te.source]&&this.sourceCaches[te.source].getSource().type!==\"raster\"&&(this._updatedSources[te.source]=\"reload\",this.sourceCaches[te.source].pause()),this._changed=!0},K.prototype._flattenAndSortRenderedFeatures=function(te){for(var ye=this,Ze=function(ea){return ye._layers[ea].type===\"fill-extrusion\"},We={},lt=[],Ct=this._order.length-1;Ct>=0;Ct--){var Wt=this._order[Ct];if(Ze(Wt)){We[Wt]=Ct;for(var xr=0,Fr=te;xr=0;Xr--){var fn=this._order[Xr];if(Ze(fn))for(var sn=lt.length-1;sn>=0;sn--){var Zr=lt[sn].feature;if(We[Zr.layer.id] 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\",sc=\"attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}\",jl=\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\",$u=\"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\",ll=\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\",Nh=\"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}\",ds=`#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Sh=`attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}`,Bs=`varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Vo=`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,rf=`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Qu=`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`,pu=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Df=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`,Lc=`varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,nf=`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Vl=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Jf=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,zf=`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,wf=\"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\",Gc=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Ff=\"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\",$f=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,ec=`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Tf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Pc=`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Wc=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Pu=`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,cf=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Ic=`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,Ks=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Of=\"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\",Eh=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,Qf=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,af=`#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,lh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,Iu=`#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,eh=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,su=ul(kc,Ju),Ru=ul(sh,uf),yc=ul(qs,Hc),Dl=ul(bf,Ql),Rc=ul(Al,oc),tc=ul(gc,nl),xu=ul(Ml,Zs),Sl=ul(sl,sc),th=ul(jl,$u),uh=ul(ll,Nh),Hu=ul(ds,Sh),_c=ul(Bs,Vo),lc=ul(rf,Qu),Uh=ul(pu,Df),of=ul(Lc,nf),ff=ul(Vl,Jf),Du=ul(zf,wf),Af=ul(Gc,Ff),lu=ul($f,ec),Xc=ul(Tf,Pc),ch=ul(Wc,Pu),Mf=ul(cf,Ic),dl=ul(Ks,Of),bu=ul(Eh,Qf),wu=ul(af,lh),Bf=ul(Iu,eh);function ul(ve,K){var me=/#pragma mapbox: ([\\w]+) ([\\w]+) ([\\w]+) ([\\w]+)/g,te=K.match(/attribute ([\\w]+) ([\\w]+)/g),ye=ve.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),Ze=K.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),We=Ze?Ze.concat(ye):ye,lt={};return ve=ve.replace(me,function(Ct,Wt,xr,Fr,Ar){return lt[Ar]=!0,Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nvarying `+xr+\" \"+Fr+\" \"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`}),K=K.replace(me,function(Ct,Wt,xr,Fr,Ar){var Gt=Fr===\"float\"?\"vec2\":\"vec4\",nr=Ar.match(/color/)?\"color\":Gt;return lt[Ar]?Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nuniform lowp float u_`+Ar+`_t;\nattribute `+xr+\" \"+Gt+\" a_\"+Ar+`;\nvarying `+xr+\" \"+Fr+\" \"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:nr===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+Ar+\" = a_\"+Ar+`;\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+Ar+\" = unpack_mix_\"+nr+\"(a_\"+Ar+\", u_\"+Ar+`_t);\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:Wt===\"define\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\nuniform lowp float u_`+Ar+`_t;\nattribute `+xr+\" \"+Gt+\" a_\"+Ar+`;\n#else\nuniform `+xr+\" \"+Fr+\" u_\"+Ar+`;\n#endif\n`:nr===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = a_\"+Ar+`;\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_`+Ar+`\n `+xr+\" \"+Fr+\" \"+Ar+\" = unpack_mix_\"+nr+\"(a_\"+Ar+\", u_\"+Ar+`_t);\n#else\n `+xr+\" \"+Fr+\" \"+Ar+\" = u_\"+Ar+`;\n#endif\n`}),{fragmentSource:ve,vertexSource:K,staticAttributes:te,staticUniforms:We}}var sf=Object.freeze({__proto__:null,prelude:su,background:Ru,backgroundPattern:yc,circle:Dl,clippingMask:Rc,heatmap:tc,heatmapTexture:xu,collisionBox:Sl,collisionCircle:th,debug:uh,fill:Hu,fillOutline:_c,fillOutlinePattern:lc,fillPattern:Uh,fillExtrusion:of,fillExtrusionPattern:ff,hillshadePrepare:Du,hillshade:Af,line:lu,lineGradient:Xc,linePattern:ch,lineSDF:Mf,raster:dl,symbolIcon:bu,symbolSDF:wu,symbolTextAndIcon:Bf}),xc=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};xc.prototype.bind=function(K,me,te,ye,Ze,We,lt,Ct){this.context=K;for(var Wt=this.boundPaintVertexBuffers.length!==ye.length,xr=0;!Wt&&xr>16,lt>>16],u_pixel_coord_lower:[We&65535,lt&65535]}}function Zc(ve,K,me,te){var ye=me.imageManager.getPattern(ve.from.toString()),Ze=me.imageManager.getPattern(ve.to.toString()),We=me.imageManager.getPixelSize(),lt=We.width,Ct=We.height,Wt=Math.pow(2,te.tileID.overscaledZ),xr=te.tileSize*Math.pow(2,me.transform.tileZoom)/Wt,Fr=xr*(te.tileID.canonical.x+te.tileID.wrap*Wt),Ar=xr*te.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:ye.tl,u_pattern_br_a:ye.br,u_pattern_tl_b:Ze.tl,u_pattern_br_b:Ze.br,u_texsize:[lt,Ct],u_mix:K.t,u_pattern_size_a:ye.displaySize,u_pattern_size_b:Ze.displaySize,u_scale_a:K.fromScale,u_scale_b:K.toScale,u_tile_units_to_pixels:1/Ka(te,1,me.transform.tileZoom),u_pixel_coord_upper:[Fr>>16,Ar>>16],u_pixel_coord_lower:[Fr&65535,Ar&65535]}}var Nf=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Xl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_lightpos:new e.Uniform3f(ve,K.u_lightpos),u_lightintensity:new e.Uniform1f(ve,K.u_lightintensity),u_lightcolor:new e.Uniform3f(ve,K.u_lightcolor),u_vertical_gradient:new e.Uniform1f(ve,K.u_vertical_gradient),u_height_factor:new e.Uniform1f(ve,K.u_height_factor),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Uf=function(ve,K,me,te){var ye=K.style.light,Ze=ye.properties.get(\"position\"),We=[Ze.x,Ze.y,Ze.z],lt=e.create$1();ye.properties.get(\"anchor\")===\"viewport\"&&e.fromRotation(lt,-K.transform.angle),e.transformMat3(We,We,lt);var Ct=ye.properties.get(\"color\");return{u_matrix:ve,u_lightpos:We,u_lightintensity:ye.properties.get(\"intensity\"),u_lightcolor:[Ct.r,Ct.g,Ct.b],u_vertical_gradient:+me,u_opacity:te}},Wu=function(ve,K,me,te,ye,Ze,We){return e.extend(Uf(ve,K,me,te),uc(Ze,K,We),{u_height_factor:-Math.pow(2,ye.overscaledZ)/We.tileSize/8})},bc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},cc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},zl=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world)}},uu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},fc=function(ve){return{u_matrix:ve}},Dc=function(ve,K,me,te){return e.extend(fc(ve),uc(me,K,te))},rc=function(ve,K){return{u_matrix:ve,u_world:K}},Yc=function(ve,K,me,te,ye){return e.extend(Dc(ve,K,me,te),{u_world:ye})},Yt=function(ve,K){return{u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(ve,K.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},dr=function(ve,K,me,te){var ye=ve.transform,Ze,We;if(te.paint.get(\"circle-pitch-alignment\")===\"map\"){var lt=Ka(me,1,ye.zoom);Ze=!0,We=[lt,lt]}else Ze=!1,We=ye.pixelsToGLUnits;return{u_camera_to_center_distance:ye.cameraToCenterDistance,u_scale_with_map:+(te.paint.get(\"circle-pitch-scale\")===\"map\"),u_matrix:ve.translatePosMatrix(K.posMatrix,me,te.paint.get(\"circle-translate\"),te.paint.get(\"circle-translate-anchor\")),u_pitch_with_map:+Ze,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:We}},tn=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(ve,K.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(ve,K.u_extrude_scale),u_overscale_factor:new e.Uniform1f(ve,K.u_overscale_factor)}},Wr=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_inv_matrix:new e.UniformMatrix4f(ve,K.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(ve,K.u_viewport_size)}},Cn=function(ve,K,me){var te=Ka(me,1,K.zoom),ye=Math.pow(2,K.zoom-me.tileID.overscaledZ),Ze=me.tileID.overscaleFactor();return{u_matrix:ve,u_camera_to_center_distance:K.cameraToCenterDistance,u_pixels_to_tile_units:te,u_extrude_scale:[K.pixelsToGLUnits[0]/(te*ye),K.pixelsToGLUnits[1]/(te*ye)],u_overscale_factor:Ze}},si=function(ve,K,me){return{u_matrix:ve,u_inv_matrix:K,u_camera_to_center_distance:me.cameraToCenterDistance,u_viewport_size:[me.width,me.height]}},yi=function(ve,K){return{u_color:new e.UniformColor(ve,K.u_color),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_overlay:new e.Uniform1i(ve,K.u_overlay),u_overlay_scale:new e.Uniform1f(ve,K.u_overlay_scale)}},Di=function(ve,K,me){return me===void 0&&(me=1),{u_matrix:ve,u_color:K,u_overlay:0,u_overlay_scale:me}},Wi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},aa=function(ve){return{u_matrix:ve}},bi=function(ve,K){return{u_extrude_scale:new e.Uniform1f(ve,K.u_extrude_scale),u_intensity:new e.Uniform1f(ve,K.u_intensity),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix)}},zi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_world:new e.Uniform2f(ve,K.u_world),u_image:new e.Uniform1i(ve,K.u_image),u_color_ramp:new e.Uniform1i(ve,K.u_color_ramp),u_opacity:new e.Uniform1f(ve,K.u_opacity)}},Li=function(ve,K,me,te){return{u_matrix:ve,u_extrude_scale:Ka(K,1,me),u_intensity:te}},di=function(ve,K,me,te){var ye=e.create();e.ortho(ye,0,ve.width,ve.height,0,0,1);var Ze=ve.context.gl;return{u_matrix:ye,u_world:[Ze.drawingBufferWidth,Ze.drawingBufferHeight],u_image:me,u_color_ramp:te,u_opacity:K.paint.get(\"heatmap-opacity\")}},wa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_latrange:new e.Uniform2f(ve,K.u_latrange),u_light:new e.Uniform2f(ve,K.u_light),u_shadow:new e.UniformColor(ve,K.u_shadow),u_highlight:new e.UniformColor(ve,K.u_highlight),u_accent:new e.UniformColor(ve,K.u_accent)}},po=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_image:new e.Uniform1i(ve,K.u_image),u_dimension:new e.Uniform2f(ve,K.u_dimension),u_zoom:new e.Uniform1f(ve,K.u_zoom),u_unpack:new e.Uniform4f(ve,K.u_unpack)}},co=function(ve,K,me){var te=me.paint.get(\"hillshade-shadow-color\"),ye=me.paint.get(\"hillshade-highlight-color\"),Ze=me.paint.get(\"hillshade-accent-color\"),We=me.paint.get(\"hillshade-illumination-direction\")*(Math.PI/180);me.paint.get(\"hillshade-illumination-anchor\")===\"viewport\"&&(We-=ve.transform.angle);var lt=!ve.options.moving;return{u_matrix:ve.transform.calculatePosMatrix(K.tileID.toUnwrapped(),lt),u_image:0,u_latrange:Ao(ve,K.tileID),u_light:[me.paint.get(\"hillshade-exaggeration\"),We],u_shadow:te,u_highlight:ye,u_accent:Ze}},mo=function(ve,K){var me=K.stride,te=e.create();return e.ortho(te,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(te,te,[0,-e.EXTENT,0]),{u_matrix:te,u_image:1,u_dimension:[me,me],u_zoom:ve.overscaledZ,u_unpack:K.getUnpackVector()}};function Ao(ve,K){var me=Math.pow(2,K.canonical.z),te=K.canonical.y;return[new e.MercatorCoordinate(0,te/me).toLngLat().lat,new e.MercatorCoordinate(0,(te+1)/me).toLngLat().lat]}var xa=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels)}},Qi=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_image:new e.Uniform1i(ve,K.u_image),u_image_height:new e.Uniform1f(ve,K.u_image_height)}},Lo=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_image:new e.Uniform1i(ve,K.u_image),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_scale:new e.Uniform3f(ve,K.u_scale),u_fade:new e.Uniform1f(ve,K.u_fade)}},as=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_ratio:new e.Uniform1f(ve,K.u_ratio),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(ve,K.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(ve,K.u_patternscale_a),u_patternscale_b:new e.Uniform2f(ve,K.u_patternscale_b),u_sdfgamma:new e.Uniform1f(ve,K.u_sdfgamma),u_image:new e.Uniform1i(ve,K.u_image),u_tex_y_a:new e.Uniform1f(ve,K.u_tex_y_a),u_tex_y_b:new e.Uniform1f(ve,K.u_tex_y_b),u_mix:new e.Uniform1f(ve,K.u_mix)}},Ds=function(ve,K,me){var te=ve.transform;return{u_matrix:Bl(ve,K,me),u_ratio:1/Ka(K,1,te.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/te.pixelsToGLUnits[0],1/te.pixelsToGLUnits[1]]}},il=function(ve,K,me,te){return e.extend(Ds(ve,K,me),{u_image:0,u_image_height:te})},Ns=function(ve,K,me,te){var ye=ve.transform,Ze=Es(K,ye);return{u_matrix:Bl(ve,K,me),u_texsize:K.imageAtlasTexture.size,u_ratio:1/Ka(K,1,ye.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[Ze,te.fromScale,te.toScale],u_fade:te.t,u_units_to_pixels:[1/ye.pixelsToGLUnits[0],1/ye.pixelsToGLUnits[1]]}},el=function(ve,K,me,te,ye){var Ze=ve.transform,We=ve.lineAtlas,lt=Es(K,Ze),Ct=me.layout.get(\"line-cap\")===\"round\",Wt=We.getDash(te.from,Ct),xr=We.getDash(te.to,Ct),Fr=Wt.width*ye.fromScale,Ar=xr.width*ye.toScale;return e.extend(Ds(ve,K,me),{u_patternscale_a:[lt/Fr,-Wt.height/2],u_patternscale_b:[lt/Ar,-xr.height/2],u_sdfgamma:We.width/(Math.min(Fr,Ar)*256*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:Wt.y,u_tex_y_b:xr.y,u_mix:ye.t})};function Es(ve,K){return 1/Ka(ve,1,K.tileZoom)}function Bl(ve,K,me){return ve.translatePosMatrix(K.tileID.posMatrix,K,me.paint.get(\"line-translate\"),me.paint.get(\"line-translate-anchor\"))}var _l=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_tl_parent:new e.Uniform2f(ve,K.u_tl_parent),u_scale_parent:new e.Uniform1f(ve,K.u_scale_parent),u_buffer_scale:new e.Uniform1f(ve,K.u_buffer_scale),u_fade_t:new e.Uniform1f(ve,K.u_fade_t),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image0:new e.Uniform1i(ve,K.u_image0),u_image1:new e.Uniform1i(ve,K.u_image1),u_brightness_low:new e.Uniform1f(ve,K.u_brightness_low),u_brightness_high:new e.Uniform1f(ve,K.u_brightness_high),u_saturation_factor:new e.Uniform1f(ve,K.u_saturation_factor),u_contrast_factor:new e.Uniform1f(ve,K.u_contrast_factor),u_spin_weights:new e.Uniform3f(ve,K.u_spin_weights)}},cl=function(ve,K,me,te,ye){return{u_matrix:ve,u_tl_parent:K,u_scale_parent:me,u_buffer_scale:1,u_fade_t:te.mix,u_opacity:te.opacity*ye.paint.get(\"raster-opacity\"),u_image0:0,u_image1:1,u_brightness_low:ye.paint.get(\"raster-brightness-min\"),u_brightness_high:ye.paint.get(\"raster-brightness-max\"),u_saturation_factor:Js(ye.paint.get(\"raster-saturation\")),u_contrast_factor:jo(ye.paint.get(\"raster-contrast\")),u_spin_weights:Za(ye.paint.get(\"raster-hue-rotate\"))}};function Za(ve){ve*=Math.PI/180;var K=Math.sin(ve),me=Math.cos(ve);return[(2*me+1)/3,(-Math.sqrt(3)*K-me+1)/3,(Math.sqrt(3)*K-me+1)/3]}function jo(ve){return ve>0?1/(1-ve):1+ve}function Js(ve){return ve>0?1-1/(1.001-ve):-ve}var zs=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture)}},cu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texture:new e.Uniform1i(ve,K.u_texture),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},zu=function(ve,K){return{u_is_size_zoom_constant:new e.Uniform1i(ve,K.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(ve,K.u_is_size_feature_constant),u_size_t:new e.Uniform1f(ve,K.u_size_t),u_size:new e.Uniform1f(ve,K.u_size),u_camera_to_center_distance:new e.Uniform1f(ve,K.u_camera_to_center_distance),u_pitch:new e.Uniform1f(ve,K.u_pitch),u_rotate_symbol:new e.Uniform1i(ve,K.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(ve,K.u_aspect_ratio),u_fade_change:new e.Uniform1f(ve,K.u_fade_change),u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(ve,K.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(ve,K.u_coord_matrix),u_is_text:new e.Uniform1i(ve,K.u_is_text),u_pitch_with_map:new e.Uniform1i(ve,K.u_pitch_with_map),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_texsize_icon:new e.Uniform2f(ve,K.u_texsize_icon),u_texture:new e.Uniform1i(ve,K.u_texture),u_texture_icon:new e.Uniform1i(ve,K.u_texture_icon),u_gamma_scale:new e.Uniform1f(ve,K.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(ve,K.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(ve,K.u_is_halo)}},nc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){var xr=ye.transform;return{u_is_size_zoom_constant:+(ve===\"constant\"||ve===\"source\"),u_is_size_feature_constant:+(ve===\"constant\"||ve===\"camera\"),u_size_t:K?K.uSizeT:0,u_size:K?K.uSize:0,u_camera_to_center_distance:xr.cameraToCenterDistance,u_pitch:xr.pitch/360*2*Math.PI,u_rotate_symbol:+me,u_aspect_ratio:xr.width/xr.height,u_fade_change:ye.options.fadeDuration?ye.symbolFadeChange:1,u_matrix:Ze,u_label_plane_matrix:We,u_coord_matrix:lt,u_is_text:+Ct,u_pitch_with_map:+te,u_texsize:Wt,u_texture:0}},Kc=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt,xr){var Fr=ye.transform;return e.extend(nc(ve,K,me,te,ye,Ze,We,lt,Ct,Wt),{u_gamma_scale:te?Math.cos(Fr._pitch)*Fr.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+xr})},Tu=function(ve,K,me,te,ye,Ze,We,lt,Ct,Wt){return e.extend(Kc(ve,K,me,te,ye,Ze,We,lt,!0,Ct,!0),{u_texsize_icon:Wt,u_texture_icon:1})},zc=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_color:new e.UniformColor(ve,K.u_color)}},Fu=function(ve,K){return{u_matrix:new e.UniformMatrix4f(ve,K.u_matrix),u_opacity:new e.Uniform1f(ve,K.u_opacity),u_image:new e.Uniform1i(ve,K.u_image),u_pattern_tl_a:new e.Uniform2f(ve,K.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(ve,K.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(ve,K.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(ve,K.u_pattern_br_b),u_texsize:new e.Uniform2f(ve,K.u_texsize),u_mix:new e.Uniform1f(ve,K.u_mix),u_pattern_size_a:new e.Uniform2f(ve,K.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(ve,K.u_pattern_size_b),u_scale_a:new e.Uniform1f(ve,K.u_scale_a),u_scale_b:new e.Uniform1f(ve,K.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(ve,K.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(ve,K.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(ve,K.u_tile_units_to_pixels)}},wc=function(ve,K,me){return{u_matrix:ve,u_opacity:K,u_color:me}},bo=function(ve,K,me,te,ye,Ze){return e.extend(Zc(te,Ze,me,ye),{u_matrix:ve,u_opacity:K})},Wo={fillExtrusion:Nf,fillExtrusionPattern:Xl,fill:bc,fillPattern:cc,fillOutline:zl,fillOutlinePattern:uu,circle:Yt,collisionBox:tn,collisionCircle:Wr,debug:yi,clippingMask:Wi,heatmap:bi,heatmapTexture:zi,hillshade:wa,hillshadePrepare:po,line:xa,lineGradient:Qi,linePattern:Lo,lineSDF:as,raster:_l,symbolIcon:zs,symbolSDF:cu,symbolTextAndIcon:zu,background:zc,backgroundPattern:Fu},Fc;function hc(ve,K,me,te,ye,Ze,We){for(var lt=ve.context,Ct=lt.gl,Wt=ve.useProgram(\"collisionBox\"),xr=[],Fr=0,Ar=0,Gt=0;Gt0){var sn=e.create(),Zr=Gr;e.mul(sn,zr.placementInvProjMatrix,ve.transform.glCoordMatrix),e.mul(sn,sn,zr.placementViewportMatrix),xr.push({circleArray:fn,circleOffset:Ar,transform:Zr,invTransform:sn}),Fr+=fn.length/4,Ar=Fr}Xr&&Wt.draw(lt,Ct.LINES,Nn.disabled,zn.disabled,ve.colorModeForRenderPass(),wr.disabled,Cn(Gr,ve.transform,mr),me.id,Xr.layoutVertexBuffer,Xr.indexBuffer,Xr.segments,null,ve.transform.zoom,null,null,Xr.collisionVertexBuffer)}}if(!(!We||!xr.length)){var hn=ve.useProgram(\"collisionCircle\"),qr=new e.StructArrayLayout2f1f2i16;qr.resize(Fr*4),qr._trim();for(var kn=0,Xn=0,vi=xr;Xn=0&&(nr[zr.associatedIconIndex]={shiftedAnchor:ea,angle:ja})}}if(xr){Gt.clear();for(var $i=ve.icon.placedSymbolArray,da=0;da<$i.length;da++){var fa=$i.get(da);if(fa.hidden)Ko(fa.numGlyphs,Gt);else{var za=nr[da];if(!za)Ko(fa.numGlyphs,Gt);else for(var Qa=0;Qa0){var We=e.browser.now(),lt=(We-ve.timeAdded)/Ze,Ct=K?(We-K.timeAdded)/Ze:-1,Wt=me.getSource(),xr=ye.coveringZoomLevel({tileSize:Wt.tileSize,roundZoom:Wt.roundZoom}),Fr=!K||Math.abs(K.tileID.overscaledZ-xr)>Math.abs(ve.tileID.overscaledZ-xr),Ar=Fr&&ve.refreshedUponExpiration?1:e.clamp(Fr?lt:1-Ct,0,1);return ve.refreshedUponExpiration&<>=1&&(ve.refreshedUponExpiration=!1),K?{opacity:1,mix:1-Ar}:{opacity:Ar,mix:0}}else return{opacity:1,mix:0}}function pr(ve,K,me){var te=me.paint.get(\"background-color\"),ye=me.paint.get(\"background-opacity\");if(ye!==0){var Ze=ve.context,We=Ze.gl,lt=ve.transform,Ct=lt.tileSize,Wt=me.paint.get(\"background-pattern\");if(!ve.isPatternMissing(Wt)){var xr=!Wt&&te.a===1&&ye===1&&ve.opaquePassEnabledForLayer()?\"opaque\":\"translucent\";if(ve.renderPass===xr){var Fr=zn.disabled,Ar=ve.depthModeForSublayer(0,xr===\"opaque\"?Nn.ReadWrite:Nn.ReadOnly),Gt=ve.colorModeForRenderPass(),nr=ve.useProgram(Wt?\"backgroundPattern\":\"background\"),mr=lt.coveringTiles({tileSize:Ct});Wt&&(Ze.activeTexture.set(We.TEXTURE0),ve.imageManager.bind(ve.context));for(var zr=me.getCrossfadeParameters(),Gr=0,Xr=mr;Gr \"+me.overscaledZ);var Gr=zr+\" \"+Gt+\"kb\";Io(ve,Gr),We.draw(te,ye.TRIANGLES,lt,Ct,Ft.alphaBlended,wr.disabled,Di(Ze,e.Color.transparent,mr),xr,ve.debugBuffer,ve.quadTriangleIndexBuffer,ve.debugSegments)}function Io(ve,K){ve.initDebugOverlayCanvas();var me=ve.debugOverlayCanvas,te=ve.context.gl,ye=ve.debugOverlayCanvas.getContext(\"2d\");ye.clearRect(0,0,me.width,me.height),ye.shadowColor=\"white\",ye.shadowBlur=2,ye.lineWidth=1.5,ye.strokeStyle=\"white\",ye.textBaseline=\"top\",ye.font=\"bold 36px Open Sans, sans-serif\",ye.fillText(K,5,5),ye.strokeText(K,5,5),ve.debugOverlayTexture.update(me),ve.debugOverlayTexture.bind(te.LINEAR,te.CLAMP_TO_EDGE)}function vs(ve,K,me){var te=ve.context,ye=me.implementation;if(ve.renderPass===\"offscreen\"){var Ze=ye.prerender;Ze&&(ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),Ze.call(ye,te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState())}else if(ve.renderPass===\"translucent\"){ve.setCustomLayerDefaults(),te.setColorMode(ve.colorModeForRenderPass()),te.setStencilMode(zn.disabled);var We=ye.renderingMode===\"3d\"?new Nn(ve.context.gl.LEQUAL,Nn.ReadWrite,ve.depthRangeFor3D):ve.depthModeForSublayer(0,Nn.ReadOnly);te.setDepthMode(We),ye.render(te.gl,ve.transform.customLayerMatrix()),te.setDirty(),ve.setBaseState(),te.bindFramebuffer.set(null)}}var Fo={symbol:R,circle:zt,heatmap:Jt,line:ln,fill:Ge,\"fill-extrusion\":st,hillshade:St,raster:rr,background:pr,debug:ro,custom:vs},ts=function(K,me){this.context=new $r(K),this.transform=me,this._tileTextures={},this.setup(),this.numSublayers=xn.maxUnderzooming+xn.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ku,this.gpuTimers={}};ts.prototype.resize=function(K,me){if(this.width=K*e.browser.devicePixelRatio,this.height=me*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var te=0,ye=this.style._order;te256&&this.clearStencil(),te.setColorMode(Ft.disabled),te.setDepthMode(Nn.disabled);var Ze=this.useProgram(\"clippingMask\");this._tileClippingMaskIDs={};for(var We=0,lt=me;We256&&this.clearStencil();var K=this.nextStencilID++,me=this.context.gl;return new zn({func:me.NOTEQUAL,mask:255},K,255,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilModeForClipping=function(K){var me=this.context.gl;return new zn({func:me.EQUAL,mask:255},this._tileClippingMaskIDs[K.key],0,me.KEEP,me.KEEP,me.REPLACE)},ts.prototype.stencilConfigForOverlap=function(K){var me,te=this.context.gl,ye=K.sort(function(Wt,xr){return xr.overscaledZ-Wt.overscaledZ}),Ze=ye[ye.length-1].overscaledZ,We=ye[0].overscaledZ-Ze+1;if(We>1){this.currentStencilSource=void 0,this.nextStencilID+We>256&&this.clearStencil();for(var lt={},Ct=0;Ct=0;this.currentLayer--){var sn=this.style._layers[ye[this.currentLayer]],Zr=Ze[sn.source],hn=Ct[sn.source];this._renderTileClippingMasks(sn,hn),this.renderLayer(this,Zr,sn,hn)}for(this.renderPass=\"translucent\",this.currentLayer=0;this.currentLayer0?me.pop():null},ts.prototype.isPatternMissing=function(K){if(!K)return!1;if(!K.from||!K.to)return!0;var me=this.imageManager.getPattern(K.from.toString()),te=this.imageManager.getPattern(K.to.toString());return!me||!te},ts.prototype.useProgram=function(K,me){this.cache=this.cache||{};var te=\"\"+K+(me?me.cacheKey:\"\")+(this._showOverdrawInspector?\"/overdraw\":\"\");return this.cache[te]||(this.cache[te]=new hf(this.context,K,sf[K],me,Wo[K],this._showOverdrawInspector)),this.cache[te]},ts.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},ts.prototype.setBaseState=function(){var K=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(K.FUNC_ADD)},ts.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=e.window.document.createElement(\"canvas\"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var K=this.context.gl;this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,K.RGBA)}},ts.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var bs=function(K,me){this.points=K,this.planes=me};bs.fromInvProjectionMatrix=function(K,me,te){var ye=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ze=Math.pow(2,te),We=ye.map(function(Wt){return e.transformMat4([],Wt,K)}).map(function(Wt){return e.scale$1([],Wt,1/Wt[3]/me*Ze)}),lt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],Ct=lt.map(function(Wt){var xr=e.sub([],We[Wt[0]],We[Wt[1]]),Fr=e.sub([],We[Wt[2]],We[Wt[1]]),Ar=e.normalize([],e.cross([],xr,Fr)),Gt=-e.dot(Ar,We[Wt[1]]);return Ar.concat(Gt)});return new bs(We,Ct)};var fl=function(K,me){this.min=K,this.max=me,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};fl.prototype.quadrant=function(K){for(var me=[K%2===0,K<2],te=e.clone$2(this.min),ye=e.clone$2(this.max),Ze=0;Ze=0;if(We===0)return 0;We!==me.length&&(te=!1)}if(te)return 2;for(var Ct=0;Ct<3;Ct++){for(var Wt=Number.MAX_VALUE,xr=-Number.MAX_VALUE,Fr=0;Frthis.max[Ct]-this.min[Ct])return 0}return 1};var al=function(K,me,te,ye){if(K===void 0&&(K=0),me===void 0&&(me=0),te===void 0&&(te=0),ye===void 0&&(ye=0),isNaN(K)||K<0||isNaN(me)||me<0||isNaN(te)||te<0||isNaN(ye)||ye<0)throw new Error(\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\");this.top=K,this.bottom=me,this.left=te,this.right=ye};al.prototype.interpolate=function(K,me,te){return me.top!=null&&K.top!=null&&(this.top=e.number(K.top,me.top,te)),me.bottom!=null&&K.bottom!=null&&(this.bottom=e.number(K.bottom,me.bottom,te)),me.left!=null&&K.left!=null&&(this.left=e.number(K.left,me.left,te)),me.right!=null&&K.right!=null&&(this.right=e.number(K.right,me.right,te)),this},al.prototype.getCenter=function(K,me){var te=e.clamp((this.left+K-this.right)/2,0,K),ye=e.clamp((this.top+me-this.bottom)/2,0,me);return new e.Point(te,ye)},al.prototype.equals=function(K){return this.top===K.top&&this.bottom===K.bottom&&this.left===K.left&&this.right===K.right},al.prototype.clone=function(){return new al(this.top,this.bottom,this.left,this.right)},al.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var os=function(K,me,te,ye,Ze){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ze===void 0?!0:Ze,this._minZoom=K||0,this._maxZoom=me||22,this._minPitch=te??0,this._maxPitch=ye??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new al,this._posMatrixCache={},this._alignedPosMatrixCache={}},is={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};os.prototype.clone=function(){var K=new os(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return K.tileSize=this.tileSize,K.latRange=this.latRange,K.width=this.width,K.height=this.height,K._center=this._center,K.zoom=this.zoom,K.angle=this.angle,K._fov=this._fov,K._pitch=this._pitch,K._unmodified=this._unmodified,K._edgeInsets=this._edgeInsets.clone(),K._calcMatrices(),K},is.minZoom.get=function(){return this._minZoom},is.minZoom.set=function(ve){this._minZoom!==ve&&(this._minZoom=ve,this.zoom=Math.max(this.zoom,ve))},is.maxZoom.get=function(){return this._maxZoom},is.maxZoom.set=function(ve){this._maxZoom!==ve&&(this._maxZoom=ve,this.zoom=Math.min(this.zoom,ve))},is.minPitch.get=function(){return this._minPitch},is.minPitch.set=function(ve){this._minPitch!==ve&&(this._minPitch=ve,this.pitch=Math.max(this.pitch,ve))},is.maxPitch.get=function(){return this._maxPitch},is.maxPitch.set=function(ve){this._maxPitch!==ve&&(this._maxPitch=ve,this.pitch=Math.min(this.pitch,ve))},is.renderWorldCopies.get=function(){return this._renderWorldCopies},is.renderWorldCopies.set=function(ve){ve===void 0?ve=!0:ve===null&&(ve=!1),this._renderWorldCopies=ve},is.worldSize.get=function(){return this.tileSize*this.scale},is.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},is.size.get=function(){return new e.Point(this.width,this.height)},is.bearing.get=function(){return-this.angle/Math.PI*180},is.bearing.set=function(ve){var K=-e.wrap(ve,-180,180)*Math.PI/180;this.angle!==K&&(this._unmodified=!1,this.angle=K,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},is.pitch.get=function(){return this._pitch/Math.PI*180},is.pitch.set=function(ve){var K=e.clamp(ve,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==K&&(this._unmodified=!1,this._pitch=K,this._calcMatrices())},is.fov.get=function(){return this._fov/Math.PI*180},is.fov.set=function(ve){ve=Math.max(.01,Math.min(60,ve)),this._fov!==ve&&(this._unmodified=!1,this._fov=ve/180*Math.PI,this._calcMatrices())},is.zoom.get=function(){return this._zoom},is.zoom.set=function(ve){var K=Math.min(Math.max(ve,this.minZoom),this.maxZoom);this._zoom!==K&&(this._unmodified=!1,this._zoom=K,this.scale=this.zoomScale(K),this.tileZoom=Math.floor(K),this.zoomFraction=K-this.tileZoom,this._constrain(),this._calcMatrices())},is.center.get=function(){return this._center},is.center.set=function(ve){ve.lat===this._center.lat&&ve.lng===this._center.lng||(this._unmodified=!1,this._center=ve,this._constrain(),this._calcMatrices())},is.padding.get=function(){return this._edgeInsets.toJSON()},is.padding.set=function(ve){this._edgeInsets.equals(ve)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ve,1),this._calcMatrices())},is.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},os.prototype.isPaddingEqual=function(K){return this._edgeInsets.equals(K)},os.prototype.interpolatePadding=function(K,me,te){this._unmodified=!1,this._edgeInsets.interpolate(K,me,te),this._constrain(),this._calcMatrices()},os.prototype.coveringZoomLevel=function(K){var me=(K.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/K.tileSize));return Math.max(0,me)},os.prototype.getVisibleUnwrappedCoordinates=function(K){var me=[new e.UnwrappedTileID(0,K)];if(this._renderWorldCopies)for(var te=this.pointCoordinate(new e.Point(0,0)),ye=this.pointCoordinate(new e.Point(this.width,0)),Ze=this.pointCoordinate(new e.Point(this.width,this.height)),We=this.pointCoordinate(new e.Point(0,this.height)),lt=Math.floor(Math.min(te.x,ye.x,Ze.x,We.x)),Ct=Math.floor(Math.max(te.x,ye.x,Ze.x,We.x)),Wt=1,xr=lt-Wt;xr<=Ct+Wt;xr++)xr!==0&&me.push(new e.UnwrappedTileID(xr,K));return me},os.prototype.coveringTiles=function(K){var me=this.coveringZoomLevel(K),te=me;if(K.minzoom!==void 0&&meK.maxzoom&&(me=K.maxzoom);var ye=e.MercatorCoordinate.fromLngLat(this.center),Ze=Math.pow(2,me),We=[Ze*ye.x,Ze*ye.y,0],lt=bs.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,me),Ct=K.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ct=me);var Wt=3,xr=function(Pi){return{aabb:new fl([Pi*Ze,0,0],[(Pi+1)*Ze,Ze,0]),zoom:0,x:0,y:0,wrap:Pi,fullyVisible:!1}},Fr=[],Ar=[],Gt=me,nr=K.reparseOverscaled?te:me;if(this._renderWorldCopies)for(var mr=1;mr<=3;mr++)Fr.push(xr(-mr)),Fr.push(xr(mr));for(Fr.push(xr(0));Fr.length>0;){var zr=Fr.pop(),Gr=zr.x,Xr=zr.y,fn=zr.fullyVisible;if(!fn){var sn=zr.aabb.intersects(lt);if(sn===0)continue;fn=sn===2}var Zr=zr.aabb.distanceX(We),hn=zr.aabb.distanceY(We),qr=Math.max(Math.abs(Zr),Math.abs(hn)),kn=Wt+(1<kn&&zr.zoom>=Ct){Ar.push({tileID:new e.OverscaledTileID(zr.zoom===Gt?nr:zr.zoom,zr.wrap,zr.zoom,Gr,Xr),distanceSq:e.sqrLen([We[0]-.5-Gr,We[1]-.5-Xr])});continue}for(var Xn=0;Xn<4;Xn++){var vi=(Gr<<1)+Xn%2,Ji=(Xr<<1)+(Xn>>1);Fr.push({aabb:zr.aabb.quadrant(Xn),zoom:zr.zoom+1,x:vi,y:Ji,wrap:zr.wrap,fullyVisible:fn})}}return Ar.sort(function(Pi,ea){return Pi.distanceSq-ea.distanceSq}).map(function(Pi){return Pi.tileID})},os.prototype.resize=function(K,me){this.width=K,this.height=me,this.pixelsToGLUnits=[2/K,-2/me],this._constrain(),this._calcMatrices()},is.unmodified.get=function(){return this._unmodified},os.prototype.zoomScale=function(K){return Math.pow(2,K)},os.prototype.scaleZoom=function(K){return Math.log(K)/Math.LN2},os.prototype.project=function(K){var me=e.clamp(K.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(K.lng)*this.worldSize,e.mercatorYfromLat(me)*this.worldSize)},os.prototype.unproject=function(K){return new e.MercatorCoordinate(K.x/this.worldSize,K.y/this.worldSize).toLngLat()},is.point.get=function(){return this.project(this.center)},os.prototype.setLocationAtPoint=function(K,me){var te=this.pointCoordinate(me),ye=this.pointCoordinate(this.centerPoint),Ze=this.locationCoordinate(K),We=new e.MercatorCoordinate(Ze.x-(te.x-ye.x),Ze.y-(te.y-ye.y));this.center=this.coordinateLocation(We),this._renderWorldCopies&&(this.center=this.center.wrap())},os.prototype.locationPoint=function(K){return this.coordinatePoint(this.locationCoordinate(K))},os.prototype.pointLocation=function(K){return this.coordinateLocation(this.pointCoordinate(K))},os.prototype.locationCoordinate=function(K){return e.MercatorCoordinate.fromLngLat(K)},os.prototype.coordinateLocation=function(K){return K.toLngLat()},os.prototype.pointCoordinate=function(K){var me=0,te=[K.x,K.y,0,1],ye=[K.x,K.y,1,1];e.transformMat4(te,te,this.pixelMatrixInverse),e.transformMat4(ye,ye,this.pixelMatrixInverse);var Ze=te[3],We=ye[3],lt=te[0]/Ze,Ct=ye[0]/We,Wt=te[1]/Ze,xr=ye[1]/We,Fr=te[2]/Ze,Ar=ye[2]/We,Gt=Fr===Ar?0:(me-Fr)/(Ar-Fr);return new e.MercatorCoordinate(e.number(lt,Ct,Gt)/this.worldSize,e.number(Wt,xr,Gt)/this.worldSize)},os.prototype.coordinatePoint=function(K){var me=[K.x*this.worldSize,K.y*this.worldSize,0,1];return e.transformMat4(me,me,this.pixelMatrix),new e.Point(me[0]/me[3],me[1]/me[3])},os.prototype.getBounds=function(){return new e.LngLatBounds().extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},os.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},os.prototype.setMaxBounds=function(K){K?(this.lngRange=[K.getWest(),K.getEast()],this.latRange=[K.getSouth(),K.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},os.prototype.calculatePosMatrix=function(K,me){me===void 0&&(me=!1);var te=K.key,ye=me?this._alignedPosMatrixCache:this._posMatrixCache;if(ye[te])return ye[te];var Ze=K.canonical,We=this.worldSize/this.zoomScale(Ze.z),lt=Ze.x+Math.pow(2,Ze.z)*K.wrap,Ct=e.identity(new Float64Array(16));return e.translate(Ct,Ct,[lt*We,Ze.y*We,0]),e.scale(Ct,Ct,[We/e.EXTENT,We/e.EXTENT,1]),e.multiply(Ct,me?this.alignedProjMatrix:this.projMatrix,Ct),ye[te]=new Float32Array(Ct),ye[te]},os.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},os.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var K=-90,me=90,te=-180,ye=180,Ze,We,lt,Ct,Wt=this.size,xr=this._unmodified;if(this.latRange){var Fr=this.latRange;K=e.mercatorYfromLat(Fr[1])*this.worldSize,me=e.mercatorYfromLat(Fr[0])*this.worldSize,Ze=me-Kme&&(Ct=me-zr)}if(this.lngRange){var Gr=Gt.x,Xr=Wt.x/2;Gr-Xrye&&(lt=ye-Xr)}(lt!==void 0||Ct!==void 0)&&(this.center=this.unproject(new e.Point(lt!==void 0?lt:Gt.x,Ct!==void 0?Ct:Gt.y))),this._unmodified=xr,this._constraining=!1}},os.prototype._calcMatrices=function(){if(this.height){var K=this._fov/2,me=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(K)*this.height;var te=Math.PI/2+this._pitch,ye=this._fov*(.5+me.y/this.height),Ze=Math.sin(ye)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-te-ye,.01,Math.PI-.01)),We=this.point,lt=We.x,Ct=We.y,Wt=Math.cos(Math.PI/2-this._pitch)*Ze+this.cameraToCenterDistance,xr=Wt*1.01,Fr=this.height/50,Ar=new Float64Array(16);e.perspective(Ar,this._fov,this.width/this.height,Fr,xr),Ar[8]=-me.x*2/this.width,Ar[9]=me.y*2/this.height,e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[0,0,-this.cameraToCenterDistance]),e.rotateX(Ar,Ar,this._pitch),e.rotateZ(Ar,Ar,this.angle),e.translate(Ar,Ar,[-lt,-Ct,0]),this.mercatorMatrix=e.scale([],Ar,[this.worldSize,this.worldSize,this.worldSize]),e.scale(Ar,Ar,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=Ar,this.invProjMatrix=e.invert([],this.projMatrix);var Gt=this.width%2/2,nr=this.height%2/2,mr=Math.cos(this.angle),zr=Math.sin(this.angle),Gr=lt-Math.round(lt)+mr*Gt+zr*nr,Xr=Ct-Math.round(Ct)+mr*nr+zr*Gt,fn=new Float64Array(Ar);if(e.translate(fn,fn,[Gr>.5?Gr-1:Gr,Xr>.5?Xr-1:Xr,0]),this.alignedProjMatrix=fn,Ar=e.create(),e.scale(Ar,Ar,[this.width/2,-this.height/2,1]),e.translate(Ar,Ar,[1,-1,0]),this.labelPlaneMatrix=Ar,Ar=e.create(),e.scale(Ar,Ar,[1,-1,1]),e.translate(Ar,Ar,[-1,-1,0]),e.scale(Ar,Ar,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ar,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),Ar=e.invert(new Float64Array(16),this.pixelMatrix),!Ar)throw new Error(\"failed to invert matrix\");this.pixelMatrixInverse=Ar,this._posMatrixCache={},this._alignedPosMatrixCache={}}},os.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var K=this.pointCoordinate(new e.Point(0,0)),me=[K.x*this.worldSize,K.y*this.worldSize,0,1],te=e.transformMat4(me,me,this.pixelMatrix);return te[3]/this.cameraToCenterDistance},os.prototype.getCameraPoint=function(){var K=this._pitch,me=Math.tan(K)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,me))},os.prototype.getCameraQueryGeometry=function(K){var me=this.getCameraPoint();if(K.length===1)return[K[0],me];for(var te=me.x,ye=me.y,Ze=me.x,We=me.y,lt=0,Ct=K;lt=3&&!K.some(function(te){return isNaN(te)})){var me=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(K[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+K[2],+K[1]],zoom:+K[0],bearing:me,pitch:+(K[4]||0)}),!0}return!1},eu.prototype._updateHashUnthrottled=function(){var K=e.window.location.href.replace(/(#.+)?$/,this.getHashString());try{e.window.history.replaceState(e.window.history.state,null,K)}catch{}};var Xu={linearity:.3,easing:e.bezier(0,0,.3,1)},mu=e.extend({deceleration:2500,maxSpeed:1400},Xu),El=e.extend({deceleration:20,maxSpeed:1400},Xu),fu=e.extend({deceleration:1e3,maxSpeed:360},Xu),Tc=e.extend({deceleration:1e3,maxSpeed:90},Xu),Zl=function(K){this._map=K,this.clear()};Zl.prototype.clear=function(){this._inertiaBuffer=[]},Zl.prototype.record=function(K){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:K})},Zl.prototype._drainInertiaBuffer=function(){for(var K=this._inertiaBuffer,me=e.browser.now(),te=160;K.length>0&&me-K[0].time>te;)K.shift()},Zl.prototype._onMoveEnd=function(K){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var me={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},te=0,ye=this._inertiaBuffer;te=this._clickTolerance||this._map.fire(new Re(K.type,this._map,K))},mt.prototype.dblclick=function(K){return this._firePreventable(new Re(K.type,this._map,K))},mt.prototype.mouseover=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.mouseout=function(K){this._map.fire(new Re(K.type,this._map,K))},mt.prototype.touchstart=function(K){return this._firePreventable(new Qe(K.type,this._map,K))},mt.prototype.touchmove=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchend=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype.touchcancel=function(K){this._map.fire(new Qe(K.type,this._map,K))},mt.prototype._firePreventable=function(K){if(this._map.fire(K),K.defaultPrevented)return{}},mt.prototype.isEnabled=function(){return!0},mt.prototype.isActive=function(){return!1},mt.prototype.enable=function(){},mt.prototype.disable=function(){};var Tt=function(K){this._map=K};Tt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Tt.prototype.mousemove=function(K){this._map.fire(new Re(K.type,this._map,K))},Tt.prototype.mousedown=function(){this._delayContextMenu=!0},Tt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Re(\"contextmenu\",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Tt.prototype.contextmenu=function(K){this._delayContextMenu?this._contextMenuEvent=K:this._map.fire(new Re(K.type,this._map,K)),this._map.listens(\"contextmenu\")&&K.preventDefault()},Tt.prototype.isEnabled=function(){return!0},Tt.prototype.isActive=function(){return!1},Tt.prototype.enable=function(){},Tt.prototype.disable=function(){};var Qt=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._container=K.getContainer(),this._clickTolerance=me.clickTolerance||1};Qt.prototype.isEnabled=function(){return!!this._enabled},Qt.prototype.isActive=function(){return!!this._active},Qt.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Qt.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Qt.prototype.mousedown=function(K,me){this.isEnabled()&&K.shiftKey&&K.button===0&&(r.disableDrag(),this._startPos=this._lastPos=me,this._active=!0)},Qt.prototype.mousemoveWindow=function(K,me){if(this._active){var te=me;if(!(this._lastPos.equals(te)||!this._box&&te.dist(this._startPos)this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=K.timeStamp),te.length===this.numTouches&&(this.centroid=lr(me),this.touches=Dt(te,me)))},yn.prototype.touchmove=function(K,me,te){if(!(this.aborted||!this.centroid)){var ye=Dt(te,me);for(var Ze in this.touches){var We=this.touches[Ze],lt=ye[Ze];(!lt||lt.dist(We)>Tn)&&(this.aborted=!0)}}},yn.prototype.touchend=function(K,me,te){if((!this.centroid||K.timeStamp-this.startTime>jr)&&(this.aborted=!0),te.length===0){var ye=!this.aborted&&this.centroid;if(this.reset(),ye)return ye}};var ti=function(K){this.singleTap=new yn(K),this.numTaps=K.numTaps,this.reset()};ti.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ti.prototype.touchstart=function(K,me,te){this.singleTap.touchstart(K,me,te)},ti.prototype.touchmove=function(K,me,te){this.singleTap.touchmove(K,me,te)},ti.prototype.touchend=function(K,me,te){var ye=this.singleTap.touchend(K,me,te);if(ye){var Ze=K.timeStamp-this.lastTime0&&(this._active=!0);var ye=Dt(te,me),Ze=new e.Point(0,0),We=new e.Point(0,0),lt=0;for(var Ct in ye){var Wt=ye[Ct],xr=this._touches[Ct];xr&&(Ze._add(Wt),We._add(Wt.sub(xr)),lt++,ye[Ct]=Wt)}if(this._touches=ye,!(ltMath.abs(ve.x)}var ua=100,wo=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.reset=function(){ve.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},K.prototype._start=function(te){this._lastPoints=te,ml(te[0].sub(te[1]))&&(this._valid=!1)},K.prototype._move=function(te,ye,Ze){var We=te[0].sub(this._lastPoints[0]),lt=te[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(We,lt,Ze.timeStamp),!!this._valid){this._lastPoints=te,this._active=!0;var Ct=(We.y+lt.y)/2,Wt=-.5;return{pitchDelta:Ct*Wt}}},K.prototype.gestureBeginsVertically=function(te,ye,Ze){if(this._valid!==void 0)return this._valid;var We=2,lt=te.mag()>=We,Ct=ye.mag()>=We;if(!(!lt&&!Ct)){if(!lt||!Ct)return this._firstMove===void 0&&(this._firstMove=Ze),Ze-this._firstMove0==ye.y>0;return ml(te)&&ml(ye)&&Wt}},K}(La),ys={panStep:100,bearingStep:15,pitchStep:10},Ms=function(){var K=ys;this._panStep=K.panStep,this._bearingStep=K.bearingStep,this._pitchStep=K.pitchStep,this._rotationDisabled=!1};Ms.prototype.reset=function(){this._active=!1},Ms.prototype.keydown=function(K){var me=this;if(!(K.altKey||K.ctrlKey||K.metaKey)){var te=0,ye=0,Ze=0,We=0,lt=0;switch(K.keyCode){case 61:case 107:case 171:case 187:te=1;break;case 189:case 109:case 173:te=-1;break;case 37:K.shiftKey?ye=-1:(K.preventDefault(),We=-1);break;case 39:K.shiftKey?ye=1:(K.preventDefault(),We=1);break;case 38:K.shiftKey?Ze=1:(K.preventDefault(),lt=-1);break;case 40:K.shiftKey?Ze=-1:(K.preventDefault(),lt=1);break;default:return}return this._rotationDisabled&&(ye=0,Ze=0),{cameraAnimation:function(Ct){var Wt=Ct.getZoom();Ct.easeTo({duration:300,easeId:\"keyboardHandler\",easing:xl,zoom:te?Math.round(Wt)+te*(K.shiftKey?2:1):Wt,bearing:Ct.getBearing()+ye*me._bearingStep,pitch:Ct.getPitch()+Ze*me._pitchStep,offset:[-We*me._panStep,-lt*me._panStep],center:Ct.getCenter()},{originalEvent:K})}}}},Ms.prototype.enable=function(){this._enabled=!0},Ms.prototype.disable=function(){this._enabled=!1,this.reset()},Ms.prototype.isEnabled=function(){return this._enabled},Ms.prototype.isActive=function(){return this._active},Ms.prototype.disableRotation=function(){this._rotationDisabled=!0},Ms.prototype.enableRotation=function(){this._rotationDisabled=!1};function xl(ve){return ve*(2-ve)}var Ul=4.000244140625,gu=1/100,Fl=1/450,vc=2,tr=function(K,me){this._map=K,this._el=K.getCanvasContainer(),this._handler=me,this._delta=0,this._defaultZoomRate=gu,this._wheelZoomRate=Fl,e.bindAll([\"_onTimeout\"],this)};tr.prototype.setZoomRate=function(K){this._defaultZoomRate=K},tr.prototype.setWheelZoomRate=function(K){this._wheelZoomRate=K},tr.prototype.isEnabled=function(){return!!this._enabled},tr.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},tr.prototype.isZooming=function(){return!!this._zooming},tr.prototype.enable=function(K){this.isEnabled()||(this._enabled=!0,this._aroundCenter=K&&K.around===\"center\")},tr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},tr.prototype.wheel=function(K){if(this.isEnabled()){var me=K.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?K.deltaY*40:K.deltaY,te=e.browser.now(),ye=te-(this._lastWheelEventTime||0);this._lastWheelEventTime=te,me!==0&&me%Ul===0?this._type=\"wheel\":me!==0&&Math.abs(me)<4?this._type=\"trackpad\":ye>400?(this._type=null,this._lastValue=me,this._timeout=setTimeout(this._onTimeout,40,K)):this._type||(this._type=Math.abs(ye*me)<200?\"trackpad\":\"wheel\",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,me+=this._lastValue)),K.shiftKey&&me&&(me=me/4),this._type&&(this._lastWheelEvent=K,this._delta-=me,this._active||this._start(K)),K.preventDefault()}},tr.prototype._onTimeout=function(K){this._type=\"wheel\",this._delta-=this._lastValue,this._active||this._start(K)},tr.prototype._start=function(K){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var me=r.mousePos(this._el,K);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(me)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},tr.prototype.renderFrame=function(){var K=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var me=this._map.transform;if(this._delta!==0){var te=this._type===\"wheel\"&&Math.abs(this._delta)>Ul?this._wheelZoomRate:this._defaultZoomRate,ye=vc/(1+Math.exp(-Math.abs(this._delta*te)));this._delta<0&&ye!==0&&(ye=1/ye);var Ze=typeof this._targetZoom==\"number\"?me.zoomScale(this._targetZoom):me.scale;this._targetZoom=Math.min(me.maxZoom,Math.max(me.minZoom,me.scaleZoom(Ze*ye))),this._type===\"wheel\"&&(this._startZoom=me.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var We=typeof this._targetZoom==\"number\"?this._targetZoom:me.zoom,lt=this._startZoom,Ct=this._easing,Wt=!1,xr;if(this._type===\"wheel\"&<&&Ct){var Fr=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),Ar=Ct(Fr);xr=e.number(lt,We,Ar),Fr<1?this._frameId||(this._frameId=!0):Wt=!0}else xr=We,Wt=!0;return this._active=!0,Wt&&(this._active=!1,this._finishTimeout=setTimeout(function(){K._zooming=!1,K._handler._triggerRenderFrame(),delete K._targetZoom,delete K._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Wt,zoomDelta:xr-me.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},tr.prototype._smoothOutEasing=function(K){var me=e.ease;if(this._prevEase){var te=this._prevEase,ye=(e.browser.now()-te.start)/te.duration,Ze=te.easing(ye+.01)-te.easing(ye),We=.27/Math.sqrt(Ze*Ze+1e-4)*.01,lt=Math.sqrt(.27*.27-We*We);me=e.bezier(We,lt,.25,1)}return this._prevEase={start:e.browser.now(),duration:K,easing:me},me},tr.prototype.reset=function(){this._active=!1};var cn=function(K,me){this._clickZoom=K,this._tapZoom=me};cn.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cn.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cn.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cn.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var Ln=function(){this.reset()};Ln.prototype.reset=function(){this._active=!1},Ln.prototype.dblclick=function(K,me){return K.preventDefault(),{cameraAnimation:function(te){te.easeTo({duration:300,zoom:te.getZoom()+(K.shiftKey?-1:1),around:te.unproject(me)},{originalEvent:K})}}},Ln.prototype.enable=function(){this._enabled=!0},Ln.prototype.disable=function(){this._enabled=!1,this.reset()},Ln.prototype.isEnabled=function(){return this._enabled},Ln.prototype.isActive=function(){return this._active};var xi=function(){this._tap=new ti({numTouches:1,numTaps:1}),this.reset()};xi.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},xi.prototype.touchstart=function(K,me,te){this._swipePoint||(this._tapTime&&K.timeStamp-this._tapTime>Br&&this.reset(),this._tapTime?te.length>0&&(this._swipePoint=me[0],this._swipeTouch=te[0].identifier):this._tap.touchstart(K,me,te))},xi.prototype.touchmove=function(K,me,te){if(!this._tapTime)this._tap.touchmove(K,me,te);else if(this._swipePoint){if(te[0].identifier!==this._swipeTouch)return;var ye=me[0],Ze=ye.y-this._swipePoint.y;return this._swipePoint=ye,K.preventDefault(),this._active=!0,{zoomDelta:Ze/128}}},xi.prototype.touchend=function(K,me,te){if(this._tapTime)this._swipePoint&&te.length===0&&this.reset();else{var ye=this._tap.touchend(K,me,te);ye&&(this._tapTime=K.timeStamp)}},xi.prototype.touchcancel=function(){this.reset()},xi.prototype.enable=function(){this._enabled=!0},xi.prototype.disable=function(){this._enabled=!1,this.reset()},xi.prototype.isEnabled=function(){return this._enabled},xi.prototype.isActive=function(){return this._active};var Ni=function(K,me,te){this._el=K,this._mousePan=me,this._touchPan=te};Ni.prototype.enable=function(K){this._inertiaOptions=K||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add(\"mapboxgl-touch-drag-pan\")},Ni.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove(\"mapboxgl-touch-drag-pan\")},Ni.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ni.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Fi=function(K,me,te){this._pitchWithRotate=K.pitchWithRotate,this._mouseRotate=me,this._mousePitch=te};Fi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Fi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Fi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Fi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var Oi=function(K,me,te,ye){this._el=K,this._touchZoom=me,this._touchRotate=te,this._tapDragZoom=ye,this._rotationDisabled=!1,this._enabled=!0};Oi.prototype.enable=function(K){this._touchZoom.enable(K),this._rotationDisabled||this._touchRotate.enable(K),this._tapDragZoom.enable(),this._el.classList.add(\"mapboxgl-touch-zoom-rotate\")},Oi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove(\"mapboxgl-touch-zoom-rotate\")},Oi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},Oi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},Oi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},Oi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var na=function(ve){return ve.zoom||ve.drag||ve.pitch||ve.rotate},Ca=function(ve){function K(){ve.apply(this,arguments)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K}(e.Event);function ka(ve){return ve.panDelta&&ve.panDelta.mag()||ve.zoomDelta||ve.bearingDelta||ve.pitchDelta}var ha=function(K,me){this._map=K,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Zl(K),this._bearingSnap=me.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(me),e.bindAll([\"handleEvent\",\"handleWindowEvent\"],this);var te=this._el;this._listeners=[[te,\"touchstart\",{passive:!0}],[te,\"touchmove\",{passive:!1}],[te,\"touchend\",void 0],[te,\"touchcancel\",void 0],[te,\"mousedown\",void 0],[te,\"mousemove\",void 0],[te,\"mouseup\",void 0],[e.window.document,\"mousemove\",{capture:!0}],[e.window.document,\"mouseup\",void 0],[te,\"mouseover\",void 0],[te,\"mouseout\",void 0],[te,\"dblclick\",void 0],[te,\"click\",void 0],[te,\"keydown\",{capture:!1}],[te,\"keyup\",void 0],[te,\"wheel\",{passive:!1}],[te,\"contextmenu\",void 0],[e.window,\"blur\",void 0]];for(var ye=0,Ze=this._listeners;yelt?Math.min(2,Zr):Math.max(.5,Zr),Pi=Math.pow(Ji,1-Xn),ea=We.unproject(fn.add(sn.mult(Xn*Pi)).mult(vi));We.setLocationAtPoint(We.renderWorldCopies?ea.wrap():ea,zr)}Ze._fireMoveEvents(ye)},function(Xn){Ze._afterEase(ye,Xn)},te),this},K.prototype._prepareEase=function(te,ye,Ze){Ze===void 0&&(Ze={}),this._moving=!0,!ye&&!Ze.moving&&this.fire(new e.Event(\"movestart\",te)),this._zooming&&!Ze.zooming&&this.fire(new e.Event(\"zoomstart\",te)),this._rotating&&!Ze.rotating&&this.fire(new e.Event(\"rotatestart\",te)),this._pitching&&!Ze.pitching&&this.fire(new e.Event(\"pitchstart\",te))},K.prototype._fireMoveEvents=function(te){this.fire(new e.Event(\"move\",te)),this._zooming&&this.fire(new e.Event(\"zoom\",te)),this._rotating&&this.fire(new e.Event(\"rotate\",te)),this._pitching&&this.fire(new e.Event(\"pitch\",te))},K.prototype._afterEase=function(te,ye){if(!(this._easeId&&ye&&this._easeId===ye)){delete this._easeId;var Ze=this._zooming,We=this._rotating,lt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ze&&this.fire(new e.Event(\"zoomend\",te)),We&&this.fire(new e.Event(\"rotateend\",te)),lt&&this.fire(new e.Event(\"pitchend\",te)),this.fire(new e.Event(\"moveend\",te))}},K.prototype.flyTo=function(te,ye){var Ze=this;if(!te.essential&&e.browser.prefersReducedMotion){var We=e.pick(te,[\"center\",\"zoom\",\"bearing\",\"pitch\",\"around\"]);return this.jumpTo(We,ye)}this.stop(),te=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},te);var lt=this.transform,Ct=this.getZoom(),Wt=this.getBearing(),xr=this.getPitch(),Fr=this.getPadding(),Ar=\"zoom\"in te?e.clamp(+te.zoom,lt.minZoom,lt.maxZoom):Ct,Gt=\"bearing\"in te?this._normalizeBearing(te.bearing,Wt):Wt,nr=\"pitch\"in te?+te.pitch:xr,mr=\"padding\"in te?te.padding:lt.padding,zr=lt.zoomScale(Ar-Ct),Gr=e.Point.convert(te.offset),Xr=lt.centerPoint.add(Gr),fn=lt.pointLocation(Xr),sn=e.LngLat.convert(te.center||fn);this._normalizeCenter(sn);var Zr=lt.project(fn),hn=lt.project(sn).sub(Zr),qr=te.curve,kn=Math.max(lt.width,lt.height),Xn=kn/zr,vi=hn.mag();if(\"minZoom\"in te){var Ji=e.clamp(Math.min(te.minZoom,Ct,Ar),lt.minZoom,lt.maxZoom),Pi=kn/lt.zoomScale(Ji-Ct);qr=Math.sqrt(Pi/vi*2)}var ea=qr*qr;function ja(rs){var js=(Xn*Xn-kn*kn+(rs?-1:1)*ea*ea*vi*vi)/(2*(rs?Xn:kn)*ea*vi);return Math.log(Math.sqrt(js*js+1)-js)}function Ea(rs){return(Math.exp(rs)-Math.exp(-rs))/2}function $i(rs){return(Math.exp(rs)+Math.exp(-rs))/2}function da(rs){return Ea(rs)/$i(rs)}var fa=ja(0),za=function(rs){return $i(fa)/$i(fa+qr*rs)},Qa=function(rs){return kn*(($i(fa)*da(fa+qr*rs)-Ea(fa))/ea)/vi},Cs=(ja(1)-fa)/qr;if(Math.abs(vi)<1e-6||!isFinite(Cs)){if(Math.abs(kn-Xn)<1e-6)return this.easeTo(te,ye);var ws=Xnte.maxDuration&&(te.duration=0),this._zooming=!0,this._rotating=Wt!==Gt,this._pitching=nr!==xr,this._padding=!lt.isPaddingEqual(mr),this._prepareEase(ye,!1),this._ease(function(rs){var js=rs*Cs,Cl=1/za(js);lt.zoom=rs===1?Ar:Ct+lt.scaleZoom(Cl),Ze._rotating&&(lt.bearing=e.number(Wt,Gt,rs)),Ze._pitching&&(lt.pitch=e.number(xr,nr,rs)),Ze._padding&&(lt.interpolatePadding(Fr,mr,rs),Xr=lt.centerPoint.add(Gr));var Ou=rs===1?sn:lt.unproject(Zr.add(hn.mult(Qa(js))).mult(Cl));lt.setLocationAtPoint(lt.renderWorldCopies?Ou.wrap():Ou,Xr),Ze._fireMoveEvents(ye)},function(){return Ze._afterEase(ye)},te),this},K.prototype.isEasing=function(){return!!this._easeFrameId},K.prototype.stop=function(){return this._stop()},K.prototype._stop=function(te,ye){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ze=this._onEaseEnd;delete this._onEaseEnd,Ze.call(this,ye)}if(!te){var We=this.handlers;We&&We.stop(!1)}return this},K.prototype._ease=function(te,ye,Ze){Ze.animate===!1||Ze.duration===0?(te(1),ye()):(this._easeStart=e.browser.now(),this._easeOptions=Ze,this._onEaseFrame=te,this._onEaseEnd=ye,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},K.prototype._renderFrameCallback=function(){var te=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(te)),te<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},K.prototype._normalizeBearing=function(te,ye){te=e.wrap(te,-180,180);var Ze=Math.abs(te-ye);return Math.abs(te-360-ye)180?-360:Ze<-180?360:0}},K}(e.Evented),Aa=function(K){K===void 0&&(K={}),this.options=K,e.bindAll([\"_toggleAttribution\",\"_updateEditLink\",\"_updateData\",\"_updateCompact\"],this)};Aa.prototype.getDefaultPosition=function(){return\"bottom-right\"},Aa.prototype.onAdd=function(K){var me=this.options&&this.options.compact;return this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-attrib\"),this._compactButton=r.create(\"button\",\"mapboxgl-ctrl-attrib-button\",this._container),this._compactButton.addEventListener(\"click\",this._toggleAttribution),this._setElementTitle(this._compactButton,\"ToggleAttribution\"),this._innerContainer=r.create(\"div\",\"mapboxgl-ctrl-attrib-inner\",this._container),this._innerContainer.setAttribute(\"role\",\"list\"),me&&this._container.classList.add(\"mapboxgl-compact\"),this._updateAttributions(),this._updateEditLink(),this._map.on(\"styledata\",this._updateData),this._map.on(\"sourcedata\",this._updateData),this._map.on(\"moveend\",this._updateEditLink),me===void 0&&(this._map.on(\"resize\",this._updateCompact),this._updateCompact()),this._container},Aa.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"styledata\",this._updateData),this._map.off(\"sourcedata\",this._updateData),this._map.off(\"moveend\",this._updateEditLink),this._map.off(\"resize\",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Aa.prototype._setElementTitle=function(K,me){var te=this._map._getUIString(\"AttributionControl.\"+me);K.title=te,K.setAttribute(\"aria-label\",te)},Aa.prototype._toggleAttribution=function(){this._container.classList.contains(\"mapboxgl-compact-show\")?(this._container.classList.remove(\"mapboxgl-compact-show\"),this._compactButton.setAttribute(\"aria-pressed\",\"false\")):(this._container.classList.add(\"mapboxgl-compact-show\"),this._compactButton.setAttribute(\"aria-pressed\",\"true\"))},Aa.prototype._updateEditLink=function(){var K=this._editLink;K||(K=this._editLink=this._container.querySelector(\".mapbox-improve-map\"));var me=[{key:\"owner\",value:this.styleOwner},{key:\"id\",value:this.styleId},{key:\"access_token\",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(K){var te=me.reduce(function(ye,Ze,We){return Ze.value&&(ye+=Ze.key+\"=\"+Ze.value+(We=0)return!1;return!0});var lt=K.join(\" | \");lt!==this._attribHTML&&(this._attribHTML=lt,K.length?(this._innerContainer.innerHTML=lt,this._container.classList.remove(\"mapboxgl-attrib-empty\")):this._container.classList.add(\"mapboxgl-attrib-empty\"),this._editLink=null)}},Aa.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add(\"mapboxgl-compact\"):this._container.classList.remove(\"mapboxgl-compact\",\"mapboxgl-compact-show\")};var Ma=function(){e.bindAll([\"_updateLogo\"],this),e.bindAll([\"_updateCompact\"],this)};Ma.prototype.onAdd=function(K){this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl\");var me=r.create(\"a\",\"mapboxgl-ctrl-logo\");return me.target=\"_blank\",me.rel=\"noopener nofollow\",me.href=\"https://www.mapbox.com/\",me.setAttribute(\"aria-label\",this._map._getUIString(\"LogoControl.Title\")),me.setAttribute(\"rel\",\"noopener nofollow\"),this._container.appendChild(me),this._container.style.display=\"none\",this._map.on(\"sourcedata\",this._updateLogo),this._updateLogo(),this._map.on(\"resize\",this._updateCompact),this._updateCompact(),this._container},Ma.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"sourcedata\",this._updateLogo),this._map.off(\"resize\",this._updateCompact)},Ma.prototype.getDefaultPosition=function(){return\"bottom-left\"},Ma.prototype._updateLogo=function(K){(!K||K.sourceDataType===\"metadata\")&&(this._container.style.display=this._logoRequired()?\"block\":\"none\")},Ma.prototype._logoRequired=function(){if(this._map.style){var K=this._map.style.sourceCaches;for(var me in K){var te=K[me].getSource();if(te.mapbox_logo)return!0}return!1}},Ma.prototype._updateCompact=function(){var K=this._container.children;if(K.length){var me=K[0];this._map.getCanvasContainer().offsetWidth<250?me.classList.add(\"mapboxgl-compact\"):me.classList.remove(\"mapboxgl-compact\")}};var ia=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};ia.prototype.add=function(K){var me=++this._id,te=this._queue;return te.push({callback:K,id:me,cancelled:!1}),me},ia.prototype.remove=function(K){for(var me=this._currentlyRunning,te=me?this._queue.concat(me):this._queue,ye=0,Ze=te;yete.maxZoom)throw new Error(\"maxZoom must be greater than or equal to minZoom\");if(te.minPitch!=null&&te.maxPitch!=null&&te.minPitch>te.maxPitch)throw new Error(\"maxPitch must be greater than or equal to minPitch\");if(te.minPitch!=null&&te.minPitchOo)throw new Error(\"maxPitch must be less than or equal to \"+Oo);var Ze=new os(te.minZoom,te.maxZoom,te.minPitch,te.maxPitch,te.renderWorldCopies);if(ve.call(this,Ze,te),this._interactive=te.interactive,this._maxTileCacheSize=te.maxTileCacheSize,this._failIfMajorPerformanceCaveat=te.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=te.preserveDrawingBuffer,this._antialias=te.antialias,this._trackResize=te.trackResize,this._bearingSnap=te.bearingSnap,this._refreshExpiredTiles=te.refreshExpiredTiles,this._fadeDuration=te.fadeDuration,this._crossSourceCollisions=te.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=te.collectResourceTiming,this._renderTaskQueue=new ia,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},wi,te.locale),this._clickTolerance=te.clickTolerance,this._requestManager=new e.RequestManager(te.transformRequest,te.accessToken),typeof te.container==\"string\"){if(this._container=e.window.document.getElementById(te.container),!this._container)throw new Error(\"Container '\"+te.container+\"' not found.\")}else if(te.container instanceof ba)this._container=te.container;else throw new Error(\"Invalid type: 'container' must be a String or HTMLElement.\");if(te.maxBounds&&this.setMaxBounds(te.maxBounds),e.bindAll([\"_onWindowOnline\",\"_onWindowResize\",\"_onMapScroll\",\"_contextLost\",\"_contextRestored\"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error(\"Failed to initialize WebGL.\");this.on(\"move\",function(){return ye._update(!1)}),this.on(\"moveend\",function(){return ye._update(!1)}),this.on(\"zoom\",function(){return ye._update(!0)}),typeof e.window<\"u\"&&(e.window.addEventListener(\"online\",this._onWindowOnline,!1),e.window.addEventListener(\"resize\",this._onWindowResize,!1),e.window.addEventListener(\"orientationchange\",this._onWindowResize,!1)),this.handlers=new ha(this,te);var We=typeof te.hash==\"string\"&&te.hash||void 0;this._hash=te.hash&&new eu(We).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:te.center,zoom:te.zoom,bearing:te.bearing,pitch:te.pitch}),te.bounds&&(this.resize(),this.fitBounds(te.bounds,e.extend({},te.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=te.localIdeographFontFamily,te.style&&this.setStyle(te.style,{localIdeographFontFamily:te.localIdeographFontFamily}),te.attributionControl&&this.addControl(new Aa({customAttribution:te.customAttribution})),this.addControl(new Ma,te.logoPosition),this.on(\"style.load\",function(){ye.transform.unmodified&&ye.jumpTo(ye.style.stylesheet)}),this.on(\"data\",function(lt){ye._update(lt.dataType===\"style\"),ye.fire(new e.Event(lt.dataType+\"data\",lt))}),this.on(\"dataloading\",function(lt){ye.fire(new e.Event(lt.dataType+\"dataloading\",lt))})}ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K;var me={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return K.prototype._getMapId=function(){return this._mapId},K.prototype.addControl=function(ye,Ze){if(Ze===void 0&&(ye.getDefaultPosition?Ze=ye.getDefaultPosition():Ze=\"top-right\"),!ye||!ye.onAdd)return this.fire(new e.ErrorEvent(new Error(\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\")));var We=ye.onAdd(this);this._controls.push(ye);var lt=this._controlPositions[Ze];return Ze.indexOf(\"bottom\")!==-1?lt.insertBefore(We,lt.firstChild):lt.appendChild(We),this},K.prototype.removeControl=function(ye){if(!ye||!ye.onRemove)return this.fire(new e.ErrorEvent(new Error(\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\")));var Ze=this._controls.indexOf(ye);return Ze>-1&&this._controls.splice(Ze,1),ye.onRemove(this),this},K.prototype.hasControl=function(ye){return this._controls.indexOf(ye)>-1},K.prototype.resize=function(ye){var Ze=this._containerDimensions(),We=Ze[0],lt=Ze[1];this._resizeCanvas(We,lt),this.transform.resize(We,lt),this.painter.resize(We,lt);var Ct=!this._moving;return Ct&&(this.stop(),this.fire(new e.Event(\"movestart\",ye)).fire(new e.Event(\"move\",ye))),this.fire(new e.Event(\"resize\",ye)),Ct&&this.fire(new e.Event(\"moveend\",ye)),this},K.prototype.getBounds=function(){return this.transform.getBounds()},K.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},K.prototype.setMaxBounds=function(ye){return this.transform.setMaxBounds(e.LngLatBounds.convert(ye)),this._update()},K.prototype.setMinZoom=function(ye){if(ye=ye??ca,ye>=ca&&ye<=this.transform.maxZoom)return this.transform.minZoom=ye,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=ye,this._update(),this.getZoom()>ye&&this.setZoom(ye),this;throw new Error(\"maxZoom must be greater than the current minZoom\")},K.prototype.getMaxZoom=function(){return this.transform.maxZoom},K.prototype.setMinPitch=function(ye){if(ye=ye??Ba,ye=Ba&&ye<=this.transform.maxPitch)return this.transform.minPitch=ye,this._update(),this.getPitch()Oo)throw new Error(\"maxPitch must be less than or equal to \"+Oo);if(ye>=this.transform.minPitch)return this.transform.maxPitch=ye,this._update(),this.getPitch()>ye&&this.setPitch(ye),this;throw new Error(\"maxPitch must be greater than the current minPitch\")},K.prototype.getMaxPitch=function(){return this.transform.maxPitch},K.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},K.prototype.setRenderWorldCopies=function(ye){return this.transform.renderWorldCopies=ye,this._update()},K.prototype.project=function(ye){return this.transform.locationPoint(e.LngLat.convert(ye))},K.prototype.unproject=function(ye){return this.transform.pointLocation(e.Point.convert(ye))},K.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},K.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},K.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},K.prototype._createDelegatedListener=function(ye,Ze,We){var lt=this,Ct;if(ye===\"mouseenter\"||ye===\"mouseover\"){var Wt=!1,xr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Wt||(Wt=!0,We.call(lt,new Re(ye,lt,zr.originalEvent,{features:Gr}))):Wt=!1},Fr=function(){Wt=!1};return{layer:Ze,listener:We,delegates:{mousemove:xr,mouseout:Fr}}}else if(ye===\"mouseleave\"||ye===\"mouseout\"){var Ar=!1,Gt=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length?Ar=!0:Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))},nr=function(zr){Ar&&(Ar=!1,We.call(lt,new Re(ye,lt,zr.originalEvent)))};return{layer:Ze,listener:We,delegates:{mousemove:Gt,mouseout:nr}}}else{var mr=function(zr){var Gr=lt.getLayer(Ze)?lt.queryRenderedFeatures(zr.point,{layers:[Ze]}):[];Gr.length&&(zr.features=Gr,We.call(lt,zr),delete zr.features)};return{layer:Ze,listener:We,delegates:(Ct={},Ct[ye]=mr,Ct)}}},K.prototype.on=function(ye,Ze,We){if(We===void 0)return ve.prototype.on.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[ye]=this._delegatedListeners[ye]||[],this._delegatedListeners[ye].push(lt);for(var Ct in lt.delegates)this.on(Ct,lt.delegates[Ct]);return this},K.prototype.once=function(ye,Ze,We){if(We===void 0)return ve.prototype.once.call(this,ye,Ze);var lt=this._createDelegatedListener(ye,Ze,We);for(var Ct in lt.delegates)this.once(Ct,lt.delegates[Ct]);return this},K.prototype.off=function(ye,Ze,We){var lt=this;if(We===void 0)return ve.prototype.off.call(this,ye,Ze);var Ct=function(Wt){for(var xr=Wt[ye],Fr=0;Fr180;){var We=me.locationPoint(ve);if(We.x>=0&&We.y>=0&&We.x<=me.width&&We.y<=me.height)break;ve.lng>me.center.lng?ve.lng-=360:ve.lng+=360}return ve}var Zo={center:\"translate(-50%,-50%)\",top:\"translate(-50%,0)\",\"top-left\":\"translate(0,0)\",\"top-right\":\"translate(-100%,0)\",bottom:\"translate(-50%,-100%)\",\"bottom-left\":\"translate(0,-100%)\",\"bottom-right\":\"translate(-100%,-100%)\",left:\"translate(0,-50%)\",right:\"translate(-100%,-50%)\"};function ps(ve,K,me){var te=ve.classList;for(var ye in Zo)te.remove(\"mapboxgl-\"+me+\"-anchor-\"+ye);te.add(\"mapboxgl-\"+me+\"-anchor-\"+K)}var Na=function(ve){function K(me,te){if(ve.call(this),(me instanceof e.window.HTMLElement||te)&&(me=e.extend({element:me},te)),e.bindAll([\"_update\",\"_onMove\",\"_onUp\",\"_addDragHandler\",\"_onMapClick\",\"_onKeyPress\"],this),this._anchor=me&&me.anchor||\"center\",this._color=me&&me.color||\"#3FB1CE\",this._scale=me&&me.scale||1,this._draggable=me&&me.draggable||!1,this._clickTolerance=me&&me.clickTolerance||0,this._isDragging=!1,this._state=\"inactive\",this._rotation=me&&me.rotation||0,this._rotationAlignment=me&&me.rotationAlignment||\"auto\",this._pitchAlignment=me&&me.pitchAlignment&&me.pitchAlignment!==\"auto\"?me.pitchAlignment:this._rotationAlignment,!me||!me.element){this._defaultMarker=!0,this._element=r.create(\"div\"),this._element.setAttribute(\"aria-label\",\"Map marker\");var ye=r.createNS(\"http://www.w3.org/2000/svg\",\"svg\"),Ze=41,We=27;ye.setAttributeNS(null,\"display\",\"block\"),ye.setAttributeNS(null,\"height\",Ze+\"px\"),ye.setAttributeNS(null,\"width\",We+\"px\"),ye.setAttributeNS(null,\"viewBox\",\"0 0 \"+We+\" \"+Ze);var lt=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");lt.setAttributeNS(null,\"stroke\",\"none\"),lt.setAttributeNS(null,\"stroke-width\",\"1\"),lt.setAttributeNS(null,\"fill\",\"none\"),lt.setAttributeNS(null,\"fill-rule\",\"evenodd\");var Ct=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");Ct.setAttributeNS(null,\"fill-rule\",\"nonzero\");var Wt=r.createNS(\"http://www.w3.org/2000/svg\",\"g\");Wt.setAttributeNS(null,\"transform\",\"translate(3.0, 29.0)\"),Wt.setAttributeNS(null,\"fill\",\"#000000\");for(var xr=[{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"9.5\",ry:\"4.77275007\"},{rx:\"8.5\",ry:\"4.29549936\"},{rx:\"7.5\",ry:\"3.81822308\"},{rx:\"6.5\",ry:\"3.34094679\"},{rx:\"5.5\",ry:\"2.86367051\"},{rx:\"4.5\",ry:\"2.38636864\"}],Fr=0,Ar=xr;Fr=ye}this._isDragging&&(this._pos=te.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents=\"none\",this._state===\"pending\"&&(this._state=\"active\",this.fire(new e.Event(\"dragstart\"))),this.fire(new e.Event(\"drag\")))},K.prototype._onUp=function(){this._element.style.pointerEvents=\"auto\",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),this._state===\"active\"&&this.fire(new e.Event(\"dragend\")),this._state=\"inactive\"},K.prototype._addDragHandler=function(te){this._element.contains(te.originalEvent.target)&&(te.preventDefault(),this._positionDelta=te.point.sub(this._pos).add(this._offset),this._pointerdownPos=te.point,this._state=\"pending\",this._map.on(\"mousemove\",this._onMove),this._map.on(\"touchmove\",this._onMove),this._map.once(\"mouseup\",this._onUp),this._map.once(\"touchend\",this._onUp))},K.prototype.setDraggable=function(te){return this._draggable=!!te,this._map&&(te?(this._map.on(\"mousedown\",this._addDragHandler),this._map.on(\"touchstart\",this._addDragHandler)):(this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler))),this},K.prototype.isDraggable=function(){return this._draggable},K.prototype.setRotation=function(te){return this._rotation=te||0,this._update(),this},K.prototype.getRotation=function(){return this._rotation},K.prototype.setRotationAlignment=function(te){return this._rotationAlignment=te||\"auto\",this._update(),this},K.prototype.getRotationAlignment=function(){return this._rotationAlignment},K.prototype.setPitchAlignment=function(te){return this._pitchAlignment=te&&te!==\"auto\"?te:this._rotationAlignment,this._update(),this},K.prototype.getPitchAlignment=function(){return this._pitchAlignment},K}(e.Evented),Mo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},ss;function _s(ve){ss!==void 0?ve(ss):e.window.navigator.permissions!==void 0?e.window.navigator.permissions.query({name:\"geolocation\"}).then(function(K){ss=K.state!==\"denied\",ve(ss)}):(ss=!!e.window.navigator.geolocation,ve(ss))}var Fs=0,iu=!1,Oc=function(ve){function K(me){ve.call(this),this.options=e.extend({},Mo,me),e.bindAll([\"_onSuccess\",\"_onError\",\"_onZoom\",\"_finish\",\"_setupUI\",\"_updateCamera\",\"_updateMarker\"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.onAdd=function(te){return this._map=te,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-group\"),_s(this._setupUI),this._container},K.prototype.onRemove=function(){this._geolocationWatchID!==void 0&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off(\"zoom\",this._onZoom),this._map=void 0,Fs=0,iu=!1},K.prototype._isOutOfMapMaxBounds=function(te){var ye=this._map.getMaxBounds(),Ze=te.coords;return ye&&(Ze.longitudeye.getEast()||Ze.latitudeye.getNorth())},K.prototype._setErrorState=function(){switch(this._watchState){case\"WAITING_ACTIVE\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");break;case\"ACTIVE_LOCK\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");break;case\"BACKGROUND\":this._watchState=\"BACKGROUND_ERROR\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\");break}},K.prototype._onSuccess=function(te){if(this._map){if(this._isOutOfMapMaxBounds(te)){this._setErrorState(),this.fire(new e.Event(\"outofmaxbounds\",te)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=te,this._watchState){case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"BACKGROUND\":case\"BACKGROUND_ERROR\":this._watchState=\"BACKGROUND\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");break}this.options.showUserLocation&&this._watchState!==\"OFF\"&&this._updateMarker(te),(!this.options.trackUserLocation||this._watchState===\"ACTIVE_LOCK\")&&this._updateCamera(te),this.options.showUserLocation&&this._dotElement.classList.remove(\"mapboxgl-user-location-dot-stale\"),this.fire(new e.Event(\"geolocate\",te)),this._finish()}},K.prototype._updateCamera=function(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude),Ze=te.coords.accuracy,We=this._map.getBearing(),lt=e.extend({bearing:We},this.options.fitBoundsOptions);this._map.fitBounds(ye.toBounds(Ze),lt,{geolocateSource:!0})},K.prototype._updateMarker=function(te){if(te){var ye=new e.LngLat(te.coords.longitude,te.coords.latitude);this._accuracyCircleMarker.setLngLat(ye).addTo(this._map),this._userLocationDotMarker.setLngLat(ye).addTo(this._map),this._accuracy=te.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},K.prototype._updateCircleRadius=function(){var te=this._map._container.clientHeight/2,ye=this._map.unproject([0,te]),Ze=this._map.unproject([1,te]),We=ye.distanceTo(Ze),lt=Math.ceil(2*this._accuracy/We);this._circleElement.style.width=lt+\"px\",this._circleElement.style.height=lt+\"px\"},K.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},K.prototype._onError=function(te){if(this._map){if(this.options.trackUserLocation)if(te.code===1){this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this._geolocateButton.disabled=!0;var ye=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.title=ye,this._geolocateButton.setAttribute(\"aria-label\",ye),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(te.code===3&&iu)return;this._setErrorState()}this._watchState!==\"OFF\"&&this.options.showUserLocation&&this._dotElement.classList.add(\"mapboxgl-user-location-dot-stale\"),this.fire(new e.Event(\"error\",te)),this._finish()}},K.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},K.prototype._setupUI=function(te){var ye=this;if(this._container.addEventListener(\"contextmenu\",function(lt){return lt.preventDefault()}),this._geolocateButton=r.create(\"button\",\"mapboxgl-ctrl-geolocate\",this._container),r.create(\"span\",\"mapboxgl-ctrl-icon\",this._geolocateButton).setAttribute(\"aria-hidden\",!0),this._geolocateButton.type=\"button\",te===!1){e.warnOnce(\"Geolocation support is not available so the GeolocateControl will be disabled.\");var Ze=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ze,this._geolocateButton.setAttribute(\"aria-label\",Ze)}else{var We=this._map._getUIString(\"GeolocateControl.FindMyLocation\");this._geolocateButton.title=We,this._geolocateButton.setAttribute(\"aria-label\",We)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this._watchState=\"OFF\"),this.options.showUserLocation&&(this._dotElement=r.create(\"div\",\"mapboxgl-user-location-dot\"),this._userLocationDotMarker=new Na(this._dotElement),this._circleElement=r.create(\"div\",\"mapboxgl-user-location-accuracy-circle\"),this._accuracyCircleMarker=new Na({element:this._circleElement,pitchAlignment:\"map\"}),this.options.trackUserLocation&&(this._watchState=\"OFF\"),this._map.on(\"zoom\",this._onZoom)),this._geolocateButton.addEventListener(\"click\",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on(\"movestart\",function(lt){var Ct=lt.originalEvent&<.originalEvent.type===\"resize\";!lt.geolocateSource&&ye._watchState===\"ACTIVE_LOCK\"&&!Ct&&(ye._watchState=\"BACKGROUND\",ye._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\"),ye._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),ye.fire(new e.Event(\"trackuserlocationend\")))})},K.prototype.trigger=function(){if(!this._setup)return e.warnOnce(\"Geolocate control triggered before added to a map\"),!1;if(this.options.trackUserLocation){switch(this._watchState){case\"OFF\":this._watchState=\"WAITING_ACTIVE\",this.fire(new e.Event(\"trackuserlocationstart\"));break;case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":case\"BACKGROUND_ERROR\":Fs--,iu=!1,this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background-error\"),this.fire(new e.Event(\"trackuserlocationend\"));break;case\"BACKGROUND\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-background\"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event(\"trackuserlocationstart\"));break}switch(this._watchState){case\"WAITING_ACTIVE\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"ACTIVE_LOCK\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active\");break;case\"ACTIVE_ERROR\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-active-error\");break;case\"BACKGROUND\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background\");break;case\"BACKGROUND_ERROR\":this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-background-error\");break}if(this._watchState===\"OFF\"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"true\"),Fs++;var te;Fs>1?(te={maximumAge:6e5,timeout:0},iu=!0):(te=this.options.positionOptions,iu=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,te)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},K.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove(\"mapboxgl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this.options.showUserLocation&&this._updateMarker(null)},K}(e.Evented),rl={maxWidth:100,unit:\"metric\"},Bc=function(K){this.options=e.extend({},rl,K),e.bindAll([\"_onMove\",\"setUnit\"],this)};Bc.prototype.getDefaultPosition=function(){return\"bottom-left\"},Bc.prototype._onMove=function(){ql(this._map,this._container,this.options)},Bc.prototype.onAdd=function(K){return this._map=K,this._container=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-scale\",K.getContainer()),this._map.on(\"move\",this._onMove),this._onMove(),this._container},Bc.prototype.onRemove=function(){r.remove(this._container),this._map.off(\"move\",this._onMove),this._map=void 0},Bc.prototype.setUnit=function(K){this.options.unit=K,ql(this._map,this._container,this.options)};function ql(ve,K,me){var te=me&&me.maxWidth||100,ye=ve._container.clientHeight/2,Ze=ve.unproject([0,ye]),We=ve.unproject([te,ye]),lt=Ze.distanceTo(We);if(me&&me.unit===\"imperial\"){var Ct=3.2808*lt;if(Ct>5280){var Wt=Ct/5280;pc(K,te,Wt,ve._getUIString(\"ScaleControl.Miles\"))}else pc(K,te,Ct,ve._getUIString(\"ScaleControl.Feet\"))}else if(me&&me.unit===\"nautical\"){var xr=lt/1852;pc(K,te,xr,ve._getUIString(\"ScaleControl.NauticalMiles\"))}else lt>=1e3?pc(K,te,lt/1e3,ve._getUIString(\"ScaleControl.Kilometers\")):pc(K,te,lt,ve._getUIString(\"ScaleControl.Meters\"))}function pc(ve,K,me,te){var ye=Jc(me),Ze=ye/me;ve.style.width=K*Ze+\"px\",ve.innerHTML=ye+\" \"+te}function mc(ve){var K=Math.pow(10,Math.ceil(-Math.log(ve)/Math.LN10));return Math.round(ve*K)/K}function Jc(ve){var K=Math.pow(10,(\"\"+Math.floor(ve)).length-1),me=ve/K;return me=me>=10?10:me>=5?5:me>=3?3:me>=2?2:me>=1?1:mc(me),K*me}var tu=function(K){this._fullscreen=!1,K&&K.container&&(K.container instanceof e.window.HTMLElement?this._container=K.container:e.warnOnce(\"Full screen control 'container' must be a DOM element.\")),e.bindAll([\"_onClickFullscreen\",\"_changeIcon\"],this),\"onfullscreenchange\"in e.window.document?this._fullscreenchange=\"fullscreenchange\":\"onmozfullscreenchange\"in e.window.document?this._fullscreenchange=\"mozfullscreenchange\":\"onwebkitfullscreenchange\"in e.window.document?this._fullscreenchange=\"webkitfullscreenchange\":\"onmsfullscreenchange\"in e.window.document&&(this._fullscreenchange=\"MSFullscreenChange\")};tu.prototype.onAdd=function(K){return this._map=K,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create(\"div\",\"mapboxgl-ctrl mapboxgl-ctrl-group\"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display=\"none\",e.warnOnce(\"This device does not support fullscreen mode.\")),this._controlContainer},tu.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},tu.prototype._setupUI=function(){var K=this._fullscreenButton=r.create(\"button\",\"mapboxgl-ctrl-fullscreen\",this._controlContainer);r.create(\"span\",\"mapboxgl-ctrl-icon\",K).setAttribute(\"aria-hidden\",!0),K.type=\"button\",this._updateTitle(),this._fullscreenButton.addEventListener(\"click\",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},tu.prototype._updateTitle=function(){var K=this._getTitle();this._fullscreenButton.setAttribute(\"aria-label\",K),this._fullscreenButton.title=K},tu.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?\"FullscreenControl.Exit\":\"FullscreenControl.Enter\")},tu.prototype._isFullscreen=function(){return this._fullscreen},tu.prototype._changeIcon=function(){var K=e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement;K===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-shrink\"),this._fullscreenButton.classList.toggle(\"mapboxgl-ctrl-fullscreen\"),this._updateTitle())},tu.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Ac={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:\"\",maxWidth:\"240px\"},Nc=[\"a[href]\",\"[tabindex]:not([tabindex='-1'])\",\"[contenteditable]:not([contenteditable='false'])\",\"button:not([disabled])\",\"input:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\"].join(\", \"),Hs=function(ve){function K(me){ve.call(this),this.options=e.extend(Object.create(Ac),me),e.bindAll([\"_update\",\"_onClose\",\"remove\",\"_onMouseMove\",\"_onMouseUp\",\"_onDrag\"],this)}return ve&&(K.__proto__=ve),K.prototype=Object.create(ve&&ve.prototype),K.prototype.constructor=K,K.prototype.addTo=function(te){return this._map&&this.remove(),this._map=te,this.options.closeOnClick&&this._map.on(\"click\",this._onClose),this.options.closeOnMove&&this._map.on(\"move\",this._onClose),this._map.on(\"remove\",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"mouseup\",this._onMouseUp),this._container&&this._container.classList.add(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")):this._map.on(\"move\",this._update),this.fire(new e.Event(\"open\")),this},K.prototype.isOpen=function(){return!!this._map},K.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off(\"move\",this._update),this._map.off(\"move\",this._onClose),this._map.off(\"click\",this._onClose),this._map.off(\"remove\",this.remove),this._map.off(\"mousemove\",this._onMouseMove),this._map.off(\"mouseup\",this._onMouseUp),this._map.off(\"drag\",this._onDrag),delete this._map),this.fire(new e.Event(\"close\")),this},K.prototype.getLngLat=function(){return this._lngLat},K.prototype.setLngLat=function(te){return this._lngLat=e.LngLat.convert(te),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on(\"move\",this._update),this._map.off(\"mousemove\",this._onMouseMove),this._container&&this._container.classList.remove(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.remove(\"mapboxgl-track-pointer\")),this},K.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off(\"move\",this._update),this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"drag\",this._onDrag),this._container&&this._container.classList.add(\"mapboxgl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"mapboxgl-track-pointer\")),this},K.prototype.getElement=function(){return this._container},K.prototype.setText=function(te){return this.setDOMContent(e.window.document.createTextNode(te))},K.prototype.setHTML=function(te){var ye=e.window.document.createDocumentFragment(),Ze=e.window.document.createElement(\"body\"),We;for(Ze.innerHTML=te;We=Ze.firstChild,!!We;)ye.appendChild(We);return this.setDOMContent(ye)},K.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},K.prototype.setMaxWidth=function(te){return this.options.maxWidth=te,this._update(),this},K.prototype.setDOMContent=function(te){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=r.create(\"div\",\"mapboxgl-popup-content\",this._container);return this._content.appendChild(te),this._createCloseButton(),this._update(),this._focusFirstElement(),this},K.prototype.addClassName=function(te){this._container&&this._container.classList.add(te)},K.prototype.removeClassName=function(te){this._container&&this._container.classList.remove(te)},K.prototype.setOffset=function(te){return this.options.offset=te,this._update(),this},K.prototype.toggleClassName=function(te){if(this._container)return this._container.classList.toggle(te)},K.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=r.create(\"button\",\"mapboxgl-popup-close-button\",this._content),this._closeButton.type=\"button\",this._closeButton.setAttribute(\"aria-label\",\"Close popup\"),this._closeButton.innerHTML=\"×\",this._closeButton.addEventListener(\"click\",this._onClose))},K.prototype._onMouseUp=function(te){this._update(te.point)},K.prototype._onMouseMove=function(te){this._update(te.point)},K.prototype._onDrag=function(te){this._update(te.point)},K.prototype._update=function(te){var ye=this,Ze=this._lngLat||this._trackPointer;if(!(!this._map||!Ze||!this._content)&&(this._container||(this._container=r.create(\"div\",\"mapboxgl-popup\",this._map.getContainer()),this._tip=r.create(\"div\",\"mapboxgl-popup-tip\",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(\" \").forEach(function(Gt){return ye._container.classList.add(Gt)}),this._trackPointer&&this._container.classList.add(\"mapboxgl-popup-track-pointer\")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ao(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!te))){var We=this._pos=this._trackPointer&&te?te:this._map.project(this._lngLat),lt=this.options.anchor,Ct=$c(this.options.offset);if(!lt){var Wt=this._container.offsetWidth,xr=this._container.offsetHeight,Fr;We.y+Ct.bottom.ythis._map.transform.height-xr?Fr=[\"bottom\"]:Fr=[],We.xthis._map.transform.width-Wt/2&&Fr.push(\"right\"),Fr.length===0?lt=\"bottom\":lt=Fr.join(\"-\")}var Ar=We.add(Ct[lt]).round();r.setTransform(this._container,Zo[lt]+\" translate(\"+Ar.x+\"px,\"+Ar.y+\"px)\"),ps(this._container,lt,\"popup\")}},K.prototype._focusFirstElement=function(){if(!(!this.options.focusAfterOpen||!this._container)){var te=this._container.querySelector(Nc);te&&te.focus()}},K.prototype._onClose=function(){this.remove()},K}(e.Evented);function $c(ve){if(ve)if(typeof ve==\"number\"){var K=Math.round(Math.sqrt(.5*Math.pow(ve,2)));return{center:new e.Point(0,0),top:new e.Point(0,ve),\"top-left\":new e.Point(K,K),\"top-right\":new e.Point(-K,K),bottom:new e.Point(0,-ve),\"bottom-left\":new e.Point(K,-K),\"bottom-right\":new e.Point(-K,-K),left:new e.Point(ve,0),right:new e.Point(-ve,0)}}else if(ve instanceof e.Point||Array.isArray(ve)){var me=e.Point.convert(ve);return{center:me,top:me,\"top-left\":me,\"top-right\":me,bottom:me,\"bottom-left\":me,\"bottom-right\":me,left:me,right:me}}else return{center:e.Point.convert(ve.center||[0,0]),top:e.Point.convert(ve.top||[0,0]),\"top-left\":e.Point.convert(ve[\"top-left\"]||[0,0]),\"top-right\":e.Point.convert(ve[\"top-right\"]||[0,0]),bottom:e.Point.convert(ve.bottom||[0,0]),\"bottom-left\":e.Point.convert(ve[\"bottom-left\"]||[0,0]),\"bottom-right\":e.Point.convert(ve[\"bottom-right\"]||[0,0]),left:e.Point.convert(ve.left||[0,0]),right:e.Point.convert(ve.right||[0,0])};else return $c(new e.Point(0,0))}var Us={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:sa,NavigationControl:Fa,GeolocateControl:Oc,AttributionControl:Aa,ScaleControl:Bc,FullscreenControl:tu,Popup:Hs,Marker:Na,Style:nu,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:Pr,clearPrewarmedResources:Ir,get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(ve){e.config.ACCESS_TOKEN=ve},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(ve){e.config.API_URL=ve},get workerCount(){return Sn.workerCount},set workerCount(ve){Sn.workerCount=ve},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ve){e.config.MAX_PARALLEL_IMAGE_REQUESTS=ve},clearStorage:function(K){e.clearTileCache(K)},workerUrl:\"\"};return Us}),A})}}),jD=ke({\"src/plots/mapbox/layers.js\"(Z,H){\"use strict\";var g=un(),x=Wl().sanitizeHTML,A=uM(),S=op();function e(i,a){this.subplot=i,this.uid=i.uid+\"-\"+a,this.index=a,this.idSource=\"source-\"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType===\"image\"&&i.sourcetype===\"image\"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup[\"layout-\"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup[\"layout-\"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapboxLayerId=function(i){if(i===\"traces\")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case\"circle\":g.extendFlat(s,{\"circle-radius\":i.circle.radius,\"circle-color\":i.color,\"circle-opacity\":i.opacity});break;case\"line\":g.extendFlat(s,{\"line-width\":i.line.width,\"line-color\":i.color,\"line-opacity\":i.opacity,\"line-dasharray\":i.line.dash});break;case\"fill\":g.extendFlat(s,{\"fill-color\":i.color,\"fill-outline-color\":i.fill.outlinecolor,\"fill-opacity\":i.opacity});break;case\"symbol\":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{\"icon-image\":c.icon+\"-15\",\"icon-size\":c.iconsize/10,\"text-field\":c.text,\"text-size\":c.textfont.size,\"text-anchor\":h.anchor,\"text-offset\":h.offset,\"symbol-placement\":c.placement}),g.extendFlat(s,{\"icon-color\":i.color,\"text-color\":c.textfont.color,\"text-opacity\":i.opacity});break;case\"raster\":g.extendFlat(s,{\"raster-fade-duration\":0,\"raster-opacity\":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a===\"geojson\"?h=\"data\":a===\"vector\"?h=typeof s==\"string\"?\"url\":\"tiles\":a===\"raster\"?(h=\"tiles\",c.tileSize=256):a===\"image\"&&(h=\"url\",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),VD=ke({\"src/plots/mapbox/mapbox.js\"(Z,H){\"use strict\";var g=cM(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=op(),d=jD();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+\"-\"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y=b[u.id];u.map&&y.accesstoken!==u.accessToken&&(u.map.remove(),u.map=null,u.styleObj=null,u.traceHash={},u.layerList=[]);var f;u.map?f=new Promise(function(P,L){u.updateMap(m,b,P,L)}):f=new Promise(function(P,L){u.createMap(m,b,P,L)}),v.push(f)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style,b);y.accessToken=f.accesstoken;var L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0}));F._canvas.style.left=\"0px\",F._canvas.style.top=\"0px\",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var B=[];B.push(new Promise(function(O){F.once(\"load\",O)})),B=B.concat(A.fetchTraceGeoData(m)),Promise.all(B).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style,b);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once(\"styledata\",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf(\"event\")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off(\"click\",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on(\"zoomstart\",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off(\"zoomstart\",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener(\"touchstart\",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on(\"click\",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+\"px\",u.height=v.h*(b.y[1]-b.y[0])+\"px\",u.left=v.l+b.x[0]*v.w+\"px\",u.top=v.t+(1-b.y[1])*v.h+\"px\",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yB/2){var O=P.split(\"|\").join(\"
\");z.text(O).attr(\"data-unformatted\",O).call(o.convertToTspans,d),F=r.bBox(z.node())}z.attr(\"transform\",x(-3,-F.height+8)),L.insert(\"rect\",\".static-attribution\").attr({x:-F.width-6,y:-F.height-3,width:F.width+6,height:F.height+3,fill:\"rgba(255, 255, 255, 0.75)\"});var I=1;F.width+6>B&&(I=B/(F.width+6));var N=[_.l+_.w*E.x[1],_.t+_.h*(1-E.y[0])];L.attr(\"transform\",x(N[0],N[1])+A(I))}};function h(d,T){var l=d._fullLayout,_=d._context;if(_.mapboxAccessToken===\"\")return\"\";for(var w=[],M=[],E=!1,m=!1,b=0;b1&&g.warn(a.multipleTokensErrorMsg),w[0]):(M.length&&g.log([\"Listed mapbox access token(s)\",M.join(\",\"),\"but did not use a Mapbox map style, ignoring token(s).\"].join(\" \")),\"\")}function p(d){return typeof d==\"string\"&&(a.styleValuesMapbox.indexOf(d)!==-1||d.indexOf(\"mapbox://\")===0||d.indexOf(\"stamen\")===0)}Z.updateFx=function(d){for(var T=d._fullLayout,l=T._subplots[i],_=0;_=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup[\"trace-\"+n.uid];return r.map.addSource(a,{type:\"geojson\",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),ZD=ke({\"src/traces/choroplethmapbox/index.js\"(Z,H){\"use strict\";var g=[\"*choroplethmapbox* trace is deprecated!\",\"Please consider switching to the *choroplethmap* trace type and `map` subplots.\",\"Learn more at: https://plotly.com/python/maplibre-migration/\",\"as well as https://plotly.com/javascript/maplibre-migration/\"].join(\" \");H.exports={attributes:fM(),supplyDefaults:WD(),colorbar:Np(),calc:Qx(),plot:XD(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(x,A){if(A){var S=A[0].trace;S._glTrace.updateOnSelect(A)}},getBelow:function(x,A){for(var S=A.getMapLayers(),e=S.length-2;e>=0;e--){var t=S[e].id;if(typeof t==\"string\"&&t.indexOf(\"water\")===0){for(var r=e+1;r0?+d[h]:0),c.push({type:\"Feature\",geometry:{type:\"Point\",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup[\"trace-\"+o.uid];return t.map.addSource(i,{type:\"geojson\",data:a.geojson}),n._addLayers(a,s),n}}}),ez=ke({\"src/traces/densitymapbox/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=mb().hoverPoints,A=mb().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,\"z\"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),\"hover\").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),tz=ke({\"src/traces/densitymapbox/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),rz=ke({\"src/traces/densitymapbox/index.js\"(Z,H){\"use strict\";var g=[\"*densitymapbox* trace is deprecated!\",\"Please consider switching to the *densitymap* trace type and `map` subplots.\",\"Learn more at: https://plotly.com/python/maplibre-migration/\",\"as well as https://plotly.com/javascript/maplibre-migration/\"].join(\" \");H.exports={attributes:dM(),supplyDefaults:KD(),colorbar:Np(),formatLabels:lM(),calc:JD(),plot:QD(),hoverPoints:ez(),eventData:tz(),getBelow:function(x,A){for(var S=A.getMapLayers(),e=0;eESRI\"},ortoInstaMaps:{type:\"raster\",tiles:[\"https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png\"],tileSize:256,maxzoom:13},ortoICGC:{type:\"raster\",tiles:[\"https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg\"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:\"vector\",url:\"https://geoserveis.icgc.cat/contextmaps/basemap.json\"}},sprite:\"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1\",glyphs:\"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf\",layers:[{id:\"background\",type:\"background\",paint:{\"background-color\":\"#F4F9F4\"}},{id:\"ortoEsri\",type:\"raster\",source:\"ortoEsri\",maxzoom:16,layout:{visibility:\"visible\"}},{id:\"ortoICGC\",type:\"raster\",source:\"ortoICGC\",minzoom:13.1,maxzoom:19,layout:{visibility:\"visible\"}},{id:\"ortoInstaMaps\",type:\"raster\",source:\"ortoInstaMaps\",maxzoom:13,layout:{visibility:\"visible\"}},{id:\"waterway_tunnel\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"waterway\",minzoom:14,filter:[\"all\",[\"in\",\"class\",\"river\",\"stream\",\"canal\"],[\"==\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,6]]},\"line-dasharray\":[2,4]}},{id:\"waterway-other\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"!in\",\"class\",\"canal\",\"river\",\"stream\"],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,2]]}}},{id:\"waterway-stream-canal\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"all\",[\"in\",\"class\",\"canal\",\"stream\"],[\"!=\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.3,stops:[[13,.5],[20,6]]}}},{id:\"waterway-river\",type:\"line\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"waterway\",filter:[\"all\",[\"==\",\"class\",\"river\"],[\"!=\",\"brunnel\",\"tunnel\"]],layout:{\"line-cap\":\"round\"},paint:{\"line-color\":\"#a0c8f0\",\"line-width\":{base:1.2,stops:[[10,.8],[20,4]]},\"line-opacity\":.5}},{id:\"water-offset\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",maxzoom:8,filter:[\"==\",\"$type\",\"Polygon\"],layout:{visibility:\"visible\"},paint:{\"fill-opacity\":0,\"fill-color\":\"#a0c8f0\",\"fill-translate\":{base:1,stops:[[6,[2,0]],[8,[0,0]]]}}},{id:\"water\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",layout:{visibility:\"visible\"},paint:{\"fill-color\":\"hsl(210, 67%, 85%)\",\"fill-opacity\":0}},{id:\"water-pattern\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"water\",layout:{visibility:\"visible\"},paint:{\"fill-translate\":[0,2.5],\"fill-pattern\":\"wave\",\"fill-opacity\":1}},{id:\"landcover-ice-shelf\",type:\"fill\",metadata:{\"mapbox:group\":\"1444849382550.77\"},source:\"openmaptiles\",\"source-layer\":\"landcover\",filter:[\"==\",\"subclass\",\"ice_shelf\"],layout:{visibility:\"visible\"},paint:{\"fill-color\":\"#fff\",\"fill-opacity\":{base:1,stops:[[0,.9],[10,.3]]}}},{id:\"tunnel-service-track-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"service\",\"track\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-dasharray\":[.5,.25],\"line-width\":{base:1.2,stops:[[15,1],[16,4],[20,11]]}}},{id:\"tunnel-minor-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"minor\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-opacity\":{stops:[[12,0],[12.5,1]]},\"line-width\":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:\"tunnel-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:\"tunnel-trunk-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.7}},{id:\"tunnel-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-dasharray\":[.5,.25],\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.5}},{id:\"tunnel-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-dasharray\":[1.5,.75],\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:\"tunnel-service-track\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"service\",\"track\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-width\":{base:1.2,stops:[[15.5,0],[16,2],[20,7.5]]}}},{id:\"tunnel-minor\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"minor_road\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:\"tunnel-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff4c6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,10]]}}},{id:\"tunnel-trunk-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fff4c6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"tunnel-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#ffdaa6\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"tunnel-railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849354174.1904\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"tunnel\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]},\"line-dasharray\":[2,2]}},{id:\"ferry\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"in\",\"class\",\"ferry\"]],layout:{\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(108, 159, 182, 1)\",\"line-width\":1.1,\"line-dasharray\":[2,2]}},{id:\"aeroway-taxiway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:12,filter:[\"all\",[\"in\",\"class\",\"taxiway\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(153, 153, 153, 1)\",\"line-width\":{base:1.5,stops:[[11,2],[17,12]]},\"line-opacity\":1}},{id:\"aeroway-runway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:12,filter:[\"all\",[\"in\",\"class\",\"runway\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(153, 153, 153, 1)\",\"line-width\":{base:1.5,stops:[[11,5],[17,55]]},\"line-opacity\":1}},{id:\"aeroway-taxiway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:4,filter:[\"all\",[\"in\",\"class\",\"taxiway\"],[\"==\",\"$type\",\"LineString\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(255, 255, 255, 1)\",\"line-width\":{base:1.5,stops:[[11,1],[17,10]]},\"line-opacity\":{base:1,stops:[[11,0],[12,1]]}}},{id:\"aeroway-runway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"aeroway\",minzoom:4,filter:[\"all\",[\"in\",\"class\",\"runway\"],[\"==\",\"$type\",\"LineString\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"rgba(255, 255, 255, 1)\",\"line-width\":{base:1.5,stops:[[11,4],[17,50]]},\"line-opacity\":{base:1,stops:[[11,0],[12,1]]}}},{id:\"highway-motorway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:12,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"highway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"highway-minor-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!=\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#cfcdca\",\"line-opacity\":{stops:[[12,0],[12.5,0]]},\"line-width\":{base:1.2,stops:[[12,.5],[13,1],[14,4],[20,15]]}}},{id:\"highway-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":.5,\"line-width\":{base:1.2,stops:[[8,1.5],[20,17]]}}},{id:\"highway-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":{stops:[[7,0],[8,.6]]},\"line-width\":{base:1.2,stops:[[7,0],[8,.6],[9,1.5],[20,22]]}}},{id:\"highway-trunk-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"trunk\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":{stops:[[5,0],[6,.5]]},\"line-width\":{base:1.2,stops:[[5,0],[6,.6],[7,1.5],[20,22]]}}},{id:\"highway-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:4,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-cap\":\"butt\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[4,0],[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":{stops:[[4,0],[5,.5]]}}},{id:\"highway-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-dasharray\":[1.5,.75],\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]}}},{id:\"highway-motorway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:12,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"highway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"highway-minor\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!=\",\"brunnel\",\"tunnel\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"#fff\",\"line-opacity\":.5,\"line-width\":{base:1.2,stops:[[13.5,0],[14,2.5],[20,11.5]]}}},{id:\"highway-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[8,.5],[20,13]]},\"line-opacity\":.5}},{id:\"highway-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"primary\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[8.5,0],[9,.5],[20,18]]},\"line-opacity\":0}},{id:\"highway-trunk\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"in\",\"class\",\"trunk\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"highway-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:5,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"motorway\"]]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\",visibility:\"visible\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"railway-transit\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"transit\"],[\"!in\",\"brunnel\",\"tunnel\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.77)\",\"line-width\":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:\"railway-transit-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"transit\"],[\"!in\",\"brunnel\",\"tunnel\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.68)\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:\"railway-service\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"rail\"],[\"has\",\"service\"]]],paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.77)\",\"line-width\":{base:1.4,stops:[[14,.4],[20,1]]}}},{id:\"railway-service-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"class\",\"rail\"],[\"has\",\"service\"]]],layout:{visibility:\"visible\"},paint:{\"line-color\":\"hsla(0, 0%, 73%, 0.68)\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,2],[20,6]]}}},{id:\"railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!has\",\"service\"],[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"rail\"]]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:\"railway-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849345966.4436\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"!has\",\"service\"],[\"!in\",\"brunnel\",\"bridge\",\"tunnel\"],[\"==\",\"class\",\"rail\"]]],paint:{\"line-color\":\"#bbb\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:\"bridge-motorway-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"bridge-link-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[12,1],[13,3],[14,4],[20,15]]}}},{id:\"bridge-secondary-tertiary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-opacity\":1,\"line-width\":{base:1.2,stops:[[8,1.5],[20,28]]}}},{id:\"bridge-trunk-primary-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(28, 76%, 67%)\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,26]]}}},{id:\"bridge-motorway-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#e9ac77\",\"line-width\":{base:1.2,stops:[[5,.4],[6,.6],[7,1.5],[20,22]]},\"line-opacity\":.5}},{id:\"bridge-path-casing\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#f8f4f0\",\"line-width\":{base:1.2,stops:[[15,1.2],[20,18]]}}},{id:\"bridge-path\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"path\"]]],paint:{\"line-color\":\"#cba\",\"line-width\":{base:1.2,stops:[[15,1.2],[20,4]]},\"line-dasharray\":[1.5,.75]}},{id:\"bridge-motorway-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"bridge-link\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary_link\",\"secondary_link\",\"tertiary_link\",\"trunk_link\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[12.5,0],[13,1.5],[14,2.5],[20,11.5]]}}},{id:\"bridge-secondary-tertiary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"secondary\",\"tertiary\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,20]]}}},{id:\"bridge-trunk-primary\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"in\",\"class\",\"primary\",\"trunk\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fea\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]}}},{id:\"bridge-motorway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"motorway\"]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#fc8\",\"line-width\":{base:1.2,stops:[[6.5,0],[7,.5],[20,18]]},\"line-opacity\":.5}},{id:\"bridge-railway\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-width\":{base:1.4,stops:[[14,.4],[15,.75],[20,2]]}}},{id:\"bridge-railway-hatching\",type:\"line\",metadata:{\"mapbox:group\":\"1444849334699.1902\"},source:\"openmaptiles\",\"source-layer\":\"transportation\",filter:[\"all\",[\"==\",\"brunnel\",\"bridge\"],[\"==\",\"class\",\"rail\"]],paint:{\"line-color\":\"#bbb\",\"line-dasharray\":[.2,8],\"line-width\":{base:1.4,stops:[[14.5,0],[15,3],[20,8]]}}},{id:\"cablecar\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"==\",\"class\",\"cable_car\"],layout:{visibility:\"visible\",\"line-cap\":\"round\"},paint:{\"line-color\":\"hsl(0, 0%, 70%)\",\"line-width\":{base:1,stops:[[11,1],[19,2.5]]}}},{id:\"cablecar-dash\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:13,filter:[\"==\",\"class\",\"cable_car\"],layout:{visibility:\"visible\",\"line-cap\":\"round\"},paint:{\"line-color\":\"hsl(0, 0%, 70%)\",\"line-width\":{base:1,stops:[[11,3],[19,5.5]]},\"line-dasharray\":[2,3]}},{id:\"boundary-land-level-4\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\">=\",\"admin_level\",4],[\"<=\",\"admin_level\",8],[\"!=\",\"maritime\",1]],layout:{\"line-join\":\"round\"},paint:{\"line-color\":\"#9e9cab\",\"line-dasharray\":[3,1,1,1],\"line-width\":{base:1.4,stops:[[4,.4],[5,1],[12,3]]},\"line-opacity\":.6}},{id:\"boundary-land-level-2\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"==\",\"admin_level\",2],[\"!=\",\"maritime\",1],[\"!=\",\"disputed\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(248, 7%, 66%)\",\"line-width\":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,2]]}}},{id:\"boundary-land-disputed\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"!=\",\"maritime\",1],[\"==\",\"disputed\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"hsl(248, 7%, 70%)\",\"line-dasharray\":[1,3],\"line-width\":{base:1,stops:[[0,.6],[4,1.4],[5,2],[12,8]]}}},{id:\"boundary-water\",type:\"line\",source:\"openmaptiles\",\"source-layer\":\"boundary\",filter:[\"all\",[\"in\",\"admin_level\",2,4],[\"==\",\"maritime\",1]],layout:{\"line-cap\":\"round\",\"line-join\":\"round\"},paint:{\"line-color\":\"rgba(154, 189, 214, 1)\",\"line-width\":{base:1,stops:[[0,.6],[4,1],[5,1],[12,1]]},\"line-opacity\":{stops:[[6,0],[10,0]]}}},{id:\"waterway-name\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"waterway\",minzoom:13,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"has\",\"name\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":\"{name:latin} {name:nonlatin}\",\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"line\",\"text-letter-spacing\":.2,\"symbol-spacing\":350},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-lakeline\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"==\",\"$type\",\"LineString\"],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"line\",\"symbol-spacing\":350,\"text-letter-spacing\":.2},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-ocean\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"==\",\"class\",\"ocean\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":14,\"text-field\":\"{name:latin}\",\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"point\",\"symbol-spacing\":350,\"text-letter-spacing\":.2},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"water-name-other\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"water_name\",filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"!in\",\"class\",\"ocean\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-size\":{stops:[[0,10],[6,14]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":5,\"text-rotation-alignment\":\"map\",\"symbol-placement\":\"point\",\"symbol-spacing\":350,\"text-letter-spacing\":.2,visibility:\"visible\"},paint:{\"text-color\":\"#74aee9\",\"text-halo-width\":1.5,\"text-halo-color\":\"rgba(255,255,255,0.7)\"}},{id:\"poi-level-3\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:16,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\">=\",\"rank\",25]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"poi-level-2\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:15,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"<=\",\"rank\",24],[\">=\",\"rank\",15]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"poi-level-1\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:14,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"<=\",\"rank\",14],[\"has\",\"name\"]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":11,\"text-max-width\":9},paint:{\"text-halo-blur\":.5,\"text-color\":\"rgba(191, 228, 172, 1)\",\"text-halo-width\":1,\"text-halo-color\":\"rgba(30, 29, 29, 1)\"}},{id:\"poi-railway\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"poi\",minzoom:13,filter:[\"all\",[\"==\",\"$type\",\"Point\"],[\"has\",\"name\"],[\"==\",\"class\",\"railway\"],[\"==\",\"subclass\",\"station\"]],layout:{\"text-padding\":2,\"text-font\":[\"Noto Sans Regular\"],\"text-anchor\":\"top\",\"icon-image\":\"{class}_11\",\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-offset\":[0,.6],\"text-size\":12,\"text-max-width\":9,\"icon-optional\":!1,\"icon-ignore-placement\":!1,\"icon-allow-overlap\":!1,\"text-ignore-placement\":!1,\"text-allow-overlap\":!1,\"text-optional\":!0},paint:{\"text-halo-blur\":.5,\"text-color\":\"#666\",\"text-halo-width\":1,\"text-halo-color\":\"#ffffff\"}},{id:\"road_oneway\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:15,filter:[\"all\",[\"==\",\"oneway\",1],[\"in\",\"class\",\"motorway\",\"trunk\",\"primary\",\"secondary\",\"tertiary\",\"minor\",\"service\"]],layout:{\"symbol-placement\":\"line\",\"icon-image\":\"oneway\",\"symbol-spacing\":75,\"icon-padding\":2,\"icon-rotation-alignment\":\"map\",\"icon-rotate\":90,\"icon-size\":{stops:[[15,.5],[19,1]]}},paint:{\"icon-opacity\":.5}},{id:\"road_oneway_opposite\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation\",minzoom:15,filter:[\"all\",[\"==\",\"oneway\",-1],[\"in\",\"class\",\"motorway\",\"trunk\",\"primary\",\"secondary\",\"tertiary\",\"minor\",\"service\"]],layout:{\"symbol-placement\":\"line\",\"icon-image\":\"oneway\",\"symbol-spacing\":75,\"icon-padding\":2,\"icon-rotation-alignment\":\"map\",\"icon-rotate\":-90,\"icon-size\":{stops:[[15,.5],[19,1]]}},paint:{\"icon-opacity\":.5}},{id:\"highway-name-path\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:15.5,filter:[\"==\",\"class\",\"path\"],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-color\":\"#f8f4f0\",\"text-color\":\"hsl(30, 23%, 62%)\",\"text-halo-width\":.5}},{id:\"highway-name-minor\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:15,filter:[\"all\",[\"==\",\"$type\",\"LineString\"],[\"in\",\"class\",\"minor\",\"service\",\"track\"]],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-blur\":.5,\"text-color\":\"#765\",\"text-halo-width\":1}},{id:\"highway-name-major\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:12.2,filter:[\"in\",\"class\",\"primary\",\"secondary\",\"tertiary\",\"trunk\"],layout:{\"text-size\":{base:1,stops:[[13,12],[14,13]]},\"text-font\":[\"Noto Sans Regular\"],\"text-field\":\"{name:latin} {name:nonlatin}\",\"symbol-placement\":\"line\",\"text-rotation-alignment\":\"map\"},paint:{\"text-halo-blur\":.5,\"text-color\":\"#765\",\"text-halo-width\":1}},{id:\"highway-shield\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:8,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"!in\",\"network\",\"us-interstate\",\"us-highway\",\"us-state\"]],layout:{\"text-size\":10,\"icon-image\":\"road_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[10,\"point\"],[11,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-opacity\":1,\"text-color\":\"rgba(20, 19, 19, 1)\",\"text-halo-color\":\"rgba(230, 221, 221, 0)\",\"text-halo-width\":2,\"icon-color\":\"rgba(183, 18, 18, 1)\",\"icon-opacity\":.3,\"icon-halo-color\":\"rgba(183, 55, 55, 0)\"}},{id:\"highway-shield-us-interstate\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:7,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"in\",\"network\",\"us-interstate\"]],layout:{\"text-size\":10,\"icon-image\":\"{network}_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[7,\"point\"],[7,\"line\"],[8,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\"}},{id:\"highway-shield-us-other\",type:\"symbol\",source:\"openmaptiles\",\"source-layer\":\"transportation_name\",minzoom:9,filter:[\"all\",[\"<=\",\"ref_length\",6],[\"==\",\"$type\",\"LineString\"],[\"in\",\"network\",\"us-highway\",\"us-state\"]],layout:{\"text-size\":10,\"icon-image\":\"{network}_{ref_length}\",\"icon-rotation-alignment\":\"viewport\",\"symbol-spacing\":200,\"text-font\":[\"Noto Sans Regular\"],\"symbol-placement\":{base:1,stops:[[10,\"point\"],[11,\"line\"]]},\"text-rotation-alignment\":\"viewport\",\"icon-size\":1,\"text-field\":\"{ref}\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\"}},{id:\"place-other\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",minzoom:12,filter:[\"!in\",\"class\",\"city\",\"town\",\"village\",\"country\",\"continent\"],layout:{\"text-letter-spacing\":.1,\"text-size\":{base:1.2,stops:[[12,10],[15,14]]},\"text-font\":[\"Noto Sans Bold\"],\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-transform\":\"uppercase\",\"text-max-width\":9,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255,255,255,1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(57, 28, 28, 1)\"}},{id:\"place-village\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",minzoom:10,filter:[\"==\",\"class\",\"village\"],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[10,12],[15,16]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255, 255, 255, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(10, 9, 9, 0.8)\"}},{id:\"place-town\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"==\",\"class\",\"town\"],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[10,14],[15,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(255, 255, 255, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(22, 22, 22, 0.8)\"}},{id:\"place-city\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"!=\",\"capital\",2],[\"==\",\"class\",\"city\"]],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[7,14],[11,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,visibility:\"visible\"},paint:{\"text-color\":\"rgba(0, 0, 0, 1)\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-city-capital\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"capital\",2],[\"==\",\"class\",\"city\"]],layout:{\"text-font\":[\"Noto Sans Regular\"],\"text-size\":{base:1.2,stops:[[7,14],[11,24]]},\"text-field\":`{name:latin}\n{name:nonlatin}`,\"text-max-width\":8,\"icon-image\":\"star_11\",\"text-offset\":[.4,0],\"icon-size\":.8,\"text-anchor\":\"left\",visibility:\"visible\"},paint:{\"text-color\":\"#333\",\"text-halo-width\":1.2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-other\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\">=\",\"rank\",3],[\"!has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Italic\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[3,11],[7,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-3\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\">=\",\"rank\",3],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[3,11],[7,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-2\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\"==\",\"rank\",2],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[2,11],[5,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-country-1\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",filter:[\"all\",[\"==\",\"class\",\"country\"],[\"==\",\"rank\",1],[\"has\",\"iso_a2\"]],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":{stops:[[1,11],[4,17]]},\"text-transform\":\"uppercase\",\"text-max-width\":6.25,visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}},{id:\"place-continent\",type:\"symbol\",metadata:{\"mapbox:group\":\"1444849242106.713\"},source:\"openmaptiles\",\"source-layer\":\"place\",maxzoom:1,filter:[\"==\",\"class\",\"continent\"],layout:{\"text-font\":[\"Noto Sans Bold\"],\"text-field\":\"{name:latin}\",\"text-size\":14,\"text-max-width\":6.25,\"text-transform\":\"uppercase\",visibility:\"visible\"},paint:{\"text-halo-blur\":1,\"text-color\":\"#334\",\"text-halo-width\":2,\"text-halo-color\":\"rgba(255,255,255,0.8)\"}}],id:\"qebnlkra6\"}}}),az=ke({\"src/plots/map/styles/arcgis-sat.js\"(Z,H){H.exports={version:8,name:\"orto\",metadata:{},center:[1.537786,41.837539],zoom:12,bearing:0,pitch:0,light:{anchor:\"viewport\",color:\"white\",intensity:.4,position:[1.15,45,30]},sources:{ortoEsri:{type:\"raster\",tiles:[\"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}\"],tileSize:256,maxzoom:18,attribution:\"ESRI © ESRI\"},ortoInstaMaps:{type:\"raster\",tiles:[\"https://tilemaps.icgc.cat/mapfactory/wmts/orto_8_12/CAT3857/{z}/{x}/{y}.png\"],tileSize:256,maxzoom:13},ortoICGC:{type:\"raster\",tiles:[\"https://geoserveis.icgc.cat/icc_mapesmultibase/noutm/wmts/orto/GRID3857/{z}/{x}/{y}.jpeg\"],tileSize:256,minzoom:13.1,maxzoom:20},openmaptiles:{type:\"vector\",url:\"https://geoserveis.icgc.cat/contextmaps/basemap.json\"}},sprite:\"https://geoserveis.icgc.cat/contextmaps/sprites/sprite@1\",glyphs:\"https://geoserveis.icgc.cat/contextmaps/glyphs/{fontstack}/{range}.pbf\",layers:[{id:\"background\",type:\"background\",paint:{\"background-color\":\"#F4F9F4\"}},{id:\"ortoEsri\",type:\"raster\",source:\"ortoEsri\",maxzoom:16,layout:{visibility:\"visible\"}},{id:\"ortoICGC\",type:\"raster\",source:\"ortoICGC\",minzoom:13.1,maxzoom:19,layout:{visibility:\"visible\"}},{id:\"ortoInstaMaps\",type:\"raster\",source:\"ortoInstaMaps\",maxzoom:13,layout:{visibility:\"visible\"}}]}}}),tm=ke({\"src/plots/map/constants.js\"(Z,H){\"use strict\";var g=Ip(),x=iz(),A=az(),S='\\xA9 OpenStreetMap contributors',e=\"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json\",t=\"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json\",r=\"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json\",o=\"https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json\",n=\"https://basemaps.cartocdn.com/gl/dark-matter-nolabels-gl-style/style.json\",i=\"https://basemaps.cartocdn.com/gl/voyager-nolabels-gl-style/style.json\",a={basic:r,streets:r,outdoors:r,light:e,dark:t,satellite:A,\"satellite-streets\":x,\"open-street-map\":{id:\"osm\",version:8,sources:{\"plotly-osm-tiles\":{type:\"raster\",attribution:S,tiles:[\"https://tile.openstreetmap.org/{z}/{x}/{y}.png\"],tileSize:256}},layers:[{id:\"plotly-osm-tiles\",type:\"raster\",source:\"plotly-osm-tiles\",minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"white-bg\":{id:\"white-bg\",version:8,sources:{},layers:[{id:\"white-bg\",type:\"background\",paint:{\"background-color\":\"#FFFFFF\"},minzoom:0,maxzoom:22}],glyphs:\"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf\"},\"carto-positron\":e,\"carto-darkmatter\":t,\"carto-voyager\":r,\"carto-positron-nolabels\":o,\"carto-darkmatter-nolabels\":n,\"carto-voyager-nolabels\":i},s=g(a);H.exports={styleValueDflt:\"basic\",stylesMap:a,styleValuesMap:s,traceLayerPrefix:\"plotly-trace-layer-\",layoutLayerPrefix:\"plotly-layout-layer-\",missingStyleErrorMsg:[\"No valid maplibre style found, please set `map.style` to one of:\",s.join(\", \"),\"or use a tile service.\"].join(`\n`),mapOnErrorMsg:\"Map error.\"}}}),e1=ke({\"src/plots/map/layout_attributes.js\"(Z,H){\"use strict\";var g=un(),x=eo().defaultLine,A=Yu().attributes,S=Il(),e=Cc().textposition,t=ju().overrideAll,r=yl().templatedArray,o=tm(),n=S({noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0});n.family.dflt=\"Open Sans Regular, Arial Unicode MS Regular\";var i=H.exports=t({_arrayAttrRegexps:[g.counterRegex(\"map\",\".layers\",!0)],domain:A({name:\"map\"}),style:{valType:\"any\",values:o.styleValuesMap,dflt:o.styleValueDflt},center:{lon:{valType:\"number\",dflt:0},lat:{valType:\"number\",dflt:0}},zoom:{valType:\"number\",dflt:1},bearing:{valType:\"number\",dflt:0},pitch:{valType:\"number\",dflt:0},bounds:{west:{valType:\"number\"},east:{valType:\"number\"},south:{valType:\"number\"},north:{valType:\"number\"}},layers:r(\"layer\",{visible:{valType:\"boolean\",dflt:!0},sourcetype:{valType:\"enumerated\",values:[\"geojson\",\"vector\",\"raster\",\"image\"],dflt:\"geojson\"},source:{valType:\"any\"},sourcelayer:{valType:\"string\",dflt:\"\"},sourceattribution:{valType:\"string\"},type:{valType:\"enumerated\",values:[\"circle\",\"line\",\"fill\",\"symbol\",\"raster\"],dflt:\"circle\"},coordinates:{valType:\"any\"},below:{valType:\"string\"},color:{valType:\"color\",dflt:x},opacity:{valType:\"number\",min:0,max:1,dflt:1},minzoom:{valType:\"number\",min:0,max:24,dflt:0},maxzoom:{valType:\"number\",min:0,max:24,dflt:24},circle:{radius:{valType:\"number\",dflt:15}},line:{width:{valType:\"number\",dflt:2},dash:{valType:\"data_array\"}},fill:{outlinecolor:{valType:\"color\",dflt:x}},symbol:{icon:{valType:\"string\",dflt:\"marker\"},iconsize:{valType:\"number\",dflt:10},text:{valType:\"string\",dflt:\"\"},placement:{valType:\"enumerated\",values:[\"point\",\"line\",\"line-center\"],dflt:\"point\"},textfont:n,textposition:g.extendFlat({},e,{arrayOk:!1})}})},\"plot\",\"from-root\");i.uirevision={valType:\"any\",editType:\"none\"}}}),yb=ke({\"src/traces/scattermap/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=Rs().texttemplateAttrs,A=fv(),S=Jm(),e=Cc(),t=e1(),r=Ol(),o=ou(),n=To().extendFlat,i=ju().overrideAll,a=e1(),s=S.line,c=S.marker;H.exports=i({lon:S.lon,lat:S.lat,cluster:{enabled:{valType:\"boolean\"},maxzoom:n({},a.layers.maxzoom,{}),step:{valType:\"number\",arrayOk:!0,dflt:-1,min:-1},size:{valType:\"number\",arrayOk:!0,dflt:20,min:0},color:{valType:\"color\",arrayOk:!0},opacity:n({},c.opacity,{dflt:1})},mode:n({},e.mode,{dflt:\"markers\"}),text:n({},e.text,{}),texttemplate:x({editType:\"plot\"},{keys:[\"lat\",\"lon\",\"text\"]}),hovertext:n({},e.hovertext,{}),line:{color:s.color,width:s.width},connectgaps:e.connectgaps,marker:n({symbol:{valType:\"string\",dflt:\"circle\",arrayOk:!0},angle:{valType:\"number\",dflt:\"auto\",arrayOk:!0},allowoverlap:{valType:\"boolean\",dflt:!1},opacity:c.opacity,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode},o(\"marker\")),fill:S.fill,fillcolor:A(),textfont:t.layers.symbol.textfont,textposition:t.layers.symbol.textposition,below:{valType:\"string\"},selected:{marker:e.selected.marker},unselected:{marker:e.unselected.marker},hoverinfo:n({},r.hoverinfo,{flags:[\"lon\",\"lat\",\"text\",\"name\"]}),hovertemplate:g()},\"calc\",\"nested\")}}),vM=ke({\"src/traces/scattermap/constants.js\"(Z,H){\"use strict\";var g=[\"Metropolis Black Italic\",\"Metropolis Black\",\"Metropolis Bold Italic\",\"Metropolis Bold\",\"Metropolis Extra Bold Italic\",\"Metropolis Extra Bold\",\"Metropolis Extra Light Italic\",\"Metropolis Extra Light\",\"Metropolis Light Italic\",\"Metropolis Light\",\"Metropolis Medium Italic\",\"Metropolis Medium\",\"Metropolis Regular Italic\",\"Metropolis Regular\",\"Metropolis Semi Bold Italic\",\"Metropolis Semi Bold\",\"Metropolis Thin Italic\",\"Metropolis Thin\",\"Open Sans Bold Italic\",\"Open Sans Bold\",\"Open Sans Extrabold Italic\",\"Open Sans Extrabold\",\"Open Sans Italic\",\"Open Sans Light Italic\",\"Open Sans Light\",\"Open Sans Regular\",\"Open Sans Semibold Italic\",\"Open Sans Semibold\",\"Klokantech Noto Sans Bold\",\"Klokantech Noto Sans CJK Bold\",\"Klokantech Noto Sans CJK Regular\",\"Klokantech Noto Sans Italic\",\"Klokantech Noto Sans Regular\"];H.exports={isSupportedFont:function(x){return g.indexOf(x)!==-1}}}}),oz=ke({\"src/traces/scattermap/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Fd(),S=Hd(),e=Gd(),t=dv(),r=yb(),o=vM().isSupportedFont;H.exports=function(a,s,c,h){function p(y,f){return g.coerce(a,s,r,y,f)}function d(y,f){return g.coerce2(a,s,r,y,f)}var T=n(a,s,p);if(!T){s.visible=!1;return}if(p(\"text\"),p(\"texttemplate\"),p(\"hovertext\"),p(\"hovertemplate\"),p(\"mode\"),p(\"below\"),x.hasMarkers(s)){A(a,s,c,h,p,{noLine:!0,noAngle:!0}),p(\"marker.allowoverlap\"),p(\"marker.angle\");var l=s.marker;l.symbol!==\"circle\"&&(g.isArrayOrTypedArray(l.size)&&(l.size=l.size[0]),g.isArrayOrTypedArray(l.color)&&(l.color=l.color[0]))}x.hasLines(s)&&(S(a,s,c,h,p,{noDash:!0}),p(\"connectgaps\"));var _=d(\"cluster.maxzoom\"),w=d(\"cluster.step\"),M=d(\"cluster.color\",s.marker&&s.marker.color||c),E=d(\"cluster.size\"),m=d(\"cluster.opacity\"),b=_!==!1||w!==!1||M!==!1||E!==!1||m!==!1,v=p(\"cluster.enabled\",b);if(v||x.hasText(s)){var u=h.font.family;e(a,s,h,p,{noSelect:!0,noFontVariant:!0,noFontShadow:!0,noFontLineposition:!0,noFontTextcase:!0,font:{family:o(u)?u:\"Open Sans Regular\",weight:h.font.weight,style:h.font.style,size:h.font.size,color:h.font.color}})}p(\"fill\"),s.fill!==\"none\"&&t(a,s,c,p),g.coerceSelectionMarkerOpacity(s,p)};function n(i,a,s){var c=s(\"lon\")||[],h=s(\"lat\")||[],p=Math.min(c.length,h.length);return a._length=p,p}}}),pM=ke({\"src/traces/scattermap/format_labels.js\"(Z,H){\"use strict\";var g=Ho();H.exports=function(A,S,e){var t={},r=e[S.subplot]._subplot,o=r.mockAxis,n=A.lonlat;return t.lonLabel=g.tickText(o,o.c2l(n[0]),!0).text,t.latLabel=g.tickText(o,o.c2l(n[1]),!0).text,t}}}),mM=ke({\"src/plots/map/convert_text_opts.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S){var e=A.split(\" \"),t=e[0],r=e[1],o=g.isArrayOrTypedArray(S)?g.mean(S):S,n=.5+o/100,i=1.5+o/100,a=[\"\",\"\"],s=[0,0];switch(t){case\"top\":a[0]=\"top\",s[1]=-i;break;case\"bottom\":a[0]=\"bottom\",s[1]=i;break}switch(r){case\"left\":a[1]=\"right\",s[0]=-n;break;case\"right\":a[1]=\"left\",s[0]=n;break}var c;return a[0]&&a[1]?c=a.join(\"-\"):a[0]?c=a[0]:a[1]?c=a[1]:c=\"center\",{anchor:c,offset:s}}}}),sz=ke({\"src/traces/scattermap/convert.js\"(Z,H){\"use strict\";var g=Yn(),x=un(),A=Hi().BADNUM,S=Kp(),e=ku(),t=$o(),r=Hg(),o=vu(),n=vM().isSupportedFont,i=mM(),a=gd().appendArrayPointValue,s=Wl().NEWLINES,c=Wl().BR_TAG_ALL;H.exports=function(m,b){var v=b[0].trace,u=v.visible===!0&&v._length!==0,y=v.fill!==\"none\",f=o.hasLines(v),P=o.hasMarkers(v),L=o.hasText(v),z=P&&v.marker.symbol===\"circle\",F=P&&v.marker.symbol!==\"circle\",B=v.cluster&&v.cluster.enabled,O=h(\"fill\"),I=h(\"line\"),N=h(\"circle\"),U=h(\"symbol\"),W={fill:O,line:I,circle:N,symbol:U};if(!u)return W;var Q;if((y||f)&&(Q=S.calcTraceToLineCoords(b)),y&&(O.geojson=S.makePolygon(Q),O.layout.visibility=\"visible\",x.extendFlat(O.paint,{\"fill-color\":v.fillcolor})),f&&(I.geojson=S.makeLine(Q),I.layout.visibility=\"visible\",x.extendFlat(I.paint,{\"line-width\":v.line.width,\"line-color\":v.line.color,\"line-opacity\":v.opacity})),z){var le=p(b);N.geojson=le.geojson,N.layout.visibility=\"visible\",B&&(N.filter=[\"!\",[\"has\",\"point_count\"]],W.cluster={type:\"circle\",filter:[\"has\",\"point_count\"],layout:{visibility:\"visible\"},paint:{\"circle-color\":w(v.cluster.color,v.cluster.step),\"circle-radius\":w(v.cluster.size,v.cluster.step),\"circle-opacity\":w(v.cluster.opacity,v.cluster.step)}},W.clusterCount={type:\"symbol\",filter:[\"has\",\"point_count\"],paint:{},layout:{\"text-field\":\"{point_count_abbreviated}\",\"text-font\":M(v),\"text-size\":12}}),x.extendFlat(N.paint,{\"circle-color\":le.mcc,\"circle-radius\":le.mrc,\"circle-opacity\":le.mo})}if(z&&B&&(N.filter=[\"!\",[\"has\",\"point_count\"]]),(F||L)&&(U.geojson=d(b,m),x.extendFlat(U.layout,{visibility:\"visible\",\"icon-image\":\"{symbol}-15\",\"text-field\":\"{text}\"}),F&&(x.extendFlat(U.layout,{\"icon-size\":v.marker.size/10}),\"angle\"in v.marker&&v.marker.angle!==\"auto\"&&x.extendFlat(U.layout,{\"icon-rotate\":{type:\"identity\",property:\"angle\"},\"icon-rotation-alignment\":\"map\"}),U.layout[\"icon-allow-overlap\"]=v.marker.allowoverlap,x.extendFlat(U.paint,{\"icon-opacity\":v.opacity*v.marker.opacity,\"icon-color\":v.marker.color})),L)){var se=(v.marker||{}).size,fe=i(v.textposition,se);x.extendFlat(U.layout,{\"text-size\":v.textfont.size,\"text-anchor\":fe.anchor,\"text-offset\":fe.offset,\"text-font\":M(v)}),x.extendFlat(U.paint,{\"text-color\":v.textfont.color,\"text-opacity\":v.opacity})}return W};function h(E){return{type:E,geojson:S.makeBlank(),layout:{visibility:\"none\"},filter:null,paint:{}}}function p(E){var m=E[0].trace,b=m.marker,v=m.selectedpoints,u=x.isArrayOrTypedArray(b.color),y=x.isArrayOrTypedArray(b.size),f=x.isArrayOrTypedArray(b.opacity),P;function L(se){return m.opacity*se}function z(se){return se/2}var F;u&&(e.hasColorscale(m,\"marker\")?F=e.makeColorScaleFuncFromTrace(b):F=x.identity);var B;y&&(B=r(m));var O;f&&(O=function(se){var fe=g(se)?+x.constrain(se,0,1):0;return L(fe)});var I=[];for(P=0;P850?P+=\" Black\":u>750?P+=\" Extra Bold\":u>650?P+=\" Bold\":u>550?P+=\" Semi Bold\":u>450?P+=\" Medium\":u>350?P+=\" Regular\":u>250?P+=\" Light\":u>150?P+=\" Extra Light\":P+=\" Thin\"):y.slice(0,2).join(\" \")===\"Open Sans\"?(P=\"Open Sans\",u>750?P+=\" Extrabold\":u>650?P+=\" Bold\":u>550?P+=\" Semibold\":u>350?P+=\" Regular\":P+=\" Light\"):y.slice(0,3).join(\" \")===\"Klokantech Noto Sans\"&&(P=\"Klokantech Noto Sans\",y[3]===\"CJK\"&&(P+=\" CJK\"),P+=u>500?\" Bold\":\" Regular\")),f&&(P+=\" Italic\"),P===\"Open Sans Regular Italic\"?P=\"Open Sans Italic\":P===\"Open Sans Regular Bold\"?P=\"Open Sans Bold\":P===\"Open Sans Regular Bold Italic\"?P=\"Open Sans Bold Italic\":P===\"Klokantech Noto Sans Regular Italic\"&&(P=\"Klokantech Noto Sans Italic\"),n(P)||(P=b);var L=P.split(\", \");return L}}}),lz=ke({\"src/traces/scattermap/plot.js\"(Z,H){\"use strict\";var g=un(),x=sz(),A=tm().traceLayerPrefix,S={cluster:[\"cluster\",\"clusterCount\",\"circle\"],nonCluster:[\"fill\",\"line\",\"circle\",\"symbol\"]};function e(r,o,n,i){this.type=\"scattermap\",this.subplot=r,this.uid=o,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:\"source-\"+o+\"-fill\",line:\"source-\"+o+\"-line\",circle:\"source-\"+o+\"-circle\",symbol:\"source-\"+o+\"-symbol\",cluster:\"source-\"+o+\"-circle\",clusterCount:\"source-\"+o+\"-circle\"},this.layerIds={fill:A+o+\"-fill\",line:A+o+\"-line\",circle:A+o+\"-circle\",symbol:A+o+\"-symbol\",cluster:A+o+\"-cluster\",clusterCount:A+o+\"-cluster-count\"},this.below=null}var t=e.prototype;t.addSource=function(r,o,n){var i={type:\"geojson\",data:o.geojson};n&&n.enabled&&g.extendFlat(i,{cluster:!0,clusterMaxZoom:n.maxzoom});var a=this.subplot.map.getSource(this.sourceIds[r]);a?a.setData(o.geojson):this.subplot.map.addSource(this.sourceIds[r],i)},t.setSourceData=function(r,o){this.subplot.map.getSource(this.sourceIds[r]).setData(o.geojson)},t.addLayer=function(r,o,n){var i={type:o.type,id:this.layerIds[r],source:this.sourceIds[r],layout:o.layout,paint:o.paint};o.filter&&(i.filter=o.filter);for(var a=this.layerIds[r],s,c=this.subplot.getMapLayers(),h=0;h=0;f--){var P=y[f];a.removeLayer(d.layerIds[P])}u||a.removeSource(d.sourceIds.circle)}function _(u){for(var y=S.nonCluster,f=0;f=0;f--){var P=y[f];a.removeLayer(d.layerIds[P]),u||a.removeSource(d.sourceIds[P])}}function M(u){p?l(u):w(u)}function E(u){h?T(u):_(u)}function m(){for(var u=h?S.cluster:S.nonCluster,y=0;y=0;i--){var a=n[i];o.removeLayer(this.layerIds[a]),o.removeSource(this.sourceIds[a])}},H.exports=function(o,n){var i=n[0].trace,a=i.cluster&&i.cluster.enabled,s=i.visible!==!0,c=new e(o,i.uid,a,s),h=x(o.gd,n),p=c.below=o.belowLookup[\"trace-\"+i.uid],d,T,l;if(a)for(c.addSource(\"circle\",h.circle,i.cluster),d=0;d=0?Math.floor((i+180)/360):Math.ceil((i-180)/360),E=M*360,m=i-E;function b(B){var O=B.lonlat;if(O[0]===e||_&&T.indexOf(B.i+1)===-1)return 1/0;var I=x.modHalf(O[0],360),N=O[1],U=d.project([I,N]),W=U.x-h.c2p([m,N]),Q=U.y-p.c2p([I,a]),le=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(W*W+Q*Q)-le,1-3/le)}if(g.getClosest(s,b,n),n.index!==!1){var v=s[n.index],u=v.lonlat,y=[x.modHalf(u[0],360)+E,u[1]],f=h.c2p(y),P=p.c2p(y),L=v.mrc||1;n.x0=f-L,n.x1=f+L,n.y0=P-L,n.y1=P+L;var z={};z[c.subplot]={_subplot:d};var F=c._module.formatLabels(v,c,z);return n.lonLabel=F.lonLabel,n.latLabel=F.latLabel,n.color=A(c,v),n.extraText=o(c,v,s[0].t.labels),n.hovertemplate=c.hovertemplate,[n]}}function o(n,i,a){if(n.hovertemplate)return;var s=i.hi||n.hoverinfo,c=s.split(\"+\"),h=c.indexOf(\"all\")!==-1,p=c.indexOf(\"lon\")!==-1,d=c.indexOf(\"lat\")!==-1,T=i.lonlat,l=[];function _(w){return w+\"\\xB0\"}return h||p&&d?l.push(\"(\"+_(T[1])+\", \"+_(T[0])+\")\"):p?l.push(a.lon+_(T[0])):d&&l.push(a.lat+_(T[1])),(h||c.indexOf(\"text\")!==-1)&&S(i,n,l),l.join(\"
\")}H.exports={hoverPoints:r,getExtraText:o}}}),uz=ke({\"src/traces/scattermap/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x}}}),cz=ke({\"src/traces/scattermap/select.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Hi().BADNUM;H.exports=function(e,t){var r=e.cd,o=e.xaxis,n=e.yaxis,i=[],a=r[0].trace,s;if(!x.hasMarkers(a))return[];if(t===!1)for(s=0;s1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var c=r(a);let h,p;function d(){return h==null&&(h=typeof OffscreenCanvas<\"u\"&&new OffscreenCanvas(1,1).getContext(\"2d\")&&typeof createImageBitmap==\"function\"),h}function T(){if(p==null&&(p=!1,d())){let D=new OffscreenCanvas(5,5).getContext(\"2d\",{willReadFrequently:!0});if(D){for(let he=0;he<5*5;he++){let Ce=4*he;D.fillStyle=`rgb(${Ce},${Ce+1},${Ce+2})`,D.fillRect(he%5,Math.floor(he/5),1,1)}let Y=D.getImageData(0,0,5,5).data;for(let he=0;he<5*5*4;he++)if(he%4!=3&&Y[he]!==he){p=!0;break}}}return p||!1}function l(q,D,Y,he){let Ce=new c(q,D,Y,he);return Ve=>Ce.solve(Ve)}let _=l(.25,.1,.25,1);function w(q,D,Y){return Math.min(Y,Math.max(D,q))}function M(q,D,Y){let he=Y-D,Ce=((q-D)%he+he)%he+D;return Ce===D?Y:Ce}function E(q,...D){for(let Y of D)for(let he in Y)q[he]=Y[he];return q}let m=1;function b(q,D,Y){let he={};for(let Ce in q)he[Ce]=D.call(this,q[Ce],Ce,q);return he}function v(q,D,Y){let he={};for(let Ce in q)D.call(this,q[Ce],Ce,q)&&(he[Ce]=q[Ce]);return he}function u(q){return Array.isArray(q)?q.map(u):typeof q==\"object\"&&q?b(q,u):q}let y={};function f(q){y[q]||(typeof console<\"u\"&&console.warn(q),y[q]=!0)}function P(q,D,Y){return(Y.y-q.y)*(D.x-q.x)>(D.y-q.y)*(Y.x-q.x)}function L(q){return typeof WorkerGlobalScope<\"u\"&&q!==void 0&&q instanceof WorkerGlobalScope}let z=null;function F(q){return typeof ImageBitmap<\"u\"&&q instanceof ImageBitmap}let B=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\";function O(q,D,Y,he,Ce){return t(this,void 0,void 0,function*(){if(typeof VideoFrame>\"u\")throw new Error(\"VideoFrame not supported\");let Ve=new VideoFrame(q,{timestamp:0});try{let Xe=Ve?.format;if(!Xe||!Xe.startsWith(\"BGR\")&&!Xe.startsWith(\"RGB\"))throw new Error(`Unrecognized format ${Xe}`);let ct=Xe.startsWith(\"BGR\"),At=new Uint8ClampedArray(he*Ce*4);if(yield Ve.copyTo(At,function(Ot,er,cr,Sr,Nr){let rn=4*Math.max(-er,0),mn=(Math.max(0,cr)-cr)*Sr*4+rn,Gn=4*Sr,ei=Math.max(0,er),Ri=Math.max(0,cr);return{rect:{x:ei,y:Ri,width:Math.min(Ot.width,er+Sr)-ei,height:Math.min(Ot.height,cr+Nr)-Ri},layout:[{offset:mn,stride:Gn}]}}(q,D,Y,he,Ce)),ct)for(let Ot=0;OtL(self)?self.worker&&self.worker.referrer:(window.location.protocol===\"blob:\"?window.parent:window).location.href,$=function(q,D){if(/:\\/\\//.test(q.url)&&!/^https?:|^file:/.test(q.url)){let he=le(q.url);if(he)return he(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:\"GR\",data:q,targetMapId:se},D)}if(!(/^file:/.test(Y=q.url)||/^file:/.test(G())&&!/^\\w+:/.test(Y))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,\"signal\"))return function(he,Ce){return t(this,void 0,void 0,function*(){let Ve=new Request(he.url,{method:he.method||\"GET\",body:he.body,credentials:he.credentials,headers:he.headers,cache:he.cache,referrer:G(),signal:Ce.signal});he.type!==\"json\"||Ve.headers.has(\"Accept\")||Ve.headers.set(\"Accept\",\"application/json\");let Xe=yield fetch(Ve);if(!Xe.ok){let Ot=yield Xe.blob();throw new fe(Xe.status,Xe.statusText,he.url,Ot)}let ct;ct=he.type===\"arrayBuffer\"||he.type===\"image\"?Xe.arrayBuffer():he.type===\"json\"?Xe.json():Xe.text();let At=yield ct;if(Ce.signal.aborted)throw W();return{data:At,cacheControl:Xe.headers.get(\"Cache-Control\"),expires:Xe.headers.get(\"Expires\")}})}(q,D);if(L(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:\"GR\",data:q,mustQueue:!0,targetMapId:se},D)}var Y;return function(he,Ce){return new Promise((Ve,Xe)=>{var ct;let At=new XMLHttpRequest;At.open(he.method||\"GET\",he.url,!0),he.type!==\"arrayBuffer\"&&he.type!==\"image\"||(At.responseType=\"arraybuffer\");for(let Ot in he.headers)At.setRequestHeader(Ot,he.headers[Ot]);he.type===\"json\"&&(At.responseType=\"text\",!((ct=he.headers)===null||ct===void 0)&&ct.Accept||At.setRequestHeader(\"Accept\",\"application/json\")),At.withCredentials=he.credentials===\"include\",At.onerror=()=>{Xe(new Error(At.statusText))},At.onload=()=>{if(!Ce.signal.aborted)if((At.status>=200&&At.status<300||At.status===0)&&At.response!==null){let Ot=At.response;if(he.type===\"json\")try{Ot=JSON.parse(At.response)}catch(er){return void Xe(er)}Ve({data:Ot,cacheControl:At.getResponseHeader(\"Cache-Control\"),expires:At.getResponseHeader(\"Expires\")})}else{let Ot=new Blob([At.response],{type:At.getResponseHeader(\"Content-Type\")});Xe(new fe(At.status,At.statusText,he.url,Ot))}},Ce.signal.addEventListener(\"abort\",()=>{At.abort(),Xe(W())}),At.send(he.body)})}(q,D)};function J(q){if(!q||q.indexOf(\"://\")<=0||q.indexOf(\"data:image/\")===0||q.indexOf(\"blob:\")===0)return!0;let D=new URL(q),Y=window.location;return D.protocol===Y.protocol&&D.host===Y.host}function X(q,D,Y){Y[q]&&Y[q].indexOf(D)!==-1||(Y[q]=Y[q]||[],Y[q].push(D))}function re(q,D,Y){if(Y&&Y[q]){let he=Y[q].indexOf(D);he!==-1&&Y[q].splice(he,1)}}class ae{constructor(D,Y={}){E(this,Y),this.type=D}}class j extends ae{constructor(D,Y={}){super(\"error\",E({error:D},Y))}}class ee{on(D,Y){return this._listeners=this._listeners||{},X(D,Y,this._listeners),this}off(D,Y){return re(D,Y,this._listeners),re(D,Y,this._oneTimeListeners),this}once(D,Y){return Y?(this._oneTimeListeners=this._oneTimeListeners||{},X(D,Y,this._oneTimeListeners),this):new Promise(he=>this.once(D,he))}fire(D,Y){typeof D==\"string\"&&(D=new ae(D,Y||{}));let he=D.type;if(this.listens(he)){D.target=this;let Ce=this._listeners&&this._listeners[he]?this._listeners[he].slice():[];for(let ct of Ce)ct.call(this,D);let Ve=this._oneTimeListeners&&this._oneTimeListeners[he]?this._oneTimeListeners[he].slice():[];for(let ct of Ve)re(he,ct,this._oneTimeListeners),ct.call(this,D);let Xe=this._eventedParent;Xe&&(E(D,typeof this._eventedParentData==\"function\"?this._eventedParentData():this._eventedParentData),Xe.fire(D))}else D instanceof j&&console.error(D.error);return this}listens(D){return this._listeners&&this._listeners[D]&&this._listeners[D].length>0||this._oneTimeListeners&&this._oneTimeListeners[D]&&this._oneTimeListeners[D].length>0||this._eventedParent&&this._eventedParent.listens(D)}setEventedParent(D,Y){return this._eventedParent=D,this._eventedParentData=Y,this}}var ie={$version:8,$root:{version:{required:!0,type:\"enum\",values:[8]},name:{type:\"string\"},metadata:{type:\"*\"},center:{type:\"array\",value:\"number\"},zoom:{type:\"number\"},bearing:{type:\"number\",default:0,period:360,units:\"degrees\"},pitch:{type:\"number\",default:0,units:\"degrees\"},light:{type:\"light\"},sky:{type:\"sky\"},projection:{type:\"projection\"},terrain:{type:\"terrain\"},sources:{required:!0,type:\"sources\"},sprite:{type:\"sprite\"},glyphs:{type:\"string\"},transition:{type:\"transition\"},layers:{required:!0,type:\"array\",value:\"layer\"}},sources:{\"*\":{type:\"source\"}},source:[\"source_vector\",\"source_raster\",\"source_raster_dem\",\"source_geojson\",\"source_video\",\"source_image\"],source_vector:{type:{required:!0,type:\"enum\",values:{vector:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},attribution:{type:\"string\"},promoteId:{type:\"promoteId\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_raster:{type:{required:!0,type:\"enum\",values:{raster:{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},scheme:{type:\"enum\",values:{xyz:{},tms:{}},default:\"xyz\"},attribution:{type:\"string\"},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_raster_dem:{type:{required:!0,type:\"enum\",values:{\"raster-dem\":{}}},url:{type:\"string\"},tiles:{type:\"array\",value:\"string\"},bounds:{type:\"array\",value:\"number\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\"number\",default:0},maxzoom:{type:\"number\",default:22},tileSize:{type:\"number\",default:512,units:\"pixels\"},attribution:{type:\"string\"},encoding:{type:\"enum\",values:{terrarium:{},mapbox:{},custom:{}},default:\"mapbox\"},redFactor:{type:\"number\",default:1},blueFactor:{type:\"number\",default:1},greenFactor:{type:\"number\",default:1},baseShift:{type:\"number\",default:0},volatile:{type:\"boolean\",default:!1},\"*\":{type:\"*\"}},source_geojson:{type:{required:!0,type:\"enum\",values:{geojson:{}}},data:{required:!0,type:\"*\"},maxzoom:{type:\"number\",default:18},attribution:{type:\"string\"},buffer:{type:\"number\",default:128,maximum:512,minimum:0},filter:{type:\"*\"},tolerance:{type:\"number\",default:.375},cluster:{type:\"boolean\",default:!1},clusterRadius:{type:\"number\",default:50,minimum:0},clusterMaxZoom:{type:\"number\"},clusterMinPoints:{type:\"number\"},clusterProperties:{type:\"*\"},lineMetrics:{type:\"boolean\",default:!1},generateId:{type:\"boolean\",default:!1},promoteId:{type:\"promoteId\"}},source_video:{type:{required:!0,type:\"enum\",values:{video:{}}},urls:{required:!0,type:\"array\",value:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},source_image:{type:{required:!0,type:\"enum\",values:{image:{}}},url:{required:!0,type:\"string\"},coordinates:{required:!0,type:\"array\",length:4,value:{type:\"array\",length:2,value:\"number\"}}},layer:{id:{type:\"string\",required:!0},type:{type:\"enum\",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},\"fill-extrusion\":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:\"*\"},source:{type:\"string\"},\"source-layer\":{type:\"string\"},minzoom:{type:\"number\",minimum:0,maximum:24},maxzoom:{type:\"number\",minimum:0,maximum:24},filter:{type:\"filter\"},layout:{type:\"layout\"},paint:{type:\"paint\"}},layout:[\"layout_fill\",\"layout_line\",\"layout_circle\",\"layout_heatmap\",\"layout_fill-extrusion\",\"layout_symbol\",\"layout_raster\",\"layout_hillshade\",\"layout_background\"],layout_background:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_fill:{\"fill-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_circle:{\"circle-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_heatmap:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},\"layout_fill-extrusion\":{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_line:{\"line-cap\":{type:\"enum\",values:{butt:{},round:{},square:{}},default:\"butt\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-join\":{type:\"enum\",values:{bevel:{},round:{},miter:{}},default:\"miter\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"line-miter-limit\":{type:\"number\",default:2,requires:[{\"line-join\":\"miter\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-round-limit\":{type:\"number\",default:1.05,requires:[{\"line-join\":\"round\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_symbol:{\"symbol-placement\":{type:\"enum\",values:{point:{},line:{},\"line-center\":{}},default:\"point\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-spacing\":{type:\"number\",default:250,minimum:1,units:\"pixels\",requires:[{\"symbol-placement\":\"line\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-avoid-edges\":{type:\"boolean\",default:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"symbol-sort-key\":{type:\"number\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"symbol-z-order\":{type:\"enum\",values:{auto:{},\"viewport-y\":{},source:{}},default:\"auto\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"!\":\"icon-overlap\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-overlap\":{type:\"enum\",values:{never:{},always:{},cooperative:{}},requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-optional\":{type:\"boolean\",default:!1,requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-size\":{type:\"number\",default:1,minimum:0,units:\"factor of the original icon size\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-text-fit\":{type:\"enum\",values:{none:{},width:{},height:{},both:{}},default:\"none\",requires:[\"icon-image\",\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-text-fit-padding\":{type:\"array\",value:\"number\",length:4,default:[0,0,0,0],units:\"pixels\",requires:[\"icon-image\",\"text-field\",{\"icon-text-fit\":[\"both\",\"width\",\"height\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-image\":{type:\"resolvedImage\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-padding\":{type:\"padding\",default:[2],units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-keep-upright\":{type:\"boolean\",default:!1,requires:[\"icon-image\",{\"icon-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-offset\":{type:\"array\",value:\"number\",length:2,default:[0,0],requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"icon-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotation-alignment\":{type:\"enum\",values:{map:{},viewport:{},\"viewport-glyph\":{},auto:{}},default:\"auto\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-field\":{type:\"formatted\",default:\"\",tokens:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-font\":{type:\"array\",value:\"string\",default:[\"Open Sans Regular\",\"Arial Unicode MS Regular\"],requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-size\":{type:\"number\",default:16,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-width\":{type:\"number\",default:10,minimum:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-line-height\":{type:\"number\",default:1.2,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-letter-spacing\":{type:\"number\",default:0,units:\"ems\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-justify\":{type:\"enum\",values:{auto:{},left:{},center:{},right:{}},default:\"center\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-radial-offset\":{type:\"number\",units:\"ems\",default:0,requires:[\"text-field\"],\"property-type\":\"data-driven\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]}},\"text-variable-anchor\":{type:\"array\",value:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-variable-anchor-offset\":{type:\"variableAnchorOffsetCollection\",requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-anchor\":{type:\"enum\",values:{center:{},left:{},right:{},top:{},bottom:{},\"top-left\":{},\"top-right\":{},\"bottom-left\":{},\"bottom-right\":{}},default:\"center\",requires:[\"text-field\",{\"!\":\"text-variable-anchor\"}],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-max-angle\":{type:\"number\",default:45,units:\"degrees\",requires:[\"text-field\",{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-writing-mode\":{type:\"array\",value:\"enum\",values:{horizontal:{},vertical:{}},requires:[\"text-field\",{\"symbol-placement\":[\"point\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-rotate\":{type:\"number\",default:0,period:360,units:\"degrees\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-padding\":{type:\"number\",default:2,minimum:0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-keep-upright\":{type:\"boolean\",default:!0,requires:[\"text-field\",{\"text-rotation-alignment\":\"map\"},{\"symbol-placement\":[\"line\",\"line-center\"]}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-transform\":{type:\"enum\",values:{none:{},uppercase:{},lowercase:{}},default:\"none\",requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-offset\":{type:\"array\",value:\"number\",units:\"ems\",length:2,default:[0,0],requires:[\"text-field\",{\"!\":\"text-radial-offset\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"data-driven\"},\"text-allow-overlap\":{type:\"boolean\",default:!1,requires:[\"text-field\",{\"!\":\"text-overlap\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-overlap\":{type:\"enum\",values:{never:{},always:{},cooperative:{}},requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-ignore-placement\":{type:\"boolean\",default:!1,requires:[\"text-field\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-optional\":{type:\"boolean\",default:!1,requires:[\"text-field\",\"icon-image\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_raster:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},layout_hillshade:{visibility:{type:\"enum\",values:{visible:{},none:{}},default:\"visible\",\"property-type\":\"constant\"}},filter:{type:\"array\",value:\"*\"},filter_operator:{type:\"enum\",values:{\"==\":{},\"!=\":{},\">\":{},\">=\":{},\"<\":{},\"<=\":{},in:{},\"!in\":{},all:{},any:{},none:{},has:{},\"!has\":{}}},geometry_type:{type:\"enum\",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:\"expression\"},stops:{type:\"array\",value:\"function_stop\"},base:{type:\"number\",default:1,minimum:0},property:{type:\"string\",default:\"$zoom\"},type:{type:\"enum\",values:{identity:{},exponential:{},interval:{},categorical:{}},default:\"exponential\"},colorSpace:{type:\"enum\",values:{rgb:{},lab:{},hcl:{}},default:\"rgb\"},default:{type:\"*\",required:!1}},function_stop:{type:\"array\",minimum:0,maximum:24,value:[\"number\",\"color\"],length:2},expression:{type:\"array\",value:\"*\",minimum:1},light:{anchor:{type:\"enum\",default:\"viewport\",values:{map:{},viewport:{}},\"property-type\":\"data-constant\",transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]}},position:{type:\"array\",default:[1.15,210,30],length:3,value:\"number\",\"property-type\":\"data-constant\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]}},color:{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},intensity:{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},sky:{\"sky-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#88C6FC\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"horizon-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"fog-color\":{type:\"color\",\"property-type\":\"data-constant\",default:\"#ffffff\",expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"fog-ground-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"horizon-fog-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"sky-horizon-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0},\"atmosphere-blend\":{type:\"number\",\"property-type\":\"data-constant\",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\"zoom\"]},transition:!0}},terrain:{source:{type:\"string\",required:!0},exaggeration:{type:\"number\",minimum:0,default:1}},projection:{type:{type:\"enum\",default:\"mercator\",values:{mercator:{},globe:{}}}},paint:[\"paint_fill\",\"paint_line\",\"paint_circle\",\"paint_heatmap\",\"paint_fill-extrusion\",\"paint_symbol\",\"paint_raster\",\"paint_hillshade\",\"paint_background\"],paint_fill:{\"fill-antialias\":{type:\"boolean\",default:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-outline-color\":{type:\"color\",transition:!0,requires:[{\"!\":\"fill-pattern\"},{\"fill-antialias\":!0}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"}},\"paint_fill-extrusion\":{\"fill-extrusion-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"fill-extrusion-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"fill-extrusion-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"fill-extrusion-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"fill-extrusion-height\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-base\":{type:\"number\",default:0,minimum:0,units:\"meters\",transition:!0,requires:[\"fill-extrusion-height\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"fill-extrusion-vertical-gradient\":{type:\"boolean\",default:!0,transition:!1,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_line:{\"line-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"line-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"line-width\":{type:\"number\",default:1,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-gap-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-offset\":{type:\"number\",default:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"line-dasharray\":{type:\"array\",value:\"number\",minimum:0,transition:!0,units:\"line widths\",requires:[{\"!\":\"line-pattern\"}],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"line-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]},\"property-type\":\"cross-faded-data-driven\"},\"line-gradient\":{type:\"color\",transition:!1,requires:[{\"!\":\"line-dasharray\"},{\"!\":\"line-pattern\"},{source:\"geojson\",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:[\"line-progress\"]},\"property-type\":\"color-ramp\"}},paint_circle:{\"circle-radius\":{type:\"number\",default:5,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-blur\":{type:\"number\",default:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"circle-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-scale\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-pitch-alignment\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"circle-stroke-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"circle-stroke-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"}},paint_heatmap:{\"heatmap-radius\":{type:\"number\",default:30,minimum:1,transition:!0,units:\"pixels\",expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-weight\":{type:\"number\",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"heatmap-intensity\":{type:\"number\",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"heatmap-color\":{type:\"color\",default:[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,\"rgba(0, 0, 255, 0)\",.1,\"royalblue\",.3,\"cyan\",.5,\"lime\",.7,\"yellow\",1,\"red\"],transition:!1,expression:{interpolated:!0,parameters:[\"heatmap-density\"]},\"property-type\":\"color-ramp\"},\"heatmap-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_symbol:{\"icon-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"icon-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"icon-image\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"icon-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"icon-image\",\"icon-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-color\":{type:\"color\",default:\"#000000\",transition:!0,overridable:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-color\":{type:\"color\",default:\"rgba(0, 0, 0, 0)\",transition:!0,requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-width\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-halo-blur\":{type:\"number\",default:0,minimum:0,transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\",\"feature\",\"feature-state\"]},\"property-type\":\"data-driven\"},\"text-translate\":{type:\"array\",value:\"number\",length:2,default:[0,0],transition:!0,units:\"pixels\",requires:[\"text-field\"],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"text-translate-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"map\",requires:[\"text-field\",\"text-translate\"],expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_raster:{\"raster-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-hue-rotate\":{type:\"number\",default:0,period:360,transition:!0,units:\"degrees\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-min\":{type:\"number\",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-brightness-max\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-saturation\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-contrast\":{type:\"number\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-resampling\":{type:\"enum\",values:{linear:{},nearest:{}},default:\"linear\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"raster-fade-duration\":{type:\"number\",default:300,minimum:0,transition:!1,units:\"milliseconds\",expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_hillshade:{\"hillshade-illumination-direction\":{type:\"number\",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-illumination-anchor\":{type:\"enum\",values:{map:{},viewport:{}},default:\"viewport\",expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-exaggeration\":{type:\"number\",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-shadow-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-highlight-color\":{type:\"color\",default:\"#FFFFFF\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"hillshade-accent-color\":{type:\"color\",default:\"#000000\",transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},paint_background:{\"background-color\":{type:\"color\",default:\"#000000\",transition:!0,requires:[{\"!\":\"background-pattern\"}],expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"},\"background-pattern\":{type:\"resolvedImage\",transition:!0,expression:{interpolated:!1,parameters:[\"zoom\"]},\"property-type\":\"cross-faded\"},\"background-opacity\":{type:\"number\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\"zoom\"]},\"property-type\":\"data-constant\"}},transition:{duration:{type:\"number\",default:300,minimum:0,units:\"milliseconds\"},delay:{type:\"number\",default:0,minimum:0,units:\"milliseconds\"}},\"property-type\":{\"data-driven\":{type:\"property-type\"},\"cross-faded\":{type:\"property-type\"},\"cross-faded-data-driven\":{type:\"property-type\"},\"color-ramp\":{type:\"property-type\"},\"data-constant\":{type:\"property-type\"},constant:{type:\"property-type\"}},promoteId:{\"*\":{type:\"string\"}}};let ce=[\"type\",\"source\",\"source-layer\",\"minzoom\",\"maxzoom\",\"filter\",\"layout\"];function xe(q,D){let Y={};for(let he in q)he!==\"ref\"&&(Y[he]=q[he]);return ce.forEach(he=>{he in D&&(Y[he]=D[he])}),Y}function Te(q,D){if(Array.isArray(q)){if(!Array.isArray(D)||q.length!==D.length)return!1;for(let Y=0;Y`:q.itemType.kind===\"value\"?\"array\":`array<${D}>`}return q.kind}let je=[ot,et,Lt,Et,Bt,Rr,qt,Be(fr),gr,br,_t];function Se(q,D){if(D.kind===\"error\")return null;if(q.kind===\"array\"){if(D.kind===\"array\"&&(D.N===0&&D.itemType.kind===\"value\"||!Se(q.itemType,D.itemType))&&(typeof q.N!=\"number\"||q.N===D.N))return null}else{if(q.kind===D.kind)return null;if(q.kind===\"value\"){for(let Y of je)if(!Se(Y,D))return null}}return`Expected ${Ke(q)} but found ${Ke(D)} instead.`}function He(q,D){return D.some(Y=>Y.kind===q.kind)}function Ee(q,D){return D.some(Y=>Y===\"null\"?q===null:Y===\"array\"?Array.isArray(q):Y===\"object\"?q&&!Array.isArray(q)&&typeof q==\"object\":Y===typeof q)}function we(q,D){return q.kind===\"array\"&&D.kind===\"array\"?q.itemType.kind===D.itemType.kind&&typeof q.N==\"number\":q.kind===D.kind}let Le=.96422,nt=.82521,pt=4/29,bt=6/29,Rt=3*bt*bt,Nt=bt*bt*bt,Xt=Math.PI/180,$t=180/Math.PI;function ur(q){return(q%=360)<0&&(q+=360),q}function pn([q,D,Y,he]){let Ce,Ve,Xe=Nn((.2225045*(q=Rn(q))+.7168786*(D=Rn(D))+.0606169*(Y=Rn(Y)))/1);q===D&&D===Y?Ce=Ve=Xe:(Ce=Nn((.4360747*q+.3850649*D+.1430804*Y)/Le),Ve=Nn((.0139322*q+.0971045*D+.7141733*Y)/nt));let ct=116*Xe-16;return[ct<0?0:ct,500*(Ce-Xe),200*(Xe-Ve),he]}function Rn(q){return q<=.04045?q/12.92:Math.pow((q+.055)/1.055,2.4)}function Nn(q){return q>Nt?Math.pow(q,1/3):q/Rt+pt}function On([q,D,Y,he]){let Ce=(q+16)/116,Ve=isNaN(D)?Ce:Ce+D/500,Xe=isNaN(Y)?Ce:Ce-Y/200;return Ce=1*zn(Ce),Ve=Le*zn(Ve),Xe=nt*zn(Xe),[ni(3.1338561*Ve-1.6168667*Ce-.4906146*Xe),ni(-.9787684*Ve+1.9161415*Ce+.033454*Xe),ni(.0719453*Ve-.2289914*Ce+1.4052427*Xe),he]}function ni(q){return(q=q<=.00304?12.92*q:1.055*Math.pow(q,1/2.4)-.055)<0?0:q>1?1:q}function zn(q){return q>bt?q*q*q:Rt*(q-pt)}function Qn(q){return parseInt(q.padEnd(2,q),16)/255}function gi(q,D){return Zt(D?q/100:q,0,1)}function Zt(q,D,Y){return Math.min(Math.max(D,q),Y)}function Ft(q){return!q.some(Number.isNaN)}let Ht={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]};class Vt{constructor(D,Y,he,Ce=1,Ve=!0){this.r=D,this.g=Y,this.b=he,this.a=Ce,Ve||(this.r*=Ce,this.g*=Ce,this.b*=Ce,Ce||this.overwriteGetter(\"rgb\",[D,Y,he,Ce]))}static parse(D){if(D instanceof Vt)return D;if(typeof D!=\"string\")return;let Y=function(he){if((he=he.toLowerCase().trim())===\"transparent\")return[0,0,0,0];let Ce=Ht[he];if(Ce){let[Xe,ct,At]=Ce;return[Xe/255,ct/255,At/255,1]}if(he.startsWith(\"#\")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(he)){let Xe=he.length<6?1:2,ct=1;return[Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+=Xe)),Qn(he.slice(ct,ct+Xe)||\"ff\")]}if(he.startsWith(\"rgb\")){let Xe=he.match(/^rgba?\\(\\s*([\\de.+-]+)(%)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)(%)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)(%)?(?:\\s*([,\\/])\\s*([\\de.+-]+)(%)?)?\\s*\\)$/);if(Xe){let[ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri]=Xe,fi=[er||\" \",Nr||\" \",Gn].join(\"\");if(fi===\" \"||fi===\" /\"||fi===\",,\"||fi===\",,,\"){let Si=[Ot,Sr,mn].join(\"\"),Gi=Si===\"%%%\"?100:Si===\"\"?255:0;if(Gi){let Ha=[Zt(+At/Gi,0,1),Zt(+cr/Gi,0,1),Zt(+rn/Gi,0,1),ei?gi(+ei,Ri):1];if(Ft(Ha))return Ha}}return}}let Ve=he.match(/^hsla?\\(\\s*([\\de.+-]+)(?:deg)?(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)%(?:\\s+|\\s*(,)\\s*)([\\de.+-]+)%(?:\\s*([,\\/])\\s*([\\de.+-]+)(%)?)?\\s*\\)$/);if(Ve){let[Xe,ct,At,Ot,er,cr,Sr,Nr,rn]=Ve,mn=[At||\" \",er||\" \",Sr].join(\"\");if(mn===\" \"||mn===\" /\"||mn===\",,\"||mn===\",,,\"){let Gn=[+ct,Zt(+Ot,0,100),Zt(+cr,0,100),Nr?gi(+Nr,rn):1];if(Ft(Gn))return function([ei,Ri,fi,Si]){function Gi(Ha){let Po=(Ha+ei/30)%12,xs=Ri*Math.min(fi,1-fi);return fi-xs*Math.max(-1,Math.min(Po-3,9-Po,1))}return ei=ur(ei),Ri/=100,fi/=100,[Gi(0),Gi(8),Gi(4),Si]}(Gn)}}}(D);return Y?new Vt(...Y,!1):void 0}get rgb(){let{r:D,g:Y,b:he,a:Ce}=this,Ve=Ce||1/0;return this.overwriteGetter(\"rgb\",[D/Ve,Y/Ve,he/Ve,Ce])}get hcl(){return this.overwriteGetter(\"hcl\",function(D){let[Y,he,Ce,Ve]=pn(D),Xe=Math.sqrt(he*he+Ce*Ce);return[Math.round(1e4*Xe)?ur(Math.atan2(Ce,he)*$t):NaN,Xe,Y,Ve]}(this.rgb))}get lab(){return this.overwriteGetter(\"lab\",pn(this.rgb))}overwriteGetter(D,Y){return Object.defineProperty(this,D,{value:Y}),Y}toString(){let[D,Y,he,Ce]=this.rgb;return`rgba(${[D,Y,he].map(Ve=>Math.round(255*Ve)).join(\",\")},${Ce})`}}Vt.black=new Vt(0,0,0,1),Vt.white=new Vt(1,1,1,1),Vt.transparent=new Vt(0,0,0,0),Vt.red=new Vt(1,0,0,1);class wr{constructor(D,Y,he){this.sensitivity=D?Y?\"variant\":\"case\":Y?\"accent\":\"base\",this.locale=he,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:\"search\"})}compare(D,Y){return this.collator.compare(D,Y)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class $r{constructor(D,Y,he,Ce,Ve){this.text=D,this.image=Y,this.scale=he,this.fontStack=Ce,this.textColor=Ve}}class xn{constructor(D){this.sections=D}static fromString(D){return new xn([new $r(D,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(D=>D.text.length!==0||D.image&&D.image.name.length!==0)}static factory(D){return D instanceof xn?D:xn.fromString(D)}toString(){return this.sections.length===0?\"\":this.sections.map(D=>D.text).join(\"\")}}class en{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof en)return D;if(typeof D==\"number\")return new en([D,D,D,D]);if(Array.isArray(D)&&!(D.length<1||D.length>4)){for(let Y of D)if(typeof Y!=\"number\")return;switch(D.length){case 1:D=[D[0],D[0],D[0],D[0]];break;case 2:D=[D[0],D[1],D[0],D[1]];break;case 3:D=[D[0],D[1],D[2],D[1]]}return new en(D)}}toString(){return JSON.stringify(this.values)}}let Fn=new Set([\"center\",\"left\",\"right\",\"top\",\"bottom\",\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"]);class Wn{constructor(D){this.values=D.slice()}static parse(D){if(D instanceof Wn)return D;if(Array.isArray(D)&&!(D.length<1)&&D.length%2==0){for(let Y=0;Y=0&&q<=255&&typeof D==\"number\"&&D>=0&&D<=255&&typeof Y==\"number\"&&Y>=0&&Y<=255?he===void 0||typeof he==\"number\"&&he>=0&&he<=1?null:`Invalid rgba value [${[q,D,Y,he].join(\", \")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof he==\"number\"?[q,D,Y,he]:[q,D,Y]).join(\", \")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ui(q){if(q===null||typeof q==\"string\"||typeof q==\"boolean\"||typeof q==\"number\"||q instanceof Vt||q instanceof wr||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri)return!0;if(Array.isArray(q)){for(let D of q)if(!ui(D))return!1;return!0}if(typeof q==\"object\"){for(let D in q)if(!ui(q[D]))return!1;return!0}return!1}function gt(q){if(q===null)return ot;if(typeof q==\"string\")return Lt;if(typeof q==\"boolean\")return Et;if(typeof q==\"number\")return et;if(q instanceof Vt)return Bt;if(q instanceof wr)return ar;if(q instanceof xn)return Rr;if(q instanceof en)return gr;if(q instanceof Wn)return _t;if(q instanceof ri)return br;if(Array.isArray(q)){let D=q.length,Y;for(let he of q){let Ce=gt(he);if(Y){if(Y===Ce)continue;Y=fr;break}Y=Ce}return Be(Y||fr,D)}return qt}function yt(q){let D=typeof q;return q===null?\"\":D===\"string\"||D===\"number\"||D===\"boolean\"?String(q):q instanceof Vt||q instanceof xn||q instanceof en||q instanceof Wn||q instanceof ri?q.toString():JSON.stringify(q)}class Pr{constructor(D,Y){this.type=D,this.value=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'literal' expression requires exactly one argument, but found ${D.length-1} instead.`);if(!ui(D[1]))return Y.error(\"invalid value\");let he=D[1],Ce=gt(he),Ve=Y.expectedType;return Ce.kind!==\"array\"||Ce.N!==0||!Ve||Ve.kind!==\"array\"||typeof Ve.N==\"number\"&&Ve.N!==0||(Ce=Ve),new Pr(Ce,he)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Ir{constructor(D){this.name=\"ExpressionEvaluationError\",this.message=D}toJSON(){return this.message}}let Tr={string:Lt,number:et,boolean:Et,object:qt};class Mr{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he,Ce=1,Ve=D[0];if(Ve===\"array\"){let ct,At;if(D.length>2){let Ot=D[1];if(typeof Ot!=\"string\"||!(Ot in Tr)||Ot===\"object\")return Y.error('The item type argument of \"array\" must be one of string, number, boolean',1);ct=Tr[Ot],Ce++}else ct=fr;if(D.length>3){if(D[2]!==null&&(typeof D[2]!=\"number\"||D[2]<0||D[2]!==Math.floor(D[2])))return Y.error('The length argument to \"array\" must be a positive integer literal',2);At=D[2],Ce++}he=Be(ct,At)}else{if(!Tr[Ve])throw new Error(`Types doesn't contain name = ${Ve}`);he=Tr[Ve]}let Xe=[];for(;CeD.outputDefined())}}let Lr={\"to-boolean\":Et,\"to-color\":Bt,\"to-number\":et,\"to-string\":Lt};class Ur{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he=D[0];if(!Lr[he])throw new Error(`Can't parse ${he} as it is not part of the known types`);if((he===\"to-boolean\"||he===\"to-string\")&&D.length!==2)return Y.error(\"Expected one argument.\");let Ce=Lr[he],Ve=[];for(let Xe=1;Xe4?`Invalid rbga value ${JSON.stringify(Y)}: expected an array containing either three or four numeric values.`:Sn(Y[0],Y[1],Y[2],Y[3]),!he))return new Vt(Y[0]/255,Y[1]/255,Y[2]/255,Y[3])}throw new Ir(he||`Could not parse color from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"padding\":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=en.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse padding from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"variableAnchorOffsetCollection\":{let Y;for(let he of this.args){Y=he.evaluate(D);let Ce=Wn.parse(Y);if(Ce)return Ce}throw new Ir(`Could not parse variableAnchorOffsetCollection from value '${typeof Y==\"string\"?Y:JSON.stringify(Y)}'`)}case\"number\":{let Y=null;for(let he of this.args){if(Y=he.evaluate(D),Y===null)return 0;let Ce=Number(Y);if(!isNaN(Ce))return Ce}throw new Ir(`Could not convert ${JSON.stringify(Y)} to number.`)}case\"formatted\":return xn.fromString(yt(this.args[0].evaluate(D)));case\"resolvedImage\":return ri.fromString(yt(this.args[0].evaluate(D)));default:return yt(this.args[0].evaluate(D))}}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}let Dr=[\"Unknown\",\"Point\",\"LineString\",\"Polygon\"];class nn{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&\"id\"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type==\"number\"?Dr[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&\"geometry\"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(D){let Y=this._parseColorCache[D];return Y||(Y=this._parseColorCache[D]=Vt.parse(D)),Y}}class vn{constructor(D,Y,he=[],Ce,Ve=new rt,Xe=[]){this.registry=D,this.path=he,this.key=he.map(ct=>`[${ct}]`).join(\"\"),this.scope=Ve,this.errors=Xe,this.expectedType=Ce,this._isConstant=Y}parse(D,Y,he,Ce,Ve={}){return Y?this.concat(Y,he,Ce)._parse(D,Ve):this._parse(D,Ve)}_parse(D,Y){function he(Ce,Ve,Xe){return Xe===\"assert\"?new Mr(Ve,[Ce]):Xe===\"coerce\"?new Ur(Ve,[Ce]):Ce}if(D!==null&&typeof D!=\"string\"&&typeof D!=\"boolean\"&&typeof D!=\"number\"||(D=[\"literal\",D]),Array.isArray(D)){if(D.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use [\"literal\", []].');let Ce=D[0];if(typeof Ce!=\"string\")return this.error(`Expression name must be a string, but found ${typeof Ce} instead. If you wanted a literal array, use [\"literal\", [...]].`,0),null;let Ve=this.registry[Ce];if(Ve){let Xe=Ve.parse(D,this);if(!Xe)return null;if(this.expectedType){let ct=this.expectedType,At=Xe.type;if(ct.kind!==\"string\"&&ct.kind!==\"number\"&&ct.kind!==\"boolean\"&&ct.kind!==\"object\"&&ct.kind!==\"array\"||At.kind!==\"value\")if(ct.kind!==\"color\"&&ct.kind!==\"formatted\"&&ct.kind!==\"resolvedImage\"||At.kind!==\"value\"&&At.kind!==\"string\")if(ct.kind!==\"padding\"||At.kind!==\"value\"&&At.kind!==\"number\"&&At.kind!==\"array\")if(ct.kind!==\"variableAnchorOffsetCollection\"||At.kind!==\"value\"&&At.kind!==\"array\"){if(this.checkSubtype(ct,At))return null}else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"coerce\");else Xe=he(Xe,ct,Y.typeAnnotation||\"assert\")}if(!(Xe instanceof Pr)&&Xe.type.kind!==\"resolvedImage\"&&this._isConstant(Xe)){let ct=new nn;try{Xe=new Pr(Xe.type,Xe.evaluate(ct))}catch(At){return this.error(At.message),null}}return Xe}return this.error(`Unknown expression \"${Ce}\". If you wanted a literal array, use [\"literal\", [...]].`,0)}return this.error(D===void 0?\"'undefined' value invalid. Use null instead.\":typeof D==\"object\"?'Bare objects invalid. Use [\"literal\", {...}] instead.':`Expected an array, but found ${typeof D} instead.`)}concat(D,Y,he){let Ce=typeof D==\"number\"?this.path.concat(D):this.path,Ve=he?this.scope.concat(he):this.scope;return new vn(this.registry,this._isConstant,Ce,Y||null,Ve,this.errors)}error(D,...Y){let he=`${this.key}${Y.map(Ce=>`[${Ce}]`).join(\"\")}`;this.errors.push(new Oe(he,D))}checkSubtype(D,Y){let he=Se(D,Y);return he&&this.error(he),he}}class gn{constructor(D,Y){this.type=Y.type,this.bindings=[].concat(D),this.result=Y}evaluate(D){return this.result.evaluate(D)}eachChild(D){for(let Y of this.bindings)D(Y[1]);D(this.result)}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found ${D.length-1} instead.`);let he=[];for(let Ve=1;Ve=he.length)throw new Ir(`Array index out of bounds: ${Y} > ${he.length-1}.`);if(Y!==Math.floor(Y))throw new Ir(`Array index must be an integer, but found ${Y} instead.`);return he[Y]}eachChild(D){D(this.index),D(this.input)}outputDefined(){return!1}}class yr{constructor(D,Y){this.type=Et,this.needle=D,this.haystack=Y}static parse(D,Y){if(D.length!==3)return Y.error(`Expected 2 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);return he&&Ce?He(he.type,[Et,Lt,et,ot,fr])?new yr(he,Ce):Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`):null}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!he)return!1;if(!Ee(Y,[\"boolean\",\"string\",\"number\",\"null\"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);if(!Ee(he,[\"string\",\"array\"]))throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`);return he.indexOf(Y)>=0}eachChild(D){D(this.needle),D(this.haystack)}outputDefined(){return!0}}class on{constructor(D,Y,he){this.type=et,this.needle=D,this.haystack=Y,this.fromIndex=he}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,fr);if(!he||!Ce)return null;if(!He(he.type,[Et,Lt,et,ot,fr]))return Y.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new on(he,Ce,Ve):null}return new on(he,Ce)}evaluate(D){let Y=this.needle.evaluate(D),he=this.haystack.evaluate(D);if(!Ee(Y,[\"boolean\",\"string\",\"number\",\"null\"]))throw new Ir(`Expected first argument to be of type boolean, string, number or null, but found ${Ke(gt(Y))} instead.`);let Ce;if(this.fromIndex&&(Ce=this.fromIndex.evaluate(D)),Ee(he,[\"string\"])){let Ve=he.indexOf(Y,Ce);return Ve===-1?-1:[...he.slice(0,Ve)].length}if(Ee(he,[\"array\"]))return he.indexOf(Y,Ce);throw new Ir(`Expected second argument to be of type array or string, but found ${Ke(gt(he))} instead.`)}eachChild(D){D(this.needle),D(this.haystack),this.fromIndex&&D(this.fromIndex)}outputDefined(){return!1}}class An{constructor(D,Y,he,Ce,Ve,Xe){this.inputType=D,this.type=Y,this.input=he,this.cases=Ce,this.outputs=Ve,this.otherwise=Xe}static parse(D,Y){if(D.length<5)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if(D.length%2!=1)return Y.error(\"Expected an even number of arguments.\");let he,Ce;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(Ce=Y.expectedType);let Ve={},Xe=[];for(let Ot=2;OtNumber.MAX_SAFE_INTEGER)return Sr.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof rn==\"number\"&&Math.floor(rn)!==rn)return Sr.error(\"Numeric branch labels must be integer values.\");if(he){if(Sr.checkSubtype(he,gt(rn)))return null}else he=gt(rn);if(Ve[String(rn)]!==void 0)return Sr.error(\"Branch labels must be unique.\");Ve[String(rn)]=Xe.length}let Nr=Y.parse(cr,Ot,Ce);if(!Nr)return null;Ce=Ce||Nr.type,Xe.push(Nr)}let ct=Y.parse(D[1],1,fr);if(!ct)return null;let At=Y.parse(D[D.length-1],D.length-1,Ce);return At?ct.type.kind!==\"value\"&&Y.concat(1).checkSubtype(he,ct.type)?null:new An(he,Ce,ct,Ve,Xe,At):null}evaluate(D){let Y=this.input.evaluate(D);return(gt(Y)===this.inputType&&this.outputs[this.cases[Y]]||this.otherwise).evaluate(D)}eachChild(D){D(this.input),this.outputs.forEach(D),D(this.otherwise)}outputDefined(){return this.outputs.every(D=>D.outputDefined())&&this.otherwise.outputDefined()}}class Zn{constructor(D,Y,he){this.type=D,this.branches=Y,this.otherwise=he}static parse(D,Y){if(D.length<4)return Y.error(`Expected at least 3 arguments, but found only ${D.length-1}.`);if(D.length%2!=0)return Y.error(\"Expected an odd number of arguments.\");let he;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(he=Y.expectedType);let Ce=[];for(let Xe=1;XeY.outputDefined())&&this.otherwise.outputDefined()}}class Bn{constructor(D,Y,he,Ce){this.type=D,this.input=Y,this.beginIndex=he,this.endIndex=Ce}static parse(D,Y){if(D.length<=2||D.length>=5)return Y.error(`Expected 3 or 4 arguments, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1,fr),Ce=Y.parse(D[2],2,et);if(!he||!Ce)return null;if(!He(he.type,[Be(fr),Lt,fr]))return Y.error(`Expected first argument to be of type array or string, but found ${Ke(he.type)} instead`);if(D.length===4){let Ve=Y.parse(D[3],3,et);return Ve?new Bn(he.type,he,Ce,Ve):null}return new Bn(he.type,he,Ce)}evaluate(D){let Y=this.input.evaluate(D),he=this.beginIndex.evaluate(D),Ce;if(this.endIndex&&(Ce=this.endIndex.evaluate(D)),Ee(Y,[\"string\"]))return[...Y].slice(he,Ce).join(\"\");if(Ee(Y,[\"array\"]))return Y.slice(he,Ce);throw new Ir(`Expected first argument to be of type array or string, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input),D(this.beginIndex),this.endIndex&&D(this.endIndex)}outputDefined(){return!1}}function wn(q,D){let Y=q.length-1,he,Ce,Ve=0,Xe=Y,ct=0;for(;Ve<=Xe;)if(ct=Math.floor((Ve+Xe)/2),he=q[ct],Ce=q[ct+1],he<=D){if(ct===Y||DD))throw new Ir(\"Input is not a number.\");Xe=ct-1}return 0}class Dn{constructor(D,Y,he){this.type=D,this.input=Y,this.labels=[],this.outputs=[];for(let[Ce,Ve]of he)this.labels.push(Ce),this.outputs.push(Ve)}static parse(D,Y){if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error(\"Expected an even number of arguments.\");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=[],Ve=null;Y.expectedType&&Y.expectedType.kind!==\"value\"&&(Ve=Y.expectedType);for(let Xe=1;Xe=ct)return Y.error('Input/output pairs for \"step\" expressions must be arranged with input values in strictly ascending order.',Ot);let cr=Y.parse(At,er,Ve);if(!cr)return null;Ve=Ve||cr.type,Ce.push([ct,cr])}return new Dn(Ve,he,Ce)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;return Ce>=Y[Ve-1]?he[Ve-1].evaluate(D):he[wn(Y,Ce)].evaluate(D)}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Ui(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,\"default\")?q.default:q}var pi=Ta;function Ta(q,D,Y,he){this.cx=3*q,this.bx=3*(Y-q)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*D,this.by=3*(he-D)-this.cy,this.ay=1-this.cy-this.by,this.p1x=q,this.p1y=D,this.p2x=Y,this.p2y=he}Ta.prototype={sampleCurveX:function(q){return((this.ax*q+this.bx)*q+this.cx)*q},sampleCurveY:function(q){return((this.ay*q+this.by)*q+this.cy)*q},sampleCurveDerivativeX:function(q){return(3*this.ax*q+2*this.bx)*q+this.cx},solveCurveX:function(q,D){if(D===void 0&&(D=1e-6),q<0)return 0;if(q>1)return 1;for(var Y=q,he=0;he<8;he++){var Ce=this.sampleCurveX(Y)-q;if(Math.abs(Ce)Ce?Xe=Y:ct=Y,Y=.5*(ct-Xe)+Xe;return Y},solve:function(q,D){return this.sampleCurveY(this.solveCurveX(q,D))}};var Sa=Ui(pi);function qa(q,D,Y){return q+Y*(D-q)}function to(q,D,Y){return q.map((he,Ce)=>qa(he,D[Ce],Y))}let yo={number:qa,color:function(q,D,Y,he=\"rgb\"){switch(he){case\"rgb\":{let[Ce,Ve,Xe,ct]=to(q.rgb,D.rgb,Y);return new Vt(Ce,Ve,Xe,ct,!1)}case\"hcl\":{let[Ce,Ve,Xe,ct]=q.hcl,[At,Ot,er,cr]=D.hcl,Sr,Nr;if(isNaN(Ce)||isNaN(At))isNaN(Ce)?isNaN(At)?Sr=NaN:(Sr=At,Xe!==1&&Xe!==0||(Nr=Ot)):(Sr=Ce,er!==1&&er!==0||(Nr=Ve));else{let Ri=At-Ce;At>Ce&&Ri>180?Ri-=360:At180&&(Ri+=360),Sr=Ce+Y*Ri}let[rn,mn,Gn,ei]=function([Ri,fi,Si,Gi]){return Ri=isNaN(Ri)?0:Ri*Xt,On([Si,Math.cos(Ri)*fi,Math.sin(Ri)*fi,Gi])}([Sr,Nr??qa(Ve,Ot,Y),qa(Xe,er,Y),qa(ct,cr,Y)]);return new Vt(rn,mn,Gn,ei,!1)}case\"lab\":{let[Ce,Ve,Xe,ct]=On(to(q.lab,D.lab,Y));return new Vt(Ce,Ve,Xe,ct,!1)}}},array:to,padding:function(q,D,Y){return new en(to(q.values,D.values,Y))},variableAnchorOffsetCollection:function(q,D,Y){let he=q.values,Ce=D.values;if(he.length!==Ce.length)throw new Ir(`Cannot interpolate values of different length. from: ${q.toString()}, to: ${D.toString()}`);let Ve=[];for(let Xe=0;Xetypeof er!=\"number\"||er<0||er>1))return Y.error(\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\",1);Ce={name:\"cubic-bezier\",controlPoints:Ot}}}if(D.length-1<4)return Y.error(`Expected at least 4 arguments, but found only ${D.length-1}.`);if((D.length-1)%2!=0)return Y.error(\"Expected an even number of arguments.\");if(Ve=Y.parse(Ve,2,et),!Ve)return null;let ct=[],At=null;he===\"interpolate-hcl\"||he===\"interpolate-lab\"?At=Bt:Y.expectedType&&Y.expectedType.kind!==\"value\"&&(At=Y.expectedType);for(let Ot=0;Ot=er)return Y.error('Input/output pairs for \"interpolate\" expressions must be arranged with input values in strictly ascending order.',Sr);let rn=Y.parse(cr,Nr,At);if(!rn)return null;At=At||rn.type,ct.push([er,rn])}return we(At,et)||we(At,Bt)||we(At,gr)||we(At,_t)||we(At,Be(et))?new Xa(At,he,Ce,Ve,ct):Y.error(`Type ${Ke(At)} is not interpolatable.`)}evaluate(D){let Y=this.labels,he=this.outputs;if(Y.length===1)return he[0].evaluate(D);let Ce=this.input.evaluate(D);if(Ce<=Y[0])return he[0].evaluate(D);let Ve=Y.length;if(Ce>=Y[Ve-1])return he[Ve-1].evaluate(D);let Xe=wn(Y,Ce),ct=Xa.interpolationFactor(this.interpolation,Ce,Y[Xe],Y[Xe+1]),At=he[Xe].evaluate(D),Ot=he[Xe+1].evaluate(D);switch(this.operator){case\"interpolate\":return yo[this.type.kind](At,Ot,ct);case\"interpolate-hcl\":return yo.color(At,Ot,ct,\"hcl\");case\"interpolate-lab\":return yo.color(At,Ot,ct,\"lab\")}}eachChild(D){D(this.input);for(let Y of this.outputs)D(Y)}outputDefined(){return this.outputs.every(D=>D.outputDefined())}}function Go(q,D,Y,he){let Ce=he-Y,Ve=q-Y;return Ce===0?0:D===1?Ve/Ce:(Math.pow(D,Ve)-1)/(Math.pow(D,Ce)-1)}class pa{constructor(D,Y){this.type=D,this.args=Y}static parse(D,Y){if(D.length<2)return Y.error(\"Expectected at least one argument.\");let he=null,Ce=Y.expectedType;Ce&&Ce.kind!==\"value\"&&(he=Ce);let Ve=[];for(let ct of D.slice(1)){let At=Y.parse(ct,1+Ve.length,he,void 0,{typeAnnotation:\"omit\"});if(!At)return null;he=he||At.type,Ve.push(At)}if(!he)throw new Error(\"No output type\");let Xe=Ce&&Ve.some(ct=>Se(Ce,ct.type));return new pa(Xe?fr:he,Ve)}evaluate(D){let Y,he=null,Ce=0;for(let Ve of this.args)if(Ce++,he=Ve.evaluate(D),he&&he instanceof ri&&!he.available&&(Y||(Y=he.name),he=null,Ce===this.args.length&&(he=Y)),he!==null)break;return he}eachChild(D){this.args.forEach(D)}outputDefined(){return this.args.every(D=>D.outputDefined())}}function cs(q,D){return q===\"==\"||q===\"!=\"?D.kind===\"boolean\"||D.kind===\"string\"||D.kind===\"number\"||D.kind===\"null\"||D.kind===\"value\":D.kind===\"string\"||D.kind===\"number\"||D.kind===\"value\"}function Ko(q,D,Y,he){return he.compare(D,Y)===0}function gs(q,D,Y){let he=q!==\"==\"&&q!==\"!=\";return class GS{constructor(Ve,Xe,ct){this.type=Et,this.lhs=Ve,this.rhs=Xe,this.collator=ct,this.hasUntypedArgument=Ve.type.kind===\"value\"||Xe.type.kind===\"value\"}static parse(Ve,Xe){if(Ve.length!==3&&Ve.length!==4)return Xe.error(\"Expected two or three arguments.\");let ct=Ve[0],At=Xe.parse(Ve[1],1,fr);if(!At)return null;if(!cs(ct,At.type))return Xe.concat(1).error(`\"${ct}\" comparisons are not supported for type '${Ke(At.type)}'.`);let Ot=Xe.parse(Ve[2],2,fr);if(!Ot)return null;if(!cs(ct,Ot.type))return Xe.concat(2).error(`\"${ct}\" comparisons are not supported for type '${Ke(Ot.type)}'.`);if(At.type.kind!==Ot.type.kind&&At.type.kind!==\"value\"&&Ot.type.kind!==\"value\")return Xe.error(`Cannot compare types '${Ke(At.type)}' and '${Ke(Ot.type)}'.`);he&&(At.type.kind===\"value\"&&Ot.type.kind!==\"value\"?At=new Mr(Ot.type,[At]):At.type.kind!==\"value\"&&Ot.type.kind===\"value\"&&(Ot=new Mr(At.type,[Ot])));let er=null;if(Ve.length===4){if(At.type.kind!==\"string\"&&Ot.type.kind!==\"string\"&&At.type.kind!==\"value\"&&Ot.type.kind!==\"value\")return Xe.error(\"Cannot use collator to compare non-string types.\");if(er=Xe.parse(Ve[3],3,ar),!er)return null}return new GS(At,Ot,er)}evaluate(Ve){let Xe=this.lhs.evaluate(Ve),ct=this.rhs.evaluate(Ve);if(he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==Ot.kind||At.kind!==\"string\"&&At.kind!==\"number\")throw new Ir(`Expected arguments for \"${q}\" to be (string, string) or (number, number), but found (${At.kind}, ${Ot.kind}) instead.`)}if(this.collator&&!he&&this.hasUntypedArgument){let At=gt(Xe),Ot=gt(ct);if(At.kind!==\"string\"||Ot.kind!==\"string\")return D(Ve,Xe,ct)}return this.collator?Y(Ve,Xe,ct,this.collator.evaluate(Ve)):D(Ve,Xe,ct)}eachChild(Ve){Ve(this.lhs),Ve(this.rhs),this.collator&&Ve(this.collator)}outputDefined(){return!0}}}let Ya=gs(\"==\",function(q,D,Y){return D===Y},Ko),zo=gs(\"!=\",function(q,D,Y){return D!==Y},function(q,D,Y,he){return!Ko(0,D,Y,he)}),Ka=gs(\"<\",function(q,D,Y){return D\",function(q,D,Y){return D>Y},function(q,D,Y,he){return he.compare(D,Y)>0}),ns=gs(\"<=\",function(q,D,Y){return D<=Y},function(q,D,Y,he){return he.compare(D,Y)<=0}),hs=gs(\">=\",function(q,D,Y){return D>=Y},function(q,D,Y,he){return he.compare(D,Y)>=0});class ho{constructor(D,Y,he){this.type=ar,this.locale=he,this.caseSensitive=D,this.diacriticSensitive=Y}static parse(D,Y){if(D.length!==2)return Y.error(\"Expected one argument.\");let he=D[1];if(typeof he!=\"object\"||Array.isArray(he))return Y.error(\"Collator options argument must be an object.\");let Ce=Y.parse(he[\"case-sensitive\"]!==void 0&&he[\"case-sensitive\"],1,Et);if(!Ce)return null;let Ve=Y.parse(he[\"diacritic-sensitive\"]!==void 0&&he[\"diacritic-sensitive\"],1,Et);if(!Ve)return null;let Xe=null;return he.locale&&(Xe=Y.parse(he.locale,1,Lt),!Xe)?null:new ho(Ce,Ve,Xe)}evaluate(D){return new wr(this.caseSensitive.evaluate(D),this.diacriticSensitive.evaluate(D),this.locale?this.locale.evaluate(D):null)}eachChild(D){D(this.caseSensitive),D(this.diacriticSensitive),this.locale&&D(this.locale)}outputDefined(){return!1}}class Ro{constructor(D,Y,he,Ce,Ve){this.type=Lt,this.number=D,this.locale=Y,this.currency=he,this.minFractionDigits=Ce,this.maxFractionDigits=Ve}static parse(D,Y){if(D.length!==3)return Y.error(\"Expected two arguments.\");let he=Y.parse(D[1],1,et);if(!he)return null;let Ce=D[2];if(typeof Ce!=\"object\"||Array.isArray(Ce))return Y.error(\"NumberFormat options argument must be an object.\");let Ve=null;if(Ce.locale&&(Ve=Y.parse(Ce.locale,1,Lt),!Ve))return null;let Xe=null;if(Ce.currency&&(Xe=Y.parse(Ce.currency,1,Lt),!Xe))return null;let ct=null;if(Ce[\"min-fraction-digits\"]&&(ct=Y.parse(Ce[\"min-fraction-digits\"],1,et),!ct))return null;let At=null;return Ce[\"max-fraction-digits\"]&&(At=Y.parse(Ce[\"max-fraction-digits\"],1,et),!At)?null:new Ro(he,Ve,Xe,ct,At)}evaluate(D){return new Intl.NumberFormat(this.locale?this.locale.evaluate(D):[],{style:this.currency?\"currency\":\"decimal\",currency:this.currency?this.currency.evaluate(D):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(D):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(D):void 0}).format(this.number.evaluate(D))}eachChild(D){D(this.number),this.locale&&D(this.locale),this.currency&&D(this.currency),this.minFractionDigits&&D(this.minFractionDigits),this.maxFractionDigits&&D(this.maxFractionDigits)}outputDefined(){return!1}}class Ls{constructor(D){this.type=Rr,this.sections=D}static parse(D,Y){if(D.length<2)return Y.error(\"Expected at least one argument.\");let he=D[1];if(!Array.isArray(he)&&typeof he==\"object\")return Y.error(\"First argument must be an image or text section.\");let Ce=[],Ve=!1;for(let Xe=1;Xe<=D.length-1;++Xe){let ct=D[Xe];if(Ve&&typeof ct==\"object\"&&!Array.isArray(ct)){Ve=!1;let At=null;if(ct[\"font-scale\"]&&(At=Y.parse(ct[\"font-scale\"],1,et),!At))return null;let Ot=null;if(ct[\"text-font\"]&&(Ot=Y.parse(ct[\"text-font\"],1,Be(Lt)),!Ot))return null;let er=null;if(ct[\"text-color\"]&&(er=Y.parse(ct[\"text-color\"],1,Bt),!er))return null;let cr=Ce[Ce.length-1];cr.scale=At,cr.font=Ot,cr.textColor=er}else{let At=Y.parse(D[Xe],1,fr);if(!At)return null;let Ot=At.type.kind;if(Ot!==\"string\"&&Ot!==\"value\"&&Ot!==\"null\"&&Ot!==\"resolvedImage\")return Y.error(\"Formatted text type must be 'string', 'value', 'image' or 'null'.\");Ve=!0,Ce.push({content:At,scale:null,font:null,textColor:null})}}return new Ls(Ce)}evaluate(D){return new xn(this.sections.map(Y=>{let he=Y.content.evaluate(D);return gt(he)===br?new $r(\"\",he,null,null,null):new $r(yt(he),null,Y.scale?Y.scale.evaluate(D):null,Y.font?Y.font.evaluate(D).join(\",\"):null,Y.textColor?Y.textColor.evaluate(D):null)}))}eachChild(D){for(let Y of this.sections)D(Y.content),Y.scale&&D(Y.scale),Y.font&&D(Y.font),Y.textColor&&D(Y.textColor)}outputDefined(){return!1}}class Vs{constructor(D){this.type=br,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(\"Expected two arguments.\");let he=Y.parse(D[1],1,Lt);return he?new Vs(he):Y.error(\"No image name provided.\")}evaluate(D){let Y=this.input.evaluate(D),he=ri.fromString(Y);return he&&D.availableImages&&(he.available=D.availableImages.indexOf(Y)>-1),he}eachChild(D){D(this.input)}outputDefined(){return!1}}class Ws{constructor(D){this.type=et,this.input=D}static parse(D,Y){if(D.length!==2)return Y.error(`Expected 1 argument, but found ${D.length-1} instead.`);let he=Y.parse(D[1],1);return he?he.type.kind!==\"array\"&&he.type.kind!==\"string\"&&he.type.kind!==\"value\"?Y.error(`Expected argument of type string or array, but found ${Ke(he.type)} instead.`):new Ws(he):null}evaluate(D){let Y=this.input.evaluate(D);if(typeof Y==\"string\")return[...Y].length;if(Array.isArray(Y))return Y.length;throw new Ir(`Expected value to be of type string or array, but found ${Ke(gt(Y))} instead.`)}eachChild(D){D(this.input)}outputDefined(){return!1}}let fs=8192;function Mi(q,D){let Y=(180+q[0])/360,he=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q[1]*Math.PI/360)))/360,Ce=Math.pow(2,D.z);return[Math.round(Y*Ce*fs),Math.round(he*Ce*fs)]}function Da(q,D){let Y=Math.pow(2,D.z);return[(Ce=(q[0]/fs+D.x)/Y,360*Ce-180),(he=(q[1]/fs+D.y)/Y,360/Math.PI*Math.atan(Math.exp((180-360*he)*Math.PI/180))-90)];var he,Ce}function pl(q,D){q[0]=Math.min(q[0],D[0]),q[1]=Math.min(q[1],D[1]),q[2]=Math.max(q[2],D[0]),q[3]=Math.max(q[3],D[1])}function Xs(q,D){return!(q[0]<=D[0]||q[2]>=D[2]||q[1]<=D[1]||q[3]>=D[3])}function Eo(q,D,Y){let he=q[0]-D[0],Ce=q[1]-D[1],Ve=q[0]-Y[0],Xe=q[1]-Y[1];return he*Xe-Ve*Ce==0&&he*Ve<=0&&Ce*Xe<=0}function Ys(q,D,Y,he){return(Ce=[he[0]-Y[0],he[1]-Y[1]])[0]*(Ve=[D[0]-q[0],D[1]-q[1]])[1]-Ce[1]*Ve[0]!=0&&!(!vo(q,D,Y,he)||!vo(Y,he,q,D));var Ce,Ve}function As(q,D,Y){for(let he of Y)for(let Ce=0;Ce(Ce=q)[1]!=(Xe=ct[At+1])[1]>Ce[1]&&Ce[0]<(Xe[0]-Ve[0])*(Ce[1]-Ve[1])/(Xe[1]-Ve[1])+Ve[0]&&(he=!he)}var Ce,Ve,Xe;return he}function wl(q,D){for(let Y of D)if(hl(q,Y))return!0;return!1}function la(q,D){for(let Y of q)if(!hl(Y,D))return!1;for(let Y=0;Y0&&ct<0||Xe<0&&ct>0}function Ps(q,D,Y){let he=[];for(let Ce=0;CeY[2]){let Ce=.5*he,Ve=q[0]-Y[0]>Ce?-he:Y[0]-q[0]>Ce?he:0;Ve===0&&(Ve=q[0]-Y[2]>Ce?-he:Y[2]-q[0]>Ce?he:0),q[0]+=Ve}pl(D,q)}function $l(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let ct of q)for(let At of ct){let Ot=[At.x+Ve[0],At.y+Ve[1]];no(Ot,D,Y,Ce),Xe.push(Ot)}return Xe}function Ku(q,D,Y,he){let Ce=Math.pow(2,he.z)*fs,Ve=[he.x*fs,he.y*fs],Xe=[];for(let At of q){let Ot=[];for(let er of At){let cr=[er.x+Ve[0],er.y+Ve[1]];pl(D,cr),Ot.push(cr)}Xe.push(Ot)}if(D[2]-D[0]<=Ce/2){(ct=D)[0]=ct[1]=1/0,ct[2]=ct[3]=-1/0;for(let At of Xe)for(let Ot of At)no(Ot,D,Y,Ce)}var ct;return Xe}class Tl{constructor(D,Y){this.type=Et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'within' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type===\"FeatureCollection\"){let Ce=[];for(let Ve of he.features){let{type:Xe,coordinates:ct}=Ve.geometry;Xe===\"Polygon\"&&Ce.push(ct),Xe===\"MultiPolygon\"&&Ce.push(...ct)}if(Ce.length)return new Tl(he,{type:\"MultiPolygon\",coordinates:Ce})}else if(he.type===\"Feature\"){let Ce=he.geometry.type;if(Ce===\"Polygon\"||Ce===\"MultiPolygon\")return new Tl(he,he.geometry)}else if(he.type===\"Polygon\"||he.type===\"MultiPolygon\")return new Tl(he,he)}return Y.error(\"'within' expression requires valid geojson object that contains polygon geometry type.\")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()===\"Point\")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type===\"Polygon\"){let ct=Ps(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!hl(Ot,ct))return!1}if(he.type===\"MultiPolygon\"){let ct=ls(he.coordinates,Ve,Xe),At=$l(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!wl(Ot,ct))return!1}return!0}(D,this.geometries);if(D.geometryType()===\"LineString\")return function(Y,he){let Ce=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],Xe=Y.canonicalID();if(he.type===\"Polygon\"){let ct=Ps(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!la(Ot,ct))return!1}if(he.type===\"MultiPolygon\"){let ct=ls(he.coordinates,Ve,Xe),At=Ku(Y.geometry(),Ce,Ve,Xe);if(!Xs(Ce,Ve))return!1;for(let Ot of At)if(!Uo(Ot,ct))return!1}return!0}(D,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let Vu=class{constructor(q=[],D=(Y,he)=>Yhe?1:0){if(this.data=q,this.length=this.data.length,this.compare=D,this.length>0)for(let Y=(this.length>>1)-1;Y>=0;Y--)this._down(Y)}push(q){this.data.push(q),this._up(this.length++)}pop(){if(this.length===0)return;let q=this.data[0],D=this.data.pop();return--this.length>0&&(this.data[0]=D,this._down(0)),q}peek(){return this.data[0]}_up(q){let{data:D,compare:Y}=this,he=D[q];for(;q>0;){let Ce=q-1>>1,Ve=D[Ce];if(Y(he,Ve)>=0)break;D[q]=Ve,q=Ce}D[q]=he}_down(q){let{data:D,compare:Y}=this,he=this.length>>1,Ce=D[q];for(;q=0)break;D[q]=D[Ve],q=Ve}D[q]=Ce}};function Rl(q,D,Y,he,Ce){Qs(q,D,Y,he||q.length-1,Ce||qu)}function Qs(q,D,Y,he,Ce){for(;he>Y;){if(he-Y>600){var Ve=he-Y+1,Xe=D-Y+1,ct=Math.log(Ve),At=.5*Math.exp(2*ct/3),Ot=.5*Math.sqrt(ct*At*(Ve-At)/Ve)*(Xe-Ve/2<0?-1:1);Qs(q,D,Math.max(Y,Math.floor(D-Xe*At/Ve+Ot)),Math.min(he,Math.floor(D+(Ve-Xe)*At/Ve+Ot)),Ce)}var er=q[D],cr=Y,Sr=he;for(nu(q,Y,D),Ce(q[he],er)>0&&nu(q,Y,he);cr0;)Sr--}Ce(q[Y],er)===0?nu(q,Y,Sr):nu(q,++Sr,he),Sr<=D&&(Y=Sr+1),D<=Sr&&(he=Sr-1)}}function nu(q,D,Y){var he=q[D];q[D]=q[Y],q[Y]=he}function qu(q,D){return qD?1:0}function kc(q,D){if(q.length<=1)return[q];let Y=[],he,Ce;for(let Ve of q){let Xe=sh(Ve);Xe!==0&&(Ve.area=Math.abs(Xe),Ce===void 0&&(Ce=Xe<0),Ce===Xe<0?(he&&Y.push(he),he=[Ve]):he.push(Ve))}if(he&&Y.push(he),D>1)for(let Ve=0;Ve1?(Ot=D[At+1][0],er=D[At+1][1]):Nr>0&&(Ot+=cr/this.kx*Nr,er+=Sr/this.ky*Nr)),cr=this.wrap(Y[0]-Ot)*this.kx,Sr=(Y[1]-er)*this.ky;let rn=cr*cr+Sr*Sr;rn180;)D-=360;return D}}function Ql(q,D){return D[0]-q[0]}function Al(q){return q[1]-q[0]+1}function oc(q,D){return q[1]>=q[0]&&q[1]q[1])return[null,null];let Y=Al(q);if(D){if(Y===2)return[q,null];let Ce=Math.floor(Y/2);return[[q[0],q[0]+Ce],[q[0]+Ce,q[1]]]}if(Y===1)return[q,null];let he=Math.floor(Y/2)-1;return[[q[0],q[0]+he],[q[0]+he+1,q[1]]]}function nl(q,D){if(!oc(D,q.length))return[1/0,1/0,-1/0,-1/0];let Y=[1/0,1/0,-1/0,-1/0];for(let he=D[0];he<=D[1];++he)pl(Y,q[he]);return Y}function Ml(q){let D=[1/0,1/0,-1/0,-1/0];for(let Y of q)for(let he of Y)pl(D,he);return D}function Zs(q){return q[0]!==-1/0&&q[1]!==-1/0&&q[2]!==1/0&&q[3]!==1/0}function sl(q,D,Y){if(!Zs(q)||!Zs(D))return NaN;let he=0,Ce=0;return q[2]D[2]&&(he=q[0]-D[2]),q[1]>D[3]&&(Ce=q[1]-D[3]),q[3]=he)return he;if(Xs(Ce,Ve)){if(Sh(q,D))return 0}else if(Sh(D,q))return 0;let Xe=1/0;for(let ct of q)for(let At=0,Ot=ct.length,er=Ot-1;At0;){let At=Xe.pop();if(At[0]>=Ve)continue;let Ot=At[1],er=D?50:100;if(Al(Ot)<=er){if(!oc(Ot,q.length))return NaN;if(D){let cr=ds(q,Ot,Y,he);if(isNaN(cr)||cr===0)return cr;Ve=Math.min(Ve,cr)}else for(let cr=Ot[0];cr<=Ot[1];++cr){let Sr=Nh(q[cr],Y,he);if(Ve=Math.min(Ve,Sr),Ve===0)return 0}}else{let cr=gc(Ot,D);Vo(Xe,Ve,he,q,ct,cr[0]),Vo(Xe,Ve,he,q,ct,cr[1])}}return Ve}function pu(q,D,Y,he,Ce,Ve=1/0){let Xe=Math.min(Ve,Ce.distance(q[0],Y[0]));if(Xe===0)return Xe;let ct=new Vu([[0,[0,q.length-1],[0,Y.length-1]]],Ql);for(;ct.length>0;){let At=ct.pop();if(At[0]>=Xe)continue;let Ot=At[1],er=At[2],cr=D?50:100,Sr=he?50:100;if(Al(Ot)<=cr&&Al(er)<=Sr){if(!oc(Ot,q.length)&&oc(er,Y.length))return NaN;let Nr;if(D&&he)Nr=$u(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr);else if(D&&!he){let rn=q.slice(Ot[0],Ot[1]+1);for(let mn=er[0];mn<=er[1];++mn)if(Nr=sc(Y[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else if(!D&&he){let rn=Y.slice(er[0],er[1]+1);for(let mn=Ot[0];mn<=Ot[1];++mn)if(Nr=sc(q[mn],rn,Ce),Xe=Math.min(Xe,Nr),Xe===0)return Xe}else Nr=ll(q,Ot,Y,er,Ce),Xe=Math.min(Xe,Nr)}else{let Nr=gc(Ot,D),rn=gc(er,he);rf(ct,Xe,Ce,q,Y,Nr[0],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[0],rn[1]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[0]),rf(ct,Xe,Ce,q,Y,Nr[1],rn[1])}}return Xe}function Df(q){return q.type===\"MultiPolygon\"?q.coordinates.map(D=>({type:\"Polygon\",coordinates:D})):q.type===\"MultiLineString\"?q.coordinates.map(D=>({type:\"LineString\",coordinates:D})):q.type===\"MultiPoint\"?q.coordinates.map(D=>({type:\"Point\",coordinates:D})):[q]}class Lc{constructor(D,Y){this.type=et,this.geojson=D,this.geometries=Y}static parse(D,Y){if(D.length!==2)return Y.error(`'distance' expression requires exactly one argument, but found ${D.length-1} instead.`);if(ui(D[1])){let he=D[1];if(he.type===\"FeatureCollection\")return new Lc(he,he.features.map(Ce=>Df(Ce.geometry)).flat());if(he.type===\"Feature\")return new Lc(he,Df(he.geometry));if(\"type\"in he&&\"coordinates\"in he)return new Lc(he,Df(he))}return Y.error(\"'distance' expression requires valid geojson object that contains polygon geometry type.\")}evaluate(D){if(D.geometry()!=null&&D.canonicalID()!=null){if(D.geometryType()===\"Point\")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case\"Point\":ct=Math.min(ct,pu(Ve,!1,[At.coordinates],!1,Xe,ct));break;case\"LineString\":ct=Math.min(ct,pu(Ve,!1,At.coordinates,!0,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Qu(Ve,!1,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()===\"LineString\")return function(Y,he){let Ce=Y.geometry(),Ve=Ce.flat().map(At=>Da([At.x,At.y],Y.canonical));if(Ce.length===0)return NaN;let Xe=new bf(Ve[0][1]),ct=1/0;for(let At of he){switch(At.type){case\"Point\":ct=Math.min(ct,pu(Ve,!0,[At.coordinates],!1,Xe,ct));break;case\"LineString\":ct=Math.min(ct,pu(Ve,!0,At.coordinates,!0,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Qu(Ve,!0,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries);if(D.geometryType()===\"Polygon\")return function(Y,he){let Ce=Y.geometry();if(Ce.length===0||Ce[0].length===0)return NaN;let Ve=kc(Ce,0).map(At=>At.map(Ot=>Ot.map(er=>Da([er.x,er.y],Y.canonical)))),Xe=new bf(Ve[0][0][0][1]),ct=1/0;for(let At of he)for(let Ot of Ve){switch(At.type){case\"Point\":ct=Math.min(ct,Qu([At.coordinates],!1,Ot,Xe,ct));break;case\"LineString\":ct=Math.min(ct,Qu(At.coordinates,!0,Ot,Xe,ct));break;case\"Polygon\":ct=Math.min(ct,Bs(Ot,At.coordinates,Xe,ct))}if(ct===0)return ct}return ct}(D,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}let nf={\"==\":Ya,\"!=\":zo,\">\":Yo,\"<\":Ka,\">=\":hs,\"<=\":ns,array:Mr,at:or,boolean:Mr,case:Zn,coalesce:pa,collator:ho,format:Ls,image:Vs,in:yr,\"index-of\":on,interpolate:Xa,\"interpolate-hcl\":Xa,\"interpolate-lab\":Xa,length:Ws,let:gn,literal:Pr,match:An,number:Mr,\"number-format\":Ro,object:Mr,slice:Bn,step:Dn,string:Mr,\"to-boolean\":Ur,\"to-color\":Ur,\"to-number\":Ur,\"to-string\":Ur,var:kt,within:Tl,distance:Lc};class Vl{constructor(D,Y,he,Ce){this.name=D,this.type=Y,this._evaluate=he,this.args=Ce}evaluate(D){return this._evaluate(D,this.args)}eachChild(D){this.args.forEach(D)}outputDefined(){return!1}static parse(D,Y){let he=D[0],Ce=Vl.definitions[he];if(!Ce)return Y.error(`Unknown expression \"${he}\". If you wanted a literal array, use [\"literal\", [...]].`,0);let Ve=Array.isArray(Ce)?Ce[0]:Ce.type,Xe=Array.isArray(Ce)?[[Ce[1],Ce[2]]]:Ce.overloads,ct=Xe.filter(([Ot])=>!Array.isArray(Ot)||Ot.length===D.length-1),At=null;for(let[Ot,er]of ct){At=new vn(Y.registry,Ff,Y.path,null,Y.scope);let cr=[],Sr=!1;for(let Nr=1;Nr{return Sr=cr,Array.isArray(Sr)?`(${Sr.map(Ke).join(\", \")})`:`(${Ke(Sr.type)}...)`;var Sr}).join(\" | \"),er=[];for(let cr=1;cr{Y=D?Y&&Ff(he):Y&&he instanceof Pr}),!!Y&&$f(q)&&Tf(q,[\"zoom\",\"heatmap-density\",\"line-progress\",\"accumulated\",\"is-supported-script\"])}function $f(q){if(q instanceof Vl&&(q.name===\"get\"&&q.args.length===1||q.name===\"feature-state\"||q.name===\"has\"&&q.args.length===1||q.name===\"properties\"||q.name===\"geometry-type\"||q.name===\"id\"||/^filter-/.test(q.name))||q instanceof Tl||q instanceof Lc)return!1;let D=!0;return q.eachChild(Y=>{D&&!$f(Y)&&(D=!1)}),D}function ec(q){if(q instanceof Vl&&q.name===\"feature-state\")return!1;let D=!0;return q.eachChild(Y=>{D&&!ec(Y)&&(D=!1)}),D}function Tf(q,D){if(q instanceof Vl&&D.indexOf(q.name)>=0)return!1;let Y=!0;return q.eachChild(he=>{Y&&!Tf(he,D)&&(Y=!1)}),Y}function Pc(q){return{result:\"success\",value:q}}function Wc(q){return{result:\"error\",value:q}}function Pu(q){return q[\"property-type\"]===\"data-driven\"||q[\"property-type\"]===\"cross-faded-data-driven\"}function cf(q){return!!q.expression&&q.expression.parameters.indexOf(\"zoom\")>-1}function Ic(q){return!!q.expression&&q.expression.interpolated}function Ks(q){return q instanceof Number?\"number\":q instanceof String?\"string\":q instanceof Boolean?\"boolean\":Array.isArray(q)?\"array\":q===null?\"null\":typeof q}function Of(q){return typeof q==\"object\"&&q!==null&&!Array.isArray(q)}function Eh(q){return q}function Qf(q,D){let Y=D.type===\"color\",he=q.stops&&typeof q.stops[0][0]==\"object\",Ce=he||!(he||q.property!==void 0),Ve=q.type||(Ic(D)?\"exponential\":\"interval\");if(Y||D.type===\"padding\"){let er=Y?Vt.parse:en.parse;(q=ue({},q)).stops&&(q.stops=q.stops.map(cr=>[cr[0],er(cr[1])])),q.default=er(q.default?q.default:D.default)}if(q.colorSpace&&(Xe=q.colorSpace)!==\"rgb\"&&Xe!==\"hcl\"&&Xe!==\"lab\")throw new Error(`Unknown color space: \"${q.colorSpace}\"`);var Xe;let ct,At,Ot;if(Ve===\"exponential\")ct=eh;else if(Ve===\"interval\")ct=Iu;else if(Ve===\"categorical\"){ct=lh,At=Object.create(null);for(let er of q.stops)At[er[0]]=er[1];Ot=typeof q.stops[0][0]}else{if(Ve!==\"identity\")throw new Error(`Unknown function type \"${Ve}\"`);ct=su}if(he){let er={},cr=[];for(let rn=0;rnrn[0]),evaluate:({zoom:rn},mn)=>eh({stops:Sr,base:q.base},D,rn).evaluate(rn,mn)}}if(Ce){let er=Ve===\"exponential\"?{name:\"exponential\",base:q.base!==void 0?q.base:1}:null;return{kind:\"camera\",interpolationType:er,interpolationFactor:Xa.interpolationFactor.bind(void 0,er),zoomStops:q.stops.map(cr=>cr[0]),evaluate:({zoom:cr})=>ct(q,D,cr,At,Ot)}}return{kind:\"source\",evaluate(er,cr){let Sr=cr&&cr.properties?cr.properties[q.property]:void 0;return Sr===void 0?af(q.default,D.default):ct(q,D,Sr,At,Ot)}}}function af(q,D,Y){return q!==void 0?q:D!==void 0?D:Y!==void 0?Y:void 0}function lh(q,D,Y,he,Ce){return af(typeof Y===Ce?he[Y]:void 0,q.default,D.default)}function Iu(q,D,Y){if(Ks(Y)!==\"number\")return af(q.default,D.default);let he=q.stops.length;if(he===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[he-1][0])return q.stops[he-1][1];let Ce=wn(q.stops.map(Ve=>Ve[0]),Y);return q.stops[Ce][1]}function eh(q,D,Y){let he=q.base!==void 0?q.base:1;if(Ks(Y)!==\"number\")return af(q.default,D.default);let Ce=q.stops.length;if(Ce===1||Y<=q.stops[0][0])return q.stops[0][1];if(Y>=q.stops[Ce-1][0])return q.stops[Ce-1][1];let Ve=wn(q.stops.map(er=>er[0]),Y),Xe=function(er,cr,Sr,Nr){let rn=Nr-Sr,mn=er-Sr;return rn===0?0:cr===1?mn/rn:(Math.pow(cr,mn)-1)/(Math.pow(cr,rn)-1)}(Y,he,q.stops[Ve][0],q.stops[Ve+1][0]),ct=q.stops[Ve][1],At=q.stops[Ve+1][1],Ot=yo[D.type]||Eh;return typeof ct.evaluate==\"function\"?{evaluate(...er){let cr=ct.evaluate.apply(void 0,er),Sr=At.evaluate.apply(void 0,er);if(cr!==void 0&&Sr!==void 0)return Ot(cr,Sr,Xe,q.colorSpace)}}:Ot(ct,At,Xe,q.colorSpace)}function su(q,D,Y){switch(D.type){case\"color\":Y=Vt.parse(Y);break;case\"formatted\":Y=xn.fromString(Y.toString());break;case\"resolvedImage\":Y=ri.fromString(Y.toString());break;case\"padding\":Y=en.parse(Y);break;default:Ks(Y)===D.type||D.type===\"enum\"&&D.values[Y]||(Y=void 0)}return af(Y,q.default,D.default)}Vl.register(nf,{error:[{kind:\"error\"},[Lt],(q,[D])=>{throw new Ir(D.evaluate(q))}],typeof:[Lt,[fr],(q,[D])=>Ke(gt(D.evaluate(q)))],\"to-rgba\":[Be(et,4),[Bt],(q,[D])=>{let[Y,he,Ce,Ve]=D.evaluate(q).rgb;return[255*Y,255*he,255*Ce,Ve]}],rgb:[Bt,[et,et,et],Jf],rgba:[Bt,[et,et,et,et],Jf],has:{type:Et,overloads:[[[Lt],(q,[D])=>zf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>zf(D.evaluate(q),Y.evaluate(q))]]},get:{type:fr,overloads:[[[Lt],(q,[D])=>wf(D.evaluate(q),q.properties())],[[Lt,qt],(q,[D,Y])=>wf(D.evaluate(q),Y.evaluate(q))]]},\"feature-state\":[fr,[Lt],(q,[D])=>wf(D.evaluate(q),q.featureState||{})],properties:[qt,[],q=>q.properties()],\"geometry-type\":[Lt,[],q=>q.geometryType()],id:[fr,[],q=>q.id()],zoom:[et,[],q=>q.globals.zoom],\"heatmap-density\":[et,[],q=>q.globals.heatmapDensity||0],\"line-progress\":[et,[],q=>q.globals.lineProgress||0],accumulated:[fr,[],q=>q.globals.accumulated===void 0?null:q.globals.accumulated],\"+\":[et,Gc(et),(q,D)=>{let Y=0;for(let he of D)Y+=he.evaluate(q);return Y}],\"*\":[et,Gc(et),(q,D)=>{let Y=1;for(let he of D)Y*=he.evaluate(q);return Y}],\"-\":{type:et,overloads:[[[et,et],(q,[D,Y])=>D.evaluate(q)-Y.evaluate(q)],[[et],(q,[D])=>-D.evaluate(q)]]},\"/\":[et,[et,et],(q,[D,Y])=>D.evaluate(q)/Y.evaluate(q)],\"%\":[et,[et,et],(q,[D,Y])=>D.evaluate(q)%Y.evaluate(q)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],\"^\":[et,[et,et],(q,[D,Y])=>Math.pow(D.evaluate(q),Y.evaluate(q))],sqrt:[et,[et],(q,[D])=>Math.sqrt(D.evaluate(q))],log10:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN10],ln:[et,[et],(q,[D])=>Math.log(D.evaluate(q))],log2:[et,[et],(q,[D])=>Math.log(D.evaluate(q))/Math.LN2],sin:[et,[et],(q,[D])=>Math.sin(D.evaluate(q))],cos:[et,[et],(q,[D])=>Math.cos(D.evaluate(q))],tan:[et,[et],(q,[D])=>Math.tan(D.evaluate(q))],asin:[et,[et],(q,[D])=>Math.asin(D.evaluate(q))],acos:[et,[et],(q,[D])=>Math.acos(D.evaluate(q))],atan:[et,[et],(q,[D])=>Math.atan(D.evaluate(q))],min:[et,Gc(et),(q,D)=>Math.min(...D.map(Y=>Y.evaluate(q)))],max:[et,Gc(et),(q,D)=>Math.max(...D.map(Y=>Y.evaluate(q)))],abs:[et,[et],(q,[D])=>Math.abs(D.evaluate(q))],round:[et,[et],(q,[D])=>{let Y=D.evaluate(q);return Y<0?-Math.round(-Y):Math.round(Y)}],floor:[et,[et],(q,[D])=>Math.floor(D.evaluate(q))],ceil:[et,[et],(q,[D])=>Math.ceil(D.evaluate(q))],\"filter-==\":[Et,[Lt,fr],(q,[D,Y])=>q.properties()[D.value]===Y.value],\"filter-id-==\":[Et,[fr],(q,[D])=>q.id()===D.value],\"filter-type-==\":[Et,[Lt],(q,[D])=>q.geometryType()===D.value],\"filter-<\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>Ce}],\"filter-id->\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>he}],\"filter-<=\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he<=Ce}],\"filter-id-<=\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y<=he}],\"filter->=\":[Et,[Lt,fr],(q,[D,Y])=>{let he=q.properties()[D.value],Ce=Y.value;return typeof he==typeof Ce&&he>=Ce}],\"filter-id->=\":[Et,[fr],(q,[D])=>{let Y=q.id(),he=D.value;return typeof Y==typeof he&&Y>=he}],\"filter-has\":[Et,[fr],(q,[D])=>D.value in q.properties()],\"filter-has-id\":[Et,[],q=>q.id()!==null&&q.id()!==void 0],\"filter-type-in\":[Et,[Be(Lt)],(q,[D])=>D.value.indexOf(q.geometryType())>=0],\"filter-id-in\":[Et,[Be(fr)],(q,[D])=>D.value.indexOf(q.id())>=0],\"filter-in-small\":[Et,[Lt,Be(fr)],(q,[D,Y])=>Y.value.indexOf(q.properties()[D.value])>=0],\"filter-in-large\":[Et,[Lt,Be(fr)],(q,[D,Y])=>function(he,Ce,Ve,Xe){for(;Ve<=Xe;){let ct=Ve+Xe>>1;if(Ce[ct]===he)return!0;Ce[ct]>he?Xe=ct-1:Ve=ct+1}return!1}(q.properties()[D.value],Y.value,0,Y.value.length-1)],all:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)&&Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(!Y.evaluate(q))return!1;return!0}]]},any:{type:Et,overloads:[[[Et,Et],(q,[D,Y])=>D.evaluate(q)||Y.evaluate(q)],[Gc(Et),(q,D)=>{for(let Y of D)if(Y.evaluate(q))return!0;return!1}]]},\"!\":[Et,[Et],(q,[D])=>!D.evaluate(q)],\"is-supported-script\":[Et,[Lt],(q,[D])=>{let Y=q.globals&&q.globals.isSupportedScript;return!Y||Y(D.evaluate(q))}],upcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toUpperCase()],downcase:[Lt,[Lt],(q,[D])=>D.evaluate(q).toLowerCase()],concat:[Lt,Gc(fr),(q,D)=>D.map(Y=>yt(Y.evaluate(q))).join(\"\")],\"resolved-locale\":[Lt,[ar],(q,[D])=>D.evaluate(q).resolvedLocale()]});class Ru{constructor(D,Y){var he;this.expression=D,this._warningHistory={},this._evaluator=new nn,this._defaultValue=Y?(he=Y).type===\"color\"&&Of(he.default)?new Vt(0,0,0,0):he.type===\"color\"?Vt.parse(he.default)||null:he.type===\"padding\"?en.parse(he.default)||null:he.type===\"variableAnchorOffsetCollection\"?Wn.parse(he.default)||null:he.default===void 0?null:he.default:null,this._enumValues=Y&&Y.type===\"enum\"?Y.values:null}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._evaluator.globals=D,this._evaluator.feature=Y,this._evaluator.featureState=he,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe,this.expression.evaluate(this._evaluator)}evaluate(D,Y,he,Ce,Ve,Xe){this._evaluator.globals=D,this._evaluator.feature=Y||null,this._evaluator.featureState=he||null,this._evaluator.canonical=Ce,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=Xe||null;try{let ct=this.expression.evaluate(this._evaluator);if(ct==null||typeof ct==\"number\"&&ct!=ct)return this._defaultValue;if(this._enumValues&&!(ct in this._enumValues))throw new Ir(`Expected value to be one of ${Object.keys(this._enumValues).map(At=>JSON.stringify(At)).join(\", \")}, but found ${JSON.stringify(ct)} instead.`);return ct}catch(ct){return this._warningHistory[ct.message]||(this._warningHistory[ct.message]=!0,typeof console<\"u\"&&console.warn(ct.message)),this._defaultValue}}}function yc(q){return Array.isArray(q)&&q.length>0&&typeof q[0]==\"string\"&&q[0]in nf}function Dl(q,D){let Y=new vn(nf,Ff,[],D?function(Ce){let Ve={color:Bt,string:Lt,number:et,enum:Lt,boolean:Et,formatted:Rr,padding:gr,resolvedImage:br,variableAnchorOffsetCollection:_t};return Ce.type===\"array\"?Be(Ve[Ce.value]||fr,Ce.length):Ve[Ce.type]}(D):void 0),he=Y.parse(q,void 0,void 0,void 0,D&&D.type===\"string\"?{typeAnnotation:\"coerce\"}:void 0);return he?Pc(new Ru(he,D)):Wc(Y.errors)}class Rc{constructor(D,Y){this.kind=D,this._styleExpression=Y,this.isStateDependent=D!==\"constant\"&&!ec(Y.expression)}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}}class tc{constructor(D,Y,he,Ce){this.kind=D,this.zoomStops=he,this._styleExpression=Y,this.isStateDependent=D!==\"camera\"&&!ec(Y.expression),this.interpolationType=Ce}evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluateWithoutErrorHandling(D,Y,he,Ce,Ve,Xe)}evaluate(D,Y,he,Ce,Ve,Xe){return this._styleExpression.evaluate(D,Y,he,Ce,Ve,Xe)}interpolationFactor(D,Y,he){return this.interpolationType?Xa.interpolationFactor(this.interpolationType,D,Y,he):0}}function xu(q,D){let Y=Dl(q,D);if(Y.result===\"error\")return Y;let he=Y.value.expression,Ce=$f(he);if(!Ce&&!Pu(D))return Wc([new Oe(\"\",\"data expressions not supported\")]);let Ve=Tf(he,[\"zoom\"]);if(!Ve&&!cf(D))return Wc([new Oe(\"\",\"zoom expressions not supported\")]);let Xe=th(he);return Xe||Ve?Xe instanceof Oe?Wc([Xe]):Xe instanceof Xa&&!Ic(D)?Wc([new Oe(\"\",'\"interpolate\" expressions cannot be used with this property')]):Pc(Xe?new tc(Ce?\"camera\":\"composite\",Y.value,Xe.labels,Xe instanceof Xa?Xe.interpolation:void 0):new Rc(Ce?\"constant\":\"source\",Y.value)):Wc([new Oe(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.')])}class Sl{constructor(D,Y){this._parameters=D,this._specification=Y,ue(this,Qf(this._parameters,this._specification))}static deserialize(D){return new Sl(D._parameters,D._specification)}static serialize(D){return{_parameters:D._parameters,_specification:D._specification}}}function th(q){let D=null;if(q instanceof gn)D=th(q.result);else if(q instanceof pa){for(let Y of q.args)if(D=th(Y),D)break}else(q instanceof Dn||q instanceof Xa)&&q.input instanceof Vl&&q.input.name===\"zoom\"&&(D=q);return D instanceof Oe||q.eachChild(Y=>{let he=th(Y);he instanceof Oe?D=he:!D&&he?D=new Oe(\"\",'\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression.'):D&&he&&D!==he&&(D=new Oe(\"\",'Only one zoom-based \"step\" or \"interpolate\" subexpression may be used in an expression.'))}),D}function uh(q){if(q===!0||q===!1)return!0;if(!Array.isArray(q)||q.length===0)return!1;switch(q[0]){case\"has\":return q.length>=2&&q[1]!==\"$id\"&&q[1]!==\"$type\";case\"in\":return q.length>=3&&(typeof q[1]!=\"string\"||Array.isArray(q[2]));case\"!in\":case\"!has\":case\"none\":return!1;case\"==\":case\"!=\":case\">\":case\">=\":case\"<\":case\"<=\":return q.length!==3||Array.isArray(q[1])||Array.isArray(q[2]);case\"any\":case\"all\":for(let D of q.slice(1))if(!uh(D)&&typeof D!=\"boolean\")return!1;return!0;default:return!0}}let Hu={type:\"boolean\",default:!1,transition:!1,\"property-type\":\"data-driven\",expression:{interpolated:!1,parameters:[\"zoom\",\"feature\"]}};function _c(q){if(q==null)return{filter:()=>!0,needGeometry:!1};uh(q)||(q=of(q));let D=Dl(q,Hu);if(D.result===\"error\")throw new Error(D.value.map(Y=>`${Y.key}: ${Y.message}`).join(\", \"));return{filter:(Y,he,Ce)=>D.value.evaluate(Y,he,{},Ce),needGeometry:Uh(q)}}function lc(q,D){return qD?1:0}function Uh(q){if(!Array.isArray(q))return!1;if(q[0]===\"within\"||q[0]===\"distance\")return!0;for(let D=1;D\"||D===\"<=\"||D===\">=\"?ff(q[1],q[2],D):D===\"any\"?(Y=q.slice(1),[\"any\"].concat(Y.map(of))):D===\"all\"?[\"all\"].concat(q.slice(1).map(of)):D===\"none\"?[\"all\"].concat(q.slice(1).map(of).map(lu)):D===\"in\"?Du(q[1],q.slice(2)):D===\"!in\"?lu(Du(q[1],q.slice(2))):D===\"has\"?Af(q[1]):D!==\"!has\"||lu(Af(q[1]));var Y}function ff(q,D,Y){switch(q){case\"$type\":return[`filter-type-${Y}`,D];case\"$id\":return[`filter-id-${Y}`,D];default:return[`filter-${Y}`,q,D]}}function Du(q,D){if(D.length===0)return!1;switch(q){case\"$type\":return[\"filter-type-in\",[\"literal\",D]];case\"$id\":return[\"filter-id-in\",[\"literal\",D]];default:return D.length>200&&!D.some(Y=>typeof Y!=typeof D[0])?[\"filter-in-large\",q,[\"literal\",D.sort(lc)]]:[\"filter-in-small\",q,[\"literal\",D]]}}function Af(q){switch(q){case\"$type\":return!0;case\"$id\":return[\"filter-has-id\"];default:return[\"filter-has\",q]}}function lu(q){return[\"!\",q]}function Xc(q){let D=typeof q;if(D===\"number\"||D===\"boolean\"||D===\"string\"||q==null)return JSON.stringify(q);if(Array.isArray(q)){let Ce=\"[\";for(let Ve of q)Ce+=`${Xc(Ve)},`;return`${Ce}]`}let Y=Object.keys(q).sort(),he=\"{\";for(let Ce=0;Cehe.maximum?[new pe(D,Y,`${Y} is greater than the maximum value ${he.maximum}`)]:[]}function sf(q){let D=q.valueSpec,Y=dl(q.value.type),he,Ce,Ve,Xe={},ct=Y!==\"categorical\"&&q.value.property===void 0,At=!ct,Ot=Ks(q.value.stops)===\"array\"&&Ks(q.value.stops[0])===\"array\"&&Ks(q.value.stops[0][0])===\"object\",er=wu({key:q.key,value:q.value,valueSpec:q.styleSpec.function,validateSpec:q.validateSpec,style:q.style,styleSpec:q.styleSpec,objectElementValidators:{stops:function(Nr){if(Y===\"identity\")return[new pe(Nr.key,Nr.value,'identity function may not have a \"stops\" property')];let rn=[],mn=Nr.value;return rn=rn.concat(Bf({key:Nr.key,value:mn,valueSpec:Nr.valueSpec,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,arrayElementValidator:cr})),Ks(mn)===\"array\"&&mn.length===0&&rn.push(new pe(Nr.key,mn,\"array must have at least one stop\")),rn},default:function(Nr){return Nr.validateSpec({key:Nr.key,value:Nr.value,valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec})}}});return Y===\"identity\"&&ct&&er.push(new pe(q.key,q.value,'missing required property \"property\"')),Y===\"identity\"||q.value.stops||er.push(new pe(q.key,q.value,'missing required property \"stops\"')),Y===\"exponential\"&&q.valueSpec.expression&&!Ic(q.valueSpec)&&er.push(new pe(q.key,q.value,\"exponential functions not supported\")),q.styleSpec.$version>=8&&(At&&!Pu(q.valueSpec)?er.push(new pe(q.key,q.value,\"property functions not supported\")):ct&&!cf(q.valueSpec)&&er.push(new pe(q.key,q.value,\"zoom functions not supported\"))),Y!==\"categorical\"&&!Ot||q.value.property!==void 0||er.push(new pe(q.key,q.value,'\"property\" property is required')),er;function cr(Nr){let rn=[],mn=Nr.value,Gn=Nr.key;if(Ks(mn)!==\"array\")return[new pe(Gn,mn,`array expected, ${Ks(mn)} found`)];if(mn.length!==2)return[new pe(Gn,mn,`array length 2 expected, length ${mn.length} found`)];if(Ot){if(Ks(mn[0])!==\"object\")return[new pe(Gn,mn,`object expected, ${Ks(mn[0])} found`)];if(mn[0].zoom===void 0)return[new pe(Gn,mn,\"object stop key must have zoom\")];if(mn[0].value===void 0)return[new pe(Gn,mn,\"object stop key must have value\")];if(Ve&&Ve>dl(mn[0].zoom))return[new pe(Gn,mn[0].zoom,\"stop zoom values must appear in ascending order\")];dl(mn[0].zoom)!==Ve&&(Ve=dl(mn[0].zoom),Ce=void 0,Xe={}),rn=rn.concat(wu({key:`${Gn}[0]`,value:mn[0],valueSpec:{zoom:{}},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec,objectElementValidators:{zoom:ul,value:Sr}}))}else rn=rn.concat(Sr({key:`${Gn}[0]`,value:mn[0],valueSpec:{},validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec},mn));return yc(bu(mn[1]))?rn.concat([new pe(`${Gn}[1]`,mn[1],\"expressions are not allowed in function stops.\")]):rn.concat(Nr.validateSpec({key:`${Gn}[1]`,value:mn[1],valueSpec:D,validateSpec:Nr.validateSpec,style:Nr.style,styleSpec:Nr.styleSpec}))}function Sr(Nr,rn){let mn=Ks(Nr.value),Gn=dl(Nr.value),ei=Nr.value!==null?Nr.value:rn;if(he){if(mn!==he)return[new pe(Nr.key,ei,`${mn} stop domain type must match previous stop domain type ${he}`)]}else he=mn;if(mn!==\"number\"&&mn!==\"string\"&&mn!==\"boolean\")return[new pe(Nr.key,ei,\"stop domain value must be a number, string, or boolean\")];if(mn!==\"number\"&&Y!==\"categorical\"){let Ri=`number expected, ${mn} found`;return Pu(D)&&Y===void 0&&(Ri+='\\nIf you intended to use a categorical function, specify `\"type\": \"categorical\"`.'),[new pe(Nr.key,ei,Ri)]}return Y!==\"categorical\"||mn!==\"number\"||isFinite(Gn)&&Math.floor(Gn)===Gn?Y!==\"categorical\"&&mn===\"number\"&&Ce!==void 0&&Gnnew pe(`${q.key}${he.key}`,q.value,he.message));let Y=D.value.expression||D.value._styleExpression.expression;if(q.expressionContext===\"property\"&&q.propertyKey===\"text-font\"&&!Y.outputDefined())return[new pe(q.key,q.value,`Invalid data expression for \"${q.propertyKey}\". Output values must be contained as literals within the expression.`)];if(q.expressionContext===\"property\"&&q.propertyType===\"layout\"&&!ec(Y))return[new pe(q.key,q.value,'\"feature-state\" data expressions are not supported with layout properties.')];if(q.expressionContext===\"filter\"&&!ec(Y))return[new pe(q.key,q.value,'\"feature-state\" data expressions are not supported with filters.')];if(q.expressionContext&&q.expressionContext.indexOf(\"cluster\")===0){if(!Tf(Y,[\"zoom\",\"feature-state\"]))return[new pe(q.key,q.value,'\"zoom\" and \"feature-state\" expressions are not supported with cluster properties.')];if(q.expressionContext===\"cluster-initial\"&&!$f(Y))return[new pe(q.key,q.value,\"Feature data expressions are not supported with initial expression part of cluster properties.\")]}return[]}function Gu(q){let D=q.key,Y=q.value,he=q.valueSpec,Ce=[];return Array.isArray(he.values)?he.values.indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${he.values.join(\", \")}], ${JSON.stringify(Y)} found`)):Object.keys(he.values).indexOf(dl(Y))===-1&&Ce.push(new pe(D,Y,`expected one of [${Object.keys(he.values).join(\", \")}], ${JSON.stringify(Y)} found`)),Ce}function hf(q){return uh(bu(q.value))?xc(ue({},q,{expressionContext:\"filter\",valueSpec:{value:\"boolean\"}})):uc(q)}function uc(q){let D=q.value,Y=q.key;if(Ks(D)!==\"array\")return[new pe(Y,D,`array expected, ${Ks(D)} found`)];let he=q.styleSpec,Ce,Ve=[];if(D.length<1)return[new pe(Y,D,\"filter array must have at least 1 element\")];switch(Ve=Ve.concat(Gu({key:`${Y}[0]`,value:D[0],valueSpec:he.filter_operator,style:q.style,styleSpec:q.styleSpec})),dl(D[0])){case\"<\":case\"<=\":case\">\":case\">=\":D.length>=2&&dl(D[1])===\"$type\"&&Ve.push(new pe(Y,D,`\"$type\" cannot be use with operator \"${D[0]}\"`));case\"==\":case\"!=\":D.length!==3&&Ve.push(new pe(Y,D,`filter array for operator \"${D[0]}\" must have 3 elements`));case\"in\":case\"!in\":D.length>=2&&(Ce=Ks(D[1]),Ce!==\"string\"&&Ve.push(new pe(`${Y}[1]`,D[1],`string expected, ${Ce} found`)));for(let Xe=2;Xe{Ot in Y&&D.push(new pe(he,Y[Ot],`\"${Ot}\" is prohibited for ref layers`))}),Ce.layers.forEach(Ot=>{dl(Ot.id)===ct&&(At=Ot)}),At?At.ref?D.push(new pe(he,Y.ref,\"ref cannot reference another ref layer\")):Xe=dl(At.type):D.push(new pe(he,Y.ref,`ref layer \"${ct}\" not found`))}else if(Xe!==\"background\")if(Y.source){let At=Ce.sources&&Ce.sources[Y.source],Ot=At&&dl(At.type);At?Ot===\"vector\"&&Xe===\"raster\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a raster source`)):Ot!==\"raster-dem\"&&Xe===\"hillshade\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a raster-dem source`)):Ot===\"raster\"&&Xe!==\"raster\"?D.push(new pe(he,Y.source,`layer \"${Y.id}\" requires a vector source`)):Ot!==\"vector\"||Y[\"source-layer\"]?Ot===\"raster-dem\"&&Xe!==\"hillshade\"?D.push(new pe(he,Y.source,\"raster-dem source can only be used with layer type 'hillshade'.\")):Xe!==\"line\"||!Y.paint||!Y.paint[\"line-gradient\"]||Ot===\"geojson\"&&At.lineMetrics||D.push(new pe(he,Y,`layer \"${Y.id}\" specifies a line-gradient, which requires a GeoJSON source with \\`lineMetrics\\` enabled.`)):D.push(new pe(he,Y,`layer \"${Y.id}\" must specify a \"source-layer\"`)):D.push(new pe(he,Y.source,`source \"${Y.source}\" not found`))}else D.push(new pe(he,Y,'missing required property \"source\"'));return D=D.concat(wu({key:he,value:Y,valueSpec:Ve.layer,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,objectElementValidators:{\"*\":()=>[],type:()=>q.validateSpec({key:`${he}.type`,value:Y.type,valueSpec:Ve.layer.type,style:q.style,styleSpec:q.styleSpec,validateSpec:q.validateSpec,object:Y,objectKey:\"type\"}),filter:hf,layout:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{\"*\":Ot=>Xl(ue({layerType:Xe},Ot))}}),paint:At=>wu({layer:Y,key:At.key,value:At.value,style:At.style,styleSpec:At.styleSpec,validateSpec:At.validateSpec,objectElementValidators:{\"*\":Ot=>Nf(ue({layerType:Xe},Ot))}})}})),D}function Wu(q){let D=q.value,Y=q.key,he=Ks(D);return he!==\"string\"?[new pe(Y,D,`string expected, ${he} found`)]:[]}let bc={promoteId:function({key:q,value:D}){if(Ks(D)===\"string\")return Wu({key:q,value:D});{let Y=[];for(let he in D)Y.push(...Wu({key:`${q}.${he}`,value:D[he]}));return Y}}};function cc(q){let D=q.value,Y=q.key,he=q.styleSpec,Ce=q.style,Ve=q.validateSpec;if(!D.type)return[new pe(Y,D,'\"type\" is required')];let Xe=dl(D.type),ct;switch(Xe){case\"vector\":case\"raster\":return ct=wu({key:Y,value:D,valueSpec:he[`source_${Xe.replace(\"-\",\"_\")}`],style:q.style,styleSpec:he,objectElementValidators:bc,validateSpec:Ve}),ct;case\"raster-dem\":return ct=function(At){var Ot;let er=(Ot=At.sourceName)!==null&&Ot!==void 0?Ot:\"\",cr=At.value,Sr=At.styleSpec,Nr=Sr.source_raster_dem,rn=At.style,mn=[],Gn=Ks(cr);if(cr===void 0)return mn;if(Gn!==\"object\")return mn.push(new pe(\"source_raster_dem\",cr,`object expected, ${Gn} found`)),mn;let ei=dl(cr.encoding)===\"custom\",Ri=[\"redFactor\",\"greenFactor\",\"blueFactor\",\"baseShift\"],fi=At.value.encoding?`\"${At.value.encoding}\"`:\"Default\";for(let Si in cr)!ei&&Ri.includes(Si)?mn.push(new pe(Si,cr[Si],`In \"${er}\": \"${Si}\" is only valid when \"encoding\" is set to \"custom\". ${fi} encoding found`)):Nr[Si]?mn=mn.concat(At.validateSpec({key:Si,value:cr[Si],valueSpec:Nr[Si],validateSpec:At.validateSpec,style:rn,styleSpec:Sr})):mn.push(new pe(Si,cr[Si],`unknown property \"${Si}\"`));return mn}({sourceName:Y,value:D,style:q.style,styleSpec:he,validateSpec:Ve}),ct;case\"geojson\":if(ct=wu({key:Y,value:D,valueSpec:he.source_geojson,style:Ce,styleSpec:he,validateSpec:Ve,objectElementValidators:bc}),D.cluster)for(let At in D.clusterProperties){let[Ot,er]=D.clusterProperties[At],cr=typeof Ot==\"string\"?[Ot,[\"accumulated\"],[\"get\",At]]:Ot;ct.push(...xc({key:`${Y}.${At}.map`,value:er,validateSpec:Ve,expressionContext:\"cluster-map\"})),ct.push(...xc({key:`${Y}.${At}.reduce`,value:cr,validateSpec:Ve,expressionContext:\"cluster-reduce\"}))}return ct;case\"video\":return wu({key:Y,value:D,valueSpec:he.source_video,style:Ce,validateSpec:Ve,styleSpec:he});case\"image\":return wu({key:Y,value:D,valueSpec:he.source_image,style:Ce,validateSpec:Ve,styleSpec:he});case\"canvas\":return[new pe(Y,null,\"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.\",\"source.canvas\")];default:return Gu({key:`${Y}.type`,value:D.type,valueSpec:{values:[\"vector\",\"raster\",\"raster-dem\",\"geojson\",\"video\",\"image\"]},style:Ce,validateSpec:Ve,styleSpec:he})}}function zl(q){let D=q.value,Y=q.styleSpec,he=Y.light,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!==\"object\")return Ve=Ve.concat([new pe(\"light\",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D){let At=ct.match(/^(.*)-transition$/);Ve=Ve.concat(At&&he[At[1]]&&he[At[1]].transition?q.validateSpec({key:ct,value:D[ct],valueSpec:Y.transition,validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)])}return Ve}function uu(q){let D=q.value,Y=q.styleSpec,he=Y.sky,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!==\"object\")return[new pe(\"sky\",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Xe}function fc(q){let D=q.value,Y=q.styleSpec,he=Y.terrain,Ce=q.style,Ve=[],Xe=Ks(D);if(D===void 0)return Ve;if(Xe!==\"object\")return Ve=Ve.concat([new pe(\"terrain\",D,`object expected, ${Xe} found`)]),Ve;for(let ct in D)Ve=Ve.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],validateSpec:q.validateSpec,style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Ve}function Dc(q){let D=[],Y=q.value,he=q.key;if(Array.isArray(Y)){let Ce=[],Ve=[];for(let Xe in Y)Y[Xe].id&&Ce.includes(Y[Xe].id)&&D.push(new pe(he,Y,`all the sprites' ids must be unique, but ${Y[Xe].id} is duplicated`)),Ce.push(Y[Xe].id),Y[Xe].url&&Ve.includes(Y[Xe].url)&&D.push(new pe(he,Y,`all the sprites' URLs must be unique, but ${Y[Xe].url} is duplicated`)),Ve.push(Y[Xe].url),D=D.concat(wu({key:`${he}[${Xe}]`,value:Y[Xe],valueSpec:{id:{type:\"string\",required:!0},url:{type:\"string\",required:!0}},validateSpec:q.validateSpec}));return D}return Wu({key:he,value:Y})}let rc={\"*\":()=>[],array:Bf,boolean:function(q){let D=q.value,Y=q.key,he=Ks(D);return he!==\"boolean\"?[new pe(Y,D,`boolean expected, ${he} found`)]:[]},number:ul,color:function(q){let D=q.key,Y=q.value,he=Ks(Y);return he!==\"string\"?[new pe(D,Y,`color expected, ${he} found`)]:Vt.parse(String(Y))?[]:[new pe(D,Y,`color expected, \"${Y}\" found`)]},constants:Mf,enum:Gu,filter:hf,function:sf,layer:Uf,object:wu,source:cc,light:zl,sky:uu,terrain:fc,projection:function(q){let D=q.value,Y=q.styleSpec,he=Y.projection,Ce=q.style,Ve=Ks(D);if(D===void 0)return[];if(Ve!==\"object\")return[new pe(\"projection\",D,`object expected, ${Ve} found`)];let Xe=[];for(let ct in D)Xe=Xe.concat(he[ct]?q.validateSpec({key:ct,value:D[ct],valueSpec:he[ct],style:Ce,styleSpec:Y}):[new pe(ct,D[ct],`unknown property \"${ct}\"`)]);return Xe},string:Wu,formatted:function(q){return Wu(q).length===0?[]:xc(q)},resolvedImage:function(q){return Wu(q).length===0?[]:xc(q)},padding:function(q){let D=q.key,Y=q.value;if(Ks(Y)===\"array\"){if(Y.length<1||Y.length>4)return[new pe(D,Y,`padding requires 1 to 4 values; ${Y.length} values found`)];let he={type:\"number\"},Ce=[];for(let Ve=0;Ve[]}})),q.constants&&(Y=Y.concat(Mf({key:\"constants\",value:q.constants,style:q,styleSpec:D,validateSpec:Yc}))),Wr(Y)}function tn(q){return function(D){return q(Jr(an({},D),{validateSpec:Yc}))}}function Wr(q){return[].concat(q).sort((D,Y)=>D.line-Y.line)}function Cn(q){return function(...D){return Wr(q.apply(this,D))}}dr.source=Cn(tn(cc)),dr.sprite=Cn(tn(Dc)),dr.glyphs=Cn(tn(Yt)),dr.light=Cn(tn(zl)),dr.sky=Cn(tn(uu)),dr.terrain=Cn(tn(fc)),dr.layer=Cn(tn(Uf)),dr.filter=Cn(tn(hf)),dr.paintProperty=Cn(tn(Nf)),dr.layoutProperty=Cn(tn(Xl));let si=dr,yi=si.light,Di=si.sky,Wi=si.paintProperty,aa=si.layoutProperty;function bi(q,D){let Y=!1;if(D&&D.length)for(let he of D)q.fire(new j(new Error(he.message))),Y=!0;return Y}class zi{constructor(D,Y,he){let Ce=this.cells=[];if(D instanceof ArrayBuffer){this.arrayBuffer=D;let Xe=new Int32Array(this.arrayBuffer);D=Xe[0],this.d=(Y=Xe[1])+2*(he=Xe[2]);for(let At=0;At=cr[rn+0]&&Ce>=cr[rn+1])?(ct[Nr]=!0,Xe.push(er[Nr])):ct[Nr]=!1}}}}_forEachCell(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=this._convertToCellCoord(D),er=this._convertToCellCoord(Y),cr=this._convertToCellCoord(he),Sr=this._convertToCellCoord(Ce);for(let Nr=Ot;Nr<=cr;Nr++)for(let rn=er;rn<=Sr;rn++){let mn=this.d*rn+Nr;if((!At||At(this._convertFromCellCoord(Nr),this._convertFromCellCoord(rn),this._convertFromCellCoord(Nr+1),this._convertFromCellCoord(rn+1)))&&Ve.call(this,D,Y,he,Ce,mn,Xe,ct,At))return}}_convertFromCellCoord(D){return(D-this.padding)/this.scale}_convertToCellCoord(D){return Math.max(0,Math.min(this.d-1,Math.floor(D*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;let D=this.cells,Y=3+this.cells.length+1+1,he=0;for(let Xe=0;Xe=0)continue;let Xe=q[Ve];Ce[Ve]=Li[Y].shallow.indexOf(Ve)>=0?Xe:mo(Xe,D)}q instanceof Error&&(Ce.message=q.message)}if(Ce.$name)throw new Error(\"$name property is reserved for worker serialization logic.\");return Y!==\"Object\"&&(Ce.$name=Y),Ce}function Ao(q){if(co(q))return q;if(Array.isArray(q))return q.map(Ao);if(typeof q!=\"object\")throw new Error(\"can't deserialize object of type \"+typeof q);let D=po(q)||\"Object\";if(!Li[D])throw new Error(`can't deserialize unregistered class ${D}`);let{klass:Y}=Li[D];if(!Y)throw new Error(`can't deserialize unregistered class ${D}`);if(Y.deserialize)return Y.deserialize(q);let he=Object.create(Y.prototype);for(let Ce of Object.keys(q)){if(Ce===\"$name\")continue;let Ve=q[Ce];he[Ce]=Li[D].shallow.indexOf(Ce)>=0?Ve:Ao(Ve)}return he}class xa{constructor(){this.first=!0}update(D,Y){let he=Math.floor(D);return this.first?(this.first=!1,this.lastIntegerZoom=he,this.lastIntegerZoomTime=0,this.lastZoom=D,this.lastFloorZoom=he,!0):(this.lastFloorZoom>he?(this.lastIntegerZoom=he+1,this.lastIntegerZoomTime=Y):this.lastFloorZoomq>=128&&q<=255,\"Hangul Jamo\":q=>q>=4352&&q<=4607,Khmer:q=>q>=6016&&q<=6143,\"General Punctuation\":q=>q>=8192&&q<=8303,\"Letterlike Symbols\":q=>q>=8448&&q<=8527,\"Number Forms\":q=>q>=8528&&q<=8591,\"Miscellaneous Technical\":q=>q>=8960&&q<=9215,\"Control Pictures\":q=>q>=9216&&q<=9279,\"Optical Character Recognition\":q=>q>=9280&&q<=9311,\"Enclosed Alphanumerics\":q=>q>=9312&&q<=9471,\"Geometric Shapes\":q=>q>=9632&&q<=9727,\"Miscellaneous Symbols\":q=>q>=9728&&q<=9983,\"Miscellaneous Symbols and Arrows\":q=>q>=11008&&q<=11263,\"Ideographic Description Characters\":q=>q>=12272&&q<=12287,\"CJK Symbols and Punctuation\":q=>q>=12288&&q<=12351,Katakana:q=>q>=12448&&q<=12543,Kanbun:q=>q>=12688&&q<=12703,\"CJK Strokes\":q=>q>=12736&&q<=12783,\"Enclosed CJK Letters and Months\":q=>q>=12800&&q<=13055,\"CJK Compatibility\":q=>q>=13056&&q<=13311,\"Yijing Hexagram Symbols\":q=>q>=19904&&q<=19967,\"Private Use Area\":q=>q>=57344&&q<=63743,\"Vertical Forms\":q=>q>=65040&&q<=65055,\"CJK Compatibility Forms\":q=>q>=65072&&q<=65103,\"Small Form Variants\":q=>q>=65104&&q<=65135,\"Halfwidth and Fullwidth Forms\":q=>q>=65280&&q<=65519};function Lo(q){for(let D of q)if(Es(D.charCodeAt(0)))return!0;return!1}function as(q){for(let D of q)if(!Ns(D.charCodeAt(0)))return!1;return!0}function Ds(q){let D=q.map(Y=>{try{return new RegExp(`\\\\p{sc=${Y}}`,\"u\").source}catch{return null}}).filter(Y=>Y);return new RegExp(D.join(\"|\"),\"u\")}let il=Ds([\"Arab\",\"Dupl\",\"Mong\",\"Ougr\",\"Syrc\"]);function Ns(q){return!il.test(String.fromCodePoint(q))}let el=Ds([\"Bopo\",\"Hani\",\"Hira\",\"Kana\",\"Kits\",\"Nshu\",\"Tang\",\"Yiii\"]);function Es(q){return!(q!==746&&q!==747&&(q<4352||!(Qi[\"CJK Compatibility Forms\"](q)&&!(q>=65097&&q<=65103)||Qi[\"CJK Compatibility\"](q)||Qi[\"CJK Strokes\"](q)||!(!Qi[\"CJK Symbols and Punctuation\"](q)||q>=12296&&q<=12305||q>=12308&&q<=12319||q===12336)||Qi[\"Enclosed CJK Letters and Months\"](q)||Qi[\"Ideographic Description Characters\"](q)||Qi.Kanbun(q)||Qi.Katakana(q)&&q!==12540||!(!Qi[\"Halfwidth and Fullwidth Forms\"](q)||q===65288||q===65289||q===65293||q>=65306&&q<=65310||q===65339||q===65341||q===65343||q>=65371&&q<=65503||q===65507||q>=65512&&q<=65519)||!(!Qi[\"Small Form Variants\"](q)||q>=65112&&q<=65118||q>=65123&&q<=65126)||Qi[\"Vertical Forms\"](q)||Qi[\"Yijing Hexagram Symbols\"](q)||new RegExp(\"\\\\p{sc=Cans}\",\"u\").test(String.fromCodePoint(q))||new RegExp(\"\\\\p{sc=Hang}\",\"u\").test(String.fromCodePoint(q))||el.test(String.fromCodePoint(q)))))}function Bl(q){return!(Es(q)||function(D){return!!(Qi[\"Latin-1 Supplement\"](D)&&(D===167||D===169||D===174||D===177||D===188||D===189||D===190||D===215||D===247)||Qi[\"General Punctuation\"](D)&&(D===8214||D===8224||D===8225||D===8240||D===8241||D===8251||D===8252||D===8258||D===8263||D===8264||D===8265||D===8273)||Qi[\"Letterlike Symbols\"](D)||Qi[\"Number Forms\"](D)||Qi[\"Miscellaneous Technical\"](D)&&(D>=8960&&D<=8967||D>=8972&&D<=8991||D>=8996&&D<=9e3||D===9003||D>=9085&&D<=9114||D>=9150&&D<=9165||D===9167||D>=9169&&D<=9179||D>=9186&&D<=9215)||Qi[\"Control Pictures\"](D)&&D!==9251||Qi[\"Optical Character Recognition\"](D)||Qi[\"Enclosed Alphanumerics\"](D)||Qi[\"Geometric Shapes\"](D)||Qi[\"Miscellaneous Symbols\"](D)&&!(D>=9754&&D<=9759)||Qi[\"Miscellaneous Symbols and Arrows\"](D)&&(D>=11026&&D<=11055||D>=11088&&D<=11097||D>=11192&&D<=11243)||Qi[\"CJK Symbols and Punctuation\"](D)||Qi.Katakana(D)||Qi[\"Private Use Area\"](D)||Qi[\"CJK Compatibility Forms\"](D)||Qi[\"Small Form Variants\"](D)||Qi[\"Halfwidth and Fullwidth Forms\"](D)||D===8734||D===8756||D===8757||D>=9984&&D<=10087||D>=10102&&D<=10131||D===65532||D===65533)}(q))}let _l=Ds([\"Adlm\",\"Arab\",\"Armi\",\"Avst\",\"Chrs\",\"Cprt\",\"Egyp\",\"Elym\",\"Gara\",\"Hatr\",\"Hebr\",\"Hung\",\"Khar\",\"Lydi\",\"Mand\",\"Mani\",\"Mend\",\"Merc\",\"Mero\",\"Narb\",\"Nbat\",\"Nkoo\",\"Orkh\",\"Palm\",\"Phli\",\"Phlp\",\"Phnx\",\"Prti\",\"Rohg\",\"Samr\",\"Sarb\",\"Sogo\",\"Syrc\",\"Thaa\",\"Todr\",\"Yezi\"]);function cl(q){return _l.test(String.fromCodePoint(q))}function Za(q,D){return!(!D&&cl(q)||q>=2304&&q<=3583||q>=3840&&q<=4255||Qi.Khmer(q))}function jo(q){for(let D of q)if(cl(D.charCodeAt(0)))return!0;return!1}let Js=new class{constructor(){this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus=\"unavailable\",this.pluginURL=null}setState(q){this.pluginStatus=q.pluginStatus,this.pluginURL=q.pluginURL}getState(){return{pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(q){this.applyArabicShaping=q.applyArabicShaping,this.processBidirectionalText=q.processBidirectionalText,this.processStyledBidirectionalText=q.processStyledBidirectionalText}isParsed(){return this.applyArabicShaping!=null&&this.processBidirectionalText!=null&&this.processStyledBidirectionalText!=null}getPluginURL(){return this.pluginURL}getRTLTextPluginStatus(){return this.pluginStatus}};class zs{constructor(D,Y){this.zoom=D,Y?(this.now=Y.now,this.fadeDuration=Y.fadeDuration,this.zoomHistory=Y.zoomHistory,this.transition=Y.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new xa,this.transition={})}isSupportedScript(D){return function(Y,he){for(let Ce of Y)if(!Za(Ce.charCodeAt(0),he))return!1;return!0}(D,Js.getRTLTextPluginStatus()===\"loaded\")}crossFadingFactor(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){let D=this.zoom,Y=D-Math.floor(D),he=this.crossFadingFactor();return D>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:Y+(1-Y)*he}:{fromScale:.5,toScale:1,t:1-(1-he)*Y}}}class cu{constructor(D,Y){this.property=D,this.value=Y,this.expression=function(he,Ce){if(Of(he))return new Sl(he,Ce);if(yc(he)){let Ve=xu(he,Ce);if(Ve.result===\"error\")throw new Error(Ve.value.map(Xe=>`${Xe.key}: ${Xe.message}`).join(\", \"));return Ve.value}{let Ve=he;return Ce.type===\"color\"&&typeof he==\"string\"?Ve=Vt.parse(he):Ce.type!==\"padding\"||typeof he!=\"number\"&&!Array.isArray(he)?Ce.type===\"variableAnchorOffsetCollection\"&&Array.isArray(he)&&(Ve=Wn.parse(he)):Ve=en.parse(he),{kind:\"constant\",evaluate:()=>Ve}}}(Y===void 0?D.specification.default:Y,D.specification)}isDataDriven(){return this.expression.kind===\"source\"||this.expression.kind===\"composite\"}possiblyEvaluate(D,Y,he){return this.property.possiblyEvaluate(this,D,Y,he)}}class zu{constructor(D){this.property=D,this.value=new cu(D,void 0)}transitioned(D,Y){return new Kc(this.property,this.value,Y,E({},D.transition,this.transition),D.now)}untransitioned(){return new Kc(this.property,this.value,null,{},0)}}class nc{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitionablePropertyValues)}getValue(D){return u(this._values[D].value.value)}setValue(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].value=new cu(this._values[D].property,Y===null?void 0:u(Y))}getTransition(D){return u(this._values[D].transition)}setTransition(D,Y){Object.prototype.hasOwnProperty.call(this._values,D)||(this._values[D]=new zu(this._values[D].property)),this._values[D].transition=u(Y)||void 0}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he);let Ce=this.getTransition(Y);Ce!==void 0&&(D[`${Y}-transition`]=Ce)}return D}transitioned(D,Y){let he=new Tu(this._properties);for(let Ce of Object.keys(this._values))he._values[Ce]=this._values[Ce].transitioned(D,Y._values[Ce]);return he}untransitioned(){let D=new Tu(this._properties);for(let Y of Object.keys(this._values))D._values[Y]=this._values[Y].untransitioned();return D}}class Kc{constructor(D,Y,he,Ce,Ve){this.property=D,this.value=Y,this.begin=Ve+Ce.delay||0,this.end=this.begin+Ce.duration||0,D.specification.transition&&(Ce.delay||Ce.duration)&&(this.prior=he)}possiblyEvaluate(D,Y,he){let Ce=D.now||0,Ve=this.value.possiblyEvaluate(D,Y,he),Xe=this.prior;if(Xe){if(Ce>this.end)return this.prior=null,Ve;if(this.value.isDataDriven())return this.prior=null,Ve;if(Ce=1)return 1;let Ot=At*At,er=Ot*At;return 4*(At<.5?er:3*(At-Ot)+er-.75)}(ct))}}return Ve}}class Tu{constructor(D){this._properties=D,this._values=Object.create(D.defaultTransitioningPropertyValues)}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}hasTransition(){for(let D of Object.keys(this._values))if(this._values[D].prior)return!0;return!1}}class zc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPropertyValues)}hasValue(D){return this._values[D].value!==void 0}getValue(D){return u(this._values[D].value)}setValue(D,Y){this._values[D]=new cu(this._values[D].property,Y===null?void 0:u(Y))}serialize(){let D={};for(let Y of Object.keys(this._values)){let he=this.getValue(Y);he!==void 0&&(D[Y]=he)}return D}possiblyEvaluate(D,Y,he){let Ce=new wc(this._properties);for(let Ve of Object.keys(this._values))Ce._values[Ve]=this._values[Ve].possiblyEvaluate(D,Y,he);return Ce}}class Fu{constructor(D,Y,he){this.property=D,this.value=Y,this.parameters=he}isConstant(){return this.value.kind===\"constant\"}constantOr(D){return this.value.kind===\"constant\"?this.value.value:D}evaluate(D,Y,he,Ce){return this.property.evaluate(this.value,this.parameters,D,Y,he,Ce)}}class wc{constructor(D){this._properties=D,this._values=Object.create(D.defaultPossiblyEvaluatedValues)}get(D){return this._values[D]}}class bo{constructor(D){this.specification=D}possiblyEvaluate(D,Y){if(D.isDataDriven())throw new Error(\"Value should not be data driven\");return D.expression.evaluate(Y)}interpolate(D,Y,he){let Ce=yo[this.specification.type];return Ce?Ce(D,Y,he):D}}class Wo{constructor(D,Y){this.specification=D,this.overrides=Y}possiblyEvaluate(D,Y,he,Ce){return new Fu(this,D.expression.kind===\"constant\"||D.expression.kind===\"camera\"?{kind:\"constant\",value:D.expression.evaluate(Y,null,{},he,Ce)}:D.expression,Y)}interpolate(D,Y,he){if(D.value.kind!==\"constant\"||Y.value.kind!==\"constant\")return D;if(D.value.value===void 0||Y.value.value===void 0)return new Fu(this,{kind:\"constant\",value:void 0},D.parameters);let Ce=yo[this.specification.type];if(Ce){let Ve=Ce(D.value.value,Y.value.value,he);return new Fu(this,{kind:\"constant\",value:Ve},D.parameters)}return D}evaluate(D,Y,he,Ce,Ve,Xe){return D.kind===\"constant\"?D.value:D.evaluate(Y,he,Ce,Ve,Xe)}}class Fc extends Wo{possiblyEvaluate(D,Y,he,Ce){if(D.value===void 0)return new Fu(this,{kind:\"constant\",value:void 0},Y);if(D.expression.kind===\"constant\"){let Ve=D.expression.evaluate(Y,null,{},he,Ce),Xe=D.property.specification.type===\"resolvedImage\"&&typeof Ve!=\"string\"?Ve.name:Ve,ct=this._calculate(Xe,Xe,Xe,Y);return new Fu(this,{kind:\"constant\",value:ct},Y)}if(D.expression.kind===\"camera\"){let Ve=this._calculate(D.expression.evaluate({zoom:Y.zoom-1}),D.expression.evaluate({zoom:Y.zoom}),D.expression.evaluate({zoom:Y.zoom+1}),Y);return new Fu(this,{kind:\"constant\",value:Ve},Y)}return new Fu(this,D.expression,Y)}evaluate(D,Y,he,Ce,Ve,Xe){if(D.kind===\"source\"){let ct=D.evaluate(Y,he,Ce,Ve,Xe);return this._calculate(ct,ct,ct,Y)}return D.kind===\"composite\"?this._calculate(D.evaluate({zoom:Math.floor(Y.zoom)-1},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)},he,Ce),D.evaluate({zoom:Math.floor(Y.zoom)+1},he,Ce),Y):D.value}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class hc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){if(D.value!==void 0){if(D.expression.kind===\"constant\"){let Ve=D.expression.evaluate(Y,null,{},he,Ce);return this._calculate(Ve,Ve,Ve,Y)}return this._calculate(D.expression.evaluate(new zs(Math.floor(Y.zoom-1),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom),Y)),D.expression.evaluate(new zs(Math.floor(Y.zoom+1),Y)),Y)}}_calculate(D,Y,he,Ce){return Ce.zoom>Ce.zoomHistory.lastIntegerZoom?{from:D,to:Y}:{from:he,to:Y}}interpolate(D){return D}}class dc{constructor(D){this.specification=D}possiblyEvaluate(D,Y,he,Ce){return!!D.expression.evaluate(Y,null,{},he,Ce)}interpolate(){return!1}}class Ne{constructor(D){this.properties=D,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(let Y in D){let he=D[Y];he.specification.overridable&&this.overridableProperties.push(Y);let Ce=this.defaultPropertyValues[Y]=new cu(he,void 0),Ve=this.defaultTransitionablePropertyValues[Y]=new zu(he);this.defaultTransitioningPropertyValues[Y]=Ve.untransitioned(),this.defaultPossiblyEvaluatedValues[Y]=Ce.possiblyEvaluate({})}}}di(\"DataDrivenProperty\",Wo),di(\"DataConstantProperty\",bo),di(\"CrossFadedDataDrivenProperty\",Fc),di(\"CrossFadedProperty\",hc),di(\"ColorRampProperty\",dc);let R=\"-transition\";class ne extends ee{constructor(D,Y){if(super(),this.id=D.id,this.type=D.type,this._featureFilter={filter:()=>!0,needGeometry:!1},D.type!==\"custom\"&&(this.metadata=D.metadata,this.minzoom=D.minzoom,this.maxzoom=D.maxzoom,D.type!==\"background\"&&(this.source=D.source,this.sourceLayer=D[\"source-layer\"],this.filter=D.filter),Y.layout&&(this._unevaluatedLayout=new zc(Y.layout)),Y.paint)){this._transitionablePaint=new nc(Y.paint);for(let he in D.paint)this.setPaintProperty(he,D.paint[he],{validate:!1});for(let he in D.layout)this.setLayoutProperty(he,D.layout[he],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new wc(Y.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(D){return D===\"visibility\"?this.visibility:this._unevaluatedLayout.getValue(D)}setLayoutProperty(D,Y,he={}){Y!=null&&this._validate(aa,`layers.${this.id}.layout.${D}`,D,Y,he)||(D!==\"visibility\"?this._unevaluatedLayout.setValue(D,Y):this.visibility=Y)}getPaintProperty(D){return D.endsWith(R)?this._transitionablePaint.getTransition(D.slice(0,-11)):this._transitionablePaint.getValue(D)}setPaintProperty(D,Y,he={}){if(Y!=null&&this._validate(Wi,`layers.${this.id}.paint.${D}`,D,Y,he))return!1;if(D.endsWith(R))return this._transitionablePaint.setTransition(D.slice(0,-11),Y||void 0),!1;{let Ce=this._transitionablePaint._values[D],Ve=Ce.property.specification[\"property-type\"]===\"cross-faded-data-driven\",Xe=Ce.value.isDataDriven(),ct=Ce.value;this._transitionablePaint.setValue(D,Y),this._handleSpecialPaintPropertyUpdate(D);let At=this._transitionablePaint._values[D].value;return At.isDataDriven()||Xe||Ve||this._handleOverridablePaintPropertyUpdate(D,ct,At)}}_handleSpecialPaintPropertyUpdate(D){}_handleOverridablePaintPropertyUpdate(D,Y,he){return!1}isHidden(D){return!!(this.minzoom&&D=this.maxzoom)||this.visibility===\"none\"}updateTransitions(D){this._transitioningPaint=this._transitionablePaint.transitioned(D,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(D,Y){D.getCrossfadeParameters&&(this._crossfadeParameters=D.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(D,void 0,Y)),this.paint=this._transitioningPaint.possiblyEvaluate(D,void 0,Y)}serialize(){let D={id:this.id,type:this.type,source:this.source,\"source-layer\":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(D.layout=D.layout||{},D.layout.visibility=this.visibility),v(D,(Y,he)=>!(Y===void 0||he===\"layout\"&&!Object.keys(Y).length||he===\"paint\"&&!Object.keys(Y).length))}_validate(D,Y,he,Ce,Ve={}){return(!Ve||Ve.validate!==!1)&&bi(this,D.call(si,{key:Y,layerType:this.type,objectKey:he,value:Ce,styleSpec:ie,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(let D in this.paint._values){let Y=this.paint.get(D);if(Y instanceof Fu&&Pu(Y.property.specification)&&(Y.value.kind===\"source\"||Y.value.kind===\"composite\")&&Y.value.isStateDependent)return!0}return!1}}let be={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class Ae{constructor(D,Y){this._structArray=D,this._pos1=Y*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class Fe{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(D,Y){return D._trim(),Y&&(D.isTransferred=!0,Y.push(D.arrayBuffer)),{length:D.length,arrayBuffer:D.arrayBuffer}}static deserialize(D){let Y=Object.create(this.prototype);return Y.arrayBuffer=D.arrayBuffer,Y.length=D.length,Y.capacity=D.arrayBuffer.byteLength/Y.bytesPerElement,Y._refreshViews(),Y}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(D){this.reserve(D),this.length=D}reserve(D){if(D>this.capacity){this.capacity=Math.max(D,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);let Y=this.uint8;this._refreshViews(),Y&&this.uint8.set(Y)}}_refreshViews(){throw new Error(\"_refreshViews() must be implemented by each concrete StructArray layout\")}}function ht(q,D=1){let Y=0,he=0;return{members:q.map(Ce=>{let Ve=be[Ce.type].BYTES_PER_ELEMENT,Xe=Y=wt(Y,Math.max(D,Ve)),ct=Ce.components||1;return he=Math.max(he,Ve),Y+=Ve*ct,{name:Ce.name,type:Ce.type,components:ct,offset:Xe}}),size:wt(Y,Math.max(he,D)),alignment:D}}function wt(q,D){return Math.ceil(q/D)*D}class zt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.int16[Ce+0]=Y,this.int16[Ce+1]=he,D}}zt.prototype.bytesPerElement=4,di(\"StructArrayLayout2i4\",zt);class Jt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.int16[Ve+0]=Y,this.int16[Ve+1]=he,this.int16[Ve+2]=Ce,D}}Jt.prototype.bytesPerElement=6,di(\"StructArrayLayout3i6\",Jt);class hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.int16[Xe+0]=Y,this.int16[Xe+1]=he,this.int16[Xe+2]=Ce,this.int16[Xe+3]=Ve,D}}hr.prototype.bytesPerElement=8,di(\"StructArrayLayout4i8\",hr);class vr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}vr.prototype.bytesPerElement=12,di(\"StructArrayLayout2i4i12\",vr);class Hr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=4*D,Ot=8*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.uint8[Ot+4]=Ce,this.uint8[Ot+5]=Ve,this.uint8[Ot+6]=Xe,this.uint8[Ot+7]=ct,D}}Hr.prototype.bytesPerElement=8,di(\"StructArrayLayout2i4ub8\",Hr);class ln extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.float32[Ce+0]=Y,this.float32[Ce+1]=he,D}}ln.prototype.bytesPerElement=8,di(\"StructArrayLayout2f8\",ln);class Ge extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=this.length;return this.resize(cr+1),this.emplace(cr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=10*D;return this.uint16[Sr+0]=Y,this.uint16[Sr+1]=he,this.uint16[Sr+2]=Ce,this.uint16[Sr+3]=Ve,this.uint16[Sr+4]=Xe,this.uint16[Sr+5]=ct,this.uint16[Sr+6]=At,this.uint16[Sr+7]=Ot,this.uint16[Sr+8]=er,this.uint16[Sr+9]=cr,D}}Ge.prototype.bytesPerElement=20,di(\"StructArrayLayout10ui20\",Ge);class $e extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr){let Nr=this.length;return this.resize(Nr+1),this.emplace(Nr,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr){let rn=12*D;return this.int16[rn+0]=Y,this.int16[rn+1]=he,this.int16[rn+2]=Ce,this.int16[rn+3]=Ve,this.uint16[rn+4]=Xe,this.uint16[rn+5]=ct,this.uint16[rn+6]=At,this.uint16[rn+7]=Ot,this.int16[rn+8]=er,this.int16[rn+9]=cr,this.int16[rn+10]=Sr,this.int16[rn+11]=Nr,D}}$e.prototype.bytesPerElement=24,di(\"StructArrayLayout4i4ui4i24\",$e);class st extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.float32[Ve+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}st.prototype.bytesPerElement=12,di(\"StructArrayLayout3f12\",st);class dt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint32[1*D+0]=Y,D}}dt.prototype.bytesPerElement=4,di(\"StructArrayLayout1ul4\",dt);class St extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot){let er=this.length;return this.resize(er+1),this.emplace(er,D,Y,he,Ce,Ve,Xe,ct,At,Ot)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=10*D,Sr=5*D;return this.int16[cr+0]=Y,this.int16[cr+1]=he,this.int16[cr+2]=Ce,this.int16[cr+3]=Ve,this.int16[cr+4]=Xe,this.int16[cr+5]=ct,this.uint32[Sr+3]=At,this.uint16[cr+8]=Ot,this.uint16[cr+9]=er,D}}St.prototype.bytesPerElement=20,di(\"StructArrayLayout6i1ul2ui20\",St);class xt extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=6*D;return this.int16[At+0]=Y,this.int16[At+1]=he,this.int16[At+2]=Ce,this.int16[At+3]=Ve,this.int16[At+4]=Xe,this.int16[At+5]=ct,D}}xt.prototype.bytesPerElement=12,di(\"StructArrayLayout2i2i2i12\",xt);class It extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve){let Xe=this.length;return this.resize(Xe+1),this.emplace(Xe,D,Y,he,Ce,Ve)}emplace(D,Y,he,Ce,Ve,Xe){let ct=4*D,At=8*D;return this.float32[ct+0]=Y,this.float32[ct+1]=he,this.float32[ct+2]=Ce,this.int16[At+6]=Ve,this.int16[At+7]=Xe,D}}It.prototype.bytesPerElement=16,di(\"StructArrayLayout2f1f2i16\",It);class rr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe){let ct=this.length;return this.resize(ct+1),this.emplace(ct,D,Y,he,Ce,Ve,Xe)}emplace(D,Y,he,Ce,Ve,Xe,ct){let At=16*D,Ot=4*D,er=8*D;return this.uint8[At+0]=Y,this.uint8[At+1]=he,this.float32[Ot+1]=Ce,this.float32[Ot+2]=Ve,this.int16[er+6]=Xe,this.int16[er+7]=ct,D}}rr.prototype.bytesPerElement=16,di(\"StructArrayLayout2ub2f2i16\",rr);class sr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[Ve+0]=Y,this.uint16[Ve+1]=he,this.uint16[Ve+2]=Ce,D}}sr.prototype.bytesPerElement=6,di(\"StructArrayLayout3ui6\",sr);class pr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei){let Ri=this.length;return this.resize(Ri+1),this.emplace(Ri,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri){let fi=24*D,Si=12*D,Gi=48*D;return this.int16[fi+0]=Y,this.int16[fi+1]=he,this.uint16[fi+2]=Ce,this.uint16[fi+3]=Ve,this.uint32[Si+2]=Xe,this.uint32[Si+3]=ct,this.uint32[Si+4]=At,this.uint16[fi+10]=Ot,this.uint16[fi+11]=er,this.uint16[fi+12]=cr,this.float32[Si+7]=Sr,this.float32[Si+8]=Nr,this.uint8[Gi+36]=rn,this.uint8[Gi+37]=mn,this.uint8[Gi+38]=Gn,this.uint32[Si+10]=ei,this.int16[fi+22]=Ri,D}}pr.prototype.bytesPerElement=48,di(\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\",pr);class kr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo){let Bo=this.length;return this.resize(Bo+1),this.emplace(Bo,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo)}emplace(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn,Gn,ei,Ri,fi,Si,Gi,Ha,Po,xs,_o,Ra,es,qo,Bo){let ma=32*D,us=16*D;return this.int16[ma+0]=Y,this.int16[ma+1]=he,this.int16[ma+2]=Ce,this.int16[ma+3]=Ve,this.int16[ma+4]=Xe,this.int16[ma+5]=ct,this.int16[ma+6]=At,this.int16[ma+7]=Ot,this.uint16[ma+8]=er,this.uint16[ma+9]=cr,this.uint16[ma+10]=Sr,this.uint16[ma+11]=Nr,this.uint16[ma+12]=rn,this.uint16[ma+13]=mn,this.uint16[ma+14]=Gn,this.uint16[ma+15]=ei,this.uint16[ma+16]=Ri,this.uint16[ma+17]=fi,this.uint16[ma+18]=Si,this.uint16[ma+19]=Gi,this.uint16[ma+20]=Ha,this.uint16[ma+21]=Po,this.uint16[ma+22]=xs,this.uint32[us+12]=_o,this.float32[us+13]=Ra,this.float32[us+14]=es,this.uint16[ma+30]=qo,this.uint16[ma+31]=Bo,D}}kr.prototype.bytesPerElement=64,di(\"StructArrayLayout8i15ui1ul2f2ui64\",kr);class Yr extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.float32[1*D+0]=Y,D}}Yr.prototype.bytesPerElement=4,di(\"StructArrayLayout1f4\",Yr);class _n extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=3*D;return this.uint16[6*D+0]=Y,this.float32[Ve+1]=he,this.float32[Ve+2]=Ce,D}}_n.prototype.bytesPerElement=12,di(\"StructArrayLayout1ui2f12\",_n);class Mn extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y,he){let Ce=this.length;return this.resize(Ce+1),this.emplace(Ce,D,Y,he)}emplace(D,Y,he,Ce){let Ve=4*D;return this.uint32[2*D+0]=Y,this.uint16[Ve+2]=he,this.uint16[Ve+3]=Ce,D}}Mn.prototype.bytesPerElement=8,di(\"StructArrayLayout1ul2ui8\",Mn);class Un extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D,Y){let he=this.length;return this.resize(he+1),this.emplace(he,D,Y)}emplace(D,Y,he){let Ce=2*D;return this.uint16[Ce+0]=Y,this.uint16[Ce+1]=he,D}}Un.prototype.bytesPerElement=4,di(\"StructArrayLayout2ui4\",Un);class li extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(D){let Y=this.length;return this.resize(Y+1),this.emplace(Y,D)}emplace(D,Y){return this.uint16[1*D+0]=Y,D}}li.prototype.bytesPerElement=2,di(\"StructArrayLayout1ui2\",li);class ki extends Fe{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(D,Y,he,Ce){let Ve=this.length;return this.resize(Ve+1),this.emplace(Ve,D,Y,he,Ce)}emplace(D,Y,he,Ce,Ve){let Xe=4*D;return this.float32[Xe+0]=Y,this.float32[Xe+1]=he,this.float32[Xe+2]=Ce,this.float32[Xe+3]=Ve,D}}ki.prototype.bytesPerElement=16,di(\"StructArrayLayout4f16\",ki);class Ci extends Ae{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new i(this.anchorPointX,this.anchorPointY)}}Ci.prototype.size=20;class Zi extends St{get(D){return new Ci(this,D)}}di(\"CollisionBoxArray\",Zi);class ya extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(D){this._structArray.uint8[this._pos1+37]=D}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(D){this._structArray.uint8[this._pos1+38]=D}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(D){this._structArray.uint32[this._pos4+10]=D}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}ya.prototype.size=48;class ro extends pr{get(D){return new ya(this,D)}}di(\"PlacedSymbolArray\",ro);class Va extends Ae{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(D){this._structArray.uint32[this._pos4+12]=D}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Va.prototype.size=64;class Io extends kr{get(D){return new Va(this,D)}}di(\"SymbolInstanceArray\",Io);class vs extends Yr{getoffsetX(D){return this.float32[1*D+0]}}di(\"GlyphOffsetArray\",vs);class Fo extends Jt{getx(D){return this.int16[3*D+0]}gety(D){return this.int16[3*D+1]}gettileUnitDistanceFromAnchor(D){return this.int16[3*D+2]}}di(\"SymbolLineVertexArray\",Fo);class ts extends Ae{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}ts.prototype.size=12;class bs extends _n{get(D){return new ts(this,D)}}di(\"TextAnchorOffsetArray\",bs);class fl extends Ae{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}fl.prototype.size=8;class al extends Mn{get(D){return new fl(this,D)}}di(\"FeatureIndexArray\",al);class os extends zt{}class is extends zt{}class Nl extends zt{}class eu extends vr{}class Xu extends Hr{}class mu extends ln{}class El extends Ge{}class fu extends $e{}class Tc extends st{}class Zl extends dt{}class Yl extends xt{}class de extends rr{}class Re extends sr{}class Qe extends Un{}let vt=ht([{name:\"a_pos\",components:2,type:\"Int16\"}],4),{members:mt}=vt;class Tt{constructor(D=[]){this.segments=D}prepareSegment(D,Y,he,Ce){let Ve=this.segments[this.segments.length-1];return D>Tt.MAX_VERTEX_ARRAY_LENGTH&&f(`Max vertices per segment is ${Tt.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${D}`),(!Ve||Ve.vertexLength+D>Tt.MAX_VERTEX_ARRAY_LENGTH||Ve.sortKey!==Ce)&&(Ve={vertexOffset:Y.length,primitiveOffset:he.length,vertexLength:0,primitiveLength:0},Ce!==void 0&&(Ve.sortKey=Ce),this.segments.push(Ve)),Ve}get(){return this.segments}destroy(){for(let D of this.segments)for(let Y in D.vaos)D.vaos[Y].destroy()}static simpleSegment(D,Y,he,Ce){return new Tt([{vertexOffset:D,primitiveOffset:Y,vertexLength:he,primitiveLength:Ce,vaos:{},sortKey:0}])}}function Qt(q,D){return 256*(q=w(Math.floor(q),0,255))+w(Math.floor(D),0,255)}Tt.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,di(\"SegmentVector\",Tt);let Dt=ht([{name:\"a_pattern_from\",components:4,type:\"Uint16\"},{name:\"a_pattern_to\",components:4,type:\"Uint16\"},{name:\"a_pixel_ratio_from\",components:1,type:\"Uint16\"},{name:\"a_pixel_ratio_to\",components:1,type:\"Uint16\"}]);var lr={exports:{}},Br={exports:{}};Br.exports=function(q,D){var Y,he,Ce,Ve,Xe,ct,At,Ot;for(he=q.length-(Y=3&q.length),Ce=D,Xe=3432918353,ct=461845907,Ot=0;Ot>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295)<<13|Ce>>>19))+((5*(Ce>>>16)&65535)<<16)&4294967295))+((58964+(Ve>>>16)&65535)<<16);switch(At=0,Y){case 3:At^=(255&q.charCodeAt(Ot+2))<<16;case 2:At^=(255&q.charCodeAt(Ot+1))<<8;case 1:Ce^=At=(65535&(At=(At=(65535&(At^=255&q.charCodeAt(Ot)))*Xe+(((At>>>16)*Xe&65535)<<16)&4294967295)<<15|At>>>17))*ct+(((At>>>16)*ct&65535)<<16)&4294967295}return Ce^=q.length,Ce=2246822507*(65535&(Ce^=Ce>>>16))+((2246822507*(Ce>>>16)&65535)<<16)&4294967295,Ce=3266489909*(65535&(Ce^=Ce>>>13))+((3266489909*(Ce>>>16)&65535)<<16)&4294967295,(Ce^=Ce>>>16)>>>0};var jr=Br.exports,Tn={exports:{}};Tn.exports=function(q,D){for(var Y,he=q.length,Ce=D^he,Ve=0;he>=4;)Y=1540483477*(65535&(Y=255&q.charCodeAt(Ve)|(255&q.charCodeAt(++Ve))<<8|(255&q.charCodeAt(++Ve))<<16|(255&q.charCodeAt(++Ve))<<24))+((1540483477*(Y>>>16)&65535)<<16),Ce=1540483477*(65535&Ce)+((1540483477*(Ce>>>16)&65535)<<16)^(Y=1540483477*(65535&(Y^=Y>>>24))+((1540483477*(Y>>>16)&65535)<<16)),he-=4,++Ve;switch(he){case 3:Ce^=(255&q.charCodeAt(Ve+2))<<16;case 2:Ce^=(255&q.charCodeAt(Ve+1))<<8;case 1:Ce=1540483477*(65535&(Ce^=255&q.charCodeAt(Ve)))+((1540483477*(Ce>>>16)&65535)<<16)}return Ce=1540483477*(65535&(Ce^=Ce>>>13))+((1540483477*(Ce>>>16)&65535)<<16),(Ce^=Ce>>>15)>>>0};var yn=jr,ti=Tn.exports;lr.exports=yn,lr.exports.murmur3=yn,lr.exports.murmur2=ti;var ai=r(lr.exports);class En{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(D,Y,he,Ce){this.ids.push(qn(D)),this.positions.push(Y,he,Ce)}getPositions(D){if(!this.indexed)throw new Error(\"Trying to get index, but feature positions are not indexed\");let Y=qn(D),he=0,Ce=this.ids.length-1;for(;he>1;this.ids[Xe]>=Y?Ce=Xe:he=Xe+1}let Ve=[];for(;this.ids[he]===Y;)Ve.push({index:this.positions[3*he],start:this.positions[3*he+1],end:this.positions[3*he+2]}),he++;return Ve}static serialize(D,Y){let he=new Float64Array(D.ids),Ce=new Uint32Array(D.positions);return Jn(he,Ce,0,he.length-1),Y&&Y.push(he.buffer,Ce.buffer),{ids:he,positions:Ce}}static deserialize(D){let Y=new En;return Y.ids=D.ids,Y.positions=D.positions,Y.indexed=!0,Y}}function qn(q){let D=+q;return!isNaN(D)&&D<=Number.MAX_SAFE_INTEGER?D:ai(String(q))}function Jn(q,D,Y,he){for(;Y>1],Ve=Y-1,Xe=he+1;for(;;){do Ve++;while(q[Ve]Ce);if(Ve>=Xe)break;ci(q,Ve,Xe),ci(D,3*Ve,3*Xe),ci(D,3*Ve+1,3*Xe+1),ci(D,3*Ve+2,3*Xe+2)}Xe-Y`u_${Ce}`),this.type=he}setUniform(D,Y,he){D.set(he.constantOr(this.value))}getBinding(D,Y,he){return this.type===\"color\"?new oa(D,Y):new Hn(D,Y)}}class oo{constructor(D,Y){this.uniformNames=Y.map(he=>`u_${he}`),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(D,Y){this.pixelRatioFrom=Y.pixelRatio,this.pixelRatioTo=D.pixelRatio,this.patternFrom=Y.tlbr,this.patternTo=D.tlbr}setUniform(D,Y,he,Ce){let Ve=Ce===\"u_pattern_to\"?this.patternTo:Ce===\"u_pattern_from\"?this.patternFrom:Ce===\"u_pixel_ratio_to\"?this.pixelRatioTo:Ce===\"u_pixel_ratio_from\"?this.pixelRatioFrom:null;Ve&&D.set(Ve)}getBinding(D,Y,he){return he.substr(0,9)===\"u_pattern\"?new ta(D,Y):new Hn(D,Y)}}class Qo{constructor(D,Y,he,Ce){this.expression=D,this.type=he,this.maxValue=0,this.paintVertexAttributes=Y.map(Ve=>({name:`a_${Ve}`,type:\"Float32\",components:he===\"color\"?2:1,offset:0})),this.paintVertexArray=new Ce}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.paintVertexArray.length,ct=this.expression.evaluate(new zs(0),Y,{},Ce,[],Ve);this.paintVertexArray.resize(D),this._setPaintValue(Xe,D,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:0},he,Ce);this._setPaintValue(D,Y,Ve)}_setPaintValue(D,Y,he){if(this.type===\"color\"){let Ce=La(he);for(let Ve=D;Ve`u_${ct}_t`),this.type=he,this.useIntegerZoom=Ce,this.zoom=Ve,this.maxValue=0,this.paintVertexAttributes=Y.map(ct=>({name:`a_${ct}`,type:\"Float32\",components:he===\"color\"?4:2,offset:0})),this.paintVertexArray=new Xe}populatePaintArray(D,Y,he,Ce,Ve){let Xe=this.expression.evaluate(new zs(this.zoom),Y,{},Ce,[],Ve),ct=this.expression.evaluate(new zs(this.zoom+1),Y,{},Ce,[],Ve),At=this.paintVertexArray.length;this.paintVertexArray.resize(D),this._setPaintValue(At,D,Xe,ct)}updatePaintArray(D,Y,he,Ce){let Ve=this.expression.evaluate({zoom:this.zoom},he,Ce),Xe=this.expression.evaluate({zoom:this.zoom+1},he,Ce);this._setPaintValue(D,Y,Ve,Xe)}_setPaintValue(D,Y,he,Ce){if(this.type===\"color\"){let Ve=La(he),Xe=La(Ce);for(let ct=D;ct`#define HAS_UNIFORM_${Ce}`))}return D}getBinderAttributes(){let D=[];for(let Y in this.binders){let he=this.binders[Y];if(he instanceof Qo||he instanceof uo)for(let Ce=0;Ce!0){this.programConfigurations={};for(let Ce of D)this.programConfigurations[Ce.id]=new ol(Ce,Y,he);this.needsUpload=!1,this._featureMap=new En,this._bufferOffset=0}populatePaintArrays(D,Y,he,Ce,Ve,Xe){for(let ct in this.programConfigurations)this.programConfigurations[ct].populatePaintArrays(D,Y,Ce,Ve,Xe);Y.id!==void 0&&this._featureMap.add(Y.id,he,this._bufferOffset,D),this._bufferOffset=D,this.needsUpload=!0}updatePaintArrays(D,Y,he,Ce){for(let Ve of he)this.needsUpload=this.programConfigurations[Ve.id].updatePaintArrays(D,this._featureMap,Y,Ve,Ce)||this.needsUpload}get(D){return this.programConfigurations[D]}upload(D){if(this.needsUpload){for(let Y in this.programConfigurations)this.programConfigurations[Y].upload(D);this.needsUpload=!1}}destroy(){for(let D in this.programConfigurations)this.programConfigurations[D].destroy()}}function ml(q,D){return{\"text-opacity\":[\"opacity\"],\"icon-opacity\":[\"opacity\"],\"text-color\":[\"fill_color\"],\"icon-color\":[\"fill_color\"],\"text-halo-color\":[\"halo_color\"],\"icon-halo-color\":[\"halo_color\"],\"text-halo-blur\":[\"halo_blur\"],\"icon-halo-blur\":[\"halo_blur\"],\"text-halo-width\":[\"halo_width\"],\"icon-halo-width\":[\"halo_width\"],\"line-gap-width\":[\"gapwidth\"],\"line-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"],\"fill-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"],\"fill-extrusion-pattern\":[\"pattern_to\",\"pattern_from\",\"pixel_ratio_to\",\"pixel_ratio_from\"]}[q]||[q.replace(`${D}-`,\"\").replace(/-/g,\"_\")]}function ua(q,D,Y){let he={color:{source:ln,composite:ki},number:{source:Yr,composite:ln}},Ce=function(Ve){return{\"line-pattern\":{source:El,composite:El},\"fill-pattern\":{source:El,composite:El},\"fill-extrusion-pattern\":{source:El,composite:El}}[Ve]}(q);return Ce&&Ce[Y]||he[D][Y]}di(\"ConstantBinder\",io),di(\"CrossFadedConstantBinder\",oo),di(\"SourceExpressionBinder\",Qo),di(\"CrossFadedCompositeBinder\",Jo),di(\"CompositeExpressionBinder\",uo),di(\"ProgramConfiguration\",ol,{omit:[\"_buffers\"]}),di(\"ProgramConfigurationSet\",tl);let wo=8192,ys=Math.pow(2,14)-1,Ms=-ys-1;function xl(q){let D=wo/q.extent,Y=q.loadGeometry();for(let he=0;heXe.x+1||AtXe.y+1)&&f(\"Geometry exceeds allowed extent, reduce your vector tile buffer size\")}}return Y}function Ul(q,D){return{type:q.type,id:q.id,properties:q.properties,geometry:D?xl(q):[]}}function gu(q,D,Y,he,Ce){q.emplaceBack(2*D+(he+1)/2,2*Y+(Ce+1)/2)}class Fl{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new is,this.indexArray=new Re,this.segments=new Tt,this.programConfigurations=new tl(D.layers,D.zoom),this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){let Ce=this.layers[0],Ve=[],Xe=null,ct=!1;Ce.type===\"circle\"&&(Xe=Ce.layout.get(\"circle-sort-key\"),ct=!Xe.isConstant());for(let{feature:At,id:Ot,index:er,sourceLayerIndex:cr}of D){let Sr=this.layers[0]._featureFilter.needGeometry,Nr=Ul(At,Sr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Nr,he))continue;let rn=ct?Xe.evaluate(Nr,{},he):void 0,mn={id:Ot,properties:At.properties,type:At.type,sourceLayerIndex:cr,index:er,geometry:Sr?Nr.geometry:xl(At),patterns:{},sortKey:rn};Ve.push(mn)}ct&&Ve.sort((At,Ot)=>At.sortKey-Ot.sortKey);for(let At of Ve){let{geometry:Ot,index:er,sourceLayerIndex:cr}=At,Sr=D[er].feature;this.addFeature(At,Ot,er,he),Y.featureIndex.insert(Sr,Ot,er,cr,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,mt),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(D,Y,he,Ce){for(let Ve of Y)for(let Xe of Ve){let ct=Xe.x,At=Xe.y;if(ct<0||ct>=wo||At<0||At>=wo)continue;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,D.sortKey),er=Ot.vertexLength;gu(this.layoutVertexArray,ct,At,-1,-1),gu(this.layoutVertexArray,ct,At,1,-1),gu(this.layoutVertexArray,ct,At,1,1),gu(this.layoutVertexArray,ct,At,-1,1),this.indexArray.emplaceBack(er,er+1,er+2),this.indexArray.emplaceBack(er,er+3,er+2),Ot.vertexLength+=4,Ot.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,{},Ce)}}function vc(q,D){for(let Y=0;Y1){if(xi(q,D))return!0;for(let he=0;he1?Y:Y.sub(D)._mult(Ce)._add(D))}function na(q,D){let Y,he,Ce,Ve=!1;for(let Xe=0;XeD.y!=Ce.y>D.y&&D.x<(Ce.x-he.x)*(D.y-he.y)/(Ce.y-he.y)+he.x&&(Ve=!Ve)}return Ve}function Ca(q,D){let Y=!1;for(let he=0,Ce=q.length-1;heD.y!=Xe.y>D.y&&D.x<(Xe.x-Ve.x)*(D.y-Ve.y)/(Xe.y-Ve.y)+Ve.x&&(Y=!Y)}return Y}function ka(q,D,Y){let he=Y[0],Ce=Y[2];if(q.xCe.x&&D.x>Ce.x||q.yCe.y&&D.y>Ce.y)return!1;let Ve=P(q,D,Y[0]);return Ve!==P(q,D,Y[1])||Ve!==P(q,D,Y[2])||Ve!==P(q,D,Y[3])}function ha(q,D,Y){let he=D.paint.get(q).value;return he.kind===\"constant\"?he.value:Y.programConfigurations.get(D.id).getMaxValue(q)}function Xo(q){return Math.sqrt(q[0]*q[0]+q[1]*q[1])}function Aa(q,D,Y,he,Ce){if(!D[0]&&!D[1])return q;let Ve=i.convert(D)._mult(Ce);Y===\"viewport\"&&Ve._rotate(-he);let Xe=[];for(let ct=0;ctsa(Gn,mn))}(Ot,At),Nr=cr?er*ct:er;for(let rn of Ce)for(let mn of rn){let Gn=cr?mn:sa(mn,At),ei=Nr,Ri=Oo([],[mn.x,mn.y,0,1],At);if(this.paint.get(\"circle-pitch-scale\")===\"viewport\"&&this.paint.get(\"circle-pitch-alignment\")===\"map\"?ei*=Ri[3]/Xe.cameraToCenterDistance:this.paint.get(\"circle-pitch-scale\")===\"map\"&&this.paint.get(\"circle-pitch-alignment\")===\"viewport\"&&(ei*=Xe.cameraToCenterDistance/Ri[3]),tr(Sr,Gn,ei))return!0}return!1}}function sa(q,D){let Y=Oo([],[q.x,q.y,0,1],D);return new i(Y[0]/Y[3],Y[1]/Y[3])}class fo extends Fl{}let Ja;di(\"HeatmapBucket\",fo,{omit:[\"layers\"]});var Fa={get paint(){return Ja=Ja||new Ne({\"heatmap-radius\":new Wo(ie.paint_heatmap[\"heatmap-radius\"]),\"heatmap-weight\":new Wo(ie.paint_heatmap[\"heatmap-weight\"]),\"heatmap-intensity\":new bo(ie.paint_heatmap[\"heatmap-intensity\"]),\"heatmap-color\":new dc(ie.paint_heatmap[\"heatmap-color\"]),\"heatmap-opacity\":new bo(ie.paint_heatmap[\"heatmap-opacity\"])})}};function Ia(q,{width:D,height:Y},he,Ce){if(Ce){if(Ce instanceof Uint8ClampedArray)Ce=new Uint8Array(Ce.buffer);else if(Ce.length!==D*Y*he)throw new RangeError(`mismatched image size. expected: ${Ce.length} but got: ${D*Y*he}`)}else Ce=new Uint8Array(D*Y*he);return q.width=D,q.height=Y,q.data=Ce,q}function ao(q,{width:D,height:Y},he){if(D===q.width&&Y===q.height)return;let Ce=Ia({},{width:D,height:Y},he);Zo(q,Ce,{x:0,y:0},{x:0,y:0},{width:Math.min(q.width,D),height:Math.min(q.height,Y)},he),q.width=D,q.height=Y,q.data=Ce.data}function Zo(q,D,Y,he,Ce,Ve){if(Ce.width===0||Ce.height===0)return D;if(Ce.width>q.width||Ce.height>q.height||Y.x>q.width-Ce.width||Y.y>q.height-Ce.height)throw new RangeError(\"out of range source coordinates for image copy\");if(Ce.width>D.width||Ce.height>D.height||he.x>D.width-Ce.width||he.y>D.height-Ce.height)throw new RangeError(\"out of range destination coordinates for image copy\");let Xe=q.data,ct=D.data;if(Xe===ct)throw new Error(\"srcData equals dstData, so image is already copied\");for(let At=0;At{D[q.evaluationKey]=At;let Ot=q.expression.evaluate(D);Ce.data[Xe+ct+0]=Math.floor(255*Ot.r/Ot.a),Ce.data[Xe+ct+1]=Math.floor(255*Ot.g/Ot.a),Ce.data[Xe+ct+2]=Math.floor(255*Ot.b/Ot.a),Ce.data[Xe+ct+3]=Math.floor(255*Ot.a)};if(q.clips)for(let Xe=0,ct=0;Xe80*Y){ct=1/0,At=1/0;let er=-1/0,cr=-1/0;for(let Sr=Y;Srer&&(er=Nr),rn>cr&&(cr=rn)}Ot=Math.max(er-ct,cr-At),Ot=Ot!==0?32767/Ot:0}return Jc(Ve,Xe,Y,ct,At,Ot,0),Xe}function pc(q,D,Y,he,Ce){let Ve;if(Ce===function(Xe,ct,At,Ot){let er=0;for(let cr=ct,Sr=At-Ot;cr0)for(let Xe=D;Xe=D;Xe-=he)Ve=Ar(Xe/he|0,q[Xe],q[Xe+1],Ve);return Ve&&We(Ve,Ve.next)&&(Gt(Ve),Ve=Ve.next),Ve}function mc(q,D){if(!q)return q;D||(D=q);let Y,he=q;do if(Y=!1,he.steiner||!We(he,he.next)&&Ze(he.prev,he,he.next)!==0)he=he.next;else{if(Gt(he),he=D=he.prev,he===he.next)break;Y=!0}while(Y||he!==D);return D}function Jc(q,D,Y,he,Ce,Ve,Xe){if(!q)return;!Xe&&Ve&&function(At,Ot,er,cr){let Sr=At;do Sr.z===0&&(Sr.z=K(Sr.x,Sr.y,Ot,er,cr)),Sr.prevZ=Sr.prev,Sr.nextZ=Sr.next,Sr=Sr.next;while(Sr!==At);Sr.prevZ.nextZ=null,Sr.prevZ=null,function(Nr){let rn,mn=1;do{let Gn,ei=Nr;Nr=null;let Ri=null;for(rn=0;ei;){rn++;let fi=ei,Si=0;for(let Ha=0;Ha0||Gi>0&&fi;)Si!==0&&(Gi===0||!fi||ei.z<=fi.z)?(Gn=ei,ei=ei.nextZ,Si--):(Gn=fi,fi=fi.nextZ,Gi--),Ri?Ri.nextZ=Gn:Nr=Gn,Gn.prevZ=Ri,Ri=Gn;ei=fi}Ri.nextZ=null,mn*=2}while(rn>1)}(Sr)}(q,he,Ce,Ve);let ct=q;for(;q.prev!==q.next;){let At=q.prev,Ot=q.next;if(Ve?Ac(q,he,Ce,Ve):tu(q))D.push(At.i,q.i,Ot.i),Gt(q),q=Ot.next,ct=Ot.next;else if((q=Ot)===ct){Xe?Xe===1?Jc(q=Nc(mc(q),D),D,Y,he,Ce,Ve,2):Xe===2&&Hs(q,D,Y,he,Ce,Ve):Jc(mc(q),D,Y,he,Ce,Ve,1);break}}}function tu(q){let D=q.prev,Y=q,he=q.next;if(Ze(D,Y,he)>=0)return!1;let Ce=D.x,Ve=Y.x,Xe=he.x,ct=D.y,At=Y.y,Ot=he.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>=0)return!1;Si=Si.nextZ}return!0}function Nc(q,D){let Y=q;do{let he=Y.prev,Ce=Y.next.next;!We(he,Ce)&<(he,Y,Y.next,Ce)&&xr(he,Ce)&&xr(Ce,he)&&(D.push(he.i,Y.i,Ce.i),Gt(Y),Gt(Y.next),Y=q=Ce),Y=Y.next}while(Y!==q);return mc(Y)}function Hs(q,D,Y,he,Ce,Ve){let Xe=q;do{let ct=Xe.next.next;for(;ct!==Xe.prev;){if(Xe.i!==ct.i&&ye(Xe,ct)){let At=Fr(Xe,ct);return Xe=mc(Xe,Xe.next),At=mc(At,At.next),Jc(Xe,D,Y,he,Ce,Ve,0),void Jc(At,D,Y,he,Ce,Ve,0)}ct=ct.next}Xe=Xe.next}while(Xe!==q)}function $c(q,D){return q.x-D.x}function Us(q,D){let Y=function(Ce,Ve){let Xe=Ve,ct=Ce.x,At=Ce.y,Ot,er=-1/0;do{if(At<=Xe.y&&At>=Xe.next.y&&Xe.next.y!==Xe.y){let mn=Xe.x+(At-Xe.y)*(Xe.next.x-Xe.x)/(Xe.next.y-Xe.y);if(mn<=ct&&mn>er&&(er=mn,Ot=Xe.x=Xe.x&&Xe.x>=Sr&&ct!==Xe.x&&te(AtOt.x||Xe.x===Ot.x&&ve(Ot,Xe)))&&(Ot=Xe,rn=mn)}Xe=Xe.next}while(Xe!==cr);return Ot}(q,D);if(!Y)return D;let he=Fr(Y,q);return mc(he,he.next),mc(Y,Y.next)}function ve(q,D){return Ze(q.prev,q,D.prev)<0&&Ze(D.next,q,q.next)<0}function K(q,D,Y,he,Ce){return(q=1431655765&((q=858993459&((q=252645135&((q=16711935&((q=(q-Y)*Ce|0)|q<<8))|q<<4))|q<<2))|q<<1))|(D=1431655765&((D=858993459&((D=252645135&((D=16711935&((D=(D-he)*Ce|0)|D<<8))|D<<4))|D<<2))|D<<1))<<1}function me(q){let D=q,Y=q;do(D.x=(q-Xe)*(Ve-ct)&&(q-Xe)*(he-ct)>=(Y-Xe)*(D-ct)&&(Y-Xe)*(Ve-ct)>=(Ce-Xe)*(he-ct)}function ye(q,D){return q.next.i!==D.i&&q.prev.i!==D.i&&!function(Y,he){let Ce=Y;do{if(Ce.i!==Y.i&&Ce.next.i!==Y.i&&Ce.i!==he.i&&Ce.next.i!==he.i&<(Ce,Ce.next,Y,he))return!0;Ce=Ce.next}while(Ce!==Y);return!1}(q,D)&&(xr(q,D)&&xr(D,q)&&function(Y,he){let Ce=Y,Ve=!1,Xe=(Y.x+he.x)/2,ct=(Y.y+he.y)/2;do Ce.y>ct!=Ce.next.y>ct&&Ce.next.y!==Ce.y&&Xe<(Ce.next.x-Ce.x)*(ct-Ce.y)/(Ce.next.y-Ce.y)+Ce.x&&(Ve=!Ve),Ce=Ce.next;while(Ce!==Y);return Ve}(q,D)&&(Ze(q.prev,q,D.prev)||Ze(q,D.prev,D))||We(q,D)&&Ze(q.prev,q,q.next)>0&&Ze(D.prev,D,D.next)>0)}function Ze(q,D,Y){return(D.y-q.y)*(Y.x-D.x)-(D.x-q.x)*(Y.y-D.y)}function We(q,D){return q.x===D.x&&q.y===D.y}function lt(q,D,Y,he){let Ce=Wt(Ze(q,D,Y)),Ve=Wt(Ze(q,D,he)),Xe=Wt(Ze(Y,he,q)),ct=Wt(Ze(Y,he,D));return Ce!==Ve&&Xe!==ct||!(Ce!==0||!Ct(q,Y,D))||!(Ve!==0||!Ct(q,he,D))||!(Xe!==0||!Ct(Y,q,he))||!(ct!==0||!Ct(Y,D,he))}function Ct(q,D,Y){return D.x<=Math.max(q.x,Y.x)&&D.x>=Math.min(q.x,Y.x)&&D.y<=Math.max(q.y,Y.y)&&D.y>=Math.min(q.y,Y.y)}function Wt(q){return q>0?1:q<0?-1:0}function xr(q,D){return Ze(q.prev,q,q.next)<0?Ze(q,D,q.next)>=0&&Ze(q,q.prev,D)>=0:Ze(q,D,q.prev)<0||Ze(q,q.next,D)<0}function Fr(q,D){let Y=nr(q.i,q.x,q.y),he=nr(D.i,D.x,D.y),Ce=q.next,Ve=D.prev;return q.next=D,D.prev=q,Y.next=Ce,Ce.prev=Y,he.next=Y,Y.prev=he,Ve.next=he,he.prev=Ve,he}function Ar(q,D,Y,he){let Ce=nr(q,D,Y);return he?(Ce.next=he.next,Ce.prev=he,he.next.prev=Ce,he.next=Ce):(Ce.prev=Ce,Ce.next=Ce),Ce}function Gt(q){q.next.prev=q.prev,q.prev.next=q.next,q.prevZ&&(q.prevZ.nextZ=q.nextZ),q.nextZ&&(q.nextZ.prevZ=q.prevZ)}function nr(q,D,Y){return{i:q,x:D,y:Y,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function mr(q,D,Y){let he=Y.patternDependencies,Ce=!1;for(let Ve of D){let Xe=Ve.paint.get(`${q}-pattern`);Xe.isConstant()||(Ce=!0);let ct=Xe.constantOr(null);ct&&(Ce=!0,he[ct.to]=!0,he[ct.from]=!0)}return Ce}function zr(q,D,Y,he,Ce){let Ve=Ce.patternDependencies;for(let Xe of D){let ct=Xe.paint.get(`${q}-pattern`).value;if(ct.kind!==\"constant\"){let At=ct.evaluate({zoom:he-1},Y,{},Ce.availableImages),Ot=ct.evaluate({zoom:he},Y,{},Ce.availableImages),er=ct.evaluate({zoom:he+1},Y,{},Ce.availableImages);At=At&&At.name?At.name:At,Ot=Ot&&Ot.name?Ot.name:Ot,er=er&&er.name?er.name:er,Ve[At]=!0,Ve[Ot]=!0,Ve[er]=!0,Y.patterns[Xe.id]={min:At,mid:Ot,max:er}}}return Y}class Gr{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Nl,this.indexArray=new Re,this.indexArray2=new Qe,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.segments2=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr(\"fill\",this.layers,Y);let Ce=this.layers[0].layout.get(\"fill-sort-key\"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he,Y.availableImages):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr(\"fill\",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,Bc),this.indexBuffer=D.createIndexBuffer(this.indexArray),this.indexBuffer2=D.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct=0;for(let Nr of Xe)ct+=Nr.length;let At=this.segments.prepareSegment(ct,this.layoutVertexArray,this.indexArray),Ot=At.vertexLength,er=[],cr=[];for(let Nr of Xe){if(Nr.length===0)continue;Nr!==Xe[0]&&cr.push(er.length/2);let rn=this.segments2.prepareSegment(Nr.length,this.layoutVertexArray,this.indexArray2),mn=rn.vertexLength;this.layoutVertexArray.emplaceBack(Nr[0].x,Nr[0].y),this.indexArray2.emplaceBack(mn+Nr.length-1,mn),er.push(Nr[0].x),er.push(Nr[0].y);for(let Gn=1;Gn>3}if(Ce--,he===1||he===2)Ve+=q.readSVarint(),Xe+=q.readSVarint(),he===1&&(D&&ct.push(D),D=[]),D.push(new vi(Ve,Xe));else{if(he!==7)throw new Error(\"unknown command \"+he);D&&D.push(D[0].clone())}}return D&&ct.push(D),ct},Pi.prototype.bbox=function(){var q=this._pbf;q.pos=this._geometry;for(var D=q.readVarint()+q.pos,Y=1,he=0,Ce=0,Ve=0,Xe=1/0,ct=-1/0,At=1/0,Ot=-1/0;q.pos>3}if(he--,Y===1||Y===2)(Ce+=q.readSVarint())ct&&(ct=Ce),(Ve+=q.readSVarint())Ot&&(Ot=Ve);else if(Y!==7)throw new Error(\"unknown command \"+Y)}return[Xe,At,ct,Ot]},Pi.prototype.toGeoJSON=function(q,D,Y){var he,Ce,Ve=this.extent*Math.pow(2,Y),Xe=this.extent*q,ct=this.extent*D,At=this.loadGeometry(),Ot=Pi.types[this.type];function er(Nr){for(var rn=0;rn>3;Ce=Xe===1?he.readString():Xe===2?he.readFloat():Xe===3?he.readDouble():Xe===4?he.readVarint64():Xe===5?he.readVarint():Xe===6?he.readSVarint():Xe===7?he.readBoolean():null}return Ce}(Y))}da.prototype.feature=function(q){if(q<0||q>=this._features.length)throw new Error(\"feature index out of bounds\");this._pbf.pos=this._features[q];var D=this._pbf.readVarint()+this._pbf.pos;return new Ea(this._pbf,D,this.extent,this._keys,this._values)};var za=$i;function Qa(q,D,Y){if(q===3){var he=new za(Y,Y.readVarint()+Y.pos);he.length&&(D[he.name]=he)}}Xn.VectorTile=function(q,D){this.layers=q.readFields(Qa,{},D)},Xn.VectorTileFeature=Ji,Xn.VectorTileLayer=$i;let Cs=Xn.VectorTileFeature.types,ws=Math.pow(2,13);function $s(q,D,Y,he,Ce,Ve,Xe,ct){q.emplaceBack(D,Y,2*Math.floor(he*ws)+Xe,Ce*ws*2,Ve*ws*2,Math.round(ct))}class rs{constructor(D){this.zoom=D.zoom,this.overscaling=D.overscaling,this.layers=D.layers,this.layerIds=this.layers.map(Y=>Y.id),this.index=D.index,this.hasPattern=!1,this.layoutVertexArray=new eu,this.centroidVertexArray=new os,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.features=[],this.hasPattern=mr(\"fill-extrusion\",this.layers,Y);for(let{feature:Ce,id:Ve,index:Xe,sourceLayerIndex:ct}of D){let At=this.layers[0]._featureFilter.needGeometry,Ot=Ul(Ce,At);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Ot,he))continue;let er={id:Ve,sourceLayerIndex:ct,index:Xe,geometry:At?Ot.geometry:xl(Ce),properties:Ce.properties,type:Ce.type,patterns:{}};this.hasPattern?this.features.push(zr(\"fill-extrusion\",this.layers,er,this.zoom,Y)):this.addFeature(er,er.geometry,Xe,he,{}),Y.featureIndex.insert(Ce,er.geometry,Xe,ct,this.index,!0)}}addFeatures(D,Y,he){for(let Ce of this.features){let{geometry:Ve}=Ce;this.addFeature(Ce,Ve,Ce.index,Y,he)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}isEmpty(){return this.layoutVertexArray.length===0&&this.centroidVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,kn),this.centroidVertexBuffer=D.createVertexBuffer(this.centroidVertexArray,qr.members,!0),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(D,Y,he,Ce,Ve){for(let Xe of kc(Y,500)){let ct={x:0,y:0,vertexCount:0},At=0;for(let rn of Xe)At+=rn.length;let Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(let rn of Xe){if(rn.length===0||Cl(rn))continue;let mn=0;for(let Gn=0;Gn=1){let Ri=rn[Gn-1];if(!js(ei,Ri)){Ot.vertexLength+4>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));let fi=ei.sub(Ri)._perp()._unit(),Si=Ri.dist(ei);mn+Si>32768&&(mn=0),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,ei.x,ei.y,fi.x,fi.y,0,1,mn),ct.x+=2*ei.x,ct.y+=2*ei.y,ct.vertexCount+=2,mn+=Si,$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,0,mn),$s(this.layoutVertexArray,Ri.x,Ri.y,fi.x,fi.y,0,1,mn),ct.x+=2*Ri.x,ct.y+=2*Ri.y,ct.vertexCount+=2;let Gi=Ot.vertexLength;this.indexArray.emplaceBack(Gi,Gi+2,Gi+1),this.indexArray.emplaceBack(Gi+1,Gi+2,Gi+3),Ot.vertexLength+=4,Ot.primitiveLength+=2}}}}if(Ot.vertexLength+At>Tt.MAX_VERTEX_ARRAY_LENGTH&&(Ot=this.segments.prepareSegment(At,this.layoutVertexArray,this.indexArray)),Cs[D.type]!==\"Polygon\")continue;let er=[],cr=[],Sr=Ot.vertexLength;for(let rn of Xe)if(rn.length!==0){rn!==Xe[0]&&cr.push(er.length/2);for(let mn=0;mnwo)||q.y===D.y&&(q.y<0||q.y>wo)}function Cl(q){return q.every(D=>D.x<0)||q.every(D=>D.x>wo)||q.every(D=>D.y<0)||q.every(D=>D.y>wo)}let Ou;di(\"FillExtrusionBucket\",rs,{omit:[\"layers\",\"features\"]});var Kh={get paint(){return Ou=Ou||new Ne({\"fill-extrusion-opacity\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-opacity\"]),\"fill-extrusion-color\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-color\"]),\"fill-extrusion-translate\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-translate\"]),\"fill-extrusion-translate-anchor\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-translate-anchor\"]),\"fill-extrusion-pattern\":new Fc(ie[\"paint_fill-extrusion\"][\"fill-extrusion-pattern\"]),\"fill-extrusion-height\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-height\"]),\"fill-extrusion-base\":new Wo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-base\"]),\"fill-extrusion-vertical-gradient\":new bo(ie[\"paint_fill-extrusion\"][\"fill-extrusion-vertical-gradient\"])})}};class Jh extends ne{constructor(D){super(D,Kh)}createBucket(D){return new rs(D)}queryRadius(){return Xo(this.paint.get(\"fill-extrusion-translate\"))}is3D(){return!0}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct,At){let Ot=Aa(D,this.paint.get(\"fill-extrusion-translate\"),this.paint.get(\"fill-extrusion-translate-anchor\"),Xe.angle,ct),er=this.paint.get(\"fill-extrusion-height\").evaluate(Y,he),cr=this.paint.get(\"fill-extrusion-base\").evaluate(Y,he),Sr=function(rn,mn,Gn,ei){let Ri=[];for(let fi of rn){let Si=[fi.x,fi.y,0,1];Oo(Si,Si,mn),Ri.push(new i(Si[0]/Si[3],Si[1]/Si[3]))}return Ri}(Ot,At),Nr=function(rn,mn,Gn,ei){let Ri=[],fi=[],Si=ei[8]*mn,Gi=ei[9]*mn,Ha=ei[10]*mn,Po=ei[11]*mn,xs=ei[8]*Gn,_o=ei[9]*Gn,Ra=ei[10]*Gn,es=ei[11]*Gn;for(let qo of rn){let Bo=[],ma=[];for(let us of qo){let No=us.x,ks=us.y,Au=ei[0]*No+ei[4]*ks+ei[12],yu=ei[1]*No+ei[5]*ks+ei[13],Ef=ei[2]*No+ei[6]*ks+ei[14],cd=ei[3]*No+ei[7]*ks+ei[15],nh=Ef+Ha,Cf=cd+Po,kh=Au+xs,Lh=yu+_o,Ph=Ef+Ra,jc=cd+es,kf=new i((Au+Si)/Cf,(yu+Gi)/Cf);kf.z=nh/Cf,Bo.push(kf);let mh=new i(kh/jc,Lh/jc);mh.z=Ph/jc,ma.push(mh)}Ri.push(Bo),fi.push(ma)}return[Ri,fi]}(Ce,cr,er,At);return function(rn,mn,Gn){let ei=1/0;cn(Gn,mn)&&(ei=sd(Gn,mn[0]));for(let Ri=0;RiY.id),this.index=D.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(Y=>{this.gradients[Y.id]={}}),this.layoutVertexArray=new Xu,this.layoutVertexArray2=new mu,this.indexArray=new Re,this.programConfigurations=new tl(D.layers,D.zoom),this.segments=new Tt,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(Y=>Y.isStateDependent()).map(Y=>Y.id)}populate(D,Y,he){this.hasPattern=mr(\"line\",this.layers,Y);let Ce=this.layers[0].layout.get(\"line-sort-key\"),Ve=!Ce.isConstant(),Xe=[];for(let{feature:ct,id:At,index:Ot,sourceLayerIndex:er}of D){let cr=this.layers[0]._featureFilter.needGeometry,Sr=Ul(ct,cr);if(!this.layers[0]._featureFilter.filter(new zs(this.zoom),Sr,he))continue;let Nr=Ve?Ce.evaluate(Sr,{},he):void 0,rn={id:At,properties:ct.properties,type:ct.type,sourceLayerIndex:er,index:Ot,geometry:cr?Sr.geometry:xl(ct),patterns:{},sortKey:Nr};Xe.push(rn)}Ve&&Xe.sort((ct,At)=>ct.sortKey-At.sortKey);for(let ct of Xe){let{geometry:At,index:Ot,sourceLayerIndex:er}=ct;if(this.hasPattern){let cr=zr(\"line\",this.layers,ct,this.zoom,Y);this.patternFeatures.push(cr)}else this.addFeature(ct,At,Ot,he,{});Y.featureIndex.insert(D[Ot].feature,At,Ot,er,this.index)}}update(D,Y,he){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(D,Y,this.stateDependentLayers,he)}addFeatures(D,Y,he){for(let Ce of this.patternFeatures)this.addFeature(Ce,Ce.geometry,Ce.index,Y,he)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(D){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=D.createVertexBuffer(this.layoutVertexArray2,xd)),this.layoutVertexBuffer=D.createVertexBuffer(this.layoutVertexArray,_d),this.indexBuffer=D.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(D),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(D){if(D.properties&&Object.prototype.hasOwnProperty.call(D.properties,\"mapbox_clip_start\")&&Object.prototype.hasOwnProperty.call(D.properties,\"mapbox_clip_end\"))return{start:+D.properties.mapbox_clip_start,end:+D.properties.mapbox_clip_end}}addFeature(D,Y,he,Ce,Ve){let Xe=this.layers[0].layout,ct=Xe.get(\"line-join\").evaluate(D,{}),At=Xe.get(\"line-cap\"),Ot=Xe.get(\"line-miter-limit\"),er=Xe.get(\"line-round-limit\");this.lineClips=this.lineFeatureClips(D);for(let cr of Y)this.addLine(cr,D,ct,At,Ot,er);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,D,he,Ve,Ce)}addLine(D,Y,he,Ce,Ve,Xe){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let ei=0;ei=2&&D[At-1].equals(D[At-2]);)At--;let Ot=0;for(;Ot0;if(Po&&ei>Ot){let es=Sr.dist(Nr);if(es>2*er){let qo=Sr.sub(Sr.sub(Nr)._mult(er/es)._round());this.updateDistance(Nr,qo),this.addCurrentVertex(qo,mn,0,0,cr),Nr=qo}}let _o=Nr&&rn,Ra=_o?he:ct?\"butt\":Ce;if(_o&&Ra===\"round\"&&(GiVe&&(Ra=\"bevel\"),Ra===\"bevel\"&&(Gi>2&&(Ra=\"flipbevel\"),Gi100)Ri=Gn.mult(-1);else{let es=Gi*mn.add(Gn).mag()/mn.sub(Gn).mag();Ri._perp()._mult(es*(xs?-1:1))}this.addCurrentVertex(Sr,Ri,0,0,cr),this.addCurrentVertex(Sr,Ri.mult(-1),0,0,cr)}else if(Ra===\"bevel\"||Ra===\"fakeround\"){let es=-Math.sqrt(Gi*Gi-1),qo=xs?es:0,Bo=xs?0:es;if(Nr&&this.addCurrentVertex(Sr,mn,qo,Bo,cr),Ra===\"fakeround\"){let ma=Math.round(180*Ha/Math.PI/20);for(let us=1;us2*er){let qo=Sr.add(rn.sub(Sr)._mult(er/es)._round());this.updateDistance(Sr,qo),this.addCurrentVertex(qo,Gn,0,0,cr),Sr=qo}}}}addCurrentVertex(D,Y,he,Ce,Ve,Xe=!1){let ct=Y.y*Ce-Y.x,At=-Y.y-Y.x*Ce;this.addHalfVertex(D,Y.x+Y.y*he,Y.y-Y.x*he,Xe,!1,he,Ve),this.addHalfVertex(D,ct,At,Xe,!0,-Ce,Ve),this.distance>$h/2&&this.totalDistance===0&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(D,Y,he,Ce,Ve,Xe))}addHalfVertex({x:D,y:Y},he,Ce,Ve,Xe,ct,At){let Ot=.5*(this.lineClips?this.scaledDistance*($h-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((D<<1)+(Ve?1:0),(Y<<1)+(Xe?1:0),Math.round(63*he)+128,Math.round(63*Ce)+128,1+(ct===0?0:ct<0?-1:1)|(63&Ot)<<2,Ot>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);let er=At.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,er),At.primitiveLength++),Xe?this.e2=er:this.e1=er}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(D,Y){this.distance+=D.dist(Y),this.updateScaledDistance()}}let Qh,zv;di(\"LineBucket\",ld,{omit:[\"layers\",\"patternFeatures\"]});var Qd={get paint(){return zv=zv||new Ne({\"line-opacity\":new Wo(ie.paint_line[\"line-opacity\"]),\"line-color\":new Wo(ie.paint_line[\"line-color\"]),\"line-translate\":new bo(ie.paint_line[\"line-translate\"]),\"line-translate-anchor\":new bo(ie.paint_line[\"line-translate-anchor\"]),\"line-width\":new Wo(ie.paint_line[\"line-width\"]),\"line-gap-width\":new Wo(ie.paint_line[\"line-gap-width\"]),\"line-offset\":new Wo(ie.paint_line[\"line-offset\"]),\"line-blur\":new Wo(ie.paint_line[\"line-blur\"]),\"line-dasharray\":new hc(ie.paint_line[\"line-dasharray\"]),\"line-pattern\":new Fc(ie.paint_line[\"line-pattern\"]),\"line-gradient\":new dc(ie.paint_line[\"line-gradient\"])})},get layout(){return Qh=Qh||new Ne({\"line-cap\":new bo(ie.layout_line[\"line-cap\"]),\"line-join\":new Wo(ie.layout_line[\"line-join\"]),\"line-miter-limit\":new bo(ie.layout_line[\"line-miter-limit\"]),\"line-round-limit\":new bo(ie.layout_line[\"line-round-limit\"]),\"line-sort-key\":new Wo(ie.layout_line[\"line-sort-key\"])})}};class df extends Wo{possiblyEvaluate(D,Y){return Y=new zs(Math.floor(Y.zoom),{now:Y.now,fadeDuration:Y.fadeDuration,zoomHistory:Y.zoomHistory,transition:Y.transition}),super.possiblyEvaluate(D,Y)}evaluate(D,Y,he,Ce){return Y=E({},Y,{zoom:Math.floor(Y.zoom)}),super.evaluate(D,Y,he,Ce)}}let ev;class Fv extends ne{constructor(D){super(D,Qd),this.gradientVersion=0,ev||(ev=new df(Qd.paint.properties[\"line-width\"].specification),ev.useIntegerZoom=!0)}_handleSpecialPaintPropertyUpdate(D){if(D===\"line-gradient\"){let Y=this.gradientExpression();this.stepInterpolant=!!function(he){return he._styleExpression!==void 0}(Y)&&Y._styleExpression.expression instanceof Dn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values[\"line-gradient\"].value.expression}recalculate(D,Y){super.recalculate(D,Y),this.paint._values[\"line-floorwidth\"]=ev.possiblyEvaluate(this._transitioningPaint._values[\"line-width\"].value,D)}createBucket(D){return new ld(D)}queryRadius(D){let Y=D,he=jf(ha(\"line-width\",this,Y),ha(\"line-gap-width\",this,Y)),Ce=ha(\"line-offset\",this,Y);return he/2+Math.abs(Ce)+Xo(this.paint.get(\"line-translate\"))}queryIntersectsFeature(D,Y,he,Ce,Ve,Xe,ct){let At=Aa(D,this.paint.get(\"line-translate\"),this.paint.get(\"line-translate-anchor\"),Xe.angle,ct),Ot=ct/2*jf(this.paint.get(\"line-width\").evaluate(Y,he),this.paint.get(\"line-gap-width\").evaluate(Y,he)),er=this.paint.get(\"line-offset\").evaluate(Y,he);return er&&(Ce=function(cr,Sr){let Nr=[];for(let rn=0;rn=3){for(let Gn=0;Gn0?D+2*q:q}let gv=ht([{name:\"a_pos_offset\",components:4,type:\"Int16\"},{name:\"a_data\",components:4,type:\"Uint16\"},{name:\"a_pixeloffset\",components:4,type:\"Int16\"}],4),sp=ht([{name:\"a_projected_pos\",components:3,type:\"Float32\"}],4);ht([{name:\"a_fade_opacity\",components:1,type:\"Uint32\"}],4);let lp=ht([{name:\"a_placed\",components:2,type:\"Uint8\"},{name:\"a_shift\",components:2,type:\"Float32\"},{name:\"a_box_real\",components:2,type:\"Int16\"}]);ht([{type:\"Int16\",name:\"anchorPointX\"},{type:\"Int16\",name:\"anchorPointY\"},{type:\"Int16\",name:\"x1\"},{type:\"Int16\",name:\"y1\"},{type:\"Int16\",name:\"x2\"},{type:\"Int16\",name:\"y2\"},{type:\"Uint32\",name:\"featureIndex\"},{type:\"Uint16\",name:\"sourceLayerIndex\"},{type:\"Uint16\",name:\"bucketIndex\"}]);let Ov=ht([{name:\"a_pos\",components:2,type:\"Int16\"},{name:\"a_anchor_pos\",components:2,type:\"Int16\"},{name:\"a_extrude\",components:2,type:\"Int16\"}],4),yv=ht([{name:\"a_pos\",components:2,type:\"Float32\"},{name:\"a_radius\",components:1,type:\"Float32\"},{name:\"a_flags\",components:2,type:\"Int16\"}],4);function _v(q,D,Y){return q.sections.forEach(he=>{he.text=function(Ce,Ve,Xe){let ct=Ve.layout.get(\"text-transform\").evaluate(Xe,{});return ct===\"uppercase\"?Ce=Ce.toLocaleUpperCase():ct===\"lowercase\"&&(Ce=Ce.toLocaleLowerCase()),Js.applyArabicShaping&&(Ce=Js.applyArabicShaping(Ce)),Ce}(he.text,D,Y)}),q}ht([{name:\"triangle\",components:3,type:\"Uint16\"}]),ht([{type:\"Int16\",name:\"anchorX\"},{type:\"Int16\",name:\"anchorY\"},{type:\"Uint16\",name:\"glyphStartIndex\"},{type:\"Uint16\",name:\"numGlyphs\"},{type:\"Uint32\",name:\"vertexStartIndex\"},{type:\"Uint32\",name:\"lineStartIndex\"},{type:\"Uint32\",name:\"lineLength\"},{type:\"Uint16\",name:\"segment\"},{type:\"Uint16\",name:\"lowerSize\"},{type:\"Uint16\",name:\"upperSize\"},{type:\"Float32\",name:\"lineOffsetX\"},{type:\"Float32\",name:\"lineOffsetY\"},{type:\"Uint8\",name:\"writingMode\"},{type:\"Uint8\",name:\"placedOrientation\"},{type:\"Uint8\",name:\"hidden\"},{type:\"Uint32\",name:\"crossTileID\"},{type:\"Int16\",name:\"associatedIconIndex\"}]),ht([{type:\"Int16\",name:\"anchorX\"},{type:\"Int16\",name:\"anchorY\"},{type:\"Int16\",name:\"rightJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"centerJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"leftJustifiedTextSymbolIndex\"},{type:\"Int16\",name:\"verticalPlacedTextSymbolIndex\"},{type:\"Int16\",name:\"placedIconSymbolIndex\"},{type:\"Int16\",name:\"verticalPlacedIconSymbolIndex\"},{type:\"Uint16\",name:\"key\"},{type:\"Uint16\",name:\"textBoxStartIndex\"},{type:\"Uint16\",name:\"textBoxEndIndex\"},{type:\"Uint16\",name:\"verticalTextBoxStartIndex\"},{type:\"Uint16\",name:\"verticalTextBoxEndIndex\"},{type:\"Uint16\",name:\"iconBoxStartIndex\"},{type:\"Uint16\",name:\"iconBoxEndIndex\"},{type:\"Uint16\",name:\"verticalIconBoxStartIndex\"},{type:\"Uint16\",name:\"verticalIconBoxEndIndex\"},{type:\"Uint16\",name:\"featureIndex\"},{type:\"Uint16\",name:\"numHorizontalGlyphVertices\"},{type:\"Uint16\",name:\"numVerticalGlyphVertices\"},{type:\"Uint16\",name:\"numIconVertices\"},{type:\"Uint16\",name:\"numVerticalIconVertices\"},{type:\"Uint16\",name:\"useRuntimeCollisionCircles\"},{type:\"Uint32\",name:\"crossTileID\"},{type:\"Float32\",name:\"textBoxScale\"},{type:\"Float32\",name:\"collisionCircleDiameter\"},{type:\"Uint16\",name:\"textAnchorOffsetStartIndex\"},{type:\"Uint16\",name:\"textAnchorOffsetEndIndex\"}]),ht([{type:\"Float32\",name:\"offsetX\"}]),ht([{type:\"Int16\",name:\"x\"},{type:\"Int16\",name:\"y\"},{type:\"Int16\",name:\"tileUnitDistanceFromAnchor\"}]),ht([{type:\"Uint16\",name:\"textAnchor\"},{type:\"Float32\",components:2,name:\"textOffset\"}]);let Bu={\"!\":\"\\uFE15\",\"#\":\"\\uFF03\",$:\"\\uFF04\",\"%\":\"\\uFF05\",\"&\":\"\\uFF06\",\"(\":\"\\uFE35\",\")\":\"\\uFE36\",\"*\":\"\\uFF0A\",\"+\":\"\\uFF0B\",\",\":\"\\uFE10\",\"-\":\"\\uFE32\",\".\":\"\\u30FB\",\"/\":\"\\uFF0F\",\":\":\"\\uFE13\",\";\":\"\\uFE14\",\"<\":\"\\uFE3F\",\"=\":\"\\uFF1D\",\">\":\"\\uFE40\",\"?\":\"\\uFE16\",\"@\":\"\\uFF20\",\"[\":\"\\uFE47\",\"\\\\\":\"\\uFF3C\",\"]\":\"\\uFE48\",\"^\":\"\\uFF3E\",_:\"\\uFE33\",\"`\":\"\\uFF40\",\"{\":\"\\uFE37\",\"|\":\"\\u2015\",\"}\":\"\\uFE38\",\"~\":\"\\uFF5E\",\"\\xA2\":\"\\uFFE0\",\"\\xA3\":\"\\uFFE1\",\"\\xA5\":\"\\uFFE5\",\"\\xA6\":\"\\uFFE4\",\"\\xAC\":\"\\uFFE2\",\"\\xAF\":\"\\uFFE3\",\"\\u2013\":\"\\uFE32\",\"\\u2014\":\"\\uFE31\",\"\\u2018\":\"\\uFE43\",\"\\u2019\":\"\\uFE44\",\"\\u201C\":\"\\uFE41\",\"\\u201D\":\"\\uFE42\",\"\\u2026\":\"\\uFE19\",\"\\u2027\":\"\\u30FB\",\"\\u20A9\":\"\\uFFE6\",\"\\u3001\":\"\\uFE11\",\"\\u3002\":\"\\uFE12\",\"\\u3008\":\"\\uFE3F\",\"\\u3009\":\"\\uFE40\",\"\\u300A\":\"\\uFE3D\",\"\\u300B\":\"\\uFE3E\",\"\\u300C\":\"\\uFE41\",\"\\u300D\":\"\\uFE42\",\"\\u300E\":\"\\uFE43\",\"\\u300F\":\"\\uFE44\",\"\\u3010\":\"\\uFE3B\",\"\\u3011\":\"\\uFE3C\",\"\\u3014\":\"\\uFE39\",\"\\u3015\":\"\\uFE3A\",\"\\u3016\":\"\\uFE17\",\"\\u3017\":\"\\uFE18\",\"\\uFF01\":\"\\uFE15\",\"\\uFF08\":\"\\uFE35\",\"\\uFF09\":\"\\uFE36\",\"\\uFF0C\":\"\\uFE10\",\"\\uFF0D\":\"\\uFE32\",\"\\uFF0E\":\"\\u30FB\",\"\\uFF1A\":\"\\uFE13\",\"\\uFF1B\":\"\\uFE14\",\"\\uFF1C\":\"\\uFE3F\",\"\\uFF1E\":\"\\uFE40\",\"\\uFF1F\":\"\\uFE16\",\"\\uFF3B\":\"\\uFE47\",\"\\uFF3D\":\"\\uFE48\",\"\\uFF3F\":\"\\uFE33\",\"\\uFF5B\":\"\\uFE37\",\"\\uFF5C\":\"\\u2015\",\"\\uFF5D\":\"\\uFE38\",\"\\uFF5F\":\"\\uFE35\",\"\\uFF60\":\"\\uFE36\",\"\\uFF61\":\"\\uFE12\",\"\\uFF62\":\"\\uFE41\",\"\\uFF63\":\"\\uFE42\"};var Hl=24,vh=au,Bv=function(q,D,Y,he,Ce){var Ve,Xe,ct=8*Ce-he-1,At=(1<>1,er=-7,cr=Y?Ce-1:0,Sr=Y?-1:1,Nr=q[D+cr];for(cr+=Sr,Ve=Nr&(1<<-er)-1,Nr>>=-er,er+=ct;er>0;Ve=256*Ve+q[D+cr],cr+=Sr,er-=8);for(Xe=Ve&(1<<-er)-1,Ve>>=-er,er+=he;er>0;Xe=256*Xe+q[D+cr],cr+=Sr,er-=8);if(Ve===0)Ve=1-Ot;else{if(Ve===At)return Xe?NaN:1/0*(Nr?-1:1);Xe+=Math.pow(2,he),Ve-=Ot}return(Nr?-1:1)*Xe*Math.pow(2,Ve-he)},up=function(q,D,Y,he,Ce,Ve){var Xe,ct,At,Ot=8*Ve-Ce-1,er=(1<>1,Sr=Ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nr=he?0:Ve-1,rn=he?1:-1,mn=D<0||D===0&&1/D<0?1:0;for(D=Math.abs(D),isNaN(D)||D===1/0?(ct=isNaN(D)?1:0,Xe=er):(Xe=Math.floor(Math.log(D)/Math.LN2),D*(At=Math.pow(2,-Xe))<1&&(Xe--,At*=2),(D+=Xe+cr>=1?Sr/At:Sr*Math.pow(2,1-cr))*At>=2&&(Xe++,At/=2),Xe+cr>=er?(ct=0,Xe=er):Xe+cr>=1?(ct=(D*At-1)*Math.pow(2,Ce),Xe+=cr):(ct=D*Math.pow(2,cr-1)*Math.pow(2,Ce),Xe=0));Ce>=8;q[Y+Nr]=255&ct,Nr+=rn,ct/=256,Ce-=8);for(Xe=Xe<0;q[Y+Nr]=255&Xe,Nr+=rn,Xe/=256,Ot-=8);q[Y+Nr-rn]|=128*mn};function au(q){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(q)?q:new Uint8Array(q||0),this.pos=0,this.type=0,this.length=this.buf.length}au.Varint=0,au.Fixed64=1,au.Bytes=2,au.Fixed32=5;var rm=4294967296,xv=1/rm,rg=typeof TextDecoder>\"u\"?null:new TextDecoder(\"utf-8\");function ed(q){return q.type===au.Bytes?q.readVarint()+q.pos:q.pos+1}function bv(q,D,Y){return Y?4294967296*D+(q>>>0):4294967296*(D>>>0)+(q>>>0)}function ng(q,D,Y){var he=D<=16383?1:D<=2097151?2:D<=268435455?3:Math.floor(Math.log(D)/(7*Math.LN2));Y.realloc(he);for(var Ce=Y.pos-1;Ce>=q;Ce--)Y.buf[Ce+he]=Y.buf[Ce]}function nm(q,D){for(var Y=0;Y>>8,q[Y+2]=D>>>16,q[Y+3]=D>>>24}function r1(q,D){return(q[D]|q[D+1]<<8|q[D+2]<<16)+(q[D+3]<<24)}au.prototype={destroy:function(){this.buf=null},readFields:function(q,D,Y){for(Y=Y||this.length;this.pos>3,Ve=this.pos;this.type=7&he,q(Ce,D,this),this.pos===Ve&&this.skip(he)}return D},readMessage:function(q,D){return this.readFields(q,D,this.readVarint()+this.pos)},readFixed32:function(){var q=Nv(this.buf,this.pos);return this.pos+=4,q},readSFixed32:function(){var q=r1(this.buf,this.pos);return this.pos+=4,q},readFixed64:function(){var q=Nv(this.buf,this.pos)+Nv(this.buf,this.pos+4)*rm;return this.pos+=8,q},readSFixed64:function(){var q=Nv(this.buf,this.pos)+r1(this.buf,this.pos+4)*rm;return this.pos+=8,q},readFloat:function(){var q=Bv(this.buf,this.pos,!0,23,4);return this.pos+=4,q},readDouble:function(){var q=Bv(this.buf,this.pos,!0,52,8);return this.pos+=8,q},readVarint:function(q){var D,Y,he=this.buf;return D=127&(Y=he[this.pos++]),Y<128?D:(D|=(127&(Y=he[this.pos++]))<<7,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<14,Y<128?D:(D|=(127&(Y=he[this.pos++]))<<21,Y<128?D:function(Ce,Ve,Xe){var ct,At,Ot=Xe.buf;if(ct=(112&(At=Ot[Xe.pos++]))>>4,At<128||(ct|=(127&(At=Ot[Xe.pos++]))<<3,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<10,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<17,At<128)||(ct|=(127&(At=Ot[Xe.pos++]))<<24,At<128)||(ct|=(1&(At=Ot[Xe.pos++]))<<31,At<128))return bv(Ce,ct,Ve);throw new Error(\"Expected varint not more than 10 bytes\")}(D|=(15&(Y=he[this.pos]))<<28,q,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var q=this.readVarint();return q%2==1?(q+1)/-2:q/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var q=this.readVarint()+this.pos,D=this.pos;return this.pos=q,q-D>=12&&rg?function(Y,he,Ce){return rg.decode(Y.subarray(he,Ce))}(this.buf,D,q):function(Y,he,Ce){for(var Ve=\"\",Xe=he;Xe239?4:er>223?3:er>191?2:1;if(Xe+Sr>Ce)break;Sr===1?er<128&&(cr=er):Sr===2?(192&(ct=Y[Xe+1]))==128&&(cr=(31&er)<<6|63&ct)<=127&&(cr=null):Sr===3?(At=Y[Xe+2],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&((cr=(15&er)<<12|(63&ct)<<6|63&At)<=2047||cr>=55296&&cr<=57343)&&(cr=null)):Sr===4&&(At=Y[Xe+2],Ot=Y[Xe+3],(192&(ct=Y[Xe+1]))==128&&(192&At)==128&&(192&Ot)==128&&((cr=(15&er)<<18|(63&ct)<<12|(63&At)<<6|63&Ot)<=65535||cr>=1114112)&&(cr=null)),cr===null?(cr=65533,Sr=1):cr>65535&&(cr-=65536,Ve+=String.fromCharCode(cr>>>10&1023|55296),cr=56320|1023&cr),Ve+=String.fromCharCode(cr),Xe+=Sr}return Ve}(this.buf,D,q)},readBytes:function(){var q=this.readVarint()+this.pos,D=this.buf.subarray(this.pos,q);return this.pos=q,D},readPackedVarint:function(q,D){if(this.type!==au.Bytes)return q.push(this.readVarint(D));var Y=ed(this);for(q=q||[];this.pos127;);else if(D===au.Bytes)this.pos=this.readVarint()+this.pos;else if(D===au.Fixed32)this.pos+=4;else{if(D!==au.Fixed64)throw new Error(\"Unimplemented type: \"+D);this.pos+=8}},writeTag:function(q,D){this.writeVarint(q<<3|D)},realloc:function(q){for(var D=this.length||16;D268435455||q<0?function(D,Y){var he,Ce;if(D>=0?(he=D%4294967296|0,Ce=D/4294967296|0):(Ce=~(-D/4294967296),4294967295^(he=~(-D%4294967296))?he=he+1|0:(he=0,Ce=Ce+1|0)),D>=18446744073709552e3||D<-18446744073709552e3)throw new Error(\"Given varint doesn't fit into 10 bytes\");Y.realloc(10),function(Ve,Xe,ct){ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,Ve>>>=7,ct.buf[ct.pos++]=127&Ve|128,ct.buf[ct.pos]=127&(Ve>>>=7)}(he,0,Y),function(Ve,Xe){var ct=(7&Ve)<<4;Xe.buf[Xe.pos++]|=ct|((Ve>>>=3)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve|((Ve>>>=7)?128:0),Ve&&(Xe.buf[Xe.pos++]=127&Ve)))))}(Ce,Y)}(q,this):(this.realloc(4),this.buf[this.pos++]=127&q|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=127&(q>>>=7)|(q>127?128:0),q<=127||(this.buf[this.pos++]=q>>>7&127))))},writeSVarint:function(q){this.writeVarint(q<0?2*-q-1:2*q)},writeBoolean:function(q){this.writeVarint(!!q)},writeString:function(q){q=String(q),this.realloc(4*q.length),this.pos++;var D=this.pos;this.pos=function(he,Ce,Ve){for(var Xe,ct,At=0;At55295&&Xe<57344){if(!ct){Xe>56319||At+1===Ce.length?(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189):ct=Xe;continue}if(Xe<56320){he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=Xe;continue}Xe=ct-55296<<10|Xe-56320|65536,ct=null}else ct&&(he[Ve++]=239,he[Ve++]=191,he[Ve++]=189,ct=null);Xe<128?he[Ve++]=Xe:(Xe<2048?he[Ve++]=Xe>>6|192:(Xe<65536?he[Ve++]=Xe>>12|224:(he[Ve++]=Xe>>18|240,he[Ve++]=Xe>>12&63|128),he[Ve++]=Xe>>6&63|128),he[Ve++]=63&Xe|128)}return Ve}(this.buf,q,this.pos);var Y=this.pos-D;Y>=128&&ng(D,Y,this),this.pos=D-1,this.writeVarint(Y),this.pos+=Y},writeFloat:function(q){this.realloc(4),up(this.buf,q,this.pos,!0,23,4),this.pos+=4},writeDouble:function(q){this.realloc(8),up(this.buf,q,this.pos,!0,52,8),this.pos+=8},writeBytes:function(q){var D=q.length;this.writeVarint(D),this.realloc(D);for(var Y=0;Y=128&&ng(Y,he,this),this.pos=Y-1,this.writeVarint(he),this.pos+=he},writeMessage:function(q,D,Y){this.writeTag(q,au.Bytes),this.writeRawMessage(D,Y)},writePackedVarint:function(q,D){D.length&&this.writeMessage(q,nm,D)},writePackedSVarint:function(q,D){D.length&&this.writeMessage(q,Pb,D)},writePackedBoolean:function(q,D){D.length&&this.writeMessage(q,Db,D)},writePackedFloat:function(q,D){D.length&&this.writeMessage(q,Ib,D)},writePackedDouble:function(q,D){D.length&&this.writeMessage(q,Rb,D)},writePackedFixed32:function(q,D){D.length&&this.writeMessage(q,JM,D)},writePackedSFixed32:function(q,D){D.length&&this.writeMessage(q,zb,D)},writePackedFixed64:function(q,D){D.length&&this.writeMessage(q,Fb,D)},writePackedSFixed64:function(q,D){D.length&&this.writeMessage(q,Ob,D)},writeBytesField:function(q,D){this.writeTag(q,au.Bytes),this.writeBytes(D)},writeFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeFixed32(D)},writeSFixed32Field:function(q,D){this.writeTag(q,au.Fixed32),this.writeSFixed32(D)},writeFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeFixed64(D)},writeSFixed64Field:function(q,D){this.writeTag(q,au.Fixed64),this.writeSFixed64(D)},writeVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeVarint(D)},writeSVarintField:function(q,D){this.writeTag(q,au.Varint),this.writeSVarint(D)},writeStringField:function(q,D){this.writeTag(q,au.Bytes),this.writeString(D)},writeFloatField:function(q,D){this.writeTag(q,au.Fixed32),this.writeFloat(D)},writeDoubleField:function(q,D){this.writeTag(q,au.Fixed64),this.writeDouble(D)},writeBooleanField:function(q,D){this.writeVarintField(q,!!D)}};var yy=r(vh);let _y=3;function $M(q,D,Y){q===1&&Y.readMessage(Bb,D)}function Bb(q,D,Y){if(q===3){let{id:he,bitmap:Ce,width:Ve,height:Xe,left:ct,top:At,advance:Ot}=Y.readMessage(n1,{});D.push({id:he,bitmap:new ps({width:Ve+2*_y,height:Xe+2*_y},Ce),metrics:{width:Ve,height:Xe,left:ct,top:At,advance:Ot}})}}function n1(q,D,Y){q===1?D.id=Y.readVarint():q===2?D.bitmap=Y.readBytes():q===3?D.width=Y.readVarint():q===4?D.height=Y.readVarint():q===5?D.left=Y.readSVarint():q===6?D.top=Y.readSVarint():q===7&&(D.advance=Y.readVarint())}let i1=_y;function xy(q){let D=0,Y=0;for(let Xe of q)D+=Xe.w*Xe.h,Y=Math.max(Y,Xe.w);q.sort((Xe,ct)=>ct.h-Xe.h);let he=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(D/.95)),Y),h:1/0}],Ce=0,Ve=0;for(let Xe of q)for(let ct=he.length-1;ct>=0;ct--){let At=he[ct];if(!(Xe.w>At.w||Xe.h>At.h)){if(Xe.x=At.x,Xe.y=At.y,Ve=Math.max(Ve,Xe.y+Xe.h),Ce=Math.max(Ce,Xe.x+Xe.w),Xe.w===At.w&&Xe.h===At.h){let Ot=he.pop();ct=0&&he>=D&&og[this.text.charCodeAt(he)];he--)Y--;this.text=this.text.substring(D,Y),this.sectionIndex=this.sectionIndex.slice(D,Y)}substring(D,Y){let he=new cp;return he.text=this.text.substring(D,Y),he.sectionIndex=this.sectionIndex.slice(D,Y),he.sections=this.sections,he}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((D,Y)=>Math.max(D,this.sections[Y].scale),0)}addTextSection(D,Y){this.text+=D.text,this.sections.push(am.forText(D.scale,D.fontStack||Y));let he=this.sections.length-1;for(let Ce=0;Ce=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function om(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=cp.fromFeature(q,Ce),Gn;cr===e.ah.vertical&&mn.verticalizePunctuation();let{processBidirectionalText:ei,processStyledBidirectionalText:Ri}=Js;if(ei&&mn.sections.length===1){Gn=[];let Gi=ei(mn.toString(),fp(mn,Ot,Ve,D,he,Nr));for(let Ha of Gi){let Po=new cp;Po.text=Ha,Po.sections=mn.sections;for(let xs=0;xs0&&hd>Qc&&(Qc=hd)}else{let ic=Po[Gl.fontStack],lf=ic&&ic[Mu];if(lf&&lf.rect)gp=lf.rect,Mc=lf.metrics;else{let hd=Ha[Gl.fontStack],iv=hd&&hd[Mu];if(!iv)continue;Mc=iv.metrics}nd=(kf-Gl.scale)*Hl}fd?(Gi.verticalizable=!0,Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=kd*Gl.scale+ma):(Vf.push({glyph:Mu,imageName:Nd,x:ks,y:Au+nd,vertical:fd,scale:Gl.scale,fontStack:Gl.fontStack,sectionIndex:Nu,metrics:Mc,rect:gp}),ks+=Mc.advance*Gl.scale+ma)}Vf.length!==0&&(yu=Math.max(ks-ma,yu),wv(Vf,0,Vf.length-1,cd,Qc)),ks=0;let rd=Ra*kf+Qc;ih.lineOffset=Math.max(Qc,mh),Au+=rd,Ef=Math.max(rd,Ef),++nh}var Cf;let kh=Au-Sf,{horizontalAlign:Lh,verticalAlign:Ph}=lg(es);(function(jc,kf,mh,ih,Vf,Qc,rd,jh,Gl){let Nu=(kf-mh)*Vf,Mu=0;Mu=Qc!==rd?-jh*ih-Sf:(-ih*Gl+.5)*rd;for(let nd of jc)for(let Mc of nd.positionedGlyphs)Mc.x+=Nu,Mc.y+=Mu})(Gi.positionedLines,cd,Lh,Ph,yu,Ef,Ra,kh,_o.length),Gi.top+=-Ph*kh,Gi.bottom=Gi.top+kh,Gi.left+=-Lh*yu,Gi.right=Gi.left+yu}(Si,D,Y,he,Gn,Xe,ct,At,cr,Ot,Sr,rn),!function(Gi){for(let Ha of Gi)if(Ha.positionedGlyphs.length!==0)return!1;return!0}(fi)&&Si}let og={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Nb={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Ub={40:!0};function a1(q,D,Y,he,Ce,Ve){if(D.imageName){let Xe=he[D.imageName];return Xe?Xe.displaySize[0]*D.scale*Hl/Ve+Ce:0}{let Xe=Y[D.fontStack],ct=Xe&&Xe[q];return ct?ct.metrics.advance*D.scale+Ce:0}}function o1(q,D,Y,he){let Ce=Math.pow(q-D,2);return he?q=0,Ot=0;for(let cr=0;crOt){let er=Math.ceil(Ve/Ot);Ce*=er/Xe,Xe=er}return{x1:he,y1:Ce,x2:he+Ve,y2:Ce+Xe}}function u1(q,D,Y,he,Ce,Ve){let Xe=q.image,ct;if(Xe.content){let Gn=Xe.content,ei=Xe.pixelRatio||1;ct=[Gn[0]/ei,Gn[1]/ei,Xe.displaySize[0]-Gn[2]/ei,Xe.displaySize[1]-Gn[3]/ei]}let At=D.left*Ve,Ot=D.right*Ve,er,cr,Sr,Nr;Y===\"width\"||Y===\"both\"?(Nr=Ce[0]+At-he[3],cr=Ce[0]+Ot+he[1]):(Nr=Ce[0]+(At+Ot-Xe.displaySize[0])/2,cr=Nr+Xe.displaySize[0]);let rn=D.top*Ve,mn=D.bottom*Ve;return Y===\"height\"||Y===\"both\"?(er=Ce[1]+rn-he[0],Sr=Ce[1]+mn+he[2]):(er=Ce[1]+(rn+mn-Xe.displaySize[1])/2,Sr=er+Xe.displaySize[1]),{image:Xe,top:er,right:cr,bottom:Sr,left:Nr,collisionPadding:ct}}let lm=255,Bd=128,Tv=lm*Bd;function c1(q,D){let{expression:Y}=D;if(Y.kind===\"constant\")return{kind:\"constant\",layoutSize:Y.evaluate(new zs(q+1))};if(Y.kind===\"source\")return{kind:\"source\"};{let{zoomStops:he,interpolationType:Ce}=Y,Ve=0;for(;VeXe.id),this.index=D.index,this.pixelRatio=D.pixelRatio,this.sourceLayerIndex=D.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=Pa([]),this.placementViewportMatrix=Pa([]);let Y=this.layers[0]._unevaluatedLayout._values;this.textSizeData=c1(this.zoom,Y[\"text-size\"]),this.iconSizeData=c1(this.zoom,Y[\"icon-size\"]);let he=this.layers[0].layout,Ce=he.get(\"symbol-sort-key\"),Ve=he.get(\"symbol-z-order\");this.canOverlap=by(he,\"text-overlap\",\"text-allow-overlap\")!==\"never\"||by(he,\"icon-overlap\",\"icon-allow-overlap\")!==\"never\"||he.get(\"text-ignore-placement\")||he.get(\"icon-ignore-placement\"),this.sortFeaturesByKey=Ve!==\"viewport-y\"&&!Ce.isConstant(),this.sortFeaturesByY=(Ve===\"viewport-y\"||Ve===\"auto\"&&!this.sortFeaturesByKey)&&this.canOverlap,he.get(\"symbol-placement\")===\"point\"&&(this.writingModes=he.get(\"text-writing-mode\").map(Xe=>e.ah[Xe])),this.stateDependentLayerIds=this.layers.filter(Xe=>Xe.isStateDependent()).map(Xe=>Xe.id),this.sourceID=D.sourceID}createArrays(){this.text=new Ay(new tl(this.layers,this.zoom,D=>/^text/.test(D))),this.icon=new Ay(new tl(this.layers,this.zoom,D=>/^icon/.test(D))),this.glyphOffsetArray=new vs,this.lineVertexArray=new Fo,this.symbolInstances=new Io,this.textAnchorOffsets=new bs}calculateGlyphDependencies(D,Y,he,Ce,Ve){for(let Xe=0;Xe0)&&(Xe.value.kind!==\"constant\"||Xe.value.value.length>0),er=At.value.kind!==\"constant\"||!!At.value.value||Object.keys(At.parameters).length>0,cr=Ve.get(\"symbol-sort-key\");if(this.features=[],!Ot&&!er)return;let Sr=Y.iconDependencies,Nr=Y.glyphDependencies,rn=Y.availableImages,mn=new zs(this.zoom);for(let{feature:Gn,id:ei,index:Ri,sourceLayerIndex:fi}of D){let Si=Ce._featureFilter.needGeometry,Gi=Ul(Gn,Si);if(!Ce._featureFilter.filter(mn,Gi,he))continue;let Ha,Po;if(Si||(Gi.geometry=xl(Gn)),Ot){let _o=Ce.getValueAndResolveTokens(\"text-field\",Gi,he,rn),Ra=xn.factory(_o),es=this.hasRTLText=this.hasRTLText||Ty(Ra);(!es||Js.getRTLTextPluginStatus()===\"unavailable\"||es&&Js.isParsed())&&(Ha=_v(Ra,Ce,Gi))}if(er){let _o=Ce.getValueAndResolveTokens(\"icon-image\",Gi,he,rn);Po=_o instanceof ri?_o:ri.fromString(_o)}if(!Ha&&!Po)continue;let xs=this.sortFeaturesByKey?cr.evaluate(Gi,{},he):void 0;if(this.features.push({id:ei,text:Ha,icon:Po,index:Ri,sourceLayerIndex:fi,geometry:Gi.geometry,properties:Gn.properties,type:Vb[Gn.type],sortKey:xs}),Po&&(Sr[Po.name]=!0),Ha){let _o=Xe.evaluate(Gi,{},he).join(\",\"),Ra=Ve.get(\"text-rotation-alignment\")!==\"viewport\"&&Ve.get(\"symbol-placement\")!==\"point\";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(e.ah.vertical)>=0;for(let es of Ha.sections)if(es.image)Sr[es.image.name]=!0;else{let qo=Lo(Ha.toString()),Bo=es.fontStack||_o,ma=Nr[Bo]=Nr[Bo]||{};this.calculateGlyphDependencies(es.text,ma,Ra,this.allowVerticalPlacement,qo)}}}Ve.get(\"symbol-placement\")===\"line\"&&(this.features=function(Gn){let ei={},Ri={},fi=[],Si=0;function Gi(_o){fi.push(Gn[_o]),Si++}function Ha(_o,Ra,es){let qo=Ri[_o];return delete Ri[_o],Ri[Ra]=qo,fi[qo].geometry[0].pop(),fi[qo].geometry[0]=fi[qo].geometry[0].concat(es[0]),qo}function Po(_o,Ra,es){let qo=ei[Ra];return delete ei[Ra],ei[_o]=qo,fi[qo].geometry[0].shift(),fi[qo].geometry[0]=es[0].concat(fi[qo].geometry[0]),qo}function xs(_o,Ra,es){let qo=es?Ra[0][Ra[0].length-1]:Ra[0][0];return`${_o}:${qo.x}:${qo.y}`}for(let _o=0;_o_o.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((Gn,ei)=>Gn.sortKey-ei.sortKey)}update(D,Y,he){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(D,Y,this.layers,he),this.icon.programConfigurations.updatePaintArrays(D,Y,this.layers,he))}isEmpty(){return this.symbolInstances.length===0&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(D){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(D),this.iconCollisionBox.upload(D)),this.text.upload(D,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(D,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(D,Y){let he=this.lineVertexArray.length;if(D.segment!==void 0){let Ce=D.dist(Y[D.segment+1]),Ve=D.dist(Y[D.segment]),Xe={};for(let ct=D.segment+1;ct=0;ct--)Xe[ct]={x:Y[ct].x,y:Y[ct].y,tileUnitDistanceFromAnchor:Ve},ct>0&&(Ve+=Y[ct-1].dist(Y[ct]));for(let ct=0;ct0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(D,Y){let he=D.placedSymbolArray.get(Y),Ce=he.vertexStartIndex+4*he.numGlyphs;for(let Ve=he.vertexStartIndex;VeCe[ct]-Ce[At]||Ve[At]-Ve[ct]),Xe}addToSortKeyRanges(D,Y){let he=this.sortKeyRanges[this.sortKeyRanges.length-1];he&&he.sortKey===Y?he.symbolInstanceEnd=D+1:this.sortKeyRanges.push({sortKey:Y,symbolInstanceStart:D,symbolInstanceEnd:D+1})}sortFeatures(D){if(this.sortFeaturesByY&&this.sortedAngle!==D&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(D),this.sortedAngle=D,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(let Y of this.symbolInstanceIndexes){let he=this.symbolInstances.get(Y);this.featureSortOrder.push(he.featureIndex),[he.rightJustifiedTextSymbolIndex,he.centerJustifiedTextSymbolIndex,he.leftJustifiedTextSymbolIndex].forEach((Ce,Ve,Xe)=>{Ce>=0&&Xe.indexOf(Ce)===Ve&&this.addIndicesForPlacedSymbol(this.text,Ce)}),he.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,he.verticalPlacedTextSymbolIndex),he.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.placedIconSymbolIndex),he.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,he.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}let Uc,um;di(\"SymbolBucket\",hp,{omit:[\"layers\",\"collisionBoxArray\",\"features\",\"compareText\"]}),hp.MAX_GLYPHS=65535,hp.addDynamicAttributes=wy;var cg={get paint(){return um=um||new Ne({\"icon-opacity\":new Wo(ie.paint_symbol[\"icon-opacity\"]),\"icon-color\":new Wo(ie.paint_symbol[\"icon-color\"]),\"icon-halo-color\":new Wo(ie.paint_symbol[\"icon-halo-color\"]),\"icon-halo-width\":new Wo(ie.paint_symbol[\"icon-halo-width\"]),\"icon-halo-blur\":new Wo(ie.paint_symbol[\"icon-halo-blur\"]),\"icon-translate\":new bo(ie.paint_symbol[\"icon-translate\"]),\"icon-translate-anchor\":new bo(ie.paint_symbol[\"icon-translate-anchor\"]),\"text-opacity\":new Wo(ie.paint_symbol[\"text-opacity\"]),\"text-color\":new Wo(ie.paint_symbol[\"text-color\"],{runtimeType:Bt,getOverride:q=>q.textColor,hasOverride:q=>!!q.textColor}),\"text-halo-color\":new Wo(ie.paint_symbol[\"text-halo-color\"]),\"text-halo-width\":new Wo(ie.paint_symbol[\"text-halo-width\"]),\"text-halo-blur\":new Wo(ie.paint_symbol[\"text-halo-blur\"]),\"text-translate\":new bo(ie.paint_symbol[\"text-translate\"]),\"text-translate-anchor\":new bo(ie.paint_symbol[\"text-translate-anchor\"])})},get layout(){return Uc=Uc||new Ne({\"symbol-placement\":new bo(ie.layout_symbol[\"symbol-placement\"]),\"symbol-spacing\":new bo(ie.layout_symbol[\"symbol-spacing\"]),\"symbol-avoid-edges\":new bo(ie.layout_symbol[\"symbol-avoid-edges\"]),\"symbol-sort-key\":new Wo(ie.layout_symbol[\"symbol-sort-key\"]),\"symbol-z-order\":new bo(ie.layout_symbol[\"symbol-z-order\"]),\"icon-allow-overlap\":new bo(ie.layout_symbol[\"icon-allow-overlap\"]),\"icon-overlap\":new bo(ie.layout_symbol[\"icon-overlap\"]),\"icon-ignore-placement\":new bo(ie.layout_symbol[\"icon-ignore-placement\"]),\"icon-optional\":new bo(ie.layout_symbol[\"icon-optional\"]),\"icon-rotation-alignment\":new bo(ie.layout_symbol[\"icon-rotation-alignment\"]),\"icon-size\":new Wo(ie.layout_symbol[\"icon-size\"]),\"icon-text-fit\":new bo(ie.layout_symbol[\"icon-text-fit\"]),\"icon-text-fit-padding\":new bo(ie.layout_symbol[\"icon-text-fit-padding\"]),\"icon-image\":new Wo(ie.layout_symbol[\"icon-image\"]),\"icon-rotate\":new Wo(ie.layout_symbol[\"icon-rotate\"]),\"icon-padding\":new Wo(ie.layout_symbol[\"icon-padding\"]),\"icon-keep-upright\":new bo(ie.layout_symbol[\"icon-keep-upright\"]),\"icon-offset\":new Wo(ie.layout_symbol[\"icon-offset\"]),\"icon-anchor\":new Wo(ie.layout_symbol[\"icon-anchor\"]),\"icon-pitch-alignment\":new bo(ie.layout_symbol[\"icon-pitch-alignment\"]),\"text-pitch-alignment\":new bo(ie.layout_symbol[\"text-pitch-alignment\"]),\"text-rotation-alignment\":new bo(ie.layout_symbol[\"text-rotation-alignment\"]),\"text-field\":new Wo(ie.layout_symbol[\"text-field\"]),\"text-font\":new Wo(ie.layout_symbol[\"text-font\"]),\"text-size\":new Wo(ie.layout_symbol[\"text-size\"]),\"text-max-width\":new Wo(ie.layout_symbol[\"text-max-width\"]),\"text-line-height\":new bo(ie.layout_symbol[\"text-line-height\"]),\"text-letter-spacing\":new Wo(ie.layout_symbol[\"text-letter-spacing\"]),\"text-justify\":new Wo(ie.layout_symbol[\"text-justify\"]),\"text-radial-offset\":new Wo(ie.layout_symbol[\"text-radial-offset\"]),\"text-variable-anchor\":new bo(ie.layout_symbol[\"text-variable-anchor\"]),\"text-variable-anchor-offset\":new Wo(ie.layout_symbol[\"text-variable-anchor-offset\"]),\"text-anchor\":new Wo(ie.layout_symbol[\"text-anchor\"]),\"text-max-angle\":new bo(ie.layout_symbol[\"text-max-angle\"]),\"text-writing-mode\":new bo(ie.layout_symbol[\"text-writing-mode\"]),\"text-rotate\":new Wo(ie.layout_symbol[\"text-rotate\"]),\"text-padding\":new bo(ie.layout_symbol[\"text-padding\"]),\"text-keep-upright\":new bo(ie.layout_symbol[\"text-keep-upright\"]),\"text-transform\":new Wo(ie.layout_symbol[\"text-transform\"]),\"text-offset\":new Wo(ie.layout_symbol[\"text-offset\"]),\"text-allow-overlap\":new bo(ie.layout_symbol[\"text-allow-overlap\"]),\"text-overlap\":new bo(ie.layout_symbol[\"text-overlap\"]),\"text-ignore-placement\":new bo(ie.layout_symbol[\"text-ignore-placement\"]),\"text-optional\":new bo(ie.layout_symbol[\"text-optional\"])})}};class cm{constructor(D){if(D.property.overrides===void 0)throw new Error(\"overrides must be provided to instantiate FormatSectionOverride class\");this.type=D.property.overrides?D.property.overrides.runtimeType:ot,this.defaultValue=D}evaluate(D){if(D.formattedSection){let Y=this.defaultValue.property.overrides;if(Y&&Y.hasOverride(D.formattedSection))return Y.getOverride(D.formattedSection)}return D.feature&&D.featureState?this.defaultValue.evaluate(D.feature,D.featureState):this.defaultValue.property.specification.default}eachChild(D){this.defaultValue.isConstant()||D(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}di(\"FormatSectionOverride\",cm,{omit:[\"defaultValue\"]});class Uv extends ne{constructor(D){super(D,cg)}recalculate(D,Y){if(super.recalculate(D,Y),this.layout.get(\"icon-rotation-alignment\")===\"auto\"&&(this.layout._values[\"icon-rotation-alignment\"]=this.layout.get(\"symbol-placement\")!==\"point\"?\"map\":\"viewport\"),this.layout.get(\"text-rotation-alignment\")===\"auto\"&&(this.layout._values[\"text-rotation-alignment\"]=this.layout.get(\"symbol-placement\")!==\"point\"?\"map\":\"viewport\"),this.layout.get(\"text-pitch-alignment\")===\"auto\"&&(this.layout._values[\"text-pitch-alignment\"]=this.layout.get(\"text-rotation-alignment\")===\"map\"?\"map\":\"viewport\"),this.layout.get(\"icon-pitch-alignment\")===\"auto\"&&(this.layout._values[\"icon-pitch-alignment\"]=this.layout.get(\"icon-rotation-alignment\")),this.layout.get(\"symbol-placement\")===\"point\"){let he=this.layout.get(\"text-writing-mode\");if(he){let Ce=[];for(let Ve of he)Ce.indexOf(Ve)<0&&Ce.push(Ve);this.layout._values[\"text-writing-mode\"]=Ce}else this.layout._values[\"text-writing-mode\"]=[\"horizontal\"]}this._setPaintOverrides()}getValueAndResolveTokens(D,Y,he,Ce){let Ve=this.layout.get(D).evaluate(Y,{},he,Ce),Xe=this._unevaluatedLayout._values[D];return Xe.isDataDriven()||yc(Xe.value)||!Ve?Ve:function(ct,At){return At.replace(/{([^{}]+)}/g,(Ot,er)=>ct&&er in ct?String(ct[er]):\"\")}(Y.properties,Ve)}createBucket(D){return new hp(D)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error(\"Should take a different path in FeatureIndex\")}_setPaintOverrides(){for(let D of cg.paint.overridableProperties){if(!Uv.hasPaintOverride(this.layout,D))continue;let Y=this.paint.get(D),he=new cm(Y),Ce=new Ru(he,Y.property.specification),Ve=null;Ve=Y.value.kind===\"constant\"||Y.value.kind===\"source\"?new Rc(\"source\",Ce):new tc(\"composite\",Ce,Y.value.zoomStops),this.paint._values[D]=new Fu(Y.property,Ve,Y.parameters)}}_handleOverridablePaintPropertyUpdate(D,Y,he){return!(!this.layout||Y.isDataDriven()||he.isDataDriven())&&Uv.hasPaintOverride(this.layout,D)}static hasPaintOverride(D,Y){let he=D.get(\"text-field\"),Ce=cg.paint.properties[Y],Ve=!1,Xe=ct=>{for(let At of ct)if(Ce.overrides&&Ce.overrides.hasOverride(At))return void(Ve=!0)};if(he.value.kind===\"constant\"&&he.value.value instanceof xn)Xe(he.value.value.sections);else if(he.value.kind===\"source\"){let ct=Ot=>{Ve||(Ot instanceof Pr&>(Ot.value)===Rr?Xe(Ot.value.sections):Ot instanceof Ls?Xe(Ot.sections):Ot.eachChild(ct))},At=he.value;At._styleExpression&&ct(At._styleExpression.expression)}return Ve}}let f1;var fm={get paint(){return f1=f1||new Ne({\"background-color\":new bo(ie.paint_background[\"background-color\"]),\"background-pattern\":new hc(ie.paint_background[\"background-pattern\"]),\"background-opacity\":new bo(ie.paint_background[\"background-opacity\"])})}};class Hb extends ne{constructor(D){super(D,fm)}}let My;var h1={get paint(){return My=My||new Ne({\"raster-opacity\":new bo(ie.paint_raster[\"raster-opacity\"]),\"raster-hue-rotate\":new bo(ie.paint_raster[\"raster-hue-rotate\"]),\"raster-brightness-min\":new bo(ie.paint_raster[\"raster-brightness-min\"]),\"raster-brightness-max\":new bo(ie.paint_raster[\"raster-brightness-max\"]),\"raster-saturation\":new bo(ie.paint_raster[\"raster-saturation\"]),\"raster-contrast\":new bo(ie.paint_raster[\"raster-contrast\"]),\"raster-resampling\":new bo(ie.paint_raster[\"raster-resampling\"]),\"raster-fade-duration\":new bo(ie.paint_raster[\"raster-fade-duration\"])})}};class hm extends ne{constructor(D){super(D,h1)}}class Sy extends ne{constructor(D){super(D,{}),this.onAdd=Y=>{this.implementation.onAdd&&this.implementation.onAdd(Y,Y.painter.context.gl)},this.onRemove=Y=>{this.implementation.onRemove&&this.implementation.onRemove(Y,Y.painter.context.gl)},this.implementation=D}is3D(){return this.implementation.renderingMode===\"3d\"}hasOffscreenPass(){return this.implementation.prerender!==void 0}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error(\"Custom layers cannot be serialized\")}}class Ey{constructor(D){this._methodToThrottle=D,this._triggered=!1,typeof MessageChannel<\"u\"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._methodToThrottle()},0))}remove(){delete this._channel,this._methodToThrottle=()=>{}}}let Cy=63710088e-1;class tv{constructor(D,Y){if(isNaN(D)||isNaN(Y))throw new Error(`Invalid LngLat object: (${D}, ${Y})`);if(this.lng=+D,this.lat=+Y,this.lat>90||this.lat<-90)throw new Error(\"Invalid LngLat latitude value: must be between -90 and 90\")}wrap(){return new tv(M(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(D){let Y=Math.PI/180,he=this.lat*Y,Ce=D.lat*Y,Ve=Math.sin(he)*Math.sin(Ce)+Math.cos(he)*Math.cos(Ce)*Math.cos((D.lng-this.lng)*Y);return Cy*Math.acos(Math.min(Ve,1))}static convert(D){if(D instanceof tv)return D;if(Array.isArray(D)&&(D.length===2||D.length===3))return new tv(Number(D[0]),Number(D[1]));if(!Array.isArray(D)&&typeof D==\"object\"&&D!==null)return new tv(Number(\"lng\"in D?D.lng:D.lon),Number(D.lat));throw new Error(\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]\")}}let dp=2*Math.PI*Cy;function d1(q){return dp*Math.cos(q*Math.PI/180)}function fg(q){return(180+q)/360}function v1(q){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+q*Math.PI/360)))/360}function hg(q,D){return q/d1(D)}function dm(q){return 360/Math.PI*Math.atan(Math.exp((180-360*q)*Math.PI/180))-90}class vm{constructor(D,Y,he=0){this.x=+D,this.y=+Y,this.z=+he}static fromLngLat(D,Y=0){let he=tv.convert(D);return new vm(fg(he.lng),v1(he.lat),hg(Y,he.lat))}toLngLat(){return new tv(360*this.x-180,dm(this.y))}toAltitude(){return this.z*d1(dm(this.y))}meterInMercatorCoordinateUnits(){return 1/dp*(D=dm(this.y),1/Math.cos(D*Math.PI/180));var D}}function bd(q,D,Y){var he=2*Math.PI*6378137/256/Math.pow(2,Y);return[q*he-2*Math.PI*6378137/2,D*he-2*Math.PI*6378137/2]}class ky{constructor(D,Y,he){if(!function(Ce,Ve,Xe){return!(Ce<0||Ce>25||Xe<0||Xe>=Math.pow(2,Ce)||Ve<0||Ve>=Math.pow(2,Ce))}(D,Y,he))throw new Error(`x=${Y}, y=${he}, z=${D} outside of bounds. 0<=x<${Math.pow(2,D)}, 0<=y<${Math.pow(2,D)} 0<=z<=25 `);this.z=D,this.x=Y,this.y=he,this.key=pm(0,D,D,Y,he)}equals(D){return this.z===D.z&&this.x===D.x&&this.y===D.y}url(D,Y,he){let Ce=(Xe=this.y,ct=this.z,At=bd(256*(Ve=this.x),256*(Xe=Math.pow(2,ct)-Xe-1),ct),Ot=bd(256*(Ve+1),256*(Xe+1),ct),At[0]+\",\"+At[1]+\",\"+Ot[0]+\",\"+Ot[1]);var Ve,Xe,ct,At,Ot;let er=function(cr,Sr,Nr){let rn,mn=\"\";for(let Gn=cr;Gn>0;Gn--)rn=1<1?\"@2x\":\"\").replace(/{quadkey}/g,er).replace(/{bbox-epsg-3857}/g,Ce)}isChildOf(D){let Y=this.z-D.z;return Y>0&&D.x===this.x>>Y&&D.y===this.y>>Y}getTilePoint(D){let Y=Math.pow(2,this.z);return new i((D.x*Y-this.x)*wo,(D.y*Y-this.y)*wo)}toString(){return`${this.z}/${this.x}/${this.y}`}}class p1{constructor(D,Y){this.wrap=D,this.canonical=Y,this.key=pm(D,Y.z,Y.z,Y.x,Y.y)}}class ud{constructor(D,Y,he,Ce,Ve){if(D= z; overscaledZ = ${D}; z = ${he}`);this.overscaledZ=D,this.wrap=Y,this.canonical=new ky(he,+Ce,+Ve),this.key=pm(Y,D,he,Ce,Ve)}clone(){return new ud(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(D){return this.overscaledZ===D.overscaledZ&&this.wrap===D.wrap&&this.canonical.equals(D.canonical)}scaledTo(D){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let Y=this.canonical.z-D;return D>this.canonical.z?new ud(D,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ud(D,this.wrap,D,this.canonical.x>>Y,this.canonical.y>>Y)}calculateScaledKey(D,Y){if(D>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${D}; overscaledZ = ${this.overscaledZ}`);let he=this.canonical.z-D;return D>this.canonical.z?pm(this.wrap*+Y,D,this.canonical.z,this.canonical.x,this.canonical.y):pm(this.wrap*+Y,D,D,this.canonical.x>>he,this.canonical.y>>he)}isChildOf(D){if(D.wrap!==this.wrap)return!1;let Y=this.canonical.z-D.canonical.z;return D.overscaledZ===0||D.overscaledZ>Y&&D.canonical.y===this.canonical.y>>Y}children(D){if(this.overscaledZ>=D)return[new ud(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];let Y=this.canonical.z+1,he=2*this.canonical.x,Ce=2*this.canonical.y;return[new ud(Y,this.wrap,Y,he,Ce),new ud(Y,this.wrap,Y,he+1,Ce),new ud(Y,this.wrap,Y,he,Ce+1),new ud(Y,this.wrap,Y,he+1,Ce+1)]}isLessThan(D){return this.wrapD.wrap)&&(this.overscaledZD.overscaledZ)&&(this.canonical.xD.canonical.x)&&this.canonical.ythis.max&&(this.max=cr),cr=this.dim+1||Y<-1||Y>=this.dim+1)throw new RangeError(\"out of range source coordinates for DEM data\");return(Y+1)*this.stride+(D+1)}unpack(D,Y,he){return D*this.redFactor+Y*this.greenFactor+he*this.blueFactor-this.baseShift}getPixels(){return new Na({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(D,Y,he){if(this.dim!==D.dim)throw new Error(\"dem dimension mismatch\");let Ce=Y*this.dim,Ve=Y*this.dim+this.dim,Xe=he*this.dim,ct=he*this.dim+this.dim;switch(Y){case-1:Ce=Ve-1;break;case 1:Ve=Ce+1}switch(he){case-1:Xe=ct-1;break;case 1:ct=Xe+1}let At=-Y*this.dim,Ot=-he*this.dim;for(let er=Xe;er=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${D} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[D]}}class Ly{constructor(D,Y,he,Ce,Ve){this.type=\"Feature\",this._vectorTileFeature=D,D._z=Y,D._x=he,D._y=Ce,this.properties=D.properties,this.id=Ve}get geometry(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(D){this._geometry=D}toJSON(){let D={geometry:this.geometry};for(let Y in this)Y!==\"_geometry\"&&Y!==\"_vectorTileFeature\"&&(D[Y]=this[Y]);return D}}class jv{constructor(D,Y){this.tileID=D,this.x=D.canonical.x,this.y=D.canonical.y,this.z=D.canonical.z,this.grid=new zi(wo,16,0),this.grid3D=new zi(wo,16,0),this.featureIndexArray=new al,this.promoteId=Y}insert(D,Y,he,Ce,Ve,Xe){let ct=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(he,Ce,Ve);let At=Xe?this.grid3D:this.grid;for(let Ot=0;Ot=0&&cr[3]>=0&&At.insert(ct,cr[0],cr[1],cr[2],cr[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new Xn.VectorTile(new yy(this.rawTileData)).layers,this.sourceLayerCoder=new g1(this.vtLayers?Object.keys(this.vtLayers).sort():[\"_geojsonTileLayer\"])),this.vtLayers}query(D,Y,he,Ce){this.loadVTLayers();let Ve=D.params||{},Xe=wo/D.tileSize/D.scale,ct=_c(Ve.filter),At=D.queryGeometry,Ot=D.queryPadding*Xe,er=_1(At),cr=this.grid.query(er.minX-Ot,er.minY-Ot,er.maxX+Ot,er.maxY+Ot),Sr=_1(D.cameraQueryGeometry),Nr=this.grid3D.query(Sr.minX-Ot,Sr.minY-Ot,Sr.maxX+Ot,Sr.maxY+Ot,(Gn,ei,Ri,fi)=>function(Si,Gi,Ha,Po,xs){for(let Ra of Si)if(Gi<=Ra.x&&Ha<=Ra.y&&Po>=Ra.x&&xs>=Ra.y)return!0;let _o=[new i(Gi,Ha),new i(Gi,xs),new i(Po,xs),new i(Po,Ha)];if(Si.length>2){for(let Ra of _o)if(Ca(Si,Ra))return!0}for(let Ra=0;Ra(fi||(fi=xl(Si)),Gi.queryIntersectsFeature(At,Si,Ha,fi,this.z,D.transform,Xe,D.pixelPosMatrix)))}return rn}loadMatchingFeature(D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr){let Sr=this.bucketLayerIDs[Y];if(Xe&&!function(Gn,ei){for(let Ri=0;Ri=0)return!0;return!1}(Xe,Sr))return;let Nr=this.sourceLayerCoder.decode(he),rn=this.vtLayers[Nr].feature(Ce);if(Ve.needGeometry){let Gn=Ul(rn,!0);if(!Ve.filter(new zs(this.tileID.overscaledZ),Gn,this.tileID.canonical))return}else if(!Ve.filter(new zs(this.tileID.overscaledZ),rn))return;let mn=this.getId(rn,Nr);for(let Gn=0;Gn{let ct=D instanceof wc?D.get(Xe):null;return ct&&ct.evaluate?ct.evaluate(Y,he,Ce):ct})}function _1(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return{minX:D,minY:Y,maxX:he,maxY:Ce}}function Gb(q,D){return D-q}function x1(q,D,Y,he,Ce){let Ve=[];for(let Xe=0;Xe=he&&cr.x>=he||(er.x>=he?er=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round():cr.x>=he&&(cr=new i(he,er.y+(he-er.x)/(cr.x-er.x)*(cr.y-er.y))._round()),er.y>=Ce&&cr.y>=Ce||(er.y>=Ce?er=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round():cr.y>=Ce&&(cr=new i(er.x+(Ce-er.y)/(cr.y-er.y)*(cr.x-er.x),Ce)._round()),At&&er.equals(At[At.length-1])||(At=[er],Ve.push(At)),At.push(cr)))))}}return Ve}di(\"FeatureIndex\",jv,{omit:[\"rawTileData\",\"sourceLayerCoder\"]});class rv extends i{constructor(D,Y,he,Ce){super(D,Y),this.angle=he,Ce!==void 0&&(this.segment=Ce)}clone(){return new rv(this.x,this.y,this.angle,this.segment)}}function Py(q,D,Y,he,Ce){if(D.segment===void 0||Y===0)return!0;let Ve=D,Xe=D.segment+1,ct=0;for(;ct>-Y/2;){if(Xe--,Xe<0)return!1;ct-=q[Xe].dist(Ve),Ve=q[Xe]}ct+=q[Xe].dist(q[Xe+1]),Xe++;let At=[],Ot=0;for(;cthe;)Ot-=At.shift().angleDelta;if(Ot>Ce)return!1;Xe++,ct+=er.dist(cr)}return!0}function b1(q){let D=0;for(let Y=0;YOt){let rn=(Ot-At)/Nr,mn=yo.number(cr.x,Sr.x,rn),Gn=yo.number(cr.y,Sr.y,rn),ei=new rv(mn,Gn,Sr.angleTo(cr),er);return ei._round(),!Xe||Py(q,ei,ct,Xe,D)?ei:void 0}At+=Nr}}function Xb(q,D,Y,he,Ce,Ve,Xe,ct,At){let Ot=w1(he,Ve,Xe),er=T1(he,Ce),cr=er*Xe,Sr=q[0].x===0||q[0].x===At||q[0].y===0||q[0].y===At;return D-cr=0&&Si=0&&Gi=0&&Sr+Ot<=er){let Ha=new rv(Si,Gi,Ri,rn);Ha._round(),he&&!Py(q,Ha,Ve,he,Ce)||Nr.push(Ha)}}cr+=ei}return ct||Nr.length||Xe||(Nr=A1(q,cr/2,Y,he,Ce,Ve,Xe,!0,At)),Nr}di(\"Anchor\",rv);let vp=ph;function M1(q,D,Y,he){let Ce=[],Ve=q.image,Xe=Ve.pixelRatio,ct=Ve.paddedRect.w-2*vp,At=Ve.paddedRect.h-2*vp,Ot={x1:q.left,y1:q.top,x2:q.right,y2:q.bottom},er=Ve.stretchX||[[0,ct]],cr=Ve.stretchY||[[0,At]],Sr=(ma,us)=>ma+us[1]-us[0],Nr=er.reduce(Sr,0),rn=cr.reduce(Sr,0),mn=ct-Nr,Gn=At-rn,ei=0,Ri=Nr,fi=0,Si=rn,Gi=0,Ha=mn,Po=0,xs=Gn;if(Ve.content&&he){let ma=Ve.content,us=ma[2]-ma[0],No=ma[3]-ma[1];(Ve.textFitWidth||Ve.textFitHeight)&&(Ot=l1(q)),ei=nv(er,0,ma[0]),fi=nv(cr,0,ma[1]),Ri=nv(er,ma[0],ma[2]),Si=nv(cr,ma[1],ma[3]),Gi=ma[0]-ei,Po=ma[1]-fi,Ha=us-Ri,xs=No-Si}let _o=Ot.x1,Ra=Ot.y1,es=Ot.x2-_o,qo=Ot.y2-Ra,Bo=(ma,us,No,ks)=>{let Au=dg(ma.stretch-ei,Ri,es,_o),yu=pp(ma.fixed-Gi,Ha,ma.stretch,Nr),Ef=dg(us.stretch-fi,Si,qo,Ra),cd=pp(us.fixed-Po,xs,us.stretch,rn),nh=dg(No.stretch-ei,Ri,es,_o),Cf=pp(No.fixed-Gi,Ha,No.stretch,Nr),kh=dg(ks.stretch-fi,Si,qo,Ra),Lh=pp(ks.fixed-Po,xs,ks.stretch,rn),Ph=new i(Au,Ef),jc=new i(nh,Ef),kf=new i(nh,kh),mh=new i(Au,kh),ih=new i(yu/Xe,cd/Xe),Vf=new i(Cf/Xe,Lh/Xe),Qc=D*Math.PI/180;if(Qc){let Gl=Math.sin(Qc),Nu=Math.cos(Qc),Mu=[Nu,-Gl,Gl,Nu];Ph._matMult(Mu),jc._matMult(Mu),mh._matMult(Mu),kf._matMult(Mu)}let rd=ma.stretch+ma.fixed,jh=us.stretch+us.fixed;return{tl:Ph,tr:jc,bl:mh,br:kf,tex:{x:Ve.paddedRect.x+vp+rd,y:Ve.paddedRect.y+vp+jh,w:No.stretch+No.fixed-rd,h:ks.stretch+ks.fixed-jh},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:ih,pixelOffsetBR:Vf,minFontScaleX:Ha/Xe/es,minFontScaleY:xs/Xe/qo,isSDF:Y}};if(he&&(Ve.stretchX||Ve.stretchY)){let ma=S1(er,mn,Nr),us=S1(cr,Gn,rn);for(let No=0;No0&&(mn=Math.max(10,mn),this.circleDiameter=mn)}else{let Sr=!((cr=Xe.image)===null||cr===void 0)&&cr.content&&(Xe.image.textFitWidth||Xe.image.textFitHeight)?l1(Xe):{x1:Xe.left,y1:Xe.top,x2:Xe.right,y2:Xe.bottom};Sr.y1=Sr.y1*ct-At[0],Sr.y2=Sr.y2*ct+At[2],Sr.x1=Sr.x1*ct-At[3],Sr.x2=Sr.x2*ct+At[1];let Nr=Xe.collisionPadding;if(Nr&&(Sr.x1-=Nr[0]*ct,Sr.y1-=Nr[1]*ct,Sr.x2+=Nr[2]*ct,Sr.y2+=Nr[3]*ct),er){let rn=new i(Sr.x1,Sr.y1),mn=new i(Sr.x2,Sr.y1),Gn=new i(Sr.x1,Sr.y2),ei=new i(Sr.x2,Sr.y2),Ri=er*Math.PI/180;rn._rotate(Ri),mn._rotate(Ri),Gn._rotate(Ri),ei._rotate(Ri),Sr.x1=Math.min(rn.x,mn.x,Gn.x,ei.x),Sr.x2=Math.max(rn.x,mn.x,Gn.x,ei.x),Sr.y1=Math.min(rn.y,mn.y,Gn.y,ei.y),Sr.y2=Math.max(rn.y,mn.y,Gn.y,ei.y)}D.emplaceBack(Y.x,Y.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,he,Ce,Ve)}this.boxEndIndex=D.length}}class Cd{constructor(D=[],Y=(he,Ce)=>heCe?1:0){if(this.data=D,this.length=this.data.length,this.compare=Y,this.length>0)for(let he=(this.length>>1)-1;he>=0;he--)this._down(he)}push(D){this.data.push(D),this._up(this.length++)}pop(){if(this.length===0)return;let D=this.data[0],Y=this.data.pop();return--this.length>0&&(this.data[0]=Y,this._down(0)),D}peek(){return this.data[0]}_up(D){let{data:Y,compare:he}=this,Ce=Y[D];for(;D>0;){let Ve=D-1>>1,Xe=Y[Ve];if(he(Ce,Xe)>=0)break;Y[D]=Xe,D=Ve}Y[D]=Ce}_down(D){let{data:Y,compare:he}=this,Ce=this.length>>1,Ve=Y[D];for(;D=0)break;Y[D]=Y[Xe],D=Xe}Y[D]=Ve}}function Zb(q,D=1,Y=!1){let he=1/0,Ce=1/0,Ve=-1/0,Xe=-1/0,ct=q[0];for(let Nr=0;NrVe)&&(Ve=rn.x),(!Nr||rn.y>Xe)&&(Xe=rn.y)}let At=Math.min(Ve-he,Xe-Ce),Ot=At/2,er=new Cd([],Yb);if(At===0)return new i(he,Ce);for(let Nr=he;Nrcr.d||!cr.d)&&(cr=Nr,Y&&console.log(\"found best %d after %d probes\",Math.round(1e4*Nr.d)/1e4,Sr)),Nr.max-cr.d<=D||(Ot=Nr.h/2,er.push(new mp(Nr.p.x-Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y-Ot,Ot,q)),er.push(new mp(Nr.p.x-Ot,Nr.p.y+Ot,Ot,q)),er.push(new mp(Nr.p.x+Ot,Nr.p.y+Ot,Ot,q)),Sr+=4)}return Y&&(console.log(`num probes: ${Sr}`),console.log(`best distance: ${cr.d}`)),cr.p}function Yb(q,D){return D.max-q.max}function mp(q,D,Y,he){this.p=new i(q,D),this.h=Y,this.d=function(Ce,Ve){let Xe=!1,ct=1/0;for(let At=0;AtCe.y!=rn.y>Ce.y&&Ce.x<(rn.x-Nr.x)*(Ce.y-Nr.y)/(rn.y-Nr.y)+Nr.x&&(Xe=!Xe),ct=Math.min(ct,Oi(Ce,Nr,rn))}}return(Xe?1:-1)*Math.sqrt(ct)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}var rh;e.aq=void 0,(rh=e.aq||(e.aq={}))[rh.center=1]=\"center\",rh[rh.left=2]=\"left\",rh[rh.right=3]=\"right\",rh[rh.top=4]=\"top\",rh[rh.bottom=5]=\"bottom\",rh[rh[\"top-left\"]=6]=\"top-left\",rh[rh[\"top-right\"]=7]=\"top-right\",rh[rh[\"bottom-left\"]=8]=\"bottom-left\",rh[rh[\"bottom-right\"]=9]=\"bottom-right\";let Sv=7,Vv=Number.POSITIVE_INFINITY;function Iy(q,D){return D[1]!==Vv?function(Y,he,Ce){let Ve=0,Xe=0;switch(he=Math.abs(he),Ce=Math.abs(Ce),Y){case\"top-right\":case\"top-left\":case\"top\":Xe=Ce-Sv;break;case\"bottom-right\":case\"bottom-left\":case\"bottom\":Xe=-Ce+Sv}switch(Y){case\"top-right\":case\"bottom-right\":case\"right\":Ve=-he;break;case\"top-left\":case\"bottom-left\":case\"left\":Ve=he}return[Ve,Xe]}(q,D[0],D[1]):function(Y,he){let Ce=0,Ve=0;he<0&&(he=0);let Xe=he/Math.SQRT2;switch(Y){case\"top-right\":case\"top-left\":Ve=Xe-Sv;break;case\"bottom-right\":case\"bottom-left\":Ve=-Xe+Sv;break;case\"bottom\":Ve=-he+Sv;break;case\"top\":Ve=he-Sv}switch(Y){case\"top-right\":case\"bottom-right\":Ce=-Xe;break;case\"top-left\":case\"bottom-left\":Ce=Xe;break;case\"left\":Ce=he;break;case\"right\":Ce=-he}return[Ce,Ve]}(q,D[0])}function E1(q,D,Y){var he;let Ce=q.layout,Ve=(he=Ce.get(\"text-variable-anchor-offset\"))===null||he===void 0?void 0:he.evaluate(D,{},Y);if(Ve){let ct=Ve.values,At=[];for(let Ot=0;OtSr*Hl);er.startsWith(\"top\")?cr[1]-=Sv:er.startsWith(\"bottom\")&&(cr[1]+=Sv),At[Ot+1]=cr}return new Wn(At)}let Xe=Ce.get(\"text-variable-anchor\");if(Xe){let ct;ct=q._unevaluatedLayout.getValue(\"text-radial-offset\")!==void 0?[Ce.get(\"text-radial-offset\").evaluate(D,{},Y)*Hl,Vv]:Ce.get(\"text-offset\").evaluate(D,{},Y).map(Ot=>Ot*Hl);let At=[];for(let Ot of Xe)At.push(Ot,Iy(Ot,ct));return new Wn(At)}return null}function Ry(q){switch(q){case\"right\":case\"top-right\":case\"bottom-right\":return\"right\";case\"left\":case\"top-left\":case\"bottom-left\":return\"left\"}return\"center\"}function Kb(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er){let cr=Ve.textMaxSize.evaluate(D,{});cr===void 0&&(cr=Xe);let Sr=q.layers[0].layout,Nr=Sr.get(\"icon-offset\").evaluate(D,{},er),rn=k1(Y.horizontal),mn=Xe/24,Gn=q.tilePixelRatio*mn,ei=q.tilePixelRatio*cr/24,Ri=q.tilePixelRatio*ct,fi=q.tilePixelRatio*Sr.get(\"symbol-spacing\"),Si=Sr.get(\"text-padding\")*q.tilePixelRatio,Gi=function(ma,us,No,ks=1){let Au=ma.get(\"icon-padding\").evaluate(us,{},No),yu=Au&&Au.values;return[yu[0]*ks,yu[1]*ks,yu[2]*ks,yu[3]*ks]}(Sr,D,er,q.tilePixelRatio),Ha=Sr.get(\"text-max-angle\")/180*Math.PI,Po=Sr.get(\"text-rotation-alignment\")!==\"viewport\"&&Sr.get(\"symbol-placement\")!==\"point\",xs=Sr.get(\"icon-rotation-alignment\")===\"map\"&&Sr.get(\"symbol-placement\")!==\"point\",_o=Sr.get(\"symbol-placement\"),Ra=fi/2,es=Sr.get(\"icon-text-fit\"),qo;he&&es!==\"none\"&&(q.allowVerticalPlacement&&Y.vertical&&(qo=u1(he,Y.vertical,es,Sr.get(\"icon-text-fit-padding\"),Nr,mn)),rn&&(he=u1(he,rn,es,Sr.get(\"icon-text-fit-padding\"),Nr,mn)));let Bo=(ma,us)=>{us.x<0||us.x>=wo||us.y<0||us.y>=wo||function(No,ks,Au,yu,Ef,cd,nh,Cf,kh,Lh,Ph,jc,kf,mh,ih,Vf,Qc,rd,jh,Gl,Nu,Mu,nd,Mc,gp){let Nd=No.addToLineVertexArray(ks,Au),kd,fd,ic,lf,hd=0,iv=0,Vh=0,yp=0,By=-1,gg=-1,Ud={},qv=ai(\"\");if(No.allowVerticalPlacement&&yu.vertical){let gh=Cf.layout.get(\"text-rotate\").evaluate(Nu,{},Mc)+90;ic=new Mv(kh,ks,Lh,Ph,jc,yu.vertical,kf,mh,ih,gh),nh&&(lf=new Mv(kh,ks,Lh,Ph,jc,nh,Qc,rd,ih,gh))}if(Ef){let gh=Cf.layout.get(\"icon-rotate\").evaluate(Nu,{}),dd=Cf.layout.get(\"icon-text-fit\")!==\"none\",Ev=M1(Ef,gh,nd,dd),Ih=nh?M1(nh,gh,nd,dd):void 0;fd=new Mv(kh,ks,Lh,Ph,jc,Ef,Qc,rd,!1,gh),hd=4*Ev.length;let yh=No.iconSizeData,Td=null;yh.kind===\"source\"?(Td=[Bd*Cf.layout.get(\"icon-size\").evaluate(Nu,{})],Td[0]>Tv&&f(`${No.layerIds[0]}: Value for \"icon-size\" is >= ${lm}. Reduce your \"icon-size\".`)):yh.kind===\"composite\"&&(Td=[Bd*Mu.compositeIconSizes[0].evaluate(Nu,{},Mc),Bd*Mu.compositeIconSizes[1].evaluate(Nu,{},Mc)],(Td[0]>Tv||Td[1]>Tv)&&f(`${No.layerIds[0]}: Value for \"icon-size\" is >= ${lm}. Reduce your \"icon-size\".`)),No.addSymbols(No.icon,Ev,Td,Gl,jh,Nu,e.ah.none,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),By=No.icon.placedSymbolArray.length-1,Ih&&(iv=4*Ih.length,No.addSymbols(No.icon,Ih,Td,Gl,jh,Nu,e.ah.vertical,ks,Nd.lineStartIndex,Nd.lineLength,-1,Mc),gg=No.icon.placedSymbolArray.length-1)}let qf=Object.keys(yu.horizontal);for(let gh of qf){let dd=yu.horizontal[gh];if(!kd){qv=ai(dd.text);let Ih=Cf.layout.get(\"text-rotate\").evaluate(Nu,{},Mc);kd=new Mv(kh,ks,Lh,Ph,jc,dd,kf,mh,ih,Ih)}let Ev=dd.positionedLines.length===1;if(Vh+=C1(No,ks,dd,cd,Cf,ih,Nu,Vf,Nd,yu.vertical?e.ah.horizontal:e.ah.horizontalOnly,Ev?qf:[gh],Ud,By,Mu,Mc),Ev)break}yu.vertical&&(yp+=C1(No,ks,yu.vertical,cd,Cf,ih,Nu,Vf,Nd,e.ah.vertical,[\"vertical\"],Ud,gg,Mu,Mc));let Qb=kd?kd.boxStartIndex:No.collisionBoxArray.length,yg=kd?kd.boxEndIndex:No.collisionBoxArray.length,jd=ic?ic.boxStartIndex:No.collisionBoxArray.length,qh=ic?ic.boxEndIndex:No.collisionBoxArray.length,R1=fd?fd.boxStartIndex:No.collisionBoxArray.length,ew=fd?fd.boxEndIndex:No.collisionBoxArray.length,D1=lf?lf.boxStartIndex:No.collisionBoxArray.length,tw=lf?lf.boxEndIndex:No.collisionBoxArray.length,wd=-1,ym=(gh,dd)=>gh&&gh.circleDiameter?Math.max(gh.circleDiameter,dd):dd;wd=ym(kd,wd),wd=ym(ic,wd),wd=ym(fd,wd),wd=ym(lf,wd);let _g=wd>-1?1:0;_g&&(wd*=gp/Hl),No.glyphOffsetArray.length>=hp.MAX_GLYPHS&&f(\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\"),Nu.sortKey!==void 0&&No.addToSortKeyRanges(No.symbolInstances.length,Nu.sortKey);let Ny=E1(Cf,Nu,Mc),[rw,nw]=function(gh,dd){let Ev=gh.length,Ih=dd?.values;if(Ih?.length>0)for(let yh=0;yh=0?Ud.right:-1,Ud.center>=0?Ud.center:-1,Ud.left>=0?Ud.left:-1,Ud.vertical||-1,By,gg,qv,Qb,yg,jd,qh,R1,ew,D1,tw,Lh,Vh,yp,hd,iv,_g,0,kf,wd,rw,nw)}(q,us,ma,Y,he,Ce,qo,q.layers[0],q.collisionBoxArray,D.index,D.sourceLayerIndex,q.index,Gn,[Si,Si,Si,Si],Po,At,Ri,Gi,xs,Nr,D,Ve,Ot,er,Xe)};if(_o===\"line\")for(let ma of x1(D.geometry,0,0,wo,wo)){let us=Xb(ma,fi,Ha,Y.vertical||rn,he,24,ei,q.overscaling,wo);for(let No of us)rn&&Jb(q,rn.text,Ra,No)||Bo(ma,No)}else if(_o===\"line-center\"){for(let ma of D.geometry)if(ma.length>1){let us=Wb(ma,Ha,Y.vertical||rn,he,24,ei);us&&Bo(ma,us)}}else if(D.type===\"Polygon\")for(let ma of kc(D.geometry,0)){let us=Zb(ma,16);Bo(ma[0],new rv(us.x,us.y,0))}else if(D.type===\"LineString\")for(let ma of D.geometry)Bo(ma,new rv(ma[0].x,ma[0].y,0));else if(D.type===\"Point\")for(let ma of D.geometry)for(let us of ma)Bo([us],new rv(us.x,us.y,0))}function C1(q,D,Y,he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn){let mn=function(Ri,fi,Si,Gi,Ha,Po,xs,_o){let Ra=Gi.layout.get(\"text-rotate\").evaluate(Po,{})*Math.PI/180,es=[];for(let qo of fi.positionedLines)for(let Bo of qo.positionedGlyphs){if(!Bo.rect)continue;let ma=Bo.rect||{},us=i1+1,No=!0,ks=1,Au=0,yu=(Ha||_o)&&Bo.vertical,Ef=Bo.metrics.advance*Bo.scale/2;if(_o&&fi.verticalizable&&(Au=qo.lineOffset/2-(Bo.imageName?-(Hl-Bo.metrics.width*Bo.scale)/2:(Bo.scale-1)*Hl)),Bo.imageName){let Gl=xs[Bo.imageName];No=Gl.sdf,ks=Gl.pixelRatio,us=ph/ks}let cd=Ha?[Bo.x+Ef,Bo.y]:[0,0],nh=Ha?[0,0]:[Bo.x+Ef+Si[0],Bo.y+Si[1]-Au],Cf=[0,0];yu&&(Cf=nh,nh=[0,0]);let kh=Bo.metrics.isDoubleResolution?2:1,Lh=(Bo.metrics.left-us)*Bo.scale-Ef+nh[0],Ph=(-Bo.metrics.top-us)*Bo.scale+nh[1],jc=Lh+ma.w/kh*Bo.scale/ks,kf=Ph+ma.h/kh*Bo.scale/ks,mh=new i(Lh,Ph),ih=new i(jc,Ph),Vf=new i(Lh,kf),Qc=new i(jc,kf);if(yu){let Gl=new i(-Ef,Ef-Sf),Nu=-Math.PI/2,Mu=Hl/2-Ef,nd=new i(5-Sf-Mu,-(Bo.imageName?Mu:0)),Mc=new i(...Cf);mh._rotateAround(Nu,Gl)._add(nd)._add(Mc),ih._rotateAround(Nu,Gl)._add(nd)._add(Mc),Vf._rotateAround(Nu,Gl)._add(nd)._add(Mc),Qc._rotateAround(Nu,Gl)._add(nd)._add(Mc)}if(Ra){let Gl=Math.sin(Ra),Nu=Math.cos(Ra),Mu=[Nu,-Gl,Gl,Nu];mh._matMult(Mu),ih._matMult(Mu),Vf._matMult(Mu),Qc._matMult(Mu)}let rd=new i(0,0),jh=new i(0,0);es.push({tl:mh,tr:ih,bl:Vf,br:Qc,tex:ma,writingMode:fi.writingMode,glyphOffset:cd,sectionIndex:Bo.sectionIndex,isSDF:No,pixelOffsetTL:rd,pixelOffsetBR:jh,minFontScaleX:0,minFontScaleY:0})}return es}(0,Y,ct,Ce,Ve,Xe,he,q.allowVerticalPlacement),Gn=q.textSizeData,ei=null;Gn.kind===\"source\"?(ei=[Bd*Ce.layout.get(\"text-size\").evaluate(Xe,{})],ei[0]>Tv&&f(`${q.layerIds[0]}: Value for \"text-size\" is >= ${lm}. Reduce your \"text-size\".`)):Gn.kind===\"composite\"&&(ei=[Bd*Nr.compositeTextSizes[0].evaluate(Xe,{},rn),Bd*Nr.compositeTextSizes[1].evaluate(Xe,{},rn)],(ei[0]>Tv||ei[1]>Tv)&&f(`${q.layerIds[0]}: Value for \"text-size\" is >= ${lm}. Reduce your \"text-size\".`)),q.addSymbols(q.text,mn,ei,ct,Ve,Xe,Ot,D,At.lineStartIndex,At.lineLength,Sr,rn);for(let Ri of er)cr[Ri]=q.text.placedSymbolArray.length-1;return 4*mn.length}function k1(q){for(let D in q)return q[D];return null}function Jb(q,D,Y,he){let Ce=q.compareText;if(D in Ce){let Ve=Ce[D];for(let Xe=Ve.length-1;Xe>=0;Xe--)if(he.dist(Ve[Xe])>4;if(Ce!==1)throw new Error(`Got v${Ce} data when expected v1.`);let Ve=L1[15&he];if(!Ve)throw new Error(\"Unrecognized array type.\");let[Xe]=new Uint16Array(D,2,1),[ct]=new Uint32Array(D,4,1);return new Dy(ct,Xe,Ve,D)}constructor(D,Y=64,he=Float64Array,Ce){if(isNaN(D)||D<0)throw new Error(`Unpexpected numItems value: ${D}.`);this.numItems=+D,this.nodeSize=Math.min(Math.max(+Y,2),65535),this.ArrayType=he,this.IndexArrayType=D<65536?Uint16Array:Uint32Array;let Ve=L1.indexOf(this.ArrayType),Xe=2*D*this.ArrayType.BYTES_PER_ELEMENT,ct=D*this.IndexArrayType.BYTES_PER_ELEMENT,At=(8-ct%8)%8;if(Ve<0)throw new Error(`Unexpected typed array class: ${he}.`);Ce&&Ce instanceof ArrayBuffer?(this.data=Ce,this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=2*D,this._finished=!0):(this.data=new ArrayBuffer(8+Xe+ct+At),this.ids=new this.IndexArrayType(this.data,8,D),this.coords=new this.ArrayType(this.data,8+ct+At,2*D),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+Ve]),new Uint16Array(this.data,2,1)[0]=Y,new Uint32Array(this.data,4,1)[0]=D)}add(D,Y){let he=this._pos>>1;return this.ids[he]=he,this.coords[this._pos++]=D,this.coords[this._pos++]=Y,he}finish(){let D=this._pos>>1;if(D!==this.numItems)throw new Error(`Added ${D} items when expected ${this.numItems}.`);return vg(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(D,Y,he,Ce){if(!this._finished)throw new Error(\"Data not yet indexed - call index.finish().\");let{ids:Ve,coords:Xe,nodeSize:ct}=this,At=[0,Ve.length-1,0],Ot=[];for(;At.length;){let er=At.pop()||0,cr=At.pop()||0,Sr=At.pop()||0;if(cr-Sr<=ct){for(let Gn=Sr;Gn<=cr;Gn++){let ei=Xe[2*Gn],Ri=Xe[2*Gn+1];ei>=D&&ei<=he&&Ri>=Y&&Ri<=Ce&&Ot.push(Ve[Gn])}continue}let Nr=Sr+cr>>1,rn=Xe[2*Nr],mn=Xe[2*Nr+1];rn>=D&&rn<=he&&mn>=Y&&mn<=Ce&&Ot.push(Ve[Nr]),(er===0?D<=rn:Y<=mn)&&(At.push(Sr),At.push(Nr-1),At.push(1-er)),(er===0?he>=rn:Ce>=mn)&&(At.push(Nr+1),At.push(cr),At.push(1-er))}return Ot}within(D,Y,he){if(!this._finished)throw new Error(\"Data not yet indexed - call index.finish().\");let{ids:Ce,coords:Ve,nodeSize:Xe}=this,ct=[0,Ce.length-1,0],At=[],Ot=he*he;for(;ct.length;){let er=ct.pop()||0,cr=ct.pop()||0,Sr=ct.pop()||0;if(cr-Sr<=Xe){for(let Gn=Sr;Gn<=cr;Gn++)I1(Ve[2*Gn],Ve[2*Gn+1],D,Y)<=Ot&&At.push(Ce[Gn]);continue}let Nr=Sr+cr>>1,rn=Ve[2*Nr],mn=Ve[2*Nr+1];I1(rn,mn,D,Y)<=Ot&&At.push(Ce[Nr]),(er===0?D-he<=rn:Y-he<=mn)&&(ct.push(Sr),ct.push(Nr-1),ct.push(1-er)),(er===0?D+he>=rn:Y+he>=mn)&&(ct.push(Nr+1),ct.push(cr),ct.push(1-er))}return At}}function vg(q,D,Y,he,Ce,Ve){if(Ce-he<=Y)return;let Xe=he+Ce>>1;P1(q,D,Xe,he,Ce,Ve),vg(q,D,Y,he,Xe-1,1-Ve),vg(q,D,Y,Xe+1,Ce,1-Ve)}function P1(q,D,Y,he,Ce,Ve){for(;Ce>he;){if(Ce-he>600){let Ot=Ce-he+1,er=Y-he+1,cr=Math.log(Ot),Sr=.5*Math.exp(2*cr/3),Nr=.5*Math.sqrt(cr*Sr*(Ot-Sr)/Ot)*(er-Ot/2<0?-1:1);P1(q,D,Y,Math.max(he,Math.floor(Y-er*Sr/Ot+Nr)),Math.min(Ce,Math.floor(Y+(Ot-er)*Sr/Ot+Nr)),Ve)}let Xe=D[2*Y+Ve],ct=he,At=Ce;for(mm(q,D,he,Y),D[2*Ce+Ve]>Xe&&mm(q,D,he,Ce);ctXe;)At--}D[2*he+Ve]===Xe?mm(q,D,he,At):(At++,mm(q,D,At,Ce)),At<=Y&&(he=At+1),Y<=At&&(Ce=At-1)}}function mm(q,D,Y,he){zy(q,Y,he),zy(D,2*Y,2*he),zy(D,2*Y+1,2*he+1)}function zy(q,D,Y){let he=q[D];q[D]=q[Y],q[Y]=he}function I1(q,D,Y,he){let Ce=q-Y,Ve=D-he;return Ce*Ce+Ve*Ve}var pg;e.bg=void 0,(pg=e.bg||(e.bg={})).create=\"create\",pg.load=\"load\",pg.fullLoad=\"fullLoad\";let gm=null,vf=[],Fy=1e3/60,Oy=\"loadTime\",mg=\"fullLoadTime\",$b={mark(q){performance.mark(q)},frame(q){let D=q;gm!=null&&vf.push(D-gm),gm=D},clearMetrics(){gm=null,vf=[],performance.clearMeasures(Oy),performance.clearMeasures(mg);for(let q in e.bg)performance.clearMarks(e.bg[q])},getPerformanceMetrics(){performance.measure(Oy,e.bg.create,e.bg.load),performance.measure(mg,e.bg.create,e.bg.fullLoad);let q=performance.getEntriesByName(Oy)[0].duration,D=performance.getEntriesByName(mg)[0].duration,Y=vf.length,he=1/(vf.reduce((Ve,Xe)=>Ve+Xe,0)/Y/1e3),Ce=vf.filter(Ve=>Ve>Fy).reduce((Ve,Xe)=>Ve+(Xe-Fy)/Fy,0);return{loadTime:q,fullLoadTime:D,fps:he,percentDroppedFrames:Ce/(Y+Ce)*100,totalFrames:Y}}};e.$=class extends hr{},e.A=ba,e.B=Di,e.C=function(q){if(z==null){let D=q.navigator?q.navigator.userAgent:null;z=!!q.safari||!(!D||!(/\\b(iPad|iPhone|iPod)\\b/.test(D)||D.match(\"Safari\")&&!D.match(\"Chrome\")))}return z},e.D=bo,e.E=ee,e.F=class{constructor(q,D){this.target=q,this.mapId=D,this.resolveRejects={},this.tasks={},this.taskQueue=[],this.abortControllers={},this.messageHandlers={},this.invoker=new Ey(()=>this.process()),this.subscription=function(Y,he,Ce,Ve){return Y.addEventListener(he,Ce,!1),{unsubscribe:()=>{Y.removeEventListener(he,Ce,!1)}}}(this.target,\"message\",Y=>this.receive(Y)),this.globalScope=L(self)?q:window}registerMessageHandler(q,D){this.messageHandlers[q]=D}sendAsync(q,D){return new Promise((Y,he)=>{let Ce=Math.round(1e18*Math.random()).toString(36).substring(0,10);this.resolveRejects[Ce]={resolve:Y,reject:he},D&&D.signal.addEventListener(\"abort\",()=>{delete this.resolveRejects[Ce];let ct={id:Ce,type:\"\",origin:location.origin,targetMapId:q.targetMapId,sourceMapId:this.mapId};this.target.postMessage(ct)},{once:!0});let Ve=[],Xe=Object.assign(Object.assign({},q),{id:Ce,sourceMapId:this.mapId,origin:location.origin,data:mo(q.data,Ve)});this.target.postMessage(Xe,{transfer:Ve})})}receive(q){let D=q.data,Y=D.id;if(!(D.origin!==\"file://\"&&location.origin!==\"file://\"&&D.origin!==\"resource://android\"&&location.origin!==\"resource://android\"&&D.origin!==location.origin||D.targetMapId&&this.mapId!==D.targetMapId)){if(D.type===\"\"){delete this.tasks[Y];let he=this.abortControllers[Y];return delete this.abortControllers[Y],void(he&&he.abort())}if(L(self)||D.mustQueue)return this.tasks[Y]=D,this.taskQueue.push(Y),void this.invoker.trigger();this.processTask(Y,D)}}process(){if(this.taskQueue.length===0)return;let q=this.taskQueue.shift(),D=this.tasks[q];delete this.tasks[q],this.taskQueue.length>0&&this.invoker.trigger(),D&&this.processTask(q,D)}processTask(q,D){return t(this,void 0,void 0,function*(){if(D.type===\"\"){let Ce=this.resolveRejects[q];return delete this.resolveRejects[q],Ce?void(D.error?Ce.reject(Ao(D.error)):Ce.resolve(Ao(D.data))):void 0}if(!this.messageHandlers[D.type])return void this.completeTask(q,new Error(`Could not find a registered handler for ${D.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(\", \")}`));let Y=Ao(D.data),he=new AbortController;this.abortControllers[q]=he;try{let Ce=yield this.messageHandlers[D.type](D.sourceMapId,Y,he);this.completeTask(q,null,Ce)}catch(Ce){this.completeTask(q,Ce)}})}completeTask(q,D,Y){let he=[];delete this.abortControllers[q];let Ce={id:q,type:\"\",sourceMapId:this.mapId,origin:location.origin,error:D?mo(D):null,data:mo(Y,he)};this.target.postMessage(Ce,{transfer:he})}remove(){this.invoker.remove(),this.subscription.unsubscribe()}},e.G=se,e.H=function(){var q=new ba(16);return ba!=Float32Array&&(q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[11]=0,q[12]=0,q[13]=0,q[14]=0),q[0]=1,q[5]=1,q[10]=1,q[15]=1,q},e.I=ig,e.J=function(q,D,Y){var he,Ce,Ve,Xe,ct,At,Ot,er,cr,Sr,Nr,rn,mn=Y[0],Gn=Y[1],ei=Y[2];return D===q?(q[12]=D[0]*mn+D[4]*Gn+D[8]*ei+D[12],q[13]=D[1]*mn+D[5]*Gn+D[9]*ei+D[13],q[14]=D[2]*mn+D[6]*Gn+D[10]*ei+D[14],q[15]=D[3]*mn+D[7]*Gn+D[11]*ei+D[15]):(Ce=D[1],Ve=D[2],Xe=D[3],ct=D[4],At=D[5],Ot=D[6],er=D[7],cr=D[8],Sr=D[9],Nr=D[10],rn=D[11],q[0]=he=D[0],q[1]=Ce,q[2]=Ve,q[3]=Xe,q[4]=ct,q[5]=At,q[6]=Ot,q[7]=er,q[8]=cr,q[9]=Sr,q[10]=Nr,q[11]=rn,q[12]=he*mn+ct*Gn+cr*ei+D[12],q[13]=Ce*mn+At*Gn+Sr*ei+D[13],q[14]=Ve*mn+Ot*Gn+Nr*ei+D[14],q[15]=Xe*mn+er*Gn+rn*ei+D[15]),q},e.K=function(q,D,Y){var he=Y[0],Ce=Y[1],Ve=Y[2];return q[0]=D[0]*he,q[1]=D[1]*he,q[2]=D[2]*he,q[3]=D[3]*he,q[4]=D[4]*Ce,q[5]=D[5]*Ce,q[6]=D[6]*Ce,q[7]=D[7]*Ce,q[8]=D[8]*Ve,q[9]=D[9]*Ve,q[10]=D[10]*Ve,q[11]=D[11]*Ve,q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15],q},e.L=ca,e.M=function(q,D){let Y={};for(let he=0;he{let D=window.document.createElement(\"video\");return D.muted=!0,new Promise(Y=>{D.onloadstart=()=>{Y(D)};for(let he of q){let Ce=window.document.createElement(\"source\");J(he)||(D.crossOrigin=\"Anonymous\"),Ce.src=he,D.appendChild(Ce)}})},e.a4=function(){return m++},e.a5=Zi,e.a6=hp,e.a7=_c,e.a8=Ul,e.a9=Ly,e.aA=function(q){if(q.type===\"custom\")return new Sy(q);switch(q.type){case\"background\":return new Hb(q);case\"circle\":return new va(q);case\"fill\":return new Zr(q);case\"fill-extrusion\":return new Jh(q);case\"heatmap\":return new _s(q);case\"hillshade\":return new Oc(q);case\"line\":return new Fv(q);case\"raster\":return new hm(q);case\"symbol\":return new Uv(q)}},e.aB=u,e.aC=function(q,D){if(!q)return[{command:\"setStyle\",args:[D]}];let Y=[];try{if(!Te(q.version,D.version))return[{command:\"setStyle\",args:[D]}];Te(q.center,D.center)||Y.push({command:\"setCenter\",args:[D.center]}),Te(q.zoom,D.zoom)||Y.push({command:\"setZoom\",args:[D.zoom]}),Te(q.bearing,D.bearing)||Y.push({command:\"setBearing\",args:[D.bearing]}),Te(q.pitch,D.pitch)||Y.push({command:\"setPitch\",args:[D.pitch]}),Te(q.sprite,D.sprite)||Y.push({command:\"setSprite\",args:[D.sprite]}),Te(q.glyphs,D.glyphs)||Y.push({command:\"setGlyphs\",args:[D.glyphs]}),Te(q.transition,D.transition)||Y.push({command:\"setTransition\",args:[D.transition]}),Te(q.light,D.light)||Y.push({command:\"setLight\",args:[D.light]}),Te(q.terrain,D.terrain)||Y.push({command:\"setTerrain\",args:[D.terrain]}),Te(q.sky,D.sky)||Y.push({command:\"setSky\",args:[D.sky]}),Te(q.projection,D.projection)||Y.push({command:\"setProjection\",args:[D.projection]});let he={},Ce=[];(function(Xe,ct,At,Ot){let er;for(er in ct=ct||{},Xe=Xe||{})Object.prototype.hasOwnProperty.call(Xe,er)&&(Object.prototype.hasOwnProperty.call(ct,er)||Ye(er,At,Ot));for(er in ct)Object.prototype.hasOwnProperty.call(ct,er)&&(Object.prototype.hasOwnProperty.call(Xe,er)?Te(Xe[er],ct[er])||(Xe[er].type===\"geojson\"&&ct[er].type===\"geojson\"&&at(Xe,ct,er)?Ue(At,{command:\"setGeoJSONSourceData\",args:[er,ct[er].data]}):it(er,ct,At,Ot)):Ie(er,ct,At))})(q.sources,D.sources,Ce,he);let Ve=[];q.layers&&q.layers.forEach(Xe=>{\"source\"in Xe&&he[Xe.source]?Y.push({command:\"removeLayer\",args:[Xe.id]}):Ve.push(Xe)}),Y=Y.concat(Ce),function(Xe,ct,At){ct=ct||[];let Ot=(Xe=Xe||[]).map(ut),er=ct.map(ut),cr=Xe.reduce(Me,{}),Sr=ct.reduce(Me,{}),Nr=Ot.slice(),rn=Object.create(null),mn,Gn,ei,Ri,fi;for(let Si=0,Gi=0;Si@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)(?:\\=(?:([^\\x00-\\x20\\(\\)<>@\\,;\\:\\\\\"\\/\\[\\]\\?\\=\\{\\}\\x7F]+)|(?:\\\"((?:[^\"\\\\]|\\\\.)*)\\\")))?/g,(Y,he,Ce,Ve)=>{let Xe=Ce||Ve;return D[he]=!Xe||Xe.toLowerCase(),\"\"}),D[\"max-age\"]){let Y=parseInt(D[\"max-age\"],10);isNaN(Y)?delete D[\"max-age\"]:D[\"max-age\"]=Y}return D},e.ab=function(q,D){let Y=[];for(let he in q)he in D||Y.push(he);return Y},e.ac=w,e.ad=function(q,D,Y){var he=Math.sin(Y),Ce=Math.cos(Y),Ve=D[0],Xe=D[1],ct=D[2],At=D[3],Ot=D[4],er=D[5],cr=D[6],Sr=D[7];return D!==q&&(q[8]=D[8],q[9]=D[9],q[10]=D[10],q[11]=D[11],q[12]=D[12],q[13]=D[13],q[14]=D[14],q[15]=D[15]),q[0]=Ve*Ce+Ot*he,q[1]=Xe*Ce+er*he,q[2]=ct*Ce+cr*he,q[3]=At*Ce+Sr*he,q[4]=Ot*Ce-Ve*he,q[5]=er*Ce-Xe*he,q[6]=cr*Ce-ct*he,q[7]=Sr*Ce-At*he,q},e.ae=function(q){var D=new ba(16);return D[0]=q[0],D[1]=q[1],D[2]=q[2],D[3]=q[3],D[4]=q[4],D[5]=q[5],D[6]=q[6],D[7]=q[7],D[8]=q[8],D[9]=q[9],D[10]=q[10],D[11]=q[11],D[12]=q[12],D[13]=q[13],D[14]=q[14],D[15]=q[15],D},e.af=Oo,e.ag=function(q,D){let Y=0,he=0;if(q.kind===\"constant\")he=q.layoutSize;else if(q.kind!==\"source\"){let{interpolationType:Ce,minZoom:Ve,maxZoom:Xe}=q,ct=Ce?w(Xa.interpolationFactor(Ce,D,Ve,Xe),0,1):0;q.kind===\"camera\"?he=yo.number(q.minSize,q.maxSize,ct):Y=ct}return{uSizeT:Y,uSize:he}},e.ai=function(q,{uSize:D,uSizeT:Y},{lowerSize:he,upperSize:Ce}){return q.kind===\"source\"?he/Bd:q.kind===\"composite\"?yo.number(he/Bd,Ce/Bd,Y):D},e.aj=wy,e.ak=function(q,D,Y,he){let Ce=D.y-q.y,Ve=D.x-q.x,Xe=he.y-Y.y,ct=he.x-Y.x,At=Xe*Ve-ct*Ce;if(At===0)return null;let Ot=(ct*(q.y-Y.y)-Xe*(q.x-Y.x))/At;return new i(q.x+Ot*Ve,q.y+Ot*Ce)},e.al=x1,e.am=vc,e.an=Pa,e.ao=function(q){let D=1/0,Y=1/0,he=-1/0,Ce=-1/0;for(let Ve of q)D=Math.min(D,Ve.x),Y=Math.min(Y,Ve.y),he=Math.max(he,Ve.x),Ce=Math.max(Ce,Ve.y);return[D,Y,he,Ce]},e.ap=Hl,e.ar=by,e.as=function(q,D){var Y=D[0],he=D[1],Ce=D[2],Ve=D[3],Xe=D[4],ct=D[5],At=D[6],Ot=D[7],er=D[8],cr=D[9],Sr=D[10],Nr=D[11],rn=D[12],mn=D[13],Gn=D[14],ei=D[15],Ri=Y*ct-he*Xe,fi=Y*At-Ce*Xe,Si=Y*Ot-Ve*Xe,Gi=he*At-Ce*ct,Ha=he*Ot-Ve*ct,Po=Ce*Ot-Ve*At,xs=er*mn-cr*rn,_o=er*Gn-Sr*rn,Ra=er*ei-Nr*rn,es=cr*Gn-Sr*mn,qo=cr*ei-Nr*mn,Bo=Sr*ei-Nr*Gn,ma=Ri*Bo-fi*qo+Si*es+Gi*Ra-Ha*_o+Po*xs;return ma?(q[0]=(ct*Bo-At*qo+Ot*es)*(ma=1/ma),q[1]=(Ce*qo-he*Bo-Ve*es)*ma,q[2]=(mn*Po-Gn*Ha+ei*Gi)*ma,q[3]=(Sr*Ha-cr*Po-Nr*Gi)*ma,q[4]=(At*Ra-Xe*Bo-Ot*_o)*ma,q[5]=(Y*Bo-Ce*Ra+Ve*_o)*ma,q[6]=(Gn*Si-rn*Po-ei*fi)*ma,q[7]=(er*Po-Sr*Si+Nr*fi)*ma,q[8]=(Xe*qo-ct*Ra+Ot*xs)*ma,q[9]=(he*Ra-Y*qo-Ve*xs)*ma,q[10]=(rn*Ha-mn*Si+ei*Ri)*ma,q[11]=(cr*Si-er*Ha-Nr*Ri)*ma,q[12]=(ct*_o-Xe*es-At*xs)*ma,q[13]=(Y*es-he*_o+Ce*xs)*ma,q[14]=(mn*fi-rn*Gi-Gn*Ri)*ma,q[15]=(er*Gi-cr*fi+Sr*Ri)*ma,q):null},e.at=Ry,e.au=lg,e.av=Dy,e.aw=function(){let q={},D=ie.$version;for(let Y in ie.$root){let he=ie.$root[Y];if(he.required){let Ce=null;Ce=Y===\"version\"?D:he.type===\"array\"?[]:{},Ce!=null&&(q[Y]=Ce)}}return q},e.ax=xa,e.ay=G,e.az=function(q){q=q.slice();let D=Object.create(null);for(let Y=0;Y25||he<0||he>=1||Y<0||Y>=1)},e.bc=function(q,D){return q[0]=D[0],q[1]=0,q[2]=0,q[3]=0,q[4]=0,q[5]=D[1],q[6]=0,q[7]=0,q[8]=0,q[9]=0,q[10]=D[2],q[11]=0,q[12]=0,q[13]=0,q[14]=0,q[15]=1,q},e.bd=class extends Jt{},e.be=Cy,e.bf=$b,e.bh=fe,e.bi=function(q,D){Q.REGISTERED_PROTOCOLS[q]=D},e.bj=function(q){delete Q.REGISTERED_PROTOCOLS[q]},e.bk=function(q,D){let Y={};for(let Ce=0;CeBo*Hl)}let _o=Xe?\"center\":Y.get(\"text-justify\").evaluate(Ot,{},q.canonical),Ra=Y.get(\"symbol-placement\")===\"point\"?Y.get(\"text-max-width\").evaluate(Ot,{},q.canonical)*Hl:1/0,es=()=>{q.bucket.allowVerticalPlacement&&Lo(Si)&&(rn.vertical=om(mn,q.glyphMap,q.glyphPositions,q.imagePositions,er,Ra,Ve,Po,\"left\",Ha,ei,e.ah.vertical,!0,Sr,cr))};if(!Xe&&xs){let qo=new Set;if(_o===\"auto\")for(let ma=0;mat(void 0,void 0,void 0,function*(){if(q.byteLength===0)return createImageBitmap(new ImageData(1,1));let D=new Blob([new Uint8Array(q)],{type:\"image/png\"});try{return createImageBitmap(D)}catch(Y){throw new Error(`Could not load image because of ${Y.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}}),e.e=E,e.f=q=>new Promise((D,Y)=>{let he=new Image;he.onload=()=>{D(he),URL.revokeObjectURL(he.src),he.onload=null,window.requestAnimationFrame(()=>{he.src=B})},he.onerror=()=>Y(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"));let Ce=new Blob([new Uint8Array(q)],{type:\"image/png\"});he.src=q.byteLength?URL.createObjectURL(Ce):B}),e.g=le,e.h=(q,D)=>$(E(q,{type:\"json\"}),D),e.i=L,e.j=j,e.k=ae,e.l=(q,D)=>$(E(q,{type:\"arrayBuffer\"}),D),e.m=$,e.n=function(q){return new yy(q).readFields($M,[])},e.o=ps,e.p=xy,e.q=Ne,e.r=yi,e.s=J,e.t=bi,e.u=si,e.v=ie,e.w=f,e.x=function([q,D,Y]){return D+=90,D*=Math.PI/180,Y*=Math.PI/180,{x:q*Math.cos(D)*Math.sin(Y),y:q*Math.sin(D)*Math.sin(Y),z:q*Math.cos(Y)}},e.y=yo,e.z=zs}),A(\"worker\",[\"./shared\"],function(e){\"use strict\";class t{constructor(Be){this.keyCache={},Be&&this.replace(Be)}replace(Be){this._layerConfigs={},this._layers={},this.update(Be,[])}update(Be,Ke){for(let Se of Be){this._layerConfigs[Se.id]=Se;let He=this._layers[Se.id]=e.aA(Se);He._featureFilter=e.a7(He.filter),this.keyCache[Se.id]&&delete this.keyCache[Se.id]}for(let Se of Ke)delete this.keyCache[Se],delete this._layerConfigs[Se],delete this._layers[Se];this.familiesBySource={};let je=e.bk(Object.values(this._layerConfigs),this.keyCache);for(let Se of je){let He=Se.map(bt=>this._layers[bt.id]),Ee=He[0];if(Ee.visibility===\"none\")continue;let we=Ee.source||\"\",Le=this.familiesBySource[we];Le||(Le=this.familiesBySource[we]={});let nt=Ee.sourceLayer||\"_geojsonTileLayer\",pt=Le[nt];pt||(pt=Le[nt]=[]),pt.push(He)}}}class r{constructor(Be){let Ke={},je=[];for(let we in Be){let Le=Be[we],nt=Ke[we]={};for(let pt in Le){let bt=Le[+pt];if(!bt||bt.bitmap.width===0||bt.bitmap.height===0)continue;let Rt={x:0,y:0,w:bt.bitmap.width+2,h:bt.bitmap.height+2};je.push(Rt),nt[pt]={rect:Rt,metrics:bt.metrics}}}let{w:Se,h:He}=e.p(je),Ee=new e.o({width:Se||1,height:He||1});for(let we in Be){let Le=Be[we];for(let nt in Le){let pt=Le[+nt];if(!pt||pt.bitmap.width===0||pt.bitmap.height===0)continue;let bt=Ke[we][nt].rect;e.o.copy(pt.bitmap,Ee,{x:0,y:0},{x:bt.x+1,y:bt.y+1},pt.bitmap)}}this.image=Ee,this.positions=Ke}}e.bl(\"GlyphAtlas\",r);class o{constructor(Be){this.tileID=new e.S(Be.tileID.overscaledZ,Be.tileID.wrap,Be.tileID.canonical.z,Be.tileID.canonical.x,Be.tileID.canonical.y),this.uid=Be.uid,this.zoom=Be.zoom,this.pixelRatio=Be.pixelRatio,this.tileSize=Be.tileSize,this.source=Be.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=Be.showCollisionBoxes,this.collectResourceTiming=!!Be.collectResourceTiming,this.returnDependencies=!!Be.returnDependencies,this.promoteId=Be.promoteId,this.inFlightDependencies=[]}parse(Be,Ke,je,Se){return e._(this,void 0,void 0,function*(){this.status=\"parsing\",this.data=Be,this.collisionBoxArray=new e.a5;let He=new e.bm(Object.keys(Be.layers).sort()),Ee=new e.bn(this.tileID,this.promoteId);Ee.bucketLayerIDs=[];let we={},Le={featureIndex:Ee,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:je},nt=Ke.familiesBySource[this.source];for(let ni in nt){let zn=Be.layers[ni];if(!zn)continue;zn.version===1&&e.w(`Vector tile source \"${this.source}\" layer \"${ni}\" does not use vector tile spec v2 and therefore may have some rendering errors.`);let Qn=He.encode(ni),gi=[];for(let Zt=0;Zt=Ft.maxzoom||Ft.visibility!==\"none\"&&(n(Zt,this.zoom,je),(we[Ft.id]=Ft.createBucket({index:Ee.bucketLayerIDs.length,layers:Zt,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Qn,sourceID:this.source})).populate(gi,Le,this.tileID.canonical),Ee.bucketLayerIDs.push(Zt.map(Ht=>Ht.id)))}}let pt=e.aF(Le.glyphDependencies,ni=>Object.keys(ni).map(Number));this.inFlightDependencies.forEach(ni=>ni?.abort()),this.inFlightDependencies=[];let bt=Promise.resolve({});if(Object.keys(pt).length){let ni=new AbortController;this.inFlightDependencies.push(ni),bt=Se.sendAsync({type:\"GG\",data:{stacks:pt,source:this.source,tileID:this.tileID,type:\"glyphs\"}},ni)}let Rt=Object.keys(Le.iconDependencies),Nt=Promise.resolve({});if(Rt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),Nt=Se.sendAsync({type:\"GI\",data:{icons:Rt,source:this.source,tileID:this.tileID,type:\"icons\"}},ni)}let Xt=Object.keys(Le.patternDependencies),$t=Promise.resolve({});if(Xt.length){let ni=new AbortController;this.inFlightDependencies.push(ni),$t=Se.sendAsync({type:\"GI\",data:{icons:Xt,source:this.source,tileID:this.tileID,type:\"patterns\"}},ni)}let[ur,pn,Rn]=yield Promise.all([bt,Nt,$t]),Nn=new r(ur),On=new e.bo(pn,Rn);for(let ni in we){let zn=we[ni];zn instanceof e.a6?(n(zn.layers,this.zoom,je),e.bp({bucket:zn,glyphMap:ur,glyphPositions:Nn.positions,imageMap:pn,imagePositions:On.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):zn.hasPattern&&(zn instanceof e.bq||zn instanceof e.br||zn instanceof e.bs)&&(n(zn.layers,this.zoom,je),zn.addFeatures(Le,this.tileID.canonical,On.patternPositions))}return this.status=\"done\",{buckets:Object.values(we).filter(ni=>!ni.isEmpty()),featureIndex:Ee,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Nn.image,imageAtlas:On,glyphMap:this.returnDependencies?ur:null,iconMap:this.returnDependencies?pn:null,glyphPositions:this.returnDependencies?Nn.positions:null}})}}function n(_t,Be,Ke){let je=new e.z(Be);for(let Se of _t)Se.recalculate(je,Ke)}class i{constructor(Be,Ke,je){this.actor=Be,this.layerIndex=Ke,this.availableImages=je,this.fetching={},this.loading={},this.loaded={}}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield e.l(Be.request,Ke);try{return{vectorTile:new e.bt.VectorTile(new e.bu(je.data)),rawData:je.data,cacheControl:je.cacheControl,expires:je.expires}}catch(Se){let He=new Uint8Array(je.data),Ee=`Unable to parse the tile at ${Be.request.url}, `;throw Ee+=He[0]===31&&He[1]===139?\"please make sure the data is not gzipped and that you have configured the relevant header in the server\":`got error: ${Se.message}`,new Error(Ee)}})}loadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid,je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request),Se=new o(Be);this.loading[Ke]=Se;let He=new AbortController;Se.abort=He;try{let Ee=yield this.loadVectorTile(Be,He);if(delete this.loading[Ke],!Ee)return null;let we=Ee.rawData,Le={};Ee.expires&&(Le.expires=Ee.expires),Ee.cacheControl&&(Le.cacheControl=Ee.cacheControl);let nt={};if(je){let bt=je.finish();bt&&(nt.resourceTiming=JSON.parse(JSON.stringify(bt)))}Se.vectorTile=Ee.vectorTile;let pt=Se.parse(Ee.vectorTile,this.layerIndex,this.availableImages,this.actor);this.loaded[Ke]=Se,this.fetching[Ke]={rawTileData:we,cacheControl:Le,resourceTiming:nt};try{let bt=yield pt;return e.e({rawTileData:we.slice(0)},bt,Le,nt)}finally{delete this.fetching[Ke]}}catch(Ee){throw delete this.loading[Ke],Se.status=\"done\",this.loaded[Ke]=Se,Ee}})}reloadTile(Be){return e._(this,void 0,void 0,function*(){let Ke=Be.uid;if(!this.loaded||!this.loaded[Ke])throw new Error(\"Should not be trying to reload a tile that was never loaded or has been removed\");let je=this.loaded[Ke];if(je.showCollisionBoxes=Be.showCollisionBoxes,je.status===\"parsing\"){let Se=yield je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor),He;if(this.fetching[Ke]){let{rawTileData:Ee,cacheControl:we,resourceTiming:Le}=this.fetching[Ke];delete this.fetching[Ke],He=e.e({rawTileData:Ee.slice(0)},Se,we,Le)}else He=Se;return He}if(je.status===\"done\"&&je.vectorTile)return je.parse(je.vectorTile,this.layerIndex,this.availableImages,this.actor)})}abortTile(Be){return e._(this,void 0,void 0,function*(){let Ke=this.loading,je=Be.uid;Ke&&Ke[je]&&Ke[je].abort&&(Ke[je].abort.abort(),delete Ke[je])})}removeTile(Be){return e._(this,void 0,void 0,function*(){this.loaded&&this.loaded[Be.uid]&&delete this.loaded[Be.uid]})}}class a{constructor(){this.loaded={}}loadTile(Be){return e._(this,void 0,void 0,function*(){let{uid:Ke,encoding:je,rawImageData:Se,redFactor:He,greenFactor:Ee,blueFactor:we,baseShift:Le}=Be,nt=Se.width+2,pt=Se.height+2,bt=e.b(Se)?new e.R({width:nt,height:pt},yield e.bw(Se,-1,-1,nt,pt)):Se,Rt=new e.bx(Ke,bt,je,He,Ee,we,Le);return this.loaded=this.loaded||{},this.loaded[Ke]=Rt,Rt})}removeTile(Be){let Ke=this.loaded,je=Be.uid;Ke&&Ke[je]&&delete Ke[je]}}function s(_t,Be){if(_t.length!==0){c(_t[0],Be);for(var Ke=1;Ke<_t.length;Ke++)c(_t[Ke],!Be)}}function c(_t,Be){for(var Ke=0,je=0,Se=0,He=_t.length,Ee=He-1;Se=Math.abs(we)?Ke-Le+we:we-Le+Ke,Ke=Le}Ke+je>=0!=!!Be&&_t.reverse()}var h=e.by(function _t(Be,Ke){var je,Se=Be&&Be.type;if(Se===\"FeatureCollection\")for(je=0;je>31}function L(_t,Be){for(var Ke=_t.loadGeometry(),je=_t.type,Se=0,He=0,Ee=Ke.length,we=0;we_t},O=Math.fround||(I=new Float32Array(1),_t=>(I[0]=+_t,I[0]));var I;let N=3,U=5,W=6;class Q{constructor(Be){this.options=Object.assign(Object.create(B),Be),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(Be){let{log:Ke,minZoom:je,maxZoom:Se}=this.options;Ke&&console.time(\"total time\");let He=`prepare ${Be.length} points`;Ke&&console.time(He),this.points=Be;let Ee=[];for(let Le=0;Le=je;Le--){let nt=+Date.now();we=this.trees[Le]=this._createTree(this._cluster(we,Le)),Ke&&console.log(\"z%d: %d clusters in %dms\",Le,we.numItems,+Date.now()-nt)}return Ke&&console.timeEnd(\"total time\"),this}getClusters(Be,Ke){let je=((Be[0]+180)%360+360)%360-180,Se=Math.max(-90,Math.min(90,Be[1])),He=Be[2]===180?180:((Be[2]+180)%360+360)%360-180,Ee=Math.max(-90,Math.min(90,Be[3]));if(Be[2]-Be[0]>=360)je=-180,He=180;else if(je>He){let bt=this.getClusters([je,Se,180,Ee],Ke),Rt=this.getClusters([-180,Se,He,Ee],Ke);return bt.concat(Rt)}let we=this.trees[this._limitZoom(Ke)],Le=we.range(fe(je),G(Ee),fe(He),G(Se)),nt=we.data,pt=[];for(let bt of Le){let Rt=this.stride*bt;pt.push(nt[Rt+U]>1?le(nt,Rt,this.clusterProps):this.points[nt[Rt+N]])}return pt}getChildren(Be){let Ke=this._getOriginId(Be),je=this._getOriginZoom(Be),Se=\"No cluster with the specified id.\",He=this.trees[je];if(!He)throw new Error(Se);let Ee=He.data;if(Ke*this.stride>=Ee.length)throw new Error(Se);let we=this.options.radius/(this.options.extent*Math.pow(2,je-1)),Le=He.within(Ee[Ke*this.stride],Ee[Ke*this.stride+1],we),nt=[];for(let pt of Le){let bt=pt*this.stride;Ee[bt+4]===Be&&nt.push(Ee[bt+U]>1?le(Ee,bt,this.clusterProps):this.points[Ee[bt+N]])}if(nt.length===0)throw new Error(Se);return nt}getLeaves(Be,Ke,je){let Se=[];return this._appendLeaves(Se,Be,Ke=Ke||10,je=je||0,0),Se}getTile(Be,Ke,je){let Se=this.trees[this._limitZoom(Be)],He=Math.pow(2,Be),{extent:Ee,radius:we}=this.options,Le=we/Ee,nt=(je-Le)/He,pt=(je+1+Le)/He,bt={features:[]};return this._addTileFeatures(Se.range((Ke-Le)/He,nt,(Ke+1+Le)/He,pt),Se.data,Ke,je,He,bt),Ke===0&&this._addTileFeatures(Se.range(1-Le/He,nt,1,pt),Se.data,He,je,He,bt),Ke===He-1&&this._addTileFeatures(Se.range(0,nt,Le/He,pt),Se.data,-1,je,He,bt),bt.features.length?bt:null}getClusterExpansionZoom(Be){let Ke=this._getOriginZoom(Be)-1;for(;Ke<=this.options.maxZoom;){let je=this.getChildren(Be);if(Ke++,je.length!==1)break;Be=je[0].properties.cluster_id}return Ke}_appendLeaves(Be,Ke,je,Se,He){let Ee=this.getChildren(Ke);for(let we of Ee){let Le=we.properties;if(Le&&Le.cluster?He+Le.point_count<=Se?He+=Le.point_count:He=this._appendLeaves(Be,Le.cluster_id,je,Se,He):He1,pt,bt,Rt;if(nt)pt=se(Ke,Le,this.clusterProps),bt=Ke[Le],Rt=Ke[Le+1];else{let $t=this.points[Ke[Le+N]];pt=$t.properties;let[ur,pn]=$t.geometry.coordinates;bt=fe(ur),Rt=G(pn)}let Nt={type:1,geometry:[[Math.round(this.options.extent*(bt*He-je)),Math.round(this.options.extent*(Rt*He-Se))]],tags:pt},Xt;Xt=nt||this.options.generateId?Ke[Le+N]:this.points[Ke[Le+N]].id,Xt!==void 0&&(Nt.id=Xt),Ee.features.push(Nt)}}_limitZoom(Be){return Math.max(this.options.minZoom,Math.min(Math.floor(+Be),this.options.maxZoom+1))}_cluster(Be,Ke){let{radius:je,extent:Se,reduce:He,minPoints:Ee}=this.options,we=je/(Se*Math.pow(2,Ke)),Le=Be.data,nt=[],pt=this.stride;for(let bt=0;btKe&&(ur+=Le[Rn+U])}if(ur>$t&&ur>=Ee){let pn,Rn=Rt*$t,Nn=Nt*$t,On=-1,ni=((bt/pt|0)<<5)+(Ke+1)+this.points.length;for(let zn of Xt){let Qn=zn*pt;if(Le[Qn+2]<=Ke)continue;Le[Qn+2]=Ke;let gi=Le[Qn+U];Rn+=Le[Qn]*gi,Nn+=Le[Qn+1]*gi,Le[Qn+4]=ni,He&&(pn||(pn=this._map(Le,bt,!0),On=this.clusterProps.length,this.clusterProps.push(pn)),He(pn,this._map(Le,Qn)))}Le[bt+4]=ni,nt.push(Rn/ur,Nn/ur,1/0,ni,-1,ur),He&&nt.push(On)}else{for(let pn=0;pn1)for(let pn of Xt){let Rn=pn*pt;if(!(Le[Rn+2]<=Ke)){Le[Rn+2]=Ke;for(let Nn=0;Nn>5}_getOriginZoom(Be){return(Be-this.points.length)%32}_map(Be,Ke,je){if(Be[Ke+U]>1){let Ee=this.clusterProps[Be[Ke+W]];return je?Object.assign({},Ee):Ee}let Se=this.points[Be[Ke+N]].properties,He=this.options.map(Se);return je&&He===Se?Object.assign({},He):He}}function le(_t,Be,Ke){return{type:\"Feature\",id:_t[Be+N],properties:se(_t,Be,Ke),geometry:{type:\"Point\",coordinates:[(je=_t[Be],360*(je-.5)),$(_t[Be+1])]}};var je}function se(_t,Be,Ke){let je=_t[Be+U],Se=je>=1e4?`${Math.round(je/1e3)}k`:je>=1e3?Math.round(je/100)/10+\"k\":je,He=_t[Be+W],Ee=He===-1?{}:Object.assign({},Ke[He]);return Object.assign(Ee,{cluster:!0,cluster_id:_t[Be+N],point_count:je,point_count_abbreviated:Se})}function fe(_t){return _t/360+.5}function G(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function $(_t){let Be=(180-360*_t)*Math.PI/180;return 360*Math.atan(Math.exp(Be))/Math.PI-90}function J(_t,Be,Ke,je){let Se=je,He=Be+(Ke-Be>>1),Ee,we=Ke-Be,Le=_t[Be],nt=_t[Be+1],pt=_t[Ke],bt=_t[Ke+1];for(let Rt=Be+3;RtSe)Ee=Rt,Se=Nt;else if(Nt===Se){let Xt=Math.abs(Rt-He);Xtje&&(Ee-Be>3&&J(_t,Be,Ee,je),_t[Ee+2]=Se,Ke-Ee>3&&J(_t,Ee,Ke,je))}function X(_t,Be,Ke,je,Se,He){let Ee=Se-Ke,we=He-je;if(Ee!==0||we!==0){let Le=((_t-Ke)*Ee+(Be-je)*we)/(Ee*Ee+we*we);Le>1?(Ke=Se,je=He):Le>0&&(Ke+=Ee*Le,je+=we*Le)}return Ee=_t-Ke,we=Be-je,Ee*Ee+we*we}function re(_t,Be,Ke,je){let Se={id:_t??null,type:Be,geometry:Ke,tags:je,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};if(Be===\"Point\"||Be===\"MultiPoint\"||Be===\"LineString\")ae(Se,Ke);else if(Be===\"Polygon\")ae(Se,Ke[0]);else if(Be===\"MultiLineString\")for(let He of Ke)ae(Se,He);else if(Be===\"MultiPolygon\")for(let He of Ke)ae(Se,He[0]);return Se}function ae(_t,Be){for(let Ke=0;Ke0&&(Ee+=je?(Se*pt-nt*He)/2:Math.sqrt(Math.pow(nt-Se,2)+Math.pow(pt-He,2))),Se=nt,He=pt}let we=Be.length-3;Be[2]=1,J(Be,0,we,Ke),Be[we+2]=1,Be.size=Math.abs(Ee),Be.start=0,Be.end=Be.size}function ce(_t,Be,Ke,je){for(let Se=0;Se<_t.length;Se++){let He=[];ie(_t[Se],He,Ke,je),Be.push(He)}}function xe(_t){return _t/360+.5}function Te(_t){let Be=Math.sin(_t*Math.PI/180),Ke=.5-.25*Math.log((1+Be)/(1-Be))/Math.PI;return Ke<0?0:Ke>1?1:Ke}function Ue(_t,Be,Ke,je,Se,He,Ee,we){if(je/=Be,He>=(Ke/=Be)&&Ee=je)return null;let Le=[];for(let nt of _t){let pt=nt.geometry,bt=nt.type,Rt=Se===0?nt.minX:nt.minY,Nt=Se===0?nt.maxX:nt.maxY;if(Rt>=Ke&&Nt=je)continue;let Xt=[];if(bt===\"Point\"||bt===\"MultiPoint\")Ie(pt,Xt,Ke,je,Se);else if(bt===\"LineString\")Ye(pt,Xt,Ke,je,Se,!1,we.lineMetrics);else if(bt===\"MultiLineString\")at(pt,Xt,Ke,je,Se,!1);else if(bt===\"Polygon\")at(pt,Xt,Ke,je,Se,!0);else if(bt===\"MultiPolygon\")for(let $t of pt){let ur=[];at($t,ur,Ke,je,Se,!0),ur.length&&Xt.push(ur)}if(Xt.length){if(we.lineMetrics&&bt===\"LineString\"){for(let $t of Xt)Le.push(re(nt.id,bt,$t,nt.tags));continue}bt!==\"LineString\"&&bt!==\"MultiLineString\"||(Xt.length===1?(bt=\"LineString\",Xt=Xt[0]):bt=\"MultiLineString\"),bt!==\"Point\"&&bt!==\"MultiPoint\"||(bt=Xt.length===3?\"Point\":\"MultiPoint\"),Le.push(re(nt.id,bt,Xt,nt.tags))}}return Le.length?Le:null}function Ie(_t,Be,Ke,je,Se){for(let He=0;He<_t.length;He+=3){let Ee=_t[He+Se];Ee>=Ke&&Ee<=je&&tt(Be,_t[He],_t[He+1],_t[He+2])}}function Ye(_t,Be,Ke,je,Se,He,Ee){let we=it(_t),Le=Se===0?ut:Me,nt,pt,bt=_t.start;for(let ur=0;ur<_t.length-3;ur+=3){let pn=_t[ur],Rn=_t[ur+1],Nn=_t[ur+2],On=_t[ur+3],ni=_t[ur+4],zn=Se===0?pn:Rn,Qn=Se===0?On:ni,gi=!1;Ee&&(nt=Math.sqrt(Math.pow(pn-On,2)+Math.pow(Rn-ni,2))),znKe&&(pt=Le(we,pn,Rn,On,ni,Ke),Ee&&(we.start=bt+nt*pt)):zn>je?Qn=Ke&&(pt=Le(we,pn,Rn,On,ni,Ke),gi=!0),Qn>je&&zn<=je&&(pt=Le(we,pn,Rn,On,ni,je),gi=!0),!He&&gi&&(Ee&&(we.end=bt+nt*pt),Be.push(we),we=it(_t)),Ee&&(bt+=nt)}let Rt=_t.length-3,Nt=_t[Rt],Xt=_t[Rt+1],$t=Se===0?Nt:Xt;$t>=Ke&&$t<=je&&tt(we,Nt,Xt,_t[Rt+2]),Rt=we.length-3,He&&Rt>=3&&(we[Rt]!==we[0]||we[Rt+1]!==we[1])&&tt(we,we[0],we[1],we[2]),we.length&&Be.push(we)}function it(_t){let Be=[];return Be.size=_t.size,Be.start=_t.start,Be.end=_t.end,Be}function at(_t,Be,Ke,je,Se,He){for(let Ee of _t)Ye(Ee,Be,Ke,je,Se,He,!1)}function tt(_t,Be,Ke,je){_t.push(Be,Ke,je)}function ut(_t,Be,Ke,je,Se,He){let Ee=(He-Be)/(je-Be);return tt(_t,He,Ke+(Se-Ke)*Ee,1),Ee}function Me(_t,Be,Ke,je,Se,He){let Ee=(He-Ke)/(Se-Ke);return tt(_t,Be+(je-Be)*Ee,He,1),Ee}function pe(_t,Be){let Ke=[];for(let je=0;je<_t.length;je++){let Se=_t[je],He=Se.type,Ee;if(He===\"Point\"||He===\"MultiPoint\"||He===\"LineString\")Ee=ue(Se.geometry,Be);else if(He===\"MultiLineString\"||He===\"Polygon\"){Ee=[];for(let we of Se.geometry)Ee.push(ue(we,Be))}else if(He===\"MultiPolygon\"){Ee=[];for(let we of Se.geometry){let Le=[];for(let nt of we)Le.push(ue(nt,Be));Ee.push(Le)}}Ke.push(re(Se.id,He,Ee,Se.tags))}return Ke}function ue(_t,Be){let Ke=[];Ke.size=_t.size,_t.start!==void 0&&(Ke.start=_t.start,Ke.end=_t.end);for(let je=0;je<_t.length;je+=3)Ke.push(_t[je]+Be,_t[je+1],_t[je+2]);return Ke}function Oe(_t,Be){if(_t.transformed)return _t;let Ke=1<<_t.z,je=_t.x,Se=_t.y;for(let He of _t.features){let Ee=He.geometry,we=He.type;if(He.geometry=[],we===1)for(let Le=0;Le0&&Be.size<(Se?Ee:je))return void(Ke.numPoints+=Be.length/3);let we=[];for(let Le=0;LeEe)&&(Ke.numSimplified++,we.push(Be[Le],Be[Le+1])),Ke.numPoints++;Se&&function(Le,nt){let pt=0;for(let bt=0,Rt=Le.length,Nt=Rt-2;bt0===nt)for(let bt=0,Rt=Le.length;bt24)throw new Error(\"maxZoom should be in the 0-24 range\");if(Ke.promoteId&&Ke.generateId)throw new Error(\"promoteId and generateId cannot be used together.\");let Se=function(He,Ee){let we=[];if(He.type===\"FeatureCollection\")for(let Le=0;Le1&&console.time(\"creation\"),Nt=this.tiles[Rt]=ot(Be,Ke,je,Se,nt),this.tileCoords.push({z:Ke,x:je,y:Se}),pt)){pt>1&&(console.log(\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\",Ke,je,Se,Nt.numFeatures,Nt.numPoints,Nt.numSimplified),console.timeEnd(\"creation\"));let gi=`z${Ke}`;this.stats[gi]=(this.stats[gi]||0)+1,this.total++}if(Nt.source=Be,He==null){if(Ke===nt.indexMaxZoom||Nt.numPoints<=nt.indexMaxPoints)continue}else{if(Ke===nt.maxZoom||Ke===He)continue;if(He!=null){let gi=He-Ke;if(je!==Ee>>gi||Se!==we>>gi)continue}}if(Nt.source=null,Be.length===0)continue;pt>1&&console.time(\"clipping\");let Xt=.5*nt.buffer/nt.extent,$t=.5-Xt,ur=.5+Xt,pn=1+Xt,Rn=null,Nn=null,On=null,ni=null,zn=Ue(Be,bt,je-Xt,je+ur,0,Nt.minX,Nt.maxX,nt),Qn=Ue(Be,bt,je+$t,je+pn,0,Nt.minX,Nt.maxX,nt);Be=null,zn&&(Rn=Ue(zn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),Nn=Ue(zn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),zn=null),Qn&&(On=Ue(Qn,bt,Se-Xt,Se+ur,1,Nt.minY,Nt.maxY,nt),ni=Ue(Qn,bt,Se+$t,Se+pn,1,Nt.minY,Nt.maxY,nt),Qn=null),pt>1&&console.timeEnd(\"clipping\"),Le.push(Rn||[],Ke+1,2*je,2*Se),Le.push(Nn||[],Ke+1,2*je,2*Se+1),Le.push(On||[],Ke+1,2*je+1,2*Se),Le.push(ni||[],Ke+1,2*je+1,2*Se+1)}}getTile(Be,Ke,je){Be=+Be,Ke=+Ke,je=+je;let Se=this.options,{extent:He,debug:Ee}=Se;if(Be<0||Be>24)return null;let we=1<1&&console.log(\"drilling down to z%d-%d-%d\",Be,Ke,je);let nt,pt=Be,bt=Ke,Rt=je;for(;!nt&&pt>0;)pt--,bt>>=1,Rt>>=1,nt=this.tiles[qt(pt,bt,Rt)];return nt&&nt.source?(Ee>1&&(console.log(\"found parent tile z%d-%d-%d\",pt,bt,Rt),console.time(\"drilling down\")),this.splitTile(nt.source,pt,bt,Rt,Be,Ke,je),Ee>1&&console.timeEnd(\"drilling down\"),this.tiles[Le]?Oe(this.tiles[Le],He):null):null}}function qt(_t,Be,Ke){return 32*((1<<_t)*Ke+Be)+_t}function fr(_t,Be){return Be?_t.properties[Be]:_t.id}function ar(_t,Be){if(_t==null)return!0;if(_t.type===\"Feature\")return fr(_t,Be)!=null;if(_t.type===\"FeatureCollection\"){let Ke=new Set;for(let je of _t.features){let Se=fr(je,Be);if(Se==null||Ke.has(Se))return!1;Ke.add(Se)}return!0}return!1}function Rr(_t,Be){let Ke=new Map;if(_t!=null)if(_t.type===\"Feature\")Ke.set(fr(_t,Be),_t);else for(let je of _t.features)Ke.set(fr(je,Be),je);return Ke}class gr extends i{constructor(){super(...arguments),this._dataUpdateable=new Map}loadVectorTile(Be,Ke){return e._(this,void 0,void 0,function*(){let je=Be.tileID.canonical;if(!this._geoJSONIndex)throw new Error(\"Unable to parse the data into a cluster or geojson\");let Se=this._geoJSONIndex.getTile(je.z,je.x,je.y);if(!Se)return null;let He=new class{constructor(we){this.layers={_geojsonTileLayer:this},this.name=\"_geojsonTileLayer\",this.extent=e.X,this.length=we.length,this._features=we}feature(we){return new class{constructor(Le){this._feature=Le,this.extent=e.X,this.type=Le.type,this.properties=Le.tags,\"id\"in Le&&!isNaN(Le.id)&&(this.id=parseInt(Le.id,10))}loadGeometry(){if(this._feature.type===1){let Le=[];for(let nt of this._feature.geometry)Le.push([new e.P(nt[0],nt[1])]);return Le}{let Le=[];for(let nt of this._feature.geometry){let pt=[];for(let bt of nt)pt.push(new e.P(bt[0],bt[1]));Le.push(pt)}return Le}}toGeoJSON(Le,nt,pt){return p.call(this,Le,nt,pt)}}(this._features[we])}}(Se.features),Ee=F(He);return Ee.byteOffset===0&&Ee.byteLength===Ee.buffer.byteLength||(Ee=new Uint8Array(Ee)),{vectorTile:He,rawData:Ee.buffer}})}loadData(Be){return e._(this,void 0,void 0,function*(){var Ke;(Ke=this._pendingRequest)===null||Ke===void 0||Ke.abort();let je=!!(Be&&Be.request&&Be.request.collectResourceTiming)&&new e.bv(Be.request);this._pendingRequest=new AbortController;try{this._pendingData=this.loadAndProcessGeoJSON(Be,this._pendingRequest),this._geoJSONIndex=Be.cluster?new Q(function({superclusterOptions:Ee,clusterProperties:we}){if(!we||!Ee)return Ee;let Le={},nt={},pt={accumulated:null,zoom:0},bt={properties:null},Rt=Object.keys(we);for(let Nt of Rt){let[Xt,$t]=we[Nt],ur=e.bC($t),pn=e.bC(typeof Xt==\"string\"?[Xt,[\"accumulated\"],[\"get\",Nt]]:Xt);Le[Nt]=ur.value,nt[Nt]=pn.value}return Ee.map=Nt=>{bt.properties=Nt;let Xt={};for(let $t of Rt)Xt[$t]=Le[$t].evaluate(pt,bt);return Xt},Ee.reduce=(Nt,Xt)=>{bt.properties=Xt;for(let $t of Rt)pt.accumulated=Nt[$t],Nt[$t]=nt[$t].evaluate(pt,bt)},Ee}(Be)).load((yield this._pendingData).features):(Se=yield this._pendingData,new Bt(Se,Be.geojsonVtOptions)),this.loaded={};let He={};if(je){let Ee=je.finish();Ee&&(He.resourceTiming={},He.resourceTiming[Be.source]=JSON.parse(JSON.stringify(Ee)))}return He}catch(He){if(delete this._pendingRequest,e.bB(He))return{abandoned:!0};throw He}var Se})}getData(){return e._(this,void 0,void 0,function*(){return this._pendingData})}reloadTile(Be){let Ke=this.loaded;return Ke&&Ke[Be.uid]?super.reloadTile(Be):this.loadTile(Be)}loadAndProcessGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let je=yield this.loadGeoJSON(Be,Ke);if(delete this._pendingRequest,typeof je!=\"object\")throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(h(je,!0),Be.filter){let Se=e.bC(Be.filter,{type:\"boolean\",\"property-type\":\"data-driven\",overridable:!1,transition:!1});if(Se.result===\"error\")throw new Error(Se.value.map(Ee=>`${Ee.key}: ${Ee.message}`).join(\", \"));je={type:\"FeatureCollection\",features:je.features.filter(Ee=>Se.value.evaluate({zoom:0},Ee))}}return je})}loadGeoJSON(Be,Ke){return e._(this,void 0,void 0,function*(){let{promoteId:je}=Be;if(Be.request){let Se=yield e.h(Be.request,Ke);return this._dataUpdateable=ar(Se.data,je)?Rr(Se.data,je):void 0,Se.data}if(typeof Be.data==\"string\")try{let Se=JSON.parse(Be.data);return this._dataUpdateable=ar(Se,je)?Rr(Se,je):void 0,Se}catch{throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`)}if(!Be.dataDiff)throw new Error(`Input data given to '${Be.source}' is not a valid GeoJSON object.`);if(!this._dataUpdateable)throw new Error(`Cannot update existing geojson data in ${Be.source}`);return function(Se,He,Ee){var we,Le,nt,pt;if(He.removeAll&&Se.clear(),He.remove)for(let bt of He.remove)Se.delete(bt);if(He.add)for(let bt of He.add){let Rt=fr(bt,Ee);Rt!=null&&Se.set(Rt,bt)}if(He.update)for(let bt of He.update){let Rt=Se.get(bt.id);if(Rt==null)continue;let Nt=!bt.removeAllProperties&&(((we=bt.removeProperties)===null||we===void 0?void 0:we.length)>0||((Le=bt.addOrUpdateProperties)===null||Le===void 0?void 0:Le.length)>0);if((bt.newGeometry||bt.removeAllProperties||Nt)&&(Rt=Object.assign({},Rt),Se.set(bt.id,Rt),Nt&&(Rt.properties=Object.assign({},Rt.properties))),bt.newGeometry&&(Rt.geometry=bt.newGeometry),bt.removeAllProperties)Rt.properties={};else if(((nt=bt.removeProperties)===null||nt===void 0?void 0:nt.length)>0)for(let Xt of bt.removeProperties)Object.prototype.hasOwnProperty.call(Rt.properties,Xt)&&delete Rt.properties[Xt];if(((pt=bt.addOrUpdateProperties)===null||pt===void 0?void 0:pt.length)>0)for(let{key:Xt,value:$t}of bt.addOrUpdateProperties)Rt.properties[Xt]=$t}}(this._dataUpdateable,Be.dataDiff,je),{type:\"FeatureCollection\",features:Array.from(this._dataUpdateable.values())}})}removeSource(Be){return e._(this,void 0,void 0,function*(){this._pendingRequest&&this._pendingRequest.abort()})}getClusterExpansionZoom(Be){return this._geoJSONIndex.getClusterExpansionZoom(Be.clusterId)}getClusterChildren(Be){return this._geoJSONIndex.getChildren(Be.clusterId)}getClusterLeaves(Be){return this._geoJSONIndex.getLeaves(Be.clusterId,Be.limit,Be.offset)}}class br{constructor(Be){this.self=Be,this.actor=new e.F(Be),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.self.registerWorkerSource=(Ke,je)=>{if(this.externalWorkerSourceTypes[Ke])throw new Error(`Worker source with name \"${Ke}\" already registered.`);this.externalWorkerSourceTypes[Ke]=je},this.self.addProtocol=e.bi,this.self.removeProtocol=e.bj,this.self.registerRTLTextPlugin=Ke=>{if(e.bD.isParsed())throw new Error(\"RTL text plugin already registered.\");e.bD.setMethods(Ke)},this.actor.registerMessageHandler(\"LDT\",(Ke,je)=>this._getDEMWorkerSource(Ke,je.source).loadTile(je)),this.actor.registerMessageHandler(\"RDT\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getDEMWorkerSource(Ke,je.source).removeTile(je)})),this.actor.registerMessageHandler(\"GCEZ\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterExpansionZoom(je)})),this.actor.registerMessageHandler(\"GCC\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterChildren(je)})),this.actor.registerMessageHandler(\"GCL\",(Ke,je)=>e._(this,void 0,void 0,function*(){return this._getWorkerSource(Ke,je.type,je.source).getClusterLeaves(je)})),this.actor.registerMessageHandler(\"LD\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadData(je)),this.actor.registerMessageHandler(\"GD\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).getData()),this.actor.registerMessageHandler(\"LT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).loadTile(je)),this.actor.registerMessageHandler(\"RT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).reloadTile(je)),this.actor.registerMessageHandler(\"AT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).abortTile(je)),this.actor.registerMessageHandler(\"RMT\",(Ke,je)=>this._getWorkerSource(Ke,je.type,je.source).removeTile(je)),this.actor.registerMessageHandler(\"RS\",(Ke,je)=>e._(this,void 0,void 0,function*(){if(!this.workerSources[Ke]||!this.workerSources[Ke][je.type]||!this.workerSources[Ke][je.type][je.source])return;let Se=this.workerSources[Ke][je.type][je.source];delete this.workerSources[Ke][je.type][je.source],Se.removeSource!==void 0&&Se.removeSource(je)})),this.actor.registerMessageHandler(\"RM\",Ke=>e._(this,void 0,void 0,function*(){delete this.layerIndexes[Ke],delete this.availableImages[Ke],delete this.workerSources[Ke],delete this.demWorkerSources[Ke]})),this.actor.registerMessageHandler(\"SR\",(Ke,je)=>e._(this,void 0,void 0,function*(){this.referrer=je})),this.actor.registerMessageHandler(\"SRPS\",(Ke,je)=>this._syncRTLPluginState(Ke,je)),this.actor.registerMessageHandler(\"IS\",(Ke,je)=>e._(this,void 0,void 0,function*(){this.self.importScripts(je)})),this.actor.registerMessageHandler(\"SI\",(Ke,je)=>this._setImages(Ke,je)),this.actor.registerMessageHandler(\"UL\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).update(je.layers,je.removedIds)})),this.actor.registerMessageHandler(\"SL\",(Ke,je)=>e._(this,void 0,void 0,function*(){this._getLayerIndex(Ke).replace(je)}))}_setImages(Be,Ke){return e._(this,void 0,void 0,function*(){this.availableImages[Be]=Ke;for(let je in this.workerSources[Be]){let Se=this.workerSources[Be][je];for(let He in Se)Se[He].availableImages=Ke}})}_syncRTLPluginState(Be,Ke){return e._(this,void 0,void 0,function*(){if(e.bD.isParsed())return e.bD.getState();if(Ke.pluginStatus!==\"loading\")return e.bD.setState(Ke),Ke;let je=Ke.pluginURL;if(this.self.importScripts(je),e.bD.isParsed()){let Se={pluginStatus:\"loaded\",pluginURL:je};return e.bD.setState(Se),Se}throw e.bD.setState({pluginStatus:\"error\",pluginURL:\"\"}),new Error(`RTL Text Plugin failed to import scripts from ${je}`)})}_getAvailableImages(Be){let Ke=this.availableImages[Be];return Ke||(Ke=[]),Ke}_getLayerIndex(Be){let Ke=this.layerIndexes[Be];return Ke||(Ke=this.layerIndexes[Be]=new t),Ke}_getWorkerSource(Be,Ke,je){if(this.workerSources[Be]||(this.workerSources[Be]={}),this.workerSources[Be][Ke]||(this.workerSources[Be][Ke]={}),!this.workerSources[Be][Ke][je]){let Se={sendAsync:(He,Ee)=>(He.targetMapId=Be,this.actor.sendAsync(He,Ee))};switch(Ke){case\"vector\":this.workerSources[Be][Ke][je]=new i(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;case\"geojson\":this.workerSources[Be][Ke][je]=new gr(Se,this._getLayerIndex(Be),this._getAvailableImages(Be));break;default:this.workerSources[Be][Ke][je]=new this.externalWorkerSourceTypes[Ke](Se,this._getLayerIndex(Be),this._getAvailableImages(Be))}}return this.workerSources[Be][Ke][je]}_getDEMWorkerSource(Be,Ke){return this.demWorkerSources[Be]||(this.demWorkerSources[Be]={}),this.demWorkerSources[Be][Ke]||(this.demWorkerSources[Be][Ke]=new a),this.demWorkerSources[Be][Ke]}}return e.i(self)&&(self.worker=new br(self)),br}),A(\"index\",[\"exports\",\"./shared\"],function(e,t){\"use strict\";var r=\"4.7.1\";let o,n,i={now:typeof performance<\"u\"&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frameAsync:Ne=>new Promise((R,ne)=>{let be=requestAnimationFrame(R);Ne.signal.addEventListener(\"abort\",()=>{cancelAnimationFrame(be),ne(t.c())})}),getImageData(Ne,R=0){return this.getImageCanvasContext(Ne).getImageData(-R,-R,Ne.width+2*R,Ne.height+2*R)},getImageCanvasContext(Ne){let R=window.document.createElement(\"canvas\"),ne=R.getContext(\"2d\",{willReadFrequently:!0});if(!ne)throw new Error(\"failed to create canvas 2d context\");return R.width=Ne.width,R.height=Ne.height,ne.drawImage(Ne,0,0,Ne.width,Ne.height),ne},resolveURL:Ne=>(o||(o=document.createElement(\"a\")),o.href=Ne,o.href),hardwareConcurrency:typeof navigator<\"u\"&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(n==null&&(n=matchMedia(\"(prefers-reduced-motion: reduce)\")),n.matches)}};class a{static testProp(R){if(!a.docStyle)return R[0];for(let ne=0;ne{window.removeEventListener(\"click\",a.suppressClickInternal,!0)},0)}static getScale(R){let ne=R.getBoundingClientRect();return{x:ne.width/R.offsetWidth||1,y:ne.height/R.offsetHeight||1,boundingClientRect:ne}}static getPoint(R,ne,be){let Ae=ne.boundingClientRect;return new t.P((be.clientX-Ae.left)/ne.x-R.clientLeft,(be.clientY-Ae.top)/ne.y-R.clientTop)}static mousePos(R,ne){let be=a.getScale(R);return a.getPoint(R,be,ne)}static touchPos(R,ne){let be=[],Ae=a.getScale(R);for(let Fe=0;Fe{c&&T(c),c=null,d=!0},h.onerror=()=>{p=!0,c=null},h.src=\"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\"),function(Ne){let R,ne,be,Ae;Ne.resetRequestQueue=()=>{R=[],ne=0,be=0,Ae={}},Ne.addThrottleControl=zt=>{let Jt=be++;return Ae[Jt]=zt,Jt},Ne.removeThrottleControl=zt=>{delete Ae[zt],ht()},Ne.getImage=(zt,Jt,hr=!0)=>new Promise((vr,Hr)=>{s.supported&&(zt.headers||(zt.headers={}),zt.headers.accept=\"image/webp,*/*\"),t.e(zt,{type:\"image\"}),R.push({abortController:Jt,requestParameters:zt,supportImageRefresh:hr,state:\"queued\",onError:ln=>{Hr(ln)},onSuccess:ln=>{vr(ln)}}),ht()});let Fe=zt=>t._(this,void 0,void 0,function*(){zt.state=\"running\";let{requestParameters:Jt,supportImageRefresh:hr,onError:vr,onSuccess:Hr,abortController:ln}=zt,Ge=hr===!1&&!t.i(self)&&!t.g(Jt.url)&&(!Jt.headers||Object.keys(Jt.headers).reduce((dt,St)=>dt&&St===\"accept\",!0));ne++;let $e=Ge?wt(Jt,ln):t.m(Jt,ln);try{let dt=yield $e;delete zt.abortController,zt.state=\"completed\",dt.data instanceof HTMLImageElement||t.b(dt.data)?Hr(dt):dt.data&&Hr({data:yield(st=dt.data,typeof createImageBitmap==\"function\"?t.d(st):t.f(st)),cacheControl:dt.cacheControl,expires:dt.expires})}catch(dt){delete zt.abortController,vr(dt)}finally{ne--,ht()}var st}),ht=()=>{let zt=(()=>{for(let Jt of Object.keys(Ae))if(Ae[Jt]())return!0;return!1})()?t.a.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.a.MAX_PARALLEL_IMAGE_REQUESTS;for(let Jt=ne;Jt0;Jt++){let hr=R.shift();hr.abortController.signal.aborted?Jt--:Fe(hr)}},wt=(zt,Jt)=>new Promise((hr,vr)=>{let Hr=new Image,ln=zt.url,Ge=zt.credentials;Ge&&Ge===\"include\"?Hr.crossOrigin=\"use-credentials\":(Ge&&Ge===\"same-origin\"||!t.s(ln))&&(Hr.crossOrigin=\"anonymous\"),Jt.signal.addEventListener(\"abort\",()=>{Hr.src=\"\",vr(t.c())}),Hr.fetchPriority=\"high\",Hr.onload=()=>{Hr.onerror=Hr.onload=null,hr({data:Hr})},Hr.onerror=()=>{Hr.onerror=Hr.onload=null,Jt.signal.aborted||vr(new Error(\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\"))},Hr.src=ln})}(l||(l={})),l.resetRequestQueue();class _{constructor(R){this._transformRequestFn=R}transformRequest(R,ne){return this._transformRequestFn&&this._transformRequestFn(R,ne)||{url:R}}setTransformRequest(R){this._transformRequestFn=R}}function w(Ne){var R=new t.A(3);return R[0]=Ne[0],R[1]=Ne[1],R[2]=Ne[2],R}var M,E=function(Ne,R,ne){return Ne[0]=R[0]-ne[0],Ne[1]=R[1]-ne[1],Ne[2]=R[2]-ne[2],Ne};M=new t.A(3),t.A!=Float32Array&&(M[0]=0,M[1]=0,M[2]=0);var m=function(Ne){var R=Ne[0],ne=Ne[1];return R*R+ne*ne};function b(Ne){let R=[];if(typeof Ne==\"string\")R.push({id:\"default\",url:Ne});else if(Ne&&Ne.length>0){let ne=[];for(let{id:be,url:Ae}of Ne){let Fe=`${be}${Ae}`;ne.indexOf(Fe)===-1&&(ne.push(Fe),R.push({id:be,url:Ae}))}}return R}function v(Ne,R,ne){let be=Ne.split(\"?\");return be[0]+=`${R}${ne}`,be.join(\"?\")}(function(){var Ne=new t.A(2);t.A!=Float32Array&&(Ne[0]=0,Ne[1]=0)})();class u{constructor(R,ne,be,Ae){this.context=R,this.format=be,this.texture=R.gl.createTexture(),this.update(ne,Ae)}update(R,ne,be){let{width:Ae,height:Fe}=R,ht=!(this.size&&this.size[0]===Ae&&this.size[1]===Fe||be),{context:wt}=this,{gl:zt}=wt;if(this.useMipmap=!!(ne&&ne.useMipmap),zt.bindTexture(zt.TEXTURE_2D,this.texture),wt.pixelStoreUnpackFlipY.set(!1),wt.pixelStoreUnpack.set(1),wt.pixelStoreUnpackPremultiplyAlpha.set(this.format===zt.RGBA&&(!ne||ne.premultiply!==!1)),ht)this.size=[Ae,Fe],R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texImage2D(zt.TEXTURE_2D,0,this.format,this.format,zt.UNSIGNED_BYTE,R):zt.texImage2D(zt.TEXTURE_2D,0,this.format,Ae,Fe,0,this.format,zt.UNSIGNED_BYTE,R.data);else{let{x:Jt,y:hr}=be||{x:0,y:0};R instanceof HTMLImageElement||R instanceof HTMLCanvasElement||R instanceof HTMLVideoElement||R instanceof ImageData||t.b(R)?zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,zt.RGBA,zt.UNSIGNED_BYTE,R):zt.texSubImage2D(zt.TEXTURE_2D,0,Jt,hr,Ae,Fe,zt.RGBA,zt.UNSIGNED_BYTE,R.data)}this.useMipmap&&this.isSizePowerOfTwo()&&zt.generateMipmap(zt.TEXTURE_2D)}bind(R,ne,be){let{context:Ae}=this,{gl:Fe}=Ae;Fe.bindTexture(Fe.TEXTURE_2D,this.texture),be!==Fe.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(be=Fe.LINEAR),R!==this.filter&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,R),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,be||R),this.filter=R),ne!==this.wrap&&(Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,ne),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,ne),this.wrap=ne)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){let{gl:R}=this.context;R.deleteTexture(this.texture),this.texture=null}}function y(Ne){let{userImage:R}=Ne;return!!(R&&R.render&&R.render())&&(Ne.data.replace(new Uint8Array(R.data.buffer)),!0)}class f extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(R){if(this.loaded!==R&&(this.loaded=R,R)){for(let{ids:ne,promiseResolve:be}of this.requestors)be(this._getImagesForIds(ne));this.requestors=[]}}getImage(R){let ne=this.images[R];if(ne&&!ne.data&&ne.spriteData){let be=ne.spriteData;ne.data=new t.R({width:be.width,height:be.height},be.context.getImageData(be.x,be.y,be.width,be.height).data),ne.spriteData=null}return ne}addImage(R,ne){if(this.images[R])throw new Error(`Image id ${R} already exist, use updateImage instead`);this._validate(R,ne)&&(this.images[R]=ne)}_validate(R,ne){let be=!0,Ae=ne.data||ne.spriteData;return this._validateStretch(ne.stretchX,Ae&&Ae.width)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"stretchX\" value`))),be=!1),this._validateStretch(ne.stretchY,Ae&&Ae.height)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"stretchY\" value`))),be=!1),this._validateContent(ne.content,ne)||(this.fire(new t.j(new Error(`Image \"${R}\" has invalid \"content\" value`))),be=!1),be}_validateStretch(R,ne){if(!R)return!0;let be=0;for(let Ae of R){if(Ae[0]{let Ae=!0;if(!this.isLoaded())for(let Fe of R)this.images[Fe]||(Ae=!1);this.isLoaded()||Ae?ne(this._getImagesForIds(R)):this.requestors.push({ids:R,promiseResolve:ne})})}_getImagesForIds(R){let ne={};for(let be of R){let Ae=this.getImage(be);Ae||(this.fire(new t.k(\"styleimagemissing\",{id:be})),Ae=this.getImage(be)),Ae?ne[be]={data:Ae.data.clone(),pixelRatio:Ae.pixelRatio,sdf:Ae.sdf,version:Ae.version,stretchX:Ae.stretchX,stretchY:Ae.stretchY,content:Ae.content,textFitWidth:Ae.textFitWidth,textFitHeight:Ae.textFitHeight,hasRenderCallback:!!(Ae.userImage&&Ae.userImage.render)}:t.w(`Image \"${be}\" could not be loaded. Please make sure you have added the image with map.addImage() or a \"sprite\" property in your style. You can provide missing images by listening for the \"styleimagemissing\" map event.`)}return ne}getPixelSize(){let{width:R,height:ne}=this.atlasImage;return{width:R,height:ne}}getPattern(R){let ne=this.patterns[R],be=this.getImage(R);if(!be)return null;if(ne&&ne.position.version===be.version)return ne.position;if(ne)ne.position.version=be.version;else{let Ae={w:be.data.width+2,h:be.data.height+2,x:0,y:0},Fe=new t.I(Ae,be);this.patterns[R]={bin:Ae,position:Fe}}return this._updatePatternAtlas(),this.patterns[R].position}bind(R){let ne=R.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new u(R,this.atlasImage,ne.RGBA),this.atlasTexture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE)}_updatePatternAtlas(){let R=[];for(let Fe in this.patterns)R.push(this.patterns[Fe].bin);let{w:ne,h:be}=t.p(R),Ae=this.atlasImage;Ae.resize({width:ne||1,height:be||1});for(let Fe in this.patterns){let{bin:ht}=this.patterns[Fe],wt=ht.x+1,zt=ht.y+1,Jt=this.getImage(Fe).data,hr=Jt.width,vr=Jt.height;t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt},{width:hr,height:vr}),t.R.copy(Jt,Ae,{x:0,y:vr-1},{x:wt,y:zt-1},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt,y:zt+vr},{width:hr,height:1}),t.R.copy(Jt,Ae,{x:hr-1,y:0},{x:wt-1,y:zt},{width:1,height:vr}),t.R.copy(Jt,Ae,{x:0,y:0},{x:wt+hr,y:zt},{width:1,height:vr})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(R){for(let ne of R){if(this.callbackDispatchedThisFrame[ne])continue;this.callbackDispatchedThisFrame[ne]=!0;let be=this.getImage(ne);be||t.w(`Image with ID: \"${ne}\" was not found`),y(be)&&this.updateImage(ne,be)}}}let P=1e20;function L(Ne,R,ne,be,Ae,Fe,ht,wt,zt){for(let Jt=R;Jt-1);zt++,Fe[zt]=wt,ht[zt]=Jt,ht[zt+1]=P}for(let wt=0,zt=0;wt65535)throw new Error(\"glyphs > 65535 not supported\");if(be.ranges[Fe])return{stack:R,id:ne,glyph:Ae};if(!this.url)throw new Error(\"glyphsUrl is not set\");if(!be.requests[Fe]){let wt=F.loadGlyphRange(R,Fe,this.url,this.requestManager);be.requests[Fe]=wt}let ht=yield be.requests[Fe];for(let wt in ht)this._doesCharSupportLocalGlyph(+wt)||(be.glyphs[+wt]=ht[+wt]);return be.ranges[Fe]=!0,{stack:R,id:ne,glyph:ht[ne]||null}})}_doesCharSupportLocalGlyph(R){return!!this.localIdeographFontFamily&&new RegExp(\"\\\\p{Ideo}|\\\\p{sc=Hang}|\\\\p{sc=Hira}|\\\\p{sc=Kana}\",\"u\").test(String.fromCodePoint(R))}_tinySDF(R,ne,be){let Ae=this.localIdeographFontFamily;if(!Ae||!this._doesCharSupportLocalGlyph(be))return;let Fe=R.tinySDF;if(!Fe){let wt=\"400\";/bold/i.test(ne)?wt=\"900\":/medium/i.test(ne)?wt=\"500\":/light/i.test(ne)&&(wt=\"200\"),Fe=R.tinySDF=new F.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:Ae,fontWeight:wt})}let ht=Fe.draw(String.fromCharCode(be));return{id:be,bitmap:new t.o({width:ht.width||60,height:ht.height||60},ht.data),metrics:{width:ht.glyphWidth/2||24,height:ht.glyphHeight/2||24,left:ht.glyphLeft/2+.5||0,top:ht.glyphTop/2-27.5||-8,advance:ht.glyphAdvance/2||24,isDoubleResolution:!0}}}}F.loadGlyphRange=function(Ne,R,ne,be){return t._(this,void 0,void 0,function*(){let Ae=256*R,Fe=Ae+255,ht=be.transformRequest(ne.replace(\"{fontstack}\",Ne).replace(\"{range}\",`${Ae}-${Fe}`),\"Glyphs\"),wt=yield t.l(ht,new AbortController);if(!wt||!wt.data)throw new Error(`Could not load glyph range. range: ${R}, ${Ae}-${Fe}`);let zt={};for(let Jt of t.n(wt.data))zt[Jt.id]=Jt;return zt})},F.TinySDF=class{constructor({fontSize:Ne=24,buffer:R=3,radius:ne=8,cutoff:be=.25,fontFamily:Ae=\"sans-serif\",fontWeight:Fe=\"normal\",fontStyle:ht=\"normal\"}={}){this.buffer=R,this.cutoff=be,this.radius=ne;let wt=this.size=Ne+4*R,zt=this._createCanvas(wt),Jt=this.ctx=zt.getContext(\"2d\",{willReadFrequently:!0});Jt.font=`${ht} ${Fe} ${Ne}px ${Ae}`,Jt.textBaseline=\"alphabetic\",Jt.textAlign=\"left\",Jt.fillStyle=\"black\",this.gridOuter=new Float64Array(wt*wt),this.gridInner=new Float64Array(wt*wt),this.f=new Float64Array(wt),this.z=new Float64Array(wt+1),this.v=new Uint16Array(wt)}_createCanvas(Ne){let R=document.createElement(\"canvas\");return R.width=R.height=Ne,R}draw(Ne){let{width:R,actualBoundingBoxAscent:ne,actualBoundingBoxDescent:be,actualBoundingBoxLeft:Ae,actualBoundingBoxRight:Fe}=this.ctx.measureText(Ne),ht=Math.ceil(ne),wt=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(Fe-Ae))),zt=Math.min(this.size-this.buffer,ht+Math.ceil(be)),Jt=wt+2*this.buffer,hr=zt+2*this.buffer,vr=Math.max(Jt*hr,0),Hr=new Uint8ClampedArray(vr),ln={data:Hr,width:Jt,height:hr,glyphWidth:wt,glyphHeight:zt,glyphTop:ht,glyphLeft:0,glyphAdvance:R};if(wt===0||zt===0)return ln;let{ctx:Ge,buffer:$e,gridInner:st,gridOuter:dt}=this;Ge.clearRect($e,$e,wt,zt),Ge.fillText(Ne,$e,$e+ht);let St=Ge.getImageData($e,$e,wt,zt);dt.fill(P,0,vr),st.fill(0,0,vr);for(let xt=0;xt0?pr*pr:0,st[sr]=pr<0?pr*pr:0}}L(dt,0,0,Jt,hr,Jt,this.f,this.v,this.z),L(st,$e,$e,wt,zt,Jt,this.f,this.v,this.z);for(let xt=0;xt1&&(zt=R[++wt]);let hr=Math.abs(Jt-zt.left),vr=Math.abs(Jt-zt.right),Hr=Math.min(hr,vr),ln,Ge=Fe/be*(Ae+1);if(zt.isDash){let $e=Ae-Math.abs(Ge);ln=Math.sqrt(Hr*Hr+$e*$e)}else ln=Ae-Math.sqrt(Hr*Hr+Ge*Ge);this.data[ht+Jt]=Math.max(0,Math.min(255,ln+128))}}}addRegularDash(R){for(let wt=R.length-1;wt>=0;--wt){let zt=R[wt],Jt=R[wt+1];zt.zeroLength?R.splice(wt,1):Jt&&Jt.isDash===zt.isDash&&(Jt.left=zt.left,R.splice(wt,1))}let ne=R[0],be=R[R.length-1];ne.isDash===be.isDash&&(ne.left=be.left-this.width,be.right=ne.right+this.width);let Ae=this.width*this.nextRow,Fe=0,ht=R[Fe];for(let wt=0;wt1&&(ht=R[++Fe]);let zt=Math.abs(wt-ht.left),Jt=Math.abs(wt-ht.right),hr=Math.min(zt,Jt);this.data[Ae+wt]=Math.max(0,Math.min(255,(ht.isDash?hr:-hr)+128))}}addDash(R,ne){let be=ne?7:0,Ae=2*be+1;if(this.nextRow+Ae>this.height)return t.w(\"LineAtlas out of space\"),null;let Fe=0;for(let wt=0;wt{ne.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[Q]}numActive(){return Object.keys(this.active).length}}let se=Math.floor(i.hardwareConcurrency/2),fe,G;function $(){return fe||(fe=new le),fe}le.workerCount=t.C(globalThis)?Math.max(Math.min(se,3),1):1;class J{constructor(R,ne){this.workerPool=R,this.actors=[],this.currentActor=0,this.id=ne;let be=this.workerPool.acquire(ne);for(let Ae=0;Ae{ne.remove()}),this.actors=[],R&&this.workerPool.release(this.id)}registerMessageHandler(R,ne){for(let be of this.actors)be.registerMessageHandler(R,ne)}}function X(){return G||(G=new J($(),t.G),G.registerMessageHandler(\"GR\",(Ne,R,ne)=>t.m(R,ne))),G}function re(Ne,R){let ne=t.H();return t.J(ne,ne,[1,1,0]),t.K(ne,ne,[.5*Ne.width,.5*Ne.height,1]),t.L(ne,ne,Ne.calculatePosMatrix(R.toUnwrapped()))}function ae(Ne,R,ne,be,Ae,Fe){let ht=function(vr,Hr,ln){if(vr)for(let Ge of vr){let $e=Hr[Ge];if($e&&$e.source===ln&&$e.type===\"fill-extrusion\")return!0}else for(let Ge in Hr){let $e=Hr[Ge];if($e.source===ln&&$e.type===\"fill-extrusion\")return!0}return!1}(Ae&&Ae.layers,R,Ne.id),wt=Fe.maxPitchScaleFactor(),zt=Ne.tilesIn(be,wt,ht);zt.sort(j);let Jt=[];for(let vr of zt)Jt.push({wrappedTileID:vr.tileID.wrapped().key,queryResults:vr.tile.queryRenderedFeatures(R,ne,Ne._state,vr.queryGeometry,vr.cameraQueryGeometry,vr.scale,Ae,Fe,wt,re(Ne.transform,vr.tileID))});let hr=function(vr){let Hr={},ln={};for(let Ge of vr){let $e=Ge.queryResults,st=Ge.wrappedTileID,dt=ln[st]=ln[st]||{};for(let St in $e){let xt=$e[St],It=dt[St]=dt[St]||{},rr=Hr[St]=Hr[St]||[];for(let sr of xt)It[sr.featureIndex]||(It[sr.featureIndex]=!0,rr.push(sr))}}return Hr}(Jt);for(let vr in hr)hr[vr].forEach(Hr=>{let ln=Hr.feature,Ge=Ne.getFeatureState(ln.layer[\"source-layer\"],ln.id);ln.source=ln.layer.source,ln.layer[\"source-layer\"]&&(ln.sourceLayer=ln.layer[\"source-layer\"]),ln.state=Ge});return hr}function j(Ne,R){let ne=Ne.tileID,be=R.tileID;return ne.overscaledZ-be.overscaledZ||ne.canonical.y-be.canonical.y||ne.wrap-be.wrap||ne.canonical.x-be.canonical.x}function ee(Ne,R,ne){return t._(this,void 0,void 0,function*(){let be=Ne;if(Ne.url?be=(yield t.h(R.transformRequest(Ne.url,\"Source\"),ne)).data:yield i.frameAsync(ne),!be)return null;let Ae=t.M(t.e(be,Ne),[\"tiles\",\"minzoom\",\"maxzoom\",\"attribution\",\"bounds\",\"scheme\",\"tileSize\",\"encoding\"]);return\"vector_layers\"in be&&be.vector_layers&&(Ae.vectorLayerIds=be.vector_layers.map(Fe=>Fe.id)),Ae})}class ie{constructor(R,ne){R&&(ne?this.setSouthWest(R).setNorthEast(ne):Array.isArray(R)&&(R.length===4?this.setSouthWest([R[0],R[1]]).setNorthEast([R[2],R[3]]):this.setSouthWest(R[0]).setNorthEast(R[1])))}setNorthEast(R){return this._ne=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}setSouthWest(R){return this._sw=R instanceof t.N?new t.N(R.lng,R.lat):t.N.convert(R),this}extend(R){let ne=this._sw,be=this._ne,Ae,Fe;if(R instanceof t.N)Ae=R,Fe=R;else{if(!(R instanceof ie))return Array.isArray(R)?R.length===4||R.every(Array.isArray)?this.extend(ie.convert(R)):this.extend(t.N.convert(R)):R&&(\"lng\"in R||\"lon\"in R)&&\"lat\"in R?this.extend(t.N.convert(R)):this;if(Ae=R._sw,Fe=R._ne,!Ae||!Fe)return this}return ne||be?(ne.lng=Math.min(Ae.lng,ne.lng),ne.lat=Math.min(Ae.lat,ne.lat),be.lng=Math.max(Fe.lng,be.lng),be.lat=Math.max(Fe.lat,be.lat)):(this._sw=new t.N(Ae.lng,Ae.lat),this._ne=new t.N(Fe.lng,Fe.lat)),this}getCenter(){return new t.N((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.N(this.getWest(),this.getNorth())}getSouthEast(){return new t.N(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(R){let{lng:ne,lat:be}=t.N.convert(R),Ae=this._sw.lng<=ne&&ne<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Ae=this._sw.lng>=ne&&ne>=this._ne.lng),this._sw.lat<=be&&be<=this._ne.lat&&Ae}static convert(R){return R instanceof ie?R:R&&new ie(R)}static fromLngLat(R,ne=0){let be=360*ne/40075017,Ae=be/Math.cos(Math.PI/180*R.lat);return new ie(new t.N(R.lng-Ae,R.lat-be),new t.N(R.lng+Ae,R.lat+be))}adjustAntiMeridian(){let R=new t.N(this._sw.lng,this._sw.lat),ne=new t.N(this._ne.lng,this._ne.lat);return new ie(R,R.lng>ne.lng?new t.N(ne.lng+360,ne.lat):ne)}}class ce{constructor(R,ne,be){this.bounds=ie.convert(this.validateBounds(R)),this.minzoom=ne||0,this.maxzoom=be||24}validateBounds(R){return Array.isArray(R)&&R.length===4?[Math.max(-180,R[0]),Math.max(-90,R[1]),Math.min(180,R[2]),Math.min(90,R[3])]:[-180,-90,180,90]}contains(R){let ne=Math.pow(2,R.z),be=Math.floor(t.O(this.bounds.getWest())*ne),Ae=Math.floor(t.Q(this.bounds.getNorth())*ne),Fe=Math.ceil(t.O(this.bounds.getEast())*ne),ht=Math.ceil(t.Q(this.bounds.getSouth())*ne);return R.x>=be&&R.x=Ae&&R.y{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}serialize(){return t.e({},this._options)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be={request:this.map._requestManager.transformRequest(ne,\"Tile\"),uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,tileSize:this.tileSize*R.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};be.request.collectResourceTiming=this._collectResourceTiming;let Ae=\"RT\";if(R.actor&&R.state!==\"expired\"){if(R.state===\"loading\")return new Promise((Fe,ht)=>{R.reloadPromise={resolve:Fe,reject:ht}})}else R.actor=this.dispatcher.getActor(),Ae=\"LT\";R.abortController=new AbortController;try{let Fe=yield R.actor.sendAsync({type:Ae,data:be},R.abortController);if(delete R.abortController,R.aborted)return;this._afterTileLoadWorkerResponse(R,Fe)}catch(Fe){if(delete R.abortController,R.aborted)return;if(Fe&&Fe.status!==404)throw Fe;this._afterTileLoadWorkerResponse(R,null)}})}_afterTileLoadWorkerResponse(R,ne){if(ne&&ne.resourceTiming&&(R.resourceTiming=ne.resourceTiming),ne&&this.map._refreshExpiredTiles&&R.setExpiryData(ne),R.loadVectorData(ne,this.map.painter),R.reloadPromise){let be=R.reloadPromise;R.reloadPromise=null,this.loadTile(R).then(be.resolve).catch(be.reject)}}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.actor&&(yield R.actor.sendAsync({type:\"AT\",data:{uid:R.uid,type:this.type,source:this.id}}))})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),R.actor&&(yield R.actor.sendAsync({type:\"RMT\",data:{uid:R.uid,type:this.type,source:this.id}}))})}hasTransition(){return!1}}class Te extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.setEventedParent(Ae),this.type=\"raster\",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme=\"xyz\",this.tileSize=512,this._loaded=!1,this._options=t.e({type:\"raster\"},ne),t.e(this,t.M(ne,[\"url\",\"scheme\",\"tileSize\"]))}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k(\"dataloading\",{dataType:\"source\"})),this._tileJSONRequest=new AbortController;try{let R=yield ee(this._options,this.map._requestManager,this._tileJSONRequest);this._tileJSONRequest=null,this._loaded=!0,R&&(t.e(this,R),R.bounds&&(this.tileBounds=new ce(R.bounds,this.minzoom,this.maxzoom)),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"content\"})))}catch(R){this._tileJSONRequest=null,this.fire(new t.j(R))}})}loaded(){return this._loaded}onAdd(R){this.map=R,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}setSourceProperty(R){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),R(),this.load()}setTiles(R){return this.setSourceProperty(()=>{this._options.tiles=R}),this}setUrl(R){return this.setSourceProperty(()=>{this.url=R,this._options.url=R}),this}serialize(){return t.e({},this._options)}hasTile(R){return!this.tileBounds||this.tileBounds.contains(R.canonical)}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);R.abortController=new AbortController;try{let be=yield l.getImage(this.map._requestManager.transformRequest(ne,\"Tile\"),R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state=\"unloaded\");if(be&&be.data){this.map._refreshExpiredTiles&&be.cacheControl&&be.expires&&R.setExpiryData({cacheControl:be.cacheControl,expires:be.expires});let Ae=this.map.painter.context,Fe=Ae.gl,ht=be.data;R.texture=this.map.painter.getTileTexture(ht.width),R.texture?R.texture.update(ht,{useMipmap:!0}):(R.texture=new u(Ae,ht,Fe.RGBA,{useMipmap:!0}),R.texture.bind(Fe.LINEAR,Fe.CLAMP_TO_EDGE,Fe.LINEAR_MIPMAP_NEAREST)),R.state=\"loaded\"}}catch(be){if(delete R.abortController,R.aborted)R.state=\"unloaded\";else if(be)throw R.state=\"errored\",be}})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController)})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.texture&&this.map.painter.saveTileTexture(R.texture)})}hasTransition(){return!1}}class Ue extends Te{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.type=\"raster-dem\",this.maxzoom=22,this._options=t.e({type:\"raster-dem\"},ne),this.encoding=ne.encoding||\"mapbox\",this.redFactor=ne.redFactor,this.greenFactor=ne.greenFactor,this.blueFactor=ne.blueFactor,this.baseShift=ne.baseShift}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),be=this.map._requestManager.transformRequest(ne,\"Tile\");R.neighboringTiles=this._getNeighboringTiles(R.tileID),R.abortController=new AbortController;try{let Ae=yield l.getImage(be,R.abortController,this.map._refreshExpiredTiles);if(delete R.abortController,R.aborted)return void(R.state=\"unloaded\");if(Ae&&Ae.data){let Fe=Ae.data;this.map._refreshExpiredTiles&&Ae.cacheControl&&Ae.expires&&R.setExpiryData({cacheControl:Ae.cacheControl,expires:Ae.expires});let ht=t.b(Fe)&&t.U()?Fe:yield this.readImageNow(Fe),wt={type:this.type,uid:R.uid,source:this.id,rawImageData:ht,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(!R.actor||R.state===\"expired\"){R.actor=this.dispatcher.getActor();let zt=yield R.actor.sendAsync({type:\"LDT\",data:wt});R.dem=zt,R.needsHillshadePrepare=!0,R.needsTerrainPrepare=!0,R.state=\"loaded\"}}}catch(Ae){if(delete R.abortController,R.aborted)R.state=\"unloaded\";else if(Ae)throw R.state=\"errored\",Ae}})}readImageNow(R){return t._(this,void 0,void 0,function*(){if(typeof VideoFrame<\"u\"&&t.V()){let ne=R.width+2,be=R.height+2;try{return new t.R({width:ne,height:be},yield t.W(R,-1,-1,ne,be))}catch{}}return i.getImageData(R,1)})}_getNeighboringTiles(R){let ne=R.canonical,be=Math.pow(2,ne.z),Ae=(ne.x-1+be)%be,Fe=ne.x===0?R.wrap-1:R.wrap,ht=(ne.x+1+be)%be,wt=ne.x+1===be?R.wrap+1:R.wrap,zt={};return zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y).key]={backfilled:!1},ne.y>0&&(zt[new t.S(R.overscaledZ,Fe,ne.z,Ae,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,R.wrap,ne.z,ne.x,ne.y-1).key]={backfilled:!1},zt[new t.S(R.overscaledZ,wt,ne.z,ht,ne.y-1).key]={backfilled:!1}),ne.y+10&&t.e(Fe,{resourceTiming:Ae}),this.fire(new t.k(\"data\",Object.assign(Object.assign({},Fe),{sourceDataType:\"metadata\"}))),this.fire(new t.k(\"data\",Object.assign(Object.assign({},Fe),{sourceDataType:\"content\"})))}catch(be){if(this._pendingLoads--,this._removed)return void this.fire(new t.k(\"dataabort\",{dataType:\"source\"}));this.fire(new t.j(be))}})}loaded(){return this._pendingLoads===0}loadTile(R){return t._(this,void 0,void 0,function*(){let ne=R.actor?\"RT\":\"LT\";R.actor=this.actor;let be={type:this.type,uid:R.uid,tileID:R.tileID,zoom:R.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};R.abortController=new AbortController;let Ae=yield this.actor.sendAsync({type:ne,data:be},R.abortController);delete R.abortController,R.unloadVectorData(),R.aborted||R.loadVectorData(Ae,this.map.painter,ne===\"RT\")})}abortTile(R){return t._(this,void 0,void 0,function*(){R.abortController&&(R.abortController.abort(),delete R.abortController),R.aborted=!0})}unloadTile(R){return t._(this,void 0,void 0,function*(){R.unloadVectorData(),yield this.actor.sendAsync({type:\"RMT\",data:{uid:R.uid,type:this.type,source:this.id}})})}onRemove(){this._removed=!0,this.actor.sendAsync({type:\"RS\",data:{type:this.type,source:this.id}})}serialize(){return t.e({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var Ye=t.Y([{name:\"a_pos\",type:\"Int16\",components:2},{name:\"a_texture_pos\",type:\"Int16\",components:2}]);class it extends t.E{constructor(R,ne,be,Ae){super(),this.id=R,this.dispatcher=be,this.coordinates=ne.coordinates,this.type=\"image\",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ae),this.options=ne}load(R){return t._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new t.k(\"dataloading\",{dataType:\"source\"})),this.url=this.options.url,this._request=new AbortController;try{let ne=yield l.getImage(this.map._requestManager.transformRequest(this.url,\"Image\"),this._request);this._request=null,this._loaded=!0,ne&&ne.data&&(this.image=ne.data,R&&(this.coordinates=R),this._finishLoading())}catch(ne){this._request=null,this._loaded=!0,this.fire(new t.j(ne))}})}loaded(){return this._loaded}updateImage(R){return R.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=R.url,this.load(R.coordinates).finally(()=>{this.texture=null}),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"metadata\"})))}onAdd(R){this.map=R,this.load()}onRemove(){this._request&&(this._request.abort(),this._request=null)}setCoordinates(R){this.coordinates=R;let ne=R.map(t.Z.fromLngLat);this.tileID=function(Ae){let Fe=1/0,ht=1/0,wt=-1/0,zt=-1/0;for(let Hr of Ae)Fe=Math.min(Fe,Hr.x),ht=Math.min(ht,Hr.y),wt=Math.max(wt,Hr.x),zt=Math.max(zt,Hr.y);let Jt=Math.max(wt-Fe,zt-ht),hr=Math.max(0,Math.floor(-Math.log(Jt)/Math.LN2)),vr=Math.pow(2,hr);return new t.a1(hr,Math.floor((Fe+wt)/2*vr),Math.floor((ht+zt)/2*vr))}(ne),this.minzoom=this.maxzoom=this.tileID.z;let be=ne.map(Ae=>this.tileID.getTilePoint(Ae)._round());return this._boundsArray=new t.$,this._boundsArray.emplaceBack(be[0].x,be[0].y,0,0),this._boundsArray.emplaceBack(be[1].x,be[1].y,t.X,0),this._boundsArray.emplaceBack(be[3].x,be[3].y,0,t.X),this._boundsArray.emplaceBack(be[2].x,be[2].y,t.X,t.X),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"content\"})),this}prepare(){if(Object.keys(this.tiles).length===0||!this.image)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture||(this.texture=new u(R,this.image,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!==\"loaded\"&&(Fe.state=\"loaded\",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}loadTile(R){return t._(this,void 0,void 0,function*(){this.tileID&&this.tileID.equals(R.tileID.canonical)?(this.tiles[String(R.tileID.wrap)]=R,R.buckets={}):R.state=\"errored\"})}serialize(){return{type:\"image\",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class at extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),this.roundZoom=!0,this.type=\"video\",this.options=ne}load(){return t._(this,void 0,void 0,function*(){this._loaded=!1;let R=this.options;this.urls=[];for(let ne of R.urls)this.urls.push(this.map._requestManager.transformRequest(ne,\"Source\").url);try{let ne=yield t.a3(this.urls);if(this._loaded=!0,!ne)return;this.video=ne,this.video.loop=!0,this.video.addEventListener(\"playing\",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading()}catch(ne){this.fire(new t.j(ne))}})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(R){if(this.video){let ne=this.video.seekable;Rne.end(0)?this.fire(new t.j(new t.a2(`sources.${this.id}`,null,`Playback for this video can be set only between the ${ne.start(0)} and ${ne.end(0)}-second mark.`))):this.video.currentTime=R}}getVideo(){return this.video}onAdd(R){this.map||(this.map=R,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(Object.keys(this.tiles).length===0||this.video.readyState<2)return;let R=this.map.painter.context,ne=R.gl;this.boundsBuffer||(this.boundsBuffer=R.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE),ne.texSubImage2D(ne.TEXTURE_2D,0,0,0,ne.RGBA,ne.UNSIGNED_BYTE,this.video)):(this.texture=new u(R,this.video,ne.RGBA),this.texture.bind(ne.LINEAR,ne.CLAMP_TO_EDGE));let be=!1;for(let Ae in this.tiles){let Fe=this.tiles[Ae];Fe.state!==\"loaded\"&&(Fe.state=\"loaded\",Fe.texture=this.texture,be=!0)}be&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}serialize(){return{type:\"video\",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class tt extends it{constructor(R,ne,be,Ae){super(R,ne,be,Ae),ne.coordinates?Array.isArray(ne.coordinates)&&ne.coordinates.length===4&&!ne.coordinates.some(Fe=>!Array.isArray(Fe)||Fe.length!==2||Fe.some(ht=>typeof ht!=\"number\"))||this.fire(new t.j(new t.a2(`sources.${R}`,null,'\"coordinates\" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property \"coordinates\"'))),ne.animate&&typeof ne.animate!=\"boolean\"&&this.fire(new t.j(new t.a2(`sources.${R}`,null,'optional \"animate\" property must be a boolean value'))),ne.canvas?typeof ne.canvas==\"string\"||ne.canvas instanceof HTMLCanvasElement||this.fire(new t.j(new t.a2(`sources.${R}`,null,'\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.j(new t.a2(`sources.${R}`,null,'missing required property \"canvas\"'))),this.options=ne,this.animate=ne.animate===void 0||ne.animate}load(){return t._(this,void 0,void 0,function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.j(new Error(\"Canvas dimensions cannot be less than or equal to zero.\"))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())})}getCanvas(){return this.canvas}onAdd(R){this.map=R,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let R=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,R=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,R=!0),this._hasInvalidDimensions()||Object.keys(this.tiles).length===0)return;let ne=this.map.painter.context,be=ne.gl;this.boundsBuffer||(this.boundsBuffer=ne.createVertexBuffer(this._boundsArray,Ye.members)),this.boundsSegments||(this.boundsSegments=t.a0.simpleSegment(0,0,4,2)),this.texture?(R||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new u(ne,this.canvas,be.RGBA,{premultiply:!0});let Ae=!1;for(let Fe in this.tiles){let ht=this.tiles[Fe];ht.state!==\"loaded\"&&(ht.state=\"loaded\",ht.texture=this.texture,Ae=!0)}Ae&&this.fire(new t.k(\"data\",{dataType:\"source\",sourceDataType:\"idle\",sourceId:this.id}))}serialize(){return{type:\"canvas\",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(let R of[this.canvas.width,this.canvas.height])if(isNaN(R)||R<=0)return!0;return!1}}let ut={},Me=Ne=>{switch(Ne){case\"geojson\":return Ie;case\"image\":return it;case\"raster\":return Te;case\"raster-dem\":return Ue;case\"vector\":return xe;case\"video\":return at;case\"canvas\":return tt}return ut[Ne]},pe=\"RTLPluginLoaded\";class ue extends t.E{constructor(){super(...arguments),this.status=\"unavailable\",this.url=null,this.dispatcher=X()}_syncState(R){return this.status=R,this.dispatcher.broadcast(\"SRPS\",{pluginStatus:R,pluginURL:this.url}).catch(ne=>{throw this.status=\"error\",ne})}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status=\"unavailable\",this.url=null}setRTLTextPlugin(R){return t._(this,arguments,void 0,function*(ne,be=!1){if(this.url)throw new Error(\"setRTLTextPlugin cannot be called multiple times.\");if(this.url=i.resolveURL(ne),!this.url)throw new Error(`requested url ${ne} is invalid`);if(this.status===\"unavailable\"){if(!be)return this._requestImport();this.status=\"deferred\",this._syncState(this.status)}else if(this.status===\"requested\")return this._requestImport()})}_requestImport(){return t._(this,void 0,void 0,function*(){yield this._syncState(\"loading\"),this.status=\"loaded\",this.fire(new t.k(pe))})}lazyLoad(){this.status===\"unavailable\"?this.status=\"requested\":this.status===\"deferred\"&&this._requestImport()}}let Oe=null;function rt(){return Oe||(Oe=new ue),Oe}class ot{constructor(R,ne){this.timeAdded=0,this.fadeEndTime=0,this.tileID=R,this.uid=t.a4(),this.uses=0,this.tileSize=ne,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttCoords={},this.expiredRequestCount=0,this.state=\"loading\"}registerFadeDuration(R){let ne=R+this.timeAdded;neFe.getLayer(Jt)).filter(Boolean);if(zt.length!==0){wt.layers=zt,wt.stateDependentLayerIds&&(wt.stateDependentLayers=wt.stateDependentLayerIds.map(Jt=>zt.filter(hr=>hr.id===Jt)[0]));for(let Jt of zt)ht[Jt.id]=wt}}return ht}(R.buckets,ne.style),this.hasSymbolBuckets=!1;for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6){if(this.hasSymbolBuckets=!0,!be)break;Fe.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(let Ae in this.buckets){let Fe=this.buckets[Ae];if(Fe instanceof t.a6&&Fe.hasRTLText){this.hasRTLText=!0,rt().lazyLoad();break}}this.queryPadding=0;for(let Ae in this.buckets){let Fe=this.buckets[Ae];this.queryPadding=Math.max(this.queryPadding,ne.style.getLayer(Ae).queryRadius(Fe))}R.imageAtlas&&(this.imageAtlas=R.imageAtlas),R.glyphAtlasImage&&(this.glyphAtlasImage=R.glyphAtlasImage)}else this.collisionBoxArray=new t.a5}unloadVectorData(){for(let R in this.buckets)this.buckets[R].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state=\"unloaded\"}getBucket(R){return this.buckets[R.id]}upload(R){for(let be in this.buckets){let Ae=this.buckets[be];Ae.uploadPending()&&Ae.upload(R)}let ne=R.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new u(R,this.imageAtlas.image,ne.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new u(R,this.glyphAtlasImage,ne.ALPHA),this.glyphAtlasImage=null)}prepare(R){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(R,this.imageAtlasTexture)}queryRenderedFeatures(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:Ae,cameraQueryGeometry:Fe,scale:ht,tileSize:this.tileSize,pixelPosMatrix:hr,transform:zt,params:wt,queryPadding:this.queryPadding*Jt},R,ne,be):{}}querySourceFeatures(R,ne){let be=this.latestFeatureIndex;if(!be||!be.rawTileData)return;let Ae=be.loadVTLayers(),Fe=ne&&ne.sourceLayer?ne.sourceLayer:\"\",ht=Ae._geojsonTileLayer||Ae[Fe];if(!ht)return;let wt=t.a7(ne&&ne.filter),{z:zt,x:Jt,y:hr}=this.tileID.canonical,vr={z:zt,x:Jt,y:hr};for(let Hr=0;Hrbe)Ae=!1;else if(ne)if(this.expirationTime{this.remove(R,Fe)},be)),this.data[Ae].push(Fe),this.order.push(Ae),this.order.length>this.max){let ht=this._getAndRemoveByKey(this.order[0]);ht&&this.onRemove(ht)}return this}has(R){return R.wrapped().key in this.data}getAndRemove(R){return this.has(R)?this._getAndRemoveByKey(R.wrapped().key):null}_getAndRemoveByKey(R){let ne=this.data[R].shift();return ne.timeout&&clearTimeout(ne.timeout),this.data[R].length===0&&delete this.data[R],this.order.splice(this.order.indexOf(R),1),ne.value}getByKey(R){let ne=this.data[R];return ne?ne[0].value:null}get(R){return this.has(R)?this.data[R.wrapped().key][0].value:null}remove(R,ne){if(!this.has(R))return this;let be=R.wrapped().key,Ae=ne===void 0?0:this.data[be].indexOf(ne),Fe=this.data[be][Ae];return this.data[be].splice(Ae,1),Fe.timeout&&clearTimeout(Fe.timeout),this.data[be].length===0&&delete this.data[be],this.onRemove(Fe.value),this.order.splice(this.order.indexOf(be),1),this}setMaxSize(R){for(this.max=R;this.order.length>this.max;){let ne=this._getAndRemoveByKey(this.order[0]);ne&&this.onRemove(ne)}return this}filter(R){let ne=[];for(let be in this.data)for(let Ae of this.data[be])R(Ae.value)||ne.push(Ae);for(let be of ne)this.remove(be.value.tileID,be)}}class Lt{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(R,ne,be){let Ae=String(ne);if(this.stateChanges[R]=this.stateChanges[R]||{},this.stateChanges[R][Ae]=this.stateChanges[R][Ae]||{},t.e(this.stateChanges[R][Ae],be),this.deletedStates[R]===null){this.deletedStates[R]={};for(let Fe in this.state[R])Fe!==Ae&&(this.deletedStates[R][Fe]=null)}else if(this.deletedStates[R]&&this.deletedStates[R][Ae]===null){this.deletedStates[R][Ae]={};for(let Fe in this.state[R][Ae])be[Fe]||(this.deletedStates[R][Ae][Fe]=null)}else for(let Fe in be)this.deletedStates[R]&&this.deletedStates[R][Ae]&&this.deletedStates[R][Ae][Fe]===null&&delete this.deletedStates[R][Ae][Fe]}removeFeatureState(R,ne,be){if(this.deletedStates[R]===null)return;let Ae=String(ne);if(this.deletedStates[R]=this.deletedStates[R]||{},be&&ne!==void 0)this.deletedStates[R][Ae]!==null&&(this.deletedStates[R][Ae]=this.deletedStates[R][Ae]||{},this.deletedStates[R][Ae][be]=null);else if(ne!==void 0)if(this.stateChanges[R]&&this.stateChanges[R][Ae])for(be in this.deletedStates[R][Ae]={},this.stateChanges[R][Ae])this.deletedStates[R][Ae][be]=null;else this.deletedStates[R][Ae]=null;else this.deletedStates[R]=null}getState(R,ne){let be=String(ne),Ae=t.e({},(this.state[R]||{})[be],(this.stateChanges[R]||{})[be]);if(this.deletedStates[R]===null)return{};if(this.deletedStates[R]){let Fe=this.deletedStates[R][ne];if(Fe===null)return{};for(let ht in Fe)delete Ae[ht]}return Ae}initializeTileState(R,ne){R.setFeatureState(this.state,ne)}coalesceChanges(R,ne){let be={};for(let Ae in this.stateChanges){this.state[Ae]=this.state[Ae]||{};let Fe={};for(let ht in this.stateChanges[Ae])this.state[Ae][ht]||(this.state[Ae][ht]={}),t.e(this.state[Ae][ht],this.stateChanges[Ae][ht]),Fe[ht]=this.state[Ae][ht];be[Ae]=Fe}for(let Ae in this.deletedStates){this.state[Ae]=this.state[Ae]||{};let Fe={};if(this.deletedStates[Ae]===null)for(let ht in this.state[Ae])Fe[ht]={},this.state[Ae][ht]={};else for(let ht in this.deletedStates[Ae]){if(this.deletedStates[Ae][ht]===null)this.state[Ae][ht]={};else for(let wt of Object.keys(this.deletedStates[Ae][ht]))delete this.state[Ae][ht][wt];Fe[ht]=this.state[Ae][ht]}be[Ae]=be[Ae]||{},t.e(be[Ae],Fe)}if(this.stateChanges={},this.deletedStates={},Object.keys(be).length!==0)for(let Ae in R)R[Ae].setFeatureState(be,ne)}}class Et extends t.E{constructor(R,ne,be){super(),this.id=R,this.dispatcher=be,this.on(\"data\",Ae=>this._dataHandler(Ae)),this.on(\"dataloading\",()=>{this._sourceErrored=!1}),this.on(\"error\",()=>{this._sourceErrored=this._source.loaded()}),this._source=((Ae,Fe,ht,wt)=>{let zt=new(Me(Fe.type))(Ae,Fe,ht,wt);if(zt.id!==Ae)throw new Error(`Expected Source id to be ${Ae} instead of ${zt.id}`);return zt})(R,ne,be,this),this._tiles={},this._cache=new et(0,Ae=>this._unloadTile(Ae)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new Lt,this._didEmitContent=!1,this._updated=!1}onAdd(R){this.map=R,this._maxTileCacheSize=R?R._maxTileCacheSize:null,this._maxTileCacheZoomLevels=R?R._maxTileCacheZoomLevels:null,this._source&&this._source.onAdd&&this._source.onAdd(R)}onRemove(R){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(R)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;if(!(this.used===void 0&&this.usedForTerrain===void 0||this.used||this.usedForTerrain))return!0;if(!this._updated)return!1;for(let R in this._tiles){let ne=this._tiles[R];if(ne.state!==\"loaded\"&&ne.state!==\"errored\")return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;let R=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,R&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(R,ne,be){return t._(this,void 0,void 0,function*(){try{yield this._source.loadTile(R),this._tileLoaded(R,ne,be)}catch(Ae){R.state=\"errored\",Ae.status!==404?this._source.fire(new t.j(Ae,{tile:R})):this.update(this.transform,this.terrain)}})}_unloadTile(R){this._source.unloadTile&&this._source.unloadTile(R)}_abortTile(R){this._source.abortTile&&this._source.abortTile(R),this._source.fire(new t.k(\"dataabort\",{tile:R,coord:R.tileID,dataType:\"source\"}))}serialize(){return this._source.serialize()}prepare(R){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(let ne in this._tiles){let be=this._tiles[ne];be.upload(R),be.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map(R=>R.tileID).sort(Bt).map(R=>R.key)}getRenderableIds(R){let ne=[];for(let be in this._tiles)this._isIdRenderable(be,R)&&ne.push(this._tiles[be]);return R?ne.sort((be,Ae)=>{let Fe=be.tileID,ht=Ae.tileID,wt=new t.P(Fe.canonical.x,Fe.canonical.y)._rotate(this.transform.angle),zt=new t.P(ht.canonical.x,ht.canonical.y)._rotate(this.transform.angle);return Fe.overscaledZ-ht.overscaledZ||zt.y-wt.y||zt.x-wt.x}).map(be=>be.tileID.key):ne.map(be=>be.tileID).sort(Bt).map(be=>be.key)}hasRenderableParent(R){let ne=this.findLoadedParent(R,0);return!!ne&&this._isIdRenderable(ne.tileID.key)}_isIdRenderable(R,ne){return this._tiles[R]&&this._tiles[R].hasData()&&!this._coveredTiles[R]&&(ne||!this._tiles[R].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(let R in this._tiles)this._tiles[R].state!==\"errored\"&&this._reloadTile(R,\"reloading\")}}_reloadTile(R,ne){return t._(this,void 0,void 0,function*(){let be=this._tiles[R];be&&(be.state!==\"loading\"&&(be.state=ne),yield this._loadTile(be,R,ne))})}_tileLoaded(R,ne,be){R.timeAdded=i.now(),be===\"expired\"&&(R.refreshedUponExpiration=!0),this._setTileReloadTimer(ne,R),this.getSource().type===\"raster-dem\"&&R.dem&&this._backfillDEM(R),this._state.initializeTileState(R,this.map?this.map.painter:null),R.aborted||this._source.fire(new t.k(\"data\",{dataType:\"source\",tile:R,coord:R.tileID}))}_backfillDEM(R){let ne=this.getRenderableIds();for(let Ae=0;Ae1||(Math.abs(ht)>1&&(Math.abs(ht+zt)===1?ht+=zt:Math.abs(ht-zt)===1&&(ht-=zt)),Fe.dem&&Ae.dem&&(Ae.dem.backfillBorder(Fe.dem,ht,wt),Ae.neighboringTiles&&Ae.neighboringTiles[Jt]&&(Ae.neighboringTiles[Jt].backfilled=!0)))}}getTile(R){return this.getTileByID(R.key)}getTileByID(R){return this._tiles[R]}_retainLoadedChildren(R,ne,be,Ae){for(let Fe in this._tiles){let ht=this._tiles[Fe];if(Ae[Fe]||!ht.hasData()||ht.tileID.overscaledZ<=ne||ht.tileID.overscaledZ>be)continue;let wt=ht.tileID;for(;ht&&ht.tileID.overscaledZ>ne+1;){let Jt=ht.tileID.scaledTo(ht.tileID.overscaledZ-1);ht=this._tiles[Jt.key],ht&&ht.hasData()&&(wt=Jt)}let zt=wt;for(;zt.overscaledZ>ne;)if(zt=zt.scaledTo(zt.overscaledZ-1),R[zt.key]){Ae[wt.key]=wt;break}}}findLoadedParent(R,ne){if(R.key in this._loadedParentTiles){let be=this._loadedParentTiles[R.key];return be&&be.tileID.overscaledZ>=ne?be:null}for(let be=R.overscaledZ-1;be>=ne;be--){let Ae=R.scaledTo(be),Fe=this._getLoadedTile(Ae);if(Fe)return Fe}}findLoadedSibling(R){return this._getLoadedTile(R)}_getLoadedTile(R){let ne=this._tiles[R.key];return ne&&ne.hasData()?ne:this._cache.getByKey(R.wrapped().key)}updateCacheSize(R){let ne=Math.ceil(R.width/this._source.tileSize)+1,be=Math.ceil(R.height/this._source.tileSize)+1,Ae=Math.floor(ne*be*(this._maxTileCacheZoomLevels===null?t.a.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),Fe=typeof this._maxTileCacheSize==\"number\"?Math.min(this._maxTileCacheSize,Ae):Ae;this._cache.setMaxSize(Fe)}handleWrapJump(R){let ne=Math.round((R-(this._prevLng===void 0?R:this._prevLng))/360);if(this._prevLng=R,ne){let be={};for(let Ae in this._tiles){let Fe=this._tiles[Ae];Fe.tileID=Fe.tileID.unwrapTo(Fe.tileID.wrap+ne),be[Fe.tileID.key]=Fe}this._tiles=be;for(let Ae in this._timers)clearTimeout(this._timers[Ae]),delete this._timers[Ae];for(let Ae in this._tiles)this._setTileReloadTimer(Ae,this._tiles[Ae])}}_updateCoveredAndRetainedTiles(R,ne,be,Ae,Fe,ht){let wt={},zt={},Jt=Object.keys(R),hr=i.now();for(let vr of Jt){let Hr=R[vr],ln=this._tiles[vr];if(!ln||ln.fadeEndTime!==0&&ln.fadeEndTime<=hr)continue;let Ge=this.findLoadedParent(Hr,ne),$e=this.findLoadedSibling(Hr),st=Ge||$e||null;st&&(this._addTile(st.tileID),wt[st.tileID.key]=st.tileID),zt[vr]=Hr}this._retainLoadedChildren(zt,Ae,be,R);for(let vr in wt)R[vr]||(this._coveredTiles[vr]=!0,R[vr]=wt[vr]);if(ht){let vr={},Hr={};for(let ln of Fe)this._tiles[ln.key].hasData()?vr[ln.key]=ln:Hr[ln.key]=ln;for(let ln in Hr){let Ge=Hr[ln].children(this._source.maxzoom);this._tiles[Ge[0].key]&&this._tiles[Ge[1].key]&&this._tiles[Ge[2].key]&&this._tiles[Ge[3].key]&&(vr[Ge[0].key]=R[Ge[0].key]=Ge[0],vr[Ge[1].key]=R[Ge[1].key]=Ge[1],vr[Ge[2].key]=R[Ge[2].key]=Ge[2],vr[Ge[3].key]=R[Ge[3].key]=Ge[3],delete Hr[ln])}for(let ln in Hr){let Ge=Hr[ln],$e=this.findLoadedParent(Ge,this._source.minzoom),st=this.findLoadedSibling(Ge),dt=$e||st||null;if(dt){vr[dt.tileID.key]=R[dt.tileID.key]=dt.tileID;for(let St in vr)vr[St].isChildOf(dt.tileID)&&delete vr[St]}}for(let ln in this._tiles)vr[ln]||(this._coveredTiles[ln]=!0)}}update(R,ne){if(!this._sourceLoaded||this._paused)return;let be;this.transform=R,this.terrain=ne,this.updateCacheSize(R),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?be=R.getVisibleUnwrappedCoordinates(this._source.tileID).map(hr=>new t.S(hr.canonical.z,hr.wrap,hr.canonical.z,hr.canonical.x,hr.canonical.y)):(be=R.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:ne}),this._source.hasTile&&(be=be.filter(hr=>this._source.hasTile(hr)))):be=[];let Ae=R.coveringZoomLevel(this._source),Fe=Math.max(Ae-Et.maxOverzooming,this._source.minzoom),ht=Math.max(Ae+Et.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){let hr={};for(let vr of be)if(vr.canonical.z>this._source.minzoom){let Hr=vr.scaledTo(vr.canonical.z-1);hr[Hr.key]=Hr;let ln=vr.scaledTo(Math.max(this._source.minzoom,Math.min(vr.canonical.z,5)));hr[ln.key]=ln}be=be.concat(Object.values(hr))}let wt=be.length===0&&!this._updated&&this._didEmitContent;this._updated=!0,wt&&this.fire(new t.k(\"data\",{sourceDataType:\"idle\",dataType:\"source\",sourceId:this.id}));let zt=this._updateRetainedTiles(be,Ae);qt(this._source.type)&&this._updateCoveredAndRetainedTiles(zt,Fe,ht,Ae,be,ne);for(let hr in zt)this._tiles[hr].clearFadeHold();let Jt=t.ab(this._tiles,zt);for(let hr of Jt){let vr=this._tiles[hr];vr.hasSymbolBuckets&&!vr.holdingForFade()?vr.setHoldDuration(this.map._fadeDuration):vr.hasSymbolBuckets&&!vr.symbolFadeFinished()||this._removeTile(hr)}this._updateLoadedParentTileCache(),this._updateLoadedSiblingTileCache()}releaseSymbolFadeTiles(){for(let R in this._tiles)this._tiles[R].holdingForFade()&&this._removeTile(R)}_updateRetainedTiles(R,ne){var be;let Ae={},Fe={},ht=Math.max(ne-Et.maxOverzooming,this._source.minzoom),wt=Math.max(ne+Et.maxUnderzooming,this._source.minzoom),zt={};for(let Jt of R){let hr=this._addTile(Jt);Ae[Jt.key]=Jt,hr.hasData()||nethis._source.maxzoom){let Hr=Jt.children(this._source.maxzoom)[0],ln=this.getTile(Hr);if(ln&&ln.hasData()){Ae[Hr.key]=Hr;continue}}else{let Hr=Jt.children(this._source.maxzoom);if(Ae[Hr[0].key]&&Ae[Hr[1].key]&&Ae[Hr[2].key]&&Ae[Hr[3].key])continue}let vr=hr.wasRequested();for(let Hr=Jt.overscaledZ-1;Hr>=ht;--Hr){let ln=Jt.scaledTo(Hr);if(Fe[ln.key])break;if(Fe[ln.key]=!0,hr=this.getTile(ln),!hr&&vr&&(hr=this._addTile(ln)),hr){let Ge=hr.hasData();if((Ge||!(!((be=this.map)===null||be===void 0)&&be.cancelPendingTileRequestsWhileZooming)||vr)&&(Ae[ln.key]=ln),vr=hr.wasRequested(),Ge)break}}}return Ae}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(let R in this._tiles){let ne=[],be,Ae=this._tiles[R].tileID;for(;Ae.overscaledZ>0;){if(Ae.key in this._loadedParentTiles){be=this._loadedParentTiles[Ae.key];break}ne.push(Ae.key);let Fe=Ae.scaledTo(Ae.overscaledZ-1);if(be=this._getLoadedTile(Fe),be)break;Ae=Fe}for(let Fe of ne)this._loadedParentTiles[Fe]=be}}_updateLoadedSiblingTileCache(){this._loadedSiblingTiles={};for(let R in this._tiles){let ne=this._tiles[R].tileID,be=this._getLoadedTile(ne);this._loadedSiblingTiles[ne.key]=be}}_addTile(R){let ne=this._tiles[R.key];if(ne)return ne;ne=this._cache.getAndRemove(R),ne&&(this._setTileReloadTimer(R.key,ne),ne.tileID=R,this._state.initializeTileState(ne,this.map?this.map.painter:null),this._cacheTimers[R.key]&&(clearTimeout(this._cacheTimers[R.key]),delete this._cacheTimers[R.key],this._setTileReloadTimer(R.key,ne)));let be=ne;return ne||(ne=new ot(R,this._source.tileSize*R.overscaleFactor()),this._loadTile(ne,R.key,ne.state)),ne.uses++,this._tiles[R.key]=ne,be||this._source.fire(new t.k(\"dataloading\",{tile:ne,coord:ne.tileID,dataType:\"source\"})),ne}_setTileReloadTimer(R,ne){R in this._timers&&(clearTimeout(this._timers[R]),delete this._timers[R]);let be=ne.getExpiryTimeout();be&&(this._timers[R]=setTimeout(()=>{this._reloadTile(R,\"expired\"),delete this._timers[R]},be))}_removeTile(R){let ne=this._tiles[R];ne&&(ne.uses--,delete this._tiles[R],this._timers[R]&&(clearTimeout(this._timers[R]),delete this._timers[R]),ne.uses>0||(ne.hasData()&&ne.state!==\"reloading\"?this._cache.add(ne.tileID,ne,ne.getExpiryTimeout()):(ne.aborted=!0,this._abortTile(ne),this._unloadTile(ne))))}_dataHandler(R){let ne=R.sourceDataType;R.dataType===\"source\"&&ne===\"metadata\"&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&R.dataType===\"source\"&&ne===\"content\"&&(this.reload(),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0)}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(let R in this._tiles)this._removeTile(R);this._cache.reset()}tilesIn(R,ne,be){let Ae=[],Fe=this.transform;if(!Fe)return Ae;let ht=be?Fe.getCameraQueryGeometry(R):R,wt=R.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),zt=ht.map(Ge=>Fe.pointCoordinate(Ge,this.terrain)),Jt=this.getIds(),hr=1/0,vr=1/0,Hr=-1/0,ln=-1/0;for(let Ge of zt)hr=Math.min(hr,Ge.x),vr=Math.min(vr,Ge.y),Hr=Math.max(Hr,Ge.x),ln=Math.max(ln,Ge.y);for(let Ge=0;Ge=0&&xt[1].y+St>=0){let It=wt.map(sr=>st.getTilePoint(sr)),rr=zt.map(sr=>st.getTilePoint(sr));Ae.push({tile:$e,tileID:st,queryGeometry:It,cameraQueryGeometry:rr,scale:dt})}}return Ae}getVisibleCoordinates(R){let ne=this.getRenderableIds(R).map(be=>this._tiles[be].tileID);for(let be of ne)be.posMatrix=this.transform.calculatePosMatrix(be.toUnwrapped());return ne}hasTransition(){if(this._source.hasTransition())return!0;if(qt(this._source.type)){let R=i.now();for(let ne in this._tiles)if(this._tiles[ne].fadeEndTime>=R)return!0}return!1}setFeatureState(R,ne,be){this._state.updateState(R=R||\"_geojsonTileLayer\",ne,be)}removeFeatureState(R,ne,be){this._state.removeFeatureState(R=R||\"_geojsonTileLayer\",ne,be)}getFeatureState(R,ne){return this._state.getState(R=R||\"_geojsonTileLayer\",ne)}setDependencies(R,ne,be){let Ae=this._tiles[R];Ae&&Ae.setDependencies(ne,be)}reloadTilesForDependencies(R,ne){for(let be in this._tiles)this._tiles[be].hasDependency(R,ne)&&this._reloadTile(be,\"reloading\");this._cache.filter(be=>!be.hasDependency(R,ne))}}function Bt(Ne,R){let ne=Math.abs(2*Ne.wrap)-+(Ne.wrap<0),be=Math.abs(2*R.wrap)-+(R.wrap<0);return Ne.overscaledZ-R.overscaledZ||be-ne||R.canonical.y-Ne.canonical.y||R.canonical.x-Ne.canonical.x}function qt(Ne){return Ne===\"raster\"||Ne===\"image\"||Ne===\"video\"}Et.maxOverzooming=10,Et.maxUnderzooming=3;class fr{constructor(R,ne){this.reset(R,ne)}reset(R,ne){this.points=R||[],this._distances=[0];for(let be=1;be0?(Ae-ht)/wt:0;return this.points[Fe].mult(1-zt).add(this.points[ne].mult(zt))}}function ar(Ne,R){let ne=!0;return Ne===\"always\"||Ne!==\"never\"&&R!==\"never\"||(ne=!1),ne}class Rr{constructor(R,ne,be){let Ae=this.boxCells=[],Fe=this.circleCells=[];this.xCellCount=Math.ceil(R/be),this.yCellCount=Math.ceil(ne/be);for(let ht=0;htthis.width||Ae<0||ne>this.height)return[];let zt=[];if(R<=0&&ne<=0&&this.width<=be&&this.height<=Ae){if(Fe)return[{key:null,x1:R,y1:ne,x2:be,y2:Ae}];for(let Jt=0;Jt0}hitTestCircle(R,ne,be,Ae,Fe){let ht=R-be,wt=R+be,zt=ne-be,Jt=ne+be;if(wt<0||ht>this.width||Jt<0||zt>this.height)return!1;let hr=[];return this._forEachCell(ht,zt,wt,Jt,this._queryCellCircle,hr,{hitTest:!0,overlapMode:Ae,circle:{x:R,y:ne,radius:be},seenUids:{box:{},circle:{}}},Fe),hr.length>0}_queryCell(R,ne,be,Ae,Fe,ht,wt,zt){let{seenUids:Jt,hitTest:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!Jt.box[$e]){Jt.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(R<=Ge[st+2]&&ne<=Ge[st+3]&&be>=Ge[st+0]&&Ae>=Ge[st+1]&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))&&(ht.push({key:dt,x1:Ge[st],y1:Ge[st+1],x2:Ge[st+2],y2:Ge[st+3]}),hr))return!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!Jt.circle[$e]){Jt.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circleAndRectCollide(Ge[st],Ge[st+1],Ge[st+2],R,ne,be,Ae)&&(!zt||zt(dt))&&(!hr||!ar(vr,dt.overlapMode))){let St=Ge[st],xt=Ge[st+1],It=Ge[st+2];if(ht.push({key:dt,x1:St-It,y1:xt-It,x2:St+It,y2:xt+It}),hr)return!0}}}return!1}_queryCellCircle(R,ne,be,Ae,Fe,ht,wt,zt){let{circle:Jt,seenUids:hr,overlapMode:vr}=wt,Hr=this.boxCells[Fe];if(Hr!==null){let Ge=this.bboxes;for(let $e of Hr)if(!hr.box[$e]){hr.box[$e]=!0;let st=4*$e,dt=this.boxKeys[$e];if(this._circleAndRectCollide(Jt.x,Jt.y,Jt.radius,Ge[st+0],Ge[st+1],Ge[st+2],Ge[st+3])&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}let ln=this.circleCells[Fe];if(ln!==null){let Ge=this.circles;for(let $e of ln)if(!hr.circle[$e]){hr.circle[$e]=!0;let st=3*$e,dt=this.circleKeys[$e];if(this._circlesCollide(Ge[st],Ge[st+1],Ge[st+2],Jt.x,Jt.y,Jt.radius)&&(!zt||zt(dt))&&!ar(vr,dt.overlapMode))return ht.push(!0),!0}}}_forEachCell(R,ne,be,Ae,Fe,ht,wt,zt){let Jt=this._convertToXCellCoord(R),hr=this._convertToYCellCoord(ne),vr=this._convertToXCellCoord(be),Hr=this._convertToYCellCoord(Ae);for(let ln=Jt;ln<=vr;ln++)for(let Ge=hr;Ge<=Hr;Ge++)if(Fe.call(this,R,ne,be,Ae,this.xCellCount*Ge+ln,ht,wt,zt))return}_convertToXCellCoord(R){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(R*this.xScale)))}_convertToYCellCoord(R){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(R*this.yScale)))}_circlesCollide(R,ne,be,Ae,Fe,ht){let wt=Ae-R,zt=Fe-ne,Jt=be+ht;return Jt*Jt>wt*wt+zt*zt}_circleAndRectCollide(R,ne,be,Ae,Fe,ht,wt){let zt=(ht-Ae)/2,Jt=Math.abs(R-(Ae+zt));if(Jt>zt+be)return!1;let hr=(wt-Fe)/2,vr=Math.abs(ne-(Fe+hr));if(vr>hr+be)return!1;if(Jt<=zt||vr<=hr)return!0;let Hr=Jt-zt,ln=vr-hr;return Hr*Hr+ln*ln<=be*be}}function gr(Ne,R,ne,be,Ae){let Fe=t.H();return R?(t.K(Fe,Fe,[1/Ae,1/Ae,1]),ne||t.ad(Fe,Fe,be.angle)):t.L(Fe,be.labelPlaneMatrix,Ne),Fe}function br(Ne,R,ne,be,Ae){if(R){let Fe=t.ae(Ne);return t.K(Fe,Fe,[Ae,Ae,1]),ne||t.ad(Fe,Fe,-be.angle),Fe}return be.glCoordMatrix}function _t(Ne,R,ne,be){let Ae;be?(Ae=[Ne,R,be(Ne,R),1],t.af(Ae,Ae,ne)):(Ae=[Ne,R,0,1],$t(Ae,Ae,ne));let Fe=Ae[3];return{point:new t.P(Ae[0]/Fe,Ae[1]/Fe),signedDistanceFromCamera:Fe,isOccluded:!1}}function Be(Ne,R){return .5+Ne/R*.5}function Ke(Ne,R){return Ne.x>=-R[0]&&Ne.x<=R[0]&&Ne.y>=-R[1]&&Ne.y<=R[1]}function je(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge){let $e=be?Ne.textSizeData:Ne.iconSizeData,st=t.ag($e,ne.transform.zoom),dt=[256/ne.width*2+1,256/ne.height*2+1],St=be?Ne.text.dynamicLayoutVertexArray:Ne.icon.dynamicLayoutVertexArray;St.clear();let xt=Ne.lineVertexArray,It=be?Ne.text.placedSymbolArray:Ne.icon.placedSymbolArray,rr=ne.transform.width/ne.transform.height,sr=!1;for(let pr=0;prMath.abs(ne.x-R.x)*be?{useVertical:!0}:(Ne===t.ah.vertical?R.yne.x)?{needsFlipping:!0}:null}function Ee(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr){let vr=ne/24,Hr=R.lineOffsetX*vr,ln=R.lineOffsetY*vr,Ge;if(R.numGlyphs>1){let $e=R.glyphStartIndex+R.numGlyphs,st=R.lineStartIndex,dt=R.lineStartIndex+R.lineLength,St=Se(vr,wt,Hr,ln,be,R,hr,Ne);if(!St)return{notEnoughRoom:!0};let xt=_t(St.first.point.x,St.first.point.y,ht,Ne.getElevation).point,It=_t(St.last.point.x,St.last.point.y,ht,Ne.getElevation).point;if(Ae&&!be){let rr=He(R.writingMode,xt,It,Jt);if(rr)return rr}Ge=[St.first];for(let rr=R.glyphStartIndex+1;rr<$e-1;rr++)Ge.push(Rt(vr*wt.getoffsetX(rr),Hr,ln,be,R.segment,st,dt,Ne,hr));Ge.push(St.last)}else{if(Ae&&!be){let st=_t(Ne.tileAnchorPoint.x,Ne.tileAnchorPoint.y,Fe,Ne.getElevation).point,dt=R.lineStartIndex+R.segment+1,St=new t.P(Ne.lineVertexArray.getx(dt),Ne.lineVertexArray.gety(dt)),xt=_t(St.x,St.y,Fe,Ne.getElevation),It=xt.signedDistanceFromCamera>0?xt.point:function(sr,pr,kr,Yr,_n,Mn){return we(sr,pr,kr,1,_n,Mn)}(Ne.tileAnchorPoint,St,st,0,Fe,Ne),rr=He(R.writingMode,st,It,Jt);if(rr)return rr}let $e=Rt(vr*wt.getoffsetX(R.glyphStartIndex),Hr,ln,be,R.segment,R.lineStartIndex,R.lineStartIndex+R.lineLength,Ne,hr);if(!$e||Ne.projectionCache.anyProjectionOccluded)return{notEnoughRoom:!0};Ge=[$e]}for(let $e of Ge)t.aj(zt,$e.point,$e.angle);return{}}function we(Ne,R,ne,be,Ae,Fe){let ht=Ne.add(Ne.sub(R)._unit()),wt=Ae!==void 0?_t(ht.x,ht.y,Ae,Fe.getElevation).point:nt(ht.x,ht.y,Fe).point,zt=ne.sub(wt);return ne.add(zt._mult(be/zt.mag()))}function Le(Ne,R,ne){let be=R.projectionCache;if(be.projections[Ne])return be.projections[Ne];let Ae=new t.P(R.lineVertexArray.getx(Ne),R.lineVertexArray.gety(Ne)),Fe=nt(Ae.x,Ae.y,R);if(Fe.signedDistanceFromCamera>0)return be.projections[Ne]=Fe.point,be.anyProjectionOccluded=be.anyProjectionOccluded||Fe.isOccluded,Fe.point;let ht=Ne-ne.direction;return function(wt,zt,Jt,hr,vr){return we(wt,zt,Jt,hr,void 0,vr)}(ne.distanceFromAnchor===0?R.tileAnchorPoint:new t.P(R.lineVertexArray.getx(ht),R.lineVertexArray.gety(ht)),Ae,ne.previousVertex,ne.absOffsetX-ne.distanceFromAnchor+1,R)}function nt(Ne,R,ne){let be=Ne+ne.translation[0],Ae=R+ne.translation[1],Fe;return!ne.pitchWithMap&&ne.projection.useSpecialProjectionForSymbols?(Fe=ne.projection.projectTileCoordinates(be,Ae,ne.unwrappedTileID,ne.getElevation),Fe.point.x=(.5*Fe.point.x+.5)*ne.width,Fe.point.y=(.5*-Fe.point.y+.5)*ne.height):(Fe=_t(be,Ae,ne.labelPlaneMatrix,ne.getElevation),Fe.isOccluded=!1),Fe}function pt(Ne,R,ne){return Ne._unit()._perp()._mult(R*ne)}function bt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){if(wt.projectionCache.offsets[Ne])return wt.projectionCache.offsets[Ne];let Jt=ne.add(R);if(Ne+zt.direction=Ae)return wt.projectionCache.offsets[Ne]=Jt,Jt;let hr=Le(Ne+zt.direction,wt,zt),vr=pt(hr.sub(ne),ht,zt.direction),Hr=ne.add(vr),ln=hr.add(vr);return wt.projectionCache.offsets[Ne]=t.ak(Fe,Jt,Hr,ln)||Jt,wt.projectionCache.offsets[Ne]}function Rt(Ne,R,ne,be,Ae,Fe,ht,wt,zt){let Jt=be?Ne-R:Ne+R,hr=Jt>0?1:-1,vr=0;be&&(hr*=-1,vr=Math.PI),hr<0&&(vr+=Math.PI);let Hr,ln=hr>0?Fe+Ae:Fe+Ae+1;wt.projectionCache.cachedAnchorPoint?Hr=wt.projectionCache.cachedAnchorPoint:(Hr=nt(wt.tileAnchorPoint.x,wt.tileAnchorPoint.y,wt).point,wt.projectionCache.cachedAnchorPoint=Hr);let Ge,$e,st=Hr,dt=Hr,St=0,xt=0,It=Math.abs(Jt),rr=[],sr;for(;St+xt<=It;){if(ln+=hr,ln=ht)return null;St+=xt,dt=st,$e=Ge;let Yr={absOffsetX:It,direction:hr,distanceFromAnchor:St,previousVertex:dt};if(st=Le(ln,wt,Yr),ne===0)rr.push(dt),sr=st.sub(dt);else{let _n,Mn=st.sub(dt);_n=Mn.mag()===0?pt(Le(ln+hr,wt,Yr).sub(st),ne,hr):pt(Mn,ne,hr),$e||($e=dt.add(_n)),Ge=bt(ln,_n,st,Fe,ht,$e,ne,wt,Yr),rr.push($e),sr=Ge.sub($e)}xt=sr.mag()}let pr=sr._mult((It-St)/xt)._add($e||dt),kr=vr+Math.atan2(st.y-dt.y,st.x-dt.x);return rr.push(pr),{point:pr,angle:zt?kr:0,path:rr}}let Nt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Xt(Ne,R){for(let ne=0;ne=1;Va--)Zi.push(ki.path[Va]);for(let Va=1;VaIo.signedDistanceFromCamera<=0)?[]:Va.map(Io=>Io.point)}let ro=[];if(Zi.length>0){let Va=Zi[0].clone(),Io=Zi[0].clone();for(let vs=1;vs=Mn.x&&Io.x<=Un.x&&Va.y>=Mn.y&&Io.y<=Un.y?[Zi]:Io.xUn.x||Io.yUn.y?[]:t.al([Zi],Mn.x,Mn.y,Un.x,Un.y)}for(let Va of ro){li.reset(Va,.25*_n);let Io=0;Io=li.length<=.5*_n?1:Math.ceil(li.paddedLength/ya)+1;for(let vs=0;vs_t(Ae.x,Ae.y,be,ne.getElevation))}queryRenderedSymbols(R){if(R.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};let ne=[],be=1/0,Ae=1/0,Fe=-1/0,ht=-1/0;for(let hr of R){let vr=new t.P(hr.x+ur,hr.y+ur);be=Math.min(be,vr.x),Ae=Math.min(Ae,vr.y),Fe=Math.max(Fe,vr.x),ht=Math.max(ht,vr.y),ne.push(vr)}let wt=this.grid.query(be,Ae,Fe,ht).concat(this.ignoredGrid.query(be,Ae,Fe,ht)),zt={},Jt={};for(let hr of wt){let vr=hr.key;if(zt[vr.bucketInstanceId]===void 0&&(zt[vr.bucketInstanceId]={}),zt[vr.bucketInstanceId][vr.featureIndex])continue;let Hr=[new t.P(hr.x1,hr.y1),new t.P(hr.x2,hr.y1),new t.P(hr.x2,hr.y2),new t.P(hr.x1,hr.y2)];t.am(ne,Hr)&&(zt[vr.bucketInstanceId][vr.featureIndex]=!0,Jt[vr.bucketInstanceId]===void 0&&(Jt[vr.bucketInstanceId]=[]),Jt[vr.bucketInstanceId].push(vr.featureIndex))}return Jt}insertCollisionBox(R,ne,be,Ae,Fe,ht){(be?this.ignoredGrid:this.grid).insert({bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne},R[0],R[1],R[2],R[3])}insertCollisionCircles(R,ne,be,Ae,Fe,ht){let wt=be?this.ignoredGrid:this.grid,zt={bucketInstanceId:Ae,featureIndex:Fe,collisionGroupID:ht,overlapMode:ne};for(let Jt=0;Jt=this.screenRightBoundary||Aethis.screenBottomBoundary}isInsideGrid(R,ne,be,Ae){return be>=0&&R=0&&nethis.projectAndGetPerspectiveRatio(be,_n.x,_n.y,Ae,Jt));kr=Yr.some(_n=>!_n.isOccluded),pr=Yr.map(_n=>_n.point)}else kr=!0;return{box:t.ao(pr),allPointsOccluded:!kr}}}function Rn(Ne,R,ne){return R*(t.X/(Ne.tileSize*Math.pow(2,ne-Ne.tileID.overscaledZ)))}class Nn{constructor(R,ne,be,Ae){this.opacity=R?Math.max(0,Math.min(1,R.opacity+(R.placed?ne:-ne))):Ae&&be?1:0,this.placed=be}isHidden(){return this.opacity===0&&!this.placed}}class On{constructor(R,ne,be,Ae,Fe){this.text=new Nn(R?R.text:null,ne,be,Fe),this.icon=new Nn(R?R.icon:null,ne,Ae,Fe)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class ni{constructor(R,ne,be){this.text=R,this.icon=ne,this.skipFade=be}}class zn{constructor(){this.invProjMatrix=t.H(),this.viewportMatrix=t.H(),this.circles=[]}}class Qn{constructor(R,ne,be,Ae,Fe){this.bucketInstanceId=R,this.featureIndex=ne,this.sourceLayerIndex=be,this.bucketIndex=Ae,this.tileID=Fe}}class gi{constructor(R){this.crossSourceCollisions=R,this.maxGroupID=0,this.collisionGroups={}}get(R){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[R]){let ne=++this.maxGroupID;this.collisionGroups[R]={ID:ne,predicate:be=>be.collisionGroupID===ne}}return this.collisionGroups[R]}}function Zt(Ne,R,ne,be,Ae){let{horizontalAlign:Fe,verticalAlign:ht}=t.au(Ne);return new t.P(-(Fe-.5)*R+be[0]*Ae,-(ht-.5)*ne+be[1]*Ae)}class Ft{constructor(R,ne,be,Ae,Fe,ht){this.transform=R.clone(),this.terrain=be,this.collisionIndex=new pn(this.transform,ne),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=Ae,this.retainedQueryData={},this.collisionGroups=new gi(Fe),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=ht,ht&&(ht.prevPlacement=void 0),this.placedOrientations={}}_getTerrainElevationFunc(R){let ne=this.terrain;return ne?(be,Ae)=>ne.getElevation(R,be,Ae):null}getBucketParts(R,ne,be,Ae){let Fe=be.getBucket(ne),ht=be.latestFeatureIndex;if(!Fe||!ht||ne.id!==Fe.layerIds[0])return;let wt=be.collisionBoxArray,zt=Fe.layers[0].layout,Jt=Fe.layers[0].paint,hr=Math.pow(2,this.transform.zoom-be.tileID.overscaledZ),vr=be.tileSize/t.X,Hr=be.tileID.toUnwrapped(),ln=this.transform.calculatePosMatrix(Hr),Ge=zt.get(\"text-pitch-alignment\")===\"map\",$e=zt.get(\"text-rotation-alignment\")===\"map\",st=Rn(be,1,this.transform.zoom),dt=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get(\"text-translate\"),Jt.get(\"text-translate-anchor\")),St=this.collisionIndex.mapProjection.translatePosition(this.transform,be,Jt.get(\"icon-translate\"),Jt.get(\"icon-translate-anchor\")),xt=gr(ln,Ge,$e,this.transform,st),It=null;if(Ge){let sr=br(ln,Ge,$e,this.transform,st);It=t.L([],this.transform.labelPlaneMatrix,sr)}this.retainedQueryData[Fe.bucketInstanceId]=new Qn(Fe.bucketInstanceId,ht,Fe.sourceLayerIndex,Fe.index,be.tileID);let rr={bucket:Fe,layout:zt,translationText:dt,translationIcon:St,posMatrix:ln,unwrappedTileID:Hr,textLabelPlaneMatrix:xt,labelToScreenMatrix:It,scale:hr,textPixelRatio:vr,holdingForFade:be.holdingForFade(),collisionBoxArray:wt,partiallyEvaluatedTextSize:t.ag(Fe.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(Fe.sourceID)};if(Ae)for(let sr of Fe.sortKeyRanges){let{sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr}=sr;R.push({sortKey:pr,symbolInstanceStart:kr,symbolInstanceEnd:Yr,parameters:rr})}else R.push({symbolInstanceStart:0,symbolInstanceEnd:Fe.symbolInstances.length,parameters:rr})}attemptAnchorPlacement(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St,xt){let It=t.aq[R.textAnchor],rr=[R.textOffset0,R.textOffset1],sr=Zt(It,be,Ae,rr,Fe),pr=this.collisionIndex.placeCollisionBox(ne,Hr,zt,Jt,hr,wt,ht,st,vr.predicate,xt,sr);if((!St||this.collisionIndex.placeCollisionBox(St,Hr,zt,Jt,hr,wt,ht,dt,vr.predicate,xt,sr).placeable)&&pr.placeable){let kr;if(this.prevPlacement&&this.prevPlacement.variableOffsets[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID]&&this.prevPlacement.placements[ln.crossTileID].text&&(kr=this.prevPlacement.variableOffsets[ln.crossTileID].anchor),ln.crossTileID===0)throw new Error(\"symbolInstance.crossTileID can't be 0\");return this.variableOffsets[ln.crossTileID]={textOffset:rr,width:be,height:Ae,anchor:It,textBoxScale:Fe,prevAnchor:kr},this.markUsedJustification(Ge,It,ln,$e),Ge.allowVerticalPlacement&&(this.markUsedOrientation(Ge,$e,ln),this.placedOrientations[ln.crossTileID]=$e),{shift:sr,placedGlyphBoxes:pr}}}placeLayerBucketPart(R,ne,be){let{bucket:Ae,layout:Fe,translationText:ht,translationIcon:wt,posMatrix:zt,unwrappedTileID:Jt,textLabelPlaneMatrix:hr,labelToScreenMatrix:vr,textPixelRatio:Hr,holdingForFade:ln,collisionBoxArray:Ge,partiallyEvaluatedTextSize:$e,collisionGroup:st}=R.parameters,dt=Fe.get(\"text-optional\"),St=Fe.get(\"icon-optional\"),xt=t.ar(Fe,\"text-overlap\",\"text-allow-overlap\"),It=xt===\"always\",rr=t.ar(Fe,\"icon-overlap\",\"icon-allow-overlap\"),sr=rr===\"always\",pr=Fe.get(\"text-rotation-alignment\")===\"map\",kr=Fe.get(\"text-pitch-alignment\")===\"map\",Yr=Fe.get(\"icon-text-fit\")!==\"none\",_n=Fe.get(\"symbol-z-order\")===\"viewport-y\",Mn=It&&(sr||!Ae.hasIconData()||St),Un=sr&&(It||!Ae.hasTextData()||dt);!Ae.collisionArrays&&Ge&&Ae.deserializeCollisionBoxes(Ge);let li=this._getTerrainElevationFunc(this.retainedQueryData[Ae.bucketInstanceId].tileID),ki=(Ci,Zi,ya)=>{var ro,Va;if(ne[Ci.crossTileID])return;if(ln)return void(this.placements[Ci.crossTileID]=new ni(!1,!1,!1));let Io=!1,vs=!1,Fo=!0,ts=null,bs={box:null,placeable:!1,offscreen:null},fl={box:null,placeable:!1,offscreen:null},al=null,os=null,is=null,Nl=0,eu=0,Xu=0;Zi.textFeatureIndex?Nl=Zi.textFeatureIndex:Ci.useRuntimeCollisionCircles&&(Nl=Ci.featureIndex),Zi.verticalTextFeatureIndex&&(eu=Zi.verticalTextFeatureIndex);let mu=Zi.textBox;if(mu){let Zl=Qe=>{let vt=t.ah.horizontal;if(Ae.allowVerticalPlacement&&!Qe&&this.prevPlacement){let mt=this.prevPlacement.placedOrientations[Ci.crossTileID];mt&&(this.placedOrientations[Ci.crossTileID]=mt,vt=mt,this.markUsedOrientation(Ae,vt,Ci))}return vt},Yl=(Qe,vt)=>{if(Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&Zi.verticalTextBox){for(let mt of Ae.writingModes)if(mt===t.ah.vertical?(bs=vt(),fl=bs):bs=Qe(),bs&&bs.placeable)break}else bs=Qe()},de=Ci.textAnchorOffsetStartIndex,Re=Ci.textAnchorOffsetEndIndex;if(Re===de){let Qe=(vt,mt)=>{let Tt=this.collisionIndex.placeCollisionBox(vt,xt,Hr,zt,Jt,kr,pr,ht,st.predicate,li);return Tt&&Tt.placeable&&(this.markUsedOrientation(Ae,mt,Ci),this.placedOrientations[Ci.crossTileID]=mt),Tt};Yl(()=>Qe(mu,t.ah.horizontal),()=>{let vt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&Ci.numVerticalGlyphVertices>0&&vt?Qe(vt,t.ah.vertical):{box:null,offscreen:null}}),Zl(bs&&bs.placeable)}else{let Qe=t.aq[(Va=(ro=this.prevPlacement)===null||ro===void 0?void 0:ro.variableOffsets[Ci.crossTileID])===null||Va===void 0?void 0:Va.anchor],vt=(Tt,Qt,Dt)=>{let lr=Tt.x2-Tt.x1,Br=Tt.y2-Tt.y1,jr=Ci.textBoxScale,Tn=Yr&&rr===\"never\"?Qt:null,yn=null,ti=xt===\"never\"?1:2,ai=\"never\";Qe&&ti++;for(let En=0;Envt(mu,Zi.iconBox,t.ah.horizontal),()=>{let Tt=Zi.verticalTextBox;return Ae.allowVerticalPlacement&&(!bs||!bs.placeable)&&Ci.numVerticalGlyphVertices>0&&Tt?vt(Tt,Zi.verticalIconBox,t.ah.vertical):{box:null,occluded:!0,offscreen:null}}),bs&&(Io=bs.placeable,Fo=bs.offscreen);let mt=Zl(bs&&bs.placeable);if(!Io&&this.prevPlacement){let Tt=this.prevPlacement.variableOffsets[Ci.crossTileID];Tt&&(this.variableOffsets[Ci.crossTileID]=Tt,this.markUsedJustification(Ae,Tt.anchor,Ci,mt))}}}if(al=bs,Io=al&&al.placeable,Fo=al&&al.offscreen,Ci.useRuntimeCollisionCircles){let Zl=Ae.text.placedSymbolArray.get(Ci.centerJustifiedTextSymbolIndex),Yl=t.ai(Ae.textSizeData,$e,Zl),de=Fe.get(\"text-padding\");os=this.collisionIndex.placeCollisionCircles(xt,Zl,Ae.lineVertexArray,Ae.glyphOffsetArray,Yl,zt,Jt,hr,vr,be,kr,st.predicate,Ci.collisionCircleDiameter,de,ht,li),os.circles.length&&os.collisionDetected&&!be&&t.w(\"Collisions detected, but collision boxes are not shown\"),Io=It||os.circles.length>0&&!os.collisionDetected,Fo=Fo&&os.offscreen}if(Zi.iconFeatureIndex&&(Xu=Zi.iconFeatureIndex),Zi.iconBox){let Zl=Yl=>this.collisionIndex.placeCollisionBox(Yl,rr,Hr,zt,Jt,kr,pr,wt,st.predicate,li,Yr&&ts?ts:void 0);fl&&fl.placeable&&Zi.verticalIconBox?(is=Zl(Zi.verticalIconBox),vs=is.placeable):(is=Zl(Zi.iconBox),vs=is.placeable),Fo=Fo&&is.offscreen}let El=dt||Ci.numHorizontalGlyphVertices===0&&Ci.numVerticalGlyphVertices===0,fu=St||Ci.numIconVertices===0;El||fu?fu?El||(vs=vs&&Io):Io=vs&&Io:vs=Io=vs&&Io;let Tc=vs&&is.placeable;if(Io&&al.placeable&&this.collisionIndex.insertCollisionBox(al.box,xt,Fe.get(\"text-ignore-placement\"),Ae.bucketInstanceId,fl&&fl.placeable&&eu?eu:Nl,st.ID),Tc&&this.collisionIndex.insertCollisionBox(is.box,rr,Fe.get(\"icon-ignore-placement\"),Ae.bucketInstanceId,Xu,st.ID),os&&Io&&this.collisionIndex.insertCollisionCircles(os.circles,xt,Fe.get(\"text-ignore-placement\"),Ae.bucketInstanceId,Nl,st.ID),be&&this.storeCollisionData(Ae.bucketInstanceId,ya,Zi,al,is,os),Ci.crossTileID===0)throw new Error(\"symbolInstance.crossTileID can't be 0\");if(Ae.bucketInstanceId===0)throw new Error(\"bucket.bucketInstanceId can't be 0\");this.placements[Ci.crossTileID]=new ni(Io||Mn,vs||Un,Fo||Ae.justReloaded),ne[Ci.crossTileID]=!0};if(_n){if(R.symbolInstanceStart!==0)throw new Error(\"bucket.bucketInstanceId should be 0\");let Ci=Ae.getSortedSymbolIndexes(this.transform.angle);for(let Zi=Ci.length-1;Zi>=0;--Zi){let ya=Ci[Zi];ki(Ae.symbolInstances.get(ya),Ae.collisionArrays[ya],ya)}}else for(let Ci=R.symbolInstanceStart;Ci=0&&(R.text.placedSymbolArray.get(wt).crossTileID=Fe>=0&&wt!==Fe?0:be.crossTileID)}markUsedOrientation(R,ne,be){let Ae=ne===t.ah.horizontal||ne===t.ah.horizontalOnly?ne:0,Fe=ne===t.ah.vertical?ne:0,ht=[be.leftJustifiedTextSymbolIndex,be.centerJustifiedTextSymbolIndex,be.rightJustifiedTextSymbolIndex];for(let wt of ht)R.text.placedSymbolArray.get(wt).placedOrientation=Ae;be.verticalPlacedTextSymbolIndex&&(R.text.placedSymbolArray.get(be.verticalPlacedTextSymbolIndex).placedOrientation=Fe)}commit(R){this.commitTime=R,this.zoomAtLastRecencyCheck=this.transform.zoom;let ne=this.prevPlacement,be=!1;this.prevZoomAdjustment=ne?ne.zoomAdjustment(this.transform.zoom):0;let Ae=ne?ne.symbolFadeChange(R):1,Fe=ne?ne.opacities:{},ht=ne?ne.variableOffsets:{},wt=ne?ne.placedOrientations:{};for(let zt in this.placements){let Jt=this.placements[zt],hr=Fe[zt];hr?(this.opacities[zt]=new On(hr,Ae,Jt.text,Jt.icon),be=be||Jt.text!==hr.text.placed||Jt.icon!==hr.icon.placed):(this.opacities[zt]=new On(null,Ae,Jt.text,Jt.icon,Jt.skipFade),be=be||Jt.text||Jt.icon)}for(let zt in Fe){let Jt=Fe[zt];if(!this.opacities[zt]){let hr=new On(Jt,Ae,!1,!1);hr.isHidden()||(this.opacities[zt]=hr,be=be||Jt.text.placed||Jt.icon.placed)}}for(let zt in ht)this.variableOffsets[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.variableOffsets[zt]=ht[zt]);for(let zt in wt)this.placedOrientations[zt]||!this.opacities[zt]||this.opacities[zt].isHidden()||(this.placedOrientations[zt]=wt[zt]);if(ne&&ne.lastPlacementChangeTime===void 0)throw new Error(\"Last placement time for previous placement is not defined\");be?this.lastPlacementChangeTime=R:typeof this.lastPlacementChangeTime!=\"number\"&&(this.lastPlacementChangeTime=ne?ne.lastPlacementChangeTime:R)}updateLayerOpacities(R,ne){let be={};for(let Ae of ne){let Fe=Ae.getBucket(R);Fe&&Ae.latestFeatureIndex&&R.id===Fe.layerIds[0]&&this.updateBucketOpacities(Fe,Ae.tileID,be,Ae.collisionBoxArray)}}updateBucketOpacities(R,ne,be,Ae){R.hasTextData()&&(R.text.opacityVertexArray.clear(),R.text.hasVisibleVertices=!1),R.hasIconData()&&(R.icon.opacityVertexArray.clear(),R.icon.hasVisibleVertices=!1),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexArray.clear(),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexArray.clear();let Fe=R.layers[0],ht=Fe.layout,wt=new On(null,0,!1,!1,!0),zt=ht.get(\"text-allow-overlap\"),Jt=ht.get(\"icon-allow-overlap\"),hr=Fe._unevaluatedLayout.hasValue(\"text-variable-anchor\")||Fe._unevaluatedLayout.hasValue(\"text-variable-anchor-offset\"),vr=ht.get(\"text-rotation-alignment\")===\"map\",Hr=ht.get(\"text-pitch-alignment\")===\"map\",ln=ht.get(\"icon-text-fit\")!==\"none\",Ge=new On(null,0,zt&&(Jt||!R.hasIconData()||ht.get(\"icon-optional\")),Jt&&(zt||!R.hasTextData()||ht.get(\"text-optional\")),!0);!R.collisionArrays&&Ae&&(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData())&&R.deserializeCollisionBoxes(Ae);let $e=(dt,St,xt)=>{for(let It=0;It0,kr=this.placedOrientations[St.crossTileID],Yr=kr===t.ah.vertical,_n=kr===t.ah.horizontal||kr===t.ah.horizontalOnly;if(xt>0||It>0){let Un=ri(sr.text);$e(R.text,xt,Yr?Sn:Un),$e(R.text,It,_n?Sn:Un);let li=sr.text.isHidden();[St.rightJustifiedTextSymbolIndex,St.centerJustifiedTextSymbolIndex,St.leftJustifiedTextSymbolIndex].forEach(Zi=>{Zi>=0&&(R.text.placedSymbolArray.get(Zi).hidden=li||Yr?1:0)}),St.verticalPlacedTextSymbolIndex>=0&&(R.text.placedSymbolArray.get(St.verticalPlacedTextSymbolIndex).hidden=li||_n?1:0);let ki=this.variableOffsets[St.crossTileID];ki&&this.markUsedJustification(R,ki.anchor,St,kr);let Ci=this.placedOrientations[St.crossTileID];Ci&&(this.markUsedJustification(R,\"left\",St,Ci),this.markUsedOrientation(R,Ci,St))}if(pr){let Un=ri(sr.icon),li=!(ln&&St.verticalPlacedIconSymbolIndex&&Yr);St.placedIconSymbolIndex>=0&&($e(R.icon,St.numIconVertices,li?Un:Sn),R.icon.placedSymbolArray.get(St.placedIconSymbolIndex).hidden=sr.icon.isHidden()),St.verticalPlacedIconSymbolIndex>=0&&($e(R.icon,St.numVerticalIconVertices,li?Sn:Un),R.icon.placedSymbolArray.get(St.verticalPlacedIconSymbolIndex).hidden=sr.icon.isHidden())}let Mn=st&&st.has(dt)?st.get(dt):{text:null,icon:null};if(R.hasIconCollisionBoxData()||R.hasTextCollisionBoxData()){let Un=R.collisionArrays[dt];if(Un){let li=new t.P(0,0);if(Un.textBox||Un.verticalTextBox){let ki=!0;if(hr){let Ci=this.variableOffsets[rr];Ci?(li=Zt(Ci.anchor,Ci.width,Ci.height,Ci.textOffset,Ci.textBoxScale),vr&&li._rotate(Hr?this.transform.angle:-this.transform.angle)):ki=!1}if(Un.textBox||Un.verticalTextBox){let Ci;Un.textBox&&(Ci=Yr),Un.verticalTextBox&&(Ci=_n),Ht(R.textCollisionBox.collisionVertexArray,sr.text.placed,!ki||Ci,Mn.text,li.x,li.y)}}if(Un.iconBox||Un.verticalIconBox){let ki=!!(!_n&&Un.verticalIconBox),Ci;Un.iconBox&&(Ci=ki),Un.verticalIconBox&&(Ci=!ki),Ht(R.iconCollisionBox.collisionVertexArray,sr.icon.placed,Ci,Mn.icon,ln?li.x:0,ln?li.y:0)}}}}if(R.sortFeatures(this.transform.angle),this.retainedQueryData[R.bucketInstanceId]&&(this.retainedQueryData[R.bucketInstanceId].featureSortOrder=R.featureSortOrder),R.hasTextData()&&R.text.opacityVertexBuffer&&R.text.opacityVertexBuffer.updateData(R.text.opacityVertexArray),R.hasIconData()&&R.icon.opacityVertexBuffer&&R.icon.opacityVertexBuffer.updateData(R.icon.opacityVertexArray),R.hasIconCollisionBoxData()&&R.iconCollisionBox.collisionVertexBuffer&&R.iconCollisionBox.collisionVertexBuffer.updateData(R.iconCollisionBox.collisionVertexArray),R.hasTextCollisionBoxData()&&R.textCollisionBox.collisionVertexBuffer&&R.textCollisionBox.collisionVertexBuffer.updateData(R.textCollisionBox.collisionVertexArray),R.text.opacityVertexArray.length!==R.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${R.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${R.text.layoutVertexArray.length}) / 4`);if(R.icon.opacityVertexArray.length!==R.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${R.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${R.icon.layoutVertexArray.length}) / 4`);if(R.bucketInstanceId in this.collisionCircleArrays){let dt=this.collisionCircleArrays[R.bucketInstanceId];R.placementInvProjMatrix=dt.invProjMatrix,R.placementViewportMatrix=dt.viewportMatrix,R.collisionCircleArray=dt.circles,delete this.collisionCircleArrays[R.bucketInstanceId]}}symbolFadeChange(R){return this.fadeDuration===0?1:(R-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(R){return Math.max(0,(this.transform.zoom-R)/1.5)}hasTransitions(R){return this.stale||R-this.lastPlacementChangeTimeR}setStale(){this.stale=!0}}function Ht(Ne,R,ne,be,Ae,Fe){be&&be.length!==0||(be=[0,0,0,0]);let ht=be[0]-ur,wt=be[1]-ur,zt=be[2]-ur,Jt=be[3]-ur;Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,wt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,zt,Jt),Ne.emplaceBack(R?1:0,ne?1:0,Ae||0,Fe||0,ht,Jt)}let Vt=Math.pow(2,25),wr=Math.pow(2,24),$r=Math.pow(2,17),xn=Math.pow(2,16),en=Math.pow(2,9),Fn=Math.pow(2,8),Wn=Math.pow(2,1);function ri(Ne){if(Ne.opacity===0&&!Ne.placed)return 0;if(Ne.opacity===1&&Ne.placed)return 4294967295;let R=Ne.placed?1:0,ne=Math.floor(127*Ne.opacity);return ne*Vt+R*wr+ne*$r+R*xn+ne*en+R*Fn+ne*Wn+R}let Sn=0;function ui(){return{isOccluded:(Ne,R,ne)=>!1,getPitchedTextCorrection:(Ne,R,ne)=>1,get useSpecialProjectionForSymbols(){return!1},projectTileCoordinates(Ne,R,ne,be){throw new Error(\"Not implemented.\")},translatePosition:(Ne,R,ne,be)=>function(Ae,Fe,ht,wt,zt=!1){if(!ht[0]&&!ht[1])return[0,0];let Jt=zt?wt===\"map\"?Ae.angle:0:wt===\"viewport\"?-Ae.angle:0;if(Jt){let hr=Math.sin(Jt),vr=Math.cos(Jt);ht=[ht[0]*vr-ht[1]*hr,ht[0]*hr+ht[1]*vr]}return[zt?ht[0]:Rn(Fe,ht[0],Ae.zoom),zt?ht[1]:Rn(Fe,ht[1],Ae.zoom)]}(Ne,R,ne,be),getCircleRadiusCorrection:Ne=>1}}class gt{constructor(R){this._sortAcrossTiles=R.layout.get(\"symbol-z-order\")!==\"viewport-y\"&&!R.layout.get(\"symbol-sort-key\").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(R,ne,be,Ae,Fe){let ht=this._bucketParts;for(;this._currentTileIndexwt.sortKey-zt.sortKey));this._currentPartIndex!this._forceFullPlacement&&i.now()-Ae>2;for(;this._currentPlacementIndex>=0;){let ht=ne[R[this._currentPlacementIndex]],wt=this.placement.collisionIndex.transform.zoom;if(ht.type===\"symbol\"&&(!ht.minzoom||ht.minzoom<=wt)&&(!ht.maxzoom||ht.maxzoom>wt)){if(this._inProgressLayer||(this._inProgressLayer=new gt(ht)),this._inProgressLayer.continuePlacement(be[ht.source],this.placement,this._showCollisionBoxes,ht,Fe))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(R){return this.placement.commit(R),this.placement}}let Pr=512/t.X/2;class Ir{constructor(R,ne,be){this.tileID=R,this.bucketInstanceId=be,this._symbolsByKey={};let Ae=new Map;for(let Fe=0;Fe({x:Math.floor(zt.anchorX*Pr),y:Math.floor(zt.anchorY*Pr)})),crossTileIDs:ht.map(zt=>zt.crossTileID)};if(wt.positions.length>128){let zt=new t.av(wt.positions.length,16,Uint16Array);for(let{x:Jt,y:hr}of wt.positions)zt.add(Jt,hr);zt.finish(),delete wt.positions,wt.index=zt}this._symbolsByKey[Fe]=wt}}getScaledCoordinates(R,ne){let{x:be,y:Ae,z:Fe}=this.tileID.canonical,{x:ht,y:wt,z:zt}=ne.canonical,Jt=Pr/Math.pow(2,zt-Fe),hr=(wt*t.X+R.anchorY)*Jt,vr=Ae*t.X*Pr;return{x:Math.floor((ht*t.X+R.anchorX)*Jt-be*t.X*Pr),y:Math.floor(hr-vr)}}findMatches(R,ne,be){let Ae=this.tileID.canonical.zR)}}class Tr{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class Mr{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(R){let ne=Math.round((R-this.lng)/360);if(ne!==0)for(let be in this.indexes){let Ae=this.indexes[be],Fe={};for(let ht in Ae){let wt=Ae[ht];wt.tileID=wt.tileID.unwrapTo(wt.tileID.wrap+ne),Fe[wt.tileID.key]=wt}this.indexes[be]=Fe}this.lng=R}addBucket(R,ne,be){if(this.indexes[R.overscaledZ]&&this.indexes[R.overscaledZ][R.key]){if(this.indexes[R.overscaledZ][R.key].bucketInstanceId===ne.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(R.overscaledZ,this.indexes[R.overscaledZ][R.key])}for(let Fe=0;FeR.overscaledZ)for(let wt in ht){let zt=ht[wt];zt.tileID.isChildOf(R)&&zt.findMatches(ne.symbolInstances,R,Ae)}else{let wt=ht[R.scaledTo(Number(Fe)).key];wt&&wt.findMatches(ne.symbolInstances,R,Ae)}}for(let Fe=0;Fe{ne[be]=!0});for(let be in this.layerIndexes)ne[be]||delete this.layerIndexes[be]}}let Ur=(Ne,R)=>t.t(Ne,R&&R.filter(ne=>ne.identifier!==\"source.canvas\")),Dr=t.aw();class nn extends t.E{constructor(R,ne={}){super(),this._rtlPluginLoaded=()=>{for(let be in this.sourceCaches){let Ae=this.sourceCaches[be].getSource().type;Ae!==\"vector\"&&Ae!==\"geojson\"||this.sourceCaches[be].reload()}},this.map=R,this.dispatcher=new J($(),R._getMapId()),this.dispatcher.registerMessageHandler(\"GG\",(be,Ae)=>this.getGlyphs(be,Ae)),this.dispatcher.registerMessageHandler(\"GI\",(be,Ae)=>this.getImages(be,Ae)),this.imageManager=new f,this.imageManager.setEventedParent(this),this.glyphManager=new F(R._requestManager,ne.localIdeographFontFamily),this.lineAtlas=new W(256,512),this.crossTileSymbolIndex=new Lr,this._spritesImagesIds={},this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ax,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast(\"SR\",t.ay()),rt().on(pe,this._rtlPluginLoaded),this.on(\"data\",be=>{if(be.dataType!==\"source\"||be.sourceDataType!==\"metadata\")return;let Ae=this.sourceCaches[be.sourceId];if(!Ae)return;let Fe=Ae.getSource();if(Fe&&Fe.vectorLayerIds)for(let ht in this._layers){let wt=this._layers[ht];wt.source===Fe.id&&this._validateLayer(wt)}})}loadURL(R,ne={},be){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),ne.validate=typeof ne.validate!=\"boolean\"||ne.validate;let Ae=this.map._requestManager.transformRequest(R,\"Style\");this._loadStyleRequest=new AbortController;let Fe=this._loadStyleRequest;t.h(Ae,this._loadStyleRequest).then(ht=>{this._loadStyleRequest=null,this._load(ht.data,ne,be)}).catch(ht=>{this._loadStyleRequest=null,ht&&!Fe.signal.aborted&&this.fire(new t.j(ht))})}loadJSON(R,ne={},be){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(()=>{this._frameRequest=null,ne.validate=ne.validate!==!1,this._load(R,ne,be)}).catch(()=>{})}loadEmpty(){this.fire(new t.k(\"dataloading\",{dataType:\"style\"})),this._load(Dr,{validate:!1})}_load(R,ne,be){var Ae;let Fe=ne.transformStyle?ne.transformStyle(be,R):R;if(!ne.validate||!Ur(this,t.u(Fe))){this._loaded=!0,this.stylesheet=Fe;for(let ht in Fe.sources)this.addSource(ht,Fe.sources[ht],{validate:!1});Fe.sprite?this._loadSprite(Fe.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(Fe.glyphs),this._createLayers(),this.light=new I(this.stylesheet.light),this.sky=new U(this.stylesheet.sky),this.map.setTerrain((Ae=this.stylesheet.terrain)!==null&&Ae!==void 0?Ae:null),this.fire(new t.k(\"data\",{dataType:\"style\"})),this.fire(new t.k(\"style.load\"))}}_createLayers(){let R=t.az(this.stylesheet.layers);this.dispatcher.broadcast(\"SL\",R),this._order=R.map(ne=>ne.id),this._layers={},this._serializedLayers=null;for(let ne of R){let be=t.aA(ne);be.setEventedParent(this,{layer:{id:ne.id}}),this._layers[ne.id]=be}}_loadSprite(R,ne=!1,be=void 0){let Ae;this.imageManager.setLoaded(!1),this._spriteRequest=new AbortController,function(Fe,ht,wt,zt){return t._(this,void 0,void 0,function*(){let Jt=b(Fe),hr=wt>1?\"@2x\":\"\",vr={},Hr={};for(let{id:ln,url:Ge}of Jt){let $e=ht.transformRequest(v(Ge,hr,\".json\"),\"SpriteJSON\");vr[ln]=t.h($e,zt);let st=ht.transformRequest(v(Ge,hr,\".png\"),\"SpriteImage\");Hr[ln]=l.getImage(st,zt)}return yield Promise.all([...Object.values(vr),...Object.values(Hr)]),function(ln,Ge){return t._(this,void 0,void 0,function*(){let $e={};for(let st in ln){$e[st]={};let dt=i.getImageCanvasContext((yield Ge[st]).data),St=(yield ln[st]).data;for(let xt in St){let{width:It,height:rr,x:sr,y:pr,sdf:kr,pixelRatio:Yr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki}=St[xt];$e[st][xt]={data:null,pixelRatio:Yr,sdf:kr,stretchX:_n,stretchY:Mn,content:Un,textFitWidth:li,textFitHeight:ki,spriteData:{width:It,height:rr,x:sr,y:pr,context:dt}}}}return $e})}(vr,Hr)})}(R,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then(Fe=>{if(this._spriteRequest=null,Fe)for(let ht in Fe){this._spritesImagesIds[ht]=[];let wt=this._spritesImagesIds[ht]?this._spritesImagesIds[ht].filter(zt=>!(zt in Fe)):[];for(let zt of wt)this.imageManager.removeImage(zt),this._changedImages[zt]=!0;for(let zt in Fe[ht]){let Jt=ht===\"default\"?zt:`${ht}:${zt}`;this._spritesImagesIds[ht].push(Jt),Jt in this.imageManager.images?this.imageManager.updateImage(Jt,Fe[ht][zt],!1):this.imageManager.addImage(Jt,Fe[ht][zt]),ne&&(this._changedImages[Jt]=!0)}}}).catch(Fe=>{this._spriteRequest=null,Ae=Fe,this.fire(new t.j(Ae))}).finally(()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),ne&&(this._changed=!0),this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"})),be&&be(Ae)})}_unloadSprite(){for(let R of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(R),this._changedImages[R]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}_validateLayer(R){let ne=this.sourceCaches[R.source];if(!ne)return;let be=R.sourceLayer;if(!be)return;let Ae=ne.getSource();(Ae.type===\"geojson\"||Ae.vectorLayerIds&&Ae.vectorLayerIds.indexOf(be)===-1)&&this.fire(new t.j(new Error(`Source layer \"${be}\" does not exist on source \"${Ae.id}\" as specified by style layer \"${R.id}\".`)))}loaded(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(let R in this.sourceCaches)if(!this.sourceCaches[R].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeByIds(R,ne=!1){let be=this._serializedAllLayers();if(!R||R.length===0)return Object.values(ne?t.aB(be):be);let Ae=[];for(let Fe of R)if(be[Fe]){let ht=ne?t.aB(be[Fe]):be[Fe];Ae.push(ht)}return Ae}_serializedAllLayers(){let R=this._serializedLayers;if(R)return R;R=this._serializedLayers={};let ne=Object.keys(this._layers);for(let be of ne){let Ae=this._layers[be];Ae.type!==\"custom\"&&(R[be]=Ae.serialize())}return R}hasTransitions(){if(this.light&&this.light.hasTransition()||this.sky&&this.sky.hasTransition())return!0;for(let R in this.sourceCaches)if(this.sourceCaches[R].hasTransition())return!0;for(let R in this._layers)if(this._layers[R].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error(\"Style is not done loading.\")}update(R){if(!this._loaded)return;let ne=this._changed;if(ne){let Ae=Object.keys(this._updatedLayers),Fe=Object.keys(this._removedLayers);(Ae.length||Fe.length)&&this._updateWorkerLayers(Ae,Fe);for(let ht in this._updatedSources){let wt=this._updatedSources[ht];if(wt===\"reload\")this._reloadSource(ht);else{if(wt!==\"clear\")throw new Error(`Invalid action ${wt}`);this._clearSource(ht)}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(let ht in this._updatedPaintProps)this._layers[ht].updateTransitions(R);this.light.updateTransitions(R),this.sky.updateTransitions(R),this._resetUpdates()}let be={};for(let Ae in this.sourceCaches){let Fe=this.sourceCaches[Ae];be[Ae]=Fe.used,Fe.used=!1}for(let Ae of this._order){let Fe=this._layers[Ae];Fe.recalculate(R,this._availableImages),!Fe.isHidden(R.zoom)&&Fe.source&&(this.sourceCaches[Fe.source].used=!0)}for(let Ae in be){let Fe=this.sourceCaches[Ae];!!be[Ae]!=!!Fe.used&&Fe.fire(new t.k(\"data\",{sourceDataType:\"visibility\",dataType:\"source\",sourceId:Ae}))}this.light.recalculate(R),this.sky.recalculate(R),this.z=R.zoom,ne&&this.fire(new t.k(\"data\",{dataType:\"style\"}))}_updateTilesForChangedImages(){let R=Object.keys(this._changedImages);if(R.length){for(let ne in this.sourceCaches)this.sourceCaches[ne].reloadTilesForDependencies([\"icons\",\"patterns\"],R);this._changedImages={}}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(let R in this.sourceCaches)this.sourceCaches[R].reloadTilesForDependencies([\"glyphs\"],[\"\"]);this._glyphsDidChange=!1}}_updateWorkerLayers(R,ne){this.dispatcher.broadcast(\"UL\",{layers:this._serializeByIds(R,!1),removedIds:ne})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1}setState(R,ne={}){var be;this._checkLoaded();let Ae=this.serialize();if(R=ne.transformStyle?ne.transformStyle(Ae,R):R,((be=ne.validate)===null||be===void 0||be)&&Ur(this,t.u(R)))return!1;(R=t.aB(R)).layers=t.az(R.layers);let Fe=t.aC(Ae,R),ht=this._getOperationsToPerform(Fe);if(ht.unimplemented.length>0)throw new Error(`Unimplemented: ${ht.unimplemented.join(\", \")}.`);if(ht.operations.length===0)return!1;for(let wt of ht.operations)wt();return this.stylesheet=R,this._serializedLayers=null,!0}_getOperationsToPerform(R){let ne=[],be=[];for(let Ae of R)switch(Ae.command){case\"setCenter\":case\"setZoom\":case\"setBearing\":case\"setPitch\":continue;case\"addLayer\":ne.push(()=>this.addLayer.apply(this,Ae.args));break;case\"removeLayer\":ne.push(()=>this.removeLayer.apply(this,Ae.args));break;case\"setPaintProperty\":ne.push(()=>this.setPaintProperty.apply(this,Ae.args));break;case\"setLayoutProperty\":ne.push(()=>this.setLayoutProperty.apply(this,Ae.args));break;case\"setFilter\":ne.push(()=>this.setFilter.apply(this,Ae.args));break;case\"addSource\":ne.push(()=>this.addSource.apply(this,Ae.args));break;case\"removeSource\":ne.push(()=>this.removeSource.apply(this,Ae.args));break;case\"setLayerZoomRange\":ne.push(()=>this.setLayerZoomRange.apply(this,Ae.args));break;case\"setLight\":ne.push(()=>this.setLight.apply(this,Ae.args));break;case\"setGeoJSONSourceData\":ne.push(()=>this.setGeoJSONSourceData.apply(this,Ae.args));break;case\"setGlyphs\":ne.push(()=>this.setGlyphs.apply(this,Ae.args));break;case\"setSprite\":ne.push(()=>this.setSprite.apply(this,Ae.args));break;case\"setSky\":ne.push(()=>this.setSky.apply(this,Ae.args));break;case\"setTerrain\":ne.push(()=>this.map.setTerrain.apply(this,Ae.args));break;case\"setTransition\":ne.push(()=>{});break;default:be.push(Ae.command)}return{operations:ne,unimplemented:be}}addImage(R,ne){if(this.getImage(R))return this.fire(new t.j(new Error(`An image named \"${R}\" already exists.`)));this.imageManager.addImage(R,ne),this._afterImageUpdated(R)}updateImage(R,ne){this.imageManager.updateImage(R,ne)}getImage(R){return this.imageManager.getImage(R)}removeImage(R){if(!this.getImage(R))return this.fire(new t.j(new Error(`An image named \"${R}\" does not exist.`)));this.imageManager.removeImage(R),this._afterImageUpdated(R)}_afterImageUpdated(R){this._availableImages=this.imageManager.listImages(),this._changedImages[R]=!0,this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(R,ne,be={}){if(this._checkLoaded(),this.sourceCaches[R]!==void 0)throw new Error(`Source \"${R}\" already exists.`);if(!ne.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(ne).join(\", \")}.`);if([\"vector\",\"raster\",\"geojson\",\"video\",\"image\"].indexOf(ne.type)>=0&&this._validate(t.u.source,`sources.${R}`,ne,null,be))return;this.map&&this.map._collectResourceTiming&&(ne.collectResourceTiming=!0);let Ae=this.sourceCaches[R]=new Et(R,ne,this.dispatcher);Ae.style=this,Ae.setEventedParent(this,()=>({isSourceLoaded:Ae.loaded(),source:Ae.serialize(),sourceId:R})),Ae.onAdd(this.map),this._changed=!0}removeSource(R){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(\"There is no source with this ID\");for(let be in this._layers)if(this._layers[be].source===R)return this.fire(new t.j(new Error(`Source \"${R}\" cannot be removed while layer \"${be}\" is using it.`)));let ne=this.sourceCaches[R];delete this.sourceCaches[R],delete this._updatedSources[R],ne.fire(new t.k(\"data\",{sourceDataType:\"metadata\",dataType:\"source\",sourceId:R})),ne.setEventedParent(null),ne.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(R,ne){if(this._checkLoaded(),this.sourceCaches[R]===void 0)throw new Error(`There is no source with this ID=${R}`);let be=this.sourceCaches[R].getSource();if(be.type!==\"geojson\")throw new Error(`geojsonSource.type is ${be.type}, which is !== 'geojson`);be.setData(ne),this._changed=!0}getSource(R){return this.sourceCaches[R]&&this.sourceCaches[R].getSource()}addLayer(R,ne,be={}){this._checkLoaded();let Ae=R.id;if(this.getLayer(Ae))return void this.fire(new t.j(new Error(`Layer \"${Ae}\" already exists on this map.`)));let Fe;if(R.type===\"custom\"){if(Ur(this,t.aD(R)))return;Fe=t.aA(R)}else{if(\"source\"in R&&typeof R.source==\"object\"&&(this.addSource(Ae,R.source),R=t.aB(R),R=t.e(R,{source:Ae})),this._validate(t.u.layer,`layers.${Ae}`,R,{arrayIndex:-1},be))return;Fe=t.aA(R),this._validateLayer(Fe),Fe.setEventedParent(this,{layer:{id:Ae}})}let ht=ne?this._order.indexOf(ne):this._order.length;if(ne&&ht===-1)this.fire(new t.j(new Error(`Cannot add layer \"${Ae}\" before non-existing layer \"${ne}\".`)));else{if(this._order.splice(ht,0,Ae),this._layerOrderChanged=!0,this._layers[Ae]=Fe,this._removedLayers[Ae]&&Fe.source&&Fe.type!==\"custom\"){let wt=this._removedLayers[Ae];delete this._removedLayers[Ae],wt.type!==Fe.type?this._updatedSources[Fe.source]=\"clear\":(this._updatedSources[Fe.source]=\"reload\",this.sourceCaches[Fe.source].pause())}this._updateLayer(Fe),Fe.onAdd&&Fe.onAdd(this.map)}}moveLayer(R,ne){if(this._checkLoaded(),this._changed=!0,!this._layers[R])return void this.fire(new t.j(new Error(`The layer '${R}' does not exist in the map's style and cannot be moved.`)));if(R===ne)return;let be=this._order.indexOf(R);this._order.splice(be,1);let Ae=ne?this._order.indexOf(ne):this._order.length;ne&&Ae===-1?this.fire(new t.j(new Error(`Cannot move layer \"${R}\" before non-existing layer \"${ne}\".`))):(this._order.splice(Ae,0,R),this._layerOrderChanged=!0)}removeLayer(R){this._checkLoaded();let ne=this._layers[R];if(!ne)return void this.fire(new t.j(new Error(`Cannot remove non-existing layer \"${R}\".`)));ne.setEventedParent(null);let be=this._order.indexOf(R);this._order.splice(be,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[R]=ne,delete this._layers[R],this._serializedLayers&&delete this._serializedLayers[R],delete this._updatedLayers[R],delete this._updatedPaintProps[R],ne.onRemove&&ne.onRemove(this.map)}getLayer(R){return this._layers[R]}getLayersOrder(){return[...this._order]}hasLayer(R){return R in this._layers}setLayerZoomRange(R,ne,be){this._checkLoaded();let Ae=this.getLayer(R);Ae?Ae.minzoom===ne&&Ae.maxzoom===be||(ne!=null&&(Ae.minzoom=ne),be!=null&&(Ae.maxzoom=be),this._updateLayer(Ae)):this.fire(new t.j(new Error(`Cannot set the zoom range of non-existing layer \"${R}\".`)))}setFilter(R,ne,be={}){this._checkLoaded();let Ae=this.getLayer(R);if(Ae){if(!t.aE(Ae.filter,ne))return ne==null?(Ae.filter=void 0,void this._updateLayer(Ae)):void(this._validate(t.u.filter,`layers.${Ae.id}.filter`,ne,null,be)||(Ae.filter=t.aB(ne),this._updateLayer(Ae)))}else this.fire(new t.j(new Error(`Cannot filter non-existing layer \"${R}\".`)))}getFilter(R){return t.aB(this.getLayer(R).filter)}setLayoutProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getLayoutProperty(ne),be)||(Fe.setLayoutProperty(ne,be,Ae),this._updateLayer(Fe)):this.fire(new t.j(new Error(`Cannot style non-existing layer \"${R}\".`)))}getLayoutProperty(R,ne){let be=this.getLayer(R);if(be)return be.getLayoutProperty(ne);this.fire(new t.j(new Error(`Cannot get style of non-existing layer \"${R}\".`)))}setPaintProperty(R,ne,be,Ae={}){this._checkLoaded();let Fe=this.getLayer(R);Fe?t.aE(Fe.getPaintProperty(ne),be)||(Fe.setPaintProperty(ne,be,Ae)&&this._updateLayer(Fe),this._changed=!0,this._updatedPaintProps[R]=!0,this._serializedLayers=null):this.fire(new t.j(new Error(`Cannot style non-existing layer \"${R}\".`)))}getPaintProperty(R,ne){return this.getLayer(R).getPaintProperty(ne)}setFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=R.sourceLayer,Fe=this.sourceCaches[be];if(Fe===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let ht=Fe.getSource().type;ht===\"geojson\"&&Ae?this.fire(new t.j(new Error(\"GeoJSON sources cannot have a sourceLayer parameter.\"))):ht!==\"vector\"||Ae?(R.id===void 0&&this.fire(new t.j(new Error(\"The feature id parameter must be provided.\"))),Fe.setFeatureState(Ae,R.id,ne)):this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")))}removeFeatureState(R,ne){this._checkLoaded();let be=R.source,Ae=this.sourceCaches[be];if(Ae===void 0)return void this.fire(new t.j(new Error(`The source '${be}' does not exist in the map's style.`)));let Fe=Ae.getSource().type,ht=Fe===\"vector\"?R.sourceLayer:void 0;Fe!==\"vector\"||ht?ne&&typeof R.id!=\"string\"&&typeof R.id!=\"number\"?this.fire(new t.j(new Error(\"A feature id is required to remove its specific state property.\"))):Ae.removeFeatureState(ht,R.id,ne):this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")))}getFeatureState(R){this._checkLoaded();let ne=R.source,be=R.sourceLayer,Ae=this.sourceCaches[ne];if(Ae!==void 0)return Ae.getSource().type!==\"vector\"||be?(R.id===void 0&&this.fire(new t.j(new Error(\"The feature id parameter must be provided.\"))),Ae.getFeatureState(be,R.id)):void this.fire(new t.j(new Error(\"The sourceLayer parameter must be provided for vector source types.\")));this.fire(new t.j(new Error(`The source '${ne}' does not exist in the map's style.`)))}getTransition(){return t.e({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){if(!this._loaded)return;let R=t.aF(this.sourceCaches,Fe=>Fe.serialize()),ne=this._serializeByIds(this._order,!0),be=this.map.getTerrain()||void 0,Ae=this.stylesheet;return t.aG({version:Ae.version,name:Ae.name,metadata:Ae.metadata,light:Ae.light,sky:Ae.sky,center:Ae.center,zoom:Ae.zoom,bearing:Ae.bearing,pitch:Ae.pitch,sprite:Ae.sprite,glyphs:Ae.glyphs,transition:Ae.transition,sources:R,layers:ne,terrain:be},Fe=>Fe!==void 0)}_updateLayer(R){this._updatedLayers[R.id]=!0,R.source&&!this._updatedSources[R.source]&&this.sourceCaches[R.source].getSource().type!==\"raster\"&&(this._updatedSources[R.source]=\"reload\",this.sourceCaches[R.source].pause()),this._serializedLayers=null,this._changed=!0}_flattenAndSortRenderedFeatures(R){let ne=ht=>this._layers[ht].type===\"fill-extrusion\",be={},Ae=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt)){be[wt]=ht;for(let zt of R){let Jt=zt[wt];if(Jt)for(let hr of Jt)Ae.push(hr)}}}Ae.sort((ht,wt)=>wt.intersectionZ-ht.intersectionZ);let Fe=[];for(let ht=this._order.length-1;ht>=0;ht--){let wt=this._order[ht];if(ne(wt))for(let zt=Ae.length-1;zt>=0;zt--){let Jt=Ae[zt].feature;if(be[Jt.layer.id]{let kr=dt.featureSortOrder;if(kr){let Yr=kr.indexOf(sr.featureIndex);return kr.indexOf(pr.featureIndex)-Yr}return pr.featureIndex-sr.featureIndex});for(let sr of rr)It.push(sr)}}for(let dt in Ge)Ge[dt].forEach(St=>{let xt=St.feature,It=Jt[wt[dt].source].getFeatureState(xt.layer[\"source-layer\"],xt.id);xt.source=xt.layer.source,xt.layer[\"source-layer\"]&&(xt.sourceLayer=xt.layer[\"source-layer\"]),xt.state=It});return Ge}(this._layers,ht,this.sourceCaches,R,ne,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(Fe)}querySourceFeatures(R,ne){ne&&ne.filter&&this._validate(t.u.filter,\"querySourceFeatures.filter\",ne.filter,null,ne);let be=this.sourceCaches[R];return be?function(Ae,Fe){let ht=Ae.getRenderableIds().map(Jt=>Ae.getTileByID(Jt)),wt=[],zt={};for(let Jt=0;JtHr.getTileByID(ln)).sort((ln,Ge)=>Ge.tileID.overscaledZ-ln.tileID.overscaledZ||(ln.tileID.isLessThan(Ge.tileID)?-1:1))}let vr=this.crossTileSymbolIndex.addLayer(hr,zt[hr.source],R.center.lng);ht=ht||vr}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((Fe=Fe||this._layerOrderChanged||be===0)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(i.now(),R.zoom))&&(this.pauseablePlacement=new yt(R,this.map.terrain,this._order,Fe,ne,be,Ae,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,zt),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(i.now()),wt=!0),ht&&this.pauseablePlacement.placement.setStale()),wt||ht)for(let Jt of this._order){let hr=this._layers[Jt];hr.type===\"symbol\"&&this.placement.updateLayerOpacities(hr,zt[hr.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(i.now())}_releaseSymbolFadeTiles(){for(let R in this.sourceCaches)this.sourceCaches[R].releaseSymbolFadeTiles()}getImages(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.imageManager.getImages(ne.icons);this._updateTilesForChangedImages();let Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,ne.icons),be})}getGlyphs(R,ne){return t._(this,void 0,void 0,function*(){let be=yield this.glyphManager.getGlyphs(ne.stacks),Ae=this.sourceCaches[ne.source];return Ae&&Ae.setDependencies(ne.tileID.key,ne.type,[\"\"]),be})}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(R,ne={}){this._checkLoaded(),R&&this._validate(t.u.glyphs,\"glyphs\",R,null,ne)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=R,this.glyphManager.entries={},this.glyphManager.setURL(R))}addSprite(R,ne,be={},Ae){this._checkLoaded();let Fe=[{id:R,url:ne}],ht=[...b(this.stylesheet.sprite),...Fe];this._validate(t.u.sprite,\"sprite\",ht,null,be)||(this.stylesheet.sprite=ht,this._loadSprite(Fe,!0,Ae))}removeSprite(R){this._checkLoaded();let ne=b(this.stylesheet.sprite);if(ne.find(be=>be.id===R)){if(this._spritesImagesIds[R])for(let be of this._spritesImagesIds[R])this.imageManager.removeImage(be),this._changedImages[be]=!0;ne.splice(ne.findIndex(be=>be.id===R),1),this.stylesheet.sprite=ne.length>0?ne:void 0,delete this._spritesImagesIds[R],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast(\"SI\",this._availableImages),this.fire(new t.k(\"data\",{dataType:\"style\"}))}else this.fire(new t.j(new Error(`Sprite \"${R}\" doesn't exists on this map.`)))}getSprite(){return b(this.stylesheet.sprite)}setSprite(R,ne={},be){this._checkLoaded(),R&&this._validate(t.u.sprite,\"sprite\",R,null,ne)||(this.stylesheet.sprite=R,R?this._loadSprite(R,!0,be):(this._unloadSprite(),be&&be(null)))}}var vn=t.Y([{name:\"a_pos\",type:\"Int16\",components:2}]);let gn={prelude:kt(`#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\n`,`#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}\n#ifdef TERRAIN3D\nuniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth;\n#endif\nconst highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) {\n#ifdef TERRAIN3D\nhighp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0));\n#else\nreturn 1.0;\n#endif\n}float calculate_visibility(vec4 pos) {\n#ifdef TERRAIN3D\nvec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}`),background:kt(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),backgroundPattern:kt(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}\"),circle:kt(`varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),clippingMask:kt(\"void main() {gl_FragColor=vec4(1.0);}\",\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\"),heatmap:kt(`uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,get_elevation(floor(a_pos*0.5)),1);gl_Position=u_matrix*pos;}`),heatmapTexture:kt(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}\"),collisionBox:kt(\"varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\",\"attribute vec2 a_anchor_pos;attribute vec2 a_placed;attribute vec2 a_box_real;uniform mat4 u_matrix;uniform vec2 u_pixel_extrude_scale;varying float v_placed;varying float v_notUsed;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}\"),collisionCircle:kt(\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\",\"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\"),debug:kt(\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\",\"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}\"),fill:kt(`#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}`),fillOutline:kt(`varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillOutlinePattern:kt(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillPattern:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),fillExtrusion:kt(`varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),fillExtrusionPattern:kt(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),hillshadePrepare:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\"),hillshade:kt(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\"),line:kt(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}`),lineGradient:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}`),linePattern:kt(`#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),lineSDF:kt(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),raster:kt(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,\"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\"),symbolIcon:kt(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_tex;varying float v_fade_opacity;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}`),symbolSDF:kt(`#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);inner_edge=inner_edge+gamma*gamma_scale;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);if (u_is_halo) {lowp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha=min(smoothstep(halo_edge-gamma_scaled,halo_edge+gamma_scaled,dist),1.0-alpha);}gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_data0;varying vec3 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),symbolTextAndIcon:kt(`#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec4 v_data0;varying vec4 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:kt(\"uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;varying vec2 v_texture_pos;varying float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture2D(u_texture,v_texture_pos);if (v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);gl_FragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {gl_FragColor=surface_color;}}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform mat4 u_fog_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;varying float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}\"),terrainDepth:kt(\"varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);v_depth=gl_Position.z/gl_Position.w;}\"),terrainCoords:kt(\"precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}\",\"attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);}\"),sky:kt(\"uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform float u_horizon;uniform float u_sky_horizon_blend;void main() {float y=gl_FragCoord.y;if (y > u_horizon) {float blend=y-u_horizon;if (blend < u_sky_horizon_blend) {gl_FragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {gl_FragColor=u_sky_color;}}}\",\"attribute vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}\")};function kt(Ne,R){let ne=/#pragma mapbox: ([\\w]+) ([\\w]+) ([\\w]+) ([\\w]+)/g,be=R.match(/attribute ([\\w]+) ([\\w]+)/g),Ae=Ne.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),Fe=R.match(/uniform ([\\w]+) ([\\w]+)([\\s]*)([\\w]*)/g),ht=Fe?Fe.concat(Ae):Ae,wt={};return{fragmentSource:Ne=Ne.replace(ne,(zt,Jt,hr,vr,Hr)=>(wt[Hr]=!0,Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nvarying ${hr} ${vr} ${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`)),vertexSource:R=R.replace(ne,(zt,Jt,hr,vr,Hr)=>{let ln=vr===\"float\"?\"vec2\":\"vec4\",Ge=Hr.match(/color/)?\"color\":ln;return wt[Hr]?Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nuniform lowp float u_${Hr}_t;\nattribute ${hr} ${ln} a_${Hr};\nvarying ${hr} ${vr} ${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:Ge===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${Hr} = a_${Hr};\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t);\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:Jt===\"define\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\nuniform lowp float u_${Hr}_t;\nattribute ${hr} ${ln} a_${Hr};\n#else\nuniform ${hr} ${vr} u_${Hr};\n#endif\n`:Ge===\"vec4\"?`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = a_${Hr};\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${Hr}\n ${hr} ${vr} ${Hr} = unpack_mix_${Ge}(a_${Hr}, u_${Hr}_t);\n#else\n ${hr} ${vr} ${Hr} = u_${Hr};\n#endif\n`}),staticAttributes:be,staticUniforms:ht}}class or{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(R,ne,be,Ae,Fe,ht,wt,zt,Jt){this.context=R;let hr=this.boundPaintVertexBuffers.length!==Ae.length;for(let vr=0;!hr&&vr({u_matrix:Ne,u_texture:0,u_ele_delta:R,u_fog_matrix:ne,u_fog_color:be?be.properties.get(\"fog-color\"):t.aM.white,u_fog_ground_blend:be?be.properties.get(\"fog-ground-blend\"):1,u_fog_ground_blend_opacity:be?be.calculateFogBlendOpacity(Ae):0,u_horizon_color:be?be.properties.get(\"horizon-color\"):t.aM.white,u_horizon_fog_blend:be?be.properties.get(\"horizon-fog-blend\"):1});function on(Ne){let R=[];for(let ne=0;ne({u_depth:new t.aH(sr,pr.u_depth),u_terrain:new t.aH(sr,pr.u_terrain),u_terrain_dim:new t.aI(sr,pr.u_terrain_dim),u_terrain_matrix:new t.aJ(sr,pr.u_terrain_matrix),u_terrain_unpack:new t.aK(sr,pr.u_terrain_unpack),u_terrain_exaggeration:new t.aI(sr,pr.u_terrain_exaggeration)}))(R,rr),this.binderUniforms=be?be.getUniforms(R,rr):[]}draw(R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge,$e,st,dt,St){let xt=R.gl;if(this.failedToCreate)return;if(R.program.set(this.program),R.setDepthMode(be),R.setStencilMode(Ae),R.setColorMode(Fe),R.setCullFace(ht),zt){R.activeTexture.set(xt.TEXTURE2),xt.bindTexture(xt.TEXTURE_2D,zt.depthTexture),R.activeTexture.set(xt.TEXTURE3),xt.bindTexture(xt.TEXTURE_2D,zt.texture);for(let rr in this.terrainUniforms)this.terrainUniforms[rr].set(zt[rr])}for(let rr in this.fixedUniforms)this.fixedUniforms[rr].set(wt[rr]);$e&&$e.setUniforms(R,this.binderUniforms,ln,{zoom:Ge});let It=0;switch(ne){case xt.LINES:It=2;break;case xt.TRIANGLES:It=3;break;case xt.LINE_STRIP:It=1}for(let rr of Hr.get()){let sr=rr.vaos||(rr.vaos={});(sr[Jt]||(sr[Jt]=new or)).bind(R,this,hr,$e?$e.getPaintVertexBuffers():[],vr,rr.vertexOffset,st,dt,St),xt.drawElements(ne,rr.primitiveLength*It,xt.UNSIGNED_SHORT,rr.primitiveOffset*It*2)}}}function Zn(Ne,R,ne){let be=1/Rn(ne,1,R.transform.tileZoom),Ae=Math.pow(2,ne.tileID.overscaledZ),Fe=ne.tileSize*Math.pow(2,R.transform.tileZoom)/Ae,ht=Fe*(ne.tileID.canonical.x+ne.tileID.wrap*Ae),wt=Fe*ne.tileID.canonical.y;return{u_image:0,u_texsize:ne.imageAtlasTexture.size,u_scale:[be,Ne.fromScale,Ne.toScale],u_fade:Ne.t,u_pixel_coord_upper:[ht>>16,wt>>16],u_pixel_coord_lower:[65535&ht,65535&wt]}}let Bn=(Ne,R,ne,be)=>{let Ae=R.style.light,Fe=Ae.properties.get(\"position\"),ht=[Fe.x,Fe.y,Fe.z],wt=function(){var Jt=new t.A(9);return t.A!=Float32Array&&(Jt[1]=0,Jt[2]=0,Jt[3]=0,Jt[5]=0,Jt[6]=0,Jt[7]=0),Jt[0]=1,Jt[4]=1,Jt[8]=1,Jt}();Ae.properties.get(\"anchor\")===\"viewport\"&&function(Jt,hr){var vr=Math.sin(hr),Hr=Math.cos(hr);Jt[0]=Hr,Jt[1]=vr,Jt[2]=0,Jt[3]=-vr,Jt[4]=Hr,Jt[5]=0,Jt[6]=0,Jt[7]=0,Jt[8]=1}(wt,-R.transform.angle),function(Jt,hr,vr){var Hr=hr[0],ln=hr[1],Ge=hr[2];Jt[0]=Hr*vr[0]+ln*vr[3]+Ge*vr[6],Jt[1]=Hr*vr[1]+ln*vr[4]+Ge*vr[7],Jt[2]=Hr*vr[2]+ln*vr[5]+Ge*vr[8]}(ht,ht,wt);let zt=Ae.properties.get(\"color\");return{u_matrix:Ne,u_lightpos:ht,u_lightintensity:Ae.properties.get(\"intensity\"),u_lightcolor:[zt.r,zt.g,zt.b],u_vertical_gradient:+ne,u_opacity:be}},wn=(Ne,R,ne,be,Ae,Fe,ht)=>t.e(Bn(Ne,R,ne,be),Zn(Fe,R,ht),{u_height_factor:-Math.pow(2,Ae.overscaledZ)/ht.tileSize/8}),Dn=Ne=>({u_matrix:Ne}),Ui=(Ne,R,ne,be)=>t.e(Dn(Ne),Zn(ne,R,be)),pi=(Ne,R)=>({u_matrix:Ne,u_world:R}),Ta=(Ne,R,ne,be,Ae)=>t.e(Ui(Ne,R,ne,be),{u_world:Ae}),Sa=(Ne,R,ne,be)=>{let Ae=Ne.transform,Fe,ht;if(be.paint.get(\"circle-pitch-alignment\")===\"map\"){let wt=Rn(ne,1,Ae.zoom);Fe=!0,ht=[wt,wt]}else Fe=!1,ht=Ae.pixelsToGLUnits;return{u_camera_to_center_distance:Ae.cameraToCenterDistance,u_scale_with_map:+(be.paint.get(\"circle-pitch-scale\")===\"map\"),u_matrix:Ne.translatePosMatrix(R.posMatrix,ne,be.paint.get(\"circle-translate\"),be.paint.get(\"circle-translate-anchor\")),u_pitch_with_map:+Fe,u_device_pixel_ratio:Ne.pixelRatio,u_extrude_scale:ht}},qa=(Ne,R,ne)=>({u_matrix:Ne,u_inv_matrix:R,u_camera_to_center_distance:ne.cameraToCenterDistance,u_viewport_size:[ne.width,ne.height]}),to=(Ne,R,ne=1)=>({u_matrix:Ne,u_color:R,u_overlay:0,u_overlay_scale:ne}),yo=Ne=>({u_matrix:Ne}),Xa=(Ne,R,ne,be)=>({u_matrix:Ne,u_extrude_scale:Rn(R,1,ne),u_intensity:be}),Go=(Ne,R,ne,be)=>{let Ae=t.H();t.aP(Ae,0,Ne.width,Ne.height,0,0,1);let Fe=Ne.context.gl;return{u_matrix:Ae,u_world:[Fe.drawingBufferWidth,Fe.drawingBufferHeight],u_image:ne,u_color_ramp:be,u_opacity:R.paint.get(\"heatmap-opacity\")}};function pa(Ne,R){let ne=Math.pow(2,R.canonical.z),be=R.canonical.y;return[new t.Z(0,be/ne).toLngLat().lat,new t.Z(0,(be+1)/ne).toLngLat().lat]}let cs=(Ne,R,ne,be)=>{let Ae=Ne.transform;return{u_matrix:Ka(Ne,R,ne,be),u_ratio:1/Rn(R,1,Ae.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_units_to_pixels:[1/Ae.pixelsToGLUnits[0],1/Ae.pixelsToGLUnits[1]]}},Ko=(Ne,R,ne,be,Ae)=>t.e(cs(Ne,R,ne,Ae),{u_image:0,u_image_height:be}),gs=(Ne,R,ne,be,Ae)=>{let Fe=Ne.transform,ht=zo(R,Fe);return{u_matrix:Ka(Ne,R,ne,Ae),u_texsize:R.imageAtlasTexture.size,u_ratio:1/Rn(R,1,Fe.zoom),u_device_pixel_ratio:Ne.pixelRatio,u_image:0,u_scale:[ht,be.fromScale,be.toScale],u_fade:be.t,u_units_to_pixels:[1/Fe.pixelsToGLUnits[0],1/Fe.pixelsToGLUnits[1]]}},Ya=(Ne,R,ne,be,Ae,Fe)=>{let ht=Ne.lineAtlas,wt=zo(R,Ne.transform),zt=ne.layout.get(\"line-cap\")===\"round\",Jt=ht.getDash(be.from,zt),hr=ht.getDash(be.to,zt),vr=Jt.width*Ae.fromScale,Hr=hr.width*Ae.toScale;return t.e(cs(Ne,R,ne,Fe),{u_patternscale_a:[wt/vr,-Jt.height/2],u_patternscale_b:[wt/Hr,-hr.height/2],u_sdfgamma:ht.width/(256*Math.min(vr,Hr)*Ne.pixelRatio)/2,u_image:0,u_tex_y_a:Jt.y,u_tex_y_b:hr.y,u_mix:Ae.t})};function zo(Ne,R){return 1/Rn(Ne,1,R.tileZoom)}function Ka(Ne,R,ne,be){return Ne.translatePosMatrix(be?be.posMatrix:R.tileID.posMatrix,R,ne.paint.get(\"line-translate\"),ne.paint.get(\"line-translate-anchor\"))}let Yo=(Ne,R,ne,be,Ae)=>{return{u_matrix:Ne,u_tl_parent:R,u_scale_parent:ne,u_buffer_scale:1,u_fade_t:be.mix,u_opacity:be.opacity*Ae.paint.get(\"raster-opacity\"),u_image0:0,u_image1:1,u_brightness_low:Ae.paint.get(\"raster-brightness-min\"),u_brightness_high:Ae.paint.get(\"raster-brightness-max\"),u_saturation_factor:(ht=Ae.paint.get(\"raster-saturation\"),ht>0?1-1/(1.001-ht):-ht),u_contrast_factor:(Fe=Ae.paint.get(\"raster-contrast\"),Fe>0?1/(1-Fe):1+Fe),u_spin_weights:ns(Ae.paint.get(\"raster-hue-rotate\"))};var Fe,ht};function ns(Ne){Ne*=Math.PI/180;let R=Math.sin(Ne),ne=Math.cos(Ne);return[(2*ne+1)/3,(-Math.sqrt(3)*R-ne+1)/3,(Math.sqrt(3)*R-ne+1)/3]}let hs=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>{let Ge=ht.transform;return{u_is_size_zoom_constant:+(Ne===\"constant\"||Ne===\"source\"),u_is_size_feature_constant:+(Ne===\"constant\"||Ne===\"camera\"),u_size_t:R?R.uSizeT:0,u_size:R?R.uSize:0,u_camera_to_center_distance:Ge.cameraToCenterDistance,u_pitch:Ge.pitch/360*2*Math.PI,u_rotate_symbol:+ne,u_aspect_ratio:Ge.width/Ge.height,u_fade_change:ht.options.fadeDuration?ht.symbolFadeChange:1,u_matrix:wt,u_label_plane_matrix:zt,u_coord_matrix:Jt,u_is_text:+vr,u_pitch_with_map:+be,u_is_along_line:Ae,u_is_variable_anchor:Fe,u_texsize:Hr,u_texture:0,u_translation:hr,u_pitched_scale:ln}},ho=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln,Ge)=>{let $e=ht.transform;return t.e(hs(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,Ge),{u_gamma_scale:be?Math.cos($e._pitch)*$e.cameraToCenterDistance:1,u_device_pixel_ratio:ht.pixelRatio,u_is_halo:+ln})},Ro=(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,vr,Hr,ln)=>t.e(ho(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt,hr,!0,vr,!0,ln),{u_texsize_icon:Hr,u_texture_icon:1}),Ls=(Ne,R,ne)=>({u_matrix:Ne,u_opacity:R,u_color:ne}),Vs=(Ne,R,ne,be,Ae,Fe)=>t.e(function(ht,wt,zt,Jt){let hr=zt.imageManager.getPattern(ht.from.toString()),vr=zt.imageManager.getPattern(ht.to.toString()),{width:Hr,height:ln}=zt.imageManager.getPixelSize(),Ge=Math.pow(2,Jt.tileID.overscaledZ),$e=Jt.tileSize*Math.pow(2,zt.transform.tileZoom)/Ge,st=$e*(Jt.tileID.canonical.x+Jt.tileID.wrap*Ge),dt=$e*Jt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:hr.tl,u_pattern_br_a:hr.br,u_pattern_tl_b:vr.tl,u_pattern_br_b:vr.br,u_texsize:[Hr,ln],u_mix:wt.t,u_pattern_size_a:hr.displaySize,u_pattern_size_b:vr.displaySize,u_scale_a:wt.fromScale,u_scale_b:wt.toScale,u_tile_units_to_pixels:1/Rn(Jt,1,zt.transform.tileZoom),u_pixel_coord_upper:[st>>16,dt>>16],u_pixel_coord_lower:[65535&st,65535&dt]}}(be,Fe,ne,Ae),{u_matrix:Ne,u_opacity:R}),Ws={fillExtrusion:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_opacity:new t.aI(Ne,R.u_opacity)}),fillExtrusionPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_lightpos:new t.aN(Ne,R.u_lightpos),u_lightintensity:new t.aI(Ne,R.u_lightintensity),u_lightcolor:new t.aN(Ne,R.u_lightcolor),u_vertical_gradient:new t.aI(Ne,R.u_vertical_gradient),u_height_factor:new t.aI(Ne,R.u_height_factor),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade),u_opacity:new t.aI(Ne,R.u_opacity)}),fill:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),fillPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),fillOutline:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world)}),fillOutlinePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_texsize:new t.aO(Ne,R.u_texsize),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),circle:(Ne,R)=>({u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_scale_with_map:new t.aH(Ne,R.u_scale_with_map),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_extrude_scale:new t.aO(Ne,R.u_extrude_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_matrix:new t.aJ(Ne,R.u_matrix)}),collisionBox:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_pixel_extrude_scale:new t.aO(Ne,R.u_pixel_extrude_scale)}),collisionCircle:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_inv_matrix:new t.aJ(Ne,R.u_inv_matrix),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_viewport_size:new t.aO(Ne,R.u_viewport_size)}),debug:(Ne,R)=>({u_color:new t.aL(Ne,R.u_color),u_matrix:new t.aJ(Ne,R.u_matrix),u_overlay:new t.aH(Ne,R.u_overlay),u_overlay_scale:new t.aI(Ne,R.u_overlay_scale)}),clippingMask:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmap:(Ne,R)=>({u_extrude_scale:new t.aI(Ne,R.u_extrude_scale),u_intensity:new t.aI(Ne,R.u_intensity),u_matrix:new t.aJ(Ne,R.u_matrix)}),heatmapTexture:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_world:new t.aO(Ne,R.u_world),u_image:new t.aH(Ne,R.u_image),u_color_ramp:new t.aH(Ne,R.u_color_ramp),u_opacity:new t.aI(Ne,R.u_opacity)}),hillshade:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_latrange:new t.aO(Ne,R.u_latrange),u_light:new t.aO(Ne,R.u_light),u_shadow:new t.aL(Ne,R.u_shadow),u_highlight:new t.aL(Ne,R.u_highlight),u_accent:new t.aL(Ne,R.u_accent)}),hillshadePrepare:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_image:new t.aH(Ne,R.u_image),u_dimension:new t.aO(Ne,R.u_dimension),u_zoom:new t.aI(Ne,R.u_zoom),u_unpack:new t.aK(Ne,R.u_unpack)}),line:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels)}),lineGradient:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_image:new t.aH(Ne,R.u_image),u_image_height:new t.aI(Ne,R.u_image_height)}),linePattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texsize:new t.aO(Ne,R.u_texsize),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_image:new t.aH(Ne,R.u_image),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_scale:new t.aN(Ne,R.u_scale),u_fade:new t.aI(Ne,R.u_fade)}),lineSDF:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ratio:new t.aI(Ne,R.u_ratio),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_units_to_pixels:new t.aO(Ne,R.u_units_to_pixels),u_patternscale_a:new t.aO(Ne,R.u_patternscale_a),u_patternscale_b:new t.aO(Ne,R.u_patternscale_b),u_sdfgamma:new t.aI(Ne,R.u_sdfgamma),u_image:new t.aH(Ne,R.u_image),u_tex_y_a:new t.aI(Ne,R.u_tex_y_a),u_tex_y_b:new t.aI(Ne,R.u_tex_y_b),u_mix:new t.aI(Ne,R.u_mix)}),raster:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_tl_parent:new t.aO(Ne,R.u_tl_parent),u_scale_parent:new t.aI(Ne,R.u_scale_parent),u_buffer_scale:new t.aI(Ne,R.u_buffer_scale),u_fade_t:new t.aI(Ne,R.u_fade_t),u_opacity:new t.aI(Ne,R.u_opacity),u_image0:new t.aH(Ne,R.u_image0),u_image1:new t.aH(Ne,R.u_image1),u_brightness_low:new t.aI(Ne,R.u_brightness_low),u_brightness_high:new t.aI(Ne,R.u_brightness_high),u_saturation_factor:new t.aI(Ne,R.u_saturation_factor),u_contrast_factor:new t.aI(Ne,R.u_contrast_factor),u_spin_weights:new t.aN(Ne,R.u_spin_weights)}),symbolIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolSDF:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texture:new t.aH(Ne,R.u_texture),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),symbolTextAndIcon:(Ne,R)=>({u_is_size_zoom_constant:new t.aH(Ne,R.u_is_size_zoom_constant),u_is_size_feature_constant:new t.aH(Ne,R.u_is_size_feature_constant),u_size_t:new t.aI(Ne,R.u_size_t),u_size:new t.aI(Ne,R.u_size),u_camera_to_center_distance:new t.aI(Ne,R.u_camera_to_center_distance),u_pitch:new t.aI(Ne,R.u_pitch),u_rotate_symbol:new t.aH(Ne,R.u_rotate_symbol),u_aspect_ratio:new t.aI(Ne,R.u_aspect_ratio),u_fade_change:new t.aI(Ne,R.u_fade_change),u_matrix:new t.aJ(Ne,R.u_matrix),u_label_plane_matrix:new t.aJ(Ne,R.u_label_plane_matrix),u_coord_matrix:new t.aJ(Ne,R.u_coord_matrix),u_is_text:new t.aH(Ne,R.u_is_text),u_pitch_with_map:new t.aH(Ne,R.u_pitch_with_map),u_is_along_line:new t.aH(Ne,R.u_is_along_line),u_is_variable_anchor:new t.aH(Ne,R.u_is_variable_anchor),u_texsize:new t.aO(Ne,R.u_texsize),u_texsize_icon:new t.aO(Ne,R.u_texsize_icon),u_texture:new t.aH(Ne,R.u_texture),u_texture_icon:new t.aH(Ne,R.u_texture_icon),u_gamma_scale:new t.aI(Ne,R.u_gamma_scale),u_device_pixel_ratio:new t.aI(Ne,R.u_device_pixel_ratio),u_is_halo:new t.aH(Ne,R.u_is_halo),u_translation:new t.aO(Ne,R.u_translation),u_pitched_scale:new t.aI(Ne,R.u_pitched_scale)}),background:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_color:new t.aL(Ne,R.u_color)}),backgroundPattern:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_opacity:new t.aI(Ne,R.u_opacity),u_image:new t.aH(Ne,R.u_image),u_pattern_tl_a:new t.aO(Ne,R.u_pattern_tl_a),u_pattern_br_a:new t.aO(Ne,R.u_pattern_br_a),u_pattern_tl_b:new t.aO(Ne,R.u_pattern_tl_b),u_pattern_br_b:new t.aO(Ne,R.u_pattern_br_b),u_texsize:new t.aO(Ne,R.u_texsize),u_mix:new t.aI(Ne,R.u_mix),u_pattern_size_a:new t.aO(Ne,R.u_pattern_size_a),u_pattern_size_b:new t.aO(Ne,R.u_pattern_size_b),u_scale_a:new t.aI(Ne,R.u_scale_a),u_scale_b:new t.aI(Ne,R.u_scale_b),u_pixel_coord_upper:new t.aO(Ne,R.u_pixel_coord_upper),u_pixel_coord_lower:new t.aO(Ne,R.u_pixel_coord_lower),u_tile_units_to_pixels:new t.aI(Ne,R.u_tile_units_to_pixels)}),terrain:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_ele_delta:new t.aI(Ne,R.u_ele_delta),u_fog_matrix:new t.aJ(Ne,R.u_fog_matrix),u_fog_color:new t.aL(Ne,R.u_fog_color),u_fog_ground_blend:new t.aI(Ne,R.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.aI(Ne,R.u_fog_ground_blend_opacity),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon_fog_blend:new t.aI(Ne,R.u_horizon_fog_blend)}),terrainDepth:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),terrainCoords:(Ne,R)=>({u_matrix:new t.aJ(Ne,R.u_matrix),u_texture:new t.aH(Ne,R.u_texture),u_terrain_coords_id:new t.aI(Ne,R.u_terrain_coords_id),u_ele_delta:new t.aI(Ne,R.u_ele_delta)}),sky:(Ne,R)=>({u_sky_color:new t.aL(Ne,R.u_sky_color),u_horizon_color:new t.aL(Ne,R.u_horizon_color),u_horizon:new t.aI(Ne,R.u_horizon),u_sky_horizon_blend:new t.aI(Ne,R.u_sky_horizon_blend)})};class fs{constructor(R,ne,be){this.context=R;let Ae=R.gl;this.buffer=Ae.createBuffer(),this.dynamicDraw=!!be,this.context.unbindVAO(),R.bindElementBuffer.set(this.buffer),Ae.bufferData(Ae.ELEMENT_ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Ae.DYNAMIC_DRAW:Ae.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(R){let ne=this.context.gl;if(!this.dynamicDraw)throw new Error(\"Attempted to update data while not in dynamic mode.\");this.context.unbindVAO(),this.bind(),ne.bufferSubData(ne.ELEMENT_ARRAY_BUFFER,0,R.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}let Mi={Int8:\"BYTE\",Uint8:\"UNSIGNED_BYTE\",Int16:\"SHORT\",Uint16:\"UNSIGNED_SHORT\",Int32:\"INT\",Uint32:\"UNSIGNED_INT\",Float32:\"FLOAT\"};class Da{constructor(R,ne,be,Ae){this.length=ne.length,this.attributes=be,this.itemSize=ne.bytesPerElement,this.dynamicDraw=Ae,this.context=R;let Fe=R.gl;this.buffer=Fe.createBuffer(),R.bindVertexBuffer.set(this.buffer),Fe.bufferData(Fe.ARRAY_BUFFER,ne.arrayBuffer,this.dynamicDraw?Fe.DYNAMIC_DRAW:Fe.STATIC_DRAW),this.dynamicDraw||delete ne.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(R){if(R.length!==this.length)throw new Error(`Length of new data is ${R.length}, which doesn't match current length of ${this.length}`);let ne=this.context.gl;this.bind(),ne.bufferSubData(ne.ARRAY_BUFFER,0,R.arrayBuffer)}enableAttributes(R,ne){for(let be=0;be0){let sr=t.H();t.aQ(sr,xt.placementInvProjMatrix,Ne.transform.glCoordMatrix),t.aQ(sr,sr,xt.placementViewportMatrix),zt.push({circleArray:rr,circleOffset:hr,transform:St.posMatrix,invTransform:sr,coord:St}),Jt+=rr.length/4,hr=Jt}It&&wt.draw(Fe,ht.LINES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,{u_matrix:St.posMatrix,u_pixel_extrude_scale:[1/(vr=Ne.transform).width,1/vr.height]},Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St),ne.id,It.layoutVertexBuffer,It.indexBuffer,It.segments,null,Ne.transform.zoom,null,null,It.collisionVertexBuffer)}var vr;if(!Ae||!zt.length)return;let Hr=Ne.useProgram(\"collisionCircle\"),ln=new t.aR;ln.resize(4*Jt),ln._trim();let Ge=0;for(let dt of zt)for(let St=0;St=0&&(dt[xt.associatedIconIndex]={shiftedAnchor:ya,angle:ro})}else Xt(xt.numGlyphs,$e)}if(Jt){st.clear();let St=Ne.icon.placedSymbolArray;for(let xt=0;xtNe.style.map.terrain.getElevation(Mn,Dt,lr):null,Qt=ne.layout.get(\"text-rotation-alignment\")===\"map\";je(li,Mn.posMatrix,Ne,Ae,eu,mu,dt,Jt,Qt,$e,Mn.toUnwrapped(),Ge.width,Ge.height,El,Tt)}let Zl=Mn.posMatrix,Yl=Ae&&kr||Tc,de=St||Yl?pu:eu,Re=Xu,Qe=Zi&&ne.paint.get(Ae?\"text-halo-width\":\"icon-halo-width\").constantOr(1)!==0,vt;vt=Zi?li.iconsInText?Ro(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Fo,al,_n):ho(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,!0,_n):hs(ya.kind,Io,xt,dt,St,Yl,Ne,Zl,de,Re,El,Ae,Fo,_n);let mt={program:Va,buffers:ki,uniformValues:vt,atlasTexture:ts,atlasTextureIcon:os,atlasInterpolation:bs,atlasInterpolationIcon:fl,isSDF:Zi,hasHalo:Qe};if(rr&&li.canOverlap){sr=!0;let Tt=ki.segments.get();for(let Qt of Tt)Yr.push({segments:new t.a0([Qt]),sortKey:Qt.sortKey,state:mt,terrainData:vs})}else Yr.push({segments:ki.segments,sortKey:0,state:mt,terrainData:vs})}sr&&Yr.sort((Mn,Un)=>Mn.sortKey-Un.sortKey);for(let Mn of Yr){let Un=Mn.state;if(Hr.activeTexture.set(ln.TEXTURE0),Un.atlasTexture.bind(Un.atlasInterpolation,ln.CLAMP_TO_EDGE),Un.atlasTextureIcon&&(Hr.activeTexture.set(ln.TEXTURE1),Un.atlasTextureIcon&&Un.atlasTextureIcon.bind(Un.atlasInterpolationIcon,ln.CLAMP_TO_EDGE)),Un.isSDF){let li=Un.uniformValues;Un.hasHalo&&(li.u_is_halo=1,zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,li,Mn.terrainData)),li.u_is_halo=0}zf(Un.buffers,Mn.segments,ne,Ne,Un.program,pr,hr,vr,Un.uniformValues,Mn.terrainData)}}function zf(Ne,R,ne,be,Ae,Fe,ht,wt,zt,Jt){let hr=be.context;Ae.draw(hr,hr.gl.TRIANGLES,Fe,ht,wt,Vo.disabled,zt,Jt,ne.id,Ne.layoutVertexBuffer,Ne.indexBuffer,R,ne.paint,be.transform.zoom,Ne.programConfigurations.get(ne.id),Ne.dynamicLayoutVertexBuffer,Ne.opacityVertexBuffer)}function wf(Ne,R,ne,be){let Ae=Ne.context,Fe=Ae.gl,ht=Bs.disabled,wt=new ll([Fe.ONE,Fe.ONE],t.aM.transparent,[!0,!0,!0,!0]),zt=R.getBucket(ne);if(!zt)return;let Jt=be.key,hr=ne.heatmapFbos.get(Jt);hr||(hr=Ff(Ae,R.tileSize,R.tileSize),ne.heatmapFbos.set(Jt,hr)),Ae.bindFramebuffer.set(hr.framebuffer),Ae.viewport.set([0,0,R.tileSize,R.tileSize]),Ae.clear({color:t.aM.transparent});let vr=zt.programConfigurations.get(ne.id),Hr=Ne.useProgram(\"heatmap\",vr),ln=Ne.style.map.terrain.getTerrainData(be);Hr.draw(Ae,Fe.TRIANGLES,ds.disabled,ht,wt,Vo.disabled,Xa(be.posMatrix,R,Ne.transform.zoom,ne.paint.get(\"heatmap-intensity\")),ln,ne.id,zt.layoutVertexBuffer,zt.indexBuffer,zt.segments,ne.paint,Ne.transform.zoom,vr)}function Gc(Ne,R,ne){let be=Ne.context,Ae=be.gl;be.setColorMode(Ne.colorModeForRenderPass());let Fe=$f(be,R),ht=ne.key,wt=R.heatmapFbos.get(ht);wt&&(be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,wt.colorAttachment.get()),be.activeTexture.set(Ae.TEXTURE1),Fe.bind(Ae.LINEAR,Ae.CLAMP_TO_EDGE),Ne.useProgram(\"heatmapTexture\").draw(be,Ae.TRIANGLES,ds.disabled,Bs.disabled,Ne.colorModeForRenderPass(),Vo.disabled,Go(Ne,R,0,1),null,R.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments,R.paint,Ne.transform.zoom),wt.destroy(),R.heatmapFbos.delete(ht))}function Ff(Ne,R,ne){var be,Ae;let Fe=Ne.gl,ht=Fe.createTexture();Fe.bindTexture(Fe.TEXTURE_2D,ht),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_S,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_WRAP_T,Fe.CLAMP_TO_EDGE),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MIN_FILTER,Fe.LINEAR),Fe.texParameteri(Fe.TEXTURE_2D,Fe.TEXTURE_MAG_FILTER,Fe.LINEAR);let wt=(be=Ne.HALF_FLOAT)!==null&&be!==void 0?be:Fe.UNSIGNED_BYTE,zt=(Ae=Ne.RGBA16F)!==null&&Ae!==void 0?Ae:Fe.RGBA;Fe.texImage2D(Fe.TEXTURE_2D,0,zt,R,ne,0,Fe.RGBA,wt,null);let Jt=Ne.createFramebuffer(R,ne,!1,!1);return Jt.colorAttachment.set(ht),Jt}function $f(Ne,R){return R.colorRampTexture||(R.colorRampTexture=new u(Ne,R.colorRamp,Ne.gl.RGBA)),R.colorRampTexture}function ec(Ne,R,ne,be,Ae){if(!ne||!be||!be.imageAtlas)return;let Fe=be.imageAtlas.patternPositions,ht=Fe[ne.to.toString()],wt=Fe[ne.from.toString()];if(!ht&&wt&&(ht=wt),!wt&&ht&&(wt=ht),!ht||!wt){let zt=Ae.getPaintProperty(R);ht=Fe[zt],wt=Fe[zt]}ht&&wt&&Ne.setConstantPatternPositions(ht,wt)}function Tf(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context.gl,zt=\"fill-pattern\",Jt=ne.paint.get(zt),hr=Jt&&Jt.constantOr(1),vr=ne.getCrossfadeParameters(),Hr,ln,Ge,$e,st;ht?(ln=hr&&!ne.getPaintProperty(\"fill-outline-color\")?\"fillOutlinePattern\":\"fillOutline\",Hr=wt.LINES):(ln=hr?\"fillPattern\":\"fill\",Hr=wt.TRIANGLES);let dt=Jt.constantOr(null);for(let St of be){let xt=R.getTile(St);if(hr&&!xt.patternsLoaded())continue;let It=xt.getBucket(ne);if(!It)continue;let rr=It.programConfigurations.get(ne.id),sr=Ne.useProgram(ln,rr),pr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(St);hr&&(Ne.context.activeTexture.set(wt.TEXTURE0),xt.imageAtlasTexture.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),rr.updatePaintBuffers(vr)),ec(rr,zt,dt,xt,ne);let kr=pr?St:null,Yr=Ne.translatePosMatrix(kr?kr.posMatrix:St.posMatrix,xt,ne.paint.get(\"fill-translate\"),ne.paint.get(\"fill-translate-anchor\"));if(ht){$e=It.indexBuffer2,st=It.segments2;let _n=[wt.drawingBufferWidth,wt.drawingBufferHeight];Ge=ln===\"fillOutlinePattern\"&&hr?Ta(Yr,Ne,vr,xt,_n):pi(Yr,_n)}else $e=It.indexBuffer,st=It.segments,Ge=hr?Ui(Yr,Ne,vr,xt):Dn(Yr);sr.draw(Ne.context,Hr,Ae,Ne.stencilModeForClipping(St),Fe,Vo.disabled,Ge,pr,ne.id,It.layoutVertexBuffer,$e,st,ne.paint,Ne.transform.zoom,rr)}}function Pc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=\"fill-extrusion-pattern\",hr=ne.paint.get(Jt),vr=hr.constantOr(1),Hr=ne.getCrossfadeParameters(),ln=ne.paint.get(\"fill-extrusion-opacity\"),Ge=hr.constantOr(null);for(let $e of be){let st=R.getTile($e),dt=st.getBucket(ne);if(!dt)continue;let St=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData($e),xt=dt.programConfigurations.get(ne.id),It=Ne.useProgram(vr?\"fillExtrusionPattern\":\"fillExtrusion\",xt);vr&&(Ne.context.activeTexture.set(zt.TEXTURE0),st.imageAtlasTexture.bind(zt.LINEAR,zt.CLAMP_TO_EDGE),xt.updatePaintBuffers(Hr)),ec(xt,Jt,Ge,st,ne);let rr=Ne.translatePosMatrix($e.posMatrix,st,ne.paint.get(\"fill-extrusion-translate\"),ne.paint.get(\"fill-extrusion-translate-anchor\")),sr=ne.paint.get(\"fill-extrusion-vertical-gradient\"),pr=vr?wn(rr,Ne,sr,ln,$e,Hr,st):Bn(rr,Ne,sr,ln);It.draw(wt,wt.gl.TRIANGLES,Ae,Fe,ht,Vo.backCCW,pr,St,ne.id,dt.layoutVertexBuffer,dt.indexBuffer,dt.segments,ne.paint,Ne.transform.zoom,xt,Ne.style.map.terrain&&dt.centroidVertexBuffer)}}function Wc(Ne,R,ne,be,Ae,Fe,ht){let wt=Ne.context,zt=wt.gl,Jt=ne.fbo;if(!Jt)return;let hr=Ne.useProgram(\"hillshade\"),vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(R);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Jt.colorAttachment.get()),hr.draw(wt,zt.TRIANGLES,Ae,Fe,ht,Vo.disabled,((Hr,ln,Ge,$e)=>{let st=Ge.paint.get(\"hillshade-shadow-color\"),dt=Ge.paint.get(\"hillshade-highlight-color\"),St=Ge.paint.get(\"hillshade-accent-color\"),xt=Ge.paint.get(\"hillshade-illumination-direction\")*(Math.PI/180);Ge.paint.get(\"hillshade-illumination-anchor\")===\"viewport\"&&(xt-=Hr.transform.angle);let It=!Hr.options.moving;return{u_matrix:$e?$e.posMatrix:Hr.transform.calculatePosMatrix(ln.tileID.toUnwrapped(),It),u_image:0,u_latrange:pa(0,ln.tileID),u_light:[Ge.paint.get(\"hillshade-exaggeration\"),xt],u_shadow:st,u_highlight:dt,u_accent:St}})(Ne,ne,be,vr?R:null),vr,be.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments)}function Pu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl,zt=R.dem;if(zt&&zt.data){let Jt=zt.dim,hr=zt.stride,vr=zt.getPixels();if(ht.activeTexture.set(wt.TEXTURE1),ht.pixelStoreUnpackPremultiplyAlpha.set(!1),R.demTexture=R.demTexture||Ne.getTileTexture(hr),R.demTexture){let ln=R.demTexture;ln.update(vr,{premultiply:!1}),ln.bind(wt.NEAREST,wt.CLAMP_TO_EDGE)}else R.demTexture=new u(ht,vr,wt.RGBA,{premultiply:!1}),R.demTexture.bind(wt.NEAREST,wt.CLAMP_TO_EDGE);ht.activeTexture.set(wt.TEXTURE0);let Hr=R.fbo;if(!Hr){let ln=new u(ht,{width:Jt,height:Jt,data:null},wt.RGBA);ln.bind(wt.LINEAR,wt.CLAMP_TO_EDGE),Hr=R.fbo=ht.createFramebuffer(Jt,Jt,!0,!1),Hr.colorAttachment.set(ln.texture)}ht.bindFramebuffer.set(Hr.framebuffer),ht.viewport.set([0,0,Jt,Jt]),Ne.useProgram(\"hillshadePrepare\").draw(ht,wt.TRIANGLES,be,Ae,Fe,Vo.disabled,((ln,Ge)=>{let $e=Ge.stride,st=t.H();return t.aP(st,0,t.X,-t.X,0,0,1),t.J(st,st,[0,-t.X,0]),{u_matrix:st,u_image:1,u_dimension:[$e,$e],u_zoom:ln.overscaledZ,u_unpack:Ge.getUnpackVector()}})(R.tileID,zt),null,ne.id,Ne.rasterBoundsBuffer,Ne.quadTriangleIndexBuffer,Ne.rasterBoundsSegments),R.needsHillshadePrepare=!1}}function cf(Ne,R,ne,be,Ae,Fe){let ht=be.paint.get(\"raster-fade-duration\");if(!Fe&&ht>0){let wt=i.now(),zt=(wt-Ne.timeAdded)/ht,Jt=R?(wt-R.timeAdded)/ht:-1,hr=ne.getSource(),vr=Ae.coveringZoomLevel({tileSize:hr.tileSize,roundZoom:hr.roundZoom}),Hr=!R||Math.abs(R.tileID.overscaledZ-vr)>Math.abs(Ne.tileID.overscaledZ-vr),ln=Hr&&Ne.refreshedUponExpiration?1:t.ac(Hr?zt:1-Jt,0,1);return Ne.refreshedUponExpiration&&zt>=1&&(Ne.refreshedUponExpiration=!1),R?{opacity:1,mix:1-ln}:{opacity:ln,mix:0}}return{opacity:1,mix:0}}let Ic=new t.aM(1,0,0,1),Ks=new t.aM(0,1,0,1),Of=new t.aM(0,0,1,1),Eh=new t.aM(1,0,1,1),Qf=new t.aM(0,1,1,1);function af(Ne,R,ne,be){Iu(Ne,0,R+ne/2,Ne.transform.width,ne,be)}function lh(Ne,R,ne,be){Iu(Ne,R-ne/2,0,ne,Ne.transform.height,be)}function Iu(Ne,R,ne,be,Ae,Fe){let ht=Ne.context,wt=ht.gl;wt.enable(wt.SCISSOR_TEST),wt.scissor(R*Ne.pixelRatio,ne*Ne.pixelRatio,be*Ne.pixelRatio,Ae*Ne.pixelRatio),ht.clear({color:Fe}),wt.disable(wt.SCISSOR_TEST)}function eh(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=ne.posMatrix,ht=Ne.useProgram(\"debug\"),wt=ds.disabled,zt=Bs.disabled,Jt=Ne.colorModeForRenderPass(),hr=\"$debug\",vr=Ne.style.map.terrain&&Ne.style.map.terrain.getTerrainData(ne);be.activeTexture.set(Ae.TEXTURE0);let Hr=R.getTileByID(ne.key).latestRawTileData,ln=Math.floor((Hr&&Hr.byteLength||0)/1024),Ge=R.getTile(ne).tileSize,$e=512/Math.min(Ge,512)*(ne.overscaledZ/Ne.transform.zoom)*.5,st=ne.canonical.toString();ne.overscaledZ!==ne.canonical.z&&(st+=` => ${ne.overscaledZ}`),function(dt,St){dt.initDebugOverlayCanvas();let xt=dt.debugOverlayCanvas,It=dt.context.gl,rr=dt.debugOverlayCanvas.getContext(\"2d\");rr.clearRect(0,0,xt.width,xt.height),rr.shadowColor=\"white\",rr.shadowBlur=2,rr.lineWidth=1.5,rr.strokeStyle=\"white\",rr.textBaseline=\"top\",rr.font=\"bold 36px Open Sans, sans-serif\",rr.fillText(St,5,5),rr.strokeText(St,5,5),dt.debugOverlayTexture.update(xt),dt.debugOverlayTexture.bind(It.LINEAR,It.CLAMP_TO_EDGE)}(Ne,`${st} ${ln}kB`),ht.draw(be,Ae.TRIANGLES,wt,zt,ll.alphaBlended,Vo.disabled,to(Fe,t.aM.transparent,$e),null,hr,Ne.debugBuffer,Ne.quadTriangleIndexBuffer,Ne.debugSegments),ht.draw(be,Ae.LINE_STRIP,wt,zt,Jt,Vo.disabled,to(Fe,t.aM.red),vr,hr,Ne.debugBuffer,Ne.tileBorderIndexBuffer,Ne.debugSegments)}function su(Ne,R,ne){let be=Ne.context,Ae=be.gl,Fe=Ne.colorModeForRenderPass(),ht=new ds(Ae.LEQUAL,ds.ReadWrite,Ne.depthRangeFor3D),wt=Ne.useProgram(\"terrain\"),zt=R.getTerrainMesh();be.bindFramebuffer.set(null),be.viewport.set([0,0,Ne.width,Ne.height]);for(let Jt of ne){let hr=Ne.renderToTexture.getTexture(Jt),vr=R.getTerrainData(Jt.tileID);be.activeTexture.set(Ae.TEXTURE0),Ae.bindTexture(Ae.TEXTURE_2D,hr.texture);let Hr=Ne.transform.calculatePosMatrix(Jt.tileID.toUnwrapped()),ln=R.getMeshFrameDelta(Ne.transform.zoom),Ge=Ne.transform.calculateFogMatrix(Jt.tileID.toUnwrapped()),$e=yr(Hr,ln,Ge,Ne.style.sky,Ne.transform.pitch);wt.draw(be,Ae.TRIANGLES,ht,Bs.disabled,Fe,Vo.backCCW,$e,vr,\"terrain\",zt.vertexBuffer,zt.indexBuffer,zt.segments)}}class Ru{constructor(R,ne,be){this.vertexBuffer=R,this.indexBuffer=ne,this.segments=be}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}class yc{constructor(R,ne){this.context=new Nh(R),this.transform=ne,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:t.an(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Et.maxUnderzooming+Et.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Lr}resize(R,ne,be){if(this.width=Math.floor(R*be),this.height=Math.floor(ne*be),this.pixelRatio=be,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(let Ae of this.style._order)this.style._layers[Ae].resize()}setup(){let R=this.context,ne=new t.aX;ne.emplaceBack(0,0),ne.emplaceBack(t.X,0),ne.emplaceBack(0,t.X),ne.emplaceBack(t.X,t.X),this.tileExtentBuffer=R.createVertexBuffer(ne,vn.members),this.tileExtentSegments=t.a0.simpleSegment(0,0,4,2);let be=new t.aX;be.emplaceBack(0,0),be.emplaceBack(t.X,0),be.emplaceBack(0,t.X),be.emplaceBack(t.X,t.X),this.debugBuffer=R.createVertexBuffer(be,vn.members),this.debugSegments=t.a0.simpleSegment(0,0,4,5);let Ae=new t.$;Ae.emplaceBack(0,0,0,0),Ae.emplaceBack(t.X,0,t.X,0),Ae.emplaceBack(0,t.X,0,t.X),Ae.emplaceBack(t.X,t.X,t.X,t.X),this.rasterBoundsBuffer=R.createVertexBuffer(Ae,Ye.members),this.rasterBoundsSegments=t.a0.simpleSegment(0,0,4,2);let Fe=new t.aX;Fe.emplaceBack(0,0),Fe.emplaceBack(1,0),Fe.emplaceBack(0,1),Fe.emplaceBack(1,1),this.viewportBuffer=R.createVertexBuffer(Fe,vn.members),this.viewportSegments=t.a0.simpleSegment(0,0,4,2);let ht=new t.aZ;ht.emplaceBack(0),ht.emplaceBack(1),ht.emplaceBack(3),ht.emplaceBack(2),ht.emplaceBack(0),this.tileBorderIndexBuffer=R.createIndexBuffer(ht);let wt=new t.aY;wt.emplaceBack(0,1,2),wt.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=R.createIndexBuffer(wt);let zt=this.context.gl;this.stencilClearMode=new Bs({func:zt.ALWAYS,mask:0},0,255,zt.ZERO,zt.ZERO,zt.ZERO)}clearStencil(){let R=this.context,ne=R.gl;this.nextStencilID=1,this.currentStencilSource=void 0;let be=t.H();t.aP(be,0,this.width,this.height,0,0,1),t.K(be,be,[ne.drawingBufferWidth,ne.drawingBufferHeight,0]),this.useProgram(\"clippingMask\").draw(R,ne.TRIANGLES,ds.disabled,this.stencilClearMode,ll.disabled,Vo.disabled,yo(be),null,\"$clipping\",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(R,ne){if(this.currentStencilSource===R.source||!R.isTileClipped()||!ne||!ne.length)return;this.currentStencilSource=R.source;let be=this.context,Ae=be.gl;this.nextStencilID+ne.length>256&&this.clearStencil(),be.setColorMode(ll.disabled),be.setDepthMode(ds.disabled);let Fe=this.useProgram(\"clippingMask\");this._tileClippingMaskIDs={};for(let ht of ne){let wt=this._tileClippingMaskIDs[ht.key]=this.nextStencilID++,zt=this.style.map.terrain&&this.style.map.terrain.getTerrainData(ht);Fe.draw(be,Ae.TRIANGLES,ds.disabled,new Bs({func:Ae.ALWAYS,mask:0},wt,255,Ae.KEEP,Ae.KEEP,Ae.REPLACE),ll.disabled,Vo.disabled,yo(ht.posMatrix),zt,\"$clipping\",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();let R=this.nextStencilID++,ne=this.context.gl;return new Bs({func:ne.NOTEQUAL,mask:255},R,255,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilModeForClipping(R){let ne=this.context.gl;return new Bs({func:ne.EQUAL,mask:255},this._tileClippingMaskIDs[R.key],0,ne.KEEP,ne.KEEP,ne.REPLACE)}stencilConfigForOverlap(R){let ne=this.context.gl,be=R.sort((ht,wt)=>wt.overscaledZ-ht.overscaledZ),Ae=be[be.length-1].overscaledZ,Fe=be[0].overscaledZ-Ae+1;if(Fe>1){this.currentStencilSource=void 0,this.nextStencilID+Fe>256&&this.clearStencil();let ht={};for(let wt=0;wt({u_sky_color:dt.properties.get(\"sky-color\"),u_horizon_color:dt.properties.get(\"horizon-color\"),u_horizon:(St.height/2+St.getHorizon())*xt,u_sky_horizon_blend:dt.properties.get(\"sky-horizon-blend\")*St.height/2*xt}))(Jt,zt.style.map.transform,zt.pixelRatio),ln=new ds(vr.LEQUAL,ds.ReadWrite,[0,1]),Ge=Bs.disabled,$e=zt.colorModeForRenderPass(),st=zt.useProgram(\"sky\");if(!Jt.mesh){let dt=new t.aX;dt.emplaceBack(-1,-1),dt.emplaceBack(1,-1),dt.emplaceBack(1,1),dt.emplaceBack(-1,1);let St=new t.aY;St.emplaceBack(0,1,2),St.emplaceBack(0,2,3),Jt.mesh=new Ru(hr.createVertexBuffer(dt,vn.members),hr.createIndexBuffer(St),t.a0.simpleSegment(0,0,dt.length,St.length))}st.draw(hr,vr.TRIANGLES,ln,Ge,$e,Vo.disabled,Hr,void 0,\"sky\",Jt.mesh.vertexBuffer,Jt.mesh.indexBuffer,Jt.mesh.segments)}(this,this.style.sky),this._showOverdrawInspector=ne.showOverdrawInspector,this.depthRangeFor3D=[0,1-(R._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass=\"opaque\",this.currentLayer=be.length-1;this.currentLayer>=0;this.currentLayer--){let zt=this.style._layers[be[this.currentLayer]],Jt=Ae[zt.source],hr=Fe[zt.source];this._renderTileClippingMasks(zt,hr),this.renderLayer(this,Jt,zt,hr)}for(this.renderPass=\"translucent\",this.currentLayer=0;this.currentLayerst.source&&!st.isHidden(hr)?[Jt.sourceCaches[st.source]]:[]),ln=Hr.filter(st=>st.getSource().type===\"vector\"),Ge=Hr.filter(st=>st.getSource().type!==\"vector\"),$e=st=>{(!vr||vr.getSource().maxzoom$e(st)),vr||Ge.forEach(st=>$e(st)),vr}(this.style,this.transform.zoom);zt&&function(Jt,hr,vr){for(let Hr=0;Hr0),Ae&&(t.b0(ne,be),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.sourceCache.getRenderableTiles(),ln=Fe.useProgram(\"terrainDepth\");wt.bindFramebuffer.set(ht.getFramebuffer(\"depth\").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1});for(let Ge of Hr){let $e=ht.getTerrainData(Ge.tileID),st={u_matrix:Fe.transform.calculatePosMatrix(Ge.tileID.toUnwrapped()),u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};ln.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,st,$e,\"terrain\",vr.vertexBuffer,vr.indexBuffer,vr.segments)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain),function(Fe,ht){let wt=Fe.context,zt=wt.gl,Jt=ll.unblended,hr=new ds(zt.LEQUAL,ds.ReadWrite,[0,1]),vr=ht.getTerrainMesh(),Hr=ht.getCoordsTexture(),ln=ht.sourceCache.getRenderableTiles(),Ge=Fe.useProgram(\"terrainCoords\");wt.bindFramebuffer.set(ht.getFramebuffer(\"coords\").framebuffer),wt.viewport.set([0,0,Fe.width/devicePixelRatio,Fe.height/devicePixelRatio]),wt.clear({color:t.aM.transparent,depth:1}),ht.coordsIndex=[];for(let $e of ln){let st=ht.getTerrainData($e.tileID);wt.activeTexture.set(zt.TEXTURE0),zt.bindTexture(zt.TEXTURE_2D,Hr.texture);let dt={u_matrix:Fe.transform.calculatePosMatrix($e.tileID.toUnwrapped()),u_terrain_coords_id:(255-ht.coordsIndex.length)/255,u_texture:0,u_ele_delta:ht.getMeshFrameDelta(Fe.transform.zoom)};Ge.draw(wt,zt.TRIANGLES,hr,Bs.disabled,Jt,Vo.backCCW,dt,st,\"terrain\",vr.vertexBuffer,vr.indexBuffer,vr.segments),ht.coordsIndex.push($e.tileID.key)}wt.bindFramebuffer.set(null),wt.viewport.set([0,0,Fe.width,Fe.height])}(this,this.style.map.terrain))}renderLayer(R,ne,be,Ae){if(!be.isHidden(this.transform.zoom)&&(be.type===\"background\"||be.type===\"custom\"||(Ae||[]).length))switch(this.id=be.id,be.type){case\"symbol\":(function(Fe,ht,wt,zt,Jt){if(Fe.renderPass!==\"translucent\")return;let hr=Bs.disabled,vr=Fe.colorModeForRenderPass();(wt._unevaluatedLayout.hasValue(\"text-variable-anchor\")||wt._unevaluatedLayout.hasValue(\"text-variable-anchor-offset\"))&&function(Hr,ln,Ge,$e,st,dt,St,xt,It){let rr=ln.transform,sr=ui(),pr=st===\"map\",kr=dt===\"map\";for(let Yr of Hr){let _n=$e.getTile(Yr),Mn=_n.getBucket(Ge);if(!Mn||!Mn.text||!Mn.text.segments.get().length)continue;let Un=t.ag(Mn.textSizeData,rr.zoom),li=Rn(_n,1,ln.transform.zoom),ki=gr(Yr.posMatrix,kr,pr,ln.transform,li),Ci=Ge.layout.get(\"icon-text-fit\")!==\"none\"&&Mn.hasIconData();if(Un){let Zi=Math.pow(2,rr.zoom-_n.tileID.overscaledZ),ya=ln.style.map.terrain?(Va,Io)=>ln.style.map.terrain.getElevation(Yr,Va,Io):null,ro=sr.translatePosition(rr,_n,St,xt);nf(Mn,pr,kr,It,rr,ki,Yr.posMatrix,Zi,Un,Ci,sr,ro,Yr.toUnwrapped(),ya)}}}(zt,Fe,wt,ht,wt.layout.get(\"text-rotation-alignment\"),wt.layout.get(\"text-pitch-alignment\"),wt.paint.get(\"text-translate\"),wt.paint.get(\"text-translate-anchor\"),Jt),wt.paint.get(\"icon-opacity\").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!1,wt.paint.get(\"icon-translate\"),wt.paint.get(\"icon-translate-anchor\"),wt.layout.get(\"icon-rotation-alignment\"),wt.layout.get(\"icon-pitch-alignment\"),wt.layout.get(\"icon-keep-upright\"),hr,vr),wt.paint.get(\"text-opacity\").constantOr(1)!==0&&Jf(Fe,ht,wt,zt,!0,wt.paint.get(\"text-translate\"),wt.paint.get(\"text-translate-anchor\"),wt.layout.get(\"text-rotation-alignment\"),wt.layout.get(\"text-pitch-alignment\"),wt.layout.get(\"text-keep-upright\"),hr,vr),ht.map.showCollisionBoxes&&(Qu(Fe,ht,wt,zt,!0),Qu(Fe,ht,wt,zt,!1))})(R,ne,be,Ae,this.style.placement.variableOffsets);break;case\"circle\":(function(Fe,ht,wt,zt){if(Fe.renderPass!==\"translucent\")return;let Jt=wt.paint.get(\"circle-opacity\"),hr=wt.paint.get(\"circle-stroke-width\"),vr=wt.paint.get(\"circle-stroke-opacity\"),Hr=!wt.layout.get(\"circle-sort-key\").isConstant();if(Jt.constantOr(1)===0&&(hr.constantOr(1)===0||vr.constantOr(1)===0))return;let ln=Fe.context,Ge=ln.gl,$e=Fe.depthModeForSublayer(0,ds.ReadOnly),st=Bs.disabled,dt=Fe.colorModeForRenderPass(),St=[];for(let xt=0;xtxt.sortKey-It.sortKey);for(let xt of St){let{programConfiguration:It,program:rr,layoutVertexBuffer:sr,indexBuffer:pr,uniformValues:kr,terrainData:Yr}=xt.state;rr.draw(ln,Ge.TRIANGLES,$e,st,dt,Vo.disabled,kr,Yr,wt.id,sr,pr,xt.segments,wt.paint,Fe.transform.zoom,It)}})(R,ne,be,Ae);break;case\"heatmap\":(function(Fe,ht,wt,zt){if(wt.paint.get(\"heatmap-opacity\")===0)return;let Jt=Fe.context;if(Fe.style.map.terrain){for(let hr of zt){let vr=ht.getTile(hr);ht.hasRenderableParent(hr)||(Fe.renderPass===\"offscreen\"?wf(Fe,vr,wt,hr):Fe.renderPass===\"translucent\"&&Gc(Fe,wt,hr))}Jt.viewport.set([0,0,Fe.width,Fe.height])}else Fe.renderPass===\"offscreen\"?function(hr,vr,Hr,ln){let Ge=hr.context,$e=Ge.gl,st=Bs.disabled,dt=new ll([$e.ONE,$e.ONE],t.aM.transparent,[!0,!0,!0,!0]);(function(St,xt,It){let rr=St.gl;St.activeTexture.set(rr.TEXTURE1),St.viewport.set([0,0,xt.width/4,xt.height/4]);let sr=It.heatmapFbos.get(t.aU);sr?(rr.bindTexture(rr.TEXTURE_2D,sr.colorAttachment.get()),St.bindFramebuffer.set(sr.framebuffer)):(sr=Ff(St,xt.width/4,xt.height/4),It.heatmapFbos.set(t.aU,sr))})(Ge,hr,Hr),Ge.clear({color:t.aM.transparent});for(let St=0;St20&&hr.texParameterf(hr.TEXTURE_2D,Jt.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,Jt.extTextureFilterAnisotropicMax);let Mn=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(St),Un=Mn?St:null,li=Un?Un.posMatrix:Fe.transform.calculatePosMatrix(St.toUnwrapped(),dt),ki=Yo(li,Yr||[0,0],kr||1,pr,wt);vr instanceof it?Hr.draw(Jt,hr.TRIANGLES,xt,Bs.disabled,ln,Vo.disabled,ki,Mn,wt.id,vr.boundsBuffer,Fe.quadTriangleIndexBuffer,vr.boundsSegments):Hr.draw(Jt,hr.TRIANGLES,xt,Ge[St.overscaledZ],ln,Vo.disabled,ki,Mn,wt.id,Fe.rasterBoundsBuffer,Fe.quadTriangleIndexBuffer,Fe.rasterBoundsSegments)}})(R,ne,be,Ae);break;case\"background\":(function(Fe,ht,wt,zt){let Jt=wt.paint.get(\"background-color\"),hr=wt.paint.get(\"background-opacity\");if(hr===0)return;let vr=Fe.context,Hr=vr.gl,ln=Fe.transform,Ge=ln.tileSize,$e=wt.paint.get(\"background-pattern\");if(Fe.isPatternMissing($e))return;let st=!$e&&Jt.a===1&&hr===1&&Fe.opaquePassEnabledForLayer()?\"opaque\":\"translucent\";if(Fe.renderPass!==st)return;let dt=Bs.disabled,St=Fe.depthModeForSublayer(0,st===\"opaque\"?ds.ReadWrite:ds.ReadOnly),xt=Fe.colorModeForRenderPass(),It=Fe.useProgram($e?\"backgroundPattern\":\"background\"),rr=zt||ln.coveringTiles({tileSize:Ge,terrain:Fe.style.map.terrain});$e&&(vr.activeTexture.set(Hr.TEXTURE0),Fe.imageManager.bind(Fe.context));let sr=wt.getCrossfadeParameters();for(let pr of rr){let kr=zt?pr.posMatrix:Fe.transform.calculatePosMatrix(pr.toUnwrapped()),Yr=$e?Vs(kr,hr,Fe,$e,{tileID:pr,tileSize:Ge},sr):Ls(kr,hr,Jt),_n=Fe.style.map.terrain&&Fe.style.map.terrain.getTerrainData(pr);It.draw(vr,Hr.TRIANGLES,St,dt,xt,Vo.disabled,Yr,_n,wt.id,Fe.tileExtentBuffer,Fe.quadTriangleIndexBuffer,Fe.tileExtentSegments)}})(R,0,be,Ae);break;case\"custom\":(function(Fe,ht,wt){let zt=Fe.context,Jt=wt.implementation;if(Fe.renderPass===\"offscreen\"){let hr=Jt.prerender;hr&&(Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),hr.call(Jt,zt.gl,Fe.transform.customLayerMatrix()),zt.setDirty(),Fe.setBaseState())}else if(Fe.renderPass===\"translucent\"){Fe.setCustomLayerDefaults(),zt.setColorMode(Fe.colorModeForRenderPass()),zt.setStencilMode(Bs.disabled);let hr=Jt.renderingMode===\"3d\"?new ds(Fe.context.gl.LEQUAL,ds.ReadWrite,Fe.depthRangeFor3D):Fe.depthModeForSublayer(0,ds.ReadOnly);zt.setDepthMode(hr),Jt.render(zt.gl,Fe.transform.customLayerMatrix(),{farZ:Fe.transform.farZ,nearZ:Fe.transform.nearZ,fov:Fe.transform._fov,modelViewProjectionMatrix:Fe.transform.modelViewProjectionMatrix,projectionMatrix:Fe.transform.projectionMatrix}),zt.setDirty(),Fe.setBaseState(),zt.bindFramebuffer.set(null)}})(R,0,be)}}translatePosMatrix(R,ne,be,Ae,Fe){if(!be[0]&&!be[1])return R;let ht=Fe?Ae===\"map\"?this.transform.angle:0:Ae===\"viewport\"?-this.transform.angle:0;if(ht){let Jt=Math.sin(ht),hr=Math.cos(ht);be=[be[0]*hr-be[1]*Jt,be[0]*Jt+be[1]*hr]}let wt=[Fe?be[0]:Rn(ne,be[0],this.transform.zoom),Fe?be[1]:Rn(ne,be[1],this.transform.zoom),0],zt=new Float32Array(16);return t.J(zt,R,wt),zt}saveTileTexture(R){let ne=this._tileTextures[R.size[0]];ne?ne.push(R):this._tileTextures[R.size[0]]=[R]}getTileTexture(R){let ne=this._tileTextures[R];return ne&&ne.length>0?ne.pop():null}isPatternMissing(R){if(!R)return!1;if(!R.from||!R.to)return!0;let ne=this.imageManager.getPattern(R.from.toString()),be=this.imageManager.getPattern(R.to.toString());return!ne||!be}useProgram(R,ne){this.cache=this.cache||{};let be=R+(ne?ne.cacheKey:\"\")+(this._showOverdrawInspector?\"/overdraw\":\"\")+(this.style.map.terrain?\"/terrain\":\"\");return this.cache[be]||(this.cache[be]=new An(this.context,gn[R],ne,Ws[R],this._showOverdrawInspector,this.style.map.terrain)),this.cache[be]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){let R=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(R.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement(\"canvas\"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new u(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){let{drawingBufferWidth:R,drawingBufferHeight:ne}=this.context.gl;return this.width!==R||this.height!==ne}}class Dl{constructor(R,ne){this.points=R,this.planes=ne}static fromInvProjectionMatrix(R,ne,be){let Ae=Math.pow(2,be),Fe=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(wt=>{let zt=1/(wt=t.af([],wt,R))[3]/ne*Ae;return t.b1(wt,wt,[zt,zt,1/wt[3],zt])}),ht=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(wt=>{let zt=function(Hr,ln){var Ge=ln[0],$e=ln[1],st=ln[2],dt=Ge*Ge+$e*$e+st*st;return dt>0&&(dt=1/Math.sqrt(dt)),Hr[0]=ln[0]*dt,Hr[1]=ln[1]*dt,Hr[2]=ln[2]*dt,Hr}([],function(Hr,ln,Ge){var $e=ln[0],st=ln[1],dt=ln[2],St=Ge[0],xt=Ge[1],It=Ge[2];return Hr[0]=st*It-dt*xt,Hr[1]=dt*St-$e*It,Hr[2]=$e*xt-st*St,Hr}([],E([],Fe[wt[0]],Fe[wt[1]]),E([],Fe[wt[2]],Fe[wt[1]]))),Jt=-((hr=zt)[0]*(vr=Fe[wt[1]])[0]+hr[1]*vr[1]+hr[2]*vr[2]);var hr,vr;return zt.concat(Jt)});return new Dl(Fe,ht)}}class Rc{constructor(R,ne){this.min=R,this.max=ne,this.center=function(be,Ae,Fe){return be[0]=.5*Ae[0],be[1]=.5*Ae[1],be[2]=.5*Ae[2],be}([],function(be,Ae,Fe){return be[0]=Ae[0]+Fe[0],be[1]=Ae[1]+Fe[1],be[2]=Ae[2]+Fe[2],be}([],this.min,this.max))}quadrant(R){let ne=[R%2==0,R<2],be=w(this.min),Ae=w(this.max);for(let Fe=0;Fe=0&&ht++;if(ht===0)return 0;ht!==ne.length&&(be=!1)}if(be)return 2;for(let Ae=0;Ae<3;Ae++){let Fe=Number.MAX_VALUE,ht=-Number.MAX_VALUE;for(let wt=0;wtthis.max[Ae]-this.min[Ae])return 0}return 1}}class tc{constructor(R=0,ne=0,be=0,Ae=0){if(isNaN(R)||R<0||isNaN(ne)||ne<0||isNaN(be)||be<0||isNaN(Ae)||Ae<0)throw new Error(\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\");this.top=R,this.bottom=ne,this.left=be,this.right=Ae}interpolate(R,ne,be){return ne.top!=null&&R.top!=null&&(this.top=t.y.number(R.top,ne.top,be)),ne.bottom!=null&&R.bottom!=null&&(this.bottom=t.y.number(R.bottom,ne.bottom,be)),ne.left!=null&&R.left!=null&&(this.left=t.y.number(R.left,ne.left,be)),ne.right!=null&&R.right!=null&&(this.right=t.y.number(R.right,ne.right,be)),this}getCenter(R,ne){let be=t.ac((this.left+R-this.right)/2,0,R),Ae=t.ac((this.top+ne-this.bottom)/2,0,ne);return new t.P(be,Ae)}equals(R){return this.top===R.top&&this.bottom===R.bottom&&this.left===R.left&&this.right===R.right}clone(){return new tc(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}let xu=85.051129;class Sl{constructor(R,ne,be,Ae,Fe){this.tileSize=512,this._renderWorldCopies=Fe===void 0||!!Fe,this._minZoom=R||0,this._maxZoom=ne||22,this._minPitch=be??0,this._maxPitch=Ae??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.N(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new tc,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={},this.minElevationForCurrentTile=0}clone(){let R=new Sl(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return R.apply(this),R}apply(R){this.tileSize=R.tileSize,this.latRange=R.latRange,this.lngRange=R.lngRange,this.width=R.width,this.height=R.height,this._center=R._center,this._elevation=R._elevation,this.minElevationForCurrentTile=R.minElevationForCurrentTile,this.zoom=R.zoom,this.angle=R.angle,this._fov=R._fov,this._pitch=R._pitch,this._unmodified=R._unmodified,this._edgeInsets=R._edgeInsets.clone(),this._calcMatrices()}get minZoom(){return this._minZoom}set minZoom(R){this._minZoom!==R&&(this._minZoom=R,this.zoom=Math.max(this.zoom,R))}get maxZoom(){return this._maxZoom}set maxZoom(R){this._maxZoom!==R&&(this._maxZoom=R,this.zoom=Math.min(this.zoom,R))}get minPitch(){return this._minPitch}set minPitch(R){this._minPitch!==R&&(this._minPitch=R,this.pitch=Math.max(this.pitch,R))}get maxPitch(){return this._maxPitch}set maxPitch(R){this._maxPitch!==R&&(this._maxPitch=R,this.pitch=Math.min(this.pitch,R))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(R){R===void 0?R=!0:R===null&&(R=!1),this._renderWorldCopies=R}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(R){let ne=-t.b3(R,-180,180)*Math.PI/180;this.angle!==ne&&(this._unmodified=!1,this.angle=ne,this._calcMatrices(),this.rotationMatrix=function(){var be=new t.A(4);return t.A!=Float32Array&&(be[1]=0,be[2]=0),be[0]=1,be[3]=1,be}(),function(be,Ae,Fe){var ht=Ae[0],wt=Ae[1],zt=Ae[2],Jt=Ae[3],hr=Math.sin(Fe),vr=Math.cos(Fe);be[0]=ht*vr+zt*hr,be[1]=wt*vr+Jt*hr,be[2]=ht*-hr+zt*vr,be[3]=wt*-hr+Jt*vr}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(R){let ne=t.ac(R,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ne&&(this._unmodified=!1,this._pitch=ne,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(R){R=Math.max(.01,Math.min(60,R)),this._fov!==R&&(this._unmodified=!1,this._fov=R/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(R){let ne=Math.min(Math.max(R,this.minZoom),this.maxZoom);this._zoom!==ne&&(this._unmodified=!1,this._zoom=ne,this.tileZoom=Math.max(0,Math.floor(ne)),this.scale=this.zoomScale(ne),this._constrain(),this._calcMatrices())}get center(){return this._center}set center(R){R.lat===this._center.lat&&R.lng===this._center.lng||(this._unmodified=!1,this._center=R,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(R){R!==this._elevation&&(this._elevation=R,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(R){this._edgeInsets.equals(R)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,R,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(R){return this._edgeInsets.equals(R)}interpolatePadding(R,ne,be){this._unmodified=!1,this._edgeInsets.interpolate(R,ne,be),this._constrain(),this._calcMatrices()}coveringZoomLevel(R){let ne=(R.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/R.tileSize));return Math.max(0,ne)}getVisibleUnwrappedCoordinates(R){let ne=[new t.b4(0,R)];if(this._renderWorldCopies){let be=this.pointCoordinate(new t.P(0,0)),Ae=this.pointCoordinate(new t.P(this.width,0)),Fe=this.pointCoordinate(new t.P(this.width,this.height)),ht=this.pointCoordinate(new t.P(0,this.height)),wt=Math.floor(Math.min(be.x,Ae.x,Fe.x,ht.x)),zt=Math.floor(Math.max(be.x,Ae.x,Fe.x,ht.x)),Jt=1;for(let hr=wt-Jt;hr<=zt+Jt;hr++)hr!==0&&ne.push(new t.b4(hr,R))}return ne}coveringTiles(R){var ne,be;let Ae=this.coveringZoomLevel(R),Fe=Ae;if(R.minzoom!==void 0&&AeR.maxzoom&&(Ae=R.maxzoom);let ht=this.pointCoordinate(this.getCameraPoint()),wt=t.Z.fromLngLat(this.center),zt=Math.pow(2,Ae),Jt=[zt*ht.x,zt*ht.y,0],hr=[zt*wt.x,zt*wt.y,0],vr=Dl.fromInvProjectionMatrix(this.invModelViewProjectionMatrix,this.worldSize,Ae),Hr=R.minzoom||0;!R.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(Hr=Ae);let ln=R.terrain?2/Math.min(this.tileSize,R.tileSize)*this.tileSize:3,Ge=xt=>({aabb:new Rc([xt*zt,0,0],[(xt+1)*zt,zt,0]),zoom:0,x:0,y:0,wrap:xt,fullyVisible:!1}),$e=[],st=[],dt=Ae,St=R.reparseOverscaled?Fe:Ae;if(this._renderWorldCopies)for(let xt=1;xt<=3;xt++)$e.push(Ge(-xt)),$e.push(Ge(xt));for($e.push(Ge(0));$e.length>0;){let xt=$e.pop(),It=xt.x,rr=xt.y,sr=xt.fullyVisible;if(!sr){let Mn=xt.aabb.intersects(vr);if(Mn===0)continue;sr=Mn===2}let pr=R.terrain?Jt:hr,kr=xt.aabb.distanceX(pr),Yr=xt.aabb.distanceY(pr),_n=Math.max(Math.abs(kr),Math.abs(Yr));if(xt.zoom===dt||_n>ln+(1<=Hr){let Mn=dt-xt.zoom,Un=Jt[0]-.5-(It<>1),ki=xt.zoom+1,Ci=xt.aabb.quadrant(Mn);if(R.terrain){let Zi=new t.S(ki,xt.wrap,ki,Un,li),ya=R.terrain.getMinMaxElevation(Zi),ro=(ne=ya.minElevation)!==null&&ne!==void 0?ne:this.elevation,Va=(be=ya.maxElevation)!==null&&be!==void 0?be:this.elevation;Ci=new Rc([Ci.min[0],Ci.min[1],ro],[Ci.max[0],Ci.max[1],Va])}$e.push({aabb:Ci,zoom:ki,x:Un,y:li,wrap:xt.wrap,fullyVisible:sr})}}return st.sort((xt,It)=>xt.distanceSq-It.distanceSq).map(xt=>xt.tileID)}resize(R,ne){this.width=R,this.height=ne,this.pixelsToGLUnits=[2/R,-2/ne],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(R){return Math.pow(2,R)}scaleZoom(R){return Math.log(R)/Math.LN2}project(R){let ne=t.ac(R.lat,-85.051129,xu);return new t.P(t.O(R.lng)*this.worldSize,t.Q(ne)*this.worldSize)}unproject(R){return new t.Z(R.x/this.worldSize,R.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(R){let ne=this.elevation,be=Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter,Ae=this.pointLocation(this.centerPoint,R),Fe=R.getElevationForLngLatZoom(Ae,this.tileZoom);if(!(this.elevation-Fe))return;let ht=be+ne-Fe,wt=Math.cos(this._pitch)*this.cameraToCenterDistance/ht/t.b5(1,Ae.lat),zt=this.scaleZoom(wt/this.tileSize);this._elevation=Fe,this._center=Ae,this.zoom=zt}setLocationAtPoint(R,ne){let be=this.pointCoordinate(ne),Ae=this.pointCoordinate(this.centerPoint),Fe=this.locationCoordinate(R),ht=new t.Z(Fe.x-(be.x-Ae.x),Fe.y-(be.y-Ae.y));this.center=this.coordinateLocation(ht),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(R,ne){return ne?this.coordinatePoint(this.locationCoordinate(R),ne.getElevationForLngLatZoom(R,this.tileZoom),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(R))}pointLocation(R,ne){return this.coordinateLocation(this.pointCoordinate(R,ne))}locationCoordinate(R){return t.Z.fromLngLat(R)}coordinateLocation(R){return R&&R.toLngLat()}pointCoordinate(R,ne){if(ne){let Hr=ne.pointCoordinate(R);if(Hr!=null)return Hr}let be=[R.x,R.y,0,1],Ae=[R.x,R.y,1,1];t.af(be,be,this.pixelMatrixInverse),t.af(Ae,Ae,this.pixelMatrixInverse);let Fe=be[3],ht=Ae[3],wt=be[1]/Fe,zt=Ae[1]/ht,Jt=be[2]/Fe,hr=Ae[2]/ht,vr=Jt===hr?0:(0-Jt)/(hr-Jt);return new t.Z(t.y.number(be[0]/Fe,Ae[0]/ht,vr)/this.worldSize,t.y.number(wt,zt,vr)/this.worldSize)}coordinatePoint(R,ne=0,be=this.pixelMatrix){let Ae=[R.x*this.worldSize,R.y*this.worldSize,ne,1];return t.af(Ae,Ae,be),new t.P(Ae[0]/Ae[3],Ae[1]/Ae[3])}getBounds(){let R=Math.max(0,this.height/2-this.getHorizon());return new ie().extend(this.pointLocation(new t.P(0,R))).extend(this.pointLocation(new t.P(this.width,R))).extend(this.pointLocation(new t.P(this.width,this.height))).extend(this.pointLocation(new t.P(0,this.height)))}getMaxBounds(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new ie([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(R){R?(this.lngRange=[R.getWest(),R.getEast()],this.latRange=[R.getSouth(),R.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-85.051129,xu])}calculateTileMatrix(R){let ne=R.canonical,be=this.worldSize/this.zoomScale(ne.z),Ae=ne.x+Math.pow(2,ne.z)*R.wrap,Fe=t.an(new Float64Array(16));return t.J(Fe,Fe,[Ae*be,ne.y*be,0]),t.K(Fe,Fe,[be/t.X,be/t.X,1]),Fe}calculatePosMatrix(R,ne=!1){let be=R.key,Ae=ne?this._alignedPosMatrixCache:this._posMatrixCache;if(Ae[be])return Ae[be];let Fe=this.calculateTileMatrix(R);return t.L(Fe,ne?this.alignedModelViewProjectionMatrix:this.modelViewProjectionMatrix,Fe),Ae[be]=new Float32Array(Fe),Ae[be]}calculateFogMatrix(R){let ne=R.key,be=this._fogMatrixCache;if(be[ne])return be[ne];let Ae=this.calculateTileMatrix(R);return t.L(Ae,this.fogMatrix,Ae),be[ne]=new Float32Array(Ae),be[ne]}customLayerMatrix(){return this.mercatorMatrix.slice()}getConstrained(R,ne){ne=t.ac(+ne,this.minZoom,this.maxZoom);let be={center:new t.N(R.lng,R.lat),zoom:ne},Ae=this.lngRange;if(!this._renderWorldCopies&&Ae===null){let xt=179.9999999999;Ae=[-xt,xt]}let Fe=this.tileSize*this.zoomScale(be.zoom),ht=0,wt=Fe,zt=0,Jt=Fe,hr=0,vr=0,{x:Hr,y:ln}=this.size;if(this.latRange){let xt=this.latRange;ht=t.Q(xt[1])*Fe,wt=t.Q(xt[0])*Fe,wt-htwt&&(dt=wt-xt)}if(Ae){let xt=(zt+Jt)/2,It=Ge;this._renderWorldCopies&&(It=t.b3(Ge,xt-Fe/2,xt+Fe/2));let rr=Hr/2;It-rrJt&&(st=Jt-rr)}if(st!==void 0||dt!==void 0){let xt=new t.P(st??Ge,dt??$e);be.center=this.unproject.call({worldSize:Fe},xt).wrap()}return be}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;let R=this._unmodified,{center:ne,zoom:be}=this.getConstrained(this.center,this.zoom);this.center=ne,this.zoom=be,this._unmodified=R,this._constraining=!1}_calcMatrices(){if(!this.height)return;let R=this.centerOffset,ne=this.point.x,be=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=t.b5(1,this.center.lat)*this.worldSize;let Ae=t.an(new Float64Array(16));t.K(Ae,Ae,[this.width/2,-this.height/2,1]),t.J(Ae,Ae,[1,-1,0]),this.labelPlaneMatrix=Ae,Ae=t.an(new Float64Array(16)),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[-1,-1,0]),t.K(Ae,Ae,[2/this.width,2/this.height,1]),this.glCoordMatrix=Ae;let Fe=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch),ht=Math.min(this.elevation,this.minElevationForCurrentTile),wt=Fe-ht*this._pixelPerMeter/Math.cos(this._pitch),zt=ht<0?wt:Fe,Jt=Math.PI/2+this._pitch,hr=this._fov*(.5+R.y/this.height),vr=Math.sin(hr)*zt/Math.sin(t.ac(Math.PI-Jt-hr,.01,Math.PI-.01)),Hr=this.getHorizon(),ln=2*Math.atan(Hr/this.cameraToCenterDistance)*(.5+R.y/(2*Hr)),Ge=Math.sin(ln)*zt/Math.sin(t.ac(Math.PI-Jt-ln,.01,Math.PI-.01)),$e=Math.min(vr,Ge);this.farZ=1.01*(Math.cos(Math.PI/2-this._pitch)*$e+zt),this.nearZ=this.height/50,Ae=new Float64Array(16),t.b6(Ae,this._fov,this.width/this.height,this.nearZ,this.farZ),Ae[8]=2*-R.x/this.width,Ae[9]=2*R.y/this.height,this.projectionMatrix=t.ae(Ae),t.K(Ae,Ae,[1,-1,1]),t.J(Ae,Ae,[0,0,-this.cameraToCenterDistance]),t.b7(Ae,Ae,this._pitch),t.ad(Ae,Ae,this.angle),t.J(Ae,Ae,[-ne,-be,0]),this.mercatorMatrix=t.K([],Ae,[this.worldSize,this.worldSize,this.worldSize]),t.K(Ae,Ae,[1,1,this._pixelPerMeter]),this.pixelMatrix=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae),t.J(Ae,Ae,[0,0,-this.elevation]),this.modelViewProjectionMatrix=Ae,this.invModelViewProjectionMatrix=t.as([],Ae),this.fogMatrix=new Float64Array(16),t.b6(this.fogMatrix,this._fov,this.width/this.height,Fe,this.farZ),this.fogMatrix[8]=2*-R.x/this.width,this.fogMatrix[9]=2*R.y/this.height,t.K(this.fogMatrix,this.fogMatrix,[1,-1,1]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.cameraToCenterDistance]),t.b7(this.fogMatrix,this.fogMatrix,this._pitch),t.ad(this.fogMatrix,this.fogMatrix,this.angle),t.J(this.fogMatrix,this.fogMatrix,[-ne,-be,0]),t.K(this.fogMatrix,this.fogMatrix,[1,1,this._pixelPerMeter]),t.J(this.fogMatrix,this.fogMatrix,[0,0,-this.elevation]),this.pixelMatrix3D=t.L(new Float64Array(16),this.labelPlaneMatrix,Ae);let st=this.width%2/2,dt=this.height%2/2,St=Math.cos(this.angle),xt=Math.sin(this.angle),It=ne-Math.round(ne)+St*st+xt*dt,rr=be-Math.round(be)+St*dt+xt*st,sr=new Float64Array(Ae);if(t.J(sr,sr,[It>.5?It-1:It,rr>.5?rr-1:rr,0]),this.alignedModelViewProjectionMatrix=sr,Ae=t.as(new Float64Array(16),this.pixelMatrix),!Ae)throw new Error(\"failed to invert matrix\");this.pixelMatrixInverse=Ae,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;let R=this.pointCoordinate(new t.P(0,0)),ne=[R.x*this.worldSize,R.y*this.worldSize,0,1];return t.af(ne,ne,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){let R=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(0,R))}getCameraQueryGeometry(R){let ne=this.getCameraPoint();if(R.length===1)return[R[0],ne];{let be=ne.x,Ae=ne.y,Fe=ne.x,ht=ne.y;for(let wt of R)be=Math.min(be,wt.x),Ae=Math.min(Ae,wt.y),Fe=Math.max(Fe,wt.x),ht=Math.max(ht,wt.y);return[new t.P(be,Ae),new t.P(Fe,Ae),new t.P(Fe,ht),new t.P(be,ht),new t.P(be,Ae)]}}lngLatToCameraDepth(R,ne){let be=this.locationCoordinate(R),Ae=[be.x*this.worldSize,be.y*this.worldSize,ne,1];return t.af(Ae,Ae,this.modelViewProjectionMatrix),Ae[2]/Ae[3]}}function th(Ne,R){let ne,be=!1,Ae=null,Fe=null,ht=()=>{Ae=null,be&&(Ne.apply(Fe,ne),Ae=setTimeout(ht,R),be=!1)};return(...wt)=>(be=!0,Fe=this,ne=wt,Ae||ht(),Ae)}class uh{constructor(R){this._getCurrentHash=()=>{let ne=window.location.hash.replace(\"#\",\"\");if(this._hashName){let be;return ne.split(\"&\").map(Ae=>Ae.split(\"=\")).forEach(Ae=>{Ae[0]===this._hashName&&(be=Ae)}),(be&&be[1]||\"\").split(\"/\")}return ne.split(\"/\")},this._onHashChange=()=>{let ne=this._getCurrentHash();if(ne.length>=3&&!ne.some(be=>isNaN(be))){let be=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(ne[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+ne[2],+ne[1]],zoom:+ne[0],bearing:be,pitch:+(ne[4]||0)}),!0}return!1},this._updateHashUnthrottled=()=>{let ne=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,ne)},this._removeHash=()=>{let ne=this._getCurrentHash();if(ne.length===0)return;let be=ne.join(\"/\"),Ae=be;Ae.split(\"&\").length>0&&(Ae=Ae.split(\"&\")[0]),this._hashName&&(Ae=`${this._hashName}=${be}`);let Fe=window.location.hash.replace(Ae,\"\");Fe.startsWith(\"#&\")?Fe=Fe.slice(0,1)+Fe.slice(2):Fe===\"#\"&&(Fe=\"\");let ht=window.location.href.replace(/(#.+)?$/,Fe);ht=ht.replace(\"&&\",\"&\"),window.history.replaceState(window.history.state,null,ht)},this._updateHash=th(this._updateHashUnthrottled,300),this._hashName=R&&encodeURIComponent(R)}addTo(R){return this._map=R,addEventListener(\"hashchange\",this._onHashChange,!1),this._map.on(\"moveend\",this._updateHash),this}remove(){return removeEventListener(\"hashchange\",this._onHashChange,!1),this._map.off(\"moveend\",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(R){let ne=this._map.getCenter(),be=Math.round(100*this._map.getZoom())/100,Ae=Math.ceil((be*Math.LN2+Math.log(512/360/.5))/Math.LN10),Fe=Math.pow(10,Ae),ht=Math.round(ne.lng*Fe)/Fe,wt=Math.round(ne.lat*Fe)/Fe,zt=this._map.getBearing(),Jt=this._map.getPitch(),hr=\"\";if(hr+=R?`/${ht}/${wt}/${be}`:`${be}/${wt}/${ht}`,(zt||Jt)&&(hr+=\"/\"+Math.round(10*zt)/10),Jt&&(hr+=`/${Math.round(Jt)}`),this._hashName){let vr=this._hashName,Hr=!1,ln=window.location.hash.slice(1).split(\"&\").map(Ge=>{let $e=Ge.split(\"=\")[0];return $e===vr?(Hr=!0,`${$e}=${hr}`):Ge}).filter(Ge=>Ge);return Hr||ln.push(`${vr}=${hr}`),`#${ln.join(\"&\")}`}return`#${hr}`}}let Hu={linearity:.3,easing:t.b8(0,0,.3,1)},_c=t.e({deceleration:2500,maxSpeed:1400},Hu),lc=t.e({deceleration:20,maxSpeed:1400},Hu),Uh=t.e({deceleration:1e3,maxSpeed:360},Hu),of=t.e({deceleration:1e3,maxSpeed:90},Hu);class ff{constructor(R){this._map=R,this.clear()}clear(){this._inertiaBuffer=[]}record(R){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:i.now(),settings:R})}_drainInertiaBuffer(){let R=this._inertiaBuffer,ne=i.now();for(;R.length>0&&ne-R[0].time>160;)R.shift()}_onMoveEnd(R){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;let ne={zoom:0,bearing:0,pitch:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(let{settings:Fe}of this._inertiaBuffer)ne.zoom+=Fe.zoomDelta||0,ne.bearing+=Fe.bearingDelta||0,ne.pitch+=Fe.pitchDelta||0,Fe.panDelta&&ne.pan._add(Fe.panDelta),Fe.around&&(ne.around=Fe.around),Fe.pinchAround&&(ne.pinchAround=Fe.pinchAround);let be=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,Ae={};if(ne.pan.mag()){let Fe=Af(ne.pan.mag(),be,t.e({},_c,R||{}));Ae.offset=ne.pan.mult(Fe.amount/ne.pan.mag()),Ae.center=this._map.transform.center,Du(Ae,Fe)}if(ne.zoom){let Fe=Af(ne.zoom,be,lc);Ae.zoom=this._map.transform.zoom+Fe.amount,Du(Ae,Fe)}if(ne.bearing){let Fe=Af(ne.bearing,be,Uh);Ae.bearing=this._map.transform.bearing+t.ac(Fe.amount,-179,179),Du(Ae,Fe)}if(ne.pitch){let Fe=Af(ne.pitch,be,of);Ae.pitch=this._map.transform.pitch+Fe.amount,Du(Ae,Fe)}if(Ae.zoom||Ae.bearing){let Fe=ne.pinchAround===void 0?ne.around:ne.pinchAround;Ae.around=Fe?this._map.unproject(Fe):this._map.getCenter()}return this.clear(),t.e(Ae,{noMoveStart:!0})}}function Du(Ne,R){(!Ne.duration||Ne.durationne.unproject(zt)),wt=Fe.reduce((zt,Jt,hr,vr)=>zt.add(Jt.div(vr.length)),new t.P(0,0));super(R,{points:Fe,point:wt,lngLats:ht,lngLat:ne.unproject(wt),originalEvent:be}),this._defaultPrevented=!1}}class ch extends t.k{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(R,ne,be){super(R,{originalEvent:be}),this._defaultPrevented=!1}}class Mf{constructor(R,ne){this._map=R,this._clickTolerance=ne.clickTolerance}reset(){delete this._mousedownPos}wheel(R){return this._firePreventable(new ch(R.type,this._map,R))}mousedown(R,ne){return this._mousedownPos=ne,this._firePreventable(new lu(R.type,this._map,R))}mouseup(R){this._map.fire(new lu(R.type,this._map,R))}click(R,ne){this._mousedownPos&&this._mousedownPos.dist(ne)>=this._clickTolerance||this._map.fire(new lu(R.type,this._map,R))}dblclick(R){return this._firePreventable(new lu(R.type,this._map,R))}mouseover(R){this._map.fire(new lu(R.type,this._map,R))}mouseout(R){this._map.fire(new lu(R.type,this._map,R))}touchstart(R){return this._firePreventable(new Xc(R.type,this._map,R))}touchmove(R){this._map.fire(new Xc(R.type,this._map,R))}touchend(R){this._map.fire(new Xc(R.type,this._map,R))}touchcancel(R){this._map.fire(new Xc(R.type,this._map,R))}_firePreventable(R){if(this._map.fire(R),R.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class dl{constructor(R){this._map=R}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(R){this._map.fire(new lu(R.type,this._map,R))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new lu(\"contextmenu\",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(R){this._delayContextMenu?this._contextMenuEvent=R:this._ignoreContextMenu||this._map.fire(new lu(R.type,this._map,R)),this._map.listens(\"contextmenu\")&&R.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class bu{constructor(R){this._map=R}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return{lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(R){return this.transform.pointLocation(t.P.convert(R),this._map.terrain)}}class wu{constructor(R,ne){this._map=R,this._tr=new bu(R),this._el=R.getCanvasContainer(),this._container=R.getContainer(),this._clickTolerance=ne.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(R,ne){this.isEnabled()&&R.shiftKey&&R.button===0&&(a.disableDrag(),this._startPos=this._lastPos=ne,this._active=!0)}mousemoveWindow(R,ne){if(!this._active)return;let be=ne;if(this._lastPos.equals(be)||!this._box&&be.dist(this._startPos)Fe.fitScreenCoordinates(be,Ae,this._tr.bearing,{linear:!0})};this._fireEvent(\"boxzoomcancel\",R)}keydown(R){this._active&&R.keyCode===27&&(this.reset(),this._fireEvent(\"boxzoomcancel\",R))}reset(){this._active=!1,this._container.classList.remove(\"maplibregl-crosshair\"),this._box&&(a.remove(this._box),this._box=null),a.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(R,ne){return this._map.fire(new t.k(R,{originalEvent:ne}))}}function Bf(Ne,R){if(Ne.length!==R.length)throw new Error(`The number of touches and points are not equal - touches ${Ne.length}, points ${R.length}`);let ne={};for(let be=0;bethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=R.timeStamp),be.length===this.numTouches&&(this.centroid=function(Ae){let Fe=new t.P(0,0);for(let ht of Ae)Fe._add(ht);return Fe.div(Ae.length)}(ne),this.touches=Bf(be,ne)))}touchmove(R,ne,be){if(this.aborted||!this.centroid)return;let Ae=Bf(be,ne);for(let Fe in this.touches){let ht=Ae[Fe];(!ht||ht.dist(this.touches[Fe])>30)&&(this.aborted=!0)}}touchend(R,ne,be){if((!this.centroid||R.timeStamp-this.startTime>500)&&(this.aborted=!0),be.length===0){let Ae=!this.aborted&&this.centroid;if(this.reset(),Ae)return Ae}}}class sf{constructor(R){this.singleTap=new ul(R),this.numTaps=R.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(R,ne,be){this.singleTap.touchstart(R,ne,be)}touchmove(R,ne,be){this.singleTap.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this.singleTap.touchend(R,ne,be);if(Ae){let Fe=R.timeStamp-this.lastTime<500,ht=!this.lastTap||this.lastTap.dist(Ae)<30;if(Fe&&ht||this.reset(),this.count++,this.lastTime=R.timeStamp,this.lastTap=Ae,this.count===this.numTaps)return this.reset(),Ae}}}class xc{constructor(R){this._tr=new bu(R),this._zoomIn=new sf({numTouches:1,numTaps:2}),this._zoomOut=new sf({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(R,ne,be){this._zoomIn.touchstart(R,ne,be),this._zoomOut.touchstart(R,ne,be)}touchmove(R,ne,be){this._zoomIn.touchmove(R,ne,be),this._zoomOut.touchmove(R,ne,be)}touchend(R,ne,be){let Ae=this._zoomIn.touchend(R,ne,be),Fe=this._zoomOut.touchend(R,ne,be),ht=this._tr;return Ae?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom+1,around:ht.unproject(Ae)},{originalEvent:R})}):Fe?(this._active=!0,R.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:wt=>wt.easeTo({duration:300,zoom:ht.zoom-1,around:ht.unproject(Fe)},{originalEvent:R})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Gu{constructor(R){this._enabled=!!R.enable,this._moveStateManager=R.moveStateManager,this._clickTolerance=R.clickTolerance||1,this._moveFunction=R.move,this._activateOnStart=!!R.activateOnStart,R.assignEvents(this),this.reset()}reset(R){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(R)}_move(...R){let ne=this._moveFunction(...R);if(ne.bearingDelta||ne.pitchDelta||ne.around||ne.panDelta)return this._active=!0,ne}dragStart(R,ne){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(R)&&(this._moveStateManager.startMove(R),this._lastPoint=ne.length?ne[0]:ne,this._activateOnStart&&this._lastPoint&&(this._active=!0))}dragMove(R,ne){if(!this.isEnabled())return;let be=this._lastPoint;if(!be)return;if(R.preventDefault(),!this._moveStateManager.isValidMoveEvent(R))return void this.reset(R);let Ae=ne.length?ne[0]:ne;return!this._moved&&Ae.dist(be){Ne.mousedown=Ne.dragStart,Ne.mousemoveWindow=Ne.dragMove,Ne.mouseup=Ne.dragEnd,Ne.contextmenu=R=>{R.preventDefault()}},Xl=({enable:Ne,clickTolerance:R,bearingDegreesPerPixelMoved:ne=.8})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({bearingDelta:(Fe.x-Ae.x)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})},Uf=({enable:Ne,clickTolerance:R,pitchDegreesPerPixelMoved:ne=-.5})=>{let be=new uc({checkCorrectEvent:Ae=>a.mouseButton(Ae)===0&&Ae.ctrlKey||a.mouseButton(Ae)===2});return new Gu({clickTolerance:R,move:(Ae,Fe)=>({pitchDelta:(Fe.y-Ae.y)*ne}),moveStateManager:be,enable:Ne,assignEvents:Nf})};class Wu{constructor(R,ne){this._clickTolerance=R.clickTolerance||1,this._map=ne,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0)}_shouldBePrevented(R){return R<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(R,ne,be){return this._calculateTransform(R,ne,be)}touchmove(R,ne,be){if(this._active){if(!this._shouldBePrevented(be.length))return R.preventDefault(),this._calculateTransform(R,ne,be);this._map.cooperativeGestures.notifyGestureBlocked(\"touch_pan\",R)}}touchend(R,ne,be){this._calculateTransform(R,ne,be),this._active&&this._shouldBePrevented(be.length)&&this.reset()}touchcancel(){this.reset()}_calculateTransform(R,ne,be){be.length>0&&(this._active=!0);let Ae=Bf(be,ne),Fe=new t.P(0,0),ht=new t.P(0,0),wt=0;for(let Jt in Ae){let hr=Ae[Jt],vr=this._touches[Jt];vr&&(Fe._add(hr),ht._add(hr.sub(vr)),wt++,Ae[Jt]=hr)}if(this._touches=Ae,this._shouldBePrevented(wt)||!ht.mag())return;let zt=ht.div(wt);return this._sum._add(zt),this._sum.mag()Math.abs(Ne.x)}class Yc extends bc{constructor(R){super(),this._currentTouchCount=0,this._map=R}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(R,ne,be){super.touchstart(R,ne,be),this._currentTouchCount=be.length}_start(R){this._lastPoints=R,rc(R[0].sub(R[1]))&&(this._valid=!1)}_move(R,ne,be){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;let Ae=R[0].sub(this._lastPoints[0]),Fe=R[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(Ae,Fe,be.timeStamp),this._valid?(this._lastPoints=R,this._active=!0,{pitchDelta:(Ae.y+Fe.y)/2*-.5}):void 0}gestureBeginsVertically(R,ne,be){if(this._valid!==void 0)return this._valid;let Ae=R.mag()>=2,Fe=ne.mag()>=2;if(!Ae&&!Fe)return;if(!Ae||!Fe)return this._firstMove===void 0&&(this._firstMove=be),be-this._firstMove<100&&void 0;let ht=R.y>0==ne.y>0;return rc(R)&&rc(ne)&&ht}}let Yt={panStep:100,bearingStep:15,pitchStep:10};class dr{constructor(R){this._tr=new bu(R);let ne=Yt;this._panStep=ne.panStep,this._bearingStep=ne.bearingStep,this._pitchStep=ne.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(R){if(R.altKey||R.ctrlKey||R.metaKey)return;let ne=0,be=0,Ae=0,Fe=0,ht=0;switch(R.keyCode){case 61:case 107:case 171:case 187:ne=1;break;case 189:case 109:case 173:ne=-1;break;case 37:R.shiftKey?be=-1:(R.preventDefault(),Fe=-1);break;case 39:R.shiftKey?be=1:(R.preventDefault(),Fe=1);break;case 38:R.shiftKey?Ae=1:(R.preventDefault(),ht=-1);break;case 40:R.shiftKey?Ae=-1:(R.preventDefault(),ht=1);break;default:return}return this._rotationDisabled&&(be=0,Ae=0),{cameraAnimation:wt=>{let zt=this._tr;wt.easeTo({duration:300,easeId:\"keyboardHandler\",easing:tn,zoom:ne?Math.round(zt.zoom)+ne*(R.shiftKey?2:1):zt.zoom,bearing:zt.bearing+be*this._bearingStep,pitch:zt.pitch+Ae*this._pitchStep,offset:[-Fe*this._panStep,-ht*this._panStep],center:zt.center},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function tn(Ne){return Ne*(2-Ne)}let Wr=4.000244140625;class Cn{constructor(R,ne){this._onTimeout=be=>{this._type=\"wheel\",this._delta-=this._lastValue,this._active||this._start(be)},this._map=R,this._tr=new bu(R),this._triggerRenderFrame=ne,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222}setZoomRate(R){this._defaultZoomRate=R}setWheelZoomRate(R){this._wheelZoomRate=R}isEnabled(){return!!this._enabled}isActive(){return!!this._active||this._finishTimeout!==void 0}isZooming(){return!!this._zooming}enable(R){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!R&&R.around===\"center\")}disable(){this.isEnabled()&&(this._enabled=!1)}_shouldBePrevented(R){return!!this._map.cooperativeGestures.isEnabled()&&!(R.ctrlKey||this._map.cooperativeGestures.isBypassed(R))}wheel(R){if(!this.isEnabled())return;if(this._shouldBePrevented(R))return void this._map.cooperativeGestures.notifyGestureBlocked(\"wheel_zoom\",R);let ne=R.deltaMode===WheelEvent.DOM_DELTA_LINE?40*R.deltaY:R.deltaY,be=i.now(),Ae=be-(this._lastWheelEventTime||0);this._lastWheelEventTime=be,ne!==0&&ne%Wr==0?this._type=\"wheel\":ne!==0&&Math.abs(ne)<4?this._type=\"trackpad\":Ae>400?(this._type=null,this._lastValue=ne,this._timeout=setTimeout(this._onTimeout,40,R)):this._type||(this._type=Math.abs(Ae*ne)<200?\"trackpad\":\"wheel\",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ne+=this._lastValue)),R.shiftKey&&ne&&(ne/=4),this._type&&(this._lastWheelEvent=R,this._delta-=ne,this._active||this._start(R)),R.preventDefault()}_start(R){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);let ne=a.mousePos(this._map.getCanvas(),R),be=this._tr;this._around=ne.y>be.transform.height/2-be.transform.getHorizon()?t.N.convert(this._aroundCenter?be.center:be.unproject(ne)):t.N.convert(be.center),this._aroundPoint=be.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._triggerRenderFrame())}renderFrame(){if(!this._frameId||(this._frameId=null,!this.isActive()))return;let R=this._tr.transform;if(this._delta!==0){let zt=this._type===\"wheel\"&&Math.abs(this._delta)>Wr?this._wheelZoomRate:this._defaultZoomRate,Jt=2/(1+Math.exp(-Math.abs(this._delta*zt)));this._delta<0&&Jt!==0&&(Jt=1/Jt);let hr=typeof this._targetZoom==\"number\"?R.zoomScale(this._targetZoom):R.scale;this._targetZoom=Math.min(R.maxZoom,Math.max(R.minZoom,R.scaleZoom(hr*Jt))),this._type===\"wheel\"&&(this._startZoom=R.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}let ne=typeof this._targetZoom==\"number\"?this._targetZoom:R.zoom,be=this._startZoom,Ae=this._easing,Fe,ht=!1,wt=i.now()-this._lastWheelEventTime;if(this._type===\"wheel\"&&be&&Ae&&wt){let zt=Math.min(wt/200,1),Jt=Ae(zt);Fe=t.y.number(be,ne,Jt),zt<1?this._frameId||(this._frameId=!0):ht=!0}else Fe=ne,ht=!0;return this._active=!0,ht&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!ht,zoomDelta:Fe-R.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(R){let ne=t.b9;if(this._prevEase){let be=this._prevEase,Ae=(i.now()-be.start)/be.duration,Fe=be.easing(Ae+.01)-be.easing(Ae),ht=.27/Math.sqrt(Fe*Fe+1e-4)*.01,wt=Math.sqrt(.0729-ht*ht);ne=t.b8(ht,wt,.25,1)}return this._prevEase={start:i.now(),duration:R,easing:ne},ne}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout)}}class si{constructor(R,ne){this._clickZoom=R,this._tapZoom=ne}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class yi{constructor(R){this._tr=new bu(R),this.reset()}reset(){this._active=!1}dblclick(R,ne){return R.preventDefault(),{cameraAnimation:be=>{be.easeTo({duration:300,zoom:this._tr.zoom+(R.shiftKey?-1:1),around:this._tr.unproject(ne)},{originalEvent:R})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Di{constructor(){this._tap=new sf({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset()}touchstart(R,ne,be){if(!this._swipePoint)if(this._tapTime){let Ae=ne[0],Fe=R.timeStamp-this._tapTime<500,ht=this._tapPoint.dist(Ae)<30;Fe&&ht?be.length>0&&(this._swipePoint=Ae,this._swipeTouch=be[0].identifier):this.reset()}else this._tap.touchstart(R,ne,be)}touchmove(R,ne,be){if(this._tapTime){if(this._swipePoint){if(be[0].identifier!==this._swipeTouch)return;let Ae=ne[0],Fe=Ae.y-this._swipePoint.y;return this._swipePoint=Ae,R.preventDefault(),this._active=!0,{zoomDelta:Fe/128}}}else this._tap.touchmove(R,ne,be)}touchend(R,ne,be){if(this._tapTime)this._swipePoint&&be.length===0&&this.reset();else{let Ae=this._tap.touchend(R,ne,be);Ae&&(this._tapTime=R.timeStamp,this._tapPoint=Ae)}}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Wi{constructor(R,ne,be){this._el=R,this._mousePan=ne,this._touchPan=be}enable(R){this._inertiaOptions=R||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add(\"maplibregl-touch-drag-pan\")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove(\"maplibregl-touch-drag-pan\")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class aa{constructor(R,ne,be){this._pitchWithRotate=R.pitchWithRotate,this._mouseRotate=ne,this._mousePitch=be}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class bi{constructor(R,ne,be,Ae){this._el=R,this._touchZoom=ne,this._touchRotate=be,this._tapDragZoom=Ae,this._rotationDisabled=!1,this._enabled=!0}enable(R){this._touchZoom.enable(R),this._rotationDisabled||this._touchRotate.enable(R),this._tapDragZoom.enable(),this._el.classList.add(\"maplibregl-touch-zoom-rotate\")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove(\"maplibregl-touch-zoom-rotate\")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}class zi{constructor(R,ne){this._bypassKey=navigator.userAgent.indexOf(\"Mac\")!==-1?\"metaKey\":\"ctrlKey\",this._map=R,this._options=ne,this._enabled=!1}isActive(){return!1}reset(){}_setupUI(){if(this._container)return;let R=this._map.getCanvasContainer();R.classList.add(\"maplibregl-cooperative-gestures\"),this._container=a.create(\"div\",\"maplibregl-cooperative-gesture-screen\",R);let ne=this._map._getUIString(\"CooperativeGesturesHandler.WindowsHelpText\");this._bypassKey===\"metaKey\"&&(ne=this._map._getUIString(\"CooperativeGesturesHandler.MacHelpText\"));let be=this._map._getUIString(\"CooperativeGesturesHandler.MobileHelpText\"),Ae=document.createElement(\"div\");Ae.className=\"maplibregl-desktop-message\",Ae.textContent=ne,this._container.appendChild(Ae);let Fe=document.createElement(\"div\");Fe.className=\"maplibregl-mobile-message\",Fe.textContent=be,this._container.appendChild(Fe),this._container.setAttribute(\"aria-hidden\",\"true\")}_destroyUI(){this._container&&(a.remove(this._container),this._map.getCanvasContainer().classList.remove(\"maplibregl-cooperative-gestures\")),delete this._container}enable(){this._setupUI(),this._enabled=!0}disable(){this._enabled=!1,this._destroyUI()}isEnabled(){return this._enabled}isBypassed(R){return R[this._bypassKey]}notifyGestureBlocked(R,ne){this._enabled&&(this._map.fire(new t.k(\"cooperativegestureprevented\",{gestureType:R,originalEvent:ne})),this._container.classList.add(\"maplibregl-show\"),setTimeout(()=>{this._container.classList.remove(\"maplibregl-show\")},100))}}let Li=Ne=>Ne.zoom||Ne.drag||Ne.pitch||Ne.rotate;class di extends t.k{}function wa(Ne){return Ne.panDelta&&Ne.panDelta.mag()||Ne.zoomDelta||Ne.bearingDelta||Ne.pitchDelta}class po{constructor(R,ne){this.handleWindowEvent=Ae=>{this.handleEvent(Ae,`${Ae.type}Window`)},this.handleEvent=(Ae,Fe)=>{if(Ae.type===\"blur\")return void this.stop(!0);this._updatingCamera=!0;let ht=Ae.type===\"renderFrame\"?void 0:Ae,wt={needsRenderFrame:!1},zt={},Jt={},hr=Ae.touches,vr=hr?this._getMapTouches(hr):void 0,Hr=vr?a.touchPos(this._map.getCanvas(),vr):a.mousePos(this._map.getCanvas(),Ae);for(let{handlerName:$e,handler:st,allowed:dt}of this._handlers){if(!st.isEnabled())continue;let St;this._blockedByActive(Jt,dt,$e)?st.reset():st[Fe||Ae.type]&&(St=st[Fe||Ae.type](Ae,Hr,vr),this.mergeHandlerResult(wt,zt,St,$e,ht),St&&St.needsRenderFrame&&this._triggerRenderFrame()),(St||st.isActive())&&(Jt[$e]=st)}let ln={};for(let $e in this._previousActiveHandlers)Jt[$e]||(ln[$e]=ht);this._previousActiveHandlers=Jt,(Object.keys(ln).length||wa(wt))&&(this._changes.push([wt,zt,ln]),this._triggerRenderFrame()),(Object.keys(Jt).length||wa(wt))&&this._map._stop(!0),this._updatingCamera=!1;let{cameraAnimation:Ge}=wt;Ge&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],Ge(this._map))},this._map=R,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ff(R),this._bearingSnap=ne.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ne);let be=this._el;this._listeners=[[be,\"touchstart\",{passive:!0}],[be,\"touchmove\",{passive:!1}],[be,\"touchend\",void 0],[be,\"touchcancel\",void 0],[be,\"mousedown\",void 0],[be,\"mousemove\",void 0],[be,\"mouseup\",void 0],[document,\"mousemove\",{capture:!0}],[document,\"mouseup\",void 0],[be,\"mouseover\",void 0],[be,\"mouseout\",void 0],[be,\"dblclick\",void 0],[be,\"click\",void 0],[be,\"keydown\",{capture:!1}],[be,\"keyup\",void 0],[be,\"wheel\",{passive:!1}],[be,\"contextmenu\",void 0],[window,\"blur\",void 0]];for(let[Ae,Fe,ht]of this._listeners)a.addEventListener(Ae,Fe,Ae===document?this.handleWindowEvent:this.handleEvent,ht)}destroy(){for(let[R,ne,be]of this._listeners)a.removeEventListener(R,ne,R===document?this.handleWindowEvent:this.handleEvent,be)}_addDefaultHandlers(R){let ne=this._map,be=ne.getCanvasContainer();this._add(\"mapEvent\",new Mf(ne,R));let Ae=ne.boxZoom=new wu(ne,R);this._add(\"boxZoom\",Ae),R.interactive&&R.boxZoom&&Ae.enable();let Fe=ne.cooperativeGestures=new zi(ne,R.cooperativeGestures);this._add(\"cooperativeGestures\",Fe),R.cooperativeGestures&&Fe.enable();let ht=new xc(ne),wt=new yi(ne);ne.doubleClickZoom=new si(wt,ht),this._add(\"tapZoom\",ht),this._add(\"clickZoom\",wt),R.interactive&&R.doubleClickZoom&&ne.doubleClickZoom.enable();let zt=new Di;this._add(\"tapDragZoom\",zt);let Jt=ne.touchPitch=new Yc(ne);this._add(\"touchPitch\",Jt),R.interactive&&R.touchPitch&&ne.touchPitch.enable(R.touchPitch);let hr=Xl(R),vr=Uf(R);ne.dragRotate=new aa(R,hr,vr),this._add(\"mouseRotate\",hr,[\"mousePitch\"]),this._add(\"mousePitch\",vr,[\"mouseRotate\"]),R.interactive&&R.dragRotate&&ne.dragRotate.enable();let Hr=(({enable:St,clickTolerance:xt})=>{let It=new uc({checkCorrectEvent:rr=>a.mouseButton(rr)===0&&!rr.ctrlKey});return new Gu({clickTolerance:xt,move:(rr,sr)=>({around:sr,panDelta:sr.sub(rr)}),activateOnStart:!0,moveStateManager:It,enable:St,assignEvents:Nf})})(R),ln=new Wu(R,ne);ne.dragPan=new Wi(be,Hr,ln),this._add(\"mousePan\",Hr),this._add(\"touchPan\",ln,[\"touchZoom\",\"touchRotate\"]),R.interactive&&R.dragPan&&ne.dragPan.enable(R.dragPan);let Ge=new Dc,$e=new uu;ne.touchZoomRotate=new bi(be,$e,Ge,zt),this._add(\"touchRotate\",Ge,[\"touchPan\",\"touchZoom\"]),this._add(\"touchZoom\",$e,[\"touchPan\",\"touchRotate\"]),R.interactive&&R.touchZoomRotate&&ne.touchZoomRotate.enable(R.touchZoomRotate);let st=ne.scrollZoom=new Cn(ne,()=>this._triggerRenderFrame());this._add(\"scrollZoom\",st,[\"mousePan\"]),R.interactive&&R.scrollZoom&&ne.scrollZoom.enable(R.scrollZoom);let dt=ne.keyboard=new dr(ne);this._add(\"keyboard\",dt),R.interactive&&R.keyboard&&ne.keyboard.enable(),this._add(\"blockableMapEvent\",new dl(ne))}_add(R,ne,be){this._handlers.push({handlerName:R,handler:ne,allowed:be}),this._handlersById[R]=ne}stop(R){if(!this._updatingCamera){for(let{handler:ne}of this._handlers)ne.reset();this._inertia.clear(),this._fireEvents({},{},R),this._changes=[]}}isActive(){for(let{handler:R}of this._handlers)if(R.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Li(this._eventsInProgress)||this.isZooming()}_blockedByActive(R,ne,be){for(let Ae in R)if(Ae!==be&&(!ne||ne.indexOf(Ae)<0))return!0;return!1}_getMapTouches(R){let ne=[];for(let be of R)this._el.contains(be.target)&&ne.push(be);return ne}mergeHandlerResult(R,ne,be,Ae,Fe){if(!be)return;t.e(R,be);let ht={handlerName:Ae,originalEvent:be.originalEvent||Fe};be.zoomDelta!==void 0&&(ne.zoom=ht),be.panDelta!==void 0&&(ne.drag=ht),be.pitchDelta!==void 0&&(ne.pitch=ht),be.bearingDelta!==void 0&&(ne.rotate=ht)}_applyChanges(){let R={},ne={},be={};for(let[Ae,Fe,ht]of this._changes)Ae.panDelta&&(R.panDelta=(R.panDelta||new t.P(0,0))._add(Ae.panDelta)),Ae.zoomDelta&&(R.zoomDelta=(R.zoomDelta||0)+Ae.zoomDelta),Ae.bearingDelta&&(R.bearingDelta=(R.bearingDelta||0)+Ae.bearingDelta),Ae.pitchDelta&&(R.pitchDelta=(R.pitchDelta||0)+Ae.pitchDelta),Ae.around!==void 0&&(R.around=Ae.around),Ae.pinchAround!==void 0&&(R.pinchAround=Ae.pinchAround),Ae.noInertia&&(R.noInertia=Ae.noInertia),t.e(ne,Fe),t.e(be,ht);this._updateMapTransform(R,ne,be),this._changes=[]}_updateMapTransform(R,ne,be){let Ae=this._map,Fe=Ae._getTransformForUpdate(),ht=Ae.terrain;if(!(wa(R)||ht&&this._terrainMovement))return this._fireEvents(ne,be,!0);let{panDelta:wt,zoomDelta:zt,bearingDelta:Jt,pitchDelta:hr,around:vr,pinchAround:Hr}=R;Hr!==void 0&&(vr=Hr),Ae._stop(!0),vr=vr||Ae.transform.centerPoint;let ln=Fe.pointLocation(wt?vr.sub(wt):vr);Jt&&(Fe.bearing+=Jt),hr&&(Fe.pitch+=hr),zt&&(Fe.zoom+=zt),ht?this._terrainMovement||!ne.drag&&!ne.zoom?ne.drag&&this._terrainMovement?Fe.center=Fe.pointLocation(Fe.centerPoint.sub(wt)):Fe.setLocationAtPoint(ln,vr):(this._terrainMovement=!0,this._map._elevationFreeze=!0,Fe.setLocationAtPoint(ln,vr)):Fe.setLocationAtPoint(ln,vr),Ae._applyUpdatedTransform(Fe),this._map._update(),R.noInertia||this._inertia.record(R),this._fireEvents(ne,be,!0)}_fireEvents(R,ne,be){let Ae=Li(this._eventsInProgress),Fe=Li(R),ht={};for(let vr in R){let{originalEvent:Hr}=R[vr];this._eventsInProgress[vr]||(ht[`${vr}start`]=Hr),this._eventsInProgress[vr]=R[vr]}!Ae&&Fe&&this._fireEvent(\"movestart\",Fe.originalEvent);for(let vr in ht)this._fireEvent(vr,ht[vr]);Fe&&this._fireEvent(\"move\",Fe.originalEvent);for(let vr in R){let{originalEvent:Hr}=R[vr];this._fireEvent(vr,Hr)}let wt={},zt;for(let vr in this._eventsInProgress){let{handlerName:Hr,originalEvent:ln}=this._eventsInProgress[vr];this._handlersById[Hr].isActive()||(delete this._eventsInProgress[vr],zt=ne[Hr]||ln,wt[`${vr}end`]=zt)}for(let vr in wt)this._fireEvent(vr,wt[vr]);let Jt=Li(this._eventsInProgress),hr=(Ae||Fe)&&!Jt;if(hr&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;let vr=this._map._getTransformForUpdate();vr.recalculateZoom(this._map.terrain),this._map._applyUpdatedTransform(vr)}if(be&&hr){this._updatingCamera=!0;let vr=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),Hr=ln=>ln!==0&&-this._bearingSnap{delete this._frameId,this.handleEvent(new di(\"renderFrame\",{timeStamp:R})),this._applyChanges()})}_triggerRenderFrame(){this._frameId===void 0&&(this._frameId=this._requestFrame())}}class co extends t.E{constructor(R,ne){super(),this._renderFrameCallback=()=>{let be=Math.min((i.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(be)),be<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},this._moving=!1,this._zooming=!1,this.transform=R,this._bearingSnap=ne.bearingSnap,this.on(\"moveend\",()=>{delete this._requestedCameraState})}getCenter(){return new t.N(this.transform.center.lng,this.transform.center.lat)}setCenter(R,ne){return this.jumpTo({center:R},ne)}panBy(R,ne,be){return R=t.P.convert(R).mult(-1),this.panTo(this.transform.center,t.e({offset:R},ne),be)}panTo(R,ne,be){return this.easeTo(t.e({center:R},ne),be)}getZoom(){return this.transform.zoom}setZoom(R,ne){return this.jumpTo({zoom:R},ne),this}zoomTo(R,ne,be){return this.easeTo(t.e({zoom:R},ne),be)}zoomIn(R,ne){return this.zoomTo(this.getZoom()+1,R,ne),this}zoomOut(R,ne){return this.zoomTo(this.getZoom()-1,R,ne),this}getBearing(){return this.transform.bearing}setBearing(R,ne){return this.jumpTo({bearing:R},ne),this}getPadding(){return this.transform.padding}setPadding(R,ne){return this.jumpTo({padding:R},ne),this}rotateTo(R,ne,be){return this.easeTo(t.e({bearing:R},ne),be)}resetNorth(R,ne){return this.rotateTo(0,t.e({duration:1e3},R),ne),this}resetNorthPitch(R,ne){return this.easeTo(t.e({bearing:0,pitch:0,duration:1e3},R),ne),this}snapToNorth(R,ne){return Math.abs(this.getBearing()){if(this._zooming&&(Ae.zoom=t.y.number(Fe,st,pr)),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,pr)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,pr)),this._padding&&(Ae.interpolatePadding(zt,vr,pr),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(pr),It)Ae.setLocationAtPoint(It,rr);else{let kr=Ae.zoomScale(Ae.zoom-Fe),Yr=st>Fe?Math.min(2,xt):Math.max(.5,xt),_n=Math.pow(Yr,1-pr),Mn=Ae.unproject(dt.add(St.mult(pr*_n)).mult(kr));Ae.setLocationAtPoint(Ae.renderWorldCopies?Mn.wrap():Mn,ln)}this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},pr=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne,pr)},R),this}_prepareEase(R,ne,be={}){this._moving=!0,ne||be.moving||this.fire(new t.k(\"movestart\",R)),this._zooming&&!be.zooming&&this.fire(new t.k(\"zoomstart\",R)),this._rotating&&!be.rotating&&this.fire(new t.k(\"rotatestart\",R)),this._pitching&&!be.pitching&&this.fire(new t.k(\"pitchstart\",R))}_prepareElevation(R){this._elevationCenter=R,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(R,this.transform.tileZoom),this._elevationFreeze=!0}_updateElevation(R){this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);let ne=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(R<1&&ne!==this._elevationTarget){let be=this._elevationTarget-this._elevationStart;this._elevationStart+=R*(be-(ne-(be*R+this._elevationStart))/(1-R)),this._elevationTarget=ne}this.transform.elevation=t.y.number(this._elevationStart,this._elevationTarget,R)}_finalizeElevation(){this._elevationFreeze=!1,this.transform.recalculateZoom(this.terrain)}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(R){let ne=R.getCameraPosition(),be=this.terrain.getElevationForLngLatZoom(ne.lngLat,R.zoom);if(ne.altitudethis._elevateCameraIfInsideTerrain(Ae)),this.transformCameraUpdate&&ne.push(Ae=>this.transformCameraUpdate(Ae)),!ne.length)return;let be=R.clone();for(let Ae of ne){let Fe=be.clone(),{center:ht,zoom:wt,pitch:zt,bearing:Jt,elevation:hr}=Ae(Fe);ht&&(Fe.center=ht),wt!==void 0&&(Fe.zoom=wt),zt!==void 0&&(Fe.pitch=zt),Jt!==void 0&&(Fe.bearing=Jt),hr!==void 0&&(Fe.elevation=hr),be.apply(Fe)}this.transform.apply(be)}_fireMoveEvents(R){this.fire(new t.k(\"move\",R)),this._zooming&&this.fire(new t.k(\"zoom\",R)),this._rotating&&this.fire(new t.k(\"rotate\",R)),this._pitching&&this.fire(new t.k(\"pitch\",R))}_afterEase(R,ne){if(this._easeId&&ne&&this._easeId===ne)return;delete this._easeId;let be=this._zooming,Ae=this._rotating,Fe=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,be&&this.fire(new t.k(\"zoomend\",R)),Ae&&this.fire(new t.k(\"rotateend\",R)),Fe&&this.fire(new t.k(\"pitchend\",R)),this.fire(new t.k(\"moveend\",R))}flyTo(R,ne){var be;if(!R.essential&&i.prefersReducedMotion){let Zi=t.M(R,[\"center\",\"zoom\",\"bearing\",\"pitch\",\"around\"]);return this.jumpTo(Zi,ne)}this.stop(),R=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.b9},R);let Ae=this._getTransformForUpdate(),Fe=Ae.zoom,ht=Ae.bearing,wt=Ae.pitch,zt=Ae.padding,Jt=\"bearing\"in R?this._normalizeBearing(R.bearing,ht):ht,hr=\"pitch\"in R?+R.pitch:wt,vr=\"padding\"in R?R.padding:Ae.padding,Hr=t.P.convert(R.offset),ln=Ae.centerPoint.add(Hr),Ge=Ae.pointLocation(ln),{center:$e,zoom:st}=Ae.getConstrained(t.N.convert(R.center||Ge),(be=R.zoom)!==null&&be!==void 0?be:Fe);this._normalizeCenter($e,Ae);let dt=Ae.zoomScale(st-Fe),St=Ae.project(Ge),xt=Ae.project($e).sub(St),It=R.curve,rr=Math.max(Ae.width,Ae.height),sr=rr/dt,pr=xt.mag();if(\"minZoom\"in R){let Zi=t.ac(Math.min(R.minZoom,Fe,st),Ae.minZoom,Ae.maxZoom),ya=rr/Ae.zoomScale(Zi-Fe);It=Math.sqrt(ya/pr*2)}let kr=It*It;function Yr(Zi){let ya=(sr*sr-rr*rr+(Zi?-1:1)*kr*kr*pr*pr)/(2*(Zi?sr:rr)*kr*pr);return Math.log(Math.sqrt(ya*ya+1)-ya)}function _n(Zi){return(Math.exp(Zi)-Math.exp(-Zi))/2}function Mn(Zi){return(Math.exp(Zi)+Math.exp(-Zi))/2}let Un=Yr(!1),li=function(Zi){return Mn(Un)/Mn(Un+It*Zi)},ki=function(Zi){return rr*((Mn(Un)*(_n(ya=Un+It*Zi)/Mn(ya))-_n(Un))/kr)/pr;var ya},Ci=(Yr(!0)-Un)/It;if(Math.abs(pr)<1e-6||!isFinite(Ci)){if(Math.abs(rr-sr)<1e-6)return this.easeTo(R,ne);let Zi=sr0,li=ya=>Math.exp(Zi*It*ya)}return R.duration=\"duration\"in R?+R.duration:1e3*Ci/(\"screenSpeed\"in R?+R.screenSpeed/It:+R.speed),R.maxDuration&&R.duration>R.maxDuration&&(R.duration=0),this._zooming=!0,this._rotating=ht!==Jt,this._pitching=hr!==wt,this._padding=!Ae.isPaddingEqual(vr),this._prepareEase(ne,!1),this.terrain&&this._prepareElevation($e),this._ease(Zi=>{let ya=Zi*Ci,ro=1/li(ya);Ae.zoom=Zi===1?st:Fe+Ae.scaleZoom(ro),this._rotating&&(Ae.bearing=t.y.number(ht,Jt,Zi)),this._pitching&&(Ae.pitch=t.y.number(wt,hr,Zi)),this._padding&&(Ae.interpolatePadding(zt,vr,Zi),ln=Ae.centerPoint.add(Hr)),this.terrain&&!R.freezeElevation&&this._updateElevation(Zi);let Va=Zi===1?$e:Ae.unproject(St.add(xt.mult(ki(ya))).mult(ro));Ae.setLocationAtPoint(Ae.renderWorldCopies?Va.wrap():Va,ln),this._applyUpdatedTransform(Ae),this._fireMoveEvents(ne)},()=>{this.terrain&&R.freezeElevation&&this._finalizeElevation(),this._afterEase(ne)},R),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(R,ne){var be;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){let Ae=this._onEaseEnd;delete this._onEaseEnd,Ae.call(this,ne)}return R||(be=this.handlers)===null||be===void 0||be.stop(!1),this}_ease(R,ne,be){be.animate===!1||be.duration===0?(R(1),ne()):(this._easeStart=i.now(),this._easeOptions=be,this._onEaseFrame=R,this._onEaseEnd=ne,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_normalizeBearing(R,ne){R=t.b3(R,-180,180);let be=Math.abs(R-ne);return Math.abs(R-360-ne)180?-360:be<-180?360:0}queryTerrainElevation(R){return this.terrain?this.terrain.getElevationForLngLatZoom(t.N.convert(R),this.transform.tileZoom)-this.transform.elevation:null}}let mo={compact:!0,customAttribution:'MapLibre'};class Ao{constructor(R=mo){this._toggleAttribution=()=>{this._container.classList.contains(\"maplibregl-compact\")&&(this._container.classList.contains(\"maplibregl-compact-show\")?(this._container.setAttribute(\"open\",\"\"),this._container.classList.remove(\"maplibregl-compact-show\")):(this._container.classList.add(\"maplibregl-compact-show\"),this._container.removeAttribute(\"open\")))},this._updateData=ne=>{!ne||ne.sourceDataType!==\"metadata\"&&ne.sourceDataType!==\"visibility\"&&ne.dataType!==\"style\"&&ne.type!==\"terrain\"||this._updateAttributions()},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact===!1?this._container.setAttribute(\"open\",\"\"):this._container.classList.contains(\"maplibregl-compact\")||this._container.classList.contains(\"maplibregl-attrib-empty\")||(this._container.setAttribute(\"open\",\"\"),this._container.classList.add(\"maplibregl-compact\",\"maplibregl-compact-show\")):(this._container.setAttribute(\"open\",\"\"),this._container.classList.contains(\"maplibregl-compact\")&&this._container.classList.remove(\"maplibregl-compact\",\"maplibregl-compact-show\"))},this._updateCompactMinimize=()=>{this._container.classList.contains(\"maplibregl-compact\")&&this._container.classList.contains(\"maplibregl-compact-show\")&&this._container.classList.remove(\"maplibregl-compact-show\")},this.options=R}getDefaultPosition(){return\"bottom-right\"}onAdd(R){return this._map=R,this._compact=this.options.compact,this._container=a.create(\"details\",\"maplibregl-ctrl maplibregl-ctrl-attrib\"),this._compactButton=a.create(\"summary\",\"maplibregl-ctrl-attrib-button\",this._container),this._compactButton.addEventListener(\"click\",this._toggleAttribution),this._setElementTitle(this._compactButton,\"ToggleAttribution\"),this._innerContainer=a.create(\"div\",\"maplibregl-ctrl-attrib-inner\",this._container),this._updateAttributions(),this._updateCompact(),this._map.on(\"styledata\",this._updateData),this._map.on(\"sourcedata\",this._updateData),this._map.on(\"terrain\",this._updateData),this._map.on(\"resize\",this._updateCompact),this._map.on(\"drag\",this._updateCompactMinimize),this._container}onRemove(){a.remove(this._container),this._map.off(\"styledata\",this._updateData),this._map.off(\"sourcedata\",this._updateData),this._map.off(\"terrain\",this._updateData),this._map.off(\"resize\",this._updateCompact),this._map.off(\"drag\",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(R,ne){let be=this._map._getUIString(`AttributionControl.${ne}`);R.title=be,R.setAttribute(\"aria-label\",be)}_updateAttributions(){if(!this._map.style)return;let R=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?R=R.concat(this.options.customAttribution.map(Ae=>typeof Ae!=\"string\"?\"\":Ae)):typeof this.options.customAttribution==\"string\"&&R.push(this.options.customAttribution)),this._map.style.stylesheet){let Ae=this._map.style.stylesheet;this.styleOwner=Ae.owner,this.styleId=Ae.id}let ne=this._map.style.sourceCaches;for(let Ae in ne){let Fe=ne[Ae];if(Fe.used||Fe.usedForTerrain){let ht=Fe.getSource();ht.attribution&&R.indexOf(ht.attribution)<0&&R.push(ht.attribution)}}R=R.filter(Ae=>String(Ae).trim()),R.sort((Ae,Fe)=>Ae.length-Fe.length),R=R.filter((Ae,Fe)=>{for(let ht=Fe+1;ht=0)return!1;return!0});let be=R.join(\" | \");be!==this._attribHTML&&(this._attribHTML=be,R.length?(this._innerContainer.innerHTML=be,this._container.classList.remove(\"maplibregl-attrib-empty\")):this._container.classList.add(\"maplibregl-attrib-empty\"),this._updateCompact(),this._editLink=null)}}class xa{constructor(R={}){this._updateCompact=()=>{let ne=this._container.children;if(ne.length){let be=ne[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact!==!1&&be.classList.add(\"maplibregl-compact\"):be.classList.remove(\"maplibregl-compact\")}},this.options=R}getDefaultPosition(){return\"bottom-left\"}onAdd(R){this._map=R,this._compact=this.options&&this.options.compact,this._container=a.create(\"div\",\"maplibregl-ctrl\");let ne=a.create(\"a\",\"maplibregl-ctrl-logo\");return ne.target=\"_blank\",ne.rel=\"noopener nofollow\",ne.href=\"https://maplibre.org/\",ne.setAttribute(\"aria-label\",this._map._getUIString(\"LogoControl.Title\")),ne.setAttribute(\"rel\",\"noopener nofollow\"),this._container.appendChild(ne),this._container.style.display=\"block\",this._map.on(\"resize\",this._updateCompact),this._updateCompact(),this._container}onRemove(){a.remove(this._container),this._map.off(\"resize\",this._updateCompact),this._map=void 0,this._compact=void 0}}class Qi{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(R){let ne=++this._id;return this._queue.push({callback:R,id:ne,cancelled:!1}),ne}remove(R){let ne=this._currentlyRunning,be=ne?this._queue.concat(ne):this._queue;for(let Ae of be)if(Ae.id===R)return void(Ae.cancelled=!0)}run(R=0){if(this._currentlyRunning)throw new Error(\"Attempting to run(), but is already running.\");let ne=this._currentlyRunning=this._queue;this._queue=[];for(let be of ne)if(!be.cancelled&&(be.callback(R),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}var Lo=t.Y([{name:\"a_pos3d\",type:\"Int16\",components:3}]);class as extends t.E{constructor(R){super(),this.sourceCache=R,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,R.usedForTerrain=!0,R.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null}update(R,ne){this.sourceCache.update(R,ne),this._renderableTilesKeys=[];let be={};for(let Ae of R.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:ne}))be[Ae.key]=!0,this._renderableTilesKeys.push(Ae.key),this._tiles[Ae.key]||(Ae.posMatrix=new Float64Array(16),t.aP(Ae.posMatrix,0,t.X,0,t.X,0,1),this._tiles[Ae.key]=new ot(Ae,this.tileSize));for(let Ae in this._tiles)be[Ae]||delete this._tiles[Ae]}freeRtt(R){for(let ne in this._tiles){let be=this._tiles[ne];(!R||be.tileID.equals(R)||be.tileID.isChildOf(R)||R.isChildOf(be.tileID))&&(be.rtt=[])}}getRenderableTiles(){return this._renderableTilesKeys.map(R=>this.getTileByID(R))}getTileByID(R){return this._tiles[R]}getTerrainCoords(R){let ne={};for(let be of this._renderableTilesKeys){let Ae=this._tiles[be].tileID;if(Ae.canonical.equals(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16),t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),ne[be]=Fe}else if(Ae.canonical.isChildOf(R.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=Ae.canonical.z-R.canonical.z,wt=Ae.canonical.x-(Ae.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,Jt,0,Jt,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[-wt*Jt,-zt*Jt,0]),ne[be]=Fe}else if(R.canonical.isChildOf(Ae.canonical)){let Fe=R.clone();Fe.posMatrix=new Float64Array(16);let ht=R.canonical.z-Ae.canonical.z,wt=R.canonical.x-(R.canonical.x>>ht<>ht<>ht;t.aP(Fe.posMatrix,0,t.X,0,t.X,0,1),t.J(Fe.posMatrix,Fe.posMatrix,[wt*Jt,zt*Jt,0]),t.K(Fe.posMatrix,Fe.posMatrix,[1/2**ht,1/2**ht,0]),ne[be]=Fe}}return ne}getSourceTile(R,ne){let be=this.sourceCache._source,Ae=R.overscaledZ-this.deltaZoom;if(Ae>be.maxzoom&&(Ae=be.maxzoom),Ae=be.minzoom&&(!Fe||!Fe.dem);)Fe=this.sourceCache.getTileByID(R.scaledTo(Ae--).key);return Fe}tilesAfterTime(R=Date.now()){return Object.values(this._tiles).filter(ne=>ne.timeAdded>=R)}}class Ds{constructor(R,ne,be){this.painter=R,this.sourceCache=new as(ne),this.options=be,this.exaggeration=typeof be.exaggeration==\"number\"?be.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024}getDEMElevation(R,ne,be,Ae=t.X){var Fe;if(!(ne>=0&&ne=0&&beR.canonical.z&&(R.canonical.z>=Ae?Fe=R.canonical.z-Ae:t.w(\"cannot calculate elevation if elevation maxzoom > source.maxzoom\"));let ht=R.canonical.x-(R.canonical.x>>Fe<>Fe<>8<<4|Fe>>8,ne[ht+3]=0;let be=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(ne.buffer)),Ae=new u(R,be,R.gl.RGBA,{premultiply:!1});return Ae.bind(R.gl.NEAREST,R.gl.CLAMP_TO_EDGE),this._coordsTexture=Ae,Ae}pointCoordinate(R){this.painter.maybeDrawDepthAndCoords(!0);let ne=new Uint8Array(4),be=this.painter.context,Ae=be.gl,Fe=Math.round(R.x*this.painter.pixelRatio/devicePixelRatio),ht=Math.round(R.y*this.painter.pixelRatio/devicePixelRatio),wt=Math.round(this.painter.height/devicePixelRatio);be.bindFramebuffer.set(this.getFramebuffer(\"coords\").framebuffer),Ae.readPixels(Fe,wt-ht-1,1,1,Ae.RGBA,Ae.UNSIGNED_BYTE,ne),be.bindFramebuffer.set(null);let zt=ne[0]+(ne[2]>>4<<8),Jt=ne[1]+((15&ne[2])<<8),hr=this.coordsIndex[255-ne[3]],vr=hr&&this.sourceCache.getTileByID(hr);if(!vr)return null;let Hr=this._coordsTextureSize,ln=(1<R.id!==ne),this._recentlyUsed.push(R.id)}stampObject(R){R.stamp=++this._stamp}getOrCreateFreeObject(){for(let ne of this._recentlyUsed)if(!this._objects[ne].inUse)return this._objects[ne];if(this._objects.length>=this._size)throw new Error(\"No free RenderPool available, call freeAllObjects() required!\");let R=this._createObject(this._objects.length);return this._objects.push(R),R}freeObject(R){R.inUse=!1}freeAllObjects(){for(let R of this._objects)this.freeObject(R)}isFull(){return!(this._objects.length!R.inUse)===!1}}let Ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0};class el{constructor(R,ne){this.painter=R,this.terrain=ne,this.pool=new il(R.context,30,ne.sourceCache.tileSize*ne.qualityFactor)}destruct(){this.pool.destruct()}getTexture(R){return this.pool.getObjectForId(R.rtt[this._stacks.length-1].id).texture}prepareForRender(R,ne){this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.sourceCache.getRenderableTiles(),this._renderableLayerIds=R._order.filter(be=>!R._layers[be].isHidden(ne)),this._coordsDescendingInv={};for(let be in R.sourceCaches){this._coordsDescendingInv[be]={};let Ae=R.sourceCaches[be].getVisibleCoordinates();for(let Fe of Ae){let ht=this.terrain.sourceCache.getTerrainCoords(Fe);for(let wt in ht)this._coordsDescendingInv[be][wt]||(this._coordsDescendingInv[be][wt]=[]),this._coordsDescendingInv[be][wt].push(ht[wt])}}this._coordsDescendingInvStr={};for(let be of R._order){let Ae=R._layers[be],Fe=Ae.source;if(Ns[Ae.type]&&!this._coordsDescendingInvStr[Fe]){this._coordsDescendingInvStr[Fe]={};for(let ht in this._coordsDescendingInv[Fe])this._coordsDescendingInvStr[Fe][ht]=this._coordsDescendingInv[Fe][ht].map(wt=>wt.key).sort().join()}}for(let be of this._renderableTiles)for(let Ae in this._coordsDescendingInvStr){let Fe=this._coordsDescendingInvStr[Ae][be.tileID.key];Fe&&Fe!==be.rttCoords[Ae]&&(be.rtt=[])}}renderLayer(R){if(R.isHidden(this.painter.transform.zoom))return!1;let ne=R.type,be=this.painter,Ae=this._renderableLayerIds[this._renderableLayerIds.length-1]===R.id;if(Ns[ne]&&(this._prevType&&Ns[this._prevType]||this._stacks.push([]),this._prevType=ne,this._stacks[this._stacks.length-1].push(R.id),!Ae))return!0;if(Ns[this._prevType]||Ns[ne]&&Ae){this._prevType=ne;let Fe=this._stacks.length-1,ht=this._stacks[Fe]||[];for(let wt of this._renderableTiles){if(this.pool.isFull()&&(su(this.painter,this.terrain,this._rttTiles),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(wt),wt.rtt[Fe]){let Jt=this.pool.getObjectForId(wt.rtt[Fe].id);if(Jt.stamp===wt.rtt[Fe].stamp){this.pool.useObject(Jt);continue}}let zt=this.pool.getOrCreateFreeObject();this.pool.useObject(zt),this.pool.stampObject(zt),wt.rtt[Fe]={id:zt.id,stamp:zt.stamp},be.context.bindFramebuffer.set(zt.fbo.framebuffer),be.context.clear({color:t.aM.transparent,stencil:0}),be.currentStencilSource=void 0;for(let Jt=0;Jt{Ne.touchstart=Ne.dragStart,Ne.touchmoveWindow=Ne.dragMove,Ne.touchend=Ne.dragEnd},Za={showCompass:!0,showZoom:!0,visualizePitch:!1};class jo{constructor(R,ne,be=!1){this.mousedown=ht=>{this.startMouse(t.e({},ht,{ctrlKey:!0,preventDefault:()=>ht.preventDefault()}),a.mousePos(this.element,ht)),a.addEventListener(window,\"mousemove\",this.mousemove),a.addEventListener(window,\"mouseup\",this.mouseup)},this.mousemove=ht=>{this.moveMouse(ht,a.mousePos(this.element,ht))},this.mouseup=ht=>{this.mouseRotate.dragEnd(ht),this.mousePitch&&this.mousePitch.dragEnd(ht),this.offTemp()},this.touchstart=ht=>{ht.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.startTouch(ht,this._startPos),a.addEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.addEventListener(window,\"touchend\",this.touchend))},this.touchmove=ht=>{ht.targetTouches.length!==1?this.reset():(this._lastPos=a.touchPos(this.element,ht.targetTouches)[0],this.moveTouch(ht,this._lastPos))},this.touchend=ht=>{ht.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),this.touchRotate.reset(),this.touchPitch&&this.touchPitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()},this._clickTolerance=10;let Ae=R.dragRotate._mouseRotate.getClickTolerance(),Fe=R.dragRotate._mousePitch.getClickTolerance();this.element=ne,this.mouseRotate=Xl({clickTolerance:Ae,enable:!0}),this.touchRotate=(({enable:ht,clickTolerance:wt,bearingDegreesPerPixelMoved:zt=.8})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({bearingDelta:(vr.x-hr.x)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Ae,enable:!0}),this.map=R,be&&(this.mousePitch=Uf({clickTolerance:Fe,enable:!0}),this.touchPitch=(({enable:ht,clickTolerance:wt,pitchDegreesPerPixelMoved:zt=-.5})=>{let Jt=new Zc;return new Gu({clickTolerance:wt,move:(hr,vr)=>({pitchDelta:(vr.y-hr.y)*zt}),moveStateManager:Jt,enable:ht,assignEvents:cl})})({clickTolerance:Fe,enable:!0})),a.addEventListener(ne,\"mousedown\",this.mousedown),a.addEventListener(ne,\"touchstart\",this.touchstart,{passive:!1}),a.addEventListener(ne,\"touchcancel\",this.reset)}startMouse(R,ne){this.mouseRotate.dragStart(R,ne),this.mousePitch&&this.mousePitch.dragStart(R,ne),a.disableDrag()}startTouch(R,ne){this.touchRotate.dragStart(R,ne),this.touchPitch&&this.touchPitch.dragStart(R,ne),a.disableDrag()}moveMouse(R,ne){let be=this.map,{bearingDelta:Ae}=this.mouseRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.mousePitch){let{pitchDelta:Fe}=this.mousePitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}moveTouch(R,ne){let be=this.map,{bearingDelta:Ae}=this.touchRotate.dragMove(R,ne)||{};if(Ae&&be.setBearing(be.getBearing()+Ae),this.touchPitch){let{pitchDelta:Fe}=this.touchPitch.dragMove(R,ne)||{};Fe&&be.setPitch(be.getPitch()+Fe)}}off(){let R=this.element;a.removeEventListener(R,\"mousedown\",this.mousedown),a.removeEventListener(R,\"touchstart\",this.touchstart,{passive:!1}),a.removeEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.removeEventListener(window,\"touchend\",this.touchend),a.removeEventListener(R,\"touchcancel\",this.reset),this.offTemp()}offTemp(){a.enableDrag(),a.removeEventListener(window,\"mousemove\",this.mousemove),a.removeEventListener(window,\"mouseup\",this.mouseup),a.removeEventListener(window,\"touchmove\",this.touchmove,{passive:!1}),a.removeEventListener(window,\"touchend\",this.touchend)}}let Js;function zs(Ne,R,ne){let be=new t.N(Ne.lng,Ne.lat);if(Ne=new t.N(Ne.lng,Ne.lat),R){let Ae=new t.N(Ne.lng-360,Ne.lat),Fe=new t.N(Ne.lng+360,Ne.lat),ht=ne.locationPoint(Ne).distSqr(R);ne.locationPoint(Ae).distSqr(R)180;){let Ae=ne.locationPoint(Ne);if(Ae.x>=0&&Ae.y>=0&&Ae.x<=ne.width&&Ae.y<=ne.height)break;Ne.lng>ne.center.lng?Ne.lng-=360:Ne.lng+=360}return Ne.lng!==be.lng&&ne.locationPoint(Ne).y>ne.height/2-ne.getHorizon()?Ne:be}let cu={center:\"translate(-50%,-50%)\",top:\"translate(-50%,0)\",\"top-left\":\"translate(0,0)\",\"top-right\":\"translate(-100%,0)\",bottom:\"translate(-50%,-100%)\",\"bottom-left\":\"translate(0,-100%)\",\"bottom-right\":\"translate(-100%,-100%)\",left:\"translate(0,-50%)\",right:\"translate(-100%,-50%)\"};function zu(Ne,R,ne){let be=Ne.classList;for(let Ae in cu)be.remove(`maplibregl-${ne}-anchor-${Ae}`);be.add(`maplibregl-${ne}-anchor-${R}`)}class nc extends t.E{constructor(R){if(super(),this._onKeyPress=ne=>{let be=ne.code,Ae=ne.charCode||ne.keyCode;be!==\"Space\"&&be!==\"Enter\"&&Ae!==32&&Ae!==13||this.togglePopup()},this._onMapClick=ne=>{let be=ne.originalEvent.target,Ae=this._element;this._popup&&(be===Ae||Ae.contains(be))&&this.togglePopup()},this._update=ne=>{var be;if(!this._map)return;let Ae=this._map.loaded()&&!this._map.isMoving();(ne?.type===\"terrain\"||ne?.type===\"render\"&&!Ae)&&this._map.once(\"render\",this._update),this._lngLat=this._map.transform.renderWorldCopies?zs(this._lngLat,this._flatPos,this._map.transform):(be=this._lngLat)===null||be===void 0?void 0:be.wrap(),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationPoint(this._lngLat)._add(this._offset));let Fe=\"\";this._rotationAlignment===\"viewport\"||this._rotationAlignment===\"auto\"?Fe=`rotateZ(${this._rotation}deg)`:this._rotationAlignment===\"map\"&&(Fe=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let ht=\"\";this._pitchAlignment===\"viewport\"||this._pitchAlignment===\"auto\"?ht=\"rotateX(0deg)\":this._pitchAlignment===\"map\"&&(ht=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||ne&&ne.type!==\"moveend\"||(this._pos=this._pos.round()),a.setTransform(this._element,`${cu[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${ht} ${Fe}`),i.frameAsync(new AbortController).then(()=>{this._updateOpacity(ne&&ne.type===\"moveend\")}).catch(()=>{})},this._onMove=ne=>{if(!this._isDragging){let be=this._clickTolerance||this._map._clickTolerance;this._isDragging=ne.point.dist(this._pointerdownPos)>=be}this._isDragging&&(this._pos=ne.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents=\"none\",this._state===\"pending\"&&(this._state=\"active\",this.fire(new t.k(\"dragstart\"))),this.fire(new t.k(\"drag\")))},this._onUp=()=>{this._element.style.pointerEvents=\"auto\",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),this._state===\"active\"&&this.fire(new t.k(\"dragend\")),this._state=\"inactive\"},this._addDragHandler=ne=>{this._element.contains(ne.originalEvent.target)&&(ne.preventDefault(),this._positionDelta=ne.point.sub(this._pos).add(this._offset),this._pointerdownPos=ne.point,this._state=\"pending\",this._map.on(\"mousemove\",this._onMove),this._map.on(\"touchmove\",this._onMove),this._map.once(\"mouseup\",this._onUp),this._map.once(\"touchend\",this._onUp))},this._anchor=R&&R.anchor||\"center\",this._color=R&&R.color||\"#3FB1CE\",this._scale=R&&R.scale||1,this._draggable=R&&R.draggable||!1,this._clickTolerance=R&&R.clickTolerance||0,this._subpixelPositioning=R&&R.subpixelPositioning||!1,this._isDragging=!1,this._state=\"inactive\",this._rotation=R&&R.rotation||0,this._rotationAlignment=R&&R.rotationAlignment||\"auto\",this._pitchAlignment=R&&R.pitchAlignment&&R.pitchAlignment!==\"auto\"?R.pitchAlignment:this._rotationAlignment,this.setOpacity(),this.setOpacity(R?.opacity,R?.opacityWhenCovered),R&&R.element)this._element=R.element,this._offset=t.P.convert(R&&R.offset||[0,0]);else{this._defaultMarker=!0,this._element=a.create(\"div\");let ne=a.createNS(\"http://www.w3.org/2000/svg\",\"svg\"),be=41,Ae=27;ne.setAttributeNS(null,\"display\",\"block\"),ne.setAttributeNS(null,\"height\",`${be}px`),ne.setAttributeNS(null,\"width\",`${Ae}px`),ne.setAttributeNS(null,\"viewBox\",`0 0 ${Ae} ${be}`);let Fe=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Fe.setAttributeNS(null,\"stroke\",\"none\"),Fe.setAttributeNS(null,\"stroke-width\",\"1\"),Fe.setAttributeNS(null,\"fill\",\"none\"),Fe.setAttributeNS(null,\"fill-rule\",\"evenodd\");let ht=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");ht.setAttributeNS(null,\"fill-rule\",\"nonzero\");let wt=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");wt.setAttributeNS(null,\"transform\",\"translate(3.0, 29.0)\"),wt.setAttributeNS(null,\"fill\",\"#000000\");let zt=[{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"10.5\",ry:\"5.25002273\"},{rx:\"9.5\",ry:\"4.77275007\"},{rx:\"8.5\",ry:\"4.29549936\"},{rx:\"7.5\",ry:\"3.81822308\"},{rx:\"6.5\",ry:\"3.34094679\"},{rx:\"5.5\",ry:\"2.86367051\"},{rx:\"4.5\",ry:\"2.38636864\"}];for(let dt of zt){let St=a.createNS(\"http://www.w3.org/2000/svg\",\"ellipse\");St.setAttributeNS(null,\"opacity\",\"0.04\"),St.setAttributeNS(null,\"cx\",\"10.5\"),St.setAttributeNS(null,\"cy\",\"5.80029008\"),St.setAttributeNS(null,\"rx\",dt.rx),St.setAttributeNS(null,\"ry\",dt.ry),wt.appendChild(St)}let Jt=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Jt.setAttributeNS(null,\"fill\",this._color);let hr=a.createNS(\"http://www.w3.org/2000/svg\",\"path\");hr.setAttributeNS(null,\"d\",\"M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z\"),Jt.appendChild(hr);let vr=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");vr.setAttributeNS(null,\"opacity\",\"0.25\"),vr.setAttributeNS(null,\"fill\",\"#000000\");let Hr=a.createNS(\"http://www.w3.org/2000/svg\",\"path\");Hr.setAttributeNS(null,\"d\",\"M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z\"),vr.appendChild(Hr);let ln=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");ln.setAttributeNS(null,\"transform\",\"translate(6.0, 7.0)\"),ln.setAttributeNS(null,\"fill\",\"#FFFFFF\");let Ge=a.createNS(\"http://www.w3.org/2000/svg\",\"g\");Ge.setAttributeNS(null,\"transform\",\"translate(8.0, 8.0)\");let $e=a.createNS(\"http://www.w3.org/2000/svg\",\"circle\");$e.setAttributeNS(null,\"fill\",\"#000000\"),$e.setAttributeNS(null,\"opacity\",\"0.25\"),$e.setAttributeNS(null,\"cx\",\"5.5\"),$e.setAttributeNS(null,\"cy\",\"5.5\"),$e.setAttributeNS(null,\"r\",\"5.4999962\");let st=a.createNS(\"http://www.w3.org/2000/svg\",\"circle\");st.setAttributeNS(null,\"fill\",\"#FFFFFF\"),st.setAttributeNS(null,\"cx\",\"5.5\"),st.setAttributeNS(null,\"cy\",\"5.5\"),st.setAttributeNS(null,\"r\",\"5.4999962\"),Ge.appendChild($e),Ge.appendChild(st),ht.appendChild(wt),ht.appendChild(Jt),ht.appendChild(vr),ht.appendChild(ln),ht.appendChild(Ge),ne.appendChild(ht),ne.setAttributeNS(null,\"height\",be*this._scale+\"px\"),ne.setAttributeNS(null,\"width\",Ae*this._scale+\"px\"),this._element.appendChild(ne),this._offset=t.P.convert(R&&R.offset||[0,-14])}if(this._element.classList.add(\"maplibregl-marker\"),this._element.addEventListener(\"dragstart\",ne=>{ne.preventDefault()}),this._element.addEventListener(\"mousedown\",ne=>{ne.preventDefault()}),zu(this._element,this._anchor,\"marker\"),R&&R.className)for(let ne of R.className.split(\" \"))this._element.classList.add(ne);this._popup=null}addTo(R){return this.remove(),this._map=R,this._element.setAttribute(\"aria-label\",R._getUIString(\"Marker.Title\")),R.getCanvasContainer().appendChild(this._element),R.on(\"move\",this._update),R.on(\"moveend\",this._update),R.on(\"terrain\",this._update),this.setDraggable(this._draggable),this._update(),this._map.on(\"click\",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off(\"click\",this._onMapClick),this._map.off(\"move\",this._update),this._map.off(\"moveend\",this._update),this._map.off(\"terrain\",this._update),this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler),this._map.off(\"mouseup\",this._onUp),this._map.off(\"touchend\",this._onUp),this._map.off(\"mousemove\",this._onMove),this._map.off(\"touchmove\",this._onMove),delete this._map),a.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(R){return this._lngLat=t.N.convert(R),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(R){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener(\"keypress\",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute(\"tabindex\")),R){if(!(\"offset\"in R.options)){let Ae=Math.abs(13.5)/Math.SQRT2;R.options.offset=this._defaultMarker?{top:[0,0],\"top-left\":[0,0],\"top-right\":[0,0],bottom:[0,-38.1],\"bottom-left\":[Ae,-1*(38.1-13.5+Ae)],\"bottom-right\":[-Ae,-1*(38.1-13.5+Ae)],left:[13.5,-1*(38.1-13.5)],right:[-13.5,-1*(38.1-13.5)]}:this._offset}this._popup=R,this._originalTabIndex=this._element.getAttribute(\"tabindex\"),this._originalTabIndex||this._element.setAttribute(\"tabindex\",\"0\"),this._element.addEventListener(\"keypress\",this._onKeyPress)}return this}setSubpixelPositioning(R){return this._subpixelPositioning=R,this}getPopup(){return this._popup}togglePopup(){let R=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:R?(R.isOpen()?R.remove():(R.setLngLat(this._lngLat),R.addTo(this._map)),this):this}_updateOpacity(R=!1){var ne,be;if(!(!((ne=this._map)===null||ne===void 0)&&ne.terrain))return void(this._element.style.opacity!==this._opacity&&(this._element.style.opacity=this._opacity));if(R)this._opacityTimeout=null;else{if(this._opacityTimeout)return;this._opacityTimeout=setTimeout(()=>{this._opacityTimeout=null},100)}let Ae=this._map,Fe=Ae.terrain.depthAtPoint(this._pos),ht=Ae.terrain.getElevationForLngLatZoom(this._lngLat,Ae.transform.tileZoom);if(Ae.transform.lngLatToCameraDepth(this._lngLat,ht)-Fe<.006)return void(this._element.style.opacity=this._opacity);let wt=-this._offset.y/Ae.transform._pixelPerMeter,zt=Math.sin(Ae.getPitch()*Math.PI/180)*wt,Jt=Ae.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),hr=Ae.transform.lngLatToCameraDepth(this._lngLat,ht+zt)-Jt>.006;!((be=this._popup)===null||be===void 0)&&be.isOpen()&&hr&&this._popup.remove(),this._element.style.opacity=hr?this._opacityWhenCovered:this._opacity}getOffset(){return this._offset}setOffset(R){return this._offset=t.P.convert(R),this._update(),this}addClassName(R){this._element.classList.add(R)}removeClassName(R){this._element.classList.remove(R)}toggleClassName(R){return this._element.classList.toggle(R)}setDraggable(R){return this._draggable=!!R,this._map&&(R?(this._map.on(\"mousedown\",this._addDragHandler),this._map.on(\"touchstart\",this._addDragHandler)):(this._map.off(\"mousedown\",this._addDragHandler),this._map.off(\"touchstart\",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(R){return this._rotation=R||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(R){return this._rotationAlignment=R||\"auto\",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(R){return this._pitchAlignment=R&&R!==\"auto\"?R:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(R,ne){return R===void 0&&ne===void 0&&(this._opacity=\"1\",this._opacityWhenCovered=\"0.2\"),R!==void 0&&(this._opacity=R),ne!==void 0&&(this._opacityWhenCovered=ne),this._map&&this._updateOpacity(!0),this}}let Kc={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Tu=0,zc=!1,Fu={maxWidth:100,unit:\"metric\"};function wc(Ne,R,ne){let be=ne&&ne.maxWidth||100,Ae=Ne._container.clientHeight/2,Fe=Ne.unproject([0,Ae]),ht=Ne.unproject([be,Ae]),wt=Fe.distanceTo(ht);if(ne&&ne.unit===\"imperial\"){let zt=3.2808*wt;zt>5280?bo(R,be,zt/5280,Ne._getUIString(\"ScaleControl.Miles\")):bo(R,be,zt,Ne._getUIString(\"ScaleControl.Feet\"))}else ne&&ne.unit===\"nautical\"?bo(R,be,wt/1852,Ne._getUIString(\"ScaleControl.NauticalMiles\")):wt>=1e3?bo(R,be,wt/1e3,Ne._getUIString(\"ScaleControl.Kilometers\")):bo(R,be,wt,Ne._getUIString(\"ScaleControl.Meters\"))}function bo(Ne,R,ne,be){let Ae=function(Fe){let ht=Math.pow(10,`${Math.floor(Fe)}`.length-1),wt=Fe/ht;return wt=wt>=10?10:wt>=5?5:wt>=3?3:wt>=2?2:wt>=1?1:function(zt){let Jt=Math.pow(10,Math.ceil(-Math.log(zt)/Math.LN10));return Math.round(zt*Jt)/Jt}(wt),ht*wt}(ne);Ne.style.width=R*(Ae/ne)+\"px\",Ne.innerHTML=`${Ae} ${be}`}let Wo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:\"\",maxWidth:\"240px\",subpixelPositioning:!1},Fc=[\"a[href]\",\"[tabindex]:not([tabindex='-1'])\",\"[contenteditable]:not([contenteditable='false'])\",\"button:not([disabled])\",\"input:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\"].join(\", \");function hc(Ne){if(Ne){if(typeof Ne==\"number\"){let R=Math.round(Math.abs(Ne)/Math.SQRT2);return{center:new t.P(0,0),top:new t.P(0,Ne),\"top-left\":new t.P(R,R),\"top-right\":new t.P(-R,R),bottom:new t.P(0,-Ne),\"bottom-left\":new t.P(R,-R),\"bottom-right\":new t.P(-R,-R),left:new t.P(Ne,0),right:new t.P(-Ne,0)}}if(Ne instanceof t.P||Array.isArray(Ne)){let R=t.P.convert(Ne);return{center:R,top:R,\"top-left\":R,\"top-right\":R,bottom:R,\"bottom-left\":R,\"bottom-right\":R,left:R,right:R}}return{center:t.P.convert(Ne.center||[0,0]),top:t.P.convert(Ne.top||[0,0]),\"top-left\":t.P.convert(Ne[\"top-left\"]||[0,0]),\"top-right\":t.P.convert(Ne[\"top-right\"]||[0,0]),bottom:t.P.convert(Ne.bottom||[0,0]),\"bottom-left\":t.P.convert(Ne[\"bottom-left\"]||[0,0]),\"bottom-right\":t.P.convert(Ne[\"bottom-right\"]||[0,0]),left:t.P.convert(Ne.left||[0,0]),right:t.P.convert(Ne.right||[0,0])}}return hc(new t.P(0,0))}let dc=r;e.AJAXError=t.bh,e.Evented=t.E,e.LngLat=t.N,e.MercatorCoordinate=t.Z,e.Point=t.P,e.addProtocol=t.bi,e.config=t.a,e.removeProtocol=t.bj,e.AttributionControl=Ao,e.BoxZoomHandler=wu,e.CanvasSource=tt,e.CooperativeGesturesHandler=zi,e.DoubleClickZoomHandler=si,e.DragPanHandler=Wi,e.DragRotateHandler=aa,e.EdgeInsets=tc,e.FullscreenControl=class extends t.E{constructor(Ne={}){super(),this._onFullscreenChange=()=>{var R;let ne=window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement;for(;!((R=ne?.shadowRoot)===null||R===void 0)&&R.fullscreenElement;)ne=ne.shadowRoot.fullscreenElement;ne===this._container!==this._fullscreen&&this._handleFullscreenChange()},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen()},this._fullscreen=!1,Ne&&Ne.container&&(Ne.container instanceof HTMLElement?this._container=Ne.container:t.w(\"Full screen control 'container' must be a DOM element.\")),\"onfullscreenchange\"in document?this._fullscreenchange=\"fullscreenchange\":\"onmozfullscreenchange\"in document?this._fullscreenchange=\"mozfullscreenchange\":\"onwebkitfullscreenchange\"in document?this._fullscreenchange=\"webkitfullscreenchange\":\"onmsfullscreenchange\"in document&&(this._fullscreenchange=\"MSFullscreenChange\")}onAdd(Ne){return this._map=Ne,this._container||(this._container=this._map.getContainer()),this._controlContainer=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._setupUI(),this._controlContainer}onRemove(){a.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange)}_setupUI(){let Ne=this._fullscreenButton=a.create(\"button\",\"maplibregl-ctrl-fullscreen\",this._controlContainer);a.create(\"span\",\"maplibregl-ctrl-icon\",Ne).setAttribute(\"aria-hidden\",\"true\"),Ne.type=\"button\",this._updateTitle(),this._fullscreenButton.addEventListener(\"click\",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange)}_updateTitle(){let Ne=this._getTitle();this._fullscreenButton.setAttribute(\"aria-label\",Ne),this._fullscreenButton.title=Ne}_getTitle(){return this._map._getUIString(this._isFullscreen()?\"FullscreenControl.Exit\":\"FullscreenControl.Enter\")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(\"maplibregl-ctrl-shrink\"),this._fullscreenButton.classList.toggle(\"maplibregl-ctrl-fullscreen\"),this._updateTitle(),this._fullscreen?(this.fire(new t.k(\"fullscreenstart\")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.k(\"fullscreenend\")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable())}_exitFullscreen(){window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen()}_requestFullscreen(){this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen()}_togglePseudoFullScreen(){this._container.classList.toggle(\"maplibregl-pseudo-fullscreen\"),this._handleFullscreenChange(),this._map.resize()}},e.GeoJSONSource=Ie,e.GeolocateControl=class extends t.E{constructor(Ne){super(),this._onSuccess=R=>{if(this._map){if(this._isOutOfMapMaxBounds(R))return this._setErrorState(),this.fire(new t.k(\"outofmaxbounds\",R)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=R,this._watchState){case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"BACKGROUND\":case\"BACKGROUND_ERROR\":this._watchState=\"BACKGROUND\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background\");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&this._watchState!==\"OFF\"&&this._updateMarker(R),this.options.trackUserLocation&&this._watchState!==\"ACTIVE_LOCK\"||this._updateCamera(R),this.options.showUserLocation&&this._dotElement.classList.remove(\"maplibregl-user-location-dot-stale\"),this.fire(new t.k(\"geolocate\",R)),this._finish()}},this._updateCamera=R=>{let ne=new t.N(R.coords.longitude,R.coords.latitude),be=R.coords.accuracy,Ae=this._map.getBearing(),Fe=t.e({bearing:Ae},this.options.fitBoundsOptions),ht=ie.fromLngLat(ne,be);this._map.fitBounds(ht,Fe,{geolocateSource:!0})},this._updateMarker=R=>{if(R){let ne=new t.N(R.coords.longitude,R.coords.latitude);this._accuracyCircleMarker.setLngLat(ne).addTo(this._map),this._userLocationDotMarker.setLngLat(ne).addTo(this._map),this._accuracy=R.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},this._onZoom=()=>{this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},this._onError=R=>{if(this._map){if(this.options.trackUserLocation)if(R.code===1){this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.disabled=!0;let ne=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(R.code===3&&zc)return;this._setErrorState()}this._watchState!==\"OFF\"&&this.options.showUserLocation&&this._dotElement.classList.add(\"maplibregl-user-location-dot-stale\"),this.fire(new t.k(\"error\",R)),this._finish()}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},this._setupUI=()=>{this._map&&(this._container.addEventListener(\"contextmenu\",R=>R.preventDefault()),this._geolocateButton=a.create(\"button\",\"maplibregl-ctrl-geolocate\",this._container),a.create(\"span\",\"maplibregl-ctrl-icon\",this._geolocateButton).setAttribute(\"aria-hidden\",\"true\"),this._geolocateButton.type=\"button\",this._geolocateButton.disabled=!0)},this._finishSetupUI=R=>{if(this._map){if(R===!1){t.w(\"Geolocation support is not available so the GeolocateControl will be disabled.\");let ne=this._map._getUIString(\"GeolocateControl.LocationNotAvailable\");this._geolocateButton.disabled=!0,this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne)}else{let ne=this._map._getUIString(\"GeolocateControl.FindMyLocation\");this._geolocateButton.disabled=!1,this._geolocateButton.title=ne,this._geolocateButton.setAttribute(\"aria-label\",ne)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this._watchState=\"OFF\"),this.options.showUserLocation&&(this._dotElement=a.create(\"div\",\"maplibregl-user-location-dot\"),this._userLocationDotMarker=new nc({element:this._dotElement}),this._circleElement=a.create(\"div\",\"maplibregl-user-location-accuracy-circle\"),this._accuracyCircleMarker=new nc({element:this._circleElement,pitchAlignment:\"map\"}),this.options.trackUserLocation&&(this._watchState=\"OFF\"),this._map.on(\"zoom\",this._onZoom)),this._geolocateButton.addEventListener(\"click\",()=>this.trigger()),this._setup=!0,this.options.trackUserLocation&&this._map.on(\"movestart\",ne=>{ne.geolocateSource||this._watchState!==\"ACTIVE_LOCK\"||ne.originalEvent&&ne.originalEvent.type===\"resize\"||(this._watchState=\"BACKGROUND\",this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this.fire(new t.k(\"trackuserlocationend\")),this.fire(new t.k(\"userlocationlostfocus\")))})}},this.options=t.e({},Kc,Ne)}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._setupUI(),function(){return t._(this,arguments,void 0,function*(R=!1){if(Js!==void 0&&!R)return Js;if(window.navigator.permissions===void 0)return Js=!!window.navigator.geolocation,Js;try{Js=(yield window.navigator.permissions.query({name:\"geolocation\"})).state!==\"denied\"}catch{Js=!!window.navigator.geolocation}return Js})}().then(R=>this._finishSetupUI(R)),this._container}onRemove(){this._geolocationWatchID!==void 0&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),a.remove(this._container),this._map.off(\"zoom\",this._onZoom),this._map=void 0,Tu=0,zc=!1}_isOutOfMapMaxBounds(Ne){let R=this._map.getMaxBounds(),ne=Ne.coords;return R&&(ne.longitudeR.getEast()||ne.latitudeR.getNorth())}_setErrorState(){switch(this._watchState){case\"WAITING_ACTIVE\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active-error\");break;case\"ACTIVE_LOCK\":this._watchState=\"ACTIVE_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\");break;case\"BACKGROUND\":this._watchState=\"BACKGROUND_ERROR\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-background-error\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\");break;case\"ACTIVE_ERROR\":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadius(){let Ne=this._map.getBounds(),R=Ne.getSouthEast(),ne=Ne.getNorthEast(),be=R.distanceTo(ne),Ae=Math.ceil(this._accuracy/(be/this._map._container.clientHeight)*2);this._circleElement.style.width=`${Ae}px`,this._circleElement.style.height=`${Ae}px`}trigger(){if(!this._setup)return t.w(\"Geolocate control triggered before added to a map\"),!1;if(this.options.trackUserLocation){switch(this._watchState){case\"OFF\":this._watchState=\"WAITING_ACTIVE\",this.fire(new t.k(\"trackuserlocationstart\"));break;case\"WAITING_ACTIVE\":case\"ACTIVE_LOCK\":case\"ACTIVE_ERROR\":case\"BACKGROUND_ERROR\":Tu--,zc=!1,this._watchState=\"OFF\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-active-error\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background-error\"),this.fire(new t.k(\"trackuserlocationend\"));break;case\"BACKGROUND\":this._watchState=\"ACTIVE_LOCK\",this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-background\"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.k(\"trackuserlocationstart\")),this.fire(new t.k(\"userlocationfocus\"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case\"WAITING_ACTIVE\":this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"ACTIVE_LOCK\":this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-active\");break;case\"OFF\":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if(this._watchState===\"OFF\"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let Ne;this._geolocateButton.classList.add(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"true\"),Tu++,Tu>1?(Ne={maximumAge:6e5,timeout:0},zc=!0):(Ne=this.options.positionOptions,zc=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,Ne)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove(\"maplibregl-ctrl-geolocate-waiting\"),this._geolocateButton.setAttribute(\"aria-pressed\",\"false\"),this.options.showUserLocation&&this._updateMarker(null)}},e.Hash=uh,e.ImageSource=it,e.KeyboardHandler=dr,e.LngLatBounds=ie,e.LogoControl=xa,e.Map=class extends co{constructor(Ne){t.bf.mark(t.bg.create);let R=Object.assign(Object.assign({},_l),Ne);if(R.minZoom!=null&&R.maxZoom!=null&&R.minZoom>R.maxZoom)throw new Error(\"maxZoom must be greater than or equal to minZoom\");if(R.minPitch!=null&&R.maxPitch!=null&&R.minPitch>R.maxPitch)throw new Error(\"maxPitch must be greater than or equal to minPitch\");if(R.minPitch!=null&&R.minPitch<0)throw new Error(\"minPitch must be greater than or equal to 0\");if(R.maxPitch!=null&&R.maxPitch>85)throw new Error(\"maxPitch must be less than or equal to 85\");if(super(new Sl(R.minZoom,R.maxZoom,R.minPitch,R.maxPitch,R.renderWorldCopies),{bearingSnap:R.bearingSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new Qi,this._controls=[],this._mapId=t.a4(),this._contextLost=ne=>{ne.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.fire(new t.k(\"webglcontextlost\",{originalEvent:ne}))},this._contextRestored=ne=>{this._setupPainter(),this.resize(),this._update(),this.fire(new t.k(\"webglcontextrestored\",{originalEvent:ne}))},this._onMapScroll=ne=>{if(ne.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update()},this._interactive=R.interactive,this._maxTileCacheSize=R.maxTileCacheSize,this._maxTileCacheZoomLevels=R.maxTileCacheZoomLevels,this._failIfMajorPerformanceCaveat=R.failIfMajorPerformanceCaveat===!0,this._preserveDrawingBuffer=R.preserveDrawingBuffer===!0,this._antialias=R.antialias===!0,this._trackResize=R.trackResize===!0,this._bearingSnap=R.bearingSnap,this._refreshExpiredTiles=R.refreshExpiredTiles===!0,this._fadeDuration=R.fadeDuration,this._crossSourceCollisions=R.crossSourceCollisions===!0,this._collectResourceTiming=R.collectResourceTiming===!0,this._locale=Object.assign(Object.assign({},Es),R.locale),this._clickTolerance=R.clickTolerance,this._overridePixelRatio=R.pixelRatio,this._maxCanvasSize=R.maxCanvasSize,this.transformCameraUpdate=R.transformCameraUpdate,this.cancelPendingTileRequestsWhileZooming=R.cancelPendingTileRequestsWhileZooming===!0,this._imageQueueHandle=l.addThrottleControl(()=>this.isMoving()),this._requestManager=new _(R.transformRequest),typeof R.container==\"string\"){if(this._container=document.getElementById(R.container),!this._container)throw new Error(`Container '${R.container}' not found.`)}else{if(!(R.container instanceof HTMLElement))throw new Error(\"Invalid type: 'container' must be a String or HTMLElement.\");this._container=R.container}if(R.maxBounds&&this.setMaxBounds(R.maxBounds),this._setupContainer(),this._setupPainter(),this.on(\"move\",()=>this._update(!1)).on(\"moveend\",()=>this._update(!1)).on(\"zoom\",()=>this._update(!0)).on(\"terrain\",()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)}).once(\"idle\",()=>{this._idleTriggered=!0}),typeof window<\"u\"){addEventListener(\"online\",this._onWindowOnline,!1);let ne=!1,be=th(Ae=>{this._trackResize&&!this._removed&&(this.resize(Ae),this.redraw())},50);this._resizeObserver=new ResizeObserver(Ae=>{ne?be(Ae):ne=!0}),this._resizeObserver.observe(this._container)}this.handlers=new po(this,R),this._hash=R.hash&&new uh(typeof R.hash==\"string\"&&R.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:R.center,zoom:R.zoom,bearing:R.bearing,pitch:R.pitch}),R.bounds&&(this.resize(),this.fitBounds(R.bounds,t.e({},R.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=R.localIdeographFontFamily,this._validateStyle=R.validateStyle,R.style&&this.setStyle(R.style,{localIdeographFontFamily:R.localIdeographFontFamily}),R.attributionControl&&this.addControl(new Ao(typeof R.attributionControl==\"boolean\"?void 0:R.attributionControl)),R.maplibreLogo&&this.addControl(new xa,R.logoPosition),this.on(\"style.load\",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on(\"data\",ne=>{this._update(ne.dataType===\"style\"),this.fire(new t.k(`${ne.dataType}data`,ne))}),this.on(\"dataloading\",ne=>{this.fire(new t.k(`${ne.dataType}dataloading`,ne))}),this.on(\"dataabort\",ne=>{this.fire(new t.k(\"sourcedataabort\",ne))})}_getMapId(){return this._mapId}addControl(Ne,R){if(R===void 0&&(R=Ne.getDefaultPosition?Ne.getDefaultPosition():\"top-right\"),!Ne||!Ne.onAdd)return this.fire(new t.j(new Error(\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\")));let ne=Ne.onAdd(this);this._controls.push(Ne);let be=this._controlPositions[R];return R.indexOf(\"bottom\")!==-1?be.insertBefore(ne,be.firstChild):be.appendChild(ne),this}removeControl(Ne){if(!Ne||!Ne.onRemove)return this.fire(new t.j(new Error(\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\")));let R=this._controls.indexOf(Ne);return R>-1&&this._controls.splice(R,1),Ne.onRemove(this),this}hasControl(Ne){return this._controls.indexOf(Ne)>-1}calculateCameraOptionsFromTo(Ne,R,ne,be){return be==null&&this.terrain&&(be=this.terrain.getElevationForLngLatZoom(ne,this.transform.tileZoom)),super.calculateCameraOptionsFromTo(Ne,R,ne,be)}resize(Ne){var R;let ne=this._containerDimensions(),be=ne[0],Ae=ne[1],Fe=this._getClampedPixelRatio(be,Ae);if(this._resizeCanvas(be,Ae,Fe),this.painter.resize(be,Ae,Fe),this.painter.overLimit()){let wt=this.painter.context.gl;this._maxCanvasSize=[wt.drawingBufferWidth,wt.drawingBufferHeight];let zt=this._getClampedPixelRatio(be,Ae);this._resizeCanvas(be,Ae,zt),this.painter.resize(be,Ae,zt)}this.transform.resize(be,Ae),(R=this._requestedCameraState)===null||R===void 0||R.resize(be,Ae);let ht=!this._moving;return ht&&(this.stop(),this.fire(new t.k(\"movestart\",Ne)).fire(new t.k(\"move\",Ne))),this.fire(new t.k(\"resize\",Ne)),ht&&this.fire(new t.k(\"moveend\",Ne)),this}_getClampedPixelRatio(Ne,R){let{0:ne,1:be}=this._maxCanvasSize,Ae=this.getPixelRatio(),Fe=Ne*Ae,ht=R*Ae;return Math.min(Fe>ne?ne/Fe:1,ht>be?be/ht:1)*Ae}getPixelRatio(){var Ne;return(Ne=this._overridePixelRatio)!==null&&Ne!==void 0?Ne:devicePixelRatio}setPixelRatio(Ne){this._overridePixelRatio=Ne,this.resize()}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(Ne){return this.transform.setMaxBounds(ie.convert(Ne)),this._update()}setMinZoom(Ne){if((Ne=Ne??-2)>=-2&&Ne<=this.transform.maxZoom)return this.transform.minZoom=Ne,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=Ne,this._update(),this.getZoom()>Ne&&this.setZoom(Ne),this;throw new Error(\"maxZoom must be greater than the current minZoom\")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(Ne){if((Ne=Ne??0)<0)throw new Error(\"minPitch must be greater than or equal to 0\");if(Ne>=0&&Ne<=this.transform.maxPitch)return this.transform.minPitch=Ne,this._update(),this.getPitch()85)throw new Error(\"maxPitch must be less than or equal to 85\");if(Ne>=this.transform.minPitch)return this.transform.maxPitch=Ne,this._update(),this.getPitch()>Ne&&this.setPitch(Ne),this;throw new Error(\"maxPitch must be greater than the current minPitch\")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(Ne){return this.transform.renderWorldCopies=Ne,this._update()}project(Ne){return this.transform.locationPoint(t.N.convert(Ne),this.style&&this.terrain)}unproject(Ne){return this.transform.pointLocation(t.P.convert(Ne),this.terrain)}isMoving(){var Ne;return this._moving||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isMoving())}isZooming(){var Ne;return this._zooming||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isZooming())}isRotating(){var Ne;return this._rotating||((Ne=this.handlers)===null||Ne===void 0?void 0:Ne.isRotating())}_createDelegatedListener(Ne,R,ne){if(Ne===\"mouseenter\"||Ne===\"mouseover\"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:Fe=>{let ht=R.filter(zt=>this.getLayer(zt)),wt=ht.length!==0?this.queryRenderedFeatures(Fe.point,{layers:ht}):[];wt.length?be||(be=!0,ne.call(this,new lu(Ne,this,Fe.originalEvent,{features:wt}))):be=!1},mouseout:()=>{be=!1}}}}if(Ne===\"mouseleave\"||Ne===\"mouseout\"){let be=!1;return{layers:R,listener:ne,delegates:{mousemove:ht=>{let wt=R.filter(zt=>this.getLayer(zt));(wt.length!==0?this.queryRenderedFeatures(ht.point,{layers:wt}):[]).length?be=!0:be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))},mouseout:ht=>{be&&(be=!1,ne.call(this,new lu(Ne,this,ht.originalEvent)))}}}}{let be=Ae=>{let Fe=R.filter(wt=>this.getLayer(wt)),ht=Fe.length!==0?this.queryRenderedFeatures(Ae.point,{layers:Fe}):[];ht.length&&(Ae.features=ht,ne.call(this,Ae),delete Ae.features)};return{layers:R,listener:ne,delegates:{[Ne]:be}}}}_saveDelegatedListener(Ne,R){this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[Ne]=this._delegatedListeners[Ne]||[],this._delegatedListeners[Ne].push(R)}_removeDelegatedListener(Ne,R,ne){if(!this._delegatedListeners||!this._delegatedListeners[Ne])return;let be=this._delegatedListeners[Ne];for(let Ae=0;AeR.includes(ht))){for(let ht in Fe.delegates)this.off(ht,Fe.delegates[ht]);return void be.splice(Ae,1)}}}on(Ne,R,ne){if(ne===void 0)return super.on(Ne,R);let be=this._createDelegatedListener(Ne,typeof R==\"string\"?[R]:R,ne);this._saveDelegatedListener(Ne,be);for(let Ae in be.delegates)this.on(Ae,be.delegates[Ae]);return this}once(Ne,R,ne){if(ne===void 0)return super.once(Ne,R);let be=typeof R==\"string\"?[R]:R,Ae=this._createDelegatedListener(Ne,be,ne);for(let Fe in Ae.delegates){let ht=Ae.delegates[Fe];Ae.delegates[Fe]=(...wt)=>{this._removeDelegatedListener(Ne,be,ne),ht(...wt)}}this._saveDelegatedListener(Ne,Ae);for(let Fe in Ae.delegates)this.once(Fe,Ae.delegates[Fe]);return this}off(Ne,R,ne){return ne===void 0?super.off(Ne,R):(this._removeDelegatedListener(Ne,typeof R==\"string\"?[R]:R,ne),this)}queryRenderedFeatures(Ne,R){if(!this.style)return[];let ne,be=Ne instanceof t.P||Array.isArray(Ne),Ae=be?Ne:[[0,0],[this.transform.width,this.transform.height]];if(R=R||(be?{}:Ne)||{},Ae instanceof t.P||typeof Ae[0]==\"number\")ne=[t.P.convert(Ae)];else{let Fe=t.P.convert(Ae[0]),ht=t.P.convert(Ae[1]);ne=[Fe,new t.P(ht.x,Fe.y),ht,new t.P(Fe.x,ht.y),Fe]}return this.style.queryRenderedFeatures(ne,R,this.transform)}querySourceFeatures(Ne,R){return this.style.querySourceFeatures(Ne,R)}setStyle(Ne,R){return(R=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},R)).diff!==!1&&R.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&Ne?(this._diffStyle(Ne,R),this):(this._localIdeographFontFamily=R.localIdeographFontFamily,this._updateStyle(Ne,R))}setTransformRequest(Ne){return this._requestManager.setTransformRequest(Ne),this}_getUIString(Ne){let R=this._locale[Ne];if(R==null)throw new Error(`Missing UI string '${Ne}'`);return R}_updateStyle(Ne,R){if(R.transformStyle&&this.style&&!this.style._loaded)return void this.style.once(\"style.load\",()=>this._updateStyle(Ne,R));let ne=this.style&&R.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!Ne)),Ne?(this.style=new nn(this,R||{}),this.style.setEventedParent(this,{style:this.style}),typeof Ne==\"string\"?this.style.loadURL(Ne,R,ne):this.style.loadJSON(Ne,R,ne),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new nn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(Ne,R){if(typeof Ne==\"string\"){let ne=this._requestManager.transformRequest(Ne,\"Style\");t.h(ne,new AbortController).then(be=>{this._updateDiff(be.data,R)}).catch(be=>{be&&this.fire(new t.j(be))})}else typeof Ne==\"object\"&&this._updateDiff(Ne,R)}_updateDiff(Ne,R){try{this.style.setState(Ne,R)&&this._update(!0)}catch(ne){t.w(`Unable to perform style diff: ${ne.message||ne.error||ne}. Rebuilding the style from scratch.`),this._updateStyle(Ne,R)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():t.w(\"There is no style added to the map.\")}addSource(Ne,R){return this._lazyInitEmptyStyle(),this.style.addSource(Ne,R),this._update(!0)}isSourceLoaded(Ne){let R=this.style&&this.style.sourceCaches[Ne];if(R!==void 0)return R.loaded();this.fire(new t.j(new Error(`There is no source with ID '${Ne}'`)))}setTerrain(Ne){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off(\"data\",this._terrainDataCallback),Ne){let R=this.style.sourceCaches[Ne.source];if(!R)throw new Error(`cannot load terrain, because there exists no source with ID: ${Ne.source}`);this.terrain===null&&R.reload();for(let ne in this.style._layers){let be=this.style._layers[ne];be.type===\"hillshade\"&&be.source===Ne.source&&t.w(\"You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.\")}this.terrain=new Ds(this.painter,R,Ne),this.painter.renderToTexture=new el(this.painter,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._terrainDataCallback=ne=>{ne.dataType===\"style\"?this.terrain.sourceCache.freeRtt():ne.dataType===\"source\"&&ne.tile&&(ne.sourceId!==Ne.source||this._elevationFreeze||(this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.terrain.sourceCache.freeRtt(ne.tile.tileID))},this.style.on(\"data\",this._terrainDataCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.minElevationForCurrentTile=0,this.transform.elevation=0;return this.fire(new t.k(\"terrain\",{terrain:Ne})),this}getTerrain(){var Ne,R;return(R=(Ne=this.terrain)===null||Ne===void 0?void 0:Ne.options)!==null&&R!==void 0?R:null}areTilesLoaded(){let Ne=this.style&&this.style.sourceCaches;for(let R in Ne){let ne=Ne[R]._tiles;for(let be in ne){let Ae=ne[be];if(Ae.state!==\"loaded\"&&Ae.state!==\"errored\")return!1}}return!0}removeSource(Ne){return this.style.removeSource(Ne),this._update(!0)}getSource(Ne){return this.style.getSource(Ne)}addImage(Ne,R,ne={}){let{pixelRatio:be=1,sdf:Ae=!1,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt}=ne;if(this._lazyInitEmptyStyle(),!(R instanceof HTMLImageElement||t.b(R))){if(R.width===void 0||R.height===void 0)return this.fire(new t.j(new Error(\"Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\")));{let{width:hr,height:vr,data:Hr}=R,ln=R;return this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},new Uint8Array(Hr)),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0,userImage:ln}),ln.onAdd&&ln.onAdd(this,Ne),this}}{let{width:hr,height:vr,data:Hr}=i.getImageData(R);this.style.addImage(Ne,{data:new t.R({width:hr,height:vr},Hr),pixelRatio:be,stretchX:Fe,stretchY:ht,content:wt,textFitWidth:zt,textFitHeight:Jt,sdf:Ae,version:0})}}updateImage(Ne,R){let ne=this.style.getImage(Ne);if(!ne)return this.fire(new t.j(new Error(\"The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.\")));let be=R instanceof HTMLImageElement||t.b(R)?i.getImageData(R):R,{width:Ae,height:Fe,data:ht}=be;if(Ae===void 0||Fe===void 0)return this.fire(new t.j(new Error(\"Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\")));if(Ae!==ne.data.width||Fe!==ne.data.height)return this.fire(new t.j(new Error(\"The width and height of the updated image must be that same as the previous version of the image\")));let wt=!(R instanceof HTMLImageElement||t.b(R));return ne.data.replace(ht,wt),this.style.updateImage(Ne,ne),this}getImage(Ne){return this.style.getImage(Ne)}hasImage(Ne){return Ne?!!this.style.getImage(Ne):(this.fire(new t.j(new Error(\"Missing required image id\"))),!1)}removeImage(Ne){this.style.removeImage(Ne)}loadImage(Ne){return l.getImage(this._requestManager.transformRequest(Ne,\"Image\"),new AbortController)}listImages(){return this.style.listImages()}addLayer(Ne,R){return this._lazyInitEmptyStyle(),this.style.addLayer(Ne,R),this._update(!0)}moveLayer(Ne,R){return this.style.moveLayer(Ne,R),this._update(!0)}removeLayer(Ne){return this.style.removeLayer(Ne),this._update(!0)}getLayer(Ne){return this.style.getLayer(Ne)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(Ne,R,ne){return this.style.setLayerZoomRange(Ne,R,ne),this._update(!0)}setFilter(Ne,R,ne={}){return this.style.setFilter(Ne,R,ne),this._update(!0)}getFilter(Ne){return this.style.getFilter(Ne)}setPaintProperty(Ne,R,ne,be={}){return this.style.setPaintProperty(Ne,R,ne,be),this._update(!0)}getPaintProperty(Ne,R){return this.style.getPaintProperty(Ne,R)}setLayoutProperty(Ne,R,ne,be={}){return this.style.setLayoutProperty(Ne,R,ne,be),this._update(!0)}getLayoutProperty(Ne,R){return this.style.getLayoutProperty(Ne,R)}setGlyphs(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(Ne,R),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(Ne,R,ne={}){return this._lazyInitEmptyStyle(),this.style.addSprite(Ne,R,ne,be=>{be||this._update(!0)}),this}removeSprite(Ne){return this._lazyInitEmptyStyle(),this.style.removeSprite(Ne),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setSprite(Ne,R,ne=>{ne||this._update(!0)}),this}setLight(Ne,R={}){return this._lazyInitEmptyStyle(),this.style.setLight(Ne,R),this._update(!0)}getLight(){return this.style.getLight()}setSky(Ne){return this._lazyInitEmptyStyle(),this.style.setSky(Ne),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(Ne,R){return this.style.setFeatureState(Ne,R),this._update()}removeFeatureState(Ne,R){return this.style.removeFeatureState(Ne,R),this._update()}getFeatureState(Ne){return this.style.getFeatureState(Ne)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let Ne=0,R=0;return this._container&&(Ne=this._container.clientWidth||400,R=this._container.clientHeight||300),[Ne,R]}_setupContainer(){let Ne=this._container;Ne.classList.add(\"maplibregl-map\");let R=this._canvasContainer=a.create(\"div\",\"maplibregl-canvas-container\",Ne);this._interactive&&R.classList.add(\"maplibregl-interactive\"),this._canvas=a.create(\"canvas\",\"maplibregl-canvas\",R),this._canvas.addEventListener(\"webglcontextlost\",this._contextLost,!1),this._canvas.addEventListener(\"webglcontextrestored\",this._contextRestored,!1),this._canvas.setAttribute(\"tabindex\",this._interactive?\"0\":\"-1\"),this._canvas.setAttribute(\"aria-label\",this._getUIString(\"Map.Title\")),this._canvas.setAttribute(\"role\",\"region\");let ne=this._containerDimensions(),be=this._getClampedPixelRatio(ne[0],ne[1]);this._resizeCanvas(ne[0],ne[1],be);let Ae=this._controlContainer=a.create(\"div\",\"maplibregl-control-container\",Ne),Fe=this._controlPositions={};[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"].forEach(ht=>{Fe[ht]=a.create(\"div\",`maplibregl-ctrl-${ht} `,Ae)}),this._container.addEventListener(\"scroll\",this._onMapScroll,!1)}_resizeCanvas(Ne,R,ne){this._canvas.width=Math.floor(ne*Ne),this._canvas.height=Math.floor(ne*R),this._canvas.style.width=`${Ne}px`,this._canvas.style.height=`${R}px`}_setupPainter(){let Ne={alpha:!0,stencil:!0,depth:!0,failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1},R=null;this._canvas.addEventListener(\"webglcontextcreationerror\",be=>{R={requestedAttributes:Ne},be&&(R.statusMessage=be.statusMessage,R.type=be.type)},{once:!0});let ne=this._canvas.getContext(\"webgl2\",Ne)||this._canvas.getContext(\"webgl\",Ne);if(!ne){let be=\"Failed to initialize WebGL\";throw R?(R.message=be,new Error(JSON.stringify(R))):new Error(be)}this.painter=new yc(ne,this.transform),s.testSupport(ne)}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(Ne){return this.style&&this.style._loaded?(this._styleDirty=this._styleDirty||Ne,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(Ne){return this._update(),this._renderTaskQueue.add(Ne)}_cancelRenderFrame(Ne){this._renderTaskQueue.remove(Ne)}_render(Ne){let R=this._idleTriggered?this._fadeDuration:0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(Ne),this._removed)return;let ne=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;let Ae=this.transform.zoom,Fe=i.now();this.style.zoomHistory.update(Ae,Fe);let ht=new t.z(Ae,{now:Fe,fadeDuration:R,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),wt=ht.crossFadingFactor();wt===1&&wt===this._crossFadingFactor||(ne=!0,this._crossFadingFactor=wt),this.style.update(ht)}this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.sourceCache.update(this.transform,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._elevationFreeze||(this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.minElevationForCurrentTile=0,this.transform.elevation=0),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,R,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:R,showPadding:this.showPadding}),this.fire(new t.k(\"render\")),this.loaded()&&!this._loaded&&(this._loaded=!0,t.bf.mark(t.bg.load),this.fire(new t.k(\"load\"))),this.style&&(this.style.hasTransitions()||ne)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();let be=this._sourcesDirty||this._styleDirty||this._placementDirty;return be||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.k(\"idle\")),!this._loaded||this._fullyLoaded||be||(this._fullyLoaded=!0,t.bf.mark(t.bg.fullLoad)),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var Ne;this._hash&&this._hash.remove();for(let ne of this._controls)ne.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof window<\"u\"&&removeEventListener(\"online\",this._onWindowOnline,!1),l.removeThrottleControl(this._imageQueueHandle),(Ne=this._resizeObserver)===null||Ne===void 0||Ne.disconnect();let R=this.painter.context.gl.getExtension(\"WEBGL_lose_context\");R?.loseContext&&R.loseContext(),this._canvas.removeEventListener(\"webglcontextrestored\",this._contextRestored,!1),this._canvas.removeEventListener(\"webglcontextlost\",this._contextLost,!1),a.remove(this._canvasContainer),a.remove(this._controlContainer),this._container.classList.remove(\"maplibregl-map\"),t.bf.clearMetrics(),this._removed=!0,this.fire(new t.k(\"remove\"))}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,i.frameAsync(this._frameRequest).then(Ne=>{t.bf.frame(Ne),this._frameRequest=null,this._render(Ne)}).catch(()=>{}))}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(Ne){this._showTileBoundaries!==Ne&&(this._showTileBoundaries=Ne,this._update())}get showPadding(){return!!this._showPadding}set showPadding(Ne){this._showPadding!==Ne&&(this._showPadding=Ne,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(Ne){this._showCollisionBoxes!==Ne&&(this._showCollisionBoxes=Ne,Ne?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(Ne){this._showOverdrawInspector!==Ne&&(this._showOverdrawInspector=Ne,this._update())}get repaint(){return!!this._repaint}set repaint(Ne){this._repaint!==Ne&&(this._repaint=Ne,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(Ne){this._vertices=Ne,this._update()}get version(){return Bl}getCameraTargetElevation(){return this.transform.elevation}},e.MapMouseEvent=lu,e.MapTouchEvent=Xc,e.MapWheelEvent=ch,e.Marker=nc,e.NavigationControl=class{constructor(Ne){this._updateZoomButtons=()=>{let R=this._map.getZoom(),ne=R===this._map.getMaxZoom(),be=R===this._map.getMinZoom();this._zoomInButton.disabled=ne,this._zoomOutButton.disabled=be,this._zoomInButton.setAttribute(\"aria-disabled\",ne.toString()),this._zoomOutButton.setAttribute(\"aria-disabled\",be.toString())},this._rotateCompassArrow=()=>{let R=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=R},this._setButtonTitle=(R,ne)=>{let be=this._map._getUIString(`NavigationControl.${ne}`);R.title=be,R.setAttribute(\"aria-label\",be)},this.options=t.e({},Za,Ne),this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._container.addEventListener(\"contextmenu\",R=>R.preventDefault()),this.options.showZoom&&(this._zoomInButton=this._createButton(\"maplibregl-ctrl-zoom-in\",R=>this._map.zoomIn({},{originalEvent:R})),a.create(\"span\",\"maplibregl-ctrl-icon\",this._zoomInButton).setAttribute(\"aria-hidden\",\"true\"),this._zoomOutButton=this._createButton(\"maplibregl-ctrl-zoom-out\",R=>this._map.zoomOut({},{originalEvent:R})),a.create(\"span\",\"maplibregl-ctrl-icon\",this._zoomOutButton).setAttribute(\"aria-hidden\",\"true\")),this.options.showCompass&&(this._compass=this._createButton(\"maplibregl-ctrl-compass\",R=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:R}):this._map.resetNorth({},{originalEvent:R})}),this._compassIcon=a.create(\"span\",\"maplibregl-ctrl-icon\",this._compass),this._compassIcon.setAttribute(\"aria-hidden\",\"true\"))}onAdd(Ne){return this._map=Ne,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,\"ZoomIn\"),this._setButtonTitle(this._zoomOutButton,\"ZoomOut\"),this._map.on(\"zoom\",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,\"ResetBearing\"),this.options.visualizePitch&&this._map.on(\"pitch\",this._rotateCompassArrow),this._map.on(\"rotate\",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new jo(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){a.remove(this._container),this.options.showZoom&&this._map.off(\"zoom\",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off(\"pitch\",this._rotateCompassArrow),this._map.off(\"rotate\",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(Ne,R){let ne=a.create(\"button\",Ne,this._container);return ne.type=\"button\",ne.addEventListener(\"click\",R),ne}},e.Popup=class extends t.E{constructor(Ne){super(),this.remove=()=>(this._content&&a.remove(this._content),this._container&&(a.remove(this._container),delete this._container),this._map&&(this._map.off(\"move\",this._update),this._map.off(\"move\",this._onClose),this._map.off(\"click\",this._onClose),this._map.off(\"remove\",this.remove),this._map.off(\"mousemove\",this._onMouseMove),this._map.off(\"mouseup\",this._onMouseUp),this._map.off(\"drag\",this._onDrag),this._map._canvasContainer.classList.remove(\"maplibregl-track-pointer\"),delete this._map,this.fire(new t.k(\"close\"))),this),this._onMouseUp=R=>{this._update(R.point)},this._onMouseMove=R=>{this._update(R.point)},this._onDrag=R=>{this._update(R.point)},this._update=R=>{var ne;if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=a.create(\"div\",\"maplibregl-popup\",this._map.getContainer()),this._tip=a.create(\"div\",\"maplibregl-popup-tip\",this._container),this._container.appendChild(this._content),this.options.className)for(let wt of this.options.className.split(\" \"))this._container.classList.add(wt);this._closeButton&&this._closeButton.setAttribute(\"aria-label\",this._map._getUIString(\"Popup.Close\")),this._trackPointer&&this._container.classList.add(\"maplibregl-popup-track-pointer\")}if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=this._map.transform.renderWorldCopies&&!this._trackPointer?zs(this._lngLat,this._flatPos,this._map.transform):(ne=this._lngLat)===null||ne===void 0?void 0:ne.wrap(),this._trackPointer&&!R)return;let be=this._flatPos=this._pos=this._trackPointer&&R?R:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&R?R:this._map.transform.locationPoint(this._lngLat));let Ae=this.options.anchor,Fe=hc(this.options.offset);if(!Ae){let wt=this._container.offsetWidth,zt=this._container.offsetHeight,Jt;Jt=be.y+Fe.bottom.ythis._map.transform.height-zt?[\"bottom\"]:[],be.xthis._map.transform.width-wt/2&&Jt.push(\"right\"),Ae=Jt.length===0?\"bottom\":Jt.join(\"-\")}let ht=be.add(Fe[Ae]);this.options.subpixelPositioning||(ht=ht.round()),a.setTransform(this._container,`${cu[Ae]} translate(${ht.x}px,${ht.y}px)`),zu(this._container,Ae,\"popup\")},this._onClose=()=>{this.remove()},this.options=t.e(Object.create(Wo),Ne)}addTo(Ne){return this._map&&this.remove(),this._map=Ne,this.options.closeOnClick&&this._map.on(\"click\",this._onClose),this.options.closeOnMove&&this._map.on(\"move\",this._onClose),this._map.on(\"remove\",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"mouseup\",this._onMouseUp),this._container&&this._container.classList.add(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"maplibregl-track-pointer\")):this._map.on(\"move\",this._update),this.fire(new t.k(\"open\")),this}isOpen(){return!!this._map}getLngLat(){return this._lngLat}setLngLat(Ne){return this._lngLat=t.N.convert(Ne),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on(\"move\",this._update),this._map.off(\"mousemove\",this._onMouseMove),this._container&&this._container.classList.remove(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.remove(\"maplibregl-track-pointer\")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off(\"move\",this._update),this._map.on(\"mousemove\",this._onMouseMove),this._map.on(\"drag\",this._onDrag),this._container&&this._container.classList.add(\"maplibregl-popup-track-pointer\"),this._map._canvasContainer.classList.add(\"maplibregl-track-pointer\")),this}getElement(){return this._container}setText(Ne){return this.setDOMContent(document.createTextNode(Ne))}setHTML(Ne){let R=document.createDocumentFragment(),ne=document.createElement(\"body\"),be;for(ne.innerHTML=Ne;be=ne.firstChild,be;)R.appendChild(be);return this.setDOMContent(R)}getMaxWidth(){var Ne;return(Ne=this._container)===null||Ne===void 0?void 0:Ne.style.maxWidth}setMaxWidth(Ne){return this.options.maxWidth=Ne,this._update(),this}setDOMContent(Ne){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=a.create(\"div\",\"maplibregl-popup-content\",this._container);return this._content.appendChild(Ne),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(Ne){return this._container&&this._container.classList.add(Ne),this}removeClassName(Ne){return this._container&&this._container.classList.remove(Ne),this}setOffset(Ne){return this.options.offset=Ne,this._update(),this}toggleClassName(Ne){if(this._container)return this._container.classList.toggle(Ne)}setSubpixelPositioning(Ne){this.options.subpixelPositioning=Ne}_createCloseButton(){this.options.closeButton&&(this._closeButton=a.create(\"button\",\"maplibregl-popup-close-button\",this._content),this._closeButton.type=\"button\",this._closeButton.innerHTML=\"×\",this._closeButton.addEventListener(\"click\",this._onClose))}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;let Ne=this._container.querySelector(Fc);Ne&&Ne.focus()}},e.RasterDEMTileSource=Ue,e.RasterTileSource=Te,e.ScaleControl=class{constructor(Ne){this._onMove=()=>{wc(this._map,this._container,this.options)},this.setUnit=R=>{this.options.unit=R,wc(this._map,this._container,this.options)},this.options=Object.assign(Object.assign({},Fu),Ne)}getDefaultPosition(){return\"bottom-left\"}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-scale\",Ne.getContainer()),this._map.on(\"move\",this._onMove),this._onMove(),this._container}onRemove(){a.remove(this._container),this._map.off(\"move\",this._onMove),this._map=void 0}},e.ScrollZoomHandler=Cn,e.Style=nn,e.TerrainControl=class{constructor(Ne){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove(\"maplibregl-ctrl-terrain\"),this._terrainButton.classList.remove(\"maplibregl-ctrl-terrain-enabled\"),this._map.terrain?(this._terrainButton.classList.add(\"maplibregl-ctrl-terrain-enabled\"),this._terrainButton.title=this._map._getUIString(\"TerrainControl.Disable\")):(this._terrainButton.classList.add(\"maplibregl-ctrl-terrain\"),this._terrainButton.title=this._map._getUIString(\"TerrainControl.Enable\"))},this.options=Ne}onAdd(Ne){return this._map=Ne,this._container=a.create(\"div\",\"maplibregl-ctrl maplibregl-ctrl-group\"),this._terrainButton=a.create(\"button\",\"maplibregl-ctrl-terrain\",this._container),a.create(\"span\",\"maplibregl-ctrl-icon\",this._terrainButton).setAttribute(\"aria-hidden\",\"true\"),this._terrainButton.type=\"button\",this._terrainButton.addEventListener(\"click\",this._toggleTerrain),this._updateTerrainIcon(),this._map.on(\"terrain\",this._updateTerrainIcon),this._container}onRemove(){a.remove(this._container),this._map.off(\"terrain\",this._updateTerrainIcon),this._map=void 0}},e.TwoFingersTouchPitchHandler=Yc,e.TwoFingersTouchRotateHandler=Dc,e.TwoFingersTouchZoomHandler=uu,e.TwoFingersTouchZoomRotateHandler=bi,e.VectorTileSource=xe,e.VideoSource=at,e.addSourceType=(Ne,R)=>t._(void 0,void 0,void 0,function*(){if(Me(Ne))throw new Error(`A source type called \"${Ne}\" already exists.`);((ne,be)=>{ut[ne]=be})(Ne,R)}),e.clearPrewarmedResources=function(){let Ne=fe;Ne&&(Ne.isPreloaded()&&Ne.numActive()===1?(Ne.release(Q),fe=null):console.warn(\"Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()\"))},e.getMaxParallelImageRequests=function(){return t.a.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return rt().getRTLTextPluginStatus()},e.getVersion=function(){return dc},e.getWorkerCount=function(){return le.workerCount},e.getWorkerUrl=function(){return t.a.WORKER_URL},e.importScriptInWorkers=function(Ne){return X().broadcast(\"IS\",Ne)},e.prewarm=function(){$().acquire(Q)},e.setMaxParallelImageRequests=function(Ne){t.a.MAX_PARALLEL_IMAGE_REQUESTS=Ne},e.setRTLTextPlugin=function(Ne,R){return rt().setRTLTextPlugin(Ne,R)},e.setWorkerCount=function(Ne){le.workerCount=Ne},e.setWorkerUrl=function(Ne){t.a.WORKER_URL=Ne}});var S=g;return S})}}),hz=ke({\"src/plots/map/layers.js\"(Z,H){\"use strict\";var g=un(),x=Wl().sanitizeHTML,A=mM(),S=tm();function e(i,a){this.subplot=i,this.uid=i.uid+\"-\"+a,this.index=a,this.idSource=\"source-\"+this.uid,this.idLayer=S.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var t=e.prototype;t.update=function(a){this.visible?this.needsNewImage(a)?this.updateImage(a):this.needsNewSource(a)?(this.removeLayer(),this.updateSource(a),this.updateLayer(a)):this.needsNewLayer(a)?this.updateLayer(a):this.updateStyle(a):(this.updateSource(a),this.updateLayer(a)),this.visible=r(a)},t.needsNewImage=function(i){var a=this.subplot.map;return a.getSource(this.idSource)&&this.sourceType===\"image\"&&i.sourcetype===\"image\"&&(this.source!==i.source||JSON.stringify(this.coordinates)!==JSON.stringify(i.coordinates))},t.needsNewSource=function(i){return this.sourceType!==i.sourcetype||JSON.stringify(this.source)!==JSON.stringify(i.source)||this.layerType!==i.type},t.needsNewLayer=function(i){return this.layerType!==i.type||this.below!==this.subplot.belowLookup[\"layout-\"+this.index]},t.lookupBelow=function(){return this.subplot.belowLookup[\"layout-\"+this.index]},t.updateImage=function(i){var a=this.subplot.map;a.getSource(this.idSource).updateImage({url:i.source,coordinates:i.coordinates});var s=this.findFollowingMapLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},t.updateSource=function(i){var a=this.subplot.map;if(a.getSource(this.idSource)&&a.removeSource(this.idSource),this.sourceType=i.sourcetype,this.source=i.source,!!r(i)){var s=n(i);a.addSource(this.idSource,s)}},t.findFollowingMapLayerId=function(i){if(i===\"traces\")for(var a=this.subplot.getMapLayers(),s=0;s0){for(var s=0;s0}function o(i){var a={},s={};switch(i.type){case\"circle\":g.extendFlat(s,{\"circle-radius\":i.circle.radius,\"circle-color\":i.color,\"circle-opacity\":i.opacity});break;case\"line\":g.extendFlat(s,{\"line-width\":i.line.width,\"line-color\":i.color,\"line-opacity\":i.opacity,\"line-dasharray\":i.line.dash});break;case\"fill\":g.extendFlat(s,{\"fill-color\":i.color,\"fill-outline-color\":i.fill.outlinecolor,\"fill-opacity\":i.opacity});break;case\"symbol\":var c=i.symbol,h=A(c.textposition,c.iconsize);g.extendFlat(a,{\"icon-image\":c.icon+\"-15\",\"icon-size\":c.iconsize/10,\"text-field\":c.text,\"text-size\":c.textfont.size,\"text-anchor\":h.anchor,\"text-offset\":h.offset,\"symbol-placement\":c.placement}),g.extendFlat(s,{\"icon-color\":i.color,\"text-color\":c.textfont.color,\"text-opacity\":i.opacity});break;case\"raster\":g.extendFlat(s,{\"raster-fade-duration\":0,\"raster-opacity\":i.opacity});break}return{layout:a,paint:s}}function n(i){var a=i.sourcetype,s=i.source,c={type:a},h;return a===\"geojson\"?h=\"data\":a===\"vector\"?h=typeof s==\"string\"?\"url\":\"tiles\":a===\"raster\"?(h=\"tiles\",c.tileSize=256):a===\"image\"&&(h=\"url\",c.coordinates=i.coordinates),c[h]=s,i.sourceattribution&&(c.attribution=x(i.sourceattribution)),c}H.exports=function(a,s,c){var h=new e(a,s);return h.update(c),h}}}),dz=ke({\"src/plots/map/map.js\"(Z,H){\"use strict\";var g=fz(),x=un(),A=Jp(),S=lo(),e=Ho(),t=Xh(),r=Ec(),o=cv(),n=o.drawMode,i=o.selectMode,a=tf().prepSelect,s=tf().clearOutline,c=tf().clearSelectionsCache,h=tf().selectOnClick,p=tm(),d=hz();function T(m,b){this.id=b,this.gd=m;var v=m._fullLayout,u=m._context;this.container=v._glcontainer.node(),this.isStatic=u.staticPlot,this.uid=v._uid+\"-\"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(v),this.map=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var l=T.prototype;l.plot=function(m,b,v){var u=this,y;u.map?y=new Promise(function(f,P){u.updateMap(m,b,f,P)}):y=new Promise(function(f,P){u.createMap(m,b,f,P)}),v.push(y)},l.createMap=function(m,b,v,u){var y=this,f=b[y.id],P=y.styleObj=w(f.style),L=f.bounds,z=L?[[L.west,L.south],[L.east,L.north]]:null,F=y.map=new g.Map({container:y.div,style:P.style,center:E(f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch,maxBounds:z,interactive:!y.isStatic,preserveDrawingBuffer:y.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new g.AttributionControl({compact:!0})),B={};F.on(\"styleimagemissing\",function(I){var N=I.id;if(!B[N]&&N.includes(\"-15\")){B[N]=!0;var U=new Image(15,15);U.onload=function(){F.addImage(N,U)},U.crossOrigin=\"Anonymous\",U.src=\"https://unpkg.com/maki@2.1.0/icons/\"+N+\".svg\"}}),F.setTransformRequest(function(I){return I=I.replace(\"https://fonts.openmaptiles.org/Open Sans Extrabold\",\"https://fonts.openmaptiles.org/Open Sans Extra Bold\"),I=I.replace(\"https://tiles.basemaps.cartocdn.com/fonts/Open Sans Extrabold\",\"https://fonts.openmaptiles.org/Open Sans Extra Bold\"),I=I.replace(\"https://fonts.openmaptiles.org/Open Sans Regular,Arial Unicode MS Regular\",\"https://fonts.openmaptiles.org/Klokantech Noto Sans Regular\"),{url:I}}),F._canvas.style.left=\"0px\",F._canvas.style.top=\"0px\",y.rejectOnError(u),y.isStatic||y.initFx(m,b);var O=[];O.push(new Promise(function(I){F.once(\"load\",I)})),O=O.concat(A.fetchTraceGeoData(m)),Promise.all(O).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.updateMap=function(m,b,v,u){var y=this,f=y.map,P=b[this.id];y.rejectOnError(u);var L=[],z=w(P.style);JSON.stringify(y.styleObj)!==JSON.stringify(z)&&(y.styleObj=z,f.setStyle(z.style),y.traceHash={},L.push(new Promise(function(F){f.once(\"styledata\",F)}))),L=L.concat(A.fetchTraceGeoData(m)),Promise.all(L).then(function(){y.fillBelowLookup(m,b),y.updateData(m),y.updateLayout(b),y.resolveOnRender(v)}).catch(u)},l.fillBelowLookup=function(m,b){var v=b[this.id],u=v.layers,y,f,P=this.belowLookup={},L=!1;for(y=0;y1)for(y=0;y-1&&h(z.originalEvent,u,[v.xaxis],[v.yaxis],v.id,L),F.indexOf(\"event\")>-1&&r.click(u,z.originalEvent)}}},l.updateFx=function(m){var b=this,v=b.map,u=b.gd;if(b.isStatic)return;function y(z){var F=b.map.unproject(z);return[F.lng,F.lat]}var f=m.dragmode,P;P=function(z,F){if(F.isRect){var B=z.range={};B[b.id]=[y([F.xmin,F.ymin]),y([F.xmax,F.ymax])]}else{var O=z.lassoPoints={};O[b.id]=F.map(y)}};var L=b.dragOptions;b.dragOptions=x.extendDeep(L||{},{dragmode:m.dragmode,element:b.div,gd:u,plotinfo:{id:b.id,domain:m[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:P},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),v.off(\"click\",b.onClickInPanHandler),i(f)||n(f)?(v.dragPan.disable(),v.on(\"zoomstart\",b.clearOutline),b.dragOptions.prepFn=function(z,F,B){a(z,F,B,b.dragOptions,f)},t.init(b.dragOptions)):(v.dragPan.enable(),v.off(\"zoomstart\",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener(\"touchstart\",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),v.on(\"click\",b.onClickInPanHandler))},l.updateFramework=function(m){var b=m[this.id].domain,v=m._size,u=this.div.style;u.width=v.w*(b.x[1]-b.x[0])+\"px\",u.height=v.h*(b.y[1]-b.y[0])+\"px\",u.left=v.l+b.x[0]*v.w+\"px\",u.top=v.t+(1-b.y[1])*v.h+\"px\",this.xaxis._offset=v.l+b.x[0]*v.w,this.xaxis._length=v.w*(b.x[1]-b.x[0]),this.yaxis._offset=v.t+(1-b.y[1])*v.h,this.yaxis._length=v.h*(b.y[1]-b.y[0])},l.updateLayers=function(m){var b=m[this.id],v=b.layers,u=this.layerList,y;if(v.length!==u.length){for(y=0;yv/2){var u=M.split(\"|\").join(\"
\");m.text(u).attr(\"data-unformatted\",u).call(r.convertToTspans,i),b=t.bBox(m.node())}m.attr(\"transform\",g(-3,-b.height+8)),E.insert(\"rect\",\".static-attribution\").attr({x:-b.width-6,y:-b.height-3,width:b.width+6,height:b.height+3,fill:\"rgba(255, 255, 255, 0.75)\"});var y=1;b.width+6>v&&(y=v/(b.width+6));var f=[c.l+c.w*d.x[1],c.t+c.h*(1-d.y[0])];E.attr(\"transform\",g(f[0],f[1])+x(y))}},Z.updateFx=function(i){for(var a=i._fullLayout,s=a._subplots[n],c=0;c=0;o--)t.removeLayer(r[o][1])},e.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},H.exports=function(r,o){var n=o[0].trace,i=new S(r,n.uid),a=i.sourceId,s=g(o),c=i.below=r.belowLookup[\"trace-\"+n.uid];return r.map.addSource(a,{type:\"geojson\",data:s.geojson}),i._addLayers(s,c),o[0].trace._glTrace=i,i}}}),_z=ke({\"src/traces/choroplethmap/index.js\"(Z,H){\"use strict\";H.exports={attributes:gM(),supplyDefaults:gz(),colorbar:Np(),calc:Qx(),plot:yz(),hoverPoints:tb(),eventData:rb(),selectPoints:nb(),styleOnSelect:function(g,x){if(x){var A=x[0].trace;A._glTrace.updateOnSelect(x)}},getBelow:function(g,x){for(var A=x.getMapLayers(),S=A.length-2;S>=0;S--){var e=A[S].id;if(typeof e==\"string\"&&e.indexOf(\"water\")===0){for(var t=S+1;t0?+d[h]:0),c.push({type:\"Feature\",geometry:{type:\"Point\",coordinates:w},properties:M})}}var m=S.extractOpts(n),b=m.reversescale?S.flipScale(m.colorscale):m.colorscale,v=b[0][1],u=A.opacity(v)<1?v:A.addOpacity(v,0),y=[\"interpolate\",[\"linear\"],[\"heatmap-density\"],0,u];for(h=1;h=0;r--)e.removeLayer(t[r][1])},S.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},H.exports=function(t,r){var o=r[0].trace,n=new A(t,o.uid),i=n.sourceId,a=g(r),s=n.below=t.belowLookup[\"trace-\"+o.uid];return t.map.addSource(i,{type:\"geojson\",data:a.geojson}),n._addLayers(a,s),n}}}),Mz=ke({\"src/traces/densitymap/hover.js\"(Z,H){\"use strict\";var g=Ho(),x=_b().hoverPoints,A=_b().getExtraText;H.exports=function(e,t,r){var o=x(e,t,r);if(o){var n=o[0],i=n.cd,a=i[0].trace,s=i[n.index];if(delete n.color,\"z\"in s){var c=n.subplot.mockAxis;n.z=s.z,n.zLabel=g.tickText(c,c.c2l(s.z),\"hover\").text}return n.extraText=A(a,s,i[0].t.labels),[n]}}}}),Sz=ke({\"src/traces/densitymap/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A){return x.lon=A.lon,x.lat=A.lat,x.z=A.z,x}}}),Ez=ke({\"src/traces/densitymap/index.js\"(Z,H){\"use strict\";H.exports={attributes:_M(),supplyDefaults:bz(),colorbar:Np(),formatLabels:pM(),calc:wz(),plot:Az(),hoverPoints:Mz(),eventData:Sz(),getBelow:function(g,x){for(var A=x.getMapLayers(),S=0;S0;){l=w[w.length-1];var M=x[l];if(r[l]=0&&n[l].push(o[m])}r[l]=E}else{if(e[l]===S[l]){for(var b=[],v=[],u=0,E=_.length-1;E>=0;--E){var y=_[E];if(t[y]=!1,b.push(y),v.push(n[y]),u+=n[y].length,o[y]=s.length,y===l){_.length=E;break}}s.push(b);for(var f=new Array(u),E=0;Em&&(m=a.source[_]),a.target[_]>m&&(m=a.target[_]);var b=m+1;n.node._count=b;var v,u=n.node.groups,y={};for(_=0;_0&&e(B,b)&&e(O,b)&&!(y.hasOwnProperty(B)&&y.hasOwnProperty(O)&&y[B]===y[O])){y.hasOwnProperty(O)&&(O=y[O]),y.hasOwnProperty(B)&&(B=y[B]),B=+B,O=+O,d[B]=d[O]=!0;var I=\"\";a.label&&a.label[_]&&(I=a.label[_]);var N=null;I&&T.hasOwnProperty(I)&&(N=T[I]),s.push({pointNumber:_,label:I,color:c?a.color[_]:a.color,hovercolor:h?a.hovercolor[_]:a.hovercolor,customdata:p?a.customdata[_]:a.customdata,concentrationscale:N,source:B,target:O,value:+F}),z.source.push(B),z.target.push(O)}}var U=b+u.length,W=S(i.color),Q=S(i.customdata),le=[];for(_=0;_b-1,childrenNodes:[],pointNumber:_,label:se,color:W?i.color[_]:i.color,customdata:Q?i.customdata[_]:i.customdata})}var fe=!1;return o(U,z.source,z.target)&&(fe=!0),{circular:fe,links:s,nodes:le,groups:u,groupLookup:y}}function o(n,i,a){for(var s=x.init2dArray(n,0),c=0;c1})}H.exports=function(i,a){var s=r(a);return A({circular:s.circular,_nodes:s.nodes,_links:s.links,_groups:s.groups,_groupLookup:s.groupLookup})}}}),Pz=ke({\"node_modules/d3-quadtree/dist/d3-quadtree.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z):(g=g||self,x(g.d3=g.d3||{}))})(Z,function(g){\"use strict\";function x(b){var v=+this._x.call(null,b),u=+this._y.call(null,b);return A(this.cover(v,u),v,u,b)}function A(b,v,u,y){if(isNaN(v)||isNaN(u))return b;var f,P=b._root,L={data:y},z=b._x0,F=b._y0,B=b._x1,O=b._y1,I,N,U,W,Q,le,se,fe;if(!P)return b._root=L,b;for(;P.length;)if((Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N,f=P,!(P=P[se=le<<1|Q]))return f[se]=L,b;if(U=+b._x.call(null,P.data),W=+b._y.call(null,P.data),v===U&&u===W)return L.next=P,f?f[se]=L:b._root=L,b;do f=f?f[se]=new Array(4):b._root=new Array(4),(Q=v>=(I=(z+B)/2))?z=I:B=I,(le=u>=(N=(F+O)/2))?F=N:O=N;while((se=le<<1|Q)===(fe=(W>=N)<<1|U>=I));return f[fe]=P,f[se]=L,b}function S(b){var v,u,y=b.length,f,P,L=new Array(y),z=new Array(y),F=1/0,B=1/0,O=-1/0,I=-1/0;for(u=0;uO&&(O=f),PI&&(I=P));if(F>O||B>I)return this;for(this.cover(F,B).cover(O,I),u=0;ub||b>=f||y>v||v>=P;)switch(B=(vO||(z=W.y0)>I||(F=W.x1)=se)<<1|b>=le)&&(W=N[N.length-1],N[N.length-1]=N[N.length-1-Q],N[N.length-1-Q]=W)}else{var fe=b-+this._x.call(null,U.data),G=v-+this._y.call(null,U.data),$=fe*fe+G*G;if($=(N=(L+F)/2))?L=N:F=N,(Q=I>=(U=(z+B)/2))?z=U:B=U,v=u,!(u=u[le=Q<<1|W]))return this;if(!u.length)break;(v[le+1&3]||v[le+2&3]||v[le+3&3])&&(y=v,se=le)}for(;u.data!==b;)if(f=u,!(u=u.next))return this;return(P=u.next)&&delete u.next,f?(P?f.next=P:delete f.next,this):v?(P?v[le]=P:delete v[le],(u=v[0]||v[1]||v[2]||v[3])&&u===(v[3]||v[2]||v[1]||v[0])&&!u.length&&(y?y[se]=u:this._root=u),this):(this._root=P,this)}function a(b){for(var v=0,u=b.length;v=d.length)return l!=null&&m.sort(l),_!=null?_(m):m;for(var y=-1,f=m.length,P=d[b++],L,z,F=S(),B,O=v();++yd.length)return m;var v,u=T[b-1];return _!=null&&b>=d.length?v=m.entries():(v=[],m.each(function(y,f){v.push({key:f,values:E(y,b)})})),u!=null?v.sort(function(y,f){return u(y.key,f.key)}):v}return w={object:function(m){return M(m,0,t,r)},map:function(m){return M(m,0,o,n)},entries:function(m){return E(M(m,0,o,n),0)},key:function(m){return d.push(m),w},sortKeys:function(m){return T[d.length-1]=m,w},sortValues:function(m){return l=m,w},rollup:function(m){return _=m,w}}}function t(){return{}}function r(d,T,l){d[T]=l}function o(){return S()}function n(d,T,l){d.set(T,l)}function i(){}var a=S.prototype;i.prototype=s.prototype={constructor:i,has:a.has,add:function(d){return d+=\"\",this[x+d]=d,this},remove:a.remove,clear:a.clear,values:a.keys,size:a.size,empty:a.empty,each:a.each};function s(d,T){var l=new i;if(d instanceof i)d.each(function(M){l.add(M)});else if(d){var _=-1,w=d.length;if(T==null)for(;++_=0&&(a=i.slice(s+1),i=i.slice(0,s)),i&&!n.hasOwnProperty(i))throw new Error(\"unknown type: \"+i);return{type:i,name:a}})}S.prototype=A.prototype={constructor:S,on:function(o,n){var i=this._,a=e(o+\"\",i),s,c=-1,h=a.length;if(arguments.length<2){for(;++c0)for(var i=new Array(s),a=0,s,c;a=0&&b._call.call(null,v),b=b._next;--x}function l(){n=(o=a.now())+i,x=A=0;try{T()}finally{x=0,w(),n=0}}function _(){var b=a.now(),v=b-o;v>e&&(i-=v,o=b)}function w(){for(var b,v=t,u,y=1/0;v;)v._call?(y>v._time&&(y=v._time),b=v,v=v._next):(u=v._next,v._next=null,v=b?b._next=u:t=u);r=b,M(y)}function M(b){if(!x){A&&(A=clearTimeout(A));var v=b-n;v>24?(b<1/0&&(A=setTimeout(l,b-a.now()-i)),S&&(S=clearInterval(S))):(S||(o=a.now(),S=setInterval(_,e)),x=1,s(l))}}function E(b,v,u){var y=new p;return v=v==null?0:+v,y.restart(function(f){y.stop(),b(f+v)},v,u),y}function m(b,v,u){var y=new p,f=v;return v==null?(y.restart(b,v,u),y):(v=+v,u=u==null?c():+u,y.restart(function P(L){L+=f,y.restart(P,f+=v,u),b(L)},v,u),y)}g.interval=m,g.now=c,g.timeout=E,g.timer=d,g.timerFlush=T,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Dz=ke({\"node_modules/d3-force/dist/d3-force.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,Pz(),bb(),Iz(),Rz()):x(g.d3=g.d3||{},g.d3,g.d3,g.d3,g.d3)})(Z,function(g,x,A,S,e){\"use strict\";function t(b,v){var u;b==null&&(b=0),v==null&&(v=0);function y(){var f,P=u.length,L,z=0,F=0;for(f=0;fI.index){var ee=N-re.x-re.vx,ie=U-re.y-re.vy,ce=ee*ee+ie*ie;ceN+j||JU+j||XF.r&&(F.r=F[B].r)}function z(){if(v){var F,B=v.length,O;for(u=new Array(B),F=0;F1?(Q==null?z.remove(W):z.set(W,U(Q)),v):z.get(W)},find:function(W,Q,le){var se=0,fe=b.length,G,$,J,X,re;for(le==null?le=1/0:le*=le,se=0;se1?(B.on(W,Q),v):B.on(W)}}}function w(){var b,v,u,y=r(-30),f,P=1,L=1/0,z=.81;function F(N){var U,W=b.length,Q=x.quadtree(b,p,d).visitAfter(O);for(u=N,U=0;U=L)return;(N.data!==v||N.next)&&(le===0&&(le=o(),G+=le*le),se===0&&(se=o(),G+=se*se),GS)if(!(Math.abs(l*p-d*T)>S)||!s)this._+=\"L\"+(this._x1=o)+\",\"+(this._y1=n);else{var w=i-c,M=a-h,E=p*p+d*d,m=w*w+M*M,b=Math.sqrt(E),v=Math.sqrt(_),u=s*Math.tan((x-Math.acos((E+_-m)/(2*b*v)))/2),y=u/v,f=u/b;Math.abs(y-1)>S&&(this._+=\"L\"+(o+y*T)+\",\"+(n+y*l)),this._+=\"A\"+s+\",\"+s+\",0,0,\"+ +(l*w>T*M)+\",\"+(this._x1=o+f*p)+\",\"+(this._y1=n+f*d)}},arc:function(o,n,i,a,s,c){o=+o,n=+n,i=+i,c=!!c;var h=i*Math.cos(a),p=i*Math.sin(a),d=o+h,T=n+p,l=1^c,_=c?a-s:s-a;if(i<0)throw new Error(\"negative radius: \"+i);this._x1===null?this._+=\"M\"+d+\",\"+T:(Math.abs(this._x1-d)>S||Math.abs(this._y1-T)>S)&&(this._+=\"L\"+d+\",\"+T),i&&(_<0&&(_=_%A+A),_>e?this._+=\"A\"+i+\",\"+i+\",0,1,\"+l+\",\"+(o-h)+\",\"+(n-p)+\"A\"+i+\",\"+i+\",0,1,\"+l+\",\"+(this._x1=d)+\",\"+(this._y1=T):_>S&&(this._+=\"A\"+i+\",\"+i+\",0,\"+ +(_>=x)+\",\"+l+\",\"+(this._x1=o+i*Math.cos(s))+\",\"+(this._y1=n+i*Math.sin(s))))},rect:function(o,n,i,a){this._+=\"M\"+(this._x0=this._x1=+o)+\",\"+(this._y0=this._y1=+n)+\"h\"+ +i+\"v\"+ +a+\"h\"+-i+\"Z\"},toString:function(){return this._}},g.path=r,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),wM=ke({\"node_modules/d3-shape/dist/d3-shape.js\"(Z,H){(function(g,x){typeof Z==\"object\"&&typeof H<\"u\"?x(Z,zz()):(g=g||self,x(g.d3=g.d3||{},g.d3))})(Z,function(g,x){\"use strict\";function A(kt){return function(){return kt}}var S=Math.abs,e=Math.atan2,t=Math.cos,r=Math.max,o=Math.min,n=Math.sin,i=Math.sqrt,a=1e-12,s=Math.PI,c=s/2,h=2*s;function p(kt){return kt>1?0:kt<-1?s:Math.acos(kt)}function d(kt){return kt>=1?c:kt<=-1?-c:Math.asin(kt)}function T(kt){return kt.innerRadius}function l(kt){return kt.outerRadius}function _(kt){return kt.startAngle}function w(kt){return kt.endAngle}function M(kt){return kt&&kt.padAngle}function E(kt,or,yr,on,An,Zn,Bn,wn){var Dn=yr-kt,Ui=on-or,pi=Bn-An,Ta=wn-Zn,Sa=Ta*Dn-pi*Ui;if(!(Sa*SaLs*Ls+Vs*Vs&&(Ka=ns,Yo=hs),{cx:Ka,cy:Yo,x01:-pi,y01:-Ta,x11:Ka*(An/gs-1),y11:Yo*(An/gs-1)}}function b(){var kt=T,or=l,yr=A(0),on=null,An=_,Zn=w,Bn=M,wn=null;function Dn(){var Ui,pi,Ta=+kt.apply(this,arguments),Sa=+or.apply(this,arguments),qa=An.apply(this,arguments)-c,to=Zn.apply(this,arguments)-c,yo=S(to-qa),Xa=to>qa;if(wn||(wn=Ui=x.path()),Saa))wn.moveTo(0,0);else if(yo>h-a)wn.moveTo(Sa*t(qa),Sa*n(qa)),wn.arc(0,0,Sa,qa,to,!Xa),Ta>a&&(wn.moveTo(Ta*t(to),Ta*n(to)),wn.arc(0,0,Ta,to,qa,Xa));else{var Go=qa,pa=to,cs=qa,Ko=to,gs=yo,Ya=yo,zo=Bn.apply(this,arguments)/2,Ka=zo>a&&(on?+on.apply(this,arguments):i(Ta*Ta+Sa*Sa)),Yo=o(S(Sa-Ta)/2,+yr.apply(this,arguments)),ns=Yo,hs=Yo,ho,Ro;if(Ka>a){var Ls=d(Ka/Ta*n(zo)),Vs=d(Ka/Sa*n(zo));(gs-=Ls*2)>a?(Ls*=Xa?1:-1,cs+=Ls,Ko-=Ls):(gs=0,cs=Ko=(qa+to)/2),(Ya-=Vs*2)>a?(Vs*=Xa?1:-1,Go+=Vs,pa-=Vs):(Ya=0,Go=pa=(qa+to)/2)}var Ws=Sa*t(Go),fs=Sa*n(Go),Mi=Ta*t(Ko),Da=Ta*n(Ko);if(Yo>a){var pl=Sa*t(pa),Xs=Sa*n(pa),Eo=Ta*t(cs),Ys=Ta*n(cs),As;if(yoa?hs>a?(ho=m(Eo,Ys,Ws,fs,Sa,hs,Xa),Ro=m(pl,Xs,Mi,Da,Sa,hs,Xa),wn.moveTo(ho.cx+ho.x01,ho.cy+ho.y01),hsa)||!(gs>a)?wn.lineTo(Mi,Da):ns>a?(ho=m(Mi,Da,pl,Xs,Ta,-ns,Xa),Ro=m(Ws,fs,Eo,Ys,Ta,-ns,Xa),wn.lineTo(ho.cx+ho.x01,ho.cy+ho.y01),ns=Sa;--qa)wn.point(pa[qa],cs[qa]);wn.lineEnd(),wn.areaEnd()}Xa&&(pa[Ta]=+kt(yo,Ta,pi),cs[Ta]=+yr(yo,Ta,pi),wn.point(or?+or(yo,Ta,pi):pa[Ta],on?+on(yo,Ta,pi):cs[Ta]))}if(Go)return wn=null,Go+\"\"||null}function Ui(){return P().defined(An).curve(Bn).context(Zn)}return Dn.x=function(pi){return arguments.length?(kt=typeof pi==\"function\"?pi:A(+pi),or=null,Dn):kt},Dn.x0=function(pi){return arguments.length?(kt=typeof pi==\"function\"?pi:A(+pi),Dn):kt},Dn.x1=function(pi){return arguments.length?(or=pi==null?null:typeof pi==\"function\"?pi:A(+pi),Dn):or},Dn.y=function(pi){return arguments.length?(yr=typeof pi==\"function\"?pi:A(+pi),on=null,Dn):yr},Dn.y0=function(pi){return arguments.length?(yr=typeof pi==\"function\"?pi:A(+pi),Dn):yr},Dn.y1=function(pi){return arguments.length?(on=pi==null?null:typeof pi==\"function\"?pi:A(+pi),Dn):on},Dn.lineX0=Dn.lineY0=function(){return Ui().x(kt).y(yr)},Dn.lineY1=function(){return Ui().x(kt).y(on)},Dn.lineX1=function(){return Ui().x(or).y(yr)},Dn.defined=function(pi){return arguments.length?(An=typeof pi==\"function\"?pi:A(!!pi),Dn):An},Dn.curve=function(pi){return arguments.length?(Bn=pi,Zn!=null&&(wn=Bn(Zn)),Dn):Bn},Dn.context=function(pi){return arguments.length?(pi==null?Zn=wn=null:wn=Bn(Zn=pi),Dn):Zn},Dn}function z(kt,or){return orkt?1:or>=kt?0:NaN}function F(kt){return kt}function B(){var kt=F,or=z,yr=null,on=A(0),An=A(h),Zn=A(0);function Bn(wn){var Dn,Ui=wn.length,pi,Ta,Sa=0,qa=new Array(Ui),to=new Array(Ui),yo=+on.apply(this,arguments),Xa=Math.min(h,Math.max(-h,An.apply(this,arguments)-yo)),Go,pa=Math.min(Math.abs(Xa)/Ui,Zn.apply(this,arguments)),cs=pa*(Xa<0?-1:1),Ko;for(Dn=0;Dn0&&(Sa+=Ko);for(or!=null?qa.sort(function(gs,Ya){return or(to[gs],to[Ya])}):yr!=null&&qa.sort(function(gs,Ya){return yr(wn[gs],wn[Ya])}),Dn=0,Ta=Sa?(Xa-Ui*cs)/Sa:0;Dn0?Ko*Ta:0)+cs,to[pi]={data:wn[pi],index:Dn,value:Ko,startAngle:yo,endAngle:Go,padAngle:pa};return to}return Bn.value=function(wn){return arguments.length?(kt=typeof wn==\"function\"?wn:A(+wn),Bn):kt},Bn.sortValues=function(wn){return arguments.length?(or=wn,yr=null,Bn):or},Bn.sort=function(wn){return arguments.length?(yr=wn,or=null,Bn):yr},Bn.startAngle=function(wn){return arguments.length?(on=typeof wn==\"function\"?wn:A(+wn),Bn):on},Bn.endAngle=function(wn){return arguments.length?(An=typeof wn==\"function\"?wn:A(+wn),Bn):An},Bn.padAngle=function(wn){return arguments.length?(Zn=typeof wn==\"function\"?wn:A(+wn),Bn):Zn},Bn}var O=N(u);function I(kt){this._curve=kt}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(kt,or){this._curve.point(or*Math.sin(kt),or*-Math.cos(kt))}};function N(kt){function or(yr){return new I(kt(yr))}return or._curve=kt,or}function U(kt){var or=kt.curve;return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt.curve=function(yr){return arguments.length?or(N(yr)):or()._curve},kt}function W(){return U(P().curve(O))}function Q(){var kt=L().curve(O),or=kt.curve,yr=kt.lineX0,on=kt.lineX1,An=kt.lineY0,Zn=kt.lineY1;return kt.angle=kt.x,delete kt.x,kt.startAngle=kt.x0,delete kt.x0,kt.endAngle=kt.x1,delete kt.x1,kt.radius=kt.y,delete kt.y,kt.innerRadius=kt.y0,delete kt.y0,kt.outerRadius=kt.y1,delete kt.y1,kt.lineStartAngle=function(){return U(yr())},delete kt.lineX0,kt.lineEndAngle=function(){return U(on())},delete kt.lineX1,kt.lineInnerRadius=function(){return U(An())},delete kt.lineY0,kt.lineOuterRadius=function(){return U(Zn())},delete kt.lineY1,kt.curve=function(Bn){return arguments.length?or(N(Bn)):or()._curve},kt}function le(kt,or){return[(or=+or)*Math.cos(kt-=Math.PI/2),or*Math.sin(kt)]}var se=Array.prototype.slice;function fe(kt){return kt.source}function G(kt){return kt.target}function $(kt){var or=fe,yr=G,on=y,An=f,Zn=null;function Bn(){var wn,Dn=se.call(arguments),Ui=or.apply(this,Dn),pi=yr.apply(this,Dn);if(Zn||(Zn=wn=x.path()),kt(Zn,+on.apply(this,(Dn[0]=Ui,Dn)),+An.apply(this,Dn),+on.apply(this,(Dn[0]=pi,Dn)),+An.apply(this,Dn)),wn)return Zn=null,wn+\"\"||null}return Bn.source=function(wn){return arguments.length?(or=wn,Bn):or},Bn.target=function(wn){return arguments.length?(yr=wn,Bn):yr},Bn.x=function(wn){return arguments.length?(on=typeof wn==\"function\"?wn:A(+wn),Bn):on},Bn.y=function(wn){return arguments.length?(An=typeof wn==\"function\"?wn:A(+wn),Bn):An},Bn.context=function(wn){return arguments.length?(Zn=wn??null,Bn):Zn},Bn}function J(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or=(or+on)/2,yr,or,An,on,An)}function X(kt,or,yr,on,An){kt.moveTo(or,yr),kt.bezierCurveTo(or,yr=(yr+An)/2,on,yr,on,An)}function re(kt,or,yr,on,An){var Zn=le(or,yr),Bn=le(or,yr=(yr+An)/2),wn=le(on,yr),Dn=le(on,An);kt.moveTo(Zn[0],Zn[1]),kt.bezierCurveTo(Bn[0],Bn[1],wn[0],wn[1],Dn[0],Dn[1])}function ae(){return $(J)}function j(){return $(X)}function ee(){var kt=$(re);return kt.angle=kt.x,delete kt.x,kt.radius=kt.y,delete kt.y,kt}var ie={draw:function(kt,or){var yr=Math.sqrt(or/s);kt.moveTo(yr,0),kt.arc(0,0,yr,0,h)}},ce={draw:function(kt,or){var yr=Math.sqrt(or/5)/2;kt.moveTo(-3*yr,-yr),kt.lineTo(-yr,-yr),kt.lineTo(-yr,-3*yr),kt.lineTo(yr,-3*yr),kt.lineTo(yr,-yr),kt.lineTo(3*yr,-yr),kt.lineTo(3*yr,yr),kt.lineTo(yr,yr),kt.lineTo(yr,3*yr),kt.lineTo(-yr,3*yr),kt.lineTo(-yr,yr),kt.lineTo(-3*yr,yr),kt.closePath()}},xe=Math.sqrt(1/3),Te=xe*2,Ue={draw:function(kt,or){var yr=Math.sqrt(or/Te),on=yr*xe;kt.moveTo(0,-yr),kt.lineTo(on,0),kt.lineTo(0,yr),kt.lineTo(-on,0),kt.closePath()}},Ie=.8908130915292852,Ye=Math.sin(s/10)/Math.sin(7*s/10),it=Math.sin(h/10)*Ye,at=-Math.cos(h/10)*Ye,tt={draw:function(kt,or){var yr=Math.sqrt(or*Ie),on=it*yr,An=at*yr;kt.moveTo(0,-yr),kt.lineTo(on,An);for(var Zn=1;Zn<5;++Zn){var Bn=h*Zn/5,wn=Math.cos(Bn),Dn=Math.sin(Bn);kt.lineTo(Dn*yr,-wn*yr),kt.lineTo(wn*on-Dn*An,Dn*on+wn*An)}kt.closePath()}},ut={draw:function(kt,or){var yr=Math.sqrt(or),on=-yr/2;kt.rect(on,on,yr,yr)}},Me=Math.sqrt(3),pe={draw:function(kt,or){var yr=-Math.sqrt(or/(Me*3));kt.moveTo(0,yr*2),kt.lineTo(-Me*yr,-yr),kt.lineTo(Me*yr,-yr),kt.closePath()}},ue=-.5,Oe=Math.sqrt(3)/2,rt=1/Math.sqrt(12),ot=(rt/2+1)*3,et={draw:function(kt,or){var yr=Math.sqrt(or/ot),on=yr/2,An=yr*rt,Zn=on,Bn=yr*rt+yr,wn=-Zn,Dn=Bn;kt.moveTo(on,An),kt.lineTo(Zn,Bn),kt.lineTo(wn,Dn),kt.lineTo(ue*on-Oe*An,Oe*on+ue*An),kt.lineTo(ue*Zn-Oe*Bn,Oe*Zn+ue*Bn),kt.lineTo(ue*wn-Oe*Dn,Oe*wn+ue*Dn),kt.lineTo(ue*on+Oe*An,ue*An-Oe*on),kt.lineTo(ue*Zn+Oe*Bn,ue*Bn-Oe*Zn),kt.lineTo(ue*wn+Oe*Dn,ue*Dn-Oe*wn),kt.closePath()}},Lt=[ie,ce,Ue,ut,tt,pe,et];function Et(){var kt=A(ie),or=A(64),yr=null;function on(){var An;if(yr||(yr=An=x.path()),kt.apply(this,arguments).draw(yr,+or.apply(this,arguments)),An)return yr=null,An+\"\"||null}return on.type=function(An){return arguments.length?(kt=typeof An==\"function\"?An:A(An),on):kt},on.size=function(An){return arguments.length?(or=typeof An==\"function\"?An:A(+An),on):or},on.context=function(An){return arguments.length?(yr=An??null,on):yr},on}function Bt(){}function qt(kt,or,yr){kt._context.bezierCurveTo((2*kt._x0+kt._x1)/3,(2*kt._y0+kt._y1)/3,(kt._x0+2*kt._x1)/3,(kt._y0+2*kt._y1)/3,(kt._x0+4*kt._x1+or)/6,(kt._y0+4*kt._y1+yr)/6)}function fr(kt){this._context=kt}fr.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:qt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);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:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function ar(kt){return new fr(kt)}function Rr(kt){this._context=kt}Rr.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x2=kt,this._y2=or;break;case 1:this._point=2,this._x3=kt,this._y3=or;break;case 2:this._point=3,this._x4=kt,this._y4=or,this._context.moveTo((this._x0+4*this._x1+kt)/6,(this._y0+4*this._y1+or)/6);break;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function gr(kt){return new Rr(kt)}function br(kt){this._context=kt}br.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var yr=(this._x0+4*this._x1+kt)/6,on=(this._y0+4*this._y1+or)/6;this._line?this._context.lineTo(yr,on):this._context.moveTo(yr,on);break;case 3:this._point=4;default:qt(this,kt,or);break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or}};function _t(kt){return new br(kt)}function Be(kt,or){this._basis=new fr(kt),this._beta=or}Be.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length-1;if(yr>0)for(var on=kt[0],An=or[0],Zn=kt[yr]-on,Bn=or[yr]-An,wn=-1,Dn;++wn<=yr;)Dn=wn/yr,this._basis.point(this._beta*kt[wn]+(1-this._beta)*(on+Dn*Zn),this._beta*or[wn]+(1-this._beta)*(An+Dn*Bn));this._x=this._y=null,this._basis.lineEnd()},point:function(kt,or){this._x.push(+kt),this._y.push(+or)}};var Ke=function kt(or){function yr(on){return or===1?new fr(on):new Be(on,or)}return yr.beta=function(on){return kt(+on)},yr}(.85);function je(kt,or,yr){kt._context.bezierCurveTo(kt._x1+kt._k*(kt._x2-kt._x0),kt._y1+kt._k*(kt._y2-kt._y0),kt._x2+kt._k*(kt._x1-or),kt._y2+kt._k*(kt._y1-yr),kt._x2,kt._y2)}function Se(kt,or){this._context=kt,this._k=(1-or)/6}Se.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:je(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2,this._x1=kt,this._y1=or;break;case 2:this._point=3;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var He=function kt(or){function yr(on){return new Se(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Ee(kt,or){this._context=kt,this._k=(1-or)/6}Ee.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var we=function kt(or){function yr(on){return new Ee(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function Le(kt,or){this._context=kt,this._k=(1-or)/6}Le.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){switch(kt=+kt,or=+or,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:je(this,kt,or);break}this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var nt=function kt(or){function yr(on){return new Le(on,or)}return yr.tension=function(on){return kt(+on)},yr}(0);function pt(kt,or,yr){var on=kt._x1,An=kt._y1,Zn=kt._x2,Bn=kt._y2;if(kt._l01_a>a){var wn=2*kt._l01_2a+3*kt._l01_a*kt._l12_a+kt._l12_2a,Dn=3*kt._l01_a*(kt._l01_a+kt._l12_a);on=(on*wn-kt._x0*kt._l12_2a+kt._x2*kt._l01_2a)/Dn,An=(An*wn-kt._y0*kt._l12_2a+kt._y2*kt._l01_2a)/Dn}if(kt._l23_a>a){var Ui=2*kt._l23_2a+3*kt._l23_a*kt._l12_a+kt._l12_2a,pi=3*kt._l23_a*(kt._l23_a+kt._l12_a);Zn=(Zn*Ui+kt._x1*kt._l23_2a-or*kt._l12_2a)/pi,Bn=(Bn*Ui+kt._y1*kt._l23_2a-yr*kt._l12_2a)/pi}kt._context.bezierCurveTo(on,An,Zn,Bn,kt._x2,kt._y2)}function bt(kt,or){this._context=kt,this._alpha=or}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Rt=function kt(or){function yr(on){return or?new bt(on,or):new Se(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function Nt(kt,or){this._context=kt,this._alpha=or}Nt.prototype={areaStart:Bt,areaEnd:Bt,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);break}}},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=kt,this._y3=or;break;case 1:this._point=2,this._context.moveTo(this._x4=kt,this._y4=or);break;case 2:this._point=3,this._x5=kt,this._y5=or;break;default:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var Xt=function kt(or){function yr(on){return or?new Nt(on,or):new Ee(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function $t(kt,or){this._context=kt,this._alpha=or}$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){if(kt=+kt,or=+or,this._point){var yr=this._x2-kt,on=this._y2-or;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(yr*yr+on*on,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:pt(this,kt,or);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=kt,this._y0=this._y1,this._y1=this._y2,this._y2=or}};var ur=function kt(or){function yr(on){return or?new $t(on,or):new Le(on,0)}return yr.alpha=function(on){return kt(+on)},yr}(.5);function pn(kt){this._context=kt}pn.prototype={areaStart:Bt,areaEnd:Bt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(kt,or){kt=+kt,or=+or,this._point?this._context.lineTo(kt,or):(this._point=1,this._context.moveTo(kt,or))}};function Rn(kt){return new pn(kt)}function Nn(kt){return kt<0?-1:1}function On(kt,or,yr){var on=kt._x1-kt._x0,An=or-kt._x1,Zn=(kt._y1-kt._y0)/(on||An<0&&-0),Bn=(yr-kt._y1)/(An||on<0&&-0),wn=(Zn*An+Bn*on)/(on+An);return(Nn(Zn)+Nn(Bn))*Math.min(Math.abs(Zn),Math.abs(Bn),.5*Math.abs(wn))||0}function ni(kt,or){var yr=kt._x1-kt._x0;return yr?(3*(kt._y1-kt._y0)/yr-or)/2:or}function zn(kt,or,yr){var on=kt._x0,An=kt._y0,Zn=kt._x1,Bn=kt._y1,wn=(Zn-on)/3;kt._context.bezierCurveTo(on+wn,An+wn*or,Zn-wn,Bn-wn*yr,Zn,Bn)}function Qn(kt){this._context=kt}Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zn(this,this._t0,ni(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(kt,or){var yr=NaN;if(kt=+kt,or=+or,!(kt===this._x1&&or===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;break;case 2:this._point=3,zn(this,ni(this,yr=On(this,kt,or)),yr);break;default:zn(this,this._t0,yr=On(this,kt,or));break}this._x0=this._x1,this._x1=kt,this._y0=this._y1,this._y1=or,this._t0=yr}}};function gi(kt){this._context=new Zt(kt)}(gi.prototype=Object.create(Qn.prototype)).point=function(kt,or){Qn.prototype.point.call(this,or,kt)};function Zt(kt){this._context=kt}Zt.prototype={moveTo:function(kt,or){this._context.moveTo(or,kt)},closePath:function(){this._context.closePath()},lineTo:function(kt,or){this._context.lineTo(or,kt)},bezierCurveTo:function(kt,or,yr,on,An,Zn){this._context.bezierCurveTo(or,kt,on,yr,Zn,An)}};function Ft(kt){return new Qn(kt)}function Ht(kt){return new gi(kt)}function Vt(kt){this._context=kt}Vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var kt=this._x,or=this._y,yr=kt.length;if(yr)if(this._line?this._context.lineTo(kt[0],or[0]):this._context.moveTo(kt[0],or[0]),yr===2)this._context.lineTo(kt[1],or[1]);else for(var on=wr(kt),An=wr(or),Zn=0,Bn=1;Bn=0;--or)An[or]=(Bn[or]-An[or+1])/Zn[or];for(Zn[yr-1]=(kt[yr]+An[yr-1])/2,or=0;or=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(kt,or){switch(kt=+kt,or=+or,this._point){case 0:this._point=1,this._line?this._context.lineTo(kt,or):this._context.moveTo(kt,or);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,or),this._context.lineTo(kt,or);else{var yr=this._x*(1-this._t)+kt*this._t;this._context.lineTo(yr,this._y),this._context.lineTo(yr,or)}break}}this._x=kt,this._y=or}};function en(kt){return new xn(kt,.5)}function Fn(kt){return new xn(kt,0)}function Wn(kt){return new xn(kt,1)}function ri(kt,or){if((Bn=kt.length)>1)for(var yr=1,on,An,Zn=kt[or[0]],Bn,wn=Zn.length;yr=0;)yr[or]=or;return yr}function ui(kt,or){return kt[or]}function gt(){var kt=A([]),or=Sn,yr=ri,on=ui;function An(Zn){var Bn=kt.apply(this,arguments),wn,Dn=Zn.length,Ui=Bn.length,pi=new Array(Ui),Ta;for(wn=0;wn0){for(var yr,on,An=0,Zn=kt[0].length,Bn;An0)for(var yr,on=0,An,Zn,Bn,wn,Dn,Ui=kt[or[0]].length;on0?(An[0]=Bn,An[1]=Bn+=Zn):Zn<0?(An[1]=wn,An[0]=wn+=Zn):(An[0]=0,An[1]=Zn)}function Ir(kt,or){if((An=kt.length)>0){for(var yr=0,on=kt[or[0]],An,Zn=on.length;yr0)||!((Zn=(An=kt[or[0]]).length)>0))){for(var yr=0,on=1,An,Zn,Bn;onZn&&(Zn=An,yr=or);return yr}function Ur(kt){var or=kt.map(Dr);return Sn(kt).sort(function(yr,on){return or[yr]-or[on]})}function Dr(kt){for(var or=0,yr=-1,on=kt.length,An;++yr0;--re)ee(X*=.99),ie(),j(X),ie();function ae(){var ce=x.max(J,function(Ue){return Ue.length}),xe=U*(P-y)/(ce-1);z>xe&&(z=xe);var Te=x.min(J,function(Ue){return(P-y-(Ue.length-1)*z)/x.sum(Ue,h)});J.forEach(function(Ue){Ue.forEach(function(Ie,Ye){Ie.y1=(Ie.y0=Ye)+Ie.value*Te})}),$.links.forEach(function(Ue){Ue.width=Ue.value*Te})}function j(ce){J.forEach(function(xe){xe.forEach(function(Te){if(Te.targetLinks.length){var Ue=(x.sum(Te.targetLinks,d)/x.sum(Te.targetLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ee(ce){J.slice().reverse().forEach(function(xe){xe.forEach(function(Te){if(Te.sourceLinks.length){var Ue=(x.sum(Te.sourceLinks,T)/x.sum(Te.sourceLinks,h)-p(Te))*ce;Te.y0+=Ue,Te.y1+=Ue}})})}function ie(){J.forEach(function(ce){var xe,Te,Ue=y,Ie=ce.length,Ye;for(ce.sort(c),Ye=0;Ye0&&(xe.y0+=Te,xe.y1+=Te),Ue=xe.y1+z;if(Te=Ue-z-P,Te>0)for(Ue=xe.y0-=Te,xe.y1-=Te,Ye=Ie-2;Ye>=0;--Ye)xe=ce[Ye],Te=xe.y1+z-Ue,Te>0&&(xe.y0-=Te,xe.y1-=Te),Ue=xe.y0})}}function G($){$.nodes.forEach(function(J){J.sourceLinks.sort(s),J.targetLinks.sort(a)}),$.nodes.forEach(function(J){var X=J.y0,re=X;J.sourceLinks.forEach(function(ae){ae.y0=X+ae.width/2,X+=ae.width}),J.targetLinks.forEach(function(ae){ae.y1=re+ae.width/2,re+=ae.width})})}return W};function m(u){return[u.source.x1,u.y0]}function b(u){return[u.target.x0,u.y1]}var v=function(){return S.linkHorizontal().source(m).target(b)};g.sankey=E,g.sankeyCenter=n,g.sankeyLeft=t,g.sankeyRight=r,g.sankeyJustify=o,g.sankeyLinkHorizontal=v,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),Oz=ke({\"node_modules/elementary-circuits-directed-graph/johnson.js\"(Z,H){var g=bM();H.exports=function(A,S){var e=[],t=[],r=[],o={},n=[],i;function a(M){r[M]=!1,o.hasOwnProperty(M)&&Object.keys(o[M]).forEach(function(E){delete o[M][E],r[E]&&a(E)})}function s(M){var E=!1;t.push(M),r[M]=!0;var m,b;for(m=0;m=M})}function p(M){h(M);for(var E=A,m=g(E),b=m.components.filter(function(z){return z.length>1}),v=1/0,u,y=0;y\"u\"?\"undefined\":s(Se))!==\"object\"&&(Se=Ke.source=m(Be,Se)),(typeof He>\"u\"?\"undefined\":s(He))!==\"object\"&&(He=Ke.target=m(Be,He)),Se.sourceLinks.push(Ke),He.targetLinks.push(Ke)}),_t}function qt(_t){_t.nodes.forEach(function(Be){Be.partOfCycle=!1,Be.value=Math.max(x.sum(Be.sourceLinks,d),x.sum(Be.targetLinks,d)),Be.sourceLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)}),Be.targetLinks.forEach(function(Ke){Ke.circular&&(Be.partOfCycle=!0,Be.circularLinkType=Ke.circularLinkType)})})}function fr(_t){var Be=0,Ke=0,je=0,Se=0,He=x.max(_t.nodes,function(Ee){return Ee.column});return _t.links.forEach(function(Ee){Ee.circular&&(Ee.circularLinkType==\"top\"?Be=Be+Ee.width:Ke=Ke+Ee.width,Ee.target.column==0&&(Se=Se+Ee.width),Ee.source.column==He&&(je=je+Ee.width))}),Be=Be>0?Be+v+u:Be,Ke=Ke>0?Ke+v+u:Ke,je=je>0?je+v+u:je,Se=Se>0?Se+v+u:Se,{top:Be,bottom:Ke,left:Se,right:je}}function ar(_t,Be){var Ke=x.max(_t.nodes,function(nt){return nt.column}),je=it-Ie,Se=at-Ye,He=je+Be.right+Be.left,Ee=Se+Be.top+Be.bottom,we=je/He,Le=Se/Ee;return Ie=Ie*we+Be.left,it=Be.right==0?it:it*we,Ye=Ye*Le+Be.top,at=at*Le,_t.nodes.forEach(function(nt){nt.x0=Ie+nt.column*((it-Ie-tt)/Ke),nt.x1=nt.x0+tt}),Le}function Rr(_t){var Be,Ke,je;for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.depth=je,Se.sourceLinks.forEach(function(He){Ke.indexOf(He.target)<0&&!He.circular&&Ke.push(He.target)})});for(Be=_t.nodes,Ke=[],je=0;Be.length;++je,Be=Ke,Ke=[])Be.forEach(function(Se){Se.height=je,Se.targetLinks.forEach(function(He){Ke.indexOf(He.source)<0&&!He.circular&&Ke.push(He.source)})});_t.nodes.forEach(function(Se){Se.column=Math.floor(pe.call(null,Se,je))})}function gr(_t,Be,Ke){var je=A.nest().key(function(nt){return nt.column}).sortKeys(x.ascending).entries(_t.nodes).map(function(nt){return nt.values});Ee(Ke),Le();for(var Se=1,He=Be;He>0;--He)we(Se*=.99,Ke),Le();function Ee(nt){if(et){var pt=1/0;je.forEach(function(Xt){var $t=at*et/(Xt.length+1);pt=$t0))if(Xt==0&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else if(Xt==bt-1&&Nt==1)ur=$t.y1-$t.y0,$t.y0=at/2-ur/2,$t.y1=at/2+ur/2;else{var pn=0,Rn=x.mean($t.sourceLinks,_),Nn=x.mean($t.targetLinks,l);Rn&&Nn?pn=(Rn+Nn)/2:pn=Rn||Nn;var On=(pn-T($t))*nt;$t.y0+=On,$t.y1+=On}})})}function Le(){je.forEach(function(nt){var pt,bt,Rt=Ye,Nt=nt.length,Xt;for(nt.sort(p),Xt=0;Xt0&&(pt.y0+=bt,pt.y1+=bt),Rt=pt.y1+ut;if(bt=Rt-ut-at,bt>0)for(Rt=pt.y0-=bt,pt.y1-=bt,Xt=Nt-2;Xt>=0;--Xt)pt=nt[Xt],bt=pt.y1+ut-Rt,bt>0&&(pt.y0-=bt,pt.y1-=bt),Rt=pt.y0})}}function br(_t){_t.nodes.forEach(function(Be){Be.sourceLinks.sort(h),Be.targetLinks.sort(c)}),_t.nodes.forEach(function(Be){var Ke=Be.y0,je=Ke,Se=Be.y1,He=Se;Be.sourceLinks.forEach(function(Ee){Ee.circular?(Ee.y0=Se-Ee.width/2,Se=Se-Ee.width):(Ee.y0=Ke+Ee.width/2,Ke+=Ee.width)}),Be.targetLinks.forEach(function(Ee){Ee.circular?(Ee.y1=He-Ee.width/2,He=He-Ee.width):(Ee.y1=je+Ee.width/2,je+=Ee.width)})})}return Et}function P(Ie,Ye,it){var at=0;if(it===null){for(var tt=[],ut=0;utYe.source.column)}function B(Ie,Ye){var it=0;Ie.sourceLinks.forEach(function(tt){it=tt.circular&&!Te(tt,Ye)?it+1:it});var at=0;return Ie.targetLinks.forEach(function(tt){at=tt.circular&&!Te(tt,Ye)?at+1:at}),it+at}function O(Ie){var Ye=Ie.source.sourceLinks,it=0;Ye.forEach(function(ut){it=ut.circular?it+1:it});var at=Ie.target.targetLinks,tt=0;return at.forEach(function(ut){tt=ut.circular?tt+1:tt}),!(it>1||tt>1)}function I(Ie,Ye,it){return Ie.sort(W),Ie.forEach(function(at,tt){var ut=0;if(Te(at,it)&&O(at))at.circularPathData.verticalBuffer=ut+at.width/2;else{var Me=0;for(Me;Meut?pe:ut}at.circularPathData.verticalBuffer=ut+at.width/2}}),Ie}function N(Ie,Ye,it,at){var tt=5,ut=x.min(Ie.links,function(ue){return ue.source.y0});Ie.links.forEach(function(ue){ue.circular&&(ue.circularPathData={})});var Me=Ie.links.filter(function(ue){return ue.circularLinkType==\"top\"});I(Me,Ye,at);var pe=Ie.links.filter(function(ue){return ue.circularLinkType==\"bottom\"});I(pe,Ye,at),Ie.links.forEach(function(ue){if(ue.circular){if(ue.circularPathData.arcRadius=ue.width+u,ue.circularPathData.leftNodeBuffer=tt,ue.circularPathData.rightNodeBuffer=tt,ue.circularPathData.sourceWidth=ue.source.x1-ue.source.x0,ue.circularPathData.sourceX=ue.source.x0+ue.circularPathData.sourceWidth,ue.circularPathData.targetX=ue.target.x0,ue.circularPathData.sourceY=ue.y0,ue.circularPathData.targetY=ue.y1,Te(ue,at)&&O(ue))ue.circularPathData.leftSmallArcRadius=u+ue.width/2,ue.circularPathData.leftLargeArcRadius=u+ue.width/2,ue.circularPathData.rightSmallArcRadius=u+ue.width/2,ue.circularPathData.rightLargeArcRadius=u+ue.width/2,ue.circularLinkType==\"bottom\"?(ue.circularPathData.verticalFullExtent=ue.source.y1+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ue.source.y0-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius);else{var Oe=ue.source.column,rt=ue.circularLinkType,ot=Ie.links.filter(function(Et){return Et.source.column==Oe&&Et.circularLinkType==rt});ue.circularLinkType==\"bottom\"?ot.sort(le):ot.sort(Q);var et=0;ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.leftSmallArcRadius=u+ue.width/2+et,ue.circularPathData.leftLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),Oe=ue.target.column,ot=Ie.links.filter(function(Et){return Et.target.column==Oe&&Et.circularLinkType==rt}),ue.circularLinkType==\"bottom\"?ot.sort(fe):ot.sort(se),et=0,ot.forEach(function(Et,Bt){Et.circularLinkID==ue.circularLinkID&&(ue.circularPathData.rightSmallArcRadius=u+ue.width/2+et,ue.circularPathData.rightLargeArcRadius=u+ue.width/2+Bt*Ye+et),et=et+Et.width}),ue.circularLinkType==\"bottom\"?(ue.circularPathData.verticalFullExtent=Math.max(it,ue.source.y1,ue.target.y1)+v+ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent-ue.circularPathData.rightLargeArcRadius):(ue.circularPathData.verticalFullExtent=ut-v-ue.circularPathData.verticalBuffer,ue.circularPathData.verticalLeftInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.leftLargeArcRadius,ue.circularPathData.verticalRightInnerExtent=ue.circularPathData.verticalFullExtent+ue.circularPathData.rightLargeArcRadius)}ue.circularPathData.leftInnerExtent=ue.circularPathData.sourceX+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightInnerExtent=ue.circularPathData.targetX-ue.circularPathData.rightNodeBuffer,ue.circularPathData.leftFullExtent=ue.circularPathData.sourceX+ue.circularPathData.leftLargeArcRadius+ue.circularPathData.leftNodeBuffer,ue.circularPathData.rightFullExtent=ue.circularPathData.targetX-ue.circularPathData.rightLargeArcRadius-ue.circularPathData.rightNodeBuffer}if(ue.circular)ue.path=U(ue);else{var Lt=S.linkHorizontal().source(function(Et){var Bt=Et.source.x0+(Et.source.x1-Et.source.x0),qt=Et.y0;return[Bt,qt]}).target(function(Et){var Bt=Et.target.x0,qt=Et.y1;return[Bt,qt]});ue.path=Lt(ue)}})}function U(Ie){var Ye=\"\";return Ie.circularLinkType==\"top\"?Ye=\"M\"+Ie.circularPathData.sourceX+\" \"+Ie.circularPathData.sourceY+\" L\"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.sourceY+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftSmallArcRadius+\" 0 0 0 \"+Ie.circularPathData.leftFullExtent+\" \"+(Ie.circularPathData.sourceY-Ie.circularPathData.leftSmallArcRadius)+\" L\"+Ie.circularPathData.leftFullExtent+\" \"+Ie.circularPathData.verticalLeftInnerExtent+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftLargeArcRadius+\" 0 0 0 \"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" L\"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightLargeArcRadius+\" 0 0 0 \"+Ie.circularPathData.rightFullExtent+\" \"+Ie.circularPathData.verticalRightInnerExtent+\" L\"+Ie.circularPathData.rightFullExtent+\" \"+(Ie.circularPathData.targetY-Ie.circularPathData.rightSmallArcRadius)+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightSmallArcRadius+\" 0 0 0 \"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.targetY+\" L\"+Ie.circularPathData.targetX+\" \"+Ie.circularPathData.targetY:Ye=\"M\"+Ie.circularPathData.sourceX+\" \"+Ie.circularPathData.sourceY+\" L\"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.sourceY+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftSmallArcRadius+\" 0 0 1 \"+Ie.circularPathData.leftFullExtent+\" \"+(Ie.circularPathData.sourceY+Ie.circularPathData.leftSmallArcRadius)+\" L\"+Ie.circularPathData.leftFullExtent+\" \"+Ie.circularPathData.verticalLeftInnerExtent+\" A\"+Ie.circularPathData.leftLargeArcRadius+\" \"+Ie.circularPathData.leftLargeArcRadius+\" 0 0 1 \"+Ie.circularPathData.leftInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" L\"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.verticalFullExtent+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightLargeArcRadius+\" 0 0 1 \"+Ie.circularPathData.rightFullExtent+\" \"+Ie.circularPathData.verticalRightInnerExtent+\" L\"+Ie.circularPathData.rightFullExtent+\" \"+(Ie.circularPathData.targetY+Ie.circularPathData.rightSmallArcRadius)+\" A\"+Ie.circularPathData.rightLargeArcRadius+\" \"+Ie.circularPathData.rightSmallArcRadius+\" 0 0 1 \"+Ie.circularPathData.rightInnerExtent+\" \"+Ie.circularPathData.targetY+\" L\"+Ie.circularPathData.targetX+\" \"+Ie.circularPathData.targetY,Ye}function W(Ie,Ye){return G(Ie)==G(Ye)?Ie.circularLinkType==\"bottom\"?le(Ie,Ye):Q(Ie,Ye):G(Ye)-G(Ie)}function Q(Ie,Ye){return Ie.y0-Ye.y0}function le(Ie,Ye){return Ye.y0-Ie.y0}function se(Ie,Ye){return Ie.y1-Ye.y1}function fe(Ie,Ye){return Ye.y1-Ie.y1}function G(Ie){return Ie.target.column-Ie.source.column}function $(Ie){return Ie.target.x0-Ie.source.x1}function J(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)==\"up\"?Ie.y1+at:Ie.y1-at;return tt}function X(Ie,Ye){var it=z(Ie),at=$(Ye)/Math.tan(it),tt=xe(Ie)==\"up\"?Ie.y1-at:Ie.y1+at;return tt}function re(Ie,Ye,it,at){Ie.links.forEach(function(tt){if(!tt.circular&&tt.target.column-tt.source.column>1){var ut=tt.source.column+1,Me=tt.target.column-1,pe=1,ue=Me-ut+1;for(pe=1;ut<=Me;ut++,pe++)Ie.nodes.forEach(function(Oe){if(Oe.column==ut){var rt=pe/(ue+1),ot=Math.pow(1-rt,3),et=3*rt*Math.pow(1-rt,2),Lt=3*Math.pow(rt,2)*(1-rt),Et=Math.pow(rt,3),Bt=ot*tt.y0+et*tt.y0+Lt*tt.y1+Et*tt.y1,qt=Bt-tt.width/2,fr=Bt+tt.width/2,ar;qt>Oe.y0&&qtOe.y0&&frOe.y1&&j(Rr,ar,Ye,it)})):qtOe.y1&&(ar=fr-Oe.y0+10,Oe=j(Oe,ar,Ye,it),Ie.nodes.forEach(function(Rr){b(Rr,at)==b(Oe,at)||Rr.column!=Oe.column||Rr.y0Oe.y1&&j(Rr,ar,Ye,it)}))}})}})}function ae(Ie,Ye){return Ie.y0>Ye.y0&&Ie.y0Ye.y0&&Ie.y1Ye.y1}function j(Ie,Ye,it,at){return Ie.y0+Ye>=it&&Ie.y1+Ye<=at&&(Ie.y0=Ie.y0+Ye,Ie.y1=Ie.y1+Ye,Ie.targetLinks.forEach(function(tt){tt.y1=tt.y1+Ye}),Ie.sourceLinks.forEach(function(tt){tt.y0=tt.y0+Ye})),Ie}function ee(Ie,Ye,it,at){Ie.nodes.forEach(function(tt){at&&tt.y+(tt.y1-tt.y0)>Ye&&(tt.y=tt.y-(tt.y+(tt.y1-tt.y0)-Ye));var ut=Ie.links.filter(function(ue){return b(ue.source,it)==b(tt,it)}),Me=ut.length;Me>1&&ut.sort(function(ue,Oe){if(!ue.circular&&!Oe.circular){if(ue.target.column==Oe.target.column)return ue.y1-Oe.y1;if(ce(ue,Oe)){if(ue.target.column>Oe.target.column){var rt=X(Oe,ue);return ue.y1-rt}if(Oe.target.column>ue.target.column){var ot=X(ue,Oe);return ot-Oe.y1}}else return ue.y1-Oe.y1}if(ue.circular&&!Oe.circular)return ue.circularLinkType==\"top\"?-1:1;if(Oe.circular&&!ue.circular)return Oe.circularLinkType==\"top\"?1:-1;if(ue.circular&&Oe.circular)return ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType==\"top\"?ue.target.column===Oe.target.column?ue.target.y1-Oe.target.y1:Oe.target.column-ue.target.column:ue.circularLinkType===Oe.circularLinkType&&ue.circularLinkType==\"bottom\"?ue.target.column===Oe.target.column?Oe.target.y1-ue.target.y1:ue.target.column-Oe.target.column:ue.circularLinkType==\"top\"?-1:1});var pe=tt.y0;ut.forEach(function(ue){ue.y0=pe+ue.width/2,pe=pe+ue.width}),ut.forEach(function(ue,Oe){if(ue.circularLinkType==\"bottom\"){var rt=Oe+1,ot=0;for(rt;rt1&&tt.sort(function(pe,ue){if(!pe.circular&&!ue.circular){if(pe.source.column==ue.source.column)return pe.y0-ue.y0;if(ce(pe,ue)){if(ue.source.column0?\"up\":\"down\"}function Te(Ie,Ye){return b(Ie.source,Ye)==b(Ie.target,Ye)}function Ue(Ie,Ye,it){var at=Ie.nodes,tt=Ie.links,ut=!1,Me=!1;if(tt.forEach(function(et){et.circularLinkType==\"top\"?ut=!0:et.circularLinkType==\"bottom\"&&(Me=!0)}),ut==!1||Me==!1){var pe=x.min(at,function(et){return et.y0}),ue=x.max(at,function(et){return et.y1}),Oe=ue-pe,rt=it-Ye,ot=rt/Oe;at.forEach(function(et){var Lt=(et.y1-et.y0)*ot;et.y0=(et.y0-pe)*ot,et.y1=et.y0+Lt}),tt.forEach(function(et){et.y0=(et.y0-pe)*ot,et.y1=(et.y1-pe)*ot,et.width=et.width*ot})}}g.sankeyCircular=f,g.sankeyCenter=i,g.sankeyLeft=r,g.sankeyRight=o,g.sankeyJustify=n,Object.defineProperty(g,\"__esModule\",{value:!0})})}}),TM=ke({\"src/traces/sankey/constants.js\"(Z,H){\"use strict\";H.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:\"linear\",cn:{sankey:\"sankey\",sankeyLinks:\"sankey-links\",sankeyLink:\"sankey-link\",sankeyNodeSet:\"sankey-node-set\",sankeyNode:\"sankey-node\",nodeRect:\"node-rect\",nodeLabel:\"node-label\"}}}}),Nz=ke({\"src/traces/sankey/render.js\"(Z,H){\"use strict\";var g=Dz(),x=(Ym(),hi(Xp)).interpolateNumber,A=_i(),S=Fz(),e=Bz(),t=TM(),r=ru(),o=eo(),n=$o(),i=un(),a=i.strTranslate,s=i.strRotate,c=Dv(),h=c.keyFun,p=c.repeat,d=c.unwrap,T=Wl(),l=lo(),_=Yf(),w=_.CAP_SHIFT,M=_.LINE_SPACING,E=3;function m(J,X,re){var ae=d(X),j=ae.trace,ee=j.domain,ie=j.orientation===\"h\",ce=j.node.pad,xe=j.node.thickness,Te={justify:S.sankeyJustify,left:S.sankeyLeft,right:S.sankeyRight,center:S.sankeyCenter}[j.node.align],Ue=J.width*(ee.x[1]-ee.x[0]),Ie=J.height*(ee.y[1]-ee.y[0]),Ye=ae._nodes,it=ae._links,at=ae.circular,tt;at?tt=e.sankeyCircular().circularLinkGap(0):tt=S.sankey(),tt.iterations(t.sankeyIterations).size(ie?[Ue,Ie]:[Ie,Ue]).nodeWidth(xe).nodePadding(ce).nodeId(function(Rr){return Rr.pointNumber}).nodeAlign(Te).nodes(Ye).links(it);var ut=tt();tt.nodePadding()=Be||(_t=Be-br.y0,_t>1e-6&&(br.y0+=_t,br.y1+=_t)),Be=br.y1+ce})}function Bt(Rr){var gr=Rr.map(function(He,Ee){return{x0:He.x0,index:Ee}}).sort(function(He,Ee){return He.x0-Ee.x0}),br=[],_t=-1,Be,Ke=-1/0,je;for(Me=0;MeKe+xe&&(_t+=1,Be=Se.x0),Ke=Se.x0,br[_t]||(br[_t]=[]),br[_t].push(Se),je=Be-Se.x0,Se.x0+=je,Se.x1+=je}return br}if(j.node.x.length&&j.node.y.length){for(Me=0;Me0?\" L \"+j.targetX+\" \"+j.targetY:\"\")+\"Z\"):(re=\"M \"+(j.targetX-X)+\" \"+(j.targetY-ae)+\" L \"+(j.rightInnerExtent-X)+\" \"+(j.targetY-ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightSmallArcRadius+ae)+\" 0 0 0 \"+(j.rightFullExtent-ae-X)+\" \"+(j.targetY+j.rightSmallArcRadius)+\" L \"+(j.rightFullExtent-ae-X)+\" \"+j.verticalRightInnerExtent,ee&&ie?re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightInnerExtent-ae-X)+\" \"+(j.verticalFullExtent+ae)+\" L \"+(j.rightFullExtent+ae-X-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent:ee?re+=\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent-X-ae-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.leftFullExtent+ae+(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent:re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightInnerExtent-X)+\" \"+(j.verticalFullExtent+ae)+\" L \"+j.leftInnerExtent+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.leftLargeArcRadius+ae)+\" \"+(j.leftLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+j.verticalLeftInnerExtent,re+=\" L \"+(j.leftFullExtent+ae)+\" \"+(j.sourceY+j.leftSmallArcRadius)+\" A \"+(j.leftLargeArcRadius+ae)+\" \"+(j.leftSmallArcRadius+ae)+\" 0 0 0 \"+j.leftInnerExtent+\" \"+(j.sourceY-ae)+\" L \"+j.sourceX+\" \"+(j.sourceY-ae)+\" L \"+j.sourceX+\" \"+(j.sourceY+ae)+\" L \"+j.leftInnerExtent+\" \"+(j.sourceY+ae)+\" A \"+(j.leftLargeArcRadius-ae)+\" \"+(j.leftSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent-ae)+\" \"+(j.sourceY+j.leftSmallArcRadius)+\" L \"+(j.leftFullExtent-ae)+\" \"+j.verticalLeftInnerExtent,ee&&ie?re+=\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.leftFullExtent-ae-(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.rightFullExtent+ae-X+(j.rightLargeArcRadius-ae))+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent:ee?re+=\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.leftFullExtent+ae)+\" \"+(j.verticalFullExtent+ae)+\" L \"+(j.rightFullExtent-X-ae)+\" \"+(j.verticalFullExtent+ae)+\" A \"+(j.rightLargeArcRadius+ae)+\" \"+(j.rightLargeArcRadius+ae)+\" 0 0 0 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent:re+=\" A \"+(j.leftLargeArcRadius-ae)+\" \"+(j.leftLargeArcRadius-ae)+\" 0 0 1 \"+j.leftInnerExtent+\" \"+(j.verticalFullExtent-ae)+\" L \"+(j.rightInnerExtent-X)+\" \"+(j.verticalFullExtent-ae)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightLargeArcRadius-ae)+\" 0 0 1 \"+(j.rightFullExtent+ae-X)+\" \"+j.verticalRightInnerExtent,re+=\" L \"+(j.rightFullExtent+ae-X)+\" \"+(j.targetY+j.rightSmallArcRadius)+\" A \"+(j.rightLargeArcRadius-ae)+\" \"+(j.rightSmallArcRadius-ae)+\" 0 0 1 \"+(j.rightInnerExtent-X)+\" \"+(j.targetY+ae)+\" L \"+(j.targetX-X)+\" \"+(j.targetY+ae)+(X>0?\" L \"+j.targetX+\" \"+j.targetY:\"\")+\"Z\"),re}function u(){var J=.5;function X(re){var ae=re.linkArrowLength;if(re.link.circular)return v(re.link,ae);var j=Math.abs((re.link.target.x0-re.link.source.x1)/2);ae>j&&(ae=j);var ee=re.link.source.x1,ie=re.link.target.x0-ae,ce=x(ee,ie),xe=ce(J),Te=ce(1-J),Ue=re.link.y0-re.link.width/2,Ie=re.link.y0+re.link.width/2,Ye=re.link.y1-re.link.width/2,it=re.link.y1+re.link.width/2,at=\"M\"+ee+\",\"+Ue,tt=\"C\"+xe+\",\"+Ue+\" \"+Te+\",\"+Ye+\" \"+ie+\",\"+Ye,ut=\"C\"+Te+\",\"+it+\" \"+xe+\",\"+Ie+\" \"+ee+\",\"+Ie,Me=ae>0?\"L\"+(ie+ae)+\",\"+(Ye+re.link.width/2):\"\";return Me+=\"L\"+ie+\",\"+it,at+tt+Me+ut+\"Z\"}return X}function y(J,X){var re=r(X.color),ae=t.nodePadAcross,j=J.nodePad/2;X.dx=X.x1-X.x0,X.dy=X.y1-X.y0;var ee=X.dx,ie=Math.max(.5,X.dy),ce=\"node_\"+X.pointNumber;return X.group&&(ce=i.randstr()),X.trace=J.trace,X.curveNumber=J.trace.index,{index:X.pointNumber,key:ce,partOfGroup:X.partOfGroup||!1,group:X.group,traceId:J.key,trace:J.trace,node:X,nodePad:J.nodePad,nodeLineColor:J.nodeLineColor,nodeLineWidth:J.nodeLineWidth,textFont:J.textFont,size:J.horizontal?J.height:J.width,visibleWidth:Math.ceil(ee),visibleHeight:ie,zoneX:-ae,zoneY:-j,zoneWidth:ee+2*ae,zoneHeight:ie+2*j,labelY:J.horizontal?X.dy/2+1:X.dx/2+1,left:X.originalLayer===1,sizeAcross:J.width,forceLayouts:J.forceLayouts,horizontal:J.horizontal,darkBackground:re.getBrightness()<=128,tinyColorHue:o.tinyRGB(re),tinyColorAlpha:re.getAlpha(),valueFormat:J.valueFormat,valueSuffix:J.valueSuffix,sankey:J.sankey,graph:J.graph,arrangement:J.arrangement,uniqueNodeLabelPathId:[J.guid,J.key,ce].join(\"_\"),interactionState:J.interactionState,figure:J}}function f(J){J.attr(\"transform\",function(X){return a(X.node.x0.toFixed(3),X.node.y0.toFixed(3))})}function P(J){J.call(f)}function L(J,X){J.call(P),X.attr(\"d\",u())}function z(J){J.attr(\"width\",function(X){return X.node.x1-X.node.x0}).attr(\"height\",function(X){return X.visibleHeight})}function F(J){return J.link.width>1||J.linkLineWidth>0}function B(J){var X=a(J.translateX,J.translateY);return X+(J.horizontal?\"matrix(1 0 0 1 0 0)\":\"matrix(0 1 1 0 0 0)\")}function O(J,X,re){J.on(\".basic\",null).on(\"mouseover.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.hover(this,ae,X),ae.interactionState.hovered=[this,ae])}).on(\"mousemove.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.follow(this,ae),ae.interactionState.hovered=[this,ae])}).on(\"mouseout.basic\",function(ae){!ae.interactionState.dragInProgress&&!ae.partOfGroup&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1)}).on(\"click.basic\",function(ae){ae.interactionState.hovered&&(re.unhover(this,ae,X),ae.interactionState.hovered=!1),!ae.interactionState.dragInProgress&&!ae.partOfGroup&&re.select(this,ae,X)})}function I(J,X,re,ae){var j=A.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on(\"dragstart\",function(ee){if(ee.arrangement!==\"fixed\"&&(i.ensureSingle(ae._fullLayout._infolayer,\"g\",\"dragcover\",function(ce){ae._fullLayout._dragCover=ce}),i.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,se(ee.node),ee.interactionState.hovered&&(re.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement===\"snap\")){var ie=ee.traceId+\"|\"+ee.key;ee.forceLayouts[ie]?ee.forceLayouts[ie].alpha(1):N(J,ie,ee,ae),U(J,X,ee,ie,ae)}}).on(\"drag\",function(ee){if(ee.arrangement!==\"fixed\"){var ie=A.event.x,ce=A.event.y;ee.arrangement===\"snap\"?(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2,ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2):(ee.arrangement===\"freeform\"&&(ee.node.x0=ie-ee.visibleWidth/2,ee.node.x1=ie+ee.visibleWidth/2),ce=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,ce)),ee.node.y0=ce-ee.visibleHeight/2,ee.node.y1=ce+ee.visibleHeight/2),se(ee.node),ee.arrangement!==\"snap\"&&(ee.sankey.update(ee.graph),L(J.filter(fe(ee)),X))}}).on(\"dragend\",function(ee){if(ee.arrangement!==\"fixed\"){ee.interactionState.dragInProgress=!1;for(var ie=0;ie0)window.requestAnimationFrame(ee);else{var xe=re.node.originalX;re.node.x0=xe-re.visibleWidth/2,re.node.x1=xe+re.visibleWidth/2,Q(re,j)}})}function W(J,X,re,ae){return function(){for(var ee=0,ie=0;ie0&&ae.forceLayouts[X].alpha(0)}}function Q(J,X){for(var re=[],ae=[],j=0;j\"),color:_(G,\"bgcolor\")||t.addOpacity(ae.color,1),borderColor:_(G,\"bordercolor\"),fontFamily:_(G,\"font.family\"),fontSize:_(G,\"font.size\"),fontColor:_(G,\"font.color\"),fontWeight:_(G,\"font.weight\"),fontStyle:_(G,\"font.style\"),fontVariant:_(G,\"font.variant\"),fontTextcase:_(G,\"font.textcase\"),fontLineposition:_(G,\"font.lineposition\"),fontShadow:_(G,\"font.shadow\"),nameLength:_(G,\"namelength\"),textAlign:_(G,\"align\"),idealAlign:g.event.x\"),color:_(G,\"bgcolor\")||fe.tinyColorHue,borderColor:_(G,\"bordercolor\"),fontFamily:_(G,\"font.family\"),fontSize:_(G,\"font.size\"),fontColor:_(G,\"font.color\"),fontWeight:_(G,\"font.weight\"),fontStyle:_(G,\"font.style\"),fontVariant:_(G,\"font.variant\"),fontTextcase:_(G,\"font.textcase\"),fontLineposition:_(G,\"font.lineposition\"),fontShadow:_(G,\"font.shadow\"),nameLength:_(G,\"namelength\"),textAlign:_(G,\"align\"),idealAlign:\"left\",hovertemplate:G.hovertemplate,hovertemplateLabels:ee,eventData:[fe.node]},{container:m._hoverlayer.node(),outerContainer:m._paper.node(),gd:M});a(xe,.85),s(xe)}}},le=function(se,fe,G){M._fullLayout.hovermode!==!1&&(g.select(se).call(d,fe,G),fe.node.trace.node.hoverinfo!==\"skip\"&&(fe.node.fullData=fe.node.trace,M.emit(\"plotly_unhover\",{event:g.event,points:[fe.node]})),e.loneUnhover(m._hoverlayer.node()))};S(M,b,E,{width:v.w,height:v.h,margin:{t:v.t,r:v.r,b:v.b,l:v.l}},{linkEvents:{hover:P,follow:I,unhover:N,select:f},nodeEvents:{hover:W,follow:Q,unhover:le,select:U}})}}}),Uz=ke({\"src/traces/sankey/base_plot.js\"(Z){\"use strict\";var H=ju().overrideAll,g=bh().getModuleCalcData,x=AM(),A=vl(),S=uv(),e=Xh(),t=tf().prepSelect,r=un(),o=lo(),n=\"sankey\";Z.name=n,Z.baseLayoutAttrOverrides=H({hoverlabel:A.hoverlabel},\"plot\",\"nested\"),Z.plot=function(a){var s=g(a.calcdata,n)[0];x(a,s),Z.updateFx(a)},Z.clean=function(a,s,c,h){var p=h._has&&h._has(n),d=s._has&&s._has(n);p&&!d&&(h._paperdiv.selectAll(\".sankey\").remove(),h._paperdiv.selectAll(\".bgsankey\").remove())},Z.updateFx=function(a){for(var s=0;s0}H.exports=function(F,B,O,I){var N=F._fullLayout,U;w(O)&&I&&(U=I()),S.makeTraceGroups(N._indicatorlayer,B,\"trace\").each(function(W){var Q=W[0],le=Q.trace,se=g.select(this),fe=le._hasGauge,G=le._isAngular,$=le._isBullet,J=le.domain,X={w:N._size.w*(J.x[1]-J.x[0]),h:N._size.h*(J.y[1]-J.y[0]),l:N._size.l+N._size.w*J.x[0],r:N._size.r+N._size.w*(1-J.x[1]),t:N._size.t+N._size.h*(1-J.y[1]),b:N._size.b+N._size.h*J.y[0]},re=X.l+X.w/2,ae=X.t+X.h/2,j=Math.min(X.w/2,X.h),ee=i.innerRadius*j,ie,ce,xe,Te=le.align||\"center\";if(ce=ae,!fe)ie=X.l+l[Te]*X.w,xe=function(ue){return y(ue,X.w,X.h)};else if(G&&(ie=re,ce=ae+j/2,xe=function(ue){return f(ue,.9*ee)}),$){var Ue=i.bulletPadding,Ie=1-i.bulletNumberDomainSize+Ue;ie=X.l+(Ie+(1-Ie)*l[Te])*X.w,xe=function(ue){return y(ue,(i.bulletNumberDomainSize-Ue)*X.w,X.h)}}m(F,se,W,{numbersX:ie,numbersY:ce,numbersScaler:xe,transitionOpts:O,onComplete:U});var Ye,it;fe&&(Ye={range:le.gauge.axis.range,color:le.gauge.bgcolor,line:{color:le.gauge.bordercolor,width:0},thickness:1},it={range:le.gauge.axis.range,color:\"rgba(0, 0, 0, 0)\",line:{color:le.gauge.bordercolor,width:le.gauge.borderwidth},thickness:1});var at=se.selectAll(\"g.angular\").data(G?W:[]);at.exit().remove();var tt=se.selectAll(\"g.angularaxis\").data(G?W:[]);tt.exit().remove(),G&&E(F,se,W,{radius:j,innerRadius:ee,gauge:at,layer:tt,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var ut=se.selectAll(\"g.bullet\").data($?W:[]);ut.exit().remove();var Me=se.selectAll(\"g.bulletaxis\").data($?W:[]);Me.exit().remove(),$&&M(F,se,W,{gauge:ut,layer:Me,size:X,gaugeBg:Ye,gaugeOutline:it,transitionOpts:O,onComplete:U});var pe=se.selectAll(\"text.title\").data(W);pe.exit().remove(),pe.enter().append(\"text\").classed(\"title\",!0),pe.attr(\"text-anchor\",function(){return $?T.right:T[le.title.align]}).text(le.title.text).call(n.font,le.title.font).call(a.convertToTspans,F),pe.attr(\"transform\",function(){var ue=X.l+X.w*l[le.title.align],Oe,rt=i.titlePadding,ot=n.bBox(pe.node());if(fe){if(G)if(le.gauge.axis.visible){var et=n.bBox(tt.node());Oe=et.top-rt-ot.bottom}else Oe=X.t+X.h/2-j/2-ot.bottom-rt;$&&(Oe=ce-(ot.top+ot.bottom)/2,ue=X.l-i.bulletPadding*X.w)}else Oe=le._numbersTop-rt-ot.bottom;return t(ue,Oe)})})};function M(z,F,B,O){var I=B[0].trace,N=O.gauge,U=O.layer,W=O.gaugeBg,Q=O.gaugeOutline,le=O.size,se=I.domain,fe=O.transitionOpts,G=O.onComplete,$,J,X,re,ae;N.enter().append(\"g\").classed(\"bullet\",!0),N.attr(\"transform\",t(le.l,le.t)),U.enter().append(\"g\").classed(\"bulletaxis\",!0).classed(\"crisp\",!0),U.selectAll(\"g.xbulletaxistick,path,text\").remove();var j=le.h,ee=I.gauge.bar.thickness*j,ie=se.x[0],ce=se.x[0]+(se.x[1]-se.x[0])*(I._hasNumber||I._hasDelta?1-i.bulletNumberDomainSize:1);$=u(z,I.gauge.axis),$._id=\"xbulletaxis\",$.domain=[ie,ce],$.setScale(),J=s.calcTicks($),X=s.makeTransTickFn($),re=s.getTickSigns($)[2],ae=le.t+le.h,$.visible&&(s.drawTicks(z,$,{vals:$.ticks===\"inside\"?s.clipEnds($,J):J,layer:U,path:s.makeTickPath($,ae,re),transFn:X}),s.drawLabels(z,$,{vals:J,layer:U,transFn:X,labelFns:s.makeLabelFns($,ae)}));function xe(tt){tt.attr(\"width\",function(ut){return Math.max(0,$.c2p(ut.range[1])-$.c2p(ut.range[0]))}).attr(\"x\",function(ut){return $.c2p(ut.range[0])}).attr(\"y\",function(ut){return .5*(1-ut.thickness)*j}).attr(\"height\",function(ut){return ut.thickness*j})}var Te=[W].concat(I.gauge.steps),Ue=N.selectAll(\"g.bg-bullet\").data(Te);Ue.enter().append(\"g\").classed(\"bg-bullet\",!0).append(\"rect\"),Ue.select(\"rect\").call(xe).call(b),Ue.exit().remove();var Ie=N.selectAll(\"g.value-bullet\").data([I.gauge.bar]);Ie.enter().append(\"g\").classed(\"value-bullet\",!0).append(\"rect\"),Ie.select(\"rect\").attr(\"height\",ee).attr(\"y\",(j-ee)/2).call(b),w(fe)?Ie.select(\"rect\").transition().duration(fe.duration).ease(fe.easing).each(\"end\",function(){G&&G()}).each(\"interrupt\",function(){G&&G()}).attr(\"width\",Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y)))):Ie.select(\"rect\").attr(\"width\",typeof B[0].y==\"number\"?Math.max(0,$.c2p(Math.min(I.gauge.axis.range[1],B[0].y))):0),Ie.exit().remove();var Ye=B.filter(function(){return I.gauge.threshold.value||I.gauge.threshold.value===0}),it=N.selectAll(\"g.threshold-bullet\").data(Ye);it.enter().append(\"g\").classed(\"threshold-bullet\",!0).append(\"line\"),it.select(\"line\").attr(\"x1\",$.c2p(I.gauge.threshold.value)).attr(\"x2\",$.c2p(I.gauge.threshold.value)).attr(\"y1\",(1-I.gauge.threshold.thickness)/2*j).attr(\"y2\",(1-(1-I.gauge.threshold.thickness)/2)*j).call(d.stroke,I.gauge.threshold.line.color).style(\"stroke-width\",I.gauge.threshold.line.width),it.exit().remove();var at=N.selectAll(\"g.gauge-outline\").data([Q]);at.enter().append(\"g\").classed(\"gauge-outline\",!0).append(\"rect\"),at.select(\"rect\").call(xe).call(b),at.exit().remove()}function E(z,F,B,O){var I=B[0].trace,N=O.size,U=O.radius,W=O.innerRadius,Q=O.gaugeBg,le=O.gaugeOutline,se=[N.l+N.w/2,N.t+N.h/2+U/2],fe=O.gauge,G=O.layer,$=O.transitionOpts,J=O.onComplete,X=Math.PI/2;function re(Lt){var Et=I.gauge.axis.range[0],Bt=I.gauge.axis.range[1],qt=(Lt-Et)/(Bt-Et)*Math.PI-X;return qt<-X?-X:qt>X?X:qt}function ae(Lt){return g.svg.arc().innerRadius((W+U)/2-Lt/2*(U-W)).outerRadius((W+U)/2+Lt/2*(U-W)).startAngle(-X)}function j(Lt){Lt.attr(\"d\",function(Et){return ae(Et.thickness).startAngle(re(Et.range[0])).endAngle(re(Et.range[1]))()})}var ee,ie,ce,xe;fe.enter().append(\"g\").classed(\"angular\",!0),fe.attr(\"transform\",t(se[0],se[1])),G.enter().append(\"g\").classed(\"angularaxis\",!0).classed(\"crisp\",!0),G.selectAll(\"g.xangularaxistick,path,text\").remove(),ee=u(z,I.gauge.axis),ee.type=\"linear\",ee.range=I.gauge.axis.range,ee._id=\"xangularaxis\",ee.ticklabeloverflow=\"allow\",ee.setScale();var Te=function(Lt){return(ee.range[0]-Lt.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Ue={},Ie=s.makeLabelFns(ee,0),Ye=Ie.labelStandoff;Ue.xFn=function(Lt){var Et=Te(Lt);return Math.cos(Et)*Ye},Ue.yFn=function(Lt){var Et=Te(Lt),Bt=Math.sin(Et)>0?.2:1;return-Math.sin(Et)*(Ye+Lt.fontSize*Bt)+Math.abs(Math.cos(Et))*(Lt.fontSize*o)},Ue.anchorFn=function(Lt){var Et=Te(Lt),Bt=Math.cos(Et);return Math.abs(Bt)<.1?\"middle\":Bt>0?\"start\":\"end\"},Ue.heightFn=function(Lt,Et,Bt){var qt=Te(Lt);return-.5*(1+Math.sin(qt))*Bt};var it=function(Lt){return t(se[0]+U*Math.cos(Lt),se[1]-U*Math.sin(Lt))};ce=function(Lt){return it(Te(Lt))};var at=function(Lt){var Et=Te(Lt);return it(Et)+\"rotate(\"+-r(Et)+\")\"};if(ie=s.calcTicks(ee),xe=s.getTickSigns(ee)[2],ee.visible){xe=ee.ticks===\"inside\"?-1:1;var tt=(ee.linewidth||1)/2;s.drawTicks(z,ee,{vals:ie,layer:G,path:\"M\"+xe*tt+\",0h\"+xe*ee.ticklen,transFn:at}),s.drawLabels(z,ee,{vals:ie,layer:G,transFn:ce,labelFns:Ue})}var ut=[Q].concat(I.gauge.steps),Me=fe.selectAll(\"g.bg-arc\").data(ut);Me.enter().append(\"g\").classed(\"bg-arc\",!0).append(\"path\"),Me.select(\"path\").call(j).call(b),Me.exit().remove();var pe=ae(I.gauge.bar.thickness),ue=fe.selectAll(\"g.value-arc\").data([I.gauge.bar]);ue.enter().append(\"g\").classed(\"value-arc\",!0).append(\"path\");var Oe=ue.select(\"path\");w($)?(Oe.transition().duration($.duration).ease($.easing).each(\"end\",function(){J&&J()}).each(\"interrupt\",function(){J&&J()}).attrTween(\"d\",v(pe,re(B[0].lastY),re(B[0].y))),I._lastValue=B[0].y):Oe.attr(\"d\",typeof B[0].y==\"number\"?pe.endAngle(re(B[0].y)):\"M0,0Z\"),Oe.call(b),ue.exit().remove(),ut=[];var rt=I.gauge.threshold.value;(rt||rt===0)&&ut.push({range:[rt,rt],color:I.gauge.threshold.color,line:{color:I.gauge.threshold.line.color,width:I.gauge.threshold.line.width},thickness:I.gauge.threshold.thickness});var ot=fe.selectAll(\"g.threshold-arc\").data(ut);ot.enter().append(\"g\").classed(\"threshold-arc\",!0).append(\"path\"),ot.select(\"path\").call(j).call(b),ot.exit().remove();var et=fe.selectAll(\"g.gauge-outline\").data([le]);et.enter().append(\"g\").classed(\"gauge-outline\",!0).append(\"path\"),et.select(\"path\").call(j).call(b),et.exit().remove()}function m(z,F,B,O){var I=B[0].trace,N=O.numbersX,U=O.numbersY,W=I.align||\"center\",Q=T[W],le=O.transitionOpts,se=O.onComplete,fe=S.ensureSingle(F,\"g\",\"numbers\"),G,$,J,X=[];I._hasNumber&&X.push(\"number\"),I._hasDelta&&(X.push(\"delta\"),I.delta.position===\"left\"&&X.reverse());var re=fe.selectAll(\"text\").data(X);re.enter().append(\"text\"),re.attr(\"text-anchor\",function(){return Q}).attr(\"class\",function(it){return it}).attr(\"x\",null).attr(\"y\",null).attr(\"dx\",null).attr(\"dy\",null),re.exit().remove();function ae(it,at,tt,ut){if(it.match(\"s\")&&tt>=0!=ut>=0&&!at(tt).slice(-1).match(_)&&!at(ut).slice(-1).match(_)){var Me=it.slice().replace(\"s\",\"f\").replace(/\\d+/,function(ue){return parseInt(ue)-1}),pe=u(z,{tickformat:Me});return function(ue){return Math.abs(ue)<1?s.tickText(pe,ue).text:at(ue)}}else return at}function j(){var it=u(z,{tickformat:I.number.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ue){return s.tickText(it,ue).text},tt=I.number.suffix,ut=I.number.prefix,Me=fe.select(\"text.number\");function pe(){var ue=typeof B[0].y==\"number\"?ut+at(B[0].y)+tt:\"-\";Me.text(ue).call(n.font,I.number.font).call(a.convertToTspans,z)}return w(le)?Me.transition().duration(le.duration).ease(le.easing).each(\"end\",function(){pe(),se&&se()}).each(\"interrupt\",function(){pe(),se&&se()}).attrTween(\"text\",function(){var ue=g.select(this),Oe=A(B[0].lastY,B[0].y);I._lastValue=B[0].y;var rt=ae(I.number.valueformat,at,B[0].lastY,B[0].y);return function(ot){ue.text(ut+rt(Oe(ot))+tt)}}):pe(),G=P(ut+at(B[0].y)+tt,I.number.font,Q,z),Me}function ee(){var it=u(z,{tickformat:I.delta.valueformat},I._range);it.setScale(),s.prepTicks(it);var at=function(ot){return s.tickText(it,ot).text},tt=I.delta.suffix,ut=I.delta.prefix,Me=function(ot){var et=I.delta.relative?ot.relativeDelta:ot.delta;return et},pe=function(ot,et){return ot===0||typeof ot!=\"number\"||isNaN(ot)?\"-\":(ot>0?I.delta.increasing.symbol:I.delta.decreasing.symbol)+ut+et(ot)+tt},ue=function(ot){return ot.delta>=0?I.delta.increasing.color:I.delta.decreasing.color};I._deltaLastValue===void 0&&(I._deltaLastValue=Me(B[0]));var Oe=fe.select(\"text.delta\");Oe.call(n.font,I.delta.font).call(d.fill,ue({delta:I._deltaLastValue}));function rt(){Oe.text(pe(Me(B[0]),at)).call(d.fill,ue(B[0])).call(a.convertToTspans,z)}return w(le)?Oe.transition().duration(le.duration).ease(le.easing).tween(\"text\",function(){var ot=g.select(this),et=Me(B[0]),Lt=I._deltaLastValue,Et=ae(I.delta.valueformat,at,Lt,et),Bt=A(Lt,et);return I._deltaLastValue=et,function(qt){ot.text(pe(Bt(qt),Et)),ot.call(d.fill,ue({delta:Bt(qt)}))}}).each(\"end\",function(){rt(),se&&se()}).each(\"interrupt\",function(){rt(),se&&se()}):rt(),$=P(pe(Me(B[0]),at),I.delta.font,Q,z),Oe}var ie=I.mode+I.align,ce;if(I._hasDelta&&(ce=ee(),ie+=I.delta.position+I.delta.font.size+I.delta.font.family+I.delta.valueformat,ie+=I.delta.increasing.symbol+I.delta.decreasing.symbol,J=$),I._hasNumber&&(j(),ie+=I.number.font.size+I.number.font.family+I.number.valueformat+I.number.suffix+I.number.prefix,J=G),I._hasDelta&&I._hasNumber){var xe=[(G.left+G.right)/2,(G.top+G.bottom)/2],Te=[($.left+$.right)/2,($.top+$.bottom)/2],Ue,Ie,Ye=.75*I.delta.font.size;I.delta.position===\"left\"&&(Ue=L(I,\"deltaPos\",0,-1*(G.width*l[I.align]+$.width*(1-l[I.align])+Ye),ie,Math.min),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:$.left+Ue,right:G.right,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position===\"right\"&&(Ue=L(I,\"deltaPos\",0,G.width*(1-l[I.align])+$.width*l[I.align]+Ye,ie,Math.max),Ie=xe[1]-Te[1],J={width:G.width+$.width+Ye,height:Math.max(G.height,$.height),left:G.left,right:$.right+Ue,top:Math.min(G.top,$.top+Ie),bottom:Math.max(G.bottom,$.bottom+Ie)}),I.delta.position===\"bottom\"&&(Ue=null,Ie=$.height,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height,bottom:G.bottom+$.height}),I.delta.position===\"top\"&&(Ue=null,Ie=G.top,J={width:Math.max(G.width,$.width),height:G.height+$.height,left:Math.min(G.left,$.left),right:Math.max(G.right,$.right),top:G.bottom-G.height-$.height,bottom:G.bottom}),ce.attr({dx:Ue,dy:Ie})}(I._hasNumber||I._hasDelta)&&fe.attr(\"transform\",function(){var it=O.numbersScaler(J);ie+=it[2];var at=L(I,\"numbersScale\",1,it[0],ie,Math.min),tt;I._scaleNumbers||(at=1),I._isAngular?tt=U-at*J.bottom:tt=U-at*(J.top+J.bottom)/2,I._numbersTop=at*J.top+tt;var ut=J[W];W===\"center\"&&(ut=(J.left+J.right)/2);var Me=N-at*ut;return Me=L(I,\"numbersTranslate\",0,Me,ie,Math.max),t(Me,tt)+e(at)})}function b(z){z.each(function(F){d.stroke(g.select(this),F.line.color)}).each(function(F){d.fill(g.select(this),F.color)}).style(\"stroke-width\",function(F){return F.line.width})}function v(z,F,B){return function(){var O=x(F,B);return function(I){return z.endAngle(O(I))()}}}function u(z,F,B){var O=z._fullLayout,I=S.extendFlat({type:\"linear\",ticks:\"outside\",range:B,showline:!0},F),N={type:\"linear\",_id:\"x\"+F._id},U={letter:\"x\",font:O.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function W(Q,le){return S.coerce(I,N,p,Q,le)}return c(I,N,W,U,O),h(I,N,W,U),N}function y(z,F,B){var O=Math.min(F/z.width,B/z.height);return[O,z,F+\"x\"+B]}function f(z,F){var B=Math.sqrt(z.width/2*(z.width/2)+z.height*z.height),O=F/B;return[O,z,F]}function P(z,F,B,O){var I=document.createElementNS(\"http://www.w3.org/2000/svg\",\"text\"),N=g.select(I);return N.text(z).attr(\"x\",0).attr(\"y\",0).attr(\"text-anchor\",B).attr(\"data-unformatted\",z).call(a.convertToTspans,O).call(n.font,F),n.bBox(N.node())}function L(z,F,B,O,I,N){var U=\"_cache\"+F;z[U]&&z[U].key===I||(z[U]={key:I,value:B});var W=S.aggNums(N,null,[z[U].value,O],2);return z[U].value=W,W}}}),Zz=ke({\"src/traces/indicator/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"indicator\",basePlotModule:Hz(),categories:[\"svg\",\"noOpacity\",\"noHover\"],animatable:!0,attributes:MM(),supplyDefaults:Gz().supplyDefaults,calc:Wz().calc,plot:Xz(),meta:{}}}}),Yz=ke({\"lib/indicator.js\"(Z,H){\"use strict\";H.exports=Zz()}}),EM=ke({\"src/traces/table/attributes.js\"(Z,H){\"use strict\";var g=Dm(),x=To().extendFlat,A=ju().overrideAll,S=Il(),e=Yu().attributes,t=Sc().descriptionOnlyNumbers,r=H.exports=A({domain:e({name:\"table\",trace:!0}),columnwidth:{valType:\"number\",arrayOk:!0,dflt:null},columnorder:{valType:\"data_array\"},header:{values:{valType:\"data_array\",dflt:[]},format:{valType:\"data_array\",dflt:[],description:t(\"cell value\")},prefix:{valType:\"string\",arrayOk:!0,dflt:null},suffix:{valType:\"string\",arrayOk:!0,dflt:null},height:{valType:\"number\",dflt:28},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:\"number\",arrayOk:!0,dflt:1},color:{valType:\"color\",arrayOk:!0,dflt:\"grey\"}},fill:{color:{valType:\"color\",arrayOk:!0,dflt:\"white\"}},font:x({},S({arrayOk:!0}))},cells:{values:{valType:\"data_array\",dflt:[]},format:{valType:\"data_array\",dflt:[],description:t(\"cell value\")},prefix:{valType:\"string\",arrayOk:!0,dflt:null},suffix:{valType:\"string\",arrayOk:!0,dflt:null},height:{valType:\"number\",dflt:20},align:x({},g.align,{arrayOk:!0}),line:{width:{valType:\"number\",arrayOk:!0,dflt:1},color:{valType:\"color\",arrayOk:!0,dflt:\"grey\"}},fill:{color:{valType:\"color\",arrayOk:!0,dflt:\"white\"}},font:x({},S({arrayOk:!0}))}},\"calc\",\"from-root\")}}),Kz=ke({\"src/traces/table/defaults.js\"(Z,H){\"use strict\";var g=un(),x=EM(),A=Yu().defaults;function S(e,t){for(var r=e.columnorder||[],o=e.header.values.length,n=r.slice(0,o),i=n.slice().sort(function(c,h){return c-h}),a=n.map(function(c){return i.indexOf(c)}),s=a.length;s\",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:\"cubic-out\",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:\"cubic-out\",uplift:5,wrapSpacer:\" \",wrapSplitCharacter:\" \",cn:{table:\"table\",tableControlView:\"table-control-view\",scrollBackground:\"scroll-background\",yColumn:\"y-column\",columnBlock:\"column-block\",scrollAreaClip:\"scroll-area-clip\",scrollAreaClipRect:\"scroll-area-clip-rect\",columnBoundary:\"column-boundary\",columnBoundaryClippath:\"column-boundary-clippath\",columnBoundaryRect:\"column-boundary-rect\",columnCells:\"column-cells\",columnCell:\"column-cell\",cellRect:\"cell-rect\",cellText:\"cell-text\",cellTextHolder:\"cell-text-holder\",scrollbarKit:\"scrollbar-kit\",scrollbar:\"scrollbar\",scrollbarSlider:\"scrollbar-slider\",scrollbarGlyph:\"scrollbar-glyph\",scrollbarCaptureZone:\"scrollbar-capture-zone\"}}}}),$z=ke({\"src/traces/table/data_preparation_helper.js\"(Z,H){\"use strict\";var g=CM(),x=To().extendFlat,A=Yn(),S=Oa().isTypedArray,e=Oa().isArrayOrTypedArray;H.exports=function(p,d){var T=o(d.cells.values),l=function(Q){return Q.slice(d.header.values.length,Q.length)},_=o(d.header.values);_.length&&!_[0].length&&(_[0]=[\"\"],_=o(_));var w=_.concat(l(T).map(function(){return n((_[0]||[\"\"]).length)})),M=d.domain,E=Math.floor(p._fullLayout._size.w*(M.x[1]-M.x[0])),m=Math.floor(p._fullLayout._size.h*(M.y[1]-M.y[0])),b=d.header.values.length?w[0].map(function(){return d.header.height}):[g.emptyHeaderHeight],v=T.length?T[0].map(function(){return d.cells.height}):[],u=b.reduce(r,0),y=m-u,f=y+g.uplift,P=s(v,f),L=s(b,u),z=a(L,[]),F=a(P,z),B={},O=d._fullInput.columnorder;e(O)&&(O=Array.from(O)),O=O.concat(l(T.map(function(Q,le){return le})));var I=w.map(function(Q,le){var se=e(d.columnwidth)?d.columnwidth[Math.min(le,d.columnwidth.length-1)]:d.columnwidth;return A(se)?Number(se):1}),N=I.reduce(r,0);I=I.map(function(Q){return Q/N*E});var U=Math.max(t(d.header.line.width),t(d.cells.line.width)),W={key:d.uid+p._context.staticPlot,translateX:M.x[0]*p._fullLayout._size.w,translateY:p._fullLayout._size.h*(1-M.y[1]),size:p._fullLayout._size,width:E,maxLineWidth:U,height:m,columnOrder:O,groupHeight:m,rowBlocks:F,headerRowBlocks:z,scrollY:0,cells:x({},d.cells,{values:T}),headerCells:x({},d.header,{values:w}),gdColumns:w.map(function(Q){return Q[0]}),gdColumnsOriginalOrder:w.map(function(Q){return Q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:w.map(function(Q,le){var se=B[Q];B[Q]=(se||0)+1;var fe=Q+\"__\"+B[Q];return{key:fe,label:Q,specIndex:le,xIndex:O[le],xScale:i,x:void 0,calcdata:void 0,columnWidth:I[le]}})};return W.columns.forEach(function(Q){Q.calcdata=W,Q.x=i(Q)}),W};function t(h){if(e(h)){for(var p=0,d=0;d=p||m===h.length-1)&&(d[l]=w,w.key=E++,w.firstRowIndex=M,w.lastRowIndex=m,w=c(),l+=_,M=m+1,_=0);return d}function c(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}}}),Qz=ke({\"src/traces/table/data_split_helpers.js\"(Z){\"use strict\";var H=To().extendFlat;Z.splitToPanels=function(x){var A=[0,0],S=H({},x,{key:\"header\",type:\"header\",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!0,values:x.calcdata.headerCells.values[x.specIndex],rowBlocks:x.calcdata.headerRowBlocks,calcdata:H({},x.calcdata,{cells:x.calcdata.headerCells})}),e=H({},x,{key:\"cells1\",type:\"cells\",page:0,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks}),t=H({},x,{key:\"cells2\",type:\"cells\",page:1,prevPages:A,currentRepaint:[null,null],dragHandle:!1,values:x.calcdata.cells.values[x.specIndex],rowBlocks:x.calcdata.rowBlocks});return[e,t,S]},Z.splitToCells=function(x){var A=g(x);return(x.values||[]).slice(A[0],A[1]).map(function(S,e){var t=typeof S==\"string\"&&S.match(/[<$&> ]/)?\"_keybuster_\"+Math.random():\"\";return{keyWithinBlock:e+t,key:A[0]+e,column:x,calcdata:x.calcdata,page:x.page,rowBlocks:x.rowBlocks,value:S}})};function g(x){var A=x.rowBlocks[x.page],S=A?A.rows[0].rowIndex:0,e=A?S+A.rows.length:0;return[S,e]}}}),kM=ke({\"src/traces/table/plot.js\"(Z,H){\"use strict\";var g=CM(),x=_i(),A=un(),S=A.numberFormat,e=Dv(),t=$o(),r=Wl(),o=un().raiseToTop,n=un().strTranslate,i=un().cancelTransition,a=$z(),s=Qz(),c=eo();H.exports=function(ie,ce){var xe=!ie._context.staticPlot,Te=ie._fullLayout._paper.selectAll(\".\"+g.cn.table).data(ce.map(function(et){var Lt=e.unwrap(et),Et=Lt.trace;return a(ie,Et)}),e.keyFun);Te.exit().remove(),Te.enter().append(\"g\").classed(g.cn.table,!0).attr(\"overflow\",\"visible\").style(\"box-sizing\",\"content-box\").style(\"position\",\"absolute\").style(\"left\",0).style(\"overflow\",\"visible\").style(\"shape-rendering\",\"crispEdges\").style(\"pointer-events\",\"all\"),Te.attr(\"width\",function(et){return et.width+et.size.l+et.size.r}).attr(\"height\",function(et){return et.height+et.size.t+et.size.b}).attr(\"transform\",function(et){return n(et.translateX,et.translateY)});var Ue=Te.selectAll(\".\"+g.cn.tableControlView).data(e.repeat,e.keyFun),Ie=Ue.enter().append(\"g\").classed(g.cn.tableControlView,!0).style(\"box-sizing\",\"content-box\");if(xe){var Ye=\"onwheel\"in document?\"wheel\":\"mousewheel\";Ie.on(\"mousemove\",function(et){Ue.filter(function(Lt){return et===Lt}).call(l,ie)}).on(Ye,function(et){if(!et.scrollbarState.wheeling){et.scrollbarState.wheeling=!0;var Lt=et.scrollY+x.event.deltaY,Et=Q(ie,Ue,null,Lt)(et);Et||(x.event.stopPropagation(),x.event.preventDefault()),et.scrollbarState.wheeling=!1}}).call(l,ie,!0)}Ue.attr(\"transform\",function(et){return n(et.size.l,et.size.t)});var it=Ue.selectAll(\".\"+g.cn.scrollBackground).data(e.repeat,e.keyFun);it.enter().append(\"rect\").classed(g.cn.scrollBackground,!0).attr(\"fill\",\"none\"),it.attr(\"width\",function(et){return et.width}).attr(\"height\",function(et){return et.height}),Ue.each(function(et){t.setClipUrl(x.select(this),p(ie,et),ie)});var at=Ue.selectAll(\".\"+g.cn.yColumn).data(function(et){return et.columns},e.keyFun);at.enter().append(\"g\").classed(g.cn.yColumn,!0),at.exit().remove(),at.attr(\"transform\",function(et){return n(et.x,0)}),xe&&at.call(x.behavior.drag().origin(function(et){var Lt=x.select(this);return B(Lt,et,-g.uplift),o(this),et.calcdata.columnDragInProgress=!0,l(Ue.filter(function(Et){return et.calcdata.key===Et.key}),ie),et}).on(\"drag\",function(et){var Lt=x.select(this),Et=function(fr){return(et===fr?x.event.x:fr.x)+fr.columnWidth/2};et.x=Math.max(-g.overdrag,Math.min(et.calcdata.width+g.overdrag-et.columnWidth,x.event.x));var Bt=T(at).filter(function(fr){return fr.calcdata.key===et.calcdata.key}),qt=Bt.sort(function(fr,ar){return Et(fr)-Et(ar)});qt.forEach(function(fr,ar){fr.xIndex=ar,fr.x=et===fr?fr.x:fr.xScale(fr)}),at.filter(function(fr){return et!==fr}).transition().ease(g.transitionEase).duration(g.transitionDuration).attr(\"transform\",function(fr){return n(fr.x,0)}),Lt.call(i).attr(\"transform\",n(et.x,-g.uplift))}).on(\"dragend\",function(et){var Lt=x.select(this),Et=et.calcdata;et.x=et.xScale(et),et.calcdata.columnDragInProgress=!1,B(Lt,et,0),z(ie,Et,Et.columns.map(function(Bt){return Bt.xIndex}))})),at.each(function(et){t.setClipUrl(x.select(this),d(ie,et),ie)});var tt=at.selectAll(\".\"+g.cn.columnBlock).data(s.splitToPanels,e.keyFun);tt.enter().append(\"g\").classed(g.cn.columnBlock,!0).attr(\"id\",function(et){return et.key}),tt.style(\"cursor\",function(et){return et.dragHandle?\"ew-resize\":et.calcdata.scrollbarState.barWiggleRoom?\"ns-resize\":\"default\"});var ut=tt.filter(I),Me=tt.filter(O);xe&&Me.call(x.behavior.drag().origin(function(et){return x.event.stopPropagation(),et}).on(\"drag\",Q(ie,Ue,-1)).on(\"dragend\",function(){})),_(ie,Ue,ut,tt),_(ie,Ue,Me,tt);var pe=Ue.selectAll(\".\"+g.cn.scrollAreaClip).data(e.repeat,e.keyFun);pe.enter().append(\"clipPath\").classed(g.cn.scrollAreaClip,!0).attr(\"id\",function(et){return p(ie,et)});var ue=pe.selectAll(\".\"+g.cn.scrollAreaClipRect).data(e.repeat,e.keyFun);ue.enter().append(\"rect\").classed(g.cn.scrollAreaClipRect,!0).attr(\"x\",-g.overdrag).attr(\"y\",-g.uplift).attr(\"fill\",\"none\"),ue.attr(\"width\",function(et){return et.width+2*g.overdrag}).attr(\"height\",function(et){return et.height+g.uplift});var Oe=at.selectAll(\".\"+g.cn.columnBoundary).data(e.repeat,e.keyFun);Oe.enter().append(\"g\").classed(g.cn.columnBoundary,!0);var rt=at.selectAll(\".\"+g.cn.columnBoundaryClippath).data(e.repeat,e.keyFun);rt.enter().append(\"clipPath\").classed(g.cn.columnBoundaryClippath,!0),rt.attr(\"id\",function(et){return d(ie,et)});var ot=rt.selectAll(\".\"+g.cn.columnBoundaryRect).data(e.repeat,e.keyFun);ot.enter().append(\"rect\").classed(g.cn.columnBoundaryRect,!0).attr(\"fill\",\"none\"),ot.attr(\"width\",function(et){return et.columnWidth+2*h(et)}).attr(\"height\",function(et){return et.calcdata.height+2*h(et)+g.uplift}).attr(\"x\",function(et){return-h(et)}).attr(\"y\",function(et){return-h(et)}),W(null,Me,Ue)};function h(ee){return Math.ceil(ee.calcdata.maxLineWidth/2)}function p(ee,ie){return\"clip\"+ee._fullLayout._uid+\"_scrollAreaBottomClip_\"+ie.key}function d(ee,ie){return\"clip\"+ee._fullLayout._uid+\"_columnBoundaryClippath_\"+ie.calcdata.key+\"_\"+ie.specIndex}function T(ee){return[].concat.apply([],ee.map(function(ie){return ie})).map(function(ie){return ie.__data__})}function l(ee,ie,ce){function xe(at){var tt=at.rowBlocks;return J(tt,tt.length-1)+(tt.length?X(tt[tt.length-1],1/0):1)}var Te=ee.selectAll(\".\"+g.cn.scrollbarKit).data(e.repeat,e.keyFun);Te.enter().append(\"g\").classed(g.cn.scrollbarKit,!0).style(\"shape-rendering\",\"geometricPrecision\"),Te.each(function(at){var tt=at.scrollbarState;tt.totalHeight=xe(at),tt.scrollableAreaHeight=at.groupHeight-N(at),tt.currentlyVisibleHeight=Math.min(tt.totalHeight,tt.scrollableAreaHeight),tt.ratio=tt.currentlyVisibleHeight/tt.totalHeight,tt.barLength=Math.max(tt.ratio*tt.currentlyVisibleHeight,g.goldenRatio*g.scrollbarWidth),tt.barWiggleRoom=tt.currentlyVisibleHeight-tt.barLength,tt.wiggleRoom=Math.max(0,tt.totalHeight-tt.scrollableAreaHeight),tt.topY=tt.barWiggleRoom===0?0:at.scrollY/tt.wiggleRoom*tt.barWiggleRoom,tt.bottomY=tt.topY+tt.barLength,tt.dragMultiplier=tt.wiggleRoom/tt.barWiggleRoom}).attr(\"transform\",function(at){var tt=at.width+g.scrollbarWidth/2+g.scrollbarOffset;return n(tt,N(at))});var Ue=Te.selectAll(\".\"+g.cn.scrollbar).data(e.repeat,e.keyFun);Ue.enter().append(\"g\").classed(g.cn.scrollbar,!0);var Ie=Ue.selectAll(\".\"+g.cn.scrollbarSlider).data(e.repeat,e.keyFun);Ie.enter().append(\"g\").classed(g.cn.scrollbarSlider,!0),Ie.attr(\"transform\",function(at){return n(0,at.scrollbarState.topY||0)});var Ye=Ie.selectAll(\".\"+g.cn.scrollbarGlyph).data(e.repeat,e.keyFun);Ye.enter().append(\"line\").classed(g.cn.scrollbarGlyph,!0).attr(\"stroke\",\"black\").attr(\"stroke-width\",g.scrollbarWidth).attr(\"stroke-linecap\",\"round\").attr(\"y1\",g.scrollbarWidth/2),Ye.attr(\"y2\",function(at){return at.scrollbarState.barLength-g.scrollbarWidth/2}).attr(\"stroke-opacity\",function(at){return at.columnDragInProgress||!at.scrollbarState.barWiggleRoom||ce?0:.4}),Ye.transition().delay(0).duration(0),Ye.transition().delay(g.scrollbarHideDelay).duration(g.scrollbarHideDuration).attr(\"stroke-opacity\",0);var it=Ue.selectAll(\".\"+g.cn.scrollbarCaptureZone).data(e.repeat,e.keyFun);it.enter().append(\"line\").classed(g.cn.scrollbarCaptureZone,!0).attr(\"stroke\",\"white\").attr(\"stroke-opacity\",.01).attr(\"stroke-width\",g.scrollbarCaptureWidth).attr(\"stroke-linecap\",\"butt\").attr(\"y1\",0).on(\"mousedown\",function(at){var tt=x.event.y,ut=this.getBoundingClientRect(),Me=at.scrollbarState,pe=tt-ut.top,ue=x.scale.linear().domain([0,Me.scrollableAreaHeight]).range([0,Me.totalHeight]).clamp(!0);Me.topY<=pe&&pe<=Me.bottomY||Q(ie,ee,null,ue(pe-Me.barLength/2))(at)}).call(x.behavior.drag().origin(function(at){return x.event.stopPropagation(),at.scrollbarState.scrollbarScrollInProgress=!0,at}).on(\"drag\",Q(ie,ee)).on(\"dragend\",function(){})),it.attr(\"y2\",function(at){return at.scrollbarState.scrollableAreaHeight}),ie._context.staticPlot&&(Ye.remove(),it.remove())}function _(ee,ie,ce,xe){var Te=w(ce),Ue=M(Te);v(Ue);var Ie=E(Ue);y(Ie);var Ye=b(Ue),it=m(Ye);u(it),f(it,ie,xe,ee),$(Ue)}function w(ee){var ie=ee.selectAll(\".\"+g.cn.columnCells).data(e.repeat,e.keyFun);return ie.enter().append(\"g\").classed(g.cn.columnCells,!0),ie.exit().remove(),ie}function M(ee){var ie=ee.selectAll(\".\"+g.cn.columnCell).data(s.splitToCells,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"g\").classed(g.cn.columnCell,!0),ie.exit().remove(),ie}function E(ee){var ie=ee.selectAll(\".\"+g.cn.cellRect).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"rect\").classed(g.cn.cellRect,!0),ie}function m(ee){var ie=ee.selectAll(\".\"+g.cn.cellText).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"text\").classed(g.cn.cellText,!0).style(\"cursor\",function(){return\"auto\"}).on(\"mousedown\",function(){x.event.stopPropagation()}),ie}function b(ee){var ie=ee.selectAll(\".\"+g.cn.cellTextHolder).data(e.repeat,function(ce){return ce.keyWithinBlock});return ie.enter().append(\"g\").classed(g.cn.cellTextHolder,!0).style(\"shape-rendering\",\"geometricPrecision\"),ie}function v(ee){ee.each(function(ie,ce){var xe=ie.calcdata.cells.font,Te=ie.column.specIndex,Ue={size:F(xe.size,Te,ce),color:F(xe.color,Te,ce),family:F(xe.family,Te,ce),weight:F(xe.weight,Te,ce),style:F(xe.style,Te,ce),variant:F(xe.variant,Te,ce),textcase:F(xe.textcase,Te,ce),lineposition:F(xe.lineposition,Te,ce),shadow:F(xe.shadow,Te,ce)};ie.rowNumber=ie.key,ie.align=F(ie.calcdata.cells.align,Te,ce),ie.cellBorderWidth=F(ie.calcdata.cells.line.width,Te,ce),ie.font=Ue})}function u(ee){ee.each(function(ie){t.font(x.select(this),ie.font)})}function y(ee){ee.attr(\"width\",function(ie){return ie.column.columnWidth}).attr(\"stroke-width\",function(ie){return ie.cellBorderWidth}).each(function(ie){var ce=x.select(this);c.stroke(ce,F(ie.calcdata.cells.line.color,ie.column.specIndex,ie.rowNumber)),c.fill(ce,F(ie.calcdata.cells.fill.color,ie.column.specIndex,ie.rowNumber))})}function f(ee,ie,ce,xe){ee.text(function(Te){var Ue=Te.column.specIndex,Ie=Te.rowNumber,Ye=Te.value,it=typeof Ye==\"string\",at=it&&Ye.match(/
/i),tt=!it||at;Te.mayHaveMarkup=it&&Ye.match(/[<&>]/);var ut=P(Ye);Te.latex=ut;var Me=ut?\"\":F(Te.calcdata.cells.prefix,Ue,Ie)||\"\",pe=ut?\"\":F(Te.calcdata.cells.suffix,Ue,Ie)||\"\",ue=ut?null:F(Te.calcdata.cells.format,Ue,Ie)||null,Oe=Me+(ue?S(ue)(Te.value):Te.value)+pe,rt;Te.wrappingNeeded=!Te.wrapped&&!tt&&!ut&&(rt=L(Oe)),Te.cellHeightMayIncrease=at||ut||Te.mayHaveMarkup||(rt===void 0?L(Oe):rt),Te.needsConvertToTspans=Te.mayHaveMarkup||Te.wrappingNeeded||Te.latex;var ot;if(Te.wrappingNeeded){var et=g.wrapSplitCharacter===\" \"?Oe.replace(/Te&&xe.push(Ue),Te+=it}return xe}function W(ee,ie,ce){var xe=T(ie)[0];if(xe!==void 0){var Te=xe.rowBlocks,Ue=xe.calcdata,Ie=J(Te,Te.length),Ye=xe.calcdata.groupHeight-N(xe),it=Ue.scrollY=Math.max(0,Math.min(Ie-Ye,Ue.scrollY)),at=U(Te,it,Ye);at.length===1&&(at[0]===Te.length-1?at.unshift(at[0]-1):at.push(at[0]+1)),at[0]%2&&at.reverse(),ie.each(function(tt,ut){tt.page=at[ut],tt.scrollY=it}),ie.attr(\"transform\",function(tt){var ut=J(tt.rowBlocks,tt.page)-tt.scrollY;return n(0,ut)}),ee&&(le(ee,ce,ie,at,xe.prevPages,xe,0),le(ee,ce,ie,at,xe.prevPages,xe,1),l(ce,ee))}}function Q(ee,ie,ce,xe){return function(Ue){var Ie=Ue.calcdata?Ue.calcdata:Ue,Ye=ie.filter(function(ut){return Ie.key===ut.key}),it=ce||Ie.scrollbarState.dragMultiplier,at=Ie.scrollY;Ie.scrollY=xe===void 0?Ie.scrollY+it*x.event.dy:xe;var tt=Ye.selectAll(\".\"+g.cn.yColumn).selectAll(\".\"+g.cn.columnBlock).filter(O);return W(ee,tt,Ye),Ie.scrollY===at}}function le(ee,ie,ce,xe,Te,Ue,Ie){var Ye=xe[Ie]!==Te[Ie];Ye&&(clearTimeout(Ue.currentRepaint[Ie]),Ue.currentRepaint[Ie]=setTimeout(function(){var it=ce.filter(function(at,tt){return tt===Ie&&xe[tt]!==Te[tt]});_(ee,ie,it,ce),Te[Ie]=xe[Ie]}))}function se(ee,ie,ce,xe){return function(){var Ue=x.select(ie.parentNode);Ue.each(function(Ie){var Ye=Ie.fragments;Ue.selectAll(\"tspan.line\").each(function(Oe,rt){Ye[rt].width=this.getComputedTextLength()});var it=Ye[Ye.length-1].width,at=Ye.slice(0,-1),tt=[],ut,Me,pe=0,ue=Ie.column.columnWidth-2*g.cellPad;for(Ie.value=\"\";at.length;)ut=at.shift(),Me=ut.width+it,pe+Me>ue&&(Ie.value+=tt.join(g.wrapSpacer)+g.lineBreaker,tt=[],pe=0),tt.push(ut.text),pe+=Me;pe&&(Ie.value+=tt.join(g.wrapSpacer)),Ie.wrapped=!0}),Ue.selectAll(\"tspan.line\").remove(),f(Ue.select(\".\"+g.cn.cellText),ce,ee,xe),x.select(ie.parentNode.parentNode).call($)}}function fe(ee,ie,ce,xe,Te){return function(){if(!Te.settledY){var Ie=x.select(ie.parentNode),Ye=ae(Te),it=Te.key-Ye.firstRowIndex,at=Ye.rows[it].rowHeight,tt=Te.cellHeightMayIncrease?ie.parentNode.getBoundingClientRect().height+2*g.cellPad:at,ut=Math.max(tt,at),Me=ut-Ye.rows[it].rowHeight;Me&&(Ye.rows[it].rowHeight=ut,ee.selectAll(\".\"+g.cn.columnCell).call($),W(null,ee.filter(O),0),l(ce,xe,!0)),Ie.attr(\"transform\",function(){var pe=this,ue=pe.parentNode,Oe=ue.getBoundingClientRect(),rt=x.select(pe.parentNode).select(\".\"+g.cn.cellRect).node().getBoundingClientRect(),ot=pe.transform.baseVal.consolidate(),et=rt.top-Oe.top+(ot?ot.matrix.f:g.cellPad);return n(G(Te,x.select(pe.parentNode).select(\".\"+g.cn.cellTextHolder).node().getBoundingClientRect().width),et)}),Te.settledY=!0}}}function G(ee,ie){switch(ee.align){case\"left\":return g.cellPad;case\"right\":return ee.column.columnWidth-(ie||0)-g.cellPad;case\"center\":return(ee.column.columnWidth-(ie||0))/2;default:return g.cellPad}}function $(ee){ee.attr(\"transform\",function(ie){var ce=ie.rowBlocks[0].auxiliaryBlocks.reduce(function(Ie,Ye){return Ie+X(Ye,1/0)},0),xe=ae(ie),Te=X(xe,ie.key),Ue=Te+ce;return n(0,Ue)}).selectAll(\".\"+g.cn.cellRect).attr(\"height\",function(ie){return j(ae(ie),ie.key).rowHeight})}function J(ee,ie){for(var ce=0,xe=ie-1;xe>=0;xe--)ce+=re(ee[xe]);return ce}function X(ee,ie){for(var ce=0,xe=0;xeS.length&&(A=A.slice(0,S.length)):A=[],t=0;t90&&(p-=180,i=-i),{angle:p,flip:i,p:x.c2p(e,A,S),offsetMultplier:a}}}}),u8=ke({\"src/traces/carpet/plot.js\"(Z,H){\"use strict\";var g=_i(),x=$o(),A=LM(),S=PM(),e=l8(),t=Wl(),r=un(),o=r.strRotate,n=r.strTranslate,i=Yf();H.exports=function(_,w,M,E){var m=_._context.staticPlot,b=w.xaxis,v=w.yaxis,u=_._fullLayout,y=u._clips;r.makeTraceGroups(E,M,\"trace\").each(function(f){var P=g.select(this),L=f[0],z=L.trace,F=z.aaxis,B=z.baxis,O=r.ensureSingle(P,\"g\",\"minorlayer\"),I=r.ensureSingle(P,\"g\",\"majorlayer\"),N=r.ensureSingle(P,\"g\",\"boundarylayer\"),U=r.ensureSingle(P,\"g\",\"labellayer\");P.style(\"opacity\",z.opacity),s(b,v,I,F,\"a\",F._gridlines,!0,m),s(b,v,I,B,\"b\",B._gridlines,!0,m),s(b,v,O,F,\"a\",F._minorgridlines,!0,m),s(b,v,O,B,\"b\",B._minorgridlines,!0,m),s(b,v,N,F,\"a-boundary\",F._boundarylines,m),s(b,v,N,B,\"b-boundary\",B._boundarylines,m);var W=c(_,b,v,z,L,U,F._labels,\"a-label\"),Q=c(_,b,v,z,L,U,B._labels,\"b-label\");h(_,U,z,L,b,v,W,Q),a(z,L,y,b,v)})};function a(l,_,w,M,E){var m,b,v,u,y=w.select(\"#\"+l._clipPathId);y.size()||(y=w.append(\"clipPath\").classed(\"carpetclip\",!0));var f=r.ensureSingle(y,\"path\",\"carpetboundary\"),P=_.clipsegments,L=[];for(u=0;u0?\"start\":\"end\",\"data-notex\":1}).call(x.font,P.font).text(P.text).call(t.convertToTspans,l),I=x.bBox(this);O.attr(\"transform\",n(z.p[0],z.p[1])+o(z.angle)+n(P.axis.labelpadding*B,I.height*.3)),y=Math.max(y,I.width+P.axis.labelpadding)}),u.exit().remove(),f.maxExtent=y,f}function h(l,_,w,M,E,m,b,v){var u,y,f,P,L=r.aggNums(Math.min,null,w.a),z=r.aggNums(Math.max,null,w.a),F=r.aggNums(Math.min,null,w.b),B=r.aggNums(Math.max,null,w.b);u=.5*(L+z),y=F,f=w.ab2xy(u,y,!0),P=w.dxyda_rough(u,y),b.angle===void 0&&r.extendFlat(b,e(w,E,m,f,w.dxydb_rough(u,y))),T(l,_,w,M,f,P,w.aaxis,E,m,b,\"a-title\"),u=L,y=.5*(F+B),f=w.ab2xy(u,y,!0),P=w.dxydb_rough(u,y),v.angle===void 0&&r.extendFlat(v,e(w,E,m,f,w.dxyda_rough(u,y))),T(l,_,w,M,f,P,w.baxis,E,m,v,\"b-title\")}var p=i.LINE_SPACING,d=(1-i.MID_SHIFT)/p+1;function T(l,_,w,M,E,m,b,v,u,y,f){var P=[];b.title.text&&P.push(b.title.text);var L=_.selectAll(\"text.\"+f).data(P),z=y.maxExtent;L.enter().append(\"text\").classed(f,!0),L.each(function(){var F=e(w,v,u,E,m);[\"start\",\"both\"].indexOf(b.showticklabels)===-1&&(z=0);var B=b.title.font.size;z+=B+b.title.offset;var O=y.angle+(y.flip<0?180:0),I=(O-F.angle+450)%360,N=I>90&&I<270,U=g.select(this);U.text(b.title.text).call(t.convertToTspans,l),N&&(z=(-t.lineCount(U)+d)*p*B-z),U.attr(\"transform\",n(F.p[0],F.p[1])+o(F.angle)+n(0,z)).attr(\"text-anchor\",\"middle\").call(x.font,b.title.font)}),L.exit().remove()}}}),c8=ke({\"src/traces/carpet/cheater_basis.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S){var e,t,r,o,n,i,a=[],s=g(x)?x.length:x,c=g(A)?A.length:A,h=g(x)?x:null,p=g(A)?A:null;h&&(r=(h.length-1)/(h[h.length-1]-h[0])/(s-1)),p&&(o=(p.length-1)/(p[p.length-1]-p[0])/(c-1));var d,T=1/0,l=-1/0;for(t=0;t=10)return null;for(var e=1/0,t=-1/0,r=A.length,o=0;o0&&(X=S.dxydi([],W-1,le,0,se),ee.push(fe[0]+X[0]/3),ie.push(fe[1]+X[1]/3),re=S.dxydi([],W-1,le,1,se),ee.push(J[0]-re[0]/3),ie.push(J[1]-re[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;else for(W=S.a2i(U),G=Math.floor(Math.max(0,Math.min(F-2,W))),$=W-G,ce.length=F,ce.crossLength=B,ce.xy=function(xe){return S.evalxy([],W,xe)},ce.dxy=function(xe,Te){return S.dxydj([],G,xe,$,Te)},Q=0;Q0&&(ae=S.dxydj([],G,Q-1,$,0),ee.push(fe[0]+ae[0]/3),ie.push(fe[1]+ae[1]/3),j=S.dxydj([],G,Q-1,$,1),ee.push(J[0]-j[0]/3),ie.push(J[1]-j[1]/3)),ee.push(J[0]),ie.push(J[1]),fe=J;return ce.axisLetter=e,ce.axis=E,ce.crossAxis=y,ce.value=U,ce.constvar=t,ce.index=h,ce.x=ee,ce.y=ie,ce.smoothing=y.smoothing,ce}function N(U){var W,Q,le,se,fe,G=[],$=[],J={};if(J.length=M.length,J.crossLength=u.length,e===\"b\")for(le=Math.max(0,Math.min(B-2,U)),fe=Math.min(1,Math.max(0,U-le)),J.xy=function(X){return S.evalxy([],X,U)},J.dxy=function(X,re){return S.dxydi([],X,le,re,fe)},W=0;WM.length-1)&&m.push(x(N(o),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s;hM.length-1)&&!(T<0||T>M.length-1))for(l=M[n],_=M[T],r=0;rM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash})));E.startline&&v.push(x(N(0),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(N(M.length-1),{color:E.endlinecolor,width:E.endlinewidth}))}else{for(i=5e-15,a=[Math.floor((M[M.length-1]-E.tick0)/E.dtick*(1+i)),Math.ceil((M[0]-E.tick0)/E.dtick/(1+i))].sort(function(U,W){return U-W}),s=a[0],c=a[1],h=s;h<=c;h++)p=E.tick0+E.dtick*h,m.push(x(I(p),{color:E.gridcolor,width:E.gridwidth,dash:E.griddash}));for(h=s-1;hM[M.length-1])&&b.push(x(I(d),{color:E.minorgridcolor,width:E.minorgridwidth,dash:E.minorgriddash}));E.startline&&v.push(x(I(M[0]),{color:E.startlinecolor,width:E.startlinewidth})),E.endline&&v.push(x(I(M[M.length-1]),{color:E.endlinecolor,width:E.endlinewidth}))}}}}),d8=ke({\"src/traces/carpet/calc_labels.js\"(Z,H){\"use strict\";var g=Ho(),x=To().extendFlat;H.exports=function(S,e){var t,r,o,n,i,a=e._labels=[],s=e._gridlines;for(t=0;t=0;t--)r[s-t]=x[c][t],o[s-t]=A[c][t];for(n.push({x:r,y:o,bicubic:i}),t=c,r=[],o=[];t>=0;t--)r[c-t]=x[t][0],o[c-t]=A[t][0];return n.push({x:r,y:o,bicubic:a}),n}}}),p8=ke({\"src/traces/carpet/smooth_fill_2d_array.js\"(Z,H){\"use strict\";var g=un();H.exports=function(A,S,e){var t,r,o,n=[],i=[],a=A[0].length,s=A.length;function c(Q,le){var se=0,fe,G=0;return Q>0&&(fe=A[le][Q-1])!==void 0&&(G++,se+=fe),Q0&&(fe=A[le-1][Q])!==void 0&&(G++,se+=fe),le0&&r0&&tu);return g.log(\"Smoother converged to\",y,\"after\",P,\"iterations\"),A}}}),m8=ke({\"src/traces/carpet/constants.js\"(Z,H){\"use strict\";H.exports={RELATIVE_CULL_TOLERANCE:1e-6}}}),g8=ke({\"src/traces/carpet/catmull_rom.js\"(Z,H){\"use strict\";var g=.5;H.exports=function(A,S,e,t){var r=A[0]-S[0],o=A[1]-S[1],n=e[0]-S[0],i=e[1]-S[1],a=Math.pow(r*r+o*o,g/2),s=Math.pow(n*n+i*i,g/2),c=(s*s*r-a*a*n)*t,h=(s*s*o-a*a*i)*t,p=s*(a+s)*3,d=a*(a+s)*3;return[[S[0]+(p&&c/p),S[1]+(p&&h/p)],[S[0]-(d&&c/d),S[1]-(d&&h/d)]]}}}),y8=ke({\"src/traces/carpet/compute_control_points.js\"(Z,H){\"use strict\";var g=g8(),x=un().ensureArray;function A(S,e,t){var r=-.5*t[0]+1.5*e[0],o=-.5*t[1]+1.5*e[1];return[(2*r+S[0])/3,(2*o+S[1])/3]}H.exports=function(e,t,r,o,n,i){var a,s,c,h,p,d,T,l,_,w,M=r[0].length,E=r.length,m=n?3*M-2:M,b=i?3*E-2:E;for(e=x(e,b),t=x(t,b),c=0;cp&&mT&&bd||bl},o.setScale=function(){var m=o._x,b=o._y,v=A(o._xctrl,o._yctrl,m,b,c.smoothing,h.smoothing);o._xctrl=v[0],o._yctrl=v[1],o.evalxy=S([o._xctrl,o._yctrl],a,s,c.smoothing,h.smoothing),o.dxydi=e([o._xctrl,o._yctrl],c.smoothing,h.smoothing),o.dxydj=t([o._xctrl,o._yctrl],c.smoothing,h.smoothing)},o.i2a=function(m){var b=Math.max(0,Math.floor(m[0]),a-2),v=m[0]-b;return(1-v)*n[b]+v*n[b+1]},o.j2b=function(m){var b=Math.max(0,Math.floor(m[1]),a-2),v=m[1]-b;return(1-v)*i[b]+v*i[b+1]},o.ij2ab=function(m){return[o.i2a(m[0]),o.j2b(m[1])]},o.a2i=function(m){var b=Math.max(0,Math.min(x(m,n),a-2)),v=n[b],u=n[b+1];return Math.max(0,Math.min(a-1,b+(m-v)/(u-v)))},o.b2j=function(m){var b=Math.max(0,Math.min(x(m,i),s-2)),v=i[b],u=i[b+1];return Math.max(0,Math.min(s-1,b+(m-v)/(u-v)))},o.ab2ij=function(m){return[o.a2i(m[0]),o.b2j(m[1])]},o.i2c=function(m,b){return o.evalxy([],m,b)},o.ab2xy=function(m,b,v){if(!v&&(mn[a-1]|bi[s-1]))return[!1,!1];var u=o.a2i(m),y=o.b2j(b),f=o.evalxy([],u,y);if(v){var P=0,L=0,z=[],F,B,O,I;mn[a-1]?(F=a-2,B=1,P=(m-n[a-1])/(n[a-1]-n[a-2])):(F=Math.max(0,Math.min(a-2,Math.floor(u))),B=u-F),bi[s-1]?(O=s-2,I=1,L=(b-i[s-1])/(i[s-1]-i[s-2])):(O=Math.max(0,Math.min(s-2,Math.floor(y))),I=y-O),P&&(o.dxydi(z,F,O,B,I),f[0]+=z[0]*P,f[1]+=z[1]*P),L&&(o.dxydj(z,F,O,B,I),f[0]+=z[0]*L,f[1]+=z[1]*L)}return f},o.c2p=function(m,b,v){return[b.c2p(m[0]),v.c2p(m[1])]},o.p2x=function(m,b,v){return[b.p2c(m[0]),v.p2c(m[1])]},o.dadi=function(m){var b=Math.max(0,Math.min(n.length-2,m));return n[b+1]-n[b]},o.dbdj=function(m){var b=Math.max(0,Math.min(i.length-2,m));return i[b+1]-i[b]},o.dxyda=function(m,b,v,u){var y=o.dxydi(null,m,b,v,u),f=o.dadi(m,v);return[y[0]/f,y[1]/f]},o.dxydb=function(m,b,v,u){var y=o.dxydj(null,m,b,v,u),f=o.dbdj(b,u);return[y[0]/f,y[1]/f]},o.dxyda_rough=function(m,b,v){var u=_*(v||.1),y=o.ab2xy(m+u,b,!0),f=o.ab2xy(m-u,b,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dxydb_rough=function(m,b,v){var u=w*(v||.1),y=o.ab2xy(m,b+u,!0),f=o.ab2xy(m,b-u,!0);return[(y[0]-f[0])*.5/u,(y[1]-f[1])*.5/u]},o.dpdx=function(m){return m._m},o.dpdy=function(m){return m._m}}}}),T8=ke({\"src/traces/carpet/calc.js\"(Z,H){\"use strict\";var g=Ho(),x=un().isArray1D,A=c8(),S=f8(),e=h8(),t=d8(),r=v8(),o=U_(),n=p8(),i=N_(),a=w8();H.exports=function(c,h){var p=g.getFromId(c,h.xaxis),d=g.getFromId(c,h.yaxis),T=h.aaxis,l=h.baxis,_=h.x,w=h.y,M=[];_&&x(_)&&M.push(\"x\"),w&&x(w)&&M.push(\"y\"),M.length&&i(h,T,l,\"a\",\"b\",M);var E=h._a=h._a||h.a,m=h._b=h._b||h.b;_=h._x||h.x,w=h._y||h.y;var b={};if(h._cheater){var v=T.cheatertype===\"index\"?E.length:E,u=l.cheatertype===\"index\"?m.length:m;_=A(v,u,h.cheaterslope)}h._x=_=o(_),h._y=w=o(w),n(_,E,m),n(w,E,m),a(h),h.setScale();var y=S(_),f=S(w),P=.5*(y[1]-y[0]),L=.5*(y[1]+y[0]),z=.5*(f[1]-f[0]),F=.5*(f[1]+f[0]),B=1.3;return y=[L-P*B,L+P*B],f=[F-z*B,F+z*B],h._extremes[p._id]=g.findExtremes(p,y,{padded:!0}),h._extremes[d._id]=g.findExtremes(d,f,{padded:!0}),e(h,\"a\",\"b\"),e(h,\"b\",\"a\"),t(h,T),t(h,l),b.clipsegments=r(h._xctrl,h._yctrl,T,l),b.x=_,b.y=w,b.a=E,b.b=m,[b]}}}),A8=ke({\"src/traces/carpet/index.js\"(Z,H){\"use strict\";H.exports={attributes:wb(),supplyDefaults:s8(),plot:u8(),calc:T8(),animatable:!0,isContainer:!0,moduleType:\"trace\",name:\"carpet\",basePlotModule:xf(),categories:[\"cartesian\",\"svg\",\"carpet\",\"carpetAxis\",\"notLegendIsolatable\",\"noMultiCategory\",\"noHover\",\"noSortingByValue\"],meta:{}}}}),M8=ke({\"lib/carpet.js\"(Z,H){\"use strict\";H.exports=A8()}}),IM=ke({\"src/traces/scattercarpet/attributes.js\"(Z,H){\"use strict\";var g=fv(),x=Cc(),A=Ol(),S=Rs().hovertemplateAttrs,e=Rs().texttemplateAttrs,t=ou(),r=To().extendFlat,o=x.marker,n=x.line,i=o.line;H.exports={carpet:{valType:\"string\",editType:\"calc\"},a:{valType:\"data_array\",editType:\"calc\"},b:{valType:\"data_array\",editType:\"calc\"},mode:r({},x.mode,{dflt:\"markers\"}),text:r({},x.text,{}),texttemplate:e({editType:\"plot\"},{keys:[\"a\",\"b\",\"text\"]}),hovertext:r({},x.hovertext,{}),line:{color:n.color,width:n.width,dash:n.dash,backoff:n.backoff,shape:r({},n.shape,{values:[\"linear\",\"spline\"]}),smoothing:n.smoothing,editType:\"calc\"},connectgaps:x.connectgaps,fill:r({},x.fill,{values:[\"none\",\"toself\",\"tonext\"],dflt:\"none\"}),fillcolor:g(),marker:r({symbol:o.symbol,opacity:o.opacity,maxdisplayed:o.maxdisplayed,angle:o.angle,angleref:o.angleref,standoff:o.standoff,size:o.size,sizeref:o.sizeref,sizemin:o.sizemin,sizemode:o.sizemode,line:r({width:i.width,editType:\"calc\"},t(\"marker.line\")),gradient:o.gradient,editType:\"calc\"},t(\"marker\")),textfont:x.textfont,textposition:x.textposition,selected:x.selected,unselected:x.unselected,hoverinfo:r({},A.hoverinfo,{flags:[\"a\",\"b\",\"text\",\"name\"]}),hoveron:x.hoveron,hovertemplate:S(),zorder:x.zorder}}}),S8=ke({\"src/traces/scattercarpet/defaults.js\"(Z,H){\"use strict\";var g=un(),x=kv(),A=vu(),S=Fd(),e=Hd(),t=Zg(),r=Gd(),o=dv(),n=IM();H.exports=function(a,s,c,h){function p(E,m){return g.coerce(a,s,n,E,m)}p(\"carpet\"),s.xaxis=\"x\",s.yaxis=\"y\";var d=p(\"a\"),T=p(\"b\"),l=Math.min(d.length,T.length);if(!l){s.visible=!1;return}s._length=l,p(\"text\"),p(\"texttemplate\"),p(\"hovertext\");var _=l0?b=E.labelprefix.replace(/ = $/,\"\"):b=E._hovertitle,l.push(b+\": \"+m.toFixed(3)+E.labelsuffix)}if(!p.hovertemplate){var w=h.hi||p.hoverinfo,M=w.split(\"+\");M.indexOf(\"all\")!==-1&&(M=[\"a\",\"b\",\"text\"]),M.indexOf(\"a\")!==-1&&_(d.aaxis,h.a),M.indexOf(\"b\")!==-1&&_(d.baxis,h.b),l.push(\"y: \"+n.yLabel),M.indexOf(\"text\")!==-1&&x(h,p,l),n.extraText=l.join(\"
\")}return o}}}),P8=ke({\"src/traces/scattercarpet/event_data.js\"(Z,H){\"use strict\";H.exports=function(x,A,S,e,t){var r=e[t];return x.a=r.a,x.b=r.b,x.y=r.y,x}}}),I8=ke({\"src/traces/scattercarpet/index.js\"(Z,H){\"use strict\";H.exports={attributes:IM(),supplyDefaults:S8(),colorbar:Bh(),formatLabels:E8(),calc:C8(),plot:k8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:L8(),selectPoints:$g(),eventData:P8(),moduleType:\"trace\",name:\"scattercarpet\",basePlotModule:xf(),categories:[\"svg\",\"carpet\",\"symbols\",\"showLegend\",\"carpetDependent\",\"zoomScale\"],meta:{}}}}),R8=ke({\"lib/scattercarpet.js\"(Z,H){\"use strict\";H.exports=I8()}}),RM=ke({\"src/traces/contourcarpet/attributes.js\"(Z,H){\"use strict\";var g=ty(),x=v0(),A=ou(),S=To().extendFlat,e=x.contours;H.exports=S({carpet:{valType:\"string\",editType:\"calc\"},z:g.z,a:g.x,a0:g.x0,da:g.dx,b:g.y,b0:g.y0,db:g.dy,text:g.text,hovertext:g.hovertext,transpose:g.transpose,atype:g.xtype,btype:g.ytype,fillcolor:x.fillcolor,autocontour:x.autocontour,ncontours:x.ncontours,contours:{type:e.type,start:e.start,end:e.end,size:e.size,coloring:{valType:\"enumerated\",values:[\"fill\",\"lines\",\"none\"],dflt:\"fill\",editType:\"calc\"},showlines:e.showlines,showlabels:e.showlabels,labelfont:e.labelfont,labelformat:e.labelformat,operation:e.operation,value:e.value,editType:\"calc\",impliedEdits:{autocontour:!1}},line:{color:x.line.color,width:x.line.width,dash:x.line.dash,smoothing:x.line.smoothing,editType:\"plot\"},zorder:x.zorder},A(\"\",{cLetter:\"z\",autoColorDflt:!1}))}}),DM=ke({\"src/traces/contourcarpet/defaults.js\"(Z,H){\"use strict\";var g=un(),x=B_(),A=RM(),S=l3(),e=$_(),t=Q_();H.exports=function(o,n,i,a){function s(d,T){return g.coerce(o,n,A,d,T)}function c(d){return g.coerce2(o,n,A,d)}if(s(\"carpet\"),o.a&&o.b){var h=x(o,n,s,a,\"a\",\"b\");if(!h){n.visible=!1;return}s(\"text\");var p=s(\"contours.type\")===\"constraint\";p?S(o,n,s,a,i,{hasHover:!1}):(e(o,n,s,c),t(o,n,s,a,{hasHover:!1}))}else n._defaultColor=i,n._length=null;s(\"zorder\")}}}),D8=ke({\"src/traces/contourcarpet/calc.js\"(Z,H){\"use strict\";var g=od(),x=un(),A=N_(),S=U_(),e=j_(),t=V_(),r=W2(),o=DM(),n=Tb(),i=Q2();H.exports=function(c,h){var p=h._carpetTrace=n(c,h);if(!(!p||!p.visible||p.visible===\"legendonly\")){if(!h.a||!h.b){var d=c.data[p.index],T=c.data[h.index];T.a||(T.a=d.a),T.b||(T.b=d.b),o(T,h,h._defaultColor,c._fullLayout)}var l=a(c,h);return i(h,h._z),l}};function a(s,c){var h=c._carpetTrace,p=h.aaxis,d=h.baxis,T,l,_,w,M,E,m;p._minDtick=0,d._minDtick=0,x.isArray1D(c.z)&&A(c,p,d,\"a\",\"b\",[\"z\"]),T=c._a=c._a||c.a,w=c._b=c._b||c.b,T=T?p.makeCalcdata(c,\"_a\"):[],w=w?d.makeCalcdata(c,\"_b\"):[],l=c.a0||0,_=c.da||1,M=c.b0||0,E=c.db||1,m=c._z=S(c._z||c.z,c.transpose),c._emptypoints=t(m),e(m,c._emptypoints);var b=x.maxRowLength(m),v=c.xtype===\"scaled\"?\"\":T,u=r(c,v,l,_,b,p),y=c.ytype===\"scaled\"?\"\":w,f=r(c,y,M,E,m.length,d),P={a:u,b:f,z:m};return c.contours.type===\"levels\"&&c.contours.coloring!==\"none\"&&g(s,c,{vals:m,containerStr:\"\",cLetter:\"z\"}),[P]}}}),z8=ke({\"src/traces/carpet/axis_aligned_line.js\"(Z,H){\"use strict\";var g=un().isArrayOrTypedArray;H.exports=function(x,A,S,e){var t,r,o,n,i,a,s,c,h,p,d,T,l,_=g(S)?\"a\":\"b\",w=_===\"a\"?x.aaxis:x.baxis,M=w.smoothing,E=_===\"a\"?x.a2i:x.b2j,m=_===\"a\"?S:e,b=_===\"a\"?e:S,v=_===\"a\"?A.a.length:A.b.length,u=_===\"a\"?A.b.length:A.a.length,y=Math.floor(_===\"a\"?x.b2j(b):x.a2i(b)),f=_===\"a\"?function(le){return x.evalxy([],le,y)}:function(le){return x.evalxy([],y,le)};M&&(o=Math.max(0,Math.min(u-2,y)),n=y-o,r=_===\"a\"?function(le,se){return x.dxydi([],le,o,se,n)}:function(le,se){return x.dxydj([],o,le,n,se)});var P=E(m[0]),L=E(m[1]),z=P0?Math.floor:Math.ceil,O=z>0?Math.ceil:Math.floor,I=z>0?Math.min:Math.max,N=z>0?Math.max:Math.min,U=B(P+F),W=O(L-F);s=f(P);var Q=[[s]];for(t=U;t*z=0;ce--)j=N.clipsegments[ce],ee=x([],j.x,P.c2p),ie=x([],j.y,L.c2p),ee.reverse(),ie.reverse(),xe.push(A(ee,ie,j.bicubic));var Te=\"M\"+xe.join(\"L\")+\"Z\";M(F,N.clipsegments,P,L,se,G),E(O,F,P,L,ae,J,$,I,N,G,Te),d(F,le,v,B,Q,u,I),S.setClipUrl(F,I._clipPathId,v)})};function p(b,v){var u,y,f,P,L,z,F,B,O;for(u=0;ule&&(y.max=le),y.len=y.max-y.min}function l(b,v,u){var y=b.getPointAtLength(v),f=b.getPointAtLength(u),P=f.x-y.x,L=f.y-y.y,z=Math.sqrt(P*P+L*L);return[P/z,L/z]}function _(b){var v=Math.sqrt(b[0]*b[0]+b[1]*b[1]);return[b[0]/v,b[1]/v]}function w(b,v){var u=Math.abs(b[0]*v[0]+b[1]*v[1]),y=Math.sqrt(1-u*u);return y/u}function M(b,v,u,y,f,P){var L,z,F,B,O=e.ensureSingle(b,\"g\",\"contourbg\"),I=O.selectAll(\"path\").data(P===\"fill\"&&!f?[0]:[]);I.enter().append(\"path\"),I.exit().remove();var N=[];for(B=0;B=0&&(U=ee,Q=le):Math.abs(N[1]-U[1])=0&&(U=ee,Q=le):e.log(\"endpt to newendpt is not vert. or horz.\",N,U,ee)}if(Q>=0)break;B+=ae(N,U),N=U}if(Q===v.edgepaths.length){e.log(\"unclosed perimeter path\");break}F=Q,I=O.indexOf(F)===-1,I&&(F=O[0],B+=ae(N,U)+\"Z\",N=null)}for(F=0;Fm):E=z>f,m=z;var F=p(f,P,L,z);F.pos=y,F.yc=(f+z)/2,F.i=u,F.dir=E?\"increasing\":\"decreasing\",F.x=F.pos,F.y=[L,P],b&&(F.orig_p=s[u]),w&&(F.tx=a.text[u]),M&&(F.htx=a.hovertext[u]),v.push(F)}else v.push({pos:y,empty:!0})}return a._extremes[h._id]=A.findExtremes(h,g.concat(l,T),{padded:!0}),v.length&&(v[0].t={labels:{open:x(i,\"open:\")+\" \",high:x(i,\"high:\")+\" \",low:x(i,\"low:\")+\" \",close:x(i,\"close:\")+\" \"}}),v}function n(i,a,s){var c=s._minDiff;if(!c){var h=i._fullData,p=[];c=1/0;var d;for(d=0;d\"+_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat)):(O=x.extendFlat({},M),O.y0=O.y1=B,O.yLabelVal=F,O.yLabel=_.labels[z]+g.hoverLabelText(T,F,l.yhoverformat),O.name=\"\",w.push(O),P[F]=O)}return w}function a(s,c,h,p){var d=s.cd,T=s.ya,l=d[0].trace,_=d[0].t,w=n(s,c,h,p);if(!w)return[];var M=w.index,E=d[M],m=w.index=E.i,b=E.dir;function v(F){return _.labels[F]+g.hoverLabelText(T,l[F][m],l.yhoverformat)}var u=E.hi||l.hoverinfo,y=u.split(\"+\"),f=u===\"all\",P=f||y.indexOf(\"y\")!==-1,L=f||y.indexOf(\"text\")!==-1,z=P?[v(\"open\"),v(\"high\"),v(\"low\"),v(\"close\")+\" \"+r[b]]:[];return L&&e(E,l,z),w.extraText=z.join(\"
\"),w.y0=w.y1=T.c2p(E.yc,!0),[w]}H.exports={hoverPoints:o,hoverSplit:i,hoverOnPoints:a}}}),BM=ke({\"src/traces/ohlc/select.js\"(Z,H){\"use strict\";H.exports=function(x,A){var S=x.cd,e=x.xaxis,t=x.yaxis,r=[],o,n=S[0].t.bPos||0;if(A===!1)for(o=0;oc?function(l){return l<=0}:function(l){return l>=0};n.c2g=function(l){var _=n.c2l(l)-s;return(T(_)?_:0)+d},n.g2c=function(l){return n.l2c(l+s-d)},n.g2p=function(l){return l*p},n.c2p=function(l){return n.g2p(n.c2g(l))}}}function t(n,i){return i===\"degrees\"?A(n):n}function r(n,i){return i===\"degrees\"?S(n):n}function o(n,i){var a=n.type;if(a===\"linear\"){var s=n.d2c,c=n.c2d;n.d2c=function(h,p){return t(s(h),p)},n.c2d=function(h,p){return c(r(h,p))}}n.makeCalcdata=function(h,p){var d=h[p],T=h._length,l,_,w=function(v){return n.d2c(v,h.thetaunit)};if(d)for(l=new Array(T),_=0;_0?v:1/0},E=A(w,M),m=g.mod(E+1,w.length);return[w[E],w[m]]}function p(_){return Math.abs(_)>1e-10?_:0}function d(_,w,M){w=w||0,M=M||0;for(var E=_.length,m=new Array(E),b=0;b0?1:0}function x(r){var o=r[0],n=r[1];if(!isFinite(o)||!isFinite(n))return[1,0];var i=(o+1)*(o+1)+n*n;return[(o*o+n*n-1)/i,2*n/i]}function A(r,o){var n=o[0],i=o[1];return[n*r.radius+r.cx,-i*r.radius+r.cy]}function S(r,o){return o*r.radius}function e(r,o,n,i){var a=A(r,x([n,o])),s=a[0],c=a[1],h=A(r,x([i,o])),p=h[0],d=h[1];if(o===0)return[\"M\"+s+\",\"+c,\"L\"+p+\",\"+d].join(\" \");var T=S(r,1/Math.abs(o));return[\"M\"+s+\",\"+c,\"A\"+T+\",\"+T+\" 0 0,\"+(o<0?1:0)+\" \"+p+\",\"+d].join(\" \")}function t(r,o,n,i){var a=S(r,1/(o+1)),s=A(r,x([o,n])),c=s[0],h=s[1],p=A(r,x([o,i])),d=p[0],T=p[1];if(g(n)!==g(i)){var l=A(r,x([o,0])),_=l[0],w=l[1];return[\"M\"+c+\",\"+h,\"A\"+a+\",\"+a+\" 0 0,\"+(0it?(at=ie,tt=ie*it,pe=(ce-tt)/X.h/2,ut=[j[0],j[1]],Me=[ee[0]+pe,ee[1]-pe]):(at=ce/it,tt=ce,pe=(ie-at)/X.w/2,ut=[j[0]+pe,j[1]-pe],Me=[ee[0],ee[1]]),$.xLength2=at,$.yLength2=tt,$.xDomain2=ut,$.yDomain2=Me;var ue=$.xOffset2=X.l+X.w*ut[0],Oe=$.yOffset2=X.t+X.h*(1-Me[1]),rt=$.radius=at/Ue,ot=$.innerRadius=$.getHole(G)*rt,et=$.cx=ue-rt*Te[0],Lt=$.cy=Oe+rt*Te[3],Et=$.cxx=et-ue,Bt=$.cyy=Lt-Oe,qt=re.side,fr;qt===\"counterclockwise\"?(fr=qt,qt=\"top\"):qt===\"clockwise\"&&(fr=qt,qt=\"bottom\"),$.radialAxis=$.mockAxis(fe,G,re,{_id:\"x\",side:qt,_trueSide:fr,domain:[ot/X.w,rt/X.w]}),$.angularAxis=$.mockAxis(fe,G,ae,{side:\"right\",domain:[0,Math.PI],autorange:!1}),$.doAutoRange(fe,G),$.updateAngularAxis(fe,G),$.updateRadialAxis(fe,G),$.updateRadialAxisTitle(fe,G),$.xaxis=$.mockCartesianAxis(fe,G,{_id:\"x\",domain:ut}),$.yaxis=$.mockCartesianAxis(fe,G,{_id:\"y\",domain:Me});var ar=$.pathSubplot();$.clipPaths.forTraces.select(\"path\").attr(\"d\",ar).attr(\"transform\",t(Et,Bt)),J.frontplot.attr(\"transform\",t(ue,Oe)).call(o.setClipUrl,$._hasClipOnAxisFalse?null:$.clipIds.forTraces,$.gd),J.bg.attr(\"d\",ar).attr(\"transform\",t(et,Lt)).call(r.fill,G.bgcolor)},U.mockAxis=function(fe,G,$,J){var X=S.extendFlat({},$,J);return s(X,G,fe),X},U.mockCartesianAxis=function(fe,G,$){var J=this,X=J.isSmith,re=$._id,ae=S.extendFlat({type:\"linear\"},$);a(ae,fe);var j={x:[0,2],y:[1,3]};return ae.setRange=function(){var ee=J.sectorBBox,ie=j[re],ce=J.radialAxis._rl,xe=(ce[1]-ce[0])/(1-J.getHole(G));ae.range=[ee[ie[0]]*xe,ee[ie[1]]*xe]},ae.isPtWithinRange=re===\"x\"&&!X?function(ee){return J.isPtInside(ee)}:function(){return!0},ae.setRange(),ae.setScale(),ae},U.doAutoRange=function(fe,G){var $=this,J=$.gd,X=$.radialAxis,re=$.getRadial(G);c(J,X);var ae=X.range;if(re.range=ae.slice(),re._input.range=ae.slice(),X._rl=[X.r2l(ae[0],null,\"gregorian\"),X.r2l(ae[1],null,\"gregorian\")],X.minallowed!==void 0){var j=X.r2l(X.minallowed);X._rl[0]>X._rl[1]?X._rl[1]=Math.max(X._rl[1],j):X._rl[0]=Math.max(X._rl[0],j)}if(X.maxallowed!==void 0){var ee=X.r2l(X.maxallowed);X._rl[0]90&&ce<=270&&(xe.tickangle=180);var Ie=Ue?function(rt){var ot=z($,f([rt.x,0]));return t(ot[0]-j,ot[1]-ee)}:function(rt){return t(xe.l2p(rt.x)+ae,0)},Ye=Ue?function(rt){return L($,rt.x,-1/0,1/0)}:function(rt){return $.pathArc(xe.r2p(rt.x)+ae)},it=W(ie);if($.radialTickLayout!==it&&(X[\"radial-axis\"].selectAll(\".xtick\").remove(),$.radialTickLayout=it),Te){xe.setScale();var at=0,tt=Ue?(xe.tickvals||[]).filter(function(rt){return rt>=0}).map(function(rt){return i.tickText(xe,rt,!0,!1)}):i.calcTicks(xe),ut=Ue?tt:i.clipEnds(xe,tt),Me=i.getTickSigns(xe)[2];Ue&&((xe.ticks===\"top\"&&xe.side===\"bottom\"||xe.ticks===\"bottom\"&&xe.side===\"top\")&&(Me=-Me),xe.ticks===\"top\"&&xe.side===\"top\"&&(at=-xe.ticklen),xe.ticks===\"bottom\"&&xe.side===\"bottom\"&&(at=xe.ticklen)),i.drawTicks(J,xe,{vals:tt,layer:X[\"radial-axis\"],path:i.makeTickPath(xe,0,Me),transFn:Ie,crisp:!1}),i.drawGrid(J,xe,{vals:ut,layer:X[\"radial-grid\"],path:Ye,transFn:S.noop,crisp:!1}),i.drawLabels(J,xe,{vals:tt,layer:X[\"radial-axis\"],transFn:Ie,labelFns:i.makeLabelFns(xe,at)})}var pe=$.radialAxisAngle=$.vangles?I(le(O(ie.angle),$.vangles)):ie.angle,ue=t(j,ee),Oe=ue+e(-pe);se(X[\"radial-axis\"],Te&&(ie.showticklabels||ie.ticks),{transform:Oe}),se(X[\"radial-grid\"],Te&&ie.showgrid,{transform:Ue?\"\":ue}),se(X[\"radial-line\"].select(\"line\"),Te&&ie.showline,{x1:Ue?-re:ae,y1:0,x2:re,y2:0,transform:Oe}).attr(\"stroke-width\",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateRadialAxisTitle=function(fe,G,$){if(!this.isSmith){var J=this,X=J.gd,re=J.radius,ae=J.cx,j=J.cy,ee=J.getRadial(G),ie=J.id+\"title\",ce=0;if(ee.title){var xe=o.bBox(J.layers[\"radial-axis\"].node()).height,Te=ee.title.font.size,Ue=ee.side;ce=Ue===\"top\"?Te:Ue===\"counterclockwise\"?-(xe+Te*.4):xe+Te*.8}var Ie=$!==void 0?$:J.radialAxisAngle,Ye=O(Ie),it=Math.cos(Ye),at=Math.sin(Ye),tt=ae+re/2*it+ce*at,ut=j-re/2*at+ce*it;J.layers[\"radial-axis-title\"]=T.draw(X,ie,{propContainer:ee,propName:J.id+\".radialaxis.title\",placeholder:F(X,\"Click to enter radial axis title\"),attributes:{x:tt,y:ut,\"text-anchor\":\"middle\"},transform:{rotate:-Ie}})}},U.updateAngularAxis=function(fe,G){var $=this,J=$.gd,X=$.layers,re=$.radius,ae=$.innerRadius,j=$.cx,ee=$.cy,ie=$.getAngular(G),ce=$.angularAxis,xe=$.isSmith;xe||($.fillViewInitialKey(\"angularaxis.rotation\",ie.rotation),ce.setGeometry(),ce.setScale());var Te=xe?function(ot){var et=z($,f([0,ot.x]));return Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2}:function(ot){return ce.t2g(ot.x)};ce.type===\"linear\"&&ce.thetaunit===\"radians\"&&(ce.tick0=I(ce.tick0),ce.dtick=I(ce.dtick));var Ue=function(ot){return t(j+re*Math.cos(ot),ee-re*Math.sin(ot))},Ie=xe?function(ot){var et=z($,f([0,ot.x]));return t(et[0],et[1])}:function(ot){return Ue(Te(ot))},Ye=xe?function(ot){var et=z($,f([0,ot.x])),Lt=Math.atan2(et[0]-j,et[1]-ee)-Math.PI/2;return t(et[0],et[1])+e(-I(Lt))}:function(ot){var et=Te(ot);return Ue(et)+e(-I(et))},it=xe?function(ot){return P($,ot.x,0,1/0)}:function(ot){var et=Te(ot),Lt=Math.cos(et),Et=Math.sin(et);return\"M\"+[j+ae*Lt,ee-ae*Et]+\"L\"+[j+re*Lt,ee-re*Et]},at=i.makeLabelFns(ce,0),tt=at.labelStandoff,ut={};ut.xFn=function(ot){var et=Te(ot);return Math.cos(et)*tt},ut.yFn=function(ot){var et=Te(ot),Lt=Math.sin(et)>0?.2:1;return-Math.sin(et)*(tt+ot.fontSize*Lt)+Math.abs(Math.cos(et))*(ot.fontSize*b)},ut.anchorFn=function(ot){var et=Te(ot),Lt=Math.cos(et);return Math.abs(Lt)<.1?\"middle\":Lt>0?\"start\":\"end\"},ut.heightFn=function(ot,et,Lt){var Et=Te(ot);return-.5*(1+Math.sin(Et))*Lt};var Me=W(ie);$.angularTickLayout!==Me&&(X[\"angular-axis\"].selectAll(\".\"+ce._id+\"tick\").remove(),$.angularTickLayout=Me);var pe=xe?[1/0].concat(ce.tickvals||[]).map(function(ot){return i.tickText(ce,ot,!0,!1)}):i.calcTicks(ce);xe&&(pe[0].text=\"\\u221E\",pe[0].fontSize*=1.75);var ue;if(G.gridshape===\"linear\"?(ue=pe.map(Te),S.angleDelta(ue[0],ue[1])<0&&(ue=ue.slice().reverse())):ue=null,$.vangles=ue,ce.type===\"category\"&&(pe=pe.filter(function(ot){return S.isAngleInsideSector(Te(ot),$.sectorInRad)})),ce.visible){var Oe=ce.ticks===\"inside\"?-1:1,rt=(ce.linewidth||1)/2;i.drawTicks(J,ce,{vals:pe,layer:X[\"angular-axis\"],path:\"M\"+Oe*rt+\",0h\"+Oe*ce.ticklen,transFn:Ye,crisp:!1}),i.drawGrid(J,ce,{vals:pe,layer:X[\"angular-grid\"],path:it,transFn:S.noop,crisp:!1}),i.drawLabels(J,ce,{vals:pe,layer:X[\"angular-axis\"],repositionOnUpdate:!0,transFn:Ie,labelFns:ut})}se(X[\"angular-line\"].select(\"path\"),ie.showline,{d:$.pathSubplot(),transform:t(j,ee)}).attr(\"stroke-width\",ie.linewidth).call(r.stroke,ie.linecolor)},U.updateFx=function(fe,G){if(!this.gd._context.staticPlot){var $=!this.isSmith;$&&(this.updateAngularDrag(fe),this.updateRadialDrag(fe,G,0),this.updateRadialDrag(fe,G,1)),this.updateHoverAndMainDrag(fe)}},U.updateHoverAndMainDrag=function(fe){var G=this,$=G.isSmith,J=G.gd,X=G.layers,re=fe._zoomlayer,ae=v.MINZOOM,j=v.OFFEDGE,ee=G.radius,ie=G.innerRadius,ce=G.cx,xe=G.cy,Te=G.cxx,Ue=G.cyy,Ie=G.sectorInRad,Ye=G.vangles,it=G.radialAxis,at=u.clampTiny,tt=u.findXYatLength,ut=u.findEnclosingVertexAngles,Me=v.cornerHalfWidth,pe=v.cornerLen/2,ue,Oe,rt=h.makeDragger(X,\"path\",\"maindrag\",fe.dragmode===!1?\"none\":\"crosshair\");g.select(rt).attr(\"d\",G.pathSubplot()).attr(\"transform\",t(ce,xe)),rt.onmousemove=function(Xt){d.hover(J,Xt,G.id),J._fullLayout._lasthover=rt,J._fullLayout._hoversubplot=G.id},rt.onmouseout=function(Xt){J._dragging||p.unhover(J,Xt)};var ot={element:rt,gd:J,subplot:G.id,plotinfo:{id:G.id,xaxis:G.xaxis,yaxis:G.yaxis},xaxes:[G.xaxis],yaxes:[G.yaxis]},et,Lt,Et,Bt,qt,fr,ar,Rr,gr;function br(Xt,$t){return Math.sqrt(Xt*Xt+$t*$t)}function _t(Xt,$t){return br(Xt-Te,$t-Ue)}function Be(Xt,$t){return Math.atan2(Ue-$t,Xt-Te)}function Ke(Xt,$t){return[Xt*Math.cos($t),Xt*Math.sin(-$t)]}function je(Xt,$t){if(Xt===0)return G.pathSector(2*Me);var ur=pe/Xt,pn=$t-ur,Rn=$t+ur,Nn=Math.max(0,Math.min(Xt,ee)),On=Nn-Me,ni=Nn+Me;return\"M\"+Ke(On,pn)+\"A\"+[On,On]+\" 0,0,0 \"+Ke(On,Rn)+\"L\"+Ke(ni,Rn)+\"A\"+[ni,ni]+\" 0,0,1 \"+Ke(ni,pn)+\"Z\"}function Se(Xt,$t,ur){if(Xt===0)return G.pathSector(2*Me);var pn=Ke(Xt,$t),Rn=Ke(Xt,ur),Nn=at((pn[0]+Rn[0])/2),On=at((pn[1]+Rn[1])/2),ni,zn;if(Nn&&On){var Qn=On/Nn,gi=-1/Qn,Zt=tt(Me,Qn,Nn,On);ni=tt(pe,gi,Zt[0][0],Zt[0][1]),zn=tt(pe,gi,Zt[1][0],Zt[1][1])}else{var Ft,Ht;On?(Ft=pe,Ht=Me):(Ft=Me,Ht=pe),ni=[[Nn-Ft,On-Ht],[Nn+Ft,On-Ht]],zn=[[Nn-Ft,On+Ht],[Nn+Ft,On+Ht]]}return\"M\"+ni.join(\"L\")+\"L\"+zn.reverse().join(\"L\")+\"Z\"}function He(){Et=null,Bt=null,qt=G.pathSubplot(),fr=!1;var Xt=J._fullLayout[G.id];ar=x(Xt.bgcolor).getLuminance(),Rr=h.makeZoombox(re,ar,ce,xe,qt),Rr.attr(\"fill-rule\",\"evenodd\"),gr=h.makeCorners(re,ce,xe),w(J)}function Ee(Xt,$t){return $t=Math.max(Math.min($t,ee),ie),Xtae?(Xt<$t?(Et=Xt,Bt=$t):(Et=$t,Bt=Xt),!0):(Et=null,Bt=null,!1)}function we(Xt,$t){Xt=Xt||qt,$t=$t||\"M0,0Z\",Rr.attr(\"d\",Xt),gr.attr(\"d\",$t),h.transitionZoombox(Rr,gr,fr,ar),fr=!0;var ur={};Rt(ur),J.emit(\"plotly_relayouting\",ur)}function Le(Xt,$t){Xt=Xt*ue,$t=$t*Oe;var ur=et+Xt,pn=Lt+$t,Rn=_t(et,Lt),Nn=Math.min(_t(ur,pn),ee),On=Be(et,Lt),ni,zn;Ee(Rn,Nn)&&(ni=qt+G.pathSector(Bt),Et&&(ni+=G.pathSector(Et)),zn=je(Et,On)+je(Bt,On)),we(ni,zn)}function nt(Xt,$t,ur,pn){var Rn=u.findIntersectionXY(ur,pn,ur,[Xt-Te,Ue-$t]);return br(Rn[0],Rn[1])}function pt(Xt,$t){var ur=et+Xt,pn=Lt+$t,Rn=Be(et,Lt),Nn=Be(ur,pn),On=ut(Rn,Ye),ni=ut(Nn,Ye),zn=nt(et,Lt,On[0],On[1]),Qn=Math.min(nt(ur,pn,ni[0],ni[1]),ee),gi,Zt;Ee(zn,Qn)&&(gi=qt+G.pathSector(Bt),Et&&(gi+=G.pathSector(Et)),Zt=[Se(Et,On[0],On[1]),Se(Bt,On[0],On[1])].join(\" \")),we(gi,Zt)}function bt(){if(h.removeZoombox(J),!(Et===null||Bt===null)){var Xt={};Rt(Xt),h.showDoubleClickNotifier(J),A.call(\"_guiRelayout\",J,Xt)}}function Rt(Xt){var $t=it._rl,ur=($t[1]-$t[0])/(1-ie/ee)/ee,pn=[$t[0]+(Et-ie)*ur,$t[0]+(Bt-ie)*ur];Xt[G.id+\".radialaxis.range\"]=pn}function Nt(Xt,$t){var ur=J._fullLayout.clickmode;if(h.removeZoombox(J),Xt===2){var pn={};for(var Rn in G.viewInitial)pn[G.id+\".\"+Rn]=G.viewInitial[Rn];J.emit(\"plotly_doubleclick\",null),A.call(\"_guiRelayout\",J,pn)}ur.indexOf(\"select\")>-1&&Xt===1&&_($t,J,[G.xaxis],[G.yaxis],G.id,ot),ur.indexOf(\"event\")>-1&&d.click(J,$t,G.id)}ot.prepFn=function(Xt,$t,ur){var pn=J._fullLayout.dragmode,Rn=rt.getBoundingClientRect();J._fullLayout._calcInverseTransform(J);var Nn=J._fullLayout._invTransform;ue=J._fullLayout._invScaleX,Oe=J._fullLayout._invScaleY;var On=S.apply3DTransform(Nn)($t-Rn.left,ur-Rn.top);if(et=On[0],Lt=On[1],Ye){var ni=u.findPolygonOffset(ee,Ie[0],Ie[1],Ye);et+=Te+ni[0],Lt+=Ue+ni[1]}switch(pn){case\"zoom\":ot.clickFn=Nt,$||(Ye?ot.moveFn=pt:ot.moveFn=Le,ot.doneFn=bt,He(Xt,$t,ur));break;case\"select\":case\"lasso\":l(Xt,$t,ur,ot,pn);break}},p.init(ot)},U.updateRadialDrag=function(fe,G,$){var J=this,X=J.gd,re=J.layers,ae=J.radius,j=J.innerRadius,ee=J.cx,ie=J.cy,ce=J.radialAxis,xe=v.radialDragBoxSize,Te=xe/2;if(!ce.visible)return;var Ue=O(J.radialAxisAngle),Ie=ce._rl,Ye=Ie[0],it=Ie[1],at=Ie[$],tt=.75*(Ie[1]-Ie[0])/(1-J.getHole(G))/ae,ut,Me,pe;$?(ut=ee+(ae+Te)*Math.cos(Ue),Me=ie-(ae+Te)*Math.sin(Ue),pe=\"radialdrag\"):(ut=ee+(j-Te)*Math.cos(Ue),Me=ie-(j-Te)*Math.sin(Ue),pe=\"radialdrag-inner\");var ue=h.makeRectDragger(re,pe,\"crosshair\",-Te,-Te,xe,xe),Oe={element:ue,gd:X};fe.dragmode===!1&&(Oe.dragmode=!1),se(g.select(ue),ce.visible&&j0!=($?et>Ye:et=90||X>90&&re>=450?Ue=1:j<=0&&ie<=0?Ue=0:Ue=Math.max(j,ie),X<=180&&re>=180||X>180&&re>=540?ce=-1:ae>=0&&ee>=0?ce=0:ce=Math.min(ae,ee),X<=270&&re>=270||X>270&&re>=630?xe=-1:j>=0&&ie>=0?xe=0:xe=Math.min(j,ie),re>=360?Te=1:ae<=0&&ee<=0?Te=0:Te=Math.max(ae,ee),[ce,xe,Te,Ue]}function le(fe,G){var $=function(X){return S.angleDist(fe,X)},J=S.findIndexOfMin(G,$);return G[J]}function se(fe,G,$){return G?(fe.attr(\"display\",null),fe.attr($)):fe&&fe.attr(\"display\",\"none\"),fe}}}),qM=ke({\"src/plots/polar/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},\"plot\",\"from-root\"),r=e({tickmode:x.minor.tickmode,nticks:x.nticks,tick0:x.tick0,dtick:x.dtick,tickvals:x.tickvals,ticktext:x.ticktext,ticks:x.ticks,ticklen:x.ticklen,tickwidth:x.tickwidth,tickcolor:x.tickcolor,ticklabelstep:x.ticklabelstep,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,showexponent:x.showexponent,exponentformat:x.exponentformat,minexponent:x.minexponent,separatethousands:x.separatethousands,tickfont:x.tickfont,tickangle:x.tickangle,tickformat:x.tickformat,tickformatstops:x.tickformatstops,layer:x.layer},\"plot\",\"from-root\"),o={visible:S({},x.visible,{dflt:!0}),type:S({},x.type,{values:[\"-\",\"linear\",\"log\",\"date\",\"category\"]}),autotypenumbers:x.autotypenumbers,autorangeoptions:{minallowed:x.autorangeoptions.minallowed,maxallowed:x.autorangeoptions.maxallowed,clipmin:x.autorangeoptions.clipmin,clipmax:x.autorangeoptions.clipmax,include:x.autorangeoptions.include,editType:\"plot\"},autorange:S({},x.autorange,{editType:\"plot\"}),rangemode:{valType:\"enumerated\",values:[\"tozero\",\"nonnegative\",\"normal\"],dflt:\"tozero\",editType:\"calc\"},minallowed:S({},x.minallowed,{editType:\"plot\"}),maxallowed:S({},x.maxallowed,{editType:\"plot\"}),range:S({},x.range,{items:[{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}}],editType:\"plot\"}),categoryorder:x.categoryorder,categoryarray:x.categoryarray,angle:{valType:\"angle\",editType:\"plot\"},autotickangles:x.autotickangles,side:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"clockwise\",editType:\"plot\"},title:{text:S({},x.title.text,{editType:\"plot\",dflt:\"\"}),font:S({},x.title.font,{editType:\"plot\"}),editType:\"plot\"},hoverformat:x.hoverformat,uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"};S(o,t,r);var n={visible:S({},x.visible,{dflt:!0}),type:{valType:\"enumerated\",values:[\"-\",\"linear\",\"category\"],dflt:\"-\",editType:\"calc\",_noTemplating:!0},autotypenumbers:x.autotypenumbers,categoryorder:x.categoryorder,categoryarray:x.categoryarray,thetaunit:{valType:\"enumerated\",values:[\"radians\",\"degrees\"],dflt:\"degrees\",editType:\"calc\"},period:{valType:\"number\",editType:\"calc\",min:0},direction:{valType:\"enumerated\",values:[\"counterclockwise\",\"clockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"angle\",editType:\"calc\"},hoverformat:x.hoverformat,uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"};S(n,t,r),H.exports={domain:A({name:\"polar\",editType:\"plot\"}),sector:{valType:\"info_array\",items:[{valType:\"number\",editType:\"plot\"},{valType:\"number\",editType:\"plot\"}],dflt:[0,360],editType:\"plot\"},hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"plot\"},bgcolor:{valType:\"color\",editType:\"plot\",dflt:g.background},radialaxis:o,angularaxis:n,gridshape:{valType:\"enumerated\",values:[\"circular\",\"linear\"],dflt:\"circular\",editType:\"plot\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"}}}),Z8=ke({\"src/plots/polar/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=Pm(),r=qg(),o=Dp(),n=zp(),i=T_(),a=o0(),s=Jw(),c=Gg(),h=qM(),p=UM(),d=Mb(),T=d.axisNames;function l(w,M,E,m){var b=E(\"bgcolor\");m.bgColor=x.combine(b,m.paper_bgcolor);var v=E(\"sector\");E(\"hole\");var u=e(m.fullData,d.name,m.id),y=m.layoutOut,f;function P(xe,Te){return E(f+\".\"+xe,Te)}for(var L=0;L\")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),J8=ke({\"src/traces/scatterpolar/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"scatterpolar\",basePlotModule:Eb(),categories:[\"polar\",\"symbols\",\"showLegend\",\"scatter-like\"],attributes:t1(),supplyDefaults:Cb().supplyDefaults,colorbar:Bh(),formatLabels:kb(),calc:Y8(),plot:K8(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:Lb().hoverPoints,selectPoints:$g(),meta:{}}}}),$8=ke({\"lib/scatterpolar.js\"(Z,H){\"use strict\";H.exports=J8()}}),HM=ke({\"src/traces/scatterpolargl/attributes.js\"(Z,H){\"use strict\";var g=t1(),x=W0(),A=Rs().texttemplateAttrs;H.exports={mode:g.mode,r:g.r,theta:g.theta,r0:g.r0,dr:g.dr,theta0:g.theta0,dtheta:g.dtheta,thetaunit:g.thetaunit,text:g.text,texttemplate:A({editType:\"plot\"},{keys:[\"r\",\"theta\",\"text\"]}),hovertext:g.hovertext,hovertemplate:g.hovertemplate,line:{color:x.line.color,width:x.line.width,dash:x.line.dash,editType:\"calc\"},connectgaps:x.connectgaps,marker:x.marker,fill:x.fill,fillcolor:x.fillcolor,textposition:x.textposition,textfont:x.textfont,hoverinfo:g.hoverinfo,selected:g.selected,unselected:g.unselected}}}),Q8=ke({\"src/traces/scatterpolargl/defaults.js\"(Z,H){\"use strict\";var g=un(),x=vu(),A=Cb().handleRThetaDefaults,S=Fd(),e=Hd(),t=Gd(),r=dv(),o=kv().PTS_LINESONLY,n=HM();H.exports=function(a,s,c,h){function p(T,l){return g.coerce(a,s,n,T,l)}var d=A(a,s,h,p);if(!d){s.visible=!1;return}p(\"thetaunit\"),p(\"mode\",d=r&&(m.marker.cluster=_.tree),m.marker&&(m.markerSel.positions=m.markerUnsel.positions=m.marker.positions=y),m.line&&y.length>1&&t.extendFlat(m.line,e.linePositions(i,l,y)),m.text&&(t.extendFlat(m.text,{positions:y},e.textPosition(i,l,m.text,m.marker)),t.extendFlat(m.textSel,{positions:y},e.textPosition(i,l,m.text,m.markerSel)),t.extendFlat(m.textUnsel,{positions:y},e.textPosition(i,l,m.text,m.markerUnsel))),m.fill&&!p.fill2d&&(p.fill2d=!0),m.marker&&!p.scatter2d&&(p.scatter2d=!0),m.line&&!p.line2d&&(p.line2d=!0),m.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(m.line),p.fillOptions.push(m.fill),p.markerOptions.push(m.marker),p.markerSelectedOptions.push(m.markerSel),p.markerUnselectedOptions.push(m.markerUnsel),p.textOptions.push(m.text),p.textSelectedOptions.push(m.textSel),p.textUnselectedOptions.push(m.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),_.x=f,_.y=P,_.rawx=f,_.rawy=P,_.r=M,_.theta=E,_.positions=y,_._scene=p,_.index=p.count,p.count++}}),A(i,a,s)}},H.exports.reglPrecompiled=o}}),aF=ke({\"src/traces/scatterpolargl/index.js\"(Z,H){\"use strict\";var g=nF();g.plot=iF(),H.exports=g}}),oF=ke({\"lib/scatterpolargl.js\"(Z,H){\"use strict\";H.exports=aF()}}),GM=ke({\"src/traces/barpolar/attributes.js\"(Z,H){\"use strict\";var g=Rs().hovertemplateAttrs,x=To().extendFlat,A=t1(),S=Pv();H.exports={r:A.r,theta:A.theta,r0:A.r0,dr:A.dr,theta0:A.theta0,dtheta:A.dtheta,thetaunit:A.thetaunit,base:x({},S.base,{}),offset:x({},S.offset,{}),width:x({},S.width,{}),text:x({},S.text,{}),hovertext:x({},S.hovertext,{}),marker:e(),hoverinfo:A.hoverinfo,hovertemplate:g(),selected:S.selected,unselected:S.unselected};function e(){var t=x({},S.marker);return delete t.cornerradius,t}}}),WM=ke({\"src/traces/barpolar/layout_attributes.js\"(Z,H){\"use strict\";H.exports={barmode:{valType:\"enumerated\",values:[\"stack\",\"overlay\"],dflt:\"stack\",editType:\"calc\"},bargap:{valType:\"number\",dflt:.1,min:0,max:1,editType:\"calc\"}}}}),sF=ke({\"src/traces/barpolar/defaults.js\"(Z,H){\"use strict\";var g=un(),x=Cb().handleRThetaDefaults,A=I_(),S=GM();H.exports=function(t,r,o,n){function i(s,c){return g.coerce(t,r,S,s,c)}var a=x(t,r,n,i);if(!a){r.visible=!1;return}i(\"thetaunit\"),i(\"base\"),i(\"offset\"),i(\"width\"),i(\"text\"),i(\"hovertext\"),i(\"hovertemplate\"),A(t,r,i,o,n),g.coerceSelectionMarkerOpacity(r,i)}}}),lF=ke({\"src/traces/barpolar/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=WM();H.exports=function(A,S,e){var t={},r;function o(a,s){return g.coerce(A[r]||{},S[r],x,a,s)}for(var n=0;n0?(h=s,p=c):(h=c,p=s);var d=e.findEnclosingVertexAngles(h,r.vangles)[0],T=e.findEnclosingVertexAngles(p,r.vangles)[1],l=[d,(h+p)/2,T];return e.pathPolygonAnnulus(i,a,h,p,l,o,n)}:function(i,a,s,c){return A.pathAnnulus(i,a,s,c,o,n)}}}}),cF=ke({\"src/traces/barpolar/hover.js\"(Z,H){\"use strict\";var g=Ec(),x=un(),A=Qg().getTraceColor,S=x.fillText,e=Lb().makeHoverPointText,t=Sb().isPtInsidePolygon;H.exports=function(o,n,i){var a=o.cd,s=a[0].trace,c=o.subplot,h=c.radialAxis,p=c.angularAxis,d=c.vangles,T=d?t:x.isPtInsideSector,l=o.maxHoverDistance,_=p._period||2*Math.PI,w=Math.abs(h.g2p(Math.sqrt(n*n+i*i))),M=Math.atan2(i,n);h.range[0]>h.range[1]&&(M+=Math.PI);var E=function(u){return T(w,M,[u.rp0,u.rp1],[u.thetag0,u.thetag1],d)?l+Math.min(1,Math.abs(u.thetag1-u.thetag0)/_)-1+(u.rp1-w)/(u.rp1-u.rp0)-1:1/0};if(g.getClosest(a,E,o),o.index!==!1){var m=o.index,b=a[m];o.x0=o.x1=b.ct[0],o.y0=o.y1=b.ct[1];var v=x.extendFlat({},b,{r:b.s,theta:b.p});return S(b,s,o),e(v,s,c,o),o.hovertemplate=s.hovertemplate,o.color=A(s,b),o.xLabelVal=o.yLabelVal=void 0,b.s<0&&(o.idealAlign=\"left\"),[o]}}}}),fF=ke({\"src/traces/barpolar/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"barpolar\",basePlotModule:Eb(),categories:[\"polar\",\"bar\",\"showLegend\"],attributes:GM(),layoutAttributes:WM(),supplyDefaults:sF(),supplyLayoutDefaults:lF(),calc:XM().calc,crossTraceCalc:XM().crossTraceCalc,plot:uF(),colorbar:Bh(),formatLabels:kb(),style:Yd().style,styleOnSelect:Yd().styleOnSelect,hoverPoints:cF(),selectPoints:ey(),meta:{}}}}),hF=ke({\"lib/barpolar.js\"(Z,H){\"use strict\";H.exports=fF()}}),ZM=ke({\"src/plots/smith/constants.js\"(Z,H){\"use strict\";H.exports={attr:\"subplot\",name:\"smith\",axisNames:[\"realaxis\",\"imaginaryaxis\"],axisName2dataArray:{imaginaryaxis:\"imag\",realaxis:\"real\"}}}}),YM=ke({\"src/plots/smith/layout_attributes.js\"(Z,H){\"use strict\";var g=If(),x=wh(),A=Yu().attributes,S=un().extendFlat,e=ju().overrideAll,t=e({color:x.color,showline:S({},x.showline,{dflt:!0}),linecolor:x.linecolor,linewidth:x.linewidth,showgrid:S({},x.showgrid,{dflt:!0}),gridcolor:x.gridcolor,gridwidth:x.gridwidth,griddash:x.griddash},\"plot\",\"from-root\"),r=e({ticklen:x.ticklen,tickwidth:S({},x.tickwidth,{dflt:2}),tickcolor:x.tickcolor,showticklabels:x.showticklabels,labelalias:x.labelalias,showtickprefix:x.showtickprefix,tickprefix:x.tickprefix,showticksuffix:x.showticksuffix,ticksuffix:x.ticksuffix,tickfont:x.tickfont,tickformat:x.tickformat,hoverformat:x.hoverformat,layer:x.layer},\"plot\",\"from-root\"),o=S({visible:S({},x.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:\"data_array\",editType:\"plot\"},tickangle:S({},x.tickangle,{dflt:90}),ticks:{valType:\"enumerated\",values:[\"top\",\"bottom\",\"\"],editType:\"ticks\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\"],dflt:\"top\",editType:\"plot\"},editType:\"calc\"},t,r),n=S({visible:S({},x.visible,{dflt:!0}),tickvals:{valType:\"data_array\",editType:\"plot\"},ticks:x.ticks,editType:\"calc\"},t,r);H.exports={domain:A({name:\"smith\",editType:\"plot\"}),bgcolor:{valType:\"color\",editType:\"plot\",dflt:g.background},realaxis:o,imaginaryaxis:n,editType:\"calc\"}}}),dF=ke({\"src/plots/smith/layout_defaults.js\"(Z,H){\"use strict\";var g=un(),x=eo(),A=yl(),S=Up(),e=bh().getSubplotData,t=zp(),r=Dp(),o=o0(),n=Cv(),i=YM(),a=ZM(),s=a.axisNames,c=p(function(d){return g.isTypedArray(d)&&(d=Array.from(d)),d.slice().reverse().map(function(T){return-T}).concat([0]).concat(d)},String);function h(d,T,l,_){var w=l(\"bgcolor\");_.bgColor=x.combine(w,_.paper_bgcolor);var M=e(_.fullData,a.name,_.id),E=_.layoutOut,m;function b(U,W){return l(m+\".\"+U,W)}for(var v=0;v\")}}H.exports={hoverPoints:x,makeHoverPointText:A}}}),xF=ke({\"src/traces/scattersmith/index.js\"(Z,H){\"use strict\";H.exports={moduleType:\"trace\",name:\"scattersmith\",basePlotModule:vF(),categories:[\"smith\",\"symbols\",\"showLegend\",\"scatter-like\"],attributes:KM(),supplyDefaults:pF(),colorbar:Bh(),formatLabels:mF(),calc:gF(),plot:yF(),style:yd().style,styleOnSelect:yd().styleOnSelect,hoverPoints:_F().hoverPoints,selectPoints:$g(),meta:{}}}}),bF=ke({\"lib/scattersmith.js\"(Z,H){\"use strict\";H.exports=xF()}}),Yh=ke({\"node_modules/world-calendars/dist/main.js\"(Z,H){var g=Rf();function x(){this.regionalOptions=[],this.regionalOptions[\"\"]={invalidCalendar:\"Calendar {0} not found\",invalidDate:\"Invalid {0} date\",invalidMonth:\"Invalid {0} month\",invalidYear:\"Invalid {0} year\",differentCalendars:\"Cannot mix {0} and {1} dates\"},this.local=this.regionalOptions[\"\"],this.calendars={},this._localCals={}}g(x.prototype,{instance:function(o,n){o=(o||\"gregorian\").toLowerCase(),n=n||\"\";var i=this._localCals[o+\"-\"+n];if(!i&&this.calendars[o]&&(i=new this.calendars[o](n),this._localCals[o+\"-\"+n]=i),!i)throw(this.local.invalidCalendar||this.regionalOptions[\"\"].invalidCalendar).replace(/\\{0\\}/,o);return i},newDate:function(o,n,i,a,s){return a=(o!=null&&o.year?o.calendar():typeof a==\"string\"?this.instance(a,s):a)||this.instance(),a.newDate(o,n,i)},substituteDigits:function(o){return function(n){return(n+\"\").replace(/[0-9]/g,function(i){return o[i]})}},substituteChineseDigits:function(o,n){return function(i){for(var a=\"\",s=0;i>0;){var c=i%10;a=(c===0?\"\":o[c]+n[s])+a,s++,i=Math.floor(i/10)}return a.indexOf(o[1]+n[1])===0&&(a=a.substr(1)),a||o[0]}}});function A(o,n,i,a){if(this._calendar=o,this._year=n,this._month=i,this._day=a,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(r.local.invalidDate||r.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name)}function S(o,n){return o=\"\"+o,\"000000\".substring(0,n-o.length)+o}g(A.prototype,{newDate:function(o,n,i){return this._calendar.newDate(o??this,n,i)},year:function(o){return arguments.length===0?this._year:this.set(o,\"y\")},month:function(o){return arguments.length===0?this._month:this.set(o,\"m\")},day:function(o){return arguments.length===0?this._day:this.set(o,\"d\")},date:function(o,n,i){if(!this._calendar.isValid(o,n,i))throw(r.local.invalidDate||r.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name);return this._year=o,this._month=n,this._day=i,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,n){return this._calendar.add(this,o,n)},set:function(o,n){return this._calendar.set(this,o,n)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(r.local.differentCalendars||r.regionalOptions[\"\"].differentCalendars).replace(/\\{0\\}/,this._calendar.local.name).replace(/\\{1\\}/,o._calendar.local.name);var n=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?\"-\":\"\")+S(Math.abs(this.year()),4)+\"-\"+S(this.month(),2)+\"-\"+S(this.day(),2)}});function e(){this.shortYearCutoff=\"+10\"}g(e.prototype,{_validateLevel:0,newDate:function(o,n,i){return o==null?this.today():(o.year&&(this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),i=o.day(),n=o.month(),o=o.year()),new A(this,o,n,i))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return(n.year()<0?\"-\":\"\")+S(Math.abs(n.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear),12},monthOfYear:function(o,n){var i=this._validate(o,n,this.minDay,r.local.invalidMonth||r.regionalOptions[\"\"].invalidMonth);return(i.month()+this.monthsInYear(i)-this.firstMonth)%this.monthsInYear(i)+this.minMonth},fromMonthOfYear:function(o,n){var i=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,i,this.minDay,r.local.invalidMonth||r.regionalOptions[\"\"].invalidMonth),i},daysInYear:function(o){var n=this._validate(o,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);return a.toJD()-this.newDate(a.year(),this.fromMonthOfYear(a.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);return(Math.floor(this.toJD(a))+2)%this.daysInWeek()},extraInfo:function(o,n,i){return this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),{}},add:function(o,n,i){return this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),this._correctAdd(o,this._add(o,n,i),n,i)},_add:function(o,n,i){if(this._validateLevel++,i===\"d\"||i===\"w\"){var a=o.toJD()+n*(i===\"w\"?this.daysInWeek():1),s=o.calendar().fromJD(a);return this._validateLevel--,[s.year(),s.month(),s.day()]}try{var c=o.year()+(i===\"y\"?n:0),h=o.monthOfYear()+(i===\"m\"?n:0),s=o.day(),p=function(l){for(;h_-1+l.minMonth;)c++,h-=_,_=l.monthsInYear(c)};i===\"y\"?(o.month()!==this.fromMonthOfYear(c,h)&&(h=this.newDate(c,o.month(),this.minDay).monthOfYear()),h=Math.min(h,this.monthsInYear(c)),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h)))):i===\"m\"&&(p(this),s=Math.min(s,this.daysInMonth(c,this.fromMonthOfYear(c,h))));var d=[c,this.fromMonthOfYear(c,h),s];return this._validateLevel--,d}catch(T){throw this._validateLevel--,T}},_correctAdd:function(o,n,i,a){if(!this.hasYearZero&&(a===\"y\"||a===\"m\")&&(n[0]===0||o.year()>0!=n[0]>0)){var s={y:[1,1,\"y\"],m:[1,this.monthsInYear(-1),\"m\"],w:[this.daysInWeek(),this.daysInYear(-1),\"d\"],d:[1,this.daysInYear(-1),\"d\"]}[a],c=i<0?-1:1;n=this._add(o,i*s[0]+c*s[1],s[2])}return o.date(n[0],n[1],n[2])},set:function(o,n,i){this._validate(o,this.minMonth,this.minDay,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate);var a=i===\"y\"?n:o.year(),s=i===\"m\"?n:o.month(),c=i===\"d\"?n:o.day();return(i===\"y\"||i===\"m\")&&(c=Math.min(c,this.daysInMonth(a,s))),o.date(a,s,c)},isValid:function(o,n,i){this._validateLevel++;var a=this.hasYearZero||o!==0;if(a){var s=this.newDate(o,n,this.minDay);a=n>=this.minMonth&&n-this.minMonth=this.minDay&&i-this.minDay13.5?13:1),T=s-(d>2.5?4716:4715);return T<=0&&T--,this.newDate(T,d,p)},toJSDate:function(o,n,i){var a=this._validate(o,n,i,r.local.invalidDate||r.regionalOptions[\"\"].invalidDate),s=new Date(a.year(),a.month()-1,a.day());return s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0),s.setHours(s.getHours()>12?s.getHours()+2:0),s},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var r=H.exports=new x;r.cdate=A,r.baseCalendar=e,r.calendars.gregorian=t}}),wF=ke({\"node_modules/world-calendars/dist/plus.js\"(){var Z=Rf(),H=Yh();Z(H.regionalOptions[\"\"],{invalidArguments:\"Invalid arguments\",invalidFormat:\"Cannot format a date from another calendar\",missingNumberAt:\"Missing number at position {0}\",unknownNameAt:\"Unknown name at position {0}\",unexpectedLiteralAt:\"Unexpected literal at position {0}\",unexpectedText:\"Additional text found at end\"}),H.local=H.regionalOptions[\"\"],Z(H.cdate.prototype,{formatDate:function(g,x){return typeof g!=\"string\"&&(x=g,g=\"\"),this._calendar.formatDate(g||\"\",this,x)}}),Z(H.baseCalendar.prototype,{UNIX_EPOCH:H.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:H.instance().jdEpoch,TICKS_PER_DAY:24*60*60*1e7,ATOM:\"yyyy-mm-dd\",COOKIE:\"D, dd M yyyy\",FULL:\"DD, MM d, yyyy\",ISO_8601:\"yyyy-mm-dd\",JULIAN:\"J\",RFC_822:\"D, d M yy\",RFC_850:\"DD, dd-M-yy\",RFC_1036:\"D, d M yy\",RFC_1123:\"D, d M yyyy\",RFC_2822:\"D, d M yyyy\",RSS:\"D, d M yy\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yyyy-mm-dd\",formatDate:function(g,x,A){if(typeof g!=\"string\"&&(A=x,x=g,g=\"\"),!x)return\"\";if(x.calendar()!==this)throw H.local.invalidFormat||H.regionalOptions[\"\"].invalidFormat;g=g||this.local.dateFormat,A=A||{};for(var S=A.dayNamesShort||this.local.dayNamesShort,e=A.dayNames||this.local.dayNames,t=A.monthNumbers||this.local.monthNumbers,r=A.monthNamesShort||this.local.monthNamesShort,o=A.monthNames||this.local.monthNames,n=A.calculateWeek||this.local.calculateWeek,i=function(M,E){for(var m=1;w+m1},a=function(M,E,m,b){var v=\"\"+E;if(i(M,b))for(;v.length1},_=function(P,L){var z=l(P,L),F=[2,3,z?4:2,z?4:2,10,11,20][\"oyYJ@!\".indexOf(P)+1],B=new RegExp(\"^-?\\\\d{1,\"+F+\"}\"),O=x.substring(v).match(B);if(!O)throw(H.local.missingNumberAt||H.regionalOptions[\"\"].missingNumberAt).replace(/\\{0\\}/,v);return v+=O[0].length,parseInt(O[0],10)},w=this,M=function(){if(typeof o==\"function\"){l(\"m\");var P=o.call(w,x.substring(v));return v+=P.length,P}return _(\"m\")},E=function(P,L,z,F){for(var B=l(P,F)?z:L,O=0;O-1){c=1,h=p;for(var f=this.daysInMonth(s,c);h>f;f=this.daysInMonth(s,c))c++,h-=f}return a>-1?this.fromJD(a):this.newDate(s,c,h)},determineDate:function(g,x,A,S,e){A&&typeof A!=\"object\"&&(e=S,S=A,A=null),typeof S!=\"string\"&&(e=S,S=\"\");var t=this,r=function(o){try{return t.parseDate(S,o,e)}catch{}o=o.toLowerCase();for(var n=(o.match(/^c/)&&A?A.newDate():null)||t.today(),i=/([+-]?[0-9]+)\\s*(d|w|m|y)?/g,a=i.exec(o);a;)n.add(parseInt(a[1],10),a[2]||\"d\"),a=i.exec(o);return n};return x=x?x.newDate():null,g=g==null?x:typeof g==\"string\"?r(g):typeof g==\"number\"?isNaN(g)||g===1/0||g===-1/0?x:t.today().add(g,\"d\"):t.newDate(g),g}})}}),TF=ke({\"node_modules/world-calendars/dist/calendars/chinese.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(a){this.local=this.regionalOptions[a||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Chinese\",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{\"\":{name:\"Chinese\",epochs:[\"BEC\",\"EC\"],monthNumbers:function(a,s){if(typeof a==\"string\"){var c=a.match(S);return c?c[0]:\"\"}var h=this._validateYear(a),p=a.month(),d=\"\"+this.toChineseMonth(h,p);return s&&d.length<2&&(d=\"0\"+d),this.isIntercalaryMonth(h,p)&&(d+=\"i\"),d},monthNames:function(a){if(typeof a==\"string\"){var s=a.match(e);return s?s[0]:\"\"}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=[\"\\u4E00\\u6708\",\"\\u4E8C\\u6708\",\"\\u4E09\\u6708\",\"\\u56DB\\u6708\",\"\\u4E94\\u6708\",\"\\u516D\\u6708\",\"\\u4E03\\u6708\",\"\\u516B\\u6708\",\"\\u4E5D\\u6708\",\"\\u5341\\u6708\",\"\\u5341\\u4E00\\u6708\",\"\\u5341\\u4E8C\\u6708\"][p-1];return this.isIntercalaryMonth(c,h)&&(d=\"\\u95F0\"+d),d},monthNamesShort:function(a){if(typeof a==\"string\"){var s=a.match(t);return s?s[0]:\"\"}var c=this._validateYear(a),h=a.month(),p=this.toChineseMonth(c,h),d=[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"][p-1];return this.isIntercalaryMonth(c,h)&&(d=\"\\u95F0\"+d),d},parseMonth:function(a,s){a=this._validateYear(a);var c=parseInt(s),h;if(isNaN(c))s[0]===\"\\u95F0\"&&(h=!0,s=s.substring(1)),s[s.length-1]===\"\\u6708\"&&(s=s.substring(0,s.length-1)),c=1+[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"].indexOf(s);else{var p=s[s.length-1];h=p===\"i\"||p===\"I\"}var d=this.toMonthIndex(a,c,h);return d},dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},_validateYear:function(a,s){if(a.year&&(a=a.year()),typeof a!=\"number\"||a<1888||a>2111)throw s.replace(/\\{0\\}/,this.local.name);return a},toMonthIndex:function(a,s,c){var h=this.intercalaryMonth(a),p=c&&s!==h;if(p||s<1||s>12)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var d;return h?!c&&s<=h?d=s-1:d=s:d=s-1,d},toChineseMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a),h=c?12:11;if(s<0||s>h)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var p;return c?s>13;return c},isIntercalaryMonth:function(a,s){a.year&&(a=a.year(),s=a.month());var c=this.intercalaryMonth(a);return!!c&&c===s},leapYear:function(a){return this.intercalaryMonth(a)!==0},weekOfYear:function(a,s,c){var h=this._validateYear(a,Z.local.invalidyear),p=o[h-o[0]],d=p>>9&4095,T=p>>5&15,l=p&31,_;_=g.newDate(d,T,l),_.add(4-(_.dayOfWeek()||7),\"d\");var w=this.toJD(a,s,c)-_.toJD();return 1+Math.floor(w/7)},monthsInYear:function(a){return this.leapYear(a)?13:12},daysInMonth:function(a,s){a.year&&(s=a.month(),a=a.year()),a=this._validateYear(a);var c=r[a-r[0]],h=c>>13,p=h?12:11;if(s>p)throw Z.local.invalidMonth.replace(/\\{0\\}/,this.local.name);var d=c&1<<12-s?30:29;return d},weekDay:function(a,s,c){return(this.dayOfWeek(a,s,c)||7)<6},toJD:function(a,s,c){var h=this._validate(a,d,c,Z.local.invalidDate);a=this._validateYear(h.year()),s=h.month(),c=h.day();var p=this.isIntercalaryMonth(a,s),d=this.toChineseMonth(a,s),T=i(a,d,c,p);return g.toJD(T.year,T.month,T.day)},fromJD:function(a){var s=g.fromJD(a),c=n(s.year(),s.month(),s.day()),h=this.toMonthIndex(c.year,c.month,c.isIntercalary);return this.newDate(c.year,h,c.day)},fromString:function(a){var s=a.match(A),c=this._validateYear(+s[1]),h=+s[2],p=!!s[3],d=this.toMonthIndex(c,h,p),T=+s[4];return this.newDate(c,d,T)},add:function(a,s,c){var h=a.year(),p=a.month(),d=this.isIntercalaryMonth(h,p),T=this.toChineseMonth(h,p),l=Object.getPrototypeOf(x.prototype).add.call(this,a,s,c);if(c===\"y\"){var _=l.year(),w=l.month(),M=this.isIntercalaryMonth(_,T),E=d&&M?this.toMonthIndex(_,T,!0):this.toMonthIndex(_,T,!1);E!==w&&l.month(E)}return l}});var A=/^\\s*(-?\\d\\d\\d\\d|\\d\\d)[-/](\\d?\\d)([iI]?)[-/](\\d?\\d)/m,S=/^\\d?\\d[iI]?/m,e=/^闰?十?[一二三四五六七八九]?月/m,t=/^闰?十?[一二三四五六七八九]?/m;Z.calendars.chinese=x;var r=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],o=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function n(a,s,c,h){var p,d;if(typeof a==\"object\")p=a,d=s||{};else{var T=typeof a==\"number\"&&a>=1888&&a<=2111;if(!T)throw new Error(\"Solar year outside range 1888-2111\");var l=typeof s==\"number\"&&s>=1&&s<=12;if(!l)throw new Error(\"Solar month outside range 1 - 12\");var _=typeof c==\"number\"&&c>=1&&c<=31;if(!_)throw new Error(\"Solar day outside range 1 - 31\");p={year:a,month:s,day:c},d=h||{}}var w=o[p.year-o[0]],M=p.year<<9|p.month<<5|p.day;d.year=M>=w?p.year:p.year-1,w=o[d.year-o[0]];var E=w>>9&4095,m=w>>5&15,b=w&31,v,u=new Date(E,m-1,b),y=new Date(p.year,p.month-1,p.day);v=Math.round((y-u)/(24*3600*1e3));var f=r[d.year-r[0]],P;for(P=0;P<13;P++){var L=f&1<<12-P?30:29;if(v>13;return!z||P=1888&&a<=2111;if(!l)throw new Error(\"Lunar year outside range 1888-2111\");var _=typeof s==\"number\"&&s>=1&&s<=12;if(!_)throw new Error(\"Lunar month outside range 1 - 12\");var w=typeof c==\"number\"&&c>=1&&c<=30;if(!w)throw new Error(\"Lunar day outside range 1 - 30\");var M;typeof h==\"object\"?(M=!1,d=h):(M=!!h,d=p||{}),T={year:a,month:s,day:c,isIntercalary:M}}var E;E=T.day-1;var m=r[T.year-r[0]],b=m>>13,v;b&&(T.month>b||T.isIntercalary)?v=T.month:v=T.month-1;for(var u=0;u>9&4095,L=f>>5&15,z=f&31,F=new Date(P,L-1,z+E);return d.year=F.getFullYear(),d.month=1+F.getMonth(),d.day=F.getDate(),d}}}),AF=ke({\"node_modules/world-calendars/dist/calendars/coptic.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Coptic\",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Coptic\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Thout\",\"Paopi\",\"Hathor\",\"Koiak\",\"Tobi\",\"Meshir\",\"Paremhat\",\"Paremoude\",\"Pashons\",\"Paoni\",\"Epip\",\"Mesori\",\"Pi Kogi Enavot\"],monthNamesShort:[\"Tho\",\"Pao\",\"Hath\",\"Koi\",\"Tob\",\"Mesh\",\"Pat\",\"Pad\",\"Pash\",\"Pao\",\"Epi\",\"Meso\",\"PiK\"],dayNames:[\"Tkyriaka\",\"Pesnau\",\"Pshoment\",\"Peftoou\",\"Ptiou\",\"Psoou\",\"Psabbaton\"],dayNamesShort:[\"Tky\",\"Pes\",\"Psh\",\"Pef\",\"Pti\",\"Pso\",\"Psa\"],dayNamesMin:[\"Tk\",\"Pes\",\"Psh\",\"Pef\",\"Pt\",\"Pso\",\"Psa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.coptic=g}}),MF=ke({\"node_modules/world-calendars/dist/calendars/discworld.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Discworld\",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Discworld\",epochs:[\"BUC\",\"UC\"],monthNames:[\"Ick\",\"Offle\",\"February\",\"March\",\"April\",\"May\",\"June\",\"Grune\",\"August\",\"Spune\",\"Sektober\",\"Ember\",\"December\"],monthNamesShort:[\"Ick\",\"Off\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Gru\",\"Aug\",\"Spu\",\"Sek\",\"Emb\",\"Dec\"],dayNames:[\"Sunday\",\"Octeday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Oct\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Oc\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:2,isRTL:!1}},leapYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),!1},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),13},daysInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),400},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/8)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return(t.day()+1)%8},weekDay:function(A,S,e){var t=this.dayOfWeek(A,S,e);return t>=2&&t<=6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{century:x[Math.floor((t.year()-1)/100)+1]||\"\"}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return A=t.year()+(t.year()<0?1:0),S=t.month(),e=t.day(),e+(S>1?16:0)+(S>2?(S-2)*32:0)+(A-1)*400+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A+.5)-Math.floor(this.jdEpoch)-1;var S=Math.floor(A/400)+1;A-=(S-1)*400,A+=A>15?16:0;var e=Math.floor(A/32)+1,t=A-(e-1)*32+1;return this.newDate(S<=0?S-1:S,e,t)}});var x={20:\"Fruitbat\",21:\"Anchovy\"};Z.calendars.discworld=g}}),SF=ke({\"node_modules/world-calendars/dist/calendars/ethiopian.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Ethiopian\",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Ethiopian\",epochs:[\"BEE\",\"EE\"],monthNames:[\"Meskerem\",\"Tikemet\",\"Hidar\",\"Tahesas\",\"Tir\",\"Yekatit\",\"Megabit\",\"Miazia\",\"Genbot\",\"Sene\",\"Hamle\",\"Nehase\",\"Pagume\"],monthNamesShort:[\"Mes\",\"Tik\",\"Hid\",\"Tah\",\"Tir\",\"Yek\",\"Meg\",\"Mia\",\"Gen\",\"Sen\",\"Ham\",\"Neh\",\"Pag\"],dayNames:[\"Ehud\",\"Segno\",\"Maksegno\",\"Irob\",\"Hamus\",\"Arb\",\"Kidame\"],dayNamesShort:[\"Ehu\",\"Seg\",\"Mak\",\"Iro\",\"Ham\",\"Arb\",\"Kid\"],dayNamesMin:[\"Eh\",\"Se\",\"Ma\",\"Ir\",\"Ha\",\"Ar\",\"Ki\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()+(A.year()<0?1:0);return S%4===3||S%4===-1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===13&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),x<0&&x++,e.day()+(e.month()-1)*30+(x-1)*365+Math.floor(x/4)+this.jdEpoch-1},fromJD:function(x){var A=Math.floor(x)+.5-this.jdEpoch,S=Math.floor((A-Math.floor((A+366)/1461))/365)+1;S<=0&&S--,A=Math.floor(x)+.5-this.newDate(S,1,1).toJD();var e=Math.floor(A/30)+1,t=A-(e-1)*30+1;return this.newDate(S,e,t)}}),Z.calendars.ethiopian=g}}),EF=ke({\"node_modules/world-calendars/dist/calendars/hebrew.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Hebrew\",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{\"\":{name:\"Hebrew\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Nisan\",\"Iyar\",\"Sivan\",\"Tammuz\",\"Av\",\"Elul\",\"Tishrei\",\"Cheshvan\",\"Kislev\",\"Tevet\",\"Shevat\",\"Adar\",\"Adar II\"],monthNamesShort:[\"Nis\",\"Iya\",\"Siv\",\"Tam\",\"Av\",\"Elu\",\"Tis\",\"Che\",\"Kis\",\"Tev\",\"She\",\"Ada\",\"Ad2\"],dayNames:[\"Yom Rishon\",\"Yom Sheni\",\"Yom Shlishi\",\"Yom Revi'i\",\"Yom Chamishi\",\"Yom Shishi\",\"Yom Shabbat\"],dayNamesShort:[\"Ris\",\"She\",\"Shl\",\"Rev\",\"Cha\",\"Shi\",\"Sha\"],dayNamesMin:[\"Ri\",\"She\",\"Shl\",\"Re\",\"Ch\",\"Shi\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this._leapYear(S.year())},_leapYear:function(A){return A=A<0?A+1:A,x(A*7+1,19)<7},monthsInYear:function(A){return this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear),this._leapYear(A.year?A.year():A)?13:12},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return A=S.year(),this.toJD(A===-1?1:A+1,7,1)-this.toJD(A,7,1)},daysInMonth:function(A,S){return A.year&&(S=A.month(),A=A.year()),this._validate(A,S,this.minDay,Z.local.invalidMonth),S===12&&this.leapYear(A)||S===8&&x(this.daysInYear(A),10)===5?30:S===9&&x(this.daysInYear(A),10)===3?29:this.daysPerMonth[S-1]},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==6},extraInfo:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);return{yearType:(this.leapYear(t)?\"embolismic\":\"common\")+\" \"+[\"deficient\",\"regular\",\"complete\"][this.daysInYear(t)%10-3]}},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A<=0?A+1:A,o=this.jdEpoch+this._delay1(r)+this._delay2(r)+e+1;if(S<7){for(var n=7;n<=this.monthsInYear(A);n++)o+=this.daysInMonth(A,n);for(var n=1;n=this.toJD(S===-1?1:S+1,7,1);)S++;for(var e=Athis.toJD(S,e,this.daysInMonth(S,e));)e++;var t=A-this.toJD(S,e,1)+1;return this.newDate(S,e,t)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.hebrew=g}}),CF=ke({\"node_modules/world-calendars/dist/calendars/islamic.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Islamic\",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Islamic\",epochs:[\"BH\",\"AH\"],monthNames:[\"Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' al-thani\",\"Jumada al-awwal\",\"Jumada al-thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-ahad\",\"Yawm al-ithnayn\",\"Yawm ath-thulaathaa'\",\"Yawm al-arbi'aa'\",\"Yawm al-kham\\u012Bs\",\"Yawm al-jum'a\",\"Yawm as-sabt\"],dayNamesShort:[\"Aha\",\"Ith\",\"Thu\",\"Arb\",\"Kha\",\"Jum\",\"Sab\"],dayNamesMin:[\"Ah\",\"It\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);return(A.year()*11+14)%30<11},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){return this.leapYear(x)?355:354},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===12&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==5},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x=x<=0?x+1:x,S+Math.ceil(29.5*(A-1))+(x-1)*354+Math.floor((3+11*x)/30)+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x)+.5;var A=Math.floor((30*(x-this.jdEpoch)+10646)/10631);A=A<=0?A-1:A;var S=Math.min(12,Math.ceil((x-29-this.toJD(A,1,1))/29.5)+1),e=x-this.toJD(A,S,1)+1;return this.newDate(A,S,e)}}),Z.calendars.islamic=g}}),kF=ke({\"node_modules/world-calendars/dist/calendars/julian.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Julian\",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Julian\",epochs:[\"BC\",\"AD\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm/dd/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(S){var A=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),S=A.year()<0?A.year()+1:A.year();return S%4===0},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(4-(e.dayOfWeek()||7),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInMonth:function(x,A){var S=this._validate(x,A,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[S.month()-1]+(S.month()===2&&this.leapYear(S.year())?1:0)},weekDay:function(x,A,S){return(this.dayOfWeek(x,A,S)||7)<6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);return x=e.year(),A=e.month(),S=e.day(),x<0&&x++,A<=2&&(x--,A+=12),Math.floor(365.25*(x+4716))+Math.floor(30.6001*(A+1))+S-1524.5},fromJD:function(x){var A=Math.floor(x+.5),S=A+1524,e=Math.floor((S-122.1)/365.25),t=Math.floor(365.25*e),r=Math.floor((S-t)/30.6001),o=r-Math.floor(r<14?1:13),n=e-Math.floor(o>2?4716:4715),i=S-t-Math.floor(30.6001*r);return n<=0&&n--,this.newDate(n,o,i)}}),Z.calendars.julian=g}}),LF=ke({\"node_modules/world-calendars/dist/calendars/mayan.js\"(){var Z=Yh(),H=Rf();function g(S){this.local=this.regionalOptions[S||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Mayan\",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{\"\":{name:\"Mayan\",epochs:[\"\",\"\"],monthNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],monthNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],dayNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesMin:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],digits:null,dateFormat:\"YYYY.m.d\",firstDay:0,isRTL:!1,haabMonths:[\"Pop\",\"Uo\",\"Zip\",\"Zotz\",\"Tzec\",\"Xul\",\"Yaxkin\",\"Mol\",\"Chen\",\"Yax\",\"Zac\",\"Ceh\",\"Mac\",\"Kankin\",\"Muan\",\"Pax\",\"Kayab\",\"Cumku\",\"Uayeb\"],tzolkinMonths:[\"Imix\",\"Ik\",\"Akbal\",\"Kan\",\"Chicchan\",\"Cimi\",\"Manik\",\"Lamat\",\"Muluc\",\"Oc\",\"Chuen\",\"Eb\",\"Ben\",\"Ix\",\"Men\",\"Cib\",\"Caban\",\"Etznab\",\"Cauac\",\"Ahau\"]}},leapYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),!1},formatYear:function(S){var e=this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear);S=e.year();var t=Math.floor(S/400);S=S%400,S+=S<0?400:0;var r=Math.floor(S/20);return t+\".\"+r+\".\"+S%20},forYear:function(S){if(S=S.split(\".\"),S.length<3)throw\"Invalid Mayan year\";for(var e=0,t=0;t19||t>0&&r<0)throw\"Invalid Mayan year\";e=e*20+r}return e},monthsInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),18},weekOfYear:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),0},daysInYear:function(S){return this._validate(S,this.minMonth,this.minDay,Z.local.invalidYear),360},daysInMonth:function(S,e){return this._validate(S,e,this.minDay,Z.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()},weekDay:function(S,e,t){return this._validate(S,e,t,Z.local.invalidDate),!0},extraInfo:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate),o=r.toJD(),n=this._toHaab(o),i=this._toTzolkin(o);return{haabMonthName:this.local.haabMonths[n[0]-1],haabMonth:n[0],haabDay:n[1],tzolkinDayName:this.local.tzolkinMonths[i[0]-1],tzolkinDay:i[0],tzolkinTrecena:i[1]}},_toHaab:function(S){S-=this.jdEpoch;var e=x(S+8+17*20,365);return[Math.floor(e/20)+1,x(e,20)]},_toTzolkin:function(S){return S-=this.jdEpoch,[A(S+20,20),A(S+4,13)]},toJD:function(S,e,t){var r=this._validate(S,e,t,Z.local.invalidDate);return r.day()+r.month()*20+r.year()*360+this.jdEpoch},fromJD:function(S){S=Math.floor(S)+.5-this.jdEpoch;var e=Math.floor(S/360);S=S%360,S+=S<0?360:0;var t=Math.floor(S/20),r=S%20;return this.newDate(e,t,r)}});function x(S,e){return S-e*Math.floor(S/e)}function A(S,e){return x(S-1,e)+1}Z.calendars.mayan=g}}),PF=ke({\"node_modules/world-calendars/dist/calendars/nanakshahi.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar;var x=Z.instance(\"gregorian\");H(g.prototype,{name:\"Nanakshahi\",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Nanakshahi\",epochs:[\"BN\",\"AN\"],monthNames:[\"Chet\",\"Vaisakh\",\"Jeth\",\"Harh\",\"Sawan\",\"Bhadon\",\"Assu\",\"Katak\",\"Maghar\",\"Poh\",\"Magh\",\"Phagun\"],monthNamesShort:[\"Che\",\"Vai\",\"Jet\",\"Har\",\"Saw\",\"Bha\",\"Ass\",\"Kat\",\"Mgr\",\"Poh\",\"Mgh\",\"Pha\"],dayNames:[\"Somvaar\",\"Mangalvar\",\"Budhvaar\",\"Veervaar\",\"Shukarvaar\",\"Sanicharvaar\",\"Etvaar\"],dayNamesShort:[\"Som\",\"Mangal\",\"Budh\",\"Veer\",\"Shukar\",\"Sanichar\",\"Et\"],dayNamesMin:[\"So\",\"Ma\",\"Bu\",\"Ve\",\"Sh\",\"Sa\",\"Et\"],digits:null,dateFormat:\"dd-mm-yyyy\",firstDay:0,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear||Z.regionalOptions[\"\"].invalidYear);return x.leapYear(S.year()+(S.year()<1?1:0)+1469)},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(1-(t.dayOfWeek()||7),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidMonth),r=t.year();r<0&&r++;for(var o=t.day(),n=1;n=this.toJD(S+1,1,1);)S++;for(var e=A-Math.floor(this.toJD(S,1,1)+.5)+1,t=1;e>this.daysInMonth(S,t);)e-=this.daysInMonth(S,t),t++;return this.newDate(S,t,e)}}),Z.calendars.nanakshahi=g}}),IF=ke({\"node_modules/world-calendars/dist/calendars/nepali.js\"(){var Z=Yh(),H=Rf();function g(x){this.local=this.regionalOptions[x||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Nepali\",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{\"\":{name:\"Nepali\",epochs:[\"BBS\",\"ABS\"],monthNames:[\"Baisakh\",\"Jestha\",\"Ashadh\",\"Shrawan\",\"Bhadra\",\"Ashwin\",\"Kartik\",\"Mangsir\",\"Paush\",\"Mangh\",\"Falgun\",\"Chaitra\"],monthNamesShort:[\"Bai\",\"Je\",\"As\",\"Shra\",\"Bha\",\"Ash\",\"Kar\",\"Mang\",\"Pau\",\"Ma\",\"Fal\",\"Chai\"],dayNames:[\"Aaitabaar\",\"Sombaar\",\"Manglbaar\",\"Budhabaar\",\"Bihibaar\",\"Shukrabaar\",\"Shanibaar\"],dayNamesShort:[\"Aaita\",\"Som\",\"Mangl\",\"Budha\",\"Bihi\",\"Shukra\",\"Shani\"],dayNamesMin:[\"Aai\",\"So\",\"Man\",\"Bu\",\"Bi\",\"Shu\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:1,isRTL:!1}},leapYear:function(x){return this.daysInYear(x)!==this.daysPerYear},weekOfYear:function(x,A,S){var e=this.newDate(x,A,S);return e.add(-e.dayOfWeek(),\"d\"),Math.floor((e.dayOfYear()-1)/7)+1},daysInYear:function(x){var A=this._validate(x,this.minMonth,this.minDay,Z.local.invalidYear);if(x=A.year(),typeof this.NEPALI_CALENDAR_DATA[x]>\"u\")return this.daysPerYear;for(var S=0,e=this.minMonth;e<=12;e++)S+=this.NEPALI_CALENDAR_DATA[x][e];return S},daysInMonth:function(x,A){return x.year&&(A=x.month(),x=x.year()),this._validate(x,A,this.minDay,Z.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[x]>\"u\"?this.daysPerMonth[A-1]:this.NEPALI_CALENDAR_DATA[x][A]},weekDay:function(x,A,S){return this.dayOfWeek(x,A,S)!==6},toJD:function(x,A,S){var e=this._validate(x,A,S,Z.local.invalidDate);x=e.year(),A=e.month(),S=e.day();var t=Z.instance(),r=0,o=A,n=x;this._createMissingCalendarData(x);var i=x-(o>9||o===9&&S>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(A!==9&&(r=S,o--);o!==9;)o<=0&&(o=12,n--),r+=this.NEPALI_CALENDAR_DATA[n][o],o--;return A===9?(r+=S-this.NEPALI_CALENDAR_DATA[n][0],r<0&&(r+=t.daysInYear(i))):r+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],t.newDate(i,1,1).add(r,\"d\").toJD()},fromJD:function(x){var A=Z.instance(),S=A.fromJD(x),e=S.year(),t=S.dayOfYear(),r=e+56;this._createMissingCalendarData(r);for(var o=9,n=this.NEPALI_CALENDAR_DATA[r][0],i=this.NEPALI_CALENDAR_DATA[r][o]-n+1;t>i;)o++,o>12&&(o=1,r++),i+=this.NEPALI_CALENDAR_DATA[r][o];var a=this.NEPALI_CALENDAR_DATA[r][o]-(i-t);return this.newDate(r,o,a)},_createMissingCalendarData:function(x){var A=this.daysPerMonth.slice(0);A.unshift(17);for(var S=x-1;S\"u\"&&(this.NEPALI_CALENDAR_DATA[S]=A)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),Z.calendars.nepali=g}}),RF=ke({\"node_modules/world-calendars/dist/calendars/persian.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"Persian\",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Persian\",epochs:[\"BP\",\"AP\"],monthNames:[\"Farvardin\",\"Ordibehesht\",\"Khordad\",\"Tir\",\"Mordad\",\"Shahrivar\",\"Mehr\",\"Aban\",\"Azar\",\"Day\",\"Bahman\",\"Esfand\"],monthNamesShort:[\"Far\",\"Ord\",\"Kho\",\"Tir\",\"Mor\",\"Sha\",\"Meh\",\"Aba\",\"Aza\",\"Day\",\"Bah\",\"Esf\"],dayNames:[\"Yekshambe\",\"Doshambe\",\"Seshambe\",\"Ch\\xE6harshambe\",\"Panjshambe\",\"Jom'e\",\"Shambe\"],dayNamesShort:[\"Yek\",\"Do\",\"Se\",\"Ch\\xE6\",\"Panj\",\"Jom\",\"Sha\"],dayNamesMin:[\"Ye\",\"Do\",\"Se\",\"Ch\",\"Pa\",\"Jo\",\"Sh\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return((S.year()-(S.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-((t.dayOfWeek()+1)%7),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===12&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate);A=t.year(),S=t.month(),e=t.day();var r=A-(A>=0?474:473),o=474+x(r,2820);return e+(S<=7?(S-1)*31:(S-1)*30+6)+Math.floor((o*682-110)/2816)+(o-1)*365+Math.floor(r/2820)*1029983+this.jdEpoch-1},fromJD:function(A){A=Math.floor(A)+.5;var S=A-this.toJD(475,1,1),e=Math.floor(S/1029983),t=x(S,1029983),r=2820;if(t!==1029982){var o=Math.floor(t/366),n=x(t,366);r=Math.floor((2134*o+2816*n+2815)/1028522)+o+1}var i=r+2820*e+474;i=i<=0?i-1:i;var a=A-this.toJD(i,1,1)+1,s=a<=186?Math.ceil(a/31):Math.ceil((a-6)/30),c=A-this.toJD(i,s,1)+1;return this.newDate(i,s,c)}});function x(A,S){return A-S*Math.floor(A/S)}Z.calendars.persian=g,Z.calendars.jalali=g}}),DF=ke({\"node_modules/world-calendars/dist/calendars/taiwan.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Taiwan\",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Taiwan\",epochs:[\"BROC\",\"ROC\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)},_g2tYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)}}),Z.calendars.taiwan=x}}),zF=ke({\"node_modules/world-calendars/dist/calendars/thai.js\"(){var Z=Yh(),H=Rf(),g=Z.instance();function x(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}x.prototype=new Z.baseCalendar,H(x.prototype,{name:\"Thai\",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Thai\",epochs:[\"BBE\",\"BE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var S=this._validate(e,this.minMonth,this.minDay,Z.local.invalidYear),e=this._t2gYear(S.year());return g.leapYear(e)},weekOfYear:function(r,S,e){var t=this._validate(r,this.minMonth,this.minDay,Z.local.invalidYear),r=this._t2gYear(t.year());return g.weekOfYear(r,t.month(),t.day())},daysInMonth:function(A,S){var e=this._validate(A,S,this.minDay,Z.local.invalidMonth);return this.daysPerMonth[e.month()-1]+(e.month()===2&&this.leapYear(e.year())?1:0)},weekDay:function(A,S,e){return(this.dayOfWeek(A,S,e)||7)<6},toJD:function(r,S,e){var t=this._validate(r,S,e,Z.local.invalidDate),r=this._t2gYear(t.year());return g.toJD(r,t.month(),t.day())},fromJD:function(A){var S=g.fromJD(A),e=this._g2tYear(S.year());return this.newDate(e,S.month(),S.day())},_t2gYear:function(A){return A-this.yearsOffset-(A>=1&&A<=this.yearsOffset?1:0)},_g2tYear:function(A){return A+this.yearsOffset+(A>=-this.yearsOffset&&A<=-1?1:0)}}),Z.calendars.thai=x}}),FF=ke({\"node_modules/world-calendars/dist/calendars/ummalqura.js\"(){var Z=Yh(),H=Rf();function g(A){this.local=this.regionalOptions[A||\"\"]||this.regionalOptions[\"\"]}g.prototype=new Z.baseCalendar,H(g.prototype,{name:\"UmmAlQura\",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Umm al-Qura\",epochs:[\"BH\",\"AH\"],monthNames:[\"Al-Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' Al-Thani\",\"Jumada Al-Awwal\",\"Jumada Al-Thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-Ahad\",\"Yawm al-Ithnain\",\"Yawm al-Thal\\u0101th\\u0101\\u2019\",\"Yawm al-Arba\\u2018\\u0101\\u2019\",\"Yawm al-Kham\\u012Bs\",\"Yawm al-Jum\\u2018a\",\"Yawm al-Sabt\"],dayNamesMin:[\"Ah\",\"Ith\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!0}},leapYear:function(A){var S=this._validate(A,this.minMonth,this.minDay,Z.local.invalidYear);return this.daysInYear(S.year())===355},weekOfYear:function(A,S,e){var t=this.newDate(A,S,e);return t.add(-t.dayOfWeek(),\"d\"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(A){for(var S=0,e=1;e<=12;e++)S+=this.daysInMonth(A,e);return S},daysInMonth:function(A,S){for(var e=this._validate(A,S,this.minDay,Z.local.invalidMonth),t=e.toJD()-24e5+.5,r=0,o=0;ot)return x[r]-x[r-1];r++}return 30},weekDay:function(A,S,e){return this.dayOfWeek(A,S,e)!==5},toJD:function(A,S,e){var t=this._validate(A,S,e,Z.local.invalidDate),r=12*(t.year()-1)+t.month()-15292,o=t.day()+x[r-1]-1;return o+24e5-.5},fromJD:function(A){for(var S=A-24e5+.5,e=0,t=0;tS);t++)e++;var r=e+15292,o=Math.floor((r-1)/12),n=o+1,i=r-12*o,a=S-x[e-1]+1;return this.newDate(n,i,a)},isValid:function(A,S,e){var t=Z.baseCalendar.prototype.isValid.apply(this,arguments);return t&&(A=A.year!=null?A.year:A,t=A>=1276&&A<=1500),t},_validate:function(A,S,e,t){var r=Z.baseCalendar.prototype._validate.apply(this,arguments);if(r.year<1276||r.year>1500)throw t.replace(/\\{0\\}/,this.local.name);return r}}),Z.calendars.ummalqura=g;var x=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]}}),OF=ke({\"src/components/calendars/calendars.js\"(Z,H){\"use strict\";H.exports=Yh(),wF(),TF(),AF(),MF(),SF(),EF(),CF(),kF(),LF(),PF(),IF(),RF(),DF(),zF(),FF()}}),BF=ke({\"src/components/calendars/index.js\"(Z,H){\"use strict\";var g=OF(),x=un(),A=Hi(),S=A.EPOCHJD,e=A.ONEDAY,t={valType:\"enumerated\",values:x.sortObjectKeys(g.calendars),editType:\"calc\",dflt:\"gregorian\"},r=function(m,b,v,u){var y={};return y[v]=t,x.coerce(m,b,y,v,u)},o=function(m,b,v,u){for(var y=0;y0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)<0?(Vn=ms+1,Bi-=Oa+1):Bi=Oa}return Vn}Je.lowerBound=Cr;function Kr(Ii,Ki,$n,Kn,Yn){Kn===void 0&&(Kn=0),Yn===void 0&&(Yn=-1);var Hi=Ii.length;if(Hi===0)return 0;Kn<0?Kn=Math.max(0,Kn+Hi):Kn=Math.min(Kn,Hi-1),Yn<0?Yn=Math.max(0,Yn+Hi):Yn=Math.min(Yn,Hi-1);for(var Vn=Kn,Bi=Yn-Kn+1;Bi>0;){var Oa=Bi>>1,ms=Vn+Oa;$n(Ii[ms],Ki)>0?Bi=Oa:(Vn=ms+1,Bi-=Oa+1)}return Vn}Je.upperBound=Kr;function Qr(Ii,Ki,$n){if(Ii===Ki)return!0;if(Ii.length!==Ki.length)return!1;for(var Kn=0,Yn=Ii.length;Kn=Hi&&($n=Yn<0?Hi-1:Hi),Kn===void 0?Kn=Yn<0?-1:Hi:Kn<0?Kn=Math.max(Kn+Hi,Yn<0?-1:0):Kn>=Hi&&(Kn=Yn<0?Hi-1:Hi);var Vn;Yn<0&&Kn>=$n||Yn>0&&$n>=Kn?Vn=0:Yn<0?Vn=Math.floor((Kn-$n+1)/Yn+1):Vn=Math.floor((Kn-$n-1)/Yn+1);for(var Bi=[],Oa=0;Oa=Kn))){var Hi=Kn-$n+1;if(Ki>0?Ki=Ki%Hi:Ki<0&&(Ki=(Ki%Hi+Hi)%Hi),Ki!==0){var Vn=$n+Ki;an(Ii,$n,Vn-1),an(Ii,Vn,Kn),an(Ii,$n,Kn)}}}Je.rotate=Jr;function Er(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn!==0){$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);var Hi;Kn<$n?Hi=Kn+1+(Yn-$n):Hi=Kn-$n+1;for(var Vn=0;VnKi;--Yn)Ii[Yn]=Ii[Yn-1];Ii[Ki]=$n}Je.insert=ke;function Pn(Ii,Ki){var $n=Ii.length;if(Ki<0&&(Ki+=$n),!(Ki<0||Ki>=$n)){for(var Kn=Ii[Ki],Yn=Ki+1;Yn<$n;++Yn)Ii[Yn-1]=Ii[Yn];return Ii.length=$n-1,Kn}}Je.removeAt=Pn;function Ti(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=ze(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeFirstOf=Ti;function Ei(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn=_e(Ii,Ki,$n,Kn);return Yn!==-1&&Pn(Ii,Yn),Yn}Je.removeLastOf=Ei;function hi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ii[Vn]===Ki||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ii[Vn]===Ki?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllOf=hi;function Xi(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn,Hi=De(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeFirstWhere=Xi;function ra(Ii,Ki,$n,Kn){$n===void 0&&($n=-1),Kn===void 0&&(Kn=0);var Yn,Hi=Mt(Ii,Ki,$n,Kn);return Hi!==-1&&(Yn=Pn(Ii,Hi)),{index:Hi,value:Yn}}Je.removeLastWhere=ra;function _i(Ii,Ki,$n,Kn){$n===void 0&&($n=0),Kn===void 0&&(Kn=-1);var Yn=Ii.length;if(Yn===0)return 0;$n<0?$n=Math.max(0,$n+Yn):$n=Math.min($n,Yn-1),Kn<0?Kn=Math.max(0,Kn+Yn):Kn=Math.min(Kn,Yn-1);for(var Hi=0,Vn=0;Vn=$n&&Vn<=Kn&&Ki(Ii[Vn],Vn)||Kn<$n&&(Vn<=Kn||Vn>=$n)&&Ki(Ii[Vn],Vn)?Hi++:Hi>0&&(Ii[Vn-Hi]=Ii[Vn]);return Hi>0&&(Ii.length=Yn-Hi),Hi}Je.removeAllWhere=_i})(Wa||(Wa={}));function Pd(Je){var ze;return typeof Je.iter==\"function\"?ze=Je.iter():ze=new IO(Je),ze}function Os(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++)===!1)return}function LS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(!ze(Mt,_e++))return!1;return!0}function PS(Je,ze){for(var _e=0,De=Pd(Je),Mt;(Mt=De.next())!==void 0;)if(ze(Mt,_e++))return!0;return!1}function IS(Je){for(var ze=0,_e=[],De=Pd(Je),Mt;(Mt=De.next())!==void 0;)_e[ze++]=Mt;return _e}var IO=function(){function Je(ze){this._index=0,this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},Je}(),QO=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?ze:this.next()}},Je}(),eB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?this._source[ze]:this.next()}},Je}(),tB=function(){function Je(ze,_e){_e===void 0&&(_e=Object.keys(ze)),this._index=0,this._source=ze,this._keys=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source,this._keys);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._keys.length)){var ze=this._keys[this._index++];return ze in this._source?[ze,this._source[ze]]:this.next()}},Je}(),rB=function(){function Je(ze){this._fn=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){throw new Error(\"An `FnIterator` cannot be cloned.\")},Je.prototype.next=function(){return this._fn.call(void 0)},Je}();function pw(){for(var Je=[],ze=0;ze0&&(Mt=De);return Mt}}function Ap(Je,ze){return new zO(Pd(Je),ze)}var zO=function(){function Je(ze,_e){this._index=0,this._source=ze,this._fn=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._source.clone(),this._fn);return ze._index=this._index,ze},Je.prototype.next=function(){var ze=this._source.next();if(ze!==void 0)return this._fn.call(void 0,ze,this._index++)},Je}();var iB=function(){function Je(ze,_e,De){this._index=0,this._start=ze,this._stop=_e,this._step=De,this._length=vw.rangeLength(ze,_e,De)}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){var ze=new Je(this._start,this._stop,this._step);return ze._index=this._index,ze},Je.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},Je}(),vw;(function(Je){function ze(_e,De,Mt){return Mt===0?1/0:_e>De&&Mt>0||_e=this._source.length))return this._source[this._index--]},Je}();var aB=function(){function Je(ze,_e){this._source=ze,this._step=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._step)},Je.prototype.next=function(){for(var ze=this._source.next(),_e=this._step-1;_e>0;--_e)this._source.next();return ze},Je}(),Lg;(function(Je){function ze(ir,Cr,Kr){Kr===void 0&&(Kr=0);for(var Qr=new Array(Cr.length),bn=0,In=Kr,an=Cr.length;bnCr?1:0}Je.cmp=jt})(Lg||(Lg={}));var oB=function(){function Je(ze,_e){this._source=ze,this._count=_e}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.clone(),this._count)},Je.prototype.next=function(){if(!(this._count<=0)){var ze=this._source.next();if(ze!==void 0)return this._count--,ze}},Je}();var sB=function(){function Je(ze){this._source=ze}return Je.prototype.iter=function(){return this},Je.prototype.clone=function(){return new Je(this._source.map(function(ze){return ze.clone()}))},Je.prototype.next=function(){for(var ze=new Array(this._source.length),_e=0,De=this._source.length;_e=Kr.left&&ir=Kr.top&&Cr=Cr.bottom)){if(Kr.topCr.bottom&&Kr.height>=Cr.height){jt.scrollTop-=Cr.top-Kr.top;return}if(Kr.topCr.height){jt.scrollTop-=Cr.bottom-Kr.bottom;return}if(Kr.bottom>Cr.bottom&&Kr.height0;){if(Er(_e)){In++;continue}if(Er(De)){an++;continue}if(Er(Mt)){an++;continue}if(Er(ir)){Jr++;continue}if(Er(Cr)){an++;continue}if(Er(jt)){Jr++;continue}if(!Er(Kr))return 0}return In=Math.min(In,255),an=Math.min(an,255),Jr=Math.min(Jr,255),In<<16|an<<8|Jr}Je.calculateSingle=ze;var _e=/^#[^\\s\\+>~#\\.\\[:]+/,De=/^\\.[^\\s\\+>~#\\.\\[:]+/,Mt=/^\\[[^\\]]+\\]/,jt=/^[^\\s\\+>~#\\.\\[:]+/,ir=/^(::[^\\s\\+>~#\\.\\[:]+|:first-line|:first-letter|:before|:after)/,Cr=/^:[^\\s\\+>~#\\.\\[:]+/,Kr=/^[\\s\\+>~\\*]+/,Qr=/:not\\(([^\\)]+)\\)/g})(av||(av={}));var OS=function(){function Je(ze){this._root=new Xf.LeafNode,this.cmp=ze}return Object.defineProperty(Je.prototype,\"isEmpty\",{get:function(){return this._root.size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"size\",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"first\",{get:function(){var ze=Xf.firstLeaf(this._root);return ze.size>0?ze.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"last\",{get:function(){var ze=Xf.lastLeaf(this._root);return ze.size>0?ze.items[ze.size-1]:void 0},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return Xf.iterItems(this._root)},Je.prototype.retro=function(){return Xf.retroItems(this._root)},Je.prototype.slice=function(ze,_e){return Xf.sliceItems(this._root,ze,_e)},Je.prototype.retroSlice=function(ze,_e){return Xf.retroSliceItems(this._root,ze,_e)},Je.prototype.at=function(ze){return Xf.itemAt(this._root,ze)},Je.prototype.has=function(ze,_e){return Xf.hasItem(this._root,ze,_e)},Je.prototype.indexOf=function(ze,_e){return Xf.indexOf(this._root,ze,_e)},Je.prototype.get=function(ze,_e){return Xf.getItem(this._root,ze,_e)},Je.prototype.assign=function(ze){this.clear(),this.update(ze)},Je.prototype.insert=function(ze){var _e=Xf.insertItem(this._root,ze,this.cmp);return this._root=Xf.maybeSplitRoot(this._root),_e},Je.prototype.update=function(ze){var _e=this;Os(ze,function(De){_e.insert(De)})},Je.prototype.delete=function(ze,_e){var De=Xf.deleteItem(this._root,ze,_e);return this._root=Xf.maybeExtractRoot(this._root),De},Je.prototype.remove=function(ze){var _e=Xf.removeItem(this._root,ze);return this._root=Xf.maybeExtractRoot(this._root),_e},Je.prototype.clear=function(){Xf.clear(this._root),this._root=new Xf.LeafNode},Je}();(function(Je){function ze(_e,De){var Mt=new Je(De);return Mt.assign(_e),Mt}Je.from=ze})(OS||(OS={}));var Xf;(function(Je){var ze=function(){function Vn(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(Vn.prototype,\"type\",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"size\",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"width\",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Vn}();Je.BranchNode=ze;var _e=function(){function Vn(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(Vn.prototype,\"type\",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"size\",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(Vn.prototype,\"width\",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Vn}();Je.LeafNode=_e;function De(Vn){for(;Vn.type===0;)Vn=Vn.children[0];return Vn}Je.firstLeaf=De;function Mt(Vn){for(;Vn.type===0;)Vn=Vn.children[Vn.children.length-1];return Vn}Je.lastLeaf=Mt;function jt(Vn){var Bi=De(Vn);return new ra(Bi,0,-1)}Je.iterItems=jt;function ir(Vn){var Bi=Mt(Vn);return new _i(Bi,Bi.size-1,-1)}Je.retroItems=ir;function Cr(Vn,Bi,Oa){Bi===void 0?Bi=0:Bi<0?Bi=Math.max(0,Bi+Vn.size):Bi=Math.min(Bi,Vn.size),Oa===void 0?Oa=Vn.size:Oa<0?Oa=Math.max(0,Oa+Vn.size):Oa=Math.min(Oa,Vn.size);var ms=Math.max(0,Oa-Bi);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new ra(Vn,Bi,ms)}Je.sliceItems=Cr;function Kr(Vn,Bi,Oa){Bi===void 0?Bi=Vn.size-1:Bi<0?Bi=Math.max(-1,Bi+Vn.size):Bi=Math.min(Bi,Vn.size-1),Oa===void 0?Oa=-1:Oa<0?Oa=Math.max(-1,Oa+Vn.size):Oa=Math.min(Oa,Vn.size-1);var ms=Math.max(0,Bi-Oa);if(ms===0)return Id();for(;Vn.type===0;){var Is=Ii(Vn.sizes,Bi);Is>0&&(Bi-=Vn.sizes[Is-1]),Vn=Vn.children[Is]}return new _i(Vn,Bi,ms)}Je.retroSliceItems=Kr;function Qr(Vn,Bi){if(Bi<0&&(Bi+=Vn.size),!(Bi<0||Bi>=Vn.size)){for(;Vn.type===0;){var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa-1]),Vn=Vn.children[Oa]}return Vn.items[Bi]}}Je.itemAt=Qr;function bn(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0}Je.hasItem=bn;function In(Vn,Bi,Oa){for(var ms=0;Vn.type===0;){var Is=Ki(Vn.items,Bi,Oa);Is>0&&(ms+=Vn.sizes[Is-1]),Vn=Vn.children[Is]}var Cu=$n(Vn.items,Bi,Oa);return Cu>=0?ms+Cu:-ms+Cu}Je.indexOf=In;function an(Vn,Bi,Oa){for(;Vn.type===0;){var ms=Ki(Vn.items,Bi,Oa);Vn=Vn.children[ms]}var Is=$n(Vn.items,Bi,Oa);return Is>=0?Vn.items[Is]:void 0}Je.getItem=an;function Jr(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa),Is;return ms>=0?(Is=Vn.items[ms],Vn.items[ms]=Bi):(Is=void 0,Wa.insert(Vn.items,-ms-1,Bi)),Is}var Cu=Ki(Vn.items,Bi,Oa),Zf=Vn.children[Cu],Sd=Zf.size,_f=Jr(Zf,Bi,Oa),ru=Zf.size;if(Vn.items[Cu]=Zf.items[0],Sd===ru)return _f;if(Zf.width>hi){var To=Yn(Zf);Wa.insert(Vn.children,Cu+1,To),Wa.insert(Vn.items,Cu+1,To.items[0])}return Kn(Vn,Cu),_f}Je.insertItem=Jr;function Er(Vn,Bi,Oa){if(Vn.type===1){var ms=$n(Vn.items,Bi,Oa);return ms<0?void 0:Wa.removeAt(Vn.items,ms)}var Is=Ki(Vn.items,Bi,Oa),Cu=Vn.children[Is],Zf=Cu.size,Sd=Er(Cu,Bi,Oa),_f=Cu.size;return Zf===_f||(Vn.items[Is]=Cu.items[0],Cu.width=Vn.size)){if(Vn.type===1)return Wa.removeAt(Vn.items,Bi);var Oa=Ii(Vn.sizes,Bi);Oa>0&&(Bi-=Vn.sizes[Oa]);var ms=Vn.children[Oa],Is=ke(ms,Bi);return Vn.items[Oa]=ms.items[0],ms.width1)return Vn;var Bi=Vn.children.pop();return Pn(Vn),Bi}Je.maybeExtractRoot=Ei;var hi=32,Xi=hi>>1,ra=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},Vn}(),_i=function(){function Vn(Bi,Oa,ms){this._node=Bi,this._index=Oa,this._count=ms}return Vn.prototype.iter=function(){return this},Vn.prototype.clone=function(){return new Vn(this._node,this._index,this._count)},Vn.prototype.next=function(){if(!(this._node===null||this._count===0))return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},Vn}();function Ii(Vn,Bi){for(var Oa=Vn.length,ms=0;msBi)return ms;return Oa-1}function Ki(Vn,Bi,Oa){for(var ms=Vn.length,Is=1;Is0)return Is-1;return ms-1}function $n(Vn,Bi,Oa){for(var ms=Vn.length,Is=0;Is0)return-Is-1}return-ms-1}function Kn(Vn,Bi){for(var Oa=Vn.sizes,ms=Vn.children,Is=Bi>0?Oa[Bi-1]:0,Cu=ms.length;BiXi;if(Il&&Ed&&To){var vl=_f,Jl=ru;return vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Bi}if(Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Bi-1}if(Il&&!Ed&&To){var vl=_f,Jl=ru;return(Oa=Jl.items).unshift.apply(Oa,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),vl.prev&&(vl.prev.next=Jl),Jl.prev=vl.prev,Pn(vl),Bi}if(Il&&!Ed&&!To){var vl=_f,Jl=ru;return(ms=Jl.items).push.apply(ms,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),vl.next&&(vl.next.prev=Jl),Jl.next=vl.next,Pn(vl),Bi-1}if(!Il&&Ed&&To){var vl=_f,Jl=ru;return vl.children.push(Jl.children.shift()),vl.items.push(Jl.items.shift()),Vn.items[Bi+1]=Jl.items[0],Kn(vl,vl.width-1),Kn(Jl,0),Bi}if(!Il&&Ed&&!To){var vl=_f,Jl=ru;return vl.children.unshift(Jl.children.pop()),vl.items.unshift(Jl.items.pop()),Vn.items[Bi]=vl.items[0],Kn(vl,0),Kn(Jl,Jl.width-1),Bi-1}if(!Il&&!Ed&&To){var vl=_f,Jl=ru;return(Is=Jl.children).unshift.apply(Is,vl.children),(Cu=Jl.items).unshift.apply(Cu,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi+1),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi}if(!Il&&!Ed&&!To){var vl=_f,Jl=ru;return(Zf=Jl.children).push.apply(Zf,vl.children),(Sd=Jl.items).push.apply(Sd,vl.items),Wa.removeAt(Vn.children,Bi),Wa.removeAt(Vn.items,Bi),Kn(Jl,0),vl.children.length=0,Pn(vl),Bi-1}throw\"unreachable\"}})(Xf||(Xf={}));var W1=function(){function Je(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(Je.prototype,\"isEmpty\",{get:function(){return this._size===0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"size\",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"length\",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"first\",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"last\",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"firstNode\",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"lastNode\",{get:function(){return this._last},enumerable:!0,configurable:!0}),Je.prototype.iter=function(){return new Je.ForwardValueIterator(this._first)},Je.prototype.retro=function(){return new Je.RetroValueIterator(this._last)},Je.prototype.nodes=function(){return new Je.ForwardNodeIterator(this._first)},Je.prototype.retroNodes=function(){return new Je.RetroNodeIterator(this._last)},Je.prototype.assign=function(ze){var _e=this;this.clear(),Os(ze,function(De){_e.addLast(De)})},Je.prototype.push=function(ze){this.addLast(ze)},Je.prototype.pop=function(){return this.removeLast()},Je.prototype.shift=function(ze){this.addFirst(ze)},Je.prototype.unshift=function(){return this.removeFirst()},Je.prototype.addFirst=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._first?(_e.next=this._first,this._first.prev=_e,this._first=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.addLast=function(ze){var _e=new Xv.LinkedListNode(this,ze);return this._last?(_e.prev=this._last,this._last.next=_e,this._last=_e):(this._first=_e,this._last=_e),this._size++,_e},Je.prototype.insertBefore=function(ze,_e){if(!_e||_e===this._first)return this.addFirst(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error(\"Reference node is not owned by the list.\");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.prev;return De.next=Mt,De.prev=jt,Mt.prev=De,jt.next=De,this._size++,De},Je.prototype.insertAfter=function(ze,_e){if(!_e||_e===this._last)return this.addLast(ze);if(!(_e instanceof Xv.LinkedListNode)||_e.list!==this)throw new Error(\"Reference node is not owned by the list.\");var De=new Xv.LinkedListNode(this,ze),Mt=_e,jt=Mt.next;return De.next=jt,De.prev=Mt,Mt.next=De,jt.prev=De,this._size++,De},Je.prototype.removeFirst=function(){var ze=this._first;if(ze)return ze===this._last?(this._first=null,this._last=null):(this._first=ze.next,this._first.prev=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeLast=function(){var ze=this._last;if(ze)return ze===this._first?(this._first=null,this._last=null):(this._last=ze.prev,this._last.next=null),ze.list=null,ze.next=null,ze.prev=null,this._size--,ze.value},Je.prototype.removeNode=function(ze){if(!(ze instanceof Xv.LinkedListNode)||ze.list!==this)throw new Error(\"Node is not owned by the list.\");var _e=ze;_e===this._first&&_e===this._last?(this._first=null,this._last=null):_e===this._first?(this._first=_e.next,this._first.prev=null):_e===this._last?(this._last=_e.prev,this._last.next=null):(_e.next.prev=_e.prev,_e.prev.next=_e.next),_e.list=null,_e.next=null,_e.prev=null,this._size--},Je.prototype.clear=function(){for(var ze=this._first;ze;){var _e=ze.next;ze.list=null,ze.prev=null,ze.next=null,ze=_e}this._first=null,this._last=null,this._size=0},Je}();(function(Je){function ze(ir){var Cr=new Je;return Cr.assign(ir),Cr}Je.from=ze;var _e=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr.value}},ir}();Je.ForwardValueIterator=_e;var De=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr.value}},ir}();Je.RetroValueIterator=De;var Mt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.next,Cr}},ir}();Je.ForwardNodeIterator=Mt;var jt=function(){function ir(Cr){this._node=Cr}return ir.prototype.iter=function(){return this},ir.prototype.clone=function(){return new ir(this._node)},ir.prototype.next=function(){if(this._node){var Cr=this._node;return this._node=Cr.prev,Cr}},ir}();Je.RetroNodeIterator=jt})(W1||(W1={}));var Xv;(function(Je){var ze=function(){function _e(De,Mt){this.list=null,this.next=null,this.prev=null,this.list=De,this.value=Mt}return _e}();Je.LinkedListNode=ze})(Xv||(Xv={}));var gw=function(Je,ze){return gw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},gw(Je,ze)};function BO(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");gw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Rd=function(){function Je(ze){this.type=ze}return Object.defineProperty(Je.prototype,\"isConflatable\",{get:function(){return!1},enumerable:!0,configurable:!0}),Je.prototype.conflate=function(ze){return!1},Je}(),Ig=function(Je){BO(ze,Je);function ze(){return Je!==null&&Je.apply(this,arguments)||this}return Object.defineProperty(ze.prototype,\"isConflatable\",{get:function(){return!0},enumerable:!0,configurable:!0}),ze.prototype.conflate=function(_e){return!0},ze}(Rd),go;(function(Je){function ze($n,Kn){var Yn=bn.get($n);if(!Yn||Yn.length===0){Ei($n,Kn);return}var Hi=LS(zS(Yn),function(Vn){return Vn?Ti(Vn,$n,Kn):!0});Hi&&Ei($n,Kn)}Je.sendMessage=ze;function _e($n,Kn){if(!Kn.isConflatable){hi($n,Kn);return}var Yn=PS(Qr,function(Hi){return Hi.handler!==$n||!Hi.msg||Hi.msg.type!==Kn.type||!Hi.msg.isConflatable?!1:Hi.msg.conflate(Kn)});Yn||hi($n,Kn)}Je.postMessage=_e;function De($n,Kn){var Yn=bn.get($n);Yn&&Yn.indexOf(Kn)!==-1||(Yn?Yn.push(Kn):bn.set($n,[Kn]))}Je.installMessageHook=De;function Mt($n,Kn){var Yn=bn.get($n);if(Yn){var Hi=Yn.indexOf(Kn);Hi!==-1&&(Yn[Hi]=null,ra(Yn))}}Je.removeMessageHook=Mt;function jt($n){var Kn=bn.get($n);Kn&&Kn.length>0&&(Wa.fill(Kn,null),ra(Kn)),Os(Qr,function(Yn){Yn.handler===$n&&(Yn.handler=null,Yn.msg=null)})}Je.clearData=jt;function ir(){Er||Jr===0||(Pn(Jr),Er=!0,Xi(),Er=!1)}Je.flush=ir;function Cr(){return an}Je.getExceptionHandler=Cr;function Kr($n){var Kn=an;return an=$n,Kn}Je.setExceptionHandler=Kr;var Qr=new W1,bn=new WeakMap,In=new Set,an=function($n){console.error($n)},Jr=0,Er=!1,ke=function(){var $n=typeof requestAnimationFrame==\"function\";return $n?requestAnimationFrame:setImmediate}(),Pn=function(){var $n=typeof cancelAnimationFrame==\"function\";return $n?cancelAnimationFrame:clearImmediate}();function Ti($n,Kn,Yn){var Hi=!0;try{typeof $n==\"function\"?Hi=$n(Kn,Yn):Hi=$n.messageHook(Kn,Yn)}catch(Vn){an(Vn)}return Hi}function Ei($n,Kn){try{$n.processMessage(Kn)}catch(Yn){an(Yn)}}function hi($n,Kn){Qr.addLast({handler:$n,msg:Kn}),Jr===0&&(Jr=ke(Xi))}function Xi(){if(Jr=0,!Qr.isEmpty){var $n={handler:null,msg:null};for(Qr.addLast($n);;){var Kn=Qr.removeFirst();if(Kn===$n)return;Kn.handler&&Kn.msg&&ze(Kn.handler,Kn.msg)}}}function ra($n){In.size===0&&ke(_i),In.add($n)}function _i(){In.forEach(Ii),In.clear()}function Ii($n){Wa.removeAllWhere($n,Ki)}function Ki($n){return $n===null}})(go||(go={}));var vd=function(){function Je(ze){this._pid=Tm.nextPID(),this.name=ze.name,this._create=ze.create,this._coerce=ze.coerce||null,this._compare=ze.compare||null,this._changed=ze.changed||null}return Je.prototype.get=function(ze){var _e,De=Tm.ensureMap(ze);return this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze),_e},Je.prototype.set=function(ze,_e){var De,Mt=Tm.ensureMap(ze);this._pid in Mt?De=Mt[this._pid]:De=Mt[this._pid]=this._createValue(ze);var jt=this._coerceValue(ze,_e);this._maybeNotify(ze,De,Mt[this._pid]=jt)},Je.prototype.coerce=function(ze){var _e,De=Tm.ensureMap(ze);this._pid in De?_e=De[this._pid]:_e=De[this._pid]=this._createValue(ze);var Mt=this._coerceValue(ze,_e);this._maybeNotify(ze,_e,De[this._pid]=Mt)},Je.prototype._createValue=function(ze){var _e=this._create;return _e(ze)},Je.prototype._coerceValue=function(ze,_e){var De=this._coerce;return De?De(ze,_e):_e},Je.prototype._compareValue=function(ze,_e){var De=this._compare;return De?De(ze,_e):ze===_e},Je.prototype._maybeNotify=function(ze,_e,De){var Mt=this._changed;Mt&&!this._compareValue(_e,De)&&Mt(ze,_e,De)},Je}();(function(Je){function ze(_e){Tm.ownerData.delete(_e)}Je.clearData=ze})(vd||(vd={}));var Tm;(function(Je){Je.ownerData=new WeakMap,Je.nextPID=function(){var _e=0;return function(){var De=Math.random(),Mt=(\"\"+De).slice(2);return\"pid-\"+Mt+\"-\"+_e++}}();function ze(_e){var De=Je.ownerData.get(_e);return De||(De=Object.create(null),Je.ownerData.set(_e,De),De)}Je.ensureMap=ze})(Tm||(Tm={}));var Kl=function(){function Je(ze){this._blockedCount=0,this.sender=ze}return Je.prototype.block=function(ze){this._blockedCount++;try{ze()}finally{this._blockedCount--}},Je.prototype.connect=function(ze,_e){return Md.connect(this,ze,_e)},Je.prototype.disconnect=function(ze,_e){return Md.disconnect(this,ze,_e)},Je.prototype.emit=function(ze){this._blockedCount||Md.emit(this,ze)},Je}();(function(Je){function ze(Qr,bn){var In=Md.blockedProperty;In.set(Qr,In.get(Qr)+1);try{bn()}finally{In.set(Qr,In.get(Qr)-1)}}Je.blockAll=ze;function _e(Qr,bn){Md.disconnectBetween(Qr,bn)}Je.disconnectBetween=_e;function De(Qr){Md.disconnectSender(Qr)}Je.disconnectSender=De;function Mt(Qr){Md.disconnectReceiver(Qr)}Je.disconnectReceiver=Mt;function jt(Qr){Md.disconnectAll(Qr)}Je.disconnectAll=jt;function ir(Qr){Md.disconnectAll(Qr)}Je.clearData=ir;function Cr(){return Md.exceptionHandler}Je.getExceptionHandler=Cr;function Kr(Qr){var bn=Md.exceptionHandler;return Md.exceptionHandler=Qr,bn}Je.setExceptionHandler=Kr})(Kl||(Kl={}));var Md;(function(Je){Je.exceptionHandler=function(Ei){console.error(Ei)};function ze(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(ra||(ra=[],Kr.set(Ei.sender,ra)),an(ra,Ei,hi,Xi))return!1;var _i=Xi||hi,Ii=Qr.get(_i);Ii||(Ii=[],Qr.set(_i,Ii));var Ki={signal:Ei,slot:hi,thisArg:Xi};return ra.push(Ki),Ii.push(Ki),!0}Je.connect=ze;function _e(Ei,hi,Xi){Xi=Xi||void 0;var ra=Kr.get(Ei.sender);if(!ra||ra.length===0)return!1;var _i=an(ra,Ei,hi,Xi);if(!_i)return!1;var Ii=Xi||hi,Ki=Qr.get(Ii);return _i.signal=null,Er(ra),Er(Ki),!0}Je.disconnect=_e;function De(Ei,hi){var Xi=Kr.get(Ei);if(!(!Xi||Xi.length===0)){var ra=Qr.get(hi);!ra||ra.length===0||(Os(ra,function(_i){_i.signal&&_i.signal.sender===Ei&&(_i.signal=null)}),Er(Xi),Er(ra))}}Je.disconnectBetween=De;function Mt(Ei){var hi=Kr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.thisArg||Xi.slot;Xi.signal=null,Er(Qr.get(ra))}}),Er(hi))}Je.disconnectSender=Mt;function jt(Ei){var hi=Qr.get(Ei);!hi||hi.length===0||(Os(hi,function(Xi){if(Xi.signal){var ra=Xi.signal.sender;Xi.signal=null,Er(Kr.get(ra))}}),Er(hi))}Je.disconnectReceiver=jt;function ir(Ei){Mt(Ei),jt(Ei)}Je.disconnectAll=ir;function Cr(Ei,hi){if(!(Je.blockedProperty.get(Ei.sender)>0)){var Xi=Kr.get(Ei.sender);if(!(!Xi||Xi.length===0))for(var ra=0,_i=Xi.length;ra<_i;++ra){var Ii=Xi[ra];Ii.signal===Ei&&Jr(Ii,hi)}}}Je.emit=Cr;var Kr=new WeakMap,Qr=new WeakMap,bn=new Set,In=function(){var Ei=typeof requestAnimationFrame==\"function\";return Ei?requestAnimationFrame:setImmediate}();function an(Ei,hi,Xi,ra){return Pg(Ei,function(_i){return _i.signal===hi&&_i.slot===Xi&&_i.thisArg===ra})}function Jr(Ei,hi){var Xi=Ei.signal,ra=Ei.slot,_i=Ei.thisArg;try{ra.call(_i,Xi.sender,hi)}catch(Ii){Je.exceptionHandler(Ii)}}function Er(Ei){bn.size===0&&In(ke),bn.add(Ei)}function ke(){bn.forEach(Pn),bn.clear()}function Pn(Ei){Wa.removeAllWhere(Ei,Ti)}function Ti(Ei){return Ei.signal===null}Je.blockedProperty=new vd({name:\"blocked\",create:function(){return 0}})})(Md||(Md={}));var yw=function(Je,ze){return yw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},yw(Je,ze)};function NS(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");yw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Mp=function(){function Je(ze){this._fn=ze}return Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){if(this._fn){var ze=this._fn;this._fn=null,ze()}},Je}(),bB=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(Mp),_w=function(){function Je(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach(function(ze){ze.dispose()}),this._items.clear())},Je.prototype.contains=function(ze){return this._items.has(ze)},Je.prototype.add=function(ze){this._items.add(ze)},Je.prototype.remove=function(ze){this._items.delete(ze)},Je.prototype.clear=function(){this._items.clear()},Je}();(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(_w||(_w={}));var BS=function(Je){NS(ze,Je);function ze(){var _e=Je!==null&&Je.apply(this,arguments)||this;return _e._disposed=new Kl(_e),_e}return Object.defineProperty(ze.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){this.isDisposed||(Je.prototype.dispose.call(this),this._disposed.emit(void 0),Kl.clearData(this))},ze}(_w);(function(Je){function ze(_e){var De=new Je;return Os(_e,function(Mt){De.add(Mt)}),De}Je.from=ze})(BS||(BS={}));var Sp=function(){function Je(ze){var _e=this;this._onScrollFrame=function(){if(_e._scrollTarget){var De=_e._scrollTarget,Mt=De.element,jt=De.edge,ir=De.distance,Cr=id.SCROLL_EDGE_SIZE-ir,Kr=Math.pow(Cr/id.SCROLL_EDGE_SIZE,2),Qr=Math.max(1,Math.round(Kr*id.SCROLL_EDGE_SIZE));switch(jt){case\"top\":Mt.scrollTop-=Qr;break;case\"left\":Mt.scrollLeft-=Qr;break;case\"right\":Mt.scrollLeft+=Qr;break;case\"bottom\":Mt.scrollTop+=Qr;break}requestAnimationFrame(_e._onScrollFrame)}},this._disposed=!1,this._dropAction=\"none\",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=ze.document||document,this.mimeData=ze.mimeData,this.dragImage=ze.dragImage||null,this.proposedAction=ze.proposedAction||\"copy\",this.supportedActions=ze.supportedActions||\"all\",this.source=ze.source||null}return Je.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var ze=id.createMouseEvent(\"pointerup\",-1,-1);id.dispatchDragLeave(this,this._currentTarget,null,ze)}this._finalize(\"none\")}},Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Je.prototype.start=function(ze,_e){var De=this;if(this._disposed)return Promise.resolve(\"none\");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(ze,_e),this._promise=new Promise(function(jt,ir){De._resolve=jt});var Mt=id.createMouseEvent(\"pointermove\",ze,_e);return document.dispatchEvent(Mt),this._promise},Je.prototype.handleEvent=function(ze){switch(ze.type){case\"mousemove\":this._evtMouseMove(ze);break;case\"mouseup\":this._evtMouseUp(ze);break;case\"pointermove\":this._evtMouseMove(ze);break;case\"pointerup\":this._evtMouseUp(ze);break;case\"keydown\":this._evtKeyDown(ze);break;default:ze.preventDefault(),ze.stopPropagation();break}},Je.prototype.moveDragImage=function(ze,_e){if(this.dragImage){var De=this.dragImage.style;De.top=_e+\"px\",De.left=ze+\"px\"}},Je.prototype._evtMouseMove=function(ze){ze.preventDefault(),ze.stopPropagation(),this._updateCurrentTarget(ze),this._updateDragScroll(ze),this.moveDragImage(ze.clientX,ze.clientY)},Je.prototype._evtMouseUp=function(ze){if(ze.preventDefault(),ze.stopPropagation(),ze.button===0){if(this._updateCurrentTarget(ze),!this._currentTarget){this._finalize(\"none\");return}if(this._dropAction===\"none\"){id.dispatchDragLeave(this,this._currentTarget,null,ze),this._finalize(\"none\");return}var _e=id.dispatchDrop(this,this._currentTarget,ze);this._finalize(_e)}},Je.prototype._evtKeyDown=function(ze){ze.preventDefault(),ze.stopPropagation(),ze.keyCode===27&&this.dispose()},Je.prototype._addListeners=function(){document.addEventListener(\"mousedown\",this,!0),document.addEventListener(\"mousemove\",this,!0),document.addEventListener(\"mouseup\",this,!0),document.addEventListener(\"mouseenter\",this,!0),document.addEventListener(\"mouseleave\",this,!0),document.addEventListener(\"mouseover\",this,!0),document.addEventListener(\"mouseout\",this,!0),document.addEventListener(\"pointerdown\",this,!0),document.addEventListener(\"pointermove\",this,!0),document.addEventListener(\"pointerup\",this,!0),document.addEventListener(\"pointerenter\",this,!0),document.addEventListener(\"pointerleave\",this,!0),document.addEventListener(\"pointerover\",this,!0),document.addEventListener(\"pointerout\",this,!0),document.addEventListener(\"keydown\",this,!0),document.addEventListener(\"keyup\",this,!0),document.addEventListener(\"keypress\",this,!0),document.addEventListener(\"contextmenu\",this,!0)},Je.prototype._removeListeners=function(){document.removeEventListener(\"mousedown\",this,!0),document.removeEventListener(\"mousemove\",this,!0),document.removeEventListener(\"mouseup\",this,!0),document.removeEventListener(\"mouseenter\",this,!0),document.removeEventListener(\"mouseleave\",this,!0),document.removeEventListener(\"mouseover\",this,!0),document.removeEventListener(\"mouseout\",this,!0),document.removeEventListener(\"pointerdown\",this,!0),document.removeEventListener(\"pointermove\",this,!0),document.removeEventListener(\"pointerup\",this,!0),document.removeEventListener(\"pointerenter\",this,!0),document.removeEventListener(\"pointerleave\",this,!0),document.removeEventListener(\"pointerover\",this,!0),document.removeEventListener(\"pointerout\",this,!0),document.removeEventListener(\"keydown\",this,!0),document.removeEventListener(\"keyup\",this,!0),document.removeEventListener(\"keypress\",this,!0),document.removeEventListener(\"contextmenu\",this,!0)},Je.prototype._updateDragScroll=function(ze){var _e=id.findScrollTarget(ze);!this._scrollTarget&&!_e||(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=_e)},Je.prototype._updateCurrentTarget=function(ze){var _e=this._currentTarget,De=this._currentTarget,Mt=this._currentElement,jt=this.document.elementFromPoint(ze.clientX,ze.clientY);this._currentElement=jt,jt!==Mt&&jt!==De&&id.dispatchDragExit(this,De,jt,ze),jt!==Mt&&jt!==De&&(De=id.dispatchDragEnter(this,jt,De,ze)),De!==_e&&(this._currentTarget=De,id.dispatchDragLeave(this,_e,De,ze));var ir=id.dispatchDragOver(this,De,ze);this._setDropAction(ir)},Je.prototype._attachDragImage=function(ze,_e){if(this.dragImage){this.dragImage.classList.add(\"lm-mod-drag-image\"),this.dragImage.classList.add(\"p-mod-drag-image\");var De=this.dragImage.style;De.pointerEvents=\"none\",De.position=\"fixed\",De.top=_e+\"px\",De.left=ze+\"px\";var Mt=this.document instanceof Document?this.document.body:this.document.firstElementChild;Mt.appendChild(this.dragImage)}},Je.prototype._detachDragImage=function(){if(this.dragImage){var ze=this.dragImage.parentNode;ze&&ze.removeChild(this.dragImage)}},Je.prototype._setDropAction=function(ze){if(ze=id.validateAction(ze,this.supportedActions),!(this._override&&this._dropAction===ze))switch(ze){case\"none\":this._dropAction=ze,this._override=Je.overrideCursor(\"no-drop\",this.document);break;case\"copy\":this._dropAction=ze,this._override=Je.overrideCursor(\"copy\",this.document);break;case\"link\":this._dropAction=ze,this._override=Je.overrideCursor(\"alias\",this.document);break;case\"move\":this._dropAction=ze,this._override=Je.overrideCursor(\"move\",this.document);break}},Je.prototype._finalize=function(ze){var _e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction=\"none\",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,_e&&_e(ze)},Je}();(function(Je){function ze(De,Mt){Mt===void 0&&(Mt=document);var jt=++_e,ir=Mt instanceof Document?Mt.body:Mt.firstElementChild;return ir.style.cursor=De,ir.classList.add(\"lm-mod-override-cursor\"),ir.classList.add(\"p-mod-override-cursor\"),new Mp(function(){jt===_e&&(ir.style.cursor=\"\",ir.classList.remove(\"lm-mod-override-cursor\"),ir.classList.remove(\"p-mod-override-cursor\"))})}Je.overrideCursor=ze;var _e=0})(Sp||(Sp={}));var id;(function(Je){Je.SCROLL_EDGE_SIZE=20;function ze(an,Jr){return Qr[an]&bn[Jr]?an:\"none\"}Je.validateAction=ze;function _e(an,Jr,Er){var ke=document.createEvent(\"MouseEvent\");return ke.initMouseEvent(an,!0,!0,window,0,0,0,Jr,Er,!1,!1,!1,!1,0,null),ke}Je.createMouseEvent=_e;function De(an){for(var Jr=an.clientX,Er=an.clientY,ke=document.elementFromPoint(Jr,Er);ke;ke=ke.parentElement){var Pn=ke.hasAttribute(\"data-lm-dragscroll\");if(Pn=Pn||ke.hasAttribute(\"data-p-dragscroll\"),!!Pn){var Ti=0,Ei=0;ke===document.body&&(Ti=window.pageXOffset,Ei=window.pageYOffset);var hi=ke.getBoundingClientRect(),Xi=hi.top+Ei,ra=hi.left+Ti,_i=ra+hi.width,Ii=Xi+hi.height;if(!(Jr=_i||Er=Ii)){var Ki=Jr-ra+1,$n=Er-Xi+1,Kn=_i-Jr,Yn=Ii-Er,Hi=Math.min(Ki,$n,Kn,Yn);if(!(Hi>Je.SCROLL_EDGE_SIZE)){var Vn=void 0;switch(Hi){case Yn:Vn=\"bottom\";break;case $n:Vn=\"top\";break;case Kn:Vn=\"right\";break;case Ki:Vn=\"left\";break;default:throw\"unreachable\"}var Bi=ke.scrollWidth-ke.clientWidth,Oa=ke.scrollHeight-ke.clientHeight,ms=void 0;switch(Vn){case\"top\":ms=Oa>0&&ke.scrollTop>0;break;case\"left\":ms=Bi>0&&ke.scrollLeft>0;break;case\"right\":ms=Bi>0&&ke.scrollLeft0&&ke.scrollTop0&&(Kr=ke)}return{cmd:bn,ctrl:In,alt:Qr,shift:an,key:Kr}}Je.parseKeystroke=ze;function _e(Cr){var Kr=\"\",Qr=ze(Cr);return Qr.ctrl&&(Kr+=\"Ctrl \"),Qr.alt&&(Kr+=\"Alt \"),Qr.shift&&(Kr+=\"Shift \"),Qr.cmd&&zh.IS_MAC&&(Kr+=\"Cmd \"),Kr+Qr.key}Je.normalizeKeystroke=_e;function De(Cr){var Kr;return zh.IS_WIN?Kr=Cr.winKeys||Cr.keys:zh.IS_MAC?Kr=Cr.macKeys||Cr.keys:Kr=Cr.linuxKeys||Cr.keys,Kr.map(_e)}Je.normalizeKeys=De;function Mt(Cr){return typeof Cr==\"string\"?Kr(Cr):Cr.map(Kr).join(\", \");function Kr(Qr){var bn=[],In=zh.IS_MAC?\" \":\"+\",an=ze(Qr);return an.ctrl&&bn.push(\"Ctrl\"),an.alt&&bn.push(\"Alt\"),an.shift&&bn.push(\"Shift\"),zh.IS_MAC&&an.cmd&&bn.push(\"Cmd\"),bn.push(an.key),bn.map(Ep.formatKey).join(In)}}Je.formatKeystroke=Mt;function jt(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);return Kr.isModifierKey(Qr)}Je.isModifierKeyPressed=jt;function ir(Cr){var Kr=Rg(),Qr=Kr.keyForKeydownEvent(Cr);if(!Qr||Kr.isModifierKey(Qr))return\"\";var bn=[];return Cr.ctrlKey&&bn.push(\"Ctrl\"),Cr.altKey&&bn.push(\"Alt\"),Cr.shiftKey&&bn.push(\"Shift\"),Cr.metaKey&&zh.IS_MAC&&bn.push(\"Cmd\"),bn.push(Qr),bn.join(\" \")}Je.keystrokeForKeydownEvent=ir})(Dg||(Dg={}));var Ep;(function(Je){Je.CHORD_TIMEOUT=1e3;function ze(hi){var Xi,ra;return!hi.icon||typeof hi.icon==\"string\"?(ra=Er(hi.iconClass||hi.icon,Kr),Xi=ra):(ra=Er(hi.iconClass,Kr),Xi=Er(hi.icon,Jr)),{execute:hi.execute,describedBy:Tw({args:null},hi.describedBy),label:Er(hi.label,Kr),mnemonic:Er(hi.mnemonic,Qr),icon:Xi,iconClass:ra,iconLabel:Er(hi.iconLabel,Kr),caption:Er(hi.caption,Kr),usage:Er(hi.usage,Kr),className:Er(hi.className,Kr),dataset:Er(hi.dataset,an),isEnabled:hi.isEnabled||bn,isToggled:hi.isToggled||In,isToggleable:hi.isToggleable||!!hi.isToggled,isVisible:hi.isVisible||bn}}Je.createCommand=ze;function _e(hi){return{keys:Dg.normalizeKeys(hi),selector:ke(hi),command:hi.command,args:hi.args||pd.JSONExt.emptyObject}}Je.createKeyBinding=_e;function De(hi,Xi,ra){for(var _i=null,Ii=!1,Ki=1/0,$n=0,Kn=0,Yn=hi.length;KnKi)){var Oa=ov.calculateSpecificity(Hi.selector);(!_i||Bi=$n)&&(_i=Hi,Ki=Bi,$n=Oa)}}}return{exact:_i,partial:Ii}}Je.matchKeyBinding=De;function Mt(hi){hi.target.dispatchEvent(Ei(hi))}Je.replayKeyEvent=Mt;function jt(hi){return zh.IS_MAC?ir.hasOwnProperty(hi)?ir[hi]:hi:Cr.hasOwnProperty(hi)?Cr[hi]:hi}Je.formatKey=jt;var ir={Backspace:\"\\u232B\",Tab:\"\\u21E5\",Enter:\"\\u21A9\",Shift:\"\\u21E7\",Ctrl:\"\\u2303\",Alt:\"\\u2325\",Escape:\"\\u238B\",PageUp:\"\\u21DE\",PageDown:\"\\u21DF\",End:\"\\u2198\",Home:\"\\u2196\",ArrowLeft:\"\\u2190\",ArrowUp:\"\\u2191\",ArrowRight:\"\\u2192\",ArrowDown:\"\\u2193\",Delete:\"\\u2326\",Cmd:\"\\u2318\"},Cr={Escape:\"Esc\",PageUp:\"Page Up\",PageDown:\"Page Down\",ArrowLeft:\"Left\",ArrowUp:\"Up\",ArrowRight:\"Right\",ArrowDown:\"Down\",Delete:\"Del\"},Kr=function(){return\"\"},Qr=function(){return-1},bn=function(){return!0},In=function(){return!1},an=function(){return{}},Jr=function(){};function Er(hi,Xi){return hi===void 0?Xi:typeof hi==\"function\"?hi:function(){return hi}}function ke(hi){if(hi.selector.indexOf(\",\")!==-1)throw new Error(\"Selector cannot contain commas: \"+hi.selector);if(!ov.isValid(hi.selector))throw new Error(\"Invalid selector: \"+hi.selector);return hi.selector}function Pn(hi,Xi){if(hi.lengthXi.length?2:1}function Ti(hi,Xi){for(var ra=Xi.target,_i=Xi.currentTarget,Ii=0;ra!==null;ra=ra.parentElement,++Ii){if(ra.hasAttribute(\"data-lm-suppress-shortcuts\")||ra.hasAttribute(\"data-p-suppress-shortcuts\"))return-1;if(ov.matches(ra,hi))return Ii;if(ra===_i)return-1}return-1}function Ei(hi){var Xi=document.createEvent(\"Event\"),ra=hi.bubbles||!0,_i=hi.cancelable||!0;return Xi.initEvent(hi.type||\"keydown\",ra,_i),Xi.key=hi.key||\"\",Xi.keyCode=hi.keyCode||0,Xi.which=hi.keyCode||0,Xi.ctrlKey=hi.ctrlKey||!1,Xi.altKey=hi.altKey||!1,Xi.shiftKey=hi.shiftKey||!1,Xi.metaKey=hi.metaKey||!1,Xi.view=hi.view||window,Xi}})(Ep||(Ep={}));var Aw=function(Je,ze){return Aw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,De){_e.__proto__=De}||function(_e,De){for(var Mt in De)Object.prototype.hasOwnProperty.call(De,Mt)&&(_e[Mt]=De[Mt])},Aw(Je,ze)};function UO(Je,ze){if(typeof ze!=\"function\"&&ze!==null)throw new TypeError(\"Class extends value \"+String(ze)+\" is not a constructor or null\");Aw(Je,ze);function _e(){this.constructor=Je}Je.prototype=ze===null?Object.create(ze):(_e.prototype=ze.prototype,new _e)}var Z1=function(){function Je(ze){this.type=\"text\",this.content=ze}return Je}(),Y1=function(){function Je(ze,_e,De,Mt){this.type=\"element\",this.tag=ze,this.attrs=_e,this.children=De,this.renderer=Mt}return Je}(),RB=function(Je){UO(ze,Je);function ze(_e,De,Mt){return Je.call(this,_e,De,[],Mt||void 0)||this}return ze}(Y1);function _u(Je){for(var ze={},_e,De=[],Mt=1,jt=arguments.length;Mt=Ti.length){_e(ke[Xi],Jr);continue}var ra=Ti[Xi],_i=ke[Xi];if(ra===_i){Ei=Ei.nextSibling;continue}if(ra.type===\"text\"&&_i.type===\"text\"){Ei.textContent!==_i.content&&(Ei.textContent=_i.content),Ei=Ei.nextSibling;continue}if(ra.type===\"text\"||_i.type===\"text\"){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(!ra.renderer!=!_i.renderer){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}var Ii=_i.attrs.key;if(Ii&&Ii in Pn){var Ki=Pn[Ii];Ki.vNode!==ra&&(Wa.move(Ti,Ti.indexOf(Ki.vNode,Xi+1),Xi),Jr.insertBefore(Ki.element,Ei),ra=Ki.vNode,Ei=Ki.element)}if(ra===_i){Ei=Ei.nextSibling;continue}var $n=ra.attrs.key;if($n&&$n!==Ii){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}if(ra.tag!==_i.tag){Wa.insert(Ti,Xi,_i),_e(_i,Jr,Ei);continue}Cr(Ei,ra.attrs,_i.attrs),_i.renderer?_i.renderer.render(Ei,{attrs:_i.attrs,children:_i.children}):De(Ei,ra.children,_i.children),Ei=Ei.nextSibling}Mt(Jr,Ti,hi,!0)}}Je.updateContent=De;function Mt(Jr,Er,ke,Pn){for(var Ti=Er.length-1;Ti>=ke;--Ti){var Ei=Er[Ti],hi=Pn?Jr.lastChild:Jr.childNodes[Ti];Ei.type===\"text\"||(Ei.renderer&&Ei.renderer.unrender?Ei.renderer.unrender(hi,{attrs:Ei.attrs,children:Ei.children}):Mt(hi,Ei.children,0,!1)),Pn&&Jr.removeChild(hi)}}var jt={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function ir(Jr,Er){for(var ke in Er)ke in jt||(ke.substr(0,2)===\"on\"?Jr[ke]=Er[ke]:Jr.setAttribute(ke,Er[ke]));Er.className!==void 0&&Jr.setAttribute(\"class\",Er.className),Er.htmlFor!==void 0&&Jr.setAttribute(\"for\",Er.htmlFor),Er.dataset&&Kr(Jr,Er.dataset),Er.style&&bn(Jr,Er.style)}function Cr(Jr,Er,ke){if(Er!==ke){var Pn;for(Pn in Er)Pn in jt||Pn in ke||(Pn.substr(0,2)===\"on\"?Jr[Pn]=null:Jr.removeAttribute(Pn));for(Pn in ke)Pn in jt||Er[Pn]===ke[Pn]||(Pn.substr(0,2)===\"on\"?Jr[Pn]=ke[Pn]:Jr.setAttribute(Pn,ke[Pn]));Er.className!==ke.className&&(ke.className!==void 0?Jr.setAttribute(\"class\",ke.className):Jr.removeAttribute(\"class\")),Er.htmlFor!==ke.htmlFor&&(ke.htmlFor!==void 0?Jr.setAttribute(\"for\",ke.htmlFor):Jr.removeAttribute(\"for\")),Er.dataset!==ke.dataset&&Qr(Jr,Er.dataset||{},ke.dataset||{}),Er.style!==ke.style&&In(Jr,Er.style||{},ke.style||{})}}function Kr(Jr,Er){for(var ke in Er)Jr.setAttribute(\"data-\"+ke,Er[ke])}function Qr(Jr,Er,ke){for(var Pn in Er)Pn in ke||Jr.removeAttribute(\"data-\"+Pn);for(var Ti in ke)Er[Ti]!==ke[Ti]&&Jr.setAttribute(\"data-\"+Ti,ke[Ti])}function bn(Jr,Er){var ke=Jr.style,Pn;for(Pn in Er)ke[Pn]=Er[Pn]}function In(Jr,Er,ke){var Pn=Jr.style,Ti;for(Ti in Er)Ti in ke||(Pn[Ti]=\"\");for(Ti in ke)Er[Ti]!==ke[Ti]&&(Pn[Ti]=ke[Ti])}function an(Jr,Er){for(var ke=Jr.firstChild,Pn=Object.create(null),Ti=0,Ei=Er;Ti0&&(In+=Er.stretch,an++)}if(ir===bn)return 0;if(ir<=Kr){for(var Jr=0;Jr=Qr){for(var Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr0&&Xi>Ei;)for(var ra=Xi,_i=In,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,In-=Er.stretch,Er.size=Er.maxSize,Er.done=!0,hi--,an--):(Xi-=Ii,Er.size+=Ii)}}for(;hi>0&&Xi>Ei;)for(var Ii=Xi/hi,Jr=0;Jr=Er.maxSize?(Xi-=Er.maxSize-Er.size,Er.size=Er.maxSize,Er.done=!0,hi--):(Xi-=Ii,Er.size+=Ii))}}return 0}Je.calc=ze;function _e(jt,ir,Cr){jt.length===0||Cr===0||(Cr>0?De(jt,ir,Cr):Mt(jt,ir,-Cr))}Je.adjust=_e;function De(jt,ir,Cr){for(var Kr=0,Qr=0;Qr<=ir;++Qr){var bn=jt[Qr];Kr+=bn.maxSize-bn.size}for(var In=0,Qr=ir+1,an=jt.length;Qr=0&&Jr>0;--Qr){var bn=jt[Qr],Er=bn.maxSize-bn.size;Er>=Jr?(bn.sizeHint=bn.size+Jr,Jr=0):(bn.sizeHint=bn.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir+1,an=jt.length;Qr0;++Qr){var bn=jt[Qr],Er=bn.size-bn.minSize;Er>=ke?(bn.sizeHint=bn.size-ke,ke=0):(bn.sizeHint=bn.size-Er,ke-=Er)}}function Mt(jt,ir,Cr){for(var Kr=0,Qr=ir+1,bn=jt.length;Qr0;++Qr){var In=jt[Qr],Er=In.maxSize-In.size;Er>=Jr?(In.sizeHint=In.size+Jr,Jr=0):(In.sizeHint=In.size+Er,Jr-=Er)}for(var ke=Cr,Qr=ir;Qr>=0&&ke>0;--Qr){var In=jt[Qr],Er=In.size-In.minSize;Er>=ke?(In.sizeHint=In.size-ke,ke=0):(In.sizeHint=In.size-Er,ke-=Er)}}})(Dd||(Dd={}));var Sw=function(){function Je(ze){this._label=\"\",this._caption=\"\",this._mnemonic=-1,this._iconClass=\"\",this._iconLabel=\"\",this._className=\"\",this._closable=!1,this._changed=new Kl(this),this._isDisposed=!1,this.owner=ze.owner,ze.label!==void 0&&(this._label=ze.label),ze.mnemonic!==void 0&&(this._mnemonic=ze.mnemonic),ze.icon!==void 0?typeof ze.icon==\"string\"?(this._icon=null,this._iconClass=ze.icon):this._icon=ze.icon:this._icon=null,ze.iconClass!==void 0&&(this._iconClass=ze.iconClass),ze.iconLabel!==void 0&&(this._iconLabel=ze.iconLabel),ze.iconRenderer!==void 0&&(this._icon=ze.iconRenderer),ze.caption!==void 0&&(this._caption=ze.caption),ze.className!==void 0&&(this._className=ze.className),ze.closable!==void 0&&(this._closable=ze.closable),this._dataset=ze.dataset||{}}return Object.defineProperty(Je.prototype,\"changed\",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"label\",{get:function(){return this._label},set:function(ze){this._label!==ze&&(this._label=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"mnemonic\",{get:function(){return this._mnemonic},set:function(ze){this._mnemonic!==ze&&(this._mnemonic=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"icon\",{get:function(){return this._icon===null?this.iconClass:this._icon},set:function(ze){if(typeof ze==\"string\")this._icon=null,this.iconClass=ze;else{if(this._icon===ze)return;this._icon=ze,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconClass\",{get:function(){return this._iconClass},set:function(ze){this._iconClass!==ze&&(this._iconClass=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconLabel\",{get:function(){return this._iconLabel},set:function(ze){this._iconLabel!==ze&&(this._iconLabel=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"iconRenderer\",{get:function(){return this._icon||void 0},set:function(ze){this.icon=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"caption\",{get:function(){return this._caption},set:function(ze){this._caption!==ze&&(this._caption=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"className\",{get:function(){return this._className},set:function(ze){this._className!==ze&&(this._className=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"closable\",{get:function(){return this._closable},set:function(ze){this._closable!==ze&&(this._closable=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"dataset\",{get:function(){return this._dataset},set:function(ze){this._dataset!==ze&&(this._dataset=ze,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),Je.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,Kl.clearData(this))},Je}(),So=function(){function Je(ze){ze===void 0&&(ze={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new Kl(this),this._hiddenMode=Je.HiddenMode.Display,this.node=K1.createNode(ze),this.addClass(\"lm-Widget\"),this.addClass(\"p-Widget\")}return Je.prototype.dispose=function(){this.isDisposed||(this.setFlag(Je.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Je.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Kl.clearData(this),go.clearData(this),vd.clearData(this))},Object.defineProperty(Je.prototype,\"disposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this.testFlag(Je.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isAttached\",{get:function(){return this.testFlag(Je.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isHidden\",{get:function(){return this.testFlag(Je.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isVisible\",{get:function(){return this.testFlag(Je.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"title\",{get:function(){return K1.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"id\",{get:function(){return this.node.id},set:function(ze){this.node.id=ze},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"dataset\",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"hiddenMode\",{get:function(){return this._hiddenMode},set:function(ze){this._hiddenMode!==ze&&(this.isHidden&&this._toggleHidden(!1),ze==Je.HiddenMode.Scale?this.node.style.willChange=\"transform\":this.node.style.willChange=\"auto\",this._hiddenMode=ze,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"parent\",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(ze&&this.contains(ze))throw new Error(\"Invalid parent widget.\");if(this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage(\"child-removed\",this);go.sendMessage(this._parent,_e)}if(this._parent=ze,this._parent&&!this._parent.isDisposed){var _e=new Je.ChildMessage(\"child-added\",this);go.sendMessage(this._parent,_e)}this.isDisposed||go.sendMessage(this,Je.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"layout\",{get:function(){return this._layout},set:function(ze){if(this._layout!==ze){if(this.testFlag(Je.Flag.DisallowLayout))throw new Error(\"Cannot set widget layout.\");if(this._layout)throw new Error(\"Cannot change widget layout.\");if(ze.parent)throw new Error(\"Cannot change layout parent.\");this._layout=ze,ze.parent=this}},enumerable:!0,configurable:!0}),Je.prototype.children=function(){return this._layout?this._layout.iter():Id()},Je.prototype.contains=function(ze){for(var _e=ze;_e;_e=_e._parent)if(_e===this)return!0;return!1},Je.prototype.hasClass=function(ze){return this.node.classList.contains(ze)},Je.prototype.addClass=function(ze){this.node.classList.add(ze)},Je.prototype.removeClass=function(ze){this.node.classList.remove(ze)},Je.prototype.toggleClass=function(ze,_e){return _e===!0?(this.node.classList.add(ze),!0):_e===!1?(this.node.classList.remove(ze),!1):this.node.classList.toggle(ze)},Je.prototype.update=function(){go.postMessage(this,Je.Msg.UpdateRequest)},Je.prototype.fit=function(){go.postMessage(this,Je.Msg.FitRequest)},Je.prototype.activate=function(){go.postMessage(this,Je.Msg.ActivateRequest)},Je.prototype.close=function(){go.sendMessage(this,Je.Msg.CloseRequest)},Je.prototype.show=function(){if(this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeShow),this.clearFlag(Je.Flag.IsHidden),this.node.removeAttribute(\"aria-hidden\"),this._toggleHidden(!1),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterShow),this.parent)){var ze=new Je.ChildMessage(\"child-shown\",this);go.sendMessage(this.parent,ze)}},Je.prototype.hide=function(){if(!this.testFlag(Je.Flag.IsHidden)&&(this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.BeforeHide),this.setFlag(Je.Flag.IsHidden),this.node.setAttribute(\"aria-hidden\",\"true\"),this._toggleHidden(!0),this.isAttached&&(!this.parent||this.parent.isVisible)&&go.sendMessage(this,Je.Msg.AfterHide),this.parent)){var ze=new Je.ChildMessage(\"child-hidden\",this);go.sendMessage(this.parent,ze)}},Je.prototype.setHidden=function(ze){ze?this.hide():this.show()},Je.prototype.testFlag=function(ze){return(this._flags&ze)!==0},Je.prototype.setFlag=function(ze){this._flags|=ze},Je.prototype.clearFlag=function(ze){this._flags&=~ze},Je.prototype.processMessage=function(ze){switch(ze.type){case\"resize\":this.notifyLayout(ze),this.onResize(ze);break;case\"update-request\":this.notifyLayout(ze),this.onUpdateRequest(ze);break;case\"fit-request\":this.notifyLayout(ze),this.onFitRequest(ze);break;case\"before-show\":this.notifyLayout(ze),this.onBeforeShow(ze);break;case\"after-show\":this.setFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterShow(ze);break;case\"before-hide\":this.notifyLayout(ze),this.onBeforeHide(ze);break;case\"after-hide\":this.clearFlag(Je.Flag.IsVisible),this.notifyLayout(ze),this.onAfterHide(ze);break;case\"before-attach\":this.notifyLayout(ze),this.onBeforeAttach(ze);break;case\"after-attach\":!this.isHidden&&(!this.parent||this.parent.isVisible)&&this.setFlag(Je.Flag.IsVisible),this.setFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterAttach(ze);break;case\"before-detach\":this.notifyLayout(ze),this.onBeforeDetach(ze);break;case\"after-detach\":this.clearFlag(Je.Flag.IsVisible),this.clearFlag(Je.Flag.IsAttached),this.notifyLayout(ze),this.onAfterDetach(ze);break;case\"activate-request\":this.notifyLayout(ze),this.onActivateRequest(ze);break;case\"close-request\":this.notifyLayout(ze),this.onCloseRequest(ze);break;case\"child-added\":this.notifyLayout(ze),this.onChildAdded(ze);break;case\"child-removed\":this.notifyLayout(ze),this.onChildRemoved(ze);break;default:this.notifyLayout(ze);break}},Je.prototype.notifyLayout=function(ze){this._layout&&this._layout.processParentMessage(ze)},Je.prototype.onCloseRequest=function(ze){this.parent?this.parent=null:this.isAttached&&Je.detach(this)},Je.prototype.onResize=function(ze){},Je.prototype.onUpdateRequest=function(ze){},Je.prototype.onFitRequest=function(ze){},Je.prototype.onActivateRequest=function(ze){},Je.prototype.onBeforeShow=function(ze){},Je.prototype.onAfterShow=function(ze){},Je.prototype.onBeforeHide=function(ze){},Je.prototype.onAfterHide=function(ze){},Je.prototype.onBeforeAttach=function(ze){},Je.prototype.onAfterAttach=function(ze){},Je.prototype.onBeforeDetach=function(ze){},Je.prototype.onAfterDetach=function(ze){},Je.prototype.onChildAdded=function(ze){},Je.prototype.onChildRemoved=function(ze){},Je.prototype._toggleHidden=function(ze){if(ze)switch(this._hiddenMode){case Je.HiddenMode.Display:this.addClass(\"lm-mod-hidden\"),this.addClass(\"p-mod-hidden\");break;case Je.HiddenMode.Scale:this.node.style.transform=\"scale(0)\";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility=\"hidden\",this.node.style.zIndex=\"-1\";break}else switch(this._hiddenMode){case Je.HiddenMode.Display:this.removeClass(\"lm-mod-hidden\"),this.removeClass(\"p-mod-hidden\");break;case Je.HiddenMode.Scale:this.node.style.transform=\"\";break;case Je.HiddenMode.ContentVisibility:this.node.style.contentVisibility=\"\",this.node.style.zIndex=\"\";break}},Je}();(function(Je){(function(jt){jt[jt.Display=0]=\"Display\",jt[jt.Scale=1]=\"Scale\",jt[jt.ContentVisibility=2]=\"ContentVisibility\"})(Je.HiddenMode||(Je.HiddenMode={})),function(jt){jt[jt.IsDisposed=1]=\"IsDisposed\",jt[jt.IsAttached=2]=\"IsAttached\",jt[jt.IsHidden=4]=\"IsHidden\",jt[jt.IsVisible=8]=\"IsVisible\",jt[jt.DisallowLayout=16]=\"DisallowLayout\"}(Je.Flag||(Je.Flag={})),function(jt){jt.BeforeShow=new Rd(\"before-show\"),jt.AfterShow=new Rd(\"after-show\"),jt.BeforeHide=new Rd(\"before-hide\"),jt.AfterHide=new Rd(\"after-hide\"),jt.BeforeAttach=new Rd(\"before-attach\"),jt.AfterAttach=new Rd(\"after-attach\"),jt.BeforeDetach=new Rd(\"before-detach\"),jt.AfterDetach=new Rd(\"after-detach\"),jt.ParentChanged=new Rd(\"parent-changed\"),jt.UpdateRequest=new Ig(\"update-request\"),jt.FitRequest=new Ig(\"fit-request\"),jt.ActivateRequest=new Ig(\"activate-request\"),jt.CloseRequest=new Ig(\"close-request\")}(Je.Msg||(Je.Msg={}));var ze=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,Cr)||this;return Qr.child=Kr,Qr}return ir}(Rd);Je.ChildMessage=ze;var _e=function(jt){yf(ir,jt);function ir(Cr,Kr){var Qr=jt.call(this,\"resize\")||this;return Qr.width=Cr,Qr.height=Kr,Qr}return ir}(Rd);Je.ResizeMessage=_e,function(jt){jt.UnknownSize=new jt(-1,-1)}(_e=Je.ResizeMessage||(Je.ResizeMessage={}));function De(jt,ir,Cr){if(Cr===void 0&&(Cr=null),jt.parent)throw new Error(\"Cannot attach a child widget.\");if(jt.isAttached||jt.node.isConnected)throw new Error(\"Widget is already attached.\");if(!ir.isConnected)throw new Error(\"Host is not attached.\");go.sendMessage(jt,Je.Msg.BeforeAttach),ir.insertBefore(jt.node,Cr),go.sendMessage(jt,Je.Msg.AfterAttach)}Je.attach=De;function Mt(jt){if(jt.parent)throw new Error(\"Cannot detach a child widget.\");if(!jt.isAttached||!jt.node.isConnected)throw new Error(\"Widget is not attached.\");go.sendMessage(jt,Je.Msg.BeforeDetach),jt.node.parentNode.removeChild(jt.node),go.sendMessage(jt,Je.Msg.AfterDetach)}Je.detach=Mt})(So||(So={}));var K1;(function(Je){Je.titleProperty=new vd({name:\"title\",create:function(_e){return new Sw({owner:_e})}});function ze(_e){return _e.node||document.createElement(_e.tag||\"div\")}Je.createNode=ze})(K1||(K1={}));var kp=function(){function Je(ze){ze===void 0&&(ze={}),this._disposed=!1,this._parent=null,this._fitPolicy=ze.fitPolicy||\"set-min-size\"}return Je.prototype.dispose=function(){this._parent=null,this._disposed=!0,Kl.clearData(this),vd.clearData(this)},Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"parent\",{get:function(){return this._parent},set:function(ze){if(this._parent!==ze){if(this._parent)throw new Error(\"Cannot change parent widget.\");if(ze.layout!==this)throw new Error(\"Invalid parent widget.\");this._parent=ze,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"fitPolicy\",{get:function(){return this._fitPolicy},set:function(ze){if(this._fitPolicy!==ze&&(this._fitPolicy=ze,this._parent)){var _e=this._parent.node.style;_e.minWidth=\"\",_e.minHeight=\"\",_e.maxWidth=\"\",_e.maxHeight=\"\",this._parent.fit()}},enumerable:!0,configurable:!0}),Je.prototype.processParentMessage=function(ze){switch(ze.type){case\"resize\":this.onResize(ze);break;case\"update-request\":this.onUpdateRequest(ze);break;case\"fit-request\":this.onFitRequest(ze);break;case\"before-show\":this.onBeforeShow(ze);break;case\"after-show\":this.onAfterShow(ze);break;case\"before-hide\":this.onBeforeHide(ze);break;case\"after-hide\":this.onAfterHide(ze);break;case\"before-attach\":this.onBeforeAttach(ze);break;case\"after-attach\":this.onAfterAttach(ze);break;case\"before-detach\":this.onBeforeDetach(ze);break;case\"after-detach\":this.onAfterDetach(ze);break;case\"child-removed\":this.onChildRemoved(ze);break;case\"child-shown\":this.onChildShown(ze);break;case\"child-hidden\":this.onChildHidden(ze);break}},Je.prototype.init=function(){var ze=this;Os(this,function(_e){_e.parent=ze.parent})},Je.prototype.onResize=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onUpdateRequest=function(ze){Os(this,function(_e){go.sendMessage(_e,So.ResizeMessage.UnknownSize)})},Je.prototype.onBeforeAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterAttach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onAfterDetach=function(ze){Os(this,function(_e){go.sendMessage(_e,ze)})},Je.prototype.onBeforeShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterShow=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onBeforeHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onAfterHide=function(ze){Os(this,function(_e){_e.isHidden||go.sendMessage(_e,ze)})},Je.prototype.onChildRemoved=function(ze){this.removeWidget(ze.child)},Je.prototype.onFitRequest=function(ze){},Je.prototype.onChildShown=function(ze){},Je.prototype.onChildHidden=function(ze){},Je}();(function(Je){function ze(jt){return zg.horizontalAlignmentProperty.get(jt)}Je.getHorizontalAlignment=ze;function _e(jt,ir){zg.horizontalAlignmentProperty.set(jt,ir)}Je.setHorizontalAlignment=_e;function De(jt){return zg.verticalAlignmentProperty.get(jt)}Je.getVerticalAlignment=De;function Mt(jt,ir){zg.verticalAlignmentProperty.set(jt,ir)}Je.setVerticalAlignment=Mt})(kp||(kp={}));var Zy=function(){function Je(ze){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=ze,this.widget.node.style.position=\"absolute\"}return Je.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var ze=this.widget.node.style;ze.position=\"\",ze.top=\"\",ze.left=\"\",ze.width=\"\",ze.height=\"\"}},Object.defineProperty(Je.prototype,\"minWidth\",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"minHeight\",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"maxWidth\",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"maxHeight\",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isHidden\",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isVisible\",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isAttached\",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),Je.prototype.fit=function(){var ze=Eu.sizeLimits(this.widget.node);this._minWidth=ze.minWidth,this._minHeight=ze.minHeight,this._maxWidth=ze.maxWidth,this._maxHeight=ze.maxHeight},Je.prototype.update=function(ze,_e,De,Mt){var jt=Math.max(this._minWidth,Math.min(De,this._maxWidth)),ir=Math.max(this._minHeight,Math.min(Mt,this._maxHeight));if(jt0;)this._widgets.pop().dispose();Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"widgets\",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return Pd(this._widgets)},ze.prototype.addWidget=function(_e){this.insertWidget(this._widgets.length,_e)},ze.prototype.insertWidget=function(_e,De){De.parent=this.parent;var Mt=this._widgets.indexOf(De),jt=Math.max(0,Math.min(_e,this._widgets.length));if(Mt===-1){Wa.insert(this._widgets,jt,De),this.parent&&this.attachWidget(jt,De);return}jt===this._widgets.length&&jt--,Mt!==jt&&(Wa.move(this._widgets,Mt,jt),this.parent&&this.moveWidget(Mt,jt,De))},ze.prototype.removeWidget=function(_e){this.removeWidgetAt(this._widgets.indexOf(_e))},ze.prototype.removeWidgetAt=function(_e){var De=Wa.removeAt(this._widgets,_e);De&&this.parent&&this.detachWidget(_e,De)},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De,Mt){_e.attachWidget(Mt,De)})},ze.prototype.attachWidget=function(_e,De){var Mt=this.parent.node.children[_e];this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.insertBefore(De.node,Mt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach)},ze.prototype.moveWidget=function(_e,De,Mt){this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeDetach),this.parent.node.removeChild(Mt.node),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterDetach);var jt=this.parent.node.children[De];this.parent.isAttached&&go.sendMessage(Mt,So.Msg.BeforeAttach),this.parent.node.insertBefore(Mt.node,jt),this.parent.isAttached&&go.sendMessage(Mt,So.Msg.AfterAttach)},ze.prototype.detachWidget=function(_e,De){this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach)},ze}(kp),Gy;(function(Je){function ze(_e){return Math.max(0,Math.floor(_e))}Je.clampDimension=ze})(Gy||(Gy={}));var Wy=Gy,Em=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De.widgetOffset=0,De._fixed=0,De._spacing=4,De._dirty=!1,De._hasNormedSizes=!1,De._sizers=[],De._items=[],De._handles=[],De._box=null,De._alignment=\"start\",De._orientation=\"horizontal\",De.renderer=_e.renderer,_e.orientation!==void 0&&(De._orientation=_e.orientation),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Gy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"orientation\",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._orientation=_e,this.parent&&(this.parent.dataset.orientation=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"alignment\",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Gy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"handles\",{get:function(){return this._handles},enumerable:!0,configurable:!0}),ze.prototype.absoluteSizes=function(){return this._sizers.map(function(_e){return _e.size})},ze.prototype.relativeSizes=function(){return Kv.normalize(this._sizers.map(function(_e){return _e.size}))},ze.prototype.setRelativeSizes=function(_e,De){De===void 0&&(De=!0);for(var Mt=this._sizers.length,jt=_e.slice(0,Mt);jt.length0&&(Kr.sizeHint=Kr.size)}Dd.adjust(this._sizers,_e,jt),this.parent&&this.parent.update()}}},ze.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){var Mt=new Zy(De),jt=Kv.createHandle(this.renderer),ir=Kv.averageSize(this._sizers),Cr=Kv.createSizer(ir);Wa.insert(this._items,_e,Mt),Wa.insert(this._sizers,_e,Cr),Wa.insert(this._handles,_e,jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.node.appendChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),Wa.move(this._handles,_e,De),this.parent.fit()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e),jt=Wa.removeAt(this._handles,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.node.removeChild(jt),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype.updateItemPosition=function(_e,De,Mt,jt,ir,Cr,Kr){var Qr=this._items[_e];if(!Qr.isHidden){var bn=this._handles[_e].style;De?(Mt+=this.widgetOffset,Qr.update(Mt,jt,Kr,ir),Mt+=Kr,bn.top=jt+\"px\",bn.left=Mt+\"px\",bn.width=this._spacing+\"px\",bn.height=ir+\"px\"):(jt+=this.widgetOffset,Qr.update(Mt,jt,Cr,Kr),jt+=Kr,bn.top=jt+\"px\",bn.left=Mt+\"px\",bn.width=Cr+\"px\",bn.height=this._spacing+\"px\")}},ze.prototype._fit=function(){for(var _e=0,De=-1,Mt=0,jt=this._items.length;Mt0&&(bn.sizeHint=bn.size),Qr.isHidden){bn.minSize=0,bn.maxSize=0;continue}Qr.fit(),bn.stretch=ze.getStretch(Qr.widget),ir?(bn.minSize=Qr.minWidth,bn.maxSize=Qr.maxWidth,Cr+=Qr.minWidth,Kr=Math.max(Kr,Qr.minHeight)):(bn.minSize=Qr.minHeight,bn.maxSize=Qr.maxHeight,Kr+=Qr.minHeight,Cr=Math.max(Cr,Qr.minWidth))}var In=this._box=Eu.boxSizing(this.parent.node);Cr+=In.horizontalSum,Kr+=In.verticalSum;var an=this.parent.node.style;an.minWidth=Cr+\"px\",an.minHeight=Kr+\"px\",this._dirty=!0,this.parent.parent&&go.sendMessage(this.parent.parent,So.Msg.FitRequest),this._dirty&&go.sendMessage(this.parent,So.Msg.UpdateRequest)},ze.prototype._update=function(_e,De){this._dirty=!1;for(var Mt=0,jt=0,ir=this._items.length;jt0){var Er=void 0;if(Jr?Er=Math.max(0,Qr-this._fixed):Er=Math.max(0,bn-this._fixed),this._hasNormedSizes){for(var ke=0,Pn=this._sizers;ke0)switch(this._alignment){case\"start\":break;case\"center\":In=0,an=Ei/2;break;case\"end\":In=0,an=Ei;break;case\"justify\":In=Ei/Mt,an=0;break;default:throw\"unreachable\"}}for(var jt=0,ir=this._items.length;jt=0&&(this.layout.updateTitle(De,_e.owner),this.update())},ze.prototype._computeWidgetSize=function(_e){var De=this.layout,Mt=De.widgets[_e];if(Mt){var jt=Mt.isHidden,ir=De.absoluteSizes(),Cr=(jt?-1:1)*this.spacing,Kr=ir.reduce(function(Jr,Er){return Jr+Er}),Qr=VO(ir);if(jt){var an=this._widgetSizesCache.get(Mt);if(!an)return;Qr[_e]+=an;var In=Qr.map(function(Er){return Er-an>0}).lastIndexOf(!0);In===-1?Qr.forEach(function(Er,ke){ke!==_e&&(Qr[ke]-=ir[ke]/Kr*(an-Cr))}):Qr[In]-=an-Cr}else{var bn=ir[_e];this._widgetSizesCache.set(Mt,bn),Qr[_e]=0;var In=Qr.map(function(Jr){return Jr>0}).lastIndexOf(!0);if(In===-1)return;Qr[In]=ir[In]+bn+Cr}return Qr.map(function(Jr){return Jr/(Kr+Cr)})}},ze.prototype._evtClick=function(_e){var De=_e.target;if(De){var Mt=Wa.findFirstIndex(this.titles,function(jt){return jt.contains(De)});Mt>=0&&(_e.preventDefault(),_e.stopPropagation(),this._toggleExpansion(Mt))}},ze.prototype._eventKeyDown=function(_e){if(!_e.defaultPrevented){var De=_e.target,Mt=!1;if(De){var jt=Wa.findFirstIndex(this.titles,function(bn){return bn.contains(De)});if(jt>=0){var ir=_e.keyCode.toString();if(_e.key.match(/Space|Enter/)||ir.match(/13|32/))De.click(),Mt=!0;else if(this.orientation===\"horizontal\"?_e.key.match(/ArrowLeft|ArrowRight/)||ir.match(/37|39/):_e.key.match(/ArrowUp|ArrowDown/)||ir.match(/38|40/)){var Cr=_e.key.match(/ArrowLeft|ArrowUp/)||ir.match(/37|38/)?-1:1,Kr=this.titles.length,Qr=(jt+Kr+Cr)%Kr;this.titles[Qr].focus(),Mt=!0}else _e.key===\"End\"||ir===\"35\"?(this.titles[this.titles.length-1].focus(),Mt=!0):(_e.key===\"Home\"||ir===\"36\")&&(this.titles[0].focus(),Mt=!0)}Mt&&_e.preventDefault()}}},ze.prototype._toggleExpansion=function(_e){var De=this.titles[_e],Mt=this.layout.widgets[_e],jt=this._computeWidgetSize(_e);jt&&this.setRelativeSizes(jt,!1),Mt.isHidden?(De.classList.add(\"lm-mod-expanded\"),De.setAttribute(\"aria-expanded\",\"true\"),Mt.show()):(De.classList.remove(\"lm-mod-expanded\"),De.setAttribute(\"aria-expanded\",\"false\"),Mt.hide())},ze}(Xy);(function(Je){var ze=function(_e){yf(De,_e);function De(){var Mt=_e.call(this)||this;return Mt.titleClassName=\"lm-AccordionPanel-title\",Mt._titleID=0,Mt._titleKeys=new WeakMap,Mt._uuid=++De._nInstance,Mt}return De.prototype.createCollapseIcon=function(Mt){return document.createElement(\"span\")},De.prototype.createSectionTitle=function(Mt){var jt=document.createElement(\"h3\");jt.setAttribute(\"role\",\"button\"),jt.setAttribute(\"tabindex\",\"0\"),jt.id=this.createTitleKey(Mt),jt.className=this.titleClassName;for(var ir in Mt.dataset)jt.dataset[ir]=Mt.dataset[ir];var Cr=jt.appendChild(this.createCollapseIcon(Mt));Cr.className=\"lm-AccordionPanel-titleCollapser\";var Kr=jt.appendChild(document.createElement(\"span\"));return Kr.className=\"lm-AccordionPanel-titleLabel\",Kr.textContent=Mt.label,Kr.title=Mt.caption||Mt.label,jt},De.prototype.createTitleKey=function(Mt){var jt=this._titleKeys.get(Mt);return jt===void 0&&(jt=\"title-key-\"+this._uuid+\"-\"+this._titleID++,this._titleKeys.set(Mt,jt)),jt},De._nInstance=0,De}(Xy.Renderer);Je.Renderer=ze,Je.defaultRenderer=new ze})(kw||(kw={}));var Lw;(function(Je){function ze(_e){return _e.layout||new qO({renderer:_e.renderer||kw.defaultRenderer,orientation:_e.orientation,alignment:_e.alignment,spacing:_e.spacing,titleSpace:_e.titleSpace})}Je.createLayout=ze})(Lw||(Lw={}));var sv=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this)||this;return De._fixed=0,De._spacing=4,De._dirty=!1,De._sizers=[],De._items=[],De._box=null,De._alignment=\"start\",De._direction=\"top-to-bottom\",_e.direction!==void 0&&(De._direction=_e.direction),_e.alignment!==void 0&&(De._alignment=_e.alignment),_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,this._sizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"direction\",{get:function(){return this._direction},set:function(_e){this._direction!==_e&&(this._direction=_e,this.parent&&(this.parent.dataset.direction=_e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"alignment\",{get:function(){return this._alignment},set:function(_e){this._alignment!==_e&&(this._alignment=_e,this.parent&&(this.parent.dataset.alignment=_e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,Je.prototype.init.call(this)},ze.prototype.attachWidget=function(_e,De){Wa.insert(this._items,_e,new Zy(De)),Wa.insert(this._sizers,_e,new Cp),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),Wa.move(this._sizers,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);Wa.removeAt(this._sizers,_e),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=this._items.length;De0)switch(this._alignment){case\"start\":break;case\"center\":an=0,Jr=In/2;break;case\"end\":an=0,Jr=In;break;case\"justify\":an=In/Mt,Jr=0;break;default:throw\"unreachable\"}for(var jt=0,ir=this._items.length;jt=jt.length)Mt.scrollTop=0;else{var Ti=Mt.children[Kr];Eu.scrollIntoViewIfNeeded(Mt,Ti)}},ze.prototype._evtClick=function(_e){if(_e.button===0){if(_e.target.classList.contains(\"lm-close-icon\")){this.inputNode.value=\"\",this.refresh();return}var De=Wa.findFirstIndex(this.contentNode.children,function(Mt){return Mt.contains(_e.target)});De!==-1&&(_e.preventDefault(),_e.stopPropagation(),this._execute(De))}},ze.prototype._evtKeyDown=function(_e){if(!(_e.altKey||_e.ctrlKey||_e.metaKey||_e.shiftKey))switch(_e.keyCode){case 13:_e.preventDefault(),_e.stopPropagation(),this._execute(this._activeIndex);break;case 38:_e.preventDefault(),_e.stopPropagation(),this._activatePreviousItem();break;case 40:_e.preventDefault(),_e.stopPropagation(),this._activateNextItem();break}},ze.prototype._activateNextItem=function(){if(!(!this._results||this._results.length===0)){var _e=this._activeIndex,De=this._results.length,Mt=_e=this._items.length)&&(_e=-1),_e!==-1&&!md.canActivate(this._items[_e])&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"items\",{get:function(){return this._items},enumerable:!0,configurable:!0}),ze.prototype.activateNextItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<_e-1?De+1:0,jt=Mt===0?_e-1:Mt-1;this.activeIndex=Wa.findFirstIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.activatePreviousItem=function(){var _e=this._items.length,De=this._activeIndex,Mt=De<=0?_e-1:De-1,jt=Mt===_e-1?0:Mt+1;this.activeIndex=Wa.findLastIndex(this._items,md.canActivate,Mt,jt)},ze.prototype.triggerActiveItem=function(){if(this.isAttached){var _e=this.activeItem;if(_e){if(this._cancelOpenTimer(),this._cancelCloseTimer(),_e.type===\"submenu\"){this._openChildMenu(!0);return}this.rootMenu.close();var De=_e.command,Mt=_e.args;this.commands.isEnabled(De,Mt)?this.commands.execute(De,Mt):console.log(\"Command '\"+De+\"' is disabled.\")}}},ze.prototype.addItem=function(_e){return this.insertItem(this._items.length,_e)},ze.prototype.insertItem=function(_e,De){this.isAttached&&this.close(),this.activeIndex=-1;var Mt=Math.max(0,Math.min(_e,this._items.length)),jt=md.createItem(this,De);return Wa.insert(this._items,Mt,jt),this.update(),jt},ze.prototype.removeItem=function(_e){this.removeItemAt(this._items.indexOf(_e))},ze.prototype.removeItemAt=function(_e){this.isAttached&&this.close(),this.activeIndex=-1;var De=Wa.removeAt(this._items,_e);De&&this.update()},ze.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,this._items.length!==0&&(this._items.length=0,this.update())},ze.prototype.open=function(_e,De,Mt){if(Mt===void 0&&(Mt={}),!this.isAttached){var jt=Mt.forceX||!1,ir=Mt.forceY||!1;md.openRootMenu(this,_e,De,jt,ir),this.activate()}},ze.prototype.handleEvent=function(_e){switch(_e.type){case\"keydown\":this._evtKeyDown(_e);break;case\"mouseup\":this._evtMouseUp(_e);break;case\"mousemove\":this._evtMouseMove(_e);break;case\"mouseenter\":this._evtMouseEnter(_e);break;case\"mouseleave\":this._evtMouseLeave(_e);break;case\"mousedown\":this._evtMouseDown(_e);break;case\"contextmenu\":_e.preventDefault(),_e.stopPropagation();break}},ze.prototype.onBeforeAttach=function(_e){this.node.addEventListener(\"keydown\",this),this.node.addEventListener(\"mouseup\",this),this.node.addEventListener(\"mousemove\",this),this.node.addEventListener(\"mouseenter\",this),this.node.addEventListener(\"mouseleave\",this),this.node.addEventListener(\"contextmenu\",this),document.addEventListener(\"mousedown\",this,!0)},ze.prototype.onAfterDetach=function(_e){this.node.removeEventListener(\"keydown\",this),this.node.removeEventListener(\"mouseup\",this),this.node.removeEventListener(\"mousemove\",this),this.node.removeEventListener(\"mouseenter\",this),this.node.removeEventListener(\"mouseleave\",this),this.node.removeEventListener(\"contextmenu\",this),document.removeEventListener(\"mousedown\",this,!0)},ze.prototype.onActivateRequest=function(_e){this.isAttached&&this.node.focus()},ze.prototype.onUpdateRequest=function(_e){for(var De=this,Mt=this._items,jt=this.renderer,ir=this._activeIndex,Cr=md.computeCollapsed(Mt),Kr=new Array(Mt.length),Qr=function(an,Jr){var Er=Mt[an],ke=an===ir,Pn=Cr[an];Kr[an]=jt.renderItem({item:Er,active:ke,collapsed:Pn,onfocus:function(){De.activeIndex=an}})},bn=0,In=Mt.length;bn=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:\"lm-Menu-itemMnemonic p-Menu-itemMnemonic\"},Qr);return[Cr,bn,Kr]},_e.prototype.formatShortcut=function(De){var Mt=De.item.keyBinding;return Mt?Dg.formatKeystroke(Mt.keys):null},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(Og||(Og={}));var md;(function(Je){Je.TIMER_DELAY=300,Je.SUBMENU_OVERLAP=3;var ze=null,_e=0;function De(){return _e>0?(_e--,ze):bn()}function Mt(){ze=bn(),_e++}Je.saveWindowData=Mt;function jt(){var ke=document.createElement(\"div\"),Pn=document.createElement(\"ul\");return Pn.className=\"lm-Menu-content\",Pn.classList.add(\"p-Menu-content\"),ke.appendChild(Pn),Pn.setAttribute(\"role\",\"menu\"),ke.tabIndex=0,ke}Je.createNode=jt;function ir(ke){return ke.type!==\"separator\"&&ke.isEnabled&&ke.isVisible}Je.canActivate=ir;function Cr(ke,Pn){return new Er(ke.commands,Pn)}Je.createItem=Cr;function Kr(ke,Pn,Ti){for(var Ei=ke;Ei;Ei=Ei.childMenu)if(Eu.hitTest(Ei.node,Pn,Ti))return!0;return!1}Je.hitTestMenus=Kr;function Qr(ke){var Pn=new Array(ke.length);Wa.fill(Pn,!1);for(var Ti=0,Ei=ke.length;Ti=0;--Xi){var hi=ke[Xi];if(hi.isVisible){if(hi.type!==\"separator\")break;Pn[Xi]=!0}}for(var ra=!1;++Tira+Ii&&(Pn=ra+Ii-Vn),!hi&&Ti+Bi>_i+Ki&&(Ti>_i+Ki?Ti=_i+Ki-Bi:Ti=Ti-Bi),Yn.transform=\"translate(\"+Math.max(0,Pn)+\"px, \"+Math.max(0,Ti)+\"px\",Yn.opacity=\"1\"}Je.openRootMenu=In;function an(ke,Pn){var Ti=De(),Ei=Ti.pageXOffset,hi=Ti.pageYOffset,Xi=Ti.clientWidth,ra=Ti.clientHeight;go.sendMessage(ke,So.Msg.UpdateRequest);var _i=ra,Ii=ke.node,Ki=Ii.style;Ki.opacity=\"0\",Ki.maxHeight=_i+\"px\",So.attach(ke,document.body);var $n=Ii.getBoundingClientRect(),Kn=$n.width,Yn=$n.height,Hi=Eu.boxSizing(ke.node),Vn=Pn.getBoundingClientRect(),Bi=Vn.right-Je.SUBMENU_OVERLAP;Bi+Kn>Ei+Xi&&(Bi=Vn.left+Je.SUBMENU_OVERLAP-Kn);var Oa=Vn.top-Hi.borderTop-Hi.paddingTop;Oa+Yn>hi+ra&&(Oa=Vn.bottom+Hi.borderBottom+Hi.paddingBottom-Yn),Ki.transform=\"translate(\"+Math.max(0,Bi)+\"px, \"+Math.max(0,Oa)+\"px\",Ki.opacity=\"1\"}Je.openSubmenu=an;function Jr(ke,Pn,Ti){for(var Ei=-1,hi=-1,Xi=!1,ra=Pn.toUpperCase(),_i=0,Ii=ke.length;_i=0&&Yn=this._titles.length)&&(_e=-1),this._currentIndex!==_e){var De=this._currentIndex,Mt=this._titles[De]||null,jt=_e,ir=this._titles[jt]||null;this._currentIndex=jt,this._previousTitle=Mt,this.update(),this._currentChanged.emit({previousIndex:De,previousTitle:Mt,currentIndex:jt,currentTitle:ir})}},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"name\",{get:function(){return this._name},set:function(_e){this._name=_e,_e?this.contentNode.setAttribute(\"aria-label\",_e):this.contentNode.removeAttribute(\"aria-label\")},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"orientation\",{get:function(){return this._orientation},set:function(_e){this._orientation!==_e&&(this._releaseMouse(),this._orientation=_e,this.dataset.orientation=_e,this.contentNode.setAttribute(\"aria-orientation\",_e))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"addButtonEnabled\",{get:function(){return this._addButtonEnabled},set:function(_e){this._addButtonEnabled!==_e&&(this._addButtonEnabled=_e,_e?this.addButtonNode.classList.remove(\"lm-mod-hidden\"):this.addButtonNode.classList.add(\"lm-mod-hidden\"))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"titles\",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"contentNode\",{get:function(){return this.node.getElementsByClassName(\"lm-TabBar-content\")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"addButtonNode\",{get:function(){return this.node.getElementsByClassName(\"lm-TabBar-addButton\")[0]},enumerable:!0,configurable:!0}),ze.prototype.addTab=function(_e){return this.insertTab(this._titles.length,_e)},ze.prototype.insertTab=function(_e,De){this._releaseMouse();var Mt=qd.asTitle(De),jt=this._titles.indexOf(Mt),ir=Math.max(0,Math.min(_e,this._titles.length));return jt===-1?(Wa.insert(this._titles,ir,Mt),Mt.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(ir,Mt),Mt):(ir===this._titles.length&&ir--,jt===ir||(Wa.move(this._titles,jt,ir),this.update(),this._adjustCurrentForMove(jt,ir)),Mt)},ze.prototype.removeTab=function(_e){this.removeTabAt(this._titles.indexOf(_e))},ze.prototype.removeTabAt=function(_e){this._releaseMouse();var De=Wa.removeAt(this._titles,_e);De&&(De.changed.disconnect(this._onTitleChanged,this),De===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(_e,De))},ze.prototype.clearTabs=function(){if(this._titles.length!==0){this._releaseMouse();for(var _e=0,De=this._titles;_e0&&ir.children[0].focus()}}}},ze.prototype._evtKeyDown=function(_e){_e.preventDefault(),_e.stopPropagation(),_e.keyCode===27&&this._releaseMouse()},ze.prototype._evtMouseDown=function(_e){if(!(_e.button!==0&&_e.button!==1)&&!this._dragData){var De=this.addButtonEnabled&&this.addButtonNode.contains(_e.target),Mt=this.contentNode.children,jt=Wa.findFirstIndex(Mt,function(Cr){return Eu.hitTest(Cr,_e.clientX,_e.clientY)});if(!(jt===-1&&!De)&&(_e.preventDefault(),_e.stopPropagation(),this._dragData={tab:Mt[jt],index:jt,pressX:_e.clientX,pressY:_e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener(\"mouseup\",this,!0),this.document.addEventListener(\"pointerup\",this,!0),!(_e.button===1||De))){var ir=Mt[jt].querySelector(this.renderer.closeIconSelector);ir&&ir.contains(_e.target)||(this.tabsMovable&&(this.document.addEventListener(\"mousemove\",this,!0),this.document.addEventListener(\"pointermove\",this,!0),this.document.addEventListener(\"keydown\",this,!0),this.document.addEventListener(\"contextmenu\",this,!0)),this.allowDeselect&&this.currentIndex===jt?this.currentIndex=-1:this.currentIndex=jt,this.currentIndex!==-1&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},ze.prototype._evtMouseMove=function(_e){var De=this._dragData;if(De){_e.preventDefault(),_e.stopPropagation();var Mt=this.contentNode.children;if(!(!De.dragActive&&!qd.dragExceeded(De,_e))){if(!De.dragActive){var jt=De.tab.getBoundingClientRect();this._orientation===\"horizontal\"?(De.tabPos=De.tab.offsetLeft,De.tabSize=jt.width,De.tabPressPos=De.pressX-jt.left):(De.tabPos=De.tab.offsetTop,De.tabSize=jt.height,De.tabPressPos=De.pressY-jt.top),De.tabLayout=qd.snapTabLayout(Mt,this._orientation),De.contentRect=this.contentNode.getBoundingClientRect(),De.override=Sp.overrideCursor(\"default\"),De.tab.classList.add(\"lm-mod-dragging\"),this.addClass(\"lm-mod-dragging\"),De.tab.classList.add(\"p-mod-dragging\"),this.addClass(\"p-mod-dragging\"),De.dragActive=!0}if(!De.detachRequested&&qd.detachExceeded(De,_e)){De.detachRequested=!0;var ir=De.index,Cr=_e.clientX,Kr=_e.clientY,Qr=Mt[ir],bn=this._titles[ir];if(this._tabDetachRequested.emit({index:ir,title:bn,tab:Qr,clientX:Cr,clientY:Kr}),De.dragAborted)return}qd.layoutTabs(Mt,De,_e,this._orientation)}}},ze.prototype._evtMouseUp=function(_e){var De=this;if(!(_e.button!==0&&_e.button!==1)){var Mt=this._dragData;if(Mt){if(_e.preventDefault(),_e.stopPropagation(),this.document.removeEventListener(\"mousemove\",this,!0),this.document.removeEventListener(\"mouseup\",this,!0),this.document.removeEventListener(\"pointermove\",this,!0),this.document.removeEventListener(\"pointerup\",this,!0),this.document.removeEventListener(\"keydown\",this,!0),this.document.removeEventListener(\"contextmenu\",this,!0),!Mt.dragActive){this._dragData=null;var jt=this.addButtonEnabled&&this.addButtonNode.contains(_e.target);if(jt){this._addRequested.emit(void 0);return}var ir=this.contentNode.children,Cr=Wa.findFirstIndex(ir,function(In){return Eu.hitTest(In,_e.clientX,_e.clientY)});if(Cr!==Mt.index)return;var Kr=this._titles[Cr];if(!Kr.closable)return;if(_e.button===1){this._tabCloseRequested.emit({index:Cr,title:Kr});return}var Qr=ir[Cr].querySelector(this.renderer.closeIconSelector);if(Qr&&Qr.contains(_e.target)){this._tabCloseRequested.emit({index:Cr,title:Kr});return}return}if(_e.button===0){qd.finalizeTabPosition(Mt,this._orientation),Mt.tab.classList.remove(\"lm-mod-dragging\"),Mt.tab.classList.remove(\"p-mod-dragging\");var bn=qd.parseTransitionDuration(Mt.tab);setTimeout(function(){if(!Mt.dragAborted){De._dragData=null,qd.resetTabPositions(De.contentNode.children,De._orientation),Mt.override.dispose(),De.removeClass(\"lm-mod-dragging\"),De.removeClass(\"p-mod-dragging\");var In=Mt.index,an=Mt.targetIndex;an===-1||In===an||(Wa.move(De._titles,In,an),De._adjustCurrentForMove(In,an),De._tabMoved.emit({fromIndex:In,toIndex:an,title:De._titles[an]}),go.sendMessage(De,So.Msg.UpdateRequest))}},bn)}}}},ze.prototype._releaseMouse=function(){var _e=this._dragData;_e&&(this._dragData=null,this.document.removeEventListener(\"mousemove\",this,!0),this.document.removeEventListener(\"mouseup\",this,!0),this.document.removeEventListener(\"pointermove\",this,!0),this.document.removeEventListener(\"pointerup\",this,!0),this.document.removeEventListener(\"keydown\",this,!0),this.document.removeEventListener(\"contextmenu\",this,!0),_e.dragAborted=!0,_e.dragActive&&(qd.resetTabPositions(this.contentNode.children,this._orientation),_e.override.dispose(),_e.tab.classList.remove(\"lm-mod-dragging\"),this.removeClass(\"lm-mod-dragging\"),_e.tab.classList.remove(\"p-mod-dragging\"),this.removeClass(\"p-mod-dragging\")))},ze.prototype._adjustCurrentForInsert=function(_e,De){var Mt=this.currentTitle,jt=this._currentIndex,ir=this.insertBehavior;if(ir===\"select-tab\"||ir===\"select-tab-if-needed\"&&jt===-1){this._currentIndex=_e,this._previousTitle=Mt,this._currentChanged.emit({previousIndex:jt,previousTitle:Mt,currentIndex:_e,currentTitle:De});return}jt>=_e&&this._currentIndex++},ze.prototype._adjustCurrentForMove=function(_e,De){this._currentIndex===_e?this._currentIndex=De:this._currentIndex<_e&&this._currentIndex>=De?this._currentIndex++:this._currentIndex>_e&&this._currentIndex<=De&&this._currentIndex--},ze.prototype._adjustCurrentForRemove=function(_e,De){var Mt=this._currentIndex,jt=this.removeBehavior;if(Mt!==_e){Mt>_e&&this._currentIndex--;return}if(this._titles.length===0){this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null});return}if(jt===\"select-tab-after\"){this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt===\"select-tab-before\"){this._currentIndex=Math.max(0,_e-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}if(jt===\"select-previous-tab\"){this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(_e,this._titles.length-1),this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:this._currentIndex,currentTitle:this.currentTitle});return}this._currentIndex=-1,this._currentChanged.emit({previousIndex:_e,previousTitle:De,currentIndex:-1,currentTitle:null})},ze.prototype._onTitleChanged=function(_e){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){this.closeIconSelector=\".lm-TabBar-tabCloseIcon\",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++_e._nInstance}return _e.prototype.renderTab=function(De){var Mt=De.title.caption,jt=this.createTabKey(De),ir=jt,Cr=this.createTabStyle(De),Kr=this.createTabClass(De),Qr=this.createTabDataset(De),bn=this.createTabARIA(De);return De.title.closable?_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De),this.renderCloseIcon(De)):_u.li(Fh({id:ir,key:jt,className:Kr,title:Mt,style:Cr,dataset:Qr},bn),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=De.title,jt=this.createIconClass(De);return typeof Mt.icon==\"string\"?_u.div({className:jt},Mt.iconLabel):_u.div({className:jt},Mt.icon,Mt.iconLabel)},_e.prototype.renderLabel=function(De){return _u.div({className:\"lm-TabBar-tabLabel p-TabBar-tabLabel\"},De.title.label)},_e.prototype.renderCloseIcon=function(De){return _u.div({className:\"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon\"})},_e.prototype.createTabKey=function(De){var Mt=this._tabKeys.get(De.title);return Mt===void 0&&(Mt=\"tab-key-\"+this._uuid+\"-\"+this._tabID++,this._tabKeys.set(De.title,Mt)),Mt},_e.prototype.createTabStyle=function(De){return{zIndex:\"\"+De.zIndex}},_e.prototype.createTabClass=function(De){var Mt=\"lm-TabBar-tab\";return Mt+=\" p-TabBar-tab\",De.title.className&&(Mt+=\" \"+De.title.className),De.title.closable&&(Mt+=\" lm-mod-closable\",Mt+=\" p-mod-closable\"),De.current&&(Mt+=\" lm-mod-current\",Mt+=\" p-mod-current\"),Mt},_e.prototype.createTabDataset=function(De){return De.title.dataset},_e.prototype.createTabARIA=function(De){return{role:\"tab\",\"aria-selected\":De.current.toString()}},_e.prototype.createIconClass=function(De){var Mt=\"lm-TabBar-tabIcon\";Mt+=\" p-TabBar-tabIcon\";var jt=De.title.iconClass;return jt?Mt+\" \"+jt:Mt},_e._nInstance=0,_e}();Je.Renderer=ze,Je.defaultRenderer=new ze,Je.addButtonSelector=\".lm-TabBar-addButton\"})(Bg||(Bg={}));var qd;(function(Je){Je.DRAG_THRESHOLD=5,Je.DETACH_THRESHOLD=20;function ze(){var bn=document.createElement(\"div\"),In=document.createElement(\"ul\");In.setAttribute(\"role\",\"tablist\"),In.className=\"lm-TabBar-content\",In.classList.add(\"p-TabBar-content\"),bn.appendChild(In);var an=document.createElement(\"div\");return an.className=\"lm-TabBar-addButton lm-mod-hidden\",bn.appendChild(an),bn}Je.createNode=ze;function _e(bn){return bn instanceof Sw?bn:new Sw(bn)}Je.asTitle=_e;function De(bn){var In=window.getComputedStyle(bn);return 1e3*(parseFloat(In.transitionDuration)||0)}Je.parseTransitionDuration=De;function Mt(bn,In){for(var an=new Array(bn.length),Jr=0,Er=bn.length;Jr=Je.DRAG_THRESHOLD||Jr>=Je.DRAG_THRESHOLD}Je.dragExceeded=jt;function ir(bn,In){var an=bn.contentRect;return In.clientX=an.right+Je.DETACH_THRESHOLD||In.clientY=an.bottom+Je.DETACH_THRESHOLD}Je.detachExceeded=ir;function Cr(bn,In,an,Jr){var Er,ke,Pn,Ti;Jr===\"horizontal\"?(Er=In.pressX,ke=an.clientX-In.contentRect.left,Pn=an.clientX,Ti=In.contentRect.width):(Er=In.pressY,ke=an.clientY-In.contentRect.top,Pn=an.clientY,Ti=In.contentRect.height);for(var Ei=In.index,hi=ke-In.tabPressPos,Xi=hi+In.tabSize,ra=0,_i=bn.length;ra<_i;++ra){var Ii=void 0,Ki=In.tabLayout[ra],$n=Ki.pos+(Ki.size>>1);if(raIn.index&&Xi>$n)Ii=-In.tabSize-Ki.margin+\"px\",Ei=Math.max(Ei,ra);else if(ra===In.index){var Kn=Pn-Er,Yn=Ti-(In.tabPos+In.tabSize);Ii=Math.max(-In.tabPos,Math.min(Kn,Yn))+\"px\"}else Ii=\"\";Jr===\"horizontal\"?bn[ra].style.left=Ii:bn[ra].style.top=Ii}In.targetIndex=Ei}Je.layoutTabs=Cr;function Kr(bn,In){var an;In===\"horizontal\"?an=bn.contentRect.width:an=bn.contentRect.height;var Jr;if(bn.targetIndex===bn.index)Jr=0;else if(bn.targetIndex>bn.index){var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos+Er.size-bn.tabSize-bn.tabPos}else{var Er=bn.tabLayout[bn.targetIndex];Jr=Er.pos-bn.tabPos}var ke=an-(bn.tabPos+bn.tabSize),Pn=Math.max(-bn.tabPos,Math.min(Jr,ke));In===\"horizontal\"?bn.tab.style.left=Pn+\"px\":bn.tab.style.top=Pn+\"px\"}Je.finalizeTabPosition=Kr;function Qr(bn,In){Os(bn,function(an){In===\"horizontal\"?an.style.left=\"\":an.style.top=\"\"})}Je.resetTabPositions=Qr})(qd||(qd={}));var HO=function(Je){yf(ze,Je);function ze(_e){var De=Je.call(this)||this;return De._spacing=4,De._dirty=!1,De._root=null,De._box=null,De._items=new Map,De.renderer=_e.renderer,_e.spacing!==void 0&&(De._spacing=Wy.clampDimension(_e.spacing)),De._document=_e.document||document,De._hiddenMode=_e.hiddenMode!==void 0?_e.hiddenMode:So.HiddenMode.Display,De}return ze.prototype.dispose=function(){var _e=this.iter();this._items.forEach(function(De){De.dispose()}),this._box=null,this._root=null,this._items.clear(),Os(_e,function(De){De.dispose()}),Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"hiddenMode\",{get:function(){return this._hiddenMode},set:function(_e){var De=this;this._hiddenMode!==_e&&(this._hiddenMode=_e,Os(this.tabBars(),function(Mt){Mt.titles.length>1&&Mt.titles.forEach(function(jt){jt.owner.hiddenMode=De._hiddenMode})}))},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"spacing\",{get:function(){return this._spacing},set:function(_e){_e=Wy.clampDimension(_e),this._spacing!==_e&&(this._spacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"isEmpty\",{get:function(){return this._root===null},enumerable:!0,configurable:!0}),ze.prototype.iter=function(){return this._root?this._root.iterAllWidgets():Id()},ze.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():Id()},ze.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():Id()},ze.prototype.tabBars=function(){return this._root?this._root.iterTabBars():Id()},ze.prototype.handles=function(){return this._root?this._root.iterHandles():Id()},ze.prototype.moveHandle=function(_e,De,Mt){var jt=_e.classList.contains(\"lm-mod-hidden\");if(jt=jt||_e.classList.contains(\"p-mod-hidden\"),!(!this._root||jt)){var ir=this._root.findSplitNode(_e);if(ir){var Cr;ir.node.orientation===\"horizontal\"?Cr=De-_e.offsetLeft:Cr=Mt-_e.offsetTop,Cr!==0&&(ir.node.holdSizes(),Dd.adjust(ir.node.sizers,ir.index,Cr),this.parent&&this.parent.update())}}},ze.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},ze.prototype.restoreLayout=function(_e){var De=this,Mt=new Set,jt;_e.main?jt=ah.normalizeAreaConfig(_e.main,Mt):jt=null;var ir=this.widgets(),Cr=this.tabBars(),Kr=this.handles();this._root=null,Os(ir,function(Qr){Mt.has(Qr)||(Qr.parent=null)}),Os(Cr,function(Qr){Qr.dispose()}),Os(Kr,function(Qr){Qr.parentNode&&Qr.parentNode.removeChild(Qr)}),Mt.forEach(function(Qr){Qr.parent=De.parent}),jt?this._root=ah.realizeAreaConfig(jt,{createTabBar:function(Qr){return De._createTabBar()},createHandle:function(){return De._createHandle()}},this._document):this._root=null,this.parent&&(Mt.forEach(function(Qr){De.attachWidget(Qr)}),this.parent.fit())},ze.prototype.addWidget=function(_e,De){De===void 0&&(De={});var Mt=De.ref||null,jt=De.mode||\"tab-after\",ir=null;if(this._root&&Mt&&(ir=this._root.findTabNode(Mt)),Mt&&!ir)throw new Error(\"Reference widget is not in the layout.\");switch(_e.parent=this.parent,jt){case\"tab-after\":this._insertTab(_e,Mt,ir,!0);break;case\"tab-before\":this._insertTab(_e,Mt,ir,!1);break;case\"split-top\":this._insertSplit(_e,Mt,ir,\"vertical\",!1);break;case\"split-left\":this._insertSplit(_e,Mt,ir,\"horizontal\",!1);break;case\"split-right\":this._insertSplit(_e,Mt,ir,\"horizontal\",!0);break;case\"split-bottom\":this._insertSplit(_e,Mt,ir,\"vertical\",!0);break}this.parent&&(this.attachWidget(_e),this.parent.fit())},ze.prototype.removeWidget=function(_e){this._removeWidget(_e),this.parent&&(this.detachWidget(_e),this.parent.fit())},ze.prototype.hitTestTabAreas=function(_e,De){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=Eu.boxSizing(this.parent.node));var Mt=this.parent.node.getBoundingClientRect(),jt=_e-Mt.left-this._box.borderLeft,ir=De-Mt.top-this._box.borderTop,Cr=this._root.hitTestTabNodes(jt,ir);if(!Cr)return null;var Kr=Cr.tabBar,Qr=Cr.top,bn=Cr.left,In=Cr.width,an=Cr.height,Jr=this._box.borderLeft+this._box.borderRight,Er=this._box.borderTop+this._box.borderBottom,ke=Mt.width-Jr-(bn+In),Pn=Mt.height-Er-(Qr+an);return{tabBar:Kr,x:jt,y:ir,top:Qr,left:bn,right:ke,bottom:Pn,width:In,height:an}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)}),Os(this.handles(),function(De){_e.parent.node.appendChild(De)}),this.parent.fit()},ze.prototype.attachWidget=function(_e){this.parent.node!==_e.node.parentNode&&(this._items.set(_e,new Zy(_e)),this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach))},ze.prototype.detachWidget=function(_e){if(this.parent.node===_e.node.parentNode){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach);var De=this._items.get(_e);De&&(this._items.delete(_e),De.dispose())}},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._removeWidget=function(_e){if(this._root){var De=this._root.findTabNode(_e);if(De){if(ah.removeAria(_e),De.tabBar.titles.length>1){if(De.tabBar.removeTab(_e.title),this._hiddenMode===So.HiddenMode.Scale&&De.tabBar.titles.length==1){var Mt=De.tabBar.titles[0].owner;Mt.hiddenMode=So.HiddenMode.Display}return}if(De.tabBar.dispose(),this._root===De){this._root=null;return}this._root.holdAllSizes();var jt=De.parent;De.parent=null;var ir=Wa.removeFirstOf(jt.children,De),Cr=Wa.removeAt(jt.handles,ir);if(Wa.removeAt(jt.sizers,ir),Cr.parentNode&&Cr.parentNode.removeChild(Cr),jt.children.length>1){jt.syncHandles();return}var Kr=jt.parent;jt.parent=null;var Qr=jt.children[0],bn=jt.handles[0];if(jt.children.length=0,jt.handles.length=0,jt.sizers.length=0,bn.parentNode&&bn.parentNode.removeChild(bn),this._root===jt){Qr.parent=null,this._root=Qr;return}var In=Kr,an=In.children.indexOf(jt);if(Qr instanceof ah.TabLayoutNode){Qr.parent=In,In.children[an]=Qr;return}var Jr=Wa.removeAt(In.handles,an);Wa.removeAt(In.children,an),Wa.removeAt(In.sizers,an),Jr.parentNode&&Jr.parentNode.removeChild(Jr);for(var Er=0,ke=Qr.children.length;Er=this._left+this._width||Er=this._top+this._height?null:this},an.prototype.createConfig=function(){var Jr=this.tabBar.titles.map(function(ke){return ke.owner}),Er=this.tabBar.currentIndex;return{type:\"tab-area\",widgets:Jr,currentIndex:Er}},an.prototype.holdAllSizes=function(){},an.prototype.fit=function(Jr,Er){var ke=0,Pn=0,Ti=1/0,Ei=1/0,hi=Er.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Er.get(Xi.owner):void 0,_i=this.sizers,Ii=_i[0],Ki=_i[1];return hi&&hi.fit(),ra&&ra.fit(),hi&&!hi.isHidden?(ke=Math.max(ke,hi.minWidth),Pn+=hi.minHeight,Ii.minSize=hi.minHeight,Ii.maxSize=hi.maxHeight):(Ii.minSize=0,Ii.maxSize=0),ra&&!ra.isHidden?(ke=Math.max(ke,ra.minWidth),Pn+=ra.minHeight,Ki.minSize=ra.minHeight,Ki.maxSize=1/0):(Ki.minSize=0,Ki.maxSize=1/0),{minWidth:ke,minHeight:Pn,maxWidth:Ti,maxHeight:Ei}},an.prototype.update=function(Jr,Er,ke,Pn,Ti,Ei){this._top=Er,this._left=Jr,this._width=ke,this._height=Pn;var hi=Ei.get(this.tabBar),Xi=this.tabBar.currentTitle,ra=Xi?Ei.get(Xi.owner):void 0;if(Dd.calc(this.sizers,Pn),hi&&!hi.isHidden){var _i=this.sizers[0].size;hi.update(Jr,Er,ke,_i),Er+=_i}if(ra&&!ra.isHidden){var _i=this.sizers[1].size;ra.update(Jr,Er,ke,_i)}},an}();Je.TabLayoutNode=Mt;var jt=function(){function an(Jr){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=Jr}return an.prototype.iterAllWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterAllWidgets()});return new wm(Jr)},an.prototype.iterUserWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterUserWidgets()});return new wm(Jr)},an.prototype.iterSelectedWidgets=function(){var Jr=Ap(this.children,function(Er){return Er.iterSelectedWidgets()});return new wm(Jr)},an.prototype.iterTabBars=function(){var Jr=Ap(this.children,function(Er){return Er.iterTabBars()});return new wm(Jr)},an.prototype.iterHandles=function(){var Jr=Ap(this.children,function(Er){return Er.iterHandles()});return pw(this.handles,new wm(Jr))},an.prototype.findTabNode=function(Jr){for(var Er=0,ke=this.children.length;Er=Er.length)&&(ke=0),{type:\"tab-area\",widgets:Er,currentIndex:ke}}function Qr(an,Jr){for(var Er=an.orientation,ke=[],Pn=[],Ti=0,Ei=an.children.length;Tira&&Ei>ra&&Ti>_i&&hi>_i)return{zone:\"widget-all\",target:ke};Pn/=ra,Ti/=_i,Ei/=ra,hi/=_i;var Ii=Math.min(Pn,Ti,Ei,hi),Ki;switch(Ii){case Pn:Ki=\"widget-left\";break;case Ti:Ki=\"widget-top\";break;case Ei:Ki=\"widget-right\";break;case hi:Ki=\"widget-bottom\";break;default:throw\"unreachable\"}return{zone:Ki,target:ke}}Je.findDropTarget=_e;function De(Mt){return Mt.titles.length===0?null:Mt.currentTitle?Mt.currentTitle.owner:Mt.titles[Mt.titles.length-1].owner}Je.getDropRef=De})(Pf||(Pf={}));var WB=function(){function Je(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new Kl(this),this._currentChanged=new Kl(this)}return Je.prototype.dispose=function(){var ze=this;this._counter<0||(this._counter=-1,Kl.clearData(this),Os(this._widgets,function(_e){_e.node.removeEventListener(\"focus\",ze,!0),_e.node.removeEventListener(\"blur\",ze,!0)}),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(Je.prototype,\"currentChanged\",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"activeChanged\",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"isDisposed\",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"currentWidget\",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"activeWidget\",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(Je.prototype,\"widgets\",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),Je.prototype.focusNumber=function(ze){var _e=this._numbers.get(ze);return _e===void 0?-1:_e},Je.prototype.has=function(ze){return this._numbers.has(ze)},Je.prototype.add=function(ze){if(!this._numbers.has(ze)){var _e=ze.node.contains(document.activeElement),De=_e?this._counter++:-1;this._widgets.push(ze),this._numbers.set(ze,De),this._nodes.set(ze.node,ze),ze.node.addEventListener(\"focus\",this,!0),ze.node.addEventListener(\"blur\",this,!0),ze.disposed.connect(this._onWidgetDisposed,this),_e&&this._setWidgets(ze,ze)}},Je.prototype.remove=function(ze){var _e=this;if(this._numbers.has(ze)&&(ze.disposed.disconnect(this._onWidgetDisposed,this),ze.node.removeEventListener(\"focus\",this,!0),ze.node.removeEventListener(\"blur\",this,!0),Wa.removeFirstOf(this._widgets,ze),this._nodes.delete(ze.node),this._numbers.delete(ze),this._currentWidget===ze)){var De=RS(this._widgets,function(jt){return _e._numbers.get(jt)!==-1}),Mt=DS(De,function(jt,ir){var Cr=_e._numbers.get(jt),Kr=_e._numbers.get(ir);return Cr-Kr})||null;this._setWidgets(Mt,null)}},Je.prototype.handleEvent=function(ze){switch(ze.type){case\"focus\":this._evtFocus(ze);break;case\"blur\":this._evtBlur(ze);break}},Je.prototype._setWidgets=function(ze,_e){var De=this._currentWidget;this._currentWidget=ze;var Mt=this._activeWidget;this._activeWidget=_e,De!==ze&&this._currentChanged.emit({oldValue:De,newValue:ze}),Mt!==_e&&this._activeChanged.emit({oldValue:Mt,newValue:_e})},Je.prototype._evtFocus=function(ze){var _e=this._nodes.get(ze.currentTarget);_e!==this._currentWidget&&this._numbers.set(_e,this._counter++),this._setWidgets(_e,_e)},Je.prototype._evtBlur=function(ze){var _e=this._nodes.get(ze.currentTarget),De=ze.relatedTarget;if(!De){this._setWidgets(this._currentWidget,null);return}if(!_e.node.contains(De)&&!Pg(this._widgets,function(Mt){return Mt.node.contains(De)})){this._setWidgets(this._currentWidget,null);return}},Je.prototype._onWidgetDisposed=function(ze){this.remove(ze)},Je}(),Iw=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,_e)||this;return De._dirty=!1,De._rowSpacing=4,De._columnSpacing=4,De._items=[],De._rowStarts=[],De._columnStarts=[],De._rowSizers=[new Cp],De._columnSizers=[new Cp],De._box=null,_e.rowCount!==void 0&&_h.reallocSizers(De._rowSizers,_e.rowCount),_e.columnCount!==void 0&&_h.reallocSizers(De._columnSizers,_e.columnCount),_e.rowSpacing!==void 0&&(De._rowSpacing=_h.clampValue(_e.rowSpacing)),_e.columnSpacing!==void 0&&(De._columnSpacing=_h.clampValue(_e.columnSpacing)),De}return ze.prototype.dispose=function(){Os(this._items,function(_e){var De=_e.widget;_e.dispose(),De.dispose()}),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"rowCount\",{get:function(){return this._rowSizers.length},set:function(_e){_e!==this.rowCount&&(_h.reallocSizers(this._rowSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"columnCount\",{get:function(){return this._columnSizers.length},set:function(_e){_e!==this.columnCount&&(_h.reallocSizers(this._columnSizers,_e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"rowSpacing\",{get:function(){return this._rowSpacing},set:function(_e){_e=_h.clampValue(_e),this._rowSpacing!==_e&&(this._rowSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"columnSpacing\",{get:function(){return this._columnSpacing},set:function(_e){_e=_h.clampValue(_e),this._columnSpacing!==_e&&(this._columnSpacing=_e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),ze.prototype.rowStretch=function(_e){var De=this._rowSizers[_e];return De?De.stretch:-1},ze.prototype.setRowStretch=function(_e,De){var Mt=this._rowSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.columnStretch=function(_e){var De=this._columnSizers[_e];return De?De.stretch:-1},ze.prototype.setColumnStretch=function(_e,De){var Mt=this._columnSizers[_e];Mt&&(De=_h.clampValue(De),Mt.stretch!==De&&(Mt.stretch=De,this.parent&&this.parent.update()))},ze.prototype.iter=function(){return Ap(this._items,function(_e){return _e.widget})},ze.prototype.addWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(Mt){return Mt.widget===_e});De===-1&&(this._items.push(new Zy(_e)),this.parent&&this.attachWidget(_e))},ze.prototype.removeWidget=function(_e){var De=Wa.findFirstIndex(this._items,function(jt){return jt.widget===_e});if(De!==-1){var Mt=Wa.removeAt(this._items,De);this.parent&&this.detachWidget(_e),Mt.dispose()}},ze.prototype.init=function(){var _e=this;Je.prototype.init.call(this),Os(this,function(De){_e.attachWidget(De)})},ze.prototype.attachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeAttach),this.parent.node.appendChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.detachWidget=function(_e){this.parent.isAttached&&go.sendMessage(_e,So.Msg.BeforeDetach),this.parent.node.removeChild(_e.node),this.parent.isAttached&&go.sendMessage(_e,So.Msg.AfterDetach),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=this.rowCount;_eQr&&(Kr.length=Qr)}Je.reallocSizers=jt;function ir(Kr,Qr,bn,In){if(!(bn=In))for(var ke=(In-Jr)/(bn-Qr+1),Er=Qr;Er<=bn;++Er)Kr[Er].minSize+=ke}}Je.distributeMin=ir;function Cr(Kr){Kr.parent&&Kr.parent.layout instanceof Iw&&Kr.parent.fit()}})(_h||(_h={}));var HS=function(Je){yf(ze,Je);function ze(_e){_e===void 0&&(_e={});var De=Je.call(this,{node:Q1.createNode()})||this;return De._activeIndex=-1,De._tabFocusIndex=0,De._menus=[],De._childMenu=null,De.addClass(\"lm-MenuBar\"),De.addClass(\"p-MenuBar\"),De.setFlag(So.Flag.DisallowLayout),De.renderer=_e.renderer||ze.defaultRenderer,De._forceItemsPosition=_e.forceItemsPosition||{forceX:!0,forceY:!0},De}return ze.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,Je.prototype.dispose.call(this)},Object.defineProperty(ze.prototype,\"childMenu\",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"contentNode\",{get:function(){return this.node.getElementsByClassName(\"lm-MenuBar-content\")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"activeMenu\",{get:function(){return this._menus[this._activeIndex]||null},set:function(_e){this.activeIndex=_e?this._menus.indexOf(_e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"activeIndex\",{get:function(){return this._activeIndex},set:function(_e){(_e<0||_e>=this._menus.length)&&(_e=-1),this._activeIndex!==_e&&(this._activeIndex=_e,_e!==-1&&(this._tabFocusIndex=_e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,\"menus\",{get:function(){return this._menus},enumerable:!0,configurable:!0}),ze.prototype.openActiveMenu=function(){this._activeIndex!==-1&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},ze.prototype.addMenu=function(_e){this.insertMenu(this._menus.length,_e)},ze.prototype.insertMenu=function(_e,De){this._closeChildMenu();var Mt=this._menus.indexOf(De),jt=Math.max(0,Math.min(_e,this._menus.length));if(Mt===-1){Wa.insert(this._menus,jt,De),De.addClass(\"lm-MenuBar-menu\"),De.addClass(\"p-MenuBar-menu\"),De.aboutToClose.connect(this._onMenuAboutToClose,this),De.menuRequested.connect(this._onMenuMenuRequested,this),De.title.changed.connect(this._onTitleChanged,this),this.update();return}jt===this._menus.length&&jt--,Mt!==jt&&(Wa.move(this._menus,Mt,jt),this.update())},ze.prototype.removeMenu=function(_e){this.removeMenuAt(this._menus.indexOf(_e))},ze.prototype.removeMenuAt=function(_e){this._closeChildMenu();var De=Wa.removeAt(this._menus,_e);De&&(De.aboutToClose.disconnect(this._onMenuAboutToClose,this),De.menuRequested.disconnect(this._onMenuMenuRequested,this),De.title.changed.disconnect(this._onTitleChanged,this),De.removeClass(\"lm-MenuBar-menu\"),De.removeClass(\"p-MenuBar-menu\"),this.update())},ze.prototype.clearMenus=function(){if(this._menus.length!==0){this._closeChildMenu();for(var _e=0,De=this._menus;_e=0&&this._tabFocusIndex\"u\"||typeof Cr>\"u\")&&(De=this._positionForMenu(this._activeIndex),ir=De.left,Cr=De.top),jt||(this.addClass(\"lm-mod-active\"),this.addClass(\"p-mod-active\")),Mt.items.length>0&&Mt.open(ir,Cr,this._forceItemsPosition)}},ze.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass(\"lm-mod-active\"),this.removeClass(\"p-mod-active\"),document.removeEventListener(\"mousedown\",this,!0);var _e=this._childMenu;this._childMenu=null,_e.close(),this.activeIndex=-1}},ze.prototype._onMenuAboutToClose=function(_e){_e===this._childMenu&&(this.removeClass(\"lm-mod-active\"),this.removeClass(\"p-mod-active\"),document.removeEventListener(\"mousedown\",this,!0),this._childMenu=null,this.activeIndex=-1)},ze.prototype._onMenuMenuRequested=function(_e,De){if(_e===this._childMenu){var Mt=this._activeIndex,jt=this._menus.length;switch(De){case\"next\":this.activeIndex=Mt===jt-1?0:Mt+1;break;case\"previous\":this.activeIndex=Mt===0?jt-1:Mt-1;break}this.openActiveMenu()}},ze.prototype._onTitleChanged=function(){this.update()},ze}(So);(function(Je){var ze=function(){function _e(){}return _e.prototype.renderItem=function(De){var Mt=this.createItemClass(De),jt=this.createItemDataset(De),ir=this.createItemARIA(De);return _u.li(Fh({className:Mt,dataset:jt,tabindex:De.tabbable?\"0\":\"-1\",onfocus:De.onfocus},ir),this.renderIcon(De),this.renderLabel(De))},_e.prototype.renderIcon=function(De){var Mt=this.createIconClass(De);return typeof De.title.icon==\"string\"?_u.div({className:Mt},De.title.iconLabel):_u.div({className:Mt},De.title.icon,De.title.iconLabel)},_e.prototype.renderLabel=function(De){var Mt=this.formatLabel(De);return _u.div({className:\"lm-MenuBar-itemLabel p-MenuBar-itemLabel\"},Mt)},_e.prototype.createItemClass=function(De){var Mt=\"lm-MenuBar-item\";return Mt+=\" p-MenuBar-item\",De.title.className&&(Mt+=\" \"+De.title.className),De.active&&(Mt+=\" lm-mod-active\",Mt+=\" p-mod-active\"),Mt},_e.prototype.createItemDataset=function(De){return De.title.dataset},_e.prototype.createItemARIA=function(De){return{role:\"menuitem\",\"aria-haspopup\":\"true\"}},_e.prototype.createIconClass=function(De){var Mt=\"lm-MenuBar-itemIcon\";Mt+=\" p-MenuBar-itemIcon\";var jt=De.title.iconClass;return jt?Mt+\" \"+jt:Mt},_e.prototype.formatLabel=function(De){var Mt=De.title,jt=Mt.label,ir=Mt.mnemonic;if(ir<0||ir>=jt.length)return jt;var Cr=jt.slice(0,ir),Kr=jt.slice(ir+1),Qr=jt[ir],bn=_u.span({className:\"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic\"},Qr);return[Cr,bn,Kr]},_e}();Je.Renderer=ze,Je.defaultRenderer=new ze})(HS||(HS={}));var Q1;(function(Je){function ze(){var De=document.createElement(\"div\"),Mt=document.createElement(\"ul\");return Mt.className=\"lm-MenuBar-content\",Mt.classList.add(\"p-MenuBar-content\"),De.appendChild(Mt),Mt.setAttribute(\"role\",\"menubar\"),De}Je.createNode=ze;function _e(De,Mt,jt){for(var ir=-1,Cr=-1,Kr=!1,Qr=Mt.toUpperCase(),bn=0,In=De.length;bn=0&&Er1&&this.widgets.forEach(function(Mt){Mt.hiddenMode=De._hiddenMode}))},enumerable:!0,configurable:!0}),ze.prototype.dispose=function(){Os(this._items,function(_e){_e.dispose()}),this._box=null,this._items.length=0,Je.prototype.dispose.call(this)},ze.prototype.attachWidget=function(_e,De){this._hiddenMode===So.HiddenMode.Scale&&this._items.length>0?(this._items.length===1&&(this.widgets[0].hiddenMode=So.HiddenMode.Scale),De.hiddenMode=So.HiddenMode.Scale):De.hiddenMode=So.HiddenMode.Display,Wa.insert(this._items,_e,new Zy(De)),this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeAttach),this.parent.node.appendChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterAttach),this.parent.fit()},ze.prototype.moveWidget=function(_e,De,Mt){Wa.move(this._items,_e,De),this.parent.update()},ze.prototype.detachWidget=function(_e,De){var Mt=Wa.removeAt(this._items,_e);this.parent.isAttached&&go.sendMessage(De,So.Msg.BeforeDetach),this.parent.node.removeChild(De.node),this.parent.isAttached&&go.sendMessage(De,So.Msg.AfterDetach),Mt.widget.node.style.zIndex=\"\",this._hiddenMode===So.HiddenMode.Scale&&(De.hiddenMode=So.HiddenMode.Display,this._items.length===1&&(this._items[0].widget.hiddenMode=So.HiddenMode.Display)),Mt.dispose(),this.parent.fit()},ze.prototype.onBeforeShow=function(_e){Je.prototype.onBeforeShow.call(this,_e),this.parent.update()},ze.prototype.onBeforeAttach=function(_e){Je.prototype.onBeforeAttach.call(this,_e),this.parent.fit()},ze.prototype.onChildShown=function(_e){this.parent.fit()},ze.prototype.onChildHidden=function(_e){this.parent.fit()},ze.prototype.onResize=function(_e){this.parent.isVisible&&this._update(_e.width,_e.height)},ze.prototype.onUpdateRequest=function(_e){this.parent.isVisible&&this._update(-1,-1)},ze.prototype.onFitRequest=function(_e){this.parent.isAttached&&this._fit()},ze.prototype._fit=function(){for(var _e=0,De=0,Mt=0,jt=this._items.length;Mt{ZS.default.react(this.node,this._data,this._plotly_layout,this._config)})}},YO={safe:!0,mimeTypes:[YS],createRenderer:Je=>new zw(Je)},KO={id:\"@jupyterlab/plotly-extension:factory\",rendererFactory:YO,rank:0,dataType:\"json\",fileTypes:[{name:\"plotly\",mimeTypes:[YS],extensions:[\".plotly\",\".plotly.json\"],iconClass:ZO}],documentWidgetFactoryOptions:{name:\"Plotly\",primaryFileType:\"plotly\",fileTypes:[\"plotly\",\"json\"],defaultFor:[\"plotly\"]}},w7=KO;export{zw as PlotlyMimeRenderer,w7 as default,YO as rendererFactory};\n/*! Bundled license information:\n\nplotly.js/dist/plotly.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *)\n (*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n (*!\n * pad-left \n *\n * Copyright (c) 2014-2015, Jon Schlinkert.\n * Licensed under the MIT license.\n *)\n (*!\n * repeat-string \n *\n * Copyright (c) 2014-2015, Jon Schlinkert.\n * Licensed under the MIT License.\n *)\n (*! Bundled license information:\n \n native-promise-only/lib/npo.src.js:\n (*! Native Promise Only\n v0.8.1 (c) Kyle Simpson\n MIT License: http://getify.mit-license.org\n *)\n \n polybooljs/index.js:\n (*\n * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc\n * @license MIT\n * @preserve Project Home: https://github.com/voidqk/polybooljs\n *)\n \n ieee754/index.js:\n (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *)\n \n buffer/index.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n \n safe-buffer/index.js:\n (*! safe-buffer. MIT License. Feross Aboukhadijeh *)\n \n assert/build/internal/util/comparisons.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n *)\n \n object-assign/index.js:\n (*\n object-assign\n (c) Sindre Sorhus\n @license MIT\n *)\n \n maplibre-gl/dist/maplibre-gl.js:\n (**\n * MapLibre GL JS\n * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.1/LICENSE.txt\n *)\n *)\n\n@lumino/messaging/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/disposable/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/commands/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/virtualdom/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n\n@lumino/widgets/dist/index.es6.js:\n (*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n \n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n \n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** *)\n*/\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js deleted file mode 100644 index 1ba7d3d0bfd..00000000000 --- a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js +++ /dev/null @@ -1,368 +0,0 @@ -var _JUPYTERLAB; -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "webpack/container/entry/plotly-jupyter-mime-renderer": -/*!***********************!*\ - !*** container entry ***! - \***********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -var moduleMap = { - "./index": () => { - return __webpack_require__.e("js_mimerenderer_js").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js"))))); - }, - "./mimeExtension": () => { - return __webpack_require__.e("js_mimerenderer_js").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js"))))); - } -}; -var get = (module, getScope) => { - __webpack_require__.R = getScope; - getScope = ( - __webpack_require__.o(moduleMap, module) - ? moduleMap[module]() - : Promise.resolve().then(() => { - throw new Error('Module "' + module + '" does not exist in container.'); - }) - ); - __webpack_require__.R = undefined; - return getScope; -}; -var init = (shareScope, initScope) => { - if (!__webpack_require__.S) return; - var name = "default" - var oldScope = __webpack_require__.S[name]; - if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope"); - __webpack_require__.S[name] = shareScope; - return __webpack_require__.I(name, initScope); -}; - -// This exports getters to disallow modifications -__webpack_require__.d(exports, { - get: () => (get), - init: () => (init) -}); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = __webpack_modules__; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = __webpack_module_cache__; -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/amd options */ -/******/ (() => { -/******/ __webpack_require__.amdO = {}; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return "" + chunkId + "." + "55332f9c879f105c1219" + ".js"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/load script */ -/******/ (() => { -/******/ var inProgress = {}; -/******/ var dataWebpackPrefix = "plotly-jupyter-mime-renderer:"; -/******/ // loadScript function to load a script via script tag -/******/ __webpack_require__.l = (url, done, key, chunkId) => { -/******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; -/******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName("script"); -/******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; -/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } -/******/ } -/******/ } -/******/ if(!script) { -/******/ needAttach = true; -/******/ script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); -/******/ -/******/ script.src = url; -/******/ } -/******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; -/******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); -/******/ if(prev) return prev(event); -/******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); -/******/ needAttach && document.head.appendChild(script); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/sharing */ -/******/ (() => { -/******/ __webpack_require__.S = {}; -/******/ var initPromises = {}; -/******/ var initTokens = {}; -/******/ __webpack_require__.I = (name, initScope) => { -/******/ if(!initScope) initScope = []; -/******/ // handling circular init calls -/******/ var initToken = initTokens[name]; -/******/ if(!initToken) initToken = initTokens[name] = {}; -/******/ if(initScope.indexOf(initToken) >= 0) return; -/******/ initScope.push(initToken); -/******/ // only runs once -/******/ if(initPromises[name]) return initPromises[name]; -/******/ // creates a new share scope if needed -/******/ if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {}; -/******/ // runs all init snippets from all modules reachable -/******/ var scope = __webpack_require__.S[name]; -/******/ var warn = (msg) => { -/******/ if (typeof console !== "undefined" && console.warn) console.warn(msg); -/******/ }; -/******/ var uniqueName = "plotly-jupyter-mime-renderer"; -/******/ var register = (name, version, factory, eager) => { -/******/ var versions = scope[name] = scope[name] || {}; -/******/ var activeVersion = versions[version]; -/******/ if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager }; -/******/ }; -/******/ var initExternal = (id) => { -/******/ var handleError = (err) => (warn("Initialization of sharing external failed: " + err)); -/******/ try { -/******/ var module = __webpack_require__(id); -/******/ if(!module) return; -/******/ var initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope)) -/******/ if(module.then) return promises.push(module.then(initFn, handleError)); -/******/ var initResult = initFn(module); -/******/ if(initResult && initResult.then) return promises.push(initResult['catch'](handleError)); -/******/ } catch(err) { handleError(err); } -/******/ } -/******/ var promises = []; -/******/ switch(name) { -/******/ case "default": { -/******/ register("plotly-jupyter-mime-renderer", "0.1.0", () => (__webpack_require__.e("js_mimerenderer_js").then(() => (() => (__webpack_require__(/*! ./js/mimerenderer.js */ "./js/mimerenderer.js")))))); -/******/ } -/******/ break; -/******/ } -/******/ if(!promises.length) return initPromises[name] = 1; -/******/ return initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1)); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/publicPath */ -/******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName("script"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; -/******/ } -/******/ } -/******/ } -/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration -/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. -/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); -/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); -/******/ __webpack_require__.p = scriptUrl; -/******/ })(); -/******/ -/******/ /* webpack/runtime/jsonp chunk loading */ -/******/ (() => { -/******/ // no baseURI -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "plotly-jupyter-mime-renderer": 0 -/******/ }; -/******/ -/******/ __webpack_require__.f.j = (chunkId, promises) => { -/******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ if(true) { // all chunks have JS -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); -/******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { -/******/ if(__webpack_require__.o(installedChunks, chunkId)) { -/******/ installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; -/******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; -/******/ error.name = 'ChunkLoadError'; -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ installedChunkData[1](error); -/******/ } -/******/ } -/******/ }; -/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); -/******/ } -/******/ } -/******/ } -/******/ }; -/******/ -/******/ // no prefetching -/******/ -/******/ // no preloaded -/******/ -/******/ // no HMR -/******/ -/******/ // no HMR manifest -/******/ -/******/ // no on chunks loaded -/******/ -/******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0; -/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { -/******/ for(moduleId in moreModules) { -/******/ if(__webpack_require__.o(moreModules, moduleId)) { -/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(runtime) var result = runtime(__webpack_require__); -/******/ } -/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { -/******/ installedChunks[chunkId][0](); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ -/******/ } -/******/ -/******/ var chunkLoadingGlobal = self["webpackChunkplotly_jupyter_mime_renderer"] = self["webpackChunkplotly_jupyter_mime_renderer"] || []; -/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); -/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // module cache are used so entry inlining is disabled -/******/ // startup -/******/ // Load entry module and return exports -/******/ var __webpack_exports__ = __webpack_require__("webpack/container/entry/plotly-jupyter-mime-renderer"); -/******/ (_JUPYTERLAB = typeof _JUPYTERLAB === "undefined" ? {} : _JUPYTERLAB)["plotly-jupyter-mime-renderer"] = __webpack_exports__; -/******/ -/******/ })() -; -//# sourceMappingURL=remoteEntry.7b27ec6d46d83104dde7.js.map \ No newline at end of file diff --git a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map b/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map deleted file mode 100644 index 1cd9acd395a..00000000000 --- a/plotly/labextension/static/remoteEntry.7b27ec6d46d83104dde7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"remoteEntry.7b27ec6d46d83104dde7.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;UCjCD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;;;;WC5BA;;;;;WCAA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA;WACA,uBAAuB,4BAA4B;WACnD;WACA;WACA;WACA,iBAAiB,oBAAoB;WACrC;WACA,mGAAmG,YAAY;WAC/G;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE,iCAAiC;WACpG;WACA;WACA;WACA;;;;;WCzCA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,oJAAoJ;WACpJ;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,IAAI,aAAa;WACjB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7CA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WClBA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,iCAAiC;;WAEjC;WACA;WACA;WACA,KAAK;WACL,eAAe;WACf;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;;;;;UErFA;UACA;UACA;UACA","sources":["webpack://plotly-jupyter-mime-renderer/webpack/container-entry","webpack://plotly-jupyter-mime-renderer/webpack/bootstrap","webpack://plotly-jupyter-mime-renderer/webpack/runtime/amd options","webpack://plotly-jupyter-mime-renderer/webpack/runtime/define property getters","webpack://plotly-jupyter-mime-renderer/webpack/runtime/ensure chunk","webpack://plotly-jupyter-mime-renderer/webpack/runtime/get javascript chunk filename","webpack://plotly-jupyter-mime-renderer/webpack/runtime/global","webpack://plotly-jupyter-mime-renderer/webpack/runtime/hasOwnProperty shorthand","webpack://plotly-jupyter-mime-renderer/webpack/runtime/load script","webpack://plotly-jupyter-mime-renderer/webpack/runtime/make namespace object","webpack://plotly-jupyter-mime-renderer/webpack/runtime/sharing","webpack://plotly-jupyter-mime-renderer/webpack/runtime/publicPath","webpack://plotly-jupyter-mime-renderer/webpack/runtime/jsonp chunk loading","webpack://plotly-jupyter-mime-renderer/webpack/before-startup","webpack://plotly-jupyter-mime-renderer/webpack/startup","webpack://plotly-jupyter-mime-renderer/webpack/after-startup"],"sourcesContent":["var moduleMap = {\n\t\"./index\": () => {\n\t\treturn __webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\")))));\n\t},\n\t\"./mimeExtension\": () => {\n\t\treturn __webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => ((__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\")))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.amdO = {};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + \"55332f9c879f105c1219\" + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"plotly-jupyter-mime-renderer:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"plotly-jupyter-mime-renderer\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"plotly-jupyter-mime-renderer\", \"0.1.0\", () => (__webpack_require__.e(\"js_mimerenderer_js\").then(() => (() => (__webpack_require__(/*! ./js/mimerenderer.js */ \"./js/mimerenderer.js\"))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"plotly-jupyter-mime-renderer\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkplotly_jupyter_mime_renderer\"] = self[\"webpackChunkplotly_jupyter_mime_renderer\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(\"webpack/container/entry/plotly-jupyter-mime-renderer\");\n",""],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/plotly/labextension/static/style.js b/plotly/labextension/static/style.js deleted file mode 100644 index cdf3d73b837..00000000000 --- a/plotly/labextension/static/style.js +++ /dev/null @@ -1,4 +0,0 @@ -/* This is a generated file of CSS imports */ -/* It was generated by @jupyterlab/builder in Build.ensureAssets() */ - - diff --git a/pyproject.toml b/pyproject.toml index f2993e1ab68..fe34771c3a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,5 +94,8 @@ factory = "jupyter_packaging.npm_builder" build_cmd = "build:prod" npm = ["jlpm"] -[project.entry-points."jupyterlab.mime_renderers"] -"application/vnd.plotly.v1+json" = "plotly:plugin" \ No newline at end of file +[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs] +build_cmd = "build" +npm = ["jlpm"] +source_dir = "js" +build_dir = "plotly/labextension" From bed4c45cff9b8c3b387c76af673479201ea4e942 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Wed, 19 Mar 2025 19:34:53 -0500 Subject: [PATCH 04/19] Move js into labextension directory --- package-lock.json | 5883 ---------------- package.json | 27 - plotly/__init__.py | 14 +- plotly/labextension/package-lock.json | 5885 +++++++++++++++++ plotly/labextension/package.json | 13 +- .../labextension/src/mimeExtension.ts | 0 {js => plotly/labextension/src}/widget.ts | 0 {js => plotly/labextension}/tsconfig.json | 0 8 files changed, 5890 insertions(+), 5932 deletions(-) delete mode 100644 package-lock.json delete mode 100644 package.json create mode 100644 plotly/labextension/package-lock.json rename js/index.ts => plotly/labextension/src/mimeExtension.ts (100%) rename {js => plotly/labextension/src}/widget.ts (100%) rename {js => plotly/labextension}/tsconfig.json (100%) diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 69bfa62ca2b..00000000000 --- a/package-lock.json +++ /dev/null @@ -1,5883 +0,0 @@ -{ - "name": "jupyterlab-plotly", - "version": "0.1.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "jupyterlab-plotly", - "version": "0.1.0", - "dependencies": { - "@lumino/widgets": "~2.4.0", - "lodash-es": "^4.17.21", - "plotly.js": "3.0.1" - }, - "devDependencies": { - "@jupyterlab/builder": "^4.3.6", - "@types/plotly.js": "^2.33.4", - "esbuild": "^0.23.1", - "typescript": "^5.6.2" - } - }, - "node_modules/@choojs/findup": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", - "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", - "dependencies": { - "commander": "^2.15.1" - }, - "bin": { - "findup": "bin/findup.js" - } - }, - "node_modules/@discoveryjs/json-ext": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", - "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", - "dev": true, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", - "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", - "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", - "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", - "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", - "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", - "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", - "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", - "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", - "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", - "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", - "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", - "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", - "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", - "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", - "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", - "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", - "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", - "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", - "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", - "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", - "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", - "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", - "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", - "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@jupyterlab/builder": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/@jupyterlab/builder/-/builder-4.3.6.tgz", - "integrity": "sha512-h96k18hl93G8lmGlMN0Tiu18Hz5rgsmjJu3nULPpa+U9tVgaWG61vv1e+UmzxEpMVUQ6nlNmoho29EP6gEAIaQ==", - "dev": true, - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/application": "^2.4.1", - "@lumino/commands": "^2.3.1", - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3", - "@lumino/domutils": "^2.0.2", - "@lumino/dragdrop": "^2.1.5", - "@lumino/messaging": "^2.0.2", - "@lumino/properties": "^2.0.2", - "@lumino/signaling": "^2.1.3", - "@lumino/virtualdom": "^2.0.2", - "@lumino/widgets": "^2.5.0", - "ajv": "^8.12.0", - "commander": "^9.4.1", - "css-loader": "^6.7.1", - "duplicate-package-checker-webpack-plugin": "^3.0.0", - "fs-extra": "^10.1.0", - "glob": "~7.1.6", - "license-webpack-plugin": "^2.3.14", - "mini-css-extract-plugin": "^2.7.0", - "mini-svg-data-uri": "^1.4.4", - "path-browserify": "^1.0.0", - "process": "^0.11.10", - "source-map-loader": "~1.0.2", - "style-loader": "~3.3.1", - "supports-color": "^7.2.0", - "terser-webpack-plugin": "^5.3.7", - "webpack": "^5.76.1", - "webpack-cli": "^5.0.1", - "webpack-merge": "^5.8.0", - "worker-loader": "^3.0.2" - }, - "bin": { - "build-labextension": "lib/build-labextension.js" - } - }, - "node_modules/@jupyterlab/builder/node_modules/@lumino/widgets": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", - "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", - "dev": true, - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/commands": "^2.3.1", - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3", - "@lumino/domutils": "^2.0.2", - "@lumino/dragdrop": "^2.1.5", - "@lumino/keyboard": "^2.0.2", - "@lumino/messaging": "^2.0.2", - "@lumino/properties": "^2.0.2", - "@lumino/signaling": "^2.1.3", - "@lumino/virtualdom": "^2.0.2" - } - }, - "node_modules/@jupyterlab/builder/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@jupyterlab/builder/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@jupyterlab/builder/node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", - "dev": true, - "engines": { - "node": "^12.20.0 || >=14" - } - }, - "node_modules/@jupyterlab/builder/node_modules/css-loader": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", - "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", - "dev": true, - "dependencies": { - "icss-utils": "^5.1.0", - "postcss": "^8.4.33", - "postcss-modules-extract-imports": "^3.1.0", - "postcss-modules-local-by-default": "^4.0.5", - "postcss-modules-scope": "^3.2.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "@rspack/core": "0.x || 1.x", - "webpack": "^5.0.0" - }, - "peerDependenciesMeta": { - "@rspack/core": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/@jupyterlab/builder/node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@jupyterlab/builder/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/@jupyterlab/builder/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@jupyterlab/builder/node_modules/style-loader": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.4.tgz", - "integrity": "sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==", - "dev": true, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.0.0" - } - }, - "node_modules/@jupyterlab/builder/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@lumino/algorithm": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-2.0.2.tgz", - "integrity": "sha512-cI8yJ2+QK1yM5ZRU3Kuaw9fJ/64JEDZEwWWp7+U0cd/mvcZ44BGdJJ29w+tIet1QXxPAvnsUleWyQ5qm4qUouA==" - }, - "node_modules/@lumino/application": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@lumino/application/-/application-2.4.2.tgz", - "integrity": "sha512-fuY7zSzgl/N0gBX2HQsuXJWA05TEzNs+lcswg3sX5+clodEU7TadJIWuRP/PNHSJZODz1uz5QFvZ/lHpvj122Q==", - "dev": true, - "dependencies": { - "@lumino/commands": "^2.3.1", - "@lumino/coreutils": "^2.2.0", - "@lumino/widgets": "^2.6.0" - } - }, - "node_modules/@lumino/application/node_modules/@lumino/widgets": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", - "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", - "dev": true, - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/commands": "^2.3.1", - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3", - "@lumino/domutils": "^2.0.2", - "@lumino/dragdrop": "^2.1.5", - "@lumino/keyboard": "^2.0.2", - "@lumino/messaging": "^2.0.2", - "@lumino/properties": "^2.0.2", - "@lumino/signaling": "^2.1.3", - "@lumino/virtualdom": "^2.0.2" - } - }, - "node_modules/@lumino/collections": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-2.0.2.tgz", - "integrity": "sha512-o0QmfV1D3WhAeA8GI1/YmEPaK89JtHVa764rQ5T0LdbDEwUtUDbjavHs1E/+y66tNTXz9RUJ4D2rcSb9tysYsg==", - "dependencies": { - "@lumino/algorithm": "^2.0.2" - } - }, - "node_modules/@lumino/commands": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-2.3.1.tgz", - "integrity": "sha512-DpX1kkE4PhILpvK1T4ZnaFb6UP4+YTkdZifvN3nbiomD64O2CTd+wcWIBpZMgy6MMgbVgrE8dzHxHk1EsKxNxw==", - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3", - "@lumino/domutils": "^2.0.2", - "@lumino/keyboard": "^2.0.2", - "@lumino/signaling": "^2.1.3", - "@lumino/virtualdom": "^2.0.2" - } - }, - "node_modules/@lumino/coreutils": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-2.2.0.tgz", - "integrity": "sha512-x5wnQ/GjWBayJ6vXVaUi6+Q6ETDdcUiH9eSfpRZFbgMQyyM6pi6baKqJBK2CHkCc/YbAEl6ipApTgm3KOJ/I3g==", - "dependencies": { - "@lumino/algorithm": "^2.0.2" - } - }, - "node_modules/@lumino/disposable": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-2.1.3.tgz", - "integrity": "sha512-k5KXy/+T3UItiWHY4WwQawnsJnGo3aNtP5CTRKqo4+tbTNuhc3rTSvygJlNKIbEfIZXW2EWYnwfFDozkYx95eA==", - "dependencies": { - "@lumino/signaling": "^2.1.3" - } - }, - "node_modules/@lumino/domutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-2.0.2.tgz", - "integrity": "sha512-2Kp6YHaMNI1rKB0PrALvOsZBHPy2EvVVAvJLWjlCm8MpWOVETjFp0MA9QpMubT9I76aKbaI5s1o1NJyZ8Y99pQ==" - }, - "node_modules/@lumino/dragdrop": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-2.1.5.tgz", - "integrity": "sha512-zqwR4GakrQBKZOW6S5pj2nfrQDurOErAoe9x3HS3BKLa1AzWA+t9PD5NESOKd81NqXFHjiMirSyFkTUs6pw+uA==", - "dependencies": { - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3" - } - }, - "node_modules/@lumino/keyboard": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-2.0.2.tgz", - "integrity": "sha512-icRUpvswDaFjqmAJNbQRb/aTu6Iugo6Y2oC08TiIwhQtLS9W+Ee9VofdqvbPSvCm6DkyP+DCWMuA3KXZ4V4g4g==" - }, - "node_modules/@lumino/messaging": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-2.0.2.tgz", - "integrity": "sha512-2sUF07cYA0f3mDil41Eh5sfBk0aGAH/mOh1I4+vyRUsKyBqp4WTUtpJFd8xVJGAntygxwnebIygkIaXXTIQvxA==", - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/collections": "^2.0.2" - } - }, - "node_modules/@lumino/properties": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-2.0.2.tgz", - "integrity": "sha512-b312oA3Bh97WFK8efXejYmC3DVJmvzJk72LQB7H3fXhfqS5jUWvL7MSnNmgcQvGzl9fIhDWDWjhtSTi0KGYYBg==" - }, - "node_modules/@lumino/signaling": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-2.1.3.tgz", - "integrity": "sha512-9Wd4iMk8F1i6pYjy65bqKuPlzQMicyL9xy1/ccS20kovPcfD074waneL/7BVe+3M8i+fGa3x2qjbWrBzOdTdNw==", - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/coreutils": "^2.2.0" - } - }, - "node_modules/@lumino/virtualdom": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-2.0.2.tgz", - "integrity": "sha512-HYZThOtZSoknjdXA102xpy5CiXtTFCVz45EXdWeYLx3NhuEwuAIX93QBBIhupalmtFlRg1yhdDNV40HxJ4kcXg==", - "dependencies": { - "@lumino/algorithm": "^2.0.2" - } - }, - "node_modules/@lumino/widgets": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.4.0.tgz", - "integrity": "sha512-n7MqRKj+g/aRnI3dl4EJw/Bkt5/LSwGcn3sA9opn88CMZmAzjC33ac+q6zijovjCX8yDud7KKK8yPFTwOFaxhg==", - "dependencies": { - "@lumino/algorithm": "^2.0.2", - "@lumino/commands": "^2.3.1", - "@lumino/coreutils": "^2.2.0", - "@lumino/disposable": "^2.1.3", - "@lumino/domutils": "^2.0.2", - "@lumino/dragdrop": "^2.1.5", - "@lumino/keyboard": "^2.0.2", - "@lumino/messaging": "^2.0.2", - "@lumino/properties": "^2.0.2", - "@lumino/signaling": "^2.1.3", - "@lumino/virtualdom": "^2.0.2" - } - }, - "node_modules/@mapbox/geojson-rewind": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz", - "integrity": "sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==", - "dependencies": { - "get-stream": "^6.0.1", - "minimist": "^1.2.6" - }, - "bin": { - "geojson-rewind": "geojson-rewind" - } - }, - "node_modules/@mapbox/geojson-types": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", - "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" - }, - "node_modules/@mapbox/jsonlint-lines-primitives": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", - "integrity": "sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/@mapbox/mapbox-gl-supported": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz", - "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==", - "peerDependencies": { - "mapbox-gl": ">=0.32.1 <2.0.0" - } - }, - "node_modules/@mapbox/point-geometry": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", - "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==" - }, - "node_modules/@mapbox/tiny-sdf": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz", - "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==" - }, - "node_modules/@mapbox/unitbezier": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", - "integrity": "sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==" - }, - "node_modules/@mapbox/vector-tile": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", - "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", - "dependencies": { - "@mapbox/point-geometry": "~0.1.0" - } - }, - "node_modules/@mapbox/whoots-js": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", - "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@maplibre/maplibre-gl-style-spec": { - "version": "20.4.0", - "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", - "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", - "dependencies": { - "@mapbox/jsonlint-lines-primitives": "~2.0.2", - "@mapbox/unitbezier": "^0.0.1", - "json-stringify-pretty-compact": "^4.0.0", - "minimist": "^1.2.8", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "tinyqueue": "^3.0.0" - }, - "bin": { - "gl-style-format": "dist/gl-style-format.mjs", - "gl-style-migrate": "dist/gl-style-migrate.mjs", - "gl-style-validate": "dist/gl-style-validate.mjs" - } - }, - "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/@mapbox/unitbezier": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", - "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" - }, - "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/tinyqueue": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", - "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" - }, - "node_modules/@parcel/watcher": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.0.tgz", - "integrity": "sha512-i0GV1yJnm2n3Yq1qw6QrUrd/LI9bE8WEBOTtOkpCXHHdyN3TAGgqAK/DAT05z4fq2x04cARXt2pDmjWjL92iTQ==", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "node-addon-api": "^7.0.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "@parcel/watcher-android-arm64": "2.5.0", - "@parcel/watcher-darwin-arm64": "2.5.0", - "@parcel/watcher-darwin-x64": "2.5.0", - "@parcel/watcher-freebsd-x64": "2.5.0", - "@parcel/watcher-linux-arm-glibc": "2.5.0", - "@parcel/watcher-linux-arm-musl": "2.5.0", - "@parcel/watcher-linux-arm64-glibc": "2.5.0", - "@parcel/watcher-linux-arm64-musl": "2.5.0", - "@parcel/watcher-linux-x64-glibc": "2.5.0", - "@parcel/watcher-linux-x64-musl": "2.5.0", - "@parcel/watcher-win32-arm64": "2.5.0", - "@parcel/watcher-win32-ia32": "2.5.0", - "@parcel/watcher-win32-x64": "2.5.0" - } - }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.0.tgz", - "integrity": "sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.0.tgz", - "integrity": "sha512-hyZ3TANnzGfLpRA2s/4U1kbw2ZI4qGxaRJbBH2DCSREFfubMswheh8TeiC1sGZ3z2jUf3s37P0BBlrD3sjVTUw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.0.tgz", - "integrity": "sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.0.tgz", - "integrity": "sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.0.tgz", - "integrity": "sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.0.tgz", - "integrity": "sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.0.tgz", - "integrity": "sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.0.tgz", - "integrity": "sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.0.tgz", - "integrity": "sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.0.tgz", - "integrity": "sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.0.tgz", - "integrity": "sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.0.tgz", - "integrity": "sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.0.tgz", - "integrity": "sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "optional": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@plotly/d3": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/@plotly/d3/-/d3-3.8.2.tgz", - "integrity": "sha512-wvsNmh1GYjyJfyEBPKJLTMzgf2c2bEbSIL50lmqVUi+o1NHaLPi1Lb4v7VxXXJn043BhNyrxUrWI85Q+zmjOVA==" - }, - "node_modules/@plotly/d3-sankey": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz", - "integrity": "sha512-2jdVos1N3mMp3QW0k2q1ph7Gd6j5PY1YihBrwpkFnKqO+cqtZq3AdEYUeSGXMeLsBDQYiqTVcihYfk8vr5tqhw==", - "dependencies": { - "d3-array": "1", - "d3-collection": "1", - "d3-shape": "^1.2.0" - } - }, - "node_modules/@plotly/d3-sankey-circular": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz", - "integrity": "sha512-FgBV1HEvCr3DV7RHhDsPXyryknucxtfnLwPtCKKxdolKyTFYoLX/ibEfX39iFYIL7DYbVeRtP43dbFcrHNE+KQ==", - "dependencies": { - "d3-array": "^1.2.1", - "d3-collection": "^1.0.4", - "d3-shape": "^1.2.0", - "elementary-circuits-directed-graph": "^1.0.4" - } - }, - "node_modules/@plotly/mapbox-gl": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/@plotly/mapbox-gl/-/mapbox-gl-1.13.4.tgz", - "integrity": "sha512-sR3/Pe5LqT/fhYgp4rT4aSFf1rTsxMbGiH6Hojc7PH36ny5Bn17iVFUjpzycafETURuFbLZUfjODO8LvSI+5zQ==", - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/geojson-types": "^1.0.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/mapbox-gl-supported": "^1.5.0", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^1.1.1", - "@mapbox/unitbezier": "^0.0.0", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "csscolorparser": "~1.0.3", - "earcut": "^2.2.2", - "geojson-vt": "^3.2.1", - "gl-matrix": "^3.2.1", - "grid-index": "^1.1.0", - "murmurhash-js": "^1.0.0", - "pbf": "^3.2.1", - "potpack": "^1.0.1", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "supercluster": "^7.1.0", - "tinyqueue": "^2.0.3", - "vt-pbf": "^3.1.1" - }, - "engines": { - "node": ">=6.4.0" - } - }, - "node_modules/@plotly/point-cluster": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", - "integrity": "sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw==", - "dependencies": { - "array-bounds": "^1.0.1", - "binary-search-bounds": "^2.0.4", - "clamp": "^1.0.1", - "defined": "^1.0.0", - "dtype": "^2.0.0", - "flatten-vertex-data": "^1.0.2", - "is-obj": "^1.0.1", - "math-log2": "^1.0.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0" - } - }, - "node_modules/@turf/area": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/area/-/area-7.1.0.tgz", - "integrity": "sha512-w91FEe02/mQfMPRX2pXua48scFuKJ2dSVMF2XmJ6+BJfFiCPxp95I3+Org8+ZsYv93CDNKbf0oLNEPnuQdgs2g==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/bbox": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.1.0.tgz", - "integrity": "sha512-PdWPz9tW86PD78vSZj2fiRaB8JhUHy6piSa/QXb83lucxPK+HTAdzlDQMTKj5okRCU8Ox/25IR2ep9T8NdopRA==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/centroid": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-7.1.0.tgz", - "integrity": "sha512-1Y1b2l+ZB1CZ+ITjUCsGqC4/tSjwm/R4OUfDztVqyyCq/VvezkLmTNqvXTGXgfP0GXkpv68iCfxF5M7QdM5pJQ==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@turf/meta": "^7.1.0", - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/helpers": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.1.0.tgz", - "integrity": "sha512-dTeILEUVeNbaEeoZUOhxH5auv7WWlOShbx7QSd4s0T4Z0/iz90z9yaVCtZOLbU89umKotwKaJQltBNO9CzVgaQ==", - "dependencies": { - "@types/geojson": "^7946.0.10", - "tslib": "^2.6.2" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@turf/meta": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.1.0.tgz", - "integrity": "sha512-ZgGpWWiKz797Fe8lfRj7HKCkGR+nSJ/5aKXMyofCvLSc2PuYJs/qyyifDPWjASQQCzseJ7AlF2Pc/XQ/3XkkuA==", - "dependencies": { - "@turf/helpers": "^7.1.0", - "@types/geojson": "^7946.0.10" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "node_modules/@types/estree": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", - "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==" - }, - "node_modules/@types/geojson": { - "version": "7946.0.14", - "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz", - "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==" - }, - "node_modules/@types/geojson-vt": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@types/geojson-vt/-/geojson-vt-3.2.5.tgz", - "integrity": "sha512-qDO7wqtprzlpe8FfQ//ClPV9xiuoh2nkIgiouIptON9w5jvD/fA4szvP9GBlDVdJ5dldAl0kX/sy3URbWwLx0g==", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" - }, - "node_modules/@types/less": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.6.tgz", - "integrity": "sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw==" - }, - "node_modules/@types/mapbox__point-geometry": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz", - "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==" - }, - "node_modules/@types/mapbox__vector-tile": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz", - "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==", - "dependencies": { - "@types/geojson": "*", - "@types/mapbox__point-geometry": "*", - "@types/pbf": "*" - } - }, - "node_modules/@types/node": { - "version": "22.8.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", - "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/pbf": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz", - "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==" - }, - "node_modules/@types/plotly.js": { - "version": "2.33.4", - "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-2.33.4.tgz", - "integrity": "sha512-BzAbsJTiUQyALkkYx1D31YZ9YvcU2ag3LlE/iePMo19eDPvM30cbM2EFNIcu31n39EhXj/9G7800XLA8/rfApA==", - "dev": true - }, - "node_modules/@types/sass": { - "version": "1.45.0", - "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.45.0.tgz", - "integrity": "sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==", - "deprecated": "This is a stub types definition. sass provides its own type definitions, so you do not need this installed.", - "dependencies": { - "sass": "*" - } - }, - "node_modules/@types/source-list-map": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.6.tgz", - "integrity": "sha512-5JcVt1u5HDmlXkwOD2nslZVllBBc7HDuOICfiZah2Z0is8M8g+ddAEawbmd3VjedfDHBzxCaXLs07QEmb7y54g==", - "dev": true - }, - "node_modules/@types/stylus": { - "version": "0.48.43", - "resolved": "https://registry.npmjs.org/@types/stylus/-/stylus-0.48.43.tgz", - "integrity": "sha512-72dv/zdhuyXWVHUXG2VTPEQdOG+oen95/DNFx2aMFFaY6LoITI6PwEqf5x31JF49kp2w9hvUzkNfTGBIeg61LQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/supercluster": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz", - "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@types/webpack-sources": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-0.1.12.tgz", - "integrity": "sha512-+vRVqE3LzMLLVPgZHUeI8k1YmvgEky+MOir5fQhKvFxpB8uZ0CFnGqxkRAmf8jvNhUBQzhuGZpIMNWZDeEyDIA==", - "dev": true, - "dependencies": { - "@types/node": "*", - "@types/source-list-map": "*", - "source-map": "^0.6.1" - } - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", - "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", - "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.6", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", - "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==" - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", - "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==" - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", - "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==" - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", - "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.6", - "@webassemblyjs/helper-api-error": "1.11.6", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", - "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==" - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", - "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/wasm-gen": "1.12.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", - "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", - "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", - "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==" - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", - "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/helper-wasm-section": "1.12.1", - "@webassemblyjs/wasm-gen": "1.12.1", - "@webassemblyjs/wasm-opt": "1.12.1", - "@webassemblyjs/wasm-parser": "1.12.1", - "@webassemblyjs/wast-printer": "1.12.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", - "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/ieee754": "1.11.6", - "@webassemblyjs/leb128": "1.11.6", - "@webassemblyjs/utf8": "1.11.6" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", - "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-buffer": "1.12.1", - "@webassemblyjs/wasm-gen": "1.12.1", - "@webassemblyjs/wasm-parser": "1.12.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", - "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@webassemblyjs/helper-api-error": "1.11.6", - "@webassemblyjs/helper-wasm-bytecode": "1.11.6", - "@webassemblyjs/ieee754": "1.11.6", - "@webassemblyjs/leb128": "1.11.6", - "@webassemblyjs/utf8": "1.11.6" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", - "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", - "dependencies": { - "@webassemblyjs/ast": "1.12.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webpack-cli/configtest": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", - "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", - "dev": true, - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - } - }, - "node_modules/@webpack-cli/info": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", - "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", - "dev": true, - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - } - }, - "node_modules/@webpack-cli/serve": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", - "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", - "dev": true, - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - }, - "peerDependenciesMeta": { - "webpack-dev-server": { - "optional": true - } - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" - }, - "node_modules/abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "deprecated": "Use your platform's native atob() and btoa() methods instead", - "dev": true - }, - "node_modules/abs-svg-path": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz", - "integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==" - }, - "node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/almost-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/almost-equal/-/almost-equal-1.1.0.tgz", - "integrity": "sha512-0V/PkoculFl5+0Lp47JoxUcO0xSxhIBvm+BxHdD/OgXNmdRpRHCFnKVuUoWyS9EzQP+otSGv0m9Lb4yVkQBn2A==" - }, - "node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/array-bounds": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-bounds/-/array-bounds-1.0.1.tgz", - "integrity": "sha512-8wdW3ZGk6UjMPJx/glyEt0sLzzwAE1bhToPsO1W2pbpR2gULyxe3BjSiuJFheP50T/GgODVPz2fuMUmIywt8cQ==" - }, - "node_modules/array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-normalize": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", - "integrity": "sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg==", - "dependencies": { - "array-bounds": "^1.0.0" - } - }, - "node_modules/array-range": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-range/-/array-range-1.0.1.tgz", - "integrity": "sha512-shdaI1zT3CVNL2hnx9c0JMc0ZogGaxDs5e85akgHWKYa0yVbIyp06Ind3dVkTj/uuFrzaHBOyqFzo+VV6aXgtA==" - }, - "node_modules/array-rearrange": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/array-rearrange/-/array-rearrange-2.2.2.tgz", - "integrity": "sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w==" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-arraybuffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", - "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/binary-search-bounds": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz", - "integrity": "sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==" - }, - "node_modules/bit-twiddle": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bit-twiddle/-/bit-twiddle-1.0.2.tgz", - "integrity": "sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA==" - }, - "node_modules/bitmap-sdf": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/bitmap-sdf/-/bitmap-sdf-1.0.4.tgz", - "integrity": "sha512-1G3U4n5JE6RAiALMxu0p1XmeZkTeCwGKykzsLTCqVzfSDaN6S7fKnkIkfejogz+iwqBWc0UYAIKnKHNN7pSfDg==" - }, - "node_modules/bl": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", - "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", - "dependencies": { - "readable-stream": "^2.3.5", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "optional": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.1" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001675", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001675.tgz", - "integrity": "sha512-/wV1bQwPrkLiQMjaJF5yUMVM/VdRPOCU8QZ+PmG6uW6DvYSrNY1bpwHI/3mOcUosLaJCzYDi5o91IQB51ft6cg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/canvas-fit": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/canvas-fit/-/canvas-fit-1.5.0.tgz", - "integrity": "sha512-onIcjRpz69/Hx5bB5HGbYKUF2uC6QT6Gp+pfpGm3A7mPfcluSLV5v4Zu+oflDUwLdUw0rLIBhUbi0v8hM4FJQQ==", - "dependencies": { - "element-size": "^1.1.1" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/chalk/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/chalk/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chokidar": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", - "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/chrome-trace-event": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", - "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", - "engines": { - "node": ">=6.0" - } - }, - "node_modules/clamp": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz", - "integrity": "sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==" - }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/color-alpha": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/color-alpha/-/color-alpha-1.0.4.tgz", - "integrity": "sha512-lr8/t5NPozTSqli+duAN+x+no/2WaKTeWvxhHGN+aXT6AJ8vPlzLa7UriyjWak0pSC2jHol9JgjBYnnHsGha9A==", - "dependencies": { - "color-parse": "^1.3.8" - } - }, - "node_modules/color-alpha/node_modules/color-parse": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", - "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-id": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/color-id/-/color-id-1.1.0.tgz", - "integrity": "sha512-2iRtAn6dC/6/G7bBIo0uupVrIne1NsQJvJxZOBCzQOfk7jRq97feaDZ3RdzuHakRXXnHGNwglto3pqtRx1sX0g==", - "dependencies": { - "clamp": "^1.0.1" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/color-normalize": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/color-normalize/-/color-normalize-1.5.0.tgz", - "integrity": "sha512-rUT/HDXMr6RFffrR53oX3HGWkDOP9goSAQGBkUaAYKjOE2JxozccdGyufageWDlInRAjm/jYPrf/Y38oa+7obw==", - "dependencies": { - "clamp": "^1.0.1", - "color-rgba": "^2.1.1", - "dtype": "^2.0.0" - } - }, - "node_modules/color-parse": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-2.0.0.tgz", - "integrity": "sha512-g2Z+QnWsdHLppAbrpcFWo629kLOnOPtpxYV69GCqm92gqSgyXbzlfyN3MXs0412fPBkFmiuS+rXposgBgBa6Kg==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-rgba": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-2.1.1.tgz", - "integrity": "sha512-VaX97wsqrMwLSOR6H7rU1Doa2zyVdmShabKrPEIFywLlHoibgD3QW9Dw6fSqM4+H/LfjprDNAUUW31qEQcGzNw==", - "dependencies": { - "clamp": "^1.0.1", - "color-parse": "^1.3.8", - "color-space": "^1.14.6" - } - }, - "node_modules/color-rgba/node_modules/color-parse": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", - "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/color-space": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/color-space/-/color-space-1.16.0.tgz", - "integrity": "sha512-A6WMiFzunQ8KEPFmj02OnnoUnqhmSaHaZ/0LVFcPTdlvm8+3aMJ5x1HRHy3bDHPkovkf4sS0f4wsVvwk71fKkg==", - "dependencies": { - "hsluv": "^0.0.3", - "mumath": "^3.3.4" - } - }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "engines": [ - "node >= 0.8" - ], - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "node_modules/country-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/country-regex/-/country-regex-1.1.0.tgz", - "integrity": "sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA==" - }, - "node_modules/cross-spawn": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", - "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cross-spawn/node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/css-font": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-font/-/css-font-1.2.0.tgz", - "integrity": "sha512-V4U4Wps4dPDACJ4WpgofJ2RT5Yqwe1lEH6wlOOaIxMi0gTjdIijsc5FmxQlZ7ZZyKQkkutqqvULOp07l9c7ssA==", - "dependencies": { - "css-font-size-keywords": "^1.0.0", - "css-font-stretch-keywords": "^1.0.1", - "css-font-style-keywords": "^1.0.1", - "css-font-weight-keywords": "^1.0.0", - "css-global-keywords": "^1.0.1", - "css-system-font-keywords": "^1.0.0", - "pick-by-alias": "^1.2.0", - "string-split-by": "^1.0.0", - "unquote": "^1.1.0" - } - }, - "node_modules/css-font-size-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz", - "integrity": "sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q==" - }, - "node_modules/css-font-stretch-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz", - "integrity": "sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg==" - }, - "node_modules/css-font-style-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz", - "integrity": "sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg==" - }, - "node_modules/css-font-weight-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz", - "integrity": "sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA==" - }, - "node_modules/css-global-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-global-keywords/-/css-global-keywords-1.0.1.tgz", - "integrity": "sha512-X1xgQhkZ9n94WDwntqst5D/FKkmiU0GlJSFZSV3kLvyJ1WC5VeyoXDOuleUD+SIuH9C7W05is++0Woh0CGfKjQ==" - }, - "node_modules/css-loader": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", - "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", - "dependencies": { - "icss-utils": "^5.1.0", - "postcss": "^8.4.33", - "postcss-modules-extract-imports": "^3.1.0", - "postcss-modules-local-by-default": "^4.0.5", - "postcss-modules-scope": "^3.2.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">= 18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "@rspack/core": "0.x || 1.x", - "webpack": "^5.27.0" - }, - "peerDependenciesMeta": { - "@rspack/core": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/css-system-font-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz", - "integrity": "sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA==" - }, - "node_modules/csscolorparser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", - "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/d": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", - "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", - "dependencies": { - "es5-ext": "^0.10.64", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/d3-array": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" - }, - "node_modules/d3-collection": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", - "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" - }, - "node_modules/d3-color": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", - "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dispatch": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", - "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==" - }, - "node_modules/d3-force": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", - "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", - "dependencies": { - "d3-collection": "1", - "d3-dispatch": "1", - "d3-quadtree": "1", - "d3-timer": "1" - } - }, - "node_modules/d3-format": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", - "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" - }, - "node_modules/d3-geo": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", - "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", - "dependencies": { - "d3-array": "1" - } - }, - "node_modules/d3-geo-projection": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/d3-geo-projection/-/d3-geo-projection-2.9.0.tgz", - "integrity": "sha512-ZULvK/zBn87of5rWAfFMc9mJOipeSo57O+BBitsKIXmU4rTVAnX1kSsJkE0R+TxY8pGNoM1nbyRRE7GYHhdOEQ==", - "dependencies": { - "commander": "2", - "d3-array": "1", - "d3-geo": "^1.12.0", - "resolve": "^1.1.10" - }, - "bin": { - "geo2svg": "bin/geo2svg", - "geograticule": "bin/geograticule", - "geoproject": "bin/geoproject", - "geoquantize": "bin/geoquantize", - "geostitch": "bin/geostitch" - } - }, - "node_modules/d3-hierarchy": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", - "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" - }, - "node_modules/d3-interpolate": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", - "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", - "dependencies": { - "d3-color": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-path": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", - "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" - }, - "node_modules/d3-quadtree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", - "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==" - }, - "node_modules/d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "dependencies": { - "d3-path": "1" - } - }, - "node_modules/d3-time": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", - "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" - }, - "node_modules/d3-time-format": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", - "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", - "dependencies": { - "d3-time": "1" - } - }, - "node_modules/d3-timer": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", - "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" - }, - "node_modules/data-urls": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", - "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", - "dev": true, - "dependencies": { - "abab": "^2.0.3", - "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/defined": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", - "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/detect-kerning": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-kerning/-/detect-kerning-2.1.2.tgz", - "integrity": "sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw==" - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/draw-svg-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/draw-svg-path/-/draw-svg-path-1.0.0.tgz", - "integrity": "sha512-P8j3IHxcgRMcY6sDzr0QvJDLzBnJJqpTG33UZ2Pvp8rw0apCHhJCWqYprqrXjrgHnJ6tuhP1iTJSAodPDHxwkg==", - "dependencies": { - "abs-svg-path": "~0.1.1", - "normalize-svg-path": "~0.1.0" - } - }, - "node_modules/dtype": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz", - "integrity": "sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg==", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/dup": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dup/-/dup-1.0.0.tgz", - "integrity": "sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA==" - }, - "node_modules/duplexify": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", - "dependencies": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/duplicate-package-checker-webpack-plugin": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-3.0.0.tgz", - "integrity": "sha512-aO50/qPC7X2ChjRFniRiscxBLT/K01bALqfcDaf8Ih5OqQ1N4iT/Abx9Ofu3/ms446vHTm46FACIuJUmgUQcDQ==", - "dev": true, - "dependencies": { - "chalk": "^2.3.0", - "find-root": "^1.0.0", - "lodash": "^4.17.4", - "semver": "^5.4.1" - } - }, - "node_modules/duplicate-package-checker-webpack-plugin/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/earcut": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", - "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==" - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, - "node_modules/electron-to-chromium": { - "version": "1.5.49", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.49.tgz", - "integrity": "sha512-ZXfs1Of8fDb6z7WEYZjXpgIRF6MEu8JdeGA0A40aZq6OQbS+eJpnnV49epZRna2DU/YsEjSQuGtQPPtvt6J65A==" - }, - "node_modules/element-size": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/element-size/-/element-size-1.1.1.tgz", - "integrity": "sha512-eaN+GMOq/Q+BIWy0ybsgpcYImjGIdNLyjLFJU4XsLHXYQao5jCNb36GyN6C2qwmDDYSfIBmKpPpr4VnBdLCsPQ==" - }, - "node_modules/elementary-circuits-directed-graph": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz", - "integrity": "sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ==", - "dependencies": { - "strongly-connected-components": "^1.0.1" - } - }, - "node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", - "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/envinfo": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", - "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", - "dev": true, - "bin": { - "envinfo": "dist/cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/es-module-lexer": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", - "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==" - }, - "node_modules/es5-ext": { - "version": "0.10.64", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", - "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", - "hasInstallScript": true, - "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "esniff": "^2.0.1", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", - "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", - "dependencies": { - "d": "^1.0.2", - "ext": "^1.7.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/es6-weak-map": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", - "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.46", - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/esbuild": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", - "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.23.1", - "@esbuild/android-arm": "0.23.1", - "@esbuild/android-arm64": "0.23.1", - "@esbuild/android-x64": "0.23.1", - "@esbuild/darwin-arm64": "0.23.1", - "@esbuild/darwin-x64": "0.23.1", - "@esbuild/freebsd-arm64": "0.23.1", - "@esbuild/freebsd-x64": "0.23.1", - "@esbuild/linux-arm": "0.23.1", - "@esbuild/linux-arm64": "0.23.1", - "@esbuild/linux-ia32": "0.23.1", - "@esbuild/linux-loong64": "0.23.1", - "@esbuild/linux-mips64el": "0.23.1", - "@esbuild/linux-ppc64": "0.23.1", - "@esbuild/linux-riscv64": "0.23.1", - "@esbuild/linux-s390x": "0.23.1", - "@esbuild/linux-x64": "0.23.1", - "@esbuild/netbsd-x64": "0.23.1", - "@esbuild/openbsd-arm64": "0.23.1", - "@esbuild/openbsd-x64": "0.23.1", - "@esbuild/sunos-x64": "0.23.1", - "@esbuild/win32-arm64": "0.23.1", - "@esbuild/win32-ia32": "0.23.1", - "@esbuild/win32-x64": "0.23.1" - } - }, - "node_modules/esbuild-style-plugin": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/esbuild-style-plugin/-/esbuild-style-plugin-1.6.3.tgz", - "integrity": "sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==", - "dependencies": { - "@types/less": "^3.0.3", - "@types/sass": "^1.43.1", - "@types/stylus": "^0.48.38", - "glob": "^10.2.2", - "postcss": "^8.4.31", - "postcss-modules": "^6.0.0" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-scope/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esniff": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", - "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", - "dependencies": { - "d": "^1.0.1", - "es5-ext": "^0.10.62", - "event-emitter": "^0.3.5", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/event-emitter": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", - "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", - "dependencies": { - "d": "1", - "es5-ext": "~0.10.14" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/ext": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", - "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", - "dependencies": { - "type": "^2.7.2" - } - }, - "node_modules/falafel": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.2.5.tgz", - "integrity": "sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ==", - "dependencies": { - "acorn": "^7.1.1", - "isarray": "^2.0.1" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-isnumeric": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz", - "integrity": "sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw==", - "dependencies": { - "is-string-blank": "^1.0.1" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ] - }, - "node_modules/fastest-levenshtein": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", - "dev": true, - "engines": { - "node": ">= 4.9.1" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true, - "bin": { - "flat": "cli.js" - } - }, - "node_modules/flatten-vertex-data": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz", - "integrity": "sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw==", - "dependencies": { - "dtype": "^2.0.0" - } - }, - "node_modules/font-atlas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/font-atlas/-/font-atlas-2.1.0.tgz", - "integrity": "sha512-kP3AmvX+HJpW4w3d+PiPR2X6E1yvsBXt2yhuCw+yReO9F1WYhvZwx3c95DGZGwg9xYzDGrgJYa885xmVA+28Cg==", - "dependencies": { - "css-font": "^1.0.0" - } - }, - "node_modules/font-measure": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/font-measure/-/font-measure-1.2.2.tgz", - "integrity": "sha512-mRLEpdrWzKe9hbfaF3Qpr06TAjquuBVP5cHy4b3hyeNdjc9i0PO6HniGsX5vjL5OWv7+Bd++NiooNpT/s8BvIA==", - "dependencies": { - "css-font": "^1.2.0" - } - }, - "node_modules/foreground-child": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", - "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", - "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/generic-names": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-4.0.0.tgz", - "integrity": "sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==", - "dependencies": { - "loader-utils": "^3.2.0" - } - }, - "node_modules/geojson-vt": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", - "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==" - }, - "node_modules/get-canvas-context": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz", - "integrity": "sha512-LnpfLf/TNzr9zVOGiIY6aKCz8EKuXmlYNV7CM2pUjBa/B+c2I15tS7KLySep75+FuerJdmArvJLcsAXWEy2H0A==" - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gl-mat4": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gl-mat4/-/gl-mat4-1.2.0.tgz", - "integrity": "sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA==" - }, - "node_modules/gl-matrix": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz", - "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==" - }, - "node_modules/gl-text": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/gl-text/-/gl-text-1.4.0.tgz", - "integrity": "sha512-o47+XBqLCj1efmuNyCHt7/UEJmB9l66ql7pnobD6p+sgmBUdzfMZXIF0zD2+KRfpd99DJN+QXdvTFAGCKCVSmQ==", - "dependencies": { - "bit-twiddle": "^1.0.2", - "color-normalize": "^1.5.0", - "css-font": "^1.2.0", - "detect-kerning": "^2.1.2", - "es6-weak-map": "^2.0.3", - "flatten-vertex-data": "^1.0.2", - "font-atlas": "^2.1.0", - "font-measure": "^1.2.2", - "gl-util": "^3.1.2", - "is-plain-obj": "^1.1.0", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "parse-unit": "^1.0.1", - "pick-by-alias": "^1.2.0", - "regl": "^2.0.0", - "to-px": "^1.0.1", - "typedarray-pool": "^1.1.0" - } - }, - "node_modules/gl-util": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.3.tgz", - "integrity": "sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA==", - "dependencies": { - "is-browser": "^2.0.1", - "is-firefox": "^1.0.3", - "is-plain-obj": "^1.1.0", - "number-is-integer": "^1.0.1", - "object-assign": "^4.1.0", - "pick-by-alias": "^1.2.0", - "weak-map": "^1.0.5" - } - }, - "node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" - }, - "node_modules/global-prefix": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-4.0.0.tgz", - "integrity": "sha512-w0Uf9Y9/nyHinEk5vMJKRie+wa4kR5hmDbEhGGds/kG1PwGLLHKRoNMeJOyCQjjBkANlnScqgzcFwGHgmgLkVA==", - "dependencies": { - "ini": "^4.1.3", - "kind-of": "^6.0.3", - "which": "^4.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/glsl-inject-defines": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz", - "integrity": "sha512-W49jIhuDtF6w+7wCMcClk27a2hq8znvHtlGnrYkSWEr8tHe9eA2dcnohlcAmxLYBSpSSdzOkRdyPTrx9fw49+A==", - "dependencies": { - "glsl-token-inject-block": "^1.0.0", - "glsl-token-string": "^1.0.1", - "glsl-tokenizer": "^2.0.2" - } - }, - "node_modules/glsl-resolve": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/glsl-resolve/-/glsl-resolve-0.0.1.tgz", - "integrity": "sha512-xxFNsfnhZTK9NBhzJjSBGX6IOqYpvBHxxmo+4vapiljyGNCY0Bekzn0firQkQrazK59c1hYxMDxYS8MDlhw4gA==", - "dependencies": { - "resolve": "^0.6.1", - "xtend": "^2.1.2" - } - }, - "node_modules/glsl-resolve/node_modules/resolve": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-0.6.3.tgz", - "integrity": "sha512-UHBY3viPlJKf85YijDUcikKX6tmF4SokIDp518ZDVT92JNDcG5uKIthaT/owt3Sar0lwtOafsQuwrg22/v2Dwg==" - }, - "node_modules/glsl-resolve/node_modules/xtend": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.2.0.tgz", - "integrity": "sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw==", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/glsl-token-assignments": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/glsl-token-assignments/-/glsl-token-assignments-2.0.2.tgz", - "integrity": "sha512-OwXrxixCyHzzA0U2g4btSNAyB2Dx8XrztY5aVUCjRSh4/D0WoJn8Qdps7Xub3sz6zE73W3szLrmWtQ7QMpeHEQ==" - }, - "node_modules/glsl-token-defines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/glsl-token-defines/-/glsl-token-defines-1.0.0.tgz", - "integrity": "sha512-Vb5QMVeLjmOwvvOJuPNg3vnRlffscq2/qvIuTpMzuO/7s5kT+63iL6Dfo2FYLWbzuiycWpbC0/KV0biqFwHxaQ==", - "dependencies": { - "glsl-tokenizer": "^2.0.0" - } - }, - "node_modules/glsl-token-depth": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/glsl-token-depth/-/glsl-token-depth-1.1.2.tgz", - "integrity": "sha512-eQnIBLc7vFf8axF9aoi/xW37LSWd2hCQr/3sZui8aBJnksq9C7zMeUYHVJWMhFzXrBU7fgIqni4EhXVW4/krpg==" - }, - "node_modules/glsl-token-descope": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/glsl-token-descope/-/glsl-token-descope-1.0.2.tgz", - "integrity": "sha512-kS2PTWkvi/YOeicVjXGgX5j7+8N7e56srNDEHDTVZ1dcESmbmpmgrnpjPcjxJjMxh56mSXYoFdZqb90gXkGjQw==", - "dependencies": { - "glsl-token-assignments": "^2.0.0", - "glsl-token-depth": "^1.1.0", - "glsl-token-properties": "^1.0.0", - "glsl-token-scope": "^1.1.0" - } - }, - "node_modules/glsl-token-inject-block": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/glsl-token-inject-block/-/glsl-token-inject-block-1.1.0.tgz", - "integrity": "sha512-q/m+ukdUBuHCOtLhSr0uFb/qYQr4/oKrPSdIK2C4TD+qLaJvqM9wfXIF/OOBjuSA3pUoYHurVRNao6LTVVUPWA==" - }, - "node_modules/glsl-token-properties": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz", - "integrity": "sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==" - }, - "node_modules/glsl-token-scope": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/glsl-token-scope/-/glsl-token-scope-1.1.2.tgz", - "integrity": "sha512-YKyOMk1B/tz9BwYUdfDoHvMIYTGtVv2vbDSLh94PT4+f87z21FVdou1KNKgF+nECBTo0fJ20dpm0B1vZB1Q03A==" - }, - "node_modules/glsl-token-string": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/glsl-token-string/-/glsl-token-string-1.0.1.tgz", - "integrity": "sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg==" - }, - "node_modules/glsl-token-whitespace-trim": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/glsl-token-whitespace-trim/-/glsl-token-whitespace-trim-1.0.0.tgz", - "integrity": "sha512-ZJtsPut/aDaUdLUNtmBYhaCmhIjpKNg7IgZSfX5wFReMc2vnj8zok+gB/3Quqs0TsBSX/fGnqUUYZDqyuc2xLQ==" - }, - "node_modules/glsl-tokenizer": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/glsl-tokenizer/-/glsl-tokenizer-2.1.5.tgz", - "integrity": "sha512-XSZEJ/i4dmz3Pmbnpsy3cKh7cotvFlBiZnDOwnj/05EwNp2XrhQ4XKJxT7/pDt4kp4YcpRSKz8eTV7S+mwV6MA==", - "dependencies": { - "through2": "^0.6.3" - } - }, - "node_modules/glsl-tokenizer/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" - }, - "node_modules/glsl-tokenizer/node_modules/readable-stream": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "node_modules/glsl-tokenizer/node_modules/string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" - }, - "node_modules/glsl-tokenizer/node_modules/through2": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", - "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", - "dependencies": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" - } - }, - "node_modules/glslify": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.1.1.tgz", - "integrity": "sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog==", - "dependencies": { - "bl": "^2.2.1", - "concat-stream": "^1.5.2", - "duplexify": "^3.4.5", - "falafel": "^2.1.0", - "from2": "^2.3.0", - "glsl-resolve": "0.0.1", - "glsl-token-whitespace-trim": "^1.0.0", - "glslify-bundle": "^5.0.0", - "glslify-deps": "^1.2.5", - "minimist": "^1.2.5", - "resolve": "^1.1.5", - "stack-trace": "0.0.9", - "static-eval": "^2.0.5", - "through2": "^2.0.1", - "xtend": "^4.0.0" - }, - "bin": { - "glslify": "bin.js" - } - }, - "node_modules/glslify-bundle": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-5.1.1.tgz", - "integrity": "sha512-plaAOQPv62M1r3OsWf2UbjN0hUYAB7Aph5bfH58VxJZJhloRNbxOL9tl/7H71K7OLJoSJ2ZqWOKk3ttQ6wy24A==", - "dependencies": { - "glsl-inject-defines": "^1.0.1", - "glsl-token-defines": "^1.0.0", - "glsl-token-depth": "^1.1.1", - "glsl-token-descope": "^1.0.2", - "glsl-token-scope": "^1.1.1", - "glsl-token-string": "^1.0.1", - "glsl-token-whitespace-trim": "^1.0.0", - "glsl-tokenizer": "^2.0.2", - "murmurhash-js": "^1.0.0", - "shallow-copy": "0.0.1" - } - }, - "node_modules/glslify-deps": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.2.tgz", - "integrity": "sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag==", - "dependencies": { - "@choojs/findup": "^0.2.0", - "events": "^3.2.0", - "glsl-resolve": "0.0.1", - "glsl-tokenizer": "^2.0.0", - "graceful-fs": "^4.1.2", - "inherits": "^2.0.1", - "map-limit": "0.0.1", - "resolve": "^1.0.0" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/grid-index": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", - "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-hover": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-hover/-/has-hover-1.0.1.tgz", - "integrity": "sha512-0G6w7LnlcpyDzpeGUTuT0CEw05+QlMuGVk1IHNAlHrGJITGodjZu3x8BNDUMfKJSZXNB2ZAclqc1bvrd+uUpfg==", - "dependencies": { - "is-browser": "^2.0.1" - } - }, - "node_modules/has-passive-events": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-passive-events/-/has-passive-events-1.0.0.tgz", - "integrity": "sha512-2vSj6IeIsgvsRMyeQ0JaCX5Q3lX4zMn5HpoVc7MEhQ6pv8Iq9rsXjsp+E5ZwaT7T0xhMT0KmU8gtt1EFVdbJiw==", - "dependencies": { - "is-browser": "^2.0.1" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hsluv": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/hsluv/-/hsluv-0.0.3.tgz", - "integrity": "sha512-08iL2VyCRbkQKBySkSh6m8zMUa3sADAxGVWs3Z1aPcUkTJeK0ETG4Fc27tEmQBGUAXZjIsXOZqBvacuVNSC/fQ==" - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-utils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", - "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/immutable": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.2.tgz", - "integrity": "sha512-1NU7hWZDkV7hJ4PJ9dur9gTNQ4ePNPN4k9/0YhwjzykTi/+3Q5pF93YU5QoVj8BuOnhLgaY8gs0U2pj4kSYVcw==" - }, - "node_modules/import-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", - "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", - "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/interpret": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", - "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", - "dev": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/is-browser": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", - "integrity": "sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ==" - }, - "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-firefox": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-firefox/-/is-firefox-1.0.3.tgz", - "integrity": "sha512-6Q9ITjvWIm0Xdqv+5U12wgOKEM2KoBw4Y926m0OFkvlCxnbG94HKAsVz8w3fWcfAS5YA2fJORXX1dLrkprCCxA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-iexplorer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-iexplorer/-/is-iexplorer-1.0.0.tgz", - "integrity": "sha512-YeLzceuwg3K6O0MLM3UyUUjKAlyULetwryFp1mHy1I5PfArK0AEqlfa+MR4gkJjcbuJXoDJCvXbyqZVf5CR2Sg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-mobile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-4.0.0.tgz", - "integrity": "sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew==" - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-string-blank": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-string-blank/-/is-string-blank-1.0.1.tgz", - "integrity": "sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==" - }, - "node_modules/is-svg-path": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz", - "integrity": "sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg==" - }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" - }, - "node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "engines": { - "node": ">=16" - } - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json-stringify-pretty-compact": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz", - "integrity": "sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==" - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/kdbush": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz", - "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==" - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/license-webpack-plugin": { - "version": "2.3.21", - "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.3.21.tgz", - "integrity": "sha512-rVaYU9TddZN3ao8M/0PrRSCdTp2EW6VQymlgsuScld1vef0Ou7fALx3ePe83KLP3xAEDcPK5fkqUVqGBnbz1zQ==", - "dev": true, - "dependencies": { - "@types/webpack-sources": "^0.1.5", - "webpack-sources": "^1.2.0" - }, - "peerDependenciesMeta": { - "webpack": { - "optional": true - } - } - }, - "node_modules/license-webpack-plugin/node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "engines": { - "node": ">=6.11.5" - } - }, - "node_modules/loader-utils": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", - "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", - "engines": { - "node": ">= 12.13.0" - } - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, - "node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" - }, - "node_modules/map-limit": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/map-limit/-/map-limit-0.0.1.tgz", - "integrity": "sha512-pJpcfLPnIF/Sk3taPW21G/RQsEEirGaFpCW3oXRwH9dnFHPHNGjNyvh++rdmC2fNqEaTw2MhYJraoJWAHx8kEg==", - "dependencies": { - "once": "~1.3.0" - } - }, - "node_modules/map-limit/node_modules/once": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", - "integrity": "sha512-6vaNInhu+CHxtONf3zw3vq4SP2DOQhjBvIa3rNcG0+P7eKWlYH6Peu7rHizSloRU2EwMz6GraLieis9Ac9+p1w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/mapbox-gl": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.3.tgz", - "integrity": "sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg==", - "peer": true, - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/geojson-types": "^1.0.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/mapbox-gl-supported": "^1.5.0", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^1.1.1", - "@mapbox/unitbezier": "^0.0.0", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "csscolorparser": "~1.0.3", - "earcut": "^2.2.2", - "geojson-vt": "^3.2.1", - "gl-matrix": "^3.2.1", - "grid-index": "^1.1.0", - "murmurhash-js": "^1.0.0", - "pbf": "^3.2.1", - "potpack": "^1.0.1", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "supercluster": "^7.1.0", - "tinyqueue": "^2.0.3", - "vt-pbf": "^3.1.1" - }, - "engines": { - "node": ">=6.4.0" - } - }, - "node_modules/maplibre-gl": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", - "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", - "dependencies": { - "@mapbox/geojson-rewind": "^0.5.2", - "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^2.0.6", - "@mapbox/unitbezier": "^0.0.1", - "@mapbox/vector-tile": "^1.3.1", - "@mapbox/whoots-js": "^3.1.0", - "@maplibre/maplibre-gl-style-spec": "^20.3.1", - "@types/geojson": "^7946.0.14", - "@types/geojson-vt": "3.2.5", - "@types/mapbox__point-geometry": "^0.1.4", - "@types/mapbox__vector-tile": "^1.3.4", - "@types/pbf": "^3.0.5", - "@types/supercluster": "^7.1.3", - "earcut": "^3.0.0", - "geojson-vt": "^4.0.2", - "gl-matrix": "^3.4.3", - "global-prefix": "^4.0.0", - "kdbush": "^4.0.2", - "murmurhash-js": "^1.0.0", - "pbf": "^3.3.0", - "potpack": "^2.0.0", - "quickselect": "^3.0.0", - "supercluster": "^8.0.1", - "tinyqueue": "^3.0.0", - "vt-pbf": "^3.1.3" - }, - "engines": { - "node": ">=16.14.0", - "npm": ">=8.1.0" - }, - "funding": { - "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" - } - }, - "node_modules/maplibre-gl/node_modules/@mapbox/tiny-sdf": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz", - "integrity": "sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==" - }, - "node_modules/maplibre-gl/node_modules/@mapbox/unitbezier": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", - "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" - }, - "node_modules/maplibre-gl/node_modules/earcut": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.0.tgz", - "integrity": "sha512-41Fs7Q/PLq1SDbqjsgcY7GA42T0jvaCNGXgGtsNdvg+Yv8eIu06bxv4/PoREkZ9nMDNwnUSG9OFB9+yv8eKhDg==" - }, - "node_modules/maplibre-gl/node_modules/geojson-vt": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-4.0.2.tgz", - "integrity": "sha512-AV9ROqlNqoZEIJGfm1ncNjEXfkz2hdFlZf0qkVfmkwdKa8vj7H16YUOT81rJw1rdFhyEDlN2Tds91p/glzbl5A==" - }, - "node_modules/maplibre-gl/node_modules/potpack": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz", - "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==" - }, - "node_modules/maplibre-gl/node_modules/quickselect": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-3.0.0.tgz", - "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==" - }, - "node_modules/maplibre-gl/node_modules/supercluster": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz", - "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==", - "dependencies": { - "kdbush": "^4.0.2" - } - }, - "node_modules/maplibre-gl/node_modules/tinyqueue": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", - "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" - }, - "node_modules/math-log2": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/math-log2/-/math-log2-1.0.1.tgz", - "integrity": "sha512-9W0yGtkaMAkf74XGYVy4Dqw3YUMnTNB2eeiw9aQbUl4A3KmuCEHTt2DgAB07ENzOYAjsYSAYufkAq0Zd+jU7zA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "optional": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mini-css-extract-plugin": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.2.tgz", - "integrity": "sha512-GJuACcS//jtq4kCtd5ii/M0SZf7OZRH+BxdqXZHaJfb8TJiVl+NgQRPwiYt2EuqeSkNydn/7vP+bcE27C5mb9w==", - "dev": true, - "dependencies": { - "schema-utils": "^4.0.0", - "tapable": "^2.2.1" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.0.0" - } - }, - "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", - "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/mini-svg-data-uri": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", - "dev": true, - "bin": { - "mini-svg-data-uri": "cli.js" - } - }, - "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/mouse-change": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.4.0.tgz", - "integrity": "sha512-vpN0s+zLL2ykyyUDh+fayu9Xkor5v/zRD9jhSqjRS1cJTGS0+oakVZzNm5n19JvvEj0you+MXlYTpNxUDQUjkQ==", - "dependencies": { - "mouse-event": "^1.0.0" - } - }, - "node_modules/mouse-event": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/mouse-event/-/mouse-event-1.0.5.tgz", - "integrity": "sha512-ItUxtL2IkeSKSp9cyaX2JLUuKk2uMoxBg4bbOWVd29+CskYJR9BGsUqtXenNzKbnDshvupjUewDIYVrOB6NmGw==" - }, - "node_modules/mouse-event-offset": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mouse-event-offset/-/mouse-event-offset-3.0.2.tgz", - "integrity": "sha512-s9sqOs5B1Ykox3Xo8b3Ss2IQju4UwlW6LSR+Q5FXWpprJ5fzMLefIIItr3PH8RwzfGy6gxs/4GAmiNuZScE25w==" - }, - "node_modules/mouse-wheel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mouse-wheel/-/mouse-wheel-1.2.0.tgz", - "integrity": "sha512-+OfYBiUOCTWcTECES49neZwL5AoGkXE+lFjIvzwNCnYRlso+EnfvovcBxGoyQ0yQt806eSPjS675K0EwWknXmw==", - "dependencies": { - "right-now": "^1.0.0", - "signum": "^1.0.0", - "to-px": "^1.0.1" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/mumath": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/mumath/-/mumath-3.3.4.tgz", - "integrity": "sha512-VAFIOG6rsxoc7q/IaY3jdjmrsuX9f15KlRLYTHmixASBZkZEKC1IFqE2BC5CdhXmK6WLM1Re33z//AGmeRI6FA==", - "deprecated": "Redundant dependency in your project.", - "dependencies": { - "almost-equal": "^1.1.0" - } - }, - "node_modules/murmurhash-js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", - "integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==" - }, - "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/native-promise-only": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", - "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==" - }, - "node_modules/needle": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", - "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", - "dependencies": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - }, - "bin": { - "needle": "bin/needle" - }, - "engines": { - "node": ">= 4.4.x" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" - }, - "node_modules/next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - }, - "node_modules/node-addon-api": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", - "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", - "optional": true - }, - "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==" - }, - "node_modules/normalize-svg-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-0.1.0.tgz", - "integrity": "sha512-1/kmYej2iedi5+ROxkRESL/pI02pkg0OBnaR4hJkSIX6+ORzepwbuUXfrdZaPjysTsJInj0Rj5NuX027+dMBvA==" - }, - "node_modules/number-is-integer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-integer/-/number-is-integer-1.0.1.tgz", - "integrity": "sha512-Dq3iuiFBkrbmuQjGFFF3zckXNCQoSD37/SdSbgcBailUx6knDvDwb5CympBgcoWHy36sfS12u74MHYkXyHq6bg==", - "dependencies": { - "is-finite": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" - }, - "node_modules/parenthesis": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.8.tgz", - "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw==" - }, - "node_modules/parse-rect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/parse-rect/-/parse-rect-1.2.0.tgz", - "integrity": "sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA==", - "dependencies": { - "pick-by-alias": "^1.2.0" - } - }, - "node_modules/parse-svg-path": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz", - "integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==" - }, - "node_modules/parse-unit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-unit/-/parse-unit-1.0.1.tgz", - "integrity": "sha512-hrqldJHokR3Qj88EIlV/kAyAi/G5R2+R56TBANxNMy0uPlYcttx0jnMW6Yx5KsKPSbC3KddM/7qQm3+0wEXKxg==" - }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/pbf": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", - "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", - "dependencies": { - "ieee754": "^1.1.12", - "resolve-protobuf-schema": "^2.1.0" - }, - "bin": { - "pbf": "bin/pbf" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" - }, - "node_modules/pick-by-alias": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", - "integrity": "sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw==" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "optional": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/plotly.js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-3.0.1.tgz", - "integrity": "sha512-eWEUkqdv4sblmUQJ7xGlEA+LghzEVPJOlPBZMJuagG0CsQxlmBb+7rd0UFVig5jhRnN8PQqRQaLv6qXIjnvzgg==", - "dependencies": { - "@plotly/d3": "3.8.2", - "@plotly/d3-sankey": "0.7.2", - "@plotly/d3-sankey-circular": "0.33.1", - "@plotly/mapbox-gl": "1.13.4", - "@turf/area": "^7.1.0", - "@turf/bbox": "^7.1.0", - "@turf/centroid": "^7.1.0", - "base64-arraybuffer": "^1.0.2", - "canvas-fit": "^1.5.0", - "color-alpha": "1.0.4", - "color-normalize": "1.5.0", - "color-parse": "2.0.0", - "color-rgba": "3.0.0", - "country-regex": "^1.1.0", - "css-loader": "^7.1.2", - "d3-force": "^1.2.1", - "d3-format": "^1.4.5", - "d3-geo": "^1.12.1", - "d3-geo-projection": "^2.9.0", - "d3-hierarchy": "^1.1.9", - "d3-interpolate": "^3.0.1", - "d3-time": "^1.1.0", - "d3-time-format": "^2.2.3", - "esbuild-style-plugin": "^1.6.3", - "fast-isnumeric": "^1.1.4", - "gl-mat4": "^1.2.0", - "gl-text": "^1.4.0", - "has-hover": "^1.0.1", - "has-passive-events": "^1.0.0", - "is-mobile": "^4.0.0", - "maplibre-gl": "^4.7.1", - "mouse-change": "^1.4.0", - "mouse-event-offset": "^3.0.2", - "mouse-wheel": "^1.2.0", - "native-promise-only": "^0.8.1", - "parse-svg-path": "^0.1.2", - "point-in-polygon": "^1.1.0", - "polybooljs": "^1.2.2", - "probe-image-size": "^7.2.3", - "regl": "npm:@plotly/regl@^2.1.2", - "regl-error2d": "^2.0.12", - "regl-line2d": "^3.1.3", - "regl-scatter2d": "^3.3.1", - "regl-splom": "^1.0.14", - "strongly-connected-components": "^1.0.1", - "style-loader": "^4.0.0", - "superscript-text": "^1.0.0", - "svg-path-sdf": "^1.1.3", - "tinycolor2": "^1.4.2", - "to-px": "1.0.1", - "topojson-client": "^3.1.0", - "webgl-context": "^2.2.0", - "world-calendars": "^1.0.3" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/plotly.js/node_modules/color-rgba": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-3.0.0.tgz", - "integrity": "sha512-PPwZYkEY3M2THEHHV6Y95sGUie77S7X8v+h1r6LSAPF3/LL2xJ8duUXSrkic31Nzc4odPwHgUbiX/XuTYzQHQg==", - "dependencies": { - "color-parse": "^2.0.0", - "color-space": "^2.0.0" - } - }, - "node_modules/plotly.js/node_modules/color-space": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/color-space/-/color-space-2.3.1.tgz", - "integrity": "sha512-5DJdKYwoDji3ik/i0xSn+SiwXsfwr+1FEcCMUz2GS5speGCfGSbBMOLd84SDUBOuX8y4CvdFJmOBBJuC4wp7sQ==" - }, - "node_modules/point-in-polygon": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/point-in-polygon/-/point-in-polygon-1.1.0.tgz", - "integrity": "sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw==" - }, - "node_modules/polybooljs": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/polybooljs/-/polybooljs-1.2.2.tgz", - "integrity": "sha512-ziHW/02J0XuNuUtmidBc6GXE8YohYydp3DWPWXYsd7O721TjcmN+k6ezjdwkDqep+gnWnFY+yqZHvzElra2oCg==" - }, - "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.0", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-modules": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-6.0.1.tgz", - "integrity": "sha512-zyo2sAkVvuZFFy0gc2+4O+xar5dYlaVy/ebO24KT0ftk/iJevSNyPyQellsBLlnccwh7f6V6Y4GvuKRYToNgpQ==", - "dependencies": { - "generic-names": "^4.0.0", - "icss-utils": "^5.1.0", - "lodash.camelcase": "^4.3.0", - "postcss-modules-extract-imports": "^3.1.0", - "postcss-modules-local-by-default": "^4.0.5", - "postcss-modules-scope": "^3.2.0", - "postcss-modules-values": "^4.0.0", - "string-hash": "^1.1.3" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "node_modules/postcss-modules-extract-imports": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", - "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-local-by-default": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz", - "integrity": "sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==", - "dependencies": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-scope": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz", - "integrity": "sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==", - "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", - "dependencies": { - "icss-utils": "^5.0.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, - "node_modules/potpack": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz", - "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==" - }, - "node_modules/probe-image-size": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.3.tgz", - "integrity": "sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==", - "dependencies": { - "lodash.merge": "^4.6.2", - "needle": "^2.5.2", - "stream-parser": "~0.3.1" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "dev": true, - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/protocol-buffers-schema": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", - "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/quickselect": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", - "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" - }, - "node_modules/raf": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", - "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", - "dependencies": { - "performance-now": "^2.1.0" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "node_modules/readable-stream/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/rechoir": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", - "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", - "dev": true, - "dependencies": { - "resolve": "^1.20.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/regl": { - "name": "@plotly/regl", - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@plotly/regl/-/regl-2.1.2.tgz", - "integrity": "sha512-Mdk+vUACbQvjd0m/1JJjOOafmkp/EpmHjISsopEz5Av44CBq7rPC05HHNbYGKVyNUF2zmEoBS/TT0pd0SPFFyw==" - }, - "node_modules/regl-error2d": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.12.tgz", - "integrity": "sha512-r7BUprZoPO9AbyqM5qlJesrSRkl+hZnVKWKsVp7YhOl/3RIpi4UDGASGJY0puQ96u5fBYw/OlqV24IGcgJ0McA==", - "dependencies": { - "array-bounds": "^1.0.1", - "color-normalize": "^1.5.0", - "flatten-vertex-data": "^1.0.2", - "object-assign": "^4.1.1", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0", - "update-diff": "^1.1.0" - } - }, - "node_modules/regl-line2d": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.1.3.tgz", - "integrity": "sha512-fkgzW+tTn4QUQLpFKsUIE0sgWdCmXAM3ctXcCgoGBZTSX5FE2A0M7aynz7nrZT5baaftLrk9te54B+MEq4QcSA==", - "dependencies": { - "array-bounds": "^1.0.1", - "array-find-index": "^1.0.2", - "array-normalize": "^1.1.4", - "color-normalize": "^1.5.0", - "earcut": "^2.1.5", - "es6-weak-map": "^2.0.3", - "flatten-vertex-data": "^1.0.2", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0" - } - }, - "node_modules/regl-scatter2d": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.3.1.tgz", - "integrity": "sha512-seOmMIVwaCwemSYz/y4WE0dbSO9svNFSqtTh5RE57I7PjGo3tcUYKtH0MTSoshcAsreoqN8HoCtnn8wfHXXfKQ==", - "dependencies": { - "@plotly/point-cluster": "^3.1.9", - "array-range": "^1.0.1", - "array-rearrange": "^2.2.2", - "clamp": "^1.0.1", - "color-id": "^1.1.0", - "color-normalize": "^1.5.0", - "color-rgba": "^2.1.1", - "flatten-vertex-data": "^1.0.2", - "glslify": "^7.0.0", - "is-iexplorer": "^1.0.0", - "object-assign": "^4.1.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "to-float32": "^1.1.0", - "update-diff": "^1.1.0" - } - }, - "node_modules/regl-splom": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.14.tgz", - "integrity": "sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw==", - "dependencies": { - "array-bounds": "^1.0.1", - "array-range": "^1.0.1", - "color-alpha": "^1.0.4", - "flatten-vertex-data": "^1.0.2", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0", - "raf": "^3.4.1", - "regl-scatter2d": "^3.2.3" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-protobuf-schema": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", - "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", - "dependencies": { - "protocol-buffers-schema": "^3.3.1" - } - }, - "node_modules/right-now": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/right-now/-/right-now-1.0.0.tgz", - "integrity": "sha512-DA8+YS+sMIVpbsuKgy+Z67L9Lxb1p05mNxRpDPNksPDEFir4vmBlUtuN9jkTGn9YMMdlBuK7XQgFiz6ws+yhSg==" - }, - "node_modules/rw": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/sass": { - "version": "1.80.7", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.7.tgz", - "integrity": "sha512-MVWvN0u5meytrSjsU7AWsbhoXi1sc58zADXFllfZzbsBT1GHjjar6JwBINYPRrkx/zqnQ6uqbQuHgE95O+C+eQ==", - "dependencies": { - "chokidar": "^4.0.0", - "immutable": "^5.0.2", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "optionalDependencies": { - "@parcel/watcher": "^2.4.1" - } - }, - "node_modules/sax": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" - }, - "node_modules/schema-utils": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", - "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/serialize-javascript": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shallow-copy": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", - "integrity": "sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw==" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/signum": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/signum/-/signum-1.0.0.tgz", - "integrity": "sha512-yodFGwcyt59XRh7w5W3jPcIQb3Bwi21suEfT7MAWnBX3iCdklJpgDgvGT9o04UonglZN5SNMfJFkHIR/jO8GHw==" - }, - "node_modules/source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", - "dev": true - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-loader": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-1.0.2.tgz", - "integrity": "sha512-oX8d6ndRjN+tVyjj6PlXSyFPhDdVAPsZA30nD3/II8g4uOv8fCz0DMn5sy8KtVbDfKQxOpGwGJnK3xIW3tauDw==", - "dev": true, - "dependencies": { - "data-urls": "^2.0.0", - "iconv-lite": "^0.6.2", - "loader-utils": "^2.0.0", - "schema-utils": "^2.7.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/source-map-loader/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-loader/node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/source-map-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/stack-trace": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", - "integrity": "sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ==", - "engines": { - "node": "*" - } - }, - "node_modules/static-eval": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.1.tgz", - "integrity": "sha512-MgWpQ/ZjGieSVB3eOJVs4OA2LT/q1vx98KPCTTQPzq/aLr0YUXTsgryTXr4SLfR0ZfUUCiedM9n/ABeDIyy4mA==", - "dependencies": { - "escodegen": "^2.1.0" - } - }, - "node_modules/stream-parser": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", - "integrity": "sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==", - "dependencies": { - "debug": "2" - } - }, - "node_modules/stream-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/stream-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "node_modules/stream-shift": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", - "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" - }, - "node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/string-hash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz", - "integrity": "sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==" - }, - "node_modules/string-split-by": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz", - "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==", - "dependencies": { - "parenthesis": "^3.1.5" - } - }, - "node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/string-width-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/strongly-connected-components": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strongly-connected-components/-/strongly-connected-components-1.0.1.tgz", - "integrity": "sha512-i0TFx4wPcO0FwX+4RkLJi1MxmcTv90jNZgxMu9XRnMXMeFUY1VJlIoXpZunPUvUUqbCT1pg5PEkFqqpcaElNaA==" - }, - "node_modules/style-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-4.0.0.tgz", - "integrity": "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==", - "engines": { - "node": ">= 18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.27.0" - } - }, - "node_modules/supercluster": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz", - "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==", - "dependencies": { - "kdbush": "^3.0.0" - } - }, - "node_modules/supercluster/node_modules/kdbush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", - "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" - }, - "node_modules/superscript-text": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/superscript-text/-/superscript-text-1.0.0.tgz", - "integrity": "sha512-gwu8l5MtRZ6koO0icVTlmN5pm7Dhh1+Xpe9O4x6ObMAsW+3jPbW14d1DsBq1F4wiI+WOFjXF35pslgec/G8yCQ==" - }, - "node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/svg-arc-to-cubic-bezier": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz", - "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g==" - }, - "node_modules/svg-path-bounds": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz", - "integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==", - "dependencies": { - "abs-svg-path": "^0.1.1", - "is-svg-path": "^1.0.1", - "normalize-svg-path": "^1.0.0", - "parse-svg-path": "^0.1.2" - } - }, - "node_modules/svg-path-bounds/node_modules/normalize-svg-path": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz", - "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==", - "dependencies": { - "svg-arc-to-cubic-bezier": "^3.0.0" - } - }, - "node_modules/svg-path-sdf": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/svg-path-sdf/-/svg-path-sdf-1.1.3.tgz", - "integrity": "sha512-vJJjVq/R5lSr2KLfVXVAStktfcfa1pNFjFOgyJnzZFXlO/fDZ5DmM8FpnSKKzLPfEYTVeXuVBTHF296TpxuJVg==", - "dependencies": { - "bitmap-sdf": "^1.0.0", - "draw-svg-path": "^1.0.0", - "is-svg-path": "^1.0.1", - "parse-svg-path": "^0.1.2", - "svg-path-bounds": "^1.0.1" - } - }, - "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/terser": { - "version": "5.36.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.36.0.tgz", - "integrity": "sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==", - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "5.3.10", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", - "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.20", - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.1", - "terser": "^5.26.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, - "node_modules/terser/node_modules/acorn": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/tinycolor2": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", - "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" - }, - "node_modules/tinyqueue": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz", - "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==" - }, - "node_modules/to-float32": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.1.0.tgz", - "integrity": "sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg==" - }, - "node_modules/to-px": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.0.1.tgz", - "integrity": "sha512-2y3LjBeIZYL19e5gczp14/uRWFDtDUErJPVN3VU9a7SJO+RjGRtYR47aMN2bZgGlxvW4ZcEz2ddUPVHXcMfuXw==", - "dependencies": { - "parse-unit": "^1.0.1" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/topojson-client": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", - "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", - "dependencies": { - "commander": "2" - }, - "bin": { - "topo2geo": "bin/topo2geo", - "topomerge": "bin/topomerge", - "topoquantize": "bin/topoquantize" - } - }, - "node_modules/tr46": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", - "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", - "dev": true, - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" - }, - "node_modules/type": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", - "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" - }, - "node_modules/typedarray-pool": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.2.0.tgz", - "integrity": "sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==", - "dependencies": { - "bit-twiddle": "^1.0.0", - "dup": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" - }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unquote": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", - "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==" - }, - "node_modules/update-browserslist-db": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", - "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/update-diff": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/update-diff/-/update-diff-1.1.0.tgz", - "integrity": "sha512-rCiBPiHxZwT4+sBhEbChzpO5hYHjm91kScWgdHf4Qeafs6Ba7MBl+d9GlGv72bcTZQO0sLmtQS1pHSWoCLtN/A==" - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/vt-pbf": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz", - "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==", - "dependencies": { - "@mapbox/point-geometry": "0.1.0", - "@mapbox/vector-tile": "^1.3.1", - "pbf": "^3.2.1" - } - }, - "node_modules/watchpack": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", - "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/weak-map": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", - "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" - }, - "node_modules/webgl-context": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/webgl-context/-/webgl-context-2.2.0.tgz", - "integrity": "sha512-q/fGIivtqTT7PEoF07axFIlHNk/XCPaYpq64btnepopSWvKNFkoORlQYgqDigBIuGA1ExnFd/GnSUnBNEPQY7Q==", - "dependencies": { - "get-canvas-context": "^1.0.1" - } - }, - "node_modules/webidl-conversions": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", - "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", - "dev": true, - "engines": { - "node": ">=10.4" - } - }, - "node_modules/webpack": { - "version": "5.95.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.95.0.tgz", - "integrity": "sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==", - "dependencies": { - "@types/estree": "^1.0.5", - "@webassemblyjs/ast": "^1.12.1", - "@webassemblyjs/wasm-edit": "^1.12.1", - "@webassemblyjs/wasm-parser": "^1.12.1", - "acorn": "^8.7.1", - "acorn-import-attributes": "^1.9.5", - "browserslist": "^4.21.10", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.1", - "es-module-lexer": "^1.2.1", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.11", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.2.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.10", - "watchpack": "^2.4.1", - "webpack-sources": "^3.2.3" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-cli": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", - "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", - "dev": true, - "dependencies": { - "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^2.1.1", - "@webpack-cli/info": "^2.0.2", - "@webpack-cli/serve": "^2.0.5", - "colorette": "^2.0.14", - "commander": "^10.0.1", - "cross-spawn": "^7.0.3", - "envinfo": "^7.7.3", - "fastest-levenshtein": "^1.0.12", - "import-local": "^3.0.2", - "interpret": "^3.1.1", - "rechoir": "^0.8.0", - "webpack-merge": "^5.7.3" - }, - "bin": { - "webpack-cli": "bin/cli.js" - }, - "engines": { - "node": ">=14.15.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "5.x.x" - }, - "peerDependenciesMeta": { - "@webpack-cli/generators": { - "optional": true - }, - "webpack-bundle-analyzer": { - "optional": true - }, - "webpack-dev-server": { - "optional": true - } - } - }, - "node_modules/webpack-cli/node_modules/commander": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", - "dev": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/webpack-merge": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", - "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", - "dev": true, - "dependencies": { - "clone-deep": "^4.0.1", - "flat": "^5.0.2", - "wildcard": "^2.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/acorn": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/webpack/node_modules/acorn-import-attributes": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/whatwg-mimetype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", - "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", - "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", - "dev": true, - "dependencies": { - "lodash": "^4.7.0", - "tr46": "^2.1.0", - "webidl-conversions": "^6.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^16.13.0 || >=18.0.0" - } - }, - "node_modules/wildcard": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", - "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", - "dev": true - }, - "node_modules/worker-loader": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/worker-loader/-/worker-loader-3.0.8.tgz", - "integrity": "sha512-XQyQkIFeRVC7f7uRhFdNMe/iJOdO6zxAaR3EWbDp45v3mDhrTi+++oswKNxShUNjPC/1xUp5DB29YKLhFo129g==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/worker-loader/node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/world-calendars": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz", - "integrity": "sha512-sAjLZkBnsbHkHWVhrsCU5Sa/EVuf9QqgvrN8zyJ2L/F9FR9Oc6CvVK0674+PGAtmmmYQMH98tCUSO4QLQv3/TQ==", - "dependencies": { - "object-assign": "^4.1.0" - } - }, - "node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/wrap-ansi-cjs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "engines": { - "node": ">=0.4" - } - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index 606ed6a92e8..00000000000 --- a/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "jupyterlab-plotly", - "version": "0.1.0", - "main": "js/mimerenderer.js", - "scripts": { - "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=plotly/package_data/widgetbundle.js js/widget.ts", - "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=js/mimerenderer.js js/index.ts", - "build": "npm run build:widget && npm run build:mimerenderer", - "watch": "npm run build -- --watch --sourcemap=inline", - "typecheck": "tsc --noEmit" - }, - "dependencies": { - "lodash-es": "^4.17.21", - "plotly.js": "3.0.1", - "@lumino/widgets": "~2.4.0" - }, - "devDependencies": { - "@jupyterlab/builder": "^4.3.6", - "@types/plotly.js": "^2.33.4", - "esbuild": "^0.23.1", - "typescript": "^5.6.2" - }, - "jupyterlab": { - "mimeExtension": true, - "outputDir": "plotly/labextension" - } -} diff --git a/plotly/__init__.py b/plotly/__init__.py index ed8fd86ee3a..a121195bef0 100644 --- a/plotly/__init__.py +++ b/plotly/__init__.py @@ -186,18 +186,6 @@ def _jupyter_labextension_paths(): to install the extension. """ return [{ - 'src': 'labextension', + 'src': 'labextension/static', 'dest': 'jupyterlab-plotly', }] - -# For the mime renderer extension -def _jupyter_mimetype_metadata(): - """Metadata for the mimetype extension""" - return { - "name": "plotly", - "version": __version__, - "description": "A MIME renderer extension for Jupyter Lab", - "author": "Martha Cryan", - "main": "js/mimerenderer.js", - "license": "BSD-3-Clause" - } \ No newline at end of file diff --git a/plotly/labextension/package-lock.json b/plotly/labextension/package-lock.json new file mode 100644 index 00000000000..bd1572eb0bc --- /dev/null +++ b/plotly/labextension/package-lock.json @@ -0,0 +1,5885 @@ +{ + "name": "jupyterlab-plotly", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "jupyterlab-plotly", + "version": "0.1.0", + "dependencies": { + "@lumino/widgets": "~2.4.0", + "lodash-es": "^4.17.21", + "plotly.js": "3.0.1" + }, + "devDependencies": { + "@jupyterlab/builder": "^4.3.6", + "@types/plotly.js": "^2.33.4", + "esbuild": "^0.23.1", + "typescript": "^5.6.2" + } + }, + "node_modules/@choojs/findup": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", + "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", + "dependencies": { + "commander": "^2.15.1" + }, + "bin": { + "findup": "bin/findup.js" + } + }, + "node_modules/@choojs/findup/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jupyterlab/builder": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@jupyterlab/builder/-/builder-4.3.6.tgz", + "integrity": "sha512-h96k18hl93G8lmGlMN0Tiu18Hz5rgsmjJu3nULPpa+U9tVgaWG61vv1e+UmzxEpMVUQ6nlNmoho29EP6gEAIaQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/application": "^2.4.1", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2", + "@lumino/widgets": "^2.5.0", + "ajv": "^8.12.0", + "commander": "^9.4.1", + "css-loader": "^6.7.1", + "duplicate-package-checker-webpack-plugin": "^3.0.0", + "fs-extra": "^10.1.0", + "glob": "~7.1.6", + "license-webpack-plugin": "^2.3.14", + "mini-css-extract-plugin": "^2.7.0", + "mini-svg-data-uri": "^1.4.4", + "path-browserify": "^1.0.0", + "process": "^0.11.10", + "source-map-loader": "~1.0.2", + "style-loader": "~3.3.1", + "supports-color": "^7.2.0", + "terser-webpack-plugin": "^5.3.7", + "webpack": "^5.76.1", + "webpack-cli": "^5.0.1", + "webpack-merge": "^5.8.0", + "worker-loader": "^3.0.2" + }, + "bin": { + "build-labextension": "lib/build-labextension.js" + } + }, + "node_modules/@jupyterlab/builder/node_modules/@lumino/widgets": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", + "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@lumino/algorithm": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/algorithm/-/algorithm-2.0.2.tgz", + "integrity": "sha512-cI8yJ2+QK1yM5ZRU3Kuaw9fJ/64JEDZEwWWp7+U0cd/mvcZ44BGdJJ29w+tIet1QXxPAvnsUleWyQ5qm4qUouA==" + }, + "node_modules/@lumino/application": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@lumino/application/-/application-2.4.2.tgz", + "integrity": "sha512-fuY7zSzgl/N0gBX2HQsuXJWA05TEzNs+lcswg3sX5+clodEU7TadJIWuRP/PNHSJZODz1uz5QFvZ/lHpvj122Q==", + "dev": true, + "dependencies": { + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/widgets": "^2.6.0" + } + }, + "node_modules/@lumino/application/node_modules/@lumino/widgets": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.6.0.tgz", + "integrity": "sha512-UjLtRod9QfUBzASP4geUzfW3P+qzF+d9I9/4CwrIsL9JIQ7VIxeB3nEMuhKMLOQttaJleL488lmUW9zSs5+AuQ==", + "dev": true, + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@lumino/collections": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/collections/-/collections-2.0.2.tgz", + "integrity": "sha512-o0QmfV1D3WhAeA8GI1/YmEPaK89JtHVa764rQ5T0LdbDEwUtUDbjavHs1E/+y66tNTXz9RUJ4D2rcSb9tysYsg==", + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/commands": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@lumino/commands/-/commands-2.3.1.tgz", + "integrity": "sha512-DpX1kkE4PhILpvK1T4ZnaFb6UP4+YTkdZifvN3nbiomD64O2CTd+wcWIBpZMgy6MMgbVgrE8dzHxHk1EsKxNxw==", + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/keyboard": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@lumino/coreutils": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-2.2.0.tgz", + "integrity": "sha512-x5wnQ/GjWBayJ6vXVaUi6+Q6ETDdcUiH9eSfpRZFbgMQyyM6pi6baKqJBK2CHkCc/YbAEl6ipApTgm3KOJ/I3g==", + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/disposable": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@lumino/disposable/-/disposable-2.1.3.tgz", + "integrity": "sha512-k5KXy/+T3UItiWHY4WwQawnsJnGo3aNtP5CTRKqo4+tbTNuhc3rTSvygJlNKIbEfIZXW2EWYnwfFDozkYx95eA==", + "dependencies": { + "@lumino/signaling": "^2.1.3" + } + }, + "node_modules/@lumino/domutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/domutils/-/domutils-2.0.2.tgz", + "integrity": "sha512-2Kp6YHaMNI1rKB0PrALvOsZBHPy2EvVVAvJLWjlCm8MpWOVETjFp0MA9QpMubT9I76aKbaI5s1o1NJyZ8Y99pQ==" + }, + "node_modules/@lumino/dragdrop": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@lumino/dragdrop/-/dragdrop-2.1.5.tgz", + "integrity": "sha512-zqwR4GakrQBKZOW6S5pj2nfrQDurOErAoe9x3HS3BKLa1AzWA+t9PD5NESOKd81NqXFHjiMirSyFkTUs6pw+uA==", + "dependencies": { + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3" + } + }, + "node_modules/@lumino/keyboard": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/keyboard/-/keyboard-2.0.2.tgz", + "integrity": "sha512-icRUpvswDaFjqmAJNbQRb/aTu6Iugo6Y2oC08TiIwhQtLS9W+Ee9VofdqvbPSvCm6DkyP+DCWMuA3KXZ4V4g4g==" + }, + "node_modules/@lumino/messaging": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/messaging/-/messaging-2.0.2.tgz", + "integrity": "sha512-2sUF07cYA0f3mDil41Eh5sfBk0aGAH/mOh1I4+vyRUsKyBqp4WTUtpJFd8xVJGAntygxwnebIygkIaXXTIQvxA==", + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/collections": "^2.0.2" + } + }, + "node_modules/@lumino/properties": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/properties/-/properties-2.0.2.tgz", + "integrity": "sha512-b312oA3Bh97WFK8efXejYmC3DVJmvzJk72LQB7H3fXhfqS5jUWvL7MSnNmgcQvGzl9fIhDWDWjhtSTi0KGYYBg==" + }, + "node_modules/@lumino/signaling": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@lumino/signaling/-/signaling-2.1.3.tgz", + "integrity": "sha512-9Wd4iMk8F1i6pYjy65bqKuPlzQMicyL9xy1/ccS20kovPcfD074waneL/7BVe+3M8i+fGa3x2qjbWrBzOdTdNw==", + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/coreutils": "^2.2.0" + } + }, + "node_modules/@lumino/virtualdom": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lumino/virtualdom/-/virtualdom-2.0.2.tgz", + "integrity": "sha512-HYZThOtZSoknjdXA102xpy5CiXtTFCVz45EXdWeYLx3NhuEwuAIX93QBBIhupalmtFlRg1yhdDNV40HxJ4kcXg==", + "dependencies": { + "@lumino/algorithm": "^2.0.2" + } + }, + "node_modules/@lumino/widgets": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@lumino/widgets/-/widgets-2.4.0.tgz", + "integrity": "sha512-n7MqRKj+g/aRnI3dl4EJw/Bkt5/LSwGcn3sA9opn88CMZmAzjC33ac+q6zijovjCX8yDud7KKK8yPFTwOFaxhg==", + "dependencies": { + "@lumino/algorithm": "^2.0.2", + "@lumino/commands": "^2.3.1", + "@lumino/coreutils": "^2.2.0", + "@lumino/disposable": "^2.1.3", + "@lumino/domutils": "^2.0.2", + "@lumino/dragdrop": "^2.1.5", + "@lumino/keyboard": "^2.0.2", + "@lumino/messaging": "^2.0.2", + "@lumino/properties": "^2.0.2", + "@lumino/signaling": "^2.1.3", + "@lumino/virtualdom": "^2.0.2" + } + }, + "node_modules/@mapbox/geojson-rewind": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz", + "integrity": "sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==", + "dependencies": { + "get-stream": "^6.0.1", + "minimist": "^1.2.6" + }, + "bin": { + "geojson-rewind": "geojson-rewind" + } + }, + "node_modules/@mapbox/geojson-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", + "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" + }, + "node_modules/@mapbox/jsonlint-lines-primitives": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", + "integrity": "sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@mapbox/mapbox-gl-supported": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz", + "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==", + "peerDependencies": { + "mapbox-gl": ">=0.32.1 <2.0.0" + } + }, + "node_modules/@mapbox/point-geometry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", + "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==" + }, + "node_modules/@mapbox/tiny-sdf": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz", + "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==" + }, + "node_modules/@mapbox/unitbezier": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", + "integrity": "sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==" + }, + "node_modules/@mapbox/vector-tile": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", + "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", + "dependencies": { + "@mapbox/point-geometry": "~0.1.0" + } + }, + "node_modules/@mapbox/whoots-js": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", + "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@maplibre/maplibre-gl-style-spec": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", + "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", + "dependencies": { + "@mapbox/jsonlint-lines-primitives": "~2.0.2", + "@mapbox/unitbezier": "^0.0.1", + "json-stringify-pretty-compact": "^4.0.0", + "minimist": "^1.2.8", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "tinyqueue": "^3.0.0" + }, + "bin": { + "gl-style-format": "dist/gl-style-format.mjs", + "gl-style-migrate": "dist/gl-style-migrate.mjs", + "gl-style-validate": "dist/gl-style-validate.mjs" + } + }, + "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/@mapbox/unitbezier": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", + "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" + }, + "node_modules/@maplibre/maplibre-gl-style-spec/node_modules/tinyqueue": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", + "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" + }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", + "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", + "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", + "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", + "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", + "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", + "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", + "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", + "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", + "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", + "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@plotly/d3": { + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/@plotly/d3/-/d3-3.8.2.tgz", + "integrity": "sha512-wvsNmh1GYjyJfyEBPKJLTMzgf2c2bEbSIL50lmqVUi+o1NHaLPi1Lb4v7VxXXJn043BhNyrxUrWI85Q+zmjOVA==" + }, + "node_modules/@plotly/d3-sankey": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz", + "integrity": "sha512-2jdVos1N3mMp3QW0k2q1ph7Gd6j5PY1YihBrwpkFnKqO+cqtZq3AdEYUeSGXMeLsBDQYiqTVcihYfk8vr5tqhw==", + "dependencies": { + "d3-array": "1", + "d3-collection": "1", + "d3-shape": "^1.2.0" + } + }, + "node_modules/@plotly/d3-sankey-circular": { + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz", + "integrity": "sha512-FgBV1HEvCr3DV7RHhDsPXyryknucxtfnLwPtCKKxdolKyTFYoLX/ibEfX39iFYIL7DYbVeRtP43dbFcrHNE+KQ==", + "dependencies": { + "d3-array": "^1.2.1", + "d3-collection": "^1.0.4", + "d3-shape": "^1.2.0", + "elementary-circuits-directed-graph": "^1.0.4" + } + }, + "node_modules/@plotly/mapbox-gl": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/@plotly/mapbox-gl/-/mapbox-gl-1.13.4.tgz", + "integrity": "sha512-sR3/Pe5LqT/fhYgp4rT4aSFf1rTsxMbGiH6Hojc7PH36ny5Bn17iVFUjpzycafETURuFbLZUfjODO8LvSI+5zQ==", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/geojson-types": "^1.0.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/mapbox-gl-supported": "^1.5.0", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^1.1.1", + "@mapbox/unitbezier": "^0.0.0", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "csscolorparser": "~1.0.3", + "earcut": "^2.2.2", + "geojson-vt": "^3.2.1", + "gl-matrix": "^3.2.1", + "grid-index": "^1.1.0", + "murmurhash-js": "^1.0.0", + "pbf": "^3.2.1", + "potpack": "^1.0.1", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "supercluster": "^7.1.0", + "tinyqueue": "^2.0.3", + "vt-pbf": "^3.1.1" + }, + "engines": { + "node": ">=6.4.0" + } + }, + "node_modules/@plotly/point-cluster": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", + "integrity": "sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw==", + "dependencies": { + "array-bounds": "^1.0.1", + "binary-search-bounds": "^2.0.4", + "clamp": "^1.0.1", + "defined": "^1.0.0", + "dtype": "^2.0.0", + "flatten-vertex-data": "^1.0.2", + "is-obj": "^1.0.1", + "math-log2": "^1.0.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0" + } + }, + "node_modules/@turf/area": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@turf/area/-/area-7.2.0.tgz", + "integrity": "sha512-zuTTdQ4eoTI9nSSjerIy4QwgvxqwJVciQJ8tOPuMHbXJ9N/dNjI7bU8tasjhxas/Cx3NE9NxVHtNpYHL0FSzoA==", + "dependencies": { + "@turf/helpers": "^7.2.0", + "@turf/meta": "^7.2.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/bbox": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.2.0.tgz", + "integrity": "sha512-wzHEjCXlYZiDludDbXkpBSmv8Zu6tPGLmJ1sXQ6qDwpLE1Ew3mcWqt8AaxfTP5QwDNQa3sf2vvgTEzNbPQkCiA==", + "dependencies": { + "@turf/helpers": "^7.2.0", + "@turf/meta": "^7.2.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/centroid": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-7.2.0.tgz", + "integrity": "sha512-yJqDSw25T7P48au5KjvYqbDVZ7qVnipziVfZ9aSo7P2/jTE7d4BP21w0/XLi3T/9bry/t9PR1GDDDQljN4KfDw==", + "dependencies": { + "@turf/helpers": "^7.2.0", + "@turf/meta": "^7.2.0", + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/helpers": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.2.0.tgz", + "integrity": "sha512-cXo7bKNZoa7aC7ydLmUR02oB3IgDe7MxiPuRz3cCtYQHn+BJ6h1tihmamYDWWUlPHgSNF0i3ATc4WmDECZafKw==", + "dependencies": { + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@turf/meta": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.2.0.tgz", + "integrity": "sha512-igzTdHsQc8TV1RhPuOLVo74Px/hyPrVgVOTgjWQZzt3J9BVseCdpfY/0cJBdlSRI4S/yTmmHl7gAqjhpYH5Yaw==", + "dependencies": { + "@turf/helpers": "^7.2.0", + "@types/geojson": "^7946.0.10" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==" + }, + "node_modules/@types/geojson": { + "version": "7946.0.16", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz", + "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==" + }, + "node_modules/@types/geojson-vt": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@types/geojson-vt/-/geojson-vt-3.2.5.tgz", + "integrity": "sha512-qDO7wqtprzlpe8FfQ//ClPV9xiuoh2nkIgiouIptON9w5jvD/fA4szvP9GBlDVdJ5dldAl0kX/sy3URbWwLx0g==", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + }, + "node_modules/@types/less": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.8.tgz", + "integrity": "sha512-Gjm4+H9noDJgu5EdT3rUw5MhPBag46fiOy27BefvWkNL8mlZnKnCaVVVTLKj6RYXed9b62CPKnPav9govyQDzA==" + }, + "node_modules/@types/mapbox__point-geometry": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz", + "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==" + }, + "node_modules/@types/mapbox__vector-tile": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz", + "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==", + "dependencies": { + "@types/geojson": "*", + "@types/mapbox__point-geometry": "*", + "@types/pbf": "*" + } + }, + "node_modules/@types/node": { + "version": "22.13.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", + "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", + "dependencies": { + "undici-types": "~6.20.0" + } + }, + "node_modules/@types/pbf": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz", + "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==" + }, + "node_modules/@types/plotly.js": { + "version": "2.35.2", + "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-2.35.2.tgz", + "integrity": "sha512-tn0Kp7F6VWiu96jknCvR/PcdIGIATeIK+Z5WXH3bEvG6CRwUNfhy34yBhfPYmTea7mMQxXvTZKGMm6/Y4wxESg==", + "dev": true + }, + "node_modules/@types/sass": { + "version": "1.45.0", + "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.45.0.tgz", + "integrity": "sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==", + "deprecated": "This is a stub types definition. sass provides its own type definitions, so you do not need this installed.", + "dependencies": { + "sass": "*" + } + }, + "node_modules/@types/source-list-map": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.6.tgz", + "integrity": "sha512-5JcVt1u5HDmlXkwOD2nslZVllBBc7HDuOICfiZah2Z0is8M8g+ddAEawbmd3VjedfDHBzxCaXLs07QEmb7y54g==", + "dev": true + }, + "node_modules/@types/stylus": { + "version": "0.48.43", + "resolved": "https://registry.npmjs.org/@types/stylus/-/stylus-0.48.43.tgz", + "integrity": "sha512-72dv/zdhuyXWVHUXG2VTPEQdOG+oen95/DNFx2aMFFaY6LoITI6PwEqf5x31JF49kp2w9hvUzkNfTGBIeg61LQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/supercluster": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz", + "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/webpack-sources": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-0.1.12.tgz", + "integrity": "sha512-+vRVqE3LzMLLVPgZHUeI8k1YmvgEky+MOir5fQhKvFxpB8uZ0CFnGqxkRAmf8jvNhUBQzhuGZpIMNWZDeEyDIA==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/source-list-map": "*", + "source-map": "^0.6.1" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", + "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", + "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", + "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "deprecated": "Use your platform's native atob() and btoa() methods instead", + "dev": true + }, + "node_modules/abs-svg-path": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz", + "integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==" + }, + "node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/array-bounds": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-bounds/-/array-bounds-1.0.1.tgz", + "integrity": "sha512-8wdW3ZGk6UjMPJx/glyEt0sLzzwAE1bhToPsO1W2pbpR2gULyxe3BjSiuJFheP50T/GgODVPz2fuMUmIywt8cQ==" + }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-normalize": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", + "integrity": "sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg==", + "dependencies": { + "array-bounds": "^1.0.0" + } + }, + "node_modules/array-range": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-range/-/array-range-1.0.1.tgz", + "integrity": "sha512-shdaI1zT3CVNL2hnx9c0JMc0ZogGaxDs5e85akgHWKYa0yVbIyp06Ind3dVkTj/uuFrzaHBOyqFzo+VV6aXgtA==" + }, + "node_modules/array-rearrange": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/array-rearrange/-/array-rearrange-2.2.2.tgz", + "integrity": "sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-search-bounds": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz", + "integrity": "sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==" + }, + "node_modules/bit-twiddle": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bit-twiddle/-/bit-twiddle-1.0.2.tgz", + "integrity": "sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA==" + }, + "node_modules/bitmap-sdf": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/bitmap-sdf/-/bitmap-sdf-1.0.4.tgz", + "integrity": "sha512-1G3U4n5JE6RAiALMxu0p1XmeZkTeCwGKykzsLTCqVzfSDaN6S7fKnkIkfejogz+iwqBWc0UYAIKnKHNN7pSfDg==" + }, + "node_modules/bl": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", + "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", + "dependencies": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "optional": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz", + "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001706", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001706.tgz", + "integrity": "sha512-3ZczoTApMAZwPKYWmwVbQMFpXBDds3/0VciVoUwPUbldlYyVLmRVuRs/PcUZtHpbLRpzzDvrvnFuREsGt6lUug==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/canvas-fit": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/canvas-fit/-/canvas-fit-1.5.0.tgz", + "integrity": "sha512-onIcjRpz69/Hx5bB5HGbYKUF2uC6QT6Gp+pfpGm3A7mPfcluSLV5v4Zu+oflDUwLdUw0rLIBhUbi0v8hM4FJQQ==", + "dependencies": { + "element-size": "^1.1.1" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/clamp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz", + "integrity": "sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==" + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/color-alpha": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/color-alpha/-/color-alpha-1.0.4.tgz", + "integrity": "sha512-lr8/t5NPozTSqli+duAN+x+no/2WaKTeWvxhHGN+aXT6AJ8vPlzLa7UriyjWak0pSC2jHol9JgjBYnnHsGha9A==", + "dependencies": { + "color-parse": "^1.3.8" + } + }, + "node_modules/color-alpha/node_modules/color-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", + "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-id": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/color-id/-/color-id-1.1.0.tgz", + "integrity": "sha512-2iRtAn6dC/6/G7bBIo0uupVrIne1NsQJvJxZOBCzQOfk7jRq97feaDZ3RdzuHakRXXnHGNwglto3pqtRx1sX0g==", + "dependencies": { + "clamp": "^1.0.1" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/color-normalize": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/color-normalize/-/color-normalize-1.5.0.tgz", + "integrity": "sha512-rUT/HDXMr6RFffrR53oX3HGWkDOP9goSAQGBkUaAYKjOE2JxozccdGyufageWDlInRAjm/jYPrf/Y38oa+7obw==", + "dependencies": { + "clamp": "^1.0.1", + "color-rgba": "^2.1.1", + "dtype": "^2.0.0" + } + }, + "node_modules/color-normalize/node_modules/color-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", + "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-normalize/node_modules/color-rgba": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-2.4.0.tgz", + "integrity": "sha512-Nti4qbzr/z2LbUWySr7H9dk3Rl7gZt7ihHAxlgT4Ho90EXWkjtkL1avTleu9yeGuqrt/chxTB6GKK8nZZ6V0+Q==", + "dependencies": { + "color-parse": "^1.4.2", + "color-space": "^2.0.0" + } + }, + "node_modules/color-parse": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-2.0.0.tgz", + "integrity": "sha512-g2Z+QnWsdHLppAbrpcFWo629kLOnOPtpxYV69GCqm92gqSgyXbzlfyN3MXs0412fPBkFmiuS+rXposgBgBa6Kg==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-rgba": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-3.0.0.tgz", + "integrity": "sha512-PPwZYkEY3M2THEHHV6Y95sGUie77S7X8v+h1r6LSAPF3/LL2xJ8duUXSrkic31Nzc4odPwHgUbiX/XuTYzQHQg==", + "dependencies": { + "color-parse": "^2.0.0", + "color-space": "^2.0.0" + } + }, + "node_modules/color-space": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/color-space/-/color-space-2.3.1.tgz", + "integrity": "sha512-5DJdKYwoDji3ik/i0xSn+SiwXsfwr+1FEcCMUz2GS5speGCfGSbBMOLd84SDUBOuX8y4CvdFJmOBBJuC4wp7sQ==" + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "node_modules/commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/country-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/country-regex/-/country-regex-1.1.0.tgz", + "integrity": "sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA==" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-font": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-font/-/css-font-1.2.0.tgz", + "integrity": "sha512-V4U4Wps4dPDACJ4WpgofJ2RT5Yqwe1lEH6wlOOaIxMi0gTjdIijsc5FmxQlZ7ZZyKQkkutqqvULOp07l9c7ssA==", + "dependencies": { + "css-font-size-keywords": "^1.0.0", + "css-font-stretch-keywords": "^1.0.1", + "css-font-style-keywords": "^1.0.1", + "css-font-weight-keywords": "^1.0.0", + "css-global-keywords": "^1.0.1", + "css-system-font-keywords": "^1.0.0", + "pick-by-alias": "^1.2.0", + "string-split-by": "^1.0.0", + "unquote": "^1.1.0" + } + }, + "node_modules/css-font-size-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz", + "integrity": "sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q==" + }, + "node_modules/css-font-stretch-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz", + "integrity": "sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg==" + }, + "node_modules/css-font-style-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz", + "integrity": "sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg==" + }, + "node_modules/css-font-weight-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz", + "integrity": "sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA==" + }, + "node_modules/css-global-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-global-keywords/-/css-global-keywords-1.0.1.tgz", + "integrity": "sha512-X1xgQhkZ9n94WDwntqst5D/FKkmiU0GlJSFZSV3kLvyJ1WC5VeyoXDOuleUD+SIuH9C7W05is++0Woh0CGfKjQ==" + }, + "node_modules/css-loader": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", + "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", + "dev": true, + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/css-system-font-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz", + "integrity": "sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA==" + }, + "node_modules/csscolorparser": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", + "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/d": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", + "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", + "dependencies": { + "es5-ext": "^0.10.64", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/d3-array": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" + }, + "node_modules/d3-collection": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", + "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", + "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==" + }, + "node_modules/d3-force": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", + "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", + "dependencies": { + "d3-collection": "1", + "d3-dispatch": "1", + "d3-quadtree": "1", + "d3-timer": "1" + } + }, + "node_modules/d3-format": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", + "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" + }, + "node_modules/d3-geo": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", + "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", + "dependencies": { + "d3-array": "1" + } + }, + "node_modules/d3-geo-projection": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/d3-geo-projection/-/d3-geo-projection-2.9.0.tgz", + "integrity": "sha512-ZULvK/zBn87of5rWAfFMc9mJOipeSo57O+BBitsKIXmU4rTVAnX1kSsJkE0R+TxY8pGNoM1nbyRRE7GYHhdOEQ==", + "dependencies": { + "commander": "2", + "d3-array": "1", + "d3-geo": "^1.12.0", + "resolve": "^1.1.10" + }, + "bin": { + "geo2svg": "bin/geo2svg", + "geograticule": "bin/geograticule", + "geoproject": "bin/geoproject", + "geoquantize": "bin/geoquantize", + "geostitch": "bin/geostitch" + } + }, + "node_modules/d3-geo-projection/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/d3-hierarchy": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", + "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" + }, + "node_modules/d3-quadtree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", + "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==" + }, + "node_modules/d3-shape": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", + "dependencies": { + "d3-path": "1" + } + }, + "node_modules/d3-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" + }, + "node_modules/d3-time-format": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", + "dependencies": { + "d3-time": "1" + } + }, + "node_modules/d3-timer": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/defined": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", + "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/detect-kerning": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-kerning/-/detect-kerning-2.1.2.tgz", + "integrity": "sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw==" + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/draw-svg-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/draw-svg-path/-/draw-svg-path-1.0.0.tgz", + "integrity": "sha512-P8j3IHxcgRMcY6sDzr0QvJDLzBnJJqpTG33UZ2Pvp8rw0apCHhJCWqYprqrXjrgHnJ6tuhP1iTJSAodPDHxwkg==", + "dependencies": { + "abs-svg-path": "~0.1.1", + "normalize-svg-path": "~0.1.0" + } + }, + "node_modules/dtype": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz", + "integrity": "sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/dup": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dup/-/dup-1.0.0.tgz", + "integrity": "sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA==" + }, + "node_modules/duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dependencies": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/duplicate-package-checker-webpack-plugin": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/duplicate-package-checker-webpack-plugin/-/duplicate-package-checker-webpack-plugin-3.0.0.tgz", + "integrity": "sha512-aO50/qPC7X2ChjRFniRiscxBLT/K01bALqfcDaf8Ih5OqQ1N4iT/Abx9Ofu3/ms446vHTm46FACIuJUmgUQcDQ==", + "dev": true, + "dependencies": { + "chalk": "^2.3.0", + "find-root": "^1.0.0", + "lodash": "^4.17.4", + "semver": "^5.4.1" + } + }, + "node_modules/duplicate-package-checker-webpack-plugin/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/earcut": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", + "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.120", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.120.tgz", + "integrity": "sha512-oTUp3gfX1gZI+xfD2djr2rzQdHCwHzPQrrK0CD7WpTdF0nPdQ/INcRVjWgLdCT4a9W3jFObR9DAfsuyFQnI8CQ==" + }, + "node_modules/element-size": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/element-size/-/element-size-1.1.1.tgz", + "integrity": "sha512-eaN+GMOq/Q+BIWy0ybsgpcYImjGIdNLyjLFJU4XsLHXYQao5jCNb36GyN6C2qwmDDYSfIBmKpPpr4VnBdLCsPQ==" + }, + "node_modules/elementary-circuits-directed-graph": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz", + "integrity": "sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ==", + "dependencies": { + "strongly-connected-components": "^1.0.1" + } + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.18.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz", + "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/envinfo": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", + "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.6.0.tgz", + "integrity": "sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==" + }, + "node_modules/es5-ext": { + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", + "hasInstallScript": true, + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/es6-symbol": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", + "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", + "dependencies": { + "d": "^1.0.2", + "ext": "^1.7.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/es6-weak-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", + "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/esbuild": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" + } + }, + "node_modules/esbuild-style-plugin": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/esbuild-style-plugin/-/esbuild-style-plugin-1.6.3.tgz", + "integrity": "sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==", + "dependencies": { + "@types/less": "^3.0.3", + "@types/sass": "^1.43.1", + "@types/stylus": "^0.48.38", + "glob": "^10.2.2", + "postcss": "^8.4.31", + "postcss-modules": "^6.0.0" + } + }, + "node_modules/esbuild-style-plugin/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/esbuild-style-plugin/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/esbuild-style-plugin/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/ext": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "dependencies": { + "type": "^2.7.2" + } + }, + "node_modules/falafel": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.2.5.tgz", + "integrity": "sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ==", + "dependencies": { + "acorn": "^7.1.1", + "isarray": "^2.0.1" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-isnumeric": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz", + "integrity": "sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw==", + "dependencies": { + "is-string-blank": "^1.0.1" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ] + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "dev": true + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flatten-vertex-data": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz", + "integrity": "sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw==", + "dependencies": { + "dtype": "^2.0.0" + } + }, + "node_modules/font-atlas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/font-atlas/-/font-atlas-2.1.0.tgz", + "integrity": "sha512-kP3AmvX+HJpW4w3d+PiPR2X6E1yvsBXt2yhuCw+yReO9F1WYhvZwx3c95DGZGwg9xYzDGrgJYa885xmVA+28Cg==", + "dependencies": { + "css-font": "^1.0.0" + } + }, + "node_modules/font-measure": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/font-measure/-/font-measure-1.2.2.tgz", + "integrity": "sha512-mRLEpdrWzKe9hbfaF3Qpr06TAjquuBVP5cHy4b3hyeNdjc9i0PO6HniGsX5vjL5OWv7+Bd++NiooNpT/s8BvIA==", + "dependencies": { + "css-font": "^1.2.0" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generic-names": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-4.0.0.tgz", + "integrity": "sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==", + "dependencies": { + "loader-utils": "^3.2.0" + } + }, + "node_modules/geojson-vt": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", + "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==" + }, + "node_modules/get-canvas-context": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz", + "integrity": "sha512-LnpfLf/TNzr9zVOGiIY6aKCz8EKuXmlYNV7CM2pUjBa/B+c2I15tS7KLySep75+FuerJdmArvJLcsAXWEy2H0A==" + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gl-mat4": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gl-mat4/-/gl-mat4-1.2.0.tgz", + "integrity": "sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA==" + }, + "node_modules/gl-matrix": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz", + "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==" + }, + "node_modules/gl-text": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/gl-text/-/gl-text-1.4.0.tgz", + "integrity": "sha512-o47+XBqLCj1efmuNyCHt7/UEJmB9l66ql7pnobD6p+sgmBUdzfMZXIF0zD2+KRfpd99DJN+QXdvTFAGCKCVSmQ==", + "dependencies": { + "bit-twiddle": "^1.0.2", + "color-normalize": "^1.5.0", + "css-font": "^1.2.0", + "detect-kerning": "^2.1.2", + "es6-weak-map": "^2.0.3", + "flatten-vertex-data": "^1.0.2", + "font-atlas": "^2.1.0", + "font-measure": "^1.2.2", + "gl-util": "^3.1.2", + "is-plain-obj": "^1.1.0", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "parse-unit": "^1.0.1", + "pick-by-alias": "^1.2.0", + "regl": "^2.0.0", + "to-px": "^1.0.1", + "typedarray-pool": "^1.1.0" + } + }, + "node_modules/gl-util": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.3.tgz", + "integrity": "sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA==", + "dependencies": { + "is-browser": "^2.0.1", + "is-firefox": "^1.0.3", + "is-plain-obj": "^1.1.0", + "number-is-integer": "^1.0.1", + "object-assign": "^4.1.0", + "pick-by-alias": "^1.2.0", + "weak-map": "^1.0.5" + } + }, + "node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + }, + "node_modules/global-prefix": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-4.0.0.tgz", + "integrity": "sha512-w0Uf9Y9/nyHinEk5vMJKRie+wa4kR5hmDbEhGGds/kG1PwGLLHKRoNMeJOyCQjjBkANlnScqgzcFwGHgmgLkVA==", + "dependencies": { + "ini": "^4.1.3", + "kind-of": "^6.0.3", + "which": "^4.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/glsl-inject-defines": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz", + "integrity": "sha512-W49jIhuDtF6w+7wCMcClk27a2hq8znvHtlGnrYkSWEr8tHe9eA2dcnohlcAmxLYBSpSSdzOkRdyPTrx9fw49+A==", + "dependencies": { + "glsl-token-inject-block": "^1.0.0", + "glsl-token-string": "^1.0.1", + "glsl-tokenizer": "^2.0.2" + } + }, + "node_modules/glsl-resolve": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/glsl-resolve/-/glsl-resolve-0.0.1.tgz", + "integrity": "sha512-xxFNsfnhZTK9NBhzJjSBGX6IOqYpvBHxxmo+4vapiljyGNCY0Bekzn0firQkQrazK59c1hYxMDxYS8MDlhw4gA==", + "dependencies": { + "resolve": "^0.6.1", + "xtend": "^2.1.2" + } + }, + "node_modules/glsl-resolve/node_modules/resolve": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-0.6.3.tgz", + "integrity": "sha512-UHBY3viPlJKf85YijDUcikKX6tmF4SokIDp518ZDVT92JNDcG5uKIthaT/owt3Sar0lwtOafsQuwrg22/v2Dwg==" + }, + "node_modules/glsl-resolve/node_modules/xtend": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.2.0.tgz", + "integrity": "sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/glsl-token-assignments": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/glsl-token-assignments/-/glsl-token-assignments-2.0.2.tgz", + "integrity": "sha512-OwXrxixCyHzzA0U2g4btSNAyB2Dx8XrztY5aVUCjRSh4/D0WoJn8Qdps7Xub3sz6zE73W3szLrmWtQ7QMpeHEQ==" + }, + "node_modules/glsl-token-defines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/glsl-token-defines/-/glsl-token-defines-1.0.0.tgz", + "integrity": "sha512-Vb5QMVeLjmOwvvOJuPNg3vnRlffscq2/qvIuTpMzuO/7s5kT+63iL6Dfo2FYLWbzuiycWpbC0/KV0biqFwHxaQ==", + "dependencies": { + "glsl-tokenizer": "^2.0.0" + } + }, + "node_modules/glsl-token-depth": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/glsl-token-depth/-/glsl-token-depth-1.1.2.tgz", + "integrity": "sha512-eQnIBLc7vFf8axF9aoi/xW37LSWd2hCQr/3sZui8aBJnksq9C7zMeUYHVJWMhFzXrBU7fgIqni4EhXVW4/krpg==" + }, + "node_modules/glsl-token-descope": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/glsl-token-descope/-/glsl-token-descope-1.0.2.tgz", + "integrity": "sha512-kS2PTWkvi/YOeicVjXGgX5j7+8N7e56srNDEHDTVZ1dcESmbmpmgrnpjPcjxJjMxh56mSXYoFdZqb90gXkGjQw==", + "dependencies": { + "glsl-token-assignments": "^2.0.0", + "glsl-token-depth": "^1.1.0", + "glsl-token-properties": "^1.0.0", + "glsl-token-scope": "^1.1.0" + } + }, + "node_modules/glsl-token-inject-block": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/glsl-token-inject-block/-/glsl-token-inject-block-1.1.0.tgz", + "integrity": "sha512-q/m+ukdUBuHCOtLhSr0uFb/qYQr4/oKrPSdIK2C4TD+qLaJvqM9wfXIF/OOBjuSA3pUoYHurVRNao6LTVVUPWA==" + }, + "node_modules/glsl-token-properties": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz", + "integrity": "sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==" + }, + "node_modules/glsl-token-scope": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/glsl-token-scope/-/glsl-token-scope-1.1.2.tgz", + "integrity": "sha512-YKyOMk1B/tz9BwYUdfDoHvMIYTGtVv2vbDSLh94PT4+f87z21FVdou1KNKgF+nECBTo0fJ20dpm0B1vZB1Q03A==" + }, + "node_modules/glsl-token-string": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/glsl-token-string/-/glsl-token-string-1.0.1.tgz", + "integrity": "sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg==" + }, + "node_modules/glsl-token-whitespace-trim": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/glsl-token-whitespace-trim/-/glsl-token-whitespace-trim-1.0.0.tgz", + "integrity": "sha512-ZJtsPut/aDaUdLUNtmBYhaCmhIjpKNg7IgZSfX5wFReMc2vnj8zok+gB/3Quqs0TsBSX/fGnqUUYZDqyuc2xLQ==" + }, + "node_modules/glsl-tokenizer": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/glsl-tokenizer/-/glsl-tokenizer-2.1.5.tgz", + "integrity": "sha512-XSZEJ/i4dmz3Pmbnpsy3cKh7cotvFlBiZnDOwnj/05EwNp2XrhQ4XKJxT7/pDt4kp4YcpRSKz8eTV7S+mwV6MA==", + "dependencies": { + "through2": "^0.6.3" + } + }, + "node_modules/glsl-tokenizer/node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" + }, + "node_modules/glsl-tokenizer/node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/glsl-tokenizer/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + }, + "node_modules/glsl-tokenizer/node_modules/through2": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", + "dependencies": { + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + }, + "node_modules/glslify": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.1.1.tgz", + "integrity": "sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog==", + "dependencies": { + "bl": "^2.2.1", + "concat-stream": "^1.5.2", + "duplexify": "^3.4.5", + "falafel": "^2.1.0", + "from2": "^2.3.0", + "glsl-resolve": "0.0.1", + "glsl-token-whitespace-trim": "^1.0.0", + "glslify-bundle": "^5.0.0", + "glslify-deps": "^1.2.5", + "minimist": "^1.2.5", + "resolve": "^1.1.5", + "stack-trace": "0.0.9", + "static-eval": "^2.0.5", + "through2": "^2.0.1", + "xtend": "^4.0.0" + }, + "bin": { + "glslify": "bin.js" + } + }, + "node_modules/glslify-bundle": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-5.1.1.tgz", + "integrity": "sha512-plaAOQPv62M1r3OsWf2UbjN0hUYAB7Aph5bfH58VxJZJhloRNbxOL9tl/7H71K7OLJoSJ2ZqWOKk3ttQ6wy24A==", + "dependencies": { + "glsl-inject-defines": "^1.0.1", + "glsl-token-defines": "^1.0.0", + "glsl-token-depth": "^1.1.1", + "glsl-token-descope": "^1.0.2", + "glsl-token-scope": "^1.1.1", + "glsl-token-string": "^1.0.1", + "glsl-token-whitespace-trim": "^1.0.0", + "glsl-tokenizer": "^2.0.2", + "murmurhash-js": "^1.0.0", + "shallow-copy": "0.0.1" + } + }, + "node_modules/glslify-deps": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.2.tgz", + "integrity": "sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag==", + "dependencies": { + "@choojs/findup": "^0.2.0", + "events": "^3.2.0", + "glsl-resolve": "0.0.1", + "glsl-tokenizer": "^2.0.0", + "graceful-fs": "^4.1.2", + "inherits": "^2.0.1", + "map-limit": "0.0.1", + "resolve": "^1.0.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/grid-index": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", + "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-hover": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-hover/-/has-hover-1.0.1.tgz", + "integrity": "sha512-0G6w7LnlcpyDzpeGUTuT0CEw05+QlMuGVk1IHNAlHrGJITGodjZu3x8BNDUMfKJSZXNB2ZAclqc1bvrd+uUpfg==", + "dependencies": { + "is-browser": "^2.0.1" + } + }, + "node_modules/has-passive-events": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-passive-events/-/has-passive-events-1.0.0.tgz", + "integrity": "sha512-2vSj6IeIsgvsRMyeQ0JaCX5Q3lX4zMn5HpoVc7MEhQ6pv8Iq9rsXjsp+E5ZwaT7T0xhMT0KmU8gtt1EFVdbJiw==", + "dependencies": { + "is-browser": "^2.0.1" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/immutable": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz", + "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==" + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", + "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/is-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", + "integrity": "sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ==" + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-firefox": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-firefox/-/is-firefox-1.0.3.tgz", + "integrity": "sha512-6Q9ITjvWIm0Xdqv+5U12wgOKEM2KoBw4Y926m0OFkvlCxnbG94HKAsVz8w3fWcfAS5YA2fJORXX1dLrkprCCxA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-iexplorer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-iexplorer/-/is-iexplorer-1.0.0.tgz", + "integrity": "sha512-YeLzceuwg3K6O0MLM3UyUUjKAlyULetwryFp1mHy1I5PfArK0AEqlfa+MR4gkJjcbuJXoDJCvXbyqZVf5CR2Sg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-mobile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-4.0.0.tgz", + "integrity": "sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew==" + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-string-blank": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-string-blank/-/is-string-blank-1.0.1.tgz", + "integrity": "sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==" + }, + "node_modules/is-svg-path": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz", + "integrity": "sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg==" + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/json-stringify-pretty-compact": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz", + "integrity": "sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/kdbush": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz", + "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==" + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/license-webpack-plugin": { + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.3.21.tgz", + "integrity": "sha512-rVaYU9TddZN3ao8M/0PrRSCdTp2EW6VQymlgsuScld1vef0Ou7fALx3ePe83KLP3xAEDcPK5fkqUVqGBnbz1zQ==", + "dev": true, + "dependencies": { + "@types/webpack-sources": "^0.1.5", + "webpack-sources": "^1.2.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", + "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", + "engines": { + "node": ">= 12.13.0" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, + "node_modules/map-limit": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/map-limit/-/map-limit-0.0.1.tgz", + "integrity": "sha512-pJpcfLPnIF/Sk3taPW21G/RQsEEirGaFpCW3oXRwH9dnFHPHNGjNyvh++rdmC2fNqEaTw2MhYJraoJWAHx8kEg==", + "dependencies": { + "once": "~1.3.0" + } + }, + "node_modules/map-limit/node_modules/once": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", + "integrity": "sha512-6vaNInhu+CHxtONf3zw3vq4SP2DOQhjBvIa3rNcG0+P7eKWlYH6Peu7rHizSloRU2EwMz6GraLieis9Ac9+p1w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/mapbox-gl": { + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.3.tgz", + "integrity": "sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg==", + "peer": true, + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/geojson-types": "^1.0.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/mapbox-gl-supported": "^1.5.0", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^1.1.1", + "@mapbox/unitbezier": "^0.0.0", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "csscolorparser": "~1.0.3", + "earcut": "^2.2.2", + "geojson-vt": "^3.2.1", + "gl-matrix": "^3.2.1", + "grid-index": "^1.1.0", + "murmurhash-js": "^1.0.0", + "pbf": "^3.2.1", + "potpack": "^1.0.1", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "supercluster": "^7.1.0", + "tinyqueue": "^2.0.3", + "vt-pbf": "^3.1.1" + }, + "engines": { + "node": ">=6.4.0" + } + }, + "node_modules/maplibre-gl": { + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", + "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^2.0.6", + "@mapbox/unitbezier": "^0.0.1", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "@maplibre/maplibre-gl-style-spec": "^20.3.1", + "@types/geojson": "^7946.0.14", + "@types/geojson-vt": "3.2.5", + "@types/mapbox__point-geometry": "^0.1.4", + "@types/mapbox__vector-tile": "^1.3.4", + "@types/pbf": "^3.0.5", + "@types/supercluster": "^7.1.3", + "earcut": "^3.0.0", + "geojson-vt": "^4.0.2", + "gl-matrix": "^3.4.3", + "global-prefix": "^4.0.0", + "kdbush": "^4.0.2", + "murmurhash-js": "^1.0.0", + "pbf": "^3.3.0", + "potpack": "^2.0.0", + "quickselect": "^3.0.0", + "supercluster": "^8.0.1", + "tinyqueue": "^3.0.0", + "vt-pbf": "^3.1.3" + }, + "engines": { + "node": ">=16.14.0", + "npm": ">=8.1.0" + }, + "funding": { + "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" + } + }, + "node_modules/maplibre-gl/node_modules/@mapbox/tiny-sdf": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz", + "integrity": "sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==" + }, + "node_modules/maplibre-gl/node_modules/@mapbox/unitbezier": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz", + "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" + }, + "node_modules/maplibre-gl/node_modules/earcut": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.1.tgz", + "integrity": "sha512-0l1/0gOjESMeQyYaK5IDiPNvFeu93Z/cO0TjZh9eZ1vyCtZnA7KMZ8rQggpsJHIbGSdrqYq9OhuveadOVHCshw==" + }, + "node_modules/maplibre-gl/node_modules/geojson-vt": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-4.0.2.tgz", + "integrity": "sha512-AV9ROqlNqoZEIJGfm1ncNjEXfkz2hdFlZf0qkVfmkwdKa8vj7H16YUOT81rJw1rdFhyEDlN2Tds91p/glzbl5A==" + }, + "node_modules/maplibre-gl/node_modules/potpack": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz", + "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==" + }, + "node_modules/maplibre-gl/node_modules/quickselect": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-3.0.0.tgz", + "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==" + }, + "node_modules/maplibre-gl/node_modules/supercluster": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz", + "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==", + "dependencies": { + "kdbush": "^4.0.2" + } + }, + "node_modules/maplibre-gl/node_modules/tinyqueue": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-3.0.0.tgz", + "integrity": "sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==" + }, + "node_modules/math-log2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-log2/-/math-log2-1.0.1.tgz", + "integrity": "sha512-9W0yGtkaMAkf74XGYVy4Dqw3YUMnTNB2eeiw9aQbUl4A3KmuCEHTt2DgAB07ENzOYAjsYSAYufkAq0Zd+jU7zA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.2.tgz", + "integrity": "sha512-GJuACcS//jtq4kCtd5ii/M0SZf7OZRH+BxdqXZHaJfb8TJiVl+NgQRPwiYt2EuqeSkNydn/7vP+bcE27C5mb9w==", + "dev": true, + "dependencies": { + "schema-utils": "^4.0.0", + "tapable": "^2.2.1" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true, + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mouse-change": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.4.0.tgz", + "integrity": "sha512-vpN0s+zLL2ykyyUDh+fayu9Xkor5v/zRD9jhSqjRS1cJTGS0+oakVZzNm5n19JvvEj0you+MXlYTpNxUDQUjkQ==", + "dependencies": { + "mouse-event": "^1.0.0" + } + }, + "node_modules/mouse-event": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/mouse-event/-/mouse-event-1.0.5.tgz", + "integrity": "sha512-ItUxtL2IkeSKSp9cyaX2JLUuKk2uMoxBg4bbOWVd29+CskYJR9BGsUqtXenNzKbnDshvupjUewDIYVrOB6NmGw==" + }, + "node_modules/mouse-event-offset": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mouse-event-offset/-/mouse-event-offset-3.0.2.tgz", + "integrity": "sha512-s9sqOs5B1Ykox3Xo8b3Ss2IQju4UwlW6LSR+Q5FXWpprJ5fzMLefIIItr3PH8RwzfGy6gxs/4GAmiNuZScE25w==" + }, + "node_modules/mouse-wheel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mouse-wheel/-/mouse-wheel-1.2.0.tgz", + "integrity": "sha512-+OfYBiUOCTWcTECES49neZwL5AoGkXE+lFjIvzwNCnYRlso+EnfvovcBxGoyQ0yQt806eSPjS675K0EwWknXmw==", + "dependencies": { + "right-now": "^1.0.0", + "signum": "^1.0.0", + "to-px": "^1.0.1" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/murmurhash-js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", + "integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/native-promise-only": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", + "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==" + }, + "node_modules/needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "dependencies": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "optional": true + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==" + }, + "node_modules/normalize-svg-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-0.1.0.tgz", + "integrity": "sha512-1/kmYej2iedi5+ROxkRESL/pI02pkg0OBnaR4hJkSIX6+ORzepwbuUXfrdZaPjysTsJInj0Rj5NuX027+dMBvA==" + }, + "node_modules/number-is-integer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-integer/-/number-is-integer-1.0.1.tgz", + "integrity": "sha512-Dq3iuiFBkrbmuQjGFFF3zckXNCQoSD37/SdSbgcBailUx6knDvDwb5CympBgcoWHy36sfS12u74MHYkXyHq6bg==", + "dependencies": { + "is-finite": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==" + }, + "node_modules/parenthesis": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.8.tgz", + "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw==" + }, + "node_modules/parse-rect": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parse-rect/-/parse-rect-1.2.0.tgz", + "integrity": "sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA==", + "dependencies": { + "pick-by-alias": "^1.2.0" + } + }, + "node_modules/parse-svg-path": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz", + "integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==" + }, + "node_modules/parse-unit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-unit/-/parse-unit-1.0.1.tgz", + "integrity": "sha512-hrqldJHokR3Qj88EIlV/kAyAi/G5R2+R56TBANxNMy0uPlYcttx0jnMW6Yx5KsKPSbC3KddM/7qQm3+0wEXKxg==" + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pbf": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", + "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", + "dependencies": { + "ieee754": "^1.1.12", + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" + }, + "node_modules/pick-by-alias": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", + "integrity": "sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw==" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "optional": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/plotly.js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-3.0.1.tgz", + "integrity": "sha512-eWEUkqdv4sblmUQJ7xGlEA+LghzEVPJOlPBZMJuagG0CsQxlmBb+7rd0UFVig5jhRnN8PQqRQaLv6qXIjnvzgg==", + "dependencies": { + "@plotly/d3": "3.8.2", + "@plotly/d3-sankey": "0.7.2", + "@plotly/d3-sankey-circular": "0.33.1", + "@plotly/mapbox-gl": "1.13.4", + "@turf/area": "^7.1.0", + "@turf/bbox": "^7.1.0", + "@turf/centroid": "^7.1.0", + "base64-arraybuffer": "^1.0.2", + "canvas-fit": "^1.5.0", + "color-alpha": "1.0.4", + "color-normalize": "1.5.0", + "color-parse": "2.0.0", + "color-rgba": "3.0.0", + "country-regex": "^1.1.0", + "css-loader": "^7.1.2", + "d3-force": "^1.2.1", + "d3-format": "^1.4.5", + "d3-geo": "^1.12.1", + "d3-geo-projection": "^2.9.0", + "d3-hierarchy": "^1.1.9", + "d3-interpolate": "^3.0.1", + "d3-time": "^1.1.0", + "d3-time-format": "^2.2.3", + "esbuild-style-plugin": "^1.6.3", + "fast-isnumeric": "^1.1.4", + "gl-mat4": "^1.2.0", + "gl-text": "^1.4.0", + "has-hover": "^1.0.1", + "has-passive-events": "^1.0.0", + "is-mobile": "^4.0.0", + "maplibre-gl": "^4.7.1", + "mouse-change": "^1.4.0", + "mouse-event-offset": "^3.0.2", + "mouse-wheel": "^1.2.0", + "native-promise-only": "^0.8.1", + "parse-svg-path": "^0.1.2", + "point-in-polygon": "^1.1.0", + "polybooljs": "^1.2.2", + "probe-image-size": "^7.2.3", + "regl": "npm:@plotly/regl@^2.1.2", + "regl-error2d": "^2.0.12", + "regl-line2d": "^3.1.3", + "regl-scatter2d": "^3.3.1", + "regl-splom": "^1.0.14", + "strongly-connected-components": "^1.0.1", + "style-loader": "^4.0.0", + "superscript-text": "^1.0.0", + "svg-path-sdf": "^1.1.3", + "tinycolor2": "^1.4.2", + "to-px": "1.0.1", + "topojson-client": "^3.1.0", + "webgl-context": "^2.2.0", + "world-calendars": "^1.0.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/plotly.js/node_modules/css-loader": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", + "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.27.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/plotly.js/node_modules/style-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-4.0.0.tgz", + "integrity": "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==", + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.27.0" + } + }, + "node_modules/point-in-polygon": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/point-in-polygon/-/point-in-polygon-1.1.0.tgz", + "integrity": "sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw==" + }, + "node_modules/polybooljs": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/polybooljs/-/polybooljs-1.2.2.tgz", + "integrity": "sha512-ziHW/02J0XuNuUtmidBc6GXE8YohYydp3DWPWXYsd7O721TjcmN+k6ezjdwkDqep+gnWnFY+yqZHvzElra2oCg==" + }, + "node_modules/postcss": { + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-modules": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-6.0.1.tgz", + "integrity": "sha512-zyo2sAkVvuZFFy0gc2+4O+xar5dYlaVy/ebO24KT0ftk/iJevSNyPyQellsBLlnccwh7f6V6Y4GvuKRYToNgpQ==", + "dependencies": { + "generic-names": "^4.0.0", + "icss-utils": "^5.1.0", + "lodash.camelcase": "^4.3.0", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "string-hash": "^1.1.3" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", + "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.2.0.tgz", + "integrity": "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^7.0.0", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.1.tgz", + "integrity": "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==", + "dependencies": { + "postcss-selector-parser": "^7.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", + "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/potpack": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz", + "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==" + }, + "node_modules/probe-image-size": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.3.tgz", + "integrity": "sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==", + "dependencies": { + "lodash.merge": "^4.6.2", + "needle": "^2.5.2", + "stream-parser": "~0.3.1" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/protocol-buffers-schema": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", + "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" + }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/regl": { + "name": "@plotly/regl", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@plotly/regl/-/regl-2.1.2.tgz", + "integrity": "sha512-Mdk+vUACbQvjd0m/1JJjOOafmkp/EpmHjISsopEz5Av44CBq7rPC05HHNbYGKVyNUF2zmEoBS/TT0pd0SPFFyw==" + }, + "node_modules/regl-error2d": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.12.tgz", + "integrity": "sha512-r7BUprZoPO9AbyqM5qlJesrSRkl+hZnVKWKsVp7YhOl/3RIpi4UDGASGJY0puQ96u5fBYw/OlqV24IGcgJ0McA==", + "dependencies": { + "array-bounds": "^1.0.1", + "color-normalize": "^1.5.0", + "flatten-vertex-data": "^1.0.2", + "object-assign": "^4.1.1", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0", + "update-diff": "^1.1.0" + } + }, + "node_modules/regl-line2d": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.1.3.tgz", + "integrity": "sha512-fkgzW+tTn4QUQLpFKsUIE0sgWdCmXAM3ctXcCgoGBZTSX5FE2A0M7aynz7nrZT5baaftLrk9te54B+MEq4QcSA==", + "dependencies": { + "array-bounds": "^1.0.1", + "array-find-index": "^1.0.2", + "array-normalize": "^1.1.4", + "color-normalize": "^1.5.0", + "earcut": "^2.1.5", + "es6-weak-map": "^2.0.3", + "flatten-vertex-data": "^1.0.2", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0" + } + }, + "node_modules/regl-scatter2d": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.3.1.tgz", + "integrity": "sha512-seOmMIVwaCwemSYz/y4WE0dbSO9svNFSqtTh5RE57I7PjGo3tcUYKtH0MTSoshcAsreoqN8HoCtnn8wfHXXfKQ==", + "dependencies": { + "@plotly/point-cluster": "^3.1.9", + "array-range": "^1.0.1", + "array-rearrange": "^2.2.2", + "clamp": "^1.0.1", + "color-id": "^1.1.0", + "color-normalize": "^1.5.0", + "color-rgba": "^2.1.1", + "flatten-vertex-data": "^1.0.2", + "glslify": "^7.0.0", + "is-iexplorer": "^1.0.0", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "to-float32": "^1.1.0", + "update-diff": "^1.1.0" + } + }, + "node_modules/regl-scatter2d/node_modules/color-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.3.tgz", + "integrity": "sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/regl-scatter2d/node_modules/color-rgba": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-2.4.0.tgz", + "integrity": "sha512-Nti4qbzr/z2LbUWySr7H9dk3Rl7gZt7ihHAxlgT4Ho90EXWkjtkL1avTleu9yeGuqrt/chxTB6GKK8nZZ6V0+Q==", + "dependencies": { + "color-parse": "^1.4.2", + "color-space": "^2.0.0" + } + }, + "node_modules/regl-splom": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.14.tgz", + "integrity": "sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw==", + "dependencies": { + "array-bounds": "^1.0.1", + "array-range": "^1.0.1", + "color-alpha": "^1.0.4", + "flatten-vertex-data": "^1.0.2", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0", + "raf": "^3.4.1", + "regl-scatter2d": "^3.2.3" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "dependencies": { + "is-core-module": "^2.16.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-protobuf-schema": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", + "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", + "dependencies": { + "protocol-buffers-schema": "^3.3.1" + } + }, + "node_modules/right-now": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/right-now/-/right-now-1.0.0.tgz", + "integrity": "sha512-DA8+YS+sMIVpbsuKgy+Z67L9Lxb1p05mNxRpDPNksPDEFir4vmBlUtuN9jkTGn9YMMdlBuK7XQgFiz6ws+yhSg==" + }, + "node_modules/rw": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.86.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.86.0.tgz", + "integrity": "sha512-zV8vGUld/+mP4KbMLJMX7TyGCuUp7hnkOScgCMsWuHtns8CWBoz+vmEhoGMXsaJrbUP8gj+F1dLvVe79sK8UdA==", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/sax": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" + }, + "node_modules/schema-utils": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", + "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shallow-copy": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", + "integrity": "sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw==" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/signum": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/signum/-/signum-1.0.0.tgz", + "integrity": "sha512-yodFGwcyt59XRh7w5W3jPcIQb3Bwi21suEfT7MAWnBX3iCdklJpgDgvGT9o04UonglZN5SNMfJFkHIR/jO8GHw==" + }, + "node_modules/source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-1.0.2.tgz", + "integrity": "sha512-oX8d6ndRjN+tVyjj6PlXSyFPhDdVAPsZA30nD3/II8g4uOv8fCz0DMn5sy8KtVbDfKQxOpGwGJnK3xIW3tauDw==", + "dev": true, + "dependencies": { + "data-urls": "^2.0.0", + "iconv-lite": "^0.6.2", + "loader-utils": "^2.0.0", + "schema-utils": "^2.7.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/source-map-loader/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/source-map-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/source-map-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/source-map-loader/node_modules/schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", + "integrity": "sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ==", + "engines": { + "node": "*" + } + }, + "node_modules/static-eval": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.1.tgz", + "integrity": "sha512-MgWpQ/ZjGieSVB3eOJVs4OA2LT/q1vx98KPCTTQPzq/aLr0YUXTsgryTXr4SLfR0ZfUUCiedM9n/ABeDIyy4mA==", + "dependencies": { + "escodegen": "^2.1.0" + } + }, + "node_modules/stream-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", + "integrity": "sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==", + "dependencies": { + "debug": "2" + } + }, + "node_modules/stream-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/stream-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/stream-shift": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", + "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/string-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz", + "integrity": "sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==" + }, + "node_modules/string-split-by": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz", + "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==", + "dependencies": { + "parenthesis": "^3.1.5" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/strongly-connected-components": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strongly-connected-components/-/strongly-connected-components-1.0.1.tgz", + "integrity": "sha512-i0TFx4wPcO0FwX+4RkLJi1MxmcTv90jNZgxMu9XRnMXMeFUY1VJlIoXpZunPUvUUqbCT1pg5PEkFqqpcaElNaA==" + }, + "node_modules/style-loader": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.4.tgz", + "integrity": "sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==", + "dev": true, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/supercluster": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz", + "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==", + "dependencies": { + "kdbush": "^3.0.0" + } + }, + "node_modules/supercluster/node_modules/kdbush": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", + "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" + }, + "node_modules/superscript-text": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/superscript-text/-/superscript-text-1.0.0.tgz", + "integrity": "sha512-gwu8l5MtRZ6koO0icVTlmN5pm7Dhh1+Xpe9O4x6ObMAsW+3jPbW14d1DsBq1F4wiI+WOFjXF35pslgec/G8yCQ==" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-arc-to-cubic-bezier": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz", + "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g==" + }, + "node_modules/svg-path-bounds": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz", + "integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==", + "dependencies": { + "abs-svg-path": "^0.1.1", + "is-svg-path": "^1.0.1", + "normalize-svg-path": "^1.0.0", + "parse-svg-path": "^0.1.2" + } + }, + "node_modules/svg-path-bounds/node_modules/normalize-svg-path": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz", + "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==", + "dependencies": { + "svg-arc-to-cubic-bezier": "^3.0.0" + } + }, + "node_modules/svg-path-sdf": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/svg-path-sdf/-/svg-path-sdf-1.1.3.tgz", + "integrity": "sha512-vJJjVq/R5lSr2KLfVXVAStktfcfa1pNFjFOgyJnzZFXlO/fDZ5DmM8FpnSKKzLPfEYTVeXuVBTHF296TpxuJVg==", + "dependencies": { + "bitmap-sdf": "^1.0.0", + "draw-svg-path": "^1.0.0", + "is-svg-path": "^1.0.1", + "parse-svg-path": "^0.1.2", + "svg-path-bounds": "^1.0.1" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.39.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", + "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.14", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz", + "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.0", + "serialize-javascript": "^6.0.2", + "terser": "^5.31.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser/node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" + }, + "node_modules/tinyqueue": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz", + "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==" + }, + "node_modules/to-float32": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.1.0.tgz", + "integrity": "sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg==" + }, + "node_modules/to-px": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.0.1.tgz", + "integrity": "sha512-2y3LjBeIZYL19e5gczp14/uRWFDtDUErJPVN3VU9a7SJO+RjGRtYR47aMN2bZgGlxvW4ZcEz2ddUPVHXcMfuXw==", + "dependencies": { + "parse-unit": "^1.0.1" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/topojson-client": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", + "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", + "dependencies": { + "commander": "2" + }, + "bin": { + "topo2geo": "bin/topo2geo", + "topomerge": "bin/topomerge", + "topoquantize": "bin/topoquantize" + } + }, + "node_modules/topojson-client/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + }, + "node_modules/type": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", + "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, + "node_modules/typedarray-pool": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.2.0.tgz", + "integrity": "sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==", + "dependencies": { + "bit-twiddle": "^1.0.0", + "dup": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", + "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unquote": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", + "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==" + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/update-diff": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-diff/-/update-diff-1.1.0.tgz", + "integrity": "sha512-rCiBPiHxZwT4+sBhEbChzpO5hYHjm91kScWgdHf4Qeafs6Ba7MBl+d9GlGv72bcTZQO0sLmtQS1pHSWoCLtN/A==" + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/vt-pbf": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz", + "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==", + "dependencies": { + "@mapbox/point-geometry": "0.1.0", + "@mapbox/vector-tile": "^1.3.1", + "pbf": "^3.2.1" + } + }, + "node_modules/watchpack": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/weak-map": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", + "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" + }, + "node_modules/webgl-context": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/webgl-context/-/webgl-context-2.2.0.tgz", + "integrity": "sha512-q/fGIivtqTT7PEoF07axFIlHNk/XCPaYpq64btnepopSWvKNFkoORlQYgqDigBIuGA1ExnFd/GnSUnBNEPQY7Q==", + "dependencies": { + "get-canvas-context": "^1.0.1" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, + "engines": { + "node": ">=10.4" + } + }, + "node_modules/webpack": { + "version": "5.98.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.98.0.tgz", + "integrity": "sha512-UFynvx+gM44Gv9qFgj0acCQK2VE1CtdfwFdimkapco3hlPCJ/zeq73n2yVKimVbtm+TnApIugGhLJnkU6gjYXA==", + "dependencies": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.6", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.14.0", + "browserslist": "^4.24.0", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.1", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.11", + "watchpack": "^2.4.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", + "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^2.1.1", + "@webpack-cli/info": "^2.0.2", + "@webpack-cli/serve": "^2.0.5", + "colorette": "^2.0.14", + "commander": "^10.0.1", + "cross-spawn": "^7.0.3", + "envinfo": "^7.7.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/webpack-merge": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", + "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dev": true, + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "node_modules/webpack/node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/webpack/node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, + "node_modules/worker-loader": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/worker-loader/-/worker-loader-3.0.8.tgz", + "integrity": "sha512-XQyQkIFeRVC7f7uRhFdNMe/iJOdO6zxAaR3EWbDp45v3mDhrTi+++oswKNxShUNjPC/1xUp5DB29YKLhFo129g==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/worker-loader/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/worker-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/worker-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/worker-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/worker-loader/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/world-calendars": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz", + "integrity": "sha512-sAjLZkBnsbHkHWVhrsCU5Sa/EVuf9QqgvrN8zyJ2L/F9FR9Oc6CvVK0674+PGAtmmmYQMH98tCUSO4QLQv3/TQ==", + "dependencies": { + "object-assign": "^4.1.0" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + } + } +} diff --git a/plotly/labextension/package.json b/plotly/labextension/package.json index 409ad98de9c..ff6f87e133b 100644 --- a/plotly/labextension/package.json +++ b/plotly/labextension/package.json @@ -1,10 +1,10 @@ { "name": "jupyterlab-plotly", "version": "0.1.0", - "main": "js/mimerenderer.js", + "main": "lib/mimeExtension.js", "scripts": { - "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=plotly/package_data/widgetbundle.js js/widget.ts", - "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=js/mimerenderer.js js/index.ts", + "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../package_data/widgetbundle.js src/widget.ts", + "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts", "build": "npm run build:widget && npm run build:mimerenderer", "watch": "npm run build -- --watch --sourcemap=inline", "typecheck": "tsc --noEmit" @@ -21,11 +21,6 @@ "typescript": "^5.6.2" }, "jupyterlab": { - "mimeExtension": true, - "outputDir": "plotly/labextension", - "_build": { - "load": "static/remoteEntry.7b040a094074912f557c.js", - "mimeExtension": "./mimeExtension" - } + "mimeExtension": true } } diff --git a/js/index.ts b/plotly/labextension/src/mimeExtension.ts similarity index 100% rename from js/index.ts rename to plotly/labextension/src/mimeExtension.ts diff --git a/js/widget.ts b/plotly/labextension/src/widget.ts similarity index 100% rename from js/widget.ts rename to plotly/labextension/src/widget.ts diff --git a/js/tsconfig.json b/plotly/labextension/tsconfig.json similarity index 100% rename from js/tsconfig.json rename to plotly/labextension/tsconfig.json From 1cd7c4f69b71f3e4f59076431e2817520dbc3a76 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Wed, 19 Mar 2025 19:38:44 -0500 Subject: [PATCH 05/19] update gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7aa80b3f35d..1ffa0e5806a 100644 --- a/.gitignore +++ b/.gitignore @@ -61,7 +61,7 @@ tags doc/check-or-enforce-order.py plotly/package_data/widgetbundle.js plotly/labextension/static -js/mimerenderer.js +plotly/labextension/lib tests/percy/*.html tests/percy/pandas2/*.html From aa13a97ef3dbc58ea4763d807d99cd8c817e2401 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Wed, 19 Mar 2025 19:40:03 -0500 Subject: [PATCH 06/19] remove print statement --- plotly/io/_base_renderers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plotly/io/_base_renderers.py b/plotly/io/_base_renderers.py index b3e1a657519..9363fe1efd6 100644 --- a/plotly/io/_base_renderers.py +++ b/plotly/io/_base_renderers.py @@ -85,7 +85,6 @@ def __init__(self, config=None): self.config = dict(config) if config else {} def to_mimebundle(self, fig_dict): - print("in PlotlyRenderer") config = _get_jconfig(self.config) if config: fig_dict["config"] = config From 23dad18496d7107ec7e0a01a00eed83daaa7ca44 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 17:55:18 -0500 Subject: [PATCH 07/19] Update npm build to include jupyter lab extension build --- plotly/labextension/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plotly/labextension/package.json b/plotly/labextension/package.json index ff6f87e133b..cc8748a4531 100644 --- a/plotly/labextension/package.json +++ b/plotly/labextension/package.json @@ -5,7 +5,8 @@ "scripts": { "build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../package_data/widgetbundle.js src/widget.ts", "build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts", - "build": "npm run build:widget && npm run build:mimerenderer", + "build:labextension": "jupyter labextension build .", + "build": "npm run build:widget && npm run build:mimerenderer && npm run build:labextension", "watch": "npm run build -- --watch --sourcemap=inline", "typecheck": "tsc --noEmit" }, From 74724a57f658e6b97d17bd4fd8137d36ef16429c Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 17:57:32 -0500 Subject: [PATCH 08/19] Update paths and build for CI --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b36cc48022..3fd417a36f7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ commands: source .venv/bin/activate uv pip install . uv pip install -r ./test_requirements/requirements_optional.txt - cd js + cd plotly/labextension npm ci npm run build @@ -275,7 +275,8 @@ jobs: command: | python -m venv venv . venv/bin/activate - cd js + uv pip install jupyter + cd plotly/labextension npm ci npm run build git status @@ -323,7 +324,8 @@ jobs: uv pip uninstall plotly cd .. uv pip install -e . - cd js + uv pip install jupyter + cd plotly/labextension npm ci npm run build cd ../doc From b8375f37da304cb2e9956f0240dbf6e645607d86 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 18:00:03 -0500 Subject: [PATCH 09/19] Replace pip with uv in plotly.js dev build CI --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3fd417a36f7..805ee6ba00b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -273,8 +273,9 @@ jobs: - run: name: initial NPM Build command: | - python -m venv venv - . venv/bin/activate + curl -LsSf https://astral.sh/uv/install.sh | sh + uv venv + source .venv/bin/activate uv pip install jupyter cd plotly/labextension npm ci @@ -284,8 +285,8 @@ jobs: - run: name: PyPI Build command: | - . venv/bin/activate - pip install build + source .venv/bin/activate + uv pip install build python -m build --sdist --wheel -o dist cp -R dist output git status From df3970fcca111839b2e8d2488a39271ac429d3ce Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 18:02:03 -0500 Subject: [PATCH 10/19] Update path to js in commands --- commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands.py b/commands.py index 9c529e87e91..ffa924e9c39 100644 --- a/commands.py +++ b/commands.py @@ -9,7 +9,7 @@ from distutils import log project_root = os.path.dirname(os.path.abspath(__file__)) -node_root = os.path.join(project_root, "js") +node_root = os.path.join(project_root, "plotly", "labextension") is_repo = os.path.exists(os.path.join(project_root, ".git")) node_modules = os.path.join(node_root, "node_modules") targets = [ @@ -23,9 +23,9 @@ ] ) -# Load plotly.js version from js/package.json +# Load plotly.js version from plotly/labextension/package.json def plotly_js_version(): - path = os.path.join(project_root, "js", "package.json") + path = os.path.join(project_root, "plotly", "labextension", "package.json") with open(path, "rt") as f: package_json = json.load(f) version = package_json["dependencies"]["plotly.js"] From 4353bba8ff8984520c09c0347f707ab9757241cf Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 18:07:35 -0500 Subject: [PATCH 11/19] Add labextension to additional package data --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index fe34771c3a4..49fe1cf2515 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,6 +57,7 @@ plotly = [ "package_data/*", "package_data/templates/*", "package_data/datasets/*", + "labextension/static/*", ] [tool.black] From ef5add1efdfe91bede4f03332611d85964bfccd6 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 21 Mar 2025 18:10:17 -0500 Subject: [PATCH 12/19] Add labextension to additional package data --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 49fe1cf2515..63e9cc24572 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ plotly = [ "package_data/templates/*", "package_data/datasets/*", "labextension/static/*", + "labextension/static/static/*", ] [tool.black] From 14b5a0d424ef3a9bb86acfc15658994d9e12a502 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Thu, 27 Mar 2025 16:52:57 -0500 Subject: [PATCH 13/19] Fix CI --- doc/requirements.txt | 1 - plotly/__init__.py | 11 +++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 65aa3f0aad4..3224378652d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,5 @@ plotly==6.0.1 jupytext==1.16.4 -jupyter-client<7 jupyter notebook pandas==1.4.0 diff --git a/plotly/__init__.py b/plotly/__init__.py index a121195bef0..9bf096de204 100644 --- a/plotly/__init__.py +++ b/plotly/__init__.py @@ -181,11 +181,14 @@ def hist_series(data_frame, **kwargs): new_kwargs = {k: kwargs[k] for k in kwargs if k not in skip} return histogram(data_frame, **new_kwargs) + def _jupyter_labextension_paths(): """Called by Jupyter Lab Server to detect if it is a valid labextension and to install the extension. """ - return [{ - 'src': 'labextension/static', - 'dest': 'jupyterlab-plotly', - }] + return [ + { + "src": "labextension/static", + "dest": "jupyterlab-plotly", + } + ] From af46e25ac8a942d21d94ceb09d5ac26dc6c61ef9 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 28 Mar 2025 12:49:35 -0500 Subject: [PATCH 14/19] Change pin so that jupyterlab is >= 4 --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 3224378652d..8e91477c958 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -36,7 +36,7 @@ kaleido umap-learn==0.5.1 pooch wget -nbconvert==5.6.1 +nbconvert>=6.4.4 orjson dash-bio jinja2<3.1 From 5ced43eff0239070b3b6ea9e8d21e8e3f0191641 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 28 Mar 2025 12:56:49 -0500 Subject: [PATCH 15/19] Fix filepath in docs ci --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 805ee6ba00b..1e3ac3bbe83 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -321,17 +321,16 @@ jobs: uv venv source .venv/bin/activate uv pip install -r requirements.txt + cd .. if [ "${CIRCLE_BRANCH}" != "doc-prod" ]; then uv pip uninstall plotly - cd .. uv pip install -e . uv pip install jupyter cd plotly/labextension npm ci npm run build - cd ../doc + cd ../.. fi - cd .. - run: name: make html From 847b87c28350caeaec5c2062caac48567a8ced8b Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 4 Apr 2025 15:57:25 -0500 Subject: [PATCH 16/19] Make extension compatible with jupyterlab 3 and 4 --- doc/requirements.txt | 3 ++- plotly/labextension/package-lock.json | 2 +- plotly/labextension/package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 8e91477c958..65aa3f0aad4 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,5 +1,6 @@ plotly==6.0.1 jupytext==1.16.4 +jupyter-client<7 jupyter notebook pandas==1.4.0 @@ -36,7 +37,7 @@ kaleido umap-learn==0.5.1 pooch wget -nbconvert>=6.4.4 +nbconvert==5.6.1 orjson dash-bio jinja2<3.1 diff --git a/plotly/labextension/package-lock.json b/plotly/labextension/package-lock.json index bd1572eb0bc..fefc9227fa5 100644 --- a/plotly/labextension/package-lock.json +++ b/plotly/labextension/package-lock.json @@ -13,7 +13,7 @@ "plotly.js": "3.0.1" }, "devDependencies": { - "@jupyterlab/builder": "^4.3.6", + "@jupyterlab/builder": "^4.3.6 || ^3.6.8", "@types/plotly.js": "^2.33.4", "esbuild": "^0.23.1", "typescript": "^5.6.2" diff --git a/plotly/labextension/package.json b/plotly/labextension/package.json index cc8748a4531..4b7b4e54c29 100644 --- a/plotly/labextension/package.json +++ b/plotly/labextension/package.json @@ -16,7 +16,7 @@ "@lumino/widgets": "~2.4.0" }, "devDependencies": { - "@jupyterlab/builder": "^4.3.6", + "@jupyterlab/builder": "^4.3.6 || ^3.6.8", "@types/plotly.js": "^2.33.4", "esbuild": "^0.23.1", "typescript": "^5.6.2" From 61df8d7a35bc5f6c6260d02ca09cbf1d3462e6d4 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 4 Apr 2025 16:12:09 -0500 Subject: [PATCH 17/19] Update test for slightly different value --- tests/test_optional/test_figure_factory/test_figure_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_optional/test_figure_factory/test_figure_factory.py b/tests/test_optional/test_figure_factory/test_figure_factory.py index 3f0ee0fe5ba..dd0e72e6f10 100644 --- a/tests/test_optional/test_figure_factory/test_figure_factory.py +++ b/tests/test_optional/test_figure_factory/test_figure_factory.py @@ -4114,7 +4114,7 @@ def test_full_choropleth(self): fig = ff.create_choropleth(fips=fips, values=values, simplify_county=1) exp_fig_head = ( - -88.053375, + -88.04504299999999, -88.02916499999999, -88.02432999999999, -88.04504299999999, From 8f32ac58a1c88871d5af16c4edfadf23290feba4 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 4 Apr 2025 17:56:06 -0500 Subject: [PATCH 18/19] Update test for slightly different value --- .../test_figure_factory.py | 102 +++++++++--------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/tests/test_optional/test_figure_factory/test_figure_factory.py b/tests/test_optional/test_figure_factory/test_figure_factory.py index dd0e72e6f10..16f93640a49 100644 --- a/tests/test_optional/test_figure_factory/test_figure_factory.py +++ b/tests/test_optional/test_figure_factory/test_figure_factory.py @@ -4114,58 +4114,58 @@ def test_full_choropleth(self): fig = ff.create_choropleth(fips=fips, values=values, simplify_county=1) exp_fig_head = ( - -88.04504299999999, - -88.02916499999999, - -88.02432999999999, - -88.04504299999999, - -88.053375, - np_nan(), - -88.211209, - -88.209999, - -88.208733, - -88.209559, - -88.211209, - np_nan(), - -88.22511999999999, - -88.22128099999999, - -88.218694, - -88.22465299999999, - -88.22511999999999, - np_nan(), - -88.264659, - -88.25782699999999, - -88.25947, - -88.255659, - -88.264659, - np_nan(), - -88.327302, - -88.20146799999999, - -88.141143, - -88.124658, - -88.074854, - -88.12493599999999, - -88.10665399999999, - -88.149812, - -88.327302, - np_nan(), - -88.346745, - -88.341235, - -88.33288999999999, - -88.346823, - -88.346745, - np_nan(), - -88.473227, - -88.097888, - -88.154617, - -88.20295899999999, - -85.605165, - -85.18440000000001, - -85.12218899999999, - -85.142567, - -85.113329, - -85.10533699999999, + -88.04504299999999, + -88.02916499999999, + -88.02432999999999, + -88.04504299999999, + np_nan(), + -88.209559, + -88.209999, + -88.208733, + -88.209559, + np_nan(), + -88.22465299999999, + -88.22128099999999, + -88.218694, + -88.22465299999999, + np_nan(), + -88.255659, + -88.25782699999999, + -88.25947, + -88.255659, + np_nan(), + -88.327302, + -88.20146799999999, + -88.141143, + -88.124658, + -88.074854, + -88.12493599999999, + -88.10665399999999, + -88.149812, + -88.327302, + np_nan(), + -88.346823, + -88.341235, + -88.33288999999999, + -88.346823, + np_nan(), + -88.473227, + -88.097888, + -88.154617, + -88.20295899999999, + -85.605165, + -85.18440000000001, + -85.12218899999999, + -85.142567, + -85.113329, + -85.10533699999999, + -84.96302999999999, + -85.007103, + -84.88907999999999, + -85.061144, + -85.04930999999999 ) - + self.assertEqual(fig["data"][2]["x"][:50], exp_fig_head) From 0ee60e7c59f68eb13d48ac7732ce6279e8533ad5 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Fri, 4 Apr 2025 18:20:13 -0500 Subject: [PATCH 19/19] Pin shapely version in test requirements --- test_requirements/requirements_optional.txt | 2 +- .../test_figure_factory.py | 102 +++++++++--------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/test_requirements/requirements_optional.txt b/test_requirements/requirements_optional.txt index a48fe001d56..3acbb9731a8 100644 --- a/test_requirements/requirements_optional.txt +++ b/test_requirements/requirements_optional.txt @@ -10,7 +10,7 @@ ipython jupyter anywidget scipy -Shapely +Shapely<2.1 geopandas fiona<=1.9.6;python_version<="3.8" # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8 pyshp diff --git a/tests/test_optional/test_figure_factory/test_figure_factory.py b/tests/test_optional/test_figure_factory/test_figure_factory.py index 16f93640a49..3f0ee0fe5ba 100644 --- a/tests/test_optional/test_figure_factory/test_figure_factory.py +++ b/tests/test_optional/test_figure_factory/test_figure_factory.py @@ -4114,58 +4114,58 @@ def test_full_choropleth(self): fig = ff.create_choropleth(fips=fips, values=values, simplify_county=1) exp_fig_head = ( - -88.04504299999999, - -88.02916499999999, - -88.02432999999999, - -88.04504299999999, - np_nan(), - -88.209559, - -88.209999, - -88.208733, - -88.209559, - np_nan(), - -88.22465299999999, - -88.22128099999999, - -88.218694, - -88.22465299999999, - np_nan(), - -88.255659, - -88.25782699999999, - -88.25947, - -88.255659, - np_nan(), - -88.327302, - -88.20146799999999, - -88.141143, - -88.124658, - -88.074854, - -88.12493599999999, - -88.10665399999999, - -88.149812, - -88.327302, - np_nan(), - -88.346823, - -88.341235, - -88.33288999999999, - -88.346823, - np_nan(), - -88.473227, - -88.097888, - -88.154617, - -88.20295899999999, - -85.605165, - -85.18440000000001, - -85.12218899999999, - -85.142567, - -85.113329, - -85.10533699999999, - -84.96302999999999, - -85.007103, - -84.88907999999999, - -85.061144, - -85.04930999999999 + -88.053375, + -88.02916499999999, + -88.02432999999999, + -88.04504299999999, + -88.053375, + np_nan(), + -88.211209, + -88.209999, + -88.208733, + -88.209559, + -88.211209, + np_nan(), + -88.22511999999999, + -88.22128099999999, + -88.218694, + -88.22465299999999, + -88.22511999999999, + np_nan(), + -88.264659, + -88.25782699999999, + -88.25947, + -88.255659, + -88.264659, + np_nan(), + -88.327302, + -88.20146799999999, + -88.141143, + -88.124658, + -88.074854, + -88.12493599999999, + -88.10665399999999, + -88.149812, + -88.327302, + np_nan(), + -88.346745, + -88.341235, + -88.33288999999999, + -88.346823, + -88.346745, + np_nan(), + -88.473227, + -88.097888, + -88.154617, + -88.20295899999999, + -85.605165, + -85.18440000000001, + -85.12218899999999, + -85.142567, + -85.113329, + -85.10533699999999, ) - + self.assertEqual(fig["data"][2]["x"][:50], exp_fig_head)